docstring_tokens
list | code_tokens
list |
---|---|
[
"sets",
"the",
"orientation",
"of",
"the",
"preview"
] |
[
"m",
"orientation",
"=",
"orientation",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"audio",
"encoder",
"set",
"with",
"{"
] |
[
"return",
"m",
"audio",
"encoder",
";"
] |
[
"returns",
"the",
"id",
"of",
"the",
"{"
] |
[
"return",
"m",
"camera",
";"
] |
[
"returns",
"the",
"video",
"encoder",
"set",
"with",
"{"
] |
[
"return",
"m",
"video",
"encoder",
";"
] |
[
"returns",
"the",
"video",
"quality",
"set",
"with",
"{"
] |
[
"return",
"m",
"video",
"quality",
";"
] |
[
"returns",
"the",
"audio",
"quality",
"set",
"with",
"{"
] |
[
"return",
"m",
"audio",
"quality",
";"
] |
[
"returns",
"the",
"flash",
"state",
"set",
"with",
"{"
] |
[
"return",
"m",
"flash",
";"
] |
[
"returns",
"the",
"time",
"to",
"live",
"set",
"with",
"{"
] |
[
"return",
"m",
"time",
"to",
"live",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"new",
"session",
"builder",
"(",
")",
"set",
"destination",
"(",
"m",
"destination",
")",
"set",
"origin",
"(",
"m",
"origin",
")",
"set",
"surface",
"view",
"(",
"m",
"surface",
"view",
")",
"set",
"preview",
"orientation",
"(",
"m",
"orientation",
")",
"set",
"video",
"quality",
"(",
"m",
"video",
"quality",
")",
"set",
"video",
"encoder",
"(",
"m",
"video",
"encoder",
")",
"set",
"flash",
"enabled",
"(",
"m",
"flash",
")",
"set",
"camera",
"(",
"m",
"camera",
")",
"set",
"time",
"to",
"live",
"(",
"m",
"time",
"to",
"live",
")",
"set",
"audio",
"encoder",
"(",
"m",
"audio",
"encoder",
")",
"set",
"audio",
"quality",
"(",
"m",
"audio",
"quality",
")",
"set",
"context",
"(",
"m",
"context",
")",
"set",
"callback",
"(",
"m",
"callback",
")",
";"
] |
[
"identity",
"support",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~"
] |
[
"return",
"new",
"chache",
"7",
"1",
"identity",
"column",
"support",
"(",
")",
";"
] |
[
"limit",
"support",
"(",
"ala",
"top",
")",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~",
"~"
] |
[
"if",
"(",
"is",
"legacy",
"limit",
"handler",
"behavior",
"enabled",
"(",
")",
")",
"{",
"return",
"super",
"get",
"limit",
"handler",
"(",
")",
";",
"}",
"return",
"limit",
"handler",
";"
] |
[
"}"
] |
[
"boolean",
"pass",
"=",
"await",
"utils",
"await",
"(",
"new",
"test",
"await",
"task",
"utils",
"(",
")",
"{",
"@",
"override",
"public",
"boolean",
"check",
"completed",
"(",
")",
"{",
"return",
"received",
"count",
"=",
"=",
"await",
"receive",
"count",
";",
"}",
"}",
")",
";",
"assert",
"assert",
"true",
"(",
"pass",
")",
";"
] |
[
"empty",
"or",
"all",
"-",
"whitespace",
"text",
"fields",
"should",
"be",
"parsed",
"as",
"optional",
"empty",
"(",
")"
] |
[
"return",
"optional",
"of",
"nullable",
"(",
"text",
")",
"map",
"(",
"string",
":",
":",
"trim",
")",
"filter",
"(",
"s",
"-",
">",
"!",
"s",
"is",
"empty",
"(",
")",
")",
";"
] |
[
"/",
"*",
"returns",
"the",
"attribute",
"registered",
"at",
"the",
"given",
"key",
"with",
"the",
"top",
"level",
"operation",
"returns",
"null",
"if",
"no",
"such",
"attribute",
"is",
"found"
] |
[
"array",
"list",
"stack",
"=",
"get",
"current",
"operation",
"stack",
"(",
")",
";",
"if",
"(",
"stack",
"size",
"(",
")",
"=",
"=",
"0",
")",
"return",
"null",
";",
"java",
"model",
"operation",
"top",
"level",
"op",
"=",
"(",
"java",
"model",
"operation",
")",
"stack",
"get",
"(",
"0",
")",
";",
"if",
"(",
"top",
"level",
"op",
"attributes",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"else",
"{",
"return",
"top",
"level",
"op",
"attributes",
"get",
"(",
"key",
")",
";",
"}"
] |
[
"/",
"*",
"returns",
"the",
"stack",
"of",
"operations",
"running",
"in",
"the",
"current",
"thread",
"returns",
"an",
"empty",
"stack",
"if",
"no",
"operations",
"are",
"currently",
"running",
"in",
"this",
"thread"
] |
[
"array",
"list",
"stack",
"=",
"(",
"array",
"list",
")",
"operation",
"stacks",
"get",
"(",
")",
";",
"if",
"(",
"stack",
"=",
"=",
"null",
")",
"{",
"stack",
"=",
"new",
"array",
"list",
"(",
")",
";",
"operation",
"stacks",
"set",
"(",
"stack",
")",
";",
"}",
"return",
"stack",
";"
] |
[
"/",
"*",
"registers",
"the",
"given",
"attribute",
"at",
"the",
"given",
"key",
"with",
"the",
"top",
"level",
"operation"
] |
[
"array",
"list",
"operation",
"stack",
"=",
"get",
"current",
"operation",
"stack",
"(",
")",
";",
"if",
"(",
"operation",
"stack",
"size",
"(",
")",
"=",
"=",
"0",
")",
"return",
";",
"java",
"model",
"operation",
"top",
"level",
"op",
"=",
"(",
"java",
"model",
"operation",
")",
"operation",
"stack",
"get",
"(",
"0",
")",
";",
"if",
"(",
"top",
"level",
"op",
"attributes",
"=",
"=",
"null",
")",
"{",
"top",
"level",
"op",
"attributes",
"=",
"new",
"hash",
"map",
"(",
")",
";",
"}",
"top",
"level",
"op",
"attributes",
"put",
"(",
"key",
",",
"attribute",
")",
";"
] |
[
"/",
"*",
"registers",
"the",
"given",
"action",
"at",
"the",
"end",
"of",
"the",
"list",
"of",
"actions",
"to",
"run"
] |
[
"int",
"length",
"=",
"this",
"actions",
"length",
";",
"if",
"(",
"length",
"=",
"=",
"+",
"+",
"this",
"actions",
"end",
")",
"{",
"system",
"arraycopy",
"(",
"this",
"actions",
",",
"0",
",",
"this",
"actions",
"=",
"new",
"i",
"post",
"action",
"[",
"length",
"*",
"2",
"]",
",",
"0",
",",
"length",
")",
";",
"}",
"this",
"actions",
"[",
"this",
"actions",
"end",
"]",
"=",
"action",
";"
] |
[
"/",
"*",
"registers",
"the",
"given",
"delta",
"with",
"the",
"java",
"model",
"manager"
] |
[
"java",
"model",
"manager",
"get",
"java",
"model",
"manager",
"(",
")",
"get",
"delta",
"processor",
"(",
")",
"register",
"java",
"model",
"delta",
"(",
"delta",
")",
";"
] |
[
"/",
"*",
"deregister",
"the",
"reconcile",
"delta",
"for",
"the",
"given",
"working",
"copy"
] |
[
"java",
"model",
"manager",
"get",
"java",
"model",
"manager",
"(",
")",
"get",
"delta",
"processor",
"(",
")",
"reconcile",
"deltas",
"remove",
"(",
"working",
"copy",
")",
";"
] |
[
"/",
"*",
"returns",
"whether",
"this",
"operation",
"can",
"modify",
"the",
"package",
"fragment",
"roots"
] |
[
"return",
"false",
";"
] |
[
"convenience",
"method",
"to",
"copy",
"resources"
] |
[
"i",
"progress",
"monitor",
"sub",
"progress",
"monitor",
"=",
"get",
"sub",
"progress",
"monitor",
"(",
"resources",
"length",
")",
";",
"i",
"workspace",
"root",
"root",
"=",
"resources",
"plugin",
"get",
"workspace",
"(",
")",
"get",
"root",
"(",
")",
";",
"try",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
",",
"length",
"=",
"resources",
"length",
";",
"i",
"<",
"length",
";",
"i",
"+",
"+",
")",
"{",
"i",
"resource",
"resource",
"=",
"resources",
"[",
"i",
"]",
";",
"i",
"path",
"destination",
"=",
"container",
"append",
"(",
"resource",
"get",
"name",
"(",
")",
")",
";",
"if",
"(",
"root",
"find",
"member",
"(",
"destination",
")",
"=",
"=",
"null",
")",
"{",
"resource",
"copy",
"(",
"destination",
",",
"false",
",",
"sub",
"progress",
"monitor",
")",
";",
"}",
"}",
"set",
"attribute",
"(",
"has",
"modified",
"resource",
"attr",
",",
"true",
")",
";",
"}",
"catch",
"(",
"core",
"exception",
"e",
")",
"{",
"throw",
"new",
"java",
"model",
"exception",
"(",
"e",
")",
";",
"}"
] |
[
"convenience",
"method",
"to",
"create",
"a",
"file"
] |
[
"i",
"file",
"file",
"=",
"folder",
"get",
"file",
"(",
"new",
"path",
"(",
"name",
")",
")",
";",
"try",
"{",
"file",
"create",
"(",
"contents",
",",
"force",
"flag",
"?",
"i",
"resource",
"force",
"|",
"i",
"resource",
"keep",
"history",
":",
"i",
"resource",
"keep",
"history",
",",
"get",
"sub",
"progress",
"monitor",
"(",
"1",
")",
")",
";",
"set",
"attribute",
"(",
"has",
"modified",
"resource",
"attr",
",",
"true",
")",
";",
"}",
"catch",
"(",
"core",
"exception",
"e",
")",
"{",
"throw",
"new",
"java",
"model",
"exception",
"(",
"e",
")",
";",
"}"
] |
[
"convenience",
"method",
"to",
"delete",
"a",
"resource"
] |
[
"try",
"{",
"resource",
"delete",
"(",
"flags",
",",
"get",
"sub",
"progress",
"monitor",
"(",
"1",
")",
")",
";",
"set",
"attribute",
"(",
"has",
"modified",
"resource",
"attr",
",",
"true",
")",
";",
"}",
"catch",
"(",
"core",
"exception",
"e",
")",
"{",
"throw",
"new",
"java",
"model",
"exception",
"(",
"e",
")",
";",
"}"
] |
[
"convenience",
"method",
"to",
"delete",
"resources"
] |
[
"if",
"(",
"resources",
"=",
"=",
"null",
"|",
"|",
"resources",
"length",
"=",
"=",
"0",
")",
"return",
";",
"i",
"progress",
"monitor",
"sub",
"progress",
"monitor",
"=",
"get",
"sub",
"progress",
"monitor",
"(",
"resources",
"length",
")",
";",
"i",
"workspace",
"workspace",
"=",
"resources",
"[",
"0",
"]",
"get",
"workspace",
"(",
")",
";",
"try",
"{",
"workspace",
"delete",
"(",
"resources",
",",
"force",
"flag",
"?",
"i",
"resource",
"force",
"|",
"i",
"resource",
"keep",
"history",
":",
"i",
"resource",
"keep",
"history",
",",
"sub",
"progress",
"monitor",
")",
";",
"set",
"attribute",
"(",
"has",
"modified",
"resource",
"attr",
",",
"true",
")",
";",
"}",
"catch",
"(",
"core",
"exception",
"e",
")",
"{",
"throw",
"new",
"java",
"model",
"exception",
"(",
"e",
")",
";",
"}"
] |
[
"checks",
"with",
"the",
"progress",
"monitor",
"to",
"see",
"whether",
"this",
"operation",
"should",
"be",
"canceled",
"an",
"operation",
"should",
"regularly",
"call",
"this",
"method",
"during",
"its",
"operation",
"so",
"that",
"the",
"user",
"can",
"cancel",
"it"
] |
[
"if",
"(",
"is",
"canceled",
"(",
")",
")",
"{",
"throw",
"new",
"operation",
"canceled",
"exception",
"(",
"messages",
"operation",
"cancelled",
")",
";",
"}"
] |
[
"common",
"code",
"used",
"to",
"verify",
"the",
"elements",
"this",
"operation",
"is",
"processing"
] |
[
"if",
"(",
"this",
"elements",
"to",
"process",
"=",
"=",
"null",
"|",
"|",
"this",
"elements",
"to",
"process",
"length",
"=",
"=",
"0",
")",
"{",
"return",
"new",
"java",
"model",
"status",
"(",
"i",
"java",
"model",
"status",
"constants",
"no",
"elements",
"to",
"process",
")",
";",
"}",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"this",
"elements",
"to",
"process",
"length",
";",
"i",
"+",
"+",
")",
"{",
"if",
"(",
"this",
"elements",
"to",
"process",
"[",
"i",
"]",
"=",
"=",
"null",
")",
"{",
"return",
"new",
"java",
"model",
"status",
"(",
"i",
"java",
"model",
"status",
"constants",
"no",
"elements",
"to",
"process",
")",
";",
"}",
"}",
"return",
"org",
"eclipse",
"jdt",
"internal",
"core",
"java",
"model",
"status",
"verified",
"ok",
";"
] |
[
"/",
"*",
"returns",
"whether",
"the",
"given",
"path",
"is",
"equals",
"to",
"one",
"of",
"the",
"given",
"other",
"paths"
] |
[
"for",
"(",
"int",
"i",
"=",
"0",
",",
"length",
"=",
"other",
"paths",
"length",
";",
"i",
"<",
"length",
";",
"i",
"+",
"+",
")",
"{",
"if",
"(",
"path",
"equals",
"(",
"other",
"paths",
"[",
"i",
"]",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"performs",
"the",
"operation",
"specific",
"behavior",
"subclasses",
"must",
"override"
] |
[
"protected",
"abstract",
"void",
"execute",
"operation",
"(",
")",
"throws",
"java",
"model",
"exception",
";"
] |
[
"returns",
"the",
"compilation",
"unit",
"the",
"given",
"element",
"is",
"contained",
"in",
"or",
"the",
"element",
"itself",
"(",
"if",
"it",
"is",
"a",
"compilation",
"unit",
")",
"otherwise",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">"
] |
[
"return",
"(",
"(",
"java",
"element",
")",
"element",
")",
"get",
"compilation",
"unit",
"(",
")",
";"
] |
[
"/",
"*",
"returns",
"the",
"existing",
"document",
"for",
"the",
"given",
"cu",
"or",
"a",
"document",
"adapter",
"if",
"none"
] |
[
"i",
"buffer",
"buffer",
"=",
"cu",
"get",
"buffer",
"(",
")",
";",
"if",
"(",
"buffer",
"instanceof",
"i",
"document",
")",
"return",
"(",
"i",
"document",
")",
"buffer",
";",
"return",
"new",
"document",
"adapter",
"(",
"buffer",
")",
";"
] |
[
"returns",
"the",
"element",
"to",
"which",
"this",
"operation",
"applies",
"or",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">",
"if",
"not",
"applicable"
] |
[
"if",
"(",
"this",
"elements",
"to",
"process",
"=",
"=",
"null",
"|",
"|",
"this",
"elements",
"to",
"process",
"length",
"=",
"=",
"0",
")",
"{",
"return",
"null",
";",
"}",
"return",
"this",
"elements",
"to",
"process",
"[",
"0",
"]",
";"
] |
[
"returns",
"the",
"java",
"model",
"this",
"operation",
"is",
"operating",
"in"
] |
[
"return",
"java",
"model",
"manager",
"get",
"java",
"model",
"manager",
"(",
")",
"get",
"java",
"model",
"(",
")",
";"
] |
[
"returns",
"the",
"parent",
"element",
"to",
"which",
"this",
"operation",
"applies",
"or",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">",
"if",
"not",
"applicable"
] |
[
"if",
"(",
"this",
"parent",
"elements",
"=",
"=",
"null",
"|",
"|",
"this",
"parent",
"elements",
"length",
"=",
"=",
"0",
")",
"{",
"return",
"null",
";",
"}",
"return",
"this",
"parent",
"elements",
"[",
"0",
"]",
";"
] |
[
"returns",
"the",
"parent",
"elements",
"to",
"which",
"this",
"operation",
"applies",
"or",
"<",
"code",
">",
"null",
"<",
"/",
"code",
">",
"if",
"not",
"applicable"
] |
[
"return",
"this",
"parent",
"elements",
";"
] |
[
"returns",
"the",
"elements",
"created",
"by",
"this",
"operation"
] |
[
"return",
"this",
"result",
"elements",
";"
] |
[
"/",
"*",
"returns",
"the",
"scheduling",
"rule",
"for",
"this",
"operation",
"(",
"i",
"e",
"the",
"resource",
"that",
"needs",
"to",
"be",
"locked",
"while",
"this",
"operation",
"is",
"running",
"subclasses",
"can",
"override"
] |
[
"return",
"resources",
"plugin",
"get",
"workspace",
"(",
")",
"get",
"root",
"(",
")",
";"
] |
[
"creates",
"and",
"returns",
"a",
"subprogress",
"monitor",
"if",
"appropriate"
] |
[
"i",
"progress",
"monitor",
"sub",
"=",
"null",
";",
"if",
"(",
"this",
"progress",
"monitor",
"!",
"=",
"null",
")",
"{",
"sub",
"=",
"new",
"sub",
"progress",
"monitor",
"(",
"this",
"progress",
"monitor",
",",
"work",
"amount",
",",
"sub",
"progress",
"monitor",
"prepend",
"main",
"label",
"to",
"subtask",
")",
";",
"}",
"return",
"sub",
";"
] |
[
"returns",
"whether",
"this",
"operation",
"has",
"performed",
"any",
"resource",
"modifications",
"returns",
"false",
"if",
"this",
"operation",
"has",
"not",
"been",
"executed",
"yet"
] |
[
"return",
"!",
"is",
"read",
"only",
"(",
")",
"&",
"&",
"get",
"attribute",
"(",
"has",
"modified",
"resource",
"attr",
")",
"=",
"=",
"true",
";"
] |
[
"/",
"*",
"returns",
"whether",
"this",
"operation",
"is",
"the",
"first",
"operation",
"to",
"run",
"in",
"the",
"current",
"thread"
] |
[
"array",
"list",
"stack",
";",
"return",
"(",
"stack",
"=",
"get",
"current",
"operation",
"stack",
"(",
")",
")",
"size",
"(",
")",
">",
"0",
"&",
"&",
"stack",
"get",
"(",
"0",
")",
"=",
"=",
"this",
";"
] |
[
"convenience",
"method",
"to",
"move",
"resources"
] |
[
"i",
"progress",
"monitor",
"sub",
"progress",
"monitor",
"=",
"null",
";",
"if",
"(",
"this",
"progress",
"monitor",
"!",
"=",
"null",
")",
"{",
"sub",
"progress",
"monitor",
"=",
"new",
"sub",
"progress",
"monitor",
"(",
"this",
"progress",
"monitor",
",",
"resources",
"length",
",",
"sub",
"progress",
"monitor",
"prepend",
"main",
"label",
"to",
"subtask",
")",
";",
"}",
"i",
"workspace",
"root",
"root",
"=",
"resources",
"plugin",
"get",
"workspace",
"(",
")",
"get",
"root",
"(",
")",
";",
"try",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
",",
"length",
"=",
"resources",
"length",
";",
"i",
"<",
"length",
";",
"i",
"+",
"+",
")",
"{",
"i",
"resource",
"resource",
"=",
"resources",
"[",
"i",
"]",
";",
"i",
"path",
"destination",
"=",
"container",
"append",
"(",
"resource",
"get",
"name",
"(",
")",
")",
";",
"if",
"(",
"root",
"find",
"member",
"(",
"destination",
")",
"=",
"=",
"null",
")",
"{",
"resource",
"move",
"(",
"destination",
",",
"false",
",",
"sub",
"progress",
"monitor",
")",
";",
"}",
"}",
"set",
"attribute",
"(",
"has",
"modified",
"resource",
"attr",
",",
"true",
")",
";",
"}",
"catch",
"(",
"core",
"exception",
"e",
")",
"{",
"throw",
"new",
"java",
"model",
"exception",
"(",
"e",
")",
";",
"}"
] |
[
"/",
"*",
"returns",
"the",
"index",
"of",
"the",
"first",
"registered",
"action",
"with",
"the",
"given",
"id",
"starting",
"from",
"a",
"given",
"position",
"returns",
"-",
"1",
"if",
"not",
"found"
] |
[
"for",
"(",
"int",
"i",
"=",
"start",
";",
"i",
"<",
"=",
"this",
"actions",
"end",
";",
"i",
"+",
"+",
")",
"{",
"if",
"(",
"this",
"actions",
"[",
"i",
"]",
"get",
"i",
"d",
"(",
")",
"equals",
"(",
"id",
")",
")",
"{",
"return",
"i",
";",
"}",
"}",
"return",
"-",
"1",
";"
] |
[
"creates",
"and",
"returns",
"a",
"new",
"<",
"code",
">",
"i",
"java",
"element",
"delta",
"<",
"/",
"code",
">",
"on",
"the",
"java",
"model"
] |
[
"return",
"new",
"java",
"element",
"delta",
"(",
"get",
"java",
"model",
"(",
")",
")",
";"
] |
[
"/",
"*",
"returns",
"whether",
"the",
"given",
"path",
"is",
"the",
"prefix",
"of",
"one",
"of",
"the",
"given",
"other",
"paths"
] |
[
"for",
"(",
"int",
"i",
"=",
"0",
",",
"length",
"=",
"other",
"paths",
"length",
";",
"i",
"<",
"length",
";",
"i",
"+",
"+",
")",
"{",
"if",
"(",
"path",
"is",
"prefix",
"of",
"(",
"other",
"paths",
"[",
"i",
"]",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"/",
"*",
"pushes",
"the",
"given",
"operation",
"on",
"the",
"stack",
"of",
"operations",
"currently",
"running",
"in",
"this",
"thread"
] |
[
"get",
"current",
"operation",
"stack",
"(",
")",
"add",
"(",
"operation",
")",
";"
] |
[
"sets",
"whether",
"this",
"operation",
"is",
"nested",
"or",
"not"
] |
[
"this",
"is",
"nested",
"=",
"nested",
";"
] |
[
"returns",
"a",
"status",
"indicating",
"if",
"there",
"is",
"any",
"known",
"reason",
"this",
"operation",
"will",
"fail",
"operations",
"are",
"verified",
"before",
"they",
"are",
"run"
] |
[
"return",
"common",
"verify",
"(",
")",
";"
] |
[
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/"
] |
[
"return",
"is",
"dependent",
"(",
"dependency",
")",
"|",
"|",
"super",
"layout",
"depends",
"on",
"(",
"parent",
",",
"child",
",",
"dependency",
")",
";"
] |
[
"set",
"the",
"bitmap",
"config",
"to",
"be",
"used",
"to",
"create",
"new",
"bitmaps"
] |
[
"m",
"bitmap",
"config",
"=",
"bitmap",
"config",
";"
] |
[
"returns",
"a",
"{"
] |
[
"return",
"nrender",
"area",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] |
[
"consumer",
"accept",
"(",
"render",
"area",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"{"
] |
[
"nrender",
"area",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] |
[
"s",
"type",
"(",
"s",
"type",
")",
";",
"p",
"next",
"(",
"p",
"next",
")",
";",
"render",
"pass",
"(",
"render",
"pass",
")",
";",
"framebuffer",
"(",
"framebuffer",
")",
";",
"render",
"area",
"(",
"render",
"area",
")",
";",
"p",
"clear",
"values",
"(",
"p",
"clear",
"values",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] |
[
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"vk",
"render",
"pass",
"begin",
"info",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"vk",
"render",
"pass",
"begin",
"info",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"vk",
"render",
"pass",
"begin",
"info",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"vk",
"render",
"pass",
"begin",
"info",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] |
[
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"vk",
"render",
"pass",
"begin",
"info",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"render",
"pass",
"begin",
"info",
"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",
"render",
"pass",
"begin",
"info",
"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",
"render",
"pass",
"begin",
"info",
"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",
"render",
"pass",
"begin",
"info",
"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",
"render",
"pass",
"begin",
"info",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] |
[
"return",
"wrap",
"(",
"vk",
"render",
"pass",
"begin",
"info",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"render",
"pass",
"begin",
"info",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] |
[
"return",
"wrap",
"(",
"vk",
"render",
"pass",
"begin",
"info",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"render",
"pass",
"begin",
"info",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] |
[
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"render",
"pass",
"begin",
"info",
"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",
"render",
"pass",
"begin",
"info",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] |
[
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"render",
"pass",
"begin",
"info",
"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",
"render",
"pass",
"begin",
"info",
"stype",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"render",
"pass",
"begin",
"info",
"pnext",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"unsafe",
"get",
"long",
"(",
"null",
",",
"struct",
"+",
"vk",
"render",
"pass",
"begin",
"info",
"renderpass",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"unsafe",
"get",
"long",
"(",
"null",
",",
"struct",
"+",
"vk",
"render",
"pass",
"begin",
"info",
"framebuffer",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"vk",
"rect",
"2",
"d",
"create",
"(",
"struct",
"+",
"vk",
"render",
"pass",
"begin",
"info",
"renderarea",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"render",
"pass",
"begin",
"info",
"clearvaluecount",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"vk",
"clear",
"value",
"create",
"safe",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"render",
"pass",
"begin",
"info",
"pclearvalues",
")",
",",
"nclear",
"value",
"count",
"(",
"struct",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"render",
"pass",
"begin",
"info",
"stype",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"render",
"pass",
"begin",
"info",
"pnext",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"unsafe",
"put",
"long",
"(",
"null",
",",
"struct",
"+",
"vk",
"render",
"pass",
"begin",
"info",
"renderpass",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"unsafe",
"put",
"long",
"(",
"null",
",",
"struct",
"+",
"vk",
"render",
"pass",
"begin",
"info",
"framebuffer",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"mem",
"copy",
"(",
"value",
"address",
"(",
")",
",",
"struct",
"+",
"vk",
"render",
"pass",
"begin",
"info",
"renderarea",
",",
"vk",
"rect",
"2",
"d",
"sizeof",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] |
[
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"render",
"pass",
"begin",
"info",
"clearvaluecount",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"render",
"pass",
"begin",
"info",
"pclearvalues",
",",
"mem",
"address",
"safe",
"(",
"value",
")",
")",
";",
"nclear",
"value",
"count",
"(",
"struct",
",",
"value",
"=",
"=",
"null",
"?",
"0",
":",
"value",
"remaining",
"(",
")",
")",
";"
] |
[
"validates",
"pointer",
"members",
"that",
"should",
"not",
"be",
"{",
"@",
"code",
"null",
"}"
] |
[
"if",
"(",
"nclear",
"value",
"count",
"(",
"struct",
")",
"!",
"=",
"0",
")",
"{",
"check",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"render",
"pass",
"begin",
"info",
"pclearvalues",
")",
")",
";",
"}"
] |
[
"returns",
"a",
"{"
] |
[
"return",
"vk",
"render",
"pass",
"begin",
"info",
"nrender",
"area",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] |
[
"consumer",
"accept",
"(",
"render",
"area",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"{"
] |
[
"vk",
"render",
"pass",
"begin",
"info",
"nrender",
"area",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"extension",
"field",
"delimiter",
"character"
] |
[
"return",
"extensions",
"get",
"extension",
"field",
"delimiter",
"(",
")",
";"
] |
[
"compacts",
"a",
"row",
"into",
"a",
"single",
"{"
] |
[
"final",
"key",
"value",
"[",
"]",
"compacted",
"=",
"{",
"null",
"}",
";",
"compact",
"(",
"row",
",",
"compacted",
",",
"annotations",
")",
";",
"return",
"compacted",
"[",
"0",
"]",
";"
] |
[
"find",
"the",
"first",
"datapoint",
"column",
"in",
"a",
"row",
"it",
"may",
"be",
"an",
"appended",
"column"
] |
[
"if",
"(",
"last",
"append",
"column",
"!",
"=",
"null",
")",
"{",
"return",
"last",
"append",
"column",
";",
"}",
"for",
"(",
"final",
"key",
"value",
"kv",
":",
"row",
")",
"{",
"if",
"(",
"is",
"datapoint",
"(",
"kv",
")",
")",
"{",
"return",
"kv",
";",
"}",
"}",
"return",
"null",
";"
] |
[
"check",
"if",
"a",
"particular",
"column",
"is",
"a",
"datapoint",
"column",
"(",
"as",
"opposed",
"to",
"annotation",
"or",
"other",
"extended",
"formats",
")"
] |
[
"return",
"(",
"kv",
"qualifier",
"(",
")",
"length",
"&",
"1",
")",
"=",
"=",
"0",
";"
] |
[
"compacts",
"a",
"row",
"into",
"a",
"single",
"{"
] |
[
"return",
"new",
"compaction",
"(",
"row",
",",
"compacted",
",",
"annotations",
")",
"compact",
"(",
")",
";"
] |
[
"starts",
"a",
"compaction",
"thread",
"only",
"one",
"such",
"thread",
"is",
"needed"
] |
[
"final",
"thrd",
"thread",
"=",
"new",
"thrd",
"(",
")",
";",
"thread",
"set",
"daemon",
"(",
"true",
")",
";",
"thread",
"start",
"(",
")",
";"
] |
[
"return",
"{"
] |
[
"return",
"p",
"c",
"a",
"model",
"view",
"redirect",
"(",
"this",
",",
"dst",
")",
";"
] |
[
"adds",
"the",
"optional",
"parameters",
"to",
"the",
"client",
"-",
"generated",
"nak",
"packet"
] |
[
"add",
"tlv",
"(",
"buffer",
",",
"dhcp",
"message",
"type",
",",
"dhcp",
"message",
"type",
"nak",
")",
";",
"add",
"tlv",
"(",
"buffer",
",",
"dhcp",
"server",
"identifier",
",",
"m",
"server",
"identifier",
")",
";",
"add",
"tlv",
"(",
"buffer",
",",
"dhcp",
"message",
",",
"m",
"message",
")",
";",
"add",
"tlv",
"end",
"(",
"buffer",
")",
";"
] |
[
"alias",
"for",
"test",
"net",
"3",
"params",
"get",
"(",
")",
"use",
"that",
"instead"
] |
[
"return",
"test",
"net",
"3",
"params",
"get",
"(",
")",
";"
] |
[
"alias",
"for",
"test",
"net",
"3",
"params",
"get",
"(",
")",
"use",
"that",
"instead"
] |
[
"return",
"test",
"net",
"3",
"params",
"get",
"(",
")",
";"
] |
[
"alias",
"for",
"main",
"net",
"params",
"get",
"(",
")",
"use",
"that",
"instead"
] |
[
"return",
"main",
"net",
"params",
"get",
"(",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.