docstring_tokens
list | code_tokens
list |
---|---|
[
"serializes",
"the",
"field",
"including",
"field",
"number",
"and",
"writes",
"it",
"to",
"{"
]
| [
"for",
"(",
"final",
"long",
"value",
":",
"varint",
")",
"{",
"output",
"write",
"u",
"int",
"6",
"4",
"(",
"field",
"number",
",",
"value",
")",
";",
"}",
"for",
"(",
"final",
"int",
"value",
":",
"fixed",
"3",
"2",
")",
"{",
"output",
"write",
"fixed",
"3",
"2",
"(",
"field",
"number",
",",
"value",
")",
";",
"}",
"for",
"(",
"final",
"long",
"value",
":",
"fixed",
"6",
"4",
")",
"{",
"output",
"write",
"fixed",
"6",
"4",
"(",
"field",
"number",
",",
"value",
")",
";",
"}",
"for",
"(",
"final",
"byte",
"string",
"value",
":",
"length",
"delimited",
")",
"{",
"output",
"write",
"bytes",
"(",
"field",
"number",
",",
"value",
")",
";",
"}",
"for",
"(",
"final",
"unknown",
"field",
"set",
"value",
":",
"group",
")",
"{",
"output",
"write",
"group",
"(",
"field",
"number",
",",
"value",
")",
";",
"}"
]
|
[
"get",
"the",
"number",
"of",
"bytes",
"required",
"to",
"encode",
"this",
"field",
"including",
"field",
"number"
]
| [
"int",
"result",
"=",
"0",
";",
"for",
"(",
"final",
"long",
"value",
":",
"varint",
")",
"{",
"result",
"+",
"=",
"coded",
"output",
"stream",
"compute",
"u",
"int",
"6",
"4",
"size",
"(",
"field",
"number",
",",
"value",
")",
";",
"}",
"for",
"(",
"final",
"int",
"value",
":",
"fixed",
"3",
"2",
")",
"{",
"result",
"+",
"=",
"coded",
"output",
"stream",
"compute",
"fixed",
"3",
"2",
"size",
"(",
"field",
"number",
",",
"value",
")",
";",
"}",
"for",
"(",
"final",
"long",
"value",
":",
"fixed",
"6",
"4",
")",
"{",
"result",
"+",
"=",
"coded",
"output",
"stream",
"compute",
"fixed",
"6",
"4",
"size",
"(",
"field",
"number",
",",
"value",
")",
";",
"}",
"for",
"(",
"final",
"byte",
"string",
"value",
":",
"length",
"delimited",
")",
"{",
"result",
"+",
"=",
"coded",
"output",
"stream",
"compute",
"bytes",
"size",
"(",
"field",
"number",
",",
"value",
")",
";",
"}",
"for",
"(",
"final",
"unknown",
"field",
"set",
"value",
":",
"group",
")",
"{",
"result",
"+",
"=",
"coded",
"output",
"stream",
"compute",
"group",
"size",
"(",
"field",
"number",
",",
"value",
")",
";",
"}",
"return",
"result",
";"
]
|
[
"serializes",
"the",
"field",
"including",
"field",
"number",
"and",
"writes",
"it",
"to",
"{"
]
| [
"for",
"(",
"final",
"byte",
"string",
"value",
":",
"length",
"delimited",
")",
"{",
"output",
"write",
"raw",
"message",
"set",
"extension",
"(",
"field",
"number",
",",
"value",
")",
";",
"}"
]
|
[
"get",
"the",
"number",
"of",
"bytes",
"required",
"to",
"encode",
"this",
"field",
"including",
"field",
"number",
"using",
"{"
]
| [
"int",
"result",
"=",
"0",
";",
"for",
"(",
"final",
"byte",
"string",
"value",
":",
"length",
"delimited",
")",
"{",
"result",
"+",
"=",
"coded",
"output",
"stream",
"compute",
"raw",
"message",
"set",
"extension",
"size",
"(",
"field",
"number",
",",
"value",
")",
";",
"}",
"return",
"result",
";"
]
|
[
"passes",
"the",
"{"
]
| [
"consumer",
"accept",
"(",
"alloc",
"(",
")",
")",
";",
"return",
"this",
";"
]
|
[
"returns",
"a",
"new",
"{"
]
| [
"return",
"wrap",
"(",
"nk",
"pool",
"class",
",",
"address",
")",
";"
]
|
[
"like",
"{"
]
| [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"nk",
"pool",
"class",
",",
"address",
")",
";"
]
|
[
"create",
"a",
"{",
"@",
"link",
"nk",
"pool",
"buffer",
"}",
"instance",
"at",
"the",
"specified",
"memory"
]
| [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"address",
",",
"capacity",
")",
";"
]
|
[
"like",
"{"
]
| [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"buffer",
"class",
",",
"address",
",",
"capacity",
")",
";"
]
|
[
"unsafe",
"version",
"of",
"{"
]
| [
"return",
"nk",
"allocator",
"create",
"(",
"struct",
"+",
"nk",
"pool",
"alloc",
")",
";"
]
|
[
"unsafe",
"version",
"of",
"{"
]
| [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"nk",
"pool",
"type",
")",
";"
]
|
[
"unsafe",
"version",
"of",
"{"
]
| [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"nk",
"pool",
"page",
"count",
")",
";"
]
|
[
"unsafe",
"version",
"of",
"{"
]
| [
"return",
"mem",
"get",
"address",
"(",
"struct",
"+",
"nk",
"pool",
"pages",
")",
";"
]
|
[
"unsafe",
"version",
"of",
"{"
]
| [
"return",
"mem",
"get",
"address",
"(",
"struct",
"+",
"nk",
"pool",
"freelist",
")",
";"
]
|
[
"unsafe",
"version",
"of",
"{"
]
| [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"nk",
"pool",
"capacity",
")",
";"
]
|
[
"unsafe",
"version",
"of",
"{"
]
| [
"return",
"mem",
"get",
"address",
"(",
"struct",
"+",
"nk",
"pool",
"size",
")",
";"
]
|
[
"unsafe",
"version",
"of",
"{"
]
| [
"return",
"mem",
"get",
"address",
"(",
"struct",
"+",
"nk",
"pool",
"cap",
")",
";"
]
|
[
"passes",
"the",
"{"
]
| [
"consumer",
"accept",
"(",
"alloc",
"(",
")",
")",
";",
"return",
"this",
";"
]
|
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
]
| [
"return",
"entity",
"get",
"username",
"(",
")",
";"
]
|
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
]
| [
"return",
"repository",
"find",
"by",
"username",
"(",
"id",
"to",
"string",
"(",
")",
")",
";"
]
|
[
"<",
"p",
">",
"the",
"thing",
"groups",
"to",
"which",
"the",
"security",
"profile",
"is",
"attached",
"<",
"/",
"p",
">"
]
| [
"return",
"security",
"profile",
"targets",
";"
]
|
[
"<",
"p",
">",
"the",
"thing",
"groups",
"to",
"which",
"the",
"security",
"profile",
"is",
"attached",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"security",
"profile",
"targets",
"=",
"=",
"null",
")",
"{",
"this",
"security",
"profile",
"targets",
"=",
"null",
";",
"return",
";",
"}",
"this",
"security",
"profile",
"targets",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"security",
"profile",
"target",
">",
"(",
"security",
"profile",
"targets",
")",
";"
]
|
[
"<",
"p",
">",
"the",
"thing",
"groups",
"to",
"which",
"the",
"security",
"profile",
"is",
"attached",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"security",
"profile",
"targets",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"security",
"profile",
"targets",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"security",
"profile",
"targets",
"=",
"=",
"null",
")",
"{",
"set",
"security",
"profile",
"targets",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"security",
"profile",
"target",
">",
"(",
"security",
"profile",
"targets",
"length",
")",
")",
";",
"}",
"for",
"(",
"security",
"profile",
"target",
"ele",
":",
"security",
"profile",
"targets",
")",
"{",
"this",
"security",
"profile",
"targets",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"thing",
"groups",
"to",
"which",
"the",
"security",
"profile",
"is",
"attached",
"<",
"/",
"p",
">"
]
| [
"set",
"security",
"profile",
"targets",
"(",
"security",
"profile",
"targets",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"a",
"token",
"that",
"can",
"be",
"used",
"to",
"retrieve",
"the",
"next",
"set",
"of",
"results",
"or",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">",
"if",
"there",
"are",
"no",
"additional",
"results",
"<",
"/",
"p",
">"
]
| [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
]
|
[
"returns",
"the",
"current",
"time",
"in",
"milliseconds",
"since",
"epoch"
]
| [
"return",
"instant",
"now",
"(",
")",
"get",
"millis",
"(",
")",
";"
]
|
[
"reads",
"the",
"contents",
"of",
"a",
"{"
]
| [
"reader",
"=",
"new",
"buffered",
"reader",
"(",
"reader",
")",
";",
"string",
"builder",
"string",
"builder",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"int",
"c",
";",
"while",
"(",
"(",
"c",
"=",
"reader",
"read",
"(",
")",
")",
"!",
"=",
"-",
"1",
")",
"{",
"string",
"builder",
"append",
"(",
"(",
"char",
")",
"c",
")",
";",
"}",
"return",
"string",
"builder",
"to",
"string",
"(",
")",
";"
]
|
[
"sets",
"the",
"url",
"which",
"must",
"point",
"to",
"a",
"https",
"server"
]
| [
"this",
"url",
"=",
"val",
";",
"return",
"this",
";"
]
|
[
"sets",
"the",
"background",
"executor"
]
| [
"this",
"executor",
"=",
"val",
";",
"return",
"this",
";"
]
|
[
"checks",
"if",
"a",
"project",
"is",
"active",
"using",
"project",
"id"
]
| [
"return",
"this",
"projects",
"by",
"id",
"contains",
"key",
"(",
"id",
")",
";"
]
|
[
"this",
"method",
"retrieves",
"the",
"uploaded",
"project",
"zip",
"file",
"from",
"db",
"a",
"temporary",
"file",
"is",
"created",
"to",
"hold",
"the",
"content",
"of",
"the",
"uploaded",
"zip",
"file",
"this",
"temporary",
"file",
"is",
"provided",
"in",
"the",
"project",
"file",
"handler",
"instance",
"and",
"the",
"caller",
"of",
"this",
"method",
"should",
"call",
"method",
"{",
"@",
"project",
"file",
"handler",
"delete",
"local",
"file",
"}",
"to",
"delete",
"the",
"temporary",
"file"
]
| [
"return",
"this",
"azkaban",
"project",
"loader",
"get",
"project",
"file",
"(",
"project",
",",
"version",
")",
";"
]
|
[
"get",
"conditions",
"map"
]
| [
"map",
"<",
"column",
",",
"list",
"<",
"condition",
">",
">",
"result",
"=",
"new",
"linked",
"hash",
"map",
"<",
">",
"(",
"conditions",
"size",
"(",
")",
",",
"1",
")",
";",
"for",
"(",
"condition",
"each",
":",
"conditions",
")",
"{",
"if",
"(",
"!",
"result",
"contains",
"key",
"(",
"each",
"get",
"column",
"(",
")",
")",
")",
"{",
"result",
"put",
"(",
"each",
"get",
"column",
"(",
")",
",",
"new",
"linked",
"list",
"<",
"condition",
">",
"(",
")",
")",
";",
"}",
"result",
"get",
"(",
"each",
"get",
"column",
"(",
")",
")",
"add",
"(",
"each",
")",
";",
"}",
"return",
"result",
";"
]
|
[
"optimize",
"and",
"condition"
]
| [
"and",
"condition",
"result",
"=",
"new",
"and",
"condition",
"(",
")",
";",
"for",
"(",
"condition",
"each",
":",
"conditions",
")",
"{",
"if",
"(",
"condition",
"class",
"equals",
"(",
"each",
"get",
"class",
"(",
")",
")",
")",
"{",
"result",
"get",
"conditions",
"(",
")",
"add",
"(",
"each",
")",
";",
"}",
"}",
"if",
"(",
"result",
"get",
"conditions",
"(",
")",
"is",
"empty",
"(",
")",
")",
"{",
"result",
"get",
"conditions",
"(",
")",
"add",
"(",
"new",
"null",
"condition",
"(",
")",
")",
";",
"}",
"return",
"result",
";"
]
|
[
"find",
"condition",
"via",
"column"
]
| [
"condition",
"result",
"=",
"null",
";",
"for",
"(",
"condition",
"each",
":",
"conditions",
")",
"{",
"if",
"(",
"objects",
"equal",
"(",
"each",
"get",
"column",
"(",
")",
",",
"column",
")",
")",
"{",
"result",
"=",
"each",
";",
"}",
"}",
"return",
"optional",
"from",
"nullable",
"(",
"result",
")",
";"
]
|
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
]
| [
"final",
"int",
"hash",
"code",
"=",
"multi",
"key",
"hash",
"(",
"p",
"keys",
")",
";",
"final",
"iterator",
"<",
"entry",
"<",
"multi",
"key",
"<",
"k",
">",
",",
"v",
">",
">",
"it",
"=",
"this",
"entry",
"set",
"(",
")",
"iterator",
"(",
")",
";",
"while",
"(",
"it",
"has",
"next",
"(",
")",
")",
"{",
"final",
"entry",
"<",
"multi",
"key",
"<",
"k",
">",
",",
"v",
">",
"entry",
"=",
"it",
"next",
"(",
")",
";",
"final",
"multi",
"key",
"<",
"k",
">",
"entry",
"key",
"=",
"entry",
"get",
"key",
"(",
")",
";",
"if",
"(",
"entry",
"key",
"hash",
"code",
"(",
")",
"=",
"=",
"hash",
"code",
"&",
"&",
"this",
"is",
"equal",
"key",
"(",
"entry",
"key",
"get",
"keys",
"(",
")",
",",
"p",
"keys",
")",
")",
"{",
"return",
"entry",
"get",
"value",
"(",
")",
";",
"}",
"}",
"return",
"null",
";"
]
|
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
]
| [
"if",
"(",
"p",
"keys",
"a",
"length",
"!",
"=",
"p",
"keys",
"b",
"length",
")",
"{",
"return",
"false",
";",
"}",
"else",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"p",
"keys",
"a",
"length",
";",
"i",
"+",
"+",
")",
"{",
"final",
"k",
"key",
"a",
"=",
"p",
"keys",
"a",
"[",
"i",
"]",
";",
"final",
"k",
"key",
"b",
"=",
"p",
"keys",
"b",
"[",
"i",
"]",
";",
"if",
"(",
"key",
"a",
"=",
"=",
"null",
")",
"{",
"if",
"(",
"key",
"b",
"!",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"}",
"else",
"{",
"if",
"(",
"!",
"key",
"a",
"equals",
"(",
"key",
"b",
")",
")",
"{",
"return",
"false",
";",
"}",
"}",
"}",
"}",
"return",
"true",
";"
]
|
[
"is",
"update",
"index",
"enable",
"boolean"
]
| [
"return",
"update",
"index",
"enable",
";"
]
|
[
"gets",
"index",
"set"
]
| [
"return",
"index",
"set",
";"
]
|
[
"sets",
"index",
"set"
]
| [
"this",
"index",
"set",
"=",
"index",
"set",
";"
]
|
[
"gets",
"matrix",
"meta"
]
| [
"return",
"matrix",
"meta",
";"
]
|
[
"unsafely",
"returns",
"a",
"copy",
"of",
"the",
"given",
"entry"
]
| [
"return",
"this",
"map",
"entry",
"helper",
"copy",
"(",
"self",
"(",
")",
",",
"cast",
"for",
"testing",
"(",
"entry",
")",
",",
"cast",
"for",
"testing",
"(",
"new",
"next",
")",
")",
";"
]
|
[
"unsafely",
"returns",
"a",
"fresh",
"entry"
]
| [
"return",
"this",
"map",
"entry",
"helper",
"new",
"entry",
"(",
"self",
"(",
")",
",",
"key",
",",
"hash",
",",
"cast",
"for",
"testing",
"(",
"next",
")",
")",
";"
]
|
[
"unsafely",
"returns",
"the",
"value",
"of",
"the",
"given",
"entry",
"if",
"it",
"s",
"still",
"live",
"or",
"{"
]
| [
"return",
"get",
"live",
"value",
"(",
"cast",
"for",
"testing",
"(",
"entry",
")",
")",
";"
]
|
[
"gets",
"the",
"value",
"from",
"an",
"entry",
"returns",
"{"
]
| [
"if",
"(",
"entry",
"get",
"key",
"(",
")",
"=",
"=",
"null",
")",
"{",
"try",
"drain",
"reference",
"queues",
"(",
")",
";",
"return",
"null",
";",
"}",
"v",
"value",
"=",
"entry",
"get",
"value",
"(",
")",
";",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"try",
"drain",
"reference",
"queues",
"(",
")",
";",
"return",
"null",
";",
"}",
"return",
"value",
";"
]
|
[
"returns",
"the",
"internal",
"entry",
"for",
"the",
"specified",
"key",
"the",
"entry",
"may",
"be",
"computing",
"or",
"partially",
"collected",
"does",
"not",
"impact",
"recency",
"ordering"
]
| [
"if",
"(",
"key",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"int",
"hash",
"=",
"hash",
"(",
"key",
")",
";",
"return",
"segment",
"for",
"(",
"hash",
")",
"get",
"entry",
"(",
"key",
",",
"hash",
")",
";"
]
|
[
"this",
"is",
"a",
"mandatory",
"parameter",
"example",
"value",
":",
"au",
"-",
"tpxb",
"-",
"-",
"i",
"u",
"5",
"ovu",
"d",
"2",
"f",
"ly"
]
| [
"this",
"analysis",
"=",
"analysis",
";",
"return",
"this",
";"
]
|
[
"possible",
"values",
":",
"<",
"ul",
">",
"<",
"li",
">",
"version",
"<",
"/",
"li",
">",
"<",
"li",
">",
"other",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
]
| [
"this",
"category",
"=",
"category",
";",
"return",
"this",
";"
]
|
[
"this",
"is",
"a",
"mandatory",
"parameter",
"example",
"value",
":",
"5",
"6"
]
| [
"this",
"name",
"=",
"name",
";",
"return",
"this",
";"
]
|
[
"sets",
"the",
"icon",
"(",
"resource",
"id",
")",
"of",
"the",
"dialog",
"this",
"will",
"be",
"shown",
"on",
"subsequent",
"dialogs"
]
| [
"m",
"dialog",
"icon",
"=",
"get",
"context",
"(",
")",
"get",
"drawable",
"(",
"dialog",
"icon",
"res",
")",
";"
]
|
[
"binds",
"views",
"in",
"the",
"content",
"view",
"of",
"the",
"dialog",
"to",
"data",
"<",
"p",
">",
"make",
"sure",
"to",
"call",
"through",
"to",
"the",
"superclass",
"implementation"
]
| [
"view",
"dialog",
"message",
"view",
"=",
"view",
"find",
"view",
"by",
"id",
"(",
"com",
"android",
"internal",
"r",
"id",
"message",
")",
";",
"if",
"(",
"dialog",
"message",
"view",
"!",
"=",
"null",
")",
"{",
"final",
"char",
"sequence",
"message",
"=",
"get",
"dialog",
"message",
"(",
")",
";",
"int",
"new",
"visibility",
"=",
"view",
"gone",
";",
"if",
"(",
"!",
"text",
"utils",
"is",
"empty",
"(",
"message",
")",
")",
"{",
"if",
"(",
"dialog",
"message",
"view",
"instanceof",
"text",
"view",
")",
"{",
"(",
"(",
"text",
"view",
")",
"dialog",
"message",
"view",
")",
"set",
"text",
"(",
"message",
")",
";",
"}",
"new",
"visibility",
"=",
"view",
"visible",
";",
"}",
"if",
"(",
"dialog",
"message",
"view",
"get",
"visibility",
"(",
")",
"!",
"=",
"new",
"visibility",
")",
"{",
"dialog",
"message",
"view",
"set",
"visibility",
"(",
"new",
"visibility",
")",
";",
"}",
"}"
]
|
[
"{"
]
| [
"if",
"(",
"m",
"dialog",
"=",
"=",
"null",
"|",
"|",
"!",
"m",
"dialog",
"is",
"showing",
"(",
")",
")",
"{",
"return",
";",
"}",
"m",
"dialog",
"dismiss",
"(",
")",
";"
]
|
[
"visits",
"any",
"type",
"of",
"class",
"member",
"of",
"the",
"given",
"program",
"class"
]
| [
"visit",
"any",
"member",
"(",
"program",
"class",
",",
"program",
"member",
")",
";"
]
|
[
"visits",
"any",
"type",
"of",
"class",
"member",
"of",
"the",
"given",
"library",
"class"
]
| [
"visit",
"any",
"member",
"(",
"library",
"class",
",",
"library",
"member",
")",
";"
]
|
[
"visits",
"any",
"type",
"of",
"ref",
"constant",
"of",
"the",
"given",
"class"
]
| [
"visit",
"any",
"constant",
"(",
"clazz",
",",
"ref",
"constant",
")",
";"
]
|
[
"visits",
"any",
"type",
"of",
"method",
"ref",
"constant",
"of",
"the",
"given",
"class"
]
| [
"visit",
"any",
"ref",
"constant",
"(",
"clazz",
",",
"ref",
"constant",
")",
";"
]
|
[
"visits",
"the",
"given",
"deprecated",
"attribute",
"of",
"any",
"type",
"of",
"class",
"member"
]
| [
"visit",
"deprecated",
"attribute",
"(",
"clazz",
",",
"deprecated",
"attribute",
")",
";"
]
|
[
"visits",
"the",
"given",
"synthetic",
"attribute",
"of",
"any",
"type",
"of",
"class",
"member"
]
| [
"visit",
"synthetic",
"attribute",
"(",
"clazz",
",",
"synthetic",
"attribute",
")",
";"
]
|
[
"visits",
"the",
"given",
"signature",
"attribute",
"of",
"any",
"type",
"of",
"class",
"member"
]
| [
"visit",
"signature",
"attribute",
"(",
"clazz",
",",
"signature",
"attribute",
")",
";"
]
|
[
"visits",
"any",
"type",
"of",
"annotations",
"attribute",
"of",
"a",
"class"
]
| [
"visit",
"any",
"attribute",
"(",
"clazz",
",",
"annotations",
"attribute",
")",
";"
]
|
[
"visits",
"the",
"given",
"runtime",
"visible",
"annotations",
"attribute",
"of",
"any",
"type",
"of",
"class",
"member"
]
| [
"visit",
"runtime",
"visible",
"annotations",
"attribute",
"(",
"clazz",
",",
"runtime",
"visible",
"annotations",
"attribute",
")",
";"
]
|
[
"visits",
"the",
"given",
"runtime",
"invisible",
"annotations",
"attribute",
"of",
"any",
"type",
"of",
"class",
"member"
]
| [
"visit",
"runtime",
"invisible",
"annotations",
"attribute",
"(",
"clazz",
",",
"runtime",
"invisible",
"annotations",
"attribute",
")",
";"
]
|
[
"visits",
"any",
"type",
"of",
"parameter",
"annotations",
"attribute"
]
| [
"visit",
"any",
"attribute",
"(",
"clazz",
",",
"parameter",
"annotations",
"attribute",
")",
";"
]
|
[
"visits",
"any",
"type",
"of",
"type",
"annotations",
"attribute",
"of",
"a",
"class"
]
| [
"visit",
"any",
"annotations",
"attribute",
"(",
"clazz",
",",
"type",
"annotations",
"attribute",
")",
";"
]
|
[
"visits",
"the",
"given",
"runtime",
"visible",
"type",
"annotations",
"attribute",
"of",
"any",
"type",
"of",
"class",
"member"
]
| [
"visit",
"runtime",
"visible",
"type",
"annotations",
"attribute",
"(",
"clazz",
",",
"runtime",
"visible",
"type",
"annotations",
"attribute",
")",
";"
]
|
[
"visits",
"the",
"given",
"runtime",
"invisible",
"type",
"annotations",
"attribute",
"of",
"any",
"type",
"of",
"class",
"member"
]
| [
"visit",
"runtime",
"invisible",
"type",
"annotations",
"attribute",
"(",
"clazz",
",",
"runtime",
"invisible",
"type",
"annotations",
"attribute",
")",
";"
]
|
[
"visits",
"either",
"type",
"of",
"switch",
"instruction"
]
| [
"visit",
"any",
"instruction",
"(",
"clazz",
",",
"method",
",",
"code",
"attribute",
",",
"offset",
",",
"switch",
"instruction",
")",
";"
]
|
[
"visits",
"the",
"given",
"annotation",
"of",
"any",
"type",
"of",
"class",
"member"
]
| [
"visit",
"annotation",
"(",
"clazz",
",",
"annotation",
")",
";"
]
|
[
"visits",
"the",
"given",
"type",
"annotation",
"of",
"any",
"type",
"of",
"class",
"member"
]
| [
"visit",
"type",
"annotation",
"(",
"clazz",
",",
"type",
"annotation",
")",
";"
]
|
[
"visits",
"the",
"given",
"type",
"parameter",
"bound",
"target",
"info",
"of",
"any",
"type",
"of",
"class",
"member"
]
| [
"visit",
"type",
"parameter",
"bound",
"target",
"info",
"(",
"clazz",
",",
"type",
"annotation",
",",
"type",
"parameter",
"bound",
"target",
"info",
")",
";"
]
|
[
"visits",
"the",
"given",
"empty",
"target",
"info",
"of",
"any",
"type",
"of",
"class",
"member"
]
| [
"visit",
"any",
"target",
"info",
"(",
"clazz",
",",
"type",
"annotation",
",",
"empty",
"target",
"info",
")",
";"
]
|
[
"visits",
"the",
"given",
"type",
"path",
"info",
"of",
"any",
"type",
"of",
"class",
"member"
]
| [
"visit",
"type",
"path",
"info",
"(",
"clazz",
",",
"type",
"annotation",
",",
"type",
"path",
"info",
")",
";"
]
|
[
"gets",
"the",
"number",
"of",
"blocks",
"written",
"by",
"this",
"output",
"view"
]
| [
"return",
"num",
"blocks",
"written",
";"
]
|
[
"gets",
"the",
"number",
"of",
"bytes",
"written",
"in",
"the",
"latest",
"memory",
"segment"
]
| [
"return",
"bytes",
"in",
"latest",
"segment",
";"
]
|
[
"initialize"
]
| [
"event",
"processor",
"=",
"new",
"domain",
"event",
"processor",
"(",
")",
";"
]
|
[
"yoga",
"previously",
"had",
"an",
"error",
"where",
"containers",
"would",
"take",
"the",
"maximum",
"space",
"possible",
"instead",
"of",
"the",
"minimum",
"like",
"they",
"are",
"supposed",
"to",
"in",
"practice",
"this",
"resulted",
"in",
"implicit",
"behaviour",
"similar",
"to",
"align",
"-",
"self",
":",
"stretch",
";",
"because",
"this",
"was",
"such",
"a",
"long",
"-",
"standing",
"bug",
"we",
"must",
"allow",
"legacy",
"users",
"to",
"switch",
"back",
"to",
"this",
"behaviour"
]
| [
"jni",
"y",
"g",
"config",
"set",
"use",
"legacy",
"stretch",
"behaviour",
"(",
"m",
"native",
"pointer",
",",
"use",
"legacy",
"stretch",
"behaviour",
")",
";"
]
|
[
"if",
"this",
"flag",
"is",
"set",
"then",
"yoga",
"would",
"diff",
"the",
"layout",
"without",
"legacy",
"flag",
"and",
"would",
"set",
"a",
"bool",
"in",
"yoga",
"node",
"(",
"m",
"does",
"legacy",
"stretch",
"flag",
"affects",
"layout",
")",
"with",
"true",
"if",
"the",
"layouts",
"were",
"different",
"and",
"false",
"if",
"not"
]
| [
"jni",
"y",
"g",
"config",
"set",
"should",
"diff",
"layout",
"without",
"legacy",
"stretch",
"behaviour",
"(",
"m",
"native",
"pointer",
",",
"should",
"diff",
"layout",
"without",
"legacy",
"stretch",
"behaviour",
")",
";"
]
|
[
"the",
"length",
"of",
"time",
"during",
"which",
"users",
"have",
"been",
"active",
"or",
"inactive",
"with",
"your",
"app",
"valid",
"values",
":",
"hr",
"24",
"day",
"7",
"day",
"14",
"day",
"30"
]
| [
"set",
"duration",
"(",
"duration",
")",
";",
"return",
"this",
";"
]
|
[
"the",
"length",
"of",
"time",
"during",
"which",
"users",
"have",
"been",
"active",
"or",
"inactive",
"with",
"your",
"app",
"valid",
"values",
":",
"hr",
"24",
"day",
"7",
"day",
"14",
"day",
"30"
]
| [
"with",
"duration",
"(",
"duration",
")",
";"
]
|
[
"the",
"length",
"of",
"time",
"during",
"which",
"users",
"have",
"been",
"active",
"or",
"inactive",
"with",
"your",
"app",
"valid",
"values",
":",
"hr",
"24",
"day",
"7",
"day",
"14",
"day",
"30"
]
| [
"this",
"duration",
"=",
"duration",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
]
|
[
"the",
"recency",
"dimension",
"type",
":",
"active",
"-",
"users",
"who",
"have",
"used",
"your",
"app",
"within",
"the",
"specified",
"duration",
"are",
"included",
"in",
"the",
"segment",
"inactive",
"-",
"users",
"who",
"have",
"not",
"used",
"your",
"app",
"within",
"the",
"specified",
"duration",
"are",
"included",
"in",
"the",
"segment"
]
| [
"this",
"recency",
"type",
"=",
"recency",
"type",
";"
]
|
[
"the",
"recency",
"dimension",
"type",
":",
"active",
"-",
"users",
"who",
"have",
"used",
"your",
"app",
"within",
"the",
"specified",
"duration",
"are",
"included",
"in",
"the",
"segment",
"inactive",
"-",
"users",
"who",
"have",
"not",
"used",
"your",
"app",
"within",
"the",
"specified",
"duration",
"are",
"included",
"in",
"the",
"segment"
]
| [
"return",
"this",
"recency",
"type",
";"
]
|
[
"the",
"recency",
"dimension",
"type",
":",
"active",
"-",
"users",
"who",
"have",
"used",
"your",
"app",
"within",
"the",
"specified",
"duration",
"are",
"included",
"in",
"the",
"segment",
"inactive",
"-",
"users",
"who",
"have",
"not",
"used",
"your",
"app",
"within",
"the",
"specified",
"duration",
"are",
"included",
"in",
"the",
"segment"
]
| [
"set",
"recency",
"type",
"(",
"recency",
"type",
")",
";",
"return",
"this",
";"
]
|
[
"the",
"recency",
"dimension",
"type",
":",
"active",
"-",
"users",
"who",
"have",
"used",
"your",
"app",
"within",
"the",
"specified",
"duration",
"are",
"included",
"in",
"the",
"segment",
"inactive",
"-",
"users",
"who",
"have",
"not",
"used",
"your",
"app",
"within",
"the",
"specified",
"duration",
"are",
"included",
"in",
"the",
"segment"
]
| [
"with",
"recency",
"type",
"(",
"recency",
"type",
")",
";"
]
|
[
"the",
"recency",
"dimension",
"type",
":",
"active",
"-",
"users",
"who",
"have",
"used",
"your",
"app",
"within",
"the",
"specified",
"duration",
"are",
"included",
"in",
"the",
"segment",
"inactive",
"-",
"users",
"who",
"have",
"not",
"used",
"your",
"app",
"within",
"the",
"specified",
"duration",
"are",
"included",
"in",
"the",
"segment"
]
| [
"this",
"recency",
"type",
"=",
"recency",
"type",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
]
|
[
"matches",
"a",
"method",
"or",
"constructor",
"invocation",
"the",
"input",
"symbol",
"should",
"match",
"the",
"invoked",
"method",
"or",
"contructor",
"and",
"the",
"args",
"should",
"be",
"the",
"parameters",
"in",
"the",
"invocation"
]
| [
"if",
"(",
"!",
"a",
"s",
"t",
"helpers",
"has",
"annotation",
"(",
"symbol",
",",
"format",
"method",
"class",
",",
"state",
")",
")",
"{",
"return",
"description",
"no",
"match",
";",
"}",
"type",
"string",
"type",
"=",
"state",
"get",
"symtab",
"(",
")",
"string",
"type",
";",
"list",
"<",
"var",
"symbol",
">",
"params",
"=",
"symbol",
"get",
"parameters",
"(",
")",
";",
"int",
"first",
"string",
"index",
"=",
"-",
"1",
";",
"int",
"format",
"string",
"=",
"-",
"1",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"params",
"size",
"(",
")",
";",
"i",
"+",
"+",
")",
"{",
"var",
"symbol",
"param",
"=",
"params",
"get",
"(",
"i",
")",
";",
"if",
"(",
"a",
"s",
"t",
"helpers",
"has",
"annotation",
"(",
"param",
",",
"format",
"string",
"class",
",",
"state",
")",
")",
"{",
"format",
"string",
"=",
"i",
";",
"break",
";",
"}",
"if",
"(",
"first",
"string",
"index",
"<",
"0",
"&",
"&",
"a",
"s",
"t",
"helpers",
"is",
"same",
"type",
"(",
"params",
"get",
"(",
"i",
")",
"type",
",",
"string",
"type",
",",
"state",
")",
")",
"{",
"first",
"string",
"index",
"=",
"i",
";",
"}",
"}",
"if",
"(",
"format",
"string",
"<",
"0",
")",
"{",
"format",
"string",
"=",
"first",
"string",
"index",
";",
"}",
"format",
"string",
"validation",
"validation",
"result",
"result",
"=",
"strict",
"format",
"string",
"validation",
"validate",
"(",
"args",
"get",
"(",
"format",
"string",
")",
",",
"args",
"sub",
"list",
"(",
"format",
"string",
"+",
"1",
",",
"args",
"size",
"(",
")",
")",
",",
"state",
")",
";",
"if",
"(",
"result",
"!",
"=",
"null",
")",
"{",
"return",
"build",
"description",
"(",
"tree",
")",
"set",
"message",
"(",
"result",
"message",
"(",
")",
")",
"build",
"(",
")",
";",
"}",
"else",
"{",
"return",
"description",
"no",
"match",
";",
"}"
]
|
[
"returns",
"the",
"uri",
"that",
"contains",
"the",
"credentials",
"@",
"return",
"uri",
"to",
"retrieve",
"the",
"credentials"
]
| [
"public",
"abstract",
"uri",
"get",
"credentials",
"endpoint",
"(",
")",
"throws",
"u",
"r",
"i",
"syntax",
"exception",
",",
"i",
"o",
"exception",
";"
]
|
[
"allows",
"the",
"extending",
"class",
"to",
"provide",
"a",
"custom",
"retry",
"policy",
"the",
"default",
"behavior",
"is",
"not",
"to",
"retry"
]
| [
"return",
"credentials",
"endpoint",
"retry",
"policy",
"no",
"retry",
";"
]
|
[
"allows",
"passing",
"additional",
"headers",
"to",
"the",
"request"
]
| [
"return",
"new",
"hash",
"map",
"<",
"string",
",",
"string",
">",
"(",
")",
";"
]
|
[
"retrieves",
"a",
"call",
"for",
"remote",
"script",
"caller"
]
| [
"public",
"abstract",
"string",
"[",
"]",
"get",
"command",
"call",
"(",
"file",
"path",
"script",
")",
";"
]
|
[
"only",
"allow",
"the",
"request",
"through",
"if",
"successfully",
"authenticated",
"or",
"if",
"authentication",
"is",
"not",
"required"
]
| [
"if",
"(",
"exchange",
"is",
"in",
"io",
"thread",
"(",
")",
")",
"{",
"exchange",
"dispatch",
"(",
"this",
")",
";",
"return",
";",
"}",
"security",
"context",
"context",
"=",
"exchange",
"get",
"security",
"context",
"(",
")",
";",
"if",
"(",
"context",
"authenticate",
"(",
")",
")",
"{",
"if",
"(",
"!",
"exchange",
"is",
"complete",
"(",
")",
")",
"{",
"next",
"handle",
"request",
"(",
"exchange",
")",
";",
"}",
"}",
"else",
"{",
"if",
"(",
"exchange",
"get",
"status",
"code",
"(",
")",
">",
"=",
"status",
"codes",
"bad",
"request",
"&",
"&",
"!",
"exchange",
"is",
"complete",
"(",
")",
")",
"{",
"servlet",
"request",
"context",
"src",
"=",
"exchange",
"get",
"attachment",
"(",
"servlet",
"request",
"context",
"attachment",
"key",
")",
";",
"src",
"get",
"original",
"response",
"(",
")",
"send",
"error",
"(",
"exchange",
"get",
"status",
"code",
"(",
")",
")",
";",
"}",
"else",
"{",
"exchange",
"end",
"exchange",
"(",
")",
";",
"}",
"}"
]
|
[
"convert",
"attribute",
"value",
"to",
"proto",
"representation"
]
| [
"return",
"get",
"attribute",
"proto",
"(",
"attr",
"get",
"name",
"(",
")",
",",
"attr",
"get",
"type",
"(",
")",
",",
"value",
",",
"explicitly",
"specified",
",",
"encode",
"boolean",
"and",
"tri",
"state",
"as",
"integer",
"and",
"string",
")",
";"
]
|
[
"gets",
"the",
"id",
"of",
"the",
"file"
]
| [
"return",
"m",
"id",
";"
]
|
[
"can",
"be",
"used",
"to",
"check",
"whether",
"or",
"not",
"this",
"file",
"exists",
"in",
"the",
"database",
"already"
]
| [
"return",
"m",
"id",
"!",
"=",
"-",
"1",
";"
]
|
[
"use",
"this",
"to",
"check",
"if",
"this",
"file",
"is",
"available",
"locally"
]
| [
"if",
"(",
"m",
"local",
"path",
"!",
"=",
"null",
"&",
"&",
"m",
"local",
"path",
"length",
"(",
")",
">",
"0",
")",
"{",
"file",
"file",
"=",
"new",
"file",
"(",
"m",
"local",
"path",
")",
";",
"return",
"(",
"file",
"exists",
"(",
")",
")",
";",
"}",
"return",
"false",
";"
]
|
[
"the",
"path",
"where",
"the",
"file",
"is",
"stored",
"locally"
]
| [
"return",
"m",
"local",
"path",
";"
]
|
[
"the",
"uri",
"to",
"the",
"file",
"contents",
"if",
"stored",
"locally"
]
| [
"if",
"(",
"m",
"local",
"path",
"=",
"=",
"null",
"|",
"|",
"m",
"local",
"path",
"length",
"(",
")",
"=",
"=",
"0",
")",
"{",
"return",
"null",
";",
"}",
"if",
"(",
"m",
"local",
"uri",
"=",
"=",
"null",
")",
"{",
"uri",
"builder",
"builder",
"=",
"new",
"uri",
"builder",
"(",
")",
";",
"builder",
"scheme",
"(",
"content",
"resolver",
"scheme",
"file",
")",
";",
"builder",
"path",
"(",
"m",
"local",
"path",
")",
";",
"m",
"local",
"uri",
"=",
"builder",
"build",
"(",
")",
";",
"}",
"return",
"m",
"local",
"uri",
";"
]
|
[
"can",
"be",
"used",
"to",
"set",
"the",
"path",
"where",
"the",
"file",
"is",
"stored"
]
| [
"m",
"local",
"path",
"=",
"storage",
"path",
";",
"m",
"local",
"uri",
"=",
"null",
";",
"m",
"exposed",
"file",
"uri",
"=",
"null",
";"
]
|
[
"set",
"a",
"unix",
"timestamp",
"of",
"the",
"time",
"the",
"file",
"was",
"created"
]
| [
"m",
"creation",
"timestamp",
"=",
"creation",
"timestamp",
";"
]
|
[
"get",
"a",
"unix",
"timestamp",
"of",
"the",
"file",
"modification",
"time"
]
| [
"return",
"m",
"modified",
"timestamp",
";"
]
|
[
"set",
"a",
"unix",
"timestamp",
"of",
"the",
"time",
"the",
"time",
"the",
"file",
"was",
"modified"
]
| [
"m",
"modified",
"timestamp",
"=",
"modification",
"timestamp",
";"
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.