docstring_tokens
list
code_tokens
list
[ "<", "code", ">", "repeated", "jscomp", "requirement", "whitelist", "entry", "whitelist", "entry", "=", "14", ";", "<", "/", "code", ">" ]
[ "if", "(", "whitelist", "entry", "builder", "=", "=", "null", ")", "{", "ensure", "whitelist", "entry", "is", "mutable", "(", ")", ";", "whitelist", "entry", "add", "(", "index", ",", "builder", "for", "value", "build", "(", ")", ")", ";", "on", "changed", "(", ")", ";", "}", "else", "{", "whitelist", "entry", "builder", "add", "message", "(", "index", ",", "builder", "for", "value", "build", "(", ")", ")", ";", "}", "return", "this", ";" ]
[ "<", "code", ">", "repeated", "jscomp", "requirement", "whitelist", "entry", "whitelist", "entry", "=", "14", ";", "<", "/", "code", ">" ]
[ "if", "(", "whitelist", "entry", "builder", "=", "=", "null", ")", "{", "ensure", "whitelist", "entry", "is", "mutable", "(", ")", ";", "com", "google", "protobuf", "abstract", "message", "lite", "builder", "add", "all", "(", "values", ",", "whitelist", "entry", ")", ";", "on", "changed", "(", ")", ";", "}", "else", "{", "whitelist", "entry", "builder", "add", "all", "messages", "(", "values", ")", ";", "}", "return", "this", ";" ]
[ "<", "code", ">", "repeated", "jscomp", "requirement", "whitelist", "entry", "whitelist", "entry", "=", "14", ";", "<", "/", "code", ">" ]
[ "if", "(", "whitelist", "entry", "builder", "=", "=", "null", ")", "{", "whitelist", "entry", "=", "java", "util", "collections", "empty", "list", "(", ")", ";", "bit", "field", "0", "=", "(", "bit", "field", "0", "&", "~", "0x", "0", "0", "0", "0", "0", "0", "0", "8", ")", ";", "on", "changed", "(", ")", ";", "}", "else", "{", "whitelist", "entry", "builder", "clear", "(", ")", ";", "}", "return", "this", ";" ]
[ "<", "code", ">", "repeated", "jscomp", "requirement", "whitelist", "entry", "whitelist", "entry", "=", "14", ";", "<", "/", "code", ">" ]
[ "if", "(", "whitelist", "entry", "builder", "=", "=", "null", ")", "{", "ensure", "whitelist", "entry", "is", "mutable", "(", ")", ";", "whitelist", "entry", "remove", "(", "index", ")", ";", "on", "changed", "(", ")", ";", "}", "else", "{", "whitelist", "entry", "builder", "remove", "(", "index", ")", ";", "}", "return", "this", ";" ]
[ "<", "code", ">", "repeated", "jscomp", "requirement", "whitelist", "entry", "whitelist", "entry", "=", "14", ";", "<", "/", "code", ">" ]
[ "return", "get", "whitelist", "entry", "field", "builder", "(", ")", "get", "builder", "(", "index", ")", ";" ]
[ "<", "code", ">", "repeated", "jscomp", "requirement", "whitelist", "entry", "whitelist", "entry", "=", "14", ";", "<", "/", "code", ">" ]
[ "if", "(", "whitelist", "entry", "builder", "=", "=", "null", ")", "{", "return", "whitelist", "entry", "get", "(", "index", ")", ";", "}", "else", "{", "return", "whitelist", "entry", "builder", "get", "message", "or", "builder", "(", "index", ")", ";", "}" ]
[ "<", "code", ">", "repeated", "jscomp", "requirement", "whitelist", "entry", "whitelist", "entry", "=", "14", ";", "<", "/", "code", ">" ]
[ "if", "(", "whitelist", "entry", "builder", "!", "=", "null", ")", "{", "return", "whitelist", "entry", "builder", "get", "message", "or", "builder", "list", "(", ")", ";", "}", "else", "{", "return", "java", "util", "collections", "unmodifiable", "list", "(", "whitelist", "entry", ")", ";", "}" ]
[ "<", "code", ">", "repeated", "jscomp", "requirement", "whitelist", "entry", "whitelist", "entry", "=", "14", ";", "<", "/", "code", ">" ]
[ "return", "get", "whitelist", "entry", "field", "builder", "(", ")", "add", "builder", "(", "com", "google", "javascript", "jscomp", "requirement", "whitelist", "entry", "get", "default", "instance", "(", ")", ")", ";" ]
[ "<", "code", ">", "repeated", "jscomp", "requirement", "whitelist", "entry", "whitelist", "entry", "=", "14", ";", "<", "/", "code", ">" ]
[ "return", "get", "whitelist", "entry", "field", "builder", "(", ")", "add", "builder", "(", "index", ",", "com", "google", "javascript", "jscomp", "requirement", "whitelist", "entry", "get", "default", "instance", "(", ")", ")", ";" ]
[ "<", "code", ">", "repeated", "jscomp", "requirement", "whitelist", "entry", "whitelist", "entry", "=", "14", ";", "<", "/", "code", ">" ]
[ "return", "get", "whitelist", "entry", "field", "builder", "(", ")", "get", "builder", "list", "(", ")", ";" ]
[ "<", "pre", ">", "optional", ":", "a", "list", "of", "source", "paths", "that", "will", "be", "checked", "for", "the", "requirement", "(", "the", "opposite", "of", "whitelist", ")", "<", "/", "pre", ">" ]
[ "return", "only", "apply", "to", "get", "unmodifiable", "view", "(", ")", ";" ]
[ "<", "pre", ">", "optional", ":", "a", "list", "of", "source", "paths", "that", "will", "be", "checked", "for", "the", "requirement", "(", "the", "opposite", "of", "whitelist", ")", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "ensure", "only", "apply", "to", "is", "mutable", "(", ")", ";", "only", "apply", "to", "set", "(", "index", ",", "value", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "optional", ":", "a", "list", "of", "source", "paths", "that", "will", "be", "checked", "for", "the", "requirement", "(", "the", "opposite", "of", "whitelist", ")", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "ensure", "only", "apply", "to", "is", "mutable", "(", ")", ";", "only", "apply", "to", "add", "(", "value", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "optional", ":", "a", "list", "of", "source", "paths", "that", "will", "be", "checked", "for", "the", "requirement", "(", "the", "opposite", "of", "whitelist", ")", "<", "/", "pre", ">" ]
[ "ensure", "only", "apply", "to", "is", "mutable", "(", ")", ";", "com", "google", "protobuf", "abstract", "message", "lite", "builder", "add", "all", "(", "values", ",", "only", "apply", "to", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "optional", ":", "a", "list", "of", "source", "paths", "that", "will", "be", "checked", "for", "the", "requirement", "(", "the", "opposite", "of", "whitelist", ")", "<", "/", "pre", ">" ]
[ "only", "apply", "to", "=", "com", "google", "protobuf", "lazy", "string", "array", "list", "empty", ";", "bit", "field", "0", "=", "(", "bit", "field", "0", "&", "~", "0x", "0", "0", "0", "0", "0", "0", "1", "0", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "optional", ":", "a", "list", "of", "source", "paths", "that", "will", "be", "checked", "for", "the", "requirement", "(", "the", "opposite", "of", "whitelist", ")", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "ensure", "only", "apply", "to", "is", "mutable", "(", ")", ";", "only", "apply", "to", "add", "(", "value", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "optional", ":", "a", "list", "of", "source", "path", "regexps", "that", "will", "be", "checked", "for", "the", "requirement", "(", "the", "opposite", "of", "whitelist", "regexp", ")", "<", "/", "pre", ">" ]
[ "return", "only", "apply", "to", "regexp", "get", "unmodifiable", "view", "(", ")", ";" ]
[ "<", "pre", ">", "optional", ":", "a", "list", "of", "source", "path", "regexps", "that", "will", "be", "checked", "for", "the", "requirement", "(", "the", "opposite", "of", "whitelist", "regexp", ")", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "ensure", "only", "apply", "to", "regexp", "is", "mutable", "(", ")", ";", "only", "apply", "to", "regexp", "set", "(", "index", ",", "value", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "optional", ":", "a", "list", "of", "source", "path", "regexps", "that", "will", "be", "checked", "for", "the", "requirement", "(", "the", "opposite", "of", "whitelist", "regexp", ")", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "ensure", "only", "apply", "to", "regexp", "is", "mutable", "(", ")", ";", "only", "apply", "to", "regexp", "add", "(", "value", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "optional", ":", "a", "list", "of", "source", "path", "regexps", "that", "will", "be", "checked", "for", "the", "requirement", "(", "the", "opposite", "of", "whitelist", "regexp", ")", "<", "/", "pre", ">" ]
[ "ensure", "only", "apply", "to", "regexp", "is", "mutable", "(", ")", ";", "com", "google", "protobuf", "abstract", "message", "lite", "builder", "add", "all", "(", "values", ",", "only", "apply", "to", "regexp", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "optional", ":", "a", "list", "of", "source", "path", "regexps", "that", "will", "be", "checked", "for", "the", "requirement", "(", "the", "opposite", "of", "whitelist", "regexp", ")", "<", "/", "pre", ">" ]
[ "only", "apply", "to", "regexp", "=", "com", "google", "protobuf", "lazy", "string", "array", "list", "empty", ";", "bit", "field", "0", "=", "(", "bit", "field", "0", "&", "~", "0x", "0", "0", "0", "0", "0", "0", "2", "0", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "optional", ":", "a", "list", "of", "source", "path", "regexps", "that", "will", "be", "checked", "for", "the", "requirement", "(", "the", "opposite", "of", "whitelist", "regexp", ")", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "ensure", "only", "apply", "to", "regexp", "is", "mutable", "(", ")", ";", "only", "apply", "to", "regexp", "add", "(", "value", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "required", ":", "the", "type", "of", "requirement", "<", "/", "pre", ">" ]
[ "return", "(", "(", "bit", "field", "0", "&", "0x", "0", "0", "0", "0", "0", "0", "4", "0", ")", "=", "=", "0x", "0", "0", "0", "0", "0", "0", "4", "0", ")", ";" ]
[ "<", "pre", ">", "required", ":", "the", "type", "of", "requirement", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "bit", "field", "0", "|", "=", "0x", "0", "0", "0", "0", "0", "0", "4", "0", ";", "type", "=", "value", "get", "number", "(", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "required", ":", "the", "type", "of", "requirement", "<", "/", "pre", ">" ]
[ "bit", "field", "0", "=", "(", "bit", "field", "0", "&", "~", "0x", "0", "0", "0", "0", "0", "0", "4", "0", ")", ";", "type", "=", "1", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "the", "value", "banned", "optional", "for", "custom", "requirements", "<", "/", "pre", ">" ]
[ "return", "value", "get", "unmodifiable", "view", "(", ")", ";" ]
[ "<", "pre", ">", "the", "value", "banned", "optional", "for", "custom", "requirements", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "ensure", "value", "is", "mutable", "(", ")", ";", "value", "set", "(", "index", ",", "value", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "the", "value", "banned", "optional", "for", "custom", "requirements", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "ensure", "value", "is", "mutable", "(", ")", ";", "value", "add", "(", "value", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "the", "value", "banned", "optional", "for", "custom", "requirements", "<", "/", "pre", ">" ]
[ "ensure", "value", "is", "mutable", "(", ")", ";", "com", "google", "protobuf", "abstract", "message", "lite", "builder", "add", "all", "(", "values", ",", "value", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "the", "value", "banned", "optional", "for", "custom", "requirements", "<", "/", "pre", ">" ]
[ "value", "=", "com", "google", "protobuf", "lazy", "string", "array", "list", "empty", ";", "bit", "field", "0", "=", "(", "bit", "field", "0", "&", "~", "0x", "0", "0", "0", "0", "0", "0", "8", "0", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "the", "value", "banned", "optional", "for", "custom", "requirements", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "ensure", "value", "is", "mutable", "(", ")", ";", "value", "add", "(", "value", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "strategy", "to", "use", "for", "matching", "types", "in", "the", "value", "parameter", "(", "e", "g", "for", "banned", "code", "pattern", "checks", ")", "<", "/", "pre", ">" ]
[ "return", "(", "(", "bit", "field", "0", "&", "0x", "0", "0", "0", "0", "0", "1", "0", "0", ")", "=", "=", "0x", "0", "0", "0", "0", "0", "1", "0", "0", ")", ";" ]
[ "<", "pre", ">", "strategy", "to", "use", "for", "matching", "types", "in", "the", "value", "parameter", "(", "e", "g", "for", "banned", "code", "pattern", "checks", ")", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "bit", "field", "0", "|", "=", "0x", "0", "0", "0", "0", "0", "1", "0", "0", ";", "type", "matching", "strategy", "=", "value", "get", "number", "(", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "strategy", "to", "use", "for", "matching", "types", "in", "the", "value", "parameter", "(", "e", "g", "for", "banned", "code", "pattern", "checks", ")", "<", "/", "pre", ">" ]
[ "bit", "field", "0", "=", "(", "bit", "field", "0", "&", "~", "0x", "0", "0", "0", "0", "0", "1", "0", "0", ")", ";", "type", "matching", "strategy", "=", "1", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "for", "custom", "requirements", "the", "java", "class", "used", "to", "enforce", "the", "requirement", "ignored", "otherwise", "<", "/", "pre", ">" ]
[ "return", "(", "(", "bit", "field", "0", "&", "0x", "0", "0", "0", "0", "0", "2", "0", "0", ")", "=", "=", "0x", "0", "0", "0", "0", "0", "2", "0", "0", ")", ";" ]
[ "<", "pre", ">", "for", "custom", "requirements", "the", "java", "class", "used", "to", "enforce", "the", "requirement", "ignored", "otherwise", "<", "/", "pre", ">" ]
[ "java", "lang", "object", "ref", "=", "java", "class", ";", "if", "(", "!", "(", "ref", "instanceof", "java", "lang", "string", ")", ")", "{", "com", "google", "protobuf", "byte", "string", "bs", "=", "(", "com", "google", "protobuf", "byte", "string", ")", "ref", ";", "java", "lang", "string", "s", "=", "bs", "to", "string", "utf", "8", "(", ")", ";", "if", "(", "bs", "is", "valid", "utf", "8", "(", ")", ")", "{", "java", "class", "=", "s", ";", "}", "return", "s", ";", "}", "else", "{", "return", "(", "java", "lang", "string", ")", "ref", ";", "}" ]
[ "<", "pre", ">", "for", "custom", "requirements", "the", "java", "class", "used", "to", "enforce", "the", "requirement", "ignored", "otherwise", "<", "/", "pre", ">" ]
[ "java", "lang", "object", "ref", "=", "java", "class", ";", "if", "(", "ref", "instanceof", "string", ")", "{", "com", "google", "protobuf", "byte", "string", "b", "=", "com", "google", "protobuf", "byte", "string", "copy", "from", "utf", "8", "(", "(", "java", "lang", "string", ")", "ref", ")", ";", "java", "class", "=", "b", ";", "return", "b", ";", "}", "else", "{", "return", "(", "com", "google", "protobuf", "byte", "string", ")", "ref", ";", "}" ]
[ "<", "pre", ">", "for", "custom", "requirements", "the", "java", "class", "used", "to", "enforce", "the", "requirement", "ignored", "otherwise", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "bit", "field", "0", "|", "=", "0x", "0", "0", "0", "0", "0", "2", "0", "0", ";", "java", "class", "=", "value", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "for", "custom", "requirements", "the", "java", "class", "used", "to", "enforce", "the", "requirement", "ignored", "otherwise", "<", "/", "pre", ">" ]
[ "bit", "field", "0", "=", "(", "bit", "field", "0", "&", "~", "0x", "0", "0", "0", "0", "0", "2", "0", "0", ")", ";", "java", "class", "=", "get", "default", "instance", "(", ")", "get", "java", "class", "(", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "for", "custom", "requirements", "the", "java", "class", "used", "to", "enforce", "the", "requirement", "ignored", "otherwise", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "bit", "field", "0", "|", "=", "0x", "0", "0", "0", "0", "0", "2", "0", "0", ";", "java", "class", "=", "value", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "gives", "the", "rule", "an", "unique", "id", "that", "can", "be", "used", "for", "extending", "in", "other", "rules", "through", "extends", "an", "example", "of", "id", "is", "closure", ":", "inner", "html", "<", "/", "pre", ">" ]
[ "return", "(", "(", "bit", "field", "0", "&", "0x", "0", "0", "0", "0", "0", "4", "0", "0", ")", "=", "=", "0x", "0", "0", "0", "0", "0", "4", "0", "0", ")", ";" ]
[ "<", "pre", ">", "gives", "the", "rule", "an", "unique", "id", "that", "can", "be", "used", "for", "extending", "in", "other", "rules", "through", "extends", "an", "example", "of", "id", "is", "closure", ":", "inner", "html", "<", "/", "pre", ">" ]
[ "java", "lang", "object", "ref", "=", "rule", "id", ";", "if", "(", "!", "(", "ref", "instanceof", "java", "lang", "string", ")", ")", "{", "com", "google", "protobuf", "byte", "string", "bs", "=", "(", "com", "google", "protobuf", "byte", "string", ")", "ref", ";", "java", "lang", "string", "s", "=", "bs", "to", "string", "utf", "8", "(", ")", ";", "if", "(", "bs", "is", "valid", "utf", "8", "(", ")", ")", "{", "rule", "id", "=", "s", ";", "}", "return", "s", ";", "}", "else", "{", "return", "(", "java", "lang", "string", ")", "ref", ";", "}" ]
[ "<", "pre", ">", "gives", "the", "rule", "an", "unique", "id", "that", "can", "be", "used", "for", "extending", "in", "other", "rules", "through", "extends", "an", "example", "of", "id", "is", "closure", ":", "inner", "html", "<", "/", "pre", ">" ]
[ "java", "lang", "object", "ref", "=", "rule", "id", ";", "if", "(", "ref", "instanceof", "string", ")", "{", "com", "google", "protobuf", "byte", "string", "b", "=", "com", "google", "protobuf", "byte", "string", "copy", "from", "utf", "8", "(", "(", "java", "lang", "string", ")", "ref", ")", ";", "rule", "id", "=", "b", ";", "return", "b", ";", "}", "else", "{", "return", "(", "com", "google", "protobuf", "byte", "string", ")", "ref", ";", "}" ]
[ "<", "pre", ">", "gives", "the", "rule", "an", "unique", "id", "that", "can", "be", "used", "for", "extending", "in", "other", "rules", "through", "extends", "an", "example", "of", "id", "is", "closure", ":", "inner", "html", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "bit", "field", "0", "|", "=", "0x", "0", "0", "0", "0", "0", "4", "0", "0", ";", "rule", "id", "=", "value", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "gives", "the", "rule", "an", "unique", "id", "that", "can", "be", "used", "for", "extending", "in", "other", "rules", "through", "extends", "an", "example", "of", "id", "is", "closure", ":", "inner", "html", "<", "/", "pre", ">" ]
[ "bit", "field", "0", "=", "(", "bit", "field", "0", "&", "~", "0x", "0", "0", "0", "0", "0", "4", "0", "0", ")", ";", "rule", "id", "=", "get", "default", "instance", "(", ")", "get", "rule", "id", "(", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "gives", "the", "rule", "an", "unique", "id", "that", "can", "be", "used", "for", "extending", "in", "other", "rules", "through", "extends", "an", "example", "of", "id", "is", "closure", ":", "inner", "html", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "bit", "field", "0", "|", "=", "0x", "0", "0", "0", "0", "0", "4", "0", "0", ";", "rule", "id", "=", "value", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "allows", "extending", "whitelists", "of", "rules", "with", "the", "specified", "rule", "id", "if", "this", "field", "is", "specified", "then", "all", "fields", "except", "whitelist", "whitelist", "regexp", "only", "apply", "to", "and", "only", "apply", "to", "regexp", "are", "ignored", "<", "/", "pre", ">" ]
[ "return", "(", "(", "bit", "field", "0", "&", "0x", "0", "0", "0", "0", "0", "8", "0", "0", ")", "=", "=", "0x", "0", "0", "0", "0", "0", "8", "0", "0", ")", ";" ]
[ "<", "pre", ">", "allows", "extending", "whitelists", "of", "rules", "with", "the", "specified", "rule", "id", "if", "this", "field", "is", "specified", "then", "all", "fields", "except", "whitelist", "whitelist", "regexp", "only", "apply", "to", "and", "only", "apply", "to", "regexp", "are", "ignored", "<", "/", "pre", ">" ]
[ "java", "lang", "object", "ref", "=", "extends", ";", "if", "(", "!", "(", "ref", "instanceof", "java", "lang", "string", ")", ")", "{", "com", "google", "protobuf", "byte", "string", "bs", "=", "(", "com", "google", "protobuf", "byte", "string", ")", "ref", ";", "java", "lang", "string", "s", "=", "bs", "to", "string", "utf", "8", "(", ")", ";", "if", "(", "bs", "is", "valid", "utf", "8", "(", ")", ")", "{", "extends", "=", "s", ";", "}", "return", "s", ";", "}", "else", "{", "return", "(", "java", "lang", "string", ")", "ref", ";", "}" ]
[ "<", "pre", ">", "allows", "extending", "whitelists", "of", "rules", "with", "the", "specified", "rule", "id", "if", "this", "field", "is", "specified", "then", "all", "fields", "except", "whitelist", "whitelist", "regexp", "only", "apply", "to", "and", "only", "apply", "to", "regexp", "are", "ignored", "<", "/", "pre", ">" ]
[ "java", "lang", "object", "ref", "=", "extends", ";", "if", "(", "ref", "instanceof", "string", ")", "{", "com", "google", "protobuf", "byte", "string", "b", "=", "com", "google", "protobuf", "byte", "string", "copy", "from", "utf", "8", "(", "(", "java", "lang", "string", ")", "ref", ")", ";", "extends", "=", "b", ";", "return", "b", ";", "}", "else", "{", "return", "(", "com", "google", "protobuf", "byte", "string", ")", "ref", ";", "}" ]
[ "<", "pre", ">", "allows", "extending", "whitelists", "of", "rules", "with", "the", "specified", "rule", "id", "if", "this", "field", "is", "specified", "then", "all", "fields", "except", "whitelist", "whitelist", "regexp", "only", "apply", "to", "and", "only", "apply", "to", "regexp", "are", "ignored", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "bit", "field", "0", "|", "=", "0x", "0", "0", "0", "0", "0", "8", "0", "0", ";", "extends", "=", "value", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "allows", "extending", "whitelists", "of", "rules", "with", "the", "specified", "rule", "id", "if", "this", "field", "is", "specified", "then", "all", "fields", "except", "whitelist", "whitelist", "regexp", "only", "apply", "to", "and", "only", "apply", "to", "regexp", "are", "ignored", "<", "/", "pre", ">" ]
[ "bit", "field", "0", "=", "(", "bit", "field", "0", "&", "~", "0x", "0", "0", "0", "0", "0", "8", "0", "0", ")", ";", "extends", "=", "get", "default", "instance", "(", ")", "get", "extends", "(", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "allows", "extending", "whitelists", "of", "rules", "with", "the", "specified", "rule", "id", "if", "this", "field", "is", "specified", "then", "all", "fields", "except", "whitelist", "whitelist", "regexp", "only", "apply", "to", "and", "only", "apply", "to", "regexp", "are", "ignored", "<", "/", "pre", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "bit", "field", "0", "|", "=", "0x", "0", "0", "0", "0", "0", "8", "0", "0", ";", "extends", "=", "value", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "whether", "to", "report", "possible", "violations", "when", "type", "information", "is", "not", "exact", "normally", "violations", "on", "parent", "types", "are", "reported", "as", "possible", "violations", "this", "field", "allows", "to", "ignore", "them", "and", "report", "only", "violations", "on", "exact", "types", "this", "changes", "the", "balance", "between", "the", "false", "positives", "and", "the", "false", "negatives", "with", "the", "default", "value", "there", "might", "be", "lots", "of", "false", "positives", "(", "possible", "violations", ")", "but", "there", "shouldn", "t", "be", "any", "false", "negatives", "without", "reporting", "the", "loose", "type", "violations", "there", "will", "be", "less", "false", "positives", "but", "there", "can", "also", "be", "false", "negatives", "(", "an", "actual", "violation", "that", "is", "not", "reported", ")", "<", "/", "pre", ">" ]
[ "return", "(", "(", "bit", "field", "0", "&", "0x", "0", "0", "0", "0", "1", "0", "0", "0", ")", "=", "=", "0x", "0", "0", "0", "0", "1", "0", "0", "0", ")", ";" ]
[ "<", "pre", ">", "whether", "to", "report", "possible", "violations", "when", "type", "information", "is", "not", "exact", "normally", "violations", "on", "parent", "types", "are", "reported", "as", "possible", "violations", "this", "field", "allows", "to", "ignore", "them", "and", "report", "only", "violations", "on", "exact", "types", "this", "changes", "the", "balance", "between", "the", "false", "positives", "and", "the", "false", "negatives", "with", "the", "default", "value", "there", "might", "be", "lots", "of", "false", "positives", "(", "possible", "violations", ")", "but", "there", "shouldn", "t", "be", "any", "false", "negatives", "without", "reporting", "the", "loose", "type", "violations", "there", "will", "be", "less", "false", "positives", "but", "there", "can", "also", "be", "false", "negatives", "(", "an", "actual", "violation", "that", "is", "not", "reported", ")", "<", "/", "pre", ">" ]
[ "bit", "field", "0", "|", "=", "0x", "0", "0", "0", "0", "1", "0", "0", "0", ";", "report", "loose", "type", "violations", "=", "value", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "pre", ">", "whether", "to", "report", "possible", "violations", "when", "type", "information", "is", "not", "exact", "normally", "violations", "on", "parent", "types", "are", "reported", "as", "possible", "violations", "this", "field", "allows", "to", "ignore", "them", "and", "report", "only", "violations", "on", "exact", "types", "this", "changes", "the", "balance", "between", "the", "false", "positives", "and", "the", "false", "negatives", "with", "the", "default", "value", "there", "might", "be", "lots", "of", "false", "positives", "(", "possible", "violations", ")", "but", "there", "shouldn", "t", "be", "any", "false", "negatives", "without", "reporting", "the", "loose", "type", "violations", "there", "will", "be", "less", "false", "positives", "but", "there", "can", "also", "be", "false", "negatives", "(", "an", "actual", "violation", "that", "is", "not", "reported", ")", "<", "/", "pre", ">" ]
[ "bit", "field", "0", "=", "(", "bit", "field", "0", "&", "~", "0x", "0", "0", "0", "0", "1", "0", "0", "0", ")", ";", "report", "loose", "type", "violations", "=", "true", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "code", ">", "optional", "jscomp", "requirement", "severity", "severity", "=", "12", "[", "default", "=", "warning", "]", ";", "<", "/", "code", ">" ]
[ "return", "(", "(", "bit", "field", "0", "&", "0x", "0", "0", "0", "0", "2", "0", "0", "0", ")", "=", "=", "0x", "0", "0", "0", "0", "2", "0", "0", "0", ")", ";" ]
[ "<", "code", ">", "optional", "jscomp", "requirement", "severity", "severity", "=", "12", "[", "default", "=", "warning", "]", ";", "<", "/", "code", ">" ]
[ "if", "(", "value", "=", "=", "null", ")", "{", "throw", "new", "null", "pointer", "exception", "(", ")", ";", "}", "bit", "field", "0", "|", "=", "0x", "0", "0", "0", "0", "2", "0", "0", "0", ";", "severity", "=", "value", "get", "number", "(", ")", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "code", ">", "optional", "jscomp", "requirement", "severity", "severity", "=", "12", "[", "default", "=", "warning", "]", ";", "<", "/", "code", ">" ]
[ "bit", "field", "0", "=", "(", "bit", "field", "0", "&", "~", "0x", "0", "0", "0", "0", "2", "0", "0", "0", ")", ";", "severity", "=", "1", ";", "on", "changed", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "an", "array", "of", "patches", "each", "entry", "in", "the", "array", "is", "a", "patch", "structure", "<", "/", "p", ">" ]
[ "if", "(", "patches", "=", "=", "null", ")", "{", "patches", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "patch", ">", "(", ")", ";", "}", "return", "patches", ";" ]
[ "<", "p", ">", "an", "array", "of", "patches", "each", "entry", "in", "the", "array", "is", "a", "patch", "structure", "<", "/", "p", ">" ]
[ "if", "(", "patches", "=", "=", "null", ")", "{", "this", "patches", "=", "null", ";", "return", ";", "}", "this", "patches", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "patch", ">", "(", "patches", ")", ";" ]
[ "<", "p", ">", "an", "array", "of", "patches", "each", "entry", "in", "the", "array", "is", "a", "patch", "structure", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "patches", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "patches", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "patches", "=", "=", "null", ")", "{", "set", "patches", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "patch", ">", "(", "patches", "length", ")", ")", ";", "}", "for", "(", "patch", "ele", ":", "patches", ")", "{", "this", "patches", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "an", "array", "of", "patches", "each", "entry", "in", "the", "array", "is", "a", "patch", "structure", "<", "/", "p", ">" ]
[ "set", "patches", "(", "patches", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "token", "to", "use", "when", "requesting", "the", "next", "set", "of", "items", "if", "there", "are", "no", "additional", "items", "to", "return", "the", "string", "is", "empty", "<", "/", "p", ">" ]
[ "set", "next", "token", "(", "next", "token", ")", ";", "return", "this", ";" ]
[ "apply", "a", "list", "of", "{", "@", "link", "kryo", "registration", "}", "to", "a", "kryo", "instance", "the", "list", "of", "registrations", "is", "assumed", "to", "already", "be", "a", "final", "resolution", "of", "all", "possible", "registration", "overwrites" ]
[ "serializer", "<", "?", ">", "serializer", ";", "for", "(", "kryo", "registration", "registration", ":", "resolved", "registrations", ")", "{", "serializer", "=", "registration", "get", "serializer", "(", "kryo", ")", ";", "if", "(", "serializer", "!", "=", "null", ")", "{", "kryo", "register", "(", "registration", "get", "registered", "class", "(", ")", ",", "serializer", ",", "kryo", "get", "next", "registration", "id", "(", ")", ")", ";", "}", "else", "{", "kryo", "register", "(", "registration", "get", "registered", "class", "(", ")", ",", "kryo", "get", "next", "registration", "id", "(", ")", ")", ";", "}", "}" ]
[ "for", "the", "on", "-", "the", "-", "go", "young", "entrepreneurial", "who", "wants", "to", "cache", "contexts" ]
[ "return", "new", "neutral", "good", "drawable", "(", "new", "drawable", "[", "]", "{", "light", "get", "drawable", "(", "res", "id", ")", "mutate", "(", ")", ",", "dark", "get", "drawable", "(", "res", "id", ")", "mutate", "(", ")", "}", ")", ";" ]
[ "calculate", "greatest", "common", "divisor", "of", "two", "numbers", "using", "recursion", "<", "p", ">", "time", "complexity", "o", "(", "log", "(", "a", "+", "b", ")", ")", "<", "br", ">" ]
[ "a", "=", "math", "abs", "(", "a", ")", ";", "b", "=", "math", "abs", "(", "b", ")", ";", "return", "a", "=", "=", "0", "?", "b", ":", "gcd", "using", "recursion", "(", "b", "%", "a", ",", "a", ")", ";" ]
[ "converts", "an", "array", "of", "granted", "authority", "objects", "to", "a", "set" ]
[ "set", "<", "string", ">", "set", "=", "new", "hash", "set", "<", ">", "(", "user", "authorities", "size", "(", ")", ")", ";", "for", "(", "granted", "authority", "authority", ":", "user", "authorities", ")", "{", "set", "add", "(", "authority", "get", "authority", "(", ")", ")", ";", "}", "return", "set", ";" ]
[ "{" ]
[ "ignite", "configuration", "c", "=", "super", "get", "configuration", "(", "ignite", "instance", "name", ")", ";", "c", "get", "transaction", "configuration", "(", ")", "set", "tx", "serializable", "enabled", "(", "true", ")", ";", "tcp", "discovery", "spi", "disco", "=", "new", "tcp", "discovery", "spi", "(", ")", ";", "disco", "set", "ip", "finder", "(", "ip", "finder", ")", ";", "cache", "configuration", "cc", "=", "new", "cache", "configuration", "(", "default", "cache", "name", ")", ";", "cc", "set", "name", "(", "cache", ")", ";", "cc", "set", "cache", "mode", "(", "partitioned", ")", ";", "cc", "set", "atomicity", "mode", "(", "transactional", ")", ";", "cc", "set", "near", "configuration", "(", "null", ")", ";", "cc", "set", "backups", "(", "1", ")", ";", "cc", "set", "write", "synchronization", "mode", "(", "full", "sync", ")", ";", "c", "set", "discovery", "spi", "(", "disco", ")", ";", "c", "set", "cache", "configuration", "(", "cc", ")", ";", "return", "c", ";" ]
[ "{" ]
[ "stop", "all", "grids", "(", ")", ";", "caches", "=", "null", ";", "ignites", "=", "null", ";" ]
[ "perform", "test" ]
[ "for", "(", "ignite", "cache", "<", "integer", ",", "string", ">", "cache", ":", "caches", ")", "{", "transaction", "tx", "=", "cache", "unwrap", "(", "ignite", "class", ")", "transactions", "(", ")", "tx", "start", "(", "optimistic", ",", "repeatable", "read", ")", ";", "try", "{", "cache", "put", "(", "key", ",", "val", ")", ";", "tx", "commit", "(", ")", ";", "}", "finally", "{", "tx", "close", "(", ")", ";", "}", "for", "(", "ignite", "cache", "<", "integer", ",", "string", ">", "cache", "inner", ":", "caches", ")", "{", "tx", "=", "cache", "inner", "unwrap", "(", "ignite", "class", ")", "transactions", "(", ")", "tx", "start", "(", "optimistic", ",", "repeatable", "read", ")", ";", "try", "{", "assert", "f", "eq", "(", "val", ",", "cache", "inner", "get", "(", "key", ")", ")", ";", "tx", "commit", "(", ")", ";", "}", "finally", "{", "tx", "close", "(", ")", ";", "}", "}", "tx", "=", "cache", "unwrap", "(", "ignite", "class", ")", "transactions", "(", ")", "tx", "start", "(", "optimistic", ",", "repeatable", "read", ")", ";", "try", "{", "cache", "remove", "(", "key", ")", ";", "tx", "commit", "(", ")", ";", "}", "finally", "{", "tx", "close", "(", ")", ";", "}", "}" ]
[ "extract", "a", "substring", "from", "the", "given", "string", "using", "start", "index", "and", "length", "of", "the", "extracted", "substring" ]
[ "if", "(", "!", "has", "length", "(", "s", ")", ")", "{", "return", "s", ";", "}", "if", "(", "start", "<", "0", ")", "start", "=", "0", ";", "if", "(", "start", "+", "1", ">", "s", "length", "(", ")", "|", "|", "length", "<", "0", ")", "return", "\"", "\"", ";", "return", "(", "start", "+", "length", ">", "s", "length", "(", ")", ")", "?", "s", "substring", "(", "start", ")", ":", "s", "substring", "(", "start", ",", "start", "+", "length", ")", ";" ]
[ "trims", "the", "trailing", "whitespace", "characters", "from", "the", "given", "string", "uses", "{", "@", "link", "character", "#", "is", "whitespace", "(", "char", ")", "}", "to", "determine", "if", "a", "character", "is", "whitespace", "or", "not" ]
[ "if", "(", "!", "has", "length", "(", "s", ")", ")", "{", "return", "s", ";", "}", "string", "builder", "sb", "=", "new", "string", "builder", "(", "s", ")", ";", "while", "(", "sb", "length", "(", ")", ">", "0", "&", "&", "character", "is", "whitespace", "(", "sb", "char", "at", "(", "sb", "length", "(", ")", "-", "1", ")", ")", ")", "{", "sb", "delete", "char", "at", "(", "sb", "length", "(", ")", "-", "1", ")", ";", "}", "return", "sb", "to", "string", "(", ")", ";" ]
[ "trims", "the", "leading", "whitespace", "characters", "from", "the", "given", "string", "uses", "{", "@", "link", "character", "#", "is", "whitespace", "(", "char", ")", "}", "to", "determine", "if", "a", "character", "is", "whitespace", "or", "not" ]
[ "if", "(", "!", "has", "length", "(", "s", ")", ")", "{", "return", "s", ";", "}", "string", "builder", "sb", "=", "new", "string", "builder", "(", "s", ")", ";", "while", "(", "sb", "length", "(", ")", ">", "0", "&", "&", "character", "is", "whitespace", "(", "sb", "char", "at", "(", "0", ")", ")", ")", "{", "sb", "delete", "char", "at", "(", "0", ")", ";", "}", "return", "sb", "to", "string", "(", ")", ";" ]
[ "creates", "address", "without", "any", "lookups", "hostname", "can", "be", "null", "for", "missing" ]
[ "final", "byte", "bytes", "[", "]", "=", "inet", "address", "get", "by", "name", "(", "address", ")", "get", "address", "(", ")", ";", "return", "inet", "address", "get", "by", "address", "(", "hostname", ",", "bytes", ")", ";" ]
[ "load", "bean", "definitions", "from", "the", "given", "xml", "resources" ]
[ "resource", "[", "]", "resources", "=", "new", "resource", "[", "resource", "names", "length", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "resource", "names", "length", ";", "i", "+", "+", ")", "{", "resources", "[", "i", "]", "=", "new", "class", "path", "resource", "(", "resource", "names", "[", "i", "]", ",", "relative", "class", ")", ";", "}", "this", "load", "(", "resources", ")", ";" ]
[ "gets", "the", "index", "of", "this", "dir" ]
[ "return", "m", "dir", "get", "dir", "index", "(", ")", ";" ]
[ "gets", "a", "filtered", "list", "of", "block", "metadata", "for", "blocks", "that", "are", "neither", "pinned", "or", "being", "blocked" ]
[ "list", "<", "block", "meta", ">", "filtered", "list", "=", "new", "array", "list", "<", ">", "(", ")", ";", "for", "(", "block", "meta", "block", "meta", ":", "m", "dir", "get", "blocks", "(", ")", ")", "{", "long", "block", "id", "=", "block", "meta", "get", "block", "id", "(", ")", ";", "if", "(", "m", "manager", "view", "is", "block", "evictable", "(", "block", "id", ")", ")", "{", "filtered", "list", "add", "(", "block", "meta", ")", ";", "}", "}", "return", "filtered", "list", ";" ]
[ "gets", "capacity", "bytes", "for", "this", "dir" ]
[ "return", "m", "dir", "get", "capacity", "bytes", "(", ")", ";" ]
[ "gets", "available", "bytes", "for", "this", "dir" ]
[ "return", "m", "dir", "get", "available", "bytes", "(", ")", "+", "m", "blocks", "to", "move", "out", "size", "-", "m", "blocks", "to", "move", "in", "size", ";" ]
[ "gets", "committed", "bytes", "for", "this", "dir", "this", "includes", "all", "blocks", "locked", "pinned", "committed", "etc" ]
[ "return", "m", "dir", "get", "committed", "bytes", "(", ")", ";" ]
[ "gets", "evictable", "bytes", "for", "this", "dir", "i", "e", "the", "total", "bytes", "of", "total", "evictable", "blocks" ]
[ "long", "bytes", "=", "0", ";", "for", "(", "block", "meta", "block", "meta", ":", "m", "dir", "get", "blocks", "(", ")", ")", "{", "long", "block", "id", "=", "block", "meta", "get", "block", "id", "(", ")", ";", "if", "(", "m", "manager", "view", "is", "block", "evictable", "(", "block", "id", ")", ")", "{", "bytes", "+", "=", "block", "meta", "get", "block", "size", "(", ")", ";", "}", "}", "return", "bytes", ";" ]
[ "clears", "all", "marks", "about", "blocks", "to", "move", "in", "/", "out", "in", "this", "view" ]
[ "m", "blocks", "to", "move", "in", "clear", "(", ")", ";", "m", "blocks", "to", "move", "out", "clear", "(", ")", ";", "m", "blocks", "to", "move", "in", "size", "=", "m", "blocks", "to", "move", "out", "size", "=", "0l", ";" ]
[ "creates", "a", "{", "@", "link", "temp", "block", "meta", "}", "given", "session", "id", "block", "id", "and", "initial", "block", "size" ]
[ "return", "new", "temp", "block", "meta", "(", "session", "id", ",", "block", "id", ",", "initial", "block", "size", ",", "m", "dir", ")", ";" ]
[ "returns", "an", "indication", "whether", "the", "given", "block", "is", "marked", "to", "be", "moved", "out" ]
[ "return", "m", "blocks", "to", "move", "out", "contains", "(", "block", "id", ")", ";" ]
[ "marks", "a", "block", "to", "move", "into", "this", "dir", "view", "which", "is", "used", "by", "the", "evictor" ]
[ "if", "(", "m", "blocks", "to", "move", "in", "add", "(", "block", "id", ")", ")", "{", "m", "blocks", "to", "move", "in", "size", "+", "=", "block", "size", ";", "}" ]
[ "marks", "a", "block", "to", "move", "out", "of", "this", "dir", "view", "which", "is", "used", "by", "the", "evictor" ]
[ "if", "(", "m", "blocks", "to", "move", "out", "add", "(", "block", "id", ")", ")", "{", "m", "blocks", "to", "move", "out", "size", "+", "=", "block", "size", ";", "}" ]
[ "creates", "a", "{", "@", "link", "block", "store", "location", "}", "for", "this", "directory", "view", "redirecting", "to", "{", "@", "link", "storage", "dir", "#", "to", "block", "store", "location", "}" ]
[ "return", "m", "dir", "to", "block", "store", "location", "(", ")", ";" ]
[ "called", "each", "time", "the", "action", "mode", "is", "shown", "always", "called", "after", "on", "create", "action", "mode", "but", "may", "be", "called", "multiple", "times", "if", "the", "mode", "is", "invalidated" ]
[ "int", "child", "count", "=", "m", "wallpapers", "view", "get", "child", "count", "(", ")", ";", "int", "num", "checked", "items", "=", "0", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "child", "count", ";", "i", "+", "+", ")", "{", "checkable", "frame", "layout", "c", "=", "(", "checkable", "frame", "layout", ")", "m", "wallpapers", "view", "get", "child", "at", "(", "i", ")", ";", "if", "(", "c", "is", "checked", "(", ")", ")", "{", "num", "checked", "items", "+", "+", ";", "}", "}", "if", "(", "num", "checked", "items", "=", "=", "0", ")", "{", "mode", "finish", "(", ")", ";", "return", "true", ";", "}", "else", "{", "mode", "set", "title", "(", "get", "resources", "(", ")", "get", "quantity", "string", "(", "r", "plurals", "number", "of", "items", "selected", ",", "num", "checked", "items", ",", "num", "checked", "items", ")", ")", ";", "return", "true", ";", "}" ]
[ "called", "when", "the", "user", "exits", "the", "action", "mode" ]
[ "int", "child", "count", "=", "m", "wallpapers", "view", "get", "child", "count", "(", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "child", "count", ";", "i", "+", "+", ")", "{", "checkable", "frame", "layout", "c", "=", "(", "checkable", "frame", "layout", ")", "m", "wallpapers", "view", "get", "child", "at", "(", "i", ")", ";", "c", "set", "checked", "(", "false", ")", ";", "}", "if", "(", "m", "selected", "tile", "!", "=", "null", ")", "{", "m", "selected", "tile", "set", "selected", "(", "true", ")", ";", "}", "m", "action", "mode", "=", "null", ";" ]
[ "<", "p", ">", "the", "i", "pv", "4", "cidr", "address", "block", "used", "for", "the", "destination", "match", "the", "value", "that", "you", "provide", "must", "match", "the", "cidr", "of", "an", "existing", "route", "in", "the", "table", "<", "/", "p", ">" ]
[ "set", "destination", "cidr", "block", "(", "destination", "cidr", "block", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "i", "pv", "6", "cidr", "address", "block", "used", "for", "the", "destination", "match", "the", "value", "that", "you", "provide", "must", "match", "the", "cidr", "of", "an", "existing", "route", "in", "the", "table", "<", "/", "p", ">" ]
[ "set", "destination", "ipv", "6", "cidr", "block", "(", "destination", "ipv", "6", "cidr", "block", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "[", "i", "pv", "6", "traffic", "only", "]", "the", "id", "of", "an", "egress", "-", "only", "internet", "gateway", "<", "/", "p", ">" ]
[ "set", "egress", "only", "internet", "gateway", "id", "(", "egress", "only", "internet", "gateway", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "id", "of", "an", "internet", "gateway", "or", "virtual", "private", "gateway", "<", "/", "p", ">" ]
[ "set", "gateway", "id", "(", "gateway", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "id", "of", "a", "nat", "instance", "in", "your", "vpc", "<", "/", "p", ">" ]
[ "set", "instance", "id", "(", "instance", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "[", "i", "pv", "4", "traffic", "only", "]", "the", "id", "of", "a", "nat", "gateway", "<", "/", "p", ">" ]
[ "set", "nat", "gateway", "id", "(", "nat", "gateway", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "id", "of", "a", "network", "interface", "<", "/", "p", ">" ]
[ "set", "network", "interface", "id", "(", "network", "interface", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "id", "of", "the", "route", "table", "<", "/", "p", ">" ]
[ "set", "route", "table", "id", "(", "route", "table", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "id", "of", "a", "vpc", "peering", "connection", "<", "/", "p", ">" ]
[ "set", "vpc", "peering", "connection", "id", "(", "vpc", "peering", "connection", "id", ")", ";", "return", "this", ";" ]
[ "main", "method" ]
[ "int", "[", "]", "candidates", "=", "{", "2", ",", "3", ",", "6", ",", "7", "}", ";", "list", "<", "list", "<", "integer", ">", ">", "result", "=", "new", "combination", "sum", "(", ")", "combination", "sum", "(", "candidates", ",", "7", ")", ";" ]
[ "returns", "back", "obtained", "capacity" ]
[ "boolean", "success", "=", "true", ";", "try", "{", "service", "return", "capacity", "(", "size", ")", ";", "}", "catch", "(", "i", "o", "exception", "e", ")", "{", "success", "=", "false", ";", "}", "return", "success", ";" ]