docstring_tokens
list | code_tokens
list |
---|---|
[
"free",
"the",
"last",
"row"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"free",
"last",
"row",
"native",
"(",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"copy",
"byte",
"array",
"to",
"cursor",
"window"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"put",
"blob",
"native",
"(",
"value",
",",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"copy",
"string",
"to",
"cursor",
"window"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"put",
"string",
"native",
"(",
"value",
",",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"copy",
"integer",
"to",
"cursor",
"window"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"put",
"long",
"native",
"(",
"value",
",",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"copy",
"double",
"to",
"cursor",
"window"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"put",
"double",
"native",
"(",
"value",
",",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"set",
"the",
"[",
"row",
"col",
"]",
"value",
"to",
"null"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"put",
"null",
"native",
"(",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"returns",
"{",
"@",
"code",
"true",
"}",
"if",
"given",
"field",
"is",
"{",
"@",
"code",
"null",
"}"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"is",
"null",
"native",
"(",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"returns",
"a",
"byte",
"array",
"for",
"the",
"given",
"field"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"get",
"blob",
"native",
"(",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"returns",
"the",
"value",
"at",
"(",
"<",
"code",
">",
"row",
"<",
"/",
"code",
">",
"<",
"code",
">",
"col",
"<",
"/",
"code",
">",
")",
"as",
"a",
"<",
"code",
">",
"byte",
"<",
"/",
"code",
">",
"array"
] | [
"private",
"native",
"byte",
"[",
"]",
"get",
"blob",
"native",
"(",
"int",
"row",
",",
"int",
"col",
")",
";"
] |
[
"returns",
"data",
"type",
"of",
"the",
"given",
"column",
"s",
"value",
"<",
"p",
">",
"returned",
"column",
"types",
"are",
"<",
"ul",
">",
"<",
"li",
">",
"{",
"@",
"link",
"cursor",
"#",
"field",
"type",
"null",
"}",
"<",
"/",
"li",
">",
"<",
"li",
">",
"{",
"@",
"link",
"cursor",
"#",
"field",
"type",
"integer",
"}",
"<",
"/",
"li",
">",
"<",
"li",
">",
"{",
"@",
"link",
"cursor",
"#",
"field",
"type",
"float",
"}",
"<",
"/",
"li",
">",
"<",
"li",
">",
"{",
"@",
"link",
"cursor",
"#",
"field",
"type",
"string",
"}",
"<",
"/",
"li",
">",
"<",
"li",
">",
"{",
"@",
"link",
"cursor",
"#",
"field",
"type",
"blob",
"}",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"/",
"p",
">"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"get",
"type",
"native",
"(",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"checks",
"if",
"a",
"field",
"contains",
"either",
"a",
"blob",
"or",
"is",
"null"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"is",
"blob",
"native",
"(",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"checks",
"if",
"a",
"field",
"contains",
"a",
"long"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"is",
"integer",
"native",
"(",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"checks",
"if",
"a",
"field",
"contains",
"a",
"float"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"is",
"float",
"native",
"(",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"checks",
"if",
"a",
"field",
"contains",
"either",
"a",
"string",
"or",
"is",
"null"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"is",
"string",
"native",
"(",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"returns",
"a",
"string",
"for",
"the",
"given",
"field"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"get",
"string",
"native",
"(",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"returns",
"the",
"value",
"at",
"(",
"<",
"code",
">",
"row",
"<",
"/",
"code",
">",
"<",
"code",
">",
"col",
"<",
"/",
"code",
">",
")",
"as",
"a",
"<",
"code",
">",
"string",
"<",
"/",
"code",
">"
] | [
"private",
"native",
"string",
"get",
"string",
"native",
"(",
"int",
"row",
",",
"int",
"col",
")",
";"
] |
[
"returns",
"a",
"long",
"for",
"the",
"given",
"field",
"row",
"is",
"0",
"based"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"get",
"long",
"native",
"(",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"returns",
"the",
"value",
"at",
"(",
"<",
"code",
">",
"row",
"<",
"/",
"code",
">",
"<",
"code",
">",
"col",
"<",
"/",
"code",
">",
")",
"as",
"a",
"<",
"code",
">",
"long",
"<",
"/",
"code",
">"
] | [
"private",
"native",
"long",
"get",
"long",
"native",
"(",
"int",
"row",
",",
"int",
"col",
")",
";"
] |
[
"returns",
"a",
"double",
"for",
"the",
"given",
"field",
"row",
"is",
"0",
"based"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"get",
"double",
"native",
"(",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"returns",
"the",
"value",
"at",
"(",
"<",
"code",
">",
"row",
"<",
"/",
"code",
">",
"<",
"code",
">",
"col",
"<",
"/",
"code",
">",
")",
"as",
"a",
"<",
"code",
">",
"double",
"<",
"/",
"code",
">"
] | [
"private",
"native",
"double",
"get",
"double",
"native",
"(",
"int",
"row",
",",
"int",
"col",
")",
";"
] |
[
"returns",
"a",
"short",
"for",
"the",
"given",
"field",
"row",
"is",
"0",
"based"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"(",
"short",
")",
"get",
"long",
"native",
"(",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"returns",
"an",
"int",
"for",
"the",
"given",
"field"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"(",
"int",
")",
"get",
"long",
"native",
"(",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"returns",
"a",
"float",
"for",
"the",
"given",
"field",
"row",
"is",
"0",
"based"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"return",
"(",
"float",
")",
"get",
"double",
"native",
"(",
"row",
"-",
"m",
"start",
"pos",
",",
"col",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"clears",
"out",
"the",
"existing",
"contents",
"of",
"the",
"window",
"making",
"it",
"safe",
"to",
"reuse",
"for",
"new",
"data",
"note",
"that",
"the",
"number",
"of",
"columns",
"in",
"the",
"window",
"may",
"not",
"change",
"across",
"a",
"call",
"to",
"clear",
"(",
")"
] | [
"acquire",
"reference",
"(",
")",
";",
"try",
"{",
"m",
"start",
"pos",
"=",
"0",
";",
"native",
"clear",
"(",
")",
";",
"}",
"finally",
"{",
"release",
"reference",
"(",
")",
";",
"}"
] |
[
"clears",
"out",
"the",
"native",
"side",
"of",
"things"
] | [
"private",
"native",
"void",
"native",
"clear",
"(",
")",
";"
] |
[
"releases",
"a",
"reference",
"to",
"the",
"object",
"closing",
"the",
"object",
"if",
"the",
"last",
"reference",
"was",
"released"
] | [
"release",
"reference",
"(",
")",
";"
] |
[
"get",
"the",
"binder",
"for",
"the",
"native",
"side",
"of",
"the",
"window"
] | [
"private",
"native",
"i",
"binder",
"native",
"get",
"binder",
"(",
")",
";"
] |
[
"does",
"the",
"native",
"side",
"initialization",
"for",
"an",
"empty",
"window"
] | [
"private",
"native",
"void",
"native",
"init",
"(",
"boolean",
"local",
"only",
",",
"long",
"initial",
"size",
",",
"long",
"growth",
"padding",
"size",
",",
"long",
"max",
"size",
")",
";"
] |
[
"does",
"the",
"native",
"side",
"initialization",
"with",
"an",
"existing",
"binder",
"from",
"another",
"process"
] | [
"private",
"native",
"void",
"native",
"init",
"(",
"i",
"binder",
"native",
"binder",
")",
";"
] |
[
"returns",
"the",
"unique",
"key",
"of",
"this",
"channel"
] | [
"return",
"get",
"class",
"(",
")",
"get",
"simple",
"name",
"(",
")",
";"
] |
[
"<",
"p",
">",
"performs",
"the",
"dispatch",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"string",
"utils",
"equals",
"(",
"notification",
"get",
"type",
"(",
")",
",",
"notification",
"type",
")",
"|",
"|",
"string",
"utils",
"equals",
"(",
"\"",
"\"",
",",
"notification",
"type",
")",
")",
"{",
"dispatch",
"(",
"notification",
",",
"context",
")",
";",
"}"
] |
[
"<",
"p",
">",
"implements",
"the",
"logic",
"that",
"defines",
"which",
"users",
"will",
"receive",
"the",
"notification",
"<",
"/",
"p",
">",
"the",
"purpose",
"of",
"this",
"method",
"is",
"to",
"populate",
"the",
"context",
"object",
"with",
"users",
"based",
"on",
"the",
"type",
"of",
"notification",
"and",
"the",
"content",
"of",
"the",
"notification"
] | [
"public",
"abstract",
"void",
"dispatch",
"(",
"notification",
"notification",
",",
"context",
"context",
")",
";"
] |
[
"<",
"tr",
">",
"<",
"li",
">",
"list",
"is",
"going",
"to",
"be",
"nested",
"in",
"the",
"parse",
"tree",
"<",
"/",
"li",
">",
"<",
"/",
"tr",
">"
] | [
"this",
"field",
"1",
"=",
"field",
"1",
";"
] |
[
"<",
"p",
">",
"<",
"li",
">",
"<",
"tr",
">",
"<",
"td",
">",
"<",
"t",
"h",
">",
"<",
"body",
">",
"<",
"col",
"g",
"r",
"o",
"u",
"p",
">",
"<",
"dd",
">",
"<",
"dt",
">",
"<",
"head",
">",
"<",
"html",
">",
"<",
"option",
">",
"<",
"t",
"body",
">",
"<",
"t",
"head",
">",
"<",
"t",
"foot",
">"
] | [
"this",
"field",
"6",
"=",
"field",
"6",
";"
] |
[
"reads",
"a",
"byte",
"of",
"data",
"from",
"this",
"input",
"stream",
"equivalent",
"to",
"{"
] | [
"return",
"read",
"(",
"buffer",
",",
"0",
",",
"buffer",
"length",
")",
";"
] |
[
"sets",
"background",
"color",
"default",
"value",
"is",
"{",
"@",
"link",
"#",
"default",
"back",
"color",
"}"
] | [
"back",
"color",
"=",
"color",
";"
] |
[
"sets",
"borders",
"color",
"default",
"value",
"is",
"{",
"@",
"link",
"#",
"default",
"border",
"color",
"}"
] | [
"paint",
"stroke",
"set",
"color",
"(",
"color",
")",
";"
] |
[
"sets",
"borders",
"width",
"in",
"pixels",
"default",
"value",
"is",
"{",
"@",
"link",
"#",
"default",
"border",
"width",
"}",
"dp"
] | [
"paint",
"stroke",
"set",
"stroke",
"width",
"(",
"width",
")",
";"
] |
[
"sets",
"borders",
"width",
"in",
"particular",
"units",
"default",
"value",
"is",
"{",
"@",
"link",
"#",
"default",
"border",
"width",
"}",
"dp"
] | [
"set",
"border",
"width",
"(",
"units",
"utils",
"to",
"pixels",
"(",
"get",
"context",
"(",
")",
",",
"unit",
",",
"width",
")",
")",
";"
] |
[
"sets",
"settings",
"to",
"get",
"movement",
"area",
"from"
] | [
"this",
"settings",
"=",
"settings",
";",
"update",
"(",
")",
";"
] |
[
"whether",
"to",
"round",
"bounds",
"corners"
] | [
"rounding",
"=",
"rounded",
"?",
"1f",
":",
"0f",
";",
"update",
"(",
")",
";"
] |
[
"applies",
"area",
"size",
"area",
"position",
"and",
"corners",
"rounding"
] | [
"update",
"(",
")",
";"
] |
[
"inject",
"broker",
"controller",
"for",
"this",
"listener"
] | [
"this",
"broker",
"controller",
"=",
"broker",
"controller",
";"
] |
[
"in",
"order",
"to",
"avoid",
"check",
"back",
"unlimited",
"we",
"will",
"discard",
"the",
"message",
"that",
"have",
"been",
"checked",
"more",
"than",
"a",
"certain",
"number",
"of",
"times"
] | [
"public",
"abstract",
"void",
"resolve",
"discard",
"msg",
"(",
"message",
"ext",
"msg",
"ext",
")",
";"
] |
[
"auxiliary",
"method",
"to",
"make",
"sure",
"that",
"enough",
"followers",
"terminated"
] | [
"int",
"loop",
"counter",
"=",
"0",
";",
"while",
"(",
"(",
"quora",
"get",
"(",
"id",
")",
"size",
"(",
")",
"<",
"=",
"count",
"/",
"2",
")",
"&",
"&",
"(",
"loop",
"counter",
"<",
"max",
"loop",
"counter",
")",
")",
"{",
"thread",
"sleep",
"(",
"100",
")",
";",
"loop",
"counter",
"+",
"+",
";",
"}",
"if",
"(",
"(",
"loop",
"counter",
">",
"=",
"max",
"loop",
"counter",
")",
"&",
"&",
"(",
"quora",
"get",
"(",
"id",
")",
"size",
"(",
")",
"<",
"=",
"count",
"/",
"2",
")",
")",
"{",
"return",
"false",
";",
"}",
"else",
"{",
"return",
"true",
";",
"}"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"ctx",
"visit",
"(",
"privilege",
")",
";"
] |
[
"the",
"i",
"d",
"3v",
"2",
"frame",
"identifier"
] | [
"return",
"i",
"d",
"3v",
"2",
"3",
"frames",
"frame",
"id",
"v3",
"album",
"sort",
"order",
"musicbrainz",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"loading",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"build",
"(",
"null",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"async",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"try",
"{",
"caffeine",
"new",
"builder",
"(",
")",
"build",
"async",
"(",
"(",
"cache",
"loader",
"<",
"object",
",",
"object",
">",
")",
"null",
")",
";",
"assert",
"fail",
"(",
")",
";",
"}",
"catch",
"(",
"null",
"pointer",
"exception",
"expected",
")",
"{",
"}",
"try",
"{",
"caffeine",
"new",
"builder",
"(",
")",
"build",
"async",
"(",
"(",
"async",
"cache",
"loader",
"<",
"object",
",",
"object",
">",
")",
"null",
")",
";",
"assert",
"fail",
"(",
")",
";",
"}",
"catch",
"(",
"null",
"pointer",
"exception",
"expected",
")",
"{",
"}"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"initial",
"capacity",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"initial",
"capacity",
"(",
"-",
"1",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"maximum",
"size",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"maximum",
"size",
"(",
"-",
"1",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"maximum",
"weight",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"maximum",
"weight",
"(",
"-",
"1",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"weigher",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"weigher",
"(",
"null",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"expire",
"after",
"access",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"expire",
"after",
"access",
"(",
"-",
"1",
",",
"time",
"unit",
"milliseconds",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"expire",
"after",
"access",
":",
"java",
"time",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"expire",
"after",
"access",
"(",
"duration",
"of",
"millis",
"(",
"-",
"1",
")",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"expire",
"after",
"write",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"expire",
"after",
"write",
"(",
"-",
"1",
",",
"time",
"unit",
"milliseconds",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"expire",
"after",
"write",
":",
"java",
"time",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"expire",
"after",
"write",
"(",
"duration",
"of",
"millis",
"(",
"-",
"1",
")",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"expiry",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"expire",
"after",
"(",
"null",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"refresh",
"after",
"write",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"refresh",
"after",
"write",
"(",
"-",
"1",
",",
"time",
"unit",
"milliseconds",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"refresh",
"after",
"write",
":",
"java",
"time",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"refresh",
"after",
"write",
"(",
"duration",
"of",
"millis",
"(",
"-",
"1",
")",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"weak",
"keys",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"weak",
"keys",
"(",
")",
"weak",
"keys",
"(",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"weak",
"values",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"weak",
"values",
"(",
")",
"weak",
"values",
"(",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"soft",
"values",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"soft",
"values",
"(",
")",
"soft",
"values",
"(",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"executor",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"executor",
"(",
"null",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"ticker",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"ticker",
"(",
"null",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"stats",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"record",
"stats",
"(",
"null",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"removal",
"listener",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"removal",
"listener",
"(",
"null",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"cache",
"writer",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"caffeine",
"new",
"builder",
"(",
")",
"writer",
"(",
"null",
")",
";"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
] | [
"final",
"i",
"ease",
"function",
"ease",
"function",
"=",
"this",
"m",
"ease",
"function",
";",
"final",
"float",
"maximum",
"width",
"=",
"this",
"get",
"maximum",
"width",
"(",
"p",
"menu",
"items",
")",
";",
"final",
"float",
"overall",
"height",
"=",
"this",
"get",
"overall",
"height",
"(",
"p",
"menu",
"items",
")",
";",
"final",
"float",
"base",
"x",
"=",
"(",
"p",
"camera",
"width",
"-",
"maximum",
"width",
")",
"*",
"0",
"5f",
";",
"final",
"float",
"base",
"y",
"=",
"(",
"p",
"camera",
"height",
"-",
"overall",
"height",
")",
"*",
"0",
"5f",
";",
"float",
"offset",
"y",
"=",
"0",
";",
"final",
"int",
"menu",
"item",
"count",
"=",
"p",
"menu",
"items",
"size",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"menu",
"item",
"count",
";",
"i",
"+",
"+",
")",
"{",
"final",
"i",
"menu",
"item",
"menu",
"item",
"=",
"p",
"menu",
"items",
"get",
"(",
"i",
")",
";",
"final",
"float",
"offset",
"x",
";",
"switch",
"(",
"this",
"m",
"horizontal",
"align",
")",
"{",
"case",
"left",
":",
"offset",
"x",
"=",
"0",
";",
"break",
";",
"case",
"right",
":",
"offset",
"x",
"=",
"maximum",
"width",
"-",
"menu",
"item",
"get",
"width",
"scaled",
"(",
")",
";",
"break",
";",
"case",
"center",
":",
"default",
":",
"offset",
"x",
"=",
"(",
"maximum",
"width",
"-",
"menu",
"item",
"get",
"width",
"scaled",
"(",
")",
")",
"*",
"0",
"5f",
";",
"break",
";",
"}",
"final",
"move",
"modifier",
"move",
"modifier",
"=",
"new",
"move",
"modifier",
"(",
"duration",
",",
"-",
"maximum",
"width",
",",
"base",
"x",
"+",
"offset",
"x",
",",
"base",
"y",
"+",
"offset",
"y",
",",
"base",
"y",
"+",
"offset",
"y",
",",
"ease",
"function",
")",
";",
"move",
"modifier",
"set",
"remove",
"when",
"finished",
"(",
"false",
")",
";",
"menu",
"item",
"register",
"entity",
"modifier",
"(",
"move",
"modifier",
")",
";",
"offset",
"y",
"+",
"=",
"menu",
"item",
"get",
"height",
"(",
")",
"+",
"this",
"m",
"menu",
"item",
"spacing",
";",
"}"
] |
[
"{"
] | [
"return",
"true",
";"
] |
[
"if",
"set",
"to",
"true",
"any",
"adapter",
"set",
"on",
"this",
"recyclerview",
"will",
"be",
"removed",
"when",
"this",
"view",
"is",
"detached",
"from",
"the",
"window",
"this",
"is",
"useful",
"to",
"prevent",
"leaking",
"a",
"reference",
"to",
"this",
"recycler",
"view",
"this",
"is",
"useful",
"in",
"cases",
"where",
"the",
"same",
"adapter",
"can",
"be",
"used",
"across",
"multiple",
"views",
"(",
"views",
"which",
"can",
"be",
"destroyed",
"and",
"recreated",
")",
"such",
"as",
"with",
"fragments",
"in",
"that",
"case",
"the",
"adapter",
"is",
"not",
"necessarily",
"cleared",
"from",
"previous",
"recycler",
"views",
"so",
"the",
"adapter",
"will",
"continue",
"to",
"hold",
"a",
"reference",
"to",
"those",
"views",
"and",
"leak",
"them",
"more",
"details",
"at",
"https",
":",
"/",
"/",
"github",
"com",
"/",
"airbnb",
"/",
"epoxy",
"/",
"wiki",
"/",
"avoiding",
"-",
"memory",
"-",
"leaks",
"#",
"parent",
"-",
"view",
"<",
"p",
">",
"the",
"default",
"is",
"true",
"but",
"you",
"can",
"disable",
"this",
"if",
"you",
"don",
"t",
"want",
"your",
"adapter",
"detached",
"automatically",
"<",
"p",
">",
"if",
"the",
"adapter",
"is",
"removed",
"via",
"this",
"setting",
"it",
"will",
"be",
"re",
"-",
"set",
"on",
"the",
"recycler",
"view",
"if",
"the",
"recycler",
"view",
"is",
"re",
"-",
"attached",
"to",
"the",
"window",
"at",
"a",
"later",
"point"
] | [
"this",
"remove",
"adapter",
"when",
"detached",
"from",
"window",
"=",
"remove",
"adapter",
"when",
"detached",
"from",
"window",
";"
] |
[
"if",
"{"
] | [
"this",
"delay",
"ms",
"when",
"removing",
"adapter",
"on",
"detach",
"=",
"delay",
"ms",
"when",
"removing",
"adapter",
"on",
"detach",
";"
] |
[
"create",
"a",
"new",
"instance",
"of",
"a",
"view",
"pool",
"to",
"use",
"with",
"this",
"recyclerview",
"by",
"default",
"a",
"{"
] | [
"return",
"new",
"unbounded",
"view",
"pool",
"(",
")",
";"
] |
[
"to",
"maximize",
"view",
"recycling",
"by",
"default",
"we",
"share",
"the",
"same",
"view",
"pool",
"across",
"all",
"{"
] | [
"return",
"true",
";"
] |
[
"if",
"a",
"grid",
"layout",
"manager",
"is",
"set",
"we",
"sync",
"the",
"span",
"count",
"between",
"the",
"layout",
"and",
"the",
"epoxy",
"adapter",
"automatically"
] | [
"layout",
"manager",
"layout",
"=",
"get",
"layout",
"manager",
"(",
")",
";",
"if",
"(",
"layout",
"instanceof",
"grid",
"layout",
"manager",
"&",
"&",
"epoxy",
"controller",
"!",
"=",
"null",
")",
"{",
"grid",
"layout",
"manager",
"grid",
"=",
"(",
"grid",
"layout",
"manager",
")",
"layout",
";",
"if",
"(",
"epoxy",
"controller",
"get",
"span",
"count",
"(",
")",
"!",
"=",
"grid",
"get",
"span",
"count",
"(",
")",
"|",
"|",
"grid",
"get",
"span",
"size",
"lookup",
"(",
")",
"!",
"=",
"epoxy",
"controller",
"get",
"span",
"size",
"lookup",
"(",
")",
")",
"{",
"epoxy",
"controller",
"set",
"span",
"count",
"(",
"grid",
"get",
"span",
"count",
"(",
")",
")",
";",
"grid",
"set",
"span",
"size",
"lookup",
"(",
"epoxy",
"controller",
"get",
"span",
"size",
"lookup",
"(",
")",
")",
";",
"}",
"}"
] |
[
"set",
"a",
"pixel",
"value",
"to",
"use",
"as",
"spacing",
"between",
"items",
"if",
"this",
"is",
"a",
"positive",
"number",
"an",
"item",
"decoration",
"will",
"be",
"added",
"to",
"space",
"all",
"items",
"this",
"far",
"apart",
"from",
"each",
"other",
"if",
"the",
"value",
"is",
"0",
"or",
"negative",
"no",
"extra",
"spacing",
"will",
"be",
"used",
"and",
"any",
"previous",
"spacing",
"will",
"be",
"removed",
"<",
"p",
">",
"this",
"only",
"works",
"if",
"a",
"{",
"@",
"link",
"linear",
"layout",
"manager",
"}",
"or",
"{",
"@",
"link",
"grid",
"layout",
"manager",
"}",
"is",
"used",
"with",
"this",
"recycler",
"view",
"<",
"p",
">",
"this",
"can",
"also",
"be",
"set",
"via",
"the",
"{",
"@",
"code",
"app",
":",
"item",
"spacing",
"}",
"styleable",
"attribute"
] | [
"remove",
"item",
"decoration",
"(",
"spacing",
"decorator",
")",
";",
"spacing",
"decorator",
"set",
"px",
"between",
"items",
"(",
"spacing",
"px",
")",
";",
"if",
"(",
"spacing",
"px",
">",
"0",
")",
"{",
"add",
"item",
"decoration",
"(",
"spacing",
"decorator",
")",
";",
"}"
] |
[
"set",
"a",
"list",
"of",
"{",
"@",
"link",
"epoxy",
"model",
"}",
"s",
"to",
"show",
"in",
"this",
"recycler",
"view",
"<",
"p",
">",
"alternatively",
"you",
"can",
"set",
"an",
"{",
"@",
"link",
"epoxy",
"controller",
"}",
"to",
"handle",
"building",
"models",
"dynamically"
] | [
"if",
"(",
"!",
"(",
"epoxy",
"controller",
"instanceof",
"simple",
"epoxy",
"controller",
")",
")",
"{",
"set",
"controller",
"(",
"new",
"simple",
"epoxy",
"controller",
"(",
")",
")",
";",
"}",
"(",
"(",
"simple",
"epoxy",
"controller",
")",
"epoxy",
"controller",
")",
"set",
"models",
"(",
"models",
")",
";"
] |
[
"set",
"an",
"epoxy",
"controller",
"to",
"populate",
"this",
"recycler",
"view",
"this",
"does",
"not",
"make",
"the",
"controller",
"build",
"its",
"models",
"that",
"must",
"be",
"done",
"separately",
"via",
"{",
"@",
"link",
"#",
"request",
"model",
"build",
"(",
")",
"}",
"<",
"p",
">",
"use",
"this",
"if",
"you",
"don",
"t",
"want",
"{",
"@",
"link",
"#",
"request",
"model",
"build",
"(",
")",
"}",
"called",
"automatically",
"common",
"cases",
"are",
"if",
"you",
"are",
"using",
"{",
"@",
"link",
"typed",
"epoxy",
"controller",
"}",
"(",
"in",
"which",
"case",
"you",
"must",
"call",
"set",
"data",
"on",
"the",
"controller",
")",
"or",
"if",
"you",
"have",
"not",
"otherwise",
"populated",
"your",
"controller",
"s",
"data",
"yet",
"<",
"p",
">",
"otherwise",
"if",
"you",
"want",
"models",
"built",
"automatically",
"for",
"you",
"use",
"{",
"@",
"link",
"#",
"set",
"controller",
"and",
"build",
"models",
"(",
"epoxy",
"controller",
")",
"}",
"<",
"p",
">",
"the",
"controller",
"can",
"be",
"cleared",
"with",
"{",
"@",
"link",
"#",
"clear",
"(",
")",
"}"
] | [
"epoxy",
"controller",
"=",
"controller",
";",
"set",
"adapter",
"(",
"controller",
"get",
"adapter",
"(",
")",
")",
";",
"sync",
"span",
"count",
"(",
")",
";"
] |
[
"set",
"an",
"epoxy",
"controller",
"to",
"populate",
"this",
"recycler",
"view",
"and",
"tell",
"the",
"controller",
"to",
"build",
"models",
"<",
"p",
">",
"the",
"controller",
"can",
"be",
"cleared",
"with",
"{",
"@",
"link",
"#",
"clear",
"(",
")",
"}"
] | [
"controller",
"request",
"model",
"build",
"(",
")",
";",
"set",
"controller",
"(",
"controller",
")",
";"
] |
[
"allows",
"you",
"to",
"build",
"models",
"via",
"a",
"callback",
"instead",
"of",
"needing",
"to",
"create",
"a",
"new",
"epoxy",
"controller",
"class",
"this",
"is",
"useful",
"if",
"your",
"models",
"are",
"simple",
"and",
"you",
"would",
"like",
"to",
"simply",
"declare",
"them",
"in",
"your",
"activity",
"/",
"fragment",
"<",
"p",
">",
"another",
"useful",
"pattern",
"is",
"having",
"your",
"activity",
"or",
"fragment",
"implement",
"{",
"@",
"link",
"model",
"builder",
"callback",
"}"
] | [
"set",
"controller",
"and",
"build",
"models",
"(",
"new",
"epoxy",
"controller",
"(",
")",
"{",
"@",
"override",
"protected",
"void",
"build",
"models",
"(",
")",
"{",
"callback",
"build",
"models",
"(",
"this",
")",
";",
"}",
"}",
")",
";"
] |
[
"<",
"p",
">",
"the",
"<",
"code",
">",
"next",
"token",
"<",
"/",
"code",
">",
"value",
"to",
"include",
"in",
"a",
"future",
"<",
"code",
">",
"describe",
"export",
"tasks",
"<",
"/",
"code",
">",
"request",
"when",
"the",
"results",
"of",
"a",
"<",
"code",
">",
"describe",
"export",
"tasks",
"<",
"/",
"code",
">",
"request",
"exceed",
"<",
"code",
">",
"max",
"results",
"<",
"/",
"code",
">",
"this",
"value",
"can",
"be",
"used",
"to",
"retrieve",
"the",
"next",
"page",
"of",
"results",
"this",
"value",
"is",
"null",
"when",
"there",
"are",
"no",
"more",
"results",
"to",
"return",
"<",
"/",
"p",
">"
] | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"where",
"in",
"a",
"web",
"request",
"to",
"look",
"for",
"cross",
"-",
"site",
"scripting",
"attacks",
"<",
"/",
"p",
">"
] | [
"set",
"field",
"to",
"match",
"(",
"field",
"to",
"match",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"text",
"transformations",
"eliminate",
"some",
"of",
"the",
"unusual",
"formatting",
"that",
"attackers",
"use",
"in",
"web",
"requests",
"in",
"an",
"effort",
"to",
"bypass",
"aws",
"waf",
"if",
"you",
"specify",
"a",
"transformation",
"aws",
"waf",
"performs",
"the",
"transformation",
"on",
"<",
"code",
">",
"field",
"to",
"match",
"<",
"/",
"code",
">",
"before",
"inspecting",
"a",
"request",
"for",
"a",
"match",
"<",
"/",
"p",
">",
"<",
"p",
">",
"you",
"can",
"only",
"specify",
"a",
"single",
"type",
"of",
"text",
"transformation",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"cmd",
"line",
"<",
"/",
"b",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"when",
"you",
"re",
"concerned",
"that",
"attackers",
"are",
"injecting",
"an",
"operating",
"system",
"command",
"line",
"command",
"and",
"using",
"unusual",
"formatting",
"to",
"disguise",
"some",
"or",
"all",
"of",
"the",
"command",
"use",
"this",
"option",
"to",
"perform",
"the",
"following",
"transformations",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"delete",
"the",
"following",
"characters",
":",
"\\",
"^",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"delete",
"spaces",
"before",
"the",
"following",
"characters",
":",
"/",
"(",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"replace",
"the",
"following",
"characters",
"with",
"a",
"space",
":",
";",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"replace",
"multiple",
"spaces",
"with",
"one",
"space",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"convert",
"uppercase",
"letters",
"(",
"a",
"-",
"z",
")",
"to",
"lowercase",
"(",
"a",
"-",
"z",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"<",
"b",
">",
"compress",
"white",
"space",
"<",
"/",
"b",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"use",
"this",
"option",
"to",
"replace",
"the",
"following",
"characters",
"with",
"a",
"space",
"character",
"(",
"decimal",
"32",
")",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"\\",
"f",
"formfeed",
"decimal",
"12",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"\\",
"t",
"tab",
"decimal",
"9",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"\\",
"n",
"newline",
"decimal",
"10",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"\\",
"r",
"carriage",
"return",
"decimal",
"13",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"\\",
"v",
"vertical",
"tab",
"decimal",
"11",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"non",
"-",
"breaking",
"space",
"decimal",
"160",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"<",
"code",
">",
"compress",
"white",
"space",
"<",
"/",
"code",
">",
"also",
"replaces",
"multiple",
"spaces",
"with",
"one",
"space",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"html",
"entity",
"decode",
"<",
"/",
"b",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"use",
"this",
"option",
"to",
"replace",
"html",
"-",
"encoded",
"characters",
"with",
"unencoded",
"characters",
"<",
"code",
">",
"html",
"entity",
"decode",
"<",
"/",
"code",
">",
"performs",
"the",
"following",
"operations",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"replaces",
"<",
"code",
">",
"(",
"ampersand",
")",
"quot",
";",
"<",
"/",
"code",
">",
"with",
"<",
"code",
">",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"replaces",
"<",
"code",
">",
"(",
"ampersand",
")",
"nbsp",
";",
"<",
"/",
"code",
">",
"with",
"a",
"non",
"-",
"breaking",
"space",
"decimal",
"160",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"replaces",
"<",
"code",
">",
"(",
"ampersand",
")",
"lt",
";",
"<",
"/",
"code",
">",
"with",
"a",
"less",
"than",
"symbol",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"replaces",
"<",
"code",
">",
"(",
"ampersand",
")",
"gt",
";",
"<",
"/",
"code",
">",
"with",
"<",
"code",
">",
"&",
"gt",
";",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"replaces",
"characters",
"that",
"are",
"represented",
"in",
"hexadecimal",
"format",
"<",
"code",
">",
"(",
"ampersand",
")",
"#",
"xhhhh",
";",
"<",
"/",
"code",
">",
"with",
"the",
"corresponding",
"characters",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"replaces",
"characters",
"that",
"are",
"represented",
"in",
"decimal",
"format",
"<",
"code",
">",
"(",
"ampersand",
")",
"#",
"nnnn",
";",
"<",
"/",
"code",
">",
"with",
"the",
"corresponding",
"characters",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"<",
"b",
">",
"lowercase",
"<",
"/",
"b",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"use",
"this",
"option",
"to",
"convert",
"uppercase",
"letters",
"(",
"a",
"-",
"z",
")",
"to",
"lowercase",
"(",
"a",
"-",
"z",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"url",
"decode",
"<",
"/",
"b",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"use",
"this",
"option",
"to",
"decode",
"a",
"url",
"-",
"encoded",
"value",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"none",
"<",
"/",
"b",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"specify",
"<",
"code",
">",
"none",
"<",
"/",
"code",
">",
"if",
"you",
"don",
"t",
"want",
"to",
"perform",
"any",
"text",
"transformations",
"<",
"/",
"p",
">"
] | [
"set",
"text",
"transformation",
"(",
"text",
"transformation",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"text",
"transformations",
"eliminate",
"some",
"of",
"the",
"unusual",
"formatting",
"that",
"attackers",
"use",
"in",
"web",
"requests",
"in",
"an",
"effort",
"to",
"bypass",
"aws",
"waf",
"if",
"you",
"specify",
"a",
"transformation",
"aws",
"waf",
"performs",
"the",
"transformation",
"on",
"<",
"code",
">",
"field",
"to",
"match",
"<",
"/",
"code",
">",
"before",
"inspecting",
"a",
"request",
"for",
"a",
"match",
"<",
"/",
"p",
">",
"<",
"p",
">",
"you",
"can",
"only",
"specify",
"a",
"single",
"type",
"of",
"text",
"transformation",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"cmd",
"line",
"<",
"/",
"b",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"when",
"you",
"re",
"concerned",
"that",
"attackers",
"are",
"injecting",
"an",
"operating",
"system",
"command",
"line",
"command",
"and",
"using",
"unusual",
"formatting",
"to",
"disguise",
"some",
"or",
"all",
"of",
"the",
"command",
"use",
"this",
"option",
"to",
"perform",
"the",
"following",
"transformations",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"delete",
"the",
"following",
"characters",
":",
"\\",
"^",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"delete",
"spaces",
"before",
"the",
"following",
"characters",
":",
"/",
"(",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"replace",
"the",
"following",
"characters",
"with",
"a",
"space",
":",
";",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"replace",
"multiple",
"spaces",
"with",
"one",
"space",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"convert",
"uppercase",
"letters",
"(",
"a",
"-",
"z",
")",
"to",
"lowercase",
"(",
"a",
"-",
"z",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"<",
"b",
">",
"compress",
"white",
"space",
"<",
"/",
"b",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"use",
"this",
"option",
"to",
"replace",
"the",
"following",
"characters",
"with",
"a",
"space",
"character",
"(",
"decimal",
"32",
")",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"\\",
"f",
"formfeed",
"decimal",
"12",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"\\",
"t",
"tab",
"decimal",
"9",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"\\",
"n",
"newline",
"decimal",
"10",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"\\",
"r",
"carriage",
"return",
"decimal",
"13",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"\\",
"v",
"vertical",
"tab",
"decimal",
"11",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"non",
"-",
"breaking",
"space",
"decimal",
"160",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"<",
"code",
">",
"compress",
"white",
"space",
"<",
"/",
"code",
">",
"also",
"replaces",
"multiple",
"spaces",
"with",
"one",
"space",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"html",
"entity",
"decode",
"<",
"/",
"b",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"use",
"this",
"option",
"to",
"replace",
"html",
"-",
"encoded",
"characters",
"with",
"unencoded",
"characters",
"<",
"code",
">",
"html",
"entity",
"decode",
"<",
"/",
"code",
">",
"performs",
"the",
"following",
"operations",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"replaces",
"<",
"code",
">",
"(",
"ampersand",
")",
"quot",
";",
"<",
"/",
"code",
">",
"with",
"<",
"code",
">",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"replaces",
"<",
"code",
">",
"(",
"ampersand",
")",
"nbsp",
";",
"<",
"/",
"code",
">",
"with",
"a",
"non",
"-",
"breaking",
"space",
"decimal",
"160",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"replaces",
"<",
"code",
">",
"(",
"ampersand",
")",
"lt",
";",
"<",
"/",
"code",
">",
"with",
"a",
"less",
"than",
"symbol",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"replaces",
"<",
"code",
">",
"(",
"ampersand",
")",
"gt",
";",
"<",
"/",
"code",
">",
"with",
"<",
"code",
">",
"&",
"gt",
";",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"replaces",
"characters",
"that",
"are",
"represented",
"in",
"hexadecimal",
"format",
"<",
"code",
">",
"(",
"ampersand",
")",
"#",
"xhhhh",
";",
"<",
"/",
"code",
">",
"with",
"the",
"corresponding",
"characters",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"replaces",
"characters",
"that",
"are",
"represented",
"in",
"decimal",
"format",
"<",
"code",
">",
"(",
"ampersand",
")",
"#",
"nnnn",
";",
"<",
"/",
"code",
">",
"with",
"the",
"corresponding",
"characters",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"<",
"b",
">",
"lowercase",
"<",
"/",
"b",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"use",
"this",
"option",
"to",
"convert",
"uppercase",
"letters",
"(",
"a",
"-",
"z",
")",
"to",
"lowercase",
"(",
"a",
"-",
"z",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"url",
"decode",
"<",
"/",
"b",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"use",
"this",
"option",
"to",
"decode",
"a",
"url",
"-",
"encoded",
"value",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"none",
"<",
"/",
"b",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"specify",
"<",
"code",
">",
"none",
"<",
"/",
"code",
">",
"if",
"you",
"don",
"t",
"want",
"to",
"perform",
"any",
"text",
"transformations",
"<",
"/",
"p",
">"
] | [
"this",
"text",
"transformation",
"=",
"text",
"transformation",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"remembers",
"{"
] | [
"preconditions",
"check",
"not",
"null",
"(",
"error",
"message",
")",
";",
"if",
"(",
"first",
"error",
"message",
"=",
"=",
"null",
")",
"{",
"first",
"error",
"message",
"=",
"error",
"message",
";",
"}"
] |
[
"returns",
"host",
"name"
] | [
"return",
"host",
"name",
";"
] |
[
"returns",
"host",
"ip",
"address"
] | [
"return",
"host",
"address",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"util"
] | [
"if",
"(",
"in",
"ends",
"with",
"(",
"file",
"separator",
")",
")",
"{",
"return",
"in",
"substring",
"(",
"0",
",",
"in",
"length",
"(",
")",
"-",
"1",
")",
";",
"}",
"return",
"in",
";"
] |
[
"just",
"a",
"trick",
"to",
"use",
"variable",
"args",
"which",
"is",
"shorter",
"than",
"writing",
"new",
"quality",
"profile",
"[",
"]",
"{",
"}"
] | [
"return",
"qps",
";"
] |
[
"gets",
"the",
"cursor",
"helper",
"for",
"the",
"children",
"in",
"the",
"given",
"group"
] | [
"my",
"cursor",
"helper",
"cursor",
"helper",
"=",
"m",
"children",
"cursor",
"helpers",
"get",
"(",
"group",
"position",
")",
";",
"if",
"(",
"cursor",
"helper",
"=",
"=",
"null",
")",
"{",
"if",
"(",
"m",
"group",
"cursor",
"helper",
"move",
"to",
"(",
"group",
"position",
")",
"=",
"=",
"null",
")",
"return",
"null",
";",
"final",
"cursor",
"cursor",
"=",
"get",
"children",
"cursor",
"(",
"m",
"group",
"cursor",
"helper",
"get",
"cursor",
"(",
")",
")",
";",
"cursor",
"helper",
"=",
"new",
"my",
"cursor",
"helper",
"(",
"cursor",
")",
";",
"m",
"children",
"cursor",
"helpers",
"put",
"(",
"group",
"position",
",",
"cursor",
"helper",
")",
";",
"}",
"return",
"cursor",
"helper",
";"
] |
[
"gets",
"the",
"cursor",
"for",
"the",
"children",
"at",
"the",
"given",
"group",
"subclasses",
"must",
"implement",
"this",
"method",
"to",
"return",
"the",
"children",
"data",
"for",
"a",
"particular",
"group",
"<",
"p",
">",
"if",
"you",
"want",
"to",
"asynchronously",
"query",
"a",
"provider",
"to",
"prevent",
"blocking",
"the",
"ui",
"it",
"is",
"possible",
"to",
"return",
"null",
"and",
"at",
"a",
"later",
"time",
"call",
"{",
"@",
"link",
"#",
"set",
"children",
"cursor",
"(",
"int",
"cursor",
")",
"}",
"<",
"p",
">",
"it",
"is",
"your",
"responsibility",
"to",
"manage",
"this",
"cursor",
"through",
"the",
"activity",
"lifecycle",
"it",
"is",
"a",
"good",
"idea",
"to",
"use",
"{",
"@",
"link",
"activity",
"#",
"managed",
"query",
"}",
"which",
"will",
"handle",
"this",
"for",
"you",
"in",
"some",
"situations",
"the",
"adapter",
"will",
"deactivate",
"the",
"cursor",
"on",
"its",
"own",
"but",
"this",
"will",
"not",
"always",
"be",
"the",
"case",
"so",
"please",
"ensure",
"the",
"cursor",
"is",
"properly",
"managed"
] | [
"abstract",
"protected",
"cursor",
"get",
"children",
"cursor",
"(",
"cursor",
"group",
"cursor",
")",
";"
] |
[
"sets",
"the",
"group",
"cursor"
] | [
"m",
"group",
"cursor",
"helper",
"change",
"cursor",
"(",
"cursor",
",",
"false",
")",
";"
] |
[
"makes",
"a",
"new",
"group",
"view",
"to",
"hold",
"the",
"group",
"data",
"pointed",
"to",
"by",
"cursor"
] | [
"protected",
"abstract",
"view",
"new",
"group",
"view",
"(",
"context",
"context",
",",
"cursor",
"cursor",
",",
"boolean",
"is",
"expanded",
",",
"view",
"group",
"parent",
")",
";"
] |
[
"bind",
"an",
"existing",
"view",
"to",
"the",
"group",
"data",
"pointed",
"to",
"by",
"cursor"
] | [
"protected",
"abstract",
"void",
"bind",
"group",
"view",
"(",
"view",
"view",
",",
"context",
"context",
",",
"cursor",
"cursor",
",",
"boolean",
"is",
"expanded",
")",
";"
] |
[
"makes",
"a",
"new",
"child",
"view",
"to",
"hold",
"the",
"data",
"pointed",
"to",
"by",
"cursor"
] | [
"protected",
"abstract",
"view",
"new",
"child",
"view",
"(",
"context",
"context",
",",
"cursor",
"cursor",
",",
"boolean",
"is",
"last",
"child",
",",
"view",
"group",
"parent",
")",
";"
] |
[
"bind",
"an",
"existing",
"view",
"to",
"the",
"child",
"data",
"pointed",
"to",
"by",
"cursor"
] | [
"protected",
"abstract",
"void",
"bind",
"child",
"view",
"(",
"view",
"view",
",",
"context",
"context",
",",
"cursor",
"cursor",
",",
"boolean",
"is",
"last",
"child",
")",
";"
] |
[
"notifies",
"a",
"data",
"set",
"change",
"but",
"with",
"the",
"option",
"of",
"not",
"releasing",
"any",
"cached",
"cursors"
] | [
"if",
"(",
"release",
"cursors",
")",
"{",
"release",
"cursor",
"helpers",
"(",
")",
";",
"}",
"super",
"notify",
"data",
"set",
"changed",
"(",
")",
";"
] |
[
"deactivates",
"the",
"cursor",
"and",
"removes",
"the",
"helper",
"from",
"cache"
] | [
"my",
"cursor",
"helper",
"cursor",
"helper",
"=",
"get",
"children",
"cursor",
"helper",
"(",
"group",
"position",
",",
"true",
")",
";",
"m",
"children",
"cursor",
"helpers",
"remove",
"(",
"group",
"position",
")",
";",
"cursor",
"helper",
"deactivate",
"(",
")",
";"
] |
[
"blast",
"some",
"random",
"strings",
"through",
"the",
"analyzer"
] | [
"analyzer",
"a",
"=",
"new",
"analyzer",
"(",
")",
"{",
"@",
"override",
"protected",
"token",
"stream",
"components",
"create",
"components",
"(",
"string",
"field",
"name",
")",
"{",
"tokenizer",
"t",
"=",
"new",
"mock",
"tokenizer",
"(",
"mock",
"tokenizer",
"whitespace",
",",
"false",
")",
";",
"common",
"grams",
"filter",
"cgf",
"=",
"new",
"common",
"grams",
"filter",
"(",
"t",
",",
"common",
"words",
")",
";",
"return",
"new",
"token",
"stream",
"components",
"(",
"t",
",",
"cgf",
")",
";",
"}",
"}",
";",
"check",
"random",
"data",
"(",
"random",
"(",
")",
",",
"a",
",",
"1000",
"*",
"random",
"multiplier",
")",
";",
"a",
"close",
"(",
")",
";",
"analyzer",
"b",
"=",
"new",
"analyzer",
"(",
")",
"{",
"@",
"override",
"protected",
"token",
"stream",
"components",
"create",
"components",
"(",
"string",
"field",
"name",
")",
"{",
"tokenizer",
"t",
"=",
"new",
"mock",
"tokenizer",
"(",
"mock",
"tokenizer",
"whitespace",
",",
"false",
")",
";",
"common",
"grams",
"filter",
"cgf",
"=",
"new",
"common",
"grams",
"filter",
"(",
"t",
",",
"common",
"words",
")",
";",
"return",
"new",
"token",
"stream",
"components",
"(",
"t",
",",
"new",
"common",
"grams",
"query",
"filter",
"(",
"cgf",
")",
")",
";",
"}",
"}",
";",
"check",
"random",
"data",
"(",
"random",
"(",
")",
",",
"b",
",",
"1000",
"*",
"random",
"multiplier",
")",
";",
"b",
"close",
"(",
")",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"state",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.