docstring_tokens
list
code_tokens
list
[ "sets", "the", "large", "icon", "that", "is", "shown", "in", "the", "notification" ]
[ "m", "large", "icon", "=", "icon", ";", "return", "this", ";" ]
[ "sets", "the", "small", "icon", "that", "is", "shown", "in", "the", "notification", "and", "in", "the", "status", "bar", "wherever", "the", "platform", "supports", "using", "a", "small", "icon", "bitmap", "and", "a", "non", "-", "null", "{" ]
[ "m", "small", "icon", "id", "=", "icon", "id", ";", "return", "this", ";" ]
[ "sets", "the", "pending", "intent", "to", "send", "when", "the", "notification", "is", "clicked" ]
[ "m", "content", "intent", "=", "intent", ";", "return", "this", ";" ]
[ "sets", "the", "pending", "intent", "to", "send", "when", "the", "notification", "is", "cleared", "by", "the", "user", "directly", "from", "the", "notification", "panel" ]
[ "m", "delete", "intent", "=", "intent", ";", "return", "this", ";" ]
[ "adds", "an", "action", "to", "the", "notification", "displayed", "as", "a", "button", "adjacent", "to", "the", "notification", "content" ]
[ "add", "author", "provided", "action", "(", "icon", "bitmap", ",", "title", ",", "intent", ",", "action", "type", "button", ",", "null", ")", ";", "return", "this", ";" ]
[ "adds", "an", "action", "to", "the", "notification", "displayed", "as", "a", "button", "adjacent", "to", "the", "notification", "content", "which", "when", "tapped", "will", "trigger", "a", "remote", "input", "this", "enables", "android", "wear", "input", "and", "from", "android", "n", "displays", "a", "text", "box", "within", "the", "notification", "for", "inline", "replies" ]
[ "add", "author", "provided", "action", "(", "icon", "bitmap", ",", "title", ",", "intent", ",", "action", "type", "text", ",", "placeholder", ")", ";", "return", "this", ";" ]
[ "adds", "an", "action", "to", "the", "notification", "for", "opening", "the", "settings", "screen" ]
[ "m", "settings", "action", "=", "new", "action", "(", "icon", "id", ",", "limit", "length", "(", "title", ")", ",", "intent", ",", "action", "type", "button", ",", "null", ")", ";", "return", "this", ";" ]
[ "sets", "the", "default", "notification", "options", "that", "will", "be", "used", "<", "p", ">", "the", "value", "should", "be", "one", "or", "more", "of", "the", "following", "fields", "combined", "with", "bitwise", "-", "or", ":", "{" ]
[ "m", "defaults", "=", "defaults", ";", "return", "this", ";" ]
[ "sets", "the", "vibration", "pattern", "to", "use" ]
[ "m", "vibrate", "pattern", "=", "arrays", "copy", "of", "(", "pattern", ",", "pattern", "length", ")", ";", "return", "this", ";" ]
[ "sets", "the", "timestamp", "at", "which", "the", "event", "of", "the", "notification", "took", "place" ]
[ "m", "timestamp", "=", "timestamp", ";", "return", "this", ";" ]
[ "sets", "the", "behavior", "for", "when", "the", "notification", "is", "replaced" ]
[ "m", "renotify", "=", "renotify", ";", "return", "this", ";" ]
[ "gets", "the", "large", "icon", "for", "the", "notification" ]
[ "return", "ensure", "normalized", "icon", "(", "m", "large", "icon", ",", "m", "origin", ")", ";" ]
[ "paints", "{" ]
[ "paint", "paint", "=", "new", "paint", "(", ")", ";", "paint", "set", "color", "filter", "(", "new", "porter", "duff", "color", "filter", "(", "color", "white", ",", "porter", "duff", "mode", "src", "atop", ")", ")", ";", "canvas", "canvas", "=", "new", "canvas", "(", "bitmap", ")", ";", "canvas", "draw", "bitmap", "(", "bitmap", ",", "0", ",", "0", ",", "paint", ")", ";" ]
[ "creates", "a", "read", "-", "only", "view", "of", "a", "graph", "presenting", "the", "sub", "-", "graph", "consisting", "of", "all", "the", "nodes", ";", "and", "those", "edges", "accepted", "by", "edge", "filter" ]
[ "return", "new", "graph", "(", ")", "{", "@", "override", "public", "graph", "get", "base", "graph", "(", ")", "{", "return", "base", "graph", ";", "}", "@", "override", "public", "int", "get", "nodes", "(", ")", "{", "return", "base", "graph", "get", "nodes", "(", ")", ";", "}", "@", "override", "public", "node", "access", "get", "node", "access", "(", ")", "{", "return", "base", "graph", "get", "node", "access", "(", ")", ";", "}", "@", "override", "public", "b", "box", "get", "bounds", "(", ")", "{", "return", "base", "graph", "get", "bounds", "(", ")", ";", "}", "@", "override", "public", "edge", "iterator", "state", "edge", "(", "int", "a", ",", "int", "b", ")", "{", "throw", "new", "unsupported", "operation", "exception", "(", ")", ";", "}", "@", "override", "public", "edge", "iterator", "state", "edge", "(", "int", "a", ",", "int", "b", ",", "double", "distance", ",", "boolean", "both", "directions", ")", "{", "throw", "new", "unsupported", "operation", "exception", "(", ")", ";", "}", "@", "override", "public", "edge", "iterator", "state", "get", "edge", "iterator", "state", "(", "int", "edge", "id", ",", "int", "adj", "node", ")", "{", "throw", "new", "unsupported", "operation", "exception", "(", ")", ";", "}", "@", "override", "public", "all", "edges", "iterator", "get", "all", "edges", "(", ")", "{", "final", "all", "edges", "iterator", "edge", "=", "base", "graph", "get", "all", "edges", "(", ")", ";", "return", "new", "all", "edges", "iterator", "(", ")", "{", "@", "override", "public", "int", "length", "(", ")", "{", "return", "edge", "length", "(", ")", ";", "}", "@", "override", "public", "boolean", "next", "(", ")", "{", "while", "(", "edge", "next", "(", ")", ")", "{", "if", "(", "edge", "filter", "accept", "(", "edge", ")", ")", "{", "return", "true", ";", "}", "}", "return", "false", ";", "}", "@", "override", "public", "int", "get", "edge", "(", ")", "{", "return", "edge", "get", "edge", "(", ")", ";", "}", "@", "override", "public", "int", "get", "base", "node", "(", ")", "{", "return", "edge", "get", "base", "node", "(", ")", ";", "}", "@", "override", "public", "int", "get", "adj", "node", "(", ")", "{", "return", "edge", "get", "adj", "node", "(", ")", ";", "}", "@", "override", "public", "point", "list", "fetch", "way", "geometry", "(", "int", "mode", ")", "{", "return", "edge", "fetch", "way", "geometry", "(", "mode", ")", ";", "}", "@", "override", "public", "edge", "iterator", "state", "set", "way", "geometry", "(", "point", "list", "list", ")", "{", "edge", "set", "way", "geometry", "(", "list", ")", ";", "return", "this", ";", "}", "@", "override", "public", "double", "get", "distance", "(", ")", "{", "return", "edge", "get", "distance", "(", ")", ";", "}", "@", "override", "public", "edge", "iterator", "state", "set", "distance", "(", "double", "dist", ")", "{", "edge", "set", "distance", "(", "dist", ")", ";", "return", "this", ";", "}", "@", "override", "public", "long", "get", "flags", "(", ")", "{", "return", "edge", "get", "flags", "(", ")", ";", "}", "@", "override", "public", "edge", "iterator", "state", "set", "flags", "(", "long", "flags", ")", "{", "edge", "set", "flags", "(", "flags", ")", ";", "return", "this", ";", "}", "@", "override", "public", "int", "get", "additional", "field", "(", ")", "{", "return", "edge", "get", "additional", "field", "(", ")", ";", "}", "@", "override", "public", "edge", "iterator", "state", "set", "additional", "field", "(", "int", "value", ")", "{", "edge", "set", "additional", "field", "(", "value", ")", ";", "return", "this", ";", "}", "@", "override", "public", "boolean", "is", "forward", "(", "flag", "encoder", "encoder", ")", "{", "return", "edge", "is", "forward", "(", "encoder", ")", ";", "}", "@", "override", "public", "boolean", "is", "backward", "(", "flag", "encoder", "encoder", ")", "{", "return", "edge", "is", "backward", "(", "encoder", ")", ";", "}", "@", "override", "public", "boolean", "get", "bool", "(", "int", "key", ",", "boolean", "default", ")", "{", "return", "edge", "get", "bool", "(", "key", ",", "default", ")", ";", "}", "@", "override", "public", "string", "get", "name", "(", ")", "{", "return", "edge", "get", "name", "(", ")", ";", "}", "@", "override", "public", "edge", "iterator", "state", "set", "name", "(", "string", "name", ")", "{", "edge", "set", "name", "(", "name", ")", ";", "return", "this", ";", "}", "@", "override", "public", "edge", "iterator", "state", "detach", "(", "boolean", "reverse", ")", "{", "return", "edge", "detach", "(", "reverse", ")", ";", "}", "@", "override", "public", "edge", "iterator", "state", "copy", "properties", "to", "(", "edge", "iterator", "state", "e", ")", "{", "throw", "new", "unsupported", "operation", "exception", "(", ")", ";", "}", "}", ";", "}", "@", "override", "public", "edge", "explorer", "create", "edge", "explorer", "(", "edge", "filter", "filter", ")", "{", "throw", "new", "unsupported", "operation", "exception", "(", ")", ";", "}", "@", "override", "public", "edge", "explorer", "create", "edge", "explorer", "(", ")", "{", "return", "base", "graph", "create", "edge", "explorer", "(", "edge", "filter", ")", ";", "}", "@", "override", "public", "graph", "copy", "to", "(", "graph", "g", ")", "{", "throw", "new", "unsupported", "operation", "exception", "(", ")", ";", "}", "@", "override", "public", "graph", "extension", "get", "extension", "(", ")", "{", "throw", "new", "unsupported", "operation", "exception", "(", ")", ";", "}", "}", ";" ]
[ "tood", ":", "i", "think", "we", "can", "implement", "the", "following", "two", "in", "model", "schema", "v", "3", "using", "reflection", "on", "the", "type", "parameters" ]
[ "return", "new", "k", "means", "v", "3", "k", "means", "parameters", "v", "3", "(", ")", ";" ]
[ "version", "&", "schema", "-", "specific", "filling", "into", "the", "impl" ]
[ "k", "means", "model", "k", "means", "parameters", "parms", "=", "parameters", "create", "impl", "(", ")", ";", "return", "new", "k", "means", "model", "(", "model", "id", "key", "(", ")", ",", "parms", ",", "null", ")", ";" ]
[ "update", "an", "item", "given", "in", "the", "configuration", "with", "the", "given", "value", "multiplied", "by", "the", "correction", "factor" ]
[ "decimal", "type", "status", "=", "new", "decimal", "type", "(", "value", "*", "config", "get", "correction", "factor", "(", ")", ")", ";", "event", "publisher", "post", "update", "(", "config", "get", "item", "(", ")", "get", "name", "(", ")", ",", "status", ")", ";" ]
[ "check", "if", "we", "have", "received", "a", "new", "message", "to", "not", "consume", "repeated", "messages" ]
[ "integer", "last", "counter", "=", "counter", "map", "get", "(", "address", ")", ";", "if", "(", "last", "counter", "=", "=", "null", ")", "{", "last", "counter", "=", "-", "1", ";", "}", "if", "(", "counter", ">", "last", "counter", ")", "{", "return", "true", ";", "}", "return", "false", ";" ]
[ "handle", "<", "jar", "-", "file", "/", ">", "references", "from", "a", "persistence", "xml", "file" ]
[ "return", "null", ";" ]
[ "set", "the", "specified", "amount", "of", "units", "to", "the", "specified", "time", "instant" ]
[ "field", "utils", "verify", "value", "bounds", "(", "this", ",", "value", ",", "get", "minimum", "value", "(", ")", ",", "get", "maximum", "value", "for", "set", "(", "instant", ",", "value", ")", ")", ";", "return", "instant", "+", "(", "value", "-", "get", "(", "instant", ")", ")", "*", "i", "unit", "millis", ";" ]
[ "this", "method", "assumes", "that", "this", "field", "is", "properly", "rounded", "on", "1970", "-", "01", "-", "01t00", ":", "00", ":", "00", "if", "the", "rounding", "alignment", "differs", "override", "this", "method", "as", "follows", ":", "<", "pre", ">", "return", "super", "round", "floor", "(", "instant", "+", "alignment", "millis", ")", "-", "alignment", "millis", ";", "<", "/", "pre", ">" ]
[ "if", "(", "instant", ">", "=", "0", ")", "{", "return", "instant", "-", "instant", "%", "i", "unit", "millis", ";", "}", "else", "{", "instant", "+", "=", "1", ";", "return", "instant", "-", "instant", "%", "i", "unit", "millis", "-", "i", "unit", "millis", ";", "}" ]
[ "this", "method", "assumes", "that", "this", "field", "is", "properly", "rounded", "on", "1970", "-", "01", "-", "01t00", ":", "00", ":", "00", "if", "the", "rounding", "alignment", "differs", "override", "this", "method", "as", "follows", ":", "<", "pre", ">", "return", "super", "round", "ceiling", "(", "instant", "+", "alignment", "millis", ")", "-", "alignment", "millis", ";", "<", "/", "pre", ">" ]
[ "if", "(", "instant", ">", "0", ")", "{", "instant", "-", "=", "1", ";", "return", "instant", "-", "instant", "%", "i", "unit", "millis", "+", "i", "unit", "millis", ";", "}", "else", "{", "return", "instant", "-", "instant", "%", "i", "unit", "millis", ";", "}" ]
[ "this", "method", "assumes", "that", "this", "field", "is", "properly", "rounded", "on", "1970", "-", "01", "-", "01t00", ":", "00", ":", "00", "if", "the", "rounding", "alignment", "differs", "override", "this", "method", "as", "follows", ":", "<", "pre", ">", "return", "super", "remainder", "(", "instant", "+", "alignment", "millis", ")", ";", "<", "/", "pre", ">" ]
[ "if", "(", "instant", ">", "=", "0", ")", "{", "return", "instant", "%", "i", "unit", "millis", ";", "}", "else", "{", "return", "(", "instant", "+", "1", ")", "%", "i", "unit", "millis", "+", "i", "unit", "millis", "-", "1", ";", "}" ]
[ "returns", "the", "duration", "per", "unit", "value", "of", "this", "field", "for", "example", "if", "this", "field", "represents", "minute", "of", "hour", "then", "the", "duration", "field", "is", "minutes" ]
[ "return", "i", "unit", "field", ";" ]
[ "returns", "the", "amount", "of", "milliseconds", "per", "unit", "value", "of", "this", "field" ]
[ "return", "i", "unit", "millis", ";" ]
[ "called", "by", "the", "set", "method", "to", "get", "the", "maximum", "allowed", "value", "by", "default", "returns", "get", "maximum", "value", "(", "instant", ")", "override", "to", "provide", "a", "faster", "implementation" ]
[ "return", "get", "maximum", "value", "(", "instant", ")", ";" ]
[ "initializes", "this", "struct", "with", "the", "specified", "values" ]
[ "s", "type", "(", "s", "type", ")", ";", "p", "next", "(", "p", "next", ")", ";", "flags", "(", "flags", ")", ";", "render", "pass", "(", "render", "pass", ")", ";", "p", "attachments", "(", "p", "attachments", ")", ";", "width", "(", "width", ")", ";", "height", "(", "height", ")", ";", "layers", "(", "layers", ")", ";", "return", "this", ";" ]
[ "copies", "the", "specified", "struct", "data", "to", "this", "struct" ]
[ "mem", "copy", "(", "src", "address", "(", ")", ",", "address", "(", ")", ",", "sizeof", ")", ";", "return", "this", ";" ]
[ "returns", "a", "new", "{" ]
[ "return", "wrap", "(", "vk", "framebuffer", "create", "info", "class", ",", "nmem", "alloc", "checked", "(", "sizeof", ")", ")", ";" ]
[ "returns", "a", "new", "{" ]
[ "return", "wrap", "(", "vk", "framebuffer", "create", "info", "class", ",", "nmem", "calloc", "checked", "(", "1", ",", "sizeof", ")", ")", ";" ]
[ "returns", "a", "new", "{" ]
[ "byte", "buffer", "container", "=", "buffer", "utils", "create", "byte", "buffer", "(", "sizeof", ")", ";", "return", "wrap", "(", "vk", "framebuffer", "create", "info", "class", ",", "mem", "address", "(", "container", ")", ",", "container", ")", ";" ]
[ "returns", "a", "new", "{" ]
[ "return", "wrap", "(", "vk", "framebuffer", "create", "info", "class", ",", "address", ")", ";" ]
[ "like", "{" ]
[ "return", "address", "=", "=", "null", "?", "null", ":", "wrap", "(", "vk", "framebuffer", "create", "info", "class", ",", "address", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "framebuffer", "create", "info", "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", "framebuffer", "create", "info", "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", "framebuffer", "create", "info", "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", "framebuffer", "create", "info", "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", "framebuffer", "create", "info", "}", "instance", "allocated", "on", "the", "specified", "{", "@", "link", "memory", "stack", "}" ]
[ "return", "wrap", "(", "vk", "framebuffer", "create", "info", "class", ",", "stack", "nmalloc", "(", "alignof", ",", "sizeof", ")", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "framebuffer", "create", "info", "}", "instance", "allocated", "on", "the", "specified", "{", "@", "link", "memory", "stack", "}", "and", "initializes", "all", "its", "bits", "to", "zero" ]
[ "return", "wrap", "(", "vk", "framebuffer", "create", "info", "class", ",", "stack", "ncalloc", "(", "alignof", ",", "1", ",", "sizeof", ")", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "framebuffer", "create", "info", "buffer", "}", "instance", "allocated", "on", "the", "thread", "-", "local", "{", "@", "link", "memory", "stack", "}" ]
[ "return", "malloc", "stack", "(", "capacity", ",", "stack", "get", "(", ")", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "framebuffer", "create", "info", "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", "framebuffer", "create", "info", "buffer", "}", "instance", "allocated", "on", "the", "specified", "{", "@", "link", "memory", "stack", "}" ]
[ "return", "wrap", "(", "buffer", "class", ",", "stack", "nmalloc", "(", "alignof", ",", "capacity", "*", "sizeof", ")", ",", "capacity", ")", ";" ]
[ "returns", "a", "new", "{", "@", "link", "vk", "framebuffer", "create", "info", "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", "framebuffer", "create", "info", "stype", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "mem", "get", "address", "(", "struct", "+", "vk", "framebuffer", "create", "info", "pnext", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "framebuffer", "create", "info", "flags", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "long", "(", "null", ",", "struct", "+", "vk", "framebuffer", "create", "info", "renderpass", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "framebuffer", "create", "info", "attachmentcount", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "mem", "long", "buffer", "safe", "(", "mem", "get", "address", "(", "struct", "+", "vk", "framebuffer", "create", "info", "pattachments", ")", ",", "nattachment", "count", "(", "struct", ")", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "framebuffer", "create", "info", "width", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "framebuffer", "create", "info", "height", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "return", "unsafe", "get", "int", "(", "null", ",", "struct", "+", "vk", "framebuffer", "create", "info", "layers", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "framebuffer", "create", "info", "stype", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "mem", "put", "address", "(", "struct", "+", "vk", "framebuffer", "create", "info", "pnext", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "framebuffer", "create", "info", "flags", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "unsafe", "put", "long", "(", "null", ",", "struct", "+", "vk", "framebuffer", "create", "info", "renderpass", ",", "value", ")", ";" ]
[ "sets", "the", "specified", "value", "to", "the", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "framebuffer", "create", "info", "attachmentcount", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "mem", "put", "address", "(", "struct", "+", "vk", "framebuffer", "create", "info", "pattachments", ",", "mem", "address", "safe", "(", "value", ")", ")", ";", "nattachment", "count", "(", "struct", ",", "value", "=", "=", "null", "?", "0", ":", "value", "remaining", "(", ")", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "framebuffer", "create", "info", "width", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "framebuffer", "create", "info", "height", ",", "value", ")", ";" ]
[ "unsafe", "version", "of", "{" ]
[ "unsafe", "put", "int", "(", "null", ",", "struct", "+", "vk", "framebuffer", "create", "info", "layers", ",", "value", ")", ";" ]
[ "validates", "pointer", "members", "that", "should", "not", "be", "{", "@", "code", "null", "}" ]
[ "if", "(", "nattachment", "count", "(", "struct", ")", "!", "=", "0", ")", "{", "check", "(", "mem", "get", "address", "(", "struct", "+", "vk", "framebuffer", "create", "info", "pattachments", ")", ")", ";", "}" ]
[ "allow", "to", "override", "schema", "in", "builder", "implementation" ]
[ "this", "schema", "=", "schema", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "language", "code", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "en", "<", "/", "code", ">", "-", "english", "(", "default", ")", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "jp", "<", "/", "code", ">", "-", "japanese", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "<", "code", ">", "zh", "<", "/", "code", ">", "-", "chinese", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">" ]
[ "set", "accept", "language", "(", "accept", "language", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "search", "filters", "if", "no", "search", "filters", "are", "specified", "the", "output", "includes", "all", "products", "to", "which", "the", "caller", "has", "access", "<", "/", "p", ">" ]
[ "set", "filters", "(", "filters", ")", ";", "return", "this", ";" ]
[ "removes", "all", "the", "entries", "added", "into", "filters" ]
[ "this", "filters", "=", "null", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "maximum", "number", "of", "items", "to", "return", "with", "this", "call", "<", "/", "p", ">" ]
[ "set", "page", "size", "(", "page", "size", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "sort", "field", "if", "no", "value", "is", "specified", "the", "results", "are", "not", "sorted", "<", "/", "p", ">" ]
[ "set", "sort", "by", "(", "sort", "by", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "sort", "field", "if", "no", "value", "is", "specified", "the", "results", "are", "not", "sorted", "<", "/", "p", ">" ]
[ "with", "sort", "by", "(", "sort", "by", ")", ";" ]
[ "<", "p", ">", "the", "sort", "field", "if", "no", "value", "is", "specified", "the", "results", "are", "not", "sorted", "<", "/", "p", ">" ]
[ "this", "sort", "by", "=", "sort", "by", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "sort", "order", "if", "no", "value", "is", "specified", "the", "results", "are", "not", "sorted", "<", "/", "p", ">" ]
[ "set", "sort", "order", "(", "sort", "order", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "sort", "order", "if", "no", "value", "is", "specified", "the", "results", "are", "not", "sorted", "<", "/", "p", ">" ]
[ "this", "sort", "order", "=", "sort", "order", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "page", "token", "for", "the", "next", "set", "of", "results", "to", "retrieve", "the", "first", "set", "of", "results", "use", "null", "<", "/", "p", ">" ]
[ "set", "page", "token", "(", "page", "token", ")", ";", "return", "this", ";" ]
[ "returns", "true", "if", "this", "connection", "is", "alive" ]
[ "return", "!", "socket", "is", "closed", "(", ")", "&", "&", "!", "socket", "is", "input", "shutdown", "(", ")", "&", "&", "!", "socket", "is", "output", "shutdown", "(", ")", ";" ]
[ "returns", "true", "if", "this", "connection", "is", "idle" ]
[ "return", "spdy", "connection", "=", "=", "null", "|", "|", "spdy", "connection", "is", "idle", "(", ")", ";" ]
[ "returns", "true", "if", "this", "connection", "has", "been", "idle", "for", "longer", "than", "{" ]
[ "return", "is", "idle", "(", ")", "&", "&", "system", "nano", "time", "(", ")", "-", "get", "idle", "start", "time", "ns", "(", ")", ">", "keep", "alive", "duration", "ns", ";" ]
[ "returns", "the", "time", "in", "ns", "when", "this", "connection", "became", "idle", "undefined", "if", "this", "connection", "is", "not", "idle" ]
[ "return", "spdy", "connection", "=", "=", "null", "?", "idle", "start", "time", "ns", ":", "spdy", "connection", "get", "idle", "start", "time", "ns", "(", ")", ";" ]
[ "returns", "the", "transport", "appropriate", "for", "this", "connection" ]
[ "return", "(", "spdy", "connection", "!", "=", "null", ")", "?", "new", "spdy", "transport", "(", "http", "engine", ",", "spdy", "connection", ")", ":", "new", "http", "transport", "(", "http", "engine", ",", "out", ",", "in", ")", ";" ]
[ "returns", "true", "if", "this", "is", "a", "spdy", "connection", "such", "connections", "can", "be", "used", "in", "multiple", "http", "requests", "simultaneously" ]
[ "return", "spdy", "connection", "!", "=", "null", ";" ]
[ "returns", "the", "minor", "http", "version", "that", "should", "be", "used", "for", "future", "requests", "on", "this", "connection", "either", "0", "for", "http", "/", "1", "0", "or", "1", "for", "http", "/", "1", "1", "the", "default", "value", "is", "1", "for", "new", "connections" ]
[ "return", "http", "minor", "version", ";" ]
[ "returns", "true", "if", "the", "http", "connection", "needs", "to", "tunnel", "one", "protocol", "over", "another", "such", "as", "when", "using", "https", "through", "an", "http", "proxy", "when", "doing", "so", "we", "must", "avoid", "buffering", "bytes", "intended", "for", "the", "higher", "-", "level", "protocol" ]
[ "return", "route", "address", "ssl", "socket", "factory", "!", "=", "null", "&", "&", "route", "proxy", "type", "(", ")", "=", "=", "proxy", "type", "http", ";" ]
[ "interrupt", "the", "execution", "but", "instead", "of", "marking", "the", "build", "as", "aborted", "mark", "it", "as", "specified", "result" ]
[ "interrupt", "(", "result", ",", "false", ")", ";" ]
[ "interrupt", "the", "execution", "mark", "the", "cause", "and", "the", "status", "accordingly" ]
[ "interrupt", "(", "result", ",", "false", ",", "causes", ")", ";" ]
[ "returns", "the", "current", "build", "this", "executor", "is", "running" ]
[ "lock", "read", "lock", "(", ")", "lock", "(", ")", ";", "try", "{", "return", "executable", ";", "}", "finally", "{", "lock", "read", "lock", "(", ")", "unlock", "(", ")", ";", "}" ]
[ "returns", "causes", "of", "interruption" ]
[ "return", "collections", "unmodifiable", "collection", "(", "causes", ")", ";" ]
[ "returns", "the", "current", "{", "@", "link", "work", "unit", "}", "(", "of", "{", "@", "link", "#", "get", "current", "executable", "(", ")", "the", "current", "executable", "}", ")", "that", "this", "executor", "is", "running" ]
[ "lock", "read", "lock", "(", ")", "lock", "(", ")", ";", "try", "{", "return", "work", "unit", ";", "}", "finally", "{", "lock", "read", "lock", "(", ")", "unlock", "(", ")", ";", "}" ]
[ "if", "{" ]
[ "lock", "read", "lock", "(", ")", "lock", "(", ")", ";", "try", "{", "if", "(", "executable", "=", "=", "null", ")", "{", "return", "null", ";", "}", "if", "(", "executable", "instanceof", "abstract", "build", ")", "{", "abstract", "build", "ab", "=", "(", "abstract", "build", ")", "executable", ";", "return", "ab", "get", "workspace", "(", ")", ";", "}", "return", "null", ";", "}", "finally", "{", "lock", "read", "lock", "(", ")", "unlock", "(", ")", ";", "}" ]
[ "gets", "the", "executor", "number", "that", "uniquely", "identifies", "it", "among", "other", "{", "@", "link", "executor", "}", "s", "for", "the", "same", "computer" ]
[ "return", "number", ";" ]
[ "returns", "true", "if", "this", "{" ]
[ "lock", "read", "lock", "(", ")", "lock", "(", ")", ";", "try", "{", "return", "work", "unit", "=", "=", "null", "&", "&", "executable", "=", "=", "null", ";", "}", "finally", "{", "lock", "read", "lock", "(", ")", "unlock", "(", ")", ";", "}" ]
[ "the", "opposite", "of", "{" ]
[ "lock", "read", "lock", "(", ")", "lock", "(", ")", ";", "try", "{", "return", "work", "unit", "!", "=", "null", "|", "|", "executable", "!", "=", "null", ";", "}", "finally", "{", "lock", "read", "lock", "(", ")", "unlock", "(", ")", ";", "}" ]
[ "check", "if", "executor", "is", "ready", "to", "accept", "tasks", "this", "method", "becomes", "the", "critical", "one", "since", "1", "536", "which", "introduces", "the", "on", "-", "demand", "creation", "of", "executor", "threads", "callers", "should", "use", "this", "method", "instead", "of", "{" ]
[ "lock", "read", "lock", "(", ")", "lock", "(", ")", ";", "try", "{", "return", "!", "started", "|", "|", "asynchronous", "execution", "!", "=", "null", "|", "|", "is", "alive", "(", ")", ";", "}", "finally", "{", "lock", "read", "lock", "(", ")", "unlock", "(", ")", ";", "}" ]
[ "if", "currently", "running", "in", "asynchronous", "mode", "returns", "that", "handle" ]
[ "lock", "read", "lock", "(", ")", "lock", "(", ")", ";", "try", "{", "return", "asynchronous", "execution", ";", "}", "finally", "{", "lock", "read", "lock", "(", ")", "unlock", "(", ")", ";", "}" ]
[ "if", "this", "executor", "is", "running", "an", "{", "@", "link", "asynchronous", "execution", "}", "and", "that", "execution", "wants", "to", "hide", "the", "display", "cell", "for", "the", "executor", "(", "because", "there", "is", "another", "executor", "displaying", "the", "job", "progress", "and", "we", "don", "t", "want", "to", "confuse", "the", "user", ")", "then", "this", "method", "will", "return", "{", "@", "code", "false", "}", "to", "indicate", "to", "{", "@", "code", "executors", "jelly", "}", "that", "the", "executor", "cell", "should", "be", "hidden" ]
[ "asynchronous", "execution", "asynchronous", "execution", "=", "get", "asynchronous", "execution", "(", ")", ";", "return", "asynchronous", "execution", "=", "=", "null", "|", "|", "asynchronous", "execution", "display", "cell", "(", ")", ";" ]
[ "returns", "true", "if", "this", "executor", "is", "waiting", "for", "a", "task", "to", "execute" ]
[ "lock", "read", "lock", "(", ")", "lock", "(", ")", ";", "try", "{", "return", "!", "started", ";", "}", "finally", "{", "lock", "read", "lock", "(", ")", "unlock", "(", ")", ";", "}" ]
[ "returns", "the", "progress", "of", "the", "current", "build", "in", "the", "number", "between", "0", "-", "100" ]
[ "long", "d", "=", "executable", "estimated", "duration", ";", "if", "(", "d", "<", "=", "0", ")", "{", "return", "default", "estimated", "duration", ";", "}", "int", "num", "=", "(", "int", ")", "(", "get", "elapsed", "time", "(", ")", "*", "100", "/", "d", ")", ";", "if", "(", "num", ">", "=", "100", ")", "{", "num", "=", "99", ";", "}", "return", "num", ";" ]
[ "returns", "the", "number", "of", "milli", "-", "seconds", "the", "currently", "executing", "job", "spent", "in", "the", "queue", "waiting", "for", "an", "available", "executor", "this", "excludes", "the", "quiet", "period", "time", "of", "the", "job" ]
[ "lock", "read", "lock", "(", ")", "lock", "(", ")", ";", "try", "{", "return", "start", "time", "-", "work", "unit", "context", "item", "buildable", "start", "milliseconds", ";", "}", "finally", "{", "lock", "read", "lock", "(", ")", "unlock", "(", ")", ";", "}" ]
[ "gets", "the", "string", "that", "says", "how", "long", "since", "this", "build", "has", "started" ]
[ "return", "util", "get", "past", "time", "string", "(", "get", "elapsed", "time", "(", ")", ")", ";" ]