docstring_tokens list | code_tokens list |
|---|---|
[
"fetch",
"metric",
"in",
"{"
] | [
"access",
"controller",
"do",
"privileged",
"(",
"(",
"privileged",
"action",
"<",
"object",
">",
")",
"(",
")",
"-",
">",
"{",
"context",
"context",
"=",
"core",
"registry",
"get",
"(",
"context",
"class",
")",
";",
"display",
"device",
"display",
"=",
... |
[
"track",
"a",
"metric"
] | [
"access",
"controller",
"do",
"privileged",
"(",
"(",
"privileged",
"action",
"<",
"object",
">",
")",
"(",
")",
"-",
">",
"{",
"context",
"context",
"=",
"core",
"registry",
"get",
"(",
"context",
"class",
")",
";",
"display",
"device",
"display",
"=",
... |
[
"transform",
"a",
"map",
"to",
"a",
"string",
"map"
] | [
"map",
"<",
"string",
",",
"string",
">",
"string",
"map",
"=",
"new",
"hash",
"map",
"<",
">",
"(",
")",
";",
"for",
"(",
"map",
"entry",
"<",
"?",
",",
"?",
">",
"entry",
":",
"map",
"entry",
"set",
"(",
")",
")",
"{",
"string",
"map",
"put... |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"server",
"for",
"which",
"you",
"want",
"to",
"view",
"events",
"<",
"/",
"p",
">"
] | [
"set",
"server",
"name",
"(",
"server",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"the",
"results",
"of",
"a",
"search",
"are",
"large",
"only",
"a",
"portion",
"of",
"the",
"results",
"are",
"returned",
"and",
"a",
"<",
"code",
">",
"next",
"token",
"<",
"/",
"code",
">",
"pagination",
"token",
"is",
"returne... | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"number",
"of",
"items",
"to",
"return",
"in",
"one",
"batch",
"between",
"10",
"and",
"100",
"inclusive",
"<",
"/",
"p",
">"
] | [
"set",
"max",
"results",
"(",
"max",
"results",
")",
";",
"return",
"this",
";"
] |
[
"this",
"is",
"a",
"mandatory",
"parameter",
"example",
"value",
":",
"my",
"project",
":",
"/",
"src",
"/",
"foo",
"/",
"bar",
"php"
] | [
"this",
"component",
"=",
"component",
";",
"return",
"this",
";"
] |
[
"adds",
"a",
"http",
"request",
"parameter"
] | [
"params",
"put",
"(",
"name",
",",
"value",
")",
";"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"... | [
"return",
"anonymous",
"class",
";"
] |
[
"small",
"utility",
"methods"
] | [
"if",
"(",
"clazz",
"!",
"=",
"null",
")",
"{",
"clazz",
"add",
"sub",
"class",
"(",
"subclass",
")",
";",
"}"
] |
[
"close",
"the",
"proxy"
] | [
"proxy",
"provider",
"close",
"(",
")",
";"
] |
[
"logical",
"uri",
"is",
"required",
"for",
"this",
"failover",
"proxy",
"provider"
] | [
"return",
"true",
";"
] |
[
"supposed",
"to",
"be",
"of",
"form",
"host",
"-",
"name",
"<",
"space",
">",
"context",
"-",
"path"
] | [
"return",
"app",
"context",
";"
] |
[
"not",
"used",
"yet"
] | [
"return",
"null",
";"
] |
[
"fetches",
"the",
"next",
"dataset",
"you",
"need",
"to",
"call",
"this",
"to",
"get",
"a",
"new",
"dataset",
"otherwise",
"{",
"@",
"link",
"#",
"next",
"(",
")",
"}",
"just",
"returns",
"the",
"last",
"data",
"apply",
"transform",
"to",
"destination",
... | [
"initialize",
"curr",
"from",
"list",
"(",
"data",
"get",
"(",
"array",
"util",
"range",
"(",
"cursor",
",",
"cursor",
"+",
"num",
"examples",
")",
")",
"as",
"list",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"{",
"@",
"link",
"active",
"scan",
"}",
"from",
"the",
"available",
"active",
"scans",
"or",
"the",
"last",
"active",
"scan",
"if",
"a",
"scan",
"id",
"(",
"{",
"@",
"link",
"#",
"param",
"scan",
"id",
"}",
")",
"is",
"present",
"i... | [
"int",
"id",
"=",
"get",
"param",
"(",
"params",
",",
"param",
"scan",
"id",
",",
"-",
"1",
")",
";",
"generic",
"scanner",
"2",
"active",
"scan",
"=",
"null",
";",
"if",
"(",
"id",
"=",
"=",
"-",
"1",
")",
"{",
"active",
"scan",
"=",
"controll... |
[
"simple",
"approach",
"to",
"compare",
"first",
"second",
"elements",
"of",
"every",
"element",
"in",
"array",
"with",
"first",
"element",
"if",
"any",
"string",
"with",
"not",
"equal",
"character",
"found",
"return",
"prefix"
] | [
"if",
"(",
"strs",
"length",
"=",
"=",
"0",
")",
"return",
"\"",
"\"",
";",
"if",
"(",
"strs",
"length",
"=",
"=",
"1",
")",
"return",
"strs",
"[",
"0",
"]",
";",
"int",
"len",
"=",
"strs",
"[",
"0",
"]",
"length",
"(",
")",
";",
"int",
"i"... |
[
"sets",
"the",
"number",
"of",
"messages",
"in",
"a",
"group",
"on",
"which",
"we",
"will",
"report",
"that",
"messages",
"have",
"been",
"received"
] | [
"this",
"report",
"count",
"=",
"report",
"count",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"protected",
"abstract",
"object",
"create",
"message",
"body",
"(",
"long",
"message",
"index",
")",
";"
] |
[
"allows",
"derived",
"classes",
"to",
"add",
"some",
"custom",
"headers",
"for",
"a",
"given",
"message"
] | [] |
[
"allows",
"derived",
"classes",
"to",
"customize",
"a",
"default",
"set",
"of",
"properties"
] | [] |
[
"tests",
"to",
"make",
"sure",
"a",
"given",
"layout",
"version",
"supports",
"all",
"the",
"features",
"from",
"the",
"ancestor"
] | [
"for",
"(",
"layout",
"feature",
"f",
":",
"feature",
"values",
"(",
")",
")",
"{",
"validate",
"feature",
"list",
"(",
"f",
")",
";",
"}"
] |
[
"test",
"to",
"make",
"sure",
"0",
"20",
"203",
"supports",
"delegation",
"token"
] | [
"assert",
"true",
"(",
"name",
"node",
"layout",
"version",
"supports",
"(",
"layout",
"version",
"feature",
"delegation",
"token",
",",
"feature",
"reserved",
"rel20",
"203",
"get",
"info",
"(",
")",
"get",
"layout",
"version",
"(",
")",
")",
")",
";"
] |
[
"test",
"to",
"make",
"sure",
"0",
"20",
"204",
"supports",
"delegation",
"token"
] | [
"assert",
"true",
"(",
"name",
"node",
"layout",
"version",
"supports",
"(",
"layout",
"version",
"feature",
"delegation",
"token",
",",
"feature",
"reserved",
"rel20",
"204",
"get",
"info",
"(",
")",
"get",
"layout",
"version",
"(",
")",
")",
")",
";"
] |
[
"test",
"to",
"make",
"sure",
"release",
"1",
"2",
"0",
"support",
"concat"
] | [
"assert",
"true",
"(",
"name",
"node",
"layout",
"version",
"supports",
"(",
"layout",
"version",
"feature",
"concat",
",",
"feature",
"reserved",
"rel1",
"2",
"0",
"get",
"info",
"(",
")",
"get",
"layout",
"version",
"(",
")",
")",
")",
";"
] |
[
"test",
"to",
"make",
"sure",
"name",
"node",
"feature",
"support",
"previous",
"features"
] | [
"final",
"layout",
"feature",
"first",
"=",
"name",
"node",
"layout",
"version",
"feature",
"rolling",
"upgrade",
";",
"assert",
"true",
"(",
"name",
"node",
"layout",
"version",
"supports",
"(",
"last",
"non",
"reserved",
"common",
"feature",
",",
"first",
... |
[
"test",
"to",
"make",
"sure",
"data",
"node",
"feature",
"support",
"previous",
"features"
] | [
"final",
"layout",
"feature",
"first",
"=",
"data",
"node",
"layout",
"version",
"feature",
"first",
"layout",
";",
"assert",
"true",
"(",
"data",
"node",
"layout",
"version",
"supports",
"(",
"last",
"non",
"reserved",
"common",
"feature",
",",
"first",
"ge... |
[
"when",
"a",
"layout",
"version",
"support",
"snapshot",
"it",
"must",
"support",
"fsimage",
"name",
"optimization"
] | [
"for",
"(",
"feature",
"f",
":",
"feature",
"values",
"(",
")",
")",
"{",
"final",
"int",
"version",
"=",
"f",
"get",
"info",
"(",
")",
"get",
"layout",
"version",
"(",
")",
";",
"if",
"(",
"name",
"node",
"layout",
"version",
"supports",
"(",
"fea... |
[
"returns",
"the",
"number",
"of",
"components",
"in",
"the",
"mixture"
] | [
"return",
"components",
"size",
"(",
")",
";"
] |
[
"get",
"the",
"<",
"code",
">",
"key",
"<",
"/",
"code",
">",
"of",
"the",
"resource",
"that",
"was",
"just",
"uploaded",
"to",
"the",
"shared",
"cache"
] | [
"public",
"abstract",
"string",
"get",
"resource",
"key",
"(",
")",
";"
] |
[
"set",
"the",
"<",
"code",
">",
"key",
"<",
"/",
"code",
">",
"of",
"the",
"resource",
"that",
"was",
"just",
"uploaded",
"to",
"the",
"shared",
"cache"
] | [
"public",
"abstract",
"void",
"set",
"resource",
"key",
"(",
"string",
"key",
")",
";"
] |
[
"one",
"block",
"plus",
"one",
"record"
] | [
"if",
"(",
"skip",
")",
"return",
";",
"write",
"records",
"(",
"records",
"1st",
"block",
"+",
"1",
")",
";",
"read",
"records",
"(",
"records",
"1st",
"block",
"+",
"1",
")",
";",
"check",
"block",
"index",
"(",
"records",
"1st",
"block",
"-",
"1... |
[
"the",
"created",
"simple",
"object",
"(",
"output",
")"
] | [
"return",
"simple",
"object",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"return",
"model",
"package",
"literals",
"tf",
"industrial",
"dual020m",
"aconfiguration",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"return",
"sample",
"rate",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"short",
"old",
"sample",
"rate",
"=",
"sample",
"rate",
";",
"sample",
"rate",
"=",
"new",
"sample",
"rate",
";",
"if",
"(",
"e",
"notification",
"required",
"(",
")",
")",
"e",
"notify",
"(",
"new",
"e",
"notification",
"impl",
"(",
"this",
",",
"n... |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"switch",
"(",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"tf",
"industrial",
"dual020m",
"aconfiguration",
"sample",
"rate",
":",
"return",
"get",
"sample",
"rate",
"(",
")",
";",
"}",
"return",
"super",
"e",
"get",
"(",
"feature",
"i",
... |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"switch",
"(",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"tf",
"industrial",
"dual020m",
"aconfiguration",
"sample",
"rate",
":",
"set",
"sample",
"rate",
"(",
"(",
"short",
")",
"new",
"value",
")",
";",
"return",
";",
"}",
"super",
"... |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"switch",
"(",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"tf",
"industrial",
"dual020m",
"aconfiguration",
"sample",
"rate",
":",
"set",
"sample",
"rate",
"(",
"sample",
"rate",
"edefault",
")",
";",
"return",
";",
"}",
"super",
"e",
"un... |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"switch",
"(",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"tf",
"industrial",
"dual020m",
"aconfiguration",
"sample",
"rate",
":",
"return",
"sample",
"rate",
"edefault",
"=",
"=",
"null",
"?",
"sample",
"rate",
"!",
"=",
"null",
":",
"!"... |
[
"sets",
"whether",
"or",
"not",
"the",
"menu",
"button",
"enabled",
"state",
"should",
"be",
"overridden",
"by",
"the",
"enable",
"state",
"of",
"child",
"menu",
"items",
"for",
"the",
"given",
"invoker",
"<",
"p",
">",
"default",
"value",
"is",
"{",
"@"... | [
"this",
"button",
"enabled",
"for",
"enable",
"children",
"=",
"button",
"enabled",
"for",
"enable",
"children",
";"
] |
[
"tells",
"whether",
"or",
"not",
"the",
"menu",
"button",
"enabled",
"state",
"should",
"be",
"overridden",
"by",
"the",
"enable",
"state",
"of",
"child",
"menu",
"items",
"for",
"the",
"given",
"invoker",
"<",
"p",
">",
"the",
"method",
"{",
"@",
"code"... | [
"return",
"button",
"enabled",
"for",
"enable",
"children",
";"
] |
[
"sets",
"whether",
"or",
"not",
"the",
"children",
"should",
"be",
"notified",
"and",
"processed",
"when",
"the",
"menu",
"is",
"invoked",
"<",
"p",
">",
"default",
"value",
"is",
"{",
"@",
"code",
"true",
"}"
] | [
"this",
"process",
"extension",
"popup",
"children",
"=",
"process",
"extension",
"popup",
"children",
";"
] |
[
"tells",
"whether",
"or",
"not",
"the",
"children",
"should",
"be",
"notified",
"and",
"processed",
"when",
"the",
"menu",
"is",
"invoked"
] | [
"return",
"process",
"extension",
"popup",
"children",
";"
] |
[
"tells",
"whether",
"or",
"not",
"the",
"menu",
"item",
"supports",
"multiple",
"selected",
"alerts",
"if",
"{",
"@",
"code",
"false",
"}",
"the",
"menu",
"button",
"will",
"not",
"be",
"enabled",
"when",
"the",
"alerts",
"tree",
"has",
"multiple",
"select... | [
"return",
"multi",
"select",
";"
] |
[
"returns",
"the",
"invoker",
"of",
"the",
"pop",
"up",
"menu",
"item"
] | [
"return",
"invoker",
";"
] |
[
"to",
"determine",
"if",
"the",
"menu",
"is",
"enable",
"for",
"the",
"given",
"message",
"container",
"following",
"steps",
"are",
"done",
":",
"<",
"ol",
">",
"<",
"li",
">",
"check",
"if",
"message",
"container",
"is",
"{",
"@",
"code",
"http",
"mes... | [
"invoker",
"=",
"null",
";",
"if",
"(",
"!",
"(",
"message",
"container",
"instanceof",
"http",
"message",
"container",
")",
")",
"{",
"return",
"false",
";",
"}",
"http",
"message",
"container",
"http",
"message",
"container",
"=",
"(",
"http",
"message",... |
[
"tells",
"whether",
"or",
"not",
"the",
"menu",
"is",
"enable",
"for",
"the",
"given",
"http",
"message",
"container",
"<",
"p",
">",
"by",
"default",
"is",
"enable",
"for",
"{",
"@",
"code",
"single",
"http",
"message",
"container",
"}",
"s",
"and",
"... | [
"if",
"(",
"http",
"message",
"container",
"instanceof",
"selectable",
"http",
"messages",
"container",
"|",
"|",
"http",
"message",
"container",
"instanceof",
"single",
"http",
"message",
"container",
")",
"{",
"return",
"true",
";",
"}",
"return",
"false",
"... |
[
"tells",
"whether",
"or",
"not",
"the",
"menu",
"item",
"is",
"enable",
"for",
"the",
"given",
"invoker",
"(",
"or",
"optionally",
"the",
"given",
"message",
"container",
")",
"<",
"p",
">",
"by",
"default",
"the",
"menu",
"item",
"is",
"enable",
"for",
... | [
"return",
"true",
";"
] |
[
"tells",
"whether",
"or",
"not",
"the",
"button",
"should",
"be",
"enabled",
"for",
"the",
"state",
"of",
"the",
"given",
"message",
"container",
"called",
"from",
"{",
"@",
"code",
"is",
"enable",
"for",
"message",
"container",
"(",
"message",
"container",
... | [
"boolean",
"enabled",
"=",
"is",
"button",
"enabled",
"for",
"number",
"of",
"selected",
"messages",
"(",
"http",
"message",
"container",
")",
";",
"if",
"(",
"enabled",
")",
"{",
"enabled",
"=",
"is",
"button",
"enabled",
"for",
"selected",
"messages",
"(... |
[
"tells",
"whether",
"or",
"not",
"the",
"button",
"should",
"be",
"enabled",
"for",
"the",
"number",
"of",
"selected",
"messages",
"of",
"the",
"given",
"message",
"container",
"<",
"p",
">",
"defaults",
"to",
"call",
"the",
"method",
"{",
"@",
"code",
"... | [
"return",
"is",
"button",
"enabled",
"for",
"number",
"of",
"selected",
"messages",
"(",
"get",
"number",
"of",
"selected",
"messages",
"(",
"http",
"message",
"container",
")",
")",
";"
] |
[
"tells",
"whether",
"or",
"not",
"the",
"button",
"should",
"be",
"enabled",
"for",
"the",
"selected",
"messages",
"of",
"the",
"given",
"message",
"container",
"<",
"p",
">",
"defaults",
"to",
"call",
"the",
"method",
"{",
"@",
"code",
"is",
"button",
"... | [
"return",
"is",
"button",
"enabled",
"for",
"selected",
"messages",
"(",
"get",
"selected",
"messages",
"(",
"http",
"message",
"container",
")",
")",
";"
] |
[
"returns",
"the",
"number",
"of",
"selected",
"messages",
"of",
"the",
"given",
"message",
"container",
"<",
"p",
">",
"by",
"default",
"it",
"returns",
"the",
"number",
"of",
"selected",
"messages",
"from",
"{",
"@",
"code",
"selectable",
"http",
"messages"... | [
"if",
"(",
"http",
"message",
"container",
"instanceof",
"selectable",
"http",
"messages",
"container",
")",
"{",
"return",
"(",
"(",
"selectable",
"http",
"messages",
"container",
")",
"http",
"message",
"container",
")",
"get",
"number",
"of",
"selected",
"m... |
[
"tells",
"whether",
"or",
"not",
"the",
"button",
"should",
"be",
"enabled",
"for",
"the",
"given",
"number",
"of",
"selected",
"messages",
"<",
"p",
">",
"by",
"default",
"it",
"returns",
"{",
"@",
"code",
"false",
"}",
"when",
"there",
"are",
"no",
"... | [
"if",
"(",
"number",
"of",
"selected",
"messages",
"=",
"=",
"0",
")",
"{",
"return",
"false",
";",
"}",
"else",
"if",
"(",
"number",
"of",
"selected",
"messages",
">",
"1",
"&",
"&",
"!",
"is",
"multi",
"select",
"(",
")",
")",
"{",
"return",
"f... |
[
"returns",
"the",
"selected",
"messages",
"of",
"the",
"given",
"message",
"container",
"<",
"p",
">",
"by",
"default",
"it",
"returns",
"the",
"selected",
"messages",
"from",
"{",
"@",
"code",
"selectable",
"http",
"messages",
"container",
"}",
"s",
"and",
... | [
"if",
"(",
"http",
"message",
"container",
"instanceof",
"selectable",
"http",
"messages",
"container",
")",
"{",
"return",
"(",
"(",
"selectable",
"http",
"messages",
"container",
")",
"http",
"message",
"container",
")",
"get",
"selected",
"messages",
"(",
"... |
[
"tells",
"whether",
"or",
"not",
"the",
"button",
"should",
"be",
"enabled",
"for",
"the",
"given",
"selected",
"messages",
"<",
"p",
">",
"by",
"default",
"it",
"returns",
"{",
"@",
"code",
"true",
"}",
"unless",
"the",
"method",
"{",
"@",
"code",
"is... | [
"for",
"(",
"http",
"message",
"http",
"message",
":",
"http",
"messages",
")",
"{",
"if",
"(",
"http",
"message",
"!",
"=",
"null",
"&",
"&",
"!",
"is",
"button",
"enabled",
"for",
"selected",
"http",
"message",
"(",
"http",
"message",
")",
")",
"{"... |
[
"tells",
"whether",
"or",
"not",
"the",
"button",
"should",
"be",
"enabled",
"for",
"the",
"given",
"selected",
"message",
"<",
"p",
">",
"by",
"default",
"it",
"returns",
"{",
"@",
"code",
"true",
"}"
] | [
"return",
"true",
";"
] |
[
"tells",
"whether",
"or",
"not",
"the",
"selected",
"messages",
"of",
"the",
"given",
"message",
"container",
"are",
"in",
"scope",
"<",
"p",
">",
"by",
"default",
"the",
"selected",
"messages",
"are",
"obtained",
"by",
"calling",
"the",
"method",
"get",
"... | [
"for",
"(",
"http",
"message",
"http",
"message",
":",
"get",
"selected",
"messages",
"(",
"http",
"message",
"container",
")",
")",
"{",
"if",
"(",
"http",
"message",
"!",
"=",
"null",
"&",
"&",
"!",
"http",
"message",
"is",
"in",
"scope",
"(",
")",... |
[
"<",
"p",
">",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"that",
"is",
"associated",
"with",
"the",
"<",
"a",
">",
"directory",
"<",
"/",
"a",
">",
"where",
"both",
"objects",
"reside",
"for",
"more",
"information",
"see",
"<",
"a",
">",
"arns",... | [
"set",
"directory",
"arn",
"(",
"directory",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"specified",
"the",
"parent",
"reference",
"to",
"which",
"this",
"object",
"will",
"be",
"attached",
"<",
"/",
"p",
">"
] | [
"this",
"parent",
"reference",
"=",
"parent",
"reference",
";"
] |
[
"<",
"p",
">",
"if",
"specified",
"the",
"parent",
"reference",
"to",
"which",
"this",
"object",
"will",
"be",
"attached",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"parent",
"reference",
";"
] |
[
"<",
"p",
">",
"the",
"parent",
"object",
"reference",
"<",
"/",
"p",
">"
] | [
"set",
"parent",
"reference",
"(",
"parent",
"reference",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"child",
"object",
"reference",
"that",
"is",
"to",
"be",
"attached",
"to",
"the",
"object",
"<",
"/",
"p",
">"
] | [
"this",
"child",
"reference",
"=",
"child",
"reference",
";"
] |
[
"<",
"p",
">",
"the",
"child",
"object",
"reference",
"that",
"is",
"to",
"be",
"attached",
"to",
"the",
"object",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"child",
"reference",
";"
] |
[
"<",
"p",
">",
"the",
"child",
"object",
"reference",
"to",
"be",
"attached",
"to",
"the",
"object",
"<",
"/",
"p",
">"
] | [
"set",
"child",
"reference",
"(",
"child",
"reference",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"link",
"that",
"is",
"used",
"to",
"attach",
"this",
"object",
"to",
"a",
"parent",
"<",
"/",
"p",
">"
] | [
"this",
"link",
"name",
"=",
"link",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"link",
"that",
"is",
"used",
"to",
"attach",
"this",
"object",
"to",
"a",
"parent",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"link",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"link",
"name",
"with",
"which",
"the",
"child",
"object",
"is",
"attached",
"to",
"the",
"parent",
"<",
"/",
"p",
">"
] | [
"set",
"link",
"name",
"(",
"link",
"name",
")",
";",
"return",
"this",
";"
] |
[
"gets",
"the",
"selector"
] | [
"return",
"selector",
";"
] |
[
"returns",
"the",
"nanosecond",
"-",
"based",
"timestamp",
"of",
"when",
"this",
"socket",
"destination",
"was",
"last",
"closed",
"socket",
"destination",
"objects",
"can",
"be",
"closed",
"when",
"their",
"node",
"is",
"marked",
"as",
"unavailable",
"if",
"t... | [
"long",
"last",
"closed",
"timestamp",
"=",
"last",
"closed",
"timestamps",
"get",
"(",
"socket",
"destination",
")",
";",
"return",
"last",
"closed",
"timestamp",
"!",
"=",
"null",
"?",
"last",
"closed",
"timestamp",
"long",
"value",
"(",
")",
":",
"0",
... |
[
"assigns",
"the",
"last",
"closed",
"timestamp",
"based",
"on",
"the",
"current",
"time",
"in",
"nanoseconds"
] | [
"last",
"closed",
"timestamps",
"put",
"(",
"socket",
"destination",
",",
"system",
"nano",
"time",
"(",
")",
")",
";"
] |
[
"configures",
"connection",
"to",
"be",
"secure",
"to",
"use",
"the",
"truststore",
"password"
] | [
"this",
"truststore",
"password",
"=",
"truststore",
"password",
";"
] |
[
"https",
":",
"/",
"/",
"tools",
"ietf",
"org",
"/",
"html",
"/",
"rfc",
"7",
"6",
"3",
"6"
] | [
"return",
"pkce",
";"
] |
[
"will",
"create",
"an",
"intent",
"that",
"can",
"be",
"used",
"to",
"invoke",
"an",
"action",
"in",
"a",
"facebook",
"app",
"via",
"the",
"native",
"protocol"
] | [
"if",
"(",
"version",
"result",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"native",
"app",
"info",
"app",
"info",
"=",
"version",
"result",
"native",
"app",
"info",
";",
"if",
"(",
"app",
"info",
"=",
"=",
"null",
")",
"{",
"return",
... |
[
"use",
"this",
"method",
"to",
"set",
"a",
"result",
"on",
"an",
"activity",
"where",
"the",
"result",
"needs",
"to",
"be",
"in",
"the",
"shape",
"of",
"the",
"native",
"protocol",
"used",
"for",
"native",
"dialogs"
] | [
"uuid",
"call",
"id",
"=",
"native",
"protocol",
"get",
"call",
"id",
"from",
"intent",
"(",
"request",
"intent",
")",
";",
"if",
"(",
"call",
"id",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"intent",
"result",
"intent",
"=",
"new",
"... |
[
"controls",
"whether",
"the",
"compiler",
"should",
"provide",
"binding",
"information",
"for",
"the",
"ast",
"nodes",
"it",
"creates",
"to",
"be",
"effective",
"this",
"method",
"must",
"be",
"called",
"before",
"any",
"of",
"{",
"@",
"link",
"#",
"get",
... | [
"f",
"resolve",
"bindings",
"=",
"resolve",
";"
] |
[
"controls",
"whether",
"the",
"compiler",
"should",
"perform",
"statements",
"recovery",
"to",
"be",
"effective",
"this",
"method",
"must",
"be",
"called",
"before",
"any",
"of",
"{",
"@",
"link",
"#",
"get",
"root",
"(",
")",
"}",
"{",
"@",
"link",
"#",... | [
"f",
"statements",
"recovery",
"=",
"statements",
"recovery",
";"
] |
[
"controls",
"whether",
"the",
"compiler",
"should",
"perform",
"bindings",
"recovery",
"to",
"be",
"effective",
"this",
"method",
"must",
"be",
"called",
"before",
"any",
"of",
"{",
"@",
"link",
"#",
"get",
"root",
"(",
")",
"}",
"{",
"@",
"link",
"#",
... | [
"f",
"bindings",
"recovery",
"=",
"bindings",
"recovery",
";"
] |
[
"creates",
"a",
"compilation",
"unit",
"change",
"based",
"on",
"the",
"events",
"recorded",
"by",
"this",
"compilation",
"unit",
"rewrite"
] | [
"return",
"create",
"change",
"(",
"generate",
"groups",
",",
"null",
")",
";"
] |
[
"creates",
"a",
"compilation",
"unit",
"change",
"based",
"on",
"the",
"events",
"recorded",
"by",
"this",
"compilation",
"unit",
"rewrite"
] | [
"compilation",
"unit",
"change",
"change",
"=",
"create",
"change",
"(",
"true",
")",
";",
"if",
"(",
"change",
"=",
"=",
"null",
")",
"return",
"null",
";",
"return",
"new",
"org",
"eclipse",
"jdt",
"internal",
"corext",
"refactoring",
"changes",
"compila... |
[
"creates",
"a",
"compilation",
"unit",
"change",
"based",
"on",
"the",
"events",
"recorded",
"by",
"this",
"compilation",
"unit",
"rewrite"
] | [
"return",
"create",
"change",
"(",
"f",
"cu",
"get",
"element",
"name",
"(",
")",
",",
"generate",
"groups",
",",
"monitor",
")",
";"
] |
[
"creates",
"a",
"compilation",
"unit",
"change",
"based",
"on",
"the",
"events",
"recorded",
"by",
"this",
"compilation",
"unit",
"rewrite"
] | [
"compilation",
"unit",
"change",
"cu",
"change",
"=",
"new",
"compilation",
"unit",
"change",
"(",
"name",
",",
"f",
"cu",
")",
";",
"multi",
"text",
"edit",
"multi",
"edit",
"=",
"new",
"multi",
"text",
"edit",
"(",
")",
";",
"cu",
"change",
"set",
... |
[
"returns",
"a",
"new",
"instance",
"like",
"{"
] | [
"type",
"element",
"spy",
"=",
"mockito",
"spy",
"(",
"object",
")",
";",
"when",
"(",
"spy",
"get",
"kind",
"(",
")",
")",
"then",
"throw",
"(",
"new",
"assertion",
"error",
"(",
")",
")",
";",
"when",
"(",
"spy",
"get",
"enclosing",
"element",
"(... |
[
"program",
"entry",
"point"
] | [
"simple",
"wizard",
"simple",
"wizard",
"=",
"new",
"simple",
"wizard",
"(",
")",
";",
"simple",
"wizard",
"smoke",
"(",
")",
";",
"advanced",
"wizard",
"advanced",
"wizard",
"=",
"new",
"advanced",
"wizard",
"(",
"new",
"second",
"breakfast",
"tobacco",
"... |
[
"store"
] | [
"val",
"session",
"=",
"maps",
"<",
"string",
",",
"object",
">",
"new",
"linked",
"hash",
"map",
"(",
")",
";",
"val",
"web",
"session",
"=",
"(",
"http",
"session",
")",
"web",
"context",
"get",
"session",
"store",
"(",
")",
"get",
"trackable",
"se... |
[
"retrieve"
] | [
"val",
"value",
"=",
"cookie",
"generator",
"retrieve",
"cookie",
"value",
"(",
"web",
"context",
"get",
"request",
"(",
")",
")",
";",
"if",
"(",
"string",
"utils",
"is",
"not",
"blank",
"(",
"value",
")",
")",
"{",
"val",
"blob",
"=",
"encoding",
"... |
[
"remove",
"cookie"
] | [
"cookie",
"generator",
"remove",
"cookie",
"(",
"web",
"context",
"get",
"response",
"(",
")",
")",
";"
] |
[
"has",
"conditional",
"ignore",
"annotation",
"boolean"
] | [
"return",
"target",
"get",
"test",
"class",
"(",
")",
"is",
"annotation",
"present",
"(",
"conditional",
"ignore",
"class",
")",
"|",
"|",
"target",
"get",
"annotation",
"(",
"conditional",
"ignore",
"class",
")",
"!",
"=",
"null",
";"
] |
[
"gets",
"ignore",
"condition"
] | [
"var",
"annotation",
"=",
"target",
"get",
"annotation",
"(",
"conditional",
"ignore",
"class",
")",
";",
"if",
"(",
"annotation",
"=",
"=",
"null",
")",
"{",
"annotation",
"=",
"target",
"get",
"test",
"class",
"(",
")",
"get",
"annotation",
"(",
"condi... |
[
"create",
"ignore",
"condition"
] | [
"check",
"condition",
"type",
"(",
")",
";",
"try",
"{",
"return",
"create",
"condition",
"(",
")",
";",
"}",
"catch",
"(",
"final",
"exception",
"e",
")",
"{",
"throw",
"new",
"runtime",
"exception",
"(",
"e",
")",
";",
"}"
] |
[
"create",
"condition",
"ignore",
"condition"
] | [
"if",
"(",
"is",
"condition",
"type",
"standalone",
"(",
")",
")",
"{",
"return",
"condition",
"type",
"get",
"declared",
"constructor",
"(",
")",
"new",
"instance",
"(",
")",
";",
"}",
"return",
"condition",
"type",
"get",
"declared",
"constructor",
"(",
... |
[
"is",
"condition",
"type",
"standalone",
"boolean"
] | [
"return",
"!",
"condition",
"type",
"is",
"member",
"class",
"(",
")",
"|",
"|",
"modifier",
"is",
"static",
"(",
"condition",
"type",
"get",
"modifiers",
"(",
")",
")",
";"
] |
[
"is",
"condition",
"type",
"declared",
"in",
"target",
"boolean"
] | [
"return",
"target",
"get",
"class",
"(",
")",
"is",
"assignable",
"from",
"(",
"condition",
"type",
"get",
"declaring",
"class",
"(",
")",
")",
";"
] |
[
"creates",
"a",
"table",
"with",
"the",
"specified",
"data"
] | [
"protected",
"abstract",
"table",
"<",
"string",
",",
"integer",
",",
"character",
">",
"create",
"(",
"object",
"data",
")",
";"
] |
[
"stop",
"the",
"running",
"query"
] | [
"meta",
"=",
"(",
"dynamic",
"s",
"q",
"l",
"row",
"meta",
")",
"smi",
";",
"data",
"=",
"(",
"dynamic",
"s",
"q",
"l",
"row",
"data",
")",
"sdi",
";",
"if",
"(",
"data",
"db",
"!",
"=",
"null",
"&",
"&",
"!",
"data",
"is",
"canceled",
")",
... |
[
"a",
"location",
"identifies",
"a",
"piece",
"of",
"source",
"code",
"in",
"a",
"proto",
"file",
"which",
"corresponds",
"to",
"a",
"particular",
"definition",
"this",
"information",
"is",
"intended",
"to",
"be",
"useful",
"to",
"i",
"d",
"es",
"code",
"in... | [
"internal",
"check",
"elements",
"not",
"null",
"(",
"location",
")",
";",
"this",
"location",
"=",
"location",
";",
"return",
"this",
";"
] |
[
"set",
"aws",
"credentials",
"into",
"the",
"provided",
"{"
] | [
"protected",
"abstract",
"void",
"set",
"aws",
"credentials",
"(",
"tcp",
"discovery",
"s",
"3",
"ip",
"finder",
"finder",
")",
";"
] |
[
"set",
"bucket",
"endpoint",
"into",
"the",
"provided",
"{"
] | [
"finder",
"set",
"bucket",
"endpoint",
"(",
"bucket",
"endpoint",
")",
";"
] |
[
"set",
"server",
"-",
"side",
"encryption",
"algorithm",
"for",
"amazon",
"s3",
"-",
"managed",
"encryption",
"keys",
"into",
"the",
"provided",
"{"
] | [
"finder",
"set",
"s",
"s",
"e",
"algorithm",
"(",
"s",
"s",
"e",
"algorithm",
")",
";"
] |
[
"set",
"bucket",
"endpoint",
"into",
"the",
"provided",
"{"
] | [
"finder",
"set",
"bucket",
"name",
"(",
"get",
"bucket",
"name",
"(",
")",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.