diff --git "a/github/test.jsonl" "b/github/test.jsonl"
deleted file mode 100644--- "a/github/test.jsonl"
+++ /dev/null
@@ -1,1797 +0,0 @@
-{"text": "/* \n Copyright (c) 2014-2015, GoBelieve \n All rights reserved.\t\t \t\t\t\t \t\t\t\n \n This source code is licensed under the BSD-style license found in the\n LICENSE file in the root directory of this source tree. An additional grant\n of patent rights can be found in the PATENTS file in the same directory.\n*/\n\n#import \"ESImageViewController.h\"\n\n@interface MEESImageViewController : ESImageViewController\n\n@property (nonatomic) bool isFullSize;\n@property (nonatomic,strong) UIButton *saveBtn;\n\n@end\n"}
-{"text": "require 'mxx_ru/cpp'\n\nMxxRu::Cpp::exe_target {\n\n\trequired_prj( \"so_5/prj.rb\" )\n\n\ttarget( \"_unit.test.disp.binder.bind_to_disp_3\" )\n\n\tcpp_source( \"main.cpp\" )\n}\n\n"}
-{"text": "LANGUAGE 0x9,0x1\n1 11 MSG00001.bin\n"}
-{"text": "// Copyright 2017 The Go Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\npackage httpproxy\n\nvar ExportUseProxy = (*Config).useProxy\n"}
-{"text": "// Copyright 2017 The Go Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\npackage socket\n\nconst (\n\tsysRECVMMSG = 0x10ef\n\tsysSENDMMSG = 0x10f7\n)\n"}
-{"text": "/*\nCopyright 2014 The Kubernetes Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage httplog\n\nimport (\n\t\"bufio\"\n\t\"context\"\n\t\"fmt\"\n\t\"net\"\n\t\"net/http\"\n\t\"runtime\"\n\t\"time\"\n\n\t\"k8s.io/klog/v2\"\n)\n\n// StacktracePred returns true if a stacktrace should be logged for this status.\ntype StacktracePred func(httpStatus int) (logStacktrace bool)\n\ntype logger interface {\n\tAddf(format string, data ...interface{})\n}\n\ntype respLoggerContextKeyType int\n\n// respLoggerContextKey is used to store the respLogger pointer in the request context.\nconst respLoggerContextKey respLoggerContextKeyType = iota\n\n// Add a layer on top of ResponseWriter, so we can track latency and error\n// message sources.\n//\n// TODO now that we're using go-restful, we shouldn't need to be wrapping\n// the http.ResponseWriter. We can recover panics from go-restful, and\n// the logging value is questionable.\ntype respLogger struct {\n\thijacked bool\n\tstatusRecorded bool\n\tstatus int\n\tstatusStack string\n\taddedInfo string\n\tstartTime time.Time\n\n\tcaptureErrorOutput bool\n\n\treq *http.Request\n\tw http.ResponseWriter\n\n\tlogStacktracePred StacktracePred\n}\n\n// Simple logger that logs immediately when Addf is called\ntype passthroughLogger struct{}\n\n// Addf logs info immediately.\nfunc (passthroughLogger) Addf(format string, data ...interface{}) {\n\tklog.V(2).Info(fmt.Sprintf(format, data...))\n}\n\n// DefaultStacktracePred is the default implementation of StacktracePred.\nfunc DefaultStacktracePred(status int) bool {\n\treturn (status < http.StatusOK || status >= http.StatusInternalServerError) && status != http.StatusSwitchingProtocols\n}\n\n// WithLogging wraps the handler with logging.\nfunc WithLogging(handler http.Handler, pred StacktracePred) http.Handler {\n\treturn http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {\n\t\tctx := req.Context()\n\t\tif old := respLoggerFromContext(req); old != nil {\n\t\t\tpanic(\"multiple WithLogging calls!\")\n\t\t}\n\t\trl := newLogged(req, w).StacktraceWhen(pred)\n\t\treq = req.WithContext(context.WithValue(ctx, respLoggerContextKey, rl))\n\n\t\tif klog.V(3).Enabled() {\n\t\t\tdefer func() { klog.InfoS(\"HTTP\", rl.LogArgs()...) }()\n\t\t}\n\t\thandler.ServeHTTP(rl, req)\n\t})\n}\n\n// respLoggerFromContext returns the respLogger or nil.\nfunc respLoggerFromContext(req *http.Request) *respLogger {\n\tctx := req.Context()\n\tval := ctx.Value(respLoggerContextKey)\n\tif rl, ok := val.(*respLogger); ok {\n\t\treturn rl\n\t}\n\treturn nil\n}\n\n// newLogged turns a normal response writer into a logged response writer.\nfunc newLogged(req *http.Request, w http.ResponseWriter) *respLogger {\n\treturn &respLogger{\n\t\tstartTime: time.Now(),\n\t\treq: req,\n\t\tw: w,\n\t\tlogStacktracePred: DefaultStacktracePred,\n\t}\n}\n\n// LogOf returns the logger hiding in w. If there is not an existing logger\n// then a passthroughLogger will be created which will log to stdout immediately\n// when Addf is called.\nfunc LogOf(req *http.Request, w http.ResponseWriter) logger {\n\tif rl := respLoggerFromContext(req); rl != nil {\n\t\treturn rl\n\t}\n\treturn &passthroughLogger{}\n}\n\n// Unlogged returns the original ResponseWriter, or w if it is not our inserted logger.\nfunc Unlogged(req *http.Request, w http.ResponseWriter) http.ResponseWriter {\n\tif rl := respLoggerFromContext(req); rl != nil {\n\t\treturn rl.w\n\t}\n\treturn w\n}\n\n// StacktraceWhen sets the stacktrace logging predicate, which decides when to log a stacktrace.\n// There's a default, so you don't need to call this unless you don't like the default.\nfunc (rl *respLogger) StacktraceWhen(pred StacktracePred) *respLogger {\n\trl.logStacktracePred = pred\n\treturn rl\n}\n\n// StatusIsNot returns a StacktracePred which will cause stacktraces to be logged\n// for any status *not* in the given list.\nfunc StatusIsNot(statuses ...int) StacktracePred {\n\tstatusesNoTrace := map[int]bool{}\n\tfor _, s := range statuses {\n\t\tstatusesNoTrace[s] = true\n\t}\n\treturn func(status int) bool {\n\t\t_, ok := statusesNoTrace[status]\n\t\treturn !ok\n\t}\n}\n\n// Addf adds additional data to be logged with this request.\nfunc (rl *respLogger) Addf(format string, data ...interface{}) {\n\trl.addedInfo += \"\\n\" + fmt.Sprintf(format, data...)\n}\n\nfunc (rl *respLogger) LogArgs() []interface{} {\n\tlatency := time.Since(rl.startTime)\n\tif rl.hijacked {\n\t\treturn []interface{}{\n\t\t\t\"verb\", rl.req.Method,\n\t\t\t\"URI\", rl.req.RequestURI,\n\t\t\t\"latency\", latency,\n\t\t\t\"userAgent\", rl.req.UserAgent(),\n\t\t\t\"srcIP\", rl.req.RemoteAddr,\n\t\t\t\"hijacked\", true,\n\t\t}\n\t}\n\targs := []interface{}{\n\t\t\"verb\", rl.req.Method,\n\t\t\"URI\", rl.req.RequestURI,\n\t\t\"latency\", latency,\n\t\t\"userAgent\", rl.req.UserAgent(),\n\t\t\"srcIP\", rl.req.RemoteAddr,\n\t\t\"resp\", rl.status,\n\t}\n\tif len(rl.statusStack) > 0 {\n\t\targs = append(args, \"statusStack\", rl.statusStack)\n\t}\n\n\tif len(rl.addedInfo) > 0 {\n\t\targs = append(args, \"addedInfo\", rl.addedInfo)\n\t}\n\treturn args\n}\n\n// Header implements http.ResponseWriter.\nfunc (rl *respLogger) Header() http.Header {\n\treturn rl.w.Header()\n}\n\n// Write implements http.ResponseWriter.\nfunc (rl *respLogger) Write(b []byte) (int, error) {\n\tif !rl.statusRecorded {\n\t\trl.recordStatus(http.StatusOK) // Default if WriteHeader hasn't been called\n\t}\n\tif rl.captureErrorOutput {\n\t\trl.Addf(\"logging error output: %q\\n\", string(b))\n\t}\n\treturn rl.w.Write(b)\n}\n\n// Flush implements http.Flusher even if the underlying http.Writer doesn't implement it.\n// Flush is used for streaming purposes and allows to flush buffered data to the client.\nfunc (rl *respLogger) Flush() {\n\tif flusher, ok := rl.w.(http.Flusher); ok {\n\t\tflusher.Flush()\n\t} else if klog.V(2).Enabled() {\n\t\tklog.InfoDepth(1, fmt.Sprintf(\"Unable to convert %+v into http.Flusher\", rl.w))\n\t}\n}\n\n// WriteHeader implements http.ResponseWriter.\nfunc (rl *respLogger) WriteHeader(status int) {\n\trl.recordStatus(status)\n\trl.w.WriteHeader(status)\n}\n\n// Hijack implements http.Hijacker.\nfunc (rl *respLogger) Hijack() (net.Conn, *bufio.ReadWriter, error) {\n\trl.hijacked = true\n\treturn rl.w.(http.Hijacker).Hijack()\n}\n\n// CloseNotify implements http.CloseNotifier\nfunc (rl *respLogger) CloseNotify() <-chan bool {\n\treturn rl.w.(http.CloseNotifier).CloseNotify()\n}\n\nfunc (rl *respLogger) recordStatus(status int) {\n\trl.status = status\n\trl.statusRecorded = true\n\tif rl.logStacktracePred(status) {\n\t\t// Only log stacks for errors\n\t\tstack := make([]byte, 50*1024)\n\t\tstack = stack[:runtime.Stack(stack, false)]\n\t\trl.statusStack = \"\\n\" + string(stack)\n\t\trl.captureErrorOutput = true\n\t} else {\n\t\trl.statusStack = \"\"\n\t}\n}\n"}
-{"text": "package rocks.inspectit.shared.all.instrumentation.classcache;\n\nimport static org.hamcrest.MatcherAssert.assertThat;\nimport static org.hamcrest.Matchers.contains;\nimport static org.hamcrest.Matchers.empty;\nimport static org.hamcrest.Matchers.equalTo;\nimport static org.hamcrest.Matchers.hasItem;\nimport static org.hamcrest.Matchers.hasSize;\nimport static org.hamcrest.Matchers.is;\n\nimport java.util.Collection;\n\nimport org.testng.annotations.Test;\n\nimport nl.jqno.equalsverifier.EqualsVerifier;\nimport rocks.inspectit.shared.all.instrumentation.config.impl.MethodInstrumentationConfig;\n\n@SuppressWarnings(\"PMD\")\npublic class ClassTypeTest {\n\n\tClassType test;\n\n\t@Test\n\tpublic void equalsContract() {\n\t\t// note that we add state to the type so super.equals(InterfaceType) should return false\n\t\tEqualsVerifier.forClass(ClassType.class).usingGetClass().withRedefinedSuperclass().verify();\n\t}\n\n\tpublic class AddHash extends ClassTypeTest {\n\n\t\t@Test\n\t\tpublic void addHashToNotInitialized() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\tString hash = \"hash\";\n\t\t\ttest = new ClassType(fqn1);\n\n\t\t\ttest.addHash(hash);\n\n\t\t\tassertThat(test.getHashes(), contains(hash));\n\t\t\tassertThat(test.getHashes().size(), is(1));\n\t\t}\n\n\t\t@Test\n\t\tpublic void addHashToInitialized() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\tString storedHash = \"shash\";\n\t\t\tString hash = \"hash\";\n\t\t\ttest = new ClassType(fqn1, storedHash, 0);\n\n\t\t\ttest.addHash(hash);\n\n\t\t\tassertThat(test.getHashes().size(), is(2));\n\t\t\tassertThat(test.getHashes(), hasItem(storedHash));\n\t\t\tassertThat(test.getHashes(), hasItem(hash));\n\t\t}\n\t}\n\n\tpublic class SetModifiers extends ClassTypeTest {\n\n\t\t@Test\n\t\tpublic void setModifier() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\tString storedHash = \"shash\";\n\t\t\tint m = 0;\n\t\t\ttest = new ClassType(fqn1, storedHash, m);\n\t\t\tint m2 = 2;\n\n\t\t\ttest.setModifiers(m2);\n\n\t\t\tassertThat(test.getModifiers(), is(equalTo(m2)));\n\t\t}\n\t}\n\n\tpublic class AddSuperClass extends ClassTypeTest {\n\n\t\t@Test\n\t\tpublic void addSuperClass() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\tString fqn2 = \"fqn2\";\n\t\t\ttest = new ClassType(fqn1);\n\t\t\tClassType superclass = new ClassType(fqn2);\n\n\t\t\ttest.addSuperClass(superclass);\n\n\t\t\tassertThat(test.getSuperClasses(), hasItem(superclass));\n\t\t\tassertThat(superclass.getSubClasses(), hasItem(test));\n\t\t}\n\t}\n\n\tpublic class AddSubClass extends ClassTypeTest {\n\n\t\t@Test\n\t\tpublic void addSubClass() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\tString fqn2 = \"fqn2\";\n\t\t\ttest = new ClassType(fqn1);\n\t\t\tClassType subclass = new ClassType(fqn2);\n\n\t\t\ttest.addSubclass(subclass);\n\n\t\t\tassertThat(test.getSubClasses(), hasItem(subclass));\n\t\t\tassertThat(subclass.getSuperClasses(), hasItem(test));\n\t\t}\n\t}\n\n\tpublic class AddInterface extends ClassTypeTest {\n\n\t\t@Test\n\t\tpublic void addRealizingInterface() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\tString fqn2 = \"fqn2\";\n\t\t\ttest = new ClassType(fqn1);\n\t\t\tInterfaceType i = new InterfaceType(fqn2);\n\n\t\t\ttest.addInterface(i);\n\n\t\t\tassertThat(test.getRealizedInterfaces(), hasItem(i));\n\t\t\tassertThat(i.getRealizingClasses(), hasItem(test));\n\t\t}\n\t}\n\n\tpublic class AddMethod extends ClassTypeTest {\n\n\t\t@Test\n\t\tpublic void addMethod() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\ttest = new ClassType(fqn1);\n\t\t\tMethodType m = new MethodType();\n\n\t\t\ttest.addMethod(m);\n\n\t\t\tassertThat(test.getMethods(), hasItem(m));\n\t\t\tassertThat(m.getClassOrInterfaceType(), is(equalTo((TypeWithMethods) test)));\n\t\t}\n\t}\n\n\tpublic class AddAnnotation extends ClassTypeTest {\n\n\t\t@Test\n\t\tpublic void addAnnotation() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\tString fqn2 = \"fqn2\";\n\t\t\ttest = new ClassType(fqn1);\n\t\t\tAnnotationType a = new AnnotationType(fqn2);\n\n\t\t\ttest.addAnnotation(a);\n\n\t\t\tassertThat(test.getAnnotations(), hasItem(a));\n\t\t\tassertThat(a.getAnnotatedTypes(), hasItem((TypeWithAnnotations) test));\n\t\t}\n\t}\n\n\tpublic class AddMethodThrowingException extends ClassTypeTest {\n\n\t\t@Test\n\t\tpublic void addMethodThrowsException() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\ttest = new ClassType(fqn1);\n\t\t\tMethodType m = new MethodType();\n\n\t\t\ttest.addMethodThrowingException(m);\n\n\t\t\tassertThat(test.getMethodsThrowingThisException(), hasItem(m));\n\t\t\tassertThat(m.getExceptions(), hasItem(test));\n\t\t}\n\t}\n\n\tpublic class HasInstrumentationPoints extends ClassTypeTest {\n\n\t\t@Test\n\t\tpublic void noInstrumentationPointsNoMethods() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\ttest = new ClassType(fqn1);\n\n\t\t\tboolean hasInstrumentationPoints = test.hasInstrumentationPoints();\n\n\t\t\tassertThat(hasInstrumentationPoints, is(false));\n\t\t}\n\n\t\t@Test\n\t\tpublic void noInstrumentationMethodDoesNotHave() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\ttest = new ClassType(fqn1);\n\t\t\tMethodType m = new MethodType();\n\t\t\ttest.addMethod(m);\n\n\t\t\tboolean hasInstrumentationPoints = test.hasInstrumentationPoints();\n\n\t\t\tassertThat(hasInstrumentationPoints, is(false));\n\t\t}\n\n\t\t@Test\n\t\tpublic void hasInstrumentationPoints() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\ttest = new ClassType(fqn1);\n\t\t\tMethodInstrumentationConfig config = new MethodInstrumentationConfig();\n\t\t\tMethodType m = new MethodType();\n\t\t\tm.setMethodInstrumentationConfig(config);\n\t\t\ttest.addMethod(m);\n\n\t\t\tboolean hasInstrumentationPoints = test.hasInstrumentationPoints();\n\n\t\t\tassertThat(hasInstrumentationPoints, is(true));\n\t\t}\n\t}\n\n\tpublic class GetInstrumentationPoints extends ClassTypeTest {\n\n\t\t@Test\n\t\tpublic void noInstrumentationPointsNoMethods() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\ttest = new ClassType(fqn1);\n\n\t\t\tCollection instrumentationPoints = test.getInstrumentationPoints();\n\n\t\t\tassertThat(instrumentationPoints, is(empty()));\n\t\t}\n\n\t\t@Test\n\t\tpublic void noInstrumentationMethodDoesNotHave() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\ttest = new ClassType(fqn1);\n\t\t\tMethodType m = new MethodType();\n\t\t\ttest.addMethod(m);\n\n\t\t\tCollection instrumentationPoints = test.getInstrumentationPoints();\n\n\t\t\tassertThat(instrumentationPoints, is(empty()));\n\t\t}\n\n\t\t@Test\n\t\tpublic void hasInstrumentationPoints() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\ttest = new ClassType(fqn1);\n\t\t\tMethodInstrumentationConfig config = new MethodInstrumentationConfig();\n\t\t\tMethodType m = new MethodType();\n\t\t\tm.setMethodInstrumentationConfig(config);\n\t\t\ttest.addMethod(m);\n\n\t\t\tCollection instrumentationPoints = test.getInstrumentationPoints();\n\n\t\t\tassertThat(instrumentationPoints, hasSize(1));\n\t\t\tassertThat(instrumentationPoints, hasItem(config));\n\t\t}\n\t}\n\n\tpublic class IsException extends ClassTypeTest {\n\n\t\t@Test\n\t\tpublic void doesNotHaveSuperClass() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\ttest = new ClassType(fqn1);\n\n\t\t\tboolean exception = test.isException();\n\n\t\t\tassertThat(exception, is(false));\n\t\t}\n\n\t\t@Test\n\t\tpublic void superClassIsNotException() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\ttest = new ClassType(fqn1);\n\t\t\tClassType superClass = new ClassType(\"some.Class\");\n\t\t\ttest.addSuperClass(superClass);\n\n\t\t\tboolean exception = test.isException();\n\n\t\t\tassertThat(exception, is(false));\n\t\t}\n\n\t\t@Test\n\t\tpublic void superClassIsException() {\n\t\t\tString fqn1 = \"fqn1\";\n\t\t\ttest = new ClassType(fqn1);\n\t\t\tClassType superClass = new ClassType(\"java.lang.Throwable\");\n\t\t\ttest.addSuperClass(superClass);\n\n\t\t\tboolean exception = test.isException();\n\n\t\t\tassertThat(exception, is(true));\n\t\t}\n\t}\n\n}\n"}
-{"text": "/**\n * \\file\n * Various uIP library functions.\n * \\author\n * Adam Dunkels \n *\n */\n\n/*\n * Copyright (c) 2002, Adam Dunkels.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n * notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above\n * copyright notice, this list of conditions and the following\n * disclaimer in the documentation and/or other materials provided\n * with the distribution.\n * 3. The name of the author may not be used to endorse or promote\n * products derived from this software without specific prior\n * written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS\n * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY\n * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\n * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\n * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\n * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n *\n * This file is part of the uIP TCP/IP stack\n *\n * $Id: uiplib.h,v 1.1 2006/06/07 09:15:19 adam Exp $\n *\n */\n#ifndef __UIPLIB_H__\n#define __UIPLIB_H__\n\n/**\n * \\addtogroup uipconvfunc\n * @{\n */\n\n/**\n * Convert a textual representation of an IP address to a numerical representation.\n *\n * This function takes a textual representation of an IP address in\n * the form a.b.c.d and converts it into a 4-byte array that can be\n * used by other uIP functions.\n *\n * \\param addrstr A pointer to a string containing the IP address in\n * textual form.\n *\n * \\param addr A pointer to a 4-byte array that will be filled in with\n * the numerical representation of the address.\n *\n * \\retval 0 If the IP address could not be parsed.\n * \\retval Non-zero If the IP address was parsed.\n */\nunsigned char uiplib_ipaddrconv(char *addrstr, unsigned char *addr);\n\n/** @} */\n\n#endif /* __UIPLIB_H__ */\n"}
-{"text": "# Locally computed\nsha256 5f42858a2062f34d2578e9cb1aed3ccb8d2409d908aa4c41a924418666d5f2bd let-me-create-1.5.2.tar.gz\nsha256 8ffc162e1435e810845b09a4c0d534df057a030f4c107778677b6621dc203426 LICENSE\n"}
-{"text": "\n\ndef cleanup():\n from acceptance.config import make_code_bucket\n\n bucket = make_code_bucket()\n files = list(bucket.list_files('*.tgz'))\n _log().debug('Cleaning up {}'.format(files))\n for path in files:\n _log().debug('Removing {}'.format(path))\n bucket.remove(path)\n\n\ndef _log():\n from foundations.global_state import log_manager\n return log_manager.get_logger(__name__)\n"}
-{"text": "// part:@sanity/base/fullscreen-exit-icon\n\nexport {default} from './Collapse'\n"}
-{"text": "interactions:\n- request:\n body: '{\"location\": \"westus2\", \"sku\": {\"name\": \"Standard\"}, \"properties\": {\"publicIPAllocationMethod\":\n \"Static\", \"publicIPAddressVersion\": \"IPv4\", \"idleTimeoutInMinutes\": 4}}'\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - network public-ip create\n Connection:\n - keep-alive\n Content-Length:\n - '167'\n Content-Type:\n - application/json; charset=utf-8\n ParameterSetName:\n - -g -n --location --sku\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.11.1\n accept-language:\n - en-US\n method: PUT\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002?api-version=2020-06-01\n response:\n body:\n string: \"{\\r\\n \\\"name\\\": \\\"cliaksslbip1000002\\\",\\r\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n ,\\r\\n \\\"etag\\\": \\\"W/\\\\\\\"18370624-e984-4848-9bbd-1b6a8b9948ea\\\\\\\"\\\",\\r\\n \\\n \\ \\\"location\\\": \\\"westus2\\\",\\r\\n \\\"properties\\\": {\\r\\n \\\"provisioningState\\\"\\\n : \\\"Updating\\\",\\r\\n \\\"resourceGuid\\\": \\\"154a3c80-dbfc-4308-94c1-4918402744b7\\\"\\\n ,\\r\\n \\\"publicIPAddressVersion\\\": \\\"IPv4\\\",\\r\\n \\\"publicIPAllocationMethod\\\"\\\n : \\\"Static\\\",\\r\\n \\\"idleTimeoutInMinutes\\\": 4,\\r\\n \\\"ipTags\\\": []\\r\\n\\\n \\ },\\r\\n \\\"type\\\": \\\"Microsoft.Network/publicIPAddresses\\\",\\r\\n \\\"sku\\\"\\\n : {\\r\\n \\\"name\\\": \\\"Standard\\\"\\r\\n }\\r\\n}\"\n headers:\n azure-asyncnotification:\n - Enabled\n azure-asyncoperation:\n - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/6dc551f7-a712-4af3-9bdf-63f506e6869d?api-version=2020-06-01\n cache-control:\n - no-cache\n content-length:\n - '625'\n content-type:\n - application/json; charset=utf-8\n date:\n - Sat, 12 Sep 2020 23:20:05 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - Microsoft-HTTPAPI/2.0\n - Microsoft-HTTPAPI/2.0\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n x-content-type-options:\n - nosniff\n x-ms-arm-service-request-id:\n - 8302e87a-3773-4dfe-a48c-b5ed64bdee2f\n x-ms-ratelimit-remaining-subscription-writes:\n - '1198'\n status:\n code: 201\n message: Created\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - network public-ip create\n Connection:\n - keep-alive\n ParameterSetName:\n - -g -n --location --sku\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.11.1\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/6dc551f7-a712-4af3-9bdf-63f506e6869d?api-version=2020-06-01\n response:\n body:\n string: \"{\\r\\n \\\"status\\\": \\\"Succeeded\\\"\\r\\n}\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '29'\n content-type:\n - application/json; charset=utf-8\n date:\n - Sat, 12 Sep 2020 23:20:07 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - Microsoft-HTTPAPI/2.0\n - Microsoft-HTTPAPI/2.0\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n x-ms-arm-service-request-id:\n - 215784e1-3014-45c5-92c2-204171c34402\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - network public-ip create\n Connection:\n - keep-alive\n ParameterSetName:\n - -g -n --location --sku\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.11.1\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002?api-version=2020-06-01\n response:\n body:\n string: \"{\\r\\n \\\"name\\\": \\\"cliaksslbip1000002\\\",\\r\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n ,\\r\\n \\\"etag\\\": \\\"W/\\\\\\\"388b0187-b480-409a-9bab-da5d1540748e\\\\\\\"\\\",\\r\\n \\\n \\ \\\"location\\\": \\\"westus2\\\",\\r\\n \\\"properties\\\": {\\r\\n \\\"provisioningState\\\"\\\n : \\\"Succeeded\\\",\\r\\n \\\"resourceGuid\\\": \\\"154a3c80-dbfc-4308-94c1-4918402744b7\\\"\\\n ,\\r\\n \\\"ipAddress\\\": \\\"20.51.67.177\\\",\\r\\n \\\"publicIPAddressVersion\\\"\\\n : \\\"IPv4\\\",\\r\\n \\\"publicIPAllocationMethod\\\": \\\"Static\\\",\\r\\n \\\"idleTimeoutInMinutes\\\"\\\n : 4,\\r\\n \\\"ipTags\\\": []\\r\\n },\\r\\n \\\"type\\\": \\\"Microsoft.Network/publicIPAddresses\\\"\\\n ,\\r\\n \\\"sku\\\": {\\r\\n \\\"name\\\": \\\"Standard\\\"\\r\\n }\\r\\n}\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '660'\n content-type:\n - application/json; charset=utf-8\n date:\n - Sat, 12 Sep 2020 23:20:07 GMT\n etag:\n - W/\"388b0187-b480-409a-9bab-da5d1540748e\"\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - Microsoft-HTTPAPI/2.0\n - Microsoft-HTTPAPI/2.0\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n x-ms-arm-service-request-id:\n - 684456a8-0afc-4d86-bfa4-67ddd6f54b64\n status:\n code: 200\n message: OK\n- request:\n body: '{\"location\": \"westus2\", \"sku\": {\"name\": \"Standard\"}, \"properties\": {\"publicIPAllocationMethod\":\n \"Static\", \"publicIPAddressVersion\": \"IPv4\", \"idleTimeoutInMinutes\": 4}}'\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - network public-ip create\n Connection:\n - keep-alive\n Content-Length:\n - '167'\n Content-Type:\n - application/json; charset=utf-8\n ParameterSetName:\n - -g -n --location --sku\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.11.1\n accept-language:\n - en-US\n method: PUT\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip2000003?api-version=2020-06-01\n response:\n body:\n string: \"{\\r\\n \\\"name\\\": \\\"cliaksslbip2000003\\\",\\r\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip2000003\\\"\\\n ,\\r\\n \\\"etag\\\": \\\"W/\\\\\\\"e390578c-7ae9-4a5c-bb88-ebd5330384e4\\\\\\\"\\\",\\r\\n \\\n \\ \\\"location\\\": \\\"westus2\\\",\\r\\n \\\"properties\\\": {\\r\\n \\\"provisioningState\\\"\\\n : \\\"Updating\\\",\\r\\n \\\"resourceGuid\\\": \\\"61eb6037-5c76-4bc3-8929-57a495ed01e6\\\"\\\n ,\\r\\n \\\"publicIPAddressVersion\\\": \\\"IPv4\\\",\\r\\n \\\"publicIPAllocationMethod\\\"\\\n : \\\"Static\\\",\\r\\n \\\"idleTimeoutInMinutes\\\": 4,\\r\\n \\\"ipTags\\\": []\\r\\n\\\n \\ },\\r\\n \\\"type\\\": \\\"Microsoft.Network/publicIPAddresses\\\",\\r\\n \\\"sku\\\"\\\n : {\\r\\n \\\"name\\\": \\\"Standard\\\"\\r\\n }\\r\\n}\"\n headers:\n azure-asyncnotification:\n - Enabled\n azure-asyncoperation:\n - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/bab83880-dcee-45d8-84dd-189520391788?api-version=2020-06-01\n cache-control:\n - no-cache\n content-length:\n - '625'\n content-type:\n - application/json; charset=utf-8\n date:\n - Sat, 12 Sep 2020 23:20:08 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - Microsoft-HTTPAPI/2.0\n - Microsoft-HTTPAPI/2.0\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n x-content-type-options:\n - nosniff\n x-ms-arm-service-request-id:\n - 8ddb64ea-b40f-483b-9ece-bdef803a8f2d\n x-ms-ratelimit-remaining-subscription-writes:\n - '1197'\n status:\n code: 201\n message: Created\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - network public-ip create\n Connection:\n - keep-alive\n ParameterSetName:\n - -g -n --location --sku\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.11.1\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/bab83880-dcee-45d8-84dd-189520391788?api-version=2020-06-01\n response:\n body:\n string: \"{\\r\\n \\\"status\\\": \\\"Succeeded\\\"\\r\\n}\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '29'\n content-type:\n - application/json; charset=utf-8\n date:\n - Sat, 12 Sep 2020 23:20:10 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - Microsoft-HTTPAPI/2.0\n - Microsoft-HTTPAPI/2.0\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n x-ms-arm-service-request-id:\n - 5988732d-935f-4118-963d-e9af45f6f26d\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - network public-ip create\n Connection:\n - keep-alive\n ParameterSetName:\n - -g -n --location --sku\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.11.1\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip2000003?api-version=2020-06-01\n response:\n body:\n string: \"{\\r\\n \\\"name\\\": \\\"cliaksslbip2000003\\\",\\r\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip2000003\\\"\\\n ,\\r\\n \\\"etag\\\": \\\"W/\\\\\\\"617cfd34-94a5-4404-a1b8-7b4854fcf250\\\\\\\"\\\",\\r\\n \\\n \\ \\\"location\\\": \\\"westus2\\\",\\r\\n \\\"properties\\\": {\\r\\n \\\"provisioningState\\\"\\\n : \\\"Succeeded\\\",\\r\\n \\\"resourceGuid\\\": \\\"61eb6037-5c76-4bc3-8929-57a495ed01e6\\\"\\\n ,\\r\\n \\\"ipAddress\\\": \\\"20.51.67.196\\\",\\r\\n \\\"publicIPAddressVersion\\\"\\\n : \\\"IPv4\\\",\\r\\n \\\"publicIPAllocationMethod\\\": \\\"Static\\\",\\r\\n \\\"idleTimeoutInMinutes\\\"\\\n : 4,\\r\\n \\\"ipTags\\\": []\\r\\n },\\r\\n \\\"type\\\": \\\"Microsoft.Network/publicIPAddresses\\\"\\\n ,\\r\\n \\\"sku\\\": {\\r\\n \\\"name\\\": \\\"Standard\\\"\\r\\n }\\r\\n}\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '660'\n content-type:\n - application/json; charset=utf-8\n date:\n - Sat, 12 Sep 2020 23:20:10 GMT\n etag:\n - W/\"617cfd34-94a5-4404-a1b8-7b4854fcf250\"\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - Microsoft-HTTPAPI/2.0\n - Microsoft-HTTPAPI/2.0\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n x-ms-arm-service-request-id:\n - a81dcc4c-1df9-431a-b4d0-d62ca7b91300\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks create\n Connection:\n - keep-alive\n ParameterSetName:\n - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value\n --service-principal --client-secret --load-balancer-sku --vm-set-type --load-balancer-outbound-ips\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1\n accept-language:\n - en-US\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001?api-version=2020-06-01\n response:\n body:\n string: '{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001\",\"name\":\"clitest000001\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westus2\",\"tags\":{\"product\":\"azurecli\",\"cause\":\"automation\",\"date\":\"2020-09-12T23:20:01Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}'\n headers:\n cache-control:\n - no-cache\n content-length:\n - '313'\n content-type:\n - application/json; charset=utf-8\n date:\n - Sat, 12 Sep 2020 23:20:10 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: '{\"location\": \"westus2\", \"properties\": {\"kubernetesVersion\": \"\", \"dnsPrefix\":\n \"cliaksdns000004\", \"agentPoolProfiles\": [{\"count\": 1, \"vmSize\": \"Standard_DS2_v2\",\n \"osType\": \"Linux\", \"type\": \"VirtualMachineScaleSets\", \"mode\": \"System\", \"enableNodePublicIP\":\n false, \"scaleSetPriority\": \"Regular\", \"scaleSetEvictionPolicy\": \"Delete\", \"name\":\n \"nodepool1\"}], \"linuxProfile\": {\"adminUsername\": \"azureuser\", \"ssh\": {\"publicKeys\":\n [{\"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\n test@example.com\\n\"}]}}, \"servicePrincipalProfile\": {\"clientId\": \"d1173eb8-7ef3-4844-bc8b-92b7aec4f18f\",\n \"secret\": \"4b543e21-083c-42f0-b984-ce90fac62990\"}, \"addonProfiles\": {}, \"enableRBAC\":\n true, \"networkProfile\": {\"networkPlugin\": \"kubenet\", \"podCidr\": \"10.244.0.0/16\",\n \"serviceCidr\": \"10.0.0.0/16\", \"dnsServiceIP\": \"10.0.0.10\", \"dockerBridgeCidr\":\n \"172.17.0.1/16\", \"outboundType\": \"loadBalancer\", \"loadBalancerSku\": \"standard\",\n \"loadBalancerProfile\": {\"outboundIPs\": {\"publicIPs\": [{\"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\"}]},\n \"allocatedOutboundPorts\": 0, \"idleTimeoutInMinutes\": 30}}}}'\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks create\n Connection:\n - keep-alive\n Content-Length:\n - '1865'\n Content-Type:\n - application/json; charset=utf-8\n ParameterSetName:\n - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value\n --service-principal --client-secret --load-balancer-sku --vm-set-type --load-balancer-outbound-ips\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n accept-language:\n - en-US\n method: PUT\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2020-09-01\n response:\n body:\n string: \"{\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\\\"\\\n ,\\n \\\"location\\\": \\\"westus2\\\",\\n \\\"name\\\": \\\"cliakstest000001\\\",\\n \\\"type\\\"\\\n : \\\"Microsoft.ContainerService/ManagedClusters\\\",\\n \\\"properties\\\": {\\n \\\n \\ \\\"provisioningState\\\": \\\"Creating\\\",\\n \\\"kubernetesVersion\\\": \\\"1.16.13\\\"\\\n ,\\n \\\"dnsPrefix\\\": \\\"cliaksdns000004\\\",\\n \\\"fqdn\\\": \\\"cliaksdns000004-bd1ec6bc.hcp.westus2.azmk8s.io\\\"\\\n ,\\n \\\"agentPoolProfiles\\\": [\\n {\\n \\\"name\\\": \\\"nodepool1\\\",\\n \\\n \\ \\\"count\\\": 1,\\n \\\"vmSize\\\": \\\"Standard_DS2_v2\\\",\\n \\\"osDiskSizeGB\\\"\\\n : 128,\\n \\\"osDiskType\\\": \\\"Managed\\\",\\n \\\"maxPods\\\": 110,\\n \\\"\\\n type\\\": \\\"VirtualMachineScaleSets\\\",\\n \\\"provisioningState\\\": \\\"Creating\\\"\\\n ,\\n \\\"orchestratorVersion\\\": \\\"1.16.13\\\",\\n \\\"enableNodePublicIP\\\"\\\n : false,\\n \\\"nodeLabels\\\": {},\\n \\\"mode\\\": \\\"System\\\",\\n \\\"osType\\\"\\\n : \\\"Linux\\\",\\n \\\"nodeImageVersion\\\": \\\"AKSUbuntu-1604-2020.08.19\\\"\\n \\\n \\ }\\n ],\\n \\\"linuxProfile\\\": {\\n \\\"adminUsername\\\": \\\"azureuser\\\"\\\n ,\\n \\\"ssh\\\": {\\n \\\"publicKeys\\\": [\\n {\\n \\\"keyData\\\": \\\"\\\n ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\\\n \\ test@example.com\\\\n\\\"\\n }\\n ]\\n }\\n },\\n \\\"servicePrincipalProfile\\\"\\\n : {\\n \\\"clientId\\\": \\\"d1173eb8-7ef3-4844-bc8b-92b7aec4f18f\\\"\\n },\\n \\\n \\ \\\"addonProfiles\\\": {\\n \\\"kubedashboard\\\": {\\n \\\"enabled\\\": true,\\n\\\n \\ \\\"config\\\": null\\n }\\n },\\n \\\"nodeResourceGroup\\\": \\\"MC_clitest000001_cliakstest000001_westus2\\\"\\\n ,\\n \\\"enableRBAC\\\": true,\\n \\\"networkProfile\\\": {\\n \\\"networkPlugin\\\"\\\n : \\\"kubenet\\\",\\n \\\"loadBalancerSku\\\": \\\"standard\\\",\\n \\\"loadBalancerProfile\\\"\\\n : {\\n \\\"outboundIPs\\\": {\\n \\\"publicIPs\\\": [\\n {\\n \\\"\\\n id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n }\\n ]\\n },\\n \\\"allocatedOutboundPorts\\\": 0,\\n \\\"\\\n idleTimeoutInMinutes\\\": 30\\n },\\n \\\"podCidr\\\": \\\"10.244.0.0/16\\\",\\n\\\n \\ \\\"serviceCidr\\\": \\\"10.0.0.0/16\\\",\\n \\\"dnsServiceIP\\\": \\\"10.0.0.10\\\"\\\n ,\\n \\\"dockerBridgeCidr\\\": \\\"172.17.0.1/16\\\",\\n \\\"outboundType\\\": \\\"\\\n loadBalancer\\\"\\n },\\n \\\"maxAgentPools\\\": 10\\n },\\n \\\"sku\\\": {\\n \\\"\\\n name\\\": \\\"Basic\\\",\\n \\\"tier\\\": \\\"Free\\\"\\n }\\n }\"\n headers:\n azure-asyncoperation:\n - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e27e8077-5553-4c44-b79c-84d7e6d6f83c?api-version=2016-03-30\n cache-control:\n - no-cache\n content-length:\n - '2811'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:20:17 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n x-content-type-options:\n - nosniff\n x-ms-ratelimit-remaining-subscription-writes:\n - '1199'\n status:\n code: 201\n message: Created\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks create\n Connection:\n - keep-alive\n ParameterSetName:\n - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value\n --service-principal --client-secret --load-balancer-sku --vm-set-type --load-balancer-outbound-ips\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e27e8077-5553-4c44-b79c-84d7e6d6f83c?api-version=2016-03-30\n response:\n body:\n string: \"{\\n \\\"name\\\": \\\"77807ee2-5355-444c-b79c-84d7e6d6f83c\\\",\\n \\\"status\\\"\\\n : \\\"InProgress\\\",\\n \\\"startTime\\\": \\\"2020-09-12T23:20:17.1149167Z\\\"\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '126'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:20:47 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks create\n Connection:\n - keep-alive\n ParameterSetName:\n - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value\n --service-principal --client-secret --load-balancer-sku --vm-set-type --load-balancer-outbound-ips\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e27e8077-5553-4c44-b79c-84d7e6d6f83c?api-version=2016-03-30\n response:\n body:\n string: \"{\\n \\\"name\\\": \\\"77807ee2-5355-444c-b79c-84d7e6d6f83c\\\",\\n \\\"status\\\"\\\n : \\\"InProgress\\\",\\n \\\"startTime\\\": \\\"2020-09-12T23:20:17.1149167Z\\\"\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '126'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:21:17 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks create\n Connection:\n - keep-alive\n ParameterSetName:\n - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value\n --service-principal --client-secret --load-balancer-sku --vm-set-type --load-balancer-outbound-ips\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e27e8077-5553-4c44-b79c-84d7e6d6f83c?api-version=2016-03-30\n response:\n body:\n string: \"{\\n \\\"name\\\": \\\"77807ee2-5355-444c-b79c-84d7e6d6f83c\\\",\\n \\\"status\\\"\\\n : \\\"InProgress\\\",\\n \\\"startTime\\\": \\\"2020-09-12T23:20:17.1149167Z\\\"\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '126'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:21:47 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks create\n Connection:\n - keep-alive\n ParameterSetName:\n - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value\n --service-principal --client-secret --load-balancer-sku --vm-set-type --load-balancer-outbound-ips\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e27e8077-5553-4c44-b79c-84d7e6d6f83c?api-version=2016-03-30\n response:\n body:\n string: \"{\\n \\\"name\\\": \\\"77807ee2-5355-444c-b79c-84d7e6d6f83c\\\",\\n \\\"status\\\"\\\n : \\\"InProgress\\\",\\n \\\"startTime\\\": \\\"2020-09-12T23:20:17.1149167Z\\\"\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '126'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:22:18 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks create\n Connection:\n - keep-alive\n ParameterSetName:\n - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value\n --service-principal --client-secret --load-balancer-sku --vm-set-type --load-balancer-outbound-ips\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e27e8077-5553-4c44-b79c-84d7e6d6f83c?api-version=2016-03-30\n response:\n body:\n string: \"{\\n \\\"name\\\": \\\"77807ee2-5355-444c-b79c-84d7e6d6f83c\\\",\\n \\\"status\\\"\\\n : \\\"InProgress\\\",\\n \\\"startTime\\\": \\\"2020-09-12T23:20:17.1149167Z\\\"\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '126'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:22:49 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks create\n Connection:\n - keep-alive\n ParameterSetName:\n - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value\n --service-principal --client-secret --load-balancer-sku --vm-set-type --load-balancer-outbound-ips\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e27e8077-5553-4c44-b79c-84d7e6d6f83c?api-version=2016-03-30\n response:\n body:\n string: \"{\\n \\\"name\\\": \\\"77807ee2-5355-444c-b79c-84d7e6d6f83c\\\",\\n \\\"status\\\"\\\n : \\\"InProgress\\\",\\n \\\"startTime\\\": \\\"2020-09-12T23:20:17.1149167Z\\\"\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '126'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:23:19 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks create\n Connection:\n - keep-alive\n ParameterSetName:\n - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value\n --service-principal --client-secret --load-balancer-sku --vm-set-type --load-balancer-outbound-ips\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e27e8077-5553-4c44-b79c-84d7e6d6f83c?api-version=2016-03-30\n response:\n body:\n string: \"{\\n \\\"name\\\": \\\"77807ee2-5355-444c-b79c-84d7e6d6f83c\\\",\\n \\\"status\\\"\\\n : \\\"InProgress\\\",\\n \\\"startTime\\\": \\\"2020-09-12T23:20:17.1149167Z\\\"\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '126'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:23:49 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks create\n Connection:\n - keep-alive\n ParameterSetName:\n - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value\n --service-principal --client-secret --load-balancer-sku --vm-set-type --load-balancer-outbound-ips\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e27e8077-5553-4c44-b79c-84d7e6d6f83c?api-version=2016-03-30\n response:\n body:\n string: \"{\\n \\\"name\\\": \\\"77807ee2-5355-444c-b79c-84d7e6d6f83c\\\",\\n \\\"status\\\"\\\n : \\\"InProgress\\\",\\n \\\"startTime\\\": \\\"2020-09-12T23:20:17.1149167Z\\\"\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '126'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:24:19 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks create\n Connection:\n - keep-alive\n ParameterSetName:\n - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value\n --service-principal --client-secret --load-balancer-sku --vm-set-type --load-balancer-outbound-ips\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e27e8077-5553-4c44-b79c-84d7e6d6f83c?api-version=2016-03-30\n response:\n body:\n string: \"{\\n \\\"name\\\": \\\"77807ee2-5355-444c-b79c-84d7e6d6f83c\\\",\\n \\\"status\\\"\\\n : \\\"Succeeded\\\",\\n \\\"startTime\\\": \\\"2020-09-12T23:20:17.1149167Z\\\",\\n \\\"\\\n endTime\\\": \\\"2020-09-12T23:24:46.753676Z\\\"\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '169'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:24:50 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks create\n Connection:\n - keep-alive\n ParameterSetName:\n - --resource-group --name --location --dns-name-prefix --node-count --ssh-key-value\n --service-principal --client-secret --load-balancer-sku --vm-set-type --load-balancer-outbound-ips\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2020-09-01\n response:\n body:\n string: \"{\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\\\"\\\n ,\\n \\\"location\\\": \\\"westus2\\\",\\n \\\"name\\\": \\\"cliakstest000001\\\",\\n \\\"type\\\"\\\n : \\\"Microsoft.ContainerService/ManagedClusters\\\",\\n \\\"properties\\\": {\\n \\\n \\ \\\"provisioningState\\\": \\\"Succeeded\\\",\\n \\\"kubernetesVersion\\\": \\\"1.16.13\\\"\\\n ,\\n \\\"dnsPrefix\\\": \\\"cliaksdns000004\\\",\\n \\\"fqdn\\\": \\\"cliaksdns000004-bd1ec6bc.hcp.westus2.azmk8s.io\\\"\\\n ,\\n \\\"agentPoolProfiles\\\": [\\n {\\n \\\"name\\\": \\\"nodepool1\\\",\\n \\\n \\ \\\"count\\\": 1,\\n \\\"vmSize\\\": \\\"Standard_DS2_v2\\\",\\n \\\"osDiskSizeGB\\\"\\\n : 128,\\n \\\"osDiskType\\\": \\\"Managed\\\",\\n \\\"maxPods\\\": 110,\\n \\\"\\\n type\\\": \\\"VirtualMachineScaleSets\\\",\\n \\\"provisioningState\\\": \\\"Succeeded\\\"\\\n ,\\n \\\"orchestratorVersion\\\": \\\"1.16.13\\\",\\n \\\"enableNodePublicIP\\\"\\\n : false,\\n \\\"nodeLabels\\\": {},\\n \\\"mode\\\": \\\"System\\\",\\n \\\"osType\\\"\\\n : \\\"Linux\\\",\\n \\\"nodeImageVersion\\\": \\\"AKSUbuntu-1604-2020.08.19\\\"\\n \\\n \\ }\\n ],\\n \\\"linuxProfile\\\": {\\n \\\"adminUsername\\\": \\\"azureuser\\\"\\\n ,\\n \\\"ssh\\\": {\\n \\\"publicKeys\\\": [\\n {\\n \\\"keyData\\\": \\\"\\\n ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\\\n \\ test@example.com\\\\n\\\"\\n }\\n ]\\n }\\n },\\n \\\"servicePrincipalProfile\\\"\\\n : {\\n \\\"clientId\\\": \\\"d1173eb8-7ef3-4844-bc8b-92b7aec4f18f\\\"\\n },\\n \\\n \\ \\\"addonProfiles\\\": {\\n \\\"kubedashboard\\\": {\\n \\\"enabled\\\": true,\\n\\\n \\ \\\"config\\\": null\\n }\\n },\\n \\\"nodeResourceGroup\\\": \\\"MC_clitest000001_cliakstest000001_westus2\\\"\\\n ,\\n \\\"enableRBAC\\\": true,\\n \\\"networkProfile\\\": {\\n \\\"networkPlugin\\\"\\\n : \\\"kubenet\\\",\\n \\\"loadBalancerSku\\\": \\\"Standard\\\",\\n \\\"loadBalancerProfile\\\"\\\n : {\\n \\\"outboundIPs\\\": {\\n \\\"publicIPs\\\": [\\n {\\n \\\"\\\n id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n }\\n ]\\n },\\n \\\"effectiveOutboundIPs\\\": [\\n {\\n\\\n \\ \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n }\\n ],\\n \\\"allocatedOutboundPorts\\\": 0,\\n \\\"idleTimeoutInMinutes\\\"\\\n : 30\\n },\\n \\\"podCidr\\\": \\\"10.244.0.0/16\\\",\\n \\\"serviceCidr\\\": \\\"\\\n 10.0.0.0/16\\\",\\n \\\"dnsServiceIP\\\": \\\"10.0.0.10\\\",\\n \\\"dockerBridgeCidr\\\"\\\n : \\\"172.17.0.1/16\\\",\\n \\\"outboundType\\\": \\\"loadBalancer\\\"\\n },\\n \\\"\\\n maxAgentPools\\\": 10\\n },\\n \\\"sku\\\": {\\n \\\"name\\\": \\\"Basic\\\",\\n \\\"tier\\\"\\\n : \\\"Free\\\"\\n }\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '3031'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:24:50 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks list\n Connection:\n - keep-alive\n ParameterSetName:\n - -g\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n accept-language:\n - en-US\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters?api-version=2020-09-01\n response:\n body:\n string: \"{\\n \\\"value\\\": [\\n {\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\\\"\\\n ,\\n \\\"location\\\": \\\"westus2\\\",\\n \\\"name\\\": \\\"cliakstest000001\\\",\\n \\\n \\ \\\"type\\\": \\\"Microsoft.ContainerService/ManagedClusters\\\",\\n \\\"properties\\\"\\\n : {\\n \\\"provisioningState\\\": \\\"Succeeded\\\",\\n \\\"kubernetesVersion\\\"\\\n : \\\"1.16.13\\\",\\n \\\"dnsPrefix\\\": \\\"cliaksdns000004\\\",\\n \\\"fqdn\\\": \\\"\\\n cliaksdns000004-bd1ec6bc.hcp.westus2.azmk8s.io\\\",\\n \\\"agentPoolProfiles\\\"\\\n : [\\n {\\n \\\"name\\\": \\\"nodepool1\\\",\\n \\\"count\\\": 1,\\n \\\n \\ \\\"vmSize\\\": \\\"Standard_DS2_v2\\\",\\n \\\"osDiskSizeGB\\\": 128,\\n \\\n \\ \\\"osDiskType\\\": \\\"Managed\\\",\\n \\\"maxPods\\\": 110,\\n \\\"type\\\"\\\n : \\\"VirtualMachineScaleSets\\\",\\n \\\"provisioningState\\\": \\\"Succeeded\\\"\\\n ,\\n \\\"orchestratorVersion\\\": \\\"1.16.13\\\",\\n \\\"enableNodePublicIP\\\"\\\n : false,\\n \\\"nodeLabels\\\": {},\\n \\\"mode\\\": \\\"System\\\",\\n \\\n \\ \\\"osType\\\": \\\"Linux\\\",\\n \\\"nodeImageVersion\\\": \\\"AKSUbuntu-1604-2020.08.19\\\"\\\n \\n }\\n ],\\n \\\"linuxProfile\\\": {\\n \\\"adminUsername\\\": \\\"\\\n azureuser\\\",\\n \\\"ssh\\\": {\\n \\\"publicKeys\\\": [\\n {\\n \\\n \\ \\\"keyData\\\": \\\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\\\n \\ test@example.com\\\\n\\\"\\n }\\n ]\\n }\\n },\\n \\\"servicePrincipalProfile\\\"\\\n : {\\n \\\"clientId\\\": \\\"d1173eb8-7ef3-4844-bc8b-92b7aec4f18f\\\"\\n },\\n\\\n \\ \\\"addonProfiles\\\": {\\n \\\"kubedashboard\\\": {\\n \\\"enabled\\\"\\\n : true,\\n \\\"config\\\": null\\n }\\n },\\n \\\"nodeResourceGroup\\\"\\\n : \\\"MC_clitest000001_cliakstest000001_westus2\\\",\\n \\\"enableRBAC\\\": true,\\n\\\n \\ \\\"networkProfile\\\": {\\n \\\"networkPlugin\\\": \\\"kubenet\\\",\\n \\\n \\ \\\"loadBalancerSku\\\": \\\"Standard\\\",\\n \\\"loadBalancerProfile\\\": {\\n \\\n \\ \\\"outboundIPs\\\": {\\n \\\"publicIPs\\\": [\\n {\\n \\\n \\ \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n }\\n ]\\n },\\n \\\"effectiveOutboundIPs\\\": [\\n \\\n \\ {\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n }\\n ],\\n \\\"allocatedOutboundPorts\\\": 0,\\n \\\"idleTimeoutInMinutes\\\"\\\n : 30\\n },\\n \\\"podCidr\\\": \\\"10.244.0.0/16\\\",\\n \\\"serviceCidr\\\"\\\n : \\\"10.0.0.0/16\\\",\\n \\\"dnsServiceIP\\\": \\\"10.0.0.10\\\",\\n \\\"dockerBridgeCidr\\\"\\\n : \\\"172.17.0.1/16\\\",\\n \\\"outboundType\\\": \\\"loadBalancer\\\"\\n },\\n\\\n \\ \\\"maxAgentPools\\\": 10\\n },\\n \\\"sku\\\": {\\n \\\"name\\\": \\\"Basic\\\"\\\n ,\\n \\\"tier\\\": \\\"Free\\\"\\n }\\n }\\n ]\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '3216'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:24:51 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks list\n Connection:\n - keep-alive\n ParameterSetName:\n - -g -o\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n accept-language:\n - en-US\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters?api-version=2020-09-01\n response:\n body:\n string: \"{\\n \\\"value\\\": [\\n {\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\\\"\\\n ,\\n \\\"location\\\": \\\"westus2\\\",\\n \\\"name\\\": \\\"cliakstest000001\\\",\\n \\\n \\ \\\"type\\\": \\\"Microsoft.ContainerService/ManagedClusters\\\",\\n \\\"properties\\\"\\\n : {\\n \\\"provisioningState\\\": \\\"Succeeded\\\",\\n \\\"kubernetesVersion\\\"\\\n : \\\"1.16.13\\\",\\n \\\"dnsPrefix\\\": \\\"cliaksdns000004\\\",\\n \\\"fqdn\\\": \\\"\\\n cliaksdns000004-bd1ec6bc.hcp.westus2.azmk8s.io\\\",\\n \\\"agentPoolProfiles\\\"\\\n : [\\n {\\n \\\"name\\\": \\\"nodepool1\\\",\\n \\\"count\\\": 1,\\n \\\n \\ \\\"vmSize\\\": \\\"Standard_DS2_v2\\\",\\n \\\"osDiskSizeGB\\\": 128,\\n \\\n \\ \\\"osDiskType\\\": \\\"Managed\\\",\\n \\\"maxPods\\\": 110,\\n \\\"type\\\"\\\n : \\\"VirtualMachineScaleSets\\\",\\n \\\"provisioningState\\\": \\\"Succeeded\\\"\\\n ,\\n \\\"orchestratorVersion\\\": \\\"1.16.13\\\",\\n \\\"enableNodePublicIP\\\"\\\n : false,\\n \\\"nodeLabels\\\": {},\\n \\\"mode\\\": \\\"System\\\",\\n \\\n \\ \\\"osType\\\": \\\"Linux\\\",\\n \\\"nodeImageVersion\\\": \\\"AKSUbuntu-1604-2020.08.19\\\"\\\n \\n }\\n ],\\n \\\"linuxProfile\\\": {\\n \\\"adminUsername\\\": \\\"\\\n azureuser\\\",\\n \\\"ssh\\\": {\\n \\\"publicKeys\\\": [\\n {\\n \\\n \\ \\\"keyData\\\": \\\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\\\n \\ test@example.com\\\\n\\\"\\n }\\n ]\\n }\\n },\\n \\\"servicePrincipalProfile\\\"\\\n : {\\n \\\"clientId\\\": \\\"d1173eb8-7ef3-4844-bc8b-92b7aec4f18f\\\"\\n },\\n\\\n \\ \\\"addonProfiles\\\": {\\n \\\"kubedashboard\\\": {\\n \\\"enabled\\\"\\\n : true,\\n \\\"config\\\": null\\n }\\n },\\n \\\"nodeResourceGroup\\\"\\\n : \\\"MC_clitest000001_cliakstest000001_westus2\\\",\\n \\\"enableRBAC\\\": true,\\n\\\n \\ \\\"networkProfile\\\": {\\n \\\"networkPlugin\\\": \\\"kubenet\\\",\\n \\\n \\ \\\"loadBalancerSku\\\": \\\"Standard\\\",\\n \\\"loadBalancerProfile\\\": {\\n \\\n \\ \\\"outboundIPs\\\": {\\n \\\"publicIPs\\\": [\\n {\\n \\\n \\ \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n }\\n ]\\n },\\n \\\"effectiveOutboundIPs\\\": [\\n \\\n \\ {\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n }\\n ],\\n \\\"allocatedOutboundPorts\\\": 0,\\n \\\"idleTimeoutInMinutes\\\"\\\n : 30\\n },\\n \\\"podCidr\\\": \\\"10.244.0.0/16\\\",\\n \\\"serviceCidr\\\"\\\n : \\\"10.0.0.0/16\\\",\\n \\\"dnsServiceIP\\\": \\\"10.0.0.10\\\",\\n \\\"dockerBridgeCidr\\\"\\\n : \\\"172.17.0.1/16\\\",\\n \\\"outboundType\\\": \\\"loadBalancer\\\"\\n },\\n\\\n \\ \\\"maxAgentPools\\\": 10\\n },\\n \\\"sku\\\": {\\n \\\"name\\\": \\\"Basic\\\"\\\n ,\\n \\\"tier\\\": \\\"Free\\\"\\n }\\n }\\n ]\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '3216'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:24:52 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks show\n Connection:\n - keep-alive\n ParameterSetName:\n - -g -n\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n accept-language:\n - en-US\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2020-09-01\n response:\n body:\n string: \"{\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\\\"\\\n ,\\n \\\"location\\\": \\\"westus2\\\",\\n \\\"name\\\": \\\"cliakstest000001\\\",\\n \\\"type\\\"\\\n : \\\"Microsoft.ContainerService/ManagedClusters\\\",\\n \\\"properties\\\": {\\n \\\n \\ \\\"provisioningState\\\": \\\"Succeeded\\\",\\n \\\"kubernetesVersion\\\": \\\"1.16.13\\\"\\\n ,\\n \\\"dnsPrefix\\\": \\\"cliaksdns000004\\\",\\n \\\"fqdn\\\": \\\"cliaksdns000004-bd1ec6bc.hcp.westus2.azmk8s.io\\\"\\\n ,\\n \\\"agentPoolProfiles\\\": [\\n {\\n \\\"name\\\": \\\"nodepool1\\\",\\n \\\n \\ \\\"count\\\": 1,\\n \\\"vmSize\\\": \\\"Standard_DS2_v2\\\",\\n \\\"osDiskSizeGB\\\"\\\n : 128,\\n \\\"osDiskType\\\": \\\"Managed\\\",\\n \\\"maxPods\\\": 110,\\n \\\"\\\n type\\\": \\\"VirtualMachineScaleSets\\\",\\n \\\"provisioningState\\\": \\\"Succeeded\\\"\\\n ,\\n \\\"orchestratorVersion\\\": \\\"1.16.13\\\",\\n \\\"enableNodePublicIP\\\"\\\n : false,\\n \\\"nodeLabels\\\": {},\\n \\\"mode\\\": \\\"System\\\",\\n \\\"osType\\\"\\\n : \\\"Linux\\\",\\n \\\"nodeImageVersion\\\": \\\"AKSUbuntu-1604-2020.08.19\\\"\\n \\\n \\ }\\n ],\\n \\\"linuxProfile\\\": {\\n \\\"adminUsername\\\": \\\"azureuser\\\"\\\n ,\\n \\\"ssh\\\": {\\n \\\"publicKeys\\\": [\\n {\\n \\\"keyData\\\": \\\"\\\n ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\\\n \\ test@example.com\\\\n\\\"\\n }\\n ]\\n }\\n },\\n \\\"servicePrincipalProfile\\\"\\\n : {\\n \\\"clientId\\\": \\\"d1173eb8-7ef3-4844-bc8b-92b7aec4f18f\\\"\\n },\\n \\\n \\ \\\"addonProfiles\\\": {\\n \\\"kubedashboard\\\": {\\n \\\"enabled\\\": true,\\n\\\n \\ \\\"config\\\": null\\n }\\n },\\n \\\"nodeResourceGroup\\\": \\\"MC_clitest000001_cliakstest000001_westus2\\\"\\\n ,\\n \\\"enableRBAC\\\": true,\\n \\\"networkProfile\\\": {\\n \\\"networkPlugin\\\"\\\n : \\\"kubenet\\\",\\n \\\"loadBalancerSku\\\": \\\"Standard\\\",\\n \\\"loadBalancerProfile\\\"\\\n : {\\n \\\"outboundIPs\\\": {\\n \\\"publicIPs\\\": [\\n {\\n \\\"\\\n id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n }\\n ]\\n },\\n \\\"effectiveOutboundIPs\\\": [\\n {\\n\\\n \\ \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n }\\n ],\\n \\\"allocatedOutboundPorts\\\": 0,\\n \\\"idleTimeoutInMinutes\\\"\\\n : 30\\n },\\n \\\"podCidr\\\": \\\"10.244.0.0/16\\\",\\n \\\"serviceCidr\\\": \\\"\\\n 10.0.0.0/16\\\",\\n \\\"dnsServiceIP\\\": \\\"10.0.0.10\\\",\\n \\\"dockerBridgeCidr\\\"\\\n : \\\"172.17.0.1/16\\\",\\n \\\"outboundType\\\": \\\"loadBalancer\\\"\\n },\\n \\\"\\\n maxAgentPools\\\": 10\\n },\\n \\\"sku\\\": {\\n \\\"name\\\": \\\"Basic\\\",\\n \\\"tier\\\"\\\n : \\\"Free\\\"\\n }\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '3031'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:24:53 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks get-credentials\n Connection:\n - keep-alive\n Content-Length:\n - '0'\n ParameterSetName:\n - -g -n --file\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n accept-language:\n - en-US\n method: POST\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001/listClusterUserCredential?api-version=2020-09-01\n response:\n body:\n string: \"{\\n \\\"kubeconfigs\\\": [\\n {\\n \\\"name\\\": \\\"clusterUser\\\",\\n \\\n \\ \\\"value\\\": \\\"YXBpVmVyc2lvbjogdjEKY2x1c3RlcnM6Ci0gY2x1c3RlcjoKICAgIGNlcnRpZmljYXRlLWF1dGhvcml0eS1kYXRhOiBMUzB0TFMxQ1JVZEpUaUJEUlZKVVNVWkpRMEZVUlMwdExTMHRDazFKU1VWNWFrTkRRWEpMWjBGM1NVSkJaMGxTUVU1WlYxQXJOMGRhZUNzdk1rRjNjMnRoYkV4NWFWbDNSRkZaU2t0dldrbG9kbU5PUVZGRlRFSlJRWGNLUkZSRlRFMUJhMGRCTVZWRlFYaE5RMWt5UlhkSlFtTk9UV3BCZDA5VVJYbE5hazE0VFVSTmVWZG9aMUJOYWtFeFRVUkJOVTFVU1hsTmVrbDNUWHBLWVFwTlFUQjRRM3BCU2tKblRsWkNRVTFVUVcxT2FFMUpTVU5KYWtGT1FtZHJjV2hyYVVjNWR6QkNRVkZGUmtGQlQwTkJaemhCVFVsSlEwTm5TME5CWjBWQkNuUkJaRXBaVFV0U01IUnhjVUowTDFoVFNHRnZZV0puY2psYWRHdE5OV0UxZVRWNloyeFhjMXAxWW1abFprWTJlRkJDVkhwdWFIUkJORE5oWjNwVFZqVUtjekZxYkdReE5WZFdiM0Z4UTJWRlRGcE9ZVlppVkZKWWEwTm5XR1ZuZGxSV05tdFlRM0ZyVm1FeWRUbE5jSFU1VDJacVJVeEpUMFlyWVhZMWIxbzVhQW96ZVZaRVRrRnRRV0p5TTNkcGRFNUpNbEJOWTJkSmRtZDVRMnRTZUZjd05FSjFNR2hFZUZKWFpWWXlZVnByUWt0Q2VDdHFSVTgyVW05UWEzZGtVVlZ1Q25wUVNEZHZObGRXVVhWa1dFa3hhMmh3TTFaQ1pHeDRZbEpOWTB0TWF6SkJibVIzZVdFeVpXbzFZM1ZyU214Tk9HbFpSRk51WlhKNWVtSmtNRk5WTjBZS04wSXdlREpEYVVORmVHaGlaRVZRVWxaeGJYbG5VMDkxTjJwelJsUjNRMHRQY0hWVGQwVnFXV3BZZW01MlJrTjZjMWQzY0V0WFFYVnJNWGgzTkRFMkt3b3ZTa3RRY0drelRYRkllbU01UVNzMVRrUllPRlp1VURsRE5uTjFXRkk0UkdseWVGUTJLM04xSzNadU56WnZRMDB5VlZkRlQyRnhSbUUxVEVWdlNuWXZDbmxHVlRVeldGWjNXRGN4WW1ob1oyaHFORnBCTlcxUWJUTTRjVlEyU1hWU2JEQlVRakZ3TW1SemJuUlJNV3hLU2sxemVtSklPUzlWY25oeVozQkxSbWNLY3k5eVMzZEhhVEZKZGpoUWRGWk1Zek5GVVhkR2FYWm5WazV6UkhBd1NsUlhXRU5PV2pBeVZuWXlPVXN4SzNkSmNqQm1aMEozYlV0dGQyNDRNek5sZWdvNE1XaFRXRE5wYjJ4alZuQmpWaXN5U2xaSU1sUnJhM1JJUVd0VmNVOUxWekJUY0RsNWRUbHpiaTkxZW5wamRHSjBWbFl3Ykc5V1dWRmlVRzVOWWxOVkNqTXlUemxuUlVrMlRqZEpWa1JYU0UxYVFrNVBhSFl2V2l0NFF6TllTbGxuVDFOUk5EWllaeTl0V0ZocVlYWkVjREJuYlUxdWRVSTRSamhMYUM5VGRFOEtlbmRFVkRSNlowSlpOMWxwVEdRd1ZIbExlVEV4UkN0aVRqZExNVlJuU0hZM2IwSTBVVVE0WVhReU9FTkJkMFZCUVdGTmFrMURSWGRFWjFsRVZsSXdVQXBCVVVndlFrRlJSRUZuUzJ0TlFUaEhRVEZWWkVWM1JVSXZkMUZHVFVGTlFrRm1PSGRFVVZsS1MyOWFTV2gyWTA1QlVVVk1RbEZCUkdkblNVSkJTWHBxQ21kQlRFbGhVVlZXVlVWS1NIZHROMmhrUWtGMEx6TmlWRVJvUTFONFVtNVRlazF3WkZNelkxQnpUSGxDWVdWc2JuUm9PVU14VjBoM1YxWlZWVWdyVjFVS2FFRTBNM0JKVmxFcmQwTjVkR2hXV21ZNGRIZEdkWGxXT0UxUFdVeDRPR1JpVFZWbk4yOUJSRTlETjJrNFdtVjRZMlV6YlVwM05HNW1Zbk5DT0ZvMFVBcDBUbTVCZURWSVpXeE1lVFpMVUZseFZuRXlUbTFJU1M5bFpFRnZSSFp6Vm01dFZDOVZVbWxRYmxsU01FUjZhM0JwZERKMWVteFVaMDV4ZFhoSWRtRTJDbE0zWW5nNVYyZG5la1k0YTJFeFp6SjBiVUpYU25Ock5WbzNkRWhyYmpodlVXcGxTbEpCU1d0Mk1IZDFibUpsZWtkak1rbFdZMU5NVERWMk5GTTRVMmdLT1VoSFFUa3hLMVJxY3pGQmRWWXJiMWx0SzNaM1VrNUNiRmg1TW1saGQydzJVM0F4VmtKclozWmpURnBpUkZaRk9EZFRORUpXVURGSFlqVktUSEZ1ZEFwRmFFSnBOWGxtVlZSVk5TOWFPV2hpTlUxUU5VTkliVEpoTDI5SWRVMXlXa3NyV1RReWIyVlRaV0phUW5FMVdtNTRXRmt2TTNSa2VYYzBSazFWTnpodENsZFdWWFY2ZHl0RmIwWjVZM040VlhBd0sxbHZSWFY0TDBOU2QwaHZTekJsYkVwek56Um9kMU14YzJ4NlNEaG9TbmhCUldOelVqRTFhMVZUU2tnNVozVUtjMWRHUVZSSGQxRlBNVUZtYWpOa1IxSTJiVUV6WjJSR1ZtWkdiVTR6V0d0dGJVaHBhRmMzZUdSemVrZGFPVWxwTmpoWlNEWnhOaTlEWjBsQlMwWlVTQXBtYTJGdWMwUkdPRWt6VjJoUk9FRlVVWGtyVFU1MVJIQlNhMVpCUkV0WFdIWlhRbUpFWjBKbU9GTkxkR05pVW5SNVUyNXRXa3NyVWk5RlZFVmlaRXgyQ2sxQ2RGTjZlbEpZUm1GS1ltcGplRzlPVkd0UmVIaFZkV05yTldoR2JsZDZlSFV2YzJWc2RqQlVRVmwyY1cxblVISlRZamxpTUhoTU9IRTBSblU0VGpNS2MyUkRMM05IYWtWME4yMUpSRGwwVG1FcksweHlRMUJYYm0xck1sSlZla2hRVjJSeVRsZENlUW90TFMwdExVVk9SQ0JEUlZKVVNVWkpRMEZVUlMwdExTMHRDZz09CiAgICBzZXJ2ZXI6IGh0dHBzOi8vY2xpYWtzZG5zb2Y0ZGNwZi1iZDFlYzZiYy5oY3Aud2VzdHVzMi5hem1rOHMuaW86NDQzCiAgbmFtZTogY2xpYWtzdGVzdDJuaHc2cwpjb250ZXh0czoKLSBjb250ZXh0OgogICAgY2x1c3RlcjogY2xpYWtzdGVzdDJuaHc2cwogICAgdXNlcjogY2x1c3RlclVzZXJfY2xpdGVzdHFyeTJ3eXd1YmtfY2xpYWtzdGVzdDJuaHc2cwogIG5hbWU6IGNsaWFrc3Rlc3Qybmh3NnMKY3VycmVudC1jb250ZXh0OiBjbGlha3N0ZXN0Mm5odzZzCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KdXNlcnM6Ci0gbmFtZTogY2x1c3RlclVzZXJfY2xpdGVzdHFyeTJ3eXd1YmtfY2xpYWtzdGVzdDJuaHc2cwogIHVzZXI6CiAgICBjbGllbnQtY2VydGlmaWNhdGUtZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVVXZSRU5EUVhWVFowRjNTVUpCWjBsUlVXWldRWFYyTVRCT05Vc3pSRzlaTDFwdkwwUXlha0ZPUW1kcmNXaHJhVWM1ZHpCQ1FWRnpSa0ZFUVU0S1RWRnpkME5SV1VSV1VWRkVSWGRLYWxsVVFXVkdkekI1VFVSQk5VMVVTWGxOZWtWM1RYcEtZVVozTUhsTmFrRTFUVlJKZVUxNlNYZE5la3BoVFVSQmVBcEdla0ZXUW1kT1ZrSkJiMVJFYms0MVl6TlNiR0pVY0hSWldFNHdXbGhLZWsxU1ZYZEZkMWxFVmxGUlJFVjNlSFJaV0U0d1dsaEthbUpIYkd4aWJsRjNDbWRuU1dsTlFUQkhRMU54UjFOSllqTkVVVVZDUVZGVlFVRTBTVU5FZDBGM1oyZEpTMEZ2U1VOQlVVTnJRbWMzUTFGeVpWVlhhblZMUzJ4WldUbG1hRE1LYlVZMmFHVTBRelZVT0RnME0ybG9NV1ZWUlc1NGVrNVlNM0pzYzBZM2NGUmtURU5SUVZSak9HczFlR2h2U1M5VU9VaDVPREEwWkRSQlFtaEJaVlpwYXdwWFVGRklXRlZGTDNaRVFsRllTVnBJWjI5dVZrZE1VbXBUZEVoeWQyMTBVamwwUVdJd1F5OUJTVGRCV1hSS1FrTk5TamxGUWxGSmMwSmxVbTh2ZDFKUENsSmFaMkpEV1hCSWRXRlFlRFZwWjNneVpsbExRVmx6YTFaeGJFcG9lWEZTYTJscU5uWmtUME5RUmtGUVpqbHdNMngwU1haTVQxbHZjRUZpVUhCdmFWTUtTbFZ2WjFaTmVtdG9UVXRqTDFwWGJXNU1NSEk1T0VWRU0yWldRMmxXY2pWbE5uRmhlbk5uWjNReWFEZHZkMmx5Ym1GT2FtZGxkR3RKWjAxT09FZ3JUd3BOWWxwQlRXMVhURWQ1UVRCbVdrbDZNVkJCUTNWMVpYVnhOakJ5V1VSRWRVdFlUa1pKTDBoVFduSmFTbFZrYW5kNGFXNVhTMmwyYkRWMWNsTjZVVk5HQ2l0dE1XMVVjekpHY0ZwdWRHb3JkV0poTlRGMlYweHRZelZCT1hCSE9IQnRWVU5IZWxoVU1HSm9UR0ZrYlRBM1J6aExUSGt3WlhKRmJrWkxTSEYyZWtRS1lVVktRU3N6VERGR1ZITm9iMjFyYldwelVFMVlZbFpQTkZSWWJHaFBXbFEzWTBsRlYzQnhaVTFKUkhsWmEwWnZZV1ZXVUVKT2JYQlNiMnB1TUZWaFZncExWMUJZZEdOblNVZ3lTRTlsZFZkNVNWaGhkMnMzZW5CVVpIazBUMVV2UjFSTU1reDVXVzVJWkU5aFFtMUxaWEpHY0d4NFRtMXlTV05oWVhWNU5FNUlDblpvVTIxV1pGWktMMmg1VldGWGJpOTRaV0p4WkRsNmVtOVhhM00yWTAxNlVGVXpRMUJNWXpSRWVVWlZZMGxpZGxOR1lXVjJjVzgyTUVoRVV6aEVkbVVLU210UU4xSTJjbEJSYlRaTk1uVm9TalJPWkZnMkwwSjFUekZVVEN0elNtTjJTak5oYVUwd2FEUTNWMFZHTVZkU0wwUlpZVkJLUjNWMlkzaDJTV2RNUWdvMFVUUjRkalI2VmtkdmIwOXdkVzUxVGtOMlFXRjNTVVJCVVVGQ2IzcFZkMDE2UVU5Q1owNVdTRkU0UWtGbU9FVkNRVTFEUW1GQmQwVjNXVVJXVWpCc0NrSkJkM2REWjFsSlMzZFpRa0pSVlVoQmQwbDNSRUZaUkZaU01GUkJVVWd2UWtGSmQwRkVRVTVDWjJ0eGFHdHBSemwzTUVKQlVYTkdRVUZQUTBGblJVRUtiVXAyVGxnNUwyVkljelJyU25wV2RqWnNRVE5SVlVkQlZUaFBSbWxxZERGdmNWSkdSV3RSZGs4NE1FZ3ZkVmgwUVVSTmVVeHFPQ3R1TlhSc05rOWpiUXB0TDFJM2VHbG9Oa0Y2TVRsWFR6ZEJiMFZzYlVSQ2MwcENhMVJzYVVSSVZVdHZaazEzYUdaS1ZpdFNVbGhuUjB4NWNFcFJOWFZwTjNOYVRGSkxVbU5FQ2toNGJEUTFUbUkzYjNwVU1XVmxjMjEySzBrelFWWkVla1V6YUM5T2FYVk5iWGxJWkhGSGVsVjRjbWQwU1VWNVJGRlBaMEZRYUcxblN6Vm5jalZUYTJNS2VtTTJPRlY0TTNaNGMycEZWekkxVVVkS2JHVjBTMFpaVVhwS2NUQnlXSEV4VkVNemJsVnBZVGh2TTNWUWJGWlFXRUZtYW1SUGJraDVkRXBZUVZKNE1RcFplVzFLVlZOcmFsTkZhRWQyTmpNNVRITk5MMmhZYVRoSVdWQk1NVW96U2pSd1VtOVJSM0p4U0UxR1IxbGhSVU15WlhGR2MxZDVlVXRzVkVreFpreEZDa1I1U1d4VlpDdDBaME0wVFZodVRXZE1RM2QwTmtwaFNqSmtZa1JQZGpoaGMxVkVWa1ZaVjFsWVMwWmpaR2MyT1VSMFR6Sk1iVVJKUVZaSFZqUlNOMlFLTkRkTWJXbHhXbEpQUWxaRVdGcENhRTFSU0hRNVJtcERWSGh3ZVhVMVJuSlBhV0oxYjBSRFoybFlXR3hXWVc0MU5uVkhTbWw1TmtrMVdVRjFWREZVTWdwMlVWWnNZelZIVm1Od1FrazVZVWRFVXpoNGJEVkVTVkJFWTIxUFNHcEpka05wT1VsMmN5dDVWMHhsU0ZoV0x6aE5Va3R2UjJGMmRHUnlWMjQxVmxsR0NrOXJWR0ZIVEVKd1duTXJaREY2UWt4aVZXYzNTbk5KWms1WGJVSTFTMWsyYTBoRWVFdzRXVVZKVG1GclZVMUliM0phV0ROUFFtRnVWVzFLTUVOaFNXVUtaR1pPTUhWcFoxZDVZMEl2ZUc1TlltWm5jV3hsUWtWQ05rOTVkM0l3T1ZCME15dDZjVVZsT1cxVkwwdEViM0Z0UlZGSFoyeExTSFZLWXpkT1ZqRXlOUXBKWm0xeWFIVXlkRE5qTVdGTFIwdENOekJ4YjBKTldHOVRXakF3TW5SM05tbHZTM05LUW1kNU4zRlZQUW90TFMwdExVVk9SQ0JEUlZKVVNVWkpRMEZVUlMwdExTMHRDZz09CiAgICBjbGllbnQta2V5LWRhdGE6IExTMHRMUzFDUlVkSlRpQlNVMEVnVUZKSlZrRlVSU0JMUlZrdExTMHRMUXBOU1VsS1NuZEpRa0ZCUzBOQlowVkJjRUZaVDNkclN6TnNSbTgzYVdsd1YwZFFXRFJrTldobGIxaDFRWFZWTDFCUFRqUnZaRmhzUWtvNFkzcFdPVFkxQ21KQ1pUWlZNMU4zYTBGRk0xQktUMk5aWVVOUU1DOVNPSFpPVDBobFFVRlpVVWhzV1hCR2FqQkNNVEZDVURkM2QxVkdlVWRTTkV0S01WSnBNRmt3Y2xJS05qaEtjbFZtWWxGSE9VRjJkME5QZDBkTVUxRlJha05tVWtGVlEweEJXR3RoVURoRlZHdFhXVWQzYlV0U04yMXFPR1ZaYjAxa2JqSkRaMGRNU2taaGNBcFRXV054YTFwSmJ5dHlNMVJuYW5oUlJETXZZV1ExWWxOTWVYcHRTMHRSUjNvMllVbHJhVlpMU1VaVVRUVkpWRU51VURKV2NIQjVPVXN2WmtKQk9UTXhDbEZ2YkdFcldIVnhiWE0zU1VsTVpHOWxOazFKY1RVeWFsazBTSEphUTBsRVJHWkNMMnBxUnpKUlJFcHNhWGh6WjA1SU1sTk5PVlIzUVhKeWJuSnhkWFFLU3pKQmR6ZHBiSHBTVTFCNE1HMWhNbE5XU0ZrNFRWbHdNV2x2Y2pWbFluRXdjekJGYUdad2RGcHJOMDVvWVZkYU4xa3ZjbTB5ZFdSaU1XazFiazlSVUFwaFVuWkxXbXhCYUhNeE1EbEhORk15YmxwMFQzaDJRMms0ZEVoeGVFcDRVMmcyY2poM01taERVVkIwZVRsU1ZUZEpZVXB3U204M1JIcEdNakZVZFVVeENqVlpWRzFWS3pORFFrWnhZVzVxUTBFNGJVcENZVWR1YkZSM1ZGcHhWV0ZKTlRsR1IyeFRiR294TjFoSlEwSTVhSHB1Y214emFVWXljMHBQT0RaVk0yTUtkVVJzVUhocmVUbHBPRzFLZUROVWJXZGFhVzV4ZUdGYVkxUmFjWGxJUjIxeWMzVkVVamMwVlhCc1dGWlRaalJqYkVkc2NDODRXRzAyYm1aak9EWkdjQXBNVDI1RVRYb3hUbmRxZVROUFFUaG9Wa2hEUnpjd2FGZHVjalp4VDNSQ2R6QjJRVGN6YVZwRUt6QmxjWG93U25WcVRuSnZVMlZFV0ZZcmRuZGlhblJWQ25rdmNrTllUSGxrTW05cVRrbGxUekZvUW1SV2EyWjNNa2RxZVZKeWNqTk5ZbmxKUTNkbFJVOU5ZaXROTVZKeFMwUnhZbkEzYWxGeWQwZHpRMEYzUlVFS1FWRkxRMEZuUVhkelVHVnhjRmRIV0RoYU1XaExObGsxWWt4T1p6RlhUM0ZNYkRaT1NrZHpVWEEyY0RsRVVYcFNaMU51TVhWT1JqQnFRM0Z6TkdGUlZRcGhOMlkxUkVwNlRYZHVlRkEwU0VWNlNVNTRSRkJGZGpKMk9EaFliM0Y0TW1wNlJubGxVM2RwWm5kVlFuSXpaVFZSWTJONUwzRkJTV2s0VDA5S2JWZHlDa1JCWkZFd05HUlJTR3BKUVRWRGQzcGFaMVUyUTJ4dEt6ZFpNV0Z4ZDBFelltOUxWbEJxSzNvM1N6UmlPVzFqTm0xNlEzbEVaVkJrVW5adVZrVjJNa1lLVTJSeVF5czJTMDF3TVdrd1ZGcHhRbXhMVDFOb2RtSmhjRGhaT1VaRlRFbEVSVko1ZUdoS04zaHBLM0J6VkdaaVIwbFpPRE54VVZSS00wWlNVa2QyYkFvemRVczRRelZhUW5SaGF6WlJUMkZxUVVsMFpsRXhWME41ZEZWcE5HaEZTRkkyTm5KT09XTTRibVJhVEN0eVpIaExRV3ByTm0xUVUzbzFRbGM0ZDJ0akNrTnJjV05QWnprNEwyOVpXRWM0ZVVwdWFWVXZOekptWjFGcGNFbElaVUpIWlRFeVVHVm5WV2s0V2pkcksyUTFkMmxQWWtoNWFVNXdUVGxCWmxFMFZXTUtSR3hqVms5bVpHWkZVMnR2VWxGTGNYUk5XVTFoUTFWTFdWWlRSbGRJVG1SVVUzTkphMjEzUldoRlNqaGhhVFJ2TlRGUmMyWTNUekpDVFdoalUyZENjd3BoYm5ocFRsVlBWVlJEYkU1NGJWaE1NMEY0WnpsVVYzazBOMmxSY1M5a1NtNXZVRTR5VnpRNGMxcFFOR3RNWVUxRE0xcDVNR1ZSYW5oVVduWkxWMVJZQ2poSWVqWXJSVTFSVGtsV2VHcEVNSGxGTDFoV1pYUk1PSFozV0RRcmRpczRPSGxFTVd4c1FTOVJTVUZ0TldGRmVHRnhjbEJ0ZVdkTFVEVndRakJpWmxZS2RVUjJkSGxxVEV0UFJVWlhjRmRMYXpWd05tOXJXR1kxYURCeWRIUTBTbTFoU21GVGFVOWlTMFJ6TlN0cU9FazJURGxHU1cxeWMzTldiVEF2U0V4WWJncEdkemxaUkZkUFZUWnJTRW8wTURCTVEydHpLMjlHTlVoV1RrWlBXWEI2ZDNveWNFbEtabTFPZFd4NVJqWTBaa1JCVVV0RFFWRkZRWGsxVWxsSmFsRk1DamxCZUdRMmJWcHNOMjlMUmtNMlpVWjNkMDl1V0dsNFJEbDJVVk5qYldONGIxQXhlVWN4UjNGTU1HdHRVbUl3VEdGUlRHOTNlazVZVW0xQ01XSTJSRkFLU2poNlUwdG9kRlpEVlRaS1NFczJMM0IwWlZCb1lucFNjbXh3V0hJM1dIcENSM1pGVlZSNVpqWnNPRWN6WkdscWFqaE9UMEZDYnpWeGRFbHNabUl5U2dwbVFWUk5OelJHWWpRdlR6STFlWEZGUnpZNUx6VjZWVXgyWTJSS2EyOU5abE55ZEV4SVpUY3dPVzE1UlhsdVZrWndXSFpJTUU5U1VYQmFLMjFVWW5JeUNpdHNUVk5ZTUVveVIzRnRMMnRJTHpCWEwwVlBkRkJQUWpneE4xZEdZbVJtWjNKcFZEWlBTSFE1U0c5dGVrSkpiRmwyUmtNd01VOVZPVmRHVEZOYWVqWUtRelJQU2tkQ1ptNUdWalJVWVZWMU1FWmtUV3BKYjNSVU5HSldVRVJyVkZSaWExWjFNV0ZVTVhwd1oxTnFlbEp2VDFCMVN5czRlak0xWTBkNFJHcDFOQXBLWW1KSlIwMHdOeTg0Y1hVMmQwdERRVkZGUVhwclNrRTBVVVJEVldwNlJXMVpLM3B1WlVOMU5saFVSbEZsTUhsME5Yb3lVMUJhUkZSVFVUSm1RMVI2Q21sMU9FYzJUM1JuVVc5cFNGRjBhSE5oVkRNNFR6TlFlbGN5VTFnME1IRkNkVEphUm1Rd1VEZHNaMUZOWVVScmRVSjRVV2REYkROWE5qaEZheTgzWWk4S1NsaDRTMU5RYlVsNlZ6UjVOakJrZVhoVFVIVlNXRXhGUkZOaVVpOXdNM0ZhY1doaFFsWjZUMDF5VVhWNU1FOVZjemxGTkZaS1FuSnBjVzB5VUdJclVncDZhVzl0YVhsVldFTnJPVFJhVFV4eFlsTm5iME0zYTIxS01UVndSa0ZCYzNCT1VVRm1iVVpVY0ZGQ2J6ZEJWMkpXWm04elMyaG5XRUZyWkVsclRrdHNDbXRVTkhreFdFWnZSMlZ5ZEdSeFdrZG9kRkIwT0ZwUU9IUlFPVEpUTm1KVU1UaEdWRFJuUlVSSVNsSlVaRkJMWTI5RFRqaHlWM1JFZHpsSWNDOTROM0VLZG1zMGVDdFhVbEF6TjFOUGNrSTRlbkZyZWpGYVNrRnZiRUZNZUcwNEt6bGFOSEZCVEUwelZXZFJTME5CVVVJd2RGUmxUbUpET0V0SGRXcG5WSGhJVXdwdFZYRjVjM0puZUZreUwxbDNhVWMwWlhCWU1IUm5iM2xyTDIxT2FHUlRPWGhRTjBjM2FXbFVZa0pMUzJwWE1WVk5SWEJETUROeVVFRXhTR040T0hsS0NsTkdaVGhrVFZnd1dGSkhkbWgwTjJsVFNFdExhbWhIYVd0RVJqaHlVR1V3WjJkUVMzWk1ObEF4VmxKeVNrb3lOSFY2TmpWQ2FXSkRWRmhKTjFBdmNYZ0tRazh2ZGs5SFYwTkNZWFZoYm1OT09HRmljRmt6ZDJwaFlTdE5WbHAyT1ZOSmExcERWblJoTVd4MUsyNWFjWGxDVG5KUk9WUmFhak5UZUZveVVFRkRMd3BMYkRscE9VdG1aVFpoVVZoM2NETlhTM0ZGY1RBdlVsTlhXVk5hT1hGUVdFTjNkMmMwTm5CQ1VHSlRhM1F2TjIxaFdDdHBNVkJhV1VWWVJsQjFZWGhHQ21sTFozbE1hVGgzWWpsc2RHNVdhR0ZTWm01eVdWUlBaM1pRWkdOVVdGTktiVzgzVWxGRFkySjFPRVZwZERRdlMxUkxPRE5VU3pneVJqaEtRWHBoS3lzS05XSkJMMEZ2U1VKQlJFVlBUM1ZaU1hsNU4wb3JlWGhYY2tNMldtVkxRbGgzUnpaamJuQndhUzgwVWpnMVlXSmpVRkZWY25WTGVreHBjMWx6TjFKclJnbzFZakl4VVZwMVMxQlpjR0ZYYmk5aVNHWkVWMFZMVEd0blVrMU1ibFJQYUhoT01tODRPVk5HUzJSWGRGZGxaRFpoV0ZaVlRHSjZXbTlqVmxoaEx6QklDaTgxTlV4M1VGVTBVbGg0U1M5dE0zVldURmRPUlRKdVZrVnZkMEk1V25wRWF5OXRUMGRxYW0xUmRFdERRWE5JV1N0V2IxbFVVRXBQZG1odlRDdFVNMllLYUhNdldVNHJPRGhTVFVnNVEwTkZSelpHUkRCa1lXNURUR3htWjJsQlpGQlpTMVExT1VkaWRtVjBNVTVITTFCVlVtMU5SRnB3VG5wNWNERlFUM0ZaYmdwYVRrUTJXRkF6UjA4cmNHWXJlRTlHVTNKd1ZtUkVOekZaVTBRMFozRm1lV041VERKaVRpODVZMHhNUTA1NmVrVnRWRmQyVVdJNUwxVTBNWGRIVkhOdkNtTXlTbTFxVjBGemNUVlNLMWxPYUV4R2RrZHhOU3MxVUZZMGNsRmlXVVZEWjJkRlFVNVJSekphZGpoWVQyRXhLMVU0WjNaM1VXaGxOREo0YWt4UE1uUUtNVWR5Um5wMFJqUlhSREJEVFRJdmRpOVFlVEEyZUhoM1IwRjVhV1JLYmtZdk0zWk5VbGs0Y1d0amNtdElSRFpUU2pCbFNFNXpUVmxZTDBKU04xTkVaQXBvWnpncmRETjFTWFJQVHpkclNHZFNiVEpYT1d0dFJqRTVka2dyUW5OeGNWSlBhRWRZVHpoWU9FUllWbXBuYTFaMlNXVk1NVk5MYzNsMGJrczVVblZsQ2xBNVFYVnBVMnROUVd4clFuSTRhbkV2V0RZdlltSlBXbVp5Ym5WcFlYbE5URkpaZFhOVWRuUm9VWHBNUkdabGREaGtOMDlSY0ZBek9WTnNXRFZITUVzS1pFZExObE5wUmpsd01sQTFWRE5wU25WU0sxVkxUR3QwWVdsalFUVkVWbEZCS3pkU1RISlZSSFZ4ZVZkTGQwWk5NVWgxUmxOMVlYaGxibVJCVVhoak1RcDNaV2N4YVhKa05YSTNPRTVITjJOeWVGZ3hSbVJrZW1aa2IybHBMMGwyZG1kU2IwOWlhVFpMYVdOYWJFeGFUWEpVZGpScE5HRmxVbUZCUFQwS0xTMHRMUzFGVGtRZ1VsTkJJRkJTU1ZaQlZFVWdTMFZaTFMwdExTMEsKICAgIHRva2VuOiAzMDY2YzljMTU0MjE0ZTAwOWIwZjVhNGEyMmRkNGFkMzgyNTQ2ZjM5OWI0YjM4M2YzODU5ZGNjZDZmYzQxOTlkM2M3MzNjZmU5YTk4MzE5M2I1YjU0ZjUzMjY0OGM2MjJiNWIyOTA5ZDQwYTY1MjIyYzI0Y2IwODZkY2U2Mzg1Mgo=\\\"\\\n \\n }\\n ]\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '12924'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:24:52 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n x-ms-ratelimit-remaining-subscription-writes:\n - '1199'\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks update\n Connection:\n - keep-alive\n ParameterSetName:\n - -g -n --load-balancer-outbound-ips\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n accept-language:\n - en-US\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2020-09-01\n response:\n body:\n string: \"{\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\\\"\\\n ,\\n \\\"location\\\": \\\"westus2\\\",\\n \\\"name\\\": \\\"cliakstest000001\\\",\\n \\\"type\\\"\\\n : \\\"Microsoft.ContainerService/ManagedClusters\\\",\\n \\\"properties\\\": {\\n \\\n \\ \\\"provisioningState\\\": \\\"Succeeded\\\",\\n \\\"kubernetesVersion\\\": \\\"1.16.13\\\"\\\n ,\\n \\\"dnsPrefix\\\": \\\"cliaksdns000004\\\",\\n \\\"fqdn\\\": \\\"cliaksdns000004-bd1ec6bc.hcp.westus2.azmk8s.io\\\"\\\n ,\\n \\\"agentPoolProfiles\\\": [\\n {\\n \\\"name\\\": \\\"nodepool1\\\",\\n \\\n \\ \\\"count\\\": 1,\\n \\\"vmSize\\\": \\\"Standard_DS2_v2\\\",\\n \\\"osDiskSizeGB\\\"\\\n : 128,\\n \\\"osDiskType\\\": \\\"Managed\\\",\\n \\\"maxPods\\\": 110,\\n \\\"\\\n type\\\": \\\"VirtualMachineScaleSets\\\",\\n \\\"provisioningState\\\": \\\"Succeeded\\\"\\\n ,\\n \\\"orchestratorVersion\\\": \\\"1.16.13\\\",\\n \\\"enableNodePublicIP\\\"\\\n : false,\\n \\\"nodeLabels\\\": {},\\n \\\"mode\\\": \\\"System\\\",\\n \\\"osType\\\"\\\n : \\\"Linux\\\",\\n \\\"nodeImageVersion\\\": \\\"AKSUbuntu-1604-2020.08.19\\\"\\n \\\n \\ }\\n ],\\n \\\"linuxProfile\\\": {\\n \\\"adminUsername\\\": \\\"azureuser\\\"\\\n ,\\n \\\"ssh\\\": {\\n \\\"publicKeys\\\": [\\n {\\n \\\"keyData\\\": \\\"\\\n ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\\\n \\ test@example.com\\\\n\\\"\\n }\\n ]\\n }\\n },\\n \\\"servicePrincipalProfile\\\"\\\n : {\\n \\\"clientId\\\": \\\"d1173eb8-7ef3-4844-bc8b-92b7aec4f18f\\\"\\n },\\n \\\n \\ \\\"addonProfiles\\\": {\\n \\\"kubedashboard\\\": {\\n \\\"enabled\\\": true,\\n\\\n \\ \\\"config\\\": null\\n }\\n },\\n \\\"nodeResourceGroup\\\": \\\"MC_clitest000001_cliakstest000001_westus2\\\"\\\n ,\\n \\\"enableRBAC\\\": true,\\n \\\"networkProfile\\\": {\\n \\\"networkPlugin\\\"\\\n : \\\"kubenet\\\",\\n \\\"loadBalancerSku\\\": \\\"Standard\\\",\\n \\\"loadBalancerProfile\\\"\\\n : {\\n \\\"outboundIPs\\\": {\\n \\\"publicIPs\\\": [\\n {\\n \\\"\\\n id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n }\\n ]\\n },\\n \\\"effectiveOutboundIPs\\\": [\\n {\\n\\\n \\ \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n }\\n ],\\n \\\"allocatedOutboundPorts\\\": 0,\\n \\\"idleTimeoutInMinutes\\\"\\\n : 30\\n },\\n \\\"podCidr\\\": \\\"10.244.0.0/16\\\",\\n \\\"serviceCidr\\\": \\\"\\\n 10.0.0.0/16\\\",\\n \\\"dnsServiceIP\\\": \\\"10.0.0.10\\\",\\n \\\"dockerBridgeCidr\\\"\\\n : \\\"172.17.0.1/16\\\",\\n \\\"outboundType\\\": \\\"loadBalancer\\\"\\n },\\n \\\"\\\n maxAgentPools\\\": 10\\n },\\n \\\"sku\\\": {\\n \\\"name\\\": \\\"Basic\\\",\\n \\\"tier\\\"\\\n : \\\"Free\\\"\\n }\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '3031'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:24:53 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: '{\"location\": \"westus2\", \"properties\": {\"kubernetesVersion\": \"1.16.13\",\n \"dnsPrefix\": \"cliaksdns000004\", \"agentPoolProfiles\": [{\"count\": 1, \"vmSize\":\n \"Standard_DS2_v2\", \"osDiskSizeGB\": 128, \"osDiskType\": \"Managed\", \"maxPods\":\n 110, \"osType\": \"Linux\", \"type\": \"VirtualMachineScaleSets\", \"mode\": \"System\",\n \"orchestratorVersion\": \"1.16.13\", \"enableNodePublicIP\": false, \"nodeLabels\":\n {}, \"name\": \"nodepool1\"}], \"linuxProfile\": {\"adminUsername\": \"azureuser\", \"ssh\":\n {\"publicKeys\": [{\"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\n test@example.com\\n\"}]}}, \"servicePrincipalProfile\": {\"clientId\": \"d1173eb8-7ef3-4844-bc8b-92b7aec4f18f\"},\n \"addonProfiles\": {\"kubedashboard\": {\"enabled\": true}}, \"nodeResourceGroup\":\n \"MC_clitest000001_cliakstest000001_westus2\", \"enableRBAC\": true, \"networkProfile\":\n {\"networkPlugin\": \"kubenet\", \"podCidr\": \"10.244.0.0/16\", \"serviceCidr\": \"10.0.0.0/16\",\n \"dnsServiceIP\": \"10.0.0.10\", \"dockerBridgeCidr\": \"172.17.0.1/16\", \"outboundType\":\n \"loadBalancer\", \"loadBalancerSku\": \"Standard\", \"loadBalancerProfile\": {\"outboundIPs\":\n {\"publicIPs\": [{\"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\"},\n {\"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip2000003\"}]},\n \"effectiveOutboundIPs\": [{\"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\"}],\n \"allocatedOutboundPorts\": 0, \"idleTimeoutInMinutes\": 30}}}, \"sku\": {\"name\":\n \"Basic\", \"tier\": \"Free\"}}'\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks update\n Connection:\n - keep-alive\n Content-Length:\n - '2359'\n Content-Type:\n - application/json; charset=utf-8\n ParameterSetName:\n - -g -n --load-balancer-outbound-ips\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n accept-language:\n - en-US\n method: PUT\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2020-09-01\n response:\n body:\n string: \"{\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\\\"\\\n ,\\n \\\"location\\\": \\\"westus2\\\",\\n \\\"name\\\": \\\"cliakstest000001\\\",\\n \\\"type\\\"\\\n : \\\"Microsoft.ContainerService/ManagedClusters\\\",\\n \\\"properties\\\": {\\n \\\n \\ \\\"provisioningState\\\": \\\"Updating\\\",\\n \\\"kubernetesVersion\\\": \\\"1.16.13\\\"\\\n ,\\n \\\"dnsPrefix\\\": \\\"cliaksdns000004\\\",\\n \\\"fqdn\\\": \\\"cliaksdns000004-bd1ec6bc.hcp.westus2.azmk8s.io\\\"\\\n ,\\n \\\"agentPoolProfiles\\\": [\\n {\\n \\\"name\\\": \\\"nodepool1\\\",\\n \\\n \\ \\\"count\\\": 1,\\n \\\"vmSize\\\": \\\"Standard_DS2_v2\\\",\\n \\\"osDiskSizeGB\\\"\\\n : 128,\\n \\\"osDiskType\\\": \\\"Managed\\\",\\n \\\"maxPods\\\": 110,\\n \\\"\\\n type\\\": \\\"VirtualMachineScaleSets\\\",\\n \\\"provisioningState\\\": \\\"Updating\\\"\\\n ,\\n \\\"orchestratorVersion\\\": \\\"1.16.13\\\",\\n \\\"enableNodePublicIP\\\"\\\n : false,\\n \\\"nodeLabels\\\": {},\\n \\\"mode\\\": \\\"System\\\",\\n \\\"osType\\\"\\\n : \\\"Linux\\\",\\n \\\"nodeImageVersion\\\": \\\"AKSUbuntu-1604-2020.08.19\\\"\\n \\\n \\ }\\n ],\\n \\\"linuxProfile\\\": {\\n \\\"adminUsername\\\": \\\"azureuser\\\"\\\n ,\\n \\\"ssh\\\": {\\n \\\"publicKeys\\\": [\\n {\\n \\\"keyData\\\": \\\"\\\n ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\\\n \\ test@example.com\\\\n\\\"\\n }\\n ]\\n }\\n },\\n \\\"servicePrincipalProfile\\\"\\\n : {\\n \\\"clientId\\\": \\\"d1173eb8-7ef3-4844-bc8b-92b7aec4f18f\\\"\\n },\\n \\\n \\ \\\"addonProfiles\\\": {\\n \\\"kubedashboard\\\": {\\n \\\"enabled\\\": true,\\n\\\n \\ \\\"config\\\": null\\n }\\n },\\n \\\"nodeResourceGroup\\\": \\\"MC_clitest000001_cliakstest000001_westus2\\\"\\\n ,\\n \\\"enableRBAC\\\": true,\\n \\\"networkProfile\\\": {\\n \\\"networkPlugin\\\"\\\n : \\\"kubenet\\\",\\n \\\"loadBalancerSku\\\": \\\"Standard\\\",\\n \\\"loadBalancerProfile\\\"\\\n : {\\n \\\"outboundIPs\\\": {\\n \\\"publicIPs\\\": [\\n {\\n \\\"\\\n id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n },\\n {\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip2000003\\\"\\\n \\n }\\n ]\\n },\\n \\\"effectiveOutboundIPs\\\": [\\n {\\n\\\n \\ \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n }\\n ],\\n \\\"allocatedOutboundPorts\\\": 0,\\n \\\"idleTimeoutInMinutes\\\"\\\n : 30\\n },\\n \\\"podCidr\\\": \\\"10.244.0.0/16\\\",\\n \\\"serviceCidr\\\": \\\"\\\n 10.0.0.0/16\\\",\\n \\\"dnsServiceIP\\\": \\\"10.0.0.10\\\",\\n \\\"dockerBridgeCidr\\\"\\\n : \\\"172.17.0.1/16\\\",\\n \\\"outboundType\\\": \\\"loadBalancer\\\"\\n },\\n \\\"\\\n maxAgentPools\\\": 10\\n },\\n \\\"sku\\\": {\\n \\\"name\\\": \\\"Basic\\\",\\n \\\"tier\\\"\\\n : \\\"Free\\\"\\n }\\n }\"\n headers:\n azure-asyncoperation:\n - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e7fb6f6e-549e-49fc-bc4b-acad8206dc87?api-version=2016-03-30\n cache-control:\n - no-cache\n content-length:\n - '3212'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:24:58 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n x-ms-ratelimit-remaining-subscription-writes:\n - '1196'\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks update\n Connection:\n - keep-alive\n ParameterSetName:\n - -g -n --load-balancer-outbound-ips\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/e7fb6f6e-549e-49fc-bc4b-acad8206dc87?api-version=2016-03-30\n response:\n body:\n string: \"{\\n \\\"name\\\": \\\"6e6ffbe7-9e54-fc49-bc4b-acad8206dc87\\\",\\n \\\"status\\\"\\\n : \\\"Succeeded\\\",\\n \\\"startTime\\\": \\\"2020-09-12T23:24:58.5618291Z\\\",\\n \\\"\\\n endTime\\\": \\\"2020-09-12T23:25:27.1649426Z\\\"\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '170'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:25:29 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks update\n Connection:\n - keep-alive\n ParameterSetName:\n - -g -n --load-balancer-outbound-ips\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2020-09-01\n response:\n body:\n string: \"{\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\\\"\\\n ,\\n \\\"location\\\": \\\"westus2\\\",\\n \\\"name\\\": \\\"cliakstest000001\\\",\\n \\\"type\\\"\\\n : \\\"Microsoft.ContainerService/ManagedClusters\\\",\\n \\\"properties\\\": {\\n \\\n \\ \\\"provisioningState\\\": \\\"Succeeded\\\",\\n \\\"kubernetesVersion\\\": \\\"1.16.13\\\"\\\n ,\\n \\\"dnsPrefix\\\": \\\"cliaksdns000004\\\",\\n \\\"fqdn\\\": \\\"cliaksdns000004-bd1ec6bc.hcp.westus2.azmk8s.io\\\"\\\n ,\\n \\\"agentPoolProfiles\\\": [\\n {\\n \\\"name\\\": \\\"nodepool1\\\",\\n \\\n \\ \\\"count\\\": 1,\\n \\\"vmSize\\\": \\\"Standard_DS2_v2\\\",\\n \\\"osDiskSizeGB\\\"\\\n : 128,\\n \\\"osDiskType\\\": \\\"Managed\\\",\\n \\\"maxPods\\\": 110,\\n \\\"\\\n type\\\": \\\"VirtualMachineScaleSets\\\",\\n \\\"provisioningState\\\": \\\"Succeeded\\\"\\\n ,\\n \\\"orchestratorVersion\\\": \\\"1.16.13\\\",\\n \\\"enableNodePublicIP\\\"\\\n : false,\\n \\\"nodeLabels\\\": {},\\n \\\"mode\\\": \\\"System\\\",\\n \\\"osType\\\"\\\n : \\\"Linux\\\",\\n \\\"nodeImageVersion\\\": \\\"AKSUbuntu-1604-2020.08.19\\\"\\n \\\n \\ }\\n ],\\n \\\"linuxProfile\\\": {\\n \\\"adminUsername\\\": \\\"azureuser\\\"\\\n ,\\n \\\"ssh\\\": {\\n \\\"publicKeys\\\": [\\n {\\n \\\"keyData\\\": \\\"\\\n ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\\\n \\ test@example.com\\\\n\\\"\\n }\\n ]\\n }\\n },\\n \\\"servicePrincipalProfile\\\"\\\n : {\\n \\\"clientId\\\": \\\"d1173eb8-7ef3-4844-bc8b-92b7aec4f18f\\\"\\n },\\n \\\n \\ \\\"addonProfiles\\\": {\\n \\\"kubedashboard\\\": {\\n \\\"enabled\\\": true,\\n\\\n \\ \\\"config\\\": null\\n }\\n },\\n \\\"nodeResourceGroup\\\": \\\"MC_clitest000001_cliakstest000001_westus2\\\"\\\n ,\\n \\\"enableRBAC\\\": true,\\n \\\"networkProfile\\\": {\\n \\\"networkPlugin\\\"\\\n : \\\"kubenet\\\",\\n \\\"loadBalancerSku\\\": \\\"Standard\\\",\\n \\\"loadBalancerProfile\\\"\\\n : {\\n \\\"outboundIPs\\\": {\\n \\\"publicIPs\\\": [\\n {\\n \\\"\\\n id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n },\\n {\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip2000003\\\"\\\n \\n }\\n ]\\n },\\n \\\"effectiveOutboundIPs\\\": [\\n {\\n\\\n \\ \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n },\\n {\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip2000003\\\"\\\n \\n }\\n ],\\n \\\"allocatedOutboundPorts\\\": 0,\\n \\\"idleTimeoutInMinutes\\\"\\\n : 30\\n },\\n \\\"podCidr\\\": \\\"10.244.0.0/16\\\",\\n \\\"serviceCidr\\\": \\\"\\\n 10.0.0.0/16\\\",\\n \\\"dnsServiceIP\\\": \\\"10.0.0.10\\\",\\n \\\"dockerBridgeCidr\\\"\\\n : \\\"172.17.0.1/16\\\",\\n \\\"outboundType\\\": \\\"loadBalancer\\\"\\n },\\n \\\"\\\n maxAgentPools\\\": 10\\n },\\n \\\"sku\\\": {\\n \\\"name\\\": \\\"Basic\\\",\\n \\\"tier\\\"\\\n : \\\"Free\\\"\\n }\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '3394'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:25:29 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks show\n Connection:\n - keep-alive\n ParameterSetName:\n - -g -n\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n accept-language:\n - en-US\n method: GET\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2020-09-01\n response:\n body:\n string: \"{\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001\\\"\\\n ,\\n \\\"location\\\": \\\"westus2\\\",\\n \\\"name\\\": \\\"cliakstest000001\\\",\\n \\\"type\\\"\\\n : \\\"Microsoft.ContainerService/ManagedClusters\\\",\\n \\\"properties\\\": {\\n \\\n \\ \\\"provisioningState\\\": \\\"Succeeded\\\",\\n \\\"kubernetesVersion\\\": \\\"1.16.13\\\"\\\n ,\\n \\\"dnsPrefix\\\": \\\"cliaksdns000004\\\",\\n \\\"fqdn\\\": \\\"cliaksdns000004-bd1ec6bc.hcp.westus2.azmk8s.io\\\"\\\n ,\\n \\\"agentPoolProfiles\\\": [\\n {\\n \\\"name\\\": \\\"nodepool1\\\",\\n \\\n \\ \\\"count\\\": 1,\\n \\\"vmSize\\\": \\\"Standard_DS2_v2\\\",\\n \\\"osDiskSizeGB\\\"\\\n : 128,\\n \\\"osDiskType\\\": \\\"Managed\\\",\\n \\\"maxPods\\\": 110,\\n \\\"\\\n type\\\": \\\"VirtualMachineScaleSets\\\",\\n \\\"provisioningState\\\": \\\"Succeeded\\\"\\\n ,\\n \\\"orchestratorVersion\\\": \\\"1.16.13\\\",\\n \\\"enableNodePublicIP\\\"\\\n : false,\\n \\\"nodeLabels\\\": {},\\n \\\"mode\\\": \\\"System\\\",\\n \\\"osType\\\"\\\n : \\\"Linux\\\",\\n \\\"nodeImageVersion\\\": \\\"AKSUbuntu-1604-2020.08.19\\\"\\n \\\n \\ }\\n ],\\n \\\"linuxProfile\\\": {\\n \\\"adminUsername\\\": \\\"azureuser\\\"\\\n ,\\n \\\"ssh\\\": {\\n \\\"publicKeys\\\": [\\n {\\n \\\"keyData\\\": \\\"\\\n ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\\\n \\ test@example.com\\\\n\\\"\\n }\\n ]\\n }\\n },\\n \\\"servicePrincipalProfile\\\"\\\n : {\\n \\\"clientId\\\": \\\"d1173eb8-7ef3-4844-bc8b-92b7aec4f18f\\\"\\n },\\n \\\n \\ \\\"addonProfiles\\\": {\\n \\\"kubedashboard\\\": {\\n \\\"enabled\\\": true,\\n\\\n \\ \\\"config\\\": null\\n }\\n },\\n \\\"nodeResourceGroup\\\": \\\"MC_clitest000001_cliakstest000001_westus2\\\"\\\n ,\\n \\\"enableRBAC\\\": true,\\n \\\"networkProfile\\\": {\\n \\\"networkPlugin\\\"\\\n : \\\"kubenet\\\",\\n \\\"loadBalancerSku\\\": \\\"Standard\\\",\\n \\\"loadBalancerProfile\\\"\\\n : {\\n \\\"outboundIPs\\\": {\\n \\\"publicIPs\\\": [\\n {\\n \\\"\\\n id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n },\\n {\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip2000003\\\"\\\n \\n }\\n ]\\n },\\n \\\"effectiveOutboundIPs\\\": [\\n {\\n\\\n \\ \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip1000002\\\"\\\n \\n },\\n {\\n \\\"id\\\": \\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/publicIPAddresses/cliaksslbip2000003\\\"\\\n \\n }\\n ],\\n \\\"allocatedOutboundPorts\\\": 0,\\n \\\"idleTimeoutInMinutes\\\"\\\n : 30\\n },\\n \\\"podCidr\\\": \\\"10.244.0.0/16\\\",\\n \\\"serviceCidr\\\": \\\"\\\n 10.0.0.0/16\\\",\\n \\\"dnsServiceIP\\\": \\\"10.0.0.10\\\",\\n \\\"dockerBridgeCidr\\\"\\\n : \\\"172.17.0.1/16\\\",\\n \\\"outboundType\\\": \\\"loadBalancer\\\"\\n },\\n \\\"\\\n maxAgentPools\\\": 10\\n },\\n \\\"sku\\\": {\\n \\\"name\\\": \\\"Basic\\\",\\n \\\"tier\\\"\\\n : \\\"Free\\\"\\n }\\n }\"\n headers:\n cache-control:\n - no-cache\n content-length:\n - '3394'\n content-type:\n - application/json\n date:\n - Sat, 12 Sep 2020 23:25:31 GMT\n expires:\n - '-1'\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n transfer-encoding:\n - chunked\n vary:\n - Accept-Encoding\n x-content-type-options:\n - nosniff\n status:\n code: 200\n message: OK\n- request:\n body: null\n headers:\n Accept:\n - application/json\n Accept-Encoding:\n - gzip, deflate\n CommandName:\n - aks delete\n Connection:\n - keep-alive\n Content-Length:\n - '0'\n ParameterSetName:\n - -g -n --yes --no-wait\n User-Agent:\n - python/3.7.4 (Darwin-19.4.0-x86_64-i386-64bit) msrest/0.6.18 msrest_azure/0.6.3\n azure-mgmt-containerservice/9.4.0 Azure-SDK-For-Python AZURECLI/2.11.1\n accept-language:\n - en-US\n method: DELETE\n uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000001?api-version=2020-09-01\n response:\n body:\n string: ''\n headers:\n azure-asyncoperation:\n - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operations/707b2935-a2a6-466d-8db6-cce9b659a87a?api-version=2016-03-30\n cache-control:\n - no-cache\n content-length:\n - '0'\n date:\n - Sat, 12 Sep 2020 23:25:32 GMT\n expires:\n - '-1'\n location:\n - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerService/locations/westus2/operationresults/707b2935-a2a6-466d-8db6-cce9b659a87a?api-version=2016-03-30\n pragma:\n - no-cache\n server:\n - nginx\n strict-transport-security:\n - max-age=31536000; includeSubDomains\n x-content-type-options:\n - nosniff\n x-ms-ratelimit-remaining-subscription-deletes:\n - '14999'\n status:\n code: 202\n message: Accepted\nversion: 1\n"}
-{"text": "{% set version = \"1.5.7\" %}\n{% set sha256 = \"a903d209eeedba4f9f415a260f2080b469ca460b16a97c9663274bf90f1f6093\" %}\n\npackage:\n name: hifive\n version: '{{ version }}'\n\nsource:\n url: https://github.com/bxlab/hifive/archive/v{{ version }}.tar.gz\n sha256: '{{ sha256 }}'\n\nbuild:\n skip: true # [py>27]\n number: 2\n script: {{ PYTHON }} -m pip install . --ignore-installed --no-deps -vv\n\nrequirements:\n build:\n - {{ compiler('c') }}\n - {{ compiler('cxx') }}\n host:\n - pip\n - python\n - numpy\n - scipy\n - h5py\n - cython\n - setuptools_cython\n run:\n - python\n - numpy\n - scipy\n - h5py\n - setuptools_cython\n # these are listed as optional\n - pyx ==0.12.1 # 0.12.1 is the latest pyx version supported on PY2\n - pysam\n - pillow\n - mpi4py # [not osx] ## https://github.com/conda/conda/issues/2277\n #- mlpy # used for hifive.hic.learn_fend_3D_modol, but conda build currently fails\n\ntest:\n # Python imports\n imports:\n - hifive\n - hifive.commands\n - hifive.libraries\n\nabout:\n home: https://github.com/bxlab/hifive\n license: MIT\n license_family: MIT\n license_file: LICENSE.txt\n summary: Python library for normalizing and analyzing HiC and 5C data\n"}
-{"text": "namespace ClassLib099\n{\n public class Class079\n {\n public static string Property => \"ClassLib099\";\n }\n}\n"}
-{"text": "/*\nCopyright 2016 The Kubernetes Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\npackage fake\n\nimport (\n\tauthorizationapi \"k8s.io/client-go/pkg/apis/authorization/v1beta1\"\n\t\"k8s.io/client-go/testing\"\n)\n\nfunc (c *FakeSubjectAccessReviews) Create(sar *authorizationapi.SubjectAccessReview) (result *authorizationapi.SubjectAccessReview, err error) {\n\tobj, err := c.Fake.Invokes(testing.NewRootCreateAction(authorizationapi.SchemeGroupVersion.WithResource(\"subjectaccessreviews\"), sar), &authorizationapi.SubjectAccessReview{})\n\treturn obj.(*authorizationapi.SubjectAccessReview), err\n}\n"}
-{"text": "#ifndef INI_READER_H_INCLUDED\n#define INI_READER_H_INCLUDED\n\n#include \n#include \n#include
\nWhen you have finished configuring the filter, click the\nSubmit button.
\n\n\n"}
-{"text": "# Copyright 2019 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\n# NOTE: This file is auto generated by the elixir code generator program.\n# Do not edit this file manually.\n\ndefmodule GoogleApi.BigQuery.V2.Api.Datasets do\n @moduledoc \"\"\"\n API calls for all endpoints tagged `Datasets`.\n \"\"\"\n\n alias GoogleApi.BigQuery.V2.Connection\n alias GoogleApi.Gax.{Request, Response}\n\n @library_version Mix.Project.config() |> Keyword.get(:version, \"\")\n\n @doc \"\"\"\n Deletes the dataset specified by the datasetId value. Before you can delete a dataset, you must delete all its tables, either manually or by specifying deleteContents. Immediately after deletion, you can create another dataset with the same name.\n\n ## Parameters\n\n * `connection` (*type:* `GoogleApi.BigQuery.V2.Connection.t`) - Connection to server\n * `project_id` (*type:* `String.t`) - Project ID of the dataset being deleted\n * `dataset_id` (*type:* `String.t`) - Dataset ID of dataset being deleted\n * `optional_params` (*type:* `keyword()`) - Optional parameters\n * `:alt` (*type:* `String.t`) - Data format for the response.\n * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.\n * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.\n * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.\n * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.\n * `:quotaUser` (*type:* `String.t`) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.\n * `:userIp` (*type:* `String.t`) - Deprecated. Please use quotaUser instead.\n * `:deleteContents` (*type:* `boolean()`) - If True, delete all the tables in the dataset. If False and the dataset contains tables, the request will fail. Default is False\n * `opts` (*type:* `keyword()`) - Call options\n\n ## Returns\n\n * `{:ok, %{}}` on success\n * `{:error, info}` on failure\n \"\"\"\n @spec bigquery_datasets_delete(Tesla.Env.client(), String.t(), String.t(), keyword(), keyword()) ::\n {:ok, nil} | {:ok, Tesla.Env.t()} | {:error, any()}\n def bigquery_datasets_delete(\n connection,\n project_id,\n dataset_id,\n optional_params \\\\ [],\n opts \\\\ []\n ) do\n optional_params_config = %{\n :alt => :query,\n :fields => :query,\n :key => :query,\n :oauth_token => :query,\n :prettyPrint => :query,\n :quotaUser => :query,\n :userIp => :query,\n :deleteContents => :query\n }\n\n request =\n Request.new()\n |> Request.method(:delete)\n |> Request.url(\"/bigquery/v2/projects/{projectId}/datasets/{datasetId}\", %{\n \"projectId\" => URI.encode(project_id, &URI.char_unreserved?/1),\n \"datasetId\" => URI.encode(dataset_id, &(URI.char_unreserved?(&1) || &1 == ?/))\n })\n |> Request.add_optional_params(optional_params_config, optional_params)\n |> Request.library_version(@library_version)\n\n connection\n |> Connection.execute(request)\n |> Response.decode(opts ++ [decode: false])\n end\n\n @doc \"\"\"\n Returns the dataset specified by datasetID.\n\n ## Parameters\n\n * `connection` (*type:* `GoogleApi.BigQuery.V2.Connection.t`) - Connection to server\n * `project_id` (*type:* `String.t`) - Project ID of the requested dataset\n * `dataset_id` (*type:* `String.t`) - Dataset ID of the requested dataset\n * `optional_params` (*type:* `keyword()`) - Optional parameters\n * `:alt` (*type:* `String.t`) - Data format for the response.\n * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.\n * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.\n * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.\n * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.\n * `:quotaUser` (*type:* `String.t`) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.\n * `:userIp` (*type:* `String.t`) - Deprecated. Please use quotaUser instead.\n * `opts` (*type:* `keyword()`) - Call options\n\n ## Returns\n\n * `{:ok, %GoogleApi.BigQuery.V2.Model.Dataset{}}` on success\n * `{:error, info}` on failure\n \"\"\"\n @spec bigquery_datasets_get(Tesla.Env.client(), String.t(), String.t(), keyword(), keyword()) ::\n {:ok, GoogleApi.BigQuery.V2.Model.Dataset.t()} | {:ok, Tesla.Env.t()} | {:error, any()}\n def bigquery_datasets_get(connection, project_id, dataset_id, optional_params \\\\ [], opts \\\\ []) do\n optional_params_config = %{\n :alt => :query,\n :fields => :query,\n :key => :query,\n :oauth_token => :query,\n :prettyPrint => :query,\n :quotaUser => :query,\n :userIp => :query\n }\n\n request =\n Request.new()\n |> Request.method(:get)\n |> Request.url(\"/bigquery/v2/projects/{projectId}/datasets/{datasetId}\", %{\n \"projectId\" => URI.encode(project_id, &URI.char_unreserved?/1),\n \"datasetId\" => URI.encode(dataset_id, &(URI.char_unreserved?(&1) || &1 == ?/))\n })\n |> Request.add_optional_params(optional_params_config, optional_params)\n |> Request.library_version(@library_version)\n\n connection\n |> Connection.execute(request)\n |> Response.decode(opts ++ [struct: %GoogleApi.BigQuery.V2.Model.Dataset{}])\n end\n\n @doc \"\"\"\n Creates a new empty dataset.\n\n ## Parameters\n\n * `connection` (*type:* `GoogleApi.BigQuery.V2.Connection.t`) - Connection to server\n * `project_id` (*type:* `String.t`) - Project ID of the new dataset\n * `optional_params` (*type:* `keyword()`) - Optional parameters\n * `:alt` (*type:* `String.t`) - Data format for the response.\n * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.\n * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.\n * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.\n * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.\n * `:quotaUser` (*type:* `String.t`) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.\n * `:userIp` (*type:* `String.t`) - Deprecated. Please use quotaUser instead.\n * `:body` (*type:* `GoogleApi.BigQuery.V2.Model.Dataset.t`) - \n * `opts` (*type:* `keyword()`) - Call options\n\n ## Returns\n\n * `{:ok, %GoogleApi.BigQuery.V2.Model.Dataset{}}` on success\n * `{:error, info}` on failure\n \"\"\"\n @spec bigquery_datasets_insert(Tesla.Env.client(), String.t(), keyword(), keyword()) ::\n {:ok, GoogleApi.BigQuery.V2.Model.Dataset.t()} | {:ok, Tesla.Env.t()} | {:error, any()}\n def bigquery_datasets_insert(connection, project_id, optional_params \\\\ [], opts \\\\ []) do\n optional_params_config = %{\n :alt => :query,\n :fields => :query,\n :key => :query,\n :oauth_token => :query,\n :prettyPrint => :query,\n :quotaUser => :query,\n :userIp => :query,\n :body => :body\n }\n\n request =\n Request.new()\n |> Request.method(:post)\n |> Request.url(\"/bigquery/v2/projects/{projectId}/datasets\", %{\n \"projectId\" => URI.encode(project_id, &URI.char_unreserved?/1)\n })\n |> Request.add_optional_params(optional_params_config, optional_params)\n |> Request.library_version(@library_version)\n\n connection\n |> Connection.execute(request)\n |> Response.decode(opts ++ [struct: %GoogleApi.BigQuery.V2.Model.Dataset{}])\n end\n\n @doc \"\"\"\n Lists all datasets in the specified project to which you have been granted the READER dataset role.\n\n ## Parameters\n\n * `connection` (*type:* `GoogleApi.BigQuery.V2.Connection.t`) - Connection to server\n * `project_id` (*type:* `String.t`) - Project ID of the datasets to be listed\n * `optional_params` (*type:* `keyword()`) - Optional parameters\n * `:alt` (*type:* `String.t`) - Data format for the response.\n * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.\n * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.\n * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.\n * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.\n * `:quotaUser` (*type:* `String.t`) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.\n * `:userIp` (*type:* `String.t`) - Deprecated. Please use quotaUser instead.\n * `:all` (*type:* `boolean()`) - Whether to list all datasets, including hidden ones\n * `:filter` (*type:* `String.t`) - An expression for filtering the results of the request by label. The syntax is \"labels.[:]\". Multiple filters can be ANDed together by connecting with a space. Example: \"labels.department:receiving labels.active\". See Filtering datasets using labels for details.\n * `:maxResults` (*type:* `integer()`) - The maximum number of results to return\n * `:pageToken` (*type:* `String.t`) - Page token, returned by a previous call, to request the next page of results\n * `opts` (*type:* `keyword()`) - Call options\n\n ## Returns\n\n * `{:ok, %GoogleApi.BigQuery.V2.Model.DatasetList{}}` on success\n * `{:error, info}` on failure\n \"\"\"\n @spec bigquery_datasets_list(Tesla.Env.client(), String.t(), keyword(), keyword()) ::\n {:ok, GoogleApi.BigQuery.V2.Model.DatasetList.t()}\n | {:ok, Tesla.Env.t()}\n | {:error, any()}\n def bigquery_datasets_list(connection, project_id, optional_params \\\\ [], opts \\\\ []) do\n optional_params_config = %{\n :alt => :query,\n :fields => :query,\n :key => :query,\n :oauth_token => :query,\n :prettyPrint => :query,\n :quotaUser => :query,\n :userIp => :query,\n :all => :query,\n :filter => :query,\n :maxResults => :query,\n :pageToken => :query\n }\n\n request =\n Request.new()\n |> Request.method(:get)\n |> Request.url(\"/bigquery/v2/projects/{projectId}/datasets\", %{\n \"projectId\" => URI.encode(project_id, &URI.char_unreserved?/1)\n })\n |> Request.add_optional_params(optional_params_config, optional_params)\n |> Request.library_version(@library_version)\n\n connection\n |> Connection.execute(request)\n |> Response.decode(opts ++ [struct: %GoogleApi.BigQuery.V2.Model.DatasetList{}])\n end\n\n @doc \"\"\"\n Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports patch semantics.\n\n ## Parameters\n\n * `connection` (*type:* `GoogleApi.BigQuery.V2.Connection.t`) - Connection to server\n * `project_id` (*type:* `String.t`) - Project ID of the dataset being updated\n * `dataset_id` (*type:* `String.t`) - Dataset ID of the dataset being updated\n * `optional_params` (*type:* `keyword()`) - Optional parameters\n * `:alt` (*type:* `String.t`) - Data format for the response.\n * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.\n * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.\n * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.\n * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.\n * `:quotaUser` (*type:* `String.t`) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.\n * `:userIp` (*type:* `String.t`) - Deprecated. Please use quotaUser instead.\n * `:body` (*type:* `GoogleApi.BigQuery.V2.Model.Dataset.t`) - \n * `opts` (*type:* `keyword()`) - Call options\n\n ## Returns\n\n * `{:ok, %GoogleApi.BigQuery.V2.Model.Dataset{}}` on success\n * `{:error, info}` on failure\n \"\"\"\n @spec bigquery_datasets_patch(Tesla.Env.client(), String.t(), String.t(), keyword(), keyword()) ::\n {:ok, GoogleApi.BigQuery.V2.Model.Dataset.t()} | {:ok, Tesla.Env.t()} | {:error, any()}\n def bigquery_datasets_patch(\n connection,\n project_id,\n dataset_id,\n optional_params \\\\ [],\n opts \\\\ []\n ) do\n optional_params_config = %{\n :alt => :query,\n :fields => :query,\n :key => :query,\n :oauth_token => :query,\n :prettyPrint => :query,\n :quotaUser => :query,\n :userIp => :query,\n :body => :body\n }\n\n request =\n Request.new()\n |> Request.method(:patch)\n |> Request.url(\"/bigquery/v2/projects/{projectId}/datasets/{datasetId}\", %{\n \"projectId\" => URI.encode(project_id, &URI.char_unreserved?/1),\n \"datasetId\" => URI.encode(dataset_id, &(URI.char_unreserved?(&1) || &1 == ?/))\n })\n |> Request.add_optional_params(optional_params_config, optional_params)\n |> Request.library_version(@library_version)\n\n connection\n |> Connection.execute(request)\n |> Response.decode(opts ++ [struct: %GoogleApi.BigQuery.V2.Model.Dataset{}])\n end\n\n @doc \"\"\"\n Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource.\n\n ## Parameters\n\n * `connection` (*type:* `GoogleApi.BigQuery.V2.Connection.t`) - Connection to server\n * `project_id` (*type:* `String.t`) - Project ID of the dataset being updated\n * `dataset_id` (*type:* `String.t`) - Dataset ID of the dataset being updated\n * `optional_params` (*type:* `keyword()`) - Optional parameters\n * `:alt` (*type:* `String.t`) - Data format for the response.\n * `:fields` (*type:* `String.t`) - Selector specifying which fields to include in a partial response.\n * `:key` (*type:* `String.t`) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.\n * `:oauth_token` (*type:* `String.t`) - OAuth 2.0 token for the current user.\n * `:prettyPrint` (*type:* `boolean()`) - Returns response with indentations and line breaks.\n * `:quotaUser` (*type:* `String.t`) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.\n * `:userIp` (*type:* `String.t`) - Deprecated. Please use quotaUser instead.\n * `:body` (*type:* `GoogleApi.BigQuery.V2.Model.Dataset.t`) - \n * `opts` (*type:* `keyword()`) - Call options\n\n ## Returns\n\n * `{:ok, %GoogleApi.BigQuery.V2.Model.Dataset{}}` on success\n * `{:error, info}` on failure\n \"\"\"\n @spec bigquery_datasets_update(Tesla.Env.client(), String.t(), String.t(), keyword(), keyword()) ::\n {:ok, GoogleApi.BigQuery.V2.Model.Dataset.t()} | {:ok, Tesla.Env.t()} | {:error, any()}\n def bigquery_datasets_update(\n connection,\n project_id,\n dataset_id,\n optional_params \\\\ [],\n opts \\\\ []\n ) do\n optional_params_config = %{\n :alt => :query,\n :fields => :query,\n :key => :query,\n :oauth_token => :query,\n :prettyPrint => :query,\n :quotaUser => :query,\n :userIp => :query,\n :body => :body\n }\n\n request =\n Request.new()\n |> Request.method(:put)\n |> Request.url(\"/bigquery/v2/projects/{projectId}/datasets/{datasetId}\", %{\n \"projectId\" => URI.encode(project_id, &URI.char_unreserved?/1),\n \"datasetId\" => URI.encode(dataset_id, &(URI.char_unreserved?(&1) || &1 == ?/))\n })\n |> Request.add_optional_params(optional_params_config, optional_params)\n |> Request.library_version(@library_version)\n\n connection\n |> Connection.execute(request)\n |> Response.decode(opts ++ [struct: %GoogleApi.BigQuery.V2.Model.Dataset{}])\n end\nend\n"}
-{"text": "---\nlayout: pattern\ntitle: Feature Toggle\nfolder: feature-toggle\npermalink: /patterns/feature-toggle/\npumlid: NSZ14G8X30NGLhG0oDrk8XjPd12OvCTjNy_UthpxiAPvIBhUJc37WyZvgdtWp6U6U5i6CTIs9WtDYy5ER_vmEIH6jx8P4BUWoV43lOIHBWMhTnKIjB-gwRFkdFe5\ncategories: Behavioral\ntags:\n - Java\n - Difficulty-Beginner\n---\n\n## Also known as\nFeature Flag\n\n## Intent\nUsed to switch code execution paths based on properties or groupings. Allowing new features to be released, tested\nand rolled out. Allowing switching back to the older feature quickly if needed. It should be noted that this pattern,\ncan easily introduce code complexity. There is also cause for concern that the old feature that the toggle is eventually\ngoing to phase out is never removed, causing redundant code smells and increased maintainability.\n\n\n\n## Applicability\nUse the Feature Toogle pattern when\n\n* Giving different features to different users.\n* Rolling out a new feature incrementally.\n* Switching between development and production environments.\n\n## Credits\n\n* [Martin Fowler 29 October 2010 (2010-10-29).](http://martinfowler.com/bliki/FeatureToggle.html)"}
-{"text": "kind: Deployment\napiVersion: apps/v1beta1\nmetadata:\n name: susi-slackbot\n namespace: slackbot\nspec:\n replicas: 1\n template:\n metadata:\n labels:\n app: susi-slackbot\n spec:\n containers:\n - name: susi-slackbot\n image: fossasia/susi_slackbot:latest-development\n ports:\n - containerPort: 8080\n protocol: TCP\n envFrom:\n - configMapRef:\n name: susi-slackbot\n restartPolicy: Always\n"}
-{"text": "\n\n - \n \n
\n - \n \n
\n"}
-{"text": "\n\n\n\n \"%s inajaribu kuunda muunganisho wa VPN.\"\n \"Kwa kuendelea, unapatia programu kibali cha kuingilia trafiki ya mitandao yote.\"\"USIKUBALI isipokuwa uwe unaamini programu.\"\" La sivyo, utakua katika hatari ya data yako kuathiriwa na programu hasidi.\"\n \"Ninaamini programu hii.\"\n \"VPN imeunganishwa\"\n \"Sanidi\"\n \"Tenganisha\"\n \"Kipindi:\"\n \"Muda:\"\n \"Zilizotumwa:\"\n \"Imepokelewa:\"\n \"baiti %1$s / pakiti %2$s\"\n\n"}
-{"text": "{\n \"type\": \"Program\",\n \"body\": [\n {\n \"type\": \"IfStatement\",\n \"test\": {\n \"type\": \"Identifier\",\n \"name\": \"x\",\n \"range\": [\n 4,\n 5\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 4\n },\n \"end\": {\n \"line\": 1,\n \"column\": 5\n }\n }\n },\n \"consequent\": {\n \"type\": \"BlockStatement\",\n \"body\": [\n {\n \"type\": \"ExpressionStatement\",\n \"expression\": {\n \"type\": \"CallExpression\",\n \"callee\": {\n \"type\": \"Identifier\",\n \"name\": \"doThat\",\n \"range\": [\n 9,\n 15\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 9\n },\n \"end\": {\n \"line\": 1,\n \"column\": 15\n }\n }\n },\n \"arguments\": [],\n \"range\": [\n 9,\n 17\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 9\n },\n \"end\": {\n \"line\": 1,\n \"column\": 17\n }\n }\n },\n \"trailingComments\": [\n {\n \"type\": \"Line\",\n \"value\": \" Some comment\",\n \"range\": [\n 18,\n 33\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 18\n },\n \"end\": {\n \"line\": 1,\n \"column\": 33\n }\n }\n }\n ],\n \"range\": [\n 9,\n 17\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 9\n },\n \"end\": {\n \"line\": 1,\n \"column\": 17\n }\n }\n }\n ],\n \"range\": [\n 7,\n 36\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 7\n },\n \"end\": {\n \"line\": 2,\n \"column\": 2\n }\n }\n },\n \"alternate\": null,\n \"range\": [\n 0,\n 36\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 0\n },\n \"end\": {\n \"line\": 2,\n \"column\": 2\n }\n }\n }\n ],\n \"sourceType\": \"script\",\n \"comments\": [\n {\n \"type\": \"Line\",\n \"value\": \" Some comment\",\n \"range\": [\n 18,\n 33\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 18\n },\n \"end\": {\n \"line\": 1,\n \"column\": 33\n }\n }\n }\n ],\n \"tokens\": [\n {\n \"type\": \"Keyword\",\n \"value\": \"if\",\n \"range\": [\n 0,\n 2\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 0\n },\n \"end\": {\n \"line\": 1,\n \"column\": 2\n }\n }\n },\n {\n \"type\": \"Punctuator\",\n \"value\": \"(\",\n \"range\": [\n 3,\n 4\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 3\n },\n \"end\": {\n \"line\": 1,\n \"column\": 4\n }\n }\n },\n {\n \"type\": \"Identifier\",\n \"value\": \"x\",\n \"range\": [\n 4,\n 5\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 4\n },\n \"end\": {\n \"line\": 1,\n \"column\": 5\n }\n }\n },\n {\n \"type\": \"Punctuator\",\n \"value\": \")\",\n \"range\": [\n 5,\n 6\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 5\n },\n \"end\": {\n \"line\": 1,\n \"column\": 6\n }\n }\n },\n {\n \"type\": \"Punctuator\",\n \"value\": \"{\",\n \"range\": [\n 7,\n 8\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 7\n },\n \"end\": {\n \"line\": 1,\n \"column\": 8\n }\n }\n },\n {\n \"type\": \"Identifier\",\n \"value\": \"doThat\",\n \"range\": [\n 9,\n 15\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 9\n },\n \"end\": {\n \"line\": 1,\n \"column\": 15\n }\n }\n },\n {\n \"type\": \"Punctuator\",\n \"value\": \"(\",\n \"range\": [\n 15,\n 16\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 15\n },\n \"end\": {\n \"line\": 1,\n \"column\": 16\n }\n }\n },\n {\n \"type\": \"Punctuator\",\n \"value\": \")\",\n \"range\": [\n 16,\n 17\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 16\n },\n \"end\": {\n \"line\": 1,\n \"column\": 17\n }\n }\n },\n {\n \"type\": \"Punctuator\",\n \"value\": \"}\",\n \"range\": [\n 35,\n 36\n ],\n \"loc\": {\n \"start\": {\n \"line\": 2,\n \"column\": 1\n },\n \"end\": {\n \"line\": 2,\n \"column\": 2\n }\n }\n }\n ],\n \"range\": [\n 0,\n 36\n ],\n \"loc\": {\n \"start\": {\n \"line\": 1,\n \"column\": 0\n },\n \"end\": {\n \"line\": 2,\n \"column\": 2\n }\n }\n}\n"}
-{"text": "package pipe.views;\n\nimport java.awt.Container;\n\n/**\n * Interface for all Petri net view components\n */\npublic interface PetriNetViewComponent {\n /**\n * Delete the petri net view component\n */\n void delete();\n\n /**\n * Each subclass should know how to add itself to a PetriNetTab\n * @param container to add itself to\n */\n void addToContainer(Container container);\n\n\n}\n"}
-{"text": "{\n \"status_code\": 200, \n \"data\": {\n \"ResponseMetadata\": {\n \"HTTPStatusCode\": 200, \n \"HostId\": \"FifYdur0PVNCEXZe/jSHaLp/NpQzXcYKHCGXWO5Lsbi1Fu2zhbfM9/i61//u3PL5AA2zi3XSy1M=\", \n \"RequestId\": \"B51935E006CEB74A\", \n \"HTTPHeaders\": {\n \"x-amz-bucket-region\": \"us-east-1\", \n \"x-amz-id-2\": \"FifYdur0PVNCEXZe/jSHaLp/NpQzXcYKHCGXWO5Lsbi1Fu2zhbfM9/i61//u3PL5AA2zi3XSy1M=\", \n \"server\": \"AmazonS3\", \n \"transfer-encoding\": \"chunked\", \n \"x-amz-request-id\": \"B51935E006CEB74A\", \n \"date\": \"Thu, 25 Aug 2016 03:31:23 GMT\", \n \"content-type\": \"application/xml\"\n }\n }\n }\n}\n"}
-{"text": "/* \u6846\u67b6\u6837\u5f0f\u8986\u76d6 */\n.a-textarea-control textarea {\n font-size: 12px;\n}\nbutton:after, button:before {\n border: 0;\n border-radius: 0;\n}\n\n/* \u516c\u5171\u6837\u5f0f */\npage { \n background: #f5f5f5; \n color: #4a4a4a;\n}\npage, textarea {\n font-size: 28rpx;\n}\n\ninput[type=\"text\"],\ninput[type=\"number\"],\ninput[type=\"idcard\"],\ninput[type=\"digit\"],\ntextarea { \n -webkit-appearance: none; \n border-radius: 5px; \n box-sizing: border-box;\n}\n\n/* \u5bfc\u822a\u5206\u5272 */\n.spacing-nav-title {\n position: relative;\n color: #d2364c;\n text-align: center;\n background-color: #ffffff;\n height: 80rpx;\n line-height: 80rpx;\n}\n.spacing-nav-title .line {\n display: inline-block;\n width: 50%;\n height: 1px;\n background: #d2364c;\n position: absolute;\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%,-50%);\n -ms-transform: translate(-50%,-50%);\n transform: translate(-50%,-50%);\n}\n.spacing-nav-title .text-wrapper {\n position: relative;\n display: inline-block;\n padding: 0 8px;\n background-color: #ffffff;\n font-size: 36rpx;\n font-weight: bold;\n}\n\n/* \u6a21\u5757\u5206\u5272\u95f4\u8ddd */\n.spacing { padding-top: 20rpx; }\n.spacing-10 { padding-top: 10rpx; }\n.spacing-mb { margin-bottom: 20rpx; }\n.spacing-mt { margin-top: 20rpx; }\n\n.drift { position: fixed; left: -1000px; }\n.nav-submit-fixed { background: #eee; height: 46px; position: fixed; bottom: 0; z-index: 10; }\n\n.tips { background: #ffffeb; color: #f7b240; border: 1px solid #faebd2; line-height: 38rpx; padding: 10rpx; font-size: 26rpx; border-radius: 2px; display: block; }\n.tips image { width: 35rpx; height: 35rpx; vertical-align: middle; margin-right: 10rpx; }\n\n.data-loding image { width: 60px; height: 60px; background-size: 80% 80% !important; }\n\n\n/* \u8fb9\u6846 */\n.br { border: solid 1px #efefef; }\n.br-b { border-bottom: solid 1px #efefef; }\n.br-t { border-top: solid 1px #efefef; }\n.br-l { border-left: solid 1px #efefef; }\n.br-r { border-right: solid 1px #efefef; }\n\n/* \u865a\u7ebf\u8fb9\u6846 */\n.br-dashed { border: dashed 1px #efefef; }\n.br-b-dashed { border-bottom: dashed 1px #efefef; }\n.br-t-dashed { border-top: dashed 1px #efefef; }\n.br-l-dashed { border-left: dashed 1px #efefef; }\n.br-r-dashed { border-right: dashed 1px #efefef; }\n\n/* \u7bad\u5934\u7b26\u53f7 */\n.arrow-right { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAA+klEQVRYR+3WsWrDMBAG4P/eotCQLlk73UGfq6O3BgLNEsg7JQQPZ7ADfos8gAeBijYTAsnpREJBXmX0f/7RCRNe/NCL81EBtYH/1YCq/gK4iMiu1PSYGlDVloi+AOyZ+bsEwgQYx/FtmqYDgFUphAmQvniOiDFuRaTxNGEGlEZkAWaIFsCHp4lsQEIMw7AIIRw9CBfgGgFgzcw/ljPhBtxoohGR7aOIIoC+799DCCciWsYYnwvwhKeWXA14w12AEuHZgFLhWYCS4WbAPDxn5m+NpukQquqZiD49V+81wgToum6TfkiYef/oRXPvPRPg3mY56xVQG6gN/AEiuagh/yEjYQAAAABJRU5ErkJggg=='); background-size: 18px 18px; background-repeat: no-repeat; background-position: center right; }\n\n\n/* \u5e38\u7528\u6837\u5f0f */\n.fl { float: left; }\n.fr { float: right; }\n.bg-white { background-color: #fff; }\n.wh-auto { width: 100%; }\n.ht-auto { height: 100%; }\n.tc { text-align: center; }\n.tl { text-align: left; }\n.tr { text-align: right; }\n.oh { overflow: hidden; }\n.dis-none { display: none; }\n.dis-block { display: block; }\n\n.cr-main { color: #d2364c; }\n.cr-666 { color: #666; }\n.cr-888 { color: #888; }\n.cr-ccc { color: #ccc; }\n.cr-fff { color: #fff; }\n\n.my-btn-default{\n font-size: 38rpx;\n color: #fff !important;\n border: none !important;\n background-color:#d2364c !important;\n border-radius: 2px;\n}\n.my-btn-default.btn-disabled{\n background-color: #a6a6a6 !important;\n color: #fff !important;\n}\n.my-btn-gray{\n font-size: 30rpx;\n color: #fff !important;\n border: none !important;\n background-color:#a6a6a6 !important;\n border-radius: 2px;\n}\n\n/* \u6587\u5b57\u8d85\u51fa\u90e8\u5206\u4f7f\u7528\u7701\u7565\u53f7 */\n.single-text {\n -o-text-overflow: ellipsis;\n text-overflow: ellipsis;\t \n overflow: hidden;\n white-space: nowrap;\n max-width: 100%;\n}\n.multi-text {\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n}\n\n\n/* \u6ca1\u6709\u6570\u636e\u72b6\u6001/\u5904\u7406\u9519\u8bef/\u52a0\u8f7d\u4e2d */\n.no-data-box {\n padding: 80rpx 0;\n}\n.no-data-box image {\n width: 160rpx;\n margin-bottom: 30rpx;\n}\n.no-data-box .no-data-tips {\n font-size: 28rpx;\n color: #a6a6a6;\n}\n.no-data-loding { \n padding-top: 15%; \n padding-bottom: 10px;\n}\n\n/* \u5e95\u7ebf */\n.data-bottom-line{\n padding: 40rpx;\n overflow: hidden;\n}\n.data-bottom-line view { \n width: 33.3%; \n}\n.data-bottom-line .left, .data-bottom-line .right{\n margin-top: 8px;\n border-bottom: 1px solid #e1e1e1;\n}\n.data-bottom-line .msg{\n color: #999;\n text-align: center;\n font-size: 24rpx;\n}\n\n/* \u4e1a\u52a1\u516c\u5171 */\n.copyright {\n color: #a5a5a5;\n text-align: center;\n padding: 20rpx 0;\n}\n.copyright .text {\n font-size: 26rpx;\n font-weight: 400;\n}\n\n.sales-price {\n color: #f40;\n font-weight: bold;\n font-size: 32rpx;\n}\n.original-price {\n color: #888;\n font-size: 26rpx;\n text-decoration: line-through;\n margin-left: 10rpx;\n}\n\n.submit-fixed {\n position: fixed;\n left: 0;\n bottom: 0;\n background: #d2364c !important;\n color: #fff !important;\n border: none;\n width: 100%;\n}\n\n.bg-main, .bg-primary, .bg-warning {\n color: #fff !important;\n border: 0;\n font-size: 34rpx;\n}\n.bg-main {\n background-color: #d2364c !important;\n}\n.bg-primary {\n background-color: #ed6977 !important;\n}\n.bg-warning {\n background-color: #F37B1D !important;\n}\n.bg-active-main {\n background-color: #d2364c !important;\n color: #fff !important;\n}\n\n.submit-bottom {\n height: 85rpx;\n line-height: 85rpx;\n font-size: 32rpx;\n border-radius: 0;\n}\nbutton[disabled].bg-main {\n background-color: #fbe0e5 !important;\n color: #f7b6c2 !important;\n}\nbutton[disabled].bg-warning {\n background-color: #ffcda6 !important;\n color: #fdae70 !important;\n}\nbutton[disabled].bg-primary {\n background-color: #ffd2d7 !important;\n color: #ffa0ab !important;\n}\n\n.nav-back {\n position: fixed;\n left: 0;\n bottom: 10%;\n}\n\n/*\n \u6eda\u52a8\u6807\u7b7e\u9ad8\u5ea6\n*/\n.scroll-box {\n height: 100vh;\n}\n\n/*\n \u5206\u4eab\u7ec4\u5efa\u6837\u5f0f\n*/\n.share-popup {\n padding: 20rpx 10rpx 0 10rpx;\n position: relative;\n}\n.share-popup .close {\n position: absolute;\n top: 20rpx;\n right: 20rpx;\n z-index: 2;\n}\n.share-popup-content {\n padding: 0 20rpx;\n margin-top: 40rpx;\n text-align: left;\n}\n.share-popup-content .share-items {\n padding: 30rpx 0;\n height: 85rpx;\n}\n.share-popup-content .share-items:not(:first-child) {\n border-top: 1px solid #f0f0f0;\n}\n.share-popup-content .share-items button {\n background: transparent;\n padding: 0;\n width: 100%;\n text-align: left;\n margin: 0;\n}\n.share-popup-content .share-items image {\n width: 80rpx;\n height: 80rpx;\n vertical-align: middle;\n margin-right: 20rpx;\n}\n.share-popup-content .share-items .single-text {\n width: calc(100% - 100rpx);\n line-height: 85rpx;\n}\n\n/**\n * \u5feb\u6377\u5bfc\u822a\n */\n.common-quick-nav {\n border: 0;\n padding: 15rpx;\n background: rgba(0, 0, 0, 0.6);\n position: fixed;\n right: 10rpx;\n border-radius: 50%;\n width: 90rpx;\n height: 90rpx;\n z-index: 1;\n}\n.common-quick-nav image {\n width: 60rpx;\n height: 60rpx;\n}\n\n/**\n * \u5728\u7ebf\u5ba2\u670d\n */\n.common-online-service {\n bottom: 35%;\n}\n\n/**\n * \u8868\u5355\n */\n.form-container .form-gorup {\n padding: 20rpx 10rpx;\n margin-bottom: 20rpx;\n}\n.form-container .form-gorup-title {\n margin-bottom: 5rpx;\n font-weight: 500;\n}\n.form-container .form-group-tips,\n.form-container .form-group-tips-must {\n margin-left: 20rpx;\n font-size: 24rpx;\n color: #ccc;\n}\n.form-container .form-group-tips-must {\n color: #f00;\n}\n.form-container .form-gorup input,\n.form-container .form-gorup textarea,\n.form-container .form-gorup .picker {\n border-radius: 0;\n width: 100%;\n box-sizing: border-box;\n padding: 0 10rpx;\n font-size: 28rpx;\n}\n.form-container .form-gorup input,\n.form-container .form-gorup .picker {\n height: 70rpx;\n line-height: 70rpx;\n}\n.form-container .form-gorup textarea {\n padding: 0;\n min-height: 70rpx;\n}\n.form-container .form-gorup-text {\n padding: 20rpx 10rpx;\n}\n\n/**\n * \u8868\u5355\u56fe\u7247\u4e0a\u4f20\n */\n.form-container-upload .form-upload-data .item {\n padding: 10rpx;\n position: relative;\n}\n.form-container-upload .form-upload-data .delete-icon {\n position: absolute;\n top: 15rpx;\n right: 15rpx;\n color: #e5e5e5;\n background-color: #d9534f;\n padding: 5rpx 18rpx;\n font-size: 30rpx;\n border-style: solid;\n border-width: 0 0 1px 1px;\n border-color: #eee;\n}\n.form-container-upload .form-upload-data image {\n width: 200rpx;\n height: 200rpx;\n padding: 5rpx;\n border: 1px solid #eee;\n display: block;\n}\n.form-container-upload .upload-icon {\n margin: 10rpx 0 0 10rpx;\n width: 210rpx;\n height: 210rpx;\n border: 1px dashed #e9e9e9;\n}\n\n\n/*\n * \u4f18\u60e0\u52b5 - \u63d2\u4ef6\n */\n.coupon-container {\n padding: 0 10rpx;\n}\n.coupon-container .item {\n overflow: hidden;\n height: 180rpx;\n border: 1px solid #D2364C;\n}\n.coupon-container .v-left {\n width: calc(100% - 140rpx);\n padding: 30rpx 0 30rpx 20rpx;\n box-sizing:border-box; \n -moz-box-sizing:border-box;\n -webkit-box-sizing:border-box;\n}\n.coupon-container .v-left .base {\n color: #D2364C;\n}\n.coupon-container .v-left .base .symbol {\n font-family: Verdana, Tahoma;\n font-weight: 700;\n}\n.coupon-container .v-left .base .price {\n font-weight: 700;\n font-family: arial;\n font-size: 76rpx;\n}\n.coupon-container .v-left .base .desc {\n margin-left: 20rpx;\n}\n.coupon-container .v-left base-tips, .coupon-container .v-left .base-time {\n margin-top: 10rpx;\n}\n.coupon-container .v-right {\n background: #d2364c;\n width: 140rpx;\n height: 180rpx;\n color: #fff;\n font-weight: 500;\n position: relative;\n text-align: center;\n}\n.coupon-container .v-right:before {\n content: '';\n display: inline-block;\n height: 100%;\n vertical-align: middle;\n}\n.coupon-container .v-right .circle {\n display: block;\n position: absolute;\n left: -1px;\n top: -3px;\n width: 3px;\n height: 180rpx;\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAACpCAYAAADur4c3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo3MjUzYzIwOS04ZWNlLTRlNTctODQ4OC01ZDExOTkwOGNkYmMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MTM1QzgxREZGRDI5MTFFNTg3QjhGRUQ1MDY5OURERUQiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTM1QzgxREVGRDI5MTFFNTg3QjhGRUQ1MDY5OURERUQiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NTJiNzVkOGUtZDc2Yi00MzEzLWFmNmYtYTJkNTRlYTI4YTY1IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjcyNTNjMjA5LThlY2UtNGU1Ny04NDg4LTVkMTE5OTA4Y2RiYyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pvy+vnQAAAEqSURBVHjaYvz//z8DDDAxIAFyOVeBOAHEYfyPMDsLmXMfmfMT2YADDP8h4CEQq4A4aUDMA1LNSKZDXwJxGcg1yJaWIXOeInO+IxuwA+acK0AsA+IEADEbic7hhPOAer4DcQcQMyNb2oLMeYVsADcyZwPMObuBWBTEsQFpI9E54sjO+QvEc0F+YoHKJgHxJ2TnvEM2gBmZswrmnA1AzAXiaJPhHC1k58BNQ3bBTGTOR2QD/iJzFsH8Mw/kHxBHggzn2KA7BxzWyC5Yisz5imwACmc2LLY7QbEN4nCS4ZwAIGZFds5lUEpEdsF6nKn3PTJnAsiAV0BcBsSM5GamFCDmQXYOOJ8iu2Anzrz9HKU8ABlwDYgTKcnbo0XNaFEzWtQgipqOYVLUAAQYAKPWa4c8cIHnAAAAAElFTkSuQmCC) no-repeat;\n}\n.coupon-container .item-disabled .v-right {\n background: #dfdfdf !important;\n color: #c0c0c0 !important;\n cursor: no-drop !important;\n}\n.coupon-container .item-disabled {\n border: 1px solid #dfdfdf !important;\n}"}
-{"text": "---\ntitle: \"System.ServiceModel.PortSharing.RoutingTableRegisterSuccess\"\nms.date: \"03/30/2017\"\nms.assetid: 7f9441ce-5f4a-4080-9be5-c3c08a87bb21\n---\n# System.ServiceModel.PortSharing.RoutingTableRegisterSuccess\nSystem.ServiceModel.PortSharing.RoutingTableRegisterSuccess \n \n## Description \n The namespace was successfully registered. \n \n## See also\n\n- [Tracing](index.md)\n- [Using Tracing to Troubleshoot Your Application](using-tracing-to-troubleshoot-your-application.md)\n- [Administration and Diagnostics](../index.md)\n"}
-{"text": "ScriptPage.page.title=Scripts\nScriptPage.page.description=Manage scripts\n\nScriptPage.title=Scripts\nScriptPage.description=Manage Scripts\nScriptPage.addNew = Add new script\nScriptPage.removeSelected = Remove selected scripts(s)\nScriptPage.th.name = Script Name\nScriptPage.th.remove = Remove\n\nScriptSelectionRemovalLink.confirmRemoval = Confirm script removal\n\nScriptEditPage.description = Edit existing script\nScriptEditPage.title = Edit Script\nScriptEditPage.submit = Save\nScriptEditPage.cancel = Cancel\n\nScriptNewPage.description = Configure a new script\nScriptNewPage.title = New Script\nScriptNewPage.submit = Save\nScriptNewPage.cancel = Cancel"}
-{"text": "// Jest Snapshot v1, https://goo.gl/fbAQLP\n\nexports[`dupe1.js format 1`] = `\n====================================options=====================================\nparsers: [\"flow\"]\nprintWidth: 80\n | printWidth\n=====================================input======================================\n/**\n * Dupe provider 1/2\n * @providesModule Dupe\n * @flow\n */\nmodule.exports = \"dupe1\";\n\n=====================================output=====================================\n/**\n * Dupe provider 1/2\n * @providesModule Dupe\n * @flow\n */\nmodule.exports = \"dupe1\";\n\n================================================================================\n`;\n\nexports[`dupe2.js format 1`] = `\n====================================options=====================================\nparsers: [\"flow\"]\nprintWidth: 80\n | printWidth\n=====================================input======================================\n/**\n * Dupe provider 2/2\n * @providesModule Dupe\n * @flow\n */\nmodule.exports = \"dupe2\";\n\n=====================================output=====================================\n/**\n * Dupe provider 2/2\n * @providesModule Dupe\n * @flow\n */\nmodule.exports = \"dupe2\";\n\n================================================================================\n`;\n\nexports[`requires_dupe.js format 1`] = `\n====================================options=====================================\nparsers: [\"flow\"]\nprintWidth: 80\n | printWidth\n=====================================input======================================\n/**\n * depends on doubly-provided module\n * @flow\n */\nvar dupe = require('Dupe');\n\n=====================================output=====================================\n/**\n * depends on doubly-provided module\n * @flow\n */\nvar dupe = require(\"Dupe\");\n\n================================================================================\n`;\n"}
-{"text": "var net = require('net'),\n websocket = require('..'),\n deflate = require('permessage-deflate');\n\nvar server = net.createServer(function(connection) {\n var driver = websocket.server();\n driver.addExtension(deflate);\n\n driver.on('connect', function() {\n if (websocket.isWebSocket(driver)) driver.start();\n });\n\n driver.on('close', function() { connection.end() });\n connection.on('error', function() {});\n\n connection.pipe(driver.io);\n driver.io.pipe(connection);\n\n driver.messages.pipe(driver.messages);\n});\n\nserver.listen(process.argv[2]);\n"}
-{"text": "config BR2_PACKAGE_GSTREAMER\n\tbool \"gstreamer 0.10\"\n\tdepends on BR2_USE_WCHAR # glib2\n\tdepends on BR2_TOOLCHAIN_HAS_THREADS # glib2\n\tdepends on BR2_USE_MMU # glib2\n\tselect BR2_PACKAGE_LIBGLIB2\n\thelp\n\t GStreamer is an open source multimedia framework.\n\n\t This 0.10.x version of GStreamer is incompatible with\n\t GStreamer 1.X.\n\n\t http://gstreamer.freedesktop.org/\n\nif BR2_PACKAGE_GSTREAMER\n\nconfig BR2_PACKAGE_GSTREAMER_GST_DEBUG\n\tbool \"enable gst-debug trace support\"\n\tdefault y\n\thelp\n\t Enable support for the gst-debug tracing functionality in gstreamer.\n\t This has limited CPU overhead, but does increase the rootfs size\n\t somewhat.\n\nconfig BR2_PACKAGE_GSTREAMER_PLUGIN_REGISTRY\n\tbool \"enable plugin registry\"\n\tdefault y\n\thelp\n\t Enable support for the GStreamer plugin registry. This may increase\n\t the launch-time for a GStreamer application.\n\nendif\n\ncomment \"gstreamer 0.10 needs a toolchain w/ wchar, threads\"\n\tdepends on BR2_USE_MMU\n\tdepends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS\n"}
-{"text": "// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \\\n// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST\n// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \\\n// RUN: | FileCheck %s --check-prefix=CHECK-ERROR\n// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \\\n// RUN: | llvm-objdump -d -mattr=+sve - | FileCheck %s --check-prefix=CHECK-INST\n// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \\\n// RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN\n\n\ncmpeq p0.b, p0/z, z0.b, z0.b\n// CHECK-INST: cmpeq p0.b, p0/z, z0.b, z0.b\n// CHECK-ENCODING: [0x00,0xa0,0x00,0x24]\n// CHECK-ERROR: instruction requires: sve\n// CHECK-UNKNOWN: 00 a0 00 24 \n\ncmpeq p0.h, p0/z, z0.h, z0.h\n// CHECK-INST: cmpeq p0.h, p0/z, z0.h, z0.h\n// CHECK-ENCODING: [0x00,0xa0,0x40,0x24]\n// CHECK-ERROR: instruction requires: sve\n// CHECK-UNKNOWN: 00 a0 40 24 \n\ncmpeq p0.s, p0/z, z0.s, z0.s\n// CHECK-INST: cmpeq p0.s, p0/z, z0.s, z0.s\n// CHECK-ENCODING: [0x00,0xa0,0x80,0x24]\n// CHECK-ERROR: instruction requires: sve\n// CHECK-UNKNOWN: 00 a0 80 24 \n\ncmpeq p0.d, p0/z, z0.d, z0.d\n// CHECK-INST: cmpeq p0.d, p0/z, z0.d, z0.d\n// CHECK-ENCODING: [0x00,0xa0,0xc0,0x24]\n// CHECK-ERROR: instruction requires: sve\n// CHECK-UNKNOWN: 00 a0 c0 24 \n\ncmpeq p0.b, p0/z, z0.b, z0.d\n// CHECK-INST: cmpeq p0.b, p0/z, z0.b, z0.d\n// CHECK-ENCODING: [0x00,0x20,0x00,0x24]\n// CHECK-ERROR: instruction requires: sve\n// CHECK-UNKNOWN: 00 20 00 24 \n\ncmpeq p0.h, p0/z, z0.h, z0.d\n// CHECK-INST: cmpeq p0.h, p0/z, z0.h, z0.d\n// CHECK-ENCODING: [0x00,0x20,0x40,0x24]\n// CHECK-ERROR: instruction requires: sve\n// CHECK-UNKNOWN: 00 20 40 24 \n\ncmpeq p0.s, p0/z, z0.s, z0.d\n// CHECK-INST: cmpeq p0.s, p0/z, z0.s, z0.d\n// CHECK-ENCODING: [0x00,0x20,0x80,0x24]\n// CHECK-ERROR: instruction requires: sve\n// CHECK-UNKNOWN: 00 20 80 24 \n\ncmpeq p0.b, p0/z, z0.b, #-16\n// CHECK-INST: cmpeq p0.b, p0/z, z0.b, #-16\n// CHECK-ENCODING: [0x00,0x80,0x10,0x25]\n// CHECK-ERROR: instruction requires: sve\n// CHECK-UNKNOWN: 00 80 10 25 \n\ncmpeq p0.h, p0/z, z0.h, #-16\n// CHECK-INST: cmpeq p0.h, p0/z, z0.h, #-16\n// CHECK-ENCODING: [0x00,0x80,0x50,0x25]\n// CHECK-ERROR: instruction requires: sve\n// CHECK-UNKNOWN: 00 80 50 25 \n\ncmpeq p0.s, p0/z, z0.s, #-16\n// CHECK-INST: cmpeq p0.s, p0/z, z0.s, #-16\n// CHECK-ENCODING: [0x00,0x80,0x90,0x25]\n// CHECK-ERROR: instruction requires: sve\n// CHECK-UNKNOWN: 00 80 90 25 \n\ncmpeq p0.d, p0/z, z0.d, #-16\n// CHECK-INST: cmpeq p0.d, p0/z, z0.d, #-16\n// CHECK-ENCODING: [0x00,0x80,0xd0,0x25]\n// CHECK-ERROR: instruction requires: sve\n// CHECK-UNKNOWN: 00 80 d0 25 \n\ncmpeq p0.b, p0/z, z0.b, #15\n// CHECK-INST: cmpeq p0.b, p0/z, z0.b, #15\n// CHECK-ENCODING: [0x00,0x80,0x0f,0x25]\n// CHECK-ERROR: instruction requires: sve\n// CHECK-UNKNOWN: 00 80 0f 25 \n\ncmpeq p0.h, p0/z, z0.h, #15\n// CHECK-INST: cmpeq p0.h, p0/z, z0.h, #15\n// CHECK-ENCODING: [0x00,0x80,0x4f,0x25]\n// CHECK-ERROR: instruction requires: sve\n// CHECK-UNKNOWN: 00 80 4f 25 \n\ncmpeq p0.s, p0/z, z0.s, #15\n// CHECK-INST: cmpeq p0.s, p0/z, z0.s, #15\n// CHECK-ENCODING: [0x00,0x80,0x8f,0x25]\n// CHECK-ERROR: instruction requires: sve\n// CHECK-UNKNOWN: 00 80 8f 25 \n\ncmpeq p0.d, p0/z, z0.d, #15\n// CHECK-INST: cmpeq p0.d, p0/z, z0.d, #15\n// CHECK-ENCODING: [0x00,0x80,0xcf,0x25]\n// CHECK-ERROR: instruction requires: sve\n// CHECK-UNKNOWN: 00 80 cf 25 \n"}
-{"text": "# Copyright 2020 Authors of Cilium\n# SPDX-License-Identifier: Apache-2.0\n\n# since this is image is built with root context, most of the files\n# need to be excluded for faster builds and to avoid spoiling build\n# cache due to unchecked files (like configs or random binaries)\n*\n\n# must-have toplevel files\n!/Makefile*\n!/go.sum\n!/go.mod\n!/VERSION\n# TODO: this is currently a make dependency, but should be removed\n# in the future\n!/Dockerfile\n\n# directories\n!/.git\n!/api\n!/bpf\n!/bugtool\n!/cilium\n!/cilium-health\n!/contrib/packaging/docker\n!/daemon\n!/envoy\n!/pkg\n!/plugins/cilium-cni\n!/proxylib\n!/vendor\n"}
-{"text": "\n\n\n \n\n \n"}
-{"text": "/*\n * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.\n *\n * This program and the accompanying materials are made available under the\n * terms of the Eclipse Public License v. 2.0, which is available at\n * http://www.eclipse.org/legal/epl-2.0.\n *\n * This Source Code may also be made available under the following Secondary\n * Licenses when the conditions for such availability set forth in the\n * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,\n * version 2 with the GNU Classpath Exception, which is available at\n * https://www.gnu.org/software/classpath/license.html.\n *\n * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0\n */\n\npackage org.glassfish.loadbalancer.admin.cli.transform;\n\nimport org.glassfish.loadbalancer.admin.cli.reader.api.BaseReader;\nimport org.glassfish.loadbalancer.admin.cli.reader.api.IdempotentUrlPatternReader;\n\nimport org.glassfish.loadbalancer.admin.cli.beans.WebModule;\n\n/**\n * Provides transform capabilites for IdempotentUrlPattern\n *\n * @author Satish Viswanatham\n */\npublic class IdempotentUrlPatternVisitor implements Visitor {\n\n // ------ CTOR ------\n public IdempotentUrlPatternVisitor(WebModule m, int i) {\n _m = m;\n _i = i;\n }\n\n /**\n * Visit reader class \n */\n @Override\n public void visit(BaseReader br) throws Exception {\n // FIXME, make as assert here about no class cast exception\n\t\tif (br instanceof IdempotentUrlPatternReader) {\n\t\t\tIdempotentUrlPatternReader iRdr = (IdempotentUrlPatternReader) br;\n\t\t\t_m.addIdempotentUrlPattern(true);\n\t\t\t_m.setAttributeValue(WebModule.IDEMPOTENT_URL_PATTERN, _i,\n\t\t\t\t\tURL_PATTERN, iRdr.getUrlPattern());\n\t\t\t_m.setAttributeValue(WebModule.IDEMPOTENT_URL_PATTERN, _i, RETRIES,\n\t\t\t\t\tiRdr.getNoOfRetries());\n\t\t}\n }\n //--- PRIVATE VARS ----\n WebModule _m = null;\n int _i = 0;\n private static final String URL_PATTERN = \"UrlPattern\";\t//NOI18N\n private static final String RETRIES = \"NoOfRetries\"; //NOI18N\n}\n"}
-{"text": "using System;\nusing System.Drawing;\n\nnamespace Boleto2Net\n{\n public class BarCode2of5i : BarCodeBase\n {\n #region variables\n private readonly string[] _cPattern = new string[100];\n private const string START = \"0000\";\n private const string STOP = \"1000\";\n private Bitmap _bitmap;\n private Graphics _g;\n #endregion\n\n #region Constructor\n public BarCode2of5i()\n {\n }\n /// \n /// Code 2 of 5 intrelaced Constructor\n /// \n /// The string that contents the numeric code\n /// The Width of each bar\n /// The Height of each bar\n public BarCode2of5i(string code, int barWidth, int height)\n {\n Code = code;\n Height = height;\n Width = barWidth;\n }\n /// \n /// Code 2 of 5 intrelaced Constructor\n /// \n /// The string that contents the numeric code\n /// The Width of each bar\n /// The Height of each bar\n /// Number of digits of code\n public BarCode2of5i(string code, int barWidth, int height, int digits)\n {\n Code = code;\n Height = height;\n Width = barWidth;\n Digits = digits;\n }\n #endregion\n\n private void FillPatern()\n {\n int f;\n string strTemp;\n\n if (_cPattern[0] == null)\n {\n _cPattern[0] = \"00110\";\n _cPattern[1] = \"10001\";\n _cPattern[2] = \"01001\";\n _cPattern[3] = \"11000\";\n _cPattern[4] = \"00101\";\n _cPattern[5] = \"10100\";\n _cPattern[6] = \"01100\";\n _cPattern[7] = \"00011\";\n _cPattern[8] = \"10010\";\n _cPattern[9] = \"01010\";\n //Create a draw pattern for each char from 0 to 99\n for (int f1 = 9; f1 >= 0; f1--)\n {\n for (int f2 = 9; f2 >= 0; f2--)\n {\n f = f1 * 10 + f2;\n var builder = new System.Text.StringBuilder();\n for (int i = 0; i < 5; i++)\n {\n builder.Append(_cPattern[f1][i] + _cPattern[f2][i].ToString());\n }\n strTemp = builder.ToString();\n _cPattern[f] = strTemp;\n }\n }\n }\n }\n /// \n /// Generate the Bitmap of Barcode.\n /// \n /// Return System.Drawing.Bitmap\n public Bitmap ToBitmap()\n {\n XPos = 0;\n YPos = 0;\n\n if (Digits == 0)\n {\n Digits = Code.Length;\n }\n\n if (Digits % 2 > 0) Digits++;\n\n while (Code.Length < Digits || Code.Length % 2 > 0)\n {\n Code = \"0\" + Code;\n }\n\n int width = (2 * Full + 3 * Thin) * (Digits) + 7 * Thin + Full;\n\n _bitmap = new Bitmap(width, Height);\n _g = Graphics.FromImage(_bitmap);\n\n //Start Pattern\n DrawPattern(ref _g, START);\n\n //Draw code\n FillPatern();\n while (Code.Length > 0)\n {\n var i = Convert.ToInt32(Code.Substring(0, 2));\n if (Code.Length > 2)\n Code = Code.Substring(2, Code.Length - 2);\n else\n Code = \"\";\n DrawPattern(ref _g, _cPattern[i]);\n }\n\n //Stop Patern\n DrawPattern(ref _g, STOP);\n\n return _bitmap;\n }\n /// \n /// Returns the byte array of Barcode\n /// \n /// byte[]\n public byte[] ToByte()\n {\n return base.ToByte(ToBitmap());\n }\n }\n}\n"}
-{"text": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.apache.hive.service.cli.session;\n\nimport java.util.Collections;\nimport java.io.BufferedReader;\nimport java.io.File;\nimport java.io.FileInputStream;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.concurrent.ConcurrentHashMap;\nimport java.util.concurrent.Future;\nimport java.util.concurrent.FutureTask;\nimport java.util.concurrent.Semaphore;\n\nimport org.apache.commons.io.FileUtils;\nimport org.apache.commons.lang3.StringUtils;\nimport org.apache.hadoop.hive.common.cli.HiveFileProcessor;\nimport org.apache.hadoop.hive.common.cli.IHiveFileProcessor;\nimport org.apache.hadoop.hive.conf.HiveConf;\nimport org.apache.hadoop.hive.conf.HiveConf.ConfVars;\nimport org.apache.hadoop.hive.metastore.IMetaStoreClient;\nimport org.apache.hadoop.hive.metastore.api.MetaException;\nimport org.apache.hadoop.hive.ql.exec.Utilities;\nimport org.apache.hadoop.hive.ql.history.HiveHistory;\nimport org.apache.hadoop.hive.ql.metadata.Hive;\nimport org.apache.hadoop.hive.ql.metadata.HiveException;\nimport org.apache.hadoop.hive.ql.parse.ParseUtils;\nimport org.apache.hadoop.hive.ql.processors.SetProcessor;\nimport org.apache.hadoop.hive.ql.session.SessionState;\nimport org.apache.hadoop.hive.serde2.SerDeUtils;\nimport org.apache.hadoop.hive.serde2.thrift.ThriftFormatter;\nimport org.apache.hadoop.hive.shims.ShimLoader;\nimport org.apache.hive.common.util.HiveVersionInfo;\nimport org.apache.hive.service.auth.HiveAuthFactory;\nimport org.apache.hive.service.cli.FetchOrientation;\nimport org.apache.hive.service.cli.FetchType;\nimport org.apache.hive.service.cli.GetInfoType;\nimport org.apache.hive.service.cli.GetInfoValue;\nimport org.apache.hive.service.cli.HiveSQLException;\nimport org.apache.hive.service.cli.OperationHandle;\nimport org.apache.hive.service.cli.RowSet;\nimport org.apache.hive.service.cli.SessionHandle;\nimport org.apache.hive.service.cli.TableSchema;\nimport org.apache.hive.service.cli.operation.ExecuteStatementOperation;\nimport org.apache.hive.service.cli.operation.GetCatalogsOperation;\nimport org.apache.hive.service.cli.operation.GetColumnsOperation;\nimport org.apache.hive.service.cli.operation.GetCrossReferenceOperation;\nimport org.apache.hive.service.cli.operation.GetFunctionsOperation;\nimport org.apache.hive.service.cli.operation.GetPrimaryKeysOperation;\nimport org.apache.hive.service.cli.operation.GetSchemasOperation;\nimport org.apache.hive.service.cli.operation.GetTableTypesOperation;\nimport org.apache.hive.service.cli.operation.GetTypeInfoOperation;\nimport org.apache.hive.service.cli.operation.MetadataOperation;\nimport org.apache.hive.service.cli.operation.Operation;\nimport org.apache.hive.service.cli.operation.OperationManager;\nimport org.apache.hive.service.rpc.thrift.TProtocolVersion;\nimport org.apache.hive.service.server.KillQueryImpl;\nimport org.apache.hive.service.server.KillQueryZookeeperManager;\nimport org.apache.hive.service.server.ThreadWithGarbageCleanup;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport com.google.common.collect.Lists;\n\nimport static org.apache.hadoop.hive.metastore.Warehouse.DEFAULT_DATABASE_NAME;\n\n/**\n * HiveSession\n *\n */\npublic class HiveSessionImpl implements HiveSession {\n\n // Shared between threads (including SessionState!)\n private final SessionHandle sessionHandle;\n private String username;\n private final String password;\n private final HiveConf sessionConf;\n private final long creationTime;\n // TODO: some SessionState internals are not thread safe. The compile-time internals are synced\n // via session-scope or global compile lock. The run-time internals work by magic!\n // They probably work because races are relatively unlikely and few tools run parallel\n // queries from the same session.\n // 1) OperationState should be refactored out of SessionState, and made thread-local.\n // 2) Some parts of session state, like mrStats and vars, need proper synchronization.\n private SessionState sessionState;\n private String ipAddress;\n private List forwardedAddresses;\n\n private static final String FETCH_WORK_SERDE_CLASS =\n \"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe\";\n private static final Logger LOG = LoggerFactory.getLogger(HiveSessionImpl.class);\n\n private SessionManager sessionManager;\n private OperationManager operationManager;\n // Synchronized by locking on itself.\n private final Set opHandleSet = ConcurrentHashMap.newKeySet();\n private boolean isOperationLogEnabled;\n private File sessionLogDir;\n // TODO: the control flow for this needs to be defined. Hive is supposed to be thread-local.\n private Hive sessionHive;\n\n private volatile long lastAccessTime = System.currentTimeMillis();\n private volatile boolean lockedByUser;\n private final Semaphore operationLock;\n\n\n public HiveSessionImpl(SessionHandle sessionHandle, TProtocolVersion protocol,\n String username, String password, HiveConf serverConf, String ipAddress,\n final List forwardedAddresses) {\n this.username = username;\n this.password = password;\n creationTime = System.currentTimeMillis();\n this.sessionHandle = sessionHandle != null ? sessionHandle : new SessionHandle(protocol);\n this.sessionConf = new HiveConf(serverConf);\n this.ipAddress = ipAddress;\n this.forwardedAddresses = forwardedAddresses;\n this.operationLock = serverConf.getBoolVar(\n ConfVars.HIVE_SERVER2_PARALLEL_OPS_IN_SESSION) ? null : new Semaphore(1);\n // Set an explicit session name to control the download directory name\n sessionConf.set(ConfVars.HIVESESSIONID.varname,\n this.sessionHandle.getHandleIdentifier().toString());\n // Use thrift transportable formatter\n sessionConf.set(SerDeUtils.LIST_SINK_OUTPUT_FORMATTER, ThriftFormatter.class.getName());\n sessionConf.setInt(SerDeUtils.LIST_SINK_OUTPUT_PROTOCOL, protocol.getValue());\n }\n\n @Override\n /**\n * Opens a new HiveServer2 session for the client connection.\n * Creates a new SessionState object that will be associated with this HiveServer2 session.\n * When the server executes multiple queries in the same session,\n * this SessionState object is reused across multiple queries.\n * Note that if doAs is true, this call goes through a proxy object,\n * which wraps the method logic in a UserGroupInformation#doAs.\n * That's why it is important to create SessionState here rather than in the constructor.\n */\n public void open(Map sessionConfMap) throws HiveSQLException {\n sessionState = new SessionState(sessionConf, username);\n sessionState.setUserIpAddress(ipAddress);\n sessionState.setIsHiveServerQuery(true);\n sessionState.setForwardedAddresses(SessionManager.getForwardedAddresses());\n sessionState.setIsUsingThriftJDBCBinarySerDe(updateIsUsingThriftJDBCBinarySerDe());\n try {\n if (sessionManager != null) {\n sessionState.setHiveServer2Host(sessionManager.getHiveServer2HostName());\n }\n } catch (Exception e) {\n throw new HiveSQLException(e);\n }\n KillQueryZookeeperManager killQueryZookeeperManager = null;\n if (sessionManager != null) {\n killQueryZookeeperManager = sessionManager.getKillQueryZookeeperManager();\n }\n sessionState.setKillQuery(new KillQueryImpl(operationManager, killQueryZookeeperManager));\n SessionState.start(sessionState);\n try {\n sessionState.loadAuxJars();\n sessionState.loadReloadableAuxJars();\n } catch (IOException e) {\n String msg = \"Failed to load reloadable jar file path: \" + e;\n LOG.error(msg, e);\n throw new HiveSQLException(msg, e);\n }\n\n // Set sessionHive object created based on sessionConf.\n setSessionHive();\n\n // Process global init file: .hiverc\n processGlobalInitFile();\n\n if (sessionConfMap != null) {\n configureSession(sessionConfMap);\n }\n lastAccessTime = System.currentTimeMillis();\n }\n\n/**\n * It is used for processing hiverc file from HiveServer2 side.\n */\n private class GlobalHivercFileProcessor extends HiveFileProcessor {\n @Override\n protected BufferedReader loadFile(String fileName) throws IOException {\n FileInputStream initStream = null;\n BufferedReader bufferedReader = null;\n initStream = new FileInputStream(fileName);\n bufferedReader = new BufferedReader(new InputStreamReader(initStream));\n return bufferedReader;\n }\n\n @Override\n protected int processCmd(String cmd) {\n int rc = 0;\n String cmd_trimed = cmd.trim();\n OperationHandle opHandle = null;\n try {\n //execute in sync mode\n opHandle = executeStatementInternal(cmd_trimed, null, false, 0);\n } catch (HiveSQLException e) {\n LOG.warn(\"Failed to execute command in global .hiverc file.\", e);\n return -1;\n }\n if (opHandle != null) {\n try {\n closeOperation(opHandle);\n } catch (HiveSQLException e) {\n LOG.warn(\"Failed to close operation for command in .hiverc file.\", e);\n }\n }\n return rc;\n }\n }\n\n /**\n * Sets sessionHive object created based on sessionConf.\n * @throws HiveSQLException\n */\n private void setSessionHive() throws HiveSQLException {\n Hive newSessionHive;\n try {\n newSessionHive = Hive.get(getHiveConf());\n\n // HMS connections from sessionHive shouldn't be closed by any query execution thread when it\n // recreates the Hive object. It is allowed to be closed only when session is closed/released.\n newSessionHive.setAllowClose(false);\n } catch (HiveException e) {\n throw new HiveSQLException(\"Failed to get metastore connection\", e);\n }\n\n // The previous sessionHive object might still be referred by any async query execution thread.\n // So, it shouldn't be closed here explicitly. Anyways, Hive object will auto-close HMS connection\n // when it is garbage collected. So, it is safe to just overwrite sessionHive here.\n sessionHive = newSessionHive;\n }\n\n private void processGlobalInitFile() {\n IHiveFileProcessor processor = new GlobalHivercFileProcessor();\n\n try {\n String hiverc = sessionConf.getVar(ConfVars.HIVE_SERVER2_GLOBAL_INIT_FILE_LOCATION);\n if (hiverc != null) {\n File hivercFile = new File(hiverc);\n if (hivercFile.isDirectory()) {\n hivercFile = new File(hivercFile, SessionManager.HIVERCFILE);\n }\n if (hivercFile.isFile()) {\n LOG.info(\"Running global init file: \" + hivercFile);\n int rc = processor.processFile(hivercFile.getAbsolutePath());\n if (rc != 0) {\n LOG.error(\"Failed on initializing global .hiverc file\");\n }\n } else {\n LOG.debug(\"Global init file \" + hivercFile + \" does not exist\");\n }\n }\n } catch (IOException e) {\n LOG.warn(\"Failed on initializing global .hiverc file\", e);\n }\n }\n\n private void configureSession(Map sessionConfMap) throws HiveSQLException {\n SessionState.setCurrentSessionState(sessionState);\n for (Map.Entry entry : sessionConfMap.entrySet()) {\n String key = entry.getKey();\n if (key.startsWith(\"set:\")) {\n try {\n SetProcessor.setVariable(key.substring(4), entry.getValue());\n } catch (Exception e) {\n throw new HiveSQLException(e);\n }\n } else if (key.startsWith(\"use:\")) {\n try {\n if (!(StringUtils.equals(DEFAULT_DATABASE_NAME, entry.getValue()))\n && sessionHive.getDatabase(entry.getValue()) == null) {\n throw new HiveSQLException(\"Database \" + entry.getValue() + \" does not exist\");\n }\n } catch (HiveException e) {\n throw new HiveSQLException(e);\n }\n SessionState.get().setCurrentDatabase(entry.getValue());\n } else {\n sessionConf.verifyAndSet(key, entry.getValue());\n }\n }\n }\n\n private boolean updateIsUsingThriftJDBCBinarySerDe() {\n return 8 <= getProtocolVersion().getValue() &&\n sessionConf.getBoolVar(ConfVars.HIVE_SERVER2_THRIFT_RESULTSET_SERIALIZE_IN_TASKS);\n }\n\n @Override\n public void setOperationLogSessionDir(File operationLogRootDir) {\n if (!operationLogRootDir.exists()) {\n LOG.warn(\"The operation log root directory is removed, recreating:\" +\n operationLogRootDir.getAbsolutePath());\n if (!operationLogRootDir.mkdirs()) {\n LOG.warn(\"Unable to create operation log root directory: \" +\n operationLogRootDir.getAbsolutePath());\n }\n }\n if (!operationLogRootDir.canWrite()) {\n LOG.warn(\"The operation log root directory is not writable: \" +\n operationLogRootDir.getAbsolutePath());\n }\n sessionLogDir = new File(operationLogRootDir, sessionHandle.getHandleIdentifier().toString());\n isOperationLogEnabled = true;\n if (!sessionLogDir.exists()) {\n if (!sessionLogDir.mkdir()) {\n LOG.warn(\"Unable to create operation log session directory: \" +\n sessionLogDir.getAbsolutePath());\n isOperationLogEnabled = false;\n }\n }\n if (isOperationLogEnabled) {\n LOG.info(\"Operation log session directory is created: \" + sessionLogDir.getAbsolutePath());\n }\n }\n\n @Override\n public boolean isOperationLogEnabled() {\n return isOperationLogEnabled;\n }\n\n @Override\n public File getOperationLogSessionDir() {\n return sessionLogDir;\n }\n\n @Override\n public TProtocolVersion getProtocolVersion() {\n return sessionHandle.getProtocolVersion();\n }\n\n @Override\n public SessionManager getSessionManager() {\n return sessionManager;\n }\n\n @Override\n public void setSessionManager(SessionManager sessionManager) {\n this.sessionManager = sessionManager;\n }\n\n private OperationManager getOperationManager() {\n return operationManager;\n }\n\n @Override\n public void setOperationManager(OperationManager operationManager) {\n this.operationManager = operationManager;\n }\n\n protected void acquire(boolean userAccess, boolean isOperation) {\n if (isOperation && operationLock != null) {\n try {\n operationLock.acquire();\n } catch (InterruptedException e) {\n Thread.currentThread().interrupt();\n throw new RuntimeException(e);\n }\n }\n boolean success = false;\n try {\n acquireAfterOpLock(userAccess);\n success = true;\n } finally {\n if (!success && isOperation && operationLock != null) {\n operationLock.release();\n }\n }\n }\n\n private synchronized void acquireAfterOpLock(boolean userAccess) {\n // Need to make sure that the this HiveServer2's session's SessionState is\n // stored in the thread local for the handler thread.\n SessionState.setCurrentSessionState(sessionState);\n sessionState.setForwardedAddresses(SessionManager.getForwardedAddresses());\n sessionState.setIsUsingThriftJDBCBinarySerDe(updateIsUsingThriftJDBCBinarySerDe());\n if (userAccess) {\n lastAccessTime = System.currentTimeMillis();\n lockedByUser = true;\n }\n // set the thread name with the logging prefix.\n sessionState.updateThreadName();\n\n // If the thread local Hive is different from sessionHive, it means, the previous query execution in\n // master thread has re-created Hive object due to changes in MS related configurations in sessionConf.\n // So, it is necessary to reset sessionHive object based on new sessionConf. Here, we cannot,\n // directly set sessionHive with thread local Hive because if the previous command was REPL LOAD, then\n // the config changes lives only within command execution not in session level.\n // So, the safer option is to invoke Hive.get() which decides if to reuse Thread local Hive or re-create it.\n if (Hive.getThreadLocal() != sessionHive) {\n try {\n setSessionHive();\n } catch (HiveSQLException e) {\n throw new RuntimeException(e);\n }\n }\n }\n\n /**\n * 1. We'll remove the ThreadLocal SessionState as this thread might now serve\n * other requests.\n * 2. We'll cache the ThreadLocal RawStore object for this background thread for an orderly cleanup\n * when this thread is garbage collected later.\n * @see org.apache.hive.service.server.ThreadWithGarbageCleanup#finalize()\n */\n protected void release(boolean userAccess, boolean isOperation) {\n try {\n releaseBeforeOpLock(userAccess);\n } finally {\n if (isOperation && operationLock != null) {\n operationLock.release();\n }\n }\n }\n\n private synchronized void releaseBeforeOpLock(boolean userAccess) {\n if (sessionState != null) {\n // can be null in-case of junit tests. skip reset.\n // reset thread name at release time.\n sessionState.resetThreadName();\n }\n\n SessionState.detachSession();\n if (ThreadWithGarbageCleanup.currentThread() instanceof ThreadWithGarbageCleanup) {\n ThreadWithGarbageCleanup currentThread =\n (ThreadWithGarbageCleanup) ThreadWithGarbageCleanup.currentThread();\n currentThread.cacheThreadLocalRawStore();\n }\n if (userAccess) {\n lastAccessTime = System.currentTimeMillis();\n lockedByUser = false;\n }\n }\n\n @Override\n public SessionHandle getSessionHandle() {\n return sessionHandle;\n }\n\n @Override\n public String getPassword() {\n return password;\n }\n\n @Override\n public HiveConf getHiveConf() {\n sessionConf.setVar(HiveConf.ConfVars.HIVEFETCHOUTPUTSERDE, FETCH_WORK_SERDE_CLASS);\n return sessionConf;\n }\n\n @Override\n public Hive getSessionHive() {\n return sessionHive;\n }\n\n @Override\n public IMetaStoreClient getMetaStoreClient() throws HiveSQLException {\n try {\n return getSessionHive().getMSC();\n } catch (MetaException e) {\n throw new HiveSQLException(\"Failed to get metastore connection: \" + e, e);\n }\n }\n\n @Override\n public GetInfoValue getInfo(GetInfoType getInfoType)\n throws HiveSQLException {\n acquire(true, true);\n try {\n switch (getInfoType) {\n case CLI_SERVER_NAME:\n return new GetInfoValue(\"Hive\");\n case CLI_DBMS_NAME:\n return new GetInfoValue(\"Apache Hive\");\n case CLI_DBMS_VER:\n return new GetInfoValue(HiveVersionInfo.getVersion());\n case CLI_MAX_COLUMN_NAME_LEN:\n return new GetInfoValue(128);\n case CLI_MAX_SCHEMA_NAME_LEN:\n return new GetInfoValue(128);\n case CLI_MAX_TABLE_NAME_LEN:\n return new GetInfoValue(128);\n case CLI_ODBC_KEYWORDS:\n return new GetInfoValue(ParseUtils.getKeywords(ODBC_KEYWORDS));\n case CLI_TXN_CAPABLE:\n default:\n throw new HiveSQLException(\"Unrecognized GetInfoType value: \" + getInfoType.toString());\n }\n } finally {\n release(true, true);\n }\n }\n\n @Override\n public HiveConf getSessionConf() throws HiveSQLException {\n\t return this.sessionConf;\n }\n\n @Override\n public OperationHandle executeStatement(String statement, Map confOverlay) throws HiveSQLException {\n return executeStatementInternal(statement, confOverlay, false, 0);\n }\n\n @Override\n public OperationHandle executeStatement(String statement, Map confOverlay,\n long queryTimeout) throws HiveSQLException {\n return executeStatementInternal(statement, confOverlay, false, queryTimeout);\n }\n\n @Override\n public OperationHandle executeStatementAsync(String statement, Map confOverlay) throws HiveSQLException {\n return executeStatementInternal(statement, confOverlay, true, 0);\n }\n\n @Override\n public OperationHandle executeStatementAsync(String statement, Map confOverlay,\n long queryTimeout) throws HiveSQLException {\n return executeStatementInternal(statement, confOverlay, true, queryTimeout);\n }\n\n private OperationHandle executeStatementInternal(String statement,\n Map confOverlay, boolean runAsync, long queryTimeout) throws HiveSQLException {\n acquire(true, true);\n LOG.info(\"executing \" + statement);\n\n ExecuteStatementOperation operation = null;\n OperationHandle opHandle = null;\n try {\n operation = getOperationManager().newExecuteStatementOperation(getSession(), statement,\n confOverlay, runAsync, queryTimeout);\n opHandle = operation.getHandle();\n addOpHandle(opHandle);\n operation.run();\n return opHandle;\n } catch (HiveSQLException e) {\n // Refering to SQLOperation.java, there is no chance that a HiveSQLException throws and the\n // async background operation submits to thread pool successfully at the same time. So, Cleanup\n // opHandle directly when got HiveSQLException\n if (opHandle != null) {\n removeOpHandle(opHandle);\n getOperationManager().closeOperation(opHandle);\n }\n throw e;\n } finally {\n if (operation == null || operation.getBackgroundHandle() == null) {\n release(true, true); // Not async, or wasn't submitted for some reason (failure, etc.)\n } else {\n releaseBeforeOpLock(true); // Release, but keep the lock (if present).\n }\n }\n }\n\n @Override\n public Future> submitBackgroundOperation(Runnable work) {\n return getSessionManager().submitBackgroundOperation(\n operationLock == null ? work : new FutureTask(work, null) {\n protected void done() {\n // We assume this always comes from a user operation that took the lock.\n operationLock.release();\n };\n });\n }\n\n @Override\n public OperationHandle getTypeInfo()\n throws HiveSQLException {\n acquire(true, true);\n\n OperationManager operationManager = getOperationManager();\n GetTypeInfoOperation operation = operationManager.newGetTypeInfoOperation(getSession());\n OperationHandle opHandle = operation.getHandle();\n try {\n addOpHandle(opHandle);\n operation.run();\n return opHandle;\n } catch (HiveSQLException e) {\n removeOpHandle(opHandle);\n operationManager.closeOperation(opHandle);\n throw e;\n } finally {\n release(true, true);\n }\n }\n\n @Override\n public OperationHandle getCatalogs()\n throws HiveSQLException {\n acquire(true, true);\n\n OperationManager operationManager = getOperationManager();\n GetCatalogsOperation operation = operationManager.newGetCatalogsOperation(getSession());\n OperationHandle opHandle = operation.getHandle();\n try {\n addOpHandle(opHandle);\n operation.run();\n return opHandle;\n } catch (HiveSQLException e) {\n removeOpHandle(opHandle);\n operationManager.closeOperation(opHandle);\n throw e;\n } finally {\n release(true, true);\n }\n }\n\n @Override\n public OperationHandle getSchemas(String catalogName, String schemaName)\n throws HiveSQLException {\n acquire(true, true);\n\n OperationManager operationManager = getOperationManager();\n GetSchemasOperation operation =\n operationManager.newGetSchemasOperation(getSession(), catalogName, schemaName);\n OperationHandle opHandle = operation.getHandle();\n try {\n addOpHandle(opHandle);\n operation.run();\n return opHandle;\n } catch (HiveSQLException e) {\n removeOpHandle(opHandle);\n operationManager.closeOperation(opHandle);\n throw e;\n } finally {\n release(true, true);\n }\n }\n\n @Override\n public OperationHandle getTables(String catalogName, String schemaName, String tableName,\n List tableTypes)\n throws HiveSQLException {\n acquire(true, true);\n\n OperationManager operationManager = getOperationManager();\n MetadataOperation operation =\n operationManager.newGetTablesOperation(getSession(), catalogName, schemaName, tableName, tableTypes);\n OperationHandle opHandle = operation.getHandle();\n try {\n addOpHandle(opHandle);\n operation.run();\n return opHandle;\n } catch (HiveSQLException e) {\n removeOpHandle(opHandle);\n operationManager.closeOperation(opHandle);\n throw e;\n } finally {\n release(true, true);\n }\n }\n\n @Override\n public OperationHandle getTableTypes()\n throws HiveSQLException {\n acquire(true, true);\n\n OperationManager operationManager = getOperationManager();\n GetTableTypesOperation operation = operationManager.newGetTableTypesOperation(getSession());\n OperationHandle opHandle = operation.getHandle();\n try {\n addOpHandle(opHandle);\n operation.run();\n return opHandle;\n } catch (HiveSQLException e) {\n removeOpHandle(opHandle);\n operationManager.closeOperation(opHandle);\n throw e;\n } finally {\n release(true, true);\n }\n }\n\n @Override\n public OperationHandle getColumns(String catalogName, String schemaName,\n String tableName, String columnName) throws HiveSQLException {\n acquire(true, true);\n String addedJars = Utilities.getResourceFiles(sessionConf, SessionState.ResourceType.JAR);\n if (StringUtils.isNotBlank(addedJars)) {\n IMetaStoreClient metastoreClient = getSession().getMetaStoreClient();\n metastoreClient.setHiveAddedJars(addedJars);\n }\n OperationManager operationManager = getOperationManager();\n GetColumnsOperation operation = operationManager.newGetColumnsOperation(getSession(),\n catalogName, schemaName, tableName, columnName);\n OperationHandle opHandle = operation.getHandle();\n try {\n addOpHandle(opHandle);\n operation.run();\n return opHandle;\n } catch (HiveSQLException e) {\n removeOpHandle(opHandle);\n operationManager.closeOperation(opHandle);\n throw e;\n } finally {\n release(true, true);\n }\n }\n\n private void addOpHandle(OperationHandle opHandle) {\n opHandleSet.add(opHandle);\n }\n\n private void removeOpHandle(OperationHandle opHandle) {\n opHandleSet.remove(opHandle);\n }\n\n @Override\n public OperationHandle getFunctions(String catalogName, String schemaName, String functionName)\n throws HiveSQLException {\n acquire(true, true);\n\n OperationManager operationManager = getOperationManager();\n GetFunctionsOperation operation = operationManager\n .newGetFunctionsOperation(getSession(), catalogName, schemaName, functionName);\n OperationHandle opHandle = operation.getHandle();\n try {\n addOpHandle(opHandle);\n operation.run();\n return opHandle;\n } catch (HiveSQLException e) {\n removeOpHandle(opHandle);\n operationManager.closeOperation(opHandle);\n throw e;\n } finally {\n release(true, true);\n }\n }\n\n @Override\n public void close() throws HiveSQLException {\n try {\n acquire(true, false);\n // Iterate through the opHandles and close their operations\n List closedOps = new ArrayList<>();\n for (OperationHandle opHandle : opHandleSet) {\n operationManager.closeOperation(opHandle);\n closedOps.add(opHandle);\n }\n opHandleSet.removeAll(closedOps);\n\n // Cleanup session log directory.\n cleanupSessionLogDir();\n HiveHistory hiveHist = sessionState.getHiveHistory();\n if (null != hiveHist) {\n hiveHist.closeStream();\n }\n try {\n sessionState.resetThreadName();\n sessionState.close();\n } finally {\n sessionState = null;\n }\n } catch (IOException ioe) {\n throw new HiveSQLException(\"Failure to close\", ioe);\n } finally {\n if (sessionState != null) {\n try {\n sessionState.resetThreadName();\n sessionState.close();\n } catch (Throwable t) {\n LOG.warn(\"Error closing session\", t);\n }\n sessionState = null;\n }\n if (sessionHive != null) {\n try {\n sessionHive.close(true);\n } catch (Throwable t) {\n LOG.warn(\"Error closing sessionHive\", t);\n }\n sessionHive = null;\n }\n try {\n // The thread local Hive in master thread can be different from sessionHive if any query\n // execution from master thread resets it to new Hive object due to changes in sessionConf.\n // So, need to close it as well. If it is same as sessionHive, then it is just no-op.\n Hive.closeCurrent();\n } catch (Throwable t) {\n LOG.warn(\"Error closing thread local Hive\", t);\n }\n release(true, false);\n }\n }\n\n private void cleanupSessionLogDir() {\n // In case of test, if we might not want to remove the log directory\n if (isOperationLogEnabled && sessionConf.getBoolVar(ConfVars.HIVE_TESTING_REMOVE_LOGS)) {\n try {\n FileUtils.forceDelete(sessionLogDir);\n LOG.info(\"Operation log session directory is deleted: \"\n + sessionLogDir.getAbsolutePath());\n } catch (Exception e) {\n LOG.error(\"Failed to cleanup session log dir: \" + sessionHandle, e);\n }\n }\n }\n\n @Override\n public SessionState getSessionState() {\n return sessionState;\n }\n\n @Override\n public String getUserName() {\n return username;\n }\n\n @Override\n public void setUserName(String userName) {\n this.username = userName;\n }\n\n @Override\n public long getLastAccessTime() {\n return lastAccessTime;\n }\n\n @Override\n public long getCreationTime() {\n return creationTime;\n }\n\n @Override\n public void closeExpiredOperations() {\n List handles = new ArrayList<>(opHandleSet);\n if (!handles.isEmpty()) {\n List operations = operationManager.removeExpiredOperations(handles.toArray(new OperationHandle[0]));\n if (!operations.isEmpty()) {\n closeTimedOutOperations(operations);\n }\n }\n }\n\n @Override\n public long getNoOperationTime() {\n boolean noMoreOpHandle = opHandleSet.isEmpty();\n return noMoreOpHandle && !lockedByUser ? System.currentTimeMillis() - lastAccessTime : 0;\n }\n\n private void closeTimedOutOperations(List operations) {\n acquire(false, false);\n try {\n for (Operation operation : operations) {\n removeOpHandle(operation.getHandle());\n try {\n operation.close();\n } catch (Exception e) {\n LOG.warn(\"Exception is thrown closing timed-out operation, reported open_operations metrics may be incorrect \" + operation.getHandle(), e);\n }\n }\n } finally {\n release(false, false);\n }\n }\n\n @Override\n public void cancelOperation(OperationHandle opHandle) throws HiveSQLException {\n acquire(true, false);\n try {\n sessionManager.getOperationManager().cancelOperation(opHandle);\n } finally {\n release(true, false);\n }\n }\n\n @Override\n public void updateQueryTag(String queryId, String queryTag) throws HiveSQLException {\n sessionManager.getOperationManager().updateQueryTag(queryId, queryTag);\n }\n\n @Override\n public void closeOperation(OperationHandle opHandle) throws HiveSQLException {\n acquire(true, false);\n try {\n operationManager.closeOperation(opHandle);\n opHandleSet.remove(opHandle);\n } finally {\n release(true, false);\n }\n }\n\n @Override\n public TableSchema getResultSetMetadata(OperationHandle opHandle) throws HiveSQLException {\n acquire(true, true);\n try {\n return sessionManager.getOperationManager().getOperationResultSetSchema(opHandle);\n } finally {\n release(true, true);\n }\n }\n\n @Override\n public RowSet fetchResults(OperationHandle opHandle, FetchOrientation orientation,\n long maxRows, FetchType fetchType) throws HiveSQLException {\n acquire(true, false);\n try {\n if (fetchType == FetchType.QUERY_OUTPUT) {\n return operationManager.getOperationNextRowSet(opHandle, orientation, maxRows);\n }\n return operationManager.getOperationLogRowSet(opHandle, orientation, maxRows, sessionConf);\n } finally {\n release(true, false);\n }\n }\n\n protected HiveSession getSession() {\n return this;\n }\n\n @Override\n public int getOpenOperationCount() {\n return opHandleSet.size();\n }\n\n @Override\n public String getIpAddress() {\n return ipAddress;\n }\n\n @Override\n public void setIpAddress(String ipAddress) {\n this.ipAddress = ipAddress;\n }\n\n @Override\n public List getForwardedAddresses() {\n return forwardedAddresses;\n }\n\n @Override\n public void setForwardedAddresses(final List forwardedAddresses) {\n this.forwardedAddresses = forwardedAddresses;\n }\n\n @Override\n public String getDelegationToken(HiveAuthFactory authFactory, String owner, String renewer)\n throws HiveSQLException {\n HiveAuthFactory.verifyProxyAccess(getUserName(), owner, getIpAddress(), getHiveConf());\n return authFactory.getDelegationToken(owner, renewer, getIpAddress());\n }\n\n @Override\n public void cancelDelegationToken(HiveAuthFactory authFactory, String tokenStr)\n throws HiveSQLException {\n HiveAuthFactory.verifyProxyAccess(getUserName(), getUserFromToken(authFactory, tokenStr),\n getIpAddress(), getHiveConf());\n authFactory.cancelDelegationToken(tokenStr);\n }\n\n @Override\n public void renewDelegationToken(HiveAuthFactory authFactory, String tokenStr)\n throws HiveSQLException {\n HiveAuthFactory.verifyProxyAccess(getUserName(), getUserFromToken(authFactory, tokenStr),\n getIpAddress(), getHiveConf());\n authFactory.renewDelegationToken(tokenStr);\n }\n\n // extract the real user from the given token string\n private String getUserFromToken(HiveAuthFactory authFactory, String tokenStr) throws HiveSQLException {\n return authFactory.getUserFromToken(tokenStr);\n }\n\n @Override\n public OperationHandle getPrimaryKeys(String catalog, String schema,\n String table) throws HiveSQLException {\n acquire(true, true);\n\n OperationManager operationManager = getOperationManager();\n GetPrimaryKeysOperation operation = operationManager\n .newGetPrimaryKeysOperation(getSession(), catalog, schema, table);\n OperationHandle opHandle = operation.getHandle();\n try {\n addOpHandle(opHandle);\n operation.run();\n return opHandle;\n } catch (HiveSQLException e) {\n removeOpHandle(opHandle);\n operationManager.closeOperation(opHandle);\n throw e;\n } finally {\n release(true, true);\n }\n }\n\n @Override\n public OperationHandle getCrossReference(String primaryCatalog,\n String primarySchema, String primaryTable, String foreignCatalog,\n String foreignSchema, String foreignTable) throws HiveSQLException {\n acquire(true, true);\n\n OperationManager operationManager = getOperationManager();\n GetCrossReferenceOperation operation = operationManager\n .newGetCrossReferenceOperation(getSession(), primaryCatalog,\n primarySchema, primaryTable, foreignCatalog,\n foreignSchema, foreignTable);\n OperationHandle opHandle = operation.getHandle();\n try {\n addOpHandle(opHandle);\n operation.run();\n return opHandle;\n } catch (HiveSQLException e) {\n removeOpHandle(opHandle);\n operationManager.closeOperation(opHandle);\n throw e;\n } finally {\n release(true, true);\n }\n }\n\n @Override\n public void setApplicationName(String value) {\n String oldName = sessionState.getHiveVariables().put(\"wmapp\", value);\n if (oldName != null && !oldName.equals(value)) {\n LOG.info(\"ApplicationName changed from \" + oldName + \" to \" + value);\n }\n }\n\n\n // From https://docs.microsoft.com/en-us/sql/t-sql/language-elements/reserved-keywords-transact-sql#odbc-reserved-keywords\n private static final Set ODBC_KEYWORDS = Collections.unmodifiableSet(new HashSet<>(\n Lists.newArrayList(\"ABSOLUTE\", \"ACTION\", \"ADA\", \"ADD\", \"ALL\", \"ALLOCATE\", \"ALTER\", \"AND\",\n \"ANY\", \"ARE\", \"AS\", \"ASC\", \"ASSERTION\", \"AT\", \"AUTHORIZATION\", \"AVG\", \"BEGIN\", \"BETWEEN\",\n \"BIT_LENGTH\", \"BIT\", \"BOTH\", \"BY\", \"CASCADE\", \"CASCADED\", \"CASE\", \"CAST\", \"CATALOG\",\n \"CHAR_LENGTH\", \"CHAR\", \"CHARACTER_LENGTH\", \"CHARACTER\", \"CHECK\", \"CLOSE\", \"COALESCE\",\n \"COLLATE\", \"COLLATION\", \"COLUMN\", \"COMMIT\", \"CONNECT\", \"CONNECTION\", \"CONSTRAINT\",\n \"CONSTRAINTS\", \"CONTINUE\", \"CONVERT\", \"CORRESPONDING\", \"COUNT\", \"CREATE\", \"CROSS\",\n \"CURRENT_DATE\", \"CURRENT_TIME\", \"CURRENT_TIMESTAMP\", \"CURRENT_USER\", \"CURRENT\", \"CURSOR\",\n \"DATE\", \"DAY\", \"DEALLOCATE\", \"DEC\", \"DECIMAL\", \"DECLARE\", \"DEFAULT\", \"DEFERRABLE\",\n \"DEFERRED\", \"DELETE\", \"DESC\", \"DESCRIBE\", \"DESCRIPTOR\", \"DIAGNOSTICS\", \"DISCONNECT\",\n \"DISTINCT\", \"DOMAIN\", \"DOUBLE\", \"DROP\", \"ELSE\", \"END\", \"ESCAPE\", \"EXCEPT\", \"EXCEPTION\",\n \"EXEC\", \"EXECUTE\", \"EXISTS\", \"EXTERNAL\", \"EXTRACT\", \"FALSE\", \"FETCH\", \"FIRST\", \"FLOAT\",\n \"FOR\", \"FOREIGN\", \"FORTRAN\", \"FOUND\", \"FROM\", \"FULL\", \"GET\", \"GLOBAL\", \"GO\", \"GOTO\", \"GRANT\",\n \"GROUP\", \"HAVING\", \"HOUR\", \"IDENTITY\", \"IMMEDIATE\", \"IN\", \"INCLUDE\", \"INDEX\", \"INDICATOR\",\n \"INITIALLY\", \"INNER\", \"INPUT\", \"INSENSITIVE\", \"INSERT\", \"INT\", \"INTEGER\", \"INTERSECT\",\n \"INTERVAL\", \"INTO\", \"IS\", \"ISOLATION\", \"JOIN\", \"KEY\", \"LANGUAGE\", \"LAST\", \"LEADING\", \"LEFT\",\n \"LEVEL\", \"LIKE\", \"LOCAL\", \"LOWER\", \"MATCH\", \"MAX\", \"MIN\", \"MINUTE\", \"MODULE\", \"MONTH\",\n \"NAMES\", \"NATIONAL\", \"NATURAL\", \"NCHAR\", \"NEXT\", \"NO\", \"NONE\", \"NOT\", \"NULL\", \"NULLIF\",\n \"NUMERIC\", \"OCTET_LENGTH\", \"OF\", \"ON\", \"ONLY\", \"OPEN\", \"OPTION\", \"OR\", \"ORDER\", \"OUTER\",\n \"OUTPUT\", \"OVERLAPS\", \"PAD\", \"PARTIAL\", \"PASCAL\", \"POSITION\", \"PRECISION\", \"PREPARE\",\n \"PRESERVE\", \"PRIMARY\", \"PRIOR\", \"PRIVILEGES\", \"PROCEDURE\", \"PUBLIC\", \"READ\", \"REAL\",\n \"REFERENCES\", \"RELATIVE\", \"RESTRICT\", \"REVOKE\", \"RIGHT\", \"ROLLBACK\", \"ROWS\", \"SCHEMA\",\n \"SCROLL\", \"SECOND\", \"SECTION\", \"SELECT\", \"SESSION_USER\", \"SESSION\", \"SET\", \"SIZE\",\n \"SMALLINT\", \"SOME\", \"SPACE\", \"SQL\", \"SQLCA\", \"SQLCODE\", \"SQLERROR\", \"SQLSTATE\", \"SQLWARNING\",\n \"SUBSTRING\", \"SUM\", \"SYSTEM_USER\", \"TABLE\", \"TEMPORARY\", \"THEN\", \"TIME\", \"TIMESTAMP\",\n \"TIMEZONE_HOUR\", \"TIMEZONE_MINUTE\", \"TO\", \"TRAILING\", \"TRANSACTION\", \"TRANSLATE\",\n \"TRANSLATION\", \"TRIM\", \"TRUE\", \"UNION\", \"UNIQUE\", \"UNKNOWN\", \"UPDATE\", \"UPPER\", \"USAGE\",\n \"USER\", \"USING\", \"VALUE\", \"VALUES\", \"VARCHAR\", \"VARYING\", \"VIEW\", \"WHEN\", \"WHENEVER\",\n \"WHERE\", \"WITH\", \"WORK\", \"WRITE\", \"YEAR\", \"ZONE\")));\n}\n"}
-{"text": "\n"}
-{"text": "class Border3DSide(Enum,IComparable,IFormattable,IConvertible):\n \"\"\"\n Specifies the sides of a rectangle to apply a three-dimensional border to.\n\n \n\n enum (flags) Border3DSide,values: All (2063),Bottom (8),Left (1),Middle (2048),Right (4),Top (2)\n \"\"\"\n def __eq__(self,*args):\n \"\"\" x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y \"\"\"\n pass\n def __format__(self,*args):\n \"\"\" __format__(formattable: IFormattable,format: str) -> str \"\"\"\n pass\n def __ge__(self,*args):\n pass\n def __gt__(self,*args):\n pass\n def __init__(self,*args):\n \"\"\" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature \"\"\"\n pass\n def __le__(self,*args):\n pass\n def __lt__(self,*args):\n pass\n def __ne__(self,*args):\n pass\n def __reduce_ex__(self,*args):\n pass\n def __str__(self,*args):\n pass\n All=None\n Bottom=None\n Left=None\n Middle=None\n Right=None\n Top=None\n value__=None\n\n"}
-{"text": "/*************************************************************\n *\n * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js\n *\n * Copyright (c) 2009-2018 The MathJax Consortium\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n */\n\nMathJax.Hub.Insert(\n MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'],\n {\n 0x250: [460,10,444,8,413], // ??\n 0x251: [460,10,500,27,491], // ??\n 0x252: [460,10,500,27,491], // ??\n 0x253: [683,10,500,69,468], // ??\n 0x254: [459,11,444,10,397], // ??\n 0x255: [460,160,444,25,417], // ??\n 0x256: [683,233,553,27,599], // ??\n 0x257: [683,10,587,27,602], // ??\n 0x258: [460,10,444,20,419], // ??\n 0x259: [460,10,444,14,413], // ??\n 0x25A: [460,13,657,36,651], // ??\n 0x25B: [475,14,438,20,389], // ??\n 0x25C: [475,14,438,20,389], // ??\n 0x25D: [475,14,623,20,603], // ??\n 0x25E: [475,14,479,20,430], // ??\n 0x25F: [460,218,315,-49,296], // ??\n 0x260: [683,212,594,32,634], // ??\n 0x261: [482,212,537,32,455], // ??\n 0x262: [450,11,570,30,539], // ??\n 0x263: [450,234,500,19,480], // ??\n 0x264: [450,10,500,13,486], // ??\n 0x265: [450,233,500,13,491], // ??\n 0x266: [683,0,500,9,487], // ??\n 0x267: [683,233,481,9,427], // ??\n 0x268: [683,0,278,16,253], // ??\n 0x269: [454,10,333,17,311], // ??\n 0x26A: [450,0,258,21,231], // ??\n 0x26B: [683,0,350,10,340], // ??\n 0x26C: [683,0,375,12,362], // ??\n 0x26D: [683,233,302,10,352], // ??\n 0x26E: [683,233,549,19,538], // ??\n 0x26F: [450,10,778,11,770], // ??\n 0x270: [450,233,803,11,785], // ??\n 0x271: [460,233,778,16,706], // ??\n 0x272: [460,233,529,-70,514], // ??\n 0x273: [460,233,533,16,603], // ??\n 0x274: [450,8,602,29,561], // ??\n 0x275: [460,10,500,29,470], // ??\n 0x276: [450,6,720,23,697], // ??\n 0x277: [475,4,667,37,629], // ??\n 0x278: [683,233,667,40,626], // ??\n 0x279: [450,10,370,30,360], // ??\n 0x27A: [683,10,370,30,364], // ??\n 0x27B: [450,233,418,30,468], // ??\n 0x27C: [460,233,333,5,335], // ??\n 0x27D: [460,233,370,7,339], // ??\n 0x27E: [470,0,315,10,337], // ??\n 0x27F: [470,0,350,5,332], // ??\n 0x280: [464,0,475,21,470], // ??\n 0x281: [464,0,475,21,470], // ??\n 0x282: [458,218,389,50,348], // ??\n 0x283: [683,233,322,-70,372], // ??\n 0x284: [683,218,304,-70,372], // ??\n 0x285: [470,233,400,15,457], // ??\n 0x286: [683,243,437,-23,422], // ??\n 0x287: [460,129,278,16,282], // ??\n 0x288: [579,233,270,13,283], // ??\n 0x289: [450,10,500,9,480], // ??\n 0x28A: [450,10,537,46,490], // ??\n 0x28B: [460,10,500,32,476], // ??\n 0x28C: [464,0,500,-4,454], // ??\n 0x28D: [464,0,722,21,694], // ??\n 0x28E: [668,0,444,-2,459], // ??\n 0x28F: [464,0,587,23,564], // ??\n 0x290: [450,218,528,27,569], // ??\n 0x291: [450,150,507,27,487], // ??\n 0x292: [450,233,413,12,392], // ??\n 0x293: [450,305,431,12,410], // ??\n 0x294: [683,0,450,47,400], // ??\n 0x295: [683,0,450,48,401], // ??\n 0x296: [662,14,450,47,400], // ??\n 0x297: [460,230,450,80,410], // ??\n 0x298: [679,17,723,33,690], // ??\n 0x299: [464,0,460,15,444], // ??\n 0x29A: [475,14,479,20,430], // ??\n 0x29B: [523,11,600,29,583], // ??\n 0x29C: [464,0,572,21,560], // ??\n 0x29D: [683,233,387,-23,412], // ??\n 0x29E: [450,233,519,1,499], // ??\n 0x29F: [464,0,470,21,441], // ??\n 0x2A0: [582,217,600,24,590], // ??\n 0x2A1: [683,0,450,48,401], // ??\n 0x2A2: [683,0,450,48,401], // ??\n 0x2A3: [683,10,802,27,775], // ??\n 0x2A4: [683,233,743,27,722], // ??\n 0x2A5: [683,160,864,27,844], // ??\n 0x2A6: [579,10,536,13,495], // ??\n 0x2A7: [683,233,483,13,540], // ??\n 0x2A8: [579,10,650,13,641], // ??\n 0x2AE: [469,232,619,15,612], // ??\n 0x2AF: [469,233,679,15,729] // ??\n }\n);\n\nMathJax.Ajax.loadComplete(MathJax.OutputJax[\"HTML-CSS\"].fontDir + \"/General/Regular/IPAExtensions.js\");\n"}
-{"text": "/*\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License, version 2, as\n * published by the Free Software Foundation.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software\n * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n *\n * Copyright IBM Corp. 2008\n *\n * Authors: Hollis Blanchard \n */\n\n#ifndef __ASM_44X_H__\n#define __ASM_44X_H__\n\n#include \n\n#define PPC44x_TLB_SIZE 64\n\n/* If the guest is expecting it, this can be as large as we like; we'd just\n * need to find some way of advertising it. */\n#define KVM44x_GUEST_TLB_SIZE 64\n\nstruct kvmppc_44x_tlbe {\n\tu32 tid; /* Only the low 8 bits are used. */\n\tu32 word0;\n\tu32 word1;\n\tu32 word2;\n};\n\nstruct kvmppc_44x_shadow_ref {\n\tstruct page *page;\n\tu16 gtlb_index;\n\tu8 writeable;\n\tu8 tid;\n};\n\nstruct kvmppc_vcpu_44x {\n\t/* Unmodified copy of the guest's TLB. */\n\tstruct kvmppc_44x_tlbe guest_tlb[KVM44x_GUEST_TLB_SIZE];\n\n\t/* References to guest pages in the hardware TLB. */\n\tstruct kvmppc_44x_shadow_ref shadow_refs[PPC44x_TLB_SIZE];\n\n\t/* State of the shadow TLB at guest context switch time. */\n\tstruct kvmppc_44x_tlbe shadow_tlb[PPC44x_TLB_SIZE];\n\tu8 shadow_tlb_mod[PPC44x_TLB_SIZE];\n\n\tstruct kvm_vcpu vcpu;\n};\n\nstatic inline struct kvmppc_vcpu_44x *to_44x(struct kvm_vcpu *vcpu)\n{\n\treturn container_of(vcpu, struct kvmppc_vcpu_44x, vcpu);\n}\n\nvoid kvmppc_44x_tlb_put(struct kvm_vcpu *vcpu);\nvoid kvmppc_44x_tlb_load(struct kvm_vcpu *vcpu);\n\n#endif /* __ASM_44X_H__ */\n"}
-{"text": "\n\n\n \n \n \n \n \n PortAudio Implementations for DirectSound\n\n\n \n\n\n\n\n\nPortAudio - Portable Audio Library\n | \n
\n
\n\nLast updated 5/6/02.\n
PortAudio is a cross platform, open-source, audio\nI/O library proposed by Ross Bencina to the music-dsp\nmailing list. It lets you write simple audio programs in 'C' that will\ncompile and run on Windows, Macintosh, Unix, BeOS. PortAudio is\nintended to promote the exchange of audio synthesis software between developers\non different platforms.\n
For complete information on PortAudio and to download the latest releases,\nplease visit \"http://www.portaudio.com\".\n
\n
\n
\n\n\n\n
\n\n\nContacts and E-Mail List
\n\n\n- \nIf you are using or implementing PortAudio then please join the PortAudio\nmail list generously administered by\nBill\nEldridge.
\n\n- \nIf you find bugs in one of these implementations, or have suggestions,\nplease e-mail them to Phil Burk.
\n\n- \nIf you make improvements to the library, please send them to us so we can\nincorporate the improvements.
\n
\n\n\nLicense
\nPortAudio Portable Real-Time Audio Library\n
Copyright (c) 1999-2000 Ross Bencina and Phil Burk\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the \"Software\"),\nto deal in the Software without restriction, including without limitation\nthe rights to use, copy, modify, merge, publish, distribute, sublicense,\nand/or sell copies of the Software, and to permit persons to whom the Software\nis furnished to do so, subject to the following conditions:\n
\n- \nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.
\n\n- \nAny person wishing to distribute modifications to the Software is requested\nto send the modifications to the original developer so that they can be\nincorporated into the canonical version.
\n
\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND ON INFRINGEMENT.\n
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT\nOR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR\nTHE USE OR OTHER DEALINGS IN THE SOFTWARE.\n
\n\n\n"}
-{"text": "/**\n ******************************************************************************\n * @file system_stm32f30x.c\n * @author MCD Application Team\n * @version V4.0.0\n * @date 21-January-2013\n * @brief CMSIS Cortex-M4 Device Peripheral Access Layer System Source File.\n * This file contains the system clock configuration for STM32F30x devices,\n * and is generated by the clock configuration tool\n * stm32f30x_Clock_Configuration_V1.0.0.xls\n * \n * 1. This file provides two functions and one global variable to be called from \n * user application:\n * - SystemInit(): Setups the system clock (System clock source, PLL Multiplier\n * and Divider factors, AHB/APBx prescalers and Flash settings),\n * depending on the configuration made in the clock xls tool. \n * This function is called at startup just after reset and \n * before branch to main program. This call is made inside\n * the \"startup_stm32f30x.s\" file.\n *\n * - SystemCoreClock variable: Contains the core clock (HCLK), it can be used\n * by the user application to setup the SysTick \n * timer or configure other parameters.\n * \n * - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must\n * be called whenever the core clock is changed\n * during program execution.\n *\n * 2. After each device reset the HSI (8 MHz) is used as system clock source.\n * Then SystemInit() function is called, in \"startup_stm32f30x.s\" file, to\n * configure the system clock before to branch to main program.\n *\n * 3. If the system clock source selected by user fails to startup, the SystemInit()\n * function will do nothing and HSI still used as system clock source. User can \n * add some code to deal with this issue inside the SetSysClock() function.\n *\n * 4. The default value of HSE crystal is set to 8MHz, refer to \"HSE_VALUE\" define\n * in \"stm32f30x.h\" file. When HSE is used as system clock source, directly or\n * through PLL, and you are using different crystal you have to adapt the HSE\n * value to your own configuration.\n *\n * 5. This file configures the system clock as follows:\n *=============================================================================\n * Supported STM32F30x device \n *-----------------------------------------------------------------------------\n * System Clock source | PLL (HSE)\n *-----------------------------------------------------------------------------\n * SYSCLK(Hz) | 72000000\n *-----------------------------------------------------------------------------\n * HCLK(Hz) | 72000000\n *-----------------------------------------------------------------------------\n * AHB Prescaler | 1\n *-----------------------------------------------------------------------------\n * APB2 Prescaler | 1\n *-----------------------------------------------------------------------------\n * APB1 Prescaler | 2\n *-----------------------------------------------------------------------------\n * HSE Frequency(Hz) | 8000000\n *----------------------------------------------------------------------------\n * PLLMUL | 9\n *-----------------------------------------------------------------------------\n * PREDIV | 1\n *-----------------------------------------------------------------------------\n * USB Clock | ENABLE\n *-----------------------------------------------------------------------------\n * Flash Latency(WS) | 2\n *-----------------------------------------------------------------------------\n * Prefetch Buffer | ON\n *-----------------------------------------------------------------------------\n *=============================================================================\n ******************************************************************************\n * @attention\n *\n * © COPYRIGHT 2013 STMicroelectronics
\n *\n * Licensed under MCD-ST Liberty SW License Agreement V2, (the \"License\");\n * You may not use this file except in compliance with the License.\n * You may obtain a copy of the License at:\n *\n * http://www.st.com/software_license_agreement_liberty_v2\n *\n * Unless required by applicable law or agreed to in writing, software \n * distributed under the License is distributed on an \"AS IS\" BASIS, \n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n ******************************************************************************\n */\n/** @addtogroup CMSIS\n * @{\n */\n\n/** @addtogroup stm32f30x_system\n * @{\n */ \n \n/** @addtogroup STM32F30x_System_Private_Includes\n * @{\n */\n\n#include \"stm32f30x.h\"\n\n/**\n * @}\n */\n\n/** @addtogroup STM32F30x_System_Private_TypesDefinitions\n * @{\n */\n\n/**\n * @}\n */\n\n/** @addtogroup STM32F30x_System_Private_Defines\n * @{\n */\n/*!< Uncomment the following line if you need to relocate your vector Table in\n Internal SRAM. */ \n/* #define VECT_TAB_SRAM */\n#define VECT_TAB_OFFSET 0x0 /*!< Vector Table base offset field. \n This value must be a multiple of 0x200. */ \n/**\n * @}\n */ \n\n/** @addtogroup STM32F30x_System_Private_Macros\n * @{\n */\n\n/**\n * @}\n */\n\n/** @addtogroup STM32F30x_System_Private_Variables\n * @{\n */\n\n uint32_t SystemCoreClock = 72000000;\n\n __I uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};\n\n/**\n * @}\n */\n\n/** @addtogroup STM32F30x_System_Private_FunctionPrototypes\n * @{\n */\n\nstatic void SetSysClock(void);\n\n/**\n * @}\n */\n\n/** @addtogroup STM32F30x_System_Private_Functions\n * @{\n */\n\n/**\n * @brief Setup the microcontroller system\n * Initialize the Embedded Flash Interface, the PLL and update the \n * SystemFrequency variable.\n * @param None\n * @retval None\n */\nvoid SystemInit(void)\n{\n /* FPU settings ------------------------------------------------------------*/\n #if (__FPU_PRESENT == 1) && (__FPU_USED == 1)\n SCB->CPACR |= ((3UL << 10*2)|(3UL << 11*2)); /* set CP10 and CP11 Full Access */\n #endif\n\n /* Reset the RCC clock configuration to the default reset state ------------*/\n /* Set HSION bit */\n RCC->CR |= (uint32_t)0x00000001;\n\n /* Reset CFGR register */\n RCC->CFGR &= 0xF87FC00C;\n\n /* Reset HSEON, CSSON and PLLON bits */\n RCC->CR &= (uint32_t)0xFEF6FFFF;\n\n /* Reset HSEBYP bit */\n RCC->CR &= (uint32_t)0xFFFBFFFF;\n\n /* Reset PLLSRC, PLLXTPRE, PLLMUL and USBPRE bits */\n RCC->CFGR &= (uint32_t)0xFF80FFFF;\n\n /* Reset PREDIV1[3:0] bits */\n RCC->CFGR2 &= (uint32_t)0xFFFFFFF0;\n\n /* Reset USARTSW[1:0], I2CSW and TIMs bits */\n RCC->CFGR3 &= (uint32_t)0xFF00FCCC;\n \n /* Disable all interrupts */\n RCC->CIR = 0x00000000;\n\n /* Configure the System clock source, PLL Multiplier and Divider factors, \n AHB/APBx prescalers and Flash settings ----------------------------------*/\n SetSysClock();\n \n#ifdef VECT_TAB_SRAM\n SCB->VTOR = SRAM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM. */\n#else\n SCB->VTOR = FLASH_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal FLASH. */\n#endif \n}\n\n/**\n * @brief Update SystemCoreClock variable according to Clock Register Values.\n * The SystemCoreClock variable contains the core clock (HCLK), it can\n * be used by the user application to setup the SysTick timer or configure\n * other parameters.\n * \n * @note Each time the core clock (HCLK) changes, this function must be called\n * to update SystemCoreClock variable value. Otherwise, any configuration\n * based on this variable will be incorrect. \n * \n * @note - The system frequency computed by this function is not the real \n * frequency in the chip. It is calculated based on the predefined \n * constant and the selected clock source:\n * \n * - If SYSCLK source is HSI, SystemCoreClock will contain the HSI_VALUE(*)\n * \n * - If SYSCLK source is HSE, SystemCoreClock will contain the HSE_VALUE(**)\n * \n * - If SYSCLK source is PLL, SystemCoreClock will contain the HSE_VALUE(**) \n * or HSI_VALUE(*) multiplied/divided by the PLL factors.\n * \n * (*) HSI_VALUE is a constant defined in stm32f30x.h file (default value\n * 8 MHz) but the real value may vary depending on the variations\n * in voltage and temperature. \n * \n * (**) HSE_VALUE is a constant defined in stm32f30x.h file (default value\n * 8 MHz), user has to ensure that HSE_VALUE is same as the real\n * frequency of the crystal used. Otherwise, this function may\n * have wrong result.\n * \n * - The result of this function could be not correct when using fractional\n * value for HSE crystal.\n * \n * @param None\n * @retval None\n */\nvoid SystemCoreClockUpdate (void)\n{\n uint32_t tmp = 0, pllmull = 0, pllsource = 0, prediv1factor = 0;\n\n /* Get SYSCLK source -------------------------------------------------------*/\n tmp = RCC->CFGR & RCC_CFGR_SWS;\n \n switch (tmp)\n {\n case 0x00: /* HSI used as system clock */\n SystemCoreClock = HSI_VALUE;\n break;\n case 0x04: /* HSE used as system clock */\n SystemCoreClock = HSE_VALUE;\n break;\n case 0x08: /* PLL used as system clock */\n /* Get PLL clock source and multiplication factor ----------------------*/\n pllmull = RCC->CFGR & RCC_CFGR_PLLMULL;\n pllsource = RCC->CFGR & RCC_CFGR_PLLSRC;\n pllmull = ( pllmull >> 18) + 2;\n \n if (pllsource == 0x00)\n {\n /* HSI oscillator clock divided by 2 selected as PLL clock entry */\n SystemCoreClock = (HSI_VALUE >> 1) * pllmull;\n }\n else\n {\n prediv1factor = (RCC->CFGR2 & RCC_CFGR2_PREDIV1) + 1;\n /* HSE oscillator clock selected as PREDIV1 clock entry */\n SystemCoreClock = (HSE_VALUE / prediv1factor) * pllmull; \n } \n break;\n default: /* HSI used as system clock */\n SystemCoreClock = HSI_VALUE;\n break;\n }\n /* Compute HCLK clock frequency ----------------*/\n /* Get HCLK prescaler */\n tmp = AHBPrescTable[((RCC->CFGR & RCC_CFGR_HPRE) >> 4)];\n /* HCLK clock frequency */\n SystemCoreClock >>= tmp; \n}\n\n/**\n * @brief Configures the System clock source, PLL Multiplier and Divider factors,\n * AHB/APBx prescalers and Flash settings\n * @note This function should be called only once the RCC clock configuration \n * is reset to the default reset state (done in SystemInit() function). \n * @param None\n * @retval None\n */\nstatic void SetSysClock(void)\n{\n __IO uint32_t StartUpCounter = 0, HSEStatus = 0;\n\n/******************************************************************************/\n/* PLL (clocked by HSE) used as System clock source */\n/******************************************************************************/\n\n /* SYSCLK, HCLK, PCLK2 and PCLK1 configuration -----------*/\n /* Enable HSE */\n RCC->CR |= ((uint32_t)RCC_CR_HSEON);\n \n /* Wait till HSE is ready and if Time out is reached exit */\n do\n {\n HSEStatus = RCC->CR & RCC_CR_HSERDY;\n StartUpCounter++;\n } while((HSEStatus == 0) && (StartUpCounter != HSE_STARTUP_TIMEOUT));\n\n if ((RCC->CR & RCC_CR_HSERDY) != RESET)\n {\n HSEStatus = (uint32_t)0x01;\n }\n else\n {\n HSEStatus = (uint32_t)0x00;\n }\n\n if (HSEStatus == (uint32_t)0x01)\n {\n /* Enable Prefetch Buffer and set Flash Latency */\n FLASH->ACR = FLASH_ACR_PRFTBE | (uint32_t)FLASH_ACR_LATENCY_1;\n \n /* HCLK = SYSCLK / 1 */\n RCC->CFGR |= (uint32_t)RCC_CFGR_HPRE_DIV1;\n \n /* PCLK2 = HCLK / 1 */\n RCC->CFGR |= (uint32_t)RCC_CFGR_PPRE2_DIV1;\n \n /* PCLK1 = HCLK / 2 */\n RCC->CFGR |= (uint32_t)RCC_CFGR_PPRE1_DIV2;\n\n /* PLL configuration */\n RCC->CFGR &= (uint32_t)((uint32_t)~(RCC_CFGR_PLLSRC | RCC_CFGR_PLLXTPRE | RCC_CFGR_PLLMULL));\n RCC->CFGR |= (uint32_t)(RCC_CFGR_PLLSRC_PREDIV1 | RCC_CFGR_PLLXTPRE_PREDIV1 | RCC_CFGR_PLLMULL9);\n\n /* Enable PLL */\n RCC->CR |= RCC_CR_PLLON;\n\n /* Wait till PLL is ready */\n while((RCC->CR & RCC_CR_PLLRDY) == 0)\n {\n }\n \n /* Select PLL as system clock source */\n RCC->CFGR &= (uint32_t)((uint32_t)~(RCC_CFGR_SW));\n RCC->CFGR |= (uint32_t)RCC_CFGR_SW_PLL;\n\n /* Wait till PLL is used as system clock source */\n while ((RCC->CFGR & (uint32_t)RCC_CFGR_SWS) != (uint32_t)RCC_CFGR_SWS_PLL)\n {\n }\n }\n else\n { /* If HSE fails to start-up, the application will have wrong clock\n configuration. User can add here some code to deal with this error */\n }\n}\n\n/**\n * @}\n */\n\n/**\n * @}\n */\n\n/**\n * @}\n */\n\n/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/\n\n"}
-{"text": "import Foundation\n\npublic enum Expectation: Hashable {\n case value(String)\n case error\n\n public init?(_ string: String?) {\n guard let string = string?.trimmingCharacters(in: .whitespacesAndNewlines) else { return nil }\n if string.starts(with: \"=>\"),\n let index = string.firstIndex(where: { $0.isWhitespace })\n {\n self = .value(string.suffix(from: index).trimmingCharacters(in: .whitespaces))\n } else if string.starts(with: \"!!\") {\n self = .error\n } else {\n return nil\n }\n }\n}\n"}
-{"text": ".manage-column.wpas-content-heading {\n padding: 15px 10px;\n}\n.wpas-gdpr-export-wrapper{\n margin: 25px 0;\n}\n.wpas-gdpr-notice.success {\n\tbackground-color: #66b266;\n color: #ffffff;\n border-left: 0;\n}\n.wpas-gdpr-notice.success a, \n.wpas-gdpr-notice.success a:visited, \n.wpas-gdpr-notice.success a:focus, \n.wpas-gdpr-notice.success a:active, \n.wpas-gdpr-notice.success a:hover{\n\tcolor: #ffc425;\n}\n.wpas-gdpr-notice.failure {\n\tbackground-color: #8b0000;\n color: #ffffff;\n border-left: 0;\n}\n.wpas-gdpr-notice p {\n\tmargin: .5em 0;\n padding: 5px;\n}"}
-{"text": "/*\n * Portuguese resources for oleacc\n *\n * Copyright 2009 Ricardo Filipe\n * Copyright 2010 Gustavo Henrique Milar\u00e9\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n *\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this library; if not, write to the Free Software\n * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA\n */\n\n#pragma code_page(65001)\n\nLANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN\n\nSTRINGTABLE\n{\n 0 \"objeto desconhecido\" /* undocumented */\n ROLE_SYSTEM_TITLEBAR \"barra de t\u00edtulo\"\n ROLE_SYSTEM_MENUBAR \"barra de menu\"\n ROLE_SYSTEM_SCROLLBAR \"barra de rolagem\"\n ROLE_SYSTEM_GRIP \"grip\"\n ROLE_SYSTEM_SOUND \"som\"\n ROLE_SYSTEM_CURSOR \"cursor\"\n ROLE_SYSTEM_CARET \"caret\"\n ROLE_SYSTEM_ALERT \"alerta\"\n ROLE_SYSTEM_WINDOW \"janela\"\n ROLE_SYSTEM_CLIENT \"cliente\"\n ROLE_SYSTEM_MENUPOPUP \"menu popup\"\n ROLE_SYSTEM_MENUITEM \"item do menu\"\n ROLE_SYSTEM_TOOLTIP \"dica\"\n ROLE_SYSTEM_APPLICATION \"aplicativo\"\n ROLE_SYSTEM_DOCUMENT \"documento\"\n ROLE_SYSTEM_PANE \"painel\"\n ROLE_SYSTEM_CHART \"gr\u00e1fico\"\n ROLE_SYSTEM_DIALOG \"di\u00e1logo\"\n ROLE_SYSTEM_BORDER \"margem\"\n ROLE_SYSTEM_GROUPING \"agrupamento\"\n ROLE_SYSTEM_SEPARATOR \"separador\"\n ROLE_SYSTEM_TOOLBAR \"barra de ferramentas\"\n ROLE_SYSTEM_STATUSBAR \"barra de estado\"\n ROLE_SYSTEM_TABLE \"tabela\"\n ROLE_SYSTEM_COLUMNHEADER \"cabe\u00e7alho da coluna\"\n ROLE_SYSTEM_ROWHEADER \"cabe\u00e7alho da linha\"\n ROLE_SYSTEM_COLUMN \"coluna\"\n ROLE_SYSTEM_ROW \"linha\"\n ROLE_SYSTEM_CELL \"c\u00e9lula\"\n ROLE_SYSTEM_LINK \"link\"\n ROLE_SYSTEM_HELPBALLOON \"bal\u00e3o de ajuda\"\n ROLE_SYSTEM_CHARACTER \"caractere\"\n ROLE_SYSTEM_LIST \"lista\"\n ROLE_SYSTEM_LISTITEM \"item da lista\"\n ROLE_SYSTEM_OUTLINE \"contorno\"\n ROLE_SYSTEM_OUTLINEITEM \"item de contorno\"\n ROLE_SYSTEM_PAGETAB \"tab de p\u00e1gina\"\n ROLE_SYSTEM_PROPERTYPAGE \"p\u00e1gina de propriedades\"\n ROLE_SYSTEM_INDICATOR \"indicador\"\n ROLE_SYSTEM_GRAPHIC \"gr\u00e1fico\"\n ROLE_SYSTEM_STATICTEXT \"texto est\u00e1tico\"\n ROLE_SYSTEM_TEXT \"texto\"\n ROLE_SYSTEM_PUSHBUTTON \"push button\"\n ROLE_SYSTEM_CHECKBUTTON \"check button\"\n ROLE_SYSTEM_RADIOBUTTON \"radio button\"\n ROLE_SYSTEM_COMBOBOX \"combo box\"\n ROLE_SYSTEM_DROPLIST \"drop down\"\n ROLE_SYSTEM_PROGRESSBAR \"barra de progresso\"\n ROLE_SYSTEM_DIAL \"dial\"\n ROLE_SYSTEM_HOTKEYFIELD \"hot key field\"\n ROLE_SYSTEM_SLIDER \"slider\"\n ROLE_SYSTEM_SPINBUTTON \"spin box\"\n ROLE_SYSTEM_DIAGRAM \"diagrama\"\n ROLE_SYSTEM_ANIMATION \"anima\u00e7\u00e3o\"\n ROLE_SYSTEM_EQUATION \"equa\u00e7\u00e3o\"\n ROLE_SYSTEM_BUTTONDROPDOWN \"drop down button\"\n ROLE_SYSTEM_BUTTONMENU \"menu button\"\n ROLE_SYSTEM_BUTTONDROPDOWNGRID \"grid drop down button\"\n ROLE_SYSTEM_WHITESPACE \"espa\u00e7o em branco\"\n ROLE_SYSTEM_PAGETABLIST \"page tab list\"\n ROLE_SYSTEM_CLOCK \"rel\u00f3gio\"\n ROLE_SYSTEM_SPLITBUTTON \"split button\"\n ROLE_SYSTEM_IPADDRESS \"endere\u00e7o IP\"\n ROLE_SYSTEM_OUTLINEBUTTON \"outline button\"\n\n IDS_STATE_NORMAL \"normal\"\n IDS_STATE_UNAVAILABLE \"unavailable\"\n IDS_STATE_SELECTED \"selected\"\n IDS_STATE_FOCUSED \"focused\"\n IDS_STATE_PRESSED \"pressed\"\n IDS_STATE_CHECKED \"checked\"\n IDS_STATE_MIXED \"mixed\"\n IDS_STATE_READONLY \"read only\"\n IDS_STATE_HOTTRACKED \"hot tracked\"\n IDS_STATE_DEFAULT \"default\"\n IDS_STATE_EXPANDED \"expanded\"\n IDS_STATE_COLLAPSED \"collapsed\"\n IDS_STATE_BUSY \"busy\"\n IDS_STATE_FLOATING \"floating\"\n IDS_STATE_MARQUEED \"marqueed\"\n IDS_STATE_ANIMATED \"animated\"\n IDS_STATE_INVISIBLE \"invisible\"\n IDS_STATE_OFFSCREEN \"offscreen\"\n IDS_STATE_SIZEABLE \"sizeable\"\n IDS_STATE_MOVEABLE \"moveable\"\n IDS_STATE_SELFVOICING \"self voicing\"\n IDS_STATE_FOCUSABLE \"focusable\"\n IDS_STATE_SELECTABLE \"selectable\"\n IDS_STATE_LINKED \"linked\"\n IDS_STATE_TRAVERSED \"traversed\"\n IDS_STATE_MULTISELECTABLE \"multi selectable\"\n IDS_STATE_EXTSELECTABLE \"extended selectable\"\n IDS_STATE_ALERT_LOW \"alert low\"\n IDS_STATE_ALERT_MEDIUM \"alert medium\"\n IDS_STATE_ALERT_HIGH \"alert high\"\n IDS_STATE_PROTECTED \"protected\"\n IDS_STATE_HASPOPUP \"has popup\"\n}\n\nLANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE\n\nSTRINGTABLE\n{\n 0 \"objecto desconhecido\" /* undocumented */\n ROLE_SYSTEM_TITLEBAR \"barra de t\u00edtulo\"\n ROLE_SYSTEM_MENUBAR \"barra de menu\"\n ROLE_SYSTEM_SCROLLBAR \"barra de scroll\"\n ROLE_SYSTEM_GRIP \"grip\"\n ROLE_SYSTEM_SOUND \"som\"\n ROLE_SYSTEM_CURSOR \"cursor\"\n ROLE_SYSTEM_CARET \"caret\"\n ROLE_SYSTEM_ALERT \"alerta\"\n ROLE_SYSTEM_WINDOW \"janela\"\n ROLE_SYSTEM_CLIENT \"cliente\"\n ROLE_SYSTEM_MENUPOPUP \"popup menu\"\n ROLE_SYSTEM_MENUITEM \"item do menu\"\n ROLE_SYSTEM_TOOLTIP \"dica\"\n ROLE_SYSTEM_APPLICATION \"aplica\u00e7\u00e3o\"\n ROLE_SYSTEM_DOCUMENT \"documento\"\n ROLE_SYSTEM_PANE \"painel\"\n ROLE_SYSTEM_CHART \"gr\u00e1fico\"\n ROLE_SYSTEM_DIALOG \"di\u00e1logo\"\n ROLE_SYSTEM_BORDER \"margem\"\n ROLE_SYSTEM_GROUPING \"agrupamento\"\n ROLE_SYSTEM_SEPARATOR \"separador\"\n ROLE_SYSTEM_TOOLBAR \"barra de ferramentas\"\n ROLE_SYSTEM_STATUSBAR \"barra de estado\"\n ROLE_SYSTEM_TABLE \"tabela\"\n ROLE_SYSTEM_COLUMNHEADER \"cabe\u00e7alho da coluna\"\n ROLE_SYSTEM_ROWHEADER \"cabe\u00e7alho da linha\"\n ROLE_SYSTEM_COLUMN \"coluna\"\n ROLE_SYSTEM_ROW \"linha\"\n ROLE_SYSTEM_CELL \"c\u00e9lula\"\n ROLE_SYSTEM_LINK \"liga\u00e7\u00e3o\"\n ROLE_SYSTEM_HELPBALLOON \"bal\u00e3o de ajuda\"\n ROLE_SYSTEM_CHARACTER \"caracter\"\n ROLE_SYSTEM_LIST \"lista\"\n ROLE_SYSTEM_LISTITEM \"item da lista\"\n ROLE_SYSTEM_OUTLINE \"delinear\"\n ROLE_SYSTEM_OUTLINEITEM \"item delinear\"\n ROLE_SYSTEM_PAGETAB \"tab de p\u00e1gina\"\n ROLE_SYSTEM_PROPERTYPAGE \"p\u00e1gina de propriedades\"\n ROLE_SYSTEM_INDICATOR \"indicador\"\n ROLE_SYSTEM_GRAPHIC \"gr\u00e1fico\"\n ROLE_SYSTEM_STATICTEXT \"texto est\u00e1tico\"\n ROLE_SYSTEM_TEXT \"texto\"\n ROLE_SYSTEM_PUSHBUTTON \"push button\"\n ROLE_SYSTEM_CHECKBUTTON \"check button\"\n ROLE_SYSTEM_RADIOBUTTON \"radio button\"\n ROLE_SYSTEM_COMBOBOX \"combo box\"\n ROLE_SYSTEM_DROPLIST \"drop down\"\n ROLE_SYSTEM_PROGRESSBAR \"barra de progresso\"\n ROLE_SYSTEM_DIAL \"dial\"\n ROLE_SYSTEM_HOTKEYFIELD \"hot key field\"\n ROLE_SYSTEM_SLIDER \"slider\"\n ROLE_SYSTEM_SPINBUTTON \"spin box\"\n ROLE_SYSTEM_DIAGRAM \"diagrama\"\n ROLE_SYSTEM_ANIMATION \"anima\u00e7\u00e3o\"\n ROLE_SYSTEM_EQUATION \"equa\u00e7\u00e3o\"\n ROLE_SYSTEM_BUTTONDROPDOWN \"drop down button\"\n ROLE_SYSTEM_BUTTONMENU \"menu button\"\n ROLE_SYSTEM_BUTTONDROPDOWNGRID \"grid drop down button\"\n ROLE_SYSTEM_WHITESPACE \"espa\u00e7o em branco\"\n ROLE_SYSTEM_PAGETABLIST \"page tab list\"\n ROLE_SYSTEM_CLOCK \"rel\u00f3gio\"\n ROLE_SYSTEM_SPLITBUTTON \"split button\"\n ROLE_SYSTEM_IPADDRESS \"endere\u00e7o IP\"\n ROLE_SYSTEM_OUTLINEBUTTON \"outline button\"\n\n IDS_STATE_NORMAL \"normal\"\n IDS_STATE_UNAVAILABLE \"unavailable\"\n IDS_STATE_SELECTED \"selected\"\n IDS_STATE_FOCUSED \"focused\"\n IDS_STATE_PRESSED \"pressed\"\n IDS_STATE_CHECKED \"checked\"\n IDS_STATE_MIXED \"mixed\"\n IDS_STATE_READONLY \"read only\"\n IDS_STATE_HOTTRACKED \"hot tracked\"\n IDS_STATE_DEFAULT \"default\"\n IDS_STATE_EXPANDED \"expanded\"\n IDS_STATE_COLLAPSED \"collapsed\"\n IDS_STATE_BUSY \"busy\"\n IDS_STATE_FLOATING \"floating\"\n IDS_STATE_MARQUEED \"marqueed\"\n IDS_STATE_ANIMATED \"animated\"\n IDS_STATE_INVISIBLE \"invisible\"\n IDS_STATE_OFFSCREEN \"offscreen\"\n IDS_STATE_SIZEABLE \"sizeable\"\n IDS_STATE_MOVEABLE \"moveable\"\n IDS_STATE_SELFVOICING \"self voicing\"\n IDS_STATE_FOCUSABLE \"focusable\"\n IDS_STATE_SELECTABLE \"selectable\"\n IDS_STATE_LINKED \"linked\"\n IDS_STATE_TRAVERSED \"traversed\"\n IDS_STATE_MULTISELECTABLE \"multi selectable\"\n IDS_STATE_EXTSELECTABLE \"extended selectable\"\n IDS_STATE_ALERT_LOW \"alert low\"\n IDS_STATE_ALERT_MEDIUM \"alert medium\"\n IDS_STATE_ALERT_HIGH \"alert high\"\n IDS_STATE_PROTECTED \"protected\"\n IDS_STATE_HASPOPUP \"has popup\"\n}\n"}
-{"text": "'''\n Test cases for pyclbr.py\n Nick Mathewson\n'''\nfrom test.support import run_unittest\nimport sys\nfrom types import FunctionType, MethodType, BuiltinFunctionType\nimport pyclbr\nfrom unittest import TestCase\n\nStaticMethodType = type(staticmethod(lambda: None))\nClassMethodType = type(classmethod(lambda c: None))\n\n# Here we test the python class browser code.\n#\n# The main function in this suite, 'testModule', compares the output\n# of pyclbr with the introspected members of a module. Because pyclbr\n# is imperfect (as designed), testModule is called with a set of\n# members to ignore.\n\nclass PyclbrTest(TestCase):\n\n def assertListEq(self, l1, l2, ignore):\n ''' succeed iff {l1} - {ignore} == {l2} - {ignore} '''\n missing = (set(l1) ^ set(l2)) - set(ignore)\n if missing:\n print(\"l1=%r\\nl2=%r\\nignore=%r\" % (l1, l2, ignore), file=sys.stderr)\n self.fail(\"%r missing\" % missing.pop())\n\n def assertHasattr(self, obj, attr, ignore):\n ''' succeed iff hasattr(obj,attr) or attr in ignore. '''\n if attr in ignore: return\n if not hasattr(obj, attr): print(\"???\", attr)\n self.assertTrue(hasattr(obj, attr),\n 'expected hasattr(%r, %r)' % (obj, attr))\n\n\n def assertHaskey(self, obj, key, ignore):\n ''' succeed iff key in obj or key in ignore. '''\n if key in ignore: return\n if key not in obj:\n print(\"***\",key, file=sys.stderr)\n self.assertIn(key, obj)\n\n def assertEqualsOrIgnored(self, a, b, ignore):\n ''' succeed iff a == b or a in ignore or b in ignore '''\n if a not in ignore and b not in ignore:\n self.assertEqual(a, b)\n\n def checkModule(self, moduleName, module=None, ignore=()):\n ''' succeed iff pyclbr.readmodule_ex(modulename) corresponds\n to the actual module object, module. Any identifiers in\n ignore are ignored. If no module is provided, the appropriate\n module is loaded with __import__.'''\n\n ignore = set(ignore) | set(['object'])\n\n if module is None:\n # Import it.\n # ('' is to work around an API silliness in __import__)\n module = __import__(moduleName, globals(), {}, [''])\n\n dict = pyclbr.readmodule_ex(moduleName)\n\n def ismethod(oclass, obj, name):\n classdict = oclass.__dict__\n if isinstance(obj, MethodType):\n # could be a classmethod\n if (not isinstance(classdict[name], ClassMethodType) or\n obj.__self__ is not oclass):\n return False\n elif not isinstance(obj, FunctionType):\n return False\n\n objname = obj.__name__\n if objname.startswith(\"__\") and not objname.endswith(\"__\"):\n objname = \"_%s%s\" % (oclass.__name__, objname)\n return objname == name\n\n # Make sure the toplevel functions and classes are the same.\n for name, value in dict.items():\n if name in ignore:\n continue\n self.assertHasattr(module, name, ignore)\n py_item = getattr(module, name)\n if isinstance(value, pyclbr.Function):\n self.assertIsInstance(py_item, (FunctionType, BuiltinFunctionType))\n if py_item.__module__ != moduleName:\n continue # skip functions that came from somewhere else\n self.assertEqual(py_item.__module__, value.module)\n else:\n self.assertIsInstance(py_item, type)\n if py_item.__module__ != moduleName:\n continue # skip classes that came from somewhere else\n\n real_bases = [base.__name__ for base in py_item.__bases__]\n pyclbr_bases = [ getattr(base, 'name', base)\n for base in value.super ]\n\n try:\n self.assertListEq(real_bases, pyclbr_bases, ignore)\n except:\n print(\"class=%s\" % py_item, file=sys.stderr)\n raise\n\n actualMethods = []\n for m in py_item.__dict__.keys():\n if ismethod(py_item, getattr(py_item, m), m):\n actualMethods.append(m)\n foundMethods = []\n for m in value.methods.keys():\n if m[:2] == '__' and m[-2:] != '__':\n foundMethods.append('_'+name+m)\n else:\n foundMethods.append(m)\n\n try:\n self.assertListEq(foundMethods, actualMethods, ignore)\n self.assertEqual(py_item.__module__, value.module)\n\n self.assertEqualsOrIgnored(py_item.__name__, value.name,\n ignore)\n # can't check file or lineno\n except:\n print(\"class=%s\" % py_item, file=sys.stderr)\n raise\n\n # Now check for missing stuff.\n def defined_in(item, module):\n if isinstance(item, type):\n return item.__module__ == module.__name__\n if isinstance(item, FunctionType):\n return item.__globals__ is module.__dict__\n return False\n for name in dir(module):\n item = getattr(module, name)\n if isinstance(item, (type, FunctionType)):\n if defined_in(item, module):\n self.assertHaskey(dict, name, ignore)\n\n def test_easy(self):\n self.checkModule('pyclbr')\n self.checkModule('ast')\n self.checkModule('doctest', ignore=(\"TestResults\", \"_SpoofOut\",\n \"DocTestCase\", '_DocTestSuite'))\n self.checkModule('difflib', ignore=(\"Match\",))\n\n def test_decorators(self):\n # XXX: See comment in pyclbr_input.py for a test that would fail\n # if it were not commented out.\n #\n self.checkModule('test.pyclbr_input', ignore=['om'])\n\n def test_others(self):\n cm = self.checkModule\n\n # These were once about the 10 longest modules\n cm('random', ignore=('Random',)) # from _random import Random as CoreGenerator\n cm('cgi', ignore=('log',)) # set with = in module\n cm('pickle')\n cm('aifc', ignore=('openfp', '_aifc_params')) # set with = in module\n cm('sre_parse', ignore=('dump',)) # from sre_constants import *\n cm('pdb')\n cm('pydoc')\n\n # Tests for modules inside packages\n cm('email.parser')\n cm('test.test_pyclbr')\n\n def test_issue_14798(self):\n # test ImportError is raised when the first part of a dotted name is\n # not a package\n self.assertRaises(ImportError, pyclbr.readmodule_ex, 'asyncore.foo')\n\n\ndef test_main():\n run_unittest(PyclbrTest)\n\n\nif __name__ == \"__main__\":\n test_main()\n"}
-{"text": "/**\n\nseedrandom.js\n=============\n\nSeeded random number generator for Javascript.\n\nversion 2.3.10\nAuthor: David Bau\nDate: 2014 Sep 20\n\nCan be used as a plain script, a node.js module or an AMD module.\n\nScript tag usage\n----------------\n\n\n\n// Sets Math.random to a PRNG initialized using the given explicit seed.\nMath.seedrandom('hello.');\nconsole.log(Math.random()); // Always 0.9282578795792454\nconsole.log(Math.random()); // Always 0.3752569768646784\n\n// Sets Math.random to an ARC4-based PRNG that is autoseeded using the\n// current time, dom state, and other accumulated local entropy.\n// The generated seed string is returned.\nMath.seedrandom();\nconsole.log(Math.random()); // Reasonably unpredictable.\n\n// Seeds using the given explicit seed mixed with accumulated entropy.\nMath.seedrandom('added entropy.', { entropy: true });\nconsole.log(Math.random()); // As unpredictable as added entropy.\n\n// Use \"new\" to create a local prng without altering Math.random.\nvar myrng = new Math.seedrandom('hello.');\nconsole.log(myrng()); // Always 0.9282578795792454\n\n\nNode.js usage\n-------------\n\nnpm install seedrandom\n\n// Local PRNG: does not affect Math.random.\nvar seedrandom = require('seedrandom');\nvar rng = seedrandom('hello.');\nconsole.log(rng()); // Always 0.9282578795792454\n\n// Autoseeded ARC4-based PRNG.\nrng = seedrandom();\nconsole.log(rng()); // Reasonably unpredictable.\n\n// Global PRNG: set Math.random.\nseedrandom('hello.', { global: true });\nconsole.log(Math.random()); // Always 0.9282578795792454\n\n// Mixing accumulated entropy.\nrng = seedrandom('added entropy.', { entropy: true });\nconsole.log(rng()); // As unpredictable as added entropy.\n\n\nRequire.js usage\n----------------\n\nSimilar to node.js usage:\n\nbower install seedrandom\n\nrequire(['seedrandom'], function(seedrandom) {\n var rng = seedrandom('hello.');\n console.log(rng()); // Always 0.9282578795792454\n});\n\n\nNetwork seeding\n---------------\n\n\n\n\n\n\n\n\n\nReseeding using user input\n--------------------------\n\nvar seed = Math.seedrandom(); // Use prng with an automatic seed.\ndocument.write(Math.random()); // Pretty much unpredictable x.\n\nvar rng = new Math.seedrandom(seed); // A new prng with the same seed.\ndocument.write(rng()); // Repeat the 'unpredictable' x.\n\nfunction reseed(event, count) { // Define a custom entropy collector.\n var t = [];\n function w(e) {\n t.push([e.pageX, e.pageY, +new Date]);\n if (t.length < count) { return; }\n document.removeEventListener(event, w);\n Math.seedrandom(t, { entropy: true });\n }\n document.addEventListener(event, w);\n}\nreseed('mousemove', 100); // Reseed after 100 mouse moves.\n\nThe \"pass\" option can be used to get both the prng and the seed.\nThe following returns both an autoseeded prng and the seed as an object,\nwithout mutating Math.random:\n\nvar obj = Math.seedrandom(null, { pass: function(prng, seed) {\n return { random: prng, seed: seed };\n}});\n\n\nVersion notes\n-------------\n\nThe random number sequence is the same as version 1.0 for string seeds.\n* Version 2.0 changed the sequence for non-string seeds.\n* Version 2.1 speeds seeding and uses window.crypto to autoseed if present.\n* Version 2.2 alters non-crypto autoseeding to sweep up entropy from plugins.\n* Version 2.3 adds support for \"new\", module loading, and a null seed arg.\n* Version 2.3.1 adds a build environment, module packaging, and tests.\n* Version 2.3.4 fixes bugs on IE8, and switches to MIT license.\n* Version 2.3.6 adds a readable options object argument.\n* Version 2.3.10 adds support for node.js crypto (contributed by ctd1500).\n\nThe standard ARC4 key scheduler cycles short keys, which means that\nseedrandom('ab') is equivalent to seedrandom('abab') and 'ababab'.\nTherefore it is a good idea to add a terminator to avoid trivial\nequivalences on short string seeds, e.g., Math.seedrandom(str + '\\0').\nStarting with version 2.0, a terminator is added automatically for\nnon-string seeds, so seeding with the number 111 is the same as seeding\nwith '111\\0'.\n\nWhen seedrandom() is called with zero args or a null seed, it uses a\nseed drawn from the browser crypto object if present. If there is no\ncrypto support, seedrandom() uses the current time, the native rng,\nand a walk of several DOM objects to collect a few bits of entropy.\n\nEach time the one- or two-argument forms of seedrandom are called,\nentropy from the passed seed is accumulated in a pool to help generate\nfuture seeds for the zero- and two-argument forms of seedrandom.\n\nOn speed - This javascript implementation of Math.random() is several\ntimes slower than the built-in Math.random() because it is not native\ncode, but that is typically fast enough. Some details (timings on\nChrome 25 on a 2010 vintage macbook):\n\n* seeded Math.random() - avg less than 0.0002 milliseconds per call\n* seedrandom('explicit.') - avg less than 0.2 milliseconds per call\n* seedrandom('explicit.', true) - avg less than 0.2 milliseconds per call\n* seedrandom() with crypto - avg less than 0.2 milliseconds per call\n\nAutoseeding without crypto is somewhat slower, about 20-30 milliseconds on\na 2012 windows 7 1.5ghz i5 laptop, as seen on Firefox 19, IE 10, and Opera.\nSeeded rng calls themselves are fast across these browsers, with slowest\nnumbers on Opera at about 0.0005 ms per seeded Math.random().\n\n\nLICENSE (MIT)\n-------------\n\nCopyright 2014 David Bau.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n*/\n\n/**\n * All code is in an anonymous closure to keep the global namespace clean.\n */\n(function (\n global, pool, math, width, chunks, digits, module, define, rngname) {\n\n//\n// The following constants are related to IEEE 754 limits.\n//\nvar startdenom = math.pow(width, chunks),\n significance = math.pow(2, digits),\n overflow = significance * 2,\n mask = width - 1,\n nodecrypto;\n\n//\n// seedrandom()\n// This is the seedrandom function described above.\n//\nvar impl = math['seed' + rngname] = function(seed, options, callback) {\n var key = [];\n options = (options == true) ? { entropy: true } : (options || {});\n\n // Flatten the seed string or build one from local entropy if needed.\n var shortseed = mixkey(flatten(\n options.entropy ? [seed, tostring(pool)] :\n (seed == null) ? autoseed() : seed, 3), key);\n\n // Use the seed to initialize an ARC4 generator.\n var arc4 = new ARC4(key);\n\n // Mix the randomness into accumulated entropy.\n mixkey(tostring(arc4.S), pool);\n\n // Calling convention: what to return as a function of prng, seed, is_math.\n return (options.pass || callback ||\n // If called as a method of Math (Math.seedrandom()), mutate Math.random\n // because that is how seedrandom.js has worked since v1.0. Otherwise,\n // it is a newer calling convention, so return the prng directly.\n function(prng, seed, is_math_call) {\n if (is_math_call) { math[rngname] = prng; return seed; }\n else return prng;\n })(\n\n // This function returns a random double in [0, 1) that contains\n // randomness in every bit of the mantissa of the IEEE 754 value.\n function() {\n var n = arc4.g(chunks), // Start with a numerator n < 2 ^ 48\n d = startdenom, // and denominator d = 2 ^ 48.\n x = 0; // and no 'extra last byte'.\n while (n < significance) { // Fill up all significant digits by\n n = (n + x) * width; // shifting numerator and\n d *= width; // denominator and generating a\n x = arc4.g(1); // new least-significant-byte.\n }\n while (n >= overflow) { // To avoid rounding up, before adding\n n /= 2; // last byte, shift everything\n d /= 2; // right using integer math until\n x >>>= 1; // we have exactly the desired bits.\n }\n return (n + x) / d; // Form the number within [0, 1).\n }, shortseed, 'global' in options ? options.global : (this == math));\n};\n\n//\n// ARC4\n//\n// An ARC4 implementation. The constructor takes a key in the form of\n// an array of at most (width) integers that should be 0 <= x < (width).\n//\n// The g(count) method returns a pseudorandom integer that concatenates\n// the next (count) outputs from ARC4. Its return value is a number x\n// that is in the range 0 <= x < (width ^ count).\n//\n/** @constructor */\nfunction ARC4(key) {\n var t, keylen = key.length,\n me = this, i = 0, j = me.i = me.j = 0, s = me.S = [];\n\n // The empty key [] is treated as [0].\n if (!keylen) { key = [keylen++]; }\n\n // Set up S using the standard key scheduling algorithm.\n while (i < width) {\n s[i] = i++;\n }\n for (i = 0; i < width; i++) {\n s[i] = s[j = mask & (j + key[i % keylen] + (t = s[i]))];\n s[j] = t;\n }\n\n // The \"g\" method returns the next (count) outputs as one number.\n (me.g = function(count) {\n // Using instance members instead of closure state nearly doubles speed.\n var t, r = 0,\n i = me.i, j = me.j, s = me.S;\n while (count--) {\n t = s[i = mask & (i + 1)];\n r = r * width + s[mask & ((s[i] = s[j = mask & (j + t)]) + (s[j] = t))];\n }\n me.i = i; me.j = j;\n return r;\n // For robust unpredictability, the function call below automatically\n // discards an initial batch of values. This is called RC4-drop[256].\n // See http://google.com/search?q=rsa+fluhrer+response&btnI\n })(width);\n}\n\n//\n// flatten()\n// Converts an object tree to nested arrays of strings.\n//\nfunction flatten(obj, depth) {\n var result = [], typ = (typeof obj), prop;\n if (depth && typ == 'object') {\n for (prop in obj) {\n try { result.push(flatten(obj[prop], depth - 1)); } catch (e) {}\n }\n }\n return (result.length ? result : typ == 'string' ? obj : obj + '\\0');\n}\n\n//\n// mixkey()\n// Mixes a string seed into a key that is an array of integers, and\n// returns a shortened string seed that is equivalent to the result key.\n//\nfunction mixkey(seed, key) {\n var stringseed = seed + '', smear, j = 0;\n while (j < stringseed.length) {\n key[mask & j] =\n mask & ((smear ^= key[mask & j] * 19) + stringseed.charCodeAt(j++));\n }\n return tostring(key);\n}\n\n//\n// autoseed()\n// Returns an object for autoseeding, using window.crypto if available.\n//\n/** @param {Uint8Array|Navigator=} seed */\nfunction autoseed(seed) {\n try {\n if (nodecrypto) return tostring(nodecrypto.randomBytes(width));\n global.crypto.getRandomValues(seed = new Uint8Array(width));\n return tostring(seed);\n } catch (e) {\n return [+new Date, global, (seed = global.navigator) && seed.plugins,\n global.screen, tostring(pool)];\n }\n}\n\n//\n// tostring()\n// Converts an array of charcodes to a string\n//\nfunction tostring(a) {\n return String.fromCharCode.apply(0, a);\n}\n\n//\n// When seedrandom.js is loaded, we immediately mix a few bits\n// from the built-in RNG into the entropy pool. Because we do\n// not want to interfere with deterministic PRNG state later,\n// seedrandom will not call math.random on its own again after\n// initialization.\n//\nmixkey(math[rngname](), pool);\n\n//\n// Nodejs and AMD support: export the implementation as a module using\n// either convention.\n//\nif (module && module.exports) {\n module.exports = impl;\n try {\n // When in node.js, try using crypto package for autoseeding.\n nodecrypto = require('crypto');\n } catch (ex) {}\n} else if (define && define.amd) {\n define(function() { return impl; });\n}\n\n//\n// Node.js native crypto support.\n//\n\n// End anonymous scope, and pass initial values.\n})(\n this, // global window object\n [], // pool: entropy pool starts empty\n Math, // math: package containing random, pow, and seedrandom\n 256, // width: each RC4 output is 0 <= x < 256\n 6, // chunks: at least six RC4 outputs for each double\n 52, // digits: there are 52 significant digits in a double\n (typeof module) == 'object' && module, // present in node.js\n (typeof define) == 'function' && define, // present with an AMD loader\n 'random'// rngname: name for Math.random and Math.seedrandom\n);"}
-{"text": "# The state of a robot expressed in the Cartesian frame\n\nduration time_from_start # global time along trajectory\n\n# Position, velocity and acceleration of the base expressed in world frame\n# The orientation quaternion maps base to world frame.\nState6d base # base pos/vel/acc in world\n\nStateLin3d[] ee_motion # endeffector pos/vel/acc in world\ngeometry_msgs/Vector3[] ee_forces # endeffector forces expressed in world\nbool[] ee_contact # True if the foot is touching the environment\n\n\n\n"}
-{"text": "extendSocialite('xrel', Provider::class);\n }\n}\n"}
-{"text": "/*\nCopyright The Kubernetes Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\n// Code generated by client-gen. DO NOT EDIT.\n\npackage v1alpha1\n\nimport (\n\tv1alpha1 \"k8s.io/api/discovery/v1alpha1\"\n\t\"k8s.io/client-go/kubernetes/scheme\"\n\trest \"k8s.io/client-go/rest\"\n)\n\ntype DiscoveryV1alpha1Interface interface {\n\tRESTClient() rest.Interface\n\tEndpointSlicesGetter\n}\n\n// DiscoveryV1alpha1Client is used to interact with features provided by the discovery.k8s.io group.\ntype DiscoveryV1alpha1Client struct {\n\trestClient rest.Interface\n}\n\nfunc (c *DiscoveryV1alpha1Client) EndpointSlices(namespace string) EndpointSliceInterface {\n\treturn newEndpointSlices(c, namespace)\n}\n\n// NewForConfig creates a new DiscoveryV1alpha1Client for the given config.\nfunc NewForConfig(c *rest.Config) (*DiscoveryV1alpha1Client, error) {\n\tconfig := *c\n\tif err := setConfigDefaults(&config); err != nil {\n\t\treturn nil, err\n\t}\n\tclient, err := rest.RESTClientFor(&config)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\treturn &DiscoveryV1alpha1Client{client}, nil\n}\n\n// NewForConfigOrDie creates a new DiscoveryV1alpha1Client for the given config and\n// panics if there is an error in the config.\nfunc NewForConfigOrDie(c *rest.Config) *DiscoveryV1alpha1Client {\n\tclient, err := NewForConfig(c)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\treturn client\n}\n\n// New creates a new DiscoveryV1alpha1Client for the given RESTClient.\nfunc New(c rest.Interface) *DiscoveryV1alpha1Client {\n\treturn &DiscoveryV1alpha1Client{c}\n}\n\nfunc setConfigDefaults(config *rest.Config) error {\n\tgv := v1alpha1.SchemeGroupVersion\n\tconfig.GroupVersion = &gv\n\tconfig.APIPath = \"/apis\"\n\tconfig.NegotiatedSerializer = scheme.Codecs.WithoutConversion()\n\n\tif config.UserAgent == \"\" {\n\t\tconfig.UserAgent = rest.DefaultKubernetesUserAgent()\n\t}\n\n\treturn nil\n}\n\n// RESTClient returns a RESTClient that is used to communicate\n// with API server by this client implementation.\nfunc (c *DiscoveryV1alpha1Client) RESTClient() rest.Interface {\n\tif c == nil {\n\t\treturn nil\n\t}\n\treturn c.restClient\n}\n"}
-{"text": "/*\nCopyright 2017 Nia Catlin\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\n#include \"stdafx.h\"\n#include \"headers\\binaryTargets.h\"\n\n//finds container for the target with the specified path - returns false\n//if it doesn't exist, creates it and returns true (new binary target)\nbool binaryTargets::getTargetByPath(boost::filesystem::path path, binaryTarget **target)\n{\n\n\ttargetsLock.lock();\n\n\n\tbinaryTarget* result = NULL;\n\tbool newBinary;\n\tauto it = targets.find(path);\n\tif (it != targets.end()) \n\t{ \n\t\tresult = it->second;\n\t\tnewBinary = false;\n\t}\n\telse\n\t{\n\t\tbinaryTarget *newTarget = new binaryTarget(path.generic_path());\n\t\tresult = targets.emplace(make_pair(path, newTarget)).first->second;\n\n\t\ttargetsList.push_back(result);\n\t\tnewBinary = true;\n\n\t}\n\ttargetsLock.unlock();\n\n\t*target = result;\n\treturn newBinary;\n}\n\nvoid binaryTargets::registerChild(PID_TID parentPID, traceRecord *trace)\n{\n\tvector matchingRecords;\n\n\ttargetsLock.lock();\n\n\tfor (auto tarIt = targets.begin(); tarIt != targets.end(); tarIt++)\n\t{\n\t\ttraceRecord *possibleParentTrace = tarIt->second->getRecordWithPID(parentPID, 0);\n\t\tif (possibleParentTrace)\n\t\t\tmatchingRecords.push_back(possibleParentTrace);\n\t}\n\ttargetsLock.unlock();\n\n\tif (!matchingRecords.empty())\n\t{\n\t\ttraceRecord *mostRecentPossibleParent = matchingRecords.back();\n\t\tmostRecentPossibleParent->children.push_back(trace);\n\t\ttrace->parentTrace = mostRecentPossibleParent;\n\t}\n}\n\nvector binaryTargets::getTargetsList() \n{ \n\tvector tempTargets;\n\ttargetsLock.lock();\n\ttempTargets = targetsList;\n\ttargetsLock.unlock();\n\treturn tempTargets;\n}\n\nvoid binaryTargets::clear()\n{\n\ttargetsLock.lock();\n\ttargets.clear();\n\ttargetsList.clear();\n\tactiveTarget = NULL;\n\ttargetsLock.unlock();\n}"}
-{"text": "module github.com/Microsoft/go-winio\n\ngo 1.12\n\nrequire (\n\tgithub.com/pkg/errors v0.8.1\n\tgithub.com/sirupsen/logrus v1.4.1\n\tgolang.org/x/sys v0.0.0-20190507160741-ecd444e8653b\n)\n"}
-{"text": "module Lowkiq\n class Server\n def self.build(options)\n require options[:require]\n Lowkiq.on_server_init.call\n\n splitter = Lowkiq.build_splitter.call\n shard_handlers_by_thread = splitter.call Lowkiq.shard_handlers\n scheduler = Lowkiq.build_scheduler.call\n new shard_handlers_by_thread, scheduler\n end\n\n def initialize(shard_handlers_by_thread, scheduler)\n @shard_handlers_by_thread = shard_handlers_by_thread\n @scheduler = scheduler\n @threads = []\n end\n\n def start\n Lowkiq.server_redis_pool.with do |redis|\n Script.load! redis\n end\n\n @shard_handlers_by_thread.each do |handlers|\n handlers.each(&:restore)\n end\n\n @threads = @shard_handlers_by_thread.map do |handlers|\n job = @scheduler.build_job handlers\n Thread.new do\n job.call until exit_from_thread?\n end\n end\n end\n\n def stop\n @stopped = true\n end\n\n def join\n @threads.each(&:join)\n end\n\n def exit_from_thread?\n stopped? || failed?\n end\n\n def stopped?\n @stopped\n end\n\n def failed?\n @threads.map(&:status).any? do |status|\n status != \"run\" && status != \"sleep\"\n end\n end\n end\nend\n"}
-{"text": "fileFormatVersion: 2\nguid: fc5c4859e52974c1484129ed74549d03\nMonoImporter:\n externalObjects: {}\n serializedVersion: 2\n defaultReferences: []\n executionOrder: 0\n icon: {instanceID: 0}\n userData: \n assetBundleName: \n assetBundleVariant: \n"}
-{"text": "<% use_js_layout :media %>\n\n\n - \n \n <% if current_user.allow?(:media_dir_create) %>\n <%= link_to(\n button_text(:add),\n skyline_media_dirs_path,\n :remote => true,\n :method => :post,\n :id => \"add_directory\",\n :class => \"button small right\")\n %>\n \n\n <%= t(:directories, :scope => [:media, :dirs, :index]) %>\n <% end %>\n \n
\n - \n
\n <%= render :partial => \"skyline/media/dirs/index\" %>\n
\n \n
\n\n\n <%= render :partial => \"skyline/media/dirs/show\" %>\n
\n\n\n <% if @file %>\n <%= render :partial => \"skyline/media/files/edit\" %>\n <% end %>\n <% if @dir && current_user.allow?(:media_dir_update) %>\n <%= render :partial => \"skyline/media/dirs/edit\" %>\n <% end %>\n
"}
-{"text": "// Copyright 2014 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#include \"components/signin/ios/browser/oauth2_token_service_observer_bridge.h\"\n\nOAuth2TokenServiceObserverBridge::OAuth2TokenServiceObserverBridge(\n OAuth2TokenService* token_service,\n id delegate)\n : token_service_(token_service),\n delegate_(delegate) {\n DCHECK(token_service_);\n token_service_->AddObserver(this);\n}\nOAuth2TokenServiceObserverBridge::~OAuth2TokenServiceObserverBridge() {\n token_service_->RemoveObserver(this);\n}\n\nvoid OAuth2TokenServiceObserverBridge::OnRefreshTokenAvailable(\n const std::string& account_id) {\n if ([delegate_ respondsToSelector:@selector(onRefreshTokenAvailable:)]) {\n [delegate_ onRefreshTokenAvailable:account_id];\n }\n}\n\nvoid OAuth2TokenServiceObserverBridge::OnRefreshTokenRevoked(\n const std::string& account_id) {\n if ([delegate_ respondsToSelector:@selector(onRefreshTokenRevoked:)]) {\n [delegate_ onRefreshTokenRevoked:account_id];\n }\n}\nvoid OAuth2TokenServiceObserverBridge::OnRefreshTokensLoaded() {\n if ([delegate_ respondsToSelector:@selector(onRefreshTokensLoaded)]) {\n [delegate_ onRefreshTokensLoaded];\n }\n}\nvoid OAuth2TokenServiceObserverBridge::OnStartBatchChanges() {\n if ([delegate_ respondsToSelector:@selector(onStartBatchChanges)]) {\n [delegate_ onStartBatchChanges];\n }\n\n}\n\nvoid OAuth2TokenServiceObserverBridge::OnEndBatchChanges() {\n if ([delegate_ respondsToSelector:@selector(onEndBatchChanges)]) {\n [delegate_ onEndBatchChanges];\n }\n}\n"}
-{"text": "---\ndescription: \"Compiler Error CS1034\"\ntitle: \"Compiler Error CS1034\"\nms.date: 07/20/2015\nf1_keywords: \n - \"CS1034\"\nhelpviewer_keywords: \n - \"CS1034\"\nms.assetid: 07edf234-92c6-42de-a140-8e9964fcfe71\n---\n# Compiler Error CS1034\n\nCompiler limit exceeded: Line cannot exceed 'number' characters \n \n The limit for the number of characters allowed on a line is 16,777,214.\n"}
-{"text": "\n\n\n\n\tBuildVersion\n\t1\n\tCFBundleShortVersionString\n\t1.0\n\tCFBundleVersion\n\t1.0\n\tProjectName\n\tDevToolsWizardTemplates\n\tSourceVersion\n\t3070000\n\n\n"}
-{"text": "\n\n\n\n \n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n\n\n"}
-{"text": "\n\n \n \n\n"}
-{"text": "#include \"clear.hpp\"\n#include \n\nnamespace gli\n{\n\ttemplate \n\tinline sampler2d::sampler2d(texture_type const & Texture, wrap Wrap, filter Mip, filter Min, texel_type const & BorderColor)\n\t\t: sampler(Wrap, Texture.levels() > 1 ? Mip : FILTER_NEAREST, Min)\n\t\t, Texture(Texture)\n\t\t, Convert(detail::convert::call(this->Texture.format()))\n\t\t, BorderColor(BorderColor)\n\t\t, Filter(detail::get_filter(Mip, Min, is_border(Wrap)))\n\t{\n\t\tGLI_ASSERT(!Texture.empty());\n\t\tGLI_ASSERT(!is_compressed(Texture.format()));\n\t\tGLI_ASSERT((!std::numeric_limits::is_iec559 && Mip == FILTER_NEAREST && Min == FILTER_NEAREST) || std::numeric_limits::is_iec559);\n\t}\n\n\ttemplate \n\tinline typename sampler2d::texture_type const & sampler2d::operator()() const\n\t{\n\t\treturn this->Texture;\n\t}\n\n\ttemplate \n\tinline typename sampler2d::texel_type sampler2d::texel_fetch(extent_type const & TexelCoord, size_type const & Level) const\n\t{\n\t\tGLI_ASSERT(!this->Texture.empty());\n\t\tGLI_ASSERT(this->Convert.Fetch);\n\n\t\treturn this->Convert.Fetch(this->Texture, TexelCoord, 0, 0, Level);\n\t}\n\n\ttemplate \n\tinline void sampler2d::texel_write(extent_type const & TexelCoord, size_type const & Level, texel_type const & Texel)\n\t{\n\t\tGLI_ASSERT(!this->Texture.empty());\n\t\tGLI_ASSERT(this->Convert.Write);\n\n\t\tthis->Convert.Write(this->Texture, TexelCoord, 0, 0, Level, Texel);\n\t}\n\n\ttemplate \n\tinline void sampler2d::clear(texel_type const & Color)\n\t{\n\t\tGLI_ASSERT(!this->Texture.empty());\n\t\tGLI_ASSERT(this->Convert.Write);\n\n\t\tdetail::clear::call(this->Texture, this->Convert.Write, Color);\n\t}\n\n\ttemplate \n\tinline typename sampler2d::texel_type sampler2d::texture_lod(normalized_type const & SampleCoord, level_type Level) const\n\t{\n\t\tGLI_ASSERT(!this->Texture.empty());\n\t\tGLI_ASSERT(std::numeric_limits::is_iec559);\n\t\tGLI_ASSERT(this->Filter && this->Convert.Fetch);\n\n\t\tnormalized_type const SampleCoordWrap(this->Wrap(SampleCoord.x), this->Wrap(SampleCoord.y));\n\t\treturn this->Filter(this->Texture, this->Convert.Fetch, SampleCoordWrap, size_type(0), size_type(0), Level, this->BorderColor);\n\t}\n\n\ttemplate \n\tinline void sampler2d::generate_mipmaps(filter Minification)\n\t{\n\t\tthis->generate_mipmaps(this->Texture.base_level(), this->Texture.max_level(), Minification);\n\t}\n\n\ttemplate \n\tinline void sampler2d::generate_mipmaps(size_type BaseLevel, size_type MaxLevel, filter Minification)\n\t{\n\t\tGLI_ASSERT(!this->Texture.empty());\n\t\tGLI_ASSERT(!is_compressed(this->Texture.format()));\n\t\tGLI_ASSERT(this->Texture.base_level() <= BaseLevel && BaseLevel <= MaxLevel && MaxLevel <= this->Texture.max_level());\n\t\tGLI_ASSERT(this->Convert.Fetch && this->Convert.Write);\n\t\tGLI_ASSERT(Minification >= FILTER_FIRST && Minification <= FILTER_LAST);\n\n\t\tdetail::generate_mipmaps_2d(\n\t\t\tthis->Texture, this->Convert.Fetch, this->Convert.Write, 0, 0, 0, 0, BaseLevel, MaxLevel, Minification);\n\t}\n}//namespace gli\n\n"}
-{"text": "// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n mod(require(\"../lib/codemirror\"));\n else if (typeof define == \"function\" && define.amd) // AMD\n define([\"../lib/codemirror\"], mod);\n else // Plain browser env\n mod(CodeMirror);\n})(function(CodeMirror) {\n \"use strict\";\n\n CodeMirror.modeInfo = [\n {name: \"APL\", mime: \"text/apl\", mode: \"apl\", ext: [\"dyalog\", \"apl\"]},\n {name: \"Asterisk\", mime: \"text/x-asterisk\", mode: \"asterisk\", file: /^extensions\\.conf$/i},\n {name: \"C\", mime: \"text/x-csrc\", mode: \"clike\", ext: [\"c\", \"h\"]},\n {name: \"C++\", mime: \"text/x-c++src\", mode: \"clike\", ext: [\"cpp\", \"c++\", \"cc\", \"cxx\", \"hpp\", \"h++\", \"hh\", \"hxx\"], alias: [\"cpp\"]},\n {name: \"Cobol\", mime: \"text/x-cobol\", mode: \"cobol\", ext: [\"cob\", \"cpy\"]},\n {name: \"C#\", mime: \"text/x-csharp\", mode: \"clike\", ext: [\"cs\"], alias: [\"csharp\"]},\n {name: \"Clojure\", mime: \"text/x-clojure\", mode: \"clojure\", ext: [\"clj\"]},\n {name: \"CoffeeScript\", mime: \"text/x-coffeescript\", mode: \"coffeescript\", ext: [\"coffee\"], alias: [\"coffee\", \"coffee-script\"]},\n {name: \"Common Lisp\", mime: \"text/x-common-lisp\", mode: \"commonlisp\", ext: [\"cl\", \"lisp\", \"el\"], alias: [\"lisp\"]},\n {name: \"Cypher\", mime: \"application/x-cypher-query\", mode: \"cypher\", ext: [\"cyp\", \"cypher\"]},\n {name: \"Cython\", mime: \"text/x-cython\", mode: \"python\", ext: [\"pyx\", \"pxd\", \"pxi\"]},\n {name: \"CSS\", mime: \"text/css\", mode: \"css\", ext: [\"css\"]},\n {name: \"CQL\", mime: \"text/x-cassandra\", mode: \"sql\", ext: [\"cql\"]},\n {name: \"D\", mime: \"text/x-d\", mode: \"d\", ext: [\"d\"]},\n {name: \"Dart\", mimes: [\"application/dart\", \"text/x-dart\"], mode: \"dart\", ext: [\"dart\"]},\n {name: \"diff\", mime: \"text/x-diff\", mode: \"diff\", ext: [\"diff\", \"patch\"]},\n {name: \"Django\", mime: \"text/x-django\", mode: \"django\"},\n {name: \"Dockerfile\", mime: \"text/x-dockerfile\", mode: \"dockerfile\", file: /^Dockerfile$/},\n {name: \"DTD\", mime: \"application/xml-dtd\", mode: \"dtd\", ext: [\"dtd\"]},\n {name: \"Dylan\", mime: \"text/x-dylan\", mode: \"dylan\", ext: [\"dylan\", \"dyl\", \"intr\"]},\n {name: \"EBNF\", mime: \"text/x-ebnf\", mode: \"ebnf\"},\n {name: \"ECL\", mime: \"text/x-ecl\", mode: \"ecl\", ext: [\"ecl\"]},\n {name: \"Eiffel\", mime: \"text/x-eiffel\", mode: \"eiffel\", ext: [\"e\"]},\n {name: \"Embedded Javascript\", mime: \"application/x-ejs\", mode: \"htmlembedded\", ext: [\"ejs\"]},\n {name: \"Embedded Ruby\", mime: \"application/x-erb\", mode: \"htmlembedded\", ext: [\"erb\"]},\n {name: \"Erlang\", mime: \"text/x-erlang\", mode: \"erlang\", ext: [\"erl\"]},\n {name: \"Forth\", mime: \"text/x-forth\", mode: \"forth\", ext: [\"forth\", \"fth\", \"4th\"]},\n {name: \"Fortran\", mime: \"text/x-fortran\", mode: \"fortran\", ext: [\"f\", \"for\", \"f77\", \"f90\"]},\n {name: \"F#\", mime: \"text/x-fsharp\", mode: \"mllike\", ext: [\"fs\"], alias: [\"fsharp\"]},\n {name: \"Gas\", mime: \"text/x-gas\", mode: \"gas\", ext: [\"s\"]},\n {name: \"Gherkin\", mime: \"text/x-feature\", mode: \"gherkin\", ext: [\"feature\"]},\n {name: \"GitHub Flavored Markdown\", mime: \"text/x-gfm\", mode: \"gfm\", file: /^(readme|contributing|history).md$/i},\n {name: \"Go\", mime: \"text/x-go\", mode: \"go\", ext: [\"go\"]},\n {name: \"Groovy\", mime: \"text/x-groovy\", mode: \"groovy\", ext: [\"groovy\"]},\n {name: \"HAML\", mime: \"text/x-haml\", mode: \"haml\", ext: [\"haml\"]},\n {name: \"Haskell\", mime: \"text/x-haskell\", mode: \"haskell\", ext: [\"hs\"]},\n {name: \"Haxe\", mime: \"text/x-haxe\", mode: \"haxe\", ext: [\"hx\"]},\n {name: \"HXML\", mime: \"text/x-hxml\", mode: \"haxe\", ext: [\"hxml\"]},\n {name: \"ASP.NET\", mime: \"application/x-aspx\", mode: \"htmlembedded\", ext: [\"aspx\"], alias: [\"asp\", \"aspx\"]},\n {name: \"HTML\", mime: \"text/html\", mode: \"htmlmixed\", ext: [\"html\", \"htm\"], alias: [\"xhtml\"]},\n {name: \"HTTP\", mime: \"message/http\", mode: \"http\"},\n {name: \"IDL\", mime: \"text/x-idl\", mode: \"idl\", ext: [\"pro\"]},\n {name: \"Jade\", mime: \"text/x-jade\", mode: \"jade\", ext: [\"jade\"]},\n {name: \"Java\", mime: \"text/x-java\", mode: \"clike\", ext: [\"java\"]},\n {name: \"Java Server Pages\", mime: \"application/x-jsp\", mode: \"htmlembedded\", ext: [\"jsp\"], alias: [\"jsp\"]},\n {name: \"JavaScript\", mimes: [\"text/javascript\", \"text/ecmascript\", \"application/javascript\", \"application/x-javascript\", \"application/ecmascript\"],\n mode: \"javascript\", ext: [\"js\"], alias: [\"ecmascript\", \"js\", \"node\"]},\n {name: \"JSON\", mimes: [\"application/json\", \"application/x-json\"], mode: \"javascript\", ext: [\"json\", \"map\"], alias: [\"json5\"]},\n {name: \"JSON-LD\", mime: \"application/ld+json\", mode: \"javascript\", ext: [\"jsonld\"], alias: [\"jsonld\"]},\n {name: \"Jinja2\", mime: \"null\", mode: \"jinja2\"},\n {name: \"Julia\", mime: \"text/x-julia\", mode: \"julia\", ext: [\"jl\"]},\n {name: \"Kotlin\", mime: \"text/x-kotlin\", mode: \"kotlin\", ext: [\"kt\"]},\n {name: \"LESS\", mime: \"text/x-less\", mode: \"css\", ext: [\"less\"]},\n {name: \"LiveScript\", mime: \"text/x-livescript\", mode: \"livescript\", ext: [\"ls\"], alias: [\"ls\"]},\n {name: \"Lua\", mime: \"text/x-lua\", mode: \"lua\", ext: [\"lua\"]},\n {name: \"Markdown\", mime: \"text/x-markdown\", mode: \"markdown\", ext: [\"markdown\", \"md\", \"mkd\"]},\n {name: \"mIRC\", mime: \"text/mirc\", mode: \"mirc\"},\n {name: \"MariaDB SQL\", mime: \"text/x-mariadb\", mode: \"sql\"},\n {name: \"Modelica\", mime: \"text/x-modelica\", mode: \"modelica\", ext: [\"mo\"]},\n {name: \"MS SQL\", mime: \"text/x-mssql\", mode: \"sql\"},\n {name: \"MySQL\", mime: \"text/x-mysql\", mode: \"sql\"},\n {name: \"Nginx\", mime: \"text/x-nginx-conf\", mode: \"nginx\", file: /nginx.*\\.conf$/i},\n {name: \"NTriples\", mime: \"text/n-triples\", mode: \"ntriples\", ext: [\"nt\"]},\n {name: \"Objective C\", mime: \"text/x-objectivec\", mode: \"clike\", ext: [\"m\", \"mm\"]},\n {name: \"OCaml\", mime: \"text/x-ocaml\", mode: \"mllike\", ext: [\"ml\", \"mli\", \"mll\", \"mly\"]},\n {name: \"Octave\", mime: \"text/x-octave\", mode: \"octave\", ext: [\"m\"]},\n {name: \"Pascal\", mime: \"text/x-pascal\", mode: \"pascal\", ext: [\"p\", \"pas\"]},\n {name: \"PEG.js\", mime: \"null\", mode: \"pegjs\", ext: [\"jsonld\"]},\n {name: \"Perl\", mime: \"text/x-perl\", mode: \"perl\", ext: [\"pl\", \"pm\"]},\n {name: \"PHP\", mime: \"application/x-httpd-php\", mode: \"php\", ext: [\"php\", \"php3\", \"php4\", \"php5\", \"phtml\"]},\n {name: \"Pig\", mime: \"text/x-pig\", mode: \"pig\", ext: [\"pig\"]},\n {name: \"Plain Text\", mime: \"text/plain\", mode: \"null\", ext: [\"txt\", \"text\", \"conf\", \"def\", \"list\", \"log\"]},\n {name: \"PLSQL\", mime: \"text/x-plsql\", mode: \"sql\", ext: [\"pls\"]},\n {name: \"Properties files\", mime: \"text/x-properties\", mode: \"properties\", ext: [\"properties\", \"ini\", \"in\"], alias: [\"ini\", \"properties\"]},\n {name: \"Python\", mime: \"text/x-python\", mode: \"python\", ext: [\"py\", \"pyw\"]},\n {name: \"Puppet\", mime: \"text/x-puppet\", mode: \"puppet\", ext: [\"pp\"]},\n {name: \"Q\", mime: \"text/x-q\", mode: \"q\", ext: [\"q\"]},\n {name: \"R\", mime: \"text/x-rsrc\", mode: \"r\", ext: [\"r\"], alias: [\"rscript\"]},\n {name: \"reStructuredText\", mime: \"text/x-rst\", mode: \"rst\", ext: [\"rst\"], alias: [\"rst\"]},\n {name: \"RPM Changes\", mime: \"text/x-rpm-changes\", mode: \"rpm\"},\n {name: \"RPM Spec\", mime: \"text/x-rpm-spec\", mode: \"rpm\", ext: [\"spec\"]},\n {name: \"Ruby\", mime: \"text/x-ruby\", mode: \"ruby\", ext: [\"rb\"], alias: [\"jruby\", \"macruby\", \"rake\", \"rb\", \"rbx\"]},\n {name: \"Rust\", mime: \"text/x-rustsrc\", mode: \"rust\", ext: [\"rs\"]},\n {name: \"Sass\", mime: \"text/x-sass\", mode: \"sass\", ext: [\"sass\"]},\n {name: \"Scala\", mime: \"text/x-scala\", mode: \"clike\", ext: [\"scala\"]},\n {name: \"Scheme\", mime: \"text/x-scheme\", mode: \"scheme\", ext: [\"scm\", \"ss\"]},\n {name: \"SCSS\", mime: \"text/x-scss\", mode: \"css\", ext: [\"scss\"]},\n {name: \"Shell\", mime: \"text/x-sh\", mode: \"shell\", ext: [\"sh\", \"ksh\", \"bash\"], alias: [\"bash\", \"sh\", \"zsh\"]},\n {name: \"Sieve\", mime: \"application/sieve\", mode: \"sieve\", ext: [\"siv\", \"sieve\"]},\n {name: \"Slim\", mimes: [\"text/x-slim\", \"application/x-slim\"], mode: \"slim\", ext: [\"slim\"]},\n {name: \"Smalltalk\", mime: \"text/x-stsrc\", mode: \"smalltalk\", ext: [\"st\"]},\n {name: \"Smarty\", mime: \"text/x-smarty\", mode: \"smarty\", ext: [\"tpl\"]},\n {name: \"SmartyMixed\", mime: \"text/x-smarty\", mode: \"smartymixed\"},\n {name: \"Solr\", mime: \"text/x-solr\", mode: \"solr\"},\n {name: \"Soy\", mime: \"text/x-soy\", mode: \"soy\", ext: [\"soy\"], alias: [\"closure template\"]},\n {name: \"SPARQL\", mime: \"application/sparql-query\", mode: \"sparql\", ext: [\"rq\", \"sparql\"], alias: [\"sparul\"]},\n {name: \"Spreadsheet\", mime: \"text/x-spreadsheet\", mode: \"spreadsheet\", alias: [\"excel\", \"formula\"]},\n {name: \"SQL\", mime: \"text/x-sql\", mode: \"sql\", ext: [\"sql\"]},\n {name: \"MariaDB\", mime: \"text/x-mariadb\", mode: \"sql\"},\n {name: \"sTeX\", mime: \"text/x-stex\", mode: \"stex\"},\n {name: \"LaTeX\", mime: \"text/x-latex\", mode: \"stex\", ext: [\"text\", \"ltx\"], alias: [\"tex\"]},\n {name: \"SystemVerilog\", mime: \"text/x-systemverilog\", mode: \"verilog\", ext: [\"v\"]},\n {name: \"Tcl\", mime: \"text/x-tcl\", mode: \"tcl\", ext: [\"tcl\"]},\n {name: \"Textile\", mime: \"text/x-textile\", mode: \"textile\", ext: [\"textile\"]},\n {name: \"TiddlyWiki \", mime: \"text/x-tiddlywiki\", mode: \"tiddlywiki\"},\n {name: \"Tiki wiki\", mime: \"text/tiki\", mode: \"tiki\"},\n {name: \"TOML\", mime: \"text/x-toml\", mode: \"toml\", ext: [\"toml\"]},\n {name: \"Tornado\", mime: \"text/x-tornado\", mode: \"tornado\"},\n {name: \"Turtle\", mime: \"text/turtle\", mode: \"turtle\", ext: [\"ttl\"]},\n {name: \"TypeScript\", mime: \"application/typescript\", mode: \"javascript\", ext: [\"ts\"], alias: [\"ts\"]},\n {name: \"VB.NET\", mime: \"text/x-vb\", mode: \"vb\", ext: [\"vb\"]},\n {name: \"VBScript\", mime: \"text/vbscript\", mode: \"vbscript\", ext: [\"vbs\"]},\n {name: \"Velocity\", mime: \"text/velocity\", mode: \"velocity\", ext: [\"vtl\"]},\n {name: \"Verilog\", mime: \"text/x-verilog\", mode: \"verilog\", ext: [\"v\"]},\n {name: \"XML\", mimes: [\"application/xml\", \"text/xml\"], mode: \"xml\", ext: [\"xml\", \"xsl\", \"xsd\"], alias: [\"rss\", \"wsdl\", \"xsd\"]},\n {name: \"XQuery\", mime: \"application/xquery\", mode: \"xquery\", ext: [\"xy\", \"xquery\"]},\n {name: \"YAML\", mime: \"text/x-yaml\", mode: \"yaml\", ext: [\"yaml\"], alias: [\"yml\"]},\n {name: \"Z80\", mime: \"text/x-z80\", mode: \"z80\", ext: [\"z80\"]}\n ];\n // Ensure all modes have a mime property for backwards compatibility\n for (var i = 0; i < CodeMirror.modeInfo.length; i++) {\n var info = CodeMirror.modeInfo[i];\n if (info.mimes) info.mime = info.mimes[0];\n }\n\n CodeMirror.findModeByMIME = function(mime) {\n mime = mime.toLowerCase();\n for (var i = 0; i < CodeMirror.modeInfo.length; i++) {\n var info = CodeMirror.modeInfo[i];\n if (info.mime == mime) return info;\n if (info.mimes) for (var j = 0; j < info.mimes.length; j++)\n if (info.mimes[j] == mime) return info;\n }\n };\n\n CodeMirror.findModeByExtension = function(ext) {\n for (var i = 0; i < CodeMirror.modeInfo.length; i++) {\n var info = CodeMirror.modeInfo[i];\n if (info.ext) for (var j = 0; j < info.ext.length; j++)\n if (info.ext[j] == ext) return info;\n }\n };\n\n CodeMirror.findModeByFileName = function(filename) {\n for (var i = 0; i < CodeMirror.modeInfo.length; i++) {\n var info = CodeMirror.modeInfo[i];\n if (info.file && info.file.test(filename)) return info;\n }\n var dot = filename.lastIndexOf(\".\");\n var ext = dot > -1 && filename.substring(dot + 1, filename.length);\n if (ext) return CodeMirror.findModeByExtension(ext);\n };\n\n CodeMirror.findModeByName = function(name) {\n name = name.toLowerCase();\n for (var i = 0; i < CodeMirror.modeInfo.length; i++) {\n var info = CodeMirror.modeInfo[i];\n if (info.name.toLowerCase() == name) return info;\n if (info.alias) for (var j = 0; j < info.alias.length; j++)\n if (info.alias[j].toLowerCase() == name) return info;\n }\n };\n});\n"}
-{"text": "import { identity } from '../util/identity';\nimport { wrapWithAbort } from './operators/withabort';\n\n// eslint-disable-next-line @typescript-eslint/no-empty-function\nconst NEVER_PROMISE = new Promise(() => {});\n\ntype MergeResult = { value: T; index: number };\n\nfunction wrapPromiseWithIndex(promise: Promise, index: number) {\n return promise.then((value) => ({ value, index })) as Promise>;\n}\n\n/**\n * Runs all specified async-iterable sequences in parallel and collects their last elements.\n *\n * @export\n * @template T The type of the elements in the first source sequence.\n * @template T2 The type of the elements in the second source sequence.\n * @param {AsyncIterable} source First async-iterable source.\n * @param {AsyncIterable} source2 Second async-iterable source.\n * @returns {(Promise<[T, T2] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences.\n */\nexport function forkJoin(\n source: AsyncIterable,\n source2: AsyncIterable\n): Promise<[T, T2] | undefined>;\n/**\n * Runs all specified async-iterable sequences in parallel and collects their last elements.\n *\n * @export\n * @template T The type of the elements in the first source sequence.\n * @template T2 The type of the elements in the second source sequence.\n * @template T3 The type of the elements in the third source sequence.\n * @param {AsyncIterable} source First async-iterable source.\n * @param {AsyncIterable} source2 Second async-iterable source.\n * @param {AsyncIterable} source3 Third async-iterable source.\n * @returns {(Promise<[T, T2, T3] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences.\n */\nexport function forkJoin(\n source: AsyncIterable,\n source2: AsyncIterable,\n source3: AsyncIterable\n): Promise<[T, T2, T3] | undefined>;\n/**\n * Runs all specified async-iterable sequences in parallel and collects their last elements.\n *\n * @export\n * @template T The type of the elements in the first source sequence.\n * @template T2 The type of the elements in the second source sequence.\n * @template T3 The type of the elements in the third source sequence.\n * @template T4 The type of the elements in the fourth source sequence.\n * @param {AsyncIterable} source First async-iterable source.\n * @param {AsyncIterable} source2 Second async-iterable source.\n * @param {AsyncIterable} source3 Third async-iterable source.\n * @param {AsyncIterable} source4 Fourth async-iterable source.\n * @returns {(Promise<[T, T2, T3, T4] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences.\n */\nexport function forkJoin(\n source: AsyncIterable,\n source2: AsyncIterable,\n source3: AsyncIterable,\n source4: AsyncIterable\n): Promise<[T, T2, T3, T4] | undefined>;\n/**\n * Runs all specified async-iterable sequences in parallel and collects their last elements.\n *\n * @export\n * @template T The type of the elements in the first source sequence.\n * @template T2 The type of the elements in the second source sequence.\n * @template T3 The type of the elements in the third source sequence.\n * @template T4 The type of the elements in the fourth source sequence.\n * @template T5 The type of the elements in the fifth source sequence.\n * @param {AsyncIterable} source First async-iterable source.\n * @param {AsyncIterable} source2 Second async-iterable source.\n * @param {AsyncIterable} source3 Third async-iterable source.\n * @param {AsyncIterable} source4 Fourth async-iterable source.\n * @param {AsyncIterable} source5 Fifth async-iterable source.\n * @returns {(Promise<[T, T2, T3, T4, T5] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences.\n */\nexport function forkJoin(\n source: AsyncIterable,\n source2: AsyncIterable,\n source3: AsyncIterable,\n source4: AsyncIterable,\n source5: AsyncIterable\n): Promise<[T, T2, T3, T4, T5] | undefined>;\n/**\n * Runs all specified async-iterable sequences in parallel and collects their last elements.\n *\n * @export\n * @template T The type of the elements in the first source sequence.\n * @template T2 The type of the elements in the second source sequence.\n * @template T3 The type of the elements in the third source sequence.\n * @template T4 The type of the elements in the fourth source sequence.\n * @template T5 The type of the elements in the fifth source sequence.\n * @template T6 The type of the elements in the sixth source sequence.\n * @param {AsyncIterable} source First async-iterable source.\n * @param {AsyncIterable} source2 Second async-iterable source.\n * @param {AsyncIterable} source3 Third async-iterable source.\n * @param {AsyncIterable} source4 Fourth async-iterable source.\n * @param {AsyncIterable} source5 Fifth async-iterable source.\n * @param {AsyncIterable} source6 Sixth async-iterable source.\n * @returns {(Promise<[T, T2, T3, T4, T5, T6] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences.\n */\nexport function forkJoin(\n source: AsyncIterable,\n source2: AsyncIterable,\n source3: AsyncIterable,\n source4: AsyncIterable,\n source5: AsyncIterable,\n source6: AsyncIterable\n): Promise<[T, T2, T3, T4, T5, T6] | undefined>;\n\n/**\n * Runs all specified async-iterable sequences in parallel and collects their last elements.\n *\n * @export\n * @template T The type of the elements in the first source sequence.\n * @param {AbortSignal} signal An abort signal used for cancellation at any time.\n * @param {AsyncIterable} source First async-iterable source.\n * @returns {(Promise<[T] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences.\n */\nexport function forkJoin(\n signal: AbortSignal,\n source: AsyncIterable\n): Promise<[T] | undefined>;\n/**\n * Runs all specified async-iterable sequences in parallel and collects their last elements.\n *\n * @export\n * @template T The type of the elements in the first source sequence.\n * @template T2 The type of the elements in the second source sequence.\n * @param {AbortSignal} signal An abort signal used for cancellation at any time.\n * @param {AsyncIterable} source First async-iterable source.\n * @param {AsyncIterable} source2 Second async-iterable source.\n * @returns {(Promise<[T, T2] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences.\n */\nexport function forkJoin(\n signal: AbortSignal,\n source: AsyncIterable,\n source2: AsyncIterable\n): Promise<[T, T2] | undefined>;\n/**\n * Runs all specified async-iterable sequences in parallel and collects their last elements.\n *\n * @export\n * @template T The type of the elements in the first source sequence.\n * @template T2 The type of the elements in the second source sequence.\n * @template T3 The type of the elements in the third source sequence.\n * @param {AbortSignal} signal An abort signal used for cancellation at any time.\n * @param {AsyncIterable} source First async-iterable source.\n * @param {AsyncIterable} source2 Second async-iterable source.\n * @param {AsyncIterable} source3 Third async-iterable source.\n * @returns {(Promise<[T, T2, T3] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences.\n */\nexport function forkJoin(\n signal: AbortSignal,\n source: AsyncIterable,\n source2: AsyncIterable,\n source3: AsyncIterable\n): Promise<[T, T2, T3] | undefined>;\n/**\n * Runs all specified async-iterable sequences in parallel and collects their last elements.\n *\n * @export\n * @template T The type of the elements in the first source sequence.\n * @template T2 The type of the elements in the second source sequence.\n * @template T3 The type of the elements in the third source sequence.\n * @template T4 The type of the elements in the fourth source sequence.\n * @param {AbortSignal} signal An abort signal used for cancellation at any time.\n * @param {AsyncIterable} source First async-iterable source.\n * @param {AsyncIterable} source2 Second async-iterable source.\n * @param {AsyncIterable} source3 Third async-iterable source.\n * @param {AsyncIterable} source4 Fourth async-iterable source.\n * @returns {(Promise<[T, T2, T3, T4] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences.\n */\nexport function forkJoin(\n signal: AbortSignal,\n source: AsyncIterable,\n source2: AsyncIterable,\n source3: AsyncIterable,\n source4: AsyncIterable\n): Promise<[T, T2, T3, T4] | undefined>;\n/**\n * Runs all specified async-iterable sequences in parallel and collects their last elements.\n *\n * @export\n * @template T The type of the elements in the first source sequence.\n * @template T2 The type of the elements in the second source sequence.\n * @template T3 The type of the elements in the third source sequence.\n * @template T4 The type of the elements in the fourth source sequence.\n * @template T5 The type of the elements in the fifth source sequence.\n * @param {AbortSignal} signal An abort signal used for cancellation at any time.\n * @param {AsyncIterable} source First async-iterable source.\n * @param {AsyncIterable} source2 Second async-iterable source.\n * @param {AsyncIterable} source3 Third async-iterable source.\n * @param {AsyncIterable} source4 Fourth async-iterable source.\n * @param {AsyncIterable} source5 Fifth async-iterable source.\n * @returns {(Promise<[T, T2, T3, T4, T5] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences.\n */\nexport function forkJoin(\n signal: AbortSignal,\n source: AsyncIterable,\n source2: AsyncIterable,\n source3: AsyncIterable,\n source4: AsyncIterable,\n source5: AsyncIterable\n): Promise<[T, T2, T3, T4, T5] | undefined>;\n/**\n * Runs all specified async-iterable sequences in parallel and collects their last elements.\n *\n * @export\n * @template T The type of the elements in the first source sequence.\n * @template T2 The type of the elements in the second source sequence.\n * @template T3 The type of the elements in the third source sequence.\n * @template T4 The type of the elements in the fourth source sequence.\n * @template T5 The type of the elements in the fifth source sequence.\n * @template T6 The type of the elements in the sixth source sequence.\n * @param {AbortSignal} signal An abort signal used for cancellation at any time.\n * @param {AsyncIterable} source First async-iterable source.\n * @param {AsyncIterable} source2 Second async-iterable source.\n * @param {AsyncIterable} source3 Third async-iterable source.\n * @param {AsyncIterable} source4 Fourth async-iterable source.\n * @param {AsyncIterable} source5 Fifth async-iterable source.\n * @param {AsyncIterable} source6 Sixth async-iterable source.\n * @returns {(Promise<[T, T2, T3, T4, T5, T6] | undefined>)} An async-iterable sequence with an array of all the last elements of all sequences.\n */\nexport function forkJoin(\n signal: AbortSignal,\n source: AsyncIterable,\n source2: AsyncIterable,\n source3: AsyncIterable,\n source4: AsyncIterable,\n source5: AsyncIterable,\n source6: AsyncIterable\n): Promise<[T, T2, T3, T4, T5, T6] | undefined>;\n\n/**\n * Runs all specified async-iterable sequences in parallel and collects their last elements.\n *\n * @export\n * @template T The type of the elements in the source sequences.\n * @param {...AsyncIterable[]} sources The source sequences.\n * @returns {(Promise)} An async-iterable sequence with an array of all the last elements of all sequences.\n */\nexport function forkJoin(...sources: AsyncIterable[]): Promise;\n\n/**\n * Runs all specified async-iterable sequences in parallel and collects their last elements.\n *\n * @export\n * @template T The type of the elements in the source sequences.\n * @param {AbortSignal} signal An abort signal used for cancellation at any time.\n * @param {...AsyncIterable[]} sources The source sequences.\n * @returns {(Promise)} An async-iterable sequence with an array of all the last elements of all sequences.\n */\nexport function forkJoin(\n signal: AbortSignal,\n ...sources: AsyncIterable[]\n): Promise;\n\n/**\n * Runs all specified async-iterable sequences in parallel and collects their last elements.\n *\n * @export\n * @template T The type of the elements in the source sequences.\n * @param {...any[]} sources Async-iterable sequence to collect the last elements for.\n * @returns {(Promise)} An async-iterable sequence with an array of all the last elements of all sequences.\n */\nexport async function forkJoin(...sources: any[]): Promise {\n let signal = sources.shift() as AbortSignal | undefined;\n if (!(signal instanceof AbortSignal)) {\n sources.unshift(signal);\n signal = undefined;\n }\n\n const length = sources.length;\n const iterators = new Array>(length);\n const nexts = new Array>>>(length);\n\n let active = length;\n const values = new Array(length);\n const hasValues = new Array(length);\n hasValues.fill(false);\n\n for (let i = 0; i < length; i++) {\n const iterator = wrapWithAbort(sources[i], signal)[Symbol.asyncIterator]();\n iterators[i] = iterator;\n nexts[i] = wrapPromiseWithIndex(iterator.next(), i);\n }\n\n while (active > 0) {\n const next = Promise.race(nexts);\n const { value: next$, index } = await next;\n if (next$.done) {\n nexts[index] = >>>NEVER_PROMISE;\n active--;\n } else {\n const iterator$ = iterators[index];\n nexts[index] = wrapPromiseWithIndex(iterator$.next(), index);\n hasValues[index] = true;\n values[index] = next$.value;\n }\n }\n\n if (hasValues.length > 0 && hasValues.every(identity)) {\n return values;\n }\n\n return undefined;\n}\n"}
-{"text": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\npackage org.apache.carbondata.core.scan.filter.executer;\n\nimport java.util.BitSet;\n\nimport org.apache.carbondata.core.datastore.chunk.DimensionColumnPage;\nimport org.apache.carbondata.core.datastore.chunk.impl.FixedLengthDimensionColumnPage;\nimport org.apache.carbondata.core.util.CarbonUtil;\n\nimport org.junit.Assert;\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport junit.framework.TestCase;\n\npublic class IncludeFilterExecutorImplTest extends TestCase {\n\n /**\n * @throws Exception\n */\n @Before\n public void setUp() throws Exception {\n\n }\n\n public BitSet setFilterdIndexToBitSetNew(DimensionColumnPage dimensionColumnPage,\n int numerOfRows, byte[][] filterValues) {\n BitSet bitSet = new BitSet(numerOfRows);\n if (dimensionColumnPage instanceof FixedLengthDimensionColumnPage) {\n // byte[][] filterValues = dimColumnExecuterInfo.getFilterKeys();\n if (filterValues.length > 1) {\n for (int i = 0; i < numerOfRows; i++) {\n int index = CarbonUtil.binarySearch(filterValues, 0, filterValues.length - 1,\n dimensionColumnPage, i);\n if (index >= 0) {\n bitSet.set(i);\n }\n }\n } else if (filterValues.length == 1) {\n for (int i = 0; i < numerOfRows; i++) {\n if (dimensionColumnPage.compareTo(i, filterValues[0]) == 0) {\n bitSet.set(i);\n }\n }\n }\n }\n return bitSet;\n }\n\n public BitSet setFilterdIndexToBitSet(DimensionColumnPage dimensionColumnPage, int numerOfRows,\n byte[][] filterValues) {\n BitSet bitSet = new BitSet(numerOfRows);\n if (dimensionColumnPage instanceof FixedLengthDimensionColumnPage) {\n // byte[][] filterValues = dimColumnExecuterInfo.getFilterKeys();\n for (int k = 0; k < filterValues.length; k++) {\n for (int j = 0; j < numerOfRows; j++) {\n if (dimensionColumnPage.compareTo(j, filterValues[k]) == 0) {\n bitSet.set(j);\n }\n }\n }\n }\n return bitSet;\n }\n\n /**\n * change int to byte[]\n * \n * @param value\n * @param size\n * @return byte[]\n */\n private byte[] transferIntToByteArr(int value, int size) {\n byte[] targets = new byte[size];\n for (int i = 0; i < size; i++) {\n int data = value;\n for (int j = i; j < size - 1; j++) {\n data = data >> 8;\n }\n data = data & 0xFF;\n targets[i] = (byte) (data & 0xFF);\n }\n return targets;\n }\n\n @Test\n public void testPerformance() {\n\n // dimension's data number in a blocklet, usually default is 32000\n int dataChunkSize = 32000; \n // repeat query times in the test\n int queryTimes = 5; \n // repeated times for a dictionary value\n int repeatTimes = 200;\n //filtered value count in a blocklet\n int filteredValueCnt = 800;\n comparePerformance(dataChunkSize, filteredValueCnt, queryTimes, repeatTimes);\n \n filteredValueCnt = 100;\n // set big repeat value for test dimension dictionary size is 1\n repeatTimes = 2000;\n comparePerformance(dataChunkSize, filteredValueCnt, queryTimes, repeatTimes);\n\n }\n \n /**\n * Tests the filterKeys.length = 0 and filterKeys.length = 1\n */\n @Test\n public void testBoundary() {\n\n\t// dimension's data number in a blocklet, usually default is 32000\n int dataChunkSize = 32000; \n // repeat query times in the test\n int queryTimes = 5; \n // repeated times for a dictionary value\n int repeatTimes = 20;\n //filtered value count in a blocklet\n int filteredValueCnt = 1;\n comparePerformance(dataChunkSize, filteredValueCnt, queryTimes, repeatTimes);\n \n filteredValueCnt = 0;\n comparePerformance(dataChunkSize, filteredValueCnt, queryTimes, repeatTimes);\n\n }\n\n /**\n * comapre result and performance\n * \n * @param dataChunkSize dataChunk's stored data size\n * @param filteredValueCnt filtered dictionary value count\n * @param queryTimes repeat query times in the test\n * @param repeatTimes repeated times for a dictionary value\n * @return \n */\n private void comparePerformance(int dataChunkSize, int filteredValueCnt,\n int queryTimes, int repeatTimes) {\n long start;\n long oldTime = 0;\n long newTime = 0;\n \n // used to generate filter value\n int baseFilteredValue = 100;\n // column dictionary size\n int dimColumnSize = 2;\n if ((dataChunkSize / repeatTimes) <= 255 && (baseFilteredValue+filteredValueCnt) <= 255) {\n dimColumnSize = 1;\n }\n System.out.println(\"dimColumnSize: \" + dimColumnSize);\n \n FixedLengthDimensionColumnPage dimensionColumnDataChunk;\n DimColumnExecutorFilterInfo dim = new DimColumnExecutorFilterInfo();\n\n byte[] dataChunk = new byte[dataChunkSize * dimColumnSize];\n for (int i = 0; i < dataChunkSize; i++) {\n if (i % repeatTimes == 0) {\n repeatTimes++;\n }\n byte[] data = transferIntToByteArr(repeatTimes, dimColumnSize); \n for(int j =0 ; j< dimColumnSize;j++){ \n dataChunk[dimColumnSize * i + j] = data[j];\n }\n }\n\n byte[][] filterKeys = new byte[filteredValueCnt][2];\n for (int k = 0; k < filteredValueCnt; k++) {\n filterKeys[k] = transferIntToByteArr(baseFilteredValue + k, dimColumnSize);\n }\n dim.setFilterKeys(filterKeys);\n\n dimensionColumnDataChunk = new FixedLengthDimensionColumnPage(dataChunk, null, null,\n dataChunkSize, dimColumnSize, dataChunk.length);\n\n // repeat query and compare 2 result between old code and new optimized code\n for (int j = 0; j < queryTimes; j++) {\n\n start = System.currentTimeMillis();\n BitSet bitOld = this.setFilterdIndexToBitSet(dimensionColumnDataChunk, dataChunkSize, filterKeys);\n oldTime = oldTime + System.currentTimeMillis() - start;\n\n start = System.currentTimeMillis();\n BitSet bitNew = this.setFilterdIndexToBitSetNew(dimensionColumnDataChunk, dataChunkSize,\n filterKeys);\n newTime = newTime + System.currentTimeMillis() - start;\n\n assertTrue(bitOld.equals(bitNew));\n }\n\n if (filteredValueCnt >= 100) {\n Assert.assertTrue(newTime <= oldTime);\n }\n\n System.out.println(\"old code performance time: \" + oldTime + \" ms\");\n System.out.println(\"new code performance time: \" + newTime + \" ms\");\n System.out.println(\"filteredValueCnt: \" + filteredValueCnt);\n\n }\n\n\n private BitSet setFilterdIndexToBitSetWithColumnIndexOld(FixedLengthDimensionColumnPage dimensionColumnDataChunk,\n int numerOfRows, byte[][] filterValues) {\n BitSet bitSet = new BitSet(numerOfRows);\n int start = 0;\n int last = 0;\n int startIndex = 0;\n // byte[][] filterValues = dimColumnExecuterInfo.getFilterKeys();\n for (int i = 0; i < filterValues.length; i++) {\n start = CarbonUtil.getFirstIndexUsingBinarySearch(dimensionColumnDataChunk, startIndex, numerOfRows - 1,\n filterValues[i], false);\n if (start < 0) {\n continue;\n }\n bitSet.set(start);\n last = start;\n for (int j = start + 1; j < numerOfRows; j++) {\n if (dimensionColumnDataChunk.compareTo(j, filterValues[i]) == 0) {\n bitSet.set(j);\n last++;\n } else {\n break;\n }\n }\n startIndex = last;\n if (startIndex >= numerOfRows) {\n break;\n }\n }\n return bitSet;\n }\n\n private BitSet setFilterdIndexToBitSetWithColumnIndexNew(FixedLengthDimensionColumnPage dimensionColumnDataChunk,\n int numerOfRows, byte[][] filterValues) {\n BitSet bitSet = new BitSet(numerOfRows);\n int startIndex = 0;\n // byte[][] filterValues = dimColumnExecuterInfo.getFilterKeys();\n for (int i = 0; i < filterValues.length; i++) {\n int[] rangeIndex = CarbonUtil.getRangeIndexUsingBinarySearch(dimensionColumnDataChunk, startIndex,\n numerOfRows - 1, filterValues[i]);\n for (int j = rangeIndex[0]; j <= rangeIndex[1]; j++) {\n\n bitSet.set(j);\n }\n\n if (rangeIndex[1] > -1) {\n startIndex = rangeIndex[1];\n }\n }\n return bitSet;\n }\n\n @Test\n public void testRangBinarySearch() {\n\n long oldTime = 0;\n long newTime = 0;\n long start;\n long end;\n\n // dimension's data number in a blocklet, usually default is 32000\n int dataChunkSize = 32000;\n // repeat query times in the test\n int queryTimes = 10000;\n // repeated times for a dictionary value\n int repeatTimes = 200;\n //filtered value count in a blocklet\n int filteredValueCnt = 800;\n // column dictionary size\n int dimColumnSize = 2;\n FixedLengthDimensionColumnPage dimensionColumnDataChunk;\n DimColumnExecutorFilterInfo dim = new DimColumnExecutorFilterInfo();\n\n byte[] dataChunk = new byte[dataChunkSize * dimColumnSize];\n for (int i = 0; i < dataChunkSize; i++) {\n\n if (i % repeatTimes == 0) {\n repeatTimes++;\n }\n\n byte[] data = transferIntToByteArr(repeatTimes, dimColumnSize);\n dataChunk[2 * i] = data[0];\n dataChunk[2 * i + 1] = data[1];\n\n }\n\n byte[][] filterKeys = new byte[filteredValueCnt][2];\n for (int k = 0; k < filteredValueCnt; k++) {\n filterKeys[k] = transferIntToByteArr(100 + k, dimColumnSize);\n }\n dim.setFilterKeys(filterKeys);\n\n dimensionColumnDataChunk = new FixedLengthDimensionColumnPage(dataChunk, null, null,\n dataChunk.length / dimColumnSize, dimColumnSize, dataChunk.length);\n\n // initial to run\n BitSet bitOld = this.setFilterdIndexToBitSetWithColumnIndexOld(dimensionColumnDataChunk, dataChunkSize, filterKeys);\n BitSet bitNew = this.setFilterdIndexToBitSetWithColumnIndexNew(dimensionColumnDataChunk, dataChunkSize, filterKeys);\n\n // performance run\n for (int j = 0; j < queryTimes; j++) {\n\n start = System.currentTimeMillis();\n bitOld = this.setFilterdIndexToBitSetWithColumnIndexOld(dimensionColumnDataChunk, dataChunkSize, filterKeys);\n end = System.currentTimeMillis();\n oldTime = oldTime + end - start;\n\n start = System.currentTimeMillis();\n bitNew = this.setFilterdIndexToBitSetWithColumnIndexNew(dimensionColumnDataChunk, dataChunkSize, filterKeys);\n end = System.currentTimeMillis();\n newTime = newTime + end - start;\n\n assertTrue(bitOld.equals(bitNew));\n\n }\n\n System.out.println(\"old code performance time: \" + oldTime + \" ms\");\n System.out.println(\"new code performance time: \" + newTime + \" ms\");\n\n }\n\n}\n"}
-{"text": "// (C) Copyright John Maddock 2007.\n// Use, modification and distribution are subject to the\n// Boost Software License, Version 1.0. (See accompanying file\n// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)\n//\n// This file is machine generated, do not edit by hand\n\n// Polynomial evaluation using second order Horners rule\n#ifndef BOOST_MATH_TOOLS_POLY_EVAL_15_HPP\n#define BOOST_MATH_TOOLS_POLY_EVAL_15_HPP\n\nnamespace boost{ namespace math{ namespace tools{ namespace detail{\n\ntemplate \ninline V evaluate_polynomial_c_imp(const T*, const V&, const mpl::int_<0>*) BOOST_MATH_NOEXCEPT(V)\n{\n return static_cast(0);\n}\n\ntemplate \ninline V evaluate_polynomial_c_imp(const T* a, const V&, const mpl::int_<1>*) BOOST_MATH_NOEXCEPT(V)\n{\n return static_cast(a[0]);\n}\n\ntemplate \ninline V evaluate_polynomial_c_imp(const T* a, const V& x, const mpl::int_<2>*) BOOST_MATH_NOEXCEPT(V)\n{\n return static_cast(a[1] * x + a[0]);\n}\n\ntemplate \ninline V evaluate_polynomial_c_imp(const T* a, const V& x, const mpl::int_<3>*) BOOST_MATH_NOEXCEPT(V)\n{\n return static_cast((a[2] * x + a[1]) * x + a[0]);\n}\n\ntemplate \ninline V evaluate_polynomial_c_imp(const T* a, const V& x, const mpl::int_<4>*) BOOST_MATH_NOEXCEPT(V)\n{\n return static_cast(((a[3] * x + a[2]) * x + a[1]) * x + a[0]);\n}\n\ntemplate \ninline V evaluate_polynomial_c_imp(const T* a, const V& x, const mpl::int_<5>*) BOOST_MATH_NOEXCEPT(V)\n{\n V x2 = x * x;\n return static_cast((a[4] * x2 + a[2]) * x2 + a[0] + (a[3] * x2 + a[1]) * x);\n}\n\ntemplate \ninline V evaluate_polynomial_c_imp(const T* a, const V& x, const mpl::int_<6>*) BOOST_MATH_NOEXCEPT(V)\n{\n V x2 = x * x;\n return static_cast(((a[5] * x2 + a[3]) * x2 + a[1]) * x + (a[4] * x2 + a[2]) * x2 + a[0]);\n}\n\ntemplate \ninline V evaluate_polynomial_c_imp(const T* a, const V& x, const mpl::int_<7>*) BOOST_MATH_NOEXCEPT(V)\n{\n V x2 = x * x;\n return static_cast(((a[6] * x2 + a[4]) * x2 + a[2]) * x2 + a[0] + ((a[5] * x2 + a[3]) * x2 + a[1]) * x);\n}\n\ntemplate \ninline V evaluate_polynomial_c_imp(const T* a, const V& x, const mpl::int_<8>*) BOOST_MATH_NOEXCEPT(V)\n{\n V x2 = x * x;\n return static_cast((((a[7] * x2 + a[5]) * x2 + a[3]) * x2 + a[1]) * x + ((a[6] * x2 + a[4]) * x2 + a[2]) * x2 + a[0]);\n}\n\ntemplate \ninline V evaluate_polynomial_c_imp(const T* a, const V& x, const mpl::int_<9>*) BOOST_MATH_NOEXCEPT(V)\n{\n V x2 = x * x;\n return static_cast((((a[8] * x2 + a[6]) * x2 + a[4]) * x2 + a[2]) * x2 + a[0] + (((a[7] * x2 + a[5]) * x2 + a[3]) * x2 + a[1]) * x);\n}\n\ntemplate \ninline V evaluate_polynomial_c_imp(const T* a, const V& x, const mpl::int_<10>*) BOOST_MATH_NOEXCEPT(V)\n{\n V x2 = x * x;\n return static_cast(((((a[9] * x2 + a[7]) * x2 + a[5]) * x2 + a[3]) * x2 + a[1]) * x + (((a[8] * x2 + a[6]) * x2 + a[4]) * x2 + a[2]) * x2 + a[0]);\n}\n\ntemplate \ninline V evaluate_polynomial_c_imp(const T* a, const V& x, const mpl::int_<11>*) BOOST_MATH_NOEXCEPT(V)\n{\n V x2 = x * x;\n return static_cast(((((a[10] * x2 + a[8]) * x2 + a[6]) * x2 + a[4]) * x2 + a[2]) * x2 + a[0] + ((((a[9] * x2 + a[7]) * x2 + a[5]) * x2 + a[3]) * x2 + a[1]) * x);\n}\n\ntemplate \ninline V evaluate_polynomial_c_imp(const T* a, const V& x, const mpl::int_<12>*) BOOST_MATH_NOEXCEPT(V)\n{\n V x2 = x * x;\n return static_cast((((((a[11] * x2 + a[9]) * x2 + a[7]) * x2 + a[5]) * x2 + a[3]) * x2 + a[1]) * x + ((((a[10] * x2 + a[8]) * x2 + a[6]) * x2 + a[4]) * x2 + a[2]) * x2 + a[0]);\n}\n\ntemplate \ninline V evaluate_polynomial_c_imp(const T* a, const V& x, const mpl::int_<13>*) BOOST_MATH_NOEXCEPT(V)\n{\n V x2 = x * x;\n return static_cast((((((a[12] * x2 + a[10]) * x2 + a[8]) * x2 + a[6]) * x2 + a[4]) * x2 + a[2]) * x2 + a[0] + (((((a[11] * x2 + a[9]) * x2 + a[7]) * x2 + a[5]) * x2 + a[3]) * x2 + a[1]) * x);\n}\n\ntemplate \ninline V evaluate_polynomial_c_imp(const T* a, const V& x, const mpl::int_<14>*) BOOST_MATH_NOEXCEPT(V)\n{\n V x2 = x * x;\n return static_cast(((((((a[13] * x2 + a[11]) * x2 + a[9]) * x2 + a[7]) * x2 + a[5]) * x2 + a[3]) * x2 + a[1]) * x + (((((a[12] * x2 + a[10]) * x2 + a[8]) * x2 + a[6]) * x2 + a[4]) * x2 + a[2]) * x2 + a[0]);\n}\n\ntemplate \ninline V evaluate_polynomial_c_imp(const T* a, const V& x, const mpl::int_<15>*) BOOST_MATH_NOEXCEPT(V)\n{\n V x2 = x * x;\n return static_cast(((((((a[14] * x2 + a[12]) * x2 + a[10]) * x2 + a[8]) * x2 + a[6]) * x2 + a[4]) * x2 + a[2]) * x2 + a[0] + ((((((a[13] * x2 + a[11]) * x2 + a[9]) * x2 + a[7]) * x2 + a[5]) * x2 + a[3]) * x2 + a[1]) * x);\n}\n\n\n}}}} // namespaces\n\n#endif // include guard\n\n"}
-{"text": "fileFormatVersion: 2\nguid: 42a14c30761d02648aee3c20858ffdae\ntimeCreated: 1488566475\nlicenseType: Free\nTextureImporter:\n fileIDToRecycleName: {}\n serializedVersion: 2\n mipmaps:\n mipMapMode: 0\n enableMipMap: 1\n linearTexture: 0\n correctGamma: 0\n fadeOut: 0\n borderMipMap: 0\n mipMapFadeDistanceStart: 1\n mipMapFadeDistanceEnd: 3\n bumpmap:\n convertToNormalMap: 0\n externalNormalMap: 0\n heightScale: 0.25\n normalMapFilter: 0\n isReadable: 0\n grayScaleToAlpha: 0\n generateCubemap: 0\n cubemapConvolution: 0\n cubemapConvolutionSteps: 7\n cubemapConvolutionExponent: 1.5\n seamlessCubemap: 0\n textureFormat: -1\n maxTextureSize: 2048\n textureSettings:\n filterMode: -1\n aniso: -1\n mipBias: -1\n wrapMode: -1\n nPOTScale: 1\n lightmap: 0\n rGBM: 0\n compressionQuality: 50\n spriteMode: 0\n spriteExtrude: 1\n spriteMeshType: 1\n alignment: 0\n spritePivot: {x: 0.5, y: 0.5}\n spriteBorder: {x: 0, y: 0, z: 0, w: 0}\n spritePixelsToUnits: 100\n alphaIsTransparency: 1\n spriteTessellationDetail: -1\n textureType: -1\n buildTargetSettings: []\n spriteSheet:\n serializedVersion: 2\n sprites: []\n outline: []\n spritePackingTag: \n userData: \n assetBundleName: \n assetBundleVariant: \n"}
-{"text": ".\\\" **************************************************************************\n.\\\" * _ _ ____ _\n.\\\" * Project ___| | | | _ \\| |\n.\\\" * / __| | | | |_) | |\n.\\\" * | (__| |_| | _ <| |___\n.\\\" * \\___|\\___/|_| \\_\\_____|\n.\\\" *\n.\\\" * Copyright (C) 1998 - 2014, Daniel Stenberg, , et al.\n.\\\" *\n.\\\" * This software is licensed as described in the file COPYING, which\n.\\\" * you should have received as part of this distribution. The terms\n.\\\" * are also available at https://curl.haxx.se/docs/copyright.html.\n.\\\" *\n.\\\" * You may opt to use, copy, modify, merge, publish, distribute and/or sell\n.\\\" * copies of the Software, and permit persons to whom the Software is\n.\\\" * furnished to do so, under the terms of the COPYING file.\n.\\\" *\n.\\\" * This software is distributed on an \"AS IS\" basis, WITHOUT WARRANTY OF ANY\n.\\\" * KIND, either express or implied.\n.\\\" *\n.\\\" **************************************************************************\n.TH curl_easy_init 3 \"4 March 2002\" \"libcurl 7.8.1\" \"libcurl Manual\"\n.SH NAME\ncurl_easy_init - Start a libcurl easy session\n.SH SYNOPSIS\n.B #include \n\n.BI \"CURL *curl_easy_init( );\"\n.SH DESCRIPTION\nThis function must be the first function to call, and it returns a CURL easy\nhandle that you must use as input to other functions in the easy\ninterface. This call \\fBMUST\\fP have a corresponding call to\n\\fIcurl_easy_cleanup(3)\\fP when the operation is complete.\n\nIf you did not already call \\fIcurl_global_init(3)\\fP, \\fIcurl_easy_init(3)\\fP\ndoes it automatically. This may be lethal in multi-threaded cases, since\n\\fIcurl_global_init(3)\\fP is not thread-safe, and it may result in resource\nproblems because there is no corresponding cleanup.\n\nYou are strongly advised to not allow this automatic behaviour, by calling\n\\fIcurl_global_init(3)\\fP yourself properly. See the description in\n\\fBlibcurl\\fP(3) of global environment requirements for details of how to use\nthis function.\n.SH RETURN VALUE\nIf this function returns NULL, something went wrong and you cannot use the\nother curl functions.\n.SH EXAMPLE\n.nf\nCURL *curl = curl_easy_init();\nif(curl) {\n CURLcode res;\n curl_easy_setopt(curl, CURLOPT_URL, \"http://example.com\");\n res = curl_easy_perform(curl);\n curl_easy_cleanup(curl);\n}\n.fi\n.SH \"SEE ALSO\"\n.BR curl_easy_cleanup \"(3), \" curl_global_init \"(3), \" curl_easy_reset \"(3), \"\n.BR curl_easy_perform \"(3) \"\n"}
-{"text": "getData(self::OPERATIONS_LIST);\n }\n\n /**\n * @inheritDoc\n */\n public function setOperationsList($operationStatusList)\n {\n return $this->setData(self::OPERATIONS_LIST, $operationStatusList);\n }\n}\n"}
-{"text": "// wxGUI.cpp\n\n#include \"StdAfx.h\"\n\n// For compilers that support precompilation, includes \"wx/wx.h\".\n#include \"wx/wxprec.h\"\n \n#ifdef __BORLANDC__\n #pragma hdrstop\n#endif\n\n// for all others, include the necessary headers (this file is usually all you\n// need because it includes almost all \"standard\" wxWidgets headers)\n#ifndef WX_PRECOMP\n #include \"wx/wx.h\"\n#endif\n\n#define static const\n#include \"../GUI/p7zip_32.xpm\"\n#undef static\n\n#undef ACTIVATE_DIALOG_TESTS\n\nint Main1(int argc,TCHAR **argv);\n\n#include \"Windows/Registry.h\"\nusing namespace NWindows;\nusing namespace NRegistry;\n\n\n#include \"Common/StringConvert.h\"\n#include \"Windows/FileDir.h\"\n#include \"Windows/Synchronization.h\"\n\n#include \"ExtractRes.h\"\n#include \"../Explorer/MyMessages.h\"\n\n#include \"ExtractGUI.h\"\n#include \"UpdateGUI.h\"\n#include \"BenchmarkDialog.h\"\n#include \"../FileManager/RegistryUtils.h\"\n\nusing namespace NWindows;\nusing namespace NFile;\n\n#include \"../FileManager/ProgramLocation.h\"\n\nstatic LPCWSTR kHelpFileName = L\"help/\";\n\nvoid ShowHelpWindow(HWND hwnd, LPCWSTR topicFile)\n{\n UString path;\n if (!::GetProgramFolderPath(path))\n return;\n path += kHelpFileName;\n path += topicFile;\n printf(\"ShowHelpWindow(%p,%ls)=>%ls\\n\",hwnd,topicFile,(const wchar_t *)path);\n // HtmlHelp(hwnd, GetSystemString(path), HH_DISPLAY_TOPIC, NULL);\n wxString path2(path);\n wxLaunchDefaultBrowser(path2);\n}\n\n////////////////////////////// TRIES ///////////////////////////////////\n\n#ifdef ACTIVATE_DIALOG_TESTS\nstatic void ErrorMessage(const wchar_t *message)\n{\n MessageBox(0,message, wxT(\"7-Zip GUI\"),wxICON_ERROR);\n}\n\n#include \"../FileManager/PasswordDialog.h\"\n#include \"../FileManager/MessagesDialog.h\"\n#include \"../FileManager/OverwriteDialog.h\"\n#include \"Windows/Thread.h\"\n\nvoid myErrorMsg(const wchar_t *message)\n{\n\tMessageBox(0,message, wxT(\"Message\"),wxICON_ERROR);\n}\n\nvoid testCMessagesDialog()\n{\n\tUStringVector Messages;\n\n\tMessages.Add(L\"message 1\");\n\tMessages.Add(L\"message 2\");\n\tMessages.Add(L\"message 3\");\n\tMessages.Add(L\"message 4\");\n\tMessages.Add(L\"message 5\");\n\tMessages.Add(L\"message 6\");\n\tMessages.Add(L\"message 7\");\n\tMessages.Add(L\"message 8\");\n\tMessages.Add(L\"message 9\");\n\n\tCMessagesDialog messagesDialog;\n messagesDialog.Messages = &Messages;\n int ret = messagesDialog.Create( 0 ); // ParentWindow\n\n \tif (ret == IDOK) myErrorMsg(wxT(\"CMessagesDialog => IDOK\"));\n\telse if (ret == IDCANCEL) myErrorMsg(wxT(\"CMessagesDialog => IDCANCEL\"));\n\telse myErrorMsg(wxT(\"CMessagesDialog => ?\"));\n\n}\n\nvoid testCOverwriteDialog()\n{\nSYSTEMTIME systemTime;\nGetSystemTime( &systemTime );\n\n\nconst wchar_t *existName = L\"existName\";\nFILETIME data_existTime;\nFILETIME *existTime = &data_existTime ;\nUInt64 data_existSize = 1234;\nUInt64 *existSize = &data_existSize;\nconst wchar_t *newName = L\"newName\";\nFILETIME data_newTime;\nFILETIME *newTime = &data_newTime;\nUInt64 data_newSize = 45678;\nUInt64 *newSize = &data_newSize;\nInt32 data_answer=0;\nInt32 *answer = &data_answer;\n\nSystemTimeToFileTime( &systemTime , &data_existTime);\nSystemTimeToFileTime( &systemTime , &data_newTime);\n\n COverwriteDialog dialog;\n\n dialog.OldFileInfo.Time = *existTime;\n dialog.OldFileInfo.TimeIsDefined = true; // FIXME : look again at the sample !\n\n dialog.OldFileInfo.SizeIsDefined = (existSize != NULL);\n if (dialog.OldFileInfo.SizeIsDefined)\n dialog.OldFileInfo.Size = *existSize;\n dialog.OldFileInfo.Name = existName;\n\n if (newTime == 0)\n dialog.NewFileInfo.TimeIsDefined = false;\n else\n {\n dialog.NewFileInfo.TimeIsDefined = true;\n dialog.NewFileInfo.Time = *newTime;\n }\n \n dialog.NewFileInfo.SizeIsDefined = (newSize != NULL);\n if (dialog.NewFileInfo.SizeIsDefined)\n dialog.NewFileInfo.Size = *newSize;\n dialog.NewFileInfo.Name = newName;\n \n /*\n NOverwriteDialog::NResult::EEnum writeAnswer = \n NOverwriteDialog::Execute(oldFileInfo, newFileInfo);\n */\n INT_PTR writeAnswer = dialog.Create(NULL); // ParentWindow doesn't work with 7z\n \n switch(writeAnswer)\n {\n case IDCANCEL: myErrorMsg(wxT(\"COverwriteDialog => IDCANCEL\")); break;\n case IDNO: myErrorMsg(wxT(\"COverwriteDialog => IDNO\")); break;\n case IDC_BUTTON_OVERWRITE_NO_TO_ALL: myErrorMsg(wxT(\"COverwriteDialog => IDC_BUTTON_OVERWRITE_NO_TO_ALL\")); break;\n case IDC_BUTTON_OVERWRITE_YES_TO_ALL:myErrorMsg(wxT(\"COverwriteDialog => IDC_BUTTON_OVERWRITE_YES_TO_ALL\")); break;\n case IDC_BUTTON_OVERWRITE_AUTO_RENAME:myErrorMsg(wxT(\"COverwriteDialog => IDC_BUTTON_OVERWRITE_AUTO_RENAME\")); break;\n case IDYES: myErrorMsg(wxT(\"COverwriteDialog => IDYES\")); break;\n default: myErrorMsg(wxT(\"COverwriteDialog => default\")); break;\n }\n}\n\nvoid testCPasswordDialog()\n{\n CPasswordDialog dialog;\n\n\tint ret = dialog.Create(0);\n\tif (ret == IDOK) {\n \t\tUString Password = dialog.Password;\n\t\tUString msg = wxT(\"CPasswordDialog => IDOK password=\\\"\");\n\t\tmsg += Password;\n\t\tmsg += wxT(\"\\\"\");\n\t\tmyErrorMsg(msg);\n\t}\n\telse if (ret == IDCANCEL) myErrorMsg(wxT(\"CPasswordDialog => IDCANCEL\"));\n\telse myErrorMsg(wxT(\"CPasswordDialog => ?\"));\n\n}\n\nstruct CThreadProgressDialog\n{\n CProgressDialog * ProgressDialog;\n static THREAD_FUNC_DECL MyThreadFunction(void *param)\n {\n ((CThreadProgressDialog *)param)->Result = ((CThreadProgressDialog *)param)->Process();\n return 0;\n }\n HRESULT Result;\n HRESULT Process()\n {\n\tSleep(1000);\n\tint total = 1000;\n\n\tProgressDialog->ProgressSynch.SetTitleFileName(L\"SetTitleFileName\");\n\tProgressDialog->ProgressSynch.SetNumFilesTotal(100);\n\tProgressDialog->ProgressSynch.SetNumFilesCur(1);\n\tProgressDialog->ProgressSynch.SetProgress(total, 0);\n\t// ProgressDialog.ProgressSynch.SetRatioInfo(inSize, outSize);\n\t// ProgressDialog.ProgressSynch.SetCurrentFileName(name);\n\n\tProgressDialog->ProgressSynch.SetPos(total/10);\n\tProgressDialog->ProgressSynch.SetCurrentFileName(L\"File1\");\n\tSleep(1000);\n\tProgressDialog->ProgressSynch.SetPos(total/2);\n\tProgressDialog->ProgressSynch.SetCurrentFileName(L\"File2\");\n\tSleep(1000);\n\tProgressDialog->ProgressSynch.SetPos(total);\n\tProgressDialog->ProgressSynch.SetCurrentFileName(L\"File3\");\n\tSleep(1000);\n\tProgressDialog->MyClose();\n\treturn 0;\n }\n};\n\nvoid testCProgressDialog()\n{\n CProgressDialog ProgressDialog;\n\n CThreadProgressDialog benchmarker;\n benchmarker.ProgressDialog = &ProgressDialog;\n NWindows::CThread thread;\n thread.Create(CThreadProgressDialog::MyThreadFunction, &benchmarker);\n\n // void StartProgressDialog(const UString &title)\n int ret = ProgressDialog.Create(L\"testCProgressDialog\", 0);\n\n\tif (ret == IDOK) myErrorMsg(wxT(\"CProgressDialog => IDOK\"));\n\telse if (ret == IDCANCEL) myErrorMsg(wxT(\"CProgressDialog => IDCANCEL\"));\n\telse myErrorMsg(wxT(\"CProgressDialog => ?\"));\n\n}\n\nvoid testDialog(int num)\n{\n\tNWindows::NControl::CModalDialog dialog;\n\n\tprintf(\"Generic Dialog(%d)\\n\",num);\n\tint ret = dialog.Create(num, 0);\n\tif (ret == IDOK) myErrorMsg(wxT(\"Generic Dialog => IDOK\"));\n\telse if (ret == IDCANCEL) myErrorMsg(wxT(\"Generic Dialog => IDCANCEL\"));\n\telse myErrorMsg(wxT(\"Generic Dialog => ?\"));\n}\n\nvoid testMessageBox()\n{\n\tint ret = MessageBoxW(0, L\"test yes/no/cancel\", \n L\"7-Zip\", MB_YESNOCANCEL | MB_ICONQUESTION | MB_TASKMODAL);\n\tif (ret == IDYES) myErrorMsg(wxT(\"MessageBoxW => IDYES\"));\n\telse if (ret == IDNO) myErrorMsg(wxT(\"MessageBoxW => IDNO\"));\n\telse if (ret == IDCANCEL) myErrorMsg(wxT(\"MessageBoxW => IDCANCEL\"));\n\telse myErrorMsg(wxT(\"MessageBoxW => ?\"));\n}\n\nstatic void testRegistry()\n{\n\tSaveRegLang(L\"fr\");\n\n\tUString langFile;\n\tReadRegLang(langFile);\n\n\tprintf(\"testRegistry : -%ls-\\n\",(const wchar_t *)langFile);\n}\n\n\nint Main2(int argc,TCHAR **argv);\n\nint Main3(int argc,wxChar **argv)\n{\n\ttestRegistry();\n\n\tint num = -1;\n\n\tif (argc >=2 )\n\t{\n\t\tnum = argv[1][0] - L'0';\n\t}\n\tprintf(\"num=%d\\n\",num);\n\n\n\tswitch(num)\n\t{\n\t\tcase 0:\n\t\t{\n\t\t\tTCHAR **argv2 = (TCHAR **)calloc(argc,sizeof(*argv));\n\n\t\t\targv2[0] = argv[0];\n\t\t\tfor(int i = 2; i < argc; i++) argv2[i-1] = argv[i];\n\n\t\t\treturn Main2(argc-1,argv2);\n\t\t}\n\t// TODO Benchmark\n\t// TODO CCompressDialog\n\t// TODO CExtractDialog ?\n\t\tcase 1 : testCMessagesDialog(); break;\n\t\tcase 2 : testCOverwriteDialog(); break;\n\t \tcase 3 : testCPasswordDialog(); break;\n\t\tcase 4 : testCProgressDialog(); break;\n\t\tcase 5 : testMessageBox(); break;\n\t\tcase 9 : \n\t\t\tif (argc >= 3)\n\t\t\t{\n\t\t\t\tAString str = GetAnsiString(argv[2]);\n\t\t\t\tint num = atoi((const char*)str);\n\t\t\t\ttestDialog(num);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tprintf(\"usage : 7zG 9 \\n\");\n\t\t\t}\n\t\t \tbreak;\n\t\tdefault :\n\t\t\tprintf(\"usage : 7zG number\\n\");\n\n\t};\n\n\treturn 0;\n}\n\n#endif // ACTIVATE_DIALOG_TESTS\n\nstatic const TCHAR *kCUBasePath = TEXT(\"Software/7-ZIP\");\nstatic const WCHAR *kLangValueName = L\"Lang\";\n\nvoid SaveRegLang(const UString &langFile)\n{\n CKey key;\n key.Create(HKEY_CURRENT_USER, kCUBasePath);\n key.SetValue(kLangValueName, langFile);\n}\n\nvoid ReadRegLang(UString &langFile)\n{\n langFile.Empty();\n CKey key;\n if (key.Open(HKEY_CURRENT_USER, kCUBasePath, KEY_READ) == ERROR_SUCCESS)\n key.QueryValue(kLangValueName, langFile);\n}\n\n\n//////////////////////////////////\n\n#define NEED_NAME_WINDOWS_TO_UNIX\n#include \"myPrivate.h\" // global_use_utf16_conversion\n\nvoid mySplitCommandLineW(int numArguments, TCHAR **arguments,UStringVector &parts) {\n\n parts.Clear();\n for(int ind=0;ind < numArguments; ind++) {\n UString tmp = arguments[ind];\n // tmp.Trim(); \" \" is a valid filename ...\n if (!tmp.IsEmpty()) {\n parts.Add(tmp);\n// DEBUG printf(\"ARG %d : '%ls'\\n\",ind,(const wchar_t *)tmp);\n }\n }\n}\n\n// ----------------------------------------------------------------------------\n// private classes\n// ----------------------------------------------------------------------------\n\n// Define a new frame type\nclass MyFrame: public wxFrame\n{\npublic:\n // ctor\n MyFrame(wxFrame *frame, const wxString& title, int x, int y, int w, int h);\n // virtual ~MyFrame();\n\n // operations\n void WriteText(const wxString& text) { m_txtctrl->WriteText(text); }\n \nprotected:\n // callbacks\n void OnWorkerEvent(wxCommandEvent& event);\nprivate:\n // just some place to put our messages in\n wxTextCtrl *m_txtctrl;\n DECLARE_EVENT_TABLE()\n};\n\nenum {\n WORKER_EVENT=100 // this one gets sent from the worker thread\n};\n \nBEGIN_EVENT_TABLE(MyFrame, wxFrame)\n EVT_MENU(WORKER_EVENT, MyFrame::OnWorkerEvent)\n // EVT_IDLE(MyFrame::OnIdle)\nEND_EVENT_TABLE()\n\n// My frame constructor\nMyFrame::MyFrame(wxFrame *frame, const wxString& title,\n int x, int y, int w, int h)\n : wxFrame(frame, wxID_ANY, title, wxPoint(x, y), wxSize(w, h))\n{\n\tthis->SetIcon(wxICON(p7zip_32));\n \n#if wxUSE_STATUSBAR\n CreateStatusBar(2);\n#endif // wxUSE_STATUSBAR\n\n m_txtctrl = new wxTextCtrl(this, wxID_ANY, _T(\"\"), wxPoint(0, 0), wxSize(0, 0), wxTE_MULTILINE | wxTE_READONLY);\n}\n\nvoid myCreateHandle(int n);\nwxWindow * g_window=0;\n\nvoid MyFrame::OnWorkerEvent(wxCommandEvent& event)\n{\n\tint n = event.GetInt();\n\tmyCreateHandle(n);\n}\n\n\n// Define a new application type, each program should derive a class from wxApp\nclass MyApp : public wxApp\n{\npublic:\n // override base class virtuals\n // ----------------------------\n\n // this one is called on application startup and is a good place for the app\n // initialization (doing it here and not in the ctor allows to have an error\n // return: if OnInit() returns false, the application terminates)\n virtual bool OnInit();\n};\n\n// Create a new application object: this macro will allow wxWidgets to create\n// the application object during program execution (it's better than using a\n// static object for many reasons) and also implements the accessor function\n// wxGetApp() which will return the reference of the right type (i.e. MyApp and\n// not wxApp)\nIMPLEMENT_APP(MyApp)\n\ntime_t g_T0 = 0;\nclass MyThread : public wxThread\n{\n\tint _argc;\n\tTCHAR **_argv;\npublic:\n\tMyThread(int argc,TCHAR **argv): wxThread(),_argc(argc), _argv(argv) {}\n\n\t// thread execution starts here\n\tvirtual void *Entry()\n\t{\n#ifdef ACTIVATE_DIALOG_TESTS\n\t\tint ret = Main3(_argc,_argv);\n#else\n\t\tint ret = Main1(_argc,_argv);\n#endif\n\t\texit(ret);\n\t}\n};\n\n// 'Main program' equivalent: the program execution \"starts\" here\nbool MyApp::OnInit()\n{\n // don't parse the command-line options !\n // : if ( !wxApp::OnInit() ) return false;\n\n { // define P7ZIP_HOME_DIR\n extern void my_windows_split_path(const AString &p_path, AString &dir , AString &base);\n static char p7zip_home_dir[MAX_PATH];\n\n UString fullPath;\n NDirectory::MyGetFullPathName(wxApp::argv[0], fullPath);\n AString afullPath = GetAnsiString(fullPath);\n\n AString dir,name;\n\n my_windows_split_path(afullPath,dir,name);\n\n const char *dir2 = nameWindowToUnix((const char *)dir);\n snprintf(p7zip_home_dir,sizeof(p7zip_home_dir),\"P7ZIP_HOME_DIR=%s/\",dir2);\n p7zip_home_dir[sizeof(p7zip_home_dir)-1] = 0;\n putenv(p7zip_home_dir);\n // DEBUG printf(\"putenv(%s)\\n\",p7zip_home_dir);\n }\n global_use_utf16_conversion = 1; // UNICODE !\n\n g_T0 = time(0);\n // DEBUG printf(\"MAIN Thread : 0x%lx\\n\",wxThread::GetCurrentId());\n\n // Create the main frame window\n MyFrame *frame = new MyFrame((wxFrame *)NULL, _T(\"7-zip Main Window\"), 50, 50, 450, 340);\n // Don't Show the frame !\n // frame->Show(true);\n\n SetTopWindow(frame);\n\n g_window = frame;\n\n MyThread *thread = new MyThread(wxApp::argc,wxApp::argv);\n thread->Create(); // != wxTHREAD_NO_ERROR\n thread->Run();\n\n // success: wxApp::OnRun() will be called which will enter the main message\n // loop and the application will run. If we returned false here, the\n // application would exit immediately.\n return true;\n}\n\nDWORD WINAPI GetTickCount(VOID) {\n\tstatic wxStopWatch sw;\n\treturn sw.Time();\n}\n\n//////////////////////////////////////////\n\n#include \"resource.h\"\n#include \"ExtractRes.h\"\n\nstatic CStringTable g_stringTable[] =\n{\n /* resource.rc */\t \n /***************/\n\t{ IDS_OPEN_TYPE_ALL_FILES, L\"All Files\" },\n\t{ IDS_METHOD_STORE, L\"Store\" },\n\t{ IDS_METHOD_NORMAL, L\"Normal\" },\n\t{ IDS_METHOD_MAXIMUM, L\"Maximum\" },\n\t{ IDS_METHOD_FAST, L\"Fast\" },\n\t{ IDS_METHOD_FASTEST, L\"Fastest\" },\n\t{ IDS_METHOD_ULTRA, L\"Ultra\" },\n\t{ IDS_COMPRESS_NON_SOLID, L\"Non-solid\" },\n\t{ IDS_COMPRESS_SOLID, L\"Solid\" },\n\n\t{ IDS_COMPRESS_UPDATE_MODE_ADD, L\"Add and replace files\" },\n\t{ IDS_COMPRESS_UPDATE_MODE_UPDATE, L\"Update and add files\" },\n\t{ IDS_COMPRESS_UPDATE_MODE_FRESH, L\"Freshen existing files\" },\n\t{ IDS_COMPRESS_UPDATE_MODE_SYNCHRONIZE, L\"Synchronize files\" },\n\t{ IDS_COMPRESS_SET_ARCHIVE_DIALOG_TITLE, L\"Browse\" },\n\t{ IDS_COMPRESS_INCORRECT_VOLUME_SIZE, L\"Incorrect volume size\" },\n\t{ IDS_COMPRESS_SPLIT_CONFIRM_MESSAGE, L\"Specified volume size: {0} bytes.\\nAre you sure you want to split archive into such volumes?\" },\n\n\t{ IDS_PASSWORD_USE_ASCII, L\"Use only English letters, numbers and special characters (!, #, $, ...) for password.\" },\n\t{ IDS_PASSWORD_PASSWORDS_DO_NOT_MATCH, L\"Passwords do not match\" },\n\t{ IDS_PASSWORD_IS_TOO_LONG, L\"Password is too long\" },\n\n\t{ IDS_PROGRESS_COMPRESSING, L\"Compressing\" },\n\t{ IDS_PROGRESS_TESTING, L\"Testing\" },\n\t{ IDS_MESSAGE_NO_ERRORS, L\"There are no errors\" },\n\t{ IDS_FILES_COLON, L\"Files:\" },\n\t{ IDS_FOLDERS_COLON, L\"Folders:\" },\n\t{ IDS_SIZE_COLON, L\"Size:\" },\n\t{ IDS_COMPRESSED_COLON, L\"Compressed size:\" },\n\t{ IDS_ARCHIVES_COLON, L\"Archives:\" },\n\n /* Extract.rc */\t \n /**************/\n\t{ IDS_CANNOT_CREATE_FOLDER , L\"Cannot create folder '{0}'\"},\n\t{ IDS_OPEN_IS_NOT_SUPORTED_ARCHIVE, L\"File is not supported archive.\"},\n\n\t{ IDS_MESSAGES_DIALOG_EXTRACT_MESSAGE_CRC , L\"CRC failed in '{0}'. File is broken.\"},\n\t{ IDS_MESSAGES_DIALOG_EXTRACT_MESSAGE_DATA_ERROR , L\"Data error in '{0}'. File is broken\"},\n\t{ IDS_MESSAGES_DIALOG_EXTRACT_MESSAGE_UNSUPPORTED_METHOD , L\"Unsupported compression method for '{0}'.\"},\n\t{ IDS_MESSAGES_DIALOG_EXTRACT_MESSAGE_CRC_ENCRYPTED , L\"CRC failed in encrypted file '{0}'. Wrong password?\"},\n\t{ IDS_MESSAGES_DIALOG_EXTRACT_MESSAGE_DATA_ERROR_ENCRYPTED , L\"Data error in encrypted file '{0}'. Wrong password?\"},\n\n\t{ IDS_EXTRACT_SET_FOLDER , L\"Specify a location for extracted files.\"},\n\t{ IDS_MESSAGES_DIALOG_EXTRACT_MESSAGE_CANNOT_OPEN_FILE, L\"Can not open output file '{0}'.\"},\n\t{ IDS_PROGRESS_EXTRACTING, L\"Extracting\" },\n\n\t{ IDS_CANT_OPEN_ARCHIVE , L\"Can not open file '{0}' as archive\"},\n\t{ IDS_CANT_OPEN_ENCRYPTED_ARCHIVE , L\"Can not open encrypted archive '{0}'. Wrong password?\"},\n\n\t{ 0 , 0 }\n};\n\nREGISTER_STRINGTABLE(g_stringTable)\n\n"}
-{"text": "{\n \"jsonrpc\": \"2.0\",\n \"id\": 107,\n \"result\": \"0x1a12ce71938f434dbaa\"\n}"}
-{"text": "/*M///////////////////////////////////////////////////////////////////////////////////////\n//\n// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.\n//\n// By downloading, copying, installing or using the software you agree to this license.\n// If you do not agree to this license, do not download, install,\n// copy or use the software.\n//\n//\n// License Agreement\n// For Open Source Computer Vision Library\n//\n// Copyright (C) 2000-2008, Intel Corporation, all rights reserved.\n// Copyright (C) 2009-2012, Willow Garage Inc., all rights reserved.\n// Third party copyrights are property of their respective owners.\n//\n// Redistribution and use in source and binary forms, with or without modification,\n// are permitted provided that the following conditions are met:\n//\n// * Redistribution's of source code must retain the above copyright notice,\n// this list of conditions and the following disclaimer.\n//\n// * Redistribution's in binary form must reproduce the above copyright notice,\n// this list of conditions and the following disclaimer in the documentation\n// and/or other materials provided with the distribution.\n//\n// * The name of the copyright holders may not be used to endorse or promote products\n// derived from this software without specific prior written permission.\n//\n// This software is provided by the copyright holders and contributors \"as is\" and\n// any express or implied warranties, including, but not limited to, the implied\n// warranties of merchantability and fitness for a particular purpose are disclaimed.\n// In no event shall the Intel Corporation or contributors be liable for any direct,\n// indirect, incidental, special, exemplary, or consequential damages\n// (including, but not limited to, procurement of substitute goods or services;\n// loss of use, data, or profits; or business interruption) however caused\n// and on any theory of liability, whether in contract, strict liability,\n// or tort (including negligence or otherwise) arising in any way out of\n// the use of this software, even if advised of the possibility of such damage.\n//\n//M*/\n\n#ifndef OPENCV_EMD_L1_HPP\n#define OPENCV_EMD_L1_HPP\n\n#include \"opencv2/core.hpp\"\n\nnamespace cv\n{\n/****************************************************************************************\\\n* EMDL1 Function *\n\\****************************************************************************************/\n\n//! @addtogroup shape\n//! @{\n\n/** @brief Computes the \"minimal work\" distance between two weighted point configurations base on the papers\n\"EMD-L1: An efficient and Robust Algorithm for comparing histogram-based descriptors\", by Haibin\nLing and Kazunori Okuda; and \"The Earth Mover's Distance is the Mallows Distance: Some Insights from\nStatistics\", by Elizaveta Levina and Peter Bickel.\n\n@param signature1 First signature, a single column floating-point matrix. Each row is the value of\nthe histogram in each bin.\n@param signature2 Second signature of the same format and size as signature1.\n */\nCV_EXPORTS float EMDL1(InputArray signature1, InputArray signature2);\n\n//! @}\n\n}//namespace cv\n\n#endif\n"}
-{"text": "/*\n * This program is free software; you can redistribute it and/or modify it\n * under the terms of the GNU General Public License as published by the Free\n * Software Foundation; either version 2 of the License, or (at your option)\n * any later version.\n *\n * This program is distributed in the hope that it will be useful, but WITHOUT\n * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\n * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\n * more details.\n *\n * You should have received a copy of the GNU General Public License along with\n * this program; if not, write to the Free Software Foundation, Inc., 51\n * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n *\n * Copyright (c) 2012-2014, Purdue University\n * Copyright (c) 2013, 2019, Oracle and/or its affiliates\n *\n * All rights reserved.\n */\npackage com.oracle.truffle.r.test.functions;\n\nimport org.junit.Test;\n\nimport com.oracle.truffle.r.test.TestBase;\n\npublic class TestFunctions extends TestBase {\n\n @Test\n public void testFunctionLookup() {\n assertEval(Output.IgnoreErrorContext, \"{ f<-1; f() }\");\n assertEval(\"{ abs }\");\n assertEval(Output.IgnoreErrorContext, \"{ foo() }\");\n assertEval(Output.IgnoreErrorContext, \"{ 'foo'() }\");\n // these errors will be fixed by proper handling of \"(\"\n assertEval(\"{ (foo)() }\");\n assertEval(\"{ ('foo')() }\");\n assertEval(\"{ foo <- function() 1; foo() }\");\n assertEval(\"{ foo <- function() 1; 'foo'() }\");\n assertEval(\"{ foo <- function() 1; `foo`() }\");\n assertEval(\"{ foo <- function() 1; (foo)() }\");\n assertEval(\"{ foo <- function() 1; ('foo')() }\");\n assertEval(\"{ foo <- function() 1; (`foo`)() }\");\n assertEval(\"{ sum <- 1; sum(1,2) }\");\n assertEval(\"{ sum <- 1; `sum`(1,2) }\");\n assertEval(\"{ sum <- 1; 'sum'(1,2) }\");\n assertEval(\"{ sum <- 1; (sum)(1,2) }\");\n assertEval(\"{ sum <- 1; ('sum')(1,2) }\");\n assertEval(\"{ sum <- 1; (`sum`)(1,2) }\");\n }\n\n @Test\n public void testDefinitionsWorking() {\n assertEval(\"{ x<-function(z){z} ; x(TRUE) }\");\n assertEval(\"{ x<-1 ; f<-function(){x} ; x<-2 ; f() }\");\n assertEval(\"{ x<-1 ; f<-function(x){x} ; f(TRUE) }\");\n assertEval(\"{ x<-1 ; f<-function(x){a<-1;b<-2;x} ; f(TRUE) }\");\n assertEval(\"{ f<-function(x){g<-function(x) {x} ; g(x) } ; f(TRUE) }\");\n assertEval(\"{ x<-1 ; f<-function(x){a<-1; b<-2; g<-function(x) {b<-3;x} ; g(b) } ; f(TRUE) }\");\n assertEval(\"{ x<-1 ; f<-function(z) { if (z) { x<-2 } ; x } ; x<-3 ; f(FALSE) }\");\n assertEval(\"{ f<-function() {z} ; z<-2 ; f() }\");\n assertEval(\"{ x<-1 ; g<-function() { x<-12 ; f<-function(z) { if (z) { x<-2 } ; x } ; x<-3 ; f(FALSE) } ; g() }\");\n assertEval(\"{ x<-function() { z<-211 ; function(a) { if (a) { z } else { 200 } } } ; f<-x() ; z<-1000 ; f(TRUE) }\");\n }\n\n @Test\n public void testInvocation() {\n assertEval(\"{ g <- function(...) { max(...) } ; g(1,2) }\");\n assertEval(\"{ f <- function(a, ...) { list(...) } ; f(1) }\");\n\n assertEval(\"{ rnorm(n = 1, n = 2) }\");\n assertEval(\"{ rnorm(s = 1, s = 1) }\");\n assertEval(\"{ matrix(1:4, n = 2) }\");\n\n assertEval(\"{ matrix(da=1:3,1) }\");\n\n assertEval(\"{ f <- function(...) { l <- list(...) ; l[[1]] <- 10; ..1 } ; f(11,12,13) }\");\n assertEval(\"{ g <- function(...) { length(list(...)) } ; f <- function(...) { g(..., ...) } ; f(z = 1, g = 31) }\");\n assertEval(\"{ g <- function(...) { `-`(...) } ; g(1,2) }\");\n assertEval(\"{ f <- function(...) { list(a=1,...) } ; f(b=2,3) }\");\n assertEval(\"{ f <- function(...) { substitute(...) } ; f(x + z) } \");\n assertEval(\"{ p <- function(prefix, ...) { cat(prefix, ..., \\\"\\\\n\\\") } ; p(\\\"INFO\\\", \\\"msg:\\\", \\\"Hello\\\", 42) }\");\n\n assertEval(\"{ f <- function(...) { g <- function() { list(...)$a } ; g() } ; f(a=1) }\");\n assertEval(\"{ f <- function(...) { args <- list(...) ; args$name } ; f(name = 42) }\");\n\n assertEval(\"{ matrix(x=1) }\");\n assertEval(\"{ set.seed(4357); round( rnorm(1,), digits = 5 ) }\");\n // FIXME UnsupportedSpecializationException: Unexpected values provided for\n // PrecedenceNodeGen@7c078bf0: [empty, false], [REmpty,Boolean]\n assertEval(Ignored.ImplementationError, \"{ max(1,2,) }\");\n assertEval(\"{ f <- function(a) a; f(cat('Hello\\\\n')) }\");\n }\n\n @Test\n public void testReturn() {\n assertEval(\"{ f<-function() { return() } ; f() }\");\n assertEval(\"{ f<-function() { return(2) ; 3 } ; f() }\");\n assertEval(\"{ f<-function() { return(invisible(2)) } ; f() }\");\n }\n\n @Test\n public void testDefinitionsNamedAndDefault() {\n assertEval(\"{ f<-function(a=1,b=2,c=3) {TRUE} ; f(,,) }\");\n\n assertEval(\"{ f<-function(x=2) {x} ; f() } \");\n assertEval(\"{ f<-function(a,b,c=2,d) {c} ; f(1,2,c=4,d=4) }\");\n assertEval(\"{ f<-function(a,b,c=2,d) {c} ; f(1,2,d=8,c=1) }\");\n assertEval(\"{ f<-function(a,b,c=2,d) {c} ; f(1,d=8,2,c=1) }\");\n assertEval(\"{ f<-function(a,b,c=2,d) {c} ; f(d=8,1,2,c=1) }\");\n assertEval(\"{ f<-function(a,b,c=2,d) {c} ; f(d=8,c=1,2,3) }\");\n assertEval(\"{ f<-function(a=10,b,c=20,d=20) {c} ; f(4,3,5,1) }\");\n\n assertEval(\"{ x<-1 ; z<-TRUE ; f<-function(y=x,a=z,b) { if (z) {y} else {z}} ; f(b=2) }\");\n assertEval(\"{ x<-1 ; z<-TRUE ; f<-function(y=x,a=z,b) { if (z) {y} else {z}} ; f(2) }\");\n assertEval(\"{ x<-1 ; f<-function(x=x) { x } ; f(x=x) }\");\n assertEval(\"{ f<-function(z, x=if (z) 2 else 3) {x} ; f(FALSE) }\");\n\n assertEval(\"{f<-function(a,b,c=2,d) {c} ; g <- function() f(d=8,c=1,2,3) ; g() ; g() }\");\n\n assertEval(\"{ x <- function(y) { sum(y) } ; f <- function() { x <- 1 ; x(1:10) } ; f() }\");\n assertEval(\"{ f <- sum ; f(1:10) }\");\n }\n\n @Test\n public void testDefinitions() {\n assertEval(\"{ \\\"%plus%\\\" <- function(a,b) a+b ; 3 %plus% 4 }\");\n assertEval(\"{ \\\"-\\\"(1) }\");\n assertEval(\"x<-function(){1};x\");\n\n // replacement function\n assertEval(\"{ 'my<-' <- function(x, value) { attr(x, \\\"myattr\\\") <- value ; x } ; z <- 1; my(z) <- \\\"hello\\\" ; z }\");\n assertEval(\"{ x<-matrix(1:4, ncol=2); y<-list(x=c(\\\"a\\\", \\\"b\\\"), y=c(\\\"c\\\", \\\"d\\\")); dimnames(x)<-y; names(dimnames(x))<-c(\\\"m\\\", \\\"n\\\"); dimnames(x) }\");\n\n assertEval(\"{ x <- function(a,b) { a^b } ; f <- function() { x <- \\\"sum\\\" ; sapply(1, x, 2) } ; f() }\");\n assertEval(\"{ x <- function(a,b) { a^b } ; g <- function() { x <- \\\"sum\\\" ; f <- function() { sapply(1, x, 2) } ; f() } ; g() }\");\n assertEval(\"{ foo <- function (x) { x } ; foo() }\");\n\n assertEval(\"{ x <- function(a,b) { a^b } ; dummy <- sum ; f <- function() { x <- \\\"dummy\\\" ; sapply(1, x, 2) } ; f() }\");\n assertEval(\"{ x <- function(a,b) { a^b } ; dummy <- sum ; f <- function() { x <- \\\"dummy\\\" ; dummy <- 200 ; sapply(1, x, 2) } ; f() }\");\n\n assertEval(\"{ foo <- function (x) { x } ; foo(1,2,3) }\");\n\n assertEval(\"{ x <- function(a,b) { a^b } ; f <- function() { x <- 211 ; sapply(1, x, 2) } ; f() }\");\n\n // weird syntax, that doesn't work, but should not cause errors\n assertEval(\"{ foo <- function(x, ...=NULL) x; list(foo(42), foo(21,33)); }\");\n assertEval(\"{ foo <- function(x, ..) x; list(foo(42), foo(21,33)); }\");\n assertEval(\"{ side <- function(x) { cat('side effect ', x, '\\\\n'); x }; foo <- function(x, ...=side(42)) x; foo(3) }\");\n assertEval(\"{ side <- function(x) { cat('side effect ', x, '\\\\n'); x }; foo <- function(x, ..1=side(42)) x; foo(3) }\");\n\n // the weird parameter is still used in positional arg matching\n assertEval(\"{ foo <- function(x, ..1, y) y; foo(21,33,22); }\");\n }\n\n @Test\n public void testEmptyParamName() {\n assertEval(\"{ f <- function(a, ...) a; f(''=123) }\");\n assertEval(Ignored.ParserError, \"{ function(''=123) 4 }\");\n }\n\n @Test\n public void testErrors() {\n assertEval(\"{ x<-function(){1} ; x(y=sum(1:10)) }\");\n assertEval(\"{ x<-function(){1} ; x(1) }\");\n assertEval(\"{ f <- function(x) { x } ; f() }\");\n assertEval(\"{ x<-function(y,b){1} ; x(y=1,y=3,4) }\");\n assertEval(\"{ x<-function(foo,bar){foo*bar} ; x(fo=10,f=1,2) }\");\n assertEval(\"{ x<-function(){1} ; x(y=1) }\");\n assertEval(\"{ f <- function(a,b,c,d) { a + b } ; f(1,x=1,2,3,4) }\");\n\n // FIXME GnuR's error message more precise\n // Expected output: Error in x(y = 1, 2, 3, z = 5) : unused arguments (3, z = 5)\n // FastR output: Error in x(y = 1, 2, 3, z = 5) : unused argument (z = 5)\n assertEval(Ignored.ImplementationError, \"{ x<-function(y, b){1} ; x(y=1, 2, 3, z = 5) }\");\n assertEval(\"{ x<-function(a){1} ; x(1,) }\");\n\n // FIXME error message missing\n // Expected output: Error: repeated formal argument 'a' on line 1\n // FastR output:\n assertEval(Ignored.ImplementationError, Output.IgnoreErrorContext, \"{ f <- function(a,a) {1} }\");\n }\n\n @Test\n public void testBinding() {\n assertEval(\"{ myapp <- function(f, x, y) { f(x,y) } ; myapp(function(x,y) { x + y }, 1, 2) ; myapp(sum, 1, 2) }\");\n assertEval(\"{ myapp <- function(f, x, y) { f(x,y) } ; myapp(f = function(x,y) { x + y }, y = 1, x = 2) ; myapp(f = sum, x = 1, y = 2) }\");\n assertEval(\"{ myapp <- function(f, x, y) { f(x,y) } ; myapp(f = function(x,y) { x + y }, y = 1, x = 2) ; myapp(f = sum, x = 1, y = 2) ; myapp(f = c, y = 10, x = 3) }\");\n assertEval(\"{ myapp <- function(f, x, y) { f(x,y) } ; myapp(f = function(x,y) { x + y }, y = 1, x = 2) ; myapp(f = sum, x = 1, y = 2) ; myapp(f = function(x,y) { x - y }, y = 10, x = 3) }\");\n assertEval(\"{ myapp <- function(f, x, y) { f(x,y) } ; g <- function(x,y) { x + y } ; myapp(f = g, y = 1, x = 2) ; myapp(f = sum, x = 1, y = 2) ; myapp(f = g, y = 10, x = 3) ; myapp(f = g, y = 11, x = 2) }\");\n assertEval(\"{ f <- function(i) { if (i==2) { c <- sum }; c(1,2) } ; f(1) ; f(2) }\");\n assertEval(\"{ f <- function(i) { if (i==2) { assign(\\\"c\\\", sum) }; c(1,2) } ; f(1) ; f(2) }\");\n assertEval(\"{ f <- function(func, arg) { func(arg) } ; f(sum, c(3,2)) ; f(length, 1:4) }\");\n assertEval(\"{ f <- function(func, arg) { func(arg) } ; f(sum, c(3,2)) ; f(length, 1:4) ; f(length,1:3) }\");\n assertEval(\"{ f <- function(func, arg) { func(arg) } ; f(sum, c(3,2)) ; f(length, 1:4) ; f(function(i) {3}, 1) ; f(length,1:3) }\");\n assertEval(\"{ f <- function(func, a) { if (func(a)) { 1 } else { 2 } } ; f(function(x) {TRUE}, 5) ; f(is.na, 4) }\");\n assertEval(\"{ f <- function(func, a) { if (func(a)) { 1 } else { 2 } } ; g <- function(x) {TRUE} ; f(g, 5) ; f(is.na, 4) ; f(g, 3) }\");\n assertEval(\"{ f <- function(func, a) { if (func(a)) { 1 } else { 2 } } ; g <- function(x) {TRUE} ; f(g, 5) ; f(is.na, 4) ; h <- function(x) { x == x } ; f(h, 3) }\");\n assertEval(\"{ f <- function(func, a) { if (func(a)) { 1 } else { 2 } } ; g <- function(x) {TRUE} ; f(g, 5) ; f(is.na, 4) ; f(g, 3) ; f(is.na, 10) }\");\n assertEval(\"{ f <- function(func, a) { if (func(a)) { 1 } else { 2 } } ; g <- function(x) {TRUE} ; f(g, 5) ; f(is.na, 4) ; f(g, 3) ; f(c, 10) }\");\n assertEval(\"{ f <- function(func, a) { if (func(a)) { 1 } else { 2 } } ; g <- function(x) {TRUE} ; f(g, 5) ; f(is.na, 4) ; f(g, 3) ; f(function(x) { 3+4i }, 10) }\");\n assertEval(\"{ f <- function(func, a) { if (func(a)) { 1 } else { 2 } } ; g <- function(x) {TRUE} ; f(g, 5) ; f(is.na, 4) ; f(is.na, 10) }\");\n assertEval(\"{ f <- function(func, a) { func(a) && TRUE } ; g <- function(x) {TRUE} ; f(g, 5) ; f(is.na, 4) }\");\n assertEval(\"{ f <- function(func, a) { func(a) && TRUE } ; g <- function(x) {TRUE} ; f(g, 5) ; f(is.na, 4) ; f(is.na, 10) }\");\n assertEval(\"{ f <- function(func, a) { func(a) && TRUE } ; g <- function(x) {TRUE} ; f(g, 5) ; f(is.na, 4) ; f(length, 10) }\");\n assertEval(\"{ f <- function(func, a) { func(a) && TRUE } ; g <- function(x) {TRUE} ; f(g, 5) ; f(is.na, 4) ; f(g, 10) ; f(is.na,5) }\");\n assertEval(\"{ f <- function(func, a) { func(a) && TRUE } ; g <- function(x) {TRUE} ; f(g, 5) ; f(is.na, 4) ; f(function(x) { x + x }, 10) }\");\n\n assertEval(\"{ f <- function(i) { c(1,2) } ; f(1) ; c <- sum ; f(2) }\");\n }\n\n @Test\n public void testRecursion() {\n assertEval(\"{ f<-function(i) { if(i==1) { 1 } else { j<-i-1 ; f(j) } } ; f(10) }\");\n assertEval(\"{ f<-function(i) { if(i==1) { 1 } else { f(i-1) } } ; f(10) }\");\n assertEval(\"{ f<-function(i) { if(i<=1) 1 else i*f(i-1) } ; f(10) }\"); // factorial\n assertEval(\"{ f<-function(i) { if(i<=1L) 1L else i*f(i-1L) } ; f(10L) }\"); // factorial\n // 100 times calculate factorial of 100\n assertEval(\"{ f<-function(i) { if(i<=1) 1 else i*f(i-1) } ; g<-function(n, f, a) { if (n==1) { f(a) } else { f(a) ; g(n-1, f, a) } } ; g(100,f,100) }\");\n\n // Fibonacci numbers\n assertEval(\"{ f<-function(i) { if (i==1) { 1 } else if (i==2) { 1 } else { f(i-1) + f(i-2) } } ; f(10) }\");\n assertEval(\"{ f<-function(i) { if (i==1L) { 1L } else if (i==2L) { 1L } else { f(i-1L) + f(i-2L) } } ; f(10L) }\");\n }\n\n @Test\n public void testPromises() {\n assertEval(\"{ z <- 1 ; f <- function(c = z) { c(1,2) ; z <- z + 1 ; c } ; f() }\");\n assertEval(\"{ f <- function(x) { for (i in 1:10) { x <- g(x,i) }; x }; g <- function(x,i) { x + i }; f(2) }\");\n assertEval(\"{ f <- function(x = z) { z = 1 ; x } ; f() }\");\n assertEval(\"{ z <- 1 ; f <- function(c = z) { z <- z + 1 ; c } ; f() }\");\n assertEval(\"{ f <- function(a) { g <- function(b) { x <<- 2; b } ; g(a) } ; x <- 1 ; f(x) }\");\n assertEval(\"{ f <- function(a) { g <- function(b) { a <<- 3; b } ; g(a) } ; x <- 1 ; f(x) }\");\n assertEval(\"{ f <- function(x) { function() {x} } ; a <- 1 ; b <- f(a) ; a <- 10 ; b() }\");\n assertEval(\"{ f <- function(x = y, y = x) { y } ; f() }\");\n assertEval(\"{ foo <- function(a,b) { x<<-4; b; }; x <- 0; foo(2, x > 2); }\");\n // FIXME eager promises bug\n // Note: following test fails on the first invocation only, consequent invocations produce\n // correct result. The problem is that OptForcedEagerPromiseNode is not creating assumptions\n // that variables involved in the eagerly evaluated expression are no being updated in the\n // meantime as side effect of evaluation of some other argument.\n assertEval(Ignored.ImplementationError, \"{ foo <- function(x,z) x + z; x <- 4; bar <- function() { x <<- 10; 1; }; foo(bar(), x); }\");\n assertEval(Ignored.ImplementationError, \"{ foo <- function(x,z) list(x,z); x <- 4; bar <- function() { x <<- 10; 1; }; foo(bar(), x > 5); }\");\n // FIXME eager promises bug2\n // If eager promise evaluates to another promise, that promise should only be evaluated if\n // it is again a simple expression without any side effects.\n assertEval(Ignored.ImplementationError, \"{ bar <- function(x, y) { y; x; 42 }; foo <- function(a) bar(a, cat('side2')); foo(cat('side1')) }\");\n\n assertEval(\"{ options(list(width=80)); f <- function(arg, defArg = getOption('width')) { print(arg + defArg); print(defArg) }; f(80L); f(80L); f(80L) }\");\n assertEval(\"{ x <- rep(80, 1); f <- function(arg, defArg = x) {print(arg + defArg); print(defArg)}; f(80L); f(80L); f(80L) }\");\n }\n\n @Test\n public void testVarArgPromises() {\n assertEval(\"g <- function(e) get(\\\"ex\\\", e);f <- function(e, en) { exports <- g(e); unlist(lapply(en, get, envir = exports, inherits = FALSE))}; \" +\n \"e1 <- new.env(); e1n <- new.env(); assign(\\\"a\\\", \\\"isa\\\", e1n); assign(\\\"ex\\\", e1n, e1); \" +\n \"e2 <- new.env(); e2n <- new.env(); assign(\\\"b\\\", \\\"isb\\\", e2n); assign(\\\"ex\\\", e2n, e2); ex1 <- c(\\\"a\\\"); ex2 <- c(\\\"b\\\"); f(e1, ex1); f(e2, ex2) == \\\"isb\\\"\");\n assertEval(\"rule <- 1; stopifnot((lenR <- length(rule)) >= 1L, lenR <= 2L)\");\n assertEval(\"{ x <- 3; stopifnot((x <- 5) < 10, x == 5); }\");\n // assignment in arguments + function that has a fast path\n assertEval(\"{ seq((abc <- 1), length.out = abc + 1) }\");\n assertEval(\"{ seq((abc <- 1), abc + 10) }\");\n }\n\n @Test\n public void testArgEvaluationOrder() {\n assertEval(\"v <- 1; class(v) <- 'foo'; `-.foo` <- function(x,y,...) { cat('[-.foo]'); 1234 }; g <- function(...) { cat('[ing]'); ({cat('[-]'); `-`})(...) }; ({cat('[g]'); g})({cat('[x]'); v},{cat('[y]'); 3},{cat('[z]'); 5})\");\n }\n\n @Test\n public void testMatching() {\n assertEval(\"{ x<-function(foo,bar){foo*bar} ; x(f=10,2) }\");\n assertEval(\"{ x<-function(foo,bar){foo*bar} ; x(fo=10, bar=2) }\");\n assertEval(\"{ f <- function(hello, hi) { hello + hi } ; f(h = 1) }\");\n assertEval(\"{ f <- function(hello, hi) { hello + hi } ; f(hello = 1, bye = 3) }\");\n assertEval(\"{ f <- function(a) { a } ; f(1,2) }\");\n\n assertEval(\"{ f <- function(xy, x) xy + x; f(xy=1,x=2) }\");\n\n // with ... partial-match only if formal parameter are before ...\n assertEval(\"{ f<-function(..., val=1) { c(list(...), val) }; f(v=7, 2) }\");\n assertEval(\"{ f<-function(er=1, ..., val=1) { c(list(...), val, er) }; f(v=7, 2, e=8) }\");\n\n // exact match of 'xa' is not \"stolen\" by partial match of 'x'\n assertEval(\"{ foo <- function(xa, ...) list(xa=xa, ...); foo(x=4,xa=5); }\");\n // however, two partial matches produce error, even if one is \"longer\"\n assertEval(\"{ foo <- function(xaaa, ...) list(xaa=xaaa, ...); foo(xa=4,xaa=5); }\");\n assertEval(\"list(`...`=NULL);\");\n assertEval(\"`$<-`(someNonesense = list(), anotherNonesense = 'foo', 42)\");\n\n // Unmatched argument from delegated \"...\"\n // FastR does not provide \"c=3\", but only \"3\" in the error message\n assertEval(Output.IgnoreErrorMessage, \"foo <- function(...) bar(...); bar <- function(a,b) list(a,b); foo(a=1,b=2,c=3);\");\n\n // no named arguments matching for some primitives\n assertEval(\"as.character(3, x=42)\");\n\n // \"drop\" argument matched by name, can be anywhere, but not the first one\n assertEval(\"matrix(1:6, nrow = 2, dimnames = list(c('a', 'b'), LETTERS[1:3]))[1,,drop=FALSE]\");\n assertEval(\"matrix(1:6, nrow = 2, dimnames = list(c('a', 'b'), LETTERS[1:3]))[1,drop=FALSE,]\");\n assertEval(\"matrix(1:6, nrow = 2, dimnames = list(c('a', 'b'), LETTERS[1:3]))[drop=FALSE,1,]\");\n // first actual argument is not considered for matching to \"drop\" formal argument\n assertEval(\"`[`(drop=matrix(1:6, nrow = 2, dimnames = list(c('a', 'b'), LETTERS[1:3])), 1,)\");\n assertEval(\"`[`(drop=matrix(1:6, nrow = 2, dimnames = list(c('a', 'b'), LETTERS[1:3])), 1,, drop=F)\");\n // \"i\" and \"j\" argument names are ignored\n assertEval(\"matrix(1:6, nrow = 2, dimnames = list(c('a', 'b'), LETTERS[1:3]))[drop=FALSE,j=1,]\");\n\n assertEval(\"list(abc=3)[[exact=F,'ab']]\");\n assertEval(\"list(abc=3)[['ab',exact=F]]\");\n assertEval(\"list(abc=3)[[exact=F,'ab',drop=T]]\");\n assertEval(\"list(abc=3)[[drop=T,exact=F,'ab']]\");\n\n assertEval(\".subset2(c(1,2,3), 2, exact = T)\");\n assertEval(\".subset2(c(1,2,3), exact = T, 2)\");\n assertEval(\".subset2(exact = T, c(1,2,3), 2)\");\n assertEval(\".subset2(c(1,2,3), exact = T, 2, drop=T)\");\n\n assertEval(\".subset(c(1,2,3), drop = T, 2)\");\n assertEval(\".subset(c(1,2,3), 2, drop = T)\");\n\n assertEval(\"c(1,2,3)[[drop=T,3,drop=T]]\");\n assertEval(\"c(1,2,3)[[extract=T,3,drop=T]]\");\n assertEval(\"c(1,2,3)[extract=T,3,drop=T]\");\n\n // This would fail if we matched arguments of forceAndCall by name\\\n assertEval(\"apply(array(1,dim=c(2,3)), 2, function(x,n) x, n = 1)\");\n }\n\n @Test\n public void testDots() {\n assertEval(\"{ f <- function(a, b) { a - b } ; g <- function(...) { f(1, ...) } ; g(b = 2) }\");\n assertEval(\"{ f <- function(...) { g(...) } ; g <- function(b=2) { b } ; f() }\");\n assertEval(\"{ f <- function(a, barg) { a + barg } ; g <- function(...) { f(a=1, ...) } ; g(b=2) }\");\n assertEval(\"{ f <- function(a, b) { a * b } ; g <- function(...) { f(...,...) } ; g(3) }\");\n assertEval(\"{ g <- function(...) { c(...,...) } ; g(3) }\");\n\n assertEval(\"{ f <- function(...) cat(..., \\\"\\\\n\\\") ; f(\\\"Hello\\\", \\\"world\\\") }\");\n assertEval(\"{ f <- function(a=1,...) a ; f() }\");\n\n assertEval(\"{ f<-function(x, y) { print(missing(y)); } ; f(42) }\");\n assertEval(\"{ g<-function(nm, x) { print(c(nm, x)); } ; f<-function(x, ...) { g(x, ...) }; f(x=1, nm=42) }\");\n // Checkstyle: stop line length check\n assertEval(\"{ f.numeric<-function(x, row.names = NULL, optional = FALSE, ..., nm = NULL) { print(optional); print(nm) }; f<-function(x, row.names = NULL, optional = FALSE, ...) { UseMethod(\\\"f\\\") }; f(c(1,2), row.names = \\\"r1\\\", nm=\\\"bar\\\") }\");\n // Checkstyle: resume line length check\n\n assertEval(Output.IgnoreErrorContext, \"{ f <- function(x) { ..1 } ; f(10) }\");\n assertEval(\"{ f <- function(...) { ..1 } ; f() }\");\n\n assertEval(\"{ fn1 <- function (a, b) a + b; fn2 <- function (a, b, ...) fn1(a, b, ...); fn2(1, 1) }\");\n assertEval(\"{ asdf <- function(x,...) UseMethod(\\\"asdf\\\",x); asdf.numeric <- function(x, ...) print(paste(\\\"num:\\\", x, ...)); asdf(1) }\");\n\n assertEval(\"{ f <- function(...) { ..1 } ; f(10) }\");\n assertEval(\"{ f <- function(...) { ..1 ; x <<- 10 ; ..1 } ; x <- 1 ; f(x) }\");\n assertEval(\"{ f <- function(...) { g <- function() { ..1 } ; g() } ; f(a=2) }\");\n assertEval(\"{ f <- function(...) { ..1 <- 2 ; ..1 } ; f(z = 1) }\");\n assertEval(\"{ f <- function(...) { ..1 <- 2 ; get(\\\"..1\\\") } ; f(1,2,3,4) }\");\n assertEval(\"{ f <- function(...) { get(\\\"..1\\\") } ; f(1,2,3,4) }\");\n assertEval(\"{ f <- function(...) { eval(as.symbol(\\\"..1\\\")) } ; f(1,2,3,4) }\");\n assertEval(\"{ f <- function(...) { ..1 <- 2; eval(as.symbol(\\\"..1\\\")) } ; f(1,2,3,4) }\");\n\n assertEval(\"{ g <- function(a,b) { a + b } ; f <- function(...) { g(...) } ; f(1,2) }\");\n assertEval(\"{ g <- function(a,b,x) { a + b * x } ; f <- function(...) { g(...,x=4) } ; f(b=1,a=2) }\");\n assertEval(\"{ g <- function(a,b,x) { a + b * x } ; f <- function(...) { g(x=4, ...) } ; f(b=1,a=2) }\");\n assertEval(\"{ g <- function(a,b,x) { a + b * x } ; f <- function(...) { g(x=4, ..., 10) } ; f(b=1) }\");\n\n assertEval(\"{ g <- function(a,b,aa,bb) { a ; x <<- 10 ; aa ; c(a, aa) } ; f <- function(...) { g(..., ...) } ; x <- 1; y <- 2; f(x, y) }\");\n assertEval(\"{ f <- function(a, b) { a - b } ; g <- function(...) { f(1, ...) } ; g(a = 2) }\");\n\n assertEval(Output.IgnoreErrorContext, \"{ f <- function(...) { ..3 } ; f(1,2) }\");\n\n assertEval(Output.IgnoreErrorContext, \"{ f <- function() { dummy() } ; f() }\");\n assertEval(Output.IgnoreErrorContext, \"{ f <- function() { if (FALSE) { dummy <- 2 } ; dummy() } ; f() }\");\n assertEval(Output.IgnoreErrorContext, \"{ f <- function() { if (FALSE) { dummy <- 2 } ; g <- function() { dummy() } ; g() } ; f() }\");\n assertEval(Output.IgnoreErrorContext, \"{ f <- function() { dummy <- 2 ; g <- function() { dummy() } ; g() } ; f() }\");\n assertEval(Output.IgnoreErrorContext, \"{ f <- function() { dummy() } ; dummy <- 2 ; f() }\");\n assertEval(Output.IgnoreErrorContext, \"{ dummy <- 2 ; dummy() }\");\n assertEval(\"{ f <- function(a, b) { a + b } ; g <- function(...) { f(a=1, ...) } ; g(a=2) }\");\n assertEval(\"{ f <- function(a, barg, bextra) { a + barg } ; g <- function(...) { f(a=1, ...) } ; g(b=2,3) }\");\n assertEval(\"{ f <- function(a, barg, bextra, dummy) { a + barg } ; g <- function(...) { f(a=1, ...) } ; g(be=2,bex=3, 3) }\");\n\n assertEval(\"{ f <- function(a, barg, bextra, dummy) { a + barg } ; g <- function(...) { f(a=1, ...) } ; g(1,2,3) }\");\n assertEval(\"{ f <- function(...,d) { ..1 + ..2 } ; f(1,d=4,2) }\");\n assertEval(\"{ f <- function(...,d) { ..1 + ..2 } ; f(1,2,d=4) }\");\n\n assertEval(\"{ f<-function(...) print(attributes(list(...))); f(a=7) }\");\n assertEval(\"{ f<-function(...) print(attributes(list(...))); f(a=7, b=42) }\");\n assertEval(\"{ f <- function(...) { x <<- 10 ; ..1 } ; x <- 1 ; f(x) }\");\n assertEval(\"{ f <- function(...) { ..1 ; x <<- 10 ; ..2 } ; x <- 1 ; f(100,x) }\");\n assertEval(\"{ f <- function(...) { ..2 ; x <<- 10 ; ..1 } ; x <- 1 ; f(x,100) }\");\n assertEval(\"{ g <- function(...) { 0 } ; f <- function(...) { g(...) ; x <<- 10 ; ..1 } ; x <- 1 ; f(x) }\");\n\n assertEval(\"{ x<-7; y<-42; f<-function(...) { substitute(g(...)) }; is.language(f(x,y)) }\");\n assertEval(\"{ x<-7; y<-42; f<-function(...) { substitute(g(...)) }; typeof(f(x,y)) }\");\n assertEval(\"{ x<-7; y<-42; f<-function(...) { as.list(substitute(g(...))) }; f(x,y) }\");\n\n assertEval(\"{ f <- function(...) g(...); g <- function(a,b) { print(a); print(b) }; f(1,2); f(a=3,b=4); f(a=5,b=6) }\");\n\n assertEval(\"{ f <- function(a, barg, ...) { a + barg } ; g <- function(...) { f(a=1, ...) } ; g(b=2,3) }\");\n assertEval(\"{ f <- function(a, barg, bextra, dummy) { a + barg } ; g <- function(...) { f(a=1, ...) } ; g(be=2,du=3, 3) }\");\n\n assertEval(\"{ f<-function(x, ...) { sum(x, ...) }; f(7) }\");\n assertEval(\"{ h<-function(x,...) f(x,...); f<-function(x, ...) { sum(x, ...) }; h(7) }\");\n assertEval(\"{ g <- function(x, ...) c(x, ...); g(1) }\");\n assertEval(\"{ g <- function(x, ...) f(x,...); f <-function(x,...) c(x, ...); g(1) }\");\n\n assertEval(\"bug <- function(a, ...) vapply(a, function(.) identical(a, T, ...), NA); v <- c(1,2,3); bug(v)\");\n assertEval(\"bug <- function(a, ...) { f <- function(x) identical(a, T, ...); f(x)}; v1 <- c(1,2,3); bug(v1)\");\n assertEval(\"bug <- function(a, ...) { f <- function(x) identical(a, T, ...); environment(f) <- globalenv(); f(x)}; v1 <- c(1,2,3); bug(v1)\");\n assertEval(\"f2 <- function(...) { f <- function() cat(...); f() }; f2()\");\n assertEval(\"f2 <- function(...) { f <- function() cat(...); environment(f) <- globalenv(); f() }; f2()\");\n assertEval(\"f2 <- function(...) { f <- function() cat(...); f() }; f2(\\\"a\\\")\");\n assertEval(Ignored.ImplementationError, \"f2 <- function(...) { f <- function() cat(...); assign(\\\"...\\\", NULL); f() }; f2(\\\"a\\\")\");\n assertEval(\"f2 <- function(...) { f <- function() cat(...); assign(\\\"...\\\", \\\"asdf\\\"); f() }; f2(\\\"a\\\")\");\n\n assertEval(\"{ g <- function(a,b,x) { a + b * x } ; f <- function(...) { g(x=4, ..., 10) } ; f(b=1,a=2) }\");\n assertEval(\"{ f <- function(a, barg, bextra, dummy) { a + barg } ; g <- function(...) { f(a=1, ..., x=2) } ; g(1) }\");\n assertEval(\"{ f <- function(a, barg, bextra, dummy) { a + barg } ; g <- function(...) { f(a=1, ..., xxx=2) } ; g(1) }\");\n assertEval(\"{ f <- function(a, barg, bextra, dummy) { a + barg } ; g <- function(...) { f(a=1, xxx=2, ...) } ; g(1) }\");\n\n assertEval(\"{ `-.foo` <- function(...) 123; v <- 1; class(v) <- 'foo'; sapply(1,`-`,v); sapply(v,`-`,1); sapply(v,`-`,v) }\");\n\n assertEval(\"{ f <- function(...) { substitute(..1) } ; f(x+y) }\");\n // Error messages differ\n // Expected output: Error in get(as.character(FUN), mode = \"function\", envir = envir) :\n // object 'dummy' of mode 'function' was not found\n // FastR output: Error in match.fun(FUN) : could not find function \"dummy\"\n assertEval(Output.IgnoreErrorMessage, \"{ lapply(1:3, \\\"dummy\\\") }\");\n\n // Error messages differ\n // Expected output: Error in f(a = 1, ..., x = 2, z = 3) : unused arguments (x = 2, z = 3)\n // FastR output: Error in f(a = 1, ..., x = 2, z = 3) : unused argument (x = 2)\n assertEval(Output.IgnoreErrorMessage, \"{ f <- function(a, barg, bextra, dummy) { a + barg } ; g <- function(...) { f(a=1, ..., x=2,z=3) } ; g(1) }\");\n assertEval(\"{ f <- function(a, barg, bextra, dummy) { a + barg } ; g <- function(...) { f(a=1, ...,,,) } ; g(1) }\");\n // Error messages differ\n // Expected output: Error in ..2 + ..2 : non-numeric argument to binary operator\n // FastR output: Error in ..2 + ..2 : invalid argument to unary operator\n assertEval(Output.IgnoreErrorMessage, \"{ f <- function(...) { ..2 + ..2 } ; f(1,,2) }\");\n // FIXME GnuR's probably better approach since missing(..n) could be used\n // for arg presence so using ImplementationError for now.\n // Expected output: Error in ..1 + ..2 : non-numeric argument to binary operator\n // FastR output: [1] 1\n assertEval(Ignored.ImplementationError, \"{ f <- function(...) { ..1 + ..2 } ; f(1,,3) }\");\n\n assertEval(\"{ f1 <- function(...) { subst <- substitute(list(...))[-1L]; eval(subst[[1]]) }; f2 <- function(a, ...) TRUE; f3 <- function(a, ...) { cat(\\\"Here:\\\"); f1(f2(a, ...)) }; f1(f3(\\\"aaa\\\")) }\");\n }\n\n @Test\n public void testInvokeIndirectly() {\n assertEval(\"{ f <- function(x) x+1 ; g <- function(x) x+2 ; h <- function(v) if (v==1) f else g ; h(1)(1) }\");\n assertEval(\"{ f <- function(x) x+1 ; g <- function(x) x+2 ; h <- function(v) if (v==1) f else g ; h(2)(1) }\");\n assertEval(\"{ f <- function(x) x+1 ; g <- function(x) x+2 ; v <- 1 ; (if (v==1) f else g)(1) }\");\n assertEval(\"{ f <- function(x) x+1 ; g <- function(x) x+2 ; v <- 2 ; (if (v==1) f else g)(1) }\");\n assertEval(\"{ f <- function(x) x+1 ; g <- function(x) x+2 ; funs <- list(f,g) ; funs[[1]](1) }\");\n assertEval(\"{ f <- function(x) x+1 ; g <- function(x) x+2 ; funs <- list(f,g) ; funs[[2]](1) }\");\n }\n\n @Test\n public void testArgs() {\n assertEval(\"{ f<-function(x, row.names = NULL, optional = FALSE, ...) {print(optional)}; f(c(7,42), row.names=NULL, nm=\\\"x\\\") }\");\n assertEval(\"{ f<-function(x, row.names = NULL, optional = FALSE, ...) {print(optional); for (i in list(...)) {print(i)} }; f(c(7,42), row.names=NULL, nm=\\\"x\\\") }\");\n }\n\n @Test\n public void testUnusedArgumentErrors() {\n assertEval(\"{ foo <- function(x) x; foo(1, 2, 3) }\");\n assertEval(\"{ foo <- function(x) x; foo() }\");\n }\n\n @Test\n public void testFunctionPrinting() {\n assertEval(\"{ foo <- function(x) x; foo }\");\n assertEval(\"{ sum }\");\n\n // mismatch on and formatting\n assertEval(Ignored.Unstable, \"{ exists }\");\n }\n\n @Test\n public void testFunctionResultPrinting() {\n assertEval(\"{ foo <- function() { x <- 1; return(x) }; foo() }\");\n }\n\n @Test\n public void testIsPrimitive() {\n assertEval(\"{ is.primitive(is.primitive) }\");\n assertEval(\"{ is.primitive(is.function) }\");\n }\n\n @Test\n public void testDefaultArgs() {\n assertEval(\"{ array(dim=c(-2,2)); }\");\n assertEval(\"{ array(dim=c(-2,-2)); }\");\n assertEval(\"{ length(array(dim=c(1,0,2,3))) }\");\n assertEval(\"{ dim(array(dim=c(2.1,2.9,3.1,4.7))) }\");\n }\n\n @Test\n public void testMatchFun() {\n assertEval(\"{ f <- match.fun(length) ; f(c(1,2,3)) }\");\n assertEval(\"{ f <- match.fun(\\\"length\\\") ; f(c(1,2,3)) }\");\n assertEval(\"{ f <- function(x) { y <- match.fun(x) ; y(c(1,2,3)) } ; c(f(\\\"sum\\\"),f(\\\"cumsum\\\")) }\");\n assertEval(\"{ f <- function(x) { y <- match.fun(x) ; y(3,4) } ; c(f(\\\"+\\\"),f(\\\"*\\\")) }\");\n }\n\n @Test\n public void testStateTransitions() {\n assertEval(\"{ f<-function(x) { l<-length(x); x[1]<-1 }; y<-c(42,7); f(y); y }\");\n }\n\n @Test\n public void testConversions() {\n assertEval(\"{ x<-quote(list(...)); l<-list(); l[[2]]<-x; names(l)<-c(\\\"...\\\"); f<-as.function(l); f(7, 42) }\");\n }\n\n @Test\n public void testSrcref() {\n assertEval(\"1\\nf <- quote(function(x, y) \\n a + \\n foooo); as.list(f); as.list(f)[[4]]; unclass(as.list(f)[[4]]); class(as.list(f)[[4]])\");\n }\n}\n"}
-{"text": "/**\n * Shopware 5\n * Copyright (c) shopware AG\n *\n * According to our dual licensing model, this program can be used either\n * under the terms of the GNU Affero General Public License, version 3,\n * or under a proprietary license.\n *\n * The texts of the GNU Affero General Public License with an additional\n * permission and of our proprietary license can be found at and\n * in the LICENSE file you have received along with this program.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * \"Shopware\" is a registered trademark of shopware AG.\n * The licensing of the program under the AGPLv3 does not imply a\n * trademark license. Therefore any rights, title and interest in\n * our trademarks remain entirely with us.\n *\n * @category Shopware\n * @package Emotion\n * @subpackage View\n * @version $Id$\n * @author shopware AG\n */\n\n//{block name=\"backend/emotion/view/components/html_element\"}\n//{namespace name=\"backend/emotion/view/components/html_element\"}\nExt.define('Shopware.apps.Emotion.view.components.HtmlElement', {\n extend: 'Shopware.apps.Emotion.view.components.Base',\n alias: 'widget.emotion-components-html-element',\n\n snippets: {\n text: {\n fieldLabel: '{s name=\"text/label\"}Text{/s}',\n supportText: '{s name=\"text/support\"}Do not add styling{/s}'\n\n },\n cms_title: '{s name=\"cms_title\"}Title{/s}',\n needsNoStyling: {\n fieldLabel: '{s name=\"needsNoStyling/label\"}Do not add styling{/s}',\n supportText: '{s name=\"needsNoStyling/support\"}If selected, no other layout styling is applied.{/s}'\n }\n }\n});\n//{/block}\n"}
-{"text": "// Copyright (c) 2000\n// Utrecht University (The Netherlands),\n// ETH Zurich (Switzerland),\n// INRIA Sophia-Antipolis (France),\n// Max-Planck-Institute Saarbruecken (Germany),\n// and Tel-Aviv University (Israel). All rights reserved.\n//\n// This file is part of CGAL (www.cgal.org)\n//\n// $URL$\n// $Id$\n// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial\n//\n//\n// Author(s) : Geert-Jan Giezeman\n\n\n#ifndef CGAL_INTERSECTIONS_2_POINT_2_TRIANGLE_2_H\n#define CGAL_INTERSECTIONS_2_POINT_2_TRIANGLE_2_H\n\n#include \n#include \n#include \n#include \n#include \n\nnamespace CGAL {\n\nnamespace Intersections {\n\nnamespace internal {\n\ntemplate \nclass Point_2_Triangle_2_pair {\npublic:\n enum Intersection_results {NO_INTERSECTION, POINT};\n Point_2_Triangle_2_pair(typename K::Point_2 const *pt,\n typename K::Triangle_2 const *trian)\n : _pt(pt), _trian(trian), _known(false) {}\n\n Intersection_results intersection_type() const;\n\n typename K::Point_2 intersection_point() const;\nprotected:\n typename K::Point_2 const * _pt;\n typename K::Triangle_2 const * _trian;\n mutable bool _known;\n mutable Intersection_results _result;\n mutable typename K::Point_2 _intersection_point;\n mutable typename K::Point_2 _other_point;\n};\n\ntemplate \ninline bool do_intersect(const typename K::Point_2 &p1,\n const typename K::Triangle_2 &p2,\n const K&)\n{\n typedef Point_2_Triangle_2_pair pair_t;\n pair_t pair(&p1, &p2);\n return pair.intersection_type() != pair_t::NO_INTERSECTION;\n}\n\ntemplate \ninline bool do_intersect(const typename K::Triangle_2 &p2,\n const typename K::Point_2 &p1,\n const K& k)\n{\n return internal::do_intersect(p1, p2, k);\n}\n\n\ntemplate \ntypename Point_2_Triangle_2_pair::Intersection_results\nPoint_2_Triangle_2_pair::intersection_type() const\n{\n if (_known)\n return _result;\n// The non const this pointer is used to cast away const.\n _known = true;\n if (_trian->has_on_unbounded_side(*_pt)) {\n _result = NO_INTERSECTION;\n } else {\n _result = POINT;\n }\n return _result;\n}\n\n\n\ntemplate \ntypename K::Point_2\nPoint_2_Triangle_2_pair::\nintersection_point() const\n{\n if (!_known)\n intersection_type();\n CGAL_kernel_assertion(_result == POINT);\n return *_pt;\n}\n\n\n\ntemplate \ntypename Intersection_traits\n::result_type\nintersection(const typename K::Point_2 &pt,\n const typename K::Triangle_2 &tr,\n const K&)\n{\n typedef Point_2_Triangle_2_pair is_t;\n is_t ispair(&pt, &tr);\n switch (ispair.intersection_type()) {\n case is_t::NO_INTERSECTION:\n default:\n return intersection_return();\n case is_t::POINT:\n return intersection_return(pt);\n }\n}\n\ntemplate \ninline\ntypename Intersection_traits\n::result_type\nintersection(const typename K::Triangle_2 &tr,\n const typename K::Point_2 &pt,\n const K&k)\n{\n return internal::intersection(pt, tr, k);\n}\n\n} // namespace internal\n} // namespace Intersections\n\nCGAL_INTERSECTION_FUNCTION(Point_2, Triangle_2, 2)\nCGAL_DO_INTERSECT_FUNCTION(Point_2, Triangle_2, 2)\n\n} //namespace CGAL\n\n#endif\n"}
-{"text": "/*\n * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.\n * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.\n *\n * This copyrighted material is made available to anyone wishing to use,\n * modify, copy, or redistribute it subject to the terms and conditions\n * of the GNU General Public License version 2.\n */\n\n#include \n#include \n#include \n#include \n#include \n#include \n\n#include \"gfs2.h\"\n#include \"incore.h\"\n#include \"glock.h\"\n#include \"util.h\"\n\nstruct kmem_cache *gfs2_glock_cachep __read_mostly;\nstruct kmem_cache *gfs2_glock_aspace_cachep __read_mostly;\nstruct kmem_cache *gfs2_inode_cachep __read_mostly;\nstruct kmem_cache *gfs2_bufdata_cachep __read_mostly;\nstruct kmem_cache *gfs2_rgrpd_cachep __read_mostly;\nstruct kmem_cache *gfs2_quotad_cachep __read_mostly;\nstruct kmem_cache *gfs2_rsrv_cachep __read_mostly;\nmempool_t *gfs2_page_pool __read_mostly;\n\nvoid gfs2_assert_i(struct gfs2_sbd *sdp)\n{\n\tprintk(KERN_EMERG \"GFS2: fsid=%s: fatal assertion failed\\n\",\n\t sdp->sd_fsname);\n}\n\nint gfs2_lm_withdraw(struct gfs2_sbd *sdp, char *fmt, ...)\n{\n\tstruct lm_lockstruct *ls = &sdp->sd_lockstruct;\n\tconst struct lm_lockops *lm = ls->ls_ops;\n\tva_list args;\n\n\tif (sdp->sd_args.ar_errors == GFS2_ERRORS_WITHDRAW &&\n\t test_and_set_bit(SDF_SHUTDOWN, &sdp->sd_flags))\n\t\treturn 0;\n\n\tva_start(args, fmt);\n\tvprintk(fmt, args);\n\tva_end(args);\n\n\tif (sdp->sd_args.ar_errors == GFS2_ERRORS_WITHDRAW) {\n\t\tfs_err(sdp, \"about to withdraw this file system\\n\");\n\t\tBUG_ON(sdp->sd_args.ar_debug);\n\n\t\tkobject_uevent(&sdp->sd_kobj, KOBJ_OFFLINE);\n\n\t\tif (!strcmp(sdp->sd_lockstruct.ls_ops->lm_proto_name, \"lock_dlm\"))\n\t\t\twait_for_completion(&sdp->sd_wdack);\n\n\t\tif (lm->lm_unmount) {\n\t\t\tfs_err(sdp, \"telling LM to unmount\\n\");\n\t\t\tlm->lm_unmount(sdp);\n\t\t}\n\t\tfs_err(sdp, \"withdrawn\\n\");\n\t\tdump_stack();\n\t}\n\n\tif (sdp->sd_args.ar_errors == GFS2_ERRORS_PANIC)\n\t\tpanic(\"GFS2: fsid=%s: panic requested.\\n\", sdp->sd_fsname);\n\n\treturn -1;\n}\n\n/**\n * gfs2_assert_withdraw_i - Cause the machine to withdraw if @assertion is false\n * Returns: -1 if this call withdrew the machine,\n * -2 if it was already withdrawn\n */\n\nint gfs2_assert_withdraw_i(struct gfs2_sbd *sdp, char *assertion,\n\t\t\t const char *function, char *file, unsigned int line)\n{\n\tint me;\n\tme = gfs2_lm_withdraw(sdp,\n\t\t\"GFS2: fsid=%s: fatal: assertion \\\"%s\\\" failed\\n\"\n\t\t\"GFS2: fsid=%s: function = %s, file = %s, line = %u\\n\",\n\t\tsdp->sd_fsname, assertion,\n\t\tsdp->sd_fsname, function, file, line);\n\tdump_stack();\n\treturn (me) ? -1 : -2;\n}\n\n/**\n * gfs2_assert_warn_i - Print a message to the console if @assertion is false\n * Returns: -1 if we printed something\n * -2 if we didn't\n */\n\nint gfs2_assert_warn_i(struct gfs2_sbd *sdp, char *assertion,\n\t\t const char *function, char *file, unsigned int line)\n{\n\tif (time_before(jiffies,\n\t\t\tsdp->sd_last_warning +\n\t\t\tgfs2_tune_get(sdp, gt_complain_secs) * HZ))\n\t\treturn -2;\n\n\tif (sdp->sd_args.ar_errors == GFS2_ERRORS_WITHDRAW)\n\t\tprintk(KERN_WARNING\n\t\t \"GFS2: fsid=%s: warning: assertion \\\"%s\\\" failed\\n\"\n\t\t \"GFS2: fsid=%s: function = %s, file = %s, line = %u\\n\",\n\t\t sdp->sd_fsname, assertion,\n\t\t sdp->sd_fsname, function, file, line);\n\n\tif (sdp->sd_args.ar_debug)\n\t\tBUG();\n\telse\n\t\tdump_stack();\n\n\tif (sdp->sd_args.ar_errors == GFS2_ERRORS_PANIC)\n\t\tpanic(\"GFS2: fsid=%s: warning: assertion \\\"%s\\\" failed\\n\"\n\t\t \"GFS2: fsid=%s: function = %s, file = %s, line = %u\\n\",\n\t\t sdp->sd_fsname, assertion,\n\t\t sdp->sd_fsname, function, file, line);\n\n\tsdp->sd_last_warning = jiffies;\n\n\treturn -1;\n}\n\n/**\n * gfs2_consist_i - Flag a filesystem consistency error and withdraw\n * Returns: -1 if this call withdrew the machine,\n * 0 if it was already withdrawn\n */\n\nint gfs2_consist_i(struct gfs2_sbd *sdp, int cluster_wide, const char *function,\n\t\t char *file, unsigned int line)\n{\n\tint rv;\n\trv = gfs2_lm_withdraw(sdp,\n\t\t\"GFS2: fsid=%s: fatal: filesystem consistency error\\n\"\n\t\t\"GFS2: fsid=%s: function = %s, file = %s, line = %u\\n\",\n\t\tsdp->sd_fsname,\n\t\tsdp->sd_fsname, function, file, line);\n\treturn rv;\n}\n\n/**\n * gfs2_consist_inode_i - Flag an inode consistency error and withdraw\n * Returns: -1 if this call withdrew the machine,\n * 0 if it was already withdrawn\n */\n\nint gfs2_consist_inode_i(struct gfs2_inode *ip, int cluster_wide,\n\t\t\t const char *function, char *file, unsigned int line)\n{\n\tstruct gfs2_sbd *sdp = GFS2_SB(&ip->i_inode);\n\tint rv;\n\trv = gfs2_lm_withdraw(sdp,\n\t\t\"GFS2: fsid=%s: fatal: filesystem consistency error\\n\"\n\t\t\"GFS2: fsid=%s: inode = %llu %llu\\n\"\n\t\t\"GFS2: fsid=%s: function = %s, file = %s, line = %u\\n\",\n\t\tsdp->sd_fsname,\n\t\tsdp->sd_fsname, (unsigned long long)ip->i_no_formal_ino,\n\t\t(unsigned long long)ip->i_no_addr,\n\t\tsdp->sd_fsname, function, file, line);\n\treturn rv;\n}\n\n/**\n * gfs2_consist_rgrpd_i - Flag a RG consistency error and withdraw\n * Returns: -1 if this call withdrew the machine,\n * 0 if it was already withdrawn\n */\n\nint gfs2_consist_rgrpd_i(struct gfs2_rgrpd *rgd, int cluster_wide,\n\t\t\t const char *function, char *file, unsigned int line)\n{\n\tstruct gfs2_sbd *sdp = rgd->rd_sbd;\n\tint rv;\n\trv = gfs2_lm_withdraw(sdp,\n\t\t\"GFS2: fsid=%s: fatal: filesystem consistency error\\n\"\n\t\t\"GFS2: fsid=%s: RG = %llu\\n\"\n\t\t\"GFS2: fsid=%s: function = %s, file = %s, line = %u\\n\",\n\t\tsdp->sd_fsname,\n\t\tsdp->sd_fsname, (unsigned long long)rgd->rd_addr,\n\t\tsdp->sd_fsname, function, file, line);\n\treturn rv;\n}\n\n/**\n * gfs2_meta_check_ii - Flag a magic number consistency error and withdraw\n * Returns: -1 if this call withdrew the machine,\n * -2 if it was already withdrawn\n */\n\nint gfs2_meta_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh,\n\t\t const char *type, const char *function, char *file,\n\t\t unsigned int line)\n{\n\tint me;\n\tme = gfs2_lm_withdraw(sdp,\n\t\t\"GFS2: fsid=%s: fatal: invalid metadata block\\n\"\n\t\t\"GFS2: fsid=%s: bh = %llu (%s)\\n\"\n\t\t\"GFS2: fsid=%s: function = %s, file = %s, line = %u\\n\",\n\t\tsdp->sd_fsname,\n\t\tsdp->sd_fsname, (unsigned long long)bh->b_blocknr, type,\n\t\tsdp->sd_fsname, function, file, line);\n\treturn (me) ? -1 : -2;\n}\n\n/**\n * gfs2_metatype_check_ii - Flag a metadata type consistency error and withdraw\n * Returns: -1 if this call withdrew the machine,\n * -2 if it was already withdrawn\n */\n\nint gfs2_metatype_check_ii(struct gfs2_sbd *sdp, struct buffer_head *bh,\n\t\t\t u16 type, u16 t, const char *function,\n\t\t\t char *file, unsigned int line)\n{\n\tint me;\n\tme = gfs2_lm_withdraw(sdp,\n\t\t\"GFS2: fsid=%s: fatal: invalid metadata block\\n\"\n\t\t\"GFS2: fsid=%s: bh = %llu (type: exp=%u, found=%u)\\n\"\n\t\t\"GFS2: fsid=%s: function = %s, file = %s, line = %u\\n\",\n\t\tsdp->sd_fsname,\n\t\tsdp->sd_fsname, (unsigned long long)bh->b_blocknr, type, t,\n\t\tsdp->sd_fsname, function, file, line);\n\treturn (me) ? -1 : -2;\n}\n\n/**\n * gfs2_io_error_i - Flag an I/O error and withdraw\n * Returns: -1 if this call withdrew the machine,\n * 0 if it was already withdrawn\n */\n\nint gfs2_io_error_i(struct gfs2_sbd *sdp, const char *function, char *file,\n\t\t unsigned int line)\n{\n\tint rv;\n\trv = gfs2_lm_withdraw(sdp,\n\t\t\"GFS2: fsid=%s: fatal: I/O error\\n\"\n\t\t\"GFS2: fsid=%s: function = %s, file = %s, line = %u\\n\",\n\t\tsdp->sd_fsname,\n\t\tsdp->sd_fsname, function, file, line);\n\treturn rv;\n}\n\n/**\n * gfs2_io_error_bh_i - Flag a buffer I/O error and withdraw\n * Returns: -1 if this call withdrew the machine,\n * 0 if it was already withdrawn\n */\n\nint gfs2_io_error_bh_i(struct gfs2_sbd *sdp, struct buffer_head *bh,\n\t\t const char *function, char *file, unsigned int line)\n{\n\tint rv;\n\trv = gfs2_lm_withdraw(sdp,\n\t\t\"GFS2: fsid=%s: fatal: I/O error\\n\"\n\t\t\"GFS2: fsid=%s: block = %llu\\n\"\n\t\t\"GFS2: fsid=%s: function = %s, file = %s, line = %u\\n\",\n\t\tsdp->sd_fsname,\n\t\tsdp->sd_fsname, (unsigned long long)bh->b_blocknr,\n\t\tsdp->sd_fsname, function, file, line);\n\treturn rv;\n}\n\nvoid gfs2_icbit_munge(struct gfs2_sbd *sdp, unsigned char **bitmap,\n\t\t unsigned int bit, int new_value)\n{\n\tunsigned int c, o, b = bit;\n\tint old_value;\n\n\tc = b / (8 * PAGE_SIZE);\n\tb %= 8 * PAGE_SIZE;\n\to = b / 8;\n\tb %= 8;\n\n\told_value = (bitmap[c][o] & (1 << b));\n\tgfs2_assert_withdraw(sdp, !old_value != !new_value);\n\n\tif (new_value)\n\t\tbitmap[c][o] |= 1 << b;\n\telse\n\t\tbitmap[c][o] &= ~(1 << b);\n}\n\n"}
-{"text": "package Selenium::Remote::Finders;\n$Selenium::Remote::Finders::VERSION = '1.36';\nuse strict;\nuse warnings;\n\n# ABSTRACT: Handle construction of generic parameter finders\nuse Try::Tiny;\nuse Carp qw/carp/;\nuse Moo::Role;\nuse namespace::clean;\n\n\nsub _build_find_by {\n my ( $self, $by ) = @_;\n\n return sub {\n my ( $driver, $locator ) = @_;\n my $strategy = $by;\n\n return try {\n return $driver->find_element( $locator, $strategy );\n }\n catch {\n carp $_;\n return 0;\n };\n }\n}\n\n1;\n\n__END__\n\n=pod\n\n=encoding UTF-8\n\n=head1 NAME\n\nSelenium::Remote::Finders - Handle construction of generic parameter finders\n\n=head1 VERSION\n\nversion 1.36\n\n=head1 DESCRIPTION\n\nThis package just takes care of setting up parameter finders - that\nis, the C versions of the find element\nfunctions. You probably don't need to do anything with this package;\ninstead, see L documentation\nfor the specific finder functions.\n\n=head1 SEE ALSO\n\nPlease see those modules/websites for more information related to this module.\n\n=over 4\n\n=item *\n\nL