docstring_tokens list | code_tokens list |
|---|---|
[
"returns",
"the",
"radius",
"of",
"this",
"shape"
] | [
"public",
"abstract",
"float",
"get",
"radius",
"(",
")",
";"
] |
[
"returns",
"the",
"required",
"offset",
"for",
"the",
"chart",
"legend"
] | [
"protected",
"abstract",
"float",
"get",
"required",
"legend",
"offset",
"(",
")",
";"
] |
[
"returns",
"the",
"base",
"offset",
"needed",
"for",
"the",
"chart",
"without",
"calculating",
"the",
"legend",
"size"
] | [
"protected",
"abstract",
"float",
"get",
"required",
"base",
"offset",
"(",
")",
";"
] |
[
"set",
"the",
"container",
"to",
"be",
"reloaded",
"invoked",
"from",
"{",
"@",
"link",
"container",
"listener",
"}"
] | [
"this",
"container",
"=",
"container",
";"
] |
[
"<",
"p",
">",
"container",
"a",
"r",
"n",
":",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"newly",
"created",
"container",
"the",
"arn",
"has",
"the",
"following",
"format",
":",
"arn",
":",
"aws",
":",
"&",
"lt",
";",
"reg... | [
"set",
"container",
"(",
"container",
")",
";",
"return",
"this",
";"
] |
[
"resolves",
"this",
"plugin",
"argument",
"to",
"an",
"argument",
"resolver"
] | [
"return",
"new",
"plugin",
"factory",
"using",
"reflection",
"argument",
"resolver",
"for",
"index",
"with",
"dynamic",
"type",
"(",
"index",
",",
"value",
")",
";"
] |
[
"generates",
"a",
"new",
"secure",
"-",
"random",
"key",
"pair",
"assuming",
"strength",
"enough",
"for",
"the",
"{",
"@",
"link",
"signature",
"algorithm",
"#",
"es512",
"}",
"algorithm",
"this",
"is",
"a",
"convenience",
"method",
"that",
"immediately",
"d... | [
"return",
"generate",
"key",
"pair",
"(",
"signature",
"algorithm",
"es512",
")",
";"
] |
[
"generates",
"a",
"new",
"secure",
"-",
"random",
"key",
"pair",
"of",
"sufficient",
"strength",
"for",
"the",
"specified",
"elliptic",
"curve",
"{",
"@",
"link",
"signature",
"algorithm",
"}",
"(",
"must",
"be",
"one",
"of",
"{",
"@",
"code",
"es256",
"... | [
"return",
"generate",
"key",
"pair",
"(",
"alg",
",",
"default",
"secure",
"random",
")",
";"
] |
[
"scrub",
"given",
"imsi",
"on",
"production",
"builds"
] | [
"if",
"(",
"subscriber",
"id",
"=",
"=",
"null",
")",
"return",
"null",
";",
"final",
"string",
"[",
"]",
"res",
"=",
"new",
"string",
"[",
"subscriber",
"id",
"length",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"res",
"length",
... |
[
"sets",
"initial",
"query",
"<",
"p",
">",
"this",
"query",
"will",
"be",
"executed",
"before",
"continuous",
"listener",
"is",
"registered",
"which",
"allows",
"to",
"iterate",
"through",
"entries",
"which",
"already",
"existed",
"at",
"the",
"time",
"continu... | [
"this",
"init",
"qry",
"=",
"init",
"qry",
";",
"return",
"this",
";"
] |
[
"gets",
"initial",
"query"
] | [
"return",
"init",
"qry",
";"
] |
[
"sets",
"optional",
"key",
"-",
"value",
"filter",
"factory",
"this",
"factory",
"produces",
"filter",
"is",
"called",
"before",
"entry",
"is",
"sent",
"to",
"the",
"master",
"node",
"<",
"p",
">",
"<",
"b",
">",
"warning",
":",
"<",
"/",
"b",
">",
"... | [
"this",
"rmt",
"filter",
"factory",
"=",
"rmt",
"filter",
"factory",
";",
"return",
"this",
";"
] |
[
"gets",
"remote",
"filter"
] | [
"return",
"rmt",
"filter",
"factory",
";"
] |
[
"gets",
"the",
"time",
"interval",
"for",
"the",
"continuous",
"query",
"consumer"
] | [
"return",
"time",
"interval",
";"
] |
[
"sets",
"automatic",
"unsubscribe",
"flag",
"<",
"p",
">",
"this",
"flag",
"indicates",
"that",
"query",
"filters",
"on",
"remote",
"nodes",
"should",
"be",
"automatically",
"unregistered",
"if",
"master",
"node",
"(",
"node",
"that",
"initiated",
"the",
"quer... | [
"this",
"auto",
"unsubscribe",
"=",
"auto",
"unsubscribe",
";",
"return",
"this",
";"
] |
[
"gets",
"whether",
"auto",
"unsubscribe",
"is",
"enabled",
"in",
"the",
"continuous",
"query",
"consumer"
] | [
"return",
"auto",
"unsubscribe",
";"
] |
[
"sets",
"the",
"flag",
"value",
"defining",
"whether",
"to",
"notify",
"about",
"{",
"@",
"link",
"event",
"type",
"#",
"expired",
"}",
"events",
"if",
"{",
"@",
"code",
"true",
"}",
"then",
"the",
"remote",
"listener",
"will",
"get",
"notifications",
"a... | [
"this",
"include",
"expired",
"=",
"include",
"expired",
";"
] |
[
"gets",
"the",
"flag",
"value",
"defining",
"whether",
"to",
"notify",
"about",
"{",
"@",
"link",
"event",
"type",
"#",
"expired",
"}",
"events"
] | [
"return",
"include",
"expired",
";"
] |
[
"{",
"@",
"inherit",
"doc",
"}"
] | [
"return",
"true",
";"
] |
[
"creates",
"a",
"new",
"runtime",
"type",
"adapter",
"using",
"for",
"{"
] | [
"return",
"new",
"runtime",
"type",
"adapter",
"factory",
"<",
"t",
">",
"(",
"base",
"type",
",",
"type",
"field",
"name",
")",
";"
] |
[
"registers",
"{",
"@",
"code",
"type",
"}",
"identified",
"by",
"its",
"{",
"@",
"link",
"class",
"#",
"get",
"simple",
"name",
"simple",
"name",
"}",
"labels",
"are",
"case",
"sensitive"
] | [
"return",
"register",
"subtype",
"(",
"type",
",",
"type",
"get",
"simple",
"name",
"(",
")",
")",
";"
] |
[
"<",
"p",
">",
"a",
"structure",
"containing",
"details",
"about",
"the",
"server",
"certificate",
"<",
"/",
"p",
">"
] | [
"this",
"server",
"certificate",
"=",
"server",
"certificate",
";"
] |
[
"<",
"p",
">",
"a",
"structure",
"containing",
"details",
"about",
"the",
"server",
"certificate",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"server",
"certificate",
";"
] |
[
"<",
"p",
">",
"a",
"structure",
"containing",
"details",
"about",
"the",
"server",
"certificate",
"<",
"/",
"p",
">"
] | [
"set",
"server",
"certificate",
"(",
"server",
"certificate",
")",
";",
"return",
"this",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"return",
"own",
"resource",
"i",
"d",
";"
] |
[
"write",
"something",
"to",
"a",
"file"
] | [
"final",
"byte",
"[",
"]",
"bytes",
"=",
"new",
"byte",
"[",
"length",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"length",
";",
"i",
"+",
"+",
")",
"{",
"bytes",
"[",
"i",
"]",
"=",
"(",
"byte",
")",
"(",
"offset",
"+",
"... |
[
"reads",
"a",
"value",
"from",
"the",
"provided",
"buffer",
"consisting",
"of",
"zero",
"or",
"more",
"0x",
"f",
"f",
"bytes",
"followed",
"by",
"a",
"terminating",
"byte",
"not",
"equal",
"to",
"0x",
"f",
"f",
"the",
"returned",
"value",
"is",
"(",
"(... | [
"int",
"b",
";",
"int",
"value",
"=",
"0",
";",
"do",
"{",
"if",
"(",
"buffer",
"bytes",
"left",
"(",
")",
"=",
"=",
"0",
")",
"{",
"return",
"-",
"1",
";",
"}",
"b",
"=",
"buffer",
"read",
"unsigned",
"byte",
"(",
")",
";",
"value",
"+",
"... |
[
"returns",
"a",
"new",
"instance",
"of",
"the",
"default",
"shader",
"used",
"by",
"sprite",
"batch",
"for",
"gl2",
"when",
"no",
"shader",
"is",
"specified"
] | [
"string",
"vertex",
"shader",
"=",
"create",
"vertex",
"shader",
"(",
"has",
"normals",
",",
"has",
"colors",
",",
"num",
"tex",
"coords",
")",
";",
"string",
"fragment",
"shader",
"=",
"create",
"fragment",
"shader",
"(",
"has",
"normals",
",",
"has",
"... |
[
"used",
"externally",
"to",
"query",
"the",
"running",
"job",
"will",
"return",
"null",
"if",
"there",
"is",
"no",
"job",
"running"
] | [
"return",
"m",
"running",
"job",
";"
] |
[
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"... | [
"return",
"new",
"account",
"age",
"witness",
"store",
"(",
")",
";"
] |
[
"goes",
"to",
"the",
"user",
"list",
"screen"
] | [
"this",
"navigator",
"navigate",
"to",
"user",
"list",
"(",
"this",
")",
";"
] |
[
"rethrows",
"only",
"on",
"config",
"mismatch",
"exception",
";",
"in",
"case",
"of",
"other",
"exception",
"returns",
"false"
] | [
"try",
"{",
"return",
"validate",
"join",
"message",
"(",
"join",
"message",
")",
";",
"}",
"catch",
"(",
"config",
"mismatch",
"exception",
"e",
")",
"{",
"throw",
"e",
";",
"}",
"catch",
"(",
"exception",
"e",
")",
"{",
"return",
"false",
";",
"}"
... |
[
"executed",
"by",
"a",
"master",
"node",
"to",
"process",
"the",
"{",
"@",
"link",
"join",
"request",
"}",
"sent",
"by",
"a",
"node",
"attempting",
"to",
"join",
"the",
"cluster"
] | [
"cluster",
"service",
"lock",
"lock",
"(",
")",
";",
"try",
"{",
"if",
"(",
"check",
"join",
"request",
"(",
"join",
"request",
",",
"connection",
")",
")",
"{",
"return",
";",
"}",
"if",
"(",
"!",
"authenticate",
"(",
"join",
"request",
")",
")",
... |
[
"invoked",
"from",
"master",
"node",
"while",
"executing",
"a",
"join",
"request",
"to",
"validate",
"it",
"delegating",
"to",
"{"
] | [
"if",
"(",
"cluster",
"service",
"is",
"master",
"(",
")",
")",
"{",
"try",
"{",
"node",
"get",
"node",
"extension",
"(",
")",
"validate",
"join",
"request",
"(",
"join",
"request",
")",
";",
"}",
"catch",
"(",
"exception",
"e",
")",
"{",
"logger",
... |
[
"send",
"join",
"request",
"to",
"{",
"@",
"code",
"to",
"address",
"}"
] | [
"if",
"(",
"to",
"address",
"=",
"=",
"null",
")",
"{",
"to",
"address",
"=",
"cluster",
"service",
"get",
"master",
"address",
"(",
")",
";",
"}",
"join",
"request",
"op",
"join",
"request",
"=",
"new",
"join",
"request",
"op",
"(",
"node",
"create"... |
[
"prints",
"a",
"user",
"-",
"readable",
"version",
"of",
"this",
"query"
] | [
"return",
"func",
"to",
"string",
"(",
")",
";"
] |
[
"returns",
"true",
"if",
"<",
"code",
">",
"o",
"<",
"/",
"code",
">",
"is",
"equal",
"to",
"this"
] | [
"return",
"same",
"class",
"as",
"(",
"other",
")",
"&",
"&",
"func",
"equals",
"(",
"(",
"(",
"function",
"query",
")",
"other",
")",
"func",
")",
";"
] |
[
"{",
"@",
"inherit",
"doc",
"}"
] | [
"final",
"t",
"t",
"=",
"add",
"(",
"size",
",",
"value",
")",
";",
"return",
"(",
"t",
"!",
"=",
"null",
")",
";"
] |
[
"{"
] | [
"final",
"node",
"<",
"t",
">",
"n",
"=",
"get",
"node",
"by",
"value",
"(",
"value",
")",
";",
"return",
"(",
"n",
"!",
"=",
"null",
")",
";"
] |
[
"get",
"value",
"at",
"index"
] | [
"final",
"node",
"<",
"t",
">",
"n",
"=",
"get",
"node",
"by",
"index",
"(",
"index",
")",
";",
"if",
"(",
"n",
"=",
"=",
"null",
")",
"return",
"null",
";",
"return",
"n",
"value",
";"
] |
[
"{"
] | [
"root",
"=",
"null",
";",
"size",
"=",
"0",
";"
] |
[
"{"
] | [
"if",
"(",
"root",
"=",
"=",
"null",
")",
"return",
"true",
";",
"return",
"validate",
"node",
"(",
"root",
")",
";"
] |
[
"{"
] | [
"return",
"(",
"new",
"java",
"compatible",
"array",
"list",
"<",
"t",
">",
"(",
"this",
")",
")",
";"
] |
[
"{"
] | [
"return",
"(",
"new",
"java",
"compatible",
"array",
"list",
"<",
"t",
">",
"(",
"this",
")",
")",
";"
] |
[
"split",
"the",
"treap",
"at",
"index"
] | [
"final",
"pair",
"<",
"t",
">",
"p",
"=",
"split",
"(",
"(",
"node",
"<",
"t",
">",
")",
"root",
",",
"index",
")",
";",
"if",
"(",
"p",
"left",
"!",
"=",
"null",
")",
"p",
"left",
"parent",
"=",
"null",
";",
"if",
"(",
"p",
"right",
"!",
... |
[
"{"
] | [
"return",
"tree",
"printer",
"get",
"string",
"(",
"this",
")",
";"
] |
[
"{"
] | [
"return",
"list",
"add",
"(",
"value",
")",
";"
] |
[
"{"
] | [
"return",
"list",
"remove",
"(",
"(",
"t",
")",
"value",
")",
";"
] |
[
"{"
] | [
"return",
"list",
"contains",
"(",
"(",
"t",
")",
"value",
")",
";"
] |
[
"{"
] | [
"return",
"list",
"size",
";"
] |
[
"{"
] | [
"list",
"add",
"(",
"index",
",",
"value",
")",
";"
] |
[
"{"
] | [
"return",
"list",
"remove",
"at",
"index",
"(",
"index",
")",
";"
] |
[
"{"
] | [
"t",
"t",
"=",
"list",
"get",
"at",
"index",
"(",
"index",
")",
";",
"if",
"(",
"t",
"!",
"=",
"null",
")",
"return",
"t",
";",
"throw",
"new",
"index",
"out",
"of",
"bounds",
"exception",
"(",
")",
";"
] |
[
"{"
] | [
"return",
"list",
"set",
"(",
"index",
",",
"value",
")",
";"
] |
[
"returns",
"an",
"initialized",
"thread",
"-",
"safe",
"c",
"groups",
"handler",
"instance"
] | [
"if",
"(",
"c",
"groups",
"handler",
"=",
"=",
"null",
")",
"{",
"synchronized",
"(",
"c",
"groups",
"handler",
"class",
")",
"{",
"if",
"(",
"c",
"groups",
"handler",
"=",
"=",
"null",
")",
"{",
"c",
"groups",
"handler",
"=",
"new",
"c",
"groups",... |
[
"start",
"the",
"tomcat",
"embedded",
"server"
] | [
"tomcat",
"start",
"(",
")",
";"
] |
[
"stop",
"the",
"tomcat",
"embedded",
"server"
] | [
"tomcat",
"stop",
"(",
")",
";",
"tomcat",
"destroy",
"(",
")",
";",
"tomcat",
"get",
"server",
"(",
")",
"await",
"(",
")",
";"
] |
[
"adds",
"a",
"parameter"
] | [
"params",
"put",
"(",
"name",
",",
"value",
")",
";"
] |
[
"returns",
"parameter",
"for",
"given",
"name",
"or",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">",
"if",
"not",
"found"
] | [
"return",
"params",
"get",
"(",
"name",
")",
";"
] |
[
"serviecomb",
"chassis",
"consumers",
"and",
"providers",
"need",
"to",
"register",
"at",
"the",
"service",
"center",
"if",
"the",
"consumer",
"is",
"not",
"registered",
"then",
"return",
"false"
] | [
"if",
"(",
"null",
"=",
"=",
"invocation",
"get",
"operation",
"meta",
"(",
")",
"|",
"|",
"null",
"=",
"=",
"invocation",
"get",
"endpoint",
"(",
")",
")",
"{",
"return",
"false",
";",
"}",
"return",
"true",
";"
] |
[
"{"
] | [
"final",
"int",
"len",
"=",
"object",
"length",
";",
"buffer",
"put",
"int",
"(",
"len",
")",
";",
"buffer",
"put",
"(",
"object",
")",
";"
] |
[
"{"
] | [
"final",
"int",
"len",
"=",
"buffer",
"get",
"int",
"(",
")",
";",
"final",
"byte",
"[",
"]",
"result",
"=",
"new",
"byte",
"[",
"len",
"]",
";",
"buffer",
"get",
"(",
"result",
")",
";",
"return",
"result",
";"
] |
[
"{"
] | [
"return",
"buffer",
"get",
"int",
"(",
")",
"+",
"o",
"integer",
"serializer",
"int",
"size",
";"
] |
[
"{"
] | [
"final",
"int",
"len",
"=",
"wal",
"changes",
"get",
"int",
"value",
"(",
"buffer",
",",
"offset",
")",
";",
"offset",
"+",
"=",
"o",
"integer",
"serializer",
"int",
"size",
";",
"return",
"wal",
"changes",
"get",
"binary",
"value",
"(",
"buffer",
",",... |
[
"{"
] | [
"return",
"wal",
"changes",
"get",
"int",
"value",
"(",
"buffer",
",",
"offset",
")",
"+",
"o",
"integer",
"serializer",
"int",
"size",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"the",
"managed",
"action",
"<",
"/",
"p",
">"
] | [
"this",
"action",
"type",
"=",
"action",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"the",
"managed",
"action",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"action",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"action",
"for",
"which",
"the",
"principal",
"is",
"being",
"authorized",
"<",
"/",
"p",
">"
] | [
"set",
"action",
"type",
"(",
"action",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"action",
"for",
"which",
"the",
"principal",
"is",
"being",
"authorized",
"<",
"/",
"p",
">"
] | [
"this",
"action",
"type",
"=",
"action",
"type",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"aws",
"resources",
"identified",
"by",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"which",
"the",
"event",
"primarily",
"concerns",
"any",
"number",
"including",
"zero",
"may",
"be",
"present",
"<",
"/",
"p",
">"
] | [
"return",
"resources",
";"
] |
[
"<",
"p",
">",
"aws",
"resources",
"identified",
"by",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"which",
"the",
"event",
"primarily",
"concerns",
"any",
"number",
"including",
"zero",
"may",
"be",
"present",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"resources",
"=",
"=",
"null",
")",
"{",
"this",
"resources",
"=",
"null",
";",
"return",
";",
"}",
"this",
"resources",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"resources",
")",
";"
] |
[
"<",
"p",
">",
"the",
"resources",
"for",
"which",
"the",
"principal",
"is",
"being",
"authorized",
"to",
"perform",
"the",
"specified",
"action",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
... | [
"if",
"(",
"this",
"resources",
"=",
"=",
"null",
")",
"{",
"set",
"resources",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"resources",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"resources",
")",
"{"... |
[
"<",
"p",
">",
"the",
"resources",
"for",
"which",
"the",
"principal",
"is",
"being",
"authorized",
"to",
"perform",
"the",
"specified",
"action",
"<",
"/",
"p",
">"
] | [
"set",
"resources",
"(",
"resources",
")",
";",
"return",
"this",
";"
] |
[
"extract",
"internal",
"access",
"token",
"request"
] | [
"return",
"builder",
"build",
"(",
")",
";"
] |
[
"gets",
"registered",
"service",
"identifier",
"from",
"request"
] | [
"return",
"request",
"get",
"parameter",
"(",
"o",
"auth",
"2",
"0",
"constants",
"redirect",
"uri",
")",
";"
] |
[
"is",
"allowed",
"to",
"generate",
"refresh",
"token",
"?"
] | [
"return",
"true",
";"
] |
[
"gets",
"o",
"auth",
"parameter"
] | [
"return",
"request",
"get",
"parameter",
"(",
"get",
"o",
"auth",
"parameter",
"name",
"(",
")",
")",
";"
] |
[
"<",
"p",
">",
"the",
"job",
"s",
"result",
"counters",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"counters",
";"
] |
[
"<",
"p",
">",
"the",
"job",
"s",
"result",
"counters",
"<",
"/",
"p",
">"
] | [
"this",
"counters",
"=",
"counters",
";"
] |
[
"benchmark",
"time",
"to",
"call",
"content",
"resolver",
"acquire",
"content",
"provider",
"client",
"(",
")",
"when",
"target",
"package",
"is",
"running"
] | [
"run",
"perf",
"function",
"(",
"(",
")",
"-",
">",
"{",
"start",
"target",
"package",
"(",
")",
";",
"long",
"start",
"time",
"ns",
"=",
"system",
"nano",
"time",
"(",
")",
";",
"final",
"content",
"provider",
"client",
"content",
"provider",
"client"... |
[
"benchmark",
"time",
"to",
"call",
"content",
"resolver",
"acquire",
"content",
"provider",
"client",
"(",
")",
"when",
"target",
"package",
"is",
"not",
"running"
] | [
"run",
"perf",
"function",
"(",
"(",
")",
"-",
">",
"{",
"final",
"long",
"start",
"time",
"ns",
"=",
"system",
"nano",
"time",
"(",
")",
";",
"final",
"content",
"provider",
"client",
"content",
"provider",
"client",
"=",
"m",
"context",
"get",
"conte... |
[
"{"
] | [
"return",
"tx",
";"
] |
[
"{"
] | [
"return",
"transaction",
"(",
")",
"!",
"=",
"null",
";"
] |
[
"{"
] | [
"object",
"prev",
"=",
"this",
"attachment",
";",
"this",
"attachment",
"=",
"attachment",
";",
"return",
"prev",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"the",
"use",
"of",
"location",
"manager",
"below",
"is",
"simply",
"to",
"simulate",
"an",
"app",
"that",
"tries",
"to",
"use",
"it",
"so",
"we",
"can",
"verify",
"whether",
"permissions",
"are",
"granted",
"and",
"accessible"
] | [
"location",
"manager",
"location",
"manager",
"=",
"(",
"location",
"manager",
")",
"get",
"instrumentation",
"(",
")",
"get",
"context",
"(",
")",
"get",
"system",
"service",
"(",
"context",
"location",
"service",
")",
";",
"location",
"manager",
"request",
... |
[
"set",
"instructions",
"which",
"must",
"be",
"executed",
"before",
"condition",
"in",
"every",
"loop"
] | [
"this",
"pre",
"condition",
"=",
"pre",
"condition",
";"
] |
[
"move",
"all",
"pre",
"condition",
"block",
"instructions",
"before",
"condition",
"block",
"instructions"
] | [
"if",
"(",
"pre",
"condition",
"!",
"=",
"null",
"&",
"&",
"condition",
"block",
"!",
"=",
"null",
")",
"{",
"list",
"<",
"insn",
"node",
">",
"cond",
"insns",
"=",
"condition",
"block",
"get",
"instructions",
"(",
")",
";",
"list",
"<",
"insn",
"n... |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"in",
"read",
"fully",
"(",
"bytes",
",",
"start",
",",
"length",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"int",
"length",
"=",
"read",
"int",
"(",
")",
";",
"utf",
"8",
"result",
"=",
"(",
"old",
"!",
"=",
"null",
"?",
"old",
":",
"new",
"utf",
"8",
"(",
")",
")",
";",
"result",
"set",
"byte",
"length",
"(",
"length",
")",
";",
"if",
"(",
"lengt... |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"return",
"read",
"var",
"long",
"count",
"(",
"in",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"return",
"read",
"int",
"(",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"while",
"(",
"num",
">",
"0",
")",
"{",
"num",
"-",
"=",
"in",
"skip",
"bytes",
"(",
"num",
")",
";",
"}"
] |
[
"create",
"default",
"shape",
"processors"
] | [
"final",
"list",
"<",
"intermediate",
"model",
"shape",
"processor",
">",
"processors",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"processors",
"add",
"(",
"new",
"add",
"input",
"shapes",
"(",
"this",
")",
")",
";",
"processors",
"add",
"(... |
[
"link",
"the",
"member",
"to",
"it",
"s",
"corresponding",
"shape",
"(",
"if",
"it",
"exists",
")"
] | [
"for",
"(",
"map",
"entry",
"<",
"string",
",",
"shape",
"model",
">",
"entry",
":",
"model",
"get",
"shapes",
"(",
")",
"entry",
"set",
"(",
")",
")",
"{",
"if",
"(",
"entry",
"get",
"value",
"(",
")",
"get",
"members",
"(",
")",
"!",
"=",
"nu... |
[
"set",
"the",
"drop",
"target",
"s",
"text",
"to",
"either",
"remove",
"or",
"cancel",
"depending",
"on",
"the",
"drag",
"source"
] | [
"if",
"(",
"!",
"text",
"utils",
"is",
"empty",
"(",
"get",
"text",
"(",
")",
")",
")",
"{",
"set",
"text",
"(",
"drag",
"source",
"supports",
"delete",
"drop",
"target",
"(",
")",
"?",
"r",
"string",
"remove",
"drop",
"target",
"label",
":",
"andr... |
[
"appends",
"the",
"specified",
"part",
"to",
"the",
"end",
"of",
"this",
"body"
] | [
"if",
"(",
"null",
"=",
"=",
"part",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"put",
"part",
"to",
"maps",
"(",
"part",
")",
";",
"return",
"m",
"parts",
"add",
"(",
"part",
")",
";"
] |
[
"inserts",
"the",
"specified",
"part",
"at",
"the",
"specified",
"position"
] | [
"if",
"(",
"null",
"=",
"=",
"part",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"put",
"part",
"to",
"maps",
"(",
"part",
")",
";",
"m",
"parts",
"add",
"(",
"index",
",",
"part",
")",
";"
] |
[
"removes",
"the",
"part",
"at",
"the",
"specified",
"position"
] | [
"return",
"m",
"parts",
"remove",
"(",
"index",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.