docstring_tokens
sequence | code_tokens
sequence |
---|---|
[
"return",
"the",
"light",
"used",
"to",
"cast",
"shadows"
] | [
"return",
"light",
";"
] |
[
"sets",
"the",
"light",
"to",
"use",
"to",
"cast",
"shadows"
] | [
"this",
"light",
"=",
"light",
";"
] |
[
"returns",
"the",
"lambda",
"parameter",
"see",
"#",
"set",
"lambda",
"(",
"float",
"lambda",
")"
] | [
"return",
"lambda",
";"
] |
[
"adjust",
"the",
"repartition",
"of",
"the",
"different",
"shadow",
"maps",
"in",
"the",
"shadow",
"extend",
"usually",
"goes",
"from",
"0",
"0",
"to",
"1",
"0",
"a",
"low",
"value",
"give",
"a",
"more",
"linear",
"repartition",
"resulting",
"in",
"a",
"constant",
"quality",
"in",
"the",
"shadow",
"over",
"the",
"extends",
"but",
"near",
"shadows",
"could",
"look",
"very",
"jagged",
"a",
"high",
"value",
"give",
"a",
"more",
"logarithmic",
"repartition",
"resulting",
"in",
"a",
"high",
"quality",
"for",
"near",
"shadows",
"but",
"the",
"quality",
"quickly",
"decrease",
"over",
"the",
"extend",
"the",
"default",
"value",
"is",
"set",
"to",
"0",
"6",
"5f",
"(",
"theoretic",
"optimal",
"value",
")"
] | [
"this",
"lambda",
"=",
"lambda",
";"
] |
[
"check",
"if",
"the",
"stabilization",
"is",
"enabled"
] | [
"return",
"stabilize",
";"
] |
[
"enables",
"the",
"stabilization",
"of",
"the",
"shadow",
"s",
"edges",
"(",
"default",
"is",
"true",
")",
"this",
"prevents",
"shadow",
"edges",
"from",
"flickering",
"when",
"the",
"camera",
"moves",
"however",
"it",
"can",
"lead",
"to",
"some",
"shadow",
"quality",
"loss",
"in",
"some",
"particular",
"scenes"
] | [
"this",
"stabilize",
"=",
"stabilize",
";"
] |
[
"directional",
"light",
"are",
"always",
"in",
"the",
"view",
"frustum"
] | [
"return",
"true",
";"
] |
[
"setter",
"and",
"getter"
] | [
"this",
"m",
"current",
"tab",
"=",
"current",
"tab",
";",
"m",
"view",
"pager",
"set",
"current",
"item",
"(",
"current",
"tab",
")",
";"
] |
[
"text",
"size"
] | [
"return",
"m",
"textsize",
";"
] |
[
"dp",
"to",
"px"
] | [
"final",
"float",
"scale",
"=",
"m",
"context",
"get",
"resources",
"(",
")",
"get",
"display",
"metrics",
"(",
")",
"density",
";",
"return",
"(",
"int",
")",
"(",
"dp",
"*",
"scale",
"+",
"0",
"5f",
")",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"skill",
"group",
"to",
"disassociate",
"from",
"a",
"room",
"required",
"<",
"/",
"p",
">"
] | [
"this",
"skill",
"group",
"arn",
"=",
"skill",
"group",
"arn",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"the",
"skill",
"group",
"to",
"disassociate",
"from",
"a",
"room",
"required",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"skill",
"group",
"arn",
";"
] |
[
"<",
"p",
">",
"the",
"arn",
"of",
"a",
"skill",
"group",
"<",
"/",
"p",
">"
] | [
"set",
"skill",
"group",
"arn",
"(",
"skill",
"group",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"updated",
"name",
"for",
"the",
"skill",
"group",
"<",
"/",
"p",
">"
] | [
"this",
"skill",
"group",
"name",
"=",
"skill",
"group",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"updated",
"name",
"for",
"the",
"skill",
"group",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"skill",
"group",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"a",
"skill",
"group",
"<",
"/",
"p",
">"
] | [
"set",
"skill",
"group",
"name",
"(",
"skill",
"group",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"user",
"-",
"defined",
"description",
"of",
"the",
"application",
"<",
"/",
"p",
">"
] | [
"this",
"description",
"=",
"description",
";"
] |
[
"<",
"p",
">",
"user",
"-",
"defined",
"description",
"of",
"the",
"application",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"description",
";"
] |
[
"<",
"p",
">",
"the",
"description",
"of",
"a",
"skill",
"group",
"<",
"/",
"p",
">"
] | [
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"claim",
"code",
"starting",
"with",
"c",
"-",
"as",
"provided",
"by",
"the",
"device",
"manufacturer",
"<",
"/",
"p",
">"
] | [
"this",
"claim",
"code",
"=",
"claim",
"code",
";"
] |
[
"<",
"p",
">",
"the",
"claim",
"code",
"starting",
"with",
"c",
"-",
"as",
"provided",
"by",
"the",
"device",
"manufacturer",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"claim",
"code",
";"
] |
[
"<",
"p",
">",
"the",
"claim",
"code",
"provided",
"by",
"the",
"device",
"manufacturer",
"<",
"/",
"p",
">"
] | [
"set",
"claim",
"code",
"(",
"claim",
"code",
")",
";",
"return",
"this",
";"
] |
[
"the",
"maximum",
"total",
"number",
"of",
"messages",
"that",
"the",
"campaign",
"can",
"send"
] | [
"return",
"this",
"total",
";"
] |
[
"<",
"p",
">",
"the",
"total",
"number",
"of",
"devices",
"associated",
"with",
"the",
"claim",
"code",
"that",
"has",
"been",
"processed",
"in",
"the",
"claim",
"request",
"<",
"/",
"p",
">"
] | [
"set",
"total",
"(",
"total",
")",
";",
"return",
"this",
";"
] |
[
"override",
"to",
"provide",
"different",
"source",
"of",
"characters",
"than",
"{"
] | [
"return",
"input",
"read",
"(",
")",
";"
] |
[
"return",
"a",
"marker",
"that",
"we",
"can",
"release",
"later"
] | [
"if",
"(",
"num",
"markers",
"=",
"=",
"0",
")",
"{",
"last",
"char",
"buffer",
"start",
"=",
"last",
"char",
";",
"}",
"int",
"mark",
"=",
"-",
"num",
"markers",
"-",
"1",
";",
"num",
"markers",
"+",
"+",
";",
"return",
"mark",
";"
] |
[
"/",
"*",
"checks",
"if",
"the",
"value",
"contains",
"any",
"of",
"the",
"password",
"strings",
"and",
"if",
"yes",
"return",
"true"
] | [
"for",
"(",
"string",
"p",
":",
"password",
"strings",
")",
"{",
"if",
"(",
"key",
"to",
"lower",
"case",
"(",
")",
"contains",
"(",
"p",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"create",
"a",
"schema",
"object",
"containing",
"the",
"give",
"column"
] | [
"schema",
"sch",
"=",
"new",
"schema",
"(",
")",
";",
"field",
"schema",
"tmp",
"field",
"schema",
"=",
"new",
"field",
"schema",
"(",
")",
";",
"tmp",
"field",
"schema",
"set",
"name",
"(",
"set",
"column",
"name",
")",
";",
"tmp",
"field",
"schema",
"set",
"type",
"(",
"string",
"type",
"name",
")",
";",
"sch",
"put",
"to",
"properties",
"(",
"serialization",
"null",
"format",
",",
"default",
"null",
"string",
")",
";",
"sch",
"add",
"to",
"field",
"schemas",
"(",
"tmp",
"field",
"schema",
")",
";",
"return",
"sch",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{",
"@",
"link",
"#",
"cl",
"get",
"g",
"l",
"context",
"info",
"k",
"h",
"r",
"get",
"g",
"l",
"context",
"info",
"k",
"h",
"r",
"}"
] | [
"long",
"function",
"address",
"=",
"cl",
"get",
"i",
"c",
"d",
"(",
")",
"cl",
"get",
"g",
"l",
"context",
"info",
"k",
"h",
"r",
";",
"if",
"(",
"checks",
")",
"{",
"check",
"(",
"function",
"address",
")",
";",
"}",
"return",
"call",
"p",
"p",
"p",
"p",
"i",
"(",
"function",
"address",
",",
"properties",
",",
"param",
"name",
",",
"param",
"value",
"size",
",",
"param",
"value",
",",
"param",
"value",
"size",
"ret",
")",
";"
] |
[
"{"
] | [
"return",
"2",
";"
] |
[
"{"
] | [
"register",
"spec",
"list",
"regs",
"=",
"insn",
"get",
"registers",
"(",
")",
";",
"return",
"(",
"insn",
"instanceof",
"simple",
"insn",
")",
"&",
"&",
"(",
"regs",
"size",
"(",
")",
"=",
"=",
"3",
")",
"&",
"&",
"unsigned",
"fits",
"in",
"byte",
"(",
"regs",
"get",
"(",
"0",
")",
"get",
"reg",
"(",
")",
")",
"&",
"&",
"unsigned",
"fits",
"in",
"byte",
"(",
"regs",
"get",
"(",
"1",
")",
"get",
"reg",
"(",
")",
")",
"&",
"&",
"unsigned",
"fits",
"in",
"byte",
"(",
"regs",
"get",
"(",
"2",
")",
"get",
"reg",
"(",
")",
")",
";"
] |
[
"{"
] | [
"register",
"spec",
"list",
"regs",
"=",
"insn",
"get",
"registers",
"(",
")",
";",
"bit",
"set",
"bits",
"=",
"new",
"bit",
"set",
"(",
"3",
")",
";",
"bits",
"set",
"(",
"0",
",",
"unsigned",
"fits",
"in",
"byte",
"(",
"regs",
"get",
"(",
"0",
")",
"get",
"reg",
"(",
")",
")",
")",
";",
"bits",
"set",
"(",
"1",
",",
"unsigned",
"fits",
"in",
"byte",
"(",
"regs",
"get",
"(",
"1",
")",
"get",
"reg",
"(",
")",
")",
")",
";",
"bits",
"set",
"(",
"2",
",",
"unsigned",
"fits",
"in",
"byte",
"(",
"regs",
"get",
"(",
"2",
")",
"get",
"reg",
"(",
")",
")",
")",
";",
"return",
"bits",
";"
] |
[
"{"
] | [
"register",
"spec",
"list",
"regs",
"=",
"insn",
"get",
"registers",
"(",
")",
";",
"write",
"(",
"out",
",",
"opcode",
"unit",
"(",
"insn",
",",
"regs",
"get",
"(",
"0",
")",
"get",
"reg",
"(",
")",
")",
",",
"code",
"unit",
"(",
"regs",
"get",
"(",
"1",
")",
"get",
"reg",
"(",
")",
",",
"regs",
"get",
"(",
"2",
")",
"get",
"reg",
"(",
")",
")",
")",
";"
] |
[
"todo",
"add",
"null",
"tests",
"for",
"other",
"types"
] | [
"put",
"test",
"entities",
"strings",
"(",
")",
";",
"box",
"query",
"(",
")",
"build",
"(",
")",
"property",
"(",
"simple",
"int",
")",
"find",
"strings",
"(",
")",
";"
] |
[
"todo",
"add",
"test",
"for",
"find",
"char"
] | [
"query",
"<",
"test",
"entity",
">",
"query",
"=",
"box",
"query",
"(",
")",
"greater",
"(",
"simple",
"long",
",",
"1002",
")",
"build",
"(",
")",
";",
"assert",
"null",
"(",
"query",
"property",
"(",
"simple",
"byte",
")",
"find",
"byte",
"(",
")",
")",
";",
"assert",
"null",
"(",
"query",
"property",
"(",
"simple",
"byte",
")",
"unique",
"(",
")",
"find",
"byte",
"(",
")",
")",
";",
"put",
"test",
"entities",
"(",
"5",
")",
";",
"assert",
"equals",
"(",
"(",
"byte",
")",
"13",
",",
"(",
"byte",
")",
"query",
"property",
"(",
"simple",
"byte",
")",
"find",
"byte",
"(",
")",
")",
";",
"query",
"=",
"box",
"query",
"(",
")",
"greater",
"(",
"simple",
"long",
",",
"1004",
")",
"build",
"(",
")",
";",
"assert",
"equals",
"(",
"(",
"byte",
")",
"15",
",",
"(",
"byte",
")",
"query",
"property",
"(",
"simple",
"byte",
")",
"distinct",
"(",
")",
"unique",
"(",
")",
"find",
"byte",
"(",
")",
")",
";"
] |
[
"todo"
] | [
"put",
"test",
"entities",
"(",
"5",
")",
";",
"query",
"<",
"test",
"entity",
">",
"query",
"=",
"box",
"query",
"(",
")",
"greater",
"(",
"simple",
"int",
",",
"2",
")",
"build",
"(",
")",
";",
"float",
"[",
"]",
"result",
"=",
"query",
"property",
"(",
"simple",
"float",
")",
"find",
"floats",
"(",
")",
";",
"assert",
"equals",
"(",
"3",
",",
"result",
"length",
")",
";",
"assert",
"equals",
"(",
"200",
"3f",
",",
"result",
"[",
"0",
"]",
",",
"0",
"0",
"0",
"0",
"1f",
")",
";",
"assert",
"equals",
"(",
"200",
"4f",
",",
"result",
"[",
"1",
"]",
",",
"0",
"0",
"0",
"0",
"1f",
")",
";",
"assert",
"equals",
"(",
"200",
"5f",
",",
"result",
"[",
"2",
"]",
",",
"0",
"0",
"0",
"0",
"1f",
")",
";",
"put",
"test",
"entity",
"(",
"null",
",",
"5",
")",
";",
"query",
"=",
"box",
"query",
"(",
")",
"greater",
"(",
"simple",
"int",
",",
"4",
")",
"build",
"(",
")",
";",
"assert",
"equals",
"(",
"2",
",",
"query",
"property",
"(",
"simple",
"float",
")",
"find",
"floats",
"(",
")",
"length",
")",
";",
"assert",
"equals",
"(",
"1",
",",
"query",
"property",
"(",
"simple",
"float",
")",
"distinct",
"(",
")",
"find",
"floats",
"(",
")",
"length",
")",
";"
] |
[
"abstract",
"void",
"pop",
"overflow",
"menu",
"(",
"view",
"v",
")",
";"
] | [
"abstract",
"boolean",
"check",
"valid",
"(",
"publish",
"bean",
"bean",
")",
";"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
] | [
"return",
"this",
"m",
"texture",
"atlas",
"get",
"width",
"(",
")",
";"
] |
[
"most",
"likely",
"this",
"is",
"not",
"the",
"method",
"you",
"d",
"want",
"to",
"be",
"using",
"as",
"the",
"{"
] | [
"this",
"m",
"texture",
"atlas",
"add",
"texture",
"atlas",
"source",
"(",
"p",
"texture",
"atlas",
"source",
",",
"p",
"texture",
"position",
"x",
",",
"p",
"texture",
"position",
"y",
")",
";"
] |
[
"when",
"all",
"{"
] | [
"this",
"m",
"texture",
"atlas",
"sources",
"to",
"place",
"add",
"(",
"new",
"texture",
"atlas",
"source",
"with",
"with",
"location",
"callback",
"<",
"t",
">",
"(",
"p",
"texture",
"atlas",
"source",
",",
"p",
"callback",
")",
")",
";"
] |
[
"removes",
"a",
"{"
] | [
"final",
"array",
"list",
"<",
"texture",
"atlas",
"source",
"with",
"with",
"location",
"callback",
"<",
"t",
">",
">",
"texture",
"sources",
"=",
"this",
"m",
"texture",
"atlas",
"sources",
"to",
"place",
";",
"for",
"(",
"int",
"i",
"=",
"texture",
"sources",
"size",
"(",
")",
"-",
"1",
";",
"i",
">",
"=",
"0",
";",
"i",
"-",
"-",
")",
"{",
"final",
"texture",
"atlas",
"source",
"with",
"with",
"location",
"callback",
"<",
"t",
">",
"texture",
"source",
"=",
"texture",
"sources",
"get",
"(",
"i",
")",
";",
"if",
"(",
"texture",
"source",
"m",
"texture",
"atlas",
"source",
"=",
"=",
"p",
"texture",
"atlas",
"source",
")",
"{",
"texture",
"sources",
"remove",
"(",
"i",
")",
";",
"this",
"m",
"texture",
"atlas",
"set",
"update",
"on",
"hardware",
"needed",
"(",
"true",
")",
";",
"return",
";",
"}",
"}"
] |
[
"may",
"draw",
"over",
"already",
"added",
"{",
"@",
"link",
"i",
"texture",
"atlas",
"source",
"}",
"magic",
"constant"
] | [
"p",
"texture",
"atlas",
"source",
"packing",
"algorithm",
"pack",
"(",
"this",
"m",
"texture",
"atlas",
",",
"this",
"m",
"texture",
"atlas",
"sources",
"to",
"place",
")",
";",
"this",
"m",
"texture",
"atlas",
"sources",
"to",
"place",
"clear",
"(",
")",
";",
"this",
"m",
"texture",
"atlas",
"set",
"update",
"on",
"hardware",
"needed",
"(",
"true",
")",
";"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
] | [
"return",
"this",
"m",
"callback",
";"
] |
[
"create",
"a",
"service",
"discovery",
"request",
"to",
"search",
"all",
"u",
"pn",
"p",
"services"
] | [
"return",
"new",
"wifi",
"p",
"2p",
"upnp",
"service",
"request",
"(",
")",
";"
] |
[
"sub",
"classes",
"can",
"customize",
"the",
"kryo",
"instance",
"by",
"overriding",
"this",
"method"
] | [
"kryo",
"kryo",
"=",
"new",
"kryo",
"(",
")",
";",
"if",
"(",
"class",
"loader",
"!",
"=",
"null",
")",
"{",
"kryo",
"set",
"class",
"loader",
"(",
"class",
"loader",
")",
";",
"}",
"kryo",
"set",
"references",
"(",
"false",
")",
";",
"for",
"(",
"class",
"<",
"?",
">",
"clazz",
":",
"classes",
")",
"{",
"kryo",
"register",
"(",
"clazz",
")",
";",
"}",
"return",
"kryo",
";"
] |
[
"returns",
"the",
"{",
"@",
"link",
"a",
"p",
"i",
"version",
"}",
"value",
"of",
"the",
"specified",
"option"
] | [
"a",
"p",
"i",
"version",
"version",
";",
"object",
"state",
"=",
"option",
"get",
"(",
")",
";",
"if",
"(",
"state",
"instanceof",
"string",
")",
"{",
"version",
"=",
"api",
"parse",
"version",
"(",
"(",
"string",
")",
"state",
",",
"null",
")",
";",
"}",
"else",
"if",
"(",
"state",
"instanceof",
"a",
"p",
"i",
"version",
")",
"{",
"version",
"=",
"(",
"a",
"p",
"i",
"version",
")",
"state",
";",
"}",
"else",
"{",
"version",
"=",
"null",
";",
"}",
"return",
"version",
";"
] |
[
"parses",
"a",
"version",
"string",
"the",
"version",
"string",
"must",
"have",
"the",
"format",
"{",
"@",
"code",
"major",
"minor",
"revision",
"impl",
"}",
"where",
"{",
"@",
"code",
"major",
"}",
"is",
"the",
"major",
"version",
"(",
"integer",
")",
"{",
"@",
"code",
"minor",
"}",
"is",
"the",
"minor",
"version",
"(",
"integer",
")",
"{",
"@",
"code",
"revision",
"}",
"is",
"the",
"revision",
"version",
"(",
"string",
"optional",
")",
"and",
"{",
"@",
"code",
"impl",
"}",
"is",
"implementation",
"-",
"specific",
"information",
"(",
"string",
"optional",
")"
] | [
"return",
"api",
"parse",
"version",
"(",
"version",
",",
"null",
")",
";"
] |
[
"stores",
"the",
"specified",
"array",
"of",
"pointer",
"addresses",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"pointer",
"buffer",
"pointers",
"=",
"mem",
"pointer",
"buffer",
"(",
"stack",
"nmalloc",
"(",
"pointer",
"size",
",",
"addresses",
"length",
"<",
"<",
"pointer",
"shift",
")",
",",
"addresses",
"length",
")",
";",
"for",
"(",
"long",
"address",
":",
"addresses",
")",
"{",
"pointers",
"put",
"(",
"address",
")",
";",
"}",
"return",
"pointers",
"address",
";"
] |
[
"stores",
"the",
"addresses",
"of",
"the",
"specified",
"array",
"of",
"buffers",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"pointer",
"buffer",
"pointers",
"=",
"mem",
"pointer",
"buffer",
"(",
"stack",
"nmalloc",
"(",
"pointer",
"size",
",",
"buffers",
"length",
"<",
"<",
"pointer",
"shift",
")",
",",
"buffers",
"length",
")",
";",
"for",
"(",
"byte",
"buffer",
"buffer",
":",
"buffers",
")",
"{",
"pointers",
"put",
"(",
"buffer",
")",
";",
"}",
"return",
"pointers",
"address",
";"
] |
[
"stores",
"the",
"addresses",
"of",
"the",
"specified",
"array",
"of",
"buffers",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"a",
"second",
"array",
"that",
"contains",
"the",
"buffer",
"remaining",
"bytes",
"is",
"stored",
"immediately",
"after",
"the",
"pointer",
"array",
"length",
"values",
"are",
"pointer",
"-",
"sized",
"integers"
] | [
"long",
"pointers",
"=",
"api",
"array",
"(",
"stack",
",",
"buffers",
")",
";",
"pointer",
"buffer",
"lengths",
"=",
"stack",
"malloc",
"pointer",
"(",
"buffers",
"length",
")",
";",
"for",
"(",
"byte",
"buffer",
"buffer",
":",
"buffers",
")",
"{",
"lengths",
"put",
"(",
"buffer",
"remaining",
"(",
")",
")",
";",
"}",
"return",
"pointers",
";"
] |
[
"encodes",
"the",
"specified",
"strings",
"with",
"the",
"specified",
"{",
"@",
"link",
"encoder",
"}",
"and",
"stores",
"an",
"array",
"of",
"pointers",
"to",
"the",
"encoded",
"data",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"the",
"encoded",
"strings",
"include",
"null",
"-",
"termination"
] | [
"pointer",
"buffer",
"pointers",
"=",
"stack",
"malloc",
"pointer",
"(",
"strings",
"length",
")",
";",
"for",
"(",
"char",
"sequence",
"s",
":",
"strings",
")",
"{",
"pointers",
"put",
"(",
"encoder",
"encode",
"(",
"s",
",",
"true",
")",
")",
";",
"}",
"return",
"pointers",
"address",
";"
] |
[
"encodes",
"the",
"specified",
"strings",
"with",
"the",
"specified",
"{",
"@",
"link",
"encoder",
"}",
"and",
"stores",
"an",
"array",
"of",
"pointers",
"to",
"the",
"encoded",
"data",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"a",
"second",
"array",
"that",
"contains",
"the",
"string",
"lengths",
"is",
"stored",
"immediately",
"after",
"the",
"pointer",
"array",
"length",
"values",
"are",
"pointer",
"-",
"sized",
"integers"
] | [
"pointer",
"buffer",
"pointers",
"=",
"stack",
"malloc",
"pointer",
"(",
"strings",
"length",
")",
";",
"pointer",
"buffer",
"lengths",
"=",
"stack",
"malloc",
"pointer",
"(",
"strings",
"length",
")",
";",
"for",
"(",
"char",
"sequence",
"s",
":",
"strings",
")",
"{",
"byte",
"buffer",
"buffer",
"=",
"encoder",
"encode",
"(",
"s",
",",
"false",
")",
";",
"pointers",
"put",
"(",
"buffer",
")",
";",
"lengths",
"put",
"(",
"buffer",
"capacity",
"(",
")",
")",
";",
"}",
"return",
"pointers",
"address",
";"
] |
[
"frees",
"the",
"specified",
"array",
"of",
"pointers"
] | [
"for",
"(",
"int",
"i",
"=",
"length",
";",
"-",
"-",
"i",
">",
"=",
"0",
";",
")",
"{",
"nmem",
"free",
"(",
"mem",
"get",
"address",
"(",
"pointers",
"+",
"(",
"i",
"<",
"<",
"pointer",
"shift",
")",
")",
")",
";",
"}"
] |
[
"specify",
"the",
"order",
"value",
"for",
"this",
"handler",
"mapping",
"bean",
"<",
"p",
">",
"the",
"default",
"value",
"is",
"{"
] | [
"this",
"order",
"=",
"order",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] | [
"this",
"consumers",
"add",
"(",
"edge",
")",
";"
] |
[
"return",
"first",
"argument",
"if",
"not",
"null",
"otherwise",
"return",
"second",
"argument"
] | [
"return",
"first",
"!",
"=",
"null",
"?",
"first",
":",
"second",
";"
] |
[
"-",
"-",
"-",
"[",
"constant",
"formatting",
"]",
"-",
"-",
"-",
"-"
] | [
"string",
"constants",
"=",
"format",
"constants",
"g",
"l",
"(",
"input",
",",
"prefix",
")",
";",
"if",
"(",
"constants",
"is",
"empty",
"(",
")",
")",
"{",
"constants",
"=",
"format",
"constants",
"enum",
"(",
"input",
",",
"prefix",
")",
";",
"}",
"return",
"constants",
";"
] |
[
"loads",
"the",
"contents",
"of",
"this",
"file",
"into",
"an",
"existing",
"object"
] | [
"return",
"unmarshal",
"(",
"o",
",",
"false",
")",
";"
] |
[
"variant",
"of",
"{"
] | [
"return",
"unmarshal",
"(",
"o",
",",
"true",
")",
";"
] |
[
"returns",
"the",
"xml",
"file",
"read",
"as",
"a",
"string"
] | [
"string",
"writer",
"w",
"=",
"new",
"string",
"writer",
"(",
")",
";",
"write",
"raw",
"to",
"(",
"w",
")",
";",
"return",
"w",
"to",
"string",
"(",
")",
";"
] |
[
"writes",
"the",
"raw",
"xml",
"to",
"the",
"given",
"{"
] | [
"try",
"(",
"reader",
"r",
"=",
"read",
"raw",
"(",
")",
")",
"{",
"i",
"o",
"utils",
"copy",
"(",
"r",
",",
"w",
")",
";",
"}"
] |
[
"to",
"use",
"a",
"custom",
"logger",
"instance"
] | [
"this",
"logger",
"=",
"logger",
";"
] |
[
"if",
"web",
"contents",
"has",
"a",
"session",
"tab",
"helper",
"(",
"probably",
"because",
"it",
"was",
"used",
"as",
"the",
"contents",
"of",
"a",
"tab",
")",
"returns",
"a",
"session",
"tab",
"id",
"returns",
"-",
"1",
"if",
"the",
"web",
"contents",
"has",
"no",
"session",
"tab",
"helper",
"see",
"session",
"tab",
"helper",
":",
":",
"id",
"for",
"tab",
"(",
")",
"in",
"session",
"tab",
"helper",
"h"
] | [
"return",
"native",
"id",
"for",
"tab",
"(",
"web",
"contents",
")",
";"
] |
[
"returns",
"a",
"list",
"of",
"commands",
"to",
"send",
"to",
"a",
"hive",
"driver",
"on",
"the",
"source",
"warehouse"
] | [
"verify",
"actionable",
"(",
")",
";",
"return",
"noop",
"return",
";"
] |
[
"returns",
"a",
"list",
"of",
"commands",
"to",
"send",
"to",
"a",
"hive",
"driver",
"on",
"the",
"dest",
"warehouse"
] | [
"verify",
"actionable",
"(",
")",
";",
"return",
"noop",
"return",
";"
] |
[
"update",
"socket",
"id",
"of",
"all",
"sockets"
] | [
"for",
"(",
"map",
"entry",
"<",
"string",
",",
"socket",
">",
"entry",
":",
"this",
"nsps",
"entry",
"set",
"(",
")",
")",
"{",
"string",
"nsp",
"=",
"entry",
"get",
"key",
"(",
")",
";",
"socket",
"socket",
"=",
"entry",
"get",
"value",
"(",
")",
";",
"socket",
"id",
"=",
"this",
"generate",
"id",
"(",
"nsp",
")",
";",
"}"
] |
[
"initializes",
"{",
"@",
"link",
"socket",
"}",
"instances",
"for",
"each",
"namespaces"
] | [
"socket",
"socket",
"=",
"this",
"nsps",
"get",
"(",
"nsp",
")",
";",
"if",
"(",
"socket",
"=",
"=",
"null",
")",
"{",
"socket",
"=",
"new",
"socket",
"(",
"this",
",",
"nsp",
",",
"opts",
")",
";",
"socket",
"socket",
"=",
"this",
"nsps",
"put",
"if",
"absent",
"(",
"nsp",
",",
"socket",
")",
";",
"if",
"(",
"socket",
"!",
"=",
"null",
")",
"{",
"socket",
"=",
"socket",
";",
"}",
"else",
"{",
"final",
"manager",
"self",
"=",
"this",
";",
"final",
"socket",
"s",
"=",
"socket",
";",
"socket",
"on",
"(",
"socket",
"event",
"connecting",
",",
"new",
"listener",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"call",
"(",
"object",
"args",
")",
"{",
"self",
"connecting",
"add",
"(",
"s",
")",
";",
"}",
"}",
")",
";",
"socket",
"on",
"(",
"socket",
"event",
"connect",
",",
"new",
"listener",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"call",
"(",
"object",
"objects",
")",
"{",
"s",
"id",
"=",
"self",
"generate",
"id",
"(",
"nsp",
")",
";",
"}",
"}",
")",
";",
"}",
"}",
"return",
"socket",
";"
] |
[
"/",
"*",
"package"
] | [
"this",
"connecting",
"remove",
"(",
"socket",
")",
";",
"if",
"(",
"!",
"this",
"connecting",
"is",
"empty",
"(",
")",
")",
"return",
";",
"this",
"close",
"(",
")",
";"
] |
[
"unregister",
"a",
"service",
"registered",
"through",
"{",
"@",
"link",
"#",
"register",
"service",
"}",
"a",
"successful",
"unregister",
"is",
"notified",
"to",
"the",
"application",
"with",
"a",
"call",
"to",
"{",
"@",
"link",
"registration",
"listener",
"#",
"on",
"service",
"unregistered",
"}"
] | [
"int",
"id",
"=",
"get",
"listener",
"key",
"(",
"listener",
")",
";",
"m",
"async",
"channel",
"send",
"message",
"(",
"unregister",
"service",
",",
"0",
",",
"id",
")",
";"
] |
[
"stop",
"service",
"discovery",
"initiated",
"with",
"{",
"@",
"link",
"#",
"discover",
"services",
"}",
"an",
"active",
"service",
"discovery",
"is",
"notified",
"to",
"the",
"application",
"with",
"{",
"@",
"link",
"discovery",
"listener",
"#",
"on",
"discovery",
"started",
"}",
"and",
"it",
"stays",
"active",
"until",
"the",
"application",
"invokes",
"a",
"stop",
"service",
"discovery",
"a",
"successful",
"stop",
"is",
"notified",
"to",
"with",
"a",
"call",
"to",
"{",
"@",
"link",
"discovery",
"listener",
"#",
"on",
"discovery",
"stopped",
"}"
] | [
"int",
"id",
"=",
"get",
"listener",
"key",
"(",
"listener",
")",
";",
"m",
"async",
"channel",
"send",
"message",
"(",
"stop",
"discovery",
",",
"0",
",",
"id",
")",
";"
] |
[
"resolve",
"a",
"discovered",
"service",
"an",
"application",
"can",
"resolve",
"a",
"service",
"right",
"before",
"establishing",
"a",
"connection",
"to",
"fetch",
"the",
"ip",
"and",
"port",
"details",
"on",
"which",
"to",
"setup",
"the",
"connection"
] | [
"check",
"service",
"info",
"(",
"service",
"info",
")",
";",
"int",
"key",
"=",
"put",
"listener",
"(",
"listener",
",",
"service",
"info",
")",
";",
"m",
"async",
"channel",
"send",
"message",
"(",
"resolve",
"service",
",",
"0",
",",
"key",
",",
"service",
"info",
")",
";"
] |
[
"internal",
"use",
"only"
] | [
"try",
"{",
"m",
"service",
"set",
"enabled",
"(",
"enabled",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e",
"rethrow",
"from",
"system",
"server",
"(",
")",
";",
"}"
] |
[
"get",
"a",
"reference",
"to",
"nsd",
"service",
"handler",
"this",
"is",
"used",
"to",
"establish",
"an",
"async",
"channel",
"communication",
"with",
"the",
"service"
] | [
"try",
"{",
"return",
"m",
"service",
"get",
"messenger",
"(",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e",
"rethrow",
"from",
"system",
"server",
"(",
")",
";",
"}"
] |
[
"returns",
"the",
"plugins",
"that",
"threw",
"an",
"exception",
"during",
"initialization"
] | [
"return",
"lists",
"new",
"array",
"list",
"(",
"failed",
"plugins",
")",
";"
] |
[
"returns",
"the",
"plugins",
"that",
"were",
"loaded",
"successfully"
] | [
"return",
"lists",
"new",
"array",
"list",
"(",
"loaded",
"plugins",
")",
";"
] |
[
"sets",
"m",
"command",
"field"
] | [
"m",
"command",
"=",
"command",
";",
"return",
"this",
";"
] |
[
"sets",
"m",
"src",
"path",
"field"
] | [
"m",
"src",
"path",
"=",
"src",
"path",
";",
"return",
"this",
";"
] |
[
"sets",
"m",
"dst",
"path",
"field"
] | [
"m",
"dst",
"path",
"=",
"dst",
"path",
";",
"return",
"this",
";"
] |
[
"sets",
"m",
"ugi",
"field"
] | [
"m",
"ugi",
"=",
"ugi",
";",
"return",
"this",
";"
] |
[
"sets",
"m",
"auth",
"type",
"field"
] | [
"m",
"auth",
"type",
"=",
"auth",
"type",
";",
"return",
"this",
";"
] |
[
"sets",
"m",
"ip",
"field"
] | [
"m",
"ip",
"=",
"ip",
";",
"return",
"this",
";"
] |
[
"sets",
"m",
"src",
"inode",
"field"
] | [
"m",
"src",
"inode",
"=",
"src",
"inode",
";",
"return",
"this",
";"
] |
[
"with",
"{",
"@",
"link",
"fragment",
"}"
] | [
"return",
"new",
"options",
"(",
"new",
"support",
"fragment",
"source",
"(",
"fragment",
")",
")",
";"
] |
[
"with",
"{",
"@",
"link",
"android",
"app",
"fragment",
"}"
] | [
"return",
"new",
"options",
"(",
"new",
"fragment",
"source",
"(",
"fragment",
")",
")",
";"
] |
[
"with",
"context"
] | [
"return",
"new",
"options",
"(",
"new",
"context",
"source",
"(",
"context",
")",
")",
";"
] |
[
"some",
"privileges",
"permanently",
"disabled",
"may",
"need",
"to",
"set",
"up",
"in",
"the",
"execute"
] | [
"return",
"has",
"always",
"denied",
"permission",
"(",
"new",
"support",
"fragment",
"source",
"(",
"fragment",
")",
",",
"denied",
"permissions",
")",
";"
] |
[
"some",
"privileges",
"permanently",
"disabled",
"may",
"need",
"to",
"set",
"up",
"in",
"the",
"execute"
] | [
"return",
"has",
"always",
"denied",
"permission",
"(",
"new",
"fragment",
"source",
"(",
"fragment",
")",
",",
"denied",
"permissions",
")",
";"
] |
[
"some",
"privileges",
"permanently",
"disabled",
"may",
"need",
"to",
"set",
"up",
"in",
"the",
"execute"
] | [
"return",
"has",
"always",
"denied",
"permission",
"(",
"new",
"context",
"source",
"(",
"context",
")",
",",
"denied",
"permissions",
")",
";"
] |
[
"has",
"always",
"been",
"denied",
"permission"
] | [
"for",
"(",
"string",
"permission",
":",
"denied",
"permissions",
")",
"{",
"if",
"(",
"!",
"source",
"is",
"show",
"rationale",
"permission",
"(",
"permission",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"some",
"privileges",
"permanently",
"disabled",
"may",
"need",
"to",
"set",
"up",
"in",
"the",
"execute"
] | [
"return",
"has",
"always",
"denied",
"permission",
"(",
"new",
"support",
"fragment",
"source",
"(",
"fragment",
")",
",",
"denied",
"permissions",
")",
";"
] |
[
"some",
"privileges",
"permanently",
"disabled",
"may",
"need",
"to",
"set",
"up",
"in",
"the",
"execute"
] | [
"return",
"has",
"always",
"denied",
"permission",
"(",
"new",
"fragment",
"source",
"(",
"fragment",
")",
",",
"denied",
"permissions",
")",
";"
] |
[
"some",
"privileges",
"permanently",
"disabled",
"may",
"need",
"to",
"set",
"up",
"in",
"the",
"execute"
] | [
"return",
"has",
"always",
"denied",
"permission",
"(",
"new",
"context",
"source",
"(",
"context",
")",
",",
"denied",
"permissions",
")",
";"
] |
[
"has",
"always",
"been",
"denied",
"permission"
] | [
"for",
"(",
"string",
"permission",
":",
"denied",
"permissions",
")",
"{",
"if",
"(",
"!",
"source",
"is",
"show",
"rationale",
"permission",
"(",
"permission",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"create",
"a",
"service",
"that",
"opens",
"the",
"permission",
"setting",
"page"
] | [
"return",
"and",
"permission",
"with",
"(",
"fragment",
")",
"runtime",
"(",
")",
"setting",
"(",
")",
";"
] |
[
"create",
"a",
"service",
"that",
"opens",
"the",
"permission",
"setting",
"page"
] | [
"return",
"and",
"permission",
"with",
"(",
"fragment",
")",
"runtime",
"(",
")",
"setting",
"(",
")",
";"
] |
[
"create",
"a",
"service",
"that",
"opens",
"the",
"permission",
"setting",
"page"
] | [
"return",
"and",
"permission",
"with",
"(",
"context",
")",
"runtime",
"(",
")",
"setting",
"(",
")",
";"
] |
[
"judgment",
"already",
"has",
"the",
"target",
"permission"
] | [
"return",
"has",
"permissions",
"(",
"fragment",
"get",
"context",
"(",
")",
",",
"permissions",
")",
";"
] |
[
"judgment",
"already",
"has",
"the",
"target",
"permission"
] | [
"return",
"has",
"permissions",
"(",
"fragment",
"get",
"activity",
"(",
")",
",",
"permissions",
")",
";"
] |
[
"judgment",
"already",
"has",
"the",
"target",
"permission"
] | [
"return",
"permission",
"checker",
"has",
"permission",
"(",
"context",
",",
"permissions",
")",
";"
] |
[
"judgment",
"already",
"has",
"the",
"target",
"permission"
] | [
"return",
"has",
"permissions",
"(",
"fragment",
"get",
"context",
"(",
")",
",",
"permissions",
")",
";"
] |
Subsets and Splits