docstring_tokens
list
code_tokens
list
[ "should", "get", "overridden", "by", "implementations", "which", "support", "blob", "messages" ]
[ "return", "false", ";" ]
[ "if", "enabled", "and", "you", "are", "using", "request", "reply", "messaging", "(", "in", "out", ")", "and", "an", "exchange", "failed", "with", "a", "soap", "fault", "(", "not", "exception", ")", "on", "the", "consumer", "side", "then", "the", "fault", "flag", "on", "{" ]
[ "this", "transfer", "fault", "=", "transfer", "fault", ";" ]
[ "when", "using", "map", "jms", "message", "=", "false", "camel", "will", "create", "a", "new", "jms", "message", "to", "send", "to", "a", "new", "jms", "destination", "if", "you", "touch", "the", "headers", "(", "get", "or", "set", ")", "during", "the", "route", "set", "this", "option", "to", "true", "to", "force", "camel", "to", "send", "the", "original", "jms", "message", "that", "was", "received" ]
[ "this", "force", "send", "original", "message", "=", "force", "send", "original", "message", ";" ]
[ "use", "this", "option", "to", "force", "disabling", "time", "to", "live", "for", "example", "when", "you", "do", "request", "/", "reply", "over", "jms", "then", "camel", "will", "by", "default", "use", "the", "request", "timeout", "value", "as", "time", "to", "live", "on", "the", "message", "being", "sent", "the", "problem", "is", "that", "the", "sender", "and", "receiver", "systems", "have", "to", "have", "their", "clocks", "synchronized", "so", "they", "are", "in", "sync", "this", "is", "not", "always", "so", "easy", "to", "archive", "so", "you", "can", "use", "disable", "time", "to", "live", "=", "true", "to", "not", "set", "a", "time", "to", "live", "value", "on", "the", "sent", "message", "then", "the", "message", "will", "not", "expire", "on", "the", "receiver", "system", "see", "below", "in", "section", "about", "time", "to", "live", "for", "more", "details" ]
[ "this", "disable", "time", "to", "live", "=", "disable", "time", "to", "live", ";" ]
[ "whether", "the", "jms", "consumer", "processes", "the", "exchange", "asynchronously", "if", "enabled", "then", "the", "jms", "consumer", "may", "pickup", "the", "next", "message", "from", "the", "jms", "queue", "while", "the", "previous", "message", "is", "being", "processed", "asynchronously", "(", "by", "the", "asynchronous", "routing", "engine", ")", "this", "means", "that", "messages", "may", "be", "processed", "not", "100", "%", "strictly", "in", "order", "if", "disabled", "(", "as", "default", ")", "then", "the", "exchange", "is", "fully", "processed", "before", "the", "jms", "consumer", "will", "pickup", "the", "next", "message", "from", "the", "jms", "queue", "note", "if", "transacted", "has", "been", "enabled", "then", "async", "consumer", "=", "true", "does", "not", "run", "asynchronously", "as", "transaction", "must", "be", "executed", "synchronously", "(", "camel", "3", "0", "may", "support", "async", "transactions", ")" ]
[ "this", "async", "consumer", "=", "async", "consumer", ";" ]
[ "sets", "the", "cache", "level", "by", "name", "for", "the", "reply", "consumer", "when", "doing", "request", "/", "reply", "over", "jms", "this", "option", "only", "applies", "when", "using", "fixed", "reply", "queues", "(", "not", "temporary", ")", "camel", "will", "by", "default", "use", ":", "cache", "consumer", "for", "exclusive", "or", "shared", "w", "/", "reply", "to", "selector", "name", "and", "cache", "session", "for", "shared", "without", "reply", "to", "selector", "name", "some", "jms", "brokers", "such", "as", "ibm", "web", "sphere", "may", "require", "to", "set", "the", "reply", "to", "cache", "level", "name", "=", "cache", "none", "to", "work", "note", ":", "if", "using", "temporary", "queues", "then", "cache", "none", "is", "not", "allowed", "and", "you", "must", "use", "a", "higher", "value", "such", "as", "cache", "consumer", "or", "cache", "session" ]
[ "this", "reply", "to", "cache", "level", "name", "=", "name", ";" ]
[ "only", "applicable", "when", "sending", "to", "jms", "destination", "using", "in", "only", "(", "eg", "fire", "and", "forget", ")", "enabling", "this", "option", "will", "enrich", "the", "camel", "exchange", "with", "the", "actual", "j", "m", "s", "message", "i", "d", "that", "was", "used", "by", "the", "jms", "client", "when", "the", "message", "was", "sent", "to", "the", "jms", "destination" ]
[ "this", "include", "sent", "j", "m", "s", "message", "i", "d", "=", "include", "sent", "j", "m", "s", "message", "i", "d", ";" ]
[ "use", "this", "jms", "property", "to", "correlate", "messages", "in", "in", "out", "exchange", "pattern", "(", "request", "-", "reply", ")", "instead", "of", "j", "m", "s", "correlation", "i", "d", "property", "this", "allows", "you", "to", "exchange", "messages", "with", "systems", "that", "do", "not", "correlate", "messages", "using", "j", "m", "s", "correlation", "i", "d", "jms", "property", "if", "used", "j", "m", "s", "correlation", "i", "d", "will", "not", "be", "used", "or", "set", "by", "camel", "the", "value", "of", "here", "named", "property", "will", "be", "generated", "if", "not", "supplied", "in", "the", "header", "of", "the", "message", "under", "the", "same", "name" ]
[ "this", "correlation", "property", "=", "correlation", "property", ";" ]
[ "set", "whether", "to", "make", "the", "subscription", "durable", "the", "durable", "subscription", "name", "to", "be", "used", "can", "be", "specified", "through", "the", "subscription", "name", "property", "<", "p", ">", "default", "is", "false", "set", "this", "to", "true", "to", "register", "a", "durable", "subscription", "typically", "in", "combination", "with", "a", "subscription", "name", "value", "(", "unless", "your", "message", "listener", "class", "name", "is", "good", "enough", "as", "subscription", "name", ")", "<", "p", ">", "only", "makes", "sense", "when", "listening", "to", "a", "topic", "(", "pub", "-", "sub", "domain", ")", "therefore", "this", "method", "switches", "the", "pub", "sub", "domain", "flag", "as", "well" ]
[ "this", "subscription", "durable", "=", "subscription", "durable", ";" ]
[ "set", "whether", "to", "make", "the", "subscription", "shared", "the", "shared", "subscription", "name", "to", "be", "used", "can", "be", "specified", "through", "the", "subscription", "name", "property", "<", "p", ">", "default", "is", "false", "set", "this", "to", "true", "to", "register", "a", "shared", "subscription", "typically", "in", "combination", "with", "a", "subscription", "name", "value", "(", "unless", "your", "message", "listener", "class", "name", "is", "good", "enough", "as", "subscription", "name", ")", "note", "that", "shared", "subscriptions", "may", "also", "be", "durable", "so", "this", "flag", "can", "(", "and", "often", "will", ")", "be", "combined", "with", "subscription", "durable", "as", "well", "<", "p", ">", "only", "makes", "sense", "when", "listening", "to", "a", "topic", "(", "pub", "-", "sub", "domain", ")", "therefore", "this", "method", "switches", "the", "pub", "sub", "domain", "flag", "as", "well", "<", "p", ">", "<", "b", ">", "requires", "a", "jms", "2", "0", "compatible", "message", "broker", "<", "/", "b", ">" ]
[ "this", "subscription", "shared", "=", "subscription", "shared", ";" ]
[ "sets", "whether", "stream", "message", "type", "is", "enabled", "or", "not", "message", "payloads", "of", "streaming", "kind", "such", "as", "files", "input", "stream", "etc", "will", "either", "by", "sent", "as", "bytes", "message", "or", "stream", "message", "this", "option", "controls", "which", "kind", "will", "be", "used", "by", "default", "bytes", "message", "is", "used", "which", "enforces", "the", "entire", "message", "payload", "to", "be", "read", "into", "memory", "by", "enabling", "this", "option", "the", "message", "payload", "is", "read", "into", "memory", "in", "chunks", "and", "each", "chunk", "is", "then", "written", "to", "the", "stream", "message", "until", "no", "more", "data" ]
[ "this", "stream", "message", "type", "enabled", "=", "stream", "message", "type", "enabled", ";" ]
[ "gets", "whether", "date", "headers", "should", "be", "formatted", "according", "to", "the", "iso", "8601", "standard" ]
[ "return", "format", "date", "headers", "to", "iso", "8", "6", "0", "1", ";" ]
[ "sets", "whether", "date", "headers", "should", "be", "formatted", "according", "to", "the", "iso", "8601", "standard" ]
[ "this", "format", "date", "headers", "to", "iso", "8", "6", "0", "1", "=", "format", "date", "headers", "to", "iso", "8", "6", "0", "1", ";" ]
[ "get", "the", "file", "s", "block", "locations" ]
[ "return", "locations", ";" ]
[ "gets", "an", "output", "stream", "that", "uses", "the", "snappy", "codec", "and", "wraps", "the", "supplied", "base", "output", "stream" ]
[ "return", "get", "snappy", "output", "stream", "(", "hadoop", "snappy", "compression", "provider", "io", "compression", "codec", "snappy", "default", "buffersize", ",", "out", ")", ";" ]
[ "this", "test", "tests", "the", "behavior", "of", "closing", "resources", "via", "reflection", "this", "is", "only", "enabled", "below", "api", "19", "so", "if", "the", "api", "level", "is", "19", "or", "above", "this", "test", "will", "simply", "skip" ]
[ "class", "resource", "extends", "abstract", "resource", "{", "protected", "resource", "(", "boolean", "exception", "on", "close", ")", "{", "super", "(", "exception", "on", "close", ")", ";", "}", "public", "void", "close", "(", ")", "throws", "exception", "{", "super", "internal", "close", "(", ")", ";", "}", "}", "if", "(", "throwable", "extension", "api", "level", ">", "=", "19", ")", "{", "return", ";", "}", "{", "resource", "r", "=", "new", "resource", "(", "false", ")", ";", "assert", "that", "(", "r", "is", "closed", "(", ")", ")", "is", "false", "(", ")", ";", "throwable", "extension", "close", "resource", "(", "null", ",", "r", ")", ";", "assert", "that", "(", "r", "is", "closed", "(", ")", ")", "is", "true", "(", ")", ";", "}", "{", "resource", "r", "=", "new", "resource", "(", "true", ")", ";", "assert", "that", "(", "r", "is", "closed", "(", ")", ")", "is", "false", "(", ")", ";", "assert", "throws", "(", "i", "o", "exception", "class", ",", "(", ")", "-", ">", "throwable", "extension", "close", "resource", "(", "null", ",", "r", ")", ")", ";", "}", "{", "resource", "r", "=", "new", "resource", "(", "false", ")", ";", "assert", "that", "(", "r", "is", "closed", "(", ")", ")", "is", "false", "(", ")", ";", "throwable", "extension", "close", "resource", "(", "new", "exception", "(", ")", ",", "r", ")", ";", "assert", "that", "(", "r", "is", "closed", "(", ")", ")", "is", "true", "(", ")", ";", "}", "{", "resource", "r", "=", "new", "resource", "(", "true", ")", ";", "assert", "that", "(", "r", "is", "closed", "(", ")", ")", "is", "false", "(", ")", ";", "assert", "throws", "(", "exception", "class", ",", "(", ")", "-", ">", "throwable", "extension", "close", "resource", "(", "new", "exception", "(", ")", ",", "r", ")", ")", ";", "}" ]
[ "lightweight", "stack", "trace", "recorder", "tracks", "the", "calls", "of", "various", "print", "stack", "trace", "(", "*", ")", "and", "ensures", "that" ]
[ "mimic", "desugaring", "strategy", "strategy", "=", "new", "mimic", "desugaring", "strategy", "(", ")", ";", "exception", "for", "test", "receiver", "=", "new", "exception", "for", "test", "(", "strategy", ")", ";", "file", "not", "found", "exception", "suppressed", "=", "new", "file", "not", "found", "exception", "(", ")", ";", "strategy", "add", "suppressed", "(", "receiver", ",", "suppressed", ")", ";", "string", "trace", "=", "print", "stack", "trace", "stderr", "to", "string", "(", "(", ")", "-", ">", "strategy", "print", "stack", "trace", "(", "receiver", ")", ")", ";", "assert", "that", "(", "trace", ")", "contains", "(", "suppressed", "prefix", ")", ";", "assert", "that", "(", "count", "occurrences", "(", "trace", ",", "suppressed", "prefix", ")", ")", "is", "equal", "to", "(", "1", ")", ";" ]
[ "this", "method", "should", "call", "this", "print", "stack", "trace", "(", "print", "writer", ")", "directly", "i", "deliberately", "change", "it", "to", "strategy", "print", "stack", "trace", "(", "throwable", "print", "writer", ")", "to", "simulate", "the", "behavior", "of", "desguar", "that", "is", "the", "direct", "call", "is", "intercepted", "and", "redirected", "to", "throwable", "extension" ]
[ "this", "strategy", "print", "stack", "trace", "(", "this", ",", "new", "print", "writer", "(", "new", "buffered", "writer", "(", "new", "output", "stream", "writer", "(", "s", ",", "utf", "8", ")", ")", ")", ")", ";" ]
[ "<", "p", ">", "the", "device", "s", "final", "claim", "state", "<", "/", "p", ">" ]
[ "set", "state", "(", "state", ")", ";", "return", "this", ";" ]
[ "calculates", "the", "area", "while", "applying", "the", "minimum", "side", "length" ]
[ "return", "math", "max", "(", "min", "side", "length", ",", "width", ")", "*", "math", "max", "(", "min", "side", "length", ",", "height", ")", ";" ]
[ "like", "#", "save", "but", "swallows", "the", "exception", "and", "returns", "null" ]
[ "try", "{", "return", "save", "(", "pattern", ")", ";", "}", "catch", "(", "validation", "exception", "e", ")", "{", "return", "null", ";", "}" ]
[ "called", "by", "{" ]
[ "active", "probe", "operators", "retain", "(", ")", ";", "if", "(", "pages", "spatial", "index", "!", "=", "null", ")", "{", "return", "immediate", "future", "(", "pages", "spatial", "index", "get", "(", ")", ")", ";", "}", "settable", "future", "<", "pages", "spatial", "index", ">", "future", "=", "settable", "future", "create", "(", ")", ";", "pages", "spatial", "index", "futures", "add", "(", "future", ")", ";", "return", "future", ";" ]
[ "called", "by", "spatial", "join", "operator", "factory", "to", "indicate", "that", "all", "{" ]
[ "active", "probe", "operators", "release", "(", ")", ";", "if", "(", "active", "probe", "operators", "get", "free", "future", "(", ")", "is", "done", "(", ")", ")", "{", "pages", "spatial", "index", "=", "null", ";", "}" ]
[ "called", "by", "{" ]
[ "active", "probe", "operators", "release", "(", ")", ";", "if", "(", "active", "probe", "operators", "get", "free", "future", "(", ")", "is", "done", "(", ")", ")", "{", "pages", "spatial", "index", "=", "null", ";", "}" ]
[ "copy", "information", "from", "the", "meta", "-", "data", "input", "to", "the", "dialog", "fields" ]
[ "w", "type", "select", "(", "input", "get", "type", "by", "desc", "(", ")", ")", ";", "if", "(", "input", "get", "result", "field", "name", "(", ")", "!", "=", "null", ")", "{", "w", "result", "set", "text", "(", "input", "get", "result", "field", "name", "(", ")", ")", ";", "}", "w", "result", "type", "set", "text", "(", "input", "get", "result", "type", "desc", "(", "input", "get", "result", "type", "(", ")", ")", ")", ";", "w", "compatibility", "set", "selection", "(", "input", "is", "compatibility", "mode", "(", ")", ")", ";", "w", "old", "checksum", "behaviour", "set", "selection", "(", "input", "is", "old", "checksum", "behaviour", "(", ")", ")", ";", "table", "table", "=", "w", "fields", "table", ";", "if", "(", "input", "get", "field", "name", "(", ")", "length", ">", "0", ")", "{", "table", "remove", "all", "(", ")", ";", "}", "for", "(", "int", "i", "=", "0", ";", "i", "<", "input", "get", "field", "name", "(", ")", "length", ";", "i", "+", "+", ")", "{", "table", "item", "ti", "=", "new", "table", "item", "(", "table", ",", "swt", "none", ")", ";", "ti", "set", "text", "(", "0", ",", "\"", "\"", "+", "(", "i", "+", "1", ")", ")", ";", "ti", "set", "text", "(", "1", ",", "input", "get", "field", "name", "(", ")", "[", "i", "]", ")", ";", "}", "w", "fields", "set", "row", "nums", "(", ")", ";", "w", "fields", "opt", "width", "(", "true", ")", ";", "w", "stepname", "select", "all", "(", ")", ";", "w", "stepname", "set", "focus", "(", ")", ";" ]
[ "<", "p", ">", "the", "device", "s", "final", "claim", "state", "<", "/", "p", ">" ]
[ "set", "state", "(", "state", ")", ";", "return", "this", ";" ]
[ "{" ]
[ "return", "new", "random", "access", "file", "i", "o", "(", "file", ",", "modes", ")", ";" ]
[ "tests", "that", "the", "standalone", "leader", "election", "services", "return", "a", "fixed", "address", "and", "leader", "session", "id" ]
[ "job", "i", "d", "job", "id", "=", "new", "job", "i", "d", "(", ")", ";", "leader", "contender", "jm", "leader", "contender", "=", "mock", "(", "leader", "contender", "class", ")", ";", "leader", "contender", "rm", "leader", "contender", "=", "mock", "(", "leader", "contender", "class", ")", ";", "leader", "election", "service", "jm", "leader", "election", "service", "=", "standalone", "ha", "services", "get", "job", "manager", "leader", "election", "service", "(", "job", "id", ")", ";", "leader", "election", "service", "rm", "leader", "election", "service", "=", "standalone", "ha", "services", "get", "resource", "manager", "leader", "election", "service", "(", ")", ";", "jm", "leader", "election", "service", "start", "(", "jm", "leader", "contender", ")", ";", "rm", "leader", "election", "service", "start", "(", "rm", "leader", "contender", ")", ";", "verify", "(", "jm", "leader", "contender", ")", "grant", "leadership", "(", "eq", "(", "high", "availability", "services", "default", "leader", "id", ")", ")", ";", "verify", "(", "rm", "leader", "contender", ")", "grant", "leadership", "(", "eq", "(", "high", "availability", "services", "default", "leader", "id", ")", ")", ";" ]
[ "tests", "that", "the", "standalone", "leader", "retrieval", "services", "return", "the", "specified", "address", "and", "the", "fixed", "leader", "session", "id" ]
[ "job", "i", "d", "job", "id", "1", "=", "new", "job", "i", "d", "(", ")", ";", "job", "i", "d", "job", "id", "2", "=", "new", "job", "i", "d", "(", ")", ";", "leader", "retrieval", "listener", "jm", "listener", "1", "=", "mock", "(", "leader", "retrieval", "listener", "class", ")", ";", "leader", "retrieval", "listener", "jm", "listener", "2", "=", "mock", "(", "leader", "retrieval", "listener", "class", ")", ";", "leader", "retrieval", "listener", "rm", "listener", "=", "mock", "(", "leader", "retrieval", "listener", "class", ")", ";", "leader", "retrieval", "service", "jm", "leader", "retrieval", "service", "1", "=", "standalone", "ha", "services", "get", "job", "manager", "leader", "retriever", "(", "job", "id", "1", ")", ";", "leader", "retrieval", "service", "jm", "leader", "retrieval", "service", "2", "=", "standalone", "ha", "services", "get", "job", "manager", "leader", "retriever", "(", "job", "id", "2", ")", ";", "leader", "retrieval", "service", "rm", "leader", "retrieval", "service", "=", "standalone", "ha", "services", "get", "resource", "manager", "leader", "retriever", "(", ")", ";", "jm", "leader", "retrieval", "service", "1", "start", "(", "jm", "listener", "1", ")", ";", "jm", "leader", "retrieval", "service", "2", "start", "(", "jm", "listener", "2", ")", ";", "rm", "leader", "retrieval", "service", "start", "(", "rm", "listener", ")", ";", "verify", "(", "jm", "listener", "1", ")", "notify", "leader", "address", "(", "eq", "(", "job", "manager", "address", ")", ",", "eq", "(", "high", "availability", "services", "default", "leader", "id", ")", ")", ";", "verify", "(", "jm", "listener", "2", ")", "notify", "leader", "address", "(", "eq", "(", "job", "manager", "address", ")", ",", "eq", "(", "high", "availability", "services", "default", "leader", "id", ")", ")", ";", "verify", "(", "rm", "listener", ")", "notify", "leader", "address", "(", "eq", "(", "resource", "manager", "address", ")", ",", "eq", "(", "high", "availability", "services", "default", "leader", "id", ")", ")", ";" ]
[ "compares", "priority", "of", "this", "group", "with", "respect", "to", "another", "scheduler", "group", "priority", "is", "compared", "on", "the", "basis", "of", "available", "tokens", "scheduler", "group", "with", "higher", "number", "of", "tokens", "wins", "if", "both", "groups", "have", "same", "tokens", "then", "the", "group", "with", "earliest", "waiting", "job", "has", "higher", "priority", "(", "fcfs", "if", "tokens", "are", "equal", ")", "if", "the", "arrival", "times", "of", "first", "waiting", "jobs", "are", "also", "equal", "then", "the", "group", "with", "least", "reserved", "resources", "is", "selected" ]
[ "if", "(", "rhs", "=", "=", "null", ")", "{", "return", "1", ";", "}", "if", "(", "this", "=", "=", "rhs", ")", "{", "return", "0", ";", "}", "int", "left", "tokens", "=", "get", "available", "tokens", "(", ")", ";", "int", "right", "tokens", "=", "(", "(", "token", "scheduler", "group", ")", "rhs", ")", "get", "available", "tokens", "(", ")", ";", "if", "(", "left", "tokens", ">", "right", "tokens", ")", "{", "return", "1", ";", "}", "if", "(", "left", "tokens", "<", "right", "tokens", ")", "{", "return", "-", "1", ";", "}", "return", "f", "c", "f", "s", "scheduler", "group", "compare", "(", "this", ",", "(", "scheduler", "group", ")", "rhs", ")", ";" ]
[ "<", "p", ">", "the", "name", "that", "you", "want", "elastic", "transcoder", "to", "assign", "to", "the", "master", "playlist", "for", "example", "nyc", "-", "vacation", "m", "3u", "8", "if", "the", "name", "includes", "a", "<", "code", ">", "/", "<", "/", "code", ">", "character", "the", "section", "of", "the", "name", "before", "the", "last", "<", "code", ">", "/", "<", "/", "code", ">", "must", "be", "identical", "for", "all", "<", "code", ">", "name", "<", "/", "code", ">", "objects", "if", "you", "create", "more", "than", "one", "master", "playlist", "the", "values", "of", "all", "<", "code", ">", "name", "<", "/", "code", ">", "objects", "must", "be", "unique", "<", "/", "p", ">", "<", "note", ">", "<", "p", ">", "elastic", "transcoder", "automatically", "appends", "the", "relevant", "file", "extension", "to", "the", "file", "name", "(", "<", "code", ">", "m", "3u", "8", "<", "/", "code", ">", "for", "<", "code", ">", "h", "l", "sv", "3", "<", "/", "code", ">", "and", "<", "code", ">", "h", "l", "sv", "4", "<", "/", "code", ">", "playlists", "and", "<", "code", ">", "ism", "<", "/", "code", ">", "and", "<", "code", ">", "ismc", "<", "/", "code", ">", "for", "<", "code", ">", "smooth", "<", "/", "code", ">", "playlists", ")", "if", "you", "include", "a", "file", "extension", "in", "<", "code", ">", "name", "<", "/", "code", ">", "the", "file", "name", "will", "have", "two", "extensions", "<", "/", "p", ">", "<", "/", "note", ">" ]
[ "set", "name", "(", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "format", "of", "the", "output", "playlist", "valid", "formats", "include", "<", "code", ">", "h", "l", "sv", "3", "<", "/", "code", ">", "<", "code", ">", "h", "l", "sv", "4", "<", "/", "code", ">", "and", "<", "code", ">", "smooth", "<", "/", "code", ">", "<", "/", "p", ">" ]
[ "set", "format", "(", "format", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "for", "each", "output", "in", "this", "job", "that", "you", "want", "to", "include", "in", "a", "master", "playlist", "the", "value", "of", "the", "<", "code", ">", "outputs", ":", "key", "<", "/", "code", ">", "object", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "if", "your", "output", "is", "not", "<", "code", ">", "hls", "<", "/", "code", ">", "or", "does", "not", "have", "a", "segment", "duration", "set", "the", "name", "of", "the", "output", "file", "is", "a", "concatenation", "of", "<", "code", ">", "output", "key", "prefix", "<", "/", "code", ">", "and", "<", "code", ">", "outputs", ":", "key", "<", "/", "code", ">", ":", "<", "/", "p", ">", "<", "p", ">", "output", "key", "prefix", "<", "code", ">", "outputs", ":", "key", "<", "/", "code", ">", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "your", "output", "is", "<", "code", ">", "h", "l", "sv", "3", "<", "/", "code", ">", "and", "has", "a", "segment", "duration", "set", "or", "is", "not", "included", "in", "a", "playlist", "elastic", "transcoder", "creates", "an", "output", "playlist", "file", "with", "a", "file", "extension", "of", "<", "code", ">", "m", "3u", "8", "<", "/", "code", ">", "and", "a", "series", "of", "<", "code", ">", "ts", "<", "/", "code", ">", "files", "that", "include", "a", "five", "-", "digit", "sequential", "counter", "beginning", "with", "00000", ":", "<", "/", "p", ">", "<", "p", ">", "output", "key", "prefix", "<", "code", ">", "outputs", ":", "key", "<", "/", "code", ">", "m", "3u", "8", "<", "/", "p", ">", "<", "p", ">", "output", "key", "prefix", "<", "code", ">", "outputs", ":", "key", "<", "/", "code", ">", "00000", "ts", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "your", "output", "is", "<", "code", ">", "h", "l", "sv", "4", "<", "/", "code", ">", "has", "a", "segment", "duration", "set", "and", "is", "included", "in", "an", "<", "code", ">", "h", "l", "sv", "4", "<", "/", "code", ">", "playlist", "elastic", "transcoder", "creates", "an", "output", "playlist", "file", "with", "a", "file", "extension", "of", "<", "code", ">", "v", "4", "m", "3u", "8", "<", "/", "code", ">", "if", "the", "output", "is", "video", "elastic", "transcoder", "also", "creates", "an", "output", "file", "with", "an", "extension", "of", "<", "code", ">", "iframe", "m", "3u", "8", "<", "/", "code", ">", ":", "<", "/", "p", ">", "<", "p", ">", "output", "key", "prefix", "<", "code", ">", "outputs", ":", "key", "<", "/", "code", ">", "v", "4", "m", "3u", "8", "<", "/", "p", ">", "<", "p", ">", "output", "key", "prefix", "<", "code", ">", "outputs", ":", "key", "<", "/", "code", ">", "iframe", "m", "3u", "8", "<", "/", "p", ">", "<", "p", ">", "output", "key", "prefix", "<", "code", ">", "outputs", ":", "key", "<", "/", "code", ">", "ts", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">", "<", "p", ">", "elastic", "transcoder", "automatically", "appends", "the", "relevant", "file", "extension", "to", "the", "file", "name", "if", "you", "include", "a", "file", "extension", "in", "output", "key", "the", "file", "name", "will", "have", "two", "extensions", "<", "/", "p", ">", "<", "p", ">", "if", "you", "include", "more", "than", "one", "output", "in", "a", "playlist", "any", "segment", "duration", "settings", "clip", "settings", "or", "caption", "settings", "must", "be", "the", "same", "for", "all", "outputs", "in", "the", "playlist", "for", "<", "code", ">", "smooth", "<", "/", "code", ">", "playlists", "the", "<", "code", ">", "audio", ":", "profile", "<", "/", "code", ">", "<", "code", ">", "video", ":", "profile", "<", "/", "code", ">", "and", "<", "code", ">", "video", ":", "frame", "rate", "<", "/", "code", ">", "to", "<", "code", ">", "video", ":", "keyframes", "max", "dist", "<", "/", "code", ">", "ratio", "must", "be", "the", "same", "for", "all", "outputs", "<", "/", "p", ">", "<", "p", ">", "<", "b", ">", "note", ":", "<", "/", "b", ">", "this", "method", "appends", "the", "values", "to", "the", "existing", "list", "(", "if", "any", ")", "use", "{", "@", "link", "#", "set", "output", "keys", "(", "java", "util", "collection", ")", "}", "or", "{", "@", "link", "#", "with", "output", "keys", "(", "java", "util", "collection", ")", "}", "if", "you", "want", "to", "override", "the", "existing", "values", "<", "/", "p", ">" ]
[ "if", "(", "this", "output", "keys", "=", "=", "null", ")", "{", "set", "output", "keys", "(", "new", "com", "amazonaws", "internal", "sdk", "internal", "list", "<", "string", ">", "(", "output", "keys", "length", ")", ")", ";", "}", "for", "(", "string", "ele", ":", "output", "keys", ")", "{", "this", "output", "keys", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "<", "p", ">", "for", "each", "output", "in", "this", "job", "that", "you", "want", "to", "include", "in", "a", "master", "playlist", "the", "value", "of", "the", "<", "code", ">", "outputs", ":", "key", "<", "/", "code", ">", "object", "<", "/", "p", ">", "<", "ul", ">", "<", "li", ">", "<", "p", ">", "if", "your", "output", "is", "not", "<", "code", ">", "hls", "<", "/", "code", ">", "or", "does", "not", "have", "a", "segment", "duration", "set", "the", "name", "of", "the", "output", "file", "is", "a", "concatenation", "of", "<", "code", ">", "output", "key", "prefix", "<", "/", "code", ">", "and", "<", "code", ">", "outputs", ":", "key", "<", "/", "code", ">", ":", "<", "/", "p", ">", "<", "p", ">", "output", "key", "prefix", "<", "code", ">", "outputs", ":", "key", "<", "/", "code", ">", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "your", "output", "is", "<", "code", ">", "h", "l", "sv", "3", "<", "/", "code", ">", "and", "has", "a", "segment", "duration", "set", "or", "is", "not", "included", "in", "a", "playlist", "elastic", "transcoder", "creates", "an", "output", "playlist", "file", "with", "a", "file", "extension", "of", "<", "code", ">", "m", "3u", "8", "<", "/", "code", ">", "and", "a", "series", "of", "<", "code", ">", "ts", "<", "/", "code", ">", "files", "that", "include", "a", "five", "-", "digit", "sequential", "counter", "beginning", "with", "00000", ":", "<", "/", "p", ">", "<", "p", ">", "output", "key", "prefix", "<", "code", ">", "outputs", ":", "key", "<", "/", "code", ">", "m", "3u", "8", "<", "/", "p", ">", "<", "p", ">", "output", "key", "prefix", "<", "code", ">", "outputs", ":", "key", "<", "/", "code", ">", "00000", "ts", "<", "/", "p", ">", "<", "/", "li", ">", "<", "li", ">", "<", "p", ">", "if", "your", "output", "is", "<", "code", ">", "h", "l", "sv", "4", "<", "/", "code", ">", "has", "a", "segment", "duration", "set", "and", "is", "included", "in", "an", "<", "code", ">", "h", "l", "sv", "4", "<", "/", "code", ">", "playlist", "elastic", "transcoder", "creates", "an", "output", "playlist", "file", "with", "a", "file", "extension", "of", "<", "code", ">", "v", "4", "m", "3u", "8", "<", "/", "code", ">", "if", "the", "output", "is", "video", "elastic", "transcoder", "also", "creates", "an", "output", "file", "with", "an", "extension", "of", "<", "code", ">", "iframe", "m", "3u", "8", "<", "/", "code", ">", ":", "<", "/", "p", ">", "<", "p", ">", "output", "key", "prefix", "<", "code", ">", "outputs", ":", "key", "<", "/", "code", ">", "v", "4", "m", "3u", "8", "<", "/", "p", ">", "<", "p", ">", "output", "key", "prefix", "<", "code", ">", "outputs", ":", "key", "<", "/", "code", ">", "iframe", "m", "3u", "8", "<", "/", "p", ">", "<", "p", ">", "output", "key", "prefix", "<", "code", ">", "outputs", ":", "key", "<", "/", "code", ">", "ts", "<", "/", "p", ">", "<", "/", "li", ">", "<", "/", "ul", ">", "<", "p", ">", "elastic", "transcoder", "automatically", "appends", "the", "relevant", "file", "extension", "to", "the", "file", "name", "if", "you", "include", "a", "file", "extension", "in", "output", "key", "the", "file", "name", "will", "have", "two", "extensions", "<", "/", "p", ">", "<", "p", ">", "if", "you", "include", "more", "than", "one", "output", "in", "a", "playlist", "any", "segment", "duration", "settings", "clip", "settings", "or", "caption", "settings", "must", "be", "the", "same", "for", "all", "outputs", "in", "the", "playlist", "for", "<", "code", ">", "smooth", "<", "/", "code", ">", "playlists", "the", "<", "code", ">", "audio", ":", "profile", "<", "/", "code", ">", "<", "code", ">", "video", ":", "profile", "<", "/", "code", ">", "and", "<", "code", ">", "video", ":", "frame", "rate", "<", "/", "code", ">", "to", "<", "code", ">", "video", ":", "keyframes", "max", "dist", "<", "/", "code", ">", "ratio", "must", "be", "the", "same", "for", "all", "outputs", "<", "/", "p", ">" ]
[ "set", "output", "keys", "(", "output", "keys", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "hls", "content", "protection", "settings", "if", "any", "that", "you", "want", "elastic", "transcoder", "to", "apply", "to", "the", "output", "files", "associated", "with", "this", "playlist", "<", "/", "p", ">" ]
[ "set", "hls", "content", "protection", "(", "hls", "content", "protection", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "drm", "settings", "if", "any", "that", "you", "want", "elastic", "transcoder", "to", "apply", "to", "the", "output", "files", "associated", "with", "this", "playlist", "<", "/", "p", ">" ]
[ "set", "play", "ready", "drm", "(", "play", "ready", "drm", ")", ";", "return", "this", ";" ]
[ "sets", "the", "list", "of", "sse", "configuration", "rules" ]
[ "if", "(", "rules", "=", "=", "null", ")", "{", "this", "rules", "=", "null", ";", "return", ";", "}", "this", "rules", "=", "new", "array", "list", "<", "server", "side", "encryption", "rule", ">", "(", "rules", ")", ";" ]
[ "sets", "the", "list", "of", "sse", "configuration", "rules" ]
[ "if", "(", "this", "rules", "=", "=", "null", ")", "{", "set", "rules", "(", "new", "array", "list", "<", "server", "side", "encryption", "rule", ">", "(", "rules", "length", ")", ")", ";", "}", "for", "(", "server", "side", "encryption", "rule", "ele", ":", "rules", ")", "{", "this", "rules", "add", "(", "ele", ")", ";", "}", "return", "this", ";" ]
[ "sets", "the", "list", "of", "sse", "configuration", "rules" ]
[ "set", "rules", "(", "rules", ")", ";", "return", "this", ";" ]
[ "{" ]
[ "return", "null", ";" ]
[ "divide", "the", "entries", "into", "multiple", "batches", "so", "that", "we", "can", "replicate", "each", "batch", "in", "a", "thread", "pool", "concurrently", "note", "that", "for", "serial", "replication", "we", "need", "to", "make", "sure", "that", "entries", "from", "the", "same", "region", "to", "be", "replicated", "serially", "so", "entries", "from", "the", "same", "region", "consist", "of", "a", "batch", "and", "we", "will", "divide", "a", "batch", "into", "several", "batches", "by", "replication", "rpc", "limit", "in", "method", "serial", "replicate", "region", "entries", "(", ")" ]
[ "if", "(", "is", "serial", ")", "{", "return", "create", "serial", "batches", "(", "entries", ")", ";", "}", "else", "{", "return", "create", "parallel", "batches", "(", "entries", ")", ";", "}" ]
[ "filter", "a", "set", "of", "batches", "by", "table", "name" ]
[ "return", "old", "entry", "list", "stream", "(", ")", "map", "(", "entries", "-", ">", "entries", "stream", "(", ")", "filter", "(", "e", "-", ">", "!", "e", "get", "key", "(", ")", "get", "table", "name", "(", ")", "equals", "(", "table", ")", ")", "collect", "(", "collectors", "to", "list", "(", ")", ")", ")", "collect", "(", "collectors", "to", "list", "(", ")", ")", ";" ]
[ "this", "method", "extracts", "all", "data", "from", "the", "incoming", "intent", "and", "setups", "views", "properly" ]
[ "uri", "input", "uri", "=", "intent", "get", "parcelable", "extra", "(", "u", "crop", "multi", "extra", "input", "uri", ")", ";", "uri", "output", "uri", "=", "intent", "get", "parcelable", "extra", "(", "u", "crop", "multi", "extra", "output", "uri", ")", ";", "process", "options", "(", "intent", ")", ";", "if", "(", "input", "uri", "!", "=", "null", "&", "&", "output", "uri", "!", "=", "null", ")", "{", "try", "{", "boolean", "is", "gif", "=", "file", "utils", "is", "gif", "(", "input", "uri", "get", "path", "(", ")", ")", ";", "if", "(", "is", "gif", ")", "{", "m", "gesture", "crop", "image", "view", "set", "rotate", "enabled", "(", "false", ")", ";", "m", "gesture", "crop", "image", "view", "set", "scale", "enabled", "(", "false", ")", ";", "}", "else", "{", "m", "gesture", "crop", "image", "view", "set", "rotate", "enabled", "(", "rotate", "enabled", ")", ";", "m", "gesture", "crop", "image", "view", "set", "scale", "enabled", "(", "scale", "enabled", ")", ";", "}", "m", "gesture", "crop", "image", "view", "set", "image", "uri", "(", "input", "uri", ",", "output", "uri", ")", ";", "}", "catch", "(", "exception", "e", ")", "{", "set", "result", "error", "(", "e", ")", ";", "close", "activity", "(", ")", ";", "}", "}", "else", "{", "set", "result", "error", "(", "new", "null", "pointer", "exception", "(", "get", "string", "(", "r", "string", "ucrop", "error", "input", "data", "is", "absent", ")", ")", ")", ";", "close", "activity", "(", ")", ";", "}" ]
[ "adds", "view", "that", "covers", "everything", "below", "the", "toolbar", "when", "it", "s", "clickable", "-", "user", "won", "t", "be", "able", "to", "click", "/", "touch", "anything", "below", "the", "toolbar", "need", "to", "block", "user", "input", "while", "loading", "and", "cropping", "an", "image" ]
[ "if", "(", "m", "blocking", "view", "=", "=", "null", ")", "{", "m", "blocking", "view", "=", "new", "view", "(", "this", ")", ";", "relative", "layout", "layout", "params", "lp", "=", "new", "relative", "layout", "layout", "params", "(", "view", "group", "layout", "params", "match", "parent", ",", "view", "group", "layout", "params", "match", "parent", ")", ";", "lp", "add", "rule", "(", "relative", "layout", "below", ",", "r", "id", "toolbar", ")", ";", "m", "blocking", "view", "set", "layout", "params", "(", "lp", ")", ";", "m", "blocking", "view", "set", "clickable", "(", "true", ")", ";", "}", "(", "(", "relative", "layout", ")", "find", "view", "by", "id", "(", "r", "id", "ucrop", "mulit", "photobox", ")", ")", "add", "view", "(", "m", "blocking", "view", ")", ";" ]
[ "returns", "a", "{", "@", "link", "sky", "key", "}", "corresponding", "to", "the", "traversal", "of", "a", "target", "specified", "by", "{", "@", "code", "label", "}", "and", "its", "transitive", "dependencies" ]
[ "abstract", "sky", "key", "get", "key", "(", "label", "label", ")", ";" ]
[ "returns", "a", "{" ]
[ "abstract", "sky", "value", "compute", "sky", "value", "(", "target", "and", "error", "if", "any", "target", "and", "error", "if", "any", ",", "t", "processed", "targets", "processed", "targets", ")", ";" ]
[ "returns", "a", "{" ]
[ "@", "nullable", "abstract", "target", "marker", "value", "get", "target", "marker", "value", "(", "sky", "key", "target", "marker", "key", ",", "environment", "env", ")", "throws", "no", "such", "target", "exception", ",", "no", "such", "package", "exception", ",", "interrupted", "exception", ";" ]
[ "return", "an", "iterable", "of", "sky", "keys", "corresponding", "to", "the", "aspect", "-", "related", "dependencies", "of", "target" ]
[ "list", "<", "sky", "key", ">", "dep", "keys", "=", "lists", "new", "array", "list", "(", ")", ";", "if", "(", "target", "instanceof", "rule", ")", "{", "map", "<", "label", ",", "value", "or", "exception", "2", "<", "no", "such", "package", "exception", ",", "no", "such", "target", "exception", ">", ">", "label", "dep", "map", "=", "new", "hash", "map", "<", ">", "(", "dep", "map", "size", "(", ")", ")", ";", "for", "(", "map", "entry", "<", "sky", "key", ",", "value", "or", "exception", "2", "<", "no", "such", "package", "exception", ",", "no", "such", "target", "exception", ">", ">", "entry", ":", "dep", "map", "entry", "set", "(", ")", ")", "{", "label", "dep", "map", "put", "(", "argument", "from", "key", "(", "entry", "get", "key", "(", ")", ")", ",", "entry", "get", "value", "(", ")", ")", ";", "}", "multimap", "<", "attribute", ",", "label", ">", "transitions", "=", "(", "(", "rule", ")", "target", ")", "get", "transitions", "(", "dependency", "filter", "no", "nodep", "attributes", ")", ";", "for", "(", "map", "entry", "<", "attribute", ",", "label", ">", "entry", ":", "transitions", "entries", "(", ")", ")", "{", "value", "or", "exception", "2", "<", "no", "such", "package", "exception", ",", "no", "such", "target", "exception", ">", "value", "=", "label", "dep", "map", "get", "(", "entry", "get", "value", "(", ")", ")", ";", "for", "(", "label", "label", ":", "get", "aspect", "labels", "(", "(", "rule", ")", "target", ",", "entry", "get", "key", "(", ")", ",", "entry", "get", "value", "(", ")", ",", "value", ",", "env", ")", ")", "{", "dep", "keys", "add", "(", "get", "key", "(", "label", ")", ")", ";", "}", "}", "}", "return", "dep", "keys", ";" ]
[ "get", "the", "aspect", "-", "related", "label", "deps", "for", "the", "given", "edge" ]
[ "protected", "abstract", "collection", "<", "label", ">", "get", "aspect", "labels", "(", "rule", "from", "rule", ",", "attribute", "attr", ",", "label", "to", "label", ",", "value", "or", "exception", "2", "<", "no", "such", "package", "exception", ",", "no", "such", "target", "exception", ">", "to", "val", ",", "environment", "env", ")", "throws", "interrupted", "exception", ";" ]
[ "todo", "(", "bazel", "-", "team", ")", ":", "unify", "this", "logic", "with", "that", "in", "label", "visitor", "and", "possibly", "dependency", "resolver" ]
[ "if", "(", "target", "instanceof", "output", "file", ")", "{", "rule", "rule", "=", "(", "(", "output", "file", ")", "target", ")", "get", "generating", "rule", "(", ")", ";", "list", "<", "label", ">", "visibility", "labels", "=", "visit", "target", "visibility", "(", "target", ")", ";", "hash", "set", "<", "label", ">", "result", "=", "sets", "new", "hash", "set", "with", "expected", "size", "(", "visibility", "labels", "size", "(", ")", "+", "1", ")", ";", "result", "add", "(", "rule", "get", "label", "(", ")", ")", ";", "result", "add", "all", "(", "visibility", "labels", ")", ";", "return", "result", ";", "}", "else", "if", "(", "target", "instanceof", "input", "file", ")", "{", "return", "new", "hash", "set", "<", ">", "(", "visit", "target", "visibility", "(", "target", ")", ")", ";", "}", "else", "if", "(", "target", "instanceof", "rule", ")", "{", "list", "<", "label", ">", "visibility", "labels", "=", "visit", "target", "visibility", "(", "target", ")", ";", "collection", "<", "label", ">", "rule", "labels", "=", "visit", "rule", "(", "target", ")", ";", "hash", "set", "<", "label", ">", "result", "=", "sets", "new", "hash", "set", "with", "expected", "size", "(", "visibility", "labels", "size", "(", ")", "+", "rule", "labels", "size", "(", ")", ")", ";", "result", "add", "all", "(", "visibility", "labels", ")", ";", "result", "add", "all", "(", "rule", "labels", ")", ";", "return", "result", ";", "}", "else", "if", "(", "target", "instanceof", "package", "group", ")", "{", "return", "new", "hash", "set", "<", ">", "(", "visit", "package", "group", "(", "(", "package", "group", ")", "target", ")", ")", ";", "}", "else", "{", "return", "immutable", "set", "of", "(", ")", ";", "}" ]
[ "<", "p", ">", "the", "id", "of", "the", "work", "space", "to", "find", "this", "id", "use", "<", "a", ">", "describe", "workspaces", "<", "/", "a", ">", "<", "/", "p", ">" ]
[ "set", "resource", "id", "(", "resource", "id", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "type", "of", "the", "tagged", "ml", "object", "<", "/", "p", ">" ]
[ "set", "resource", "type", "(", "resource", "type", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "type", "of", "the", "tagged", "ml", "object", "<", "/", "p", ">" ]
[ "this", "resource", "type", "=", "resource", "type", "to", "string", "(", ")", ";", "return", "this", ";" ]
[ "/", "*", "helper", "method", "to", "create", "an", "executable", "flow", "from", "yaml" ]
[ "final", "project", "project", "=", "new", "project", "(", "11", ",", "project", "name", ")", ";", "final", "directory", "yaml", "flow", "loader", "loader", "=", "new", "directory", "yaml", "flow", "loader", "(", "new", "props", "(", ")", ")", ";", "loader", "load", "project", "flow", "(", "project", ",", "executions", "test", "util", "get", "flow", "dir", "(", "project", "name", ")", ")", ";", "project", "set", "flows", "(", "loader", "get", "flow", "map", "(", ")", ")", ";", "project", "set", "version", "(", "123", ")", ";", "final", "flow", "flow", "=", "project", "get", "flow", "(", "flow", "name", ")", ";", "return", "new", "executable", "flow", "(", "project", ",", "flow", ")", ";" ]
[ "reads", "a", "resource", "into", "a", "string" ]
[ "try", "(", "final", "input", "stream", "is", "=", "parent", "get", "class", "(", ")", "get", "resource", "as", "stream", "(", "name", ")", ")", "{", "return", "i", "o", "utils", "to", "string", "(", "is", ",", "charsets", "utf", "8", ")", "trim", "(", ")", ";", "}" ]
[ "creates", "new", "cache", "configuration" ]
[ "cache", "configuration", "<", "integer", ",", "string", ">", "cache", "cfg", "=", "default", "cache", "configuration", "(", ")", ";", "cache", "cfg", "set", "cache", "mode", "(", "partitioned", ")", ";", "return", "cache", "cfg", ";" ]
[ "{" ]
[ "ignite", "configuration", "cfg", "=", "super", "get", "configuration", "(", "ignite", "instance", "name", ")", ";", "cfg", "set", "client", "mode", "(", "false", ")", ";", "cfg", "set", "cache", "configuration", "(", "get", "cache", "configuration", "(", ")", ")", ";", "return", "cfg", ";" ]
[ "if", "<", "tt", ">", "true", "<", "/", "tt", ">", "then", "the", "cms", "message", "is", "base", "64", "encoded", "and", "must", "be", "decoded", "during", "the", "processing", "default", "value", "is", "<", "code", ">", "false", "<", "/", "code", ">" ]
[ "this", "from", "base", "6", "4", "=", "base", "6", "4", ";" ]
[ "add", "java", "8", "timezone", "resource", "jar", "to", "java", "binary", "if", "specified", "in", "tool", "chain" ]
[ "java", "toolchain", "provider", "toolchain", "provider", "=", "java", "toolchain", "provider", "from", "(", "rule", "context", ")", ";", "if", "(", "toolchain", "provider", "get", "timezone", "data", "(", ")", "!", "=", "null", ")", "{", "attributes", "builder", "add", "resource", "jars", "(", "nested", "set", "builder", "create", "(", "order", "stable", "order", ",", "toolchain", "provider", "get", "timezone", "data", "(", ")", ")", ")", ";", "}" ]
[ "collects", "the", "native", "libraries", "in", "the", "transitive", "closure", "of", "the", "deps" ]
[ "nested", "set", "<", "linker", "input", ">", "linker", "inputs", "=", "new", "native", "library", "nested", "set", "builder", "(", ")", "add", "java", "targets", "(", "deps", ")", "build", "(", ")", ";", "immutable", "list", "builder", "<", "artifact", ">", "result", "=", "immutable", "list", "builder", "(", ")", ";", "for", "(", "linker", "input", "linker", "input", ":", "linker", "inputs", ")", "{", "result", "add", "(", "linker", "input", "get", "artifact", "(", ")", ")", ";", "}", "return", "result", "build", "(", ")", ";" ]
[ "can", "principal", "authenticate", "as", "surrogate" ]
[ "protected", "abstract", "boolean", "can", "authenticate", "as", "internal", "(", "string", "surrogate", ",", "principal", "principal", ",", "service", "service", ")", ";" ]
[ "sets", "the", "value", "of", "the", "metric", "with", "the", "given", "timestamp" ]
[ "init", "buffer", "for", "time", "window", "(", "time", "window", ")", ";", "set", "metric", "value", "(", "time", "window", ",", "name", ",", "value", ")", ";", "set", "has", "value", "(", "time", "window", ",", "name", ")", ";" ]
[ "gets", "the", "metric", "value", "with", "the", "timestamp", "if", "the", "value", "exists", ";", "otherwise", "null", "is", "returned" ]
[ "return", "get", "or", "default", "(", "time", "window", ",", "name", ",", "null", ")", ";" ]
[ "gets", "the", "metric", "value", "with", "the", "timestamp", "if", "the", "value", "exists", ";", "otherwise", "the", "default", "number", "is", "returned" ]
[ "number", "ret", "=", "default", "number", ";", "boolean", "[", "]", "has", "value", "buffer", "=", "has", "value", "get", "(", "time", "window", ")", ";", "if", "(", "has", "value", "buffer", "!", "=", "null", "&", "&", "has", "value", "buffer", "[", "schema", "get", "metric", "index", "(", "name", ")", "]", ")", "{", "byte", "buffer", "buffer", "=", "metrics", "value", "get", "(", "time", "window", ")", ";", "if", "(", "buffer", "!", "=", "null", ")", "{", "buffer", "=", "buffer", "duplicate", "(", ")", ";", "buffer", "position", "(", "schema", "get", "offset", "(", "name", ")", ")", ";", "metric", "type", "metric", "type", "=", "schema", "get", "metric", "type", "(", "name", ")", ";", "ret", "=", "number", "utils", "read", "from", "buffer", "(", "buffer", ",", "metric", "type", ")", ";", "}", "}", "return", "ret", ";" ]
[ "todo", ":", "consider", "default", "null", "value", ";", "before", "that", "this", "method", "is", "set", "to", "private" ]
[ "metric", "time", "series", "series", "=", "new", "metric", "time", "series", "(", "schema", ")", ";", "data", "input", "in", "=", "new", "data", "input", "stream", "(", "new", "byte", "array", "input", "stream", "(", "buf", ")", ")", ";", "int", "num", "time", "windows", "=", "in", "read", "int", "(", ")", ";", "int", "buffer", "size", "=", "in", "read", "int", "(", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "num", "time", "windows", ";", "i", "+", "+", ")", "{", "long", "time", "window", "=", "in", "read", "long", "(", ")", ";", "byte", "[", "]", "bytes", "=", "new", "byte", "[", "buffer", "size", "]", ";", "in", "read", "fully", "(", "bytes", ")", ";", "series", "metrics", "value", "put", "(", "time", "window", ",", "byte", "buffer", "wrap", "(", "bytes", ")", ")", ";", "boolean", "[", "]", "has", "values", "=", "new", "boolean", "[", "schema", "get", "num", "metrics", "(", ")", "]", ";", "for", "(", "int", "num", "metrics", "=", "0", ";", "num", "metrics", "<", "schema", "get", "num", "metrics", "(", ")", ";", "num", "metrics", "+", "+", ")", "{", "has", "values", "[", "num", "metrics", "]", "=", "true", ";", "}", "series", "has", "value", "put", "(", "time", "window", ",", "has", "values", ")", ";", "}", "return", "series", ";" ]
[ "returns", "the", "average", "values", "of", "metrics", "if", "a", "metric", "does", "not", "have", "any", "values", "then", "its", "average", "value", "is", "null" ]
[ "return", "get", "metric", "avgs", "(", "null", ")", ";" ]
[ "returns", "the", "average", "values", "of", "metrics", "if", "a", "metric", "does", "not", "have", "any", "values", "then", "its", "average", "value", "is", "value", "ofdivided", "by", "zero" ]
[ "number", "[", "]", "sum", "=", "new", "number", "[", "schema", "get", "num", "metrics", "(", ")", "]", ";", "int", "[", "]", "bucket", "count", "=", "new", "int", "[", "schema", "get", "num", "metrics", "(", ")", "]", ";", "calculate", "metric", "sum", "and", "bucket", "count", "(", "sum", ",", "bucket", "count", ")", ";", "double", "[", "]", "avg", "=", "new", "double", "[", "schema", "get", "num", "metrics", "(", ")", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "sum", "length", ";", "i", "+", "+", ")", "{", "if", "(", "bucket", "count", "[", "i", "]", "!", "=", "0", ")", "{", "avg", "[", "i", "]", "=", "sum", "[", "i", "]", "double", "value", "(", ")", "/", "(", "double", ")", "bucket", "count", "[", "i", "]", ";", "}", "else", "{", "avg", "[", "i", "]", "=", "value", "ofdivided", "by", "zero", ";", "}", "}", "return", "avg", ";" ]
[ "checks", "whether", "2", "template", "rows", "are", "compatible", "for", "the", "mergestep" ]
[ "if", "(", "reference", "row", "meta", "!", "=", "null", "&", "&", "compare", "row", "meta", "!", "=", "null", ")", "{", "base", "step", "safe", "mode", "checking", "(", "reference", "row", "meta", ",", "compare", "row", "meta", ")", ";", "}" ]
[ "downcasting" ]
[ "generic", "file", "generic", "file", "=", "new", "generic", "file", "(", ")", ";", "text", "file", "text", "file", "=", "(", "text", "file", ")", "generic", "file", ";", "system", "out", "println", "(", "text", "file", "get", "word", "count", "(", ")", ")", ";" ]
[ "called", "from", "{", "@", "link", "node", "#", "create", "launcher", "(", "task", "listener", ")", "}", "to", "decorate", "the", "launchers" ]
[ "@", "nonnull", "public", "abstract", "launcher", "decorate", "(", "@", "nonnull", "launcher", "launcher", ",", "@", "nonnull", "node", "node", ")", ";" ]
[ "returns", "all", "the", "registered", "{" ]
[ "return", "extension", "list", "lookup", "(", "launcher", "decorator", "class", ")", ";" ]
[ "a", "convenience", "function", "creating", "a", "transformer", "that", "will", "use", "two", "observables", "for", "completing", "the", "returned", "observable", "(", "and", "un", "-", "subscribing", "from", "the", "passed", "observable", ")", "before", "emission", "will", "be", "used", "to", "complete", "the", "passed", "observable", "before", "it", "s", "first", "emission", "and", "after", "emission", "will", "be", "used", "to", "do", "the", "same", "after", "the", "first", "emission" ]
[ "return", "observable", "-", ">", "observable", "publish", "(", "published", "observable", "-", ">", "{", "final", "observable", "<", "?", ">", "after", "emission", "take", "until", "=", "published", "observable", "take", "(", "1", ")", "ignore", "elements", "(", ")", "and", "then", "(", "after", "emission", ")", ";", "return", "observable", "amb", "(", "as", "list", "(", "published", "observable", ",", "published", "observable", "take", "until", "(", "before", "emission", ")", ")", ")", "take", "until", "(", "after", "emission", "take", "until", ")", ";", "}", ")", ";" ]
[ "a", "convenience", "function", "creating", "a", "transformer", "that", "will", "wrap", "the", "emissions", "in", "either", "{", "@", "link", "result", "event", "}", "or", "{", "@", "link", "error", "event", "}", "with", "a", "given", "{", "@", "link", "type", "}" ]
[ "return", "observable", "-", ">", "observable", "map", "(", "written", "bytes", "-", ">", "(", "(", "presenter", "event", ")", "new", "result", "event", "(", "written", "bytes", ",", "type", ")", ")", ")", "on", "error", "return", "(", "throwable", "-", ">", "new", "error", "event", "(", "throwable", ",", "type", ")", ")", ";" ]
[ "a", "convenience", "function", "creating", "a", "transformer", "that", "will", "wrap", "the", "emissions", "in", "either", "{", "@", "link", "result", "event", "}", "or", "{", "@", "link", "error", "event", "}", "with", "a", "given", "{", "@", "link", "type", "}", "for", "notification", "type", "{", "@", "link", "observable", "}", "(", "observable", "<", "observable", "<", "byte", "[", "]", ">", ">", ")" ]
[ "return", "observable", "observable", "-", ">", "observable", "observable", "flat", "map", "(", "observable", "-", ">", "observable", "map", "(", "bytes", "-", ">", "(", "(", "presenter", "event", ")", "new", "result", "event", "(", "bytes", ",", "type", ")", ")", ")", ")", "on", "error", "return", "(", "throwable", "-", ">", "new", "error", "event", "(", "throwable", ",", "type", ")", ")", ";" ]
[ "a", "convenience", "function", "creating", "a", "transformer", "that", "will", "repeat", "the", "source", "observable", "whenever", "it", "will", "complete" ]
[ "return", "observable", "-", ">", "observable", "repeat", "when", "(", "completed", "notification", "-", ">", "completed", "notification", ")", ";" ]
[ "defines", "the", "type", "defining", "this", "item", "must", "be", "unique", "preferably", "an", "id" ]
[ "return", "r", "id", "fastadapter", "image", "item", "id", ";" ]
[ "defines", "the", "layout", "which", "will", "be", "used", "for", "this", "item", "in", "the", "list" ]
[ "return", "r", "layout", "image", "item", ";" ]
[ "helper", "method", "to", "style", "the", "heart", "view" ]
[ "view", "set", "scale", "x", "(", "value", ")", ";", "view", "set", "scale", "y", "(", "value", ")", ";", "view", "set", "alpha", "(", "value", ")", ";" ]
[ "helper", "method", "to", "animate", "the", "heart", "view" ]
[ "image", "loved", "on", "set", "visibility", "(", "view", "visible", ")", ";", "image", "loved", "off", "set", "visibility", "(", "view", "visible", ")", ";", "if", "(", "build", "version", "sdk", "int", ">", "=", "build", "version", "codes", "honeycomb", "mr1", ")", "{", "view", "property", "start", "compat", "(", "image", "loved", "off", "animate", "(", ")", "scale", "x", "(", "on", "?", "0", ":", "1", ")", "scale", "y", "(", "on", "?", "0", ":", "1", ")", "alpha", "(", "on", "?", "0", ":", "1", ")", ")", ";", "view", "property", "start", "compat", "(", "image", "loved", "on", "animate", "(", ")", "scale", "x", "(", "on", "?", "1", ":", "0", ")", "scale", "y", "(", "on", "?", "1", ":", "0", ")", "alpha", "(", "on", "?", "1", ":", "0", ")", ")", ";", "}" ]
[ "helper", "method", "for", "the", "animator", "on", "a", "p", "is", "<", "14" ]
[ "if", "(", "build", "version", "sdk", "int", ">", "=", "14", ")", "{", "animator", "start", "(", ")", ";", "}" ]
[ "<", "p", ">", "indicates", "that", "the", "named", "receipt", "rule", "set", "does", "not", "exist", "<", "/", "p", ">" ]
[ "set", "name", "(", "name", ")", ";", "return", "this", ";" ]
[ "set", "the", "remoting", "connection", "on", "the", "remoting", "context" ]
[ "remoting", "context", "association", "actions", "(", ")", "set", "connection", "(", "connection", ")", ";" ]
[ "set", "the", "remoting", "connection", "on", "the", "remoting", "context" ]
[ "remote", "context", "association", "actions", "(", ")", "set", "connection", "(", "connection", ")", ";" ]
[ "clear", "the", "remoting", "connection", "on", "the", "remoting", "context" ]
[ "remoting", "context", "association", "actions", "(", ")", "clear", "(", ")", ";" ]
[ "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", "name", ":", "return", "is", "set", "name", "(", ")", ";", "case", "type", ":", "return", "is", "set", "type", "(", ")", ";", "case", "comment", ":", "return", "is", "set", "comment", "(", ")", ";", "}", "throw", "new", "illegal", "state", "exception", "(", ")", ";" ]
[ "/" ]
[ "return", "get", "qualified", "name", "(", ")", "!", "=", "null", ";" ]
[ "an", "implementation", "of", "the", "object", "class" ]
[ "protected", "abstract", "reference", "type", "object", "(", ")", ";" ]
[ "skips", "the", "finally", "block", "if", "the", "result", "would", "be", "empty" ]
[ "if", "(", "get", "finally", "block", "(", ")", "!", "=", "null", ")", "{", "j", "c", "block", "block", "=", "get", "finally", "block", "(", ")", "inline", "(", "inliner", ")", ";", "if", "(", "!", "block", "get", "statements", "(", ")", "is", "empty", "(", ")", ")", "{", "return", "block", ";", "}", "}", "return", "null", ";" ]
[ "/", "*", "the", "following", "two", "are", "the", "mostly", "commonly", "used", "methods", "wrapping", "them", "so", "that", "editors", "do", "not", "complain", "about", "the", "deprecation" ]
[ "return", "org", "apache", "hadoop", "io", "utf8", "read", "string", "(", "in", ")", ";" ]
[ "<", "p", ">", "the", "name", "of", "the", "amazon", "s3", "bucket", "created", "<", "/", "p", ">" ]
[ "set", "s", "3", "bucket", "(", "s", "3", "bucket", ")", ";", "return", "this", ";" ]
[ "returns", "whether", "or", "not", "the", "user", "can", "see", "/", "read", "the", "object" ]
[ "return", "can", "read", ";" ]
[ "returns", "whether", "or", "not", "the", "user", "can", "update", "fields", "on", "the", "object", "this", "does", "not", "include", "deleting", "(", "see", "{", "@", "link", "#", "can", "delete", "(", ")", "}", "nor", "if", "permissions", "can", "be", "updated", "(", "see", "{", "@", "link", "#", "can", "set", "permissions", "(", ")", "}", ")" ]
[ "return", "can", "update", ";" ]
[ "returns", "whether", "or", "not", "the", "user", "can", "change", "permissions", "on", "the", "object", "through", "its", "custom", "permission", "field", "(", "a", "field", "of", "the", "type", "{", "@", "code", "realm", "list", "<", "permission", ">", "}", ")" ]
[ "return", "can", "set", "permissions", ";" ]
[ "returns", "{" ]
[ "return", "can", "query", ";" ]
[ "returns", "{" ]
[ "return", "can", "create", ";" ]
[ "returns", "a", "new", "or", "existing", "instance", "with", "the", "specified", "capitalization", "and", "correction", "properties" ]
[ "int", "off", "=", "cap", "ordinal", "(", ")", "*", "2", "+", "(", "auto", "text", "?", "1", ":", "0", ")", ";", "if", "(", "s", "instance", "[", "off", "]", "=", "=", "null", ")", "{", "s", "instance", "[", "off", "]", "=", "new", "qwerty", "key", "listener", "(", "cap", ",", "auto", "text", ")", ";", "}", "return", "s", "instance", "[", "off", "]", ";" ]
[ "gets", "an", "instance", "of", "the", "listener", "suitable", "for", "use", "with", "full", "keyboards", "disables", "auto", "-", "capitalization", "auto", "-", "text", "and", "long", "-", "press", "initiated", "on", "-", "screen", "character", "pickers" ]
[ "if", "(", "s", "full", "keyboard", "instance", "=", "=", "null", ")", "{", "s", "full", "keyboard", "instance", "=", "new", "qwerty", "key", "listener", "(", "capitalize", "none", ",", "false", ",", "true", ")", ";", "}", "return", "s", "full", "keyboard", "instance", ";" ]
[ "marks", "the", "specified", "region", "of", "<", "code", ">", "content", "<", "/", "code", ">", "as", "having", "contained", "<", "code", ">", "original", "<", "/", "code", ">", "prior", "to", "auto", "text", "replacement", "call", "this", "method", "when", "you", "have", "done", "or", "are", "about", "to", "do", "an", "auto", "text", "-", "style", "replacement", "on", "a", "region", "of", "text", "and", "want", "to", "let", "the", "same", "mechanism", "(", "the", "user", "pressing", "del", "immediately", "after", "the", "change", ")", "undo", "the", "replacement" ]
[ "replaced", "[", "]", "repl", "=", "content", "get", "spans", "(", "0", ",", "content", "length", "(", ")", ",", "replaced", "class", ")", ";", "for", "(", "int", "a", "=", "0", ";", "a", "<", "repl", "length", ";", "a", "+", "+", ")", "{", "content", "remove", "span", "(", "repl", "[", "a", "]", ")", ";", "}", "int", "len", "=", "original", "length", "(", ")", ";", "char", "[", "]", "orig", "=", "new", "char", "[", "len", "]", ";", "original", "get", "chars", "(", "0", ",", "len", ",", "orig", ",", "0", ")", ";", "content", "set", "span", "(", "new", "replaced", "(", "orig", ")", ",", "start", ",", "end", ",", "spannable", "span", "exclusive", "exclusive", ")", ";" ]
[ "gets", "time", "when", "the", "update", "was", "first", "available", "in", "milliseconds", "since", "midnight", "january", "1", "1970", "utc" ]
[ "return", "m", "received", "time", ";" ]
[ "gets", "whether", "the", "update", "is", "a", "security", "patch" ]
[ "return", "m", "security", "patch", "state", ";" ]