docstring_tokens list | code_tokens list |
|---|---|
[
"get",
"the",
"name",
"of",
"this",
"fault"
] | [
"return",
"name",
";"
] |
[
"get",
"the",
"mode",
"of",
"this",
"parameter"
] | [
"return",
"mode",
";"
] |
[
"is",
"this",
"paramter",
"s",
"name",
"element",
"form",
"qualified",
"?"
] | [
"return",
"element",
"form",
"qualified",
";"
] |
[
"is",
"this",
"parameter",
"a",
"soap",
"header",
"parameter",
"?"
] | [
"return",
"is",
"header",
";"
] |
[
"mark",
"this",
"parameter",
"as",
"a",
"soap",
"header",
"parameter"
] | [
"is",
"header",
"=",
"true",
";"
] |
[
"set",
"the",
"mode",
"of",
"this",
"parameter",
"(",
"in",
"/",
"out",
"/",
"inout",
")"
] | [
"mode",
"=",
"mode",
";"
] |
[
"set",
"the",
"name",
"of",
"this",
"parameter"
] | [
"name",
"=",
"wsdl",
"types",
"get",
"type",
"q",
"name",
"(",
"name",
")",
";",
"element",
"form",
"qualified",
"=",
"wsdl",
"types",
"is",
"element",
"form",
"qualified",
"(",
"name",
"get",
"namespace",
"u",
"r",
"i",
"(",
")",
")",
";"
] |
[
"override",
"the",
"equals",
"method"
] | [
"if",
"(",
"o",
"instanceof",
"wsdl",
"op",
"parameter",
")",
"{",
"return",
"name",
"equals",
"(",
"(",
"(",
"wsdl",
"op",
"parameter",
")",
"o",
")",
"get",
"name",
"(",
")",
")",
";",
"}",
"return",
"false",
";"
] |
[
"programmatically",
"build",
"up",
"the",
"view",
"hierarchy",
"to",
"avoid",
"the",
"need",
"for",
"resources"
] | [
"resources",
"resources",
"=",
"get",
"resources",
"(",
")",
";",
"layout",
"params",
"params",
";",
"int",
"five",
"px",
"=",
"dp",
"to",
"px",
"(",
"5",
",",
"resources",
")",
";",
"int",
"ten",
"px",
"=",
"dp",
"to",
"px",
"(",
"10",
",",
"res... |
[
"remove",
"the",
"configurator",
"from",
"its",
"parent",
"and",
"clean",
"up",
"springs",
"and",
"listeners"
] | [
"view",
"group",
"parent",
"=",
"(",
"view",
"group",
")",
"get",
"parent",
"(",
")",
";",
"if",
"(",
"parent",
"!",
"=",
"null",
")",
"{",
"parent",
"remove",
"view",
"(",
"this",
")",
";",
"}",
"m",
"revealer",
"spring",
"destroy",
"(",
")",
";... |
[
"update",
"the",
"position",
"of",
"the",
"seekbars",
"based",
"on",
"the",
"spring",
"value",
";"
] | [
"float",
"tension",
"=",
"(",
"float",
")",
"origami",
"value",
"converter",
"origami",
"value",
"from",
"tension",
"(",
"spring",
"config",
"tension",
")",
";",
"float",
"tension",
"range",
"=",
"max",
"tension",
"-",
"min",
"tension",
";",
"int",
"scaled... |
[
"remove",
"all",
"elements",
"from",
"the",
"list"
] | [
"m",
"strings",
"clear",
"(",
")",
";",
"notify",
"data",
"set",
"changed",
"(",
")",
";"
] |
[
"maps",
"the",
"generic",
"key",
"to",
"the",
"specific",
"key",
"and",
"return",
"the",
"list",
"of",
"values",
"for",
"this",
"field",
"as",
"strings"
] | [
"if",
"(",
"generic",
"key",
"=",
"=",
"field",
"key",
"cover",
"art",
")",
"{",
"throw",
"new",
"unsupported",
"operation",
"exception",
"(",
"error",
"message",
"artwork",
"cannot",
"be",
"created",
"with",
"this",
"method",
"get",
"msg",
"(",
")",
")"... |
[
"determines",
"whether",
"the",
"tag",
"has",
"no",
"fields",
"specified",
"<",
"br",
">"
] | [
"return",
"(",
"tag",
"=",
"=",
"null",
"|",
"|",
"tag",
"is",
"empty",
"(",
")",
")",
"&",
"&",
"images",
"size",
"(",
")",
"=",
"=",
"0",
";"
] |
[
"create",
"tag",
"field",
"using",
"ogg",
"key"
] | [
"if",
"(",
"vorbis",
"comment",
"field",
"key",
"equals",
"(",
"vorbis",
"comment",
"field",
"key",
"coverart",
")",
")",
"{",
"throw",
"new",
"unsupported",
"operation",
"exception",
"(",
"error",
"message",
"artwork",
"cannot",
"be",
"created",
"with",
"th... |
[
"create",
"tag",
"field",
"using",
"ogg",
"key"
] | [
"if",
"(",
"vorbis",
"comment",
"field",
"key",
"equals",
"(",
"vorbis",
"comment",
"field",
"key",
"coverart",
"get",
"field",
"name",
"(",
")",
")",
")",
"{",
"throw",
"new",
"unsupported",
"operation",
"exception",
"(",
"error",
"message",
"artwork",
"c... |
[
"delete",
"any",
"instance",
"of",
"tag",
"fields",
"with",
"this",
"key"
] | [
"if",
"(",
"field",
"key",
"equals",
"(",
"field",
"key",
"cover",
"art",
")",
")",
"{",
"images",
"clear",
"(",
")",
";",
"}",
"else",
"{",
"tag",
"delete",
"field",
"(",
"field",
"key",
")",
";",
"}"
] |
[
"todo",
"add",
"field",
"images",
"to",
"iterator"
] | [
"return",
"tag",
"get",
"fields",
"(",
")",
";"
] |
[
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"artifact",
"list",
"(",
"java",
"util",
"... | [
"if",
"(",
"this",
"artifact",
"list",
"=",
"=",
"null",
")",
"{",
"set",
"artifact",
"list",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"artifact",
">",
"(",
"artifact",
"list",
"length",
")",
")",
";",
"}",
"for",
"... |
[
"/",
"*",
"root",
"has",
"to",
"use",
"the",
"local",
"context",
"root",
"s",
"env",
"for",
"all",
"operations",
"so",
"if",
"create",
"subcontext",
"in",
"the",
"root",
"use",
"the",
"env",
"of",
"the",
"local",
"context",
"root",
"if",
"lookup",
"bin... | [
"return",
"root",
";"
] |
[
"parses",
"the",
"search",
"options",
"<",
"p",
">",
"the",
"following",
"search",
"options",
"are",
"parsed",
":",
"<",
"ul",
">",
"<",
"li",
">",
"maximum",
"search",
"results",
"in",
"gui",
"-",
"allows",
"to",
"set",
"the",
"maximum",
"number",
"of... | [
"maximum",
"search",
"results",
"g",
"u",
"i",
"=",
"get",
"int",
"(",
"param",
"maximum",
"results",
"gui",
",",
"default",
"maximum",
"results",
"gui",
")",
";"
] |
[
"sets",
"whether",
"the",
"number",
"of",
"maximum",
"results",
"that",
"should",
"be",
"shown",
"in",
"the",
"results",
"panel"
] | [
"if",
"(",
"this",
"maximum",
"search",
"results",
"g",
"u",
"i",
"!",
"=",
"maximum",
"search",
"results",
"g",
"u",
"i",
")",
"{",
"this",
"maximum",
"search",
"results",
"g",
"u",
"i",
"=",
"maximum",
"search",
"results",
"g",
"u",
"i",
";",
"ge... |
[
"returns",
"the",
"number",
"of",
"maximum",
"results",
"that",
"should",
"be",
"shown",
"in",
"the",
"results",
"panel"
] | [
"return",
"maximum",
"search",
"results",
"g",
"u",
"i",
";"
] |
[
"converts",
"a",
"remote",
"procedure",
"exception",
"to",
"an",
"array",
"of",
"bytes"
] | [
"return",
"to",
"proto",
"(",
"source",
",",
"t",
")",
"to",
"byte",
"array",
"(",
")",
";"
] |
[
"takes",
"a",
"series",
"of",
"bytes",
"and",
"tries",
"to",
"generate",
"an",
"remote",
"procedure",
"exception",
"instance",
"for",
"it"
] | [
"return",
"from",
"proto",
"(",
"foreign",
"exception",
"message",
"parse",
"from",
"(",
"bytes",
")",
")",
";"
] |
[
"{"
] | [
"int",
"src",
"off",
"=",
"src",
"io",
"offset",
"(",
"src",
"idx",
")",
";",
"byte",
"[",
"]",
"payload",
"=",
"page",
"utils",
"get",
"bytes",
"(",
"src",
"page",
"addr",
",",
"src",
"off",
",",
"payload",
"size",
")",
";",
"long",
"link",
"=",... |
[
"{"
] | [
"return",
"page",
"utils",
"get",
"long",
"(",
"page",
"addr",
",",
"offset",
"(",
"idx",
")",
"+",
"payload",
"size",
")",
";"
] |
[
"compares",
"two",
"{",
"@",
"link",
"row",
"}",
"loads",
"according",
"to",
"a",
"policy"
] | [
"return",
"policy",
"cluster",
"preferences",
"get",
"(",
"0",
")",
"compare",
"(",
"r",
"1",
",",
"r",
"2",
",",
"true",
")",
";"
] |
[
"apply",
"the",
"preferences",
"and",
"conditions"
] | [
"set",
"approx",
"values",
"and",
"sort",
"nodes",
"(",
"cluster",
"preferences",
",",
"matrix",
")",
";",
"for",
"(",
"clause",
"clause",
":",
"expanded",
"clauses",
")",
"{",
"list",
"<",
"violation",
">",
"errs",
"=",
"clause",
"test",
"(",
"this",
... |
[
"write",
"an",
"index",
"file",
"to",
"v",
"3",
"format",
"single",
"index",
"file",
"and",
"remove",
"the",
"old",
"one"
] | [
"int",
"file",
"length",
"=",
"(",
"int",
")",
"index",
"file",
"length",
"(",
")",
";",
"try",
"(",
"pinot",
"data",
"buffer",
"buffer",
"=",
"segment",
"writer",
"new",
"index",
"for",
"(",
"column",
",",
"index",
"type",
",",
"file",
"length",
")"... |
[
"get",
"string",
"list",
"from",
"segment",
"properties",
"<",
"p",
">",
"note",
":",
"when",
"the",
"property",
"associated",
"with",
"the",
"key",
"is",
"empty",
"{",
"@",
"link",
"properties",
"configuration",
"#",
"get",
"list",
"(",
"string",
")",
"... | [
"list",
"<",
"string",
">",
"string",
"list",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"list",
"property",
"list",
"=",
"segment",
"properties",
"get",
"list",
"(",
"key",
")",
";",
"if",
"(",
"property",
"list",
"!",
"=",
"null",
")",... |
[
"annotations",
"on",
"types",
"are",
"for",
"jsr",
"308",
"not",
"applicable",
"to",
"smali"
] | [
"return",
"new",
"psi",
"annotation",
"[",
"0",
"]",
";"
] |
[
"release",
"resources",
"used",
"by",
"wrapped",
"sasl",
"server"
] | [
"sasl",
"util",
"safe",
"dispose",
"(",
"sasl",
"server",
")",
";"
] |
[
"/",
"*",
"filters",
"the",
"list",
"of",
"followed",
"sites",
"-",
"pass",
"null",
"to",
"show",
"all"
] | [
"if",
"(",
"!",
"string",
"utils",
"equals",
"(",
"constraint",
",",
"m",
"search",
"filter",
")",
")",
"{",
"m",
"search",
"filter",
"=",
"constraint",
";",
"refresh",
"(",
")",
";",
"}"
] |
[
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"... | [
"log",
"trace",
"call",
"(",
")",
";",
"close",
"all",
"handlers",
"(",
")",
";",
"stop",
"periodic",
"timer",
"(",
")",
";",
"stop",
"retry",
"timer",
"(",
")",
";",
"stopped",
"=",
"true",
";",
"restart",
"(",
")",
";"
] |
[
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"... | [
"stopped",
"=",
"false",
";",
"if",
"(",
"periodic",
"timer",
"=",
"=",
"null",
")",
"periodic",
"timer",
"=",
"user",
"thread",
"run",
"periodically",
"(",
"this",
":",
":",
"request",
"with",
"available",
"peers",
",",
"request",
"periodically",
"interva... |
[
"returns",
"a",
"function",
"that",
"always",
"returns",
"its",
"input",
"argument"
] | [
"return",
"value",
"-",
">",
"value",
";"
] |
[
"saves",
"the",
"pixels",
"from",
"the",
"buffer",
"as",
"a",
"png",
"file",
"on",
"the",
"sd",
"card"
] | [
"save",
"as",
"image",
"(",
"0",
",",
"0",
",",
"width",
",",
"height",
",",
"path",
",",
"compress",
"format",
"png",
",",
"100",
")",
";"
] |
[
"saves",
"the",
"pixels",
"from",
"the",
"buffer",
"on",
"the",
"sd",
"card"
] | [
"bitmap",
"bmp",
"=",
"get",
"pixels",
"from",
"buffer",
"(",
"x",
",",
"y",
",",
"width",
",",
"height",
")",
";",
"try",
"{",
"file",
"file",
"=",
"new",
"file",
"(",
"path",
")",
";",
"try",
"{",
"file",
"create",
"new",
"file",
"(",
")",
";... |
[
"grabs",
"the",
"pixels",
"from",
"the",
"buffer"
] | [
"int",
"b",
"[",
"]",
"=",
"new",
"int",
"[",
"width",
"*",
"(",
"y",
"+",
"height",
")",
"]",
";",
"int",
"bt",
"[",
"]",
"=",
"new",
"int",
"[",
"width",
"*",
"height",
"]",
";",
"int",
"buffer",
"ib",
"=",
"int",
"buffer",
"wrap",
"(",
"... |
[
"creates",
"a",
"new",
"leader",
"{",
"@",
"link",
"file",
"system",
"master",
"}",
"from",
"journal",
"along",
"with",
"its",
"dependencies",
"and",
"returns",
"the",
"master",
"registry",
"containing",
"that",
"master"
] | [
"return",
"create",
"file",
"system",
"master",
"from",
"journal",
"(",
"true",
")",
";"
] |
[
"creates",
"a",
"new",
"standby",
"{",
"@",
"link",
"file",
"system",
"master",
"}",
"from",
"journal",
"along",
"with",
"its",
"dependencies",
"and",
"returns",
"the",
"master",
"registry",
"containing",
"that",
"master"
] | [
"return",
"create",
"file",
"system",
"master",
"from",
"journal",
"(",
"false",
")",
";"
] |
[
"creates",
"a",
"new",
"{",
"@",
"link",
"file",
"system",
"master",
"}",
"from",
"journal",
"along",
"with",
"its",
"dependencies",
"and",
"returns",
"the",
"master",
"registry",
"containing",
"that",
"master"
] | [
"string",
"master",
"journal",
"=",
"configuration",
"get",
"(",
"property",
"key",
"master",
"journal",
"folder",
")",
";",
"master",
"registry",
"registry",
"=",
"new",
"master",
"registry",
"(",
")",
";",
"safe",
"mode",
"manager",
"safe",
"mode",
"manage... |
[
"tries",
"to",
"claim",
"the",
"user",
"s",
"drag",
"motion",
"and",
"requests",
"disallowing",
"any",
"ancestors",
"from",
"stealing",
"events",
"in",
"the",
"drag"
] | [
"if",
"(",
"get",
"parent",
"(",
")",
"!",
"=",
"null",
")",
"{",
"get",
"parent",
"(",
")",
"request",
"disallow",
"intercept",
"touch",
"event",
"(",
"true",
")",
";",
"}"
] |
[
"specifies",
"the",
"computation",
"of",
"a",
"median",
"(",
"i",
"e",
"the",
"1st",
"2",
"-",
"quantile",
")"
] | [
"return",
"scale",
"(",
"2",
")",
"index",
"(",
"1",
")",
";"
] |
[
"specifies",
"the",
"computation",
"of",
"quartiles",
"(",
"i",
"e",
"4",
"-",
"quantiles",
")"
] | [
"return",
"scale",
"(",
"4",
")",
";"
] |
[
"specifies",
"the",
"computation",
"of",
"percentiles",
"(",
"i",
"e",
"100",
"-",
"quantiles",
")"
] | [
"return",
"scale",
"(",
"100",
")",
";"
] |
[
"specifies",
"the",
"computation",
"of",
"q",
"-",
"quantiles"
] | [
"return",
"new",
"scale",
"(",
"scale",
")",
";"
] |
[
"specifies",
"a",
"single",
"quantile",
"index",
"to",
"be",
"calculated",
"i",
"e",
"the",
"k",
"in",
"the",
"kth",
"q",
"-",
"quantile"
] | [
"return",
"new",
"scale",
"and",
"index",
"(",
"scale",
",",
"index",
")",
";"
] |
[
"specifies",
"multiple",
"quantile",
"indexes",
"to",
"be",
"calculated",
"each",
"index",
"being",
"the",
"k",
"in",
"the",
"kth",
"q",
"-",
"quantile"
] | [
"return",
"new",
"scale",
"and",
"indexes",
"(",
"scale",
",",
"indexes",
"clone",
"(",
")",
")",
";"
] |
[
"specifies",
"multiple",
"quantile",
"indexes",
"to",
"be",
"calculated",
"each",
"index",
"being",
"the",
"k",
"in",
"the",
"kth",
"q",
"-",
"quantile"
] | [
"return",
"new",
"scale",
"and",
"indexes",
"(",
"scale",
",",
"ints",
"to",
"array",
"(",
"indexes",
")",
")",
";"
] |
[
"computes",
"the",
"quantile",
"value",
"of",
"the",
"given",
"dataset"
] | [
"return",
"compute",
"in",
"place",
"(",
"doubles",
"to",
"array",
"(",
"dataset",
")",
")",
";"
] |
[
"computes",
"the",
"quantile",
"value",
"of",
"the",
"given",
"dataset"
] | [
"return",
"compute",
"in",
"place",
"(",
"dataset",
"clone",
"(",
")",
")",
";"
] |
[
"computes",
"the",
"quantile",
"value",
"of",
"the",
"given",
"dataset"
] | [
"return",
"compute",
"in",
"place",
"(",
"longs",
"to",
"doubles",
"(",
"dataset",
")",
")",
";"
] |
[
"computes",
"the",
"quantile",
"value",
"of",
"the",
"given",
"dataset"
] | [
"return",
"compute",
"in",
"place",
"(",
"ints",
"to",
"doubles",
"(",
"dataset",
")",
")",
";"
] |
[
"computes",
"the",
"quantile",
"values",
"of",
"the",
"given",
"dataset"
] | [
"return",
"compute",
"in",
"place",
"(",
"doubles",
"to",
"array",
"(",
"dataset",
")",
")",
";"
] |
[
"computes",
"the",
"quantile",
"values",
"of",
"the",
"given",
"dataset"
] | [
"return",
"compute",
"in",
"place",
"(",
"dataset",
"clone",
"(",
")",
")",
";"
] |
[
"computes",
"the",
"quantile",
"values",
"of",
"the",
"given",
"dataset"
] | [
"return",
"compute",
"in",
"place",
"(",
"longs",
"to",
"doubles",
"(",
"dataset",
")",
")",
";"
] |
[
"computes",
"the",
"quantile",
"values",
"of",
"the",
"given",
"dataset"
] | [
"return",
"compute",
"in",
"place",
"(",
"ints",
"to",
"doubles",
"(",
"dataset",
")",
")",
";"
] |
[
"returns",
"whether",
"any",
"of",
"the",
"values",
"in",
"{"
] | [
"for",
"(",
"double",
"value",
":",
"dataset",
")",
"{",
"if",
"(",
"double",
"is",
"na",
"n",
"(",
"value",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"swaps",
"the",
"values",
"at",
"{"
] | [
"double",
"temp",
"=",
"array",
"[",
"i",
"]",
";",
"array",
"[",
"i",
"]",
"=",
"array",
"[",
"j",
"]",
";",
"array",
"[",
"j",
"]",
"=",
"temp",
";"
] |
[
"<",
"p",
">",
"a",
"<",
"code",
">",
"cron",
"<",
"/",
"code",
">",
"expression",
"used",
"to",
"specify",
"the",
"schedule",
"(",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"glue",
"/",
"latest",
... | [
"set",
"schedule",
"expression",
"(",
"schedule",
"expression",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"state",
"of",
"the",
"schedule",
"<",
"/",
"p",
">"
] | [
"set",
"state",
"(",
"state",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"state",
"of",
"the",
"schedule",
"<",
"/",
"p",
">"
] | [
"this",
"state",
"=",
"state",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"run",
"the",
"given",
"{"
] | [
"try",
"(",
"rule",
"key",
"cache",
"scope",
"<",
"v",
">",
"scope",
"=",
"with",
"recycled",
"cache",
"(",
"buck",
"event",
"bus",
",",
"current",
"settings",
")",
")",
"{",
"func",
"accept",
"(",
"scope",
"get",
"cache",
"(",
")",
")",
";",
"}"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"intent",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"description",
"of",
"the",
"intent",
"<",
"/",
"p",
">"
] | [
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"array",
"of",
"intent",
"slots",
"configured",
"for",
"the",
"intent",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",... | [
"if",
"(",
"this",
"slots",
"=",
"=",
"null",
")",
"{",
"set",
"slots",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"slot",
">",
"(",
"slots",
"length",
")",
")",
";",
"}",
"for",
"(",
"slot",
"ele",
":",
"slots",
")",
"{",
"this",
"slots... |
[
"<",
"p",
">",
"an",
"array",
"of",
"intent",
"slots",
"configured",
"for",
"the",
"intent",
"<",
"/",
"p",
">"
] | [
"set",
"slots",
"(",
"slots",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"array",
"of",
"sample",
"utterances",
"configured",
"for",
"the",
"intent",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"exist... | [
"if",
"(",
"this",
"sample",
"utterances",
"=",
"=",
"null",
")",
"{",
"set",
"sample",
"utterances",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"sample",
"utterances",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"e... |
[
"<",
"p",
">",
"an",
"array",
"of",
"sample",
"utterances",
"configured",
"for",
"the",
"intent",
"<",
"/",
"p",
">"
] | [
"set",
"sample",
"utterances",
"(",
"sample",
"utterances",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"defined",
"in",
"the",
"bot",
"amazon",
"lex",
"uses",
"prompt",
"to",
"confirm",
"the",
"intent",
"before",
"fulfilling",
"the",
"user",
"s",
"request",
"for",
"more",
"information",
"see",
"<",
"a",
">",
"put",
"intent",
"<",
"/... | [
"set",
"confirmation",
"prompt",
"(",
"confirmation",
"prompt",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"the",
"user",
"answers",
"no",
"to",
"the",
"question",
"defined",
"in",
"<",
"code",
">",
"confirmation",
"prompt",
"<",
"/",
"code",
">",
"amazon",
"lex",
"responds",
"with",
"this",
"statement",
"to",
"acknowledge",
"that",
"the"... | [
"set",
"rejection",
"statement",
"(",
"rejection",
"statement",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"defined",
"in",
"the",
"bot",
"amazon",
"lex",
"uses",
"this",
"prompt",
"to",
"solicit",
"additional",
"user",
"activity",
"after",
"the",
"intent",
"is",
"fulfilled",
"for",
"more",
"information",
"see",
"<",
"a",
">",
"put",
"int... | [
"set",
"follow",
"up",
"prompt",
"(",
"follow",
"up",
"prompt",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"after",
"the",
"lambda",
"function",
"specified",
"in",
"the",
"<",
"code",
">",
"fulfillment",
"activity",
"<",
"/",
"code",
">",
"element",
"fulfills",
"the",
"intent",
"amazon",
"lex",
"conveys",
"this",
"statement",
"to",
"the",
"user",... | [
"set",
"conclusion",
"statement",
"(",
"conclusion",
"statement",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"defined",
"in",
"the",
"bot",
"amazon",
"amazon",
"lex",
"invokes",
"this",
"lambda",
"function",
"for",
"each",
"user",
"input",
"for",
"more",
"information",
"see",
"<",
"a",
">",
"put",
"intent",
"<",
"/",
"a",
">",
"<",
"/",... | [
"set",
"dialog",
"code",
"hook",
"(",
"dialog",
"code",
"hook",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"describes",
"how",
"the",
"intent",
"is",
"fulfilled",
"for",
"more",
"information",
"see",
"<",
"a",
">",
"put",
"intent",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"set",
"fulfillment",
"activity",
"(",
"fulfillment",
"activity",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"unique",
"identifier",
"for",
"a",
"built",
"-",
"in",
"intent",
"<",
"/",
"p",
">"
] | [
"set",
"parent",
"intent",
"signature",
"(",
"parent",
"intent",
"signature",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"that",
"the",
"intent",
"was",
"updated",
"when",
"you",
"create",
"a",
"resource",
"the",
"creation",
"date",
"and",
"the",
"last",
"updated",
"date",
"are",
"the",
"same",
"<",
"/",
"p",
">"
] | [
"set",
"last",
"updated",
"date",
"(",
"last",
"updated",
"date",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"that",
"the",
"intent",
"was",
"created",
"<",
"/",
"p",
">"
] | [
"set",
"created",
"date",
"(",
"created",
"date",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"version",
"of",
"the",
"intent",
"<",
"/",
"p",
">"
] | [
"set",
"version",
"(",
"version",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"checksum",
"of",
"the",
"intent",
"<",
"/",
"p",
">"
] | [
"set",
"checksum",
"(",
"checksum",
")",
";",
"return",
"this",
";"
] |
[
"define",
"the",
"layer"
] | [
"public",
"abstract",
"s",
"d",
"variable",
"define",
"layer",
"(",
"same",
"diff",
"same",
"diff",
",",
"s",
"d",
"variable",
"layer",
"input",
",",
"map",
"<",
"string",
",",
"s",
"d",
"variable",
">",
"param",
"table",
")",
";"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"... | [
"org",
"deeplearning",
"4j",
"nn",
"layers",
"samediff",
"same",
"diff",
"layer",
"ret",
"=",
"new",
"org",
"deeplearning",
"4j",
"nn",
"layers",
"samediff",
"same",
"diff",
"layer",
"(",
"conf",
")",
";",
"ret",
"set",
"index",
"(",
"layer",
"index",
")... |
[
"weight",
"initialization",
"scheme",
"to",
"use",
"for",
"initial",
"weight",
"values"
] | [
"this",
"weight",
"init",
"=",
"weight",
"init",
";",
"return",
"(",
"t",
")",
"this",
";"
] |
[
"return",
"a",
"tint",
"drawable"
] | [
"if",
"(",
"force",
"tint",
")",
"{",
"drawable",
"clear",
"color",
"filter",
"(",
")",
";",
"drawable",
"set",
"color",
"filter",
"(",
"color",
",",
"porter",
"duff",
"mode",
"src",
"in",
")",
";",
"drawable",
"invalidate",
"self",
"(",
")",
";",
"r... |
[
"update",
"top",
"margin",
"with",
"animation"
] | [
"value",
"animator",
"animator",
"=",
"value",
"animator",
"of",
"float",
"(",
"from",
"margin",
",",
"to",
"margin",
")",
";",
"animator",
"set",
"duration",
"(",
"150",
")",
";",
"animator",
"add",
"update",
"listener",
"(",
"new",
"value",
"animator",
... |
[
"update",
"bottom",
"margin",
"with",
"animation"
] | [
"value",
"animator",
"animator",
"=",
"value",
"animator",
"of",
"float",
"(",
"from",
"margin",
",",
"to",
"margin",
")",
";",
"animator",
"set",
"duration",
"(",
"duration",
")",
";",
"animator",
"add",
"update",
"listener",
"(",
"new",
"value",
"animato... |
[
"update",
"left",
"margin",
"with",
"animation"
] | [
"value",
"animator",
"animator",
"=",
"value",
"animator",
"of",
"float",
"(",
"from",
"margin",
",",
"to",
"margin",
")",
";",
"animator",
"set",
"duration",
"(",
"150",
")",
";",
"animator",
"add",
"update",
"listener",
"(",
"new",
"value",
"animator",
... |
[
"update",
"text",
"size",
"with",
"animation"
] | [
"value",
"animator",
"animator",
"=",
"value",
"animator",
"of",
"float",
"(",
"from",
"size",
",",
"to",
"size",
")",
";",
"animator",
"set",
"duration",
"(",
"150",
")",
";",
"animator",
"add",
"update",
"listener",
"(",
"new",
"value",
"animator",
"an... |
[
"update",
"alpha"
] | [
"value",
"animator",
"animator",
"=",
"value",
"animator",
"of",
"float",
"(",
"from",
"value",
",",
"to",
"value",
")",
";",
"animator",
"set",
"duration",
"(",
"150",
")",
";",
"animator",
"add",
"update",
"listener",
"(",
"new",
"value",
"animator",
"... |
[
"update",
"text",
"color",
"with",
"animation"
] | [
"value",
"animator",
"color",
"animation",
"=",
"value",
"animator",
"of",
"object",
"(",
"new",
"argb",
"evaluator",
"(",
")",
",",
"from",
"color",
",",
"to",
"color",
")",
";",
"color",
"animation",
"set",
"duration",
"(",
"150",
")",
";",
"color",
... |
[
"update",
"text",
"color",
"with",
"animation"
] | [
"value",
"animator",
"color",
"animation",
"=",
"value",
"animator",
"of",
"object",
"(",
"new",
"argb",
"evaluator",
"(",
")",
",",
"from",
"color",
",",
"to",
"color",
")",
";",
"color",
"animation",
"set",
"duration",
"(",
"150",
")",
";",
"color",
... |
[
"update",
"image",
"view",
"color",
"with",
"animation"
] | [
"value",
"animator",
"color",
"animation",
"=",
"value",
"animator",
"of",
"object",
"(",
"new",
"argb",
"evaluator",
"(",
")",
",",
"from",
"color",
",",
"to",
"color",
")",
";",
"color",
"animation",
"set",
"duration",
"(",
"150",
")",
";",
"color",
... |
[
"update",
"width"
] | [
"value",
"animator",
"animator",
"=",
"value",
"animator",
"of",
"float",
"(",
"from",
"width",
",",
"to",
"width",
")",
";",
"animator",
"set",
"duration",
"(",
"150",
")",
";",
"animator",
"add",
"update",
"listener",
"(",
"new",
"value",
"animator",
"... |
[
"check",
"if",
"the",
"status",
"bar",
"is",
"translucent"
] | [
"window",
"w",
"=",
"unwrap",
"(",
"context",
")",
"get",
"window",
"(",
")",
";",
"window",
"manager",
"layout",
"params",
"lp",
"=",
"w",
"get",
"attributes",
"(",
")",
";",
"int",
"flags",
"=",
"lp",
"flags",
";",
"if",
"(",
"(",
"flags",
"&",
... |
[
"get",
"the",
"height",
"of",
"the",
"buttons",
"bar"
] | [
"if",
"(",
"build",
"version",
"sdk",
"int",
">",
"=",
"build",
"version",
"codes",
"jelly",
"bean",
"mr1",
")",
"{",
"display",
"metrics",
"metrics",
"=",
"new",
"display",
"metrics",
"(",
")",
";",
"window",
"window",
"=",
"unwrap",
"(",
"context",
"... |
[
"unwrap",
"wactivity"
] | [
"while",
"(",
"!",
"(",
"context",
"instanceof",
"activity",
")",
")",
"{",
"context",
"wrapper",
"wrapper",
"=",
"(",
"context",
"wrapper",
")",
"context",
";",
"context",
"=",
"wrapper",
"get",
"base",
"context",
"(",
")",
";",
"}",
"return",
"(",
"a... |
[
"create",
"a",
"list",
"of",
"orders",
"from",
"a",
"list",
"of",
"asks",
"or",
"bids"
] | [
"list",
"<",
"limit",
"order",
">",
"limit",
"orders",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"bitcoinde",
"order",
"order",
":",
"orders",
")",
"{",
"limit",
"orders",
"add",
"(",
"create",
"order",
"(",
"currency",
"pair"... |
[
"create",
"an",
"individual",
"order"
] | [
"return",
"new",
"limit",
"order",
"(",
"order",
"type",
",",
"bitcoinde",
"order",
"get",
"amount",
"(",
")",
",",
"currency",
"pair",
",",
"order",
"id",
",",
"time",
"stamp",
",",
"bitcoinde",
"order",
"get",
"price",
"(",
")",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.