_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c13600 | train | // Filesize returns file size this struct has. | {
"resource": ""
} | ||
c13601 | train | // Filename returns sitemap filename. | {
"resource": ""
} | ||
c13602 | train | // ReserveName returns that sets filename if this struct didn't keep filename and
// it returns reserved filename if this struct keeps filename also. | {
"resource": ""
} | ||
c13603 | train | // Write writes sitemap and index files that used from Adapter interface. | {
"resource": ""
} | ||
c13604 | train | // Summary outputs to generated file summary for console. | {
"resource": ""
} | ||
c13605 | train | // NewNamer returns created the Namer's pointer | {
"resource": ""
} | ||
c13606 | train | // String returns that combines filename base and file extension. | {
"resource": ""
} | ||
c13607 | train | // Next is going to go to next index for filename. | {
"resource": ""
} | ||
c13608 | train | // Previous is going to go to previous index for filename. | {
"resource": ""
} | ||
c13609 | train | // ToLowerString converts lower strings from including capital or upper strings. | {
"resource": ""
} | ||
c13610 | train | // spaceDecompose is separating strings for the SetBuilderElementValue | {
"resource": ""
} | ||
c13611 | train | // NewOptions returns the created the Options's pointer | {
"resource": ""
} | ||
c13612 | train | // SitemapsHost sets that arg from Sitemap.SitemapsHost method | {
"resource": ""
} | ||
c13613 | train | // IndexLocation returns the Location's pointer with
// set option to arguments for BuilderIndexfile struct. | {
"resource": ""
} | ||
c13614 | train | // Namer returns Namer's pointer cache. If didn't create that yet,
// It also returns created Namer's pointer. | {
"resource": ""
} | ||
c13615 | train | // gzip will create sitemap file as a gzip. | {
"resource": ""
} | ||
c13616 | train | // plain will create uncompressed file. | {
"resource": ""
} | ||
c13617 | train | // NewSitemapIndexURL and NewSitemapURL are almost the same behavior. | {
"resource": ""
} | ||
c13618 | train | // XML and sitemapIndexURL.XML are almost the same behavior. | {
"resource": ""
} | ||
c13619 | train | // NewBuilderFile returns the created the BuilderFile's pointer | {
"resource": ""
} | ||
c13620 | train | // Add method joins old bytes with creates bytes by it calls from Sitemap.Add method. | {
"resource": ""
} | ||
c13621 | train | // isFileCanFit checks bytes to bigger than consts values. | {
"resource": ""
} | ||
c13622 | train | // XMLContent will return an XML of the sitemap built | {
"resource": ""
} | ||
c13623 | train | // Write will write pooled bytes with header and footer to
// Location path for output sitemap file. | {
"resource": ""
} | ||
c13624 | train | // PrivateKeyToCurve25519 converts an ed25519 private key into a corresponding
// curve25519 private key such that the resulting curve25519 public key will
// equal the result from PublicKeyToCurve25519. | {
"resource": ""
} | ||
c13625 | train | // PublicKeyToCurve25519 converts an Ed25519 public key into the curve25519
// public key that would be generated from the same private key. | {
"resource": ""
} | ||
c13626 | train | // feBytesLess returns one if a <= b and zero otherwise. | {
"resource": ""
} | ||
c13627 | train | // RepresentativeToPublicKey converts a uniform representative value for a
// curve25519 public key, as produced by ScalarBaseMult, to a curve25519 public
// key. | {
"resource": ""
} | ||
c13628 | train | // equal returns 1 if b == c and 0 otherwise. | {
"resource": ""
} | ||
c13629 | train | // Verify returns true iff sig is a valid signature of message by publicKey. | {
"resource": ""
} | ||
c13630 | train | // Parse implements FlagParser.Parse interface | {
"resource": ""
} | ||
c13631 | train | // HelpCommandFn implements buildin help command function | {
"resource": ""
} | ||
c13632 | train | // HelpCommand returns a buildin help command | {
"resource": ""
} | ||
c13633 | train | // Daemon startup app as a daemon process, success if result from stderr has prefix successPrefix | {
"resource": ""
} | ||
c13634 | train | // ReadJSON reads data as a json structure into argv | {
"resource": ""
} | ||
c13635 | train | // ReadJSONFromFile is similar to ReadJSON, but read from file | {
"resource": ""
} | ||
c13636 | train | // ReadJSONConfigFromFile is similar to ReadJSONFromFile, but allows reading file from where the executable file resides as well | {
"resource": ""
} | ||
c13637 | train | // Decode implements cli.Decoder interface | {
"resource": ""
} | ||
c13638 | train | // Register registers a child command | {
"resource": ""
} | ||
c13639 | train | // RegisterFunc registers handler as child command | {
"resource": ""
} | ||
c13640 | train | // RegisterTree registers a command tree | {
"resource": ""
} | ||
c13641 | train | // RunWith runs the command with args and writer,httpMethods | {
"resource": ""
} | ||
c13642 | train | // Usage returns the usage string of command | {
"resource": ""
} | ||
c13643 | train | // Root returns command's ancestor | {
"resource": ""
} | ||
c13644 | train | // Route finds command full matching router | {
"resource": ""
} | ||
c13645 | train | // SubRoute finds command partial matching router | {
"resource": ""
} | ||
c13646 | train | // findChild finds child command by name | {
"resource": ""
} | ||
c13647 | train | // ListChildren returns all names of command children | {
"resource": ""
} | ||
c13648 | train | // ChildrenDescriptions returns all children's brief infos by one string | {
"resource": ""
} | ||
c13649 | train | // Suggestions returns all similar commands | {
"resource": ""
} | ||
c13650 | train | // SetReader replaces the native reader | {
"resource": ""
} | ||
c13651 | train | // Read implementes io.Reader | {
"resource": ""
} | ||
c13652 | train | // SetWriter replaces the native writer | {
"resource": ""
} | ||
c13653 | train | // Write implementes io.Writer interface | {
"resource": ""
} | ||
c13654 | train | // NewLog creates new logger | {
"resource": ""
} | ||
c13655 | train | // RegisterFlagParser registers FlagParserCreator by name | {
"resource": ""
} | ||
c13656 | train | // LaunchEditor launchs the specified editor with a random filename | {
"resource": ""
} | ||
c13657 | train | // NOpt returns num of options | {
"resource": ""
} | ||
c13658 | train | // Argv returns parsed args object | {
"resource": ""
} | ||
c13659 | train | // RootArgv returns parsed root args object | {
"resource": ""
} | ||
c13660 | train | // GetArgvList gets argv objects | {
"resource": ""
} | ||
c13661 | train | // GetArgvAt gets the i-th argv object | {
"resource": ""
} | ||
c13662 | train | // IsSet determins whether `flag` is set | {
"resource": ""
} | ||
c13663 | train | // FormValues returns parsed args as url.Values | {
"resource": ""
} | ||
c13664 | train | // Writer returns writer | {
"resource": ""
} | ||
c13665 | train | // String writes formatted string to writer | {
"resource": ""
} | ||
c13666 | train | // JSON writes json string of obj to writer | {
"resource": ""
} | ||
c13667 | train | // JSONIndent writes pretty json string of obj to writer | {
"resource": ""
} | ||
c13668 | train | // JSONIndentln writes pretty json string of obj end with "\n" to writer | {
"resource": ""
} | ||
c13669 | train | // Run runs a single command app | {
"resource": ""
} | ||
c13670 | train | // RunWithArgs is similar to Run, but with args instead of os.Args | {
"resource": ""
} | ||
c13671 | train | // Root registers forest for root and returns root | {
"resource": ""
} | ||
c13672 | train | // Tree creates a CommandTree | {
"resource": ""
} | ||
c13673 | train | // Parse parses args to object argv | {
"resource": ""
} | ||
c13674 | train | // Basename returns the file name without extension. | {
"resource": ""
} | ||
c13675 | train | // abortOn will quit on anticipated errors gracefully without stack trace | {
"resource": ""
} | ||
c13676 | train | // verbose will print info to stderr according to the verbose level setting | {
"resource": ""
} | ||
c13677 | train | // RegisterHTTP init HTTPRouters for command | {
"resource": ""
} | ||
c13678 | train | // ServeHTTP implements HTTP handler | {
"resource": ""
} | ||
c13679 | train | // ListenAndServeHTTP set IsServer flag with true and startup http service | {
"resource": ""
} | ||
c13680 | train | // Serve set IsServer with true and serve http with listeners | {
"resource": ""
} | ||
c13681 | train | // RPC runs the command from remote | {
"resource": ""
} | ||
c13682 | train | // InstallBashCompletion install bash_completion | {
"resource": ""
} | ||
c13683 | train | // Validate implements cli.Validator interface | {
"resource": ""
} | ||
c13684 | train | // New will generate a new NUID and properly initialize the prefix, sequential start, and sequential increment. | {
"resource": ""
} | ||
c13685 | train | // Generate the next NUID string from the global locked NUID instance. | {
"resource": ""
} | ||
c13686 | train | // Generate the next NUID string. | {
"resource": ""
} | ||
c13687 | train | // Resets the sequential portion of the NUID. | {
"resource": ""
} | ||
c13688 | train | // AddCmd adds cmd as a subcommand. | {
"resource": ""
} | ||
c13689 | train | // Children returns the subcommands of c. | {
"resource": ""
} | ||
c13690 | train | // HelpText returns the computed help of the command and its subcommands. | {
"resource": ""
} | ||
c13691 | train | // findChildCmd returns the subcommand with matching name or alias. | {
"resource": ""
} | ||
c13692 | train | // FindCmd finds the matching Cmd for args.
// It returns the Cmd and the remaining args. | {
"resource": ""
} | ||
c13693 | train | // NewWithConfig creates a new shell with custom readline config. | {
"resource": ""
} | ||
c13694 | train | // NewWithReadline creates a new shell with a custom readline instance. | {
"resource": ""
} | ||
c13695 | train | // Active tells if the shell is active. i.e. Start is previously called. | {
"resource": ""
} | ||
c13696 | train | // CustomCompleter allows use of custom implementation of readline.Autocompleter. | {
"resource": ""
} | ||
c13697 | train | // SetHistoryPath sets where readlines history file location. Use an empty
// string to disable history file. It is empty by default. | {
"resource": ""
} | ||
c13698 | train | // SetHomeHistoryPath is a convenience method that sets the history path
// in user's home directory. | {
"resource": ""
} | ||
c13699 | train | // SetPager sets the pager and its arguments for paged output | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.