docstring_tokens list | code_tokens list |
|---|---|
[
"{"
] | [
"return",
"client",
"listener",
"buffered",
"parser",
"class",
"get",
"simple",
"name",
"(",
")",
";"
] |
[
"implementations",
"for",
"element",
"value",
"visitor"
] | [
"fix",
"element",
"value",
"(",
"clazz",
",",
"annotation",
",",
"constant",
"element",
"value",
")",
";"
] |
[
"builds",
"a",
"{",
"@",
"link",
"client",
"configuration",
"}",
"instance",
"with",
"the",
"default",
"configuration",
"for",
"the",
"current",
"client",
"if",
"the",
"{",
"@",
"link",
"s",
"d",
"k",
"global",
"configuration",
"#",
"enable",
"in",
"region... | [
"return",
"s",
"d",
"k",
"global",
"configuration",
"is",
"in",
"region",
"optimized",
"mode",
"enabled",
"(",
")",
"?",
"get",
"in",
"region",
"optimized",
"config",
"(",
")",
":",
"get",
"default",
"config",
"(",
")",
";"
] |
[
"builds",
"a",
"{",
"@",
"link",
"client",
"configuration",
"}",
"instance",
"with",
"default",
"configuration",
"values",
"suitable",
"for",
"most",
"use",
"cases"
] | [
"return",
"new",
"client",
"configuration",
"(",
")",
";"
] |
[
"builds",
"a",
"{",
"@",
"link",
"client",
"configuration",
"}",
"instance",
"with",
"configuration",
"values",
"tailored",
"towards",
"clients",
"operating",
"in",
"the",
"same",
"aws",
"region",
"as",
"the",
"service",
"endpoint",
"they",
"call",
"timeouts",
... | [
"return",
"new",
"client",
"configuration",
"(",
")",
"with",
"connection",
"timeout",
"(",
"1000",
")",
";"
] |
[
"whether",
"to",
"use",
"a",
"{",
"@",
"link",
"hystrix",
"circuit",
"breaker",
"}",
"or",
"not",
"if",
"false",
"no",
"circuit",
"-",
"breaker",
"logic",
"will",
"be",
"used",
"and",
"all",
"requests",
"permitted",
"<",
"p",
">",
"this",
"is",
"simila... | [
"return",
"circuit",
"breaker",
"enabled",
";"
] |
[
"error",
"percentage",
"threshold",
"(",
"as",
"whole",
"number",
"such",
"as",
"50",
")",
"at",
"which",
"point",
"the",
"circuit",
"breaker",
"will",
"trip",
"open",
"and",
"reject",
"requests",
"<",
"p",
">",
"it",
"will",
"stay",
"tripped",
"for",
"t... | [
"return",
"circuit",
"breaker",
"error",
"threshold",
"percentage",
";"
] |
[
"if",
"true",
"the",
"{",
"@",
"link",
"hystrix",
"circuit",
"breaker",
"#",
"allow",
"request",
"(",
")",
"}",
"will",
"always",
"return",
"true",
"to",
"allow",
"requests",
"regardless",
"of",
"the",
"error",
"percentage",
"from",
"{",
"@",
"link",
"hy... | [
"return",
"circuit",
"breaker",
"force",
"closed",
";"
] |
[
"if",
"true",
"the",
"{",
"@",
"link",
"hystrix",
"circuit",
"breaker",
"#",
"allow",
"request",
"(",
")",
"}",
"will",
"always",
"return",
"false",
"causing",
"the",
"circuit",
"to",
"be",
"open",
"(",
"tripped",
")",
"and",
"reject",
"all",
"requests",... | [
"return",
"circuit",
"breaker",
"force",
"open",
";"
] |
[
"minimum",
"number",
"of",
"requests",
"in",
"the",
"{",
"@",
"link",
"#",
"metrics",
"rolling",
"statistical",
"window",
"in",
"milliseconds",
"(",
")",
"}",
"that",
"must",
"exist",
"before",
"the",
"{",
"@",
"link",
"hystrix",
"circuit",
"breaker",
"}",... | [
"return",
"circuit",
"breaker",
"request",
"volume",
"threshold",
";"
] |
[
"the",
"time",
"in",
"milliseconds",
"after",
"a",
"{",
"@",
"link",
"hystrix",
"circuit",
"breaker",
"}",
"trips",
"open",
"that",
"it",
"should",
"wait",
"before",
"trying",
"requests",
"again"
] | [
"return",
"circuit",
"breaker",
"sleep",
"window",
"in",
"milliseconds",
";"
] |
[
"number",
"of",
"concurrent",
"requests",
"permitted",
"to",
"{",
"@",
"link",
"hystrix",
"command",
"#",
"run",
"(",
")",
"}",
"requests",
"beyond",
"the",
"concurrent",
"limit",
"will",
"be",
"rejected",
"<",
"p",
">",
"applicable",
"only",
"when",
"{",
... | [
"return",
"execution",
"isolation",
"semaphore",
"max",
"concurrent",
"requests",
";"
] |
[
"what",
"isolation",
"strategy",
"{",
"@",
"link",
"hystrix",
"command",
"#",
"run",
"(",
")",
"}",
"will",
"be",
"executed",
"with",
"<",
"p",
">",
"if",
"{",
"@",
"link",
"execution",
"isolation",
"strategy",
"#",
"thread",
"}",
"then",
"it",
"will",... | [
"return",
"execution",
"isolation",
"strategy",
";"
] |
[
"whether",
"the",
"execution",
"thread",
"should",
"attempt",
"an",
"interrupt",
"(",
"using",
"{",
"@",
"link",
"future",
"#",
"cancel",
"}",
")",
"when",
"a",
"thread",
"times",
"out",
"<",
"p",
">",
"applicable",
"only",
"when",
"{",
"@",
"link",
"#... | [
"return",
"execution",
"isolation",
"thread",
"interrupt",
"on",
"timeout",
";"
] |
[
"whether",
"the",
"execution",
"thread",
"should",
"be",
"interrupted",
"if",
"the",
"execution",
"observable",
"is",
"unsubscribed",
"or",
"the",
"future",
"is",
"cancelled",
"via",
"{",
"@",
"link",
"future",
"#",
"cancel",
"(",
"true",
")",
"}",
")",
"<... | [
"return",
"execution",
"isolation",
"thread",
"interrupt",
"on",
"future",
"cancel",
";"
] |
[
"allow",
"a",
"dynamic",
"override",
"of",
"the",
"{",
"@",
"link",
"hystrix",
"thread",
"pool",
"key",
"}",
"that",
"will",
"dynamically",
"change",
"which",
"{",
"@",
"link",
"hystrix",
"thread",
"pool",
"}",
"a",
"{",
"@",
"link",
"hystrix",
"command"... | [
"return",
"execution",
"isolation",
"thread",
"pool",
"key",
"override",
";"
] |
[
"whether",
"the",
"timeout",
"mechanism",
"is",
"enabled",
"for",
"this",
"command"
] | [
"return",
"execution",
"timeout",
"enabled",
";"
] |
[
"number",
"of",
"concurrent",
"requests",
"permitted",
"to",
"{",
"@",
"link",
"hystrix",
"command",
"#",
"get",
"fallback",
"(",
")",
"}",
"requests",
"beyond",
"the",
"concurrent",
"limit",
"will",
"fail",
"-",
"fast",
"and",
"not",
"attempt",
"retrieving"... | [
"return",
"fallback",
"isolation",
"semaphore",
"max",
"concurrent",
"requests",
";"
] |
[
"whether",
"{",
"@",
"link",
"hystrix",
"command",
"#",
"get",
"fallback",
"(",
")",
"}",
"should",
"be",
"attempted",
"when",
"failure",
"occurs"
] | [
"return",
"fallback",
"enabled",
";"
] |
[
"time",
"in",
"milliseconds",
"to",
"wait",
"between",
"allowing",
"health",
"snapshots",
"to",
"be",
"taken",
"that",
"calculate",
"success",
"and",
"error",
"percentages",
"and",
"affect",
"{",
"@",
"link",
"hystrix",
"circuit",
"breaker",
"#",
"is",
"open",... | [
"return",
"metrics",
"health",
"snapshot",
"interval",
"in",
"milliseconds",
";"
] |
[
"maximum",
"number",
"of",
"values",
"stored",
"in",
"each",
"bucket",
"of",
"the",
"rolling",
"percentile",
"this",
"is",
"passed",
"into",
"{",
"@",
"link",
"hystrix",
"rolling",
"percentile",
"}",
"inside",
"{",
"@",
"link",
"hystrix",
"collapser",
"metri... | [
"return",
"metrics",
"rolling",
"percentile",
"bucket",
"size",
";"
] |
[
"whether",
"percentile",
"metrics",
"should",
"be",
"captured",
"using",
"{",
"@",
"link",
"hystrix",
"rolling",
"percentile",
"}",
"inside",
"{",
"@",
"link",
"hystrix",
"collapser",
"metrics",
"}"
] | [
"return",
"metrics",
"rolling",
"percentile",
"enabled",
";"
] |
[
"duration",
"of",
"percentile",
"rolling",
"window",
"in",
"milliseconds",
"this",
"is",
"passed",
"into",
"{",
"@",
"link",
"hystrix",
"rolling",
"percentile",
"}",
"inside",
"{",
"@",
"link",
"hystrix",
"command",
"metrics",
"}"
] | [
"return",
"metrics",
"rolling",
"percentile",
"window",
"in",
"milliseconds",
";"
] |
[
"duration",
"of",
"percentile",
"rolling",
"window",
"in",
"milliseconds",
"this",
"is",
"passed",
"into",
"{",
"@",
"link",
"hystrix",
"rolling",
"percentile",
"}",
"inside",
"{",
"@",
"link",
"hystrix",
"collapser",
"metrics",
"}"
] | [
"return",
"metrics",
"rolling",
"percentile",
"window",
"in",
"milliseconds",
";"
] |
[
"number",
"of",
"buckets",
"the",
"rolling",
"percentile",
"window",
"is",
"broken",
"into",
"this",
"is",
"passed",
"into",
"{",
"@",
"link",
"hystrix",
"rolling",
"percentile",
"}",
"inside",
"{",
"@",
"link",
"hystrix",
"collapser",
"metrics",
"}"
] | [
"return",
"metrics",
"rolling",
"percentile",
"window",
"buckets",
";"
] |
[
"duration",
"of",
"statistical",
"rolling",
"window",
"in",
"milliseconds",
"this",
"is",
"passed",
"into",
"{",
"@",
"link",
"hystrix",
"rolling",
"number",
"}",
"inside",
"{",
"@",
"link",
"hystrix",
"command",
"metrics",
"}"
] | [
"return",
"metrics",
"rolling",
"statistical",
"window",
"in",
"milliseconds",
";"
] |
[
"number",
"of",
"buckets",
"the",
"rolling",
"statistical",
"window",
"is",
"broken",
"into",
"this",
"is",
"passed",
"into",
"{",
"@",
"link",
"hystrix",
"rolling",
"number",
"}",
"inside",
"{",
"@",
"link",
"hystrix",
"collapser",
"metrics",
"}"
] | [
"return",
"metrics",
"rolling",
"statistical",
"window",
"buckets",
";"
] |
[
"whether",
"request",
"caching",
"is",
"enabled",
"for",
"{",
"@",
"link",
"hystrix",
"collapser",
"#",
"execute",
"}",
"and",
"{",
"@",
"link",
"hystrix",
"collapser",
"#",
"queue",
"}",
"invocations"
] | [
"return",
"request",
"cache",
"enabled",
";"
] |
[
"whether",
"{",
"@",
"link",
"hystrix",
"command",
"}",
"execution",
"and",
"events",
"should",
"be",
"logged",
"to",
"{",
"@",
"link",
"hystrix",
"request",
"log",
"}"
] | [
"return",
"request",
"log",
"enabled",
";"
] |
[
"factory",
"method",
"to",
"retrieve",
"the",
"default",
"setter"
] | [
"return",
"new",
"setter",
"(",
")",
";"
] |
[
"factory",
"method",
"to",
"retrieve",
"the",
"default",
"setter",
"groovy",
"has",
"a",
"bug",
"(",
"groovy",
"-",
"6286",
")",
"which",
"does",
"not",
"allow",
"method",
"names",
"and",
"inner",
"classes",
"to",
"have",
"the",
"same",
"name",
"this",
"... | [
"return",
"setter",
"(",
")",
";"
] |
[
"name",
"of",
"the",
"template",
"to",
"create"
] | [
"if",
"(",
"is",
"partitioned",
"(",
")",
")",
"{",
"return",
"partition",
"name",
"template",
"name",
"(",
"table",
"ident",
"(",
")",
"schema",
"(",
")",
",",
"table",
"ident",
"(",
")",
"name",
"(",
")",
")",
";",
"}",
"return",
"null",
";"
] |
[
"create",
"a",
"new",
"state"
] | [
"grow",
"states",
"(",
")",
";",
"int",
"state",
"=",
"next",
"state",
"/",
"2",
";",
"states",
"[",
"next",
"state",
"]",
"=",
"-",
"1",
";",
"next",
"state",
"+",
"=",
"2",
";",
"return",
"state",
";"
] |
[
"set",
"or",
"clear",
"this",
"state",
"as",
"an",
"accept",
"state"
] | [
"future",
"objects",
"check",
"index",
"(",
"state",
",",
"get",
"num",
"states",
"(",
")",
")",
";",
"is",
"accept",
"set",
"(",
"state",
",",
"accept",
")",
";"
] |
[
"sugar",
"to",
"get",
"all",
"transitions",
"for",
"all",
"states",
"this",
"is",
"object",
"-",
"heavy",
";",
"it",
"s",
"better",
"to",
"iterate",
"state",
"by",
"state",
"instead"
] | [
"int",
"num",
"states",
"=",
"get",
"num",
"states",
"(",
")",
";",
"transition",
"[",
"]",
"[",
"]",
"transitions",
"=",
"new",
"transition",
"[",
"num",
"states",
"]",
"[",
"]",
";",
"for",
"(",
"int",
"s",
"=",
"0",
";",
"s",
"<",
"num",
"st... |
[
"returns",
"accept",
"states",
"if",
"the",
"bit",
"is",
"set",
"then",
"that",
"state",
"is",
"an",
"accept",
"state"
] | [
"return",
"is",
"accept",
";"
] |
[
"returns",
"true",
"if",
"this",
"state",
"is",
"an",
"accept",
"state"
] | [
"return",
"is",
"accept",
"get",
"(",
"state",
")",
";"
] |
[
"add",
"a",
"new",
"transition",
"with",
"min",
"=",
"max",
"=",
"label"
] | [
"add",
"transition",
"(",
"source",
",",
"dest",
",",
"label",
",",
"label",
")",
";"
] |
[
"add",
"a",
"[",
"virtual",
"]",
"epsilon",
"transition",
"between",
"source",
"and",
"dest",
"dest",
"state",
"must",
"already",
"have",
"all",
"transitions",
"added",
"because",
"this",
"method",
"simply",
"copies",
"those",
"same",
"transitions",
"over",
"t... | [
"transition",
"t",
"=",
"new",
"transition",
"(",
")",
";",
"int",
"count",
"=",
"init",
"transition",
"(",
"dest",
",",
"t",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"count",
";",
"i",
"+",
"+",
")",
"{",
"get",
"next",
"tr... |
[
"finishes",
"the",
"current",
"state",
";",
"call",
"this",
"once",
"you",
"are",
"done",
"adding",
"transitions",
"for",
"a",
"state",
"this",
"is",
"automatically",
"called",
"if",
"you",
"start",
"adding",
"transitions",
"to",
"a",
"new",
"source",
"state... | [
"if",
"(",
"cur",
"state",
"!",
"=",
"-",
"1",
")",
"{",
"finish",
"current",
"state",
"(",
")",
";",
"cur",
"state",
"=",
"-",
"1",
";",
"}"
] |
[
"how",
"many",
"states",
"this",
"automaton",
"has"
] | [
"return",
"next",
"state",
"/",
"2",
";"
] |
[
"how",
"many",
"transitions",
"this",
"automaton",
"has"
] | [
"return",
"next",
"transition",
"/",
"3",
";"
] |
[
"how",
"many",
"transitions",
"this",
"state",
"has"
] | [
"assert",
"state",
">",
"=",
"0",
";",
"int",
"count",
"=",
"states",
"[",
"2",
"*",
"state",
"+",
"1",
"]",
";",
"if",
"(",
"count",
"=",
"=",
"-",
"1",
")",
"{",
"return",
"0",
";",
"}",
"else",
"{",
"return",
"count",
";",
"}"
] |
[
"fill",
"the",
"provided",
"{"
] | [
"int",
"i",
"=",
"states",
"[",
"2",
"*",
"state",
"]",
"+",
"3",
"*",
"index",
";",
"t",
"source",
"=",
"state",
";",
"t",
"dest",
"=",
"transitions",
"[",
"i",
"+",
"+",
"]",
";",
"t",
"min",
"=",
"transitions",
"[",
"i",
"+",
"+",
"]",
"... |
[
"add",
"a",
"new",
"transition",
"with",
"the",
"specified",
"source",
"dest",
"min",
"max"
] | [
"if",
"(",
"transitions",
"length",
"<",
"next",
"transition",
"+",
"4",
")",
"{",
"transitions",
"=",
"array",
"util",
"grow",
"(",
"transitions",
",",
"next",
"transition",
"+",
"4",
")",
";",
"}",
"transitions",
"[",
"next",
"transition",
"+",
"+",
... |
[
"add",
"a",
"[",
"virtual",
"]",
"epsilon",
"transition",
"between",
"source",
"and",
"dest",
"dest",
"state",
"must",
"already",
"have",
"all",
"transitions",
"added",
"because",
"this",
"method",
"simply",
"copies",
"those",
"same",
"transitions",
"over",
"t... | [
"for",
"(",
"int",
"upto",
"=",
"0",
";",
"upto",
"<",
"next",
"transition",
";",
"upto",
"+",
"=",
"4",
")",
"{",
"if",
"(",
"transitions",
"[",
"upto",
"]",
"=",
"=",
"dest",
")",
"{",
"add",
"transition",
"(",
"source",
",",
"transitions",
"["... |
[
"create",
"a",
"new",
"state"
] | [
"return",
"next",
"state",
"+",
"+",
";"
] |
[
"set",
"or",
"clear",
"this",
"state",
"as",
"an",
"accept",
"state"
] | [
"future",
"objects",
"check",
"index",
"(",
"state",
",",
"get",
"num",
"states",
"(",
")",
")",
";",
"this",
"is",
"accept",
"set",
"(",
"state",
",",
"accept",
")",
";"
] |
[
"returns",
"true",
"if",
"this",
"state",
"is",
"an",
"accept",
"state"
] | [
"return",
"this",
"is",
"accept",
"get",
"(",
"state",
")",
";"
] |
[
"how",
"many",
"states",
"this",
"automaton",
"has"
] | [
"return",
"next",
"state",
";"
] |
[
"copies",
"over",
"all",
"states",
"from",
"other"
] | [
"int",
"other",
"num",
"states",
"=",
"other",
"get",
"num",
"states",
"(",
")",
";",
"for",
"(",
"int",
"s",
"=",
"0",
";",
"s",
"<",
"other",
"num",
"states",
";",
"s",
"+",
"+",
")",
"{",
"int",
"new",
"state",
"=",
"create",
"state",
"(",
... |
[
"creates",
"a",
"new",
"instance",
"of",
"remote",
"invocation",
"options",
"with",
"opinionated",
"defaults",
"<",
"p",
">",
"this",
"is",
"equivalent",
"to",
":",
"<",
"pre",
">",
"new",
"remote",
"invocation",
"options",
"(",
")",
"expect",
"ack",
"with... | [
"return",
"new",
"remote",
"invocation",
"options",
"(",
")",
"expect",
"ack",
"within",
"(",
"1",
",",
"time",
"unit",
"seconds",
")",
"expect",
"result",
"within",
"(",
"30",
",",
"time",
"unit",
"seconds",
")",
";"
] |
[
"defines",
"ack",
"timeout"
] | [
"this",
"ack",
"timeout",
"in",
"millis",
"=",
"ack",
"timeout",
"in",
"millis",
";",
"return",
"this",
";"
] |
[
"defines",
"ack",
"timeout"
] | [
"this",
"ack",
"timeout",
"in",
"millis",
"=",
"time",
"unit",
"to",
"millis",
"(",
"ack",
"timeout",
")",
";",
"return",
"this",
";"
] |
[
"specifies",
"to",
"not",
"wait",
"for",
"ack",
"reply"
] | [
"ack",
"timeout",
"in",
"millis",
"=",
"null",
";",
"return",
"this",
";"
] |
[
"defines",
"execution",
"timeout"
] | [
"this",
"execution",
"timeout",
"in",
"millis",
"=",
"execution",
"timeout",
"in",
"millis",
";",
"return",
"this",
";"
] |
[
"defines",
"execution",
"timeout"
] | [
"this",
"execution",
"timeout",
"in",
"millis",
"=",
"time",
"unit",
"to",
"millis",
"(",
"execution",
"timeout",
")",
";",
"return",
"this",
";"
] |
[
"specifies",
"to",
"not",
"wait",
"for",
"result"
] | [
"execution",
"timeout",
"in",
"millis",
"=",
"null",
";",
"return",
"this",
";"
] |
[
"creates",
"{",
"@",
"link",
"org",
"apache",
"lucene",
"analysis",
"analyzer",
"token",
"stream",
"components",
"}",
"used",
"to",
"tokenize",
"all",
"the",
"text",
"in",
"the",
"provided",
"{",
"@",
"link",
"reader",
"}"
] | [
"final",
"tokenizer",
"source",
"=",
"new",
"thai",
"tokenizer",
"(",
")",
";",
"token",
"stream",
"result",
"=",
"new",
"lower",
"case",
"filter",
"(",
"source",
")",
";",
"result",
"=",
"new",
"decimal",
"digit",
"filter",
"(",
"result",
")",
";",
"r... |
[
"test",
"that",
"we",
"properly",
"translate",
"data",
"types",
"in",
"hive",
"/",
"h",
"cat",
"table",
"schema",
"into",
"pig",
"schema"
] | [
"all",
"types",
"table",
"test",
"schema",
"load",
"primitive",
"types",
"(",
")",
";"
] |
[
"test",
"that",
"value",
"from",
"hive",
"table",
"are",
"read",
"properly",
"in",
"pig"
] | [
"all",
"types",
"table",
"test",
"read",
"data",
"primitive",
"types",
"(",
")",
";"
] |
[
"does",
"the",
"expression",
"include",
"a",
"simple",
"function"
] | [
"if",
"(",
"expression",
"!",
"=",
"null",
")",
"{",
"return",
"expression",
"contains",
"(",
"function",
"start",
"[",
"0",
"]",
")",
"|",
"|",
"expression",
"contains",
"(",
"function",
"start",
"[",
"1",
"]",
")",
";",
"}",
"return",
"false",
";"
... |
[
"create",
"the",
"next",
"token"
] | [
"return",
"do",
"next",
"token",
"(",
"expression",
",",
"index",
",",
"allow",
"escape",
",",
"filter",
")",
";"
] |
[
"create",
"the",
"next",
"token"
] | [
"return",
"do",
"next",
"token",
"(",
"expression",
",",
"index",
",",
"allow",
"escape",
")",
";"
] |
[
"decodes",
"a",
"base",
"6",
"4",
"string"
] | [
"return",
"decode",
"(",
"s",
"to",
"char",
"array",
"(",
")",
")",
";"
] |
[
"{"
] | [
"return",
"4",
";"
] |
[
"{"
] | [
"cache",
"configuration",
"ccfg",
"=",
"super",
"cache",
"configuration",
"(",
"ignite",
"instance",
"name",
")",
";",
"ccfg",
"set",
"atomicity",
"mode",
"(",
"transactional",
")",
";",
"return",
"ccfg",
";"
] |
[
"generates",
"the",
"graph",
"settings",
"for",
"a",
"view"
] | [
"return",
"view",
"get",
"type",
"(",
")",
"=",
"=",
"view",
"type",
"native",
"?",
"load",
"native",
"settings",
"(",
"view",
")",
":",
"load",
"non",
"native",
"settings",
"(",
"view",
")",
";"
] |
[
"builds",
"a",
"graph",
"that",
"supports",
"drag",
"and",
"drop",
"operations",
"from",
"the",
"type",
"editor",
"onto",
"operand",
"tree",
"nodes",
"in",
"order",
"to",
"assign",
"type",
"substitutions"
] | [
"final",
"zy",
"graph",
"graph",
"=",
"build",
"graph",
"(",
"view",
")",
";",
"final",
"zy",
"graph",
"drag",
"and",
"drop",
"support",
"dnd",
"support",
"=",
"new",
"zy",
"graph",
"drag",
"and",
"drop",
"support",
"(",
"graph",
",",
"new",
"base",
... |
[
"set",
"the",
"j",
"mustache",
"compiler",
"to",
"be",
"used",
"by",
"this",
"view",
"typically",
"this",
"property",
"is",
"not",
"set",
"directly",
"instead",
"a",
"single",
"{"
] | [
"this",
"compiler",
"=",
"compiler",
";"
] |
[
"register",
"a",
"handler",
"that",
"can",
"be",
"called",
"by",
"the",
"other",
"end",
"of",
"the",
"connection",
"using",
"the",
"specified",
"object",
"id",
"only",
"one",
"handler",
"per",
"object",
"id",
"can",
"be",
"registered",
"at",
"any",
"given"... | [
"handlers",
"put",
"(",
"obj",
"id",
",",
"handler",
")",
";"
] |
[
"builds",
"a",
"new",
"{",
"@",
"link",
"logged",
"out",
"router",
"}"
] | [
"logged",
"out",
"view",
"view",
"=",
"create",
"view",
"(",
"parent",
"view",
"group",
")",
";",
"logged",
"out",
"interactor",
"interactor",
"=",
"new",
"logged",
"out",
"interactor",
"(",
")",
";",
"component",
"component",
"=",
"dagger",
"logged",
"out... |
[
"no",
"database",
"tables",
"used",
"so",
"all",
"supported"
] | [
"return",
"true",
";"
] |
[
"(",
"blueprints",
"extension",
")",
"returns",
"the",
"record",
"label",
"if",
"any",
"otherwise",
"null"
] | [
"if",
"(",
"i",
"edge",
"=",
"=",
"null",
")",
"return",
"null",
";",
"final",
"o",
"document",
"edge",
"=",
"i",
"edge",
"get",
"record",
"(",
")",
";",
"if",
"(",
"edge",
"=",
"=",
"null",
")",
"return",
"null",
";",
"return",
"edge",
"field",
... |
[
"(",
"blueprints",
"extension",
")",
"this",
"method",
"does",
"not",
"remove",
"connection",
"from",
"opposite",
"side"
] | [
"if",
"(",
"i",
"vertex",
"=",
"=",
"null",
"|",
"|",
"i",
"vertex",
"to",
"remove",
"=",
"=",
"null",
")",
"return",
";",
"final",
"object",
"field",
"value",
"=",
"i",
"vertex",
"field",
"(",
"i",
"field",
"name",
")",
";",
"if",
"(",
"field",
... |
[
"returns",
"the",
"connected",
"incoming",
"or",
"outgoing",
"vertex"
] | [
"final",
"orient",
"base",
"graph",
"graph",
"=",
"set",
"current",
"graph",
"in",
"thread",
"local",
"(",
")",
";",
"if",
"(",
"direction",
"equals",
"(",
"direction",
"out",
")",
")",
"return",
"graph",
"get",
"vertex",
"(",
"get",
"out",
"vertex",
"... |
[
"(",
"blueprints",
"extension",
")",
"returns",
"e",
"as",
"base",
"class",
"name",
"all",
"the",
"edge",
"s",
"sub",
"-",
"classes",
"extend"
] | [
"return",
"orient",
"edge",
"type",
"class",
"name",
";"
] |
[
"returns",
"a",
"string",
"representation",
"of",
"the",
"edge"
] | [
"if",
"(",
"set",
"current",
"graph",
"in",
"thread",
"local",
"(",
")",
"!",
"=",
"null",
")",
"{",
"if",
"(",
"get",
"label",
"(",
")",
"=",
"=",
"null",
")",
"return",
"string",
"factory",
"e",
"+",
"string",
"factory",
"l",
"bracket",
"+",
"g... |
[
"returns",
"true",
"if",
"the",
"edge",
"is",
"labeled",
"with",
"any",
"of",
"the",
"passed",
"strings"
] | [
"return",
"is",
"labeled",
"(",
"get",
"label",
"(",
")",
",",
"i",
"labels",
")",
";"
] |
[
"remove",
"the",
"action",
"parameter",
"from",
"this",
"request",
"this",
"will",
"result",
"in",
"the",
"same",
"behavior",
"as",
"{",
"@",
"code",
"solr",
"ping",
"#",
"set",
"action",
"ping",
"(",
")",
"}",
"for",
"solr",
"server",
"version",
"4",
... | [
"params",
"remove",
"(",
"common",
"params",
"action",
")",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"action",
"parameter",
"on",
"this",
"request",
"to",
"enable",
"this",
"will",
"delete",
"the",
"health",
"-",
"check",
"file",
"for",
"the",
"solr",
"core",
"for",
"solr",
"server",
"version",
"4",
"0",
"and",
"later"
] | [
"params",
"set",
"(",
"common",
"params",
"action",
",",
"common",
"params",
"disable",
")",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"action",
"parameter",
"on",
"this",
"request",
"to",
"enable",
"this",
"will",
"create",
"the",
"health",
"-",
"check",
"file",
"for",
"the",
"solr",
"core",
"for",
"solr",
"server",
"version",
"4",
"0",
"and",
"later"
] | [
"params",
"set",
"(",
"common",
"params",
"action",
",",
"common",
"params",
"enable",
")",
";",
"return",
"this",
";"
] |
[
"set",
"the",
"action",
"parameter",
"on",
"this",
"request",
"to",
"ping",
"this",
"is",
"the",
"same",
"as",
"not",
"including",
"the",
"action",
"at",
"all",
"for",
"solr",
"server",
"version",
"4",
"0",
"and",
"later"
] | [
"params",
"set",
"(",
"common",
"params",
"action",
",",
"common",
"params",
"ping",
")",
";",
"return",
"this",
";"
] |
[
"implement",
"the",
"parcelable",
"interface"
] | [
"super",
"write",
"to",
"parcel",
"(",
"dest",
",",
"flags",
",",
"type",
"tdscdma",
")",
";",
"m",
"cell",
"identity",
"tdscdma",
"write",
"to",
"parcel",
"(",
"dest",
",",
"flags",
")",
";",
"m",
"cell",
"signal",
"strength",
"tdscdma",
"write",
"to"... |
[
"/",
"*",
"extract",
"from",
"and",
"to",
"fields",
"from",
"the",
"built",
"query",
"to",
"determine",
"histogram",
"boundaries"
] | [
"if",
"(",
"boundaries",
"=",
"=",
"null",
")",
"{",
"boundaries",
"=",
"tools",
"extract",
"histogram",
"boundaries",
"(",
"get",
"built",
"query",
"(",
")",
")",
"or",
"else",
"(",
"null",
")",
";",
"}",
"return",
"boundaries",
";"
] |
[
"gets",
"if",
"mongod",
"should",
"drop",
"the",
"target",
"of",
"rename",
"collection",
"prior",
"to",
"renaming",
"the",
"collection"
] | [
"return",
"drop",
"target",
";"
] |
[
"sets",
"if",
"mongod",
"should",
"drop",
"the",
"target",
"of",
"rename",
"collection",
"prior",
"to",
"renaming",
"the",
"collection"
] | [
"this",
"drop",
"target",
"=",
"drop",
"target",
";",
"return",
"this",
";"
] |
[
"{"
] | [
"super",
"before",
"tests",
"started",
"(",
")",
";",
"start",
"grids",
"multi",
"threaded",
"(",
"grid",
"cnt",
")",
";",
"fill",
"caches",
"(",
")",
";"
] |
[
"set",
"the",
"scale",
"type",
"of",
"the",
"image",
"in",
"the",
"crop",
"view"
] | [
"if",
"(",
"scale",
"type",
"!",
"=",
"m",
"scale",
"type",
")",
"{",
"m",
"scale",
"type",
"=",
"scale",
"type",
";",
"m",
"zoom",
"=",
"1",
";",
"m",
"zoom",
"offset",
"x",
"=",
"m",
"zoom",
"offset",
"y",
"=",
"0",
";",
"m",
"crop",
"overl... |
[
"the",
"shape",
"of",
"the",
"cropping",
"area",
"-",
"rectangle",
"/",
"circular"
] | [
"return",
"m",
"crop",
"overlay",
"view",
"get",
"crop",
"shape",
"(",
")",
";"
] |
[
"the",
"shape",
"of",
"the",
"cropping",
"area",
"-",
"rectangle",
"/",
"circular",
"<",
"br",
">",
"to",
"set",
"square",
"/",
"circle",
"crop",
"shape",
"set",
"aspect",
"ratio",
"to",
"1",
":",
"1"
] | [
"m",
"crop",
"overlay",
"view",
"set",
"crop",
"shape",
"(",
"crop",
"shape",
")",
";"
] |
[
"if",
"auto",
"-",
"zoom",
"functionality",
"is",
"enabled",
"default",
":",
"true"
] | [
"return",
"m",
"auto",
"zoom",
"enabled",
";"
] |
[
"set",
"auto",
"-",
"zoom",
"functionality",
"to",
"enabled",
"/",
"disabled"
] | [
"if",
"(",
"m",
"auto",
"zoom",
"enabled",
"!",
"=",
"auto",
"zoom",
"enabled",
")",
"{",
"m",
"auto",
"zoom",
"enabled",
"=",
"auto",
"zoom",
"enabled",
";",
"handle",
"crop",
"window",
"changed",
"(",
"false",
",",
"false",
")",
";",
"m",
"crop",
... |
[
"set",
"multi",
"touch",
"functionality",
"to",
"enabled",
"/",
"disabled"
] | [
"if",
"(",
"m",
"crop",
"overlay",
"view",
"set",
"multi",
"touch",
"enabled",
"(",
"multi",
"touch",
"enabled",
")",
")",
"{",
"handle",
"crop",
"window",
"changed",
"(",
"false",
",",
"false",
")",
";",
"m",
"crop",
"overlay",
"view",
"invalidate",
"... |
[
"the",
"max",
"zoom",
"allowed",
"during",
"cropping"
] | [
"return",
"m",
"max",
"zoom",
";"
] |
[
"the",
"max",
"zoom",
"allowed",
"during",
"cropping"
] | [
"if",
"(",
"m",
"max",
"zoom",
"!",
"=",
"max",
"zoom",
"&",
"&",
"max",
"zoom",
">",
"0",
")",
"{",
"m",
"max",
"zoom",
"=",
"max",
"zoom",
";",
"handle",
"crop",
"window",
"changed",
"(",
"false",
",",
"false",
")",
";",
"m",
"crop",
"overlay... |
[
"the",
"min",
"size",
"the",
"resulting",
"cropping",
"image",
"is",
"allowed",
"to",
"be",
"affects",
"the",
"cropping",
"window",
"limits",
"(",
"in",
"pixels",
")",
"<",
"br",
">"
] | [
"m",
"crop",
"overlay",
"view",
"set",
"min",
"crop",
"result",
"size",
"(",
"min",
"crop",
"result",
"width",
",",
"min",
"crop",
"result",
"height",
")",
";"
] |
[
"the",
"max",
"size",
"the",
"resulting",
"cropping",
"image",
"is",
"allowed",
"to",
"be",
"affects",
"the",
"cropping",
"window",
"limits",
"(",
"in",
"pixels",
")",
"<",
"br",
">"
] | [
"m",
"crop",
"overlay",
"view",
"set",
"max",
"crop",
"result",
"size",
"(",
"max",
"crop",
"result",
"width",
",",
"max",
"crop",
"result",
"height",
")",
";"
] |
[
"get",
"the",
"amount",
"of",
"degrees",
"the",
"cropping",
"image",
"is",
"rotated",
"cloackwise",
"<",
"br",
">"
] | [
"return",
"m",
"degrees",
"rotated",
";"
] |
[
"set",
"the",
"amount",
"of",
"degrees",
"the",
"cropping",
"image",
"is",
"rotated",
"cloackwise",
"<",
"br",
">"
] | [
"if",
"(",
"m",
"degrees",
"rotated",
"!",
"=",
"degrees",
")",
"{",
"rotate",
"image",
"(",
"degrees",
"-",
"m",
"degrees",
"rotated",
")",
";",
"}"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.