docstring_tokens
sequence | code_tokens
sequence |
---|---|
[
"advanced",
"configuration",
"option",
"the",
"time",
"between",
"each",
"periodic",
"persistence",
"of",
"the",
"model"
] | [
"this",
"background",
"persist",
"interval",
"=",
"background",
"persist",
"interval",
";",
"return",
"this",
";"
] |
[
"advanced",
"configuration",
"option",
"the",
"period",
"over",
"which",
"adjustments",
"to",
"the",
"score",
"are",
"applied",
"as",
"new",
"data",
"is",
"seen"
] | [
"this",
"renormalization",
"window",
"days",
"=",
"renormalization",
"window",
"days",
";",
"return",
"this",
";"
] |
[
"the",
"time",
"in",
"days",
"that",
"model",
"snapshots",
"are",
"retained",
"for",
"the",
"job"
] | [
"this",
"model",
"snapshot",
"retention",
"days",
"=",
"model",
"snapshot",
"retention",
"days",
";",
"return",
"this",
";"
] |
[
"advanced",
"configuration",
"option",
"the",
"number",
"of",
"days",
"for",
"which",
"job",
"results",
"are",
"retained"
] | [
"this",
"results",
"retention",
"days",
"=",
"results",
"retention",
"days",
";",
"return",
"this",
";"
] |
[
"return",
"the",
"list",
"of",
"fields",
"that",
"have",
"been",
"set",
"and",
"are",
"invalid",
"to",
"be",
"set",
"when",
"the",
"job",
"is",
"created",
"e",
"g",
"model",
"snapshot",
"id",
"should",
"not",
"be",
"set",
"at",
"job",
"creation"
] | [
"list",
"<",
"string",
">",
"invalid",
"create",
"values",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"if",
"(",
"model",
"snapshot",
"id",
"!",
"=",
"null",
")",
"{",
"invalid",
"create",
"values",
"add",
"(",
"model",
"snapshot",
"id",
"get",
"preferred",
"name",
"(",
")",
")",
";",
"}",
"if",
"(",
"finished",
"time",
"!",
"=",
"null",
")",
"{",
"invalid",
"create",
"values",
"add",
"(",
"finished",
"time",
"get",
"preferred",
"name",
"(",
")",
")",
";",
"}",
"if",
"(",
"create",
"time",
"!",
"=",
"null",
")",
"{",
"invalid",
"create",
"values",
"add",
"(",
"create",
"time",
"get",
"preferred",
"name",
"(",
")",
")",
";",
"}",
"return",
"invalid",
"create",
"values",
";"
] |
[
"this",
"is",
"meant",
"to",
"be",
"called",
"when",
"a",
"new",
"job",
"is",
"created",
"it",
"will",
"optionally",
"validate",
"the",
"model",
"memory",
"limit",
"against",
"the",
"max",
"limit",
"and",
"it",
"will",
"set",
"the",
"current",
"version",
"defaults",
"to",
"missing",
"values"
] | [
"analysis",
"limits",
"=",
"analysis",
"limits",
"validate",
"and",
"set",
"defaults",
"(",
"analysis",
"limits",
",",
"max",
"model",
"memory",
"limit",
",",
"analysis",
"limits",
"default",
"model",
"memory",
"limit",
"mb",
")",
";"
] |
[
"returns",
"true",
"if",
"field",
"corresponding",
"to",
"field",
"i",
"d",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"if",
"(",
"field",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"switch",
"(",
"field",
")",
"{",
"}",
"throw",
"new",
"illegal",
"state",
"exception",
"(",
")",
";"
] |
[
"method",
"close",
"(",
")",
"must",
"be",
"called",
"even",
"if",
"the",
"methods",
"start",
"(",
")",
"or",
"stop",
"(",
")",
"are",
"not",
"defined"
] | [
"component",
"container",
"container",
"=",
"new",
"component",
"container",
"(",
")",
";",
"closeable",
"component",
"component",
"=",
"new",
"closeable",
"component",
"(",
")",
";",
"container",
"add",
"(",
"component",
")",
";",
"container",
"execute",
"(",
")",
";",
"assert",
"that",
"(",
"component",
"is",
"closed",
")",
"is",
"true",
"(",
")",
";"
] |
[
"method",
"close",
"(",
")",
"must",
"be",
"executed",
"after",
"stop",
"(",
")"
] | [
"component",
"container",
"container",
"=",
"new",
"component",
"container",
"(",
")",
";",
"startable",
"closeable",
"component",
"component",
"=",
"new",
"startable",
"closeable",
"component",
"(",
")",
";",
"container",
"add",
"(",
"component",
")",
";",
"container",
"execute",
"(",
")",
";",
"assert",
"that",
"(",
"component",
"is",
"stopped",
")",
"is",
"true",
"(",
")",
";",
"assert",
"that",
"(",
"component",
"is",
"closed",
")",
"is",
"true",
"(",
")",
";",
"assert",
"that",
"(",
"component",
"is",
"closed",
"after",
"stop",
")",
"is",
"true",
"(",
")",
";"
] |
[
"stop",
"execution"
] | [
"stopped",
"=",
"true",
";"
] |
[
"called",
"before",
"a",
"{",
"@",
"link",
"trigger",
"}",
"is",
"removed",
"under",
"some",
"circumstances",
"this",
"may",
"be",
"invoked",
"more",
"than",
"once",
"for",
"a",
"given",
"{",
"@",
"link",
"trigger",
"}",
"so",
"be",
"prepared",
"for",
"that"
] | [] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"return",
"false",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"return",
"new",
"singleton",
"type",
"set",
"(",
"get",
"java",
"lang",
"object",
"(",
")",
",",
"get",
"type",
"set",
"environment",
"(",
")",
")",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"return",
"new",
"singleton",
"type",
"set",
"(",
"f",
"lower",
"bound",
",",
"get",
"type",
"set",
"environment",
"(",
")",
")",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"return",
"true",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"return",
"f",
"lower",
"bound",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"return",
"get",
"java",
"lang",
"object",
"(",
")",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"if",
"(",
"t",
"equals",
"(",
"f",
"lower",
"bound",
")",
")",
"return",
"true",
";",
"if",
"(",
"t",
"equals",
"(",
"get",
"java",
"lang",
"object",
"(",
")",
")",
")",
"return",
"true",
";",
"return",
"t",
"types",
"can",
"assign",
"to",
"(",
"f",
"lower",
"bound",
",",
"t",
")",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"return",
"f",
"lower",
"bound",
";"
] |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"if",
"(",
"f",
"enum",
"cache",
"=",
"=",
"null",
")",
"{",
"if",
"(",
"f",
"lower",
"bound",
"instanceof",
"array",
"type",
")",
"{",
"array",
"type",
"at",
"=",
"(",
"array",
"type",
")",
"f",
"lower",
"bound",
";",
"f",
"enum",
"cache",
"=",
"enumerated",
"type",
"set",
"make",
"array",
"types",
"for",
"elements",
"(",
"t",
"types",
"get",
"all",
"super",
"types",
"iterator",
"(",
"at",
"get",
"component",
"type",
"(",
")",
")",
",",
"get",
"type",
"set",
"environment",
"(",
")",
")",
";",
"f",
"enum",
"cache",
"add",
"(",
"get",
"java",
"lang",
"object",
"(",
")",
")",
";",
"}",
"else",
"f",
"enum",
"cache",
"=",
"new",
"enumerated",
"type",
"set",
"(",
"t",
"types",
"get",
"all",
"super",
"types",
"iterator",
"(",
"f",
"lower",
"bound",
")",
",",
"get",
"type",
"set",
"environment",
"(",
")",
")",
";",
"f",
"enum",
"cache",
"add",
"(",
"f",
"lower",
"bound",
")",
";",
"f",
"enum",
"cache",
"init",
"complete",
"(",
")",
";",
"}",
"return",
"f",
"enum",
"cache",
";"
] |
[
"return",
"true",
"if",
"debug",
"session",
"up",
"and",
"running",
"on",
"server"
] | [
"return",
"session",
"id",
">",
"0",
";"
] |
[
"return",
"true",
"if",
"session",
"waiting",
"target",
"connection",
"(",
"on",
"breakpoint",
"after",
"step",
"or",
"continue",
")",
"in",
"debug",
"thread"
] | [
"switch",
"(",
"attach",
"kind",
")",
"{",
"case",
"global",
":",
"return",
"worker",
"job",
"=",
"=",
"null",
"|",
"|",
"worker",
"job",
"is",
"finished",
"(",
")",
";",
"case",
"local",
":",
"return",
"session",
"id",
">",
"0",
";",
"default",
":",
"return",
"false",
";",
"}"
] |
[
"-",
"-",
"-",
"[",
"egl",
"create",
"sync",
"k",
"h",
"r",
"]",
"-",
"-",
"-"
] | [
"return",
"k",
"h",
"r",
"reusable",
"sync",
"negl",
"create",
"sync",
"k",
"h",
"r",
"(",
"dpy",
",",
"type",
",",
"attrib",
"list",
")",
";"
] |
[
"-",
"-",
"-",
"[",
"egl",
"get",
"sync",
"attrib",
"k",
"h",
"r",
"]",
"-",
"-",
"-"
] | [
"return",
"k",
"h",
"r",
"reusable",
"sync",
"negl",
"get",
"sync",
"attrib",
"k",
"h",
"r",
"(",
"dpy",
",",
"sync",
",",
"attribute",
",",
"value",
")",
";"
] |
[
"the",
"solr",
"core",
"(",
"coordinator",
"etc",
")",
"associated",
"with",
"this",
"request"
] | [
"return",
"core",
";"
] |
[
"frees",
"resources",
"associated",
"with",
"this",
"request",
"this",
"method",
"<",
"b",
">",
"must",
"<",
"/",
"b",
">",
"be",
"called",
"when",
"the",
"object",
"is",
"no",
"longer",
"in",
"use"
] | [
"if",
"(",
"searcher",
"holder",
"!",
"=",
"null",
")",
"{",
"searcher",
"holder",
"decref",
"(",
")",
";",
"searcher",
"holder",
"=",
"null",
";",
"}"
] |
[
"a",
"collection",
"of",
"content",
"streams",
"passed",
"to",
"the",
"request"
] | [
"return",
"streams",
";"
] |
[
"guaranteed",
"to",
"throw",
"an",
"exception",
"and",
"leave",
"the",
"underlying",
"data",
"unmodified"
] | [
"throw",
"new",
"unsupported",
"operation",
"exception",
"(",
")",
";"
] |
[
"guaranteed",
"to",
"throw",
"an",
"exception",
"and",
"leave",
"the",
"underlying",
"data",
"unmodified"
] | [
"throw",
"new",
"unsupported",
"operation",
"exception",
"(",
")",
";"
] |
[
"returns",
"{"
] | [
"file",
"image",
"=",
"disk",
"cache",
"get",
"(",
"image",
"uri",
")",
";",
"return",
"image",
"!",
"=",
"null",
"&",
"&",
"image",
"exists",
"(",
")",
"?",
"image",
":",
"null",
";"
] |
[
"removed",
"cached",
"image",
"file",
"from",
"disk",
"cache",
"(",
"if",
"image",
"was",
"cached",
"in",
"disk",
"cache",
"before",
")"
] | [
"file",
"image",
"=",
"disk",
"cache",
"get",
"(",
"image",
"uri",
")",
";",
"return",
"image",
"!",
"=",
"null",
"&",
"&",
"image",
"exists",
"(",
")",
"&",
"&",
"image",
"delete",
"(",
")",
";"
] |
[
"returns",
"deployment",
"repository",
"injected",
"value"
] | [
"return",
"deployment",
"repository",
"injected",
"value",
";"
] |
[
"should",
"be",
"initialised",
"separately"
] | [
"this",
"user",
"=",
"user",
";",
"try",
"{",
"write",
"string",
"to",
"file",
"(",
"get",
"user",
"file",
"(",
")",
",",
"string",
"value",
"of",
"(",
"current",
"time",
"millis",
"(",
")",
")",
",",
"true",
")",
";",
"}",
"catch",
"(",
"i",
"o",
"exception",
"e",
")",
"{",
"throwables",
"propagate",
"(",
"e",
")",
";",
"}"
] |
[
"saves",
"the",
"state",
"upon",
"rotating",
"the",
"screen",
"/",
"restarting",
"the",
"activity"
] | [
"super",
"on",
"save",
"instance",
"state",
"(",
"bundle",
")",
";",
"bundle",
"put",
"int",
"(",
"aspect",
"ratio",
"x",
",",
"m",
"aspect",
"ratio",
"x",
")",
";",
"bundle",
"put",
"int",
"(",
"aspect",
"ratio",
"y",
",",
"m",
"aspect",
"ratio",
"y",
")",
";"
] |
[
"restores",
"the",
"state",
"upon",
"rotating",
"the",
"screen",
"/",
"restarting",
"the",
"activity"
] | [
"super",
"on",
"restore",
"instance",
"state",
"(",
"bundle",
")",
";",
"m",
"aspect",
"ratio",
"x",
"=",
"bundle",
"get",
"int",
"(",
"aspect",
"ratio",
"x",
")",
";",
"m",
"aspect",
"ratio",
"y",
"=",
"bundle",
"get",
"int",
"(",
"aspect",
"ratio",
"y",
")",
";"
] |
[
"/",
"*",
"sets",
"the",
"font",
"on",
"all",
"text",
"views",
"in",
"the",
"view",
"group",
"searches",
"recursively",
"for",
"all",
"inner",
"view",
"groups",
"as",
"well",
"just",
"add",
"a",
"check",
"for",
"any",
"other",
"views",
"you",
"want",
"to",
"set",
"as",
"well",
"(",
"edit",
"text",
"etc",
")"
] | [
"int",
"count",
"=",
"group",
"get",
"child",
"count",
"(",
")",
";",
"view",
"v",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"count",
";",
"i",
"+",
"+",
")",
"{",
"v",
"=",
"group",
"get",
"child",
"at",
"(",
"i",
")",
";",
"if",
"(",
"v",
"instanceof",
"text",
"view",
"|",
"|",
"v",
"instanceof",
"edit",
"text",
"|",
"|",
"v",
"instanceof",
"button",
")",
"{",
"(",
"(",
"text",
"view",
")",
"v",
")",
"set",
"typeface",
"(",
"font",
")",
";",
"}",
"else",
"if",
"(",
"v",
"instanceof",
"view",
"group",
")",
"set",
"font",
"(",
"(",
"view",
"group",
")",
"v",
",",
"font",
")",
";",
"}"
] |
[
"the",
"arn",
"of",
"an",
"identity",
"verified",
"with",
"ses"
] | [
"return",
"this",
"identity",
";"
] |
[
"<",
"p",
">",
"identity",
"of",
"the",
"worker",
"that",
"was",
"assigned",
"this",
"task",
"this",
"aids",
"diagnostics",
"when",
"problems",
"arise",
"the",
"form",
"of",
"this",
"identity",
"is",
"user",
"defined",
"<",
"/",
"p",
">"
] | [
"set",
"identity",
"(",
"identity",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"<",
"code",
">",
"activity",
"task",
"scheduled",
"<",
"/",
"code",
">",
"event",
"that",
"was",
"recorded",
"when",
"this",
"activity",
"task",
"was",
"scheduled",
"to",
"help",
"diagnose",
"issues",
"use",
"this",
"information",
"to",
"trace",
"back",
"the",
"chain",
"of",
"events",
"leading",
"up",
"to",
"this",
"event",
"<",
"/",
"p",
">"
] | [
"this",
"scheduled",
"event",
"id",
"=",
"scheduled",
"event",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"<",
"code",
">",
"activity",
"task",
"scheduled",
"<",
"/",
"code",
">",
"event",
"that",
"was",
"recorded",
"when",
"this",
"activity",
"task",
"was",
"scheduled",
"to",
"help",
"diagnose",
"issues",
"use",
"this",
"information",
"to",
"trace",
"back",
"the",
"chain",
"of",
"events",
"leading",
"up",
"to",
"this",
"event",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"scheduled",
"event",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"<",
"code",
">",
"activity",
"task",
"scheduled",
"<",
"/",
"code",
">",
"event",
"that",
"was",
"recorded",
"when",
"this",
"activity",
"task",
"was",
"scheduled",
"this",
"information",
"can",
"be",
"useful",
"for",
"diagnosing",
"problems",
"by",
"tracing",
"back",
"the",
"chain",
"of",
"events",
"leading",
"up",
"to",
"this",
"event",
"<",
"/",
"p",
">"
] | [
"set",
"scheduled",
"event",
"id",
"(",
"scheduled",
"event",
"id",
")",
";",
"return",
"this",
";"
] |
[
"create",
"a",
"{"
] | [
"@",
"non",
"null",
"public",
"abstract",
"abs",
"boxing",
"view",
"fragment",
"on",
"create",
"boxing",
"view",
"(",
"array",
"list",
"<",
"base",
"media",
">",
"medias",
")",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"of",
"the",
"bundle",
"for",
"the",
"work",
"space",
"you",
"can",
"use",
"<",
"a",
">",
"describe",
"workspace",
"bundles",
"<",
"/",
"a",
">",
"to",
"list",
"the",
"available",
"bundles",
"<",
"/",
"p",
">"
] | [
"this",
"bundle",
"id",
"=",
"bundle",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"of",
"the",
"bundle",
"for",
"the",
"work",
"space",
"you",
"can",
"use",
"<",
"a",
">",
"describe",
"workspace",
"bundles",
"<",
"/",
"a",
">",
"to",
"list",
"the",
"available",
"bundles",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"bundle",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"bundle",
"identifier",
"<",
"/",
"p",
">"
] | [
"set",
"bundle",
"id",
"(",
"bundle",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"bundle",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"override",
"value",
"for",
"the",
"owner",
"of",
"the",
"replica",
"object"
] | [
"this",
"owner",
"=",
"owner",
";"
] |
[
"<",
"p",
">",
"the",
"owner",
"of",
"the",
"bundle",
"this",
"is",
"the",
"account",
"identifier",
"of",
"the",
"owner",
"or",
"<",
"code",
">",
"amazon",
"<",
"/",
"code",
">",
"if",
"the",
"bundle",
"is",
"provided",
"by",
"aws",
"<",
"/",
"p",
">"
] | [
"set",
"owner",
"(",
"owner",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"description",
"<",
"/",
"p",
">"
] | [
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"of",
"the",
"root",
"volume",
"<",
"/",
"p",
">"
] | [
"this",
"root",
"storage",
"=",
"root",
"storage",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"of",
"the",
"root",
"volume",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"root",
"storage",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"of",
"the",
"root",
"volume",
"<",
"/",
"p",
">"
] | [
"set",
"root",
"storage",
"(",
"root",
"storage",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"of",
"the",
"user",
"storage",
"<",
"/",
"p",
">"
] | [
"this",
"user",
"storage",
"=",
"user",
"storage",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"of",
"the",
"user",
"storage",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"user",
"storage",
";"
] |
[
"<",
"p",
">",
"the",
"size",
"of",
"the",
"user",
"storage",
"<",
"/",
"p",
">"
] | [
"set",
"user",
"storage",
"(",
"user",
"storage",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"compute",
"type",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"aws",
"amazon",
"com",
"/",
"workspaces",
"/",
"details",
"/",
"#",
"amazon",
"work",
"spaces",
"bundles",
">",
"amazon",
"work",
"spaces",
"bundles",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"this",
"compute",
"type",
"=",
"compute",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"compute",
"type",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"aws",
"amazon",
"com",
"/",
"workspaces",
"/",
"details",
"/",
"#",
"amazon",
"work",
"spaces",
"bundles",
">",
"amazon",
"work",
"spaces",
"bundles",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"compute",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"compute",
"type",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"aws",
"amazon",
"com",
"/",
"workspaces",
"/",
"details",
"/",
"#",
"amazon",
"work",
"spaces",
"bundles",
">",
"amazon",
"work",
"spaces",
"bundles",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"set",
"compute",
"type",
"(",
"compute",
"type",
")",
";",
"return",
"this",
";"
] |
[
"construct",
"an",
"asynchronous",
"implementation",
"of",
"amazon",
"cloud",
"directory",
"async",
"using",
"the",
"current",
"builder",
"configuration"
] | [
"return",
"new",
"amazon",
"cloud",
"directory",
"async",
"client",
"(",
"params",
")",
";"
] |
[
"write",
"a",
"private",
"key",
"object",
"|",
"key",
"|",
"to",
"the",
"specified",
"parcel",
"|",
"dest",
"|"
] | [
"if",
"(",
"key",
"=",
"=",
"null",
")",
"{",
"dest",
"write",
"string",
"(",
"null",
")",
";",
"return",
";",
"}",
"dest",
"write",
"string",
"(",
"key",
"get",
"algorithm",
"(",
")",
")",
";",
"dest",
"write",
"byte",
"array",
"(",
"key",
"get",
"encoded",
"(",
")",
")",
";"
] |
[
"read",
"/",
"create",
"a",
"private",
"key",
"object",
"from",
"a",
"specified",
"parcel",
"object",
"|",
"in",
"|"
] | [
"string",
"algorithm",
"=",
"in",
"read",
"string",
"(",
")",
";",
"if",
"(",
"algorithm",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"byte",
"[",
"]",
"user",
"key",
"bytes",
"=",
"in",
"create",
"byte",
"array",
"(",
")",
";",
"try",
"{",
"key",
"factory",
"key",
"factory",
"=",
"key",
"factory",
"get",
"instance",
"(",
"algorithm",
")",
";",
"return",
"key",
"factory",
"generate",
"private",
"(",
"new",
"p",
"k",
"c",
"s",
"8",
"encoded",
"key",
"spec",
"(",
"user",
"key",
"bytes",
")",
")",
";",
"}",
"catch",
"(",
"no",
"such",
"algorithm",
"exception",
"|",
"invalid",
"key",
"spec",
"exception",
"e",
")",
"{",
"return",
"null",
";",
"}"
] |
[
"write",
"an",
"array",
"of",
"x",
"5",
"0",
"9",
"certificate",
"objects",
"|",
"certs",
"|",
"to",
"a",
"parcel",
"object",
"|",
"dest",
"|",
"the",
"data",
"being",
"written",
"to",
"the",
"parcel",
"are",
"consist",
"of",
"an",
"integer",
"indicating",
"the",
"size",
"of",
"the",
"array",
"and",
"the",
"certificates",
"data",
"certificates",
"data",
"will",
"be",
"skipped",
"for",
"a",
"null",
"array",
"or",
"size",
"of",
"0",
"array"
] | [
"if",
"(",
"certs",
"=",
"=",
"null",
"|",
"|",
"certs",
"length",
"=",
"=",
"0",
")",
"{",
"dest",
"write",
"int",
"(",
"0",
")",
";",
"return",
";",
"}",
"dest",
"write",
"int",
"(",
"certs",
"length",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"certs",
"length",
";",
"i",
"+",
"+",
")",
"{",
"write",
"certificate",
"(",
"dest",
",",
"certs",
"[",
"i",
"]",
")",
";",
"}"
] |
[
"read",
"/",
"create",
"an",
"array",
"of",
"x",
"5",
"0",
"9",
"certificate",
"objects",
"from",
"a",
"specified",
"parcel",
"object",
"|",
"in",
"|"
] | [
"int",
"length",
"=",
"in",
"read",
"int",
"(",
")",
";",
"if",
"(",
"length",
"=",
"=",
"0",
")",
"{",
"return",
"null",
";",
"}",
"x",
"5",
"0",
"9",
"certificate",
"[",
"]",
"certs",
"=",
"new",
"x",
"5",
"0",
"9",
"certificate",
"[",
"length",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"length",
";",
"i",
"+",
"+",
")",
"{",
"certs",
"[",
"i",
"]",
"=",
"read",
"certificate",
"(",
"in",
")",
";",
"}",
"return",
"certs",
";"
] |
[
"show",
"dialog"
] | [
"view",
"show",
"dialog",
"(",
")",
";"
] |
[
"set",
"label",
"into",
"loader",
"which",
"describes",
"current",
"state",
"of",
"loader"
] | [
"view",
"set",
"operation",
"label",
"(",
"text",
")",
";"
] |
[
"change",
"the",
"value",
"of",
"resolved",
"modules",
"of",
"the",
"project"
] | [
"view",
"update",
"progress",
"bar",
"(",
"percentage",
")",
";"
] |
[
"hides",
"the",
"widget"
] | [
"view",
"close",
"(",
")",
";"
] |
[
"configures",
"the",
"service",
"discovery",
"using",
"the",
"given",
"configuration"
] | [
"this",
"service",
"discovery",
"configuration",
"=",
"service",
"discovery",
"configuration",
";"
] |
[
"set",
"the",
"time",
"the",
"services",
"will",
"be",
"retained"
] | [
"set",
"timeout",
"(",
"timeout",
")",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"time",
"unit",
"for",
"the",
"timeout"
] | [
"set",
"units",
"(",
"units",
")",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"service",
"-",
"call",
"configuration",
"to",
"use"
] | [
"set",
"service",
"discovery",
"configuration",
"(",
"service",
"discovery",
"configuration",
")",
";",
"return",
"this",
";"
] |
[
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*",
"*"
] | [
"caching",
"service",
"call",
"service",
"discovery",
"configuration",
"conf",
"=",
"new",
"caching",
"service",
"call",
"service",
"discovery",
"configuration",
"(",
")",
";",
"set",
"service",
"discovery",
"configuration",
"(",
"conf",
")",
";",
"return",
"service",
"discovery",
"configuration",
"(",
"conf",
")",
";"
] |
[
"use",
"this",
"to",
"update",
"the",
"target",
"point"
] | [
"jni",
"set",
"target",
"(",
"addr",
",",
"target",
"x",
",",
"target",
"y",
")",
";"
] |
[
"set",
"the",
"maximum",
"friction",
"force",
"in",
"n"
] | [
"jni",
"set",
"max",
"force",
"(",
"addr",
",",
"force",
")",
";"
] |
[
"/",
"*",
"b",
"2",
"motor",
"joint",
"*",
"joint",
"=",
"(",
"b",
"2",
"motor",
"joint",
"*",
")",
"addr",
";",
"joint",
"-",
">",
"set",
"angular",
"offset",
"(",
"angular",
"offset",
")",
";"
] | [
"return",
"jni",
"get",
"max",
"force",
"(",
"addr",
")",
";"
] |
[
"/",
"*",
"b",
"2",
"weld",
"joint",
"*",
"joint",
"=",
"(",
"b",
"2",
"weld",
"joint",
"*",
")",
"addr",
";",
"return",
"joint",
"-",
">",
"get",
"frequency",
"(",
")",
";"
] | [
"jni",
"set",
"frequency",
"(",
"addr",
",",
"hz",
")",
";"
] |
[
"/",
"*",
"b",
"2",
"weld",
"joint",
"*",
"joint",
"=",
"(",
"b",
"2",
"weld",
"joint",
"*",
")",
"addr",
";",
"return",
"joint",
"-",
">",
"get",
"reference",
"angle",
"(",
")",
";"
] | [
"return",
"jni",
"get",
"frequency",
"(",
"addr",
")",
";"
] |
[
"/",
"*",
"b",
"2",
"weld",
"joint",
"*",
"joint",
"=",
"(",
"b",
"2",
"weld",
"joint",
"*",
")",
"addr",
";",
"return",
"joint",
"-",
">",
"get",
"damping",
"ratio",
"(",
")",
";"
] | [
"jni",
"set",
"damping",
"ratio",
"(",
"addr",
",",
"ratio",
")",
";"
] |
[
"/",
"*",
"b",
"2",
"weld",
"joint",
"*",
"joint",
"=",
"(",
"b",
"2",
"weld",
"joint",
"*",
")",
"addr",
";",
"joint",
"-",
">",
"set",
"frequency",
"(",
"hz",
")",
";"
] | [
"return",
"jni",
"get",
"damping",
"ratio",
"(",
"addr",
")",
";"
] |
[
"returns",
"an",
"{",
"@",
"link",
"iterator",
"}",
"over",
"the",
"regions",
"which",
"were",
"skipped",
"last",
"invocation",
"of",
"the",
"chore"
] | [
"return",
"leftover",
"regions",
";"
] |
[
"sets",
"a",
"new",
"collection",
"of",
"regions",
"as",
"leftovers"
] | [
"this",
"leftover",
"regions",
"=",
"new",
"leftovers",
";"
] |
[
"visible",
"for",
"testing"
] | [
"return",
"rs",
"get",
"region",
"server",
"space",
"quota",
"manager",
"(",
")",
"get",
"region",
"size",
"store",
"(",
")",
";"
] |
[
"extracts",
"the",
"period",
"for",
"the",
"chore",
"from",
"the",
"configuration"
] | [
"return",
"conf",
"get",
"int",
"(",
"fs",
"utilization",
"chore",
"period",
"key",
",",
"fs",
"utilization",
"chore",
"period",
"default",
")",
";"
] |
[
"extracts",
"the",
"initial",
"delay",
"for",
"the",
"chore",
"from",
"the",
"configuration"
] | [
"return",
"conf",
"get",
"long",
"(",
"fs",
"utilization",
"chore",
"delay",
"key",
",",
"fs",
"utilization",
"chore",
"delay",
"default",
")",
";"
] |
[
"extracts",
"the",
"time",
"unit",
"for",
"the",
"chore",
"period",
"and",
"initial",
"delay",
"from",
"the",
"configuration",
"the",
"configuration",
"value",
"for",
"{",
"@",
"link",
"#",
"fs",
"utilization",
"chore",
"timeunit",
"key",
"}",
"must",
"correspond",
"to",
"a",
"{",
"@",
"link",
"time",
"unit",
"}",
"value"
] | [
"return",
"time",
"unit",
"value",
"of",
"(",
"conf",
"get",
"(",
"fs",
"utilization",
"chore",
"timeunit",
"key",
",",
"fs",
"utilization",
"chore",
"timeunit",
"default",
")",
")",
";"
] |
[
"return",
"{"
] | [
"return",
"mime",
"utils",
"has",
"mime",
"type",
"(",
"mime",
"type",
")",
";"
] |
[
"return",
"the",
"mime",
"type",
"for",
"the",
"given",
"extension"
] | [
"return",
"mime",
"utils",
"guess",
"mime",
"type",
"from",
"extension",
"(",
"extension",
")",
";"
] |
[
"static",
"method",
"called",
"by",
"jni"
] | [
"return",
"mime",
"utils",
"guess",
"mime",
"type",
"from",
"extension",
"(",
"extension",
")",
";"
] |
[
"return",
"{"
] | [
"return",
"mime",
"utils",
"has",
"extension",
"(",
"extension",
")",
";"
] |
[
"return",
"the",
"registered",
"extension",
"for",
"the",
"given",
"mime",
"type",
"note",
"that",
"some",
"mime",
"types",
"map",
"to",
"multiple",
"extensions",
"this",
"call",
"will",
"return",
"the",
"most",
"common",
"extension",
"for",
"the",
"given",
"mime",
"type"
] | [
"return",
"mime",
"utils",
"guess",
"extension",
"from",
"mime",
"type",
"(",
"mime",
"type",
")",
";"
] |
[
"get",
"the",
"singleton",
"instance",
"of",
"mime",
"type",
"map"
] | [
"return",
"s",
"mime",
"type",
"map",
";"
] |
[
"returns",
"true",
"if",
"field",
"content",
"hash",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"content",
"hash",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"path",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"return",
"this",
"path",
"!",
"=",
"null",
";"
] |
[
"returns",
"true",
"if",
"field",
"corresponding",
"to",
"field",
"i",
"d",
"is",
"set",
"(",
"has",
"been",
"assigned",
"a",
"value",
")",
"and",
"false",
"otherwise"
] | [
"if",
"(",
"field",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"java",
"lang",
"illegal",
"argument",
"exception",
"(",
")",
";",
"}",
"switch",
"(",
"field",
")",
"{",
"case",
"content",
"hash",
":",
"return",
"is",
"set",
"content",
"hash",
"(",
")",
";",
"case",
"path",
":",
"return",
"is",
"set",
"path",
"(",
")",
";",
"}",
"throw",
"new",
"java",
"lang",
"illegal",
"state",
"exception",
"(",
")",
";"
] |
[
"sets",
"the",
"listener",
"to",
"call",
"when",
"the",
"user",
"sets",
"the",
"date"
] | [
"m",
"date",
"set",
"listener",
"=",
"listener",
";"
] |
[
"returns",
"the",
"{",
"@",
"link",
"date",
"picker",
"}",
"contained",
"in",
"this",
"dialog"
] | [
"return",
"m",
"date",
"picker",
";"
] |
[
"sets",
"the",
"current",
"date"
] | [
"m",
"date",
"picker",
"update",
"date",
"(",
"year",
",",
"month",
",",
"day",
"of",
"month",
")",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"of",
"a",
"<",
"a",
">",
"usage",
"plan",
"<",
"/",
"a",
">",
"resource",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"of",
"this",
"<",
"a",
">",
"request",
"validator",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"set",
"id",
"(",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"this",
"<",
"a",
">",
"request",
"validator",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.