id
int32
0
25.3k
idx
stringlengths
5
9
nl_tokens
listlengths
1
418
pl_tokens
listlengths
22
4.98k
400
all-401
[ "expandClusterVMToolsMonitoringSettings", "reads", "certain", "ResourceData", "keys", "and", "returns", "a", "ClusterVmToolsMonitoringSettings", "." ]
[ "func", "expandClusterVMToolsMonitoringSettings", "(", "d", "*", "schema", ".", "ResourceData", ")", "*", "types", ".", "ClusterVmToolsMonitoringSettings", "{", "obj", ":=", "&", "<mask>", ".", "ClusterVmToolsMonitoringSettings", "{", "FailureInterval", ":", "int32", ...
401
all-402
[ "GetMessage", "returns", "the", "Message", "field", "if", "non", "-", "nil", "zero", "value", "otherwise", "." ]
[ "func", "(", "c", "*", "<mask>", ")", "GetMessage", "(", ")", "string", "{", "if", "c", "==", "nil", "||", "c", ".", "Message", "==", "nil", "{", "return", "\"", "\"", "\n", "}", "\n", "return", "*", "c", ".", "Message", "\n", "}" ]
402
all-403
[ "Return", "a", "generic", "vertex", "attribute", "parameter" ]
[ "func", "GetVertexAttribLdv", "(", "<mask>", "uint32", ",", "pname", "uint32", ",", "params", "*", "float64", ")", "{", "syscall", ".", "Syscall", "(", "gpGetVertexAttribLdv", ",", "3", ",", "uintptr", "(", "index", ")", ",", "uintptr", "(", "pname", ")", ...
403
all-404
[ "Sign", "creates", "a", "(", "non", "-", "detached", ")", "signature", "of", "input", "using", "keyIdentity", ".", "Fails", "with", "a", "SigningNotSupportedError", "if", "the", "mechanism", "does", "not", "support", "signing", "." ]
[ "func", "(", "m", "*", "gpgmeSigningMechanism", ")", "Sign", "(", "input", "[", "]", "byte", ",", "keyIdentity", "string", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "key", ",", "err", ":=", "m", ".", "ctx", ".", "GetKey", "(", "keyIdentit...
404
all-405
[ "SampleWithSeed", "picks", "n", "pseudo", "-", "randomly", "chosen", "input", "items", ".", "It", "uses", "seed", "as", "the", "argument", "for", "its", "random", "number", "generation", "and", "therefore", "different", "executions", "of", "SampleWithSeed", "wit...
[ "func", "SampleWithSeed", "(", "n", "int", ",", "seed", "int64", ")", "Filter", "{", "return", "FilterFunc", "(", "func", "(", "arg", "Arg", ")", "error", "{", "// Could speed this up by using Algorithm Z from Vitter.", "r", ":=", "rand", ".", "New", "(", "ran...
405
all-406
[ "GetItems", "implements", "the", "Collection", "interface" ]
[ "func", "(", "<mask>", "*", "ResourcesConfigCollection", ")", "GetItems", "(", ")", "[", "]", "Object", "{", "var", "items", "[", "]", "Object", "\n", "for", "_", ",", "i", ":=", "range", "in", ".", "Items", "{", "items", "=", "append", "(", "items",...
406
all-407
[ "NewDriver", "creates", "a", "new", "Hyper", "-", "v", "driver", "with", "default", "settings", "." ]
[ "func", "NewDriver", "(", "hostName", ",", "storePath", "string", ")", "*", "Driver", "{", "<mask>", "&", "Driver", "{", "DiskSize", ":", "defaultDiskSize", ",", "MemSize", ":", "defaultMemory", ",", "CPU", ":", "defaultCPU", ",", "DisableDynamicMemory", ":", ...
407
all-408
[ "All", "the", "Read", "*", "functions", "below", "will", "panic", "if", "something", "goes", "wrong", ".", "ReadAt", "reads", "len", "(", "b", ")", "bytes", "at", "address", "a", "in", "the", "inferior", "and", "stores", "them", "in", "b", "." ]
[ "func", "(", "p", "*", "Process", ")", "ReadAt", "(", "b", "[", "]", "byte", ",", "a", "<mask>", ")", "{", "for", "{", "m", ":=", "p", ".", "findMapping", "(", "a", ")", "\n", "if", "m", "==", "nil", "{", "panic", "(", "fmt", ".", "Errorf", ...
408
all-409
[ "String", "returns", "the", "textual", "representation", "of", "this", "ByteCode" ]
[ "func", "(", "b", "*", "ByteCode", ")", "String", "(", ")", "string", "{", "buf", ":=", "rbpool", ".", "Get", "(", ")", "\n", "defer", "rbpool", ".", "Release", "(", "buf", ")", "\n\n", "fmt", ".", "Fprintf", "(", "buf", ",", "\"", "\\n", "\\n", ...
409
all-410
[ "returns", "true", "if", "i", "before", "j" ]
[ "func", "before", "(", "i", ",", "j", "ScheduleItem", ")", "bool", "{", "iEnd", ":=", "i", ".", "Time", "(", ")", ".", "UnixNano", "(", ")", "+", "i", ".", "Duration", "(", ")", ".", "Nanoseconds", "(", ")", "\n", "jStart", ":=", "j", ".", "Tim...
410
all-411
[ "FetchEntity", "fetchs", "the", "given", "Identifiable", "from", "the", "server", "." ]
[ "func", "(", "s", "*", "Session", ")", "FetchEntity", "(", "object", "Identifiable", ")", "*", "Error", "{", "url", ",", "berr", ":=", "s", ".", "getPersonalURL", "(", "object", ")", "\n", "if", "berr", "!=", "nil", "{", "return", "berr", "\n", "}", ...
411
all-412
[ "HasAggregation", "returns", "a", "boolean", "if", "a", "field", "has", "been", "set", "." ]
[ "func", "(", "e", "*", "Event", ")", "HasAggregation", "(", ")", "bool", "{", "if", "e", "!=", "nil", "&&", "e", ".", "Aggregation", "!=", "nil", "{", "return", "true", "\n", "}", "\n\n", "return", "<mask>", "\n", "}" ]
412
all-413
[ "ObjectChange", "subscribes", "to", "changes", "for", "objects", "of", "a", "given", "type", "." ]
[ "func", "(", "h", "*", "Handler", ")", "ObjectChange", "(", "ctx", "context", ".", "Context", ",", "tkn", ",", "objectType", "string", ",", "objectIDs", "[", "]", "string", ")", "(", "*", "rpc", ".", "Subscription", ",", "error", ")", "{", "logger", ...
413
all-414
[ "NewDisplayer", "creates", "a", "new", "displayer", "using", "the", "response", "body", "." ]
[ "func", "NewDisplayer", "(", "resp", "*", "http", ".", "Response", ")", "(", "*", "Displayer", ",", "error", ")", "{", "defer", "resp", ".", "<mask>", ".", "Close", "(", ")", "\n", "js", ",", "err", ":=", "ioutil", ".", "ReadAll", "(", "resp", ".",...
414
all-415
[ "SearchHosts", "searches", "through", "the", "hosts", "facet", "returning", "matching", "hostnames", "." ]
[ "func", "(", "client", "*", "Client", ")", "SearchHosts", "(", "search", "string", ")", "(", "[", "]", "string", ",", "error", ")", "{", "var", "out", "reqSearch", "\n", "if", "err", ":=", "client", ".", "doJsonRequest", "(", "\"", "\"", ",", "\"", ...
415
all-416
[ "Element", "returns", "a", "value", "of", "a", "matrix", "at", "(", "i", "j", ")", "." ]
[ "func", "(", "g", "*", "GeoM", ")", "Element", "(", "i", ",", "j", "int", ")", "float64", "{", "switch", "{", "case", "i", "==", "0", "&&", "j", "==", "0", ":", "return", "float64", "(", "g", ".", "a_1", ")", "+", "1", "\n", "<mask>", "i", ...
416
all-417
[ "Set", "is", "required", "for", "kingpin", "interfaces", "to", "allow", "command", "line", "params", "to", "be", "set", "to", "our", "map", "datatype" ]
[ "func", "(", "o", "*", "ListFloat32Option", ")", "Set", "(", "<mask>", "string", ")", "error", "{", "val", ":=", "Float32Option", "{", "}", "\n", "val", ".", "Set", "(", "value", ")", "\n", "*", "o", "=", "append", "(", "*", "o", ",", "val", ")",...
417
all-418
[ "Load", "loads", "JSON", "files", "from", "configPaths", ".", "and", "assigns", "decoded", "values", "into", "the", "conf", "value", "." ]
[ "func", "LoadJSON", "(", "conf", "<mask>", "{", "}", ",", "configPaths", "...", "string", ")", "error", "{", "return", "loadWithFunc", "(", "conf", ",", "configPaths", ",", "nil", ",", "json", ".", "Unmarshal", ")", "\n", "}" ]
418
all-419
[ "Timeout", "adds", "a", "timeout", "to", "a", "Check", ".", "If", "the", "underlying", "check", "takes", "longer", "than", "the", "timeout", "it", "returns", "an", "error", "." ]
[ "func", "Timeout", "(", "check", "Check", ",", "timeout", "<mask>", ".", "Duration", ")", "Check", "{", "return", "func", "(", ")", "error", "{", "c", ":=", "make", "(", "chan", "error", ",", "1", ")", "\n", "go", "func", "(", ")", "{", "c", "<-"...
419
all-420
[ "UnmarshalJSON", "satisfies", "json", ".", "Unmarshaler", "." ]
[ "func", "(", "t", "*", "InspectMode", ")", "UnmarshalJSON", "(", "buf", "[", "]", "<mask>", ")", "error", "{", "return", "easyjson", ".", "Unmarshal", "(", "buf", ",", "t", ")", "\n", "}" ]
420
all-421
[ "GetSourceTypeOk", "returns", "a", "tuple", "with", "the", "SourceType", "field", "if", "it", "s", "non", "-", "nil", "zero", "value", "otherwise", "and", "a", "boolean", "to", "check", "if", "the", "value", "has", "been", "set", "." ]
[ "func", "(", "e", "*", "<mask>", ")", "GetSourceTypeOk", "(", ")", "(", "string", ",", "bool", ")", "{", "if", "e", "==", "nil", "||", "e", ".", "SourceType", "==", "nil", "{", "return", "\"", "\"", ",", "false", "\n", "}", "\n", "return", "*", ...
421
all-422
[ "FindSpace", "-" ]
[ "func", "(", "m", "*", "DefaultManager", ")", "FindSpace", "(", "orgName", ",", "spaceName", "string", ")", "(", "cfclient", ".", "Space", ",", "error", ")", "{", "orgGUID", ",", "err", ":=", "m", ".", "OrgMgr", ".", "GetOrgGUID", "(", "orgName", ")", ...
422
all-423
[ "encodeContent", "writes", "out", "the", "content", "in", "the", "selected", "encoding", "." ]
[ "func", "(", "p", "*", "Part", ")", "encodeContent", "(", "b", "*", "bufio", ".", "Writer", ",", "cte", "transferEncoding", ")", "(", "err", "error", ")", "{", "switch", "cte", "{", "case", "teBase64", ":", "enc", ":=", "base64", ".", "StdEncoding", ...
423
all-424
[ "Finalize", "ensures", "the", "configuration", "has", "no", "nil", "pointers", "and", "sets", "default", "values", "." ]
[ "func", "(", "c", "*", "TemplateConfig", ")", "Finalize", "(", ")", "{", "if", "c", ".", "Backup", "==", "nil", "{", "c", ".", "Backup", "=", "Bool", "(", "false", ")", "\n", "}", "\n\n", "if", "c", ".", "Command", "==", "nil", "{", "c", ".", ...
424
all-425
[ "Inhibited", "is", "a", "wrapper", "around", "gtk_application_inhibit", "()", "." ]
[ "func", "(", "v", "*", "Application", ")", "Inhibited", "(", "w", "*", "Window", ",", "flags", "ApplicationInhibitFlags", ",", "reason", "string", ")", "uint", "{", "cstr1", ":=", "(", "*", "C", ".", "gchar", ")", "(", "C", ".", "CString", "(", "<mas...
425
all-426
[ "paranoidUnmarshalJSONObject", "unmarshals", "data", "as", "a", "JSON", "object", "but", "failing", "on", "the", "slightest", "unexpected", "aspect", "(", "including", "duplicated", "keys", "unrecognized", "keys", "and", "non", "-", "matching", "types", ")", ".", ...
[ "func", "paranoidUnmarshalJSONObjectExactFields", "(", "data", "[", "]", "byte", ",", "exactFields", "map", "[", "string", "]", "interface", "{", "}", ")", "error", "{", "seenKeys", ":=", "map", "[", "string", "]", "struct", "{", "}", "{", "}", "\n", "if...
426
all-427
[ "GetEditable", "is", "a", "wrapper", "around", "gtk_text_view_get_editable", "()", "." ]
[ "func", "(", "v", "*", "TextView", ")", "GetEditable", "(", ")", "bool", "{", "c", ":=", "C", ".", "gtk_text_view_get_editable", "(", "v", ".", "native", "(", ")", ")", "\n", "<mask>", "gobool", "(", "c", ")", "\n", "}" ]
427
all-428
[ "ToQueryResult", "builds", "a", "QueryResult", "proto", "." ]
[ "func", "ToQueryResult", "(", "ss", "storage", ".", "SeriesSet", ",", "sampleLimit", "int", ")", "(", "*", "prompb", ".", "QueryResult", ",", "error", ")", "{", "numSamples", ":=", "0", "\n", "resp", ":=", "&", "prompb", ".", "QueryResult", "{", "}", "...
428
all-429
[ "MultiPartBody", "-" ]
[ "func", "MultiPartBody", "(", "paramName", ",", "filename", "string", ",", "fileRef", "io", ".", "Reader", ",", "params", "map", "[", "string", "]", "string", ")", "(", "body", "io", ".", "ReadWriter", ",", "contentType", "string", ",", "err", "error", "...
429
all-430
[ "attach", "multiple", "buffer", "objects", "to", "a", "vertex", "array", "object" ]
[ "func", "BindVertexBuffers", "(", "first", "uint32", ",", "count", "int32", ",", "buffers", "*", "uint32", ",", "offsets", "*", "int", ",", "strides", "*", "int32", ")", "{", "C", ".", "glowBindVertexBuffers", "(", "gpBindVertexBuffers", ",", "(", "C", "."...
430
all-431
[ "UnmarshalJSON", "satisfies", "json", ".", "Unmarshaler", "." ]
[ "func", "(", "t", "*", "ValueSourceType", ")", "UnmarshalJSON", "(", "buf", "[", "]", "<mask>", ")", "error", "{", "return", "easyjson", ".", "Unmarshal", "(", "buf", ",", "t", ")", "\n", "}" ]
431
all-432
[ "PSCRemoveServiceOffering", "calls", "removeServiceOffering", "method", "of", "Privatix", "service", "contract", "." ]
[ "func", "(", "b", "*", "backendInstance", ")", "PSCRemoveServiceOffering", "(", "opts", "*", "bind", ".", "TransactOpts", ",", "offeringHash", "[", "32", "]", "<mask>", ")", "(", "*", "types", ".", "Transaction", ",", "error", ")", "{", "ctx2", ",", "can...
432
all-433
[ "TimeoutWriter", "returns", "an", "io", ".", "Writer", "that", "wraps", "the", "passed", "-", "in", "io", ".", "Writer", ".", "If", "the", "underlying", "Writer", "fails", "to", "write", "within", "the", "alloted", "timeout", "ErrTimeout", "is", "returned", ...
[ "func", "TimeoutWriter", "(", "w", "io", ".", "Writer", ",", "timeout", "time", ".", "Duration", ")", "io", ".", "<mask>", "{", "return", "timeoutReaderWriterCloser", "{", "w", ":", "w", ",", "d", ":", "timeout", "}", "\n", "}" ]
433
all-434
[ "StatusString", "returns", "the", "string", "of", "the", "cgroup", "resource", "status" ]
[ "func", "(", "cgroup", "*", "CgroupResource", ")", "StatusString", "(", "status", "resourcestatus", ".", "ResourceStatus", ")", "string", "{", "return", "CgroupStatus", "(", "status", ")", ".", "<mask>", "(", ")", "\n", "}" ]
434
all-435
[ "Enumerate", "creates", "a", "new", "instance", "of", "Enumerable", "which", "can", "be", "executed", "on", "." ]
[ "func", "(", "list", "*", "LinkedList", ")", "Enumerate", "(", "cancel", "<-", "chan", "struct", "{", "}", ")", "Enumerator", "{", "retval", ":=", "make", "(", "chan", "interface", "{", "}", ")", "\n\n", "go", "func", "(", ")", "{", "list", ".", "k...
435
all-436
[ "NewEnvironmentBrowser", "initializes", "a", "new", "EnvironmentBrowser", "based", "off", "the", "supplied", "managed", "object", "reference", "." ]
[ "func", "NewEnvironmentBrowser", "(", "c", "*", "vim25", ".", "Client", ",", "<mask>", "types", ".", "ManagedObjectReference", ")", "*", "EnvironmentBrowser", "{", "return", "&", "EnvironmentBrowser", "{", "Common", ":", "object", ".", "NewCommon", "(", "c", "...
436
all-437
[ "String", "returns", "key", "=", "val", "format", "of", "the", "environment", "variables", ".", "Each", "on", "a", "line", "." ]
[ "func", "(", "e", "EnvVar", ")", "String", "(", ")", "string", "{", "b", ":=", "bytes", ".", "NewBuffer", "(", "nil", ")", "\n", "for", "_", ",", "env", ":=", "<mask>", "e", "{", "// don't include invalid strings", "if", "len", "(", "strings", ".", "...
437
all-438
[ "HasNewId", "returns", "a", "boolean", "if", "a", "field", "has", "been", "set", "." ]
[ "func", "(", "d", "*", "Dashboard", ")", "HasNewId", "(", ")", "bool", "{", "if", "d", "!=", "nil", "&&", "d", ".", "NewId", "!=", "nil", "{", "return", "true", "\n", "}", "\n\n", "return", "<mask>", "\n", "}" ]
438
all-439
[ "Create", "takes", "the", "representation", "of", "a", "prowJob", "and", "creates", "it", ".", "Returns", "the", "server", "s", "representation", "of", "the", "prowJob", "and", "an", "error", "if", "there", "is", "any", "." ]
[ "func", "(", "c", "*", "FakeProwJobs", ")", "Create", "(", "prowJob", "*", "prowjobsv1", ".", "ProwJob", ")", "(", "<mask>", "*", "prowjobsv1", ".", "ProwJob", ",", "err", "error", ")", "{", "obj", ",", "err", ":=", "c", ".", "Fake", ".", "Invokes", ...
439
all-440
[ "SetLeftMargin", "is", "a", "wrapper", "around", "gtk_text_view_set_left_margin", "()", "." ]
[ "func", "(", "v", "*", "TextView", ")", "SetLeftMargin", "(", "margin", "int", ")", "{", "C", ".", "gtk_text_view_set_left_margin", "(", "v", ".", "native", "(", ")", ",", "C", ".", "gint", "(", "<mask>", ")", ")", "\n", "}" ]
440
all-441
[ "ParseReference", "converts", "a", "string", "which", "should", "not", "start", "with", "the", "ImageTransport", ".", "Name", "prefix", "into", "an", "Docker", "ImageReference", "." ]
[ "func", "ParseReference", "(", "refString", "string", ")", "(", "types", ".", "ImageReference", ",", "error", ")", "{", "if", "refString", "==", "\"", "\"", "{", "return", "nil", ",", "errors", ".", "Errorf", "(", "\"", "\"", ",", "refString", ")", "\n...
441
all-442
[ "ExecNode", "is", "like", "Exec", "except", "it", "will", "attempt", "to", "return", "the", "result", "as", "a", "node", "-", "set", "." ]
[ "func", "(", "xp", "XPathExec", ")", "ExecNode", "(", "t", "tree", ".", "Node", ",", "opts", "...", "FuncOpts", ")", "(", "tree", ".", "NodeSet", ",", "error", ")", "{", "res", ",", "err", ":=", "xp", ".", "Exec", "(", "t", ",", "opts", "...", ...
442
all-443
[ "Locator", "returns", "a", "locator", "for", "the", "given", "resource" ]
[ "func", "(", "r", "*", "InstanceType", ")", "Locator", "(", "api", "*", "API", ")", "*", "InstanceTypeLocator", "{", "for", "_", ",", "l", ":=", "<mask>", "r", ".", "Links", "{", "if", "l", "[", "\"", "\"", "]", "==", "\"", "\"", "{", "return", ...
443
all-444
[ "Reset", "unstucks", "a", "type", "of", "stale", "resource", "to", "a", "new", "state", ".", "In", ":", "rtype", "-", "type", "of", "the", "resource", "state", "-", "current", "state", "of", "the", "resource", "expire", "-", "duration", "before", "resour...
[ "func", "(", "r", "*", "Ranch", ")", "Reset", "(", "rtype", ",", "state", "string", ",", "expire", "time", ".", "Duration", ",", "dest", "string", ")", "(", "map", "[", "string", "]", "string", ",", "error", ")", "{", "r", ".", "resourcesLock", "."...
444
all-445
[ "GetPipelineInfo", "retrieves", "and", "returns", "a", "valid", "PipelineInfo", "from", "PFS", ".", "It", "does", "the", "PFS", "read", "/", "unmarshalling", "of", "bytes", "as", "well", "as", "filling", "in", "missing", "fields" ]
[ "func", "GetPipelineInfo", "(", "pachClient", "*", "client", ".", "APIClient", ",", "ptr", "*", "pps", ".", "EtcdPipelineInfo", ",", "full", "bool", ")", "(", "*", "pps", ".", "PipelineInfo", ",", "error", ")", "{", "result", ":=", "&", "pps", ".", "Pi...
445
all-446
[ "Snapshot", "creates", "a", "new", "ZFS", "snapshot", "of", "the", "receiving", "dataset", "using", "the", "specified", "name", ".", "Optionally", "the", "snapshot", "can", "be", "taken", "recursively", "creating", "snapshots", "of", "all", "descendent", "filesy...
[ "func", "(", "d", "*", "Dataset", ")", "Snapshot", "(", "<mask>", "string", ",", "recursive", "bool", ")", "(", "*", "Dataset", ",", "error", ")", "{", "args", ":=", "make", "(", "[", "]", "string", ",", "1", ",", "4", ")", "\n", "args", "[", "...
446
all-447
[ "assignStmt", "emits", "code", "to", "fn", "for", "a", "parallel", "assignment", "of", "rhss", "to", "lhss", ".", "isDef", "is", "true", "if", "this", "is", "a", "short", "variable", "declaration", "(", ":", "=", ")", ".", "Note", "the", "similarity", ...
[ "func", "(", "b", "*", "builder", ")", "assignStmt", "(", "fn", "*", "Function", ",", "lhss", ",", "rhss", "[", "]", "ast", ".", "Expr", ",", "isDef", "bool", ")", "{", "// Side effects of all LHSs and RHSs must occur in left-to-right order.", "lvals", ":=", "...
447
all-448
[ "Infof", "logs", "provided", "message", "with", "formatting", "in", "INFO", "level", "." ]
[ "func", "(", "logger", "*", "Logger", ")", "Infof", "(", "format", "string", ",", "a", "...", "<mask>", "{", "}", ")", "{", "logger", ".", "log", "(", "INFO", ",", "format", ",", "a", "...", ")", "\n", "}" ]
448
all-449
[ "/", "*", "Interrupt", "sends", "the", "SIGINT", "signal", "to", "all", "the", "processes", "started", "by", "Run", ".", "It", "does", "not", "wait", "for", "the", "processes", "to", "exit", "." ]
[ "func", "Interrupt", "(", ")", "{", "trackedSessionsMutex", ".", "Lock", "(", ")", "\n", "defer", "trackedSessionsMutex", ".", "Unlock", "(", ")", "\n", "for", "_", ",", "session", ":=", "<mask>", "trackedSessions", "{", "session", ".", "Interrupt", "(", "...
449
all-450
[ "ipAddrsForVirtualMachines", "takes", "a", "set", "of", "virtual", "machines", "and", "returns", "a", "consolidated", "list", "of", "IP", "addresses", "for", "all", "of", "the", "VMs", "." ]
[ "func", "ipAddrsForVirtualMachines", "(", "ctx", "context", ".", "Context", ",", "client", "*", "vSphereClient", ",", "vms", "[", "]", "*", "object", ".", "VirtualMachine", ")", "(", "[", "]", "string", ",", "error", ")", "{", "<mask>", "addrs", "[", "]"...
450
all-451
[ "Like", "UnmarshalBinaryBare", "but", "will", "first", "decode", "the", "byte", "-", "length", "prefix", ".", "UnmarshalBinaryLengthPrefixed", "will", "panic", "if", "ptr", "is", "a", "nil", "-", "pointer", ".", "Returns", "an", "error", "if", "not", "all", ...
[ "func", "(", "cdc", "*", "Codec", ")", "UnmarshalBinaryLengthPrefixed", "(", "bz", "[", "]", "byte", ",", "ptr", "<mask>", "{", "}", ")", "error", "{", "if", "len", "(", "bz", ")", "==", "0", "{", "return", "errors", ".", "New", "(", "\"", "\"", ...
451
all-452
[ "CreateNamedTemporaryCredentials", "generates", "temporary", "credentials", "from", "permanent", "credentials", "valid", "for", "the", "given", "duration", "starting", "immediately", ".", "The", "temporary", "credentials", "scopes", "must", "be", "a", "subset", "of", ...
[ "func", "(", "permaCreds", "*", "Credentials", ")", "CreateNamedTemporaryCredentials", "(", "tempClientID", "string", ",", "duration", "time", ".", "Duration", ",", "scopes", "...", "string", ")", "(", "tempCreds", "*", "Credentials", ",", "err", "error", ")", ...
452
all-453
[ "AppendBodyString", "appends", "s", "to", "response", "body", "." ]
[ "func", "(", "resp", "*", "<mask>", ")", "AppendBodyString", "(", "s", "string", ")", "{", "resp", ".", "closeBodyStream", "(", ")", "\n", "resp", ".", "bodyBuffer", "(", ")", ".", "WriteString", "(", "s", ")", "\n", "}" ]
453
all-454
[ "WithFromKey", "specifies", "the", "range", "of", "Get", "Delete", "Watch", "requests", "to", "be", "equal", "or", "greater", "than", "the", "key", "in", "the", "argument", "." ]
[ "func", "WithFromKey", "(", ")", "OpOption", "{", "return", "func", "(", "op", "*", "Op", ")", "{", "if", "len", "(", "op", ".", "key", ")", "==", "0", "{", "op", ".", "key", "=", "[", "]", "byte", "{", "0", "}", "\n", "}", "\n", "op", ".",...
454
all-455
[ "Locator", "returns", "a", "locator", "for", "the", "given", "resource" ]
[ "func", "(", "r", "*", "Task", ")", "Locator", "(", "api", "*", "API", ")", "*", "TaskLocator", "{", "for", "_", ",", "l", ":=", "<mask>", "r", ".", "Links", "{", "if", "l", "[", "\"", "\"", "]", "==", "\"", "\"", "{", "return", "api", ".", ...
455
all-456
[ "Start", "starts", "the", "specified", "command", "but", "does", "not", "wait", "for", "it", "to", "complete", ".", "The", "Wait", "method", "will", "return", "the", "exit", "code", "and", "release", "associated", "resources", "once", "the", "command", "exit...
[ "func", "(", "c", "*", "Cmd", ")", "Start", "(", ")", "error", "{", "if", "c", ".", "lookPathErr", "!=", "nil", "{", "c", ".", "closeDescriptors", "(", "c", ".", "closeAfterStart", ")", "\n", "c", ".", "closeDescriptors", "(", "c", ".", "closeAfterWa...
456
all-457
[ "RegisterHandlerForIdentity", "registers", "the", "given", "EventHandler", "for", "the", "given", "Entity", "Identity", ".", "You", "can", "pass", "the", "bambou", ".", "AllIdentity", "as", "identity", "to", "register", "the", "handler", "for", "all", "events", ...
[ "func", "(", "p", "*", "PushCenter", ")", "RegisterHandlerForIdentity", "(", "handler", "EventHandler", ",", "identity", "Identity", ")", "{", "if", "identity", ".", "<mask>", "==", "AllIdentity", ".", "Name", "{", "p", ".", "defaultHander", "=", "handler", ...
457
all-458
[ "UpdateJobState", "performs", "the", "operations", "involved", "with", "a", "job", "state", "transition", "." ]
[ "func", "UpdateJobState", "(", "pipelines", "col", ".", "ReadWriteCollection", ",", "jobs", "col", ".", "ReadWriteCollection", ",", "jobPtr", "*", "pps", ".", "EtcdJobInfo", ",", "state", "pps", ".", "JobState", ",", "reason", "string", ")", "error", "{", "/...
458
all-459
[ "isNextSuffixPattern", "see", "next", "2", "patterns", "can", "be", "suffix", "matcher", ".", "If", "following", "two", "cases", "are", "both", "true", "it", "could", "possibly", "become", "a", "suffix", "matcher", ".", "1", ".", "the", "first", "pattern", ...
[ "func", "isNextSuffixPattern", "(", "p", "[", "]", "string", ")", "bool", "{", "if", "len", "(", "p", ")", ">=", "2", "&&", "isMatchPattern", "(", "p", "[", "0", "]", ")", "&&", "!", "isMatchPattern", "(", "p", "[", "1", "]", ")", "{", "matcher",...
459
all-460
[ "SetHeadersClickable", "is", "a", "wrapper", "around", "gtk_tree_view_set_headers_clickable", "()", "." ]
[ "func", "(", "v", "*", "TreeView", ")", "SetHeadersClickable", "(", "<mask>", "bool", ")", "{", "C", ".", "gtk_tree_view_set_headers_clickable", "(", "v", ".", "native", "(", ")", ",", "gbool", "(", "show", ")", ")", "\n", "}" ]
460
all-461
[ "Item", "returns", "item", "text", "by", "its", "index", ".", "If", "index", "is", "out", "of", "range", "an", "empty", "string", "and", "false", "are", "returned" ]
[ "func", "(", "l", "*", "ListBox", ")", "Item", "(", "id", "int", ")", "(", "string", ",", "bool", ")", "{", "if", "len", "(", "l", ".", "items", ")", "<=", "id", "||", "id", "<", "0", "{", "return", "\"", "\"", ",", "<mask>", "\n", "}", "\n...
461
all-462
[ "GetDynamicData", "mocks", "base", "method" ]
[ "func", "(", "m", "*", "MockEC2MetadataClient", ")", "GetDynamicData", "(", "arg0", "string", ")", "(", "string", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "ret0", ",", ...
462
all-463
[ "Merge", "takes", "the", "results", "of", "this", "Enumerator", "and", "others", "and", "funnels", "them", "into", "a", "single", "Enumerator", ".", "The", "order", "of", "in", "which", "they", "will", "be", "combined", "is", "non", "-", "deterministic", "...
[ "func", "(", "iter", "Enumerator", ")", "Merge", "(", "others", "...", "Enumerator", ")", "Enumerator", "{", "retval", ":=", "make", "(", "chan", "<mask>", "{", "}", ")", "\n\n", "var", "wg", "sync", ".", "WaitGroup", "\n", "wg", ".", "Add", "(", "le...
463
all-464
[ "insertStr", "inserts", "s", "into", "ss", "preserving", "sorting", "(", "it", "assumes", "that", "ss", "is", "sorted", ")", ".", "If", "a", "copy", "is", "necessary", "(", "because", "cap", "(", "ss", ")", "is", "too", "small", ")", "only", "does", ...
[ "func", "insertStr", "(", "ss", "*", "[", "]", "string", ",", "newS", "string", ")", "bool", "{", "sz", ":=", "cap", "(", "*", "ss", ")", "\n", "idx", ":=", "sort", ".", "SearchStrings", "(", "*", "ss", ",", "newS", ")", "\n", "if", "idx", ">="...
464
all-465
[ "GetSSHUsername", "returns", "the", "username", "to", "use", "with", "SSH" ]
[ "func", "(", "d", "*", "Driver", ")", "GetSSHUsername", "(", ")", "string", "{", "if", "d", ".", "SSHUser", "==", "\"", "\"", "{", "name", ":=", "strings", ".", "ToLower", "(", "d", ".", "Image", ")", "\n\n", "if", "strings", ".", "Contains", "(", ...
465
all-466
[ "HasPermission", "returns", "whether", "or", "not", "the", "user", "has", "the", "permission", "to", "perform", "a", "certain", "task", "." ]
[ "func", "(", "r", "*", "Server", ")", "HasPermission", "(", "username", ",", "project", ",", "permission", "string", ")", "bool", "{", "r", ".", "permissionsLock", ".", "Lock", "(", ")", "\n", "defer", "r", ".", "permissionsLock", ".", "Unlock", "(", "...
466
all-467
[ "NewLedgerEntryExt", "creates", "a", "new", "LedgerEntryExt", "." ]
[ "func", "NewLedgerEntryExt", "(", "v", "int32", ",", "value", "<mask>", "{", "}", ")", "(", "result", "LedgerEntryExt", ",", "err", "error", ")", "{", "result", ".", "V", "=", "v", "\n", "switch", "int32", "(", "v", ")", "{", "case", "0", ":", "// ...
467
all-468
[ "header", "computes", "the", "header", "for", "the", "given", "tag" ]
[ "func", "(", "id", "*", "streamID", ")", "header", "(", "tag", "uint64", ")", "uint64", "{", "<mask>", ":=", "id", ".", "id", "<<", "3", "|", "tag", "\n", "if", "!", "id", ".", "initiator", "{", "header", "--", "\n", "}", "\n", "return", "header"...
468
all-469
[ "execSetns", "runs", "the", "process", "that", "executes", "C", "code", "to", "perform", "the", "setns", "calls", "because", "setns", "support", "requires", "the", "C", "process", "to", "fork", "off", "a", "child", "and", "perform", "the", "setns", "before",...
[ "func", "(", "p", "*", "setnsProcess", ")", "execSetns", "(", ")", "error", "{", "err", ":=", "p", ".", "cmd", ".", "Start", "(", ")", "\n", "p", ".", "childPipe", ".", "Close", "(", ")", "\n", "if", "err", "!=", "nil", "{", "return", "newSystemE...
469
all-470
[ "SendMsg", "sends", "a", "message", "(", "possibly", "dropping", "a", "message", "on", "full", "buffers", ")" ]
[ "func", "(", "s", "*", "Stream", ")", "SendMsg", "(", "msg", "interface", "{", "}", ")", "{", "select", "{", "case", "s", ".", "sendBuffer", "<-", "msg", ":", "// normal flow if the channel is not blocked", "default", ":", "s", ".", "log", ".", "Debug", ...
470
all-471
[ "NewClientWithServerInfo", "creates", "a", "new", "Client", "connection", "from", "the", "user", "name", "password", "resource", "host", "URL", "and", "conf", "URL", "passed", "to", "it", "." ]
[ "func", "NewClientWithServerInfo", "(", "user", ",", "pass", ",", "<mask>", ",", "authType", ",", "host", ",", "domain", ",", "conf", "string", ")", "(", "*", "Client", ",", "error", ")", "{", "connection", ",", "err", ":=", "xmpp", ".", "Dial", "(", ...
471
all-472
[ "title", ":", "profile", "symbol", "handler", "path", ":", "/", "debug", "/", "pprof", "/", "symbol", "method", ":", "GET", "responses", ":", "200", ":", "Ok", "401", ":", "Unauthorized" ]
[ "func", "symbolHandler", "(", "w", "http", ".", "ResponseWriter", ",", "r", "*", "http", ".", "<mask>", ",", "t", "auth", ".", "Token", ")", "error", "{", "if", "!", "permission", ".", "Check", "(", "t", ",", "permission", ".", "PermDebug", ")", "{",...
472
all-473
[ "/", "*", "Detect", "takes", "a", "regular", "expression", "and", "returns", "a", "channel", "." ]
[ "func", "(", "b", "*", "Buffer", ")", "Detect", "(", "desired", "string", ",", "args", "...", "interface", "{", "}", ")", "chan", "bool", "{", "formattedRegexp", ":=", "desired", "\n", "if", "len", "(", "args", ")", ">", "0", "{", "formattedRegexp", ...
473
all-474
[ "Version", "returns", "the", "version", "of", "the", "database", "schema", "." ]
[ "func", "Version", "(", "connStr", "string", ")", "(", "int64", ",", "error", ")", "{", "<mask>", ",", "err", ":=", "sql", ".", "Open", "(", "\"", "\"", ",", "connStr", ")", "\n", "if", "err", "!=", "nil", "{", "return", "0", ",", "err", "\n", ...
474
all-475
[ "MutateTransaction", "for", "AutoSequence", "loads", "the", "sequence", "and", "sets", "it", "on", "the", "tx", ".", "NOTE", ":", "this", "mutator", "assumes", "that", "the", "source", "account", "has", "already", "been", "set", "on", "the", "transaction", "...
[ "func", "(", "m", "AutoSequence", ")", "MutateTransaction", "(", "o", "*", "TransactionBuilder", ")", "error", "{", "source", ":=", "o", ".", "TX", ".", "SourceAccount", "\n\n", "if", "source", "==", "(", "xdr", ".", "AccountId", "{", "}", ")", "{", "r...
475
all-476
[ "ContainersByNodeName", "returns", "a", "map", "associating", "each", "container", "to", "the", "name", "of", "its", "node", "." ]
[ "func", "(", "c", "*", "ClusterTx", ")", "ContainersByNodeName", "(", "project", "string", ")", "(", "map", "[", "string", "]", "string", ",", "error", ")", "{", "stmt", ":=", "`\nSELECT containers.name, nodes.name\n FROM containers\n JOIN nodes ON nodes.id = containe...
476
all-477
[ "expandDVSNameArrayUplinkPortPolicy", "reads", "certain", "ResourceData", "keys", "and", "returns", "a", "DVSNameArrayUplinkPortPolicy", "." ]
[ "func", "expandDVSNameArrayUplinkPortPolicy", "(", "d", "*", "schema", ".", "ResourceData", ")", "*", "types", ".", "DVSNameArrayUplinkPortPolicy", "{", "obj", ":=", "&", "types", ".", "DVSNameArrayUplinkPortPolicy", "{", "UplinkPortName", ":", "structure", ".", "Sl...
477
all-478
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "ScreencastFrameMetadata", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "<mask>", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage17", "(", "&", "w", ",", "v", ...
478
all-479
[ "GlobFileF", "returns", "files", "that", "match", "a", "given", "glob", "pattern", "in", "a", "given", "commit", "calling", "f", "with", "each", "FileInfo", ".", "The", "pattern", "is", "documented", "here", ":", "https", ":", "//", "golang", ".", "org", ...
[ "func", "(", "c", "APIClient", ")", "GlobFileF", "(", "repoName", "string", ",", "commitID", "string", ",", "pattern", "string", ",", "f", "func", "(", "fi", "*", "pfs", ".", "FileInfo", ")", "error", ")", "error", "{", "fs", ",", "err", ":=", "c", ...
479
all-480
[ "Specify", "the", "value", "of", "a", "uniform", "variable", "for", "the", "current", "program", "object" ]
[ "func", "Uniform2i", "(", "<mask>", "int32", ",", "v0", "int32", ",", "v1", "int32", ")", "{", "syscall", ".", "Syscall", "(", "gpUniform2i", ",", "3", ",", "uintptr", "(", "location", ")", ",", "uintptr", "(", "v0", ")", ",", "uintptr", "(", "v1", ...
480
all-481
[ "writeScriptFile", "writes", "content", "to", "a", "temporary", "file", ".", "It", "changes", "the", "temporary", "file", "mode", "to", "executable", "and", "closes", "it", "to", "prepare", "it", "for", "execution", "." ]
[ "func", "writeScriptFile", "(", "content", "[", "]", "byte", ")", "(", "file", "gitos", ".", "File", ",", "err", "error", ")", "{", "if", "file", ",", "err", "=", "gos", ".", "TempFile", "(", "\"", "\"", ",", "\"", "\"", ")", ";", "err", "!=", ...
481
all-482
[ "----------------------------------------", "consume", "*", "for", "skipping", "struct", "fields", "Read", "everything", "without", "doing", "anything", "with", "it", ".", "Report", "errors", "if", "they", "occur", "." ]
[ "func", "consumeAny", "(", "typ3", "Typ3", ",", "bz", "[", "]", "byte", ")", "(", "n", "int", ",", "err", "error", ")", "{", "var", "_n", "int", "\n", "switch", "typ3", "{", "case", "Typ3_Varint", ":", "_", ",", "_n", ",", "err", "=", "DecodeVari...
482
all-483
[ "processCredentialsRequest", "returns", "the", "response", "json", "containing", "credentials", "for", "the", "credentials", "id", "in", "the", "request" ]
[ "func", "processCredentialsRequest", "(", "credentialsManager", "credentials", ".", "<mask>", ",", "r", "*", "http", ".", "Request", ",", "credentialsID", "string", ",", "errPrefix", "string", ")", "(", "[", "]", "byte", ",", "string", ",", "string", ",", "*...
483
all-484
[ "checkCommitMessages", "will", "perform", "the", "actual", "DCO", "check", "by", "retrieving", "all", "commits", "contained", "within", "the", "PR", "with", "the", "given", "number", ".", "*", "All", "*", "commits", "in", "the", "pull", "request", "*", "must...
[ "func", "checkCommitMessages", "(", "gc", "gitHubClient", ",", "l", "*", "logrus", ".", "Entry", ",", "org", ",", "repo", "string", ",", "number", "int", ")", "(", "[", "]", "github", ".", "GitCommit", ",", "error", ")", "{", "allCommits", ",", "err", ...
484
all-485
[ "deleteRecord", "deletes", "all", "existing", "records", "(", "CNAME", "TXT", "A", ")", "for", "the", "given", "Endpoint", ".", "DNSName", "with", "1", "API", "call" ]
[ "func", "(", "d", "*", "dynProviderState", ")", "deleteRecord", "(", "client", "*", "dynect", ".", "Client", ",", "ep", "*", "endpoint", ".", "Endpoint", ")", "error", "{", "link", ":=", "d", ".", "buildLinkToRecord", "(", "ep", ")", "\n", "if", "link"...
485
all-486
[ "sanityCheckPackage", "checks", "invariants", "of", "packages", "upon", "creation", ".", "It", "does", "not", "require", "that", "the", "package", "is", "built", ".", "Unlike", "sanityCheck", "(", "for", "functions", ")", "it", "just", "panics", "at", "the", ...
[ "func", "sanityCheckPackage", "(", "pkg", "*", "Package", ")", "{", "if", "pkg", ".", "Pkg", "==", "nil", "{", "panic", "(", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "pkg", ")", ")", "\n", "}", "\n", "pkg", ".", "String", "(", ")", "// must n...
486
all-487
[ "/", "1", ".", "0", "/", "storage", "-", "pools", "Create", "a", "storage", "pool", "." ]
[ "func", "storagePoolsPost", "(", "d", "*", "Daemon", ",", "r", "*", "http", ".", "Request", ")", "Response", "{", "storagePoolCreateLock", ".", "Lock", "(", ")", "\n", "defer", "storagePoolCreateLock", ".", "Unlock", "(", ")", "\n\n", "req", ":=", "api", ...
487
all-488
[ "SetVisibleFunc", "is", "a", "wrapper", "around", "gtk_tree_model_filter_set_visible_func", "()", "." ]
[ "func", "(", "v", "*", "TreeModelFilter", ")", "SetVisibleFunc", "(", "f", "TreeModelFilterVisibleFunc", ",", "userData", "...", "interface", "{", "}", ")", "error", "{", "if", "len", "(", "userData", ")", ">", "1", "{", "return", "errors", ".", "New", "...
488
all-489
[ "newLogWithSize", "returns", "a", "log", "using", "the", "given", "storage", "and", "max", "message", "size", "." ]
[ "func", "newLogWithSize", "(", "storage", "Storage", ",", "logger", "Logger", ",", "maxNextEntsSize", "uint64", ")", "*", "raftLog", "{", "if", "storage", "==", "nil", "{", "log", ".", "Panic", "(", "\"", "\"", ")", "\n", "}", "\n", "<mask>", ":=", "&"...
489
all-490
[ "Locator", "returns", "a", "locator", "for", "the", "given", "resource" ]
[ "func", "(", "r", "*", "Preference", ")", "Locator", "(", "api", "*", "API", ")", "*", "PreferenceLocator", "{", "for", "_", ",", "l", ":=", "<mask>", "r", ".", "Links", "{", "if", "l", "[", "\"", "\"", "]", "==", "\"", "\"", "{", "return", "ap...
490
all-491
[ "HasType", "returns", "a", "boolean", "if", "a", "field", "has", "been", "set", "." ]
[ "func", "(", "t", "*", "TimeseriesDefinition", ")", "HasType", "(", ")", "bool", "{", "if", "t", "!=", "nil", "&&", "t", ".", "Type", "!=", "nil", "{", "return", "<mask>", "\n", "}", "\n\n", "return", "false", "\n", "}" ]
491
all-492
[ "EnterMaintenanceMode", "puts", "a", "host", "into", "maintenance", "mode", ".", "If", "evacuate", "is", "set", "to", "true", "all", "powered", "off", "VMs", "will", "be", "removed", "from", "the", "host", "or", "the", "task", "will", "block", "until", "th...
[ "func", "EnterMaintenanceMode", "(", "host", "*", "object", ".", "HostSystem", ",", "timeout", "int", ",", "evacuate", "bool", ")", "error", "{", "if", "err", ":=", "viapi", ".", "VimValidateVirtualCenter", "(", "host", ".", "Client", "(", ")", ")", ";", ...
492
all-493
[ "/", "*", "ProcessEvent", "processes", "all", "events", "come", "from", "the", "control", "parent", ".", "If", "a", "control", "processes", "an", "event", "it", "should", "return", "true", ".", "If", "the", "method", "returns", "false", "it", "means", "tha...
[ "func", "(", "c", "*", "Radio", ")", "ProcessEvent", "(", "event", "Event", ")", "bool", "{", "if", "(", "!", "c", ".", "Active", "(", ")", "&&", "event", ".", "Type", "==", "EventKey", ")", "||", "!", "c", ".", "Enabled", "(", ")", "{", "retur...
493
all-494
[ "NewDeploymentManifest", "-", "deployment", "manifest", "constructor" ]
[ "func", "NewDeploymentManifest", "(", "b", "[", "]", "byte", ")", "*", "DeploymentManifest", "{", "dm", ":=", "<mask>", "(", "DeploymentManifest", ")", "\n", "yaml", ".", "Unmarshal", "(", "b", ",", "dm", ")", "\n", "return", "dm", "\n", "}" ]
494
all-495
[ "Add", "the", "<project", ">", "_", "prefix", "when", "the", "given", "project", "name", "is", "not", "default", "." ]
[ "func", "projectPrefix", "(", "project", "string", ",", "s", "string", ")", "string", "{", "if", "project", "!=", "\"", "\"", "{", "s", "=", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "<mask>", ",", "s", ")", "\n", "}", "\n", "return", "s", "\n...
495
all-496
[ "Equals", "compares", "to", "public", "keys" ]
[ "func", "(", "ePub", "*", "ECDSAPublicKey", ")", "Equals", "(", "o", "Key", ")", "bool", "{", "oPub", ",", "ok", ":=", "o", ".", "(", "*", "ECDSAPublicKey", ")", "\n", "if", "!", "<mask>", "{", "return", "false", "\n", "}", "\n\n", "return", "ePub"...
496
all-497
[ "WaitForImage", "is", "a", "wrapper", "around", "gtk_clipboard_wait_for_image" ]
[ "func", "(", "v", "*", "Clipboard", ")", "WaitForImage", "(", ")", "(", "*", "gdk", ".", "Pixbuf", ",", "error", ")", "{", "c", ":=", "C", ".", "gtk_clipboard_wait_for_image", "(", "v", ".", "native", "(", ")", ")", "\n", "if", "c", "==", "nil", ...
497
all-498
[ "ACTOR", "server" ]
[ "func", "(", "peer", "*", "localPeer", ")", "actorLoop", "(", "actionChan", "<-", "chan", "localPeerAction", ")", "{", "gossipTimer", ":=", "time", ".", "Tick", "(", "gossipInterval", ")", "\n", "for", "{", "select", "{", "case", "action", ":=", "<-", "a...
498
all-499
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "EventWebSocketClosed", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork46", "(", "&", "w", ",", "v", ...
499
all-500
[ "query", "information", "about", "an", "active", "uniform", "block" ]
[ "func", "GetActiveUniformBlockiv", "(", "program", "uint32", ",", "uniformBlockIndex", "uint32", ",", "pname", "uint32", ",", "params", "*", "int32", ")", "{", "syscall", ".", "Syscall6", "(", "gpGetActiveUniformBlockiv", ",", "4", ",", "uintptr", "(", "<mask>",...