docstring_tokens
list | code_tokens
list |
---|---|
[
"whether",
"this",
"item",
"can",
"be",
"swiped",
"and",
"dismissed",
"the",
"default",
"implementation",
"disallows",
"it"
] |
[
"return",
"false",
";"
] |
[
"update",
"the",
"layout",
"params",
"for",
"the",
"view",
"holder"
] |
[] |
[
"returns",
"true",
"if",
"this",
"sms",
"application",
"data",
"is",
"complete",
"(",
"all",
"intents",
"handled",
")"
] |
[
"return",
"(",
"m",
"sms",
"receiver",
"class",
"!",
"=",
"null",
"&",
"&",
"m",
"mms",
"receiver",
"class",
"!",
"=",
"null",
"&",
"&",
"m",
"respond",
"via",
"message",
"class",
"!",
"=",
"null",
"&",
"&",
"m",
"send",
"to",
"class",
"!",
"=",
"null",
")",
";"
] |
[
"returns",
"the",
"list",
"of",
"available",
"sms",
"apps",
"defined",
"as",
"apps",
"that",
"are",
"registered",
"for",
"both",
"the",
"sms",
"received",
"action",
"(",
"sms",
")",
"and",
"wap",
"push",
"received",
"action",
"(",
"mms",
")",
"broadcasts",
"(",
"and",
"their",
"broadcast",
"receivers",
"are",
"enabled",
")"
] |
[
"int",
"user",
"id",
"=",
"get",
"incoming",
"user",
"id",
"(",
"context",
")",
";",
"final",
"long",
"token",
"=",
"binder",
"clear",
"calling",
"identity",
"(",
")",
";",
"try",
"{",
"return",
"get",
"application",
"collection",
"internal",
"(",
"context",
",",
"user",
"id",
")",
";",
"}",
"finally",
"{",
"binder",
"restore",
"calling",
"identity",
"(",
"token",
")",
";",
"}"
] |
[
"returns",
"sms",
"application",
"data",
"for",
"this",
"package",
"if",
"this",
"package",
"is",
"capable",
"of",
"being",
"set",
"as",
"the",
"default",
"sms",
"application"
] |
[
"collection",
"<",
"sms",
"application",
"data",
">",
"applications",
"=",
"get",
"application",
"collection",
"(",
"context",
")",
";",
"return",
"get",
"application",
"for",
"package",
"(",
"applications",
",",
"package",
"name",
")",
";"
] |
[
"gets",
"the",
"default",
"sms",
"application"
] |
[
"int",
"user",
"id",
"=",
"get",
"incoming",
"user",
"id",
"(",
"context",
")",
";",
"final",
"long",
"token",
"=",
"binder",
"clear",
"calling",
"identity",
"(",
")",
";",
"try",
"{",
"component",
"name",
"component",
"=",
"null",
";",
"sms",
"application",
"data",
"sms",
"application",
"data",
"=",
"get",
"application",
"(",
"context",
",",
"update",
"if",
"needed",
",",
"user",
"id",
")",
";",
"if",
"(",
"sms",
"application",
"data",
"!",
"=",
"null",
")",
"{",
"component",
"=",
"new",
"component",
"name",
"(",
"sms",
"application",
"data",
"m",
"package",
"name",
",",
"sms",
"application",
"data",
"m",
"sms",
"receiver",
"class",
")",
";",
"}",
"return",
"component",
";",
"}",
"finally",
"{",
"binder",
"restore",
"calling",
"identity",
"(",
"token",
")",
";",
"}"
] |
[
"gets",
"the",
"default",
"mms",
"application"
] |
[
"int",
"user",
"id",
"=",
"get",
"incoming",
"user",
"id",
"(",
"context",
")",
";",
"final",
"long",
"token",
"=",
"binder",
"clear",
"calling",
"identity",
"(",
")",
";",
"try",
"{",
"component",
"name",
"component",
"=",
"null",
";",
"sms",
"application",
"data",
"sms",
"application",
"data",
"=",
"get",
"application",
"(",
"context",
",",
"update",
"if",
"needed",
",",
"user",
"id",
")",
";",
"if",
"(",
"sms",
"application",
"data",
"!",
"=",
"null",
")",
"{",
"component",
"=",
"new",
"component",
"name",
"(",
"sms",
"application",
"data",
"m",
"package",
"name",
",",
"sms",
"application",
"data",
"m",
"mms",
"receiver",
"class",
")",
";",
"}",
"return",
"component",
";",
"}",
"finally",
"{",
"binder",
"restore",
"calling",
"identity",
"(",
"token",
")",
";",
"}"
] |
[
"gets",
"the",
"default",
"respond",
"via",
"message",
"application"
] |
[
"int",
"user",
"id",
"=",
"get",
"incoming",
"user",
"id",
"(",
"context",
")",
";",
"final",
"long",
"token",
"=",
"binder",
"clear",
"calling",
"identity",
"(",
")",
";",
"try",
"{",
"component",
"name",
"component",
"=",
"null",
";",
"sms",
"application",
"data",
"sms",
"application",
"data",
"=",
"get",
"application",
"(",
"context",
",",
"update",
"if",
"needed",
",",
"user",
"id",
")",
";",
"if",
"(",
"sms",
"application",
"data",
"!",
"=",
"null",
")",
"{",
"component",
"=",
"new",
"component",
"name",
"(",
"sms",
"application",
"data",
"m",
"package",
"name",
",",
"sms",
"application",
"data",
"m",
"respond",
"via",
"message",
"class",
")",
";",
"}",
"return",
"component",
";",
"}",
"finally",
"{",
"binder",
"restore",
"calling",
"identity",
"(",
"token",
")",
";",
"}"
] |
[
"gets",
"the",
"default",
"send",
"to",
"(",
"smsto",
")",
"application",
"<",
"p",
">",
"caller",
"must",
"pass",
"in",
"the",
"correct",
"user",
"context",
"if",
"calling",
"from",
"a",
"singleton",
"service"
] |
[
"int",
"user",
"id",
"=",
"get",
"incoming",
"user",
"id",
"(",
"context",
")",
";",
"final",
"long",
"token",
"=",
"binder",
"clear",
"calling",
"identity",
"(",
")",
";",
"try",
"{",
"component",
"name",
"component",
"=",
"null",
";",
"sms",
"application",
"data",
"sms",
"application",
"data",
"=",
"get",
"application",
"(",
"context",
",",
"update",
"if",
"needed",
",",
"user",
"id",
")",
";",
"if",
"(",
"sms",
"application",
"data",
"!",
"=",
"null",
")",
"{",
"component",
"=",
"new",
"component",
"name",
"(",
"sms",
"application",
"data",
"m",
"package",
"name",
",",
"sms",
"application",
"data",
"m",
"send",
"to",
"class",
")",
";",
"}",
"return",
"component",
";",
"}",
"finally",
"{",
"binder",
"restore",
"calling",
"identity",
"(",
"token",
")",
";",
"}"
] |
[
"gets",
"the",
"default",
"application",
"that",
"handles",
"external",
"changes",
"to",
"the",
"sms",
"provider",
"and",
"mms",
"provider"
] |
[
"int",
"user",
"id",
"=",
"get",
"incoming",
"user",
"id",
"(",
"context",
")",
";",
"final",
"long",
"token",
"=",
"binder",
"clear",
"calling",
"identity",
"(",
")",
";",
"try",
"{",
"component",
"name",
"component",
"=",
"null",
";",
"sms",
"application",
"data",
"sms",
"application",
"data",
"=",
"get",
"application",
"(",
"context",
",",
"update",
"if",
"needed",
",",
"user",
"id",
")",
";",
"if",
"(",
"sms",
"application",
"data",
"!",
"=",
"null",
"&",
"&",
"sms",
"application",
"data",
"m",
"provider",
"changed",
"receiver",
"class",
"!",
"=",
"null",
")",
"{",
"component",
"=",
"new",
"component",
"name",
"(",
"sms",
"application",
"data",
"m",
"package",
"name",
",",
"sms",
"application",
"data",
"m",
"provider",
"changed",
"receiver",
"class",
")",
";",
"}",
"return",
"component",
";",
"}",
"finally",
"{",
"binder",
"restore",
"calling",
"identity",
"(",
"token",
")",
";",
"}"
] |
[
"gets",
"the",
"default",
"application",
"that",
"handles",
"sim",
"full",
"event"
] |
[
"int",
"user",
"id",
"=",
"get",
"incoming",
"user",
"id",
"(",
"context",
")",
";",
"final",
"long",
"token",
"=",
"binder",
"clear",
"calling",
"identity",
"(",
")",
";",
"try",
"{",
"component",
"name",
"component",
"=",
"null",
";",
"sms",
"application",
"data",
"sms",
"application",
"data",
"=",
"get",
"application",
"(",
"context",
",",
"update",
"if",
"needed",
",",
"user",
"id",
")",
";",
"if",
"(",
"sms",
"application",
"data",
"!",
"=",
"null",
"&",
"&",
"sms",
"application",
"data",
"m",
"sim",
"full",
"receiver",
"class",
"!",
"=",
"null",
")",
"{",
"component",
"=",
"new",
"component",
"name",
"(",
"sms",
"application",
"data",
"m",
"package",
"name",
",",
"sms",
"application",
"data",
"m",
"sim",
"full",
"receiver",
"class",
")",
";",
"}",
"return",
"component",
";",
"}",
"finally",
"{",
"binder",
"restore",
"calling",
"identity",
"(",
"token",
")",
";",
"}"
] |
[
"returns",
"whether",
"need",
"to",
"write",
"the",
"sms",
"message",
"to",
"sms",
"database",
"for",
"this",
"package",
"<",
"p",
">",
"caller",
"must",
"pass",
"in",
"the",
"correct",
"user",
"context",
"if",
"calling",
"from",
"a",
"singleton",
"service"
] |
[
"if",
"(",
"sms",
"manager",
"get",
"default",
"(",
")",
"get",
"auto",
"persisting",
"(",
")",
")",
"{",
"return",
"true",
";",
"}",
"return",
"!",
"is",
"default",
"sms",
"application",
"(",
"context",
",",
"package",
"name",
")",
";"
] |
[
"check",
"if",
"a",
"package",
"is",
"default",
"sms",
"app",
"(",
"or",
"equivalent",
"like",
"bluetooth",
")"
] |
[
"if",
"(",
"package",
"name",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"final",
"string",
"default",
"sms",
"package",
"=",
"get",
"default",
"sms",
"application",
"package",
"name",
"(",
"context",
")",
";",
"if",
"(",
"(",
"default",
"sms",
"package",
"!",
"=",
"null",
"&",
"&",
"default",
"sms",
"package",
"equals",
"(",
"package",
"name",
")",
")",
"|",
"|",
"bluetooth",
"package",
"name",
"equals",
"(",
"package",
"name",
")",
")",
"{",
"return",
"true",
";",
"}",
"return",
"false",
";"
] |
[
"gets",
"the",
"rtp",
"packet"
] |
[
"return",
"packet",
";"
] |
[
"sets",
"the",
"rtp",
"payload",
"length"
] |
[
"packet",
"length",
"=",
"get",
"header",
"length",
"(",
")",
"+",
"len",
";"
] |
[
"sets",
"the",
"payload"
] |
[
"if",
"(",
"packet",
"length",
">",
"=",
"header",
"length",
")",
"{",
"int",
"header",
"len",
"=",
"get",
"header",
"length",
"(",
")",
";",
"system",
"arraycopy",
"(",
"payload",
",",
"0",
",",
"packet",
",",
"get",
"header",
"length",
"(",
")",
",",
"len",
")",
";",
"packet",
"length",
"=",
"header",
"len",
"+",
"len",
";",
"}"
] |
[
"gets",
"the",
"payload"
] |
[
"int",
"len",
"=",
"packet",
"length",
"-",
"get",
"header",
"length",
"(",
")",
";",
"byte",
"[",
"]",
"payload",
"=",
"new",
"byte",
"[",
"len",
"]",
";",
"system",
"arraycopy",
"(",
"packet",
",",
"get",
"header",
"length",
"(",
")",
",",
"payload",
",",
"0",
",",
"len",
")",
";",
"return",
"payload",
";"
] |
[
"gets",
"int",
"value"
] |
[
"return",
"(",
"(",
"int",
")",
"b",
"+",
"256",
")",
"%",
"256",
";"
] |
[
"gets",
"long",
"value"
] |
[
"return",
"(",
"(",
"int",
")",
"(",
"(",
"data",
"[",
"start",
"]",
"<",
"<",
"24",
")",
"&",
"0x",
"f",
"f",
"0",
"0",
"0",
"0",
"0",
"0",
")",
"+",
"(",
"(",
"int",
")",
"(",
"data",
"[",
"start",
"+",
"1",
"]",
"<",
"<",
"16",
")",
"&",
"0x",
"f",
"f",
"0",
"0",
"0",
"0",
")",
"+",
"(",
"(",
"int",
")",
"(",
"data",
"[",
"start",
"+",
"2",
"]",
"<",
"<",
"8",
")",
"&",
"0x",
"f",
"f",
"0",
"0",
")",
"+",
"(",
"(",
"int",
")",
"(",
"data",
"[",
"start",
"+",
"3",
"]",
"&",
"0x",
"f",
"f",
")",
")",
")",
";"
] |
[
"gets",
"int",
"value"
] |
[
"return",
"(",
"(",
"int",
")",
"(",
"data",
"[",
"start",
"]",
"<",
"<",
"8",
")",
"&",
"0x",
"f",
"f",
"0",
"0",
")",
"+",
"(",
"(",
"int",
")",
"(",
"data",
"[",
"start",
"+",
"1",
"]",
"&",
"0x",
"f",
"f",
")",
")",
";"
] |
[
"sets",
"int",
"value"
] |
[
"data",
"[",
"start",
"]",
"=",
"(",
"byte",
")",
"(",
"(",
"int",
")",
"n",
">",
">",
"8",
")",
";",
"data",
"[",
"start",
"+",
"1",
"]",
"=",
"(",
"byte",
")",
"(",
"(",
"int",
")",
"n",
"&",
"0x",
"f",
"f",
")",
";"
] |
[
"gets",
"bit",
"value"
] |
[
"return",
"(",
"b",
">",
">",
"bit",
")",
"=",
"=",
"1",
";"
] |
[
"sets",
"bit",
"value"
] |
[
"if",
"(",
"value",
")",
"b",
"=",
"(",
"byte",
")",
"(",
"b",
"|",
"(",
"1",
"<",
"<",
"bit",
")",
")",
";",
"else",
"b",
"=",
"(",
"byte",
")",
"(",
"(",
"b",
"|",
"(",
"1",
"<",
"<",
"bit",
")",
")",
"^",
"(",
"1",
"<",
"<",
"bit",
")",
")",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"cpu",
"cores",
"for",
"the",
"instance",
"<",
"/",
"p",
">"
] |
[
"set",
"core",
"count",
"(",
"core",
"count",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"number",
"of",
"threads",
"per",
"cpu",
"core",
"to",
"disable",
"intel",
"hyper",
"-",
"threading",
"technology",
"for",
"the",
"instance",
"specify",
"a",
"value",
"of",
"1",
"otherwise",
"specify",
"the",
"default",
"value",
"of",
"2",
"<",
"/",
"p",
">"
] |
[
"set",
"threads",
"per",
"core",
"(",
"threads",
"per",
"core",
")",
";",
"return",
"this",
";"
] |
[
"test",
"value",
"s",
"encoding",
"in",
"increasing",
"order",
"(",
"obtained",
"from",
"the",
"c",
"+",
"+",
"implementation",
")"
] |
[
"abstract",
"string",
"increasing",
"bytes",
"(",
")",
";"
] |
[
"test",
"value",
"s",
"encoding",
"in",
"dencreasing",
"order",
"(",
"obtained",
"from",
"the",
"c",
"+",
"+",
"implementation",
")"
] |
[
"abstract",
"string",
"decreasing",
"bytes",
"(",
")",
";"
] |
[
"helper",
"methods",
"to",
"implement",
"in",
"concrete",
"classes"
] |
[
"abstract",
"byte",
"[",
"]",
"encode",
"increasing",
"(",
")",
";"
] |
[
"convert",
"a",
"string",
"of",
"hex",
"digits",
"(",
"e",
"g",
"3fbf",
")",
"to",
"a",
"byte",
"[",
"]",
"(",
"e",
"g",
"{",
"(",
"byte",
")",
"0x",
"3f",
"(",
"byte",
")",
"0xbf",
"}",
")"
] |
[
"return",
"base",
"encoding",
"base",
"1",
"6",
"(",
")",
"lower",
"case",
"(",
")",
"decode",
"(",
"hex",
"digits",
")",
";"
] |
[
"convert",
"a",
"byte",
"[",
"]",
"(",
"e",
"g",
"{",
"(",
"byte",
")",
"0x",
"3f",
"(",
"byte",
")",
"0xbf",
"}",
")",
"to",
"a",
"string",
"of",
"hex",
"digits",
"(",
"e",
"g",
"3fbf",
")"
] |
[
"return",
"base",
"encoding",
"base",
"1",
"6",
"(",
")",
"lower",
"case",
"(",
")",
"encode",
"(",
"bytes",
")",
";"
] |
[
"assert",
"that",
"for",
"various",
"long",
"values",
"encoding",
"(",
"via",
"{"
] |
[
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"long",
"min",
"value",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"long",
"min",
"value",
"+",
"1",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"integer",
"min",
"value",
"-",
"1l",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"integer",
"min",
"value",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"integer",
"min",
"value",
"+",
"1",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"-",
"65",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"-",
"64",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"-",
"63",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"-",
"3",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"-",
"2",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"-",
"1",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"0",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"1",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"2",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"3",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"63",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"64",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"65",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"integer",
"max",
"value",
"-",
"1",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"integer",
"max",
"value",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"integer",
"max",
"value",
"+",
"1l",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"long",
"max",
"value",
"-",
"1",
")",
";",
"assert",
"signed",
"num",
"increasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"long",
"max",
"value",
")",
";"
] |
[
"assert",
"that",
"for",
"various",
"long",
"values",
"encoding",
"(",
"via",
"{"
] |
[
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"long",
"min",
"value",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"long",
"min",
"value",
"+",
"1",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"integer",
"min",
"value",
"-",
"1l",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"integer",
"min",
"value",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"integer",
"min",
"value",
"+",
"1",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"-",
"65",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"-",
"64",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"-",
"63",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"-",
"3",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"-",
"2",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"-",
"1",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"0",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"1",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"2",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"3",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"63",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"64",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"65",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"integer",
"max",
"value",
"-",
"1",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"integer",
"max",
"value",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"integer",
"max",
"value",
"+",
"1l",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"long",
"max",
"value",
"-",
"1",
")",
";",
"assert",
"signed",
"num",
"decreasing",
"write",
"and",
"read",
"is",
"lossless",
"(",
"long",
"max",
"value",
")",
";"
] |
[
"ordered",
"code",
"log",
"2",
"floor",
"(",
"long",
")",
"is",
"defined",
"to",
"return",
"-",
"1",
"given",
"an",
"input",
"of",
"zero"
] |
[
"ordered",
"code",
"ordered",
"code",
"=",
"new",
"ordered",
"code",
"(",
")",
";",
"assert",
"equals",
"(",
"-",
"1",
",",
"ordered",
"code",
"log",
"2",
"floor",
"(",
"0",
")",
")",
";"
] |
[
"static",
"builder",
"method"
] |
[
"return",
"new",
"jms",
"component",
"(",
")",
";"
] |
[
"static",
"builder",
"method"
] |
[
"return",
"new",
"jms",
"component",
"(",
"configuration",
")",
";"
] |
[
"static",
"builder",
"method"
] |
[
"return",
"jms",
"component",
"(",
"new",
"jms",
"configuration",
"(",
"connection",
"factory",
")",
")",
";"
] |
[
"static",
"builder",
"method"
] |
[
"jms",
"configuration",
"template",
"=",
"new",
"jms",
"configuration",
"(",
"connection",
"factory",
")",
";",
"template",
"set",
"acknowledgement",
"mode",
"(",
"session",
"client",
"acknowledge",
")",
";",
"return",
"jms",
"component",
"(",
"template",
")",
";"
] |
[
"static",
"builder",
"method"
] |
[
"jms",
"configuration",
"template",
"=",
"new",
"jms",
"configuration",
"(",
"connection",
"factory",
")",
";",
"template",
"set",
"acknowledgement",
"mode",
"(",
"session",
"auto",
"acknowledge",
")",
";",
"return",
"jms",
"component",
"(",
"template",
")",
";"
] |
[
"subclasses",
"can",
"override",
"to",
"prevent",
"the",
"jms",
"configuration",
"from",
"being",
"setup",
"to",
"use",
"an",
"auto",
"-",
"wired",
"the",
"connection",
"factory",
"that",
"s",
"found",
"in",
"the",
"spring",
"application",
"context"
] |
[
"return",
"true",
";"
] |
[
"subclasses",
"can",
"override",
"to",
"prevent",
"the",
"jms",
"configuration",
"from",
"being",
"setup",
"to",
"use",
"an",
"auto",
"-",
"wired",
"the",
"destination",
"resolved",
"that",
"s",
"found",
"in",
"the",
"spring",
"application",
"context"
] |
[
"return",
"true",
";"
] |
[
"to",
"use",
"a",
"custom",
"queue",
"browse",
"strategy",
"when",
"browsing",
"queues"
] |
[
"this",
"queue",
"browse",
"strategy",
"=",
"queue",
"browse",
"strategy",
";"
] |
[
"to",
"use",
"the",
"given",
"message",
"created",
"strategy",
"which",
"are",
"invoked",
"when",
"camel",
"creates",
"new",
"instances",
"of",
"<",
"tt",
">",
"javax",
"jms",
"message",
"<",
"/",
"tt",
">",
"objects",
"when",
"camel",
"is",
"sending",
"a",
"jms",
"message"
] |
[
"this",
"message",
"created",
"strategy",
"=",
"message",
"created",
"strategy",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] |
[
"return",
"get",
"configuration",
"(",
")",
"is",
"subscription",
"durable",
"(",
")",
";"
] |
[
"gets",
"whether",
"date",
"headers",
"should",
"be",
"formatted",
"according",
"to",
"the",
"iso",
"8601",
"standard"
] |
[
"return",
"get",
"configuration",
"(",
")",
"is",
"format",
"date",
"headers",
"to",
"iso",
"8",
"6",
"0",
"1",
"(",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] |
[
"if",
"(",
"get",
"header",
"filter",
"strategy",
"(",
")",
"=",
"=",
"null",
")",
"{",
"set",
"header",
"filter",
"strategy",
"(",
"new",
"jms",
"header",
"filter",
"strategy",
"(",
"get",
"configuration",
"(",
")",
"is",
"include",
"all",
"j",
"m",
"s",
"x",
"properties",
"(",
")",
")",
")",
";",
"}"
] |
[
"a",
"strategy",
"method",
"allowing",
"the",
"uri",
"destination",
"to",
"be",
"translated",
"into",
"the",
"actual",
"jms",
"destination",
"name",
"(",
"say",
"by",
"looking",
"up",
"in",
"jndi",
"or",
"something",
")"
] |
[
"return",
"path",
";"
] |
[
"factory",
"method",
"to",
"create",
"the",
"default",
"configuration",
"instance"
] |
[
"return",
"new",
"jms",
"configuration",
"(",
")",
";"
] |
[
"convenient",
"method",
"to",
"return",
"the",
"low",
"-",
"level",
"unprocessed",
"items"
] |
[
"return",
"result",
"get",
"unprocessed",
"items",
"(",
")",
";"
] |
[
"returns",
"a",
"non",
"-",
"null",
"low",
"-",
"level",
"result",
"returned",
"from",
"the",
"server",
"side"
] |
[
"return",
"result",
";"
] |
[
"added",
"in",
"4",
"0",
"0"
] |
[
"return",
"get",
"string",
"(",
"name",
",",
"null",
")",
"!",
"=",
"null",
";"
] |
[
"this",
"method",
"makes",
"sure",
"host",
"memory",
"contains",
"latest",
"data",
"from",
"gpu"
] |
[
"if",
"(",
"!",
"point",
"is",
"constant",
"(",
")",
"&",
"&",
"point",
"is",
"enqueued",
"(",
")",
")",
"{",
"wait",
"till",
"finished",
"(",
"point",
")",
";",
"}",
"super",
"synchronize",
"to",
"host",
"(",
"point",
")",
";"
] |
[
"creates",
"a",
"attribute",
"error",
"entry",
"that",
"will",
"be",
"added",
"to",
"a",
"{"
] |
[
"return",
"new",
"entry",
"(",
"attribute",
",",
"message",
"template",
",",
"arguments",
")",
";"
] |
[
"report",
"all",
"accumulated",
"errors",
"and",
"warnings",
"to",
"the",
"given",
"consumer",
"object"
] |
[
"preconditions",
"check",
"not",
"null",
"(",
"errors",
")",
";",
"for",
"(",
"entry",
"e",
":",
"entries",
")",
"{",
"e",
"report",
"to",
"(",
"errors",
")",
";",
"}"
] |
[
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"statements",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*"
] |
[
"final",
"immutable",
"map",
"builder",
"<",
"string",
",",
"expression",
">",
"properties",
"=",
"immutable",
"map",
"builder",
"(",
")",
";",
"if",
"(",
"table",
"properties",
"context",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"final",
"table",
"property",
"context",
"prop",
":",
"table",
"properties",
"context",
"table",
"property",
"(",
")",
")",
"{",
"properties",
"put",
"(",
"get",
"identifier",
"text",
"(",
"prop",
"identifier",
"(",
")",
")",
",",
"(",
"expression",
")",
"visit",
"(",
"prop",
"expression",
"(",
")",
")",
")",
";",
"}",
"}",
"return",
"properties",
"build",
"(",
")",
";"
] |
[
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"query",
"expressions",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*"
] |
[
"final",
"query",
"body",
"=",
"(",
"query",
")",
"visit",
"(",
"context",
"query",
"no",
"with",
"(",
")",
")",
";",
"return",
"new",
"query",
"(",
"get",
"location",
"(",
"context",
")",
",",
"body",
"get",
"query",
"body",
"(",
")",
",",
"body",
"get",
"limit",
"(",
")",
")",
";"
] |
[
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"boolean",
"expressions",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*"
] |
[
"return",
"new",
"not",
"expression",
"(",
"get",
"location",
"(",
"context",
")",
",",
"(",
"expression",
")",
"visit",
"(",
"context",
"boolean",
"expression",
"(",
")",
")",
")",
";"
] |
[
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"predicates",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*"
] |
[
"if",
"(",
"context",
"predicate",
"(",
")",
"!",
"=",
"null",
")",
"{",
"return",
"visit",
"(",
"context",
"predicate",
"(",
")",
")",
";",
"}",
"return",
"visit",
"(",
"context",
"value",
"expression",
")",
";"
] |
[
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"primary",
"expressions",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*"
] |
[
"return",
"visit",
"(",
"context",
"expression",
"(",
")",
")",
";"
] |
[
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"literals",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*"
] |
[
"return",
"new",
"null",
"literal",
"(",
"get",
"location",
"(",
"context",
")",
")",
";"
] |
[
"get",
"local",
"path",
"where",
"o",
"c",
"file",
"file",
"is",
"to",
"be",
"stored",
"after",
"upload",
"that",
"is",
"corresponding",
"local",
"path",
"(",
"in",
"local",
"owncloud",
"storage",
")",
"to",
"remote",
"uploaded",
"file"
] |
[
"return",
"get",
"save",
"path",
"(",
"account",
"name",
")",
"+",
"file",
"get",
"remote",
"path",
"(",
")",
";"
] |
[
"creates",
"and",
"populates",
"a",
"list",
"of",
"new",
"{",
"@",
"link",
"o",
"c",
"file",
"}",
"objects",
"with",
"the",
"data",
"read",
"from",
"the",
"server"
] |
[
"array",
"list",
"<",
"o",
"c",
"file",
">",
"files",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"remote",
"file",
"remote",
"file",
":",
"remote",
"files",
")",
"{",
"files",
"add",
"(",
"create",
"o",
"c",
"file",
"from",
"(",
"remote",
"file",
")",
")",
";",
"}",
"return",
"files",
";"
] |
[
"cast",
"list",
"of",
"objects",
"into",
"a",
"list",
"of",
"{",
"@",
"link",
"remote",
"file",
"}"
] |
[
"array",
"list",
"<",
"remote",
"file",
">",
"remote",
"files",
"=",
"new",
"array",
"list",
"<",
">",
"(",
"remote",
"objects",
"size",
"(",
")",
")",
";",
"for",
"(",
"object",
"object",
":",
"remote",
"objects",
")",
"{",
"remote",
"files",
"add",
"(",
"(",
"remote",
"file",
")",
"object",
")",
";",
"}",
"return",
"remote",
"files",
";"
] |
[
"creates",
"and",
"populates",
"a",
"new",
"{",
"@",
"link",
"remote",
"file",
"}",
"object",
"with",
"the",
"data",
"read",
"from",
"an",
"{",
"@",
"link",
"o",
"c",
"file",
"}"
] |
[
"remote",
"file",
"file",
"=",
"new",
"remote",
"file",
"(",
"oc",
"file",
"get",
"remote",
"path",
"(",
")",
")",
";",
"file",
"set",
"creation",
"timestamp",
"(",
"oc",
"file",
"get",
"creation",
"timestamp",
"(",
")",
")",
";",
"file",
"set",
"length",
"(",
"oc",
"file",
"get",
"file",
"length",
"(",
")",
")",
";",
"file",
"set",
"mime",
"type",
"(",
"oc",
"file",
"get",
"mimetype",
"(",
")",
")",
";",
"file",
"set",
"modified",
"timestamp",
"(",
"oc",
"file",
"get",
"modification",
"timestamp",
"(",
")",
")",
";",
"file",
"set",
"etag",
"(",
"oc",
"file",
"get",
"etag",
"(",
")",
")",
";",
"file",
"set",
"permissions",
"(",
"oc",
"file",
"get",
"permissions",
"(",
")",
")",
";",
"file",
"set",
"remote",
"id",
"(",
"oc",
"file",
"get",
"remote",
"id",
"(",
")",
")",
";",
"file",
"set",
"private",
"link",
"(",
"oc",
"file",
"get",
"private",
"link",
"(",
")",
")",
";",
"return",
"file",
";"
] |
[
"sorts",
"all",
"filenames",
"regarding",
"last",
"user",
"decision"
] |
[
"switch",
"(",
"m",
"sort",
"order",
")",
"{",
"case",
"sort",
"name",
":",
"files",
"=",
"file",
"storage",
"utils",
"sort",
"by",
"name",
"(",
"files",
")",
";",
"break",
";",
"case",
"sort",
"date",
":",
"files",
"=",
"file",
"storage",
"utils",
"sort",
"by",
"date",
"(",
"files",
")",
";",
"break",
";",
"case",
"sort",
"size",
":",
"files",
"=",
"file",
"storage",
"utils",
"sort",
"by",
"size",
"(",
"files",
")",
";",
"break",
";",
"}",
"return",
"files",
";"
] |
[
"sorts",
"list",
"by",
"date"
] |
[
"final",
"integer",
"val",
";",
"if",
"(",
"m",
"sort",
"ascending",
")",
"{",
"val",
"=",
"1",
";",
"}",
"else",
"{",
"val",
"=",
"-",
"1",
";",
"}",
"collections",
"sort",
"(",
"files",
",",
"new",
"comparator",
"<",
"o",
"c",
"file",
">",
"(",
")",
"{",
"public",
"int",
"compare",
"(",
"o",
"c",
"file",
"o",
"1",
",",
"o",
"c",
"file",
"o",
"2",
")",
"{",
"if",
"(",
"o",
"1",
"is",
"folder",
"(",
")",
"&",
"&",
"o",
"2",
"is",
"folder",
"(",
")",
")",
"{",
"long",
"obj",
"1",
"=",
"o",
"1",
"get",
"modification",
"timestamp",
"(",
")",
";",
"return",
"val",
"*",
"obj",
"1",
"compare",
"to",
"(",
"o",
"2",
"get",
"modification",
"timestamp",
"(",
")",
")",
";",
"}",
"else",
"if",
"(",
"o",
"1",
"is",
"folder",
"(",
")",
")",
"{",
"return",
"-",
"1",
";",
"}",
"else",
"if",
"(",
"o",
"2",
"is",
"folder",
"(",
")",
")",
"{",
"return",
"1",
";",
"}",
"else",
"if",
"(",
"o",
"1",
"get",
"modification",
"timestamp",
"(",
")",
"=",
"=",
"0",
"|",
"|",
"o",
"2",
"get",
"modification",
"timestamp",
"(",
")",
"=",
"=",
"0",
")",
"{",
"return",
"0",
";",
"}",
"else",
"{",
"long",
"obj",
"1",
"=",
"o",
"1",
"get",
"modification",
"timestamp",
"(",
")",
";",
"return",
"val",
"*",
"obj",
"1",
"compare",
"to",
"(",
"o",
"2",
"get",
"modification",
"timestamp",
"(",
")",
")",
";",
"}",
"}",
"}",
")",
";",
"return",
"files",
";"
] |
[
"sorts",
"list",
"by",
"size"
] |
[
"final",
"integer",
"val",
";",
"if",
"(",
"m",
"sort",
"ascending",
")",
"{",
"val",
"=",
"1",
";",
"}",
"else",
"{",
"val",
"=",
"-",
"1",
";",
"}",
"collections",
"sort",
"(",
"files",
",",
"new",
"comparator",
"<",
"o",
"c",
"file",
">",
"(",
")",
"{",
"public",
"int",
"compare",
"(",
"o",
"c",
"file",
"o",
"1",
",",
"o",
"c",
"file",
"o",
"2",
")",
"{",
"if",
"(",
"o",
"1",
"is",
"folder",
"(",
")",
"&",
"&",
"o",
"2",
"is",
"folder",
"(",
")",
")",
"{",
"long",
"obj",
"1",
"=",
"o",
"1",
"get",
"file",
"length",
"(",
")",
";",
"return",
"val",
"*",
"obj",
"1",
"compare",
"to",
"(",
"o",
"2",
"get",
"file",
"length",
"(",
")",
")",
";",
"}",
"else",
"if",
"(",
"o",
"1",
"is",
"folder",
"(",
")",
")",
"{",
"return",
"-",
"1",
";",
"}",
"else",
"if",
"(",
"o",
"2",
"is",
"folder",
"(",
")",
")",
"{",
"return",
"1",
";",
"}",
"else",
"if",
"(",
"o",
"1",
"get",
"file",
"length",
"(",
")",
"=",
"=",
"0",
"|",
"|",
"o",
"2",
"get",
"file",
"length",
"(",
")",
"=",
"=",
"0",
")",
"{",
"return",
"0",
";",
"}",
"else",
"{",
"long",
"obj",
"1",
"=",
"o",
"1",
"get",
"file",
"length",
"(",
")",
";",
"return",
"val",
"*",
"obj",
"1",
"compare",
"to",
"(",
"o",
"2",
"get",
"file",
"length",
"(",
")",
")",
";",
"}",
"}",
"}",
")",
";",
"return",
"files",
";"
] |
[
"sorts",
"list",
"by",
"name"
] |
[
"final",
"integer",
"val",
";",
"if",
"(",
"m",
"sort",
"ascending",
")",
"{",
"val",
"=",
"1",
";",
"}",
"else",
"{",
"val",
"=",
"-",
"1",
";",
"}",
"collections",
"sort",
"(",
"files",
",",
"new",
"comparator",
"<",
"o",
"c",
"file",
">",
"(",
")",
"{",
"public",
"int",
"compare",
"(",
"o",
"c",
"file",
"o",
"1",
",",
"o",
"c",
"file",
"o",
"2",
")",
"{",
"if",
"(",
"o",
"1",
"is",
"folder",
"(",
")",
"&",
"&",
"o",
"2",
"is",
"folder",
"(",
")",
")",
"{",
"return",
"val",
"*",
"new",
"alphanum",
"comparator",
"(",
")",
"compare",
"(",
"o",
"1",
",",
"o",
"2",
")",
";",
"}",
"else",
"if",
"(",
"o",
"1",
"is",
"folder",
"(",
")",
")",
"{",
"return",
"-",
"1",
";",
"}",
"else",
"if",
"(",
"o",
"2",
"is",
"folder",
"(",
")",
")",
"{",
"return",
"1",
";",
"}",
"return",
"val",
"*",
"new",
"alphanum",
"comparator",
"(",
")",
"compare",
"(",
"o",
"1",
",",
"o",
"2",
")",
";",
"}",
"}",
")",
";",
"return",
"files",
";"
] |
[
"mimetype",
"string",
"of",
"a",
"file"
] |
[
"string",
"extension",
"=",
"\"",
"\"",
";",
"int",
"pos",
"=",
"path",
"last",
"index",
"of",
"(",
"'",
"'",
")",
";",
"if",
"(",
"pos",
">",
"=",
"0",
")",
"{",
"extension",
"=",
"path",
"substring",
"(",
"pos",
"+",
"1",
")",
";",
"}",
"string",
"result",
"=",
"mime",
"type",
"map",
"get",
"singleton",
"(",
")",
"get",
"mime",
"type",
"from",
"extension",
"(",
"extension",
"to",
"lower",
"case",
"(",
")",
")",
";",
"return",
"(",
"result",
"!",
"=",
"null",
")",
"?",
"result",
":",
"\"",
"\"",
";"
] |
[
"lower",
"the",
"queue",
"sizes",
"to",
"be",
"small",
"enough",
"that",
"both",
"bulk",
"and",
"searches",
"will",
"time",
"out",
"and",
"have",
"to",
"be",
"retried"
] |
[
"return",
"settings",
"builder",
"(",
")",
"put",
"(",
"super",
"node",
"settings",
"(",
"node",
"ordinal",
")",
")",
"put",
"(",
"node",
"settings",
"(",
")",
")",
"build",
"(",
")",
";"
] |
[
"sets",
"all",
"flags",
"to",
"return",
"all",
"stats"
] |
[
"flags",
"all",
"(",
")",
";",
"return",
"this",
";"
] |
[
"clears",
"all",
"stats"
] |
[
"flags",
"clear",
"(",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"underlying",
"stats",
"flags"
] |
[
"return",
"flags",
";"
] |
[
"sets",
"the",
"underlying",
"stats",
"flags"
] |
[
"this",
"flags",
"=",
"flags",
";",
"return",
"this",
";"
] |
[
"document",
"types",
"to",
"return",
"stats",
"for",
"mainly",
"affects",
"{"
] |
[
"flags",
"types",
"(",
"types",
")",
";",
"return",
"this",
";"
] |
[
"document",
"types",
"to",
"return",
"stats",
"for",
"mainly",
"affects",
"{"
] |
[
"return",
"this",
"flags",
"types",
"(",
")",
";"
] |
[
"sets",
"specific",
"search",
"group",
"stats",
"to",
"retrieve",
"the",
"stats",
"for",
"mainly",
"affects",
"search",
"when",
"enabled"
] |
[
"flags",
"groups",
"(",
"groups",
")",
";",
"return",
"this",
";"
] |
[
"parse",
"a",
"harwell",
"-",
"boeing",
"column",
"-",
"compressed",
"sparse",
"matrix",
"dataset",
"from",
"given",
"uri"
] |
[
"return",
"parse",
"(",
"new",
"file",
"(",
"uri",
")",
")",
";"
] |
[
"parse",
"a",
"harwell",
"-",
"boeing",
"column",
"-",
"compressed",
"sparse",
"matrix",
"dataset",
"from",
"given",
"file"
] |
[
"return",
"parse",
"(",
"new",
"file",
"(",
"path",
")",
")",
";"
] |
[
"parse",
"a",
"harwell",
"-",
"boeing",
"column",
"-",
"compressed",
"sparse",
"matrix",
"dataset",
"from",
"given",
"file"
] |
[
"return",
"parse",
"(",
"new",
"file",
"input",
"stream",
"(",
"file",
")",
")",
";"
] |
[
"writes",
"the",
"given",
"data",
"to",
"the",
"given",
"file"
] |
[
"try",
"(",
"output",
"stream",
"out",
"=",
"path",
"get",
"output",
"stream",
"(",
")",
")",
"{",
"out",
"write",
"(",
"data",
"get",
"bytes",
"(",
"charset",
"default",
"charset",
"(",
")",
")",
")",
";",
"}"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"iam",
"user",
"to",
"list",
"ssh",
"public",
"keys",
"for",
"if",
"none",
"is",
"specified",
"the",
"<",
"code",
">",
"user",
"name",
"<",
"/",
"code",
">",
"field",
"is",
"determined",
"implicitly",
"based",
"on",
"the",
"aws",
"access",
"key",
"used",
"to",
"sign",
"the",
"request",
"<",
"/",
"p",
">",
"<",
"p",
">",
"this",
"parameter",
"allows",
"(",
"per",
"its",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"wikipedia",
"org",
"/",
"wiki",
"/",
"regex",
">",
"regex",
"pattern",
"<",
"/",
"a",
">",
")",
"a",
"string",
"of",
"characters",
"consisting",
"of",
"upper",
"and",
"lowercase",
"alphanumeric",
"characters",
"with",
"no",
"spaces",
"you",
"can",
"also",
"include",
"any",
"of",
"the",
"following",
"characters",
":",
"+",
"=",
"@",
"-",
"<",
"/",
"p",
">"
] |
[
"set",
"user",
"name",
"(",
"user",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"use",
"this",
"parameter",
"only",
"when",
"paginating",
"results",
"and",
"only",
"after",
"you",
"receive",
"a",
"response",
"indicating",
"that",
"the",
"results",
"are",
"truncated",
"set",
"it",
"to",
"the",
"value",
"of",
"the",
"<",
"code",
">",
"marker",
"<",
"/",
"code",
">",
"element",
"in",
"the",
"response",
"that",
"you",
"received",
"to",
"indicate",
"where",
"the",
"next",
"call",
"should",
"start",
"<",
"/",
"p",
">"
] |
[
"set",
"marker",
"(",
"marker",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"(",
"optional",
")",
"use",
"this",
"only",
"when",
"paginating",
"results",
"to",
"indicate",
"the",
"maximum",
"number",
"of",
"items",
"you",
"want",
"in",
"the",
"response",
"if",
"additional",
"items",
"exist",
"beyond",
"the",
"maximum",
"you",
"specify",
"the",
"<",
"code",
">",
"is",
"truncated",
"<",
"/",
"code",
">",
"response",
"element",
"is",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"you",
"do",
"not",
"include",
"this",
"parameter",
"it",
"defaults",
"to",
"100",
"note",
"that",
"iam",
"might",
"return",
"fewer",
"results",
"even",
"when",
"there",
"are",
"more",
"results",
"available",
"in",
"that",
"case",
"the",
"<",
"code",
">",
"is",
"truncated",
"<",
"/",
"code",
">",
"response",
"element",
"returns",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"marker",
"<",
"/",
"code",
">",
"contains",
"a",
"value",
"to",
"include",
"in",
"the",
"subsequent",
"call",
"that",
"tells",
"the",
"service",
"where",
"to",
"continue",
"from",
"<",
"/",
"p",
">"
] |
[
"set",
"max",
"items",
"(",
"max",
"items",
")",
";",
"return",
"this",
";"
] |
[
"<",
"code",
">",
"optional",
"bool",
"enabled",
"=",
"2",
";",
"<",
"/",
"code",
">"
] |
[
"return",
"enabled",
";"
] |
[
"create",
"a",
"new",
"{",
"@",
"link",
"builder",
"}",
"that",
"is",
"initialized",
"as",
"replica",
"set",
"to",
"build",
"{",
"@",
"link",
"embedded",
"mongo",
"}"
] |
[
"return",
"repl",
"set",
"(",
"default",
"replica",
"set",
"name",
")",
";"
] |
[
"configure",
"the",
"mongo",
"d",
"b",
"{",
"@",
"link",
"i",
"feature",
"aware",
"version",
"version",
"}"
] |
[
"this",
"version",
"=",
"version",
";",
"return",
"this",
";"
] |
[
"configure",
"the",
"replica",
"set",
"name"
] |
[
"this",
"replica",
"set",
"name",
"=",
"replica",
"set",
"name",
";",
"return",
"this",
";"
] |
[
"configure",
"the",
"server",
"ports"
] |
[
"this",
"server",
"ports",
"=",
"arrays",
"as",
"list",
"(",
"ports",
")",
";",
"return",
"this",
";"
] |
[
"should",
"be",
"called",
"on",
"player",
"destruction",
"to",
"prevent",
"leakage"
] |
[
"this",
"session",
"connector",
"set",
"player",
"(",
"null",
",",
"null",
")",
";",
"this",
"session",
"connector",
"set",
"queue",
"navigator",
"(",
"null",
")",
";",
"this",
"media",
"session",
"set",
"active",
"(",
"false",
")",
";",
"this",
"media",
"session",
"release",
"(",
")",
";"
] |
[
"this",
"is",
"a",
"mandatory",
"parameter",
"example",
"value",
":",
"my",
"value"
] |
[
"this",
"value",
"=",
"value",
";",
"return",
"this",
";"
] |
[
"includes",
"an",
"inet",
"address",
"pattern"
] |
[
"set",
"include",
"(",
"pattern",
")",
";"
] |
[
"includes",
"inet",
"address",
"patterns"
] |
[
"set",
"include",
"(",
"patterns",
")",
";"
] |
[
"excludes",
"an",
"inet",
"address",
"pattern"
] |
[
"set",
"exclude",
"(",
"pattern",
")",
";"
] |
[
"excludes",
"inet",
"address",
"patterns"
] |
[
"set",
"exclude",
"(",
"patterns",
")",
";"
] |
[
"create",
"an",
"instance",
"of",
"{",
"@",
"link",
"person",
"}"
] |
[
"return",
"new",
"person",
"(",
")",
";"
] |
[
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/"
] |
[
"super",
"on",
"initialized",
"(",
")",
";",
"lite",
"node",
"network",
"service",
"start",
"(",
")",
";"
] |
[
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/",
"/"
] |
[
"super",
"on",
"p",
"2",
"p",
"network",
"ready",
"(",
")",
";",
"lite",
"node",
"network",
"service",
"add",
"listener",
"(",
"new",
"lite",
"node",
"network",
"service",
"listener",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"on",
"requested",
"blocks",
"received",
"(",
"get",
"blocks",
"response",
"get",
"blocks",
"response",
")",
"{",
"lite",
"node",
"this",
"on",
"requested",
"blocks",
"received",
"(",
"new",
"array",
"list",
"<",
">",
"(",
"get",
"blocks",
"response",
"get",
"blocks",
"(",
")",
")",
")",
";",
"}",
"@",
"override",
"public",
"void",
"on",
"new",
"block",
"received",
"(",
"new",
"block",
"broadcast",
"message",
"new",
"block",
"broadcast",
"message",
")",
"{",
"lite",
"node",
"this",
"on",
"new",
"block",
"received",
"(",
"new",
"block",
"broadcast",
"message",
"get",
"block",
"(",
")",
")",
";",
"}",
"@",
"override",
"public",
"void",
"on",
"no",
"seed",
"node",
"available",
"(",
")",
"{",
"}",
"@",
"override",
"public",
"void",
"on",
"fault",
"(",
"string",
"error",
"message",
",",
"@",
"nullable",
"connection",
"connection",
")",
"{",
"}",
"}",
")",
";",
"if",
"(",
"!",
"parse",
"blockchain",
"complete",
")",
"start",
"parse",
"blocks",
"(",
")",
";"
] |
[
"<",
"br",
">",
"range",
"=",
"range",
"user",
"friend",
"<",
"br",
">",
"id",
"=",
"a",
"p",
"i",
"j",
"s",
"o",
"n",
"application",
"get",
"instance",
"(",
")",
"get",
"current",
"user",
"id",
"(",
")"
] |
[
"return",
"create",
"instance",
"(",
"range",
"user",
"friend",
",",
"a",
"p",
"i",
"j",
"s",
"o",
"n",
"application",
"get",
"instance",
"(",
")",
"get",
"current",
"user",
"id",
"(",
")",
")",
";"
] |
[
"range",
"=",
"range",
"user"
] |
[
"return",
"create",
"instance",
"(",
"range",
"user",
",",
"user",
"id",
")",
";"
] |
[
"range",
"=",
"range",
"all"
] |
[
"return",
"create",
"instance",
"(",
"range",
"all",
",",
"0",
",",
"search",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.