_id
stringlengths
2
7
text
stringlengths
6
2.61k
title
stringclasses
1 value
c181500
// MarshalJSON calls json.RawMessage method of the same name. Required since // TriggerHookResponse is of type json.RawMessage...
c181501
// UnmarshalJSON is a copy of the json.RawMessage implementation.
c181502
// MarshalJSON calls json.RawMessage method of the same name. Required since // LaunchInfo is of type json.RawMessage...
c181503
// MarshalJSON calls json.RawMessage method of the same name. Required since // Var is of type json.RawMessage...
c181504
// MarshalJSON calls json.RawMessage method of the same name. Required since // Var1 is of type json.RawMessage...
c181505
// MarshalJSON calls json.RawMessage method of the same name. Required since // Var3 is of type json.RawMessage...
c181506
// MarshalJSON implements the json.Marshaler interface. // The time is a quoted string in RFC 3339 format, with sub-second precision added if present.
c181507
// UnmarshalJSON implements the json.Unmarshaler interface. // The time is expected to be a quoted string in RFC 3339 format.
c181508
// Write implements the io.Writer interface
c181509
// Seek implements the io.Seeker interface
c181510
// Read implements the io.Reader interface
c181511
// MarshalJSON calls json.RawMessage method of the same name. Required since // LaunchSpecsResponse is of type json.RawMessage...
c181512
// MarshalJSON calls json.RawMessage method of the same name. Required since // RegionLaunchSpec is of type json.RawMessage...
c181513
// GenerateCode takes the objects loaded into memory in LoadAPIs // and writes them out as go code.
c181514
// Add entry.Input and entry.Output to schemaURLs, if they are set
c181515
// CreateTemporaryCredentials is an alias for CreateNamedTemporaryCredentials // with an empty name.
c181516
// utility function to create a URL object based on given data
c181517
// SignRequest will add an Authorization header
c181518
// 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.
c181519
// 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.
c181520
// MarshalJSON calls json.RawMessage method of the same name. Required since // HawkSignatureAuthenticationResponse is of type json.RawMessage...
c181521
//bmw256 calculates and returns bmw256 of input. //length of input must be 32 bytes.
c181522
//NewCubeHash initializes anrd retuns Cubuhash struct.
c181523
//cubehash56 calculates cubuhash256. //length of data must be 32 bytes.
c181524
//Sum returns the result of Lyra2re2 hash.
c181525
/** * 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 */
c181526
/** * 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 */
c181527
/** * 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 */
c181528
// NewReaderByteCodeLoader creates a new object
c181529
// LoadReader takes a io.Reader and compiles it into vm.ByteCode
c181530
// 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.
c181531
// Sets literal in op arg to register sa
c181532
// Fetches a symbol specified in op arg from template variables. // XXX need to handle local vars?
c181533
// Wraps the contents of register sa with a "raw string" mark // Note that this effectively stringifies the contents of register sa
c181534
// 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
c181535
// Prints the contents of register sa to Output. // Forcefully applies html escaping unless the variable in sa is marked "raw"
c181536
// Prints the contents of register sa, forcing raw string semantics
c181537
// NewLoopVar creates the loop variable
c181538
// Grab every thing from current mark up to the tip of the stack, // and make it a list
c181539
// Executes what's in st.sa
c181540
// DumpAST sets the bitmask for DumpAST debug flag
c181541
// DumpByteCode sets the bitmask for DumpByteCode debug flag
c181542
// Optimize modifies the ByteCode in place to an optimized version
c181543
// NewFuncDepot creates a new FuncDepot under the given `namespace`
c181544
// 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
c181545
// Set stores the function under the name `key`
c181546
// NewFileTemplateFetcher creates a new struct. `paths` must give us the // directories for us to look the templates in
c181547
// LastModified returns time when the target template file was last modified
c181548
// Reader returns the io.Reader instance for the file source
c181549
// Bytes returns the bytes in teh template file
c181550
// NewState creates a new State struct
c181551
// PushFrame pushes a new frame to the frame stack
c181552
// PopFrame pops the frame from the top of the frame stack
c181553
// CurrentFrame returns the frame currently at the top of the frame stack
c181554
// Warnf is used to generate warnings during virtual machine execution
c181555
// AppendOutputString is the same as AppendOutput, but uses a string
c181556
// Popmark pops the mark stored at the top of the mark stack
c181557
// CurrentMark returns the mark stored at the top of the mark stack
c181558
// LoadByteCode loads a new ByteCode. This is used for op codes that // call to external templates such as `include`
c181559
// Reset resets the whole State object
c181560
// DeclareVar puts a new variable in the stack, and returns the // index where it now resides
c181561
// GetLvar gets the frame local variable at position i
c181562
// SetLvar sets the frame local variable at position i
c181563
// NewByteCode creates an empty ByteCode instance.
c181564
// Append appends an op code to the current list of op codes.
c181565
// AppendOp is an utility method to create AND append a new op code to the // current list of op codes
c181566
// String returns the textual representation of this ByteCode
c181567
// NewCachedByteCodeLoader creates a new CachedByteCodeLoader
c181568
// 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.
c181569
// NewFileCache creates a new FileCache which stores caches underneath // the directory specified by `dir`
c181570
// GetCachePath creates a string describing where a given template key // would be cached in the file system
c181571
// Get returns the cached vm.ByteCode, if available
c181572
// Set creates a new cache file to store the ByteCode.
c181573
// Delete deletes the cache
c181574
// Get returns the cached ByteCode
c181575
// Set stores the ByteCode
c181576
// Delete deletes the ByteCode
c181577
// NewStringLexer creates a new lexer
c181578
// NewReaderLexer creates a new lexer
c181579
// NewV4 creates a new UUID with variant 4 as described in RFC 4122. Variant 4 based on pure random bytes.
c181580
// Parse parses the given template and creates an AST
c181581
// ParseReader gets the template content from an io.Reader type
c181582
// Visit returns a channel which you can receive Node structs in order that // that they would be processed
c181583
// String returns the textual representation of this AST
c181584
// 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
c181585
// DefaultParser sets up and assigns the default parser to be used by Xslate.
c181586
// DefaultLoader sets up and assigns the default loader to be used by Xslate.
c181587
// DefaultVM sets up and assigns the default VM to be used by Xslate
c181588
// Get retrieves the value assigned to `key`
c181589
// NewHTTPSource creates a new HTTPSource instance
c181590
// NewStringByteCodeLoader creates a new object
c181591
// LoadString takes a template string and compiles it into vm.ByteCode
c181592
// Get returns the variable stored in slot `x`
c181593
// NewOp creates a new Op.
c181594
// MarshalBinary is used to serialize an Op into a binary form. This // is used to cache the ByteCode
c181595
// UnmarshalBinary is used to deserialize an Op from binary form.
c181596
// ArgInt returns the integer representation of the argument
c181597
// ArgString returns the string representatin of the argument
c181598
// AppendOp creates and appends a new op to the current set of ByteCode
c181599
// Compile satisfies the compiler.Compiler interface. It accepts an AST // created by parser.Parser, and returns vm.ByteCode or an error