The name of the configuration file.
Extracts S3 configuration for S3 bucket
Sets the value of field 'Content-Type'
; returns the new value; see Content-Type request header:
req = Net::HTTP::Get.new(uri) req.set_content_type('application/json') # => ["application/json"]
Net::HTTPHeader#content_type=
is an alias for Net::HTTPHeader#set_content_type
.
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.
Resolve the requested dependencies against the gems available via Gem.path
and return an Array
of Specification objects to be activated.
Checks if this specification meets the requirement of dependency
.
Invoked by any method that performs a non-reverse DNS lookup. The most notable method is Addrinfo.getaddrinfo
, but there are many other.
The method is expected to return an array of strings corresponding to ip addresses the hostname
is resolved to, or nil
if it can not be resolved.
Fairly exhaustive list of all possible call-sites:
Addrinfo.marshal_load
The column number in the source code where this AST’s text began.
The column number in the source code where this AST’s text ended.
Removes sessions in the internal cache that have expired at time.
Returns a status string for the response.
Copies the nonce from request into this response. Returns 1 on success and 0 on failure.
Takes a token and gets the next token in the Negotiate authentication chain. Token can be Base64
encoded or not. The token can include the “Negotiate” header and it will be stripped. Does not indicate if SEC_I_CONTINUE or SEC_E_OK was returned. Token returned is Base64
encoded w/ all new lines removed.