Results for: "Logger"

No documentation available

Add the –prerelease option to the option parser.

Add the –version option to the option parser.

Marshal dumps exit locations to the given filename.

Usage:

If --yjit-exit-locations is passed, a file named “yjit_exit_locations.dump” will automatically be generated.

If you want to collect traces manually, call dump_exit_locations directly.

Note that calling this in a script will generate stats after the dump is created, so the stats data may include exits from the dump itself.

In a script call:

at_exit do
  RubyVM::YJIT.dump_exit_locations("my_file.dump")
end

Then run the file with the following options:

ruby --yjit --yjit-trace-exits test.rb

Once the code is done running, use Stackprof to read the dump file. See Stackprof documentation for options.

No documentation available

Open the specified filename (either in read-only mode or in read-write mode) and lock it for reading or writing.

The opened File object will be returned. If read_only is true, and the file does not exist, then nil will be returned.

All exceptions are propagated.

Returns the last win32 socket Error of the current executing Thread or nil if none

Sets the last win32 socket Error of the current executing Thread to error

Starts tracing object allocations.

Stop tracing object allocations.

Note that if ::trace_object_allocations_start is called n-times, then tracing will stop after calling ::trace_object_allocations_stop n-times.

Clear recorded tracing information.

Quietly ensure the Gem directory dir contains all the proper subdirectories for handling default gems. If we can’t create a directory due to a permission problem, then we will silently continue.

If mode is given, missing directories are created with this mode.

World-writable directories will never be created.

Add a list of paths to the $LOAD_PATH at the proper place.

Open a file with given flags, and protect access with a file lock

Open a file with given flags, and protect access with flock

SyntaxSuggest.module_for_detailed_message [Private]

Used to monkeypatch SyntaxError via Module.prepend

$foo += bar ^^^^^^^^^^^

foo += bar ^^^^^^^^^^

$foo += bar ^^^^^^^^^^^

foo += bar ^^^^^^^^^^

Returns true, if NaN, Infinity, and -Infinity should be generated, otherwise returns false.

This sets whether or not to serialize NaN, Infinity, and -Infinity

See the OpenSSL documentation for i2d_ECPKParameters_bio()

Initialize a new compiler with the given option overrides, used to visit a subtree with the given options.

Negate the value of a numeric node. This is a special case where you have a negative sign on one line and then a number on the next line. In normal Ruby, this will always be a method call. The parser gem, however, marks this as a numeric literal. We have to massage the tree here to get it into the correct form.

Search took: 3ms  ·  Total Results: 3406