docstring_tokens list | code_tokens list |
|---|---|
[
"creates",
"a",
"{"
] | [
"return",
"instance",
"instanceof",
"g",
"l",
"f",
"w",
"window",
"content",
"scale",
"callback",
"?",
"(",
"g",
"l",
"f",
"w",
"window",
"content",
"scale",
"callback",
")",
"instance",
":",
"new",
"container",
"(",
"instance",
"address",
"(",
")",
",",... |
[
"see",
"{"
] | [
"glfw",
"set",
"window",
"content",
"scale",
"callback",
"(",
"window",
",",
"this",
")",
";",
"return",
"this",
";"
] |
[
"the",
"list",
"of",
"task",
"failures",
"exception"
] | [
"return",
"task",
"failures",
";"
] |
[
"the",
"list",
"of",
"node",
"failures",
"exception"
] | [
"return",
"node",
"failures",
";"
] |
[
"<",
"p",
">",
"optional",
"the",
"<",
"code",
">",
"permissions",
"<",
"/",
"code",
">",
"object",
"specifies",
"which",
"users",
"and",
"/",
"or",
"predefined",
"amazon",
"s3",
"groups",
"you",
"want",
"to",
"have",
"access",
"to",
"transcoded",
"files... | [
"if",
"(",
"permissions",
"=",
"=",
"null",
")",
"{",
"permissions",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"permission",
">",
"(",
")",
";",
"}",
"return",
"permissions",
";"
] |
[
"<",
"p",
">",
"optional",
"the",
"<",
"code",
">",
"permissions",
"<",
"/",
"code",
">",
"object",
"specifies",
"which",
"users",
"and",
"/",
"or",
"predefined",
"amazon",
"s3",
"groups",
"you",
"want",
"to",
"have",
"access",
"to",
"transcoded",
"files... | [
"if",
"(",
"permissions",
"=",
"=",
"null",
")",
"{",
"this",
"permissions",
"=",
"null",
";",
"return",
";",
"}",
"this",
"permissions",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"permission",
">",
"(",
"permissions",
"... |
[
"<",
"p",
">",
"an",
"array",
"of",
"<",
"code",
">",
"permission",
"<",
"/",
"code",
">",
"objects",
"that",
"describe",
"the",
"stack",
"permissions",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"if",
"the",
"request",
... | [
"if",
"(",
"this",
"permissions",
"=",
"=",
"null",
")",
"{",
"set",
"permissions",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"permission",
">",
"(",
"permissions",
"length",
")",
")",
";",
"}",
"for",
"(",
"permission",... |
[
"<",
"p",
">",
"an",
"array",
"of",
"<",
"code",
">",
"permission",
"<",
"/",
"code",
">",
"objects",
"that",
"describe",
"the",
"stack",
"permissions",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"if",
"the",
"request",
... | [
"set",
"permissions",
"(",
"permissions",
")",
";",
"return",
"this",
";"
] |
[
"set",
"whether",
"to",
"allow",
"{"
] | [
"this",
"allow",
"null",
"values",
"=",
"allow",
"null",
"values",
";"
] |
[
"defines",
"fixed",
"cache",
"names",
"a",
"new",
"cache",
"instance",
"will",
"not",
"be",
"created",
"in",
"dynamic",
"for",
"non",
"-",
"defined",
"names",
"<",
"p",
">",
"null",
"parameter",
"setups",
"dynamic",
"mode"
] | [
"if",
"(",
"names",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"string",
"name",
":",
"names",
")",
"{",
"get",
"cache",
"(",
"name",
")",
";",
"}",
"dynamic",
"=",
"false",
";",
"}",
"else",
"{",
"dynamic",
"=",
"true",
";",
"}"
] |
[
"set",
"cache",
"config",
"mapped",
"by",
"cache",
"name"
] | [
"this",
"config",
"map",
"=",
"(",
"map",
"<",
"string",
",",
"cache",
"config",
">",
")",
"config",
";"
] |
[
"rewinds",
"the",
"path",
":",
"clears",
"any",
"lines",
"and",
"curves",
"from",
"the",
"path",
"but",
"keeps",
"the",
"internal",
"data",
"structure",
"for",
"faster",
"reuse"
] | [
"is",
"simple",
"path",
"=",
"true",
";",
"m",
"last",
"direction",
"=",
"null",
";",
"if",
"(",
"rects",
"!",
"=",
"null",
")",
"rects",
"set",
"empty",
"(",
")",
";",
"n",
"rewind",
"(",
"m",
"native",
"path",
")",
";"
] |
[
"replace",
"the",
"contents",
"of",
"this",
"with",
"the",
"contents",
"of",
"src"
] | [
"if",
"(",
"this",
"=",
"=",
"src",
")",
"{",
"return",
";",
"}",
"is",
"simple",
"path",
"=",
"src",
"is",
"simple",
"path",
";",
"n",
"set",
"(",
"m",
"native",
"path",
",",
"src",
"m",
"native",
"path",
")",
";",
"if",
"(",
"!",
"is",
"sim... |
[
"set",
"this",
"path",
"to",
"the",
"result",
"of",
"applying",
"the",
"op",
"to",
"this",
"path",
"and",
"the",
"specified",
"path",
"the",
"resulting",
"path",
"will",
"be",
"constructed",
"from",
"non",
"-",
"overlapping",
"contours",
"the",
"curve",
"o... | [
"return",
"op",
"(",
"this",
",",
"path",
",",
"op",
")",
";"
] |
[
"set",
"this",
"path",
"to",
"the",
"result",
"of",
"applying",
"the",
"op",
"to",
"the",
"two",
"specified",
"paths",
"the",
"resulting",
"path",
"will",
"be",
"constructed",
"from",
"non",
"-",
"overlapping",
"contours",
"the",
"curve",
"order",
"is",
"r... | [
"if",
"(",
"n",
"op",
"(",
"path",
"1",
"m",
"native",
"path",
",",
"path",
"2",
"m",
"native",
"path",
",",
"op",
"ordinal",
"(",
")",
",",
"this",
"m",
"native",
"path",
")",
")",
"{",
"is",
"simple",
"path",
"=",
"false",
";",
"rects",
"=",
... |
[
"returns",
"the",
"path",
"s",
"convexity",
"as",
"defined",
"by",
"the",
"content",
"of",
"the",
"path",
"<",
"p",
">",
"a",
"path",
"is",
"convex",
"if",
"it",
"has",
"a",
"single",
"contour",
"and",
"only",
"ever",
"curves",
"in",
"a",
"single",
"... | [
"return",
"n",
"is",
"convex",
"(",
"m",
"native",
"path",
")",
";"
] |
[
"return",
"the",
"path",
"s",
"fill",
"type",
"this",
"defines",
"how",
"inside",
"is",
"computed",
"the",
"default",
"value",
"is",
"winding"
] | [
"return",
"s",
"fill",
"type",
"array",
"[",
"n",
"get",
"fill",
"type",
"(",
"m",
"native",
"path",
")",
"]",
";"
] |
[
"set",
"the",
"path",
"s",
"fill",
"type",
"this",
"defines",
"how",
"inside",
"is",
"computed"
] | [
"n",
"set",
"fill",
"type",
"(",
"m",
"native",
"path",
",",
"ft",
"native",
"int",
")",
";"
] |
[
"returns",
"true",
"if",
"the",
"filltype",
"is",
"one",
"of",
"the",
"inverse",
"variants"
] | [
"final",
"int",
"ft",
"=",
"n",
"get",
"fill",
"type",
"(",
"m",
"native",
"path",
")",
";",
"return",
"(",
"ft",
"&",
"fill",
"type",
"inverse",
"winding",
"native",
"int",
")",
"!",
"=",
"0",
";"
] |
[
"toggles",
"the",
"inverse",
"state",
"of",
"the",
"filltype"
] | [
"int",
"ft",
"=",
"n",
"get",
"fill",
"type",
"(",
"m",
"native",
"path",
")",
";",
"ft",
"^",
"=",
"fill",
"type",
"inverse",
"winding",
"native",
"int",
";",
"n",
"set",
"fill",
"type",
"(",
"m",
"native",
"path",
",",
"ft",
")",
";"
] |
[
"returns",
"true",
"if",
"the",
"path",
"is",
"empty",
"(",
"contains",
"no",
"lines",
"or",
"curves",
")"
] | [
"return",
"n",
"is",
"empty",
"(",
"m",
"native",
"path",
")",
";"
] |
[
"returns",
"true",
"if",
"the",
"path",
"specifies",
"a",
"rectangle",
"if",
"so",
"and",
"if",
"rect",
"is",
"not",
"null",
"set",
"rect",
"to",
"the",
"bounds",
"of",
"the",
"path",
"if",
"the",
"path",
"does",
"not",
"specify",
"a",
"rectangle",
"re... | [
"return",
"n",
"is",
"rect",
"(",
"m",
"native",
"path",
",",
"rect",
")",
";"
] |
[
"hint",
"to",
"the",
"path",
"to",
"prepare",
"for",
"adding",
"more",
"points",
"this",
"can",
"allow",
"the",
"path",
"to",
"more",
"efficiently",
"allocate",
"its",
"storage"
] | [
"n",
"inc",
"reserve",
"(",
"m",
"native",
"path",
",",
"extra",
"pt",
"count",
")",
";"
] |
[
"set",
"the",
"beginning",
"of",
"the",
"next",
"contour",
"to",
"the",
"point",
"(",
"x",
"y",
")"
] | [
"n",
"move",
"to",
"(",
"m",
"native",
"path",
",",
"x",
",",
"y",
")",
";"
] |
[
"set",
"the",
"beginning",
"of",
"the",
"next",
"contour",
"relative",
"to",
"the",
"last",
"point",
"on",
"the",
"previous",
"contour",
"if",
"there",
"is",
"no",
"previous",
"contour",
"this",
"is",
"treated",
"the",
"same",
"as",
"move",
"to",
"(",
")... | [
"n",
"r",
"move",
"to",
"(",
"m",
"native",
"path",
",",
"dx",
",",
"dy",
")",
";"
] |
[
"add",
"a",
"line",
"from",
"the",
"last",
"point",
"to",
"the",
"specified",
"point",
"(",
"x",
"y",
")",
"if",
"no",
"move",
"to",
"(",
")",
"call",
"has",
"been",
"made",
"for",
"this",
"contour",
"the",
"first",
"point",
"is",
"automatically",
"s... | [
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"line",
"to",
"(",
"m",
"native",
"path",
",",
"x",
",",
"y",
")",
";"
] |
[
"same",
"as",
"line",
"to",
"but",
"the",
"coordinates",
"are",
"considered",
"relative",
"to",
"the",
"last",
"point",
"on",
"this",
"contour",
"if",
"there",
"is",
"no",
"previous",
"point",
"then",
"a",
"move",
"to",
"(",
"0",
"0",
")",
"is",
"inser... | [
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"r",
"line",
"to",
"(",
"m",
"native",
"path",
",",
"dx",
",",
"dy",
")",
";"
] |
[
"add",
"a",
"quadratic",
"bezier",
"from",
"the",
"last",
"point",
"approaching",
"control",
"point",
"(",
"x",
"1",
"y",
"1",
")",
"and",
"ending",
"at",
"(",
"x",
"2",
"y",
"2",
")",
"if",
"no",
"move",
"to",
"(",
")",
"call",
"has",
"been",
"m... | [
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"quad",
"to",
"(",
"m",
"native",
"path",
",",
"x",
"1",
",",
"y",
"1",
",",
"x",
"2",
",",
"y",
"2",
")",
";"
] |
[
"same",
"as",
"quad",
"to",
"but",
"the",
"coordinates",
"are",
"considered",
"relative",
"to",
"the",
"last",
"point",
"on",
"this",
"contour",
"if",
"there",
"is",
"no",
"previous",
"point",
"then",
"a",
"move",
"to",
"(",
"0",
"0",
")",
"is",
"inser... | [
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"r",
"quad",
"to",
"(",
"m",
"native",
"path",
",",
"dx",
"1",
",",
"dy",
"1",
",",
"dx",
"2",
",",
"dy",
"2",
")",
";"
] |
[
"add",
"a",
"cubic",
"bezier",
"from",
"the",
"last",
"point",
"approaching",
"control",
"points",
"(",
"x",
"1",
"y",
"1",
")",
"and",
"(",
"x",
"2",
"y",
"2",
")",
"and",
"ending",
"at",
"(",
"x",
"3",
"y",
"3",
")",
"if",
"no",
"move",
"to",... | [
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"cubic",
"to",
"(",
"m",
"native",
"path",
",",
"x",
"1",
",",
"y",
"1",
",",
"x",
"2",
",",
"y",
"2",
",",
"x",
"3",
",",
"y",
"3",
")",
";"
] |
[
"same",
"as",
"cubic",
"to",
"but",
"the",
"coordinates",
"are",
"considered",
"relative",
"to",
"the",
"current",
"point",
"on",
"this",
"contour",
"if",
"there",
"is",
"no",
"previous",
"point",
"then",
"a",
"move",
"to",
"(",
"0",
"0",
")",
"is",
"i... | [
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"r",
"cubic",
"to",
"(",
"m",
"native",
"path",
",",
"x",
"1",
",",
"y",
"1",
",",
"x",
"2",
",",
"y",
"2",
",",
"x",
"3",
",",
"y",
"3",
")",
";"
] |
[
"append",
"the",
"specified",
"arc",
"to",
"the",
"path",
"as",
"a",
"new",
"contour",
"if",
"the",
"start",
"of",
"the",
"path",
"is",
"different",
"from",
"the",
"path",
"s",
"current",
"last",
"point",
"then",
"an",
"automatic",
"line",
"to",
"(",
"... | [
"arc",
"to",
"(",
"oval",
"left",
",",
"oval",
"top",
",",
"oval",
"right",
",",
"oval",
"bottom",
",",
"start",
"angle",
",",
"sweep",
"angle",
",",
"force",
"move",
"to",
")",
";"
] |
[
"append",
"the",
"specified",
"arc",
"to",
"the",
"path",
"as",
"a",
"new",
"contour",
"if",
"the",
"start",
"of",
"the",
"path",
"is",
"different",
"from",
"the",
"path",
"s",
"current",
"last",
"point",
"then",
"an",
"automatic",
"line",
"to",
"(",
"... | [
"arc",
"to",
"(",
"oval",
"left",
",",
"oval",
"top",
",",
"oval",
"right",
",",
"oval",
"bottom",
",",
"start",
"angle",
",",
"sweep",
"angle",
",",
"false",
")",
";"
] |
[
"append",
"the",
"specified",
"arc",
"to",
"the",
"path",
"as",
"a",
"new",
"contour",
"if",
"the",
"start",
"of",
"the",
"path",
"is",
"different",
"from",
"the",
"path",
"s",
"current",
"last",
"point",
"then",
"an",
"automatic",
"line",
"to",
"(",
"... | [
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"arc",
"to",
"(",
"m",
"native",
"path",
",",
"left",
",",
"top",
",",
"right",
",",
"bottom",
",",
"start",
"angle",
",",
"sweep",
"angle",
",",
"force",
"move",
"to",
")",
";"
] |
[
"close",
"the",
"current",
"contour",
"if",
"the",
"current",
"point",
"is",
"not",
"equal",
"to",
"the",
"first",
"point",
"of",
"the",
"contour",
"a",
"line",
"segment",
"is",
"automatically",
"added"
] | [
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"close",
"(",
"m",
"native",
"path",
")",
";"
] |
[
"add",
"a",
"closed",
"rectangle",
"contour",
"to",
"the",
"path"
] | [
"add",
"rect",
"(",
"rect",
"left",
",",
"rect",
"top",
",",
"rect",
"right",
",",
"rect",
"bottom",
",",
"dir",
")",
";"
] |
[
"add",
"a",
"closed",
"rectangle",
"contour",
"to",
"the",
"path"
] | [
"detect",
"simple",
"path",
"(",
"left",
",",
"top",
",",
"right",
",",
"bottom",
",",
"dir",
")",
";",
"n",
"add",
"rect",
"(",
"m",
"native",
"path",
",",
"left",
",",
"top",
",",
"right",
",",
"bottom",
",",
"dir",
"native",
"int",
")",
";"
] |
[
"add",
"a",
"closed",
"oval",
"contour",
"to",
"the",
"path"
] | [
"add",
"oval",
"(",
"oval",
"left",
",",
"oval",
"top",
",",
"oval",
"right",
",",
"oval",
"bottom",
",",
"dir",
")",
";"
] |
[
"add",
"a",
"closed",
"oval",
"contour",
"to",
"the",
"path"
] | [
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"add",
"oval",
"(",
"m",
"native",
"path",
",",
"left",
",",
"top",
",",
"right",
",",
"bottom",
",",
"dir",
"native",
"int",
")",
";"
] |
[
"add",
"a",
"closed",
"circle",
"contour",
"to",
"the",
"path"
] | [
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"add",
"circle",
"(",
"m",
"native",
"path",
",",
"x",
",",
"y",
",",
"radius",
",",
"dir",
"native",
"int",
")",
";"
] |
[
"add",
"the",
"specified",
"arc",
"to",
"the",
"path",
"as",
"a",
"new",
"contour"
] | [
"add",
"arc",
"(",
"oval",
"left",
",",
"oval",
"top",
",",
"oval",
"right",
",",
"oval",
"bottom",
",",
"start",
"angle",
",",
"sweep",
"angle",
")",
";"
] |
[
"add",
"the",
"specified",
"arc",
"to",
"the",
"path",
"as",
"a",
"new",
"contour"
] | [
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"add",
"arc",
"(",
"m",
"native",
"path",
",",
"left",
",",
"top",
",",
"right",
",",
"bottom",
",",
"start",
"angle",
",",
"sweep",
"angle",
")",
";"
] |
[
"add",
"a",
"closed",
"round",
"-",
"rectangle",
"contour",
"to",
"the",
"path"
] | [
"add",
"round",
"rect",
"(",
"rect",
"left",
",",
"rect",
"top",
",",
"rect",
"right",
",",
"rect",
"bottom",
",",
"rx",
",",
"ry",
",",
"dir",
")",
";"
] |
[
"add",
"a",
"closed",
"round",
"-",
"rectangle",
"contour",
"to",
"the",
"path"
] | [
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"add",
"round",
"rect",
"(",
"m",
"native",
"path",
",",
"left",
",",
"top",
",",
"right",
",",
"bottom",
",",
"rx",
",",
"ry",
",",
"dir",
"native",
"int",
")",
";"
] |
[
"add",
"a",
"copy",
"of",
"src",
"to",
"the",
"path",
"offset",
"by",
"(",
"dx",
"dy",
")"
] | [
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"add",
"path",
"(",
"m",
"native",
"path",
",",
"src",
"m",
"native",
"path",
",",
"dx",
",",
"dy",
")",
";"
] |
[
"add",
"a",
"copy",
"of",
"src",
"to",
"the",
"path"
] | [
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"add",
"path",
"(",
"m",
"native",
"path",
",",
"src",
"m",
"native",
"path",
")",
";"
] |
[
"add",
"a",
"copy",
"of",
"src",
"to",
"the",
"path",
"transformed",
"by",
"matrix"
] | [
"if",
"(",
"!",
"src",
"is",
"simple",
"path",
")",
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"add",
"path",
"(",
"m",
"native",
"path",
",",
"src",
"m",
"native",
"path",
",",
"matrix",
"native",
"instance",
")",
";"
] |
[
"offset",
"the",
"path",
"by",
"(",
"dx",
"dy",
")"
] | [
"if",
"(",
"dst",
"!",
"=",
"null",
")",
"{",
"dst",
"set",
"(",
"this",
")",
";",
"}",
"else",
"{",
"dst",
"=",
"this",
";",
"}",
"dst",
"offset",
"(",
"dx",
",",
"dy",
")",
";"
] |
[
"sets",
"the",
"last",
"point",
"of",
"the",
"path"
] | [
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"set",
"last",
"point",
"(",
"m",
"native",
"path",
",",
"dx",
",",
"dy",
")",
";"
] |
[
"transform",
"the",
"points",
"in",
"this",
"path",
"by",
"matrix",
"and",
"write",
"the",
"answer",
"into",
"dst",
"if",
"dst",
"is",
"null",
"then",
"the",
"the",
"original",
"path",
"is",
"modified"
] | [
"long",
"dst",
"native",
"=",
"0",
";",
"if",
"(",
"dst",
"!",
"=",
"null",
")",
"{",
"dst",
"is",
"simple",
"path",
"=",
"false",
";",
"dst",
"native",
"=",
"dst",
"m",
"native",
"path",
";",
"}",
"n",
"transform",
"(",
"m",
"native",
"path",
... |
[
"transform",
"the",
"points",
"in",
"this",
"path",
"by",
"matrix"
] | [
"is",
"simple",
"path",
"=",
"false",
";",
"n",
"transform",
"(",
"m",
"native",
"path",
",",
"matrix",
"native",
"instance",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"fast",
"jni",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"@",
"fast",
"native",
"private",
"static",
"native",
"boolean",
"n",
"is",
"rect",
"(",
"long",
"n",
"path",
",",
"rect",
"f",
"rect",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"critical",
"jni",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"@",
"critical",
"native",
"private",
"static",
"native",
"void",
"n",
"reset",
"(",
"long",
"n",
"path",
")",
";"
] |
[
"returns",
"true",
"if",
"field",
"rule",
"key",
"logs",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"rule",
"key",
"logs",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"looked",
"up",
"store",
"ids",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"looked",
"up",
"store",
"ids",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"corresponding",
"to",
"field",
"i",
"d",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"if",
"(",
"field",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"java",
"lang",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"switch",
"(",
"field",
")",
"{",
"case",
"rule",
"key",
"logs",
":",
"return",
"is",
"set",
"rule",
"key",
"log... |
[
"end",
"of",
"public",
"functions"
] | [
"if",
"(",
"length",
"<",
"=",
"32",
")",
"{",
"if",
"(",
"length",
"<",
"=",
"16",
")",
"{",
"return",
"hash",
"length",
"0to",
"1",
"6",
"(",
"bytes",
",",
"offset",
",",
"length",
")",
";",
"}",
"else",
"{",
"return",
"hash",
"length",
"1",
... |
[
"computes",
"intermediate",
"hash",
"of",
"32",
"bytes",
"of",
"byte",
"array",
"from",
"the",
"given",
"offset",
"results",
"are",
"returned",
"in",
"the",
"output",
"array",
"because",
"when",
"we",
"last",
"measured",
"this",
"was",
"12",
"%",
"faster",
... | [
"long",
"part",
"1",
"=",
"load",
"6",
"4",
"(",
"bytes",
",",
"offset",
")",
";",
"long",
"part",
"2",
"=",
"load",
"6",
"4",
"(",
"bytes",
",",
"offset",
"+",
"8",
")",
";",
"long",
"part",
"3",
"=",
"load",
"6",
"4",
"(",
"bytes",
",",
"... |
[
"{"
] | [
"return",
"new",
"hash",
"set",
"(",
")",
";"
] |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"set",
"factory",
"callable",
"class",
",",
"this",
")",
";"
] |
[
"collects",
"the",
"transitive",
"neverlink",
"dependencies"
] | [
"nested",
"set",
"builder",
"<",
"artifact",
">",
"builder",
"=",
"nested",
"set",
"builder",
"naive",
"link",
"order",
"(",
")",
";",
"for",
"(",
"android",
"never",
"link",
"libraries",
"provider",
"provider",
":",
"analysis",
"utils",
"get",
"providers",
... |
[
"collects",
"java",
"compilation",
"arguments",
"for",
"this",
"target"
] | [
"boolean",
"export",
"deps",
"=",
"!",
"has",
"srcs",
"&",
"&",
"rule",
"context",
"get",
"fragment",
"(",
"android",
"configuration",
"class",
")",
"allow",
"srcs",
"less",
"android",
"library",
"deps",
"(",
"rule",
"context",
")",
";",
"return",
"java",
... |
[
"returns",
"jars",
"produced",
"by",
"this",
"rule",
"that",
"may",
"go",
"into",
"the",
"runtime",
"classpath",
"by",
"contrast",
"{"
] | [
"return",
"jars",
"produced",
"for",
"runtime",
";"
] |
[
"returns",
"{"
] | [
"return",
"context",
"get",
"configuration",
"(",
")",
"get",
"fragment",
"(",
"android",
"configuration",
"class",
")",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"in",
"the",
"patch",
"group",
"<",
"/",
"p",
">"
] | [
"this",
"instances",
"=",
"instances",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"in",
"the",
"patch",
"group",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"instances",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"in",
"the",
"patch",
"group",
"<",
"/",
"p",
">"
] | [
"set",
"instances",
"(",
"instances",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"installed",
"patches",
"<",
"/",
"p",
">"
] | [
"this",
"instances",
"with",
"installed",
"patches",
"=",
"instances",
"with",
"installed",
"patches",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"installed",
"patches",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"instances",
"with",
"installed",
"patches",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"installed",
"patches",
"<",
"/",
"p",
">"
] | [
"set",
"instances",
"with",
"installed",
"patches",
"(",
"instances",
"with",
"installed",
"patches",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"patches",
"installed",
"that",
"aren",
"t",
"defined",
"in",
"the",
"patch",
"baseline",
"<",
"/",
"p",
">"
] | [
"this",
"instances",
"with",
"installed",
"other",
"patches",
"=",
"instances",
"with",
"installed",
"other",
"patches",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"patches",
"installed",
"that",
"aren",
"t",
"defined",
"in",
"the",
"patch",
"baseline",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"instances",
"with",
"installed",
"other",
"patches",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"patches",
"installed",
"that",
"aren",
"t",
"defined",
"in",
"the",
"patch",
"baseline",
"<",
"/",
"p",
">"
] | [
"set",
"instances",
"with",
"installed",
"other",
"patches",
"(",
"instances",
"with",
"installed",
"other",
"patches",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"patches",
"installed",
"that",
"are",
"specified",
"in",
"a",
"rejected",
"patches",
"list",
"patches",
"with",
"a",
"status",
"of",
"<",
"i",
">",
"installed",
"rejected",
"<",
"/",
"i",
">",
... | [
"this",
"instances",
"with",
"installed",
"rejected",
"patches",
"=",
"instances",
"with",
"installed",
"rejected",
"patches",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"patches",
"installed",
"that",
"are",
"specified",
"in",
"a",
"rejected",
"patches",
"list",
"patches",
"with",
"a",
"status",
"of",
"<",
"i",
">",
"installed",
"rejected",
"<",
"/",
"i",
">",
... | [
"return",
"this",
"instances",
"with",
"installed",
"rejected",
"patches",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"patches",
"installed",
"that",
"are",
"specified",
"in",
"a",
"rejected",
"patches",
"list",
"patches",
"with",
"a",
"status",
"of",
"<",
"i",
">",
"installed",
"rejected",
"<",
"/",
"i",
">",
... | [
"set",
"instances",
"with",
"installed",
"rejected",
"patches",
"(",
"instances",
"with",
"installed",
"rejected",
"patches",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"missing",
"patches",
"from",
"the",
"patch",
"baseline",
"<",
"/",
"p",
">"
] | [
"this",
"instances",
"with",
"missing",
"patches",
"=",
"instances",
"with",
"missing",
"patches",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"missing",
"patches",
"from",
"the",
"patch",
"baseline",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"instances",
"with",
"missing",
"patches",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"missing",
"patches",
"from",
"the",
"patch",
"baseline",
"<",
"/",
"p",
">"
] | [
"set",
"instances",
"with",
"missing",
"patches",
"(",
"instances",
"with",
"missing",
"patches",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"patches",
"from",
"the",
"patch",
"baseline",
"that",
"failed",
"to",
"install",
"<",
"/",
"p",
">"
] | [
"this",
"instances",
"with",
"failed",
"patches",
"=",
"instances",
"with",
"failed",
"patches",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"patches",
"from",
"the",
"patch",
"baseline",
"that",
"failed",
"to",
"install",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"instances",
"with",
"failed",
"patches",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"patches",
"from",
"the",
"patch",
"baseline",
"that",
"failed",
"to",
"install",
"<",
"/",
"p",
">"
] | [
"set",
"instances",
"with",
"failed",
"patches",
"(",
"instances",
"with",
"failed",
"patches",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"patches",
"that",
"aren",
"t",
"applicable",
"<",
"/",
"p",
">"
] | [
"this",
"instances",
"with",
"not",
"applicable",
"patches",
"=",
"instances",
"with",
"not",
"applicable",
"patches",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"patches",
"that",
"aren",
"t",
"applicable",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"instances",
"with",
"not",
"applicable",
"patches",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"instances",
"with",
"patches",
"that",
"aren",
"t",
"applicable",
"<",
"/",
"p",
">"
] | [
"set",
"instances",
"with",
"not",
"applicable",
"patches",
"(",
"instances",
"with",
"not",
"applicable",
"patches",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"sort",
"instance",
"for",
"convenience",
"multiple",
"threads",
"must",
"not",
"use",
"this",
"instance",
"at",
"the",
"same",
"time"
] | [
"if",
"(",
"instance",
"=",
"=",
"null",
")",
"instance",
"=",
"new",
"sort",
"(",
")",
";",
"return",
"instance",
";"
] |
[
"create",
"a",
"composite",
"trigger",
"that",
"repeatedly",
"executes",
"the",
"trigger",
"{",
"@",
"code",
"repeated",
"}",
"firing",
"each",
"time",
"it",
"fires",
"and",
"ignoring",
"any",
"indications",
"to",
"finish"
] | [
"return",
"new",
"repeatedly",
"state",
"machine",
"(",
"repeated",
")",
";"
] |
[
"retrieves",
"the",
"full",
"set",
"of",
"infos",
"about",
"the",
"migrations",
"resolved",
"on",
"the",
"classpath"
] | [
"list",
"<",
"migration",
"info",
">",
"resolved",
"migrations",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"migration",
"info",
"migration",
"info",
":",
"migration",
"infos",
")",
"{",
"if",
"(",
"migration",
"info",
"get",
"st... |
[
"retrieves",
"the",
"full",
"set",
"of",
"infos",
"about",
"the",
"migrations",
"that",
"failed"
] | [
"list",
"<",
"migration",
"info",
">",
"failed",
"migrations",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"migration",
"info",
"migration",
"info",
":",
"migration",
"infos",
")",
"{",
"if",
"(",
"migration",
"info",
"get",
"stat... |
[
"retrieves",
"the",
"full",
"set",
"of",
"infos",
"about",
"future",
"migrations",
"applied",
"to",
"the",
"db"
] | [
"list",
"<",
"migration",
"info",
">",
"future",
"migrations",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"migration",
"info",
"migration",
"info",
":",
"migration",
"infos",
")",
"{",
"if",
"(",
"(",
"migration",
"info",
"get",
... |
[
"retrieves",
"the",
"full",
"set",
"of",
"infos",
"about",
"out",
"of",
"order",
"migrations",
"applied",
"to",
"the",
"db"
] | [
"list",
"<",
"migration",
"info",
">",
"out",
"of",
"order",
"migrations",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"migration",
"info",
"migration",
"info",
":",
"migration",
"infos",
")",
"{",
"if",
"(",
"migration",
"info",
... |
[
"validate",
"all",
"migrations",
"for",
"consistency"
] | [
"for",
"(",
"migration",
"info",
"impl",
"migration",
"info",
":",
"migration",
"infos",
")",
"{",
"string",
"message",
"=",
"migration",
"info",
"validate",
"(",
")",
";",
"if",
"(",
"message",
"!",
"=",
"null",
")",
"{",
"return",
"message",
";",
"}"... |
[
"<",
"code",
">",
"optional",
"int",
"6",
"4",
"id",
"=",
"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",
"int",
"6",
"4",
"id",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"id",
";"
] |
[
"<",
"code",
">",
"optional",
"string",
"name",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"return",
"(",
"(",
"bit",
"field",
"0",
"&",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
"=",
"=",
"0x",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"string",
"name",
"=",
"2",
";",
"<",
"/",
"code",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"name",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}",
"else",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"bs",
"=... |
[
"<",
"pre",
">",
"the",
"name",
"of",
"the",
"feature",
"<",
"/",
"pre",
">"
] | [
"java",
"lang",
"object",
"ref",
"=",
"name",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"b",
"=",
"com",
"google",
"protobuf",
"byte",
"string",
"copy",
"from",
"utf",
"8",
"... |
[
"returns",
"a",
"builder",
"initialized",
"with",
"the",
"current",
"{",
"@",
"link",
"phone",
"account",
"}",
"instance"
] | [
"return",
"new",
"builder",
"(",
"this",
")",
";"
] |
[
"set",
"the",
"value",
"for",
"the",
"prepared",
"statement",
"s",
"specified",
"parameter",
"position",
"using",
"the",
"passed",
"in",
"value",
"and",
"type",
"this",
"method",
"can",
"be",
"overridden",
"by",
"sub",
"-",
"classes",
"if",
"needed"
] | [
"statement",
"creator",
"utils",
"set",
"parameter",
"value",
"(",
"ps",
",",
"parameter",
"position",
",",
"arg",
"type",
",",
"arg",
"value",
")",
";"
] |
[
"specify",
"a",
"limit",
"for",
"array",
"and",
"collection",
"auto",
"-",
"growing",
"<",
"p",
">",
"default",
"is",
"unlimited",
"on",
"a",
"plain",
"accessor"
] | [
"this",
"auto",
"grow",
"collection",
"limit",
"=",
"auto",
"grow",
"collection",
"limit",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.