_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c14900 | // Log prints a leveled log message to the output.
// This method can be used to use custom log levels if needed.
// It adds a new line in the end. | |
c14901 | // Errorf will print only when logger's Level is error, warn, info or debug. | |
c14902 | // Warnf will print when logger's Level is warn, info or debug. | |
c14903 | // Infof will print when logger's Level is info or debug. | |
c14904 | // Debugf will print when logger's Level is debug. | |
c14905 | // Handle adds a log handler.
//
// Handlers can be used to intercept the message between a log value
// and the actual print operation, it's called
// when one of the print functions called.
// If it's return value is true then it means that the specific
// handler handled the log by itself therefore no need to
// pro... | |
c14906 | // Hijack adds a hijacker to the low-level logger's Printer.
// If you need to implement such as a low-level hijacker manually,
// then you have to make use of the pio library. | |
c14907 | // Scan scans everything from "r" and prints
// its new contents to the logger's Printer's Output,
// forever or until the returning "cancel" is fired, once. | |
c14908 | // Clone returns a copy of this "l" Logger.
// This copy is returned as pointer as well. | |
c14909 | // FormatTime returns the formatted `Time`. | |
c14910 | // SetWordList sets the list of words to use for mnemonics. Currently the list
// that is set is used package-wide. | |
c14911 | // GetWordIndex gets word index in wordMap. | |
c14912 | // EntropyFromMnemonic takes a mnemonic generated by this library,
// and returns the input entropy used to generate the given mnemonic.
// An error is returned if the given mnemonic is invalid. | |
c14913 | // NewMnemonic will return a string consisting of the mnemonic words for
// the given entropy.
// If the provide entropy is invalid, an error will be returned. | |
c14914 | // MnemonicToByteArray takes a mnemonic string and turns it into a byte array
// suitable for creating another mnemonic.
// An error is returned if the mnemonic is invalid. | |
c14915 | // NewSeedWithErrorChecking creates a hashed seed output given the mnemonic string and a password.
// An error is returned if the mnemonic is not convertible to a byte array. | |
c14916 | // NewSeed creates a hashed seed output given a provided string and password.
// No checking is performed to validate that the string provided is a valid mnemonic. | |
c14917 | // IsMnemonicValid attempts to verify that the provided mnemonic is valid.
// Validity is determined by both the number of words being appropriate,
// and that all the words in the mnemonic are present in the word list. | |
c14918 | // padByteSlice returns a byte slice of the given size with contents of the
// given slice left padded and any empty spaces filled with 0's. | |
c14919 | // New attempts to connect to a running mist server at the clients specified
// host and port. | |
c14920 | // connect dials the remote mist server and handles any incoming responses back
// from mist | |
c14921 | // Ping the server | |
c14922 | // Subscribe takes the specified tags and tells the server to subscribe to updates
// on those tags, returning the tags and an error or nil | |
c14923 | // Publish sends a message to the mist server to be published to all subscribed
// clients | |
c14924 | // PublishAfter sends a message to the mist server to be published to all subscribed
// clients after a specified delay | |
c14925 | // handleListAll - listall related | |
c14926 | // handleWho - who related | |
c14927 | // findMemoryToken attempts to find the desired token within memory | |
c14928 | // List returns a list of all current subscriptions | |
c14929 | // Register registers a new mist server | |
c14930 | // Add sorts the keys and then attempts to add them | |
c14931 | // Remove sorts the keys and then attempts to remove them | |
c14932 | // Match sorts the keys and then attempts to find a match | |
c14933 | // ToSlice recurses down an entire node returning a list of all branches and leaves
// as a slice of slices | |
c14934 | // Register registers a new mist authenticator | |
c14935 | // NewPostgres creates a new "postgres" Authenticator | |
c14936 | // this could really be optimized a lot. instead of opening a new conenction for
// each query, it should reuse connections | |
c14937 | // This could also be optimized a lot | |
c14938 | // Subscribers is listall related | |
c14939 | // Who is who related | |
c14940 | // PublishAfter publishes to ALL subscribers. Usefull in client applications
// who reuse the publish connection for subscribing | |
c14941 | // publish publishes to all subscribers except the one who issued the publish | |
c14942 | // subscribe adds a proxy to the list of mist subscribers; we need this so that
// we can lock this process incase multiple proxies are subscribing at the same
// time | |
c14943 | // unsubscribe removes a proxy from the list of mist subscribers; we need this
// so that we can lock this process incase multiple proxies are unsubscribing at
// the same time | |
c14944 | // NewScribble creates a new "scribble" authenticator | |
c14945 | // findScribbleToken attempts to find the desired token within "scribble" | |
c14946 | // StartHTTP starts a mist server listening over HTTP | |
c14947 | // routes registers all api routes with the router | |
c14948 | // handleRequest is a wrapper for the actual route handler, simply to provide some
// debug output | |
c14949 | // Negotiate handles the SPNEGO client-server negotiation. Negotiate will likely
// be invoked multiple times; a 200 or 400 response code are terminating
// conditions, whereas a 401 or 407 means that the client should respond to the
// challenge that we send. | |
c14950 | // MakeOIDSet makes an OIDSet prepopulated with the given OIDs. | |
c14951 | // Release frees all C memory associated with an OIDSet. | |
c14952 | // Add adds OIDs to an OIDSet. | |
c14953 | // Length returns the number of OIDs in a set. | |
c14954 | // Get returns a specific OID from the set. The memory will be released when the
// set itself is released. | |
c14955 | // Path returns the chosen gssapi library path that we're looking for. | |
c14956 | // Load attempts to load a dynamically-linked gssapi library from the path
// specified by the supplied Options. | |
c14957 | // Unload closes the handle to the dynamically-linked gssapi library. | |
c14958 | // populateFunctions ranges over the library's ftable, initializing each
// function inside. Assumes that the caller executes runtime.LockOSThread. | |
c14959 | // initConstants sets the initial values of a library's set of 'constants'. | |
c14960 | // Print outputs a log line to the specified severity. | |
c14961 | // Release frees a credential. | |
c14962 | // MakeBufferBytes makes a Buffer encapsulating a byte slice. | |
c14963 | // MakeBufferString makes a Buffer encapsulating the contents of a string. | |
c14964 | // Release safely frees the contents of a Buffer. | |
c14965 | // Length returns the number of bytes in the Buffer. | |
c14966 | // Bytes returns the contents of a Buffer as a byte slice. | |
c14967 | // String returns the contents of a Buffer as a string. | |
c14968 | // Equal determines if a Buffer receiver is equivalent to the supplied Buffer. | |
c14969 | // MakeOIDBytes makes an OID encapsulating a byte slice. Note that it does not
// duplicate the data, but rather it points to it directly. | |
c14970 | // MakeOIDString makes an OID from a string. | |
c14971 | // Release safely frees the contents of an OID if it's allocated with malloc by
// MakeOIDBytes. | |
c14972 | // Bytes displays the bytes of an OID. | |
c14973 | // String displays a string representation of an OID. | |
c14974 | // Returns a symbolic name for a known OID, or the string. Note that this
// function is intended for debugging and is not at all performant. | |
c14975 | // AcceptSecContext accepts an initialized security context. Usually called by
// the server. May return ErrContinueNeeded if the client is to make another
// iteration of exchanging token with the service | |
c14976 | // InquireContext returns fields about a security context. | |
c14977 | // AddSPNEGONegotiate adds a Negotiate header with the value of a serialized
// token to an http header. | |
c14978 | // CheckSPNEGONegotiate checks for the presence of a Negotiate header. If
// present, we return a gssapi Token created from the header value sent to us. | |
c14979 | // Release frees the memory associated with an internal representation of the
// name. | |
c14980 | // Display "allows an application to obtain a textual representation of an
// opaque internal-form name for display purposes" | |
c14981 | // Canonicalize returns a copy of this name, canonicalized for the specified
// mechanism | |
c14982 | // InquireMechs returns the set of mechanisms supported by the GSS-API
// implementation that may be able to process the specified name | |
c14983 | // InquireNameForMech returns the set of name types supported by
// the specified mechanism | |
c14984 | // MakeError creates a golang Error object from a gssapi major & minor status. | |
c14985 | // Error returns a string representation of an Error object. | |
c14986 | // Map prints out a Graphviz digraph of the given datastructure to the given io.Writer | |
c14987 | // newOperatorNode returns new operator node OperatorNode. | |
c14988 | // newAxisNode returns new axis node AxisNode. | |
c14989 | // newVariableNode returns new variable node VariableNode. | |
c14990 | // newFilterNode returns a new filter node FilterNode. | |
c14991 | // newFunctionNode returns function call node. | |
c14992 | // parseExpression parsing the expression with input node n. | |
c14993 | // Parse parsing the XPath express string expr and returns a tree node. | |
c14994 | // number vs number | |
c14995 | // string vs string | |
c14996 | // eqFunc is an `=` operator. | |
c14997 | // axisPredicate creates a predicate to predicating for this axis node. | |
c14998 | // processFilterNode builds query for the XPath filter predicate. | |
c14999 | // build builds a specified XPath expressions expr. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.