docstring_tokens
list | code_tokens
list |
---|---|
[
"jumps",
"bytes",
"positioning",
"forward",
"of",
"passed",
"bytes"
] |
[
"assure",
"space",
"for",
"(",
"i",
"length",
")",
";",
"position",
"+",
"=",
"i",
"length",
";"
] |
[
"fills",
"the",
"stream",
"from",
"current",
"position",
"writing",
"i",
"length",
"times",
"the",
"i",
"filler",
"byte"
] |
[
"assure",
"space",
"for",
"(",
"i",
"length",
")",
";",
"arrays",
"fill",
"(",
"buffer",
",",
"position",
",",
"position",
"+",
"i",
"length",
",",
"i",
"filler",
")",
";",
"position",
"+",
"=",
"i",
"length",
";"
] |
[
"browse",
"the",
"stream",
"but",
"just",
"return",
"the",
"begin",
"of",
"the",
"byte",
"array",
"this",
"is",
"used",
"to",
"lazy",
"load",
"the",
"information",
"only",
"when",
"needed"
] |
[
"if",
"(",
"position",
">",
"=",
"buffer",
"length",
")",
"return",
"-",
"1",
";",
"final",
"int",
"begin",
"=",
"position",
";",
"final",
"int",
"size",
"=",
"o",
"binary",
"protocol",
"bytes",
"2int",
"(",
"buffer",
",",
"position",
")",
";",
"position",
"+",
"=",
"o",
"binary",
"protocol",
"size",
"int",
"+",
"size",
";",
"return",
"begin",
";"
] |
[
"returns",
"the",
"available",
"bytes",
"to",
"read"
] |
[
"return",
"buffer",
"length",
"-",
"position",
";"
] |
[
"new",
"ticket",
"registry",
"cipher",
"executor",
"cipher",
"executor"
] |
[
"return",
"new",
"ticket",
"registry",
"cipher",
"executor",
"(",
"registry",
",",
"false",
",",
"registry",
"name",
")",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"virtual",
"private",
"gateway",
"<",
"/",
"p",
">"
] |
[
"set",
"vpn",
"gateway",
"id",
"(",
"vpn",
"gateway",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"determines",
"whether",
"the",
"tag",
"is",
"added",
"to",
"new",
"instances",
"as",
"they",
"are",
"launched",
"in",
"the",
"group",
"<",
"/",
"p",
">"
] |
[
"set",
"propagate",
"at",
"launch",
"(",
"propagate",
"at",
"launch",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"index",
"in",
"t",
"for",
"ceiling",
"of",
"s"
] |
[
"int",
"start",
"=",
"0",
";",
"int",
"middle",
";",
"int",
"len",
"=",
"end",
";",
"while",
"(",
"start",
"<",
"=",
"end",
")",
"{",
"middle",
"=",
"(",
"start",
"+",
"end",
")",
"/",
"2",
";",
"if",
"(",
"middle",
"<",
"len",
"&",
"&",
"input",
"[",
"t",
"[",
"middle",
"]",
"]",
"<",
"s",
"&",
"&",
"s",
"<",
"=",
"input",
"[",
"t",
"[",
"middle",
"+",
"1",
"]",
"]",
")",
"{",
"return",
"middle",
"+",
"1",
";",
"}",
"else",
"if",
"(",
"input",
"[",
"t",
"[",
"middle",
"]",
"]",
"<",
"s",
")",
"{",
"start",
"=",
"middle",
"+",
"1",
";",
"}",
"else",
"{",
"end",
"=",
"middle",
"-",
"1",
";",
"}",
"}",
"return",
"-",
"1",
";"
] |
[
"ignore",
"the",
"invalidate",
"endpoint",
"exception",
"when",
"try",
"to",
"create",
"a",
"producer",
"with",
"that",
"endpoint"
] |
[
"set",
"ignore",
"invalid",
"endpoints",
"(",
"true",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"uri",
"delimiter",
"to",
"use"
] |
[
"set",
"uri",
"delimiter",
"(",
"uri",
"delimiter",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"maximum",
"size",
"used",
"by",
"the",
"{",
"@",
"link",
"org",
"apache",
"camel",
"impl",
"producer",
"cache",
"}",
"which",
"is",
"used",
"to",
"cache",
"and",
"reuse",
"producers",
"when",
"using",
"this",
"dynamic",
"router",
"when",
"uris",
"are",
"reused"
] |
[
"set",
"cache",
"size",
"(",
"cache",
"size",
")",
";",
"return",
"this",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] |
[
"check",
"primitive",
"(",
")",
";",
"read",
"(",
"column",
"index",
")",
";",
"return",
"super",
"get",
"string",
"(",
"column",
"index",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] |
[
"check",
"primitive",
"(",
")",
";",
"was",
"column",
"index",
"=",
"column",
"index",
";",
"was",
"primitive",
"=",
"true",
";",
"was",
"nullable",
"=",
"nullable",
"get",
"(",
"column",
"index",
"-",
"1",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] |
[
"check",
"primitive",
"(",
")",
";",
"super",
"before",
"first",
"(",
")",
";",
"move",
"absolute",
"(",
"true",
",",
"super",
"get",
"row",
"(",
")",
")",
";"
] |
[
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-"
] |
[
"check",
"primitive",
"(",
")",
";",
"super",
"set",
"fetch",
"direction",
"(",
"direction",
")",
";"
] |
[
"ruturnthesizeofobservers"
] |
[
"synchronized",
"(",
"observables",
")",
"{",
"return",
"observables",
"size",
"(",
")",
";",
"}"
] |
[
"<",
"p",
">",
"a",
"<",
"code",
">",
"user",
"identity",
"info",
"<",
"/",
"code",
">",
"object",
"<",
"/",
"p",
">"
] |
[
"set",
"identity",
"info",
"(",
"identity",
"info",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"for",
"the",
"user",
"account",
"to",
"update",
"identity",
"information",
"for",
"<",
"/",
"p",
">"
] |
[
"set",
"user",
"id",
"(",
"user",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"for",
"your",
"amazon",
"connect",
"instance",
"to",
"find",
"the",
"id",
"of",
"your",
"instance",
"open",
"the",
"aws",
"console",
"and",
"select",
"amazon",
"connect",
"select",
"the",
"alias",
"of",
"the",
"instance",
"in",
"the",
"instance",
"alias",
"column",
"the",
"instance",
"id",
"is",
"displayed",
"in",
"the",
"overview",
"section",
"of",
"your",
"instance",
"settings",
"for",
"example",
"the",
"instance",
"id",
"is",
"the",
"set",
"of",
"characters",
"at",
"the",
"end",
"of",
"the",
"instance",
"arn",
"after",
"instance",
"/",
"such",
"as",
"1",
"0a",
"4c",
"4eb",
"-",
"f",
"5",
"7e",
"-",
"4d",
"4c",
"-",
"b",
"6",
"0",
"2",
"-",
"bf",
"3",
"9",
"1",
"7",
"6ced",
"0",
"7",
"<",
"/",
"p",
">"
] |
[
"set",
"instance",
"id",
"(",
"instance",
"id",
")",
";",
"return",
"this",
";"
] |
[
"create",
"new",
"{"
] |
[
"return",
"new",
"log",
"params",
"(",
")",
";"
] |
[
"returns",
"the",
"revision",
"range",
"since"
] |
[
"return",
"revision",
"range",
"since",
";"
] |
[
"set",
"revision",
"range",
"since"
] |
[
"this",
"revision",
"range",
"since",
"=",
"revision",
"range",
"since",
";"
] |
[
"create",
"a",
"{",
"@",
"link",
"log",
"params",
"}",
"object",
"based",
"on",
"a",
"given",
"revision",
"range",
"since"
] |
[
"this",
"revision",
"range",
"since",
"=",
"revision",
"range",
"since",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"revision",
"range",
"until"
] |
[
"return",
"revision",
"range",
"until",
";"
] |
[
"set",
"revision",
"range",
"until"
] |
[
"this",
"revision",
"range",
"until",
"=",
"revision",
"range",
"until",
";"
] |
[
"create",
"a",
"{",
"@",
"link",
"log",
"params",
"}",
"object",
"based",
"on",
"a",
"given",
"revision",
"range",
"until"
] |
[
"this",
"revision",
"range",
"until",
"=",
"revision",
"range",
"until",
";",
"return",
"this",
";"
] |
[
"create",
"a",
"{",
"@",
"link",
"log",
"params",
"}",
"object",
"based",
"on",
"a",
"given",
"integer",
"value",
"of",
"the",
"number",
"of",
"commits",
"that",
"will",
"be",
"skipped",
"when",
"calling",
"log",
"command"
] |
[
"this",
"skip",
"=",
"skip",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"integer",
"value",
"of",
"the",
"number",
"of",
"commits",
"that",
"will",
"be",
"returned",
"when",
"calling",
"log",
"command"
] |
[
"this",
"max",
"count",
"=",
"max",
"count",
";"
] |
[
"create",
"a",
"{",
"@",
"link",
"log",
"params",
"}",
"object",
"based",
"on",
"a",
"given",
"integer",
"value",
"of",
"the",
"number",
"of",
"commits",
"that",
"will",
"be",
"returned",
"when",
"calling",
"log",
"command"
] |
[
"this",
"max",
"count",
"=",
"max",
"count",
";",
"return",
"this",
";"
] |
[
"create",
"a",
"{",
"@",
"link",
"log",
"params",
"}",
"object",
"based",
"on",
"a",
"given",
"file",
"/",
"folder",
"path",
"used",
"when",
"calling",
"the",
"log",
"command"
] |
[
"this",
"file",
"path",
"=",
"file",
"path",
";",
"return",
"this",
";"
] |
[
"returns",
"filter",
"of",
"file",
"to",
"show",
"diff",
"it",
"may",
"be",
"either",
"list",
"of",
"file",
"names",
"or",
"name",
"of",
"directory",
"to",
"show",
"all",
"files",
"under",
"them"
] |
[
"return",
"file",
"filter",
"=",
"=",
"null",
"?",
"new",
"array",
"list",
"<",
">",
"(",
")",
":",
"file",
"filter",
";"
] |
[
"set",
"range",
"of",
"files"
] |
[
"this",
"file",
"filter",
"=",
"file",
"filter",
";"
] |
[
"create",
"a",
"{",
"@",
"link",
"log",
"params",
"}",
"object",
"based",
"on",
"a",
"given",
"range",
"of",
"files"
] |
[
"this",
"file",
"filter",
"=",
"file",
"filter",
";",
"return",
"this",
";"
] |
[
"uses",
"a",
"custom",
"partitioner",
"for",
"the",
"grouping"
] |
[
"preconditions",
"check",
"not",
"null",
"(",
"partitioner",
")",
";",
"get",
"keys",
"(",
")",
"validate",
"custom",
"partitioner",
"(",
"partitioner",
",",
"null",
")",
";",
"this",
"custom",
"partitioner",
"=",
"partitioner",
";",
"return",
"this",
";"
] |
[
"applies",
"an",
"aggregate",
"transformation",
"on",
"a",
"grouped",
"{",
"@",
"link",
"org",
"apache",
"flink",
"api",
"java",
"tuple",
"tuple",
"}",
"{",
"@",
"link",
"data",
"set",
"}"
] |
[
"return",
"aggregate",
"(",
"agg",
",",
"field",
",",
"utils",
"get",
"call",
"location",
"name",
"(",
")",
")",
";"
] |
[
"private",
"helper",
"that",
"allows",
"to",
"set",
"a",
"different",
"call",
"location",
"name"
] |
[
"return",
"new",
"aggregate",
"operator",
"<",
"t",
">",
"(",
"this",
",",
"agg",
",",
"field",
",",
"call",
"location",
"name",
")",
";"
] |
[
"syntactic",
"sugar",
"for",
"aggregate",
"(",
"sum",
"field",
")",
"@",
"param",
"field",
"the",
"index",
"of",
"the",
"tuple",
"field",
"on",
"which",
"the",
"aggregation",
"function",
"is",
"applied",
"@",
"return",
"an",
"aggregate",
"operator",
"that",
"represents",
"the",
"summed",
"data",
"set"
] |
[
"return",
"this",
"aggregate",
"(",
"aggregations",
"sum",
",",
"field",
",",
"utils",
"get",
"call",
"location",
"name",
"(",
")",
")",
";"
] |
[
"syntactic",
"sugar",
"for",
"aggregate",
"(",
"max",
"field",
")",
"@",
"param",
"field",
"the",
"index",
"of",
"the",
"tuple",
"field",
"on",
"which",
"the",
"aggregation",
"function",
"is",
"applied",
"@",
"return",
"an",
"aggregate",
"operator",
"that",
"represents",
"the",
"max",
"ed",
"data",
"set"
] |
[
"return",
"this",
"aggregate",
"(",
"aggregations",
"max",
",",
"field",
",",
"utils",
"get",
"call",
"location",
"name",
"(",
")",
")",
";"
] |
[
"syntactic",
"sugar",
"for",
"aggregate",
"(",
"min",
"field",
")",
"@",
"param",
"field",
"the",
"index",
"of",
"the",
"tuple",
"field",
"on",
"which",
"the",
"aggregation",
"function",
"is",
"applied",
"@",
"return",
"an",
"aggregate",
"operator",
"that",
"represents",
"the",
"min",
"ed",
"data",
"set"
] |
[
"return",
"this",
"aggregate",
"(",
"aggregations",
"min",
",",
"field",
",",
"utils",
"get",
"call",
"location",
"name",
"(",
")",
")",
";"
] |
[
"gets",
"a",
"list",
"issues",
"by",
"their",
"keys",
"the",
"result",
"does",
"not",
"contain",
"{"
] |
[
"return",
"execute",
"large",
"inputs",
"(",
"keys",
",",
"mapper",
"(",
"session",
")",
":",
":",
"select",
"by",
"keys",
")",
";"
] |
[
"calculates",
"an",
"id",
"for",
"a",
"{"
] |
[
"long",
"base",
"id",
"=",
"calculate",
"layout",
"output",
"base",
"id",
"(",
"layout",
"output",
",",
"level",
",",
"type",
")",
";",
"return",
"calculate",
"id",
"(",
"base",
"id",
",",
"sequence",
")",
";"
] |
[
"calculates",
"an",
"id",
"for",
"a",
"{"
] |
[
"final",
"long",
"base",
"id",
"=",
"calculate",
"visibility",
"output",
"base",
"id",
"(",
"visibility",
"output",
",",
"level",
")",
";",
"return",
"calculate",
"id",
"(",
"base",
"id",
",",
"sequence",
")",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"a",
"performance",
"insights",
"metric",
"to",
"be",
"measured",
"<",
"/",
"p",
">",
"<",
"p",
">",
"valid",
"values",
"for",
"<",
"code",
">",
"metric",
"<",
"/",
"code",
">",
"are",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"db",
"load",
"avg",
"<",
"/",
"code",
">",
"-",
"a",
"scaled",
"representation",
"of",
"the",
"number",
"of",
"active",
"sessions",
"for",
"the",
"database",
"engine",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"db",
"sampledload",
"avg",
"<",
"/",
"code",
">",
"-",
"the",
"raw",
"number",
"of",
"active",
"sessions",
"for",
"the",
"database",
"engine",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] |
[
"set",
"metric",
"(",
"metric",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"specification",
"for",
"how",
"to",
"aggregate",
"the",
"data",
"points",
"from",
"a",
"query",
"result",
"you",
"must",
"specify",
"a",
"valid",
"dimension",
"group",
"performance",
"insights",
"will",
"return",
"all",
"of",
"the",
"dimensions",
"within",
"that",
"group",
"unless",
"you",
"provide",
"the",
"names",
"of",
"specific",
"dimensions",
"within",
"that",
"group",
"you",
"can",
"also",
"request",
"that",
"performance",
"insights",
"return",
"a",
"limited",
"number",
"of",
"values",
"for",
"a",
"dimension",
"<",
"/",
"p",
">"
] |
[
"this",
"group",
"by",
"=",
"group",
"by",
";"
] |
[
"<",
"p",
">",
"a",
"specification",
"for",
"how",
"to",
"aggregate",
"the",
"data",
"points",
"from",
"a",
"query",
"result",
"you",
"must",
"specify",
"a",
"valid",
"dimension",
"group",
"performance",
"insights",
"will",
"return",
"all",
"of",
"the",
"dimensions",
"within",
"that",
"group",
"unless",
"you",
"provide",
"the",
"names",
"of",
"specific",
"dimensions",
"within",
"that",
"group",
"you",
"can",
"also",
"request",
"that",
"performance",
"insights",
"return",
"a",
"limited",
"number",
"of",
"values",
"for",
"a",
"dimension",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"group",
"by",
";"
] |
[
"<",
"p",
">",
"a",
"specification",
"for",
"how",
"to",
"aggregate",
"the",
"data",
"points",
"from",
"a",
"query",
"result",
"you",
"must",
"specify",
"a",
"valid",
"dimension",
"group",
"performance",
"insights",
"will",
"return",
"all",
"of",
"the",
"dimensions",
"within",
"that",
"group",
"unless",
"you",
"provide",
"the",
"names",
"of",
"specific",
"dimensions",
"within",
"that",
"group",
"you",
"can",
"also",
"request",
"that",
"performance",
"insights",
"return",
"a",
"limited",
"number",
"of",
"values",
"for",
"a",
"dimension",
"<",
"/",
"p",
">"
] |
[
"set",
"group",
"by",
"(",
"group",
"by",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"one",
"or",
"more",
"filters",
"to",
"apply",
"in",
"the",
"request",
"restrictions",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"any",
"number",
"of",
"filters",
"by",
"the",
"same",
"dimension",
"as",
"specified",
"in",
"the",
"<",
"code",
">",
"group",
"by",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"partition",
"<",
"/",
"code",
">",
"parameters",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"a",
"single",
"filter",
"for",
"any",
"other",
"dimension",
"in",
"this",
"dimension",
"group",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] |
[
"return",
"filter",
";"
] |
[
"<",
"p",
">",
"one",
"or",
"more",
"filters",
"to",
"apply",
"in",
"the",
"request",
"restrictions",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"any",
"number",
"of",
"filters",
"by",
"the",
"same",
"dimension",
"as",
"specified",
"in",
"the",
"<",
"code",
">",
"group",
"by",
"<",
"/",
"code",
">",
"or",
"<",
"code",
">",
"partition",
"<",
"/",
"code",
">",
"parameters",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"a",
"single",
"filter",
"for",
"any",
"other",
"dimension",
"in",
"this",
"dimension",
"group",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] |
[
"this",
"filter",
"=",
"filter",
";"
] |
[
"<",
"p",
">",
"one",
"or",
"more",
"filters",
"to",
"apply",
"in",
"the",
"request",
"restrictions",
":",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"any",
"number",
"of",
"filters",
"by",
"the",
"same",
"dimension",
"as",
"specified",
"in",
"the",
"<",
"code",
">",
"group",
"by",
"<",
"/",
"code",
">",
"parameter",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"a",
"single",
"filter",
"for",
"any",
"other",
"dimension",
"in",
"this",
"dimension",
"group",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] |
[
"set",
"filter",
"(",
"filter",
")",
";",
"return",
"this",
";"
] |
[
"removes",
"all",
"the",
"entries",
"added",
"into",
"filter"
] |
[
"this",
"filter",
"=",
"null",
";",
"return",
"this",
";"
] |
[
"extension",
"methods",
"that",
"use",
"closures",
"to",
"encapsulate",
"logic"
] |
[
"return",
"self",
"process",
"(",
"to",
"processor",
"(",
"processor",
"logic",
")",
")",
";"
] |
[
"extension",
"methods",
"that",
"use",
"closures",
"as",
"expressions"
] |
[
"return",
"self",
"script",
"(",
"to",
"expression",
"(",
"expression",
")",
")",
";"
] |
[
"extension",
"methods",
"that",
"use",
"closures",
"as",
"predicates"
] |
[
"return",
"self",
"filter",
"(",
"to",
"expression",
"(",
"predicate",
")",
")",
";"
] |
[
"bridging",
"generic",
"attribution",
"of",
"expressions",
"predicates",
"etc"
] |
[
"return",
"to",
"aggregation",
"strategy",
"(",
"aggregation",
"logic",
")",
";"
] |
[
"private",
"helpers"
] |
[
"return",
"new",
"closure",
"expression",
"(",
"closure",
")",
";"
] |
[
"groovy",
"-",
"specific",
"data",
"formats"
] |
[
"return",
"data",
"format",
"(",
"self",
",",
"parser",
"(",
"namespace",
"aware",
")",
")",
";"
] |
[
"<",
"p",
">",
"creates",
"a",
"template",
"instance",
"using",
"the",
"template",
"source",
"from",
"the",
"provided",
"reader",
"<",
"/",
"p",
">"
] |
[
"return",
"new",
"streaming",
"template",
"(",
"reader",
",",
"parent",
"loader",
")",
";"
] |
[
"header",
"refreshing"
] |
[
"m",
"header",
"state",
"=",
"refreshing",
";",
"set",
"header",
"top",
"margin",
"(",
"0",
")",
";",
"m",
"header",
"image",
"view",
"set",
"visibility",
"(",
"view",
"gone",
")",
";",
"m",
"header",
"image",
"view",
"clear",
"animation",
"(",
")",
";",
"m",
"header",
"image",
"view",
"set",
"image",
"drawable",
"(",
"null",
")",
";",
"m",
"header",
"progress",
"bar",
"set",
"visibility",
"(",
"view",
"visible",
")",
";",
"m",
"header",
"text",
"view",
"set",
"text",
"(",
"r",
"string",
"pull",
"to",
"refresh",
"refreshing",
"label",
")",
";",
"if",
"(",
"m",
"on",
"header",
"refresh",
"listener",
"!",
"=",
"null",
")",
"{",
"m",
"on",
"header",
"refresh",
"listener",
"on",
"header",
"refresh",
"(",
"this",
")",
";",
"}"
] |
[
"footer",
"refreshing"
] |
[
"m",
"footer",
"state",
"=",
"refreshing",
";",
"int",
"top",
"=",
"m",
"header",
"view",
"height",
"+",
"m",
"footer",
"view",
"height",
";",
"set",
"header",
"top",
"margin",
"(",
"-",
"top",
")",
";",
"m",
"footer",
"image",
"view",
"set",
"visibility",
"(",
"view",
"gone",
")",
";",
"m",
"footer",
"image",
"view",
"clear",
"animation",
"(",
")",
";",
"m",
"footer",
"image",
"view",
"set",
"image",
"drawable",
"(",
"null",
")",
";",
"m",
"footer",
"progress",
"bar",
"set",
"visibility",
"(",
"view",
"visible",
")",
";",
"m",
"footer",
"text",
"view",
"set",
"text",
"(",
"r",
"string",
"pull",
"to",
"refresh",
"footer",
"refreshing",
"label",
")",
";",
"if",
"(",
"m",
"on",
"footer",
"refresh",
"listener",
"!",
"=",
"null",
")",
"{",
"m",
"on",
"footer",
"refresh",
"listener",
"on",
"footer",
"refresh",
"(",
"this",
")",
";",
"}"
] |
[
"resets",
"the",
"list",
"to",
"a",
"normal",
"state",
"after",
"a",
"refresh"
] |
[
"set",
"last",
"updated",
"(",
"last",
"updated",
")",
";",
"on",
"header",
"refresh",
"complete",
"(",
")",
";"
] |
[
"set",
"a",
"text",
"to",
"represent",
"when",
"the",
"list",
"was",
"last",
"updated"
] |
[
"if",
"(",
"last",
"updated",
"!",
"=",
"null",
")",
"{",
"m",
"header",
"update",
"text",
"view",
"set",
"visibility",
"(",
"view",
"gone",
")",
";",
"m",
"header",
"update",
"text",
"view",
"set",
"text",
"(",
"last",
"updated",
")",
";",
"}",
"else",
"{",
"m",
"header",
"update",
"text",
"view",
"set",
"visibility",
"(",
"view",
"gone",
")",
";",
"}"
] |
[
"lock"
] |
[
"m",
"lock",
"=",
"true",
";"
] |
[
"unlock"
] |
[
"m",
"lock",
"=",
"false",
";"
] |
[
"set",
"header",
"refresh",
"listener"
] |
[
"m",
"on",
"header",
"refresh",
"listener",
"=",
"header",
"refresh",
"listener",
";"
] |
[
"execute",
"the",
"given",
"request",
"through",
"a",
"standard",
"{"
] |
[
"http",
"u",
"r",
"l",
"connection",
"con",
"=",
"open",
"connection",
"(",
"config",
")",
";",
"prepare",
"connection",
"(",
"con",
",",
"baos",
"size",
"(",
")",
")",
";",
"write",
"request",
"body",
"(",
"config",
",",
"con",
",",
"baos",
")",
";",
"validate",
"response",
"(",
"config",
",",
"con",
")",
";",
"input",
"stream",
"response",
"body",
"=",
"read",
"response",
"body",
"(",
"config",
",",
"con",
")",
";",
"return",
"read",
"remote",
"invocation",
"result",
"(",
"response",
"body",
",",
"config",
"get",
"codebase",
"url",
"(",
")",
")",
";"
] |
[
"prepare",
"the",
"given",
"http",
"connection",
"<",
"p",
">",
"the",
"default",
"implementation",
"specifies",
"post",
"as",
"method",
"application",
"/",
"x",
"-",
"java",
"-",
"serialized",
"-",
"object",
"as",
"content",
"-",
"type",
"header",
"and",
"the",
"given",
"content",
"length",
"as",
"content",
"-",
"length",
"header"
] |
[
"if",
"(",
"this",
"connect",
"timeout",
">",
"=",
"0",
")",
"{",
"connection",
"set",
"connect",
"timeout",
"(",
"this",
"connect",
"timeout",
")",
";",
"}",
"if",
"(",
"this",
"read",
"timeout",
">",
"=",
"0",
")",
"{",
"connection",
"set",
"read",
"timeout",
"(",
"this",
"read",
"timeout",
")",
";",
"}",
"connection",
"set",
"do",
"output",
"(",
"true",
")",
";",
"connection",
"set",
"request",
"method",
"(",
"http",
"method",
"post",
")",
";",
"connection",
"set",
"request",
"property",
"(",
"http",
"header",
"content",
"type",
",",
"get",
"content",
"type",
"(",
")",
")",
";",
"connection",
"set",
"request",
"property",
"(",
"http",
"header",
"content",
"length",
",",
"integer",
"to",
"string",
"(",
"content",
"length",
")",
")",
";",
"locale",
"context",
"locale",
"context",
"=",
"locale",
"context",
"holder",
"get",
"locale",
"context",
"(",
")",
";",
"if",
"(",
"locale",
"context",
"!",
"=",
"null",
")",
"{",
"locale",
"locale",
"=",
"locale",
"context",
"get",
"locale",
"(",
")",
";",
"if",
"(",
"locale",
"!",
"=",
"null",
")",
"{",
"connection",
"set",
"request",
"property",
"(",
"http",
"header",
"accept",
"language",
",",
"locale",
"to",
"language",
"tag",
"(",
")",
")",
";",
"}",
"}",
"if",
"(",
"is",
"accept",
"gzip",
"encoding",
"(",
")",
")",
"{",
"connection",
"set",
"request",
"property",
"(",
"http",
"header",
"accept",
"encoding",
",",
"encoding",
"gzip",
")",
";",
"}"
] |
[
"set",
"the",
"given",
"serialized",
"remote",
"invocation",
"as",
"request",
"body",
"<",
"p",
">",
"the",
"default",
"implementation",
"simply",
"write",
"the",
"serialized",
"invocation",
"to",
"the",
"http",
"u",
"r",
"l",
"connection",
"s",
"output",
"stream",
"this",
"can",
"be",
"overridden",
"for",
"example",
"to",
"write",
"a",
"specific",
"encoding",
"and",
"potentially",
"set",
"appropriate",
"http",
"request",
"headers"
] |
[
"baos",
"write",
"to",
"(",
"con",
"get",
"output",
"stream",
"(",
")",
")",
";"
] |
[
"determine",
"whether",
"the",
"given",
"response",
"is",
"a",
"gzip",
"response",
"<",
"p",
">",
"default",
"implementation",
"checks",
"whether",
"the",
"http",
"content",
"-",
"encoding",
"header",
"contains",
"gzip",
"(",
"in",
"any",
"casing",
")"
] |
[
"string",
"encoding",
"header",
"=",
"con",
"get",
"header",
"field",
"(",
"http",
"header",
"content",
"encoding",
")",
";",
"return",
"(",
"encoding",
"header",
"!",
"=",
"null",
"&",
"&",
"encoding",
"header",
"to",
"lower",
"case",
"(",
")",
"contains",
"(",
"encoding",
"gzip",
")",
")",
";"
] |
[
"returns",
"the",
"manufacturer",
"name",
"of",
"the",
"accessory"
] |
[
"return",
"m",
"manufacturer",
";"
] |
[
"returns",
"the",
"model",
"name",
"of",
"the",
"accessory"
] |
[
"return",
"m",
"model",
";"
] |
[
"returns",
"the",
"version",
"of",
"the",
"accessory"
] |
[
"return",
"m",
"version",
";"
] |
[
"returns",
"the",
"uri",
"for",
"the",
"accessory",
"this",
"is",
"an",
"optional",
"uri",
"that",
"might",
"show",
"information",
"about",
"the",
"accessory",
"or",
"provide",
"the",
"option",
"to",
"download",
"an",
"application",
"for",
"the",
"accessory"
] |
[
"return",
"m",
"uri",
";"
] |
[
"returns",
"the",
"unique",
"serial",
"number",
"for",
"the",
"accessory",
"this",
"is",
"an",
"optional",
"serial",
"number",
"that",
"can",
"be",
"used",
"to",
"differentiate",
"between",
"individual",
"accessories",
"of",
"the",
"same",
"model",
"and",
"manufacturer"
] |
[
"return",
"m",
"serial",
";"
] |
[
"adds",
"the",
"size",
"of",
"this",
"http",
"content",
"to",
"the",
"request",
"body",
"size"
] |
[
"byte",
"buf",
"buffered",
"content",
"=",
"http",
"content",
"content",
"(",
")",
";",
"int",
"content",
"size",
"=",
"buffered",
"content",
"readable",
"bytes",
"(",
")",
";",
"request",
"body",
"size",
"add",
"and",
"get",
"(",
"content",
"size",
")",
";"
] |
[
"adds",
"the",
"size",
"of",
"this",
"http",
"content",
"to",
"the",
"response",
"body",
"size"
] |
[
"byte",
"buf",
"buffered",
"content",
"=",
"http",
"content",
"content",
"(",
")",
";",
"int",
"content",
"size",
"=",
"buffered",
"content",
"readable",
"bytes",
"(",
")",
";",
"response",
"body",
"size",
"add",
"and",
"get",
"(",
"content",
"size",
")",
";"
] |
[
"populates",
"ssl",
"and",
"connect",
"timing",
"info",
"in",
"the",
"har",
"if",
"an",
"entry",
"for",
"this",
"client",
"and",
"server",
"exist",
"in",
"the",
"cache"
] |
[
"http",
"connect",
"timing",
"http",
"connect",
"timing",
"=",
"http",
"connect",
"har",
"capture",
"filter",
"consume",
"connect",
"timing",
"for",
"connection",
"(",
"client",
"address",
")",
";",
"if",
"(",
"http",
"connect",
"timing",
"!",
"=",
"null",
")",
"{",
"har",
"entry",
"get",
"timings",
"(",
")",
"set",
"ssl",
"(",
"http",
"connect",
"timing",
"get",
"ssl",
"handshake",
"time",
"nanos",
"(",
")",
",",
"time",
"unit",
"nanoseconds",
")",
";",
"har",
"entry",
"get",
"timings",
"(",
")",
"set",
"connect",
"(",
"http",
"connect",
"timing",
"get",
"connect",
"time",
"nanos",
"(",
")",
",",
"time",
"unit",
"nanoseconds",
")",
";",
"har",
"entry",
"get",
"timings",
"(",
")",
"set",
"blocked",
"(",
"http",
"connect",
"timing",
"get",
"blocked",
"time",
"nanos",
"(",
")",
",",
"time",
"unit",
"nanoseconds",
")",
";",
"har",
"entry",
"get",
"timings",
"(",
")",
"set",
"dns",
"(",
"http",
"connect",
"timing",
"get",
"dns",
"time",
"nanos",
"(",
")",
",",
"time",
"unit",
"nanoseconds",
")",
";",
"}"
] |
[
"access",
"to",
"the",
"sql",
"exception",
"helper"
] |
[
"return",
"exception",
"helper",
";"
] |
[
"jdk",
"deserialization",
"hook"
] |
[
"final",
"boolean",
"is",
"user",
"supplied",
"connection",
"=",
"ois",
"read",
"boolean",
"(",
")",
";",
"logical",
"connection",
"implementor",
"logical",
"connection",
";",
"if",
"(",
"is",
"user",
"supplied",
"connection",
")",
"{",
"logical",
"connection",
"=",
"logical",
"connection",
"provided",
"impl",
"deserialize",
"(",
"ois",
")",
";",
"}",
"else",
"{",
"logical",
"connection",
"=",
"logical",
"connection",
"managed",
"impl",
"deserialize",
"(",
"ois",
",",
"owner",
"get",
"jdbc",
"connection",
"access",
"(",
")",
",",
"owner",
"get",
"jdbc",
"session",
"context",
"(",
")",
")",
";",
"}",
"return",
"new",
"jdbc",
"coordinator",
"impl",
"(",
"logical",
"connection",
",",
"is",
"user",
"supplied",
"connection",
",",
"owner",
")",
";"
] |
[
"{"
] |
[
"cache",
"configuration",
"cfg",
"=",
"super",
"cache",
"configuration",
"(",
"ignite",
"instance",
"name",
")",
";",
"cfg",
"set",
"near",
"configuration",
"(",
"null",
")",
";",
"return",
"cfg",
";"
] |
[
"{"
] |
[
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"grid",
"count",
"(",
")",
";",
"i",
"+",
"+",
")",
"grid",
"(",
"i",
")",
"cache",
"(",
"default",
"cache",
"name",
")",
"remove",
"all",
"(",
")",
";",
"super",
"after",
"test",
"(",
")",
";"
] |
[
"{"
] |
[
"ignite",
"cache",
"<",
"string",
",",
"integer",
">",
"near",
"cache",
"=",
"jcache",
"(",
")",
";",
"ignite",
"cache",
"<",
"string",
",",
"integer",
">",
"primary",
"=",
"full",
"cache",
"(",
")",
";",
"collection",
"<",
"string",
">",
"keys",
"=",
"primary",
"keys",
"for",
"cache",
"(",
"primary",
",",
"3",
")",
";",
"map",
"<",
"string",
",",
"integer",
">",
"vals",
"=",
"new",
"hash",
"map",
"<",
">",
"(",
")",
";",
"int",
"i",
"=",
"0",
";",
"for",
"(",
"string",
"key",
":",
"keys",
")",
"{",
"near",
"cache",
"put",
"(",
"key",
",",
"i",
")",
";",
"vals",
"put",
"(",
"key",
",",
"i",
")",
";",
"i",
"+",
"+",
";",
"}",
"i",
"=",
"0",
";",
"for",
"(",
"string",
"key",
":",
"keys",
")",
"assert",
"equals",
"(",
"(",
"integer",
")",
"i",
"+",
"+",
",",
"near",
"cache",
"local",
"peek",
"(",
"key",
",",
"cache",
"peek",
"mode",
"onheap",
")",
")",
";",
"near",
"cache",
"clear",
"(",
")",
";",
"for",
"(",
"string",
"key",
":",
"keys",
")",
"assert",
"null",
"(",
"near",
"cache",
"local",
"peek",
"(",
"key",
",",
"cache",
"peek",
"mode",
"onheap",
")",
")",
";",
"for",
"(",
"map",
"entry",
"<",
"string",
",",
"integer",
">",
"entry",
":",
"vals",
"entry",
"set",
"(",
")",
")",
"near",
"cache",
"put",
"(",
"entry",
"get",
"key",
"(",
")",
",",
"entry",
"get",
"value",
"(",
")",
")",
";",
"i",
"=",
"0",
";",
"for",
"(",
"string",
"key",
":",
"keys",
")",
"assert",
"equals",
"(",
"(",
"integer",
")",
"i",
"+",
"+",
",",
"near",
"cache",
"local",
"peek",
"(",
"key",
",",
"cache",
"peek",
"mode",
"onheap",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
":",
"{"
] |
[
"gl43c",
"ngl",
"dispatch",
"compute",
"indirect",
"(",
"indirect",
")",
";"
] |
[
"todo",
":",
"this",
"is",
"similar",
"to",
"what",
"order",
"by",
"operator",
"does",
"look",
"into",
"reusing",
"this",
"logic",
"in",
"order",
"by",
"operator",
"as",
"well"
] |
[
"return",
"new",
"abstract",
"iterator",
"<",
"page",
">",
"(",
")",
"{",
"private",
"int",
"current",
"position",
";",
"private",
"final",
"page",
"builder",
"page",
"builder",
"=",
"new",
"page",
"builder",
"(",
"types",
")",
";",
"private",
"final",
"int",
"[",
"]",
"output",
"channels",
"=",
"new",
"int",
"[",
"types",
"size",
"(",
")",
"]",
";",
"{",
"arrays",
"set",
"all",
"(",
"output",
"channels",
",",
"int",
"unary",
"operator",
"identity",
"(",
")",
")",
";",
"}",
"@",
"override",
"public",
"page",
"compute",
"next",
"(",
")",
"{",
"current",
"position",
"=",
"build",
"page",
"(",
"current",
"position",
",",
"output",
"channels",
",",
"page",
"builder",
")",
";",
"if",
"(",
"page",
"builder",
"is",
"empty",
"(",
")",
")",
"{",
"return",
"end",
"of",
"data",
"(",
")",
";",
"}",
"page",
"page",
"=",
"page",
"builder",
"build",
"(",
")",
";",
"page",
"builder",
"reset",
"(",
")",
";",
"return",
"page",
";",
"}",
"}",
";"
] |
[
"the",
"output",
"column",
"names",
"this",
"will",
"often",
"be",
"the",
"same",
"as",
"the",
"input"
] |
[
"return",
"new",
"names",
"to",
"array",
"(",
"new",
"string",
"[",
"new",
"names",
"size",
"(",
")",
"]",
")",
";"
] |
[
"returns",
"column",
"names",
"this",
"op",
"is",
"meant",
"to",
"run",
"on"
] |
[
"return",
"old",
"names",
"to",
"array",
"(",
"new",
"string",
"[",
"old",
"names",
"size",
"(",
")",
"]",
")",
";"
] |
[
"instantiate",
"column",
"processor"
] |
[
"return",
"new",
"p",
"p",
"r",
"column",
"expr",
"processor",
"(",
")",
";"
] |
[
"/",
"*",
"initalize",
"the",
"scrollbar",
"and",
"register",
"listeners"
] |
[
"scroll",
"bar",
"horizontal",
"=",
"get",
"horizontal",
"bar",
"(",
")",
";",
"horizontal",
"set",
"enabled",
"(",
"false",
")",
";",
"horizontal",
"add",
"selection",
"listener",
"(",
"new",
"selection",
"adapter",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"widget",
"selected",
"(",
"selection",
"event",
"event",
")",
"{",
"scroll",
"horizontally",
"(",
"(",
"scroll",
"bar",
")",
"event",
"widget",
")",
";",
"}",
"}",
")",
";",
"scroll",
"bar",
"vertical",
"=",
"get",
"vertical",
"bar",
"(",
")",
";",
"vertical",
"set",
"enabled",
"(",
"false",
")",
";",
"vertical",
"add",
"selection",
"listener",
"(",
"new",
"selection",
"adapter",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"widget",
"selected",
"(",
"selection",
"event",
"event",
")",
"{",
"scroll",
"vertically",
"(",
"(",
"scroll",
"bar",
")",
"event",
"widget",
")",
";",
"}",
"}",
")",
";"
] |
[
"/",
"*",
"scroll",
"horizontally"
] |
[
"if",
"(",
"source",
"image",
"=",
"=",
"null",
")",
"return",
";",
"affine",
"transform",
"af",
"=",
"transform",
";",
"double",
"tx",
"=",
"af",
"get",
"translate",
"x",
"(",
")",
";",
"double",
"select",
"=",
"-",
"scroll",
"bar",
"get",
"selection",
"(",
")",
";",
"af",
"pre",
"concatenate",
"(",
"affine",
"transform",
"get",
"translate",
"instance",
"(",
"select",
"-",
"tx",
",",
"0",
")",
")",
";",
"transform",
"=",
"af",
";",
"sync",
"scroll",
"bars",
"(",
")",
";"
] |
[
"/",
"*",
"scroll",
"vertically"
] |
[
"if",
"(",
"source",
"image",
"=",
"=",
"null",
")",
"return",
";",
"affine",
"transform",
"af",
"=",
"transform",
";",
"double",
"ty",
"=",
"af",
"get",
"translate",
"y",
"(",
")",
";",
"double",
"select",
"=",
"-",
"scroll",
"bar",
"get",
"selection",
"(",
")",
";",
"af",
"pre",
"concatenate",
"(",
"affine",
"transform",
"get",
"translate",
"instance",
"(",
"0",
",",
"select",
"-",
"ty",
")",
")",
";",
"transform",
"=",
"af",
";",
"sync",
"scroll",
"bars",
"(",
")",
";"
] |
[
"source",
"image",
"getter"
] |
[
"return",
"source",
"image",
";"
] |
[
"reload",
"image",
"from",
"a",
"file"
] |
[
"if",
"(",
"source",
"image",
"!",
"=",
"null",
"&",
"&",
"!",
"source",
"image",
"is",
"disposed",
"(",
")",
")",
"{",
"source",
"image",
"dispose",
"(",
")",
";",
"source",
"image",
"=",
"null",
";",
"image",
"data",
"=",
"null",
";",
"}",
"this",
"error",
"=",
"null",
";",
"if",
"(",
"input",
"stream",
"!",
"=",
"null",
")",
"{",
"try",
"{",
"image",
"data",
"=",
"new",
"image",
"data",
"(",
"input",
"stream",
")",
";",
"source",
"image",
"=",
"new",
"image",
"(",
"get",
"display",
"(",
")",
",",
"image",
"data",
")",
";",
"}",
"catch",
"(",
"s",
"w",
"t",
"exception",
"e",
")",
"{",
"this",
"error",
"=",
"e",
";",
"}",
"}",
"show",
"original",
"(",
")",
";",
"return",
"source",
"image",
";"
] |
[
"get",
"the",
"image",
"data",
"(",
"for",
"future",
"use",
"only",
")"
] |
[
"return",
"image",
"data",
";"
] |
[
"reset",
"the",
"image",
"data",
"and",
"update",
"the",
"image"
] |
[
"if",
"(",
"source",
"image",
"!",
"=",
"null",
")",
"source",
"image",
"dispose",
"(",
")",
";",
"if",
"(",
"data",
"!",
"=",
"null",
")",
"source",
"image",
"=",
"new",
"image",
"(",
"get",
"display",
"(",
")",
",",
"data",
")",
";",
"sync",
"scroll",
"bars",
"(",
")",
";"
] |
[
"fit",
"the",
"image",
"onto",
"the",
"canvas"
] |
[
"if",
"(",
"source",
"image",
"=",
"=",
"null",
")",
"return",
";",
"rectangle",
"image",
"bound",
"=",
"source",
"image",
"get",
"bounds",
"(",
")",
";",
"rectangle",
"dest",
"rect",
"=",
"get",
"client",
"area",
"(",
")",
";",
"double",
"sx",
"=",
"(",
"double",
")",
"dest",
"rect",
"width",
"/",
"(",
"double",
")",
"image",
"bound",
"width",
";",
"double",
"sy",
"=",
"(",
"double",
")",
"dest",
"rect",
"height",
"/",
"(",
"double",
")",
"image",
"bound",
"height",
";",
"double",
"s",
"=",
"math",
"min",
"(",
"sx",
",",
"sy",
")",
";",
"double",
"dx",
"=",
"0",
"5",
"*",
"dest",
"rect",
"width",
";",
"double",
"dy",
"=",
"0",
"5",
"*",
"dest",
"rect",
"height",
";",
"center",
"zoom",
"(",
"dx",
",",
"dy",
",",
"s",
",",
"new",
"affine",
"transform",
"(",
")",
")",
";"
] |
[
"show",
"the",
"image",
"with",
"the",
"original",
"size"
] |
[
"if",
"(",
"source",
"image",
"!",
"=",
"null",
")",
"{",
"transform",
"=",
"new",
"affine",
"transform",
"(",
")",
";",
"}",
"sync",
"scroll",
"bars",
"(",
")",
";"
] |
[
"perform",
"a",
"zooming",
"operation",
"centered",
"on",
"the",
"given",
"point",
"(",
"dx",
"dy",
")",
"and",
"using",
"the",
"given",
"scale",
"factor",
"the",
"given",
"affine",
"transform",
"instance",
"is",
"preconcatenated"
] |
[
"af",
"pre",
"concatenate",
"(",
"affine",
"transform",
"get",
"translate",
"instance",
"(",
"-",
"dx",
",",
"-",
"dy",
")",
")",
";",
"af",
"pre",
"concatenate",
"(",
"affine",
"transform",
"get",
"scale",
"instance",
"(",
"scale",
",",
"scale",
")",
")",
";",
"af",
"pre",
"concatenate",
"(",
"affine",
"transform",
"get",
"translate",
"instance",
"(",
"dx",
",",
"dy",
")",
")",
";",
"transform",
"=",
"af",
";",
"sync",
"scroll",
"bars",
"(",
")",
";"
] |
[
"zoom",
"in",
"around",
"the",
"center",
"of",
"client",
"area"
] |
[
"if",
"(",
"source",
"image",
"=",
"=",
"null",
")",
"return",
";",
"rectangle",
"rect",
"=",
"get",
"client",
"area",
"(",
")",
";",
"int",
"w",
"=",
"rect",
"width",
",",
"h",
"=",
"rect",
"height",
";",
"double",
"dx",
"=",
"(",
"(",
"double",
")",
"w",
")",
"/",
"2",
";",
"double",
"dy",
"=",
"(",
"(",
"double",
")",
"h",
")",
"/",
"2",
";",
"center",
"zoom",
"(",
"dx",
",",
"dy",
",",
"zoomin",
"rate",
",",
"transform",
")",
";"
] |
[
"zoom",
"out",
"around",
"the",
"center",
"of",
"client",
"area"
] |
[
"if",
"(",
"source",
"image",
"=",
"=",
"null",
")",
"return",
";",
"rectangle",
"rect",
"=",
"get",
"client",
"area",
"(",
")",
";",
"int",
"w",
"=",
"rect",
"width",
",",
"h",
"=",
"rect",
"height",
";",
"double",
"dx",
"=",
"(",
"(",
"double",
")",
"w",
")",
"/",
"2",
";",
"double",
"dy",
"=",
"(",
"(",
"double",
")",
"h",
")",
"/",
"2",
";",
"center",
"zoom",
"(",
"dx",
",",
"dy",
",",
"zoomout",
"rate",
",",
"transform",
")",
";"
] |
[
"returns",
"the",
"contents",
"of",
"the",
"entire",
"response",
"if",
"the",
"contents",
"were",
"compressed",
"<",
"code",
">",
"decompress",
"encoded",
"content",
"<",
"/",
"code",
">",
"is",
"true",
"and",
"decompression",
"was",
"successful",
"this",
"method",
"returns",
"the",
"decompressed",
"contents"
] |
[
"return",
"full",
"response",
"contents",
";"
] |
[
"returns",
"the",
"raw",
"contents",
"of",
"the",
"entire",
"response",
"without",
"decompression"
] |
[
"return",
"raw",
"response",
"contents",
"to",
"byte",
"array",
"(",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.