docstring_tokens
list
code_tokens
list
[ "this", "is", "a", "report", "of", "the", "estimated", "memory", "consumption", "for", "the", "given", "layer" ]
[ "public", "abstract", "layer", "memory", "report", "get", "memory", "report", "(", "input", "type", "input", "type", ")", ";" ]
[ "layer", "name", "assigns", "layer", "string", "name", "allows", "easier", "differentiation", "between", "layers" ]
[ "this", "layer", "name", "=", "layer", "name", ";", "return", "(", "t", ")", "this", ";" ]
[ "dropout", "probability", "this", "is", "the", "probability", "of", "<", "it", ">", "retaining", "<", "/", "it", ">", "each", "input", "activation", "value", "for", "a", "layer", "drop", "out", "(", "x", ")", "will", "keep", "an", "input", "activation", "with", "probability", "x", "and", "set", "to", "0", "with", "probability", "1", "-", "x", "<", "br", ">", "drop", "out", "(", "0", "0", ")", "is", "a", "special", "value", "/", "special", "case", "-", "when", "set", "to", "0", "0", "dropout", "is", "disabled", "(", "not", "applied", ")", "note", "that", "a", "dropout", "value", "of", "1", "0", "is", "functionally", "equivalent", "to", "no", "dropout", ":", "i", "e", "100", "%", "probability", "of", "retaining", "each", "input", "activation", "<", "br", ">", "when", "use", "drop", "connect", "(", "boolean", ")", "is", "set", "to", "true", "(", "false", "by", "default", ")", "this", "method", "sets", "the", "drop", "connect", "probability", "instead", "<", "p", ">", "note", "1", ":", "dropout", "is", "applied", "at", "training", "time", "only", "-", "and", "is", "automatically", "not", "applied", "at", "test", "time", "(", "for", "evaluation", "etc", ")", "<", "br", ">", "note", "2", ":", "this", "sets", "the", "probability", "per", "-", "layer", "care", "should", "be", "taken", "when", "setting", "lower", "values", "for", "complex", "networks", "(", "too", "much", "information", "may", "be", "lost", "with", "aggressive", "(", "very", "low", ")", "dropout", "values", ")", "<", "br", ">", "note", "3", ":", "frequently", "dropout", "is", "not", "applied", "to", "(", "or", "has", "higher", "retain", "probability", "for", ")", "input", "(", "first", "layer", ")", "layers", "dropout", "is", "also", "often", "not", "applied", "to", "output", "layers", "this", "needs", "to", "be", "handled", "manually", "by", "the", "user", "-", "set", "dropout", "(", "0", ")", "on", "those", "layers", "when", "using", "global", "dropout", "setting", "<", "br", ">", "note", "4", ":", "implementation", "detail", "(", "most", "users", "can", "ignore", ")", ":", "dl4j", "uses", "inverted", "dropout", "as", "described", "here", ":", "<", "a", "href", "=", "http", ":", "/", "/", "cs", "2", "3", "1n", "github", "io", "/", "neural", "-", "networks", "-", "2", "/", ">", "http", ":", "/", "/", "cs", "2", "3", "1n", "github", "io", "/", "neural", "-", "networks", "-", "2", "/", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "if", "(", "input", "retain", "probability", "=", "=", "0", "0", ")", "{", "return", "drop", "out", "(", "null", ")", ";", "}", "return", "drop", "out", "(", "new", "dropout", "(", "input", "retain", "probability", ")", ")", ";" ]
[ "set", "the", "dropout", "for", "all", "layers", "in", "this", "network" ]
[ "this", "i", "dropout", "=", "dropout", ";", "return", "(", "t", ")", "this", ";" ]
[ "set", "constraints", "to", "be", "applied", "to", "this", "layer", "default", ":", "no", "constraints", "<", "br", ">", "constraints", "can", "be", "used", "to", "enforce", "certain", "conditions", "(", "non", "-", "negativity", "of", "parameters", "max", "-", "norm", "regularization", "etc", ")", "these", "constraints", "are", "applied", "at", "each", "iteration", "after", "the", "parameters", "have", "been", "updated" ]
[ "this", "all", "param", "constraints", "=", "arrays", "as", "list", "(", "constraints", ")", ";", "return", "(", "t", ")", "this", ";" ]
[ "set", "constraints", "to", "be", "applied", "to", "bias", "parameters", "of", "this", "layer", "default", ":", "no", "constraints", "<", "br", ">", "constraints", "can", "be", "used", "to", "enforce", "certain", "conditions", "(", "non", "-", "negativity", "of", "parameters", "max", "-", "norm", "regularization", "etc", ")", "these", "constraints", "are", "applied", "at", "each", "iteration", "after", "the", "parameters", "have", "been", "updated" ]
[ "this", "bias", "constraints", "=", "arrays", "as", "list", "(", "constraints", ")", ";", "return", "(", "t", ")", "this", ";" ]
[ "set", "constraints", "to", "be", "applied", "to", "the", "weight", "parameters", "of", "this", "layer", "default", ":", "no", "constraints", "<", "br", ">", "constraints", "can", "be", "used", "to", "enforce", "certain", "conditions", "(", "non", "-", "negativity", "of", "parameters", "max", "-", "norm", "regularization", "etc", ")", "these", "constraints", "are", "applied", "at", "each", "iteration", "after", "the", "parameters", "have", "been", "updated" ]
[ "this", "weight", "constraints", "=", "arrays", "as", "list", "(", "constraints", ")", ";", "return", "(", "t", ")", "this", ";" ]
[ "gets", "the", "host", "data", "for", "this", "thread" ]
[ "thread", "thread", "=", "thread", "current", "thread", "(", ")", ";", "if", "(", "!", "(", "thread", "instanceof", "xnio", "io", "thread", ")", ")", "{", "throw", "undertow", "messages", "messages", "can", "only", "be", "called", "by", "io", "thread", "(", ")", ";", "}", "xnio", "io", "thread", "io", "thread", "=", "(", "xnio", "io", "thread", ")", "thread", ";", "host", "thread", "data", "data", "=", "host", "thread", "data", "get", "(", "io", "thread", ")", ";", "if", "(", "data", "!", "=", "null", ")", "{", "return", "data", ";", "}", "data", "=", "new", "host", "thread", "data", "(", ")", ";", "host", "thread", "data", "existing", "=", "host", "thread", "data", "put", "if", "absent", "(", "io", "thread", ",", "data", ")", ";", "if", "(", "existing", "!", "=", "null", ")", "{", "return", "existing", ";", "}", "return", "data", ";" ]
[ "should", "only", "be", "used", "for", "tests" ]
[ "final", "count", "down", "latch", "latch", "=", "new", "count", "down", "latch", "(", "host", "thread", "data", "size", "(", ")", ")", ";", "for", "(", "final", "map", "entry", "<", "xnio", "io", "thread", ",", "host", "thread", "data", ">", "data", ":", "host", "thread", "data", "entry", "set", "(", ")", ")", "{", "data", "get", "key", "(", ")", "execute", "(", "new", "runnable", "(", ")", "{", "@", "override", "public", "void", "run", "(", ")", "{", "connection", "holder", "d", "=", "data", "get", "value", "(", ")", "available", "connections", "poll", "(", ")", ";", "while", "(", "d", "!", "=", "null", ")", "{", "io", "utils", "safe", "close", "(", "d", "client", "connection", ")", ";", "d", "=", "data", "get", "value", "(", ")", "available", "connections", "poll", "(", ")", ";", "}", "data", "get", "value", "(", ")", "connections", "=", "0", ";", "latch", "count", "down", "(", ")", ";", "}", "}", ")", ";", "}", "try", "{", "latch", "await", "(", "10", ",", "time", "unit", "seconds", ")", ";", "}", "catch", "(", "interrupted", "exception", "e", ")", "{", "throw", "new", "runtime", "exception", "(", "e", ")", ";", "}" ]
[ "gets", "a", "key", "for", "an", "injection", "type", "and", "an", "annotation", "strategy" ]
[ "return", "new", "key", "<", "t", ">", "(", "type", ",", "annotation", "strategy", ")", ";" ]
[ "gets", "a", "key", "for", "an", "injection", "type" ]
[ "return", "new", "key", "<", "t", ">", "(", "type", ",", "null", "annotation", "strategy", "instance", ")", ";" ]
[ "gets", "a", "key", "for", "an", "injection", "type", "and", "an", "annotation", "type" ]
[ "return", "new", "key", "<", "t", ">", "(", "type", ",", "strategy", "for", "(", "annotation", "type", ")", ")", ";" ]
[ "gets", "a", "key", "for", "an", "injection", "type", "and", "an", "annotation" ]
[ "return", "new", "key", "<", "t", ">", "(", "type", ",", "strategy", "for", "(", "annotation", ")", ")", ";" ]
[ "gets", "a", "key", "for", "an", "injection", "type" ]
[ "return", "new", "key", "<", "t", ">", "(", "type", "literal", ",", "null", "annotation", "strategy", "instance", ")", ";" ]
[ "gets", "a", "key", "for", "an", "injection", "type", "and", "an", "annotation", "type" ]
[ "return", "new", "key", "<", "t", ">", "(", "type", "literal", ",", "strategy", "for", "(", "annotation", "type", ")", ")", ";" ]
[ "gets", "a", "key", "for", "an", "injection", "type", "and", "an", "annotation" ]
[ "return", "new", "key", "<", "t", ">", "(", "type", "literal", ",", "strategy", "for", "(", "annotation", ")", ")", ";" ]
[ "returns", "a", "new", "key", "of", "the", "specified", "type", "with", "the", "same", "annotation", "as", "this", "key" ]
[ "return", "new", "key", "<", "t", ">", "(", "type", ",", "annotation", "strategy", ")", ";" ]
[ "returns", "a", "new", "key", "of", "the", "specified", "type", "with", "the", "same", "annotation", "as", "this", "key" ]
[ "return", "new", "key", "<", "object", ">", "(", "type", ",", "annotation", "strategy", ")", ";" ]
[ "returns", "a", "new", "key", "of", "the", "specified", "type", "with", "the", "same", "annotation", "as", "this", "key" ]
[ "return", "new", "key", "<", "t", ">", "(", "type", ",", "annotation", "strategy", ")", ";" ]
[ "returns", "true", "if", "this", "key", "has", "annotation", "attributes" ]
[ "return", "annotation", "strategy", "has", "attributes", "(", ")", ";" ]
[ "returns", "this", "key", "without", "annotation", "attributes", "i", "e", "with", "only", "the", "annotation", "type" ]
[ "return", "new", "key", "<", "t", ">", "(", "type", "literal", ",", "annotation", "strategy", "without", "attributes", "(", ")", ")", ";" ]
[ "returns", "the", "current", "thread", "s", "{", "@", "code", "thread", "local", "random", "}" ]
[ "return", "local", "random", "get", "(", ")", ";" ]
[ "process", "any", "initialization", "this", "install", "state", "requires" ]
[]
[ "indicates", "the", "initial", "setup", "is", "complete" ]
[ "return", "is", "setup", "complete", ";" ]
[ "find", "an", "install", "state", "by", "name" ]
[ "for", "(", "install", "state", "state", ":", "all", "(", ")", ")", "{", "if", "(", "name", "equals", "(", "state", "name", ")", ")", "{", "return", "state", ";", "}", "}", "return", "null", ";" ]
[ "returns", "all", "install", "states", "in", "the", "system" ]
[ "return", "extension", "list", "lookup", "(", "install", "state", "class", ")", ";" ]
[ "returns", "the", "offset", "of", "the", "last", "read", "character", "in", "the", "passed", "buffer" ]
[ "return", "f", "curr", "pos", ";" ]
[ "calculate", "lowest", "common", "multiplier" ]
[ "return", "(", "a", "*", "b", ")", "/", "gcf", "(", "a", ",", "b", ")", ";" ]
[ "calculate", "greatest", "common", "factor" ]
[ "if", "(", "b", "=", "=", "0", ")", "return", "a", ";", "else", "return", "gcf", "(", "b", ",", "a", "%", "b", ")", ";" ]
[ "open", "a", "file", "see", "man", "3", "open" ]
[ "public", "static", "native", "int", "open", "(", "string", "pathname", ",", "int", "flags", ",", "int", "mode", ")", ";" ]
[ "see", "man", "2", "close" ]
[ "public", "static", "native", "int", "close", "(", "int", "fd", ")", ";" ]
[ "writes", "up", "to", "{", "@", "code", "cnt", "}", "bytes", "to", "the", "buffer", "starting", "at", "{", "@", "code", "buf", "}", "to", "the", "file", "descriptor", "{", "@", "code", "fd", "}", "at", "offset", "{", "@", "code", "offset", "}", "the", "file", "offset", "is", "not", "changed", "see", "man", "2", "pwrite" ]
[ "public", "static", "native", "native", "long", "pwrite", "(", "int", "fd", ",", "pointer", "buf", ",", "native", "long", "cnt", ",", "native", "long", "off", ")", ";" ]
[ "writes", "up", "to", "{", "@", "code", "cnt", "}", "bytes", "to", "the", "buffer", "starting", "at", "{", "@", "code", "buf", "}", "to", "the", "file", "descriptor", "{", "@", "code", "fd", "}", "the", "file", "offset", "is", "changed", "see", "man", "2", "write" ]
[ "public", "static", "native", "native", "long", "write", "(", "int", "fd", ",", "pointer", "buf", ",", "native", "long", "cnt", ")", ";" ]
[ "reads", "up", "to", "{", "@", "code", "cnt", "}", "bytes", "from", "file", "descriptor", "{", "@", "code", "fd", "}", "at", "offset", "{", "@", "code", "off", "}", "(", "from", "the", "start", "of", "the", "file", ")", "into", "the", "buffer", "starting", "at", "{", "@", "code", "buf", "}", "the", "file", "offset", "is", "not", "changed", "see", "man", "2", "pread" ]
[ "public", "static", "native", "native", "long", "pread", "(", "int", "fd", ",", "pointer", "buf", ",", "native", "long", "cnt", ",", "native", "long", "off", ")", ";" ]
[ "reads", "up", "to", "{", "@", "code", "cnt", "}", "bytes", "from", "file", "descriptor", "{", "@", "code", "fd", "}", "into", "the", "buffer", "starting", "at", "{", "@", "code", "buf", "}", "the", "file", "offset", "is", "changed", "see", "man", "2", "read" ]
[ "public", "static", "native", "native", "long", "read", "(", "int", "fd", ",", "pointer", "buf", ",", "native", "long", "cnt", ")", ";" ]
[ "synchronize", "a", "file", "s", "in", "-", "core", "state", "with", "storage", "device", "see", "man", "2", "fsync" ]
[ "public", "static", "native", "int", "fsync", "(", "int", "fd", ")", ";" ]
[ "synchronize", "a", "file", "s", "in", "-", "core", "state", "with", "storage", "device", "see", "man", "2", "fsync" ]
[ "public", "static", "native", "int", "fdatasync", "(", "int", "fd", ")", ";" ]
[ "allocates", "size", "bytes", "and", "places", "the", "address", "of", "the", "allocated", "memory", "in", "{", "@", "code", "memptr", "}", "the", "address", "of", "the", "allocated", "memory", "will", "be", "a", "multiple", "of", "{", "@", "code", "alignment", "}" ]
[ "public", "static", "native", "int", "posix", "memalign", "(", "pointer", "by", "reference", "memptr", ",", "native", "long", "alignment", ",", "native", "long", "size", ")", ";" ]
[ "frees", "the", "memory", "space", "pointed", "to", "by", "ptr", "which", "must", "have", "been", "returned", "by", "a", "previous", "call", "to", "native", "allocation", "methods", "posix", "requires", "that", "memory", "obtained", "from", "{", "@", "link", "#", "posix", "memalign", "}", "can", "be", "freed", "using", "free", "see", "man", "3", "free" ]
[ "public", "static", "native", "void", "free", "(", "pointer", "ptr", ")", ";" ]
[ "function", "returns", "a", "string", "that", "describes", "the", "error", "code", "passed", "in", "the", "argument", "{", "@", "code", "errnum", "}", "see", "man", "3", "strerror" ]
[ "public", "static", "native", "string", "strerror", "(", "int", "errnum", ")", ";" ]
[ "return", "path", "(", "fs", ")", "configuration", "parameter", "value", "<", "br", ">", "helps", "to", "determine", "alignment", "restrictions", "for", "example", "on", "buffers", "used", "for", "direct", "block", "device", "i", "/", "o", "<", "br", ">", "posix", "specifies", "the", "pathconf", "(", "path", "pc", "rec", "xfer", "align", ")", "call", "that", "tells", "what", "alignment", "is", "needed" ]
[ "public", "static", "native", "native", "long", "pathconf", "(", "string", "path", ",", "int", "name", ")", ";" ]
[ "the", "function", "getpagesize", "(", ")", "returns", "the", "number", "of", "bytes", "in", "a", "memory", "page", "where", "page", "is", "a", "fixed", "-", "length", "block", "the", "unit", "for", "memory", "allocation", "and", "file", "mapping" ]
[ "public", "static", "native", "int", "getpagesize", "(", ")", ";" ]
[ "allows", "to", "announce", "an", "intention", "to", "access", "file", "data", "in", "a", "specific", "pattern", "in", "the", "future", "thus", "allowing", "the", "kernel", "to", "perform", "appropriate", "optimizations" ]
[ "public", "static", "native", "int", "posix", "fadvise", "(", "int", "fd", ",", "long", "off", ",", "long", "len", ",", "int", "flag", ")", ";" ]
[ "causes", "regular", "file", "referenced", "by", "fd", "to", "be", "truncated", "to", "a", "size", "of", "precisely", "length", "bytes" ]
[ "public", "static", "native", "int", "ftruncate", "(", "int", "fd", ",", "long", "len", ")", ";" ]
[ "repositions", "the", "file", "offset", "of", "the", "open", "file", "description", "associated", "with", "the", "file", "descriptor", "{" ]
[ "public", "static", "native", "long", "lseek", "(", "int", "fd", ",", "long", "off", ",", "int", "whence", ")", ";" ]
[ "this", "method", "is", "called", "before", "collecting", "<", "code", ">", "context", "<", "/", "code", ">" ]
[ "protected", "abstract", "void", "do", "set", "next", "reader", "(", "leaf", "reader", "context", "context", ")", "throws", "i", "o", "exception", ";" ]
[ "returns", "the", "owning", "{" ]
[ "return", "m", "document", ";" ]
[ "returns", "the", "list", "of", "attributes", "for", "this", "xml", "element" ]
[ "return", "m", "attributes", ";" ]
[ "returns", "the", "{" ]
[ "for", "(", "xml", "attribute", "xml", "attribute", ":", "m", "attributes", ")", "{", "if", "(", "xml", "attribute", "get", "name", "(", ")", "equals", "(", "attribute", "name", ")", ")", "{", "return", "optional", "of", "(", "xml", "attribute", ")", ";", "}", "}", "return", "optional", "absent", "(", ")", ";" ]
[ "get", "the", "node", "operation", "type", "as", "optionally", "specified", "by", "the", "user", "if", "the", "user", "did", "not", "explicitly", "specify", "how", "conflicting", "elements", "should", "be", "handled", "a", "{" ]
[ "return", "m", "node", "operation", "type", "!", "=", "null", "?", "m", "node", "operation", "type", ":", "node", "operation", "type", "merge", ";" ]
[ "get", "the", "attribute", "operation", "type", "as", "optionally", "specified", "by", "the", "user", "if", "the", "user", "did", "not", "explicitly", "specify", "how", "conflicting", "attributes", "should", "be", "handled", "a", "{" ]
[ "return", "m", "attributes", "operation", "types", "contains", "key", "(", "attribute", "name", ")", "?", "m", "attributes", "operation", "types", "get", "(", "attribute", "name", ")", ":", "attribute", "operation", "type", "strict", ";" ]
[ "returns", "a", "child", "of", "a", "particular", "type", "and", "a", "particular", "key" ]
[ "for", "(", "xml", "element", "xml", "element", ":", "m", "mergeable", "children", ")", "{", "if", "(", "xml", "element", "is", "a", "(", "type", ")", "&", "&", "(", "key", "value", "=", "=", "null", "|", "|", "key", "value", "equals", "(", "xml", "element", "get", "key", "(", ")", ")", ")", ")", "{", "return", "optional", "of", "(", "xml", "element", ")", ";", "}", "}", "return", "optional", "absent", "(", ")", ";" ]
[ "returns", "all", "immediate", "children", "of", "this", "node", "for", "a", "particular", "type", "irrespective", "of", "their", "key" ]
[ "immutable", "list", "builder", "<", "xml", "element", ">", "list", "builder", "=", "immutable", "list", "builder", "(", ")", ";", "for", "(", "xml", "element", "mergeable", "child", ":", "init", "mergeable", "children", "(", ")", ")", "{", "if", "(", "mergeable", "child", "is", "a", "(", "type", ")", ")", "{", "list", "builder", "add", "(", "mergeable", "child", ")", ";", "}", "}", "return", "list", "builder", "build", "(", ")", ";" ]
[ "returns", "true", "if", "this", "element", "supports", "having", "a", "tools", ":", "selector", "decoration", "false", "otherwise" ]
[ "return", "get", "operation", "type", "(", ")", "is", "selectable", "(", ")", ";" ]
[ "returns", "a", "potentially", "null", "(", "if", "not", "present", ")", "selector", "decoration", "on", "this", "element" ]
[ "return", "m", "selector", ";" ]
[ "<", "p", ">", "the", "aws", "account", "id", "associated", "with", "the", "registry", "that", "contains", "the", "images", "to", "describe", "if", "you", "do", "not", "specify", "a", "registry", "the", "default", "registry", "is", "assumed", "<", "/", "p", ">" ]
[ "set", "registry", "id", "(", "registry", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "repository", "that", "contains", "the", "images", "to", "describe", "<", "/", "p", ">" ]
[ "set", "repository", "name", "(", "repository", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "a", "list", "of", "image", "id", "references", "that", "correspond", "to", "images", "to", "describe", "the", "format", "of", "the", "<", "code", ">", "image", "ids", "<", "/", "code", ">", "reference", "is", "<", "code", ">", "image", "tag", "=", "tag", "<", "/", "code", ">", "or", "<", "code", ">", "image", "digest", "=", "digest", "<", "/", "code", ">", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "image", "ids", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "image", "ids", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "image", "ids", "=", "=", "null", ")", "{", "set", "image", "ids", "(", "new", "java", "util", "array", "list", "<", "image", "identifier", ">", "(", "image", "ids", "length", ")", ")", ";", "}", "for", "(", "image", "identifier", "ele", ":", "image", "ids", ")", "{", "this", "image", "ids", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "a", "list", "of", "image", "id", "references", "that", "correspond", "to", "images", "to", "describe", "the", "format", "of", "the", "<", "code", ">", "image", "ids", "<", "/", "code", ">", "reference", "is", "<", "code", ">", "image", "tag", "=", "tag", "<", "/", "code", ">", "or", "<", "code", ">", "image", "digest", "=", "digest", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "image", "ids", "(", "image", "ids", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "accepted", "media", "types", "for", "the", "request", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "<", "code", ">", "application", "/", "vnd", "docker", "distribution", "manifest", "v", "1", "+", "json", "<", "/", "code", ">", "|", "<", "code", ">", "application", "/", "vnd", "docker", "distribution", "manifest", "v", "2", "+", "json", "<", "/", "code", ">", "|", "<", "code", ">", "application", "/", "vnd", "oci", "image", "manifest", "v", "1", "+", "json", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "return", "accepted", "media", "types", ";" ]
[ "<", "p", ">", "the", "accepted", "media", "types", "for", "the", "request", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "<", "code", ">", "application", "/", "vnd", "docker", "distribution", "manifest", "v", "1", "+", "json", "<", "/", "code", ">", "|", "<", "code", ">", "application", "/", "vnd", "docker", "distribution", "manifest", "v", "2", "+", "json", "<", "/", "code", ">", "|", "<", "code", ">", "application", "/", "vnd", "oci", "image", "manifest", "v", "1", "+", "json", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "if", "(", "accepted", "media", "types", "=", "=", "null", ")", "{", "this", "accepted", "media", "types", "=", "null", ";", "return", ";", "}", "this", "accepted", "media", "types", "=", "new", "java", "util", "array", "list", "<", "string", ">", "(", "accepted", "media", "types", ")", ";" ]
[ "<", "p", ">", "the", "accepted", "media", "types", "for", "the", "request", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "<", "code", ">", "application", "/", "vnd", "docker", "distribution", "manifest", "v", "1", "+", "json", "<", "/", "code", ">", "|", "<", "code", ">", "application", "/", "vnd", "docker", "distribution", "manifest", "v", "2", "+", "json", "<", "/", "code", ">", "|", "<", "code", ">", "application", "/", "vnd", "oci", "image", "manifest", "v", "1", "+", "json", "<", "/", "code", ">", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "accepted", "media", "types", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "accepted", "media", "types", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "accepted", "media", "types", "=", "=", "null", ")", "{", "set", "accepted", "media", "types", "(", "new", "java", "util", "array", "list", "<", "string", ">", "(", "accepted", "media", "types", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "accepted", "media", "types", ")", "{", "this", "accepted", "media", "types", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "accepted", "media", "types", "for", "the", "request", "<", "/", "p", ">", "<", "p", ">", "valid", "values", ":", "<", "code", ">", "application", "/", "vnd", "docker", "distribution", "manifest", "v", "1", "+", "json", "<", "/", "code", ">", "|", "<", "code", ">", "application", "/", "vnd", "docker", "distribution", "manifest", "v", "2", "+", "json", "<", "/", "code", ">", "|", "<", "code", ">", "application", "/", "vnd", "oci", "image", "manifest", "v", "1", "+", "json", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "accepted", "media", "types", "(", "accepted", "media", "types", ")", ";", "return", "this", ";" ]
[ "bridges", ":", "foo", "(", "abstract", "java", "type", "node", ")", "foo", "(", "java", "node", ")", "foo", "(", "node", ")" ]
[]
[ "{" ]
[ "assert", "row", "link", "(", ")", "!", "=", "0", ";", "page", "utils", "put", "long", "(", "page", "addr", ",", "off", ",", "row", "link", "(", ")", ")", ";", "off", "+", "=", "8", ";", "page", "utils", "put", "int", "(", "page", "addr", ",", "off", ",", "row", "hash", "(", ")", ")", ";", "off", "+", "=", "4", ";", "if", "(", "store", "cache", "id", "(", ")", ")", "{", "assert", "row", "cache", "id", "(", ")", "!", "=", "cu", "undefined", "cache", "id", ":", "row", ";", "page", "utils", "put", "int", "(", "page", "addr", ",", "off", ",", "row", "cache", "id", "(", ")", ")", ";", "off", "+", "=", "4", ";", "}", "if", "(", "store", "mvcc", "version", "(", ")", ")", "{", "long", "mvcc", "crd", "=", "row", "mvcc", "coordinator", "version", "(", ")", ";", "long", "mvcc", "cntr", "=", "row", "mvcc", "counter", "(", ")", ";", "int", "op", "cntr", "=", "row", "mvcc", "operation", "counter", "(", ")", ";", "assert", "mvcc", "version", "is", "valid", "(", "mvcc", "crd", ",", "mvcc", "cntr", ",", "op", "cntr", ")", ";", "page", "utils", "put", "long", "(", "page", "addr", ",", "off", ",", "mvcc", "crd", ")", ";", "off", "+", "=", "8", ";", "page", "utils", "put", "long", "(", "page", "addr", ",", "off", ",", "mvcc", "cntr", ")", ";", "off", "+", "=", "8", ";", "page", "utils", "put", "int", "(", "page", "addr", ",", "off", ",", "op", "cntr", ")", ";", "}" ]
[ "{" ]
[ "long", "link", "=", "get", "link", "(", "page", "addr", ",", "idx", ")", ";", "int", "hash", "=", "get", "hash", "(", "page", "addr", ",", "idx", ")", ";", "int", "cache", "id", "=", "store", "cache", "id", "(", ")", "?", "get", "cache", "id", "(", "page", "addr", ",", "idx", ")", ":", "cu", "undefined", "cache", "id", ";", "if", "(", "store", "mvcc", "version", "(", ")", ")", "{", "long", "mvcc", "crd", "=", "get", "mvcc", "coordinator", "version", "(", "page", "addr", ",", "idx", ")", ";", "long", "mvcc", "cntr", "=", "get", "mvcc", "counter", "(", "page", "addr", ",", "idx", ")", ";", "int", "op", "cntr", "=", "get", "mvcc", "operation", "counter", "(", "page", "addr", ",", "idx", ")", ";", "assert", "mvcc", "version", "is", "valid", "(", "mvcc", "crd", ",", "mvcc", "cntr", ",", "op", "cntr", ")", ";", "return", "(", "(", "cache", "data", "tree", ")", "tree", ")", "row", "store", "(", ")", "mvcc", "row", "(", "cache", "id", ",", "hash", ",", "link", ",", "cache", "data", "row", "adapter", "row", "data", "key", "only", ",", "mvcc", "crd", ",", "mvcc", "cntr", ",", "op", "cntr", ")", ";", "}", "return", "(", "(", "cache", "data", "tree", ")", "tree", ")", "row", "store", "(", ")", "key", "search", "row", "(", "cache", "id", ",", "hash", ",", "link", ")", ";" ]
[ "{" ]
[ "row", "link", "i", "o", "row", "io", "=", "(", "(", "row", "link", "i", "o", ")", "src", "io", ")", ";", "long", "link", "=", "row", "io", "get", "link", "(", "src", "page", "addr", ",", "src", "idx", ")", ";", "int", "hash", "=", "row", "io", "get", "hash", "(", "src", "page", "addr", ",", "src", "idx", ")", ";", "int", "off", "=", "offset", "(", "dst", "idx", ")", ";", "page", "utils", "put", "long", "(", "dst", "page", "addr", ",", "off", ",", "link", ")", ";", "off", "+", "=", "8", ";", "page", "utils", "put", "int", "(", "dst", "page", "addr", ",", "off", ",", "hash", ")", ";", "off", "+", "=", "4", ";", "if", "(", "store", "cache", "id", "(", ")", ")", "{", "int", "cache", "id", "=", "row", "io", "get", "cache", "id", "(", "src", "page", "addr", ",", "src", "idx", ")", ";", "assert", "cache", "id", "!", "=", "cu", "undefined", "cache", "id", ";", "page", "utils", "put", "int", "(", "dst", "page", "addr", ",", "off", ",", "cache", "id", ")", ";", "off", "+", "=", "4", ";", "}", "if", "(", "store", "mvcc", "version", "(", ")", ")", "{", "long", "mvcc", "crd", "=", "row", "io", "get", "mvcc", "coordinator", "version", "(", "src", "page", "addr", ",", "src", "idx", ")", ";", "long", "mvcc", "cntr", "=", "row", "io", "get", "mvcc", "counter", "(", "src", "page", "addr", ",", "src", "idx", ")", ";", "int", "op", "cntr", "=", "row", "io", "get", "mvcc", "operation", "counter", "(", "src", "page", "addr", ",", "src", "idx", ")", ";", "assert", "mvcc", "utils", "mvcc", "version", "is", "valid", "(", "mvcc", "crd", ",", "mvcc", "cntr", ",", "op", "cntr", ")", ";", "page", "utils", "put", "long", "(", "dst", "page", "addr", ",", "off", ",", "mvcc", "crd", ")", ";", "off", "+", "=", "8", ";", "page", "utils", "put", "long", "(", "dst", "page", "addr", ",", "off", ",", "mvcc", "cntr", ")", ";", "off", "+", "=", "8", ";", "page", "utils", "put", "int", "(", "dst", "page", "addr", ",", "off", ",", "op", "cntr", ")", ";", "}" ]
[ "{" ]
[ "assert", "idx", "<", "get", "count", "(", "page", "addr", ")", ":", "idx", ";", "return", "page", "utils", "get", "long", "(", "page", "addr", ",", "offset", "(", "idx", ")", ")", ";" ]
[ "{" ]
[ "return", "page", "utils", "get", "int", "(", "page", "addr", ",", "offset", "(", "idx", ")", "+", "8", ")", ";" ]
[ "{" ]
[ "int", "cnt", "=", "get", "count", "(", "page", "addr", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "cnt", ";", "i", "+", "+", ")", "c", "apply", "(", "new", "cache", "data", "row", "adapter", "(", "get", "link", "(", "page", "addr", ",", "i", ")", ")", ")", ";" ]
[ "<", "p", ">", "this", "parameter", "is", "not", "currently", "supported", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "filters", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "filters", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "filters", "=", "=", "null", ")", "{", "set", "filters", "(", "new", "java", "util", "array", "list", "<", "filter", ">", "(", "filters", "length", ")", ")", ";", "}", "for", "(", "filter", "ele", ":", "filters", ")", "{", "this", "filters", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "sets", "the", "return", "value", "of", "{", "@", "link", "fingerprint", "manager", "#", "has", "enrolled", "fingerprints", "(", ")", "}" ]
[ "set", "default", "fingerprints", "(", "has", "enrolled", "fingerprints", "?", "1", ":", "0", ")", ";" ]
[ "returns", "{" ]
[ "return", "!", "fingerprints", "is", "empty", "(", ")", ";" ]
[ "sets", "the", "return", "value", "of", "{" ]
[ "this", "is", "hardware", "detected", "=", "is", "hardware", "detected", ";" ]
[ "read", "a", "cookie", "from", "the", "http", "headers" ]
[ "return", "this", "cookies", "get", "(", "name", ")", ";" ]
[ "sets", "a", "cookie" ]
[ "this", "queue", "add", "(", "new", "cookie", "(", "name", ",", "value", ",", "cookie", "get", "h", "t", "t", "p", "time", "(", "expires", ")", ")", ")", ";" ]
[ "internally", "used", "by", "the", "webserver", "to", "add", "all", "queued", "cookies", "into", "the", "response", "s", "http", "headers" ]
[ "for", "(", "cookie", "cookie", ":", "this", "queue", ")", "{", "response", "add", "cookie", "header", "(", "cookie", "get", "h", "t", "t", "p", "header", "(", ")", ")", ";", "}" ]
[ "{" ]
[ "return", "this", "!", "=", "o", "&", "&", "get", "class", "(", ")", "=", "=", "o", "get", "class", "(", ")", ";" ]
[ "{" ]
[ "return", "123", ";" ]
[ "get", "the", "last", "scn", "that", "the", "relay", "written", "to", "the", "buffer", "will", "return", "<", "=", "0", "if", "called", "before", "starting", "the", "producer" ]
[ "return", "scn", "get", "(", ")", ";" ]
[ "tbd", ":", "reconcile", "this", "behavior", "in", "parent", "class" ]
[ "if", "(", "current", "state", "!", "=", "state", "shutdown", ")", "{", "if", "(", "worker", "!", "=", "null", ")", "worker", "join", "(", ")", ";", "}" ]
[ "return", "monitored", "source", "info", "per", "source" ]
[ "return", "monitored", "sources", "get", "(", "source", "id", ")", ";" ]
[ "gets", "the", "value", "of", "the", "address", "field" ]
[ "return", "address", ";" ]
[ "sets", "the", "value", "of", "the", "address", "field" ]
[ "this", "address", "=", "value", ";" ]
[ "gets", "the", "value", "of", "the", "home", "phone", "field" ]
[ "return", "home", "phone", ";" ]
[ "sets", "the", "value", "of", "the", "home", "phone", "field" ]
[ "this", "home", "phone", "=", "value", ";" ]
[ "gets", "the", "value", "of", "the", "office", "phone", "field" ]
[ "return", "office", "phone", ";" ]
[ "sets", "the", "value", "of", "the", "office", "phone", "field" ]
[ "this", "office", "phone", "=", "value", ";" ]
[ "creates", "a", "new", "contact", "info", "record", "builder" ]
[ "return", "new", "org", "apache", "hadoop", "hive", "hbase", "avro", "contact", "info", "builder", "(", ")", ";" ]
[ "creates", "a", "new", "contact", "info", "record", "builder", "by", "copying", "an", "existing", "builder" ]
[ "return", "new", "org", "apache", "hadoop", "hive", "hbase", "avro", "contact", "info", "builder", "(", "other", ")", ";" ]
[ "creates", "a", "new", "contact", "info", "record", "builder", "by", "copying", "an", "existing", "contact", "info", "instance" ]
[ "return", "new", "org", "apache", "hadoop", "hive", "hbase", "avro", "contact", "info", "builder", "(", "other", ")", ";" ]
[ "sets", "the", "value", "of", "the", "address", "field" ]
[ "validate", "(", "fields", "(", ")", "[", "0", "]", ",", "value", ")", ";", "this", "address", "=", "value", ";", "field", "set", "flags", "(", ")", "[", "0", "]", "=", "true", ";", "return", "this", ";" ]
[ "checks", "whether", "the", "address", "field", "has", "been", "set" ]
[ "return", "field", "set", "flags", "(", ")", "[", "0", "]", ";" ]
[ "clears", "the", "value", "of", "the", "address", "field" ]
[ "address", "=", "null", ";", "field", "set", "flags", "(", ")", "[", "0", "]", "=", "false", ";", "return", "this", ";" ]
[ "sets", "the", "value", "of", "the", "home", "phone", "field" ]
[ "validate", "(", "fields", "(", ")", "[", "1", "]", ",", "value", ")", ";", "this", "home", "phone", "=", "value", ";", "field", "set", "flags", "(", ")", "[", "1", "]", "=", "true", ";", "return", "this", ";" ]
[ "checks", "whether", "the", "home", "phone", "field", "has", "been", "set" ]
[ "return", "field", "set", "flags", "(", ")", "[", "1", "]", ";" ]
[ "clears", "the", "value", "of", "the", "home", "phone", "field" ]
[ "home", "phone", "=", "null", ";", "field", "set", "flags", "(", ")", "[", "1", "]", "=", "false", ";", "return", "this", ";" ]
[ "sets", "the", "value", "of", "the", "office", "phone", "field" ]
[ "validate", "(", "fields", "(", ")", "[", "2", "]", ",", "value", ")", ";", "this", "office", "phone", "=", "value", ";", "field", "set", "flags", "(", ")", "[", "2", "]", "=", "true", ";", "return", "this", ";" ]
[ "checks", "whether", "the", "office", "phone", "field", "has", "been", "set" ]
[ "return", "field", "set", "flags", "(", ")", "[", "2", "]", ";" ]
[ "clears", "the", "value", "of", "the", "office", "phone", "field" ]
[ "office", "phone", "=", "null", ";", "field", "set", "flags", "(", ")", "[", "2", "]", "=", "false", ";", "return", "this", ";" ]