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