_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c14500
train
// SetWindowsIgnoreFlushesDuringBoot sets g.Config.Windows.IgnoreFlushesDuringBoot.
{ "resource": "" }
c14501
train
// AddWindowsLayerFolders adds layer folders into g.Config.Windows.LayerFolders.
{ "resource": "" }
c14502
train
// AddWindowsDevices adds or sets g.Config.Windwos.Devices
{ "resource": "" }
c14503
train
// SetWindowsNetwork sets g.Config.Windows.Network.
{ "resource": "" }
c14504
train
// SetWindowsNetworkAllowUnqualifiedDNSQuery sets g.Config.Windows.Network.AllowUnqualifiedDNSQuery
{ "resource": "" }
c14505
train
// SetWindowsNetworkNamespace sets g.Config.Windows.Network.NetworkNamespace
{ "resource": "" }
c14506
train
// SetWindowsResourcesCPU sets g.Config.Windows.Resources.CPU.
{ "resource": "" }
c14507
train
// SetWindowsResourcesMemoryLimit sets g.Config.Windows.Resources.Memory.Limit.
{ "resource": "" }
c14508
train
// SetWindowsResourcesStorage sets g.Config.Windows.Resources.Storage.
{ "resource": "" }
c14509
train
// SetWindowsServicing sets g.Config.Windows.Servicing.
{ "resource": "" }
c14510
train
// ValidateLinuxResourcesDevices validates linux.resources.devices.
{ "resource": "" }
c14511
train
// IsAncestor returns true when pathB is an strict ancestor of pathA, // and false where the paths are equal or pathB is outside of pathA. // Paths that are not absolute will be made absolute with Abs.
{ "resource": "" }
c14512
train
// ValidateLinuxResourcesNetwork validates linux.resources.network.
{ "resource": "" }
c14513
train
// ValidateLinuxResourcesMemory validates linux.resources.memory.
{ "resource": "" }
c14514
train
// ParseLevel takes a string level and returns the RFC 2119 compliance level constant.
{ "resource": "" }
c14515
train
// String takes a RFC 2119 compliance level constant and returns a string representation.
{ "resource": "" }
c14516
train
// Error returns the error message with specification reference.
{ "resource": "" }
c14517
train
// NewRuntime create a runtime by command and the bundle directory
{ "resource": "" }
c14518
train
// SetConfig creates a 'config.json' by the generator
{ "resource": "" }
c14519
train
// ReadStandardStreams collects content from the stdout and stderr buffers.
{ "resource": "" }
c14520
train
// State a container information
{ "resource": "" }
c14521
train
// Kill a container
{ "resource": "" }
c14522
train
// Delete a container
{ "resource": "" }
c14523
train
// Clean deletes the container. If removeBundle is set, the bundle // directory is removed after the container is deleted successfully or, if // forceRemoveBundle is true, after the deletion attempt regardless of // whether it was successful or not.
{ "resource": "" }
c14524
train
// NewRFCErrorOrPanic creates an rfc2119.Error referencing a spec // violation and panics on failure. This is handy for situations // where you can't be bothered to check NewRFCError for failure.
{ "resource": "" }
c14525
train
// SplitLevel removes RFC 2119 errors with a level less than 'level' // from the source error. If the source error is not a multierror, it // is returned unchanged.
{ "resource": "" }
c14526
train
// ParseSyscallFlag takes a SyscallOpts struct and the seccomp configuration // and sets the new syscall rule accordingly
{ "resource": "" }
c14527
train
// ParseDefaultAction sets the default action of the seccomp configuration // and then removes any rules that were already specified with this action
{ "resource": "" }
c14528
train
// ParseDefaultActionForce simply sets the default action of the seccomp configuration
{ "resource": "" }
c14529
train
// NewValidator creates a Validator
{ "resource": "" }
c14530
train
// NewValidatorFromPath creates a Validator with specified bundle path
{ "resource": "" }
c14531
train
// CheckAll checks all parts of runtime bundle
{ "resource": "" }
c14532
train
// JSONSchemaURL returns the URL for the JSON Schema specifying the // configuration format. It consumes configSchemaTemplate, but we // provide it as a function to isolate consumers from inconsistent // naming as runtime-spec evolves.
{ "resource": "" }
c14533
train
// CheckJSONSchema validates the configuration against the // runtime-spec JSON Schema, using the version of the schema that // matches the configuration's declared version.
{ "resource": "" }
c14534
train
// CheckSemVer checks v.spec.Version
{ "resource": "" }
c14535
train
// CheckHooks check v.spec.Hooks
{ "resource": "" }
c14536
train
// CheckProcess checks v.spec.Process
{ "resource": "" }
c14537
train
// CheckCapabilities checks v.spec.Process.Capabilities
{ "resource": "" }
c14538
train
// CheckRlimits checks v.spec.Process.Rlimits
{ "resource": "" }
c14539
train
// CheckMounts checks v.spec.Mounts
{ "resource": "" }
c14540
train
// CheckPlatform checks v.platform
{ "resource": "" }
c14541
train
// CheckLinuxResources checks v.spec.Linux.Resources
{ "resource": "" }
c14542
train
// CheckAnnotations checks v.spec.Annotations
{ "resource": "" }
c14543
train
// CapValid checks whether a capability is valid
{ "resource": "" }
c14544
train
// CheckMandatoryFields checks mandatory field of container's config file
{ "resource": "" }
c14545
train
// ValidateLinuxResourcesPids validates linux.resources.pids.
{ "resource": "" }
c14546
train
//Clears the current adapter map, used internally for tests
{ "resource": "" }
c14547
train
//This is a proxy to Dataset.Literal. Used internally to ensure the correct method is called on any subclasses and to prevent duplication of code
{ "resource": "" }
c14548
train
//Adds the correct fragment to being an UPDATE statement
{ "resource": "" }
c14549
train
//Adds the correct fragment to being an INSERT statement
{ "resource": "" }
c14550
train
//Adds the correct fragment to being an DELETE statement
{ "resource": "" }
c14551
train
//Generates a TRUNCATE statement
{ "resource": "" }
c14552
train
//Adds the columns list to an insert statement
{ "resource": "" }
c14553
train
//Adds the values clause to an SQL statement
{ "resource": "" }
c14554
train
//Adds the SELECT clause and columns to a sql statement
{ "resource": "" }
c14555
train
//Adds the SELECT DISTINCT clause and columns to a sql statement
{ "resource": "" }
c14556
train
//Adds the FROM clause and tables to an sql statement
{ "resource": "" }
c14557
train
//Adds the generates the SQL for a column list
{ "resource": "" }
c14558
train
//Generates the JOIN clauses for an SQL statement
{ "resource": "" }
c14559
train
//Generates the WHERE clause for an SQL statement
{ "resource": "" }
c14560
train
//Generates the GROUP BY clause for an SQL statement
{ "resource": "" }
c14561
train
//Generates the HAVING clause for an SQL statement
{ "resource": "" }
c14562
train
//Generates the ORDER BY clause for an SQL statement
{ "resource": "" }
c14563
train
//Generates the LIMIT clause for an SQL statement
{ "resource": "" }
c14564
train
//Generates the OFFSET clause for an SQL statement
{ "resource": "" }
c14565
train
//Generates creates the sql for a sub select on a Dataset
{ "resource": "" }
c14566
train
//Generates SQL NULL value
{ "resource": "" }
c14567
train
//Generates SQL for a time.Time value
{ "resource": "" }
c14568
train
//Generates SQL for a Float Value
{ "resource": "" }
c14569
train
//Generates SQL for an int value
{ "resource": "" }
c14570
train
//Generates SQL for a string
{ "resource": "" }
c14571
train
// Generates SQL for a slice of bytes
{ "resource": "" }
c14572
train
//Generates SQL for a ColumnList
{ "resource": "" }
c14573
train
//Generates SQL for an UpdateEpxresion
{ "resource": "" }
c14574
train
//Generates SQL for a CommonTableExpression
{ "resource": "" }
c14575
train
//Generates SQL for a CompoundExpression
{ "resource": "" }
c14576
train
//used internally by database to create a database with a specific adapter
{ "resource": "" }
c14577
train
//Sets the adapter used to serialize values and create the SQL statement
{ "resource": "" }
c14578
train
//Returns true if the dataset has a FROM clause
{ "resource": "" }
c14579
train
//Adds an argument to the builder, used when IsPrepared is false
{ "resource": "" }
c14580
train
//Starts a new Transaction.
{ "resource": "" }
c14581
train
//used internally to create a new Adapter for a dataset
{ "resource": "" }
c14582
train
//Logs a given operation with the specified sql and arguments
{ "resource": "" }
c14583
train
//used internally to create a new query adapter for a Dataset
{ "resource": "" }
c14584
train
//parses the rows gathering and sorting unique columns and values for each record
{ "resource": "" }
c14585
train
//Creates an INSERT statement with the columns and values passed in
{ "resource": "" }
c14586
train
//Creates an insert statement with values coming from another dataset
{ "resource": "" }
c14587
train
//used internally to create an equality BooleanExpression
{ "resource": "" }
c14588
train
//used internally to create an in-equality BooleanExpression
{ "resource": "" }
c14589
train
//used internally to create an gt comparison BooleanExpression
{ "resource": "" }
c14590
train
//used internally to create an gte comparison BooleanExpression
{ "resource": "" }
c14591
train
//used internally to create an lt comparison BooleanExpression
{ "resource": "" }
c14592
train
//used internally to create an lte comparison BooleanExpression
{ "resource": "" }
c14593
train
//used internally to create an IN BooleanExpression
{ "resource": "" }
c14594
train
//used internally to create a NOT IN BooleanExpression
{ "resource": "" }
c14595
train
//used internally to create an IS BooleanExpression
{ "resource": "" }
c14596
train
//used internally to create an IS NOT BooleanExpression
{ "resource": "" }
c14597
train
//used internally to create a LIKE BooleanExpression
{ "resource": "" }
c14598
train
//used internally to create an ILIKE BooleanExpression
{ "resource": "" }
c14599
train
//used internally to create a NOT LIKE BooleanExpression
{ "resource": "" }