docstring_tokens list | code_tokens list |
|---|---|
[
"<",
"p",
">",
"request",
"-",
"specific",
"information",
"passed",
"between",
"amazon",
"lex",
"and",
"a",
"client",
"application",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"namespace",
"<",
"code",
">",
"x",
"-",
"amz",
"-",
"lex",
":",
"<",
"/"... | [
"this",
"request",
"attributes",
"=",
"request",
"attributes",
";"
] |
[
"<",
"p",
">",
"request",
"-",
"specific",
"information",
"passed",
"between",
"amazon",
"lex",
"and",
"a",
"client",
"application",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"namespace",
"<",
"code",
">",
"x",
"-",
"amz",
"-",
"lex",
":",
"<",
"/"... | [
"set",
"request",
"attributes",
"(",
"request",
"attributes",
")",
";",
"return",
"this",
";"
] |
[
"removes",
"all",
"the",
"entries",
"added",
"into",
"request",
"attributes"
] | [
"this",
"request",
"attributes",
"=",
"null",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"text",
"that",
"the",
"user",
"entered",
"(",
"amazon",
"lex",
"interprets",
"this",
"text",
")",
"<",
"/",
"p",
">"
] | [
"set",
"input",
"text",
"(",
"input",
"text",
")",
";",
"return",
"this",
";"
] |
[
"adds",
"a",
"new",
"interface",
"node",
"to",
"the",
"graph"
] | [
"protected",
"abstract",
"void",
"new",
"interface",
"node",
"(",
"interface",
"node",
"node",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"adds",
"a",
"new",
"implementation",
"node",
"to",
"the",
"graph"
] | [
"protected",
"abstract",
"void",
"new",
"implementation",
"node",
"(",
"implementation",
"node",
"node",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"adds",
"a",
"new",
"instance",
"node",
"to",
"the",
"graph"
] | [
"protected",
"abstract",
"void",
"new",
"instance",
"node",
"(",
"instance",
"node",
"node",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"adds",
"a",
"new",
"dependency",
"edge",
"to",
"the",
"graph"
] | [
"protected",
"abstract",
"void",
"new",
"dependency",
"edge",
"(",
"dependency",
"edge",
"edge",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"adds",
"a",
"new",
"binding",
"edge",
"to",
"the",
"graph"
] | [
"protected",
"abstract",
"void",
"new",
"binding",
"edge",
"(",
"binding",
"edge",
"edge",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"performs",
"any",
"post",
"processing",
"required",
"after",
"all",
"nodes",
"and",
"edges",
"have",
"been",
"added"
] | [
"protected",
"abstract",
"void",
"post",
"process",
"(",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"transitively",
"resolves",
"aliases",
"given",
"aliases",
"(",
"x",
"to",
"y",
")",
"and",
"(",
"y",
"to",
"z",
")",
"it",
"will",
"return",
"mappings",
"(",
"x",
"to",
"z",
")",
"and",
"(",
"y",
"to",
"z",
")"
] | [
"map",
"<",
"node",
"id",
",",
"node",
"id",
">",
"resolved",
"=",
"maps",
"new",
"hash",
"map",
"(",
")",
";",
"map",
"<",
"node",
"id",
",",
"set",
"<",
"node",
"id",
">",
">",
"inverse",
"=",
"maps",
"new",
"hash",
"map",
"(",
")",
";",
"f... |
[
"returns",
"the",
"bindings",
"for",
"the",
"root",
"keys",
"and",
"their",
"transitive",
"dependencies"
] | [
"set",
"<",
"key",
"<",
"?",
">",
">",
"keys",
"=",
"sets",
"new",
"hash",
"set",
"(",
"root",
")",
";",
"set",
"<",
"key",
"<",
"?",
">",
">",
"visited",
"keys",
"=",
"sets",
"new",
"hash",
"set",
"(",
")",
";",
"list",
"<",
"binding",
"<",
... |
[
"obtain",
"the",
"root",
"jaxb",
"bound",
"object"
] | [
"return",
"root",
";"
] |
[
"we",
"use",
"ascii",
"since",
"all",
"the",
"relevant",
"debug",
"standards",
"we",
"care",
"about",
"(",
"e",
"g",
"dwarf",
")",
"use",
"it"
] | [
"public",
"abstract",
"void",
"restore",
"compilation",
"directory",
"(",
"path",
"path",
",",
"path",
"working",
"dir",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"set",
"the",
"gauge",
"to",
"the",
"given",
"value"
] | [
"update",
"(",
"gauge",
"data",
"create",
"(",
"value",
")",
")",
";"
] |
[
"find",
"the",
"first",
"completely",
"visible",
"position"
] | [
"if",
"(",
"l",
"s",
"cell",
"=",
"=",
"null",
"|",
"|",
"starts",
"=",
"=",
"null",
"|",
"|",
"starts",
"length",
"<",
"=",
"0",
")",
"{",
"return",
"0",
";",
"}",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"starts",
"length",
";",
... |
[
"returns",
"an",
"iterator",
"to",
"the",
"available",
"bookmarks",
"called",
"by",
"async",
"task"
] | [
"return",
"partner",
"bookmarks",
"provider",
"iterator",
"create",
"if",
"available",
"(",
"m",
"context",
"get",
"content",
"resolver",
"(",
")",
")",
";"
] |
[
"called",
"when",
"the",
"partner",
"bookmark",
"needs",
"to",
"be",
"pushed"
] | [
"return",
"native",
"add",
"partner",
"bookmark",
"(",
"m",
"native",
"partner",
"bookmarks",
"reader",
",",
"url",
",",
"title",
",",
"is",
"folder",
",",
"parent",
"id",
",",
"favicon",
",",
"touchicon",
")",
";"
] |
[
"notifies",
"the",
"reader",
"is",
"complete",
"and",
"partner",
"bookmarks",
"should",
"be",
"submitted",
"to",
"the",
"shim"
] | [
"native",
"partner",
"bookmarks",
"creation",
"complete",
"(",
"m",
"native",
"partner",
"bookmarks",
"reader",
")",
";",
"native",
"destroy",
"(",
"m",
"native",
"partner",
"bookmarks",
"reader",
")",
";",
"m",
"native",
"partner",
"bookmarks",
"reader",
"=",... |
[
"disables",
"partner",
"bookmarks",
"editing"
] | [
"s",
"force",
"disable",
"editing",
"=",
"true",
";",
"if",
"(",
"s",
"initialized",
")",
"native",
"disable",
"partner",
"bookmarks",
"editing",
"(",
")",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"vault",
"<",
"/",
"p",
">"
] | [
"set",
"vault",
"a",
"r",
"n",
"(",
"vault",
"a",
"r",
"n",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"vault",
"<",
"/",
"p",
">"
] | [
"set",
"vault",
"name",
"(",
"vault",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"universal",
"coordinated",
"time",
"(",
"utc",
")",
"date",
"when",
"the",
"vault",
"was",
"created",
"this",
"value",
"should",
"be",
"a",
"string",
"in",
"the",
"iso",
"8601",
"date",
"format",
"for",
"example",
"<",
"code",
">... | [
"set",
"creation",
"date",
"(",
"creation",
"date",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"universal",
"coordinated",
"time",
"(",
"utc",
")",
"date",
"when",
"amazon",
"glacier",
"completed",
"the",
"last",
"vault",
"inventory",
"this",
"value",
"should",
"be",
"a",
"string",
"in",
"the",
"iso",
"8601",
"date",
"format",
... | [
"set",
"last",
"inventory",
"date",
"(",
"last",
"inventory",
"date",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"archives",
"in",
"the",
"vault",
"as",
"of",
"the",
"last",
"inventory",
"date",
"this",
"field",
"will",
"return",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">",
"if",
"an",
"inventory",
"has",
"not",
"yet",
... | [
"set",
"number",
"of",
"archives",
"(",
"number",
"of",
"archives",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"total",
"size",
"in",
"bytes",
"of",
"the",
"archives",
"in",
"the",
"vault",
"as",
"of",
"the",
"last",
"inventory",
"date",
"this",
"field",
"will",
"return",
"null",
"if",
"an",
"inventory",
"has",
"not",
"yet",
"run",
"on",
"the",
... | [
"set",
"size",
"in",
"bytes",
"(",
"size",
"in",
"bytes",
")",
";",
"return",
"this",
";"
] |
[
"the",
"stop",
"(",
")",
"call",
"doesn",
"t",
"do",
"that",
"so",
"it",
"s",
"probably",
"not",
"needed"
] | [
"executor",
"service",
"executor",
"service",
"=",
"get",
"lifecycle",
"executor",
"service",
"(",
")",
";",
"runnable",
"r",
"=",
"new",
"runnable",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"run",
"(",
")",
"{",
"class",
"loader",
"old",
"=",
... |
[
"stop"
] | [
"stop",
"async",
"(",
"context",
",",
"deployment",
"name",
",",
"deployment",
"service",
"name",
")",
";"
] |
[
"returns",
"a",
"plaintext",
"of",
"a",
"given",
"size"
] | [
"byte",
"[",
"]",
"plaintext",
"=",
"new",
"byte",
"[",
"size",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"size",
";",
"i",
"+",
"+",
")",
"{",
"plaintext",
"[",
"i",
"]",
"=",
"(",
"byte",
")",
"(",
"i",
"%",
"253",
")",... |
[
"returns",
"a",
"plaintext",
"of",
"a",
"given",
"size"
] | [
"byte",
"[",
"]",
"plaintext",
"=",
"new",
"byte",
"[",
"size",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"size",
";",
"i",
"+",
"+",
")",
"{",
"plaintext",
"[",
"i",
"]",
"=",
"(",
"byte",
")",
"(",
"i",
"%",
"253",
")",... |
[
"tests",
"encryption",
"and",
"decryption",
"functionalities",
"of",
"{"
] | [
"test",
"encryption",
"and",
"decryption",
"(",
"streaming",
"aead",
",",
"streaming",
"aead",
")",
";"
] |
[
"convenience",
"method",
"for",
"encrypting",
"some",
"plaintext"
] | [
"byte",
"array",
"output",
"stream",
"bos",
"=",
"new",
"byte",
"array",
"output",
"stream",
"(",
")",
";",
"writable",
"byte",
"channel",
"ct",
"channel",
"=",
"channels",
"new",
"channel",
"(",
"bos",
")",
";",
"ct",
"channel",
"write",
"(",
"byte",
... |
[
"constructs",
"a",
"readable",
"byte",
"channel",
"with",
"ciphertext",
"from",
"a",
"readable",
"byte",
"channel",
"the",
"method",
"constructs",
"a",
"new",
"thread",
"that",
"is",
"used",
"to",
"encrypt",
"the",
"plaintext",
"todo",
"(",
"bleichen",
")",
... | [
"piped",
"output",
"stream",
"output",
"=",
"new",
"piped",
"output",
"stream",
"(",
")",
";",
"piped",
"input",
"stream",
"result",
"=",
"new",
"piped",
"input",
"stream",
"(",
"output",
")",
";",
"final",
"writable",
"byte",
"channel",
"ciphertext",
"=",... |
[
"call",
"the",
"allocate",
"method",
"on",
"the",
"load",
"save",
"tester",
"meta",
"class"
] | [
"if",
"(",
"some",
"meta",
"instanceof",
"script",
"values",
"meta",
"mod",
")",
"{",
"(",
"(",
"script",
"values",
"meta",
"mod",
")",
"some",
"meta",
")",
"allocate",
"(",
"5",
")",
";",
"}"
] |
[
"get",
"value",
"of",
"private",
"static",
"field",
"value",
"data",
"util",
"round",
"2",
"mode"
] | [
"int",
"value",
"=",
"-",
"1",
";",
"try",
"{",
"class",
"<",
"value",
"data",
"util",
">",
"cls",
"=",
"value",
"data",
"util",
"class",
";",
"field",
"f",
"=",
"cls",
"get",
"declared",
"field",
"(",
"sys",
"property",
"round",
"2",
"mode",
")",
... |
[
"set",
"new",
"value",
"of",
"value",
"of",
"private",
"static",
"field",
"value",
"data",
"util",
"round",
"2",
"mode"
] | [
"try",
"{",
"class",
"<",
"value",
"data",
"util",
">",
"cls",
"=",
"value",
"data",
"util",
"class",
";",
"field",
"f",
"=",
"cls",
"get",
"declared",
"field",
"(",
"sys",
"property",
"round",
"2",
"mode",
")",
";",
"f",
"set",
"accessible",
"(",
... |
[
"set",
"the",
"source",
"set",
"typically",
"populated",
"via",
"xml",
"set",
"elements"
] | [
"this",
"source",
"set",
"=",
"source",
"set",
";"
] |
[
"*",
"*",
"*",
"term",
"to",
"bytes",
"ref",
"attribute",
"interface",
"*",
"*",
"*"
] | [
"builder",
"copy",
"chars",
"(",
"term",
"buffer",
",",
"0",
",",
"term",
"length",
")",
";",
"return",
"builder",
"get",
"(",
")",
";"
] |
[
"*",
"*",
"*",
"char",
"sequence",
"interface",
"*",
"*",
"*"
] | [
"return",
"term",
"length",
";"
] |
[
"*",
"*",
"*",
"attribute",
"impl",
"*",
"*",
"*"
] | [
"int",
"code",
"=",
"term",
"length",
";",
"code",
"=",
"code",
"*",
"31",
"+",
"array",
"util",
"hash",
"code",
"(",
"term",
"buffer",
",",
"0",
",",
"term",
"length",
")",
";",
"return",
"code",
";"
] |
[
"returns",
"solely",
"the",
"term",
"text",
"as",
"specified",
"by",
"the",
"{"
] | [
"return",
"new",
"string",
"(",
"term",
"buffer",
",",
"0",
",",
"term",
"length",
")",
";"
] |
[
"gets",
"the",
"{",
"@",
"code",
"extension",
"}",
"with",
"the",
"given",
"name"
] | [
"if",
"(",
"name",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"extension",
"list",
"size",
"(",
")",
";",
"i",
"+",
"+",
")",
"{",
"extension",
"p",
"=",
"get",
"extension",
"(",
"i",
")",
";",
"if",
"(",
... |
[
"gets",
"the",
"{",
"@",
"code",
"extension",
"}",
"with",
"the",
"given",
"class"
] | [
"if",
"(",
"clazz",
"!",
"=",
"null",
")",
"{",
"extension",
"extension",
"=",
"extensions",
"map",
"get",
"(",
"clazz",
")",
";",
"if",
"(",
"extension",
"!",
"=",
"null",
")",
"{",
"return",
"clazz",
"cast",
"(",
"extension",
")",
";",
"}",
"}",
... |
[
"hooks",
"(",
"adds",
")",
"the",
"{",
"@",
"code",
"connect",
"request",
"proxy",
"listener",
"}",
"s",
"of",
"the",
"loaded",
"extensions",
"to",
"the",
"given",
"{",
"@",
"code",
"proxy",
"}",
"<",
"p",
">",
"<",
"strong",
">",
"note",
":",
"<",... | [
"for",
"(",
"extension",
"hook",
"hook",
":",
"extension",
"hooks",
"values",
"(",
")",
")",
"{",
"hook",
"connect",
"request",
"proxy",
"listeners",
"(",
"proxy",
",",
"hook",
"get",
"connect",
"request",
"proxy",
"listeners",
"(",
")",
")",
";",
"}"
] |
[
"zap",
":",
"added",
"support",
"for",
"site",
"map",
"listeners"
] | [
"for",
"(",
"extension",
"hook",
"hook",
":",
"extension",
"hooks",
"values",
"(",
")",
")",
"{",
"hook",
"site",
"map",
"listeners",
"(",
"site",
"map",
"panel",
",",
"hook",
"get",
"site",
"map",
"listener",
"list",
"(",
")",
")",
";",
"}"
] |
[
"zap",
":",
"method",
"called",
"by",
"the",
"scanner",
"to",
"load",
"all",
"scanner",
"hooks"
] | [
"iterator",
"<",
"extension",
"hook",
">",
"iter",
"=",
"extension",
"hooks",
"values",
"(",
")",
"iterator",
"(",
")",
";",
"while",
"(",
"iter",
"has",
"next",
"(",
")",
")",
"{",
"extension",
"hook",
"hook",
"=",
"iter",
"next",
"(",
")",
";",
"... |
[
"zap",
":",
"added",
"the",
"type",
"argument"
] | [
"string",
"[",
"]",
"root",
"=",
"{",
"}",
";",
"for",
"(",
"abstract",
"param",
"panel",
"panel",
":",
"panel",
"list",
")",
"{",
"try",
"{",
"dialog",
"add",
"param",
"panel",
"(",
"root",
",",
"panel",
",",
"true",
")",
";",
"}",
"catch",
"(",... |
[
"hook",
"command",
"line",
"listener",
"with",
"the",
"command",
"line",
"processor"
] | [
"list",
"<",
"command",
"line",
"argument",
"[",
"]",
">",
"all",
"command",
"line",
"list",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"map",
"<",
"string",
",",
"command",
"line",
"listener",
">",
"ext",
"map",
"=",
"new",
"hash",
"map... |
[
"init",
"all",
"extensions"
] | [
"double",
"factor",
"perc",
"=",
"progress",
"factor",
"/",
"get",
"extension",
"count",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"get",
"extension",
"count",
"(",
")",
";",
"i",
"+",
"+",
")",
"{",
"extension",
"extension",
... |
[
"init",
"all",
"extensions",
"with",
"the",
"same",
"model"
] | [
"double",
"factor",
"perc",
"=",
"progress",
"factor",
"/",
"get",
"extension",
"count",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"get",
"extension",
"count",
"(",
")",
";",
"i",
"+",
"+",
")",
"{",
"extension",
"extension",
... |
[
"init",
"all",
"extensions",
"with",
"the",
"same",
"view"
] | [
"if",
"(",
"view",
"=",
"=",
"null",
")",
"{",
"return",
";",
"}",
"final",
"double",
"factor",
"perc",
"=",
"progress",
"factor",
"/",
"get",
"extension",
"count",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"get",
"extension... |
[
"gets",
"the",
"names",
"of",
"all",
"unsaved",
"resources",
"of",
"all",
"the",
"extensions"
] | [
"list",
"<",
"string",
">",
"list",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"list",
"<",
"string",
">",
"l",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"get",
"extension",
"count",
"(",
")",
";",
"i",
"+",
"+",
")",... |
[
"gets",
"the",
"names",
"of",
"all",
"active",
"actions",
"of",
"all",
"the",
"extensions"
] | [
"list",
"<",
"string",
">",
"list",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"list",
"<",
"string",
">",
"l",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"get",
"extension",
"count",
"(",
")",
";",
"i",
"+",
"+",
")",... |
[
"returns",
"the",
"instance"
] | [
"return",
"mapper",
"function",
"instances",
";"
] |
[
"{"
] | [
"list",
"<",
"input",
"split",
">",
"res",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"fake",
"split",
"split",
"=",
"new",
"fake",
"split",
"(",
"20",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"10",
";",
"i",
"+... |
[
"{"
] | [
"return",
"len",
";"
] |
[
"{"
] | [
"return",
"hosts",
";"
] |
[
"{"
] | [
"out",
"write",
"int",
"(",
"len",
")",
";"
] |
[
"{"
] | [
"len",
"=",
"in",
"read",
"int",
"(",
")",
";"
] |
[
"checked",
"if",
"shiro",
"enabled",
"or",
"not"
] | [
"if",
"(",
"!",
"is",
"enabled",
")",
"{",
"return",
"false",
";",
"}",
"return",
"org",
"apache",
"shiro",
"security",
"utils",
"get",
"subject",
"(",
")",
"is",
"authenticated",
"(",
")",
";"
] |
[
"called",
"whenever",
"the",
"receiver",
"is",
"passed",
"new",
"midi",
"data",
"subclasses",
"override",
"this",
"method",
"to",
"receive",
"midi",
"data",
"may",
"fail",
"if",
"count",
"exceeds",
"{",
"@",
"link",
"#",
"get",
"max",
"message",
"size",
"}... | [
"abstract",
"public",
"void",
"on",
"send",
"(",
"byte",
"[",
"]",
"msg",
",",
"int",
"offset",
",",
"int",
"count",
",",
"long",
"timestamp",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"instructs",
"the",
"receiver",
"to",
"discard",
"all",
"pending",
"midi",
"data"
] | [
"on",
"flush",
"(",
")",
";"
] |
[
"called",
"when",
"the",
"receiver",
"is",
"instructed",
"to",
"discard",
"all",
"pending",
"midi",
"data",
"subclasses",
"should",
"override",
"this",
"method",
"if",
"they",
"maintain",
"a",
"list",
"or",
"queue",
"of",
"midi",
"data",
"to",
"be",
"process... | [] |
[
"returns",
"the",
"maximum",
"size",
"of",
"a",
"message",
"this",
"receiver",
"can",
"receive"
] | [
"return",
"m",
"max",
"message",
"size",
";"
] |
[
"called",
"to",
"send",
"midi",
"data",
"to",
"the",
"receiver",
"with",
"a",
"specified",
"timestamp",
"data",
"will",
"be",
"processed",
"by",
"receiver",
"in",
"order",
"first",
"by",
"timestamp",
"then",
"in",
"the",
"order",
"sent",
"data",
"will",
"g... | [
"int",
"message",
"size",
"=",
"get",
"max",
"message",
"size",
"(",
")",
";",
"while",
"(",
"count",
">",
"0",
")",
"{",
"int",
"length",
"=",
"(",
"count",
">",
"message",
"size",
"?",
"message",
"size",
":",
"count",
")",
";",
"on",
"send",
"(... |
[
"get",
"a",
"list",
"of",
"all",
"registered",
"instances"
] | [
"return",
"repository",
"find",
"all",
"(",
")",
";"
] |
[
"get",
"a",
"list",
"of",
"all",
"registered",
"application",
"instances"
] | [
"return",
"repository",
"find",
"by",
"name",
"(",
"name",
")",
";"
] |
[
"get",
"a",
"specific",
"instance"
] | [
"return",
"repository",
"find",
"(",
"id",
")",
";"
] |
[
"remove",
"a",
"specific",
"instance",
"from",
"services"
] | [
"return",
"repository",
"compute",
"if",
"present",
"(",
"id",
",",
"(",
"key",
",",
"instance",
")",
"-",
">",
"mono",
"just",
"(",
"instance",
"deregister",
"(",
")",
")",
")",
"map",
"(",
"instance",
":",
":",
"get",
"id",
")",
";"
] |
[
"returns",
"the",
"segment",
"that",
"should",
"be",
"used",
"for",
"key",
"with",
"given",
"hash"
] | [
"return",
"segments",
"[",
"(",
"hash",
">",
">",
">",
"segment",
"shift",
")",
"&",
"segment",
"mask",
"]",
";"
] |
[
"{"
] | [
"super",
"handle",
"message",
"(",
")",
";",
"power",
"max",
"state",
"updated",
"state",
"=",
"null",
";",
"if",
"(",
"power",
"max",
"comm",
"driver",
"get",
"the",
"comm",
"driver",
"(",
")",
"get",
"last",
"send",
"msg",
"(",
")",
"get",
"send",
... |
[
"then",
"update",
"the",
"state",
"to",
"the",
"result",
"of",
"text",
"view"
] | [
"m",
"text",
"view",
"set",
"text",
"(",
"state",
"m",
"text",
",",
"buffer",
"type",
"editable",
")",
";",
"m",
"text",
"view",
"set",
"key",
"listener",
"(",
"m",
"key",
"listener",
")",
";",
"m",
"text",
"view",
"set",
"selection",
"(",
"state",
... |
[
"{"
] | [
"hwm",
"position",
"close",
"(",
")",
";",
"rebuild",
"position",
"close",
"(",
")",
";",
"for",
"(",
"final",
"readable",
"position",
"position",
":",
"subscriber",
"positions",
")",
"{",
"position",
"close",
"(",
")",
";",
"}",
"congestion",
"control",
... |
[
"remove",
"a",
"{",
"@",
"link",
"readable",
"position",
"}",
"for",
"a",
"subscriber",
"that",
"has",
"been",
"removed",
"so",
"it",
"is",
"not",
"tracked",
"for",
"flow",
"control"
] | [
"subscriber",
"positions",
"=",
"array",
"util",
"remove",
"(",
"subscriber",
"positions",
",",
"subscriber",
"position",
")",
";",
"subscriber",
"position",
"close",
"(",
")",
";"
] |
[
"add",
"a",
"new",
"subscriber",
"to",
"this",
"image",
"so",
"their",
"position",
"can",
"be",
"tracked",
"for",
"flow",
"control"
] | [
"subscriber",
"positions",
"=",
"array",
"util",
"add",
"(",
"subscriber",
"positions",
",",
"subscriber",
"position",
")",
";"
] |
[
"called",
"from",
"the",
"{",
"@",
"link",
"loss",
"detector",
"}",
"when",
"gap",
"is",
"detected",
"by",
"the",
"{",
"@",
"link",
"driver",
"conductor",
"}",
"thread"
] | [
"final",
"long",
"change",
"number",
"=",
"begin",
"loss",
"change",
"+",
"1",
";",
"begin",
"loss",
"change",
"=",
"change",
"number",
";",
"loss",
"term",
"id",
"=",
"term",
"id",
";",
"loss",
"term",
"offset",
"=",
"term",
"offset",
";",
"loss",
"... |
[
"the",
"address",
"of",
"the",
"source",
"associated",
"with",
"the",
"image"
] | [
"return",
"source",
"address",
";"
] |
[
"return",
"the",
"{",
"@",
"link",
"receive",
"channel",
"endpoint",
"}",
"that",
"the",
"image",
"is",
"attached",
"to"
] | [
"return",
"channel",
"endpoint",
";"
] |
[
"remove",
"this",
"image",
"from",
"the",
"{"
] | [
"channel",
"endpoint",
"remove",
"publication",
"image",
"(",
"this",
")",
";"
] |
[
"activate",
"this",
"image",
"from",
"the",
"{"
] | [
"state",
"(",
"active",
")",
";"
] |
[
"called",
"from",
"the",
"{",
"@",
"link",
"driver",
"conductor",
"}"
] | [
"long",
"min",
"subscriber",
"position",
"=",
"long",
"max",
"value",
";",
"long",
"max",
"subscriber",
"position",
"=",
"long",
"min",
"value",
";",
"for",
"(",
"final",
"readable",
"position",
"subscriber",
"position",
":",
"subscriber",
"positions",
")",
... |
[
"set",
"state",
"to",
"{"
] | [
"if",
"(",
"state",
"active",
"=",
"=",
"state",
")",
"{",
"state",
"(",
"state",
"inactive",
")",
";",
"}"
] |
[
"insert",
"frame",
"into",
"term",
"buffer"
] | [
"final",
"boolean",
"is",
"heartbeat",
"=",
"data",
"header",
"flyweight",
"is",
"heartbeat",
"(",
"buffer",
",",
"length",
")",
";",
"final",
"long",
"packet",
"position",
"=",
"compute",
"position",
"(",
"term",
"id",
",",
"term",
"offset",
",",
"positio... |
[
"to",
"be",
"called",
"from",
"the",
"{",
"@",
"link",
"receiver",
"}",
"to",
"see",
"if",
"a",
"image",
"should",
"be",
"retained"
] | [
"boolean",
"is",
"active",
"=",
"true",
";",
"if",
"(",
"now",
"ns",
">",
"(",
"last",
"packet",
"timestamp",
"ns",
"+",
"image",
"liveness",
"timeout",
"ns",
")",
"|",
"|",
"(",
"is",
"end",
"of",
"stream",
"&",
"&",
"rebuild",
"position",
"get",
... |
[
"called",
"from",
"the",
"{",
"@",
"link",
"receiver",
"}",
"thread",
"to",
"check",
"for",
"initiating",
"an",
"rtt",
"measurement"
] | [
"int",
"work",
"count",
"=",
"0",
";",
"if",
"(",
"congestion",
"control",
"should",
"measure",
"rtt",
"(",
"now",
"ns",
")",
")",
"{",
"final",
"long",
"precise",
"time",
"ns",
"=",
"nano",
"clock",
"nano",
"time",
"(",
")",
";",
"channel",
"endpoin... |
[
"called",
"from",
"the",
"{",
"@",
"link",
"receiver",
"}",
"upon",
"receiving",
"an",
"rtt",
"measurement",
"that",
"is",
"a",
"reply"
] | [
"final",
"long",
"now",
"ns",
"=",
"nano",
"clock",
"nano",
"time",
"(",
")",
";",
"final",
"long",
"rtt",
"in",
"ns",
"=",
"now",
"ns",
"-",
"header",
"echo",
"timestamp",
"ns",
"(",
")",
"-",
"header",
"reception",
"delta",
"(",
")",
";",
"conges... |
[
"is",
"the",
"image",
"in",
"a",
"state",
"to",
"accept",
"new",
"subscriptions",
"?"
] | [
"return",
"subscriber",
"positions",
"length",
">",
"0",
"&",
"&",
"(",
"state",
"=",
"=",
"active",
"|",
"|",
"state",
"=",
"=",
"init",
")",
";"
] |
[
"the",
"position",
"up",
"to",
"which",
"the",
"current",
"stream",
"rebuild",
"is",
"complete",
"for",
"reception"
] | [
"return",
"rebuild",
"position",
"get",
"(",
")",
";"
] |
[
"set",
"the",
"strict",
"-",
"transport",
"-",
"security",
"max",
"age"
] | [
"sts",
"max",
"age",
"=",
"sts",
"max",
"age",
"seconds",
";",
"format",
"s",
"t",
"s",
"(",
")",
";"
] |
[
"convenience",
"method",
"to",
"call",
"{"
] | [
"sts",
"max",
"age",
"=",
"units",
"to",
"seconds",
"(",
"period",
")",
";",
"format",
"s",
"t",
"s",
"(",
")",
";"
] |
[
"customizes",
"the",
"request",
"attributes",
"for",
"general",
"secure",
"settings",
"the",
"default",
"impl",
"calls",
"{"
] | [
"request",
"set",
"secure",
"(",
"true",
")",
";",
"if",
"(",
"sts",
"field",
"!",
"=",
"null",
")",
"request",
"get",
"response",
"(",
")",
"get",
"http",
"fields",
"(",
")",
"add",
"(",
"sts",
"field",
")",
";"
] |
[
"<",
"p",
">",
"the",
"vault",
"lock",
"policy",
"<",
"/",
"p",
">"
] | [
"set",
"policy",
"(",
"policy",
")",
";",
"return",
"this",
";"
] |
[
"verifies",
"that",
"the",
"is",
"released",
"(",
")",
"check",
"of",
"the",
"view",
"checks",
"the",
"parent",
"subpartition"
] | [
"pipelined",
"subpartition",
"subpartition",
"=",
"mock",
"(",
"pipelined",
"subpartition",
"class",
")",
";",
"pipelined",
"subpartition",
"view",
"reader",
"=",
"new",
"pipelined",
"subpartition",
"view",
"(",
"subpartition",
",",
"mock",
"(",
"buffer",
"availab... |
[
"tests",
"cleanup",
"of",
"{"
] | [
"test",
"cleanup",
"released",
"partition",
"(",
"false",
")",
";"
] |
[
"tests",
"cleanup",
"of",
"{"
] | [
"test",
"cleanup",
"released",
"partition",
"(",
"true",
")",
";"
] |
[
"returns",
"an",
"array",
"of",
"class",
"objects",
"that",
"represent",
"the",
"formal",
"parameter",
"types",
"in",
"declaration",
"order",
"of",
"the",
"constructor"
] | [
"return",
"constructor",
"get",
"parameter",
"types",
"(",
")",
";"
] |
[
"returns",
"the",
"class",
"object",
"representing",
"the",
"class",
"or",
"interface",
"that",
"declares",
"the",
"constructor"
] | [
"return",
"constructor",
"get",
"declaring",
"class",
"(",
")",
";"
] |
[
"get",
"next",
"compaction",
"action",
"to",
"apply",
"on",
"compaction",
"pipeline"
] | [
"public",
"abstract",
"action",
"get",
"action",
"(",
"versioned",
"segments",
"list",
"versioned",
"list",
")",
";"
] |
[
"compaction",
"pipeline",
")"
] | [] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"return",
"model",
"package",
"literals",
"mbricklet",
"analog",
"in",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.