docstring_tokens
list | code_tokens
list |
---|---|
[
"makes",
"custom",
"configuration",
"fragments",
"available",
"in",
"tests"
] |
[
"configured",
"rule",
"class",
"provider",
"builder",
"builder",
"=",
"new",
"configured",
"rule",
"class",
"provider",
"builder",
"(",
")",
";",
"test",
"rule",
"class",
"provider",
"add",
"standard",
"rules",
"(",
"builder",
")",
";",
"for",
"(",
"configuration",
"fragment",
"factory",
"factory",
":",
"factories",
")",
"{",
"builder",
"add",
"configuration",
"fragment",
"(",
"factory",
")",
";",
"}",
"use",
"rule",
"class",
"provider",
"(",
"builder",
"build",
"(",
")",
")",
";"
] |
[
"method",
"is",
"defined",
"as",
"package",
"-",
"protected",
"in",
"order",
"to",
"be",
"accessible",
"by",
"unit",
"tests"
] |
[
"return",
"gc",
";"
] |
[
"method",
"is",
"defined",
"as",
"package",
"-",
"protected",
"in",
"order",
"to",
"be",
"accessible",
"by",
"unit",
"tests"
] |
[
"this",
"gc",
"=",
"gc",
";"
] |
[
"create",
"cross",
"product",
"of",
"test",
"parameters"
] |
[
"list",
"<",
"object",
"[",
"]",
">",
"parameters",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"for",
"(",
"server",
"type",
"server",
"type",
":",
"test",
"case",
"support",
"test",
"servers",
")",
"{",
"for",
"(",
"boolean",
"non",
"zero",
"offset",
":",
"new",
"boolean",
"[",
"]",
"{",
"true",
",",
"false",
"}",
")",
"{",
"for",
"(",
"command",
"command",
":",
"commands",
")",
"{",
"for",
"(",
"int",
"item",
"index",
":",
"new",
"integer",
"[",
"]",
"{",
"0",
",",
"1",
"}",
")",
"{",
"for",
"(",
"string",
"type",
":",
"types",
")",
"{",
"for",
"(",
"string",
"value",
"type",
":",
"value",
"types",
")",
"{",
"parameters",
"add",
"(",
"new",
"object",
"[",
"]",
"{",
"server",
"type",
",",
"initial",
"registers",
",",
"item",
"initial",
"state",
",",
"non",
"zero",
"offset",
",",
"type",
",",
"value",
"type",
",",
"item",
"index",
",",
"command",
",",
"expected",
"value",
",",
"expecting",
"assertion",
"error",
"}",
")",
";",
"}",
"}",
"}",
"}",
"}",
"}",
"return",
"parameters",
";"
] |
[
"gets",
"the",
"shell",
"of",
"this",
"user"
] |
[
"return",
"shell",
";"
] |
[
"performs",
"on",
"-",
"the",
"-",
"fly",
"validation",
"of",
"the",
"exit",
"code"
] |
[
"value",
"=",
"util",
"fix",
"empty",
"and",
"trim",
"(",
"value",
")",
";",
"if",
"(",
"value",
"=",
"=",
"null",
")",
"{",
"return",
"form",
"validation",
"ok",
"(",
")",
";",
"}",
"long",
"unstable",
"return",
";",
"try",
"{",
"unstable",
"return",
"=",
"long",
"parse",
"long",
"(",
"value",
")",
";",
"}",
"catch",
"(",
"number",
"format",
"exception",
"e",
")",
"{",
"return",
"form",
"validation",
"error",
"(",
"hudson",
"model",
"messages",
"hudson",
"not",
"a",
"number",
"(",
")",
")",
";",
"}",
"if",
"(",
"unstable",
"return",
"=",
"=",
"0",
")",
"{",
"return",
"form",
"validation",
"warning",
"(",
"hudson",
"tasks",
"messages",
"shell",
"invalid",
"exit",
"code",
"zero",
"(",
")",
")",
";",
"}",
"if",
"(",
"unstable",
"return",
"<",
"1",
"|",
"|",
"unstable",
"return",
">",
"255",
")",
"{",
"return",
"form",
"validation",
"error",
"(",
"hudson",
"tasks",
"messages",
"shell",
"invalid",
"exit",
"code",
"range",
"(",
"unstable",
"return",
")",
")",
";",
"}",
"return",
"form",
"validation",
"ok",
"(",
")",
";"
] |
[
"checks",
"the",
"call",
"state"
] |
[
"return",
"call",
"state",
"equals",
"(",
"state",
")",
";"
] |
[
"gets",
"the",
"call",
"state"
] |
[
"return",
"call",
"state",
";"
] |
[
"sets",
"the",
"automatic",
"answer",
"time",
"(",
"default",
"is",
"-",
"1",
"that",
"means",
"no",
"auto",
"accept",
"mode",
")"
] |
[
"user",
"profile",
"accept",
"time",
"=",
"accept",
"time",
";"
] |
[
"sets",
"the",
"automatic",
"hangup",
"time",
"(",
"default",
"is",
"0",
"that",
"corresponds",
"to",
"manual",
"hangup",
"mode",
")"
] |
[
"user",
"profile",
"hangup",
"time",
"=",
"time",
";"
] |
[
"sets",
"the",
"redirection",
"url",
"(",
"default",
"is",
"null",
"that",
"is",
"no",
"redircetion",
")"
] |
[
"user",
"profile",
"redirect",
"to",
"=",
"url",
";"
] |
[
"sets",
"the",
"no",
"offer",
"mode",
"for",
"the",
"invite",
"(",
"default",
"is",
"false",
")"
] |
[
"user",
"profile",
"no",
"offer",
"=",
"nooffer",
";"
] |
[
"enables",
"audio"
] |
[
"user",
"profile",
"audio",
"=",
"enable",
";"
] |
[
"enables",
"video"
] |
[
"user",
"profile",
"video",
"=",
"enable",
";"
] |
[
"sets",
"the",
"receive",
"only",
"mode"
] |
[
"user",
"profile",
"recv",
"only",
"=",
"r",
"only",
";"
] |
[
"sets",
"the",
"send",
"only",
"mode"
] |
[
"user",
"profile",
"send",
"only",
"=",
"s",
"only",
";"
] |
[
"sets",
"the",
"send",
"tone",
"mode"
] |
[
"user",
"profile",
"send",
"tone",
"=",
"s",
"tone",
";"
] |
[
"sets",
"the",
"send",
"file"
] |
[
"user",
"profile",
"send",
"file",
"=",
"file",
"name",
";"
] |
[
"sets",
"the",
"recv",
"file"
] |
[
"user",
"profile",
"recv",
"file",
"=",
"file",
"name",
";"
] |
[
"gets",
"the",
"local",
"sdp"
] |
[
"return",
"local",
"session",
";"
] |
[
"sets",
"the",
"local",
"sdp"
] |
[
"local",
"session",
"=",
"sdp",
";"
] |
[
"inits",
"the",
"local",
"sdp",
"(",
"no",
"media",
"spec",
")"
] |
[
"session",
"descriptor",
"sdp",
"=",
"new",
"session",
"descriptor",
"(",
"user",
"profile",
"from",
"url",
",",
"sip",
"provider",
"get",
"via",
"address",
"(",
")",
")",
";",
"local",
"session",
"=",
"sdp",
"to",
"string",
"(",
")",
";"
] |
[
"waits",
"for",
"an",
"incoming",
"call",
"(",
"acting",
"as",
"uas",
")"
] |
[
"change",
"status",
"(",
"ua",
"idle",
")",
";",
"call",
"=",
"new",
"extended",
"call",
"(",
"sip",
"provider",
",",
"user",
"profile",
"from",
"url",
",",
"user",
"profile",
"contact",
"url",
",",
"user",
"profile",
"username",
",",
"user",
"profile",
"realm",
",",
"user",
"profile",
"passwd",
",",
"this",
")",
";",
"call",
"listen",
"(",
")",
";"
] |
[
"closes",
"an",
"ongoing",
"incoming",
"or",
"pending",
"call"
] |
[
"if",
"(",
"clip",
"ring",
"!",
"=",
"null",
")",
"clip",
"ring",
"stop",
"(",
")",
";",
"close",
"media",
"application",
"(",
")",
";",
"if",
"(",
"call",
"!",
"=",
"null",
")",
"call",
"hangup",
"(",
")",
";",
"change",
"status",
"(",
"ua",
"idle",
")",
";"
] |
[
"closes",
"an",
"ongoing",
"incoming",
"or",
"pending",
"call"
] |
[
"if",
"(",
"clip",
"ring",
"!",
"=",
"null",
")",
"clip",
"ring",
"stop",
"(",
")",
";",
"if",
"(",
"call",
"!",
"=",
"null",
")",
"call",
"accept",
"(",
"local",
"session",
")",
";"
] |
[
"redirects",
"an",
"incoming",
"call"
] |
[
"if",
"(",
"clip",
"ring",
"!",
"=",
"null",
")",
"clip",
"ring",
"stop",
"(",
")",
";",
"if",
"(",
"call",
"!",
"=",
"null",
")",
"call",
"redirect",
"(",
"redirection",
")",
";"
] |
[
"close",
"the",
"media",
"application"
] |
[
"if",
"(",
"audio",
"app",
"!",
"=",
"null",
")",
"{",
"audio",
"app",
"stop",
"media",
"(",
")",
";",
"audio",
"app",
"=",
"null",
";",
"}",
"if",
"(",
"video",
"app",
"!",
"=",
"null",
")",
"{",
"video",
"app",
"stop",
"media",
"(",
")",
";",
"video",
"app",
"=",
"null",
";",
"}"
] |
[
"schedules",
"a",
"call",
"-",
"transfer",
"event",
"after",
"<",
"i",
">",
"delay",
"time",
"<",
"/",
"i",
">",
"secs"
] |
[
"(",
"new",
"thread",
"(",
")",
"{",
"public",
"void",
"run",
"(",
")",
"{",
"run",
"call",
"transfer",
"(",
"transfer",
"to",
",",
"delay",
"time",
")",
";",
"}",
"}",
")",
"start",
"(",
")",
";"
] |
[
"schedules",
"an",
"automatic",
"answer",
"event",
"after",
"<",
"i",
">",
"delay",
"time",
"<",
"/",
"i",
">",
"secs"
] |
[
"(",
"new",
"thread",
"(",
")",
"{",
"public",
"void",
"run",
"(",
")",
"{",
"run",
"automatic",
"accept",
"(",
"delay",
"time",
")",
";",
"}",
"}",
")",
"start",
"(",
")",
";"
] |
[
"schedules",
"an",
"automatic",
"hangup",
"event",
"after",
"<",
"i",
">",
"delay",
"time",
"<",
"/",
"i",
">",
"secs"
] |
[
"(",
"new",
"thread",
"(",
")",
"{",
"public",
"void",
"run",
"(",
")",
"{",
"run",
"automatic",
"hangup",
"(",
"delay",
"time",
")",
";",
"}",
"}",
")",
"start",
"(",
")",
";"
] |
[
"set",
"the",
"top",
"and",
"bottom",
"offset",
"for",
"this",
"{",
"@",
"link",
"view",
"offset",
"helper",
"}",
"s",
"view"
] |
[
"if",
"(",
"vertical",
"offset",
"enabled",
"&",
"&",
"offset",
"top",
"!",
"=",
"offset",
")",
"{",
"offset",
"top",
"=",
"offset",
";",
"update",
"offsets",
"(",
")",
";",
"return",
"true",
";",
"}",
"return",
"false",
";"
] |
[
"set",
"the",
"left",
"and",
"right",
"offset",
"for",
"this",
"{",
"@",
"link",
"view",
"offset",
"helper",
"}",
"s",
"view"
] |
[
"if",
"(",
"horizontal",
"offset",
"enabled",
"&",
"&",
"offset",
"left",
"!",
"=",
"offset",
")",
"{",
"offset",
"left",
"=",
"offset",
";",
"update",
"offsets",
"(",
")",
";",
"return",
"true",
";",
"}",
"return",
"false",
";"
] |
[
"<",
"p",
">",
"the",
"architecture",
"of",
"the",
"image",
"<",
"/",
"p",
">"
] |
[
"set",
"architecture",
"(",
"architecture",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"architecture",
"of",
"the",
"image",
"<",
"/",
"p",
">"
] |
[
"this",
"architecture",
"=",
"architecture",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"the",
"image",
"was",
"created",
"<",
"/",
"p",
">"
] |
[
"set",
"creation",
"date",
"(",
"creation",
"date",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"ami",
"<",
"/",
"p",
">"
] |
[
"set",
"image",
"id",
"(",
"image",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"full",
"path",
"to",
"your",
"ami",
"manifest",
"in",
"amazon",
"s3",
"storage",
"<",
"/",
"p",
">"
] |
[
"this",
"image",
"location",
"=",
"image",
"location",
";"
] |
[
"<",
"p",
">",
"the",
"full",
"path",
"to",
"your",
"ami",
"manifest",
"in",
"amazon",
"s3",
"storage",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"image",
"location",
";"
] |
[
"<",
"p",
">",
"the",
"location",
"of",
"the",
"ami",
"<",
"/",
"p",
">"
] |
[
"set",
"image",
"location",
"(",
"image",
"location",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"image",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"image",
"type",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"image",
"<",
"/",
"p",
">"
] |
[
"set",
"image",
"type",
"(",
"image",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"image",
"<",
"/",
"p",
">"
] |
[
"with",
"image",
"type",
"(",
"image",
"type",
")",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"image",
"<",
"/",
"p",
">"
] |
[
"this",
"image",
"type",
"=",
"image",
"type",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"indicates",
"whether",
"the",
"image",
"has",
"public",
"launch",
"permissions",
"the",
"value",
"is",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"if",
"this",
"image",
"has",
"public",
"launch",
"permissions",
"or",
"<",
"code",
">",
"false",
"<",
"/",
"code",
">",
"if",
"it",
"has",
"only",
"implicit",
"and",
"explicit",
"launch",
"permissions",
"<",
"/",
"p",
">"
] |
[
"set",
"public",
"(",
"public",
"value",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"kernel",
"associated",
"with",
"the",
"image",
"if",
"any",
"only",
"applicable",
"for",
"machine",
"images",
"<",
"/",
"p",
">"
] |
[
"set",
"kernel",
"id",
"(",
"kernel",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"aws",
"account",
"id",
"of",
"the",
"image",
"owner",
"<",
"/",
"p",
">"
] |
[
"set",
"owner",
"id",
"(",
"owner",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"operating",
"system",
"platform",
"of",
"the",
"image",
"<",
"/",
"p",
">"
] |
[
"set",
"platform",
"(",
"platform",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"value",
"is",
"<",
"code",
">",
"windows",
"<",
"/",
"code",
">",
"for",
"windows",
"a",
"m",
"is",
";",
"otherwise",
"blank",
"<",
"/",
"p",
">"
] |
[
"this",
"platform",
"=",
"platform",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"any",
"product",
"codes",
"associated",
"with",
"the",
"ami",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"product",
"codes",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"product",
"codes",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] |
[
"if",
"(",
"this",
"product",
"codes",
"=",
"=",
"null",
")",
"{",
"set",
"product",
"codes",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"product",
"code",
">",
"(",
"product",
"codes",
"length",
")",
")",
";",
"}",
"for",
"(",
"product",
"code",
"ele",
":",
"product",
"codes",
")",
"{",
"this",
"product",
"codes",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"any",
"product",
"codes",
"associated",
"with",
"the",
"ami",
"<",
"/",
"p",
">"
] |
[
"set",
"product",
"codes",
"(",
"product",
"codes",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"ram",
"disk",
"associated",
"with",
"the",
"image",
"if",
"any",
"only",
"applicable",
"for",
"machine",
"images",
"<",
"/",
"p",
">"
] |
[
"set",
"ramdisk",
"id",
"(",
"ramdisk",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"image",
"starts",
"in",
"the",
"<",
"code",
">",
"pending",
"<",
"/",
"code",
">",
"state",
"if",
"image",
"creation",
"succeeds",
"the",
"state",
"is",
"<",
"code",
">",
"available",
"<",
"/",
"code",
">",
"if",
"image",
"creation",
"fails",
"the",
"state",
"is",
"<",
"code",
">",
"failed",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] |
[
"set",
"state",
"(",
"state",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"image",
"starts",
"in",
"the",
"<",
"code",
">",
"pending",
"<",
"/",
"code",
">",
"state",
"if",
"image",
"creation",
"succeeds",
"the",
"state",
"is",
"<",
"code",
">",
"available",
"<",
"/",
"code",
">",
"if",
"image",
"creation",
"fails",
"the",
"state",
"is",
"<",
"code",
">",
"failed",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] |
[
"with",
"state",
"(",
"state",
")",
";"
] |
[
"<",
"p",
">",
"the",
"image",
"starts",
"in",
"the",
"<",
"code",
">",
"pending",
"<",
"/",
"code",
">",
"state",
"if",
"image",
"creation",
"succeeds",
"the",
"state",
"is",
"<",
"code",
">",
"available",
"<",
"/",
"code",
">",
"if",
"image",
"creation",
"fails",
"the",
"state",
"is",
"<",
"code",
">",
"failed",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] |
[
"this",
"state",
"=",
"state",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"any",
"block",
"device",
"mapping",
"entries",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"block",
"device",
"mappings",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"block",
"device",
"mappings",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] |
[
"if",
"(",
"this",
"block",
"device",
"mappings",
"=",
"=",
"null",
")",
"{",
"set",
"block",
"device",
"mappings",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"block",
"device",
"mapping",
">",
"(",
"block",
"device",
"mappings",
"length",
")",
")",
";",
"}",
"for",
"(",
"block",
"device",
"mapping",
"ele",
":",
"block",
"device",
"mappings",
")",
"{",
"this",
"block",
"device",
"mappings",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"any",
"block",
"device",
"mapping",
"entries",
"<",
"/",
"p",
">"
] |
[
"set",
"block",
"device",
"mappings",
"(",
"block",
"device",
"mappings",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"description",
"for",
"display",
"<",
"/",
"p",
">"
] |
[
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"whether",
"enhanced",
"networking",
"with",
"ena",
"is",
"enabled",
"<",
"/",
"p",
">"
] |
[
"set",
"ena",
"support",
"(",
"ena",
"support",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"hypervisor",
"type",
"of",
"the",
"image",
"<",
"/",
"p",
">"
] |
[
"set",
"hypervisor",
"(",
"hypervisor",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"hypervisor",
"type",
"of",
"the",
"image",
"<",
"/",
"p",
">"
] |
[
"this",
"hypervisor",
"=",
"hypervisor",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"aws",
"account",
"alias",
"(",
"for",
"example",
"<",
"code",
">",
"amazon",
"<",
"/",
"code",
">",
"<",
"code",
">",
"self",
"<",
"/",
"code",
">",
")",
"or",
"the",
"aws",
"account",
"id",
"of",
"the",
"ami",
"owner",
"<",
"/",
"p",
">"
] |
[
"this",
"image",
"owner",
"alias",
"=",
"image",
"owner",
"alias",
";"
] |
[
"<",
"p",
">",
"the",
"aws",
"account",
"alias",
"(",
"for",
"example",
"<",
"code",
">",
"amazon",
"<",
"/",
"code",
">",
"<",
"code",
">",
"self",
"<",
"/",
"code",
">",
")",
"or",
"the",
"aws",
"account",
"id",
"of",
"the",
"ami",
"owner",
"<",
"/",
"p",
">"
] |
[
"return",
"this",
"image",
"owner",
"alias",
";"
] |
[
"<",
"p",
">",
"the",
"aws",
"account",
"alias",
"(",
"for",
"example",
"<",
"code",
">",
"amazon",
"<",
"/",
"code",
">",
"<",
"code",
">",
"self",
"<",
"/",
"code",
">",
")",
"or",
"the",
"aws",
"account",
"id",
"of",
"the",
"ami",
"owner",
"<",
"/",
"p",
">"
] |
[
"set",
"image",
"owner",
"alias",
"(",
"image",
"owner",
"alias",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"image",
"<",
"/",
"p",
">"
] |
[
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"device",
"name",
"of",
"the",
"root",
"device",
"volume",
"(",
"for",
"example",
"<",
"code",
">",
"/",
"dev",
"/",
"sda",
"1",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">"
] |
[
"set",
"root",
"device",
"name",
"(",
"root",
"device",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"root",
"device",
"used",
"by",
"the",
"ami",
"the",
"ami",
"can",
"use",
"an",
"ebs",
"volume",
"or",
"an",
"instance",
"store",
"volume",
"<",
"/",
"p",
">"
] |
[
"set",
"root",
"device",
"type",
"(",
"root",
"device",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"root",
"device",
"used",
"by",
"the",
"ami",
"the",
"ami",
"can",
"use",
"an",
"ebs",
"volume",
"or",
"an",
"instance",
"store",
"volume",
"<",
"/",
"p",
">"
] |
[
"this",
"root",
"device",
"type",
"=",
"root",
"device",
"type",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"whether",
"enhanced",
"networking",
"with",
"the",
"intel",
"82599",
"virtual",
"function",
"interface",
"is",
"enabled",
"<",
"/",
"p",
">"
] |
[
"set",
"sriov",
"net",
"support",
"(",
"sriov",
"net",
"support",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"reason",
"for",
"the",
"state",
"change",
"<",
"/",
"p",
">"
] |
[
"set",
"state",
"reason",
"(",
"state",
"reason",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"any",
"tags",
"assigned",
"to",
"the",
"image",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"tags",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"tags",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
] |
[
"if",
"(",
"this",
"tags",
"=",
"=",
"null",
")",
"{",
"set",
"tags",
"(",
"new",
"com",
"amazonaws",
"internal",
"sdk",
"internal",
"list",
"<",
"tag",
">",
"(",
"tags",
"length",
")",
")",
";",
"}",
"for",
"(",
"tag",
"ele",
":",
"tags",
")",
"{",
"this",
"tags",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"any",
"tags",
"assigned",
"to",
"the",
"image",
"<",
"/",
"p",
">"
] |
[
"set",
"tags",
"(",
"tags",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"virtualization",
"of",
"the",
"ami",
"<",
"/",
"p",
">"
] |
[
"set",
"virtualization",
"type",
"(",
"virtualization",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"type",
"of",
"virtualization",
"of",
"the",
"ami",
"<",
"/",
"p",
">"
] |
[
"this",
"virtualization",
"type",
"=",
"virtualization",
"type",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"graph",
"node",
"represented",
"by",
"this",
"tree",
"node"
] |
[
"return",
"m",
"node",
";"
] |
[
"currently",
"only",
"tracks",
"differences",
"in",
"|",
"prefixes",
"|",
"and",
"|",
"dnses",
"|"
] |
[
"ra",
"params",
"newly",
"deprecated",
"=",
"new",
"ra",
"params",
"(",
")",
";",
"if",
"(",
"old",
"ra",
"!",
"=",
"null",
")",
"{",
"for",
"(",
"ip",
"prefix",
"ipp",
":",
"old",
"ra",
"prefixes",
")",
"{",
"if",
"(",
"new",
"ra",
"=",
"=",
"null",
"|",
"|",
"!",
"new",
"ra",
"prefixes",
"contains",
"(",
"ipp",
")",
")",
"{",
"newly",
"deprecated",
"prefixes",
"add",
"(",
"ipp",
")",
";",
"}",
"}",
"for",
"(",
"inet",
"6",
"address",
"dns",
":",
"old",
"ra",
"dnses",
")",
"{",
"if",
"(",
"new",
"ra",
"=",
"=",
"null",
"|",
"|",
"!",
"new",
"ra",
"dnses",
"contains",
"(",
"dns",
")",
")",
"{",
"newly",
"deprecated",
"dnses",
"add",
"(",
"dns",
")",
";",
"}",
"}",
"}",
"return",
"newly",
"deprecated",
";"
] |
[
"decorate",
"the",
"web",
"socket",
"handler",
"provided",
"to",
"the",
"class",
"constructor",
"<",
"p",
">",
"by",
"default",
"{"
] |
[
"return",
"new",
"logging",
"web",
"socket",
"handler",
"decorator",
"(",
"handler",
")",
";"
] |
[
"set",
"the",
"sub",
"-",
"protocols",
"to",
"use",
"if",
"configured",
"specified",
"sub",
"-",
"protocols",
"will",
"be",
"requested",
"in",
"the",
"handshake",
"through",
"the",
"{"
] |
[
"this",
"headers",
"set",
"sec",
"web",
"socket",
"protocol",
"(",
"protocols",
")",
";"
] |
[
"return",
"the",
"configured",
"sub",
"-",
"protocols",
"to",
"use"
] |
[
"return",
"this",
"headers",
"get",
"sec",
"web",
"socket",
"protocol",
"(",
")",
";"
] |
[
"set",
"the",
"origin",
"to",
"use"
] |
[
"this",
"headers",
"set",
"origin",
"(",
"origin",
")",
";"
] |
[
"return",
"the",
"configured",
"origin"
] |
[
"return",
"this",
"headers",
"get",
"origin",
"(",
")",
";"
] |
[
"provide",
"default",
"headers",
"to",
"add",
"to",
"the",
"web",
"socket",
"handshake",
"request"
] |
[
"this",
"headers",
"clear",
"(",
")",
";",
"this",
"headers",
"put",
"all",
"(",
"headers",
")",
";"
] |
[
"checks",
"to",
"see",
"if",
"a",
"given",
"server",
"is",
"the",
"primary",
"server",
"in",
"this",
"replica",
"set"
] |
[
"server",
"address",
"master",
"server",
"address",
"=",
"get",
"master",
"(",
")",
";",
"return",
"master",
"server",
"address",
"!",
"=",
"null",
"&",
"&",
"master",
"server",
"address",
"equals",
"(",
"server",
"address",
")",
";"
] |
[
"initalize",
"the",
"filesystem",
"store",
"-",
"this",
"creates",
"the",
"rest",
"client",
"binding"
] |
[
"this",
"uri",
"=",
"fs",
"u",
"r",
"i",
";",
"this",
"swift",
"rest",
"client",
"=",
"swift",
"rest",
"client",
"get",
"instance",
"(",
"fs",
"u",
"r",
"i",
",",
"configuration",
")",
";"
] |
[
"get",
"the",
"default",
"blocksize",
"of",
"this",
"(",
"bound",
")",
"filesystem"
] |
[
"return",
"1024l",
"*",
"swift",
"rest",
"client",
"get",
"blocksize",
"k",
"b",
"(",
")",
";"
] |
[
"upload",
"a",
"file",
"/",
"input",
"stream",
"of",
"a",
"specific",
"length"
] |
[
"swift",
"rest",
"client",
"upload",
"(",
"to",
"object",
"path",
"(",
"path",
")",
",",
"input",
"stream",
",",
"length",
")",
";"
] |
[
"get",
"the",
"metadata",
"of",
"an",
"object"
] |
[
"return",
"get",
"object",
"metadata",
"(",
"path",
",",
"true",
")",
";"
] |
[
"get",
"the",
"http",
"headers",
"in",
"case",
"you",
"really",
"need",
"the",
"low",
"-",
"level",
"metadata"
] |
[
"swift",
"object",
"path",
"object",
"path",
"=",
"to",
"object",
"path",
"(",
"path",
")",
";",
"return",
"stat",
"(",
"object",
"path",
",",
"newest",
")",
";"
] |
[
"get",
"the",
"object",
"as",
"an",
"input",
"stream"
] |
[
"return",
"swift",
"rest",
"client",
"get",
"data",
"(",
"to",
"object",
"path",
"(",
"path",
")",
",",
"swift",
"rest",
"client",
"newest",
")",
";"
] |
[
"get",
"the",
"input",
"stream",
"starting",
"from",
"a",
"specific",
"point"
] |
[
"return",
"swift",
"rest",
"client",
"get",
"data",
"(",
"to",
"object",
"path",
"(",
"path",
")",
",",
"byte",
"range",
"start",
",",
"length",
")",
";"
] |
[
"list",
"all",
"elements",
"in",
"this",
"directory"
] |
[
"final",
"collection",
"<",
"file",
"status",
">",
"file",
"statuses",
";",
"file",
"statuses",
"=",
"list",
"directory",
"(",
"to",
"dir",
"path",
"(",
"path",
")",
",",
"recursive",
",",
"newest",
")",
";",
"return",
"file",
"statuses",
"to",
"array",
"(",
"new",
"file",
"status",
"[",
"file",
"statuses",
"size",
"(",
")",
"]",
")",
";"
] |
[
"create",
"a",
"directory"
] |
[
"inner",
"create",
"directory",
"(",
"to",
"dir",
"path",
"(",
"path",
")",
")",
";"
] |
[
"the",
"inner",
"directory",
"creation",
"option",
"this",
"only",
"creates",
"the",
"dir",
"at",
"the",
"given",
"path",
"not",
"any",
"parent",
"dirs"
] |
[
"swift",
"rest",
"client",
"put",
"request",
"(",
"swift",
"object",
"path",
")",
";"
] |
[
"deletes",
"a",
"directory",
"from",
"swift",
"this",
"is",
"not",
"recursive"
] |
[
"return",
"delete",
"object",
"(",
"path",
")",
";"
] |
[
"does",
"the",
"object",
"exist"
] |
[
"return",
"object",
"exists",
"(",
"to",
"object",
"path",
"(",
"path",
")",
")",
";"
] |
[
"get",
"the",
"current",
"operation",
"statistics"
] |
[
"return",
"swift",
"rest",
"client",
"get",
"operation",
"statistics",
"(",
")",
";"
] |
[
"{"
] |
[
"return",
"new",
"constraint",
"column",
"usage",
"(",
"dsl",
"name",
"(",
"alias",
")",
",",
"this",
")",
";"
] |
[
"{"
] |
[
"return",
"new",
"constraint",
"column",
"usage",
"(",
"alias",
",",
"this",
")",
";"
] |
[
"rename",
"this",
"table"
] |
[
"return",
"new",
"constraint",
"column",
"usage",
"(",
"dsl",
"name",
"(",
"name",
")",
",",
"null",
")",
";"
] |
[
"rename",
"this",
"table"
] |
[
"return",
"new",
"constraint",
"column",
"usage",
"(",
"name",
",",
"null",
")",
";"
] |
[
"register",
"the",
"given",
"common",
"classes",
"with",
"the",
"class",
"utils",
"cache"
] |
[
"for",
"(",
"class",
"<",
"?",
">",
"clazz",
":",
"common",
"classes",
")",
"{",
"common",
"class",
"cache",
"put",
"(",
"clazz",
"get",
"name",
"(",
")",
",",
"clazz",
")",
";",
"}"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.