docstring_tokens
list
code_tokens
list
[ "returns", "the", "super", "interface", "signatures", "of", "<", "code", ">", "sub", "type", "<", "/", "code", ">", "if", "<", "code", ">", "super", "type", "<", "/", "code", ">", "is", "an", "interface", "otherwise", "returns", "the", "super", "type", "signature" ]
[ "if", "(", "super", "type", "is", "interface", "(", ")", ")", "return", "sub", "type", "get", "super", "interface", "type", "signatures", "(", ")", ";", "else", "return", "new", "string", "[", "]", "{", "sub", "type", "get", "superclass", "type", "signature", "(", ")", "}", ";" ]
[ "returns", "the", "type", "binding", "of", "the", "expected", "type", "as", "it", "is", "contained", "in", "the", "code", "completion", "context" ]
[ "char", "[", "]", "[", "]", "ch", "keys", "=", "f", "invocation", "context", "get", "core", "context", "(", ")", "get", "expected", "types", "keys", "(", ")", ";", "if", "(", "ch", "keys", "=", "=", "null", "|", "|", "ch", "keys", "length", "=", "=", "0", ")", "return", "null", ";", "string", "[", "]", "keys", "=", "new", "string", "[", "ch", "keys", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "keys", "length", ";", "i", "+", "+", ")", "{", "keys", "[", "i", "]", "=", "string", "value", "of", "(", "ch", "keys", "[", "0", "]", ")", ";", "}", "final", "che", "a", "s", "t", "parser", "parser", "=", "che", "a", "s", "t", "parser", "new", "parser", "(", "a", "s", "t", "provider", "shared", "ast", "level", ")", ";", "parser", "set", "project", "(", "f", "compilation", "unit", "get", "java", "project", "(", ")", ")", ";", "parser", "set", "resolve", "bindings", "(", "true", ")", ";", "parser", "set", "statements", "recovery", "(", "true", ")", ";", "final", "map", "<", "string", ",", "i", "binding", ">", "bindings", "=", "new", "hash", "map", "<", "string", ",", "i", "binding", ">", "(", ")", ";", "a", "s", "t", "requestor", "requestor", "=", "new", "a", "s", "t", "requestor", "(", ")", "{", "@", "override", "public", "void", "accept", "binding", "(", "string", "binding", "key", ",", "i", "binding", "binding", ")", "{", "bindings", "put", "(", "binding", "key", ",", "binding", ")", ";", "}", "}", ";", "parser", "create", "a", "s", "ts", "(", "new", "i", "compilation", "unit", "[", "0", "]", ",", "keys", ",", "requestor", ",", "null", ")", ";", "if", "(", "bindings", "size", "(", ")", ">", "0", ")", "return", "(", "i", "type", "binding", ")", "bindings", "get", "(", "keys", "[", "0", "]", ")", ";", "return", "null", ";" ]
[ "/", "*" ]
[ "if", "(", "f", "selected", "region", "=", "=", "null", ")", "return", "super", "get", "selection", "(", "document", ")", ";", "return", "new", "point", "(", "f", "selected", "region", "get", "offset", "(", ")", ",", "f", "selected", "region", "get", "length", "(", ")", ")", ";" ]
[ "/", "*" ]
[ "try", "{", "if", "(", "has", "parameters", "(", ")", ")", "{", "type", "argument", "proposal", "[", "]", "proposals", "=", "compute", "type", "argument", "proposals", "(", ")", ";", "if", "(", "has", "ambiguous", "proposals", "(", "proposals", ")", ")", "return", "new", "context", "information", "(", "this", ")", ";", "}", "}", "catch", "(", "java", "model", "exception", "e", ")", "{", "}", "return", "super", "compute", "context", "information", "(", ")", ";" ]
[ "sets", "whether", "this", "proposal", "can", "use", "the", "diamond" ]
[ "f", "can", "use", "diamond", "=", "can", "use", "diamond", ";" ]
[ "tells", "whether", "this", "proposal", "can", "use", "the", "diamond" ]
[ "return", "f", "can", "use", "diamond", ";" ]
[ "removes", "a", "given", "property", "from", "a", "type", "and", "updates", "type", "-", "registry" ]
[ "node", "p", "node", "=", "type", "get", "property", "node", "(", "prop", "name", ")", ";", "if", "(", "p", "node", "!", "=", "null", "&", "&", "src", "name", "equals", "(", "p", "node", "get", "source", "file", "name", "(", ")", ")", ")", "{", "type", "registry", "unregister", "property", "on", "type", "(", "prop", "name", ",", "type", ")", ";", "type", "remove", "property", "(", "prop", "name", ")", ";", "}" ]
[ "set", "the", "size", "of", "this", "edge", "effect", "in", "pixels" ]
[ "final", "float", "r", "=", "width", "*", "radius", "factor", "/", "sin", ";", "final", "float", "y", "=", "cos", "*", "r", ";", "final", "float", "h", "=", "r", "-", "y", ";", "final", "float", "or", "=", "height", "*", "radius", "factor", "/", "sin", ";", "final", "float", "oy", "=", "cos", "*", "or", ";", "final", "float", "oh", "=", "or", "-", "oy", ";", "m", "radius", "=", "r", ";", "m", "base", "glow", "scale", "=", "h", ">", "0", "?", "math", "min", "(", "oh", "/", "h", ",", "1", "f", ")", ":", "1", "f", ";", "m", "bounds", "set", "(", "m", "bounds", "left", ",", "m", "bounds", "top", ",", "width", ",", "(", "int", ")", "math", "min", "(", "height", ",", "h", ")", ")", ";" ]
[ "a", "view", "should", "call", "this", "when", "content", "is", "pulled", "away", "from", "an", "edge", "by", "the", "user", "this", "will", "update", "the", "state", "of", "the", "current", "visual", "effect", "and", "its", "associated", "animation", "the", "host", "view", "should", "always", "{", "@", "link", "android", "view", "view", "#", "invalidate", "(", ")", "}", "after", "this", "and", "draw", "the", "results", "accordingly" ]
[ "final", "long", "now", "=", "animation", "utils", "current", "animation", "time", "millis", "(", ")", ";", "m", "target", "displacement", "=", "displacement", ";", "if", "(", "m", "state", "=", "=", "state", "pull", "decay", "&", "&", "now", "-", "m", "start", "time", "<", "m", "duration", ")", "{", "return", ";", "}", "if", "(", "m", "state", "!", "=", "state", "pull", ")", "{", "m", "glow", "scale", "y", "=", "math", "max", "(", "pull", "glow", "begin", ",", "m", "glow", "scale", "y", ")", ";", "}", "m", "state", "=", "state", "pull", ";", "m", "start", "time", "=", "now", ";", "m", "duration", "=", "pull", "time", ";", "m", "pull", "distance", "+", "=", "delta", "distance", ";", "final", "float", "absdd", "=", "math", "abs", "(", "delta", "distance", ")", ";", "m", "glow", "alpha", "=", "m", "glow", "alpha", "start", "=", "math", "min", "(", "max", "alpha", ",", "m", "glow", "alpha", "+", "(", "absdd", "*", "pull", "distance", "alpha", "glow", "factor", ")", ")", ";", "if", "(", "m", "pull", "distance", "=", "=", "0", ")", "{", "m", "glow", "scale", "y", "=", "m", "glow", "scale", "y", "start", "=", "0", ";", "}", "else", "{", "final", "float", "scale", "=", "(", "float", ")", "(", "math", "max", "(", "0", ",", "1", "-", "1", "/", "math", "sqrt", "(", "math", "abs", "(", "m", "pull", "distance", ")", "*", "m", "bounds", "height", "(", ")", ")", "-", "0", "3d", ")", "/", "0", "7d", ")", ";", "m", "glow", "scale", "y", "=", "m", "glow", "scale", "y", "start", "=", "scale", ";", "}", "m", "glow", "alpha", "finish", "=", "m", "glow", "alpha", ";", "m", "glow", "scale", "y", "finish", "=", "m", "glow", "scale", "y", ";" ]
[ "set", "the", "color", "of", "this", "edge", "effect", "in", "argb" ]
[ "m", "paint", "set", "color", "(", "color", ")", ";" ]
[ "return", "the", "color", "of", "this", "edge", "effect", "in", "argb" ]
[ "return", "m", "paint", "get", "color", "(", ")", ";" ]
[ "draw", "into", "the", "provided", "canvas", "assumes", "that", "the", "canvas", "has", "been", "rotated", "accordingly", "and", "the", "size", "has", "been", "set", "the", "effect", "will", "be", "drawn", "the", "full", "width", "of", "x", "=", "0", "to", "x", "=", "width", "beginning", "from", "y", "=", "0", "and", "extending", "to", "some", "factor", "<", "1", "f", "of", "height" ]
[ "update", "(", ")", ";", "final", "int", "count", "=", "canvas", "save", "(", ")", ";", "final", "float", "center", "x", "=", "m", "bounds", "center", "x", "(", ")", ";", "final", "float", "center", "y", "=", "m", "bounds", "height", "(", ")", "-", "m", "radius", ";", "canvas", "scale", "(", "1", "f", ",", "math", "min", "(", "m", "glow", "scale", "y", ",", "1", "f", ")", "*", "m", "base", "glow", "scale", ",", "center", "x", ",", "0", ")", ";", "final", "float", "displacement", "=", "math", "max", "(", "0", ",", "math", "min", "(", "m", "displacement", ",", "1", "f", ")", ")", "-", "0", "5f", ";", "float", "translate", "x", "=", "m", "bounds", "width", "(", ")", "*", "displacement", "/", "2", ";", "canvas", "clip", "rect", "(", "m", "bounds", ")", ";", "canvas", "translate", "(", "translate", "x", ",", "0", ")", ";", "m", "paint", "set", "alpha", "(", "(", "int", ")", "(", "0xff", "*", "m", "glow", "alpha", ")", ")", ";", "canvas", "draw", "circle", "(", "center", "x", ",", "center", "y", ",", "m", "radius", ",", "m", "paint", ")", ";", "canvas", "restore", "to", "count", "(", "count", ")", ";", "boolean", "one", "last", "frame", "=", "false", ";", "if", "(", "m", "state", "=", "=", "state", "recede", "&", "&", "m", "glow", "scale", "y", "=", "=", "0", ")", "{", "m", "state", "=", "state", "idle", ";", "one", "last", "frame", "=", "true", ";", "}", "return", "m", "state", "!", "=", "state", "idle", "|", "|", "one", "last", "frame", ";" ]
[ "sets", "the", "tint", "color", "for", "the", "given", "drawable", "for", "all", "button", "states" ]
[ "if", "(", "m", "tint", "=", "=", "tint", ")", "return", ";", "m", "tint", "=", "tint", ";", "update", "tint", "color", "(", ")", ";" ]
[ "factory", "method", "for", "creating", "a", "{" ]
[ "bitmap", "icon", "=", "bitmap", "factory", "decode", "resource", "(", "res", ",", "drawable", "id", ")", ";", "return", "new", "tinted", "drawable", "(", "res", ",", "icon", ")", ";" ]
[ "factory", "method", "for", "creating", "a", "{" ]
[ "tinted", "drawable", "drawable", "=", "construct", "tinted", "drawable", "(", "res", ",", "drawable", "id", ")", ";", "drawable", "set", "tint", "(", "api", "compatibility", "utils", "get", "color", "state", "list", "(", "res", ",", "tint", "color", "id", ")", ")", ";", "return", "drawable", ";" ]
[ "factory", "method", "for", "creating", "a", "{" ]
[ "return", "new", "tinted", "drawable", "(", "res", ",", "icon", ")", ";" ]
[ "waits", "for", "this", "copy", "operation", "to", "complete", "and", "returns", "the", "result", "of", "the", "operation", "be", "prepared", "to", "handle", "errors", "when", "calling", "this", "method", "any", "errors", "that", "occurred", "during", "the", "asynchronous", "transfer", "will", "be", "re", "-", "thrown", "through", "this", "method" ]
[ "try", "{", "copy", "result", "result", "=", "null", ";", "while", "(", "!", "monitor", "is", "done", "(", ")", "|", "|", "result", "=", "=", "null", ")", "{", "future", "<", "?", ">", "f", "=", "monitor", "get", "future", "(", ")", ";", "result", "=", "(", "copy", "result", ")", "f", "get", "(", ")", ";", "}", "return", "result", ";", "}", "catch", "(", "execution", "exception", "e", ")", "{", "rethrow", "execution", "exception", "(", "e", ")", ";", "return", "null", ";", "}" ]
[ "transfers", "the", "comments", "from", "the", "old", "node", "to", "the", "two", "new", "nodes", "after", "node", "splitting" ]
[ "new", "node", "1", "get", "comments", "(", ")", "initialize", "local", "code", "node", "comment", "(", "node", "get", "comments", "(", ")", "get", "local", "code", "node", "comment", "(", ")", ")", ";", "for", "(", "final", "i", "navi", "instruction", "navi", "instruction", ":", "node", "get", "instructions", "(", ")", ")", "{", "if", "(", "new", "node", "1", "has", "instruction", "(", "navi", "instruction", ")", ")", "{", "new", "node", "1", "get", "comments", "(", ")", "initialize", "local", "instruction", "comment", "(", "navi", "instruction", ",", "node", "get", "comments", "(", ")", "get", "local", "instruction", "comment", "(", "navi", "instruction", ")", ")", ";", "}", "else", "{", "new", "node", "2", "get", "comments", "(", ")", "initialize", "local", "instruction", "comment", "(", "navi", "instruction", ",", "node", "get", "comments", "(", ")", "get", "local", "instruction", "comment", "(", "navi", "instruction", ")", ")", ";", "}", "}" ]
[ "{" ]
[]
[ "<", "h", "1", ">", "some", "header", "<", "/", "h", "1", ">", "{" ]
[]
[ "<", "p", ">", "a", "list", "of", "<", "code", ">", "<", "a", ">", "delete", "message", "batch", "result", "entry", "<", "/", "a", ">", "<", "/", "code", ">", "items", "<", "/", "p", ">" ]
[ "if", "(", "successful", "=", "=", "null", ")", "{", "successful", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "delete", "message", "batch", "result", "entry", ">", "(", ")", ";", "}", "return", "successful", ";" ]
[ "<", "p", ">", "a", "list", "of", "<", "code", ">", "<", "a", ">", "delete", "message", "batch", "result", "entry", "<", "/", "a", ">", "<", "/", "code", ">", "items", "<", "/", "p", ">" ]
[ "if", "(", "successful", "=", "=", "null", ")", "{", "this", "successful", "=", "null", ";", "return", ";", "}", "this", "successful", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "delete", "message", "batch", "result", "entry", ">", "(", "successful", ")", ";" ]
[ "<", "p", ">", "a", "list", "of", "<", "code", ">", "<", "a", ">", "delete", "message", "batch", "result", "entry", "<", "/", "a", ">", "<", "/", "code", ">", "items", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "successful", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "successful", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "successful", "=", "=", "null", ")", "{", "set", "successful", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "delete", "message", "batch", "result", "entry", ">", "(", "successful", "length", ")", ")", ";", "}", "for", "(", "delete", "message", "batch", "result", "entry", "ele", ":", "successful", ")", "{", "this", "successful", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "a", "list", "of", "<", "code", ">", "<", "a", ">", "delete", "message", "batch", "result", "entry", "<", "/", "a", ">", "<", "/", "code", ">", "items", "<", "/", "p", ">" ]
[ "set", "successful", "(", "successful", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "list", "of", "<", "code", ">", "<", "a", ">", "batch", "result", "error", "entry", "<", "/", "a", ">", "<", "/", "code", ">", "items", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "failed", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "failed", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "failed", "=", "=", "null", ")", "{", "set", "failed", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "batch", "result", "error", "entry", ">", "(", "failed", "length", ")", ")", ";", "}", "for", "(", "batch", "result", "error", "entry", "ele", ":", "failed", ")", "{", "this", "failed", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "a", "list", "of", "<", "code", ">", "<", "a", ">", "batch", "result", "error", "entry", "<", "/", "a", ">", "<", "/", "code", ">", "items", "<", "/", "p", ">" ]
[ "set", "failed", "(", "failed", ")", ";", "return", "this", ";" ]
[ "return", "an", "anonym", "class", "so", "that", "conjunction", "d", "i", "s", "i", "cannot", "optimize", "it", "like", "it", "does", "eg", "for", "bit", "set", "iterators" ]
[ "return", "new", "doc", "id", "set", "iterator", "(", ")", "{", "@", "override", "public", "int", "next", "doc", "(", ")", "throws", "i", "o", "exception", "{", "return", "it", "next", "doc", "(", ")", ";", "}", "@", "override", "public", "int", "doc", "i", "d", "(", ")", "{", "return", "it", "doc", "i", "d", "(", ")", ";", "}", "@", "override", "public", "long", "cost", "(", ")", "{", "return", "it", "doc", "i", "d", "(", ")", ";", "}", "@", "override", "public", "int", "advance", "(", "int", "target", ")", "throws", "i", "o", "exception", "{", "return", "it", "advance", "(", "target", ")", ";", "}", "}", ";" ]
[ "{" ]
[ "tcp", "communication", "spi", "spi", "=", "new", "tcp", "communication", "spi", "(", ")", ";", "spi", "set", "shared", "memory", "port", "(", "-", "1", ")", ";", "spi", "set", "local", "port", "(", "port", "+", "+", ")", ";", "spi", "set", "idle", "connection", "timeout", "(", "10", "000", ")", ";", "spi", "set", "ack", "send", "threshold", "(", "5", ")", ";", "spi", "set", "socket", "send", "buffer", "(", "512", ")", ";", "spi", "set", "socket", "receive", "buffer", "(", "512", ")", ";", "spi", "set", "connections", "per", "node", "(", "1", ")", ";", "return", "spi", ";" ]
[ "{" ]
[ "return", "ignite", "configuration", "dflt", "failure", "detection", "timeout", "+", "5", "000", ";" ]
[ "<", "p", ">", "the", "names", "of", "the", "stacks", "to", "describe", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "names", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "names", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "names", "=", "=", "null", ")", "{", "set", "names", "(", "new", "java", "util", "array", "list", "<", "string", ">", "(", "names", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "names", ")", "{", "this", "names", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "names", "of", "the", "stacks", "to", "describe", "<", "/", "p", ">" ]
[ "set", "names", "(", "names", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "number", "of", "active", "cloud", "front", "key", "pairs", "for", "<", "code", ">", "aws", "account", "number", "<", "/", "code", ">", "<", "/", "p", ">", "<", "p", ">", "for", "more", "information", "see", "<", "a", ">", "active", "trusted", "signers", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "set", "quantity", "(", "quantity", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "complex", "type", "that", "lists", "the", "active", "cloud", "front", "key", "pairs", "if", "any", "that", "are", "associated", "with", "<", "code", ">", "aws", "account", "number", "<", "/", "code", ">", "<", "/", "p", ">", "<", "p", ">", "for", "more", "information", "see", "<", "a", ">", "active", "trusted", "signers", "<", "/", "a", ">", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "items", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "items", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "items", "=", "=", "null", ")", "{", "set", "items", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "items", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "items", ")", "{", "this", "items", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "a", "complex", "type", "that", "lists", "the", "active", "cloud", "front", "key", "pairs", "if", "any", "that", "are", "associated", "with", "<", "code", ">", "aws", "account", "number", "<", "/", "code", ">", "<", "/", "p", ">", "<", "p", ">", "for", "more", "information", "see", "<", "a", ">", "active", "trusted", "signers", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "set", "items", "(", "items", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "list", "of", "<", "code", ">", "stack", "resource", "<", "/", "code", ">", "structures", "<", "/", "p", ">" ]
[ "if", "(", "stack", "resources", "=", "=", "null", ")", "{", "stack", "resources", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "stack", "resource", ">", "(", ")", ";", "}", "return", "stack", "resources", ";" ]
[ "<", "p", ">", "a", "list", "of", "<", "code", ">", "stack", "resource", "<", "/", "code", ">", "structures", "<", "/", "p", ">" ]
[ "if", "(", "stack", "resources", "=", "=", "null", ")", "{", "this", "stack", "resources", "=", "null", ";", "return", ";", "}", "this", "stack", "resources", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "stack", "resource", ">", "(", "stack", "resources", ")", ";" ]
[ "<", "p", ">", "a", "list", "of", "<", "code", ">", "stack", "resource", "<", "/", "code", ">", "structures", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "stack", "resources", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "stack", "resources", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "stack", "resources", "=", "=", "null", ")", "{", "set", "stack", "resources", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "stack", "resource", ">", "(", "stack", "resources", "length", ")", ")", ";", "}", "for", "(", "stack", "resource", "ele", ":", "stack", "resources", ")", "{", "this", "stack", "resources", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "a", "list", "of", "<", "code", ">", "stack", "resource", "<", "/", "code", ">", "structures", "<", "/", "p", ">" ]
[ "set", "stack", "resources", "(", "stack", "resources", ")", ";", "return", "this", ";" ]
[ "parses", "saml", "descriptor", "and", "extracts", "keys", "from", "it" ]
[ "object", "res", "=", "new", "saml", "descriptor", "i", "d", "p", "keys", "extractor", "(", ")", "parse", "(", "xml", "stream", ")", ";", "return", "(", "multivalued", "hash", "map", "<", "string", ",", "key", "info", ">", ")", "res", ";" ]
[ "returns", "the", "value", "of", "this", "{" ]
[ "@", "nullable", "public", "abstract", "t", "get", "value", "(", ")", ";" ]
[ "returns", "the", "window", "of", "this", "{" ]
[ "public", "abstract", "bounded", "window", "get", "window", "(", ")", ";" ]
[ "adds", "the", "specified", "value", "to", "the", "queue" ]
[ "element", "<", "t", ">", "e", "=", "new", "element", "<", "t", ">", "(", "value", ")", ";", "queue", "offer", "(", "e", ")", ";" ]
[ "returns", "an", "array", "containing", "all", "values", "from", "this", "queue", "in", "the", "sequence", "they", "were", "added" ]
[ "return", "values", "(", ")", "to", "array", "(", "t", "array", ")", ";" ]
[ "returns", "a", "list", "containing", "all", "values", "from", "this", "queue", "in", "the", "sequence", "they", "were", "added" ]
[ "list", "<", "t", ">", "result", "=", "new", "array", "list", "<", "t", ">", "(", ")", ";", "for", "(", "iterator", "<", "t", ">", "itr", "=", "iterator", "(", ")", ";", "itr", "has", "next", "(", ")", ";", ")", "{", "result", "add", "(", "itr", "next", "(", ")", ")", ";", "}", "return", "result", ";" ]
[ "returns", "an", "iterator", "over", "all", "non", "-", "null", "values", "in", "this", "queue", "the", "values", "should", "be", "returned", "in", "the", "order", "they", "were", "added" ]
[ "return", "new", "itr", "(", "queue", "iterator", "(", ")", ")", ";" ]
[ "causes", "the", "action", "to", "not", "repeat", "again" ]
[ "finished", "=", "true", ";" ]
[ "sets", "the", "number", "of", "times", "to", "repeat", "can", "be", "set", "to", "{" ]
[ "this", "repeat", "count", "=", "count", ";" ]
[ "records", "a", "single", "eviction" ]
[ "total", "eviction", "count", "increment", "(", ")", ";" ]
[ "records", "a", "single", "invalidation" ]
[ "total", "invalidation", "count", "increment", "(", ")", ";" ]
[ "records", "that", "a", "cache", "hit", "has", "occurred", "and", "updates", "the", "corresponding", "instrumenting", "cache", "stats", "tracker", "and", "records", "the", "time", "it", "took", "for", "the", "cache", "retrieval" ]
[ "preconditions", "check", "state", "(", "state", "=", "=", "state", "initialized", ")", ";", "total", "retrieval", "time", "add", "(", "clock", "current", "time", "millis", "(", ")", "-", "start", "time", ")", ";", "total", "hit", "count", "increment", "(", ")", ";", "state", "=", "state", "hit", ";" ]
[ "the", "id", "of", "the", "core", "definition" ]
[ "set", "core", "definition", "id", "(", "core", "definition", "id", ")", ";", "return", "this", ";" ]
[ "the", "maximum", "number", "of", "results", "to", "be", "returned", "per", "request" ]
[ "set", "max", "results", "(", "max", "results", ")", ";", "return", "this", ";" ]
[ "the", "token", "for", "the", "next", "set", "of", "results", "or", "null", "if", "there", "are", "no", "additional", "results" ]
[ "set", "next", "token", "(", "next", "token", ")", ";", "return", "this", ";" ]
[ "create", "a", "new", "{", "@", "link", "unicast", "processor", "}", "that", "will", "buffer", "on", "an", "internal", "queue", "in", "an", "unbounded", "fashion" ]
[ "return", "new", "unicast", "processor", "<", ">", "(", "queues", "<", "e", ">", "unbounded", "(", ")", "get", "(", ")", ")", ";" ]
[ "create", "a", "new", "{", "@", "link", "unicast", "processor", "}", "that", "will", "buffer", "on", "a", "provided", "queue", "in", "an", "unbounded", "fashion" ]
[ "return", "new", "unicast", "processor", "<", ">", "(", "queue", ")", ";" ]
[ "create", "a", "new", "{", "@", "link", "unicast", "processor", "}", "that", "will", "buffer", "on", "a", "provided", "queue", "in", "an", "unbounded", "fashion" ]
[ "return", "new", "unicast", "processor", "<", ">", "(", "queue", ",", "endcallback", ")", ";" ]
[ "create", "a", "new", "{", "@", "link", "unicast", "processor", "}", "that", "will", "buffer", "on", "a", "provided", "queue", "in", "an", "unbounded", "fashion" ]
[ "return", "new", "unicast", "processor", "<", ">", "(", "queue", ",", "on", "overflow", ",", "endcallback", ")", ";" ]
[ "{" ]
[ "throw", "create", "exception", "(", ")", ";" ]
[ "{" ]
[ "throw", "create", "exception", "(", ")", ";" ]
[ "{" ]
[ "throw", "create", "exception", "(", ")", ";" ]
[ "{" ]
[ "return", "new", "grid", "finished", "future", "<", ">", "(", "create", "exception", "(", ")", ")", ";" ]
[ "{" ]
[ "throw", "create", "exception", "(", ")", ";" ]
[ "{" ]
[ "throw", "create", "exception", "(", ")", ";" ]
[ "{" ]
[ "throw", "create", "exception", "(", ")", ";" ]
[ "{" ]
[ "throw", "create", "exception", "(", ")", ";" ]
[ "called", "by", "subclasses", "to", "parse", "an", "unknown", "field" ]
[ "if", "(", "input", "should", "discard", "unknown", "fields", "(", ")", ")", "{", "return", "input", "skip", "field", "(", "tag", ")", ";", "}", "return", "unknown", "fields", "merge", "field", "from", "(", "tag", ",", "input", ")", ";" ]
[ "ensures", "the", "field", "accessors", "are", "initialized", "this", "method", "is", "thread", "-", "safe" ]
[ "if", "(", "initialized", ")", "{", "return", "this", ";", "}", "synchronized", "(", "this", ")", "{", "if", "(", "initialized", ")", "{", "return", "this", ";", "}", "int", "fields", "size", "=", "fields", "length", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "fields", "size", ";", "i", "+", "+", ")", "{", "field", "descriptor", "field", "=", "descriptor", "get", "fields", "(", ")", "get", "(", "i", ")", ";", "string", "containing", "oneof", "camel", "case", "name", "=", "null", ";", "if", "(", "field", "get", "containing", "oneof", "(", ")", "!", "=", "null", ")", "{", "containing", "oneof", "camel", "case", "name", "=", "camel", "case", "names", "[", "fields", "size", "+", "field", "get", "containing", "oneof", "(", ")", "get", "index", "(", ")", "]", ";", "}", "if", "(", "field", "is", "repeated", "(", ")", ")", "{", "if", "(", "field", "get", "java", "type", "(", ")", "=", "=", "field", "descriptor", "java", "type", "message", ")", "{", "if", "(", "field", "is", "map", "field", "(", ")", ")", "{", "fields", "[", "i", "]", "=", "new", "map", "field", "accessor", "(", "field", ",", "camel", "case", "names", "[", "i", "]", ",", "message", "class", ",", "builder", "class", ")", ";", "}", "else", "{", "fields", "[", "i", "]", "=", "new", "repeated", "message", "field", "accessor", "(", "field", ",", "camel", "case", "names", "[", "i", "]", ",", "message", "class", ",", "builder", "class", ")", ";", "}", "}", "else", "if", "(", "field", "get", "java", "type", "(", ")", "=", "=", "field", "descriptor", "java", "type", "enum", ")", "{", "fields", "[", "i", "]", "=", "new", "repeated", "enum", "field", "accessor", "(", "field", ",", "camel", "case", "names", "[", "i", "]", ",", "message", "class", ",", "builder", "class", ")", ";", "}", "else", "{", "fields", "[", "i", "]", "=", "new", "repeated", "field", "accessor", "(", "field", ",", "camel", "case", "names", "[", "i", "]", ",", "message", "class", ",", "builder", "class", ")", ";", "}", "}", "else", "{", "if", "(", "field", "get", "java", "type", "(", ")", "=", "=", "field", "descriptor", "java", "type", "message", ")", "{", "fields", "[", "i", "]", "=", "new", "singular", "message", "field", "accessor", "(", "field", ",", "camel", "case", "names", "[", "i", "]", ",", "message", "class", ",", "builder", "class", ",", "containing", "oneof", "camel", "case", "name", ")", ";", "}", "else", "if", "(", "field", "get", "java", "type", "(", ")", "=", "=", "field", "descriptor", "java", "type", "enum", ")", "{", "fields", "[", "i", "]", "=", "new", "singular", "enum", "field", "accessor", "(", "field", ",", "camel", "case", "names", "[", "i", "]", ",", "message", "class", ",", "builder", "class", ",", "containing", "oneof", "camel", "case", "name", ")", ";", "}", "else", "if", "(", "field", "get", "java", "type", "(", ")", "=", "=", "field", "descriptor", "java", "type", "string", ")", "{", "fields", "[", "i", "]", "=", "new", "singular", "string", "field", "accessor", "(", "field", ",", "camel", "case", "names", "[", "i", "]", ",", "message", "class", ",", "builder", "class", ",", "containing", "oneof", "camel", "case", "name", ")", ";", "}", "else", "{", "fields", "[", "i", "]", "=", "new", "singular", "field", "accessor", "(", "field", ",", "camel", "case", "names", "[", "i", "]", ",", "message", "class", ",", "builder", "class", ",", "containing", "oneof", "camel", "case", "name", ")", ";", "}", "}", "}", "int", "oneofs", "size", "=", "oneofs", "length", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "oneofs", "size", ";", "i", "+", "+", ")", "{", "oneofs", "[", "i", "]", "=", "new", "oneof", "accessor", "(", "descriptor", ",", "camel", "case", "names", "[", "i", "+", "fields", "size", "]", ",", "message", "class", ",", "builder", "class", ")", ";", "}", "initialized", "=", "true", ";", "camel", "case", "names", "=", "null", ";", "return", "this", ";", "}" ]
[ "serialize", "the", "map", "using", "the", "iteration", "order" ]
[ "for", "(", "map", "entry", "<", "k", ",", "v", ">", "entry", ":", "m", "entry", "set", "(", ")", ")", "{", "out", "write", "message", "(", "field", "number", ",", "default", "entry", "new", "builder", "for", "type", "(", ")", "set", "key", "(", "entry", "get", "key", "(", ")", ")", "set", "value", "(", "entry", "get", "value", "(", ")", ")", "build", "(", ")", ")", ";", "}" ]
[ "<", "p", ">", "the", "name", "of", "the", "domain", "that", "you", "want", "to", "renew", "<", "/", "p", ">" ]
[ "set", "domain", "name", "(", "domain", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "number", "of", "years", "that", "you", "want", "to", "renew", "the", "domain", "for", "the", "maximum", "number", "of", "years", "depends", "on", "the", "top", "-", "level", "domain", "for", "the", "range", "of", "valid", "values", "for", "your", "domain", "see", "<", "a", "href", "=", "http", ":", "/", "/", "docs", "aws", "amazon", "com", "/", "route", "5", "3", "/", "latest", "/", "developer", "guide", "/", "registrar", "-", "tld", "-", "list", "html", ">", "domains", "that", "you", "can", "register", "with", "amazon", "route", "53", "<", "/", "a", ">", "in", "the", "<", "i", ">", "amazon", "route", "53", "developer", "guide", "<", "/", "i", ">", "<", "/", "p", ">", "<", "p", ">", "default", ":", "1", "<", "/", "p", ">" ]
[ "set", "duration", "in", "years", "(", "duration", "in", "years", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "year", "when", "the", "registration", "for", "the", "domain", "is", "set", "to", "expire", "this", "value", "must", "match", "the", "current", "expiration", "date", "for", "the", "domain", "<", "/", "p", ">" ]
[ "this", "current", "expiry", "year", "=", "current", "expiry", "year", ";" ]
[ "<", "p", ">", "the", "year", "when", "the", "registration", "for", "the", "domain", "is", "set", "to", "expire", "this", "value", "must", "match", "the", "current", "expiration", "date", "for", "the", "domain", "<", "/", "p", ">" ]
[ "return", "this", "current", "expiry", "year", ";" ]
[ "<", "p", ">", "the", "year", "when", "the", "registration", "for", "the", "domain", "is", "set", "to", "expire", "this", "value", "must", "match", "the", "current", "expiration", "date", "for", "the", "domain", "<", "/", "p", ">" ]
[ "set", "current", "expiry", "year", "(", "current", "expiry", "year", ")", ";", "return", "this", ";" ]
[ "appends", "the", "given", "value", "to", "the", "running", "qualifier", "and", "value", "compaction", "byte", "arrays", "it", "doesn", "t", "take", "a", "{" ]
[ "system", "arraycopy", "(", "new", "qual", ",", "0", ",", "compact", "qualifier", ",", "qualifier", "index", ",", "new", "qual", "length", ")", ";", "qualifier", "index", "+", "=", "new", "qual", "length", ";", "system", "arraycopy", "(", "new", "value", ",", "0", ",", "compact", "value", ",", "value", "index", ",", "value", "length", ")", ";", "value", "index", "+", "=", "value", "length", ";" ]
[ "resets", "the", "running", "compaction", "variables", "this", "should", "be", "called", "after", "a", "{" ]
[ "compact", "qualifier", "=", "null", ";", "qualifier", "index", "=", "0", ";", "compact", "value", "=", "null", ";", "value", "index", "=", "0", ";", "qualifier", "bytes", "=", "0", ";", "value", "bytes", "=", "0", ";", "compact", "row", "=", "false", ";" ]
[ "sets", "the", "listener", "to", "call", "when", "the", "user", "selects", "a", "day" ]
[ "m", "day", "selection", "event", "listener", "=", "listener", ";" ]
[ "returns", "the", "query", "string", "from", "loggable", "wrapped", "statement" ]
[ "try", "{", "return", "(", "string", ")", "get", "query", "string", "method", "invoke", "(", "statement", ")", ";", "}", "catch", "(", "exception", "ex", ")", "{", "throw", "new", "db", "sql", "exception", "(", "ex", ")", ";", "}" ]
[ "sets", "whether", "the", "stream", "caching", "is", "enabled", "<", "p", "/", ">", "<", "b", ">", "notice", ":", "<", "/", "b", ">", "this", "cannot", "be", "changed", "at", "runtime" ]
[ "this", "enabled", "=", "enabled", ";" ]
[ "sets", "the", "spool", "(", "temporary", ")", "directory", "to", "use", "for", "overflow", "and", "spooling", "to", "disk", "<", "p", "/", ">", "if", "no", "spool", "directory", "has", "been", "explicit", "configured", "then", "a", "temporary", "directory", "is", "created", "in", "the", "<", "tt", ">", "java", "io", "tmpdir", "<", "/", "tt", ">", "directory" ]
[ "this", "spool", "directory", "=", "spool", "directory", ";" ]
[ "threshold", "in", "bytes", "when", "overflow", "to", "disk", "is", "activated", "<", "p", "/", ">", "the", "default", "threshold", "is", "{" ]
[ "this", "spool", "threshold", "=", "spool", "threshold", ";" ]
[ "sets", "a", "percentage", "(", "1", "-", "99", ")", "of", "used", "heap", "memory", "threshold", "to", "activate", "spooling", "to", "disk" ]
[ "this", "spool", "used", "heap", "memory", "threshold", "=", "spool", "used", "heap", "memory", "threshold", ";" ]
[ "sets", "what", "the", "upper", "bounds", "should", "be", "when", "spool", "used", "heap", "memory", "threshold", "is", "in", "use" ]
[ "this", "spool", "used", "heap", "memory", "limit", "=", "spool", "used", "heap", "memory", "limit", ";" ]
[ "reference", "to", "one", "or", "more", "custom", "{" ]
[ "this", "spool", "rules", "=", "spool", "rules", ";" ]
[ "whether", "to", "remove", "the", "temporary", "directory", "when", "stopping", "<", "p", "/", ">", "this", "option", "is", "default", "<", "tt", ">", "true", "<", "/", "tt", ">" ]
[ "this", "remove", "spool", "directory", "when", "stopping", "=", "remove", "spool", "directory", "when", "stopping", ";" ]
[ "sets", "whether", "statistics", "is", "enabled" ]
[ "this", "statistics", "enabled", "=", "statistics", "enabled", ";" ]
[ "sets", "whether", "if", "just", "any", "of", "the", "{" ]
[ "this", "any", "spool", "rules", "=", "any", "spool", "rules", ";" ]
[ "subclasses", "must", "implement", "this", "method", "to", "create", "a", "number", "type", "from", "the", "value" ]
[ "protected", "abstract", "t", "create", "type", "(", "big", "decimal", "value", ")", ";" ]
[ "{" ]
[ "return", "new", "boolean", "(", "to", "number", "(", "type", ",", "hm", "value", "item", ")", "double", "value", "(", ")", "=", "=", "hm", "value", "item", "get", "max", "value", "(", ")", "double", "value", "(", ")", ")", ";" ]
[ "{" ]
[ "if", "(", "hm", "value", "item", "is", "integer", "value", "(", ")", ")", "{", "return", "type", "int", "value", "(", ")", ";", "}", "return", "round", "(", "type", "double", "value", "(", ")", ")", "double", "value", "(", ")", ";" ]
[ "{" ]
[ "return", "to", "number", "(", "type", ",", "hm", "value", "item", ")", "to", "string", "(", ")", ";" ]
[ "{" ]
[ "if", "(", "boolean", "true", "equals", "(", "hm", "value", "item", "get", "value", "(", ")", ")", ")", "{", "return", "create", "type", "(", "round", "(", "hm", "value", "item", "get", "max", "value", "(", ")", "double", "value", "(", ")", ")", ")", ";", "}", "return", "create", "type", "(", "round", "(", "hm", "value", "item", "get", "min", "value", "(", ")", "double", "value", "(", ")", ")", ")", ";" ]
[ "{" ]
[ "double", "number", "=", "(", "(", "number", ")", "hm", "value", "item", "get", "value", "(", ")", ")", "double", "value", "(", ")", ";", "if", "(", "hm", "value", "item", "is", "integer", "value", "(", ")", ")", "{", "return", "create", "type", "(", "new", "big", "decimal", "(", "number", "int", "value", "(", ")", ")", ")", ";", "}", "return", "create", "type", "(", "round", "(", "number", ")", ")", ";" ]
[ "{" ]
[ "return", "create", "type", "from", "string", "(", "hm", "value", "item", "get", "value", "(", ")", "to", "string", "(", ")", ")", ";" ]
[ "calculates", "the", "distance", "between", "two", "points", "(", "x", "1", "y", "1", ")", "and", "(", "x", "2", "y", "2", ")" ]
[ "final", "float", "side", "1", "=", "x", "2", "-", "x", "1", ";", "final", "float", "side", "2", "=", "y", "2", "-", "y", "1", ";", "return", "(", "float", ")", "math", "sqrt", "(", "side", "1", "*", "side", "1", "+", "side", "2", "*", "side", "2", ")", ";" ]
[ "converts", "a", "char", "sequence", "to", "a", "string", "the", "slow", "way", "useful", "for", "testing", "a", "char", "sequence", "implementation" ]
[ "return", "new", "string", "builder", "(", ")", "append", "(", "char", "sequence", ")", "to", "string", "(", ")", ";" ]
[ "closes", "a", "bunch", "of", "views" ]
[ "for", "(", "final", "i", "navi", "view", "view", ":", "new", "filled", "list", "<", "i", "navi", "view", ">", "(", "views", ")", ")", "{", "if", "(", "view", "is", "loaded", "(", ")", "&", "&", "!", "view", "close", "(", ")", ")", "{", "return", "false", ";", "}", "}", "return", "true", ";" ]
[ "closes", "the", "view", "container" ]
[ "if", "(", "m", "native", "callgraph", "view", "is", "loaded", "(", ")", "&", "&", "!", "m", "native", "callgraph", "view", "close", "(", ")", ")", "{", "return", "false", ";", "}", "if", "(", "!", "close", "views", "(", "m", "native", "flowgraphs", ")", ")", "{", "return", "false", ";", "}", "if", "(", "!", "close", "views", "(", "m", "custom", "views", ")", ")", "{", "return", "false", ";", "}", "for", "(", "final", "i", "navi", "view", "view", ":", "m", "custom", "views", ")", "{", "view", "remove", "listener", "(", "m", "view", "listener", ")", ";", "}", "for", "(", "final", "i", "navi", "view", "view", ":", "m", "native", "flowgraphs", ")", "{", "view", "remove", "listener", "(", "m", "view", "listener", ")", ";", "}", "return", "true", ";" ]
[ "deletes", "a", "view", "from", "the", "module" ]
[ "check", "delete", "arguments", "(", "view", ")", ";", "if", "(", "view", "get", "configuration", "(", ")", "get", "id", "(", ")", "!", "=", "-", "1", ")", "{", "m", "provider", "delete", "view", "(", "view", ")", ";", "}", "delete", "(", "view", ")", ";" ]
[ "returns", "the", "number", "of", "custom", "non", "-", "native", "views", "in", "the", "module" ]
[ "return", "m", "custom", "views", "size", "(", ")", ";" ]
[ "returns", "the", "native", "call", "graph", "view", "of", "the", "module" ]
[ "return", "m", "native", "callgraph", "view", ";" ]