id
int32
0
25.3k
idx
stringlengths
5
9
nl_tokens
listlengths
1
418
pl_tokens
listlengths
22
4.98k
8,200
all-8201
[ "Ellipsize", "truncates", "text", "to", "maxWidth", "by", "replacing", "a", "substring", "in", "the", "middle", "with", "ellipsis", "and", "keeping", "the", "beginning", "and", "ending", "of", "the", "string", "untouched", ".", "If", "maxWidth", "is", "less", ...
[ "func", "Ellipsize", "(", "str", "string", ",", "maxWidth", "int", ")", "string", "{", "ln", ":=", "xs", ".", "Len", "(", "str", ")", "\n", "if", "ln", "<=", "maxWidth", "{", "return", "str", "\n", "}", "\n\n", "if", "maxWidth", "<", "5", "{", "r...
8,201
all-8202
[ "ListContainers", "mocks", "base", "method" ]
[ "func", "(", "m", "*", "MockDockerClient", ")", "ListContainers", "(", "arg0", "context", ".", "Context", ",", "arg1", "bool", ",", "arg2", "time", ".", "Duration", ")", "dockerapi", ".", "ListContainersResponse", "{", "<mask>", ":=", "m", ".", "ctrl", "."...
8,202
all-8203
[ "replaceTables", "will", "replace", "tables", "[", "left", ":", "right", "]", "with", "newTables", ".", "Note", "this", "EXCLUDES", "tables", "[", "right", "]", ".", "You", "must", "call", "decr", "()", "to", "delete", "the", "old", "tables", "_after_", ...
[ "func", "(", "s", "*", "levelHandler", ")", "replaceTables", "(", "toDel", ",", "toAdd", "[", "]", "*", "table", ".", "Table", ")", "error", "{", "// Need to re-search the range of tables in this level to be replaced as other goroutines might", "// be changing it as well. ...
8,203
all-8204
[ "Revoke", "removes", "a", "set", "of", "permissions", "to", "the", "permission", "object", "on", "which", "it", "is", "called", "returning", "a", "new", "permission", "object", "." ]
[ "func", "(", "rw", "RWPermission", ")", "Revoke", "(", "lg", "*", "zap", ".", "Logger", ",", "n", "RWPermission", ")", "(", "RWPermission", ",", "error", ")", "{", "<mask>", "out", "RWPermission", "\n", "currentRead", ":=", "types", ".", "NewUnsafeSet", ...
8,204
all-8205
[ "Rand", "picks", "one", "HandlerFunc", "(", "s", ")", "in", "the", "slide", "." ]
[ "func", "Rand", "(", "h", "...", "HandlerFunc", ")", "HandlerFunc", "{", "f", ":=", "func", "(", "ctx", "*", "<mask>", ")", "error", "{", "if", "err", ":=", "h", "[", "rand", ".", "Intn", "(", "len", "(", "h", ")", ")", "]", "(", "ctx", ")", ...
8,205
all-8206
[ "Extract", "all", "cluster", "state", "call", "f", "with", "each", "operation", "." ]
[ "func", "(", "c", "APIClient", ")", "Extract", "(", "objects", "bool", ",", "f", "func", "(", "op", "*", "admin", ".", "Op", ")", "error", ")", "error", "{", "extractClient", ",", "err", ":=", "c", ".", "AdminAPIClient", ".", "Extract", "(", "c", "...
8,206
all-8207
[ "Error", "returns", "the", "string", "representation", "of", "an", "Error", "." ]
[ "func", "(", "e", "<mask>", ")", "Error", "(", ")", "string", "{", "return", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "e", ".", "Err", ",", "e", ".", "Debug", ",", "e", ".", "Stderr", ")", "\n", "}" ]
8,207
all-8208
[ "UnmarshalJSON", "satisfies", "json", ".", "Unmarshaler", "." ]
[ "func", "(", "t", "*", "ErrorReason", ")", "UnmarshalJSON", "(", "buf", "[", "]", "<mask>", ")", "error", "{", "return", "easyjson", ".", "Unmarshal", "(", "buf", ",", "t", ")", "\n", "}" ]
8,208
all-8209
[ "commandArgs", "is", "the", "command", "arguments", "after", "spf13", "/", "cobra", "parses", "all", "watch", "command", "flags", "strips", "out", "special", "characters", "(", "e", ".", "g", ".", "--", ")", ".", "orArgs", "is", "the", "raw", "arguments", ...
[ "func", "parseWatchArgs", "(", "osArgs", ",", "commandArgs", "[", "]", "string", ",", "envKey", ",", "envRange", "string", ",", "interactive", "bool", ")", "(", "watchArgs", "[", "]", "string", ",", "execArgs", "[", "]", "string", ",", "err", "error", ")...
8,209
all-8210
[ "Using", "the", "EZ", "API", "posts", "a", "count", "of", "1", "to", "a", "stat", "." ]
[ "func", "(", "r", "*", "BasicReporter", ")", "PostEZCountOne", "(", "statName", ",", "ezkey", "string", ")", "error", "{", "<mask>", "r", ".", "PostEZCount", "(", "statName", ",", "ezkey", ",", "1", ")", "\n", "}" ]
8,210
all-8211
[ "ComputeMastersFromSeed", "returns", "the", "master", "public", "key", "master", "secret", "and", "chain", "code", "in", "hex", "." ]
[ "func", "ComputeMastersFromSeed", "(", "seed", "string", ")", "(", "string", ",", "string", ",", "string", ")", "{", "key", ",", "data", ":=", "[", "]", "byte", "(", "\"", "\"", ")", ",", "[", "]", "byte", "(", "seed", ")", "\n", "secret", ",", "...
8,211
all-8212
[ "GetSMTP", "returns", "a", "SMTP", "Server", "configurations" ]
[ "func", "GetSMTP", "(", "source", "interface", "{", "}", ",", "environment", "string", ")", "(", "smtp", "Config", ",", "err", "error", ")", "{", "var", "smtpEnvironment", "SMTPEnvironment", "\n", "i", ",", "err", ":=", "config", ".", "Get", "(", "<mask>...
8,212
all-8213
[ "String", "returns", "the", "name", "of", "e" ]
[ "func", "(", "e", "CreateAccountResultCode", ")", "String", "(", ")", "string", "{", "<mask>", ",", "_", ":=", "createAccountResultCodeMap", "[", "int32", "(", "e", ")", "]", "\n", "return", "name", "\n", "}" ]
8,213
all-8214
[ "ListOrgInvitations", "lists", "pending", "invitations", "to", "th", "org", ".", "https", ":", "//", "developer", ".", "github", ".", "com", "/", "v3", "/", "orgs", "/", "members", "/", "#list", "-", "pending", "-", "organization", "-", "invitations" ]
[ "func", "(", "c", "*", "Client", ")", "ListOrgInvitations", "(", "org", "string", ")", "(", "[", "]", "OrgInvitation", ",", "error", ")", "{", "c", ".", "log", "(", "\"", "\"", ",", "org", ")", "\n", "if", "c", ".", "fake", "{", "return", "nil", ...
8,214
all-8215
[ "String", "returns", "the", "formatted", "sequence" ]
[ "func", "(", "s", "*", "FileSequence", ")", "String", "(", ")", "string", "{", "var", "fs", "string", "\n", "if", "s", ".", "frameSet", "!=", "nil", "{", "fs", "=", "s", ".", "frameSet", ".", "String", "(", ")", "\n", "}", "\n", "buf", ":=", "<...
8,215
all-8216
[ "===", "day_of_month", "(", "v", "Vector", ")", "Scalar", "===" ]
[ "func", "funcDayOfMonth", "(", "vals", "[", "]", "Value", ",", "args", "Expressions", ",", "enh", "*", "EvalNodeHelper", ")", "Vector", "{", "return", "dateWrapper", "(", "vals", ",", "enh", ",", "func", "(", "t", "<mask>", ".", "Time", ")", "float64", ...
8,216
all-8217
[ "NewWriter", "creates", "a", "new", "Writer", "instance", "." ]
[ "func", "NewWriter", "(", "w", "io", ".", "Writer", ")", "*", "Writer", "{", "return", "&", "<mask>", "{", "wr", ":", "bufio", ".", "NewWriter", "(", "w", ")", ",", "b", ":", "make", "(", "[", "]", "byte", ",", "writerBufferSize", ")", ",", "tr",...
8,217
all-8218
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "EventChildNodeInserted", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "<mask>", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoDom64", "(", "&", "w", ",", "v", ")...
8,218
all-8219
[ "String", "implements", "stringer", "for", "VSphereVersion", "." ]
[ "func", "(", "v", "VSphereVersion", ")", "<mask>", "(", ")", "string", "{", "return", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "v", ".", "Product", ",", "v", ".", "Major", ",", "v", ".", "Minor", ",", "v", ".", "Patch", ",", "v", ".", "Buil...
8,219
all-8220
[ "Finds", "the", "region", "after", "the", "first", "non", "-", "vowel", "following", "a", "vowel", "or", "a", "the", "null", "region", "at", "the", "end", "of", "the", "word", "if", "there", "is", "no", "such", "non", "-", "vowel", ".", "Returns", "t...
[ "func", "VnvSuffix", "(", "word", "*", "snowballword", ".", "SnowballWord", ",", "f", "isVowelFunc", ",", "start", "int", ")", "int", "{", "for", "i", ":=", "1", ";", "i", "<", "len", "(", "word", ".", "RS", "[", "start", ":", "]", ")", ";", "i",...
8,220
all-8221
[ "Push", "pushes", "the", "data", "to", "a", "specific", "device", "registered", "with", "PushBullet", ".", "The", "data", "parameter", "is", "marshaled", "to", "JSON", "and", "sent", "as", "the", "request", "body", ".", "Most", "users", "should", "call", "...
[ "func", "(", "c", "*", "Client", ")", "Push", "(", "endPoint", "string", ",", "data", "interface", "{", "}", ")", "error", "{", "req", ":=", "c", ".", "buildRequest", "(", "endPoint", ",", "data", ")", "\n", "resp", ",", "err", ":=", "c", ".", "C...
8,221
all-8222
[ "native", "returns", "a", "pointer", "to", "the", "underlying", "GtkShortcutsShortcut", "." ]
[ "func", "(", "v", "*", "ShortcutsShortcut", ")", "native", "(", ")", "*", "C", ".", "GtkShortcutsShortcut", "{", "if", "v", "==", "nil", "||", "v", ".", "GObject", "==", "nil", "{", "return", "nil", "\n", "}", "\n", "p", ":=", "unsafe", ".", "Point...
8,222
all-8223
[ "When", "modifying", "this", "don", "t", "forget", "to", "update", "loadFromFile", "()" ]
[ "func", "(", "a", "*", "AddrBook", ")", "init", "(", ")", "{", "a", ".", "key", "=", "crypto", ".", "CRandHex", "(", "24", ")", "// 24/2 * 8 = 96 bits", "\n", "// New addr buckets", "a", ".", "addrNew", "=", "make", "(", "[", "]", "map", "[", "string...
8,223
all-8224
[ "specify", "a", "one", "-", "dimensional", "texture", "subimage", "in", "a", "compressed", "format" ]
[ "func", "CompressedTexSubImage1D", "(", "<mask>", "uint32", ",", "level", "int32", ",", "xoffset", "int32", ",", "width", "int32", ",", "format", "uint32", ",", "imageSize", "int32", ",", "data", "unsafe", ".", "Pointer", ")", "{", "syscall", ".", "Syscall9"...
8,224
all-8225
[ "determine", "if", "a", "name", "corresponds", "to", "a", "transform", "feedback", "object" ]
[ "func", "IsTransformFeedback", "(", "id", "uint32", ")", "bool", "{", "ret", ":=", "C", ".", "glowIsTransformFeedback", "(", "gpIsTransformFeedback", ",", "(", "C", ".", "GLuint", ")", "(", "<mask>", ")", ")", "\n", "return", "ret", "==", "TRUE", "\n", "...
8,225
all-8226
[ "NewLease", "-", "create", "and", "return", "a", "new", "lease", "object" ]
[ "func", "NewLease", "(", "taskCollection", "integrations", ".", "Collection", ",", "availableSkus", "<mask>", "[", "string", "]", "skurepo", ".", "SkuBuilder", ")", "*", "Lease", "{", "return", "&", "Lease", "{", "taskCollection", ":", "taskCollection", ",", "...
8,226
all-8227
[ "MakeFunction", "returns", "a", "pre", "-", "compiled", "non", "-", "specialized", "function", ".", "Reference", ":", "https", ":", "//", "developer", ".", "apple", ".", "com", "/", "documentation", "/", "metal", "/", "mtllibrary", "/", "1515524", "-", "ma...
[ "func", "(", "l", "Library", ")", "MakeFunction", "(", "name", "string", ")", "(", "Function", ",", "error", ")", "{", "f", ":=", "C", ".", "Library_MakeFunction", "(", "l", ".", "library", ",", "C", ".", "CString", "(", "name", ")", ")", "\n", "if...
8,227
all-8228
[ "Send", "sets", "the", "headers", "on", "response", "to", "instruct", "App", "Engine", "to", "send", "a", "blob", "as", "the", "response", "body", ".", "This", "is", "more", "efficient", "than", "reading", "and", "writing", "it", "out", "manually", "and", ...
[ "func", "Send", "(", "response", "http", ".", "ResponseWriter", ",", "blobKey", "appengine", ".", "BlobKey", ")", "{", "hdr", ":=", "response", ".", "Header", "(", ")", "\n", "hdr", ".", "Set", "(", "\"", "\"", ",", "string", "(", "blobKey", ")", ")"...
8,228
all-8229
[ "Pristine", "creates", "a", "new", "pristine", "document", "instance", "based", "on", "the", "input", "data" ]
[ "func", "(", "d", "*", "Document", ")", "Pristine", "(", ")", "*", "Document", "{", "dd", ",", "_", ":=", "Analyzed", "(", "d", ".", "Raw", "(", ")", ",", "d", ".", "<mask>", "(", ")", ")", "\n", "return", "dd", "\n", "}" ]
8,229
all-8230
[ "RevertToSnapshot", "restores", "the", "virtual", "machine", "to", "the", "state", "when", "the", "specified", "snapshot", "was", "created", ".", "Parameters", ":", "snapshot", ":", "A", "Snapshot", "instance", ".", "Call", "VVM", ".", "GetRootSnapshot", "()", ...
[ "func", "(", "v", "*", "VM", ")", "RevertToSnapshot", "(", "snapshot", "*", "Snapshot", ",", "options", "VMPowerOption", ")", "error", "{", "var", "jobHandle", "C", ".", "VixHandle", "=", "C", ".", "VIX_INVALID_HANDLE", "\n", "var", "err", "C", ".", "Vix...
8,230
all-8231
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "EvaluateOnCallFrameReturns", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger42", "(", "&", "w", ",", ...
8,231
all-8232
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "GetPropertiesParams", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoRuntime22", "(", "&", "w", ",", "v", "...
8,232
all-8233
[ "Get", "temporary", "DSN", "(", "access", "credentials", ")", "for", "a", "sentry", "project", ".", "The", "credentials", "returned", "can", "be", "used", "with", "any", "Sentry", "client", "for", "up", "to", "24", "hours", "after", "which", "the", "creden...
[ "func", "(", "auth", "*", "Auth", ")", "SentryDSN", "(", "project", "string", ")", "(", "*", "SentryDSNResponse", ",", "error", ")", "{", "cd", ":=", "tcclient", ".", "<mask>", "(", "*", "auth", ")", "\n", "responseObject", ",", "_", ",", "err", ":="...
8,233
all-8234
[ "GetCreateFlags", "registers", "the", "flags", "this", "driver", "adds", "to", "docker", "hosts", "create" ]
[ "func", "(", "d", "*", "Driver", ")", "GetCreateFlags", "(", ")", "[", "]", "mcnflag", ".", "Flag", "{", "return", "[", "]", "mcnflag", ".", "Flag", "{", "mcnflag", ".", "StringFlag", "{", "Name", ":", "\"", "\"", ",", "Usage", ":", "\"", "\"", "...
8,234
all-8235
[ "Counter", "returns", "the", "incrementing", "value", "part", "of", "the", "id", ".", "It", "s", "a", "runtime", "error", "to", "call", "this", "method", "with", "an", "invalid", "id", "." ]
[ "func", "(", "<mask>", "ObjectId", ")", "Counter", "(", ")", "int32", "{", "b", ":=", "id", ".", "byteSlice", "(", "9", ",", "12", ")", "\n", "// Counter is stored as big-endian 3-byte value", "return", "int32", "(", "uint32", "(", "b", "[", "0", "]", ")...
8,235
all-8236
[ "Vec3SAdd", "performs", "a", "scaled", "vector", "addition", ".", "dest", "=", "v1", "+", "(", "v2", "*", "s", ")", "dest", "[", "out", "]", "The", "result", "vector", ".", "v1", "[", "in", "]", "The", "base", "vector", ".", "v1", "[", "in", "]",...
[ "func", "Vec3SAdd", "(", "<mask>", ",", "v1", ",", "v2", "Vec3", ",", "s", "float32", ")", "{", "dest", "[", "0", "]", "=", "v1", "[", "0", "]", "+", "v2", "[", "0", "]", "*", "s", "\n", "dest", "[", "1", "]", "=", "v1", "[", "1", "]", ...
8,236
all-8237
[ "WaitTimeout", "sets", "the", "upper", "limit", "on", "the", "time", "to", "wait", "before", "executing", "the", "query", "." ]
[ "func", "(", "q", "*", "Query", ")", "WaitTimeout", "(", "d", "time", ".", "Duration", ")", "*", "Query", "{", "q", ".", "<mask>", "=", "append", "(", "q", ".", "headers", ",", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "d", "/", "time", ".",...
8,237
all-8238
[ "HasSilenced", "returns", "a", "boolean", "if", "a", "field", "has", "been", "set", "." ]
[ "func", "(", "a", "*", "Alert", ")", "HasSilenced", "(", ")", "bool", "{", "if", "a", "!=", "nil", "&&", "a", ".", "Silenced", "!=", "nil", "{", "return", "true", "\n", "}", "\n\n", "return", "<mask>", "\n", "}" ]
8,238
all-8239
[ "Set", "redefines", "the", "inuse", "units", "of", "the", "app", ".", "This", "new", "value", "must", "be", "smaller", "than", "or", "equal", "to", "the", "current", "limit", "of", "the", "app", ".", "It", "also", "must", "be", "a", "non", "negative", ...
[ "func", "(", "s", "*", "QuotaService", ")", "Set", "(", "appName", "string", ",", "inUse", "int", ")", "error", "{", "q", ",", "err", ":=", "s", ".", "Storage", ".", "Get", "(", "appName", ")", "\n", "if", "err", "!=", "nil", "{", "return", "err"...
8,239
all-8240
[ "GetBindvars", "returns", "a", "map", "of", "the", "bind", "vars", "referenced", "in", "the", "statement", ".", "TODO", "(", "sougou", ")", ";", "This", "function", "gets", "called", "again", "from", "vtgate", "/", "planbuilder", ".", "Ideally", "this", "s...
[ "func", "GetBindvars", "(", "stmt", "Statement", ")", "map", "[", "string", "]", "struct", "{", "}", "{", "bindvars", ":=", "make", "(", "map", "[", "string", "]", "struct", "{", "}", ")", "\n", "_", "=", "Walk", "(", "func", "(", "node", "SQLNode"...
8,240
all-8241
[ "prepareLoopDev", "()", "detects", "and", "sets", "up", "a", "loop", "device", "for", "source", ".", "It", "returns", "an", "open", "file", "descriptor", "to", "the", "free", "loop", "device", "and", "the", "path", "of", "the", "free", "loop", "device", ...
[ "func", "prepareLoopDev", "(", "source", "string", ",", "flags", "int", ")", "(", "*", "<mask>", ".", "File", ",", "error", ")", "{", "cLoopDev", ":=", "C", ".", "malloc", "(", "C", ".", "size_t", "(", "C", ".", "LO_NAME_SIZE", ")", ")", "\n", "if"...
8,241
all-8242
[ "GetStateCmd", "returns", "a", "cobra", ".", "Command", "to", "activate", "the", "enterprise", "features", "of", "Pachyderm", "within", "a", "Pachyderm", "cluster", ".", "All", "repos", "will", "go", "from", "publicly", "-", "accessible", "to", "accessible", "...
[ "func", "GetStateCmd", "(", "noMetrics", ",", "noPortForwarding", "*", "bool", ")", "*", "cobra", ".", "Command", "{", "getState", ":=", "&", "cobra", ".", "Command", "{", "Short", ":", "\"", "\"", "+", "\"", "\"", ",", "Long", ":", "\"", "\"", "+", ...
8,242
all-8243
[ "<unnamed", "-", "type", "-", "name", ">", "::", "=", "Ut", "[", "<nonnegative", "number", ">", "]", "_" ]
[ "func", "(", "st", "*", "state", ")", "unnamedTypeName", "(", ")", "AST", "{", "st", ".", "checkChar", "(", "'U'", ")", "\n", "st", ".", "checkChar", "(", "'t'", ")", "\n", "num", ":=", "st", ".", "compactNumber", "(", ")", "\n", "<mask>", ":=", ...
8,243
all-8244
[ "State", "mocks", "base", "method" ]
[ "func", "(", "m", "*", "MockCgroup", ")", "State", "(", ")", "cgroups", ".", "State", "{", "ret", ":=", "m", ".", "ctrl", ".", "Call", "(", "m", ",", "\"", "\"", ")", "\n", "ret0", ",", "_", ":=", "<mask>", "[", "0", "]", ".", "(", "cgroups",...
8,244
all-8245
[ "PangoFontDescription", "*", "pango_font_description_new", "(", "void", ")", ";" ]
[ "func", "FontDescriptionNew", "(", ")", "*", "FontDescription", "{", "c", ":=", "C", ".", "pango_font_description_new", "(", ")", "\n", "v", ":=", "<mask>", "(", "FontDescription", ")", "\n", "v", ".", "pangoFontDescription", "=", "c", "\n", "return", "v", ...
8,245
all-8246
[ "enqueueKey", "schedules", "an", "item", "for", "reconciliation", "." ]
[ "func", "(", "c", "*", "controller", ")", "enqueueKey", "(", "ctx", "string", ",", "obj", "interface", "{", "}", ")", "{", "switch", "o", ":=", "obj", ".", "(", "<mask>", ")", "{", "case", "*", "prowjobv1", ".", "ProwJob", ":", "c", ".", "workqueue...
8,246
all-8247
[ "copy", "a", "three", "-", "dimensional", "texture", "subimage" ]
[ "func", "CopyTexSubImage3D", "(", "target", "uint32", ",", "<mask>", "int32", ",", "xoffset", "int32", ",", "yoffset", "int32", ",", "zoffset", "int32", ",", "x", "int32", ",", "y", "int32", ",", "width", "int32", ",", "height", "int32", ")", "{", "C", ...
8,247
all-8248
[ "WithPlatform", "the", "platform", "navigator", ".", "platform", "should", "return", "." ]
[ "func", "(", "p", "SetUserAgentOverrideParams", ")", "WithPlatform", "(", "platform", "string", ")", "*", "SetUserAgentOverrideParams", "{", "p", ".", "<mask>", "=", "platform", "\n", "return", "&", "p", "\n", "}" ]
8,248
all-8249
[ "ProtoSend", "sends", "a", "protobuf", "message", "over", "a", "websocket" ]
[ "func", "ProtoSend", "(", "ws", "*", "websocket", ".", "Conn", ",", "msg", "proto", ".", "Message", ")", "error", "{", "w", ",", "err", ":=", "<mask>", ".", "NextWriter", "(", "websocket", ".", "BinaryMessage", ")", "\n", "if", "err", "!=", "nil", "{...
8,249
all-8250
[ "prowToGCS", "returns", "the", "GCS", "key", "corresponding", "to", "the", "given", "prow", "key" ]
[ "func", "(", "s", "*", "Spyglass", ")", "prowToGCS", "(", "prowKey", "string", ")", "(", "string", ",", "error", ")", "{", "jobName", ",", "buildID", ",", "err", ":=", "s", ".", "KeyToJob", "(", "prowKey", ")", "\n", "if", "err", "!=", "nil", "{", ...
8,250
all-8251
[ "GetIdOk", "returns", "a", "tuple", "with", "the", "Id", "field", "if", "it", "s", "non", "-", "nil", "zero", "value", "otherwise", "and", "a", "boolean", "to", "check", "if", "the", "value", "has", "been", "set", "." ]
[ "func", "(", "b", "*", "BoardWidget", ")", "GetIdOk", "(", ")", "(", "int", ",", "bool", ")", "{", "if", "b", "==", "nil", "||", "b", ".", "Id", "==", "nil", "{", "return", "0", ",", "false", "\n", "}", "\n", "return", "*", "b", ".", "Id", ...
8,251
all-8252
[ "--------------------------------------------------------------------", "Performs", "a", "heartbeat", "part", "of", "the", "mainLoop", "()" ]
[ "func", "(", "c", "*", "<mask>", ")", "heartbeat", "(", ")", "error", "{", "broker", ",", "err", ":=", "c", ".", "client", ".", "Coordinator", "(", "c", ".", "groupID", ")", "\n", "if", "err", "!=", "nil", "{", "c", ".", "closeCoordinator", "(", ...
8,252
all-8253
[ "NewTransaction", "creates", "a", "new", "transaction", ".", "Badger", "supports", "concurrent", "execution", "of", "transactions", "providing", "serializable", "snapshot", "isolation", "avoiding", "write", "skews", ".", "Badger", "achieves", "this", "by", "tracking",...
[ "func", "(", "db", "*", "DB", ")", "NewTransaction", "(", "update", "bool", ")", "*", "Txn", "{", "return", "db", ".", "newTransaction", "(", "<mask>", ",", "false", ")", "\n", "}" ]
8,253
all-8254
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "Cache", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoHar15", "(", "&", "w", ",", "v", ")", "\n", "ret...
8,254
all-8255
[ "GetCookie", "returns", "given", "cookie", "value", "from", "request", "header", "." ]
[ "func", "(", "ctx", "*", "Context", ")", "GetCookie", "(", "<mask>", "string", ")", "string", "{", "cookie", ",", "err", ":=", "ctx", ".", "Req", ".", "Cookie", "(", "name", ")", "\n", "if", "err", "!=", "nil", "{", "return", "\"", "\"", "\n", "}...
8,255
all-8256
[ "/", "*", "GetImage", "returns", "the", "image", "header", "for", "the", "matrix", "." ]
[ "func", "(", "m", "*", "Mat", ")", "GetImage", "(", "channels", "int", ")", "*", "IplImage", "{", "tmp", ":=", "CreateImage", "(", "m", ".", "Cols", "(", ")", ",", "m", ".", "Rows", "(", ")", ",", "m", ".", "<mask>", "(", ")", ",", "channels", ...
8,256
all-8257
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "EventScriptFailedToParse", ")", "UnmarshalJSON", "(", "data", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "data", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger38", "(", ...
8,257
all-8258
[ "GracefulClose", "drains", "http", ".", "Response", ".", "Body", "until", "it", "hits", "EOF", "and", "closes", "it", ".", "This", "prevents", "TCP", "/", "TLS", "connections", "from", "closing", "therefore", "available", "for", "reuse", ".", "Borrowed", "fr...
[ "func", "GracefulClose", "(", "resp", "*", "<mask>", ".", "Response", ")", "{", "io", ".", "Copy", "(", "ioutil", ".", "Discard", ",", "resp", ".", "Body", ")", "\n", "resp", ".", "Body", ".", "Close", "(", ")", "\n", "}" ]
8,258
all-8259
[ "return", "the", "pointer", "to", "a", "mapped", "buffer", "object", "s", "data", "store" ]
[ "func", "GetNamedBufferPointerv", "(", "buffer", "uint32", ",", "pname", "uint32", ",", "params", "*", "unsafe", ".", "Pointer", ")", "{", "C", ".", "glowGetNamedBufferPointerv", "(", "gpGetNamedBufferPointerv", ",", "(", "C", ".", "GLuint", ")", "(", "<mask>"...
8,259
all-8260
[ "HTTPClient", "is", "an", "option", "that", "sets", "the", "http", ".", "Client", "to", "be", "used", "when", "creating", "the", "Stackdriver", "service", "." ]
[ "func", "HTTPClient", "(", "client", "*", "http", ".", "Client", ")", "Option", "{", "return", "func", "(", "sh", "*", "StackdriverHook", ")", "error", "{", "// create logging service", "l", ",", "err", ":=", "logging", ".", "New", "(", "<mask>", ")", "\...
8,260
all-8261
[ "EncodeRune", "writes", "into", "p", "(", "which", "must", "be", "large", "enough", ")", "the", "CESU", "-", "8", "encoding", "of", "the", "rune", ".", "It", "returns", "the", "number", "of", "bytes", "written", "." ]
[ "func", "EncodeRune", "(", "p", "[", "]", "<mask>", ",", "r", "rune", ")", "int", "{", "if", "r", "<=", "rune3Max", "{", "return", "encodeRune", "(", "p", ",", "r", ")", "\n", "}", "\n", "high", ",", "low", ":=", "utf16", ".", "EncodeRune", "(", ...
8,261
all-8262
[ "SameKey", "checks", "for", "key", "equality", "ignoring", "the", "version", "timestamp", "suffix", "." ]
[ "func", "SameKey", "(", "src", ",", "dst", "[", "]", "<mask>", ")", "bool", "{", "if", "len", "(", "src", ")", "!=", "len", "(", "dst", ")", "{", "return", "false", "\n", "}", "\n", "return", "bytes", ".", "Equal", "(", "ParseKey", "(", "src", ...
8,262
all-8263
[ "Do", "executes", "ServiceWorker", ".", "deliverPushMessage", "against", "the", "provided", "context", "." ]
[ "func", "(", "p", "*", "DeliverPushMessageParams", ")", "Do", "(", "ctx", "context", ".", "<mask>", ")", "(", "err", "error", ")", "{", "return", "cdp", ".", "Execute", "(", "ctx", ",", "CommandDeliverPushMessage", ",", "p", ",", "nil", ")", "\n", "}" ...
8,263
all-8264
[ "SetBoolean", "is", "a", "wrapper", "around", "g_settings_set_boolean", "()", "." ]
[ "func", "(", "v", "*", "Settings", ")", "SetBoolean", "(", "<mask>", "string", ",", "value", "bool", ")", "bool", "{", "cstr1", ":=", "(", "*", "C", ".", "gchar", ")", "(", "C", ".", "CString", "(", "name", ")", ")", "\n", "defer", "C", ".", "f...
8,264
all-8265
[ "Queryer", "implements", "the", "database", "/", "sql", "/", "driver", "/", "Queryer", "interface", ".", "delete", "after", "go", "1", ".", "9", "compatibility", "is", "given", "up", "." ]
[ "func", "(", "c", "*", "conn", ")", "Query", "(", "query", "string", ",", "args", "[", "]", "driver", ".", "<mask>", ")", "(", "driver", ".", "Rows", ",", "error", ")", "{", "panic", "(", "\"", "\"", ")", "\n", "}" ]
8,265
all-8266
[ "Execute", "-", "Copy", "the", "output", "from", "a", "command", "to", "the", "specified", "io", ".", "Writer" ]
[ "func", "(", "executor", "*", "DefaultRemoteExecutor", ")", "Execute", "(", "<mask>", "io", ".", "Writer", ",", "command", "string", ")", "(", "err", "error", ")", "{", "var", "session", "SSHSession", "\n", "var", "stdoutReader", "io", ".", "Reader", "\n\n...
8,266
all-8267
[ "removedBlockingPresubmits", "determines", "stale", "blocking", "presubmits", "based", "on", "a", "config", "update", ".", "Presubmits", "that", "are", "no", "longer", "blocking", "due", "to", "no", "longer", "reporting", "or", "being", "optional", "require", "no"...
[ "func", "removedBlockingPresubmits", "(", "old", ",", "new", "map", "[", "string", "]", "[", "]", "config", ".", "Presubmit", ")", "map", "[", "string", "]", "[", "]", "config", ".", "Presubmit", "{", "removed", ":=", "map", "[", "string", "]", "[", ...
8,267
all-8268
[ "HavePrefix", "succeeds", "if", "actual", "is", "a", "string", "or", "stringer", "that", "contains", "the", "passed", "-", "in", "string", "as", "a", "prefix", ".", "Optional", "arguments", "can", "be", "provided", "to", "construct", "via", "fmt", ".", "Sp...
[ "func", "HavePrefix", "(", "prefix", "string", ",", "args", "...", "interface", "{", "}", ")", "types", ".", "GomegaMatcher", "{", "return", "&", "matchers", ".", "HavePrefixMatcher", "{", "Prefix", ":", "<mask>", ",", "Args", ":", "args", ",", "}", "\n"...
8,268
all-8269
[ "GetTitleSize", "returns", "the", "TitleSize", "field", "if", "non", "-", "nil", "zero", "value", "otherwise", "." ]
[ "func", "(", "t", "*", "ToplistDefinition", ")", "GetTitleSize", "(", ")", "string", "{", "if", "t", "==", "nil", "||", "t", ".", "TitleSize", "==", "nil", "{", "return", "\"", "\"", "\n", "}", "\n", "<mask>", "*", "t", ".", "TitleSize", "\n", "}" ...
8,269
all-8270
[ "Valid", "validator" ]
[ "func", "(", "c", "*", "chainedRule", ")", "Valid", "(", "w", "<mask>", ".", "ResponseWriter", ",", "r", "*", "http", ".", "Request", ")", "bool", "{", "if", "!", "c", ".", "Rule", ".", "Valid", "(", "w", ",", "r", ")", "{", "return", "false", ...
8,270
all-8271
[ "specify", "the", "organization", "of", "vertex", "arrays" ]
[ "func", "VertexArrayAttribFormat", "(", "vaobj", "uint32", ",", "attribindex", "uint32", ",", "size", "int32", ",", "xtype", "uint32", ",", "normalized", "bool", ",", "relativeoffset", "uint32", ")", "{", "C", ".", "glowVertexArrayAttribFormat", "(", "gpVertexArra...
8,271
all-8272
[ "RegisterStatusEventHandler", "registers", "a", "plugin", "s", "github", ".", "StatusEvent", "handler", "." ]
[ "func", "RegisterStatusEventHandler", "(", "name", "string", ",", "fn", "StatusEventHandler", ",", "help", "HelpProvider", ")", "{", "pluginHelp", "[", "name", "]", "=", "help", "\n", "statusEventHandlers", "[", "<mask>", "]", "=", "fn", "\n", "}" ]
8,272
all-8273
[ "title", ":", "event", "info", "path", ":", "/", "events", "/", "{", "uuid", "}", "method", ":", "GET", "produce", ":", "application", "/", "json", "responses", ":", "200", ":", "OK", "400", ":", "Invalid", "uuid", "401", ":", "Unauthorized", "404", ...
[ "func", "eventInfo", "(", "w", "http", ".", "ResponseWriter", ",", "r", "*", "http", ".", "Request", ",", "t", "auth", ".", "<mask>", ")", "error", "{", "uuid", ":=", "r", ".", "URL", ".", "Query", "(", ")", ".", "Get", "(", "\"", "\"", ")", "\...
8,273
all-8274
[ "generate", "query", "object", "names" ]
[ "func", "GenQueries", "(", "n", "int32", ",", "ids", "*", "uint32", ")", "{", "syscall", ".", "Syscall", "(", "gpGenQueries", ",", "2", ",", "uintptr", "(", "n", ")", ",", "uintptr", "(", "unsafe", ".", "Pointer", "(", "<mask>", ")", ")", ",", "0",...
8,274
all-8275
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "DeleteCacheParams", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "<mask>", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoCachestorage8", "(", "&", "w", ",", "v", ...
8,275
all-8276
[ "Create", "a", "message", "with", "the", "given", "url", ".", "Values", ".", "For", "more", "information", "on", "valid", "values", "see", "https", ":", "//", "www", ".", "twilio", ".", "com", "/", "docs", "/", "api", "/", "rest", "/", "sending", "-"...
[ "func", "(", "m", "*", "MessageService", ")", "Create", "(", "ctx", "context", ".", "Context", ",", "data", "url", ".", "Values", ")", "(", "*", "Message", ",", "error", ")", "{", "msg", ":=", "<mask>", "(", "Message", ")", "\n", "err", ":=", "m", ...
8,276
all-8277
[ "ReadEnvelope", "is", "a", "wrapper", "around", "ReadParts", "and", "EnvelopeFromPart", ".", "It", "parses", "the", "content", "of", "the", "provided", "reader", "into", "an", "Envelope", "downconverting", "HTML", "to", "plain", "text", "if", "needed", "and", ...
[ "func", "ReadEnvelope", "(", "r", "io", ".", "Reader", ")", "(", "*", "Envelope", ",", "error", ")", "{", "// Read MIME parts from reader", "root", ",", "err", ":=", "ReadParts", "(", "r", ")", "\n", "if", "err", "!=", "nil", "{", "return", "nil", ",",...
8,277
all-8278
[ "ParseTagJSON", "is", "similar", "to", "ParseTag", "but", "only", "supports", "features", "supported", "by", "the", "standard", "encoding", "/", "json", "package", "." ]
[ "func", "ParseTagJSON", "(", "s", "string", ")", "Tag", "{", "<mask>", "name", "string", "\n", "var", "omitempty", "bool", "\n\n", "name", ",", "s", "=", "parseNextTagToken", "(", "s", ")", "\n\n", "for", "len", "(", "s", ")", "!=", "0", "{", "var", ...
8,278
all-8279
[ "MarshalEasyJSON", "satisfies", "easyjson", ".", "Marshaler", "." ]
[ "func", "(", "t", "ButtonType", ")", "MarshalEasyJSON", "(", "out", "*", "jwriter", ".", "<mask>", ")", "{", "out", ".", "String", "(", "string", "(", "t", ")", ")", "\n", "}" ]
8,279
all-8280
[ "Setup", "the", "Management", "services", "." ]
[ "func", "(", "s", "*", "ServiceManager", ")", "Setup", "(", ")", "{", "log", ".", "Println", "(", "\"", "\"", ")", "\n\n", "s", ".", "commandCreatedChan", "=", "make", "(", "chan", "*", "exec", ".", "Cmd", ")", "\n", "s", ".", "commandCompleteChan", ...
8,280
all-8281
[ "SetTabDetachable", "()", "is", "a", "wrapper", "around", "gtk_notebook_set_tab_detachable", "()", "." ]
[ "func", "(", "v", "*", "Notebook", ")", "SetTabDetachable", "(", "<mask>", "IWidget", ",", "detachable", "bool", ")", "{", "C", ".", "gtk_notebook_set_tab_detachable", "(", "v", ".", "native", "(", ")", ",", "child", ".", "toWidget", "(", ")", ",", "gboo...
8,281
all-8282
[ "GetSort", "returns", "the", "Sort", "field", "if", "non", "-", "nil", "zero", "value", "otherwise", "." ]
[ "func", "(", "a", "*", "ApmOrLogQueryGroupBy", ")", "GetSort", "(", ")", "ApmOrLogQueryGroupBySort", "{", "if", "a", "==", "nil", "||", "a", ".", "Sort", "==", "nil", "{", "return", "ApmOrLogQueryGroupBySort", "{", "}", "\n", "}", "\n", "<mask>", "*", "a...
8,282
all-8283
[ "MarshalJSON", "supports", "json", ".", "Marshaler", "interface" ]
[ "func", "(", "v", "EventJavascriptDialogClosed", ")", "MarshalJSON", "(", ")", "(", "[", "]", "byte", ",", "error", ")", "{", "w", ":=", "jwriter", ".", "Writer", "{", "}", "\n", "easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage57", "(", "&", "w", ",", "v"...
8,283
all-8284
[ "GetIndex", "finds", "the", "index", "of", "the", "words", "to", "create", "bytes", "Generates", "a", "map", "the", "first", "time", "it", "is", "loaded", "to", "avoid", "needless", "computation", "when", "list", "is", "not", "used", "." ]
[ "func", "(", "c", "*", "WordCodec", ")", "GetIndex", "(", "word", "string", ")", "(", "int", ",", "error", ")", "{", "// generate the first time", "if", "c", ".", "bytes", "==", "nil", "{", "b", ":=", "map", "[", "string", "]", "int", "{", "}", "\n...
8,284
all-8285
[ "GetHeader", "processes", "the", "specified", "header", "for", "RFC", "2047", "encoded", "words", "and", "returns", "the", "result", "as", "a", "UTF", "-", "8", "string" ]
[ "func", "(", "e", "*", "Envelope", ")", "GetHeader", "(", "<mask>", "string", ")", "string", "{", "if", "e", ".", "header", "==", "nil", "{", "return", "\"", "\"", "\n", "}", "\n", "return", "decodeHeader", "(", "e", ".", "header", ".", "Get", "(",...
8,285
all-8286
[ "Do", "executes", "IndexedDB", ".", "requestDatabaseNames", "against", "the", "provided", "context", ".", "returns", ":", "databaseNames", "-", "Database", "names", "for", "origin", "." ]
[ "func", "(", "p", "*", "RequestDatabaseNamesParams", ")", "Do", "(", "ctx", "context", ".", "Context", ")", "(", "databaseNames", "[", "]", "string", ",", "err", "error", ")", "{", "// execute", "var", "<mask>", "RequestDatabaseNamesReturns", "\n", "err", "=...
8,286
all-8287
[ "MapSlice", "applies", "a", "function", "that", "processes", "slices", "of", "strings", "to", "the", "strings", "in", "ps", "and", "returns", "a", "new", "PlatformStrings", "with", "the", "results", "." ]
[ "func", "(", "ps", "*", "PlatformStrings", ")", "MapSlice", "(", "f", "func", "(", "[", "]", "string", ")", "(", "[", "]", "string", ",", "error", ")", ")", "(", "PlatformStrings", ",", "[", "]", "error", ")", "{", "var", "errors", "[", "]", "err...
8,287
all-8288
[ "SetContentType", "sets", "response", "Content", "-", "Type", "." ]
[ "func", "(", "ctx", "*", "RequestCtx", ")", "SetContentType", "(", "contentType", "string", ")", "{", "ctx", ".", "<mask>", ".", "Header", ".", "SetContentType", "(", "contentType", ")", "\n", "}" ]
8,288
all-8289
[ "Read", "reads", "the", "value", "log", "at", "a", "given", "location", ".", "TODO", ":", "Make", "this", "read", "private", "." ]
[ "func", "(", "vlog", "*", "valueLog", ")", "Read", "(", "vp", "valuePointer", ",", "s", "*", "y", ".", "Slice", ")", "(", "[", "]", "byte", ",", "func", "(", ")", ",", "error", ")", "{", "// Check for valid offset if we are reading to writable log.", "maxF...
8,289
all-8290
[ "Warnf", "formats", "message", "according", "to", "format", "specifier", "prepends", "the", "prefix", "as", "necessary", "and", "writes", "to", "log", "with", "LevelWarn", ".", "This", "is", "part", "of", "the", "Logger", "interface", "implementation", "." ]
[ "func", "(", "l", "*", "slog", ")", "Warnf", "(", "format", "string", ",", "args", "...", "<mask>", "{", "}", ")", "{", "lvl", ":=", "l", ".", "Level", "(", ")", "\n", "if", "lvl", "<=", "LevelWarn", "{", "l", ".", "b", ".", "printf", "(", "\...
8,290
all-8291
[ "Compose", "is", "a", "short", "-", "hand", "for", "chaining", "the", "specified", "middleware", "and", "handler", "together", "." ]
[ "func", "Compose", "(", "chain", "...", "interface", "{", "}", ")", "http", ".", "Handler", "{", "// check length", "if", "len", "(", "chain", ")", "<", "2", "{", "panic", "(", "\"", "\"", ")", "\n", "}", "\n\n", "// get handler", "h", ",", "ok", "...
8,291
all-8292
[ "SetPullSucceeded", "sets", "the", "PullSucceeded", "of", "the", "imageState" ]
[ "func", "(", "imageState", "*", "ImageState", ")", "SetPullSucceeded", "(", "pullSucceeded", "bool", ")", "{", "imageState", ".", "<mask>", ".", "Lock", "(", ")", "\n", "defer", "imageState", ".", "lock", ".", "Unlock", "(", ")", "\n\n", "imageState", ".",...
8,292
all-8293
[ "Flatten", "flattens", "the", "StructErrors", "hierarchical", "structure", "into", "a", "flat", "namespace", "style", "field", "name", "for", "those", "that", "want", "/", "need", "it" ]
[ "func", "(", "e", "*", "StructErrors", ")", "Flatten", "(", ")", "map", "[", "string", "]", "*", "FieldError", "{", "if", "e", "==", "nil", "{", "return", "nil", "\n", "}", "\n\n", "errs", ":=", "map", "[", "string", "]", "*", "FieldError", "{", ...
8,293
all-8294
[ "Iter", "executes", "the", "pipeline", "and", "returns", "an", "iterator", "capable", "of", "going", "over", "all", "the", "generated", "results", "." ]
[ "func", "(", "p", "*", "Pipe", ")", "Iter", "(", ")", "*", "Iter", "{", "// Clone session and set it to Monotonic mode so that the server", "// used for the query may be safely obtained afterwards, if", "// necessary for iteration when a cursor is received.", "cloned", ":=", "p", ...
8,294
all-8295
[ "DumpByteCode", "sets", "the", "bitmask", "for", "DumpByteCode", "debug", "flag" ]
[ "func", "(", "f", "*", "Flags", ")", "DumpByteCode", "(", "b", "bool", ")", "{", "if", "b", "{", "f", ".", "flags", "|=", "MaskDumpByteCode", "\n", "}", "else", "{", "f", ".", "<mask>", "&=", "^", "MaskDumpByteCode", "\n", "}", "\n", "}" ]
8,295
all-8296
[ "FileGetLastLine", "reads", "the", "last", "line", "from", "a", "file", ".", "In", "case", "of", "a", "network", "file", "the", "whole", "file", "is", "read", ".", "In", "case", "of", "a", "local", "file", "the", "last", "64kb", "are", "read", "so", ...
[ "func", "FileGetLastLine", "(", "filenameOrURL", "string", ",", "timeout", "...", "time", ".", "Duration", ")", "(", "line", "string", ",", "err", "error", ")", "{", "if", "strings", ".", "Index", "(", "filenameOrURL", ",", "\"", "\"", ")", "==", "0", ...
8,296
all-8297
[ "NewThrottle", "creates", "a", "new", "throttle", "with", "a", "max", "number", "of", "workers", "." ]
[ "func", "NewThrottle", "(", "max", "int", ")", "*", "Throttle", "{", "return", "&", "Throttle", "{", "ch", ":", "make", "(", "chan", "struct", "{", "}", ",", "max", ")", ",", "errCh", ":", "make", "(", "chan", "error", ",", "<mask>", ")", ",", "}...
8,297
all-8298
[ "WriteHeader", "writes", "the", "generic", "header", "text", "." ]
[ "func", "(", "c", "*", "MetadataWriter", ")", "WriteHeader", "(", "pkg", "string", ",", "w", "<mask>", ".", "Writer", ")", "error", "{", "return", "c", ".", "headerTmpl", ".", "Execute", "(", "w", ",", "pkg", ")", "\n", "}" ]
8,298
all-8299
[ "WriteTo", "writes", "full", "uri", "to", "w", ".", "WriteTo", "implements", "io", ".", "WriterTo", "interface", "." ]
[ "func", "(", "u", "*", "URI", ")", "WriteTo", "(", "w", "io", ".", "<mask>", ")", "(", "int64", ",", "error", ")", "{", "n", ",", "err", ":=", "w", ".", "Write", "(", "u", ".", "FullURI", "(", ")", ")", "\n", "return", "int64", "(", "n", ")...
8,299
all-8300
[ "UnmarshalJSON", "supports", "json", ".", "Unmarshaler", "interface" ]
[ "func", "(", "v", "*", "NavigateReturns", ")", "UnmarshalJSON", "(", "data", "[", "]", "byte", ")", "error", "{", "r", ":=", "jlexer", ".", "Lexer", "{", "Data", ":", "data", "}", "\n", "easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage26", "(", "&", "r", ...