id
int32
0
25.3k
idx
stringlengths
5
9
nl_tokens
listlengths
1
418
pl_tokens
listlengths
22
4.98k
25,000
all-25001
[ "RestoreFromFile", "read", "and", "parse", "data", "from", "single", "file" ]
[ "func", "(", "app", "*", "App", ")", "RestoreFromFile", "(", "filename", "string", ",", "storeFunc", "func", "(", "*", "points", ".", "Points", ")", ")", "error", "{", "var", "pointsCount", "int", "\n", "startTime", ":=", "time", ".", "Now", "(", ")", ...
25,001
all-25002
[ "Insert", "adds", "a", "key", "-", "value", "pair", "into", "the", "cedar", ".", "It", "will", "return", "ErrInvalidValue", "if", "value", "<", "0", "or", ">", "=", "ValueLimit", "." ]
[ "func", "(", "da", "*", "Cedar", ")", "Insert", "(", "<mask>", "[", "]", "byte", ",", "value", "int", ")", "error", "{", "if", "value", "<", "0", "||", "value", ">=", "ValueLimit", "{", "return", "ErrInvalidValue", "\n", "}", "\n", "p", ":=", "da",...
25,002
all-25003
[ "CreateApiClient", "creates", "a", "new", "API", "client", ".", "It", "takes", "a", "ApiClientOptions", "struct", "for", "specifying", "name", "and", "other", "attributes", ".", "Not", "all", "attributes", "can", "be", "specified", "at", "create", "time", "(",...
[ "func", "(", "c", "*", "Client", ")", "CreateApiClient", "(", "<mask>", "*", "ApiClientOptions", ")", "(", "*", "ApiClient", ",", "error", ")", "{", "ac", ":=", "new", "(", "ApiClient", ")", "\n", "_", ",", "err", ":=", "c", ".", "MakeApiRequest", "(...
25,003
all-25004
[ "ValidateDiff", "performs", "any", "complex", "validation", "of", "an", "individual", "cdrom", "sub", "-", "resource", "that", "can", "t", "be", "done", "in", "schema", "alone", "." ]
[ "func", "(", "r", "*", "CdromSubresource", ")", "ValidateDiff", "(", ")", "error", "{", "log", ".", "Printf", "(", "\"", "\"", ",", "r", ")", "\n", "dsID", ":=", "r", ".", "Get", "(", "\"", "\"", ")", ".", "(", "string", ")", "\n", "path", ":="...
25,004
all-25005
[ "ImageInsert", "inserts", "a", "new", "image", "." ]
[ "func", "(", "c", "*", "Cluster", ")", "ImageInsert", "(", "project", ",", "fp", "string", ",", "fname", "string", ",", "sz", "int64", ",", "public", "bool", ",", "autoUpdate", "bool", ",", "architecture", "string", ",", "createdAt", "time", ".", "Time",...
25,005
all-25006
[ "ParentFromPath", "takes", "a", "relative", "object", "path", "(", "usually", "a", "folder", ")", "an", "object", "type", "and", "an", "optional", "supplied", "datacenter", "and", "returns", "the", "parent", "*", "object", ".", "Folder", "if", "it", "exists"...
[ "func", "ParentFromPath", "(", "c", "*", "govmomi", ".", "Client", ",", "p", "string", ",", "ft", "VSphereFolderType", ",", "dc", "*", "object", ".", "Datacenter", ")", "(", "*", "<mask>", ".", "Folder", ",", "error", ")", "{", "return", "FromPath", "(...
25,006
all-25007
[ "Write", "logs", "an", "Warning", "message", "to", "a", "logger", "." ]
[ "func", "(", "lw", "WarningLogWriter", ")", "Write", "(", "p", "[", "]", "<mask>", ")", "(", "int", ",", "error", ")", "{", "lw", ".", "Warning", "(", "string", "(", "bytes", ".", "TrimRightFunc", "(", "p", ",", "unicode", ".", "IsSpace", ")", ")",...
25,007
all-25008
[ "RandomIdentifier", "returns", "a", "random", "Identifier", "prefixed", "by", "the", "prefix", "parameter", ".", "This", "function", "is", "used", "to", "generate", "database", "objects", "with", "random", "names", "for", "test", "and", "example", "code", "." ]
[ "func", "RandomIdentifier", "(", "prefix", "string", ")", "Identifier", "{", "b", ":=", "make", "(", "[", "]", "<mask>", ",", "16", ")", "\n", "if", "_", ",", "err", ":=", "io", ".", "ReadFull", "(", "rand", ".", "Reader", ",", "b", ")", ";", "er...
25,008
all-25009
[ "Only", "initialize", "the", "minimal", "information", "we", "need", "about", "a", "given", "storage", "type", "." ]
[ "func", "(", "s", "*", "storageDir", ")", "StorageCoreInit", "(", ")", "error", "{", "s", ".", "sType", "=", "storageTypeDir", "\n", "typeName", ",", "<mask>", ":=", "storageTypeToString", "(", "s", ".", "sType", ")", "\n", "if", "err", "!=", "nil", "{...
25,009
all-25010
[ "title", ":", "node", "healing", "update", "path", ":", "/", "healing", "/", "node", "method", ":", "POST", "consume", ":", "application", "/", "x", "-", "www", "-", "form", "-", "urlencoded", "responses", ":", "200", ":", "Ok", "401", ":", "Unauthoriz...
[ "func", "nodeHealingUpdate", "(", "w", "http", ".", "ResponseWriter", ",", "r", "*", "http", ".", "Request", ",", "t", "auth", ".", "Token", ")", "(", "err", "error", ")", "{", "poolName", ":=", "InputValue", "(", "r", ",", "\"", "\"", ")", "\n", "...
25,010
all-25011
[ "ListIntegrationGCP", "gets", "all", "Google", "Cloud", "Platform", "Integrations", "." ]
[ "func", "(", "<mask>", "*", "Client", ")", "ListIntegrationGCP", "(", ")", "(", "[", "]", "*", "IntegrationGCP", ",", "error", ")", "{", "var", "list", "[", "]", "*", "IntegrationGCP", "\n", "if", "err", ":=", "client", ".", "doJsonRequest", "(", "\"",...
25,011
all-25012
[ "GetTitle", "returns", "the", "Title", "field", "if", "non", "-", "nil", "zero", "value", "otherwise", "." ]
[ "func", "(", "g", "*", "GroupDefinition", ")", "GetTitle", "(", ")", "<mask>", "{", "if", "g", "==", "nil", "||", "g", ".", "Title", "==", "nil", "{", "return", "\"", "\"", "\n", "}", "\n", "return", "*", "g", ".", "Title", "\n", "}" ]
25,012
all-25013
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "GetScriptSourceReturns", ")", "UnmarshalJSON", "(", "data", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "<mask>", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger33", "(", ...
25,013
all-25014
[ "ChangeHostEventHandler", "creates", "a", "new", "CHANGE_HOST_EVENT_HANDLER", "Nagios", "command", ".", "Changes", "the", "event", "handler", "command", "for", "a", "particular", "host", "to", "be", "that", "specified", "by", "the", "event_handler_command", "option", ...
[ "func", "ChangeHostEventHandler", "(", "host_name", "<mask>", ",", "event_handler_command", "string", ",", ")", "*", "livestatus", ".", "Command", "{", "return", "livestatus", ".", "NewCommand", "(", "\"", "\"", ",", "stringifyArg", "(", "\"", "\"", ",", "\"",...
25,014
all-25015
[ "GetStats", "returns", "skiplist", "stats" ]
[ "func", "(", "s", "*", "Skiplist", ")", "GetStats", "(", ")", "StatsReport", "{", "<mask>", "report", "StatsReport", "\n", "report", ".", "Apply", "(", "&", "s", ".", "Stats", ")", "\n", "return", "report", "\n", "}" ]
25,015
all-25016
[ "DecodeReadRequest", "reads", "a", "remote", ".", "Request", "from", "a", "http", ".", "Request", "." ]
[ "func", "DecodeReadRequest", "(", "r", "*", "http", ".", "Request", ")", "(", "*", "prompb", ".", "ReadRequest", ",", "error", ")", "{", "compressed", ",", "err", ":=", "ioutil", ".", "ReadAll", "(", "io", ".", "LimitReader", "(", "r", ".", "<mask>", ...
25,016
all-25017
[ "GetHost", "will", "get", "a", "specified", "host", "by", "either", "hostname", "or", "ip", ".", "The", "first", "return", "value", "is", "the", "host", "if", "it", "was", "found", ".", "The", "second", "return", "value", "is", "the", "wether", "the", ...
[ "func", "(", "s", "Scan", ")", "GetHost", "(", "hostTarget", "string", ")", "(", "target", "Host", ",", "exists", "bool", ")", "{", "target", ",", "ok", ":=", "s", ".", "Hosts", "[", "hostTarget", "]", "\n", "if", "ok", "{", "return", "target", ","...
25,017
all-25018
[ "Rectangle", "draws", "a", "rectangle", "using", "a", "path", "between", "(", "x1", "y1", ")", "and", "(", "x2", "y2", ")" ]
[ "func", "Rectangle", "(", "path", "draw2d", ".", "PathBuilder", ",", "x1", ",", "y1", ",", "x2", ",", "y2", "float64", ")", "{", "path", ".", "MoveTo", "(", "x1", ",", "y1", ")", "\n", "<mask>", ".", "LineTo", "(", "x2", ",", "y1", ")", "\n", "...
25,018
all-25019
[ "Push", "will", "add", "a", "new", "span", "on", "to", "the", "stack", ".", "Successful", "spans", "must", "be", "finished", "by", "calling", "Pop", ".", "If", "the", "code", "panics", "or", "an", "error", "is", "returned", "the", "last", "pushed", "sp...
[ "func", "(", "t", "*", "Tracer", ")", "Push", "(", "name", "string", ")", "{", "// get context", "var", "ctx", "opentracing", ".", "SpanContext", "\n", "if", "len", "(", "t", ".", "spans", ")", ">", "0", "{", "ctx", "=", "t", ".", "Last", "(", ")...
25,019
all-25020
[ "/", "*", "ToImage", "converts", "a", "opencv", ".", "IplImage", "to", "an", "go", "image", ".", "Image" ]
[ "func", "(", "img", "*", "IplImage", ")", "ToImage", "(", ")", "image", ".", "Image", "{", "var", "height", ",", "width", ",", "channels", ",", "step", "int", "=", "img", ".", "Height", "(", ")", ",", "img", ".", "Width", "(", ")", ",", "img", ...
25,020
all-25021
[ "Error", "is", "part", "of", "the", "error", "interface", "." ]
[ "func", "(", "agg", "aggregate", ")", "<mask>", "(", ")", "string", "{", "if", "len", "(", "agg", ")", "==", "0", "{", "// This should never happen, really.", "return", "\"", "\"", "\n", "}", "\n", "return", "fmt", ".", "Sprintf", "(", "\"", "\"", ",",...
25,021
all-25022
[ "UpdateSpaces", "sets", "the", "isolation", "segment", "for", "each", "space", "as", "specified", "in", "the", "cf", "-", "mgmt", "config", "." ]
[ "func", "(", "u", "*", "Updater", ")", "UpdateSpaces", "(", ")", "error", "{", "scs", ",", "err", ":=", "u", ".", "Cfg", ".", "GetSpaceConfigs", "(", ")", "\n", "if", "err", "!=", "nil", "{", "return", "err", "\n", "}", "\n\n", "isolationSegmentMap",...
25,022
all-25023
[ "HasQuery", "returns", "a", "boolean", "if", "a", "field", "has", "been", "set", "." ]
[ "func", "(", "t", "*", "TileDefRequest", ")", "HasQuery", "(", ")", "bool", "{", "if", "t", "!=", "nil", "&&", "t", ".", "Query", "!=", "nil", "{", "return", "<mask>", "\n", "}", "\n\n", "return", "false", "\n", "}" ]
25,023
all-25024
[ "The", "ArgReader", "will", "handle", "fragmentation", "as", "needed", ".", "Once", "the", "argument", "has", "been", "read", "the", "ArgReader", "must", "be", "closed", "." ]
[ "func", "(", "r", "*", "fragmentingReader", ")", "ArgReader", "(", "last", "bool", ")", "(", "ArgReader", ",", "error", ")", "{", "if", "err", ":=", "r", ".", "BeginArgument", "(", "<mask>", ")", ";", "err", "!=", "nil", "{", "return", "nil", ",", ...
25,024
all-25025
[ "ImageAliasesMove", "changes", "the", "image", "ID", "associated", "with", "an", "alias", "." ]
[ "func", "(", "c", "*", "Cluster", ")", "ImageAliasesMove", "(", "source", "int", ",", "destination", "int", ")", "error", "{", "err", ":=", "exec", "(", "c", ".", "db", ",", "\"", "\"", ",", "destination", ",", "<mask>", ")", "\n", "return", "err", ...
25,025
all-25026
[ "SetSRS", "sets", "the", "projection", "of", "the", "map", "as", "a", "proj4", "string", "(", "+", "init", "=", "epsg", ":", "4326", "etc", ")", "." ]
[ "func", "(", "m", "*", "Map", ")", "SetSRS", "(", "srs", "string", ")", "{", "cs", ":=", "C", ".", "CString", "(", "srs", ")", "\n", "defer", "C", ".", "<mask>", "(", "unsafe", ".", "Pointer", "(", "cs", ")", ")", "\n", "C", ".", "mapnik_map_se...
25,026
all-25027
[ "GetSearch", "returns", "the", "Search", "field", "if", "non", "-", "nil", "zero", "value", "otherwise", "." ]
[ "func", "(", "w", "*", "WidgetApmOrLogQuery", ")", "GetSearch", "(", ")", "ApmOrLogQuerySearch", "{", "if", "w", "==", "nil", "||", "w", ".", "Search", "==", "nil", "{", "<mask>", "ApmOrLogQuerySearch", "{", "}", "\n", "}", "\n", "return", "*", "w", "....
25,027
all-25028
[ "newHTMLTag", "creates", "and", "returns", "an", "HTML", "tag", "." ]
[ "func", "newHTMLTag", "(", "ln", "*", "line", ",", "rslt", "*", "result", ",", "src", "*", "source", ",", "parent", "element", ",", "opts", "*", "Options", ")", "(", "*", "htmlTag", ",", "error", ")", "{", "if", "len", "(", "ln", ".", "tokens", "...
25,028
all-25029
[ "Infof", "logs", "a", "formatted", "line", "with", "a", "VERBOSE", "prefix", "." ]
[ "func", "(", "l", "*", "logger", ")", "Verbosef", "(", "format", "string", ",", "vals", "...", "<mask>", "{", "}", ")", "{", "l", ".", "mut", ".", "Lock", "(", ")", "\n", "defer", "l", ".", "mut", ".", "Unlock", "(", ")", "\n", "s", ":=", "fm...
25,029
all-25030
[ "LoadImage", "mocks", "base", "method" ]
[ "func", "(", "m", "*", "MockDockerClient", ")", "LoadImage", "(", "arg0", "context", ".", "<mask>", ",", "arg1", "io", ".", "Reader", ",", "arg2", "time", ".", "Duration", ")", "error", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ","...
25,030
all-25031
[ "Produces", "code", "that", "initializes", "a", "APIParams", "struct", "with", "the", "values", "of", "parameters", "for", "the", "given", "action", "and", "location", "." ]
[ "func", "paramsInitializer", "(", "action", "*", "gen", ".", "Action", ",", "location", "int", ",", "varName", "string", ")", "string", "{", "var", "fields", "[", "]", "string", "\n", "var", "optionals", "[", "]", "*", "gen", ".", "ActionParam", "\n", ...
25,031
all-25032
[ "Decode", "decodes", "a", "serialized", "token", "verifying", "the", "signature", "storing", "the", "decoded", "data", "from", "the", "token", "in", "obj", "." ]
[ "func", "(", "rs", "*", "RSASigner", ")", "Decode", "(", "buf", "[", "]", "byte", ",", "obj", "interface", "{", "}", ")", "error", "{", "return", "rs", ".", "alg", ".", "Decode", "(", "<mask>", ",", "buf", ",", "obj", ")", "\n", "}" ]
25,032
all-25033
[ "Stop", "stops", "serving", "gRPC", "server", "." ]
[ "func", "(", "srv", "*", "Server", ")", "Stop", "(", ")", "{", "srv", ".", "lg", ".", "Info", "(", "\"", "\"", ",", "zap", ".", "String", "(", "\"", "\"", ",", "srv", ".", "address", ")", ")", "\n", "srv", ".", "grpcServer", ".", "Stop", "(",...
25,033
all-25034
[ "Mutate", "applies", "the", "provided", "mutators", "to", "this", "builder", "s", "payment", "or", "operation", "." ]
[ "func", "(", "b", "*", "CreateAccountBuilder", ")", "Mutate", "(", "muts", "...", "interface", "{", "}", ")", "{", "for", "_", ",", "m", ":=", "<mask>", "muts", "{", "var", "err", "error", "\n", "switch", "mut", ":=", "m", ".", "(", "type", ")", ...
25,034
all-25035
[ "NewKNode", "..." ]
[ "func", "NewKNode", "(", "val", "rune", ")", "*", "KNode", "{", "return", "&", "KNode", "{", "val", ":", "val", ",", "links", ":", "<mask>", "(", "[", "]", "*", "KNode", ",", "0", ")", ",", "}", "\n", "}" ]
25,035
all-25036
[ "parseJSON", "returns", "a", "structure", "for", "valid", "JSON" ]
[ "func", "parseJSON", "(", "s", "string", ")", "(", "interface", "{", "}", ",", "error", ")", "{", "if", "s", "==", "\"", "\"", "{", "return", "map", "[", "string", "]", "interface", "{", "}", "{", "}", ",", "nil", "\n", "}", "\n\n", "var", "dat...
25,036
all-25037
[ "Specify", "the", "value", "of", "a", "uniform", "variable", "for", "a", "specified", "program", "object" ]
[ "func", "ProgramUniform1f", "(", "program", "uint32", ",", "location", "int32", ",", "v0", "float32", ")", "{", "syscall", ".", "Syscall", "(", "gpProgramUniform1f", ",", "3", ",", "uintptr", "(", "program", ")", ",", "uintptr", "(", "<mask>", ")", ",", ...
25,037
all-25038
[ "splitBucketObject", "breaks", "a", "path", "into", "the", "first", "part", "(", "the", "bucket", ")", "and", "everything", "else", "(", "the", "object", ")", "." ]
[ "func", "splitBucketObject", "(", "path", "string", ")", "(", "string", ",", "string", ")", "{", "<mask>", "=", "strings", ".", "Trim", "(", "path", ",", "\"", "\"", ")", "\n", "parts", ":=", "strings", ".", "SplitN", "(", "path", ",", "\"", "\"", ...
25,038
all-25039
[ "saveHostPortGroupID", "sets", "a", "special", "ID", "for", "a", "host", "virtual", "switch", "composed", "of", "the", "MOID", "for", "the", "concerned", "HostSystem", "and", "the", "port", "group", "s", "key", "." ]
[ "func", "saveHostPortGroupID", "(", "d", "*", "schema", ".", "ResourceData", ",", "hsID", ",", "name", "string", ")", "{", "d", ".", "SetId", "(", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "hostPortGroupIDPrefix", ",", "hsID", ",", "<mask>", ")", ")...
25,039
all-25040
[ "GetName", "returns", "the", "Name", "field", "if", "non", "-", "nil", "zero", "value", "otherwise", "." ]
[ "func", "(", "g", "*", "GroupData", ")", "GetName", "(", ")", "string", "{", "if", "g", "==", "nil", "||", "g", ".", "Name", "==", "nil", "{", "return", "\"", "\"", "\n", "}", "\n", "return", "*", "g", ".", "<mask>", "\n", "}" ]
25,040
all-25041
[ "GetDefaultRightMargin", "()", "is", "a", "wrapper", "around", "gtk_paper_size_get_default_right_margin", "()", "." ]
[ "func", "(", "ps", "*", "PaperSize", ")", "GetDefaultRightMargin", "(", "<mask>", "Unit", ")", "float64", "{", "c", ":=", "C", ".", "gtk_paper_size_get_default_right_margin", "(", "ps", ".", "native", "(", ")", ",", "C", ".", "GtkUnit", "(", "unit", ")", ...
25,041
all-25042
[ "deleteResourceIfExists", "is", "an", "utility", "method", "to", "determine", "if", "a", "resource", "exists", "from", "the", "error", "returned", "from", "its", "Get", "response", ".", "If", "so", "deletes", "it", ".", "name", "is", "used", "only", "for", ...
[ "func", "deleteResourceIfExists", "(", "resourceType", ",", "name", "string", ",", "getFunc", "func", "(", ")", "error", ",", "deleteFunc", "func", "(", ")", "(", "autorest", ".", "Response", ",", "error", ")", ")", "error", "{", "f", ":=", "logutil", "....
25,042
all-25043
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "DispatchSyncEventParams", ")", "UnmarshalJSON", "(", "data", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "<mask>", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoServiceworker15", "...
25,043
all-25044
[ "title", ":", "set", "envs", "path", ":", "/", "apps", "/", "{", "app", "}", "/", "env", "method", ":", "POST", "consume", ":", "application", "/", "x", "-", "www", "-", "form", "-", "urlencoded", "produce", ":", "application", "/", "x", "-", "json...
[ "func", "setEnv", "(", "w", "http", ".", "ResponseWriter", ",", "r", "*", "http", ".", "Request", ",", "t", "auth", ".", "Token", ")", "(", "err", "error", ")", "{", "var", "e", "apiTypes", ".", "Envs", "\n", "err", "=", "ParseInput", "(", "r", "...
25,044
all-25045
[ "resourceVSphereFolderMigrateState", "is", "the", "master", "state", "migration", "function", "for", "the", "vsphere_folder", "resource", "." ]
[ "func", "resourceVSphereFolderMigrateState", "(", "version", "int", ",", "os", "*", "terraform", ".", "InstanceState", ",", "meta", "interface", "{", "}", ")", "(", "*", "terraform", ".", "InstanceState", ",", "error", ")", "{", "// Guard against a nil state.", ...
25,045
all-25046
[ "FetchIssueComments", "fetches", "comments", "associated", "to", "given", "Issue", "(", "since", "latest", ")" ]
[ "func", "(", "client", "*", "Client", ")", "FetchIssueComments", "(", "issueID", "int", ",", "latest", "time", ".", "Time", ",", "c", "chan", "*", "github", ".", "IssueComment", ")", "{", "opt", ":=", "&", "github", ".", "IssueListCommentsOptions", "{", ...
25,046
all-25047
[ "NodeClear", "removes", "any", "container", "or", "image", "associated", "with", "this", "node", "." ]
[ "func", "(", "c", "*", "ClusterTx", ")", "NodeClear", "(", "id", "int64", ")", "error", "{", "_", ",", "err", ":=", "c", ".", "tx", ".", "Exec", "(", "\"", "\"", ",", "id", ")", "\n", "if", "err", "!=", "nil", "{", "return", "err", "\n", "}",...
25,047
all-25048
[ "Wildcard", "matches", "paths", "with", "wildcard", "form", ".", "E", ".", "g", ".", "/", "foo", "/", "v1", "/", "bar", "/", "v2", "will", "match", "the", "form", "/", "foo", "/", "*", "/", "bar", "/", "*", "and", "/", "foo", "/", "v1", "/", ...
[ "func", "Wildcard", "(", "path", "string", ")", "*", "wildcard", "{", "matches", ":=", "strings", ".", "Split", "(", "<mask>", ",", "\"", "\"", ")", "\n", "return", "&", "wildcard", "{", "matches", ":", "matches", ",", "}", "\n", "}" ]
25,048
all-25049
[ "connect", "opens", "a", "new", "connection", "to", "the", "server", "." ]
[ "func", "(", "c", "*", "Client", ")", "connect", "(", ")", "error", "{", "dialer", ":=", "&", "net", ".", "Dialer", "{", "Timeout", ":", "30", "*", "time", ".", "Second", ",", "KeepAlive", ":", "30", "*", "time", ".", "Second", ",", "}", "\n\n", ...
25,049
all-25050
[ "MSetsysForUid", "sets", "multiple", "values", "of", "the", "environment", "variables", "named", "by", "the", "keys", "that", "affects", "the", "system", "as", "a", "whole", ".", "You", "must", "be", "Root", ".", "It", "returns", "an", "error", "if", "any"...
[ "func", "MSetsysForUid", "(", "id", "int", ",", "<mask>", ",", "values", "[", "]", "string", ")", "error", "{", "if", "!", "_IS_ROOT", "{", "return", "ErrNoRoot", "\n", "}", "\n\n", "_settings", ",", "err", ":=", "getSettingsForUid", "(", "id", ")", "\...
25,050
all-25051
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "InsertTextParams", ")", "UnmarshalJSON", "(", "<mask>", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "data", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoInput5", "(", "&", "r"...
25,051
all-25052
[ "adds", "endpoint", "into", "recordset", "aggregation", "loading", "original", "values", "from", "endpoint", "labels", "first" ]
[ "func", "addEndpoint", "(", "ep", "*", "endpoint", ".", "Endpoint", ",", "recordSets", "map", "[", "string", "]", "*", "recordSet", ",", "delete", "bool", ")", "{", "key", ":=", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "ep", ".", "DNSName", ",", ...
25,052
all-25053
[ "Create", "creates", "a", "ClusterComputeResource", "in", "a", "supplied", "folder", ".", "The", "resulting", "ClusterComputeResource", "is", "returned", "." ]
[ "func", "Create", "(", "f", "*", "object", ".", "Folder", ",", "name", "string", ",", "spec", "types", ".", "ClusterConfigSpecEx", ")", "(", "*", "object", ".", "ClusterComputeResource", ",", "error", ")", "{", "log", ".", "Printf", "(", "\"", "\"", ",...
25,053
all-25054
[ "SetLayout", "()", "is", "a", "wrapper", "around", "gtk_button_box_set_layout", "()", "." ]
[ "func", "(", "v", "*", "ButtonBox", ")", "SetLayout", "(", "style", "ButtonBoxStyle", ")", "{", "C", ".", "gtk_button_box_set_layout", "(", "v", ".", "native", "(", ")", ",", "C", ".", "GtkButtonBoxStyle", "(", "<mask>", ")", ")", "\n", "}" ]
25,054
all-25055
[ "NormalizeSCSIBus", "checks", "the", "SCSI", "controllers", "on", "the", "virtual", "machine", "and", "either", "creates", "them", "if", "they", "don", "t", "exist", "or", "migrates", "them", "to", "the", "specified", "controller", "type", ".", "Devices", "are...
[ "func", "NormalizeSCSIBus", "(", "l", "object", ".", "VirtualDeviceList", ",", "ct", "string", ",", "count", "int", ",", "st", "string", ")", "(", "object", ".", "VirtualDeviceList", ",", "[", "]", "types", ".", "BaseVirtualDeviceConfigSpec", ",", "error", "...
25,055
all-25056
[ "pushImage", "pushes", "a", "docker", "image", "." ]
[ "func", "pushImage", "(", "client", "*", "docker", ".", "Client", ",", "authConfig", "docker", ".", "AuthConfiguration", ",", "repo", "string", ",", "sourceTag", "string", ",", "destTag", "string", ")", "(", "string", ",", "error", ")", "{", "sourceImage", ...
25,056
all-25057
[ "Passwd", "sets", "a", "hashed", "passwd", "for", "the", "actual", "user", ".", "The", "passwd", "must", "be", "supplied", "in", "clear", "-", "text", "." ]
[ "func", "(", "s", "*", "Shadow", ")", "Passwd", "(", "key", "[", "]", "byte", ")", "{", "loadConfig", "(", ")", "\n", "s", ".", "password", ",", "_", "=", "config", ".", "crypter", ".", "Generate", "(", "<mask>", ",", "nil", ")", "\n", "s", "."...
25,057
all-25058
[ "SAdd", "returns", "a", "new", "vector", "that", "is", "the", "result", "of", "v", "+", "(", "v1", "*", "s", ")", ".", "It", "allocates", "a", "new", "vector", "/", "slice", "." ]
[ "func", "(", "v", "Vec3", ")", "SAdd", "(", "v1", "Vec3", ",", "s", "float32", ")", "Vec3", "{", "<mask>", "NewVec3XYZ", "(", "v", "[", "0", "]", "+", "v1", "[", "0", "]", "*", "s", ",", "v", "[", "1", "]", "+", "v1", "[", "1", "]", "*", ...
25,058
all-25059
[ "define", "an", "array", "of", "vertex", "data" ]
[ "func", "VertexPointer", "(", "<mask>", "int32", ",", "xtype", "uint32", ",", "stride", "int32", ",", "pointer", "unsafe", ".", "Pointer", ")", "{", "syscall", ".", "Syscall6", "(", "gpVertexPointer", ",", "4", ",", "uintptr", "(", "size", ")", ",", "uin...
25,059
all-25060
[ "/", "Create", "a", "new", "PDF", "surface", "." ]
[ "func", "CreatePDFSurface", "(", "fileName", "string", ",", "width", "float64", ",", "height", "float64", ")", "(", "*", "Surface", ",", "error", ")", "{", "cstr", ":=", "C", ".", "CString", "(", "fileName", ")", "\n", "defer", "C", ".", "free", "(", ...
25,060
all-25061
[ "contains", "is", "whether", "the", "given", "key", "has", "a", "watcher", "in", "the", "group", "." ]
[ "func", "(", "wg", "*", "watcherGroup", ")", "contains", "(", "<mask>", "string", ")", "bool", "{", "_", ",", "ok", ":=", "wg", ".", "keyWatchers", "[", "key", "]", "\n", "return", "ok", "||", "wg", ".", "ranges", ".", "Intersects", "(", "adt", "."...
25,061
all-25062
[ "Apps", "returns", "an", "object", "that", "can", "list", "and", "get", "Apps", "." ]
[ "func", "(", "s", "*", "appLister", ")", "Apps", "(", "namespace", "string", ")", "AppNamespaceLister", "{", "<mask>", "appNamespaceLister", "{", "indexer", ":", "s", ".", "indexer", ",", "namespace", ":", "namespace", "}", "\n", "}" ]
25,062
all-25063
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "SetEffectivePropertyValueForNodeParams", ")", "MarshalJSON", "(", ")", "(", "[", "]", "<mask>", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss21", "(", "&", "w", ...
25,063
all-25064
[ "Patch", "sets", "the", "value", "pointed", "to", "by", "the", "given", "destination", "to", "the", "given", "value", "and", "returns", "a", "function", "to", "restore", "it", "to", "its", "original", "value", ".", "The", "value", "must", "be", "assignable...
[ "func", "Patch", "(", "dest", ",", "<mask>", "interface", "{", "}", ")", "Restorer", "{", "destv", ":=", "reflect", ".", "ValueOf", "(", "dest", ")", ".", "Elem", "(", ")", "\n", "oldv", ":=", "reflect", ".", "New", "(", "destv", ".", "Type", "(", ...
25,064
all-25065
[ "view", "returns", "runs", "the", "specified", "fn", "within", "a", "read", "-", "only", "transaction", "on", "the", "database", "." ]
[ "func", "(", "bdc", "*", "cache", ")", "view", "(", "fn", "func", "(", "tx", "*", "bolt", ".", "Tx", ")", "error", ")", "(", "retErr", "error", ")", "{", "// bolt.Open(bdc.path, 0600, &bolt.Options{ReadOnly: true}) will, if the file does not exist,", "// nevertheles...
25,065
all-25066
[ "functionColor", "returns", "the", "color", "to", "be", "used", "for", "the", "function", "name", "based", "on", "the", "type", "of", "package", "the", "function", "is", "in", "." ]
[ "func", "(", "p", "*", "Palette", ")", "functionColor", "(", "line", "*", "stack", ".", "Call", ")", "string", "{", "if", "line", ".", "IsStdlib", "{", "if", "<mask>", ".", "Func", ".", "IsExported", "(", ")", "{", "return", "p", ".", "FuncStdLibExpo...
25,066
all-25067
[ "/", "*", "Closed", "returns", "true", "if", "the", "buffer", "has", "been", "closed" ]
[ "func", "(", "b", "*", "Buffer", ")", "Closed", "(", ")", "bool", "{", "b", ".", "<mask>", ".", "Lock", "(", ")", "\n", "defer", "b", ".", "lock", ".", "Unlock", "(", ")", "\n\n", "return", "b", ".", "closed", "\n", "}" ]
25,067
all-25068
[ "ChangeNormalHostCheckInterval", "creates", "a", "new", "CHANGE_NORMAL_HOST_CHECK_INTERVAL", "Nagios", "command", ".", "Changes", "the", "normal", "(", "regularly", "scheduled", ")", "check", "interval", "for", "a", "particular", "host", "." ]
[ "func", "ChangeNormalHostCheckInterval", "(", "host_name", "string", ",", "check_interval", "<mask>", ".", "Duration", ",", ")", "*", "livestatus", ".", "Command", "{", "return", "livestatus", ".", "NewCommand", "(", "\"", "\"", ",", "stringifyArg", "(", "\"", ...
25,068
all-25069
[ "parseFileEncryptionRecord", "processes", "the", "optional", "file", "encryption", "record", "from", "a", "file", "header", "." ]
[ "func", "(", "a", "*", "archive50", ")", "parseFileEncryptionRecord", "(", "b", "readBuf", ",", "f", "*", "fileBlockHeader", ")", "error", "{", "if", "ver", ":=", "b", ".", "uvarint", "(", ")", ";", "ver", "!=", "0", "{", "return", "errUnknownEncMethod",...
25,069
all-25070
[ "tagOrDigest", "returns", "a", "tag", "or", "digest", "from", "the", "reference", "." ]
[ "func", "(", "ref", "dockerReference", ")", "tagOrDigest", "(", ")", "(", "string", ",", "error", ")", "{", "if", "ref", ",", "ok", ":=", "ref", ".", "ref", ".", "(", "reference", ".", "Canonical", ")", ";", "ok", "{", "return", "ref", ".", "Digest...
25,070
all-25071
[ "UpdateCharSet", "will", "change", "the", "current", "character", "set", "to", "the", "given", "one" ]
[ "func", "(", "s", "*", "Spinner", ")", "UpdateCharSet", "(", "cs", "[", "]", "string", ")", "{", "s", ".", "<mask>", ".", "Lock", "(", ")", "\n", "defer", "s", ".", "lock", ".", "Unlock", "(", ")", "\n", "s", ".", "chars", "=", "cs", "\n", "}...
25,071
all-25072
[ "ParseCommit", "takes", "an", "argument", "of", "the", "form", "repo", "[" ]
[ "func", "ParseCommit", "(", "arg", "string", ")", "(", "*", "pfs", ".", "Commit", ",", "error", ")", "{", "parts", ":=", "strings", ".", "SplitN", "(", "arg", ",", "\"", "\"", ",", "2", ")", "\n", "if", "parts", "[", "0", "]", "==", "\"", "\"",...
25,072
all-25073
[ "GetClientEmail", "returns", "the", "ClientEmail", "field", "if", "non", "-", "nil", "zero", "value", "otherwise", "." ]
[ "func", "(", "i", "*", "IntegrationGCPUpdateRequest", ")", "GetClientEmail", "(", ")", "string", "{", "if", "i", "==", "nil", "||", "i", ".", "ClientEmail", "==", "nil", "{", "return", "\"", "\"", "\n", "}", "\n", "<mask>", "*", "i", ".", "ClientEmail"...
25,073
all-25074
[ "NewSession", "gets", "the", "leased", "session", "for", "a", "client", "." ]
[ "func", "NewSession", "(", "client", "*", "v3", ".", "Client", ",", "opts", "...", "SessionOption", ")", "(", "*", "Session", ",", "error", ")", "{", "ops", ":=", "&", "sessionOptions", "{", "ttl", ":", "defaultSessionTTL", ",", "ctx", ":", "client", "...
25,074
all-25075
[ "Set", "a", "new", "dirname", "for", "the", "sequence" ]
[ "func", "(", "s", "*", "FileSequence", ")", "SetDirname", "(", "dir", "string", ")", "{", "if", "!", "strings", ".", "HasSuffix", "(", "dir", ",", "string", "(", "filepath", ".", "Separator", ")", ")", "{", "dir", "=", "dir", "+", "<mask>", "(", "f...
25,075
all-25076
[ "NewLogger", "creates", "a", "new", "reporter", "logger", "." ]
[ "func", "NewLogger", "(", "conf", "*", "Config", ")", "(", "log", ".", "Logger", ",", "error", ")", "{", "l", ":=", "&", "reportLogger", "{", "}", "\n\n", "<mask>", ",", "err", ":=", "log", ".", "NewLoggerBase", "(", "conf", ".", "BaseConfig", ",", ...
25,076
all-25077
[ "CopyContainerSnapshot", "copies", "a", "snapshot", "from", "a", "remote", "server", "into", "a", "new", "container", ".", "Additional", "options", "can", "be", "passed", "using", "ContainerCopyArgs" ]
[ "func", "(", "r", "*", "ProtocolLXD", ")", "CopyContainerSnapshot", "(", "source", "ContainerServer", ",", "containerName", "string", ",", "snapshot", "api", ".", "ContainerSnapshot", ",", "args", "*", "ContainerSnapshotCopyArgs", ")", "(", "RemoteOperation", ",", ...
25,077
all-25078
[ "AddTitled", "is", "a", "wrapper", "around", "gtk_stack_add_titled", "()", "." ]
[ "func", "(", "v", "*", "Stack", ")", "AddTitled", "(", "child", "IWidget", ",", "name", ",", "title", "string", ")", "{", "cName", ":=", "C", ".", "CString", "(", "name", ")", "\n", "defer", "C", ".", "free", "(", "unsafe", ".", "Pointer", "(", "...
25,078
all-25079
[ "ShouldReportToBackend", "returns", "true", "if", "the", "container", "status", "is", "recognized", "as", "a", "valid", "state", "by", "ECS", ".", "Note", "that", "not", "all", "container", "statuses", "are", "recognized", "by", "ECS", "or", "map", "to", "EC...
[ "func", "(", "cs", "*", "ContainerStatus", ")", "ShouldReportToBackend", "(", "steadyStateStatus", "ContainerStatus", ")", "bool", "{", "return", "*", "<mask>", "==", "steadyStateStatus", "||", "*", "cs", "==", "ContainerStopped", "\n", "}" ]
25,079
all-25080
[ "NewUnionInput", "returns", "an", "input", "which", "is", "the", "union", "of", "other", "inputs", ".", "That", "means", "that", "all", "datums", "from", "any", "of", "the", "inputs", "will", "be", "seen", "individually", "by", "the", "job", "/", "pipeline...
[ "func", "NewUnionInput", "(", "input", "...", "*", "pps", ".", "<mask>", ")", "*", "pps", ".", "Input", "{", "return", "&", "pps", ".", "Input", "{", "Union", ":", "input", ",", "}", "\n", "}" ]
25,080
all-25081
[ "ServeHTTP", "handles", "a", "http", "request" ]
[ "func", "(", "handler", "ControllerHandler", ")", "ServeHTTP", "(", "w", "http", ".", "ResponseWriter", ",", "r", "*", "<mask>", ".", "Request", ")", "{", "handler", ".", "getResponse", "(", "r", ")", ".", "Send", "(", "w", ")", "\n", "}" ]
25,081
all-25082
[ "establish", "data", "storage", "format", "dimensions", "and", "sample", "count", "of", "a", "renderbuffer", "object", "s", "image" ]
[ "func", "NamedRenderbufferStorageMultisample", "(", "renderbuffer", "uint32", ",", "samples", "int32", ",", "internalformat", "uint32", ",", "width", "int32", ",", "<mask>", "int32", ")", "{", "syscall", ".", "Syscall6", "(", "gpNamedRenderbufferStorageMultisample", "...
25,082
all-25083
[ "Init", "..." ]
[ "func", "Init", "(", "address", "string", ",", "opts", "Opts", ")", "(", "*", "sql", ".", "DB", ",", "error", ")", "{", "timeout", ",", "retry", ":=", "opts", ".", "Timeout", ",", "opts", ".", "Retry", "\n", "if", "timeout", "==", "time", ".", "D...
25,083
all-25084
[ "UnmarshalBinary", "unmarshals", "a", "raw", "byte", "slice", "into", "a", "Directive", ".", "If", "the", "byte", "slice", "does", "not", "contain", "exactly", "8", "bytes", "io", ".", "ErrUnexpectedEOF", "is", "returned", ".", "If", "byte", "0", "(", "res...
[ "func", "(", "d", "*", "Directive", ")", "UnmarshalBinary", "(", "b", "[", "]", "byte", ")", "error", "{", "// Must be exactly 8 bytes", "if", "len", "(", "b", ")", "!=", "directiveLen", "{", "return", "io", ".", "ErrUnexpectedEOF", "\n", "}", "\n\n", "/...
25,084
all-25085
[ "waitSteady", "waits", "for", "a", "task", "to", "leave", "steady", "-", "state", "by", "waiting", "for", "a", "new", "event", "or", "a", "timeout", "." ]
[ "func", "(", "mtask", "*", "managedTask", ")", "waitSteady", "(", ")", "{", "seelog", ".", "Infof", "(", "\"", "\"", ",", "mtask", ".", "Arn", ",", "mtask", ".", "GetKnownStatus", "(", ")", ".", "String", "(", ")", ")", "\n\n", "timeoutCtx", ",", "...
25,085
all-25086
[ "randomAppsURL", "randomly", "selects", "a", "server", "from", "an", "array", "and", "creates", "an", "URL", "pointing", "to", "the", "app", "list", "." ]
[ "func", "randomAppsURL", "(", "servers", "[", "]", "string", ")", "string", "{", "// TODO: If possible update server list from Marathon at some point.", "server", ":=", "servers", "[", "<mask>", ".", "Intn", "(", "len", "(", "servers", ")", ")", "]", "\n", "return...
25,086
all-25087
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "EvaluateOnCallFrameReturns", ")", "UnmarshalJSON", "(", "data", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "<mask>", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger42", "("...
25,087
all-25088
[ "GetQueryConfig", "returns", "the", "QueryConfig", "field", "if", "non", "-", "nil", "zero", "value", "otherwise", "." ]
[ "func", "(", "o", "*", "<mask>", ")", "GetQueryConfig", "(", ")", "QueryConfig", "{", "if", "o", "==", "nil", "||", "o", ".", "QueryConfig", "==", "nil", "{", "return", "QueryConfig", "{", "}", "\n", "}", "\n", "return", "*", "o", ".", "QueryConfig",...
25,088
all-25089
[ "validPropertyName", "returns", "whether", "name", "consists", "of", "one", "or", "more", "valid", "Go", "identifiers", "joined", "by", ".", "." ]
[ "func", "validPropertyName", "(", "name", "string", ")", "bool", "{", "if", "name", "==", "\"", "\"", "{", "return", "false", "\n", "}", "\n", "for", "_", ",", "s", ":=", "<mask>", "strings", ".", "Split", "(", "name", ",", "\"", "\"", ")", "{", ...
25,089
all-25090
[ "GetCreateAccountResult", "retrieves", "the", "CreateAccountResult", "value", "from", "the", "union", "returning", "ok", "if", "the", "union", "s", "switch", "indicated", "the", "value", "is", "valid", "." ]
[ "func", "(", "u", "OperationResultTr", ")", "GetCreateAccountResult", "(", ")", "(", "result", "CreateAccountResult", ",", "ok", "bool", ")", "{", "armName", ",", "_", ":=", "u", ".", "ArmForSwitch", "(", "int32", "(", "u", ".", "Type", ")", ")", "\n\n",...
25,090
all-25091
[ "lower", "your", "expectations" ]
[ "func", "(", "fs", "*", "BtrfsFilesystem", ")", "Create", "(", "bytes", "uint64", ")", "error", "{", "// significantly", "idempotent", ":=", "exec", ".", "Command", "(", "\"", "\"", ",", "\"", "\"", ",", "\"", "\"", ",", "\"", "\"", ",", "`\n\t\tif [ !...
25,091
all-25092
[ "hasSkipTag", "returns", "whether", "the", "struct", "field", "has", "the", "-", "tag", "." ]
[ "func", "(", "db", "*", "DB", ")", "hasSkipTag", "(", "field", "*", "reflect", ".", "StructField", ")", "bool", "{", "if", "field", ".", "<mask>", ".", "Get", "(", "dbTag", ")", "==", "skipTag", "{", "return", "true", "\n", "}", "\n", "return", "fa...
25,092
all-25093
[ "WithValidatorConcurrency", "is", "an", "option", "that", "sets", "topic", "validator", "throttle", "." ]
[ "func", "WithValidatorConcurrency", "(", "n", "int", ")", "ValidatorOpt", "{", "<mask>", "func", "(", "addVal", "*", "addValReq", ")", "error", "{", "addVal", ".", "throttle", "=", "n", "\n", "return", "nil", "\n", "}", "\n", "}" ]
25,093
all-25094
[ "String", "returns", "a", "string", "representation", "of", "the", "ENI", "Attachment" ]
[ "func", "(", "eni", "*", "ENIAttachment", ")", "String", "(", ")", "string", "{", "eni", ".", "guard", ".", "RLock", "(", ")", "\n", "defer", "eni", ".", "<mask>", ".", "RUnlock", "(", ")", "\n\n", "return", "eni", ".", "stringUnsafe", "(", ")", "\...
25,094
all-25095
[ "publishMetricsOnce", "is", "invoked", "by", "the", "ticker", "to", "periodically", "publish", "metrics", "to", "backend", "." ]
[ "func", "(", "<mask>", "*", "clientServer", ")", "publishMetricsOnce", "(", ")", "error", "{", "// Get the list of objects to send to backend.", "requests", ",", "err", ":=", "cs", ".", "metricsToPublishMetricRequests", "(", ")", "\n", "if", "err", "!=", "nil", "{...
25,095
all-25096
[ "copy", "a", "one", "-", "dimensional", "texture", "subimage" ]
[ "func", "CopyTexSubImage1D", "(", "target", "uint32", ",", "level", "int32", ",", "xoffset", "int32", ",", "x", "int32", ",", "y", "int32", ",", "width", "int32", ")", "{", "syscall", ".", "Syscall6", "(", "gpCopyTexSubImage1D", ",", "6", ",", "uintptr", ...
25,096
all-25097
[ "GetConfigMap", "gets", "the", "configmap", "identified", "in", "the", "client", "s", "specified", "namespace", ".", "Analogous", "to", "kubectl", "get", "configmap", "--", "namespace", "=", "client", ".", "namespace" ]
[ "func", "(", "c", "*", "Client", ")", "GetConfigMap", "(", "name", ",", "namespace", "string", ")", "(", "ConfigMap", ",", "error", ")", "{", "c", ".", "log", "(", "\"", "\"", ",", "name", ")", "\n", "if", "namespace", "==", "\"", "\"", "{", "nam...
25,097
all-25098
[ "AddEnvVar", "adds", "a", "new", "environment", "variable", "to", "the", "specified", "project", "Returns", "the", "added", "env", "var", "(", "the", "value", "will", "be", "masked", ")" ]
[ "func", "(", "c", "*", "Client", ")", "AddEnvVar", "(", "<mask>", ",", "repo", ",", "name", ",", "value", "string", ")", "(", "*", "EnvVar", ",", "error", ")", "{", "envVar", ":=", "&", "EnvVar", "{", "}", "\n\n", "err", ":=", "c", ".", "request"...
25,098
all-25099
[ "HandlerBlock", "is", "a", "wrapper", "around", "g_signal_handler_block", "()", "." ]
[ "func", "(", "v", "*", "<mask>", ")", "HandlerBlock", "(", "handle", "SignalHandle", ")", "{", "C", ".", "g_signal_handler_block", "(", "C", ".", "gpointer", "(", "v", ".", "GObject", ")", ",", "C", ".", "gulong", "(", "handle", ")", ")", "\n", "}" ]
25,099
all-25100
[ "CheckButtonNewWithMnemonic", "is", "a", "wrapper", "around", "gtk_check_button_new_with_mnemonic", "()", "." ]
[ "func", "CheckButtonNewWithMnemonic", "(", "label", "string", ")", "(", "*", "CheckButton", ",", "error", ")", "{", "cstr", ":=", "C", ".", "CString", "(", "<mask>", ")", "\n", "defer", "C", ".", "free", "(", "unsafe", ".", "Pointer", "(", "cstr", ")",...