docstring_tokens
list
code_tokens
list
[ "-", "-", "-", "-", "type", "parameters", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[ "if", "(", "f", "type", "variables", "=", "=", "null", ")", "return", "new", "i", "type", "binding", "[", "0", "]", ";", "return", "f", "type", "variables", "to", "array", "(", "new", "i", "type", "binding", "[", "f", "type", "variables", "size", "(", ")", "]", ")", ";" ]
[ "-", "-", "-", "-", "execution", "flow", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-", "-" ]
[ "int", "other", "=", "other", "info", "f", "return", "kind", ";", "if", "(", "branches", "(", ")", "&", "&", "other", "=", "=", "value", "return", ")", "other", "=", "partial", "return", ";", "f", "return", "kind", "=", "return", "kind", "sequential", "table", "[", "f", "return", "kind", "]", "[", "other", "]", ";", "merge", "branches", "(", "other", "info", ")", ";" ]
[ "returns", "an", "array", "of", "<", "code", ">", "i", "variable", "binding", "<", "/", "code", ">", "that", "conform", "to", "the", "given", "access", "mode", "<", "code", ">", "mode", "<", "/", "code", ">" ]
[ "list", "<", "i", "variable", "binding", ">", "result", "=", "new", "array", "list", "<", "i", "variable", "binding", ">", "(", ")", ";", "int", "[", "]", "locals", "=", "get", "access", "modes", "(", ")", ";", "if", "(", "locals", "=", "=", "null", ")", "return", "empty", "array", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "locals", "length", ";", "i", "+", "+", ")", "{", "int", "access", "mode", "=", "locals", "[", "i", "]", ";", "if", "(", "(", "access", "mode", "&", "mode", ")", "!", "=", "0", ")", "result", "add", "(", "context", "get", "local", "from", "index", "(", "i", ")", ")", ";", "}", "return", "result", "to", "array", "(", "new", "i", "variable", "binding", "[", "result", "size", "(", ")", "]", ")", ";" ]
[ "checks", "whether", "the", "given", "local", "variable", "binding", "has", "the", "given", "access", "mode" ]
[ "boolean", "unused", "mode", "=", "(", "mode", "&", "unused", ")", "!", "=", "0", ";", "if", "(", "f", "access", "modes", "=", "=", "null", "&", "&", "unused", "mode", ")", "return", "true", ";", "int", "index", "=", "context", "get", "index", "from", "local", "(", "local", ")", ";", "if", "(", "index", "=", "=", "-", "1", ")", "return", "unused", "mode", ";", "return", "(", "f", "access", "modes", "[", "index", "]", "&", "mode", ")", "!", "=", "0", ";" ]
[ "returns", "the", "access", "mode", "of", "the", "local", "variable", "identified", "by", "the", "given", "binding" ]
[ "if", "(", "f", "access", "modes", "=", "=", "null", ")", "return", "unused", ";", "int", "index", "=", "context", "get", "index", "from", "local", "(", "local", ")", ";", "if", "(", "index", "=", "=", "-", "1", ")", "return", "unused", ";", "return", "f", "access", "modes", "[", "index", "]", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "notification", "trigger", "<", "/", "p", ">" ]
[ "set", "trigger", "name", "(", "trigger", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "arn", "of", "the", "amazon", "simple", "notification", "service", "topic", "through", "which", "notifications", "about", "deployment", "or", "instance", "events", "are", "sent", "<", "/", "p", ">" ]
[ "this", "trigger", "target", "arn", "=", "trigger", "target", "arn", ";" ]
[ "<", "p", ">", "the", "arn", "of", "the", "amazon", "simple", "notification", "service", "topic", "through", "which", "notifications", "about", "deployment", "or", "instance", "events", "are", "sent", "<", "/", "p", ">" ]
[ "return", "this", "trigger", "target", "arn", ";" ]
[ "<", "p", ">", "the", "arn", "of", "the", "amazon", "simple", "notification", "service", "topic", "through", "which", "notifications", "about", "deployment", "or", "instance", "events", "are", "sent", "<", "/", "p", ">" ]
[ "set", "trigger", "target", "arn", "(", "trigger", "target", "arn", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "event", "type", "or", "types", "for", "which", "notifications", "are", "triggered", "<", "/", "p", ">" ]
[ "if", "(", "trigger", "events", "=", "=", "null", ")", "{", "trigger", "events", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", ")", ";", "}", "return", "trigger", "events", ";" ]
[ "<", "p", ">", "the", "event", "type", "or", "types", "for", "which", "notifications", "are", "triggered", "<", "/", "p", ">" ]
[ "if", "(", "trigger", "events", "=", "=", "null", ")", "{", "this", "trigger", "events", "=", "null", ";", "return", ";", "}", "this", "trigger", "events", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "trigger", "events", ")", ";" ]
[ "<", "p", ">", "the", "event", "type", "or", "types", "for", "which", "notifications", "are", "triggered", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "trigger", "events", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "trigger", "events", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "trigger", "events", "=", "=", "null", ")", "{", "set", "trigger", "events", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "trigger", "events", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "trigger", "events", ")", "{", "this", "trigger", "events", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "event", "type", "or", "types", "for", "which", "notifications", "are", "triggered", "<", "/", "p", ">" ]
[ "set", "trigger", "events", "(", "trigger", "events", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "event", "type", "or", "types", "for", "which", "notifications", "are", "triggered", "<", "/", "p", ">" ]
[ "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "trigger", "events", "copy", "=", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "trigger", "events", "length", ")", ";", "for", "(", "trigger", "event", "type", "value", ":", "trigger", "events", ")", "{", "trigger", "events", "copy", "add", "(", "value", "to", "string", "(", ")", ")", ";", "}", "if", "(", "get", "trigger", "events", "(", ")", "=", "=", "null", ")", "{", "set", "trigger", "events", "(", "trigger", "events", "copy", ")", ";", "}", "else", "{", "get", "trigger", "events", "(", ")", "add", "all", "(", "trigger", "events", "copy", ")", ";", "}", "return", "this", ";" ]
[ "sets", "the", "name", "of", "the", "amazon", "s3", "bucket", "containing", "the", "version", "to", "delete", "returns", "this", "{", "@", "link", "delete", "version", "request", "}", "enabling", "additional", "method", "calls", "to", "be", "chained", "together" ]
[ "set", "bucket", "name", "(", "bucket", "name", ")", ";", "return", "this", ";" ]
[ "sets", "the", "key", "of", "the", "version", "to", "delete", "returns", "this", "{", "@", "link", "delete", "version", "request", "}", "enabling", "additional", "method", "calls", "to", "be", "chained", "together" ]
[ "set", "key", "(", "key", ")", ";", "return", "this", ";" ]
[ "sets", "the", "version", "id", "uniquely", "identifying", "which", "version", "of", "the", "object", "to", "delete", "returns", "this", "{", "@", "link", "delete", "version", "request", "}", "enabling", "additional", "method", "calls", "to", "be", "chained", "together" ]
[ "set", "version", "id", "(", "version", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "sets", "the", "optional", "multi", "-", "factor", "authentication", "information", "to", "include", "with", "this", "request", "returns", "this", "{", "@", "link", "delete", "version", "request", "}", "enabling", "additional", "method", "calls", "to", "be", "chained", "together", "<", "/", "p", ">", "<", "p", ">", "multi", "-", "factor", "authentication", "is", "required", "when", "deleting", "an", "object", "version", "from", "a", "bucket", "which", "has", "m", "f", "a", "delete", "enabled", "in", "its", "bucket", "versioning", "configuration", "<", "/", "p", ">", "<", "p", ">", "see", "{", "@", "link", "bucket", "versioning", "configuration", "#", "set", "mfa", "delete", "enabled", "(", "boolean", ")", "}", "for", "more", "information", "on", "m", "f", "a", "delete", "<", "/", "p", ">" ]
[ "set", "mfa", "(", "mfa", ")", ";", "return", "this", ";" ]
[ "set", "typeface", "used", "for", "the", "accent", "texts", "(", "floating", "label", "error", "/", "helper", "text", "character", "counter", "etc", ")" ]
[ "this", "accent", "typeface", "=", "accent", "typeface", ";", "this", "text", "paint", "set", "typeface", "(", "accent", "typeface", ")", ";", "post", "invalidate", "(", ")", ";" ]
[ "set", "whether", "or", "not", "to", "hide", "the", "underline", "(", "shown", "by", "default", ")", "<", "p", "/", ">", "the", "positions", "of", "text", "below", "will", "be", "adjusted", "accordingly", "(", "error", "/", "helper", "text", "character", "counter", "ellipses", "etc", ")", "<", "p", "/", ">", "note", ":", "you", "probably", "don", "t", "want", "to", "hide", "this", "if", "you", "have", "any", "subtext", "features", "of", "this", "enabled", "as", "it", "can", "look", "weird", "to", "not", "have", "a", "dividing", "line", "between", "them" ]
[ "this", "hide", "underline", "=", "hide", "underline", ";", "init", "padding", "(", ")", ";", "post", "invalidate", "(", ")", ";" ]
[ "set", "the", "color", "of", "the", "underline", "for", "normal", "state" ]
[ "this", "underline", "color", "=", "color", ";", "post", "invalidate", "(", ")", ";" ]
[ "set", "the", "floating", "label", "text", "<", "p", "/", ">", "pass", "null", "to", "force", "fallback", "to", "use", "hint", "s", "value" ]
[ "this", "floating", "label", "text", "=", "floating", "label", "text", "=", "=", "null", "?", "get", "hint", "(", ")", ":", "floating", "label", "text", ";", "post", "invalidate", "(", ")", ";" ]
[ "calculate", "{" ]
[ "boolean", "extend", "bottom", "=", "min", "characters", ">", "0", "|", "|", "max", "characters", ">", "0", "|", "|", "single", "line", "ellipsis", "|", "|", "temp", "error", "text", "!", "=", "null", "|", "|", "helper", "text", "!", "=", "null", ";", "current", "bottom", "lines", "=", "min", "bottom", "lines", "=", "min", "bottom", "text", "lines", ">", "0", "?", "min", "bottom", "text", "lines", ":", "extend", "bottom", "?", "1", ":", "0", ";" ]
[ "use", "{" ]
[ "super", "set", "padding", "(", "left", ",", "top", ",", "right", ",", "bottom", ")", ";" ]
[ "use", "this", "method", "instead", "of", "{" ]
[ "inner", "padding", "top", "=", "top", ";", "inner", "padding", "bottom", "=", "bottom", ";", "inner", "padding", "left", "=", "left", ";", "inner", "padding", "right", "=", "right", ";", "correct", "paddings", "(", ")", ";" ]
[ "set", "paddings", "to", "the", "correct", "values" ]
[ "int", "buttons", "width", "left", "=", "0", ",", "buttons", "width", "right", "=", "0", ";", "int", "buttons", "width", "=", "icon", "outer", "width", "*", "get", "buttons", "count", "(", ")", ";", "if", "(", "is", "r", "t", "l", "(", ")", ")", "{", "buttons", "width", "left", "=", "buttons", "width", ";", "}", "else", "{", "buttons", "width", "right", "=", "buttons", "width", ";", "}", "super", "set", "padding", "(", "inner", "padding", "left", "+", "extra", "padding", "left", "+", "buttons", "width", "left", ",", "inner", "padding", "top", "+", "extra", "padding", "top", ",", "inner", "padding", "right", "+", "extra", "padding", "right", "+", "buttons", "width", "right", ",", "inner", "padding", "bottom", "+", "extra", "padding", "bottom", ")", ";" ]
[ "get", "inner", "top", "padding", "not", "the", "real", "padding", "top" ]
[ "return", "inner", "padding", "top", ";" ]
[ "get", "inner", "bottom", "padding", "not", "the", "real", "padding", "bottom" ]
[ "return", "inner", "padding", "bottom", ";" ]
[ "get", "inner", "left", "padding", "not", "the", "real", "padding", "left" ]
[ "return", "inner", "padding", "left", ";" ]
[ "get", "inner", "right", "padding", "not", "the", "real", "padding", "right" ]
[ "return", "inner", "padding", "right", ";" ]
[ "same", "function", "as", "{" ]
[ "text", "color", "state", "list", "=", "color", "state", "list", "value", "of", "(", "color", ")", ";", "reset", "text", "color", "(", ")", ";" ]
[ "same", "function", "as", "{" ]
[ "text", "color", "state", "list", "=", "colors", ";", "reset", "text", "color", "(", ")", ";" ]
[ "same", "function", "as", "{" ]
[ "text", "color", "hint", "state", "list", "=", "color", "state", "list", "value", "of", "(", "color", ")", ";", "reset", "hint", "text", "color", "(", ")", ";" ]
[ "same", "function", "as", "{" ]
[ "text", "color", "hint", "state", "list", "=", "colors", ";", "reset", "hint", "text", "color", "(", ")", ";" ]
[ "only", "used", "to", "draw", "the", "bottom", "line" ]
[ "return", "temp", "error", "text", "=", "=", "null", "&", "&", "is", "characters", "count", "valid", "(", ")", ";" ]
[ "if", "the", "main", "text", "matches", "the", "regex" ]
[ "if", "(", "regex", "=", "=", "null", ")", "{", "return", "false", ";", "}", "pattern", "pattern", "=", "pattern", "compile", "(", "regex", ")", ";", "matcher", "matcher", "=", "pattern", "matcher", "(", "get", "text", "(", ")", ")", ";", "return", "matcher", "matches", "(", ")", ";" ]
[ "check", "if", "the", "main", "text", "matches", "the", "regex", "and", "set", "the", "error", "text", "if", "not" ]
[ "boolean", "is", "valid", "=", "is", "valid", "(", "regex", ")", ";", "if", "(", "!", "is", "valid", ")", "{", "set", "error", "(", "error", "text", ")", ";", "}", "post", "invalidate", "(", ")", ";", "return", "is", "valid", ";" ]
[ "run", "validation", "on", "a", "single", "validator", "instance" ]
[ "char", "sequence", "text", "=", "get", "text", "(", ")", ";", "boolean", "is", "valid", "=", "validator", "is", "valid", "(", "text", ",", "text", "length", "(", ")", "=", "=", "0", ")", ";", "if", "(", "!", "is", "valid", ")", "{", "set", "error", "(", "validator", "get", "error", "message", "(", ")", ")", ";", "}", "post", "invalidate", "(", ")", ";", "return", "is", "valid", ";" ]
[ "adds", "a", "new", "validator", "to", "the", "view", "s", "list", "of", "validators", "<", "p", "/", ">", "this", "will", "be", "checked", "with", "the", "others", "in", "{", "@", "link", "#", "validate", "(", ")", "}" ]
[ "if", "(", "validators", "=", "=", "null", ")", "{", "this", "validators", "=", "new", "array", "list", "<", ">", "(", ")", ";", "}", "this", "validators", "add", "(", "validator", ")", ";", "return", "this", ";" ]
[ "gets", "the", "port", "from", "the", "cas", "service", "u", "r", "l", "ensuring", "to", "return", "the", "proper", "value", "if", "the", "default", "port", "is", "being", "used" ]
[ "int", "port", "=", "cas", "service", "url", "get", "port", "(", ")", ";", "if", "(", "port", "=", "=", "-", "1", ")", "{", "port", "=", "cas", "service", "url", "get", "default", "port", "(", ")", ";", "}", "return", "port", ";" ]
[ "{" ]
[ "return", "long", "value", "of", "(", "(", "integer", ")", "an", "object", ")", ";" ]
[ "create", "parameters", "object", "for", "calling", "terrain", "generator", "note", ":", "bitmap", "can", "be", "recycled", "after", "calling", "terrain", "generator" ]
[ "return", "new", "parameters", "(", "h", "map", "bitmap", ")", ";" ]
[ "set", "the", "scale", "of", "terrain", "note", ":", "sy", "is", "multiplied", "by", "the", "height", "map", "(", "0", ":", "1", ")" ]
[ "scale", "set", "all", "(", "sx", ",", "sy", ",", "sz", ")", ";" ]
[ "set", "the", "minimum", "range", "of", "temperature" ]
[ "this", "min", "temp", "=", "value", ";" ]
[ "set", "the", "maximum", "range", "of", "temperature" ]
[ "this", "max", "temp", "=", "value", ";" ]
[ "set", "the", "color", "map", "bitmap", "used", "for", "interpolate", "height", "color", "for", "example", "for", "draw", "static", "shadow", "or", "stains", "on", "the", "ground", "(", "use", "alpha", ")", "note", ":", "bitmap", "can", "be", "recycled", "after", "calling", "terrain", "generator" ]
[ "this", "color", "map", "bitmap", "=", "value", ";" ]
[ "the", "texture", "concentraction" ]
[ "this", "texture", "mult", "=", "value", ";" ]
[ "the", "base", "color", "for", "height", "color", "computing", "(", "see", "set", "upcolor", "or", "set", "middle", "color", ")" ]
[ "this", "basecolor", "=", "value", ";" ]
[ "the", "middle", "color", "for", "height", "color", "computing", "(", "see", "set", "basecolor", "or", "set", "up", "color", ")" ]
[ "this", "middlecolor", "=", "value", ";" ]
[ "the", "up", "color", "for", "height", "color", "computing", "(", "see", "set", "basecolor", "or", "set", "middle", "color", ")" ]
[ "this", "upcolor", "=", "value", ";" ]
[ "terrain", "matrix", "dimension", "(", "square", ")" ]
[ "return", "m", "divisions", ";" ]
[ "returns", "the", "maximum", "extension", "in", "x" ]
[ "return", "m", "divisions", "*", "m", "x", "scale", ";" ]
[ "returns", "the", "maximum", "extension", "in", "z" ]
[ "return", "m", "divisions", "*", "m", "z", "scale", ";" ]
[ "the", "minimum", "altitude" ]
[ "return", "m", "min", "h", ";" ]
[ "the", "maximum", "altitude" ]
[ "return", "m", "max", "h", ";" ]
[ "retrive", "the", "terrain", "heights", "matrix" ]
[ "return", "m", "terrain", ";" ]
[ "the", "minimum", "temperature" ]
[ "return", "m", "min", "t", ";" ]
[ "the", "maximum", "temperature" ]
[ "return", "m", "max", "t", ";" ]
[ "terrain", "contains", "point" ]
[ "double", "xx", "=", "(", "(", "x", "-", "m", "position", "x", ")", "*", "m", "one", "over", "x", "scale", "+", "m", "divisions", "*", "0", "5", ")", ";", "double", "zz", "=", "(", "(", "z", "-", "m", "position", "z", ")", "*", "m", "one", "over", "z", "scale", "+", "m", "divisions", "*", "0", "5", ")", ";", "if", "(", "xx", ">", "=", "0", "&", "&", "zz", ">", "=", "0", ")", "{", "if", "(", "xx", "<", "m", "divisions", "&", "&", "zz", "<", "m", "divisions", ")", "{", "return", "true", ";", "}", "}", "return", "false", ";" ]
[ "the", "altitude" ]
[ "return", "get", "interpolate", "value", "(", "m", "terrain", ",", "x", ",", "z", ")", "+", "m", "position", "y", ";" ]
[ "the", "temperature", "at", "point" ]
[ "return", "get", "interpolate", "value", "(", "m", "temperature", ",", "x", ",", "z", ")", ";" ]
[ "get", "a", "thread", "-", "local", "typed", "bytes", "writable", "input", "for", "the", "supplied", "{", "@", "link", "typed", "bytes", "output", "}" ]
[ "typed", "bytes", "writable", "output", "bout", "=", "(", "typed", "bytes", "writable", "output", ")", "tb", "out", "get", "(", ")", ";", "bout", "set", "typed", "bytes", "output", "(", "out", ")", ";", "return", "bout", ";" ]
[ "used", "to", "report", "monitor", "status", "changes" ]
[ "set", "monitor", "availability", "(", "monitoring", "type", ",", "monitoring", "status", ")", ";", "acquire", "wake", "lock", "(", ")", ";", "geofence", "hardware", "monitor", "event", "event", "=", "new", "geofence", "hardware", "monitor", "event", "(", "monitoring", "type", ",", "monitoring", "status", ",", "source", ",", "location", ")", ";", "message", "message", "=", "m", "callbacks", "handler", "obtain", "message", "(", "geofence", "status", ",", "event", ")", ";", "message", "send", "to", "target", "(", ")", ";" ]
[ "internal", "generic", "status", "report", "function", "for", "geofence", "operations" ]
[ "acquire", "wake", "lock", "(", ")", ";", "message", "message", "=", "m", "geofence", "handler", "obtain", "message", "(", "operation", ")", ";", "message", "arg", "1", "=", "geofence", "id", ";", "message", "arg", "2", "=", "operation", "status", ";", "message", "send", "to", "target", "(", ")", ";" ]
[ "compares", "the", "underlying", "binder", "of", "the", "given", "two", "i", "interface", "objects", "and", "returns", "true", "if", "they", "equals", "null", "values", "are", "accepted" ]
[ "if", "(", "left", "=", "=", "null", ")", "{", "return", "right", "=", "=", "null", ";", "}", "else", "{", "return", "right", "=", "=", "null", "?", "false", ":", "left", "as", "binder", "(", ")", "=", "=", "right", "as", "binder", "(", ")", ";", "}" ]
[ "unlinks", "this", "death", "recipient" ]
[ "if", "(", "m", "monitor", "callback", "!", "=", "null", ")", "{", "return", "m", "monitor", "callback", "as", "binder", "(", ")", "unlink", "to", "death", "(", "this", ",", "0", ")", ";", "}", "else", "if", "(", "m", "callback", "!", "=", "null", ")", "{", "return", "m", "callback", "as", "binder", "(", ")", "unlink", "to", "death", "(", "this", ",", "0", ")", ";", "}", "return", "true", ";" ]
[ "gets", "the", "value", "of", "the", "field", "that", "serves", "as", "index" ]
[ "public", "abstract", "v", "get", "field", "value", "(", "t", "o", ")", ";" ]
[ "/", "*", "default" ]
[ "if", "(", "s", "instance", "=", "=", "null", ")", "{", "s", "instance", "=", "new", "crypto", "helper", "(", ")", ";", "}", "return", "s", "instance", ";" ]
[ "finds", "the", "field", "with", "the", "given", "name", "and", "descriptor", "in", "the", "given", "class", "or", "its", "hierarchy" ]
[ "return", "(", "field", ")", "find", "member", "(", "referencing", "class", ",", "clazz", ",", "name", ",", "descriptor", ",", "true", ")", ";" ]
[ "finds", "the", "method", "with", "the", "given", "name", "and", "descriptor", "in", "the", "given", "class", "or", "its", "hierarchy" ]
[ "return", "(", "method", ")", "find", "member", "(", "referencing", "class", ",", "clazz", ",", "name", ",", "descriptor", ",", "false", ")", ";" ]
[ "returns", "the", "corresponding", "class", "of", "the", "most", "recently", "found", "class", "member" ]
[ "return", "clazz", ";" ]
[ "implementations", "for", "member", "visitor" ]
[ "this", "clazz", "=", "clazz", ";", "this", "member", "=", "member", ";", "throw", "member", "found", ";" ]
[ "initializes", "this", "struct", "with", "the", "specified", "values" ]
[ "s", "type", "(", "s", "type", ")", ";", "p", "next", "(", "p", "next", ")", ";", "return", "this", ";" ]
[ "copies", "the", "specified", "struct", "data", "to", "this", "struct" ]
[ "mem", "copy", "(", "src", "address", "(", ")", ",", "address", "(", ")", ",", "sizeof", ")", ";", "return", "this", ";" ]
[ "returns", "a", "new", "{" ]
[ "return", "wrap", "(", "vk", "base", "out", "structure", "class", ",", "nmem", "alloc", "checked", "(", "sizeof", ")", ")", ";" ]
[ "returns", "a", "new", "{" ]
[ "return", "wrap", "(", "vk", "base", "out", "structure", "class", ",", "nmem", "calloc", "checked", "(", "1", ",", "sizeof", ")", ")", ";" ]
[ "returns", "a", "new", "{" ]
[ "byte", "buffer", "container", "=", "buffer", "utils", "create", "byte", "buffer", "(", "sizeof", ")", ";", "return", "wrap", "(", "vk", "base", "out", "structure", "class", ",", "mem", "address", "(", "container", ")", ",", "container", ")", ";" ]
[ "returns", "a", "new", "{" ]
[ "return", "wrap", "(", "vk", "base", "out", "structure", "class", ",", "address", ")", ";" ]
[ "like", "{" ]
[ "return", "address", "=", "=", "null", "?", "null", ":", "wrap", "(", "vk", "base", "out", "structure", "class", ",", "address", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "base", "out", "structure", "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", "vk", "base", "out", "structure", "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", "vk", "base", "out", "structure", "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", "base", "out", "structure", "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", "base", "out", "structure", "}", "instance", "allocated", "on", "the", "specified", "{", "@", "link", "memory", "stack", "}" ]
[ "return", "wrap", "(", "vk", "base", "out", "structure", "class", ",", "stack", "nmalloc", "(", "alignof", ",", "sizeof", ")", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "base", "out", "structure", "}", "instance", "allocated", "on", "the", "specified", "{", "@", "link", "memory", "stack", "}", "and", "initializes", "all", "its", "bits", "to", "zero" ]
[ "return", "wrap", "(", "vk", "base", "out", "structure", "class", ",", "stack", "ncalloc", "(", "alignof", ",", "1", ",", "sizeof", ")", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "base", "out", "structure", "buffer", "}", "instance", "allocated", "on", "the", "thread", "-", "local", "{", "@", "link", "memory", "stack", "}" ]
[ "return", "malloc", "stack", "(", "capacity", ",", "stack", "get", "(", ")", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "base", "out", "structure", "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", "vk", "base", "out", "structure", "buffer", "}", "instance", "allocated", "on", "the", "specified", "{", "@", "link", "memory", "stack", "}" ]
[ "return", "wrap", "(", "buffer", "class", ",", "stack", "nmalloc", "(", "alignof", ",", "capacity", "*", "sizeof", ")", ",", "capacity", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "base", "out", "structure", "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", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "base", "out", "structure", "stype", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "vk", "base", "out", "structure", "create", "safe", "(", "mem", "get", "address", "(", "struct", "+", "vk", "base", "out", "structure", "pnext", ")", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "base", "out", "structure", "stype", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "mem", "put", "address", "(", "struct", "+", "vk", "base", "out", "structure", "pnext", ",", "mem", "address", "safe", "(", "value", ")", ")", ";" ]
[ "ensure", "that", "the", "expected", "key", "values", "appear", "in", "a", "result", "returned", "from", "a", "scanner", "that", "is", "combining", "partial", "results", "into", "complete", "results" ]
[ "test", "expected", "values", "of", "partial", "results", "(", "false", ")", ";", "test", "expected", "values", "of", "partial", "results", "(", "true", ")", ";" ]
[ "ensure", "that", "we", "only", "see", "results", "marked", "as", "partial", "when", "the", "allow", "partial", "flag", "is", "set" ]
[ "scan", "scan", "=", "new", "scan", "(", ")", ";", "scan", "set", "allow", "partial", "results", "(", "true", ")", ";", "scan", "set", "max", "result", "size", "(", "1", ")", ";", "result", "scanner", "scanner", "=", "table", "get", "scanner", "(", "scan", ")", ";", "result", "result", "=", "scanner", "next", "(", ")", ";", "assert", "true", "(", "result", "!", "=", "null", ")", ";", "assert", "true", "(", "result", "may", "have", "more", "cells", "in", "row", "(", ")", ")", ";", "assert", "true", "(", "result", "raw", "cells", "(", ")", "!", "=", "null", ")", ";", "assert", "true", "(", "result", "raw", "cells", "(", ")", "length", "=", "=", "1", ")", ";", "scanner", "close", "(", ")", ";", "scan", "set", "allow", "partial", "results", "(", "false", ")", ";", "scanner", "=", "table", "get", "scanner", "(", "scan", ")", ";", "result", "=", "scanner", "next", "(", ")", ";", "assert", "true", "(", "result", "!", "=", "null", ")", ";", "assert", "true", "(", "!", "result", "may", "have", "more", "cells", "in", "row", "(", ")", ")", ";", "assert", "true", "(", "result", "raw", "cells", "(", ")", "!", "=", "null", ")", ";", "assert", "true", "(", "result", "raw", "cells", "(", ")", "length", "=", "=", "num", "cols", ")", ";", "scanner", "close", "(", ")", ";" ]
[ "ensure", "that", "the", "results", "returned", "from", "a", "scanner", "that", "retrieves", "all", "results", "in", "a", "single", "rpc", "call", "matches", "the", "results", "that", "are", "returned", "from", "a", "scanner", "that", "must", "incrementally", "combine", "partial", "results", "into", "complete", "results", "a", "variety", "of", "scan", "configurations", "can", "be", "tested" ]
[ "scan", "one", "shot", "scan", "=", "new", "scan", "(", ")", ";", "one", "shot", "scan", "set", "max", "result", "size", "(", "long", "max", "value", ")", ";", "scan", "partial", "scan", "=", "new", "scan", "(", "one", "shot", "scan", ")", ";", "partial", "scan", "set", "max", "result", "size", "(", "1", ")", ";", "test", "equivalence", "of", "scan", "results", "(", "table", ",", "one", "shot", "scan", ",", "partial", "scan", ")", ";" ]
[ "setting", "the", "max", "result", "size", "allows", "us", "to", "control", "how", "many", "cells", "we", "expect", "to", "see", "on", "each", "call", "to", "next", "on", "the", "scanner", "test", "a", "variety", "of", "different", "sizes", "for", "correctness" ]
[ "scan", "scan", "=", "new", "scan", "(", ")", ";", "test", "expected", "number", "of", "cells", "per", "partial", "result", "(", "scan", ")", ";", "scan", "set", "reversed", "(", "true", ")", ";", "test", "expected", "number", "of", "cells", "per", "partial", "result", "(", "scan", ")", ";" ]