docstring_tokens
sequence | code_tokens
sequence |
---|---|
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"return",
"tf",
"config",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"t",
"f",
"i",
"o",
"sensor",
"configuration",
"old",
"tf",
"config",
"=",
"tf",
"config",
";",
"tf",
"config",
"=",
"new",
"tf",
"config",
";",
"if",
"(",
"e",
"notification",
"required",
"(",
")",
")",
"{",
"e",
"notification",
"impl",
"notification",
"=",
"new",
"e",
"notification",
"impl",
"(",
"this",
",",
"notification",
"set",
",",
"model",
"package",
"digital",
"sensor",
"io4",
"tf",
"config",
",",
"old",
"tf",
"config",
",",
"new",
"tf",
"config",
")",
";",
"if",
"(",
"msgs",
"=",
"=",
"null",
")",
"msgs",
"=",
"notification",
";",
"else",
"msgs",
"add",
"(",
"notification",
")",
";",
"}",
"return",
"msgs",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"if",
"(",
"new",
"tf",
"config",
"!",
"=",
"tf",
"config",
")",
"{",
"notification",
"chain",
"msgs",
"=",
"null",
";",
"if",
"(",
"tf",
"config",
"!",
"=",
"null",
")",
"msgs",
"=",
"(",
"(",
"internal",
"e",
"object",
")",
"tf",
"config",
")",
"e",
"inverse",
"remove",
"(",
"this",
",",
"eopposite",
"feature",
"base",
"-",
"model",
"package",
"digital",
"sensor",
"io4",
"tf",
"config",
",",
"null",
",",
"msgs",
")",
";",
"if",
"(",
"new",
"tf",
"config",
"!",
"=",
"null",
")",
"msgs",
"=",
"(",
"(",
"internal",
"e",
"object",
")",
"new",
"tf",
"config",
")",
"e",
"inverse",
"add",
"(",
"this",
",",
"eopposite",
"feature",
"base",
"-",
"model",
"package",
"digital",
"sensor",
"io4",
"tf",
"config",
",",
"null",
",",
"msgs",
")",
";",
"msgs",
"=",
"basic",
"set",
"tf",
"config",
"(",
"new",
"tf",
"config",
",",
"msgs",
")",
";",
"if",
"(",
"msgs",
"!",
"=",
"null",
")",
"msgs",
"dispatch",
"(",
")",
";",
"}",
"else",
"if",
"(",
"e",
"notification",
"required",
"(",
")",
")",
"e",
"notify",
"(",
"new",
"e",
"notification",
"impl",
"(",
"this",
",",
"notification",
"set",
",",
"model",
"package",
"digital",
"sensor",
"io4",
"tf",
"config",
",",
"new",
"tf",
"config",
",",
"new",
"tf",
"config",
")",
")",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"return",
"device",
"type",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"return",
"pull",
"up",
"resistor",
"enabled",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"boolean",
"old",
"pull",
"up",
"resistor",
"enabled",
"=",
"pull",
"up",
"resistor",
"enabled",
";",
"pull",
"up",
"resistor",
"enabled",
"=",
"new",
"pull",
"up",
"resistor",
"enabled",
";",
"if",
"(",
"e",
"notification",
"required",
"(",
")",
")",
"e",
"notify",
"(",
"new",
"e",
"notification",
"impl",
"(",
"this",
",",
"notification",
"set",
",",
"model",
"package",
"digital",
"sensor",
"io4",
"pull",
"up",
"resistor",
"enabled",
",",
"old",
"pull",
"up",
"resistor",
"enabled",
",",
"pull",
"up",
"resistor",
"enabled",
")",
")",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"return",
"pin",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"int",
"old",
"pin",
"=",
"pin",
";",
"pin",
"=",
"new",
"pin",
";",
"if",
"(",
"e",
"notification",
"required",
"(",
")",
")",
"e",
"notify",
"(",
"new",
"e",
"notification",
"impl",
"(",
"this",
",",
"notification",
"set",
",",
"model",
"package",
"digital",
"sensor",
"io4",
"pin",
",",
"old",
"pin",
",",
"pin",
")",
")",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"high",
"low",
"value",
"value",
"=",
"high",
"low",
"value",
"undef",
";",
"try",
"{",
"value",
"=",
"extract",
"value",
"(",
"get",
"mbrick",
"(",
")",
"get",
"tinkerforge",
"device",
"(",
")",
"get",
"value",
"(",
")",
")",
";",
"set",
"sensor",
"value",
"(",
"value",
")",
";",
"}",
"catch",
"(",
"timeout",
"exception",
"e",
")",
"{",
"tinkerforge",
"error",
"handler",
"handle",
"error",
"(",
"this",
",",
"tinkerforge",
"error",
"handler",
"tf",
"timeout",
"exception",
",",
"e",
")",
";",
"}",
"catch",
"(",
"not",
"connected",
"exception",
"e",
")",
"{",
"tinkerforge",
"error",
"handler",
"handle",
"error",
"(",
"this",
",",
"tinkerforge",
"error",
"handler",
"tf",
"not",
"connection",
"exception",
",",
"e",
")",
";",
"}"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"set",
"enabled",
"a",
"(",
"new",
"atomic",
"boolean",
"(",
")",
")",
";",
"logger",
"=",
"logger",
"factory",
"get",
"logger",
"(",
"digital",
"sensor",
"i",
"o",
"4",
"impl",
"class",
")",
";",
"mask",
"=",
"0001",
"<",
"<",
"get",
"pin",
"(",
")",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"if",
"(",
"listener",
"!",
"=",
"null",
")",
"{",
"get",
"mbrick",
"(",
")",
"get",
"tinkerforge",
"device",
"(",
")",
"remove",
"interrupt",
"listener",
"(",
"listener",
")",
";",
"}"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"switch",
"(",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"mbrick",
":",
"if",
"(",
"e",
"internal",
"container",
"(",
")",
"!",
"=",
"null",
")",
"msgs",
"=",
"e",
"basic",
"remove",
"from",
"container",
"(",
"msgs",
")",
";",
"return",
"basic",
"set",
"mbrick",
"(",
"(",
"m",
"bricklet",
"i",
"o",
"4",
")",
"other",
"end",
",",
"msgs",
")",
";",
"}",
"return",
"super",
"e",
"inverse",
"add",
"(",
"other",
"end",
",",
"feature",
"i",
"d",
",",
"msgs",
")",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"switch",
"(",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"mbrick",
":",
"return",
"basic",
"set",
"mbrick",
"(",
"null",
",",
"msgs",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"tf",
"config",
":",
"return",
"basic",
"set",
"tf",
"config",
"(",
"null",
",",
"msgs",
")",
";",
"}",
"return",
"super",
"e",
"inverse",
"remove",
"(",
"other",
"end",
",",
"feature",
"i",
"d",
",",
"msgs",
")",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"switch",
"(",
"e",
"container",
"feature",
"i",
"d",
"(",
")",
")",
"{",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"mbrick",
":",
"return",
"e",
"internal",
"container",
"(",
")",
"e",
"inverse",
"remove",
"(",
"this",
",",
"model",
"package",
"msub",
"device",
"holder",
"msubdevices",
",",
"m",
"sub",
"device",
"holder",
"class",
",",
"msgs",
")",
";",
"}",
"return",
"super",
"e",
"basic",
"remove",
"from",
"container",
"feature",
"(",
"msgs",
")",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"switch",
"(",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"logger",
":",
"return",
"get",
"logger",
"(",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"uid",
":",
"return",
"get",
"uid",
"(",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"poll",
":",
"return",
"is",
"poll",
"(",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"enabled",
"a",
":",
"return",
"get",
"enabled",
"a",
"(",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"sub",
"id",
":",
"return",
"get",
"sub",
"id",
"(",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"mbrick",
":",
"if",
"(",
"resolve",
")",
"return",
"get",
"mbrick",
"(",
")",
";",
"return",
"basic",
"get",
"mbrick",
"(",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"generic",
"device",
"id",
":",
"return",
"get",
"generic",
"device",
"id",
"(",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"sensor",
"value",
":",
"return",
"get",
"sensor",
"value",
"(",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"tf",
"config",
":",
"return",
"get",
"tf",
"config",
"(",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"device",
"type",
":",
"return",
"get",
"device",
"type",
"(",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"pull",
"up",
"resistor",
"enabled",
":",
"return",
"is",
"pull",
"up",
"resistor",
"enabled",
"(",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"pin",
":",
"return",
"get",
"pin",
"(",
")",
";",
"}",
"return",
"super",
"e",
"get",
"(",
"feature",
"i",
"d",
",",
"resolve",
",",
"core",
"type",
")",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"switch",
"(",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"logger",
":",
"set",
"logger",
"(",
"(",
"logger",
")",
"new",
"value",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"uid",
":",
"set",
"uid",
"(",
"(",
"string",
")",
"new",
"value",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"poll",
":",
"set",
"poll",
"(",
"(",
"boolean",
")",
"new",
"value",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"enabled",
"a",
":",
"set",
"enabled",
"a",
"(",
"(",
"atomic",
"boolean",
")",
"new",
"value",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"sub",
"id",
":",
"set",
"sub",
"id",
"(",
"(",
"string",
")",
"new",
"value",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"mbrick",
":",
"set",
"mbrick",
"(",
"(",
"m",
"bricklet",
"i",
"o",
"4",
")",
"new",
"value",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"generic",
"device",
"id",
":",
"set",
"generic",
"device",
"id",
"(",
"(",
"string",
")",
"new",
"value",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"sensor",
"value",
":",
"set",
"sensor",
"value",
"(",
"(",
"high",
"low",
"value",
")",
"new",
"value",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"tf",
"config",
":",
"set",
"tf",
"config",
"(",
"(",
"t",
"f",
"i",
"o",
"sensor",
"configuration",
")",
"new",
"value",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"pull",
"up",
"resistor",
"enabled",
":",
"set",
"pull",
"up",
"resistor",
"enabled",
"(",
"(",
"boolean",
")",
"new",
"value",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"pin",
":",
"set",
"pin",
"(",
"(",
"integer",
")",
"new",
"value",
")",
";",
"return",
";",
"}",
"super",
"e",
"set",
"(",
"feature",
"i",
"d",
",",
"new",
"value",
")",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"switch",
"(",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"logger",
":",
"set",
"logger",
"(",
"logger",
"edefault",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"uid",
":",
"set",
"uid",
"(",
"uid",
"edefault",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"poll",
":",
"set",
"poll",
"(",
"poll",
"edefault",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"enabled",
"a",
":",
"set",
"enabled",
"a",
"(",
"enabled",
"a",
"edefault",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"sub",
"id",
":",
"set",
"sub",
"id",
"(",
"sub",
"id",
"edefault",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"mbrick",
":",
"set",
"mbrick",
"(",
"(",
"m",
"bricklet",
"i",
"o",
"4",
")",
"null",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"generic",
"device",
"id",
":",
"set",
"generic",
"device",
"id",
"(",
"generic",
"device",
"id",
"edefault",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"sensor",
"value",
":",
"set",
"sensor",
"value",
"(",
"(",
"high",
"low",
"value",
")",
"null",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"tf",
"config",
":",
"set",
"tf",
"config",
"(",
"(",
"t",
"f",
"i",
"o",
"sensor",
"configuration",
")",
"null",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"pull",
"up",
"resistor",
"enabled",
":",
"set",
"pull",
"up",
"resistor",
"enabled",
"(",
"pull",
"up",
"resistor",
"enabled",
"edefault",
")",
";",
"return",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"pin",
":",
"set",
"pin",
"(",
"pin",
"edefault",
")",
";",
"return",
";",
"}",
"super",
"e",
"unset",
"(",
"feature",
"i",
"d",
")",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"switch",
"(",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"logger",
":",
"return",
"logger",
"edefault",
"=",
"=",
"null",
"?",
"logger",
"!",
"=",
"null",
":",
"!",
"logger",
"edefault",
"equals",
"(",
"logger",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"uid",
":",
"return",
"uid",
"edefault",
"=",
"=",
"null",
"?",
"uid",
"!",
"=",
"null",
":",
"!",
"uid",
"edefault",
"equals",
"(",
"uid",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"poll",
":",
"return",
"poll",
"!",
"=",
"poll",
"edefault",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"enabled",
"a",
":",
"return",
"enabled",
"a",
"edefault",
"=",
"=",
"null",
"?",
"enabled",
"a",
"!",
"=",
"null",
":",
"!",
"enabled",
"a",
"edefault",
"equals",
"(",
"enabled",
"a",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"sub",
"id",
":",
"return",
"sub",
"id",
"edefault",
"=",
"=",
"null",
"?",
"sub",
"id",
"!",
"=",
"null",
":",
"!",
"sub",
"id",
"edefault",
"equals",
"(",
"sub",
"id",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"mbrick",
":",
"return",
"basic",
"get",
"mbrick",
"(",
")",
"!",
"=",
"null",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"generic",
"device",
"id",
":",
"return",
"generic",
"device",
"id",
"edefault",
"=",
"=",
"null",
"?",
"generic",
"device",
"id",
"!",
"=",
"null",
":",
"!",
"generic",
"device",
"id",
"edefault",
"equals",
"(",
"generic",
"device",
"id",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"sensor",
"value",
":",
"return",
"sensor",
"value",
"!",
"=",
"null",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"tf",
"config",
":",
"return",
"tf",
"config",
"!",
"=",
"null",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"device",
"type",
":",
"return",
"device",
"type",
"edefault",
"=",
"=",
"null",
"?",
"device",
"type",
"!",
"=",
"null",
":",
"!",
"device",
"type",
"edefault",
"equals",
"(",
"device",
"type",
")",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"pull",
"up",
"resistor",
"enabled",
":",
"return",
"pull",
"up",
"resistor",
"enabled",
"!",
"=",
"pull",
"up",
"resistor",
"enabled",
"edefault",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"pin",
":",
"return",
"pin",
"!",
"=",
"pin",
"edefault",
";",
"}",
"return",
"super",
"e",
"is",
"set",
"(",
"feature",
"i",
"d",
")",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"if",
"(",
"base",
"class",
"=",
"=",
"generic",
"device",
"class",
")",
"{",
"switch",
"(",
"derived",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"generic",
"device",
"id",
":",
"return",
"model",
"package",
"generic",
"device",
"generic",
"device",
"id",
";",
"default",
":",
"return",
"-",
"1",
";",
"}",
"}",
"if",
"(",
"base",
"class",
"=",
"=",
"m",
"sensor",
"class",
")",
"{",
"switch",
"(",
"derived",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"sensor",
"value",
":",
"return",
"model",
"package",
"msensor",
"sensor",
"value",
";",
"default",
":",
"return",
"-",
"1",
";",
"}",
"}",
"if",
"(",
"base",
"class",
"=",
"=",
"m",
"t",
"f",
"config",
"consumer",
"class",
")",
"{",
"switch",
"(",
"derived",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"tf",
"config",
":",
"return",
"model",
"package",
"mtf",
"config",
"consumer",
"tf",
"config",
";",
"default",
":",
"return",
"-",
"1",
";",
"}",
"}",
"return",
"super",
"e",
"base",
"structural",
"feature",
"i",
"d",
"(",
"derived",
"feature",
"i",
"d",
",",
"base",
"class",
")",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"if",
"(",
"base",
"class",
"=",
"=",
"generic",
"device",
"class",
")",
"{",
"switch",
"(",
"base",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"generic",
"device",
"generic",
"device",
"id",
":",
"return",
"model",
"package",
"digital",
"sensor",
"io4",
"generic",
"device",
"id",
";",
"default",
":",
"return",
"-",
"1",
";",
"}",
"}",
"if",
"(",
"base",
"class",
"=",
"=",
"m",
"sensor",
"class",
")",
"{",
"switch",
"(",
"base",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"msensor",
"sensor",
"value",
":",
"return",
"model",
"package",
"digital",
"sensor",
"io4",
"sensor",
"value",
";",
"default",
":",
"return",
"-",
"1",
";",
"}",
"}",
"if",
"(",
"base",
"class",
"=",
"=",
"m",
"t",
"f",
"config",
"consumer",
"class",
")",
"{",
"switch",
"(",
"base",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"mtf",
"config",
"consumer",
"tf",
"config",
":",
"return",
"model",
"package",
"digital",
"sensor",
"io4",
"tf",
"config",
";",
"default",
":",
"return",
"-",
"1",
";",
"}",
"}",
"return",
"super",
"e",
"derived",
"structural",
"feature",
"i",
"d",
"(",
"base",
"feature",
"i",
"d",
",",
"base",
"class",
")",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"if",
"(",
"base",
"class",
"=",
"=",
"generic",
"device",
"class",
")",
"{",
"switch",
"(",
"base",
"operation",
"i",
"d",
")",
"{",
"default",
":",
"return",
"-",
"1",
";",
"}",
"}",
"if",
"(",
"base",
"class",
"=",
"=",
"m",
"sensor",
"class",
")",
"{",
"switch",
"(",
"base",
"operation",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"msensor",
"fetch",
"sensor",
"value",
":",
"return",
"model",
"package",
"digital",
"sensor",
"io4",
"fetch",
"sensor",
"value",
";",
"default",
":",
"return",
"-",
"1",
";",
"}",
"}",
"if",
"(",
"base",
"class",
"=",
"=",
"m",
"t",
"f",
"config",
"consumer",
"class",
")",
"{",
"switch",
"(",
"base",
"operation",
"i",
"d",
")",
"{",
"default",
":",
"return",
"-",
"1",
";",
"}",
"}",
"return",
"super",
"e",
"derived",
"operation",
"i",
"d",
"(",
"base",
"operation",
"i",
"d",
",",
"base",
"class",
")",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"switch",
"(",
"operation",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"fetch",
"sensor",
"value",
":",
"fetch",
"sensor",
"value",
"(",
")",
";",
"return",
"null",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"init",
":",
"init",
"(",
")",
";",
"return",
"null",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"enable",
":",
"enable",
"(",
")",
";",
"return",
"null",
";",
"case",
"model",
"package",
"digital",
"sensor",
"io4",
"disable",
":",
"disable",
"(",
")",
";",
"return",
"null",
";",
"}",
"return",
"super",
"e",
"invoke",
"(",
"operation",
"i",
"d",
",",
"arguments",
")",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"kinesis",
"data",
"streams",
"stream",
"to",
"which",
"the",
"amazon",
"rekognition",
"stream",
"processor",
"streams",
"the",
"analysis",
"results",
"<",
"/",
"p",
">"
] | [
"this",
"kinesis",
"data",
"stream",
"=",
"kinesis",
"data",
"stream",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"kinesis",
"data",
"streams",
"stream",
"to",
"which",
"the",
"amazon",
"rekognition",
"stream",
"processor",
"streams",
"the",
"analysis",
"results",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"kinesis",
"data",
"stream",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"kinesis",
"data",
"streams",
"stream",
"to",
"which",
"the",
"amazon",
"rekognition",
"stream",
"processor",
"streams",
"the",
"analysis",
"results",
"<",
"/",
"p",
">"
] | [
"set",
"kinesis",
"data",
"stream",
"(",
"kinesis",
"data",
"stream",
")",
";",
"return",
"this",
";"
] |
[
"gets",
"the",
"file",
"names",
"to",
"rename"
] | [
"path",
"src",
"=",
"get",
"finder",
"(",
")",
"get",
"file",
"(",
")",
";",
"path",
"target",
"=",
"get",
"finder",
"(",
")",
"get",
"file",
"(",
")",
";",
"return",
"new",
"src",
"target",
"(",
"src",
",",
"target",
")",
";"
] |
[
"set",
"a",
"new",
"i",
"data",
"partitioner",
"it",
"will",
"cover",
"the",
"current",
"one",
"or",
"default",
"one",
"(",
"default",
"is",
"{",
"@",
"link",
"simple",
"rolling",
"partitioner",
"}"
] | [
"this",
"channels",
"set",
"partitioner",
"(",
"data",
"partitioner",
")",
";",
"return",
"this",
";"
] |
[
"override",
"the",
"strategy",
"at",
"runtime",
"notice",
"{",
"@",
"link",
"channels",
"}",
"will",
"override",
"several",
"channels",
"one",
"by",
"one"
] | [
"this",
"channels",
"set",
"strategy",
"(",
"strategy",
")",
";",
"return",
"this",
";"
] |
[
"produce",
"data",
"to",
"buffer",
"using",
"the",
"givven",
"{",
"@",
"link",
"buffer",
"strategy",
"}"
] | [
"if",
"(",
"consumer",
"pool",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"!",
"consumer",
"pool",
"is",
"running",
"(",
")",
")",
"{",
"return",
"false",
";",
"}",
"}",
"return",
"this",
"channels",
"save",
"(",
"data",
")",
";"
] |
[
"set",
"consumers",
"to",
"this",
"carrier",
"consumer",
"begin",
"to",
"run",
"when",
"{",
"@",
"link",
"data",
"carrier",
"#",
"produce",
"}",
"begin",
"to",
"work"
] | [
"if",
"(",
"consumer",
"pool",
"!",
"=",
"null",
")",
"{",
"consumer",
"pool",
"close",
"(",
")",
";",
"}",
"consumer",
"pool",
"=",
"new",
"consumer",
"pool",
"<",
"t",
">",
"(",
"this",
"channels",
",",
"consumer",
"class",
",",
"num",
",",
"consume",
"cycle",
")",
";",
"consumer",
"pool",
"begin",
"(",
")",
";",
"return",
"this",
";"
] |
[
"set",
"consumers",
"to",
"this",
"carrier",
"consumer",
"begin",
"to",
"run",
"when",
"{",
"@",
"link",
"data",
"carrier",
"#",
"produce",
"}",
"begin",
"to",
"work",
"with",
"20",
"millis",
"consume",
"cycle"
] | [
"return",
"this",
"consume",
"(",
"consumer",
"class",
",",
"num",
",",
"20",
")",
";"
] |
[
"set",
"consumers",
"to",
"this",
"carrier",
"consumer",
"begin",
"to",
"run",
"when",
"{",
"@",
"link",
"data",
"carrier",
"#",
"produce",
"}",
"begin",
"to",
"work"
] | [
"if",
"(",
"consumer",
"pool",
"!",
"=",
"null",
")",
"{",
"consumer",
"pool",
"close",
"(",
")",
";",
"}",
"consumer",
"pool",
"=",
"new",
"consumer",
"pool",
"<",
"t",
">",
"(",
"this",
"channels",
",",
"consumer",
",",
"num",
",",
"consume",
"cycle",
")",
";",
"consumer",
"pool",
"begin",
"(",
")",
";",
"return",
"this",
";"
] |
[
"set",
"consumers",
"to",
"this",
"carrier",
"consumer",
"begin",
"to",
"run",
"when",
"{",
"@",
"link",
"data",
"carrier",
"#",
"produce",
"}",
"begin",
"to",
"work",
"with",
"20",
"millis",
"consume",
"cycle"
] | [
"return",
"this",
"consume",
"(",
"consumer",
",",
"num",
",",
"20",
")",
";"
] |
[
"shutdown",
"all",
"consumer",
"threads",
"if",
"consumer",
"threads",
"are",
"running",
"notice",
"{"
] | [
"if",
"(",
"consumer",
"pool",
"!",
"=",
"null",
")",
"{",
"consumer",
"pool",
"close",
"(",
")",
";",
"}"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
] | [
"return",
"this",
"m",
"default",
"entity",
"loader",
";"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
] | [] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
] | [
"this",
"m",
"entity",
"loaders",
"put",
"(",
"p",
"entity",
"name",
",",
"p",
"entity",
"loader",
")",
";"
] |
[
"#",
"round",
"intermediate",
"java",
"lang",
"math",
"get",
"exponent",
"com",
"google",
"common",
"math",
"double",
"utils"
] | [
"x",
"=",
"round",
"intermediate",
"(",
"x",
",",
"mode",
")",
";",
"if",
"(",
"min",
"long",
"as",
"double",
"-",
"x",
"<",
"1",
"0",
"&",
"x",
"<",
"max",
"long",
"as",
"double",
"plus",
"one",
")",
"{",
"return",
"big",
"integer",
"value",
"of",
"(",
"(",
"long",
")",
"x",
")",
";",
"}",
"int",
"exponent",
"=",
"get",
"exponent",
"(",
"x",
")",
";",
"long",
"significand",
"=",
"get",
"significand",
"(",
"x",
")",
";",
"big",
"integer",
"result",
"=",
"big",
"integer",
"value",
"of",
"(",
"significand",
")",
"shift",
"left",
"(",
"exponent",
"-",
"significand",
"bits",
")",
";",
"return",
"(",
"x",
"<",
"0",
")",
"?",
"result",
"negate",
"(",
")",
":",
"result",
";"
] |
[
"compares",
"{",
"@",
"code",
"a",
"}",
"and",
"{",
"@",
"code",
"b",
"}",
"fuzzily",
"with",
"a",
"tolerance",
"for",
"nearly",
"-",
"equal",
"values"
] | [
"if",
"(",
"fuzzy",
"equals",
"(",
"a",
",",
"b",
",",
"tolerance",
")",
")",
"{",
"return",
"0",
";",
"}",
"else",
"if",
"(",
"a",
"<",
"b",
")",
"{",
"return",
"-",
"1",
";",
"}",
"else",
"if",
"(",
"a",
">",
"b",
")",
"{",
"return",
"1",
";",
"}",
"else",
"{",
"return",
"booleans",
"compare",
"(",
"double",
"is",
"na",
"n",
"(",
"a",
")",
",",
"double",
"is",
"na",
"n",
"(",
"b",
")",
")",
";",
"}"
] |
[
"convert",
"#",
"include",
"ge",
"h"
] | [
"fe",
"0",
"fe",
"0",
"(",
"h",
"x",
")",
";",
"fe",
"1",
"fe",
"1",
"(",
"h",
"y",
")",
";",
"fe",
"1",
"fe",
"1",
"(",
"h",
"z",
")",
";"
] |
[
"implement",
"of",
"{"
] | [
"return",
"this",
";"
] |
[
"dump",
"all",
"files",
"managed",
"by",
"this",
"rotator",
"for",
"debugging",
"purposes"
] | [
"final",
"zip",
"output",
"stream",
"zos",
"=",
"new",
"zip",
"output",
"stream",
"(",
"os",
")",
";",
"try",
"{",
"final",
"file",
"info",
"info",
"=",
"new",
"file",
"info",
"(",
"m",
"prefix",
")",
";",
"for",
"(",
"string",
"name",
":",
"m",
"base",
"path",
"list",
"(",
")",
")",
"{",
"if",
"(",
"info",
"parse",
"(",
"name",
")",
")",
"{",
"final",
"zip",
"entry",
"entry",
"=",
"new",
"zip",
"entry",
"(",
"name",
")",
";",
"zos",
"put",
"next",
"entry",
"(",
"entry",
")",
";",
"final",
"file",
"file",
"=",
"new",
"file",
"(",
"m",
"base",
"path",
",",
"name",
")",
";",
"final",
"file",
"input",
"stream",
"is",
"=",
"new",
"file",
"input",
"stream",
"(",
"file",
")",
";",
"try",
"{",
"file",
"utils",
"copy",
"(",
"is",
",",
"zos",
")",
";",
"}",
"finally",
"{",
"io",
"utils",
"close",
"quietly",
"(",
"is",
")",
";",
"}",
"zos",
"close",
"entry",
"(",
")",
";",
"}",
"}",
"}",
"finally",
"{",
"io",
"utils",
"close",
"quietly",
"(",
"zos",
")",
";",
"}"
] |
[
"process",
"currently",
"active",
"file",
"first",
"reading",
"any",
"existing",
"data",
"then",
"writing",
"modified",
"data",
"maintains",
"a",
"backup",
"during",
"write",
"which",
"is",
"restored",
"if",
"the",
"write",
"fails"
] | [
"final",
"string",
"active",
"name",
"=",
"get",
"active",
"name",
"(",
"current",
"time",
"millis",
")",
";",
"rewrite",
"single",
"(",
"rewriter",
",",
"active",
"name",
")",
";"
] |
[
"build",
"current",
"state",
"into",
"filename"
] | [
"final",
"string",
"builder",
"name",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"name",
"append",
"(",
"prefix",
")",
"append",
"(",
"'",
"'",
")",
"append",
"(",
"start",
"millis",
")",
"append",
"(",
"'",
"-",
"'",
")",
";",
"if",
"(",
"end",
"millis",
"!",
"=",
"long",
"max",
"value",
")",
"{",
"name",
"append",
"(",
"end",
"millis",
")",
";",
"}",
"return",
"name",
"to",
"string",
"(",
")",
";"
] |
[
"test",
"if",
"current",
"file",
"is",
"active",
"(",
"no",
"end",
"timestamp",
")"
] | [
"return",
"end",
"millis",
"=",
"=",
"long",
"max",
"value",
";"
] |
[
"stop",
"requiring",
"tracking",
"the",
"magnification",
"region",
"we",
"may",
"remain",
"registered",
"while",
"we",
"reset",
"magnification"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"if",
"(",
"!",
"is",
"magnifying",
"(",
")",
")",
"{",
"unregister",
"internal",
"locked",
"(",
")",
";",
"}",
"else",
"{",
"m",
"unregister",
"pending",
"=",
"true",
";",
"reset",
"locked",
"(",
"true",
")",
";",
"}",
"}"
] |
[
"check",
"if",
"we",
"are",
"registered",
"note",
"that",
"we",
"may",
"be",
"planning",
"to",
"unregister",
"at",
"any",
"moment"
] | [
"return",
"m",
"registered",
";"
] |
[
"returns",
"whether",
"the",
"magnification",
"region",
"contains",
"the",
"specified",
"screen",
"-",
"relative",
"coordinates"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"return",
"m",
"magnification",
"region",
"contains",
"(",
"(",
"int",
")",
"x",
",",
"(",
"int",
")",
"y",
")",
";",
"}"
] |
[
"populates",
"the",
"specified",
"rect",
"with",
"the",
"screen",
"-",
"relative",
"bounds",
"of",
"the",
"magnification",
"region",
"if",
"magnification",
"is",
"not",
"enabled",
"the",
"returned",
"bounds",
"will",
"be",
"empty"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"out",
"bounds",
"set",
"(",
"m",
"magnification",
"bounds",
")",
";",
"}"
] |
[
"populates",
"the",
"specified",
"region",
"with",
"the",
"screen",
"-",
"relative",
"magnification",
"region",
"if",
"magnification",
"is",
"not",
"enabled",
"then",
"the",
"returned",
"region",
"will",
"be",
"empty"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"out",
"region",
"set",
"(",
"m",
"magnification",
"region",
")",
";",
"}"
] |
[
"returns",
"the",
"magnification",
"scale",
"if",
"an",
"animation",
"is",
"in",
"progress",
"this",
"reflects",
"the",
"end",
"state",
"of",
"the",
"animation"
] | [
"return",
"m",
"current",
"magnification",
"spec",
"scale",
";"
] |
[
"returns",
"the",
"x",
"offset",
"of",
"the",
"magnification",
"viewport",
"if",
"an",
"animation",
"is",
"in",
"progress",
"this",
"reflects",
"the",
"end",
"state",
"of",
"the",
"animation"
] | [
"return",
"m",
"current",
"magnification",
"spec",
"offset",
"x",
";"
] |
[
"returns",
"the",
"screen",
"-",
"relative",
"x",
"coordinate",
"of",
"the",
"center",
"of",
"the",
"magnification",
"viewport"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"return",
"(",
"m",
"magnification",
"bounds",
"width",
"(",
")",
"/",
"2",
"0f",
"+",
"m",
"magnification",
"bounds",
"left",
"-",
"get",
"offset",
"x",
"(",
")",
")",
"/",
"get",
"scale",
"(",
")",
";",
"}"
] |
[
"returns",
"the",
"y",
"offset",
"of",
"the",
"magnification",
"viewport",
"if",
"an",
"animation",
"is",
"in",
"progress",
"this",
"reflects",
"the",
"end",
"state",
"of",
"the",
"animation"
] | [
"return",
"m",
"current",
"magnification",
"spec",
"offset",
"y",
";"
] |
[
"returns",
"the",
"screen",
"-",
"relative",
"y",
"coordinate",
"of",
"the",
"center",
"of",
"the",
"magnification",
"viewport"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"return",
"(",
"m",
"magnification",
"bounds",
"height",
"(",
")",
"/",
"2",
"0f",
"+",
"m",
"magnification",
"bounds",
"top",
"-",
"get",
"offset",
"y",
"(",
")",
")",
"/",
"get",
"scale",
"(",
")",
";",
"}"
] |
[
"returns",
"the",
"scale",
"currently",
"used",
"by",
"the",
"window",
"manager",
"if",
"an",
"animation",
"is",
"in",
"progress",
"this",
"reflects",
"the",
"current",
"state",
"of",
"the",
"animation"
] | [
"return",
"m",
"spec",
"animation",
"bridge",
"m",
"sent",
"magnification",
"spec",
"scale",
";"
] |
[
"returns",
"the",
"x",
"offset",
"currently",
"used",
"by",
"the",
"window",
"manager",
"if",
"an",
"animation",
"is",
"in",
"progress",
"this",
"reflects",
"the",
"current",
"state",
"of",
"the",
"animation"
] | [
"return",
"m",
"spec",
"animation",
"bridge",
"m",
"sent",
"magnification",
"spec",
"offset",
"x",
";"
] |
[
"returns",
"the",
"y",
"offset",
"currently",
"used",
"by",
"the",
"window",
"manager",
"if",
"an",
"animation",
"is",
"in",
"progress",
"this",
"reflects",
"the",
"current",
"state",
"of",
"the",
"animation"
] | [
"return",
"m",
"spec",
"animation",
"bridge",
"m",
"sent",
"magnification",
"spec",
"offset",
"y",
";"
] |
[
"resets",
"the",
"magnification",
"scale",
"and",
"center",
"optionally",
"animating",
"the",
"transition"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"return",
"reset",
"locked",
"(",
"animate",
")",
";",
"}"
] |
[
"sets",
"the",
"center",
"of",
"the",
"magnified",
"region",
"optionally",
"animating",
"the",
"transition",
"if",
"animation",
"is",
"disabled",
"the",
"transition",
"is",
"immediate"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"if",
"(",
"!",
"m",
"registered",
")",
"{",
"return",
"false",
";",
"}",
"return",
"set",
"scale",
"and",
"center",
"locked",
"(",
"float",
"na",
"n",
",",
"center",
"x",
",",
"center",
"y",
",",
"animate",
",",
"id",
")",
";",
"}"
] |
[
"sets",
"the",
"scale",
"and",
"center",
"of",
"the",
"magnified",
"region",
"optionally",
"animating",
"the",
"transition",
"if",
"animation",
"is",
"disabled",
"the",
"transition",
"is",
"immediate"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"if",
"(",
"!",
"m",
"registered",
")",
"{",
"return",
"false",
";",
"}",
"return",
"set",
"scale",
"and",
"center",
"locked",
"(",
"scale",
",",
"center",
"x",
",",
"center",
"y",
",",
"animate",
",",
"id",
")",
";",
"}"
] |
[
"offsets",
"the",
"magnified",
"region",
"note",
"that",
"the",
"offset",
"x",
"and",
"offset",
"y",
"values",
"actually",
"move",
"in",
"the",
"opposite",
"direction",
"as",
"the",
"offsets",
"passed",
"in",
"here"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"if",
"(",
"!",
"m",
"registered",
")",
"{",
"return",
";",
"}",
"final",
"float",
"non",
"norm",
"offset",
"x",
"=",
"m",
"current",
"magnification",
"spec",
"offset",
"x",
"-",
"offset",
"x",
";",
"final",
"float",
"non",
"norm",
"offset",
"y",
"=",
"m",
"current",
"magnification",
"spec",
"offset",
"y",
"-",
"offset",
"y",
";",
"if",
"(",
"update",
"current",
"spec",
"with",
"offsets",
"locked",
"(",
"non",
"norm",
"offset",
"x",
",",
"non",
"norm",
"offset",
"y",
")",
")",
"{",
"on",
"magnification",
"changed",
"locked",
"(",
")",
";",
"}",
"if",
"(",
"id",
"!",
"=",
"invalid",
"id",
")",
"{",
"m",
"id",
"of",
"last",
"service",
"to",
"magnify",
"=",
"id",
";",
"}",
"send",
"spec",
"to",
"animation",
"(",
"m",
"current",
"magnification",
"spec",
",",
"false",
")",
";",
"}"
] |
[
"get",
"the",
"id",
"of",
"the",
"last",
"service",
"that",
"changed",
"the",
"magnification",
"spec"
] | [
"return",
"m",
"id",
"of",
"last",
"service",
"to",
"magnify",
";"
] |
[
"persists",
"the",
"current",
"magnification",
"scale",
"to",
"the",
"current",
"user",
"s",
"settings"
] | [
"final",
"float",
"scale",
"=",
"m",
"current",
"magnification",
"spec",
"scale",
";",
"final",
"int",
"user",
"id",
"=",
"m",
"user",
"id",
";",
"new",
"async",
"task",
"<",
"void",
",",
"void",
",",
"void",
">",
"(",
")",
"{",
"@",
"override",
"protected",
"void",
"do",
"in",
"background",
"(",
"void",
"params",
")",
"{",
"m",
"settings",
"bridge",
"put",
"magnification",
"scale",
"(",
"scale",
",",
"user",
"id",
")",
";",
"return",
"null",
";",
"}",
"}",
"execute",
"(",
")",
";"
] |
[
"retrieves",
"a",
"previously",
"persisted",
"magnification",
"scale",
"from",
"the",
"current",
"user",
"s",
"settings"
] | [
"return",
"m",
"settings",
"bridge",
"get",
"magnification",
"scale",
"(",
"m",
"user",
"id",
")",
";"
] |
[
"sets",
"the",
"currently",
"active",
"user",
"id"
] | [
"if",
"(",
"m",
"user",
"id",
"!",
"=",
"user",
"id",
")",
"{",
"m",
"user",
"id",
"=",
"user",
"id",
";",
"synchronized",
"(",
"m",
"lock",
")",
"{",
"if",
"(",
"is",
"magnifying",
"(",
")",
")",
"{",
"reset",
"(",
"false",
")",
";",
"}",
"}",
"}"
] |
[
"resets",
"magnification",
"if",
"magnification",
"and",
"auto",
"-",
"update",
"are",
"both",
"enabled"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"if",
"(",
"is",
"magnifying",
"(",
")",
")",
"{",
"reset",
"(",
"animate",
")",
";",
"return",
"true",
";",
"}",
"return",
"false",
";",
"}"
] |
[
"enabled",
"means",
"the",
"bridge",
"will",
"accept",
"input",
"when",
"not",
"enabled",
"the",
"output",
"of",
"the",
"animator",
"will",
"be",
"ignored"
] | [
"synchronized",
"(",
"m",
"lock",
")",
"{",
"if",
"(",
"enabled",
"!",
"=",
"m",
"enabled",
")",
"{",
"m",
"enabled",
"=",
"enabled",
";",
"if",
"(",
"!",
"m",
"enabled",
")",
"{",
"m",
"sent",
"magnification",
"spec",
"clear",
"(",
")",
";",
"m",
"window",
"manager",
"set",
"magnification",
"spec",
"(",
"m",
"sent",
"magnification",
"spec",
")",
";",
"}",
"}",
"}"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
] | [
"return",
"this",
"m",
"trigger",
"hold",
"minimum",
"milliseconds",
";"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
] | [
"this",
"m",
"timer",
"handler",
"on",
"update",
"(",
"p",
"seconds",
"elapsed",
")",
";"
] |
[
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"=",
"="
] | [
"if",
"(",
"this",
"m",
"trigger",
"on",
"hold",
"finished",
")",
"{",
"this",
"m",
"hold",
"detector",
"listener",
"on",
"hold",
"finished",
"(",
"this",
",",
"system",
"clock",
"uptime",
"millis",
"(",
")",
"-",
"this",
"m",
"down",
"time",
"milliseconds",
",",
"this",
"m",
"hold",
"x",
",",
"this",
"m",
"hold",
"y",
")",
";",
"this",
"m",
"trigger",
"on",
"hold",
"finished",
"=",
"false",
";",
"this",
"m",
"trigger",
"on",
"hold",
"=",
"false",
";",
"}",
"else",
"if",
"(",
"this",
"m",
"trigger",
"on",
"hold",
")",
"{",
"this",
"m",
"hold",
"detector",
"listener",
"on",
"hold",
"(",
"this",
",",
"system",
"clock",
"uptime",
"millis",
"(",
")",
"-",
"this",
"m",
"down",
"time",
"milliseconds",
",",
"this",
"m",
"hold",
"x",
",",
"this",
"m",
"hold",
"y",
")",
";",
"}"
] |
[
"{"
] | [
"return",
"transaction",
"concurrency",
"optimistic",
";"
] |
[
"{"
] | [
"return",
"transaction",
"isolation",
"read",
"committed",
";"
] |
[
"possible",
"values",
":",
"<",
"ul",
">",
"<",
"li",
">",
"true",
"<",
"/",
"li",
">",
"<",
"li",
">",
"false",
"<",
"/",
"li",
">",
"<",
"li",
">",
"yes",
"<",
"/",
"li",
">",
"<",
"li",
">",
"no",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"this",
"member",
"=",
"member",
";",
"return",
"this",
";"
] |
[
"example",
"value",
":",
"my",
"-",
"org",
"-",
"1",
"foocorp"
] | [
"this",
"organizations",
"=",
"organizations",
";",
"return",
"this",
";"
] |
[
"example",
"value",
":",
"42"
] | [
"this",
"p",
"=",
"p",
";",
"return",
"this",
";"
] |
[
"example",
"value",
":",
"20"
] | [
"this",
"ps",
"=",
"ps",
";",
"return",
"this",
";"
] |
[
"we",
"don",
"t",
"want",
"to",
"update",
"ui",
"for",
"this",
"button"
] | [] |
[
"implementations",
"for",
"class",
"visitor"
] | [
"class",
"pool",
"remove",
"class",
"(",
"clazz",
")",
";"
] |
[
"sets",
"an",
"external",
"<",
"code",
">",
"delegation",
"token",
"secret",
"manager",
"<",
"/",
"code",
">",
"instance",
"to",
"manage",
"creation",
"and",
"verification",
"of",
"delegation",
"tokens",
"<",
"p",
"/",
">",
"this",
"is",
"useful",
"for",
"use",
"cases",
"where",
"secrets",
"must",
"be",
"shared",
"across",
"multiple",
"services"
] | [
"token",
"manager",
"set",
"external",
"delegation",
"token",
"secret",
"manager",
"(",
"secret",
"manager",
")",
";"
] |
[
"see",
"{"
] | [
"m",
"defer",
"depth",
"+",
"+",
";"
] |
[
"see",
"{"
] | [
"m",
"defer",
"depth",
"-",
"-",
";",
"if",
"(",
"m",
"defer",
"depth",
"<",
"=",
"0",
")",
"{",
"perform",
"surface",
"placement",
"(",
")",
";",
"}"
] |
[
"called",
"by",
"{",
"@",
"link",
"android",
"view",
"view",
"#",
"is",
"in",
"layout",
"(",
")",
"}",
"to",
"determine",
"whether",
"the",
"view",
"hierarchy",
"is",
"currently",
"undergoing",
"a",
"layout",
"pass"
] | [
"return",
"m",
"in",
"layout",
";"
] |
[
"there",
"are",
"cases",
"where",
"we",
"open",
"/",
"close",
"a",
"new",
"task",
"/",
"activity",
"but",
"in",
"reality",
"only",
"a",
"translucent",
"activity",
"on",
"top",
"of",
"existing",
"activities",
"is",
"opening",
"/",
"closing",
"for",
"that",
"one",
"we",
"have",
"a",
"different",
"animation",
"because",
"non",
"of",
"the",
"task",
"/",
"activity",
"animations",
"actually",
"work",
"well",
"with",
"translucent",
"apps"
] | [
"final",
"boolean",
"task",
"or",
"activity",
"=",
"app",
"transition",
"is",
"task",
"transit",
"(",
"transit",
")",
"|",
"|",
"app",
"transition",
"is",
"activity",
"transit",
"(",
"transit",
")",
";",
"boolean",
"all",
"opening",
"visible",
"=",
"true",
";",
"boolean",
"all",
"translucent",
"opening",
"apps",
"=",
"!",
"m",
"service",
"m",
"opening",
"apps",
"is",
"empty",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"m",
"service",
"m",
"opening",
"apps",
"size",
"(",
")",
"-",
"1",
";",
"i",
">",
"=",
"0",
";",
"i",
"-",
"-",
")",
"{",
"final",
"app",
"window",
"token",
"token",
"=",
"m",
"service",
"m",
"opening",
"apps",
"value",
"at",
"(",
"i",
")",
";",
"if",
"(",
"!",
"token",
"is",
"visible",
"(",
")",
")",
"{",
"all",
"opening",
"visible",
"=",
"false",
";",
"if",
"(",
"token",
"fills",
"parent",
"(",
")",
")",
"{",
"all",
"translucent",
"opening",
"apps",
"=",
"false",
";",
"}",
"}",
"}",
"boolean",
"all",
"translucent",
"closing",
"apps",
"=",
"!",
"m",
"service",
"m",
"closing",
"apps",
"is",
"empty",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"m",
"service",
"m",
"closing",
"apps",
"size",
"(",
")",
"-",
"1",
";",
"i",
">",
"=",
"0",
";",
"i",
"-",
"-",
")",
"{",
"if",
"(",
"m",
"service",
"m",
"closing",
"apps",
"value",
"at",
"(",
"i",
")",
"fills",
"parent",
"(",
")",
")",
"{",
"all",
"translucent",
"closing",
"apps",
"=",
"false",
";",
"break",
";",
"}",
"}",
"if",
"(",
"task",
"or",
"activity",
"&",
"&",
"all",
"translucent",
"closing",
"apps",
"&",
"&",
"all",
"opening",
"visible",
")",
"{",
"return",
"transit",
"translucent",
"activity",
"close",
";",
"}",
"if",
"(",
"task",
"or",
"activity",
"&",
"&",
"all",
"translucent",
"opening",
"apps",
"&",
"&",
"m",
"service",
"m",
"closing",
"apps",
"is",
"empty",
"(",
")",
")",
"{",
"return",
"transit",
"translucent",
"activity",
"open",
";",
"}",
"return",
"transit",
";"
] |
[
"finds",
"the",
"top",
"app",
"in",
"a",
"list",
"of",
"apps",
"using",
"its",
"{",
"@",
"link",
"app",
"window",
"token",
"#",
"get",
"prefix",
"order",
"index",
"}",
"to",
"compare",
"z",
"-",
"order"
] | [
"int",
"top",
"prefix",
"order",
"index",
"=",
"integer",
"min",
"value",
";",
"app",
"window",
"token",
"top",
"app",
"=",
"null",
";",
"for",
"(",
"int",
"i",
"=",
"apps",
"size",
"(",
")",
"-",
"1",
";",
"i",
">",
"=",
"0",
";",
"i",
"-",
"-",
")",
"{",
"final",
"app",
"window",
"token",
"app",
"=",
"apps",
"value",
"at",
"(",
"i",
")",
";",
"if",
"(",
"ignore",
"hidden",
"&",
"&",
"app",
"is",
"hidden",
"(",
")",
")",
"{",
"continue",
";",
"}",
"final",
"int",
"prefix",
"order",
"index",
"=",
"app",
"get",
"prefix",
"order",
"index",
"(",
")",
";",
"if",
"(",
"prefix",
"order",
"index",
">",
"top",
"prefix",
"order",
"index",
")",
"{",
"top",
"prefix",
"order",
"index",
"=",
"prefix",
"order",
"index",
";",
"top",
"app",
"=",
"app",
";",
"}",
"}",
"return",
"top",
"app",
";"
] |
[
"performs",
"an",
"h",
"base",
"{"
] | [
"list",
"<",
"h",
"base",
"row",
">",
"row",
"set",
"=",
"new",
"linked",
"list",
"<",
">",
"(",
")",
";",
"h",
"base",
"row",
"start",
"row",
"=",
"new",
"h",
"base",
"row",
"(",
"model",
"get",
"cells",
"(",
")",
")",
";",
"start",
"row",
"set",
"id",
"(",
"start",
")",
";",
"scan",
"scan",
";",
"if",
"(",
"start",
"!",
"=",
"null",
")",
"{",
"scan",
"=",
"new",
"scan",
"(",
"bytes",
"to",
"bytes",
"(",
"start",
")",
")",
";",
"}",
"else",
"{",
"scan",
"=",
"new",
"scan",
"(",
")",
";",
"}",
"if",
"(",
"object",
"helper",
"is",
"not",
"empty",
"(",
"stop",
")",
")",
"{",
"scan",
"set",
"stop",
"row",
"(",
"bytes",
"to",
"bytes",
"(",
"stop",
")",
")",
";",
"}",
"if",
"(",
"filters",
"!",
"=",
"null",
"&",
"&",
"!",
"filters",
"is",
"empty",
"(",
")",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"filters",
"size",
"(",
")",
";",
"i",
"+",
"+",
")",
"{",
"(",
"(",
"model",
"aware",
"filter",
"<",
"?",
">",
")",
"filters",
"get",
"(",
"i",
")",
")",
"apply",
"(",
"endpoint",
"get",
"camel",
"context",
"(",
")",
",",
"model",
")",
";",
"scan",
"set",
"filter",
"(",
"new",
"filter",
"list",
"(",
"filter",
"list",
"operator",
"must",
"pass",
"all",
",",
"(",
"(",
"model",
"aware",
"filter",
"<",
"?",
">",
")",
"filters",
"get",
"(",
"i",
")",
")",
"get",
"filtered",
"list",
"(",
")",
")",
")",
";",
"}",
"}",
"set",
"<",
"h",
"base",
"cell",
">",
"cell",
"models",
"=",
"model",
"get",
"cells",
"(",
")",
";",
"for",
"(",
"h",
"base",
"cell",
"cell",
"model",
":",
"cell",
"models",
")",
"{",
"string",
"family",
"=",
"cell",
"model",
"get",
"family",
"(",
")",
";",
"string",
"column",
"=",
"cell",
"model",
"get",
"qualifier",
"(",
")",
";",
"if",
"(",
"object",
"helper",
"is",
"not",
"empty",
"(",
"family",
")",
"&",
"&",
"object",
"helper",
"is",
"not",
"empty",
"(",
"column",
")",
")",
"{",
"scan",
"add",
"column",
"(",
"h",
"base",
"helper",
"get",
"h",
"base",
"field",
"as",
"bytes",
"(",
"family",
")",
",",
"h",
"base",
"helper",
"get",
"h",
"base",
"field",
"as",
"bytes",
"(",
"column",
")",
")",
";",
"}",
"}",
"result",
"scanner",
"result",
"scanner",
"=",
"table",
"get",
"scanner",
"(",
"scan",
")",
";",
"int",
"count",
"=",
"0",
";",
"result",
"result",
"=",
"result",
"scanner",
"next",
"(",
")",
";",
"while",
"(",
"result",
"!",
"=",
"null",
"&",
"&",
"count",
"<",
"max",
"row",
"scan",
")",
"{",
"h",
"base",
"row",
"result",
"row",
"=",
"new",
"h",
"base",
"row",
"(",
")",
";",
"result",
"row",
"set",
"id",
"(",
"endpoint",
"get",
"camel",
"context",
"(",
")",
"get",
"type",
"converter",
"(",
")",
"convert",
"to",
"(",
"model",
"get",
"row",
"type",
"(",
")",
",",
"result",
"get",
"row",
"(",
")",
")",
")",
";",
"result",
"row",
"set",
"timestamp",
"(",
"result",
"raw",
"cells",
"(",
")",
"[",
"0",
"]",
"get",
"timestamp",
"(",
")",
")",
";",
"cell",
"models",
"=",
"model",
"get",
"cells",
"(",
")",
";",
"for",
"(",
"h",
"base",
"cell",
"model",
"cell",
":",
"cell",
"models",
")",
"{",
"h",
"base",
"cell",
"result",
"cell",
"=",
"new",
"h",
"base",
"cell",
"(",
")",
";",
"string",
"family",
"=",
"model",
"cell",
"get",
"family",
"(",
")",
";",
"string",
"column",
"=",
"model",
"cell",
"get",
"qualifier",
"(",
")",
";",
"result",
"row",
"set",
"id",
"(",
"endpoint",
"get",
"camel",
"context",
"(",
")",
"get",
"type",
"converter",
"(",
")",
"convert",
"to",
"(",
"model",
"get",
"row",
"type",
"(",
")",
",",
"result",
"get",
"row",
"(",
")",
")",
")",
";",
"result",
"cell",
"set",
"value",
"(",
"endpoint",
"get",
"camel",
"context",
"(",
")",
"get",
"type",
"converter",
"(",
")",
"convert",
"to",
"(",
"model",
"cell",
"get",
"value",
"type",
"(",
")",
",",
"result",
"get",
"value",
"(",
"h",
"base",
"helper",
"get",
"h",
"base",
"field",
"as",
"bytes",
"(",
"family",
")",
",",
"h",
"base",
"helper",
"get",
"h",
"base",
"field",
"as",
"bytes",
"(",
"column",
")",
")",
")",
")",
";",
"result",
"cell",
"set",
"family",
"(",
"model",
"cell",
"get",
"family",
"(",
")",
")",
";",
"result",
"cell",
"set",
"qualifier",
"(",
"model",
"cell",
"get",
"qualifier",
"(",
")",
")",
";",
"cell",
"cell",
"=",
"result",
"get",
"column",
"latest",
"cell",
"(",
"h",
"base",
"helper",
"get",
"h",
"base",
"field",
"as",
"bytes",
"(",
"family",
")",
",",
"h",
"base",
"helper",
"get",
"h",
"base",
"field",
"as",
"bytes",
"(",
"column",
")",
")",
";",
"if",
"(",
"cell",
"!",
"=",
"null",
")",
"{",
"result",
"cell",
"set",
"timestamp",
"(",
"cell",
"get",
"timestamp",
"(",
")",
")",
";",
"}",
"result",
"row",
"get",
"cells",
"(",
")",
"add",
"(",
"result",
"cell",
")",
";",
"}",
"row",
"set",
"add",
"(",
"result",
"row",
")",
";",
"count",
"+",
"+",
";",
"result",
"=",
"result",
"scanner",
"next",
"(",
")",
";",
"}",
"return",
"row",
"set",
";"
] |
[
"this",
"methods",
"fill",
"possible",
"gaps",
"in",
"the",
"{"
] | [
"if",
"(",
"exchange",
"!",
"=",
"null",
"&",
"&",
"exchange",
"get",
"in",
"(",
")",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"endpoint",
"get",
"max",
"results",
"(",
")",
"!",
"=",
"0",
"&",
"&",
"exchange",
"get",
"in",
"(",
")",
"get",
"header",
"(",
"h",
"base",
"constants",
"hbase",
"max",
"scan",
"results",
")",
"=",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"h",
"base",
"constants",
"hbase",
"max",
"scan",
"results",
",",
"endpoint",
"get",
"max",
"results",
"(",
")",
")",
";",
"}",
"if",
"(",
"endpoint",
"get",
"mapping",
"strategy",
"name",
"(",
")",
"!",
"=",
"null",
"&",
"&",
"exchange",
"get",
"in",
"(",
")",
"get",
"header",
"(",
"cell",
"mapping",
"strategy",
"factory",
"strategy",
")",
"=",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"cell",
"mapping",
"strategy",
"factory",
"strategy",
",",
"endpoint",
"get",
"mapping",
"strategy",
"name",
"(",
")",
")",
";",
"}",
"if",
"(",
"endpoint",
"get",
"mapping",
"strategy",
"name",
"(",
")",
"!",
"=",
"null",
"&",
"&",
"exchange",
"get",
"in",
"(",
")",
"get",
"header",
"(",
"cell",
"mapping",
"strategy",
"factory",
"strategy",
"class",
"name",
")",
"=",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"cell",
"mapping",
"strategy",
"factory",
"strategy",
"class",
"name",
",",
"endpoint",
"get",
"mapping",
"strategy",
"class",
"name",
"(",
")",
")",
";",
"}",
"if",
"(",
"endpoint",
"get",
"operation",
"(",
")",
"!",
"=",
"null",
"&",
"&",
"exchange",
"get",
"in",
"(",
")",
"get",
"header",
"(",
"h",
"base",
"constants",
"operation",
")",
"=",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"h",
"base",
"constants",
"operation",
",",
"endpoint",
"get",
"operation",
"(",
")",
")",
";",
"}",
"else",
"if",
"(",
"endpoint",
"get",
"operation",
"(",
")",
"=",
"=",
"null",
"&",
"&",
"exchange",
"get",
"in",
"(",
")",
"get",
"header",
"(",
"h",
"base",
"constants",
"operation",
")",
"=",
"=",
"null",
")",
"{",
"exchange",
"get",
"in",
"(",
")",
"set",
"header",
"(",
"h",
"base",
"constants",
"operation",
",",
"h",
"base",
"constants",
"put",
")",
";",
"}",
"}"
] |
[
"sets",
"an",
"{",
"@",
"link",
"intent",
"}",
"to",
"be",
"used",
"for",
"{",
"@",
"link",
"context",
"#",
"start",
"activity",
"(",
"intent",
")",
"}",
"when",
"this",
"preference",
"is",
"clicked"
] | [
"m",
"intent",
"=",
"intent",
";"
] |
[
"authenticates",
"the",
"cli",
"invocation",
"see",
"class",
"javadoc",
"for",
"the",
"semantics"
] | [
"public",
"abstract",
"authentication",
"authenticate",
"(",
")",
"throws",
"authentication",
"exception",
",",
"i",
"o",
"exception",
",",
"interrupted",
"exception",
";"
] |
[
"process",
"this",
"request",
"asynchronously",
"generating",
"and",
"returning",
"a",
"request",
"id"
] | [
"return",
"process",
"async",
"(",
"generate",
"async",
"id",
"(",
")",
",",
"client",
")",
";"
] |
[
"send",
"this",
"request",
"to",
"a",
"solr",
"server",
"and",
"wait",
"(",
"up",
"to",
"a",
"timeout",
")",
"for",
"the",
"request",
"to",
"complete",
"or",
"fail"
] | [
"return",
"process",
"and",
"wait",
"(",
"generate",
"async",
"id",
"(",
")",
",",
"client",
",",
"timeout",
"seconds",
")",
";"
] |
[
"send",
"this",
"request",
"to",
"a",
"solr",
"server",
"and",
"wait",
"(",
"up",
"to",
"a",
"timeout",
")",
"for",
"the",
"request",
"to",
"complete",
"or",
"fail"
] | [
"process",
"async",
"(",
"async",
"id",
",",
"client",
")",
";",
"return",
"request",
"status",
"(",
"async",
"id",
")",
"wait",
"for",
"(",
"client",
",",
"timeout",
"seconds",
")",
";"
] |
[
"<",
"p",
">",
"the",
"function",
"s",
"execution",
"role",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"role",
";"
] |
[
"returns",
"a",
"solr",
"request",
"for",
"creating",
"a",
"collection"
] | [
"return",
"new",
"create",
"(",
"collection",
",",
"config",
",",
"num",
"shards",
",",
"num",
"nrt",
"replicas",
",",
"num",
"tlog",
"replicas",
",",
"num",
"pull",
"replicas",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"for",
"creating",
"a",
"collection"
] | [
"return",
"new",
"create",
"(",
"collection",
",",
"config",
",",
"num",
"shards",
",",
"num",
"replicas",
",",
"null",
",",
"null",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"for",
"creating",
"a",
"collection",
"using",
"a",
"default",
"config",
"set"
] | [
"return",
"new",
"create",
"(",
"collection",
",",
"null",
",",
"num",
"shards",
",",
"num",
"replicas",
",",
"0",
",",
"0",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"for",
"creating",
"a",
"collection",
"with",
"the",
"implicit",
"router"
] | [
"return",
"new",
"create",
"(",
"collection",
",",
"config",
",",
"shards",
",",
"num",
"replicas",
")",
";"
] |
[
"returns",
"a",
"solr",
"request",
"for",
"modifying",
"a",
"collection",
"with",
"the",
"given",
"properties"
] | [
"return",
"new",
"modify",
"(",
"collection",
",",
"properties",
")",
";"
] |
[
"setting",
"only",
"matters",
"on",
"core",
"creation"
] | [
"return",
"num",
"shards",
";"
] |
[
"returns",
"a",
"solr",
"request",
"to",
"reload",
"a",
"collection"
] | [
"return",
"new",
"reload",
"(",
"collection",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.