id
int32
0
25.3k
idx
stringlengths
5
9
nl_tokens
listlengths
1
418
pl_tokens
listlengths
22
4.98k
22,700
all-22701
[ "MustAddMessageError", "calls", "AddMessageError", "and", "panics", "in", "case", "of", "an", "error", "." ]
[ "func", "(", "r", "*", "MapErrorRegistry", ")", "MustAddMessageError", "(", "code", "int", ",", "message", "string", ")", "*", "<mask>", "{", "err", ",", "e", ":=", "r", ".", "AddMessageError", "(", "code", ",", "message", ")", "\n", "if", "e", "!=", ...
22,701
all-22702
[ "ConvertPathToChildPath", "is", "a", "wrapper", "around", "gtk_tree_model_filter_convert_path_to_child_path", "()", "." ]
[ "func", "(", "v", "*", "TreeModelFilter", ")", "ConvertPathToChildPath", "(", "filterPath", "*", "TreePath", ")", "*", "TreePath", "{", "path", ":=", "C", ".", "gtk_tree_model_filter_convert_path_to_child_path", "(", "v", ".", "native", "(", ")", ",", "filterPat...
22,702
all-22703
[ "gboolean", "pango_font_description_equal", "(", "const", "PangoFontDescription", "*", "desc1", "const", "PangoFontDescription", "*", "desc2", ")", "G_GNUC_PURE", ";" ]
[ "func", "(", "v", "*", "FontDescription", ")", "Equal", "(", "v2", "*", "FontDescription", ")", "bool", "{", "c", ":=", "C", ".", "pango_font_description_equal", "(", "v", ".", "native", "(", ")", ",", "v2", ".", "native", "(", ")", ")", "\n", "<mask...
22,703
all-22704
[ "Get", "stores", "in", "a", "the", "Lua", "value", "indexed", "at", "the", "sequence", "of", "subfields", ".", "a", "must", "be", "a", "pointer", "as", "in", "LuaToGo", "." ]
[ "func", "(", "lo", "*", "LuaObject", ")", "Get", "(", "a", "interface", "{", "}", ",", "subfields", "...", "<mask>", "{", "}", ")", "error", "{", "lo", ".", "Push", "(", ")", "\n", "defer", "lo", ".", "l", ".", "Pop", "(", "1", ")", "\n", "er...
22,704
all-22705
[ "runAndSkipJobs", "executes", "the", "config", ".", "Presubmits", "that", "are", "requested", "and", "posts", "skipped", "statuses", "for", "the", "reporting", "jobs", "that", "are", "skipped" ]
[ "func", "runAndSkipJobs", "(", "c", "<mask>", ",", "pr", "*", "github", ".", "PullRequest", ",", "requestedJobs", "[", "]", "config", ".", "Presubmit", ",", "skippedJobs", "[", "]", "config", ".", "Presubmit", ",", "eventGUID", "string", ",", "elideSkippedCo...
22,705
all-22706
[ "MarshalEasyJSON", "satisfies", "easyjson", ".", "Marshaler", "." ]
[ "func", "(", "t", "TransitionType", ")", "MarshalEasyJSON", "(", "out", "*", "jwriter", ".", "Writer", ")", "{", "<mask>", ".", "String", "(", "string", "(", "t", ")", ")", "\n", "}" ]
22,706
all-22707
[ "ListNamespaces", "returns", "all", "namespaces", "matching", "defined", "namespace", "filter" ]
[ "func", "(", "p", "*", "AWSSDProvider", ")", "ListNamespaces", "(", ")", "(", "[", "]", "*", "sd", ".", "NamespaceSummary", ",", "error", ")", "{", "namespaces", ":=", "make", "(", "[", "]", "*", "sd", ".", "NamespaceSummary", ",", "0", ")", "\n\n", ...
22,707
all-22708
[ "CreateOrUpdateUser", "should", "be", "only", "used", "for", "creating", "the", "new", "user", "or", "when", "you", "are", "not", "sure", "if", "it", "is", "a", "create", "or", "update", ".", "(", "When", "only", "password", "is", "passed", "in", "we", ...
[ "func", "(", "s", "*", "store", ")", "CreateOrUpdateUser", "(", "user", "User", ")", "(", "out", "User", ",", "created", "bool", ",", "err", "error", ")", "{", "_", ",", "err", "=", "s", ".", "getUser", "(", "user", ".", "User", ",", "true", ")",...
22,708
all-22709
[ "HasStyle", "returns", "a", "boolean", "if", "a", "field", "has", "been", "set", "." ]
[ "func", "(", "t", "*", "TileDefRequest", ")", "HasStyle", "(", ")", "bool", "{", "if", "t", "!=", "nil", "&&", "t", ".", "Style", "!=", "nil", "{", "return", "<mask>", "\n", "}", "\n\n", "return", "false", "\n", "}" ]
22,709
all-22710
[ "InitPachOnlyEnv", "initializes", "this", "service", "environment", ".", "This", "dials", "a", "GRPC", "connection", "to", "pachd", "only", "(", "in", "a", "background", "goroutine", ")", "and", "creates", "the", "template", "pachClient", "used", "by", "future",...
[ "func", "InitPachOnlyEnv", "(", "config", "*", "Configuration", ")", "*", "ServiceEnv", "{", "env", ":=", "&", "ServiceEnv", "{", "Configuration", ":", "config", "}", "\n", "env", ".", "pachAddress", "=", "<mask>", ".", "JoinHostPort", "(", "\"", "\"", ","...
22,710
all-22711
[ "Post", "sends", "POST", "request", "to", "the", "given", "url", "with", "the", "given", "POST", "arguments", ".", "The", "contents", "of", "dst", "will", "be", "replaced", "by", "the", "body", "and", "returned", "if", "the", "dst", "is", "too", "small",...
[ "func", "(", "c", "*", "<mask>", ")", "Post", "(", "dst", "[", "]", "byte", ",", "url", "string", ",", "postArgs", "*", "Args", ")", "(", "statusCode", "int", ",", "body", "[", "]", "byte", ",", "err", "error", ")", "{", "return", "clientPostURL", ...
22,711
all-22712
[ "Down", "brings", "down", "all", "endpoints", "and", "stops", "serving", "HTTP", "requests", "." ]
[ "func", "(", "e", "*", "Endpoints", ")", "Down", "(", ")", "error", "{", "e", ".", "mu", ".", "Lock", "(", ")", "\n", "defer", "e", ".", "mu", ".", "Unlock", "(", ")", "\n\n", "if", "e", ".", "listeners", "[", "network", "]", "!=", "nil", "||...
22,712
all-22713
[ "loadConfig", "loads", "one", "or", "multiple", "config", "files", "and", "returns", "a", "config", "object", "." ]
[ "func", "loadConfig", "(", "prowConfig", ",", "jobConfig", "string", ")", "(", "*", "Config", ",", "error", ")", "{", "stat", ",", "err", ":=", "os", ".", "Stat", "(", "prowConfig", ")", "\n", "if", "err", "!=", "nil", "{", "return", "nil", ",", "e...
22,713
all-22714
[ "Topic", "sets", "the", "channel", "c", "topic", "(", "requires", "bot", "has", "proper", "permissions", ")" ]
[ "func", "(", "bot", "*", "Bot", ")", "Topic", "(", "c", ",", "<mask>", "string", ")", "{", "str", ":=", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "c", ",", "topic", ")", "\n", "bot", ".", "Send", "(", "str", ")", "\n", "}" ]
22,714
all-22715
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "SetPageScaleFactorParams", ")", "UnmarshalJSON", "(", "data", "[", "]", "<mask>", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "data", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation6", "(", ...
22,715
all-22716
[ "Concat", "multiplies", "a", "color", "matrix", "with", "the", "other", "color", "matrix", ".", "This", "is", "same", "as", "muptiplying", "the", "matrix", "other", "and", "the", "matrix", "c", "in", "this", "order", "." ]
[ "func", "(", "c", "*", "ColorM", ")", "Concat", "(", "other", "*", "ColorM", ")", "*", "ColorM", "{", "if", "!", "c", ".", "isInited", "(", ")", "{", "return", "other", "\n", "}", "\n", "if", "!", "other", ".", "isInited", "(", ")", "{", "retur...
22,716
all-22717
[ "Update", "updates", "a", "ResourcePool", "." ]
[ "func", "Update", "(", "rp", "*", "object", ".", "ResourcePool", ",", "name", "string", ",", "spec", "*", "types", ".", "ResourceConfigSpec", ")", "error", "{", "log", ".", "Printf", "(", "\"", "\"", ",", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", ...
22,717
all-22718
[ "Debugf", "formats", "message", "according", "to", "format", "specifier", "prepends", "the", "prefix", "as", "necessary", "and", "writes", "to", "log", "with", "LevelDebug", ".", "This", "is", "part", "of", "the", "Logger", "interface", "implementation", "." ]
[ "func", "(", "l", "*", "slog", ")", "Debugf", "(", "format", "string", ",", "args", "...", "<mask>", "{", "}", ")", "{", "lvl", ":=", "l", ".", "Level", "(", ")", "\n", "if", "lvl", "<=", "LevelDebug", "{", "l", ".", "b", ".", "printf", "(", ...
22,718
all-22719
[ "ServerCertPath", "returns", "the", "path", "for", "the", "remote", "s", "server", "certificate" ]
[ "func", "(", "c", "*", "Config", ")", "ServerCertPath", "(", "<mask>", "string", ")", "string", "{", "return", "c", ".", "ConfigPath", "(", "\"", "\"", ",", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "remote", ")", ")", "\n", "}" ]
22,719
all-22720
[ "Strings", "flattens", "the", "aggregate", "(", "and", "any", "sub", "aggregates", ")", "into", "a", "slice", "of", "strings", "." ]
[ "func", "(", "agg", "aggregate", ")", "Strings", "(", ")", "[", "]", "string", "{", "strs", ":=", "<mask>", "(", "[", "]", "string", ",", "0", ",", "len", "(", "agg", ")", ")", "\n", "for", "_", ",", "e", ":=", "range", "agg", "{", "if", "sub...
22,720
all-22721
[ "NewHMACSigner", "creates", "a", "HMAC", "Signer", "for", "the", "specified", "Algorithm", "." ]
[ "func", "NewHMACSigner", "(", "alg", "Algorithm", ")", "func", "(", "Store", ",", "crypto", ".", "Hash", ")", "(", "Signer", ",", "error", ")", "{", "return", "func", "(", "store", "Store", ",", "hash", "crypto", ".", "Hash", ")", "(", "Signer", ",",...
22,721
all-22722
[ "FetchContactGroup", "retrieves", "contact", "group", "with", "passed", "cid", "." ]
[ "func", "(", "a", "*", "API", ")", "FetchContactGroup", "(", "cid", "CIDType", ")", "(", "*", "ContactGroup", ",", "error", ")", "{", "if", "cid", "==", "nil", "||", "*", "cid", "==", "\"", "\"", "{", "return", "nil", ",", "fmt", ".", "Errorf", "...
22,722
all-22723
[ "NewPatternLinear", "is", "a", "wrapper", "around", "cairo_pattern_create_linear", "()", "." ]
[ "func", "NewPatternLinear", "(", "x0", ",", "y0", ",", "x1", ",", "y1", "float64", ")", "(", "*", "<mask>", ",", "error", ")", "{", "c", ":=", "C", ".", "cairo_pattern_create_linear", "(", "C", ".", "double", "(", "x0", ")", ",", "C", ".", "double"...
22,723
all-22724
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "EventSinksUpdated", ")", "MarshalJSON", "(", ")", "(", "[", "]", "<mask>", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoCast3", "(", "&", "w", ",", "v", ")", ...
22,724
all-22725
[ "Subject", "is", "an", "Option", "that", "sets", "a", "identity", "s", "subject", "field", "." ]
[ "func", "Subject", "(", "value", "pkix", ".", "<mask>", ")", "Option", "{", "return", "func", "(", "c", "*", "configuration", ")", "{", "c", ".", "subject", "=", "&", "value", "\n", "}", "\n", "}" ]
22,725
all-22726
[ "Backtick", "produces", "a", "backticked", "literal", "given", "an", "input", "string", "." ]
[ "func", "Backtick", "(", "in", "string", ")", "string", "{", "<mask>", "buf", "bytes", ".", "Buffer", "\n", "buf", ".", "WriteByte", "(", "'`'", ")", "\n", "for", "_", ",", "c", ":=", "range", "in", "{", "buf", ".", "WriteRune", "(", "c", ")", "\...
22,726
all-22727
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "EventAnimationCanceled", ")", "UnmarshalJSON", "(", "data", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "data", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation15", "(", "...
22,727
all-22728
[ "SetPresubmitRegexes", "compiles", "and", "validates", "all", "the", "regular", "expressions", "for", "the", "provided", "presubmits", "." ]
[ "func", "SetPresubmitRegexes", "(", "js", "[", "]", "Presubmit", ")", "error", "{", "for", "i", ",", "j", ":=", "range", "js", "{", "if", "re", ",", "err", ":=", "regexp", ".", "Compile", "(", "j", ".", "Trigger", ")", ";", "err", "==", "nil", "{...
22,728
all-22729
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "StopViolationsReportParams", ")", "UnmarshalJSON", "(", "data", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "<mask>", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoLog1", "(", "&...
22,729
all-22730
[ "braceIndices", "returns", "the", "first", "level", "curly", "brace", "indices", "from", "a", "string", ".", "It", "returns", "an", "error", "in", "case", "of", "unbalanced", "braces", "." ]
[ "func", "braceIndices", "(", "s", "string", ")", "(", "[", "]", "int", ",", "error", ")", "{", "var", "level", ",", "idx", "int", "\n", "idxs", ":=", "make", "(", "[", "]", "int", ",", "0", ")", "\n", "for", "i", ":=", "0", ";", "i", "<", "...
22,730
all-22731
[ "SetEncoder", "can", "be", "used", "to", "set", "the", "implementation", "of", "a", "compression", "algorithm", ".", "The", "encoding", "should", "be", "a", "standardised", "identifier", ".", "See", ":", "https", ":", "//", "developer", ".", "mozilla", ".", ...
[ "func", "(", "c", "*", "Compressor", ")", "SetEncoder", "(", "encoding", "string", ",", "fn", "EncoderFunc", ")", "{", "encoding", "=", "strings", ".", "ToLower", "(", "encoding", ")", "\n", "if", "encoding", "==", "\"", "\"", "{", "panic", "(", "\"", ...
22,731
all-22732
[ "GenerateAccount", "generates", "new", "private", "key", "and", "creates", "new", "account", "." ]
[ "func", "(", "h", "*", "<mask>", ")", "GenerateAccount", "(", "tkn", "string", ",", "params", "*", "AccountParams", ")", "(", "*", "string", ",", "error", ")", "{", "logger", ":=", "h", ".", "logger", ".", "Add", "(", "\"", "\"", ",", "\"", "\"", ...
22,732
all-22733
[ "PartitionZones", ":", "Method", "returns", "a", "slice", "of", "zones", "that", "adhere", "to", "the", "domain", "filter", "and", "a", "slice", "of", "ones", "that", "does", "not", "adhere", "to", "the", "filter" ]
[ "func", "(", "c", "*", "PDNSAPIClient", ")", "PartitionZones", "(", "zones", "[", "]", "pgo", ".", "Zone", ")", "(", "filteredZones", "[", "]", "pgo", ".", "Zone", ",", "residualZones", "[", "]", "pgo", ".", "Zone", ")", "{", "if", "c", ".", "domai...
22,733
all-22734
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "SetVirtualTimePolicyParams", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation1", "(", "&", "w", ",", ...
22,734
all-22735
[ "/", "*", "SmartError", "returns", "the", "right", "error", "message", "based", "on", "err", "." ]
[ "func", "SmartError", "(", "err", "error", ")", "<mask>", "{", "switch", "errors", ".", "Cause", "(", "err", ")", "{", "case", "nil", ":", "return", "EmptySyncResponse", "\n", "case", "os", ".", "ErrNotExist", ",", "sql", ".", "ErrNoRows", ",", "db", "...
22,735
all-22736
[ "PFX", "wraps", "the", "certificate", "and", "private", "key", "in", "an", "encrypted", "PKCS#12", "packet", ".", "The", "provided", "password", "must", "be", "alphanumeric", "." ]
[ "func", "(", "id", "*", "Identity", ")", "PFX", "(", "password", "string", ")", "[", "]", "byte", "{", "return", "toPFX", "(", "id", ".", "Certificate", ",", "<mask>", ".", "PrivateKey", ",", "password", ")", "\n", "}" ]
22,736
all-22737
[ "notifySubs", "sends", "a", "given", "message", "to", "all", "corresponding", "subscribers", ".", "Only", "called", "from", "processLoop", "." ]
[ "func", "(", "p", "*", "PubSub", ")", "notifySubs", "(", "msg", "*", "pb", ".", "Message", ")", "{", "for", "_", ",", "topic", ":=", "range", "msg", ".", "GetTopicIDs", "(", ")", "{", "subs", ":=", "p", ".", "myTopics", "[", "topic", "]", "\n", ...
22,737
all-22738
[ "GetRandomPassword", "mocks", "base", "method" ]
[ "func", "(", "m", "*", "MockSecretsManagerAPI", ")", "GetRandomPassword", "(", "arg0", "*", "secretsmanager", ".", "GetRandomPasswordInput", ")", "(", "*", "secretsmanager", ".", "GetRandomPasswordOutput", ",", "error", ")", "{", "ret", ":=", "m", ".", "ctrl", ...
22,738
all-22739
[ "MarshalIndex", "serializes", "the", "sitemap", "index", "to", "XML", "with", "the", "<sitemapindex", ">", "xmlns", "added", "and", "the", "XML", "preamble", "prepended", "." ]
[ "func", "MarshalIndex", "(", "index", "*", "<mask>", ")", "(", "indexXML", "[", "]", "byte", ",", "err", "error", ")", "{", "if", "len", "(", "index", ".", "Sitemaps", ")", ">", "MaxSitemaps", "{", "err", "=", "ErrExceededMaxSitemaps", "\n", "return", ...
22,739
all-22740
[ "UserLogin", "is", "the", "login", "route", "." ]
[ "func", "UserLogin", "(", "c", "*", "gin", ".", "Context", ")", "{", "c", ".", "Header", "(", "\"", "\"", ",", "\"", "\"", ")", "\n\n", "var", "json", "Login", "\n", "if", "c", ".", "BindJSON", "(", "&", "json", ")", "==", "nil", "{", "user", ...
22,740
all-22741
[ "ReadFull", "implements", "io", ".", "ReadFull", "on", "Reader", "." ]
[ "func", "(", "r", "*", "Reader", ")", "ReadFull", "(", "p", "[", "]", "byte", ")", "{", "if", "r", ".", "err", "!=", "nil", "{", "return", "\n", "}", "\n", "<mask>", "n", "int", "\n", "n", ",", "r", ".", "err", "=", "io", ".", "ReadFull", "...
22,741
all-22742
[ "GetTransitionRunning", "is", "a", "wrapper", "around", "gtk_stack_get_transition_running", "()", "." ]
[ "func", "(", "v", "*", "Stack", ")", "GetTransitionRunning", "(", ")", "bool", "{", "c", ":=", "C", ".", "gtk_stack_get_transition_running", "(", "v", ".", "native", "(", ")", ")", "\n", "<mask>", "gobool", "(", "c", ")", "\n", "}" ]
22,742
all-22743
[ "newDir", "creates", "a", "directory" ]
[ "func", "newDir", "(", "store", "*", "store", ",", "nodePath", "string", ",", "createdIndex", "uint64", ",", "<mask>", "*", "node", ",", "expireTime", "time", ".", "Time", ")", "*", "node", "{", "return", "&", "node", "{", "Path", ":", "nodePath", ",",...
22,743
all-22744
[ "WithContext", "adds", "the", "context", "to", "the", "find", "vms", "by", "states", "params" ]
[ "func", "(", "o", "*", "FindVmsByStatesParams", ")", "WithContext", "(", "ctx", "<mask>", ".", "Context", ")", "*", "FindVmsByStatesParams", "{", "o", ".", "SetContext", "(", "ctx", ")", "\n", "return", "o", "\n", "}" ]
22,744
all-22745
[ "MustGetString", "fetches", "the", "config", "and", "parses", "it", "into", "a", "string", ".", "Panics", "on", "failure", "." ]
[ "func", "(", "c", "*", "cachedLoader", ")", "MustGetString", "(", "key", "string", ")", "string", "{", "b", ",", "err", ":=", "c", ".", "Get", "(", "key", ")", "\n", "if", "err", "!=", "nil", "{", "panic", "(", "fmt", ".", "Sprintf", "(", "\"", ...
22,745
all-22746
[ "GetMustShowDistributionOk", "returns", "a", "tuple", "with", "the", "MustShowDistribution", "field", "if", "it", "s", "non", "-", "nil", "zero", "value", "otherwise", "and", "a", "boolean", "to", "check", "if", "the", "value", "has", "been", "set", "." ]
[ "func", "(", "w", "*", "Widget", ")", "GetMustShowDistributionOk", "(", ")", "(", "bool", ",", "bool", ")", "{", "if", "w", "==", "nil", "||", "w", ".", "MustShowDistribution", "==", "nil", "{", "return", "false", ",", "<mask>", "\n", "}", "\n", "ret...
22,746
all-22747
[ "Delete", "registers", "handlers", "with", "the", "given", "pattern", "for", "DELETE", "method" ]
[ "func", "(", "r", "*", "<mask>", ")", "Delete", "(", "pat", "string", ",", "f", "...", "HandlerFunc", ")", "{", "r", ".", "HandleMethod", "(", "pat", ",", "\"", "\"", ",", "f", "...", ")", "\n", "}" ]
22,747
all-22748
[ "Specify", "the", "value", "of", "a", "uniform", "variable", "for", "the", "current", "program", "object" ]
[ "func", "UniformMatrix2fv", "(", "location", "int32", ",", "<mask>", "int32", ",", "transpose", "bool", ",", "value", "*", "float32", ")", "{", "syscall", ".", "Syscall6", "(", "gpUniformMatrix2fv", ",", "4", ",", "uintptr", "(", "location", ")", ",", "uin...
22,748
all-22749
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "CollectClassNamesParams", ")", "UnmarshalJSON", "(", "data", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "data", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss62", "(", "&", ...
22,749
all-22750
[ "GetSellPrice", "gets", "the", "current", "BTC", "sell", "price" ]
[ "func", "(", "c", "<mask>", ")", "GetSellPrice", "(", "qty", "int", ")", "(", "*", "pricesHolder", ",", "error", ")", "{", "return", "c", ".", "getPrice", "(", "\"", "\"", ",", "qty", ")", "\n", "}" ]
22,750
all-22751
[ "Run", "creates", "a", "new", "transaction", "with", "ops", "and", "runs", "it", "immediately", ".", "The", "id", "parameter", "specifies", "the", "transaction", "id", "and", "may", "be", "written", "down", "ahead", "of", "time", "to", "later", "verify", "...
[ "func", "(", "r", "*", "<mask>", ")", "Run", "(", "ops", "[", "]", "Op", ",", "id", "bson", ".", "ObjectId", ",", "info", "interface", "{", "}", ")", "(", "err", "error", ")", "{", "const", "efmt", "=", "\"", "\"", "\n", "for", "i", ":=", "ra...
22,751
all-22752
[ "newUniqueEphemeralKV", "creates", "a", "new", "unique", "key", "/", "value", "pair", "associated", "with", "a", "session", "lease" ]
[ "func", "newUniqueEphemeralKV", "(", "s", "*", "concurrency", ".", "Session", ",", "prefix", ",", "val", "string", ")", "(", "ek", "*", "EphemeralKV", ",", "err", "error", ")", "{", "for", "{", "newKey", ":=", "fmt", ".", "Sprintf", "(", "\"", "\"", ...
22,752
all-22753
[ "Choose", "a", "token", "bucket", "capacity", "that", "ensures", "that", "the", "action", "gated", "by", "the", "token", "bucket", "will", "be", "limited", "to", "within", "a", "few", "percent", "of", "rateHz", "*", "window", "for", "any", "window", "of", ...
[ "func", "ChooseTokenBucketCapacity", "(", "rateHz", "float64", ",", "window", "<mask>", ".", "Duration", ")", "(", "capacity", "uint64", ",", "err", "error", ")", "{", "// Check that the input is reasonable.", "if", "rateHz", "<=", "0", "||", "math", ".", "IsInf...
22,753
all-22754
[ "Register", "adds", "a", "subcommand", "to", "the", "supported", "subcommands", "in", "the", "specified", "group", ".", "(", "Help", "output", "is", "sorted", "and", "arranged", "by", "group", "name", ".", ")", "The", "empty", "string", "is", "an", "accept...
[ "func", "(", "cdr", "*", "Commander", ")", "Register", "(", "cmd", "Command", ",", "group", "string", ")", "{", "for", "_", ",", "g", ":=", "range", "cdr", ".", "commands", "{", "if", "g", ".", "name", "==", "group", "{", "g", ".", "commands", "=...
22,754
all-22755
[ "Client", "returns", "a", "HTTP", "client", "using", "the", "bearer", "token", "." ]
[ "func", "(", "b", "*", "Bearer", ")", "Client", "(", ")", "*", "http", ".", "Client", "{", "return", "&", "http", ".", "Client", "{", "Transport", ":", "&", "oauth2", ".", "Transport", "{", "<mask>", ":", "b", ",", "}", ",", "}", "\n", "}" ]
22,755
all-22756
[ "WithContext", "adds", "the", "context", "to", "the", "patch", "apps", "app", "params" ]
[ "func", "(", "o", "*", "PatchAppsAppParams", ")", "WithContext", "(", "ctx", "<mask>", ".", "Context", ")", "*", "PatchAppsAppParams", "{", "o", ".", "SetContext", "(", "ctx", ")", "\n", "return", "o", "\n", "}" ]
22,756
all-22757
[ "Render", "renders", "a", "template", "using", "the", "provided", "template", "and", "vars", "struct", "and", "returns", "a", "response", "with", "the", "rendered", "template" ]
[ "func", "(", "c", "*", "Controller", ")", "Render", "(", "templateStr", "string", ",", "vars", "interface", "{", "}", ")", "*", "OkResponse", "{", "response", ":=", "NewResponse", "(", ")", "\n", "<mask>", ".", "SetContent", "(", "c", ".", "RenderView", ...
22,757
all-22758
[ "imageLoadGoroutine", "accepts", "tar", "stream", "on", "reader", "sends", "it", "to", "c", "and", "reports", "error", "or", "success", "by", "writing", "to", "statusChannel" ]
[ "func", "imageLoadGoroutine", "(", "ctx", "context", ".", "Context", ",", "c", "*", "client", ".", "Client", ",", "reader", "*", "io", ".", "PipeReader", ",", "statusChannel", "chan", "<-", "error", ")", "{", "err", ":=", "errors", ".", "New", "(", "\"...
22,758
all-22759
[ "AfterEachMiddleware", "is", "invoked", "after", "any", "other", "and", "is", "the", "last", "function", "to", "be", "called", "prior", "to", "returning", "to", "the", "test", "suite", ".", "It", "is", "therefore", "not", "invoked", "on", "__setup" ]
[ "func", "AfterEachMiddleware", "(", "AfterEach", "types", ".", "Hook", ")", "proxy", ".", "Middleware", "{", "return", "func", "(", "next", "http", ".", "Handler", ")", "http", ".", "Handler", "{", "return", "http", ".", "HandlerFunc", "(", "func", "(", ...
22,759
all-22760
[ "SetTrackPrintStatus", "()", "is", "a", "wrapper", "around", "gtk_print_operation_set_track_print_status", "()", "." ]
[ "func", "(", "po", "*", "PrintOperation", ")", "SetTrackPrintStatus", "(", "<mask>", "bool", ")", "{", "C", ".", "gtk_print_operation_set_track_print_status", "(", "po", ".", "native", "(", ")", ",", "gbool", "(", "progress", ")", ")", "\n", "}" ]
22,760
all-22761
[ "Form", "is", "middleware", "to", "deserialize", "form", "-", "urlencoded", "data", "from", "the", "request", ".", "It", "gets", "data", "from", "the", "form", "-", "urlencoded", "body", "if", "present", "or", "from", "the", "query", "string", ".", "It", ...
[ "func", "Form", "(", "formStruct", "interface", "{", "}", ",", "ifacePtr", "...", "interface", "{", "}", ")", "martini", ".", "Handler", "{", "return", "func", "(", "context", "martini", ".", "Context", ",", "req", "*", "http", ".", "Request", ")", "{"...
22,761
all-22762
[ "startStopReplication", "will", "set", "up", "state", "and", "start", "asynchronous", "replication", "to", "new", "peers", "and", "stop", "replication", "to", "removed", "peers", ".", "Before", "removing", "a", "peer", "it", "ll", "instruct", "the", "replication...
[ "func", "(", "r", "*", "Raft", ")", "startStopReplication", "(", ")", "{", "inConfig", ":=", "make", "(", "map", "[", "ServerID", "]", "bool", ",", "len", "(", "r", ".", "configurations", ".", "latest", ".", "Servers", ")", ")", "\n", "lastIdx", ":="...
22,762
all-22763
[ "NewWithWebhook", "creates", "a", "new", "API", "client", "for", "a", "Telegram", "bot", "using", "the", "apiKey", "provided", ".", "It", "will", "call", "the", "GetMe", "method", "to", "retrieve", "the", "bots", "id", "name", "and", "username", ".", "In",...
[ "func", "NewWithWebhook", "(", "apiKey", ",", "webhookURL", ",", "certificate", "string", ")", "(", "*", "TelegramBotAPI", ",", "http", ".", "HandlerFunc", ",", "error", ")", "{", "toReturn", ":=", "TelegramBotAPI", "{", "Updates", ":", "make", "(", "chan", ...
22,763
all-22764
[ "CssProviderNew", "is", "a", "wrapper", "around", "gtk_css_provider_new", "()", "." ]
[ "func", "CssProviderNew", "(", ")", "(", "*", "CssProvider", ",", "<mask>", ")", "{", "c", ":=", "C", ".", "gtk_css_provider_new", "(", ")", "\n", "if", "c", "==", "nil", "{", "return", "nil", ",", "nilPtrErr", "\n", "}", "\n\n", "return", "wrapCssProv...
22,764
all-22765
[ "formatURL", "returns", "formatted", "url", "for", "tcs", "endpoint", "." ]
[ "func", "formatURL", "(", "endpoint", "string", ",", "cluster", "string", ",", "containerInstance", "string", ")", "string", "{", "tcsURL", ":=", "endpoint", "\n", "if", "!", "strings", ".", "HasSuffix", "(", "tcsURL", ",", "\"", "\"", ")", "{", "tcsURL", ...
22,765
all-22766
[ "Options", "handles", "OPTIONS", "methods", "with", "a", "given", "pattern" ]
[ "func", "(", "r", "*", "Router", ")", "Options", "(", "<mask>", "string", ",", "handlers", "...", "interface", "{", "}", ")", "*", "Router", "{", "c", ":=", "r", ".", "pattern", "(", "pattern", ")", "\n", "c", ".", "Method", "=", "\"", "\"", "\n"...
22,766
all-22767
[ "RegisterHealthHandler", "uses", "the", "user", "-", "specified", "function", "f", "for", "the", "Health", "endpoint", "." ]
[ "func", "(", "s", "*", "<mask>", ")", "RegisterHealthHandler", "(", "f", "HealthFunc", ")", "{", "wrapped", ":=", "func", "(", "ctx", "Context", ",", "r", "HealthRequest", ")", "(", "bool", ",", "string", ")", "{", "return", "f", "(", "ctx", ")", "\n...
22,767
all-22768
[ "Step", "3", "is", "the", "removal", "of", "residual", "suffixes", "." ]
[ "func", "step3", "(", "word", "*", "snowballword", ".", "SnowballWord", ")", "bool", "{", "suffix", ",", "suffixRunes", ":=", "word", ".", "FirstSuffixIfIn", "(", "<mask>", ".", "RVstart", ",", "len", "(", "word", ".", "RS", ")", ",", "\"", "\"", ",", ...
22,768
all-22769
[ "Rev", "fetches", "current", "revision", "on", "this", "member", "." ]
[ "func", "(", "m", "*", "Member", ")", "Rev", "(", "ctx", "context", ".", "Context", ")", "(", "int64", ",", "error", ")", "{", "cli", ",", "err", ":=", "m", ".", "CreateEtcdClient", "(", ")", "\n", "if", "err", "!=", "nil", "{", "return", "0", ...
22,769
all-22770
[ "Fetch", "information", "about", "all", "node", "-", "specific", "configuration", "keys", "set", "on", "the", "storage", "pools", "and", "networks", "of", "this", "cluster", "." ]
[ "func", "clusterGetMemberConfig", "(", "cluster", "*", "db", ".", "Cluster", ")", "(", "[", "]", "api", ".", "ClusterMemberConfigKey", ",", "error", ")", "{", "var", "pools", "<mask>", "[", "string", "]", "map", "[", "string", "]", "string", "\n", "var",...
22,770
all-22771
[ "datacenterFromID", "locates", "a", "Datacenter", "by", "its", "managed", "object", "reference", "ID", "." ]
[ "func", "datacenterFromID", "(", "client", "*", "govmomi", ".", "Client", ",", "id", "string", ")", "(", "*", "object", ".", "Datacenter", ",", "error", ")", "{", "finder", ":=", "find", ".", "NewFinder", "(", "client", ".", "Client", ",", "false", ")"...
22,771
all-22772
[ "rmCommandFunc", "executes", "the", "rm", "command", "." ]
[ "func", "rmCommandFunc", "(", "c", "*", "cli", ".", "Context", ",", "ki", "<mask>", ".", "KeysAPI", ")", "{", "if", "len", "(", "c", ".", "Args", "(", ")", ")", "==", "0", "{", "handleError", "(", "c", ",", "ExitBadArgs", ",", "errors", ".", "New...
22,772
all-22773
[ "Execute", "will", "check", "the", "given", "certificate", "to", "ensure", "that", "all", "of", "the", "DNS", "subject", "alternate", "names", "that", "specify", "a", "reverse", "DNS", "name", "under", "the", "respective", "IPv4", "or", "IPv6", "arpa", "zone...
[ "func", "(", "l", "*", "arpaMalformedIP", ")", "Execute", "(", "c", "*", "x509", ".", "Certificate", ")", "*", "LintResult", "{", "for", "_", ",", "name", ":=", "range", "c", ".", "DNSNames", "{", "name", "=", "strings", ".", "ToLower", "(", "name", ...
22,773
all-22774
[ "Do", "executes", "Storage", ".", "getUsageAndQuota", "against", "the", "provided", "context", ".", "returns", ":", "usage", "-", "Storage", "usage", "(", "bytes", ")", ".", "quota", "-", "Storage", "quota", "(", "bytes", ")", ".", "usageBreakdown", "-", "...
[ "func", "(", "p", "*", "GetUsageAndQuotaParams", ")", "Do", "(", "ctx", "context", ".", "Context", ")", "(", "usage", "float64", ",", "quota", "float64", ",", "usageBreakdown", "[", "]", "*", "UsageForType", ",", "err", "error", ")", "{", "// execute", "...
22,774
all-22775
[ "hasID", "look", "for", "a", "specific", "id", "in", "a", "list", "of", "events" ]
[ "func", "hasID", "(", "events", "[", "]", "*", "github", ".", "IssueEvent", ",", "id", "int", ")", "bool", "{", "for", "_", ",", "event", ":=", "range", "events", "{", "if", "*", "event", ".", "ID", "==", "int64", "(", "id", ")", "{", "return", ...
22,775
all-22776
[ "NewClusterWithHost", "returns", "a", "cluster", "with", "the", "given", "URIs", "." ]
[ "func", "NewClusterWithHost", "(", "hosts", "...", "*", "URI", ")", "*", "Cluster", "{", "cluster", ":=", "DefaultCluster", "(", ")", "\n", "for", "_", ",", "host", ":=", "<mask>", "hosts", "{", "cluster", ".", "AddHost", "(", "host", ")", "\n", "}", ...
22,776
all-22777
[ "New", "generator", "for", "creating", "a", "Buffalo", "API", "application" ]
[ "func", "New", "(", "opts", "*", "Options", ")", "(", "*", "genny", ".", "<mask>", ",", "error", ")", "{", "if", "err", ":=", "opts", ".", "Validate", "(", ")", ";", "err", "!=", "nil", "{", "return", "nil", ",", "err", "\n", "}", "\n\n", "gg",...
22,777
all-22778
[ "RemoveAppImages", "removes", "all", "app", "images", "from", "a", "remote", "registry", "v2", "server", "returning", "an", "error", "in", "case", "of", "failure", "." ]
[ "func", "RemoveAppImages", "(", "appName", "string", ")", "error", "{", "registry", ",", "_", ":=", "config", ".", "GetString", "(", "\"", "\"", ")", "\n", "if", "registry", "==", "\"", "\"", "{", "// Nothing to do if no registry is set", "return", "nil", "\...
22,778
all-22779
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "GetHeapUsageReturns", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoRuntime25", "(", "&", "w", ",", "v", "...
22,779
all-22780
[ "OptClientManualServerAddress", "forces", "the", "client", "use", "only", "the", "manual", "server", "address" ]
[ "func", "OptClientManualServerAddress", "(", "enabled", "bool", ")", "ClientOption", "{", "return", "func", "(", "options", "*", "ClientOptions", ")", "error", "{", "<mask>", ".", "manualServerAddress", "=", "enabled", "\n", "return", "nil", "\n", "}", "\n", "...
22,780
all-22781
[ "GetAccelPath", "is", "a", "wrapper", "around", "gtk_menu_get_accel_path", "()", "." ]
[ "func", "(", "v", "*", "Menu", ")", "GetAccelPath", "(", ")", "string", "{", "c", ":=", "C", ".", "gtk_menu_get_accel_path", "(", "v", ".", "native", "(", ")", ")", "\n", "return", "C", ".", "GoString", "(", "(", "*", "C", ".", "<mask>", ")", "("...
22,781
all-22782
[ "CreateComment", "creates", "a", "comment", "on", "the", "issue", ".", "See", "https", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "issues", "/", "comments", "/", "#create", "-", "a", "-", "comment" ]
[ "func", "(", "c", "*", "Client", ")", "CreateComment", "(", "org", ",", "repo", "string", ",", "number", "int", ",", "<mask>", "string", ")", "error", "{", "c", ".", "log", "(", "\"", "\"", ",", "org", ",", "repo", ",", "number", ",", "comment", ...
22,782
all-22783
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "SetVirtualTimePolicyReturns", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation", "(", "&", "w", ",", ...
22,783
all-22784
[ "NewUbuntuCluster", "creates", "a", "simple", "Ubuntu", "Openstack", "cluster", "." ]
[ "func", "NewUbuntuCluster", "(", "name", "string", ")", "*", "cluster", ".", "Cluster", "{", "var", "(", "masterName", "=", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "name", ")", "\n", "nodeName", "=", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", ...
22,784
all-22785
[ "CreateDashboard", "creates", "a", "new", "dashboard", "." ]
[ "func", "(", "a", "*", "API", ")", "CreateDashboard", "(", "cfg", "*", "Dashboard", ")", "(", "*", "Dashboard", ",", "error", ")", "{", "if", "cfg", "==", "nil", "{", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ")", "\n", "}", ...
22,785
all-22786
[ "Load", "reads", "state", "off", "the", "disk", "from", "the", "well", "-", "known", "filepath", "and", "loads", "it", "into", "the", "passed", "State", "object", "." ]
[ "func", "(", "manager", "*", "basicStateManager", ")", "Load", "(", ")", "error", "{", "s", ":=", "manager", ".", "state", "\n", "log", ".", "Info", "(", "\"", "\"", ")", "\n", "data", ",", "err", ":=", "manager", ".", "readFile", "(", ")", "\n", ...
22,786
all-22787
[ "FindRulesByImport", "attempts", "to", "resolve", "an", "import", "string", "to", "a", "rule", "record", ".", "imp", "is", "the", "import", "to", "resolve", "(", "which", "includes", "the", "target", "language", ")", ".", "lang", "is", "the", "language", "...
[ "func", "(", "ix", "*", "RuleIndex", ")", "FindRulesByImport", "(", "imp", "ImportSpec", ",", "lang", "string", ")", "[", "]", "FindResult", "{", "matches", ":=", "ix", ".", "importMap", "[", "imp", "]", "\n", "results", ":=", "make", "(", "[", "]", ...
22,787
all-22788
[ "DoTimeout", "calculates", "deadline", "and", "calls", "DoDeadline", "on", "the", "least", "loaded", "client" ]
[ "func", "(", "cc", "*", "LBClient", ")", "DoTimeout", "(", "req", "*", "Request", ",", "resp", "*", "<mask>", ",", "timeout", "time", ".", "Duration", ")", "error", "{", "deadline", ":=", "time", ".", "Now", "(", ")", ".", "Add", "(", "timeout", ")...
22,788
all-22789
[ "Specify", "the", "value", "of", "a", "uniform", "variable", "for", "the", "current", "program", "object" ]
[ "func", "Uniform1i", "(", "location", "int32", ",", "v0", "int32", ")", "{", "syscall", ".", "Syscall", "(", "gpUniform1i", ",", "2", ",", "uintptr", "(", "<mask>", ")", ",", "uintptr", "(", "v0", ")", ",", "0", ")", "\n", "}" ]
22,789
all-22790
[ "HasFillMax", "returns", "a", "boolean", "if", "a", "field", "has", "been", "set", "." ]
[ "func", "(", "t", "*", "TileDefStyle", ")", "HasFillMax", "(", ")", "bool", "{", "if", "t", "!=", "nil", "&&", "t", ".", "FillMax", "!=", "nil", "{", "return", "true", "\n", "}", "\n\n", "return", "<mask>", "\n", "}" ]
22,790
all-22791
[ "Execute", "-", "updates", "named", "quota" ]
[ "func", "(", "c", "*", "OrgNamedQuotaConfigurationCommand", ")", "Execute", "(", "args", "[", "]", "string", ")", "error", "{", "c", ".", "initConfig", "(", ")", "\n", "orgQuota", ",", "err", ":=", "c", ".", "ConfigManager", ".", "GetOrgQuota", "(", "c",...
22,791
all-22792
[ "GetAcceptFocus", "is", "a", "wrapper", "around", "gtk_window_get_accept_focus", "()", "." ]
[ "func", "(", "v", "*", "Window", ")", "GetAcceptFocus", "(", ")", "bool", "{", "c", ":=", "C", ".", "gtk_window_get_accept_focus", "(", "v", ".", "native", "(", ")", ")", "\n", "<mask>", "gobool", "(", "c", ")", "\n", "}" ]
22,792
all-22793
[ "ManageOffer", "groups", "the", "creation", "of", "a", "new", "ManageOfferBuilder", "with", "a", "call", "to", "Mutate", "." ]
[ "func", "ManageOffer", "(", "passiveOffer", "bool", ",", "muts", "...", "<mask>", "{", "}", ")", "(", "result", "ManageOfferBuilder", ")", "{", "result", ".", "PassiveOffer", "=", "passiveOffer", "\n", "result", ".", "Mutate", "(", "muts", "...", ")", "\n"...
22,793
all-22794
[ "MapCloudIP", "issues", "a", "request", "to", "map", "the", "cloud", "ip", "to", "the", "destination", ".", "The", "destination", "can", "be", "an", "identifier", "of", "any", "resource", "capable", "of", "receiving", "a", "Cloud", "IP", "such", "as", "a",...
[ "func", "(", "c", "*", "Client", ")", "MapCloudIP", "(", "identifier", "string", ",", "destination", "string", ")", "error", "{", "_", ",", "err", ":=", "c", ".", "MakeApiRequest", "(", "\"", "\"", ",", "\"", "\"", "+", "identifier", "+", "\"", "\"",...
22,794
all-22795
[ "NewGossip", "returns", "a", "usable", "GossipChannel", "from", "the", "router", ".", "TODO", "(", "pb", ")", ":", "rename?" ]
[ "func", "(", "router", "*", "Router", ")", "NewGossip", "(", "channelName", "string", ",", "g", "Gossiper", ")", "(", "Gossip", ",", "error", ")", "{", "channel", ":=", "newGossipChannel", "(", "channelName", ",", "router", ".", "Ourself", ",", "router", ...
22,795
all-22796
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "RequestCacheNamesReturns", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "<mask>", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoCachestorage4", "(", "&", "w", ",", ...
22,796
all-22797
[ "ResetPartitionOffset", "marks", "an", "offset", "of", "the", "provided", "topic", "/", "partition", "as", "processed", ".", "See", "ResetOffset", "for", "additional", "explanation", "." ]
[ "func", "(", "c", "*", "Consumer", ")", "ResetPartitionOffset", "(", "topic", "string", ",", "partition", "int32", ",", "offset", "int64", ",", "<mask>", "string", ")", "{", "sub", ":=", "c", ".", "subs", ".", "Fetch", "(", "topic", ",", "partition", "...
22,797
all-22798
[ "NewImage", "returns", "a", "types", ".", "ImageCloser", "for", "this", "reference", "possibly", "specialized", "for", "this", "ImageTransport", ".", "The", "caller", "must", "call", ".", "Close", "()", "on", "the", "returned", "ImageCloser", ".", "NOTE", ":",...
[ "func", "(", "ref", "ostreeReference", ")", "NewImage", "(", "ctx", "context", ".", "Context", ",", "sys", "*", "<mask>", ".", "SystemContext", ")", "(", "types", ".", "ImageCloser", ",", "error", ")", "{", "var", "tmpDir", "string", "\n", "if", "sys", ...
22,798
all-22799
[ "Len", "derives", "the", "scalar", "scalar", "length", "of", "the", "vector", ".", "(", "len", ")" ]
[ "func", "(", "v", "Vec3", ")", "Len", "(", ")", "float32", "{", "<mask>", "math32", ".", "Sqrt", "(", "v", "[", "0", "]", "*", "v", "[", "0", "]", "+", "v", "[", "1", "]", "*", "v", "[", "1", "]", "+", "v", "[", "2", "]", "*", "v", "[...
22,799
all-22800
[ "SetItems", "implements", "the", "Collection", "interface" ]
[ "func", "(", "in", "*", "ResourcesConfigCollection", ")", "SetItems", "(", "objects", "[", "]", "Object", ")", "{", "<mask>", "items", "[", "]", "*", "ResourcesConfigObject", "\n", "for", "_", ",", "b", ":=", "range", "objects", "{", "items", "=", "appen...