docstring_tokens list | code_tokens list |
|---|---|
[
"set",
"the",
"name",
"of",
"the",
"target",
"scope",
"for",
"the",
"bean",
"<",
"p",
">",
"the",
"default",
"is",
"singleton",
"status",
"although",
"this",
"is",
"only",
"applied",
"once",
"a",
"bean",
"definition",
"becomes",
"active",
"in",
"the",
"c... | [
"this",
"scope",
"=",
"scope",
";"
] |
[
"return",
"the",
"name",
"of",
"the",
"target",
"scope",
"for",
"the",
"bean"
] | [
"return",
"this",
"scope",
";"
] |
[
"return",
"whether",
"this",
"a",
"<",
"b",
">",
"singleton",
"<",
"/",
"b",
">",
"with",
"a",
"single",
"shared",
"instance",
"returned",
"from",
"all",
"calls"
] | [
"return",
"scope",
"singleton",
"equals",
"(",
"this",
"scope",
")",
"|",
"|",
"scope",
"default",
"equals",
"(",
"this",
"scope",
")",
";"
] |
[
"return",
"whether",
"this",
"a",
"<",
"b",
">",
"prototype",
"<",
"/",
"b",
">",
"with",
"an",
"independent",
"instance",
"returned",
"for",
"each",
"call"
] | [
"return",
"scope",
"prototype",
"equals",
"(",
"this",
"scope",
")",
";"
] |
[
"set",
"if",
"this",
"bean",
"is",
"abstract",
"i",
"e",
"not",
"meant",
"to",
"be",
"instantiated",
"itself",
"but",
"rather",
"just",
"serving",
"as",
"parent",
"for",
"concrete",
"child",
"bean",
"definitions",
"<",
"p",
">",
"default",
"is",
"false",
... | [
"this",
"abstract",
"flag",
"=",
"abstract",
"flag",
";"
] |
[
"return",
"whether",
"this",
"bean",
"is",
"abstract",
"i",
"e",
"not",
"meant",
"to",
"be",
"instantiated",
"itself",
"but",
"rather",
"just",
"serving",
"as",
"parent",
"for",
"concrete",
"child",
"bean",
"definitions"
] | [
"return",
"this",
"abstract",
"flag",
";"
] |
[
"set",
"whether",
"this",
"bean",
"should",
"be",
"lazily",
"initialized",
"<",
"p",
">",
"if",
"{"
] | [
"this",
"lazy",
"init",
"=",
"lazy",
"init",
";"
] |
[
"return",
"whether",
"this",
"bean",
"should",
"be",
"lazily",
"initialized",
"i",
"e",
"not",
"eagerly",
"instantiated",
"on",
"startup",
"only",
"applicable",
"to",
"a",
"singleton",
"bean"
] | [
"return",
"this",
"lazy",
"init",
";"
] |
[
"set",
"the",
"names",
"of",
"the",
"beans",
"that",
"this",
"bean",
"depends",
"on",
"being",
"initialized",
"the",
"bean",
"factory",
"will",
"guarantee",
"that",
"these",
"beans",
"get",
"initialized",
"first",
"<",
"p",
">",
"note",
"that",
"dependencies... | [
"this",
"depends",
"on",
"=",
"depends",
"on",
";"
] |
[
"return",
"the",
"bean",
"names",
"that",
"this",
"bean",
"depends",
"on"
] | [
"return",
"this",
"depends",
"on",
";"
] |
[
"set",
"whether",
"this",
"bean",
"is",
"a",
"candidate",
"for",
"getting",
"autowired",
"into",
"some",
"other",
"bean",
"<",
"p",
">",
"note",
"that",
"this",
"flag",
"is",
"designed",
"to",
"only",
"affect",
"type",
"-",
"based",
"autowiring",
"it",
"... | [
"this",
"autowire",
"candidate",
"=",
"autowire",
"candidate",
";"
] |
[
"return",
"whether",
"this",
"bean",
"is",
"a",
"candidate",
"for",
"getting",
"autowired",
"into",
"some",
"other",
"bean"
] | [
"return",
"this",
"autowire",
"candidate",
";"
] |
[
"set",
"whether",
"this",
"bean",
"is",
"a",
"primary",
"autowire",
"candidate",
"<",
"p",
">",
"if",
"this",
"value",
"is",
"{"
] | [
"this",
"primary",
"=",
"primary",
";"
] |
[
"return",
"whether",
"this",
"bean",
"is",
"a",
"primary",
"autowire",
"candidate"
] | [
"return",
"this",
"primary",
";"
] |
[
"register",
"a",
"qualifier",
"to",
"be",
"used",
"for",
"autowire",
"candidate",
"resolution",
"keyed",
"by",
"the",
"qualifier",
"s",
"type",
"name"
] | [
"this",
"qualifiers",
"put",
"(",
"qualifier",
"get",
"type",
"name",
"(",
")",
",",
"qualifier",
")",
";"
] |
[
"return",
"whether",
"this",
"bean",
"has",
"the",
"specified",
"qualifier"
] | [
"return",
"this",
"qualifiers",
"key",
"set",
"(",
")",
"contains",
"(",
"type",
"name",
")",
";"
] |
[
"return",
"the",
"qualifier",
"mapped",
"to",
"the",
"provided",
"type",
"name"
] | [
"return",
"this",
"qualifiers",
"get",
"(",
"type",
"name",
")",
";"
] |
[
"return",
"all",
"registered",
"qualifiers"
] | [
"return",
"new",
"linked",
"hash",
"set",
"<",
">",
"(",
"this",
"qualifiers",
"values",
"(",
")",
")",
";"
] |
[
"specify",
"a",
"callback",
"for",
"creating",
"an",
"instance",
"of",
"the",
"bean",
"as",
"an",
"alternative",
"to",
"a",
"declaratively",
"specified",
"factory",
"method",
"<",
"p",
">",
"if",
"such",
"a",
"callback",
"is",
"set",
"it",
"will",
"overrid... | [
"this",
"instance",
"supplier",
"=",
"instance",
"supplier",
";"
] |
[
"return",
"a",
"callback",
"for",
"creating",
"an",
"instance",
"of",
"the",
"bean",
"if",
"any"
] | [
"return",
"this",
"instance",
"supplier",
";"
] |
[
"specify",
"whether",
"to",
"allow",
"access",
"to",
"non",
"-",
"public",
"constructors",
"and",
"methods",
"for",
"the",
"case",
"of",
"externalized",
"metadata",
"pointing",
"to",
"those",
"the",
"default",
"is",
"{"
] | [
"this",
"non",
"public",
"access",
"allowed",
"=",
"non",
"public",
"access",
"allowed",
";"
] |
[
"return",
"whether",
"to",
"allow",
"access",
"to",
"non",
"-",
"public",
"constructors",
"and",
"methods"
] | [
"return",
"this",
"non",
"public",
"access",
"allowed",
";"
] |
[
"specify",
"whether",
"to",
"resolve",
"constructors",
"in",
"lenient",
"mode",
"(",
"{"
] | [
"this",
"lenient",
"constructor",
"resolution",
"=",
"lenient",
"constructor",
"resolution",
";"
] |
[
"return",
"whether",
"to",
"resolve",
"constructors",
"in",
"lenient",
"mode",
"or",
"in",
"strict",
"mode"
] | [
"return",
"this",
"lenient",
"constructor",
"resolution",
";"
] |
[
"specify",
"the",
"factory",
"bean",
"to",
"use",
"if",
"any",
"this",
"the",
"name",
"of",
"the",
"bean",
"to",
"call",
"the",
"specified",
"factory",
"method",
"on"
] | [
"this",
"factory",
"bean",
"name",
"=",
"factory",
"bean",
"name",
";"
] |
[
"return",
"the",
"factory",
"bean",
"name",
"if",
"any"
] | [
"return",
"this",
"factory",
"bean",
"name",
";"
] |
[
"specify",
"a",
"factory",
"method",
"if",
"any",
"this",
"method",
"will",
"be",
"invoked",
"with",
"constructor",
"arguments",
"or",
"with",
"no",
"arguments",
"if",
"none",
"are",
"specified",
"the",
"method",
"will",
"be",
"invoked",
"on",
"the",
"specif... | [
"this",
"factory",
"method",
"name",
"=",
"factory",
"method",
"name",
";"
] |
[
"return",
"a",
"factory",
"method",
"if",
"any"
] | [
"return",
"this",
"factory",
"method",
"name",
";"
] |
[
"specify",
"constructor",
"argument",
"values",
"for",
"this",
"bean"
] | [
"this",
"constructor",
"argument",
"values",
"=",
"constructor",
"argument",
"values",
";"
] |
[
"return",
"constructor",
"argument",
"values",
"for",
"this",
"bean",
"(",
"never",
"{"
] | [
"if",
"(",
"this",
"constructor",
"argument",
"values",
"=",
"=",
"null",
")",
"{",
"this",
"constructor",
"argument",
"values",
"=",
"new",
"constructor",
"argument",
"values",
"(",
")",
";",
"}",
"return",
"this",
"constructor",
"argument",
"values",
";"
] |
[
"return",
"if",
"there",
"are",
"constructor",
"argument",
"values",
"defined",
"for",
"this",
"bean"
] | [
"return",
"(",
"this",
"constructor",
"argument",
"values",
"!",
"=",
"null",
"&",
"&",
"!",
"this",
"constructor",
"argument",
"values",
"is",
"empty",
"(",
")",
")",
";"
] |
[
"specify",
"property",
"values",
"for",
"this",
"bean",
"if",
"any"
] | [
"this",
"property",
"values",
"=",
"property",
"values",
";"
] |
[
"return",
"property",
"values",
"for",
"this",
"bean",
"(",
"never",
"{"
] | [
"if",
"(",
"this",
"property",
"values",
"=",
"=",
"null",
")",
"{",
"this",
"property",
"values",
"=",
"new",
"mutable",
"property",
"values",
"(",
")",
";",
"}",
"return",
"this",
"property",
"values",
";"
] |
[
"return",
"if",
"there",
"are",
"property",
"values",
"values",
"defined",
"for",
"this",
"bean"
] | [
"return",
"(",
"this",
"property",
"values",
"!",
"=",
"null",
"&",
"&",
"!",
"this",
"property",
"values",
"is",
"empty",
"(",
")",
")",
";"
] |
[
"specify",
"method",
"overrides",
"for",
"the",
"bean",
"if",
"any"
] | [
"this",
"method",
"overrides",
"=",
"method",
"overrides",
";"
] |
[
"return",
"information",
"about",
"methods",
"to",
"be",
"overridden",
"by",
"the",
"io",
"c",
"container",
"this",
"will",
"be",
"empty",
"if",
"there",
"are",
"no",
"method",
"overrides",
"<",
"p",
">",
"never",
"returns",
"{"
] | [
"if",
"(",
"this",
"method",
"overrides",
"=",
"=",
"null",
")",
"{",
"this",
"method",
"overrides",
"=",
"new",
"method",
"overrides",
"(",
")",
";",
"}",
"return",
"this",
"method",
"overrides",
";"
] |
[
"return",
"if",
"there",
"are",
"method",
"overrides",
"defined",
"for",
"this",
"bean"
] | [
"return",
"(",
"this",
"method",
"overrides",
"!",
"=",
"null",
"&",
"&",
"!",
"this",
"method",
"overrides",
"is",
"empty",
"(",
")",
")",
";"
] |
[
"set",
"the",
"name",
"of",
"the",
"initializer",
"method",
"<",
"p",
">",
"the",
"default",
"is",
"{"
] | [
"this",
"init",
"method",
"name",
"=",
"init",
"method",
"name",
";"
] |
[
"return",
"the",
"name",
"of",
"the",
"initializer",
"method"
] | [
"return",
"this",
"init",
"method",
"name",
";"
] |
[
"specify",
"whether",
"or",
"not",
"the",
"configured",
"init",
"method",
"is",
"the",
"default",
"<",
"p",
">",
"the",
"default",
"value",
"is",
"{"
] | [
"this",
"enforce",
"init",
"method",
"=",
"enforce",
"init",
"method",
";"
] |
[
"indicate",
"whether",
"the",
"configured",
"init",
"method",
"is",
"the",
"default"
] | [
"return",
"this",
"enforce",
"init",
"method",
";"
] |
[
"set",
"the",
"name",
"of",
"the",
"destroy",
"method",
"<",
"p",
">",
"the",
"default",
"is",
"{"
] | [
"this",
"destroy",
"method",
"name",
"=",
"destroy",
"method",
"name",
";"
] |
[
"return",
"the",
"name",
"of",
"the",
"destroy",
"method"
] | [
"return",
"this",
"destroy",
"method",
"name",
";"
] |
[
"specify",
"whether",
"or",
"not",
"the",
"configured",
"destroy",
"method",
"is",
"the",
"default",
"<",
"p",
">",
"the",
"default",
"value",
"is",
"{"
] | [
"this",
"enforce",
"destroy",
"method",
"=",
"enforce",
"destroy",
"method",
";"
] |
[
"indicate",
"whether",
"the",
"configured",
"destroy",
"method",
"is",
"the",
"default"
] | [
"return",
"this",
"enforce",
"destroy",
"method",
";"
] |
[
"sets",
"this",
"node",
"as",
"a",
"node",
"added",
"by",
"the",
"compiler",
"<",
"b",
">",
"note",
"<",
"/",
"b",
">",
":",
"this",
"method",
"has",
"nothing",
"to",
"do",
"with",
"the",
"synthetic",
"flag",
"for",
"fields",
"methods",
"or",
"classe... | [
"this",
"synthetic",
"=",
"synthetic",
";"
] |
[
"return",
"whether",
"this",
"bean",
"definition",
"is",
"synthetic",
"that",
"is",
"not",
"defined",
"by",
"the",
"application",
"itself"
] | [
"return",
"this",
"synthetic",
";"
] |
[
"set",
"the",
"role",
"hint",
"for",
"this",
"{"
] | [
"this",
"role",
"=",
"role",
";"
] |
[
"return",
"the",
"role",
"hint",
"for",
"this",
"{"
] | [
"return",
"this",
"role",
";"
] |
[
"return",
"a",
"human",
"-",
"readable",
"description",
"of",
"this",
"bean",
"definition"
] | [
"return",
"this",
"description",
";"
] |
[
"set",
"the",
"resource",
"that",
"this",
"bean",
"definition",
"came",
"from",
"(",
"for",
"the",
"purpose",
"of",
"showing",
"context",
"in",
"case",
"of",
"errors",
")"
] | [
"this",
"resource",
"=",
"resource",
";"
] |
[
"set",
"a",
"description",
"of",
"the",
"resource",
"that",
"this",
"bean",
"definition",
"came",
"from",
"(",
"for",
"the",
"purpose",
"of",
"showing",
"context",
"in",
"case",
"of",
"errors",
")"
] | [
"this",
"resource",
"=",
"(",
"resource",
"description",
"!",
"=",
"null",
"?",
"new",
"descriptive",
"resource",
"(",
"resource",
"description",
")",
":",
"null",
")",
";"
] |
[
"return",
"a",
"description",
"of",
"the",
"resource",
"that",
"this",
"bean",
"definition",
"came",
"from",
"(",
"for",
"the",
"purpose",
"of",
"showing",
"context",
"in",
"case",
"of",
"errors",
")"
] | [
"return",
"(",
"this",
"resource",
"!",
"=",
"null",
"?",
"this",
"resource",
"get",
"description",
"(",
")",
":",
"null",
")",
";"
] |
[
"set",
"the",
"originating",
"(",
"e",
"g",
"decorated",
")",
"bean",
"definition",
"if",
"any"
] | [
"this",
"resource",
"=",
"new",
"bean",
"definition",
"resource",
"(",
"originating",
"bd",
")",
";"
] |
[
"return",
"the",
"originating",
"bean",
"definition",
"or",
"{"
] | [
"return",
"(",
"this",
"resource",
"instanceof",
"bean",
"definition",
"resource",
"?",
"(",
"(",
"bean",
"definition",
"resource",
")",
"this",
"resource",
")",
"get",
"bean",
"definition",
"(",
")",
":",
"null",
")",
";"
] |
[
"public",
"declaration",
"of",
"object",
"s",
"{"
] | [
"return",
"clone",
"bean",
"definition",
"(",
")",
";"
] |
[
"clone",
"this",
"bean",
"definition",
"to",
"be",
"implemented",
"by",
"concrete",
"subclasses"
] | [
"public",
"abstract",
"abstract",
"bean",
"definition",
"clone",
"bean",
"definition",
"(",
")",
";"
] |
[
"<",
"p",
">",
"the",
"user",
"pool",
"id",
"for",
"the",
"user",
"pool",
"that",
"the",
"users",
"are",
"being",
"imported",
"into",
"<",
"/",
"p",
">"
] | [
"set",
"user",
"pool",
"id",
"(",
"user",
"pool",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"that",
"amazon",
"comprehend",
"generated",
"for",
"the",
"job",
"the",
"operation",
"returns",
"this",
"identifier",
"in",
"its",
"response",
"<",
"/",
"p",
">"
] | [
"this",
"job",
"id",
"=",
"job",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"that",
"amazon",
"comprehend",
"generated",
"for",
"the",
"job",
"the",
"operation",
"returns",
"this",
"identifier",
"in",
"its",
"response",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"job",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"job",
"id",
"for",
"the",
"user",
"import",
"job",
"<",
"/",
"p",
">"
] | [
"set",
"job",
"id",
"(",
"job",
"id",
")",
";",
"return",
"this",
";"
] |
[
"is",
"new",
"boolean"
] | [
"return",
"this",
"id",
"=",
"=",
"null",
";"
] |
[
"sets",
"update",
"info"
] | [
"if",
"(",
"is",
"new",
"(",
")",
")",
"{",
"this",
"creator",
"id",
"=",
"(",
"this",
"last",
"operator",
"id",
"=",
"user",
"get",
"user",
"id",
"(",
")",
")",
";",
"this",
"creator",
"=",
"user",
"get",
"user",
"name",
"(",
")",
";",
"this",... |
[
"releases",
"any",
"resources",
"associated",
"with",
"the",
"surface"
] | [
"release",
"egl",
"surface",
"(",
")",
";"
] |
[
"verify",
"if",
"exported",
"snapshot",
"and",
"copied",
"files",
"matches",
"the",
"original",
"one"
] | [
"test",
"export",
"file",
"system",
"state",
"(",
"table",
"name",
",",
"snapshot",
"name",
",",
"snapshot",
"name",
",",
"table",
"num",
"files",
")",
";"
] |
[
"/",
"*",
"verify",
"if",
"the",
"snapshot",
"folder",
"on",
"file",
"-",
"system",
"1",
"match",
"the",
"one",
"on",
"file",
"-",
"system",
"2"
] | [
"assert",
"equals",
"(",
"list",
"files",
"(",
"fs",
"1",
",",
"root",
"1",
",",
"root",
"1",
")",
",",
"list",
"files",
"(",
"fs",
"2",
",",
"root",
"2",
",",
"root",
"2",
")",
")",
";"
] |
[
"returns",
"the",
"size",
"in",
"bytes",
"of",
"this",
"data",
"type",
"when",
"written",
"to",
"file"
] | [
"return",
"size",
";"
] |
[
"<",
"p",
">",
"the",
"stream",
"id",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"stream",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"stream",
"id",
"<",
"/",
"p",
">"
] | [
"set",
"stream",
"id",
"(",
"stream",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"description",
"of",
"the",
"stream",
"<",
"/",
"p",
">"
] | [
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"files",
"to",
"stream",
"<",
"/",
"p",
">"
] | [
"return",
"files",
";"
] |
[
"<",
"p",
">",
"the",
"files",
"to",
"stream",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"files",
"=",
"=",
"null",
")",
"{",
"this",
"files",
"=",
"null",
";",
"return",
";",
"}",
"this",
"files",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"stream",
"file",
">",
"(",
"files",
")",
";"
] |
[
"<",
"p",
">",
"the",
"files",
"associated",
"with",
"the",
"stream",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"... | [
"if",
"(",
"this",
"files",
"=",
"=",
"null",
")",
"{",
"set",
"files",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"stream",
"file",
">",
"(",
"files",
"length",
")",
")",
";",
"}",
"for",
"(",
"stream",
"file",
"ele",
":",
"files",
")",
... |
[
"<",
"p",
">",
"the",
"files",
"associated",
"with",
"the",
"stream",
"<",
"/",
"p",
">"
] | [
"set",
"files",
"(",
"files",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"iam",
"role",
"that",
"allows",
"the",
"io",
"t",
"service",
"principal",
"assumes",
"to",
"access",
"your",
"s3",
"files",
"<",
"/",
"p",
">"
] | [
"set",
"role",
"arn",
"(",
"role",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"return",
"name",
"of",
"the",
"request",
"attribute",
"that",
"identifies",
"that",
"a",
"request",
"has",
"already",
"been",
"filtered",
"<",
"p",
"/",
">",
"the",
"default",
"implementation",
"takes",
"the",
"configured",
"{",
"@",
"link",
"#",
"get",
"... | [
"string",
"name",
"=",
"get",
"name",
"(",
")",
";",
"if",
"(",
"name",
"=",
"=",
"null",
")",
"{",
"name",
"=",
"get",
"class",
"(",
")",
"get",
"name",
"(",
")",
";",
"}",
"return",
"name",
"+",
"already",
"filtered",
"suffix",
";"
] |
[
"same",
"contract",
"as",
"for",
"{",
"@",
"link",
"#",
"do",
"filter",
"(",
"javax",
"servlet",
"servlet",
"request",
"javax",
"servlet",
"servlet",
"response",
"javax",
"servlet",
"filter",
"chain",
")",
"}",
"but",
"guaranteed",
"to",
"be",
"invoked",
"... | [
"protected",
"abstract",
"void",
"do",
"filter",
"internal",
"(",
"servlet",
"request",
"request",
",",
"servlet",
"response",
"response",
",",
"filter",
"chain",
"chain",
")",
"throws",
"servlet",
"exception",
",",
"i",
"o",
"exception",
";"
] |
[
"checks",
"if",
"the",
"slide",
"-",
"show",
"file",
"embeds",
"any",
"emf",
"document"
] | [
"emf",
"predicate",
"emf",
"predicate",
"=",
"new",
"emf",
"predicate",
"(",
")",
";",
"array",
"list",
"<",
"x",
"s",
"l",
"f",
"picture",
"data",
">",
"embedded",
"emf",
"files",
"=",
"(",
"array",
"list",
"<",
"x",
"s",
"l",
"f",
"picture",
"dat... |
[
"checks",
"if",
"the",
"slide",
"-",
"show",
"contains",
"a",
"small",
"background",
"tile",
"image"
] | [
"tiny",
"tile",
"background",
"predicate",
"tiny",
"tile",
"condition",
"=",
"new",
"tiny",
"tile",
"background",
"predicate",
"(",
")",
";",
"array",
"list",
"<",
"x",
"s",
"l",
"f",
"picture",
"data",
">",
"tile",
"image",
"=",
"(",
"array",
"list",
... |
[
"create",
"a",
"{",
"@",
"link",
"com",
"linkedin",
"r",
"2",
"message",
"stream",
"stream",
"response",
"}",
"using",
"the",
"specified",
"parameters",
"this",
"api",
"should",
"be",
"used",
"if",
"the",
"user",
"does",
"not",
"have",
"a",
"need",
"to",... | [
"return",
"generate",
"multi",
"part",
"m",
"i",
"m",
"e",
"stream",
"response",
"(",
"mime",
"sub",
"type",
",",
"writer",
",",
"collections",
"<",
"string",
",",
"string",
">",
"empty",
"map",
"(",
")",
",",
"new",
"stream",
"response",
"builder",
"(... |
[
"create",
"a",
"{",
"@",
"link",
"com",
"linkedin",
"r",
"2",
"message",
"stream",
"stream",
"response",
"}",
"using",
"the",
"specified",
"parameters",
"this",
"api",
"should",
"be",
"used",
"if",
"the",
"user",
"does",
"not",
"have",
"a",
"need",
"to",... | [
"return",
"generate",
"multi",
"part",
"m",
"i",
"m",
"e",
"stream",
"response",
"(",
"mime",
"sub",
"type",
",",
"writer",
",",
"content",
"type",
"parameters",
",",
"new",
"stream",
"response",
"builder",
"(",
")",
")",
";"
] |
[
"create",
"a",
"{",
"@",
"link",
"com",
"linkedin",
"r",
"2",
"message",
"stream",
"stream",
"response",
"}",
"using",
"the",
"specified",
"parameters",
"this",
"api",
"should",
"be",
"used",
"if",
"the",
"user",
"has",
"a",
"need",
"to",
"specify",
"cus... | [
"return",
"generate",
"multi",
"part",
"m",
"i",
"m",
"e",
"stream",
"response",
"(",
"mime",
"sub",
"type",
",",
"writer",
",",
"content",
"type",
"parameters",
",",
"new",
"stream",
"response",
"builder",
"(",
")",
"set",
"headers",
"(",
"headers",
")"... |
[
"private",
"utility",
"implementation"
] | [
"final",
"string",
"content",
"type",
"header",
"=",
"multi",
"part",
"m",
"i",
"m",
"e",
"utils",
"build",
"m",
"i",
"m",
"e",
"content",
"type",
"header",
"(",
"mime",
"sub",
"type",
"trim",
"(",
")",
",",
"writer",
"get",
"boundary",
"(",
")",
"... |
[
"<",
"p",
">",
"a",
"list",
"of",
"roots",
"that",
"are",
"defined",
"in",
"an",
"organization",
"<",
"/",
"p",
">"
] | [
"return",
"roots",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"roots",
"that",
"are",
"defined",
"in",
"an",
"organization",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"roots",
"=",
"=",
"null",
")",
"{",
"this",
"roots",
"=",
"null",
";",
"return",
";",
"}",
"this",
"roots",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"root",
">",
"(",
"roots",
")",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"roots",
"that",
"are",
"defined",
"in",
"an",
"organization",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"exis... | [
"if",
"(",
"this",
"roots",
"=",
"=",
"null",
")",
"{",
"set",
"roots",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"root",
">",
"(",
"roots",
"length",
")",
")",
";",
"}",
"for",
"(",
"root",
"ele",
":",
"roots",
")",
"{",
"this",
"roots... |
[
"<",
"p",
">",
"a",
"list",
"of",
"roots",
"that",
"are",
"defined",
"in",
"an",
"organization",
"<",
"/",
"p",
">"
] | [
"set",
"roots",
"(",
"roots",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"present",
"this",
"value",
"indicates",
"that",
"there",
"is",
"more",
"output",
"available",
"than",
"is",
"included",
"in",
"the",
"current",
"response",
"use",
"this",
"value",
"in",
"the",
"<",
"code",
">",
"next",
"token",
"<",... | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"construct",
"an",
"asynchronous",
"implementation",
"of",
"amazon",
"workspaces",
"async",
"using",
"the",
"current",
"builder",
"configuration"
] | [
"return",
"new",
"amazon",
"workspaces",
"async",
"client",
"(",
"params",
")",
";"
] |
[
"{"
] | [
"assert",
"type",
"!",
"=",
"type",
"unknown",
";",
"if",
"(",
"type",
"=",
"=",
"type",
"leaf",
")",
"return",
"val",
";",
"else",
"{",
"if",
"(",
"features",
"get",
"(",
"feature",
"id",
")",
"<",
"=",
"val",
")",
"return",
"left",
"apply",
"("... |
[
"returns",
"leaf",
"node",
"for",
"feature",
"vector",
"in",
"according",
"to",
"decision",
"tree"
] | [
"switch",
"(",
"type",
")",
"{",
"case",
"unknown",
":",
"return",
"id",
";",
"case",
"leaf",
":",
"return",
"id",
";",
"default",
":",
"if",
"(",
"features",
"get",
"(",
"feature",
"id",
")",
"<",
"=",
"val",
")",
"return",
"left",
"predict",
"nex... |
[
"convert",
"node",
"to",
"conditional",
"node"
] | [
"assert",
"type",
"=",
"=",
"type",
"unknown",
";",
"to",
"leaf",
"(",
"val",
")",
";",
"left",
"=",
"new",
"tree",
"node",
"(",
"2",
"*",
"id",
"node",
"id",
"(",
")",
",",
"id",
"tree",
"id",
"(",
")",
")",
";",
"right",
"=",
"new",
"tree",... |
[
"convert",
"node",
"to",
"leaf"
] | [
"assert",
"type",
"=",
"=",
"type",
"unknown",
";",
"this",
"val",
"=",
"val",
";",
"this",
"type",
"=",
"type",
"leaf",
";",
"this",
"left",
"=",
"null",
";",
"this",
"right",
"=",
"null",
";"
] |
[
"set",
"the",
"value"
] | [
"this",
"val",
"=",
"val",
";"
] |
[
"return",
"this",
"key",
"s",
"depth",
"in",
"the",
"hierarchy",
"where",
"the",
"root",
"node",
"is",
"at",
"depth",
"zero",
"this",
"may",
"be",
"different",
"than",
"the",
"number",
"of",
"segments",
"in",
"the",
"path",
"if",
"this",
"key",
"was",
... | [
"return",
"depth",
";"
] |
[
"how",
"many",
"items",
"are",
"in",
"the",
"data",
"set",
"represented",
"by",
"this",
"adapter"
] | [
"return",
"m",
"lists",
"size",
"(",
")",
";"
] |
[
"get",
"the",
"data",
"item",
"associated",
"with",
"the",
"specified",
"position",
"in",
"the",
"data",
"set"
] | [
"return",
"m",
"lists",
"get",
"(",
"position",
")",
";"
] |
[
"this",
"version",
"of",
"decode",
"honors",
"the",
"intent",
"of",
"reader",
"decode",
"(",
"binary",
"bitmap",
")",
"in",
"that",
"it",
"passes",
"null",
"as",
"a",
"hint",
"to",
"the",
"decoders",
"however",
"that",
"makes",
"it",
"inefficient",
"to",
... | [
"set",
"hints",
"(",
"null",
")",
";",
"return",
"decode",
"internal",
"(",
"image",
")",
";"
] |
[
"decode",
"an",
"image",
"using",
"the",
"hints",
"provided",
"does",
"not",
"honor",
"existing",
"state"
] | [
"set",
"hints",
"(",
"hints",
")",
";",
"return",
"decode",
"internal",
"(",
"image",
")",
";"
] |
[
"{"
] | [
"byte",
"[",
"]",
"msg",
"0",
"=",
"(",
"byte",
"[",
"]",
")",
"msg",
";",
"byte",
"buffer",
"res",
"=",
"byte",
"buffer",
"allocate",
"(",
"msg",
"0",
"length",
"+",
"4",
")",
";",
"res",
"order",
"(",
"byte",
"order",
"little",
"endian",
")",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.