docstring_tokens list | code_tokens list |
|---|---|
[
"gets",
"the",
"name",
"-",
"and",
"-",
"type",
"of",
"the",
"innermost",
"enclosing",
"method",
"if",
"any"
] | [
"return",
"method",
";"
] |
[
"specifies",
"jdbc",
"url"
] | [
"this",
"url",
"=",
"url",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"{"
] | [] |
[
"{"
] | [
"return",
"false",
";"
] |
[
"{"
] | [
"return",
"false",
";"
] |
[
"collects",
"all",
"the",
"methods",
"reachable",
"from",
"this",
"particular",
"method"
] | [
"set",
"<",
"string",
">",
"closure",
"=",
"new",
"hash",
"set",
"<",
">",
"(",
")",
";",
"graph",
"callees",
"(",
"name",
",",
"desc",
",",
"closure",
")",
";",
"return",
"from",
"id",
"set",
"(",
"closure",
")",
";"
] |
[
"collects",
"all",
"the",
"methods",
"from",
"which",
"this",
"particular",
"method",
"is",
"reachable"
] | [
"set",
"<",
"string",
">",
"closure",
"=",
"new",
"hash",
"set",
"<",
">",
"(",
")",
";",
"graph",
"callers",
"(",
"name",
",",
"desc",
",",
"closure",
")",
";",
"return",
"from",
"id",
"set",
"(",
"closure",
")",
";"
] |
[
"creates",
"the",
"list",
"of",
"internal",
"column",
"names",
"(",
"represented",
"by",
"field",
"nodes",
"these",
"names",
"are",
"used",
"in",
"the",
"row",
"resolver",
"and",
"are",
"different",
"from",
"the",
"external",
"column",
"names",
")",
"that",
... | [
"if",
"(",
"cur",
"op",
"get",
"child",
"operators",
"(",
")",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"list",
"<",
"field",
"node",
">",
"col",
"list",
"=",
"null",
";",
"for",
"(",
"operator",
"<",
"?",
"extends",
"operator",
"d... |
[
"creates",
"the",
"list",
"of",
"internal",
"column",
"names",
"(",
"represented",
"by",
"field",
"nodes",
"these",
"names",
"are",
"used",
"in",
"the",
"row",
"resolver",
"and",
"are",
"different",
"from",
"the",
"external",
"column",
"names",
")",
"that",
... | [
"if",
"(",
"cur",
"op",
"get",
"child",
"operators",
"(",
")",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"if",
"(",
"child",
"instanceof",
"common",
"join",
"operator",
")",
"{",
"int",
"tag",
"=",
"child",
"get",
"parent",
"operators",... |
[
"creates",
"the",
"list",
"of",
"internal",
"column",
"names",
"(",
"represented",
"by",
"field",
"nodes",
")",
"from",
"select",
"expressions",
"in",
"a",
"select",
"operator",
"this",
"function",
"is",
"used",
"for",
"the",
"select",
"operator",
"instead",
... | [
"list",
"<",
"field",
"node",
">",
"cols",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"select",
"desc",
"conf",
"=",
"op",
"get",
"conf",
"(",
")",
";",
"if",
"(",
"conf",
"is",
"sel",
"star",
"no",
"compute",
"(",
")",
")",
"{",
"... |
[
"given",
"the",
"desc",
"construct",
"a",
"list",
"of",
"field",
"nodes",
"representing",
"the",
"nested",
"columns",
"paths",
"referenced",
"by",
"this",
"desc"
] | [
"list",
"<",
"field",
"node",
">",
"res",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"get",
"nested",
"cols",
"from",
"expr",
"node",
"desc",
"(",
"desc",
",",
"null",
",",
"res",
")",
";",
"return",
"merge",
"field",
"nodes",
"(",
"ne... |
[
"create",
"the",
"list",
"of",
"internal",
"columns",
"for",
"select",
"tag",
"of",
"lv"
] | [
"list",
"<",
"field",
"node",
">",
"columns",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"field",
"node",
"col",
":",
"col",
"list",
")",
"{",
"if",
"(",
"rs",
"get",
"column",
"info",
"(",
"col",
"get",
"field",
"name",
... |
[
"if",
"the",
"input",
"filter",
"operator",
"has",
"direct",
"child",
"(",
"ren",
")",
"which",
"are",
"union",
"operator",
"and",
"the",
"filter",
"s",
"column",
"is",
"not",
"the",
"same",
"as",
"union",
"s",
"create",
"select",
"operator",
"between",
... | [
"if",
"(",
"cur",
"op",
"get",
"child",
"operators",
"(",
")",
"=",
"=",
"null",
"|",
"|",
"!",
"(",
"cur",
"op",
"instanceof",
"filter",
"operator",
")",
")",
"{",
"return",
";",
"}",
"list",
"<",
"field",
"node",
">",
"parent",
"prun",
"list",
... |
[
"returns",
"true",
"if",
"the",
"singleton",
"bean",
"is",
"marked",
"for",
"init",
"-",
"on",
"-",
"startup",
"(",
"a",
"k",
"a",
"@",
"startup",
")",
"else",
"returns",
"false",
"<",
"p",
"/",
">"
] | [
"return",
"this",
"init",
"on",
"startup",
";"
] |
[
"/",
"*",
"add",
"a",
"handler",
"this",
"implementation",
"adds",
"the",
"passed",
"handler",
"to",
"the",
"end",
"of",
"the",
"existing",
"collection",
"of",
"handlers"
] | [
"set",
"handlers",
"(",
"array",
"util",
"add",
"to",
"array",
"(",
"get",
"handlers",
"(",
")",
",",
"handler",
",",
"handler",
"class",
")",
")",
";"
] |
[
"/",
"*",
"prepend",
"a",
"handler",
"this",
"implementation",
"adds",
"the",
"passed",
"handler",
"to",
"the",
"start",
"of",
"the",
"existing",
"collection",
"of",
"handlers"
] | [
"set",
"handlers",
"(",
"array",
"util",
"prepend",
"to",
"array",
"(",
"handler",
",",
"get",
"handlers",
"(",
")",
",",
"handler",
"class",
")",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"handler",
"[",
"]",
"handlers",
"=",
"get",
"handlers",
"(",
")",
";",
"if",
"(",
"handlers",
"!",
"=",
"null",
"&",
"&",
"handlers",
"length",
">",
"0",
")",
"set",
"handlers",
"(",
"array",
"util",
"remove",
"from",
"array",
"(",
"handlers",
",",
... |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"if",
"(",
"get",
"handlers",
"(",
")",
"!",
"=",
"null",
")",
"for",
"(",
"handler",
"h",
":",
"get",
"handlers",
"(",
")",
")",
"expand",
"handler",
"(",
"h",
",",
"list",
",",
"by",
"class",
")",
";"
] |
[
"get",
"default",
"display"
] | [
"return",
"(",
"(",
"window",
"manager",
")",
"context",
"get",
"system",
"service",
"(",
"window",
"service",
")",
")",
"get",
"default",
"display",
"(",
")",
";"
] |
[
"get",
"default",
"display"
] | [
"return",
"get",
"display",
"(",
"view",
"get",
"context",
"(",
")",
")",
";"
] |
[
"get",
"default",
"display",
"width"
] | [
"return",
"get",
"display",
"(",
"context",
")",
"get",
"width",
"(",
")",
";"
] |
[
"get",
"default",
"display",
"width"
] | [
"return",
"get",
"display",
"width",
"(",
"view",
"get",
"context",
"(",
")",
")",
";"
] |
[
"tests",
"that",
"the",
"provided",
"number",
"of",
"retries",
"is",
"equal",
"the",
"actual",
"number",
"of",
"retries"
] | [
"int",
"num",
"tries",
"=",
"10",
";",
"counting",
"retry",
"counting",
"retry",
"=",
"new",
"counting",
"retry",
"(",
"num",
"tries",
")",
";",
"assert",
"assert",
"equals",
"(",
"0",
",",
"counting",
"retry",
"get",
"attempt",
"count",
"(",
")",
")",... |
[
"retrieve",
"gradient",
"colors",
"for",
"a",
"specific",
"wallpaper"
] | [
"return",
"get",
"colors",
"(",
"which",
",",
"type",
"dark",
")",
";"
] |
[
"gets",
"the",
"device",
"id",
"of",
"the",
"controller"
] | [
"return",
"device",
"id",
";"
] |
[
"this",
"method",
"is",
"used",
"by",
"the",
"testing",
"fake",
"to",
"clear",
"static",
"state"
] | [
"synchronized",
"(",
"created",
"tables",
")",
"{",
"created",
"tables",
"clear",
"(",
")",
";",
"}"
] |
[
"create",
"a",
"physical",
"partition",
"object",
"from",
"a",
"json",
"string"
] | [
"object",
"mapper",
"mapper",
"=",
"new",
"object",
"mapper",
"(",
")",
";",
"builder",
"result",
"=",
"mapper",
"read",
"value",
"(",
"json",
",",
"builder",
"class",
")",
";",
"return",
"result",
"build",
"(",
")",
";"
] |
[
"generates",
"a",
"string",
"in",
"the",
"format",
"dbname",
":",
"partitionid",
"or",
"just",
"dbname",
"for",
"a",
"partition",
"wildcard"
] | [
"if",
"(",
"null",
"=",
"=",
"simple",
"string",
"cache",
")",
"{",
"simple",
"string",
"cache",
"=",
"to",
"simple",
"string",
"(",
"null",
")",
"to",
"string",
"(",
")",
";",
"}",
"return",
"simple",
"string",
"cache",
";"
] |
[
"checks",
"if",
"the",
"object",
"denotes",
"a",
"wildcard"
] | [
"return",
"is",
"any",
"partition",
"wildcard",
"(",
")",
";"
] |
[
"checks",
"if",
"the",
"object",
"denotes",
"a",
"all",
"logical",
"sources",
"wildcard"
] | [
"return",
"id",
"equals",
"(",
"any",
"physical",
"partition",
"id",
")",
";"
] |
[
"create",
"an",
"orc",
"file",
"reader"
] | [
"reader",
"options",
"opts",
"=",
"new",
"reader",
"options",
"(",
"new",
"configuration",
"(",
")",
")",
";",
"opts",
"filesystem",
"(",
"fs",
")",
";",
"return",
"new",
"reader",
"impl",
"(",
"path",
",",
"opts",
")",
";"
] |
[
"a",
"required",
"option",
"that",
"sets",
"the",
"object",
"inspector",
"for",
"the",
"rows",
"if",
"set",
"schema",
"is",
"not",
"called",
"it",
"also",
"defines",
"the",
"schema"
] | [
"this",
"inspector",
"=",
"value",
";",
"if",
"(",
"!",
"explicit",
"schema",
")",
"{",
"super",
"set",
"schema",
"(",
"orc",
"input",
"format",
"convert",
"type",
"info",
"(",
"type",
"info",
"utils",
"get",
"type",
"info",
"from",
"object",
"inspector"... |
[
"set",
"the",
"schema",
"for",
"the",
"file",
"this",
"is",
"a",
"required",
"parameter"
] | [
"if",
"(",
"schema",
"!",
"=",
"null",
")",
"{",
"this",
"explicit",
"schema",
"=",
"true",
";",
"super",
"set",
"schema",
"(",
"schema",
")",
";",
"}",
"return",
"this",
";"
] |
[
"provide",
"the",
"filesystem",
"for",
"the",
"path",
"if",
"the",
"client",
"has",
"it",
"available",
"if",
"it",
"is",
"not",
"provided",
"it",
"will",
"be",
"found",
"from",
"the",
"path"
] | [
"super",
"file",
"system",
"(",
"value",
")",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"stripe",
"size",
"for",
"the",
"file",
"the",
"writer",
"stores",
"the",
"contents",
"of",
"the",
"stripe",
"in",
"memory",
"until",
"this",
"memory",
"limit",
"is",
"reached",
"and",
"the",
"stripe",
"is",
"flushed",
"to",
"the",
"hdfs",
... | [
"super",
"stripe",
"size",
"(",
"value",
")",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"file",
"system",
"block",
"size",
"for",
"the",
"file",
"for",
"optimal",
"performance",
"set",
"the",
"block",
"size",
"to",
"be",
"multiple",
"factors",
"of",
"stripe",
"size"
] | [
"super",
"block",
"size",
"(",
"value",
")",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"distance",
"between",
"entries",
"in",
"the",
"row",
"index",
"the",
"minimum",
"value",
"is",
"1000",
"to",
"prevent",
"the",
"index",
"from",
"overwhelming",
"the",
"data",
"if",
"the",
"stride",
"is",
"set",
"to",
"0",
"no",
"indexes",
... | [
"super",
"row",
"index",
"stride",
"(",
"value",
")",
";",
"return",
"this",
";"
] |
[
"the",
"size",
"of",
"the",
"memory",
"buffers",
"used",
"for",
"compressing",
"and",
"storing",
"the",
"stripe",
"in",
"memory"
] | [
"super",
"buffer",
"size",
"(",
"value",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"whether",
"the",
"hdfs",
"blocks",
"are",
"padded",
"to",
"prevent",
"stripes",
"from",
"straddling",
"blocks",
"padding",
"improves",
"locality",
"and",
"thus",
"the",
"speed",
"of",
"reading",
"but",
"costs",
"space"
] | [
"super",
"block",
"padding",
"(",
"value",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"encoding",
"strategy",
"that",
"is",
"used",
"to",
"encode",
"the",
"data"
] | [
"super",
"encoding",
"strategy",
"(",
"strategy",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"tolerance",
"for",
"block",
"padding",
"as",
"a",
"percentage",
"of",
"stripe",
"size"
] | [
"super",
"padding",
"tolerance",
"(",
"value",
")",
";",
"return",
"this",
";"
] |
[
"comma",
"separated",
"values",
"of",
"column",
"names",
"for",
"which",
"bloom",
"filter",
"is",
"to",
"be",
"created"
] | [
"super",
"bloom",
"filter",
"columns",
"(",
"columns",
")",
";",
"return",
"this",
";"
] |
[
"specify",
"the",
"false",
"positive",
"probability",
"for",
"bloom",
"filter"
] | [
"super",
"bloom",
"filter",
"fpp",
"(",
"fpp",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"generic",
"compression",
"that",
"is",
"used",
"to",
"compress",
"the",
"data"
] | [
"super",
"compress",
"(",
"value",
"get",
"underlying",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"generic",
"compression",
"that",
"is",
"used",
"to",
"compress",
"the",
"data"
] | [
"super",
"compress",
"(",
"value",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"version",
"of",
"the",
"file",
"that",
"will",
"be",
"written"
] | [
"super",
"version",
"(",
"value",
")",
";",
"return",
"this",
";"
] |
[
"add",
"a",
"listener",
"for",
"when",
"the",
"stripe",
"and",
"file",
"are",
"about",
"to",
"be",
"closed"
] | [
"super",
"callback",
"(",
"callback",
")",
";",
"return",
"this",
";"
] |
[
"a",
"package",
"local",
"option",
"to",
"set",
"the",
"memory",
"manager"
] | [
"super",
"memory",
"(",
"value",
")",
";",
"return",
"this",
";"
] |
[
"create",
"a",
"set",
"of",
"writer",
"options",
"based",
"on",
"a",
"configuration"
] | [
"return",
"new",
"writer",
"options",
"(",
"null",
",",
"conf",
")",
";"
] |
[
"create",
"a",
"set",
"of",
"write",
"options",
"based",
"on",
"a",
"set",
"of",
"table",
"properties",
"and",
"configuration"
] | [
"return",
"new",
"writer",
"options",
"(",
"table",
"properties",
",",
"conf",
")",
";"
] |
[
"create",
"an",
"orc",
"file",
"writer",
"this",
"is",
"the",
"public",
"interface",
"for",
"creating",
"writers",
"going",
"forward",
"and",
"new",
"options",
"will",
"only",
"be",
"added",
"to",
"this",
"method"
] | [
"file",
"system",
"fs",
"=",
"opts",
"get",
"file",
"system",
"(",
")",
"=",
"=",
"null",
"?",
"path",
"get",
"file",
"system",
"(",
"opts",
"get",
"configuration",
"(",
")",
")",
":",
"opts",
"get",
"file",
"system",
"(",
")",
";",
"return",
"new"... |
[
"create",
"an",
"orc",
"file",
"writer",
"this",
"method",
"is",
"provided",
"for",
"api",
"backward",
"compatability",
"with",
"hive",
"0",
"11"
] | [
"return",
"create",
"writer",
"(",
"path",
",",
"writer",
"options",
"(",
"conf",
")",
"inspector",
"(",
"inspector",
")",
"file",
"system",
"(",
"fs",
")",
"stripe",
"size",
"(",
"stripe",
"size",
")",
"compress",
"(",
"compress",
")",
"buffer",
"size",... |
[
"set",
"the",
"params",
"(",
"doc",
"size",
"only",
")"
] | [
"super",
"set",
"params",
"(",
"params",
")",
";",
"doc",
"size",
"=",
"(",
"int",
")",
"float",
"parse",
"float",
"(",
"params",
")",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"return",
"true",
";"
] |
[
"implementations",
"may",
"override",
"this",
"if",
"their",
"state",
"can",
"be",
"in",
"on",
"of",
"the",
"intermediate",
"states",
"until",
"some",
"notification",
"is",
"received",
"(",
"e",
"g",
"airplane",
"mode",
"is",
"turning",
"off",
"until",
"we",... | [
"m",
"state",
"=",
"button",
"on",
"?",
"state",
"on",
":",
"state",
"off",
";"
] |
[
"returns",
"true",
"if",
"field",
"available",
"capacity",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"org",
"apache",
"thrift",
"encoding",
"utils",
"test",
"bit",
"(",
"isset",
"bitfield",
",",
"availablecapacity",
"isset",
"id",
")",
";"
] |
[
"returns",
"true",
"if",
"field",
"corresponding",
"to",
"field",
"i",
"d",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"if",
"(",
"field",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"java",
"lang",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"switch",
"(",
"field",
")",
"{",
"case",
"available",
"capacity",
":",
"return",
"is",
"set",
"available",
"capacit... |
[
"<",
"div",
"class",
"=",
"ind",
">",
"<",
"p",
">",
"<",
"strong",
">",
"required",
"for",
"social",
"hit",
"type",
"<",
"/",
"strong",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"specifies",
"the",
"social",
"network",
"for",
"example",
"facebook",
... | [
"set",
"string",
"(",
"social",
"network",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"<",
"div",
"class",
"=",
"ind",
">",
"<",
"p",
">",
"<",
"strong",
">",
"required",
"for",
"social",
"hit",
"type",
"<",
"/",
"strong",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"specifies",
"the",
"social",
"interaction",
"action",
"for",
"example"... | [
"set",
"string",
"(",
"social",
"action",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"<",
"div",
"class",
"=",
"ind",
">",
"<",
"p",
">",
"<",
"strong",
">",
"required",
"for",
"social",
"hit",
"type",
"<",
"/",
"strong",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"specifies",
"the",
"target",
"of",
"a",
"social",
"interaction",
"th... | [
"set",
"string",
"(",
"social",
"action",
"target",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"red",
"(",
"red",
")",
";",
"green",
"(",
"green",
")",
";",
"blue",
"(",
"blue",
")",
";",
"size",
"(",
"size",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"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",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"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",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] | [
"return",
"wrap",
"(",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"ze... | [
"return",
"calloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"short",
"buffer",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"red",
")",
",",
"nsize",
"(",
"struct",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"short",
"buffer",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"green",
")",
",",
"nsize",
"(",
"struct",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"short",
"buffer",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"blue",
")",
",",
"nsize",
"(",
"struct",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"size",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"red",
",",
"mem",
"address",
"(",
"value",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"green",
",",
"mem",
"address",
"(",
"value",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"blue",
",",
"mem",
"address",
"(",
"value",
")",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"size",
",",
"value",
")",
";"
] |
[
"validates",
"pointer",
"members",
"that",
"should",
"not",
"be",
"{",
"@",
"code",
"null",
"}"
] | [
"check",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"red",
")",
")",
";",
"check",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"g",
"l",
"f",
"w",
"gamma",
"ramp",
"green",
")",
")",
";",
"check... |
[
"returns",
"true",
"iff",
"the",
"given",
"node",
"is",
"a",
"{"
] | [
"return",
"node",
"instanceof",
"parallel",
"instruction",
"node",
"&",
"&",
"(",
"(",
"parallel",
"instruction",
"node",
")",
"node",
")",
"get",
"execution",
"location",
"(",
")",
"=",
"=",
"nodes",
"execution",
"location",
"sdk",
"harness",
";"
] |
[
"prints",
"the",
"version",
"string"
] | [
"system",
"out",
"println",
"(",
"title",
"+",
"\"",
"\"",
"+",
"version",
")",
";"
] |
[
"apply",
"the",
"mapper",
"function",
"on",
"all",
"nodes",
"in",
"a",
"symbol",
"tree"
] | [
"return",
"visitor",
"instance",
"process",
"(",
"st",
",",
"mapper",
")",
";"
] |
[
"main",
"method"
] | [
"int",
"[",
"]",
"[",
"]",
"a",
"=",
"{",
"{",
"1",
",",
"2",
"}",
",",
"{",
"2",
",",
"3",
"}",
",",
"{",
"3",
",",
"4",
"}",
"}",
";",
"system",
"out",
"println",
"(",
"new",
"maximum",
"length",
"of",
"pair",
"chain",
"(",
")",
"find",... |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"action",
"<",
"/",
"p",
">"
] | [
"set",
"status",
"(",
"status",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"name",
"of",
"the",
"currently",
"active",
"underlying",
"stream",
"the",
"default",
"implementation",
"returns",
"the",
"same",
"value",
"as",
"get",
"name",
"unless",
"overridden",
"by",
"the",
"subclass"
] | [
"return",
"get",
"name",
"(",
")",
";"
] |
[
"read",
"an",
"operation",
"from",
"the",
"stream"
] | [
"f",
"s",
"edit",
"log",
"op",
"ret",
";",
"if",
"(",
"cached",
"op",
"!",
"=",
"null",
")",
"{",
"ret",
"=",
"cached",
"op",
";",
"cached",
"op",
"=",
"null",
";",
"return",
"ret",
";",
"}",
"return",
"next",
"op",
"(",
")",
";"
] |
[
"position",
"the",
"stream",
"so",
"that",
"a",
"valid",
"operation",
"can",
"be",
"read",
"from",
"it",
"with",
"read",
"op",
"(",
")"
] | [
"if",
"(",
"cached",
"op",
"!",
"=",
"null",
")",
"{",
"return",
";",
"}",
"cached",
"op",
"=",
"next",
"valid",
"op",
"(",
")",
";"
] |
[
"get",
"the",
"next",
"operation",
"from",
"the",
"stream",
"storage"
] | [
"protected",
"abstract",
"f",
"s",
"edit",
"log",
"op",
"next",
"op",
"(",
")",
"throws",
"i",
"o",
"exception",
";"
] |
[
"go",
"through",
"the",
"next",
"operation",
"from",
"the",
"stream",
"storage"
] | [
"f",
"s",
"edit",
"log",
"op",
"next",
"=",
"read",
"op",
"(",
")",
";",
"return",
"next",
"!",
"=",
"null",
"?",
"next",
"txid",
":",
"hdfs",
"server",
"constants",
"invalid",
"txid",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.