docstring_tokens
list | code_tokens
list |
---|---|
[
"{"
]
| [
"short",
"value",
"=",
"byte",
"buffer",
"wrap",
"(",
"data",
")",
"order",
"(",
"byte",
"order",
"little",
"endian",
")",
"get",
"short",
"(",
"value",
"type",
"get",
"data",
"offset",
"(",
")",
")",
";",
"return",
"new",
"decimal",
"type",
"(",
"value",
"*",
"constants",
"rain",
"click",
"base",
")",
";"
]
|
[
"get",
"the",
"earliest",
"time",
"of",
"range",
"search"
]
| [
"string",
"result",
";",
"if",
"(",
"realtime",
")",
"{",
"result",
"=",
"calculate",
"earliest",
"time",
"for",
"real",
"time",
"(",
"start",
"time",
")",
";",
"}",
"else",
"{",
"date",
"format",
"df",
"=",
"new",
"simple",
"date",
"format",
"(",
"date",
"format",
")",
";",
"result",
"=",
"df",
"format",
"(",
"last",
"successful",
"read",
"time",
"get",
"time",
"(",
")",
")",
";",
"}",
"return",
"result",
";"
]
|
[
"adds",
"a",
"new",
"token",
"with",
"the",
"given",
"{",
"@",
"code",
"name",
"}",
"enabled",
"by",
"default",
"<",
"p",
">",
"the",
"call",
"to",
"this",
"method",
"has",
"no",
"effect",
"if",
"the",
"given",
"{",
"@",
"code",
"name",
"}",
"is",
"null",
"or",
"empty",
"or",
"a",
"token",
"with",
"the",
"given",
"name",
"already",
"exist"
]
| [
"if",
"(",
"name",
"=",
"=",
"null",
"|",
"|",
"name",
"is",
"empty",
"(",
")",
")",
"{",
"return",
";",
"}",
"for",
"(",
"iterator",
"<",
"anti",
"csrf",
"param",
"token",
">",
"it",
"=",
"tokens",
"iterator",
"(",
")",
";",
"it",
"has",
"next",
"(",
")",
";",
")",
"{",
"if",
"(",
"name",
"equals",
"(",
"it",
"next",
"(",
")",
"get",
"name",
"(",
")",
")",
")",
"{",
"return",
";",
"}",
"}",
"this",
"tokens",
"add",
"(",
"new",
"anti",
"csrf",
"param",
"token",
"(",
"name",
")",
")",
";",
"this",
"enabled",
"tokens",
"names",
"add",
"(",
"name",
")",
";"
]
|
[
"removes",
"the",
"token",
"with",
"the",
"given",
"{",
"@",
"code",
"name",
"}",
"<",
"p",
">",
"the",
"call",
"to",
"this",
"method",
"has",
"no",
"effect",
"if",
"the",
"given",
"{",
"@",
"code",
"name",
"}",
"is",
"null",
"or",
"empty",
"or",
"a",
"token",
"with",
"the",
"given",
"{",
"@",
"code",
"name",
"}",
"does",
"not",
"exist"
]
| [
"if",
"(",
"name",
"=",
"=",
"null",
"|",
"|",
"name",
"is",
"empty",
"(",
")",
")",
"{",
"return",
";",
"}",
"for",
"(",
"iterator",
"<",
"anti",
"csrf",
"param",
"token",
">",
"it",
"=",
"tokens",
"iterator",
"(",
")",
";",
"it",
"has",
"next",
"(",
")",
";",
")",
"{",
"anti",
"csrf",
"param",
"token",
"token",
"=",
"it",
"next",
"(",
")",
";",
"if",
"(",
"name",
"equals",
"(",
"token",
"get",
"name",
"(",
")",
")",
")",
"{",
"it",
"remove",
"(",
")",
";",
"if",
"(",
"token",
"is",
"enabled",
"(",
")",
")",
"{",
"this",
"enabled",
"tokens",
"names",
"remove",
"(",
"name",
")",
";",
"}",
"break",
";",
"}",
"}"
]
|
[
"<",
"p",
">",
"identifier",
"returned",
"to",
"track",
"the",
"requested",
"action",
"<",
"/",
"p",
">"
]
| [
"set",
"operation",
"id",
"(",
"operation",
"id",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"type",
"of",
"the",
"action",
"requested",
"<",
"/",
"p",
">"
]
| [
"set",
"type",
"(",
"type",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"type",
"of",
"operation",
"that",
"was",
"requested",
"<",
"/",
"p",
">"
]
| [
"with",
"type",
"(",
"type",
")",
";"
]
|
[
"<",
"p",
">",
"type",
"of",
"the",
"action",
"requested",
"<",
"/",
"p",
">"
]
| [
"this",
"type",
"=",
"type",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"date",
"when",
"the",
"request",
"was",
"submitted",
"<",
"/",
"p",
">"
]
| [
"this",
"submitted",
"date",
"=",
"submitted",
"date",
";"
]
|
[
"<",
"p",
">",
"the",
"date",
"when",
"the",
"request",
"was",
"submitted",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"submitted",
"date",
";"
]
|
[
"<",
"p",
">",
"the",
"date",
"when",
"the",
"request",
"was",
"submitted",
"<",
"/",
"p",
">"
]
| [
"set",
"submitted",
"date",
"(",
"submitted",
"date",
")",
";",
"return",
"this",
";"
]
|
[
"returns",
"the",
"class",
"of",
"the",
"mismatched",
"argument"
]
| [
"return",
"signature",
";"
]
|
[
"add",
"new",
"entry",
"to",
"set"
]
| [
"m",
"entries",
"add",
"(",
"check",
"not",
"null",
"(",
"e",
")",
")",
";"
]
|
[
"animate",
"set",
"s",
"alpha",
"value"
]
| [
"final",
"value",
"animator",
"animator",
"=",
"value",
"animator",
"of",
"float",
"(",
"m",
"alpha",
",",
"1",
")",
";",
"animator",
"add",
"update",
"listener",
"(",
"new",
"value",
"animator",
"animator",
"update",
"listener",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"on",
"animation",
"update",
"(",
"value",
"animator",
"animation",
")",
"{",
"m",
"alpha",
"=",
"(",
"float",
")",
"animation",
"get",
"animated",
"value",
"(",
")",
";",
"}",
"}",
")",
";",
"m",
"alpha",
"=",
"from",
";",
"return",
"animator",
";"
]
|
[
"returns",
"the",
"number",
"of",
"entries",
"in",
"this",
"set"
]
| [
"return",
"m",
"entries",
"size",
"(",
")",
";"
]
|
[
"get",
"set",
"of",
"{",
"@",
"link",
"chart",
"entry",
"}",
"s"
]
| [
"return",
"m",
"entries",
";"
]
|
[
"get",
"{",
"@",
"link",
"chart",
"entry",
"}",
"from",
"specific",
"index"
]
| [
"return",
"m",
"entries",
"get",
"(",
"check",
"position",
"index",
"(",
"index",
",",
"size",
"(",
")",
")",
")",
";"
]
|
[
"get",
"{",
"@",
"link",
"chart",
"entry",
"}",
"value",
"from",
"specific",
"index"
]
| [
"return",
"m",
"entries",
"get",
"(",
"check",
"position",
"index",
"(",
"index",
",",
"size",
"(",
")",
")",
")",
"get",
"value",
"(",
")",
";"
]
|
[
"get",
"{",
"@",
"link",
"chart",
"entry",
"}",
"label",
"from",
"specific",
"index"
]
| [
"return",
"m",
"entries",
"get",
"(",
"check",
"position",
"index",
"(",
"index",
",",
"size",
"(",
")",
")",
")",
"get",
"label",
"(",
")",
";"
]
|
[
"get",
"{",
"@",
"link",
"chart",
"entry",
"}",
"with",
"the",
"highest",
"value"
]
| [
"return",
"collections",
"max",
"(",
"m",
"entries",
")",
";"
]
|
[
"get",
"{",
"@",
"link",
"chart",
"entry",
"}",
"with",
"the",
"lowest",
"value"
]
| [
"return",
"collections",
"min",
"(",
"m",
"entries",
")",
";"
]
|
[
"get",
"screen",
"points"
]
| [
"int",
"n",
"entries",
"=",
"size",
"(",
")",
";",
"float",
"[",
"]",
"[",
"]",
"result",
"=",
"new",
"float",
"[",
"n",
"entries",
"]",
"[",
"2",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"n",
"entries",
";",
"i",
"+",
"+",
")",
"{",
"result",
"[",
"i",
"]",
"[",
"0",
"]",
"=",
"m",
"entries",
"get",
"(",
"i",
")",
"get",
"x",
"(",
")",
";",
"result",
"[",
"i",
"]",
"[",
"1",
"]",
"=",
"m",
"entries",
"get",
"(",
"i",
")",
"get",
"y",
"(",
")",
";",
"}",
"return",
"result",
";"
]
|
[
"set",
"set",
"s",
"alpha"
]
| [
"m",
"alpha",
"=",
"(",
"alpha",
"<",
"1",
")",
"?",
"alpha",
":",
"1",
";"
]
|
[
"set",
"{",
"@",
"link",
"chart",
"entry",
"}",
"value",
"at",
"specific",
"index",
"position"
]
| [
"m",
"entries",
"get",
"(",
"check",
"position",
"index",
"(",
"index",
",",
"size",
"(",
")",
")",
")",
"set",
"value",
"(",
"value",
")",
";"
]
|
[
"define",
"set",
"shadow"
]
| [
"for",
"(",
"chart",
"entry",
"e",
":",
"get",
"entries",
"(",
")",
")",
"e",
"set",
"shadow",
"(",
"radius",
",",
"dx",
",",
"dy",
",",
"color",
")",
";"
]
|
[
"returns",
"a",
"string",
"representation",
"of",
"this",
"set"
]
| [
"return",
"m",
"entries",
"to",
"string",
"(",
")",
";"
]
|
[
"sort",
"the",
"given",
"constructors",
"preferring",
"public",
"constructors",
"and",
"greedy",
"ones",
"with",
"a",
"maximum",
"number",
"of",
"arguments",
"the",
"result",
"will",
"contain",
"public",
"constructors",
"first",
"with",
"decreasing",
"number",
"of",
"arguments",
"then",
"non",
"-",
"public",
"constructors",
"again",
"with",
"decreasing",
"number",
"of",
"arguments"
]
| [
"arrays",
"sort",
"(",
"constructors",
",",
"(",
"c",
"1",
",",
"c",
"2",
")",
"-",
">",
"{",
"boolean",
"p",
"1",
"=",
"modifier",
"is",
"public",
"(",
"c",
"1",
"get",
"modifiers",
"(",
")",
")",
";",
"boolean",
"p",
"2",
"=",
"modifier",
"is",
"public",
"(",
"c",
"2",
"get",
"modifiers",
"(",
")",
")",
";",
"if",
"(",
"p",
"1",
"!",
"=",
"p",
"2",
")",
"{",
"return",
"(",
"p",
"1",
"?",
"-",
"1",
":",
"1",
")",
";",
"}",
"int",
"c",
"1pl",
"=",
"c",
"1",
"get",
"parameter",
"count",
"(",
")",
";",
"int",
"c",
"2pl",
"=",
"c",
"2",
"get",
"parameter",
"count",
"(",
")",
";",
"return",
"(",
"c",
"1pl",
"<",
"c",
"2pl",
"?",
"1",
":",
"(",
"c",
"1pl",
">",
"c",
"2pl",
"?",
"-",
"1",
":",
"0",
")",
")",
";",
"}",
")",
";"
]
|
[
"sort",
"the",
"given",
"factory",
"methods",
"preferring",
"public",
"methods",
"and",
"greedy",
"ones",
"with",
"a",
"maximum",
"of",
"arguments",
"the",
"result",
"will",
"contain",
"public",
"methods",
"first",
"with",
"decreasing",
"number",
"of",
"arguments",
"then",
"non",
"-",
"public",
"methods",
"again",
"with",
"decreasing",
"number",
"of",
"arguments"
]
| [
"arrays",
"sort",
"(",
"factory",
"methods",
",",
"(",
"fm",
"1",
",",
"fm",
"2",
")",
"-",
">",
"{",
"boolean",
"p",
"1",
"=",
"modifier",
"is",
"public",
"(",
"fm",
"1",
"get",
"modifiers",
"(",
")",
")",
";",
"boolean",
"p",
"2",
"=",
"modifier",
"is",
"public",
"(",
"fm",
"2",
"get",
"modifiers",
"(",
")",
")",
";",
"if",
"(",
"p",
"1",
"!",
"=",
"p",
"2",
")",
"{",
"return",
"(",
"p",
"1",
"?",
"-",
"1",
":",
"1",
")",
";",
"}",
"int",
"c",
"1pl",
"=",
"fm",
"1",
"get",
"parameter",
"count",
"(",
")",
";",
"int",
"c",
"2pl",
"=",
"fm",
"2",
"get",
"parameter",
"count",
"(",
")",
";",
"return",
"(",
"c",
"1pl",
"<",
"c",
"2pl",
"?",
"1",
":",
"(",
"c",
"1pl",
">",
"c",
"2pl",
"?",
"-",
"1",
":",
"0",
")",
")",
";",
"}",
")",
";"
]
|
[
"return",
"whether",
"the",
"setter",
"method",
"of",
"the",
"given",
"bean",
"property",
"is",
"defined",
"in",
"any",
"of",
"the",
"given",
"interfaces"
]
| [
"method",
"setter",
"=",
"pd",
"get",
"write",
"method",
"(",
")",
";",
"if",
"(",
"setter",
"!",
"=",
"null",
")",
"{",
"class",
"<",
"?",
">",
"target",
"class",
"=",
"setter",
"get",
"declaring",
"class",
"(",
")",
";",
"for",
"(",
"class",
"<",
"?",
">",
"ifc",
":",
"interfaces",
")",
"{",
"if",
"(",
"ifc",
"is",
"assignable",
"from",
"(",
"target",
"class",
")",
"&",
"&",
"class",
"utils",
"has",
"method",
"(",
"ifc",
",",
"setter",
"get",
"name",
"(",
")",
",",
"setter",
"get",
"parameter",
"types",
"(",
")",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"}",
"return",
"false",
";"
]
|
[
"resolve",
"the",
"given",
"autowiring",
"value",
"against",
"the",
"given",
"required",
"type",
"e",
"g",
"an",
"{"
]
| [
"if",
"(",
"autowiring",
"value",
"instanceof",
"object",
"factory",
"&",
"&",
"!",
"required",
"type",
"is",
"instance",
"(",
"autowiring",
"value",
")",
")",
"{",
"object",
"factory",
"<",
"?",
">",
"factory",
"=",
"(",
"object",
"factory",
"<",
"?",
">",
")",
"autowiring",
"value",
";",
"if",
"(",
"autowiring",
"value",
"instanceof",
"serializable",
"&",
"&",
"required",
"type",
"is",
"interface",
"(",
")",
")",
"{",
"autowiring",
"value",
"=",
"proxy",
"new",
"proxy",
"instance",
"(",
"required",
"type",
"get",
"class",
"loader",
"(",
")",
",",
"new",
"class",
"<",
"?",
">",
"[",
"]",
"{",
"required",
"type",
"}",
",",
"new",
"object",
"factory",
"delegating",
"invocation",
"handler",
"(",
"factory",
")",
")",
";",
"}",
"else",
"{",
"return",
"factory",
"get",
"object",
"(",
")",
";",
"}",
"}",
"return",
"autowiring",
"value",
";"
]
|
[
"returns",
"the",
"cloned",
"encoded",
"image",
"if",
"the",
"parameter",
"received",
"is",
"not",
"null",
"null",
"otherwise"
]
| [
"return",
"encoded",
"image",
"!",
"=",
"null",
"?",
"encoded",
"image",
"clone",
"or",
"null",
"(",
")",
":",
"null",
";"
]
|
[
"closes",
"the",
"buffer",
"enclosed",
"by",
"this",
"class"
]
| [
"closeable",
"reference",
"close",
"safely",
"(",
"m",
"pooled",
"byte",
"buffer",
"ref",
")",
";"
]
|
[
"returns",
"true",
"if",
"the",
"internal",
"buffer",
"reference",
"is",
"valid",
"or",
"the",
"input",
"stream",
"supplier",
"is",
"not",
"null",
"false",
"otherwise"
]
| [
"return",
"closeable",
"reference",
"is",
"valid",
"(",
"m",
"pooled",
"byte",
"buffer",
"ref",
")",
"|",
"|",
"m",
"input",
"stream",
"supplier",
"!",
"=",
"null",
";"
]
|
[
"returns",
"a",
"cloned",
"reference",
"to",
"the",
"stored",
"encoded",
"bytes"
]
| [
"return",
"closeable",
"reference",
"clone",
"or",
"null",
"(",
"m",
"pooled",
"byte",
"buffer",
"ref",
")",
";"
]
|
[
"returns",
"an",
"input",
"stream",
"from",
"the",
"internal",
"input",
"stream",
"supplier",
"if",
"it",
"s",
"not",
"null",
"otherwise",
"returns",
"an",
"input",
"stream",
"for",
"the",
"internal",
"buffer",
"reference",
"if",
"valid",
"and",
"null",
"otherwise"
]
| [
"if",
"(",
"m",
"input",
"stream",
"supplier",
"!",
"=",
"null",
")",
"{",
"return",
"m",
"input",
"stream",
"supplier",
"get",
"(",
")",
";",
"}",
"closeable",
"reference",
"<",
"pooled",
"byte",
"buffer",
">",
"pooled",
"byte",
"buffer",
"ref",
"=",
"closeable",
"reference",
"clone",
"or",
"null",
"(",
"m",
"pooled",
"byte",
"buffer",
"ref",
")",
";",
"if",
"(",
"pooled",
"byte",
"buffer",
"ref",
"!",
"=",
"null",
")",
"{",
"try",
"{",
"return",
"new",
"pooled",
"byte",
"buffer",
"input",
"stream",
"(",
"pooled",
"byte",
"buffer",
"ref",
"get",
"(",
")",
")",
";",
"}",
"finally",
"{",
"closeable",
"reference",
"close",
"safely",
"(",
"pooled",
"byte",
"buffer",
"ref",
")",
";",
"}",
"}",
"return",
"null",
";"
]
|
[
"sets",
"the",
"image",
"format"
]
| [
"this",
"m",
"image",
"format",
"=",
"image",
"format",
";"
]
|
[
"sets",
"the",
"image",
"rotation",
"angle"
]
| [
"this",
"m",
"rotation",
"angle",
"=",
"rotation",
"angle",
";"
]
|
[
"sets",
"the",
"exif",
"orientation"
]
| [
"this",
"m",
"exif",
"orientation",
"=",
"exif",
"orientation",
";"
]
|
[
"sets",
"the",
"image",
"sample",
"size"
]
| [
"this",
"m",
"sample",
"size",
"=",
"sample",
"size",
";"
]
|
[
"sets",
"the",
"size",
"of",
"an",
"image",
"if",
"backed",
"by",
"an",
"input",
"stream"
]
| [
"this",
"m",
"stream",
"size",
"=",
"stream",
"size",
";"
]
|
[
"returns",
"the",
"image",
"format",
"if",
"known",
"otherwise",
"image",
"format",
"unknown"
]
| [
"parse",
"meta",
"data",
"if",
"needed",
"(",
")",
";",
"return",
"m",
"image",
"format",
";"
]
|
[
"returns",
"the",
"exif",
"orientation",
"if",
"known",
"(",
"1",
"-",
"8",
")",
"else",
"0"
]
| [
"parse",
"meta",
"data",
"if",
"needed",
"(",
")",
";",
"return",
"m",
"exif",
"orientation",
";"
]
|
[
"returns",
"the",
"image",
"width",
"if",
"known",
"else",
"-",
"1"
]
| [
"parse",
"meta",
"data",
"if",
"needed",
"(",
")",
";",
"return",
"m",
"width",
";"
]
|
[
"returns",
"the",
"image",
"height",
"if",
"known",
"else",
"-",
"1"
]
| [
"parse",
"meta",
"data",
"if",
"needed",
"(",
")",
";",
"return",
"m",
"height",
";"
]
|
[
"the",
"color",
"space",
"is",
"always",
"null",
"if",
"android",
"api",
"level",
"<",
"26"
]
| [
"parse",
"meta",
"data",
"if",
"needed",
"(",
")",
";",
"return",
"m",
"color",
"space",
";"
]
|
[
"returns",
"the",
"size",
"of",
"the",
"backing",
"structure"
]
| [
"if",
"(",
"m",
"pooled",
"byte",
"buffer",
"ref",
"!",
"=",
"null",
"&",
"&",
"m",
"pooled",
"byte",
"buffer",
"ref",
"get",
"(",
")",
"!",
"=",
"null",
")",
"{",
"return",
"m",
"pooled",
"byte",
"buffer",
"ref",
"get",
"(",
")",
"size",
"(",
")",
";",
"}",
"return",
"m",
"stream",
"size",
";"
]
|
[
"sets",
"the",
"encoded",
"image",
"meta",
"data",
"if",
"needed"
]
| [
"if",
"(",
"m",
"width",
"<",
"0",
"|",
"|",
"m",
"height",
"<",
"0",
")",
"{",
"parse",
"meta",
"data",
"(",
")",
";",
"}"
]
|
[
"we",
"get",
"the",
"size",
"from",
"a",
"web",
"p",
"image"
]
| [
"final",
"pair",
"<",
"integer",
",",
"integer",
">",
"dimensions",
"=",
"webp",
"util",
"get",
"size",
"(",
"get",
"input",
"stream",
"(",
")",
")",
";",
"if",
"(",
"dimensions",
"!",
"=",
"null",
")",
"{",
"m",
"width",
"=",
"dimensions",
"first",
";",
"m",
"height",
"=",
"dimensions",
"second",
";",
"}",
"return",
"dimensions",
";"
]
|
[
"copy",
"the",
"meta",
"data",
"from",
"another",
"encoded",
"image"
]
| [
"m",
"image",
"format",
"=",
"encoded",
"image",
"get",
"image",
"format",
"(",
")",
";",
"m",
"width",
"=",
"encoded",
"image",
"get",
"width",
"(",
")",
";",
"m",
"height",
"=",
"encoded",
"image",
"get",
"height",
"(",
")",
";",
"m",
"rotation",
"angle",
"=",
"encoded",
"image",
"get",
"rotation",
"angle",
"(",
")",
";",
"m",
"exif",
"orientation",
"=",
"encoded",
"image",
"get",
"exif",
"orientation",
"(",
")",
";",
"m",
"sample",
"size",
"=",
"encoded",
"image",
"get",
"sample",
"size",
"(",
")",
";",
"m",
"stream",
"size",
"=",
"encoded",
"image",
"get",
"size",
"(",
")",
";",
"m",
"bytes",
"range",
"=",
"encoded",
"image",
"get",
"bytes",
"range",
"(",
")",
";",
"m",
"color",
"space",
"=",
"encoded",
"image",
"get",
"color",
"space",
"(",
")",
";"
]
|
[
"returns",
"true",
"if",
"all",
"the",
"image",
"information",
"has",
"loaded",
"false",
"otherwise"
]
| [
"return",
"encoded",
"image",
"m",
"rotation",
"angle",
">",
"=",
"0",
"&",
"&",
"encoded",
"image",
"m",
"width",
">",
"=",
"0",
"&",
"&",
"encoded",
"image",
"m",
"height",
">",
"=",
"0",
";"
]
|
[
"closes",
"the",
"encoded",
"image",
"handling",
"null"
]
| [
"if",
"(",
"encoded",
"image",
"!",
"=",
"null",
")",
"{",
"encoded",
"image",
"close",
"(",
")",
";",
"}"
]
|
[
"checks",
"if",
"the",
"encoded",
"image",
"is",
"valid",
"i",
"e",
"is",
"not",
"null",
"and",
"is",
"not",
"closed"
]
| [
"return",
"encoded",
"image",
"!",
"=",
"null",
"&",
"&",
"encoded",
"image",
"is",
"valid",
"(",
")",
";"
]
|
[
"a",
"test",
"-",
"only",
"method",
"to",
"get",
"the",
"underlying",
"references"
]
| [
"return",
"(",
"m",
"pooled",
"byte",
"buffer",
"ref",
"!",
"=",
"null",
")",
"?",
"m",
"pooled",
"byte",
"buffer",
"ref",
"get",
"underlying",
"reference",
"test",
"only",
"(",
")",
":",
"null",
";"
]
|
[
"prevent",
"broadcast",
"to",
"be",
"delivered",
"to",
"manifest",
"receivers",
"in",
"background",
"(",
"cached",
"or",
"not",
"running",
")",
"apps",
"(",
"default",
":",
"true",
")"
]
| [
"m",
"exclude",
"background",
"receivers",
"=",
"prevent",
"or",
"not",
";",
"return",
"this",
";"
]
|
[
"prevent",
"service",
"in",
"background",
"(",
"cached",
"or",
"not",
"running",
")",
"apps",
"to",
"be",
"discovered",
"via",
"{",
"@",
"link",
"package",
"manager",
"#",
"query",
"intent",
"services",
"(",
"intent",
"int",
")",
"}",
"or",
"{",
"@",
"link",
"package",
"manager",
"#",
"resolve",
"service",
"(",
"intent",
"int",
")",
"}",
"(",
"default",
":",
"true",
")"
]
| [
"m",
"exclude",
"background",
"services",
"=",
"prevent",
"or",
"not",
";",
"return",
"this",
";"
]
|
[
"set",
"a",
"custom",
"judge",
"for",
"the",
"explicit",
"target",
"package",
"of",
"outbound",
"service",
"and",
"broadcast",
"requests"
]
| [
"m",
"outbound",
"judge",
"=",
"judge",
";",
"return",
"this",
";"
]
|
[
"set",
"to",
"dry",
"-",
"run",
"mode",
"to",
"inspect",
"the",
"outbound",
"wake",
"-",
"up",
"only",
"no",
"outbound",
"requests",
"will",
"be",
"actually",
"blocked"
]
| [
"m",
"dry",
"run",
"=",
"dry",
"run",
";",
"return",
"this",
";"
]
|
[
"gets",
"value"
]
| [
"return",
"val",
";"
]
|
[
"sets",
"value"
]
| [
"this",
"val",
"=",
"val",
";"
]
|
[
"{"
]
| [
"return",
"new",
"iterator",
"<",
"v",
">",
"(",
")",
"{",
"private",
"boolean",
"has",
"next",
"=",
"true",
";",
"@",
"override",
"public",
"boolean",
"has",
"next",
"(",
")",
"{",
"return",
"has",
"next",
";",
"}",
"@",
"override",
"public",
"v",
"next",
"(",
")",
"{",
"if",
"(",
"!",
"has",
"next",
"(",
")",
")",
"throw",
"new",
"no",
"such",
"element",
"exception",
"(",
")",
";",
"has",
"next",
"=",
"false",
";",
"return",
"val",
";",
"}",
"@",
"override",
"public",
"void",
"remove",
"(",
")",
"{",
"throw",
"new",
"unsupported",
"operation",
"exception",
"(",
")",
";",
"}",
"}",
";"
]
|
[
"{"
]
| [
"return",
"val",
"=",
"=",
"null",
"?",
"0",
":",
"val",
"hash",
"code",
"(",
")",
";"
]
|
[
"{"
]
| [
"return",
"s",
"to",
"string",
"(",
"grid",
"tuple",
"class",
",",
"this",
")",
";"
]
|
[
"generates",
"and",
"adds",
"a",
"new",
"key",
"to",
"a",
"keyset"
]
| [
"tinkey",
"util",
"create",
"key",
"(",
"tinkey",
"util",
"command",
"type",
"add",
"key",
",",
"output",
"stream",
",",
"out",
"format",
",",
"input",
"stream",
",",
"in",
"format",
",",
"master",
"key",
"uri",
",",
"credential",
"path",
",",
"key",
"template",
")",
";"
]
|
[
"returns",
"a",
"new",
"empty",
"{",
"@",
"code",
"enum",
"bi",
"map",
"}",
"using",
"the",
"specified",
"key",
"and",
"value",
"types"
]
| [
"return",
"new",
"enum",
"bi",
"map",
"<",
">",
"(",
"key",
"type",
",",
"value",
"type",
")",
";"
]
|
[
"returns",
"a",
"new",
"bimap",
"with",
"the",
"same",
"mappings",
"as",
"the",
"specified",
"map",
"if",
"the",
"specified",
"map",
"is",
"an",
"{",
"@",
"code",
"enum",
"bi",
"map",
"}",
"the",
"new",
"bimap",
"has",
"the",
"same",
"types",
"as",
"the",
"provided",
"map",
"otherwise",
"the",
"specified",
"map",
"must",
"contain",
"at",
"least",
"one",
"mapping",
"in",
"order",
"to",
"determine",
"the",
"key",
"and",
"value",
"types"
]
| [
"enum",
"bi",
"map",
"<",
"k",
",",
"v",
">",
"bimap",
"=",
"create",
"(",
"infer",
"key",
"type",
"(",
"map",
")",
",",
"infer",
"value",
"type",
"(",
"map",
")",
")",
";",
"bimap",
"put",
"all",
"(",
"map",
")",
";",
"return",
"bimap",
";"
]
|
[
"returns",
"the",
"associated",
"value",
"type"
]
| [
"return",
"value",
"type",
";"
]
|
[
"converts",
"api",
"operands",
"to",
"internal",
"operands"
]
| [
"final",
"list",
"<",
"c",
"operand",
"tree",
">",
"converted",
"operands",
"=",
"new",
"array",
"list",
"<",
"c",
"operand",
"tree",
">",
"(",
")",
";",
"for",
"(",
"final",
"operand",
"operand",
":",
"operands",
")",
"{",
"converted",
"operands",
"add",
"(",
"module",
"create",
"operand",
"(",
"convert",
"(",
"module",
",",
"operand",
"get",
"root",
"node",
"(",
")",
",",
"null",
")",
")",
")",
";",
"}",
"return",
"converted",
"operands",
";"
]
|
[
"converts",
"an",
"api",
"operand",
"tree",
"node",
"to",
"an",
"internal",
"operand",
"tree",
"node"
]
| [
"final",
"c",
"operand",
"tree",
"node",
"converted",
"node",
"=",
"module",
"create",
"operand",
"expression",
"(",
"operand",
"expression",
"get",
"native",
"(",
")",
"get",
"value",
"(",
")",
",",
"operand",
"expression",
"get",
"type",
"(",
")",
"get",
"native",
"(",
")",
")",
";",
"if",
"(",
"parent",
"!",
"=",
"null",
")",
"{",
"c",
"operand",
"tree",
"node",
"link",
"(",
"parent",
",",
"converted",
"node",
")",
";",
"}",
"for",
"(",
"final",
"operand",
"expression",
"child",
":",
"operand",
"expression",
"get",
"children",
"(",
")",
")",
"{",
"convert",
"(",
"module",
",",
"child",
",",
"converted",
"node",
")",
";",
"}",
"return",
"converted",
"node",
";"
]
|
[
"adds",
"an",
"object",
"that",
"is",
"notified",
"about",
"changes",
"in",
"the",
"instruction"
]
| [
"m",
"listeners",
"add",
"listener",
"(",
"listener",
")",
";"
]
|
[
"appends",
"a",
"comment",
"to",
"the",
"list",
"of",
"global",
"instruction",
"comments"
]
| [
"list",
"<",
"i",
"comment",
">",
"comments",
"=",
"lists",
"new",
"array",
"list",
"(",
")",
";",
"try",
"{",
"comments",
"=",
"m",
"instruction",
"append",
"global",
"comment",
"(",
"comment",
"text",
")",
";",
"}",
"catch",
"(",
"final",
"com",
"google",
"security",
"zynamics",
"binnavi",
"database",
"exceptions",
"couldnt",
"save",
"data",
"exception",
"exception",
")",
"{",
"throw",
"new",
"couldnt",
"save",
"data",
"exception",
"(",
"exception",
")",
";",
"}",
"for",
"(",
"final",
"i",
"instruction",
"listener",
"listener",
":",
"m",
"listeners",
")",
"{",
"listener",
"appended",
"comment",
"(",
"this",
",",
"iterables",
"get",
"last",
"(",
"comments",
")",
")",
";",
"}",
"return",
"comments",
";"
]
|
[
"deletes",
"a",
"comment",
"from",
"the",
"list",
"of",
"global",
"instruction",
"comments"
]
| [
"try",
"{",
"m",
"instruction",
"delete",
"global",
"comment",
"(",
"comment",
")",
";",
"}",
"catch",
"(",
"final",
"com",
"google",
"security",
"zynamics",
"binnavi",
"database",
"exceptions",
"couldnt",
"delete",
"exception",
"exception",
")",
"{",
"throw",
"new",
"couldnt",
"delete",
"exception",
"(",
"exception",
")",
";",
"}",
"for",
"(",
"final",
"i",
"instruction",
"listener",
"listener",
":",
"m",
"listeners",
")",
"{",
"listener",
"deleted",
"comment",
"(",
"this",
",",
"comment",
")",
";",
"}"
]
|
[
"edits",
"a",
"global",
"instruction",
"comment"
]
| [
"i",
"comment",
"edited",
"comment",
"=",
"null",
";",
"try",
"{",
"edited",
"comment",
"=",
"m",
"instruction",
"edit",
"global",
"comment",
"(",
"comment",
",",
"new",
"comment",
")",
";",
"}",
"catch",
"(",
"final",
"com",
"google",
"security",
"zynamics",
"binnavi",
"database",
"exceptions",
"couldnt",
"save",
"data",
"exception",
"exception",
")",
"{",
"throw",
"new",
"couldnt",
"save",
"data",
"exception",
"(",
"exception",
")",
";",
"}",
"for",
"(",
"final",
"i",
"instruction",
"listener",
"listener",
":",
"m",
"listeners",
")",
"{",
"listener",
"edited",
"comment",
"(",
"this",
",",
"comment",
")",
";",
"}",
"return",
"edited",
"comment",
";"
]
|
[
"returns",
"the",
"address",
"of",
"the",
"reil",
"instruction"
]
| [
"return",
"new",
"address",
"(",
"m",
"instruction",
"get",
"address",
"(",
")",
"to",
"big",
"integer",
"(",
")",
")",
";"
]
|
[
"returns",
"the",
"architecture",
"of",
"the",
"instruction"
]
| [
"return",
"m",
"instruction",
"get",
"architecture",
"(",
")",
";"
]
|
[
"returns",
"the",
"comment",
"of",
"the",
"instruction",
"this",
"comment",
"is",
"the",
"string",
"that",
"is",
"displayed",
"in",
"views",
"as",
"the",
"global",
"instruction",
"comment",
"of",
"the",
"instruction"
]
| [
"return",
"m",
"instruction",
"get",
"global",
"comment",
"(",
")",
";"
]
|
[
"returns",
"the",
"original",
"bytes",
"of",
"the",
"instruction"
]
| [
"return",
"m",
"instruction",
"get",
"data",
"(",
")",
";"
]
|
[
"returns",
"the",
"mnemonic",
"of",
"the",
"reil",
"instruction"
]
| [
"return",
"m",
"instruction",
"get",
"mnemonic",
"(",
")",
";"
]
|
[
"returns",
"the",
"operands",
"of",
"the",
"instruction"
]
| [
"return",
"new",
"array",
"list",
"<",
"operand",
">",
"(",
"m",
"operands",
")",
";"
]
|
[
"converts",
"the",
"instruction",
"to",
"reil",
"code"
]
| [
"if",
"(",
"m",
"reil",
"graph",
"=",
"=",
"null",
")",
"{",
"try",
"{",
"m",
"reil",
"graph",
"=",
"reil",
"graph",
"converter",
"create",
"reil",
"graph",
"(",
"m",
"translator",
"translate",
"(",
"new",
"standard",
"environment",
"(",
")",
",",
"m",
"instruction",
")",
")",
";",
"}",
"catch",
"(",
"final",
"com",
"google",
"security",
"zynamics",
"reil",
"translators",
"internal",
"translation",
"exception",
"e",
")",
"{",
"throw",
"new",
"internal",
"translation",
"exception",
"(",
"e",
",",
"this",
")",
";",
"}",
"}",
"return",
"m",
"reil",
"graph",
";"
]
|
[
"initializes",
"the",
"comment",
"of",
"an",
"instruction"
]
| [
"m",
"instruction",
"initialize",
"global",
"comment",
"(",
"comment",
")",
";",
"for",
"(",
"final",
"i",
"instruction",
"listener",
"listener",
":",
"m",
"listeners",
")",
"{",
"listener",
"initialized",
"comment",
"(",
"this",
",",
"comment",
")",
";",
"}"
]
|
[
"removes",
"a",
"listener",
"object",
"from",
"the",
"instruction"
]
| [
"m",
"listeners",
"remove",
"listener",
"(",
"listener",
")",
";"
]
|
[
"verify",
"if",
"{"
]
| [
"final",
"null",
"node",
"instance",
"=",
"null",
"node",
"get",
"instance",
"(",
")",
";",
"assert",
"not",
"null",
"(",
"instance",
")",
";",
"assert",
"same",
"(",
"instance",
",",
"null",
"node",
"get",
"instance",
"(",
")",
")",
";"
]
|
[
"return",
"a",
"(",
"{",
"@",
"link",
"readable",
"state",
"}",
"for",
")",
"the",
"pane",
"info",
"appropriate",
"for",
"{",
"@",
"code",
"context",
"}",
"the",
"pane",
"info",
"includes",
"the",
"timing",
"for",
"the",
"pane",
"who",
"s",
"calculation",
"is",
"quite",
"subtle"
]
| [
"final",
"object",
"key",
"=",
"context",
"key",
"(",
")",
";",
"final",
"readable",
"state",
"<",
"pane",
"info",
">",
"previous",
"pane",
"future",
"=",
"context",
"state",
"(",
")",
"access",
"(",
"pane",
"info",
"tracker",
"pane",
"info",
"tag",
")",
";",
"final",
"instant",
"window",
"max",
"timestamp",
"=",
"context",
"window",
"(",
")",
"max",
"timestamp",
"(",
")",
";",
"return",
"new",
"readable",
"state",
"<",
"pane",
"info",
">",
"(",
")",
"{",
"@",
"override",
"public",
"readable",
"state",
"<",
"pane",
"info",
">",
"read",
"later",
"(",
")",
"{",
"previous",
"pane",
"future",
"read",
"later",
"(",
")",
";",
"return",
"this",
";",
"}",
"@",
"override",
"public",
"pane",
"info",
"read",
"(",
")",
"{",
"pane",
"info",
"previous",
"pane",
"=",
"previous",
"pane",
"future",
"read",
"(",
")",
";",
"return",
"describe",
"pane",
"(",
"key",
",",
"window",
"max",
"timestamp",
",",
"previous",
"pane",
",",
"is",
"final",
")",
";",
"}",
"}",
";"
]
|
[
"/",
"*"
]
| [
"if",
"(",
"o",
"instanceof",
"typed",
"region",
"impl",
")",
"{",
"typed",
"region",
"impl",
"r",
"=",
"(",
"typed",
"region",
"impl",
")",
"o",
";",
"return",
"super",
"equals",
"(",
"r",
")",
"&",
"&",
"(",
"(",
"f",
"type",
"=",
"=",
"null",
"&",
"&",
"r",
"get",
"type",
"(",
")",
"=",
"=",
"null",
")",
"|",
"|",
"f",
"type",
"equals",
"(",
"r",
"get",
"type",
"(",
")",
")",
")",
";",
"}",
"return",
"false",
";"
]
|
[
"<",
"p",
">",
"describes",
"a",
"single",
"backup",
"<",
"/",
"p",
">"
]
| [
"set",
"backup",
"id",
"(",
"backup",
"id",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"returns",
"backups",
"for",
"the",
"server",
"with",
"the",
"specified",
"server",
"name",
"<",
"/",
"p",
">"
]
| [
"set",
"server",
"name",
"(",
"server",
"name",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"<",
"code",
">",
"next",
"token",
"<",
"/",
"code",
">",
"value",
"that",
"you",
"received",
"in",
"the",
"previous",
"response",
"use",
"this",
"value",
"to",
"get",
"more",
"backups",
"<",
"/",
"p",
">"
]
| [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"maximum",
"number",
"of",
"backups",
"to",
"return",
"in",
"the",
"response",
"when",
"there",
"are",
"more",
"backups",
"than",
"the",
"number",
"you",
"specify",
"the",
"response",
"contains",
"a",
"<",
"code",
">",
"next",
"token",
"<",
"/",
"code",
">",
"value",
"<",
"/",
"p",
">"
]
| [
"set",
"max",
"results",
"(",
"max",
"results",
")",
";",
"return",
"this",
";"
]
|
[
"returns",
"an",
"{",
"@",
"link",
"executor",
"}",
"that",
"runs",
"each",
"task",
"executed",
"sequentially",
"such",
"that",
"no",
"two",
"tasks",
"are",
"running",
"concurrently",
"submitted",
"tasks",
"have",
"a",
"happens",
"-",
"before",
"order",
"as",
"defined",
"in",
"the",
"java",
"language",
"specification"
]
| [
"return",
"new",
"sequential",
"executor",
"(",
"delegate",
")",
";"
]
|
[
"whether",
"this",
"map",
"contains",
"the",
"provided",
"value"
]
| [
"if",
"(",
"value",
"=",
"=",
"null",
"|",
"|",
"value",
"instanceof",
"data",
"template",
"=",
"=",
"false",
")",
"{",
"return",
"false",
";",
"}",
"data",
"template",
"<",
"?",
">",
"template",
"=",
"(",
"data",
"template",
"<",
"?",
">",
")",
"value",
";",
"return",
"map",
"contains",
"value",
"(",
"template",
"data",
"(",
")",
")",
";"
]
|
[
"lookup",
"the",
"{",
"@",
"link",
"data",
"template",
"}",
"for",
"a",
"data",
"object",
"if",
"not",
"cached",
"create",
"a",
"{",
"@",
"link",
"data",
"template",
"}",
"for",
"the",
"data",
"object",
"and",
"add",
"it",
"to",
"the",
"cache"
]
| [
"v",
"wrapped",
";",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"wrapped",
"=",
"null",
";",
"}",
"else",
"if",
"(",
"(",
"wrapped",
"=",
"cache",
"get",
"(",
"value",
")",
")",
"=",
"=",
"null",
"|",
"|",
"wrapped",
"data",
"(",
")",
"!",
"=",
"value",
")",
"{",
"wrapped",
"=",
"data",
"template",
"util",
"wrap",
"(",
"value",
",",
"constructor",
")",
";",
"if",
"(",
"key",
"!",
"=",
"null",
")",
"{",
"cache",
"put",
"(",
"value",
",",
"wrapped",
")",
";",
"}",
"}",
"return",
"wrapped",
";"
]
|
[
"clear",
"the",
"info",
"about",
"which",
"rows",
"(",
"in",
"which",
"original",
"iterators",
"and",
"which",
"row",
"nums",
"within",
"them",
")",
"were",
"combined",
"on",
"the",
"previous",
"step"
]
| [
"for",
"(",
"int",
"original",
"iterator",
"index",
"=",
"indexes",
"of",
"currently",
"combined",
"original",
"iterators",
"next",
"set",
"bit",
"(",
"0",
")",
";",
"original",
"iterator",
"index",
">",
"=",
"0",
";",
"original",
"iterator",
"index",
"=",
"indexes",
"of",
"currently",
"combined",
"original",
"iterators",
"next",
"set",
"bit",
"(",
"original",
"iterator",
"index",
"+",
"1",
")",
")",
"{",
"min",
"currently",
"combined",
"row",
"num",
"by",
"original",
"iterator",
"index",
"[",
"original",
"iterator",
"index",
"]",
"=",
"min",
"currently",
"combined",
"row",
"num",
"unset",
"value",
";",
"}",
"indexes",
"of",
"currently",
"combined",
"original",
"iterators",
"clear",
"(",
")",
";"
]
|
[
"gets",
"the",
"next",
"index",
"of",
"iterators",
"(",
"as",
"provided",
"in",
"the",
"list",
"in",
"constructor",
"of",
"row",
"combining",
"time",
"and",
"dims",
"iterator",
")",
"that",
"was",
"the",
"source",
"of",
"one",
"or",
"more",
"points",
"that",
"are",
"combined",
"to",
"produce",
"the",
"current",
"{",
"@",
"link",
"#",
"get",
"pointer",
"(",
")",
"}",
"point"
]
| [
"return",
"indexes",
"of",
"currently",
"combined",
"original",
"iterators",
"next",
"set",
"bit",
"(",
"from",
"index",
")",
";"
]
|
[
"see",
"javadoc",
"of",
"{"
]
| [
"return",
"min",
"currently",
"combined",
"row",
"num",
"by",
"original",
"iterator",
"index",
"[",
"original",
"iterator",
"index",
"]",
";"
]
|
[
"see",
"javadoc",
"of",
"{"
]
| [
"return",
"max",
"currently",
"combined",
"row",
"num",
"by",
"original",
"iterator",
"index",
"[",
"original",
"iterator",
"index",
"]",
";"
]
|
[
"returns",
"not",
"-",
"{",
"@",
"code",
"null",
"}",
"array",
"of",
"configurations",
"to",
"be",
"created",
"by",
"this",
"server",
"setup",
"task"
]
| [
"protected",
"abstract",
"configurable",
"element",
"[",
"]",
"get",
"configurable",
"elements",
"(",
")",
";"
]
|
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
]
| [
"return",
"true",
";"
]
|
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
]
| [
"return",
"true",
";"
]
|
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
]
| [
"return",
"this",
";"
]
|
[
"tests",
"for",
"creating",
"enabling",
"disabling",
"and",
"deleting",
"tables",
"also",
"tests",
"that",
"creating",
"a",
"table",
"with",
"an",
"invalid",
"column",
"name",
"yields",
"an",
"illegal",
"argument",
"exception"
]
| [
"thrift",
"server",
"runner",
"h",
"base",
"handler",
"handler",
"=",
"new",
"thrift",
"server",
"runner",
"h",
"base",
"handler",
"(",
"util",
"get",
"configuration",
"(",
")",
",",
"user",
"provider",
"instantiate",
"(",
"util",
"get",
"configuration",
"(",
")",
")",
")",
";",
"do",
"test",
"table",
"create",
"drop",
"(",
"handler",
")",
";"
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.