docstring_tokens list | code_tokens list |
|---|---|
[
"<",
"p",
">",
"true",
"if",
"performance",
"insights",
"is",
"enabled",
"for",
"the",
"db",
"instance",
"and",
"otherwise",
"false",
"<",
"/",
"p",
">"
] | [
"this",
"performance",
"insights",
"enabled",
"=",
"performance",
"insights",
"enabled",
";"
] |
[
"<",
"p",
">",
"true",
"if",
"performance",
"insights",
"is",
"enabled",
"for",
"the",
"db",
"instance",
"and",
"otherwise",
"false",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"performance",
"insights",
"enabled",
";"
] |
[
"<",
"p",
">",
"true",
"if",
"performance",
"insights",
"is",
"enabled",
"for",
"the",
"db",
"instance",
"and",
"otherwise",
"false",
"<",
"/",
"p",
">"
] | [
"set",
"performance",
"insights",
"enabled",
"(",
"performance",
"insights",
"enabled",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"true",
"if",
"performance",
"insights",
"is",
"enabled",
"for",
"the",
"db",
"instance",
"and",
"otherwise",
"false",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"performance",
"insights",
"enabled",
";"
] |
[
"<",
"p",
">",
"the",
"aws",
"kms",
"key",
"identifier",
"for",
"encryption",
"of",
"performance",
"insights",
"data",
"the",
"kms",
"key",
"id",
"is",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"kms",
"key",
"identifier",
"or",
"the",
"kms",
... | [
"this",
"performance",
"insights",
"k",
"m",
"s",
"key",
"id",
"=",
"performance",
"insights",
"k",
"m",
"s",
"key",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"aws",
"kms",
"key",
"identifier",
"for",
"encryption",
"of",
"performance",
"insights",
"data",
"the",
"kms",
"key",
"id",
"is",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"kms",
"key",
"identifier",
"or",
"the",
"kms",
... | [
"return",
"this",
"performance",
"insights",
"k",
"m",
"s",
"key",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"aws",
"kms",
"key",
"identifier",
"for",
"encryption",
"of",
"performance",
"insights",
"data",
"the",
"kms",
"key",
"id",
"is",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"kms",
"key",
"identifier",
"or",
"the",
"kms",
... | [
"set",
"performance",
"insights",
"k",
"m",
"s",
"key",
"id",
"(",
"performance",
"insights",
"k",
"m",
"s",
"key",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"log",
"types",
"that",
"this",
"db",
"instance",
"is",
"configured",
"to",
"export",
"to",
"cloud",
"watch",
"logs",
"<",
"/",
"p",
">"
] | [
"return",
"enabled",
"cloudwatch",
"logs",
"exports",
";"
] |
[
"<",
"p",
">",
"a",
"list",
"of",
"log",
"types",
"that",
"this",
"db",
"instance",
"is",
"configured",
"to",
"export",
"to",
"cloud",
"watch",
"logs",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"enabled",
"cloudwatch",
"logs",
"exports",
"=",
"=",
"null",
")",
"{",
"this",
"enabled",
"cloudwatch",
"logs",
"exports",
"=",
"null",
";",
"return",
";",
"}",
"this",
"enabled",
"cloudwatch",
"logs",
"exports",
"=",
"new",
"java",
"util",
"... |
[
"<",
"p",
">",
"a",
"list",
"of",
"log",
"types",
"that",
"this",
"db",
"instance",
"is",
"configured",
"to",
"export",
"to",
"cloud",
"watch",
"logs",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
... | [
"if",
"(",
"this",
"enabled",
"cloudwatch",
"logs",
"exports",
"=",
"=",
"null",
")",
"{",
"set",
"enabled",
"cloudwatch",
"logs",
"exports",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"enabled",
"cloudwatch",
"logs",
"exports",
... |
[
"<",
"p",
">",
"a",
"list",
"of",
"log",
"types",
"that",
"this",
"db",
"instance",
"is",
"configured",
"to",
"export",
"to",
"cloud",
"watch",
"logs",
"<",
"/",
"p",
">",
"<",
"p",
">",
"log",
"types",
"vary",
"by",
"db",
"engine",
"for",
"informa... | [
"set",
"enabled",
"cloudwatch",
"logs",
"exports",
"(",
"enabled",
"cloudwatch",
"logs",
"exports",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"return",
"socket",
"ref",
";"
] |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"return",
"socket",
"ref",
";"
] |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"return",
"socket",
"ref",
"size",
"(",
")",
";"
] |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"return",
"socket",
"ref",
"get",
"(",
"index",
")",
";"
] |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"return",
"socket",
"ref",
"get",
"(",
"index",
")",
";"
] |
[
"<",
"code",
">",
"optional",
"bool",
"end",
"=",
"6",
";",
"<",
"/",
"code",
">"
] | [
"return",
"end",
";"
] |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"if",
"(",
"socket",
"ref",
"builder",
"=",
"=",
"null",
")",
"{",
"return",
"java",
"util",
"collections",
"unmodifiable",
"list",
"(",
"socket",
"ref",
")",
";",
"}",
"else",
"{",
"return",
"socket",
"ref",
"builder",
"get",
"message",
"list",
"(",
"... |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"if",
"(",
"socket",
"ref",
"builder",
"=",
"=",
"null",
")",
"{",
"return",
"socket",
"ref",
"size",
"(",
")",
";",
"}",
"else",
"{",
"return",
"socket",
"ref",
"builder",
"get",
"count",
"(",
")",
";",
"}"
] |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"if",
"(",
"socket",
"ref",
"builder",
"=",
"=",
"null",
")",
"{",
"return",
"socket",
"ref",
"get",
"(",
"index",
")",
";",
"}",
"else",
"{",
"return",
"socket",
"ref",
"builder",
"get",
"message",
"(",
"index",
")",
";",
"}"
] |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"if",
"(",
"socket",
"ref",
"builder",
"=",
"=",
"null",
")",
"{",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"ensure",
"socket",
"ref",
"is",
"mutable",
"(",
")",
";",
"soc... |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"if",
"(",
"socket",
"ref",
"builder",
"=",
"=",
"null",
")",
"{",
"ensure",
"socket",
"ref",
"is",
"mutable",
"(",
")",
";",
"socket",
"ref",
"set",
"(",
"index",
",",
"builder",
"for",
"value",
"build",
"(",
")",
")",
";",
"on",
"changed",
"(",
... |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"if",
"(",
"socket",
"ref",
"builder",
"=",
"=",
"null",
")",
"{",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"ensure",
"socket",
"ref",
"is",
"mutable",
"(",
")",
";",
"soc... |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"if",
"(",
"socket",
"ref",
"builder",
"=",
"=",
"null",
")",
"{",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"null",
"pointer",
"exception",
"(",
")",
";",
"}",
"ensure",
"socket",
"ref",
"is",
"mutable",
"(",
")",
";",
"soc... |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"if",
"(",
"socket",
"ref",
"builder",
"=",
"=",
"null",
")",
"{",
"ensure",
"socket",
"ref",
"is",
"mutable",
"(",
")",
";",
"socket",
"ref",
"add",
"(",
"builder",
"for",
"value",
"build",
"(",
")",
")",
";",
"on",
"changed",
"(",
")",
";",
"}"... |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"if",
"(",
"socket",
"ref",
"builder",
"=",
"=",
"null",
")",
"{",
"ensure",
"socket",
"ref",
"is",
"mutable",
"(",
")",
";",
"socket",
"ref",
"add",
"(",
"index",
",",
"builder",
"for",
"value",
"build",
"(",
")",
")",
";",
"on",
"changed",
"(",
... |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"if",
"(",
"socket",
"ref",
"builder",
"=",
"=",
"null",
")",
"{",
"ensure",
"socket",
"ref",
"is",
"mutable",
"(",
")",
";",
"com",
"google",
"protobuf",
"abstract",
"message",
"lite",
"builder",
"add",
"all",
"(",
"values",
",",
"socket",
"ref",
")",... |
[
"<",
"pre",
">",
"list",
"of",
"socket",
"refs",
"that",
"the",
"connection",
"detail",
"service",
"knows",
"about",
"sorted",
"in",
"ascending",
"socket",
"id",
"order",
"<",
"/",
"pre",
">"
] | [
"if",
"(",
"socket",
"ref",
"builder",
"=",
"=",
"null",
")",
"{",
"socket",
"ref",
"=",
"java",
"util",
"collections",
"empty",
"list",
"(",
")",
";",
"bit",
"field",
"0",
"=",
"(",
"bit",
"field",
"0",
"&",
"~",
"0x",
"0",
"0",
"0",
"0",
"0",... |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"if",
"(",
"socket",
"ref",
"builder",
"=",
"=",
"null",
")",
"{",
"ensure",
"socket",
"ref",
"is",
"mutable",
"(",
")",
";",
"socket",
"ref",
"remove",
"(",
"index",
")",
";",
"on",
"changed",
"(",
")",
";",
"}",
"else",
"{",
"socket",
"ref",
"b... |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"return",
"get",
"socket",
"ref",
"field",
"builder",
"(",
")",
"get",
"builder",
"(",
"index",
")",
";"
] |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"if",
"(",
"socket",
"ref",
"builder",
"=",
"=",
"null",
")",
"{",
"return",
"socket",
"ref",
"get",
"(",
"index",
")",
";",
"}",
"else",
"{",
"return",
"socket",
"ref",
"builder",
"get",
"message",
"or",
"builder",
"(",
"index",
")",
";",
"}"
] |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"if",
"(",
"socket",
"ref",
"builder",
"!",
"=",
"null",
")",
"{",
"return",
"socket",
"ref",
"builder",
"get",
"message",
"or",
"builder",
"list",
"(",
")",
";",
"}",
"else",
"{",
"return",
"java",
"util",
"collections",
"unmodifiable",
"list",
"(",
"... |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"return",
"get",
"socket",
"ref",
"field",
"builder",
"(",
")",
"add",
"builder",
"(",
"io",
"grpc",
"channelz",
"v",
"1",
"socket",
"ref",
"get",
"default",
"instance",
"(",
")",
")",
";"
] |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"return",
"get",
"socket",
"ref",
"field",
"builder",
"(",
")",
"add",
"builder",
"(",
"index",
",",
"io",
"grpc",
"channelz",
"v",
"1",
"socket",
"ref",
"get",
"default",
"instance",
"(",
")",
")",
";"
] |
[
"<",
"pre",
">",
"there",
"are",
"no",
"ordering",
"guarantees",
"on",
"the",
"order",
"of",
"sockets",
"<",
"/",
"pre",
">"
] | [
"return",
"get",
"socket",
"ref",
"field",
"builder",
"(",
")",
"get",
"builder",
"list",
"(",
")",
";"
] |
[
"<",
"pre",
">",
"if",
"set",
"indicates",
"that",
"the",
"list",
"of",
"channels",
"is",
"the",
"final",
"list",
"requesting",
"more",
"channels",
"can",
"only",
"return",
"more",
"if",
"they",
"are",
"created",
"after",
"this",
"rpc",
"completes",
"<",
... | [
"end",
"=",
"value",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"pre",
">",
"if",
"set",
"indicates",
"that",
"the",
"list",
"of",
"channels",
"is",
"the",
"final",
"list",
"requesting",
"more",
"channels",
"can",
"only",
"return",
"more",
"if",
"they",
"are",
"created",
"after",
"this",
"rpc",
"completes",
"<",
... | [
"end",
"=",
"false",
";",
"on",
"changed",
"(",
")",
";",
"return",
"this",
";"
] |
[
"allows",
"pipeline",
"to",
"be",
"visible",
"to",
"entire",
"filter",
"set",
";",
"generally",
"used",
"as",
"an",
"after",
"-",
"hook",
"on",
"pipeline",
"creation"
] | [
"boolean",
"modified",
"=",
"false",
";",
"for",
"(",
"dashboard",
"filter",
"f",
":",
"view",
"filters",
"filters",
"(",
")",
")",
"{",
"modified",
"=",
"modified",
"|",
"|",
"f",
"allow",
"pipeline",
"(",
"pipeline",
"to",
"add",
")",
";",
"}",
"re... |
[
"initializes",
"the",
"current",
"instance",
"with",
"the",
"given",
"context"
] | [
"super",
"initialize",
"(",
"context",
")",
";",
"tokenizer",
"model",
"model",
";",
"try",
"{",
"tokenizer",
"model",
"resource",
"model",
"resource",
"=",
"(",
"tokenizer",
"model",
"resource",
")",
"context",
"get",
"resource",
"object",
"(",
"uima",
"uti... |
[
"initializes",
"the",
"type",
"system"
] | [
"super",
"type",
"system",
"init",
"(",
"type",
"system",
")",
";",
"probability",
"feature",
"=",
"annotator",
"util",
"get",
"optional",
"feature",
"parameter",
"(",
"context",
",",
"token",
"type",
",",
"uima",
"util",
"probability",
"feature",
"parameter",... |
[
"/",
"*",
"deactivated",
"for",
"now",
"since",
"feature",
"moved",
"to",
"hazelcast",
"3",
"3"
] | [
"return",
"cancelled",
"jobs",
"add",
"if",
"absent",
"(",
"job",
"id",
")",
";"
] |
[
"must",
"call",
"init",
"first"
] | [
"skin",
"manager",
"get",
"instance",
"(",
")",
"init",
"(",
"this",
")",
";",
"skin",
"manager",
"get",
"instance",
"(",
")",
"load",
"(",
")",
";"
] |
[
"adds",
"a",
"simple",
"field",
"accessor",
"and",
"mutator",
"for",
"the",
"variable"
] | [
"context",
"node",
"subtype",
"add",
"field",
"(",
"node",
",",
"var",
"name",
")",
"add",
"method",
"(",
"new",
"getter",
"(",
"strength",
"strong",
",",
"node",
",",
"var",
"name",
",",
"visibility",
"immediate",
")",
")",
"add",
"method",
"(",
"new"... |
[
"<",
"p",
">",
"the",
"current",
"page",
"of",
"elements",
"from",
"this",
"collection",
"<",
"/",
"p",
">"
] | [
"return",
"items",
";"
] |
[
"<",
"p",
">",
"the",
"current",
"page",
"of",
"elements",
"from",
"this",
"collection",
"<",
"/",
"p",
">"
] | [
"if",
"(",
"items",
"=",
"=",
"null",
")",
"{",
"this",
"items",
"=",
"null",
";",
"return",
";",
"}",
"this",
"items",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"authorizer",
">",
"(",
"items",
")",
";"
] |
[
"<",
"p",
">",
"the",
"current",
"page",
"of",
"elements",
"from",
"this",
"collection",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"li... | [
"if",
"(",
"this",
"items",
"=",
"=",
"null",
")",
"{",
"set",
"items",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"authorizer",
">",
"(",
"items",
"length",
")",
")",
";",
"}",
"for",
"(",
"authorizer",
"ele",
":",
"items",
")",
"{",
"thi... |
[
"<",
"p",
">",
"the",
"current",
"page",
"of",
"elements",
"from",
"this",
"collection",
"<",
"/",
"p",
">"
] | [
"set",
"items",
"(",
"items",
")",
";",
"return",
"this",
";"
] |
[
"for",
"unit",
"tests",
"only",
"!"
] | [
"create",
"and",
"fill",
"test",
"tables",
"(",
"false",
")",
";"
] |
[
"for",
"unit",
"tests",
"only"
] | [
"try",
"(",
"sql",
"session",
"session",
"=",
"sql",
"session",
"factory",
"open",
"session",
"(",
"true",
")",
")",
"{",
"try",
"(",
"connection",
"conn",
"=",
"session",
"get",
"connection",
"(",
")",
")",
"{",
"try",
"(",
"statement",
"stmt",
"=",
... |
[
"<",
"p",
">",
"a",
"complex",
"type",
"that",
"contains",
"settings",
"for",
"the",
"traffic",
"policy",
"instance",
"<",
"/",
"p",
">"
] | [
"this",
"traffic",
"policy",
"instance",
"=",
"traffic",
"policy",
"instance",
";"
] |
[
"<",
"p",
">",
"a",
"complex",
"type",
"that",
"contains",
"settings",
"for",
"the",
"traffic",
"policy",
"instance",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"traffic",
"policy",
"instance",
";"
] |
[
"<",
"p",
">",
"a",
"complex",
"type",
"that",
"contains",
"settings",
"for",
"the",
"updated",
"traffic",
"policy",
"instance",
"<",
"/",
"p",
">"
] | [
"set",
"traffic",
"policy",
"instance",
"(",
"traffic",
"policy",
"instance",
")",
";",
"return",
"this",
";"
] |
[
"changes",
"the",
"state",
"of",
"the",
"buttons",
"depending",
"on",
"the",
"currently",
"selected",
"file",
"or",
"folder"
] | [
"if",
"(",
"selected",
"dir",
"!",
"=",
"null",
")",
"{",
"but",
"confirm",
"set",
"enabled",
"(",
"is",
"valid",
"file",
"(",
"selected",
"dir",
")",
")",
";",
"support",
"invalidate",
"options",
"menu",
"(",
")",
";",
"}"
] |
[
"refresh",
"the",
"contents",
"of",
"the",
"directory",
"that",
"is",
"currently",
"shown"
] | [
"if",
"(",
"selected",
"dir",
"!",
"=",
"null",
")",
"{",
"change",
"directory",
"(",
"selected",
"dir",
")",
";",
"}"
] |
[
"shows",
"a",
"confirmation",
"dialog",
"that",
"asks",
"the",
"user",
"if",
"he",
"wants",
"to",
"create",
"a",
"new",
"folder"
] | [
"alert",
"dialog",
"builder",
"builder",
"=",
"new",
"alert",
"dialog",
"builder",
"(",
"this",
")",
";",
"builder",
"set",
"title",
"(",
"r",
"string",
"create",
"folder",
"label",
")",
";",
"builder",
"set",
"message",
"(",
"string",
"format",
"(",
"ge... |
[
"creates",
"a",
"new",
"folder",
"in",
"the",
"current",
"directory",
"with",
"the",
"name",
"create",
"directory",
"name"
] | [
"if",
"(",
"selected",
"dir",
"=",
"=",
"null",
")",
"{",
"return",
"r",
"string",
"create",
"folder",
"error",
";",
"}",
"else",
"if",
"(",
"selected",
"dir",
"can",
"write",
"(",
")",
")",
"{",
"file",
"new",
"dir",
"=",
"new",
"file",
"(",
"se... |
[
"returns",
"true",
"if",
"the",
"selected",
"file",
"or",
"directory",
"would",
"be",
"valid",
"selection"
] | [
"return",
"file",
"!",
"=",
"null",
"&",
"&",
"file",
"is",
"directory",
"(",
")",
"&",
"&",
"file",
"can",
"read",
"(",
")",
"&",
"&",
"file",
"can",
"write",
"(",
")",
";"
] |
[
"write",
"trace",
"in",
"chrome",
"trace",
"format"
] | [
"dist",
"build",
"chrome",
"trace",
"renderer",
"render",
"(",
"this",
",",
"chrome",
"trace",
")",
";"
] |
[
"example",
"value",
":",
"42"
] | [
"this",
"id",
"=",
"id",
";",
"return",
"this",
";"
] |
[
"example",
"value",
":",
"sonar",
"-",
"administrators"
] | [
"this",
"name",
"=",
"name",
";",
"return",
"this",
";"
] |
[
"this",
"is",
"part",
"of",
"the",
"internal",
"api",
"example",
"value",
":",
"my",
"-",
"org"
] | [
"this",
"organization",
"=",
"organization",
";",
"return",
"this",
";"
] |
[
"example",
"value",
":",
"42"
] | [
"this",
"p",
"=",
"p",
";",
"return",
"this",
";"
] |
[
"example",
"value",
":",
"20"
] | [
"this",
"ps",
"=",
"ps",
";",
"return",
"this",
";"
] |
[
"example",
"value",
":",
"eri"
] | [
"this",
"q",
"=",
"q",
";",
"return",
"this",
";"
] |
[
"possible",
"values",
":",
"<",
"ul",
">",
"<",
"li",
">",
"all",
"<",
"/",
"li",
">",
"<",
"li",
">",
"deselected",
"<",
"/",
"li",
">",
"<",
"li",
">",
"selected",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">"
] | [
"this",
"selected",
"=",
"selected",
";",
"return",
"this",
";"
] |
[
"zero",
"tokens",
"as",
"check",
"do",
"traverse",
"of",
"tree",
"himself",
"he",
"does",
"not",
"need",
"to",
"subscribed",
"to",
"tokens"
] | [
"return",
"common",
"util",
"empty",
"int",
"array",
";"
] |
[
"build",
"the",
"underlying",
"limiter",
"called",
"when",
"dynamic",
"request",
"limiter",
"detects",
"config",
"has",
"changed",
"this",
"may",
"be",
"called",
"multiple",
"times",
"so",
"the",
"method",
"should",
"be",
"cheap"
] | [
"protected",
"abstract",
"request",
"limiter",
"<",
"request",
">",
"build",
"(",
")",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"an",
"aws",
"code",
"deploy",
"application",
"associated",
"with",
"the",
"applicable",
"iam",
"user",
"or",
"aws",
"account",
"<",
"/",
"p",
">"
] | [
"set",
"application",
"name",
"(",
"application",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"job",
"definition",
"for",
"which",
"to",
"retrieve",
"all",
"job",
"runs",
"<",
"/",
"p",
">"
] | [
"set",
"job",
"name",
"(",
"job",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"continuation",
"token",
"if",
"this",
"is",
"a",
"continuation",
"call",
"<",
"/",
"p",
">"
] | [
"set",
"next",
"token",
"(",
"next",
"token",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"size",
"of",
"the",
"response",
"<",
"/",
"p",
">"
] | [
"set",
"max",
"results",
"(",
"max",
"results",
")",
";",
"return",
"this",
";"
] |
[
"enables",
"or",
"disables",
"the",
"cancel",
"button",
"to",
"allow",
"the",
"user",
"interrupt",
"the",
"action",
"requested",
"to",
"the",
"activity"
] | [
"if",
"(",
"enabled",
")",
"{",
"m",
"b",
"cancel",
"set",
"visibility",
"(",
"view",
"visible",
")",
";",
"m",
"b",
"cancel",
"set",
"on",
"click",
"listener",
"(",
"new",
"on",
"click",
"listener",
"(",
")",
"{",
"@",
"override",
"public",
"void",
... |
[
"ask",
"to",
"the",
"user",
"for",
"retyping",
"the",
"pass",
"code",
"just",
"entered",
"before",
"saving",
"it",
"as",
"the",
"current",
"pass",
"code"
] | [
"clear",
"boxes",
"(",
")",
";",
"m",
"pass",
"code",
"hdr",
"set",
"text",
"(",
"r",
"string",
"pass",
"code",
"reenter",
"your",
"pass",
"code",
")",
";",
"m",
"pass",
"code",
"hdr",
"explanation",
"set",
"visibility",
"(",
"view",
"invisible",
")",
... |
[
"compares",
"pass",
"code",
"entered",
"by",
"the",
"user",
"with",
"the",
"value",
"currently",
"saved",
"in",
"the",
"app"
] | [
"shared",
"preferences",
"app",
"prefs",
"=",
"preference",
"manager",
"get",
"default",
"shared",
"preferences",
"(",
"get",
"application",
"context",
"(",
")",
")",
";",
"string",
"saved",
"pass",
"code",
"digits",
"[",
"]",
"=",
"new",
"string",
"[",
"4... |
[
"compares",
"pass",
"code",
"retyped",
"by",
"the",
"user",
"in",
"the",
"input",
"fields",
"with",
"the",
"value",
"entered",
"just",
"before"
] | [
"m",
"confirming",
"pass",
"code",
"=",
"false",
";",
"boolean",
"result",
"=",
"true",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"m",
"pass",
"code",
"edit",
"texts",
"length",
"&",
"&",
"result",
";",
"i",
"+",
"+",
")",
"{",
"res... |
[
"sets",
"the",
"input",
"fields",
"to",
"empty",
"strings",
"and",
"puts",
"the",
"focus",
"on",
"the",
"first",
"one"
] | [
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"m",
"pass",
"code",
"edit",
"texts",
"length",
";",
"i",
"+",
"+",
")",
"{",
"m",
"pass",
"code",
"edit",
"texts",
"[",
"i",
"]",
"set",
"text",
"(",
"\"",
"\"",
")",
";",
"}",
"m",
"pass",
... |
[
"saves",
"the",
"pass",
"code",
"input",
"by",
"the",
"user",
"as",
"the",
"current",
"pass",
"code"
] | [
"intent",
"result",
"intent",
"=",
"new",
"intent",
"(",
")",
";",
"result",
"intent",
"put",
"extra",
"(",
"key",
"passcode",
",",
"m",
"pass",
"code",
"digits",
"[",
"0",
"]",
"+",
"m",
"pass",
"code",
"digits",
"[",
"1",
"]",
"+",
"m",
"pass",
... |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"return",
"model",
"package",
"literals",
"tf",
"moisture",
"bricklet",
"configuration",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"return",
"moving",
"average",
";"
] |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"short",
"old",
"moving",
"average",
"=",
"moving",
"average",
";",
"moving",
"average",
"=",
"new",
"moving",
"average",
";",
"if",
"(",
"e",
"notification",
"required",
"(",
")",
")",
"e",
"notify",
"(",
"new",
"e",
"notification",
"impl",
"(",
"this",... |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"switch",
"(",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"tf",
"moisture",
"bricklet",
"configuration",
"moving",
"average",
":",
"return",
"get",
"moving",
"average",
"(",
")",
";",
"}",
"return",
"super",
"e",
"get",
"(",
"feature",
"i... |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"switch",
"(",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"tf",
"moisture",
"bricklet",
"configuration",
"moving",
"average",
":",
"set",
"moving",
"average",
"(",
"(",
"short",
")",
"new",
"value",
")",
";",
"return",
";",
"}",
"super",
... |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"switch",
"(",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"tf",
"moisture",
"bricklet",
"configuration",
"moving",
"average",
":",
"set",
"moving",
"average",
"(",
"moving",
"average",
"edefault",
")",
";",
"return",
";",
"}",
"super",
"e",... |
[
"<",
"!",
"-",
"-",
"begin",
"-",
"user",
"-",
"doc",
"-",
"-",
">",
"<",
"!",
"-",
"-",
"end",
"-",
"user",
"-",
"doc",
"-",
"-",
">"
] | [
"switch",
"(",
"feature",
"i",
"d",
")",
"{",
"case",
"model",
"package",
"tf",
"moisture",
"bricklet",
"configuration",
"moving",
"average",
":",
"return",
"moving",
"average",
"edefault",
"=",
"=",
"null",
"?",
"moving",
"average",
"!",
"=",
"null",
":",... |
[
"do",
"some",
"actions",
"on",
"the",
"old",
"container"
] | [
"string",
"offline",
"token",
"=",
"request",
"offline",
"token",
"(",
")",
";",
"save",
"offline",
"token",
"(",
"offline",
"token",
")",
";"
] |
[
"this",
"must",
"be",
"implemented",
"by",
"all",
"instantiated",
"test",
"cases",
"-",
"provide",
"the",
"fs",
"contract"
] | [
"protected",
"abstract",
"abstract",
"f",
"s",
"contract",
"create",
"contract",
"(",
"configuration",
"conf",
")",
";"
] |
[
"get",
"the",
"contract"
] | [
"return",
"contract",
";"
] |
[
"get",
"the",
"log",
"of",
"the",
"base",
"class"
] | [
"return",
"log",
";"
] |
[
"is",
"a",
"feature",
"supported",
"?"
] | [
"return",
"contract",
"is",
"supported",
"(",
"feature",
",",
"false",
")",
";"
] |
[
"configuration",
"generator",
"may",
"be",
"overridden",
"to",
"inject",
"some",
"custom",
"options"
] | [
"return",
"new",
"configuration",
"(",
")",
";"
] |
[
"option",
"for",
"tests",
"to",
"override",
"the",
"default",
"timeout",
"value"
] | [
"return",
"default",
"test",
"timeout",
";"
] |
[
"teardown"
] | [
"delete",
"test",
"dir",
"in",
"teardown",
"(",
")",
";"
] |
[
"create",
"a",
"path",
"under",
"the",
"test",
"path",
"provided",
"by",
"the",
"fs",
"contract"
] | [
"return",
"get",
"file",
"system",
"(",
")",
"make",
"qualified",
"(",
"new",
"path",
"(",
"get",
"contract",
"(",
")",
"get",
"test",
"path",
"(",
")",
",",
"filepath",
")",
")",
";"
] |
[
"take",
"a",
"simple",
"path",
"like",
"/",
"something",
"and",
"turn",
"it",
"into",
"a",
"qualified",
"path",
"against",
"the",
"test",
"fs"
] | [
"return",
"get",
"file",
"system",
"(",
")",
"make",
"qualified",
"(",
"new",
"path",
"(",
"filepath",
")",
")",
";"
] |
[
"list",
"a",
"path",
"in",
"the",
"test",
"fs"
] | [
"return",
"contract",
"test",
"utils",
"ls",
"(",
"file",
"system",
",",
"path",
")",
";"
] |
[
"describe",
"a",
"test",
"this",
"is",
"a",
"replacement",
"for",
"javadocs",
"where",
"the",
"tests",
"role",
"is",
"printed",
"in",
"the",
"log",
"output"
] | [
"log",
"info",
"(",
"text",
")",
";"
] |
[
"assert",
"that",
"a",
"path",
"exists"
] | [
"contract",
"test",
"utils",
"assert",
"path",
"exists",
"(",
"file",
"system",
",",
"message",
",",
"path",
")",
";"
] |
[
"assert",
"that",
"a",
"path",
"does",
"not"
] | [
"contract",
"test",
"utils",
"assert",
"path",
"does",
"not",
"exist",
"(",
"file",
"system",
",",
"message",
",",
"path",
")",
";"
] |
[
"assert",
"that",
"a",
"file",
"exists",
"and",
"whose",
"{",
"@",
"link",
"file",
"status",
"}",
"entry",
"declares",
"that",
"this",
"is",
"a",
"file",
"and",
"not",
"a",
"symlink",
"or",
"directory"
] | [
"contract",
"test",
"utils",
"assert",
"is",
"file",
"(",
"file",
"system",
",",
"filename",
")",
";"
] |
[
"assert",
"that",
"a",
"file",
"exists",
"and",
"whose",
"{",
"@",
"link",
"file",
"status",
"}",
"entry",
"declares",
"that",
"this",
"is",
"a",
"file",
"and",
"not",
"a",
"symlink",
"or",
"directory"
] | [
"contract",
"test",
"utils",
"assert",
"is",
"directory",
"(",
"file",
"system",
",",
"path",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.