docstring_tokens list | code_tokens list |
|---|---|
[
"convert",
"e",
"bus",
"type",
"uchar"
] | [
"return",
"(",
"short",
")",
"(",
"data",
"&",
"0x",
"f",
"f",
")",
";"
] |
[
"convert",
"e",
"bus",
"type",
"word"
] | [
"return",
"(",
"short",
")",
"(",
"decode",
"int",
"(",
"data",
")",
"&",
"0xffff",
")",
";"
] |
[
"encodes",
"a",
"bcd",
"value"
] | [
"return",
"(",
"byte",
")",
"(",
"(",
"byte",
")",
"(",
"(",
"byte",
")",
"(",
"data",
"/",
"10",
")",
"<",
"<",
"4",
")",
"|",
"data",
"%",
"10",
")",
";"
] |
[
"encodes",
"a",
"char",
"value"
] | [
"return",
"data",
";"
] |
[
"encodes",
"a",
"d",
"a",
"t",
"a",
"1b",
"value"
] | [
"return",
"encode",
"char",
"(",
"data",
")",
";"
] |
[
"encodes",
"a",
"d",
"a",
"t",
"a",
"1c",
"value"
] | [
"return",
"encode",
"u",
"char",
"(",
"(",
"short",
")",
"(",
"data",
"*",
"2",
")",
")",
";"
] |
[
"encodes",
"a",
"d",
"a",
"t",
"a",
"2b",
"value"
] | [
"return",
"encode",
"int",
"(",
"(",
"short",
")",
"(",
"data",
"*",
"256",
")",
")",
";"
] |
[
"encodes",
"a",
"d",
"a",
"t",
"a",
"2c",
"value"
] | [
"return",
"encode",
"int",
"(",
"(",
"short",
")",
"(",
"data",
"*",
"16",
")",
")",
";"
] |
[
"encodes",
"a",
"int",
"value"
] | [
"return",
"new",
"byte",
"[",
"]",
"{",
"(",
"byte",
")",
"(",
"data",
">",
">",
"8",
")",
",",
"(",
"byte",
")",
"data",
"}",
";"
] |
[
"encodes",
"a",
"uchar",
"value"
] | [
"return",
"(",
"byte",
")",
"(",
"data",
"&",
"0x",
"f",
"f",
")",
";"
] |
[
"encodes",
"a",
"word",
"value"
] | [
"return",
"encode",
"int",
"(",
"(",
"short",
")",
"(",
"data",
"&",
"0x",
"f",
"f",
"f",
"f",
")",
")",
";"
] |
[
"get",
"the",
"resulting",
"json",
"output"
] | [
"json",
"generator",
"flush",
"(",
")",
";",
"return",
"writer",
"to",
"string",
"(",
")",
";"
] |
[
"close",
"underlying",
"objects",
"and",
"release",
"their",
"resources"
] | [
"json",
"generator",
"close",
"(",
")",
";",
"writer",
"close",
"(",
")",
";"
] |
[
"write",
"an",
"array",
"of",
"strings"
] | [
"write",
"start",
"array",
"(",
")",
";",
"for",
"(",
"string",
"s",
":",
"value",
")",
"{",
"write",
"string",
"(",
"s",
")",
";",
"}",
"write",
"end",
"array",
"(",
")",
";"
] |
[
"write",
"a",
"map",
"with",
"string",
"keys",
"and",
"values"
] | [
"write",
"start",
"object",
"(",
")",
";",
"write",
"properties",
"(",
"value",
")",
";",
"write",
"end",
"object",
"(",
")",
";"
] |
[
"write",
"a",
"field",
"whose",
"value",
"is",
"a",
"boolean"
] | [
"json",
"generator",
"write",
"boolean",
"field",
"(",
"field",
"name",
",",
"value",
")",
";"
] |
[
"write",
"a",
"field",
"whose",
"value",
"is",
"an",
"integer"
] | [
"json",
"generator",
"write",
"number",
"field",
"(",
"field",
"name",
",",
"value",
")",
";"
] |
[
"write",
"a",
"field",
"whose",
"value",
"is",
"a",
"string"
] | [
"if",
"(",
"required",
"|",
"|",
"value",
"is",
"empty",
"(",
")",
"=",
"=",
"false",
")",
"{",
"json",
"generator",
"write",
"string",
"field",
"(",
"field",
"name",
",",
"value",
")",
";",
"}"
] |
[
"write",
"a",
"field",
"whose",
"value",
"is",
"a",
"string",
"array"
] | [
"if",
"(",
"required",
"|",
"|",
"value",
"is",
"empty",
"(",
")",
"=",
"=",
"false",
")",
"{",
"write",
"field",
"name",
"(",
"field",
"name",
")",
";",
"write",
"string",
"array",
"(",
"value",
")",
";",
"}"
] |
[
"write",
"a",
"field",
"whose",
"value",
"is",
"a",
"map",
"with",
"string",
"keys",
"and",
"values"
] | [
"if",
"(",
"required",
"|",
"|",
"value",
"is",
"empty",
"(",
")",
"=",
"=",
"false",
")",
"{",
"write",
"field",
"name",
"(",
"field",
"name",
")",
";",
"write",
"map",
"(",
"value",
")",
";",
"}"
] |
[
"write",
"data",
"object"
] | [
"jackson",
"data",
"codec",
"object",
"to",
"json",
"generator",
"(",
"object",
",",
"json",
"generator",
")",
";"
] |
[
"write",
"properties",
"by",
"adding",
"each",
"property",
"as",
"a",
"field",
"to",
"current",
"json",
"object"
] | [
"if",
"(",
"value",
"is",
"empty",
"(",
")",
"=",
"=",
"false",
")",
"{",
"for",
"(",
"map",
"entry",
"<",
"string",
",",
"?",
">",
"entry",
":",
"value",
"entry",
"set",
"(",
")",
")",
"{",
"json",
"generator",
"write",
"field",
"name",
"(",
"... |
[
"handle",
"error",
"and",
"set",
"it",
"in",
"response"
] | [
"timeline",
"put",
"error",
"error",
"=",
"new",
"timeline",
"put",
"error",
"(",
")",
";",
"error",
"set",
"entity",
"id",
"(",
"entity",
"get",
"entity",
"id",
"(",
")",
")",
";",
"error",
"set",
"entity",
"type",
"(",
"entity",
"get",
"entity",
"t... |
[
"for",
"a",
"given",
"key",
"/",
"value",
"pair",
"that",
"has",
"been",
"written",
"to",
"the",
"db",
"write",
"additional",
"entries",
"to",
"the",
"db",
"for",
"each",
"primary",
"filter"
] | [
"if",
"(",
"primary",
"filters",
"!",
"=",
"null",
"&",
"&",
"!",
"primary",
"filters",
"is",
"empty",
"(",
")",
")",
"{",
"for",
"(",
"entry",
"<",
"string",
",",
"set",
"<",
"object",
">",
">",
"pf",
":",
"primary",
"filters",
"entry",
"set",
"... |
[
"get",
"the",
"unique",
"start",
"time",
"for",
"a",
"given",
"entity",
"as",
"a",
"byte",
"array",
"that",
"sorts",
"the",
"timestamps",
"in",
"reverse",
"order",
"(",
"see",
"{",
"@",
"link",
"generic",
"object",
"mapper",
"#",
"write",
"reverse",
"ord... | [
"long",
"l",
"=",
"get",
"start",
"time",
"long",
"(",
"entity",
"id",
",",
"entity",
"type",
")",
";",
"return",
"l",
"=",
"=",
"null",
"?",
"null",
":",
"write",
"reverse",
"ordered",
"long",
"(",
"l",
")",
";"
] |
[
"creates",
"a",
"key",
"for",
"looking",
"up",
"the",
"start",
"time",
"of",
"a",
"given",
"entity",
"of",
"the",
"form",
"start",
"time",
"lookup",
"prefix",
"+",
"entity",
"type",
"+",
"entity",
"id"
] | [
"return",
"key",
"builder",
"new",
"instance",
"(",
")",
"add",
"(",
"start",
"time",
"lookup",
"prefix",
")",
"add",
"(",
"entity",
"type",
")",
"add",
"(",
"entity",
"id",
")",
"get",
"bytes",
"(",
")",
";"
] |
[
"creates",
"an",
"entity",
"marker",
"serializing",
"entity",
"entry",
"prefix",
"+",
"entity",
"type",
"+",
"revstarttime",
"+",
"entity",
"id"
] | [
"return",
"key",
"builder",
"new",
"instance",
"(",
")",
"add",
"(",
"entity",
"entry",
"prefix",
")",
"add",
"(",
"entity",
"type",
")",
"add",
"(",
"rev",
"start",
"time",
")",
"add",
"(",
"entity",
"id",
")",
"get",
"bytes",
"for",
"lookup",
"(",
... |
[
"creates",
"an",
"index",
"entry",
"for",
"the",
"given",
"key",
"of",
"the",
"form",
"indexed",
"entry",
"prefix",
"+",
"primaryfiltername",
"+",
"primaryfiltervalue",
"+",
"key"
] | [
"return",
"key",
"builder",
"new",
"instance",
"(",
")",
"add",
"(",
"indexed",
"entry",
"prefix",
")",
"add",
"(",
"primary",
"filter",
"name",
")",
"add",
"(",
"generic",
"object",
"mapper",
"write",
"(",
"primary",
"filter",
"value",
")",
",",
"true",... |
[
"creates",
"an",
"event",
"key",
"serializing",
"entity",
"entry",
"prefix",
"+",
"entity",
"type",
"+",
"revstarttime",
"+",
"entity",
"id",
"+",
"events",
"column",
"+",
"reveventtimestamp",
"+",
"event",
"type"
] | [
"return",
"key",
"builder",
"new",
"instance",
"(",
")",
"add",
"(",
"entity",
"entry",
"prefix",
")",
"add",
"(",
"entity",
"type",
")",
"add",
"(",
"rev",
"start",
"time",
")",
"add",
"(",
"entity",
"id",
")",
"add",
"(",
"events",
"column",
")",
... |
[
"creates",
"a",
"primary",
"filter",
"key",
"serializing",
"entity",
"entry",
"prefix",
"+",
"entity",
"type",
"+",
"revstarttime",
"+",
"entity",
"id",
"+",
"primary",
"filters",
"column",
"+",
"name",
"+",
"value"
] | [
"return",
"key",
"builder",
"new",
"instance",
"(",
")",
"add",
"(",
"entity",
"entry",
"prefix",
")",
"add",
"(",
"entity",
"type",
")",
"add",
"(",
"rev",
"start",
"time",
")",
"add",
"(",
"entity",
"id",
")",
"add",
"(",
"primary",
"filters",
"col... |
[
"parses",
"the",
"primary",
"filter",
"from",
"the",
"given",
"key",
"at",
"the",
"given",
"offset",
"and",
"adds",
"it",
"to",
"the",
"given",
"entity"
] | [
"key",
"parser",
"kp",
"=",
"new",
"key",
"parser",
"(",
"key",
",",
"offset",
")",
";",
"string",
"name",
"=",
"kp",
"get",
"next",
"string",
"(",
")",
";",
"object",
"value",
"=",
"generic",
"object",
"mapper",
"read",
"(",
"key",
",",
"kp",
"get... |
[
"creates",
"an",
"other",
"info",
"key",
"serializing",
"entity",
"entry",
"prefix",
"+",
"entity",
"type",
"+",
"revstarttime",
"+",
"entity",
"id",
"+",
"other",
"info",
"column",
"+",
"name"
] | [
"return",
"key",
"builder",
"new",
"instance",
"(",
")",
"add",
"(",
"entity",
"entry",
"prefix",
")",
"add",
"(",
"entity",
"type",
")",
"add",
"(",
"rev",
"start",
"time",
")",
"add",
"(",
"entity",
"id",
")",
"add",
"(",
"other",
"info",
"column",... |
[
"creates",
"a",
"related",
"entity",
"key",
"serializing",
"entity",
"entry",
"prefix",
"+",
"entity",
"type",
"+",
"revstarttime",
"+",
"entity",
"id",
"+",
"related",
"entities",
"column",
"+",
"relatedentity",
"type",
"+",
"relatedentity",
"id"
] | [
"return",
"key",
"builder",
"new",
"instance",
"(",
")",
"add",
"(",
"entity",
"entry",
"prefix",
")",
"add",
"(",
"entity",
"type",
")",
"add",
"(",
"rev",
"start",
"time",
")",
"add",
"(",
"entity",
"id",
")",
"add",
"(",
"related",
"entities",
"co... |
[
"parses",
"the",
"related",
"entity",
"from",
"the",
"given",
"key",
"at",
"the",
"given",
"offset",
"and",
"adds",
"it",
"to",
"the",
"given",
"entity"
] | [
"key",
"parser",
"kp",
"=",
"new",
"key",
"parser",
"(",
"key",
",",
"offset",
")",
";",
"string",
"type",
"=",
"kp",
"get",
"next",
"string",
"(",
")",
";",
"string",
"id",
"=",
"kp",
"get",
"next",
"string",
"(",
")",
";",
"entity",
"add",
"rel... |
[
"creates",
"a",
"reverse",
"related",
"entity",
"key",
"serializing",
"entity",
"entry",
"prefix",
"+",
"entity",
"type",
"+",
"revstarttime",
"+",
"entity",
"id",
"+",
"invisible",
"reverse",
"related",
"entities",
"column",
"+",
"relatedentity",
"type",
"+",
... | [
"return",
"key",
"builder",
"new",
"instance",
"(",
")",
"add",
"(",
"entity",
"entry",
"prefix",
")",
"add",
"(",
"entity",
"type",
")",
"add",
"(",
"rev",
"start",
"time",
")",
"add",
"(",
"entity",
"id",
")",
"add",
"(",
"invisible",
"reverse",
"r... |
[
"creates",
"a",
"domain",
"id",
"key",
"serializing",
"entity",
"entry",
"prefix",
"+",
"entity",
"type",
"+",
"revstarttime",
"+",
"entity",
"id",
"+",
"domain",
"id",
"column"
] | [
"return",
"key",
"builder",
"new",
"instance",
"(",
")",
"add",
"(",
"entity",
"entry",
"prefix",
")",
"add",
"(",
"entity",
"type",
")",
"add",
"(",
"rev",
"start",
"time",
")",
"add",
"(",
"entity",
"id",
")",
"add",
"(",
"domain",
"id",
"column",
... |
[
"clears",
"the",
"cache",
"to",
"test",
"reloading",
"start",
"times",
"from",
"leveldb",
"(",
"only",
"for",
"testing",
")"
] | [
"start",
"time",
"write",
"cache",
"clear",
"(",
")",
";",
"start",
"time",
"read",
"cache",
"clear",
"(",
")",
";"
] |
[
"finds",
"all",
"keys",
"in",
"the",
"db",
"that",
"have",
"a",
"given",
"prefix",
"and",
"deletes",
"them",
"on",
"the",
"given",
"write",
"batch"
] | [
"for",
"(",
"iterator",
"seek",
"(",
"prefix",
")",
";",
"iterator",
"has",
"next",
"(",
")",
";",
"iterator",
"next",
"(",
")",
")",
"{",
"byte",
"[",
"]",
"key",
"=",
"iterator",
"peek",
"next",
"(",
")",
"get",
"key",
"(",
")",
";",
"if",
"(... |
[
"only",
"used",
"for",
"test"
] | [
"db",
"store",
"version",
"(",
"state",
")",
";"
] |
[
"creates",
"a",
"domain",
"entity",
"key",
"with",
"column",
"name",
"suffix",
"of",
"the",
"form",
"domain",
"entry",
"prefix",
"+",
"domain",
"id",
"+",
"column",
"name"
] | [
"return",
"key",
"builder",
"new",
"instance",
"(",
")",
"add",
"(",
"domain",
"entry",
"prefix",
")",
"add",
"(",
"domain",
"id",
")",
"add",
"(",
"column",
"name",
")",
"get",
"bytes",
"(",
")",
";"
] |
[
"creates",
"an",
"owner",
"lookup",
"key",
"with",
"column",
"name",
"suffix",
"of",
"the",
"form",
"owner",
"lookup",
"prefix",
"+",
"owner",
"+",
"domain",
"id",
"+",
"column",
"name"
] | [
"return",
"key",
"builder",
"new",
"instance",
"(",
")",
"add",
"(",
"owner",
"lookup",
"prefix",
")",
"add",
"(",
"owner",
")",
"add",
"(",
"domain",
"id",
")",
"add",
"(",
"column",
"name",
")",
"get",
"bytes",
"(",
")",
";"
] |
[
"solution",
"is",
"simple",
"do",
"level",
"order",
"traversal",
"in",
"binary",
"search",
"tree",
"and",
"for",
"each",
"level",
"nodes",
"get",
"all",
"possible",
"permutations",
"to",
"make",
"new",
"lists"
] | [
"list",
"<",
"list",
"<",
"integer",
">",
">",
"lists",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"if",
"(",
"root",
"=",
"=",
"null",
")",
"return",
"lists",
";",
"list",
"<",
"integer",
">",
"list",
"=",
"new",
"array",
"list",
"<... |
[
"adds",
"the",
"{"
] | [
"if",
"(",
"license",
"state",
"is",
"auth",
"allowed",
"(",
")",
")",
"{",
"search",
"context",
"scroll",
"context",
"(",
")",
"put",
"in",
"context",
"(",
"authentication",
"field",
"authentication",
"key",
",",
"authentication",
"get",
"authentication",
"... |
[
"checks",
"for",
"the",
"{"
] | [
"if",
"(",
"license",
"state",
"is",
"auth",
"allowed",
"(",
")",
")",
"{",
"if",
"(",
"search",
"context",
"scroll",
"context",
"(",
")",
"!",
"=",
"null",
")",
"{",
"final",
"authentication",
"original",
"auth",
"=",
"search",
"context",
"scroll",
"c... |
[
"returns",
"an",
"immutable",
"list",
"with",
"all",
"alternative",
"snapshots",
"to",
"restore",
"the",
"managed",
"operator",
"state",
"in",
"the",
"order",
"in",
"which",
"we",
"should",
"attempt",
"to",
"restore"
] | [
"return",
"prioritized",
"managed",
"operator",
"state",
";"
] |
[
"returns",
"an",
"immutable",
"list",
"with",
"all",
"alternative",
"snapshots",
"to",
"restore",
"the",
"raw",
"operator",
"state",
"in",
"the",
"order",
"in",
"which",
"we",
"should",
"attempt",
"to",
"restore"
] | [
"return",
"prioritized",
"raw",
"operator",
"state",
";"
] |
[
"returns",
"an",
"immutable",
"list",
"with",
"all",
"alternative",
"snapshots",
"to",
"restore",
"the",
"managed",
"keyed",
"state",
"in",
"the",
"order",
"in",
"which",
"we",
"should",
"attempt",
"to",
"restore"
] | [
"return",
"prioritized",
"managed",
"keyed",
"state",
";"
] |
[
"returns",
"an",
"immutable",
"list",
"with",
"all",
"alternative",
"snapshots",
"to",
"restore",
"the",
"raw",
"keyed",
"state",
"in",
"the",
"order",
"in",
"which",
"we",
"should",
"attempt",
"to",
"restore"
] | [
"return",
"prioritized",
"raw",
"keyed",
"state",
";"
] |
[
"returns",
"the",
"managed",
"operator",
"state",
"from",
"the",
"job",
"manager",
"which",
"represents",
"the",
"ground",
"truth",
"about",
"what",
"this",
"state",
"should",
"represent",
"this",
"is",
"the",
"alternative",
"with",
"lowest",
"priority"
] | [
"return",
"last",
"element",
"(",
"prioritized",
"managed",
"operator",
"state",
")",
";"
] |
[
"returns",
"the",
"raw",
"operator",
"state",
"from",
"the",
"job",
"manager",
"which",
"represents",
"the",
"ground",
"truth",
"about",
"what",
"this",
"state",
"should",
"represent",
"this",
"is",
"the",
"alternative",
"with",
"lowest",
"priority"
] | [
"return",
"last",
"element",
"(",
"prioritized",
"raw",
"operator",
"state",
")",
";"
] |
[
"returns",
"the",
"managed",
"keyed",
"state",
"from",
"the",
"job",
"manager",
"which",
"represents",
"the",
"ground",
"truth",
"about",
"what",
"this",
"state",
"should",
"represent",
"this",
"is",
"the",
"alternative",
"with",
"lowest",
"priority"
] | [
"return",
"last",
"element",
"(",
"prioritized",
"managed",
"keyed",
"state",
")",
";"
] |
[
"returns",
"the",
"raw",
"keyed",
"state",
"from",
"the",
"job",
"manager",
"which",
"represents",
"the",
"ground",
"truth",
"about",
"what",
"this",
"state",
"should",
"represent",
"this",
"is",
"the",
"alternative",
"with",
"lowest",
"priority"
] | [
"return",
"last",
"element",
"(",
"prioritized",
"raw",
"keyed",
"state",
")",
";"
] |
[
"returns",
"an",
"empty",
"{"
] | [
"return",
"empty",
"non",
"restored",
"instance",
";"
] |
[
"accept",
"the",
"visitor",
"*"
] | [
"return",
"visitor",
"visit",
"(",
"this",
",",
"data",
")",
";"
] |
[
"{"
] | [
"ignite",
"configuration",
"c",
"=",
"super",
"get",
"configuration",
"(",
"ignite",
"instance",
"name",
")",
";",
"tcp",
"discovery",
"spi",
"disco",
"spi",
"=",
"new",
"tcp",
"discovery",
"spi",
"(",
")",
";",
"disco",
"spi",
"set",
"ip",
"finder",
"("... |
[
"{"
] | [
"writer",
"set",
"buffer",
"(",
"buf",
")",
";",
"if",
"(",
"!",
"writer",
"write",
"header",
"(",
"direct",
"type",
"(",
")",
",",
"(",
"byte",
")",
"0",
")",
")",
"return",
"false",
";",
"return",
"true",
";"
] |
[
"{"
] | [
"return",
"true",
";"
] |
[
"{"
] | [
"return",
"direct",
"type",
";"
] |
[
"{"
] | [
"return",
"0",
";"
] |
[
"{"
] | [
"return",
"direct",
"type",
"over",
"byte",
";"
] |
[
"construct",
"a",
"synchronous",
"implementation",
"of",
"amazon",
"simple",
"workflow",
"using",
"the",
"current",
"builder",
"configuration"
] | [
"return",
"new",
"amazon",
"simple",
"workflow",
"client",
"(",
"params",
")",
";"
] |
[
"whether",
"to",
"allow",
"in",
"inlined",
"simple",
"exceptions",
"in",
"the",
"json",
"path",
"expression"
] | [
"this",
"allow",
"simple",
"=",
"allow",
"simple",
";"
] |
[
"whether",
"to",
"allow",
"using",
"the",
"easy",
"predicate",
"parser",
"to",
"pre",
"-",
"parse",
"predicates",
"see",
"{"
] | [
"this",
"allow",
"easy",
"predicate",
"=",
"allow",
"easy",
"predicate",
";"
] |
[
"whether",
"to",
"write",
"the",
"output",
"of",
"each",
"row",
"/",
"element",
"as",
"a",
"j",
"son",
"string",
"value",
"instead",
"of",
"a",
"map",
"/",
"pojo",
"value"
] | [
"this",
"write",
"as",
"string",
"=",
"write",
"as",
"string",
";"
] |
[
"name",
"of",
"header",
"to",
"use",
"as",
"input",
"instead",
"of",
"the",
"message",
"body"
] | [
"this",
"header",
"name",
"=",
"header",
"name",
";"
] |
[
"request",
"and",
"store",
"given",
"resources"
] | [
"s",
"q",
"lite",
"open",
"helper",
"helper",
"=",
"helper",
"provider",
"get",
"(",
")",
";",
"try",
"{",
"return",
"request",
"and",
"store",
"(",
"helper",
",",
"persistable",
"resource",
")",
";",
"}",
"finally",
"{",
"helper",
"close",
"(",
")",
... |
[
"the",
"properties",
"used",
"to",
"build",
"the",
"connection"
] | [
"properties",
"connection",
"properties",
"=",
"new",
"properties",
"(",
")",
";",
"connection",
"properties",
"put",
"(",
"jdbc",
"configuration",
"time",
"zone",
",",
"random",
"known",
"time",
"zone",
"(",
")",
")",
";",
"return",
"connection",
"properties"... |
[
"the",
"error",
"type"
] | [
"set",
"type",
"(",
"type",
")",
";",
"return",
"this",
";"
] |
[
"read",
"all",
"remaining",
"bytes"
] | [
"if",
"(",
"pos",
"=",
"=",
"0",
"&",
"&",
"count",
"=",
"=",
"buf",
"length",
")",
"{",
"pos",
"=",
"count",
";",
"return",
"buf",
";",
"}",
"byte",
"[",
"]",
"ret",
"=",
"new",
"byte",
"[",
"count",
"-",
"pos",
"]",
";",
"super",
"read",
... |
[
"adds",
"the",
"annotation",
"to",
"the",
"internal",
"target",
"list",
"if",
"a",
"match",
"is",
"found"
] | [
"super",
"visit",
"annotations",
"(",
"node",
")",
";",
"for",
"(",
"annotation",
"node",
"an",
":",
"node",
"get",
"annotations",
"(",
")",
")",
"{",
"string",
"name",
"=",
"an",
"get",
"class",
"node",
"(",
")",
"get",
"name",
"(",
")",
";",
"if"... |
[
"state",
"controller",
"interface"
] | [
"if",
"(",
"task",
"status",
"has",
"idle",
"constraint",
"(",
")",
")",
"{",
"m",
"tracked",
"tasks",
"add",
"(",
"task",
"status",
")",
";",
"task",
"status",
"set",
"tracking",
"controller",
"(",
"job",
"status",
"tracking",
"idle",
")",
";",
"task"... |
[
"interaction",
"with",
"the",
"task",
"manager",
"service"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"m",
"tracked",
"tasks",
"size",
"(",
")",
"-",
"1",
";",
"i",
">",
"=",
"0",
";",
"i",
"-",
"-",
")",
"{",
"m",
"tracked",
"tasks",
"value",
"at",
"(",
"i",
")",
"set... |
[
"idle",
"state",
"tracking",
"and",
"messaging",
"with",
"the",
"task",
"manager",
"when",
"significant",
"state",
"changes",
"occur"
] | [
"m",
"inactivity",
"idle",
"threshold",
"=",
"m",
"context",
"get",
"resources",
"(",
")",
"get",
"integer",
"(",
"com",
"android",
"internal",
"r",
"integer",
"config",
"job",
"scheduler",
"inactivity",
"idle",
"threshold",
")",
";",
"m",
"idle",
"window",
... |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"s",
"type",
"(",
"s",
"type",
")",
";",
"p",
"next",
"(",
"p",
"next",
")",
";",
"p",
"attributes",
"(",
"p",
"attributes",
")",
";",
"dw",
"access",
"(",
"dw",
"access",
")",
";",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"class",
",",
"mem",
"address",
"(",
"contain... |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
"the"... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"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",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"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",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
... | [
"return",
"wrap",
"(",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initia... | [
"return",
"calloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all"... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"stype",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"pnext",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"security",
"attributes",
"create",
"safe",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"pattributes",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"dwaccess",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"byte",
"buffer",
"n",
"t",
"2",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"name",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"u",
"t",
"f",
"1",
"6",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"name",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"k",
"h",
"r",
"stype",
",",
"value",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.