_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c16600 | // FSet is like Set but accepts a os.File instead of a file path. | |
c16601 | // SetWithFlags associates name and data together as an attribute of path.
// Forwards the flags parameter to the syscall layer. | |
c16602 | // LSetWithFlags is like SetWithFlags but does not follow a symlink at
// the end of the path. | |
c16603 | // FSetWithFlags is like SetWithFlags but accepts a os.File instead of a file path. | |
c16604 | // Remove removes the attribute associated with the given path. | |
c16605 | // LRemove is like Remove but does not follow a symlink at the end of the
// path. | |
c16606 | // FRemove is like Remove but accepts a os.File instead of a file path. | |
c16607 | // List retrieves a list of names of extended attributes associated
// with the given path in the file system. | |
c16608 | // LList is like List but does not follow a symlink at the end of the
// path. | |
c16609 | // FList is like List but accepts a os.File instead of a file path. | |
c16610 | // list contains the buffer allocation logic used by both List and LList. | |
c16611 | // bytePtrFromSlice returns a pointer to array of bytes and a size. | |
c16612 | // AddrFamily returns the address family of an IP address. | |
c16613 | // InterfaceIPs returns a slice of interface IP addresses. | |
c16614 | // Validate fills missing fields and validates virtual service configuration. | |
c16615 | // Validate fills missing fields and validates backend configuration. | |
c16616 | // Validate fills missing fields and validates Pulse configuration. | |
c16617 | // NewMetrics creates a new instance of metrics. | |
c16618 | // Update updates metrics based on Pulse status message. | |
c16619 | // ParseInterval parses an interval string and returns the corresponding duration. | |
c16620 | // MustMarshal will try to convert the given object to JSON or panic if there's an error. | |
c16621 | // New creates a new Discovery from the provided options. | |
c16622 | // New creates a new Pulse from the provided endpoint and options. | |
c16623 | // Loop starts the Pulse. | |
c16624 | // Get returns a typed option or a default value if the option is not set. | |
c16625 | // NewContext creates a new Context and initializes IPVS. | |
c16626 | // Close shuts down IPVS and closes the Context. | |
c16627 | // ListServices returns a list of all registered services. | |
c16628 | // GetService returns information about a virtual service. | |
c16629 | // GetBackend returns information about a backend. | |
c16630 | // ParseJsonFacets will assign facets and build sr.jsonfacets if there is a facet_counts | |
c16631 | // ParseJsonFacets will assign facets and build sr.jsonfacets if there is a facets | |
c16632 | // ParseFacetCounts will assign facet_counts to sr if there is one.
// No modification done here | |
c16633 | // ParseHighlighting will assign highlighting to sr if there is one.
// No modification done here | |
c16634 | // Parse stats if there is in response | |
c16635 | // Set basic auth in case solr require login | |
c16636 | // HTTPPost make a POST request to path which also includes domain, headers are optional | |
c16637 | // HTTPGet make a GET request to url, headers are optional | |
c16638 | // NewConnection will parse solrUrl and return a connection object, solrUrl must be a absolute url or path | |
c16639 | // Update take optional params which can use to specify addition parameters such as commit=true | |
c16640 | // NewSearch takes c and q as optional | |
c16641 | // Return query params including debug and indent if Debug is set | |
c16642 | // Result will create a StandardResultParser if no parser specified.
// parser must be an implementation of ResultParser interface | |
c16643 | // NewSchema will parse solrUrl and return a schema object, solrUrl must be a absolute url or path | |
c16644 | // Start sets start value which is the offset of result | |
c16645 | // Rows sets value for rows which means set the limit for how many rows to return | |
c16646 | // Has check if a key exist in document | |
c16647 | // Get returns value of a key | |
c16648 | // Return a new instance of SolrInterface | |
c16649 | // Return a new instace of Search, q is optional and one can set it later | |
c16650 | // makeAddChunks splits the documents into chunks. If chunk_size is less than one it will be default to 100 | |
c16651 | // Add will insert documents in batch of chunk_size. success is false as long as one chunk failed.
// The result in SolrUpdateResponse is summery of response from all chunks
// with key chunk_%d | |
c16652 | // DeleteAll will remove all documents and commit | |
c16653 | // Commit the changes since the last commit | |
c16654 | // Return new instance of CoreAdmin with provided solrUrl and basic auth | |
c16655 | // Return new instance of Schema with provided solrUrl and basic auth | |
c16656 | // Return 'status' and QTime from solr, if everything is fine status should have value 'OK'
// QTime will have value -1 if can not determine | |
c16657 | // Vectorize generates 64 dimension vectors given a set of features.
// Vectors are initialized to zero. The i-th element of the vector is then
// incremented by weight of the i-th feature if the i-th bit of the feature
// is set, and decremented by the weight of the i-th feature otherwise. | |
c16658 | // Returns a new feature representing the given byte slice, using a weight of 1 | |
c16659 | // Returns a new feature representing the given byte slice with the given weight | |
c16660 | // ReceiveFile copies a single remote file to the local machine with
// the specified name. The time and permission will be set to the same value
// of the source file. | |
c16661 | // SendFile copies a single local file to the remote server.
// The time and permission will be set with the value of the source file. | |
c16662 | // SendDir copies files and directories under the local srcDir to
// to the remote destDir. You can filter the files and directories to be copied with acceptFn.
// However this filtering is done at the receiver side, so all file bodies are transferred
// over the network even if some files are filtered out. If you need... | |
c16663 | // AddPlural adds a plural inflection | |
c16664 | // AddSingular adds a singular inflection | |
c16665 | // AddIrregular adds an irregular inflection | |
c16666 | // GetPlural retrieves the plural inflection values | |
c16667 | // GetSingular retrieves the singular inflection values | |
c16668 | // GetIrregular retrieves the irregular inflection values | |
c16669 | // GetUncountable retrieves the uncountable inflection values | |
c16670 | // Plural converts a word to its plural form | |
c16671 | // Singular converts a word to its singular form | |
c16672 | // Handler returns a http.Handler that accepts JSON-encoded
// HTTP requests for a webhook, invokes the underlying webhook
// plugin, and writes the JSON-encoded data to the HTTP response.
//
// The handler verifies the authenticity of the HTTP request
// using the http-signature, and returns a 400 Bad Request if
// th... | |
c16673 | // New returns a new http.Client with signature verification. | |
c16674 | // Do makes an http.Request to the target endpoint. | |
c16675 | // New returns a client at the specified url. | |
c16676 | // Self returns the currently authenticated user. | |
c16677 | // User returns a user by login. | |
c16678 | // UserList returns a list of all registered users. | |
c16679 | // UserCreate creates a new user account. | |
c16680 | // UserUpdate updates a user account. | |
c16681 | // UserDelete deletes a user account. | |
c16682 | // Repo returns a repository by name. | |
c16683 | // RepoList returns a list of all repositories to which
// the user has explicit access in the host system. | |
c16684 | // RepoListSync returns a list of all repositories to which
// the user has explicit access in the host system. | |
c16685 | // RepoEnable activates a repository. | |
c16686 | // RepoDisable disables a repository. | |
c16687 | // RepoUpdate updates a repository. | |
c16688 | // RepoRepair repais the repository hooks. | |
c16689 | // Build returns a repository build by number. | |
c16690 | // Build returns the latest repository build by branch. | |
c16691 | // BuildList returns a list of recent builds for the
// the specified repository. | |
c16692 | // BuildRestart re-starts a stopped build. | |
c16693 | // BuildCancel cancels the running job. | |
c16694 | // BuildPurge purges the build history. | |
c16695 | // Roolback reverts the target environment to an previous build. | |
c16696 | // Approve approves a blocked build stage. | |
c16697 | // BuildLogs returns the build logs for the specified job. | |
c16698 | // LogsPurge purges the build logs for the specified build. | |
c16699 | // Sign signs the yaml file. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.