_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c15900 | // Identifier returns the string's name | |
c15901 | // Matches returns all matches that have been recorded for the string. | |
c15902 | // FromBytes takes a byte slice corresponding to a MaxMind DB file and returns
// a Reader structure or an error. | |
c15903 | // Lookup takes an IP address as a net.IP structure and a pointer to the
// result value to Decode into. | |
c15904 | // LookupOffset maps an argument net.IP to a corresponding record offset in the
// database. NotFound is returned if no such record is found, and a record may
// otherwise be extracted by passing the returned offset to Decode. LookupOffset
// is an advanced API, which exists to provide clients with a means to cache
// ... | |
c15905 | // Networks returns an iterator that can be used to traverse all networks in
// the database.
//
// Please note that a MaxMind DB may map IPv4 networks into several locations
// in in an IPv6 database. This iterator will iterate over all of these
// locations separately. | |
c15906 | // Next prepares the next network for reading with the Network method. It
// returns true if there is another network to be processed and false if there
// are no more networks or if there is an error. | |
c15907 | // Network returns the current network or an error if there is a problem
// decoding the data for the network. It takes a pointer to a result value to
// decode the network's data into. | |
c15908 | // This function is used to skip ahead to the next value without decoding
// the one at the offset passed in. The size bits have different meanings for
// different data types | |
c15909 | // Verify checks that the database is valid. It validates the search tree,
// the data section, and the metadata section. This verifier is stricter than
// the specification and may return errors on databases that are readable. | |
c15910 | // Close unmaps the database file from virtual memory and returns the
// resources to the system. If called on a Reader opened using FromBytes
// or Open on Google App Engine, this method does nothing. | |
c15911 | // TarballDirectory - rootdir is equivalent to tar -C 'rootdir' | |
c15912 | // GetSettings returns setting even if it fails to resolve IPs for dynamic networks. | |
c15913 | // NewMockAgentClientFactory creates a new mock instance | |
c15914 | // NewAgentClient mocks base method | |
c15915 | // NewAgentClient indicates an expected call of NewAgentClient | |
c15916 | // Jobs returns a list of pre-rendered job templates
// extracted from a single tarball provided by BOSH director. | |
c15917 | // toInterfaceAddresses bulk converts customNetworks to InterfaceAddresses | |
c15918 | // condMonitor, returns a Monitor that broadcasts on cond on each update. | |
c15919 | // createProfile, creates the profile and home directory of the user identified
// by Security Identifier sid. | |
c15920 | // deleteProfile, deletes the profile and home directory of the user identified
// by Security Identifier sid. | |
c15921 | // generatePassword, returns a 14 char ascii85 encoded password.
//
// DO NOT CALL THIS DIRECTLY, use randomPassword instead as it
// returns a valid Windows password. | |
c15922 | // randomPassword, returns a ascii85 encoded 14 char password
// if the password is longer than 14 chars NET.exe will ask
// for confirmation due to backwards compatibility issues with
// Windows prior to Windows 2000. | |
c15923 | // Dial establishes a connection to a log daemon by connecting to
// address raddr on the specified network. Each write to the returned
// writer sends a log message with the given facility, severity and
// tag. | |
c15924 | // Err logs a message with severity LOG_ERR, ignoring the severity
// passed to New. | |
c15925 | // Warning logs a message with severity LOG_WARNING, ignoring the
// severity passed to New. | |
c15926 | // Notice logs a message with severity LOG_NOTICE, ignoring the
// severity passed to New. | |
c15927 | // itoa, cheap integer to fixed-width decimal ASCII. | |
c15928 | // NewHTTPClient creates a new monit client
//
// status & start use the shortClient
// unmonitor & stop use the longClient | |
c15929 | // Environ strips program specific variables from the environment. | |
c15930 | // Get reads and marshals the file contents. | |
c15931 | // Set unmarshals and writes to the file. | |
c15932 | // Connect returns a new Mgr that will monitor all services with descriptions
// matched by match. If match is nil all services are matched. | |
c15933 | // serviceDescription, returns the description of service s. | |
c15934 | // services, returns all of the services that match the Mgr's match function. | |
c15935 | // iter, calls function fn concurrently on each service matched by Mgr.
// The service is closed for fn and the first error, if any, is returned.
//
// fn must be safe for concurrent use and must not block indefinitely. | |
c15936 | // querySvc, queries the service status of service s. This is really here to
// return a formated error message. | |
c15937 | // calculateWaitHint, converts a service's WaitHint into a time duration and
// calculates the interval the caller should wait for before rechecking the
// service's status.
//
// If no WaitHint is provided the default of 10 seconds is returned. As per
// Microsoft's recommendations he returned interval will be betwee... | |
c15938 | // waitPending, waits for service s to transition out of pendingState, which
// must be either StartPending or StopPending. A two minute time limit is
// enforced for the state transition.
//
// See calculateWaitHint for an explanation of how the service's WaitHint is
// used to check progress. | |
c15939 | // Status returns the name and status for all of the services monitored. | |
c15940 | // Unmonitor disable start for all the Mgr m's services. | |
c15941 | // DisableAgentAutoStart sets the start type of the bosh-agent to manual. | |
c15942 | //NewChannel spawns and returns a new channel sharing the underlying buffer. | |
c15943 | // for all buffered cases | |
c15944 | // Compile compiles GCSS data which is read from src and
// Writes the result CSS data to the dst. | |
c15945 | // CompileFile parses the GCSS file specified by the path parameter,
// generates a CSS file and returns the path of the generated CSS file
// and an error when it occurs. | |
c15946 | // convertExt converts path's extension into ext. | |
c15947 | // WriteTo writes the variable to the writer. | |
c15948 | // variableNV extracts a variable name and value
// from the line. | |
c15949 | // newVariable creates and returns a variable. | |
c15950 | // mixinNP extracts a mixin name and parameters from the line. | |
c15951 | // newMixinDeclaration creates and returns a mixin declaration. | |
c15952 | // newElement creates and returns an element. | |
c15953 | // WriteTo writes the declaration to the writer. | |
c15954 | // writeTo writes the declaration to the writer. | |
c15955 | // writeParam writes the param to the writer. | |
c15956 | // declarationPV extracts a declaration property and value
// from the line. | |
c15957 | // newDeclaration creates and returns a declaration. | |
c15958 | // AppendChild appends a child element to the element. | |
c15959 | // Context returns the top element's context. | |
c15960 | // hasMixinDecs returns true if the element has a mixin
// which has declarations. | |
c15961 | // hasMixinSels returns true if the element has a mixin
// which has selectors. | |
c15962 | // writeDecsTo writes the element's declarations to w. | |
c15963 | // newElementBase creates and returns an element base. | |
c15964 | // writeTo writes s to w. | |
c15965 | // write writes the input byte data to the CSS file. | |
c15966 | // decsParams returns the mixin's declarations and params. | |
c15967 | // selsParams returns the mixin's selectors and params. | |
c15968 | // newMixinInvocation creates and returns a mixin invocation. | |
c15969 | // childOf returns true if the line is a child of the parent. | |
c15970 | // isDeclaration returns true if the line is a declaration. | |
c15971 | // isAtRule returns true if the line is an at-rule. | |
c15972 | // isVariable returns true if the line is a variable. | |
c15973 | // isMixinDeclaration returns true if the line is a mixin declaration. | |
c15974 | // isMixinInvocation returns true if the line is a mixin invocation. | |
c15975 | // isComment returns true if the line is a comment. | |
c15976 | // newLine creates and returns a line. | |
c15977 | // indent returns the string's indent. | |
c15978 | // WriteTo writes the at-rule to the writer. | |
c15979 | // newAtRule creates and returns a at-rule. | |
c15980 | // WriteTo writes the selector to the writer. | |
c15981 | // writeTo writes the selector to the writer. | |
c15982 | // names returns the selector names. | |
c15983 | // newSelector creates and returns a selector. | |
c15984 | // newContext creates and returns a context. | |
c15985 | // newComment creates and returns a comment. | |
c15986 | // appendChildren parses the lines and appends the child elements
// to the parent element. | |
c15987 | // formatLF replaces the line feed codes with LF and
// returns the result string. | |
c15988 | // Unmarshal decodes JSON-RPC params. | |
c15989 | // RequestID takes request id from context. | |
c15990 | // WithRequestID adds request id to context. | |
c15991 | // ServeHTTP provides basic JSON-RPC handling. | |
c15992 | // InvokeMethod invokes JSON-RPC method. | |
c15993 | // TakeMethod takes jsonrpc.Func in MethodRepository. | |
c15994 | // RegisterMethod registers jsonrpc.Func to MethodRepository. | |
c15995 | // Methods returns registered methods. | |
c15996 | // ParseRequest parses a HTTP request to JSON-RPC request. | |
c15997 | // NewResponse generates a JSON-RPC response. | |
c15998 | // SendResponse writes JSON-RPC response. | |
c15999 | // ServeDebug views registered method list. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.