docstring_tokens
list
code_tokens
list
[ "like", "{" ]
[ "return", "address", "=", "=", "null", "?", "null", ":", "wrap", "(", "buffer", "class", ",", "address", ",", "capacity", ")", ";" ]
[ "returns", "a", "new", "{" ]
[ "return", "malloc", "stack", "(", "stack", "get", "(", ")", ")", ";" ]
[ "returns", "a", "new", "{" ]
[ "return", "calloc", "stack", "(", "stack", "get", "(", ")", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "descriptor", "pool", "size", "}", "instance", "allocated", "on", "the", "specified", "{", "@", "link", "memory", "stack", "}" ]
[ "return", "wrap", "(", "vk", "descriptor", "pool", "size", "class", ",", "stack", "nmalloc", "(", "alignof", ",", "sizeof", ")", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "descriptor", "pool", "size", "}", "instance", "allocated", "on", "the", "specified", "{", "@", "link", "memory", "stack", "}", "and", "initializes", "all", "its", "bits", "to", "zero" ]
[ "return", "wrap", "(", "vk", "descriptor", "pool", "size", "class", ",", "stack", "ncalloc", "(", "alignof", ",", "1", ",", "sizeof", ")", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "descriptor", "pool", "size", "buffer", "}", "instance", "allocated", "on", "the", "thread", "-", "local", "{", "@", "link", "memory", "stack", "}" ]
[ "return", "malloc", "stack", "(", "capacity", ",", "stack", "get", "(", ")", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "descriptor", "pool", "size", "buffer", "}", "instance", "allocated", "on", "the", "thread", "-", "local", "{", "@", "link", "memory", "stack", "}", "and", "initializes", "all", "its", "bits", "to", "zero" ]
[ "return", "calloc", "stack", "(", "capacity", ",", "stack", "get", "(", ")", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "descriptor", "pool", "size", "buffer", "}", "instance", "allocated", "on", "the", "specified", "{", "@", "link", "memory", "stack", "}" ]
[ "return", "wrap", "(", "buffer", "class", ",", "stack", "nmalloc", "(", "alignof", ",", "capacity", "*", "sizeof", ")", ",", "capacity", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "descriptor", "pool", "size", "buffer", "}", "instance", "allocated", "on", "the", "specified", "{", "@", "link", "memory", "stack", "}", "and", "initializes", "all", "its", "bits", "to", "zero" ]
[ "return", "wrap", "(", "buffer", "class", ",", "stack", "ncalloc", "(", "alignof", ",", "capacity", ",", "sizeof", ")", ",", "capacity", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "descriptor", "pool", "size", "type", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "descriptor", "pool", "size", "descriptorcount", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "descriptor", "pool", "size", "type", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "descriptor", "pool", "size", "descriptorcount", ",", "value", ")", ";" ]
[ "/", "*", "serialize", "the", "row", "into", "a", "byte", "stream" ]
[ "output", "reset", "(", ")", ";", "if", "(", "obj", "inspector", "get", "category", "(", ")", "=", "=", "object", "inspector", "category", "primitive", "&", "&", "write", "binary", ")", "{", "lazy", "utils", "write", "primitive", "(", "output", ",", "obj", ",", "(", "primitive", "object", "inspector", ")", "obj", "inspector", ")", ";", "}", "else", "{", "if", "(", "!", "serialize", "(", "obj", ",", "obj", "inspector", ",", "level", ",", "output", ")", ")", "{", "return", "null", ";", "}", "}", "return", "output", "to", "byte", "array", "(", ")", ";" ]
[ "creates", "cache", "configuration" ]
[ "cache", "configuration", "<", "object", ",", "object", ">", "ccfg", "=", "new", "cache", "configuration", "<", ">", "(", "default", "cache", "name", ")", ";", "ccfg", "set", "backups", "(", "1", ")", ";", "ccfg", "set", "name", "(", "partitioned", "cache", "name", ")", ";", "ccfg", "set", "indexed", "types", "(", "string", "class", ",", "entity", "class", ")", ";", "return", "ccfg", ";" ]
[ "<", "p", ">", "a", "string", "(", "provided", "by", "the", "<", "a", ">", "list", "exports", "<", "/", "a", ">", "response", "output", ")", "that", "identifies", "the", "next", "page", "of", "exported", "output", "values", "that", "you", "asked", "to", "retrieve", "<", "/", "p", ">" ]
[ "set", "next", "token", "(", "next", "token", ")", ";", "return", "this", ";" ]
[ "returns", "the", "{", "@", "code", "instance", "}", "if", "not", "null", "or", "constructs", "a", "new", "instance", "of", "the", "class", "using", "{", "@", "link", "#", "new", "instance", "(", "class", "loader", "string", ")", "}" ]
[ "if", "(", "instance", "!", "=", "null", ")", "{", "return", "instance", ";", "}", "else", "if", "(", "class", "name", "!", "=", "null", ")", "{", "try", "{", "return", "class", "loader", "util", "new", "instance", "(", "class", "loader", ",", "class", "name", ")", ";", "}", "catch", "(", "exception", "e", ")", "{", "throw", "exception", "util", "rethrow", "(", "e", ")", ";", "}", "}", "else", "{", "return", "null", ";", "}" ]
[ "tries", "to", "load", "the", "given", "class" ]
[ "try", "{", "return", "class", "for", "name", "(", "class", "name", ")", ";", "}", "catch", "(", "class", "not", "found", "exception", "e", ")", "{", "class", "loader", "context", "class", "loader", "=", "thread", "current", "thread", "(", ")", "get", "context", "class", "loader", "(", ")", ";", "return", "context", "class", "loader", "load", "class", "(", "class", "name", ")", ";", "}" ]
[ "indicates", "whether", "or", "not", "the", "given", "class", "exists" ]
[ "try", "{", "try", "load", "class", "(", "class", "name", ")", ";", "return", "true", ";", "}", "catch", "(", "class", "not", "found", "exception", "e", ")", "{", "return", "false", ";", "}" ]
[ "check", "whether", "given", "class", "implements", "an", "interface", "with", "the", "same", "name", "it", "returns", "true", "even", "when", "the", "implemented", "interface", "is", "loaded", "by", "a", "different", "classloader", "and", "hence", "the", "class", "is", "not", "assignable", "into", "it" ]
[ "class", "<", "?", ">", "[", "]", "interfaces", "=", "get", "all", "interfaces", "(", "clazz", ")", ";", "for", "(", "class", "implemented", "interface", ":", "interfaces", ")", "{", "if", "(", "implemented", "interface", "get", "name", "(", ")", "equals", "(", "iface", "get", "name", "(", ")", ")", ")", "{", "return", "true", ";", "}", "}", "return", "false", ";" ]
[ "returns", "a", "{" ]
[ "return", "new", "releasable", "paged", "bytes", "reference", "(", "big", "arrays", ",", "bytes", ",", "count", ",", "releasable", ")", ";" ]
[ "get", "a", "child", "edge" ]
[ "assert", "(", "0", "<", "=", "index", "&", "&", "index", "<", "m", "count", "-", "1", ")", ";", "edge", "m", "radius", "=", "m", "radius", ";", "final", "vec", "2", "v", "0", "=", "m", "vertices", "[", "index", "+", "0", "]", ";", "final", "vec", "2", "v", "1", "=", "m", "vertices", "[", "index", "+", "1", "]", ";", "edge", "m", "vertex", "1", "x", "=", "v", "0", "x", ";", "edge", "m", "vertex", "1", "y", "=", "v", "0", "y", ";", "edge", "m", "vertex", "2", "x", "=", "v", "1", "x", ";", "edge", "m", "vertex", "2", "y", "=", "v", "1", "y", ";", "if", "(", "index", ">", "0", ")", "{", "vec", "2", "v", "=", "m", "vertices", "[", "index", "-", "1", "]", ";", "edge", "m", "vertex", "0", "x", "=", "v", "x", ";", "edge", "m", "vertex", "0", "y", "=", "v", "y", ";", "edge", "m", "has", "vertex", "0", "=", "true", ";", "}", "else", "{", "edge", "m", "vertex", "0", "x", "=", "m", "prev", "vertex", "x", ";", "edge", "m", "vertex", "0", "y", "=", "m", "prev", "vertex", "y", ";", "edge", "m", "has", "vertex", "0", "=", "m", "has", "prev", "vertex", ";", "}", "if", "(", "index", "<", "m", "count", "-", "2", ")", "{", "vec", "2", "v", "=", "m", "vertices", "[", "index", "+", "2", "]", ";", "edge", "m", "vertex", "3", "x", "=", "v", "x", ";", "edge", "m", "vertex", "3", "y", "=", "v", "y", ";", "edge", "m", "has", "vertex", "3", "=", "true", ";", "}", "else", "{", "edge", "m", "vertex", "3", "x", "=", "m", "next", "vertex", "x", ";", "edge", "m", "vertex", "3", "y", "=", "m", "next", "vertex", "y", ";", "edge", "m", "has", "vertex", "3", "=", "m", "has", "next", "vertex", ";", "}" ]
[ "establish", "connectivity", "to", "a", "vertex", "that", "precedes", "the", "first", "vertex", "don", "t", "call", "this", "for", "loops" ]
[ "m", "prev", "vertex", "set", "(", "prev", "vertex", ")", ";", "m", "has", "prev", "vertex", "=", "true", ";" ]
[ "establish", "connectivity", "to", "a", "vertex", "that", "follows", "the", "last", "vertex", "don", "t", "call", "this", "for", "loops" ]
[ "m", "next", "vertex", "set", "(", "next", "vertex", ")", ";", "m", "has", "next", "vertex", "=", "true", ";" ]
[ "return", "the", "expected", "name", "of", "the", "path", "variable" ]
[ "return", "this", "variable", "name", ";" ]
[ "get", "the", "class", "abi", "jar", "if", "present", "for", "the", "rule", "otherwise", "return", "the", "rule", "s", "output" ]
[ "source", "path", "jar", "path", "=", "null", ";", "if", "(", "rule", "instanceof", "has", "java", "abi", ")", "{", "has", "java", "abi", "java", "abi", "rule", "=", "(", "has", "java", "abi", ")", "rule", ";", "optional", "<", "build", "target", ">", "optional", "build", "target", "=", "java", "abi", "rule", "get", "abi", "jar", "(", ")", ";", "if", "(", "optional", "build", "target", "is", "present", "(", ")", ")", "{", "jar", "path", "=", "graph", "builder", "require", "rule", "(", "optional", "build", "target", "get", "(", ")", ")", "get", "source", "path", "to", "output", "(", ")", ";", "}", "}", "if", "(", "jar", "path", "=", "=", "null", ")", "{", "jar", "path", "=", "rule", "get", "source", "path", "to", "output", "(", ")", ";", "}", "return", "jar", "path", ";" ]
[ "we", "use", "ascii", "since", "all", "the", "relevant", "debug", "standards", "we", "care", "about", "(", "e", "g", "dwarf", ")", "use", "it" ]
[ "restore", "(", "path", ",", "get", "compilation", "directory", "replacer", "(", "working", "dir", ")", ")", ";" ]
[ "{" ]
[]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "0", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "{" ]
[ "return", "0", ";" ]
[ "returns", "the", "logarithm", "of", "a", "with", "base", "2" ]
[ "if", "(", "a", "get", "(", ")", "<", "=", "0", "0", ")", "{", "return", "null", ";", "}", "else", "{", "result", "set", "(", "math", "log", "(", "a", "get", "(", ")", ")", "/", "log", "2", ")", ";", "return", "result", ";", "}" ]
[ "returns", "a", "byte", "buffer", "representation", "for", "the", "given", "partition", "id" ]
[ "return", "byte", "buffer", "util", "get", "int", "buffer", "(", "partition", ")", ";" ]
[ "increments", "the", "given", "tsuid", "in", "the", "cache", "by", "1" ]
[ "public", "abstract", "void", "increment", "(", "final", "byte", "[", "]", "tsuid", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "1sv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "1fv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "1dv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "2sv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "2fv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "2dv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "3sv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "3fv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "3dv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "4fv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "4bv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "4sv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "4iv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "4ubv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "4usv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "4uiv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "4dv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "4", "nbv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "4", "nsv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "4", "niv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "4", "nubv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "4", "nusv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "4", "nuiv", "a", "r", "b", "(", "index", ",", "v", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "vertex", "attrib", "pointer", "a", "r", "b", "(", "index", ",", "size", ",", "type", ",", "normalized", ",", "stride", ",", "pointer", ")", ";" ]
[ "unsafe", "version", "of", ":", "{", "@", "link", "#", "gl", "program", "string", "a", "r", "b", "program", "string", "a", "r", "b", "}" ]
[ "public", "static", "native", "void", "ngl", "program", "string", "a", "r", "b", "(", "int", "target", ",", "int", "format", ",", "int", "len", ",", "long", "string", ")", ";" ]
[ "unsafe", "version", "of", ":", "{", "@", "link", "#", "gl", "delete", "programs", "a", "r", "b", "delete", "programs", "a", "r", "b", "}" ]
[ "public", "static", "native", "void", "ngl", "delete", "programs", "a", "r", "b", "(", "int", "n", ",", "long", "programs", ")", ";" ]
[ "unsafe", "version", "of", ":", "{", "@", "link", "#", "gl", "gen", "programs", "a", "r", "b", "gen", "programs", "a", "r", "b", "}" ]
[ "public", "static", "native", "void", "ngl", "gen", "programs", "a", "r", "b", "(", "int", "n", ",", "long", "programs", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "public", "static", "native", "void", "ngl", "program", "env", "parameter", "4dv", "a", "r", "b", "(", "int", "target", ",", "int", "index", ",", "long", "params", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "public", "static", "native", "void", "ngl", "program", "env", "parameter", "4fv", "a", "r", "b", "(", "int", "target", ",", "int", "index", ",", "long", "params", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "public", "static", "native", "void", "ngl", "program", "local", "parameter", "4dv", "a", "r", "b", "(", "int", "target", ",", "int", "index", ",", "long", "params", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "public", "static", "native", "void", "ngl", "program", "local", "parameter", "4fv", "a", "r", "b", "(", "int", "target", ",", "int", "index", ",", "long", "params", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "public", "static", "native", "void", "ngl", "get", "program", "env", "parameterfv", "a", "r", "b", "(", "int", "target", ",", "int", "index", ",", "long", "params", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "public", "static", "native", "void", "ngl", "get", "program", "env", "parameterdv", "a", "r", "b", "(", "int", "target", ",", "int", "index", ",", "long", "params", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "public", "static", "native", "void", "ngl", "get", "program", "local", "parameterfv", "a", "r", "b", "(", "int", "target", ",", "int", "index", ",", "long", "params", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "public", "static", "native", "void", "ngl", "get", "program", "local", "parameterdv", "a", "r", "b", "(", "int", "target", ",", "int", "index", ",", "long", "params", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "public", "static", "native", "void", "ngl", "get", "programiv", "a", "r", "b", "(", "int", "target", ",", "int", "pname", ",", "long", "params", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "public", "static", "native", "void", "ngl", "get", "program", "string", "a", "r", "b", "(", "int", "target", ",", "int", "pname", ",", "long", "string", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "get", "vertex", "attribfv", "a", "r", "b", "(", "index", ",", "pname", ",", "params", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "get", "vertex", "attribdv", "a", "r", "b", "(", "index", ",", "pname", ",", "params", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "get", "vertex", "attribiv", "a", "r", "b", "(", "index", ",", "pname", ",", "params", ")", ";" ]
[ "unsafe", "version", "of", ":", "{" ]
[ "a", "r", "b", "vertex", "shader", "ngl", "get", "vertex", "attrib", "pointerv", "a", "r", "b", "(", "index", ",", "pname", ",", "pointer", ")", ";" ]
[ "/", "*", "(", "non", "-", "javadoc", ")" ]
[ "context", "add", "service", "type", "(", "jboss", "constants", "jboss", ")", ";", "context", "add", "service", "type", "(", "jboss", "constants", "jboss", "method", ")", ";" ]
[ "<", "p", ">", "return", "a", "fully", "configured", "{" ]
[ "if", "(", "instance", "=", "=", "null", ")", "{", "instance", "=", "new", "noun", "inflector", "(", ")", ";", "}", "return", "instance", ";" ]
[ "<", "p", ">", "convert", "strings", "to", "<", "code", ">", "embedded", "camel", "case", "<", "/", "code", ">", "embedded", "underscores", "will", "be", "removed", "<", "/", "p", ">" ]
[ "return", "camelize", "(", "word", ",", "false", ")", ";" ]
[ "<", "p", ">", "convert", "word", "strings", "consisting", "of", "lower", "case", "letters", "and", "underscore", "characters", "between", "words", "into", "<", "code", ">", "embedded", "camel", "case", "<", "/", "code", ">", "or", "<", "code", ">", "embedded", "camel", "case", "<", "/", "code", ">", "depending", "on", "the", "<", "code", ">", "lower", "<", "/", "code", ">", "flag", "embedded", "underscores", "will", "be", "removed", "embedded", "/", "characters", "will", "be", "replaced", "by", "making", "this", "method", "useful", "in", "converting", "path", "-", "like", "names", "into", "fully", "qualified", "classnames", "<", "/", "p", ">" ]
[ "if", "(", "word", "length", "(", ")", "=", "=", "0", ")", "{", "return", "word", ";", "}", "final", "string", "builder", "sb", "=", "new", "string", "builder", "(", "word", "length", "(", ")", ")", ";", "if", "(", "flag", ")", "{", "sb", "append", "(", "character", "to", "lower", "case", "(", "word", "char", "at", "(", "0", ")", ")", ")", ";", "}", "else", "{", "sb", "append", "(", "character", "to", "upper", "case", "(", "word", "char", "at", "(", "0", ")", ")", ")", ";", "}", "boolean", "capitalize", "=", "false", ";", "for", "(", "int", "i", "=", "1", ";", "i", "<", "word", "length", "(", ")", ";", "i", "+", "+", ")", "{", "final", "char", "ch", "=", "word", "char", "at", "(", "i", ")", ";", "if", "(", "capitalize", ")", "{", "sb", "append", "(", "character", "to", "upper", "case", "(", "ch", ")", ")", ";", "capitalize", "=", "false", ";", "}", "else", "if", "(", "ch", "=", "=", "'", "'", ")", "{", "capitalize", "=", "true", ";", "}", "else", "if", "(", "ch", "=", "=", "'", "/", "'", ")", "{", "capitalize", "=", "true", ";", "sb", "append", "(", "'", "'", ")", ";", "}", "else", "{", "sb", "append", "(", "ch", ")", ";", "}", "}", "return", "sb", "to", "string", "(", ")", ";" ]
[ "<", "p", ">", "create", "and", "return", "a", "simple", "class", "name", "that", "corresponds", "to", "a", "add", "plural", "table", "name", "any", "leading", "schema", "name", "will", "be", "trimmed", "<", "/", "p", ">" ]
[ "final", "int", "period", "=", "table", "name", "last", "index", "of", "(", "'", "'", ")", ";", "if", "(", "period", ">", "=", "0", ")", "{", "table", "name", "=", "table", "name", "substring", "(", "period", "+", "1", ")", ";", "}", "return", "camelize", "(", "singularize", "(", "table", "name", ")", ")", ";" ]
[ "<", "p", ">", "replace", "underscores", "in", "the", "specified", "word", "with", "dashes", "<", "/", "p", ">" ]
[ "return", "word", "replace", "(", "'", "'", ",", "'", "-", "'", ")", ";" ]
[ "<", "p", ">", "remove", "any", "package", "name", "from", "a", "fully", "qualified", "class", "name", "returning", "only", "the", "simple", "classname", "<", "/", "p", ">" ]
[ "final", "int", "period", "=", "class", "name", "last", "index", "of", "(", "'", "'", ")", ";", "if", "(", "period", ">", "=", "0", ")", "{", "return", "class", "name", "substring", "(", "period", "+", "1", ")", ";", "}", "else", "{", "return", "class", "name", ";", "}" ]
[ "<", "p", ">", "create", "and", "return", "a", "foreign", "key", "name", "from", "a", "class", "name", "separating", "the", "id", "suffix", "with", "an", "underscore", "<", "/", "p", ">" ]
[ "return", "foreign", "key", "(", "class", "name", ",", "true", ")", ";" ]
[ "<", "p", ">", "convert", "the", "simple", "name", "of", "a", "model", "class", "into", "the", "corresponding", "name", "of", "a", "database", "table", "by", "uncamelizing", "inserting", "underscores", "and", "pluralizing", "the", "last", "word", "<", "/", "p", ">" ]
[ "return", "pluralize", "(", "underscore", "(", "class", "name", ")", ")", ";" ]
[ "<", "p", ">", "the", "reverse", "of", "<", "code", ">", "camelize", "(", ")", "<", "/", "code", ">", "makes", "an", "underscored", "form", "from", "the", "expression", "in", "the", "string", "changes", "to", "/", "to", "convert", "fully", "qualified", "class", "names", "into", "paths", "<", "/", "p", ">" ]
[ "final", "string", "builder", "sb", "=", "new", "string", "builder", "(", "word", "length", "(", ")", "+", "5", ")", ";", "boolean", "uncapitalize", "=", "false", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "word", "length", "(", ")", ";", "i", "+", "+", ")", "{", "final", "char", "ch", "=", "word", "char", "at", "(", "i", ")", ";", "if", "(", "uncapitalize", ")", "{", "sb", "append", "(", "character", "to", "lower", "case", "(", "ch", ")", ")", ";", "uncapitalize", "=", "false", ";", "}", "else", "if", "(", "ch", "=", "=", "'", "'", ")", "{", "sb", "append", "(", "'", "/", "'", ")", ";", "uncapitalize", "=", "true", ";", "}", "else", "if", "(", "character", "is", "upper", "case", "(", "ch", ")", ")", "{", "if", "(", "i", ">", "0", ")", "{", "sb", "append", "(", "'", "'", ")", ";", "}", "sb", "append", "(", "character", "to", "lower", "case", "(", "ch", ")", ")", ";", "}", "else", "{", "sb", "append", "(", "ch", ")", ";", "}", "}", "return", "sb", "to", "string", "(", ")", ";" ]
[ "<", "p", ">", "add", "a", "match", "pattern", "and", "replacement", "rule", "for", "converting", "add", "plural", "forms", "to", "add", "singular", "forms", "by", "default", "matches", "will", "be", "case", "insensitive", "<", "/", "p", ">" ]
[ "add", "plural", "(", "match", ",", "rule", ",", "true", ")", ";" ]
[ "<", "p", ">", "add", "a", "match", "pattern", "and", "replacement", "rule", "for", "converting", "add", "plural", "forms", "to", "add", "singular", "forms", "<", "/", "p", ">" ]
[ "plurals", "add", "(", "0", ",", "new", "replacer", "(", "match", ",", "rule", ",", "insensitive", ")", ")", ";" ]
[ "<", "p", ">", "add", "a", "match", "pattern", "and", "replacement", "rule", "for", "converting", "add", "singular", "forms", "to", "add", "plural", "forms", "by", "default", "matches", "will", "be", "case", "insensitive", "<", "/", "p", ">" ]
[ "add", "singular", "(", "match", ",", "rule", ",", "true", ")", ";" ]
[ "<", "p", ">", "add", "a", "match", "pattern", "and", "replacement", "rule", "for", "converting", "add", "singular", "forms", "to", "add", "plural", "forms", "<", "/", "p", ">" ]
[ "singulars", "add", "(", "0", ",", "new", "replacer", "(", "match", ",", "rule", ",", "insensitive", ")", ")", ";" ]
[ "<", "p", ">", "add", "a", "word", "that", "cannot", "be", "converted", "between", "add", "singular", "and", "add", "plural", "<", "/", "p", ">" ]
[ "uncountables", "add", "(", "0", ",", "word", "to", "lower", "case", "(", ")", ")", ";" ]
[ "replace", "the", "input", "if", "it", "matches", "the", "pattern" ]
[ "final", "matcher", "matcher", "=", "pattern", "matcher", "(", "input", ")", ";", "if", "(", "matcher", "matches", "(", ")", ")", "{", "final", "string", "builder", "sb", "=", "new", "string", "builder", "(", ")", ";", "boolean", "group", "=", "false", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "rule", "length", "(", ")", ";", "i", "+", "+", ")", "{", "final", "char", "ch", "=", "rule", "char", "at", "(", "i", ")", ";", "if", "(", "group", ")", "{", "sb", "append", "(", "matcher", "group", "(", "character", "digit", "(", "ch", ",", "10", ")", ")", ")", ";", "group", "=", "false", ";", "}", "else", "if", "(", "ch", "=", "=", "'", "\\", "\\", "'", ")", "{", "group", "=", "true", ";", "}", "else", "{", "sb", "append", "(", "ch", ")", ";", "}", "}", "return", "sb", "to", "string", "(", ")", ";", "}", "else", "{", "return", "null", ";", "}" ]
[ "reproducer", "for", "jersey", "-", "2462", "on", "grizzly", "container" ]
[ "jersey", "2", "4", "6", "2", "test", "test", "reqest", "reponse", "injection", "into", "singleton", "provider", "(", "target", "(", ")", ")", ";" ]
[ "{" ]
[ "super", "process", "binding", "configuration", "(", "context", ",", "item", ",", "binding", "config", ")", ";", "pioneer", "avr", "binding", "config", "config", "=", "new", "pioneer", "avr", "binding", "config", "(", ")", ";", "config", "item", "type", "=", "item", "get", "class", "(", ")", ";", "parse", "binding", "config", "(", "binding", "config", ",", "config", ")", ";", "add", "binding", "config", "(", "item", ",", "config", ")", ";" ]
[ "shorten", "all", "fully", "qualified", "class", "name", "that", "belong", "to", "the", "same", "package", "as", "the", "manifest", "s", "package", "attribute", "value" ]
[ "extract", "fcqns", "(", "final", "merged", "document", "get", "package", "name", "(", ")", ",", "final", "merged", "document", "get", "root", "node", "(", ")", ")", ";" ]
[ "shorten", "recursively", "all", "attributes", "that", "are", "package", "dependent", "of", "the", "passed", "nodes", "and", "all", "its", "child", "nodes" ]
[ "for", "(", "xml", "attribute", "xml", "attribute", ":", "xml", "element", "get", "attributes", "(", ")", ")", "{", "if", "(", "xml", "attribute", "get", "model", "(", ")", "!", "=", "null", "&", "&", "xml", "attribute", "get", "model", "(", ")", "is", "package", "dependent", "(", ")", ")", "{", "string", "value", "=", "xml", "attribute", "get", "value", "(", ")", ";", "if", "(", "value", "starts", "with", "(", "package", "name", ")", "&", "&", "value", "char", "at", "(", "package", "name", "length", "(", ")", ")", "=", "=", "'", "'", ")", "{", "xml", "attribute", "get", "xml", "(", ")", "set", "value", "(", "value", "substring", "(", "package", "name", "length", "(", ")", ")", ")", ";", "}", "}", "}", "for", "(", "xml", "element", "child", ":", "xml", "element", "get", "mergeable", "elements", "(", ")", ")", "{", "extract", "fcqns", "(", "package", "name", ",", "child", ")", ";", "}" ]
[ "creates", "a", "new", "{", "@", "link", "com", "android", "manifmerger", "manifest", "merger", "2", "invoker", "}", "instance", "to", "invoke", "the", "merging", "tool", "to", "merge", "manifest", "files", "for", "an", "application" ]
[ "return", "new", "invoker", "(", "main", "manifest", "file", ",", "logger", ",", "merge", "type", ")", ";" ]
[ "perform", "{" ]
[ "for", "(", "manifest", "system", "property", "manifest", "system", "property", ":", "manifest", "system", "property", "values", "(", ")", ")", "{", "string", "property", "override", "=", "m", "system", "property", "resolver", "get", "value", "(", "manifest", "system", "property", ")", ";", "if", "(", "property", "override", "!", "=", "null", ")", "{", "manifest", "system", "property", "add", "to", "(", "merging", "report", "get", "action", "recorder", "(", ")", ",", "xml", "document", ",", "property", "override", ")", ";", "}", "}" ]
[ "sets", "a", "value", "for", "a", "{" ]
[ "m", "system", "properties", "put", "(", "override", ",", "value", ")", ";", "return", "this", "as", "t", "(", ")", ";" ]
[ "adds", "placeholders", "names", "and", "associated", "values", "for", "substitution" ]
[ "m", "placeholders", "put", "all", "(", "key", "value", "pairs", ")", ";", "return", "this", "as", "t", "(", ")", ";" ]