id
int32
0
25.3k
idx
stringlengths
5
9
nl_tokens
listlengths
1
418
pl_tokens
listlengths
22
4.98k
7,800
all-7801
[ "GetRequestIDFromTaskResponse", "-", "a", "function", "to", "get", "a", "request", "id", "from", "a", "taskresponse", "object" ]
[ "func", "GetRequestIDFromTaskResponse", "(", "taskResponse", "TaskResponse", ")", "(", "requestID", "string", ",", "err", "error", ")", "{", "var", "provisionHostInfoBytes", "[", "]", "byte", "\n", "firstRecordIndex", ":=", "0", "\n", "meta", ":=", "taskResponse",...
7,801
all-7802
[ "ValidEnum", "validates", "a", "proposed", "value", "for", "this", "enum", ".", "Implements", "the", "Enum", "interface", "for", "AssetType" ]
[ "func", "(", "e", "AssetType", ")", "ValidEnum", "(", "v", "int32", ")", "bool", "{", "_", ",", "<mask>", ":=", "assetTypeMap", "[", "v", "]", "\n", "return", "ok", "\n", "}" ]
7,802
all-7803
[ "Env", "calculates", "and", "returns", "the", "finalized", "environment", "for", "this", "exec", "configuration", ".", "It", "takes", "into", "account", "pristine", "custom", "environment", "whitelist", "and", "blacklist", "values", "." ]
[ "func", "(", "c", "*", "EnvConfig", ")", "Env", "(", ")", "[", "]", "string", "{", "// In pristine mode, just return the custom environment. If the user did not", "// specify a custom environment, just return the empty slice to force an", "// empty environment. We cannot return nil her...
7,803
all-7804
[ "Fetch", "the", "binary", "from", "the", "provided", "URL" ]
[ "func", "(", "h", "*", "HTTP", ")", "Fetch", "(", ")", "(", "io", ".", "Reader", ",", "error", ")", "{", "//delay fetches after first", "if", "h", ".", "delay", "{", "time", ".", "Sleep", "(", "h", ".", "Interval", ")", "\n", "}", "\n", "h", ".",...
7,804
all-7805
[ "SetNick", "sets", "the", "bots", "nick", "on", "the", "irc", "server" ]
[ "func", "(", "<mask>", "*", "Bot", ")", "SetNick", "(", "nick", "string", ")", "{", "bot", ".", "Nick", "=", "nick", "\n", "bot", ".", "Send", "(", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "nick", ")", ")", "\n", "}" ]
7,805
all-7806
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "EventDomContentEventFired", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage68", "(", "&", "w", ",", "v", ...
7,806
all-7807
[ "FieldValueUnmarshaller", "is", "a", "function", "which", "creates", "a", "Record", "from", "a", "CSV", "file", "line", "with", "value", "data", "." ]
[ "func", "FieldValueUnmarshaller", "(", "format", "Format", ")", "RecordUnmarshaller", "{", "return", "func", "(", "text", "string", ")", "(", "pilosa", ".", "Record", ",", "error", ")", "{", "parts", ":=", "strings", ".", "Split", "(", "text", ",", "\"", ...
7,807
all-7808
[ "buildImage", "builds", "a", "new", "docker", "image", "." ]
[ "func", "buildImage", "(", "client", "*", "docker", ".", "Client", ",", "repo", "string", ",", "contextDir", "string", ",", "dockerfile", "string", ",", "destTag", "string", ")", "error", "{", "destImage", ":=", "fmt", ".", "Sprintf", "(", "\"", "\"", ",...
7,808
all-7809
[ "RmDir", "deletes", "a", "directory", "in", "the", "guest", "operating", "system", ".", "Any", "files", "or", "subdirectories", "in", "the", "specified", "directory", "will", "also", "be", "deleted", ".", "Parameters", ":", "path", ":", "Directory", "path", ...
[ "func", "(", "g", "*", "Guest", ")", "RmDir", "(", "path", "string", ")", "error", "{", "var", "jobHandle", "C", ".", "VixHandle", "=", "C", ".", "VIX_INVALID_HANDLE", "\n", "var", "err", "C", ".", "VixError", "=", "C", ".", "VIX_OK", "\n\n", "cpath"...
7,809
all-7810
[ "Error", "logs", "a", "message", "(", "with", "optional", "context", ")", "at", "the", "ERROR", "log", "level" ]
[ "func", "Error", "(", "msg", "string", ",", "ctx", "...", "interface", "{", "}", ")", "{", "if", "<mask>", "!=", "nil", "{", "Log", ".", "Error", "(", "msg", ",", "ctx", "...", ")", "\n", "}", "\n", "}" ]
7,810
all-7811
[ "ProfilesExpandConfig", "expands", "the", "given", "container", "config", "with", "the", "config", "values", "of", "the", "given", "profiles", "." ]
[ "func", "ProfilesExpandConfig", "(", "config", "map", "[", "string", "]", "string", ",", "profiles", "[", "]", "api", ".", "Profile", ")", "map", "[", "string", "]", "string", "{", "expandedConfig", ":=", "map", "[", "string", "]", "string", "{", "}", ...
7,811
all-7812
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "StopTypeProfileParams", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoProfiler6", "(", "&", "w", ",", "v", ...
7,812
all-7813
[ "GetCurrentFolder", "is", "a", "wrapper", "around", "gtk_file_chooser_get_current_folder", "()", "." ]
[ "func", "(", "v", "*", "FileChooser", ")", "GetCurrentFolder", "(", ")", "(", "string", ",", "error", ")", "{", "c", ":=", "C", ".", "gtk_file_chooser_get_current_folder", "(", "v", ".", "native", "(", ")", ")", "\n", "if", "c", "==", "nil", "{", "re...
7,813
all-7814
[ "AppendText", "is", "a", "wrapper", "around", "gtk_combo_box_text_append_text", "()", "." ]
[ "func", "(", "v", "*", "ComboBoxText", ")", "AppendText", "(", "text", "string", ")", "{", "cstr", ":=", "C", ".", "CString", "(", "<mask>", ")", "\n", "defer", "C", ".", "free", "(", "unsafe", ".", "Pointer", "(", "cstr", ")", ")", "\n", "C", "....
7,814
all-7815
[ "Save", "the", "cache", "s", "items", "to", "the", "given", "filename", "creating", "the", "file", "if", "it", "doesn", "t", "exist", "and", "overwriting", "it", "if", "it", "does", ".", "NOTE", ":", "This", "method", "is", "deprecated", "in", "favor", ...
[ "func", "(", "c", "*", "<mask>", ")", "SaveFile", "(", "fname", "string", ")", "error", "{", "fp", ",", "err", ":=", "os", ".", "Create", "(", "fname", ")", "\n", "if", "err", "!=", "nil", "{", "return", "err", "\n", "}", "\n", "err", "=", "c",...
7,815
all-7816
[ "flattenHostVirtualSwitchBondBridge", "reads", "various", "fields", "from", "a", "HostVirtualSwitchBondBridge", "into", "the", "passed", "in", "ResourceData", "." ]
[ "func", "flattenHostVirtualSwitchBondBridge", "(", "d", "*", "schema", ".", "ResourceData", ",", "obj", "*", "<mask>", ".", "HostVirtualSwitchBondBridge", ")", "error", "{", "if", "err", ":=", "d", ".", "Set", "(", "\"", "\"", ",", "structure", ".", "SliceSt...
7,816
all-7817
[ "HasEnv", "returns", "a", "boolean", "if", "a", "field", "has", "been", "set", "." ]
[ "func", "(", "w", "*", "Widget", ")", "HasEnv", "(", ")", "bool", "{", "if", "w", "!=", "nil", "&&", "w", ".", "Env", "!=", "nil", "{", "return", "<mask>", "\n", "}", "\n\n", "return", "false", "\n", "}" ]
7,817
all-7818
[ "jitterUp", "adds", "random", "jitter", "to", "the", "duration", ".", "This", "adds", "or", "subtracts", "time", "from", "the", "duration", "within", "a", "given", "jitter", "fraction", ".", "For", "example", "for", "10s", "and", "jitter", "0", ".", "1", ...
[ "func", "jitterUp", "(", "duration", "time", ".", "Duration", ",", "jitter", "float64", ")", "time", ".", "Duration", "{", "multiplier", ":=", "jitter", "*", "(", "rand", ".", "Float64", "(", ")", "*", "2", "-", "1", ")", "\n", "return", "<mask>", "....
7,818
all-7819
[ "expandHostNicOrderPolicy", "reads", "certain", "ResourceData", "keys", "and", "returns", "a", "HostNicOrderPolicy", "." ]
[ "func", "expandHostNicOrderPolicy", "(", "d", "*", "schema", ".", "ResourceData", ")", "*", "types", ".", "HostNicOrderPolicy", "{", "obj", ":=", "&", "types", ".", "HostNicOrderPolicy", "{", "}", "\n", "activeNics", ",", "activeOk", ":=", "d", ".", "GetOkEx...
7,819
all-7820
[ "DescribeMessage", "returns", "a", "concise", "human", "-", "readable", "description", "of", "a", "Message", "for", "debugging", "." ]
[ "func", "DescribeMessage", "(", "m", "pb", ".", "<mask>", ",", "f", "EntryFormatter", ")", "string", "{", "var", "buf", "bytes", ".", "Buffer", "\n", "fmt", ".", "Fprintf", "(", "&", "buf", ",", "\"", "\"", ",", "m", ".", "From", ",", "m", ".", "...
7,820
all-7821
[ "walkFields", "calls", "a", "function", "for", "each", "field", "of", "a", "struct", "recursively", "expanding", "struct", "fields", "." ]
[ "func", "walkFields", "(", "v", "reflect", ".", "Value", ",", "visit", "func", "(", "<mask>", "reflect", ".", "StructField", ",", "val", "reflect", ".", "Value", ",", "owner", "reflect", ".", "Type", ")", "bool", ")", "{", "t", ":=", "v", ".", "Type"...
7,821
all-7822
[ "Trace", "adds", "the", "route", "pattern", "that", "matches", "a", "TRACE", "http", "method", "to", "execute", "the", "handlerFn", "http", ".", "HandlerFunc", "." ]
[ "func", "(", "mx", "*", "Mux", ")", "Trace", "(", "pattern", "string", ",", "handlerFn", "http", ".", "HandlerFunc", ")", "{", "mx", ".", "handle", "(", "mTRACE", ",", "<mask>", ",", "handlerFn", ")", "\n", "}" ]
7,822
all-7823
[ "MarshalEasyJSON", "writes", "the", "Duration", "to", "a", "easyjson", ".", "Writer" ]
[ "func", "(", "d", "Duration", ")", "MarshalEasyJSON", "(", "w", "*", "jwriter", ".", "Writer", ")", "{", "w", ".", "<mask>", "(", "time", ".", "Duration", "(", "d", ")", ".", "String", "(", ")", ")", "\n", "}" ]
7,823
all-7824
[ "CreateSecretWithContext", "mocks", "base", "method" ]
[ "func", "(", "m", "*", "MockSecretsManagerAPI", ")", "CreateSecretWithContext", "(", "arg0", "aws", ".", "Context", ",", "arg1", "*", "secretsmanager", ".", "CreateSecretInput", ",", "arg2", "...", "request", ".", "Option", ")", "(", "*", "secretsmanager", "."...
7,824
all-7825
[ "submitFirstEvent", "submits", "the", "first", "event", "for", "the", "task", "from", "the", "event", "list", ".", "It", "returns", "true", "if", "the", "list", "became", "empty", "after", "submitting", "the", "event", ".", "Else", "it", "returns", "false", ...
[ "func", "(", "taskEvents", "*", "taskSendableEvents", ")", "submitFirstEvent", "(", "handler", "*", "TaskHandler", ",", "backoff", "retry", ".", "Backoff", ")", "(", "bool", ",", "error", ")", "{", "seelog", ".", "Debug", "(", "\"", "\"", ")", "\n", "tas...
7,825
all-7826
[ "Connect", "middleware", "clones", "the", "database", "session", "for", "each", "request", "and", "makes", "the", "db", "object", "available", "for", "each", "handler" ]
[ "func", "Connect", "(", "c", "*", "gin", ".", "Context", ")", "{", "s", ":=", "db", ".", "Session", ".", "Clone", "(", ")", "\n\n", "defer", "s", ".", "Close", "(", ")", "\n\n", "c", ".", "<mask>", "(", "\"", "\"", ",", "s", ".", "DB", "(", ...
7,826
all-7827
[ "GetIconSensitive", "()", "is", "a", "wrapper", "around", "gtk_entry_get_icon_sensitive", "()", "." ]
[ "func", "(", "v", "*", "<mask>", ")", "GetIconSensitive", "(", "iconPos", "EntryIconPosition", ")", "bool", "{", "c", ":=", "C", ".", "gtk_entry_get_icon_sensitive", "(", "v", ".", "native", "(", ")", ",", "C", ".", "GtkEntryIconPosition", "(", "iconPos", ...
7,827
all-7828
[ "AcquireWait", "blocks", "until", "Acquire", "returns", "the", "specified", "resource", "or", "the", "provided", "context", "is", "cancelled", "or", "its", "deadline", "exceeded", "." ]
[ "func", "(", "c", "*", "Client", ")", "AcquireWait", "(", "ctx", "context", ".", "Context", ",", "rtype", ",", "state", ",", "dest", "string", ")", "(", "*", "common", ".", "Resource", ",", "error", ")", "{", "if", "ctx", "==", "nil", "{", "return"...
7,828
all-7829
[ "List", "all", "Service", "PIDs", "." ]
[ "func", "(", "s", "*", "ServiceManager", ")", "<mask>", "(", ")", "map", "[", "int", "]", "*", "exec", ".", "Cmd", "{", "log", ".", "Println", "(", "\"", "\"", ")", "\n", "return", "s", ".", "processMap", ".", "processes", "\n", "}" ]
7,829
all-7830
[ "StoreLogs", "implements", "the", "LogStore", "interface", "." ]
[ "func", "(", "i", "*", "InmemStore", ")", "StoreLogs", "(", "logs", "[", "]", "*", "Log", ")", "error", "{", "i", ".", "l", ".", "Lock", "(", ")", "\n", "defer", "i", ".", "l", ".", "Unlock", "(", ")", "\n", "for", "_", ",", "l", ":=", "ran...
7,830
all-7831
[ "SetBytesKNoValue", "sets", "key", "argument", "." ]
[ "func", "(", "a", "*", "Args", ")", "SetBytesKNoValue", "(", "key", "[", "]", "<mask>", ")", "{", "a", ".", "args", "=", "setArg", "(", "a", ".", "args", ",", "b2s", "(", "key", ")", ",", "\"", "\"", ",", "argsNoValue", ")", "\n", "}" ]
7,831
all-7832
[ "InitI18n", "initializes", "the", "i18n", "subsystem", "." ]
[ "func", "InitI18n", "(", "domain", "string", ",", "dir", "string", ")", "{", "domainStr", ":=", "C", ".", "CString", "(", "<mask>", ")", "\n", "defer", "C", ".", "free", "(", "unsafe", ".", "Pointer", "(", "domainStr", ")", ")", "\n\n", "dirStr", ":=...
7,832
all-7833
[ "GetStatus", "--" ]
[ "func", "(", "s", "*", "IkClient", ")", "GetStatus", "(", "requestID", "string", ")", "(", "resp", "*", "GetStatusResponse", ",", "err", "error", ")", "{", "resp", "=", "<mask>", "(", "GetStatusResponse", ")", "\n", "qp", ":=", "url", ".", "Values", "{...
7,833
all-7834
[ "ContentForGitHubPost", "constructs", "the", "message", "covbot", "posts" ]
[ "func", "ContentForGitHubPost", "(", "baseProfiles", ",", "newProfiles", "[", "]", "*", "cover", ".", "Profile", ",", "jobName", "string", ",", "coverageThreshold", "float32", ")", "(", "string", ",", "bool", ")", "{", "rows", ":=", "[", "]", "string", "{"...
7,834
all-7835
[ "ArmForSwitch", "returns", "which", "field", "name", "should", "be", "used", "for", "storing", "the", "value", "for", "an", "instance", "of", "AllowTrustOpAsset" ]
[ "func", "(", "u", "AllowTrustOpAsset", ")", "ArmForSwitch", "(", "sw", "int32", ")", "(", "string", ",", "bool", ")", "{", "<mask>", "AssetType", "(", "sw", ")", "{", "case", "AssetTypeAssetTypeCreditAlphanum4", ":", "return", "\"", "\"", ",", "true", "\n"...
7,835
all-7836
[ "export", "FrameSet_Invert" ]
[ "func", "FrameSet_Invert", "(", "id", "FrameSetId", ")", "FrameSetId", "{", "fs", ",", "ok", ":=", "sFrameSets", ".", "Get", "(", "id", ")", "\n", "if", "!", "<mask>", "{", "return", "0", "\n", "}", "\n", "inverted", ":=", "fs", ".", "Invert", "(", ...
7,836
all-7837
[ "newFlash", "creates", "a", "new", "Flash", "and", "loads", "the", "session", "data", "inside", "its", "data", "." ]
[ "func", "newFlash", "(", "session", "*", "Session", ")", "*", "Flash", "{", "result", ":=", "&", "Flash", "{", "data", ":", "map", "[", "string", "]", "[", "]", "string", "{", "}", ",", "}", "\n\n", "if", "session", ".", "Session", "!=", "nil", "...
7,837
all-7838
[ "FasthttpSocksDialer", "returns", "a", "fasthttp", ".", "DialFunc", "that", "dials", "using", "the", "provided", "SOCKS5", "proxy", ".", "Example", "usage", ":", "c", ":", "=", "&fasthttp", ".", "Client", "{", "Dial", ":", "fasthttpproxy", ".", "FasthttpSocksD...
[ "func", "FasthttpSocksDialer", "(", "proxyAddr", "string", ")", "fasthttp", ".", "DialFunc", "{", "return", "func", "(", "addr", "string", ")", "(", "net", ".", "Conn", ",", "error", ")", "{", "dialer", ",", "err", ":=", "proxy", ".", "SOCKS5", "(", "\...
7,838
all-7839
[ "MutateSetOptions", "for", "SetFlag", "sets", "the", "SetOptionsOp", "s", "SetFlags", "field" ]
[ "func", "(", "m", "SetFlag", ")", "MutateSetOptions", "(", "o", "*", "xdr", ".", "SetOptionsOp", ")", "(", "err", "error", ")", "{", "if", "!", "isFlagValid", "(", "xdr", ".", "AccountFlags", "(", "m", ")", ")", "{", "return", "<mask>", ".", "New", ...
7,839
all-7840
[ "SetScopeCmd", "returns", "a", "cobra", "command", "that", "lets", "a", "user", "set", "the", "level", "of", "access", "that", "another", "user", "has", "to", "a", "repo" ]
[ "func", "SetScopeCmd", "(", "noMetrics", ",", "noPortForwarding", "*", "bool", ")", "*", "cobra", ".", "Command", "{", "setScope", ":=", "&", "cobra", ".", "Command", "{", "Use", ":", "\"", "\"", ",", "Short", ":", "\"", "\"", ",", "Long", ":", "\"",...
7,840
all-7841
[ "Group", "calls", "the", "specified", "function", "with", "the", "subrouter", "for", "the", "given", "pattern" ]
[ "func", "(", "r", "*", "Router", ")", "Group", "(", "pattern", "string", ",", "group", "func", "(", "*", "Router", ")", ")", "{", "c", ":=", "r", ".", "pattern", "(", "pattern", ")", "\n", "group", "(", "r", ".", "<mask>", "(", "c", ")", ")", ...
7,841
all-7842
[ "StopEmission", "is", "a", "wrapper", "around", "g_signal_stop_emission_by_name", "()", "." ]
[ "func", "(", "v", "*", "<mask>", ")", "StopEmission", "(", "s", "string", ")", "{", "cstr", ":=", "C", ".", "CString", "(", "s", ")", "\n", "defer", "C", ".", "free", "(", "unsafe", ".", "Pointer", "(", "cstr", ")", ")", "\n", "C", ".", "g_sign...
7,842
all-7843
[ "native", "returns", "a", "pointer", "to", "the", "underlying", "GSource", "." ]
[ "func", "(", "v", "*", "<mask>", ")", "native", "(", ")", "*", "C", ".", "GSource", "{", "if", "v", "==", "nil", "{", "return", "nil", "\n", "}", "\n", "return", "(", "*", "C", ".", "GSource", ")", "(", "v", ")", "\n", "}" ]
7,843
all-7844
[ "addFile", "adds", "the", "file", "described", "by", "info", "to", "a", "target", "in", "the", "package", "p", "if", "the", "file", "is", "buildable", ".", "cgo", "tells", "whether", "any", ".", "go", "file", "in", "the", "package", "contains", "cgo", ...
[ "func", "(", "pkg", "*", "goPackage", ")", "addFile", "(", "c", "*", "config", ".", "Config", ",", "info", "fileInfo", ",", "cgo", "bool", ")", "error", "{", "switch", "{", "case", "info", ".", "ext", "==", "unknownExt", "||", "!", "cgo", "&&", "("...
7,844
all-7845
[ "Int", "adds", "an", "int", "-", "valued", "key", ":", "value", "pair", "to", "a", "Span", ".", "LogFields", "()", "record" ]
[ "func", "Int", "(", "<mask>", "string", ",", "val", "int", ")", "Field", "{", "return", "Field", "{", "key", ":", "key", ",", "fieldType", ":", "intType", ",", "numericVal", ":", "int64", "(", "val", ")", ",", "}", "\n", "}" ]
7,845
all-7846
[ "WriteLines", "prints", "each", "input", "item", "s", "followed", "by", "a", "newline", "to", "writer", ";", "and", "in", "addition", "it", "emits", "s", ".", "Therefore", "WriteLines", "()", "can", "be", "used", "like", "the", "tee", "command", "which", ...
[ "func", "WriteLines", "(", "writer", "io", ".", "Writer", ")", "<mask>", "{", "return", "FilterFunc", "(", "func", "(", "arg", "Arg", ")", "error", "{", "for", "s", ":=", "range", "arg", ".", "In", "{", "if", "_", ",", "err", ":=", "writer", ".", ...
7,846
all-7847
[ "SetPoolLimit", "sets", "the", "maximum", "number", "of", "sockets", "in", "use", "in", "a", "single", "server", "before", "this", "session", "will", "block", "waiting", "for", "a", "socket", "to", "be", "available", ".", "The", "default", "limit", "is", "...
[ "func", "(", "s", "*", "<mask>", ")", "SetPoolLimit", "(", "limit", "int", ")", "{", "s", ".", "m", ".", "Lock", "(", ")", "\n", "s", ".", "poolLimit", "=", "limit", "\n", "s", ".", "m", ".", "Unlock", "(", ")", "\n", "}" ]
7,847
all-7848
[ "FromFirst", "returns", "a", "function", "that", "runs", "multiple", "token", "extractors", "and", "takes", "the", "first", "token", "it", "finds" ]
[ "func", "FromFirst", "(", "extractors", "...", "TokenExtractor", ")", "TokenExtractor", "{", "return", "func", "(", "r", "*", "<mask>", ".", "Request", ")", "(", "string", ",", "error", ")", "{", "for", "_", ",", "ex", ":=", "range", "extractors", "{", ...
7,848
all-7849
[ "Store", "stores", "an", "error", "into", "the", "request", "s", "context", ".", "It", "panics", "if", "the", "request", "was", "not", "configured", "to", "store", "errors", "." ]
[ "func", "<mask>", "(", "r", "*", "http", ".", "Request", ",", "err", "error", ")", "{", "errptr", ",", "ok", ":=", "r", ".", "Context", "(", ")", ".", "Value", "(", "errorKey", ")", ".", "(", "*", "error", ")", "\n", "if", "!", "ok", "{", "pa...
7,849
all-7850
[ "/", "*", "GtkDialog", "GetActionArea", "()", "is", "a", "wrapper", "around", "gtk_dialog_get_action_area", "()", "." ]
[ "func", "(", "v", "*", "Dialog", ")", "GetActionArea", "(", ")", "(", "*", "Widget", ",", "<mask>", ")", "{", "c", ":=", "C", ".", "gtk_dialog_get_action_area", "(", "v", ".", "native", "(", ")", ")", "\n", "if", "c", "==", "nil", "{", "return", ...
7,850
all-7851
[ "NewDAG", "creates", "a", "DAG", "and", "populates", "it", "with", "the", "given", "nodes", "." ]
[ "func", "NewDAG", "(", "nodes", "map", "[", "string", "]", "[", "]", "string", ")", "*", "DAG", "{", "result", ":=", "&", "DAG", "{", "parents", ":", "make", "(", "map", "[", "string", "]", "[", "]", "string", ")", ",", "children", ":", "make", ...
7,851
all-7852
[ "WithScreenshot", "if", "set", "a", "screenshot", "of", "the", "frame", "will", "be", "captured", "and", "returned", "in", "the", "response", ".", "Otherwise", "no", "screenshot", "will", "be", "captured", ".", "Note", "that", "capturing", "a", "screenshot", ...
[ "func", "(", "p", "BeginFrameParams", ")", "WithScreenshot", "(", "screenshot", "*", "ScreenshotParams", ")", "*", "BeginFrameParams", "{", "p", ".", "Screenshot", "=", "screenshot", "\n", "<mask>", "&", "p", "\n", "}" ]
7,852
all-7853
[ "Initialize", "GenMetadata", "from", "each", "SS", "API", "generated", "metadata" ]
[ "func", "setupMetadata", "(", ")", "(", "<mask>", "map", "[", "string", "]", "*", "metadata", ".", "Resource", ")", "{", "result", "=", "make", "(", "map", "[", "string", "]", "*", "metadata", ".", "Resource", ")", "\n", "for", "n", ",", "r", ":=",...
7,853
all-7854
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "ReadParams", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoIo3", "(", "&", "w", ",", "v", ")", "\n", "...
7,854
all-7855
[ "GetPlaceholderText", "()", "is", "a", "wrapper", "around", "gtk_entry_get_placeholder_text", "()", "." ]
[ "func", "(", "v", "*", "<mask>", ")", "GetPlaceholderText", "(", ")", "(", "string", ",", "error", ")", "{", "c", ":=", "C", ".", "gtk_entry_get_placeholder_text", "(", "v", ".", "native", "(", ")", ")", "\n", "if", "c", "==", "nil", "{", "return", ...
7,855
all-7856
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "EventRequestPaused", ")", "MarshalJSON", "(", ")", "(", "[", "]", "<mask>", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoFetch8", "(", "&", "w", ",", "v", ")"...
7,856
all-7857
[ "QueryConfigOptionDescriptor", "returns", "a", "list", "the", "list", "of", "ConfigOption", "keys", "available", "on", "the", "environment", "that", "this", "browser", "targets", ".", "The", "keys", "can", "be", "used", "as", "query", "options", "for", "DefaultD...
[ "func", "(", "b", "*", "EnvironmentBrowser", ")", "QueryConfigOptionDescriptor", "(", "ctx", "context", ".", "Context", ")", "(", "[", "]", "types", ".", "VirtualMachineConfigOptionDescriptor", ",", "error", ")", "{", "req", ":=", "<mask>", ".", "QueryConfigOpti...
7,857
all-7858
[ "optionsForRepo", "gets", "the", "plugins", ".", "Lgtm", "struct", "that", "is", "applicable", "to", "the", "indicated", "repo", "." ]
[ "func", "optionsForRepo", "(", "config", "*", "plugins", ".", "Configuration", ",", "org", ",", "repo", "string", ")", "*", "plugins", ".", "Lgtm", "{", "fullName", ":=", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "org", ",", "repo", ")", "\n", "fo...
7,858
all-7859
[ "UpdateDeps", "is", "used", "to", "update", "the", "values", "of", "the", "dependencies", "for", "a", "template" ]
[ "func", "(", "d", "*", "DedupManager", ")", "UpdateDeps", "(", "t", "*", "template", ".", "Template", ",", "deps", "[", "]", "dep", ".", "Dependency", ")", "error", "{", "// Calculate the path to write updates to", "dataPath", ":=", "path", ".", "Join", "(",...
7,859
all-7860
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "ReleaseSnapshotParams", ")", "UnmarshalJSON", "(", "data", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "data", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoLayertree6", "(", "&"...
7,860
all-7861
[ "Next", "returns", "the", "next", "logical", "network", "number", "." ]
[ "func", "(", "n", "NetworkNumber", ")", "Next", "(", ")", "NetworkNumber", "{", "newIP", ":=", "<mask>", "(", "NetworkNumber", ",", "len", "(", "n", ")", ")", "\n", "copy", "(", "newIP", ",", "n", ")", "\n", "for", "i", ":=", "len", "(", "newIP", ...
7,861
all-7862
[ "connect", "establishes", "a", "new", "connection", "using", "the", "specified", "transport", "." ]
[ "func", "(", "f", "*", "Fluent", ")", "connect", "(", ")", "(", "err", "error", ")", "{", "host", ",", "port", ",", "err", ":=", "<mask>", ".", "SplitHostPort", "(", "f", ".", "Server", ")", "\n", "if", "err", "!=", "nil", "{", "return", "err", ...
7,862
all-7863
[ "determine", "if", "a", "name", "corresponds", "to", "a", "sampler", "object" ]
[ "func", "IsSampler", "(", "sampler", "uint32", ")", "bool", "{", "ret", ":=", "C", ".", "glowIsSampler", "(", "gpIsSampler", ",", "(", "C", ".", "GLuint", ")", "(", "sampler", ")", ")", "\n", "return", "<mask>", "==", "TRUE", "\n", "}" ]
7,863
all-7864
[ "lz4", ".", "Reader", "fuzz", "function" ]
[ "func", "Fuzz", "(", "data", "[", "]", "byte", ")", "int", "{", "// uncompress some data", "d", ",", "err", ":=", "ioutil", ".", "ReadAll", "(", "lz4", ".", "NewReader", "(", "<mask>", ".", "NewReader", "(", "data", ")", ")", ")", "\n", "if", "err", ...
7,864
all-7865
[ "WithContext", "adds", "the", "context", "to", "the", "get", "apps", "params" ]
[ "func", "(", "o", "*", "GetAppsParams", ")", "WithContext", "(", "ctx", "<mask>", ".", "Context", ")", "*", "GetAppsParams", "{", "o", ".", "SetContext", "(", "ctx", ")", "\n", "return", "o", "\n", "}" ]
7,865
all-7866
[ "resourceVSphereVAppContainerApplyTags", "processes", "the", "tags", "step", "for", "both", "create", "and", "update", "for", "vsphere_vapp_container", "." ]
[ "func", "resourceVSphereVAppContainerApplyTags", "(", "d", "*", "schema", ".", "ResourceData", ",", "meta", "<mask>", "{", "}", ",", "va", "*", "object", ".", "VirtualApp", ")", "error", "{", "tagsClient", ",", "err", ":=", "tagsClientIfDefined", "(", "d", "...
7,866
all-7867
[ "Recover", "from", "panic", "and", "log", "the", "stack", ".", "If", "notexit", "is", "false", "call", "os", ".", "Exit", "(", "1", ")", "if", "not", "continue", "." ]
[ "func", "Recover", "(", "notexit", "bool", ")", "{", "if", "r", ":=", "recover", "(", ")", ";", "r", "!=", "nil", "{", "buf", ":=", "make", "(", "[", "]", "byte", ",", "RecoverBufferStack", ")", "\n", "n", ":=", "runtime", ".", "Stack", "(", "buf...
7,867
all-7868
[ "TODO", "(", "dsymonds", ")", ":", "Do", "we", "need", "to", "support", "default", "values", "like", "Python?" ]
[ "func", "mustGetMetadata", "(", "key", "string", ")", "[", "]", "byte", "{", "b", ",", "err", ":=", "getMetadata", "(", "key", ")", "\n", "if", "err", "!=", "nil", "{", "panic", "(", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "<mask>", ",", "er...
7,868
all-7869
[ "Transaction", "creates", "a", "new", "NodeTx", "object", "and", "transactionally", "executes", "the", "node", "-", "level", "database", "interactions", "invoked", "by", "the", "given", "function", ".", "If", "the", "function", "returns", "no", "error", "all", ...
[ "func", "(", "n", "*", "Node", ")", "Transaction", "(", "f", "func", "(", "*", "NodeTx", ")", "error", ")", "error", "{", "nodeTx", ":=", "&", "NodeTx", "{", "}", "\n", "return", "query", ".", "Transaction", "(", "n", ".", "<mask>", ",", "func", ...
7,869
all-7870
[ "Records", "returns", "the", "list", "of", "endpoints" ]
[ "func", "(", "ep", "*", "ExoscaleProvider", ")", "Records", "(", ")", "(", "[", "]", "*", "endpoint", ".", "Endpoint", ",", "error", ")", "{", "endpoints", ":=", "make", "(", "[", "]", "*", "endpoint", ".", "Endpoint", ",", "0", ")", "\n\n", "domai...
7,870
all-7871
[ "GetCountOk", "returns", "a", "tuple", "with", "the", "Count", "field", "if", "it", "s", "non", "-", "nil", "zero", "value", "otherwise", "and", "a", "boolean", "to", "check", "if", "the", "value", "has", "been", "set", "." ]
[ "func", "(", "p", "*", "Params", ")", "GetCountOk", "(", ")", "(", "string", ",", "bool", ")", "{", "if", "p", "==", "nil", "||", "p", ".", "Count", "==", "nil", "{", "return", "\"", "\"", ",", "false", "\n", "}", "\n", "return", "*", "p", "....
7,871
all-7872
[ "GetAllProjects", "retrieves", "and", "returns", "all", "of", "the", "projects", "defined", "in", "the", "Rundeck", "server", "." ]
[ "func", "(", "c", "*", "<mask>", ")", "GetAllProjects", "(", ")", "(", "[", "]", "ProjectSummary", ",", "error", ")", "{", "p", ":=", "&", "projects", "{", "}", "\n", "err", ":=", "c", ".", "get", "(", "[", "]", "string", "{", "\"", "\"", "}", ...
7,872
all-7873
[ "NewTransactionHistoryEntryExt", "creates", "a", "new", "TransactionHistoryEntryExt", "." ]
[ "func", "NewTransactionHistoryEntryExt", "(", "v", "int32", ",", "value", "interface", "{", "}", ")", "(", "result", "TransactionHistoryEntryExt", ",", "err", "error", ")", "{", "result", ".", "V", "=", "v", "\n", "switch", "int32", "(", "v", ")", "{", "...
7,873
all-7874
[ "ReadBool", "reads", "and", "returns", "a", "boolean", "." ]
[ "func", "(", "r", "*", "Reader", ")", "ReadBool", "(", ")", "bool", "{", "if", "r", ".", "err", "!=", "nil", "{", "return", "<mask>", "\n", "}", "\n", "return", "!", "(", "r", ".", "ReadB", "(", ")", "==", "0", ")", "\n", "}" ]
7,874
all-7875
[ "NewController", "creates", "a", "new", "Controller", "from", "the", "provided", "clients", "." ]
[ "func", "NewController", "(", "kc", "*", "kube", ".", "Client", ",", "pkcs", "map", "[", "string", "]", "*", "kube", ".", "Client", ",", "ghc", "GitHubClient", ",", "logger", "*", "logrus", ".", "Entry", ",", "cfg", "config", ".", "Getter", ",", "tot...
7,875
all-7876
[ "/", "*", "PangoFontDescription" ]
[ "func", "marshalFontDescription", "(", "p", "uintptr", ")", "(", "<mask>", "{", "}", ",", "error", ")", "{", "c", ":=", "C", ".", "g_value_get_boxed", "(", "(", "*", "C", ".", "GValue", ")", "(", "unsafe", ".", "Pointer", "(", "p", ")", ")", ")", ...
7,876
all-7877
[ "VisitUserValues", "calls", "visitor", "for", "each", "existing", "userValue", ".", "visitor", "must", "not", "retain", "references", "to", "key", "and", "value", "after", "returning", ".", "Make", "key", "and", "/", "or", "value", "copies", "if", "you", "ne...
[ "func", "(", "ctx", "*", "RequestCtx", ")", "VisitUserValues", "(", "visitor", "func", "(", "[", "]", "byte", ",", "interface", "{", "}", ")", ")", "{", "for", "i", ",", "n", ":=", "0", ",", "len", "(", "ctx", ".", "userValues", ")", ";", "i", ...
7,877
all-7878
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "SetKeyframeKeyParams", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "<mask>", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss20", "(", "&", "w", ",", "v", ")",...
7,878
all-7879
[ "GetIPBlock", "gets", "an", "IP", "blocks" ]
[ "func", "(", "c", "*", "Client", ")", "GetIPBlock", "(", "ipblockid", "string", ")", "(", "*", "IPBlock", ",", "error", ")", "{", "url", ":=", "ipblockPath", "(", "ipblockid", ")", "+", "`?depth=`", "+", "c", ".", "<mask>", ".", "depth", "+", "`&pret...
7,879
all-7880
[ "GetNamedType", "retrieves", "a", "type", "given", "its", "name", "." ]
[ "func", "(", "reg", "*", "TypeRegistry", ")", "GetNamedType", "(", "<mask>", "string", ")", "*", "gen", ".", "ObjectDataType", "{", "return", "reg", ".", "NamedTypes", "[", "toGoTypeName", "(", "name", ")", "]", "\n", "}" ]
7,880
all-7881
[ "CurveTo", "is", "a", "wrapper", "around", "cairo_curve_to", "()", "." ]
[ "func", "(", "v", "*", "<mask>", ")", "CurveTo", "(", "x1", ",", "y1", ",", "x2", ",", "y2", ",", "x3", ",", "y3", "float64", ")", "{", "C", ".", "cairo_curve_to", "(", "v", ".", "native", "(", ")", ",", "C", ".", "double", "(", "x1", ")", ...
7,881
all-7882
[ "Type", "returns", "the", "type", "and", "repeat", "count", "for", "the", "object", "x", ".", "x", "contains", "at", "least", "repeat", "copies", "of", "the", "returned", "type", "." ]
[ "func", "(", "p", "*", "Process", ")", "Type", "(", "x", "<mask>", ")", "(", "*", "Type", ",", "int64", ")", "{", "p", ".", "typeHeap", "(", ")", "\n\n", "i", ",", "_", ":=", "p", ".", "findObjectIndex", "(", "core", ".", "Address", "(", "x", ...
7,882
all-7883
[ "void", "pango_cairo_show_layout_line", "(", "cairo_t", "*", "cr", "PangoLayoutLine", "*", "line", ")", ";" ]
[ "func", "CairoShowLayoutLine", "(", "cr", "*", "cairo", ".", "<mask>", ",", "line", "*", "LayoutLine", ")", "{", "C", ".", "pango_cairo_show_layout_line", "(", "cairo_context", "(", "cr", ")", ",", "line", ".", "native", "(", ")", ")", "\n", "}" ]
7,883
all-7884
[ "copyMetricsMetadata", "creates", "a", "new", "MetricsMetadata", "object", "from", "a", "given", "MetricsMetadata", "object", ".", "It", "copies", "all", "the", "fields", "from", "the", "source", "object", "to", "the", "new", "object", "and", "sets", "the", "F...
[ "func", "copyMetricsMetadata", "(", "metadata", "*", "ecstcs", ".", "MetricsMetadata", ",", "fin", "bool", ")", "*", "ecstcs", ".", "MetricsMetadata", "{", "return", "&", "ecstcs", ".", "MetricsMetadata", "{", "Cluster", ":", "aws", ".", "String", "(", "*", ...
7,884
all-7885
[ "Wrap", "returns", "the", "underlying", "handler", "wrapped", "in", "a", "LoggingHandler", "which", "will", "write", "to", "the", "given", "Writer", ".", "N", ".", "B", ".", ":", "You", "must", "call", "Start", "()", "on", "the", "result", "before", "usi...
[ "func", "Wrap", "(", "h", "<mask>", ".", "Handler", ",", "w", "io", ".", "Writer", ")", "*", "LoggingHandler", "{", "return", "&", "LoggingHandler", "{", "clock", ":", "time", ".", "Now", ",", "w", ":", "w", ",", "handler", ":", "h", ",", "buffer",...
7,885
all-7886
[ "title", ":", "updates", "a", "role", "path", ":", "/", "roles", "method", ":", "PUT", "responses", ":", "200", ":", "Ok", "400", ":", "Invalid", "data", "401", ":", "Unauthorized" ]
[ "func", "roleUpdate", "(", "w", "http", ".", "ResponseWriter", ",", "r", "*", "http", ".", "Request", ",", "t", "auth", ".", "Token", ")", "error", "{", "roleName", ":=", "InputValue", "(", "r", ",", "\"", "\"", ")", "\n", "newName", ":=", "InputValu...
7,886
all-7887
[ "AddDeltaJob", "adds", "a", "new", "delta", "for", "a", "specific", "job" ]
[ "func", "(", "r", "*", "<mask>", ")", "AddDeltaJob", "(", "dj", "*", "DeltaJob", ")", "{", "r", ".", "DeltaJob", "=", "append", "(", "r", ".", "DeltaJob", ",", "*", "dj", ")", "\n", "}" ]
7,887
all-7888
[ "IsAddressCovered", "detects", "if", "network", "address1", "is", "actually", "covered", "by", "address2", "in", "the", "sense", "that", "they", "are", "either", "the", "same", "address", "or", "address2", "is", "specified", "using", "a", "wildcard", "with", "...
[ "func", "IsAddressCovered", "(", "address1", ",", "address2", "string", ")", "bool", "{", "if", "address1", "==", "address2", "{", "return", "true", "\n", "}", "\n\n", "host1", ",", "port1", ",", "err", ":=", "net", ".", "SplitHostPort", "(", "address1", ...
7,888
all-7889
[ "Send", "an", "rsync", "stream", "of", "a", "path", "over", "a", "websocket" ]
[ "func", "rsyncSend", "(", "conn", "*", "websocket", ".", "Conn", ",", "path", "string", ",", "rsyncArgs", "string", ")", "error", "{", "cmd", ",", "dataSocket", ",", "stderr", ",", "err", ":=", "rsyncSendSetup", "(", "path", ",", "rsyncArgs", ")", "\n", ...
7,889
all-7890
[ "JoinGroup", "is", "a", "wrapper", "around", "gtk_radio_button_join_group", "()", "." ]
[ "func", "(", "v", "*", "RadioButton", ")", "JoinGroup", "(", "groupSource", "*", "RadioButton", ")", "{", "<mask>", "cgroup", "*", "C", ".", "GtkRadioButton", "\n", "if", "groupSource", "!=", "nil", "{", "cgroup", "=", "groupSource", ".", "native", "(", ...
7,890
all-7891
[ "jsonEncoder", "is", "an", "Encoder", "that", "produces", "JSON", "-", "formatted", "responses", "." ]
[ "func", "(", "_", "JsonEncoder", ")", "Encode", "(", "v", "...", "interface", "{", "}", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "var", "<mask>", "interface", "{", "}", "=", "v", "\n", "var", "result", "interface", "{", "}", "\n\n", "i...
7,891
all-7892
[ "ErrorFunc", "outputs", "Error", "level", "log", "returned", "from", "the", "function" ]
[ "func", "ErrorFunc", "(", "f", "func", "(", ")", "string", ")", "error", "{", "if", "isModeEnable", "(", "ERR", ")", "{", "return", "glg", ".", "<mask>", "(", "ERR", ",", "\"", "\"", ",", "f", "(", ")", ")", "\n", "}", "\n", "return", "nil", "\...
7,892
all-7893
[ "Concat", "combine", "several", "arrays", "into", "single", "one", "resulting", "slice", "=", "A1", "|", "A2", "|", "A3", "|", "...", "|", "An" ]
[ "func", "Concat", "(", "arrays", "...", "[", "]", "<mask>", ")", "[", "]", "byte", "{", "var", "result", "[", "]", "byte", "=", "arrays", "[", "0", "]", "\n\n", "for", "_", ",", "arr", ":=", "range", "arrays", "[", "1", ":", "]", "{", "result",...
7,893
all-7894
[ "loadClusters", "parses", "and", "filters", "the", "json", "data", "then", "populates", "every", "Cluster", "struct", "with", "aggregated", "job", "data", "and", "totals", ".", "The", "job", "data", "specifies", "all", "jobs", "that", "failed", "in", "a", "c...
[ "func", "(", "f", "*", "TriageFiler", ")", "loadClusters", "(", "jsonIn", "[", "]", "byte", ")", "(", "[", "]", "*", "Cluster", ",", "error", ")", "{", "var", "err", "error", "\n", "f", ".", "data", ",", "err", "=", "parseTriageData", "(", "jsonIn"...
7,894
all-7895
[ "GetReadOnly", "returns", "the", "ReadOnly", "field", "if", "non", "-", "nil", "zero", "value", "otherwise", "." ]
[ "func", "(", "d", "*", "DashboardLite", ")", "GetReadOnly", "(", ")", "bool", "{", "if", "d", "==", "nil", "||", "d", ".", "ReadOnly", "==", "nil", "{", "return", "<mask>", "\n", "}", "\n", "return", "*", "d", ".", "ReadOnly", "\n", "}" ]
7,895
all-7896
[ "Meta", "returns", "a", "call", "option", "which", "attaches", "the", "given", "meta", "object", "to", "the", "JSON", "-", "RPC", "2", ".", "0", "request", "(", "this", "is", "a", "Sourcegraph", "extension", "to", "JSON", "RPC", "2", ".", "0", "for", ...
[ "func", "Meta", "(", "meta", "<mask>", "{", "}", ")", "CallOption", "{", "return", "callOptionFunc", "(", "func", "(", "r", "*", "Request", ")", "error", "{", "return", "r", ".", "SetMeta", "(", "meta", ")", "\n", "}", ")", "\n", "}" ]
7,896
all-7897
[ "SetUri", "is", "a", "wrapper", "around", "gtk_link_button_set_uri", "()", "." ]
[ "func", "(", "v", "*", "LinkButton", ")", "SetUri", "(", "uri", "<mask>", ")", "{", "cstr", ":=", "C", ".", "CString", "(", "uri", ")", "\n", "C", ".", "gtk_link_button_set_uri", "(", "v", ".", "native", "(", ")", ",", "(", "*", "C", ".", "gchar"...
7,897
all-7898
[ "paint", "draws", "the", "brush", "on", "the", "given", "canvas", "image", "at", "the", "position", "(", "x", "y", ")", "." ]
[ "func", "paint", "(", "canvas", "*", "ebiten", ".", "Image", ",", "x", ",", "y", "int", ")", "{", "op", ":=", "&", "ebiten", ".", "DrawImageOptions", "{", "}", "\n", "op", ".", "GeoM", ".", "Translate", "(", "float64", "(", "x", ")", ",", "float6...
7,898
all-7899
[ "asChanges", "returns", "a", "sequence", "of", "changes", "that", "could", "be", "used", "to", "recreate", "the", "Manifest", "in", "its", "present", "state", "." ]
[ "func", "(", "m", "*", "Manifest", ")", "asChanges", "(", ")", "[", "]", "*", "<mask>", ".", "ManifestChange", "{", "changes", ":=", "make", "(", "[", "]", "*", "pb", ".", "ManifestChange", ",", "0", ",", "len", "(", "m", ".", "Tables", ")", ")",...
7,899
all-7900
[ "SetActive", "()", "is", "a", "wrapper", "around", "gtk_combo_box_set_active", "()", "." ]
[ "func", "(", "v", "*", "ComboBox", ")", "SetActive", "(", "index", "int", ")", "{", "C", ".", "gtk_combo_box_set_active", "(", "v", ".", "native", "(", ")", ",", "C", ".", "gint", "(", "<mask>", ")", ")", "\n", "}" ]