docstring_tokens
list
code_tokens
list
[ "returns", "1", "if", "the", "sign", "of", "the", "given", "argument", "is", "positive", ";", "-", "1", "if", "negative", ";", "0", "if", "0" ]
[ "if", "(", "f", ">", "0", ")", "{", "return", "1", ";", "}", "else", "if", "(", "f", "<", "0", ")", "{", "return", "-", "1", ";", "}", "return", "0", ";" ]
[ "clamps", "argument", "between", "min", "and", "max", "values" ]
[ "if", "(", "val", "<", "min", ")", "return", "min", ";", "if", "(", "val", ">", "max", ")", "return", "max", ";", "return", "val", ";" ]
[ "clamps", "argument", "between", "min", "and", "max", "values" ]
[ "if", "(", "val", "<", "min", ")", "return", "min", ";", "if", "(", "val", ">", "max", ")", "return", "max", ";", "return", "val", ";" ]
[ "<", "p", ">", "a", "list", "that", "contains", "one", "<", "code", ">", "traffic", "policy", "instance", "<", "/", "code", ">", "element", "for", "each", "traffic", "policy", "instance", "that", "matches", "the", "elements", "in", "the", "request", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "traffic", "policy", "instances", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "traffic", "policy", "instances", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "traffic", "policy", "instances", "=", "=", "null", ")", "{", "set", "traffic", "policy", "instances", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "traffic", "policy", "instance", ">", "(", "traffic", "policy", "instances", "length", ")", ")", ";", "}", "for", "(", "traffic", "policy", "instance", "ele", ":", "traffic", "policy", "instances", ")", "{", "this", "traffic", "policy", "instances", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "a", "list", "that", "contains", "one", "<", "code", ">", "traffic", "policy", "instance", "<", "/", "code", ">", "element", "for", "each", "traffic", "policy", "instance", "that", "matches", "the", "elements", "in", "the", "request", "<", "/", "p", ">" ]
[ "set", "traffic", "policy", "instances", "(", "traffic", "policy", "instances", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "<", "code", ">", "is", "truncated", "<", "/", "code", ">", "is", "<", "code", ">", "true", "<", "/", "code", ">", "<", "code", ">", "hosted", "zone", "id", "marker", "<", "/", "code", ">", "is", "the", "id", "of", "the", "hosted", "zone", "of", "the", "first", "traffic", "policy", "instance", "in", "the", "next", "group", "of", "traffic", "policy", "instances", "<", "/", "p", ">" ]
[ "set", "hosted", "zone", "id", "marker", "(", "hosted", "zone", "id", "marker", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "<", "code", ">", "is", "truncated", "<", "/", "code", ">", "is", "<", "code", ">", "true", "<", "/", "code", ">", "<", "code", ">", "traffic", "policy", "instance", "name", "marker", "<", "/", "code", ">", "is", "the", "name", "of", "the", "first", "traffic", "policy", "instance", "in", "the", "next", "group", "of", "<", "code", ">", "max", "items", "<", "/", "code", ">", "traffic", "policy", "instances", "<", "/", "p", ">" ]
[ "set", "traffic", "policy", "instance", "name", "marker", "(", "traffic", "policy", "instance", "name", "marker", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "<", "code", ">", "is", "truncated", "<", "/", "code", ">", "is", "<", "code", ">", "true", "<", "/", "code", ">", "<", "code", ">", "traffic", "policy", "instance", "type", "marker", "<", "/", "code", ">", "is", "the", "dns", "type", "of", "the", "resource", "record", "sets", "that", "are", "associated", "with", "the", "first", "traffic", "policy", "instance", "in", "the", "next", "group", "of", "<", "code", ">", "max", "items", "<", "/", "code", ">", "traffic", "policy", "instances", "<", "/", "p", ">" ]
[ "set", "traffic", "policy", "instance", "type", "marker", "(", "traffic", "policy", "instance", "type", "marker", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "if", "<", "code", ">", "is", "truncated", "<", "/", "code", ">", "is", "<", "code", ">", "true", "<", "/", "code", ">", "<", "code", ">", "traffic", "policy", "instance", "type", "marker", "<", "/", "code", ">", "is", "the", "dns", "type", "of", "the", "resource", "record", "sets", "that", "are", "associated", "with", "the", "first", "traffic", "policy", "instance", "in", "the", "next", "group", "of", "<", "code", ">", "max", "items", "<", "/", "code", ">", "traffic", "policy", "instances", "<", "/", "p", ">" ]
[ "this", "traffic", "policy", "instance", "type", "marker", "=", "traffic", "policy", "instance", "type", "marker", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "flag", "that", "indicates", "whether", "there", "are", "more", "traffic", "policy", "instances", "to", "be", "listed", "if", "the", "response", "was", "truncated", "you", "can", "get", "the", "next", "group", "of", "traffic", "policy", "instances", "by", "calling", "<", "code", ">", "list", "traffic", "policy", "instances", "by", "policy", "<", "/", "code", ">", "again", "and", "specifying", "the", "values", "of", "the", "<", "code", ">", "hosted", "zone", "id", "marker", "<", "/", "code", ">", "<", "code", ">", "traffic", "policy", "instance", "name", "marker", "<", "/", "code", ">", "and", "<", "code", ">", "traffic", "policy", "instance", "type", "marker", "<", "/", "code", ">", "elements", "in", "the", "corresponding", "request", "parameters", "<", "/", "p", ">" ]
[ "set", "is", "truncated", "(", "is", "truncated", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "value", "that", "you", "specified", "for", "the", "<", "code", ">", "max", "items", "<", "/", "code", ">", "parameter", "in", "the", "call", "to", "<", "code", ">", "list", "traffic", "policy", "instances", "by", "policy", "<", "/", "code", ">", "that", "produced", "the", "current", "response", "<", "/", "p", ">" ]
[ "set", "max", "items", "(", "max", "items", ")", ";", "return", "this", ";" ]
[ "gets", "if", "auto", "-", "index", "is", "enabled" ]
[ "return", "auto", "index", ";" ]
[ "gets", "if", "auto", "-", "index", "is", "to", "be", "enabled", "on", "the", "collection" ]
[ "this", "auto", "index", "=", "auto", "index", ";", "return", "this", ";" ]
[ "sets", "the", "maximum", "number", "of", "documents", "allowed", "in", "a", "capped", "collection" ]
[ "this", "max", "documents", "=", "max", "documents", ";", "return", "this", ";" ]
[ "sets", "whether", "the", "collection", "is", "capped" ]
[ "this", "capped", "=", "capped", ";", "return", "this", ";" ]
[ "gets", "the", "maximum", "size", "of", "in", "bytes", "of", "a", "capped", "collection" ]
[ "this", "size", "in", "bytes", "=", "size", "in", "bytes", ";", "return", "this", ";" ]
[ "gets", "whether", "the", "use", "power", "of", "2", "sizes", "allocation", "strategy", "is", "turned", "on", "for", "this", "collection" ]
[ "return", "use", "power", "of", "2", "sizes", ";" ]
[ "sets", "whether", "the", "use", "power", "of", "2", "sizes", "allocation", "strategy", "is", "turned", "on", "for", "this", "collection" ]
[ "this", "use", "power", "of", "2", "sizes", "=", "use", "power", "of", "2", "sizes", ";", "return", "this", ";" ]
[ "gets", "the", "storage", "engine", "options", "document", "for", "the", "collection" ]
[ "return", "storage", "engine", "options", ";" ]
[ "sets", "the", "storage", "engine", "options", "document", "defaults", "for", "the", "collection" ]
[ "this", "storage", "engine", "options", "=", "storage", "engine", "options", ";", "return", "this", ";" ]
[ "gets", "the", "index", "option", "defaults", "for", "the", "collection" ]
[ "return", "index", "option", "defaults", ";" ]
[ "gets", "the", "validation", "options", "for", "documents", "being", "inserted", "or", "updated", "in", "a", "collection" ]
[ "return", "validation", "options", ";" ]
[ "sets", "the", "collation", "options" ]
[ "this", "collation", "=", "collation", ";", "return", "this", ";" ]
[ "{" ]
[ "return", "new", "visor", "node", "ping", "job", "(", "arg", ",", "debug", ")", ";" ]
[ "{" ]
[ "try", "{", "return", "super", "reduce", "0", "(", "results", ")", ";", "}", "catch", "(", "cluster", "topology", "exception", "ignored", ")", "{", "return", "new", "visor", "node", "ping", "task", "result", "(", "false", ",", "-", "1l", ",", "-", "1l", ")", ";", "}" ]
[ "{" ]
[ "long", "start", "=", "system", "current", "time", "millis", "(", ")", ";", "return", "new", "visor", "node", "ping", "task", "result", "(", "ignite", "cluster", "(", ")", "ping", "node", "(", "arg", "get", "node", "id", "(", ")", ")", ",", "start", ",", "system", "current", "time", "millis", "(", ")", ")", ";" ]
[ "{" ]
[ "return", "s", "to", "string", "(", "visor", "node", "ping", "job", "class", ",", "this", ")", ";" ]
[ "loads", "the", "egl", "native", "library", "using", "the", "specified", "library", "name" ]
[ "create", "(", "library", "load", "native", "(", "egl", "class", ",", "lib", "name", ")", ")", ";" ]
[ "unloads", "the", "egl", "native", "library" ]
[ "if", "(", "function", "provider", "=", "=", "null", ")", "{", "return", ";", "}", "caps", "=", "null", ";", "if", "(", "function", "provider", "instanceof", "native", "resource", ")", "{", "(", "(", "native", "resource", ")", "function", "provider", ")", "free", "(", ")", ";", "}", "function", "provider", "=", "null", ";" ]
[ "returns", "the", "{", "@", "link", "e", "g", "l", "capabilities", "}", "instance", "for", "the", "egl", "client", "library" ]
[ "return", "caps", ";" ]
[ "chronological", "map", "of", "tempi" ]
[ "final", "map", "<", "long", ",", "integer", ">", "map", "=", "new", "linked", "hash", "map", "<", "long", ",", "integer", ">", "(", ")", ";", "final", "list", "<", "synchronised", "tempo", "code", ">", "codes", "=", "(", "list", "<", "synchronised", "tempo", "code", ">", ")", "get", "object", "value", "(", "data", "types", "obj", "synchronised", "tempo", "list", ")", ";", "for", "(", "final", "synchronised", "tempo", "code", "code", ":", "codes", ")", "{", "map", "put", "(", "code", "get", "timestamp", "(", ")", ",", "code", "get", "tempo", "(", ")", ")", ";", "}", "return", "collections", "unmodifiable", "map", "(", "map", ")", ";" ]
[ "chronological", "list", "of", "timestamps" ]
[ "final", "list", "<", "long", ">", "list", "=", "new", "array", "list", "<", "long", ">", "(", ")", ";", "final", "list", "<", "synchronised", "tempo", "code", ">", "codes", "=", "(", "list", "<", "synchronised", "tempo", "code", ">", ")", "get", "object", "value", "(", "data", "types", "obj", "synchronised", "tempo", "list", ")", ";", "for", "(", "final", "synchronised", "tempo", "code", "code", ":", "codes", ")", "{", "list", "add", "(", "code", "get", "timestamp", "(", ")", ")", ";", "}", "return", "collections", "unmodifiable", "list", "(", "list", ")", ";" ]
[ "removes", "a", "tempo", "at", "a", "given", "timestamp" ]
[ "final", "list", "<", "synchronised", "tempo", "code", ">", "codes", "=", "(", "list", "<", "synchronised", "tempo", "code", ">", ")", "get", "object", "value", "(", "data", "types", "obj", "synchronised", "tempo", "list", ")", ";", "boolean", "removed", "=", "false", ";", "for", "(", "final", "list", "iterator", "<", "synchronised", "tempo", "code", ">", "iterator", "=", "codes", "list", "iterator", "(", ")", ";", "iterator", "has", "next", "(", ")", ";", ")", "{", "final", "synchronised", "tempo", "code", "code", "=", "iterator", "next", "(", ")", ";", "if", "(", "timestamp", "=", "=", "code", "get", "timestamp", "(", ")", ")", "{", "iterator", "remove", "(", ")", ";", "removed", "=", "true", ";", "}", "if", "(", "timestamp", ">", "code", "get", "timestamp", "(", ")", ")", "{", "break", ";", "}", "}", "return", "removed", ";" ]
[ "remove", "all", "timing", "codes" ]
[ "(", "(", "list", "<", "event", "timing", "code", ">", ")", "get", "object", "value", "(", "data", "types", "obj", "synchronised", "tempo", "list", ")", ")", "clear", "(", ")", ";" ]
[ "this", "method", "initializes", "txt", "proxy", "chain", "realm" ]
[ "if", "(", "txt", "proxy", "chain", "realm", "=", "=", "null", ")", "{", "txt", "proxy", "chain", "realm", "=", "new", "zap", "text", "field", "(", ")", ";", "}", "return", "txt", "proxy", "chain", "realm", ";" ]
[ "this", "method", "initializes", "txt", "proxy", "chain", "user", "name" ]
[ "if", "(", "txt", "proxy", "chain", "user", "name", "=", "=", "null", ")", "{", "txt", "proxy", "chain", "user", "name", "=", "new", "zap", "text", "field", "(", ")", ";", "}", "return", "txt", "proxy", "chain", "user", "name", ";" ]
[ "get", "the", "{" ]
[ "return", "this", "context", "cache", ";" ]
[ "create", "an", "expression", "representing", "the", "current", "time", "as", "a", "time", "expression", "instance" ]
[ "return", "constants", "current", "time", ";" ]
[ "create", "an", "expression", "representing", "the", "current", "time", "as", "a", "time", "expression", "instance" ]
[ "return", "expressions", "time", "operation", "(", "cl", ",", "ops", "date", "time", "ops", "current", "time", ")", ";" ]
[ "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/" ]
[ "current", "icon", "=", "info", "icon", ";", "hide", "icons", "(", ")", ";" ]
[ "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/", "/" ]
[ "info", "icon", "set", "managed", "(", "false", ")", ";", "info", "icon", "set", "visible", "(", "false", ")", ";", "privacy", "icon", "set", "managed", "(", "false", ")", ";", "privacy", "icon", "set", "visible", "(", "false", ")", ";" ]
[ "returns", "the", "base", "5", "8", "-", "encoded", "textual", "form", "including", "version", "and", "checksum", "bytes" ]
[ "return", "base", "5", "8", "encode", "checked", "(", "1", ",", "bytes", ")", ";" ]
[ "/", "*", "unused" ]
[ "throw", "new", "unsupported", "operation", "exception", "(", ")", ";" ]
[ "adds", "a", "new", "predicated", "handler", "<", "p", ">" ]
[ "holder", "[", "]", "old", "=", "handlers", ";", "holder", "[", "]", "handlers", "=", "new", "holder", "[", "old", "length", "+", "1", "]", ";", "system", "arraycopy", "(", "old", ",", "0", ",", "handlers", ",", "0", ",", "old", "length", ")", ";", "http", "handler", "else", "handler", "=", "else", "branch", "!", "=", "null", "?", "else", "branch", "wrap", "(", "this", ")", ":", "null", ";", "handlers", "[", "old", "length", "]", "=", "new", "holder", "(", "predicate", ",", "handler", "wrapper", "wrap", "(", "this", ")", ",", "else", "handler", ")", ";", "this", "handlers", "=", "handlers", ";", "return", "this", ";" ]
[ "adds", "a", "new", "predicated", "handler", "<", "p", ">" ]
[ "this", "add", "predicated", "handler", "(", "predicate", ",", "handler", "wrapper", ",", "null", ")", ";", "return", "this", ";" ]
[ "count", "the", "number", "of", "bits", "required", "to", "encode", "the", "given", "value" ]
[ "int", "count", "=", "0", ";", "while", "(", "value", "!", "=", "0", ")", "{", "count", "+", "+", ";", "value", "=", "value", ">", ">", ">", "1", ";", "}", "return", "get", "closest", "fixed", "bits", "(", "count", ")", ";" ]
[ "zigzag", "encode", "the", "given", "value" ]
[ "return", "(", "value", "<", "<", "1", ")", "^", "(", "value", ">", ">", "63", ")", ";" ]
[ "for", "a", "given", "fixed", "bit", "this", "function", "will", "return", "the", "closest", "available", "fixed", "bit" ]
[ "if", "(", "n", "=", "=", "0", ")", "{", "return", "1", ";", "}", "if", "(", "n", ">", "=", "1", "&", "&", "n", "<", "=", "24", ")", "{", "return", "n", ";", "}", "else", "if", "(", "n", ">", "24", "&", "&", "n", "<", "=", "26", ")", "{", "return", "26", ";", "}", "else", "if", "(", "n", ">", "26", "&", "&", "n", "<", "=", "28", ")", "{", "return", "28", ";", "}", "else", "if", "(", "n", ">", "28", "&", "&", "n", "<", "=", "30", ")", "{", "return", "30", ";", "}", "else", "if", "(", "n", ">", "30", "&", "&", "n", "<", "=", "32", ")", "{", "return", "32", ";", "}", "else", "if", "(", "n", ">", "32", "&", "&", "n", "<", "=", "40", ")", "{", "return", "40", ";", "}", "else", "if", "(", "n", ">", "40", "&", "&", "n", "<", "=", "48", ")", "{", "return", "48", ";", "}", "else", "if", "(", "n", ">", "48", "&", "&", "n", "<", "=", "56", ")", "{", "return", "56", ";", "}", "else", "{", "return", "64", ";", "}" ]
[ "finds", "the", "closest", "available", "fixed", "bit", "width", "match", "and", "returns", "its", "encoded", "value", "(", "ordinal", ")" ]
[ "n", "=", "get", "closest", "fixed", "bits", "(", "n", ")", ";", "if", "(", "n", ">", "=", "1", "&", "&", "n", "<", "=", "24", ")", "{", "return", "n", "-", "1", ";", "}", "else", "if", "(", "n", ">", "24", "&", "&", "n", "<", "=", "26", ")", "{", "return", "fixed", "bit", "sizes", "twenty", "six", "ordinal", "(", ")", ";", "}", "else", "if", "(", "n", ">", "26", "&", "&", "n", "<", "=", "28", ")", "{", "return", "fixed", "bit", "sizes", "twenty", "eight", "ordinal", "(", ")", ";", "}", "else", "if", "(", "n", ">", "28", "&", "&", "n", "<", "=", "30", ")", "{", "return", "fixed", "bit", "sizes", "thirty", "ordinal", "(", ")", ";", "}", "else", "if", "(", "n", ">", "30", "&", "&", "n", "<", "=", "32", ")", "{", "return", "fixed", "bit", "sizes", "thirty", "two", "ordinal", "(", ")", ";", "}", "else", "if", "(", "n", ">", "32", "&", "&", "n", "<", "=", "40", ")", "{", "return", "fixed", "bit", "sizes", "forty", "ordinal", "(", ")", ";", "}", "else", "if", "(", "n", ">", "40", "&", "&", "n", "<", "=", "48", ")", "{", "return", "fixed", "bit", "sizes", "forty", "eight", "ordinal", "(", ")", ";", "}", "else", "if", "(", "n", ">", "48", "&", "&", "n", "<", "=", "56", ")", "{", "return", "fixed", "bit", "sizes", "fifty", "six", "ordinal", "(", ")", ";", "}", "else", "{", "return", "fixed", "bit", "sizes", "sixty", "four", "ordinal", "(", ")", ";", "}" ]
[ "decodes", "the", "ordinal", "fixed", "bit", "value", "to", "actual", "fixed", "bit", "width", "value" ]
[ "if", "(", "n", ">", "=", "fixed", "bit", "sizes", "one", "ordinal", "(", ")", "&", "&", "n", "<", "=", "fixed", "bit", "sizes", "twenty", "four", "ordinal", "(", ")", ")", "{", "return", "n", "+", "1", ";", "}", "else", "if", "(", "n", "=", "=", "fixed", "bit", "sizes", "twenty", "six", "ordinal", "(", ")", ")", "{", "return", "26", ";", "}", "else", "if", "(", "n", "=", "=", "fixed", "bit", "sizes", "twenty", "eight", "ordinal", "(", ")", ")", "{", "return", "28", ";", "}", "else", "if", "(", "n", "=", "=", "fixed", "bit", "sizes", "thirty", "ordinal", "(", ")", ")", "{", "return", "30", ";", "}", "else", "if", "(", "n", "=", "=", "fixed", "bit", "sizes", "thirty", "two", "ordinal", "(", ")", ")", "{", "return", "32", ";", "}", "else", "if", "(", "n", "=", "=", "fixed", "bit", "sizes", "forty", "ordinal", "(", ")", ")", "{", "return", "40", ";", "}", "else", "if", "(", "n", "=", "=", "fixed", "bit", "sizes", "forty", "eight", "ordinal", "(", ")", ")", "{", "return", "48", ";", "}", "else", "if", "(", "n", "=", "=", "fixed", "bit", "sizes", "fifty", "six", "ordinal", "(", ")", ")", "{", "return", "56", ";", "}", "else", "{", "return", "64", ";", "}" ]
[ "arithmetic", "exception", "in", "case", "of", "overflow" ]
[ "return", "(", "left", "^", "right", ")", ">", "=", "0", "|", "(", "left", "^", "(", "left", "-", "right", ")", ")", ">", "=", "0", ";" ]
[ "estimate", "the", "screen", "area", "of", "a", "bounding", "volume", "if", "the", "volume", "isn", "t", "a", "bounding", "sphere", "bounding", "box", "or", "oriented", "bounding", "box", "0", "is", "returned" ]
[ "if", "(", "bound", "get", "type", "(", ")", "=", "=", "bounding", "volume", "type", "sphere", ")", "{", "return", "calc", "screen", "area", "(", "(", "bounding", "sphere", ")", "bound", ",", "distance", ",", "screen", "width", ")", ";", "}", "else", "if", "(", "bound", "get", "type", "(", ")", "=", "=", "bounding", "volume", "type", "aabb", ")", "{", "return", "calc", "screen", "area", "(", "(", "bounding", "box", ")", "bound", ",", "distance", ",", "screen", "width", ")", ";", "}", "return", "0", "0f", ";" ]
[ "<", "p", ">", "the", "binary", "contents", "of", "the", "loa", "-", "cfa", "document", "<", "/", "p", ">", "<", "p", ">", "the", "aws", "sdk", "for", "java", "performs", "a", "base", "6", "4", "encoding", "on", "this", "field", "before", "sending", "this", "request", "to", "the", "aws", "service", "users", "of", "the", "sdk", "should", "not", "perform", "base", "6", "4", "encoding", "on", "this", "field", "<", "/", "p", ">", "<", "p", ">", "warning", ":", "byte", "buffers", "returned", "by", "the", "sdk", "are", "mutable", "changes", "to", "the", "content", "or", "position", "of", "the", "byte", "buffer", "will", "be", "seen", "by", "all", "objects", "that", "have", "a", "reference", "to", "this", "object", "it", "is", "recommended", "to", "call", "byte", "buffer", "duplicate", "(", ")", "or", "byte", "buffer", "as", "read", "only", "buffer", "(", ")", "before", "using", "or", "reading", "from", "the", "buffer", "this", "behavior", "will", "be", "changed", "in", "a", "future", "major", "version", "of", "the", "sdk", "<", "/", "p", ">" ]
[ "set", "loa", "content", "(", "loa", "content", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "standard", "media", "type", "for", "the", "loa", "-", "cfa", "document", "the", "only", "supported", "value", "is", "application", "/", "pdf", "<", "/", "p", ">" ]
[ "set", "loa", "content", "type", "(", "loa", "content", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "standard", "media", "type", "for", "the", "loa", "-", "cfa", "document", "the", "only", "supported", "value", "is", "application", "/", "pdf", "<", "/", "p", ">" ]
[ "this", "loa", "content", "type", "=", "loa", "content", "type", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "image", "<", "/", "p", ">" ]
[ "set", "name", "(", "name", ")", ";", "return", "this", ";" ]
[ "creates", "a", "wrapped", "{" ]
[ "return", "new", "j", "flex", "xref", "(", "new", "ada", "xref", "(", "reader", ")", ")", ";" ]
[ "<", "p", ">", "the", "id", "of", "the", "instance", "<", "/", "p", ">" ]
[ "set", "instance", "id", "(", "instance", "id", ")", ";", "return", "this", ";" ]
[ "{" ]
[ "ignite", "configuration", "cfg", "=", "super", "get", "configuration", "(", "ignite", "instance", "name", ")", ";", "(", "(", "tcp", "communication", "spi", ")", "cfg", "get", "communication", "spi", "(", ")", ")", "set", "shared", "memory", "port", "(", "-", "1", ")", ";", "tcp", "discovery", "spi", "disco", "spi", "=", "new", "tcp", "discovery", "spi", "(", ")", ";", "disco", "spi", "set", "ip", "finder", "(", "ip", "finder", ")", ";", "cfg", "set", "discovery", "spi", "(", "disco", "spi", ")", ";", "if", "(", "!", "dynamic", "cache", ")", "cfg", "set", "cache", "configuration", "(", "cache", "configuration", "(", ")", ")", ";", "return", "cfg", ";" ]
[ "{" ]
[ "return", "srv", "nodes", "cnt", "+", "client", "nodes", "cnt", ";" ]
[ "{" ]
[ "super", "after", "tests", "stopped", "(", ")", ";" ]
[ "executes", "simple", "operation", "on", "the", "cache" ]
[ "for", "(", "int", "i", "=", "100", ";", "i", "<", "200", ";", "i", "+", "+", ")", "cache", "put", "(", "i", ",", "i", ")", ";", "for", "(", "int", "i", "=", "100", ";", "i", "<", "200", ";", "i", "+", "+", ")", "assert", "equals", "(", "i", ",", "(", "int", ")", "cache", "get", "(", "i", ")", ")", ";" ]
[ "set", "the", "{", "@", "link", "material", "extension", "set", "}", "to", "use", "for", "mapping", "base", "materials", "to", "j", "m", "e", "3", "matdefs", "when", "loading", "set", "to", "<", "code", ">", "null", "<", "/", "code", ">", "to", "disable", "this", "functionality" ]
[ "this", "mat", "exts", "=", "mat", "exts", ";" ]
[ "returns", "the", "{", "@", "link", "material", "extension", "set", "}", "previously", "set", "using", "{", "@", "link", "ogre", "material", "key", "#", "set", "material", "extension", "set", "(", "com", "jme", "3", "scene", "plugins", "ogre", "matext", "material", "extension", "set", ")", "}", "method" ]
[ "return", "mat", "exts", ";" ]
[ "construct", "an", "asynchronous", "implementation", "of", "a", "w", "s", "code", "build", "async", "using", "the", "current", "builder", "configuration" ]
[ "return", "new", "a", "w", "s", "code", "build", "async", "client", "(", "params", ")", ";" ]
[ "merges", "the", "provided", "{", "@", "code", "merging", "value", "}", "into", "the", "{", "@", "code", "existing", "container", "}", "and", "returns", "the", "merged", "ringbuffer" ]
[ "ringbuffer", "merge", "types", "existing", "value", "=", "create", "merging", "value", "or", "null", "(", "existing", "container", ")", ";", "ringbuffer", "merge", "data", "result", "data", "=", "merge", "policy", "merge", "(", "merging", "value", ",", "existing", "value", ")", ";", "if", "(", "result", "data", "=", "=", "null", ")", "{", "ringbuffer", "service", "destroy", "distributed", "object", "(", "namespace", "get", "object", "name", "(", ")", ")", ";", "return", "null", ";", "}", "else", "{", "if", "(", "existing", "container", "=", "=", "null", ")", "{", "ringbuffer", "config", "config", "=", "get", "ringbuffer", "config", "(", "ringbuffer", "service", ",", "namespace", ")", ";", "existing", "container", "=", "ringbuffer", "service", "get", "or", "create", "container", "(", "get", "partition", "id", "(", ")", ",", "namespace", ",", "config", ")", ";", "}", "set", "ringbuffer", "data", "(", "result", "data", ",", "existing", "container", ")", ";", "return", "existing", "container", "get", "ringbuffer", "(", ")", ";", "}" ]
[ "sets", "the", "ringbuffer", "data", "given", "by", "the", "{", "@", "code", "from", "merge", "data", "}", "to", "the", "{", "@", "code", "to", "container", "}" ]
[ "boolean", "store", "enabled", "=", "to", "container", "get", "store", "(", ")", "is", "enabled", "(", ")", ";", "data", "[", "]", "store", "items", "=", "store", "enabled", "?", "new", "data", "[", "from", "merge", "data", "size", "(", ")", "]", ":", "null", ";", "to", "container", "set", "head", "sequence", "(", "from", "merge", "data", "get", "head", "sequence", "(", ")", ")", ";", "to", "container", "set", "tail", "sequence", "(", "from", "merge", "data", "get", "tail", "sequence", "(", ")", ")", ";", "for", "(", "long", "seq", "=", "from", "merge", "data", "get", "head", "sequence", "(", ")", ";", "seq", "<", "=", "from", "merge", "data", "get", "tail", "sequence", "(", ")", ";", "seq", "+", "+", ")", "{", "final", "object", "result", "value", "=", "from", "merge", "data", "read", "(", "seq", ")", ";", "to", "container", "set", "(", "seq", ",", "result", "value", ")", ";", "if", "(", "store", "enabled", ")", "{", "store", "items", "[", "(", "int", ")", "(", "seq", "-", "from", "merge", "data", "get", "head", "sequence", "(", ")", ")", "]", "=", "serialization", "service", "to", "data", "(", "result", "value", ")", ";", "}", "}", "if", "(", "store", "enabled", ")", "{", "to", "container", "get", "store", "(", ")", "store", "all", "(", "from", "merge", "data", "get", "head", "sequence", "(", ")", ",", "store", "items", ")", ";", "}" ]
[ "<", "p", ">", "the", "token", "that", "specifies", "where", "to", "start", "pagination", "if", "a", "previous", "request", "was", "truncated", "<", "/", "p", ">" ]
[ "set", "next", "token", "(", "next", "token", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "maximum", "number", "of", "queries", "to", "return", "in", "this", "request", "<", "/", "p", ">" ]
[ "set", "max", "results", "(", "max", "results", ")", ";", "return", "this", ";" ]
[ "table", "suffix", "may", "be", "<", "code", ">", "null", "<", "/", "code", ">" ]
[ "this", "suffix", "=", "suffix", ";" ]
[ "specifies", "the", "terminator", "character", "for", "entity", "names", "when", "some", "type", "is", "proxified", "new", "class", "name", "usually", "contains", "some", "special", "character", "like", "$" ]
[ "this", "entity", "name", "terminator", "=", "entity", "name", "terminator", ";" ]
[ "converts", "entity", "name", "to", "table", "name" ]
[ "return", "convert", "entity", "name", "to", "table", "name", "(", "type", "get", "simple", "name", "(", ")", ")", ";" ]
[ "converts", "entity", "(", "type", ")", "name", "to", "table", "name" ]
[ "int", "ndx", "=", "entity", "name", "index", "of", "(", "entity", "name", "terminator", ")", ";", "if", "(", "ndx", "!", "=", "-", "1", ")", "{", "entity", "name", "=", "entity", "name", "substring", "(", "0", ",", "ndx", ")", ";", "}", "string", "builder", "table", "name", "=", "new", "string", "builder", "(", "entity", "name", "length", "(", ")", "*", "2", ")", ";", "if", "(", "prefix", "!", "=", "null", ")", "{", "table", "name", "append", "(", "prefix", ")", ";", "}", "if", "(", "split", "camel", "case", ")", "{", "string", "converted", "table", "name", "=", "format", "from", "camel", "case", "(", "entity", "name", ",", "separator", "char", ")", ";", "table", "name", "append", "(", "converted", "table", "name", ")", ";", "}", "else", "{", "table", "name", "append", "(", "entity", "name", ")", ";", "}", "if", "(", "suffix", "!", "=", "null", ")", "{", "table", "name", "append", "(", "suffix", ")", ";", "}", "if", "(", "!", "change", "case", ")", "{", "return", "table", "name", "to", "string", "(", ")", ";", "}", "return", "uppercase", "?", "to", "uppercase", "(", "table", "name", ")", "to", "string", "(", ")", ":", "to", "lowercase", "(", "table", "name", ")", "to", "string", "(", ")", ";" ]
[ "converts", "table", "name", "to", "entity", "(", "type", ")", "name" ]
[ "string", "builder", "class", "name", "=", "new", "string", "builder", "(", "table", "name", "length", "(", ")", ")", ";", "int", "len", "=", "table", "name", "length", "(", ")", ";", "int", "i", "=", "0", ";", "if", "(", "prefix", "!", "=", "null", ")", "{", "if", "(", "table", "name", "starts", "with", "(", "prefix", ")", ")", "{", "i", "=", "prefix", "length", "(", ")", ";", "}", "}", "if", "(", "suffix", "!", "=", "null", ")", "{", "if", "(", "table", "name", "ends", "with", "(", "suffix", ")", ")", "{", "len", "-", "=", "suffix", "length", "(", ")", ";", "}", "}", "if", "(", "split", "camel", "case", ")", "{", "boolean", "to", "upper", "=", "true", ";", "for", "(", ";", "i", "<", "len", ";", "i", "+", "+", ")", "{", "char", "c", "=", "table", "name", "char", "at", "(", "i", ")", ";", "if", "(", "c", "=", "=", "separator", "char", ")", "{", "to", "upper", "=", "true", ";", "continue", ";", "}", "if", "(", "to", "upper", ")", "{", "class", "name", "append", "(", "character", "to", "upper", "case", "(", "c", ")", ")", ";", "to", "upper", "=", "false", ";", "}", "else", "{", "class", "name", "append", "(", "character", "to", "lower", "case", "(", "c", ")", ")", ";", "}", "}", "return", "class", "name", "to", "string", "(", ")", ";", "}", "return", "table", "name", "substring", "(", "i", ",", "len", ")", ";" ]
[ "applies", "table", "naming", "strategy", "to", "given", "table", "name", "hint", "returns", "full", "table", "name" ]
[ "string", "entity", "name", "=", "convert", "table", "name", "to", "entity", "name", "(", "table", "name", ")", ";", "return", "convert", "entity", "name", "to", "table", "name", "(", "entity", "name", ")", ";" ]
[ "<", "p", ">", "the", "number", "of", "cpu", "cores", "for", "the", "instance", "<", "/", "p", ">" ]
[ "set", "core", "count", "(", "core", "count", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "number", "of", "threads", "per", "cpu", "core", "<", "/", "p", ">" ]
[ "set", "threads", "per", "core", "(", "threads", "per", "core", ")", ";", "return", "this", ";" ]
[ "add", "a", "new", "validation", "error", "to", "the", "accumulating", "validation", "errors" ]
[ "validation", "errors", "add", "(", "error", ")", ";" ]
[ "adds", "validation", "errors", "from", "an", "existing", "{" ]
[ "if", "(", "exception", "!", "=", "null", ")", "{", "for", "(", "string", "error", ":", "exception", "validation", "errors", "(", ")", ")", "{", "add", "validation", "error", "(", "error", ")", ";", "}", "}" ]
[ "returns", "the", "validation", "errors", "accumulated" ]
[ "return", "validation", "errors", ";" ]
[ "reset", "to", "run", "the", "type", "check", "pass" ]
[ "types", "indexed", "by", "property", "clear", "(", ")", ";", "each", "ref", "type", "indexed", "by", "property", "clear", "(", ")", ";", "initialize", "built", "in", "types", "(", ")", ";", "scoped", "name", "table", "clear", "(", ")", ";", "initialize", "registry", "(", ")", ";" ]
[ "@", "return", "which", "scope", "in", "the", "provided", "scope", "chain", "the", "provided", "name", "is", "declared", "in", "or", "else", "null" ]
[ "if", "(", "scope", "!", "=", "null", "&", "&", "scope", "get", "parent", "scope", "(", ")", "!", "=", "null", ")", "{", "static", "slot", "slot", "=", "scope", "get", "slot", "(", "get", "root", "element", "of", "name", "(", "name", ")", ")", ";", "return", "slot", "!", "=", "null", "?", "slot", "get", "scope", "(", ")", ":", "null", ";", "}", "return", "scope", ";" ]
[ "removes", "a", "type", "by", "name" ]
[ "scoped", "name", "table", "remove", "(", "get", "root", "node", "for", "scope", "(", "get", "lookup", "scope", "(", "scope", ",", "name", ")", ")", ",", "name", ")", ";" ]
[ "we", "don", "t", "need", "to", "store", "these", "properties", "in", "the", "property", "index", "separately" ]
[ "t", "=", "t", "restrict", "by", "not", "null", "or", "undefined", "(", ")", ";", "return", "t", "is", "record", "type", "(", ")", "|", "|", "t", "is", "literal", "object", "(", ")", ";" ]
[ "gets", "the", "greatest", "subtype", "of", "the", "{" ]
[ "j", "s", "type", "with", "property", "=", "greatest", "subtype", "by", "property", "get", "(", "property", "name", ")", ";", "if", "(", "with", "property", "!", "=", "null", ")", "{", "return", "with", "property", "get", "greatest", "subtype", "(", "type", ")", ";", "}", "union", "type", "builder", "types", "with", "prop", "=", "types", "indexed", "by", "property", "get", "(", "property", "name", ")", ";", "if", "(", "types", "with", "prop", "!", "=", "null", ")", "{", "j", "s", "type", "built", "=", "types", "with", "prop", "build", "(", ")", ";", "greatest", "subtype", "by", "property", "put", "(", "property", "name", ",", "built", ")", ";", "return", "built", "get", "greatest", "subtype", "(", "type", ")", ";", "}", "return", "get", "native", "type", "(", "no", "type", ")", ";" ]
[ "returns", "each", "reference", "type", "that", "has", "a", "property", "{", "@", "code", "property", "name", "}", "defined", "on", "it" ]
[ "if", "(", "each", "ref", "type", "indexed", "by", "property", "contains", "key", "(", "property", "name", ")", ")", "{", "return", "each", "ref", "type", "indexed", "by", "property", "get", "(", "property", "name", ")", "values", "(", ")", ";", "}", "else", "{", "return", "immutable", "list", "of", "(", ")", ";", "}" ]
[ "finds", "the", "common", "supertype", "of", "the", "two", "given", "object", "types" ]
[ "list", "<", "object", "type", ">", "stack", "a", "=", "get", "super", "stack", "(", "a", ")", ";", "list", "<", "object", "type", ">", "stack", "b", "=", "get", "super", "stack", "(", "b", ")", ";", "object", "type", "result", "=", "get", "native", "object", "type", "(", "j", "s", "type", "native", "object", "type", ")", ";", "while", "(", "!", "stack", "a", "is", "empty", "(", ")", "&", "&", "!", "stack", "b", "is", "empty", "(", ")", ")", "{", "object", "type", "current", "a", "=", "stack", "a", "remove", "(", "stack", "a", "size", "(", ")", "-", "1", ")", ";", "object", "type", "current", "b", "=", "stack", "b", "remove", "(", "stack", "b", "size", "(", ")", "-", "1", ")", ";", "if", "(", "current", "a", "is", "equivalent", "to", "(", "current", "b", ")", ")", "{", "result", "=", "current", "a", ";", "}", "else", "{", "return", "result", ";", "}", "}", "return", "result", ";" ]
[ "tells", "the", "type", "system", "that", "{" ]
[ "interface", "to", "implementors", "put", "(", "interface", "instance", "get", "reference", "name", "(", ")", ",", "type", ")", ";" ]
[ "returns", "a", "collection", "of", "types", "that", "directly", "implement", "{" ]
[ "return", "interface", "to", "implementors", "get", "(", "interface", "instance", "get", "reference", "name", "(", ")", ")", ";" ]
[ "records", "declared", "global", "type", "names", "this", "makes", "resolution", "faster", "and", "more", "robust", "in", "the", "common", "case" ]
[ "check", "state", "(", "!", "name", "is", "empty", "(", ")", ")", ";", "if", "(", "get", "type", "for", "scope", "internal", "(", "get", "creation", "scope", "(", "scope", ",", "name", ")", ",", "name", ")", "!", "=", "null", ")", "{", "return", "false", ";", "}", "register", "(", "scope", ",", "type", ",", "name", ")", ";", "return", "true", ";" ]
[ "records", "declared", "global", "type", "names", "this", "makes", "resolution", "faster", "and", "more", "robust", "in", "the", "common", "case" ]
[ "check", "state", "(", "!", "name", "is", "empty", "(", ")", ")", ";", "if", "(", "get", "type", "for", "scope", "internal", "(", "scope", ",", "name", ")", "!", "=", "null", ")", "{", "return", "false", ";", "}", "register", "for", "scope", "(", "scope", ",", "type", ",", "name", ")", ";", "return", "true", ";" ]
[ "overrides", "a", "declared", "global", "type", "name", "throws", "an", "exception", "if", "this", "type", "name", "hasn", "t", "been", "declared", "yet" ]
[ "overwrite", "declared", "type", "(", "null", ",", "name", ",", "type", ")", ";" ]
[ "whether", "this", "is", "a", "forward", "-", "declared", "type", "name" ]
[ "return", "forward", "declared", "types", "contains", "(", "name", ")", ";" ]
[ "the", "nice", "api", "for", "this", "method", "is", "a", "single", "argument", ";", "dereference", "is", "a", "detail", "in", "the", "old", "type", "checker", "most", "calls", "to", "get", "readable", "j", "s", "type", "name", "are", "with", "true", "(", "do", "dereferencing", ")", "when", "we", "implement", "this", "method", "in", "the", "new", "type", "checker", "we", "won", "t", "do", "dereferencing", "but", "that", "s", "fine", "because", "we", "are", "stricter", "about", "null", "/", "undefined", "checking", "(", "so", "null", "and", "undefined", "wouldn", "t", "be", "in", "the", "type", "in", "the", "first", "place", ")" ]
[ "return", "get", "readable", "j", "s", "type", "name", "(", "n", ",", "true", ")", ";" ]
[ "looks", "up", "a", "native", "type", "by", "name" ]
[ "return", "get", "type", "for", "scope", "internal", "(", "scope", ",", "js", "type", "name", ")", ";" ]
[ "looks", "up", "a", "native", "type", "by", "name" ]
[ "return", "get", "type", "internal", "(", "scope", ",", "js", "type", "name", ")", ";" ]
[ "looks", "up", "a", "type", "by", "name", "to", "allow", "for", "forward", "references", "to", "types", "an", "unrecognized", "string", "has", "to", "be", "bound", "to", "a", "named", "type", "object", "that", "will", "be", "resolved", "later" ]
[ "return", "get", "type", "(", "scope", ",", "js", "type", "name", ",", "source", "name", ",", "lineno", ",", "charno", ",", "true", ")", ";" ]
[ "flushes", "out", "the", "current", "resolved", "and", "unresolved", "named", "types", "from", "the", "type", "registry", "this", "is", "intended", "to", "be", "used", "only", "before", "a", "compile", "is", "run" ]
[ "unresolved", "named", "types", "clear", "(", ")", ";" ]
[ "creates", "a", "type", "representing", "optional", "values", "of", "the", "given", "type" ]
[ "if", "(", "type", "instanceof", "unknown", "type", "|", "|", "type", "is", "all", "type", "(", ")", ")", "{", "return", "type", ";", "}", "else", "{", "return", "create", "union", "type", "(", "type", ",", "get", "native", "type", "(", "j", "s", "type", "native", "void", "type", ")", ")", ";", "}" ]
[ "creates", "a", "type", "representing", "nullable", "values", "of", "the", "given", "type" ]
[ "return", "create", "union", "type", "(", "type", ",", "get", "native", "type", "(", "j", "s", "type", "native", "null", "type", ")", ")", ";" ]