_id stringlengths 2 7 | title stringclasses 1 value | partition stringclasses 3 values | text stringlengths 6 2.61k | language stringclasses 1 value | meta_information dict |
|---|---|---|---|---|---|
c181500 | test | // MarshalJSON calls json.RawMessage method of the same name. Required since
// TriggerHookResponse is of type json.RawMessage... | {
"resource": ""
} | ||
c181501 | test | // UnmarshalJSON is a copy of the json.RawMessage implementation. | {
"resource": ""
} | ||
c181502 | test | // MarshalJSON calls json.RawMessage method of the same name. Required since
// LaunchInfo is of type json.RawMessage... | {
"resource": ""
} | ||
c181503 | test | // MarshalJSON calls json.RawMessage method of the same name. Required since
// Var is of type json.RawMessage... | {
"resource": ""
} | ||
c181504 | test | // MarshalJSON calls json.RawMessage method of the same name. Required since
// Var1 is of type json.RawMessage... | {
"resource": ""
} | ||
c181505 | test | // MarshalJSON calls json.RawMessage method of the same name. Required since
// Var3 is of type json.RawMessage... | {
"resource": ""
} | ||
c181506 | test | // MarshalJSON implements the json.Marshaler interface.
// The time is a quoted string in RFC 3339 format, with sub-second precision added if present. | {
"resource": ""
} | ||
c181507 | test | // UnmarshalJSON implements the json.Unmarshaler interface.
// The time is expected to be a quoted string in RFC 3339 format. | {
"resource": ""
} | ||
c181508 | test | // Write implements the io.Writer interface | {
"resource": ""
} | ||
c181509 | test | // Seek implements the io.Seeker interface | {
"resource": ""
} | ||
c181510 | test | // Read implements the io.Reader interface | {
"resource": ""
} | ||
c181511 | test | // MarshalJSON calls json.RawMessage method of the same name. Required since
// LaunchSpecsResponse is of type json.RawMessage... | {
"resource": ""
} | ||
c181512 | test | // MarshalJSON calls json.RawMessage method of the same name. Required since
// RegionLaunchSpec is of type json.RawMessage... | {
"resource": ""
} | ||
c181513 | test | // GenerateCode takes the objects loaded into memory in LoadAPIs
// and writes them out as go code. | {
"resource": ""
} | ||
c181514 | test | // Add entry.Input and entry.Output to schemaURLs, if they are set | {
"resource": ""
} | ||
c181515 | test | // CreateTemporaryCredentials is an alias for CreateNamedTemporaryCredentials
// with an empty name. | {
"resource": ""
} | ||
c181516 | test | // utility function to create a URL object based on given data | {
"resource": ""
} | ||
c181517 | test | // SignRequest will add an Authorization header | {
"resource": ""
} | ||
c181518 | test | // APICall is the generic REST API calling method which performs all REST API
// calls for this library. Each auto-generated REST API method simply is a
// wrapper around this method, calling it with specific specific arguments. | {
"resource": ""
} | ||
c181519 | test | // SignedURL creates a signed URL using the given Client, where route is the
// url path relative to the BaseURL stored in the Client, query is the set of
// query string parameters, if any, and duration is the amount of time that the
// signed URL should remain valid for. | {
"resource": ""
} | ||
c181520 | test | // MarshalJSON calls json.RawMessage method of the same name. Required since
// HawkSignatureAuthenticationResponse is of type json.RawMessage... | {
"resource": ""
} | ||
c181521 | test | //bmw256 calculates and returns bmw256 of input.
//length of input must be 32 bytes. | {
"resource": ""
} | ||
c181522 | test | //NewCubeHash initializes anrd retuns Cubuhash struct. | {
"resource": ""
} | ||
c181523 | test | //cubehash56 calculates cubuhash256.
//length of data must be 32 bytes. | {
"resource": ""
} | ||
c181524 | test | //Sum returns the result of Lyra2re2 hash. | {
"resource": ""
} | ||
c181525 | test | /**
* squeeze Performs a squeeze operation, using Blake2b's G function as the
* internal permutation
*
* @param state The current state of the sponge
* @param out Array that will receive the data squeezed
* @param len The number of bytes to be squeezed into the "out" array
*/ | {
"resource": ""
} | ||
c181526 | test | /**
* reducedSqueezeRow0 erforms a reduced squeeze operation for a single row, from the highest to
* the lowest index, using the reduced-round Blake2b's G function as the
* internal permutation
*
* @param state The current state of the sponge
* @param rowOut Row to receive the data squeezed
*/ | {
"resource": ""
} | ||
c181527 | test | /**
* reducedDuplexRow1 Performs a reduced duplex operation for a single row, from the highest to
* the lowest index, using the reduced-round Blake2b's G function as the
* internal permutation
*
* @param state The current state of the sponge
* @param rowIn Row to feed the sponge
* @param rowOut Row to receive the sponge's output
*/ | {
"resource": ""
} | ||
c181528 | test | // NewReaderByteCodeLoader creates a new object | {
"resource": ""
} | ||
c181529 | test | // LoadReader takes a io.Reader and compiles it into vm.ByteCode | {
"resource": ""
} | ||
c181530 | test | // NewV3 creates a new UUID with variant 3 as described in RFC 4122.
// Variant 3 based namespace-uuid and name and MD-5 hash calculation. | {
"resource": ""
} | ||
c181531 | test | // Sets literal in op arg to register sa | {
"resource": ""
} | ||
c181532 | test | // Fetches a symbol specified in op arg from template variables.
// XXX need to handle local vars? | {
"resource": ""
} | ||
c181533 | test | // Wraps the contents of register sa with a "raw string" mark
// Note that this effectively stringifies the contents of register sa | {
"resource": ""
} | ||
c181534 | test | // Sets the contents of register sa to a regular string, and removes
// the "raw string" mark, forcing html escapes to be applied when printing.
// Note that this effectively stringifies the contents of register sa | {
"resource": ""
} | ||
c181535 | test | // Prints the contents of register sa to Output.
// Forcefully applies html escaping unless the variable in sa is marked "raw" | {
"resource": ""
} | ||
c181536 | test | // Prints the contents of register sa, forcing raw string semantics | {
"resource": ""
} | ||
c181537 | test | // NewLoopVar creates the loop variable | {
"resource": ""
} | ||
c181538 | test | // Grab every thing from current mark up to the tip of the stack,
// and make it a list | {
"resource": ""
} | ||
c181539 | test | // Executes what's in st.sa | {
"resource": ""
} | ||
c181540 | test | // DumpAST sets the bitmask for DumpAST debug flag | {
"resource": ""
} | ||
c181541 | test | // DumpByteCode sets the bitmask for DumpByteCode debug flag | {
"resource": ""
} | ||
c181542 | test | // Optimize modifies the ByteCode in place to an optimized version | {
"resource": ""
} | ||
c181543 | test | // NewFuncDepot creates a new FuncDepot under the given `namespace` | {
"resource": ""
} | ||
c181544 | test | // Get returns the function associated with the given key. The function
// is wrapped as reflect.Value so reflection can be used to determine
// attributes about this function | {
"resource": ""
} | ||
c181545 | test | // Set stores the function under the name `key` | {
"resource": ""
} | ||
c181546 | test | // NewFileTemplateFetcher creates a new struct. `paths` must give us the
// directories for us to look the templates in | {
"resource": ""
} | ||
c181547 | test | // LastModified returns time when the target template file was last modified | {
"resource": ""
} | ||
c181548 | test | // Reader returns the io.Reader instance for the file source | {
"resource": ""
} | ||
c181549 | test | // Bytes returns the bytes in teh template file | {
"resource": ""
} | ||
c181550 | test | // NewState creates a new State struct | {
"resource": ""
} | ||
c181551 | test | // PushFrame pushes a new frame to the frame stack | {
"resource": ""
} | ||
c181552 | test | // PopFrame pops the frame from the top of the frame stack | {
"resource": ""
} | ||
c181553 | test | // CurrentFrame returns the frame currently at the top of the frame stack | {
"resource": ""
} | ||
c181554 | test | // Warnf is used to generate warnings during virtual machine execution | {
"resource": ""
} | ||
c181555 | test | // AppendOutputString is the same as AppendOutput, but uses a string | {
"resource": ""
} | ||
c181556 | test | // Popmark pops the mark stored at the top of the mark stack | {
"resource": ""
} | ||
c181557 | test | // CurrentMark returns the mark stored at the top of the mark stack | {
"resource": ""
} | ||
c181558 | test | // LoadByteCode loads a new ByteCode. This is used for op codes that
// call to external templates such as `include` | {
"resource": ""
} | ||
c181559 | test | // Reset resets the whole State object | {
"resource": ""
} | ||
c181560 | test | // DeclareVar puts a new variable in the stack, and returns the
// index where it now resides | {
"resource": ""
} | ||
c181561 | test | // GetLvar gets the frame local variable at position i | {
"resource": ""
} | ||
c181562 | test | // SetLvar sets the frame local variable at position i | {
"resource": ""
} | ||
c181563 | test | // NewByteCode creates an empty ByteCode instance. | {
"resource": ""
} | ||
c181564 | test | // Append appends an op code to the current list of op codes. | {
"resource": ""
} | ||
c181565 | test | // AppendOp is an utility method to create AND append a new op code to the
// current list of op codes | {
"resource": ""
} | ||
c181566 | test | // String returns the textual representation of this ByteCode | {
"resource": ""
} | ||
c181567 | test | // NewCachedByteCodeLoader creates a new CachedByteCodeLoader | {
"resource": ""
} | ||
c181568 | test | // Load loads the ByteCode for template specified by `key`, which, for this
// ByteCodeLoader, is the path to the template we want.
// If cached vm.ByteCode struct is found, it is loaded and its last modified
// time is compared against that of the template file. If the template is
// newer, it's compiled. Otherwise the cached version is used, saving us the
// time to parse and compile the template. | {
"resource": ""
} | ||
c181569 | test | // NewFileCache creates a new FileCache which stores caches underneath
// the directory specified by `dir` | {
"resource": ""
} | ||
c181570 | test | // GetCachePath creates a string describing where a given template key
// would be cached in the file system | {
"resource": ""
} | ||
c181571 | test | // Get returns the cached vm.ByteCode, if available | {
"resource": ""
} | ||
c181572 | test | // Set creates a new cache file to store the ByteCode. | {
"resource": ""
} | ||
c181573 | test | // Delete deletes the cache | {
"resource": ""
} | ||
c181574 | test | // Get returns the cached ByteCode | {
"resource": ""
} | ||
c181575 | test | // Set stores the ByteCode | {
"resource": ""
} | ||
c181576 | test | // Delete deletes the ByteCode | {
"resource": ""
} | ||
c181577 | test | // NewStringLexer creates a new lexer | {
"resource": ""
} | ||
c181578 | test | // NewReaderLexer creates a new lexer | {
"resource": ""
} | ||
c181579 | test | // NewV4 creates a new UUID with variant 4 as described in RFC 4122. Variant 4 based on pure random bytes. | {
"resource": ""
} | ||
c181580 | test | // Parse parses the given template and creates an AST | {
"resource": ""
} | ||
c181581 | test | // ParseReader gets the template content from an io.Reader type | {
"resource": ""
} | ||
c181582 | test | // Visit returns a channel which you can receive Node structs in order that
// that they would be processed | {
"resource": ""
} | ||
c181583 | test | // String returns the textual representation of this AST | {
"resource": ""
} | ||
c181584 | test | // Run executes the given vm.ByteCode using the given variables. For historical
// reasons, it also allows re-executing the previous bytecode instructions
// given to a virtual machine, but this will probably be removed in the future | {
"resource": ""
} | ||
c181585 | test | // DefaultParser sets up and assigns the default parser to be used by Xslate. | {
"resource": ""
} | ||
c181586 | test | // DefaultLoader sets up and assigns the default loader to be used by Xslate. | {
"resource": ""
} | ||
c181587 | test | // DefaultVM sets up and assigns the default VM to be used by Xslate | {
"resource": ""
} | ||
c181588 | test | // Get retrieves the value assigned to `key` | {
"resource": ""
} | ||
c181589 | test | // NewHTTPSource creates a new HTTPSource instance | {
"resource": ""
} | ||
c181590 | test | // NewStringByteCodeLoader creates a new object | {
"resource": ""
} | ||
c181591 | test | // LoadString takes a template string and compiles it into vm.ByteCode | {
"resource": ""
} | ||
c181592 | test | // Get returns the variable stored in slot `x` | {
"resource": ""
} | ||
c181593 | test | // NewOp creates a new Op. | {
"resource": ""
} | ||
c181594 | test | // MarshalBinary is used to serialize an Op into a binary form. This
// is used to cache the ByteCode | {
"resource": ""
} | ||
c181595 | test | // UnmarshalBinary is used to deserialize an Op from binary form. | {
"resource": ""
} | ||
c181596 | test | // ArgInt returns the integer representation of the argument | {
"resource": ""
} | ||
c181597 | test | // ArgString returns the string representatin of the argument | {
"resource": ""
} | ||
c181598 | test | // AppendOp creates and appends a new op to the current set of ByteCode | {
"resource": ""
} | ||
c181599 | test | // Compile satisfies the compiler.Compiler interface. It accepts an AST
// created by parser.Parser, and returns vm.ByteCode or an error | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.