docstring_tokens list | code_tokens list |
|---|---|
[
"assert",
"the",
"response",
"status",
"code",
"is",
"{"
] | [
"return",
"matcher",
"(",
"http",
"status",
"http",
"version",
"not",
"supported",
")",
";"
] |
[
"assert",
"the",
"response",
"status",
"code",
"is",
"{"
] | [
"return",
"matcher",
"(",
"http",
"status",
"variant",
"also",
"negotiates",
")",
";"
] |
[
"assert",
"the",
"response",
"status",
"code",
"is",
"{"
] | [
"return",
"matcher",
"(",
"http",
"status",
"insufficient",
"storage",
")",
";"
] |
[
"assert",
"the",
"response",
"status",
"code",
"is",
"{"
] | [
"return",
"matcher",
"(",
"http",
"status",
"loop",
"detected",
")",
";"
] |
[
"assert",
"the",
"response",
"status",
"code",
"is",
"{"
] | [
"return",
"matcher",
"(",
"http",
"status",
"value",
"of",
"(",
"509",
")",
")",
";"
] |
[
"assert",
"the",
"response",
"status",
"code",
"is",
"{"
] | [
"return",
"matcher",
"(",
"http",
"status",
"not",
"extended",
")",
";"
] |
[
"assert",
"the",
"response",
"status",
"code",
"is",
"{"
] | [
"return",
"matcher",
"(",
"http",
"status",
"value",
"of",
"(",
"511",
")",
")",
";"
] |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"known",
"clear",
"(",
")",
";"
] |
[
"get",
"/",
"set",
"/",
"create",
"the",
"server",
"default",
"configuration",
"class",
"list",
"<",
"p",
">",
"get",
"the",
"class",
"list",
"from",
":",
"a",
"server",
"bean",
";",
"or",
"the",
"attribute",
"(",
"which",
"can",
"either",
"be",
"a",
... | [
"configurations",
"configurations",
"=",
"server",
"get",
"bean",
"(",
"configurations",
"class",
")",
";",
"if",
"(",
"configurations",
"!",
"=",
"null",
")",
"return",
"configurations",
";",
"configurations",
"=",
"get",
"server",
"default",
"(",
"server",
"... |
[
"/",
"*",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"-",
"... | [
"return",
"get",
"server",
"default",
"(",
"server",
")",
";"
] |
[
"enables",
"automatic",
"upgrades",
"to",
"new",
"minor",
"versions",
"for",
"brokers",
"as",
"apache",
"releases",
"the",
"versions",
"the",
"automatic",
"upgrades",
"occur",
"during",
"the",
"maintenance",
"window",
"of",
"the",
"broker",
"or",
"after",
"a",
... | [
"set",
"auto",
"minor",
"version",
"upgrade",
"(",
"auto",
"minor",
"version",
"upgrade",
")",
";",
"return",
"this",
";"
] |
[
"the",
"name",
"of",
"the",
"broker",
"this",
"value",
"must",
"be",
"unique",
"in",
"your",
"aws",
"account",
"1",
"-",
"50",
"characters",
"long",
"must",
"contain",
"only",
"letters",
"numbers",
"dashes",
"and",
"underscores",
"and",
"must",
"not",
"con... | [
"set",
"broker",
"id",
"(",
"broker",
"id",
")",
";",
"return",
"this",
";"
] |
[
"a",
"list",
"of",
"information",
"about",
"the",
"configuration"
] | [
"this",
"configuration",
"=",
"configuration",
";"
] |
[
"a",
"list",
"of",
"information",
"about",
"the",
"configuration"
] | [
"return",
"this",
"configuration",
";"
] |
[
"a",
"list",
"of",
"information",
"about",
"the",
"configuration"
] | [
"set",
"configuration",
"(",
"configuration",
")",
";",
"return",
"this",
";"
] |
[
"the",
"version",
"of",
"the",
"broker",
"engine",
"note",
":",
"currently",
"amazon",
"mq",
"supports",
"only",
"5",
"15",
"6",
"and",
"5",
"15",
"0"
] | [
"set",
"engine",
"version",
"(",
"engine",
"version",
")",
";",
"return",
"this",
";"
] |
[
"enables",
"amazon",
"cloud",
"watch",
"logging",
"for",
"brokers"
] | [
"return",
"this",
"logs",
";"
] |
[
"enables",
"amazon",
"cloud",
"watch",
"logging",
"for",
"brokers"
] | [
"set",
"logs",
"(",
"logs",
")",
";",
"return",
"this",
";"
] |
[
"click",
"on",
"remote",
"branch",
"wait",
"the",
"list",
"of",
"names",
"remote",
"branches"
] | [
"remote",
"branch",
"select",
"click",
"(",
")",
";",
"new",
"web",
"driver",
"wait",
"(",
"selenium",
"web",
"driver",
",",
"5",
")",
"until",
"(",
"new",
"expected",
"condition",
"<",
"boolean",
">",
"(",
")",
"{",
"@",
"override",
"public",
"boolean... |
[
"returns",
"an",
"{"
] | [
"return",
"to",
"observable",
"(",
"endpoint",
"(",
"uri",
")",
")",
";"
] |
[
"returns",
"an",
"{"
] | [
"return",
"to",
"observable",
"(",
"endpoint",
"(",
"uri",
")",
",",
"body",
"type",
")",
";"
] |
[
"returns",
"an",
"{"
] | [
"return",
"to",
"observable",
"(",
"endpoint",
",",
"message",
"class",
")",
";"
] |
[
"returns",
"an",
"{"
] | [
"return",
"create",
"endpoint",
"observable",
"(",
"endpoint",
",",
"new",
"exchange",
"to",
"body",
"func",
"1",
"<",
">",
"(",
"body",
"type",
")",
")",
";"
] |
[
"sends",
"events",
"on",
"the",
"given",
"{"
] | [
"send",
"to",
"(",
"observable",
",",
"endpoint",
"(",
"endpoint",
"uri",
")",
")",
";"
] |
[
"sends",
"events",
"on",
"the",
"given",
"{"
] | [
"try",
"{",
"observer",
"sender",
"<",
"t",
">",
"observer",
"=",
"new",
"observer",
"sender",
"<",
">",
"(",
"endpoint",
")",
";",
"observable",
"subscribe",
"(",
"observer",
")",
";",
"}",
"catch",
"(",
"exception",
"e",
")",
"{",
"throw",
"new",
"... |
[
"convenience",
"method",
"for",
"beginning",
"the",
"route"
] | [
"return",
"create",
"endpoint",
"observable",
"(",
"endpoint",
")",
";"
] |
[
"convenience",
"method",
"for",
"beginning",
"the",
"route"
] | [
"return",
"from",
"(",
"endpoint",
"(",
"uri",
")",
")",
";"
] |
[
"convenience",
"method",
"for",
"creating",
"camel",
"operator",
"instances"
] | [
"return",
"new",
"camel",
"operator",
"(",
"camel",
"context",
",",
"uri",
")",
";"
] |
[
"convenience",
"method",
"for",
"creating",
"camel",
"operator",
"instances"
] | [
"return",
"new",
"camel",
"operator",
"(",
"endpoint",
")",
";"
] |
[
"returns",
"a",
"newly",
"created",
"{"
] | [
"observable",
"on",
"subscribe",
"<",
"t",
">",
"func",
"=",
"new",
"endpoint",
"subscribe",
"func",
"<",
">",
"(",
"worker",
"pool",
",",
"endpoint",
",",
"converter",
")",
";",
"return",
"new",
"endpoint",
"observable",
"<",
">",
"(",
"endpoint",
",",
... |
[
"return",
"a",
"newly",
"created",
"{"
] | [
"return",
"new",
"endpoint",
"observable",
"<",
">",
"(",
"endpoint",
",",
"new",
"endpoint",
"subscribe",
"func",
"<",
"exchange",
">",
"(",
"worker",
"pool",
",",
"endpoint",
",",
"exchange",
"-",
">",
"exchange",
")",
")",
";"
] |
[
"to",
"allow",
"users",
"to",
"have",
"a",
"single",
"check",
"to",
"see",
"if",
"running",
"on",
"the",
"ouya",
"that",
"also",
"consideres",
"the",
"simulation",
"flag",
"*"
] | [
"return",
"running",
"on",
"ouya",
"|",
"|",
"simulate",
"running",
"on",
"ouya",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"bot",
"that",
"the",
"alias",
"points",
"to",
"<",
"/",
"p",
">"
] | [
"this",
"bot",
"name",
"=",
"bot",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"bot",
"that",
"the",
"alias",
"points",
"to",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"bot",
"name",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"bot",
"that",
"stored",
"the",
"utterances",
"<",
"/",
"p",
">"
] | [
"set",
"bot",
"name",
"(",
"bot",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"unique",
"identifier",
"of",
"the",
"user",
"to",
"delete",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"user",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"unique",
"identifier",
"for",
"the",
"user",
"that",
"made",
"the",
"utterances",
"this",
"is",
"the",
"user",
"id",
"that",
"was",
"sent",
"in",
"the",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"... | [
"set",
"user",
"id",
"(",
"user",
"id",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"{"
] | [
"return",
"nsample",
"location",
"grid",
"size",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"sample",
"location",
"grid",
"size",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"{"
] | [
"nsample",
"location",
"grid",
"size",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] | [
"s",
"type",
"(",
"s",
"type",
")",
";",
"p",
"next",
"(",
"p",
"next",
")",
";",
"sample",
"locations",
"per",
"pixel",
"(",
"sample",
"locations",
"per",
"pixel",
")",
";",
"sample",
"location",
"grid",
"size",
"(",
"sample",
"location",
"grid",
"s... |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] | [
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container"... |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"wrap",
"(",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
"must",
"be",
... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
"the",
"instance",
"must",
"be"... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"buffer",
"utils",
"}"
] | [
"byte",
"buffer",
"container",
"=",
"create",
"(",
"capacity",
",",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"buffer",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"capacity",
",",
"container",
")",
";"
] |
[
"create",
"a",
"{",
"@",
"link",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"at",
"the",
"specified",
"memory"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"address",
",",
"capacity",
")",
";"
] |
[
"like",
"{"
] | [
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"buffer",
"class",
",",
"address",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"malloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] | [
"return",
"calloc",
"stack",
"(",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] | [
"return",
"wrap",
"(",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bit... | [
"return",
"calloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"... | [
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"stype",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"pnext",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"samplelocationsperpixel",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"vk",
"extent",
"2",
"d",
"create",
"(",
"struct",
"+",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"samplelocationgridsize",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"samplelocationscount",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"return",
"vk",
"sample",
"location",
"e",
"x",
"t",
"create",
"safe",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"psamplelocations",
")",
",",
"nsample",
"locations",
"count",
"(",
"struct",
")"... |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"stype",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"pnext",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"samplelocationsperpixel",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"copy",
"(",
"value",
"address",
"(",
")",
",",
"struct",
"+",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"samplelocationgridsize",
",",
"vk",
"extent",
"2",
"d",
"sizeof",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] | [
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"samplelocationscount",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] | [
"mem",
"put",
"address",
"(",
"struct",
"+",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"psamplelocations",
",",
"mem",
"address",
"safe",
"(",
"value",
")",
")",
";",
"nsample",
"locations",
"count",
"(",
"struct",
",",
"value",
"=",
"=",
"nu... |
[
"validates",
"pointer",
"members",
"that",
"should",
"not",
"be",
"{",
"@",
"code",
"null",
"}"
] | [
"if",
"(",
"nsample",
"locations",
"count",
"(",
"struct",
")",
"!",
"=",
"0",
")",
"{",
"check",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"psamplelocations",
")",
")",
";",
"}"
] |
[
"returns",
"a",
"{"
] | [
"return",
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"nsample",
"location",
"grid",
"size",
"(",
"address",
"(",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] | [
"consumer",
"accept",
"(",
"sample",
"location",
"grid",
"size",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"{"
] | [
"vk",
"sample",
"locations",
"info",
"e",
"x",
"t",
"nsample",
"location",
"grid",
"size",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"creates",
"an",
"{"
] | [
"return",
"new",
"ordering",
"(",
")",
"{",
"@",
"override",
"boolean",
"validate",
"ordering",
"is",
"correct",
"(",
")",
"{",
"return",
"false",
";",
"}",
"@",
"override",
"protected",
"list",
"<",
"description",
">",
"order",
"items",
"(",
"collection",... |
[
"returns",
"{"
] | [
"return",
"true",
";"
] |
[
"implemented",
"by",
"sub",
"-",
"classes",
"to",
"order",
"the",
"descriptions"
] | [
"protected",
"abstract",
"list",
"<",
"description",
">",
"order",
"items",
"(",
"collection",
"<",
"description",
">",
"descriptions",
")",
";"
] |
[
"gets",
"the",
"description",
"for",
"the",
"top",
"-",
"level",
"target",
"being",
"ordered"
] | [
"return",
"description",
";"
] |
[
"clean",
"up",
"cycle",
"for",
"remote",
"proxies",
"default",
"determined",
"by",
"configuration",
"type"
] | [
"return",
"clean",
"up",
"cycle",
";"
] |
[
"extra",
"servlets",
"to",
"initialize",
"/",
"use",
"on",
"the",
"hub",
"or",
"node",
"default",
"empty"
] | [
"return",
"servlets",
";"
] |
[
"default",
"servlets",
"to",
"exclude",
"on",
"the",
"hub",
"or",
"node",
"default",
"empty"
] | [
"return",
"without",
"servlets",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"intent",
"the",
"name",
"is",
"case",
"sensitive",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"compute",
"the",
"repair",
"set",
"from",
"the",
"given",
"values",
"and",
"nodes"
] | [
"int",
"size",
"=",
"node",
"values",
"size",
"(",
")",
";",
"if",
"(",
"size",
"<",
"=",
"1",
")",
"return",
"collections",
"empty",
"list",
"(",
")",
";",
"map",
"<",
"k",
",",
"list",
"<",
"node",
"value",
"<",
"k",
",",
"v",
">",
">",
">"... |
[
"/",
"*",
"create",
"files",
"with",
"num",
"blocks",
"blocks",
"each",
"with",
"block",
"size",
"block",
"size"
] | [
"block",
"size",
"block",
"size",
"opt",
"=",
"create",
"opts",
"get",
"opt",
"(",
"create",
"opts",
"block",
"size",
"class",
",",
"options",
")",
";",
"long",
"block",
"size",
"=",
"block",
"size",
"opt",
"!",
"=",
"null",
"?",
"block",
"size",
"op... |
[
"estimates",
"the",
"footprint",
"that",
"a",
"given",
"class",
"will",
"have",
"in",
"the",
"linear",
"alloc",
"buffer",
"of",
"android",
"s",
"dalvik",
"vm"
] | [
"class",
"reader",
"class",
"reader",
"=",
"new",
"class",
"reader",
"(",
"raw",
"class",
")",
";",
"return",
"get",
"estimate",
"internal",
"(",
"class",
"reader",
")",
";"
] |
[
"{"
] | [
"lock",
"lock",
"(",
")",
";",
"try",
"{",
"node",
"queue",
"add",
"first",
"(",
"node",
"node",
"id",
"(",
")",
")",
";",
"}",
"finally",
"{",
"lock",
"unlock",
"(",
")",
";",
"}"
] |
[
"{"
] | [
"lock",
"lock",
"(",
")",
";",
"try",
"{",
"node",
"queue",
"remove",
"(",
"node",
"node",
"id",
"(",
")",
")",
";",
"}",
"finally",
"{",
"lock",
"unlock",
"(",
")",
";",
"}"
] |
[
"get",
"a",
"token",
"reading"
] | [
"return",
"an",
"tok",
"readings",
"[",
"idx",
"]",
";"
] |
[
"checks",
"if",
"the",
"token",
"has",
"a",
"particular",
"pos",
"tag"
] | [
"boolean",
"found",
"=",
"false",
";",
"for",
"(",
"analyzed",
"token",
"reading",
":",
"an",
"tok",
"readings",
")",
"{",
"if",
"(",
"reading",
"get",
"p",
"o",
"s",
"tag",
"(",
")",
"!",
"=",
"null",
")",
"{",
"found",
"=",
"pos",
"tag",
"equal... |
[
"checks",
"if",
"one",
"of",
"the",
"token",
"s",
"readings",
"has",
"a",
"particular",
"lemma"
] | [
"boolean",
"found",
"=",
"false",
";",
"for",
"(",
"analyzed",
"token",
"reading",
":",
"an",
"tok",
"readings",
")",
"{",
"if",
"(",
"reading",
"get",
"lemma",
"(",
")",
"!",
"=",
"null",
")",
"{",
"found",
"=",
"lemma",
"equals",
"(",
"reading",
... |
[
"checks",
"if",
"one",
"of",
"the",
"token",
"s",
"readings",
"has",
"one",
"of",
"the",
"given",
"lemmas"
] | [
"boolean",
"found",
"=",
"false",
";",
"for",
"(",
"string",
"lemma",
":",
"lemmas",
")",
"{",
"for",
"(",
"analyzed",
"token",
"reading",
":",
"an",
"tok",
"readings",
")",
"{",
"if",
"(",
"reading",
"get",
"lemma",
"(",
")",
"!",
"=",
"null",
")"... |
[
"checks",
"if",
"the",
"token",
"has",
"a",
"particular",
"pos",
"tag",
"where",
"only",
"a",
"part",
"of",
"the",
"given",
"pos",
"tag",
"needs",
"to",
"match"
] | [
"boolean",
"found",
"=",
"false",
";",
"for",
"(",
"analyzed",
"token",
"reading",
":",
"an",
"tok",
"readings",
")",
"{",
"if",
"(",
"reading",
"get",
"p",
"o",
"s",
"tag",
"(",
")",
"!",
"=",
"null",
")",
"{",
"found",
"=",
"reading",
"get",
"p... |
[
"checks",
"if",
"the",
"token",
"has",
"any",
"of",
"the",
"given",
"particular",
"pos",
"tags",
"(",
"only",
"a",
"part",
"of",
"the",
"given",
"pos",
"tag",
"needs",
"to",
"match",
")"
] | [
"for",
"(",
"string",
"pos",
"tag",
":",
"pos",
"tags",
")",
"{",
"if",
"(",
"has",
"partial",
"pos",
"tag",
"(",
"pos",
"tag",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"checks",
"if",
"the",
"token",
"has",
"a",
"pos",
"tag",
"starting",
"with",
"the",
"given",
"string"
] | [
"boolean",
"found",
"=",
"false",
";",
"for",
"(",
"analyzed",
"token",
"reading",
":",
"an",
"tok",
"readings",
")",
"{",
"if",
"(",
"reading",
"get",
"p",
"o",
"s",
"tag",
"(",
")",
"!",
"=",
"null",
")",
"{",
"found",
"=",
"reading",
"get",
"p... |
[
"checks",
"if",
"at",
"least",
"one",
"of",
"the",
"readings",
"matches",
"a",
"given",
"pos",
"tag",
"regex"
] | [
"pattern",
"pattern",
"=",
"pattern",
"compile",
"(",
"pos",
"tag",
"regex",
")",
";",
"boolean",
"found",
"=",
"false",
";",
"for",
"(",
"analyzed",
"token",
"reading",
":",
"an",
"tok",
"readings",
")",
"{",
"if",
"(",
"reading",
"get",
"p",
"o",
"... |
[
"removes",
"a",
"reading",
"from",
"the",
"list",
"of",
"readings",
"note",
":",
"if",
"the",
"token",
"has",
"only",
"one",
"reading",
"then",
"a",
"new",
"reading",
"with",
"an",
"empty",
"pos",
"tag",
"and",
"an",
"empty",
"lemma",
"is",
"created"
] | [
"list",
"<",
"analyzed",
"token",
">",
"l",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"analyzed",
"token",
"tmp",
"tok",
"=",
"new",
"analyzed",
"token",
"(",
"token",
"get",
"token",
"(",
")",
",",
"token",
"get",
"p",
"o",
"s",
"tag... |
[
"removes",
"all",
"readings",
"but",
"the",
"one",
"that",
"matches",
"the",
"token",
"given"
] | [
"list",
"<",
"analyzed",
"token",
">",
"l",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"analyzed",
"token",
"tmp",
"tok",
"=",
"new",
"analyzed",
"token",
"(",
"token",
"get",
"token",
"(",
")",
",",
"token",
"get",
"p",
"o",
"s",
"tag... |
[
"number",
"of",
"readings"
] | [
"return",
"an",
"tok",
"readings",
"length",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.