docstring_tokens
list
code_tokens
list
[ "set", "the", "current", "text", "for", "this", "tab" ]
[ "program", "=", "replacement", ";" ]
[ "get", "the", "last", "version", "saved", "of", "this", "tab" ]
[ "return", "saved", "program", ";" ]
[ "}" ]
[ "this", "preproc", "offset", "=", "preproc", "offset", ";" ]
[ "save", "this", "file", "to", "another", "location", "used", "by", "sketch", "save", "as", "(", ")" ]
[ "util", "save", "file", "(", "program", ",", "new", "file", ")", ";", "saved", "program", "=", "program", ";", "file", "=", "new", "file", ";", "make", "pretty", "name", "(", ")", ";", "set", "last", "modified", "(", ")", ";", "set", "modified", "(", "false", ")", ";" ]
[ "called", "when", "the", "sketch", "folder", "name", "/", "location", "has", "changed", "called", "when", "renaming", "tab", "0", "the", "main", "code" ]
[ "file", "=", "new", "file", "(", "sketch", "folder", ",", "file", "get", "name", "(", ")", ")", ";" ]
[ "set", "the", "last", "known", "modification", "time", "so", "that", "we", "re", "not", "re", "-", "firing", "hey", "this", "is", "modified", "!", "events", "incessantly" ]
[ "last", "modified", "=", "file", "last", "modified", "(", ")", ";" ]
[ "sets", "up", "all", "dependencies", "before", "a", "test", "runs" ]
[ "file", "temp", "folder", "=", "m", "test", "folder", "new", "folder", "(", ")", ";", "m", "meta", "manager", "=", "tiered", "block", "store", "test", "utils", "default", "metadata", "manager", "(", "temp", "folder", "get", "absolute", "path", "(", ")", ")", ";", "m", "meta", "manager", "view", "=", "spy", "(", "new", "block", "metadata", "manager", "view", "(", "m", "meta", "manager", ",", "new", "hash", "set", "<", "long", ">", "(", ")", ",", "new", "hash", "set", "<", "long", ">", "(", ")", ")", ")", ";" ]
[ "tests", "the", "{" ]
[ "for", "(", "storage", "tier", "tier", ":", "m", "meta", "manager", "get", "tiers", "(", ")", ")", "{", "string", "tier", "alias", "=", "tier", "get", "tier", "alias", "(", ")", ";", "storage", "tier", "view", "tier", "view", "=", "m", "meta", "manager", "view", "get", "tier", "view", "(", "tier", "alias", ")", ";", "assert", "equals", "(", "tier", "get", "tier", "alias", "(", ")", ",", "tier", "view", "get", "tier", "view", "alias", "(", ")", ")", ";", "assert", "equals", "(", "tier", "get", "tier", "ordinal", "(", ")", ",", "tier", "view", "get", "tier", "view", "ordinal", "(", ")", ")", ";", "}" ]
[ "tests", "the", "{" ]
[ "assert", "equals", "(", "m", "meta", "manager", "get", "tiers", "(", ")", "size", "(", ")", ",", "m", "meta", "manager", "view", "get", "tier", "views", "(", ")", "size", "(", ")", ")", ";" ]
[ "tests", "the", "{" ]
[ "for", "(", "storage", "tier", "tier", ":", "m", "meta", "manager", "get", "tiers", "(", ")", ")", "{", "string", "tier", "alias", "=", "tier", "get", "tier", "alias", "(", ")", ";", "assert", "equals", "(", "m", "meta", "manager", "get", "tiers", "below", "(", "tier", "alias", ")", "size", "(", ")", ",", "m", "meta", "manager", "view", "get", "tier", "views", "below", "(", "tier", "alias", ")", "size", "(", ")", ")", ";", "}" ]
[ "tests", "that", "an", "exception", "is", "thrown", "in", "the", "{" ]
[ "m", "thrown", "expect", "(", "block", "does", "not", "exist", "exception", "class", ")", ";", "m", "thrown", "expect", "message", "(", "exception", "message", "block", "meta", "not", "found", "get", "message", "(", "test", "block", "id", ")", ")", ";", "m", "meta", "manager", "view", "get", "block", "meta", "(", "test", "block", "id", ")", ";" ]
[ "assert", "if", "two", "tier", "views", "are", "the", "same", "by", "comparing", "their", "contents" ]
[ "assert", "equals", "(", "tier", "view", "1", "get", "tier", "view", "alias", "(", ")", ",", "tier", "view", "2", "get", "tier", "view", "alias", "(", ")", ")", ";", "assert", "equals", "(", "tier", "view", "1", "get", "tier", "view", "ordinal", "(", ")", ",", "tier", "view", "2", "get", "tier", "view", "ordinal", "(", ")", ")", ";", "list", "<", "storage", "dir", "view", ">", "dir", "views", "1", "=", "tier", "view", "1", "get", "dir", "views", "(", ")", ";", "list", "<", "storage", "dir", "view", ">", "dir", "views", "2", "=", "tier", "view", "2", "get", "dir", "views", "(", ")", ";", "assert", "equals", "(", "dir", "views", "1", "size", "(", ")", ",", "dir", "views", "2", "size", "(", ")", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "dir", "views", "1", "size", "(", ")", ";", "i", "+", "+", ")", "{", "storage", "dir", "view", "dir", "view", "1", "=", "dir", "views", "1", "get", "(", "i", ")", ";", "storage", "dir", "view", "dir", "view", "2", "=", "dir", "views", "2", "get", "(", "i", ")", ";", "assert", "equals", "(", "dir", "view", "1", "get", "available", "bytes", "(", ")", ",", "dir", "view", "2", "get", "available", "bytes", "(", ")", ")", ";", "assert", "equals", "(", "dir", "view", "1", "get", "capacity", "bytes", "(", ")", ",", "dir", "view", "2", "get", "capacity", "bytes", "(", ")", ")", ";", "assert", "equals", "(", "dir", "view", "1", "get", "committed", "bytes", "(", ")", ",", "dir", "view", "2", "get", "committed", "bytes", "(", ")", ")", ";", "assert", "equals", "(", "dir", "view", "1", "get", "dir", "view", "index", "(", ")", ",", "dir", "view", "2", "get", "dir", "view", "index", "(", ")", ")", ";", "assert", "equals", "(", "dir", "view", "1", "get", "evictable", "blocks", "(", ")", ",", "dir", "view", "2", "get", "evictable", "blocks", "(", ")", ")", ";", "assert", "equals", "(", "dir", "view", "1", "get", "evitable", "bytes", "(", ")", ",", "dir", "view", "2", "get", "evitable", "bytes", "(", ")", ")", ";", "}" ]
[ "the", "total", "number", "of", "documents", "that", "matched", "this", "query" ]
[ "return", "total", "hits", ";" ]
[ "return", "the", "configuration", "properties", "annotation", "that", "triggered", "the", "binding" ]
[ "return", "this", "annotation", ";" ]
[ "checks", "whether", "lhs", "is", "equal", "to", "rhs" ]
[ "return", "lhs", "equals", "(", "rhs", ")", ";" ]
[ "implementations", "for", "attribute" ]
[ "attribute", "visitor", "visit", "inner", "classes", "attribute", "(", "clazz", ",", "this", ")", ";" ]
[ "<", "p", ">", "the", "domain", "name", "for", "which", "you", "requested", "a", "confirmation", "email", "<", "/", "p", ">" ]
[ "set", "domain", "name", "(", "domain", "name", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "the", "email", "address", "for", "the", "registrant", "contact", "at", "the", "time", "that", "we", "sent", "the", "verification", "email", "<", "/", "p", ">" ]
[ "set", "email", "address", "(", "email", "address", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "<", "code", ">", "true", "<", "/", "code", ">", "if", "the", "email", "address", "for", "the", "registrant", "contact", "has", "already", "been", "verified", "and", "<", "code", ">", "false", "<", "/", "code", ">", "otherwise", "if", "the", "email", "address", "has", "already", "been", "verified", "we", "don", "t", "send", "another", "confirmation", "email", "<", "/", "p", ">" ]
[ "this", "is", "already", "verified", "=", "is", "already", "verified", ";" ]
[ "<", "p", ">", "<", "code", ">", "true", "<", "/", "code", ">", "if", "the", "email", "address", "for", "the", "registrant", "contact", "has", "already", "been", "verified", "and", "<", "code", ">", "false", "<", "/", "code", ">", "otherwise", "if", "the", "email", "address", "has", "already", "been", "verified", "we", "don", "t", "send", "another", "confirmation", "email", "<", "/", "p", ">" ]
[ "return", "this", "is", "already", "verified", ";" ]
[ "<", "p", ">", "<", "code", ">", "true", "<", "/", "code", ">", "if", "the", "email", "address", "for", "the", "registrant", "contact", "has", "already", "been", "verified", "and", "<", "code", ">", "false", "<", "/", "code", ">", "otherwise", "if", "the", "email", "address", "has", "already", "been", "verified", "we", "don", "t", "send", "another", "confirmation", "email", "<", "/", "p", ">" ]
[ "set", "is", "already", "verified", "(", "is", "already", "verified", ")", ";", "return", "this", ";" ]
[ "<", "p", ">", "<", "code", ">", "true", "<", "/", "code", ">", "if", "the", "email", "address", "for", "the", "registrant", "contact", "has", "already", "been", "verified", "and", "<", "code", ">", "false", "<", "/", "code", ">", "otherwise", "if", "the", "email", "address", "has", "already", "been", "verified", "we", "don", "t", "send", "another", "confirmation", "email", "<", "/", "p", ">" ]
[ "return", "this", "is", "already", "verified", ";" ]
[ "obtain", "a", "{" ]
[ "partitioning", "strategy", "strategy", "=", "null", ";", "if", "(", "config", "!", "=", "null", ")", "{", "strategy", "=", "config", "get", "partitioning", "strategy", "(", ")", ";", "if", "(", "strategy", "=", "=", "null", ")", "{", "if", "(", "cache", "contains", "key", "(", "map", "name", ")", ")", "{", "strategy", "=", "cache", "get", "(", "map", "name", ")", ";", "}", "else", "if", "(", "config", "get", "partitioning", "strategy", "class", "(", ")", "!", "=", "null", ")", "{", "try", "{", "strategy", "=", "class", "loader", "util", "new", "instance", "(", "config", "class", "loader", ",", "config", "get", "partitioning", "strategy", "class", "(", ")", ")", ";", "cache", "put", "(", "map", "name", ",", "strategy", ")", ";", "}", "catch", "(", "exception", "e", ")", "{", "throw", "exception", "util", "rethrow", "(", "e", ")", ";", "}", "}", "}", "}", "return", "strategy", ";" ]
[ "remove", "the", "cached", "{" ]
[ "cache", "remove", "(", "map", "name", ")", ";" ]
[ "for", "each", "input", "feature", "we", "separately", "compute", "depth", "multiplier", "many", "output", "maps", "for", "the", "given", "kernel", "size" ]
[ "int", "[", "]", "kernel", "=", "layer", "conf", "get", "kernel", "size", "(", ")", ";", "val", "n", "in", "=", "layer", "conf", "get", "n", "in", "(", ")", ";", "val", "depth", "multiplier", "=", "layer", "conf", "get", "depth", "multiplier", "(", ")", ";", "return", "n", "in", "*", "depth", "multiplier", "*", "kernel", "[", "0", "]", "*", "kernel", "[", "1", "]", ";" ]
[ "for", "the", "point", "-", "wise", "convolution", "part", "we", "have", "(", "n", "in", "*", "depth", "multiplier", ")", "many", "input", "maps", "and", "n", "out", "output", "maps", "kernel", "size", "is", "(", "1", "1", ")", "for", "this", "operation" ]
[ "val", "n", "in", "=", "layer", "conf", "get", "n", "in", "(", ")", ";", "val", "n", "out", "=", "layer", "conf", "get", "n", "out", "(", ")", ";", "val", "depth", "multiplier", "=", "layer", "conf", "get", "depth", "multiplier", "(", ")", ";", "return", "(", "n", "in", "*", "depth", "multiplier", ")", "*", "n", "out", ";" ]
[ "get", "connection" ]
[ "return", "get", "connections", "(", "connection", "mode", "memory", "strictly", ",", "data", "source", "name", ",", "1", ")", "get", "(", "0", ")", ";" ]
[ "backward", "compatibility" ]
[ "return", "do", "check", "spec", "(", "value", ",", "item", ")", ";" ]
[ "for", "generating", "a", "export", "script", "file", "this", "is", "the", "file", "which", "will", "be", "written" ]
[ "output", "file", "=", "filename", ";", "return", "this", ";" ]
[ "comma", "-", "separated", "list", "of", "resource", "names", "to", "use", "for", "database", "init", "commands", "on", "create" ]
[ "this", "import", "files", "=", "import", "files", ";", "return", "this", ";" ]
[ "set", "the", "end", "of", "statement", "delimiter" ]
[ "this", "delimiter", "=", "delimiter", ";", "return", "this", ";" ]
[ "should", "we", "format", "the", "sql", "strings", "?" ]
[ "this", "format", "=", "format", ";", "return", "this", ";" ]
[ "should", "we", "stop", "once", "an", "error", "occurs", "?" ]
[ "this", "halt", "on", "error", "=", "halt", "on", "error", ";", "return", "this", ";" ]
[ "for", "testing", "use" ]
[ "do", "execution", "(", "action", ",", "false", ",", "metadata", ",", "(", "(", "metadata", "implementor", ")", "metadata", ")", "get", "metadata", "building", "options", "(", ")", "get", "service", "registry", "(", ")", ",", "new", "target", "descriptor", "impl", "(", "enum", "set", "of", "(", "target", "type", "script", ")", ",", "target", ")", ")", ";" ]
[ "returns", "a", "list", "of", "all", "exceptions", "which", "occurred", "during", "the", "export" ]
[ "return", "exceptions", ";" ]
[ "test", "if", "event", "represents", "a", "partial", "response", "which", "is", "continued", "in", "additional", "subsequent", "events" ]
[ "return", "m", "code", ">", "=", "100", "&", "&", "m", "code", "<", "200", ";" ]
[ "test", "if", "event", "represents", "a", "command", "success" ]
[ "return", "m", "code", ">", "=", "200", "&", "&", "m", "code", "<", "300", ";" ]
[ "test", "if", "event", "represents", "a", "remote", "native", "daemon", "error" ]
[ "return", "m", "code", ">", "=", "400", "&", "&", "m", "code", "<", "500", ";" ]
[ "test", "if", "event", "represents", "a", "command", "syntax", "or", "argument", "error" ]
[ "return", "m", "code", ">", "=", "500", "&", "&", "m", "code", "<", "600", ";" ]
[ "test", "if", "event", "represents", "an", "unsolicited", "event", "from", "native", "daemon" ]
[ "return", "is", "class", "unsolicited", "(", "m", "code", ")", ";" ]
[ "filter", "the", "given", "{" ]
[ "final", "array", "list", "<", "string", ">", "result", "=", "lists", "new", "array", "list", "(", ")", ";", "for", "(", "native", "daemon", "event", "event", ":", "events", ")", "{", "if", "(", "event", "get", "code", "(", ")", "=", "=", "match", "code", ")", "{", "result", "add", "(", "event", "get", "message", "(", ")", ")", ";", "}", "}", "return", "result", "to", "array", "(", "new", "string", "[", "result", "size", "(", ")", "]", ")", ";" ]
[ "returns", "true", "if", "the", "animation", "is", "running" ]
[ "return", "m", "animating", ";" ]
[ "the", "original", "settings", "that", "were", "used", "to", "create", "the", "node" ]
[ "return", "original", "settings", ";" ]
[ "returns", "the", "{" ]
[ "return", "node", "environment", ";" ]
[ "returns", "{" ]
[ "return", "lifecycle", "closed", "(", ")", ";" ]
[ "the", "{" ]
[ "return", "plugins", "service", ";" ]
[ "creates", "a", "new", "{" ]
[ "return", "new", "big", "arrays", "(", "page", "cache", "recycler", ",", "circuit", "breaker", "service", ")", ";" ]
[ "creates", "a", "new", "{" ]
[ "return", "new", "page", "cache", "recycler", "(", "settings", ")", ";" ]
[ "creates", "a", "new", "the", "search", "service", "this", "method", "can", "be", "overwritten", "by", "tests", "to", "inject", "mock", "implementations" ]
[ "return", "new", "search", "service", "(", "cluster", "service", ",", "indices", "service", ",", "thread", "pool", ",", "script", "service", ",", "big", "arrays", ",", "fetch", "phase", ",", "response", "collector", "service", ")", ";" ]
[ "get", "custom", "name", "resolvers", "list", "based", "on", "a", "discovery", "plugins", "list" ]
[ "list", "<", "network", "service", "custom", "name", "resolver", ">", "custom", "name", "resolvers", "=", "new", "array", "list", "<", ">", "(", ")", ";", "for", "(", "discovery", "plugin", "discovery", "plugin", ":", "discovery", "plugins", ")", "{", "network", "service", "custom", "name", "resolver", "custom", "name", "resolver", "=", "discovery", "plugin", "get", "custom", "name", "resolver", "(", "settings", ")", ";", "if", "(", "custom", "name", "resolver", "!", "=", "null", ")", "{", "custom", "name", "resolvers", "add", "(", "custom", "name", "resolver", ")", ";", "}", "}", "return", "custom", "name", "resolvers", ";" ]
[ "constructs", "a", "cluster", "info", "service", "which", "may", "be", "mocked", "for", "tests" ]
[ "return", "new", "internal", "cluster", "info", "service", "(", "settings", ",", "cluster", "service", ",", "thread", "pool", ",", "client", ",", "listeners", ")", ";" ]
[ "constructs", "a", "{" ]
[ "return", "network", "module", "get", "http", "server", "transport", "supplier", "(", ")", "get", "(", ")", ";" ]
[ "parses", "the", "string", "argument", "as", "if", "it", "was", "a", "short", "value", "and", "returns", "the", "result", "throws", "number", "format", "exception", "if", "the", "string", "does", "not", "represent", "an", "short", "quantity" ]
[ "return", "parse", "short", "(", "bytes", ",", "start", ",", "length", ",", "10", ")", ";" ]
[ "parses", "the", "string", "argument", "as", "if", "it", "was", "a", "short", "value", "and", "returns", "the", "result", "throws", "number", "format", "exception", "if", "the", "string", "does", "not", "represent", "a", "single", "short", "quantity", "the", "second", "argument", "specifies", "the", "radix", "to", "use", "when", "parsing", "the", "value" ]
[ "return", "parse", "short", "(", "bytes", ",", "start", ",", "length", ",", "radix", ",", "false", ")", ";" ]
[ "parses", "the", "string", "argument", "as", "if", "it", "was", "a", "short", "value", "and", "returns", "the", "result", "throws", "number", "format", "exception", "if", "the", "string", "does", "not", "represent", "a", "single", "short", "quantity", "the", "second", "argument", "specifies", "the", "radix", "to", "use", "when", "parsing", "the", "value" ]
[ "int", "int", "value", "=", "lazy", "integer", "parse", "int", "(", "bytes", ",", "start", ",", "length", ",", "radix", ",", "trim", ")", ";", "short", "result", "=", "(", "short", ")", "int", "value", ";", "if", "(", "result", "=", "=", "int", "value", ")", "{", "return", "result", ";", "}", "throw", "new", "number", "format", "exception", "(", ")", ";" ]
[ "get", "the", "singleton", "perf", "logger", "instance" ]
[ "perf", "logger", "result", "=", "perf", "logger", "get", "(", ")", ";", "if", "(", "reset", "perf", "logger", "|", "|", "result", "=", "=", "null", ")", "{", "result", "=", "new", "perf", "logger", "(", ")", ";", "perf", "logger", "set", "(", "result", ")", ";", "}", "return", "result", ";" ]
[ "cleans", "up", "any", "dangling", "perf", "log", "metric", "call", "scopes" ]
[ "for", "(", "timer", "context", "context", ":", "timer", "contexts", "values", "(", ")", ")", "{", "context", "close", "(", ")", ";", "}", "timer", "contexts", "clear", "(", ")", ";" ]
[ "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=", "=" ]
[ "return", "p", "touch", "event", "get", "motion", "event", "(", ")", "get", "x", "(", ")", ";" ]
[ "compare", "the", "value", "of", "the", "m", "x", "bean", "attribute", "being", "polling", "to", "check", "if", "it", "is", "in", "a", "range", "from", "specified", "min", "value", "to", "specified", "max", "value" ]
[ "return", "(", "value", "compare", "to", "(", "min", ")", ">", "0", ")", "&", "&", "(", "value", "compare", "to", "(", "max", ")", "<", "0", ")", ";" ]
[ "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", "data", ":", "return", "is", "set", "data", "(", ")", ";", "}", "throw", "new", "illegal", "state", "exception", "(", ")", ";" ]
[ "the", "response", "content", "type" ]
[ "public", "abstract", "string", "content", "type", "(", ")", ";" ]
[ "the", "method", "applies", "properties", "to", "the", "given", "spatial", "the", "properties", "instance", "cannot", "be", "directly", "applied", "because", "the", "end", "-", "user", "might", "not", "have", "the", "blender", "plugin", "jar", "file", "and", "thus", "receive", "class", "not", "found", "exception", "the", "values", "are", "set", "by", "name", "instead" ]
[ "list", "<", "string", ">", "property", "names", "=", "properties", "get", "sub", "properties", "names", "(", ")", ";", "if", "(", "property", "names", "!", "=", "null", "&", "&", "property", "names", "size", "(", ")", ">", "0", ")", "{", "for", "(", "string", "property", "name", ":", "property", "names", ")", "{", "object", "value", "=", "properties", "find", "value", "(", "property", "name", ")", ";", "if", "(", "value", "instanceof", "savable", "|", "|", "value", "instanceof", "boolean", "|", "|", "value", "instanceof", "string", "|", "|", "value", "instanceof", "float", "|", "|", "value", "instanceof", "integer", "|", "|", "value", "instanceof", "long", ")", "{", "spatial", "set", "user", "data", "(", "property", "name", ",", "value", ")", ";", "}", "else", "if", "(", "value", "instanceof", "double", ")", "{", "spatial", "set", "user", "data", "(", "property", "name", ",", "(", "(", "double", ")", "value", ")", "float", "value", "(", ")", ")", ";", "}", "else", "if", "(", "value", "instanceof", "int", "[", "]", ")", "{", "spatial", "set", "user", "data", "(", "property", "name", ",", "arrays", "to", "string", "(", "(", "int", "[", "]", ")", "value", ")", ")", ";", "}", "else", "if", "(", "value", "instanceof", "float", "[", "]", ")", "{", "spatial", "set", "user", "data", "(", "property", "name", ",", "arrays", "to", "string", "(", "(", "float", "[", "]", ")", "value", ")", ")", ";", "}", "else", "if", "(", "value", "instanceof", "double", "[", "]", ")", "{", "spatial", "set", "user", "data", "(", "property", "name", ",", "arrays", "to", "string", "(", "(", "double", "[", "]", ")", "value", ")", ")", ";", "}", "}", "}" ]
[ "adds", "k", "8s", "and", "che", "specific", "configuration", "of", "a", "sidecar", "into", "the", "environment", "for", "example", ":", "<", "li", ">", "k", "8s", "container", "configuration", "{", "@", "link", "container", "}", "<", "li", ">", "k", "8s", "service", "configuration", "{", "@", "link", "service", "}", "<", "li", ">", "che", "machine", "config", "{", "@", "link", "internal", "machine", "config", "}" ]
[ "k", "8s", "container", "resolver", "k", "8s", "container", "resolver", "=", "new", "k", "8s", "container", "resolver", "builder", "(", ")", "set", "container", "(", "container", ")", "set", "image", "pull", "policy", "(", "sidecar", "image", "pull", "policy", ")", "set", "plugin", "name", "(", "che", "plugin", "get", "name", "(", ")", ")", "set", "plugin", "endpoints", "(", "che", "plugin", "get", "endpoints", "(", ")", ")", "build", "(", ")", ";", "list", "<", "che", "plugin", "endpoint", ">", "container", "endpoints", "=", "k", "8s", "container", "resolver", "get", "endpoints", "(", ")", ";", "container", "k", "8s", "container", "=", "k", "8s", "container", "resolver", "resolve", "(", ")", ";", "string", "machine", "name", "=", "names", "machine", "name", "(", "pod", ",", "k", "8s", "container", ")", ";", "pod", "get", "spec", "(", ")", "get", "containers", "(", ")", "add", "(", "k", "8s", "container", ")", ";", "machine", "resolver", "machine", "resolver", "=", "new", "machine", "resolver", "builder", "(", ")", "set", "che", "container", "(", "container", ")", "set", "container", "(", "k", "8s", "container", ")", "set", "container", "endpoints", "(", "container", "endpoints", ")", "set", "default", "sidecar", "memory", "size", "attribute", "(", "default", "sidecar", "memory", "limit", "bytes", ")", "set", "attributes", "(", "kubernetes", "environment", "get", "attributes", "(", ")", ")", "build", "(", ")", ";", "internal", "machine", "config", "machine", "config", "=", "machine", "resolver", "resolve", "(", ")", ";", "kubernetes", "environment", "get", "machines", "(", ")", "put", "(", "machine", "name", ",", "machine", "config", ")", ";", "sidecar", "services", "provisioner", "sidecar", "services", "provisioner", "=", "new", "sidecar", "services", "provisioner", "(", "container", "endpoints", ",", "pod", "get", "metadata", "(", ")", "get", "name", "(", ")", ")", ";", "sidecar", "services", "provisioner", "provision", "(", "kubernetes", "environment", ")", ";" ]
[ "opens", "one", "or", "more", "projects" ]
[ "for", "(", "final", "i", "navi", "project", "project", ":", "projects", ")", "{", "c", "project", "loader", "load", "project", "(", "project", "tree", ",", "project", ")", ";", "}" ]
[ "retrieves", "the", "name", "of", "the", "user", "associated", "with", "the", "current", "thread" ]
[ "char", "[", "]", "buffer", "=", "new", "char", "[", "128", "]", ";", "int", "by", "reference", "len", "=", "new", "int", "by", "reference", "(", "buffer", "length", ")", ";", "boolean", "result", "=", "advapi", "3", "2", "instance", "get", "user", "name", "w", "(", "buffer", ",", "len", ")", ";", "if", "(", "!", "result", ")", "{", "switch", "(", "kernel", "3", "2", "instance", "get", "last", "error", "(", ")", ")", "{", "case", "w", "3", "2", "errors", "error", "insufficient", "buffer", ":", "buffer", "=", "new", "char", "[", "len", "get", "value", "(", ")", "]", ";", "break", ";", "default", ":", "throw", "new", "win", "3", "2", "exception", "(", "native", "get", "last", "error", "(", ")", ")", ";", "}", "result", "=", "advapi", "3", "2", "instance", "get", "user", "name", "w", "(", "buffer", ",", "len", ")", ";", "}", "if", "(", "!", "result", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "native", "get", "last", "error", "(", ")", ")", ";", "}", "return", "native", "to", "string", "(", "buffer", ")", ";" ]
[ "retrieves", "a", "security", "identifier", "(", "sid", ")", "for", "the", "account", "on", "the", "current", "system" ]
[ "return", "get", "account", "by", "name", "(", "null", ",", "account", "name", ")", ";" ]
[ "get", "the", "account", "by", "sid", "on", "the", "local", "system" ]
[ "return", "get", "account", "by", "sid", "(", "null", ",", "sid", ")", ";" ]
[ "convert", "a", "security", "identifier", "(", "sid", ")", "to", "a", "string", "format", "suitable", "for", "display", "storage", "or", "transmission" ]
[ "pointer", "by", "reference", "string", "sid", "=", "new", "pointer", "by", "reference", "(", ")", ";", "if", "(", "!", "advapi", "3", "2", "instance", "convert", "sid", "to", "string", "sid", "(", "sid", ",", "string", "sid", ")", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "kernel", "3", "2", "instance", "get", "last", "error", "(", ")", ")", ";", "}", "pointer", "ptr", "=", "string", "sid", "get", "value", "(", ")", ";", "try", "{", "return", "ptr", "get", "wide", "string", "(", "0", ")", ";", "}", "finally", "{", "kernel", "3", "2", "util", "free", "local", "memory", "(", "ptr", ")", ";", "}" ]
[ "convert", "a", "string", "representation", "of", "a", "security", "identifier", "(", "sid", ")", "to", "a", "binary", "format" ]
[ "p", "s", "i", "d", "by", "reference", "p", "s", "i", "d", "=", "new", "p", "s", "i", "d", "by", "reference", "(", ")", ";", "if", "(", "!", "advapi", "3", "2", "instance", "convert", "string", "sid", "to", "sid", "(", "sid", "string", ",", "p", "s", "i", "d", ")", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "kernel", "3", "2", "instance", "get", "last", "error", "(", ")", ")", ";", "}", "psid", "value", "=", "p", "s", "i", "d", "get", "value", "(", ")", ";", "try", "{", "return", "value", "get", "bytes", "(", ")", ";", "}", "finally", "{", "kernel", "3", "2", "util", "free", "local", "memory", "(", "value", "get", "pointer", "(", ")", ")", ";", "}" ]
[ "compares", "a", "sid", "to", "a", "well", "known", "sid", "and", "returns", "true", "if", "they", "match" ]
[ "p", "s", "i", "d", "by", "reference", "p", "s", "i", "d", "=", "new", "p", "s", "i", "d", "by", "reference", "(", ")", ";", "if", "(", "!", "advapi", "3", "2", "instance", "convert", "string", "sid", "to", "sid", "(", "sid", "string", ",", "p", "s", "i", "d", ")", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "kernel", "3", "2", "instance", "get", "last", "error", "(", ")", ")", ";", "}", "psid", "value", "=", "p", "s", "i", "d", "get", "value", "(", ")", ";", "try", "{", "return", "advapi", "3", "2", "instance", "is", "well", "known", "sid", "(", "value", ",", "well", "known", "sid", "type", ")", ";", "}", "finally", "{", "kernel", "3", "2", "util", "free", "local", "memory", "(", "value", "get", "pointer", "(", ")", ")", ";", "}" ]
[ "compares", "a", "sid", "to", "a", "well", "known", "sid", "and", "returns", "true", "if", "they", "match" ]
[ "psid", "p", "s", "i", "d", "=", "new", "psid", "(", "sid", "bytes", ")", ";", "return", "advapi", "3", "2", "instance", "is", "well", "known", "sid", "(", "p", "s", "i", "d", ",", "well", "known", "sid", "type", ")", ";" ]
[ "align", "cb", "acl", "on", "a", "dword" ]
[ "return", "(", "cb", "acl", "+", "(", "dword", "size", "-", "1", ")", ")", "&", "0xfffffffc", ";" ]
[ "helper", "function", "to", "calculate", "the", "size", "of", "an", "ace", "for", "a", "given", "psid", "size" ]
[ "return", "native", "get", "native", "size", "(", "access", "allowed", "ace", "class", ",", "null", ")", "+", "sid", "length", "-", "dword", "size", ";" ]
[ "get", "an", "account", "name", "from", "a", "string", "sid", "on", "the", "local", "machine" ]
[ "return", "get", "account", "by", "sid", "(", "null", ",", "sid", "string", ")", ";" ]
[ "get", "an", "account", "name", "from", "a", "string", "sid" ]
[ "return", "get", "account", "by", "sid", "(", "system", "name", ",", "new", "psid", "(", "convert", "string", "sid", "to", "sid", "(", "sid", "string", ")", ")", ")", ";" ]
[ "checks", "whether", "a", "registry", "key", "exists" ]
[ "return", "registry", "key", "exists", "(", "root", ",", "key", ",", "0", ")", ";" ]
[ "checks", "whether", "a", "registry", "key", "exists" ]
[ "h", "k", "e", "y", "by", "reference", "phk", "key", "=", "new", "h", "k", "e", "y", "by", "reference", "(", ")", ";", "int", "rc", "=", "advapi", "3", "2", "instance", "reg", "open", "key", "ex", "(", "root", ",", "key", ",", "0", ",", "win", "n", "t", "key", "read", "|", "sam", "desired", "extra", ",", "phk", "key", ")", ";", "switch", "(", "rc", ")", "{", "case", "w", "3", "2", "errors", "error", "success", ":", "advapi", "3", "2", "instance", "reg", "close", "key", "(", "phk", "key", "get", "value", "(", ")", ")", ";", "return", "true", ";", "case", "w", "3", "2", "errors", "error", "file", "not", "found", ":", "return", "false", ";", "default", ":", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}" ]
[ "checks", "whether", "a", "registry", "value", "exists" ]
[ "return", "registry", "value", "exists", "(", "root", ",", "key", ",", "value", ",", "0", ")", ";" ]
[ "checks", "whether", "a", "registry", "value", "exists" ]
[ "h", "k", "e", "y", "by", "reference", "phk", "key", "=", "new", "h", "k", "e", "y", "by", "reference", "(", ")", ";", "int", "rc", "=", "advapi", "3", "2", "instance", "reg", "open", "key", "ex", "(", "root", ",", "key", ",", "0", ",", "win", "n", "t", "key", "read", "|", "sam", "desired", "extra", ",", "phk", "key", ")", ";", "try", "{", "switch", "(", "rc", ")", "{", "case", "w", "3", "2", "errors", "error", "success", ":", "break", ";", "case", "w", "3", "2", "errors", "error", "file", "not", "found", ":", "return", "false", ";", "default", ":", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "int", "by", "reference", "lpcb", "data", "=", "new", "int", "by", "reference", "(", ")", ";", "int", "by", "reference", "lp", "type", "=", "new", "int", "by", "reference", "(", ")", ";", "rc", "=", "advapi", "3", "2", "instance", "reg", "query", "value", "ex", "(", "phk", "key", "get", "value", "(", ")", ",", "value", ",", "0", ",", "lp", "type", ",", "(", "pointer", ")", "null", ",", "lpcb", "data", ")", ";", "switch", "(", "rc", ")", "{", "case", "w", "3", "2", "errors", "error", "success", ":", "case", "w", "3", "2", "errors", "error", "more", "data", ":", "case", "w", "3", "2", "errors", "error", "insufficient", "buffer", ":", "return", "true", ";", "case", "w", "3", "2", "errors", "error", "file", "not", "found", ":", "return", "false", ";", "default", ":", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "}", "finally", "{", "if", "(", "phk", "key", "get", "value", "(", ")", "!", "=", "win", "base", "invalid", "handle", "value", ")", "{", "rc", "=", "advapi", "3", "2", "instance", "reg", "close", "key", "(", "phk", "key", "get", "value", "(", ")", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "}", "}" ]
[ "get", "a", "registry", "reg", "sz", "value" ]
[ "return", "registry", "get", "string", "value", "(", "root", ",", "key", ",", "value", ",", "0", ")", ";" ]
[ "get", "a", "registry", "reg", "sz", "value" ]
[ "h", "k", "e", "y", "by", "reference", "phk", "key", "=", "new", "h", "k", "e", "y", "by", "reference", "(", ")", ";", "int", "rc", "=", "advapi", "3", "2", "instance", "reg", "open", "key", "ex", "(", "root", ",", "key", ",", "0", ",", "win", "n", "t", "key", "read", "|", "sam", "desired", "extra", ",", "phk", "key", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "try", "{", "return", "registry", "get", "string", "value", "(", "phk", "key", "get", "value", "(", ")", ",", "value", ")", ";", "}", "finally", "{", "rc", "=", "advapi", "3", "2", "instance", "reg", "close", "key", "(", "phk", "key", "get", "value", "(", ")", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "}" ]
[ "get", "a", "registry", "reg", "expand", "sz", "value" ]
[ "return", "registry", "get", "expandable", "string", "value", "(", "root", ",", "key", ",", "value", ",", "0", ")", ";" ]
[ "get", "a", "registry", "reg", "expand", "sz", "value" ]
[ "h", "k", "e", "y", "by", "reference", "phk", "key", "=", "new", "h", "k", "e", "y", "by", "reference", "(", ")", ";", "int", "rc", "=", "advapi", "3", "2", "instance", "reg", "open", "key", "ex", "(", "root", ",", "key", ",", "0", ",", "win", "n", "t", "key", "read", "|", "sam", "desired", "extra", ",", "phk", "key", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "try", "{", "return", "registry", "get", "expandable", "string", "value", "(", "phk", "key", "get", "value", "(", ")", ",", "value", ")", ";", "}", "finally", "{", "rc", "=", "advapi", "3", "2", "instance", "reg", "close", "key", "(", "phk", "key", "get", "value", "(", ")", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "}" ]
[ "get", "a", "registry", "reg", "multi", "sz", "value" ]
[ "return", "registry", "get", "string", "array", "(", "root", ",", "key", ",", "value", ",", "0", ")", ";" ]
[ "get", "a", "registry", "reg", "multi", "sz", "value" ]
[ "h", "k", "e", "y", "by", "reference", "phk", "key", "=", "new", "h", "k", "e", "y", "by", "reference", "(", ")", ";", "int", "rc", "=", "advapi", "3", "2", "instance", "reg", "open", "key", "ex", "(", "root", ",", "key", ",", "0", ",", "win", "n", "t", "key", "read", "|", "sam", "desired", "extra", ",", "phk", "key", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "try", "{", "return", "registry", "get", "string", "array", "(", "phk", "key", "get", "value", "(", ")", ",", "value", ")", ";", "}", "finally", "{", "rc", "=", "advapi", "3", "2", "instance", "reg", "close", "key", "(", "phk", "key", "get", "value", "(", ")", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "}" ]
[ "get", "a", "registry", "reg", "binary", "value" ]
[ "return", "registry", "get", "binary", "value", "(", "root", ",", "key", ",", "value", ",", "0", ")", ";" ]
[ "get", "a", "registry", "reg", "binary", "value" ]
[ "h", "k", "e", "y", "by", "reference", "phk", "key", "=", "new", "h", "k", "e", "y", "by", "reference", "(", ")", ";", "int", "rc", "=", "advapi", "3", "2", "instance", "reg", "open", "key", "ex", "(", "root", ",", "key", ",", "0", ",", "win", "n", "t", "key", "read", "|", "sam", "desired", "extra", ",", "phk", "key", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "try", "{", "return", "registry", "get", "binary", "value", "(", "phk", "key", "get", "value", "(", ")", ",", "value", ")", ";", "}", "finally", "{", "rc", "=", "advapi", "3", "2", "instance", "reg", "close", "key", "(", "phk", "key", "get", "value", "(", ")", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "}" ]
[ "get", "a", "registry", "dword", "value" ]
[ "return", "registry", "get", "int", "value", "(", "root", ",", "key", ",", "value", ",", "0", ")", ";" ]
[ "get", "a", "registry", "dword", "value" ]
[ "h", "k", "e", "y", "by", "reference", "phk", "key", "=", "new", "h", "k", "e", "y", "by", "reference", "(", ")", ";", "int", "rc", "=", "advapi", "3", "2", "instance", "reg", "open", "key", "ex", "(", "root", ",", "key", ",", "0", ",", "win", "n", "t", "key", "read", "|", "sam", "desired", "extra", ",", "phk", "key", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "try", "{", "return", "registry", "get", "int", "value", "(", "phk", "key", "get", "value", "(", ")", ",", "value", ")", ";", "}", "finally", "{", "rc", "=", "advapi", "3", "2", "instance", "reg", "close", "key", "(", "phk", "key", "get", "value", "(", ")", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "}" ]
[ "get", "a", "registry", "qword", "value" ]
[ "return", "registry", "get", "long", "value", "(", "root", ",", "key", ",", "value", ",", "0", ")", ";" ]
[ "get", "a", "registry", "qword", "value" ]
[ "h", "k", "e", "y", "by", "reference", "phk", "key", "=", "new", "h", "k", "e", "y", "by", "reference", "(", ")", ";", "int", "rc", "=", "advapi", "3", "2", "instance", "reg", "open", "key", "ex", "(", "root", ",", "key", ",", "0", ",", "win", "n", "t", "key", "read", "|", "sam", "desired", "extra", ",", "phk", "key", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "try", "{", "return", "registry", "get", "long", "value", "(", "phk", "key", "get", "value", "(", ")", ",", "value", ")", ";", "}", "finally", "{", "rc", "=", "advapi", "3", "2", "instance", "reg", "close", "key", "(", "phk", "key", "get", "value", "(", ")", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "}" ]
[ "create", "a", "registry", "key" ]
[ "return", "registry", "create", "key", "(", "h", "key", ",", "key", "name", ",", "0", ")", ";" ]
[ "create", "a", "registry", "key" ]
[ "h", "k", "e", "y", "by", "reference", "phk", "result", "=", "new", "h", "k", "e", "y", "by", "reference", "(", ")", ";", "int", "by", "reference", "lpdw", "disposition", "=", "new", "int", "by", "reference", "(", ")", ";", "int", "rc", "=", "advapi", "3", "2", "instance", "reg", "create", "key", "ex", "(", "h", "key", ",", "key", "name", ",", "0", ",", "null", ",", "win", "n", "t", "reg", "option", "non", "volatile", ",", "win", "n", "t", "key", "read", "|", "sam", "desired", "extra", ",", "null", ",", "phk", "result", ",", "lpdw", "disposition", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "rc", "=", "advapi", "3", "2", "instance", "reg", "close", "key", "(", "phk", "result", "get", "value", "(", ")", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "return", "win", "n", "t", "reg", "created", "new", "key", "=", "=", "lpdw", "disposition", "get", "value", "(", ")", ";" ]
[ "create", "a", "registry", "key" ]
[ "return", "registry", "create", "key", "(", "root", ",", "parent", "path", ",", "key", "name", ",", "0", ")", ";" ]
[ "create", "a", "registry", "key" ]
[ "h", "k", "e", "y", "by", "reference", "phk", "key", "=", "new", "h", "k", "e", "y", "by", "reference", "(", ")", ";", "int", "rc", "=", "advapi", "3", "2", "instance", "reg", "open", "key", "ex", "(", "root", ",", "parent", "path", ",", "0", ",", "win", "n", "t", "key", "create", "sub", "key", "|", "sam", "desired", "extra", ",", "phk", "key", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "try", "{", "return", "registry", "create", "key", "(", "phk", "key", "get", "value", "(", ")", ",", "key", "name", ")", ";", "}", "finally", "{", "rc", "=", "advapi", "3", "2", "instance", "reg", "close", "key", "(", "phk", "key", "get", "value", "(", ")", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "}" ]
[ "set", "an", "integer", "value", "in", "registry" ]
[ "byte", "[", "]", "data", "=", "new", "byte", "[", "4", "]", ";", "data", "[", "0", "]", "=", "(", "byte", ")", "(", "value", "&", "0xff", ")", ";", "data", "[", "1", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", "8", ")", "&", "0xff", ")", ";", "data", "[", "2", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", "16", ")", "&", "0xff", ")", ";", "data", "[", "3", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", "24", ")", "&", "0xff", ")", ";", "int", "rc", "=", "advapi", "3", "2", "instance", "reg", "set", "value", "ex", "(", "h", "key", ",", "name", ",", "0", ",", "win", "n", "t", "reg", "dword", ",", "data", ",", "4", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}" ]
[ "set", "an", "integer", "value", "in", "registry" ]
[ "registry", "set", "int", "value", "(", "root", ",", "key", "path", ",", "name", ",", "value", ",", "0", ")", ";" ]
[ "set", "an", "integer", "value", "in", "registry" ]
[ "win", "reg", "h", "k", "e", "y", "by", "reference", "phk", "key", "=", "new", "win", "reg", "h", "k", "e", "y", "by", "reference", "(", ")", ";", "int", "rc", "=", "advapi", "3", "2", "instance", "reg", "open", "key", "ex", "(", "root", ",", "key", "path", ",", "0", ",", "win", "n", "t", "key", "read", "|", "win", "n", "t", "key", "write", "|", "sam", "desired", "extra", ",", "phk", "key", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "try", "{", "registry", "set", "int", "value", "(", "phk", "key", "get", "value", "(", ")", ",", "name", ",", "value", ")", ";", "}", "finally", "{", "rc", "=", "advapi", "3", "2", "instance", "reg", "close", "key", "(", "phk", "key", "get", "value", "(", ")", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}", "}" ]
[ "set", "a", "long", "value", "in", "registry" ]
[ "byte", "[", "]", "data", "=", "new", "byte", "[", "8", "]", ";", "data", "[", "0", "]", "=", "(", "byte", ")", "(", "value", "&", "0xff", ")", ";", "data", "[", "1", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", "8", ")", "&", "0xff", ")", ";", "data", "[", "2", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", "16", ")", "&", "0xff", ")", ";", "data", "[", "3", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", "24", ")", "&", "0xff", ")", ";", "data", "[", "4", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", "32", ")", "&", "0xff", ")", ";", "data", "[", "5", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", "40", ")", "&", "0xff", ")", ";", "data", "[", "6", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", "48", ")", "&", "0xff", ")", ";", "data", "[", "7", "]", "=", "(", "byte", ")", "(", "(", "value", ">", ">", "56", ")", "&", "0xff", ")", ";", "int", "rc", "=", "advapi", "3", "2", "instance", "reg", "set", "value", "ex", "(", "h", "key", ",", "name", ",", "0", ",", "win", "n", "t", "reg", "qword", ",", "data", ",", "8", ")", ";", "if", "(", "rc", "!", "=", "w", "3", "2", "errors", "error", "success", ")", "{", "throw", "new", "win", "3", "2", "exception", "(", "rc", ")", ";", "}" ]
[ "set", "a", "long", "value", "in", "registry" ]
[ "registry", "set", "long", "value", "(", "root", ",", "key", "path", ",", "name", ",", "value", ",", "0", ")", ";" ]