_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c171500
validation
// Tell the kernel the label for all files to be created
{ "resource": "" }
c171501
validation
// Change the label of path to the filelabel string. If the relabel string // is "z", relabel will change the MCS label to s0. This will allow all // containers to share the content. If the relabel string is a "Z" then // the MCS label should continue to be used. SELinux will use this field // to make sure the cont...
{ "resource": "" }
c171502
validation
// Returns an array of IPNet for all the currently routed subnets on ipv4 // This is similar to the first column of "ip route" output
{ "resource": "" }
c171503
validation
// Create the actual bridge device. This is more backward-compatible than // netlink.NetworkLinkAdd and works on RHEL 6.
{ "resource": "" }
c171504
validation
// Delete the actual bridge device.
{ "resource": "" }
c171505
validation
// Detach a slave from a bridge device. This is more backward-compatible than // netlink.NetworkSetMaster and works on RHEL 6.
{ "resource": "" }
c171506
validation
// labelIndex returns the index for the label if it exists in the slice. // if it does not exist in the slice it appends the label lb to the end // of the slice and returns the index.
{ "resource": "" }
c171507
validation
// getSelinuxMountPoint returns the path to the mountpoint of an selinuxfs // filesystem or an empty string if no mountpoint is found. Selinuxfs is // a proc-like pseudo-filesystem that exposes the selinux policy API to // processes. The existence of an selinuxfs mount is used to determine // whether selinux is curre...
{ "resource": "" }
c171508
validation
// SelinuxEnabled returns whether selinux is currently enabled.
{ "resource": "" }
c171509
validation
// Setfilecon sets the SELinux label for this path or returns an error.
{ "resource": "" }
c171510
validation
// Getfilecon returns the SELinux label for this path or returns an error.
{ "resource": "" }
c171511
validation
// Change the fpath file object to the SELinux label scon. // If the fpath is a directory and recurse is true Chcon will walk the // directory tree setting the label
{ "resource": "" }
c171512
validation
// DupSecOpt takes an SELinux process label and returns security options that // can will set the SELinux Type and Level for future container processes
{ "resource": "" }
c171513
validation
// attach a container network interface to an external network
{ "resource": "" }
c171514
validation
// Add will add the specified syscall, action, and arguments to the seccomp // Context.
{ "resource": "" }
c171515
validation
// Load will apply the Context to the calling process makeing any secccomp process changes // apply after the context is loaded.
{ "resource": "" }
c171516
validation
// newGraph returns a new graph.
{ "resource": "" }
c171517
validation
// MakeDisjointSet creates a DisjointSet.
{ "resource": "" }
c171518
validation
// FindSet returns the DisjointSet with the represent name.
{ "resource": "" }
c171519
validation
// Union unions two DisjointSet, with ds1's represent.
{ "resource": "" }
c171520
validation
// Me returns information about the current user
{ "resource": "" }
c171521
validation
// ListProjects returns the list of projects the user is watching
{ "resource": "" }
c171522
validation
// DisableProject disables a project
{ "resource": "" }
c171523
validation
// FollowProject follows a project
{ "resource": "" }
c171524
validation
// GetProject retrieves a specific project // Returns nil of the project is not in the list of watched projects
{ "resource": "" }
c171525
validation
// ListRecentBuilds fetches the list of recent builds for all repositories the user is watching // If limit is -1, fetches all builds
{ "resource": "" }
c171526
validation
// ListRecentBuildsForProject fetches the list of recent builds for the given repository // The status and branch parameters are used to further filter results if non-empty // If limit is -1, fetches all builds
{ "resource": "" }
c171527
validation
// ListBuildArtifacts fetches the build artifacts for the given build
{ "resource": "" }
c171528
validation
// AddSSHUser adds the user associated with the API token to the list of valid // SSH users for a build. // // The API token being used must be a user API token
{ "resource": "" }
c171529
validation
// Build triggers a new build for the given project for the given // project on the given branch. // Returns the new build information
{ "resource": "" }
c171530
validation
// ParameterizedBuild triggers a new parameterized build for the given // project on the given branch, Marshaling the struct into json and passing // in the post body. // Returns the new build information
{ "resource": "" }
c171531
validation
// BuildOpts triggeres a new build for the givent project on the given // branch, Marshaling the struct into json and passing // in the post body. // Returns the new build information
{ "resource": "" }
c171532
validation
// ClearCache clears the cache of the specified project // Returns the status returned by CircleCI
{ "resource": "" }
c171533
validation
// DeleteEnvVar deletes the specified environment variable from the project
{ "resource": "" }
c171534
validation
// AddSSHKey adds a new SSH key to the project
{ "resource": "" }
c171535
validation
// GetActionOutputs fetches the output for the given action // If the action has no output, returns nil
{ "resource": "" }
c171536
validation
// ListCheckoutKeys fetches the checkout keys associated with the given project
{ "resource": "" }
c171537
validation
// CreateCheckoutKey creates a new checkout key for a project // Valid key types are currently deploy-key and github-user-key // // The github-user-key type requires that the API token being used be a user API token
{ "resource": "" }
c171538
validation
// GetCheckoutKey fetches the checkout key for the given project by fingerprint
{ "resource": "" }
c171539
validation
// DeleteCheckoutKey fetches the checkout key for the given project by fingerprint
{ "resource": "" }
c171540
validation
// New returns a new Client.
{ "resource": "" }
c171541
validation
// Clone returns a clone of the Client. The cloned Client inherits its // configuration from its parent. // // All cloned Clients share the same connection, so cloning a Client is a cheap // operation.
{ "resource": "" }
c171542
validation
// Count adds n to bucket.
{ "resource": "" }
c171543
validation
// Gauge records an absolute value for the given bucket.
{ "resource": "" }
c171544
validation
// Timing sends a timing value to a bucket.
{ "resource": "" }
c171545
validation
// Send sends the time elapsed since the creation of the Timing.
{ "resource": "" }
c171546
validation
// Unique sends the given value to a set bucket.
{ "resource": "" }
c171547
validation
// Flush flushes the Client's buffer.
{ "resource": "" }
c171548
validation
// Close flushes the Client's buffer and releases the associated ressources. The // Client and all the cloned Clients must not be used afterward.
{ "resource": "" }
c171549
validation
// SampleRate sets the sample rate of the Client. It allows sending the metrics // less often which can be useful for performance intensive code paths.
{ "resource": "" }
c171550
validation
// Prefix appends the prefix that will be used in every bucket name. // // Note that when used in cloned, the prefix of the parent Client is not // replaced but is prepended to the given prefix.
{ "resource": "" }
c171551
validation
// TagsFormat sets the format of tags.
{ "resource": "" }
c171552
validation
// Tags appends the given tags to the tags sent with every metrics. If a tag // already exists, it is replaced. // // The tags must be set as key-value pairs. If the number of tags is not even, // Tags panics. // // If the format of tags have not been set using the TagsFormat option, the tags // will be ignored.
{ "resource": "" }
c171553
validation
// flush flushes the first n bytes of the buffer. // If n is 0, the whole buffer is flushed.
{ "resource": "" }
c171554
validation
//BuildQwerty builds the Qwerty Graph
{ "resource": "" }
c171555
validation
//BuildDvorak builds the Dvorak Graph
{ "resource": "" }
c171556
validation
//BuildKeypad builds the Keypad Graph
{ "resource": "" }
c171557
validation
//BuildMacKeypad builds the Mac Keypad Graph
{ "resource": "" }
c171558
validation
//BuildLeet builds the L33T Graph
{ "resource": "" }
c171559
validation
// DictionaryEntropy calculates the entropy of a dictionary match
{ "resource": "" }
c171560
validation
// SpatialEntropy calculates the entropy for spatial matches
{ "resource": "" }
c171561
validation
// RepeatEntropy calculates the entropy for repeating entropy
{ "resource": "" }
c171562
validation
// SequenceEntropy calculates the entropy for sequences such as 4567 or cdef
{ "resource": "" }
c171563
validation
// ExtraLeetEntropy calulates the added entropy provied by l33t substitustions
{ "resource": "" }
c171564
validation
// DateEntropy calculates the entropy provided by a date
{ "resource": "" }
c171565
validation
// Omnimatch runs all matchers against the password
{ "resource": "" }
c171566
validation
// Null verifies the contents of bytes provided is a null starting as pos
{ "resource": "" }
c171567
validation
// Number returns the end position of the number that begins at the specified pos
{ "resource": "" }
c171568
validation
// Array returns the position of the end of the array that begins at the position specified
{ "resource": "" }
c171569
validation
// FindRange finds the elements of an array between the specified indexes; inclusive
{ "resource": "" }
c171570
validation
// Object returns the position of the end of the object that begins at the specified pos
{ "resource": "" }
c171571
validation
// FindKey accepts a JSON object and returns the value associated with the key specified
{ "resource": "" }
c171572
validation
// FindIndex accepts a JSON array and return the value of the element at the specified index
{ "resource": "" }
c171573
validation
// Dot extract the specific key from the map provided; to extract a nested value, use the Dot Op in conjunction with the // Chain Op
{ "resource": "" }
c171574
validation
// Chain executes a series of operations in the order provided
{ "resource": "" }
c171575
validation
// Index extracts a specific element from the array provided
{ "resource": "" }
c171576
validation
// Range extracts a selection of elements from the array provided, inclusive
{ "resource": "" }
c171577
validation
// String returns the position of the string that begins at the specified pos
{ "resource": "" }
c171578
validation
// Boolean matches a boolean at the specified position
{ "resource": "" }
c171579
validation
// Must is a convenience method similar to template.Must
{ "resource": "" }
c171580
validation
// Parse takes a string representation of a selector and returns the corresponding Op definition
{ "resource": "" }
c171581
validation
// Any returns the position of the end of the current element that begins at pos; handles any valid json element
{ "resource": "" }
c171582
validation
// ProxyRequestFromContext extracts the APIGatewayProxyRequest event from ctx.
{ "resource": "" }
c171583
validation
// DurationValue returns the value of the Duration pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }
c171584
validation
// Base64Value returns the value of the Base64 pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }
c171585
validation
// URIValue returns the value of the URI pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }
c171586
validation
// EmailValue returns the value of the Email pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }
c171587
validation
// HostnameValue returns the value of the Hostname pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }
c171588
validation
// IPv4Value returns the value of the IPv4 pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }
c171589
validation
// IPv6Value returns the value of the IPv6 pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }
c171590
validation
// CIDRValue returns the value of the CIDR pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }
c171591
validation
// MACValue returns the value of the MAC pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }
c171592
validation
// UUIDValue returns the value of the UUID pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }
c171593
validation
// UUID3Value returns the value of the UUID3 pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }
c171594
validation
// UUID4Value returns the value of the UUID4 pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }
c171595
validation
// UUID5Value returns the value of the UUID5 pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }
c171596
validation
// ISBNValue returns the value of the ISBN pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }
c171597
validation
// ISBN10Value returns the value of the ISBN10 pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }
c171598
validation
// ISBN13Value returns the value of the ISBN13 pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }
c171599
validation
// CreditCardValue returns the value of the CreditCard pointer passed in or // the default value if the pointer is nil.
{ "resource": "" }