docstring_tokens
list | code_tokens
list |
---|---|
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] |
[
"s",
"type",
"(",
"s",
"type",
")",
";",
"p",
"next",
"(",
"p",
"next",
")",
";",
"p",
"attributes",
"(",
"p",
"attributes",
")",
";",
"dw",
"access",
"(",
"dw",
"access",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] |
[
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] |
[
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"freed"
] |
[
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"freed"
] |
[
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"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",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"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",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] |
[
"return",
"wrap",
"(",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] |
[
"return",
"wrap",
"(",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] |
[
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] |
[
"return",
"calloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] |
[
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] |
[
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"stype",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"pnext",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"security",
"attributes",
"create",
"safe",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"pattributes",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"dwaccess",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"stype",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"pnext",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"pattributes",
",",
"mem",
"address",
"safe",
"(",
"value",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"dwaccess",
",",
"value",
")",
";"
] |
[
"validates",
"pointer",
"members",
"that",
"should",
"not",
"be",
"{",
"@",
"code",
"null",
"}"
] |
[
"long",
"p",
"attributes",
"=",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"export",
"memory",
"win",
"3",
"2",
"handle",
"info",
"n",
"v",
"pattributes",
")",
";",
"if",
"(",
"p",
"attributes",
"!",
"=",
"null",
")",
"{",
"security",
"attributes",
"validate",
"(",
"p",
"attributes",
")",
";",
"}"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] |
[
"s",
"type",
"(",
"s",
"type",
")",
";",
"p",
"next",
"(",
"p",
"next",
")",
";",
"flags",
"(",
"flags",
")",
";",
"p",
"message",
"id",
"name",
"(",
"p",
"message",
"id",
"name",
")",
";",
"message",
"id",
"number",
"(",
"message",
"id",
"number",
")",
";",
"p",
"message",
"(",
"p",
"message",
")",
";",
"queue",
"label",
"count",
"(",
"queue",
"label",
"count",
")",
";",
"p",
"queue",
"labels",
"(",
"p",
"queue",
"labels",
")",
";",
"cmd",
"buf",
"label",
"count",
"(",
"cmd",
"buf",
"label",
"count",
")",
";",
"p",
"cmd",
"buf",
"labels",
"(",
"p",
"cmd",
"buf",
"labels",
")",
";",
"p",
"objects",
"(",
"p",
"objects",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] |
[
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] |
[
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"freed"
] |
[
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"freed"
] |
[
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"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",
"debug",
"utils",
"messenger",
"callback",
"data",
"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",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] |
[
"return",
"wrap",
"(",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] |
[
"return",
"wrap",
"(",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] |
[
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] |
[
"return",
"calloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"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",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] |
[
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"stype",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"pnext",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"flags",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"mem",
"byte",
"buffer",
"n",
"t",
"1",
"safe",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"pmessageidname",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"mem",
"u",
"t",
"f",
"8",
"safe",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"pmessageidname",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"messageidnumber",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"mem",
"byte",
"buffer",
"n",
"t",
"1",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"pmessage",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"mem",
"u",
"t",
"f",
"8",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"pmessage",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"queuelabelcount",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"vk",
"debug",
"utils",
"label",
"e",
"x",
"t",
"create",
"safe",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"pqueuelabels",
")",
",",
"nqueue",
"label",
"count",
"(",
"struct",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"cmdbuflabelcount",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"vk",
"debug",
"utils",
"label",
"e",
"x",
"t",
"create",
"safe",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"pcmdbuflabels",
")",
",",
"ncmd",
"buf",
"label",
"count",
"(",
"struct",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"objectcount",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"vk",
"debug",
"utils",
"object",
"name",
"info",
"e",
"x",
"t",
"create",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"pobjects",
")",
",",
"nobject",
"count",
"(",
"struct",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"stype",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"pnext",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"flags",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"if",
"(",
"checks",
")",
"{",
"check",
"n",
"t",
"1",
"safe",
"(",
"value",
")",
";",
"}",
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"pmessageidname",
",",
"mem",
"address",
"safe",
"(",
"value",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"messageidnumber",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"if",
"(",
"checks",
")",
"{",
"check",
"n",
"t",
"1",
"(",
"value",
")",
";",
"}",
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"pmessage",
",",
"mem",
"address",
"(",
"value",
")",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] |
[
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"queuelabelcount",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"pqueuelabels",
",",
"mem",
"address",
"safe",
"(",
"value",
")",
")",
";",
"if",
"(",
"value",
"!",
"=",
"null",
")",
"{",
"nqueue",
"label",
"count",
"(",
"struct",
",",
"value",
"remaining",
"(",
")",
")",
";",
"}"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] |
[
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"cmdbuflabelcount",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"pcmdbuflabels",
",",
"mem",
"address",
"safe",
"(",
"value",
")",
")",
";",
"if",
"(",
"value",
"!",
"=",
"null",
")",
"{",
"ncmd",
"buf",
"label",
"count",
"(",
"struct",
",",
"value",
"remaining",
"(",
")",
")",
";",
"}"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] |
[
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"objectcount",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"pobjects",
",",
"value",
"address",
"(",
")",
")",
";",
"nobject",
"count",
"(",
"struct",
",",
"value",
"remaining",
"(",
")",
")",
";"
] |
[
"validates",
"pointer",
"members",
"that",
"should",
"not",
"be",
"{",
"@",
"code",
"null",
"}"
] |
[
"check",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"pmessage",
")",
")",
";",
"check",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"debug",
"utils",
"messenger",
"callback",
"data",
"e",
"x",
"t",
"pobjects",
")",
")",
";"
] |
[
"a",
"boolean",
"value",
"that",
"indicates",
"whether",
"guard",
"duty",
"is",
"to",
"start",
"using",
"the",
"uploaded",
"i",
"p",
"set"
] |
[
"set",
"activate",
"(",
"activate",
")",
";",
"return",
"this",
";"
] |
[
"the",
"idempotency",
"token",
"for",
"the",
"create",
"request"
] |
[
"set",
"client",
"token",
"(",
"client",
"token",
")",
";",
"return",
"this",
";"
] |
[
"the",
"unique",
"id",
"of",
"the",
"detector",
"that",
"you",
"want",
"to",
"update"
] |
[
"set",
"detector",
"id",
"(",
"detector",
"id",
")",
";",
"return",
"this",
";"
] |
[
"the",
"format",
"of",
"the",
"file",
"that",
"contains",
"the",
"i",
"p",
"set"
] |
[
"set",
"format",
"(",
"format",
")",
";",
"return",
"this",
";"
] |
[
"the",
"format",
"of",
"the",
"file",
"that",
"contains",
"the",
"i",
"p",
"set"
] |
[
"this",
"format",
"=",
"format",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"the",
"uri",
"of",
"the",
"file",
"that",
"contains",
"the",
"i",
"p",
"set",
"for",
"example",
"(",
"https",
":",
"/",
"/",
"s",
"3",
"us",
"-",
"west",
"-",
"2",
"amazonaws",
"com",
"/",
"my",
"-",
"bucket",
"/",
"my",
"-",
"object",
"-",
"key",
")"
] |
[
"set",
"location",
"(",
"location",
")",
";",
"return",
"this",
";"
] |
[
"{"
] |
[
"if",
"(",
"strings",
"is",
"null",
"or",
"empty",
"(",
"name",
")",
")",
"{",
"return",
"null",
";",
"}",
"return",
"asset",
"manager",
"get",
"asset",
"(",
"name",
",",
"prefab",
"class",
")",
"or",
"else",
"(",
"null",
")",
";"
] |
[
"{"
] |
[
"if",
"(",
"strings",
"is",
"null",
"or",
"empty",
"(",
"name",
")",
")",
"{",
"return",
"false",
";",
"}",
"return",
"asset",
"manager",
"get",
"asset",
"(",
"name",
",",
"prefab",
"class",
")",
"is",
"present",
"(",
")",
";"
] |
[
"{"
] |
[
"return",
"asset",
"manager",
"get",
"loaded",
"assets",
"(",
"prefab",
"class",
")",
";"
] |
[
"{"
] |
[
"return",
"asset",
"manager",
"get",
"loaded",
"assets",
"(",
"prefab",
"class",
")",
"stream",
"(",
")",
"filter",
"(",
"p",
"-",
">",
"p",
"get",
"component",
"(",
"comp",
")",
"!",
"=",
"null",
")",
"collect",
"(",
"collectors",
"to",
"collection",
"(",
"hash",
"set",
":",
":",
"new",
")",
")",
";"
] |
[
"{"
] |
[
"u",
"delete",
"(",
"u",
"resolve",
"work",
"directory",
"(",
"u",
"default",
"work",
"directory",
"(",
")",
",",
"work",
"subdir",
"(",
")",
",",
"true",
")",
")",
";",
"start",
"grid",
"(",
"get",
"test",
"ignite",
"instance",
"name",
"(",
")",
")",
";",
"grid",
"(",
")",
"active",
"(",
"true",
")",
";"
] |
[
"returns",
"subdirectory",
"of",
"the",
"work",
"directory",
"to",
"put",
"persistence",
"store",
"for",
"this",
"test",
"it",
"s",
"a",
"class",
"name"
] |
[
"return",
"get",
"class",
"(",
")",
"get",
"simple",
"name",
"(",
")",
";"
] |
[
"{"
] |
[
"out",
"write",
"u",
"t",
"f",
"(",
"name",
")",
";",
"out",
"write",
"int",
"(",
"age",
")",
";"
] |
[
"{"
] |
[
"name",
"=",
"in",
"read",
"u",
"t",
"f",
"(",
")",
";",
"age",
"=",
"in",
"read",
"int",
"(",
")",
";"
] |
[
"{"
] |
[
"out",
"write",
"int",
"(",
"name",
")",
";",
"out",
"write",
"u",
"t",
"f",
"(",
"age",
")",
";"
] |
[
"{"
] |
[
"name",
"=",
"in",
"read",
"int",
"(",
")",
";",
"age",
"=",
"in",
"read",
"u",
"t",
"f",
"(",
")",
";"
] |
[
"call",
"this",
"to",
"shut",
"down",
"the",
"internally",
"used",
"thread",
"pool"
] |
[
"thread",
"pool",
"shutdown",
"now",
"(",
")",
";"
] |
[
"call",
"this",
"to",
"shut",
"down",
"the",
"internally",
"used",
"thread",
"pool",
"after",
"all",
"running",
"tasks",
"are",
"finished"
] |
[
"thread",
"pool",
"shutdown",
"(",
")",
";"
] |
[
"when",
"no",
"thread",
"pool",
"size",
"is",
"configured",
"the",
"number",
"of",
"available",
"processors",
"is",
"returned"
] |
[
"return",
"thread",
"pool",
"size",
";"
] |
[
"{"
] |
[
"grid",
"client",
"factory",
"stop",
"all",
"(",
")",
";",
"g",
"stop",
"all",
"(",
"true",
")",
";"
] |
[
"starts",
"a",
"rest",
"-",
"enabled",
"node"
] |
[
"protected",
"abstract",
"ignite",
"start",
"rest",
"node",
"(",
"string",
"name",
",",
"@",
"nullable",
"string",
"addr",
",",
"@",
"nullable",
"integer",
"port",
")",
"throws",
"exception",
";"
] |
[
"simple",
"test",
"of",
"address",
"list",
"filtering"
] |
[
"inet",
"address",
"addr",
"=",
"inet",
"address",
"get",
"by",
"address",
"(",
"new",
"byte",
"[",
"]",
"{",
"127",
",",
"0",
",",
"0",
",",
"1",
"}",
")",
";",
"list",
"<",
"inet",
"address",
">",
"filtered",
"=",
"ignite",
"utils",
"filter",
"reachable",
"(",
"collections",
"singleton",
"list",
"(",
"addr",
")",
")",
";",
"assert",
"equals",
"(",
"1",
",",
"filtered",
"size",
"(",
")",
")",
";",
"assert",
"equals",
"(",
"addr",
",",
"filtered",
"get",
"(",
"0",
")",
")",
";"
] |
[
"get",
"the",
"singleton",
"{"
] |
[
"return",
"instance",
";"
] |
[
"this",
"method",
"builds",
"object",
"from",
"provided",
"json"
] |
[
"object",
"mapper",
"mapper",
"=",
"sequence",
"element",
"mapper",
"(",
")",
";",
"try",
"{",
"t",
"ret",
"=",
"(",
"t",
")",
"mapper",
"read",
"value",
"(",
"json",
",",
"target",
"class",
")",
";",
"return",
"ret",
";",
"}",
"catch",
"(",
"i",
"o",
"exception",
"e",
")",
"{",
"throw",
"new",
"runtime",
"exception",
"(",
"e",
")",
";",
"}"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.