docstring_tokens
list
code_tokens
list
[ "simplified", "method", "form", "for", "invoking", "the", "delete", "topic", "operation", "with", "an", "async", "handler" ]
[ "return", "delete", "topic", "async", "(", "new", "delete", "topic", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "get", "subscription", "attributes", "operation" ]
[ "return", "get", "subscription", "attributes", "async", "(", "new", "get", "subscription", "attributes", "request", "(", ")", "with", "subscription", "arn", "(", "subscription", "arn", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "get", "subscription", "attributes", "operation", "with", "an", "async", "handler" ]
[ "return", "get", "subscription", "attributes", "async", "(", "new", "get", "subscription", "attributes", "request", "(", ")", "with", "subscription", "arn", "(", "subscription", "arn", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "get", "topic", "attributes", "operation" ]
[ "return", "get", "topic", "attributes", "async", "(", "new", "get", "topic", "attributes", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "get", "topic", "attributes", "operation", "with", "an", "async", "handler" ]
[ "return", "get", "topic", "attributes", "async", "(", "new", "get", "topic", "attributes", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "list", "platform", "applications", "operation" ]
[ "return", "list", "platform", "applications", "async", "(", "new", "list", "platform", "applications", "request", "(", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "list", "platform", "applications", "operation", "with", "an", "async", "handler" ]
[ "return", "list", "platform", "applications", "async", "(", "new", "list", "platform", "applications", "request", "(", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "list", "subscriptions", "operation" ]
[ "return", "list", "subscriptions", "async", "(", "new", "list", "subscriptions", "request", "(", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "list", "subscriptions", "operation", "with", "an", "async", "handler" ]
[ "return", "list", "subscriptions", "async", "(", "new", "list", "subscriptions", "request", "(", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "list", "subscriptions", "operation" ]
[ "return", "list", "subscriptions", "async", "(", "new", "list", "subscriptions", "request", "(", ")", "with", "next", "token", "(", "next", "token", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "list", "subscriptions", "operation", "with", "an", "async", "handler" ]
[ "return", "list", "subscriptions", "async", "(", "new", "list", "subscriptions", "request", "(", ")", "with", "next", "token", "(", "next", "token", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "list", "subscriptions", "by", "topic", "operation" ]
[ "return", "list", "subscriptions", "by", "topic", "async", "(", "new", "list", "subscriptions", "by", "topic", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "list", "subscriptions", "by", "topic", "operation", "with", "an", "async", "handler" ]
[ "return", "list", "subscriptions", "by", "topic", "async", "(", "new", "list", "subscriptions", "by", "topic", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "list", "subscriptions", "by", "topic", "operation" ]
[ "return", "list", "subscriptions", "by", "topic", "async", "(", "new", "list", "subscriptions", "by", "topic", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", "with", "next", "token", "(", "next", "token", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "list", "subscriptions", "by", "topic", "operation", "with", "an", "async", "handler" ]
[ "return", "list", "subscriptions", "by", "topic", "async", "(", "new", "list", "subscriptions", "by", "topic", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", "with", "next", "token", "(", "next", "token", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "list", "topics", "operation" ]
[ "return", "list", "topics", "async", "(", "new", "list", "topics", "request", "(", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "list", "topics", "operation", "with", "an", "async", "handler" ]
[ "return", "list", "topics", "async", "(", "new", "list", "topics", "request", "(", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "list", "topics", "operation" ]
[ "return", "list", "topics", "async", "(", "new", "list", "topics", "request", "(", ")", "with", "next", "token", "(", "next", "token", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "list", "topics", "operation", "with", "an", "async", "handler" ]
[ "return", "list", "topics", "async", "(", "new", "list", "topics", "request", "(", ")", "with", "next", "token", "(", "next", "token", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "publish", "operation" ]
[ "return", "publish", "async", "(", "new", "publish", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", "with", "message", "(", "message", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "publish", "operation", "with", "an", "async", "handler" ]
[ "return", "publish", "async", "(", "new", "publish", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", "with", "message", "(", "message", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "publish", "operation" ]
[ "return", "publish", "async", "(", "new", "publish", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", "with", "message", "(", "message", ")", "with", "subject", "(", "subject", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "publish", "operation", "with", "an", "async", "handler" ]
[ "return", "publish", "async", "(", "new", "publish", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", "with", "message", "(", "message", ")", "with", "subject", "(", "subject", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "remove", "permission", "operation" ]
[ "return", "remove", "permission", "async", "(", "new", "remove", "permission", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", "with", "label", "(", "label", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "remove", "permission", "operation", "with", "an", "async", "handler" ]
[ "return", "remove", "permission", "async", "(", "new", "remove", "permission", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", "with", "label", "(", "label", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "set", "subscription", "attributes", "operation" ]
[ "return", "set", "subscription", "attributes", "async", "(", "new", "set", "subscription", "attributes", "request", "(", ")", "with", "subscription", "arn", "(", "subscription", "arn", ")", "with", "attribute", "name", "(", "attribute", "name", ")", "with", "attribute", "value", "(", "attribute", "value", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "set", "subscription", "attributes", "operation", "with", "an", "async", "handler" ]
[ "return", "set", "subscription", "attributes", "async", "(", "new", "set", "subscription", "attributes", "request", "(", ")", "with", "subscription", "arn", "(", "subscription", "arn", ")", "with", "attribute", "name", "(", "attribute", "name", ")", "with", "attribute", "value", "(", "attribute", "value", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "set", "topic", "attributes", "operation" ]
[ "return", "set", "topic", "attributes", "async", "(", "new", "set", "topic", "attributes", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", "with", "attribute", "name", "(", "attribute", "name", ")", "with", "attribute", "value", "(", "attribute", "value", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "set", "topic", "attributes", "operation", "with", "an", "async", "handler" ]
[ "return", "set", "topic", "attributes", "async", "(", "new", "set", "topic", "attributes", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", "with", "attribute", "name", "(", "attribute", "name", ")", "with", "attribute", "value", "(", "attribute", "value", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "subscribe", "operation" ]
[ "return", "subscribe", "async", "(", "new", "subscribe", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", "with", "protocol", "(", "protocol", ")", "with", "endpoint", "(", "endpoint", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "subscribe", "operation", "with", "an", "async", "handler" ]
[ "return", "subscribe", "async", "(", "new", "subscribe", "request", "(", ")", "with", "topic", "arn", "(", "topic", "arn", ")", "with", "protocol", "(", "protocol", ")", "with", "endpoint", "(", "endpoint", ")", ",", "async", "handler", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "unsubscribe", "operation" ]
[ "return", "unsubscribe", "async", "(", "new", "unsubscribe", "request", "(", ")", "with", "subscription", "arn", "(", "subscription", "arn", ")", ")", ";" ]
[ "simplified", "method", "form", "for", "invoking", "the", "unsubscribe", "operation", "with", "an", "async", "handler" ]
[ "return", "unsubscribe", "async", "(", "new", "unsubscribe", "request", "(", ")", "with", "subscription", "arn", "(", "subscription", "arn", ")", ",", "async", "handler", ")", ";" ]
[ "sets", "grid", "cache", "name", "for", "this", "configuration" ]
[ "this", "name", "=", "name", ";", "return", "this", ";" ]
[ "gets", "affinity", "to", "be", "used", "to", "communicate", "with", "remote", "cache", "affinity", "allows", "to", "contact", "exactly", "the", "node", "where", "the", "data", "is", "and", "therefore", "avoiding", "extra", "network", "hops", "<", "p", ">", "use", "{", "@", "link", "grid", "client", "partition", "affinity", "}", "as", "default", "affinity", "communication", "to", "work", "with", "remote", "partitioned", "caches" ]
[ "return", "affinity", ";" ]
[ "sets", "client", "data", "affinity", "for", "this", "configuration", "affinity", "allows", "to", "contact", "exactly", "the", "node", "where", "the", "data", "is", "and", "therefore", "avoiding", "extra", "network", "hops", "<", "p", ">", "use", "{", "@", "link", "grid", "client", "partition", "affinity", "}", "as", "default", "affinity", "communication", "to", "work", "with", "remote", "partitioned", "caches" ]
[ "this", "affinity", "=", "affinity", ";", "return", "this", ";" ]
[ "gets", "balancer", "to", "use", "for", "pinned", "nodes", "see", "{", "@", "link", "grid", "client", "load", "balancer", "}", "for", "more", "information" ]
[ "return", "balancer", ";" ]
[ "sets", "balancer", "for", "pinned", "mode", "for", "this", "configuration" ]
[ "this", "balancer", "=", "balancer", ";", "return", "this", ";" ]
[ "wraps", "a", "user", "defined", "{", "@", "link", "entry", "listener", "}", "into", "a", "{", "@", "link", "com", "hazelcast", "map", "impl", "listener", "adapter", "}" ]
[ "return", "new", "internal", "entry", "listener", "adapter", "(", "listener", ")", ";" ]
[ "{" ]
[ "return", "at", ";" ]
[ "{" ]
[ "return", "at", ";" ]
[ "never", "true", "for", "an", "empty", "range" ]
[ "return", "false", ";" ]
[ "always", "does", "nothing", "for", "an", "empty", "range" ]
[]
[ "always", "returns", "an", "empty", "list", "for", "an", "empty", "range" ]
[ "return", "new", "array", "list", "<", "t", ">", "(", ")", ";" ]
[ "uses", "attribute", "with", "given", "object", "id", "to", "construct", "principal", "name", "e", "g", "oid", "2", "5", "4", "3", "~", "cn", "(", "common", "name", ")", "{" ]
[ "this", "oid", "=", "oid", ";", "return", "this", ";" ]
[ "when", "unmanaged", "an", "object", "s", "backlinks", "fields", "have", "their", "initialized", "value", "(", "probably", "null", ")" ]
[ "realm", "begin", "transaction", "(", ")", ";", "all", "java", "types", "child", "=", "realm", "create", "object", "(", "all", "java", "types", "class", ",", "1", ")", ";", "all", "java", "types", "parent", "=", "realm", "create", "object", "(", "all", "java", "types", "class", ",", "2", ")", ";", "parent", "set", "field", "object", "(", "child", ")", ";", "realm", "commit", "transaction", "(", ")", ";", "assert", "equals", "(", "1", ",", "child", "get", "object", "parents", "(", ")", "size", "(", ")", ")", ";", "assert", "equals", "(", "parent", ",", "child", "get", "object", "parents", "(", ")", "first", "(", ")", ")", ";", "all", "java", "types", "unmanaged", "child", "=", "realm", "copy", "from", "realm", "(", "child", ")", ";", "assert", "null", "(", "unmanaged", "child", "get", "object", "parents", "(", ")", ")", ";" ]
[ "inform", "g", "m", "s", "core", "of", "a", "new", "custom", "passphrase", "encryption", "key" ]
[ "public", "abstract", "void", "update", "encryption", "key", "(", "byte", "[", "]", "key", ")", ";" ]
[ "construct", "a", "synchronous", "implementation", "of", "amazon", "transcribe", "using", "the", "current", "builder", "configuration" ]
[ "return", "new", "amazon", "transcribe", "client", "(", "params", ")", ";" ]
[ "<", "p", ">", "the", "directory", "names", "<", "/", "p", ">" ]
[ "return", "directory", "names", ";" ]
[ "<", "p", ">", "the", "directory", "names", "<", "/", "p", ">" ]
[ "if", "(", "directory", "names", "=", "=", "null", ")", "{", "this", "directory", "names", "=", "null", ";", "return", ";", "}", "this", "directory", "names", "=", "new", "java", "util", "array", "list", "<", "string", ">", "(", "directory", "names", ")", ";" ]
[ "<", "p", ">", "the", "directory", "names", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "directory", "names", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "directory", "names", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "directory", "names", "=", "=", "null", ")", "{", "set", "directory", "names", "(", "new", "java", "util", "array", "list", "<", "string", ">", "(", "directory", "names", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "directory", "names", ")", "{", "this", "directory", "names", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "the", "directory", "names", "<", "/", "p", ">" ]
[ "set", "directory", "names", "(", "directory", "names", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "maximum", "size", "of", "each", "page", "of", "results", "<", "/", "p", ">" ]
[ "set", "max", "results", "(", "max", "results", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "pagination", "token", "to", "use", "to", "retrieve", "the", "next", "page", "of", "results", "for", "this", "operation", "if", "this", "value", "is", "null", "it", "retrieves", "the", "first", "page", "<", "/", "p", ">" ]
[ "set", "next", "token", "(", "next", "token", ")", ";", "return", "this", ";" ]
[ "{" ]
[ "return", "with", "reconnect", "handling", "(", "new", "file", "system", "closure", "<", "igfs", "handshake", "response", ">", "(", ")", "{", "@", "override", "public", "igfs", "handshake", "response", "apply", "(", "hadoop", "igfs", "ex", "hadoop", ",", "igfs", "handshake", "response", "hnd", "resp", ")", "{", "return", "hnd", "resp", ";", "}", "}", ")", ";" ]
[ "{" ]
[ "delegate", "delegate", "=", "delegate", "ref", "get", "(", ")", ";", "if", "(", "delegate", "!", "=", "null", "&", "&", "delegate", "ref", "compare", "and", "set", "(", "delegate", ",", "null", ")", ")", "delegate", "close", "(", "force", ")", ";" ]
[ "{" ]
[ "return", "with", "reconnect", "handling", "(", "new", "file", "system", "closure", "<", "igfs", "file", ">", "(", ")", "{", "@", "override", "public", "igfs", "file", "apply", "(", "hadoop", "igfs", "ex", "hadoop", ",", "igfs", "handshake", "response", "hnd", "resp", ")", "throws", "ignite", "checked", "exception", ",", "i", "o", "exception", "{", "return", "hadoop", "info", "(", "path", ")", ";", "}", "}", ",", "path", ")", ";" ]
[ "{" ]
[ "return", "with", "reconnect", "handling", "(", "new", "file", "system", "closure", "<", "igfs", "file", ">", "(", ")", "{", "@", "override", "public", "igfs", "file", "apply", "(", "hadoop", "igfs", "ex", "hadoop", ",", "igfs", "handshake", "response", "hnd", "resp", ")", "throws", "ignite", "checked", "exception", ",", "i", "o", "exception", "{", "return", "hadoop", "update", "(", "path", ",", "props", ")", ";", "}", "}", ",", "path", ")", ";" ]
[ "{" ]
[ "return", "with", "reconnect", "handling", "(", "new", "file", "system", "closure", "<", "boolean", ">", "(", ")", "{", "@", "override", "public", "boolean", "apply", "(", "hadoop", "igfs", "ex", "hadoop", ",", "igfs", "handshake", "response", "hnd", "resp", ")", "throws", "ignite", "checked", "exception", ",", "i", "o", "exception", "{", "return", "hadoop", "set", "times", "(", "path", ",", "access", "time", ",", "modification", "time", ")", ";", "}", "}", ",", "path", ")", ";" ]
[ "{" ]
[ "return", "with", "reconnect", "handling", "(", "new", "file", "system", "closure", "<", "boolean", ">", "(", ")", "{", "@", "override", "public", "boolean", "apply", "(", "hadoop", "igfs", "ex", "hadoop", ",", "igfs", "handshake", "response", "hnd", "resp", ")", "throws", "ignite", "checked", "exception", ",", "i", "o", "exception", "{", "return", "hadoop", "rename", "(", "src", ",", "dest", ")", ";", "}", "}", ",", "src", ")", ";" ]
[ "{" ]
[ "return", "with", "reconnect", "handling", "(", "new", "file", "system", "closure", "<", "boolean", ">", "(", ")", "{", "@", "override", "public", "boolean", "apply", "(", "hadoop", "igfs", "ex", "hadoop", ",", "igfs", "handshake", "response", "hnd", "resp", ")", "throws", "ignite", "checked", "exception", ",", "i", "o", "exception", "{", "return", "hadoop", "delete", "(", "path", ",", "recursive", ")", ";", "}", "}", ",", "path", ")", ";" ]
[ "{" ]
[ "return", "with", "reconnect", "handling", "(", "new", "file", "system", "closure", "<", "collection", "<", "igfs", "block", "location", ">", ">", "(", ")", "{", "@", "override", "public", "collection", "<", "igfs", "block", "location", ">", "apply", "(", "hadoop", "igfs", "ex", "hadoop", ",", "igfs", "handshake", "response", "hnd", "resp", ")", "throws", "ignite", "checked", "exception", ",", "i", "o", "exception", "{", "return", "hadoop", "affinity", "(", "path", ",", "start", ",", "len", ")", ";", "}", "}", ",", "path", ")", ";" ]
[ "{" ]
[ "return", "with", "reconnect", "handling", "(", "new", "file", "system", "closure", "<", "igfs", "path", "summary", ">", "(", ")", "{", "@", "override", "public", "igfs", "path", "summary", "apply", "(", "hadoop", "igfs", "ex", "hadoop", ",", "igfs", "handshake", "response", "hnd", "resp", ")", "throws", "ignite", "checked", "exception", ",", "i", "o", "exception", "{", "return", "hadoop", "content", "summary", "(", "path", ")", ";", "}", "}", ",", "path", ")", ";" ]
[ "{" ]
[ "return", "with", "reconnect", "handling", "(", "new", "file", "system", "closure", "<", "boolean", ">", "(", ")", "{", "@", "override", "public", "boolean", "apply", "(", "hadoop", "igfs", "ex", "hadoop", ",", "igfs", "handshake", "response", "hnd", "resp", ")", "throws", "ignite", "checked", "exception", ",", "i", "o", "exception", "{", "return", "hadoop", "mkdirs", "(", "path", ",", "props", ")", ";", "}", "}", ",", "path", ")", ";" ]
[ "{" ]
[ "return", "with", "reconnect", "handling", "(", "new", "file", "system", "closure", "<", "collection", "<", "igfs", "file", ">", ">", "(", ")", "{", "@", "override", "public", "collection", "<", "igfs", "file", ">", "apply", "(", "hadoop", "igfs", "ex", "hadoop", ",", "igfs", "handshake", "response", "hnd", "resp", ")", "throws", "ignite", "checked", "exception", ",", "i", "o", "exception", "{", "return", "hadoop", "list", "files", "(", "path", ")", ";", "}", "}", ",", "path", ")", ";" ]
[ "{" ]
[ "return", "with", "reconnect", "handling", "(", "new", "file", "system", "closure", "<", "collection", "<", "igfs", "path", ">", ">", "(", ")", "{", "@", "override", "public", "collection", "<", "igfs", "path", ">", "apply", "(", "hadoop", "igfs", "ex", "hadoop", ",", "igfs", "handshake", "response", "hnd", "resp", ")", "throws", "ignite", "checked", "exception", ",", "i", "o", "exception", "{", "return", "hadoop", "list", "paths", "(", "path", ")", ";", "}", "}", ",", "path", ")", ";" ]
[ "{" ]
[ "return", "with", "reconnect", "handling", "(", "new", "file", "system", "closure", "<", "igfs", "status", ">", "(", ")", "{", "@", "override", "public", "igfs", "status", "apply", "(", "hadoop", "igfs", "ex", "hadoop", ",", "igfs", "handshake", "response", "hnd", "resp", ")", "throws", "ignite", "checked", "exception", ",", "i", "o", "exception", "{", "return", "hadoop", "fs", "status", "(", ")", ";", "}", "}", ")", ";" ]
[ "{" ]
[ "return", "with", "reconnect", "handling", "(", "new", "file", "system", "closure", "<", "hadoop", "igfs", "stream", "delegate", ">", "(", ")", "{", "@", "override", "public", "hadoop", "igfs", "stream", "delegate", "apply", "(", "hadoop", "igfs", "ex", "hadoop", ",", "igfs", "handshake", "response", "hnd", "resp", ")", "throws", "ignite", "checked", "exception", ",", "i", "o", "exception", "{", "return", "hadoop", "open", "(", "path", ")", ";", "}", "}", ",", "path", ")", ";" ]
[ "{" ]
[ "return", "with", "reconnect", "handling", "(", "new", "file", "system", "closure", "<", "hadoop", "igfs", "stream", "delegate", ">", "(", ")", "{", "@", "override", "public", "hadoop", "igfs", "stream", "delegate", "apply", "(", "hadoop", "igfs", "ex", "hadoop", ",", "igfs", "handshake", "response", "hnd", "resp", ")", "throws", "ignite", "checked", "exception", ",", "i", "o", "exception", "{", "return", "hadoop", "open", "(", "path", ",", "seq", "reads", "before", "prefetch", ")", ";", "}", "}", ",", "path", ")", ";" ]
[ "{" ]
[ "return", "with", "reconnect", "handling", "(", "new", "file", "system", "closure", "<", "hadoop", "igfs", "stream", "delegate", ">", "(", ")", "{", "@", "override", "public", "hadoop", "igfs", "stream", "delegate", "apply", "(", "hadoop", "igfs", "ex", "hadoop", ",", "igfs", "handshake", "response", "hnd", "resp", ")", "throws", "ignite", "checked", "exception", ",", "i", "o", "exception", "{", "return", "hadoop", "create", "(", "path", ",", "overwrite", ",", "colocate", ",", "replication", ",", "block", "size", ",", "props", ")", ";", "}", "}", ",", "path", ")", ";" ]
[ "{" ]
[ "return", "with", "reconnect", "handling", "(", "new", "file", "system", "closure", "<", "hadoop", "igfs", "stream", "delegate", ">", "(", ")", "{", "@", "override", "public", "hadoop", "igfs", "stream", "delegate", "apply", "(", "hadoop", "igfs", "ex", "hadoop", ",", "igfs", "handshake", "response", "hnd", "resp", ")", "throws", "ignite", "checked", "exception", ",", "i", "o", "exception", "{", "return", "hadoop", "append", "(", "path", ",", "create", ",", "props", ")", ";", "}", "}", ",", "path", ")", ";" ]
[ "execute", "closure", "which", "is", "not", "path", "-", "specific" ]
[ "return", "with", "reconnect", "handling", "(", "clo", ",", "null", ")", ";" ]
[ "close", "underlying", "rpc", "handler" ]
[ "if", "(", "close", "guard", "compare", "and", "set", "(", "false", ",", "true", ")", ")", "hadoop", "close", "(", "force", ")", ";" ]
[ "the", "default", "schema", "as", "defined", "in", "{", "@", "link", "org", "jooq", "schema", "#", "get", "name", "(", ")", "}", "<", "p", ">", "this", "schema", "will", "be", "omitted", "in", "rendered", "sql" ]
[ "return", "default", "schema", ";" ]
[ "this", "call", "is", "accessed", "from", "server", "side" ]
[ "if", "(", "version", "get", "value", "(", ")", ">", "=", "hive", "cli", "service", "protocol", "v6", "get", "value", "(", ")", ")", "{", "return", "new", "column", "based", "set", "(", "schema", ",", "is", "blob", "based", ")", ";", "}", "return", "new", "row", "based", "set", "(", "schema", ")", ";" ]
[ "this", "call", "is", "accessed", "from", "client", "(", "jdbc", ")", "side" ]
[ "if", "(", "version", "get", "value", "(", ")", ">", "=", "hive", "cli", "service", "protocol", "v6", "get", "value", "(", ")", ")", "{", "return", "new", "column", "based", "set", "(", "results", ")", ";", "}", "return", "new", "row", "based", "set", "(", "results", ")", ";" ]
[ "start", "{", "@", "link", "database", "upgrade", "service", "}" ]
[ "intent", "i", "=", "new", "intent", "(", ")", ";", "i", "set", "class", "(", "context", ",", "database", "upgrade", "service", "class", ")", ";", "i", "set", "action", "(", "database", "upgrade", "service", "action", "start", "service", ")", ";", "context", "start", "service", "(", "i", ")", ";" ]
[ "acquire", "a", "partial", "wake", "lock", "so", "the", "cpu", "won", "t", "go", "to", "sleep", "when", "the", "screen", "is", "turned", "off" ]
[ "tracing", "power", "manager", "pm", "=", "tracing", "power", "manager", "get", "power", "manager", "(", "this", ")", ";", "m", "wake", "lock", "=", "pm", "new", "wake", "lock", "(", "power", "manager", "partial", "wake", "lock", ",", "wakelock", "tag", ")", ";", "m", "wake", "lock", "set", "reference", "counted", "(", "false", ")", ";", "m", "wake", "lock", "acquire", "(", "wakelock", "timeout", ")", ";" ]
[ "release", "the", "wake", "lock" ]
[ "m", "wake", "lock", "release", "(", ")", ";" ]
[ "get", "text", "output", "for", "the", "given", "inode" ]
[ "abstract", "protected", "string", "get", "entry", "(", "string", "parent", ",", "i", "node", "inode", ")", ";" ]
[ "attach", "comments", "to", "nodes", "on", "arguments", "of", "constructor", "calls", "calls", "such", "as", "{", "@", "code", "new", "test", "(", "param", "1", "/", "*", "c", "1", "*", "&", "#", "47", ";", "/", "*", "c", "2", "*", "&", "#", "47", ";", "param", "2", ")", "}", "will", "attach", "the", "comment", "c", "1", "to", "{", "@", "code", "param", "1", "}", "and", "the", "comment", "c", "2", "to", "{", "@", "code", "param", "2", "}" ]
[ "int", "start", "position", "=", "(", "(", "j", "c", "tree", ")", "new", "class", "tree", ")", "get", "start", "position", "(", ")", ";", "return", "find", "comments", "for", "arguments", "(", "new", "class", "tree", ",", "new", "class", "tree", "get", "arguments", "(", ")", ",", "start", "position", ",", "state", ")", ";" ]
[ "attach", "comments", "to", "nodes", "on", "arguments", "of", "method", "calls", "calls", "such", "as", "{", "@", "code", "test", "(", "param", "1", "/", "*", "c", "1", "*", "&", "#", "47", ";", "/", "*", "c", "2", "*", "&", "#", "47", ";", "param", "2", ")", "}", "will", "attach", "the", "comment", "c", "1", "to", "{", "@", "code", "param", "1", "}", "and", "the", "comment", "c", "2", "to", "{", "@", "code", "param", "2", "}" ]
[ "int", "start", "position", "=", "state", "get", "end", "position", "(", "method", "invocation", "tree", "get", "method", "select", "(", ")", ")", ";", "return", "find", "comments", "for", "arguments", "(", "method", "invocation", "tree", ",", "method", "invocation", "tree", "get", "arguments", "(", ")", ",", "start", "position", ",", "state", ")", ";" ]
[ "find", "the", "node", "which", "(", "approximately", ")", "follows", "this", "one", "in", "the", "tree", "this", "works", "by", "walking", "upwards", "to", "find", "enclosing", "block", "(", "or", "class", ")", "and", "then", "looking", "for", "the", "node", "after", "the", "subtree", "we", "walked", "if", "our", "subtree", "is", "the", "last", "of", "the", "block", "then", "we", "return", "the", "node", "for", "the", "block", "instead", "if", "we", "can", "t", "find", "a", "suitable", "block", "we", "return", "the", "parent", "node" ]
[ "tree", "predecessor", "node", "=", "current", ";", "tree", "path", "enclosing", "path", "=", "state", "get", "path", "(", ")", ";", "while", "(", "enclosing", "path", "!", "=", "null", "&", "&", "!", "(", "enclosing", "path", "get", "leaf", "(", ")", "instanceof", "block", "tree", ")", "&", "&", "!", "(", "enclosing", "path", "get", "leaf", "(", ")", "instanceof", "class", "tree", ")", ")", "{", "predecessor", "node", "=", "enclosing", "path", "get", "leaf", "(", ")", ";", "enclosing", "path", "=", "enclosing", "path", "get", "parent", "path", "(", ")", ";", "}", "if", "(", "enclosing", "path", "=", "=", "null", ")", "{", "return", "state", "get", "path", "(", ")", "get", "parent", "path", "(", ")", "get", "leaf", "(", ")", ";", "}", "tree", "parent", "=", "enclosing", "path", "get", "leaf", "(", ")", ";", "if", "(", "parent", "instanceof", "block", "tree", ")", "{", "return", "after", "(", "predecessor", "node", ",", "(", "(", "block", "tree", ")", "parent", ")", "get", "statements", "(", ")", ",", "parent", ")", ";", "}", "else", "if", "(", "parent", "instanceof", "class", "tree", ")", "{", "return", "after", "(", "predecessor", "node", ",", "(", "(", "class", "tree", ")", "parent", ")", "get", "members", "(", ")", ",", "parent", ")", ";", "}", "return", "parent", ";" ]
[ "find", "the", "element", "in", "the", "iterable", "following", "the", "target" ]
[ "iterator", "<", "?", "extends", "t", ">", "iterator", "=", "iterable", "iterator", "(", ")", ";", "while", "(", "iterator", "has", "next", "(", ")", ")", "{", "if", "(", "iterator", "next", "(", ")", "equals", "(", "target", ")", ")", "{", "break", ";", "}", "}", "if", "(", "iterator", "has", "next", "(", ")", ")", "{", "return", "iterator", "next", "(", ")", ";", "}", "return", "default", "value", ";" ]
[ "returns", "the", "final", "result", "the", "object", "should", "not", "be", "used", "after", "calling", "this", "method" ]
[ "if", "(", "previous", "commented", "result", "builder", "!", "=", "null", ")", "{", "result", "builder", "add", "(", "previous", "commented", "result", "builder", "build", "(", ")", ")", ";", "}", "if", "(", "current", "commented", "result", "builder", "!", "=", "null", ")", "{", "result", "builder", "add", "(", "current", "commented", "result", "builder", "build", "(", ")", ")", ";", "}", "return", "result", "builder", "build", "(", ")", ";" ]
[ "returns", "true", "if", "field", "part", "archive", "level", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "return", "encoding", "utils", "test", "bit", "(", "isset", "bitfield", ",", "partarchivelevel", "isset", "id", ")", ";" ]
[ "returns", "true", "if", "field", "corresponding", "to", "field", "i", "d", "is", "set", "(", "has", "been", "assigned", "a", "value", ")", "and", "false", "otherwise" ]
[ "if", "(", "field", "=", "=", "null", ")", "{", "throw", "new", "illegal", "argument", "exception", "(", ")", ";", "}", "switch", "(", "field", ")", "{", "case", "expr", ":", "return", "is", "set", "expr", "(", ")", ";", "case", "part", "archive", "level", ":", "return", "is", "set", "part", "archive", "level", "(", ")", ";", "}", "throw", "new", "illegal", "state", "exception", "(", ")", ";" ]
[ "if", "doing", "minibatch", "training", "or", "not", "default", ":", "true", "under", "most", "circumstances", "this", "should", "be", "set", "to", "true", "if", "doing", "full", "batch", "training", "(", "i", "e", "all", "examples", "in", "a", "single", "data", "set", "object", "-", "very", "small", "data", "sets", ")", "then", "this", "should", "be", "set", "to", "false", "affects", "how", "global", "mean", "/", "variance", "estimates", "are", "calculated" ]
[ "this", "is", "minibatch", "=", "minibatch", ";", "return", "this", ";" ]
[ "used", "only", "when", "true", "is", "passed", "to", "{", "@", "link", "#", "lock", "gamma", "beta", "(", "boolean", ")", "}", "value", "is", "not", "used", "otherwise", "<", "br", ">", "default", ":", "1", "0" ]
[ "this", "gamma", "=", "gamma", ";", "return", "this", ";" ]
[ "epsilon", "value", "for", "batch", "normalization", ";", "small", "floating", "point", "value", "added", "to", "variance", "(", "algorithm", "1", "in", "<", "a", "href", "=", "http", ":", "/", "/", "arxiv", "org", "/", "pdf", "/", "1502", "0", "3", "1", "6", "7v", "3", "pdf", ">", "http", ":", "/", "/", "arxiv", "org", "/", "pdf", "/", "1502", "0", "3", "1", "6", "7v", "3", "pdf", "<", "/", "a", ">", ")", "to", "reduce", "/", "avoid", "underflow", "issues", "<", "br", ">", "default", ":", "1e", "-", "5" ]
[ "this", "eps", "=", "eps", ";", "return", "this", ";" ]
[ "at", "test", "time", ":", "we", "can", "use", "a", "global", "estimate", "of", "the", "mean", "and", "variance", "calculated", "using", "a", "moving", "average", "of", "the", "batch", "means", "/", "variances", "this", "moving", "average", "is", "implemented", "as", ":", "<", "br", ">", "global", "mean", "estimate", "=", "decay", "*", "global", "mean", "estimate", "+", "(", "1", "-", "decay", ")", "*", "batch", "mean", "<", "br", ">", "global", "variance", "estimate", "=", "decay", "*", "global", "variance", "estimate", "+", "(", "1", "-", "decay", ")", "*", "batch", "variance", "<", "br", ">" ]
[ "this", "decay", "=", "decay", ";", "return", "this", ";" ]
[ "if", "set", "to", "true", ":", "lock", "the", "gamma", "and", "beta", "parameters", "to", "the", "values", "for", "each", "activation", "specified", "by", "{", "@", "link", "#", "gamma", "(", "double", ")", "}", "and", "{", "@", "link", "#", "beta", "(", "double", ")", "}", "default", ":", "false", "-", ">", "learn", "gamma", "and", "beta", "parameter", "values", "during", "network", "training" ]
[ "this", "lock", "gamma", "beta", "=", "lock", "gamma", "beta", ";", "return", "this", ";" ]
[ "set", "constraints", "to", "be", "applied", "to", "the", "beta", "parameter", "of", "this", "batch", "normalisation", "layer", "default", ":", "no", "constraints", "<", "br", ">", "constraints", "can", "be", "used", "to", "enforce", "certain", "conditions", "(", "non", "-", "negativity", "of", "parameters", "max", "-", "norm", "regularization", "etc", ")", "these", "constraints", "are", "applied", "at", "each", "iteration", "after", "the", "parameters", "have", "been", "updated" ]
[ "this", "beta", "constraints", "=", "arrays", "as", "list", "(", "constraints", ")", ";", "return", "this", ";" ]
[ "set", "constraints", "to", "be", "applied", "to", "the", "gamma", "parameter", "of", "this", "batch", "normalisation", "layer", "default", ":", "no", "constraints", "<", "br", ">", "constraints", "can", "be", "used", "to", "enforce", "certain", "conditions", "(", "non", "-", "negativity", "of", "parameters", "max", "-", "norm", "regularization", "etc", ")", "these", "constraints", "are", "applied", "at", "each", "iteration", "after", "the", "parameters", "have", "been", "updated" ]
[ "this", "gamma", "constraints", "=", "arrays", "as", "list", "(", "constraints", ")", ";", "return", "this", ";" ]
[ "start", "a", "new", "term", "note", "that", "a", "matching", "call", "to", "{" ]
[ "public", "abstract", "void", "start", "term", "(", "numeric", "doc", "values", "norms", ")", "throws", "i", "o", "exception", ";" ]
[ "finishes", "the", "current", "term", "the", "provided", "{" ]
[ "public", "abstract", "void", "finish", "term", "(", "block", "term", "state", "state", ")", "throws", "i", "o", "exception", ";" ]
[ "sets", "the", "current", "field", "for", "writing", "and", "returns", "the", "fixed", "length", "of", "long", "[", "]", "metadata", "(", "which", "is", "fixed", "per", "field", ")", "called", "when", "the", "writing", "switches", "to", "another", "field" ]
[ "this", "field", "info", "=", "field", "info", ";", "index", "options", "=", "field", "info", "get", "index", "options", "(", ")", ";", "write", "freqs", "=", "index", "options", "compare", "to", "(", "index", "options", "docs", "and", "freqs", ")", ">", "=", "0", ";", "write", "positions", "=", "index", "options", "compare", "to", "(", "index", "options", "docs", "and", "freqs", "and", "positions", ")", ">", "=", "0", ";", "write", "offsets", "=", "index", "options", "compare", "to", "(", "index", "options", "docs", "and", "freqs", "and", "positions", "and", "offsets", ")", ">", "=", "0", ";", "write", "payloads", "=", "field", "info", "has", "payloads", "(", ")", ";", "if", "(", "write", "freqs", "=", "=", "false", ")", "{", "enum", "flags", "=", "0", ";", "}", "else", "if", "(", "write", "positions", "=", "=", "false", ")", "{", "enum", "flags", "=", "postings", "enum", "freqs", ";", "}", "else", "if", "(", "write", "offsets", "=", "=", "false", ")", "{", "if", "(", "write", "payloads", ")", "{", "enum", "flags", "=", "postings", "enum", "payloads", ";", "}", "else", "{", "enum", "flags", "=", "postings", "enum", "positions", ";", "}", "}", "else", "{", "if", "(", "write", "payloads", ")", "{", "enum", "flags", "=", "postings", "enum", "payloads", "|", "postings", "enum", "offsets", ";", "}", "else", "{", "enum", "flags", "=", "postings", "enum", "offsets", ";", "}", "}", "return", "0", ";" ]
[ "adds", "a", "new", "doc", "in", "this", "term", "<", "code", ">", "freq", "<", "/", "code", ">", "will", "be", "-", "1", "when", "term", "frequencies", "are", "omitted", "for", "the", "field" ]
[ "public", "abstract", "void", "start", "doc", "(", "int", "doc", "i", "d", ",", "int", "freq", ")", "throws", "i", "o", "exception", ";" ]
[ "add", "a", "new", "position", "and", "payload", "and", "start", "/", "end", "offset", "a", "null", "payload", "means", "no", "payload", ";", "a", "non", "-", "null", "payload", "with", "zero", "length", "also", "means", "no", "payload", "caller", "may", "reuse", "the", "{" ]
[ "public", "abstract", "void", "add", "position", "(", "int", "position", ",", "bytes", "ref", "payload", ",", "int", "start", "offset", ",", "int", "end", "offset", ")", "throws", "i", "o", "exception", ";" ]
[ "called", "when", "we", "are", "done", "adding", "positions", "and", "payloads", "for", "each", "doc" ]
[ "public", "abstract", "void", "finish", "doc", "(", ")", "throws", "i", "o", "exception", ";" ]