docstring_tokens list | code_tokens list |
|---|---|
[
"equivalent",
"to",
"{"
] | [
"return",
"request",
"get",
"user",
"principal",
"(",
")",
";"
] |
[
"determine",
"if",
"a",
"{"
] | [
"if",
"(",
"has",
"at",
"least",
"one",
"annotation",
"(",
"(",
"annotated",
"node",
")",
"node",
",",
"annotations",
")",
")",
"{",
"return",
"true",
";",
"}",
"for",
"(",
"method",
"node",
"method",
":",
"node",
"get",
"methods",
"(",
")",
")",
"... |
[
"determine",
"if",
"an",
"{"
] | [
"for",
"(",
"annotation",
"node",
"annotation",
"node",
":",
"node",
"get",
"annotations",
"(",
")",
")",
"{",
"for",
"(",
"string",
"annotation",
":",
"annotations",
")",
"{",
"if",
"(",
"pattern",
"match",
"utils",
"simple",
"match",
"(",
"annotation",
... |
[
"determine",
"if",
"a",
"{"
] | [
"set",
"<",
"string",
">",
"types",
"set",
"=",
"new",
"hash",
"set",
"<",
">",
"(",
"arrays",
"as",
"list",
"(",
"types",
")",
")",
";",
"for",
"(",
"field",
"node",
"field",
":",
"node",
"get",
"fields",
"(",
")",
")",
"{",
"if",
"(",
"types"... |
[
"determine",
"if",
"a",
"{"
] | [
"for",
"(",
"string",
"type",
":",
"types",
")",
"{",
"if",
"(",
"node",
"get",
"super",
"class",
"(",
")",
"get",
"name",
"(",
")",
"equals",
"(",
"type",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"extract",
"a",
"top",
"-",
"level",
"{"
] | [
"for",
"(",
"expression",
"statement",
"statement",
":",
"get",
"expression",
"statements",
"(",
"block",
")",
")",
"{",
"expression",
"expression",
"=",
"statement",
"get",
"expression",
"(",
")",
";",
"if",
"(",
"expression",
"instanceof",
"method",
"call",
... |
[
"<",
"p",
">",
"the",
"description",
"of",
"the",
"event",
"<",
"/",
"p",
">"
] | [
"set",
"event",
"description",
"(",
"event",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"event",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"following",
"are",
"the",
"<",
"code",
">",
"error",
"<",
"/",
"code",
">",
"events",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
... | [
"this",
"event",
"sub",
"type",
"=",
"event",
"sub",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"event",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"following",
"are",
"the",
"<",
"code",
">",
"error",
"<",
"/",
"code",
">",
"events",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
... | [
"return",
"this",
"event",
"sub",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"event",
"<",
"/",
"p",
">",
"<",
"p",
">",
"the",
"following",
"are",
"the",
"<",
"code",
">",
"error",
"<",
"/",
"code",
">",
"events",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
... | [
"set",
"event",
"sub",
"type",
"(",
"event",
"sub",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"instance",
"this",
"information",
"is",
"available",
"only",
"for",
"<",
"code",
">",
"instance",
"change",
"<",
"/",
"code",
">",
"events",
"<",
"/",
"p",
">"
] | [
"set",
"instance",
"id",
"(",
"instance",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"detailed",
"information",
"about",
"the",
"self",
"-",
"service",
"action",
"<",
"/",
"p",
">"
] | [
"set",
"service",
"action",
"detail",
"(",
"service",
"action",
"detail",
")",
";",
"return",
"this",
";"
] |
[
"api"
] | [
"this",
"foo",
"set",
"=",
"foo",
"set",
";"
] |
[
"loads",
"the",
"preference",
"node",
"this",
"method",
"returns",
"silently",
"if",
"the",
"node",
"does",
"not",
"exist",
"in",
"the",
"backing",
"store",
"(",
"for",
"example",
"non",
"-",
"existent",
"project",
")"
] | [
"load",
"(",
"file",
"path",
")",
";"
] |
[
"/",
"*",
"encode",
"the",
"given",
"path",
"and",
"key",
"combo",
"to",
"a",
"form",
"which",
"is",
"suitable",
"for",
"persisting",
"or",
"using",
"when",
"searching",
"if",
"the",
"key",
"contains",
"a",
"slash",
"character",
"then",
"we",
"must",
"us... | [
"string",
"result",
";",
"int",
"path",
"length",
"=",
"path",
"=",
"=",
"null",
"?",
"0",
":",
"path",
"length",
"(",
")",
";",
"if",
"(",
"key",
"index",
"of",
"(",
"i",
"path",
"separator",
")",
"=",
"=",
"-",
"1",
")",
"{",
"if",
"(",
"pa... |
[
"}"
] | [
"i",
"eclipse",
"preferences",
"result",
"=",
"this",
";",
"while",
"(",
"result",
"parent",
"(",
")",
"!",
"=",
"null",
")",
"result",
"=",
"(",
"i",
"eclipse",
"preferences",
")",
"result",
"parent",
"(",
")",
";",
"return",
"result",
";"
] |
[
"/",
"*",
"return",
"a",
"relative",
"path"
] | [
"string",
"result",
"=",
"path",
";",
"if",
"(",
"path",
"=",
"=",
"null",
")",
"return",
"empty",
"string",
";",
"if",
"(",
"path",
"length",
"(",
")",
">",
"0",
"&",
"&",
"path",
"char",
"at",
"(",
"0",
")",
"=",
"=",
"i",
"path",
"separator"... |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"tree",
"set",
"set",
"=",
"new",
"tree",
"set",
"(",
")",
";",
"for",
"(",
"enumeration",
"e",
"=",
"super",
"keys",
"(",
")",
";",
"e",
"has",
"more",
"elements",
"(",
")",
";",
")",
"set",
"add",
"(",
"e",
"next",
"element",
"(",
")",
")",
... |
[
"/",
"*",
"(",
"non",
"-",
"javadoc",
")"
] | [
"tree",
"set",
"set",
"=",
"new",
"tree",
"set",
"(",
"new",
"comparator",
"(",
")",
"{",
"public",
"int",
"compare",
"(",
"object",
"e",
"1",
",",
"object",
"e",
"2",
")",
"{",
"string",
"s",
"1",
"=",
"(",
"string",
")",
"(",
"(",
"map",
"ent... |
[
"get",
"the",
"abort",
"response",
"that",
"caused",
"this",
"exception"
] | [
"return",
"abort",
"response",
";"
] |
[
"static",
"method",
"to",
"create",
"a",
"json",
"keyset",
"writer",
"that",
"writes",
"to",
"an",
"{"
] | [
"return",
"new",
"json",
"keyset",
"writer",
"(",
"stream",
")",
";"
] |
[
"static",
"method",
"to",
"create",
"a",
"json",
"keyset",
"writer",
"that",
"writes",
"to",
"a",
"file"
] | [
"return",
"new",
"json",
"keyset",
"writer",
"(",
"new",
"file",
"output",
"stream",
"(",
"file",
")",
")",
";"
] |
[
"static",
"method",
"to",
"create",
"a",
"json",
"keyset",
"writer",
"that",
"writes",
"to",
"a",
"file",
"path"
] | [
"return",
"with",
"file",
"(",
"new",
"file",
"(",
"path",
")",
")",
";"
] |
[
"static",
"method",
"to",
"create",
"a",
"json",
"keyset",
"writer",
"that",
"writes",
"to",
"a",
"file",
"path"
] | [
"return",
"with",
"file",
"(",
"path",
"to",
"file",
"(",
")",
")",
";"
] |
[
"get",
"all",
"permutations",
"for",
"the",
"int",
"[",
"]",
"whose",
"items",
"are",
"0",
"level"
] | [
"return",
"new",
"iterator",
"<",
"int",
"[",
"]",
">",
"(",
")",
"{",
"int",
"i",
"=",
"0",
";",
"int",
"[",
"]",
"next",
";",
"@",
"override",
"public",
"boolean",
"has",
"next",
"(",
")",
"{",
"atomic",
"reference",
"<",
"int",
"[",
"]",
">"... |
[
"close"
] | [
"watchers",
"clear",
"(",
")",
";"
] |
[
"/",
"*",
"call",
"-",
"seq",
":",
"enum",
"descriptor",
"new",
"=",
">",
"enum",
"descriptor"
] | [
"this",
"builder",
"=",
"descriptor",
"protos",
"enum",
"descriptor",
"proto",
"new",
"builder",
"(",
")",
";",
"return",
"this",
";"
] |
[
"/",
"*",
"call",
"-",
"seq",
":",
"enum",
"descriptor",
"each",
"(",
"&",
"block",
")"
] | [
"ruby",
"runtime",
"=",
"context",
"runtime",
";",
"for",
"(",
"descriptors",
"enum",
"value",
"descriptor",
"enum",
"value",
"descriptor",
":",
"descriptor",
"get",
"values",
"(",
")",
")",
"{",
"block",
"yield",
"(",
"context",
",",
"runtime",
"new",
"ar... |
[
"/",
"*",
"call",
"-",
"seq",
":",
"enum",
"descriptor",
"enummodule",
"=",
">",
"module"
] | [
"if",
"(",
"this",
"klazz",
"=",
"=",
"null",
")",
"{",
"this",
"klazz",
"=",
"build",
"module",
"from",
"descriptor",
"(",
"context",
")",
";",
"}",
"return",
"this",
"klazz",
";"
] |
[
"converts",
"the",
"given",
"time",
"into",
"an",
"lcn",
"ramp",
"value"
] | [
"int",
"ret",
";",
"if",
"(",
"time",
"m",
"sec",
"<",
"250",
")",
"{",
"ret",
"=",
"0",
";",
"}",
"else",
"if",
"(",
"time",
"m",
"sec",
"<",
"500",
")",
"{",
"ret",
"=",
"1",
";",
"}",
"else",
"if",
"(",
"time",
"m",
"sec",
"<",
"660",
... |
[
"returns",
"the",
"lock",
"-",
"state",
"if",
"value",
"comes",
"from",
"a",
"regulator",
"set",
"-",
"point",
"only",
"valid",
"if",
"{",
"@",
"link",
"var",
"#",
"is",
"lockable",
"regulator",
"source",
"(",
"var",
")",
"}",
"returns",
"true"
] | [
"return",
"(",
"this",
"native",
"value",
"&",
"0x",
"8",
"0",
"0",
"0",
")",
"!",
"=",
"0",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"any",
"input"
] | [
"switch",
"(",
"unit",
")",
"{",
"case",
"native",
":",
"return",
"from",
"native",
"(",
"(",
"int",
")",
"v",
")",
";",
"case",
"celsius",
":",
"return",
"from",
"celsius",
"(",
"v",
",",
"abs",
")",
";",
"case",
"kelvin",
":",
"return",
"from",
... |
[
"creates",
"a",
"variable",
"value",
"from",
"native",
"input"
] | [
"return",
"new",
"var",
"value",
"(",
"n",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"�",
"c",
"input"
] | [
"int",
"n",
"=",
"(",
"int",
")",
"math",
"round",
"(",
"c",
"*",
"10",
")",
";",
"return",
"new",
"var",
"value",
"(",
"abs",
"?",
"n",
"+",
"1000",
":",
"n",
")",
";"
] |
[
"creates",
"an",
"absolute",
"variable",
"value",
"from",
"�",
"c",
"input"
] | [
"return",
"from",
"celsius",
"(",
"c",
",",
"true",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"�",
"k",
"input"
] | [
"if",
"(",
"abs",
")",
"{",
"k",
"-",
"=",
"273",
"15",
";",
"}",
"int",
"n",
"=",
"(",
"int",
")",
"math",
"round",
"(",
"k",
"*",
"10",
")",
";",
"return",
"new",
"var",
"value",
"(",
"abs",
"?",
"n",
"+",
"1000",
":",
"n",
")",
";"
] |
[
"creates",
"an",
"absolute",
"variable",
"value",
"from",
"�",
"k",
"input"
] | [
"return",
"from",
"kelvin",
"(",
"k",
",",
"true",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"�",
"f",
"input"
] | [
"if",
"(",
"abs",
")",
"{",
"f",
"-",
"=",
"32",
";",
"}",
"int",
"n",
"=",
"(",
"int",
")",
"math",
"round",
"(",
"f",
"/",
"0",
"18",
")",
";",
"return",
"new",
"var",
"value",
"(",
"abs",
"?",
"n",
"+",
"1000",
":",
"n",
")",
";"
] |
[
"creates",
"an",
"absolute",
"variable",
"value",
"from",
"�",
"f",
"input"
] | [
"return",
"from",
"fahrenheit",
"(",
"f",
",",
"true",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"lx",
"input",
"target",
"must",
"be",
"connected",
"to",
"t",
"-",
"port"
] | [
"return",
"new",
"var",
"value",
"(",
"(",
"int",
")",
"math",
"round",
"(",
"(",
"math",
"log",
"(",
"l",
")",
"-",
"1",
"689646994",
")",
"/",
"0",
"010380664",
")",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"lx",
"input",
"target",
"must",
"be",
"connected",
"to",
"i",
"-",
"port"
] | [
"return",
"new",
"var",
"value",
"(",
"(",
"int",
")",
"math",
"round",
"(",
"math",
"log",
"(",
"l",
")",
"*",
"100",
")",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"%",
"input"
] | [
"return",
"new",
"var",
"value",
"(",
"(",
"int",
")",
"math",
"round",
"(",
"p",
")",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"ppm",
"input",
"used",
"for",
"co2",
"sensors"
] | [
"return",
"new",
"var",
"value",
"(",
"(",
"int",
")",
"math",
"round",
"(",
"p",
")",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"m",
"/",
"s",
"input",
"used",
"for",
"lcn",
"-",
"wih",
"wind",
"speed"
] | [
"return",
"new",
"var",
"value",
"(",
"(",
"int",
")",
"math",
"round",
"(",
"ms",
"*",
"10",
")",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"v",
"input"
] | [
"return",
"new",
"var",
"value",
"(",
"(",
"int",
")",
"math",
"round",
"(",
"v",
"*",
"400",
")",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"a",
"input"
] | [
"return",
"new",
"var",
"value",
"(",
"(",
"int",
")",
"math",
"round",
"(",
"a",
"*",
"100",
")",
")",
";"
] |
[
"creates",
"a",
"variable",
"value",
"from",
"�",
"(",
"angle",
")",
"input"
] | [
"int",
"n",
"=",
"(",
"int",
")",
"math",
"round",
"(",
"d",
"*",
"10",
")",
";",
"return",
"new",
"var",
"value",
"(",
"abs",
"?",
"n",
"+",
"1000",
":",
"n",
")",
";"
] |
[
"creates",
"an",
"absolute",
"variable",
"value",
"from",
"�",
"(",
"angle",
")",
"input"
] | [
"return",
"from",
"degree",
"(",
"d",
",",
"true",
")",
";"
] |
[
"converts",
"the",
"value",
"to",
"double",
"using",
"the",
"given",
"variable",
"unit"
] | [
"var",
"value",
"v",
"=",
"new",
"var",
"value",
"(",
"is",
"lockable",
"regulator",
"source",
"?",
"this",
"native",
"value",
"&",
"0x",
"7fff",
":",
"this",
"native",
"value",
")",
";",
"switch",
"(",
"unit",
")",
"{",
"case",
"native",
":",
"retur... |
[
"converts",
"to",
"native",
"value"
] | [
"return",
"this",
"native",
"value",
";"
] |
[
"converts",
"to",
"�",
"c",
"value"
] | [
"return",
"(",
"double",
")",
"(",
"this",
"native",
"value",
"-",
"1000",
")",
"/",
"10",
";"
] |
[
"converts",
"to",
"�",
"k",
"value"
] | [
"return",
"(",
"double",
")",
"(",
"this",
"native",
"value",
"-",
"1000",
")",
"/",
"10",
"+",
"273",
"15",
";"
] |
[
"converts",
"to",
"�",
"f",
"value"
] | [
"return",
"(",
"this",
"native",
"value",
"-",
"1000",
")",
"*",
"0",
"18",
"+",
"32",
";"
] |
[
"converts",
"to",
"lx",
"value",
"source",
"must",
"be",
"connected",
"to",
"t",
"-",
"port"
] | [
"return",
"math",
"exp",
"(",
"0",
"010380664",
"*",
"this",
"native",
"value",
"+",
"1",
"689646994",
")",
";"
] |
[
"converts",
"to",
"lx",
"value",
"source",
"must",
"be",
"connected",
"to",
"i",
"-",
"port"
] | [
"return",
"math",
"exp",
"(",
"(",
"double",
")",
"this",
"native",
"value",
"/",
"100",
")",
";"
] |
[
"converts",
"to",
"%",
"value"
] | [
"return",
"this",
"native",
"value",
";"
] |
[
"converts",
"to",
"ppm",
"value"
] | [
"return",
"this",
"native",
"value",
";"
] |
[
"converts",
"to",
"m",
"/",
"s",
"value"
] | [
"return",
"(",
"double",
")",
"this",
"native",
"value",
"/",
"10",
";"
] |
[
"converts",
"to",
"v",
"value"
] | [
"return",
"(",
"double",
")",
"this",
"native",
"value",
"/",
"400",
";"
] |
[
"converts",
"to",
"a",
"value"
] | [
"return",
"(",
"double",
")",
"this",
"native",
"value",
"/",
"100",
";"
] |
[
"converts",
"to",
"�",
"(",
"angle",
")",
"value"
] | [
"return",
"(",
"double",
")",
"(",
"this",
"native",
"value",
"-",
"1000",
")",
"/",
"10",
";"
] |
[
"{"
] | [
"return",
"new",
"atomic",
"integer",
"(",
"0",
")",
";"
] |
[
"{"
] | [
"return",
"s",
"to",
"string",
"(",
"atomic",
"integer",
"factory",
"callable",
"class",
",",
"this",
")",
";"
] |
[
"creates",
"and",
"returns",
"a",
"{",
"@",
"link",
"interceptor",
"}",
"which",
"invokes",
"the",
"underlying",
"container",
"-",
"interceptor",
"during",
"a",
"method",
"invocation"
] | [
"return",
"new",
"container",
"interceptor",
"method",
"interceptor",
"(",
"this",
"interceptor",
"instance",
"ref",
",",
"method",
")",
";"
] |
[
"return",
"element",
"range",
"which",
"contains",
"text",
"range",
"(",
"start",
"end",
")",
"of",
"top",
"level",
"elements",
"common",
"parent",
"of",
"elements",
"is",
"straight",
"parent",
"for",
"each",
"element"
] | [
"if",
"(",
"element",
"range",
"first",
"=",
"=",
"null",
"|",
"|",
"element",
"range",
"second",
"=",
"=",
"null",
")",
"return",
"null",
";",
"psi",
"element",
"common",
"parent",
"=",
"psi",
"tree",
"util",
"find",
"common",
"parent",
"(",
"element"... |
[
"implement",
"the",
"parcelable",
"interface"
] | [
"super",
"write",
"to",
"parcel",
"(",
"dest",
",",
"flags",
")",
";",
"dest",
"write",
"int",
"(",
"lease",
"duration",
")",
";",
"dest",
"write",
"int",
"(",
"mtu",
")",
";",
"network",
"utils",
"parcel",
"inet",
"address",
"(",
"dest",
",",
"serve... |
[
"<",
"p",
">",
"the",
"unique",
"identifier",
"(",
"id",
")",
"of",
"the",
"organizational",
"unit",
"that",
"you",
"want",
"to",
"delete",
"you",
"can",
"get",
"the",
"id",
"from",
"the",
"<",
"a",
">",
"list",
"organizational",
"units",
"for",
"paren... | [
"set",
"organizational",
"unit",
"id",
"(",
"organizational",
"unit",
"id",
")",
";",
"return",
"this",
";"
] |
[
"creates",
"the",
"renderers",
"needed",
"for",
"this",
"combined",
"-",
"renderer",
"in",
"the",
"required",
"order",
"also",
"takes",
"the",
"draw",
"order",
"into",
"consideration"
] | [
"m",
"renderers",
"clear",
"(",
")",
";",
"combined",
"chart",
"chart",
"=",
"(",
"combined",
"chart",
")",
"m",
"chart",
"get",
"(",
")",
";",
"if",
"(",
"chart",
"=",
"=",
"null",
")",
"return",
";",
"draw",
"order",
"[",
"]",
"orders",
"=",
"c... |
[
"returns",
"the",
"sub",
"-",
"renderer",
"object",
"at",
"the",
"specified",
"index"
] | [
"if",
"(",
"index",
">",
"=",
"m",
"renderers",
"size",
"(",
")",
"|",
"|",
"index",
"<",
"0",
")",
"return",
"null",
";",
"else",
"return",
"m",
"renderers",
"get",
"(",
"index",
")",
";"
] |
[
"returns",
"all",
"sub",
"-",
"renderers"
] | [
"return",
"m",
"renderers",
";"
] |
[
"read",
"through",
"an",
"byte",
"buffer",
"and",
"returns",
"the",
"digest",
"for",
"the",
"data"
] | [
"message",
"digest",
"update",
"(",
"data",
")",
";",
"return",
"message",
"digest",
"digest",
"(",
")",
";"
] |
[
"read",
"through",
"an",
"input",
"stream",
"and",
"returns",
"the",
"digest",
"for",
"the",
"data"
] | [
"return",
"update",
"digest",
"(",
"digest",
",",
"data",
")",
"digest",
"(",
")",
";"
] |
[
"returns",
"a",
"<",
"code",
">",
"message",
"digest",
"<",
"/",
"code",
">",
"for",
"the",
"given",
"<",
"code",
">",
"algorithm",
"<",
"/",
"code",
">"
] | [
"try",
"{",
"return",
"message",
"digest",
"get",
"instance",
"(",
"algorithm",
")",
";",
"}",
"catch",
"(",
"final",
"no",
"such",
"algorithm",
"exception",
"e",
")",
"{",
"throw",
"new",
"illegal",
"argument",
"exception",
"(",
"e",
")",
";",
"}"
] |
[
"returns",
"an",
"md2",
"message",
"digest"
] | [
"return",
"get",
"digest",
"(",
"message",
"digest",
"algorithms",
"md2",
")",
";"
] |
[
"returns",
"an",
"md5",
"message",
"digest"
] | [
"return",
"get",
"digest",
"(",
"message",
"digest",
"algorithms",
"md5",
")",
";"
] |
[
"returns",
"an",
"sha",
"-",
"1",
"digest"
] | [
"return",
"get",
"digest",
"(",
"message",
"digest",
"algorithms",
"sha",
"1",
")",
";"
] |
[
"returns",
"an",
"sha",
"-",
"224",
"digest",
"<",
"p",
">",
"java",
"8",
"only",
"<",
"/",
"p",
">"
] | [
"return",
"get",
"digest",
"(",
"message",
"digest",
"algorithms",
"sha",
"224",
")",
";"
] |
[
"returns",
"an",
"sha",
"-",
"256",
"digest",
"<",
"p",
">",
"throws",
"a",
"<",
"code",
">",
"runtime",
"exception",
"<",
"/",
"code",
">",
"on",
"jre",
"versions",
"prior",
"to",
"1",
"4",
"0",
"<",
"/",
"p",
">"
] | [
"return",
"get",
"digest",
"(",
"message",
"digest",
"algorithms",
"sha",
"256",
")",
";"
] |
[
"returns",
"an",
"sha",
"-",
"384",
"digest",
"<",
"p",
">",
"throws",
"a",
"<",
"code",
">",
"runtime",
"exception",
"<",
"/",
"code",
">",
"on",
"jre",
"versions",
"prior",
"to",
"1",
"4",
"0",
"<",
"/",
"p",
">"
] | [
"return",
"get",
"digest",
"(",
"message",
"digest",
"algorithms",
"sha",
"384",
")",
";"
] |
[
"returns",
"an",
"sha",
"-",
"512",
"digest",
"<",
"p",
">",
"throws",
"a",
"<",
"code",
">",
"runtime",
"exception",
"<",
"/",
"code",
">",
"on",
"jre",
"versions",
"prior",
"to",
"1",
"4",
"0",
"<",
"/",
"p",
">"
] | [
"return",
"get",
"digest",
"(",
"message",
"digest",
"algorithms",
"sha",
"512",
")",
";"
] |
[
"returns",
"an",
"sha",
"-",
"1",
"digest"
] | [
"return",
"get",
"sha",
"1",
"digest",
"(",
")",
";"
] |
[
"calculates",
"the",
"md2",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"16",
"element",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"get",
"md",
"2",
"digest",
"(",
")",
"digest",
"(",
"data",
")",
";"
] |
[
"calculates",
"the",
"md2",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"16",
"element",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"digest",
"(",
"get",
"md",
"2",
"digest",
"(",
")",
",",
"data",
")",
";"
] |
[
"calculates",
"the",
"md2",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"16",
"element",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"digest",
"(",
"get",
"md",
"2",
"digest",
"(",
")",
",",
"data",
")",
";"
] |
[
"calculates",
"the",
"md2",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"16",
"element",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"md",
"2",
"(",
"string",
"utils",
"get",
"bytes",
"utf",
"8",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md2",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"32",
"character",
"hex",
"string"
] | [
"return",
"hex",
"encode",
"hex",
"string",
"(",
"md",
"2",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md2",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"32",
"character",
"hex",
"string"
] | [
"return",
"hex",
"encode",
"hex",
"string",
"(",
"md",
"2",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md2",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"32",
"character",
"hex",
"string"
] | [
"return",
"hex",
"encode",
"hex",
"string",
"(",
"md",
"2",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md2",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"32",
"character",
"hex",
"string"
] | [
"return",
"hex",
"encode",
"hex",
"string",
"(",
"md",
"2",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md5",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"16",
"element",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"get",
"md",
"5",
"digest",
"(",
")",
"digest",
"(",
"data",
")",
";"
] |
[
"calculates",
"the",
"md5",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"16",
"element",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"digest",
"(",
"get",
"md",
"5",
"digest",
"(",
")",
",",
"data",
")",
";"
] |
[
"calculates",
"the",
"md5",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"16",
"element",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"digest",
"(",
"get",
"md",
"5",
"digest",
"(",
")",
",",
"data",
")",
";"
] |
[
"calculates",
"the",
"md5",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"16",
"element",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"md",
"5",
"(",
"string",
"utils",
"get",
"bytes",
"utf",
"8",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md5",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"32",
"character",
"hex",
"string"
] | [
"return",
"hex",
"encode",
"hex",
"string",
"(",
"md",
"5",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md5",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"32",
"character",
"hex",
"string"
] | [
"return",
"hex",
"encode",
"hex",
"string",
"(",
"md",
"5",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md5",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"32",
"character",
"hex",
"string"
] | [
"return",
"hex",
"encode",
"hex",
"string",
"(",
"md",
"5",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"md5",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"32",
"character",
"hex",
"string"
] | [
"return",
"hex",
"encode",
"hex",
"string",
"(",
"md",
"5",
"(",
"data",
")",
")",
";"
] |
[
"calculates",
"the",
"sha",
"-",
"1",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"sha",
"1",
"(",
"data",
")",
";"
] |
[
"calculates",
"the",
"sha",
"-",
"1",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"sha",
"1",
"(",
"data",
")",
";"
] |
[
"calculates",
"the",
"sha",
"-",
"1",
"digest",
"and",
"returns",
"the",
"value",
"as",
"a",
"<",
"code",
">",
"byte",
"[",
"]",
"<",
"/",
"code",
">"
] | [
"return",
"sha",
"1",
"(",
"data",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.