docstring_tokens list | code_tokens list |
|---|---|
[
"log",
"if",
"the",
"logger",
"and",
"the",
"current",
"event",
"log",
"level",
"are",
"compatible",
"we",
"log",
"a",
"message",
"and",
"an",
"exception"
] | [
"switch",
"(",
"event",
"level",
")",
"{",
"case",
"trace",
":",
"logger",
"trace",
"(",
"message",
",",
"cause",
")",
";",
"return",
";",
"case",
"debug",
":",
"logger",
"debug",
"(",
"message",
",",
"cause",
")",
";",
"return",
";",
"case",
"info",... |
[
"log",
"if",
"the",
"logger",
"and",
"the",
"current",
"event",
"log",
"level",
"are",
"compatible",
"we",
"log",
"a",
"formated",
"message",
"and",
"its",
"parameters"
] | [
"switch",
"(",
"event",
"level",
")",
"{",
"case",
"trace",
":",
"logger",
"trace",
"(",
"message",
",",
"param",
")",
";",
"return",
";",
"case",
"debug",
":",
"logger",
"debug",
"(",
"message",
",",
"param",
")",
";",
"return",
";",
"case",
"info",... |
[
"log",
"if",
"the",
"logger",
"and",
"the",
"current",
"event",
"log",
"level",
"are",
"compatible",
"we",
"log",
"a",
"simple",
"message"
] | [
"switch",
"(",
"event",
"level",
")",
"{",
"case",
"trace",
":",
"logger",
"trace",
"(",
"message",
")",
";",
"return",
";",
"case",
"debug",
":",
"logger",
"debug",
"(",
"message",
")",
";",
"return",
";",
"case",
"info",
":",
"logger",
"info",
"(",... |
[
"set",
"the",
"log",
"level",
"for",
"the",
"exception",
"caught",
"event"
] | [
"exception",
"caught",
"level",
"=",
"level",
";"
] |
[
"get",
"the",
"log",
"level",
"for",
"the",
"exception",
"caught",
"event"
] | [
"return",
"exception",
"caught",
"level",
";"
] |
[
"set",
"the",
"log",
"level",
"for",
"the",
"message",
"received",
"event"
] | [
"message",
"received",
"level",
"=",
"level",
";"
] |
[
"get",
"the",
"log",
"level",
"for",
"the",
"message",
"received",
"event"
] | [
"return",
"message",
"received",
"level",
";"
] |
[
"set",
"the",
"log",
"level",
"for",
"the",
"message",
"sent",
"event"
] | [
"message",
"sent",
"level",
"=",
"level",
";"
] |
[
"get",
"the",
"log",
"level",
"for",
"the",
"message",
"sent",
"event"
] | [
"return",
"message",
"sent",
"level",
";"
] |
[
"set",
"the",
"log",
"level",
"for",
"the",
"session",
"created",
"event"
] | [
"session",
"created",
"level",
"=",
"level",
";"
] |
[
"get",
"the",
"log",
"level",
"for",
"the",
"session",
"created",
"event"
] | [
"return",
"session",
"created",
"level",
";"
] |
[
"set",
"the",
"log",
"level",
"for",
"the",
"session",
"opened",
"event"
] | [
"session",
"opened",
"level",
"=",
"level",
";"
] |
[
"get",
"the",
"log",
"level",
"for",
"the",
"session",
"opened",
"event"
] | [
"return",
"session",
"opened",
"level",
";"
] |
[
"set",
"the",
"log",
"level",
"for",
"the",
"session",
"idle",
"event"
] | [
"session",
"idle",
"level",
"=",
"level",
";"
] |
[
"get",
"the",
"log",
"level",
"for",
"the",
"session",
"idle",
"event"
] | [
"return",
"session",
"idle",
"level",
";"
] |
[
"set",
"the",
"log",
"level",
"for",
"the",
"session",
"closed",
"event"
] | [
"session",
"closed",
"level",
"=",
"level",
";"
] |
[
"get",
"the",
"log",
"level",
"for",
"the",
"session",
"closed",
"event"
] | [
"return",
"session",
"closed",
"level",
";"
] |
[
"return",
"the",
"capacity",
"in",
"bytes",
"of",
"the",
"file",
"system"
] | [
"return",
"capacity",
";"
] |
[
"sets",
"raw",
"capacity"
] | [
"this",
"capacity",
"=",
"capacity",
";"
] |
[
"number",
"of",
"messages",
"in",
"buffer"
] | [
"return",
"message",
"queue",
"size",
"(",
")",
";"
] |
[
"total",
"message",
"size",
"in",
"bytes"
] | [
"return",
"message",
"size",
";"
] |
[
"peek",
"a",
"message",
"but",
"not",
"take",
"it",
"from",
"the",
"buffer",
"the",
"message",
"count",
"doesn",
"t",
"change"
] | [
"return",
"message",
"queue",
"peek",
"(",
")",
";"
] |
[
"empty",
"this",
"buffer"
] | [
"message",
"queue",
"clear",
"(",
")",
";",
"message",
"size",
"=",
"0",
";"
] |
[
"call",
"the",
"allocate",
"method",
"on",
"the",
"load",
"save",
"tester",
"meta",
"class"
] | [
"if",
"(",
"some",
"meta",
"instanceof",
"rss",
"input",
"meta",
")",
"{",
"(",
"(",
"rss",
"input",
"meta",
")",
"some",
"meta",
")",
"allocate",
"(",
"5",
",",
"5",
")",
";",
"}"
] |
[
"called",
"to",
"allow",
"plugins",
"to",
"initialize",
"themselves"
] | [] |
[
"called",
"to",
"orderly",
"shut",
"down",
"hudson"
] | [] |
[
"gets",
"proxy"
] | [
"return",
"proxy",
";"
] |
[
"whether",
"or",
"not",
"to",
"drop",
"capabilities",
"that",
"does",
"not",
"belong",
"to",
"the",
"current",
"platform",
"family",
"defaults",
"to",
"{"
] | [
"return",
"enable",
"platform",
"verification",
";"
] |
[
"returns",
"an",
"instance",
"associated",
"with",
"the",
"configuration",
"bound",
"to",
"this",
"factory"
] | [
"return",
"get",
"instance",
"(",
"authorization",
"factory",
"get",
"instance",
"(",
"conf",
")",
")",
";"
] |
[
"a",
"kind",
"of",
"copy",
"factory",
"method",
"constructs",
"an",
"async",
"twitter",
"from",
"twitter",
"instance"
] | [
"return",
"new",
"async",
"twitter",
"impl",
"(",
"twitter",
"get",
"configuration",
"(",
")",
",",
"twitter",
"get",
"authorization",
"(",
")",
")",
";"
] |
[
"returns",
"default",
"singleton",
"async",
"twitter",
"instance"
] | [
"return",
"singleton",
";"
] |
[
"{"
] | [
"return",
"grid",
"client",
"protocol",
"tcp",
";"
] |
[
"{"
] | [
"return",
"null",
";"
] |
[
"do",
"get",
"operation",
"for",
"the",
"http",
"request"
] | [
"function",
"<",
"string",
",",
"t",
">",
"convert",
"response",
"=",
"new",
"function",
"<",
"string",
",",
"t",
">",
"(",
")",
"{",
"@",
"override",
"public",
"t",
"apply",
"(",
"string",
"input",
")",
"{",
"return",
"gson",
"from",
"json",
"(",
... |
[
"do",
"get",
"operation",
"for",
"the",
"http",
"request"
] | [
"function",
"<",
"string",
",",
"t",
">",
"convert",
"response",
"=",
"new",
"function",
"<",
"string",
",",
"t",
">",
"(",
")",
"{",
"@",
"override",
"public",
"t",
"apply",
"(",
"string",
"input",
")",
"{",
"return",
"gson",
"from",
"json",
"(",
... |
[
"create",
"but",
"do",
"not",
"start",
"the",
"test",
"webapp",
"server",
"the",
"test",
"webapp",
"dir",
"is",
"prepared",
"/",
"checked",
"in",
"advance"
] | [
"prepare",
"test",
"webapp",
"(",
")",
";",
"return",
"create",
"server",
"(",
"test",
")",
";"
] |
[
"create",
"but",
"do",
"not",
"start",
"the",
"test",
"webapp",
"server",
"the",
"test",
"webapp",
"dir",
"is",
"prepared",
"/",
"checked",
"in",
"advance",
"@",
"param",
"conf",
"the",
"server",
"configuration",
"to",
"use",
"@",
"return",
"the",
"server"... | [
"prepare",
"test",
"webapp",
"(",
")",
";",
"return",
"create",
"server",
"(",
"test",
",",
"conf",
")",
";"
] |
[
"create",
"but",
"do",
"not",
"start",
"the",
"test",
"webapp",
"server",
"the",
"test",
"webapp",
"dir",
"is",
"prepared",
"/",
"checked",
"in",
"advance",
"@",
"param",
"conf",
"the",
"server",
"configuration",
"to",
"use",
"@",
"return",
"the",
"server"... | [
"prepare",
"test",
"webapp",
"(",
")",
";",
"return",
"create",
"server",
"(",
"test",
",",
"conf",
",",
"path",
"specs",
")",
";"
] |
[
"create",
"an",
"http",
"server",
"instance",
"for",
"the",
"given",
"webapp"
] | [
"return",
"local",
"server",
"builder",
"(",
"webapp",
")",
"set",
"find",
"port",
"(",
"true",
")",
"build",
"(",
")",
";"
] |
[
"create",
"an",
"http",
"server",
"instance",
"for",
"the",
"given",
"webapp"
] | [
"return",
"local",
"server",
"builder",
"(",
"webapp",
")",
"set",
"find",
"port",
"(",
"true",
")",
"set",
"conf",
"(",
"conf",
")",
"build",
"(",
")",
";"
] |
[
"create",
"an",
"http",
"server",
"instance",
"for",
"the",
"given",
"webapp"
] | [
"return",
"local",
"server",
"builder",
"(",
"webapp",
")",
"set",
"find",
"port",
"(",
"true",
")",
"set",
"conf",
"(",
"conf",
")",
"set",
"path",
"spec",
"(",
"path",
"specs",
")",
"build",
"(",
")",
";"
] |
[
"create",
"and",
"start",
"a",
"server",
"with",
"the",
"test",
"webapp"
] | [
"http",
"server",
"2",
"server",
"=",
"create",
"test",
"server",
"(",
")",
";",
"server",
"start",
"(",
")",
";",
"return",
"server",
";"
] |
[
"if",
"the",
"server",
"is",
"non",
"null",
"stop",
"it"
] | [
"if",
"(",
"server",
"!",
"=",
"null",
")",
"{",
"server",
"stop",
"(",
")",
";",
"}"
] |
[
"read",
"in",
"the",
"content",
"from",
"a",
"url"
] | [
"string",
"builder",
"out",
"=",
"new",
"string",
"builder",
"(",
")",
";",
"input",
"stream",
"in",
"=",
"url",
"open",
"connection",
"(",
")",
"get",
"input",
"stream",
"(",
")",
";",
"byte",
"[",
"]",
"buffer",
"=",
"new",
"byte",
"[",
"64",
"*"... |
[
"gets",
"the",
"logical",
"name",
"of",
"the",
"application",
"using",
"this",
"mongo",
"client",
"the",
"application",
"name",
"may",
"be",
"used",
"by",
"the",
"client",
"to",
"identify",
"the",
"application",
"to",
"the",
"server",
"for",
"use",
"in",
"... | [
"return",
"application",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"application",
"<",
"/",
"p",
">"
] | [
"this",
"application",
"name",
"=",
"application",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"duration",
"of",
"the",
"authentication",
"session",
"in",
"seconds",
"the",
"default",
"is",
"604800",
"seconds",
"(",
"7",
"days",
")",
"<",
"/",
"p",
">"
] | [
"this",
"session",
"timeout",
"=",
"session",
"timeout",
";"
] |
[
"return",
"the",
"url",
"of",
"the",
"request"
] | [
"return",
"this",
"request",
"url",
";"
] |
[
"return",
"the",
"ip",
"address",
"that",
"the",
"request",
"came",
"from"
] | [
"return",
"this",
"client",
"address",
";"
] |
[
"return",
"the",
"http",
"request",
"method",
"that",
"caused",
"the",
"failure"
] | [
"return",
"this",
"method",
";"
] |
[
"return",
"the",
"name",
"of",
"the",
"servlet",
"that",
"handled",
"the",
"request"
] | [
"return",
"this",
"servlet",
"name",
";"
] |
[
"invoke",
"{"
] | [
"this",
"test",
"context",
"manager",
"before",
"test",
"execution",
"(",
"this",
"test",
"instance",
",",
"this",
"test",
"method",
")",
";",
"this",
"next",
"evaluate",
"(",
")",
";"
] |
[
"returns",
"the",
"number",
"of",
"docs",
"a",
"table",
"has",
"<",
"p",
">",
"<",
"p",
">",
"the",
"returned",
"number",
"isn",
"t",
"an",
"accurate",
"real",
"-",
"time",
"value",
"but",
"a",
"cached",
"value",
"that",
"is",
"periodically",
"updated"... | [
"return",
"table",
"stats",
"get",
"or",
"default",
"(",
"relation",
"name",
",",
"empty",
"stats",
")",
"num",
"docs",
";"
] |
[
"returns",
"the",
"size",
"of",
"the",
"table",
"in",
"bytes",
"<",
"p",
">",
"<",
"p",
">",
"the",
"returned",
"number",
"isn",
"t",
"an",
"accurate",
"real",
"-",
"time",
"value",
"but",
"a",
"cached",
"value",
"that",
"is",
"periodically",
"updated"... | [
"return",
"table",
"stats",
"get",
"or",
"default",
"(",
"relation",
"name",
",",
"empty",
"stats",
")",
"size",
"in",
"bytes",
";"
] |
[
"returns",
"an",
"estimation",
"(",
"avg",
")",
"size",
"of",
"each",
"row",
"of",
"the",
"table",
"in",
"bytes",
"<",
"p",
">",
"<",
"p",
">",
"the",
"returned",
"number",
"isn",
"t",
"an",
"accurate",
"real",
"-",
"time",
"value",
"but",
"a",
"ca... | [
"long",
"num",
"docs",
"=",
"num",
"docs",
"(",
"relation",
"name",
")",
";",
"if",
"(",
"num",
"docs",
"<",
"=",
"0",
")",
"{",
"return",
"num",
"docs",
";",
"}",
"return",
"size",
"in",
"bytes",
"(",
"relation",
"name",
")",
"/",
"num",
"docs",... |
[
"gets",
"the",
"identifier",
"for",
"this",
"connection"
] | [
"return",
"connection",
"id",
";"
] |
[
"gets",
"the",
"reply",
"to",
"the",
"is",
"master",
"command",
"executed",
"for",
"this",
"heartbeat"
] | [
"return",
"reply",
";"
] |
[
"gets",
"the",
"elapsed",
"time",
"in",
"the",
"given",
"unit",
"of",
"time"
] | [
"return",
"time",
"unit",
"convert",
"(",
"elapsed",
"time",
"nanos",
",",
"time",
"unit",
"nanoseconds",
")",
";"
] |
[
"tell",
"whether",
"the",
"scrolled",
"value",
"is",
"valid",
"if",
"not",
"means",
"it",
"s",
"a",
"layout",
"processing",
"without",
"scrolling"
] | [
"return",
"scrolled",
"!",
"=",
"integer",
"max",
"value",
"&",
"&",
"scrolled",
"!",
"=",
"integer",
"min",
"value",
";"
] |
[
"called",
"when",
"{",
"@",
"link",
"com",
"alibaba",
"android",
"vlayout",
"layout",
"helper",
"}",
"get",
"dropped",
"do",
"clean",
"custom",
"jobs"
] | [] |
[
"helper",
"function",
"which",
"do",
"layout",
"children",
"and",
"also",
"update",
"layout",
"region",
"but",
"it",
"won",
"t",
"consider",
"margin",
"in",
"layout",
"so",
"you",
"need",
"take",
"care",
"of",
"margin",
"if",
"you",
"apply",
"margin",
"to"... | [
"layout",
"child",
"with",
"margin",
"(",
"child",
",",
"left",
",",
"top",
",",
"right",
",",
"bottom",
",",
"helper",
",",
"false",
")",
";"
] |
[
"helper",
"function",
"which",
"do",
"layout",
"children",
"and",
"also",
"update",
"layout",
"region"
] | [
"layout",
"child",
"(",
"child",
",",
"left",
",",
"top",
",",
"right",
",",
"bottom",
",",
"helper",
",",
"false",
")",
";"
] |
[
"looks",
"for",
"files",
"to",
"compile",
"in",
"the",
"given",
"configured",
"target",
"and",
"outputs",
"the",
"corresponding",
"extra",
"action",
"if",
"the",
"filter",
"evaluates",
"to",
"{"
] | [
"nested",
"set",
"<",
"artifact",
">",
"artifacts",
"=",
"output",
"group",
"info",
"get",
"(",
"configured",
"target",
")",
"get",
"output",
"group",
"(",
"output",
"group",
"info",
"files",
"to",
"compile",
")",
";",
"if",
"(",
"artifacts",
"is",
"empt... |
[
"c",
"+",
"+",
"headers",
"are",
"not",
"plain",
"vanilla",
"action",
"inputs",
":",
"they",
"do",
"not",
"show",
"up",
"in",
"action",
"get",
"inputs",
"(",
")",
"since",
"the",
"actual",
"set",
"of",
"header",
"files",
"is",
"the",
"one",
"discovered... | [
"for",
"(",
"artifact",
"artifact",
":",
"artifacts",
")",
"{",
"if",
"(",
"!",
"visited",
"add",
"(",
"artifact",
")",
")",
"{",
"continue",
";",
"}",
"if",
"(",
"!",
"artifact",
"is",
"middleman",
"artifact",
"(",
")",
")",
"{",
"result",
"add",
... |
[
"prune",
"the",
"set",
"of",
"available",
"inputs",
"to",
"those",
"required",
"by",
"the",
"given",
"expressions",
"<",
"p",
">",
"if",
"all",
"inputs",
"are",
"used",
"return",
"optional",
"empty",
"(",
")",
"to",
"indicate",
"that",
"no",
"pruning",
"... | [
"set",
"<",
"symbol",
">",
"available",
"inputs",
"set",
"=",
"immutable",
"set",
"copy",
"of",
"(",
"available",
"inputs",
")",
";",
"set",
"<",
"symbol",
">",
"pruned",
"inputs",
"=",
"sets",
"filter",
"(",
"available",
"inputs",
"set",
",",
"symbols",... |
[
"transforms",
"a",
"plan",
"like",
"p",
"-",
">",
"c",
"-",
">",
"x",
"to",
"c",
"-",
">",
"p",
"-",
">",
"x"
] | [
"return",
"child",
"replace",
"children",
"(",
"immutable",
"list",
"of",
"(",
"parent",
"replace",
"children",
"(",
"child",
"get",
"sources",
"(",
")",
")",
")",
")",
";"
] |
[
"return",
"true",
"if",
"all",
"subcontexts",
"are",
"monitoring"
] | [
"boolean",
"ret",
"=",
"true",
";",
"for",
"(",
"metrics",
"context",
"ctxt",
":",
"subctxt",
")",
"{",
"ret",
"&",
"=",
"ctxt",
"is",
"monitoring",
"(",
")",
";",
"}",
"return",
"ret",
";"
] |
[
"concatenates",
"{"
] | [
"return",
"settings",
"files",
"stream",
"(",
")",
"map",
"(",
"file",
"-",
">",
"config",
"utils",
"class",
"get",
"class",
"loader",
"(",
")",
"get",
"resource",
"as",
"stream",
"(",
"file",
")",
")",
"reduce",
"(",
"null",
",",
"(",
"in",
"1",
"... |
[
"retry",
"to",
"execute",
"callable",
"command"
] | [
"retryer",
"<",
"t",
">",
"retryer",
"=",
"retryer",
"builder",
"<",
"t",
">",
"new",
"builder",
"(",
")",
"retry",
"if",
"exception",
"of",
"type",
"(",
"timeout",
"exception",
"class",
")",
"retry",
"if",
"exception",
"of",
"type",
"(",
"execution",
... |
[
"as",
"we",
"have",
"to",
"find",
"the",
"hostname",
"as",
"a",
"side",
"-",
"affect",
"of",
"generating",
"a",
"unique",
"stub",
"we",
"allow",
"it",
"s",
"easy",
"retrieval",
"here"
] | [
"return",
"host",
"name",
";"
] |
[
"assumption",
"that",
"num",
"1",
"is",
"less",
"than",
"num",
"2",
"as",
"initial",
"parameter"
] | [
"if",
"(",
"num",
"1",
"=",
"=",
"0",
")",
"{",
"return",
"num",
"2",
";",
"}",
"return",
"gcd",
"rec",
"(",
"num",
"2",
"%",
"num",
"1",
",",
"num",
"1",
")",
";"
] |
[
"<",
"p",
">",
"a",
"string",
"that",
"contains",
"<",
"code",
">",
"tag",
"<",
"/",
"code",
">",
"key",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"string",
"length",
"should",
"be",
"between",
"1",
"and",
"128",
"characters",
"valid",
"characters"... | [
"set",
"key",
"(",
"key",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"string",
"that",
"contains",
"an",
"optional",
"<",
"code",
">",
"tag",
"<",
"/",
"code",
">",
"value",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"string",
"length",
"should",
"be",
"between",
"0",
"and",
"256",
"characters",
... | [
"set",
"value",
"(",
"value",
")",
";",
"return",
"this",
";"
] |
[
"called",
"when",
"the",
"cellular",
"service",
"is",
"connected",
"on",
"a",
"{",
"@",
"link",
"phone",
"account",
"handle",
"}",
"for",
"the",
"first",
"time",
"or",
"when",
"the",
"carrier",
"config",
"has",
"changed",
"it",
"will",
"not",
"be",
"call... | [
"@",
"main",
"thread",
"public",
"abstract",
"void",
"on",
"cell",
"service",
"connected",
"(",
"visual",
"voicemail",
"task",
"task",
",",
"phone",
"account",
"handle",
"phone",
"account",
"handle",
")",
";"
] |
[
"called",
"when",
"a",
"sms",
"matching",
"the",
"{",
"@",
"link",
"visual",
"voicemail",
"sms",
"filter",
"settings",
"}",
"set",
"by",
"{",
"@",
"link",
"telephony",
"manager",
"#",
"set",
"visual",
"voicemail",
"sms",
"filter",
"settings",
"(",
"visual"... | [
"@",
"main",
"thread",
"public",
"abstract",
"void",
"on",
"sms",
"received",
"(",
"visual",
"voicemail",
"task",
"task",
",",
"visual",
"voicemail",
"sms",
"sms",
")",
";"
] |
[
"called",
"when",
"a",
"sim",
"is",
"removed"
] | [
"@",
"main",
"thread",
"public",
"abstract",
"void",
"on",
"sim",
"removed",
"(",
"visual",
"voicemail",
"task",
"task",
",",
"phone",
"account",
"handle",
"phone",
"account",
"handle",
")",
";"
] |
[
"called",
"before",
"the",
"system",
"is",
"about",
"to",
"terminate",
"a",
"task",
"the",
"service",
"should",
"persist",
"any",
"necessary",
"data",
"and",
"call",
"finish",
"on",
"the",
"task",
"immediately"
] | [
"@",
"main",
"thread",
"public",
"abstract",
"void",
"on",
"stopped",
"(",
"visual",
"voicemail",
"task",
"task",
")",
";"
] |
[
"set",
"the",
"visual",
"voicemail",
"sms",
"filter",
"settings",
"for",
"the",
"visual",
"voicemail",
"service",
"{",
"@",
"link",
"#",
"on",
"sms",
"received",
"(",
"visual",
"voicemail",
"task",
"visual",
"voicemail",
"sms",
")",
"}",
"will",
"be",
"cal... | [
"telephony",
"manager",
"telephony",
"manager",
"=",
"context",
"get",
"system",
"service",
"(",
"telephony",
"manager",
"class",
")",
";",
"int",
"sub",
"id",
"=",
"get",
"sub",
"id",
"(",
"context",
",",
"phone",
"account",
"handle",
")",
";",
"if",
"(... |
[
"send",
"a",
"visual",
"voicemail",
"sms",
"the",
"caller",
"must",
"be",
"the",
"current",
"default",
"dialer",
"<",
"p",
">",
"<",
"p",
">",
"requires",
"permission",
":",
"{",
"@",
"link",
"android",
"manifest",
"permission",
"#",
"send",
"sms",
"send... | [
"telephony",
"manager",
"telephony",
"manager",
"=",
"context",
"get",
"system",
"service",
"(",
"telephony",
"manager",
"class",
")",
";",
"telephony",
"manager",
"send",
"visual",
"voicemail",
"sms",
"for",
"subscriber",
"(",
"get",
"sub",
"id",
"(",
"contex... |
[
"the",
"unique",
"id",
"that",
"amazon",
"mq",
"generates",
"for",
"the",
"broker"
] | [
"this",
"broker",
"id",
"=",
"broker",
"id",
";"
] |
[
"the",
"unique",
"id",
"that",
"amazon",
"mq",
"generates",
"for",
"the",
"broker"
] | [
"return",
"this",
"broker",
"id",
";"
] |
[
"required",
"the",
"unique",
"id",
"that",
"amazon",
"mq",
"generates",
"for",
"the",
"broker"
] | [
"set",
"broker",
"id",
"(",
"broker",
"id",
")",
";",
"return",
"this",
";"
] |
[
"required",
"the",
"maximum",
"number",
"of",
"active",
"m",
"q",
"users",
"that",
"can",
"be",
"returned",
"per",
"page",
"(",
"20",
"by",
"default",
")",
"this",
"value",
"must",
"be",
"an",
"integer",
"from",
"5",
"to",
"100"
] | [
"set",
"max",
"results",
"(",
"max",
"results",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"string",
"returned",
"in",
"the",
"response",
"use",
"the",
"value",
"returned",
"in",
"the",
"response",
"as",
"the",
"value",
"of",
"the",
"next",
"token",
"in",
"a",
"subsequent",
"request",
"to",
"retrieve",
"the",
"next",
"set",... | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"the",
"list",
"of",
"all",
"active",
"m",
"q",
"usernames",
"for",
"the",
"specified",
"broker"
] | [
"return",
"users",
";"
] |
[
"the",
"list",
"of",
"all",
"active",
"m",
"q",
"usernames",
"for",
"the",
"specified",
"broker"
] | [
"if",
"(",
"users",
"=",
"=",
"null",
")",
"{",
"this",
"users",
"=",
"null",
";",
"return",
";",
"}",
"this",
"users",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"user",
"summary",
">",
"(",
"users",
")",
";"
] |
[
"required",
"the",
"list",
"of",
"all",
"active",
"m",
"q",
"usernames",
"for",
"the",
"specified",
"broker",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list"... | [
"if",
"(",
"this",
"users",
"=",
"=",
"null",
")",
"{",
"set",
"users",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"user",
"summary",
">",
"(",
"users",
"length",
")",
")",
";",
"}",
"for",
"(",
"user",
"summary",
"ele",
":",
"users",
")",... |
[
"required",
"the",
"list",
"of",
"all",
"active",
"m",
"q",
"usernames",
"for",
"the",
"specified",
"broker"
] | [
"set",
"users",
"(",
"users",
")",
";",
"return",
"this",
";"
] |
[
"add",
"an",
"audience"
] | [
"audience",
"add",
"(",
"audienceval",
")",
";"
] |
[
"remove",
"an",
"audience"
] | [
"audience",
"remove",
"(",
"audienceval",
")",
";"
] |
[
"gets",
"the",
"value",
"of",
"the",
"audience",
"property"
] | [
"return",
"collections",
"unmodifiable",
"list",
"(",
"this",
"audience",
")",
";"
] |
[
"creates",
"a",
"new",
"object",
"for",
"creating",
"a",
"java",
"abstract",
"syntax",
"tree",
"(",
"ast",
")",
"following",
"the",
"specified",
"set",
"of",
"api",
"rules"
] | [
"return",
"new",
"che",
"a",
"s",
"t",
"parser",
"(",
"level",
")",
";"
] |
[
"requests",
"that",
"the",
"compiler",
"should",
"perform",
"bindings",
"recovery",
"when",
"bindings",
"recovery",
"is",
"enabled",
"the",
"compiler",
"returns",
"incomplete",
"bindings"
] | [
"if",
"(",
"enabled",
")",
"{",
"this",
"bits",
"|",
"=",
"compilation",
"unit",
"resolver",
"binding",
"recovery",
";",
"}",
"else",
"{",
"this",
"bits",
"&",
"=",
"~",
"compilation",
"unit",
"resolver",
"binding",
"recovery",
";",
"}"
] |
[
"sets",
"the",
"environment",
"to",
"be",
"used",
"when",
"no",
"{",
"@",
"link",
"i",
"java",
"project",
"}",
"is",
"available"
] | [
"this",
"classpaths",
"=",
"classpath",
"entries",
";",
"this",
"sourcepaths",
"=",
"sourcepath",
"entries",
";",
"this",
"sourcepaths",
"encodings",
"=",
"encodings",
";",
"if",
"(",
"encodings",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"sourcepath",
"entries... |
[
"requests",
"that",
"the",
"compiler",
"should",
"provide",
"binding",
"information",
"for",
"the",
"ast",
"nodes",
"it",
"creates"
] | [
"if",
"(",
"enabled",
")",
"{",
"this",
"bits",
"|",
"=",
"compilation",
"unit",
"resolver",
"resolve",
"binding",
";",
"}",
"else",
"{",
"this",
"bits",
"&",
"=",
"~",
"compilation",
"unit",
"resolver",
"resolve",
"binding",
";",
"}"
] |
[
"requests",
"an",
"abridged",
"abstract",
"syntax",
"tree",
"by",
"default",
"complete",
"a",
"s",
"ts",
"are",
"returned"
] | [
"this",
"bits",
"|",
"=",
"compilation",
"unit",
"resolver",
"partial",
";",
"this",
"focal",
"point",
"position",
"=",
"position",
";"
] |
[
"sets",
"the",
"kind",
"of",
"constructs",
"to",
"be",
"parsed",
"from",
"the",
"source",
"defaults",
"to",
"an",
"entire",
"compilation",
"unit"
] | [
"if",
"(",
"(",
"kind",
"!",
"=",
"k",
"compilation",
"unit",
")",
"&",
"&",
"(",
"kind",
"!",
"=",
"k",
"class",
"body",
"declarations",
")",
"&",
"&",
"(",
"kind",
"!",
"=",
"k",
"expression",
")",
"&",
"&",
"(",
"kind",
"!",
"=",
"k",
"sta... |
[
"sets",
"the",
"source",
"code",
"to",
"be",
"parsed"
] | [
"set",
"source",
"(",
"(",
"i",
"type",
"root",
")",
"source",
")",
";"
] |
[
"sets",
"the",
"source",
"code",
"to",
"be",
"parsed"
] | [
"set",
"source",
"(",
"(",
"i",
"type",
"root",
")",
"source",
")",
";"
] |
[
"sets",
"the",
"subrange",
"of",
"the",
"source",
"code",
"to",
"be",
"parsed",
"by",
"default",
"the",
"entire",
"source",
"string",
"will",
"be",
"parsed",
"(",
"<",
"code",
">",
"offset",
"<",
"/",
"code",
">",
"0",
"and",
"<",
"code",
">",
"lengt... | [
"if",
"(",
"offset",
"<",
"0",
"|",
"|",
"length",
"<",
"-",
"1",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"this",
"source",
"offset",
"=",
"offset",
";",
"this",
"source",
"length",
"=",
"length",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.