docstring_tokens
list
code_tokens
list
[ "remove", "a", "register", "parameter", "vs", "change", "an", "attribute", "(", "name", ",", "dt", ",", "comment", ")", "of", "a", "register", "parameter" ]
[ "public", "void", "test", "remove", "vs", "change", "reg", "param", "name", "(", ")", "throws", "exception", "{", "mtf", "initialize", "(", "\"", "diff", "test", "pgm", "1", "\"", ",", "new", "original", "program", "modifier", "listener", "(", ")", "{", "@", "override", "public", "void", "modify", "original", "(", "program", "d", "b", "program", ")", "{", "int", "tx", "id", "=", "program", "start", "transaction", "(", "\"", "modify", "original", "program", "\"", ")", ";", "boolean", "commit", "=", "false", ";", "try", "{", "function", "apples", "function", "=", "create", "external", "function", "(", "program", ",", "new", "string", "[", "]", "{", "\"", "user", "3", "2", "dll", "\"", ",", "\"", "apples", "\"", "}", ",", "addr", "(", "program", ",", "\"", "7", "7db", "1", "0", "2", "0", "\"", ")", ",", "new", "byte", "data", "type", "(", ")", ",", "source", "type", "user", "defined", ")", ";", "assert", "not", "null", "(", "apples", "function", ")", ";", "parameter", "parameter", "1", "=", "new", "parameter", "impl", "(", "\"", "p1", "\"", ",", "new", "d", "word", "data", "type", "(", ")", ",", "program", ")", ";", "parameter", "1", "set", "comment", "(", "\"", "test", "parameter", "comment", "\"", ")", ";", "apples", "function", "add", "parameter", "(", "parameter", "1", ",", "source", "type", "user", "defined", ")", ";", "function", "oranges", "function", "=", "create", "external", "function", "(", "program", ",", "new", "string", "[", "]", "{", "\"", "user", "3", "2", "dll", "\"", ",", "\"", "oranges", "\"", "}", ")", ";", "add", "parameter", "(", "oranges", "function", ",", "\"", "a1", "\"", ",", "source", "type", "user", "defined", ",", "new", "d", "word", "data", "type", "(", ")", ",", "\"", "test", "a1", "comment", "\"", ")", ";", "commit", "=", "true", ";", "}", "catch", "(", "exception", "e", ")", "{", "assert", "fail", "(", "e", "get", "message", "(", ")", ")", ";", "}", "finally", "{", "program", "end", "transaction", "(", "tx", "id", ",", "commit", ")", ";", "}", "}", "@", "override", "public", "void", "modify", "latest", "(", "program", "d", "b", "program", ")", "{", "int", "tx", "id", "=", "program", "start", "transaction", "(", "\"", "modify", "latest", "program", "\"", ")", ";", "boolean", "commit", "=", "false", ";", "try", "{", "function", "func", ";", "func", "=", "get", "external", "function", "(", "program", ",", "new", "string", "[", "]", "{", "\"", "user", "3", "2", "dll", "\"", ",", "\"", "apples", "\"", "}", ")", ";", "func", "set", "custom", "variable", "storage", "(", "true", ")", ";", "func", "remove", "parameter", "(", "0", ")", ";", "func", "=", "get", "external", "function", "(", "program", ",", "new", "string", "[", "]", "{", "\"", "user", "3", "2", "dll", "\"", ",", "\"", "oranges", "\"", "}", ")", ";", "func", "set", "custom", "variable", "storage", "(", "true", ")", ";", "func", "get", "parameter", "(", "0", ")", "set", "name", "(", "\"", "x1", "\"", ",", "source", "type", "user", "defined", ")", ";", "commit", "=", "true", ";", "}", "catch", "(", "exception", "e", ")", "{", "e", "print", "stack", "trace", "(", ")", ";", "assert", "fail", "(", "e", "get", "message", "(", ")", ")", ";", "}", "finally", "{", "program", "end", "transaction", "(", "tx", "id", ",", "commit", ")", ";", "}", "}", "@", "override", "public", "void", "modify", "private", "(", "program", "d", "b", "program", ")", "{", "int", "tx", "id", "=", "program", "start", "transaction", "(", "\"", "modify", "my", "program", "\"", ")", ";", "boolean", "commit", "=", "false", ";", "try", "{", "function", "func", ";", "func", "=", "get", "external", "function", "(", "program", ",", "new", "string", "[", "]", "{", "\"", "user", "3", "2", "dll", "\"", ",", "\"", "apples", "\"", "}", ")", ";", "func", "set", "custom", "variable", "storage", "(", "true", ")", ";", "func", "get", "parameter", "(", "0", ")", "set", "name", "(", "\"", "y1", "\"", ",", "source", "type", "user", "defined", ")", ";", "func", "=", "get", "external", "function", "(", "program", ",", "new", "string", "[", "]", "{", "\"", "user", "3", "2", "dll", "\"", ",", "\"", "oranges", "\"", "}", ")", ";", "func", "set", "custom", "variable", "storage", "(", "true", ")", ";", "func", "remove", "parameter", "(", "0", ")", ";", "commit", "=", "true", ";", "}", "catch", "(", "exception", "e", ")", "{", "e", "print", "stack", "trace", "(", ")", ";", "assert", "fail", "(", "e", "get", "message", "(", ")", ")", ";", "}", "finally", "{", "program", "end", "transaction", "(", "tx", "id", ",", "commit", ")", ";", "}", "}", "}", ")", ";", "execute", "merge", "(", "ask", "user", ")", ";", "choose", "radio", "button", "(", "checked", "out", "button", "name", ")", ";", "choose", "radio", "button", "(", "checked", "out", "button", "name", ")", ";", "wait", "for", "merge", "completion", "(", ")", ";", "function", "func", "=", "get", "external", "function", "(", "result", "program", ",", "new", "string", "[", "]", "{", "\"", "user", "3", "2", "dll", "\"", ",", "\"", "apples", "\"", "}", ")", ";", "parameter", "[", "]", "parameters", "=", "func", "get", "parameters", "(", ")", ";", "assert", "equals", "(", "1", ",", "parameters", "length", ")", ";", "assert", "equals", "(", "\"", "y1", "\"", ",", "parameters", "[", "0", "]", "get", "name", "(", ")", ")", ";", "assert", "equals", "(", "\"", "r", "1", "2", "\"", ",", "parameters", "[", "0", "]", "get", "register", "(", ")", "get", "name", "(", ")", ")", ";", "assert", "true", "(", "new", "d", "word", "data", "type", "(", ")", "is", "equivalent", "(", "parameters", "[", "0", "]", "get", "data", "type", "(", ")", ")", ")", ";", "variable", "[", "]", "local", "variables", "=", "func", "get", "local", "variables", "(", ")", ";", "assert", "equals", "(", "0", ",", "local", "variables", "length", ")", ";", "func", "=", "get", "external", "function", "(", "result", "program", ",", "new", "string", "[", "]", "{", "\"", "user", "3", "2", "dll", "\"", ",", "\"", "oranges", "\"", "}", ")", ";", "parameters", "=", "func", "get", "parameters", "(", ")", ";", "assert", "equals", "(", "0", ",", "parameters", "length", ")", ";", "local", "variables", "=", "func", "get", "local", "variables", "(", ")", ";", "assert", "equals", "(", "0", ",", "local", "variables", "length", ")", ";", "}" ]
[ "compare", "to", "another", "condition", "based", "on", "parameter", "expressions", "a", "condition", "is", "considered", "to", "be", "a", "more", "specific", "match", ",", "if", "it", "has", ":", "a", "greater", "number", "of", "expressions", "a", "greater", "number", "of", "non", "-", "negated", "expressions", "with", "a", "concrete", "value", "it", "is", "assumed", "that", "both", "instances", "have", "been", "obtained", "via", "{", "@", "link", "#", "get", "matching", "condition", "(", "http", "servlet", "request", ")", "}", "and", "each", "instance", "contains", "the", "matching", "parameter", "expressions", "only", "or", "is", "otherwise", "empty" ]
[ "public", "int", "compare", "to", "(", "params", "request", "condition", "other", ",", "http", "servlet", "request", "request", ")", "{", "int", "result", "=", "other", "expressions", "size", "(", ")", "-", "this", "expressions", "size", "(", ")", ";", "if", "(", "result", "!", "=", "0", ")", "{", "return", "result", ";", "}", "return", "(", "int", ")", "(", "get", "value", "match", "count", "(", "other", "expressions", ")", "-", "get", "value", "match", "count", "(", "this", "expressions", ")", ")", ";", "}" ]
[ "this", "method", "writes", "all", "the", "valid", "top", "level", "directories", "into", "the", "src", "writer", "for", "indexing", "this", "method", "is", "a", "little", "tricky", "example", "-", "for", "an", "input", "with", "parent", "path", "homeuser", "and", "sources", "as", "homeusersourcedir", "1", ",", "homeusersourcedir", "2", "-", "this", "will", "output", "<", "source", ",", "dir", ",", "dir", "1", ",", "dir", "2", ">", "(", "dir", "means", "that", "source", "is", "a", "dir", "with", "dir", "1", "and", "dir", "2", "as", "children", ")", "and", "<", "sourcedir", "1", ",", "file", ",", "null", ">", "and", "<", "sourcedir", "2", ",", "file", ",", "null", ">" ]
[ "private", "void", "write", "top", "level", "dirs", "(", "sequence", "file", "writer", "src", "writer", ",", "list", "<", "path", ">", "paths", ",", "path", "parent", "path", ")", "throws", "i", "o", "exception", "{", "/", "/", "extract", "paths", "from", "absolute", "uri", "'", "s", "list", "<", "path", ">", "just", "paths", "=", "new", "array", "list", "<", "path", ">", "(", ")", ";", "for", "(", "path", "p", ":", "paths", ")", "{", "just", "paths", "add", "(", "new", "path", "(", "p", "to", "uri", "(", ")", "get", "path", "(", ")", ")", ")", ";", "}", "/", "*", "find", "all", "the", "common", "parents", "of", "paths", "that", "are", "valid", "archive", "*", "paths", "the", "below", "is", "done", "so", "that", "we", "do", "not", "add", "a", "common", "path", "*", "twice", "and", "also", "we", "need", "to", "only", "add", "valid", "child", "of", "a", "path", "that", "*", "are", "specified", "the", "user", "*", "/", "tree", "map", "<", "string", ",", "hash", "set", "<", "string", ">", ">", "allpaths", "=", "new", "tree", "map", "<", "string", ",", "hash", "set", "<", "string", ">", ">", "(", ")", ";", "/", "*", "the", "largest", "depth", "of", "paths", "the", "max", "number", "of", "times", "*", "we", "need", "to", "iterate", "*", "/", "path", "deepest", "=", "largest", "depth", "(", "paths", ")", ";", "path", "root", "=", "new", "path", "(", "path", "separator", ")", ";", "for", "(", "int", "i", "=", "parent", "path", "depth", "(", ")", ";", "i", "<", "deepest", "depth", "(", ")", ";", "i", "+", "+", ")", "{", "list", "<", "path", ">", "parents", "=", "new", "array", "list", "<", "path", ">", "(", ")", ";", "for", "(", "path", "p", ":", "just", "paths", ")", "{", "if", "(", "p", "compare", "to", "(", "root", ")", "=", "=", "0", ")", "{", "/", "/", "do", "nothing", "}", "else", "{", "path", "parent", "=", "p", "get", "parent", "(", ")", ";", "if", "(", "null", "!", "=", "parent", ")", "{", "if", "(", "allpaths", "contains", "key", "(", "parent", "to", "string", "(", ")", ")", ")", "{", "hash", "set", "<", "string", ">", "children", "=", "allpaths", "get", "(", "parent", "to", "string", "(", ")", ")", ";", "children", "add", "(", "p", "get", "name", "(", ")", ")", ";", "}", "else", "{", "hash", "set", "<", "string", ">", "children", "=", "new", "hash", "set", "<", "string", ">", "(", ")", ";", "children", "add", "(", "p", "get", "name", "(", ")", ")", ";", "allpaths", "put", "(", "parent", "to", "string", "(", ")", ",", "children", ")", ";", "}", "parents", "add", "(", "parent", ")", ";", "}", "}", "}", "just", "paths", "=", "parents", ";", "}", "set", "<", "map", "entry", "<", "string", ",", "hash", "set", "<", "string", ">", ">", ">", "key", "vals", "=", "allpaths", "entry", "set", "(", ")", ";", "for", "(", "map", "entry", "<", "string", ",", "hash", "set", "<", "string", ">", ">", "entry", ":", "key", "vals", ")", "{", "final", "path", "rel", "path", "=", "rel", "path", "to", "root", "(", "new", "path", "(", "entry", "get", "key", "(", ")", ")", ",", "parent", "path", ")", ";", "if", "(", "rel", "path", "!", "=", "null", ")", "{", "final", "string", "[", "]", "children", "=", "new", "string", "[", "entry", "get", "value", "(", ")", "size", "(", ")", "]", ";", "int", "i", "=", "0", ";", "for", "(", "string", "child", ":", "entry", "get", "value", "(", ")", ")", "{", "children", "[", "i", "+", "+", "]", "=", "child", ";", "}", "append", "(", "src", "writer", ",", "0l", ",", "rel", "path", "to", "string", "(", ")", ",", "children", ")", ";", "}", "}", "}" ]
[ "wait", "for", "a", "namenode", "to", "be", "registered", "with", "a", "particular", "state" ]
[ "public", "static", "void", "wait", "namenode", "registered", "(", "final", "active", "namenode", "resolver", "resolver", ",", "final", "string", "ns", "id", ",", "final", "federation", "namenode", "service", "state", "state", ")", "throws", "exception", "{", "generic", "test", "utils", "wait", "for", "(", "new", "supplier", "<", "boolean", ">", "(", ")", "{", "@", "override", "public", "boolean", "get", "(", ")", "{", "try", "{", "list", "<", "?", "extends", "federation", "namenode", "context", ">", "nns", "=", "resolver", "get", "namenodes", "for", "nameservice", "id", "(", "ns", "id", ")", ";", "for", "(", "federation", "namenode", "context", "nn", ":", "nns", ")", "{", "if", "(", "nn", "get", "state", "(", ")", "equals", "(", "state", ")", ")", "{", "return", "true", ";", "}", "}", "}", "catch", "(", "i", "o", "exception", "e", ")", "{", "/", "/", "ignore", "}", "return", "false", ";", "}", "}", ",", "1000", ",", "20", "*", "1000", ")", ";", "}" ]
[ "writes", "the", "given", "short", "to", "the", "current", "position", "and", "increases", "the", "position", "by", "2", "the", "short", "is", "converted", "to", "bytes", "using", "the", "current", "byte", "order" ]
[ "public", "abstract", "byte", "buffer", "put", "short", "(", "short", "value", ")", ";" ]
[ "range", "-", "partitions", "a", "data", "set", "using", "the", "specified", "key", "selector", "<", "b", ">", "important", ":", "<", "b", ">", "this", "operation", "requires", "an", "extra", "pass", "over", "the", "data", "set", "to", "compute", "the", "range", "boundaries", "and", "shuffles", "the", "whole", "data", "set", "over", "the", "network", "this", "can", "take", "significant", "amount", "of", "time" ]
[ "public", "<", "k", "extends", "comparable", "<", "k", ">", ">", "partition", "operator", "<", "t", ">", "partition", "by", "range", "(", "key", "selector", "<", "t", ",", "k", ">", "key", "extractor", ")", "{", "final", "type", "information", "<", "k", ">", "key", "type", "=", "type", "extractor", "get", "key", "selector", "types", "(", "key", "extractor", ",", "get", "type", "(", ")", ")", ";", "return", "new", "partition", "operator", "<", ">", "(", "this", ",", "partition", "method", "range", ",", "new", "keys", "selector", "function", "keys", "<", ">", "(", "clean", "(", "key", "extractor", ")", ",", "this", "get", "type", "(", ")", ",", "key", "type", ")", ",", "utils", "get", "call", "location", "name", "(", ")", ")", ";", "}" ]
[ "closes", "active", "tasks", "as", "zombies", ",", "as", "these", "partitions", "have", "been", "lost", "and", "are", "no", "longer", "owned", "note", "this", "method", "assumes", "that", "when", "it", "is", "called", ",", "every", "taskpartition", "has", "been", "lost", "and", "must", "be", "closed", "as", "a", "zombie" ]
[ "void", "handle", "lost", "all", "(", ")", "{", "log", "debug", "(", "\"", "closing", "lost", "active", "tasks", "as", "zombies", "\"", ")", ";", "final", "iterator", "<", "task", ">", "iterator", "=", "tasks", "values", "(", ")", "iterator", "(", ")", ";", "while", "(", "iterator", "has", "next", "(", ")", ")", "{", "final", "task", "task", "=", "iterator", "next", "(", ")", ";", "/", "/", "even", "though", "we", "'", "ve", "apparently", "dropped", "out", "of", "the", "group", ",", "we", "can", "continue", "safely", "to", "maintain", "our", "/", "/", "standby", "tasks", "while", "we", "rejoin", "if", "(", "task", "is", "active", "(", ")", ")", "{", "close", "task", "dirty", "(", "task", ")", ";", "iterator", "remove", "(", ")", ";", "try", "{", "active", "task", "creator", "close", "and", "remove", "task", "producer", "if", "needed", "(", "task", "id", "(", ")", ")", ";", "}", "catch", "(", "final", "runtime", "exception", "e", ")", "{", "log", "warn", "(", "\"", "error", "closing", "task", "producer", "for", "\"", "+", "task", "id", "(", ")", "+", "\"", "while", "handling", "lost", "all", "\"", ",", "e", ")", ";", "}", "}", "}", "if", "(", "processing", "mode", "=", "=", "exactly", "once", "beta", ")", "{", "active", "task", "creator", "re", "initialize", "thread", "producer", "(", ")", ";", "}", "}" ]
[ "called", "by", "the", "player", "to", "initialize", "the", "selector" ]
[ "public", "final", "void", "init", "(", "invalidation", "listener", "listener", ",", "bandwidth", "meter", "bandwidth", "meter", ")", "{", "this", "listener", "=", "listener", ";", "this", "bandwidth", "meter", "=", "bandwidth", "meter", ";", "}" ]
[ "returns", "a", "readable", "string", "representation", "of", "this", "range", "map" ]
[ "string", "to", "string", "(", ")", ";" ]
[ "test", "the", "property", "'", "property", "class", "'" ]
[ "public", "void", "property", "class", "test", "(", ")", "{", "/", "/", "todo", ":", "test", "property", "class", "}" ]
[ "as", "json", "string" ]
[ "public", "string", "to", "json", "(", ")", "{", "return", "mapper", "write", "value", "as", "string", "(", "this", ")", ";", "}" ]
[ "find", "all", "resources", "in", "jar", "files", "that", "match", "the", "given", "location", "pattern", "via", "the", "ant", "-", "style", "path", "matcher" ]
[ "protected", "set", "<", "resource", ">", "do", "find", "path", "matching", "jar", "resources", "(", "resource", "root", "dir", "resource", ",", "url", "root", "dir", "u", "r", "l", ",", "string", "sub", "pattern", ")", "throws", "i", "o", "exception", "{", "u", "r", "l", "connection", "con", "=", "root", "dir", "u", "r", "l", "open", "connection", "(", ")", ";", "jar", "file", "jar", "file", ";", "string", "jar", "file", "url", ";", "string", "root", "entry", "path", ";", "boolean", "close", "jar", "file", ";", "if", "(", "con", "instanceof", "jar", "u", "r", "l", "connection", ")", "{", "/", "/", "should", "usually", "be", "the", "case", "for", "traditional", "jar", "files", "jar", "u", "r", "l", "connection", "jar", "con", "=", "(", "jar", "u", "r", "l", "connection", ")", "con", ";", "resource", "utils", "use", "caches", "if", "necessary", "(", "jar", "con", ")", ";", "jar", "file", "=", "jar", "con", "get", "jar", "file", "(", ")", ";", "jar", "file", "url", "=", "jar", "con", "get", "jar", "file", "u", "r", "l", "(", ")", "to", "external", "form", "(", ")", ";", "jar", "entry", "jar", "entry", "=", "jar", "con", "get", "jar", "entry", "(", ")", ";", "root", "entry", "path", "=", "(", "jar", "entry", "!", "=", "null", "?", "jar", "entry", "get", "name", "(", ")", ":", "\"", "\"", ")", ";", "close", "jar", "file", "=", "!", "jar", "con", "get", "use", "caches", "(", ")", ";", "}", "else", "{", "/", "/", "no", "jar", "u", "r", "l", "connection", "-", ">", "need", "to", "resort", "to", "url", "file", "parsing", "/", "/", "we", "'", "ll", "assume", "u", "r", "ls", "of", "the", "format", "\"", "jar", ":", "path", "!", "/", "entry", "\"", ",", "with", "the", "protocol", "/", "/", "being", "arbitrary", "as", "long", "as", "following", "the", "entry", "format", "/", "/", "we", "'", "ll", "also", "handle", "paths", "with", "and", "without", "leading", "\"", "file", ":", "\"", "prefix", "string", "url", "file", "=", "root", "dir", "u", "r", "l", "get", "file", "(", ")", ";", "try", "{", "int", "separator", "index", "=", "url", "file", "index", "of", "(", "resource", "utils", "war", "url", "separator", ")", ";", "if", "(", "separator", "index", "=", "=", "-", "1", ")", "{", "separator", "index", "=", "url", "file", "index", "of", "(", "resource", "utils", "jar", "url", "separator", ")", ";", "}", "if", "(", "separator", "index", "!", "=", "-", "1", ")", "{", "jar", "file", "url", "=", "url", "file", "substring", "(", "0", ",", "separator", "index", ")", ";", "root", "entry", "path", "=", "url", "file", "substring", "(", "separator", "index", "+", "2", ")", ";", "/", "/", "both", "separators", "are", "2", "chars", "jar", "file", "=", "get", "jar", "file", "(", "jar", "file", "url", ")", ";", "}", "else", "{", "jar", "file", "=", "new", "jar", "file", "(", "url", "file", ")", ";", "jar", "file", "url", "=", "url", "file", ";", "root", "entry", "path", "=", "\"", "\"", ";", "}", "close", "jar", "file", "=", "true", ";", "}", "catch", "(", "zip", "exception", "ex", ")", "{", "if", "(", "logger", "is", "debug", "enabled", "(", ")", ")", "{", "logger", "debug", "(", "\"", "skipping", "invalid", "jar", "classpath", "entry", "[", "\"", "+", "url", "file", "+", "\"", "]", "\"", ")", ";", "}", "return", "collections", "empty", "set", "(", ")", ";", "}", "}", "try", "{", "if", "(", "logger", "is", "trace", "enabled", "(", ")", ")", "{", "logger", "trace", "(", "\"", "looking", "for", "matching", "resources", "in", "jar", "file", "[", "\"", "+", "jar", "file", "url", "+", "\"", "]", "\"", ")", ";", "}", "if", "(", "string", "utils", "has", "length", "(", "root", "entry", "path", ")", "&", "&", "!", "root", "entry", "path", "ends", "with", "(", "\"", "/", "\"", ")", ")", "{", "/", "/", "root", "entry", "path", "must", "end", "with", "slash", "to", "allow", "for", "proper", "matching", "/", "/", "the", "sun", "jre", "does", "not", "return", "a", "slash", "here", ",", "but", "bea", "j", "rockit", "does", "root", "entry", "path", "=", "root", "entry", "path", "+", "\"", "/", "\"", ";", "}", "set", "<", "resource", ">", "result", "=", "new", "linked", "hash", "set", "<", ">", "(", "8", ")", ";", "for", "(", "enumeration", "<", "jar", "entry", ">", "entries", "=", "jar", "file", "entries", "(", ")", ";", "entries", "has", "more", "elements", "(", ")", ";", ")", "{", "jar", "entry", "entry", "=", "entries", "next", "element", "(", ")", ";", "string", "entry", "path", "=", "entry", "get", "name", "(", ")", ";", "if", "(", "entry", "path", "starts", "with", "(", "root", "entry", "path", ")", ")", "{", "string", "relative", "path", "=", "entry", "path", "substring", "(", "root", "entry", "path", "length", "(", ")", ")", ";", "if", "(", "get", "path", "matcher", "(", ")", "match", "(", "sub", "pattern", ",", "relative", "path", ")", ")", "{", "result", "add", "(", "root", "dir", "resource", "create", "relative", "(", "relative", "path", ")", ")", ";", "}", "}", "}", "return", "result", ";", "}", "finally", "{", "if", "(", "close", "jar", "file", ")", "{", "jar", "file", "close", "(", ")", ";", "}", "}", "}" ]
[ "set", "the", "set", "of", "allowed", "{", "@", "link", "http", "method", "http", "methods", "}", ",", "as", "specified", "by", "the", "{", "@", "code", "allow", "}", "header" ]
[ "b", "allow", "(", "http", "method", "allowed", "methods", ")", ";" ]
[ "returns", "a", "callable", "that", "returns", "the", "given", "value" ]
[ "public", "static", "<", "t", ">", "callable", "<", "t", ">", "just", "callable", "(", "@", "non", "null", "t", "value", ")", "{", "return", "new", "just", "value", "<", ">", "(", "value", ")", ";", "}" ]
[ "where", "the", "attribute", "was", "defined", "within", "the", "&", "lt", ";", "declare", "-", "styleable", "&", "gt", ";", "block", "<", "code", ">", "optional", "aapt", "pb", "source", "source", "=", "1", ";", "<", "code", ">" ]
[ "public", "builder", "set", "source", "(", "com", "android", "aapt", "resources", "source", "builder", "builder", "for", "value", ")", "{", "copy", "on", "write", "(", ")", ";", "instance", "set", "source", "(", "builder", "for", "value", ")", ";", "return", "this", ";", "}" ]
[ "optional", "setting", "for", "returning", "the", "result", "values", "in", "a", "columnar", "fashion", "(", "as", "opposed", "to", "rows", "of", "values", ")", "each", "column", "will", "have", "all", "its", "values", "in", "a", "list", "defaults", "to", "false" ]
[ "public", "boolean", "columnar", "(", ")", "{", "return", "columnar", ";", "}" ]
[ "gets", "the", "principal", "from", "the", "given", "name", "the", "principal", "is", "created", "by", "the", "factory", "instance" ]
[ "protected", "principal", "get", "principal", "(", "final", "string", "name", ",", "final", "boolean", "is", "ntlm", ")", "{", "if", "(", "this", "principal", "with", "domain", "name", ")", "{", "return", "this", "principal", "factory", "create", "principal", "(", "name", ")", ";", "}", "if", "(", "is", "ntlm", ")", "{", "if", "(", "pattern", "matches", "(", "\"", "\\", "\\", "s", "+", "\\", "\\", "\\", "\\", "\\", "\\", "s", "+", "\"", ",", "name", ")", ")", "{", "val", "split", "list", "=", "splitter", "on", "(", "pattern", "compile", "(", "\"", "\\", "\\", "\\", "\\", "\"", ")", ")", "split", "to", "list", "(", "name", ")", ";", "if", "(", "split", "list", "size", "(", ")", "=", "=", "2", ")", "{", "return", "this", "principal", "factory", "create", "principal", "(", "split", "list", "get", "(", "1", ")", ")", ";", "}", "}", "return", "this", "principal", "factory", "create", "principal", "(", "name", ")", ";", "}", "val", "split", "list", "=", "splitter", "on", "(", "\"", "@", "\"", ")", "split", "to", "list", "(", "name", ")", ";", "return", "this", "principal", "factory", "create", "principal", "(", "split", "list", "get", "(", "0", ")", ")", ";", "}" ]
[ "test", "the", "property", "'", "float", "item", "'" ]
[ "public", "void", "float", "item", "test", "(", ")", "{", "/", "/", "todo", ":", "test", "float", "item", "}" ]
[ "if", "the", "delegate", "collection", "is", "empty", ",", "but", "the", "multimap", "has", "values", "for", "the", "key", ",", "replace", "the", "delegate", "with", "the", "new", "collection", "for", "the", "key", "for", "a", "subcollection", ",", "refresh", "its", "ancestor", "and", "validate", "that", "the", "ancestor", "delegate", "hasn", "'", "t", "changed" ]
[ "void", "refresh", "if", "empty", "(", ")", "{", "if", "(", "ancestor", "!", "=", "null", ")", "{", "ancestor", "refresh", "if", "empty", "(", ")", ";", "if", "(", "ancestor", "get", "delegate", "(", ")", "!", "=", "ancestor", "delegate", ")", "{", "throw", "new", "concurrent", "modification", "exception", "(", ")", ";", "}", "}", "else", "if", "(", "delegate", "is", "empty", "(", ")", ")", "{", "collection", "<", "v", ">", "new", "delegate", "=", "map", "get", "(", "key", ")", ";", "if", "(", "new", "delegate", "!", "=", "null", ")", "{", "delegate", "=", "new", "delegate", ";", "}", "}", "}" ]
[ "the", "size", "of", "this", "tlv", "in", "bytes" ]
[ "int", "total", "num", "bytes", "(", ")", "{", "return", "3", "+", "content", "num", "bytes", "(", ")", ";", "/", "/", "type", "(", "1", ")", "+", "length", "(", "2", ")", "+", "content", "}" ]
[ "returns", "the", "workspace", "name", "for", "the", "rule" ]
[ "public", "string", "get", "workspace", "name", "(", ")", "{", "return", "rule", "get", "repository", "(", ")", "stripped", "name", "(", ")", ";", "}" ]
[ "returns", "the", "next", "pseudorandom", ",", "uniformly", "distributed", "int", "value", "from", "the", "math", "random", "(", ")", "sequence", "identical", "to", "<", "code", ">", "next", "int", "(", "integer", "max", "value", ")", "<", "code", ">", "<", "b", ">", "n", "b", "all", "values", "are", ">", "=", "0", "<", "b", ">" ]
[ "public", "int", "next", "int", "(", ")", "{", "return", "next", "int", "(", "integer", "max", "value", ")", ";", "}" ]
[ "enter", "a", "parse", "tree", "produced", "by", "the", "{", "@", "code", "show", "schemas", "}", "labeled", "alternative", "in", "{", "@", "link", "sql", "base", "parser", "#", "statement", "}" ]
[ "void", "enter", "show", "schemas", "(", "sql", "base", "parser", "show", "schemas", "context", "ctx", ")", ";" ]
[ "post", "usercreate", "with", "list", ":", "creates", "list", "of", "users", "with", "given", "input", "array" ]
[ "default", "response", "entity", "<", "void", ">", "create", "users", "with", "list", "input", "(", "@", "api", "param", "(", "value", "=", "\"", "list", "of", "user", "object", "\"", ",", "required", "=", "true", ")", "@", "valid", "@", "request", "body", "list", "<", "user", ">", "body", ")", "{", "return", "new", "response", "entity", "<", ">", "(", "http", "status", "not", "implemented", ")", ";", "}" ]
[ "bind", "a", "{", "@", "code", "null", "}", "value" ]
[ "void", "bind", "null", "(", "string", "identifier", ",", "class", "<", "?", ">", "type", ")", ";" ]
[ "find", "the", "fields", "constant", "that", "matches", "name", ",", "or", "null", "if", "its", "not", "found" ]
[ "public", "static", "fields", "find", "by", "name", "(", "string", "name", ")", "{", "return", "by", "name", "get", "(", "name", ")", ";", "}" ]
[ "register", "a", "listener", "that", "will", "be", "called", "when", "this", "model", "visibility", "has", "changed", "the", "listener", "will", "contribute", "to", "this", "model", "'", "s", "hash", "code", "state", "per", "the", "{", "@", "link", "com", "airbnb", "epoxy", "epoxy", "attribute", "option", "#", "do", "not", "hash", "}", "rules" ]
[ "public", "model", "view", "extending", "super", "class", "model", "on", "visibility", "changed", "(", "on", "model", "visibility", "changed", "listener", "<", "model", "view", "extending", "super", "class", "model", ",", "model", "view", "extending", "super", "class", ">", "listener", ")", "{", "on", "mutation", "(", ")", ";", "this", "on", "model", "visibility", "changed", "listener", "epoxy", "generated", "model", "=", "listener", ";", "return", "this", ";", "}" ]
[ "reference", "on", "real", "attribute" ]
[ "d", "b", "s", "entity", "attribute", "get", "attribute", "(", ")", ";" ]
[ "returns", "the", "resource", "type", "name" ]
[ "public", "string", "get", "name", "(", ")", "{", "return", "name", ";", "}" ]
[ "returns", "whether", "persistent", "checkpoints", "shall", "be", "discarded", "on", "cancellation", "of", "the", "job" ]
[ "public", "boolean", "delete", "on", "cancellation", "(", ")", "{", "return", "delete", "on", "cancellation", ";", "}" ]
[ "returns", "the", "optional", "file", "name", ",", "possibly", "null" ]
[ "public", "string", "get", "file", "(", ")", "{", "return", "file", ";", "}" ]
[ "if", "true", ",", "then", "the", "relocation", "table", "should", "be", "readwritten" ]
[ "public", "boolean", "is", "relocation", "table", "(", ")", "{", "return", "relocation", "table", ";", "}" ]
[ "waits", "for", "the", "{", "@", "link", "service", "}", "to", "reach", "the", "{", "@", "linkplain", "state", "#", "running", "running", "state", "}" ]
[ "void", "await", "running", "(", ")", ";" ]
[ "yack", "needed", "to", "expose", "that", "for", "testing", "purposes" ]
[ "public", "logger", "logger", "(", ")", "{", "return", "logger", ";", "}" ]
[ "sets", "transaction", "service", "group" ]
[ "public", "void", "set", "transaction", "service", "group", "(", "string", "transaction", "service", "group", ")", "{", "this", "transaction", "service", "group", "=", "transaction", "service", "group", ";", "}" ]
[ "checks", "that", "the", "current", "page", "is", "actually", "the", "page", "this", "page", "object", "represents" ]
[ "public", "abstract", "boolean", "is", "at", "(", ")", ";" ]
[ "get", "the", "comment", "history", "for", "comments", "at", "the", "given", "address" ]
[ "public", "comment", "history", "[", "]", "get", "comment", "history", "(", "address", "addr", ",", "int", "comment", "type", ")", ";" ]
[ "stop", "profiling", "status" ]
[ "public", "void", "stop", "profiling", "(", ")", "{", "this", "tracing", "context", "profile", "status", "(", ")", "update", "status", "(", "profile", "status", "stopped", ")", ";", "}" ]
[ "test", "that", "{", "@", "link", "file", "utils", "#", "delete", "path", "if", "empty", "(", "file", "system", ",", "path", ")", "}", "deletes", "the", "path", "if", "it", "is", "empty", "a", "path", "can", "only", "be", "empty", "if", "it", "is", "a", "directory", "which", "does", "not", "contain", "any", "filesdirectories" ]
[ "public", "void", "test", "delete", "path", "if", "empty", "(", ")", "throws", "i", "o", "exception", "{", "final", "path", "base", "path", "=", "new", "path", "(", "hdfs", "u", "r", "i", ")", ";", "final", "path", "directory", "=", "new", "path", "(", "base", "path", ",", "uuid", "random", "u", "u", "i", "d", "(", ")", "to", "string", "(", ")", ")", ";", "final", "path", "directory", "file", "=", "new", "path", "(", "directory", ",", "uuid", "random", "u", "u", "i", "d", "(", ")", "to", "string", "(", ")", ")", ";", "final", "path", "single", "file", "=", "new", "path", "(", "base", "path", ",", "uuid", "random", "u", "u", "i", "d", "(", ")", "to", "string", "(", ")", ")", ";", "file", "system", "fs", "=", "base", "path", "get", "file", "system", "(", ")", ";", "fs", "mkdirs", "(", "directory", ")", ";", "byte", "[", "]", "data", "=", "\"", "h", "d", "f", "s", "test", "#", "test", "delete", "path", "if", "empty", "\"", "get", "bytes", "(", "config", "constants", "default", "charset", ")", ";", "for", "(", "path", "file", ":", "arrays", "as", "list", "(", "single", "file", ",", "directory", "file", ")", ")", "{", "org", "apache", "flink", "core", "fs", "f", "s", "data", "output", "stream", "output", "stream", "=", "fs", "create", "(", "file", ",", "file", "system", "write", "mode", "overwrite", ")", ";", "output", "stream", "write", "(", "data", ")", ";", "output", "stream", "close", "(", ")", ";", "}", "/", "/", "verify", "that", "the", "files", "have", "been", "created", "assert", "true", "(", "fs", "exists", "(", "single", "file", ")", ")", ";", "assert", "true", "(", "fs", "exists", "(", "directory", "file", ")", ")", ";", "/", "/", "delete", "the", "single", "file", "assert", "false", "(", "file", "utils", "delete", "path", "if", "empty", "(", "fs", ",", "single", "file", ")", ")", ";", "assert", "true", "(", "fs", "exists", "(", "single", "file", ")", ")", ";", "/", "/", "try", "to", "delete", "the", "non", "-", "empty", "directory", "assert", "false", "(", "file", "utils", "delete", "path", "if", "empty", "(", "fs", ",", "directory", ")", ")", ";", "assert", "true", "(", "fs", "exists", "(", "directory", ")", ")", ";", "/", "/", "delete", "the", "file", "contained", "in", "the", "directory", "assert", "true", "(", "fs", "delete", "(", "directory", "file", ",", "false", ")", ")", ";", "/", "/", "now", "the", "deletion", "should", "work", "assert", "true", "(", "file", "utils", "delete", "path", "if", "empty", "(", "fs", ",", "directory", ")", ")", ";", "assert", "false", "(", "fs", "exists", "(", "directory", ")", ")", ";", "}" ]
[ "gets", "the", "latitude", "for", "the", "given", "point" ]
[ "public", "static", "double", "get", "latitude", "(", "point", "location", ")", "{", "return", "location", "get", "latitude", "(", ")", "/", "coord", "factor", ";", "}" ]
[ "desc", "to", "class", "\"", "[", "z", "\"", "=", ">", "boolean", "[", "]", "class", "\"", "[", "[", "ljavautil", "map", ";", "\"", "=", ">", "java", "util", "map", "[", "]", "[", "]", "class" ]
[ "private", "static", "class", "<", "?", ">", "desc", "2class", "(", "class", "loader", "cl", ",", "string", "desc", ")", "throws", "class", "not", "found", "exception", "{", "switch", "(", "desc", "char", "at", "(", "0", ")", ")", "{", "case", "jvm", "void", ":", "return", "void", "class", ";", "case", "jvm", "boolean", ":", "return", "boolean", "class", ";", "case", "jvm", "byte", ":", "return", "byte", "class", ";", "case", "jvm", "char", ":", "return", "char", "class", ";", "case", "jvm", "double", ":", "return", "double", "class", ";", "case", "jvm", "float", ":", "return", "float", "class", ";", "case", "jvm", "int", ":", "return", "int", "class", ";", "case", "jvm", "long", ":", "return", "long", "class", ";", "case", "jvm", "short", ":", "return", "short", "class", ";", "case", "'", "l", "'", ":", "/", "/", "\"", "ljava", "/", "lang", "/", "object", ";", "\"", "=", "=", ">", "\"", "java", "lang", "object", "\"", "desc", "=", "desc", "substring", "(", "1", ",", "desc", "length", "(", ")", "-", "1", ")", "replace", "(", "'", "/", "'", ",", "'", "'", ")", ";", "break", ";", "case", "'", "[", "'", ":", "/", "/", "\"", "[", "[", "ljava", "/", "lang", "/", "object", ";", "\"", "=", "=", ">", "\"", "[", "[", "ljava", "lang", "object", ";", "\"", "desc", "=", "desc", "replace", "(", "'", "/", "'", ",", "'", "'", ")", ";", "break", ";", "default", ":", "throw", "new", "class", "not", "found", "exception", "(", "\"", "class", "not", "found", ":", "\"", "+", "desc", ")", ";", "}", "if", "(", "cl", "=", "=", "null", ")", "{", "cl", "=", "class", "utils", "get", "class", "loader", "(", ")", ";", "}", "class", "<", "?", ">", "clazz", "=", "desc", "class", "cache", "get", "(", "desc", ")", ";", "if", "(", "clazz", "=", "=", "null", ")", "{", "clazz", "=", "class", "for", "name", "(", "desc", ",", "true", ",", "cl", ")", ";", "desc", "class", "cache", "put", "(", "desc", ",", "clazz", ")", ";", "}", "return", "clazz", ";", "}" ]
[ "{", "@", "inherit", "doc", "}", "the", "default", "implementation", "returns", "the", "result", "of", "calling", "{", "@", "link", "#", "visit", "children", "}", "on", "{", "@", "code", "ctx", "}" ]
[ "@", "override", "public", "t", "visit", "arithmetic", "binary", "(", "sql", "base", "parser", "arithmetic", "binary", "context", "ctx", ")", "{", "return", "visit", "children", "(", "ctx", ")", ";", "}" ]
[ "return", "the", "name", "of", "the", "rule" ]
[ "public", "string", "get", "name", "(", ")", "{", "return", "this", "get", "class", "(", ")", "get", "name", "(", ")", ";", "}" ]
[ "<", "code", ">", "required", "uint", "3", "2", "second", "=", "8", ";", "<", "code", ">" ]
[ "public", "builder", "set", "second", "(", "int", "value", ")", "{", "bit", "field", "0", "|", "=", "0x", "0", "0", "0", "0", "0", "0", "4", "0", ";", "second", "=", "value", ";", "on", "changed", "(", ")", ";", "return", "this", ";", "}" ]
[ "gets", "all", "the", "key", "-", "value", "pairs", "that", "belong", "to", "the", "windows", "within", "in", "the", "given", "time", "range", "in", "backward", "order", "with", "respect", "to", "time", "(", "from", "end", "to", "beginning", "of", "time", ")" ]
[ "default", "key", "value", "iterator", "<", "windowed", "<", "k", ">", ",", "v", ">", "backward", "fetch", "all", "(", "instant", "time", "from", ",", "instant", "time", "to", ")", "throws", "illegal", "argument", "exception", "{", "throw", "new", "unsupported", "operation", "exception", "(", ")", ";", "}" ]
[ "get", "file", "md", "5", "from", "apk", "file", "list" ]
[ "private", "string", "get", "bundle", "file", "mapping", "md", "5", "(", "apk", "file", "list", "apk", "file", "list", ",", "string", "bundle", "file", "name", ",", "string", "file", "path", ",", "string", "cur", "md", "5", ")", "{", "if", "(", "null", "=", "=", "apk", "file", "list", ")", "{", "return", "cur", "md", "5", ";", "}", "string", "bundle", "name", "=", "null", ";", "if", "(", "null", "!", "=", "bundle", "file", "name", ")", "{", "bundle", "name", "=", "get", "bundle", "name", "(", "bundle", "file", "name", ")", ";", "if", "(", "null", "!", "=", "bundle", "name", ")", "{", "string", "mapping", "md", "5", "=", "apk", "file", "list", "get", "awb", "file", "(", "bundle", "name", ",", "file", "path", ")", ";", "if", "(", "null", "!", "=", "mapping", "md", "5", ")", "{", "return", "mapping", "md", "5", ";", "}", "}", "}", "else", "{", "/", "/", "string", "mapping", "md", "5", "=", "apk", "file", "list", "get", "main", "bundle", "(", ")", "get", "(", "file", "path", ")", ";", "if", "(", "null", "!", "=", "mapping", "md", "5", ")", "{", "return", "mapping", "md", "5", ";", "}", "}", "return", "cur", "md", "5", ";", "}" ]
[ "returns", "the", "addresses", "in", "common", "between", "program", "1", "and", "program", "2" ]
[ "public", "address", "set", "get", "addresses", "in", "common", "(", ")", "{", "return", "pgm", "mem", "comp", "get", "addresses", "in", "common", "(", ")", ";", "}" ]
[ "returns", "the", "type", "of", "the", "instructions", "in", "this", "filter" ]
[ "public", "pattern", "type", "get", "instruction", "type", "(", ")", "{", "return", "type", ";", "}" ]
[ "convert", "the", "given", "object", "to", "string", "with", "each", "line", "indented", "by", "4", "spaces", "(", "except", "the", "first", "line", ")" ]
[ "private", "string", "to", "indented", "string", "(", "object", "o", ")", "{", "if", "(", "o", "=", "=", "null", ")", "{", "return", "\"", "null", "\"", ";", "}", "return", "o", "to", "string", "(", ")", "replace", "(", "\"", "\\", "n", "\"", ",", "\"", "\\", "n", "\"", ")", ";", "}" ]
[ "set", "the", "given", "content", "as", "string", "on", "the", "given", "statement", ",", "using", "the", "given", "parameter", "index", "might", "simply", "invoke", "{", "@", "code", "prepared", "statement", "set", "string", "}", "or", "create", "a", "clob", "instance", "for", "it", ",", "depending", "on", "the", "database", "and", "driver" ]
[ "void", "set", "clob", "as", "string", "(", "prepared", "statement", "ps", ",", "int", "param", "index", ",", "@", "nullable", "string", "content", ")", "throws", "s", "q", "l", "exception", ";" ]
[ "get", "the", "instruction", "directly", "before", "this", "address", ",", "makeing", "sure", "it", "is", "the", "head", "instruction", "in", "a", "delayslot" ]
[ "instruction", "get", "instruction", "before", "(", "address", "address", ")", "{", "address", "addr", "before", "=", "address", "previous", "(", ")", ";", "instruction", "instr", "before", "=", "null", ";", "while", "(", "addr", "before", "!", "=", "null", ")", "{", "instr", "before", "=", "program", "get", "listing", "(", ")", "get", "instruction", "containing", "(", "addr", "before", ")", ";", "if", "(", "instr", "before", "=", "=", "null", ")", "{", "break", ";", "}", "if", "(", "!", "instr", "before", "is", "in", "delay", "slot", "(", ")", ")", "{", "break", ";", "}", "addr", "before", "=", "instr", "before", "get", "min", "address", "(", ")", "previous", "(", ")", ";", "}", "return", "instr", "before", ";", "}" ]
[ "sets", "the", "preference", "to", "execute", "the", "search", "defaults", "to", "randomize", "across", "shards", "can", "be", "set", "to", "{", "@", "code", "local", "}", "to", "prefer", "local", "shards", "or", "a", "custom", "value", ",", "which", "guarantees", "that", "the", "same", "order", "will", "be", "used", "across", "different", "requests" ]
[ "public", "cluster", "search", "shards", "request", "builder", "set", "preference", "(", "string", "preference", ")", "{", "request", "preference", "(", "preference", ")", ";", "return", "this", ";", "}" ]
[ "returns", "the", "listing", "merge", "panel", "this", "panel", "displays", "all", "four", "programs", "for", "a", "versioned", "merge", "above", "the", "listings", "in", "conflict", "information", "below", "the", "listings", "is", "a", "conflict", "panel", "for", "the", "user", "to", "resolve", "conflicts" ]
[ "listing", "merge", "panel", "get", "listing", "merge", "panel", "(", ")", "{", "return", "merge", "panel", ";", "}" ]
[ "create", "and", "return", "metadata", "updater", "that", "handles", "metadata", "requestsresponses" ]
[ "connector", "metadata", "updater", "get", "metadata", "updater", "(", ")", ";" ]
[ "sets", "the", "maximum", "wait", "for", "acknowledgement", "from", "other", "nodes" ]
[ "public", "request", "builder", "set", "timeout", "(", "time", "value", "timeout", ")", "{", "request", "timeout", "(", "timeout", ")", ";", "return", "(", "request", "builder", ")", "this", ";", "}" ]
[ "get", "the", "next", "stream", "id", "either", "from", "the", "{", "@", "link", "http", "headers", "}", "object", "or", "http2", "codec" ]
[ "private", "int", "get", "stream", "id", "(", "http", "headers", "http", "headers", ")", "throws", "exception", "{", "return", "http", "headers", "get", "int", "(", "http", "conversion", "util", "extension", "header", "names", "stream", "id", "text", "(", ")", ",", "connection", "(", ")", "local", "(", ")", "increment", "and", "get", "next", "stream", "id", "(", ")", ")", ";", "}" ]
[ "return", "the", "assigned", "{", "@", "link", "recv", "byte", "buf", "allocator", "handle", "}", "which", "will", "be", "used", "to", "allocate", "{", "@", "link", "byte", "buf", "}", "'", "s", "when", "receiving", "data" ]
[ "recv", "byte", "buf", "allocator", "handle", "recv", "buf", "alloc", "handle", "(", ")", ";" ]
[ "creates", "a", "file", "and", "deletes", "it" ]
[ "public", "void", "test", "create", "file", "(", ")", "throws", "exception", "{", "path", "file", "=", "touch", "(", "sftp", "fs", ",", "name", "get", "method", "name", "(", ")", "to", "lower", "case", "(", ")", ")", ";", "assert", "true", "(", "local", "fs", "exists", "(", "file", ")", ")", ";", "assert", "true", "(", "sftp", "fs", "delete", "(", "file", ",", "false", ")", ")", ";", "assert", "false", "(", "local", "fs", "exists", "(", "file", ")", ")", ";", "assert", "that", "(", "(", "(", "s", "f", "t", "p", "file", "system", ")", "sftp", "fs", ")", "get", "connection", "pool", "(", ")", "get", "live", "conn", "count", "(", ")", ",", "is", "(", "1", ")", ")", ";", "}" ]
[ "add", "a", "new", "declared", "parameter", "order", "of", "parameter", "addition", "is", "significant" ]
[ "public", "void", "add", "parameter", "(", "sql", "parameter", "param", ")", "{", "this", "declared", "parameters", "add", "(", "param", ")", ";", "}" ]
[ "gets", "the", "minimum", "resource", "for", "the", "task" ]
[ "public", "resource", "spec", "get", "min", "resources", "(", ")", "{", "return", "min", "resources", ";", "}" ]
[ "handle", "any", "completed", "request", "send", "in", "particular", "if", "no", "response", "is", "expected", "consider", "the", "request", "complete" ]
[ "private", "void", "handle", "completed", "sends", "(", "list", "<", "client", "response", ">", "responses", ",", "long", "now", ")", "{", "/", "/", "if", "no", "response", "is", "expected", "then", "when", "the", "send", "is", "completed", ",", "return", "it", "for", "(", "network", "send", "send", ":", "this", "selector", "completed", "sends", "(", ")", ")", "{", "in", "flight", "request", "request", "=", "this", "in", "flight", "requests", "last", "sent", "(", "send", "destination", "id", "(", ")", ")", ";", "if", "(", "!", "request", "expect", "response", ")", "{", "this", "in", "flight", "requests", "complete", "last", "sent", "(", "send", "destination", "id", "(", ")", ")", ";", "responses", "add", "(", "request", "completed", "(", "null", ",", "now", ")", ")", ";", "}", "}", "}" ]
[ "test", "with", "partial", "record", "at", "the", "end", "of", "a", "compressed", "input", "file" ]
[ "public", "void", "test", "partial", "record", "compressed", "in", "(", ")", "throws", "exception", "{", "compression", "codec", "gzip", "=", "new", "gzip", "codec", "(", ")", ";", "run", "partial", "record", "test", "(", "gzip", ")", ";", "}" ]
[ "add", "a", "reader", "for", "the", "shard", "level", "results", "of", "the", "aggregation", "with", "{", "@", "linkplain", "#", "get", "name", "}", "'", "s", "{", "@", "link", "parse", "field", "#", "get", "preferred", "name", "(", ")", "}", "as", "the", "{", "@", "link", "named", "writeable", "#", "get", "writeable", "name", "(", ")", "}" ]
[ "public", "aggregation", "spec", "add", "result", "reader", "(", "writeable", "reader", "<", "?", "extends", "internal", "aggregation", ">", "result", "reader", ")", "{", "return", "add", "result", "reader", "(", "get", "name", "(", ")", "get", "preferred", "name", "(", ")", ",", "result", "reader", ")", ";", "}" ]
[ "returns", "the", "alignment" ]
[ "public", "int", "get", "align", "(", ")", "{", "return", "align", ";", "}" ]
[ "append", "a", "control", "record", "at", "the", "given", "offset", "the", "control", "record", "type", "must", "be", "known", "or", "this", "method", "will", "raise", "an", "error" ]
[ "public", "long", "append", "control", "record", "with", "offset", "(", "long", "offset", ",", "simple", "record", "record", ")", "{", "short", "type", "id", "=", "control", "record", "type", "parse", "type", "id", "(", "record", "key", "(", ")", ")", ";", "control", "record", "type", "type", "=", "control", "record", "type", "from", "type", "id", "(", "type", "id", ")", ";", "if", "(", "type", "=", "=", "control", "record", "type", "unknown", ")", "throw", "new", "illegal", "argument", "exception", "(", "\"", "cannot", "append", "record", "with", "unknown", "control", "record", "type", "\"", "+", "type", "id", ")", ";", "return", "append", "with", "offset", "(", "offset", ",", "true", ",", "record", "timestamp", "(", ")", ",", "record", "key", "(", ")", ",", "record", "value", "(", ")", ",", "record", "headers", "(", ")", ")", ";", "}" ]
[ "abort", "a", "multipart", "upload", "operation" ]
[ "void", "abort", "multipart", "upload", "(", "final", "string", "dest", "key", ",", "final", "string", "upload", "id", ")", "throws", "obs", "exception", "{", "log", "debug", "(", "\"", "aborting", "multipart", "upload", "{", "}", "\"", ",", "upload", "id", ")", ";", "obs", "abort", "multipart", "upload", "(", "new", "abort", "multipart", "upload", "request", "(", "bucket", ",", "dest", "key", ",", "upload", "id", ")", ")", ";", "}" ]
[ "whether", "the", "given", "model", "should", "be", "swipable", "true", "by", "default", "you", "may", "override", "this", "to", "toggle", "swipabaility", "for", "a", "model" ]
[ "public", "boolean", "is", "swipe", "enabled", "for", "model", "(", "t", "model", ")", "{", "return", "true", ";", "}" ]
[ "source", "line", "and", "column", "info", "<", "code", ">", "optional", "aapt", "pb", "source", "position", "source", "=", "3", ";", "<", "code", ">" ]
[ "public", "builder", "set", "source", "(", "com", "android", "aapt", "resources", "source", "position", "value", ")", "{", "copy", "on", "write", "(", ")", ";", "instance", "set", "source", "(", "value", ")", ";", "return", "this", ";", "}" ]
[ "gets", "the", "ith", "element", "of", "given", "table", "(", "if", "nonnull", ")", "with", "volatile", "read", "semantics", "note", ":", "this", "is", "manually", "integrated", "into", "a", "few", "performance", "-", "sensitive", "methods", "to", "reduce", "call", "overhead" ]
[ "static", "final", "<", "k", ",", "v", ">", "hash", "entry", "<", "k", ",", "v", ">", "entry", "at", "(", "hash", "entry", "<", "k", ",", "v", ">", "[", "]", "tab", ",", "int", "i", ")", "{", "return", "(", "tab", "=", "=", "null", ")", "?", "null", ":", "(", "hash", "entry", "<", "k", ",", "v", ">", ")", "unsafe", "get", "object", "volatile", "(", "tab", ",", "(", "(", "long", ")", "i", "<", "<", "tshift", ")", "+", "tbase", ")", ";", "}" ]
[ "{", "@", "link", "key", "type", "enum", "#", "build", "(", "string", ",", "string", ")", "}" ]
[ "public", "void", "test", "build", "(", ")", "{", "assert", "equals", "(", "\"", "/", "a", "/", "b", "/", "c", "\"", ",", "key", "type", "enum", "path", "build", "(", "\"", "/", "a", "\"", ",", "\"", "/", "b", "\"", ",", "\"", "c", "\"", ")", ")", ";", "assert", "equals", "(", "\"", "a", ":", "b", ":", "c", "\"", ",", "key", "type", "enum", "unique", "key", "build", "(", "\"", "a", "\"", ",", "\"", "b", "\"", ",", "\"", "c", "\"", ")", ")", ";", "}" ]
[ "returns", "the", "statistics", "on", "the", "{", "@", "code", "y", "}", "values", "alone" ]
[ "public", "stats", "y", "stats", "(", ")", "{", "return", "y", "stats", ";", "}" ]
[ "convert", "the", "given", "object", "to", "string", "with", "each", "line", "indented", "by", "4", "spaces", "(", "except", "the", "first", "line", ")" ]
[ "private", "string", "to", "indented", "string", "(", "object", "o", ")", "{", "if", "(", "o", "=", "=", "null", ")", "{", "return", "\"", "null", "\"", ";", "}", "return", "o", "to", "string", "(", ")", "replace", "(", "\"", "\\", "n", "\"", ",", "\"", "\\", "n", "\"", ")", ";", "}" ]
[ "helper", "function", "to", "decode", "the", "url", "of", "the", "filename", "of", "the", "job", "-", "history", "log", "file" ]
[ "public", "static", "string", "decode", "job", "history", "file", "name", "(", "string", "log", "file", "name", ")", "throws", "i", "o", "exception", "{", "string", "decoded", "file", "name", "=", "null", ";", "try", "{", "decoded", "file", "name", "=", "u", "r", "l", "decoder", "decode", "(", "log", "file", "name", ",", "\"", "utf", "-", "8", "\"", ")", ";", "}", "catch", "(", "unsupported", "encoding", "exception", "uee", ")", "{", "i", "o", "exception", "ioe", "=", "new", "i", "o", "exception", "(", ")", ";", "ioe", "init", "cause", "(", "uee", ")", ";", "ioe", "set", "stack", "trace", "(", "uee", "get", "stack", "trace", "(", ")", ")", ";", "throw", "ioe", ";", "}", "return", "decoded", "file", "name", ";", "}" ]
[ "the", "result", "from", "processing", "the", "item", "will", "be", "null", "if", "the", "item", "was", "cancelled", "or", "had", "an", "error" ]
[ "public", "r", "get", "result", "(", ")", "throws", "exception", "{", "if", "(", "has", "error", "(", ")", ")", "{", "throw", "error", ";", "}", "return", "result", ";", "}" ]
[ "copy", "from", "netty", ",", ",", ",", "private", "static", "runtime", "exception", "timeout", "exception", "=", "exception", "util", "set", "stack", "trace", "(", "new", "runtime", "exception", "(", "\"", "timeout", "\"", ")", ",", "my", "class", "class", ",", "\"", "mymethod", "\"", ")", ";" ]
[ "public", "static", "<", "t", "extends", "throwable", ">", "t", "set", "stack", "trace", "(", "@", "not", "null", "t", "throwable", ",", "class", "<", "?", ">", "throw", "class", ",", "string", "throw", "clazz", ")", "{", "throwable", "set", "stack", "trace", "(", "new", "stack", "trace", "element", "[", "]", "{", "new", "stack", "trace", "element", "(", "throw", "class", "get", "name", "(", ")", ",", "throw", "clazz", ",", "null", ",", "-", "1", ")", "}", ")", ";", "return", "throwable", ";", "}" ]
[ ",", "from", "spring", "socket", "utils" ]
[ "public", "static", "int", "find", "random", "available", "port", "(", ")", "{", "return", "find", "random", "available", "port", "(", "port", "range", "min", ",", "port", "range", "max", ")", ";", "}" ]
[ "the", "data", "object", "is", "not", "converted", "to", "bytes", "it", "is", "held", "onto", "in", "a", "field", "instead", ",", "a", "checksum", "is", "written", "out", "to", "prevent", "unwanted", "drags", "across", "multiple", "running", "copies", "of", "eclipse" ]
[ "public", "void", "java", "to", "native", "(", "object", "object", ",", "transfer", "data", "transfer", "data", ")", "{", "set", "object", "(", "(", "object", "type", ")", "object", ")", ";", "start", "time", "=", "system", "current", "time", "millis", "(", ")", ";", "if", "(", "transfer", "data", "!", "=", "null", ")", "super", "java", "to", "native", "(", "string", "value", "of", "(", "start", "time", ")", "get", "bytes", "(", "charset", "default", "charset", "(", ")", ")", ",", "transfer", "data", ")", ";", "}" ]
[ "location", "to", "write", "model", "files", "you", "can", "use", "the", "model", "package", "(", ")", "as", "defined", "when", "the", "class", "is", "instantiated" ]
[ "public", "string", "model", "file", "folder", "(", ")", "{", "return", "output", "folder", "+", "file", "separator", "+", "source", "folder", "+", "file", "separator", "+", "model", "package", "(", ")", "replace", "(", "'", "'", ",", "file", "separator", "char", ")", ";", "}" ]
[ "retrieve", "the", "message", "for", "the", "given", "code", ",", "using", "the", "\"", "default", "html", "escape", "\"", "setting" ]
[ "public", "string", "get", "message", "(", "string", "code", ")", "throws", "no", "such", "message", "exception", "{", "return", "get", "message", "(", "code", ",", "null", ",", "is", "default", "html", "escape", "(", ")", ")", ";", "}" ]
[ "get", "the", "minimum", "of", "some", "long", "values" ]
[ "public", "static", "long", "min", "(", "long", "first", ",", "long", "rest", ")", "{", "long", "min", "=", "first", ";", "for", "(", "long", "r", ":", "rest", ")", "{", "if", "(", "r", "<", "min", ")", "min", "=", "r", ";", "}", "return", "min", ";", "}" ]
[ "returns", "whether", "the", "rule", "in", "the", "given", "rule", "context", "was", "instantiated", "in", "a", "allowlist" ]
[ "public", "static", "boolean", "is", "available", "(", "rule", "context", "rule", "context", ",", "string", "allowlist", "name", ")", "{", "return", "is", "available", "for", "(", "rule", "context", ",", "allowlist", "name", ",", "rule", "context", "get", "label", "(", ")", ")", ";", "}" ]
[ "applies", "the", "given", "window", "function", "to", "each", "window", "the", "window", "function", "is", "called", "for", "each", "evaluation", "of", "the", "window", "for", "each", "key", "individually", "the", "output", "of", "the", "window", "function", "is", "interpreted", "as", "a", "regular", "non", "-", "windowed", "stream", "arriving", "data", "is", "incrementally", "aggregated", "using", "the", "given", "reducer" ]
[ "public", "<", "r", ">", "single", "output", "stream", "operator", "<", "r", ">", "reduce", "(", "reduce", "function", "<", "t", ">", "reduce", "function", ",", "window", "function", "<", "t", ",", "r", ",", "k", ",", "w", ">", "function", ",", "type", "information", "<", "r", ">", "result", "type", ")", "{", "/", "/", "clean", "the", "closures", "function", "=", "input", "get", "execution", "environment", "(", ")", "clean", "(", "function", ")", ";", "reduce", "function", "=", "input", "get", "execution", "environment", "(", ")", "clean", "(", "reduce", "function", ")", ";", "final", "string", "op", "name", "=", "builder", "generate", "operator", "name", "(", "reduce", "function", ",", "function", ")", ";", "one", "input", "stream", "operator", "<", "t", ",", "r", ">", "operator", "=", "builder", "reduce", "(", "reduce", "function", ",", "function", ")", ";", "return", "input", "transform", "(", "op", "name", ",", "result", "type", ",", "operator", ")", ";", "}" ]
[ "set", "whether", "a", "debug", "overlay", "that", "displays", "image", "information", ",", "like", "dimensions", "and", "size", "should", "be", "drawn", "on", "top", "of", "a", "drawee", "view" ]
[ "public", "builder", "set", "debug", "overlay", "enabled", "supplier", "(", "supplier", "<", "boolean", ">", "debug", "overlay", "enabled", "supplier", ")", "{", "preconditions", "check", "not", "null", "(", "debug", "overlay", "enabled", "supplier", ")", ";", "m", "debug", "overlay", "enabled", "supplier", "=", "debug", "overlay", "enabled", "supplier", ";", "return", "this", ";", "}" ]
[ "returns", "all", "nodes", "in", "this", "graph", "adjacent", "to", "{", "@", "code", "node", "}", "which", "can", "be", "reached", "by", "traversing", "{", "@", "code", "node", "}", "'", "s", "outgoing", "edges", "in", "the", "direction", "(", "if", "any", ")", "of", "the", "edge", "in", "an", "undirected", "graph", ",", "this", "is", "equivalent", "to", "{", "@", "link", "#", "adjacent", "nodes", "(", "object", ")", "}", "this", "is", "not", "the", "same", "as", "\"", "all", "nodes", "reachable", "from", "{", "@", "code", "node", "}", "by", "following", "outgoing", "edges", "\"", "for", "that", "functionality", ",", "see", "{", "@", "link", "graphs", "#", "reachable", "nodes", "(", "graph", ",", "object", ")", "}" ]
[ "set", "<", "n", ">", "successors", "(", "n", "node", ")", ";" ]
[ "gets", "the", "address", "set", "where", "detailed", "differences", "will", "be", "determined", "for", "details", "at", "the", "indicated", "address", "an", "address", "set", "is", "returned", "since", "the", "indicated", "address", "may", "be", "in", "different", "sized", "code", "units", "in", "each", "of", "the", "two", "programs" ]
[ "address", "set", "view", "get", "details", "address", "set", "(", "address", "p", "1", "address", ")", "{", "if", "(", "diff", "details", "!", "=", "null", ")", "{", "return", "diff", "details", "get", "details", "address", "set", "(", "p", "1", "address", ")", ";", "}", "return", "null", ";", "}" ]
[ "gets", "called", "when", "the", "user", "updates", "the", "description" ]
[ "protected", "void", "updated", "description", "(", ")", "{", "if", "(", "!", "description", "text", "field", "is", "showing", "(", ")", ")", "{", "return", ";", "}", "/", "/", "adjust", "the", "value", "string", "new", "value", "=", "this", "description", "text", "field", "get", "text", "(", ")", "trim", "(", ")", ";", "if", "(", "!", "new", "value", "equals", "(", "model", "get", "description", "(", ")", ")", ")", "{", "model", "set", "description", "(", "new", "value", ")", ";", "}", "}" ]
[ "guaranteed", "to", "throw", "an", "exception", "and", "leave", "the", "multimap", "unmodified" ]
[ "public", "immutable", "set", "<", "v", ">", "remove", "all", "(", "object", "key", ")", "{", "throw", "new", "unsupported", "operation", "exception", "(", ")", ";", "}" ]
[ "the", "value", "of", "the", "start", "pc", "item", "must", "indicate", "the", "index", "into", "the", "code", "array", "at", "which", "the", "code", "for", "a", "new", "line", "in", "the", "original", "source", "file", "begins", "the", "value", "of", "start", "pc", "must", "be", "less", "than", "the", "value", "of", "the", "code", "length", "item", "of", "the", "code", "attribute", "of", "which", "this", "line", "number", "table", "is", "an", "attribute" ]
[ "public", "int", "get", "start", "p", "c", "(", ")", "{", "return", "start", "p", "c", "&", "0xffff", ";", "}" ]
[ "deletes", "the", "given", "branch", "instruction", ",", "or", "replaces", "it", "by", "a", "simpler", "branch", "instruction", ",", "if", "possible" ]
[ "private", "void", "replace", "branch", "instruction", "(", "clazz", "clazz", ",", "int", "offset", ",", "instruction", "instruction", ")", "{", "instruction", "offset", "value", "branch", "targets", "=", "partial", "evaluator", "branch", "targets", "(", "offset", ")", ";", "/", "/", "is", "there", "exactly", "one", "branch", "target", "(", "not", "from", "a", "goto", "or", "jsr", ")", "?", "if", "(", "branch", "targets", "!", "=", "null", "&", "&", "branch", "targets", "instruction", "offset", "count", "(", ")", "=", "=", "1", ")", "{", "/", "/", "is", "it", "branching", "to", "the", "next", "instruction", "?", "int", "branch", "offset", "=", "branch", "targets", "instruction", "offset", "(", "0", ")", "-", "offset", ";", "if", "(", "branch", "offset", "=", "=", "instruction", "length", "(", "offset", ")", ")", "{", "if", "(", "debug", ")", "system", "out", "println", "(", "\"", "ignoring", "zero", "branch", "instruction", "at", "[", "\"", "+", "offset", "+", "\"", "]", "\"", ")", ";", "}", "else", "{", "/", "/", "replace", "the", "branch", "instruction", "by", "a", "simple", "branch", "instruction", "instruction", "replacement", "instruction", "=", "new", "branch", "instruction", "(", "instruction", "constants", "op", "goto", ",", "branch", "offset", ")", ";", "replace", "instruction", "(", "clazz", ",", "offset", ",", "instruction", ",", "replacement", "instruction", ")", ";", "}", "}", "}" ]
[ "runs", "a", "scatter", "gather", "iteration", "on", "the", "graph", "with", "configuration", "options" ]
[ "public", "<", "m", ">", "graph", "<", "k", ",", "vv", ",", "ev", ">", "run", "scatter", "gather", "iteration", "(", "scatter", "function", "<", "k", ",", "vv", ",", "m", ",", "ev", ">", "scatter", "function", ",", "org", "apache", "flink", "graph", "spargel", "gather", "function", "<", "k", ",", "vv", ",", "m", ">", "gather", "function", ",", "int", "maximum", "number", "of", "iterations", ",", "scatter", "gather", "configuration", "parameters", ")", "{", "scatter", "gather", "iteration", "<", "k", ",", "vv", ",", "m", ",", "ev", ">", "iteration", "=", "scatter", "gather", "iteration", "with", "edges", "(", "edges", ",", "scatter", "function", ",", "gather", "function", ",", "maximum", "number", "of", "iterations", ")", ";", "iteration", "configure", "(", "parameters", ")", ";", "data", "set", "<", "vertex", "<", "k", ",", "vv", ">", ">", "new", "vertices", "=", "this", "get", "vertices", "(", ")", "run", "operation", "(", "iteration", ")", ";", "return", "new", "graph", "<", ">", "(", "new", "vertices", ",", "this", "edges", ",", "this", "context", ")", ";", "}" ]
[ "to", "test", "class", "name", "in", "snake", "case", "to", "test", "class", "name", "in", "snake", "case" ]
[ "client", "test", "classname", "(", "client", "body", ")", ";" ]
[ "interrupts", "the", "current", "thread", "after", "sleeping", "for", "the", "specified", "delay" ]
[ "static", "void", "request", "interrupt", "in", "(", "final", "long", "time", ",", "final", "time", "unit", "unit", ")", "{", "check", "not", "null", "(", "unit", ")", ";", "final", "thread", "interruptee", "=", "thread", "current", "thread", "(", ")", ";", "new", "thread", "(", "new", "runnable", "(", ")", "{", "@", "override", "public", "void", "run", "(", ")", "{", "try", "{", "unit", "sleep", "(", "time", ")", ";", "}", "catch", "(", "interrupted", "exception", "wont", "happen", ")", "{", "throw", "new", "assertion", "error", "(", "wont", "happen", ")", ";", "}", "interruptee", "interrupt", "(", ")", ";", "}", "}", ")", "start", "(", ")", ";", "}" ]
[ "get", "the", "next", "unique", "id", "(", "within", "the", "given", "{", "@", "link", "page", "context", "}", ")", "for", "the", "supplied", "name" ]
[ "public", "static", "string", "next", "id", "(", "string", "name", ",", "page", "context", "page", "context", ")", "{", "string", "attribute", "name", "=", "page", "context", "attribute", "prefix", "+", "name", ";", "integer", "current", "count", "=", "(", "integer", ")", "page", "context", "get", "attribute", "(", "attribute", "name", ")", ";", "current", "count", "=", "(", "current", "count", "!", "=", "null", "?", "current", "count", "+", "1", ":", "1", ")", ";", "page", "context", "set", "attribute", "(", "attribute", "name", ",", "current", "count", ")", ";", "return", "(", "name", "+", "current", "count", ")", ";", "}" ]
[ "return", "the", "allowed", "{", "@", "code", "origin", "}", "pattern", "header", "values" ]
[ "public", "collection", "<", "string", ">", "get", "allowed", "origin", "patterns", "(", ")", "{", "list", "<", "string", ">", "allowed", "origin", "patterns", "=", "this", "cors", "configuration", "get", "allowed", "origin", "patterns", "(", ")", ";", "return", "(", "collection", "utils", "is", "empty", "(", "allowed", "origin", "patterns", ")", "?", "collections", "empty", "set", "(", ")", ":", "collections", "unmodifiable", "set", "(", "new", "linked", "hash", "set", "<", ">", "(", "allowed", "origin", "patterns", ")", ")", ")", ";", "}" ]
[ "equivalent", "to", "{", "@", "code", "add", "(", "-", "1", ")", "}" ]
[ "public", "void", "decrement", "(", ")", "{", "add", "(", "-", "1l", ")", ";", "}" ]
[ "makes", "{", "@", "link", "adjunct", "manager", "}", "url", "-", "bound", "the", "dummy", "parameter", "allows", "us", "to", "use", "different", "u", "r", "ls", "for", "the", "same", "adjunct", ",", "for", "proper", "cache", "handling" ]
[ "public", "adjunct", "manager", "get", "adjuncts", "(", "string", "dummy", ")", "{", "return", "adjuncts", ";", "}" ]
[ "set", "the", "names", "of", "the", "beans", "that", "this", "bean", "depends", "on", "being", "initialized", "the", "bean", "factory", "will", "guarantee", "that", "these", "beans", "get", "initialized", "first", "note", "that", "dependencies", "are", "normally", "expressed", "through", "bean", "properties", "or", "constructor", "arguments", "this", "property", "should", "just", "be", "necessary", "for", "other", "kinds", "of", "dependencies", "like", "statics", "(", "ugh", ")", "or", "database", "preparation", "on", "startup" ]
[ "public", "void", "set", "depends", "on", "(", "@", "nullable", "string", "depends", "on", ")", "{", "this", "depends", "on", "=", "depends", "on", ";", "}" ]
[ "whether", "this", "serializer", "supports", "the", "version", "of", "the", "output", "stream" ]
[ "default", "boolean", "supports", "version", "(", "diff", "<", "v", ">", "value", ",", "version", "version", ")", "{", "return", "true", ";", "}" ]
[ "returns", "the", "last", "item" ]
[ "public", "char", "peek", "(", ")", "{", "return", "items", "[", "size", "-", "1", "]", ";", "}" ]
[ "convert", "the", "given", "object", "to", "string", "with", "each", "line", "indented", "by", "4", "spaces", "(", "except", "the", "first", "line", ")" ]
[ "private", "string", "to", "indented", "string", "(", "object", "o", ")", "{", "if", "(", "o", "=", "=", "null", ")", "{", "return", "\"", "null", "\"", ";", "}", "return", "o", "to", "string", "(", ")", "replace", "(", "\"", "\\", "n", "\"", ",", "\"", "\\", "n", "\"", ")", ";", "}" ]