docstring_tokens list | code_tokens list |
|---|---|
[
"shard",
"id",
"for",
"dl",
"write",
"proxy"
] | [
"return",
"shard",
";"
] |
[
"returns",
"the",
"value",
"of",
"the",
"{"
] | [
"return",
"n",
"samples",
"count",
"(",
"address",
"(",
")",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"n",
"samples",
"count",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"samples",
"(",
"samples",
")",
";",
"samples",
"count",
"(",
"samples",
"count",
")",
";",
"submit",
"mode",
"(",
"submit",
"mode",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"o",
"v",
"r",
"haptics",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"o",
"v",
"r",
"haptics",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"o",
"v",
"r",
"haptics",
"buffer",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"o",
"v",
"r",
"haptics",
"buffer",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"o",
"v",
"r",
"haptics",
"buffer",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"o",
"v",
"r",
"haptics",
"buffer",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"f... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"o",
"v",
"r",
"haptics",
"buffer",
"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",
"o",
"v",
"r",
"haptics",
"buffer",
"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",
"o",
"v",
"r",
"haptics",
"buffer",
"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",
"o",
"v",
"r",
"haptics",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"o",
"v",
"r",
"haptics",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"o",
"v",
"r",
"haptics",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] | [
"return",
"wrap",
"(",
"o",
"v",
"r",
"haptics",
"buffer",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"o",
"v",
"r",
"haptics",
"buffer",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"o",
"v",
"r",
"haptics",
"buffer",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"... | [
"return",
"calloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"o",
"v",
"r",
"haptics",
"buffer",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"o",
"v",
"r",
"haptics",
"buffer",
"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",
"byte",
"buffer",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"o",
"v",
"r",
"haptics",
"buffer",
"samples",
")",
",",
"capacity",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"o",
"v",
"r",
"haptics",
"buffer",
"samplescount",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"o",
"v",
"r",
"haptics",
"buffer",
"submitmode",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"o",
"v",
"r",
"haptics",
"buffer",
"samples",
",",
"mem",
"address",
"(",
"value",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"o",
"v",
"r",
"haptics",
"buffer",
"samplescount",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"o",
"v",
"r",
"haptics",
"buffer",
"submitmode",
",",
"value",
")",
";"
] |
[
"validates",
"pointer",
"members",
"that",
"should",
"not",
"be",
"{",
"@",
"code",
"null",
"}"
] | [
"check",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"o",
"v",
"r",
"haptics",
"buffer",
"samples",
")",
")",
";"
] |
[
"returns",
"the",
"value",
"of",
"the",
"{"
] | [
"return",
"o",
"v",
"r",
"haptics",
"buffer",
"n",
"samples",
"count",
"(",
"address",
"(",
")",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"o",
"v",
"r",
"haptics",
"buffer",
"n",
"samples",
"count",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"invoke",
"the",
"health",
"check"
] | [
"protected",
"abstract",
"void",
"do",
"call",
"(",
"health",
"check",
"result",
"builder",
"builder",
",",
"map",
"<",
"string",
",",
"object",
">",
"options",
")",
";"
] |
[
"retrieves",
"the",
"dragged",
"object",
"from",
"a",
"transferable",
"object"
] | [
"try",
"{",
"return",
"transferable",
"get",
"transfer",
"data",
"(",
"m",
"flavor",
")",
";",
"}",
"catch",
"(",
"unsupported",
"flavor",
"exception",
"|",
"i",
"o",
"exception",
"exception",
")",
"{",
"c",
"utility",
"functions",
"log",
"exception",
"(",... |
[
"asks",
"the",
"implementing",
"subclasses",
"whether",
"they",
"can",
"handle",
"drag",
"&",
"drop",
"events",
"with",
"the",
"given",
"parent",
"node",
"and",
"the",
"given",
"dragged",
"object"
] | [
"protected",
"abstract",
"boolean",
"can",
"handle",
"(",
"default",
"mutable",
"tree",
"node",
"parent",
"node",
",",
"object",
"data",
")",
";"
] |
[
"asks",
"the",
"implementing",
"subclass",
"to",
"execute",
"a",
"drag",
"&",
"drop",
"event",
"it",
"is",
"guaranteed",
"that",
"this",
"method",
"is",
"only",
"called",
"if",
"the",
"can",
"handle",
"method",
"returned",
"true",
"for",
"the",
"given",
"a... | [
"protected",
"abstract",
"void",
"drop",
"(",
"default",
"mutable",
"tree",
"node",
"parent",
"node",
",",
"object",
"data",
")",
";"
] |
[
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"... | [
"return",
"file",
"name",
";"
] |
[
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"... | [
"return",
"new",
"blind",
"vote",
"store",
"(",
")",
";"
] |
[
"computes",
"the",
"estimates",
"for",
"the",
"filter",
"operator",
"since",
"it",
"applies",
"a",
"filter",
"on",
"the",
"data",
"we",
"assume",
"a",
"cardinality",
"decrease",
"to",
"give",
"the",
"system",
"a",
"hint",
"at",
"data",
"decrease",
"we",
"u... | [
"this",
"estimated",
"num",
"records",
"=",
"(",
"long",
")",
"(",
"get",
"predecessor",
"node",
"(",
")",
"get",
"estimated",
"num",
"records",
"(",
")",
"*",
"0",
"5",
")",
";",
"this",
"estimated",
"output",
"size",
"=",
"(",
"long",
")",
"(",
"... |
[
"/",
"*"
] | [
"return",
"new",
"point",
"(",
"f",
"replacement",
"position",
"get",
"offset",
"(",
")",
"+",
"f",
"cursor",
"position",
",",
"0",
")",
";"
] |
[
"/",
"*"
] | [
"return",
"f",
"context",
"information",
";"
] |
[
"/",
"*"
] | [
"return",
"f",
"image",
";"
] |
[
"/",
"*"
] | [
"if",
"(",
"f",
"display",
"string",
"!",
"=",
"null",
")",
"return",
"f",
"display",
"string",
";",
"return",
"f",
"replacement",
"string",
";"
] |
[
"/",
"*"
] | [
"return",
"f",
"additional",
"proposal",
"info",
";"
] |
[
"/",
"*"
] | [
"apply",
"(",
"viewer",
"get",
"document",
"(",
")",
")",
";"
] |
[
"/",
"*"
] | [] |
[
"/",
"*"
] | [] |
[
"/",
"*"
] | [
"return",
"f",
"trigger",
"characters",
";"
] |
[
"/",
"*"
] | [
"return",
"f",
"replacement",
"position",
"get",
"offset",
"(",
")",
";"
] |
[
"determines",
"whether",
"the",
"current",
"service",
"is",
"a",
"valid",
"service",
"for",
"export"
] | [
"return",
"!",
"strings",
"is",
"null",
"or",
"empty",
"(",
"service",
"name",
")",
";"
] |
[
"determines",
"whether",
"the",
"current",
"service",
"is",
"a",
"valid",
"service",
"for",
"import"
] | [
"return",
"!",
"strings",
"is",
"null",
"or",
"empty",
"(",
"service",
"name",
")",
";"
] |
[
"determines",
"whether",
"the",
"current",
"service",
"is",
"a",
"valid",
"service",
"for",
"import"
] | [
"return",
"!",
"strings",
"is",
"null",
"or",
"empty",
"(",
"transfer",
"data",
"type",
")",
";"
] |
[
"<",
"p",
">",
"the",
"system",
"-",
"generated",
"i",
"ds",
"of",
"the",
"pull",
"requests",
"<",
"/",
"p",
">"
] | [
"return",
"pull",
"request",
"ids",
";"
] |
[
"<",
"p",
">",
"the",
"system",
"-",
"generated",
"i",
"ds",
"of",
"the",
"pull",
"requests",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"pull",
"request",
"ids",
"=",
"=",
"null",
")",
"{",
"this",
"pull",
"request",
"ids",
"=",
"null",
";",
"return",
";",
"}",
"this",
"pull",
"request",
"ids",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"pull",... |
[
"<",
"p",
">",
"the",
"system",
"-",
"generated",
"i",
"ds",
"of",
"the",
"pull",
"requests",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existin... | [
"if",
"(",
"this",
"pull",
"request",
"ids",
"=",
"=",
"null",
")",
"{",
"set",
"pull",
"request",
"ids",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"pull",
"request",
"ids",
"length",
")",
")",
";",
"}",
"for",
"(",
"s... |
[
"<",
"p",
">",
"the",
"system",
"-",
"generated",
"i",
"ds",
"of",
"the",
"pull",
"requests",
"<",
"/",
"p",
">"
] | [
"set",
"pull",
"request",
"ids",
"(",
"pull",
"request",
"ids",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"enumeration",
"token",
"that",
"when",
"provided",
"in",
"a",
"request",
"returns",
"the",
"next",
"batch",
"of",
"the",
"results",
"<",
"/",
"p",
">"
] | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"this",
"method",
"allows",
"you",
"to",
"configure",
"desired",
"sparsity",
"/",
"density",
"ratio",
"for",
"updates",
"pass",
"it",
"as",
"float",
"/",
"double",
"value"
] | [
"super",
"configure",
"(",
"vars",
")",
";"
] |
[
"<",
"p",
">",
"the",
"language",
"code",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"en",
"<",
"/",
"code",
">",
"-",
"english",
"(",
"default",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<... | [
"this",
"accept",
"language",
"=",
"accept",
"language",
";"
] |
[
"<",
"p",
">",
"the",
"language",
"code",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"en",
"<",
"/",
"code",
">",
"-",
"english",
"(",
"default",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<... | [
"return",
"this",
"accept",
"language",
";"
] |
[
"<",
"p",
">",
"the",
"language",
"code",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"en",
"<",
"/",
"code",
">",
"-",
"english",
"(",
"default",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<... | [
"set",
"accept",
"language",
"(",
"accept",
"language",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"access",
"level",
"to",
"use",
"to",
"obtain",
"results",
"the",
"default",
"is",
"<",
"code",
">",
"user",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"this",
"access",
"level",
"filter",
"=",
"access",
"level",
"filter",
";"
] |
[
"<",
"p",
">",
"the",
"access",
"level",
"to",
"use",
"to",
"obtain",
"results",
"the",
"default",
"is",
"<",
"code",
">",
"user",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"access",
"level",
"filter",
";"
] |
[
"<",
"p",
">",
"the",
"access",
"level",
"to",
"use",
"to",
"obtain",
"results",
"the",
"default",
"is",
"<",
"code",
">",
"user",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"access",
"level",
"filter",
"(",
"access",
"level",
"filter",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"search",
"filters",
"if",
"no",
"search",
"filters",
"are",
"specified",
"the",
"output",
"includes",
"all",
"products",
"to",
"which",
"the",
"administrator",
"has",
"access",
"<",
"/",
"p",
">"
] | [
"return",
"filters",
";"
] |
[
"<",
"p",
">",
"the",
"search",
"filters",
"if",
"no",
"search",
"filters",
"are",
"specified",
"the",
"output",
"includes",
"all",
"products",
"to",
"which",
"the",
"administrator",
"has",
"access",
"<",
"/",
"p",
">"
] | [
"this",
"filters",
"=",
"filters",
";"
] |
[
"<",
"p",
">",
"the",
"search",
"filters",
"<",
"/",
"p",
">",
"<",
"p",
">",
"when",
"the",
"key",
"is",
"<",
"code",
">",
"search",
"query",
"<",
"/",
"code",
">",
"the",
"searchable",
"fields",
"are",
"<",
"code",
">",
"arn",
"<",
"/",
"code... | [
"set",
"filters",
"(",
"filters",
")",
";",
"return",
"this",
";"
] |
[
"removes",
"all",
"the",
"entries",
"added",
"into",
"filters"
] | [
"this",
"filters",
"=",
"null",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"sort",
"field",
"if",
"no",
"value",
"is",
"specified",
"the",
"results",
"are",
"not",
"sorted",
"the",
"valid",
"values",
"are",
"<",
"code",
">",
"arn",
"<",
"/",
"code",
">",
"<",
"code",
">",
"id",
"<",
"/",
"code",
">... | [
"set",
"sort",
"by",
"(",
"sort",
"by",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"sort",
"order",
"if",
"no",
"value",
"is",
"specified",
"the",
"results",
"are",
"not",
"sorted",
"<",
"/",
"p",
">"
] | [
"set",
"sort",
"order",
"(",
"sort",
"order",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"sort",
"order",
"if",
"no",
"value",
"is",
"specified",
"the",
"results",
"are",
"not",
"sorted",
"<",
"/",
"p",
">"
] | [
"this",
"sort",
"order",
"=",
"sort",
"order",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"number",
"of",
"items",
"to",
"return",
"with",
"this",
"call",
"<",
"/",
"p",
">"
] | [
"this",
"page",
"size",
"=",
"page",
"size",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"number",
"of",
"items",
"to",
"return",
"with",
"this",
"call",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"page",
"size",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"number",
"of",
"items",
"to",
"return",
"with",
"this",
"call",
"<",
"/",
"p",
">"
] | [
"set",
"page",
"size",
"(",
"page",
"size",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"page",
"token",
"for",
"the",
"next",
"set",
"of",
"results",
"to",
"retrieve",
"the",
"first",
"set",
"of",
"results",
"use",
"null",
"<",
"/",
"p",
">"
] | [
"set",
"page",
"token",
"(",
"page",
"token",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"unique",
"id",
"for",
"this",
"stack",
"set",
"operation",
"<",
"/",
"p",
">"
] | [
"this",
"operation",
"id",
"=",
"operation",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"unique",
"id",
"for",
"this",
"stack",
"set",
"operation",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"operation",
"id",
";"
] |
[
"<",
"p",
">",
"identifier",
"for",
"tracking",
"the",
"progress",
"of",
"the",
"request",
"to",
"use",
"this",
"id",
"to",
"query",
"the",
"operation",
"status",
"use",
"get",
"operation",
"detail",
"<",
"/",
"p",
">"
] | [
"set",
"operation",
"id",
"(",
"operation",
"id",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"configuration",
"object",
"for",
"this",
"job",
"job",
"-",
"wide",
"parameters",
"should",
"be",
"set",
"into",
"that",
"configuration",
"object"
] | [
"return",
"this",
"job",
"configuration",
";"
] |
[
"get",
"the",
"column",
"type"
] | [
"return",
"type",
";"
] |
[
"gets",
"checkpoint",
"host",
"name"
] | [
"return",
"host",
";"
] |
[
"serialize"
] | [
"if",
"(",
"thrift",
"mode",
")",
"{",
"oprot",
"write",
"struct",
"begin",
"(",
"new",
"t",
"struct",
"(",
"name",
")",
")",
";",
"}",
"field",
"list",
"serialize",
"(",
"o",
",",
"oi",
",",
"oprot",
")",
";",
"if",
"(",
"thrift",
"mode",
")",
... |
[
"get",
"file",
"name",
"from",
"resource"
] | [
"if",
"(",
"file",
"name",
"!",
"=",
"null",
")",
"{",
"int",
"index",
"=",
"file",
"name",
"index",
"of",
"(",
"'",
":",
"'",
")",
";",
"if",
"(",
"index",
"<",
"0",
")",
"{",
"return",
"file",
"name",
";",
"}",
"else",
"{",
"file",
"name",
... |
[
"@",
"return"
] | [
"return",
"(",
"properties",
")",
"create",
"my",
"instance",
"(",
")",
";"
] |
[
"reload",
"myself"
] | [
"reloadable",
"properties",
"factory",
"bean",
"this",
"reload",
"(",
"false",
")",
";"
] |
[
"checkstyle",
":",
"on"
] | [
"int",
"answer",
"=",
"0",
";",
"for",
"(",
"camel",
"route",
"details",
"detail",
":",
"details",
")",
"{",
"if",
"(",
"route",
"id",
"equals",
"(",
"detail",
"get",
"route",
"id",
"(",
")",
")",
")",
"{",
"answer",
"+",
"+",
";",
"}",
"}",
"r... |
[
"returns",
"the",
"value",
"for",
"the",
"specified",
"key",
"<",
"ul",
">",
"<",
"li",
">",
"returns",
"null",
"if",
"the",
"specified",
"key",
"does",
"not",
"exist",
"<",
"/",
"li",
">",
"<",
"li",
">",
"runtime",
"complexity",
"of",
"o",
"(",
"... | [
"if",
"(",
"!",
"key",
"to",
"index",
"map",
"contains",
"key",
"(",
"key",
")",
")",
"{",
"return",
"null",
";",
"}",
"int",
"index",
"=",
"key",
"to",
"index",
"map",
"get",
"(",
"key",
")",
";",
"double",
"value",
"=",
"values",
"get",
"double... |
[
"returns",
"the",
"key",
"+",
"value",
"pair",
"with",
"the",
"max",
"priority",
"(",
"min",
"for",
"min",
"heap",
"mode",
")",
"<",
"ul",
">",
"<",
"li",
">",
"key",
"+",
"value",
"pair",
"is",
"removed",
"from",
"the",
"priority",
"queue",
"<",
"... | [
"if",
"(",
"is",
"empty",
"(",
")",
")",
"{",
"return",
"null",
";",
"}",
"int",
"double",
"pair",
"poll",
"=",
"peek",
"(",
")",
";",
"int",
"last",
"index",
"=",
"values",
"size",
"(",
")",
"-",
"1",
";",
"swap",
"values",
"(",
"0",
",",
"l... |
[
"compares",
"the",
"two",
"specified",
"values",
"and",
"returns",
":",
"<",
"ul",
">",
"<",
"li",
">",
"if",
"v",
"1",
"<",
"v",
"2",
"-",
"1",
"for",
"max",
"+",
"1",
"for",
"min",
"mode",
"<",
"/",
"li",
">",
"<",
"li",
">",
"if",
"v",
"... | [
"int",
"ret",
"=",
"double",
"compare",
"(",
"v",
"1",
",",
"v",
"2",
")",
";",
"return",
"(",
"min",
"heap",
")",
"?",
"ret",
":",
"-",
"ret",
";"
] |
[
"helper",
"method",
"that",
"performs",
"all",
"operations",
"required",
"to",
"swap",
"two",
"values",
"<",
"ul",
">",
"<",
"li",
">",
"swaps",
"the",
"values",
"in",
"the",
"array",
"that",
"backs",
"the",
"heap",
"<",
"/",
"li",
">",
"<",
"li",
">... | [
"if",
"(",
"index",
"1",
"=",
"=",
"index",
"2",
")",
"{",
"return",
";",
"}",
"double",
"tmp",
"=",
"values",
"get",
"double",
"(",
"index",
"1",
")",
";",
"values",
"set",
"(",
"index",
"1",
",",
"values",
"get",
"double",
"(",
"index",
"2",
... |
[
"returns",
"true",
"if",
"the",
"node",
"at",
"specified",
"index",
"has",
"children",
"false",
"otherwise",
"just",
"checking",
"for",
"existence",
"of",
"left",
"child",
"is",
"sufficient",
"(",
"array",
"backed",
"heap",
")"
] | [
"return",
"(",
"get",
"left",
"child",
"index",
"(",
"index",
")",
"<",
"values",
"size",
"(",
")",
")",
";"
] |
[
"set",
"the",
"required",
"spacing",
"between",
"title",
"segments"
] | [
"m",
"scaled",
"text",
"spacing",
"=",
"spacing",
"pixels",
";",
"request",
"layout",
"(",
")",
";"
] |
[
"set",
"the",
"alpha",
"value",
"used",
"for",
"non",
"-",
"primary",
"page",
"titles"
] | [
"m",
"non",
"primary",
"alpha",
"=",
"(",
"int",
")",
"(",
"alpha",
"*",
"255",
")",
"&",
"0x",
"f",
"f",
";",
"final",
"int",
"transparent",
"color",
"=",
"(",
"m",
"non",
"primary",
"alpha",
"<",
"<",
"24",
")",
"|",
"(",
"m",
"text",
"color"... |
[
"set",
"the",
"color",
"value",
"used",
"as",
"the",
"base",
"color",
"for",
"all",
"displayed",
"page",
"titles",
"alpha",
"will",
"be",
"ignored",
"for",
"non",
"-",
"primary",
"page",
"titles",
"see",
"{",
"@",
"link",
"#",
"set",
"non",
"primary",
... | [
"m",
"text",
"color",
"=",
"color",
";",
"m",
"curr",
"text",
"set",
"text",
"color",
"(",
"color",
")",
";",
"final",
"int",
"transparent",
"color",
"=",
"(",
"m",
"non",
"primary",
"alpha",
"<",
"<",
"24",
")",
"|",
"(",
"m",
"text",
"color",
"... |
[
"set",
"the",
"default",
"text",
"size",
"to",
"a",
"given",
"unit",
"and",
"value",
"see",
"{",
"@",
"link",
"android",
"util",
"typed",
"value",
"}",
"for",
"the",
"possible",
"dimension",
"units",
"<",
"p",
"/",
">",
"<",
"p",
">",
"example",
":",... | [
"m",
"prev",
"text",
"set",
"text",
"size",
"(",
"unit",
",",
"size",
")",
";",
"m",
"curr",
"text",
"set",
"text",
"size",
"(",
"unit",
",",
"size",
")",
";",
"m",
"next",
"text",
"set",
"text",
"size",
"(",
"unit",
",",
"size",
")",
";"
] |
[
"set",
"the",
"{",
"@",
"link",
"android",
"view",
"gravity",
"}",
"used",
"to",
"position",
"text",
"within",
"the",
"title",
"strip",
"only",
"the",
"vertical",
"gravity",
"component",
"is",
"used"
] | [
"m",
"gravity",
"=",
"gravity",
";",
"request",
"layout",
"(",
")",
";"
] |
[
"read",
"an",
"existing",
"presentation"
] | [
"return",
"new",
"x",
"m",
"l",
"slide",
"show",
"(",
"new",
"file",
"input",
"stream",
"(",
"file",
"location",
")",
")",
";"
] |
[
"delete",
"a",
"slide",
"from",
"the",
"presentation"
] | [
"ppt",
"remove",
"slide",
"(",
"slide",
"number",
")",
";"
] |
[
"re",
"-",
"order",
"the",
"slides",
"inside",
"a",
"presentation"
] | [
"list",
"<",
"x",
"s",
"l",
"f",
"slide",
">",
"slides",
"=",
"ppt",
"get",
"slides",
"(",
")",
";",
"x",
"s",
"l",
"f",
"slide",
"second",
"slide",
"=",
"slides",
"get",
"(",
"slide",
"number",
")",
";",
"ppt",
"set",
"slide",
"order",
"(",
"s... |
[
"retrieve",
"the",
"placeholder",
"inside",
"a",
"slide"
] | [
"list",
"<",
"x",
"s",
"l",
"f",
"shape",
">",
"placeholders",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"x",
"s",
"l",
"f",
"shape",
"shape",
":",
"slide",
"get",
"shapes",
"(",
")",
")",
"{",
"if",
"(",
"shape",
"ins... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.