docstring_tokens
list | code_tokens
list |
---|---|
[
"<",
"p",
">",
"the",
"name",
"associated",
"with",
"the",
"stack",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"stack",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"or",
"unique",
"id",
"of",
"the",
"stack",
"for",
"which",
"you",
"want",
"to",
"set",
"termination",
"protection",
"<",
"/",
"p",
">"
] |
[
"set",
"stack",
"name",
"(",
"stack",
"name",
")",
";",
"return",
"this",
";"
] |
[
"no",
"equals",
"and",
"hash",
"code",
";",
"see",
"forwarding",
"object",
"for",
"details"
] |
[
"synchronized",
"(",
"mutex",
")",
"{",
"return",
"delegate",
"to",
"string",
"(",
")",
";",
"}"
] |
[
"see",
"collections",
"checked",
"map",
"checked",
"entry",
"set",
"for",
"details",
"on",
"attacks"
] |
[
"synchronized",
"(",
"mutex",
")",
"{",
"return",
"object",
"arrays",
"to",
"array",
"impl",
"(",
"delegate",
"(",
")",
")",
";",
"}"
] |
[
"enables",
"real",
"execution",
"by",
"default"
] |
[
"subprocess",
"builder",
"set",
"subprocess",
"factory",
"(",
"java",
"subprocess",
"factory",
"instance",
")",
";",
"resource",
"manager",
"set",
"available",
"resources",
"(",
"local",
"host",
"capacity",
"get",
"local",
"host",
"capacity",
"(",
")",
")",
";"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
] |
[
"return",
"access",
"denied",
"exception",
";"
] |
[
"when",
"true",
"fields",
"in",
"the",
"json",
"that",
"are",
"not",
"found",
"on",
"the",
"class",
"will",
"not",
"throw",
"a",
"{"
] |
[
"this",
"ignore",
"unknown",
"fields",
"=",
"ignore",
"unknown",
"fields",
";"
] |
[
"set",
"whether",
"to",
"ignore",
"invalid",
"fields",
"that",
"is",
"whether",
"to",
"ignore",
"bind",
"parameters",
"that",
"have",
"corresponding",
"fields",
"in",
"the",
"target",
"object",
"which",
"are",
"not",
"accessible",
"(",
"for",
"example",
"because",
"of",
"null",
"values",
"in",
"the",
"nested",
"path",
")",
"<",
"p",
">",
"default",
"is",
"false",
"turn",
"this",
"on",
"to",
"ignore",
"bind",
"parameters",
"for",
"nested",
"objects",
"in",
"non",
"-",
"existing",
"parts",
"of",
"the",
"target",
"object",
"graph",
"<",
"p",
">",
"note",
"that",
"this",
"setting",
"only",
"applies",
"to",
"<",
"i",
">",
"binding",
"<",
"/",
"i",
">",
"operations",
"on",
"this",
"data",
"binder",
"not",
"to",
"<",
"i",
">",
"retrieving",
"<",
"/",
"i",
">",
"values",
"via",
"its",
"{"
] |
[
"this",
"ignore",
"invalid",
"fields",
"=",
"ignore",
"invalid",
"fields",
";"
] |
[
"create",
"{",
"@",
"link",
"dubbo",
"config",
"binder",
"}",
"instance"
] |
[
"default",
"dubbo",
"config",
"binder",
"default",
"dubbo",
"config",
"binder",
"=",
"new",
"default",
"dubbo",
"config",
"binder",
"(",
")",
";",
"default",
"dubbo",
"config",
"binder",
"set",
"environment",
"(",
"environment",
")",
";",
"return",
"default",
"dubbo",
"config",
"binder",
";"
] |
[
"this",
"is",
"now",
"a",
"read",
"lock"
] |
[
"super",
"write",
"lock",
"overridden",
"by",
"parent",
"(",
"cont",
",",
"entered",
")",
";"
] |
[
"path",
"of",
"the",
"rest",
"service",
"such",
"as",
"/",
"foo"
] |
[
"this",
"path",
"=",
"path",
";"
] |
[
"the",
"path",
"of",
"the",
"file",
"or",
"directory"
] |
[
"return",
"this",
"path",
";"
] |
[
"<",
"p",
">",
"the",
"path",
"for",
"the",
"virtual",
"mfa",
"device",
"for",
"more",
"information",
"about",
"paths",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"iam",
"/",
"latest",
"/",
"user",
"guide",
"/",
"using",
"identifiers",
"html",
">",
"iam",
"identifiers",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"iam",
"user",
"guide",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"parameter",
"is",
"optional",
"if",
"it",
"is",
"not",
"included",
"it",
"defaults",
"to",
"a",
"slash",
"(",
"/",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"parameter",
"allows",
"(",
"per",
"its",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"wikipedia",
"org",
"/",
"wiki",
"/",
"regex",
">",
"regex",
"pattern",
"<",
"/",
"a",
">",
")",
"a",
"string",
"of",
"characters",
"consisting",
"of",
"either",
"a",
"forward",
"slash",
"(",
"/",
")",
"by",
"itself",
"or",
"a",
"string",
"that",
"must",
"begin",
"and",
"end",
"with",
"forward",
"slashes",
"in",
"addition",
"it",
"can",
"contain",
"any",
"ascii",
"character",
"from",
"the",
"!",
"(",
"\\",
"u",
"0",
"0",
"2",
"1",
")",
"through",
"the",
"del",
"character",
"(",
"\\",
"u",
"0",
"0",
"7",
"f",
")",
"including",
"most",
"punctuation",
"characters",
"digits",
"and",
"upper",
"and",
"lowercased",
"letters",
"<",
"/",
"p",
">"
] |
[
"set",
"path",
"(",
"path",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"virtual",
"mfa",
"device",
"use",
"with",
"path",
"to",
"uniquely",
"identify",
"a",
"virtual",
"mfa",
"device",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"parameter",
"allows",
"(",
"per",
"its",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"wikipedia",
"org",
"/",
"wiki",
"/",
"regex",
">",
"regex",
"pattern",
"<",
"/",
"a",
">",
")",
"a",
"string",
"of",
"characters",
"consisting",
"of",
"upper",
"and",
"lowercase",
"alphanumeric",
"characters",
"with",
"no",
"spaces",
"you",
"can",
"also",
"include",
"any",
"of",
"the",
"following",
"characters",
":",
"+",
"=",
"@",
"-",
"<",
"/",
"p",
">"
] |
[
"this",
"virtual",
"m",
"f",
"a",
"device",
"name",
"=",
"virtual",
"m",
"f",
"a",
"device",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"virtual",
"mfa",
"device",
"use",
"with",
"path",
"to",
"uniquely",
"identify",
"a",
"virtual",
"mfa",
"device",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"parameter",
"allows",
"(",
"per",
"its",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"wikipedia",
"org",
"/",
"wiki",
"/",
"regex",
">",
"regex",
"pattern",
"<",
"/",
"a",
">",
")",
"a",
"string",
"of",
"characters",
"consisting",
"of",
"upper",
"and",
"lowercase",
"alphanumeric",
"characters",
"with",
"no",
"spaces",
"you",
"can",
"also",
"include",
"any",
"of",
"the",
"following",
"characters",
":",
"+",
"=",
"@",
"-",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"virtual",
"m",
"f",
"a",
"device",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"virtual",
"mfa",
"device",
"use",
"with",
"path",
"to",
"uniquely",
"identify",
"a",
"virtual",
"mfa",
"device",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"parameter",
"allows",
"(",
"per",
"its",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"wikipedia",
"org",
"/",
"wiki",
"/",
"regex",
">",
"regex",
"pattern",
"<",
"/",
"a",
">",
")",
"a",
"string",
"of",
"characters",
"consisting",
"of",
"upper",
"and",
"lowercase",
"alphanumeric",
"characters",
"with",
"no",
"spaces",
"you",
"can",
"also",
"include",
"any",
"of",
"the",
"following",
"characters",
":",
"+",
"=",
"@",
"-",
"<",
"/",
"p",
">"
] |
[
"set",
"virtual",
"m",
"f",
"a",
"device",
"name",
"(",
"virtual",
"m",
"f",
"a",
"device",
"name",
")",
";",
"return",
"this",
";"
] |
[
"{"
] |
[
"return",
"get",
"by",
"key",
"(",
"key",
",",
"read",
"policy",
"read",
"all",
")",
";"
] |
[
"{",
"@",
"link",
"readable",
"data",
"source",
"#",
"get",
"by",
"key",
"(",
"object",
")",
"}"
] |
[
"validate",
"key",
"(",
"key",
")",
";",
"v",
"value",
"=",
"null",
";",
"if",
"(",
"policy",
"use",
"cache",
"(",
")",
")",
"{",
"value",
"=",
"get",
"value",
"from",
"caches",
"(",
"key",
")",
";",
"}",
"if",
"(",
"value",
"=",
"=",
"null",
"&",
"&",
"policy",
"use",
"readable",
"(",
")",
")",
"{",
"value",
"=",
"get",
"value",
"from",
"readables",
"(",
"key",
")",
";",
"}",
"if",
"(",
"value",
"!",
"=",
"null",
")",
"{",
"populate",
"caches",
"(",
"value",
")",
";",
"}",
"return",
"value",
";"
] |
[
"{"
] |
[
"return",
"get",
"all",
"(",
"read",
"policy",
"read",
"all",
")",
";"
] |
[
"{",
"@",
"link",
"readable",
"data",
"source",
"#",
"get",
"all",
"(",
")",
"}"
] |
[
"collection",
"<",
"v",
">",
"values",
"=",
"null",
";",
"if",
"(",
"policy",
"use",
"cache",
"(",
")",
")",
"{",
"values",
"=",
"get",
"values",
"from",
"caches",
"(",
")",
";",
"}",
"if",
"(",
"values",
"=",
"=",
"null",
"&",
"&",
"policy",
"use",
"readable",
"(",
")",
")",
"{",
"values",
"=",
"get",
"values",
"from",
"readables",
"(",
")",
";",
"}",
"if",
"(",
"values",
"!",
"=",
"null",
")",
"{",
"populate",
"caches",
"(",
"values",
")",
";",
"}",
"return",
"values",
";"
] |
[
"{"
] |
[
"return",
"add",
"or",
"update",
"(",
"value",
",",
"write",
"policy",
"write",
"all",
")",
";"
] |
[
"{",
"@",
"link",
"writeable",
"data",
"source",
"#",
"add",
"or",
"update",
"(",
"identifiable",
")",
"}"
] |
[
"validate",
"value",
"(",
"value",
")",
";",
"v",
"updated",
"value",
"=",
"null",
";",
"for",
"(",
"writeable",
"data",
"source",
"<",
"k",
",",
"v",
">",
"writeable",
"data",
"source",
":",
"writeable",
"data",
"sources",
")",
"{",
"updated",
"value",
"=",
"writeable",
"data",
"source",
"add",
"or",
"update",
"(",
"value",
")",
";",
"if",
"(",
"updated",
"value",
"!",
"=",
"null",
"&",
"&",
"policy",
"=",
"=",
"write",
"policy",
"write",
"once",
")",
"{",
"break",
";",
"}",
"}",
"if",
"(",
"updated",
"value",
"!",
"=",
"null",
")",
"{",
"populate",
"caches",
"(",
"updated",
"value",
")",
";",
"}",
"return",
"updated",
"value",
";"
] |
[
"{"
] |
[
"return",
"add",
"or",
"update",
"all",
"(",
"values",
",",
"write",
"policy",
"write",
"all",
")",
";"
] |
[
"{"
] |
[
"for",
"(",
"writeable",
"data",
"source",
"<",
"k",
",",
"v",
">",
"writeable",
"data",
"source",
":",
"writeable",
"data",
"sources",
")",
"{",
"writeable",
"data",
"source",
"delete",
"by",
"key",
"(",
"key",
")",
";",
"}",
"for",
"(",
"cache",
"data",
"source",
"<",
"k",
",",
"v",
">",
"cache",
"data",
"source",
":",
"cache",
"data",
"sources",
")",
"{",
"cache",
"data",
"source",
"delete",
"by",
"key",
"(",
"key",
")",
";",
"}"
] |
[
"{"
] |
[
"for",
"(",
"writeable",
"data",
"source",
"<",
"k",
",",
"v",
">",
"writeable",
"data",
"source",
":",
"writeable",
"data",
"sources",
")",
"{",
"writeable",
"data",
"source",
"delete",
"all",
"(",
")",
";",
"}",
"for",
"(",
"cache",
"data",
"source",
"<",
"k",
",",
"v",
">",
"cache",
"data",
"source",
":",
"cache",
"data",
"sources",
")",
"{",
"cache",
"data",
"source",
"delete",
"all",
"(",
")",
";",
"}"
] |
[
"gets",
"the",
"value",
"of",
"the",
"number",
"property"
] |
[
"return",
"number",
";"
] |
[
"the",
"distribution",
"certificate",
"from",
"apple"
] |
[
"this",
"certificate",
"=",
"certificate",
";"
] |
[
"the",
"distribution",
"certificate",
"from",
"apple"
] |
[
"return",
"this",
"certificate",
";"
] |
[
"<",
"p",
">",
"string",
"that",
"contains",
"the",
"acm",
"certificate",
"represented",
"by",
"the",
"arn",
"specified",
"at",
"input",
"<",
"/",
"p",
">"
] |
[
"set",
"certificate",
"(",
"certificate",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"contents",
"of",
"the",
"certificate",
"chain",
"this",
"is",
"typically",
"a",
"concatenation",
"of",
"the",
"pem",
"-",
"encoded",
"public",
"key",
"certificates",
"of",
"the",
"chain",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"wikipedia",
"org",
"/",
"wiki",
"/",
"regex",
">",
"regex",
"pattern",
"<",
"/",
"a",
">",
"used",
"to",
"validate",
"this",
"parameter",
"is",
"a",
"string",
"of",
"characters",
"consisting",
"of",
"the",
"following",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"any",
"printable",
"ascii",
"character",
"ranging",
"from",
"the",
"space",
"character",
"(",
")",
"through",
"the",
"end",
"of",
"the",
"ascii",
"character",
"range",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"the",
"printable",
"characters",
"in",
"the",
"basic",
"latin",
"and",
"latin",
"-",
"1",
"supplement",
"character",
"set",
"(",
"through",
"\\",
"u",
"0",
"0",
"f",
"f",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"the",
"special",
"characters",
"tab",
"(",
")",
"line",
"feed",
"(",
")",
"and",
"carriage",
"return",
"(",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] |
[
"this",
"certificate",
"chain",
"=",
"certificate",
"chain",
";"
] |
[
"<",
"p",
">",
"the",
"contents",
"of",
"the",
"certificate",
"chain",
"this",
"is",
"typically",
"a",
"concatenation",
"of",
"the",
"pem",
"-",
"encoded",
"public",
"key",
"certificates",
"of",
"the",
"chain",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"wikipedia",
"org",
"/",
"wiki",
"/",
"regex",
">",
"regex",
"pattern",
"<",
"/",
"a",
">",
"used",
"to",
"validate",
"this",
"parameter",
"is",
"a",
"string",
"of",
"characters",
"consisting",
"of",
"the",
"following",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"any",
"printable",
"ascii",
"character",
"ranging",
"from",
"the",
"space",
"character",
"(",
")",
"through",
"the",
"end",
"of",
"the",
"ascii",
"character",
"range",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"the",
"printable",
"characters",
"in",
"the",
"basic",
"latin",
"and",
"latin",
"-",
"1",
"supplement",
"character",
"set",
"(",
"through",
"\\",
"u",
"0",
"0",
"f",
"f",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"the",
"special",
"characters",
"tab",
"(",
")",
"line",
"feed",
"(",
")",
"and",
"carriage",
"return",
"(",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] |
[
"return",
"this",
"certificate",
"chain",
";"
] |
[
"<",
"p",
">",
"the",
"certificate",
"chain",
"that",
"contains",
"the",
"root",
"certificate",
"issued",
"by",
"the",
"certificate",
"authority",
"(",
"ca",
")",
"<",
"/",
"p",
">"
] |
[
"set",
"certificate",
"chain",
"(",
"certificate",
"chain",
")",
";",
"return",
"this",
";"
] |
[
"tbd"
] |
[
"return",
"m",
"sub",
"slot",
"size",
";"
] |
[
"singleton",
"target",
"source",
"uses",
"the",
"hash",
"code",
"of",
"the",
"target",
"object"
] |
[
"return",
"this",
"target",
"hash",
"code",
"(",
")",
";"
] |
[
"invoke",
"the",
"method",
"handler"
] |
[
"protected",
"abstract",
"publisher",
"invoke",
"(",
"method",
"method",
",",
"method",
"handler",
"method",
"handler",
",",
"object",
"[",
"]",
"arguments",
")",
";"
] |
[
"invoke",
"the",
"method",
"handler",
"as",
"a",
"callable"
] |
[
"return",
"(",
")",
"-",
">",
"{",
"try",
"{",
"return",
"method",
"handler",
"invoke",
"(",
"arguments",
")",
";",
"}",
"catch",
"(",
"throwable",
"th",
")",
"{",
"if",
"(",
"th",
"instanceof",
"feign",
"exception",
")",
"{",
"throw",
"(",
"feign",
"exception",
")",
"th",
";",
"}",
"throw",
"new",
"runtime",
"exception",
"(",
"th",
")",
";",
"}",
"}",
";"
] |
[
"get",
"an",
"instance",
"of",
"the",
"{",
"@",
"link",
"rib",
"ref",
"watcher",
"}"
] |
[
"if",
"(",
"instance",
"=",
"=",
"null",
")",
"{",
"instance",
"=",
"new",
"rib",
"ref",
"watcher",
"(",
")",
";",
"}",
"return",
"instance",
";"
] |
[
"initialize",
"paper",
"to",
"use",
"a",
"{",
"@",
"link",
"reference",
"watcher",
"}",
"for",
"observing",
"deleted",
"references"
] |
[
"reference",
"watcher",
"=",
"watcher",
";"
] |
[
"watch",
"this",
"object",
"to",
"verify",
"it",
"has",
"no",
"inbound",
"references"
] |
[
"if",
"(",
"object",
"=",
"=",
"null",
")",
"{",
"return",
";",
"}",
"if",
"(",
"reference",
"watcher",
"!",
"=",
"null",
"&",
"&",
"(",
"leak",
"canary",
"enabled",
"|",
"|",
"u",
"leak",
"enabled",
")",
")",
"{",
"reference",
"watcher",
"watch",
"(",
"object",
")",
";",
"}"
] |
[
"pipes",
"breadcrumb",
"data",
"to",
"the",
"breadcrumb",
"logger",
"through",
"the",
"reference",
"watcher"
] |
[
"if",
"(",
"reference",
"watcher",
"!",
"=",
"null",
"&",
"&",
"breadcrumbs",
"enabled",
")",
"{",
"if",
"(",
"child",
"=",
"=",
"null",
"|",
"|",
"parent",
"=",
"=",
"null",
")",
"{",
"reference",
"watcher",
"log",
"breadcrumb",
"(",
"event",
"type",
",",
"event",
"type",
",",
"event",
"type",
")",
";",
"}",
"else",
"{",
"reference",
"watcher",
"log",
"breadcrumb",
"(",
"event",
"type",
",",
"child",
",",
"parent",
")",
";",
"}",
"}"
] |
[
"enables",
"breadcrumb",
"logging"
] |
[
"breadcrumbs",
"enabled",
"=",
"true",
";"
] |
[
"enables",
"leak",
"canary"
] |
[
"leak",
"canary",
"enabled",
"=",
"true",
";"
] |
[
"disables",
"leak",
"canary"
] |
[
"leak",
"canary",
"enabled",
"=",
"false",
";"
] |
[
"returns",
"whether",
"or",
"not",
"leak",
"canary",
"is",
"enabled"
] |
[
"return",
"leak",
"canary",
"enabled",
";"
] |
[
"enables",
"u",
"leak",
"s",
"lifecycle",
"tracking",
"functionality",
"u",
"leak",
"itself",
"is",
"behind",
"a",
"plugin"
] |
[
"u",
"leak",
"enabled",
"=",
"true",
";"
] |
[
"disables",
"u",
"leak",
"s",
"lifecycle",
"tracking"
] |
[
"u",
"leak",
"enabled",
"=",
"false",
";"
] |
[
"test",
"grid",
"deployment",
"mode",
"isolated",
"mode"
] |
[
"process",
"test",
"same",
"remote",
"class",
"loader",
"(",
"deployment",
"mode",
"private",
")",
";"
] |
[
"test",
"grid",
"deployment",
"mode",
"isolated",
"mode"
] |
[
"process",
"test",
"same",
"remote",
"class",
"loader",
"(",
"deployment",
"mode",
"isolated",
")",
";"
] |
[
"test",
"grid",
"deployment",
"mode",
"isolated",
"mode"
] |
[
"process",
"test",
"different",
"remote",
"class",
"loader",
"(",
"deployment",
"mode",
"private",
")",
";"
] |
[
"test",
"grid",
"deployment",
"mode",
"isolated",
"mode"
] |
[
"process",
"test",
"different",
"remote",
"class",
"loader",
"(",
"deployment",
"mode",
"isolated",
")",
";"
] |
[
"{"
] |
[
"map",
"<",
"compute",
"job",
",",
"cluster",
"node",
">",
"map",
"=",
"new",
"hash",
"map",
"<",
">",
"(",
"subgrid",
"size",
"(",
")",
")",
";",
"for",
"(",
"cluster",
"node",
"node",
":",
"subgrid",
")",
"{",
"if",
"(",
"!",
"node",
"id",
"(",
")",
"equals",
"(",
"ignite",
"configuration",
"(",
")",
"get",
"node",
"id",
"(",
")",
")",
")",
"map",
"put",
"(",
"new",
"grid",
"p",
"2",
"p",
"remote",
"test",
"job",
"(",
"null",
")",
",",
"node",
")",
";",
"}",
"return",
"map",
";"
] |
[
"log",
"the",
"throwable",
"which",
"occurs",
"in",
"dubbo",
"rpc",
"service"
] |
[
"abstract",
"span",
"span",
"=",
"context",
"manager",
"active",
"span",
"(",
")",
";",
"span",
"error",
"occurred",
"(",
")",
";",
"span",
"log",
"(",
"throwable",
")",
";"
] |
[
"returns",
"true",
"if",
"this",
"element",
"should",
"be",
"returned",
"by",
"{"
] |
[
"protected",
"abstract",
"boolean",
"predicate",
"function",
"(",
"inner",
"t",
"object",
")",
";"
] |
[
"register",
"a",
"listener",
"that",
"will",
"be",
"called",
"when",
"this",
"model",
"is",
"bound",
"to",
"a",
"view",
"<",
"p",
">",
"the",
"listener",
"will",
"contribute",
"to",
"this",
"model",
"s",
"hash",
"code",
"state",
"per",
"the",
"{"
] |
[
"on",
"mutation",
"(",
")",
";",
"this",
"on",
"model",
"bound",
"listener",
"epoxy",
"generated",
"model",
"=",
"listener",
";",
"return",
"this",
";"
] |
[
"register",
"a",
"listener",
"that",
"will",
"be",
"called",
"when",
"this",
"model",
"is",
"unbound",
"from",
"a",
"view",
"<",
"p",
">",
"the",
"listener",
"will",
"contribute",
"to",
"this",
"model",
"s",
"hash",
"code",
"state",
"per",
"the",
"{"
] |
[
"on",
"mutation",
"(",
")",
";",
"this",
"on",
"model",
"unbound",
"listener",
"epoxy",
"generated",
"model",
"=",
"listener",
";",
"return",
"this",
";"
] |
[
"register",
"a",
"listener",
"that",
"will",
"be",
"called",
"when",
"this",
"model",
"visibility",
"state",
"has",
"changed",
"<",
"p",
">",
"the",
"listener",
"will",
"contribute",
"to",
"this",
"model",
"s",
"hash",
"code",
"state",
"per",
"the",
"{"
] |
[
"on",
"mutation",
"(",
")",
";",
"this",
"on",
"model",
"visibility",
"state",
"changed",
"listener",
"epoxy",
"generated",
"model",
"=",
"listener",
";",
"return",
"this",
";"
] |
[
"register",
"a",
"listener",
"that",
"will",
"be",
"called",
"when",
"this",
"model",
"visibility",
"has",
"changed",
"<",
"p",
">",
"the",
"listener",
"will",
"contribute",
"to",
"this",
"model",
"s",
"hash",
"code",
"state",
"per",
"the",
"{"
] |
[
"on",
"mutation",
"(",
")",
";",
"this",
"on",
"model",
"visibility",
"changed",
"listener",
"epoxy",
"generated",
"model",
"=",
"listener",
";",
"return",
"this",
";"
] |
[
"create",
"a",
"proxied",
"connection",
"which",
"performs",
"logging",
"of",
"all",
"methods",
"being",
"invoked",
"typically",
"debug",
"will",
"read",
"its",
"configuration",
"from",
"the",
"configuration",
"and",
"act",
"accordingly",
"however",
"there",
"are",
"two",
"cases",
"where",
"the",
"output",
"is",
"specified",
"programmatically",
"namely",
"through",
"{",
"@",
"link",
"driver",
"manager",
"#",
"set",
"log",
"writer",
"(",
"print",
"writer",
")",
"}",
"and",
"{",
"@",
"link",
"data",
"source",
"#",
"set",
"log",
"writer",
"(",
"print",
"writer",
")",
"}",
"the",
"former",
"is",
"the",
"legacy",
"way",
"having",
"a",
"global",
"impact",
"on",
"all",
"drivers",
"while",
"the",
"latter",
"allows",
"per",
"instance",
"configuration"
] |
[
"return",
"create",
"proxy",
"(",
"connection",
"class",
",",
"new",
"connection",
"proxy",
"(",
"logger",
"(",
"info",
",",
"managed",
"printer",
")",
",",
"connection",
")",
")",
";"
] |
[
"converts",
"extraction",
"fn",
"to",
"a",
"query",
"granularity",
"if",
"possible",
"this",
"is",
"the",
"inverse",
"of",
"{",
"@",
"link",
"#",
"from",
"query",
"granularity",
"(",
"granularity",
")",
"}"
] |
[
"if",
"(",
"extraction",
"fn",
"instanceof",
"time",
"format",
"extraction",
"fn",
")",
"{",
"final",
"time",
"format",
"extraction",
"fn",
"fn",
"=",
"(",
"time",
"format",
"extraction",
"fn",
")",
"extraction",
"fn",
";",
"if",
"(",
"fn",
"get",
"format",
"(",
")",
"=",
"=",
"null",
"&",
"&",
"fn",
"get",
"time",
"zone",
"(",
")",
"=",
"=",
"null",
"&",
"&",
"fn",
"get",
"locale",
"(",
")",
"=",
"=",
"null",
"&",
"&",
"fn",
"is",
"as",
"millis",
"(",
")",
")",
"{",
"return",
"fn",
"get",
"granularity",
"(",
")",
";",
"}",
"}",
"return",
"null",
";"
] |
[
"converts",
"a",
"query",
"granularity",
"to",
"an",
"extraction",
"fn",
"if",
"possible",
"this",
"is",
"the",
"inverse",
"of",
"{",
"@",
"link",
"#",
"to",
"query",
"granularity",
"(",
"extraction",
"fn",
")",
"}",
"this",
"will",
"always",
"return",
"a",
"non",
"-",
"null",
"extraction",
"fn",
"if",
"query",
"granularity",
"is",
"non",
"-",
"null"
] |
[
"if",
"(",
"query",
"granularity",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"else",
"{",
"return",
"new",
"time",
"format",
"extraction",
"fn",
"(",
"null",
",",
"null",
",",
"null",
",",
"query",
"granularity",
",",
"true",
")",
";",
"}"
] |
[
"get",
"the",
"root",
"http",
"handler",
"for",
"this",
"connection"
] |
[
"return",
"root",
"handler",
";"
] |
[
"get",
"the",
"underlying",
"channel"
] |
[
"return",
"channel",
";"
] |
[
"resets",
"the",
"channel",
"to",
"its",
"original",
"state",
"effectively",
"disabling",
"all",
"current",
"conduit",
"wrappers",
"the",
"current",
"state",
"is",
"encapsulated",
"inside",
"a",
"{",
"@",
"link",
"conduit",
"state",
"}",
"object",
"that",
"can",
"be",
"used",
"the",
"restore",
"the",
"channel"
] |
[
"conduit",
"state",
"ret",
"=",
"new",
"conduit",
"state",
"(",
"channel",
"get",
"sink",
"channel",
"(",
")",
"get",
"conduit",
"(",
")",
",",
"channel",
"get",
"source",
"channel",
"(",
")",
"get",
"conduit",
"(",
")",
")",
";",
"channel",
"get",
"sink",
"channel",
"(",
")",
"set",
"conduit",
"(",
"original",
"sink",
"conduit",
")",
";",
"channel",
"get",
"source",
"channel",
"(",
")",
"set",
"conduit",
"(",
"original",
"source",
"conduit",
")",
";",
"return",
"ret",
";"
] |
[
"resets",
"the",
"channel",
"to",
"its",
"original",
"state",
"effectively",
"disabling",
"all",
"current",
"conduit",
"wrappers",
"the",
"current",
"state",
"is",
"lost"
] |
[
"channel",
"get",
"sink",
"channel",
"(",
")",
"set",
"conduit",
"(",
"original",
"sink",
"conduit",
")",
";",
"channel",
"get",
"source",
"channel",
"(",
")",
"set",
"conduit",
"(",
"original",
"source",
"conduit",
")",
";"
] |
[
"restores",
"the",
"channel",
"conduits",
"to",
"a",
"previous",
"state"
] |
[
"channel",
"get",
"sink",
"channel",
"(",
")",
"set",
"conduit",
"(",
"state",
"sink",
")",
";",
"channel",
"get",
"source",
"channel",
"(",
")",
"set",
"conduit",
"(",
"state",
"source",
")",
";"
] |
[
"constructs",
"a",
"class",
"pool",
"visitor",
"to",
"efficiently",
"travel",
"to",
"the",
"specified",
"classes",
"and",
"class",
"members"
] |
[
"multi",
"class",
"pool",
"visitor",
"multi",
"class",
"pool",
"visitor",
"=",
"new",
"multi",
"class",
"pool",
"visitor",
"(",
")",
";",
"if",
"(",
"keep",
"class",
"specifications",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"int",
"index",
"=",
"0",
";",
"index",
"<",
"keep",
"class",
"specifications",
"size",
"(",
")",
";",
"index",
"+",
"+",
")",
"{",
"keep",
"class",
"specification",
"keep",
"class",
"specification",
"=",
"(",
"keep",
"class",
"specification",
")",
"keep",
"class",
"specifications",
"get",
"(",
"index",
")",
";",
"if",
"(",
"(",
"shrinking",
"&",
"&",
"!",
"keep",
"class",
"specification",
"allow",
"shrinking",
")",
"|",
"|",
"(",
"optimizing",
"&",
"&",
"!",
"keep",
"class",
"specification",
"allow",
"optimization",
")",
"|",
"|",
"(",
"obfuscating",
"&",
"&",
"!",
"keep",
"class",
"specification",
"allow",
"obfuscation",
")",
")",
"{",
"multi",
"class",
"pool",
"visitor",
"add",
"class",
"pool",
"visitor",
"(",
"create",
"class",
"pool",
"visitor",
"(",
"keep",
"class",
"specification",
",",
"class",
"visitor",
",",
"member",
"visitor",
")",
")",
";",
"}",
"}",
"}",
"return",
"multi",
"class",
"pool",
"visitor",
";"
] |
[
"constructs",
"a",
"class",
"pool",
"visitor",
"to",
"efficiently",
"travel",
"to",
"the",
"specified",
"classes",
"and",
"class",
"members"
] |
[
"multi",
"class",
"pool",
"visitor",
"multi",
"class",
"pool",
"visitor",
"=",
"new",
"multi",
"class",
"pool",
"visitor",
"(",
")",
";",
"if",
"(",
"class",
"specifications",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"int",
"index",
"=",
"0",
";",
"index",
"<",
"class",
"specifications",
"size",
"(",
")",
";",
"index",
"+",
"+",
")",
"{",
"class",
"specification",
"class",
"specification",
"=",
"(",
"class",
"specification",
")",
"class",
"specifications",
"get",
"(",
"index",
")",
";",
"multi",
"class",
"pool",
"visitor",
"add",
"class",
"pool",
"visitor",
"(",
"create",
"class",
"pool",
"visitor",
"(",
"class",
"specification",
",",
"class",
"visitor",
",",
"member",
"visitor",
")",
")",
";",
"}",
"}",
"return",
"multi",
"class",
"pool",
"visitor",
";"
] |
[
"adds",
"elements",
"to",
"the",
"given",
"multi",
"class",
"visitor",
"to",
"apply",
"the",
"given",
"member",
"visitor",
"to",
"all",
"class",
"members",
"that",
"match",
"the",
"given",
"list",
"of",
"options",
"(",
"of",
"the",
"given",
"type",
")"
] |
[
"if",
"(",
"member",
"specifications",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"int",
"index",
"=",
"0",
";",
"index",
"<",
"member",
"specifications",
"size",
"(",
")",
";",
"index",
"+",
"+",
")",
"{",
"member",
"specification",
"member",
"specification",
"=",
"(",
"member",
"specification",
")",
"member",
"specifications",
"get",
"(",
"index",
")",
";",
"multi",
"class",
"visitor",
"add",
"class",
"visitor",
"(",
"create",
"class",
"visitor",
"(",
"member",
"specification",
",",
"is",
"field",
",",
"member",
"visitor",
")",
")",
";",
"}",
"}"
] |
[
"<",
"pre",
">",
"an",
"optional",
"string",
"message",
"for",
"test",
"<",
"/",
"pre",
">"
] |
[
"java",
"lang",
"object",
"ref",
"=",
"response",
"message",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}",
"else",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"bs",
"=",
"(",
"com",
"google",
"protobuf",
"byte",
"string",
")",
"ref",
";",
"java",
"lang",
"string",
"s",
"=",
"bs",
"to",
"string",
"utf",
"8",
"(",
")",
";",
"response",
"message",
"=",
"s",
";",
"return",
"s",
";",
"}"
] |
[
"<",
"pre",
">",
"an",
"optional",
"string",
"message",
"for",
"test",
"<",
"/",
"pre",
">"
] |
[
"java",
"lang",
"object",
"ref",
"=",
"response",
"message",
";",
"if",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"b",
"=",
"com",
"google",
"protobuf",
"byte",
"string",
"copy",
"from",
"utf",
"8",
"(",
"(",
"java",
"lang",
"string",
")",
"ref",
")",
";",
"response",
"message",
"=",
"b",
";",
"return",
"b",
";",
"}",
"else",
"{",
"return",
"(",
"com",
"google",
"protobuf",
"byte",
"string",
")",
"ref",
";",
"}"
] |
[
"<",
"pre",
">",
"an",
"optional",
"string",
"message",
"for",
"test",
"<",
"/",
"pre",
">"
] |
[
"java",
"lang",
"object",
"ref",
"=",
"response",
"message",
";",
"if",
"(",
"!",
"(",
"ref",
"instanceof",
"java",
"lang",
"string",
")",
")",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"bs",
"=",
"(",
"com",
"google",
"protobuf",
"byte",
"string",
")",
"ref",
";",
"java",
"lang",
"string",
"s",
"=",
"bs",
"to",
"string",
"utf",
"8",
"(",
")",
";",
"response",
"message",
"=",
"s",
";",
"return",
"s",
";",
"}",
"else",
"{",
"return",
"(",
"java",
"lang",
"string",
")",
"ref",
";",
"}"
] |
[
"<",
"pre",
">",
"an",
"optional",
"string",
"message",
"for",
"test",
"<",
"/",
"pre",
">"
] |
[
"java",
"lang",
"object",
"ref",
"=",
"response",
"message",
";",
"if",
"(",
"ref",
"instanceof",
"string",
")",
"{",
"com",
"google",
"protobuf",
"byte",
"string",
"b",
"=",
"com",
"google",
"protobuf",
"byte",
"string",
"copy",
"from",
"utf",
"8",
"(",
"(",
"java",
"lang",
"string",
")",
"ref",
")",
";",
"response",
"message",
"=",
"b",
";",
"return",
"b",
";",
"}",
"else",
"{",
"return",
"(",
"com",
"google",
"protobuf",
"byte",
"string",
")",
"ref",
";",
"}"
] |
[
"<",
"pre",
">",
"an",
"optional",
"string",
"message",
"for",
"test",
"<",
"/",
"pre",
">"
] |
[
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"response",
"message",
"=",
"value",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"an",
"optional",
"string",
"message",
"for",
"test",
"<",
"/",
"pre",
">"
] |
[
"response",
"message",
"=",
"get",
"default",
"instance",
"(",
")",
"get",
"response",
"message",
"(",
")",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"an",
"optional",
"string",
"message",
"for",
"test",
"<",
"/",
"pre",
">"
] |
[
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"check",
"byte",
"string",
"is",
"utf",
"8",
"(",
"value",
")",
";",
"response",
"message",
"=",
"value",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"gets",
"the",
"value",
"of",
"the",
"my",
"message",
"property",
"<",
"p",
"/",
">",
"<",
"p",
"/",
">",
"this",
"accessor",
"method",
"returns",
"a",
"reference",
"to",
"the",
"live",
"list",
"not",
"a",
"snapshot",
"therefore",
"any",
"modification",
"you",
"make",
"to",
"the",
"returned",
"list",
"will",
"be",
"present",
"inside",
"the",
"jaxb",
"object",
"this",
"is",
"why",
"there",
"is",
"not",
"a",
"<",
"code",
">",
"set",
"<",
"/",
"code",
">",
"method",
"for",
"the",
"my",
"message",
"property",
"<",
"p",
"/",
">",
"<",
"p",
"/",
">",
"for",
"example",
"to",
"add",
"a",
"new",
"item",
"do",
"as",
"follows",
":",
"<",
"pre",
">",
"get",
"my",
"message",
"(",
")",
"add",
"(",
"new",
"item",
")",
";",
"<",
"/",
"pre",
">",
"<",
"p",
"/",
">",
"<",
"p",
"/",
">",
"<",
"p",
"/",
">",
"objects",
"of",
"the",
"following",
"type",
"(",
"s",
")",
"are",
"allowed",
"in",
"the",
"list",
"{"
] |
[
"if",
"(",
"my",
"message",
"=",
"=",
"null",
")",
"{",
"my",
"message",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"}",
"return",
"this",
"my",
"message",
";"
] |
[
"gets",
"the",
"value",
"of",
"the",
"my",
"error",
"property"
] |
[
"return",
"my",
"error",
";"
] |
[
"sets",
"the",
"value",
"of",
"the",
"my",
"error",
"property"
] |
[
"this",
"my",
"error",
"=",
"value",
";"
] |
[
"{"
] |
[
"msg",
"cntr",
"increment",
"(",
")",
";",
"if",
"(",
"test",
"latency",
")",
"latches",
"get",
"(",
"(",
"(",
"grid",
"test",
"message",
")",
"msg",
")",
"id",
"(",
")",
")",
"count",
"down",
"(",
")",
";",
"else",
"sem",
"release",
"(",
")",
";"
] |
[
"fallback",
"converter",
"for",
"any",
"unlisted",
"object",
"using",
"string",
"default",
"mapping"
] |
[
"string",
"content",
"=",
"exchange",
"get",
"in",
"(",
")",
"get",
"body",
"(",
"string",
"class",
")",
";",
"return",
"to",
"outgoing",
"message",
"(",
"content",
",",
"exchange",
")",
";"
] |
[
"is",
"dql",
"statement"
] |
[
"return",
"default",
"keyword",
"select",
"=",
"=",
"token",
"type",
";"
] |
[
"close",
"the",
"connection",
"to",
"the",
"backing",
"service",
"other",
"public",
"functions",
"of",
"bluetooth",
"map",
"will",
"return",
"default",
"error",
"results",
"once",
"close",
"(",
")",
"has",
"been",
"called",
"multiple",
"invocations",
"of",
"close",
"(",
")",
"are",
"ok"
] |
[
"i",
"bluetooth",
"manager",
"mgr",
"=",
"m",
"adapter",
"get",
"bluetooth",
"manager",
"(",
")",
";",
"if",
"(",
"mgr",
"!",
"=",
"null",
")",
"{",
"try",
"{",
"mgr",
"unregister",
"state",
"change",
"callback",
"(",
"m",
"bluetooth",
"state",
"change",
"callback",
")",
";",
"}",
"catch",
"(",
"exception",
"e",
")",
"{",
"log",
"e",
"(",
"tag",
",",
"\"",
"\"",
",",
"e",
")",
";",
"}",
"}",
"synchronized",
"(",
"m",
"connection",
")",
"{",
"if",
"(",
"m",
"service",
"!",
"=",
"null",
")",
"{",
"try",
"{",
"m",
"service",
"=",
"null",
";",
"m",
"context",
"unbind",
"service",
"(",
"m",
"connection",
")",
";",
"}",
"catch",
"(",
"exception",
"re",
")",
"{",
"log",
"e",
"(",
"tag",
",",
"\"",
"\"",
",",
"re",
")",
";",
"}",
"}",
"}",
"m",
"service",
"listener",
"=",
"null",
";"
] |
[
"todo",
":",
"this",
"is",
"currently",
"being",
"used",
"by",
"settings",
"lib",
"and",
"internal",
"app"
] |
[
"return",
"get",
"connection",
"state",
"(",
"device",
")",
"=",
"=",
"bluetooth",
"adapter",
"state",
"connected",
";"
] |
[
"gets",
"the",
"symbol"
] |
[
"return",
"symbol",
";"
] |
[
"generate",
"a",
"value",
"suitable",
"for",
"use",
"in",
"{",
"@",
"link",
"view",
"#",
"set",
"id",
"(",
"int",
")",
"}",
"this",
"value",
"will",
"not",
"collide",
"with",
"id",
"values",
"generated",
"at",
"build",
"time",
"by",
"aapt",
"for",
"r",
"id",
"uses",
"the",
"native",
"implementation",
"if",
"api",
"17",
"or",
"above",
"otherwise",
"uses",
"a",
"copied",
"implementation"
] |
[
"if",
"(",
"android",
"os",
"build",
"version",
"sdk",
"int",
">",
"=",
"android",
"os",
"build",
"version",
"codes",
"jelly",
"bean",
"mr1",
")",
"{",
"return",
"view",
"generate",
"view",
"id",
"(",
")",
";",
"}",
"else",
"{",
"return",
"copied",
"generate",
"view",
"id",
"(",
")",
";",
"}"
] |
[
"adds",
"an",
"inset",
"circular",
"shadow",
"outline",
"the",
"passed",
"view",
"(",
"lollipop",
"+",
"only",
")",
"-",
"note",
"that",
"the",
"view",
"should",
"have",
"its",
"elevation",
"set",
"prior",
"to",
"calling",
"this"
] |
[
"if",
"(",
"build",
"version",
"sdk",
"int",
">",
"=",
"build",
"version",
"codes",
"lollipop",
")",
"{",
"view",
"set",
"outline",
"provider",
"(",
"new",
"view",
"outline",
"provider",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"get",
"outline",
"(",
"view",
"view",
",",
"outline",
"outline",
")",
"{",
"outline",
"set",
"oval",
"(",
"0",
",",
"0",
",",
"view",
"get",
"width",
"(",
")",
",",
"view",
"get",
"height",
"(",
")",
")",
";",
"}",
"}",
")",
";",
"}"
] |
[
"gets",
"the",
"search",
"text",
"(",
"e",
"g",
"category",
"name",
")",
"to",
"search",
"for",
"either",
"the",
"location",
"or",
"the",
"search",
"text",
"(",
"or",
"both",
")",
"must",
"be",
"specified"
] |
[
"return",
"search",
"text",
";"
] |
[
"sets",
"the",
"ordinal"
] |
[
"this",
"ordinal",
"=",
"ordinal",
";"
] |
[
"tests",
"that",
"capacity",
"can",
"be",
"acquired",
"when",
"available",
"and",
"can",
"not",
"be",
"once",
"exhausted"
] |
[
"capacity",
"manager",
"mgr",
"=",
"new",
"capacity",
"manager",
"(",
"10",
")",
";",
"assert",
"assert",
"true",
"(",
"mgr",
"acquire",
"(",
")",
")",
";",
"assert",
"assert",
"equals",
"(",
"mgr",
"available",
"capacity",
"(",
")",
",",
"9",
")",
";",
"assert",
"assert",
"equals",
"(",
"mgr",
"consumed",
"capacity",
"(",
")",
",",
"1",
")",
";",
"assert",
"assert",
"true",
"(",
"mgr",
"acquire",
"(",
"9",
")",
")",
";",
"assert",
"assert",
"equals",
"(",
"mgr",
"available",
"capacity",
"(",
")",
",",
"0",
")",
";",
"assert",
"assert",
"equals",
"(",
"mgr",
"consumed",
"capacity",
"(",
")",
",",
"10",
")",
";",
"assert",
"assert",
"false",
"(",
"mgr",
"acquire",
"(",
"1",
")",
")",
";"
] |
[
"tests",
"that",
"capacity",
"can",
"be",
"properly",
"released",
"making",
"additional",
"capacity",
"available",
"to",
"be",
"acquired"
] |
[
"capacity",
"manager",
"mgr",
"=",
"new",
"capacity",
"manager",
"(",
"10",
")",
";",
"mgr",
"acquire",
"(",
"10",
")",
";",
"mgr",
"release",
"(",
")",
";",
"assert",
"assert",
"equals",
"(",
"mgr",
"available",
"capacity",
"(",
")",
",",
"1",
")",
";",
"assert",
"assert",
"equals",
"(",
"mgr",
"consumed",
"capacity",
"(",
")",
",",
"9",
")",
";",
"mgr",
"release",
"(",
"50",
")",
";",
"assert",
"assert",
"equals",
"(",
"mgr",
"available",
"capacity",
"(",
")",
",",
"10",
")",
";",
"assert",
"assert",
"equals",
"(",
"mgr",
"consumed",
"capacity",
"(",
")",
",",
"0",
")",
";"
] |
[
"tests",
"that",
"if",
"created",
"with",
"negative",
"capacity",
"capacity",
"manager",
"effectively",
"operates",
"in",
"a",
"no",
"-",
"op",
"mode"
] |
[
"capacity",
"manager",
"mgr",
"=",
"new",
"capacity",
"manager",
"(",
"-",
"1",
")",
";",
"assert",
"assert",
"true",
"(",
"mgr",
"acquire",
"(",
")",
")",
";",
"mgr",
"release",
"(",
")",
";",
"assert",
"assert",
"true",
"(",
"mgr",
"acquire",
"(",
")",
")",
";",
"assert",
"assert",
"equals",
"(",
"mgr",
"available",
"capacity",
"(",
")",
",",
"-",
"1",
")",
";",
"assert",
"assert",
"equals",
"(",
"mgr",
"consumed",
"capacity",
"(",
")",
",",
"0",
")",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] |
[
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"b",
"g",
"f",
"x",
"callback",
"interface",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"b",
"g",
"f",
"x",
"callback",
"interface",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"b",
"g",
"f",
"x",
"callback",
"interface",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"b",
"g",
"f",
"x",
"callback",
"interface",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] |
[
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"b",
"g",
"f",
"x",
"callback",
"interface",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"malloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"calloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"b",
"g",
"f",
"x",
"callback",
"interface",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] |
[
"return",
"wrap",
"(",
"b",
"g",
"f",
"x",
"callback",
"interface",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.