id
int32
0
25.3k
idx
stringlengths
5
9
nl_tokens
listlengths
1
418
pl_tokens
listlengths
22
4.98k
2,400
all-2401
[ "NewService", "creates", "a", "new", "VerificationService", "with", "default", "settings", ".", "Arguments", "allowed", ":", "--", "provider", "-", "base", "-", "url", "--", "pact", "-", "urls", "--", "provider", "-", "states", "-", "url", "--", "provider", ...
[ "func", "(", "v", "*", "VerificationService", ")", "NewService", "(", "args", "[", "]", "string", ")", "Service", "{", "<mask>", ".", "Printf", "(", "\"", "\\n", "\"", ",", "args", ")", "\n\n", "v", ".", "Args", "=", "args", "\n", "v", ".", "Cmd", ...
2,401
all-2402
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "RGBA", ")", "UnmarshalJSON", "(", "data", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "data", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoCdp", "(", "&", "r", ",", "v", ...
2,402
all-2403
[ "Start", "starts", "the", "session", ".", "At", "that", "point", "the", "authentication", "will", "be", "done", "." ]
[ "func", "(", "s", "*", "<mask>", ")", "Start", "(", ")", "*", "Error", "{", "currentSession", "=", "s", "\n\n", "berr", ":=", "s", ".", "FetchEntity", "(", "s", ".", "root", ")", "\n\n", "if", "berr", "!=", "nil", "{", "return", "berr", "\n", "}"...
2,403
all-2404
[ "PrepareStmts", "prepares", "all", "registered", "statements", "and", "returns", "an", "index", "from", "statement", "code", "to", "prepared", "statement", "object", "." ]
[ "func", "PrepareStmts", "(", "db", "*", "sql", ".", "DB", ")", "(", "map", "[", "int", "]", "*", "sql", ".", "Stmt", ",", "error", ")", "{", "index", ":=", "map", "[", "int", "]", "*", "sql", ".", "Stmt", "{", "}", "\n\n", "for", "code", ",",...
2,404
all-2405
[ "GetCreateFlags", "registers", "the", "flags", "this", "driver", "adds", "to", "docker", "hosts", "create" ]
[ "func", "(", "d", "*", "Driver", ")", "GetCreateFlags", "(", ")", "[", "]", "mcnflag", ".", "Flag", "{", "return", "[", "]", "mcnflag", ".", "Flag", "{", "mcnflag", ".", "IntFlag", "{", "Name", ":", "\"", "\"", ",", "Usage", ":", "\"", "\"", ",",...
2,405
all-2406
[ "formatHex", "prints", "u", "as", "a", "hexadecimal", "integer", "in", "Go", "notation", "." ]
[ "func", "formatHex", "(", "u", "uint64", ")", "string", "{", "var", "f", "string", "\n", "switch", "{", "case", "u", "<=", "0xff", ":", "f", "=", "\"", "\"", "\n", "case", "u", "<=", "0xffff", ":", "f", "=", "\"", "\"", "\n", "<mask>", "u", "<=...
2,406
all-2407
[ "reversedLabelsToIPv6", "reverses", "the", "provided", "labels", "(", "assumed", "to", "be", "32", "labels", "one", "per", "nibble", "of", "an", "IPv6", "address", ")", "and", "constructs", "an", "IPv6", "address", "returning", "the", "result", "of", "calling"...
[ "func", "reversedLabelsToIPv6", "(", "labels", "[", "]", "string", ")", "<mask>", ".", "IP", "{", "var", "buf", "strings", ".", "Builder", "\n\n", "// If there aren't the right number of labels, it isn't an IPv6 address.", "if", "len", "(", "labels", ")", "!=", "rdn...
2,407
all-2408
[ "AbsorbPiece", "absorbs", "the", "piece", "at", "(", "x", "y", ")", "with", "the", "given", "angle", "into", "the", "field", "." ]
[ "func", "(", "f", "*", "<mask>", ")", "AbsorbPiece", "(", "piece", "*", "Piece", ",", "x", ",", "y", "int", ",", "angle", "Angle", ")", "{", "piece", ".", "AbsorbInto", "(", "f", ",", "x", ",", "y", ",", "angle", ")", "\n", "if", "f", ".", "f...
2,408
all-2409
[ "Wrap", "returns", "an", "error", "that", "wraps", "err", "optionally", "annotating", "with", "the", "message", "text", "." ]
[ "func", "Wrap", "(", "err", "error", ",", "text", "...", "string", ")", "Error", "{", "return", "causer", "(", "newError", "(", "nil", ",", "err", ",", "<mask>", "...", ")", ")", "\n", "}" ]
2,409
all-2410
[ "Set", "updates", "the", "value", "stored", "at", "a", "given", "position", "in", "the", "List", "." ]
[ "func", "(", "l", "*", "List", ")", "Set", "(", "pos", "uint", ",", "val", "interface", "{", "}", ")", "bool", "{", "l", ".", "key", ".", "Lock", "(", ")", "\n", "defer", "l", ".", "key", ".", "Unlock", "(", ")", "\n", "var", "retval", "bool"...
2,410
all-2411
[ "control", "clip", "coordinate", "to", "window", "coordinate", "behavior" ]
[ "func", "ClipControl", "(", "origin", "uint32", ",", "depth", "uint32", ")", "{", "syscall", ".", "Syscall", "(", "gpClipControl", ",", "2", ",", "uintptr", "(", "origin", ")", ",", "uintptr", "(", "<mask>", ")", ",", "0", ")", "\n", "}" ]
2,411
all-2412
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "CreateBrowserContextReturns", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoTarget24", "(", "&", "w", ",", "...
2,412
all-2413
[ "lockPath", "obtains", "the", "pathLock", "for", "path", ".", "The", "caller", "must", "call", "unlockPath", "eventually", "." ]
[ "func", "lockPath", "(", "path", "string", ")", "{", "pl", ":=", "func", "(", ")", "*", "pathLock", "{", "// A scope for defer", "pathLocksMutex", ".", "Lock", "(", ")", "\n", "defer", "pathLocksMutex", ".", "Unlock", "(", ")", "\n", "pl", ",", "<mask>",...
2,413
all-2414
[ "AddData", "appends", "a", "new", "bar", "to", "a", "chart" ]
[ "func", "(", "b", "*", "BarChart", ")", "AddData", "(", "val", "BarData", ")", "{", "b", ".", "mtx", ".", "Lock", "(", ")", "\n", "defer", "b", ".", "mtx", ".", "Unlock", "(", ")", "\n\n", "b", ".", "data", "=", "append", "(", "b", ".", "<mas...
2,414
all-2415
[ "NewStateManager", "indicates", "an", "expected", "call", "of", "NewStateManager" ]
[ "func", "(", "mr", "*", "MockStateManagerMockRecorder", ")", "NewStateManager", "(", "arg0", "<mask>", "{", "}", ",", "arg1", "...", "interface", "{", "}", ")", "*", "gomock", ".", "Call", "{", "varargs", ":=", "append", "(", "[", "]", "interface", "{", ...
2,415
all-2416
[ "CreateRepo", "creates", "a", "new", "Repo", "object", "in", "pfs", "with", "the", "given", "name", ".", "Repos", "are", "the", "top", "level", "data", "object", "in", "pfs", "and", "should", "be", "used", "to", "store", "data", "of", "a", "similar", "...
[ "func", "(", "c", "APIClient", ")", "CreateRepo", "(", "repoName", "<mask>", ")", "error", "{", "_", ",", "err", ":=", "c", ".", "PfsAPIClient", ".", "CreateRepo", "(", "c", ".", "Ctx", "(", ")", ",", "&", "pfs", ".", "CreateRepoRequest", "{", "Repo"...
2,416
all-2417
[ "Next", "returns", "the", "next", "page", "of", "resources", ".", "If", "there", "are", "no", "more", "resources", "NoMoreResults", "is", "returned", "." ]
[ "func", "(", "c", "*", "CountryPricePageIterator", ")", "Next", "(", "ctx", "<mask>", ".", "Context", ")", "(", "*", "CountriesPricePage", ",", "error", ")", "{", "cp", ":=", "new", "(", "CountriesPricePage", ")", "\n", "err", ":=", "c", ".", "p", ".",...
2,417
all-2418
[ "specify", "a", "three", "-", "dimensional", "texture", "image", "in", "a", "compressed", "format" ]
[ "func", "CompressedTexImage3D", "(", "target", "uint32", ",", "level", "int32", ",", "internalformat", "uint32", ",", "width", "int32", ",", "height", "int32", ",", "depth", "int32", ",", "border", "int32", ",", "imageSize", "int32", ",", "data", "unsafe", "...
2,418
all-2419
[ "UnapprovedFiles", "returns", "owners", "files", "that", "still", "need", "approval" ]
[ "func", "(", "ap", "Approvers", ")", "UnapprovedFiles", "(", ")", "sets", ".", "<mask>", "{", "unapproved", ":=", "sets", ".", "NewString", "(", ")", "\n", "for", "fn", ",", "approvers", ":=", "range", "ap", ".", "GetFilesApprovers", "(", ")", "{", "if...
2,419
all-2420
[ "BuildLeet", "builds", "the", "L33T", "Graph" ]
[ "func", "BuildLeet", "(", ")", "Graph", "{", "data", ",", "err", ":=", "<mask>", ".", "Asset", "(", "\"", "\"", ")", "\n", "if", "err", "!=", "nil", "{", "panic", "(", "\"", "\"", ")", "\n", "}", "\n", "return", "getAdjancencyGraphFromFile", "(", "...
2,420
all-2421
[ "Has", "returns", "true", "if", "the", "label", "with", "the", "given", "name", "is", "present", "." ]
[ "func", "(", "ls", "Labels", ")", "Has", "(", "name", "string", ")", "bool", "{", "for", "_", ",", "l", ":=", "range", "ls", "{", "if", "l", ".", "<mask>", "==", "name", "{", "return", "true", "\n", "}", "\n", "}", "\n", "return", "false", "\n"...
2,421
all-2422
[ "getLastActivityTime", "returns", "the", "timestamp", "of", "the", "last", "frame", "read", "or", "written", "excluding", "pings", ".", "If", "no", "frames", "were", "transmitted", "yet", "it", "will", "return", "the", "time", "this", "connection", "was", "cre...
[ "func", "(", "c", "*", "Connection", ")", "getLastActivityTime", "(", ")", "<mask>", ".", "Time", "{", "return", "time", ".", "Unix", "(", "0", ",", "c", ".", "lastActivity", ".", "Load", "(", ")", ")", "\n", "}" ]
2,422
all-2423
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "GetObjectByHeapObjectIDParams", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoHeapprofiler12", "(", "&", "w", ...
2,423
all-2424
[ "determine", "if", "textures", "are", "loaded", "in", "texture", "memory" ]
[ "func", "AreTexturesResident", "(", "n", "int32", ",", "textures", "*", "uint32", ",", "residences", "*", "bool", ")", "bool", "{", "ret", ",", "_", ",", "_", ":=", "syscall", ".", "Syscall", "(", "gpAreTexturesResident", ",", "3", ",", "uintptr", "(", ...
2,424
all-2425
[ "ToInterfaceSlice", "convert", "to", "[]", "interface", "{}", "from", "[]", "string", "." ]
[ "func", "ToInterfaceSlice", "(", "slice", "[", "]", "string", ")", "[", "]", "interface", "{", "}", "{", "result", ":=", "make", "(", "[", "]", "interface", "{", "}", ",", "len", "(", "slice", ")", ")", "\n", "for", "i", ",", "v", ":=", "range", ...
2,425
all-2426
[ "MergeCommitsExistBetween", "runs", "git", "log", "<target", ">", "..", "<head", ">", "--", "merged", "to", "verify", "if", "merge", "commits", "exist", "between", "target", "and", "head", "." ]
[ "func", "(", "r", "*", "Repo", ")", "MergeCommitsExistBetween", "(", "target", ",", "head", "string", ")", "(", "bool", ",", "error", ")", "{", "r", ".", "logger", ".", "Infof", "(", "\"", "\"", ",", "<mask>", ",", "head", ")", "\n", "b", ",", "e...
2,426
all-2427
[ "GetCreatorOk", "returns", "a", "tuple", "with", "the", "Creator", "field", "if", "it", "s", "non", "-", "nil", "zero", "value", "otherwise", "and", "a", "boolean", "to", "check", "if", "the", "value", "has", "been", "set", "." ]
[ "func", "(", "a", "*", "Alert", ")", "GetCreatorOk", "(", ")", "(", "int", ",", "bool", ")", "{", "if", "a", "==", "nil", "||", "a", ".", "Creator", "==", "nil", "{", "return", "0", ",", "false", "\n", "}", "\n", "return", "*", "a", ".", "Cre...
2,427
all-2428
[ "UpdateSpeed", "will", "set", "the", "indicator", "delay", "to", "the", "given", "value" ]
[ "func", "(", "s", "*", "Spinner", ")", "UpdateSpeed", "(", "d", "time", ".", "Duration", ")", "{", "s", ".", "lock", ".", "Lock", "(", ")", "\n", "defer", "s", ".", "<mask>", ".", "Unlock", "(", ")", "\n", "s", ".", "Delay", "=", "d", "\n", "...
2,428
all-2429
[ "NewNetwork", "returns", "Network", "built", "using", "given", "net", ".", "IPNet", "." ]
[ "func", "NewNetwork", "(", "ipNet", "<mask>", ".", "IPNet", ")", "Network", "{", "return", "Network", "{", "IPNet", ":", "ipNet", ",", "Number", ":", "NewNetworkNumber", "(", "ipNet", ".", "IP", ")", ",", "Mask", ":", "NetworkNumberMask", "(", "NewNetworkN...
2,429
all-2430
[ "detectMultipartMessage", "returns", "true", "if", "the", "message", "has", "a", "recognized", "multipart", "Content", "-", "Type", "header" ]
[ "func", "detectMultipartMessage", "(", "root", "*", "Part", ")", "bool", "{", "// Parse top-level multipart", "ctype", ":=", "<mask>", ".", "Header", ".", "Get", "(", "hnContentType", ")", "\n", "mediatype", ",", "_", ",", "_", ",", "err", ":=", "parseMediaT...
2,430
all-2431
[ "NewServer", "returns", "a", "proxy", "implementation", "with", "no", "iptables", "/", "tc", "dependencies", ".", "The", "proxy", "layer", "overhead", "is", "<1ms", "." ]
[ "func", "NewServer", "(", "cfg", "ServerConfig", ")", "Server", "{", "s", ":=", "&", "server", "{", "lg", ":", "cfg", ".", "Logger", ",", "from", ":", "cfg", ".", "From", ",", "to", ":", "cfg", ".", "To", ",", "tlsInfo", ":", "cfg", ".", "TLSInfo...
2,431
all-2432
[ "HasTitle", "returns", "a", "boolean", "if", "a", "field", "has", "been", "set", "." ]
[ "func", "(", "t", "*", "TraceServiceDefinition", ")", "HasTitle", "(", ")", "bool", "{", "if", "t", "!=", "nil", "&&", "t", ".", "Title", "!=", "nil", "{", "return", "<mask>", "\n", "}", "\n\n", "return", "false", "\n", "}" ]
2,432
all-2433
[ "For", "use", "with", "golang", "/", "crypto", "/", "nacl", "/", "box", "If", "error", "returns", "nil", "." ]
[ "func", "(", "pubKey", "PubKeyEd25519", ")", "ToCurve25519", "(", ")", "*", "[", "32", "]", "byte", "{", "keyCurve25519", ",", "pubKeyBytes", ":=", "<mask>", "(", "[", "32", "]", "byte", ")", ",", "[", "32", "]", "byte", "(", "pubKey", ")", "\n", "...
2,433
all-2434
[ "UpdateDesiredStatus", "sets", "the", "known", "status", "of", "the", "task" ]
[ "func", "(", "task", "*", "<mask>", ")", "UpdateDesiredStatus", "(", ")", "{", "task", ".", "lock", ".", "Lock", "(", ")", "\n", "defer", "task", ".", "lock", ".", "Unlock", "(", ")", "\n", "task", ".", "updateTaskDesiredStatusUnsafe", "(", ")", "\n", ...
2,434
all-2435
[ "LastContact", "returns", "the", "time", "of", "last", "contact", "by", "a", "leader", ".", "This", "only", "makes", "sense", "if", "we", "are", "currently", "a", "follower", "." ]
[ "func", "(", "r", "*", "Raft", ")", "LastContact", "(", ")", "<mask>", ".", "Time", "{", "r", ".", "lastContactLock", ".", "RLock", "(", ")", "\n", "last", ":=", "r", ".", "lastContact", "\n", "r", ".", "lastContactLock", ".", "RUnlock", "(", ")", ...
2,435
all-2436
[ "ReadTarget", "returns", "the", "current", "target", "as", "defined", "in", "the", "TSURU_TARGET", "environment", "variable", "or", "in", "the", "target", "file", "." ]
[ "func", "ReadTarget", "(", ")", "(", "string", ",", "error", ")", "{", "if", "target", ":=", "os", ".", "Getenv", "(", "\"", "\"", ")", ";", "target", "!=", "\"", "\"", "{", "targets", ",", "err", ":=", "getTargets", "(", ")", "\n", "if", "err", ...
2,436
all-2437
[ "<bare", "-", "function", "-", "type", ">", "::", "=", "[", "J", "]", "<type", ">", "+" ]
[ "func", "(", "st", "*", "state", ")", "bareFunctionType", "(", "hasReturnType", "bool", ")", "AST", "{", "if", "len", "(", "st", ".", "str", ")", ">", "0", "&&", "st", ".", "str", "[", "0", "]", "==", "'J'", "{", "hasReturnType", "=", "true", "\n...
2,437
all-2438
[ "Get", "returns", "the", "variable", "stored", "in", "slot", "x" ]
[ "func", "(", "v", "Vars", ")", "Get", "(", "k", "interface", "{", "}", ")", "(", "interface", "{", "}", ",", "bool", ")", "{", "key", ",", "<mask>", ":=", "k", ".", "(", "string", ")", "\n", "if", "!", "ok", "{", "key", "=", "fmt", ".", "Sp...
2,438
all-2439
[ "restore", "restores", "the", "images", ".", "Restoring", "means", "to", "make", "all", "*", "graphicscommand", ".", "Image", "objects", "have", "their", "textures", "and", "framebuffers", "." ]
[ "func", "(", "i", "*", "images", ")", "restore", "(", ")", "error", "{", "if", "!", "IsRestoringEnabled", "(", ")", "{", "panic", "(", "\"", "\"", ")", "\n", "}", "\n\n", "// Dispose image explicitly", "for", "img", ":=", "range", "i", ".", "images", ...
2,439
all-2440
[ "Equals", "returns", "true", "if", "the", "checked", "URI", "is", "equivalent", "to", "this", "URI", "." ]
[ "func", "(", "u", "URI", ")", "Equals", "(", "other", "*", "URI", ")", "bool", "{", "if", "other", "==", "nil", "{", "return", "false", "\n", "}", "\n", "return", "u", ".", "scheme", "==", "<mask>", ".", "scheme", "&&", "u", ".", "host", "==", ...
2,440
all-2441
[ "Top", "returns", "the", "element", "at", "the", "top", "of", "the", "stack", "or", "an", "error", "if", "stack", "is", "empty" ]
[ "func", "(", "s", "*", "Stack", ")", "Top", "(", ")", "(", "interface", "{", "}", ",", "error", ")", "{", "if", "len", "(", "*", "s", ")", "==", "0", "{", "return", "nil", ",", "<mask>", ".", "New", "(", "\"", "\"", ")", "\n", "}", "\n", ...
2,441
all-2442
[ "ProjectURIs", "returns", "all", "available", "project", "URIs", "." ]
[ "func", "(", "c", "*", "ClusterTx", ")", "ProjectURIs", "(", "filter", "ProjectFilter", ")", "(", "[", "]", "string", ",", "error", ")", "{", "// Check which filter criteria are active.", "criteria", ":=", "map", "[", "string", "]", "interface", "{", "}", "{...
2,442
all-2443
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "SetPlaybackRateParams", ")", "UnmarshalJSON", "(", "data", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "<mask>", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation1", "(", "...
2,443
all-2444
[ "FuzzConnAfter", "creates", "a", "new", "FuzzedConnection", ".", "Fuzzing", "starts", "when", "the", "duration", "elapses", "." ]
[ "func", "FuzzConnAfter", "(", "conn", "net", ".", "Conn", ",", "d", "time", ".", "Duration", ")", "<mask>", ".", "Conn", "{", "return", "FuzzConnAfterFromConfig", "(", "conn", ",", "d", ",", "DefaultFuzzConnConfig", "(", ")", ")", "\n", "}" ]
2,444
all-2445
[ "SetLeftMargin", "()", "is", "a", "wrapper", "around", "gtk_page_setup_set_left_margin", "()", "." ]
[ "func", "(", "ps", "*", "PageSetup", ")", "SetLeftMargin", "(", "<mask>", "float64", ",", "unit", "Unit", ")", "{", "C", ".", "gtk_page_setup_set_left_margin", "(", "ps", ".", "native", "(", ")", ",", "C", ".", "gdouble", "(", "margin", ")", ",", "C", ...
2,445
all-2446
[ "electSelf", "is", "used", "to", "send", "a", "RequestVote", "RPC", "to", "all", "peers", "and", "vote", "for", "ourself", ".", "This", "has", "the", "side", "affecting", "of", "incrementing", "the", "current", "term", ".", "The", "response", "channel", "r...
[ "func", "(", "r", "*", "Raft", ")", "electSelf", "(", ")", "<-", "chan", "*", "voteResult", "{", "// Create a response channel", "respCh", ":=", "make", "(", "chan", "*", "voteResult", ",", "len", "(", "r", ".", "configurations", ".", "latest", ".", "Ser...
2,446
all-2447
[ "Patch", "adds", "the", "route", "pattern", "that", "matches", "a", "PATCH", "http", "method", "to", "execute", "the", "handlerFn", "http", ".", "HandlerFunc", "." ]
[ "func", "(", "mx", "*", "Mux", ")", "Patch", "(", "pattern", "string", ",", "handlerFn", "<mask>", ".", "HandlerFunc", ")", "{", "mx", ".", "handle", "(", "mPATCH", ",", "pattern", ",", "handlerFn", ")", "\n", "}" ]
2,447
all-2448
[ "ToBoolOr", "parses", "s", "as", "a", "bool", "or", "returns", "defaultValue", "." ]
[ "func", "ToBoolOr", "(", "s", "string", ",", "defaultValue", "bool", ")", "bool", "{", "b", ",", "<mask>", ":=", "strconv", ".", "ParseBool", "(", "s", ")", "\n", "if", "err", "!=", "nil", "{", "return", "defaultValue", "\n", "}", "\n", "return", "b"...
2,448
all-2449
[ "Lua", "5", ".", "1", "lua_tostring", "function", "only", "supports", "string", "and", "numbers", ".", "Extend", "it", "for", "internal", "purposes", ".", "From", "the", "Lua", "5", ".", "3", "source", "code", "." ]
[ "func", "luaToString", "(", "L", "*", "lua", ".", "State", ",", "idx", "int", ")", "string", "{", "switch", "L", ".", "Type", "(", "idx", ")", "{", "case", "lua", ".", "LUA_TNUMBER", ":", "L", ".", "PushValue", "(", "idx", ")", "\n", "defer", "L"...
2,449
all-2450
[ "FixedNew", "is", "a", "wrapper", "around", "gtk_fixed_new", "()", "." ]
[ "func", "FixedNew", "(", ")", "(", "*", "Fixed", ",", "<mask>", ")", "{", "c", ":=", "C", ".", "gtk_fixed_new", "(", ")", "\n", "if", "c", "==", "nil", "{", "return", "nil", ",", "nilPtrErr", "\n", "}", "\n", "obj", ":=", "glib", ".", "Take", "...
2,450
all-2451
[ "Endpoint", "returns", "a", "URL", "constructed", "from", "parts", "and", "version", "appended", "e", ".", "g", ".", "c", ".", "Endpoint", "(", "user", "john", ")", "//", "returns", "/", "v1", "/", "users", "/", "john" ]
[ "func", "(", "c", "*", "<mask>", ")", "Endpoint", "(", "params", "...", "string", ")", "string", "{", "if", "c", ".", "v", "!=", "\"", "\"", "{", "return", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "c", ".", "addr", ",", "c", ".", "v", ","...
2,451
all-2452
[ "UnmarshalJSON", "implements", "JSON", "Unmarshaler", "interface" ]
[ "func", "(", "ud", "*", "UserData", ")", "UnmarshalJSON", "(", "<mask>", "[", "]", "byte", ")", "error", "{", "tmpMap", ":=", "UserDataMap", "{", "}", "\n", "if", "err", ":=", "json", ".", "Unmarshal", "(", "data", ",", "&", "tmpMap", ")", ";", "er...
2,452
all-2453
[ "Release", "marks", "leaving", "of", "an", "accessor", "in", "the", "skiplist" ]
[ "func", "(", "ab", "*", "AccessBarrier", ")", "Release", "(", "bs", "*", "BarrierSession", ")", "{", "if", "ab", ".", "<mask>", "{", "liveCount", ":=", "atomic", ".", "AddInt32", "(", "bs", ".", "liveCount", ",", "-", "1", ")", "\n", "if", "liveCount...
2,453
all-2454
[ "createHardDisk", "creates", "a", "new", "Hard", "Disk", "." ]
[ "func", "createHardDisk", "(", "client", "*", "govmomi", ".", "Client", ",", "size", "int", ",", "diskPath", "string", ",", "diskType", "string", ",", "adapterType", "string", ",", "dc", "string", ")", "error", "{", "var", "vDiskType", "string", "\n", "swi...
2,454
all-2455
[ "WithTimeout", "adds", "the", "timeout", "to", "the", "get", "Vm", "by", "cid", "params" ]
[ "func", "(", "o", "*", "GetVMByCidParams", ")", "WithTimeout", "(", "timeout", "<mask>", ".", "Duration", ")", "*", "GetVMByCidParams", "{", "o", ".", "SetTimeout", "(", "timeout", ")", "\n", "return", "o", "\n", "}" ]
2,455
all-2456
[ "logName", "returns", "a", "new", "log", "file", "name", "containing", "tag", "with", "start", "time", "t", "and", "the", "name", "for", "the", "symlink", "for", "tag", "." ]
[ "func", "logName", "(", "logger", ",", "tag", "string", ",", "t", "time", ".", "Time", ")", "(", "name", ",", "link", "string", ")", "{", "name", "=", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "program", ",", "host", ",", "userName", ",", "log...
2,456
all-2457
[ "GetType", "returns", "the", "Type", "field", "if", "non", "-", "nil", "zero", "value", "otherwise", "." ]
[ "func", "(", "c", "*", "ChangeDefinition", ")", "GetType", "(", ")", "string", "{", "if", "c", "==", "nil", "||", "c", ".", "<mask>", "==", "nil", "{", "return", "\"", "\"", "\n", "}", "\n", "return", "*", "c", ".", "Type", "\n", "}" ]
2,457
all-2458
[ "Merge", "implements", "GossipData", "." ]
[ "func", "(", "d", "*", "surrogateGossipData", ")", "Merge", "(", "other", "GossipData", ")", "GossipData", "{", "o", ":=", "other", ".", "(", "*", "surrogateGossipData", ")", "\n", "messages", ":=", "make", "(", "[", "]", "[", "]", "<mask>", ",", "0", ...
2,458
all-2459
[ "Check", "the", "user", "password", ".", "Graphics", "character", "are", "allowed", ".", "See", "unicode", ".", "IsGraphic", "." ]
[ "func", "CheckPassword", "(", "pass", "string", ",", "min", ",", "max", "int", ")", "error", "{", "if", "len", "(", "pass", ")", "<", "min", "||", "len", "(", "pass", ")", ">", "max", "{", "return", "e", ".", "New", "(", "ErrInvalidPassLength", ")"...
2,459
all-2460
[ "RunBoundedArgs", "wraps", "a", "function", "in", "a", "function", "that", "checks", "its", "argument", "count", "is", "within", "a", "range", "." ]
[ "func", "RunBoundedArgs", "(", "min", "int", ",", "max", "int", ",", "run", "func", "(", "[", "]", "string", ")", "error", ")", "func", "(", "*", "cobra", ".", "Command", ",", "[", "]", "string", ")", "{", "return", "func", "(", "cmd", "*", "cobr...
2,460
all-2461
[ "NewAPIServer", "returns", "a", "new", "admin", ".", "APIServer" ]
[ "func", "NewAPIServer", "(", "address", "string", ",", "storageRoot", "string", ",", "clusterInfo", "*", "admin", ".", "ClusterInfo", ")", "APIServer", "{", "return", "&", "apiServer", "{", "Logger", ":", "<mask>", ".", "NewLogger", "(", "\"", "\"", ")", "...
2,461
all-2462
[ "MarshalEasyJSON", "satisfies", "easyjson", ".", "Marshaler", "." ]
[ "func", "(", "t", "StreamCompression", ")", "MarshalEasyJSON", "(", "out", "*", "jwriter", ".", "Writer", ")", "{", "<mask>", ".", "String", "(", "string", "(", "t", ")", ")", "\n", "}" ]
2,462
all-2463
[ "Get", "implements", "storage", "interface", "." ]
[ "func", "(", "s", "*", "Storage", ")", "Get", "(", "ctx", "context", ".", "Context", ",", "accessToken", "string", ")", "(", "*", "mnemosynerpc", ".", "Session", ",", "error", ")", "{", "span", ",", "ctx", ":=", "opentracing", ".", "StartSpanFromContext"...
2,463
all-2464
[ "HasTitleSize", "returns", "a", "boolean", "if", "a", "field", "has", "been", "set", "." ]
[ "func", "(", "d", "*", "DistributionDefinition", ")", "HasTitleSize", "(", ")", "bool", "{", "if", "d", "!=", "nil", "&&", "d", ".", "TitleSize", "!=", "nil", "{", "return", "<mask>", "\n", "}", "\n\n", "return", "false", "\n", "}" ]
2,464
all-2465
[ "getNextWildcard", "tries", "to", "find", "next", "wildcard", "and", "update", "pattern", "with", "corresponding", "regexp", "." ]
[ "func", "getNextWildcard", "(", "pattern", "string", ")", "(", "wildcard", ",", "_", "string", ")", "{", "pos", ":=", "wildcardPattern", ".", "FindStringIndex", "(", "pattern", ")", "\n", "if", "pos", "==", "nil", "{", "return", "\"", "\"", ",", "pattern...
2,465
all-2466
[ "msb32", "returns", "the", "number", "of", "bits", "required", "to", "store", "the", "value", "x" ]
[ "func", "msb32", "(", "x", "uint32", ")", "int", "{", "pos", ":=", "32", "\n", "temp", ":=", "x", ">>", "16", "\n", "if", "temp", "!=", "0", "{", "pos", "-=", "16", "\n", "x", "=", "temp", "\n", "}", "\n", "temp", "=", "x", ">>", "8", "\n",...
2,466
all-2467
[ "compactionCommandFunc", "executes", "the", "compaction", "command", "." ]
[ "func", "compactionCommandFunc", "(", "cmd", "*", "cobra", ".", "Command", ",", "args", "[", "]", "string", ")", "{", "if", "len", "(", "args", ")", "!=", "1", "{", "ExitWithError", "(", "ExitBadArgs", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ")",...
2,467
all-2468
[ "Config", "fetches", "all", "LXD", "node", "-", "level", "config", "keys", "." ]
[ "func", "(", "n", "*", "NodeTx", ")", "Config", "(", ")", "(", "map", "[", "string", "]", "string", ",", "error", ")", "{", "return", "<mask>", ".", "SelectConfig", "(", "n", ".", "tx", ",", "\"", "\"", ",", "\"", "\"", ")", "\n", "}" ]
2,468
all-2469
[ "SetMetricTags", "sets", "the", "tags", "for", "the", "named", "metric", "and", "flags", "a", "check", "update", "is", "needed" ]
[ "func", "(", "m", "*", "CirconusMetrics", ")", "SetMetricTags", "(", "name", "string", ",", "tags", "[", "]", "string", ")", "bool", "{", "return", "m", ".", "check", ".", "AddMetricTags", "(", "name", ",", "<mask>", ",", "false", ")", "\n", "}" ]
2,469
all-2470
[ "cephRBDVolumeRename", "renames", "a", "given", "RBD", "storage", "volume", "Note", "that", "this", "usually", "requires", "that", "the", "image", "be", "unmapped", "under", "its", "original", "name", "then", "renamed", "and", "finally", "will", "be", "remapped"...
[ "func", "cephRBDVolumeRename", "(", "clusterName", "string", ",", "poolName", "string", ",", "volumeType", "string", ",", "oldVolumeName", "string", ",", "newVolumeName", "string", ",", "userName", "string", ")", "error", "{", "_", ",", "err", ":=", "<mask>", ...
2,470
all-2471
[ "NextVenues", "returns", "venues", "that", "are", "checked", "into", "after", "the", "given", "one", "https", ":", "//", "developer", ".", "foursquare", ".", "com", "/", "docs", "/", "api", "/", "venues", "/", "nextvenues" ]
[ "func", "(", "s", "*", "VenueService", ")", "NextVenues", "(", "<mask>", "string", ")", "(", "[", "]", "Venue", ",", "*", "http", ".", "Response", ",", "error", ")", "{", "venues", ":=", "new", "(", "venueNextVenuesResp", ")", "\n", "response", ":=", ...
2,471
all-2472
[ "SetLabel", "is", "a", "wrapper", "around", "gtk_expander_set_label", "()", "." ]
[ "func", "(", "v", "*", "Expander", ")", "SetLabel", "(", "label", "string", ")", "{", "var", "cstr", "*", "C", ".", "char", "\n", "if", "label", "!=", "\"", "\"", "{", "cstr", "=", "C", ".", "CString", "(", "label", ")", "\n", "defer", "C", "."...
2,472
all-2473
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "Animation", ")", "UnmarshalJSON", "(", "<mask>", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "data", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation19", "(", "&", "r", ...
2,473
all-2474
[ "PutFileOverwrite", "is", "like", "PutFile", "but", "it", "overwrites", "the", "file", "rather", "than", "appending", "to", "it", ".", "overwriteIndex", "allows", "you", "to", "specify", "the", "index", "of", "the", "object", "starting", "from", "which", "you"...
[ "func", "(", "c", "*", "putFileClient", ")", "PutFileOverwrite", "(", "repoName", "string", ",", "commitID", "string", ",", "path", "string", ",", "reader", "io", ".", "Reader", ",", "overwriteIndex", "int64", ")", "(", "_", "int", ",", "retErr", "error", ...
2,474
all-2475
[ "reconcileOnce", "is", "used", "to", "reconcile", "the", "state", "of", "ENIs", "attached", "to", "the", "instance" ]
[ "func", "(", "udevWatcher", "*", "UdevWatcher", ")", "reconcileOnce", "(", ")", "error", "{", "links", ",", "err", ":=", "udevWatcher", ".", "netlinkClient", ".", "LinkList", "(", ")", "\n", "if", "err", "!=", "nil", "{", "return", "errors", ".", "Wrapf"...
2,475
all-2476
[ "Alias", "path", "patterns", "to", "the", "this", "route", ".", "This", "is", "not", "the", "same", "as", "a", "redirect", "." ]
[ "func", "(", "ri", "*", "RouteInfo", ")", "Alias", "(", "aliases", "...", "string", ")", "*", "RouteInfo", "{", "ri", ".", "Aliases", "=", "<mask>", "(", "ri", ".", "Aliases", ",", "aliases", "...", ")", "\n", "for", "_", ",", "a", ":=", "range", ...
2,476
all-2477
[ "Dump", "returns", "a", "text", "of", "SQL", "commands", "that", "can", "be", "used", "to", "create", "this", "schema", "from", "scratch", "in", "one", "go", "without", "going", "thorugh", "individual", "patches", "(", "essentially", "flattening", "them", ")...
[ "func", "(", "s", "*", "Schema", ")", "Dump", "(", "db", "*", "sql", ".", "DB", ")", "(", "string", ",", "error", ")", "{", "var", "statements", "[", "]", "string", "\n", "err", ":=", "query", ".", "Transaction", "(", "db", ",", "func", "(", "<...
2,477
all-2478
[ "/", "*", "Rendering", "void", "pango_cairo_show_glyph_string", "(", "cairo_t", "*", "cr", "PangoFont", "*", "font", "PangoGlyphString", "*", "glyphs", ")", ";" ]
[ "func", "CairoShowGlyphString", "(", "cr", "*", "cairo", ".", "Context", ",", "font", "*", "Font", ",", "glyphs", "*", "GlyphString", ")", "{", "C", ".", "pango_cairo_show_glyph_string", "(", "cairo_context", "(", "cr", ")", ",", "<mask>", ".", "native", "...
2,478
all-2479
[ "Refresh", "pulls", "the", "current", "version", "of", "the", "operation", "and", "updates", "the", "struct" ]
[ "func", "(", "op", "*", "operation", ")", "Refresh", "(", ")", "error", "{", "// Get the current version of the operation", "newOp", ",", "_", ",", "err", ":=", "op", ".", "r", ".", "GetOperation", "(", "op", ".", "ID", ")", "\n", "if", "err", "!=", "n...
2,479
all-2480
[ "RegisterAuthHandler", "registers", "the", "http", "handlers", "for", "service", "Auth", "to", "mux", ".", "The", "handlers", "forward", "requests", "to", "the", "grpc", "endpoint", "over", "conn", "." ]
[ "func", "RegisterAuthHandler", "(", "ctx", "<mask>", ".", "Context", ",", "mux", "*", "runtime", ".", "ServeMux", ",", "conn", "*", "grpc", ".", "ClientConn", ")", "error", "{", "return", "RegisterAuthHandlerClient", "(", "ctx", ",", "mux", ",", "etcdserverp...
2,480
all-2481
[ "EncodePeer", "is", "used", "to", "serialize", "a", "peer", "name", "." ]
[ "func", "(", "t", "*", "transport", ")", "EncodePeer", "(", "id", "raft", ".", "ServerID", ",", "p", "raft", ".", "ServerAddress", ")", "[", "]", "<mask>", "{", "return", "[", "]", "byte", "(", "p", ")", "\n", "}" ]
2,481
all-2482
[ "ExtractVersion", "extracts", "a", "matching", "version", "from", "the", "version", "number", "string" ]
[ "func", "ExtractVersion", "(", "input", "string", ")", "string", "{", "versionNumberRegex", ":=", "regexp", ".", "MustCompile", "(", "` v(\\d+\\.\\d+\\.\\d+(\\-[\\S\\.\\-]+)?(\\+[\\S\\.\\-]+)?)`", ")", "\n", "versionNumberStr", ":=", "versionNumberRegex", ".", "FindStringSu...
2,482
all-2483
[ "Log", "will", "log", "a", "message", "at", "the", "provided", "level", "to", "all", "added", "loggers", "with", "the", "timestamp", "set", "to", "the", "time", "Log", "was", "called", "." ]
[ "func", "(", "b", "*", "Base", ")", "Log", "(", "level", "LogLevel", ",", "m", "*", "Attrs", ",", "msg", "string", ",", "a", "...", "interface", "{", "}", ")", "error", "{", "return", "b", ".", "LogWithTime", "(", "<mask>", ",", "b", ".", "clock"...
2,483
all-2484
[ "NewMockStateManager", "creates", "a", "new", "mock", "instance" ]
[ "func", "NewMockStateManager", "(", "ctrl", "*", "gomock", ".", "<mask>", ")", "*", "MockStateManager", "{", "mock", ":=", "&", "MockStateManager", "{", "ctrl", ":", "ctrl", "}", "\n", "mock", ".", "recorder", "=", "&", "MockStateManagerMockRecorder", "{", "...
2,484
all-2485
[ "EscapedLen", "returns", "total", "length", "of", "all", "escape", "sequences", "in", "a", "given", "string", "." ]
[ "func", "EscapedLen", "(", "s", "string", ")", "int", "{", "if", "len", "(", "s", ")", "==", "0", "{", "return", "0", "\n", "}", "\n\n", "var", "rw", ",", "total", "int", "\n", "for", "i", ":=", "0", ";", "i", "<", "len", "(", "s", ")", ";"...
2,485
all-2486
[ "RegisterKVHandler", "registers", "the", "http", "handlers", "for", "service", "KV", "to", "mux", ".", "The", "handlers", "forward", "requests", "to", "the", "grpc", "endpoint", "over", "conn", "." ]
[ "func", "RegisterKVHandler", "(", "ctx", "<mask>", ".", "Context", ",", "mux", "*", "runtime", ".", "ServeMux", ",", "conn", "*", "grpc", ".", "ClientConn", ")", "error", "{", "return", "RegisterKVHandlerClient", "(", "ctx", ",", "mux", ",", "etcdserverpb", ...
2,486
all-2487
[ "Versions", "returns", "an", "array", "of", "versions", "contained", "in", "this", "type" ]
[ "func", "(", "t", "*", "TupleType", ")", "Versions", "(", ")", "(", "vers", "[", "]", "Version", ")", "{", "vers", "=", "make", "(", "[", "]", "Version", ",", "t", ".", "NumVersions", "(", ")", ")", "\n", "for", "i", ":=", "0", ";", "i", "<",...
2,487
all-2488
[ "CreateUser", "creates", "a", "user" ]
[ "func", "(", "c", "*", "Client", ")", "CreateUser", "(", "usr", "User", ")", "(", "*", "User", ",", "error", ")", "{", "url", ":=", "umUsers", "(", ")", "+", "`?depth=`", "+", "c", ".", "client", ".", "depth", "+", "`&pretty=`", "+", "strconv", "...
2,488
all-2489
[ "==", "Change", "passwd", "ChPasswd", "updates", "passwd", ".", "The", "passwd", "must", "be", "supplied", "in", "clear", "-", "text", "." ]
[ "func", "ChPasswd", "(", "user", "string", ",", "key", "[", "]", "<mask>", ")", "error", "{", "shadow", ",", "err", ":=", "LookupShadow", "(", "user", ")", "\n", "if", "err", "!=", "nil", "{", "return", "err", "\n", "}", "\n", "shadow", ".", "Passw...
2,489
all-2490
[ "StorageProgressReader", "reports", "the", "read", "progress", "." ]
[ "func", "StorageProgressReader", "(", "op", "*", "operation", ",", "key", "string", ",", "description", "string", ")", "func", "(", "io", ".", "ReadCloser", ")", "io", ".", "ReadCloser", "{", "return", "func", "(", "reader", "io", ".", "ReadCloser", ")", ...
2,490
all-2491
[ "native", "returns", "a", "pointer", "to", "the", "underlying", "GtkPaperSize", "." ]
[ "func", "(", "<mask>", "*", "PaperSize", ")", "native", "(", ")", "*", "C", ".", "GtkPaperSize", "{", "if", "ps", "==", "nil", "{", "return", "nil", "\n", "}", "\n", "return", "ps", ".", "GtkPaperSize", "\n", "}" ]
2,491
all-2492
[ "expandHostVirtualSwitchBeaconConfig", "reads", "certain", "ResourceData", "keys", "and", "returns", "a", "HostVirtualSwitchBeaconConfig", "." ]
[ "func", "expandHostVirtualSwitchBeaconConfig", "(", "d", "*", "schema", ".", "ResourceData", ")", "*", "<mask>", ".", "HostVirtualSwitchBeaconConfig", "{", "obj", ":=", "&", "types", ".", "HostVirtualSwitchBeaconConfig", "{", "Interval", ":", "int32", "(", "d", "....
2,492
all-2493
[ "Stability", ":", "***", "EXPERIMENTAL", "***", "Lists", "all", "the", "denylisted", "addresses", ".", "By", "default", "this", "end", "-", "point", "will", "try", "to", "return", "up", "to", "1000", "addresses", "in", "one", "request", ".", "But", "it", ...
[ "func", "(", "notify", "*", "Notify", ")", "ListDenylist", "(", "continuationToken", ",", "limit", "string", ")", "(", "*", "ListOfNotificationAdresses", ",", "error", ")", "{", "v", ":=", "url", ".", "Values", "{", "}", "\n", "if", "continuationToken", "!...
2,493
all-2494
[ "GetEnvelope", "retrieves", "the", "Envelope", "value", "from", "the", "union", "returning", "ok", "if", "the", "union", "s", "switch", "indicated", "the", "value", "is", "valid", "." ]
[ "func", "(", "u", "StellarMessage", ")", "GetEnvelope", "(", ")", "(", "result", "ScpEnvelope", ",", "<mask>", "bool", ")", "{", "armName", ",", "_", ":=", "u", ".", "ArmForSwitch", "(", "int32", "(", "u", ".", "Type", ")", ")", "\n\n", "if", "armNam...
2,494
all-2495
[ "Determines", "if", "a", "name", "corresponds", "to", "a", "program", "object" ]
[ "func", "IsProgram", "(", "program", "uint32", ")", "bool", "{", "ret", ",", "_", ",", "_", ":=", "syscall", ".", "Syscall", "(", "gpIsProgram", ",", "1", ",", "uintptr", "(", "program", ")", ",", "0", ",", "0", ")", "\n", "return", "<mask>", "!=",...
2,495
all-2496
[ "Sort", "asks", "the", "database", "to", "order", "returned", "documents", "according", "to", "the", "provided", "field", "names", ".", "A", "field", "name", "may", "be", "prefixed", "by", "-", "(", "minus", ")", "for", "it", "to", "be", "sorted", "in", ...
[ "func", "(", "q", "*", "Query", ")", "Sort", "(", "fields", "...", "string", ")", "*", "Query", "{", "q", ".", "m", ".", "Lock", "(", ")", "\n", "var", "<mask>", "bson", ".", "D", "\n", "for", "_", ",", "field", ":=", "range", "fields", "{", ...
2,496
all-2497
[ "newArchive15", "creates", "a", "new", "fileBlockReader", "for", "a", "Version", "1", ".", "5", "archive" ]
[ "func", "newArchive15", "(", "r", "*", "bufio", ".", "Reader", ",", "password", "string", ")", "fileBlockReader", "{", "a", ":=", "new", "(", "archive15", ")", "\n", "a", ".", "v", "=", "r", "\n", "a", ".", "pass", "=", "utf16", ".", "Encode", "(",...
2,497
all-2498
[ "WriteTo", "and", "ReadFrom", "avoid", "intermediate", "allocation", "and", "copies", ".", "WriteTo", "avoids", "intermediate", "allocation", "and", "copies", ".", "WriteTo", "writes", "data", "to", "w", "until", "there", "s", "no", "more", "data", "to", "writ...
[ "func", "(", "b", "*", "AtomicFixedSizeRingBuf", ")", "WriteTo", "(", "w", "<mask>", ".", "Writer", ")", "(", "n", "int64", ",", "err", "error", ")", "{", "b", ".", "tex", ".", "Lock", "(", ")", "\n", "defer", "b", ".", "tex", ".", "Unlock", "(",...
2,498
all-2499
[ "UpdateContainerState", "updates", "the", "container", "to", "match", "the", "requested", "state" ]
[ "func", "(", "r", "*", "ProtocolLXD", ")", "UpdateContainerState", "(", "<mask>", "string", ",", "state", "api", ".", "ContainerStatePut", ",", "ETag", "string", ")", "(", "Operation", ",", "error", ")", "{", "// Send the request", "op", ",", "_", ",", "er...
2,499
all-2500
[ "CreateRecordSet", "creates", "recordset", "in", "the", "given", "DNS", "zone" ]
[ "func", "(", "c", "designateClient", ")", "CreateRecordSet", "(", "zoneID", "string", ",", "opts", "recordsets", ".", "CreateOpts", ")", "(", "string", ",", "error", ")", "{", "r", ",", "err", ":=", "recordsets", ".", "Create", "(", "c", ".", "serviceCli...