docstring_tokens list | code_tokens list |
|---|---|
[
"<",
"p",
">",
"(",
"private",
"hosted",
"zones",
"only",
")",
"the",
"region",
"in",
"which",
"you",
"created",
"an",
"amazon",
"vpc",
"<",
"/",
"p",
">"
] | [
"set",
"v",
"p",
"c",
"region",
"(",
"v",
"p",
"c",
"region",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"(",
"private",
"hosted",
"zones",
"only",
")",
"the",
"region",
"in",
"which",
"you",
"created",
"an",
"amazon",
"vpc",
"<",
"/",
"p",
">"
] | [
"with",
"v",
"p",
"c",
"region",
"(",
"v",
"p",
"c",
"region",
")",
";"
] |
[
"<",
"p",
">",
"(",
"private",
"hosted",
"zones",
"only",
")",
"the",
"region",
"in",
"which",
"you",
"created",
"an",
"amazon",
"vpc",
"<",
"/",
"p",
">"
] | [
"this",
"v",
"p",
"c",
"region",
"=",
"v",
"p",
"c",
"region",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"vpc",
"id",
"for",
"the",
"elasticsearch",
"domain",
"exists",
"only",
"if",
"the",
"domain",
"was",
"created",
"with",
"v",
"p",
"c",
"options",
"<",
"/",
"p",
">"
] | [
"this",
"v",
"p",
"c",
"id",
"=",
"v",
"p",
"c",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"vpc",
"id",
"for",
"the",
"elasticsearch",
"domain",
"exists",
"only",
"if",
"the",
"domain",
"was",
"created",
"with",
"v",
"p",
"c",
"options",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"v",
"p",
"c",
"id",
";"
] |
[
"equals",
"is",
"not",
"implemented"
] | [
"if",
"(",
"activiti",
"event",
"instanceof",
"activiti",
"entity",
"event",
"&",
"&",
"event",
"1",
"get",
"type",
"(",
")",
"equals",
"(",
"activiti",
"event",
"get",
"type",
"(",
")",
")",
")",
"{",
"activiti",
"entity",
"event",
"activiti",
"entity",... |
[
"get",
"the",
"type",
"of",
"the",
"field"
] | [
"public",
"abstract",
"duration",
"field",
"type",
"get",
"type",
"(",
")",
";"
] |
[
"returns",
"true",
"if",
"this",
"field",
"is",
"supported"
] | [
"public",
"abstract",
"boolean",
"is",
"supported",
"(",
")",
";"
] |
[
"is",
"this",
"field",
"precise",
"a",
"precise",
"field",
"can",
"calculate",
"its",
"value",
"from",
"milliseconds",
"without",
"needing",
"a",
"reference",
"date",
"put",
"another",
"way",
"a",
"precise",
"field",
"s",
"unit",
"size",
"is",
"not",
"variab... | [
"public",
"abstract",
"boolean",
"is",
"precise",
"(",
")",
";"
] |
[
"returns",
"the",
"amount",
"of",
"milliseconds",
"per",
"unit",
"value",
"of",
"this",
"field",
"for",
"example",
"if",
"this",
"field",
"represents",
"seconds",
"then",
"this",
"returns",
"the",
"milliseconds",
"in",
"one",
"second",
"<",
"p",
">",
"for",
... | [
"public",
"abstract",
"long",
"get",
"unit",
"millis",
"(",
")",
";"
] |
[
"get",
"the",
"value",
"of",
"this",
"field",
"from",
"the",
"milliseconds",
"which",
"is",
"approximate",
"if",
"this",
"field",
"is",
"imprecise"
] | [
"public",
"abstract",
"int",
"get",
"value",
"(",
"long",
"duration",
")",
";"
] |
[
"get",
"the",
"value",
"of",
"this",
"field",
"from",
"the",
"milliseconds",
"which",
"is",
"approximate",
"if",
"this",
"field",
"is",
"imprecise"
] | [
"public",
"abstract",
"long",
"get",
"value",
"as",
"long",
"(",
"long",
"duration",
")",
";"
] |
[
"get",
"the",
"value",
"of",
"this",
"field",
"from",
"the",
"milliseconds",
"relative",
"to",
"an",
"instant",
"for",
"precise",
"fields",
"this",
"method",
"produces",
"the",
"same",
"result",
"as",
"for",
"the",
"single",
"argument",
"get",
"method",
"<",... | [
"public",
"abstract",
"int",
"get",
"value",
"(",
"long",
"duration",
",",
"long",
"instant",
")",
";"
] |
[
"get",
"the",
"value",
"of",
"this",
"field",
"from",
"the",
"milliseconds",
"relative",
"to",
"an",
"instant",
"for",
"precise",
"fields",
"this",
"method",
"produces",
"the",
"same",
"result",
"as",
"for",
"the",
"single",
"argument",
"get",
"method",
"<",... | [
"public",
"abstract",
"long",
"get",
"value",
"as",
"long",
"(",
"long",
"duration",
",",
"long",
"instant",
")",
";"
] |
[
"get",
"the",
"millisecond",
"duration",
"of",
"this",
"field",
"from",
"its",
"value",
"which",
"is",
"approximate",
"if",
"this",
"field",
"is",
"imprecise"
] | [
"public",
"abstract",
"long",
"get",
"millis",
"(",
"int",
"value",
")",
";"
] |
[
"get",
"the",
"millisecond",
"duration",
"of",
"this",
"field",
"from",
"its",
"value",
"which",
"is",
"approximate",
"if",
"this",
"field",
"is",
"imprecise"
] | [
"public",
"abstract",
"long",
"get",
"millis",
"(",
"long",
"value",
")",
";"
] |
[
"get",
"the",
"millisecond",
"duration",
"of",
"this",
"field",
"from",
"its",
"value",
"relative",
"to",
"an",
"instant",
"for",
"precise",
"fields",
"this",
"method",
"produces",
"the",
"same",
"result",
"as",
"for",
"the",
"single",
"argument",
"get",
"mi... | [
"public",
"abstract",
"long",
"get",
"millis",
"(",
"int",
"value",
",",
"long",
"instant",
")",
";"
] |
[
"get",
"the",
"millisecond",
"duration",
"of",
"this",
"field",
"from",
"its",
"value",
"relative",
"to",
"an",
"instant",
"for",
"precise",
"fields",
"this",
"method",
"produces",
"the",
"same",
"result",
"as",
"for",
"the",
"single",
"argument",
"get",
"mi... | [
"public",
"abstract",
"long",
"get",
"millis",
"(",
"long",
"value",
",",
"long",
"instant",
")",
";"
] |
[
"adds",
"a",
"value",
"(",
"which",
"may",
"be",
"negative",
")",
"to",
"the",
"millis",
"value",
"overflowing",
"into",
"larger",
"fields",
"if",
"necessary",
"<",
"p",
">",
"the",
"value",
"will",
"be",
"added",
"to",
"this",
"field",
"if",
"the",
"v... | [
"public",
"abstract",
"long",
"add",
"(",
"long",
"instant",
",",
"int",
"value",
")",
";"
] |
[
"adds",
"a",
"value",
"(",
"which",
"may",
"be",
"negative",
")",
"to",
"the",
"millis",
"value",
"overflowing",
"into",
"larger",
"fields",
"if",
"necessary"
] | [
"public",
"abstract",
"long",
"add",
"(",
"long",
"instant",
",",
"long",
"value",
")",
";"
] |
[
"subtracts",
"a",
"duration",
"value",
"(",
"which",
"may",
"be",
"negative",
")",
"from",
"the",
"instant"
] | [
"if",
"(",
"value",
"=",
"=",
"integer",
"min",
"value",
")",
"{",
"return",
"subtract",
"(",
"instant",
",",
"(",
"long",
")",
"value",
")",
";",
"}",
"return",
"add",
"(",
"instant",
",",
"-",
"value",
")",
";"
] |
[
"computes",
"the",
"difference",
"between",
"two",
"instants",
"as",
"measured",
"in",
"the",
"units",
"of",
"this",
"field",
"any",
"fractional",
"units",
"are",
"dropped",
"from",
"the",
"result",
"calling",
"get",
"difference",
"reverses",
"the",
"effect",
... | [
"public",
"abstract",
"int",
"get",
"difference",
"(",
"long",
"minuend",
"instant",
",",
"long",
"subtrahend",
"instant",
")",
";"
] |
[
"computes",
"the",
"difference",
"between",
"two",
"instants",
"as",
"measured",
"in",
"the",
"units",
"of",
"this",
"field",
"any",
"fractional",
"units",
"are",
"dropped",
"from",
"the",
"result",
"calling",
"get",
"difference",
"reverses",
"the",
"effect",
... | [
"public",
"abstract",
"long",
"get",
"difference",
"as",
"long",
"(",
"long",
"minuend",
"instant",
",",
"long",
"subtrahend",
"instant",
")",
";"
] |
[
"get",
"a",
"suitable",
"debug",
"string"
] | [
"public",
"abstract",
"string",
"to",
"string",
"(",
")",
";"
] |
[
"to",
"use",
"the",
"{"
] | [
"this",
"splunk",
"configuration",
"factory",
"=",
"splunk",
"configuration",
"factory",
";"
] |
[
"delete",
"the",
"atomic",
"file",
"this",
"deletes",
"both",
"the",
"base",
"and",
"backup",
"files"
] | [
"base",
"name",
"delete",
"(",
")",
";",
"backup",
"name",
"delete",
"(",
")",
";"
] |
[
"open",
"the",
"atomic",
"file",
"for",
"reading",
"if",
"there",
"previously",
"was",
"an",
"incomplete",
"write",
"this",
"will",
"roll",
"back",
"to",
"the",
"last",
"good",
"data",
"before",
"opening",
"for",
"read"
] | [
"restore",
"backup",
"(",
")",
";",
"return",
"new",
"file",
"input",
"stream",
"(",
"base",
"name",
")",
";"
] |
[
"{"
] | [
"return",
"next",
"filter",
";"
] |
[
"{"
] | [
"return",
"prev",
"filter",
";"
] |
[
"{"
] | [
"next",
"filter",
"=",
"filter",
";"
] |
[
"{"
] | [
"prev",
"filter",
"=",
"filter",
";"
] |
[
"{"
] | [
"check",
"previous",
"(",
")",
";",
"prev",
"filter",
"on",
"session",
"opened",
"(",
"ses",
")",
";"
] |
[
"{"
] | [
"check",
"previous",
"(",
")",
";",
"prev",
"filter",
"on",
"session",
"closed",
"(",
"ses",
")",
";"
] |
[
"{"
] | [
"check",
"previous",
"(",
")",
";",
"prev",
"filter",
"on",
"exception",
"caught",
"(",
"ses",
",",
"e",
")",
";"
] |
[
"{"
] | [
"check",
"previous",
"(",
")",
";",
"prev",
"filter",
"on",
"message",
"received",
"(",
"ses",
",",
"msg",
")",
";"
] |
[
"{"
] | [
"check",
"next",
"(",
")",
";",
"return",
"next",
"filter",
"on",
"session",
"write",
"(",
"ses",
",",
"msg",
",",
"fut",
",",
"ack",
"c",
")",
";"
] |
[
"{"
] | [
"check",
"next",
"(",
")",
";",
"return",
"next",
"filter",
"on",
"session",
"close",
"(",
"ses",
")",
";"
] |
[
"{"
] | [
"check",
"previous",
"(",
")",
";",
"prev",
"filter",
"on",
"session",
"idle",
"timeout",
"(",
"ses",
")",
";"
] |
[
"{"
] | [
"check",
"previous",
"(",
")",
";",
"prev",
"filter",
"on",
"session",
"write",
"timeout",
"(",
"ses",
")",
";"
] |
[
"{"
] | [
"check",
"next",
"(",
")",
";",
"return",
"next",
"filter",
"on",
"pause",
"reads",
"(",
"ses",
")",
";"
] |
[
"{"
] | [
"check",
"next",
"(",
")",
";",
"return",
"next",
"filter",
"on",
"resume",
"reads",
"(",
"ses",
")",
";"
] |
[
"{"
] | [
"return",
"proceed",
"pause",
"reads",
"(",
"ses",
")",
";"
] |
[
"{"
] | [
"return",
"proceed",
"resume",
"reads",
"(",
"ses",
")",
";"
] |
[
"don",
"t",
"allow",
"key",
"removal",
"using",
"the",
"underlying",
"key",
"set",
"iterator",
"all",
"removal",
"operations",
"must",
"use",
"byte",
"counting",
"l",
"r",
"u",
"map",
"remove",
"(",
")"
] | [
"return",
"collections",
"unmodifiable",
"set",
"(",
"super",
"key",
"set",
"(",
")",
")",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"format",
"(",
"format",
")",
";",
"width",
"(",
"width",
")",
";",
"height",
"(",
"height",
")",
";",
"reset",
"(",
"reset",
")",
";",
"num",
"back",
"buffers",
"(",
"num",
"back",
"buffers",
")",
";",
"max",
"frame",
"latency",
"(",
"max",
"frame... |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"b",
"g",
"f",
"x",
"resolution",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"b",
"g",
"f",
"x",
"resolution",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"b",
"g",
"f",
"x",
"resolution",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"b",
"g",
"f",
"x",
"resolution",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"b",
"g",
"f",
"x",
"resolution",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"malloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"calloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"b",
"g",
"f",
"x",
"resolution",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"b",
"g",
"f",
"x",
"resolution",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"b",
"g",
"f",
"x",
"resolution",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] | [
"return",
"wrap",
"(",
"b",
"g",
"f",
"x",
"resolution",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"b",
"g",
"f",
"x",
"resolution",
"format",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"b",
"g",
"f",
"x",
"resolution",
"width",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"b",
"g",
"f",
"x",
"resolution",
"height",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"b",
"g",
"f",
"x",
"resolution",
"reset",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"byte",
"(",
"null",
",",
"struct",
"+",
"b",
"g",
"f",
"x",
"resolution",
"numbackbuffers",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"byte",
"(",
"null",
",",
"struct",
"+",
"b",
"g",
"f",
"x",
"resolution",
"maxframelatency",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"b",
"g",
"f",
"x",
"resolution",
"format",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"b",
"g",
"f",
"x",
"resolution",
"width",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"b",
"g",
"f",
"x",
"resolution",
"height",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"b",
"g",
"f",
"x",
"resolution",
"reset",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"byte",
"(",
"null",
",",
"struct",
"+",
"b",
"g",
"f",
"x",
"resolution",
"numbackbuffers",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"byte",
"(",
"null",
",",
"struct",
"+",
"b",
"g",
"f",
"x",
"resolution",
"maxframelatency",
",",
"value",
")",
";"
] |
[
"a",
"value",
"to",
"use",
"for",
"the",
"field",
"if",
"the",
"field",
"isn",
"t",
"specified",
"for",
"a",
"document"
] | [
"set",
"default",
"value",
"(",
"default",
"value",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"whether",
"the",
"contents",
"of",
"the",
"field",
"can",
"be",
"returned",
"in",
"the",
"search",
"results",
"<",
"/",
"p",
">"
] | [
"this",
"return",
"enabled",
"=",
"return",
"enabled",
";"
] |
[
"<",
"p",
">",
"whether",
"the",
"contents",
"of",
"the",
"field",
"can",
"be",
"returned",
"in",
"the",
"search",
"results",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"return",
"enabled",
";"
] |
[
"<",
"p",
">",
"whether",
"the",
"contents",
"of",
"the",
"field",
"can",
"be",
"returned",
"in",
"the",
"search",
"results",
"<",
"/",
"p",
">"
] | [
"set",
"return",
"enabled",
"(",
"return",
"enabled",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"whether",
"the",
"contents",
"of",
"the",
"field",
"can",
"be",
"returned",
"in",
"the",
"search",
"results",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"return",
"enabled",
";"
] |
[
"<",
"p",
">",
"whether",
"the",
"field",
"can",
"be",
"used",
"to",
"sort",
"the",
"search",
"results",
"<",
"/",
"p",
">"
] | [
"this",
"sort",
"enabled",
"=",
"sort",
"enabled",
";"
] |
[
"<",
"p",
">",
"whether",
"the",
"field",
"can",
"be",
"used",
"to",
"sort",
"the",
"search",
"results",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"sort",
"enabled",
";"
] |
[
"<",
"p",
">",
"whether",
"the",
"field",
"can",
"be",
"used",
"to",
"sort",
"the",
"search",
"results",
"<",
"/",
"p",
">"
] | [
"set",
"sort",
"enabled",
"(",
"sort",
"enabled",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"whether",
"the",
"field",
"can",
"be",
"used",
"to",
"sort",
"the",
"search",
"results",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"sort",
"enabled",
";"
] |
[
"<",
"p",
">",
"whether",
"highlights",
"can",
"be",
"returned",
"for",
"the",
"field",
"<",
"/",
"p",
">"
] | [
"this",
"highlight",
"enabled",
"=",
"highlight",
"enabled",
";"
] |
[
"<",
"p",
">",
"whether",
"highlights",
"can",
"be",
"returned",
"for",
"the",
"field",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"highlight",
"enabled",
";"
] |
[
"<",
"p",
">",
"whether",
"highlights",
"can",
"be",
"returned",
"for",
"the",
"field",
"<",
"/",
"p",
">"
] | [
"set",
"highlight",
"enabled",
"(",
"highlight",
"enabled",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"whether",
"highlights",
"can",
"be",
"returned",
"for",
"the",
"field",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"highlight",
"enabled",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"an",
"analysis",
"scheme",
"for",
"a",
"<",
"code",
">",
"text",
"-",
"array",
"<",
"/",
"code",
">",
"field",
"<",
"/",
"p",
">"
] | [
"this",
"analysis",
"scheme",
"=",
"analysis",
"scheme",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"an",
"analysis",
"scheme",
"for",
"a",
"<",
"code",
">",
"text",
"-",
"array",
"<",
"/",
"code",
">",
"field",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"analysis",
"scheme",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"an",
"analysis",
"scheme",
"for",
"a",
"<",
"code",
">",
"text",
"<",
"/",
"code",
">",
"field",
"<",
"/",
"p",
">"
] | [
"set",
"analysis",
"scheme",
"(",
"analysis",
"scheme",
")",
";",
"return",
"this",
";"
] |
[
"prevent",
"sub",
"-",
"classing"
] | [
"return",
"new",
"auto",
"value",
"secret",
"contents",
"request",
"v",
"2",
"builder",
"(",
")",
"secrets",
"(",
")",
";"
] |
[
"intended",
"to",
"be",
"package",
"-",
"private"
] | [
"abstract",
"secret",
"contents",
"request",
"v",
"2",
"builder",
"secrets",
"(",
"immutable",
"set",
"<",
"string",
">",
"secrets",
")",
";"
] |
[
"evaluate",
"if",
"the",
"filter",
"matches",
"the",
"map",
"event",
"in",
"case",
"of",
"a",
"remove",
"evict",
"or",
"expire",
"event",
"the",
"old",
"value",
"will",
"be",
"used",
"for",
"evaluation",
"otherwise",
"we",
"use",
"the",
"new",
"value",
"... | [
"object",
"test",
"value",
";",
"if",
"(",
"event",
"type",
"=",
"=",
"removed",
"|",
"|",
"event",
"type",
"=",
"=",
"evicted",
"|",
"|",
"event",
"type",
"=",
"=",
"expired",
")",
"{",
"test",
"value",
"=",
"data",
"old",
"value",
";",
"}",
"el... |
[
"get",
"this",
"number",
"as",
"a",
"{"
] | [
"return",
"new",
"big",
"integer",
"(",
"to",
"string",
"(",
")",
")",
";"
] |
[
"{"
] | [
"return",
"rs",
"get",
"ref",
"(",
"index",
")",
";"
] |
[
"{"
] | [
"st",
"set",
"ref",
"(",
"index",
",",
"value",
")",
";"
] |
[
"run",
"a",
"task"
] | [
"synchronized",
"(",
"tasks",
")",
"{",
"tasks",
"add",
"(",
"new",
"task",
"(",
"task",
",",
"executor",
")",
")",
";",
"if",
"(",
"current",
"=",
"=",
"null",
")",
"{",
"current",
"=",
"executor",
";",
"executor",
"execute",
"(",
"runner",
")",
"... |
[
"inserts",
"a",
"word",
"into",
"the",
"trie"
] | [
"trie",
"node",
"t",
"=",
"root",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"word",
"length",
"(",
")",
";",
"i",
"+",
"+",
")",
"{",
"int",
"index",
"=",
"word",
"char",
"at",
"(",
"i",
")",
"-",
"'",
"a",
"'",
";",
"if",
"... |
[
"implementations",
"for",
"constant",
"visitor"
] | [
"if",
"(",
"(",
"(",
"1",
"<",
"<",
"constant",
"get",
"tag",
"(",
")",
")",
"&",
"constant",
"tag",
"mask",
")",
"!",
"=",
"0",
")",
"{",
"constant",
"accept",
"(",
"clazz",
",",
"constant",
"visitor",
")",
";",
"}"
] |
[
"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",
"name",
":",
"return",
"is",
"set",
"name",
"(",
")",
";",
"}",
"thr... |
[
"makes",
"a",
"call",
"to",
"the",
"operation",
"specified",
"by",
"the",
"waiter",
"by",
"taking",
"the",
"corresponding",
"request",
"and",
"returns",
"the",
"corresponding",
"result"
] | [
"return",
"client",
"describe",
"instances",
"(",
"describe",
"instances",
"request",
")",
";"
] |
[
"this",
"method",
"sets",
"specified",
"cache",
"mode",
"for",
"all",
"layers",
"within",
"network"
] | [
"if",
"(",
"mode",
"=",
"=",
"null",
")",
"mode",
"=",
"cache",
"mode",
"none",
";",
"for",
"(",
"layer",
"layer",
":",
"layers",
")",
"{",
"layer",
"set",
"cache",
"mode",
"(",
"mode",
")",
";",
"}"
] |
[
"this",
"method",
"allows",
"to",
"set",
"etl",
"field",
"time",
"useful",
"for",
"performance",
"tracking"
] | [
"last",
"etl",
"time",
"set",
"(",
"time",
")",
";"
] |
[
"this",
"method",
"returns",
"etl",
"time",
"field",
"value"
] | [
"long",
"time",
"=",
"last",
"etl",
"time",
"get",
"(",
")",
";",
"return",
"time",
"=",
"=",
"null",
"?",
"0l",
":",
"time",
";"
] |
[
"perform",
"layerwise",
"pretraining",
"for",
"one",
"epoch",
"-",
"see",
"{"
] | [
"pretrain",
"(",
"iter",
",",
"1",
")",
";"
] |
[
"perform",
"layerwise",
"pretraining",
"on",
"all",
"pre",
"-",
"trainable",
"layers",
"in",
"the",
"network",
"(",
"v",
"a",
"es",
"autoencoders",
"etc",
")",
"for",
"the",
"specified",
"number",
"of",
"epochs",
"each",
"for",
"example",
"if",
"num",
"epo... | [
"if",
"(",
"flattened",
"gradients",
"=",
"=",
"null",
")",
"{",
"init",
"gradients",
"view",
"(",
")",
";",
"}",
"if",
"(",
"!",
"layer",
"wise",
"configurations",
"is",
"pretrain",
"(",
")",
")",
"return",
";",
"for",
"(",
"int",
"i",
"=",
"0",
... |
[
"fit",
"for",
"one",
"epoch",
"-",
"see",
"{"
] | [
"pretrain",
"layer",
"(",
"layer",
"idx",
",",
"iter",
",",
"1",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.