_id stringlengths 2 7 | title stringclasses 1
value | partition stringclasses 3
values | text stringlengths 6 2.61k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
c12300 | train | // SetDestination sets the destination.
// If called during `Run`, this method will block. | {
"resource": ""
} | ||
c12301 | train | // Run starts the processing. Mutator methods for `Pipeline` cannot be
// called while `Run` is running. | {
"resource": ""
} | ||
c12302 | train | // Add adds a new line to the selection. If the line already
// exists in the selection, it is silently ignored | {
"resource": ""
} | ||
c12303 | train | // Remove removes the specified line from the selection | {
"resource": ""
} | ||
c12304 | train | // NewAnchorSettings creates a new AnchorSetting struct. Panics if
// an unknown VerticalAnchor is sent | {
"resource": ""
} | ||
c12305 | train | // AnchorPosition returns the starting y-offset, based on the
// anchor type and offset | {
"resource": ""
} | ||
c12306 | train | // NewUserPrompt creates a new UserPrompt struct | {
"resource": ""
} | ||
c12307 | train | // NewStatusBar creates a new StatusBar struct | {
"resource": ""
} | ||
c12308 | train | // NewListArea creates a new ListArea struct | {
"resource": ""
} | ||
c12309 | train | // NewBottomUpLayout creates a new Layout in bottom-up format | {
"resource": ""
} | ||
c12310 | train | // CalculatePage calculates which page we're displaying | {
"resource": ""
} | ||
c12311 | train | // DrawScreen draws the entire screen | {
"resource": ""
} | ||
c12312 | train | // MovePage scrolls the screen | {
"resource": ""
} | ||
c12313 | train | // horizontalScroll scrolls screen horizontal | {
"resource": ""
} | ||
c12314 | train | // TtyReady checks if the tty is ready to go | {
"resource": ""
} | ||
c12315 | train | // TtyTerm restores any state, if necessary | {
"resource": ""
} | ||
c12316 | train | // NewRegexp creates a new regexp based filter | {
"resource": ""
} | ||
c12317 | train | // SmartCase turns ON the ignore-case flag in the regexp
// if the query contains a upper-case character | {
"resource": ""
} | ||
c12318 | train | // NewRaw creates a new Raw. The `enableSep` flag tells
// it if we should search for a null character to split the
// string to display and the string to emit upon selection of
// of said line | {
"resource": ""
} | ||
c12319 | train | // Less implements the btree.Item interface | {
"resource": ""
} | ||
c12320 | train | // DisplayString returns the string to be displayed | {
"resource": ""
} | ||
c12321 | train | // NewConfig creates a new Config | {
"resource": ""
} | ||
c12322 | train | // ReadFilename reads the config from the given file, and
// does the appropriate processing, if any | {
"resource": ""
} | ||
c12323 | train | // UnmarshalJSON satisfies json.RawMessage. | {
"resource": ""
} | ||
c12324 | train | // LocateRcfile attempts to find the config file in various locations | {
"resource": ""
} | ||
c12325 | train | // This flusher is run in a separate goroutine so that the filter can
// run separately from accepting incoming messages | {
"resource": ""
} | ||
c12326 | train | // Loop keeps watching for incoming queries, and upon receiving
// a query, spawns a goroutine to do the heavy work. It also
// checks for previously running queries, so we can avoid
// running many goroutines doing the grep at the same time | {
"resource": ""
} | ||
c12327 | train | // Crop returns a new Buffer whose contents are
// bound within the given range | {
"resource": ""
} | ||
c12328 | train | // Setup reads from the input os.File. | {
"resource": ""
} | ||
c12329 | train | // Reset resets the state of the source object so that it
// is ready to feed the filters | {
"resource": ""
} | ||
c12330 | train | // GetScheduleTime get scheduled time | {
"resource": ""
} | ||
c12331 | train | // Add a job to cron queue | {
"resource": ""
} | ||
c12332 | train | // Run a job from cron queue | {
"resource": ""
} | ||
c12333 | train | // Kill a job from cron queue | {
"resource": ""
} | ||
c12334 | train | // Remove a job from cron queue | {
"resource": ""
} | ||
c12335 | train | // New create Worker with Config | {
"resource": ""
} | ||
c12336 | train | // ConfigureQorResourceBeforeInitialize a method used to config Worker for qor admin | {
"resource": ""
} | ||
c12337 | train | // RegisterJob register a job into Worker | {
"resource": ""
} | ||
c12338 | train | // GetRegisteredJob register a job into Worker | {
"resource": ""
} | ||
c12339 | train | // GetJob get job with id | {
"resource": ""
} | ||
c12340 | train | // AddJob add job to worker | {
"resource": ""
} | ||
c12341 | train | // RunJob run job with job id | {
"resource": ""
} | ||
c12342 | train | // KillJob kill job with job id | {
"resource": ""
} | ||
c12343 | train | // RemoveJob remove job with job id | {
"resource": ""
} | ||
c12344 | train | // NewStruct initialize job struct | {
"resource": ""
} | ||
c12345 | train | // GetQueue get defined job's queue | {
"resource": ""
} | ||
c12346 | train | // New initialize Kubernetes | {
"resource": ""
} | ||
c12347 | train | // GetCurrentPod get current pod | {
"resource": ""
} | ||
c12348 | train | // GetJobSpec get job spec | {
"resource": ""
} | ||
c12349 | train | // Add a job to k8s queue | {
"resource": ""
} | ||
c12350 | train | // Run a job from k8s queue | {
"resource": ""
} | ||
c12351 | train | // Kill a job from k8s queue | {
"resource": ""
} | ||
c12352 | train | // Scan used to scan value from database into itself | {
"resource": ""
} | ||
c12353 | train | // Value used to read value from itself and save it into databae | {
"resource": ""
} | ||
c12354 | train | // SetStatus set job's status to a qor job instance | {
"resource": ""
} | ||
c12355 | train | // SetJob set `Job` for a qor job instance | {
"resource": ""
} | ||
c12356 | train | // GetJob get predefined job for a qor job instance | {
"resource": ""
} | ||
c12357 | train | // GetSerializableArgumentResource get job's argument's resource | {
"resource": ""
} | ||
c12358 | train | // SetProgress set qor job's progress | {
"resource": ""
} | ||
c12359 | train | // SetProgressText set qor job's progress text | {
"resource": ""
} | ||
c12360 | train | // AddLog add a log to qor job | {
"resource": ""
} | ||
c12361 | train | // AddResultsRow add a row of process results to a job | {
"resource": ""
} | ||
c12362 | train | // ParseChannelSizeFlag attempts to parse the "channel_size" flag. | {
"resource": ""
} | ||
c12363 | train | // Help prints the requested help | {
"resource": ""
} | ||
c12364 | train | // InitializeDriver attempts to initialize the driver. | {
"resource": ""
} | ||
c12365 | train | // InitializeCommands initializes the available commands with the given storage
// instance. | {
"resource": ""
} | ||
c12366 | train | // Eval of the command line version tool. This allows injecting multiple
// drivers. | {
"resource": ""
} | ||
c12367 | train | // Run executes the main of the command line tool. | {
"resource": ""
} | ||
c12368 | train | // Name returns the ID of the backend being used. | {
"resource": ""
} | ||
c12369 | train | // Version returns the version of the driver implementation. | {
"resource": ""
} | ||
c12370 | train | // NewGraph creates a new graph. Creating an already existing graph
// should return an error. | {
"resource": ""
} | ||
c12371 | train | // ID returns the id for this graph. | {
"resource": ""
} | ||
c12372 | train | // AddTriples adds the triples to the storage. Adding a triple that already
// exists should not fail. | {
"resource": ""
} | ||
c12373 | train | // Objects pushes to the provided channel the objects for the given object and
// predicate. The function does not return immediately.
//
// Given a subject and a predicate, this method retrieves the objects of
// triples that match them. By default, if does not limit the maximum number
// of possible objects returned,... | {
"resource": ""
} | ||
c12374 | train | // Subject pushes to the provided channel the subjects for the give predicate
// and object. The function does not return immediately. The caller is
// expected to detach them into a go routine.
//
// Given a predicate and an object, this method retrieves the subjects of
// triples that matches them. By default, it doe... | {
"resource": ""
} | ||
c12375 | train | // PredicatesForSubjectAndObject pushes to the provided channel all predicates
// available for the given subject and object. The function does not return
// immediately. The caller is expected to detach them into a go routine.
//
// If the lookup options provide a max number of elements the function will
// return a s... | {
"resource": ""
} | ||
c12376 | train | // TriplesForSubject pushes to the provided channel all triples available for
// the given subject. The function does not return immediately. The caller
// is expected to detach them into a go routine.
//
// If the lookup options provide a max number of elements the function will
// return a sample of the available tri... | {
"resource": ""
} | ||
c12377 | train | // Execute creates the indicated graphs. | {
"resource": ""
} | ||
c12378 | train | // Execute inserts the provided data into the indicated graphs. | {
"resource": ""
} | ||
c12379 | train | // newQueryPlan returns a new query plan ready to be executed. | {
"resource": ""
} | ||
c12380 | train | // processClause retrieves the triples for the provided triple given the
// information available. | {
"resource": ""
} | ||
c12381 | train | // getBoundValueForComponent return the unique bound value if available on
// the provided row. | {
"resource": ""
} | ||
c12382 | train | // specifyClauseWithTable runs the clause, but it specifies it further based on
// the current row being processed. | {
"resource": ""
} | ||
c12383 | train | // cellToObject returns an object for the given cell. | {
"resource": ""
} | ||
c12384 | train | // processGraphPattern process the query graph pattern to retrieve the
// data from the specified graphs. | {
"resource": ""
} | ||
c12385 | train | // orderBy takes the resulting table and sorts its contents according to the
// specifications of the ORDER BY clause. | {
"resource": ""
} | ||
c12386 | train | // having runs the filtering based on the having clause if needed. | {
"resource": ""
} | ||
c12387 | train | // limit truncates the table if the limit clause if available. | {
"resource": ""
} | ||
c12388 | train | // Execute queries the indicated graphs. | {
"resource": ""
} | ||
c12389 | train | // Execute the show statement. | {
"resource": ""
} | ||
c12390 | train | // New create a new executable plan given a semantic BQL statement. | {
"resource": ""
} | ||
c12391 | train | // NewLLk creates a LLk structure for the given string to parse and the
// indicated k lookahead. | {
"resource": ""
} | ||
c12392 | train | // appendNextToken tries to append a new token. If not tokens are available
// it appends ItemEOF token. | {
"resource": ""
} | ||
c12393 | train | // Peek returns the token for the k look ahead. It will return nil and failed
// fail with an error if the provided k is bigger than the declared look ahead
// on creation. | {
"resource": ""
} | ||
c12394 | train | // CanAccept returns true if the provided token matches the current on being
// processed, false otherwise. | {
"resource": ""
} | ||
c12395 | train | // Consume will consume the current token and move to the next one if it matches
// the provided token, false otherwise. | {
"resource": ""
} | ||
c12396 | train | // TrackDuration measure the duration of the run time function using the
// wall clock. You should not consider the returned duration in the presence
// or an error since it will likely have shortcut the execution of the
// function being executed. | {
"resource": ""
} | ||
c12397 | train | // RepetitionDurationStats extracts some duration stats by repeatedly execution
// and measuring runtime. Returns the mean and deviation of the run duration of
// the provided function. If an error is return by the function it will shortcut
// the execution and return just the error. | {
"resource": ""
} | ||
c12398 | train | // RunBenchmarkBatterySequentially runs all the bench entries and returns the
// timing results. | {
"resource": ""
} | ||
c12399 | train | // RunBenchmarkBatteryConcurrently runs all the bench entries and returns the
// timing results concurrently. The benchmarks will all be run concurrently. | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.