docstring_tokens list | code_tokens list |
|---|---|
[
"sets",
"the",
"stroke",
"color",
"of",
"this",
"card",
"view"
] | [
"card",
"view",
"helper",
"set",
"stroke",
"color",
"(",
"stroke",
"color",
")",
";"
] |
[
"returns",
"the",
"stroke",
"color",
"of",
"this",
"card",
"view"
] | [
"return",
"card",
"view",
"helper",
"get",
"stroke",
"color",
"(",
")",
";"
] |
[
"sets",
"the",
"stroke",
"width",
"of",
"this",
"card",
"view"
] | [
"card",
"view",
"helper",
"set",
"stroke",
"width",
"(",
"stroke",
"width",
")",
";",
"update",
"content",
"layout",
"(",
")",
";"
] |
[
"returns",
"the",
"stroke",
"width",
"of",
"this",
"card",
"view"
] | [
"return",
"card",
"view",
"helper",
"get",
"stroke",
"width",
"(",
")",
";"
] |
[
"if",
"true",
"then",
"when",
"a",
"write",
"fails",
"return",
"without",
"performing",
"the",
"remaining",
"writes",
"if",
"false",
"then",
"when",
"a",
"write",
"fails",
"continue",
"with",
"the",
"remaining",
"writes",
"if",
"any",
"defaults",
"to",
"true... | [
"this",
"ordered",
"=",
"ordered",
";",
"return",
"this",
";"
] |
[
"gets",
"the",
"the",
"bypass",
"document",
"level",
"validation",
"flag"
] | [
"return",
"bypass",
"document",
"validation",
";"
] |
[
"sets",
"the",
"bypass",
"document",
"level",
"validation",
"flag"
] | [
"this",
"bypass",
"document",
"validation",
"=",
"bypass",
"document",
"validation",
";",
"return",
"this",
";"
] |
[
"gets",
"the",
"write",
"result"
] | [
"return",
"write",
"concern",
"result",
";"
] |
[
"gets",
"the",
"error",
"code",
"associated",
"with",
"the",
"write",
"concern",
"failure"
] | [
"return",
"extract",
"error",
"code",
"(",
"response",
")",
";"
] |
[
"gets",
"the",
"error",
"message",
"associated",
"with",
"the",
"write",
"concern",
"failure"
] | [
"return",
"extract",
"error",
"message",
"(",
"response",
")",
";"
] |
[
"gets",
"the",
"response",
"document",
"the",
"document",
"is",
"only",
"usable",
"within",
"the",
"method",
"that",
"delivered",
"the",
"event",
"if",
"it",
"s",
"needed",
"for",
"longer",
"it",
"must",
"be",
"cloned",
"via",
"{",
"@",
"link",
"object",
... | [
"return",
"response",
";"
] |
[
"<",
"p",
">",
"if",
"set",
"indicates",
"that",
"the",
"request",
"to",
"cancel",
"the",
"workflow",
"execution",
"was",
"automatically",
"generated",
"and",
"specifies",
"the",
"cause",
"this",
"happens",
"if",
"the",
"parent",
"workflow",
"execution",
"time... | [
"return",
"this",
"cause",
";"
] |
[
"<",
"p",
">",
"the",
"cause",
"of",
"the",
"failure",
"this",
"information",
"is",
"generated",
"by",
"the",
"system",
"and",
"can",
"be",
"useful",
"for",
"diagnostic",
"purposes",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"if",
"<",
"... | [
"set",
"cause",
"(",
"cause",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"cause",
"of",
"the",
"failure",
"this",
"information",
"is",
"generated",
"by",
"the",
"system",
"and",
"can",
"be",
"useful",
"for",
"diagnostic",
"purposes",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"if",
"<",
"... | [
"with",
"cause",
"(",
"cause",
")",
";"
] |
[
"<",
"p",
">",
"the",
"cause",
"of",
"the",
"failure",
"this",
"information",
"is",
"generated",
"by",
"the",
"system",
"and",
"can",
"be",
"useful",
"for",
"diagnostic",
"purposes",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"if",
"<",
"... | [
"this",
"cause",
"=",
"cause",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"<",
"code",
">",
"decision",
"task",
"completed",
"<",
"/",
"code",
">",
"event",
"corresponding",
"to",
"the",
"decision",
"task",
"that",
"resulted",
"in",
"the",
"<",
"code",
">",
"fail",
"workflow",
"execut... | [
"this",
"decision",
"task",
"completed",
"event",
"id",
"=",
"decision",
"task",
"completed",
"event",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"<",
"code",
">",
"decision",
"task",
"completed",
"<",
"/",
"code",
">",
"event",
"corresponding",
"to",
"the",
"decision",
"task",
"that",
"resulted",
"in",
"the",
"<",
"code",
">",
"fail",
"workflow",
"execut... | [
"return",
"this",
"decision",
"task",
"completed",
"event",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"<",
"code",
">",
"decision",
"task",
"completed",
"<",
"/",
"code",
">",
"event",
"corresponding",
"to",
"the",
"decision",
"task",
"that",
"resulted",
"in",
"the",
"<",
"code",
">",
"continue",
"as",
"new",
... | [
"set",
"decision",
"task",
"completed",
"event",
"id",
"(",
"decision",
"task",
"completed",
"event",
"id",
")",
";",
"return",
"this",
";"
] |
[
"creates",
"a",
"new",
"async",
"stub",
"that",
"supports",
"all",
"call",
"types",
"for",
"the",
"service"
] | [
"return",
"new",
"another",
"dynamic",
"service",
"stub",
"(",
"channel",
")",
";"
] |
[
"creates",
"a",
"new",
"blocking",
"-",
"style",
"stub",
"that",
"supports",
"unary",
"and",
"streaming",
"output",
"calls",
"on",
"the",
"service"
] | [
"return",
"new",
"another",
"dynamic",
"service",
"blocking",
"stub",
"(",
"channel",
")",
";"
] |
[
"creates",
"a",
"new",
"listenable",
"future",
"-",
"style",
"stub",
"that",
"supports",
"unary",
"calls",
"on",
"the",
"service"
] | [
"return",
"new",
"another",
"dynamic",
"service",
"future",
"stub",
"(",
"channel",
")",
";"
] |
[
"<",
"pre",
">",
"a",
"method",
"<",
"/",
"pre",
">"
] | [
"async",
"unimplemented",
"unary",
"call",
"(",
"get",
"method",
"method",
"(",
")",
",",
"response",
"observer",
")",
";"
] |
[
"<",
"pre",
">",
"a",
"method",
"<",
"/",
"pre",
">"
] | [
"async",
"unary",
"call",
"(",
"get",
"channel",
"(",
")",
"new",
"call",
"(",
"get",
"method",
"method",
"(",
")",
",",
"get",
"call",
"options",
"(",
")",
")",
",",
"request",
",",
"response",
"observer",
")",
";"
] |
[
"<",
"pre",
">",
"a",
"method",
"<",
"/",
"pre",
">"
] | [
"return",
"blocking",
"unary",
"call",
"(",
"get",
"channel",
"(",
")",
",",
"get",
"method",
"method",
"(",
")",
",",
"get",
"call",
"options",
"(",
")",
",",
"request",
")",
";"
] |
[
"<",
"pre",
">",
"a",
"method",
"<",
"/",
"pre",
">"
] | [
"return",
"future",
"unary",
"call",
"(",
"get",
"channel",
"(",
")",
"new",
"call",
"(",
"get",
"method",
"method",
"(",
")",
",",
"get",
"call",
"options",
"(",
")",
")",
",",
"request",
")",
";"
] |
[
"wraps",
"a",
"{"
] | [
"protected",
"abstract",
"<",
"t",
">",
"callable",
"<",
"t",
">",
"wrap",
"task",
"(",
"callable",
"<",
"t",
">",
"callable",
")",
";"
] |
[
"wraps",
"a",
"{"
] | [
"final",
"callable",
"<",
"object",
">",
"wrapped",
"=",
"wrap",
"task",
"(",
"executors",
"callable",
"(",
"command",
",",
"null",
")",
")",
";",
"return",
"new",
"runnable",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"run",
"(",
")",
"{",
"t... |
[
"wraps",
"a",
"collection",
"of",
"tasks"
] | [
"immutable",
"list",
"builder",
"<",
"callable",
"<",
"t",
">",
">",
"builder",
"=",
"immutable",
"list",
"builder",
"(",
")",
";",
"for",
"(",
"callable",
"<",
"t",
">",
"task",
":",
"tasks",
")",
"{",
"builder",
"add",
"(",
"wrap",
"task",
"(",
"... |
[
"these",
"methods",
"wrap",
"before",
"delegating"
] | [
"delegate",
"execute",
"(",
"wrap",
"task",
"(",
"command",
")",
")",
";"
] |
[
"finds",
"a",
"rule",
"instance",
"for",
"the",
"given",
"rule",
"class",
"name"
] | [
"return",
"rule",
"by",
"class",
"name",
"get",
"(",
"class",
"name",
")",
";"
] |
[
"initialize",
"the",
"mapper",
"with",
"the",
"given",
"rulesets"
] | [
"for",
"(",
"final",
"rule",
"r",
":",
"rs",
"get",
"all",
"rules",
"(",
")",
")",
"{",
"rule",
"by",
"class",
"name",
"put",
"(",
"r",
"get",
"rule",
"class",
"(",
")",
",",
"r",
")",
";",
"}"
] |
[
"returns",
"the",
"mime",
"-",
"registry",
"for",
"the",
"repository"
] | [
"return",
"mime",
"registry",
";"
] |
[
"returns",
"the",
"repositories",
"root",
"directory",
"entry"
] | [
"return",
"root",
";"
] |
[
"returns",
"the",
"url",
"that",
"represents",
"this",
"repository",
"the",
"meaning",
"of",
"the",
"url",
"returned",
"here",
"is",
"implementation",
"specific",
"and",
"is",
"probably",
"not",
"suitable",
"to",
"resolve",
"names",
"to",
"global",
"objects"
] | [
"try",
"{",
"return",
"root",
"get",
"backend",
"(",
")",
"get",
"u",
"r",
"l",
"(",
")",
";",
"}",
"catch",
"(",
"file",
"system",
"exception",
"e",
")",
"{",
"throw",
"new",
"runtime",
"exception",
"(",
"e",
")",
";",
"}"
] |
[
"wrap",
"a",
"supplier",
"with",
"{",
"@",
"code",
"auto",
"closeable",
"}",
"interface",
"and",
"close",
"only",
"if",
"the",
"supplier",
"has",
"been",
"used",
"close",
"is",
"idempotent"
] | [
"return",
"new",
"closeable",
"memoized",
"supplier",
"<",
">",
"(",
"supplier",
",",
"to",
"close",
"-",
">",
"closer",
"accept",
"(",
"to",
"close",
")",
")",
";"
] |
[
"creates",
"a",
"single",
"to",
"execute",
"a",
"workflow"
] | [
"return",
"get",
"steps",
"(",
"root",
"actionable",
"item",
")",
"as",
"result",
"observable",
"(",
")",
"single",
"or",
"error",
"(",
")",
";"
] |
[
"enter",
"a",
"cache",
"call"
] | [
"if",
"(",
"ctx",
"deployment",
"enabled",
"(",
")",
")",
"ctx",
"deploy",
"(",
")",
"on",
"enter",
"(",
")",
";",
"rw",
"lock",
"read",
"lock",
"(",
")",
"lock",
"(",
")",
";",
"check",
"state",
"(",
"true",
",",
"true",
")",
";"
] |
[
"enter",
"a",
"cache",
"call",
"without",
"lock"
] | [
"on",
"enter",
"(",
"null",
")",
";",
"return",
"check",
"state",
"(",
"false",
",",
"false",
")",
";"
] |
[
"leave",
"a",
"cache",
"call",
"entered",
"by",
"{"
] | [
"try",
"{",
"leave",
"no",
"lock",
"(",
")",
";",
"}",
"finally",
"{",
"rw",
"lock",
"read",
"lock",
"(",
")",
"unlock",
"(",
")",
";",
"}"
] |
[
"set",
"thread",
"local",
"operation",
"context",
"per",
"call"
] | [
"cache",
"operation",
"context",
"prev",
"=",
"ctx",
"operation",
"context",
"per",
"call",
"(",
")",
";",
"if",
"(",
"prev",
"!",
"=",
"null",
"|",
"|",
"op",
"ctx",
"!",
"=",
"null",
")",
"ctx",
"operation",
"context",
"per",
"call",
"(",
"op",
"... |
[
"returns",
"a",
"{"
] | [
"return",
"ncurrent",
"extent",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"current",
"extent",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"nmin",
"image",
"extent",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"min",
"image",
"extent",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"nmax",
"image",
"extent",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"max",
"image",
"extent",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"s",
"type",
"(",
"s",
"type",
")",
";",
"p",
"next",
"(",
"p",
"next",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container... |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
"must",
"be",... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
"the",
"instance",
"must",
"be... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"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",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"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",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] | [
"return",
"wrap",
"(",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bi... | [
"return",
"calloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"stype",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"pnext",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"minimagecount",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"maximagecount",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"vk",
"extent",
"2",
"d",
"create",
"(",
"struct",
"+",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"currentextent",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"vk",
"extent",
"2",
"d",
"create",
"(",
"struct",
"+",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"minimageextent",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"vk",
"extent",
"2",
"d",
"create",
"(",
"struct",
"+",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"maximageextent",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"maximagearraylayers",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"supportedtransforms",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"currenttransform",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"supportedcompositealpha",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"supportedusageflags",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"supportedsurfacecounters",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"stype",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"pnext",
",",
"value",
")",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"ncurrent",
"extent",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"current",
"extent",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"nmin",
"image",
"extent",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"min",
"image",
"extent",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"vk",
"surface",
"capabilities",
"2",
"e",
"x",
"t",
"nmax",
"image",
"extent",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"max",
"image",
"extent",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"/",
"*",
"public",
"static",
"void",
"configure",
"window",
"enter",
"exit",
"transition",
"(",
"window",
"w",
")",
"{",
"explode",
"ex",
"=",
"new",
"explode",
"(",
")",
";",
"ex",
"set",
"interpolator",
"(",
"new",
"path",
"interpolator",
"(",
"0",
... | [
"if",
"(",
"build",
"version",
"sdk",
"int",
">",
"=",
"build",
"version",
"codes",
"lollipop",
")",
"{",
"fab",
"button",
"set",
"outline",
"provider",
"(",
"new",
"view",
"outline",
"provider",
"(",
")",
"{",
"@",
"target",
"api",
"(",
"build",
"vers... |
[
"*",
"if",
"the",
"f",
"t",
"p",
"file",
"is",
"a",
"symbolic",
"link",
"this",
"method",
"returns",
"the",
"name",
"of",
"the",
"file",
"being",
"pointed",
"to",
"by",
"the",
"symbolic",
"link",
"otherwise",
"it",
"returns",
"null"
] | [
"return",
"link",
";"
] |
[
"creates",
"a",
"jms",
"message",
"from",
"the",
"camel",
"exchange",
"and",
"message"
] | [
"message",
"answer",
"=",
"make",
"jms",
"message",
"(",
"exchange",
",",
"exchange",
"get",
"in",
"(",
")",
"get",
"body",
"(",
")",
",",
"exchange",
"get",
"in",
"(",
")",
"get",
"headers",
"(",
")",
",",
"session",
",",
"null",
")",
";",
"if",
... |
[
"appends",
"the",
"jms",
"headers",
"from",
"the",
"camel",
"{"
] | [
"if",
"(",
"headers",
"!",
"=",
"null",
")",
"{",
"set",
"<",
"map",
"entry",
"<",
"string",
",",
"object",
">",
">",
"entries",
"=",
"headers",
"entry",
"set",
"(",
")",
";",
"for",
"(",
"map",
"entry",
"<",
"string",
",",
"object",
">",
"entry"... |
[
"strategy",
"to",
"test",
"if",
"the",
"given",
"header",
"is",
"valid",
"according",
"to",
"the",
"jms",
"spec",
"to",
"be",
"set",
"as",
"a",
"property",
"on",
"the",
"jms",
"message",
"<",
"p",
"/",
">",
"this",
"default",
"implementation",
"will",
... | [
"if",
"(",
"header",
"value",
"instanceof",
"string",
")",
"{",
"return",
"header",
"value",
";",
"}",
"else",
"if",
"(",
"header",
"value",
"instanceof",
"big",
"integer",
")",
"{",
"return",
"header",
"value",
"to",
"string",
"(",
")",
";",
"}",
"els... |
[
"populates",
"a",
"{"
] | [
"for",
"(",
"map",
"entry",
"<",
"?",
",",
"?",
">",
"entry",
":",
"map",
"entry",
"set",
"(",
")",
")",
"{",
"string",
"key",
"string",
"=",
"camel",
"context",
"helper",
"convert",
"to",
"(",
"context",
",",
"string",
"class",
",",
"entry",
"get"... |
[
"extracts",
"a",
"{"
] | [
"map",
"<",
"string",
",",
"object",
">",
"answer",
"=",
"new",
"hash",
"map",
"<",
">",
"(",
")",
";",
"enumeration",
"<",
"?",
">",
"names",
"=",
"message",
"get",
"map",
"names",
"(",
")",
";",
"while",
"(",
"names",
"has",
"more",
"elements",
... |
[
"strategy",
"to",
"allow",
"filtering",
"of",
"headers",
"which",
"are",
"put",
"on",
"the",
"jms",
"message",
"<",
"p",
"/",
">",
"<",
"b",
">",
"note",
"<",
"/",
"b",
">",
":",
"currently",
"only",
"supports",
"sending",
"java",
"identifiers",
"as",
... | [
"return",
"header",
"filter",
"strategy",
"=",
"=",
"null",
"|",
"|",
"!",
"header",
"filter",
"strategy",
"apply",
"filter",
"to",
"camel",
"headers",
"(",
"header",
"name",
",",
"header",
"value",
",",
"exchange",
")",
";"
] |
[
"returns",
"the",
"extension",
"used",
"for",
"executables",
"on",
"the",
"current",
"platform",
"(",
"exe",
"for",
"windows",
"empty",
"string",
"for",
"others",
")"
] | [
"return",
"executable",
"extension",
";"
] |
[
"closes",
"the",
"connection",
"pool",
"<",
"p",
">",
"when",
"the",
"connection",
"pool",
"is",
"closed",
"it",
"will",
"refuse",
"all",
"further",
"requests",
"to",
"acquire",
"connections",
"all",
"connections",
"that",
"are",
"currently",
"available",
"in"... | [
"dispose",
"(",
"false",
")",
";"
] |
[
"acquires",
"a",
"connection",
"from",
"the",
"pool",
"<",
"p",
">",
"the",
"caller",
"must",
"call",
"{",
"@",
"link",
"#",
"release",
"connection",
"}",
"to",
"release",
"the",
"connection",
"back",
"to",
"the",
"pool",
"when",
"it",
"is",
"finished",
... | [
"s",
"q",
"lite",
"connection",
"con",
"=",
"wait",
"for",
"connection",
"(",
"sql",
",",
"connection",
"flags",
",",
"cancellation",
"signal",
")",
";",
"synchronized",
"(",
"m",
"lock",
")",
"{",
"if",
"(",
"m",
"idle",
"connection",
"handler",
"!",
... |
[
"collects",
"statistics",
"about",
"database",
"connection",
"memory",
"usage"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"if",
"(",
"m",
"available",
"primary",
"connection",
"!",
"=",
"null",
")",
"{",
"m",
"available",
"primary",
"connection",
"collect",
"db",
"stats",
"(",
"db",
"stats",
"list",
")",
";",
"}",
"for",
"(",
... |
[
"close",
"non",
"-",
"primary",
"connections",
"that",
"are",
"not",
"currently",
"in",
"use",
"this",
"method",
"is",
"safe",
"to",
"use",
"in",
"finalize",
"block",
"as",
"it",
"doesn",
"t",
"throw",
"runtime",
"exceptions"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"close",
"available",
"non",
"primary",
"connections",
"and",
"log",
"exceptions",
"locked",
"(",
")",
";",
"}"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.