docstring_tokens list | code_tokens list |
|---|---|
[
"<",
"p",
">",
"the",
"current",
"version",
"of",
"the",
"origin",
"access",
"identity",
"s",
"information",
"for",
"example",
":",
"<",
"code",
">",
"e2qwruhapomqzl",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"e",
"tag",
";"
] |
[
"<",
"p",
">",
"the",
"current",
"version",
"of",
"the",
"configuration",
"for",
"example",
":",
"<",
"code",
">",
"e2qwruhapomqzl",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"e",
"tag",
"(",
"e",
"tag",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"virtual",
"tape",
"for",
"which",
"you",
"want",
"to",
"retrieve",
"the",
"recovery",
"point",
"<",
"/",
"p",
">"
] | [
"this",
"tape",
"a",
"r",
"n",
"=",
"tape",
"a",
"r",
"n",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"virtual",
"tape",
"for",
"which",
"you",
"want",
"to",
"retrieve",
"the",
"recovery",
"point",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"tape",
"a",
"r",
"n",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"virtual",
"tape",
"you",
"want",
"to",
"cancel",
"archiving",
"for",
"<",
"/",
"p",
">"
] | [
"set",
"tape",
"a",
"r",
"n",
"(",
"tape",
"a",
"r",
"n",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"true",
"if",
"field",
"req",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"req",
"!",
"=",
"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",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"switch",
"(",
"field",
")",
"{",
"case",
"req",
":",
"return",
"is",
"set",
"req",
"(",
")",
";",
"}",
"throw",
"new",
"illeg... |
[
"returns",
"true",
"if",
"field",
"success",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"success",
"!",
"=",
"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",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"switch",
"(",
"field",
")",
"{",
"case",
"success",
":",
"return",
"is",
"set",
"success",
"(",
")",
";",
"}",
"throw",
"new",
... |
[
"<",
"p",
">",
"the",
"maximum",
"total",
"read",
"capacity",
"units",
"that",
"your",
"account",
"allows",
"you",
"to",
"provision",
"across",
"all",
"of",
"your",
"tables",
"in",
"this",
"region",
"<",
"/",
"p",
">"
] | [
"this",
"account",
"max",
"read",
"capacity",
"units",
"=",
"account",
"max",
"read",
"capacity",
"units",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"total",
"read",
"capacity",
"units",
"that",
"your",
"account",
"allows",
"you",
"to",
"provision",
"across",
"all",
"of",
"your",
"tables",
"in",
"this",
"region",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"account",
"max",
"read",
"capacity",
"units",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"total",
"read",
"capacity",
"units",
"that",
"your",
"account",
"allows",
"you",
"to",
"provision",
"across",
"all",
"of",
"your",
"tables",
"in",
"this",
"region",
"<",
"/",
"p",
">"
] | [
"set",
"account",
"max",
"read",
"capacity",
"units",
"(",
"account",
"max",
"read",
"capacity",
"units",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"total",
"write",
"capacity",
"units",
"that",
"your",
"account",
"allows",
"you",
"to",
"provision",
"across",
"all",
"of",
"your",
"tables",
"in",
"this",
"region",
"<",
"/",
"p",
">"
] | [
"this",
"account",
"max",
"write",
"capacity",
"units",
"=",
"account",
"max",
"write",
"capacity",
"units",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"total",
"write",
"capacity",
"units",
"that",
"your",
"account",
"allows",
"you",
"to",
"provision",
"across",
"all",
"of",
"your",
"tables",
"in",
"this",
"region",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"account",
"max",
"write",
"capacity",
"units",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"total",
"write",
"capacity",
"units",
"that",
"your",
"account",
"allows",
"you",
"to",
"provision",
"across",
"all",
"of",
"your",
"tables",
"in",
"this",
"region",
"<",
"/",
"p",
">"
] | [
"set",
"account",
"max",
"write",
"capacity",
"units",
"(",
"account",
"max",
"write",
"capacity",
"units",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"read",
"capacity",
"units",
"that",
"your",
"account",
"allows",
"you",
"to",
"provision",
"for",
"a",
"new",
"table",
"that",
"you",
"are",
"creating",
"in",
"this",
"region",
"including",
"the",
"read",
"capacity",
"unit... | [
"this",
"table",
"max",
"read",
"capacity",
"units",
"=",
"table",
"max",
"read",
"capacity",
"units",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"read",
"capacity",
"units",
"that",
"your",
"account",
"allows",
"you",
"to",
"provision",
"for",
"a",
"new",
"table",
"that",
"you",
"are",
"creating",
"in",
"this",
"region",
"including",
"the",
"read",
"capacity",
"unit... | [
"return",
"this",
"table",
"max",
"read",
"capacity",
"units",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"read",
"capacity",
"units",
"that",
"your",
"account",
"allows",
"you",
"to",
"provision",
"for",
"a",
"new",
"table",
"that",
"you",
"are",
"creating",
"in",
"this",
"region",
"including",
"the",
"read",
"capacity",
"unit... | [
"set",
"table",
"max",
"read",
"capacity",
"units",
"(",
"table",
"max",
"read",
"capacity",
"units",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"write",
"capacity",
"units",
"that",
"your",
"account",
"allows",
"you",
"to",
"provision",
"for",
"a",
"new",
"table",
"that",
"you",
"are",
"creating",
"in",
"this",
"region",
"including",
"the",
"write",
"capacity",
"un... | [
"this",
"table",
"max",
"write",
"capacity",
"units",
"=",
"table",
"max",
"write",
"capacity",
"units",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"write",
"capacity",
"units",
"that",
"your",
"account",
"allows",
"you",
"to",
"provision",
"for",
"a",
"new",
"table",
"that",
"you",
"are",
"creating",
"in",
"this",
"region",
"including",
"the",
"write",
"capacity",
"un... | [
"return",
"this",
"table",
"max",
"write",
"capacity",
"units",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"write",
"capacity",
"units",
"that",
"your",
"account",
"allows",
"you",
"to",
"provision",
"for",
"a",
"new",
"table",
"that",
"you",
"are",
"creating",
"in",
"this",
"region",
"including",
"the",
"write",
"capacity",
"un... | [
"set",
"table",
"max",
"write",
"capacity",
"units",
"(",
"table",
"max",
"write",
"capacity",
"units",
")",
";",
"return",
"this",
";"
] |
[
"flatten",
"a",
"map",
"into",
"an",
"xml",
"serializer",
"the",
"map",
"can",
"later",
"be",
"read",
"back",
"with",
"read",
"this",
"map",
"xml",
"(",
")"
] | [
"write",
"map",
"xml",
"(",
"val",
",",
"name",
",",
"out",
",",
"null",
")",
";"
] |
[
"flatten",
"a",
"map",
"into",
"an",
"xml",
"serializer",
"the",
"map",
"can",
"later",
"be",
"read",
"back",
"with",
"read",
"this",
"map",
"xml",
"(",
")",
"this",
"method",
"presumes",
"that",
"the",
"start",
"tag",
"and",
"name",
"attribute",
"have",... | [
"if",
"(",
"val",
"=",
"=",
"null",
")",
"{",
"return",
";",
"}",
"set",
"s",
"=",
"val",
"entry",
"set",
"(",
")",
";",
"iterator",
"i",
"=",
"s",
"iterator",
"(",
")",
";",
"while",
"(",
"i",
"has",
"next",
"(",
")",
")",
"{",
"map",
"ent... |
[
"flatten",
"an",
"object",
"s",
"value",
"into",
"an",
"xml",
"serializer",
"the",
"value",
"can",
"later",
"be",
"read",
"back",
"with",
"read",
"this",
"value",
"xml",
"(",
")"
] | [
"write",
"value",
"xml",
"(",
"v",
",",
"name",
",",
"out",
",",
"null",
")",
";"
] |
[
"read",
"an",
"array",
"list",
"from",
"an",
"input",
"stream",
"containing",
"xml",
"the",
"stream",
"can",
"previously",
"have",
"been",
"written",
"by",
"write",
"list",
"xml",
"(",
")"
] | [
"xml",
"pull",
"parser",
"parser",
"=",
"xml",
"new",
"pull",
"parser",
"(",
")",
";",
"parser",
"set",
"input",
"(",
"in",
",",
"null",
")",
";",
"return",
"(",
"array",
"list",
")",
"read",
"value",
"xml",
"(",
"parser",
",",
"new",
"string",
"["... |
[
"read",
"a",
"hash",
"set",
"from",
"an",
"input",
"stream",
"containing",
"xml",
"the",
"stream",
"can",
"previously",
"have",
"been",
"written",
"by",
"write",
"set",
"xml",
"(",
")"
] | [
"xml",
"pull",
"parser",
"parser",
"=",
"xml",
"new",
"pull",
"parser",
"(",
")",
";",
"parser",
"set",
"input",
"(",
"in",
",",
"null",
")",
";",
"return",
"(",
"hash",
"set",
")",
"read",
"value",
"xml",
"(",
"parser",
",",
"new",
"string",
"[",
... |
[
"read",
"a",
"hash",
"map",
"object",
"from",
"an",
"xml",
"pull",
"parser",
"the",
"xml",
"data",
"could",
"previously",
"have",
"been",
"generated",
"by",
"write",
"map",
"xml",
"(",
")",
"the",
"xml",
"pull",
"parser",
"must",
"be",
"positioned",
"<",... | [
"return",
"read",
"this",
"map",
"xml",
"(",
"parser",
",",
"end",
"tag",
",",
"name",
",",
"null",
")",
";"
] |
[
"read",
"an",
"array",
"list",
"object",
"from",
"an",
"xml",
"pull",
"parser",
"the",
"xml",
"data",
"could",
"previously",
"have",
"been",
"generated",
"by",
"write",
"list",
"xml",
"(",
")",
"the",
"xml",
"pull",
"parser",
"must",
"be",
"positioned",
... | [
"return",
"read",
"this",
"list",
"xml",
"(",
"parser",
",",
"end",
"tag",
",",
"name",
",",
"null",
")",
";"
] |
[
"read",
"a",
"hash",
"set",
"object",
"from",
"an",
"xml",
"pull",
"parser",
"the",
"xml",
"data",
"could",
"previously",
"have",
"been",
"generated",
"by",
"write",
"set",
"xml",
"(",
")",
"the",
"xml",
"pull",
"parser",
"must",
"be",
"positioned",
"<",... | [
"return",
"read",
"this",
"set",
"xml",
"(",
"parser",
",",
"end",
"tag",
",",
"name",
",",
"null",
")",
";"
] |
[
"<",
"p",
">",
"the",
"objects",
"and",
"indexed",
"values",
"attached",
"to",
"the",
"index",
"<",
"/",
"p",
">"
] | [
"return",
"index",
"attachments",
";"
] |
[
"<",
"p",
">",
"the",
"objects",
"and",
"indexed",
"values",
"attached",
"to",
"the",
"index",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"index",
"attachments",
"=",
"=",
"null",
")",
"{",
"this",
"index",
"attachments",
"=",
"null",
";",
"return",
";",
"}",
"this",
"index",
"attachments",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"index",
"attachment",
">",
"(",
"ind... |
[
"<",
"p",
">",
"the",
"indices",
"attached",
"to",
"the",
"specified",
"object",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"("... | [
"if",
"(",
"this",
"index",
"attachments",
"=",
"=",
"null",
")",
"{",
"set",
"index",
"attachments",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"index",
"attachment",
">",
"(",
"index",
"attachments",
"length",
")",
")",
";",
"}",
"for",
"(",
... |
[
"<",
"p",
">",
"the",
"indices",
"attached",
"to",
"the",
"specified",
"object",
"<",
"/",
"p",
">"
] | [
"set",
"index",
"attachments",
"(",
"index",
"attachments",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"pagination",
"token",
"<",
"/",
"p",
">"
] | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"rethrows",
"exception",
"if",
"it",
"s",
"already",
"a",
"{",
"@",
"link",
"runtime",
"exception",
"}",
"otherwise",
"it",
"wraps",
"exception",
"in",
"a",
"{",
"@",
"link",
"runtime",
"exception",
"}",
"and",
"then",
"rethrows"
] | [
"if",
"(",
"exception",
"instanceof",
"runtime",
"exception",
")",
"{",
"throw",
"(",
"runtime",
"exception",
")",
"exception",
";",
"}",
"throw",
"new",
"runtime",
"exception",
"(",
"exception",
")",
";"
] |
[
"given",
"{"
] | [
"list",
"<",
"set",
"<",
"node",
"<",
"target",
">",
">",
">",
"result",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"set",
"<",
"node",
"<",
"target",
">",
">",
"part",
":",
"collection",
"of",
"unordered",
"sets",
")",
"... |
[
"binds",
"(",
"loads",
")",
"data",
"from",
"an",
"existing",
"session",
"management",
"method",
"in",
"the",
"panel",
"after",
"this",
"method",
"the",
"{",
"@",
"link",
"#",
"get",
"method",
"(",
")",
"}",
"should",
"return",
"the",
"same",
"object",
... | [
"public",
"abstract",
"void",
"bind",
"method",
"(",
"session",
"management",
"method",
"method",
")",
"throws",
"unsupported",
"session",
"management",
"method",
"exception",
";"
] |
[
"validate",
"the",
"fields",
"of",
"the",
"configuration",
"panel",
"if",
"any",
"of",
"the",
"fields",
"are",
"not",
"in",
"the",
"proper",
"state",
"an",
"{",
"@",
"link",
"illegal",
"state",
"exception",
"}",
"is",
"thrown",
"containing",
"a",
"message"... | [
"public",
"abstract",
"void",
"validate",
"fields",
"(",
")",
"throws",
"illegal",
"state",
"exception",
";"
] |
[
"save",
"the",
"changes",
"from",
"the",
"panel",
"in",
"the",
"authentication",
"method",
"after",
"this",
"method",
"call",
"calls",
"to",
"{"
] | [
"public",
"abstract",
"void",
"save",
"method",
"(",
")",
";"
] |
[
"gets",
"the",
"session",
"management",
"method",
"configured",
"by",
"this",
"panel"
] | [
"public",
"abstract",
"session",
"management",
"method",
"get",
"method",
"(",
")",
";"
] |
[
"{"
] | [
"int",
"res",
"=",
"(",
"field",
"1",
"!",
"=",
"null",
"?",
"field",
"1",
"hash",
"code",
"(",
")",
":",
"0",
")",
";",
"res",
"=",
"31",
"*",
"res",
"+",
"field",
"2",
";",
"res",
"=",
"31",
"*",
"res",
"+",
"(",
"int",
")",
"(",
"field... |
[
"<",
"p",
">",
"the",
"name",
"of",
"a",
"specific",
"db",
"parameter",
"group",
"to",
"return",
"details",
"for",
"<",
"/",
"p",
">",
"<",
"p",
">",
"constraints",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"if",... | [
"this",
"d",
"b",
"parameter",
"group",
"name",
"=",
"d",
"b",
"parameter",
"group",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"a",
"specific",
"db",
"parameter",
"group",
"to",
"return",
"details",
"for",
"<",
"/",
"p",
">",
"<",
"p",
">",
"constraints",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"if",... | [
"return",
"this",
"d",
"b",
"parameter",
"group",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"db",
"parameter",
"group",
"<",
"/",
"p",
">",
"<",
"p",
">",
"constraints",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"must",
"match",
"the",
"name",
"of",
"an",
"ex... | [
"set",
"d",
"b",
"parameter",
"group",
"name",
"(",
"d",
"b",
"parameter",
"group",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"value",
"that",
"is",
"set",
"to",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"to",
"reset",
"all",
"parameters",
"in",
"the",
"db",
"cluster",
"parameter",
"group",
"to",
"their",
"default",
"values",
"and",
"<",
"code",
... | [
"this",
"reset",
"all",
"parameters",
"=",
"reset",
"all",
"parameters",
";"
] |
[
"<",
"p",
">",
"a",
"value",
"that",
"is",
"set",
"to",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"to",
"reset",
"all",
"parameters",
"in",
"the",
"db",
"cluster",
"parameter",
"group",
"to",
"their",
"default",
"values",
"and",
"<",
"code",
... | [
"return",
"this",
"reset",
"all",
"parameters",
";"
] |
[
"<",
"p",
">",
"specifies",
"whether",
"(",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
")",
"or",
"not",
"(",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
")",
"to",
"reset",
"all",
"parameters",
"in",
"the",
"db",
"parameter",
"group"... | [
"set",
"reset",
"all",
"parameters",
"(",
"reset",
"all",
"parameters",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"value",
"that",
"is",
"set",
"to",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"to",
"reset",
"all",
"parameters",
"in",
"the",
"db",
"cluster",
"parameter",
"group",
"to",
"their",
"default",
"values",
"and",
"<",
"code",
... | [
"return",
"this",
"reset",
"all",
"parameters",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"parameters",
"within",
"a",
"parameter",
"group",
"each",
"element",
"in",
"the",
"list",
"represents",
"one",
"parameter",
"<",
"/",
"p",
">"
] | [
"return",
"parameters",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"parameters",
"within",
"a",
"parameter",
"group",
"each",
"element",
"in",
"the",
"list",
"represents",
"one",
"parameter",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"parameters",
"=",
"=",
"null",
")",
"{",
"this",
"parameters",
"=",
"null",
";",
"return",
";",
"}",
"this",
"parameters",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"parameter",
">",
"(",
"parameters",
")",
";"
] |
[
"<",
"p",
">",
"to",
"reset",
"the",
"entire",
"db",
"parameter",
"group",
"specify",
"the",
"<",
"code",
">",
"d",
"b",
"parameter",
"group",
"<",
"/",
"code",
">",
"name",
"and",
"<",
"code",
">",
"reset",
"all",
"parameters",
"<",
"/",
"code",
"... | [
"if",
"(",
"this",
"parameters",
"=",
"=",
"null",
")",
"{",
"set",
"parameters",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"parameter",
">",
"(",
"parameters",
"length",
")",
")",
";",
"}",
"for",
"(",
"parameter",
"ele",
":",
"parameters",
... |
[
"<",
"p",
">",
"to",
"reset",
"the",
"entire",
"db",
"parameter",
"group",
"specify",
"the",
"<",
"code",
">",
"d",
"b",
"parameter",
"group",
"<",
"/",
"code",
">",
"name",
"and",
"<",
"code",
">",
"reset",
"all",
"parameters",
"<",
"/",
"code",
"... | [
"set",
"parameters",
"(",
"parameters",
")",
";",
"return",
"this",
";"
] |
[
"/",
"*",
"calculate",
"weighted",
"mean",
"and",
"sigma",
"from",
"theory"
] | [
"double",
"[",
"]",
"mean",
"sigma",
"=",
"new",
"double",
"[",
"2",
"]",
";",
"int",
"zero",
"weight",
"count",
"=",
"0",
";",
"double",
"weight",
"sum",
"=",
"0",
"0",
";",
"double",
"weight",
"ele",
"sum",
"=",
"0",
"0",
";",
"double",
"weight... |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"static",
"ip",
"in",
"lightsail",
"<",
"/",
"p",
">"
] | [
"this",
"static",
"ip",
"name",
"=",
"static",
"ip",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"static",
"ip",
"in",
"lightsail",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"static",
"ip",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"static",
"ip",
"to",
"detach",
"from",
"the",
"instance",
"<",
"/",
"p",
">"
] | [
"set",
"static",
"ip",
"name",
"(",
"static",
"ip",
"name",
")",
";",
"return",
"this",
";"
] |
[
"/",
"*",
"shows",
"a",
"single",
"preview",
"fragment",
"within",
"this",
"activity",
"-",
"called",
"when",
"we",
"can",
"t",
"use",
"a",
"view",
"pager",
"to",
"swipe",
"between",
"media",
"(",
"ie",
":",
"we",
"re",
"previewing",
"a",
"local",
"fil... | [
"media",
"preview",
"fragment",
"fragment",
";",
"media",
"model",
"media",
"=",
"m",
"media",
"store",
"get",
"media",
"with",
"local",
"id",
"(",
"m",
"media",
"id",
")",
";",
"if",
"(",
"media",
"!",
"=",
"null",
")",
"{",
"fragment",
"=",
"media"... |
[
"/",
"*",
"make",
"sure",
"toolbar",
"appears",
"when",
"user",
"taps",
"the",
"media",
"in",
"the",
"fragment"
] | [
"show",
"toolbar",
"(",
")",
";"
] |
[
"is",
"service",
"switcher",
"close",
"http",
"status",
"will",
"be",
"503",
"when",
"switcher",
"is",
"close"
] | [
"return",
"motan",
"switcher",
"util",
"is",
"open",
"(",
"swicther",
"name",
")",
";"
] |
[
"creates",
"a",
"{"
] | [
"return",
"new",
"resource",
"id",
"coder",
"(",
")",
";"
] |
[
"{",
"@",
"inherit",
"doc",
"}"
] | [
"return",
"true",
";"
] |
[
"returns",
"a",
"string",
"that",
"can",
"be",
"used",
"for",
"the",
"branch",
"coverage",
"data"
] | [
"return",
"branch",
"array",
"name",
"prefix",
"+",
"coverage",
"util",
"create",
"identifier",
"from",
"text",
"(",
"traversal",
"get",
"source",
"name",
"(",
")",
")",
";"
] |
[
"add",
"instrumentation",
"code",
"for",
"branch",
"coverage",
"for",
"each",
"block",
"that",
"correspond",
"to",
"a",
"branch",
"insert",
"an",
"assignment",
"of",
"the",
"branch",
"coverage",
"data",
"to",
"the",
"front",
"of",
"the",
"block"
] | [
"int",
"max",
"line",
"=",
"data",
"max",
"branch",
"present",
"line",
"(",
")",
";",
"int",
"branch",
"coverage",
"offset",
"=",
"0",
";",
"for",
"(",
"int",
"line",
"idx",
"=",
"1",
";",
"line",
"idx",
"<",
"=",
"max",
"line",
";",
"+",
"+",
... |
[
"add",
"a",
"default",
"block",
"for",
"conditional",
"statements",
"e",
"g",
"if",
"switch"
] | [
"node",
"default",
"block",
"=",
"ir",
"block",
"(",
")",
";",
"node",
"add",
"child",
"to",
"back",
"(",
"default",
"block",
")",
";",
"return",
"default",
"block",
"use",
"source",
"info",
"if",
"missing",
"from",
"for",
"tree",
"(",
"node",
")",
"... |
[
"create",
"and",
"return",
"a",
"new",
"array",
"declaration",
"node",
"the",
"array",
"name",
"is",
"generated",
"based",
"on",
"the",
"source",
"filename",
"and",
"declaration",
"is",
"of",
"the",
"form",
":",
"var",
"array",
"name",
"used",
"in",
"file"... | [
"return",
"ir",
"var",
"(",
"ir",
"name",
"(",
"create",
"array",
"name",
"(",
"traversal",
")",
")",
",",
"ir",
"arraylit",
"(",
")",
")",
";"
] |
[
"returns",
"true",
"if",
"field",
"type",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"type",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"name",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"name",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"pending",
"time",
"millis",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"org",
"apache",
"thrift",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"pendingtimemillis",
"isset",
"id",
")",
";"
] |
[
"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",
"type",
":",
"return",
"is",
"set",
"type",
"(",
")",
";",
"case",
"... |
[
"get",
"timestamp",
"when",
"this",
"notification",
"was",
"created",
"or",
"updated"
] | [
"return",
"time",
";"
] |
[
"determines",
"if",
"we",
"should",
"apply",
"-",
"f",
"p",
"i",
"c",
"for",
"this",
"rule",
"s",
"c",
"+",
"+",
"compilations",
"this",
"determination",
"is",
"generally",
"made",
"by",
"the",
"global",
"c",
"+",
"+",
"configuration",
"settings",
"needs... | [
"return",
"force",
"pic",
"|",
"|",
"toolchain",
"needs",
"pic",
"(",
")",
";"
] |
[
"returns",
"true",
"if",
"fission",
"is",
"specified",
"and",
"supported",
"by",
"the",
"crosstool",
"for",
"the",
"build",
"implied",
"by",
"the",
"given",
"configuration",
"and",
"toolchain"
] | [
"return",
"preconditions",
"check",
"not",
"null",
"(",
"cpp",
"configuration",
")",
"fission",
"is",
"active",
"for",
"current",
"compilation",
"mode",
"(",
")",
"&",
"&",
"supports",
"fission",
"(",
")",
";"
] |
[
"whether",
"the",
"toolchains",
"supports",
"header",
"parsing"
] | [
"return",
"supports",
"header",
"parsing",
";"
] |
[
"returns",
"true",
"if",
"fission",
"and",
"per",
"object",
"debug",
"info",
"are",
"specified",
"and",
"supported",
"by",
"the",
"crosstool",
"for",
"the",
"build",
"implied",
"by",
"the",
"given",
"configuration",
"toolchain",
"and",
"feature",
"configuration"... | [
"return",
"use",
"fission",
"(",
")",
"&",
"&",
"feature",
"configuration",
"is",
"enabled",
"(",
"cpp",
"rule",
"classes",
"per",
"object",
"debug",
"info",
")",
";"
] |
[
"returns",
"the",
"identifier",
"of",
"the",
"toolchain",
"as",
"specified",
"in",
"the",
"{"
] | [
"return",
"toolchain",
"info",
"get",
"toolchain",
"identifier",
"(",
")",
";"
] |
[
"returns",
"the",
"files",
"necessary",
"for",
"compilation",
"excluding",
"headers",
"assuming",
"that",
"included",
"files",
"will",
"be",
"discovered",
"by",
"input",
"discovery",
"if",
"the",
"toolchain",
"does",
"not",
"provide",
"this",
"fileset",
"falls",
... | [
"if",
"(",
"compile",
"without",
"includes",
"is",
"empty",
"(",
")",
")",
"{",
"return",
"get",
"compile",
"(",
")",
";",
"}",
"return",
"compile",
"without",
"includes",
";"
] |
[
"returns",
"the",
"files",
"necessary",
"for",
"an",
"objcopy",
"invocation"
] | [
"return",
"obj",
"copy",
";"
] |
[
"returns",
"true",
"if",
"the",
"feature",
"configuration",
"includes",
"statically",
"linking",
"the",
"cpp",
"runtimes"
] | [
"return",
"feature",
"configuration",
"is",
"enabled",
"(",
"cpp",
"rule",
"classes",
"static",
"link",
"cpp",
"runtimes",
")",
";"
] |
[
"returns",
"the",
"static",
"runtime",
"libraries"
] | [
"if",
"(",
"should",
"statically",
"link",
"cpp",
"runtimes",
"(",
"feature",
"configuration",
")",
")",
"{",
"return",
"static",
"runtime",
"link",
"inputs",
";",
"}",
"else",
"{",
"return",
"nested",
"set",
"builder",
"empty",
"set",
"(",
"order",
"stabl... |
[
"returns",
"an",
"aggregating",
"middleman",
"that",
"represents",
"the",
"static",
"runtime",
"libraries"
] | [
"if",
"(",
"should",
"statically",
"link",
"cpp",
"runtimes",
"(",
"feature",
"configuration",
")",
")",
"{",
"return",
"static",
"runtime",
"link",
"middleman",
";",
"}",
"else",
"{",
"return",
"null",
";",
"}"
] |
[
"returns",
"the",
"dynamic",
"runtime",
"libraries"
] | [
"if",
"(",
"should",
"statically",
"link",
"cpp",
"runtimes",
"(",
"feature",
"configuration",
")",
")",
"{",
"return",
"dynamic",
"runtime",
"link",
"inputs",
";",
"}",
"else",
"{",
"return",
"nested",
"set",
"builder",
"empty",
"set",
"(",
"order",
"stab... |
[
"returns",
"an",
"aggregating",
"middleman",
"that",
"represents",
"the",
"dynamic",
"runtime",
"libraries"
] | [
"if",
"(",
"should",
"statically",
"link",
"cpp",
"runtimes",
"(",
"feature",
"configuration",
")",
")",
"{",
"return",
"dynamic",
"runtime",
"link",
"middleman",
";",
"}",
"else",
"{",
"return",
"null",
";",
"}"
] |
[
"returns",
"the",
"name",
"of",
"the",
"directory",
"where",
"the",
"solib",
"symlinks",
"for",
"the",
"dynamic",
"runtime",
"libraries",
"live",
"the",
"directory",
"itself",
"will",
"be",
"under",
"the",
"root",
"of",
"the",
"host",
"configuration",
"in",
... | [
"return",
"dynamic",
"runtime",
"solib",
"dir",
";"
] |
[
"returns",
"the",
"{"
] | [
"return",
"cc",
"compilation",
"info",
"get",
"cc",
"compilation",
"context",
"(",
")",
";"
] |
[
"returns",
"the",
"{"
] | [
"return",
"cc",
"compilation",
"info",
";"
] |
[
"whether",
"the",
"toolchains",
"supports",
"parameter",
"files"
] | [
"return",
"supports",
"param",
"files",
";"
] |
[
"returns",
"the",
"configured",
"features",
"of",
"the",
"toolchain"
] | [
"return",
"toolchain",
"info",
"get",
"features",
"(",
")",
";"
] |
[
"returns",
"whether",
"shared",
"libraries",
"must",
"be",
"compiled",
"with",
"position",
"independent",
"code",
"on",
"this",
"platform"
] | [
"return",
"toolchain",
"info",
"toolchain",
"needs",
"pic",
"(",
")",
";"
] |
[
"returns",
"the",
"run",
"time",
"sysroot",
"which",
"is",
"where",
"the",
"dynamic",
"linker",
"and",
"system",
"libraries",
"are",
"found",
"at",
"runtime",
"this",
"is",
"usually",
"an",
"absolute",
"path",
"if",
"the",
"toolchain",
"compiler",
"does",
"n... | [
"return",
"toolchain",
"info",
"get",
"runtime",
"sysroot",
"(",
")",
";"
] |
[
"return",
"the",
"name",
"of",
"the",
"directory",
"(",
"relative",
"to",
"the",
"bin",
"directory",
")",
"that",
"holds",
"mangled",
"links",
"to",
"shared",
"libraries",
"this",
"name",
"is",
"always",
"set",
"to",
"the",
"{"
] | [
"return",
"toolchain",
"info",
"get",
"solib",
"directory",
"(",
")",
";"
] |
[
"returns",
"the",
"compilation",
"mode"
] | [
"return",
"cpp",
"configuration",
"=",
"=",
"null",
"?",
"null",
":",
"cpp",
"configuration",
"get",
"compilation",
"mode",
"(",
")",
";"
] |
[
"returns",
"whether",
"the",
"toolchain",
"supports",
"the",
"gold",
"linker"
] | [
"return",
"toolchain",
"info",
"supports",
"gold",
"linker",
"(",
")",
";"
] |
[
"returns",
"whether",
"the",
"toolchain",
"supports",
"dynamic",
"linking"
] | [
"return",
"toolchain",
"info",
"supports",
"dynamic",
"linker",
"(",
")",
";"
] |
[
"returns",
"whether",
"the",
"toolchain",
"supports",
"linking",
"c",
"/",
"c",
"+",
"+",
"runtime",
"libraries",
"supplied",
"inside",
"the",
"toolchain",
"distribution"
] | [
"return",
"toolchain",
"info",
"supports",
"embedded",
"runtimes",
"(",
")",
";"
] |
[
"returns",
"whether",
"the",
"toolchain",
"supports",
"the",
"-",
"-",
"start",
"-",
"lib",
"/",
"-",
"-",
"end",
"-",
"lib",
"options"
] | [
"return",
"toolchain",
"info",
"supports",
"start",
"end",
"lib",
"(",
")",
";"
] |
[
"returns",
"whether",
"this",
"toolchain",
"supports",
"interface",
"shared",
"objects"
] | [
"return",
"toolchain",
"info",
"supports",
"interface",
"shared",
"objects",
"(",
")",
";"
] |
[
"returns",
"build",
"variables",
"to",
"be",
"templated",
"into",
"the",
"crosstool"
] | [
"return",
"build",
"variables",
";"
] |
[
"return",
"the",
"set",
"of",
"include",
"files",
"that",
"may",
"be",
"included",
"even",
"if",
"they",
"are",
"not",
"mentioned",
"in",
"the",
"source",
"file",
"or",
"any",
"of",
"the",
"headers",
"included",
"by",
"it"
] | [
"return",
"builtin",
"include",
"files",
";"
] |
[
"returns",
"the",
"environment",
"variables",
"that",
"need",
"to",
"be",
"added",
"to",
"tests",
"that",
"collect",
"code",
"coverage"
] | [
"return",
"coverage",
"environment",
";"
] |
[
"returns",
"the",
"tool",
"that",
"builds",
"interface",
"libraries",
"from",
"dynamic",
"libraries"
] | [
"return",
"interface",
"so",
"builder",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.