docstring_tokens
list | code_tokens
list |
---|---|
[
"returns",
"the",
"largest",
"segment",
"(",
"measured",
"by",
"total",
"byte",
"size",
"of",
"the",
"segment",
"s",
"files",
"in",
"mb",
")",
"that",
"may",
"be",
"merged",
"with",
"other",
"segments"
] |
[
"return",
"(",
"(",
"double",
")",
"max",
"merge",
"size",
")",
"/",
"1024",
"/",
"1024",
";"
] |
[
"<",
"p",
">",
"determines",
"the",
"largest",
"segment",
"(",
"measured",
"by",
"total",
"byte",
"size",
"of",
"the",
"segment",
"s",
"files",
"in",
"mb",
")",
"that",
"may",
"be",
"merged",
"with",
"other",
"segments",
"during",
"force",
"merge",
"setting",
"it",
"low",
"will",
"leave",
"the",
"index",
"with",
"more",
"than",
"1",
"segment",
"even",
"if",
"{"
] |
[
"max",
"merge",
"size",
"for",
"forced",
"merge",
"=",
"(",
"long",
")",
"(",
"mb",
"*",
"1024",
"*",
"1024",
")",
";"
] |
[
"returns",
"the",
"largest",
"segment",
"(",
"measured",
"by",
"total",
"byte",
"size",
"of",
"the",
"segment",
"s",
"files",
"in",
"mb",
")",
"that",
"may",
"be",
"merged",
"with",
"other",
"segments",
"during",
"force",
"merge"
] |
[
"return",
"(",
"(",
"double",
")",
"max",
"merge",
"size",
"for",
"forced",
"merge",
")",
"/",
"1024",
"/",
"1024",
";"
] |
[
"sets",
"the",
"minimum",
"size",
"for",
"the",
"lowest",
"level",
"segments",
"any",
"segments",
"below",
"this",
"size",
"are",
"considered",
"to",
"be",
"on",
"the",
"same",
"level",
"(",
"even",
"if",
"they",
"vary",
"drastically",
"in",
"size",
")",
"and",
"will",
"be",
"merged",
"whenever",
"there",
"are",
"merge",
"factor",
"of",
"them",
"this",
"effectively",
"truncates",
"the",
"long",
"tail",
"of",
"small",
"segments",
"that",
"would",
"otherwise",
"be",
"created",
"into",
"a",
"single",
"level",
"if",
"you",
"set",
"this",
"too",
"large",
"it",
"could",
"greatly",
"increase",
"the",
"merging",
"cost",
"during",
"indexing",
"(",
"if",
"you",
"flush",
"many",
"small",
"segments",
")"
] |
[
"min",
"merge",
"size",
"=",
"(",
"long",
")",
"(",
"mb",
"*",
"1024",
"*",
"1024",
")",
";"
] |
[
"get",
"the",
"minimum",
"size",
"for",
"a",
"segment",
"to",
"remain",
"un",
"-",
"merged"
] |
[
"return",
"(",
"(",
"double",
")",
"min",
"merge",
"size",
")",
"/",
"1024",
"/",
"1024",
";"
] |
[
"inserting",
"keys",
"in",
"tst",
"in",
"the",
"order",
"middle",
"small",
"big",
"(",
"lexicographic",
"measure",
")",
"recursively",
"creates",
"a",
"balanced",
"tree",
"which",
"reduces",
"insertion",
"and",
"search",
"times",
"significantly"
] |
[
"if",
"(",
"lo",
">",
"hi",
")",
"return",
";",
"int",
"mid",
"=",
"(",
"lo",
"+",
"hi",
")",
"/",
"2",
";",
"root",
"=",
"insert",
"(",
"root",
",",
"(",
"string",
")",
"tokens",
"[",
"mid",
"]",
",",
"vals",
"[",
"mid",
"]",
",",
"0",
")",
";",
"balanced",
"tree",
"(",
"tokens",
",",
"vals",
",",
"lo",
",",
"mid",
"-",
"1",
",",
"root",
")",
";",
"balanced",
"tree",
"(",
"tokens",
",",
"vals",
",",
"mid",
"+",
"1",
",",
"hi",
",",
"root",
")",
";"
] |
[
"inserts",
"a",
"key",
"in",
"tst",
"creating",
"a",
"series",
"of",
"binary",
"search",
"trees",
"at",
"each",
"node",
"the",
"key",
"is",
"actually",
"stored",
"across",
"the",
"eq",
"kid",
"of",
"each",
"node",
"in",
"a",
"successive",
"manner"
] |
[
"if",
"(",
"s",
"=",
"=",
"null",
"|",
"|",
"s",
"length",
"(",
")",
"<",
"=",
"x",
")",
"{",
"return",
"current",
"node",
";",
"}",
"if",
"(",
"current",
"node",
"=",
"=",
"null",
")",
"{",
"ternary",
"tree",
"node",
"new",
"node",
"=",
"new",
"ternary",
"tree",
"node",
"(",
")",
";",
"new",
"node",
"splitchar",
"=",
"s",
"char",
"at",
"(",
"x",
")",
";",
"current",
"node",
"=",
"new",
"node",
";",
"if",
"(",
"x",
"<",
"s",
"length",
"(",
")",
"-",
"1",
")",
"{",
"current",
"node",
"eq",
"kid",
"=",
"insert",
"(",
"current",
"node",
"eq",
"kid",
",",
"s",
",",
"val",
",",
"x",
"+",
"1",
")",
";",
"}",
"else",
"{",
"current",
"node",
"token",
"=",
"s",
"to",
"string",
"(",
")",
";",
"current",
"node",
"val",
"=",
"val",
";",
"return",
"current",
"node",
";",
"}",
"}",
"else",
"if",
"(",
"current",
"node",
"splitchar",
">",
"s",
"char",
"at",
"(",
"x",
")",
")",
"{",
"current",
"node",
"lo",
"kid",
"=",
"insert",
"(",
"current",
"node",
"lo",
"kid",
",",
"s",
",",
"val",
",",
"x",
")",
";",
"}",
"else",
"if",
"(",
"current",
"node",
"splitchar",
"=",
"=",
"s",
"char",
"at",
"(",
"x",
")",
")",
"{",
"if",
"(",
"x",
"<",
"s",
"length",
"(",
")",
"-",
"1",
")",
"{",
"current",
"node",
"eq",
"kid",
"=",
"insert",
"(",
"current",
"node",
"eq",
"kid",
",",
"s",
",",
"val",
",",
"x",
"+",
"1",
")",
";",
"}",
"else",
"{",
"current",
"node",
"token",
"=",
"s",
"to",
"string",
"(",
")",
";",
"current",
"node",
"val",
"=",
"val",
";",
"return",
"current",
"node",
";",
"}",
"}",
"else",
"{",
"current",
"node",
"hi",
"kid",
"=",
"insert",
"(",
"current",
"node",
"hi",
"kid",
",",
"s",
",",
"val",
",",
"x",
")",
";",
"}",
"return",
"current",
"node",
";"
] |
[
"auto",
"-",
"completes",
"a",
"given",
"prefix",
"query",
"using",
"depth",
"-",
"first",
"search",
"with",
"the",
"end",
"of",
"prefix",
"as",
"source",
"node",
"each",
"time",
"finding",
"a",
"new",
"leaf",
"to",
"get",
"a",
"complete",
"key",
"to",
"be",
"added",
"in",
"the",
"suggest",
"list"
] |
[
"ternary",
"tree",
"node",
"p",
"=",
"root",
";",
"array",
"list",
"<",
"ternary",
"tree",
"node",
">",
"suggest",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"while",
"(",
"p",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"s",
"char",
"at",
"(",
"x",
")",
"<",
"p",
"splitchar",
")",
"{",
"p",
"=",
"p",
"lo",
"kid",
";",
"}",
"else",
"if",
"(",
"s",
"char",
"at",
"(",
"x",
")",
"=",
"=",
"p",
"splitchar",
")",
"{",
"if",
"(",
"x",
"=",
"=",
"s",
"length",
"(",
")",
"-",
"1",
")",
"{",
"break",
";",
"}",
"else",
"{",
"x",
"+",
"+",
";",
"}",
"p",
"=",
"p",
"eq",
"kid",
";",
"}",
"else",
"{",
"p",
"=",
"p",
"hi",
"kid",
";",
"}",
"}",
"if",
"(",
"p",
"=",
"=",
"null",
")",
"return",
"suggest",
";",
"if",
"(",
"p",
"eq",
"kid",
"=",
"=",
"null",
"&",
"&",
"p",
"token",
"=",
"=",
"null",
")",
"return",
"suggest",
";",
"if",
"(",
"p",
"eq",
"kid",
"=",
"=",
"null",
"&",
"&",
"p",
"token",
"!",
"=",
"null",
")",
"{",
"suggest",
"add",
"(",
"p",
")",
";",
"return",
"suggest",
";",
"}",
"if",
"(",
"p",
"token",
"!",
"=",
"null",
")",
"{",
"suggest",
"add",
"(",
"p",
")",
";",
"}",
"p",
"=",
"p",
"eq",
"kid",
";",
"stack",
"<",
"ternary",
"tree",
"node",
">",
"st",
"=",
"new",
"stack",
"<",
">",
"(",
")",
";",
"st",
"push",
"(",
"p",
")",
";",
"while",
"(",
"!",
"st",
"empty",
"(",
")",
")",
"{",
"ternary",
"tree",
"node",
"top",
"=",
"st",
"peek",
"(",
")",
";",
"st",
"pop",
"(",
")",
";",
"if",
"(",
"top",
"token",
"!",
"=",
"null",
")",
"{",
"suggest",
"add",
"(",
"top",
")",
";",
"}",
"if",
"(",
"top",
"eq",
"kid",
"!",
"=",
"null",
")",
"{",
"st",
"push",
"(",
"top",
"eq",
"kid",
")",
";",
"}",
"if",
"(",
"top",
"lo",
"kid",
"!",
"=",
"null",
")",
"{",
"st",
"push",
"(",
"top",
"lo",
"kid",
")",
";",
"}",
"if",
"(",
"top",
"hi",
"kid",
"!",
"=",
"null",
")",
"{",
"st",
"push",
"(",
"top",
"hi",
"kid",
")",
";",
"}",
"}",
"return",
"suggest",
";"
] |
[
"the",
"block",
"header",
"this",
"object",
"wraps",
"the",
"referenced",
"block",
"object",
"must",
"not",
"have",
"any",
"transactions",
"in",
"it"
] |
[
"return",
"header",
";"
] |
[
"the",
"total",
"sum",
"of",
"work",
"done",
"in",
"this",
"block",
"and",
"all",
"the",
"blocks",
"below",
"it",
"in",
"the",
"chain",
"work",
"is",
"a",
"measure",
"of",
"how",
"many",
"tries",
"are",
"needed",
"to",
"solve",
"a",
"block",
"if",
"the",
"target",
"is",
"set",
"to",
"cover",
"10",
"%",
"of",
"the",
"total",
"hash",
"value",
"space",
"then",
"the",
"work",
"represented",
"by",
"a",
"block",
"is",
"10"
] |
[
"return",
"chain",
"work",
";"
] |
[
"returns",
"true",
"if",
"this",
"objects",
"chain",
"work",
"is",
"higher",
"than",
"the",
"others"
] |
[
"return",
"chain",
"work",
"compare",
"to",
"(",
"other",
"chain",
"work",
")",
">",
"0",
";"
] |
[
"given",
"a",
"block",
"store",
"looks",
"up",
"the",
"previous",
"block",
"in",
"this",
"chain",
"convenience",
"method",
"for",
"doing",
"<",
"tt",
">",
"store",
"get",
"(",
"this",
"get",
"header",
"(",
")",
"get",
"prev",
"block",
"hash",
"(",
")",
")",
"<",
"/",
"tt",
">"
] |
[
"return",
"store",
"get",
"(",
"get",
"header",
"(",
")",
"get",
"prev",
"block",
"hash",
"(",
")",
")",
";"
] |
[
"returns",
"the",
"security",
"roles",
"that",
"have",
"been",
"defined",
"at",
"the",
"application",
"level",
"(",
"via",
"security",
"-",
"role",
"elements",
"in",
"the",
"ejb",
"-",
"jar",
"xml",
")",
"note",
"that",
"this",
"set",
"does",
"*",
"not",
"*",
"include",
"the",
"roles",
"that",
"have",
"been",
"defined",
"at",
"each",
"individual",
"component",
"level",
"(",
"via",
"@",
"declare",
"roles",
"@",
"roles",
"allowed",
"annotations",
"or",
"security",
"-",
"role",
"-",
"ref",
"element",
")",
"<",
"p",
"/",
">",
"returns",
"an",
"empty",
"set",
"if",
"no",
"roles",
"have",
"been",
"defined",
"at",
"the",
"application",
"level"
] |
[
"return",
"collections",
"unmodifiable",
"set",
"(",
"this",
"application",
"level",
"security",
"roles",
")",
";"
] |
[
"load",
"cache",
"from",
"data",
"store",
"also",
"take",
"a",
"look",
"at",
"{",
"@",
"link",
"grid",
"test",
"cache",
"store",
"#",
"load",
"all",
"}",
"method"
] |
[
"cache",
"load",
"cache",
"(",
"null",
",",
"0",
",",
"grid",
"test",
"constants",
"load",
"threads",
",",
"grid",
"test",
"constants",
"entry",
"count",
")",
";"
] |
[
"{"
] |
[
"fifo",
"eviction",
"policy",
"<",
"string",
",",
"string",
">",
"plc",
"=",
"new",
"fifo",
"eviction",
"policy",
"<",
">",
"(",
")",
";",
"plc",
"set",
"max",
"size",
"(",
"this",
"plc",
"max",
")",
";",
"plc",
"set",
"batch",
"size",
"(",
"this",
"plc",
"batch",
"size",
")",
";",
"plc",
"set",
"max",
"memory",
"size",
"(",
"this",
"plc",
"max",
"mem",
"size",
")",
";",
"return",
"plc",
";"
] |
[
"{"
] |
[
"fifo",
"eviction",
"policy",
"<",
"string",
",",
"string",
">",
"plc",
"=",
"new",
"fifo",
"eviction",
"policy",
"<",
">",
"(",
")",
";",
"plc",
"set",
"max",
"size",
"(",
"near",
"max",
")",
";",
"plc",
"set",
"batch",
"size",
"(",
"plc",
"batch",
"size",
")",
";",
"return",
"plc",
";"
] |
[
"{"
] |
[
"u",
"write",
"collection",
"(",
"out",
",",
"evts",
")",
";"
] |
[
"{"
] |
[
"try",
"{",
"evts",
"=",
"u",
"read",
"collection",
"(",
"in",
")",
";",
"}",
"catch",
"(",
"class",
"not",
"found",
"exception",
"e",
")",
"{",
"throw",
"new",
"i",
"o",
"exception",
"(",
"e",
")",
";",
"}"
] |
[
"{"
] |
[
"evts",
"add",
"all",
"(",
"(",
"(",
"hadoop",
"performance",
"counter",
")",
"cntr",
")",
"evts",
")",
";"
] |
[
"gets",
"the",
"events",
"collection"
] |
[
"return",
"evts",
";"
] |
[
"generate",
"name",
"that",
"consists",
"of",
"some",
"event",
"information"
] |
[
"return",
"event",
"name",
"(",
"info",
"type",
"(",
")",
"to",
"string",
"(",
")",
",",
"info",
"task",
"number",
"(",
")",
",",
"evt",
"type",
")",
";"
] |
[
"generate",
"name",
"that",
"consists",
"of",
"some",
"event",
"information"
] |
[
"assert",
"node",
"id",
"!",
"=",
"null",
";",
"return",
"task",
"type",
"+",
"\"",
"\"",
"+",
"task",
"num",
"+",
"\"",
"\"",
"+",
"evt",
"type",
"+",
"\"",
"\"",
"+",
"node",
"id",
";"
] |
[
"registers",
"shuffle",
"message",
"event"
] |
[
"this",
"reducer",
"num",
"=",
"reducer",
"num",
";",
"if",
"(",
"first",
"shuffle",
"msg",
"=",
"=",
"null",
")",
"first",
"shuffle",
"msg",
"=",
"ts",
";",
"last",
"shuffle",
"msg",
"=",
"ts",
";"
] |
[
"gets",
"system",
"predefined",
"performance",
"counter",
"from",
"the",
"hadoop",
"counters",
"object"
] |
[
"hadoop",
"performance",
"counter",
"cntr",
"=",
"cntrs",
"counter",
"(",
"group",
"name",
",",
"counter",
"name",
",",
"hadoop",
"performance",
"counter",
"class",
")",
";",
"if",
"(",
"node",
"id",
"!",
"=",
"null",
")",
"cntr",
"node",
"id",
"(",
"node",
"id",
")",
";",
"return",
"cntrs",
"counter",
"(",
"group",
"name",
",",
"counter",
"name",
",",
"hadoop",
"performance",
"counter",
"class",
")",
";"
] |
[
"sets",
"the",
"node",
"id",
"field"
] |
[
"this",
"node",
"id",
"=",
"node",
"id",
";"
] |
[
"returns",
"the",
"filesystem",
"that",
"is",
"specially",
"setup",
"for",
"doing",
"reads",
"from",
"storage",
"this",
"object",
"avoids",
"doing",
"checksum",
"verifications",
"for",
"reads"
] |
[
"return",
"no",
"checksum",
"fs",
";"
] |
[
"returns",
"the",
"underlying",
"filesystem"
] |
[
"return",
"fs",
";"
] |
[
"set",
"the",
"source",
"path",
"(",
"directory",
"/",
"file",
")",
"to",
"the",
"specified",
"storage",
"policy"
] |
[
"f",
"s",
"utils",
"set",
"storage",
"policy",
"(",
"this",
"fs",
",",
"path",
",",
"policy",
"name",
")",
";"
] |
[
"are",
"we",
"verifying",
"checksums",
"in",
"h",
"base",
"?"
] |
[
"return",
"use",
"h",
"base",
"checksum",
";"
] |
[
"close",
"this",
"filesystem",
"object"
] |
[
"super",
"close",
"(",
")",
";",
"if",
"(",
"this",
"no",
"checksum",
"fs",
"!",
"=",
"fs",
")",
"{",
"this",
"no",
"checksum",
"fs",
"close",
"(",
")",
";",
"}"
] |
[
"create",
"a",
"new",
"h",
"file",
"system",
"object",
"similar",
"to",
"file",
"system",
"get",
"(",
")",
"this",
"returns",
"a",
"filesystem",
"object",
"that",
"avoids",
"checksum",
"verification",
"in",
"the",
"filesystem",
"for",
"hfileblock",
"-",
"reads",
"for",
"these",
"blocks",
"checksum",
"verification",
"is",
"done",
"by",
"h",
"base"
] |
[
"return",
"new",
"h",
"file",
"system",
"(",
"conf",
",",
"true",
")",
";"
] |
[
"wrap",
"a",
"local",
"file",
"system",
"within",
"a",
"h",
"file",
"system"
] |
[
"return",
"new",
"h",
"file",
"system",
"(",
"file",
"system",
"get",
"local",
"(",
"conf",
")",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"jscomp",
"requirement",
"whitelist",
"entry",
"reason",
"reason",
"=",
"1",
";",
"<",
"/",
"code",
">"
] |
[
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"jscomp",
"requirement",
"whitelist",
"entry",
"reason",
"reason",
"=",
"1",
";",
"<",
"/",
"code",
">"
] |
[
"com",
"google",
"javascript",
"jscomp",
"requirement",
"whitelist",
"entry",
"reason",
"result",
"=",
"com",
"google",
"javascript",
"jscomp",
"requirement",
"whitelist",
"entry",
"reason",
"value",
"of",
"(",
"reason",
")",
";",
"return",
"result",
"=",
"=",
"null",
"?",
"com",
"google",
"javascript",
"jscomp",
"requirement",
"whitelist",
"entry",
"reason",
"unspecified",
":",
"result",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"path",
"prefixes",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"return",
"whitelist",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"path",
"prefixes",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"return",
"whitelist",
"size",
"(",
")",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"path",
"prefixes",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"return",
"whitelist",
"get",
"(",
"index",
")",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"path",
"prefixes",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"return",
"whitelist",
"get",
"byte",
"string",
"(",
"index",
")",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"paths",
"regexs",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"return",
"whitelist",
"regexp",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"paths",
"regexs",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"return",
"whitelist",
"regexp",
"size",
"(",
")",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"paths",
"regexs",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"return",
"whitelist",
"regexp",
"get",
"(",
"index",
")",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"paths",
"regexs",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"return",
"whitelist",
"regexp",
"get",
"byte",
"string",
"(",
"index",
")",
";"
] |
[
"<",
"code",
">",
"repeated",
"jscomp",
"requirement",
"whitelist",
"entry",
"whitelist",
"entry",
"=",
"14",
";",
"<",
"/",
"code",
">"
] |
[
"return",
"whitelist",
"entry",
";"
] |
[
"<",
"code",
">",
"repeated",
"jscomp",
"requirement",
"whitelist",
"entry",
"whitelist",
"entry",
"=",
"14",
";",
"<",
"/",
"code",
">"
] |
[
"return",
"whitelist",
"entry",
";"
] |
[
"<",
"code",
">",
"repeated",
"jscomp",
"requirement",
"whitelist",
"entry",
"whitelist",
"entry",
"=",
"14",
";",
"<",
"/",
"code",
">"
] |
[
"return",
"whitelist",
"entry",
"size",
"(",
")",
";"
] |
[
"<",
"code",
">",
"repeated",
"jscomp",
"requirement",
"whitelist",
"entry",
"whitelist",
"entry",
"=",
"14",
";",
"<",
"/",
"code",
">"
] |
[
"return",
"whitelist",
"entry",
"get",
"(",
"index",
")",
";"
] |
[
"<",
"code",
">",
"repeated",
"jscomp",
"requirement",
"whitelist",
"entry",
"whitelist",
"entry",
"=",
"14",
";",
"<",
"/",
"code",
">"
] |
[
"return",
"whitelist",
"entry",
"get",
"(",
"index",
")",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"paths",
"that",
"will",
"be",
"checked",
"for",
"the",
"requirement",
"(",
"the",
"opposite",
"of",
"whitelist",
")",
"<",
"/",
"pre",
">"
] |
[
"return",
"only",
"apply",
"to",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"paths",
"that",
"will",
"be",
"checked",
"for",
"the",
"requirement",
"(",
"the",
"opposite",
"of",
"whitelist",
")",
"<",
"/",
"pre",
">"
] |
[
"return",
"only",
"apply",
"to",
"size",
"(",
")",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"paths",
"that",
"will",
"be",
"checked",
"for",
"the",
"requirement",
"(",
"the",
"opposite",
"of",
"whitelist",
")",
"<",
"/",
"pre",
">"
] |
[
"return",
"only",
"apply",
"to",
"get",
"(",
"index",
")",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"paths",
"that",
"will",
"be",
"checked",
"for",
"the",
"requirement",
"(",
"the",
"opposite",
"of",
"whitelist",
")",
"<",
"/",
"pre",
">"
] |
[
"return",
"only",
"apply",
"to",
"get",
"byte",
"string",
"(",
"index",
")",
";"
] |
[
"<",
"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",
";"
] |
[
"<",
"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",
"size",
"(",
")",
";"
] |
[
"<",
"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",
"(",
"index",
")",
";"
] |
[
"<",
"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",
"byte",
"string",
"(",
"index",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"string",
"type",
"=",
"15",
";",
"<",
"/",
"code",
">"
] |
[
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
";"
] |
[
"<",
"pre",
">",
"required",
":",
"the",
"type",
"of",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"com",
"google",
"javascript",
"jscomp",
"requirement",
"type",
"result",
"=",
"com",
"google",
"javascript",
"jscomp",
"requirement",
"type",
"value",
"of",
"(",
"type",
")",
";",
"return",
"result",
"=",
"=",
"null",
"?",
"com",
"google",
"javascript",
"jscomp",
"requirement",
"type",
"custom",
":",
"result",
";"
] |
[
"<",
"pre",
">",
"the",
"value",
"banned",
"optional",
"for",
"custom",
"requirements",
"<",
"/",
"pre",
">"
] |
[
"return",
"value",
";"
] |
[
"<",
"code",
">",
"repeated",
"value",
"value",
"=",
"8",
";",
"<",
"/",
"code",
">"
] |
[
"return",
"value",
"size",
"(",
")",
";"
] |
[
"<",
"pre",
">",
"the",
"value",
"banned",
"optional",
"for",
"custom",
"requirements",
"<",
"/",
"pre",
">"
] |
[
"return",
"value",
"get",
"(",
"index",
")",
";"
] |
[
"<",
"pre",
">",
"the",
"value",
"banned",
"optional",
"for",
"custom",
"requirements",
"<",
"/",
"pre",
">"
] |
[
"return",
"value",
"get",
"byte",
"string",
"(",
"index",
")",
";"
] |
[
"<",
"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",
"0",
"0",
"4",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"4",
")",
";"
] |
[
"<",
"pre",
">",
"strategy",
"to",
"use",
"for",
"matching",
"types",
"in",
"the",
"value",
"parameter",
"(",
"e",
"g",
"for",
"banned",
"code",
"pattern",
"checks",
")",
"<",
"/",
"pre",
">"
] |
[
"com",
"google",
"javascript",
"jscomp",
"requirement",
"type",
"matching",
"strategy",
"result",
"=",
"com",
"google",
"javascript",
"jscomp",
"requirement",
"type",
"matching",
"strategy",
"value",
"of",
"(",
"type",
"matching",
"strategy",
")",
";",
"return",
"result",
"=",
"=",
"null",
"?",
"com",
"google",
"javascript",
"jscomp",
"requirement",
"type",
"matching",
"strategy",
"loose",
":",
"result",
";"
] |
[
"<",
"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",
"0",
"0",
"8",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"8",
")",
";"
] |
[
"<",
"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",
")",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}",
"else",
"{",
"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",
";",
"}"
] |
[
"<",
"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",
"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",
">",
"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",
"0",
"1",
"0",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"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",
")",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}",
"else",
"{",
"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",
";",
"}"
] |
[
"<",
"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",
"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",
">",
"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",
"0",
"2",
"0",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
"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",
")",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}",
"else",
"{",
"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",
";",
"}"
] |
[
"<",
"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",
"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",
">",
"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",
"0",
"0",
"4",
"0",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"4",
"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",
">"
] |
[
"return",
"report",
"loose",
"type",
"violations",
";"
] |
[
"<",
"code",
">",
"optional",
"jscomp",
"requirement",
"severity",
"severity",
"=",
"12",
"[",
"default",
"=",
"warning",
"]",
";",
"<",
"/",
"code",
">"
] |
[
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"8",
"0",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"8",
"0",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"jscomp",
"requirement",
"severity",
"severity",
"=",
"12",
"[",
"default",
"=",
"warning",
"]",
";",
"<",
"/",
"code",
">"
] |
[
"com",
"google",
"javascript",
"jscomp",
"requirement",
"severity",
"result",
"=",
"com",
"google",
"javascript",
"jscomp",
"requirement",
"severity",
"value",
"of",
"(",
"severity",
")",
";",
"return",
"result",
"=",
"=",
"null",
"?",
"com",
"google",
"javascript",
"jscomp",
"requirement",
"severity",
"warning",
":",
"result",
";"
] |
[
"<",
"pre",
">",
"required",
":",
"the",
"message",
"to",
"report",
"when",
"a",
"requirement",
"is",
"violated",
"this",
"should",
"reference",
"a",
"document",
"describing",
"the",
"reasoning",
"for",
"the",
"requirement",
"and",
"contacts",
"<",
"/",
"pre",
">"
] |
[
"java",
"lang",
"object",
"ref",
"=",
"error",
"message",
";",
"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",
"(",
")",
")",
"{",
"error",
"message",
"=",
"s",
";",
"}",
"return",
"s",
";",
"}",
"else",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}"
] |
[
"<",
"pre",
">",
"required",
":",
"the",
"message",
"to",
"report",
"when",
"a",
"requirement",
"is",
"violated",
"this",
"should",
"reference",
"a",
"document",
"describing",
"the",
"reasoning",
"for",
"the",
"requirement",
"and",
"contacts",
"<",
"/",
"pre",
">"
] |
[
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"bit",
"field",
"0",
"|",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
";",
"error",
"message",
"=",
"value",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"required",
":",
"the",
"message",
"to",
"report",
"when",
"a",
"requirement",
"is",
"violated",
"this",
"should",
"reference",
"a",
"document",
"describing",
"the",
"reasoning",
"for",
"the",
"requirement",
"and",
"contacts",
"<",
"/",
"pre",
">"
] |
[
"bit",
"field",
"0",
"=",
"(",
"bit",
"field",
"0",
"&",
"~",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
")",
";",
"error",
"message",
"=",
"get",
"default",
"instance",
"(",
")",
"get",
"error",
"message",
"(",
")",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"required",
":",
"the",
"message",
"to",
"report",
"when",
"a",
"requirement",
"is",
"violated",
"this",
"should",
"reference",
"a",
"document",
"describing",
"the",
"reasoning",
"for",
"the",
"requirement",
"and",
"contacts",
"<",
"/",
"pre",
">"
] |
[
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"bit",
"field",
"0",
"|",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
";",
"error",
"message",
"=",
"value",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"path",
"prefixes",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"return",
"whitelist",
"get",
"unmodifiable",
"view",
"(",
")",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"path",
"prefixes",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"ensure",
"whitelist",
"is",
"mutable",
"(",
")",
";",
"whitelist",
"set",
"(",
"index",
",",
"value",
")",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"path",
"prefixes",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"ensure",
"whitelist",
"is",
"mutable",
"(",
")",
";",
"whitelist",
"add",
"(",
"value",
")",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"path",
"prefixes",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"ensure",
"whitelist",
"is",
"mutable",
"(",
")",
";",
"com",
"google",
"protobuf",
"abstract",
"message",
"lite",
"builder",
"add",
"all",
"(",
"values",
",",
"whitelist",
")",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"path",
"prefixes",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"whitelist",
"=",
"com",
"google",
"protobuf",
"lazy",
"string",
"array",
"list",
"empty",
";",
"bit",
"field",
"0",
"=",
"(",
"bit",
"field",
"0",
"&",
"~",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"path",
"prefixes",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"ensure",
"whitelist",
"is",
"mutable",
"(",
")",
";",
"whitelist",
"add",
"(",
"value",
")",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"paths",
"regexs",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"return",
"whitelist",
"regexp",
"get",
"unmodifiable",
"view",
"(",
")",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"paths",
"regexs",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"ensure",
"whitelist",
"regexp",
"is",
"mutable",
"(",
")",
";",
"whitelist",
"regexp",
"set",
"(",
"index",
",",
"value",
")",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"paths",
"regexs",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"ensure",
"whitelist",
"regexp",
"is",
"mutable",
"(",
")",
";",
"whitelist",
"regexp",
"add",
"(",
"value",
")",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"paths",
"regexs",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"ensure",
"whitelist",
"regexp",
"is",
"mutable",
"(",
")",
";",
"com",
"google",
"protobuf",
"abstract",
"message",
"lite",
"builder",
"add",
"all",
"(",
"values",
",",
"whitelist",
"regexp",
")",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"paths",
"regexs",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"whitelist",
"regexp",
"=",
"com",
"google",
"protobuf",
"lazy",
"string",
"array",
"list",
"empty",
";",
"bit",
"field",
"0",
"=",
"(",
"bit",
"field",
"0",
"&",
"~",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"4",
")",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"optional",
":",
"a",
"list",
"of",
"source",
"paths",
"regexs",
"that",
"are",
"exempt",
"from",
"the",
"requirement",
"<",
"/",
"pre",
">"
] |
[
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"ensure",
"whitelist",
"regexp",
"is",
"mutable",
"(",
")",
";",
"whitelist",
"regexp",
"add",
"(",
"value",
")",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"repeated",
"jscomp",
"requirement",
"whitelist",
"entry",
"whitelist",
"entry",
"=",
"14",
";",
"<",
"/",
"code",
">"
] |
[
"if",
"(",
"whitelist",
"entry",
"builder",
"=",
"=",
"null",
")",
"{",
"return",
"java",
"util",
"collections",
"unmodifiable",
"list",
"(",
"whitelist",
"entry",
")",
";",
"}",
"else",
"{",
"return",
"whitelist",
"entry",
"builder",
"get",
"message",
"list",
"(",
")",
";",
"}"
] |
[
"<",
"code",
">",
"repeated",
"jscomp",
"requirement",
"whitelist",
"entry",
"whitelist",
"entry",
"=",
"14",
";",
"<",
"/",
"code",
">"
] |
[
"if",
"(",
"whitelist",
"entry",
"builder",
"=",
"=",
"null",
")",
"{",
"return",
"whitelist",
"entry",
"size",
"(",
")",
";",
"}",
"else",
"{",
"return",
"whitelist",
"entry",
"builder",
"get",
"count",
"(",
")",
";",
"}"
] |
[
"<",
"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",
"(",
"index",
")",
";",
"}"
] |
[
"<",
"code",
">",
"repeated",
"jscomp",
"requirement",
"whitelist",
"entry",
"whitelist",
"entry",
"=",
"14",
";",
"<",
"/",
"code",
">"
] |
[
"if",
"(",
"whitelist",
"entry",
"builder",
"=",
"=",
"null",
")",
"{",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"ensure",
"whitelist",
"entry",
"is",
"mutable",
"(",
")",
";",
"whitelist",
"entry",
"set",
"(",
"index",
",",
"value",
")",
";",
"on",
"changed",
"(",
")",
";",
"}",
"else",
"{",
"whitelist",
"entry",
"builder",
"set",
"message",
"(",
"index",
",",
"value",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"repeated",
"jscomp",
"requirement",
"whitelist",
"entry",
"whitelist",
"entry",
"=",
"14",
";",
"<",
"/",
"code",
">"
] |
[
"if",
"(",
"whitelist",
"entry",
"builder",
"=",
"=",
"null",
")",
"{",
"ensure",
"whitelist",
"entry",
"is",
"mutable",
"(",
")",
";",
"whitelist",
"entry",
"set",
"(",
"index",
",",
"builder",
"for",
"value",
"build",
"(",
")",
")",
";",
"on",
"changed",
"(",
")",
";",
"}",
"else",
"{",
"whitelist",
"entry",
"builder",
"set",
"message",
"(",
"index",
",",
"builder",
"for",
"value",
"build",
"(",
")",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"repeated",
"jscomp",
"requirement",
"whitelist",
"entry",
"whitelist",
"entry",
"=",
"14",
";",
"<",
"/",
"code",
">"
] |
[
"if",
"(",
"whitelist",
"entry",
"builder",
"=",
"=",
"null",
")",
"{",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"ensure",
"whitelist",
"entry",
"is",
"mutable",
"(",
")",
";",
"whitelist",
"entry",
"add",
"(",
"value",
")",
";",
"on",
"changed",
"(",
")",
";",
"}",
"else",
"{",
"whitelist",
"entry",
"builder",
"add",
"message",
"(",
"value",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"repeated",
"jscomp",
"requirement",
"whitelist",
"entry",
"whitelist",
"entry",
"=",
"14",
";",
"<",
"/",
"code",
">"
] |
[
"if",
"(",
"whitelist",
"entry",
"builder",
"=",
"=",
"null",
")",
"{",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"ensure",
"whitelist",
"entry",
"is",
"mutable",
"(",
")",
";",
"whitelist",
"entry",
"add",
"(",
"index",
",",
"value",
")",
";",
"on",
"changed",
"(",
")",
";",
"}",
"else",
"{",
"whitelist",
"entry",
"builder",
"add",
"message",
"(",
"index",
",",
"value",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"repeated",
"jscomp",
"requirement",
"whitelist",
"entry",
"whitelist",
"entry",
"=",
"14",
";",
"<",
"/",
"code",
">"
] |
[
"if",
"(",
"whitelist",
"entry",
"builder",
"=",
"=",
"null",
")",
"{",
"ensure",
"whitelist",
"entry",
"is",
"mutable",
"(",
")",
";",
"whitelist",
"entry",
"add",
"(",
"builder",
"for",
"value",
"build",
"(",
")",
")",
";",
"on",
"changed",
"(",
")",
";",
"}",
"else",
"{",
"whitelist",
"entry",
"builder",
"add",
"message",
"(",
"builder",
"for",
"value",
"build",
"(",
")",
")",
";",
"}",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.