docstring_tokens list | code_tokens list |
|---|---|
[
"checks",
"the",
"classes",
"mentioned",
"in",
"the",
"given",
"class",
"specifications",
"printing",
"notes",
"if",
"necessary"
] | [
"if",
"(",
"class",
"specifications",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"int",
"index",
"=",
"0",
";",
"index",
"<",
"class",
"specifications",
"size",
"(",
")",
";",
"index",
"+",
"+",
")",
"{",
"class",
"specification",
"class",
"specification"... |
[
"checks",
"the",
"classes",
"mentioned",
"in",
"the",
"given",
"class",
"member",
"specifications",
"printing",
"notes",
"if",
"necessary"
] | [
"if",
"(",
"member",
"specifications",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"int",
"index",
"=",
"0",
";",
"index",
"<",
"member",
"specifications",
"size",
"(",
")",
";",
"index",
"+",
"+",
")",
"{",
"member",
"specification",
"member",
"specificat... |
[
"checks",
"the",
"classes",
"mentioned",
"in",
"the",
"given",
"class",
"member",
"descriptor",
"printing",
"notes",
"if",
"necessary"
] | [
"if",
"(",
"descriptor",
"!",
"=",
"null",
")",
"{",
"internal",
"type",
"enumeration",
"internal",
"type",
"enumeration",
"=",
"new",
"internal",
"type",
"enumeration",
"(",
"descriptor",
")",
";",
"check",
"type",
"(",
"internal",
"type",
"enumeration",
"r... |
[
"checks",
"the",
"class",
"mentioned",
"in",
"the",
"given",
"type",
"(",
"if",
"any",
")",
"printing",
"notes",
"if",
"necessary"
] | [
"if",
"(",
"type",
"!",
"=",
"null",
")",
"{",
"check",
"class",
"name",
"(",
"class",
"util",
"internal",
"class",
"name",
"from",
"type",
"(",
"type",
")",
")",
";",
"}"
] |
[
"creates",
"a",
"{",
"@",
"code",
"extent",
"purge",
"}",
"instance",
"from",
"the",
"specified",
"function",
"pointer"
] | [
"extent",
"purge",
"i",
"instance",
"=",
"callback",
"get",
"(",
"function",
"pointer",
")",
";",
"return",
"instance",
"instanceof",
"extent",
"purge",
"?",
"(",
"extent",
"purge",
")",
"instance",
":",
"new",
"container",
"(",
"function",
"pointer",
",",
... |
[
"like",
"{"
] | [
"return",
"function",
"pointer",
"=",
"=",
"null",
"?",
"null",
":",
"create",
"(",
"function",
"pointer",
")",
";"
] |
[
"creates",
"a",
"{"
] | [
"return",
"instance",
"instanceof",
"extent",
"purge",
"?",
"(",
"extent",
"purge",
")",
"instance",
":",
"new",
"container",
"(",
"instance",
"address",
"(",
")",
",",
"instance",
")",
";"
] |
[
"{"
] | [
"return",
"new",
"access",
"strategy",
"(",
"create",
"access",
"strategy",
"(",
"access",
"type",
")",
")",
";"
] |
[
"{"
] | [
"return",
"hibernate",
"entity",
"region",
"this",
";"
] |
[
"{"
] | [
"return",
"stgy",
"insert",
"(",
"key",
",",
"val",
")",
";"
] |
[
"{"
] | [
"return",
"stgy",
"after",
"insert",
"(",
"key",
",",
"val",
")",
";"
] |
[
"{"
] | [
"return",
"stgy",
"update",
"(",
"key",
",",
"val",
")",
";"
] |
[
"{"
] | [
"return",
"stgy",
"after",
"update",
"(",
"key",
",",
"val",
")",
";"
] |
[
"create",
"a",
"clone",
"of",
"this",
"versioned",
"object",
"such",
"that",
"the",
"object",
"pointed",
"to",
"is",
"the",
"same",
"but",
"the",
"vector",
"clock",
"and",
"versioned",
"wrapper",
"is",
"a",
"shallow",
"copy"
] | [
"return",
"new",
"versioned",
"<",
"t",
">",
"(",
"this",
"get",
"value",
"(",
")",
",",
"this",
"version",
"clone",
"(",
")",
")",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"hit",
"to",
"be",
"retrieved",
"<",
"/",
"p",
">"
] | [
"this",
"h",
"i",
"t",
"id",
"=",
"h",
"i",
"t",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"hit",
"to",
"be",
"retrieved",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"h",
"i",
"t",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"h",
"i",
"t",
"id",
"of",
"the",
"hit",
"for",
"which",
"results",
"have",
"been",
"returned",
"<",
"/",
"p",
">"
] | [
"set",
"h",
"i",
"t",
"id",
"(",
"h",
"i",
"t",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"assignment",
"-",
"level",
"review",
"policy",
"applies",
"to",
"the",
"assignments",
"under",
"the",
"hit",
"you",
"can",
"specify",
"for",
"mechanical",
"turk",
"to",
"take",
"various",
"actions",
"based",
"on",
"the",
"policy",
"<... | [
"this",
"assignment",
"review",
"policy",
"=",
"assignment",
"review",
"policy",
";"
] |
[
"<",
"p",
">",
"the",
"assignment",
"-",
"level",
"review",
"policy",
"applies",
"to",
"the",
"assignments",
"under",
"the",
"hit",
"you",
"can",
"specify",
"for",
"mechanical",
"turk",
"to",
"take",
"various",
"actions",
"based",
"on",
"the",
"policy",
"<... | [
"return",
"this",
"assignment",
"review",
"policy",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"assignment",
"-",
"level",
"review",
"policy",
"this",
"contains",
"only",
"the",
"policy",
"name",
"element",
"<",
"/",
"p",
">"
] | [
"set",
"assignment",
"review",
"policy",
"(",
"assignment",
"review",
"policy",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"hit",
"-",
"level",
"review",
"policy",
"applies",
"to",
"the",
"hit",
"you",
"can",
"specify",
"for",
"mechanical",
"turk",
"to",
"take",
"various",
"actions",
"based",
"on",
"the",
"policy",
"<",
"/",
"p",
">"
] | [
"this",
"h",
"i",
"t",
"review",
"policy",
"=",
"h",
"i",
"t",
"review",
"policy",
";"
] |
[
"<",
"p",
">",
"the",
"hit",
"-",
"level",
"review",
"policy",
"applies",
"to",
"the",
"hit",
"you",
"can",
"specify",
"for",
"mechanical",
"turk",
"to",
"take",
"various",
"actions",
"based",
"on",
"the",
"policy",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"h",
"i",
"t",
"review",
"policy",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"hit",
"-",
"level",
"review",
"policy",
"this",
"contains",
"only",
"the",
"policy",
"name",
"element",
"<",
"/",
"p",
">"
] | [
"set",
"h",
"i",
"t",
"review",
"policy",
"(",
"h",
"i",
"t",
"review",
"policy",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"contains",
"both",
"review",
"result",
"and",
"review",
"action",
"elements",
"for",
"an",
"assignment",
"<",
"/",
"p",
">"
] | [
"this",
"assignment",
"review",
"report",
"=",
"assignment",
"review",
"report",
";"
] |
[
"<",
"p",
">",
"contains",
"both",
"review",
"result",
"and",
"review",
"action",
"elements",
"for",
"an",
"assignment",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"assignment",
"review",
"report",
";"
] |
[
"<",
"p",
">",
"contains",
"both",
"review",
"result",
"and",
"review",
"action",
"elements",
"for",
"an",
"assignment",
"<",
"/",
"p",
">"
] | [
"set",
"assignment",
"review",
"report",
"(",
"assignment",
"review",
"report",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"contains",
"both",
"review",
"result",
"and",
"review",
"action",
"elements",
"for",
"a",
"particular",
"hit",
"<",
"/",
"p",
">"
] | [
"this",
"h",
"i",
"t",
"review",
"report",
"=",
"h",
"i",
"t",
"review",
"report",
";"
] |
[
"<",
"p",
">",
"contains",
"both",
"review",
"result",
"and",
"review",
"action",
"elements",
"for",
"a",
"particular",
"hit",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"h",
"i",
"t",
"review",
"report",
";"
] |
[
"<",
"p",
">",
"contains",
"both",
"review",
"result",
"and",
"review",
"action",
"elements",
"for",
"a",
"particular",
"hit",
"<",
"/",
"p",
">"
] | [
"set",
"h",
"i",
"t",
"review",
"report",
"(",
"h",
"i",
"t",
"review",
"report",
")",
";",
"return",
"this",
";"
] |
[
"adjust",
"the",
"position",
"so",
"that",
"the",
"backup",
"object",
"is",
"visible"
] | [
"if",
"(",
"is",
"backup",
")",
"{",
"this",
"x",
"+",
"=",
"50",
";",
"this",
"y",
"+",
"=",
"50",
";",
"}"
] |
[
"return",
"true",
"if",
"the",
"light",
"probe",
"is",
"ready",
"meaning",
"the",
"environment",
"maps",
"have",
"been",
"loaded",
"or",
"rnedered",
"and",
"are",
"ready",
"to",
"be",
"used",
"by",
"a",
"material"
] | [
"return",
"ready",
";"
] |
[
"enable",
"encoding",
"(",
"compress",
")",
"using",
"multiple",
"processing",
"cores"
] | [
"this",
"using",
"parallel",
"compression",
"=",
"using",
"parallel",
"compression",
";"
] |
[
"this",
"method",
"is",
"overridden"
] | [
"map",
"eviction",
"policy",
"map",
"eviction",
"policy",
"=",
"map",
"config",
"get",
"map",
"eviction",
"policy",
"(",
")",
";",
"if",
"(",
"map",
"eviction",
"policy",
"=",
"=",
"null",
")",
"{",
"evictor",
"=",
"null",
"evictor",
";",
"}",
"else",
... |
[
"returns",
"{",
"@",
"code",
"true",
"}",
"if",
"at",
"least",
"one",
"of",
"the",
"wan",
"publishers",
"has",
"merkle",
"tree",
"consistency",
"check",
"configured",
"for",
"the",
"given",
"wan",
"replication",
"configuration"
] | [
"wan",
"replication",
"config",
"replication",
"config",
"=",
"config",
"get",
"wan",
"replication",
"config",
"(",
"wan",
"replication",
"ref",
"name",
")",
";",
"if",
"(",
"replication",
"config",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"wan",
"publisher... |
[
"checks",
"if",
"wan",
"replication",
"is",
"enabled",
"and",
"if",
"the",
"wan",
"queues",
"have",
"reached",
"their",
"capacity"
] | [
"if",
"(",
"is",
"wan",
"replication",
"enabled",
"(",
")",
")",
"{",
"wan",
"replication",
"publisher",
"check",
"wan",
"replication",
"queues",
"(",
")",
";",
"}"
] |
[
"returns",
"the",
"quorum",
"name",
"for",
"operations"
] | [
"return",
"quorum",
"name",
";"
] |
[
"only",
"used",
"for",
"testing",
"purposes"
] | [
"this",
"evictor",
"=",
"evictor",
";"
] |
[
"callback",
"called",
"when",
"the",
"map",
"container",
"is",
"de",
"-",
"registered",
"from",
"map",
"service",
"and",
"destroyed",
"-",
"basically",
"on",
"map",
"-",
"destroy"
] | [
"partition",
"indexes",
"to",
"add",
"clear",
"(",
")",
";"
] |
[
"this",
"method",
"and",
"related",
"field",
"is",
"for",
"compatibility",
"with",
"3",
"8"
] | [
"this",
"main",
"class",
"definition",
"=",
"main",
"class",
"definition",
";"
] |
[
"this",
"method",
"and",
"related",
"field",
"is",
"for",
"compatibility",
"with",
"3",
"8"
] | [
"return",
"main",
"class",
"definition",
";"
] |
[
"invokes",
"{",
"@",
"code",
"future",
"}",
"{",
"@",
"link",
"future",
"#",
"get",
"(",
")",
"get",
"(",
")",
"}",
"uninterruptibly",
"to",
"get",
"uninterruptibility",
"and",
"remove",
"checked",
"exceptions",
"see",
"{",
"@",
"link",
"futures",
"#",
... | [
"boolean",
"interrupted",
"=",
"false",
";",
"try",
"{",
"while",
"(",
"true",
")",
"{",
"try",
"{",
"return",
"future",
"get",
"(",
")",
";",
"}",
"catch",
"(",
"interrupted",
"exception",
"e",
")",
"{",
"interrupted",
"=",
"true",
";",
"}",
"}",
... |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"action",
"<",
"/",
"p",
">"
] | [
"set",
"action",
"name",
"(",
"action",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"represents",
"information",
"about",
"the",
"version",
"(",
"or",
"revision",
")",
"of",
"an",
"action",
"<",
"/",
"p",
">"
] | [
"this",
"current",
"revision",
"=",
"current",
"revision",
";"
] |
[
"<",
"p",
">",
"represents",
"information",
"about",
"the",
"version",
"(",
"or",
"revision",
")",
"of",
"an",
"action",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"current",
"revision",
";"
] |
[
"<",
"p",
">",
"represents",
"information",
"about",
"the",
"version",
"(",
"or",
"revision",
")",
"of",
"an",
"action",
"<",
"/",
"p",
">"
] | [
"set",
"current",
"revision",
"(",
"current",
"revision",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"represents",
"information",
"about",
"the",
"run",
"of",
"an",
"action",
"<",
"/",
"p",
">"
] | [
"this",
"latest",
"execution",
"=",
"latest",
"execution",
";"
] |
[
"<",
"p",
">",
"represents",
"information",
"about",
"the",
"run",
"of",
"an",
"action",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"latest",
"execution",
";"
] |
[
"<",
"p",
">",
"represents",
"information",
"about",
"the",
"run",
"of",
"an",
"action",
"<",
"/",
"p",
">"
] | [
"set",
"latest",
"execution",
"(",
"latest",
"execution",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"url",
"link",
"for",
"more",
"information",
"about",
"the",
"state",
"of",
"the",
"action",
"such",
"as",
"a",
"deployment",
"group",
"details",
"page",
"<",
"/",
"p",
">"
] | [
"this",
"entity",
"url",
"=",
"entity",
"url",
";"
] |
[
"<",
"p",
">",
"a",
"url",
"link",
"for",
"more",
"information",
"about",
"the",
"state",
"of",
"the",
"action",
"such",
"as",
"a",
"deployment",
"group",
"details",
"page",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"entity",
"url",
";"
] |
[
"<",
"p",
">",
"a",
"url",
"link",
"for",
"more",
"information",
"about",
"the",
"state",
"of",
"the",
"action",
"such",
"as",
"a",
"deployment",
"group",
"details",
"page",
"<",
"/",
"p",
">"
] | [
"set",
"entity",
"url",
"(",
"entity",
"url",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"url",
"link",
"for",
"more",
"information",
"about",
"the",
"revision",
"such",
"as",
"a",
"commit",
"details",
"page",
"<",
"/",
"p",
">"
] | [
"set",
"revision",
"url",
"(",
"revision",
"url",
")",
";",
"return",
"this",
";"
] |
[
"getter",
"for",
"the",
"server",
"system",
"key",
"property",
"this",
"property",
"specifies",
"the",
"general",
"type",
"of",
"server",
"to",
"which",
"the",
"client",
"connects",
"should",
"be",
"either",
"one",
"of",
"the",
"<",
"code",
">",
"f",
"t",
... | [
"return",
"server",
"system",
"key",
";"
] |
[
"getter",
"for",
"the",
"{",
"@",
"link",
"#",
"set",
"default",
"date",
"format",
"str",
"(",
"string",
")",
"default",
"date",
"format",
"str",
"}",
"property"
] | [
"return",
"default",
"date",
"format",
"str",
";"
] |
[
"getter",
"for",
"the",
"{",
"@",
"link",
"#",
"set",
"recent",
"date",
"format",
"str",
"(",
"string",
")",
"recent",
"date",
"format",
"str",
"}",
"property"
] | [
"return",
"recent",
"date",
"format",
"str",
";"
] |
[
"getter",
"for",
"the",
"{",
"@",
"link",
"#",
"set",
"server",
"time",
"zone",
"id",
"(",
"string",
")",
"server",
"time",
"zone",
"id",
"}",
"property"
] | [
"return",
"server",
"time",
"zone",
"id",
";"
] |
[
"<",
"p",
">",
"getter",
"for",
"the",
"{",
"@",
"link",
"#",
"set",
"short",
"month",
"names",
"(",
"string",
")",
"short",
"month",
"names",
"}",
"property",
"<",
"/",
"p",
">"
] | [
"return",
"short",
"month",
"names",
";"
] |
[
"<",
"p",
">",
"getter",
"for",
"the",
"{",
"@",
"link",
"#",
"set",
"server",
"language",
"code",
"(",
"string",
")",
"server",
"language",
"code",
"}",
"property",
"<",
"/",
"p",
">"
] | [
"return",
"server",
"language",
"code",
";"
] |
[
"<",
"p",
">",
"getter",
"for",
"the",
"{",
"@",
"link",
"#",
"set",
"lenient",
"future",
"dates",
"(",
"boolean",
")",
"lenient",
"future",
"dates",
"}",
"property",
"<",
"/",
"p",
">"
] | [
"return",
"lenient",
"future",
"dates",
";"
] |
[
"<",
"p",
">",
"setter",
"for",
"the",
"default",
"date",
"format",
"str",
"property",
"this",
"property",
"specifies",
"the",
"main",
"date",
"format",
"that",
"will",
"be",
"used",
"by",
"a",
"parser",
"configured",
"by",
"this",
"configuration",
"to",
"... | [
"this",
"default",
"date",
"format",
"str",
"=",
"default",
"date",
"format",
"str",
";"
] |
[
"<",
"p",
">",
"setter",
"for",
"the",
"recent",
"date",
"format",
"str",
"property",
"this",
"property",
"specifies",
"a",
"secondary",
"date",
"format",
"that",
"will",
"be",
"used",
"by",
"a",
"parser",
"configured",
"by",
"this",
"configuration",
"to",
... | [
"this",
"recent",
"date",
"format",
"str",
"=",
"recent",
"date",
"format",
"str",
";"
] |
[
"<",
"p",
">",
"setter",
"for",
"the",
"lenient",
"future",
"dates",
"property",
"this",
"boolean",
"property",
"(",
"default",
":",
"false",
")",
"only",
"has",
"meaning",
"when",
"a",
"{",
"@",
"link",
"#",
"set",
"recent",
"date",
"format",
"str",
"... | [
"this",
"lenient",
"future",
"dates",
"=",
"lenient",
"future",
"dates",
";"
] |
[
"<",
"p",
">",
"setter",
"for",
"the",
"server",
"time",
"zone",
"id",
"property",
"this",
"property",
"allows",
"a",
"time",
"zone",
"to",
"be",
"specified",
"corresponding",
"to",
"that",
"known",
"to",
"be",
"used",
"by",
"an",
"ftp",
"server",
"in",
... | [
"this",
"server",
"time",
"zone",
"id",
"=",
"server",
"time",
"zone",
"id",
";"
] |
[
"<",
"p",
">",
"setter",
"for",
"the",
"short",
"month",
"names",
"property",
"this",
"property",
"allows",
"the",
"user",
"to",
"specify",
"a",
"set",
"of",
"month",
"names",
"used",
"by",
"the",
"server",
"that",
"is",
"different",
"from",
"those",
"th... | [
"this",
"short",
"month",
"names",
"=",
"short",
"month",
"names",
";"
] |
[
"<",
"p",
">",
"setter",
"for",
"the",
"server",
"language",
"code",
"property",
"this",
"property",
"allows",
"user",
"to",
"specify",
"a",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"www",
"ics",
"uci",
"edu",
"/",
"pub",
"/",
"ietf",
"/",
"ht... | [
"this",
"server",
"language",
"code",
"=",
"server",
"language",
"code",
";"
] |
[
"looks",
"up",
"the",
"supplied",
"language",
"code",
"in",
"the",
"internally",
"maintained",
"table",
"of",
"language",
"codes",
"returns",
"a",
"date",
"format",
"symbols",
"object",
"configured",
"with",
"short",
"month",
"names",
"corresponding",
"to",
"the... | [
"object",
"lang",
"=",
"language",
"code",
"map",
"get",
"(",
"language",
"code",
")",
";",
"if",
"(",
"lang",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"lang",
"instanceof",
"locale",
")",
"{",
"return",
"new",
"date",
"format",
"symbols",
"(",
"(",
... |
[
"returns",
"a",
"date",
"format",
"symbols",
"object",
"configured",
"with",
"short",
"month",
"names",
"as",
"in",
"the",
"supplied",
"string"
] | [
"string",
"[",
"]",
"months",
"=",
"split",
"short",
"month",
"string",
"(",
"shortmonths",
")",
";",
"date",
"format",
"symbols",
"dfs",
"=",
"new",
"date",
"format",
"symbols",
"(",
"locale",
"us",
")",
";",
"dfs",
"set",
"short",
"months",
"(",
"mon... |
[
"returns",
"a",
"collection",
"of",
"all",
"the",
"language",
"codes",
"currently",
"supported",
"by",
"this",
"class",
"see",
"{",
"@",
"link",
"#",
"set",
"server",
"language",
"code",
"(",
"string",
")",
"server",
"language",
"code",
"}",
"for",
"a",
... | [
"return",
"language",
"code",
"map",
"key",
"set",
"(",
")",
";"
] |
[
"allow",
"list",
"parsing",
"methods",
"to",
"create",
"basic",
"f",
"t",
"p",
"file",
"entries",
"if",
"parsing",
"fails",
"<",
"p",
">",
"in",
"this",
"case",
"the",
"f",
"t",
"p",
"file",
"will",
"contain",
"only",
"the",
"unparsed",
"entry",
"{",
... | [
"this",
"save",
"unparseable",
"entries",
"=",
"save",
"unparseable",
";"
] |
[
"call",
"close",
"(",
")",
"when",
"the",
"cluster",
"is",
"shutdown",
"to",
"explicitly",
"tear",
"down",
"connections",
"to",
"corresponding",
"helix",
"manager"
] | [
"if",
"(",
"helix",
"conn",
"manager",
"!",
"=",
"null",
")",
"{",
"helix",
"conn",
"manager",
"close",
"(",
"cluster",
"name",
")",
";",
"}"
] |
[
"called",
"by",
"databus",
"client",
"library",
"to",
"persist",
"checkpoint"
] | [
"if",
"(",
"property",
"store",
"!",
"=",
"null",
")",
"{",
"long",
"curtime",
"ms",
"=",
"system",
"current",
"time",
"millis",
"(",
")",
";",
"if",
"(",
"(",
"curtime",
"ms",
"-",
"last",
"time",
"written",
"ms",
")",
">",
"checkpoint",
"interval",... |
[
"function",
"called",
"by",
"databus",
"client",
"to",
"load",
"checkpoint",
";"
] | [
"if",
"(",
"property",
"store",
"!",
"=",
"null",
")",
"{",
"string",
"key",
"=",
"make",
"key",
"(",
"source",
"names",
")",
";",
"checkpoint",
"cp",
"=",
"get",
"checkpoint",
"(",
"key",
")",
";",
"return",
"cp",
";",
"}",
"return",
"null",
";"
] |
[
"given",
"a",
"cluster",
";",
"return",
"a",
"helix",
"connection",
"if",
"one",
"exists",
";",
"otherwise",
"create",
"one"
] | [
"helix",
"manager",
"m",
"=",
"managers",
"get",
"(",
"cluster",
"name",
")",
";",
"if",
"(",
"null",
"=",
"=",
"m",
")",
"{",
"m",
"=",
"helix",
"manager",
"factory",
"get",
"z",
"k",
"helix",
"manager",
"(",
"cluster",
"name",
",",
"id",
",",
"... |
[
"shutdown",
"managers",
"explicitly"
] | [
"helix",
"manager",
"m",
"=",
"managers",
"get",
"(",
"cluster",
")",
";",
"if",
"(",
"m",
"!",
"=",
"null",
")",
"{",
"managers",
"remove",
"(",
"cluster",
")",
";",
"m",
"disconnect",
"(",
")",
";",
"}"
] |
[
"zk",
"host",
"port",
"config",
"seperated",
"by",
"colon"
] | [
"return",
"zk",
"addr",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"nfront",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"front",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"nback",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"back",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"value",
"of",
"the",
"{"
] | [
"return",
"nmin",
"depth",
"bounds",
"(",
"address",
"(",
")",
")",
";"
] |
[
"returns",
"the",
"value",
"of",
"the",
"{"
] | [
"return",
"nmax",
"depth",
"bounds",
"(",
"address",
"(",
")",
")",
";"
] |
[
"copies",
"the",
"specified",
"{"
] | [
"nfront",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"{"
] | [
"nback",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"nmin",
"depth",
"bounds",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"nmax",
"depth",
"bounds",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"s",
"type",
"(",
"s",
"type",
")",
";",
"p",
"next",
"(",
"p",
"next",
")",
";",
"flags",
"(",
"flags",
")",
";",
"depth",
"test",
"enable",
"(",
"depth",
"test",
"enable",
")",
";",
"depth",
"write",
"enable",
"(",
"depth",
"write",
"enable",
"... |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
... |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
"mu... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
"the",
"instance",
"... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"buffer",
"utils",
"}"
] | [
"byte",
"buffer",
"container",
"=",
"create",
"(",
"capacity",
",",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"buffer",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"capacity",
",",
"container",
")",
";"
] |
[
"create",
"a",
"{",
"@",
"link",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"buffer",
"}",
"instance",
"at",
"the",
"specified",
"memory"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"address",
",",
"capacity",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"buffer",
"class",
",",
"address",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"malloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"calloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"vk",
"pipeline",
"depth",
"stencil",
"state",
"create",
"info",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.