_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c173400 | validation | // FromBase64ToHex return hex of base 64 encoded. | {
"resource": ""
} | ||
c173401 | validation | // HexToBytes reutrns the bytes represented by the hex of string s. | {
"resource": ""
} | ||
c173402 | validation | // ToBytes returns the bytes represented by the base64 string s. | {
"resource": ""
} | ||
c173403 | validation | // ToHash returns the ethereum's hash represented by the base64 string s. | {
"resource": ""
} | ||
c173404 | validation | // HexToHash returns the ethereum's hash represented by the hex of string s. | {
"resource": ""
} | ||
c173405 | validation | // HexToAddress returns ethereum's address from base 64 encoded string. | {
"resource": ""
} | ||
c173406 | validation | // BytesToUint32 using big endian. | {
"resource": ""
} | ||
c173407 | validation | // Uint32ToBytes using big endian. | {
"resource": ""
} | ||
c173408 | validation | // Uint64ToBytes using big endian. | {
"resource": ""
} | ||
c173409 | validation | // Uint192ToBytes using big endian with leading zeros. | {
"resource": ""
} | ||
c173410 | validation | // HashPassword computes encoded hash of the password. | {
"resource": ""
} | ||
c173411 | validation | // ValidatePassword checks if a given password, hash and salt are matching. | {
"resource": ""
} | ||
c173412 | validation | // GetUint64Setting finds the key value in table Setting.
// Checks that the value in the format of uint64 | {
"resource": ""
} | ||
c173413 | validation | // ChannelKey returns the unique channel identifier
// used in a Privatix Service Contract. | {
"resource": ""
} | ||
c173414 | validation | // MinDeposit calculates minimal deposit required to accept the offering. | {
"resource": ""
} | ||
c173415 | validation | // AcceptOffering initiates JobClientPreChannelCreate job. | {
"resource": ""
} | ||
c173416 | validation | // ChangeOfferingStatus initiates JobAgentPreOfferingMsgBCPublish,
// JobAgentPreOfferingPopUp or JobAgentPreOfferingDelete job,
// depending on a selected action. | {
"resource": ""
} | ||
c173417 | validation | // GetClientOfferings returns active offerings available for a client. | {
"resource": ""
} | ||
c173418 | validation | // GetAgentOfferings returns active offerings available for a agent. | {
"resource": ""
} | ||
c173419 | validation | // setOfferingHash computes and sets values for raw msg and hash fields. | {
"resource": ""
} | ||
c173420 | validation | // fillOffering fills offerings nonce, status, hash and signature. | {
"resource": ""
} | ||
c173421 | validation | // UpdateOffering updates an offering. | {
"resource": ""
} | ||
c173422 | validation | // CreateOffering creates an offering. | {
"resource": ""
} | ||
c173423 | validation | // GetClientOfferingsFilterParams returns offerings filter parameters for client. | {
"resource": ""
} | ||
c173424 | validation | // PingOfferings given offerings ids pings each of them and returns result of the test. | {
"resource": ""
} | ||
c173425 | validation | // NewServer creates a new HTTP server. | {
"resource": ""
} | ||
c173426 | validation | // Mux is an associated http.ServeMux instance. | {
"resource": ""
} | ||
c173427 | validation | // NewLogger creates a new reporter logger. | {
"resource": ""
} | ||
c173428 | validation | // Printf logs internal messages from a reporter. | {
"resource": ""
} | ||
c173429 | validation | // GetURL returns a server URL for a given path. | {
"resource": ""
} | ||
c173430 | validation | // NewHTTPRequest creates a new HTTP request from a given server request. | {
"resource": ""
} | ||
c173431 | validation | // NewHTTPRequestWithURL creates a new HTTP request for a given url. | {
"resource": ""
} | ||
c173432 | validation | // Send sends an HTTP request and returns a server response. | {
"resource": ""
} | ||
c173433 | validation | // Check returns true if given string matches stored. | {
"resource": ""
} | ||
c173434 | validation | // Make makes new random token. | {
"resource": ""
} | ||
c173435 | validation | // GetLogs returns back end log, paginated. | {
"resource": ""
} | ||
c173436 | validation | // AuthClient verifies password for a given client key. | {
"resource": ""
} | ||
c173437 | validation | // StartSession creates a new client session. | {
"resource": ""
} | ||
c173438 | validation | // UpdateSession updates and optionally stops the current client session. | {
"resource": ""
} | ||
c173439 | validation | // OfferingMessage returns new Offering message | {
"resource": ""
} | ||
c173440 | validation | // ValidMsg if is true then offering message corresponds
// to an offer template scheme. | {
"resource": ""
} | ||
c173441 | validation | // NewClient initializing Bugsnag client.
// Bugsnag client that automatic error sender to remote server.
// We use this service to collect anonymous information
// about the error and panic.
// Service is activated if exist entry key = "error.sendremote"
// and value = true in the database settings table. | {
"resource": ""
} | ||
c173442 | validation | // PanicHunter catches panic, in case of an enabled reporter. | {
"resource": ""
} | ||
c173443 | validation | // ParseRequest parses request handling possible errors. | {
"resource": ""
} | ||
c173444 | validation | // save reads the applied ipvsadm rules from the host and saves them as i.Services | {
"resource": ""
} | ||
c173445 | validation | // NewClient returns a new Client. | {
"resource": ""
} | ||
c173446 | validation | // ParseRate is a helper function to get all the Rate info | {
"resource": ""
} | ||
c173447 | validation | // Sets the output path for generated snapshots. | {
"resource": ""
} | ||
c173448 | validation | // Update global Tracer configuration. | {
"resource": ""
} | ||
c173449 | validation | // Sets the executable path for the tracer. | {
"resource": ""
} | ||
c173450 | validation | // Sets the output path for generated snapshots. The directory will be
// created with the specified permission bits if it does not already
// exist.
//
// If perm is 0, a default of 0755 will be used. | {
"resource": ""
} | ||
c173451 | validation | // Sets the input and output pipes for the tracer.
// Stdout is not redirected; it is instead passed to the
// tracer's Put command. | {
"resource": ""
} | ||
c173452 | validation | // Append to an option with given prefix | {
"resource": ""
} | ||
c173453 | validation | // MarshalRaw copies the raw bytes to the buffer, without a size prefix or
// padding. This is suitable for appending data already in XDR format from
// another source. | {
"resource": ""
} | ||
c173454 | validation | // MarshalString appends the string to the buffer, with a size prefix and
// correct padding. | {
"resource": ""
} | ||
c173455 | validation | // MarshalString appends the bytes to the buffer, with a size prefix and
// correct padding. | {
"resource": ""
} | ||
c173456 | validation | // MarshalString appends the bool to the buffer, as an uint32. | {
"resource": ""
} | ||
c173457 | validation | // MarshalString appends the uint32 to the buffer. | {
"resource": ""
} | ||
c173458 | validation | // MarshalString appends the uint64 to the buffer. | {
"resource": ""
} | ||
c173459 | validation | // ElementSizeExceeded returns an error describing the violated size
// constraint. This function is used by the generated marshalling code. | {
"resource": ""
} | ||
c173460 | validation | // Return first character position where the character has to be escaped | {
"resource": ""
} | ||
c173461 | validation | // Return first character position where the character has to be decoded | {
"resource": ""
} | ||
c173462 | validation | // Returns a new decoder. Data will be read from r, and decoded
// according to enc. | {
"resource": ""
} | ||
c173463 | validation | // Register registers a constructor function
// with the DI container | {
"resource": ""
} | ||
c173464 | validation | // MustRegister is a helper that calls Register and panics if it returns an error | {
"resource": ""
} | ||
c173465 | validation | // Create creates an instance of the type of the given parameter | {
"resource": ""
} | ||
c173466 | validation | // cachedCreateFromType creates an instance of the given type | {
"resource": ""
} | ||
c173467 | validation | // NewDependencyInjector returns a new DependencyInjector | {
"resource": ""
} | ||
c173468 | validation | // NewServiceContainer returns a new ServiceContainer | {
"resource": ""
} | ||
c173469 | validation | // add the prefix when providing urls | {
"resource": ""
} | ||
c173470 | validation | // Prefix returns an AssetPipeline that prefixes URLs with the
// given string | {
"resource": ""
} | ||
c173471 | validation | // ServeHTTP handles a http request | {
"resource": ""
} | ||
c173472 | validation | // getResponse executes the specified controller's method using reflection
// and returns the response object | {
"resource": ""
} | ||
c173473 | validation | // isValid checks that the controller and method specifies
// will sucessfully execute if getResponse is called on it | {
"resource": ""
} | ||
c173474 | validation | // NewHandler creates a ControllerHandler from the factory and methodName | {
"resource": ""
} | ||
c173475 | validation | // Handler handles functions of type GoannaHandlerFunc | {
"resource": ""
} | ||
c173476 | validation | // SetRequest injects a request into the controller | {
"resource": ""
} | ||
c173477 | validation | // Session returns the session for the current request | {
"resource": ""
} | ||
c173478 | validation | // RenderView renders a template string using the provided template and vars struct
// and returns the rendered tamplate | {
"resource": ""
} | ||
c173479 | validation | // RenderView renders a template using the provided template and vars struct
// and returns the rendered tamplate | {
"resource": ""
} | ||
c173480 | validation | // RedirectRoute returns a RedirectResponse to the route | {
"resource": ""
} | ||
c173481 | validation | // UrlFor is helper function for controllers | {
"resource": ""
} | ||
c173482 | validation | // CookieValue returns the value of the named cookie | {
"resource": ""
} | ||
c173483 | validation | // BodyData returns the full request body | {
"resource": ""
} | ||
c173484 | validation | // QueryValue returns the value in the GET query string | {
"resource": ""
} | ||
c173485 | validation | // FormValueOrDefault returns the result of Request.FormValue,
// and if the result is empty returns the default string | {
"resource": ""
} | ||
c173486 | validation | // UrlValue returns whether the request is PATCH | {
"resource": ""
} | ||
c173487 | validation | // Contains returns true if any string in substrs is within s | {
"resource": ""
} | ||
c173488 | validation | // RemoveStringsFromString removes any string in substrs from s | {
"resource": ""
} | ||
c173489 | validation | // Map returns a slice containing all the elements of ss
// after applying the callback function to each one | {
"resource": ""
} | ||
c173490 | validation | // Equal returns a boolean reporting whether a == b | {
"resource": ""
} | ||
c173491 | validation | // Uniq returns a slice containing the unique strings
// found in items | {
"resource": ""
} | ||
c173492 | validation | // NewCookieSigner returns a new CookieSigner using the given key | {
"resource": ""
} | ||
c173493 | validation | // EncodeCookie signs and encodes the cookie | {
"resource": ""
} | ||
c173494 | validation | // DecodeCookie verifies the signature and decodes the value into the cookie | {
"resource": ""
} | ||
c173495 | validation | // DecodeValue validates and decodes a cookie value | {
"resource": ""
} | ||
c173496 | validation | // EncodeValue signs and encodes a cookie value | {
"resource": ""
} | ||
c173497 | validation | // ServeHTTP records the time for a request and sends the result to statsd | {
"resource": ""
} | ||
c173498 | validation | // NewSprocketsServer creates a Sprockets asset pipeline | {
"resource": ""
} | ||
c173499 | validation | // Keys must be at maximum 250 bytes long, ASCII, and not
// contain whitespace or control characters. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.