_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c15500 | train | // CollectWkrSizeOption sets the collector worker pool size
// and returns the previous collector worker pool state. | {
"resource": ""
} | ||
c15501 | train | // ProcessWkrSizeOption sets the processor worker pool size
// and return the previous processor worker pool state. | {
"resource": ""
} | ||
c15502 | train | // PublishWkrSizeOption sets the publisher worker pool size
// and returns the previous previous publisher worker pool state. | {
"resource": ""
} | ||
c15503 | train | // Start workManager's loop just handles queuing errors. | {
"resource": ""
} | ||
c15504 | train | // Stop closes the collector queue and worker | {
"resource": ""
} | ||
c15505 | train | // Work dispatches jobs to worker pools for processing.
//
// Returns a queued job to the caller, which will be
// completed by the work queue aubsystem. | {
"resource": ""
} | ||
c15506 | train | // AddCollectWorker adds a new worker to
// the collector worker pool | {
"resource": ""
} | ||
c15507 | train | // AddPublishWorker adds a new worker to
// the publisher worker pool | {
"resource": ""
} | ||
c15508 | train | // AddProcessWorker adds a new worker to
// the processor worker pool | {
"resource": ""
} | ||
c15509 | train | // sendToWorker is the handler given to the queue.
// it dispatches work to the worker pool. | {
"resource": ""
} | ||
c15510 | train | // UnmarshalJSON unmarshals JSON into a ConfigPolicy | {
"resource": ""
} | ||
c15511 | train | // MarshalJSON marshals a ConfigPolicy into JSON | {
"resource": ""
} | ||
c15512 | train | // Adds a ConfigPolicyNode at the provided namespace. | {
"resource": ""
} | ||
c15513 | train | // Returns a ConfigPolicyNode that is a merged version of the namespace provided. | {
"resource": ""
} | ||
c15514 | train | // NewMetricType returns a Constructor | {
"resource": ""
} | ||
c15515 | train | // SwapMetricContentType swaps a payload with one content type to another one. | {
"resource": ""
} | ||
c15516 | train | // Read response body into a byte slice. | {
"resource": ""
} | ||
c15517 | train | // Read response body into string. | {
"resource": ""
} | ||
c15518 | train | // Prepare a request. | {
"resource": ""
} | ||
c15519 | train | // Prepare a redirect policy. | {
"resource": ""
} | ||
c15520 | train | // Prepare a cookie jar. | {
"resource": ""
} | ||
c15521 | train | // Create an HTTP client. | {
"resource": ""
} | ||
c15522 | train | // Set default options and headers. | {
"resource": ""
} | ||
c15523 | train | // Begin marks the begining of a request, it's necessary for concurrent
// requests. | {
"resource": ""
} | ||
c15524 | train | // Reset the client state so that other requests can begin. | {
"resource": ""
} | ||
c15525 | train | // Temporarily specify an option of the current request. | {
"resource": ""
} | ||
c15526 | train | // Temporarily specify multiple options of the current request. | {
"resource": ""
} | ||
c15527 | train | // Temporarily specify a header of the current request. | {
"resource": ""
} | ||
c15528 | train | // Temporarily specify multiple headers of the current request. | {
"resource": ""
} | ||
c15529 | train | // Specify cookies of the current request. | {
"resource": ""
} | ||
c15530 | train | // Start a request, and get the response.
//
// Usually we just need the Get and Post method. | {
"resource": ""
} | ||
c15531 | train | // The HEAD request | {
"resource": ""
} | ||
c15532 | train | // The PUT request | {
"resource": ""
} | ||
c15533 | train | // The TRACE request | {
"resource": ""
} | ||
c15534 | train | // Get cookies of the client jar. | {
"resource": ""
} | ||
c15535 | train | // Get cookie value of a specified cookie name. | {
"resource": ""
} | ||
c15536 | train | // Implement the error interface | {
"resource": ""
} | ||
c15537 | train | // Check a timeout error. | {
"resource": ""
} | ||
c15538 | train | // Check a redirect error | {
"resource": ""
} | ||
c15539 | train | // Add params to a url string. | {
"resource": ""
} | ||
c15540 | train | // Add a file to a multipart writer. | {
"resource": ""
} | ||
c15541 | train | // Convert options with string keys to desired format. | {
"resource": ""
} | ||
c15542 | train | // Does the params contain a file? | {
"resource": ""
} | ||
c15543 | train | // Is opt in options? | {
"resource": ""
} | ||
c15544 | train | // Parse the Map, return options and headers | {
"resource": ""
} | ||
c15545 | train | // AddDanishHolidays adds all Danish holidays to the Calendar | {
"resource": ""
} | ||
c15546 | train | // AddBritishHolidays adds all British holidays to the Calender | {
"resource": ""
} | ||
c15547 | train | // NewYearsDay is the 1st of January unless the 1st is a Saturday or Sunday
// in which case it occurs on the following Monday. | {
"resource": ""
} | ||
c15548 | train | // AddNewZealandHoliday adds all New Zeland holidays | {
"resource": ""
} | ||
c15549 | train | // AddAustralianHolidays adds all Australian holidays | {
"resource": ""
} | ||
c15550 | train | // closestMonday returns the closest Monday from a giving date | {
"resource": ""
} | ||
c15551 | train | // AddUsHolidays adds all US holidays to the Calendar | {
"resource": ""
} | ||
c15552 | train | // AddNorwegianHolidays adds all Norwegian holidays to Calendar | {
"resource": ""
} | ||
c15553 | train | // NewHoliday creates a new Holiday instance for an exact day of a month. | {
"resource": ""
} | ||
c15554 | train | // NewHolidayExact creates a new Holiday instance for an exact day of a month and year. | {
"resource": ""
} | ||
c15555 | train | // NewHolidayFloat creates a new Holiday instance for an offset-based day of
// a month. | {
"resource": ""
} | ||
c15556 | train | // matches determines whether the given date is the one referred to by the
// Holiday. | {
"resource": ""
} | ||
c15557 | train | // AddSwedishHolidays adds all Swedish holidays to the Calendar | {
"resource": ""
} | ||
c15558 | train | // AddBelgiumHolidays adds all Belgium holidays to the Calendar | {
"resource": ""
} | ||
c15559 | train | // AddEcbHolidays adds all ECB Target2 holidays to the calendar | {
"resource": ""
} | ||
c15560 | train | // AddDutchHolidays adds all Dutch holidays to the Calendar | {
"resource": ""
} | ||
c15561 | train | // IsWeekend reports whether the given date falls on a weekend. | {
"resource": ""
} | ||
c15562 | train | // MonthStart reports the starting day of the month in t. The time portion is
// unchanged. | {
"resource": ""
} | ||
c15563 | train | // NewCalendar creates a new Calendar with no holidays defined
// and work days of Monday through Friday. | {
"resource": ""
} | ||
c15564 | train | // AddHoliday adds a holiday to the calendar's list. | {
"resource": ""
} | ||
c15565 | train | // SetWorkday changes the given day's status as a standard working day | {
"resource": ""
} | ||
c15566 | train | // IsHoliday reports whether a given date is a holiday. It does not account
// for the observation of holidays on alternate days. | {
"resource": ""
} | ||
c15567 | train | // countWorkdays reports the number of workdays from the given date to the end
// of the month. | {
"resource": ""
} | ||
c15568 | train | // Workdays reports the total number of workdays for the given year and month. | {
"resource": ""
} | ||
c15569 | train | // WorkdaysRemain reports the total number of remaining workdays in the month
// for the given date. | {
"resource": ""
} | ||
c15570 | train | // CountHolidayHoursWithOffset returns the number of working hours in a range starting from the consumed start date
// to the end date set by the offset | {
"resource": ""
} | ||
c15571 | train | //CountWorkdays return amount of workdays between start and end dates | {
"resource": ""
} | ||
c15572 | train | // AddSkipNonWorkdays returns start time plus d woking duration | {
"resource": ""
} | ||
c15573 | train | // NewWithDicPath create a tokenizer with a dictionary that loads from path. | {
"resource": ""
} | ||
c15574 | train | // Tokenize analyze a sentence in standard tokenize mode. | {
"resource": ""
} | ||
c15575 | train | // Analyze tokenizes a sentence in the specified mode. | {
"resource": ""
} | ||
c15576 | train | // Dot returns morphs of a sentence and exports a lattice graph to dot format in standard tokenize mode. | {
"resource": ""
} | ||
c15577 | train | // ScanSentences is a split function for a bufio.Scanner that returns each sentence of text. | {
"resource": ""
} | ||
c15578 | train | // ScanSentences is a split function for a Scanner that returns each sentence of text. | {
"resource": ""
} | ||
c15579 | train | // BuildIndexTable constructs a index table from keywords. | {
"resource": ""
} | ||
c15580 | train | // Search finds the given keyword and returns the id if found. | {
"resource": ""
} | ||
c15581 | train | // WriteTo saves a index table. | {
"resource": ""
} | ||
c15582 | train | // ReadIndexTable loads a index table. | {
"resource": ""
} | ||
c15583 | train | //OptionCheck receives a slice of args and returns an error if it was not successfully parsed | {
"resource": ""
} | ||
c15584 | train | // Run receives the slice of args and executes the lattice tool | {
"resource": ""
} | ||
c15585 | train | // LoadMorphSlice loads morph data from io.Reader | {
"resource": ""
} | ||
c15586 | train | //Usage prints to stdout information about the tool | {
"resource": ""
} | ||
c15587 | train | // NewUserDicRecords loads user dictionary data from io.Reader. | {
"resource": ""
} | ||
c15588 | train | // NewUserDic builds a user dictionary. | {
"resource": ""
} | ||
c15589 | train | // CharacterCategory returns the category of a rune. | {
"resource": ""
} | ||
c15590 | train | // Load loads a dictionary from a file. | {
"resource": ""
} | ||
c15591 | train | // LoadSimple loads a dictionary from a file without contents. | {
"resource": ""
} | ||
c15592 | train | // WriteTo saves a POS table. | {
"resource": ""
} | ||
c15593 | train | // ReadPOSTable loads a POS table. | {
"resource": ""
} | ||
c15594 | train | // Add adds part of speech item to the POS control table and returns it's id. | {
"resource": ""
} | ||
c15595 | train | // List returns a list whose index is POS ID and value is its name. | {
"resource": ""
} | ||
c15596 | train | // BuildWithIDs constructs a double array from given keywords and ids. | {
"resource": ""
} | ||
c15597 | train | // Find searches TRIE by a given keyword and returns the id if found. | {
"resource": ""
} | ||
c15598 | train | // PrefixSearch returns the longest common prefix keyword in an input if found. | {
"resource": ""
} | ||
c15599 | train | // WriteTo saves a double array. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.