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