docstring_tokens list | code_tokens list |
|---|---|
[
"return",
"the",
"websocket",
"extensions",
"configured"
] | [
"return",
"extensions",
";"
] |
[
"private",
"boolean",
"zz",
"at",
"b",
"o",
"l",
"=",
"true",
";"
] | [
"int",
"[",
"]",
"result",
"=",
"new",
"int",
"[",
"63",
"]",
";",
"int",
"offset",
"=",
"0",
";",
"offset",
"=",
"zz",
"unpack",
"row",
"map",
"(",
"zz",
"rowmap",
"packed",
"0",
",",
"offset",
",",
"result",
")",
";",
"return",
"result",
";"
] |
[
"enters",
"a",
"new",
"lexical",
"state"
] | [
"zz",
"lexical",
"state",
"=",
"new",
"state",
";"
] |
[
"returns",
"the",
"character",
"at",
"position",
"<",
"tt",
">",
"pos",
"<",
"/",
"tt",
">",
"from",
"the",
"matched",
"text"
] | [
"return",
"zz",
"buffer",
"[",
"zz",
"start",
"read",
"+",
"pos",
"]",
";"
] |
[
"reports",
"an",
"error",
"that",
"occured",
"while",
"scanning"
] | [
"string",
"message",
";",
"try",
"{",
"message",
"=",
"zz",
"error",
"msg",
"[",
"error",
"code",
"]",
";",
"}",
"catch",
"(",
"array",
"index",
"out",
"of",
"bounds",
"exception",
"e",
")",
"{",
"message",
"=",
"zz",
"error",
"msg",
"[",
"zz",
"un... |
[
"if",
"the",
"query",
"is",
"a",
"boolean",
"query",
"and",
"it",
"contains",
"a",
"single",
"occur",
"must",
"not",
"clause",
"it",
"will",
"be",
"returned",
"as",
"is",
"otherwise",
"it",
"will",
"be",
"wrapped",
"in",
"a",
"boolean",
"clause",
"with",... | [
"if",
"(",
"query",
"instanceof",
"boolean",
"query",
")",
"{",
"boolean",
"clause",
"[",
"]",
"clauses",
"=",
"(",
"(",
"boolean",
"query",
")",
"query",
")",
"get",
"clauses",
"(",
")",
";",
"if",
"(",
"clauses",
"length",
"=",
"=",
"1",
"&",
"&"... |
[
"template",
"method"
] | [
"if",
"(",
"right",
"hand",
"side",
"instanceof",
"operation",
")",
"{",
"operation",
"<",
"?",
">",
"operation",
"=",
"(",
"operation",
"<",
"?",
">",
")",
"right",
"hand",
"side",
";",
"if",
"(",
"operation",
"get",
"operator",
"(",
")",
"=",
"=",
... |
[
"template",
"method"
] | [
"string",
"str",
"=",
"right",
"hand",
"side",
"to",
"string",
"(",
")",
";",
"if",
"(",
"lower",
"case",
")",
"{",
"str",
"=",
"str",
"to",
"lower",
"case",
"(",
")",
";",
"}",
"if",
"(",
"split",
"terms",
")",
"{",
"if",
"(",
"str",
"equals",... |
[
"retrieves",
"the",
"connection",
"id",
"that",
"is",
"being",
"used",
"in",
"the",
"present",
"connection",
"this",
"method",
"will",
"return",
"-",
"1",
"if",
"no",
"connection",
"id",
"is",
"being",
"used"
] | [
"return",
"m",
"connection",
"id",
";"
] |
[
"called",
"when",
"a",
"connect",
"request",
"is",
"received",
"<",
"p",
">",
"if",
"this",
"method",
"is",
"not",
"implemented",
"by",
"the",
"class",
"that",
"extends",
"this",
"class",
"<",
"code",
">",
"on",
"connect",
"(",
")",
"<",
"/",
"code",
... | [
"return",
"response",
"codes",
"obex",
"http",
"ok",
";"
] |
[
"called",
"when",
"a",
"disconnect",
"request",
"is",
"received",
"<",
"p",
">",
"the",
"headers",
"received",
"in",
"the",
"request",
"can",
"be",
"retrieved",
"from",
"the",
"<",
"code",
">",
"request",
"<",
"/",
"code",
">",
"argument",
"the",
"header... | [] |
[
"called",
"when",
"a",
"setpath",
"request",
"is",
"received",
"<",
"p",
">",
"if",
"this",
"method",
"is",
"not",
"implemented",
"by",
"the",
"class",
"that",
"extends",
"this",
"class",
"<",
"code",
">",
"on",
"set",
"path",
"(",
")",
"<",
"/",
"co... | [
"return",
"response",
"codes",
"obex",
"http",
"not",
"implemented",
";"
] |
[
"called",
"when",
"a",
"delete",
"request",
"is",
"received",
"<",
"p",
">",
"if",
"this",
"method",
"is",
"not",
"implemented",
"by",
"the",
"class",
"that",
"extends",
"this",
"class",
"<",
"code",
">",
"on",
"delete",
"(",
")",
"<",
"/",
"code",
"... | [
"return",
"response",
"codes",
"obex",
"http",
"not",
"implemented",
";"
] |
[
"called",
"when",
"a",
"abort",
"request",
"is",
"received"
] | [
"return",
"response",
"codes",
"obex",
"http",
"not",
"implemented",
";"
] |
[
"called",
"when",
"a",
"put",
"request",
"is",
"received",
"<",
"p",
">",
"if",
"this",
"method",
"is",
"not",
"implemented",
"by",
"the",
"class",
"that",
"extends",
"this",
"class",
"<",
"code",
">",
"on",
"put",
"(",
")",
"<",
"/",
"code",
">",
... | [
"return",
"response",
"codes",
"obex",
"http",
"not",
"implemented",
";"
] |
[
"called",
"when",
"a",
"get",
"request",
"is",
"received",
"<",
"p",
">",
"if",
"this",
"method",
"is",
"not",
"implemented",
"by",
"the",
"class",
"that",
"extends",
"this",
"class",
"<",
"code",
">",
"on",
"get",
"(",
")",
"<",
"/",
"code",
">",
... | [
"return",
"response",
"codes",
"obex",
"http",
"not",
"implemented",
";"
] |
[
"called",
"when",
"this",
"object",
"attempts",
"to",
"authenticate",
"a",
"client",
"and",
"the",
"authentication",
"request",
"fails",
"because",
"the",
"response",
"digest",
"in",
"the",
"authentication",
"response",
"header",
"was",
"wrong",
"<",
"p",
">",
... | [] |
[
"called",
"by",
"server",
"session",
"to",
"update",
"the",
"status",
"of",
"current",
"transaction",
"<",
"p",
">",
"if",
"this",
"method",
"is",
"not",
"implemented",
"by",
"the",
"class",
"that",
"extends",
"this",
"class",
"this",
"method",
"will",
"do... | [] |
[
"called",
"to",
"notify",
"when",
"our",
"device",
"has",
"been",
"closed",
"by",
"all",
"its",
"clients"
] | [] |
[
"override",
"to",
"add",
"single",
"response",
"mode",
"support",
"-",
"e",
"g",
"if",
"the",
"supplied",
"transport",
"is",
"l",
"2cap"
] | [
"return",
"false",
";"
] |
[
"sets",
"the",
"db",
"access",
"related",
"fields",
"in",
"the",
"{"
] | [
"conf",
"set",
"(",
"driver",
"class",
"property",
",",
"driver",
"class",
")",
";",
"conf",
"set",
"(",
"url",
"property",
",",
"db",
"url",
")",
";",
"if",
"(",
"user",
"name",
"!",
"=",
"null",
")",
"{",
"conf",
"set",
"(",
"username",
"property... |
[
"sets",
"the",
"db",
"access",
"related",
"fields",
"in",
"the",
"job",
"conf"
] | [
"configure",
"d",
"b",
"(",
"job",
",",
"driver",
"class",
",",
"db",
"url",
",",
"null",
",",
"null",
")",
";"
] |
[
"returns",
"a",
"connection",
"object",
"o",
"the",
"db"
] | [
"class",
"for",
"name",
"(",
"conf",
"get",
"(",
"d",
"b",
"configuration",
"driver",
"class",
"property",
")",
")",
";",
"if",
"(",
"conf",
"get",
"(",
"d",
"b",
"configuration",
"username",
"property",
")",
"=",
"=",
"null",
")",
"{",
"return",
"dr... |
[
"peek",
"a",
"value",
"then",
"read",
"it",
"recursively"
] | [
"json",
"reader",
"token",
"token",
"=",
"reader",
"peek",
"(",
")",
";",
"if",
"(",
"peek",
"json",
"first",
")",
"{",
"read",
"value",
"(",
"reader",
"peek",
"json",
"(",
")",
",",
"false",
")",
";",
"}",
"switch",
"(",
"token",
")",
"{",
"case... |
[
"update",
"the",
"cpu",
"image",
"s",
"contents",
"after",
"the",
"scene",
"has",
"been",
"rendered",
"to",
"the",
"framebuffer"
] | [
"update",
"image",
"contents",
"(",
")",
";"
] |
[
"sets",
"the",
"text",
"to",
"show",
"in",
"the",
"title",
"bar",
"if",
"a",
"title",
"bar",
"is",
"to",
"be",
"shown",
"this",
"must",
"be",
"called",
"prior",
"to",
"the",
"fragment",
"going",
"through",
"its",
"creation",
"lifecycle",
"to",
"have",
... | [
"this",
"title",
"text",
"=",
"title",
"text",
";"
] |
[
"<",
"p",
">",
"list",
"of",
"option",
"groups",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"option",
"groups",
"list",
"=",
"=",
"null",
")",
"{",
"option",
"groups",
"list",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"option",
"group",
">",
"(",
")",
";",
"}",
"return",
"option",
"groups",
"list",... |
[
"<",
"p",
">",
"list",
"of",
"option",
"groups",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"option",
"groups",
"list",
"=",
"=",
"null",
")",
"{",
"this",
"option",
"groups",
"list",
"=",
"null",
";",
"return",
";",
"}",
"this",
"option",
"groups",
"list",
"=",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",... |
[
"<",
"p",
">",
"list",
"of",
"option",
"groups",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"... | [
"if",
"(",
"this",
"option",
"groups",
"list",
"=",
"=",
"null",
")",
"{",
"set",
"option",
"groups",
"list",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"option",
"group",
">",
"(",
"option",
"groups",
"list",
"length",
... |
[
"<",
"p",
">",
"list",
"of",
"option",
"groups",
"<",
"/",
"p",
">"
] | [
"set",
"option",
"groups",
"list",
"(",
"option",
"groups",
"list",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"optional",
"pagination",
"token",
"provided",
"by",
"a",
"previous",
"request",
"if",
"this",
"parameter",
"is",
"specified",
"the",
"response",
"includes",
"only",
"records",
"beyond",
"the",
"marker",
"up",
"to",
"the",
"value",
"spec... | [
"set",
"marker",
"(",
"marker",
")",
";",
"return",
"this",
";"
] |
[
"check",
"if",
"throwable",
"have",
"interrupted",
"*",
"exception",
"as",
"one",
"of",
"its",
"causes"
] | [
"return",
"extractor",
"helper",
"has",
"exact",
"cause",
"throwable",
"(",
"throwable",
",",
"interrupted",
"i",
"o",
"exception",
"class",
",",
"interrupted",
"exception",
"class",
")",
";"
] |
[
"set",
"the",
"hessian",
"proxy",
"factory",
"instance",
"to",
"use",
"if",
"not",
"specified",
"a",
"default",
"hessian",
"proxy",
"factory",
"will",
"be",
"created",
"<",
"p",
">",
"allows",
"to",
"use",
"an",
"externally",
"configured",
"factory",
"instan... | [
"this",
"proxy",
"factory",
"=",
"(",
"proxy",
"factory",
"!",
"=",
"null",
"?",
"proxy",
"factory",
":",
"new",
"hessian",
"proxy",
"factory",
"(",
")",
")",
";"
] |
[
"specify",
"the",
"hessian",
"serializer",
"factory",
"to",
"use",
"<",
"p",
">",
"this",
"will",
"typically",
"be",
"passed",
"in",
"as",
"an",
"inner",
"bean",
"definition",
"of",
"type",
"{"
] | [
"this",
"proxy",
"factory",
"set",
"serializer",
"factory",
"(",
"serializer",
"factory",
")",
";"
] |
[
"set",
"whether",
"to",
"send",
"the",
"java",
"collection",
"type",
"for",
"each",
"serialized",
"collection",
"default",
"is",
"true"
] | [
"this",
"proxy",
"factory",
"get",
"serializer",
"factory",
"(",
")",
"set",
"send",
"collection",
"type",
"(",
"send",
"collection",
"type",
")",
";"
] |
[
"set",
"whether",
"to",
"allow",
"non",
"-",
"serializable",
"types",
"as",
"hessian",
"arguments",
"and",
"return",
"values",
"default",
"is",
"true"
] | [
"this",
"proxy",
"factory",
"get",
"serializer",
"factory",
"(",
")",
"set",
"allow",
"non",
"serializable",
"(",
"allow",
"non",
"serializable",
")",
";"
] |
[
"set",
"whether",
"overloaded",
"methods",
"should",
"be",
"enabled",
"for",
"remote",
"invocations",
"default",
"is",
"false"
] | [
"this",
"proxy",
"factory",
"set",
"overload",
"enabled",
"(",
"overload",
"enabled",
")",
";"
] |
[
"set",
"the",
"username",
"that",
"this",
"factory",
"should",
"use",
"to",
"access",
"the",
"remote",
"service",
"default",
"is",
"none",
"<",
"p",
">",
"the",
"username",
"will",
"be",
"sent",
"by",
"hessian",
"via",
"http",
"basic",
"authentication"
] | [
"this",
"proxy",
"factory",
"set",
"user",
"(",
"username",
")",
";"
] |
[
"set",
"the",
"password",
"that",
"this",
"factory",
"should",
"use",
"to",
"access",
"the",
"remote",
"service",
"default",
"is",
"none",
"<",
"p",
">",
"the",
"password",
"will",
"be",
"sent",
"by",
"hessian",
"via",
"http",
"basic",
"authentication"
] | [
"this",
"proxy",
"factory",
"set",
"password",
"(",
"password",
")",
";"
] |
[
"set",
"whether",
"hessian",
"s",
"debug",
"mode",
"should",
"be",
"enabled",
"default",
"is",
"false"
] | [
"this",
"proxy",
"factory",
"set",
"debug",
"(",
"debug",
")",
";"
] |
[
"set",
"whether",
"to",
"use",
"a",
"chunked",
"post",
"for",
"sending",
"a",
"hessian",
"request"
] | [
"this",
"proxy",
"factory",
"set",
"chunked",
"post",
"(",
"chunked",
"post",
")",
";"
] |
[
"specify",
"a",
"custom",
"hessian",
"connection",
"factory",
"to",
"use",
"for",
"the",
"hessian",
"client"
] | [
"this",
"proxy",
"factory",
"set",
"connection",
"factory",
"(",
"connection",
"factory",
")",
";"
] |
[
"set",
"the",
"socket",
"connect",
"timeout",
"to",
"use",
"for",
"the",
"hessian",
"client"
] | [
"this",
"proxy",
"factory",
"set",
"connect",
"timeout",
"(",
"timeout",
")",
";"
] |
[
"set",
"the",
"timeout",
"to",
"use",
"when",
"waiting",
"for",
"a",
"reply",
"from",
"the",
"hessian",
"service"
] | [
"this",
"proxy",
"factory",
"set",
"read",
"timeout",
"(",
"timeout",
")",
";"
] |
[
"set",
"whether",
"version",
"2",
"of",
"the",
"hessian",
"protocol",
"should",
"be",
"used",
"for",
"parsing",
"requests",
"and",
"replies",
"default",
"is",
"false"
] | [
"this",
"proxy",
"factory",
"set",
"hessian",
"2",
"request",
"(",
"hessian",
"2",
")",
";",
"this",
"proxy",
"factory",
"set",
"hessian",
"2",
"reply",
"(",
"hessian",
"2",
")",
";"
] |
[
"set",
"whether",
"version",
"2",
"of",
"the",
"hessian",
"protocol",
"should",
"be",
"used",
"for",
"parsing",
"requests",
"default",
"is",
"false"
] | [
"this",
"proxy",
"factory",
"set",
"hessian",
"2",
"request",
"(",
"hessian",
"2",
")",
";"
] |
[
"set",
"whether",
"version",
"2",
"of",
"the",
"hessian",
"protocol",
"should",
"be",
"used",
"for",
"parsing",
"replies",
"default",
"is",
"false"
] | [
"this",
"proxy",
"factory",
"set",
"hessian",
"2",
"reply",
"(",
"hessian",
"2",
")",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"session",
"to",
"terminate",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"session",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"language",
"code",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"en",
"<",
"/",
"code",
">",
"-",
"english",
"(",
"default",
")",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<... | [
"set",
"accept",
"language",
"(",
"accept",
"language",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"product",
"identifier",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"product",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"product",
"identifier",
"<",
"/",
"p",
">"
] | [
"set",
"product",
"id",
"(",
"product",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"of",
"the",
"provisioning",
"artifact",
"<",
"/",
"p",
">"
] | [
"this",
"provisioning",
"artifact",
"id",
"=",
"provisioning",
"artifact",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"of",
"the",
"provisioning",
"artifact",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"provisioning",
"artifact",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"of",
"the",
"provisioning",
"artifact",
"<",
"/",
"p",
">"
] | [
"set",
"provisioning",
"artifact",
"id",
"(",
"provisioning",
"artifact",
"id",
")",
";",
"return",
"this",
";"
] |
[
"how",
"to",
"decode",
"a",
"{"
] | [
"protected",
"abstract",
"t",
"decode",
"data",
"buffer",
"(",
"data",
"buffer",
"buffer",
",",
"resolvable",
"type",
"element",
"type",
",",
"@",
"nullable",
"mime",
"type",
"mime",
"type",
",",
"@",
"nullable",
"map",
"<",
"string",
",",
"object",
">",
... |
[
"setter",
"for",
"folder",
"format"
] | [
"this",
"folder",
"pattern",
"=",
"folder",
"pattern",
";"
] |
[
"sets",
"regular",
"expression",
"of",
"the",
"file",
"to",
"exclude"
] | [
"this",
"file",
"name",
"pattern",
"=",
"file",
"name",
"pattern",
";"
] |
[
"sets",
"whether",
"file",
"name",
"matching",
"should",
"drop",
"the",
"file",
"extension",
"or",
"not"
] | [
"this",
"ignore",
"file",
"name",
"extensions",
"=",
"ignore",
"file",
"name",
"extensions",
";"
] |
[
"retrieves",
"the",
"file",
"name",
"from",
"the",
"given",
"{",
"@",
"code",
"file",
"}"
] | [
"string",
"file",
"name",
"=",
"file",
"get",
"name",
"(",
")",
";",
"if",
"(",
"ignore",
"file",
"name",
"extensions",
")",
"{",
"file",
"name",
"=",
"common",
"util",
"get",
"file",
"name",
"without",
"extension",
"(",
"file",
"name",
")",
";",
"}"... |
[
"logs",
"the",
"errors",
"for",
"the",
"check"
] | [
"final",
"string",
"folder",
"=",
"get",
"string",
"or",
"default",
"(",
"folder",
"pattern",
",",
"\"",
"\"",
")",
";",
"final",
"string",
"file",
"name",
"=",
"get",
"string",
"or",
"default",
"(",
"file",
"name",
"pattern",
",",
"\"",
"\"",
")",
"... |
[
"retrieves",
"the",
"string",
"form",
"of",
"the",
"{",
"@",
"code",
"pattern",
"}",
"or",
"{",
"@",
"code",
"default",
"string",
"}",
"if",
"null"
] | [
"final",
"string",
"result",
";",
"if",
"(",
"pattern",
"=",
"=",
"null",
")",
"{",
"result",
"=",
"default",
"string",
";",
"}",
"else",
"{",
"result",
"=",
"pattern",
"to",
"string",
"(",
")",
";",
"}",
"return",
"result",
";"
] |
[
"returns",
"a",
"current",
"presenter",
"factory"
] | [
"return",
"presenter",
"delegate",
"get",
"presenter",
"factory",
"(",
")",
";"
] |
[
"sets",
"a",
"presenter",
"factory",
"call",
"this",
"method",
"before",
"on",
"create",
"/",
"on",
"finish",
"inflate",
"to",
"override",
"default",
"{"
] | [
"presenter",
"delegate",
"set",
"presenter",
"factory",
"(",
"presenter",
"factory",
")",
";"
] |
[
"returns",
"a",
"current",
"attached",
"presenter",
"this",
"method",
"is",
"guaranteed",
"to",
"return",
"a",
"non",
"-",
"null",
"value",
"between",
"on",
"resume",
"/",
"on",
"pause",
"and",
"on",
"attached",
"to",
"window",
"/",
"on",
"detached",
"from... | [
"return",
"presenter",
"delegate",
"get",
"presenter",
"(",
")",
";"
] |
[
"close",
"the",
"connection",
"passed",
"ignoring",
"any",
"s",
"q",
"l",
"exception",
"thrown",
"by",
"the",
"close",
"(",
")",
"method"
] | [
"if",
"(",
"obj",
"!",
"=",
"null",
")",
"{",
"try",
"{",
"obj",
"close",
"(",
")",
";",
"}",
"catch",
"(",
"s",
"q",
"l",
"exception",
"ex",
")",
"{",
"}",
"}"
] |
[
"close",
"the",
"statement",
"passed",
"ignoring",
"any",
"s",
"q",
"l",
"exception",
"thrown",
"by",
"the",
"close",
"(",
")",
"method"
] | [
"if",
"(",
"obj",
"!",
"=",
"null",
")",
"{",
"try",
"{",
"obj",
"close",
"(",
")",
";",
"}",
"catch",
"(",
"s",
"q",
"l",
"exception",
"ex",
")",
"{",
"}",
"}"
] |
[
"close",
"the",
"result",
"set",
"passed",
"ignoring",
"any",
"s",
"q",
"l",
"exception",
"thrown",
"by",
"the",
"close",
"(",
")",
"method"
] | [
"if",
"(",
"obj",
"!",
"=",
"null",
")",
"{",
"try",
"{",
"obj",
"close",
"(",
")",
";",
"}",
"catch",
"(",
"s",
"q",
"l",
"exception",
"ex",
")",
"{",
"}",
"}"
] |
[
"todo",
"-",
"why",
"do",
"i",
"need",
"to",
"override",
"this",
"method"
] | [
"super",
"perform",
"tests",
"(",
"bean",
"method",
")",
";"
] |
[
"executes",
"all",
"the",
"operations",
"on",
"the",
"partitions"
] | [
"return",
"this",
"<",
"t",
">",
"invoke",
"async",
"(",
"null",
")",
"get",
"(",
")",
";"
] |
[
"configure",
"a",
"{"
] | [
"this",
"url",
"path",
"helper",
"=",
"url",
"path",
"helper",
";"
] |
[
"return",
"the",
"url",
"path",
"helper",
"implementation",
"to",
"use"
] | [
"return",
"this",
"url",
"path",
"helper",
";"
] |
[
"specify",
"the",
"{"
] | [
"this",
"path",
"matcher",
"=",
"path",
"matcher",
";"
] |
[
"return",
"the",
"path",
"matcher",
"implementation",
"to",
"use",
"for",
"matching",
"destinations"
] | [
"return",
"this",
"path",
"matcher",
";"
] |
[
"manually",
"configure",
"the",
"resource",
"mappings",
"<",
"p",
">",
"<",
"strong",
">",
"note",
":",
"<",
"/",
"strong",
">",
"by",
"default",
"resource",
"mappings",
"are",
"auto",
"-",
"detected",
"from",
"the",
"spring",
"{"
] | [
"if",
"(",
"handler",
"map",
"!",
"=",
"null",
")",
"{",
"this",
"handler",
"map",
"clear",
"(",
")",
";",
"this",
"handler",
"map",
"put",
"all",
"(",
"handler",
"map",
")",
";",
"this",
"autodetect",
"=",
"false",
";",
"}"
] |
[
"return",
"the",
"resource",
"mappings",
"either",
"manually",
"configured",
"or",
"auto",
"-",
"detected",
"when",
"the",
"spring",
"{"
] | [
"return",
"this",
"handler",
"map",
";"
] |
[
"return",
"{"
] | [
"return",
"this",
"autodetect",
";"
] |
[
"a",
"variation",
"on",
"{"
] | [
"int",
"prefix",
"index",
"=",
"get",
"lookup",
"path",
"index",
"(",
"request",
")",
";",
"int",
"suffix",
"index",
"=",
"get",
"end",
"path",
"index",
"(",
"request",
"url",
")",
";",
"if",
"(",
"prefix",
"index",
">",
"=",
"suffix",
"index",
")",
... |
[
"sets",
"up",
"the",
"buffer",
"before",
"a",
"test",
"runs"
] | [
"m",
"buffer",
"=",
"unpooled",
"buffer",
"(",
"length",
")",
";"
] |
[
"releases",
"the",
"buffer",
"a",
"test",
"ran"
] | [
"release",
"buffer",
"helper",
"(",
")",
";"
] |
[
"tests",
"the",
"{"
] | [
"data",
"netty",
"buffer",
"data",
"=",
"new",
"data",
"netty",
"buffer",
"(",
"m",
"buffer",
",",
"length",
")",
";",
"assert",
"equals",
"(",
"length",
",",
"data",
"get",
"length",
"(",
")",
")",
";"
] |
[
"tests",
"the",
"{"
] | [
"data",
"netty",
"buffer",
"data",
"=",
"new",
"data",
"netty",
"buffer",
"(",
"m",
"buffer",
",",
"length",
")",
";",
"byte",
"buffer",
"read",
"only",
"buffer",
"=",
"data",
"get",
"read",
"only",
"byte",
"buffer",
"(",
")",
";",
"assert",
"true",
... |
[
"returns",
"the",
"image",
"resource",
"associated",
"with",
"file"
] | [
"return",
"image",
";"
] |
[
"returns",
"some",
"element",
"of",
"the",
"name",
"patterns",
"set",
"or",
"{",
"@",
"code",
"null",
"}",
"if",
"the",
"set",
"is",
"empty"
] | [
"return",
"name",
"patterns",
"is",
"empty",
"(",
")",
"?",
"null",
":",
"name",
"patterns",
"iterator",
"(",
")",
"next",
"(",
")",
";"
] |
[
"returns",
"the",
"name",
"patterns",
"set",
"describing",
"the",
"file",
"type"
] | [
"return",
"name",
"patterns",
"is",
"empty",
"(",
")",
"?",
"empty",
"set",
":",
"new",
"hash",
"set",
"<",
">",
"(",
"name",
"patterns",
")",
";"
] |
[
"sets",
"image",
"associated",
"with",
"the",
"file",
"type"
] | [
"this",
"image",
"=",
"image",
";"
] |
[
"adds",
"name",
"pattern",
"describing",
"the",
"file",
"type"
] | [
"add",
"name",
"pattern",
"(",
"name",
"pattern",
")",
";"
] |
[
"adds",
"name",
"pattern",
"describing",
"the",
"file",
"type"
] | [
"if",
"(",
"is",
"null",
"or",
"empty",
"(",
"name",
"pattern",
")",
")",
"{",
"return",
"false",
";",
"}",
"return",
"name",
"patterns",
"add",
"(",
"name",
"pattern",
")",
";"
] |
[
"start",
"listening",
"for",
"phone",
"state",
"changes"
] | [
"m",
"phone",
"listen",
"(",
"m",
"phone",
"state",
"listener",
",",
"phone",
"state",
"listener",
"listen",
"service",
"state",
"|",
"phone",
"state",
"listener",
"listen",
"signal",
"strengths",
"|",
"phone",
"state",
"listener",
"listen",
"call",
"state",
... |
[
"stop",
"listening",
"for",
"phone",
"state",
"changes"
] | [
"m",
"phone",
"listen",
"(",
"m",
"phone",
"state",
"listener",
",",
"0",
")",
";",
"m",
"context",
"get",
"content",
"resolver",
"(",
")",
"unregister",
"content",
"observer",
"(",
"m",
"observer",
")",
";"
] |
[
"produce",
"a",
"mapping",
"of",
"data",
"network",
"types",
"to",
"icon",
"groups",
"for",
"simple",
"and",
"quick",
"use",
"in",
"update",
"telephony"
] | [
"m",
"network",
"to",
"icon",
"lookup",
"clear",
"(",
")",
";",
"m",
"network",
"to",
"icon",
"lookup",
"put",
"(",
"telephony",
"manager",
"network",
"type",
"evdo",
"0",
",",
"telephony",
"icons",
"three",
"g",
")",
";",
"m",
"network",
"to",
"icon",... |
[
"convert",
"values",
"to",
"object",
"writable"
] | [
"object",
"writable",
"obj",
"write",
"=",
"new",
"object",
"writable",
"(",
")",
";",
"obj",
"write",
"set",
"(",
"value",
")",
";",
"output",
"collect",
"(",
"key",
",",
"obj",
"write",
")",
";"
] |
[
"set",
"the",
"span",
"of",
"flag"
] | [
"this",
"flag",
"=",
"flag",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"span",
"of",
"foreground",
"s",
"color"
] | [
"this",
"foreground",
"color",
"=",
"color",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"span",
"of",
"background",
"s",
"color"
] | [
"this",
"background",
"color",
"=",
"color",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"span",
"of",
"line",
"height"
] | [
"return",
"set",
"line",
"height",
"(",
"line",
"height",
",",
"align",
"center",
")",
";"
] |
[
"set",
"the",
"span",
"of",
"line",
"height"
] | [
"this",
"line",
"height",
"=",
"line",
"height",
";",
"this",
"align",
"line",
"=",
"align",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"span",
"of",
"quote",
"s",
"color"
] | [
"return",
"set",
"quote",
"color",
"(",
"color",
",",
"2",
",",
"2",
")",
";"
] |
[
"set",
"the",
"span",
"of",
"quote",
"s",
"color"
] | [
"this",
"quote",
"color",
"=",
"color",
";",
"this",
"stripe",
"width",
"=",
"stripe",
"width",
";",
"this",
"quote",
"gap",
"width",
"=",
"gap",
"width",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"span",
"of",
"leading",
"margin"
] | [
"this",
"first",
"=",
"first",
";",
"this",
"rest",
"=",
"rest",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"span",
"of",
"bullet"
] | [
"return",
"set",
"bullet",
"(",
"0",
",",
"3",
",",
"gap",
"width",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.