_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c19700 | train | // Private whether the field is private | {
"resource": ""
} | ||
c19701 | train | // Fields returns a new Named object containing a list of Fields for a given input struct. | {
"resource": ""
} | ||
c19702 | train | // deriveSort sorts the slice inplace and also returns it. | {
"resource": ""
} | ||
c19703 | train | // IsError returns whether a type implements the Error interface. | {
"resource": ""
} | ||
c19704 | train | // Zero returns the zero value as a string, for a given type. | {
"resource": ""
} | ||
c19705 | train | // deriveTraverse returns a list where each element of the input list has been morphed by the input function or an error. | {
"resource": ""
} | ||
c19706 | train | // eq returns whether this and that are equal. | {
"resource": ""
} | ||
c19707 | train | // New is a constructor for the compose code generator.
// This generator should be reconstructed for each package. | {
"resource": ""
} | ||
c19708 | train | // deriveMem returns a memoized version of the input function. | {
"resource": ""
} | ||
c19709 | train | // NewPlugins returns a collection of plugins that is ready to generate code. | {
"resource": ""
} | ||
c19710 | train | // deriveKeys returns the keys of the input map as a slice. | {
"resource": ""
} | ||
c19711 | train | // deriveMins returns the minimum value from the list, or the default value if the list is empty. | {
"resource": ""
} | ||
c19712 | train | // New is a constructor for the equal code generator.
// This generator should be reconstructed for each package. | {
"resource": ""
} | ||
c19713 | train | // deriveDo concurrently executes the input functions f0 and f1 and when all functions are finished the first error, if any, and results are returned. | {
"resource": ""
} | ||
c19714 | train | // deriveUnique returns a list containing only the unique items from the input list.
// It does this by reusing the input list. | {
"resource": ""
} | ||
c19715 | train | // deriveHash_s returns the hash of the object. | {
"resource": ""
} | ||
c19716 | train | // deriveCompose composes functions f0, f1, f2, f3, f4 and f5 into one function, that takes the parameters from f0 and returns the results from f5. | {
"resource": ""
} | ||
c19717 | train | // argTypes returns the argument types of a function call. | {
"resource": ""
} | ||
c19718 | train | // HasUndefined returns whether the call has undefined arguments | {
"resource": ""
} | ||
c19719 | train | // New is a constructor for the gostring code generator.
// This generator should be reconstructed for each package. | {
"resource": ""
} | ||
c19720 | train | // generateEqual returns whether this and that are equal. | {
"resource": ""
} | ||
c19721 | train | // deriveToError transforms the given function's last bool type into an error type. The transformed function returns the given error when the result of the given function is false, otherwise it returns nil. | {
"resource": ""
} | ||
c19722 | train | // deriveCompose composes functions f0 and f1 into one function, that takes the parameters from f0 and returns the results from f1. | {
"resource": ""
} | ||
c19723 | train | // deriveSet returns the input list as a map with the items of the list as the keys of the map. | {
"resource": ""
} | ||
c19724 | train | // deriveHash_ returns the hash of the object. | {
"resource": ""
} | ||
c19725 | train | // deriveHash_1 returns the hash of the object. | {
"resource": ""
} | ||
c19726 | train | // deriveUnion returns the union of the items of the two input lists.
// It does this by append items to the first list. | {
"resource": ""
} | ||
c19727 | train | // New is a constructor for the hash code generator.
// This generator should be reconstructed for each package. | {
"resource": ""
} | ||
c19728 | train | // deriveIntersect returns the intersection of the two lists' values
// It assumes that the first list only contains unique items. | {
"resource": ""
} | ||
c19729 | train | // deriveGoString returns a recursive representation of this as a valid go string. | {
"resource": ""
} | ||
c19730 | train | // derivePipeline composes f and g into a concurrent pipeline. | {
"resource": ""
} | ||
c19731 | train | // deriveJoin listens on all channels resulting from the input channel and sends all their results on the output channel. | {
"resource": ""
} | ||
c19732 | train | // deriveFmap returns an output channel where the items are the result of the input function being applied to the items on the input channel. | {
"resource": ""
} | ||
c19733 | train | // Register the route in the router | {
"resource": ""
} | ||
c19734 | train | // GetFunc add a new route to the Mux with the Get method | {
"resource": ""
} | ||
c19735 | train | // Handle add a new route to the Mux without a HTTP method | {
"resource": ""
} | ||
c19736 | train | // Options add a new route to the Mux with the Options method | {
"resource": ""
} | ||
c19737 | train | // Register the new route in the router with the provided method and handler | {
"resource": ""
} | ||
c19738 | train | // SubRoute register a router as a SubRouter of bone | {
"resource": ""
} | ||
c19739 | train | // Save, set automatically the Route.Size and Route.Pattern value | {
"resource": ""
} | ||
c19740 | train | // Match check if the request match the route Pattern | {
"resource": ""
} | ||
c19741 | train | // matchAndParse check if the request matches the route Pattern and returns a map of the parsed
// variables if it matches | {
"resource": ""
} | ||
c19742 | train | // New create a pointer to a Mux instance | {
"resource": ""
} | ||
c19743 | train | // RegisterValidatorFunc makes the provided function available to the routes register on that mux as a validator | {
"resource": ""
} | ||
c19744 | train | // RegisterValidator makes the provided validator available to the routes register on that mux | {
"resource": ""
} | ||
c19745 | train | // Prefix set a default prefix for all routes registred on the router | {
"resource": ""
} | ||
c19746 | train | // DefaultServe is the default http request handler | {
"resource": ""
} | ||
c19747 | train | // ServeHTTP pass the request to the serve method of Mux | {
"resource": ""
} | ||
c19748 | train | // StaticRoute check if the request path is for Static route | {
"resource": ""
} | ||
c19749 | train | // HandleNotFound handle when a request does not match a registered handler. | {
"resource": ""
} | ||
c19750 | train | // Clean url path | {
"resource": ""
} | ||
c19751 | train | // GetRequestRoute returns the route of given Request | {
"resource": ""
} | ||
c19752 | train | // HostApis returns all information available for HostApis. | {
"resource": ""
} | ||
c19753 | train | // HostApi returns information for a requested HostApiType. | {
"resource": ""
} | ||
c19754 | train | // DefaultHostApi returns information of the default HostApi available on the system.
//
// The default host API will be the lowest common denominator host API
// on the current platform and is unlikely to provide the best performance. | {
"resource": ""
} | ||
c19755 | train | // Devices returns information for all available devices on the system. | {
"resource": ""
} | ||
c19756 | train | // DefaultInputDevice returns information for the default
// input device on the system. | {
"resource": ""
} | ||
c19757 | train | // DefaultOutputDevice returns information for the default
// output device on the system. | {
"resource": ""
} | ||
c19758 | train | // IsFormatSupported Returns nil if the format is supported, otherwise an error.
// The args parameter has the same meaning as in OpenStream. | {
"resource": ""
} | ||
c19759 | train | // PutInt32 puts the three most significant bytes of i32 into i24. | {
"resource": ""
} | ||
c19760 | train | // OpenStream creates an instance of a Stream.
//
// For an input- or output-only stream, p.Output.Device or p.Input.Device must be nil, respectively.
//
// The args may consist of either a single StreamCallback or,
// for a blocking stream, two Buffers or pointers to Buffers.
//
// For an input- or output-only stream,... | {
"resource": ""
} | ||
c19761 | train | // Close terminates the stream. | {
"resource": ""
} | ||
c19762 | train | // Info returns information about the Stream instance. | {
"resource": ""
} | ||
c19763 | train | // Time returns the current time in seconds for a lifespan of a stream.
// Starting and stopping the stream does not affect the passage of time. | {
"resource": ""
} | ||
c19764 | train | // AvailableToRead returns the number of frames that
// can be read from the stream without waiting. | {
"resource": ""
} | ||
c19765 | train | // AvailableToWrite returns the number of frames that
// can be written from the stream without waiting. | {
"resource": ""
} | ||
c19766 | train | // Read uses the buffer provided to OpenStream.
// The number of samples to read is determined by the size of the buffer. | {
"resource": ""
} | ||
c19767 | train | // Write uses the buffer provided to OpenStream.
// The number of samples to write is determined by the size of the buffer. | {
"resource": ""
} | ||
c19768 | train | // ConfigCreate create a config. | {
"resource": ""
} | ||
c19769 | train | // ConfigUpdate update a config. | {
"resource": ""
} | ||
c19770 | train | // ConfigInspect returns config information with raw data. | {
"resource": ""
} | ||
c19771 | train | // ConfigRemove remove a config. | {
"resource": ""
} | ||
c19772 | train | // Home creates an instance of HomeController | {
"resource": ""
} | ||
c19773 | train | // Services from compose-file types to engine API types | {
"resource": ""
} | ||
c19774 | train | // Checker check permission of user | {
"resource": ""
} | ||
c19775 | train | // Permiter is a middleware for validate data permission. | {
"resource": ""
} | ||
c19776 | train | // New creates a Dao instance. | {
"resource": ""
} | ||
c19777 | train | // Secret creates an instance of SecretController | {
"resource": ""
} | ||
c19778 | train | // NewPager returns a Pager instance which displays max 7 pages. | {
"resource": ""
} | ||
c19779 | train | // NodeList return all swarm nodes. | {
"resource": ""
} | ||
c19780 | train | // NodeCount return number of swarm nodes. | {
"resource": ""
} | ||
c19781 | train | // NodeRemove remove a swarm node from cluster. | {
"resource": ""
} | ||
c19782 | train | // NodeInspect return node information. | {
"resource": ""
} | ||
c19783 | train | // NodeUpdate update a node. | {
"resource": ""
} | ||
c19784 | train | // Service creates an instance of ServiceController | {
"resource": ""
} | ||
c19785 | train | // Get returns settings of swirl. If not found, default settings will be returned. | {
"resource": ""
} | ||
c19786 | train | // Network creates a NetworkController instance. | {
"resource": ""
} | ||
c19787 | train | // VolumeList return volumes on the host. | {
"resource": ""
} | ||
c19788 | train | // VolumeCreate create a volume. | {
"resource": ""
} | ||
c19789 | train | // VolumePrune remove all unused volumes. | {
"resource": ""
} | ||
c19790 | train | // VolumeInspectRaw return volume raw information. | {
"resource": ""
} | ||
c19791 | train | // ImageList return images on the host. | {
"resource": ""
} | ||
c19792 | train | // ImageInspect returns image information. | {
"resource": ""
} | ||
c19793 | train | // ImageRemove remove a image. | {
"resource": ""
} | ||
c19794 | train | // Template creates an instance of TemplateController | {
"resource": ""
} | ||
c19795 | train | // Node creates an instance of NodeController | {
"resource": ""
} | ||
c19796 | train | // Role creates an instance of RoleController | {
"resource": ""
} | ||
c19797 | train | // Registry creates an instance of RegistryController | {
"resource": ""
} | ||
c19798 | train | // Profile creates an instance of ProfileController | {
"resource": ""
} | ||
c19799 | train | // SecretList return all secrets. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.