_id
stringlengths
2
7
title
stringclasses
1 value
partition
stringclasses
3 values
text
stringlengths
6
2.61k
language
stringclasses
1 value
meta_information
dict
c6000
train
// NewStaticCall node constructor
{ "resource": "" }
c6001
train
// NewNotEqual node constructor
{ "resource": "" }
c6002
train
// NewAltElseIf node constructor
{ "resource": "" }
c6003
train
// NewTraitUsePrecedence node constructor
{ "resource": "" }
c6004
train
// NewInstanceOf node constructor
{ "resource": "" }
c6005
train
// NewAltIf node constructor
{ "resource": "" }
c6006
train
// SetElse set AltElse node and returns AltIf node
{ "resource": "" }
c6007
train
// NewStaticPropertyFetch node constructor
{ "resource": "" }
c6008
train
// NewClassMethod node constructor
{ "resource": "" }
c6009
train
// NewBreak node constructor
{ "resource": "" }
c6010
train
// NewGreaterOrEqual node constructor
{ "resource": "" }
c6011
train
// NewInt node constructor
{ "resource": "" }
c6012
train
// NewClosure node constructor
{ "resource": "" }
c6013
train
// Attributes returns node attributes as map
{ "resource": "" }
c6014
train
// NewUse node constructor
{ "resource": "" }
c6015
train
// NewPrint node constructor
{ "resource": "" }
c6016
train
// NewArgument node constructor
{ "resource": "" }
c6017
train
// NewIncludeOnce node constructor
{ "resource": "" }
c6018
train
// NewStatic node constructor
{ "resource": "" }
c6019
train
// NewYield node constructor
{ "resource": "" }
c6020
train
// NewShiftLeft node constructor
{ "resource": "" }
c6021
train
// NewElse node constructor
{ "resource": "" }
c6022
train
// NewShellExec node constructor
{ "resource": "" }
c6023
train
// NewPreInc node constructor
{ "resource": "" }
c6024
train
// NewPlus node constructor
{ "resource": "" }
c6025
train
// NewBool node constructor
{ "resource": "" }
c6026
train
// AddNamespacedName adds namespaced name by node
{ "resource": "" }
c6027
train
// ResolveName adds a resolved fully qualified name by node
{ "resource": "" }
c6028
train
// ResolveType adds a resolved fully qualified type name
{ "resource": "" }
c6029
train
// ResolveName returns a resolved fully qualified name
{ "resource": "" }
c6030
train
// ResolveAlias returns alias or error if not found
{ "resource": "" }
c6031
train
// NewTraitUseAlias node constructor
{ "resource": "" }
c6032
train
// NewEqual node constructor
{ "resource": "" }
c6033
train
// NewClone node constructor
{ "resource": "" }
c6034
train
// NewMul node constructor
{ "resource": "" }
c6035
train
// NewEval node constructor
{ "resource": "" }
c6036
train
// NewCaseList node constructor
{ "resource": "" }
c6037
train
// Rune2Class returns the rune integer id
{ "resource": "" }
c6038
train
// NewLexer the Lexer constructor
{ "resource": "" }
c6039
train
// free-floating
{ "resource": "" }
c6040
train
// NewList node constructor
{ "resource": "" }
c6041
train
// NewBitwiseAnd node constructor
{ "resource": "" }
c6042
train
// NewTernary node constructor
{ "resource": "" }
c6043
train
// NewPrettyPrinter - Constructor for PrettyPrinter
{ "resource": "" }
c6044
train
// NewNamespace node constructor
{ "resource": "" }
c6045
train
// NewRequire node constructor
{ "resource": "" }
c6046
train
// NewForeach node constructor
{ "resource": "" }
c6047
train
// NewCoalesce node constructor
{ "resource": "" }
c6048
train
// NewSmaller node constructor
{ "resource": "" }
c6049
train
// NewStmtList node constructor
{ "resource": "" }
c6050
train
// NewConcat node constructor
{ "resource": "" }
c6051
train
// NewAltSwitch node constructor
{ "resource": "" }
c6052
train
// NewElseIf node constructor
{ "resource": "" }
c6053
train
// NewDeclare node constructor
{ "resource": "" }
c6054
train
// NewMinus node constructor
{ "resource": "" }
c6055
train
// NewRelative node constructor
{ "resource": "" }
c6056
train
// NewContinue node constructor
{ "resource": "" }
c6057
train
// NewArrayDimFetch node constructor
{ "resource": "" }
c6058
train
// NewGlobal node constructor
{ "resource": "" }
c6059
train
// NewPosition Position constructor
{ "resource": "" }
c6060
train
// NewPostInc node constructor
{ "resource": "" }
c6061
train
// NewAltForeach node constructor
{ "resource": "" }
c6062
train
// NewGoto node constructor
{ "resource": "" }
c6063
train
// Invert creates a filter that negates the colors of an image.
{ "resource": "" }
c6064
train
// ColorspaceSRGBToLinear creates a filter that converts the colors of an image from sRGB to linear RGB.
{ "resource": "" }
c6065
train
// Gamma creates a filter that performs a gamma correction on an image. // The gamma parameter must be positive. Gamma = 1 gives the original image. // Gamma less than 1 darkens the image and gamma greater than 1 lightens it.
{ "resource": "" }
c6066
train
// Grayscale creates a filter that produces a grayscale version of an image.
{ "resource": "" }
c6067
train
// Add appends the given filters to the list of filters.
{ "resource": "" }
c6068
train
// Draw applies all the added filters to the src image and outputs the result to the dst image.
{ "resource": "" }
c6069
train
// prepareConvolutionWeights1d prepares pixel weights using a convolution kernel. // Weights equal to 0 are excluded.
{ "resource": "" }
c6070
train
// convolveLine convolves a single line of pixels according to the given weights.
{ "resource": "" }
c6071
train
// convolve1dv performs a fast vertical 1d convolution.
{ "resource": "" }
c6072
train
// convolve1dh performs afast horizontal 1d convolution.
{ "resource": "" }
c6073
train
// CropToSize creates a filter that crops an image to the specified size using the specified anchor point.
{ "resource": "" }
c6074
train
// parallelize parallelizes the data processing.
{ "resource": "" }
c6075
train
// splitRange splits a range into n parts and calls a function for each of them.
{ "resource": "" }
c6076
train
// isOpaque checks if the given image is opaque.
{ "resource": "" }
c6077
train
// genDisk generates a disk-shaped kernel.
{ "resource": "" }
c6078
train
// Set initializes members in a struct referenced by a pointer. // Maps and slices are initialized by `make` and other primitive types are set with default values. // `ptr` should be a struct pointer
{ "resource": "" }
c6079
train
// SetLogOutput sets the output for the package's logger.
{ "resource": "" }
c6080
train
// SetCacheMaxSize enables icon caching if sizeInMB > 0.
{ "resource": "" }
c6081
train
// ParseSizeRange parses a string like 60..100..200 into a SizeRange
{ "resource": "" }
c6082
train
// FindMainColor tries to identify the most important color in the given logo.
{ "resource": "" }
c6083
train
// ParseIco parses the icon and returns meta information for the icons as icondir.
{ "resource": "" }
c6084
train
// DecodeConfig returns just the dimensions of the largest image // contained in the icon withou decoding the entire icon file.
{ "resource": "" }
c6085
train
// Decode returns the largest image contained in the icon // which might be a bmp or png
{ "resource": "" }
c6086
train
// RandSource causes f to get values from the given source of randomness. // Use if you want deterministic fuzzing.
{ "resource": "" }
c6087
train
// NumElements sets the minimum and maximum number of elements that will be // added to a non-nil map or slice.
{ "resource": "" }
c6088
train
// MaxDepth sets the maximum number of recursive fuzz calls that will be made // before stopping. This includes struct members, pointers, and map and slice // elements.
{ "resource": "" }
c6089
train
// tryCustom searches for custom handlers, and returns true iff it finds a match // and successfully randomizes v.
{ "resource": "" }
c6090
train
// Fuzz continues fuzzing obj. obj must be a pointer.
{ "resource": "" }
c6091
train
// choose returns a random unicode character from the given range, using the // given randomness source.
{ "resource": "" }
c6092
train
// randUint64 makes random 64 bit numbers. // Weirdly, rand doesn't have a function that gives you 64 random bits.
{ "resource": "" }
c6093
train
// Update updates the cache according to the request that was made to the server // and the response given back.
{ "resource": "" }
c6094
train
// Lookup looks up a full hash and returns a set of ThreatDescriptors and the // validity of the result.
{ "resource": "" }
c6095
train
// Purge purges all expired entries from the cache.
{ "resource": "" }
c6096
train
// Init initializes the database from the specified file in config.DBPath. // It reports true if the database was successfully loaded.
{ "resource": "" }
c6097
train
// Status reports the health of the database. The database is considered faulted // if there was an error during update or if the last update has gone stale. If // in a faulted state, the db may repair itself on the next Update.
{ "resource": "" }
c6098
train
// UpdateLag reports the amount of time in between when we expected to run // a database update and the current time
{ "resource": "" }
c6099
train
// SinceLastUpdate gives the duration since the last database update
{ "resource": "" }