_id
stringlengths 2
7
| title
stringclasses 1
value | partition
stringclasses 3
values | text
stringlengths 6
2.61k
| language
stringclasses 1
value | meta_information
dict |
---|---|---|---|---|---|
c0
|
train
|
// getStringValue will return a quoted string and the amount
// of bytes read
//
// an error will be returned if the string is not properly formatted
|
{
"resource": ""
}
|
||
c1
|
train
|
// getBoolValue will return a boolean and the amount
// of bytes read
//
// an error will be returned if the boolean is not of a correct
// value
|
{
"resource": ""
}
|
||
c2
|
train
|
// getNumericalValue will return a numerical string, the amount
// of bytes read, and the base of the number
//
// an error will be returned if the number is not of a correct
// value
|
{
"resource": ""
}
|
||
c3
|
train
|
// getNegativeNumber will return a negative number from a
// byte slice. This will iterate through all characters until
// a non-digit has been found.
|
{
"resource": ""
}
|
||
c4
|
train
|
// isEscaped will return whether or not the character is an escaped
// character.
|
{
"resource": ""
}
|
||
c5
|
train
|
// OpenFile takes a path to a given file, and will open and parse
// that file.
|
{
"resource": ""
}
|
||
c6
|
train
|
// Parse will parse the given file using the shared config
// visitor.
|
{
"resource": ""
}
|
||
c7
|
train
|
// ParseBytes will parse the given bytes and return the parsed sections.
|
{
"resource": ""
}
|
||
c8
|
train
|
// BuildInputShape returns the Go code as a string for initializing the test
// case's input shape.
|
{
"resource": ""
}
|
||
c9
|
train
|
// SetMessageVersion sets the MessageVersion field's value.
|
{
"resource": ""
}
|
||
c10
|
train
|
// SetPrompt sets the Prompt field's value.
|
{
"resource": ""
}
|
||
c11
|
train
|
// SetCodeHook sets the CodeHook field's value.
|
{
"resource": ""
}
|
||
c12
|
train
|
// SetBotAliases sets the BotAliases field's value.
|
{
"resource": ""
}
|
||
c13
|
train
|
// SetBotChannelAssociations sets the BotChannelAssociations field's value.
|
{
"resource": ""
}
|
||
c14
|
train
|
// SetVersionOrAlias sets the VersionOrAlias field's value.
|
{
"resource": ""
}
|
||
c15
|
train
|
// SetBotVersions sets the BotVersions field's value.
|
{
"resource": ""
}
|
||
c16
|
train
|
// SetIntentVersion sets the IntentVersion field's value.
|
{
"resource": ""
}
|
||
c17
|
train
|
// SetGroupNumber sets the GroupNumber field's value.
|
{
"resource": ""
}
|
||
c18
|
train
|
// SetProcessBehavior sets the ProcessBehavior field's value.
|
{
"resource": ""
}
|
||
c19
|
train
|
// SetSlotConstraint sets the SlotConstraint field's value.
|
{
"resource": ""
}
|
||
c20
|
train
|
// SetSlotType sets the SlotType field's value.
|
{
"resource": ""
}
|
||
c21
|
train
|
// SetSlotTypeVersion sets the SlotTypeVersion field's value.
|
{
"resource": ""
}
|
||
c22
|
train
|
// SetValueElicitationPrompt sets the ValueElicitationPrompt field's value.
|
{
"resource": ""
}
|
||
c23
|
train
|
// SetDistinctUsers sets the DistinctUsers field's value.
|
{
"resource": ""
}
|
||
c24
|
train
|
// SetFirstUtteredDate sets the FirstUtteredDate field's value.
|
{
"resource": ""
}
|
||
c25
|
train
|
// SetLastUtteredDate sets the LastUtteredDate field's value.
|
{
"resource": ""
}
|
||
c26
|
train
|
// SetUtteranceString sets the UtteranceString field's value.
|
{
"resource": ""
}
|
||
c27
|
train
|
// decryptHandler initializes a KMS keyprovider with a material description. This
// is used with Decrypting kms content, due to the cmkID being in the material description.
|
{
"resource": ""
}
|
||
c28
|
train
|
// DecryptKey makes a call to KMS to decrypt the key.
|
{
"resource": ""
}
|
||
c29
|
train
|
// GenerateCipherData makes a call to KMS to generate a data key, Upon making
// the call, it also sets the encrypted key.
|
{
"resource": ""
}
|
||
c30
|
train
|
// DecryptContents will use the symmetric key provider to instantiate a new GCM cipher.
// We grab a decrypt reader from gcm and wrap it in a CryptoReadCloser. The only error
// expected here is when the key or iv is of invalid length.
|
{
"resource": ""
}
|
||
c31
|
train
|
// SetUpdateId sets the UpdateId field's value.
|
{
"resource": ""
}
|
||
c32
|
train
|
// SetUpdateIds sets the UpdateIds field's value.
|
{
"resource": ""
}
|
||
c33
|
train
|
// SetClusterLogging sets the ClusterLogging field's value.
|
{
"resource": ""
}
|
||
c34
|
train
|
// SetParams sets the Params field's value.
|
{
"resource": ""
}
|
||
c35
|
train
|
// IsReaderSeekable returns if the underlying reader type can be seeked. A
// io.Reader might not actually be seekable if it is the ReaderSeekerCloser
// type.
|
{
"resource": ""
}
|
||
c36
|
train
|
// Read reads from the reader up to size of p. The number of bytes read, and
// error if it occurred will be returned.
//
// If the reader is not an io.Reader zero bytes read, and nil error will be returned.
//
// Performs the same functionality as io.Reader Read
|
{
"resource": ""
}
|
||
c37
|
train
|
// IsSeeker returns if the underlying reader is also a seeker.
|
{
"resource": ""
}
|
||
c38
|
train
|
// SeekerLen attempts to get the number of bytes remaining at the seeker's
// current position. Returns the number of bytes remaining or error.
|
{
"resource": ""
}
|
||
c39
|
train
|
// Close closes the ReaderSeekerCloser.
//
// If the ReaderSeekerCloser is not an io.Closer nothing will be done.
|
{
"resource": ""
}
|
||
c40
|
train
|
// WriteAt writes a slice of bytes to a buffer starting at the position provided
// The number of bytes written will be returned, or error. Can overwrite previous
// written slices if the write ats overlap.
|
{
"resource": ""
}
|
||
c41
|
train
|
// Bytes returns a slice of bytes written to the buffer.
|
{
"resource": ""
}
|
||
c42
|
train
|
// SetCpuThreshold sets the CpuThreshold field's value.
|
{
"resource": ""
}
|
||
c43
|
train
|
// SetIgnoreMetricsTime sets the IgnoreMetricsTime field's value.
|
{
"resource": ""
}
|
||
c44
|
train
|
// SetLoadThreshold sets the LoadThreshold field's value.
|
{
"resource": ""
}
|
||
c45
|
train
|
// SetMemoryThreshold sets the MemoryThreshold field's value.
|
{
"resource": ""
}
|
||
c46
|
train
|
// SetThresholdsWaitTime sets the ThresholdsWaitTime field's value.
|
{
"resource": ""
}
|
||
c47
|
train
|
// SetEbs sets the Ebs field's value.
|
{
"resource": ""
}
|
||
c48
|
train
|
// SetBerkshelfVersion sets the BerkshelfVersion field's value.
|
{
"resource": ""
}
|
||
c49
|
train
|
// SetManageBerkshelf sets the ManageBerkshelf field's value.
|
{
"resource": ""
}
|
||
c50
|
train
|
// SetCloneAppIds sets the CloneAppIds field's value.
|
{
"resource": ""
}
|
||
c51
|
train
|
// SetClonePermissions sets the ClonePermissions field's value.
|
{
"resource": ""
}
|
||
c52
|
train
|
// SetSourceStackId sets the SourceStackId field's value.
|
{
"resource": ""
}
|
||
c53
|
train
|
// SetBatchCount sets the BatchCount field's value.
|
{
"resource": ""
}
|
||
c54
|
train
|
// SetBufferDuration sets the BufferDuration field's value.
|
{
"resource": ""
}
|
||
c55
|
train
|
// SetDatetimeFormat sets the DatetimeFormat field's value.
|
{
"resource": ""
}
|
||
c56
|
train
|
// SetFileFingerprintLines sets the FileFingerprintLines field's value.
|
{
"resource": ""
}
|
||
c57
|
train
|
// SetInitialPosition sets the InitialPosition field's value.
|
{
"resource": ""
}
|
||
c58
|
train
|
// SetMultiLineStartPattern sets the MultiLineStartPattern field's value.
|
{
"resource": ""
}
|
||
c59
|
train
|
// SetAcknowledgedAt sets the AcknowledgedAt field's value.
|
{
"resource": ""
}
|
||
c60
|
train
|
// SetDeleteElasticIp sets the DeleteElasticIp field's value.
|
{
"resource": ""
}
|
||
c61
|
train
|
// SetDeleteVolumes sets the DeleteVolumes field's value.
|
{
"resource": ""
}
|
||
c62
|
train
|
// SetAgentVersions sets the AgentVersions field's value.
|
{
"resource": ""
}
|
||
c63
|
train
|
// SetCommandIds sets the CommandIds field's value.
|
{
"resource": ""
}
|
||
c64
|
train
|
// SetEcsClusterArns sets the EcsClusterArns field's value.
|
{
"resource": ""
}
|
||
c65
|
train
|
// SetEcsClusters sets the EcsClusters field's value.
|
{
"resource": ""
}
|
||
c66
|
train
|
// SetIps sets the Ips field's value.
|
{
"resource": ""
}
|
||
c67
|
train
|
// SetElasticIps sets the ElasticIps field's value.
|
{
"resource": ""
}
|
||
c68
|
train
|
// SetElasticLoadBalancers sets the ElasticLoadBalancers field's value.
|
{
"resource": ""
}
|
||
c69
|
train
|
// SetLoadBasedAutoScalingConfigurations sets the LoadBasedAutoScalingConfigurations field's value.
|
{
"resource": ""
}
|
||
c70
|
train
|
// SetUserProfile sets the UserProfile field's value.
|
{
"resource": ""
}
|
||
c71
|
train
|
// SetOperatingSystems sets the OperatingSystems field's value.
|
{
"resource": ""
}
|
||
c72
|
train
|
// SetRaidArrayIds sets the RaidArrayIds field's value.
|
{
"resource": ""
}
|
||
c73
|
train
|
// SetRaidArrays sets the RaidArrays field's value.
|
{
"resource": ""
}
|
||
c74
|
train
|
// SetRdsDbInstanceArns sets the RdsDbInstanceArns field's value.
|
{
"resource": ""
}
|
||
c75
|
train
|
// SetRdsDbInstances sets the RdsDbInstances field's value.
|
{
"resource": ""
}
|
||
c76
|
train
|
// SetServiceErrorIds sets the ServiceErrorIds field's value.
|
{
"resource": ""
}
|
||
c77
|
train
|
// SetServiceErrors sets the ServiceErrors field's value.
|
{
"resource": ""
}
|
||
c78
|
train
|
// SetAgentInstallerUrl sets the AgentInstallerUrl field's value.
|
{
"resource": ""
}
|
||
c79
|
train
|
// SetStackSummary sets the StackSummary field's value.
|
{
"resource": ""
}
|
||
c80
|
train
|
// SetStackIds sets the StackIds field's value.
|
{
"resource": ""
}
|
||
c81
|
train
|
// SetStacks sets the Stacks field's value.
|
{
"resource": ""
}
|
||
c82
|
train
|
// SetTimeBasedAutoScalingConfigurations sets the TimeBasedAutoScalingConfigurations field's value.
|
{
"resource": ""
}
|
||
c83
|
train
|
// SetIamUserArns sets the IamUserArns field's value.
|
{
"resource": ""
}
|
||
c84
|
train
|
// SetVolumeIds sets the VolumeIds field's value.
|
{
"resource": ""
}
|
||
c85
|
train
|
// SetEcsClusterName sets the EcsClusterName field's value.
|
{
"resource": ""
}
|
||
c86
|
train
|
// SetEc2InstanceIds sets the Ec2InstanceIds field's value.
|
{
"resource": ""
}
|
||
c87
|
train
|
// SetSecure sets the Secure field's value.
|
{
"resource": ""
}
|
||
c88
|
train
|
// SetTemporaryCredential sets the TemporaryCredential field's value.
|
{
"resource": ""
}
|
||
c89
|
train
|
// SetEcsContainerInstanceArn sets the EcsContainerInstanceArn field's value.
|
{
"resource": ""
}
|
||
c90
|
train
|
// SetInfrastructureClass sets the InfrastructureClass field's value.
|
{
"resource": ""
}
|
||
c91
|
train
|
// SetLastServiceErrorId sets the LastServiceErrorId field's value.
|
{
"resource": ""
}
|
||
c92
|
train
|
// SetPrivateDns sets the PrivateDns field's value.
|
{
"resource": ""
}
|
||
c93
|
train
|
// SetPublicDns sets the PublicDns field's value.
|
{
"resource": ""
}
|
||
c94
|
train
|
// SetRegisteredBy sets the RegisteredBy field's value.
|
{
"resource": ""
}
|
||
c95
|
train
|
// SetReportedAgentVersion sets the ReportedAgentVersion field's value.
|
{
"resource": ""
}
|
||
c96
|
train
|
// SetReportedOs sets the ReportedOs field's value.
|
{
"resource": ""
}
|
||
c97
|
train
|
// SetRootDeviceVolumeId sets the RootDeviceVolumeId field's value.
|
{
"resource": ""
}
|
||
c98
|
train
|
// SetSshHostDsaKeyFingerprint sets the SshHostDsaKeyFingerprint field's value.
|
{
"resource": ""
}
|
||
c99
|
train
|
// SetSshHostRsaKeyFingerprint sets the SshHostRsaKeyFingerprint field's value.
|
{
"resource": ""
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.