docstring_tokens
list | code_tokens
list |
---|---|
[
"shallow",
"clone"
] |
[
"try",
"{",
"return",
"(",
"options",
")",
"super",
"clone",
"(",
")",
";",
"}",
"catch",
"(",
"clone",
"not",
"supported",
"exception",
"ex",
")",
"{",
"throw",
"new",
"assertion",
"error",
"(",
")",
";",
"}"
] |
[
"this",
"is",
"done",
"to",
"read",
"non",
"-",
"acid",
"schema",
"files",
"(",
"original",
")",
"located",
"in",
"base",
"x",
"/",
"or",
"delta",
"x",
"x",
"/",
"which",
"happens",
"as",
"a",
"result",
"of",
"load",
"data",
"statement",
"setting",
"{"
] |
[
"return",
"base",
"options",
"clone",
"(",
")",
"write",
"id",
"(",
"write",
"id",
")",
"root",
"path",
"(",
"root",
"path",
")",
";"
] |
[
"hook",
"point",
"that",
"allows",
"subclasses",
"to",
"wrap",
"the",
"{"
] |
[
"return",
"servlet",
"web",
"operation",
";"
] |
[
"return",
"the",
"web",
"endpoints",
"being",
"mapped"
] |
[
"return",
"this",
"endpoints",
";"
] |
[
"return",
"the",
"underlying",
"value",
"of",
"the",
"sla",
"in",
"form",
"suitable",
"to",
"apply",
"to",
"the",
"given",
"meter",
"type"
] |
[
"return",
"this",
"value",
"get",
"value",
"(",
"meter",
"type",
")",
";"
] |
[
"return",
"a",
"new",
"{"
] |
[
"return",
"new",
"service",
"level",
"agreement",
"boundary",
"(",
"meter",
"value",
"value",
"of",
"(",
"value",
")",
")",
";"
] |
[
"return",
"a",
"new",
"{"
] |
[
"return",
"new",
"service",
"level",
"agreement",
"boundary",
"(",
"meter",
"value",
"value",
"of",
"(",
"value",
")",
")",
";"
] |
[
"set",
"attribute",
"of",
"given",
"node",
"if",
"the",
"value",
"is",
"not",
"-",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">"
] |
[
"if",
"(",
"value",
"!",
"=",
"null",
")",
"{",
"node",
"get",
"(",
"attribute",
")",
"set",
"(",
"value",
")",
";",
"}"
] |
[
"set",
"attribute",
"of",
"given",
"node",
"if",
"the",
"value",
"is",
"not",
"-",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">"
] |
[
"if",
"(",
"value",
"!",
"=",
"null",
")",
"{",
"node",
"get",
"(",
"attribute",
")",
"set",
"(",
"value",
")",
";",
"}"
] |
[
"set",
"attribute",
"of",
"given",
"node",
"if",
"the",
"value",
"is",
"not",
"-",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">"
] |
[
"if",
"(",
"value",
"!",
"=",
"null",
")",
"{",
"node",
"get",
"(",
"attribute",
")",
"set",
"(",
"value",
")",
";",
"}"
] |
[
"set",
"list",
"attribute",
"of",
"given",
"node",
"if",
"the",
"value",
"is",
"not",
"-",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">"
] |
[
"if",
"(",
"list",
"value",
"!",
"=",
"null",
")",
"{",
"model",
"node",
"list",
"node",
"=",
"node",
"get",
"(",
"attribute",
")",
";",
"for",
"(",
"string",
"value",
":",
"list",
"value",
")",
"{",
"list",
"node",
"add",
"(",
"value",
")",
";",
"}",
"}"
] |
[
"{",
"@",
"inherit",
"doc",
"}",
"<",
"p",
">",
"whenever",
"this",
"method",
"returns",
"a",
"newly",
"assigned",
"slot",
"the",
"caller",
"must",
"ensure",
"that",
"the",
"null",
"-",
"sentinel",
"value",
"at",
"the",
"returned",
"address",
"is",
"overwritten",
"with",
"a",
"non",
"-",
"sentinel",
"value"
] |
[
"return",
"super",
"ensure",
"0",
"(",
"key",
",",
"0",
")",
";"
] |
[
"returns",
"the",
"alias",
"that",
"will",
"be",
"used",
"in",
"the",
"{"
] |
[
"return",
"m",
"keystore",
"alias",
";"
] |
[
"returns",
"the",
"key",
"size",
"specified",
"by",
"this",
"parameter",
"for",
"instance",
"for",
"rsa",
"this",
"will",
"return",
"the",
"modulus",
"size",
"and",
"for",
"ec",
"it",
"will",
"return",
"the",
"field",
"size"
] |
[
"return",
"m",
"key",
"size",
";"
] |
[
"returns",
"the",
"key",
"algorithm",
"-",
"specific",
"{"
] |
[
"return",
"m",
"spec",
";"
] |
[
"returns",
"the",
"subject",
"distinguished",
"name",
"to",
"be",
"used",
"on",
"the",
"x",
"509",
"certificate",
"that",
"will",
"be",
"put",
"in",
"the",
"{"
] |
[
"return",
"m",
"certificate",
"subject",
";"
] |
[
"returns",
"the",
"serial",
"number",
"to",
"be",
"used",
"on",
"the",
"x",
"509",
"certificate",
"that",
"will",
"be",
"put",
"in",
"the",
"{"
] |
[
"return",
"m",
"certificate",
"serial",
"number",
";"
] |
[
"returns",
"the",
"start",
"date",
"to",
"be",
"used",
"on",
"the",
"x",
"509",
"certificate",
"that",
"will",
"be",
"put",
"in",
"the",
"{"
] |
[
"return",
"utils",
"clone",
"if",
"not",
"null",
"(",
"m",
"certificate",
"not",
"before",
")",
";"
] |
[
"returns",
"the",
"end",
"date",
"to",
"be",
"used",
"on",
"the",
"x",
"509",
"certificate",
"that",
"will",
"be",
"put",
"in",
"the",
"{"
] |
[
"return",
"utils",
"clone",
"if",
"not",
"null",
"(",
"m",
"certificate",
"not",
"after",
")",
";"
] |
[
"gets",
"the",
"time",
"instant",
"before",
"which",
"the",
"key",
"is",
"not",
"yet",
"valid"
] |
[
"return",
"utils",
"clone",
"if",
"not",
"null",
"(",
"m",
"key",
"validity",
"start",
")",
";"
] |
[
"gets",
"the",
"time",
"instant",
"after",
"which",
"the",
"key",
"is",
"no",
"long",
"valid",
"for",
"decryption",
"and",
"verification"
] |
[
"return",
"utils",
"clone",
"if",
"not",
"null",
"(",
"m",
"key",
"validity",
"for",
"consumption",
"end",
")",
";"
] |
[
"gets",
"the",
"time",
"instant",
"after",
"which",
"the",
"key",
"is",
"no",
"long",
"valid",
"for",
"encryption",
"and",
"signing"
] |
[
"return",
"utils",
"clone",
"if",
"not",
"null",
"(",
"m",
"key",
"validity",
"for",
"origination",
"end",
")",
";"
] |
[
"gets",
"the",
"set",
"of",
"purposes",
"(",
"e",
"g",
"encrypt",
"decrypt",
"sign",
")",
"for",
"which",
"the",
"key",
"can",
"be",
"used",
"attempts",
"to",
"use",
"the",
"key",
"for",
"any",
"other",
"purpose",
"will",
"be",
"rejected"
] |
[
"return",
"m",
"purposes",
";"
] |
[
"returns",
"{",
"@",
"code",
"true",
"}",
"if",
"the",
"set",
"of",
"digest",
"algorithms",
"with",
"which",
"the",
"key",
"can",
"be",
"used",
"has",
"been",
"specified"
] |
[
"return",
"m",
"digests",
"!",
"=",
"null",
";"
] |
[
"gets",
"the",
"set",
"of",
"padding",
"schemes",
"(",
"e",
"g",
"{",
"@",
"code",
"p",
"k",
"c",
"s",
"7",
"padding",
"}",
"{",
"@",
"code",
"p",
"k",
"c",
"s",
"1",
"padding",
"}",
"{",
"@",
"code",
"no",
"padding",
"}",
")",
"with",
"which",
"the",
"key",
"can",
"be",
"used",
"when",
"encrypting",
"/",
"decrypting",
"attempts",
"to",
"use",
"the",
"key",
"with",
"any",
"other",
"padding",
"scheme",
"will",
"be",
"rejected"
] |
[
"return",
"array",
"utils",
"clone",
"if",
"not",
"empty",
"(",
"m",
"encryption",
"paddings",
")",
";"
] |
[
"gets",
"the",
"set",
"of",
"padding",
"schemes",
"(",
"e",
"g",
"{",
"@",
"code",
"pss",
"}",
"{",
"@",
"code",
"pkcs",
"#",
"1",
"}",
")",
"with",
"which",
"the",
"key",
"can",
"be",
"used",
"when",
"signing",
"/",
"verifying",
"attempts",
"to",
"use",
"the",
"key",
"with",
"any",
"other",
"padding",
"scheme",
"will",
"be",
"rejected"
] |
[
"return",
"array",
"utils",
"clone",
"if",
"not",
"empty",
"(",
"m",
"signature",
"paddings",
")",
";"
] |
[
"gets",
"the",
"set",
"of",
"block",
"modes",
"(",
"e",
"g",
"{",
"@",
"code",
"gcm",
"}",
"{",
"@",
"code",
"cbc",
"}",
")",
"with",
"which",
"the",
"key",
"can",
"be",
"used",
"when",
"encrypting",
"/",
"decrypting",
"attempts",
"to",
"use",
"the",
"key",
"with",
"any",
"other",
"block",
"modes",
"will",
"be",
"rejected"
] |
[
"return",
"array",
"utils",
"clone",
"if",
"not",
"empty",
"(",
"m",
"block",
"modes",
")",
";"
] |
[
"returns",
"{"
] |
[
"return",
"m",
"randomized",
"encryption",
"required",
";"
] |
[
"returns",
"{",
"@",
"code",
"true",
"}",
"if",
"the",
"key",
"is",
"authorized",
"to",
"be",
"used",
"only",
"if",
"the",
"user",
"has",
"been",
"authenticated"
] |
[
"return",
"m",
"user",
"authentication",
"required",
";"
] |
[
"returns",
"{",
"@",
"code",
"true",
"}",
"if",
"the",
"key",
"is",
"authorized",
"to",
"be",
"used",
"only",
"for",
"messages",
"confirmed",
"by",
"the",
"user"
] |
[
"return",
"m",
"user",
"confirmation",
"required",
";"
] |
[
"gets",
"the",
"duration",
"of",
"time",
"(",
"seconds",
")",
"for",
"which",
"this",
"key",
"is",
"authorized",
"to",
"be",
"used",
"after",
"the",
"user",
"is",
"successfully",
"authenticated",
"this",
"has",
"effect",
"only",
"if",
"user",
"authentication",
"is",
"required",
"(",
"see",
"{",
"@",
"link",
"#",
"is",
"user",
"authentication",
"required",
"(",
")",
"}",
")"
] |
[
"return",
"m",
"user",
"authentication",
"validity",
"duration",
"seconds",
";"
] |
[
"returns",
"{"
] |
[
"return",
"m",
"user",
"presence",
"required",
";"
] |
[
"returns",
"the",
"attestation",
"challenge",
"value",
"that",
"will",
"be",
"placed",
"in",
"attestation",
"certificate",
"for",
"this",
"key",
"pair"
] |
[
"return",
"utils",
"clone",
"if",
"not",
"null",
"(",
"m",
"attestation",
"challenge",
")",
";"
] |
[
"@",
"hide",
"this",
"is",
"a",
"system",
"-",
"only",
"api"
] |
[
"return",
"m",
"unique",
"id",
"included",
";"
] |
[
"returns",
"{",
"@",
"code",
"true",
"}",
"if",
"the",
"key",
"will",
"be",
"de",
"-",
"authorized",
"when",
"the",
"device",
"is",
"removed",
"from",
"the",
"user",
"s",
"body",
"this",
"option",
"has",
"no",
"effect",
"on",
"keys",
"that",
"don",
"t",
"have",
"an",
"authentication",
"validity",
"duration",
"and",
"has",
"no",
"effect",
"if",
"the",
"device",
"lacks",
"an",
"on",
"-",
"body",
"sensor"
] |
[
"return",
"m",
"user",
"authentication",
"valid",
"while",
"on",
"body",
";"
] |
[
"returns",
"{",
"@",
"code",
"true",
"}",
"if",
"the",
"key",
"is",
"irreversibly",
"invalidated",
"when",
"a",
"new",
"fingerprint",
"is",
"enrolled",
"or",
"all",
"enrolled",
"fingerprints",
"are",
"removed",
"this",
"has",
"effect",
"only",
"for",
"keys",
"that",
"require",
"fingerprint",
"user",
"authentication",
"for",
"every",
"use"
] |
[
"return",
"m",
"invalidated",
"by",
"biometric",
"enrollment",
";"
] |
[
"returns",
"{"
] |
[
"return",
"m",
"is",
"strong",
"box",
"backed",
";"
] |
[
"returns",
"{",
"@",
"code",
"true",
"}",
"if",
"the",
"screen",
"must",
"be",
"unlocked",
"for",
"this",
"key",
"to",
"be",
"used",
"for",
"decryption",
"or",
"signing",
"encryption",
"and",
"signature",
"verification",
"will",
"still",
"be",
"available",
"when",
"the",
"screen",
"is",
"locked"
] |
[
"return",
"m",
"unlocked",
"device",
"required",
";"
] |
[
"sets",
"the",
"uid",
"which",
"will",
"own",
"the",
"key"
] |
[
"m",
"uid",
"=",
"uid",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"time",
"instant",
"before",
"which",
"the",
"key",
"is",
"not",
"yet",
"valid"
] |
[
"m",
"key",
"validity",
"start",
"=",
"utils",
"clone",
"if",
"not",
"null",
"(",
"start",
"date",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"time",
"instant",
"after",
"which",
"the",
"key",
"is",
"no",
"longer",
"valid"
] |
[
"set",
"key",
"validity",
"for",
"origination",
"end",
"(",
"end",
"date",
")",
";",
"set",
"key",
"validity",
"for",
"consumption",
"end",
"(",
"end",
"date",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"time",
"instant",
"after",
"which",
"the",
"key",
"is",
"no",
"longer",
"valid",
"for",
"encryption",
"and",
"signing"
] |
[
"m",
"key",
"validity",
"for",
"origination",
"end",
"=",
"utils",
"clone",
"if",
"not",
"null",
"(",
"end",
"date",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"time",
"instant",
"after",
"which",
"the",
"key",
"is",
"no",
"longer",
"valid",
"for",
"decryption",
"and",
"verification"
] |
[
"m",
"key",
"validity",
"for",
"consumption",
"end",
"=",
"utils",
"clone",
"if",
"not",
"null",
"(",
"end",
"date",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"set",
"of",
"digest",
"algorithms",
"(",
"e",
"g",
"{",
"@",
"code",
"sha",
"-",
"256",
"}",
"{",
"@",
"code",
"sha",
"-",
"384",
"}",
")",
"with",
"which",
"the",
"key",
"can",
"be",
"used",
"attempts",
"to",
"use",
"the",
"key",
"with",
"any",
"other",
"digest",
"algorithm",
"will",
"be",
"rejected"
] |
[
"m",
"digests",
"=",
"array",
"utils",
"clone",
"if",
"not",
"empty",
"(",
"digests",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"set",
"of",
"padding",
"schemes",
"(",
"e",
"g",
"{",
"@",
"code",
"o",
"a",
"e",
"p",
"padding",
"}",
"{",
"@",
"code",
"p",
"k",
"c",
"s",
"7",
"padding",
"}",
"{",
"@",
"code",
"no",
"padding",
"}",
")",
"with",
"which",
"the",
"key",
"can",
"be",
"used",
"when",
"encrypting",
"/",
"decrypting",
"attempts",
"to",
"use",
"the",
"key",
"with",
"any",
"other",
"padding",
"scheme",
"will",
"be",
"rejected"
] |
[
"m",
"encryption",
"paddings",
"=",
"array",
"utils",
"clone",
"if",
"not",
"empty",
"(",
"paddings",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"set",
"of",
"padding",
"schemes",
"(",
"e",
"g",
"{",
"@",
"code",
"pss",
"}",
"{",
"@",
"code",
"pkcs",
"#",
"1",
"}",
")",
"with",
"which",
"the",
"key",
"can",
"be",
"used",
"when",
"signing",
"/",
"verifying",
"attempts",
"to",
"use",
"the",
"key",
"with",
"any",
"other",
"padding",
"scheme",
"will",
"be",
"rejected"
] |
[
"m",
"signature",
"paddings",
"=",
"array",
"utils",
"clone",
"if",
"not",
"empty",
"(",
"paddings",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"set",
"of",
"block",
"modes",
"(",
"e",
"g",
"{",
"@",
"code",
"gcm",
"}",
"{",
"@",
"code",
"cbc",
"}",
")",
"with",
"which",
"the",
"key",
"can",
"be",
"used",
"when",
"encrypting",
"/",
"decrypting",
"attempts",
"to",
"use",
"the",
"key",
"with",
"any",
"other",
"block",
"modes",
"will",
"be",
"rejected"
] |
[
"m",
"block",
"modes",
"=",
"array",
"utils",
"clone",
"if",
"not",
"empty",
"(",
"block",
"modes",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"encryption",
"using",
"this",
"key",
"must",
"be",
"sufficiently",
"randomized",
"to",
"produce",
"different",
"ciphertexts",
"for",
"the",
"same",
"plaintext",
"every",
"time",
"the",
"formal",
"cryptographic",
"property",
"being",
"required",
"is",
"<",
"em",
">",
"indistinguishability",
"under",
"chosen",
"-",
"plaintext",
"attack",
"(",
"{",
"@",
"code",
"ind",
"-",
"cpa",
"}",
")",
"<",
"/",
"em",
">",
"this",
"property",
"is",
"important",
"because",
"it",
"mitigates",
"several",
"classes",
"of",
"weaknesses",
"due",
"to",
"which",
"ciphertext",
"may",
"leak",
"information",
"about",
"plaintext",
"for",
"example",
"if",
"a",
"given",
"plaintext",
"always",
"produces",
"the",
"same",
"ciphertext",
"an",
"attacker",
"may",
"see",
"the",
"repeated",
"ciphertexts",
"and",
"be",
"able",
"to",
"deduce",
"something",
"about",
"the",
"plaintext"
] |
[
"m",
"randomized",
"encryption",
"required",
"=",
"required",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"this",
"key",
"is",
"authorized",
"to",
"be",
"used",
"only",
"if",
"the",
"user",
"has",
"been",
"authenticated"
] |
[
"m",
"user",
"authentication",
"required",
"=",
"required",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"this",
"key",
"is",
"authorized",
"to",
"be",
"used",
"only",
"for",
"messages",
"confirmed",
"by",
"the",
"user"
] |
[
"m",
"user",
"confirmation",
"required",
"=",
"required",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"a",
"test",
"of",
"user",
"presence",
"is",
"required",
"to",
"be",
"performed",
"between",
"the",
"{"
] |
[
"m",
"user",
"presence",
"required",
"=",
"required",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"an",
"attestation",
"certificate",
"will",
"be",
"generated",
"for",
"this",
"key",
"pair",
"and",
"what",
"challenge",
"value",
"will",
"be",
"placed",
"in",
"the",
"certificate",
"the",
"attestation",
"certificate",
"chain",
"can",
"be",
"retrieved",
"with",
"with",
"{",
"@",
"link",
"java",
"security",
"key",
"store",
"#",
"get",
"certificate",
"chain",
"(",
"string",
")",
"}"
] |
[
"m",
"attestation",
"challenge",
"=",
"attestation",
"challenge",
";",
"return",
"this",
";"
] |
[
"@",
"hide",
"only",
"system",
"apps",
"can",
"use",
"this",
"method"
] |
[
"m",
"unique",
"id",
"included",
"=",
"unique",
"id",
"included",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"the",
"key",
"will",
"remain",
"authorized",
"only",
"until",
"the",
"device",
"is",
"removed",
"from",
"the",
"user",
"s",
"body",
"up",
"to",
"the",
"limit",
"of",
"the",
"authentication",
"validity",
"period",
"(",
"see",
"{",
"@",
"link",
"#",
"set",
"user",
"authentication",
"validity",
"duration",
"seconds",
"}",
"and",
"{",
"@",
"link",
"#",
"set",
"user",
"authentication",
"required",
"}",
")",
"once",
"the",
"device",
"has",
"been",
"removed",
"from",
"the",
"user",
"s",
"body",
"the",
"key",
"will",
"be",
"considered",
"unauthorized",
"and",
"the",
"user",
"will",
"need",
"to",
"re",
"-",
"authenticate",
"to",
"use",
"it",
"for",
"keys",
"without",
"an",
"authentication",
"validity",
"period",
"this",
"parameter",
"has",
"no",
"effect"
] |
[
"m",
"user",
"authentication",
"valid",
"while",
"on",
"body",
"=",
"remains",
"valid",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"this",
"key",
"should",
"be",
"invalidated",
"on",
"fingerprint",
"enrollment",
"this",
"applies",
"only",
"to",
"keys",
"which",
"require",
"user",
"authentication",
"(",
"see",
"{",
"@",
"link",
"#",
"set",
"user",
"authentication",
"required",
"(",
"boolean",
")",
"}",
")",
"and",
"if",
"no",
"positive",
"validity",
"duration",
"has",
"been",
"set",
"(",
"see",
"{",
"@",
"link",
"#",
"set",
"user",
"authentication",
"validity",
"duration",
"seconds",
"(",
"int",
")",
"}",
"meaning",
"the",
"key",
"is",
"valid",
"for",
"fingerprint",
"authentication",
"only"
] |
[
"m",
"invalidated",
"by",
"biometric",
"enrollment",
"=",
"invalidate",
"key",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"this",
"key",
"should",
"be",
"protected",
"by",
"a",
"strong",
"box",
"security",
"chip"
] |
[
"m",
"is",
"strong",
"box",
"backed",
"=",
"is",
"strong",
"box",
"backed",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"the",
"keystore",
"requires",
"the",
"screen",
"to",
"be",
"unlocked",
"before",
"allowing",
"decryption",
"using",
"this",
"key",
"if",
"this",
"is",
"set",
"to",
"{"
] |
[
"m",
"unlocked",
"device",
"required",
"=",
"unlocked",
"device",
"required",
";",
"return",
"this",
";"
] |
[
"builds",
"an",
"instance",
"of",
"{"
] |
[
"return",
"new",
"key",
"gen",
"parameter",
"spec",
"(",
"m",
"keystore",
"alias",
",",
"m",
"uid",
",",
"m",
"key",
"size",
",",
"m",
"spec",
",",
"m",
"certificate",
"subject",
",",
"m",
"certificate",
"serial",
"number",
",",
"m",
"certificate",
"not",
"before",
",",
"m",
"certificate",
"not",
"after",
",",
"m",
"key",
"validity",
"start",
",",
"m",
"key",
"validity",
"for",
"origination",
"end",
",",
"m",
"key",
"validity",
"for",
"consumption",
"end",
",",
"m",
"purposes",
",",
"m",
"digests",
",",
"m",
"encryption",
"paddings",
",",
"m",
"signature",
"paddings",
",",
"m",
"block",
"modes",
",",
"m",
"randomized",
"encryption",
"required",
",",
"m",
"user",
"authentication",
"required",
",",
"m",
"user",
"authentication",
"validity",
"duration",
"seconds",
",",
"m",
"user",
"presence",
"required",
",",
"m",
"attestation",
"challenge",
",",
"m",
"unique",
"id",
"included",
",",
"m",
"user",
"authentication",
"valid",
"while",
"on",
"body",
",",
"m",
"invalidated",
"by",
"biometric",
"enrollment",
",",
"m",
"is",
"strong",
"box",
"backed",
",",
"m",
"user",
"confirmation",
"required",
",",
"m",
"unlocked",
"device",
"required",
")",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"lambda",
"function",
"<",
"/",
"p",
">",
"<",
"p",
"class",
"=",
"title",
">",
"<",
"b",
">",
"name",
"formats",
"<",
"/",
"b",
">",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"b",
">",
"function",
"name",
"<",
"/",
"b",
">",
"-",
"<",
"code",
">",
"my",
"function",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"b",
">",
"function",
"arn",
"<",
"/",
"b",
">",
"-",
"<",
"code",
">",
"arn",
":",
"aws",
":",
"lambda",
":",
"us",
"-",
"west",
"-",
"2",
":",
"123456789012",
":",
"function",
":",
"my",
"function",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"b",
">",
"partial",
"arn",
"<",
"/",
"b",
">",
"-",
"<",
"code",
">",
"123456789012",
":",
"function",
":",
"my",
"function",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"the",
"length",
"constraint",
"applies",
"only",
"to",
"the",
"full",
"arn",
"if",
"you",
"specify",
"only",
"the",
"function",
"name",
"it",
"is",
"limited",
"to",
"64",
"characters",
"in",
"length",
"<",
"/",
"p",
">"
] |
[
"this",
"function",
"name",
"=",
"function",
"name",
";"
] |
[
"fills",
"{",
"@",
"code",
"suite",
"}",
"with",
"pds",
"test",
"subset",
"which",
"operates",
"with",
"real",
"page",
"store",
"but",
"requires",
"long",
"time",
"to",
"execute"
] |
[
"suite",
"add",
"test",
"suite",
"(",
"ignite",
"pds",
"partition",
"files",
"destroy",
"test",
"class",
")",
";",
"suite",
"add",
"test",
"suite",
"(",
"local",
"wal",
"mode",
"change",
"during",
"rebalancing",
"self",
"test",
"class",
")",
";",
"suite",
"add",
"test",
"suite",
"(",
"local",
"wac",
"mode",
"no",
"change",
"during",
"rebalance",
"on",
"non",
"node",
"assign",
"test",
"class",
")",
";",
"suite",
"add",
"test",
"suite",
"(",
"ignite",
"wal",
"flush",
"fsync",
"self",
"test",
"class",
")",
";",
"suite",
"add",
"test",
"suite",
"(",
"ignite",
"wal",
"flush",
"fsync",
"with",
"dedicated",
"worker",
"self",
"test",
"class",
")",
";",
"suite",
"add",
"test",
"suite",
"(",
"ignite",
"wal",
"flush",
"fsync",
"with",
"mmap",
"buffer",
"self",
"test",
"class",
")",
";"
] |
[
"used",
"by",
"tests"
] |
[
"class",
"reader",
"cr",
"=",
"new",
"class",
"reader",
"(",
"input",
"stream",
")",
";",
"cr",
"accept",
"(",
"new",
"class",
"checker",
"(",
"wrong",
"usage",
"callback",
",",
"methods",
"to",
"check",
")",
",",
"0",
")",
";"
] |
[
"adds",
"element"
] |
[
"items",
"add",
"(",
"element",
")",
";",
"if",
"(",
"items",
"size",
"(",
")",
"=",
"=",
"1",
")",
"{",
"select",
"(",
"0",
")",
";",
"}"
] |
[
"estimate",
"the",
"size",
"of",
"memory",
"which",
"is",
"occupied",
"by",
"aggregation",
"buffer",
"currently",
"hive",
"assumes",
"that",
"primitives",
"types",
"occupies",
"16",
"byte",
"and",
"java",
"object",
"has",
"64",
"byte",
"overhead",
"for",
"each",
"for",
"map",
"each",
"entry",
"also",
"has",
"64",
"byte",
"overhead"
] |
[
"return",
"-",
"1",
";"
] |
[
"additionally",
"setup",
"generic",
"u",
"d",
"t",
"f",
"with",
"mapred",
"context",
"before",
"initializing",
"this",
"is",
"only",
"called",
"in",
"runtime",
"of",
"map",
"red",
"task"
] |
[] |
[
"/",
"*",
"vector",
"aggregate",
"expression",
"(",
")",
"vector",
"aggregate",
"expression",
"(",
"vector",
"aggregation",
"desc",
"vec",
"aggr",
"desc",
")"
] |
[
"public",
"abstract",
"aggregation",
"buffer",
"get",
"new",
"aggregation",
"buffer",
"(",
")",
"throws",
"hive",
"exception",
";"
] |
[
"this",
"function",
"will",
"be",
"called",
"by",
"group",
"by",
"operator",
"when",
"it",
"sees",
"a",
"new",
"input",
"row"
] |
[
"if",
"(",
"mode",
"=",
"=",
"mode",
"partial1",
"|",
"|",
"mode",
"=",
"=",
"mode",
"complete",
")",
"{",
"iterate",
"(",
"agg",
",",
"parameters",
")",
";",
"}",
"else",
"{",
"assert",
"(",
"parameters",
"length",
"=",
"=",
"1",
")",
";",
"merge",
"(",
"agg",
",",
"parameters",
"[",
"0",
"]",
")",
";",
"}"
] |
[
"this",
"function",
"will",
"be",
"called",
"by",
"group",
"by",
"operator",
"when",
"it",
"sees",
"a",
"new",
"input",
"row"
] |
[
"if",
"(",
"mode",
"=",
"=",
"mode",
"partial1",
"|",
"|",
"mode",
"=",
"=",
"mode",
"partial2",
")",
"{",
"return",
"terminate",
"partial",
"(",
"agg",
")",
";",
"}",
"else",
"{",
"return",
"terminate",
"(",
"agg",
")",
";",
"}"
] |
[
"iterate",
"through",
"original",
"data"
] |
[
"public",
"abstract",
"void",
"iterate",
"(",
"aggregation",
"buffer",
"agg",
",",
"object",
"[",
"]",
"parameters",
")",
"throws",
"hive",
"exception",
";"
] |
[
"get",
"partial",
"aggregation",
"result"
] |
[
"public",
"abstract",
"object",
"terminate",
"partial",
"(",
"aggregation",
"buffer",
"agg",
")",
"throws",
"hive",
"exception",
";"
] |
[
"merge",
"with",
"partial",
"aggregation",
"result",
"note",
":",
"null",
"might",
"be",
"passed",
"in",
"case",
"there",
"is",
"no",
"input",
"data"
] |
[
"public",
"abstract",
"void",
"merge",
"(",
"aggregation",
"buffer",
"agg",
",",
"object",
"partial",
")",
"throws",
"hive",
"exception",
";"
] |
[
"get",
"final",
"aggregation",
"result"
] |
[
"public",
"abstract",
"object",
"terminate",
"(",
"aggregation",
"buffer",
"agg",
")",
"throws",
"hive",
"exception",
";"
] |
[
"when",
"evaluating",
"an",
"aggregates",
"over",
"a",
"fixed",
"window",
"the",
"naive",
"way",
"to",
"compute",
"results",
"is",
"to",
"compute",
"the",
"aggregate",
"for",
"each",
"row",
"but",
"often",
"there",
"is",
"a",
"way",
"to",
"compute",
"results",
"in",
"a",
"more",
"efficient",
"manner",
"this",
"method",
"enables",
"the",
"basic",
"evaluator",
"to",
"provide",
"a",
"function",
"object",
"that",
"does",
"the",
"job",
"in",
"a",
"more",
"efficient",
"manner",
"<",
"p",
">",
"this",
"method",
"is",
"called",
"after",
"this",
"evaluator",
"is",
"initialized",
"the",
"returned",
"function",
"must",
"be",
"initialized",
"it",
"is",
"passed",
"the",
"window",
"of",
"aggregation",
"for",
"each",
"row"
] |
[
"return",
"null",
";"
] |
[
"optional",
"information",
"to",
"add",
"to",
"expression",
"string",
"subclasses",
"can",
"override"
] |
[
"return",
"\"",
"\"",
";"
] |
[
"when",
"evaluating",
"an",
"aggregates",
"over",
"a",
"fixed",
"window",
"streaming",
"is",
"not",
"possible",
"especially",
"for",
"range",
"window",
"type",
"for",
"such",
"case",
"the",
"whole",
"partition",
"data",
"needs",
"to",
"be",
"collected",
"and",
"then",
"to",
"evaluate",
"the",
"aggregates",
"the",
"naive",
"approach",
"is",
"to",
"calculate",
"a",
"row",
"range",
"for",
"each",
"row",
"and",
"to",
"perform",
"the",
"aggregates",
"for",
"some",
"functions",
"a",
"better",
"implementation",
"can",
"be",
"used",
"to",
"reduce",
"the",
"calculation",
"note",
":",
"since",
"the",
"evaluator",
"is",
"reused",
"across",
"different",
"partitions",
"aggregation",
"buffer",
"needs",
"reset",
"before",
"aggregating",
"for",
"the",
"new",
"partition",
"in",
"the",
"implementation"
] |
[
"if",
"(",
"partition",
"evaluator",
"=",
"=",
"null",
")",
"{",
"partition",
"evaluator",
"=",
"create",
"partition",
"evaluator",
"(",
"win",
"frame",
",",
"partition",
",",
"parameters",
",",
"output",
"o",
"i",
",",
"nulls",
"last",
")",
";",
"}",
"return",
"partition",
"evaluator",
";"
] |
[
"this",
"class",
"needs",
"to",
"be",
"overridden",
"by",
"the",
"child",
"class",
"to",
"implement",
"function",
"specific",
"evaluator"
] |
[
"return",
"new",
"base",
"partition",
"evaluator",
"(",
"this",
",",
"win",
"frame",
",",
"partition",
",",
"parameters",
",",
"output",
"o",
"i",
",",
"nulls",
"last",
")",
";"
] |
[
"this",
"is",
"a",
"mandatory",
"parameter",
"example",
"value",
":",
"g",
"hopper"
] |
[
"this",
"login",
"=",
"login",
";",
"return",
"this",
";"
] |
[
"this",
"is",
"part",
"of",
"the",
"internal",
"api",
"example",
"value",
":",
"my",
"-",
"org"
] |
[
"this",
"organization",
"=",
"organization",
";",
"return",
"this",
";"
] |
[
"this",
"is",
"a",
"mandatory",
"parameter",
"possible",
"values",
":",
"<",
"ul",
">",
"<",
"li",
">",
"admin",
"<",
"/",
"li",
">",
"<",
"li",
">",
"codeviewer",
"<",
"/",
"li",
">",
"<",
"li",
">",
"issueadmin",
"<",
"/",
"li",
">",
"<",
"li",
">",
"scan",
"<",
"/",
"li",
">",
"<",
"li",
">",
"user",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] |
[
"this",
"permission",
"=",
"permission",
";",
"return",
"this",
";"
] |
[
"example",
"value",
":",
"au",
"-",
"tpxb",
"-",
"-",
"i",
"u",
"5",
"ovu",
"d",
"2",
"f",
"ly"
] |
[
"this",
"template",
"id",
"=",
"template",
"id",
";",
"return",
"this",
";"
] |
[
"example",
"value",
":",
"default",
"permission",
"template",
"for",
"projects"
] |
[
"this",
"template",
"name",
"=",
"template",
"name",
";",
"return",
"this",
";"
] |
[
"get",
"the",
"one",
"and",
"only",
"instance",
"of",
"the",
"runtime",
"environment"
] |
[
"return",
"instance",
";"
] |
[
"get",
"the",
"path",
"to",
"the",
"where",
"the",
"web",
"application",
"includes",
"are",
"stored"
] |
[
"return",
"thread",
"config",
"get",
"(",
")",
"get",
"include",
"root",
"(",
")",
";"
] |
[
"set",
"include",
"root",
"path"
] |
[
"thread",
"config",
"get",
"(",
")",
"set",
"include",
"root",
"(",
"get",
"canonical",
"path",
"(",
"include",
"root",
")",
")",
";"
] |
[
"get",
"the",
"path",
"to",
"the",
"where",
"the",
"index",
"database",
"is",
"stored"
] |
[
"return",
"thread",
"config",
"get",
"(",
")",
"get",
"data",
"root",
"(",
")",
";"
] |
[
"get",
"a",
"file",
"representing",
"the",
"index",
"database"
] |
[
"file",
"ret",
"=",
"null",
";",
"string",
"file",
"=",
"get",
"data",
"root",
"path",
"(",
")",
";",
"if",
"(",
"file",
"!",
"=",
"null",
")",
"{",
"ret",
"=",
"new",
"file",
"(",
"file",
")",
";",
"}",
"return",
"ret",
";"
] |
[
"set",
"the",
"path",
"to",
"where",
"the",
"index",
"database",
"is",
"stored"
] |
[
"thread",
"config",
"get",
"(",
")",
"set",
"data",
"root",
"(",
"get",
"canonical",
"path",
"(",
"data",
"root",
")",
")",
";"
] |
[
"get",
"the",
"path",
"to",
"where",
"the",
"sources",
"are",
"located"
] |
[
"return",
"configuration",
"get",
"source",
"root",
"(",
")",
";"
] |
[
"get",
"a",
"file",
"representing",
"the",
"directory",
"where",
"the",
"sources",
"are",
"located"
] |
[
"file",
"ret",
"=",
"null",
";",
"string",
"file",
"=",
"get",
"source",
"root",
"path",
"(",
")",
";",
"if",
"(",
"file",
"!",
"=",
"null",
")",
"{",
"ret",
"=",
"new",
"file",
"(",
"file",
")",
";",
"}",
"return",
"ret",
";"
] |
[
"specify",
"the",
"source",
"root"
] |
[
"configuration",
"set",
"source",
"root",
"(",
"get",
"canonical",
"path",
"(",
"source",
"root",
")",
")",
";"
] |
[
"returns",
"a",
"path",
"relative",
"to",
"source",
"root",
"this",
"would",
"just",
"be",
"a",
"simple",
"substring",
"operation",
"except",
"we",
"need",
"to",
"support",
"symlinks",
"outside",
"the",
"source",
"root"
] |
[
"return",
"get",
"path",
"relative",
"to",
"source",
"root",
"(",
"file",
",",
"0",
")",
";"
] |
[
"do",
"we",
"have",
"any",
"projects",
"?"
] |
[
"return",
"(",
"this",
"is",
"projects",
"enabled",
"(",
")",
"&",
"&",
"get",
"projects",
"(",
")",
"size",
"(",
")",
">",
"0",
")",
";"
] |
[
"get",
"list",
"of",
"projects"
] |
[
"return",
"new",
"array",
"list",
"<",
"project",
">",
"(",
"thread",
"config",
"get",
"(",
")",
"get",
"projects",
"(",
")",
"values",
"(",
")",
")",
";"
] |
[
"get",
"project",
"map"
] |
[
"return",
"thread",
"config",
"get",
"(",
")",
"get",
"projects",
"(",
")",
";"
] |
[
"get",
"names",
"of",
"all",
"projects"
] |
[
"return",
"get",
"project",
"list",
"(",
")",
"stream",
"(",
")",
"map",
"(",
"project",
":",
":",
"get",
"name",
")",
"collect",
"(",
"collectors",
"to",
"list",
"(",
")",
")",
";"
] |
[
"set",
"the",
"list",
"of",
"the",
"projects"
] |
[
"if",
"(",
"projects",
"!",
"=",
"null",
")",
"{",
"populate",
"groups",
"(",
"get",
"groups",
"(",
")",
",",
"new",
"tree",
"set",
"<",
"project",
">",
"(",
"projects",
"values",
"(",
")",
")",
")",
";",
"}",
"thread",
"config",
"get",
"(",
")",
"set",
"projects",
"(",
"projects",
")",
";"
] |
[
"do",
"we",
"have",
"groups",
"?"
] |
[
"return",
"(",
"get",
"groups",
"(",
")",
"!",
"=",
"null",
"&",
"&",
"!",
"get",
"groups",
"(",
")",
"is",
"empty",
"(",
")",
")",
";"
] |
[
"get",
"all",
"of",
"the",
"groups"
] |
[
"return",
"thread",
"config",
"get",
"(",
")",
"get",
"groups",
"(",
")",
";"
] |
[
"set",
"the",
"list",
"of",
"the",
"groups"
] |
[
"populate",
"groups",
"(",
"groups",
",",
"new",
"tree",
"set",
"<",
"project",
">",
"(",
"get",
"projects",
"(",
")",
"values",
"(",
")",
")",
")",
";",
"thread",
"config",
"get",
"(",
")",
"set",
"groups",
"(",
"groups",
")",
";"
] |
[
"register",
"this",
"thread",
"in",
"the",
"thread",
"/",
"configuration",
"map",
"(",
"so",
"that",
"all",
"subsequent",
"calls",
"to",
"the",
"runtime",
"environment",
"from",
"this",
"thread",
"will",
"use",
"the",
"same",
"configuration"
] |
[
"thread",
"config",
"set",
"(",
"configuration",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"constructed",
"project",
"-",
"repositories",
"map"
] |
[
"return",
"repository",
"map",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.