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