docstring_tokens list | code_tokens list |
|---|---|
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"s",
"t",
"b",
"r",
"p",
"rect",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"s",
"t",
"b",
"r",
"p",
"rect",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"s",
"t",
"b",
"r",
"p",
"rect",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"s",
"t",
"b",
"r",
"p",
"rect",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"s",
"t",
"b",
"r",
"p",
"rect",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"fr... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"s",
"t",
"b",
"r",
"p",
"rect",
"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",
"s",
"t",
"b",
"r",
"p",
"rect",
"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",
"s",
"t",
"b",
"r",
"p",
"rect",
"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",
"s",
"t",
"b",
"r",
"p",
"rect",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"s",
"t",
"b",
"r",
"p",
"rect",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"s",
"t",
"b",
"r",
"p",
"rect",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] | [
"return",
"wrap",
"(",
"s",
"t",
"b",
"r",
"p",
"rect",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"s",
"t",
"b",
"r",
"p",
"rect",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"s",
"t",
"b",
"r",
"p",
"rect",
"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",
"s",
"t",
"b",
"r",
"p",
"rect",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"s",
"t",
"b",
"r",
"p",
"rect",
"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",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"s",
"t",
"b",
"r",
"p",
"rect",
"id",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"short",
"(",
"null",
",",
"struct",
"+",
"s",
"t",
"b",
"r",
"p",
"rect",
"w",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"short",
"(",
"null",
",",
"struct",
"+",
"s",
"t",
"b",
"r",
"p",
"rect",
"h",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"short",
"(",
"null",
",",
"struct",
"+",
"s",
"t",
"b",
"r",
"p",
"rect",
"x",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"short",
"(",
"null",
",",
"struct",
"+",
"s",
"t",
"b",
"r",
"p",
"rect",
"y",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"s",
"t",
"b",
"r",
"p",
"rect",
"was",
"packed",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"s",
"t",
"b",
"r",
"p",
"rect",
"id",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"short",
"(",
"null",
",",
"struct",
"+",
"s",
"t",
"b",
"r",
"p",
"rect",
"w",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"short",
"(",
"null",
",",
"struct",
"+",
"s",
"t",
"b",
"r",
"p",
"rect",
"h",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"short",
"(",
"null",
",",
"struct",
"+",
"s",
"t",
"b",
"r",
"p",
"rect",
"x",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"short",
"(",
"null",
",",
"struct",
"+",
"s",
"t",
"b",
"r",
"p",
"rect",
"y",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"s",
"t",
"b",
"r",
"p",
"rect",
"was",
"packed",
",",
"value",
")",
";"
] |
[
"returns",
"the",
"value",
"of",
"the",
"{"
] | [
"return",
"s",
"t",
"b",
"r",
"p",
"rect",
"nid",
"(",
"address",
"(",
")",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"s",
"t",
"b",
"r",
"p",
"rect",
"nid",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"lists",
"all",
"keys",
"in",
"the",
"keyset",
"in",
"{"
] | [
"keyset",
"handle",
"handle",
"=",
"tinkey",
"util",
"get",
"keyset",
"handle",
"(",
"input",
"stream",
",",
"in",
"format",
",",
"master",
"key",
"uri",
",",
"credential",
"path",
")",
";",
"keyset",
"info",
"keyset",
"info",
"=",
"handle",
"get",
"keys... |
[
"get",
"the",
"current",
"subscription",
"will",
"return",
"the",
"same",
"topics",
"used",
"in",
"the",
"most",
"recent",
"call",
"to",
"{",
"@",
"link",
"#",
"subscribe",
"(",
"collection",
"consumer",
"rebalance",
"listener",
")",
"}",
"or",
"an",
"empt... | [
"return",
"consumers",
"key",
"set",
"(",
")",
"stream",
"(",
")",
"map",
"(",
"topic",
"partition",
":",
":",
"topic",
")",
"collect",
"(",
"collectors",
"to",
"set",
"(",
")",
")",
";"
] |
[
"/",
"*",
"inspired",
"from",
"https",
":",
"/",
"/",
"github",
"com",
"/",
"postgres",
"/",
"pgadmin",
"3",
"/",
"blob",
"/",
"7",
"9",
"4",
"5",
"2",
"7d",
"9",
"7e",
"2e",
"3b",
"0",
"1",
"3",
"9",
"9",
"9",
"5",
"4f",
"3b",
"7",
"9c",
... | [
"array",
"list",
"<",
"string",
">",
"queries",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"string",
"builder",
"query",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"char",
"character",
";",
"boolean",
"multi",
"line",
"comment",
"=",
... |
[
"supports",
"boolean"
] | [
"return",
"open",
"id",
"authentication",
"token",
"class",
"is",
"assignable",
"from",
"(",
"authentication",
")",
";"
] |
[
"gets",
"user",
"details",
"service"
] | [
"return",
"user",
"details",
"service",
";"
] |
[
"sets",
"user",
"details",
"service"
] | [
"this",
"user",
"details",
"service",
"=",
"user",
"details",
"service",
";"
] |
[
"gets",
"users",
"connection",
"repository"
] | [
"return",
"users",
"connection",
"repository",
";"
] |
[
"sets",
"users",
"connection",
"repository"
] | [
"this",
"users",
"connection",
"repository",
"=",
"users",
"connection",
"repository",
";"
] |
[
"used",
"for",
"iterating",
"through",
"all",
"nodes",
"of",
"the",
"graph"
] | [
"return",
"lookup",
"get",
"default",
"(",
")",
"lookup",
"(",
"graph",
"controller",
"class",
")",
"get",
"graph",
"model",
"(",
")",
"get",
"graph",
"(",
")",
"get",
"nodes",
"(",
")",
"to",
"array",
"(",
")",
";"
] |
[
"used",
"for",
"iterating",
"through",
"all",
"edges",
"of",
"the",
"graph"
] | [
"return",
"lookup",
"get",
"default",
"(",
")",
"lookup",
"(",
"graph",
"controller",
"class",
")",
"get",
"graph",
"model",
"(",
")",
"get",
"graph",
"(",
")",
"get",
"edges",
"(",
")",
"to",
"array",
"(",
")",
";"
] |
[
"used",
"to",
"negate",
"the",
"values",
"of",
"a",
"single",
"boolean",
"column"
] | [
"object",
"value",
";",
"boolean",
"new",
"value",
";",
"for",
"(",
"element",
"row",
":",
"get",
"table",
"attribute",
"rows",
"(",
"table",
")",
")",
"{",
"value",
"=",
"row",
"get",
"attribute",
"(",
"column",
")",
";",
"if",
"(",
"value",
"!",
... |
[
"used",
"to",
"negate",
"all",
"values",
"of",
"a",
"list",
"of",
"boolean",
"values",
"column"
] | [
"object",
"value",
";",
"boolean",
"[",
"]",
"new",
"values",
";",
"for",
"(",
"element",
"row",
":",
"get",
"table",
"attribute",
"rows",
"(",
"table",
")",
")",
"{",
"value",
"=",
"row",
"get",
"attribute",
"(",
"column",
")",
";",
"if",
"(",
"va... |
[
"works",
"for",
"arrays",
"of",
"primitive",
"and",
"non",
"primitive",
"numbers"
] | [
"int",
"length",
"=",
"array",
"get",
"length",
"(",
"arr",
")",
";",
"list",
"<",
"number",
">",
"result",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"length",
";",
"i",
"+",
"+",
... |
[
"returns",
"the",
"font",
"description"
] | [
"return",
"description",
";"
] |
[
"/",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"... | [
"return",
"value",
"is",
"empty",
"(",
")",
";"
] |
[
"/",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"... | [
"final",
"int",
"len",
"=",
"value",
"size",
"(",
")",
";",
"if",
"(",
"len",
"=",
"=",
"1",
")",
"{",
"if",
"(",
"(",
"(",
"unwrap",
"single",
"=",
"=",
"null",
")",
"&",
"&",
"provider",
"is",
"enabled",
"(",
"serialization",
"feature",
"write"... |
[
"{"
] | [
"return",
"new",
"cache",
"jdbc",
"blob",
"store",
"(",
")",
";"
] |
[
"creates",
"a",
"positioner",
"which",
"positions",
"an",
"element",
"next",
"to",
"the",
"provided",
"anchor",
"using",
"gwt",
"root",
"as",
"the",
"container",
"this",
"is",
"the",
"preferred",
"method",
"of",
"positioning",
"if",
"the",
"element",
"is",
"... | [
"return",
"new",
"anchor",
"positioner",
"(",
"anchor",
",",
"vertical",
"alignment",
",",
"horizontal",
"alignment",
",",
"position",
")",
";"
] |
[
"creates",
"a",
"positioner",
"which",
"positions",
"an",
"element",
"next",
"to",
"the",
"provided",
"anchor",
"using",
"the",
"anchors",
"offset",
"parent",
"as",
"the",
"container",
"this",
"is",
"the",
"preferred",
"method",
"of",
"positioning",
"if",
"the... | [
"return",
"new",
"offset",
"positioner",
"(",
"anchor",
",",
"offset",
"positioner",
"anchor",
"offset",
"parent",
",",
"vertical",
"alignment",
",",
"horizontal",
"alignment",
",",
"position",
")",
";"
] |
[
"creates",
"a",
"positioner",
"which",
"positions",
"an",
"element",
"next",
"to",
"the",
"provided",
"anchor",
"using",
"the",
"supplied",
"ancestor",
"as",
"the",
"container",
"this",
"is",
"the",
"preferred",
"method",
"of",
"positioning",
"if",
"the",
"anc... | [
"return",
"new",
"offset",
"positioner",
"(",
"anchor",
",",
"ancestor",
",",
"vertical",
"alignment",
",",
"horizontal",
"alignment",
",",
"position",
")",
";"
] |
[
"creates",
"a",
"positioner",
"which",
"appends",
"elements",
"to",
"the",
"body",
"of",
"the",
"document",
"allowing",
"positioning",
"absolutely",
"at",
"a",
"given",
"point",
"in",
"the",
"viewport",
"(",
"typically",
"mouse",
"coordinates",
")"
] | [
"return",
"new",
"mouse",
"positioner",
"(",
"vertical",
"alignment",
",",
"horizontal",
"alignment",
",",
"position",
")",
";"
] |
[
"appends",
"an",
"element",
"to",
"the",
"appropriate",
"place",
"in",
"the",
"dom",
"for",
"this",
"positioner"
] | [
"abstract",
"void",
"append",
"element",
"to",
"container",
"(",
"element",
"element",
")",
";"
] |
[
"returns",
"the",
"minimum",
"width",
"that",
"should",
"be",
"used",
"by",
"elements",
"being",
"positioned",
"by",
"this",
"positioner",
"the",
"meaning",
"of",
"this",
"value",
"varies",
"depending",
"on",
"the",
"implementation"
] | [
"public",
"abstract",
"int",
"get",
"minimum",
"width",
"(",
")",
";"
] |
[
"appends",
"the",
"element",
"to",
"the",
"body",
"of",
"the",
"dom"
] | [
"element",
"gwt",
"=",
"elements",
"get",
"element",
"by",
"id",
"(",
"gwt",
"root",
")",
";",
"gwt",
"append",
"child",
"(",
"element",
")",
";"
] |
[
"appends",
"the",
"element",
"to",
"the",
"specified",
"ancestor",
"of",
"the",
"anchor"
] | [
"element",
"container",
"=",
"get",
"offset",
"anchestor",
"for",
"anchor",
"(",
")",
";",
"container",
"append",
"child",
"(",
"element",
")",
";"
] |
[
"appends",
"the",
"element",
"to",
"the",
"document",
"body"
] | [
"elements",
"get",
"body",
"(",
")",
"append",
"child",
"(",
"element",
")",
";"
] |
[
"updates",
"the",
"element",
"s",
"position",
"to",
"move",
"it",
"to",
"the",
"correct",
"location"
] | [
"update",
"element",
"position",
"(",
"0",
",",
"0",
")",
";"
] |
[
"place",
"the",
"element",
"based",
"on",
"the",
"given",
"information"
] | [
"reset",
"element",
"position",
"(",
")",
";",
"client",
"rect",
"element",
"rect",
"=",
"ensure",
"visible",
"and",
"get",
"rect",
"(",
"element",
")",
";",
"double",
"left",
"=",
"element",
"positioner",
"get",
"left",
"(",
"element",
"rect",
",",
"x",... |
[
"sets",
"an",
"elements",
"left",
"and",
"top",
"to",
"the",
"provided",
"values"
] | [
"c",
"s",
"s",
"style",
"declaration",
"style",
"=",
"element",
"get",
"style",
"(",
")",
";",
"if",
"(",
"left",
"!",
"=",
"ignore",
")",
"{",
"style",
"set",
"left",
"(",
"left",
",",
"unit",
"px",
")",
";",
"}",
"if",
"(",
"top",
"!",
"=",
... |
[
"returns",
"human",
"readable",
"server",
"information",
"for",
"logging",
"purpose"
] | [
"return",
"(",
"(",
"remote",
"file",
"endpoint",
"<",
"?",
">",
")",
"endpoint",
")",
"remote",
"server",
"information",
"(",
")",
";"
] |
[
"poll",
"directory",
"given",
"by",
"dir",
"name",
"or",
"absolute",
"path"
] | [
"protected",
"abstract",
"boolean",
"do",
"poll",
"directory",
"(",
"string",
"absolute",
"path",
",",
"string",
"dir",
"name",
",",
"list",
"<",
"generic",
"file",
"<",
"t",
">",
">",
"file",
"list",
",",
"int",
"depth",
")",
";"
] |
[
"returns",
"true",
"for",
"expressions",
"of",
"the",
"form",
"x",
"[",
"]"
] | [
"return",
"expression",
"instanceof",
"binary",
"expression",
"&",
"&",
"is",
"array",
"op",
"(",
"(",
"(",
"binary",
"expression",
")",
"expression",
")",
"get",
"operation",
"(",
")",
"get",
"type",
"(",
")",
")",
";"
] |
[
"given",
"a",
"variable",
"expression",
"returns",
"the",
"ultimately",
"accessed",
"variable"
] | [
"final",
"variable",
"accessed",
"variable",
"=",
"ve",
"get",
"accessed",
"variable",
"(",
")",
"!",
"=",
"null",
"?",
"ve",
"get",
"accessed",
"variable",
"(",
")",
":",
"ve",
";",
"if",
"(",
"accessed",
"variable",
"!",
"=",
"ve",
")",
"{",
"if",
... |
[
"returns",
"true",
"for",
"operations",
"that",
"are",
"of",
"the",
"class",
"that",
"given",
"a",
"common",
"type",
"class",
"for",
"left",
"and",
"right",
"the",
"operation",
"left",
"op",
"right",
"will",
"have",
"a",
"result",
"in",
"the",
"same",
"t... | [
"switch",
"(",
"op",
")",
"{",
"case",
"plus",
":",
"case",
"plus",
"equal",
":",
"case",
"minus",
":",
"case",
"minus",
"equal",
":",
"case",
"multiply",
":",
"case",
"multiply",
"equal",
":",
"return",
"true",
";",
"default",
":",
"return",
"false",
... |
[
"returns",
"true",
"or",
"false",
"depending",
"on",
"whether",
"the",
"right",
"classnode",
"can",
"be",
"assigned",
"to",
"the",
"left",
"classnode",
"this",
"method",
"should",
"not",
"add",
"errors",
"by",
"itself",
":",
"we",
"let",
"the",
"caller",
"... | [
"return",
"check",
"compatible",
"assignment",
"types",
"(",
"left",
",",
"right",
",",
"null",
")",
";"
] |
[
"tells",
"if",
"a",
"class",
"is",
"one",
"of",
"the",
"accept",
"all",
"classes",
"as",
"the",
"left",
"hand",
"side",
"of",
"an",
"assignment"
] | [
"if",
"(",
"object",
"type",
"equals",
"(",
"node",
")",
"|",
"|",
"string",
"type",
"equals",
"(",
"node",
")",
"|",
"|",
"boolean",
"type",
"equals",
"(",
"node",
")",
"|",
"|",
"boolean",
"type",
"equals",
"(",
"node",
")",
"|",
"|",
"class",
... |
[
"returns",
"true",
"if",
"the",
"provided",
"class",
"node",
"when",
"considered",
"as",
"a",
"receiver",
"of",
"a",
"message",
"or",
"as",
"a",
"parameter",
"is",
"using",
"a",
"placeholder",
"in",
"its",
"generics",
"type",
"in",
"this",
"case",
"we",
... | [
"if",
"(",
"node",
"is",
"array",
"(",
")",
")",
"return",
"is",
"using",
"unchecked",
"generics",
"(",
"node",
"get",
"component",
"type",
"(",
")",
")",
";",
"if",
"(",
"node",
"is",
"using",
"generics",
"(",
")",
")",
"{",
"generics",
"type",
"[... |
[
"given",
"a",
"receiver",
"and",
"a",
"method",
"node",
"parameterize",
"the",
"method",
"arguments",
"using",
"available",
"generic",
"type",
"information"
] | [
"map",
"<",
"generics",
"type",
"name",
",",
"generics",
"type",
">",
"generic",
"from",
"receiver",
"=",
"generics",
"utils",
"extract",
"placeholders",
"(",
"receiver",
")",
";",
"map",
"<",
"generics",
"type",
"name",
",",
"generics",
"type",
">",
"cont... |
[
"given",
"a",
"parameter",
"builds",
"a",
"new",
"parameter",
"for",
"which",
"the",
"known",
"generics",
"placeholders",
"are",
"resolved"
] | [
"if",
"(",
"generic",
"from",
"receiver",
"is",
"empty",
"(",
")",
"&",
"&",
"(",
"placeholders",
"from",
"context",
"=",
"=",
"null",
"|",
"|",
"placeholders",
"from",
"context",
"is",
"empty",
"(",
")",
")",
")",
"{",
"return",
"method",
"parameter",... |
[
"returns",
"true",
"if",
"a",
"class",
"node",
"makes",
"use",
"of",
"generic",
"types",
"if",
"the",
"class",
"node",
"represents",
"an",
"array",
"type",
"then",
"checks",
"if",
"the",
"component",
"type",
"is",
"using",
"generics"
] | [
"if",
"(",
"cn",
"is",
"array",
"(",
")",
")",
"{",
"return",
"is",
"using",
"generics",
"or",
"is",
"array",
"using",
"generics",
"(",
"cn",
"get",
"component",
"type",
"(",
")",
")",
";",
"}",
"return",
"(",
"cn",
"is",
"using",
"generics",
"(",
... |
[
"given",
"a",
"generics",
"type",
"representing",
"some",
"class",
"&",
"lt",
";",
"t",
"v",
"&",
"gt",
";",
"and",
"a",
"resolved",
"placeholder",
"map",
"returns",
"a",
"new",
"generics",
"type",
"for",
"which",
"placeholders",
"are",
"resolved",
"recurs... | [
"generics",
"type",
"from",
"map",
"=",
"placeholders",
"get",
"(",
"new",
"generics",
"type",
"name",
"(",
"gt",
"get",
"name",
"(",
")",
")",
")",
";",
"if",
"(",
"gt",
"is",
"placeholder",
"(",
")",
"&",
"&",
"from",
"map",
"!",
"=",
"null",
"... |
[
"apply",
"the",
"bounds",
"from",
"the",
"declared",
"type",
"when",
"the",
"using",
"type",
"simply",
"declares",
"a",
"parameter",
"as",
"an",
"unbounded",
"wildcard"
] | [
"if",
"(",
"type",
"is",
"array",
"(",
")",
")",
"{",
"return",
"bound",
"unbounded",
"wildcards",
"(",
"type",
"get",
"component",
"type",
"(",
")",
")",
"make",
"array",
"(",
")",
";",
"}",
"class",
"node",
"target",
"=",
"type",
"redirect",
"(",
... |
[
"returns",
"a",
"map",
"which",
"contains",
"as",
"the",
"key",
"the",
"name",
"of",
"a",
"class",
"the",
"value",
"consists",
"of",
"a",
"list",
"of",
"method",
"node",
"one",
"for",
"each",
"default",
"groovy",
"method",
"found",
"which",
"is",
"applic... | [
"set",
"<",
"class",
">",
"instance",
"ext",
"classes",
"=",
"new",
"linked",
"hash",
"set",
"<",
"class",
">",
"(",
")",
";",
"set",
"<",
"class",
">",
"static",
"ext",
"classes",
"=",
"new",
"linked",
"hash",
"set",
"<",
"class",
">",
"(",
")",
... |
[
"collects",
"all",
"interfaces",
"of",
"a",
"class",
"node",
"including",
"those",
"defined",
"by",
"the",
"super",
"class"
] | [
"set",
"<",
"class",
"node",
">",
"result",
"=",
"new",
"hash",
"set",
"<",
"class",
"node",
">",
"(",
")",
";",
"collect",
"all",
"interfaces",
"(",
"node",
",",
"result",
")",
";",
"return",
"result",
";"
] |
[
"collects",
"all",
"interfaces",
"of",
"a",
"class",
"node",
"including",
"those",
"defined",
"by",
"the",
"super",
"class"
] | [
"if",
"(",
"node",
"=",
"=",
"null",
")",
"return",
";",
"set",
"<",
"class",
"node",
">",
"all",
"interfaces",
"=",
"node",
"get",
"all",
"interfaces",
"(",
")",
";",
"out",
"add",
"all",
"(",
"all",
"interfaces",
")",
";",
"collect",
"all",
"inte... |
[
"returns",
"true",
"if",
"the",
"class",
"node",
"represents",
"a",
"the",
"class",
"node",
"for",
"the",
"class",
"class",
"and",
"if",
"the",
"parametrized",
"type",
"is",
"a",
"neither",
"a",
"placeholder",
"or",
"a",
"wildcard",
"for",
"example",
"the"... | [
"generics",
"type",
"[",
"]",
"generics",
"types",
"=",
"class",
"node",
"get",
"generics",
"types",
"(",
")",
";",
"return",
"class",
"type",
"equals",
"(",
"class",
"node",
")",
"&",
"&",
"class",
"node",
"is",
"using",
"generics",
"(",
")",
"&",
"... |
[
"check",
"if",
"the",
"current",
"string",
"builder",
"trailing",
"characters",
"is",
"an",
"http",
"header",
"end",
"(",
"empty",
"crlf",
")"
] | [
"int",
"len",
"=",
"sb",
"length",
"(",
")",
";",
"if",
"(",
"len",
">",
"2",
")",
"{",
"if",
"(",
"lf2",
"equals",
"(",
"sb",
"substring",
"(",
"len",
"-",
"2",
")",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"if",
"(",
"len",
">",
... |
[
"create",
"/",
"update",
"a",
"user",
"in",
"the",
"native",
"realm",
"synchronously",
"see",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"www",
"elastic",
"co",
"/",
"guide",
"/",
"en",
"/",
"elasticsearch",
"/",
"reference",
"/",
"current",
"/",
... | [
"return",
"rest",
"high",
"level",
"client",
"perform",
"request",
"and",
"parse",
"entity",
"(",
"request",
",",
"security",
"request",
"converters",
":",
":",
"put",
"user",
",",
"options",
",",
"put",
"user",
"response",
":",
":",
"from",
"x",
"content"... |
[
"asynchronously",
"create",
"/",
"update",
"a",
"user",
"in",
"the",
"native",
"realm",
"see",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"www",
"elastic",
"co",
"/",
"guide",
"/",
"en",
"/",
"elasticsearch",
"/",
"reference",
"/",
"current",
"/",
... | [
"rest",
"high",
"level",
"client",
"perform",
"request",
"async",
"and",
"parse",
"entity",
"(",
"request",
",",
"security",
"request",
"converters",
":",
":",
"put",
"user",
",",
"options",
",",
"put",
"user",
"response",
":",
":",
"from",
"x",
"content",... |
[
"create",
"/",
"update",
"a",
"role",
"mapping",
"see",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"www",
"elastic",
"co",
"/",
"guide",
"/",
"en",
"/",
"elasticsearch",
"/",
"reference",
"/",
"current",
"/",
"security",
"-",
"api",
"-",
"put",
... | [
"return",
"rest",
"high",
"level",
"client",
"perform",
"request",
"and",
"parse",
"entity",
"(",
"request",
",",
"security",
"request",
"converters",
":",
":",
"put",
"role",
"mapping",
",",
"options",
",",
"put",
"role",
"mapping",
"response",
":",
":",
... |
[
"asynchronously",
"create",
"/",
"update",
"a",
"role",
"mapping",
"see",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"www",
"elastic",
"co",
"/",
"guide",
"/",
"en",
"/",
"elasticsearch",
"/",
"reference",
"/",
"current",
"/",
"security",
"-",
"api... | [
"rest",
"high",
"level",
"client",
"perform",
"request",
"async",
"and",
"parse",
"entity",
"(",
"request",
",",
"security",
"request",
"converters",
":",
":",
"put",
"role",
"mapping",
",",
"options",
",",
"put",
"role",
"mapping",
"response",
":",
":",
"... |
[
"enable",
"a",
"native",
"realm",
"or",
"built",
"-",
"in",
"user",
"synchronously",
"see",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"www",
"elastic",
"co",
"/",
"guide",
"/",
"en",
"/",
"elasticsearch",
"/",
"reference",
"/",
"current",
"/",
"... | [
"return",
"rest",
"high",
"level",
"client",
"perform",
"request",
"and",
"parse",
"entity",
"(",
"request",
",",
"security",
"request",
"converters",
":",
":",
"enable",
"user",
",",
"options",
",",
"empty",
"response",
":",
":",
"from",
"x",
"content",
"... |
[
"enable",
"a",
"native",
"realm",
"or",
"built",
"-",
"in",
"user",
"asynchronously",
"see",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"www",
"elastic",
"co",
"/",
"guide",
"/",
"en",
"/",
"elasticsearch",
"/",
"reference",
"/",
"current",
"/",
... | [
"rest",
"high",
"level",
"client",
"perform",
"request",
"async",
"and",
"parse",
"entity",
"(",
"request",
",",
"security",
"request",
"converters",
":",
":",
"enable",
"user",
",",
"options",
",",
"empty",
"response",
":",
":",
"from",
"x",
"content",
",... |
[
"disable",
"a",
"native",
"realm",
"or",
"built",
"-",
"in",
"user",
"synchronously",
"see",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"www",
"elastic",
"co",
"/",
"guide",
"/",
"en",
"/",
"elasticsearch",
"/",
"reference",
"/",
"current",
"/",
... | [
"return",
"rest",
"high",
"level",
"client",
"perform",
"request",
"and",
"parse",
"entity",
"(",
"request",
",",
"security",
"request",
"converters",
":",
":",
"disable",
"user",
",",
"options",
",",
"empty",
"response",
":",
":",
"from",
"x",
"content",
... |
[
"disable",
"a",
"native",
"realm",
"or",
"built",
"-",
"in",
"user",
"asynchronously",
"see",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"www",
"elastic",
"co",
"/",
"guide",
"/",
"en",
"/",
"elasticsearch",
"/",
"reference",
"/",
"current",
"/",
... | [
"rest",
"high",
"level",
"client",
"perform",
"request",
"async",
"and",
"parse",
"entity",
"(",
"request",
",",
"security",
"request",
"converters",
":",
":",
"disable",
"user",
",",
"options",
",",
"empty",
"response",
":",
":",
"from",
"x",
"content",
"... |
[
"synchronously",
"retrieve",
"the",
"x",
"509",
"certificates",
"that",
"are",
"used",
"to",
"encrypt",
"communications",
"in",
"an",
"elasticsearch",
"cluster",
"see",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"www",
"elastic",
"co",
"/",
"guide",
"/... | [
"return",
"rest",
"high",
"level",
"client",
"perform",
"request",
"and",
"parse",
"entity",
"(",
"get",
"ssl",
"certificates",
"request",
"instance",
",",
"get",
"ssl",
"certificates",
"request",
":",
":",
"get",
"request",
",",
"options",
",",
"get",
"ssl"... |
[
"asynchronously",
"retrieve",
"the",
"x",
"509",
"certificates",
"that",
"are",
"used",
"to",
"encrypt",
"communications",
"in",
"an",
"elasticsearch",
"cluster",
"see",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"www",
"elastic",
"co",
"/",
"guide",
"... | [
"rest",
"high",
"level",
"client",
"perform",
"request",
"async",
"and",
"parse",
"entity",
"(",
"get",
"ssl",
"certificates",
"request",
"instance",
",",
"get",
"ssl",
"certificates",
"request",
":",
":",
"get",
"request",
",",
"options",
",",
"get",
"ssl",... |
[
"change",
"the",
"password",
"of",
"a",
"user",
"of",
"a",
"native",
"realm",
"or",
"built",
"-",
"in",
"user",
"synchronously",
"see",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"www",
"elastic",
"co",
"/",
"guide",
"/",
"en",
"/",
"elasticsearc... | [
"return",
"rest",
"high",
"level",
"client",
"perform",
"request",
"and",
"parse",
"entity",
"(",
"request",
",",
"security",
"request",
"converters",
":",
":",
"change",
"password",
",",
"options",
",",
"empty",
"response",
":",
":",
"from",
"x",
"content",... |
[
"change",
"the",
"password",
"of",
"a",
"user",
"of",
"a",
"native",
"realm",
"or",
"built",
"-",
"in",
"user",
"asynchronously",
"see",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"www",
"elastic",
"co",
"/",
"guide",
"/",
"en",
"/",
"elasticsear... | [
"rest",
"high",
"level",
"client",
"perform",
"request",
"async",
"and",
"parse",
"entity",
"(",
"request",
",",
"security",
"request",
"converters",
":",
":",
"change",
"password",
",",
"options",
",",
"empty",
"response",
":",
":",
"from",
"x",
"content",
... |
[
"<",
"p",
">",
"the",
"currency",
"in",
"which",
"the",
"<",
"code",
">",
"upfront",
"price",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"hourly",
"price",
"<",
"/",
"code",
">",
"amounts",
"are",
"specified",
"at",
"this",
"time",
"the",
"onl... | [
"set",
"currency",
"code",
"(",
"currency",
"code",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"currency",
"in",
"which",
"the",
"<",
"code",
">",
"upfront",
"price",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"hourly",
"price",
"<",
"/",
"code",
">",
"amounts",
"are",
"specified",
"at",
"this",
"time",
"the",
"onl... | [
"this",
"currency",
"code",
"=",
"currency",
"code",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"duration",
"of",
"the",
"reservation",
"s",
"term",
"in",
"seconds",
"<",
"/",
"p",
">"
] | [
"set",
"duration",
"(",
"duration",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"i",
"ds",
"of",
"the",
"dedicated",
"hosts",
"associated",
"with",
"the",
"reservation",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",... | [
"if",
"(",
"this",
"host",
"id",
"set",
"=",
"=",
"null",
")",
"{",
"set",
"host",
"id",
"set",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"string",
">",
"(",
"host",
"id",
"set",
"length",
")",
")",
";",
"}",
"fo... |
[
"<",
"p",
">",
"the",
"i",
"ds",
"of",
"the",
"dedicated",
"hosts",
"associated",
"with",
"the",
"reservation",
"<",
"/",
"p",
">"
] | [
"set",
"host",
"id",
"set",
"(",
"host",
"id",
"set",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"reservation",
"<",
"/",
"p",
">"
] | [
"set",
"host",
"reservation",
"id",
"(",
"host",
"reservation",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"hourly",
"price",
"of",
"the",
"reservation",
"per",
"hour",
"<",
"/",
"p",
">"
] | [
"set",
"hourly",
"price",
"(",
"hourly",
"price",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"instance",
"family",
"on",
"the",
"dedicated",
"host",
"that",
"the",
"reservation",
"can",
"be",
"associated",
"with",
"<",
"/",
"p",
">"
] | [
"set",
"instance",
"family",
"(",
"instance",
"family",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"payment",
"option",
"for",
"the",
"reservation",
"<",
"/",
"p",
">"
] | [
"set",
"payment",
"option",
"(",
"payment",
"option",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"payment",
"option",
"for",
"the",
"reservation",
"<",
"/",
"p",
">"
] | [
"this",
"payment",
"option",
"=",
"payment",
"option",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.