docstring_tokens
sequence | code_tokens
sequence |
---|---|
[
"computes",
"the",
"difference",
"between",
"display",
"device",
"infos",
"assumes",
"other",
"is",
"not",
"null"
] | [
"int",
"diff",
"=",
"0",
";",
"if",
"(",
"state",
"!",
"=",
"other",
"state",
")",
"{",
"diff",
"|",
"=",
"diff",
"state",
";",
"}",
"if",
"(",
"color",
"mode",
"!",
"=",
"other",
"color",
"mode",
")",
"{",
"diff",
"|",
"=",
"diff",
"color",
"mode",
";",
"}",
"if",
"(",
"!",
"objects",
"equals",
"(",
"name",
",",
"other",
"name",
")",
"|",
"|",
"!",
"objects",
"equals",
"(",
"unique",
"id",
",",
"other",
"unique",
"id",
")",
"|",
"|",
"width",
"!",
"=",
"other",
"width",
"|",
"|",
"height",
"!",
"=",
"other",
"height",
"|",
"|",
"mode",
"id",
"!",
"=",
"other",
"mode",
"id",
"|",
"|",
"default",
"mode",
"id",
"!",
"=",
"other",
"default",
"mode",
"id",
"|",
"|",
"!",
"arrays",
"equals",
"(",
"supported",
"modes",
",",
"other",
"supported",
"modes",
")",
"|",
"|",
"!",
"arrays",
"equals",
"(",
"supported",
"color",
"modes",
",",
"other",
"supported",
"color",
"modes",
")",
"|",
"|",
"!",
"objects",
"equals",
"(",
"hdr",
"capabilities",
",",
"other",
"hdr",
"capabilities",
")",
"|",
"|",
"density",
"dpi",
"!",
"=",
"other",
"density",
"dpi",
"|",
"|",
"x",
"dpi",
"!",
"=",
"other",
"x",
"dpi",
"|",
"|",
"y",
"dpi",
"!",
"=",
"other",
"y",
"dpi",
"|",
"|",
"app",
"vsync",
"offset",
"nanos",
"!",
"=",
"other",
"app",
"vsync",
"offset",
"nanos",
"|",
"|",
"presentation",
"deadline",
"nanos",
"!",
"=",
"other",
"presentation",
"deadline",
"nanos",
"|",
"|",
"flags",
"!",
"=",
"other",
"flags",
"|",
"|",
"!",
"objects",
"equals",
"(",
"display",
"cutout",
",",
"other",
"display",
"cutout",
")",
"|",
"|",
"touch",
"!",
"=",
"other",
"touch",
"|",
"|",
"rotation",
"!",
"=",
"other",
"rotation",
"|",
"|",
"type",
"!",
"=",
"other",
"type",
"|",
"|",
"!",
"objects",
"equals",
"(",
"address",
",",
"other",
"address",
")",
"|",
"|",
"owner",
"uid",
"!",
"=",
"other",
"owner",
"uid",
"|",
"|",
"!",
"objects",
"equals",
"(",
"owner",
"package",
"name",
",",
"other",
"owner",
"package",
"name",
")",
")",
"{",
"diff",
"|",
"=",
"diff",
"other",
";",
"}",
"return",
"diff",
";"
] |
[
"<",
"p",
">",
"an",
"identifier",
"of",
"the",
"data",
"format",
"that",
"the",
"classifier",
"matches",
"<",
"/",
"p",
">"
] | [
"this",
"classification",
"=",
"classification",
";"
] |
[
"<",
"p",
">",
"an",
"identifier",
"of",
"the",
"data",
"format",
"that",
"the",
"classifier",
"matches",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"classification",
";"
] |
[
"<",
"p",
">",
"an",
"identifier",
"of",
"the",
"data",
"format",
"that",
"the",
"classifier",
"matches",
"such",
"as",
"twitter",
"json",
"omniture",
"logs",
"amazon",
"cloud",
"watch",
"logs",
"and",
"so",
"on",
"<",
"/",
"p",
">"
] | [
"set",
"classification",
"(",
"classification",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"intent",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"new",
"classifier",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"grok",
"pattern",
"applied",
"to",
"a",
"data",
"store",
"by",
"this",
"classifier",
"for",
"more",
"information",
"see",
"built",
"-",
"in",
"patterns",
"in",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"glue",
"/",
"latest",
"/",
"dg",
"/",
"custom",
"-",
"classifier",
"html",
">",
"writing",
"custom",
"classifers",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"this",
"grok",
"pattern",
"=",
"grok",
"pattern",
";"
] |
[
"<",
"p",
">",
"the",
"grok",
"pattern",
"applied",
"to",
"a",
"data",
"store",
"by",
"this",
"classifier",
"for",
"more",
"information",
"see",
"built",
"-",
"in",
"patterns",
"in",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"glue",
"/",
"latest",
"/",
"dg",
"/",
"custom",
"-",
"classifier",
"html",
">",
"writing",
"custom",
"classifers",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"grok",
"pattern",
";"
] |
[
"<",
"p",
">",
"the",
"grok",
"pattern",
"used",
"by",
"this",
"classifier",
"<",
"/",
"p",
">"
] | [
"set",
"grok",
"pattern",
"(",
"grok",
"pattern",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"optional",
"custom",
"grok",
"patterns",
"defined",
"by",
"this",
"classifier",
"for",
"more",
"information",
"see",
"custom",
"patterns",
"in",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"glue",
"/",
"latest",
"/",
"dg",
"/",
"custom",
"-",
"classifier",
"html",
">",
"writing",
"custom",
"classifers",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"this",
"custom",
"patterns",
"=",
"custom",
"patterns",
";"
] |
[
"<",
"p",
">",
"optional",
"custom",
"grok",
"patterns",
"defined",
"by",
"this",
"classifier",
"for",
"more",
"information",
"see",
"custom",
"patterns",
"in",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"glue",
"/",
"latest",
"/",
"dg",
"/",
"custom",
"-",
"classifier",
"html",
">",
"writing",
"custom",
"classifers",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"custom",
"patterns",
";"
] |
[
"<",
"p",
">",
"optional",
"custom",
"grok",
"patterns",
"used",
"by",
"this",
"classifier",
"<",
"/",
"p",
">"
] | [
"set",
"custom",
"patterns",
"(",
"custom",
"patterns",
")",
";",
"return",
"this",
";"
] |
[
"compares",
"the",
"current",
"api",
"version",
"to",
"another",
"api",
"version"
] | [
"if",
"(",
"!",
"prerelease",
"is",
"empty",
"(",
")",
")",
"{",
"if",
"(",
"other",
"prerelease",
"is",
"empty",
"(",
")",
")",
"{",
"return",
"-",
"1",
";",
"}",
"return",
"prerelease",
"compare",
"to",
"(",
"other",
"prerelease",
")",
";",
"}",
"if",
"(",
"!",
"other",
"prerelease",
"is",
"empty",
"(",
")",
")",
"{",
"return",
"1",
";",
"}",
"if",
"(",
"major",
"!",
"=",
"other",
"major",
")",
"{",
"return",
"integer",
"compare",
"(",
"major",
",",
"other",
"major",
")",
";",
"}",
"if",
"(",
"minor",
"!",
"=",
"other",
"minor",
")",
"{",
"return",
"integer",
"compare",
"(",
"minor",
",",
"other",
"minor",
")",
";",
"}",
"return",
"integer",
"compare",
"(",
"patch",
",",
"other",
"patch",
")",
";"
] |
[
"resumes",
"a",
"call",
"in",
"progress"
] | [
"get",
"telecomm",
"manager",
"(",
")",
"show",
"in",
"call",
"screen",
"(",
"false",
")",
";"
] |
[
"<",
"p",
">",
"indicates",
"whether",
"an",
"sas",
"context",
"has",
"arrived",
"with",
"the",
"current",
"request",
"or",
"not",
"<",
"/",
"p",
">"
] | [
"current",
"request",
"info",
"thread",
"local",
"=",
"thread",
"local",
"data",
"get",
"(",
")",
";",
"return",
"thread",
"local",
"sas",
"context",
"received",
";"
] |
[
"<",
"p",
">",
"indicates",
"whether",
"a",
"client",
"authentication",
"token",
"has",
"arrived",
"with",
"the",
"current",
"request",
"or",
"not",
"<",
"/",
"p",
">"
] | [
"current",
"request",
"info",
"thread",
"local",
"=",
"thread",
"local",
"data",
"get",
"(",
")",
";",
"return",
"thread",
"local",
"authentication",
"token",
"received",
";"
] |
[
"<",
"p",
">",
"obtains",
"the",
"username",
"that",
"arrived",
"with",
"the",
"current",
"request",
"<",
"/",
"p",
">"
] | [
"current",
"request",
"info",
"thread",
"local",
"=",
"thread",
"local",
"data",
"get",
"(",
")",
";",
"return",
"thread",
"local",
"incoming",
"username",
";"
] |
[
"<",
"p",
">",
"obtains",
"the",
"password",
"that",
"arrived",
"in",
"the",
"current",
"request",
"<",
"/",
"p",
">"
] | [
"current",
"request",
"info",
"thread",
"local",
"=",
"thread",
"local",
"data",
"get",
"(",
")",
";",
"return",
"thread",
"local",
"incoming",
"password",
";"
] |
[
"<",
"p",
">",
"obtains",
"the",
"target",
"name",
"that",
"arrived",
"in",
"the",
"current",
"request",
"<",
"/",
"p",
">"
] | [
"current",
"request",
"info",
"thread",
"local",
"=",
"thread",
"local",
"data",
"get",
"(",
")",
";",
"return",
"thread",
"local",
"incoming",
"target",
"name",
";"
] |
[
"<",
"p",
">",
"obtains",
"the",
"{",
"@",
"code",
"org",
"omg",
"csi",
"identity",
"token",
"}",
"that",
"arrived",
"in",
"the",
"current",
"request",
"<",
"/",
"p",
">"
] | [
"current",
"request",
"info",
"thread",
"local",
"=",
"thread",
"local",
"data",
"get",
"(",
")",
";",
"return",
"thread",
"local",
"incoming",
"identity",
";"
] |
[
"<",
"p",
">",
"obtains",
"the",
"principal",
"name",
"that",
"arrived",
"in",
"the",
"current",
"request",
"<",
"/",
"p",
">"
] | [
"current",
"request",
"info",
"thread",
"local",
"=",
"thread",
"local",
"data",
"get",
"(",
")",
";",
"return",
"thread",
"local",
"incoming",
"principal",
"name",
";"
] |
[
"{"
] | [
"mode",
"=",
"null",
";",
"path",
"modes",
"=",
"null",
";",
"set",
"null",
"mode",
"=",
"false",
";",
"set",
"secondary",
"fs",
"=",
"false",
";"
] |
[
"{"
] | [
"g",
"stop",
"all",
"(",
"true",
")",
";"
] |
[
"set",
"igfs",
"modes",
"for",
"particular",
"paths"
] | [
"assert",
"modes",
"!",
"=",
"null",
";",
"path",
"modes",
"=",
"new",
"linked",
"hash",
"map",
"<",
">",
"(",
"modes",
"length",
",",
"1",
"0f",
")",
";",
"for",
"(",
"ignite",
"bi",
"tuple",
"<",
"string",
",",
"igfs",
"mode",
">",
"mode",
":",
"modes",
")",
"path",
"modes",
"put",
"(",
"mode",
"get",
"key",
"(",
")",
",",
"mode",
"get",
"value",
"(",
")",
")",
";"
] |
[
"ensure",
"that",
"data",
"is",
"not",
"propagated",
"to",
"the",
"secondary",
"igfs",
"in",
"primary",
"mode"
] | [
"mode",
"=",
"primary",
";",
"check",
"propagation",
"(",
")",
";"
] |
[
"ensure",
"that",
"data",
"is",
"propagated",
"to",
"the",
"secondary",
"igfs",
"in",
"dual",
"sync",
"mode"
] | [
"mode",
"=",
"dual",
"sync",
";",
"check",
"propagation",
"(",
")",
";"
] |
[
"ensure",
"that",
"data",
"is",
"propagated",
"to",
"the",
"secondary",
"igfs",
"in",
"dual",
"sync",
"mode"
] | [
"mode",
"=",
"dual",
"async",
";",
"check",
"propagation",
"(",
")",
";"
] |
[
"resolve",
"igfs",
"mode",
"for",
"the",
"given",
"path",
"and",
"compare",
"it",
"with",
"expected",
"one"
] | [
"assert",
"igfs",
"!",
"=",
"null",
";",
"igfs",
"path",
"path",
"=",
"new",
"igfs",
"path",
"(",
"path",
"str",
")",
";",
"igfs",
"mode",
"resolver",
"rslvr",
"=",
"igfs",
"mode",
"resolver",
"(",
")",
";",
"igfs",
"mode",
"mode",
"=",
"rslvr",
"resolve",
"mode",
"(",
"path",
")",
";",
"assert",
"equals",
"(",
"exp",
"mode",
",",
"mode",
")",
";"
] |
[
"elapsed",
"time",
"in",
"milliseconds",
"for",
"the",
"request",
"as",
"seen",
"from",
"the",
"client"
] | [
"public",
"abstract",
"long",
"get",
"elapsed",
"time",
"(",
")",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"amazon",
"macie",
"member",
"account",
"whose",
"resources",
"you",
"want",
"to",
"remove",
"from",
"being",
"monitored",
"by",
"amazon",
"macie",
"<",
"/",
"p",
">"
] | [
"this",
"member",
"account",
"id",
"=",
"member",
"account",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"amazon",
"macie",
"member",
"account",
"whose",
"resources",
"you",
"want",
"to",
"remove",
"from",
"being",
"monitored",
"by",
"amazon",
"macie",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"member",
"account",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"aws",
"id",
"of",
"the",
"amazon",
"macie",
"member",
"account",
"whose",
"s3",
"resources",
"classification",
"types",
"you",
"want",
"to",
"update",
"<",
"/",
"p",
">"
] | [
"set",
"member",
"account",
"id",
"(",
"member",
"account",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"s3",
"resources",
"whose",
"classification",
"types",
"you",
"want",
"to",
"update",
"<",
"/",
"p",
">"
] | [
"return",
"s",
"3",
"resources",
"update",
";"
] |
[
"<",
"p",
">",
"the",
"s3",
"resources",
"whose",
"classification",
"types",
"you",
"want",
"to",
"update",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"s",
"3",
"resources",
"update",
"=",
"=",
"null",
")",
"{",
"this",
"s",
"3",
"resources",
"update",
"=",
"null",
";",
"return",
";",
"}",
"this",
"s",
"3",
"resources",
"update",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"s",
"3",
"resource",
"classification",
"update",
">",
"(",
"s",
"3",
"resources",
"update",
")",
";"
] |
[
"<",
"p",
">",
"the",
"s3",
"resources",
"whose",
"classification",
"types",
"you",
"want",
"to",
"update",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"s",
"3",
"resources",
"update",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"s",
"3",
"resources",
"update",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"this",
"s",
"3",
"resources",
"update",
"=",
"=",
"null",
")",
"{",
"set",
"s",
"3",
"resources",
"update",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"s",
"3",
"resource",
"classification",
"update",
">",
"(",
"s",
"3",
"resources",
"update",
"length",
")",
")",
";",
"}",
"for",
"(",
"s",
"3",
"resource",
"classification",
"update",
"ele",
":",
"s",
"3",
"resources",
"update",
")",
"{",
"this",
"s",
"3",
"resources",
"update",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"s3",
"resources",
"whose",
"classification",
"types",
"you",
"want",
"to",
"update",
"<",
"/",
"p",
">"
] | [
"set",
"s",
"3",
"resources",
"update",
"(",
"s",
"3",
"resources",
"update",
")",
";",
"return",
"this",
";"
] |
[
"encode",
"/",
"decode",
"another",
"block",
"of",
"input",
"data",
"this",
"output",
"is",
"provided",
"by",
"the",
"caller",
"and",
"must",
"be",
"big",
"enough",
"to",
"hold",
"all",
"the",
"coded",
"data",
"on",
"exit",
"this",
"opwill",
"be",
"set",
"to",
"the",
"length",
"of",
"the",
"coded",
"data"
] | [
"public",
"abstract",
"boolean",
"process",
"(",
"byte",
"[",
"]",
"input",
",",
"int",
"offset",
",",
"int",
"len",
",",
"boolean",
"finish",
")",
";"
] |
[
"decode",
"the",
"base",
"6",
"4",
"-",
"encoded",
"data",
"in",
"input",
"and",
"return",
"the",
"data",
"in",
"a",
"new",
"byte",
"array"
] | [
"return",
"decode",
"(",
"str",
"get",
"bytes",
"(",
")",
",",
"flags",
")",
";"
] |
[
"decode",
"the",
"base",
"6",
"4",
"-",
"encoded",
"data",
"in",
"input",
"and",
"return",
"the",
"data",
"in",
"a",
"new",
"byte",
"array"
] | [
"return",
"decode",
"(",
"input",
",",
"0",
",",
"input",
"length",
",",
"flags",
")",
";"
] |
[
"base",
"6",
"4",
"-",
"encode",
"the",
"given",
"data",
"and",
"return",
"a",
"newly",
"allocated",
"byte",
"[",
"]",
"with",
"the",
"result"
] | [
"return",
"encode",
"(",
"input",
",",
"0",
",",
"input",
"length",
",",
"flags",
")",
";"
] |
[
"fill",
"service",
"callbacks"
] | [
"on",
"fill",
"request",
"failure",
"or",
"timeout",
"(",
"request",
"id",
",",
"false",
",",
"message",
",",
"service",
"package",
"name",
")",
";"
] |
[
"fill",
"service",
"callbacks"
] | [
"on",
"fill",
"request",
"failure",
"or",
"timeout",
"(",
"request",
"id",
",",
"true",
",",
"null",
",",
"service",
"package",
"name",
")",
";"
] |
[
"generates",
"a",
"{"
] | [
"m",
"handler",
"send",
"message",
"(",
"obtain",
"message",
"(",
"session",
":",
":",
"do",
"log",
"context",
"committed",
",",
"this",
")",
")",
";"
] |
[
"thread",
"-",
"safe",
"version",
"of",
"{"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"remove",
"self",
"locked",
"(",
")",
";",
"}"
] |
[
"sets",
"this",
"current",
"frame",
"to",
"the",
"input",
"stack",
"map",
"frame",
"of",
"the",
"next",
"current",
"instruction",
"i",
"e",
"the",
"instruction",
"just",
"after",
"the",
"given",
"one",
"it",
"is",
"assumed",
"that",
"the",
"value",
"of",
"this",
"object",
"when",
"this",
"method",
"is",
"called",
"is",
"the",
"stack",
"map",
"frame",
"status",
"just",
"before",
"the",
"given",
"instruction",
"is",
"executed"
] | [
"super",
"execute",
"(",
"opcode",
",",
"arg",
",",
"symbol",
"arg",
",",
"symbol",
"table",
")",
";",
"frame",
"successor",
"=",
"new",
"frame",
"(",
"null",
")",
";",
"merge",
"(",
"symbol",
"table",
",",
"successor",
",",
"0",
")",
";",
"copy",
"from",
"(",
"successor",
")",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"an",
"audio",
"profile",
"when",
"you",
"specify",
"aac",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"<",
"p",
">",
"specify",
"the",
"aac",
"profile",
"for",
"the",
"output",
"file",
"elastic",
"transcoder",
"supports",
"the",
"following",
"profiles",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"auto",
"<",
"/",
"code",
">",
":",
"if",
"you",
"specify",
"<",
"code",
">",
"auto",
"<",
"/",
"code",
">",
"elastic",
"transcoder",
"selects",
"the",
"profile",
"based",
"on",
"the",
"bit",
"rate",
"selected",
"for",
"the",
"output",
"file",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"aac",
"-",
"lc",
"<",
"/",
"code",
">",
":",
"the",
"most",
"common",
"aac",
"profile",
"use",
"for",
"bit",
"rates",
"larger",
"than",
"64",
"kbps",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"he",
"-",
"aac",
"<",
"/",
"code",
">",
":",
"not",
"supported",
"on",
"some",
"older",
"players",
"and",
"devices",
"use",
"for",
"bit",
"rates",
"between",
"40",
"and",
"80",
"kbps",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"he",
"-",
"a",
"a",
"cv",
"2",
"<",
"/",
"code",
">",
":",
"not",
"supported",
"on",
"some",
"players",
"and",
"devices",
"use",
"for",
"bit",
"rates",
"less",
"than",
"48",
"kbps",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"all",
"outputs",
"in",
"a",
"<",
"code",
">",
"smooth",
"<",
"/",
"code",
">",
"playlist",
"must",
"have",
"the",
"same",
"value",
"for",
"<",
"code",
">",
"profile",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"if",
"you",
"created",
"any",
"presets",
"before",
"aac",
"profiles",
"were",
"added",
"elastic",
"transcoder",
"automatically",
"updated",
"your",
"presets",
"to",
"use",
"aac",
"-",
"lc",
"you",
"can",
"change",
"the",
"value",
"as",
"required",
"<",
"/",
"p",
">",
"<",
"/",
"note",
">"
] | [
"set",
"profile",
"(",
"profile",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"an",
"audio",
"bit",
"depth",
"when",
"you",
"specify",
"<",
"code",
">",
"flac",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"bit",
"depth",
"of",
"a",
"sample",
"is",
"how",
"many",
"bits",
"of",
"information",
"are",
"included",
"in",
"the",
"audio",
"samples",
"the",
"higher",
"the",
"bit",
"depth",
"the",
"better",
"the",
"audio",
"but",
"the",
"larger",
"the",
"file",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
"are",
"<",
"code",
">",
"16",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"24",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"most",
"common",
"bit",
"depth",
"is",
"<",
"code",
">",
"24",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"this",
"bit",
"depth",
"=",
"bit",
"depth",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"an",
"audio",
"bit",
"depth",
"when",
"you",
"specify",
"<",
"code",
">",
"flac",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"bit",
"depth",
"of",
"a",
"sample",
"is",
"how",
"many",
"bits",
"of",
"information",
"are",
"included",
"in",
"the",
"audio",
"samples",
"the",
"higher",
"the",
"bit",
"depth",
"the",
"better",
"the",
"audio",
"but",
"the",
"larger",
"the",
"file",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
"are",
"<",
"code",
">",
"16",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"24",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"most",
"common",
"bit",
"depth",
"is",
"<",
"code",
">",
"24",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"bit",
"depth",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"an",
"audio",
"bit",
"depth",
"when",
"you",
"specify",
"<",
"code",
">",
"flac",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"bit",
"depth",
"of",
"a",
"sample",
"is",
"how",
"many",
"bits",
"of",
"information",
"are",
"included",
"in",
"the",
"audio",
"samples",
"the",
"higher",
"the",
"bit",
"depth",
"the",
"better",
"the",
"audio",
"but",
"the",
"larger",
"the",
"file",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
"are",
"<",
"code",
">",
"16",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"24",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"most",
"common",
"bit",
"depth",
"is",
"<",
"code",
">",
"24",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"bit",
"depth",
"(",
"bit",
"depth",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"an",
"audio",
"bit",
"order",
"when",
"you",
"specify",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"order",
"the",
"bits",
"of",
"a",
"pcm",
"sample",
"are",
"stored",
"in",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"supported",
"value",
"is",
"<",
"code",
">",
"little",
"endian",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"this",
"bit",
"order",
"=",
"bit",
"order",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"an",
"audio",
"bit",
"order",
"when",
"you",
"specify",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"order",
"the",
"bits",
"of",
"a",
"pcm",
"sample",
"are",
"stored",
"in",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"supported",
"value",
"is",
"<",
"code",
">",
"little",
"endian",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"bit",
"order",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"an",
"audio",
"bit",
"order",
"when",
"you",
"specify",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"order",
"the",
"bits",
"of",
"a",
"pcm",
"sample",
"are",
"stored",
"in",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"supported",
"value",
"is",
"<",
"code",
">",
"little",
"endian",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"bit",
"order",
"(",
"bit",
"order",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"whether",
"an",
"audio",
"sample",
"is",
"signed",
"when",
"you",
"specify",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"<",
"p",
">",
"whether",
"audio",
"samples",
"are",
"represented",
"with",
"negative",
"and",
"positive",
"numbers",
"(",
"signed",
")",
"or",
"only",
"positive",
"numbers",
"(",
"unsigned",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"supported",
"value",
"is",
"<",
"code",
">",
"signed",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"this",
"signed",
"=",
"signed",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"whether",
"an",
"audio",
"sample",
"is",
"signed",
"when",
"you",
"specify",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"<",
"p",
">",
"whether",
"audio",
"samples",
"are",
"represented",
"with",
"negative",
"and",
"positive",
"numbers",
"(",
"signed",
")",
"or",
"only",
"positive",
"numbers",
"(",
"unsigned",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"supported",
"value",
"is",
"<",
"code",
">",
"signed",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"signed",
";"
] |
[
"<",
"p",
">",
"you",
"can",
"only",
"choose",
"whether",
"an",
"audio",
"sample",
"is",
"signed",
"when",
"you",
"specify",
"<",
"code",
">",
"pcm",
"<",
"/",
"code",
">",
"for",
"the",
"value",
"of",
"audio",
":",
"codec",
"<",
"/",
"p",
">",
"<",
"p",
">",
"whether",
"audio",
"samples",
"are",
"represented",
"with",
"negative",
"and",
"positive",
"numbers",
"(",
"signed",
")",
"or",
"only",
"positive",
"numbers",
"(",
"unsigned",
")",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"supported",
"value",
"is",
"<",
"code",
">",
"signed",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"signed",
"(",
"signed",
")",
";",
"return",
"this",
";"
] |
[
"unary",
"not",
":",
"only",
"applicable",
"to",
"integral",
"types"
] | [
"return",
"~",
"v",
";"
] |
[
"unary",
"negation",
"and",
"plus",
":",
"applicable",
"to",
"all",
"numeric",
"types"
] | [
"return",
"-",
"v",
";"
] |
[
"multiplication",
"/",
"division",
"/",
"remainder",
"/",
"subtraction",
":",
"applicable",
"to",
"all",
"integer",
"types"
] | [
"return",
"a",
"*",
"b",
";"
] |
[
"additionally",
"if",
"either",
"type",
"is",
"a",
"string",
"the",
"other",
"type",
"can",
"be",
"any",
"arbitrary",
"type",
"(",
"including",
"null",
")"
] | [
"return",
"a",
"+",
"b",
";"
] |
[
"eq",
":",
"applicable",
"to",
"any",
"arbitrary",
"type",
"including",
"nulls",
"for",
"both",
"arguments",
"!",
"!",
"!"
] | [
"return",
"a",
"=",
"=",
"b",
";"
] |
[
"comparison",
"operators",
":",
"applicable",
"for",
"any",
"numeric",
"type"
] | [
"return",
"a",
"<",
"b",
";"
] |
[
"bitwise",
"operators",
":",
"valid",
"only",
"for",
"integral",
"types"
] | [
"return",
"a",
"&",
"b",
";"
] |
[
"we",
"implement",
"all",
"shifts",
"as",
"long",
"shifts",
"because",
"the",
"extra",
"bits",
"are",
"ignored",
"anyway"
] | [
"return",
"a",
"<",
"<",
"b",
";"
] |
[
"unboxes",
"a",
"class",
"to",
"its",
"primitive",
"type",
"or",
"returns",
"the",
"original",
"class",
"if",
"its",
"not",
"a",
"boxed",
"type"
] | [
"return",
"method",
"type",
"method",
"type",
"(",
"clazz",
")",
"unwrap",
"(",
")",
"return",
"type",
"(",
")",
";"
] |
[
"returns",
"a",
"generic",
"method",
"handle",
"for",
"any",
"operator",
"that",
"can",
"handle",
"all",
"valid",
"signatures",
"nulls",
"corner",
"cases"
] | [
"return",
"type",
"op",
"mapping",
"get",
"(",
"object",
"class",
")",
"get",
"(",
"name",
")",
";"
] |
[
"slow",
"dynamic",
"cast",
":",
"casts",
"{"
] | [
"if",
"(",
"lhs",
"!",
"=",
"null",
")",
"{",
"return",
"dynamic",
"cast",
"(",
"lhs",
"get",
"class",
"(",
")",
",",
"return",
"value",
")",
";",
"}",
"else",
"{",
"return",
"return",
"value",
";",
"}"
] |
[
"slow",
"dynamic",
"cast",
":",
"casts",
"{"
] | [
"if",
"(",
"value",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"clazz",
"=",
"=",
"value",
"get",
"class",
"(",
")",
")",
"{",
"return",
"value",
";",
"}",
"if",
"(",
"clazz",
"=",
"=",
"integer",
"class",
")",
"{",
"return",
"get",
"number",
"(",
"value",
")",
"int",
"value",
"(",
")",
";",
"}",
"else",
"if",
"(",
"clazz",
"=",
"=",
"long",
"class",
")",
"{",
"return",
"get",
"number",
"(",
"value",
")",
"long",
"value",
"(",
")",
";",
"}",
"else",
"if",
"(",
"clazz",
"=",
"=",
"double",
"class",
")",
"{",
"return",
"get",
"number",
"(",
"value",
")",
"double",
"value",
"(",
")",
";",
"}",
"else",
"if",
"(",
"clazz",
"=",
"=",
"float",
"class",
")",
"{",
"return",
"get",
"number",
"(",
"value",
")",
"float",
"value",
"(",
")",
";",
"}",
"else",
"if",
"(",
"clazz",
"=",
"=",
"short",
"class",
")",
"{",
"return",
"get",
"number",
"(",
"value",
")",
"short",
"value",
"(",
")",
";",
"}",
"else",
"if",
"(",
"clazz",
"=",
"=",
"byte",
"class",
")",
"{",
"return",
"get",
"number",
"(",
"value",
")",
"byte",
"value",
"(",
")",
";",
"}",
"else",
"if",
"(",
"clazz",
"=",
"=",
"character",
"class",
")",
"{",
"return",
"(",
"char",
")",
"get",
"number",
"(",
"value",
")",
"int",
"value",
"(",
")",
";",
"}",
"return",
"clazz",
"cast",
"(",
"value",
")",
";",
"}",
"else",
"{",
"return",
"value",
";",
"}"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"security",
"configuration",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"the",
"project",
"was",
"created",
"in",
"timestamp",
"format",
"<",
"/",
"p",
">"
] | [
"this",
"created",
"time",
"stamp",
"=",
"created",
"time",
"stamp",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"the",
"project",
"was",
"created",
"in",
"timestamp",
"format",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"created",
"time",
"stamp",
";"
] |
[
"<",
"p",
">",
"the",
"time",
"at",
"which",
"this",
"security",
"configuration",
"was",
"created",
"<",
"/",
"p",
">"
] | [
"set",
"created",
"time",
"stamp",
"(",
"created",
"time",
"stamp",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"encryption",
"configuration",
"if",
"no",
"value",
"is",
"specified",
"the",
"default",
"is",
"no",
"encryption",
"<",
"/",
"p",
">"
] | [
"this",
"encryption",
"configuration",
"=",
"encryption",
"configuration",
";"
] |
[
"<",
"p",
">",
"the",
"encryption",
"configuration",
"if",
"no",
"value",
"is",
"specified",
"the",
"default",
"is",
"no",
"encryption",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"encryption",
"configuration",
";"
] |
[
"<",
"p",
">",
"the",
"encryption",
"configuration",
"associated",
"with",
"this",
"security",
"configuration",
"<",
"/",
"p",
">"
] | [
"set",
"encryption",
"configuration",
"(",
"encryption",
"configuration",
")",
";",
"return",
"this",
";"
] |
[
"removes",
"from",
"this",
"array",
"all",
"of",
"elements",
"contained",
"in",
"the",
"specified",
"array"
] | [
"int",
"size",
"=",
"this",
"size",
";",
"int",
"start",
"size",
"=",
"size",
";",
"long",
"[",
"]",
"items",
"=",
"this",
"items",
";",
"for",
"(",
"int",
"i",
"=",
"0",
",",
"n",
"=",
"array",
"size",
";",
"i",
"<",
"n",
";",
"i",
"+",
"+",
")",
"{",
"long",
"item",
"=",
"array",
"get",
"(",
"i",
")",
";",
"for",
"(",
"int",
"ii",
"=",
"0",
";",
"ii",
"<",
"size",
";",
"ii",
"+",
"+",
")",
"{",
"if",
"(",
"item",
"=",
"=",
"items",
"[",
"ii",
"]",
")",
"{",
"remove",
"index",
"(",
"ii",
")",
";",
"size",
"-",
"-",
";",
"break",
";",
"}",
"}",
"}",
"return",
"size",
"!",
"=",
"start",
"size",
";"
] |
[
"removes",
"and",
"returns",
"the",
"last",
"item"
] | [
"return",
"items",
"[",
"-",
"-",
"size",
"]",
";"
] |
[
"returns",
"the",
"last",
"item"
] | [
"return",
"items",
"[",
"size",
"-",
"1",
"]",
";"
] |
[
"reduces",
"the",
"size",
"of",
"the",
"backing",
"array",
"to",
"the",
"size",
"of",
"the",
"actual",
"items",
"this",
"is",
"useful",
"to",
"release",
"memory",
"when",
"many",
"items",
"have",
"been",
"removed",
"or",
"if",
"it",
"is",
"known",
"that",
"more",
"items",
"will",
"not",
"be",
"added"
] | [
"if",
"(",
"items",
"length",
"!",
"=",
"size",
")",
"resize",
"(",
"size",
")",
";",
"return",
"items",
";"
] |
[
"reduces",
"the",
"size",
"of",
"the",
"array",
"to",
"the",
"specified",
"size",
"if",
"the",
"array",
"is",
"already",
"smaller",
"than",
"the",
"specified",
"size",
"no",
"action",
"is",
"taken"
] | [
"if",
"(",
"size",
">",
"new",
"size",
")",
"size",
"=",
"new",
"size",
";"
] |
[
"returns",
"a",
"random",
"item",
"from",
"the",
"array",
"or",
"zero",
"if",
"the",
"array",
"is",
"empty"
] | [
"if",
"(",
"size",
"=",
"=",
"0",
")",
"return",
"0",
";",
"return",
"items",
"[",
"math",
"utils",
"random",
"(",
"0",
",",
"size",
"-",
"1",
")",
"]",
";"
] |
[
"{"
] | [
"return",
"partitioned",
";"
] |
[
"{"
] | [
"return",
"3",
";"
] |
[
"{"
] | [
"int",
"key",
"=",
"0",
";",
"ignite",
"cache",
"<",
"object",
",",
"object",
">",
"cache",
"=",
"grid",
"(",
"0",
")",
"cache",
"(",
"default",
"cache",
"name",
")",
";",
"while",
"(",
"true",
")",
"{",
"collection",
"<",
"cluster",
"node",
">",
"nodes",
"=",
"affinity",
"(",
"cache",
")",
"map",
"key",
"to",
"primary",
"and",
"backups",
"(",
"key",
")",
";",
"if",
"(",
"nodes",
"contains",
"(",
"grid",
"(",
"0",
")",
"local",
"node",
"(",
")",
")",
")",
"key",
"+",
"+",
";",
"else",
"break",
";",
"}",
"return",
"key",
";"
] |
[
"{"
] | [
"return",
"1",
";"
] |
[
"{"
] | [
"return",
"0",
";"
] |
[
"{"
] | [
"return",
"1",
";"
] |
[
"{"
] | [
"return",
"true",
";"
] |
[
"convenience",
"method",
"to",
"share",
"a",
"piece",
"of",
"content"
] | [
"new",
"share",
"api",
"(",
"share",
"content",
")",
"share",
"(",
"callback",
")",
";"
] |
[
"return",
"the",
"interpolated",
"error",
"message",
"for",
"this",
"validation",
"error"
] | [
"this",
"message",
"=",
"message",
";"
] |
[
"returns",
"the",
"graph",
"node",
"to",
"share",
"to"
] | [
"return",
"this",
"graph",
"node",
";"
] |
[
"sets",
"the",
"graph",
"node",
"to",
"share",
"to",
"(",
"this",
"can",
"be",
"a",
"user",
"id",
"event",
"id",
"page",
"id",
"group",
"id",
"album",
"id",
"etc",
")"
] | [
"this",
"graph",
"node",
"=",
"graph",
"node",
";"
] |
[
"returns",
"the",
"share",
"content",
"from",
"the",
"button"
] | [
"return",
"this",
"share",
"content",
";"
] |
[
"get",
"the",
"graph",
"path",
"path",
"after",
"graph",
"node",
"must",
"be",
"properly",
"url",
"encoded"
] | [
"try",
"{",
"return",
"string",
"format",
"(",
"locale",
"root",
",",
"graph",
"path",
"format",
",",
"u",
"r",
"l",
"encoder",
"encode",
"(",
"get",
"graph",
"node",
"(",
")",
",",
"default",
"charset",
")",
",",
"path",
"after",
"graph",
"node",
")",
";",
"}",
"catch",
"(",
"unsupported",
"encoding",
"exception",
"e",
")",
"{",
"return",
"null",
";",
"}"
] |
[
"{"
] | [
"grid",
"query",
"processor",
"idx",
"cls",
"=",
"indexing",
"with",
"context",
"class",
";",
"super",
"before",
"tests",
"started",
"(",
")",
";",
"batch",
"size",
"=",
"17",
";"
] |
[
"{"
] | [
"return",
"connect",
"(",
"grid",
"(",
"0",
")",
",",
"null",
")",
";"
] |
[
"check",
"that",
"there",
"s",
"nothing",
"in",
"cache"
] | [
"assert",
"equals",
"(",
"0",
",",
"cache",
"(",
")",
"size",
"(",
"cache",
"peek",
"mode",
"all",
")",
")",
";"
] |
[
"check",
"that",
"streaming",
"state",
"on",
"target",
"node",
"is",
"as",
"expected"
] | [
"sql",
"client",
"context",
"cli",
"ctx",
"=",
"sql",
"client",
"context",
"(",
")",
";",
"grid",
"test",
"utils",
"wait",
"for",
"condition",
"(",
"(",
")",
"-",
">",
"cli",
"ctx",
"is",
"stream",
"(",
")",
"=",
"=",
"on",
",",
"1000",
")",
";",
"assert",
"equals",
"(",
"on",
",",
"cli",
"ctx",
"is",
"stream",
"(",
")",
")",
";"
] |
[
"{"
] | [
"batch",
"size",
"=",
"1",
";",
"super",
"assert",
"statement",
"forbidden",
"(",
"sql",
")",
";"
] |
[
"{"
] | [
"indexing",
"with",
"context",
"cli",
"ctx",
"=",
"cli",
"ctx",
";",
"return",
"super",
"stream",
"batched",
"update",
"query",
"(",
"schema",
"name",
",",
"qry",
",",
"params",
",",
"cli",
"ctx",
")",
";"
] |
[
"{"
] | [
"indexing",
"with",
"context",
"cli",
"ctx",
"=",
"cli",
"ctx",
";",
"return",
"super",
"query",
"sql",
"fields",
"(",
"schema",
"name",
",",
"qry",
",",
"cli",
"ctx",
",",
"keep",
"binary",
",",
"fail",
"on",
"multiple",
"stmts",
",",
"tracker",
",",
"cancel",
")",
";"
] |
Subsets and Splits