_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c171700 | // UnmarshalJSON sets the Date from JSON | |
c171701 | // UnmarshalEasyJSON sets the Date from a easyjson.Lexer | |
c171702 | // SetBSON sets the Date from raw bson data | |
c171703 | // DeepCopy copies the receiver into a new Date. | |
c171704 | // DateTimeValue returns the value of the DateTime pointer passed in or
// the default value if the pointer is nil. | |
c171705 | // NewSeededFormats creates a new formats registry | |
c171706 | // Add adds a new format, return true if this was a new item instead of a replacement | |
c171707 | // GetType gets the type for the specified name | |
c171708 | // DelByName removes the format by the specified name, returns true when an item was actually removed | |
c171709 | // DelByType removes the specified format, returns true when an item was actually removed | |
c171710 | // ContainsName returns true if this registry contains the specified name | |
c171711 | // ContainsFormat returns true if this registry contains the specified format | |
c171712 | // Parse a string into the appropriate format representation type.
//
// E.g. parsing a string a "date" will return a Date type. | |
c171713 | // Sequence returns a filter that is the concatenation of all filter arguments.
// The output of a filter is fed as input to the next filter. | |
c171714 | // Contents returns a slice that contains all items that are
// the output of filters. | |
c171715 | // Items emits items. | |
c171716 | // Repeat emits n copies of s. | |
c171717 | // Numbers emits the integers x..y | |
c171718 | // Uniq squashes adjacent identical items in arg.In into a single output. | |
c171719 | // UniqWithCount squashes adjacent identical items in arg.In into a single
// output prefixed with the count of identical items followed by a space. | |
c171720 | // Reverse yields items in the reverse of the order it received them. | |
c171721 | // SampleWithSeed picks n pseudo-randomly chosen input items. It uses
// seed as the argument for its random number generation and therefore
// different executions of SampleWithSeed with the same arguments will
// chose the same items. | |
c171722 | // First yields the first n items that it receives. | |
c171723 | // Last yields the last n items that it receives. | |
c171724 | // DropLast yields all items except for the last n items that it receives. | |
c171725 | // Text sets the next sort key to sort by column n in lexicographic
// order. Column 0 means the entire string. Items that do not have
// column n sort to the front. | |
c171726 | // TextDecreasing sets the next sort key to sort by column n in
// reverse lexicographic order. Column 0 means the entire
// string. Items that do not have column n sort to the end. | |
c171727 | // Num sets the next sort key to sort by column n in numeric
// order. Column 0 means the entire string. Items that do not have
// column n sort to the front. Items whose column n is not a number
// sort to the end. | |
c171728 | // NumDecreasing sets the next sort key to sort by column n in reverse
// numeric order. Column 0 means the entire string. Items that do not
// have column n sort to the end. Items whose column n is not a
// number sort to the front. | |
c171729 | // By adds a sort key to sort by the output of the specified less function. | |
c171730 | // flipLast reverses the comparison order for the last sort key. | |
c171731 | // RunFilter sorts items by the specified sorting keys. It implements
// the Filter interface. | |
c171732 | // RunFilter yields contents of a filesystem tree. It implements the
// Filter interface. | |
c171733 | // Grep emits every input x that matches the regular expression r. | |
c171734 | // GrepNot emits every input x that does not match the regular expression r. | |
c171735 | // LimitArgs adjusts x so that no more than n input items are passed to
// a single command execution. If not called, an unspecified number
// of input items may be handled via a single command execution. | |
c171736 | // Cat emits each line from each named file in order. If no arguments
// are specified, Cat copies its input to its output. | |
c171737 | // ReadLines emits each line found in reader. | |
c171738 | // Return ```true``` if the line is a comment. | |
c171739 | // Return a new instance of ```HostsLine```. | |
c171740 | // Return ```true``` if hosts file is writable. | |
c171741 | // Flush any changes made to hosts file. | |
c171742 | // Add an entry to the hosts file. | |
c171743 | // Remove an entry from the hosts file. | |
c171744 | // Return a new instance of ``Hosts``. | |
c171745 | // NewOpenAPISchemaFor returns the OpenAPISchema object ready to validate objects of given GroupVersion | |
c171746 | // Validate is the primary entrypoint into this class | |
c171747 | // FlattenToV1 expands any List-type objects into their members, and
// cooerces everything to v1.Unstructured. Panics if coercion
// encounters an unexpected object type. | |
c171748 | // ParseVersion parses version.Info into a ServerVersion struct | |
c171749 | // FetchVersion fetches version information from discovery client, and parses | |
c171750 | // SetMetaDataAnnotation sets an annotation value | |
c171751 | // SetMetaDataLabel sets an annotation value | |
c171752 | // ResourceNameFor returns a lowercase plural form of a type, for
// human messages. Returns lowercased kind if discovery lookup fails. | |
c171753 | // FqName returns "namespace.name" | |
c171754 | // String implements the Stringer interface | |
c171755 | // RegistryRepoName returns the "repository" as used in the registry URL | |
c171756 | // RegistryURL returns the deduced base URL of the registry for this image | |
c171757 | // ParseImageName parses a docker image into an ImageName struct. | |
c171758 | // NewRegistryResolver returns a resolver that looks up a docker
// registry to resolve digests | |
c171759 | // NewLogFormatter creates a new log.Formatter customised for writer | |
c171760 | // NewMemcachedDiscoveryClient creates a new DiscoveryClient that
// caches results in memory | |
c171761 | // ClientForResource returns the ResourceClient for a given object | |
c171762 | // Formats the supplied Diff as a unified-diff-like text with infinite context and optionally colorizes it. | |
c171763 | // See also feature request for golang reflect pkg at | |
c171764 | // Arbitrary numbers used to do a simple topological sort of resources. | |
c171765 | // New Lexer from the input string | |
c171766 | // NextToken from the source input | |
c171767 | // InnerText gets the raw string representation of the block's contents. | |
c171768 | // Parse the string and return an AST or an error | |
c171769 | // NewHelperMap containing all of the "default" helpers from "plush.Helpers". | |
c171770 | // AddMany helpers at the same time. | |
c171771 | // RunScript allows for "pure" plush scripts to be executed. | |
c171772 | // NewTemplate from the input string. Adds all of the
// global helper functions from "Helpers", this function does not
// cache the template. | |
c171773 | // Parse the template this can be called many times
// as a successful result is cached and is used on subsequent
// uses. | |
c171774 | // Render a string with the current context | |
c171775 | // BlockWith executes the block of template associated with
// the helper, think the block inside of an "if" or "each"
// statement, but with it's own context. | |
c171776 | // Export all the known values in the context.
// Note this can't reach up into other implemenations
// of context.Context. | |
c171777 | // NewContextWithContext returns a new plush.Context given another context | |
c171778 | // Aggregate merges similar goroutines into buckets.
//
// The buckets are ordered in library provided order of relevancy. You can
// reorder at your chosing. | |
c171779 | // less does reverse sort. | |
c171780 | // Private stuff. | |
c171781 | // hasPathPrefix returns true if any of s is the prefix of p. | |
c171782 | // getFiles returns all the source files deduped and ordered. | |
c171783 | // splitPath splits a path into its components.
//
// The first item has its initial path separator kept. | |
c171784 | // isFile returns true if the path is a valid file. | |
c171785 | // rootedIn returns a root if the file split in parts is rooted in root. | |
c171786 | // findRoots sets member GOROOT and GOPATHs. | |
c171787 | // String is the fully qualified function name.
//
// Sadly Go is a bit confused when the package name doesn't match the directory
// containing the source file and will use the directory name instead of the
// real package name. | |
c171788 | // Name is the naked function name. | |
c171789 | // PkgName is the package name for this function reference. | |
c171790 | // IsExported returns true if the function is exported. | |
c171791 | // IsPtr returns true if we guess it's a pointer. It's only a guess, it can be
// easily be confused by a bitmask. | |
c171792 | // equal returns true only if both arguments are exactly equal. | |
c171793 | // similar returns true if the two Args are equal or almost but not quite
// equal. | |
c171794 | // merge merges two similar Args, zapping out differences. | |
c171795 | // equal returns true only if both calls are exactly equal. | |
c171796 | // similar returns true if the two Call are equal or almost but not quite
// equal. | |
c171797 | // merge merges two similar Call, zapping out differences. | |
c171798 | // PkgSrc is one directory plus the file name of the source file. | |
c171799 | // updateLocations initializes LocalSrcPath and IsStdlib. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.