docstring_tokens list | code_tokens list |
|---|---|
[
"start",
"hardware",
"-",
"batching",
"of",
"gnss",
"locations",
"this",
"api",
"is",
"primarily",
"used",
"when",
"the",
"ap",
"is",
"asleep",
"and",
"the",
"device",
"can",
"batch",
"gnss",
"locations",
"in",
"the",
"hardware"
] | [
"m",
"batched",
"location",
"callback",
"transport",
"add",
"(",
"callback",
",",
"handler",
")",
";",
"try",
"{",
"return",
"m",
"service",
"start",
"gnss",
"batch",
"(",
"period",
"nanos",
",",
"wake",
"on",
"fifo",
"full",
",",
"m",
"context",
"get",
... |
[
"flush",
"the",
"batched",
"gnss",
"locations",
"all",
"gnss",
"locations",
"currently",
"ready",
"in",
"the",
"batch",
"are",
"returned",
"via",
"the",
"callback",
"sent",
"in",
"start",
"gnss",
"batch",
"(",
")",
"and",
"the",
"buffer",
"containing",
"the"... | [
"try",
"{",
"m",
"service",
"flush",
"gnss",
"batch",
"(",
"m",
"context",
"get",
"package",
"name",
"(",
")",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e",
"rethrow",
"from",
"system",
"server",
"(",
")",
";",
"}... |
[
"stop",
"batching",
"locations",
"this",
"api",
"is",
"primarily",
"used",
"when",
"the",
"ap",
"is",
"asleep",
"and",
"the",
"device",
"can",
"batch",
"locations",
"in",
"the",
"hardware"
] | [
"m",
"batched",
"location",
"callback",
"transport",
"remove",
"(",
"callback",
")",
";",
"try",
"{",
"return",
"m",
"service",
"stop",
"gnss",
"batch",
"(",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e",
"rethrow",
"f... |
[
"sends",
"additional",
"commands",
"to",
"a",
"location",
"provider",
"can",
"be",
"used",
"to",
"support",
"provider",
"specific",
"extensions",
"to",
"the",
"location",
"manager",
"api"
] | [
"try",
"{",
"return",
"m",
"service",
"send",
"extra",
"command",
"(",
"provider",
",",
"command",
",",
"extras",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e",
"rethrow",
"from",
"system",
"server",
"(",
")",
";",
"... |
[
"used",
"by",
"net",
"initiated",
"activity",
"to",
"report",
"user",
"response",
"for",
"network",
"initiated",
"gps",
"fix",
"requests"
] | [
"try",
"{",
"return",
"m",
"service",
"send",
"ni",
"response",
"(",
"notif",
"id",
",",
"user",
"response",
")",
";",
"}",
"catch",
"(",
"remote",
"exception",
"e",
")",
"{",
"throw",
"e",
"rethrow",
"from",
"system",
"server",
"(",
")",
";",
"}"
] |
[
"invoked",
"once",
"immediately",
"after",
"construction"
] | [
"int",
"timeout",
"=",
"utils",
"get",
"int",
"(",
"storm",
"conf",
"get",
"(",
"config",
"storm",
"group",
"mapping",
"service",
"cache",
"duration",
"secs",
")",
")",
";",
"cached",
"groups",
"=",
"new",
"time",
"cache",
"map",
"<",
"string",
",",
"s... |
[
"returns",
"list",
"of",
"groups",
"for",
"a",
"user"
] | [
"if",
"(",
"cached",
"groups",
"contains",
"key",
"(",
"user",
")",
")",
"{",
"return",
"cached",
"groups",
"get",
"(",
"user",
")",
";",
"}",
"set",
"<",
"string",
">",
"groups",
"=",
"get",
"unix",
"groups",
"(",
"user",
")",
";",
"if",
"(",
"!... |
[
"{"
] | [
"assert",
"state",
"!",
"=",
"null",
";",
"name",
"=",
"igfs",
"utils",
"fix",
"user",
"name",
"(",
"name",
")",
";",
"switch",
"(",
"state",
")",
"{",
"case",
"name",
":",
"return",
"name",
";",
"case",
"name",
"realm",
":",
"return",
"name",
"+",... |
[
"{"
] | [
"if",
"(",
"!",
"f",
"is",
"empty",
"(",
"instance",
")",
")",
"state",
"=",
"f",
"is",
"empty",
"(",
"realm",
")",
"?",
"state",
"name",
"instance",
":",
"state",
"name",
"instance",
"realm",
";",
"else",
"state",
"=",
"f",
"is",
"empty",
"(",
"... |
[
"get",
"kerberos",
"instance",
"(",
"optional",
")"
] | [
"return",
"instance",
";"
] |
[
"set",
"kerberos",
"instance",
"(",
"optional",
")"
] | [
"this",
"instance",
"=",
"instance",
";"
] |
[
"get",
"kerberos",
"realm",
"(",
"optional",
")"
] | [
"return",
"realm",
";"
] |
[
"set",
"kerberos",
"realm",
"(",
"optional",
")"
] | [
"this",
"realm",
"=",
"realm",
";"
] |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"kerberos",
"user",
"name",
"mapper",
"class",
",",
"this",
")",
";"
] |
[
"used",
"by",
"my",
"batis",
"mapper"
] | [
"return",
"build",
"like",
"value",
"(",
"name",
"or",
"key",
"query",
",",
"wildcard",
"position",
"before",
"and",
"after",
")",
"to",
"upper",
"case",
"(",
"locale",
"english",
")",
";"
] |
[
"used",
"by",
"my",
"batis",
"mapper"
] | [
"return",
"partial",
"match",
"on",
"key",
";"
] |
[
"beware",
"can",
"be",
"resource",
"intensive",
"!",
"should",
"be",
"used",
"with",
"precautions"
] | [
"this",
"partial",
"match",
"on",
"key",
"=",
"partial",
"match",
"on",
"key",
";",
"return",
"this",
";"
] |
[
"filter",
"on",
"date",
"of",
"last",
"analysis",
"on",
"projects",
"all",
"branches",
"and",
"pull",
"requests",
"are",
"taken",
"into",
"account",
"for",
"example",
"the",
"analysis",
"of",
"a",
"short",
"-",
"lived",
"branch",
"is",
"included",
"in",
"t... | [
"this",
"any",
"branch",
"analyzed",
"after",
"=",
"l",
";",
"return",
"this",
";"
] |
[
"create",
"an",
"<",
"code",
">",
"unsigned",
"byte",
"<",
"/",
"code",
">"
] | [
"return",
"value",
"=",
"=",
"null",
"?",
"null",
":",
"u",
"byte",
"value",
"of",
"(",
"value",
")",
";"
] |
[
"create",
"an",
"<",
"code",
">",
"unsigned",
"byte",
"<",
"/",
"code",
">",
"by",
"masking",
"it",
"with",
"<",
"code",
">",
"0x",
"f",
"f",
"<",
"/",
"code",
">",
"i",
"e",
"<",
"code",
">",
"(",
"byte",
")",
"-",
"1",
"<",
"/",
"code",
"... | [
"return",
"u",
"byte",
"value",
"of",
"(",
"value",
")",
";"
] |
[
"create",
"an",
"<",
"code",
">",
"unsigned",
"byte",
"<",
"/",
"code",
">"
] | [
"return",
"u",
"byte",
"value",
"of",
"(",
"value",
")",
";"
] |
[
"create",
"an",
"<",
"code",
">",
"unsigned",
"byte",
"<",
"/",
"code",
">"
] | [
"return",
"u",
"byte",
"value",
"of",
"(",
"value",
")",
";"
] |
[
"create",
"an",
"<",
"code",
">",
"unsigned",
"byte",
"<",
"/",
"code",
">"
] | [
"return",
"u",
"byte",
"value",
"of",
"(",
"value",
")",
";"
] |
[
"create",
"an",
"<",
"code",
">",
"unsigned",
"short",
"<",
"/",
"code",
">"
] | [
"return",
"value",
"=",
"=",
"null",
"?",
"null",
":",
"u",
"short",
"value",
"of",
"(",
"value",
")",
";"
] |
[
"create",
"an",
"<",
"code",
">",
"unsigned",
"short",
"<",
"/",
"code",
">",
"by",
"masking",
"it",
"with",
"<",
"code",
">",
"0x",
"f",
"f",
"f",
"f",
"<",
"/",
"code",
">",
"i",
"e",
"<",
"code",
">",
"(",
"short",
")",
"-",
"1",
"<",
"/... | [
"return",
"u",
"short",
"value",
"of",
"(",
"value",
")",
";"
] |
[
"create",
"an",
"<",
"code",
">",
"unsigned",
"short",
"<",
"/",
"code",
">"
] | [
"return",
"u",
"short",
"value",
"of",
"(",
"value",
")",
";"
] |
[
"create",
"an",
"<",
"code",
">",
"unsigned",
"int",
"<",
"/",
"code",
">"
] | [
"return",
"value",
"=",
"=",
"null",
"?",
"null",
":",
"u",
"integer",
"value",
"of",
"(",
"value",
")",
";"
] |
[
"create",
"an",
"<",
"code",
">",
"unsigned",
"int",
"<",
"/",
"code",
">",
"by",
"masking",
"it",
"with",
"<",
"code",
">",
"0x",
"f",
"f",
"f",
"f",
"f",
"f",
"f",
"f",
"<",
"/",
"code",
">",
"i",
"e",
"<",
"code",
">",
"(",
"int",
")",
... | [
"return",
"u",
"integer",
"value",
"of",
"(",
"value",
")",
";"
] |
[
"create",
"an",
"<",
"code",
">",
"unsigned",
"int",
"<",
"/",
"code",
">"
] | [
"return",
"u",
"integer",
"value",
"of",
"(",
"value",
")",
";"
] |
[
"create",
"an",
"<",
"code",
">",
"unsigned",
"long",
"<",
"/",
"code",
">"
] | [
"return",
"value",
"=",
"=",
"null",
"?",
"null",
":",
"u",
"long",
"value",
"of",
"(",
"value",
")",
";"
] |
[
"create",
"an",
"<",
"code",
">",
"unsigned",
"long",
"<",
"/",
"code",
">",
"by",
"masking",
"it",
"with",
"<",
"code",
">",
"0x",
"f",
"f",
"f",
"f",
"f",
"f",
"f",
"f",
"f",
"f",
"f",
"f",
"f",
"f",
"f",
"f",
"<",
"/",
"code",
">",
"i"... | [
"return",
"u",
"long",
"value",
"of",
"(",
"value",
")",
";"
] |
[
"create",
"an",
"<",
"code",
">",
"unsigned",
"long",
"<",
"/",
"code",
">"
] | [
"return",
"u",
"long",
"value",
"of",
"(",
"value",
")",
";"
] |
[
"<",
"p",
">",
"a",
"map",
"of",
"attributes",
"to",
"their",
"respective",
"values",
"<",
"/",
"p",
">"
] | [
"set",
"attributes",
"(",
"attributes",
")",
";",
"return",
"this",
";"
] |
[
"removes",
"all",
"the",
"entries",
"added",
"into",
"attributes"
] | [
"this",
"attributes",
"=",
"null",
";",
"return",
"this",
";"
] |
[
"sets",
"flag",
"mask"
] | [
"flags",
"=",
"flag",
"?",
"(",
"byte",
")",
"(",
"flags",
"|",
"mask",
")",
":",
"(",
"byte",
")",
"(",
"flags",
"&",
"~",
"mask",
")",
";"
] |
[
"reags",
"flag",
"mask"
] | [
"return",
"(",
"flags",
"&",
"mask",
")",
"!",
"=",
"0",
";"
] |
[
"{"
] | [
"return",
"part",
";"
] |
[
"{"
] | [
"return",
"tx",
"state",
";"
] |
[
"{"
] | [
"this",
"tx",
"state",
"=",
"tx",
"state",
";"
] |
[
"{"
] | [
"return",
"ctx",
"tx",
"prepare",
"message",
"logger",
"(",
")",
";"
] |
[
"{"
] | [
"super",
"prepare",
"marshal",
"(",
"ctx",
")",
";",
"if",
"(",
"err",
"!",
"=",
"null",
"&",
"&",
"err",
"bytes",
"=",
"=",
"null",
")",
"err",
"bytes",
"=",
"u",
"marshal",
"(",
"ctx",
",",
"err",
")",
";"
] |
[
"{"
] | [
"super",
"finish",
"unmarshal",
"(",
"ctx",
",",
"ldr",
")",
";",
"if",
"(",
"err",
"bytes",
"!",
"=",
"null",
"&",
"&",
"err",
"=",
"=",
"null",
")",
"err",
"=",
"u",
"unmarshal",
"(",
"ctx",
",",
"err",
"bytes",
",",
"u",
"resolve",
"class",
... |
[
"{"
] | [
"return",
"26",
";"
] |
[
"{"
] | [
"return",
"10",
";"
] |
[
"required",
"by",
"path",
"helper"
] | [
"super",
"set",
"image",
"bitmap",
"(",
"bm",
")",
";",
"get",
"path",
"helper",
"(",
")",
"on",
"image",
"drawable",
"reset",
"(",
"get",
"drawable",
"(",
")",
")",
";"
] |
[
"replies",
"to",
"the",
"parent",
"status"
] | [
"return",
"null",
";"
] |
[
"gets",
"a",
"batch",
"of",
"replies",
"by",
"status",
"i",
"d"
] | [
"return",
"null",
";"
] |
[
"gets",
"a",
"single",
"status",
"resource"
] | [
"return",
"null",
";"
] |
[
"deletes",
"a",
"status",
"resource"
] | [
"return",
"null",
";"
] |
[
"partially",
"updates",
"a",
"single",
"status",
"resource"
] | [
"return",
"null",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"s",
"type",
"(",
"s",
"type",
")",
";",
"p",
"next",
"(",
"p",
"next",
")",
";",
"protected",
"no",
"fault",
"(",
"protected",
"no",
"fault",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
... |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
"must... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
"the",
"instance",
"mu... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"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",
"physical",
"device",
"protected",
"memory",
"properties",
"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",
"physical",
"device",
"protected",
"memory",
"properties",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"z... | [
"return",
"wrap",
"(",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"i... | [
"return",
"calloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"stype",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"pnext",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"protectednofault",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"stype",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"pnext",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"physical",
"device",
"protected",
"memory",
"properties",
"protectednofault",
",",
"value",
")",
";"
] |
[
"returns",
"true",
"if",
"field",
"content",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"content",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"corresponding",
"to",
"field",
"i",
"d",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"if",
"(",
"field",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"switch",
"(",
"field",
")",
"{",
"case",
"name",
":",
"return",
"is",
"set",
"name",
"(",
")",
";",
"case",
"content",
":",
"... |
[
"construct",
"a",
"{",
"@",
"link",
"safari",
"options",
"}",
"instance",
"from",
"given",
"capabilites",
"when",
"the",
"{",
"@",
"link",
"#",
"capability",
"}",
"capability",
"is",
"set",
"all",
"other",
"capabilities",
"will",
"be",
"ignored",
"!"
] | [
"if",
"(",
"capabilities",
"instanceof",
"safari",
"options",
")",
"{",
"return",
"(",
"safari",
"options",
")",
"capabilities",
";",
"}",
"object",
"cap",
"=",
"capabilities",
"get",
"capability",
"(",
"safari",
"options",
"capability",
")",
";",
"if",
"(",... |
[
"instruct",
"the",
"safari",
"driver",
"to",
"enable",
"the",
"automatic",
"inspection",
"if",
"true",
"otherwise",
"disable",
"the",
"automatic",
"inspection",
"defaults",
"to",
"disabling",
"the",
"automatic",
"inspection"
] | [
"set",
"capability",
"(",
"option",
"automatic",
"inspection",
",",
"automatic",
"inspection",
")",
";",
"return",
"this",
";"
] |
[
"instruct",
"the",
"safari",
"driver",
"to",
"enable",
"the",
"automatic",
"profiling",
"if",
"true",
"otherwise",
"disable",
"the",
"automatic",
"profiling",
"defaults",
"to",
"disabling",
"the",
"automatic",
"profiling"
] | [
"set",
"capability",
"(",
"option",
"automatic",
"profiling",
",",
"automatic",
"profiling",
")",
";",
"return",
"this",
";"
] |
[
"getters"
] | [
"return",
"boolean",
"true",
"equals",
"(",
"get",
"capability",
"(",
"option",
"automatic",
"inspection",
")",
")",
";"
] |
[
"parse",
"a",
"map",
"and",
"reconstruct",
"the",
"{",
"@",
"link",
"safari",
"options",
"}"
] | [
"safari",
"options",
"safari",
"options",
"=",
"new",
"safari",
"options",
"(",
")",
";",
"object",
"use",
"technology",
"preview",
"=",
"options",
"get",
"(",
"option",
"technology",
"preview",
")",
";",
"if",
"(",
"use",
"technology",
"preview",
"instanceo... |
[
"convenience",
"method",
"to",
"get",
"query",
"arrival",
"time"
] | [
"return",
"query",
"request",
"get",
"timer",
"context",
"(",
")",
"get",
"query",
"arrival",
"time",
"ms",
"(",
")",
";"
] |
[
"returns",
"the",
"name",
"of",
"this",
"g",
"path",
"result"
] | [
"return",
"this",
"name",
";"
] |
[
"<",
"p",
">",
"request",
"the",
"id",
"for",
"the",
"public",
"key",
"<",
"/",
"p",
">"
] | [
"set",
"id",
"(",
"id",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"empty",
"array"
] | [
"return",
"empty",
";"
] |
[
"returns",
"an",
"immutable",
"array",
"containing",
"a",
"single",
"value"
] | [
"return",
"new",
"immutable",
"double",
"array",
"(",
"new",
"double",
"[",
"]",
"{",
"e",
"0",
"}",
")",
";"
] |
[
"returns",
"an",
"immutable",
"array",
"containing",
"the",
"given",
"values",
"in",
"order"
] | [
"return",
"new",
"immutable",
"double",
"array",
"(",
"new",
"double",
"[",
"]",
"{",
"e",
"0",
",",
"e",
"1",
"}",
")",
";"
] |
[
"returns",
"an",
"immutable",
"array",
"containing",
"the",
"given",
"values",
"in",
"order"
] | [
"return",
"new",
"immutable",
"double",
"array",
"(",
"new",
"double",
"[",
"]",
"{",
"e",
"0",
",",
"e",
"1",
",",
"e",
"2",
"}",
")",
";"
] |
[
"returns",
"an",
"immutable",
"array",
"containing",
"the",
"given",
"values",
"in",
"order"
] | [
"return",
"new",
"immutable",
"double",
"array",
"(",
"new",
"double",
"[",
"]",
"{",
"e",
"0",
",",
"e",
"1",
",",
"e",
"2",
",",
"e",
"3",
"}",
")",
";"
] |
[
"returns",
"an",
"immutable",
"array",
"containing",
"the",
"given",
"values",
"in",
"order"
] | [
"return",
"new",
"immutable",
"double",
"array",
"(",
"new",
"double",
"[",
"]",
"{",
"e",
"0",
",",
"e",
"1",
",",
"e",
"2",
",",
"e",
"3",
",",
"e",
"4",
"}",
")",
";"
] |
[
"returns",
"an",
"immutable",
"array",
"containing",
"the",
"given",
"values",
"in",
"order"
] | [
"return",
"new",
"immutable",
"double",
"array",
"(",
"new",
"double",
"[",
"]",
"{",
"e",
"0",
",",
"e",
"1",
",",
"e",
"2",
",",
"e",
"3",
",",
"e",
"4",
",",
"e",
"5",
"}",
")",
";"
] |
[
"returns",
"an",
"immutable",
"array",
"containing",
"the",
"given",
"values",
"in",
"order"
] | [
"return",
"values",
"length",
"=",
"=",
"0",
"?",
"empty",
":",
"new",
"immutable",
"double",
"array",
"(",
"arrays",
"copy",
"of",
"(",
"values",
",",
"values",
"length",
")",
")",
";"
] |
[
"returns",
"an",
"immutable",
"array",
"containing",
"the",
"given",
"values",
"in",
"order"
] | [
"return",
"values",
"is",
"empty",
"(",
")",
"?",
"empty",
":",
"new",
"immutable",
"double",
"array",
"(",
"doubles",
"to",
"array",
"(",
"values",
")",
")",
";"
] |
[
"returns",
"an",
"immutable",
"array",
"containing",
"the",
"given",
"values",
"in",
"order"
] | [
"if",
"(",
"values",
"instanceof",
"collection",
")",
"{",
"return",
"copy",
"of",
"(",
"(",
"collection",
"<",
"double",
">",
")",
"values",
")",
";",
"}",
"return",
"builder",
"(",
")",
"add",
"all",
"(",
"values",
")",
"build",
"(",
")",
";"
] |
[
"returns",
"a",
"new",
"empty",
"builder",
"for",
"{",
"@",
"link",
"immutable",
"int",
"array",
"}",
"instances",
"with",
"a",
"default",
"initial",
"capacity",
"the",
"returned",
"builder",
"is",
"not",
"thread",
"-",
"safe"
] | [
"return",
"new",
"builder",
"(",
"10",
")",
";"
] |
[
"appends",
"{"
] | [
"ensure",
"room",
"for",
"(",
"1",
")",
";",
"array",
"[",
"count",
"]",
"=",
"value",
";",
"count",
"+",
"=",
"1",
";",
"return",
"this",
";"
] |
[
"appends",
"{"
] | [
"ensure",
"room",
"for",
"(",
"values",
"length",
")",
";",
"system",
"arraycopy",
"(",
"values",
",",
"0",
",",
"array",
",",
"count",
",",
"values",
"length",
")",
";",
"count",
"+",
"=",
"values",
"length",
";",
"return",
"this",
";"
] |
[
"appends",
"{"
] | [
"if",
"(",
"values",
"instanceof",
"collection",
")",
"{",
"return",
"add",
"all",
"(",
"(",
"collection",
"<",
"double",
">",
")",
"values",
")",
";",
"}",
"for",
"(",
"double",
"value",
":",
"values",
")",
"{",
"add",
"(",
"value",
")",
";",
"}",... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.