docstring_tokens list | code_tokens list |
|---|---|
[
"returns",
"true",
"if",
"the",
"token",
"equals",
"{"
] | [
"return",
"is",
"linebreak",
";"
] |
[
"add",
"a",
"reading",
"with",
"a",
"paragraph",
"end",
"token",
"unless",
"this",
"is",
"already",
"a",
"paragraph",
"end"
] | [
"if",
"(",
"!",
"is",
"paragraph",
"end",
"(",
")",
")",
"{",
"analyzed",
"token",
"paragraph",
"end",
"=",
"new",
"analyzed",
"token",
"(",
"get",
"token",
"(",
")",
",",
"paragraph",
"end",
"tagname",
",",
"get",
"analyzed",
"token",
"(",
"0",
")",... |
[
"add",
"a",
"sent",
"end",
"tag"
] | [
"if",
"(",
"!",
"is",
"sentence",
"end",
"(",
")",
")",
"{",
"analyzed",
"token",
"sentence",
"end",
"=",
"new",
"analyzed",
"token",
"(",
"get",
"token",
"(",
")",
",",
"sentence",
"end",
"tagname",
",",
"get",
"analyzed",
"token",
"(",
"0",
")",
... |
[
"return",
"the",
"start",
"position",
"of",
"the",
"import",
"statements"
] | [
"return",
"start",
"pos",
";"
] |
[
"make",
"the",
"token",
"ignored",
"by",
"all",
"spelling",
"rules"
] | [
"is",
"ignored",
"by",
"speller",
"=",
"true",
";"
] |
[
"test",
"if",
"the",
"token",
"can",
"be",
"ignored",
"by",
"spelling",
"rules"
] | [
"return",
"is",
"ignored",
"by",
"speller",
";"
] |
[
"test",
"if",
"the",
"token",
"s",
"p",
"o",
"stag",
"equals",
"null"
] | [
"return",
"is",
"pos",
"tag",
"unknown",
";"
] |
[
"sets",
"the",
"flag",
"on",
"analyzed",
"tokens",
"to",
"make",
"matching",
"on",
"{"
] | [
"boolean",
"has",
"no",
"p",
"o",
"stag",
"=",
"!",
"is",
"linebreak",
"(",
")",
";",
"for",
"(",
"analyzed",
"token",
"an",
":",
"an",
"tok",
"readings",
")",
"{",
"string",
"pos",
"tag",
"=",
"an",
"get",
"p",
"o",
"s",
"tag",
"(",
")",
";",
... |
[
"used",
"to",
"track",
"disambiguator",
"actions"
] | [
"return",
"historical",
"annotations",
";"
] |
[
"used",
"to",
"track",
"disambiguator",
"actions"
] | [
"this",
"historical",
"annotations",
"=",
"historical",
"annotations",
";"
] |
[
"used",
"to",
"configure",
"the",
"internal",
"variable",
"for",
"lemma",
"equality"
] | [
"string",
"previous",
"lemma",
"=",
"an",
"tok",
"readings",
"[",
"0",
"]",
"get",
"lemma",
"(",
")",
";",
"if",
"(",
"previous",
"lemma",
"=",
"=",
"null",
")",
"{",
"for",
"(",
"analyzed",
"token",
"element",
":",
"an",
"tok",
"readings",
")",
"{... |
[
"used",
"to",
"optimize",
"pattern",
"matching"
] | [
"return",
"has",
"same",
"lemmas",
";"
] |
[
"if",
"no",
"explicit",
"x",
"position",
"or",
"y",
"position",
"is",
"provided",
"setting",
"alignment",
"to",
"centered",
"will",
"place",
"the",
"captions",
"at",
"the",
"bottom",
"center",
"of",
"the",
"output",
"similarly",
"setting",
"a",
"left",
"alig... | [
"this",
"alignment",
"=",
"alignment",
";"
] |
[
"if",
"no",
"explicit",
"x",
"position",
"or",
"y",
"position",
"is",
"provided",
"setting",
"alignment",
"to",
"centered",
"will",
"place",
"the",
"captions",
"at",
"the",
"bottom",
"center",
"of",
"the",
"output",
"similarly",
"setting",
"a",
"left",
"alig... | [
"return",
"this",
"alignment",
";"
] |
[
"if",
"no",
"explicit",
"x",
"position",
"or",
"y",
"position",
"is",
"provided",
"setting",
"alignment",
"to",
"centered",
"will",
"place",
"the",
"captions",
"at",
"the",
"bottom",
"center",
"of",
"the",
"output",
"similarly",
"setting",
"a",
"left",
"alig... | [
"this",
"alignment",
"=",
"alignment",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"specifies",
"the",
"color",
"of",
"the",
"rectangle",
"behind",
"the",
"captions",
"all",
"burn",
"-",
"in",
"and",
"dvb",
"-",
"sub",
"font",
"settings",
"must",
"match"
] | [
"this",
"background",
"color",
"=",
"background",
"color",
";"
] |
[
"specifies",
"the",
"color",
"of",
"the",
"rectangle",
"behind",
"the",
"captions",
"all",
"burn",
"-",
"in",
"and",
"dvb",
"-",
"sub",
"font",
"settings",
"must",
"match"
] | [
"return",
"this",
"background",
"color",
";"
] |
[
"specifies",
"the",
"color",
"of",
"the",
"rectangle",
"behind",
"the",
"captions",
"all",
"burn",
"-",
"in",
"and",
"dvb",
"-",
"sub",
"font",
"settings",
"must",
"match"
] | [
"this",
"background",
"color",
"=",
"background",
"color",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"specifies",
"the",
"opacity",
"of",
"the",
"background",
"rectangle",
"255",
"is",
"opaque",
";",
"0",
"is",
"transparent",
"leaving",
"this",
"parameter",
"out",
"is",
"equivalent",
"to",
"setting",
"it",
"to",
"0",
"(",
"transparent",
")",
"all",
"burn",
... | [
"this",
"background",
"opacity",
"=",
"background",
"opacity",
";"
] |
[
"specifies",
"the",
"opacity",
"of",
"the",
"background",
"rectangle",
"255",
"is",
"opaque",
";",
"0",
"is",
"transparent",
"leaving",
"this",
"parameter",
"out",
"is",
"equivalent",
"to",
"setting",
"it",
"to",
"0",
"(",
"transparent",
")",
"all",
"burn",
... | [
"return",
"this",
"background",
"opacity",
";"
] |
[
"specifies",
"the",
"opacity",
"of",
"the",
"background",
"rectangle",
"255",
"is",
"opaque",
";",
"0",
"is",
"transparent",
"leaving",
"this",
"parameter",
"blank",
"is",
"equivalent",
"to",
"setting",
"it",
"to",
"0",
"(",
"transparent",
")",
"all",
"burn"... | [
"set",
"background",
"opacity",
"(",
"background",
"opacity",
")",
";",
"return",
"this",
";"
] |
[
"external",
"font",
"file",
"used",
"for",
"caption",
"burn",
"-",
"in",
"file",
"extension",
"must",
"be",
"ttf",
"or",
"tte",
"although",
"the",
"user",
"can",
"select",
"output",
"fonts",
"for",
"many",
"different",
"types",
"of",
"input",
"captions",
"... | [
"this",
"font",
"=",
"font",
";"
] |
[
"external",
"font",
"file",
"used",
"for",
"caption",
"burn",
"-",
"in",
"file",
"extension",
"must",
"be",
"ttf",
"or",
"tte",
"although",
"the",
"user",
"can",
"select",
"output",
"fonts",
"for",
"many",
"different",
"types",
"of",
"input",
"captions",
"... | [
"return",
"this",
"font",
";"
] |
[
"external",
"font",
"file",
"used",
"for",
"caption",
"burn",
"-",
"in",
"file",
"extension",
"must",
"be",
"ttf",
"or",
"tte",
"although",
"the",
"user",
"can",
"select",
"output",
"fonts",
"for",
"many",
"different",
"types",
"of",
"input",
"captions",
"... | [
"set",
"font",
"(",
"font",
")",
";",
"return",
"this",
";"
] |
[
"specifies",
"the",
"color",
"of",
"the",
"burned",
"-",
"in",
"captions",
"this",
"option",
"is",
"not",
"valid",
"for",
"source",
"captions",
"that",
"are",
"stl",
"608",
"/",
"embedded",
"or",
"teletext",
"these",
"source",
"settings",
"are",
"already",
... | [
"this",
"font",
"color",
"=",
"font",
"color",
";"
] |
[
"specifies",
"the",
"color",
"of",
"the",
"burned",
"-",
"in",
"captions",
"this",
"option",
"is",
"not",
"valid",
"for",
"source",
"captions",
"that",
"are",
"stl",
"608",
"/",
"embedded",
"or",
"teletext",
"these",
"source",
"settings",
"are",
"already",
... | [
"return",
"this",
"font",
"color",
";"
] |
[
"specifies",
"the",
"color",
"of",
"the",
"burned",
"-",
"in",
"captions",
"this",
"option",
"is",
"not",
"valid",
"for",
"source",
"captions",
"that",
"are",
"stl",
"608",
"/",
"embedded",
"or",
"teletext",
"these",
"source",
"settings",
"are",
"already",
... | [
"this",
"font",
"color",
"=",
"font",
"color",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"specifies",
"the",
"opacity",
"of",
"the",
"burned",
"-",
"in",
"captions",
"255",
"is",
"opaque",
";",
"0",
"is",
"transparent",
"all",
"burn",
"-",
"in",
"and",
"dvb",
"-",
"sub",
"font",
"settings",
"must",
"match"
] | [
"this",
"font",
"opacity",
"=",
"font",
"opacity",
";"
] |
[
"specifies",
"the",
"opacity",
"of",
"the",
"burned",
"-",
"in",
"captions",
"255",
"is",
"opaque",
";",
"0",
"is",
"transparent",
"all",
"burn",
"-",
"in",
"and",
"dvb",
"-",
"sub",
"font",
"settings",
"must",
"match"
] | [
"return",
"this",
"font",
"opacity",
";"
] |
[
"specifies",
"the",
"opacity",
"of",
"the",
"burned",
"-",
"in",
"captions",
"255",
"is",
"opaque",
";",
"0",
"is",
"transparent",
"all",
"burn",
"-",
"in",
"and",
"dvb",
"-",
"sub",
"font",
"settings",
"must",
"match"
] | [
"set",
"font",
"opacity",
"(",
"font",
"opacity",
")",
";",
"return",
"this",
";"
] |
[
"font",
"resolution",
"in",
"dpi",
"(",
"dots",
"per",
"inch",
")",
";",
"default",
"is",
"96",
"dpi",
"all",
"burn",
"-",
"in",
"and",
"dvb",
"-",
"sub",
"font",
"settings",
"must",
"match"
] | [
"this",
"font",
"resolution",
"=",
"font",
"resolution",
";"
] |
[
"font",
"resolution",
"in",
"dpi",
"(",
"dots",
"per",
"inch",
")",
";",
"default",
"is",
"96",
"dpi",
"all",
"burn",
"-",
"in",
"and",
"dvb",
"-",
"sub",
"font",
"settings",
"must",
"match"
] | [
"return",
"this",
"font",
"resolution",
";"
] |
[
"font",
"resolution",
"in",
"dpi",
"(",
"dots",
"per",
"inch",
")",
";",
"default",
"is",
"96",
"dpi",
"all",
"burn",
"-",
"in",
"and",
"dvb",
"-",
"sub",
"font",
"settings",
"must",
"match"
] | [
"set",
"font",
"resolution",
"(",
"font",
"resolution",
")",
";",
"return",
"this",
";"
] |
[
"when",
"set",
"to",
"auto",
"font",
"size",
"will",
"scale",
"depending",
"on",
"the",
"size",
"of",
"the",
"output",
"giving",
"a",
"positive",
"integer",
"will",
"specify",
"the",
"exact",
"font",
"size",
"in",
"points",
"all",
"burn",
"-",
"in",
"and... | [
"this",
"font",
"size",
"=",
"font",
"size",
";"
] |
[
"when",
"set",
"to",
"auto",
"font",
"size",
"will",
"scale",
"depending",
"on",
"the",
"size",
"of",
"the",
"output",
"giving",
"a",
"positive",
"integer",
"will",
"specify",
"the",
"exact",
"font",
"size",
"in",
"points",
"all",
"burn",
"-",
"in",
"and... | [
"return",
"this",
"font",
"size",
";"
] |
[
"when",
"set",
"to",
"auto",
"font",
"size",
"will",
"scale",
"depending",
"on",
"the",
"size",
"of",
"the",
"output",
"giving",
"a",
"positive",
"integer",
"will",
"specify",
"the",
"exact",
"font",
"size",
"in",
"points",
"all",
"burn",
"-",
"in",
"and... | [
"set",
"font",
"size",
"(",
"font",
"size",
")",
";",
"return",
"this",
";"
] |
[
"specifies",
"font",
"outline",
"color",
"this",
"option",
"is",
"not",
"valid",
"for",
"source",
"captions",
"that",
"are",
"either",
"608",
"/",
"embedded",
"or",
"teletext",
"these",
"source",
"settings",
"are",
"already",
"pre",
"-",
"defined",
"by",
"th... | [
"this",
"outline",
"color",
"=",
"outline",
"color",
";"
] |
[
"specifies",
"font",
"outline",
"color",
"this",
"option",
"is",
"not",
"valid",
"for",
"source",
"captions",
"that",
"are",
"either",
"608",
"/",
"embedded",
"or",
"teletext",
"these",
"source",
"settings",
"are",
"already",
"pre",
"-",
"defined",
"by",
"th... | [
"return",
"this",
"outline",
"color",
";"
] |
[
"specifies",
"font",
"outline",
"color",
"this",
"option",
"is",
"not",
"valid",
"for",
"source",
"captions",
"that",
"are",
"either",
"608",
"/",
"embedded",
"or",
"teletext",
"these",
"source",
"settings",
"are",
"already",
"pre",
"-",
"defined",
"by",
"th... | [
"this",
"outline",
"color",
"=",
"outline",
"color",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"specifies",
"font",
"outline",
"size",
"in",
"pixels",
"this",
"option",
"is",
"not",
"valid",
"for",
"source",
"captions",
"that",
"are",
"either",
"608",
"/",
"embedded",
"or",
"teletext",
"these",
"source",
"settings",
"are",
"already",
"pre",
"-",
"defi... | [
"this",
"outline",
"size",
"=",
"outline",
"size",
";"
] |
[
"specifies",
"font",
"outline",
"size",
"in",
"pixels",
"this",
"option",
"is",
"not",
"valid",
"for",
"source",
"captions",
"that",
"are",
"either",
"608",
"/",
"embedded",
"or",
"teletext",
"these",
"source",
"settings",
"are",
"already",
"pre",
"-",
"defi... | [
"return",
"this",
"outline",
"size",
";"
] |
[
"specifies",
"font",
"outline",
"size",
"in",
"pixels",
"this",
"option",
"is",
"not",
"valid",
"for",
"source",
"captions",
"that",
"are",
"either",
"608",
"/",
"embedded",
"or",
"teletext",
"these",
"source",
"settings",
"are",
"already",
"pre",
"-",
"defi... | [
"set",
"outline",
"size",
"(",
"outline",
"size",
")",
";",
"return",
"this",
";"
] |
[
"specifies",
"the",
"color",
"of",
"the",
"shadow",
"cast",
"by",
"the",
"captions",
"all",
"burn",
"-",
"in",
"and",
"dvb",
"-",
"sub",
"font",
"settings",
"must",
"match"
] | [
"this",
"shadow",
"color",
"=",
"shadow",
"color",
";"
] |
[
"specifies",
"the",
"color",
"of",
"the",
"shadow",
"cast",
"by",
"the",
"captions",
"all",
"burn",
"-",
"in",
"and",
"dvb",
"-",
"sub",
"font",
"settings",
"must",
"match"
] | [
"return",
"this",
"shadow",
"color",
";"
] |
[
"specifies",
"the",
"color",
"of",
"the",
"shadow",
"cast",
"by",
"the",
"captions",
"all",
"burn",
"-",
"in",
"and",
"dvb",
"-",
"sub",
"font",
"settings",
"must",
"match"
] | [
"this",
"shadow",
"color",
"=",
"shadow",
"color",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"specifies",
"the",
"opacity",
"of",
"the",
"shadow",
"255",
"is",
"opaque",
";",
"0",
"is",
"transparent",
"leaving",
"this",
"parameter",
"out",
"is",
"equivalent",
"to",
"setting",
"it",
"to",
"0",
"(",
"transparent",
")",
"all",
"burn",
"-",
"in",
"a... | [
"this",
"shadow",
"opacity",
"=",
"shadow",
"opacity",
";"
] |
[
"specifies",
"the",
"opacity",
"of",
"the",
"shadow",
"255",
"is",
"opaque",
";",
"0",
"is",
"transparent",
"leaving",
"this",
"parameter",
"out",
"is",
"equivalent",
"to",
"setting",
"it",
"to",
"0",
"(",
"transparent",
")",
"all",
"burn",
"-",
"in",
"a... | [
"return",
"this",
"shadow",
"opacity",
";"
] |
[
"specifies",
"the",
"opacity",
"of",
"the",
"shadow",
"255",
"is",
"opaque",
";",
"0",
"is",
"transparent",
"leaving",
"this",
"parameter",
"blank",
"is",
"equivalent",
"to",
"setting",
"it",
"to",
"0",
"(",
"transparent",
")",
"all",
"burn",
"-",
"in",
... | [
"set",
"shadow",
"opacity",
"(",
"shadow",
"opacity",
")",
";",
"return",
"this",
";"
] |
[
"specifies",
"the",
"horizontal",
"offset",
"of",
"the",
"shadow",
"relative",
"to",
"the",
"captions",
"in",
"pixels",
"a",
"value",
"of",
"-",
"2",
"would",
"result",
"in",
"a",
"shadow",
"offset",
"2",
"pixels",
"to",
"the",
"left",
"all",
"burn",
"-"... | [
"this",
"shadow",
"x",
"offset",
"=",
"shadow",
"x",
"offset",
";"
] |
[
"specifies",
"the",
"horizontal",
"offset",
"of",
"the",
"shadow",
"relative",
"to",
"the",
"captions",
"in",
"pixels",
"a",
"value",
"of",
"-",
"2",
"would",
"result",
"in",
"a",
"shadow",
"offset",
"2",
"pixels",
"to",
"the",
"left",
"all",
"burn",
"-"... | [
"return",
"this",
"shadow",
"x",
"offset",
";"
] |
[
"specifies",
"the",
"horizontal",
"offset",
"of",
"the",
"shadow",
"relative",
"to",
"the",
"captions",
"in",
"pixels",
"a",
"value",
"of",
"-",
"2",
"would",
"result",
"in",
"a",
"shadow",
"offset",
"2",
"pixels",
"to",
"the",
"left",
"all",
"burn",
"-"... | [
"set",
"shadow",
"x",
"offset",
"(",
"shadow",
"x",
"offset",
")",
";",
"return",
"this",
";"
] |
[
"specifies",
"the",
"vertical",
"offset",
"of",
"the",
"shadow",
"relative",
"to",
"the",
"captions",
"in",
"pixels",
"a",
"value",
"of",
"-",
"2",
"would",
"result",
"in",
"a",
"shadow",
"offset",
"2",
"pixels",
"above",
"the",
"text",
"all",
"burn",
"-... | [
"this",
"shadow",
"y",
"offset",
"=",
"shadow",
"y",
"offset",
";"
] |
[
"specifies",
"the",
"vertical",
"offset",
"of",
"the",
"shadow",
"relative",
"to",
"the",
"captions",
"in",
"pixels",
"a",
"value",
"of",
"-",
"2",
"would",
"result",
"in",
"a",
"shadow",
"offset",
"2",
"pixels",
"above",
"the",
"text",
"all",
"burn",
"-... | [
"return",
"this",
"shadow",
"y",
"offset",
";"
] |
[
"specifies",
"the",
"vertical",
"offset",
"of",
"the",
"shadow",
"relative",
"to",
"the",
"captions",
"in",
"pixels",
"a",
"value",
"of",
"-",
"2",
"would",
"result",
"in",
"a",
"shadow",
"offset",
"2",
"pixels",
"above",
"the",
"text",
"all",
"burn",
"-... | [
"set",
"shadow",
"y",
"offset",
"(",
"shadow",
"y",
"offset",
")",
";",
"return",
"this",
";"
] |
[
"controls",
"whether",
"a",
"fixed",
"grid",
"size",
"will",
"be",
"used",
"to",
"generate",
"the",
"output",
"subtitles",
"bitmap",
"only",
"applicable",
"for",
"teletext",
"inputs",
"and",
"dvb",
"-",
"sub",
"/",
"burn",
"-",
"in",
"outputs"
] | [
"this",
"teletext",
"grid",
"control",
"=",
"teletext",
"grid",
"control",
";"
] |
[
"controls",
"whether",
"a",
"fixed",
"grid",
"size",
"will",
"be",
"used",
"to",
"generate",
"the",
"output",
"subtitles",
"bitmap",
"only",
"applicable",
"for",
"teletext",
"inputs",
"and",
"dvb",
"-",
"sub",
"/",
"burn",
"-",
"in",
"outputs"
] | [
"return",
"this",
"teletext",
"grid",
"control",
";"
] |
[
"controls",
"whether",
"a",
"fixed",
"grid",
"size",
"will",
"be",
"used",
"to",
"generate",
"the",
"output",
"subtitles",
"bitmap",
"only",
"applicable",
"for",
"teletext",
"inputs",
"and",
"dvb",
"-",
"sub",
"/",
"burn",
"-",
"in",
"outputs"
] | [
"set",
"teletext",
"grid",
"control",
"(",
"teletext",
"grid",
"control",
")",
";",
"return",
"this",
";"
] |
[
"controls",
"whether",
"a",
"fixed",
"grid",
"size",
"will",
"be",
"used",
"to",
"generate",
"the",
"output",
"subtitles",
"bitmap",
"only",
"applicable",
"for",
"teletext",
"inputs",
"and",
"dvb",
"-",
"sub",
"/",
"burn",
"-",
"in",
"outputs"
] | [
"this",
"teletext",
"grid",
"control",
"=",
"teletext",
"grid",
"control",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"specifies",
"the",
"horizontal",
"position",
"of",
"the",
"caption",
"relative",
"to",
"the",
"left",
"side",
"of",
"the",
"output",
"in",
"pixels",
"a",
"value",
"of",
"10",
"would",
"result",
"in",
"the",
"captions",
"starting",
"10",
"pixels",
"from",
... | [
"this",
"x",
"position",
"=",
"x",
"position",
";"
] |
[
"specifies",
"the",
"horizontal",
"position",
"of",
"the",
"caption",
"relative",
"to",
"the",
"left",
"side",
"of",
"the",
"output",
"in",
"pixels",
"a",
"value",
"of",
"10",
"would",
"result",
"in",
"the",
"captions",
"starting",
"10",
"pixels",
"from",
... | [
"return",
"this",
"x",
"position",
";"
] |
[
"specifies",
"the",
"horizontal",
"position",
"of",
"the",
"caption",
"relative",
"to",
"the",
"left",
"side",
"of",
"the",
"output",
"in",
"pixels",
"a",
"value",
"of",
"10",
"would",
"result",
"in",
"the",
"captions",
"starting",
"10",
"pixels",
"from",
... | [
"set",
"x",
"position",
"(",
"x",
"position",
")",
";",
"return",
"this",
";"
] |
[
"specifies",
"the",
"vertical",
"position",
"of",
"the",
"caption",
"relative",
"to",
"the",
"top",
"of",
"the",
"output",
"in",
"pixels",
"a",
"value",
"of",
"10",
"would",
"result",
"in",
"the",
"captions",
"starting",
"10",
"pixels",
"from",
"the",
"top... | [
"this",
"y",
"position",
"=",
"y",
"position",
";"
] |
[
"specifies",
"the",
"vertical",
"position",
"of",
"the",
"caption",
"relative",
"to",
"the",
"top",
"of",
"the",
"output",
"in",
"pixels",
"a",
"value",
"of",
"10",
"would",
"result",
"in",
"the",
"captions",
"starting",
"10",
"pixels",
"from",
"the",
"top... | [
"return",
"this",
"y",
"position",
";"
] |
[
"specifies",
"the",
"vertical",
"position",
"of",
"the",
"caption",
"relative",
"to",
"the",
"top",
"of",
"the",
"output",
"in",
"pixels",
"a",
"value",
"of",
"10",
"would",
"result",
"in",
"the",
"captions",
"starting",
"10",
"pixels",
"from",
"the",
"top... | [
"set",
"y",
"position",
"(",
"y",
"position",
")",
";",
"return",
"this",
";"
] |
[
"create",
"test",
"data"
] | [
"final",
"random",
"random",
"=",
"new",
"random",
"(",
"42",
")",
";",
"realm",
"realm",
"=",
"realm",
"get",
"default",
"instance",
"(",
")",
";",
"realm",
"execute",
"transaction",
"(",
"r",
"-",
">",
"{",
"for",
"(",
"map",
"entry",
"<",
"string"... |
[
"sets",
"the",
"rules",
"that",
"comprise",
"this",
"configuration",
"and",
"returns",
"a",
"reference",
"to",
"this",
"object",
"for",
"easy",
"method",
"chaining"
] | [
"set",
"rules",
"(",
"rules",
")",
";",
"return",
"this",
";"
] |
[
"convenience",
"array",
"style",
"method",
"for",
"{"
] | [
"set",
"rules",
"(",
"arrays",
"as",
"list",
"(",
"rules",
")",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"key",
"prefix",
"for",
"which",
"this",
"rule",
"will",
"apply"
] | [
"this",
"prefix",
"=",
"prefix",
";"
] |
[
"sets",
"the",
"time",
"in",
"days",
"between",
"when",
"an",
"object",
"is",
"uploaded",
"to",
"the",
"bucket",
"and",
"when",
"it",
"expires"
] | [
"this",
"expiration",
"in",
"days",
"=",
"expiration",
"in",
"days",
";"
] |
[
"sets",
"the",
"time",
"in",
"days",
"between",
"when",
"a",
"new",
"version",
"of",
"the",
"object",
"is",
"uploaded",
"to",
"the",
"bucket",
"and",
"when",
"older",
"versions",
"of",
"the",
"object",
"expire"
] | [
"this",
"noncurrent",
"version",
"expiration",
"in",
"days",
"=",
"value",
";"
] |
[
"sets",
"the",
"id",
"of",
"this",
"rule",
"and",
"returns",
"a",
"reference",
"to",
"this",
"object",
"for",
"method",
"chaining"
] | [
"this",
"id",
"=",
"id",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"prefix",
"associated",
"with",
"the",
"replication",
"rule"
] | [
"return",
"prefix",
";"
] |
[
"sets",
"the",
"key",
"prefix",
"for",
"this",
"rule",
"and",
"returns",
"a",
"reference",
"to",
"this",
"object",
"for",
"method",
"chaining"
] | [
"this",
"prefix",
"=",
"prefix",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"time",
"in",
"days",
"from",
"an",
"object",
"s",
"creation",
"to",
"its",
"expiration"
] | [
"return",
"expiration",
"in",
"days",
";"
] |
[
"sets",
"the",
"time",
"in",
"days",
"between",
"when",
"an",
"object",
"is",
"uploaded",
"to",
"the",
"bucket",
"and",
"when",
"it",
"expires",
"and",
"returns",
"a",
"reference",
"to",
"this",
"object",
"for",
"method",
"chaining"
] | [
"this",
"expiration",
"in",
"days",
"=",
"expiration",
"in",
"days",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"time",
"in",
"days",
"between",
"when",
"a",
"new",
"version",
"of",
"the",
"object",
"is",
"uploaded",
"to",
"the",
"bucket",
"and",
"when",
"older",
"versions",
"of",
"the",
"object",
"expire"
] | [
"return",
"noncurrent",
"version",
"expiration",
"in",
"days",
";"
] |
[
"sets",
"the",
"time",
"in",
"days",
"between",
"when",
"a",
"new",
"version",
"of",
"the",
"object",
"is",
"uploaded",
"to",
"the",
"bucket",
"and",
"when",
"older",
"versions",
"of",
"the",
"object",
"expire",
"and",
"returns",
"a",
"reference",
"to",
... | [
"set",
"noncurrent",
"version",
"expiration",
"in",
"days",
"(",
"value",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"status",
"of",
"this",
"rule",
"and",
"returns",
"a",
"reference",
"to",
"this",
"object",
"for",
"method",
"chaining"
] | [
"set",
"status",
"(",
"status",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"expiration",
"of",
"the",
"presigned",
"request",
"default",
"is",
"{"
] | [
"this",
"expiration",
"date",
"=",
"expiration",
"date",
";"
] |
[
"returns",
"the",
"expiration",
"date",
"of",
"the",
"object"
] | [
"return",
"this",
"expiration",
"date",
";"
] |
[
"sets",
"the",
"expiration",
"date",
"of",
"the",
"object",
"and",
"returns",
"a",
"reference",
"to",
"this",
"object",
"(",
"rule",
")",
"for",
"method",
"chaining"
] | [
"this",
"expiration",
"date",
"=",
"expiration",
"date",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"transition",
"describing",
"how",
"this",
"object",
"will",
"move",
"between",
"different",
"storage",
"classes",
"in",
"amazon",
"s3",
"bucket",
"life",
"cycle",
"configuration",
"can",
"now",
"accept",
"multiple",
"transitions",
"in",
"a",
"rul... | [
"set",
"transitions",
"(",
"arrays",
"as",
"list",
"(",
"transition",
")",
")",
";"
] |
[
"returns",
"the",
"transition",
"associated",
"with",
"the",
"rule",
"if",
"there",
"are",
"more",
"than",
"one",
"transition",
"associated",
"with",
"a",
"given",
"rule",
"this",
"method",
"returns",
"the",
"last",
"transition",
"rule"
] | [
"final",
"list",
"<",
"transition",
">",
"transitions",
"=",
"get",
"transitions",
"(",
")",
";",
"return",
"(",
"transitions",
"!",
"=",
"null",
"&",
"&",
"!",
"transitions",
"is",
"empty",
"(",
")",
")",
"?",
"transitions",
"get",
"(",
"transitions",
... |
[
"sets",
"the",
"transition",
"describing",
"how",
"this",
"object",
"will",
"move",
"between",
"different",
"storage",
"classes",
"in",
"amazon",
"s3",
"bucket",
"life",
"cycle",
"configuration",
"can",
"now",
"accept",
"multiple",
"transitions",
"in",
"a",
"rul... | [
"set",
"transitions",
"(",
"arrays",
"as",
"list",
"(",
"transition",
")",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"transition",
"describing",
"how",
"non",
"-",
"current",
"versions",
"of",
"objects",
"will",
"move",
"between",
"different",
"storage",
"classes",
"in",
"amazon",
"s3",
"bucket",
"life",
"cycle",
"configuration",
"can",
"now",
"accept",
"multipl... | [
"set",
"noncurrent",
"version",
"transitions",
"(",
"arrays",
"as",
"list",
"(",
"non",
"current",
"version",
"transition",
")",
")",
";"
] |
[
"returns",
"the",
"non",
"-",
"current",
"transition",
"associated",
"with",
"the",
"life",
"cycle",
"configuration",
"rule",
"if",
"there",
"are",
"more",
"than",
"one",
"transitions",
"associated",
"with",
"a",
"rule",
"this",
"method",
"returns",
"the",
"la... | [
"final",
"list",
"<",
"noncurrent",
"version",
"transition",
">",
"transitions",
"=",
"get",
"noncurrent",
"version",
"transitions",
"(",
")",
";",
"return",
"(",
"transitions",
"!",
"=",
"null",
"&",
"&",
"!",
"transitions",
"is",
"empty",
"(",
")",
")",
... |
[
"sets",
"the",
"transition",
"describing",
"how",
"non",
"-",
"current",
"versions",
"of",
"objects",
"will",
"move",
"between",
"different",
"storage",
"classes",
"in",
"amazon",
"s3",
"bucket",
"life",
"cycle",
"configuration",
"can",
"now",
"accept",
"multipl... | [
"set",
"noncurrent",
"version",
"transitions",
"(",
"arrays",
"as",
"list",
"(",
"non",
"current",
"version",
"transition",
")",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"amazon",
"s3",
"object",
"transition",
"rules",
"associated",
"with",
"the",
"given",
"rule"
] | [
"return",
"transitions",
";"
] |
[
"sets",
"the",
"amazon",
"s3",
"object",
"transition",
"rules",
"for",
"the",
"given",
"bucket"
] | [
"this",
"transitions",
"=",
"new",
"array",
"list",
"<",
"transition",
">",
"(",
"transitions",
")",
";"
] |
[
"sets",
"the",
"amazon",
"s3",
"object",
"transition",
"rules",
"for",
"the",
"given",
"bucket",
"returns",
"an",
"updated",
"version",
"of",
"this",
"object"
] | [
"set",
"transitions",
"(",
"transitions",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"amazon",
"s3",
"non",
"current",
"object",
"transition",
"rules",
"associated",
"with",
"the",
"given",
"rule"
] | [
"return",
"noncurrent",
"version",
"transitions",
";"
] |
[
"sets",
"the",
"amazon",
"s3",
"non",
"current",
"object",
"transition",
"rules",
"for",
"the",
"given",
"bucket"
] | [
"this",
"noncurrent",
"version",
"transitions",
"=",
"new",
"array",
"list",
"<",
"noncurrent",
"version",
"transition",
">",
"(",
"noncurrent",
"version",
"transitions",
")",
";"
] |
[
"sets",
"the",
"amazon",
"s3",
"non",
"current",
"object",
"transition",
"rules",
"for",
"the",
"given",
"bucket",
"returns",
"an",
"updated",
"version",
"of",
"this",
"object"
] | [
"set",
"noncurrent",
"version",
"transitions",
"(",
"noncurrent",
"version",
"transitions",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"whether",
"the",
"current",
"expiration",
"policy",
"for",
"the",
"object",
"is",
"set",
"to",
"remove",
"objects",
"when",
"only",
"a",
"delete",
"marker",
"is",
"left",
"<",
"p",
">",
"if",
"set",
"to",
"true",
"the",
"lifecycle",
"policy",
... | [
"return",
"expired",
"object",
"delete",
"marker",
";"
] |
[
"sets",
"the",
"value",
"of",
"the",
"expired",
"object",
"delete",
"markers",
"attribute"
] | [
"this",
"expired",
"object",
"delete",
"marker",
"=",
"expired",
"object",
"delete",
"marker",
";"
] |
[
"fluent",
"method",
"for",
"setting",
"the",
"value",
"of",
"the",
"expired",
"object",
"delete",
"markers",
"attributes",
"see",
"{",
"@",
"link",
"#",
"set",
"expired",
"object",
"delete",
"marker",
"(",
"boolean",
")",
"}"
] | [
"this",
"expired",
"object",
"delete",
"marker",
"=",
"expired",
"object",
"delete",
"marker",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"filter",
";"
] |
[
"sets",
"the",
"{",
"@",
"link",
"lifecycle",
"filter",
"}",
"that",
"is",
"used",
"to",
"identify",
"objects",
"that",
"a",
"lifecycle",
"rule",
"applies",
"to",
"a",
"rule",
"cannot",
"have",
"both",
"{",
"@",
"link",
"lifecycle",
"filter",
"}",
"and",... | [
"this",
"filter",
"=",
"filter",
";"
] |
[
"fluent",
"method",
"to",
"set",
"the",
"{",
"@",
"link",
"lifecycle",
"filter",
"}",
"that",
"is",
"used",
"to",
"identify",
"objects",
"that",
"a",
"lifecycle",
"rule",
"applies",
"to",
"a",
"rule",
"cannot",
"have",
"both",
"{",
"@",
"link",
"lifecycl... | [
"set",
"filter",
"(",
"filter",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"time",
"in",
"days",
"between",
"when",
"a",
"new",
"version",
"of",
"the",
"object",
"is",
"uploaded",
"to",
"the",
"bucket",
"and",
"when",
"older",
"versions",
"are",
"archived"
] | [
"this",
"days",
"=",
"expiration",
"in",
"days",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.