docstring_tokens
list | code_tokens
list |
---|---|
[
"returns",
"true",
"if",
"an",
"only",
"if",
"the",
"runner",
"understands",
"this",
"transform",
"and",
"can",
"handle",
"it",
"directly"
] |
[
"iterator",
"<",
"is",
"native",
"transform",
">",
"matchers",
"=",
"service",
"loader",
"load",
"(",
"is",
"native",
"transform",
"class",
")",
"iterator",
"(",
")",
";",
"while",
"(",
"matchers",
"has",
"next",
"(",
")",
")",
"{",
"if",
"(",
"matchers",
"next",
"(",
")",
"test",
"(",
"p",
"transform",
")",
")",
"{",
"return",
"true",
";",
"}",
"}",
"return",
"false",
";"
] |
[
"use",
"only",
"in",
"unit",
"-",
"tests"
] |
[
"databus",
"client",
"group",
"member",
"m",
"=",
"cluster",
"node",
"get",
"member",
"(",
"namespace",
",",
"group",
",",
"name",
")",
";",
"m",
"leave",
"(",
")",
";",
"cluster",
"node",
"close",
"(",
")",
";"
] |
[
"use",
"only",
"in",
"unit",
"-",
"tests"
] |
[
"cluster",
"node",
"open",
"(",
")",
";",
"databus",
"client",
"group",
"member",
"member",
"=",
"cluster",
"node",
"get",
"member",
"(",
"namespace",
",",
"group",
",",
"name",
")",
";",
"member",
"join",
"(",
")",
";"
] |
[
"passes",
"the",
"{"
] |
[
"consumer",
"accept",
"(",
"m",
"name",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"value",
"of",
"the",
"{"
] |
[
"return",
"nm",
"duration",
"(",
"address",
"(",
")",
")",
";"
] |
[
"returns",
"the",
"value",
"of",
"the",
"{"
] |
[
"return",
"nm",
"ticks",
"per",
"second",
"(",
"address",
"(",
")",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] |
[
"nm",
"duration",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] |
[
"nm",
"ticks",
"per",
"second",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"initializes",
"this",
"struct",
"with",
"the",
"specified",
"values"
] |
[
"m",
"name",
"(",
"m",
"name",
")",
";",
"m",
"duration",
"(",
"m",
"duration",
")",
";",
"m",
"ticks",
"per",
"second",
"(",
"m",
"ticks",
"per",
"second",
")",
";",
"m",
"channels",
"(",
"m",
"channels",
")",
";",
"m",
"mesh",
"channels",
"(",
"m",
"mesh",
"channels",
")",
";",
"return",
"this",
";"
] |
[
"copies",
"the",
"specified",
"struct",
"data",
"to",
"this",
"struct"
] |
[
"mem",
"copy",
"(",
"src",
"address",
"(",
")",
",",
"address",
"(",
")",
",",
"sizeof",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"a",
"i",
"animation",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"a",
"i",
"animation",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"byte",
"buffer",
"container",
"=",
"buffer",
"utils",
"create",
"byte",
"buffer",
"(",
"sizeof",
")",
";",
"return",
"wrap",
"(",
"a",
"i",
"animation",
"class",
",",
"mem",
"address",
"(",
"container",
")",
",",
"container",
")",
";"
] |
[
"returns",
"a",
"new",
"{"
] |
[
"return",
"wrap",
"(",
"a",
"i",
"animation",
"class",
",",
"address",
")",
";"
] |
[
"like",
"{"
] |
[
"return",
"address",
"=",
"=",
"null",
"?",
"null",
":",
"wrap",
"(",
"a",
"i",
"animation",
"class",
",",
"address",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"a",
"i",
"animation",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"alloc",
"mem",
"alloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"freed"
] |
[
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"alloc",
"checked",
"(",
"check",
"malloc",
"(",
"capacity",
",",
"sizeof",
")",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"a",
"i",
"animation",
"buffer",
"}",
"instance",
"allocated",
"with",
"{",
"@",
"link",
"memory",
"util",
"#",
"mem",
"calloc",
"mem",
"calloc",
"}",
"the",
"instance",
"must",
"be",
"explicitly",
"freed"
] |
[
"return",
"wrap",
"(",
"buffer",
"class",
",",
"nmem",
"calloc",
"checked",
"(",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"a",
"i",
"animation",
"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",
"a",
"i",
"animation",
"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",
"a",
"i",
"animation",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] |
[
"return",
"wrap",
"(",
"a",
"i",
"animation",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"a",
"i",
"animation",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] |
[
"return",
"wrap",
"(",
"a",
"i",
"animation",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"1",
",",
"sizeof",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"a",
"i",
"animation",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}"
] |
[
"return",
"malloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"a",
"i",
"animation",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"thread",
"-",
"local",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] |
[
"return",
"calloc",
"stack",
"(",
"capacity",
",",
"stack",
"get",
"(",
")",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"a",
"i",
"animation",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}"
] |
[
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"nmalloc",
"(",
"alignof",
",",
"capacity",
"*",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"returns",
"a",
"new",
"{",
"@",
"link",
"a",
"i",
"animation",
"buffer",
"}",
"instance",
"allocated",
"on",
"the",
"specified",
"{",
"@",
"link",
"memory",
"stack",
"}",
"and",
"initializes",
"all",
"its",
"bits",
"to",
"zero"
] |
[
"return",
"wrap",
"(",
"buffer",
"class",
",",
"stack",
"ncalloc",
"(",
"alignof",
",",
"capacity",
",",
"sizeof",
")",
",",
"capacity",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"a",
"i",
"string",
"create",
"(",
"struct",
"+",
"a",
"i",
"animation",
"mname",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"unsafe",
"get",
"double",
"(",
"null",
",",
"struct",
"+",
"a",
"i",
"animation",
"mduration",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"unsafe",
"get",
"double",
"(",
"null",
",",
"struct",
"+",
"a",
"i",
"animation",
"mtickspersecond",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"a",
"i",
"animation",
"mnumchannels",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"mem",
"pointer",
"buffer",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"a",
"i",
"animation",
"mchannels",
")",
",",
"nm",
"num",
"channels",
"(",
"struct",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"unsafe",
"get",
"int",
"(",
"null",
",",
"struct",
"+",
"a",
"i",
"animation",
"mnummeshchannels",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"return",
"mem",
"pointer",
"buffer",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"a",
"i",
"animation",
"mmeshchannels",
")",
",",
"nm",
"num",
"mesh",
"channels",
"(",
"struct",
")",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"mem",
"copy",
"(",
"value",
"address",
"(",
")",
",",
"struct",
"+",
"a",
"i",
"animation",
"mname",
",",
"a",
"i",
"string",
"sizeof",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"unsafe",
"put",
"double",
"(",
"null",
",",
"struct",
"+",
"a",
"i",
"animation",
"mduration",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"unsafe",
"put",
"double",
"(",
"null",
",",
"struct",
"+",
"a",
"i",
"animation",
"mtickspersecond",
",",
"value",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] |
[
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"a",
"i",
"animation",
"mnumchannels",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"mem",
"put",
"address",
"(",
"struct",
"+",
"a",
"i",
"animation",
"mchannels",
",",
"mem",
"address",
"(",
"value",
")",
")",
";",
"nm",
"num",
"channels",
"(",
"struct",
",",
"value",
"remaining",
"(",
")",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] |
[
"unsafe",
"put",
"int",
"(",
"null",
",",
"struct",
"+",
"a",
"i",
"animation",
"mnummeshchannels",
",",
"value",
")",
";"
] |
[
"unsafe",
"version",
"of",
"{"
] |
[
"mem",
"put",
"address",
"(",
"struct",
"+",
"a",
"i",
"animation",
"mmeshchannels",
",",
"mem",
"address",
"(",
"value",
")",
")",
";",
"nm",
"num",
"mesh",
"channels",
"(",
"struct",
",",
"value",
"remaining",
"(",
")",
")",
";"
] |
[
"validates",
"pointer",
"members",
"that",
"should",
"not",
"be",
"{",
"@",
"code",
"null",
"}"
] |
[
"check",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"a",
"i",
"animation",
"mchannels",
")",
")",
";",
"check",
"(",
"mem",
"get",
"address",
"(",
"struct",
"+",
"a",
"i",
"animation",
"mmeshchannels",
")",
")",
";"
] |
[
"passes",
"the",
"{"
] |
[
"consumer",
"accept",
"(",
"m",
"name",
"(",
")",
")",
";",
"return",
"this",
";"
] |
[
"returns",
"the",
"value",
"of",
"the",
"{"
] |
[
"return",
"a",
"i",
"animation",
"nm",
"duration",
"(",
"address",
"(",
")",
")",
";"
] |
[
"returns",
"the",
"value",
"of",
"the",
"{"
] |
[
"return",
"a",
"i",
"animation",
"nm",
"ticks",
"per",
"second",
"(",
"address",
"(",
")",
")",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] |
[
"a",
"i",
"animation",
"nm",
"duration",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"sets",
"the",
"specified",
"value",
"to",
"the",
"{"
] |
[
"a",
"i",
"animation",
"nm",
"ticks",
"per",
"second",
"(",
"address",
"(",
")",
",",
"value",
")",
";",
"return",
"this",
";"
] |
[
"{"
] |
[
"return",
"commit",
";"
] |
[
"{"
] |
[
"return",
"tx",
";"
] |
[
"{"
] |
[
"super",
"on",
"done",
"(",
"tx",
",",
"e",
")",
";"
] |
[
"{"
] |
[
"return",
"on",
"response",
"(",
"node",
"id",
")",
";"
] |
[
"{"
] |
[
"return",
"s",
"to",
"string",
"(",
"check",
"remote",
"tx",
"mini",
"future",
"class",
",",
"this",
")",
";"
] |
[
"returns",
"ids",
"for",
"dependent",
"nodes",
"of",
"a",
"given",
"node",
"sorted",
"by",
"attribute",
"note",
"that",
"some",
"dependencies",
"do",
"not",
"have",
"a",
"corresponding",
"attribute",
"here",
"and",
"we",
"use",
"the",
"null",
"attribute",
"to",
"represent",
"those",
"edges"
] |
[
"nested",
"set",
"builder",
"<",
"cause",
">",
"root",
"causes",
"=",
"nested",
"set",
"builder",
"stable",
"order",
"(",
")",
";",
"ordered",
"set",
"multimap",
"<",
"attribute",
",",
"dependency",
">",
"outgoing",
"edges",
"=",
"dependent",
"node",
"map",
"(",
"node",
",",
"host",
"config",
",",
"aspect",
"!",
"=",
"null",
"?",
"immutable",
"list",
"of",
"(",
"aspect",
")",
":",
"immutable",
"list",
"<",
"aspect",
">",
"of",
"(",
")",
",",
"config",
"conditions",
",",
"toolchain",
"labels",
",",
"root",
"causes",
",",
"default",
"build",
"options",
",",
"trimming",
"transition",
"factory",
")",
";",
"if",
"(",
"!",
"root",
"causes",
"is",
"empty",
"(",
")",
")",
"{",
"throw",
"new",
"illegal",
"state",
"exception",
"(",
"root",
"causes",
"build",
"(",
")",
"iterator",
"(",
")",
"next",
"(",
")",
"to",
"string",
"(",
")",
")",
";",
"}",
"return",
"outgoing",
"edges",
";"
] |
[
"returns",
"ids",
"for",
"dependent",
"nodes",
"of",
"a",
"given",
"node",
"sorted",
"by",
"attribute",
"note",
"that",
"some",
"dependencies",
"do",
"not",
"have",
"a",
"corresponding",
"attribute",
"here",
"and",
"we",
"use",
"the",
"null",
"attribute",
"to",
"represent",
"those",
"edges"
] |
[
"target",
"target",
"=",
"node",
"get",
"target",
"(",
")",
";",
"build",
"configuration",
"config",
"=",
"node",
"get",
"configuration",
"(",
")",
";",
"ordered",
"set",
"multimap",
"<",
"attribute",
",",
"dependency",
">",
"outgoing",
"edges",
"=",
"ordered",
"set",
"multimap",
"create",
"(",
")",
";",
"if",
"(",
"target",
"instanceof",
"output",
"file",
")",
"{",
"preconditions",
"check",
"not",
"null",
"(",
"config",
")",
";",
"visit",
"target",
"visibility",
"(",
"node",
",",
"root",
"causes",
",",
"outgoing",
"edges",
"get",
"(",
"null",
")",
")",
";",
"rule",
"rule",
"=",
"(",
"(",
"output",
"file",
")",
"target",
")",
"get",
"generating",
"rule",
"(",
")",
";",
"outgoing",
"edges",
"put",
"(",
"null",
",",
"dependency",
"with",
"configuration",
"(",
"rule",
"get",
"label",
"(",
")",
",",
"config",
")",
")",
";",
"}",
"else",
"if",
"(",
"target",
"instanceof",
"input",
"file",
")",
"{",
"visit",
"target",
"visibility",
"(",
"node",
",",
"root",
"causes",
",",
"outgoing",
"edges",
"get",
"(",
"null",
")",
")",
";",
"}",
"else",
"if",
"(",
"target",
"instanceof",
"environment",
"group",
")",
"{",
"visit",
"target",
"visibility",
"(",
"node",
",",
"root",
"causes",
",",
"outgoing",
"edges",
"get",
"(",
"null",
")",
")",
";",
"}",
"else",
"if",
"(",
"target",
"instanceof",
"rule",
")",
"{",
"visit",
"rule",
"(",
"node",
",",
"host",
"config",
",",
"aspects",
",",
"config",
"conditions",
",",
"toolchain",
"labels",
",",
"root",
"causes",
",",
"outgoing",
"edges",
",",
"default",
"build",
"options",
",",
"trimming",
"transition",
"factory",
")",
";",
"}",
"else",
"if",
"(",
"target",
"instanceof",
"package",
"group",
")",
"{",
"visit",
"package",
"group",
"(",
"node",
",",
"(",
"package",
"group",
")",
"target",
",",
"root",
"causes",
",",
"outgoing",
"edges",
"get",
"(",
"null",
")",
")",
";",
"}",
"else",
"{",
"throw",
"new",
"illegal",
"state",
"exception",
"(",
"target",
"get",
"label",
"(",
")",
"to",
"string",
"(",
")",
")",
";",
"}",
"return",
"outgoing",
"edges",
";"
] |
[
"adds",
"new",
"dependencies",
"to",
"the",
"given",
"rule",
"under",
"the",
"given",
"attribute",
"name"
] |
[
"rule",
"rule",
"=",
"dep",
"resolver",
"rule",
";",
"if",
"(",
"!",
"rule",
"is",
"attr",
"defined",
"(",
"attr",
"name",
",",
"build",
"type",
"label",
"list",
")",
"&",
"&",
"!",
"rule",
"is",
"attr",
"defined",
"(",
"attr",
"name",
",",
"build",
"type",
"nodep",
"label",
"list",
")",
")",
"{",
"return",
";",
"}",
"attribute",
"attribute",
"=",
"rule",
"get",
"rule",
"class",
"object",
"(",
")",
"get",
"attribute",
"by",
"name",
"(",
"attr",
"name",
")",
";",
"map",
"<",
"label",
",",
"target",
">",
"result",
"=",
"get",
"targets",
"(",
"labels",
",",
"rule",
",",
"dep",
"resolver",
"root",
"causes",
",",
"labels",
"size",
"(",
")",
")",
";",
"if",
"(",
"result",
"=",
"=",
"null",
")",
"{",
"return",
";",
"}",
"attribute",
"and",
"owner",
"attribute",
"and",
"owner",
"=",
"new",
"attribute",
"and",
"owner",
"(",
"attribute",
")",
";",
"for",
"(",
"target",
"target",
":",
"result",
"values",
"(",
")",
")",
"{",
"dep",
"resolver",
"register",
"edge",
"(",
"attribute",
"and",
"owner",
",",
"target",
")",
";",
"}"
] |
[
"collect",
"all",
"aspects",
"that",
"originate",
"on",
"{",
"@",
"code",
"attribute",
"}",
"of",
"{",
"@",
"code",
"original",
"rule",
"}",
"and",
"are",
"applicable",
"to",
"a",
"{",
"@",
"code",
"target",
"}"
] |
[
"immutable",
"list",
"<",
"aspect",
">",
"base",
"aspects",
"=",
"attribute",
"get",
"aspects",
"(",
"original",
"rule",
")",
";",
"rule",
"class",
"rule",
"class",
"=",
"target",
"get",
"rule",
"class",
"object",
"(",
")",
";",
"for",
"(",
"aspect",
"base",
"aspect",
":",
"base",
"aspects",
")",
"{",
"if",
"(",
"base",
"aspect",
"get",
"definition",
"(",
")",
"get",
"required",
"providers",
"(",
")",
"is",
"satisfied",
"by",
"(",
"rule",
"class",
"get",
"advertised",
"providers",
"(",
")",
")",
")",
"{",
"filtered",
"aspect",
"path",
"add",
"(",
"base",
"aspect",
")",
";",
"visible",
"aspects",
"add",
"(",
"base",
"aspect",
"get",
"descriptor",
"(",
")",
")",
";",
"}",
"}"
] |
[
"returns",
"the",
"attributes",
"that",
"should",
"be",
"visited",
"for",
"this",
"rule",
"/",
"aspect",
"combination"
] |
[
"immutable",
"list",
"builder",
"<",
"attribute",
"and",
"owner",
">",
"result",
"=",
"immutable",
"list",
"builder",
"(",
")",
";",
"list",
"<",
"attribute",
">",
"rule",
"defs",
"=",
"rule",
"get",
"rule",
"class",
"object",
"(",
")",
"get",
"attributes",
"(",
")",
";",
"for",
"(",
"attribute",
"attribute",
":",
"rule",
"defs",
")",
"{",
"result",
"add",
"(",
"new",
"attribute",
"and",
"owner",
"(",
"attribute",
")",
")",
";",
"}",
"for",
"(",
"aspect",
"aspect",
":",
"aspects",
")",
"{",
"for",
"(",
"attribute",
"attribute",
":",
"aspect",
"get",
"definition",
"(",
")",
"get",
"attributes",
"(",
")",
"values",
"(",
")",
")",
"{",
"result",
"add",
"(",
"new",
"attribute",
"and",
"owner",
"(",
"attribute",
",",
"aspect",
"get",
"aspect",
"class",
"(",
")",
")",
")",
";",
"}",
"}",
"return",
"result",
"build",
"(",
")",
";"
] |
[
"resolves",
"the",
"given",
"dep",
"for",
"the",
"given",
"attribute",
"determining",
"which",
"configurations",
"to",
"apply",
"to",
"it"
] |
[
"configuration",
"transition",
"transition",
"=",
"transition",
"resolver",
"evaluate",
"transition",
"(",
"rule",
"config",
",",
"rule",
",",
"attribute",
"and",
"owner",
"attribute",
",",
"to",
"target",
",",
"attribute",
"map",
",",
"trimming",
"transition",
"factory",
")",
";",
"outgoing",
"edges",
"put",
"(",
"attribute",
"and",
"owner",
"attribute",
",",
"transition",
"=",
"=",
"null",
"transition",
"instance",
"?",
"dependency",
"with",
"null",
"configuration",
"(",
"to",
"target",
"get",
"label",
"(",
")",
")",
":",
"dependency",
"with",
"transition",
"and",
"aspects",
"(",
"to",
"target",
"get",
"label",
"(",
")",
",",
"transition",
",",
"required",
"aspects",
"(",
"attribute",
"and",
"owner",
",",
"to",
"target",
")",
")",
")",
";"
] |
[
"resolves",
"the",
"given",
"dep",
"for",
"the",
"given",
"attribute",
"using",
"a",
"pre",
"-",
"prepared",
"configuration"
] |
[
"outgoing",
"edges",
"put",
"(",
"attribute",
"and",
"owner",
"attribute",
",",
"transition",
"resolver",
"uses",
"null",
"configuration",
"(",
"to",
"target",
")",
"?",
"dependency",
"with",
"null",
"configuration",
"(",
"to",
"target",
"get",
"label",
"(",
")",
")",
":",
"dependency",
"with",
"transition",
"and",
"aspects",
"(",
"to",
"target",
"get",
"label",
"(",
")",
",",
"new",
"fixed",
"transition",
"(",
"config",
"get",
"options",
"(",
")",
")",
",",
"required",
"aspects",
"(",
"attribute",
"and",
"owner",
",",
"to",
"target",
")",
")",
")",
";"
] |
[
"hook",
"for",
"the",
"error",
"case",
"when",
"an",
"invalid",
"visibility",
"reference",
"is",
"found"
] |
[
"protected",
"abstract",
"void",
"invalid",
"visibility",
"reference",
"hook",
"(",
"target",
"and",
"configuration",
"node",
",",
"label",
"label",
")",
";"
] |
[
"hook",
"for",
"the",
"error",
"case",
"when",
"an",
"invalid",
"package",
"group",
"reference",
"is",
"found"
] |
[
"protected",
"abstract",
"void",
"invalid",
"package",
"group",
"reference",
"hook",
"(",
"target",
"and",
"configuration",
"node",
",",
"label",
"label",
")",
";"
] |
[
"hook",
"for",
"the",
"error",
"case",
"where",
"a",
"dependency",
"is",
"missing"
] |
[
"protected",
"abstract",
"void",
"missing",
"edge",
"hook",
"(",
"target",
"from",
",",
"label",
"to",
",",
"no",
"such",
"thing",
"exception",
"e",
")",
"throws",
"interrupted",
"exception",
";"
] |
[
"returns",
"the",
"targets",
"for",
"the",
"given",
"labels"
] |
[
"protected",
"abstract",
"map",
"<",
"label",
",",
"target",
">",
"get",
"targets",
"(",
"iterable",
"<",
"label",
">",
"labels",
",",
"target",
"from",
"target",
",",
"nested",
"set",
"builder",
"<",
"cause",
">",
"root",
"causes",
",",
"int",
"labels",
"size",
"hint",
")",
"throws",
"interrupted",
"exception",
";"
] |
[
"returns",
"the",
"build",
"configurations",
"with",
"the",
"given",
"fragments",
"and",
"{",
"@",
"link",
"build",
"options",
"options",
"diff",
"for",
"reconstruction",
"}",
"resulting",
"from",
"calling",
"{",
"@",
"link",
"build",
"options",
"#",
"diff",
"for",
"reconstruction",
"}",
"between",
"the",
"{",
"@",
"code",
"default",
"build",
"options",
"}",
"and",
"the",
"provided",
"{",
"@",
"code",
"build",
"options",
"}",
"results",
"will",
"be",
"returned",
"in",
"the",
"order",
"the",
"{",
"@",
"code",
"build",
"options",
"}",
"are",
"provided"
] |
[
"@",
"nullable",
"protected",
"abstract",
"list",
"<",
"build",
"configuration",
">",
"get",
"configurations",
"(",
"fragment",
"class",
"set",
"fragments",
",",
"iterable",
"<",
"build",
"options",
">",
"build",
"options",
",",
"build",
"options",
"default",
"build",
"options",
")",
"throws",
"invalid",
"configuration",
"exception",
",",
"interrupted",
"exception",
";"
] |
[
"when",
"index",
"schema",
"is",
"informed",
"add",
"dynamic",
"fields",
"*",
"currency",
"and",
"*",
"amount",
"raw"
] |
[
"create",
"dynamic",
"currency",
"field",
"(",
"field",
"suffix",
"currency",
",",
"field",
"type",
"currency",
")",
";",
"create",
"dynamic",
"currency",
"field",
"(",
"field",
"suffix",
"amount",
"raw",
",",
"field",
"type",
"amount",
"raw",
")",
";",
"super",
"inform",
"(",
"schema",
")",
";"
] |
[
"call",
"the",
"allocate",
"method",
"on",
"the",
"load",
"save",
"tester",
"meta",
"class"
] |
[
"if",
"(",
"some",
"meta",
"instanceof",
"l",
"d",
"i",
"f",
"input",
"meta",
")",
"{",
"(",
"(",
"l",
"d",
"i",
"f",
"input",
"meta",
")",
"some",
"meta",
")",
"allocate",
"(",
"5",
",",
"5",
")",
";",
"}"
] |
[
"<",
"p",
">",
"the",
"id",
"of",
"the",
"target",
"<",
"/",
"p",
">"
] |
[
"set",
"target",
"id",
"(",
"target",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"error",
"code",
"that",
"indicates",
"why",
"the",
"target",
"addition",
"failed",
"if",
"the",
"value",
"is",
"<",
"code",
">",
"concurrent",
"modification",
"exception",
"<",
"/",
"code",
">",
"too",
"many",
"requests",
"were",
"made",
"at",
"the",
"same",
"time",
"<",
"/",
"p",
">"
] |
[
"set",
"error",
"code",
"(",
"error",
"code",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"error",
"message",
"that",
"explains",
"why",
"the",
"target",
"addition",
"failed",
"<",
"/",
"p",
">"
] |
[
"set",
"error",
"message",
"(",
"error",
"message",
")",
";",
"return",
"this",
";"
] |
[
"/",
"*",
"merge",
"two",
"dbus",
"key",
"composite",
"filters"
] |
[
"set",
"<",
"entry",
"<",
"long",
",",
"dbus",
"key",
"filter",
">",
">",
"entries",
"=",
"filter",
"get",
"filter",
"map",
"(",
")",
"entry",
"set",
"(",
")",
";",
"for",
"(",
"entry",
"<",
"long",
",",
"dbus",
"key",
"filter",
">",
"e",
":",
"entries",
")",
"{",
"dbus",
"key",
"filter",
"f",
"1",
"=",
"e",
"get",
"value",
"(",
")",
";",
"dbus",
"key",
"filter",
"f",
"2",
"=",
"filter",
"map",
"get",
"(",
"e",
"get",
"key",
"(",
")",
")",
";",
"if",
"(",
"null",
"=",
"=",
"f",
"2",
")",
"{",
"filter",
"map",
"put",
"(",
"e",
"get",
"key",
"(",
")",
",",
"f",
"1",
")",
";",
"}",
"else",
"{",
"f",
"2",
"merge",
"(",
"f",
"1",
")",
";",
"filter",
"map",
"put",
"(",
"e",
"get",
"key",
"(",
")",
",",
"f",
"2",
")",
";",
"}",
"}"
] |
[
"/",
"*",
"dedupe",
"filters"
] |
[
"set",
"<",
"entry",
"<",
"long",
",",
"dbus",
"key",
"filter",
">",
">",
"entries",
"=",
"filter",
"map",
"entry",
"set",
"(",
")",
";",
"for",
"(",
"entry",
"<",
"long",
",",
"dbus",
"key",
"filter",
">",
"e",
":",
"entries",
")",
"{",
"dbus",
"key",
"filter",
"f",
"=",
"e",
"get",
"value",
"(",
")",
";",
"if",
"(",
"null",
"!",
"=",
"f",
")",
"{",
"f",
"dedupe",
"(",
")",
";",
"}",
"}"
] |
[
"create",
"a",
"new",
"detached",
"{",
"@",
"link",
"j",
"d",
"o",
"query",
"}",
"instance",
"with",
"the",
"given",
"projection"
] |
[
"return",
"new",
"j",
"d",
"o",
"query",
"<",
"void",
">",
"(",
")",
"select",
"(",
"expr",
")",
";"
] |
[
"create",
"a",
"new",
"detached",
"{",
"@",
"link",
"j",
"d",
"o",
"query",
"}",
"instance",
"with",
"the",
"given",
"projection"
] |
[
"return",
"new",
"j",
"d",
"o",
"query",
"<",
"void",
">",
"(",
")",
"select",
"(",
"exprs",
")",
";"
] |
[
"create",
"a",
"new",
"detached",
"{",
"@",
"link",
"j",
"d",
"o",
"query",
"}",
"instance",
"with",
"the",
"given",
"projection"
] |
[
"return",
"select",
"(",
"expr",
")",
"distinct",
"(",
")",
";"
] |
[
"create",
"a",
"new",
"detached",
"{",
"@",
"link",
"j",
"d",
"o",
"query",
"}",
"instance",
"with",
"the",
"given",
"projection"
] |
[
"return",
"select",
"(",
"exprs",
")",
"distinct",
"(",
")",
";"
] |
[
"create",
"a",
"new",
"detached",
"{",
"@",
"link",
"j",
"d",
"o",
"query",
"}",
"instance",
"with",
"the",
"given",
"projection",
"0"
] |
[
"return",
"select",
"(",
"expressions",
"zero",
")",
";"
] |
[
"create",
"a",
"new",
"detached",
"{",
"@",
"link",
"j",
"d",
"o",
"query",
"}",
"instance",
"with",
"the",
"projection",
"1"
] |
[
"return",
"select",
"(",
"expressions",
"one",
")",
";"
] |
[
"create",
"a",
"new",
"detached",
"{",
"@",
"link",
"j",
"d",
"o",
"query",
"}",
"instance",
"with",
"the",
"given",
"projection"
] |
[
"return",
"select",
"(",
"expr",
")",
"from",
"(",
"expr",
")",
";"
] |
[
"return",
"the",
"default",
"time",
"zone",
"that",
"this",
"resolver",
"is",
"supposed",
"to",
"fall",
"back",
"to",
"if",
"any"
] |
[
"return",
"this",
"default",
"time",
"zone",
";"
] |
[
"checks",
"if",
"migration",
"tasks",
"are",
"allowed",
"this",
"can",
"include",
"partition",
"state",
"and",
"partition",
"data",
"sync",
"tasks",
"the",
"migration",
"is",
"not",
"allowed",
"during",
"membership",
"changes",
"(",
"member",
"removed",
"or",
"joining",
")",
"or",
"for",
"a",
"shorter",
"period",
"when",
"a",
"migration",
"fails",
"before",
"restarting",
"the",
"migration",
"process"
] |
[
"return",
"migration",
"allowed",
"get",
"(",
")",
";"
] |
[
"acquires",
"promotion",
"commit",
"permit",
"which",
"is",
"needed",
"while",
"running",
"promotion",
"commit",
"to",
"prevent",
"concurrent",
"commits",
"<",
"p",
">",
"normally",
"promotions",
"are",
"submitted",
"&",
"amp",
";",
"executed",
"serially",
"but",
"when",
"the",
"commit",
"operation",
"timeouts",
"it",
"s",
"retried",
"which",
"can",
"cause",
"concurrent",
"execution",
"(",
"promotion",
"commit",
"operation",
"runs",
"on",
"generic",
"operation",
"threads",
")",
"<",
"p",
">",
"promotion",
"commit",
"operation",
"is",
"idempotent",
"when",
"executed",
"serially"
] |
[
"return",
"promotion",
"permit",
"compare",
"and",
"set",
"(",
"false",
",",
"true",
")",
";"
] |
[
"releases",
"promotion",
"commit",
"permit"
] |
[
"promotion",
"permit",
"set",
"(",
"false",
")",
";"
] |
[
"retains",
"only",
"the",
"{"
] |
[
"partition",
"service",
"lock",
"lock",
"(",
")",
";",
"try",
"{",
"completed",
"migrations",
"retain",
"all",
"(",
"migrations",
")",
";",
"}",
"finally",
"{",
"partition",
"service",
"lock",
"unlock",
"(",
")",
";",
"}"
] |
[
"returns",
"a",
"copy",
"of",
"the",
"list",
"of",
"completed",
"migrations",
"runs",
"under",
"the",
"partition",
"service",
"lock"
] |
[
"partition",
"service",
"lock",
"lock",
"(",
")",
";",
"try",
"{",
"return",
"new",
"array",
"list",
"<",
"migration",
"info",
">",
"(",
"completed",
"migrations",
")",
";",
"}",
"finally",
"{",
"partition",
"service",
"lock",
"unlock",
"(",
")",
";",
"}"
] |
[
"schedules",
"a",
"migration",
"by",
"adding",
"it",
"to",
"the",
"migration",
"queue"
] |
[
"migration",
"queue",
"add",
"(",
"new",
"migrate",
"task",
"(",
"migration",
"info",
")",
")",
";"
] |
[
"mutates",
"the",
"partition",
"state",
"and",
"applies",
"the",
"migration"
] |
[
"final",
"address",
"[",
"]",
"addresses",
"=",
"arrays",
"copy",
"of",
"(",
"partition",
"get",
"replica",
"addresses",
"(",
")",
",",
"internal",
"partition",
"max",
"replica",
"count",
")",
";",
"if",
"(",
"migration",
"info",
"get",
"source",
"current",
"replica",
"index",
"(",
")",
">",
"-",
"1",
")",
"{",
"addresses",
"[",
"migration",
"info",
"get",
"source",
"current",
"replica",
"index",
"(",
")",
"]",
"=",
"null",
";",
"}",
"if",
"(",
"migration",
"info",
"get",
"destination",
"current",
"replica",
"index",
"(",
")",
">",
"-",
"1",
")",
"{",
"addresses",
"[",
"migration",
"info",
"get",
"destination",
"current",
"replica",
"index",
"(",
")",
"]",
"=",
"null",
";",
"}",
"addresses",
"[",
"migration",
"info",
"get",
"destination",
"new",
"replica",
"index",
"(",
")",
"]",
"=",
"migration",
"info",
"get",
"destination",
"(",
")",
";",
"if",
"(",
"migration",
"info",
"get",
"source",
"new",
"replica",
"index",
"(",
")",
">",
"-",
"1",
")",
"{",
"addresses",
"[",
"migration",
"info",
"get",
"source",
"new",
"replica",
"index",
"(",
")",
"]",
"=",
"migration",
"info",
"get",
"source",
"(",
")",
";",
"}",
"partition",
"set",
"replica",
"addresses",
"(",
"addresses",
")",
";"
] |
[
"returns",
"{"
] |
[
"return",
"trigger",
"repartitioning",
"when",
"cluster",
"state",
"allows",
"migration",
";"
] |
[
"schedules",
"all",
"migrations"
] |
[
"boolean",
"migration",
"scheduled",
";",
"do",
"{",
"migration",
"scheduled",
"=",
"false",
";",
"for",
"(",
"queue",
"<",
"migration",
"info",
">",
"queue",
":",
"migrations",
")",
"{",
"migration",
"info",
"migration",
"=",
"queue",
"poll",
"(",
")",
";",
"if",
"(",
"migration",
"!",
"=",
"null",
")",
"{",
"migration",
"scheduled",
"=",
"true",
";",
"schedule",
"migration",
"(",
"migration",
")",
";",
"}",
"}",
"}",
"while",
"(",
"migration",
"scheduled",
")",
";"
] |
[
"returns",
"{"
] |
[
"boolean",
"migration",
"allowed",
"=",
"is",
"migration",
"allowed",
"(",
")",
";",
"boolean",
"has",
"migration",
"tasks",
"=",
"migration",
"queue",
"migration",
"task",
"count",
"(",
")",
">",
"1",
";",
"if",
"(",
"migration",
"allowed",
"&",
"&",
"!",
"has",
"migration",
"tasks",
")",
"{",
"return",
"true",
";",
"}",
"trigger",
"control",
"task",
"(",
")",
";",
"return",
"false",
";"
] |
[
"called",
"on",
"the",
"master",
"node",
"to",
"complete",
"the",
"migration",
"and",
"notify",
"the",
"migration",
"listeners",
"that",
"the",
"migration",
"completed",
"it",
"will",
":",
"<",
"ul",
">",
"<",
"li",
">",
"set",
"the",
"migration",
"status",
"<",
"/",
"li",
">",
"<",
"li",
">",
"update",
"the",
"completed",
"migration",
"list",
"<",
"/",
"li",
">",
"<",
"li",
">",
"schedule",
"the",
"migration",
"for",
"finalization",
"<",
"/",
"li",
">",
"<",
"li",
">",
"update",
"the",
"local",
"partition",
"state",
"version",
"<",
"/",
"li",
">",
"<",
"li",
">",
"sync",
"the",
"partition",
"state",
"with",
"cluster",
"members",
"<",
"/",
"li",
">",
"<",
"li",
">",
"triggers",
"the",
"{"
] |
[
"migration",
"info",
"set",
"status",
"(",
"migration",
"status",
"failed",
")",
";",
"internal",
"migration",
"listener",
"on",
"migration",
"complete",
"(",
"migration",
"participant",
"master",
",",
"migration",
"info",
",",
"false",
")",
";",
"partition",
"service",
"lock",
"lock",
"(",
")",
";",
"try",
"{",
"add",
"completed",
"migration",
"(",
"migration",
"info",
")",
";",
"internal",
"migration",
"listener",
"on",
"migration",
"rollback",
"(",
"migration",
"participant",
"master",
",",
"migration",
"info",
")",
";",
"schedule",
"active",
"migration",
"finalization",
"(",
"migration",
"info",
")",
";",
"int",
"delta",
"=",
"partition",
"state",
"version",
"increment",
"delta",
"on",
"migration",
"failure",
";",
"partition",
"service",
"get",
"partition",
"state",
"manager",
"(",
")",
"increment",
"version",
"(",
"delta",
")",
";",
"node",
"get",
"node",
"extension",
"(",
")",
"on",
"partition",
"state",
"change",
"(",
")",
";",
"trigger",
"repartitioning",
"after",
"migration",
"failure",
"(",
")",
";",
"}",
"finally",
"{",
"partition",
"service",
"lock",
"unlock",
"(",
")",
";",
"}",
"if",
"(",
"partition",
"service",
"sync",
"partition",
"runtime",
"state",
"(",
")",
")",
"{",
"evict",
"completed",
"migrations",
"(",
"migration",
"info",
")",
";",
"}",
"partition",
"service",
"get",
"partition",
"event",
"manager",
"(",
")",
"send",
"migration",
"event",
"(",
"migration",
"info",
",",
"migration",
"event",
"migration",
"status",
"failed",
")",
";"
] |
[
"removes",
"addresses",
"from",
"the",
"partition",
"table",
"which",
"are",
"not",
"registered",
"as",
"cluster",
"members",
"and",
"checks",
"if",
"any",
"partitions",
"need",
"promotion",
"(",
"partition",
"owners",
"are",
"missing",
")",
"invoked",
"on",
"the",
"master",
"node",
"acquires",
"partition",
"service",
"lock"
] |
[
"partition",
"service",
"lock",
"lock",
"(",
")",
";",
"try",
"{",
"partition",
"state",
"manager",
"remove",
"unknown",
"addresses",
"(",
")",
";",
"map",
"<",
"address",
",",
"collection",
"<",
"migration",
"info",
">",
">",
"promotions",
"=",
"new",
"hash",
"map",
"<",
"address",
",",
"collection",
"<",
"migration",
"info",
">",
">",
"(",
")",
";",
"for",
"(",
"int",
"partition",
"id",
"=",
"0",
";",
"partition",
"id",
"<",
"partition",
"service",
"get",
"partition",
"count",
"(",
")",
";",
"partition",
"id",
"+",
"+",
")",
"{",
"migration",
"info",
"migration",
"=",
"create",
"promotion",
"migration",
"if",
"owner",
"is",
"null",
"(",
"partition",
"id",
")",
";",
"if",
"(",
"migration",
"=",
"=",
"null",
")",
"{",
"continue",
";",
"}",
"collection",
"<",
"migration",
"info",
">",
"migrations",
"=",
"promotions",
"get",
"(",
"migration",
"get",
"destination",
"(",
")",
")",
";",
"if",
"(",
"migrations",
"=",
"=",
"null",
")",
"{",
"migrations",
"=",
"new",
"array",
"list",
"<",
"migration",
"info",
">",
"(",
")",
";",
"promotions",
"put",
"(",
"migration",
"get",
"destination",
"(",
")",
",",
"migrations",
")",
";",
"}",
"migrations",
"add",
"(",
"migration",
")",
";",
"}",
"return",
"promotions",
";",
"}",
"finally",
"{",
"partition",
"service",
"lock",
"unlock",
"(",
")",
";",
"}"
] |
[
"sends",
"promotions",
"to",
"the",
"destinations",
"and",
"commits",
"if",
"the",
"destinations",
"successfully",
"process",
"these",
"promotions",
"called",
"on",
"the",
"master",
"node"
] |
[
"boolean",
"all",
"succeeded",
"=",
"true",
";",
"for",
"(",
"map",
"entry",
"<",
"address",
",",
"collection",
"<",
"migration",
"info",
">",
">",
"entry",
":",
"promotions",
"entry",
"set",
"(",
")",
")",
"{",
"address",
"destination",
"=",
"entry",
"get",
"key",
"(",
")",
";",
"collection",
"<",
"migration",
"info",
">",
"migrations",
"=",
"entry",
"get",
"value",
"(",
")",
";",
"all",
"succeeded",
"&",
"=",
"commit",
"promotion",
"migrations",
"(",
"destination",
",",
"migrations",
")",
";",
"}",
"return",
"all",
"succeeded",
";"
] |
[
"sends",
"promotions",
"to",
"the",
"destination",
"and",
"commits",
"the",
"{",
"@",
"code",
"migrations",
"}",
"if",
"successful",
"called",
"on",
"the",
"master",
"node"
] |
[
"internal",
"migration",
"listener",
"on",
"promotion",
"start",
"(",
"migration",
"participant",
"master",
",",
"migrations",
")",
";",
"boolean",
"success",
"=",
"commit",
"promotions",
"to",
"destination",
"(",
"destination",
",",
"migrations",
")",
";",
"boolean",
"local",
"=",
"node",
"get",
"this",
"address",
"(",
")",
"equals",
"(",
"destination",
")",
";",
"if",
"(",
"!",
"local",
")",
"{",
"process",
"promotion",
"commit",
"result",
"(",
"destination",
",",
"migrations",
",",
"success",
")",
";",
"}",
"internal",
"migration",
"listener",
"on",
"promotion",
"complete",
"(",
"migration",
"participant",
"master",
",",
"migrations",
",",
"success",
")",
";",
"partition",
"service",
"sync",
"partition",
"runtime",
"state",
"(",
")",
";",
"return",
"success",
";"
] |
[
"returns",
"the",
"number",
"of",
"entries",
"before",
"the",
"backstack",
"including",
"the",
"title",
"of",
"the",
"current",
"fragment",
"and",
"any",
"custom",
"parent",
"title",
"that",
"was",
"set"
] |
[
"return",
"(",
"m",
"top",
"entry",
"!",
"=",
"null",
"?",
"1",
":",
"0",
")",
"+",
"(",
"m",
"parent",
"entry",
"!",
"=",
"null",
"?",
"1",
":",
"0",
")",
";"
] |
[
"sets",
"a",
"listener",
"for",
"clicks",
"on",
"the",
"bread",
"crumbs",
"this",
"will",
"be",
"called",
"before",
"the",
"default",
"click",
"action",
"is",
"performed"
] |
[
"m",
"on",
"bread",
"crumb",
"click",
"listener",
"=",
"listener",
";"
] |
[
"inserts",
"an",
"optional",
"parent",
"entry",
"at",
"the",
"first",
"position",
"in",
"the",
"breadcrumbs",
"selecting",
"this",
"entry",
"will",
"result",
"in",
"a",
"call",
"to",
"the",
"specified",
"listener",
"s",
"{",
"@",
"link",
"android",
"view",
"view",
"on",
"click",
"listener",
"#",
"on",
"click",
"(",
"view",
")",
"}",
"method"
] |
[
"m",
"parent",
"entry",
"=",
"create",
"back",
"stack",
"entry",
"(",
"title",
",",
"short",
"title",
")",
";",
"m",
"parent",
"click",
"listener",
"=",
"listener",
";",
"update",
"crumbs",
"(",
")",
";"
] |
[
"set",
"a",
"custom",
"title",
"for",
"the",
"bread",
"crumbs",
"this",
"will",
"be",
"the",
"first",
"entry",
"shown",
"at",
"the",
"left",
"representing",
"the",
"root",
"of",
"the",
"bread",
"crumbs",
"if",
"the",
"title",
"is",
"null",
"it",
"will",
"not",
"be",
"shown"
] |
[
"m",
"top",
"entry",
"=",
"create",
"back",
"stack",
"entry",
"(",
"title",
",",
"short",
"title",
")",
";",
"update",
"crumbs",
"(",
")",
";"
] |
[
"{"
] |
[
"return",
"map",
"get",
"or",
"default",
"(",
"key",
",",
"0",
")",
";"
] |
[
"removes",
"the",
"entries",
"with",
"key",
"that",
"meets",
"the",
"predicate"
] |
[
"map",
"entry",
"set",
"(",
")",
"remove",
"if",
"(",
"e",
"-",
">",
"predicate",
"test",
"(",
"e",
"get",
"key",
"(",
")",
")",
")",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.