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