id
int32
0
25.3k
idx
stringlengths
5
9
nl_tokens
listlengths
1
418
pl_tokens
listlengths
22
4.98k
3,500
all-3501
[ "AsyncWithContext", "converts", "a", "Check", "into", "an", "asynchronous", "check", "that", "runs", "in", "a", "background", "goroutine", "at", "a", "fixed", "interval", ".", "The", "check", "is", "called", "at", "a", "fixed", "rate", "not", "with", "a", ...
[ "func", "AsyncWithContext", "(", "ctx", "context", ".", "Context", ",", "check", "Check", ",", "interval", "time", ".", "Duration", ")", "Check", "{", "// create a chan that will buffer the most recent check result", "result", ":=", "make", "(", "chan", "error", ","...
3,501
all-3502
[ "Arc", "draws", "an", "arc", "with", "a", "positive", "angle", "(", "clockwise", ")" ]
[ "func", "Arc", "(", "gc", "draw2d", ".", "GraphicContext", ",", "xc", ",", "yc", ",", "width", ",", "height", "float64", ")", "{", "// draw an arc", "xc", "+=", "width", "/", "2", "\n", "yc", "+=", "height", "/", "2", "\n", "radiusX", ",", "radiusY",...
3,502
all-3503
[ "regexpMatch", "matches", "the", "given", "regexp", "and", "extracts", "the", "match", "groups", "into", "a", "named", "map", "." ]
[ "func", "regexpMatch", "(", "re", "*", "regexp", ".", "Regexp", ",", "q", "string", ")", "map", "[", "string", "]", "string", "{", "names", ":=", "re", ".", "SubexpNames", "(", ")", "\n", "match", ":=", "re", ".", "FindAllStringSubmatch", "(", "q", "...
3,503
all-3504
[ "Column", "returns", "the", "attributes", "for", "first", "column", ".", "*", "DEPRECATED", "*" ]
[ "func", "(", "qr", "*", "QueryResponse", ")", "<mask>", "(", ")", "ColumnItem", "{", "if", "len", "(", "qr", ".", "ColumnList", ")", "==", "0", "{", "return", "ColumnItem", "{", "}", "\n", "}", "\n", "return", "qr", ".", "ColumnList", "[", "0", "]"...
3,504
all-3505
[ "End", "returns", "the", "last", "value", "of", "the", "last", "range" ]
[ "func", "(", "l", "*", "InclusiveRanges", ")", "End", "(", ")", "int", "{", "if", "l", ".", "blocks", "==", "nil", "{", "return", "0", "\n", "}", "\n", "return", "l", ".", "<mask>", "[", "len", "(", "l", ".", "blocks", ")", "-", "1", "]", "."...
3,505
all-3506
[ "ReadAtMost", "reads", "at", "most", "n", "bytes", "from", "a", "file", "in", "GCS", ".", "If", "the", "file", "is", "compressed", "(", "gzip", ")", "in", "GCS", "n", "bytes", "of", "gzipped", "content", "will", "be", "downloaded", "and", "decompressed",...
[ "func", "(", "a", "*", "GCSArtifact", ")", "ReadAtMost", "(", "n", "int64", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "var", "reader", "io", ".", "ReadCloser", "\n", "var", "p", "[", "]", "byte", "\n", "gzipped", ",", "err", ":=", "a", ...
3,506
all-3507
[ "ServeHTTP", "serves", "the", "cache", "Service", "to", "the", "outside", "world", "it", "is", "used", "only", "when", "you", "want", "to", "achieve", "something", "like", "horizontal", "scaling", "it", "parses", "the", "request", "and", "tries", "to", "retu...
[ "func", "(", "s", "*", "Handler", ")", "ServeHTTP", "(", "w", "http", ".", "ResponseWriter", ",", "r", "*", "http", ".", "Request", ")", "{", "// println(\"Request to the remote service has been established\")", "key", ":=", "getURLParam", "(", "r", ",", "cfg", ...
3,507
all-3508
[ "httpResponseStruct", "returns", "the", "response", "structure", "after", "going", "trough", "all", "the", "intermediary", "response", "writers", "." ]
[ "func", "httpResponseStruct", "(", "v", "reflect", ".", "Value", ")", "reflect", ".", "<mask>", "{", "if", "v", ".", "Kind", "(", ")", "==", "reflect", ".", "Ptr", "{", "v", "=", "v", ".", "Elem", "(", ")", "\n", "}", "\n\n", "if", "v", ".", "T...
3,508
all-3509
[ "SetMenuLabel", "()", "is", "a", "wrapper", "around", "gtk_notebook_set_menu_label", "()", "." ]
[ "func", "(", "v", "*", "Notebook", ")", "SetMenuLabel", "(", "child", ",", "menuLabel", "IWidget", ")", "{", "C", ".", "gtk_notebook_set_menu_label", "(", "v", ".", "native", "(", ")", ",", "<mask>", ".", "toWidget", "(", ")", ",", "menuLabel", ".", "t...
3,509
all-3510
[ "BytesPerSec", "tells", "the", "rate", "per", "second", "at", "which", "bytes", "were", "read", "since", "last", "measurement", "." ]
[ "func", "(", "m", "*", "MeasuredReader", ")", "BytesPerSec", "(", ")", "uint64", "{", "return", "uint64", "(", "m", ".", "rate", ".", "Rate", "(", "<mask>", ".", "Second", ")", ")", "\n", "}" ]
3,510
all-3511
[ "GamepadIDButtonPressed", "returns", "a", "gamepad", "ID", "where", "at", "least", "one", "button", "is", "pressed", ".", "If", "no", "button", "is", "pressed", "GamepadIDButtonPressed", "returns", "-", "1", "." ]
[ "func", "(", "i", "*", "Input", ")", "GamepadIDButtonPressed", "(", ")", "int", "{", "for", "_", ",", "id", ":=", "<mask>", "ebiten", ".", "GamepadIDs", "(", ")", "{", "for", "b", ":=", "ebiten", ".", "GamepadButton", "(", "0", ")", ";", "b", "<=",...
3,511
all-3512
[ "GetVizOk", "returns", "a", "tuple", "with", "the", "Viz", "field", "if", "it", "s", "non", "-", "nil", "zero", "value", "otherwise", "and", "a", "boolean", "to", "check", "if", "the", "value", "has", "been", "set", "." ]
[ "func", "(", "t", "*", "TileDef", ")", "GetVizOk", "(", ")", "(", "string", ",", "bool", ")", "{", "if", "t", "==", "nil", "||", "t", ".", "Viz", "==", "nil", "{", "return", "\"", "\"", ",", "<mask>", "\n", "}", "\n", "return", "*", "t", ".",...
3,512
all-3513
[ "Encode", "encodes", "the", "generic", "value", "v", "." ]
[ "func", "(", "e", "Encoder", ")", "Encode", "(", "v", "interface", "{", "}", ")", "(", "err", "error", ")", "{", "if", "err", "=", "e", ".", "encodeMapValueMaybe", "(", ")", ";", "err", "!=", "nil", "{", "return", "\n", "}", "\n\n", "// This type s...
3,513
all-3514
[ "NewWriter", "creates", "a", "new", "hashtree", "writer", "." ]
[ "func", "NewWriter", "(", "w", "io", ".", "Writer", ")", "*", "<mask>", "{", "return", "&", "Writer", "{", "pbw", ":", "pbutil", ".", "NewWriter", "(", "w", ")", ",", "}", "\n", "}" ]
3,514
all-3515
[ "TrimAboveName", "returns", "a", "slice", "of", "the", "Trace", "with", "all", "entries", "above", "the", "highest", "with", "function", "name", "name", "removed", "." ]
[ "func", "(", "pcs", "Trace", ")", "TrimAboveName", "(", "name", "string", ")", "Trace", "{", "for", "len", "(", "pcs", ")", ">", "0", "&&", "pcs", "[", "len", "(", "pcs", ")", "-", "1", "]", ".", "name", "(", ")", "!=", "<mask>", "{", "pcs", ...
3,515
all-3516
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "SetShowPaintRectsParams", ")", "UnmarshalJSON", "(", "data", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "<mask>", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoOverlay2", "(", "...
3,516
all-3517
[ "ReadByte", "returns", "the", "next", "decrypted", "byte", "." ]
[ "func", "(", "cr", "*", "cipherBlockReader", ")", "ReadByte", "(", ")", "(", "byte", ",", "error", ")", "{", "for", "{", "if", "cr", ".", "n", "<", "len", "(", "cr", ".", "outbuf", ")", "{", "c", ":=", "cr", ".", "outbuf", "[", "cr", ".", "n"...
3,517
all-3518
[ "SetIdx", "implements", "the", "driver", ".", "Error", "interface", "." ]
[ "func", "(", "e", "*", "hdbErrors", ")", "SetIdx", "(", "idx", "int", ")", "{", "switch", "{", "<mask>", "idx", "<", "0", ":", "e", ".", "idx", "=", "0", "\n", "case", "idx", ">=", "e", ".", "numArg", ":", "e", ".", "idx", "=", "e", ".", "n...
3,518
all-3519
[ "Merge", "merges", "the", "other", "GossipData", "into", "this", "one", "and", "returns", "our", "resulting", "complete", "state", "." ]
[ "func", "(", "st", "*", "state", ")", "Merge", "(", "<mask>", "mesh", ".", "GossipData", ")", "(", "complete", "mesh", ".", "GossipData", ")", "{", "return", "st", ".", "mergeComplete", "(", "other", ".", "(", "*", "state", ")", ".", "copy", "(", "...
3,519
all-3520
[ "DefaultVersion", "returns", "the", "default", "version", "of", "the", "specified", "module", ".", "If", "module", "is", "the", "empty", "string", "it", "means", "the", "default", "module", "." ]
[ "func", "DefaultVersion", "(", "c", "context", ".", "Context", ",", "module", "string", ")", "(", "string", ",", "error", ")", "{", "req", ":=", "&", "pb", ".", "GetDefaultVersionRequest", "{", "}", "\n", "if", "module", "!=", "\"", "\"", "{", "req", ...
3,520
all-3521
[ "BlobInfoFromSchema2Descriptor", "returns", "a", "types", ".", "BlobInfo", "based", "on", "the", "input", "schema", "2", "descriptor", "." ]
[ "func", "BlobInfoFromSchema2Descriptor", "(", "desc", "Schema2Descriptor", ")", "types", ".", "BlobInfo", "{", "return", "<mask>", ".", "BlobInfo", "{", "Digest", ":", "desc", ".", "Digest", ",", "Size", ":", "desc", ".", "Size", ",", "URLs", ":", "desc", ...
3,521
all-3522
[ "NewInMemoryProvider", "returns", "InMemoryProvider", "DNS", "provider", "interface", "implementation" ]
[ "func", "NewInMemoryProvider", "(", "opts", "...", "InMemoryOption", ")", "*", "InMemoryProvider", "{", "im", ":=", "&", "InMemoryProvider", "{", "filter", ":", "&", "filter", "{", "}", ",", "OnApplyChanges", ":", "func", "(", "changes", "*", "plan", ".", ...
3,522
all-3523
[ "HasTime", "returns", "a", "boolean", "if", "a", "field", "has", "been", "set", "." ]
[ "func", "(", "l", "*", "LogStreamDefinition", ")", "HasTime", "(", ")", "bool", "{", "if", "l", "!=", "nil", "&&", "l", ".", "Time", "!=", "nil", "{", "return", "<mask>", "\n", "}", "\n\n", "return", "false", "\n", "}" ]
3,523
all-3524
[ "hostDatastoreSystemFromHostSystemID", "locates", "a", "HostDatastoreSystem", "from", "a", "specified", "HostSystem", "managed", "object", "ID", "." ]
[ "func", "hostDatastoreSystemFromHostSystemID", "(", "<mask>", "*", "govmomi", ".", "Client", ",", "hsID", "string", ")", "(", "*", "object", ".", "HostDatastoreSystem", ",", "error", ")", "{", "hs", ",", "err", ":=", "hostsystem", ".", "FromID", "(", "client...
3,524
all-3525
[ "parseBytes", "parses", "the", "byte", "data", "and", "returns", "the", "elements", "." ]
[ "func", "parseBytes", "(", "data", "[", "]", "byte", ",", "rslt", "*", "result", ",", "src", "*", "source", ",", "opts", "*", "Options", ",", "f", "*", "File", ")", "(", "[", "]", "element", ",", "error", ")", "{", "var", "elements", "[", "]", ...
3,525
all-3526
[ "New", "Returns", "a", "new", "S3", "domain", "defaults", "to", "DefaultDomain", "if", "empty" ]
[ "func", "New", "(", "<mask>", "string", ",", "keys", "Keys", ")", "*", "S3", "{", "if", "domain", "==", "\"", "\"", "{", "domain", "=", "DefaultDomain", "\n", "}", "\n", "return", "&", "S3", "{", "domain", ",", "keys", "}", "\n", "}" ]
3,526
all-3527
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "LoadSnapshotReturns", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoLayertree12", "(", "&", "w", ",", "v", ...
3,527
all-3528
[ "Cmds", "returns", "pachctl", "commands", "related", "to", "Pachyderm", "Enterprise" ]
[ "func", "Cmds", "(", "noMetrics", ",", "noPortForwarding", "*", "bool", ")", "[", "]", "*", "cobra", ".", "Command", "{", "var", "commands", "[", "]", "*", "cobra", ".", "Command", "\n\n", "enterprise", ":=", "&", "cobra", ".", "Command", "{", "Short",...
3,528
all-3529
[ "RemoveAll", "removes", "all", "values", "from", "the", "set", "if", "they", "exist", "in", "the", "set", "." ]
[ "func", "(", "s", "*", "Set", ")", "RemoveAll", "(", "values", "...", "interface", "{", "}", ")", "{", "s", ".", "Lock", "(", ")", "\n", "defer", "s", ".", "Unlock", "(", ")", "\n", "for", "_", ",", "value", ":=", "range", "values", "{", "delet...
3,529
all-3530
[ "GetContent", "returns", "the", "Content", "field", "if", "non", "-", "nil", "zero", "value", "otherwise", "." ]
[ "func", "(", "n", "*", "NoteDefinition", ")", "GetContent", "(", ")", "string", "{", "if", "n", "==", "nil", "||", "n", ".", "Content", "==", "nil", "{", "return", "\"", "\"", "\n", "}", "\n", "<mask>", "*", "n", ".", "Content", "\n", "}" ]
3,530
all-3531
[ "Uint8", "returns", "the", "uint8", "value", "stored", "in", "r", ".", "r", "must", "have", "type", "uint8", "." ]
[ "func", "(", "r", "region", ")", "Uint8", "(", ")", "uint8", "{", "if", "r", ".", "typ", ".", "Kind", "!=", "KindUint", "||", "r", ".", "typ", ".", "Size", "!=", "1", "{", "panic", "(", "\"", "\"", "+", "r", ".", "typ", ".", "<mask>", ")", ...
3,531
all-3532
[ "Use", "pushes", "one", "or", "multiple", "middlewares", "to", "the", "stack", "for", "middlewares", "maintained", "in", "the", "Api", "object", "." ]
[ "func", "(", "api", "*", "Api", ")", "Use", "(", "middlewares", "...", "Middleware", ")", "{", "api", ".", "stack", "=", "append", "(", "api", ".", "<mask>", ",", "middlewares", "...", ")", "\n", "}" ]
3,532
all-3533
[ "AddOutput", "adds", "an", "output", "writer", "to", "Bench" ]
[ "func", "(", "b", "*", "Bench", ")", "AddOutput", "(", "interval", "time", ".", "Duration", ",", "writer", "io", ".", "<mask>", ",", "output", "output", ".", "OutputFunc", ")", "{", "o", ":=", "outputContainer", "{", "interval", ":", "interval", ",", "...
3,533
all-3534
[ "findSegmentForIndex", "finds", "the", "first", "segment", "greater", "than", "or", "equal", "to", "index", "." ]
[ "func", "(", "w", "*", "WALWatcher", ")", "findSegmentForIndex", "(", "index", "int", ")", "(", "int", ",", "error", ")", "{", "refs", ",", "err", ":=", "w", ".", "segments", "(", "w", ".", "walDir", ")", "\n", "if", "err", "!=", "nil", "{", "ret...
3,534
all-3535
[ "NAME", "say", "-", "hello", "-", "Say", "hello", "to", "current", "user", "DESCRIPTION", "Print", "out", "hello", "to", "current", "user", "OPTIONS", "-", "n", "--", "name", "=", "<NAME", ">", "say", "hello", "to", "an", "user", "with", "the", "given"...
[ "func", "TaskSayHello", "(", "t", "*", "tasking", ".", "T", ")", "{", "username", ":=", "t", ".", "Flags", ".", "String", "(", "\"", "\"", ")", "\n", "if", "username", "==", "\"", "\"", "{", "user", ",", "_", ":=", "user", ".", "Current", "(", ...
3,535
all-3536
[ "ParseVersion", "parses", "version", ".", "Info", "into", "a", "ServerVersion", "struct" ]
[ "func", "ParseVersion", "(", "v", "*", "version", ".", "Info", ")", "(", "ServerVersion", ",", "error", ")", "{", "var", "ret", "ServerVersion", "\n", "var", "err", "error", "\n", "<mask>", ".", "Major", ",", "err", "=", "strconv", ".", "Atoi", "(", ...
3,536
all-3537
[ "PangoColor", "*", "pango_color_copy", "(", "const", "PangoColor", "*", "src", ")", ";" ]
[ "func", "(", "v", "*", "Color", ")", "Copy", "(", "c", "*", "<mask>", ")", "*", "Color", "{", "w", ":=", "new", "(", "Color", ")", "\n", "w", ".", "pangoColor", "=", "C", ".", "pango_color_copy", "(", "v", ".", "native", "(", ")", ")", "\n", ...
3,537
all-3538
[ "GetDescription", "returns", "the", "Description", "field", "if", "non", "-", "nil", "zero", "value", "otherwise", "." ]
[ "func", "(", "d", "*", "Dashboard", ")", "GetDescription", "(", ")", "string", "{", "if", "d", "==", "nil", "||", "d", ".", "Description", "==", "nil", "{", "return", "\"", "\"", "\n", "}", "\n", "return", "*", "d", ".", "<mask>", "\n", "}" ]
3,538
all-3539
[ "GetOrderByOk", "returns", "a", "tuple", "with", "the", "OrderBy", "field", "if", "it", "s", "non", "-", "nil", "zero", "value", "otherwise", "and", "a", "boolean", "to", "check", "if", "the", "value", "has", "been", "set", "." ]
[ "func", "(", "c", "*", "ChangeRequest", ")", "GetOrderByOk", "(", ")", "(", "string", ",", "bool", ")", "{", "if", "c", "==", "nil", "||", "c", ".", "OrderBy", "==", "nil", "{", "return", "\"", "\"", ",", "<mask>", "\n", "}", "\n", "return", "*",...
3,539
all-3540
[ "DelCookie", "removes", "cookie", "under", "the", "given", "key", "." ]
[ "func", "(", "h", "*", "RequestHeader", ")", "DelCookie", "(", "<mask>", "string", ")", "{", "h", ".", "parseRawHeaders", "(", ")", "\n", "h", ".", "collectCookies", "(", ")", "\n", "h", ".", "cookies", "=", "delAllArgs", "(", "h", ".", "cookies", ",...
3,540
all-3541
[ "Image", "handling", "functions", "GetImages", "returns", "a", "list", "of", "available", "images", "as", "Image", "structs" ]
[ "func", "(", "r", "*", "ProtocolLXD", ")", "GetImages", "(", ")", "(", "[", "]", "api", ".", "<mask>", ",", "error", ")", "{", "images", ":=", "[", "]", "api", ".", "Image", "{", "}", "\n\n", "_", ",", "err", ":=", "r", ".", "queryStruct", "(",...
3,541
all-3542
[ "NormalizeValue", "converts", "a", "value", "to", "something", "that", "is", "suitable", "to", "be", "set", "in", "a", "ResourceData", "and", "can", "be", "useful", "in", "situations", "where", "there", "is", "not", "access", "to", "normal", "helper", "/", ...
[ "func", "NormalizeValue", "(", "v", "interface", "{", "}", ")", "interface", "{", "}", "{", "v", "=", "DeRef", "(", "v", ")", "\n", "if", "v", "==", "nil", "{", "return", "nil", "\n", "}", "\n", "k", ":=", "reflect", ".", "TypeOf", "(", "v", ")...
3,542
all-3543
[ "String", "returns", "a", "readable", "status", "messsage", "usable", "in", "texts", "." ]
[ "func", "(", "s", "<mask>", ")", "String", "(", ")", "string", "{", "str", ":=", "StatusToString", "(", "s", ")", "\n", "str", "=", "strings", ".", "Replace", "(", "str", ",", "\"", "\"", ",", "\"", "\"", ",", "1", ")", "\n", "str", "=", "strin...
3,543
all-3544
[ "del", "invokes", "the", "DEL", "command", "of", "the", "given", "plugin" ]
[ "func", "(", "<mask>", "*", "cniClient", ")", "del", "(", "runtimeConfig", "libcni", ".", "RuntimeConf", ",", "cfg", "*", "Config", ",", "pluginConfigFunc", "func", "(", "*", "Config", ")", "(", "string", ",", "*", "libcni", ".", "NetworkConfig", ",", "e...
3,544
all-3545
[ "CreateNewRecord", "-", "creates", "a", "record", "from", "a", "given", "period", "delimited", "property", "and", "enaml", ".", "JobManifestProperty" ]
[ "func", "CreateNewRecord", "(", "property", "string", ",", "yaml", "enaml", ".", "JobManifestProperty", ")", "(", "<mask>", "Record", ")", "{", "elementArray", ":=", "strings", ".", "Split", "(", "property", ",", "\"", "\"", ")", "\n", "record", "=", "Reco...
3,545
all-3546
[ "Rate", "fetches", "an", "instrument", "from", "the", "registry", "or", "creates", "a", "new", "one", ".", "If", "another", "instrument", "type", "is", "already", "registered", "with", "the", "same", "name", "/", "tags", "a", "blank", "one", "will", "be", ...
[ "func", "(", "r", "*", "Registry", ")", "Rate", "(", "name", "string", ",", "tags", "[", "]", "string", ")", "*", "Rate", "{", "return", "r", ".", "fetchRate", "(", "<mask>", ",", "tags", ",", "newRate", ")", "\n", "}" ]
3,546
all-3547
[ "ShouldRun", "determines", "if", "we", "can", "know", "for", "certain", "that", "the", "job", "should", "run", ".", "We", "can", "either", "know", "for", "certain", "that", "the", "job", "should", "or", "should", "not", "run", "based", "on", "the", "matc...
[ "func", "(", "cm", "RegexpChangeMatcher", ")", "ShouldRun", "(", "<mask>", "ChangedFilesProvider", ")", "(", "determined", "bool", ",", "shouldRun", "bool", ",", "err", "error", ")", "{", "if", "cm", ".", "CouldRun", "(", ")", "{", "changeList", ",", "err"...
3,547
all-3548
[ "Add", "adds", "the", "given", "key", ":", "value", "header", ".", "Multiple", "headers", "with", "the", "same", "key", "may", "be", "added", "with", "this", "function", ".", "Use", "Set", "for", "setting", "a", "single", "header", "for", "the", "given",...
[ "func", "(", "h", "*", "RequestHeader", ")", "Add", "(", "key", ",", "<mask>", "string", ")", "{", "k", ":=", "getHeaderKeyBytes", "(", "&", "h", ".", "bufKV", ",", "key", ",", "h", ".", "disableNormalizing", ")", "\n", "h", ".", "h", "=", "appendA...
3,548
all-3549
[ "DefaultDaemon", "returns", "a", "new", "un", "-", "initialized", "Daemon", "object", "with", "default", "values", "." ]
[ "func", "DefaultDaemon", "(", ")", "*", "Daemon", "{", "config", ":=", "DefaultDaemonConfig", "(", ")", "\n", "<mask>", ":=", "sys", ".", "DefaultOS", "(", ")", "\n", "return", "NewDaemon", "(", "config", ",", "os", ")", "\n", "}" ]
3,549
all-3550
[ "NewUpdateDirCommand", "returns", "the", "CLI", "command", "for", "updatedir", "." ]
[ "func", "NewUpdateDirCommand", "(", ")", "<mask>", ".", "Command", "{", "return", "cli", ".", "Command", "{", "Name", ":", "\"", "\"", ",", "Usage", ":", "\"", "\"", ",", "ArgsUsage", ":", "\"", "\"", ",", "Flags", ":", "[", "]", "cli", ".", "Flag"...
3,550
all-3551
[ "Send", "sends", "a", "presence", "update", "." ]
[ "func", "(", "p", "*", "Presence", ")", "Send", "(", "c", "context", ".", "Context", ")", "error", "{", "req", ":=", "&", "pb", ".", "XmppSendPresenceRequest", "{", "Jid", ":", "&", "p", ".", "To", ",", "}", "\n", "if", "p", ".", "State", "!=", ...
3,551
all-3552
[ "Update", "updates", "the", "timestamp", "of", "a", "target", "resource", ".", "In", ":", "name", "-", "name", "of", "the", "target", "resource", "state", "-", "current", "state", "of", "the", "resource", "owner", "-", "current", "owner", "of", "the", "r...
[ "func", "(", "r", "*", "Ranch", ")", "Update", "(", "name", ",", "owner", ",", "state", "string", ",", "ud", "*", "common", ".", "UserData", ")", "error", "{", "r", ".", "resourcesLock", ".", "Lock", "(", ")", "\n", "defer", "r", ".", "resourcesLoc...
3,552
all-3553
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "EventApplicationCacheStatusUpdated", ")", "MarshalJSON", "(", ")", "(", "[", "]", "<mask>", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoApplicationcache9", "(", "&",...
3,553
all-3554
[ "RemoveENIAttachment", "mocks", "base", "method" ]
[ "func", "(", "m", "*", "MockTaskEngineState", ")", "RemoveENIAttachment", "(", "arg0", "<mask>", ")", "{", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "}" ]
3,554
all-3555
[ "Collect", "metrics" ]
[ "func", "(", "t", "*", "Tags", ")", "Stat", "(", "send", "helper", ".", "StatCallback", ")", "{", "helper", ".", "SendAndSubstractUint32", "(", "\"", "\"", ",", "&", "t", ".", "q", ".", "stat", ".", "putErrors", ",", "send", ")", "\n", "helper", "....
3,555
all-3556
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "QuerySelectorAllParams", ")", "UnmarshalJSON", "(", "data", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "<mask>", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoDom22", "(", "&", ...
3,556
all-3557
[ "generateUserCredentials", "uses", "the", "vault", "plugin", "s", "Admin", "credentials", "to", "generate", "a", "new", "Pachyderm", "authentication", "token", "for", "username", "(", "i", ".", "e", ".", "the", "user", "who", "is", "currently", "requesting", "...
[ "func", "generateUserCredentials", "(", "ctx", "context", ".", "<mask>", ",", "pachdAddress", "string", ",", "adminToken", "string", ",", "username", "string", ",", "ttl", "time", ".", "Duration", ")", "(", "string", ",", "error", ")", "{", "// Setup a single ...
3,557
all-3558
[ "BuildContainerDependency", "adds", "a", "new", "dependency", "container", "and", "satisfied", "status", "to", "the", "dependent", "container" ]
[ "func", "(", "c", "*", "Container", ")", "BuildContainerDependency", "(", "contName", "string", ",", "satisfiedStatus", "apicontainerstatus", ".", "ContainerStatus", ",", "dependentStatus", "apicontainerstatus", ".", "ContainerStatus", ")", "{", "contDep", ":=", "Cont...
3,558
all-3559
[ "buildAll", "ensures", "that", "all", "builds", "that", "should", "run", "and", "will", "be", "required", "are", "built" ]
[ "func", "buildAll", "(", "c", "<mask>", ",", "pr", "*", "github", ".", "PullRequest", ",", "eventGUID", "string", ",", "elideSkippedContexts", "bool", ")", "error", "{", "org", ",", "repo", ",", "number", ",", "branch", ":=", "pr", ".", "Base", ".", "R...
3,559
all-3560
[ "GetSignatures", "returns", "the", "image", "s", "signatures", ".", "It", "may", "use", "a", "remote", "(", "=", "slow", ")", "service", ".", "If", "instanceDigest", "is", "not", "nil", "it", "contains", "a", "digest", "of", "the", "specific", "manifest", ...
[ "func", "(", "s", "*", "dirImageSource", ")", "GetSignatures", "(", "ctx", "context", ".", "Context", ",", "instanceDigest", "*", "digest", ".", "Digest", ")", "(", "[", "]", "[", "]", "<mask>", ",", "error", ")", "{", "if", "instanceDigest", "!=", "ni...
3,560
all-3561
[ "Init", "allocates", "new", "logger", "based", "on", "given", "options", "." ]
[ "func", "Init", "(", "opts", "Opts", ")", "(", "logger", "*", "zap", ".", "Logger", ",", "err", "error", ")", "{", "var", "(", "cfg", "zap", ".", "Config", "\n", "options", "[", "]", "zap", ".", "Option", "\n", "lvl", "zapcore", ".", "Level", "\n...
3,561
all-3562
[ "render", "primitives", "from", "array", "data" ]
[ "func", "DrawArrays", "(", "<mask>", "uint32", ",", "first", "int32", ",", "count", "int32", ")", "{", "C", ".", "glowDrawArrays", "(", "gpDrawArrays", ",", "(", "C", ".", "GLenum", ")", "(", "mode", ")", ",", "(", "C", ".", "GLint", ")", "(", "fir...
3,562
all-3563
[ "UnmarshalYAML", "implements", "the", "yaml", ".", "Unmarshaler", "interface", "." ]
[ "func", "(", "<mask>", "*", "Regexp", ")", "UnmarshalYAML", "(", "unmarshal", "func", "(", "interface", "{", "}", ")", "error", ")", "error", "{", "var", "s", "string", "\n", "if", "err", ":=", "unmarshal", "(", "&", "s", ")", ";", "err", "!=", "ni...
3,563
all-3564
[ "SetGaugeFunc", "sets", "a", "gauge", "to", "a", "function", "[", "called", "at", "flush", "interval", "]" ]
[ "func", "(", "m", "*", "CirconusMetrics", ")", "SetGaugeFunc", "(", "metric", "<mask>", ",", "fn", "func", "(", ")", "int64", ")", "{", "m", ".", "gfm", ".", "Lock", "(", ")", "\n", "defer", "m", ".", "gfm", ".", "Unlock", "(", ")", "\n", "m", ...
3,564
all-3565
[ "title", ":", "unset", "envs", "path", ":", "/", "apps", "/", "{", "app", "}", "/", "env", "method", ":", "DELETE", "produce", ":", "application", "/", "x", "-", "json", "-", "stream", "responses", ":", "200", ":", "Envs", "removed", "400", ":", "I...
[ "func", "unsetEnv", "(", "w", "http", ".", "ResponseWriter", ",", "r", "*", "http", ".", "Request", ",", "t", "auth", ".", "Token", ")", "(", "err", "error", ")", "{", "msg", ":=", "\"", "\"", "\n", "if", "InputValue", "(", "r", ",", "\"", "\"", ...
3,565
all-3566
[ "Reset", "mocks", "base", "method" ]
[ "func", "(", "m", "*", "MockTimer", ")", "Reset", "(", "arg0", "<mask>", ".", "Duration", ")", "bool", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ",", "arg0", ")", "\n", "ret0", ",", "_", ":=", "ret", "[", "0"...
3,566
all-3567
[ "LoadFromFile", "loads", "the", "cedar", "from", "a", "file", "where", "dataType", "is", "either", "json", "or", "gob", "." ]
[ "func", "(", "da", "*", "Cedar", ")", "LoadFromFile", "(", "fileName", "string", ",", "dataType", "string", ")", "error", "{", "file", ",", "err", ":=", "os", ".", "OpenFile", "(", "fileName", ",", "<mask>", ".", "O_RDONLY", ",", "0600", ")", "\n", "...
3,567
all-3568
[ "Register", "registers", "itself", "as", "a", "grpc", "-", "proxy", "server", "by", "writing", "prefixed", "-", "key", "with", "session", "of", "specified", "TTL", "(", "in", "seconds", ")", ".", "The", "returned", "channel", "is", "closed", "when", "the",...
[ "func", "Register", "(", "c", "*", "clientv3", ".", "Client", ",", "prefix", "string", ",", "addr", "string", ",", "ttl", "int", ")", "<-", "chan", "struct", "{", "}", "{", "rm", ":=", "rate", ".", "NewLimiter", "(", "rate", ".", "Limit", "(", "reg...
3,568
all-3569
[ "Actual", "is", "used", "to", "build", "a", "cluster", "based", "on", "instances", "on", "the", "cloud", "provider", "." ]
[ "func", "(", "r", "*", "InstanceGroup", ")", "Actual", "(", "immutable", "*", "cluster", ".", "Cluster", ")", "(", "*", "cluster", ".", "Cluster", ",", "cloud", ".", "Resource", ",", "error", ")", "{", "logger", ".", "Debug", "(", "\"", "\"", ")", ...
3,569
all-3570
[ "bind", "a", "named", "texture", "to", "a", "texturing", "target" ]
[ "func", "BindTexture", "(", "<mask>", "uint32", ",", "texture", "uint32", ")", "{", "syscall", ".", "Syscall", "(", "gpBindTexture", ",", "2", ",", "uintptr", "(", "target", ")", ",", "uintptr", "(", "texture", ")", ",", "0", ")", "\n", "}" ]
3,570
all-3571
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "NameValuePair", ")", "UnmarshalJSON", "(", "data", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "<mask>", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoHar7", "(", "&", "r", "...
3,571
all-3572
[ "SetDateHeader", "sets", "a", "date", "to", "the", "given", "header", "field", "." ]
[ "func", "(", "m", "*", "Message", ")", "SetDateHeader", "(", "field", "string", ",", "date", "time", ".", "Time", ")", "{", "m", ".", "header", "[", "<mask>", "]", "=", "[", "]", "string", "{", "m", ".", "FormatDate", "(", "date", ")", "}", "\n",...
3,572
all-3573
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "GetWindowForTargetParams", ")", "UnmarshalJSON", "(", "<mask>", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "data", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoBrowser6", "(", ...
3,573
all-3574
[ "RecordKnownLocation", "records", "that", "a", "blob", "with", "the", "specified", "digest", "exists", "within", "the", "specified", "(", "transport", "scope", ")", "scope", "and", "can", "be", "reused", "given", "the", "opaque", "location", "data", "." ]
[ "func", "(", "bdc", "*", "cache", ")", "RecordKnownLocation", "(", "transport", "types", ".", "ImageTransport", ",", "scope", "types", ".", "BICTransportScope", ",", "blobDigest", "digest", ".", "Digest", ",", "location", "types", ".", "BICLocationReference", ")...
3,574
all-3575
[ "GetDeadline", "returns", "the", "status", "code", "and", "body", "of", "url", ".", "The", "contents", "of", "dst", "will", "be", "replaced", "by", "the", "body", "and", "returned", "if", "the", "dst", "is", "too", "small", "a", "new", "slice", "will", ...
[ "func", "GetDeadline", "(", "dst", "[", "]", "byte", ",", "<mask>", "string", ",", "deadline", "time", ".", "Time", ")", "(", "statusCode", "int", ",", "body", "[", "]", "byte", ",", "err", "error", ")", "{", "return", "defaultClient", ".", "GetDeadlin...
3,575
all-3576
[ "UnmarshalJSON", "satisfies", "json", ".", "Unmarshaler", "." ]
[ "func", "(", "t", "*", "DOMBreakpointType", ")", "UnmarshalJSON", "(", "buf", "[", "]", "<mask>", ")", "error", "{", "return", "easyjson", ".", "Unmarshal", "(", "buf", ",", "t", ")", "\n", "}" ]
3,576
all-3577
[ "SetSelectable", "is", "a", "wrapper", "around", "gtk_label_set_selectable", "()", "." ]
[ "func", "(", "v", "*", "Label", ")", "SetSelectable", "(", "setting", "bool", ")", "{", "C", ".", "gtk_label_set_selectable", "(", "v", ".", "native", "(", ")", ",", "gbool", "(", "<mask>", ")", ")", "\n", "}" ]
3,577
all-3578
[ "zfsModuleVersionGet", "returns", "the", "ZFS", "module", "version" ]
[ "func", "zfsModuleVersionGet", "(", ")", "(", "string", ",", "error", ")", "{", "<mask>", "zfsVersion", "string", "\n\n", "if", "shared", ".", "PathExists", "(", "\"", "\"", ")", "{", "out", ",", "err", ":=", "ioutil", ".", "ReadFile", "(", "\"", "\"",...
3,578
all-3579
[ "parseBICLocationReference", "returns", "a", "repository", "for", "encoded", "lr", "." ]
[ "func", "parseBICLocationReference", "(", "lr", "types", ".", "BICLocationReference", ")", "(", "<mask>", ".", "Named", ",", "error", ")", "{", "return", "reference", ".", "ParseNormalizedNamed", "(", "lr", ".", "Opaque", ")", "\n", "}" ]
3,579
all-3580
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "EventWebSocketFrameReceived", ")", "UnmarshalJSON", "(", "data", "[", "]", "<mask>", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "data", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork43", "("...
3,580
all-3581
[ "Run", "invokes", "a", "single", "send", "/", "receive", "procedure", ".", "It", "sends", "packets", "to", "all", "hosts", "which", "have", "already", "been", "added", "by", "AddIP", "()", "etc", ".", "and", "wait", "those", "responses", ".", "When", "it...
[ "func", "(", "p", "*", "Pinger", ")", "Run", "(", ")", "error", "{", "p", ".", "mu", ".", "Lock", "(", ")", "\n", "p", ".", "ctx", "=", "newContext", "(", ")", "\n", "p", ".", "mu", ".", "Unlock", "(", ")", "\n", "p", ".", "<mask>", "(", ...
3,581
all-3582
[ "StaticCallee", "returns", "the", "callee", "if", "this", "is", "a", "trivially", "static", "call", "-", "mode", "call", "to", "a", "function", "." ]
[ "func", "(", "c", "*", "CallCommon", ")", "StaticCallee", "(", ")", "*", "Function", "{", "switch", "fn", ":=", "c", ".", "<mask>", ".", "(", "type", ")", "{", "case", "*", "Function", ":", "return", "fn", "\n", "case", "*", "MakeClosure", ":", "re...
3,582
all-3583
[ "Parse", "converts", "a", "byte", "array", "containing", "R", "SEXP", "to", "a", "golang", "object", ".", "This", "can", "be", "converted", "to", "native", "golang", "types", "." ]
[ "func", "Parse", "(", "buf", "[", "]", "byte", ",", "<mask>", "int", ")", "(", "interface", "{", "}", ",", "error", ")", "{", "obj", ",", "_", ",", "err", ":=", "parseReturningOffset", "(", "buf", ",", "offset", ")", "\n", "return", "obj", ",", "...
3,583
all-3584
[ "Sets", "the", "contents", "of", "register", "sa", "to", "a", "regular", "string", "and", "removes", "the", "raw", "string", "mark", "forcing", "html", "escapes", "to", "be", "applied", "when", "printing", ".", "Note", "that", "this", "effectively", "stringi...
[ "func", "txUnmarkRaw", "(", "st", "*", "State", ")", "{", "if", "reflect", ".", "ValueOf", "(", "st", ".", "sa", ")", ".", "<mask>", "(", ")", "==", "rawStringType", "{", "st", ".", "sa", "=", "string", "(", "interfaceToString", "(", "st", ".", "sa...
3,584
all-3585
[ "UrlFor", "returns", "the", "relative", "URL", "for", "the", "route", "name" ]
[ "func", "UrlFor", "(", "name", "string", ",", "args", "...", "string", ")", "*", "url", ".", "<mask>", "{", "r", ":=", "Router", ".", "Get", "(", "name", ")", "\n", "if", "r", "==", "nil", "{", "log", ".", "Panicf", "(", "\"", "\\n", "\"", ",",...
3,585
all-3586
[ "SetFocusVisible", "is", "a", "wrapper", "around", "gtk_window_set_focus_visible", "()", "." ]
[ "func", "(", "v", "*", "Window", ")", "SetFocusVisible", "(", "<mask>", "bool", ")", "{", "C", ".", "gtk_window_set_focus_visible", "(", "v", ".", "native", "(", ")", ",", "gbool", "(", "setting", ")", ")", "\n", "}" ]
3,586
all-3587
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "ClearDeviceOrientationOverrideParams", ")", "UnmarshalJSON", "(", "<mask>", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "data", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoDeviceor...
3,587
all-3588
[ "Timeout", "is", "a", "middleware", "that", "cancels", "ctx", "after", "a", "given", "timeout", "and", "return", "a", "504", "Gateway", "Timeout", "error", "to", "the", "client", ".", "It", "s", "required", "that", "you", "select", "the", "ctx", ".", "Do...
[ "func", "Timeout", "(", "timeout", "time", ".", "Duration", ")", "func", "(", "next", "http", ".", "Handler", ")", "http", ".", "Handler", "{", "return", "func", "(", "<mask>", "http", ".", "Handler", ")", "http", ".", "Handler", "{", "fn", ":=", "fu...
3,588
all-3589
[ "bind", "a", "level", "of", "a", "texture", "to", "an", "image", "unit" ]
[ "func", "BindImageTexture", "(", "unit", "uint32", ",", "texture", "uint32", ",", "level", "int32", ",", "layered", "bool", ",", "layer", "int32", ",", "access", "uint32", ",", "format", "uint32", ")", "{", "C", ".", "glowBindImageTexture", "(", "gpBindImage...
3,589
all-3590
[ "GetIncreaseGoodOk", "returns", "a", "tuple", "with", "the", "IncreaseGood", "field", "if", "it", "s", "non", "-", "nil", "zero", "value", "otherwise", "and", "a", "boolean", "to", "check", "if", "the", "value", "has", "been", "set", "." ]
[ "func", "(", "t", "*", "TileDefRequest", ")", "GetIncreaseGoodOk", "(", ")", "(", "bool", ",", "bool", ")", "{", "if", "t", "==", "nil", "||", "t", ".", "IncreaseGood", "==", "nil", "{", "return", "false", ",", "<mask>", "\n", "}", "\n", "return", ...
3,590
all-3591
[ "GetEnvOk", "returns", "a", "tuple", "with", "the", "Env", "field", "if", "it", "s", "non", "-", "nil", "zero", "value", "otherwise", "and", "a", "boolean", "to", "check", "if", "the", "value", "has", "been", "set", "." ]
[ "func", "(", "w", "*", "Widget", ")", "GetEnvOk", "(", ")", "(", "string", ",", "bool", ")", "{", "if", "w", "==", "nil", "||", "w", ".", "Env", "==", "nil", "{", "return", "\"", "\"", ",", "false", "\n", "}", "\n", "return", "*", "w", ".", ...
3,591
all-3592
[ "As", "mesured", "by", "the", "timer", "middleware", "." ]
[ "func", "(", "u", "*", "accessLogUtil", ")", "ResponseTime", "(", ")", "*", "time", ".", "Duration", "{", "if", "u", ".", "R", ".", "Env", "[", "\"", "\"", "]", "!=", "nil", "{", "return", "u", ".", "R", ".", "Env", "[", "\"", "\"", "]", ".",...
3,592
all-3593
[ "<vector", "-", "type", ">", "::", "=", "Dv", "<number", ">", "_", "<type", ">", "::", "=", "Dv", "_", "<expression", ">", "_", "<type", ">" ]
[ "func", "(", "st", "*", "state", ")", "vectorType", "(", "isCast", "bool", ")", "AST", "{", "if", "len", "(", "st", ".", "str", ")", "==", "0", "{", "st", ".", "fail", "(", "\"", "\"", ")", "\n", "}", "\n\n", "var", "dim", "AST", "\n", "if", ...
3,593
all-3594
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "TakeTypeProfileReturns", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoProfiler2", "(", "&", "w", ",", "v", ...
3,594
all-3595
[ "SetupNS", "indicates", "an", "expected", "call", "of", "SetupNS" ]
[ "func", "(", "mr", "*", "MockCNIClientMockRecorder", ")", "SetupNS", "(", "arg0", ",", "arg1", ",", "arg2", "<mask>", "{", "}", ")", "*", "gomock", ".", "Call", "{", "return", "mr", ".", "mock", ".", "ctrl", ".", "RecordCallWithMethodType", "(", "mr", ...
3,595
all-3596
[ "NewDryrunSTM", "intiates", "a", "new", "STM", "operation", "but", "the", "final", "commit", "is", "skipped", ".", "It", "uses", "a", "serializable", "model", "." ]
[ "func", "NewDryrunSTM", "(", "ctx", "context", ".", "Context", ",", "c", "*", "v3", ".", "Client", ",", "apply", "func", "(", "STM", ")", "error", ")", "error", "{", "_", ",", "err", ":=", "newSTMSerializable", "(", "ctx", ",", "c", ",", "<mask>", ...
3,596
all-3597
[ "FetchCheckBundle", "retrieves", "check", "bundle", "with", "passed", "cid", "." ]
[ "func", "(", "a", "*", "API", ")", "FetchCheckBundle", "(", "cid", "CIDType", ")", "(", "*", "CheckBundle", ",", "error", ")", "{", "if", "cid", "==", "nil", "||", "*", "cid", "==", "\"", "\"", "{", "return", "nil", ",", "fmt", ".", "Errorf", "("...
3,597
all-3598
[ "SortTypes", "sorts", "the", "given", "types", "from", "least", "specific", "to", "most", "specific" ]
[ "func", "SortTypes", "(", "types", "[", "]", "string", ")", "(", "[", "]", "string", ",", "error", ")", "{", "<mask>", ":=", "&", "typeSorter", "{", "types", ":", "make", "(", "[", "]", "string", ",", "len", "(", "types", ")", ")", "}", "\n", "...
3,598
all-3599
[ "Init", "sets", "the", "Path", "and", "Interval", "options" ]
[ "func", "(", "f", "*", "File", ")", "Init", "(", ")", "error", "{", "if", "f", ".", "Path", "==", "\"", "\"", "{", "return", "fmt", ".", "Errorf", "(", "\"", "\"", ")", "\n", "}", "\n", "if", "f", ".", "Interval", "<", "1", "*", "time", "."...
3,599
all-3600
[ "merge", "merges", "two", "similar", "Call", "zapping", "out", "differences", "." ]
[ "func", "(", "c", "*", "Call", ")", "merge", "(", "r", "*", "Call", ")", "Call", "{", "<mask>", "Call", "{", "SrcPath", ":", "c", ".", "SrcPath", ",", "Line", ":", "c", ".", "Line", ",", "Func", ":", "c", ".", "Func", ",", "Args", ":", "c", ...