docstring_tokens list | code_tokens list |
|---|---|
[
"takes",
"the",
"result",
"and",
"determines",
"whether",
"the",
"state",
"of",
"the",
"resource",
"matches",
"the",
"expected",
"state",
"to",
"determine",
"the",
"current",
"state",
"of",
"the",
"resource",
"jmes",
"path",
"expression",
"is",
"evaluated",
"a... | [
"json",
"node",
"query",
"node",
"=",
"object",
"mapper",
"singleton",
"get",
"object",
"mapper",
"(",
")",
"value",
"to",
"tree",
"(",
"result",
")",
";",
"json",
"node",
"final",
"result",
"=",
"ast",
"accept",
"(",
"new",
"jmes",
"path",
"evaluation",... |
[
"test",
"method",
"pattern"
] | [] |
[
"adds",
"a",
"new",
"material",
"extension",
"to",
"the",
"set",
"of",
"extensions"
] | [
"extensions",
"put",
"(",
"extension",
"get",
"base",
"material",
"name",
"(",
")",
",",
"extension",
")",
";"
] |
[
"returns",
"the",
"{",
"@",
"link",
"material",
"extension",
"}",
"for",
"a",
"given",
"ogre",
"3",
"d",
"base",
"material",
"name"
] | [
"return",
"extensions",
"get",
"(",
"base",
"mat",
"name",
")",
";"
] |
[
"adds",
"an",
"alternative",
"name",
"for",
"a",
"material"
] | [
"list",
"<",
"string",
">",
"list",
"=",
"name",
"mappings",
"get",
"(",
"name",
")",
";",
"if",
"(",
"list",
"=",
"=",
"null",
")",
"{",
"list",
"=",
"new",
"array",
"list",
"<",
"string",
">",
"(",
")",
";",
"name",
"mappings",
"put",
"(",
"n... |
[
"set",
"a",
"tag",
"object",
"associated",
"with",
"this",
"action",
"mode"
] | [
"m",
"tag",
"=",
"tag",
";"
] |
[
"returns",
"this",
"request",
"s",
"tag"
] | [
"return",
"m",
"tag",
";"
] |
[
"set",
"the",
"action",
"bar",
"s",
"title",
"this",
"will",
"only",
"be",
"displayed",
"if",
"{",
"@",
"link",
"#",
"display",
"show",
"title",
"}",
"is",
"set"
] | [
"public",
"abstract",
"void",
"set",
"title",
"(",
"int",
"res",
"id",
")",
";"
] |
[
"set",
"the",
"action",
"bar",
"s",
"subtitle",
"this",
"will",
"only",
"be",
"displayed",
"if",
"{",
"@",
"link",
"#",
"display",
"show",
"title",
"}",
"is",
"set",
"set",
"to",
"null",
"to",
"disable",
"the",
"subtitle",
"entirely"
] | [
"public",
"abstract",
"void",
"set",
"subtitle",
"(",
"char",
"sequence",
"subtitle",
")",
";"
] |
[
"set",
"the",
"action",
"bar",
"s",
"subtitle",
"this",
"will",
"only",
"be",
"displayed",
"if",
"{",
"@",
"link",
"#",
"display",
"show",
"title",
"}",
"is",
"set"
] | [
"public",
"abstract",
"void",
"set",
"subtitle",
"(",
"int",
"res",
"id",
")",
";"
] |
[
"set",
"the",
"action",
"bar",
"into",
"custom",
"navigation",
"mode",
"supplying",
"a",
"view",
"for",
"custom",
"navigation"
] | [
"public",
"abstract",
"void",
"set",
"custom",
"view",
"(",
"view",
"view",
")",
";"
] |
[
"finish",
"and",
"close",
"this",
"action",
"mode",
"the",
"action",
"mode",
"s",
"{"
] | [
"public",
"abstract",
"void",
"finish",
"(",
")",
";"
] |
[
"returns",
"the",
"menu",
"of",
"actions",
"that",
"this",
"action",
"mode",
"presents"
] | [
"public",
"abstract",
"menu",
"get",
"menu",
"(",
")",
";"
] |
[
"returns",
"the",
"current",
"action",
"bar",
"title",
"in",
"standard",
"mode",
"returns",
"null",
"if",
"{",
"@",
"link",
"#",
"get",
"navigation",
"mode",
"(",
")",
"}",
"would",
"not",
"return",
"{",
"@",
"link",
"#",
"navigation",
"mode",
"standard"... | [
"public",
"abstract",
"char",
"sequence",
"get",
"title",
"(",
")",
";"
] |
[
"returns",
"the",
"current",
"action",
"bar",
"subtitle",
"in",
"standard",
"mode",
"returns",
"null",
"if",
"{",
"@",
"link",
"#",
"get",
"navigation",
"mode",
"(",
")",
"}",
"would",
"not",
"return",
"{",
"@",
"link",
"#",
"navigation",
"mode",
"standa... | [
"public",
"abstract",
"char",
"sequence",
"get",
"subtitle",
"(",
")",
";"
] |
[
"retrieve",
"a",
"previously",
"set",
"custom",
"view",
"for",
"this",
"tab"
] | [
"public",
"abstract",
"view",
"get",
"custom",
"view",
"(",
")",
";"
] |
[
"returns",
"a",
"{"
] | [
"public",
"abstract",
"menu",
"inflater",
"get",
"menu",
"inflater",
"(",
")",
";"
] |
[
"returns",
"whether",
"the",
"ui",
"presenting",
"this",
"action",
"mode",
"can",
"take",
"focus",
"or",
"not",
"this",
"is",
"used",
"by",
"internal",
"components",
"within",
"the",
"framework",
"that",
"would",
"otherwise",
"present",
"an",
"action",
"mode",... | [
"return",
"true",
";"
] |
[
"static",
"method",
"to",
"retrieve",
"a",
"new",
"item",
"adapter"
] | [
"return",
"new",
"model",
"adapter",
"<",
">",
"(",
"interceptor",
")",
";"
] |
[
"generates",
"a",
"item",
"based",
"on",
"it",
"s",
"model",
"using",
"the",
"interceptor"
] | [
"return",
"m",
"interceptor",
"intercept",
"(",
"model",
")",
";"
] |
[
"generates",
"a",
"list",
"of",
"item",
"based",
"on",
"it",
"s",
"list",
"of",
"model",
"using",
"the",
"interceptor"
] | [
"list",
"<",
"item",
">",
"items",
"=",
"new",
"array",
"list",
"<",
">",
"(",
"models",
"size",
"(",
")",
")",
";",
"item",
"item",
";",
"for",
"(",
"model",
"model",
":",
"models",
")",
"{",
"item",
"=",
"intercept",
"(",
"model",
")",
";",
"... |
[
"defines",
"the",
"id",
"distributor",
"that",
"is",
"used",
"to",
"provide",
"an",
"id",
"to",
"all",
"added",
"items"
] | [
"this",
"m",
"id",
"distributor",
"=",
"id",
"distributor",
";",
"return",
"this",
";"
] |
[
"defines",
"if",
"the",
"default",
"id",
"distributor",
"is",
"used",
"to",
"provide",
"an",
"id",
"to",
"all",
"added",
"items",
"which",
"do",
"not",
"yet",
"define",
"an",
"id"
] | [
"this",
"m",
"use",
"id",
"distributor",
"=",
"use",
"id",
"distributor",
";",
"return",
"this",
";"
] |
[
"allows",
"you",
"to",
"define",
"your",
"own",
"filter",
"implementation",
"instead",
"of",
"the",
"default",
"item",
"filter"
] | [
"this",
"m",
"item",
"filter",
"=",
"item",
"filter",
";",
"return",
"this",
";"
] |
[
"filters",
"the",
"items",
"with",
"the",
"constraint",
"using",
"the",
"provided",
"predicate"
] | [
"m",
"item",
"filter",
"filter",
"(",
"constraint",
")",
";"
] |
[
"searches",
"for",
"the",
"given",
"item",
"and",
"calculates",
"its",
"relative",
"position"
] | [
"return",
"get",
"adapter",
"position",
"(",
"item",
"get",
"identifier",
"(",
")",
")",
";"
] |
[
"searches",
"for",
"the",
"given",
"identifier",
"and",
"calculates",
"its",
"relative",
"position"
] | [
"return",
"m",
"items",
"get",
"adapter",
"position",
"(",
"identifier",
")",
";"
] |
[
"returns",
"the",
"global",
"position",
"if",
"the",
"relative",
"position",
"within",
"this",
"adapter",
"was",
"given"
] | [
"return",
"position",
"+",
"get",
"fast",
"adapter",
"(",
")",
"get",
"pre",
"item",
"count",
"by",
"order",
"(",
"get",
"order",
"(",
")",
")",
";"
] |
[
"set",
"a",
"new",
"list",
"of",
"items",
"and",
"apply",
"it",
"to",
"the",
"existing",
"list",
"(",
"clear",
"-",
"add",
")",
"for",
"this",
"adapter",
"note",
"may",
"consider",
"using",
"set",
"new",
"list",
"if",
"the",
"items",
"list",
"is",
"a... | [
"return",
"set",
"(",
"items",
",",
"true",
")",
";"
] |
[
"set",
"a",
"new",
"list",
"of",
"model",
"items",
"and",
"apply",
"it",
"to",
"the",
"existing",
"list",
"(",
"clear",
"-",
"add",
")",
"for",
"this",
"adapter",
"note",
"may",
"consider",
"using",
"set",
"new",
"list",
"if",
"the",
"items",
"list",
... | [
"list",
"<",
"item",
">",
"items",
"=",
"intercept",
"(",
"list",
")",
";",
"return",
"set",
"internal",
"(",
"items",
",",
"reset",
"filter",
",",
"adapter",
"notifier",
")",
";"
] |
[
"sets",
"a",
"complete",
"new",
"list",
"of",
"items",
"onto",
"this",
"adapter",
"using",
"the",
"new",
"list",
"calls",
"notify",
"data",
"set",
"changed"
] | [
"return",
"set",
"new",
"list",
"(",
"items",
",",
"false",
")",
";"
] |
[
"forces",
"to",
"remap",
"all",
"possible",
"types",
"for",
"the",
"recycler",
"view"
] | [
"get",
"fast",
"adapter",
"(",
")",
"clear",
"type",
"instance",
"(",
")",
";",
"map",
"possible",
"types",
"(",
"m",
"items",
"get",
"items",
"(",
")",
")",
";"
] |
[
"add",
"an",
"array",
"of",
"items",
"to",
"the",
"end",
"of",
"the",
"existing",
"items"
] | [
"return",
"add",
"(",
"as",
"list",
"(",
"items",
")",
")",
";"
] |
[
"add",
"a",
"list",
"of",
"items",
"to",
"the",
"end",
"of",
"the",
"existing",
"items"
] | [
"list",
"<",
"item",
">",
"items",
"=",
"intercept",
"(",
"list",
")",
";",
"return",
"add",
"internal",
"(",
"items",
")",
";"
] |
[
"add",
"an",
"array",
"of",
"items",
"at",
"the",
"given",
"position",
"within",
"the",
"existing",
"items"
] | [
"return",
"add",
"(",
"position",
",",
"as",
"list",
"(",
"items",
")",
")",
";"
] |
[
"add",
"a",
"list",
"of",
"items",
"at",
"the",
"given",
"position",
"within",
"the",
"existing",
"items"
] | [
"list",
"<",
"item",
">",
"items",
"=",
"intercept",
"(",
"list",
")",
";",
"return",
"add",
"internal",
"(",
"position",
",",
"items",
")",
";"
] |
[
"sets",
"an",
"item",
"at",
"the",
"given",
"position",
"overwriting",
"the",
"previous",
"item"
] | [
"item",
"item",
"=",
"intercept",
"(",
"element",
")",
";",
"if",
"(",
"item",
"=",
"=",
"null",
")",
"return",
"this",
";",
"return",
"set",
"internal",
"(",
"position",
",",
"item",
")",
";"
] |
[
"moves",
"an",
"item",
"within",
"the",
"list",
"from",
"a",
"position",
"to",
"a",
"position"
] | [
"m",
"items",
"move",
"(",
"from",
"position",
",",
"to",
"position",
",",
"get",
"fast",
"adapter",
"(",
")",
"get",
"pre",
"item",
"count",
"(",
"from",
"position",
")",
")",
";",
"return",
"this",
";"
] |
[
"removes",
"an",
"item",
"at",
"the",
"given",
"position",
"within",
"the",
"existing",
"icons"
] | [
"m",
"items",
"remove",
"(",
"position",
",",
"get",
"fast",
"adapter",
"(",
")",
"get",
"pre",
"item",
"count",
"(",
"position",
")",
")",
";",
"return",
"this",
";"
] |
[
"removes",
"a",
"range",
"of",
"items",
"starting",
"with",
"the",
"given",
"position",
"within",
"the",
"existing",
"icons"
] | [
"m",
"items",
"remove",
"range",
"(",
"position",
",",
"item",
"count",
",",
"get",
"fast",
"adapter",
"(",
")",
"get",
"pre",
"item",
"count",
"(",
"position",
")",
")",
";",
"return",
"this",
";"
] |
[
"removes",
"all",
"items",
"of",
"this",
"adapter"
] | [
"m",
"items",
"clear",
"(",
"get",
"fast",
"adapter",
"(",
")",
"get",
"pre",
"item",
"count",
"by",
"order",
"(",
"get",
"order",
"(",
")",
")",
")",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"cluster",
"node",
"[",
"]",
"server",
"nodes",
"=",
"get",
"remote",
"nodes",
"(",
")",
"stream",
"(",
")",
"filter",
"(",
"node",
"-",
">",
"!",
"node",
"is",
"client",
"(",
")",
")",
"sorted",
"(",
"comparator",
"comparing",
"long",
"(",
"cluster"... |
[
"{"
] | [
"return",
"top",
"ver",
";"
] |
[
"{"
] | [
"return",
"msg",
"worker",
"queue",
"size",
"(",
")",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [
"return",
"u",
"array",
"list",
"(",
"rmt",
"nodes",
"values",
"(",
")",
",",
"tcp",
"discovery",
"nodes",
"ring",
"visible",
"nodes",
")",
";"
] |
[
"{"
] | [
"if",
"(",
"get",
"local",
"node",
"id",
"(",
")",
"equals",
"(",
"node",
"id",
")",
")",
"return",
"loc",
"node",
";",
"tcp",
"discovery",
"node",
"node",
"=",
"rmt",
"nodes",
"get",
"(",
"node",
"id",
")",
";",
"return",
"node",
"!",
"=",
"null... |
[
"{"
] | [
"tcp",
"discovery",
"node",
"node",
"=",
"rmt",
"nodes",
"get",
"(",
"node",
"id",
")",
";",
"if",
"(",
"node",
"!",
"=",
"null",
")",
"{",
"tcp",
"discovery",
"node",
"failed",
"message",
"msg",
"=",
"new",
"tcp",
"discovery",
"node",
"failed",
"mes... |
[
"{"
] | [
"msg",
"worker",
"add",
"message",
"(",
"spi",
"reconnect",
")",
";"
] |
[
"{"
] | [
"socket",
"stream",
"sock",
"stream",
"=",
"msg",
"worker",
"curr",
"sock",
";",
"if",
"(",
"sock",
"stream",
"!",
"=",
"null",
")",
"u",
"close",
"quiet",
"(",
"sock",
"stream",
"socket",
"(",
")",
")",
";"
] |
[
"{"
] | [
"array",
"list",
"<",
"ignite",
"spi",
"thread",
">",
"res",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"res",
"add",
"(",
"sock",
"writer",
")",
";",
"message",
"worker",
"msg",
"worker",
"0",
"=",
"msg",
"worker",
";",
"if",
"(",
"ms... |
[
"{"
] | [
"if",
"(",
"!",
"spi",
"get",
"spi",
"context",
"(",
")",
"is",
"stopping",
"(",
")",
"&",
"&",
"sock",
"writer",
"is",
"online",
"(",
")",
")",
"{",
"tcp",
"discovery",
"client",
"metrics",
"update",
"message",
"msg",
"=",
"new",
"tcp",
"discovery",... |
[
"router",
"want",
"to",
"ping",
"this",
"client"
] | [
"tcp",
"discovery",
"ping",
"response",
"res",
"=",
"new",
"tcp",
"discovery",
"ping",
"response",
"(",
"get",
"local",
"node",
"id",
"(",
")",
")",
";",
"res",
"client",
"(",
"true",
")",
";",
"sock",
"writer",
"send",
"message",
"(",
"res",
")",
";... |
[
"sets",
"the",
"color",
"that",
"is",
"used",
"for",
"filling",
"the",
"area",
"below",
"the",
"line",
"resets",
"an",
"eventually",
"set",
"fill",
"drawable"
] | [
"m",
"fill",
"color",
"=",
"color",
";",
"m",
"fill",
"drawable",
"=",
"null",
";"
] |
[
"sets",
"the",
"drawable",
"to",
"be",
"used",
"to",
"fill",
"the",
"area",
"below",
"the",
"line"
] | [
"this",
"m",
"fill",
"drawable",
"=",
"drawable",
";"
] |
[
"sets",
"the",
"alpha",
"value",
"(",
"transparency",
")",
"that",
"is",
"used",
"for",
"filling",
"the",
"line",
"surface",
"(",
"0",
"-",
"255",
")",
"default",
":",
"85"
] | [
"m",
"fill",
"alpha",
"=",
"alpha",
";"
] |
[
"set",
"the",
"line",
"width",
"of",
"the",
"chart",
"(",
"min",
"=",
"0",
"2f",
"max",
"=",
"1",
"0f",
")",
";",
"default",
"1f",
"note",
":",
"thinner",
"line",
"=",
"=",
"better",
"performance",
"thicker",
"line",
"=",
"=",
"worse",
"performance"
... | [
"if",
"(",
"width",
"<",
"0",
"0f",
")",
"width",
"=",
"0",
"0f",
";",
"if",
"(",
"width",
">",
"10",
"0f",
")",
"width",
"=",
"10",
"0f",
";",
"m",
"line",
"width",
"=",
"utils",
"convert",
"dp",
"to",
"pixel",
"(",
"width",
")",
";"
] |
[
"evaluate"
] | [
"regexp",
"match",
"case",
"insensitive",
"operator",
"op",
"=",
"new",
"regexp",
"match",
"case",
"insensitive",
"operator",
"(",
")",
";",
"return",
"op",
"evaluate",
"(",
"literal",
"of",
"(",
"source",
")",
",",
"literal",
"of",
"(",
"pattern",
")",
... |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"executed",
"stated",
"machine",
"<",
"/",
"p",
">"
] | [
"this",
"state",
"machine",
"arn",
"=",
"state",
"machine",
"arn",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"executed",
"stated",
"machine",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"state",
"machine",
"arn",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"state",
"machine",
"to",
"execute",
"<",
"/",
"p",
">"
] | [
"set",
"state",
"machine",
"arn",
"(",
"state",
"machine",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"execution",
"this",
"name",
"must",
"be",
"unique",
"for",
"your",
"aws",
"account",
"and",
"region",
"for",
"90",
"days",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
... | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"string",
"that",
"contains",
"the",
"json",
"input",
"data",
"for",
"the",
"execution",
"for",
"example",
":",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"code",
">",
"input",
":",
"{",
"\\",
"first",
"name",
"\\",
":",
"\\",
... | [
"set",
"input",
"(",
"input",
")",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"return",
"model",
"id",
"of",
"(",
"value",
")",
";"
] |
[
"{"
] | [
"return",
"value",
"=",
"=",
"null",
"?",
"null",
":",
"value",
"id",
"(",
")",
";"
] |
[
"returns",
"true",
"if",
"field",
"function",
"name",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"function",
"name",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"func",
"args",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"func",
"args",
"!",
"=",
"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",
"function",
"name",
":",
"return",
"is",
"set",
"function",
"name",
"(",
")",
";",
"ca... |
[
"returns",
"true",
"if",
"field",
"success",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"success",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"e",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"e",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"aze",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"aze",
"!",
"=",
"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",
"(",
")",
";",
"case",
"e",
":",
"... |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"directory",
"config",
"object",
"<",
"/",
"p",
">"
] | [
"this",
"directory",
"name",
"=",
"directory",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"directory",
"config",
"object",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"directory",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"fully",
"qualified",
"name",
"of",
"the",
"directory",
"(",
"for",
"example",
"corp",
"example",
"com",
")",
"<",
"/",
"p",
">"
] | [
"set",
"directory",
"name",
"(",
"directory",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"distinguished",
"names",
"of",
"the",
"organizational",
"units",
"for",
"computer",
"accounts",
"<",
"/",
"p",
">"
] | [
"return",
"organizational",
"unit",
"distinguished",
"names",
";"
] |
[
"<",
"p",
">",
"the",
"distinguished",
"names",
"of",
"the",
"organizational",
"units",
"for",
"computer",
"accounts",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"organizational",
"unit",
"distinguished",
"names",
"=",
"=",
"null",
")",
"{",
"this",
"organizational",
"unit",
"distinguished",
"names",
"=",
"null",
";",
"return",
";",
"}",
"this",
"organizational",
"unit",
"distinguished",
"names",
"=",
"new",... |
[
"<",
"p",
">",
"the",
"distinguished",
"names",
"of",
"the",
"organizational",
"units",
"for",
"computer",
"accounts",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
... | [
"if",
"(",
"this",
"organizational",
"unit",
"distinguished",
"names",
"=",
"=",
"null",
")",
"{",
"set",
"organizational",
"unit",
"distinguished",
"names",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"organizational",
"unit",
"dis... |
[
"<",
"p",
">",
"the",
"distinguished",
"names",
"of",
"the",
"organizational",
"units",
"for",
"computer",
"accounts",
"<",
"/",
"p",
">"
] | [
"set",
"organizational",
"unit",
"distinguished",
"names",
"(",
"organizational",
"unit",
"distinguished",
"names",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"credentials",
"for",
"the",
"service",
"account",
"used",
"by",
"the",
"streaming",
"instance",
"to",
"connect",
"to",
"the",
"directory",
"<",
"/",
"p",
">"
] | [
"this",
"service",
"account",
"credentials",
"=",
"service",
"account",
"credentials",
";"
] |
[
"<",
"p",
">",
"the",
"credentials",
"for",
"the",
"service",
"account",
"used",
"by",
"the",
"streaming",
"instance",
"to",
"connect",
"to",
"the",
"directory",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"service",
"account",
"credentials",
";"
] |
[
"<",
"p",
">",
"the",
"credentials",
"for",
"the",
"service",
"account",
"used",
"by",
"the",
"streaming",
"instance",
"to",
"connect",
"to",
"the",
"directory",
"<",
"/",
"p",
">"
] | [
"set",
"service",
"account",
"credentials",
"(",
"service",
"account",
"credentials",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"utc",
"time",
"stamp",
"of",
"the",
"creation",
"time",
"<",
"/",
"p",
">"
] | [
"this",
"created",
"time",
"=",
"created",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"utc",
"time",
"stamp",
"of",
"the",
"creation",
"time",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"created",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"time",
"the",
"directory",
"configuration",
"was",
"created",
"<",
"/",
"p",
">"
] | [
"set",
"created",
"time",
"(",
"created",
"time",
")",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"queue",
"name",
"of",
"the",
"job",
"queue",
"info"
] | [
"this",
"queue",
"name",
"=",
"queue",
"name",
";"
] |
[
"get",
"opearations",
"allowed",
"on",
"queue"
] | [
"return",
"operations",
";"
] |
[
"creates",
"a",
"{"
] | [
"return",
"new",
"sessions",
"(",
"gap",
"duration",
")",
";"
] |
[
"<",
"p",
">",
"the",
"base",
"path",
"name",
"that",
"callers",
"of",
"the",
"api",
"must",
"provide",
"as",
"part",
"of",
"the",
"url",
"after",
"the",
"domain",
"name",
"<",
"/",
"p",
">"
] | [
"this",
"base",
"path",
"=",
"base",
"path",
";"
] |
[
"helper",
"to",
"reset",
"the",
"query",
"stats",
"and",
"mock",
"the",
"time",
"calls",
"before",
"each",
"data",
"point",
"query"
] | [
"mock",
"time",
"(",
")",
";",
"running",
"queries",
"set",
"(",
"null",
",",
"new",
"concurrent",
"hash",
"map",
"<",
"integer",
",",
"query",
"stats",
">",
"(",
")",
")",
";",
"completed",
"queries",
"set",
"(",
"null",
",",
"cache",
"builder",
"ne... |
[
"helper",
"to",
"validate",
"(",
"set",
")",
"the",
"time",
"series",
"query"
] | [
"data",
"query",
"validate",
"and",
"set",
"query",
"(",
")",
";",
"data",
"query",
"set",
"query",
"stats",
"(",
"new",
"query",
"stats",
"(",
"remote",
",",
"data",
"query",
",",
"null",
")",
")",
";"
] |
[
"mocks",
"out",
"the",
"date",
"time",
"class",
"and",
"increments",
"the",
"timestamp",
"by",
"5",
"0",
"0ms",
"every",
"time",
"it",
"s",
"called"
] | [
"timestamp",
"add",
"(",
"1388534400000l",
")",
";",
"power",
"mockito",
"mock",
"static",
"(",
"date",
"time",
"class",
")",
";",
"power",
"mockito",
"when",
"(",
"date",
"time",
"parse",
"date",
"time",
"string",
"(",
"any",
"string",
"(",
")",
",",
... |
[
"/",
"*",
"return",
"1",
"if",
"f",
"is",
"in",
"{",
"1",
"3",
"5",
"q",
"-",
"2",
"}",
"return",
"0",
"if",
"f",
"is",
"in",
"{",
"0",
"2",
"4",
"q",
"-",
"1",
"}"
] | [
"byte",
"[",
"]",
"s",
"=",
"new",
"byte",
"[",
"32",
"]",
";",
"fe",
"tobytes",
"fe",
"tobytes",
"(",
"s",
",",
"f",
")",
";",
"return",
"s",
"[",
"0",
"]",
"&",
"1",
";"
] |
[
"seek",
"to",
"the",
"given",
"offset",
"from",
"the",
"start",
"of",
"the",
"file",
"the",
"next",
"read",
"(",
")",
"will",
"be",
"from",
"that",
"location",
"can",
"t",
"seek",
"past",
"the",
"end",
"of",
"the",
"stream"
] | [
"public",
"abstract",
"void",
"seek",
"(",
"long",
"desired",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"gets",
"the",
"position",
"of",
"the",
"stream",
"(",
"non",
"-",
"negative",
")",
"defined",
"as",
"the",
"number",
"of",
"bytes",
"from",
"the",
"beginning",
"of",
"the",
"file",
"to",
"the",
"current",
"writing",
"position",
"the",
"position",
"corresp... | [
"public",
"abstract",
"long",
"get",
"pos",
"(",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"wipes",
"the",
"user",
"s",
"bookmarks",
"and",
"sync",
"data"
] | [
"final",
"promise",
"<",
"void",
">",
"promise",
"=",
"new",
"promise",
"<",
">",
"(",
")",
";",
"final",
"bookmark",
"model",
"model",
"=",
"new",
"bookmark",
"model",
"(",
")",
";",
"model",
"run",
"after",
"bookmark",
"model",
"loaded",
"(",
"new",
... |
[
"sets",
"the",
"type",
"of",
"the",
"indexed",
"document"
] | [
"request",
"type",
"(",
"type",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"id",
"of",
"the",
"indexed",
"document"
] | [
"request",
"id",
"(",
"id",
")",
";",
"return",
"this",
";"
] |
[
"controls",
"the",
"shard",
"routing",
"of",
"the",
"request",
"using",
"this",
"value",
"to",
"hash",
"the",
"shard",
"and",
"not",
"the",
"id"
] | [
"request",
"routing",
"(",
"routing",
")",
";",
"return",
"this",
";"
] |
[
"the",
"script",
"to",
"execute",
"note",
"make",
"sure",
"not",
"to",
"send",
"different",
"script",
"each",
"times",
"and",
"instead",
"use",
"script",
"params",
"if",
"possible",
"with",
"the",
"same",
"(",
"automatically",
"compiled",
")",
"script",
"<",... | [
"request",
"script",
"(",
"script",
")",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.