docstring_tokens list | code_tokens list |
|---|---|
[
"skip",
"edit",
"log",
"operations",
"up",
"to",
"a",
"given",
"transaction",
"id",
"or",
"until",
"the",
"end",
"of",
"the",
"edit",
"log",
"is",
"reached"
] | [
"while",
"(",
"true",
")",
"{",
"f",
"s",
"edit",
"log",
"op",
"op",
"=",
"read",
"op",
"(",
")",
";",
"if",
"(",
"op",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"op",
"get",
"transaction",
"id",
"(",
")",
">",
"="... |
[
"return",
"the",
"cached",
"op",
"and",
"reset",
"it",
"to",
"null"
] | [
"f",
"s",
"edit",
"log",
"op",
"op",
"=",
"this",
"cached",
"op",
";",
"cached",
"op",
"=",
"null",
";",
"return",
"op",
";"
] |
[
"get",
"the",
"layout",
"version",
"of",
"the",
"data",
"in",
"the",
"stream"
] | [
"public",
"abstract",
"int",
"get",
"version",
"(",
"boolean",
"verify",
"version",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"get",
"current",
"read",
"position"
] | [
"public",
"abstract",
"long",
"get",
"position",
"(",
")",
";"
] |
[
"gets",
"the",
"file",
"length"
] | [
"public",
"abstract",
"long",
"length",
"(",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"return",
"true",
"if",
"this",
"stream",
"is",
"in",
"progress",
"false",
"if",
"it",
"is",
"finalized"
] | [
"public",
"abstract",
"boolean",
"is",
"in",
"progress",
"(",
")",
";"
] |
[
"set",
"the",
"maximum",
"opcode",
"size",
"in",
"bytes"
] | [
"public",
"abstract",
"void",
"set",
"max",
"op",
"size",
"(",
"int",
"max",
"op",
"size",
")",
";"
] |
[
"returns",
"true",
"if",
"we",
"are",
"currently",
"reading",
"the",
"log",
"from",
"a",
"local",
"disk",
"or",
"an",
"even",
"faster",
"data",
"source",
"(",
"e",
"g",
"a",
"byte",
"buffer",
")"
] | [
"public",
"abstract",
"boolean",
"is",
"local",
"log",
"(",
")",
";"
] |
[
"increment",
"the",
"counter",
"by",
"the",
"given",
"amount"
] | [
"value",
"add",
"and",
"get",
"(",
"n",
")",
";",
"dirty",
"after",
"modification",
"(",
")",
";"
] |
[
"increment",
"the",
"counter"
] | [
"inc",
"(",
"1",
")",
";"
] |
[
"/",
"*",
"decrement",
"the",
"counter"
] | [
"inc",
"(",
"-",
"1",
")",
";"
] |
[
"/",
"*",
"decrement",
"the",
"counter",
"by",
"the",
"given",
"amount"
] | [
"inc",
"(",
"-",
"1",
"*",
"n",
")",
";"
] |
[
"adds",
"a",
"task",
"log",
"url",
"for",
"the",
"heuristics",
"to",
"read",
"through"
] | [
"task",
"log",
"urls",
"add",
"(",
"url",
")",
";"
] |
[
"{"
] | [
"pages",
"list",
"node",
"i",
"o",
"io",
"=",
"pages",
"list",
"node",
"i",
"o",
"versions",
"for",
"page",
"(",
"page",
"addr",
")",
";",
"int",
"cnt",
"=",
"io",
"add",
"page",
"(",
"page",
"addr",
",",
"data",
"page",
"id",
",",
"page",
"mem",... |
[
"{"
] | [
"return",
"record",
"type",
"pages",
"list",
"add",
"page",
";"
] |
[
"{"
] | [
"return",
"type",
"circle",
";"
] |
[
"sets",
"the",
"position",
"of",
"the",
"shape"
] | [
"shape",
"m",
"p",
"set",
"(",
"position",
"x",
",",
"position",
"y",
")",
";"
] |
[
"by",
"default",
"looks",
"for",
"a",
"nested",
"class",
"(",
"conventionally",
"named",
"{"
] | [
"return",
"jenkins",
"get",
"instance",
"(",
")",
"get",
"descriptor",
"or",
"die",
"(",
"get",
"class",
"(",
")",
")",
";"
] |
[
"getter",
"method",
"for",
"property",
"<",
"tt",
">",
"contact",
"<",
"/",
"tt",
">"
] | [
"return",
"contact",
";"
] |
[
"setter",
"method",
"for",
"property",
"<",
"tt",
">",
"contact",
"<",
"/",
"tt",
">"
] | [
"this",
"contact",
"=",
"contact",
";"
] |
[
"end",
":",
":",
"entity",
"-",
"inheritance",
"-",
"table",
"-",
"per",
"-",
"class",
"-",
"example",
"[",
"]"
] | [
"return",
"credit",
"limit",
";"
] |
[
"tells",
"whether",
"or",
"not",
"the",
"button",
"should",
"be",
"enabled",
"for",
"the",
"given",
"selected",
"message",
"<",
"p",
">",
"calls",
"the",
"method",
"{",
"@",
"code",
"is",
"button",
"enabled",
"for",
"site",
"node",
"(",
"sit",
"node",
... | [
"final",
"site",
"node",
"site",
"node",
"=",
"get",
"site",
"node",
"(",
"history",
"reference",
")",
";",
"if",
"(",
"site",
"node",
"!",
"=",
"null",
"&",
"&",
"!",
"is",
"button",
"enabled",
"for",
"site",
"node",
"(",
"site",
"node",
")",
")",... |
[
"convenience",
"method",
"that",
"extracts",
"a",
"{",
"@",
"code",
"site",
"node",
"}",
"from",
"the",
"given",
"{",
"@",
"code",
"history",
"reference",
"}",
"if",
"no",
"{",
"@",
"code",
"site",
"node",
"}",
"is",
"found",
"{",
"@",
"code",
"null"... | [
"site",
"node",
"sn",
"=",
"history",
"reference",
"get",
"site",
"node",
"(",
")",
";",
"if",
"(",
"sn",
"=",
"=",
"null",
")",
"{",
"sn",
"=",
"model",
"get",
"singleton",
"(",
")",
"get",
"session",
"(",
")",
"get",
"site",
"tree",
"(",
")",
... |
[
"tells",
"whether",
"or",
"not",
"the",
"button",
"should",
"be",
"enabled",
"for",
"the",
"given",
"selected",
"message",
"<",
"p",
">",
"by",
"default",
"it",
"returns",
"{",
"@",
"code",
"true",
"}"
] | [
"return",
"true",
";"
] |
[
"calls",
"the",
"method",
"{",
"@",
"code",
"perform",
"action",
"(",
"site",
"node",
")",
"}",
"passing",
"as",
"parameter",
"the",
"{",
"@",
"code",
"site",
"node",
"}",
"extracted",
"from",
"the",
"given",
"{",
"@",
"code",
"history",
"reference",
"... | [
"final",
"site",
"node",
"site",
"node",
"=",
"get",
"site",
"node",
"(",
"history",
"reference",
")",
";",
"if",
"(",
"site",
"node",
"!",
"=",
"null",
")",
"{",
"perform",
"action",
"(",
"site",
"node",
")",
";",
"}"
] |
[
"performs",
"an",
"action",
"on",
"the",
"given",
"site",
"node"
] | [
"protected",
"abstract",
"void",
"perform",
"action",
"(",
"site",
"node",
"site",
"node",
")",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"associated",
"with",
"the",
"repository",
"<",
"/",
"p",
">"
] | [
"set",
"repository",
"name",
"(",
"repository",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"repository",
"that",
"was",
"deleted",
"<",
"/",
"p",
">"
] | [
"this",
"repository",
"id",
"=",
"repository",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"repository",
"that",
"was",
"deleted",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"repository",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"associated",
"with",
"the",
"repository",
"<",
"/",
"p",
">"
] | [
"set",
"repository",
"id",
"(",
"repository",
"id",
")",
";",
"return",
"this",
";"
] |
[
"builds",
"a",
"new",
"{",
"@",
"link",
"root",
"router",
"}"
] | [
"root",
"view",
"view",
"=",
"create",
"view",
"(",
"parent",
"view",
"group",
")",
";",
"root",
"interactor",
"interactor",
"=",
"new",
"root",
"interactor",
"(",
")",
";",
"component",
"component",
"=",
"dagger",
"root",
"builder",
"component",
"builder",
... |
[
"subclasses",
"should",
"implement",
"this",
"to",
"perform",
"the",
"build"
] | [
"protected",
"abstract",
"o",
"do",
"build",
"(",
")",
"throws",
"exception",
";"
] |
[
"read",
"config",
"from",
"private",
"property",
"file",
"if",
"the",
"file",
"is",
"not",
"present",
"then",
"return",
"empty"
] | [
"try",
"{",
"return",
"read",
"config",
"(",
"private",
"config",
"file",
")",
";",
"}",
"catch",
"(",
"final",
"exception",
"ex",
")",
"{",
"return",
"new",
"hash",
"map",
"<",
">",
"(",
")",
";",
"}"
] |
[
"return",
"or",
"create",
"a",
"dependency",
"check",
"based",
"on",
"type"
] | [
"return",
"this",
"dependency",
"type",
"map",
"get",
"(",
"type",
")",
";"
] |
[
"visible",
"for",
"testing"
] | [
"return",
"this",
"parser",
";"
] |
[
"c",
"function",
"void",
"gl",
"blend",
"barrier",
"(",
"void",
")"
] | [
"public",
"static",
"native",
"void",
"gl",
"blend",
"barrier",
"(",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"debug",
"message",
"control",
"debug",
"message",
"control",
"}"
] | [
"public",
"static",
"native",
"void",
"ngl",
"debug",
"message",
"control",
"(",
"int",
"source",
",",
"int",
"type",
",",
"int",
"severity",
",",
"int",
"count",
",",
"long",
"ids",
",",
"boolean",
"enabled",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"debug",
"message",
"insert",
"debug",
"message",
"insert",
"}"
] | [
"public",
"static",
"native",
"void",
"ngl",
"debug",
"message",
"insert",
"(",
"int",
"source",
",",
"int",
"type",
",",
"int",
"id",
",",
"int",
"severity",
",",
"int",
"length",
",",
"long",
"message",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"public",
"static",
"native",
"void",
"ngl",
"debug",
"message",
"callback",
"(",
"long",
"callback",
",",
"long",
"user",
"param",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"get",
"debug",
"message",
"log",
"get",
"debug",
"message",
"log",
"}"
] | [
"public",
"static",
"native",
"int",
"ngl",
"get",
"debug",
"message",
"log",
"(",
"int",
"count",
",",
"int",
"bufsize",
",",
"long",
"sources",
",",
"long",
"types",
",",
"long",
"ids",
",",
"long",
"severities",
",",
"long",
"lengths",
",",
"long",
... |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"public",
"static",
"native",
"void",
"ngl",
"get",
"pointerv",
"(",
"int",
"pname",
",",
"long",
"params",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"push",
"debug",
"group",
"push",
"debug",
"group",
"}"
] | [
"public",
"static",
"native",
"void",
"ngl",
"push",
"debug",
"group",
"(",
"int",
"source",
",",
"int",
"id",
",",
"int",
"length",
",",
"long",
"message",
")",
";"
] |
[
"c",
"function",
"void",
"gl",
"pop",
"debug",
"group",
"(",
"void",
")"
] | [
"public",
"static",
"native",
"void",
"gl",
"pop",
"debug",
"group",
"(",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"object",
"label",
"object",
"label",
"}"
] | [
"public",
"static",
"native",
"void",
"ngl",
"object",
"label",
"(",
"int",
"identifier",
",",
"int",
"name",
",",
"int",
"length",
",",
"long",
"label",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"get",
"object",
"label",
"get",
"object",
"label",
"}"
] | [
"public",
"static",
"native",
"void",
"ngl",
"get",
"object",
"label",
"(",
"int",
"identifier",
",",
"int",
"name",
",",
"int",
"buf",
"size",
",",
"long",
"length",
",",
"long",
"label",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"object",
"ptr",
"label",
"object",
"ptr",
"label",
"}"
] | [
"public",
"static",
"native",
"void",
"ngl",
"object",
"ptr",
"label",
"(",
"long",
"ptr",
",",
"int",
"length",
",",
"long",
"label",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"get",
"object",
"ptr",
"label",
"get",
"object",
"ptr",
"label",
"}"
] | [
"public",
"static",
"native",
"void",
"ngl",
"get",
"object",
"ptr",
"label",
"(",
"long",
"ptr",
",",
"int",
"buf",
"size",
",",
"long",
"length",
",",
"long",
"label",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"draw",
"elements",
"base",
"vertex",
"draw",
"elements",
"base",
"vertex",
"}"
] | [
"public",
"static",
"native",
"void",
"ngl",
"draw",
"elements",
"base",
"vertex",
"(",
"int",
"mode",
",",
"int",
"count",
",",
"int",
"type",
",",
"long",
"indices",
",",
"int",
"basevertex",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"draw",
"range",
"elements",
"base",
"vertex",
"draw",
"range",
"elements",
"base",
"vertex",
"}"
] | [
"public",
"static",
"native",
"void",
"ngl",
"draw",
"range",
"elements",
"base",
"vertex",
"(",
"int",
"mode",
",",
"int",
"start",
",",
"int",
"end",
",",
"int",
"count",
",",
"int",
"type",
",",
"long",
"indices",
",",
"int",
"basevertex",
")",
";"
... |
[
"-",
"-",
"-",
"[",
"gl",
"draw",
"elements",
"instanced",
"base",
"vertex",
"]",
"-",
"-",
"-"
] | [
"public",
"static",
"native",
"void",
"ngl",
"draw",
"elements",
"instanced",
"base",
"vertex",
"(",
"int",
"mode",
",",
"int",
"count",
",",
"int",
"type",
",",
"long",
"indices",
",",
"int",
"instancecount",
",",
"int",
"basevertex",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"readn",
"pixels",
"readn",
"pixels",
"}"
] | [
"public",
"static",
"native",
"void",
"ngl",
"readn",
"pixels",
"(",
"int",
"x",
",",
"int",
"y",
",",
"int",
"width",
",",
"int",
"height",
",",
"int",
"format",
",",
"int",
"type",
",",
"int",
"buf",
"size",
",",
"long",
"pixels",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"getn",
"uniformfv",
"getn",
"uniformfv",
"}"
] | [
"public",
"static",
"native",
"void",
"ngl",
"getn",
"uniformfv",
"(",
"int",
"program",
",",
"int",
"location",
",",
"int",
"buf",
"size",
",",
"long",
"params",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"getn",
"uniformiv",
"getn",
"uniformiv",
"}"
] | [
"public",
"static",
"native",
"void",
"ngl",
"getn",
"uniformiv",
"(",
"int",
"program",
",",
"int",
"location",
",",
"int",
"buf",
"size",
",",
"long",
"params",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"gl",
"getn",
"uniformuiv",
"getn",
"uniformuiv",
"}"
] | [
"public",
"static",
"native",
"void",
"ngl",
"getn",
"uniformuiv",
"(",
"int",
"program",
",",
"int",
"location",
",",
"int",
"buf",
"size",
",",
"long",
"params",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"public",
"static",
"native",
"void",
"ngl",
"tex",
"parameter",
"iiv",
"(",
"int",
"target",
",",
"int",
"pname",
",",
"long",
"params",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"public",
"static",
"native",
"void",
"ngl",
"tex",
"parameter",
"iuiv",
"(",
"int",
"target",
",",
"int",
"pname",
",",
"long",
"params",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"public",
"static",
"native",
"void",
"ngl",
"get",
"tex",
"parameter",
"iiv",
"(",
"int",
"target",
",",
"int",
"pname",
",",
"long",
"params",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"public",
"static",
"native",
"void",
"ngl",
"get",
"tex",
"parameter",
"iuiv",
"(",
"int",
"target",
",",
"int",
"pname",
",",
"long",
"params",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"public",
"static",
"native",
"void",
"ngl",
"sampler",
"parameter",
"iiv",
"(",
"int",
"sampler",
",",
"int",
"pname",
",",
"long",
"params",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"public",
"static",
"native",
"void",
"ngl",
"sampler",
"parameter",
"iuiv",
"(",
"int",
"sampler",
",",
"int",
"pname",
",",
"long",
"params",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"public",
"static",
"native",
"void",
"ngl",
"get",
"sampler",
"parameter",
"iiv",
"(",
"int",
"sampler",
",",
"int",
"pname",
",",
"long",
"params",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] | [
"public",
"static",
"native",
"void",
"ngl",
"get",
"sampler",
"parameter",
"iuiv",
"(",
"int",
"sampler",
",",
"int",
"pname",
",",
"long",
"params",
")",
";"
] |
[
"we",
"dont",
"use",
"full",
"data",
"from",
"filter",
"as",
"we",
"are",
"only",
"interested",
"in",
"the",
"filter",
"data",
"not",
"the",
"sig",
"and",
"keys"
] | [
"pb",
"filter",
"builder",
"builder",
"=",
"pb",
"filter",
"new",
"builder",
"(",
")",
"add",
"all",
"banned",
"offer",
"ids",
"(",
"filter",
"get",
"banned",
"offer",
"ids",
"(",
")",
")",
"add",
"all",
"banned",
"node",
"address",
"(",
"filter",
"get... |
[
"returns",
"an",
"immutable",
"bimap",
"containing",
"a",
"single",
"entry"
] | [
"return",
"new",
"singleton",
"immutable",
"bi",
"map",
"<",
">",
"(",
"k",
"1",
",",
"v",
"1",
")",
";"
] |
[
"returns",
"an",
"immutable",
"map",
"containing",
"the",
"given",
"entries",
"in",
"order"
] | [
"return",
"regular",
"immutable",
"bi",
"map",
"from",
"entries",
"(",
"entry",
"of",
"(",
"k",
"1",
",",
"v",
"1",
")",
",",
"entry",
"of",
"(",
"k",
"2",
",",
"v",
"2",
")",
")",
";"
] |
[
"returns",
"an",
"immutable",
"map",
"containing",
"the",
"given",
"entries",
"in",
"order"
] | [
"return",
"regular",
"immutable",
"bi",
"map",
"from",
"entries",
"(",
"entry",
"of",
"(",
"k",
"1",
",",
"v",
"1",
")",
",",
"entry",
"of",
"(",
"k",
"2",
",",
"v",
"2",
")",
",",
"entry",
"of",
"(",
"k",
"3",
",",
"v",
"3",
")",
")",
";"
... |
[
"returns",
"an",
"immutable",
"map",
"containing",
"the",
"given",
"entries",
"in",
"order"
] | [
"return",
"regular",
"immutable",
"bi",
"map",
"from",
"entries",
"(",
"entry",
"of",
"(",
"k",
"1",
",",
"v",
"1",
")",
",",
"entry",
"of",
"(",
"k",
"2",
",",
"v",
"2",
")",
",",
"entry",
"of",
"(",
"k",
"3",
",",
"v",
"3",
")",
",",
"ent... |
[
"returns",
"an",
"immutable",
"map",
"containing",
"the",
"given",
"entries",
"in",
"order"
] | [
"return",
"regular",
"immutable",
"bi",
"map",
"from",
"entries",
"(",
"entry",
"of",
"(",
"k",
"1",
",",
"v",
"1",
")",
",",
"entry",
"of",
"(",
"k",
"2",
",",
"v",
"2",
")",
",",
"entry",
"of",
"(",
"k",
"3",
",",
"v",
"3",
")",
",",
"ent... |
[
"the",
"state",
"of",
"the",
"writer"
] | [
"return",
"state",
";"
] |
[
"the",
"current",
"position",
"of",
"the",
"writer"
] | [
"return",
"current",
"position",
";"
] |
[
"flag",
"holds",
"the",
"state",
"of",
"the",
"id",
"scheme",
"e",
"g",
"if",
"it",
"has",
"been",
"upgraded",
"to",
"the",
"concatenation",
"scheme"
] | [
"return",
"upgraded",
"document",
"id",
";"
] |
[
"<",
"p",
">",
"returns",
"the",
"directory",
"where",
"input",
"and",
"output",
"are",
"overflown",
"to",
"temporary",
"files",
"if",
"they",
"exceed",
"respectively",
"the",
"{",
"@",
"link",
"#",
"get",
"max",
"input",
"buffer",
"size",
"(",
")",
"max... | [
"return",
"overflow",
"directory",
";"
] |
[
"<",
"p",
">",
"returns",
"the",
"maximum",
"input",
"buffer",
"size",
"after",
"which",
"the",
"input",
"is",
"overflown",
"to",
"disk",
"<",
"/",
"p",
">",
"<",
"p",
">",
"defaults",
"to",
"1",
"mi",
"b",
"i",
"e",
"1048576",
"bytes",
"<",
"/",
... | [
"return",
"max",
"input",
"buffer",
"size",
";"
] |
[
"<",
"p",
">",
"returns",
"the",
"maximum",
"output",
"buffer",
"size",
"after",
"which",
"the",
"output",
"is",
"overflown",
"to",
"disk",
"<",
"/",
"p",
">",
"<",
"p",
">",
"defaults",
"to",
"1",
"mi",
"b",
"i",
"e",
"1048576",
"bytes",
"<",
"/",... | [
"return",
"max",
"output",
"buffer",
"size",
";"
] |
[
"<",
"p",
">",
"transforms",
"the",
"original",
"content",
"read",
"from",
"the",
"{",
"@",
"code",
"source",
"}",
"into",
"transformed",
"content",
"written",
"to",
"the",
"{",
"@",
"code",
"sink",
"}",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"t... | [
"public",
"abstract",
"boolean",
"transform",
"(",
"source",
"source",
",",
"sink",
"sink",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"returns",
"the",
"underlying",
"output",
"stream"
] | [
"return",
"stream",
";"
] |
[
"opens",
"an",
"input",
"stream",
"at",
"the",
"indicated",
"file"
] | [
"public",
"abstract",
"input",
"stream",
"get",
"configuration",
"input",
"stream",
"(",
"configuration",
"bootstrap",
"conf",
",",
"string",
"name",
")",
"throws",
"yarn",
"exception",
",",
"i",
"o",
"exception",
";"
] |
[
"derived",
"classes",
"initialize",
"themselves",
"using",
"this",
"method"
] | [
"public",
"abstract",
"void",
"init",
"internal",
"(",
"configuration",
"bootstrap",
"conf",
")",
"throws",
"exception",
";"
] |
[
"derived",
"classes",
"close",
"themselves",
"using",
"this",
"method"
] | [
"public",
"abstract",
"void",
"close",
"internal",
"(",
")",
"throws",
"exception",
";"
] |
[
"binds",
"an",
"activity",
"to",
"the",
"mtm",
"for",
"displaying",
"the",
"query",
"dialog"
] | [
"foreground",
"act",
"=",
"act",
";"
] |
[
"changes",
"the",
"path",
"for",
"the",
"key",
"store",
"file"
] | [
"keystore",
"dir",
"=",
"dirname",
";",
"keystore",
"file",
"=",
"filename",
";"
] |
[
"removes",
"the",
"given",
"certificate",
"from",
"m",
"t",
"ms",
"key",
"store"
] | [
"app",
"key",
"store",
"delete",
"entry",
"(",
"alias",
")",
";",
"key",
"store",
"updated",
"(",
")",
";"
] |
[
"if",
"the",
"certificate",
"is",
"stored",
"in",
"the",
"app",
"key",
"store",
"it",
"is",
"considered",
"known"
] | [
"try",
"{",
"return",
"app",
"key",
"store",
"get",
"certificate",
"alias",
"(",
"cert",
")",
"!",
"=",
"null",
";",
"}",
"catch",
"(",
"key",
"store",
"exception",
"e",
")",
"{",
"return",
"false",
";",
"}"
] |
[
"returns",
"the",
"top",
"-",
"most",
"entry",
"of",
"the",
"activity",
"stack"
] | [
"return",
"(",
"foreground",
"act",
"!",
"=",
"null",
")",
"?",
"foreground",
"act",
":",
"master",
";"
] |
[
"returns",
"the",
"size",
"of",
"the",
"list",
"even",
"if",
"some",
"of",
"the",
"elements",
"might",
"be",
"null"
] | [
"return",
"locations",
"length",
";"
] |
[
"returns",
"the",
"size",
"of",
"not",
"-",
"null",
"locations"
] | [
"return",
"num",
"non",
"null",
"elements",
";"
] |
[
"returns",
"whether",
"there",
"are",
"non",
"-",
"null",
"elements",
"in",
"the",
"list"
] | [
"return",
"num",
"non",
"null",
"elements",
"=",
"=",
"0",
";"
] |
[
"removes",
"location",
"of",
"the",
"given",
"replica",
"id",
"from",
"the",
"list"
] | [
"if",
"(",
"get",
"region",
"location",
"(",
"replica",
"id",
")",
"=",
"=",
"null",
")",
"{",
"return",
"this",
";",
"}",
"h",
"region",
"location",
"[",
"]",
"new",
"locations",
"=",
"new",
"h",
"region",
"location",
"[",
"locations",
"length",
"]"... |
[
"returns",
"the",
"region",
"location",
"from",
"the",
"list",
"for",
"matching",
"region",
"name",
"which",
"can",
"be",
"region",
"name",
"or",
"encoded",
"region",
"name"
] | [
"for",
"(",
"h",
"region",
"location",
"loc",
":",
"locations",
")",
"{",
"if",
"(",
"loc",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"bytes",
"equals",
"(",
"loc",
"get",
"region",
"info",
"(",
")",
"get",
"region",
"name",
"(",
")",
",",
"region",... |
[
"returns",
"the",
"first",
"not",
"-",
"null",
"region",
"location",
"in",
"the",
"list"
] | [
"for",
"(",
"h",
"region",
"location",
"loc",
":",
"locations",
")",
"{",
"if",
"(",
"loc",
"!",
"=",
"null",
")",
"{",
"return",
"loc",
";",
"}",
"}",
"return",
"null",
";"
] |
[
"/",
"*",
"helpers"
] | [
"return",
"deploy",
"(",
"test",
"process",
"global",
"boundary",
"message",
")",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"the",
"activity",
"task",
"<",
"/",
"p",
">"
] | [
"this",
"activity",
"type",
"=",
"activity",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"the",
"activity",
"task",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"activity",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"<",
"a",
">",
"activity",
"type",
"<",
"/",
"a",
">",
"type",
"structure",
"representing",
"the",
"activity",
"type",
"<",
"/",
"p",
">"
] | [
"set",
"activity",
"type",
"(",
"activity",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"current",
"status",
"of",
"the",
"activity",
"type",
"<",
"/",
"p",
">"
] | [
"set",
"status",
"(",
"status",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"domain",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"registered",
"<",
"/",
"code",
">",
"–",
"the",
"domain",
"is",
"properly",
"registered",
"and",
... | [
"with",
"status",
"(",
"status",
")",
";"
] |
[
"<",
"p",
">",
"the",
"current",
"status",
"of",
"the",
"activity",
"type",
"<",
"/",
"p",
">"
] | [
"this",
"status",
"=",
"status",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"description",
"of",
"the",
"activity",
"type",
"provided",
"in",
"<",
"a",
">",
"register",
"activity",
"type",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"this",
"activity",
"type",
"was",
"created",
"through",
"<",
"a",
">",
"register",
"activity",
"type",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"set",
"creation",
"date",
"(",
"creation",
"date",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"when",
"the",
"thing",
"type",
"was",
"deprecated",
"<",
"/",
"p",
">"
] | [
"this",
"deprecation",
"date",
"=",
"deprecation",
"date",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.