code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
package ca.uhn.fhir.jpa.term; /* * #%L * HAPI FHIR JPA Server * %% * Copyright (C) 2014 - 2016 University Health Network * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * #L% */ public class VersionIndependentConcept { private String mySystem; private String myCode; public VersionIndependentConcept(String theSystem, String theCode) { setSystem(theSystem); setCode(theCode); } public String getSystem() { return mySystem; } public void setSystem(String theSystem) { mySystem = theSystem; } public String getCode() { return myCode; } public void setCode(String theCode) { myCode = theCode; } }
Gaduo/hapi-fhir
hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/VersionIndependentConcept.java
Java
apache-2.0
1,149
/* * Copyright 2016 Dennis Vriend * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.github.dnvriend.streams.stage.simple import akka.stream.testkit.scaladsl.TestSink import com.github.dnvriend.streams.TestSpec class DropWhileStageTest extends TestSpec { /** * Discard elements at the beginning of the stream while predicate is true. * All elements will be taken after predicate returns false first time. * * - Emits when: predicate returned false and for all following stream elements * - Backpressures when: predicate returned false and downstream backpressures * - Completes when: upstream completes * - Cancels when: downstream cancels */ "DropWhile" should "discard elements while the predicate is true, else it emits elements" in { withIterator() { src ⇒ src.take(10) .dropWhile(_ < 5) .runWith(TestSink.probe[Int]) .request(Integer.MAX_VALUE) .expectNext(5, 6, 7, 8, 9) .expectComplete() } } }
dnvriend/intro-to-akka-streams
src/test/scala/com/github/dnvriend/streams/stage/simple/DropWhileStageTest.scala
Scala
apache-2.0
1,516
# Hedyotis pterospora F.Muell. SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Gentianales/Rubiaceae/Oldenlandia/Oldenlandia pterospora/ Syn. Hedyotis pterospora/README.md
Markdown
apache-2.0
185
# Eleocharis caribaea var. dispar VARIETY #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Liliopsida/Poales/Cyperaceae/Eleocharis/Eleocharis geniculata/ Syn. Eleocharis caribaea dispar/README.md
Markdown
apache-2.0
188
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ #include <aws/states/model/Tag.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace SFN { namespace Model { Tag::Tag() : m_keyHasBeenSet(false), m_valueHasBeenSet(false) { } Tag::Tag(JsonView jsonValue) : m_keyHasBeenSet(false), m_valueHasBeenSet(false) { *this = jsonValue; } Tag& Tag::operator =(JsonView jsonValue) { if(jsonValue.ValueExists("key")) { m_key = jsonValue.GetString("key"); m_keyHasBeenSet = true; } if(jsonValue.ValueExists("value")) { m_value = jsonValue.GetString("value"); m_valueHasBeenSet = true; } return *this; } JsonValue Tag::Jsonize() const { JsonValue payload; if(m_keyHasBeenSet) { payload.WithString("key", m_key); } if(m_valueHasBeenSet) { payload.WithString("value", m_value); } return payload; } } // namespace Model } // namespace SFN } // namespace Aws
cedral/aws-sdk-cpp
aws-cpp-sdk-states/source/model/Tag.cpp
C++
apache-2.0
1,559
/** * Copyright 2015-2017 The OpenZipkin Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under the License * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express * or implied. See the License for the specific language governing permissions and limitations under * the License. */ package zipkin.benchmarks; import java.util.List; import java.util.concurrent.TimeUnit; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Fork; import org.openjdk.jmh.annotations.Measurement; import org.openjdk.jmh.annotations.Mode; import org.openjdk.jmh.annotations.OutputTimeUnit; import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.State; import org.openjdk.jmh.annotations.Threads; import org.openjdk.jmh.annotations.Warmup; import org.openjdk.jmh.runner.Runner; import org.openjdk.jmh.runner.RunnerException; import org.openjdk.jmh.runner.options.Options; import org.openjdk.jmh.runner.options.OptionsBuilder; import zipkin.Annotation; import zipkin.BinaryAnnotation; import zipkin.Constants; import zipkin.Endpoint; import zipkin.TraceKeys; import zipkin2.Span; import zipkin.internal.V2SpanConverter; import zipkin.internal.Util; @Measurement(iterations = 5, time = 1) @Warmup(iterations = 10, time = 1) @Fork(3) @BenchmarkMode(Mode.Throughput) @OutputTimeUnit(TimeUnit.MICROSECONDS) @State(Scope.Thread) @Threads(1) public class Span2ConverterBenchmarks { Endpoint frontend = Endpoint.create("frontend", 127 << 24 | 1); Endpoint backend = Endpoint.builder() .serviceName("backend") .ipv4(192 << 24 | 168 << 16 | 99 << 8 | 101) .port(9000) .build(); zipkin.Span shared = zipkin.Span.builder() .traceIdHigh(Util.lowerHexToUnsignedLong("7180c278b62e8f6a")) .traceId(Util.lowerHexToUnsignedLong("216a2aea45d08fc9")) .parentId(Util.lowerHexToUnsignedLong("6b221d5bc9e6496c")) .id(Util.lowerHexToUnsignedLong("5b4185666d50f68b")) .name("get") .timestamp(1472470996199000L) .duration(207000L) .addAnnotation(Annotation.create(1472470996199000L, Constants.CLIENT_SEND, frontend)) .addAnnotation(Annotation.create(1472470996238000L, Constants.WIRE_SEND, frontend)) .addAnnotation(Annotation.create(1472470996250000L, Constants.SERVER_RECV, backend)) .addAnnotation(Annotation.create(1472470996350000L, Constants.SERVER_SEND, backend)) .addAnnotation(Annotation.create(1472470996403000L, Constants.WIRE_RECV, frontend)) .addAnnotation(Annotation.create(1472470996406000L, Constants.CLIENT_RECV, frontend)) .addBinaryAnnotation(BinaryAnnotation.create(TraceKeys.HTTP_PATH, "/api", frontend)) .addBinaryAnnotation(BinaryAnnotation.create(TraceKeys.HTTP_PATH, "/backend", backend)) .addBinaryAnnotation(BinaryAnnotation.create("clnt/finagle.version", "6.45.0", frontend)) .addBinaryAnnotation(BinaryAnnotation.create("srv/finagle.version", "6.44.0", backend)) .addBinaryAnnotation(BinaryAnnotation.address(Constants.CLIENT_ADDR, frontend)) .addBinaryAnnotation(BinaryAnnotation.address(Constants.SERVER_ADDR, backend)) .build(); zipkin.Span server = zipkin.Span.builder() .traceIdHigh(Util.lowerHexToUnsignedLong("7180c278b62e8f6a")) .traceId(Util.lowerHexToUnsignedLong("216a2aea45d08fc9")) .parentId(Util.lowerHexToUnsignedLong("6b221d5bc9e6496c")) .id(Util.lowerHexToUnsignedLong("5b4185666d50f68b")) .name("get") .addAnnotation(Annotation.create(1472470996250000L, Constants.SERVER_RECV, backend)) .addAnnotation(Annotation.create(1472470996350000L, Constants.SERVER_SEND, backend)) .addBinaryAnnotation(BinaryAnnotation.create(TraceKeys.HTTP_PATH, "/backend", backend)) .addBinaryAnnotation(BinaryAnnotation.create("srv/finagle.version", "6.44.0", backend)) .addBinaryAnnotation(BinaryAnnotation.address(Constants.CLIENT_ADDR, frontend)) .build(); Span server2 = Span.newBuilder() .traceId("7180c278b62e8f6a216a2aea45d08fc9") .parentId("6b221d5bc9e6496c") .id("5b4185666d50f68b") .name("get") .kind(Span.Kind.SERVER) .shared(true) .localEndpoint(backend.toV2()) .remoteEndpoint(frontend.toV2()) .timestamp(1472470996250000L) .duration(100000L) .putTag(TraceKeys.HTTP_PATH, "/backend") .putTag("srv/finagle.version", "6.44.0") .build(); @Benchmark public List<Span> fromSpan_splitShared() { return V2SpanConverter.fromSpan(shared); } @Benchmark public List<Span> fromSpan() { return V2SpanConverter.fromSpan(server); } @Benchmark public zipkin.Span toSpan() { return V2SpanConverter.toSpan(server2); } // Convenience main entry-point public static void main(String[] args) throws RunnerException { Options opt = new OptionsBuilder() .include(".*" + Span2ConverterBenchmarks.class.getSimpleName() + ".*") .build(); new Runner(opt).run(); } }
soundcloud/zipkin
benchmarks/src/main/java/zipkin/benchmarks/Span2ConverterBenchmarks.java
Java
apache-2.0
5,211
zhangyu
RobbieRain/he
test.py
Python
apache-2.0
7
/* * Copyright 2014 Technische Universität Darmstadt * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ using KaVE.Commons.Model.Naming; using KaVE.Commons.Model.Naming.CodeElements; using KaVE.Commons.Model.TypeShapes; namespace KaVE.Commons.Tests.Model.TypeShapes { internal class PropertyHierarchyTest : MemberHierarchyTestBase<IPropertyName> { protected override IMemberHierarchy<IPropertyName> CreateSut() { return new PropertyHierarchy(); } protected override IMemberHierarchy<IPropertyName> CreateSut(IPropertyName n) { return new PropertyHierarchy(n); } protected override IPropertyName Get(int num = 0) { return num == 0 ? Names.UnknownProperty : Names.Property(string.Format("get set [T1,P1] [T2,P2].P{0}()", num)); } } }
kave-cc/csharp-commons
KaVE.Commons.Tests/Model/TypeShapes/PropertyHierarchyTest.cs
C#
apache-2.0
1,405
// NOTE: this file should only be included when embedding the inspector - no other files should be included (this will do everything) // If gliEmbedDebug == true, split files will be used, otherwise the cat'ed scripts will be inserted (function() { var pathRoot = ""; var useDebug = window["gliEmbedDebug"]; // Find self in the <script> tags var scripts = document.head.getElementsByTagName("script"); for (var n = 0; n < scripts.length; n++) { var scriptTag = scripts[n]; var src = scriptTag.src.toLowerCase(); if (/core\/embed.js$/.test(src)) { // Found ourself - strip our name and set the root var index = src.lastIndexOf("embed.js"); pathRoot = scriptTag.src.substring(0, index); break; } } function insertHeaderNode(node) { var targets = [ document.body, document.head, document.documentElement ]; for (var n = 0; n < targets.length; n++) { var target = targets[n]; if (target) { if (target.firstElementChild) { target.insertBefore(node, target.firstElementChild); } else { target.appendChild(node); } break; } } } ; function insertStylesheet(url) { var link = document.createElement("link"); link.rel = "stylesheet"; link.href = url; insertHeaderNode(link); return link; } ; function insertScript(url) { var script = document.createElement("script"); script.type = "text/javascript"; script.src = url; insertHeaderNode(script); return script; } ; if (useDebug) { // Fall through below and use the loader to get things } else { var jsurl = pathRoot + "lib/gli.all.js"; var cssurl = pathRoot + "lib/gli.all.css"; window.gliCssUrl = cssurl; insertStylesheet(cssurl); insertScript(jsurl); } // Always load the loader if (useDebug) { var script = insertScript(pathRoot + "loader.js"); function scriptLoaded() { gliloader.pathRoot = pathRoot; if (useDebug) { // In debug mode load all the scripts gliloader.load([ "host", "replay", "ui" ]); } } ; script.onreadystatechange = function() { if (("loaded" === script.readyState || "complete" === script.readyState) && !script.loadCalled) { this.loadCalled = true; scriptLoaded(); } }; script.onload = function() { if (!script.loadCalled) { this.loadCalled = true; scriptLoaded(); } }; } // Hook canvas.getContext var originalGetContext = HTMLCanvasElement.prototype.getContext; if (!HTMLCanvasElement.prototype.getContextRaw) { HTMLCanvasElement.prototype.getContextRaw = originalGetContext; } HTMLCanvasElement.prototype.getContext = function() { var ignoreCanvas = this.internalInspectorSurface; if (ignoreCanvas) { return originalGetContext.apply(this, arguments); } var contextNames = [ "moz-webgl", "webkit-3d", "experimental-webgl", "webgl" ]; var requestingWebGL = contextNames.indexOf(arguments[0]) != -1; if (requestingWebGL) { // Page is requesting a WebGL context! // TODO: something } var result = originalGetContext.apply(this, arguments); if (result == null) { return null; } if (requestingWebGL) { // TODO: pull options from somewhere? result = gli.host.inspectContext(this, result); var hostUI = new gli.host.HostUI(result); result.hostUI = hostUI; // just so we can access it later for // debugging } return result; }; })();
freekv/jpip.js
examples/js/embed.js
JavaScript
apache-2.0
4,075
[![buildstatus](https://travis-ci.org/holdenk/spark-testing-base.svg?branch=master)](https://travis-ci.org/holdenk/spark-testing-base) # spark-testing-base Base classes to use when writing tests with Spark. # Why? You've written an awesome program in Spark and now its time to write some tests. Only you find yourself writing the code to setup and tear down local mode Spark in between each suite and you say to your self: This is not my beautiful code. So you include com.holdenkarau.spark-testing-base [spark_version]_0.0.5 and extend one of the classes and write some simple tests instead. For example to include this in a project using Spark 1.3.0: "com.holdenkarau" % "spark-testing-base" %% "1.3.0_0.0.5" Note that new versions (0.0.8+) are built against Spark 1.3.0+ for simplicity, but if you need an old version file an issue and I will re-enable cross-builds for older versions. This package is also cross compiled against scala 2.10.4 and 2.11.6 in the traditional manner. # Where is this from? This code is a stripped down version of the test suite bases that are in Apache Spark but are not accessiable.
eyeem/spark-testing-base
README.md
Markdown
apache-2.0
1,119
/* * * (c) Copyright Ascensio System Limited 2010-2021 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ namespace ASC.Mail.Net.IMAP.Server { /// <summary> /// Provides data for IMAP events. /// </summary> public class Mailbox_EventArgs { #region Members private readonly string m_Folder = ""; private readonly string m_NewFolder = ""; #endregion #region Properties /// <summary> /// Gets folder. /// </summary> public string Folder { get { return m_Folder; } } /// <summary> /// Gets new folder name, this is available for rename only. /// </summary> public string NewFolder { get { return m_NewFolder; } } /// <summary> /// Gets or sets custom error text, which is returned to client. /// </summary> public string ErrorText { get; set; } #endregion #region Constructor /// <summary> /// Default constructor. /// </summary> /// <param name="folder"></param> public Mailbox_EventArgs(string folder) { m_Folder = folder; } /// <summary> /// Folder rename constructor. /// </summary> /// <param name="folder"></param> /// <param name="newFolder"></param> public Mailbox_EventArgs(string folder, string newFolder) { m_Folder = folder; m_NewFolder = newFolder; } #endregion } }
ONLYOFFICE/CommunityServer
module/ASC.Mail.Autoreply/ASC.Mail.Core/Net/IMAP/Server/Folder_EventArgs.cs
C#
apache-2.0
2,169
<?php require_once('auth.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <?php include '../connect.php'; $result = $db->prepare("SELECT * FROM products where qty < level ORDER BY product_id DESC"); $result->execute(); $rowcount123 = $result->rowcount(); ?> <html> <head> <!-- js --> <link href="src/facebox.css" media="screen" rel="stylesheet" type="text/css" /> <script src="lib/jquery.js" type="text/javascript"></script> <script src="src/facebox.js" type="text/javascript"></script> <script type="text/javascript"> jQuery(document).ready(function($) { $('a[rel*=facebox]').facebox({ loadingImage : 'src/loading.gif', closeImage : 'src/closelabel.png' }) }) </script> <title> stock take </title> <link href="vendors/uniform.default.css" rel="stylesheet" media="screen"> <link href="css/bootstrap.css" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="css/DT_bootstrap.css"> <link rel="stylesheet" href="css/font-awesome.min.css"> <style type="text/css"> body { padding-top: 60px; padding-bottom: 40px; } .sidebar-nav { padding: 9px 0; } </style> <link href="css/bootstrap-responsive.css" rel="stylesheet"> <script src="vendors/jquery-1.7.2.min.js"></script> <script src="vendors/bootstrap.js"></script> <link href="../style.css" media="screen" rel="stylesheet" type="text/css" /> </head> <?php function createRandomPassword() { $chars = "003232303232023232023456789"; srand((double) microtime() * 1000000); $i = 0; $pass = ''; while ($i <= 7) { $num = rand() % 33; $tmp = substr($chars, $num, 1); $pass = $pass . $tmp; $i++; } return $pass; } $finalcode = 'INV-' . createRandomPassword(); ?> <body> <?php include 'navfixed.php';?> <?php $position = $_SESSION['SESS_LAST_NAME']; if ($position == 'cashier') { ?> <a href="sales.php?id=cash&invoice=<?php echo $finalcode ?>">Cash</a> <a href="../index.php">Logout</a> <?php } if ($position == 'admin' || 'cashier') { ?> <?php }?> </div><!--/.well --> </div> <div class="container"> <div class="contentheader"> <i class="icon-money"></i> stock take </div> <ul class="breadcrumb"> <a href="../main/index.php"><li>Dashboard</li></a> / <li class="active">stock take</li> </ul> <div style="margin-top: -19px; margin-bottom: 21px;"> <a href="../main/index.php"><button class="btn btn-success btn-large" style="float: none;" ><i class="icon icon-circle-arrow-left icon-large"></i> Back</button></a> </div> <div style="text-align:center;"> <font style="color:rgb(255, 95, 66);; font:bold 22px 'Aleo';"><?php echo $rowcount123; ?></font><a rel="facebox" href="level.php"> <button class="btn btn-primary">Low running products</button></a> </div> </div> <div class="container"> <form action="incoming.php" method="post" > <input type="hidden" name="pt" value="<?php echo $_GET['id']; ?>" /> <input type="hidden" name="invoice" value="<?php echo $_GET['invoice']; ?>" /> <select autofocus name="product" style="width:430px;font-size:0.8em;" class="chzn-select" id="mySelect"> <option></option> <?php include '../connect.php'; $result = $db->prepare("SELECT* FROM products RIGHT OUTER JOIN batch ON batch.product_id=products.product_id ORDER BY expirydate ASC"); $result->execute(); ?> <?php for ($i = 0; $row = $result->fetch(); $i++): ?> <option value="<?php echo $row['product_id']; ?>" data-qty="<?=$row['quantity'];?>" data-pr="<?=$row['o_price']*$row['markup'];?>" data-exp="<?=$row['expirydate'];?>" data-batch="<?=$row['batch_no'];?>" data-maxdisc="<?=$row['maxdiscre'];?>" data-maxdiscpc="<?=$row['maxdiscpr'];?>"> <?=$row['gen_name'];?> - <?=$row['product_code'];?> </option> <?php endfor;?> </select> <span id="price" contenteditable="true" name="price"></span> <script> $('#mySelect').on('change', function (event) { var selectedOptionIndex = event.currentTarget.options.selectedIndex; var price = event.currentTarget.value; var quantity = event.currentTarget.options[selectedOptionIndex].dataset.qty; var price = event.currentTarget.options[selectedOptionIndex].dataset.pr; var exp = event.currentTarget.options[selectedOptionIndex].dataset.exp; var batch = event.currentTarget.options[selectedOptionIndex].dataset.batch; var discountmax = event.currentTarget.options[selectedOptionIndex].dataset.maxdiscpc; var minprice = event.currentTarget.options[selectedOptionIndex].dataset.maxdisc; var myinput= document.getElementById('myqty'); var deviate= quantity-myinput; $('[name=qty]').val(quantity); $('[name=pr]').val(price); $('[name=exp]').val(exp); $('[name=batch]').val(batch); $('[name=deviate]').val(deviate); document.getElementById('deviate').value; }); </script> <script type="text/javascript"> </script> <input type="text" name="batch" placeholder="batch" autocomplete="off" style="width: 68px; height:30px; padding-top:6px; padding-bottom: 4px; margin-right: 4px; font-size:15px;"> <input name="qty" min="1" placeholder="in stock" autocomplete="off" id="deviatee" style="width: 68px; height:30px; padding-top:6px; padding-bottom: 4px; margin-right: 4px; font-size:15px;" readonly /> <input type="number" name="quantity" min="1" max="" placeholder="qty" id="myqty" style="width: 68px; height:30px; padding-top:6px; padding-bottom: 4px; margin-right: 4px; font-size:15px;" required> <input type="text" name="deviate" placeholder="deviation" id="deviate" style="width: 68px; height:30px; padding-top:6px; padding-bottom: 4px; margin-right: 4px; font-size:15px;" value="" readonly> <input name="exp" placeholder="expiry" autocomplete="off" style="width: 68px; height:30px; padding-top:6px; padding-bottom: 4px; margin-right: 4px; font-size:15px;" readonly /> <input type="hidden" name="pr" min="1" placeholder="price" id="fpr" step=".00001" style="width: 68px; height:30px; padding-top:6px; padding-bottom: 4px; margin-right: 4px; font-size:15px;"> <input type="hidden" name="pc" max="" placeholder="disc" id="disc" style="width: 68px; height:30px; padding-top:6px; padding-bottom: 4px; margin-right: 4px; font-size:15px;" /> <input type="hidden" name="date" value="<?php $date = date('Y-m-d'); $d11 = strtotime ( $date ) ; $d11 = date ('Y-m-d' , $d11); echo $d11; ?>" /> <Button type="submit" class="btn btn-info" style="width: 123px; height:35px; margin-top:-5px;" /><i class="icon-plus-sign icon-large" ></i> Add</button> </form> <table class="table table-bordered" id="resultTable" data-responsive="table"> <thead> <tr> <th> Product Name </th> <th> Generic Name </th> <th> Category / Description </th> <th> Qty </th> <th> deviation </th> <th> Action </th> </tr> </thead> <tbody> <?php $id = $_GET['invoice']; include '../connect.php'; $result = $db->prepare("SELECT * FROM sales_order sales_order RIGHT OUTER JOIN products ON products.product_id=sales_order.product WHERE invoice= :userid AND quantity!= ''"); $result->bindParam(':userid', $id); $result->execute(); for ($i = 1; $row = $result->fetch(); $i++) { ?> <tr class="record"> <td hidden><?php echo $row['product']; ?></td> <td><?php echo $row['product_code']; ?></td> <td><?php echo $row['gen_name']; ?></td> <td><?php echo $row['product_name']; ?></td> <td><?php echo $row['quantity']; ?></td> <td> <?php $dfdf = $row['quantity']-$row['balance']; echo $dfdf; ?> </td> <td width="90"><a rel="facebox" href="editsales.php?id=<?php echo $row['transaction_id']; ?>"><button class="btn btn-mini btn-warning"><i class="icon icon-edit"></i> edit </button></a> <a href="delete.php?id=<?php echo $row['transaction_id']; ?>&invoice=<?php echo $_GET['invoice']; ?>&dle=<?php echo $_GET['id']; ?>&qty=<?php echo $row['qty']; ?>&code=<?php echo $row['product']; ?>"><button class="btn btn-mini btn-warning"><i class="icon icon-remove"></i> Cancel </button></a> </tr> <?php } ?> </tbody> </table><br> <a rel="facebox" href="checkout.php?pt=<?php echo $_GET['id'] ?>&invoice=<?php echo $_GET['invoice'] ?>&total=<?php echo $fgfg ?>&totalprof=<?php echo $asd ?>&cashier=<?php echo $_SESSION['SESS_FIRST_NAME'] ?>"><button class="btn btn-success btn-large btn-block" accesskey="s"><i class="icon icon-save icon-large" accesskey="s"></i> SAVE</button></a> <div class="clearfix"></div> </div> </div> </body> <?php include 'footer.php';?> </html>
mathunjoroge/pharmacy
stocktake/stocktake.php
PHP
apache-2.0
8,600
// <copyright file="CommandInfoRepository.cs" company="WebDriver Committers"> // Copyright 2007-2011 WebDriver committers // Copyright 2007-2011 Google Inc. // Portions copyright 2011 Software Freedom Conservancy // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // </copyright> using System; using System.Collections.Generic; using System.Text; namespace OpenQA.Selenium.Remote { /// <summary> /// Holds the information about all commands specified by the JSON wire protocol. /// </summary> public class CommandInfoRepository { #region Private members private static object lockObject = new object(); private static CommandInfoRepository collectionInstance; private Dictionary<string, CommandInfo> commandDictionary; #endregion #region Constructor /// <summary> /// Prevents a default instance of the <see cref="CommandInfoRepository"/> class from being created. /// </summary> private CommandInfoRepository() { this.commandDictionary = new Dictionary<string, CommandInfo>(); this.InitializeCommandDictionary(); } #endregion #region Public properties /// <summary> /// Gets the singleton instance of the <see cref="CommandInfoRepository"/>. /// </summary> public static CommandInfoRepository Instance { get { lock (lockObject) { if (collectionInstance == null) { collectionInstance = new CommandInfoRepository(); } } return collectionInstance; } } #endregion #region Public methods /// <summary> /// Gets the <see cref="CommandInfo"/> for a <see cref="DriverCommand"/>. /// </summary> /// <param name="commandName">The <see cref="DriverCommand"/> for which to get the information.</param> /// <returns>The <see cref="CommandInfo"/> for the specified command.</returns> public CommandInfo GetCommandInfo(string commandName) { CommandInfo toReturn = null; if (this.commandDictionary.ContainsKey(commandName)) { toReturn = this.commandDictionary[commandName]; } return toReturn; } #endregion #region Private support methods private void InitializeCommandDictionary() { this.commandDictionary.Add(DriverCommand.DefineDriverMapping, new CommandInfo(CommandInfo.PostCommand, "/config/drivers")); this.commandDictionary.Add(DriverCommand.Status, new CommandInfo(CommandInfo.GetCommand, "/status")); this.commandDictionary.Add(DriverCommand.NewSession, new CommandInfo(CommandInfo.PostCommand, "/session")); this.commandDictionary.Add(DriverCommand.GetSessionList, new CommandInfo(CommandInfo.GetCommand, "/sessions")); this.commandDictionary.Add(DriverCommand.GetSessionCapabilities, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}")); this.commandDictionary.Add(DriverCommand.Quit, new CommandInfo(CommandInfo.DeleteCommand, "/session/{sessionId}")); this.commandDictionary.Add(DriverCommand.GetCurrentWindowHandle, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/window_handle")); this.commandDictionary.Add(DriverCommand.GetWindowHandles, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/window_handles")); this.commandDictionary.Add(DriverCommand.GetCurrentUrl, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/url")); this.commandDictionary.Add(DriverCommand.Get, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/url")); this.commandDictionary.Add(DriverCommand.GoForward, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/forward")); this.commandDictionary.Add(DriverCommand.GoBack, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/back")); this.commandDictionary.Add(DriverCommand.Refresh, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/refresh")); this.commandDictionary.Add(DriverCommand.ExecuteScript, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/execute")); this.commandDictionary.Add(DriverCommand.ExecuteAsyncScript, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/execute_async")); this.commandDictionary.Add(DriverCommand.Screenshot, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/screenshot")); this.commandDictionary.Add(DriverCommand.SwitchToFrame, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/frame")); this.commandDictionary.Add(DriverCommand.SwitchToWindow, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/window")); this.commandDictionary.Add(DriverCommand.GetAllCookies, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/cookie")); this.commandDictionary.Add(DriverCommand.AddCookie, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/cookie")); this.commandDictionary.Add(DriverCommand.DeleteAllCookies, new CommandInfo(CommandInfo.DeleteCommand, "/session/{sessionId}/cookie")); this.commandDictionary.Add(DriverCommand.DeleteCookie, new CommandInfo(CommandInfo.DeleteCommand, "/session/{sessionId}/cookie/{name}")); this.commandDictionary.Add(DriverCommand.GetPageSource, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/source")); this.commandDictionary.Add(DriverCommand.GetTitle, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/title")); this.commandDictionary.Add(DriverCommand.FindElement, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/element")); this.commandDictionary.Add(DriverCommand.FindElements, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/elements")); this.commandDictionary.Add(DriverCommand.GetActiveElement, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/element/active")); this.commandDictionary.Add(DriverCommand.FindChildElement, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/element/{id}/element")); this.commandDictionary.Add(DriverCommand.FindChildElements, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/element/{id}/elements")); this.commandDictionary.Add(DriverCommand.DescribeElement, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/element/{id}")); this.commandDictionary.Add(DriverCommand.ClickElement, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/element/{id}/click")); this.commandDictionary.Add(DriverCommand.GetElementText, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/element/{id}/text")); this.commandDictionary.Add(DriverCommand.SubmitElement, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/element/{id}/submit")); this.commandDictionary.Add(DriverCommand.SendKeysToElement, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/element/{id}/value")); this.commandDictionary.Add(DriverCommand.GetElementTagName, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/element/{id}/name")); this.commandDictionary.Add(DriverCommand.ClearElement, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/element/{id}/clear")); this.commandDictionary.Add(DriverCommand.IsElementSelected, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/element/{id}/selected")); this.commandDictionary.Add(DriverCommand.IsElementEnabled, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/element/{id}/enabled")); this.commandDictionary.Add(DriverCommand.IsElementDisplayed, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/element/{id}/displayed")); this.commandDictionary.Add(DriverCommand.GetElementLocation, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/element/{id}/location")); this.commandDictionary.Add(DriverCommand.GetElementLocationOnceScrolledIntoView, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/element/{id}/location_in_view")); this.commandDictionary.Add(DriverCommand.GetElementSize, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/element/{id}/size")); this.commandDictionary.Add(DriverCommand.GetElementValueOfCssProperty, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/element/{id}/css/{propertyName}")); this.commandDictionary.Add(DriverCommand.GetElementAttribute, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/element/{id}/attribute/{name}")); this.commandDictionary.Add(DriverCommand.ElementEquals, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/element/{id}/equals/{other}")); this.commandDictionary.Add(DriverCommand.Close, new CommandInfo(CommandInfo.DeleteCommand, "/session/{sessionId}/window")); this.commandDictionary.Add(DriverCommand.GetWindowSize, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/window/{windowHandle}/size")); this.commandDictionary.Add(DriverCommand.SetWindowSize, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/window/{windowHandle}/size")); this.commandDictionary.Add(DriverCommand.GetWindowPosition, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/window/{windowHandle}/position")); this.commandDictionary.Add(DriverCommand.SetWindowPosition, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/window/{windowHandle}/position")); this.commandDictionary.Add(DriverCommand.MaximizeWindow, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/window/{windowHandle}/maximize")); this.commandDictionary.Add(DriverCommand.GetOrientation, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/orientation")); this.commandDictionary.Add(DriverCommand.SetOrientation, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/orientation")); this.commandDictionary.Add(DriverCommand.DismissAlert, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/dismiss_alert")); this.commandDictionary.Add(DriverCommand.AcceptAlert, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/accept_alert")); this.commandDictionary.Add(DriverCommand.GetAlertText, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/alert_text")); this.commandDictionary.Add(DriverCommand.SetAlertValue, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/alert_text")); this.commandDictionary.Add(DriverCommand.SetTimeout, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/timeouts")); this.commandDictionary.Add(DriverCommand.ImplicitlyWait, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/timeouts/implicit_wait")); this.commandDictionary.Add(DriverCommand.SetAsyncScriptTimeout, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/timeouts/async_script")); // Advanced interactions commands this.commandDictionary.Add(DriverCommand.MouseClick, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/click")); this.commandDictionary.Add(DriverCommand.MouseDoubleClick, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/doubleclick")); this.commandDictionary.Add(DriverCommand.MouseDown, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/buttondown")); this.commandDictionary.Add(DriverCommand.MouseUp, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/buttonup")); this.commandDictionary.Add(DriverCommand.MouseMoveTo, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/moveto")); this.commandDictionary.Add(DriverCommand.SendKeysToActiveElement, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/keys")); this.commandDictionary.Add(DriverCommand.UploadFile, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/file")); } #endregion } }
denis-vilyuzhanin/selenium
dotnet/src/WebDriver/Remote/CommandInfoRepository.cs
C#
apache-2.0
13,270
SELECT * FROM USER_ALIAS WHERE AUTH_KEY = ? AND USER_ID = ? AND DELETE_FLAG = 0;
support-project/knowledge
src/main/resources/org/support/project/web/dao/sql/UserAliasDao/UserAliasDao_select_on_key.sql
SQL
apache-2.0
85
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/ec2/EC2_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSStreamFwd.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/ec2/model/Phase1EncryptionAlgorithmsRequestListValue.h> #include <aws/ec2/model/Phase2EncryptionAlgorithmsRequestListValue.h> #include <aws/ec2/model/Phase1IntegrityAlgorithmsRequestListValue.h> #include <aws/ec2/model/Phase2IntegrityAlgorithmsRequestListValue.h> #include <aws/ec2/model/Phase1DHGroupNumbersRequestListValue.h> #include <aws/ec2/model/Phase2DHGroupNumbersRequestListValue.h> #include <aws/ec2/model/IKEVersionsRequestListValue.h> #include <utility> namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { /** * <p>The Amazon Web Services Site-to-Site VPN tunnel options to * modify.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelOptionsSpecification">AWS * API Reference</a></p> */ class AWS_EC2_API ModifyVpnTunnelOptionsSpecification { public: ModifyVpnTunnelOptionsSpecification(); ModifyVpnTunnelOptionsSpecification(const Aws::Utils::Xml::XmlNode& xmlNode); ModifyVpnTunnelOptionsSpecification& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; void OutputToStream(Aws::OStream& oStream, const char* location) const; /** * <p>The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks * must be unique across all VPN connections that use the same virtual private * gateway. </p> <p>Constraints: A size /30 CIDR block from the * <code>169.254.0.0/16</code> range. The following CIDR blocks are reserved and * cannot be used:</p> <ul> <li> <p> <code>169.254.0.0/30</code> </p> </li> <li> * <p> <code>169.254.1.0/30</code> </p> </li> <li> <p> <code>169.254.2.0/30</code> * </p> </li> <li> <p> <code>169.254.3.0/30</code> </p> </li> <li> <p> * <code>169.254.4.0/30</code> </p> </li> <li> <p> <code>169.254.5.0/30</code> </p> * </li> <li> <p> <code>169.254.169.252/30</code> </p> </li> </ul> */ inline const Aws::String& GetTunnelInsideCidr() const{ return m_tunnelInsideCidr; } /** * <p>The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks * must be unique across all VPN connections that use the same virtual private * gateway. </p> <p>Constraints: A size /30 CIDR block from the * <code>169.254.0.0/16</code> range. The following CIDR blocks are reserved and * cannot be used:</p> <ul> <li> <p> <code>169.254.0.0/30</code> </p> </li> <li> * <p> <code>169.254.1.0/30</code> </p> </li> <li> <p> <code>169.254.2.0/30</code> * </p> </li> <li> <p> <code>169.254.3.0/30</code> </p> </li> <li> <p> * <code>169.254.4.0/30</code> </p> </li> <li> <p> <code>169.254.5.0/30</code> </p> * </li> <li> <p> <code>169.254.169.252/30</code> </p> </li> </ul> */ inline bool TunnelInsideCidrHasBeenSet() const { return m_tunnelInsideCidrHasBeenSet; } /** * <p>The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks * must be unique across all VPN connections that use the same virtual private * gateway. </p> <p>Constraints: A size /30 CIDR block from the * <code>169.254.0.0/16</code> range. The following CIDR blocks are reserved and * cannot be used:</p> <ul> <li> <p> <code>169.254.0.0/30</code> </p> </li> <li> * <p> <code>169.254.1.0/30</code> </p> </li> <li> <p> <code>169.254.2.0/30</code> * </p> </li> <li> <p> <code>169.254.3.0/30</code> </p> </li> <li> <p> * <code>169.254.4.0/30</code> </p> </li> <li> <p> <code>169.254.5.0/30</code> </p> * </li> <li> <p> <code>169.254.169.252/30</code> </p> </li> </ul> */ inline void SetTunnelInsideCidr(const Aws::String& value) { m_tunnelInsideCidrHasBeenSet = true; m_tunnelInsideCidr = value; } /** * <p>The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks * must be unique across all VPN connections that use the same virtual private * gateway. </p> <p>Constraints: A size /30 CIDR block from the * <code>169.254.0.0/16</code> range. The following CIDR blocks are reserved and * cannot be used:</p> <ul> <li> <p> <code>169.254.0.0/30</code> </p> </li> <li> * <p> <code>169.254.1.0/30</code> </p> </li> <li> <p> <code>169.254.2.0/30</code> * </p> </li> <li> <p> <code>169.254.3.0/30</code> </p> </li> <li> <p> * <code>169.254.4.0/30</code> </p> </li> <li> <p> <code>169.254.5.0/30</code> </p> * </li> <li> <p> <code>169.254.169.252/30</code> </p> </li> </ul> */ inline void SetTunnelInsideCidr(Aws::String&& value) { m_tunnelInsideCidrHasBeenSet = true; m_tunnelInsideCidr = std::move(value); } /** * <p>The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks * must be unique across all VPN connections that use the same virtual private * gateway. </p> <p>Constraints: A size /30 CIDR block from the * <code>169.254.0.0/16</code> range. The following CIDR blocks are reserved and * cannot be used:</p> <ul> <li> <p> <code>169.254.0.0/30</code> </p> </li> <li> * <p> <code>169.254.1.0/30</code> </p> </li> <li> <p> <code>169.254.2.0/30</code> * </p> </li> <li> <p> <code>169.254.3.0/30</code> </p> </li> <li> <p> * <code>169.254.4.0/30</code> </p> </li> <li> <p> <code>169.254.5.0/30</code> </p> * </li> <li> <p> <code>169.254.169.252/30</code> </p> </li> </ul> */ inline void SetTunnelInsideCidr(const char* value) { m_tunnelInsideCidrHasBeenSet = true; m_tunnelInsideCidr.assign(value); } /** * <p>The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks * must be unique across all VPN connections that use the same virtual private * gateway. </p> <p>Constraints: A size /30 CIDR block from the * <code>169.254.0.0/16</code> range. The following CIDR blocks are reserved and * cannot be used:</p> <ul> <li> <p> <code>169.254.0.0/30</code> </p> </li> <li> * <p> <code>169.254.1.0/30</code> </p> </li> <li> <p> <code>169.254.2.0/30</code> * </p> </li> <li> <p> <code>169.254.3.0/30</code> </p> </li> <li> <p> * <code>169.254.4.0/30</code> </p> </li> <li> <p> <code>169.254.5.0/30</code> </p> * </li> <li> <p> <code>169.254.169.252/30</code> </p> </li> </ul> */ inline ModifyVpnTunnelOptionsSpecification& WithTunnelInsideCidr(const Aws::String& value) { SetTunnelInsideCidr(value); return *this;} /** * <p>The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks * must be unique across all VPN connections that use the same virtual private * gateway. </p> <p>Constraints: A size /30 CIDR block from the * <code>169.254.0.0/16</code> range. The following CIDR blocks are reserved and * cannot be used:</p> <ul> <li> <p> <code>169.254.0.0/30</code> </p> </li> <li> * <p> <code>169.254.1.0/30</code> </p> </li> <li> <p> <code>169.254.2.0/30</code> * </p> </li> <li> <p> <code>169.254.3.0/30</code> </p> </li> <li> <p> * <code>169.254.4.0/30</code> </p> </li> <li> <p> <code>169.254.5.0/30</code> </p> * </li> <li> <p> <code>169.254.169.252/30</code> </p> </li> </ul> */ inline ModifyVpnTunnelOptionsSpecification& WithTunnelInsideCidr(Aws::String&& value) { SetTunnelInsideCidr(std::move(value)); return *this;} /** * <p>The range of inside IPv4 addresses for the tunnel. Any specified CIDR blocks * must be unique across all VPN connections that use the same virtual private * gateway. </p> <p>Constraints: A size /30 CIDR block from the * <code>169.254.0.0/16</code> range. The following CIDR blocks are reserved and * cannot be used:</p> <ul> <li> <p> <code>169.254.0.0/30</code> </p> </li> <li> * <p> <code>169.254.1.0/30</code> </p> </li> <li> <p> <code>169.254.2.0/30</code> * </p> </li> <li> <p> <code>169.254.3.0/30</code> </p> </li> <li> <p> * <code>169.254.4.0/30</code> </p> </li> <li> <p> <code>169.254.5.0/30</code> </p> * </li> <li> <p> <code>169.254.169.252/30</code> </p> </li> </ul> */ inline ModifyVpnTunnelOptionsSpecification& WithTunnelInsideCidr(const char* value) { SetTunnelInsideCidr(value); return *this;} /** * <p>The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks * must be unique across all VPN connections that use the same transit gateway.</p> * <p>Constraints: A size /126 CIDR block from the local <code>fd00::/8</code> * range.</p> */ inline const Aws::String& GetTunnelInsideIpv6Cidr() const{ return m_tunnelInsideIpv6Cidr; } /** * <p>The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks * must be unique across all VPN connections that use the same transit gateway.</p> * <p>Constraints: A size /126 CIDR block from the local <code>fd00::/8</code> * range.</p> */ inline bool TunnelInsideIpv6CidrHasBeenSet() const { return m_tunnelInsideIpv6CidrHasBeenSet; } /** * <p>The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks * must be unique across all VPN connections that use the same transit gateway.</p> * <p>Constraints: A size /126 CIDR block from the local <code>fd00::/8</code> * range.</p> */ inline void SetTunnelInsideIpv6Cidr(const Aws::String& value) { m_tunnelInsideIpv6CidrHasBeenSet = true; m_tunnelInsideIpv6Cidr = value; } /** * <p>The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks * must be unique across all VPN connections that use the same transit gateway.</p> * <p>Constraints: A size /126 CIDR block from the local <code>fd00::/8</code> * range.</p> */ inline void SetTunnelInsideIpv6Cidr(Aws::String&& value) { m_tunnelInsideIpv6CidrHasBeenSet = true; m_tunnelInsideIpv6Cidr = std::move(value); } /** * <p>The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks * must be unique across all VPN connections that use the same transit gateway.</p> * <p>Constraints: A size /126 CIDR block from the local <code>fd00::/8</code> * range.</p> */ inline void SetTunnelInsideIpv6Cidr(const char* value) { m_tunnelInsideIpv6CidrHasBeenSet = true; m_tunnelInsideIpv6Cidr.assign(value); } /** * <p>The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks * must be unique across all VPN connections that use the same transit gateway.</p> * <p>Constraints: A size /126 CIDR block from the local <code>fd00::/8</code> * range.</p> */ inline ModifyVpnTunnelOptionsSpecification& WithTunnelInsideIpv6Cidr(const Aws::String& value) { SetTunnelInsideIpv6Cidr(value); return *this;} /** * <p>The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks * must be unique across all VPN connections that use the same transit gateway.</p> * <p>Constraints: A size /126 CIDR block from the local <code>fd00::/8</code> * range.</p> */ inline ModifyVpnTunnelOptionsSpecification& WithTunnelInsideIpv6Cidr(Aws::String&& value) { SetTunnelInsideIpv6Cidr(std::move(value)); return *this;} /** * <p>The range of inside IPv6 addresses for the tunnel. Any specified CIDR blocks * must be unique across all VPN connections that use the same transit gateway.</p> * <p>Constraints: A size /126 CIDR block from the local <code>fd00::/8</code> * range.</p> */ inline ModifyVpnTunnelOptionsSpecification& WithTunnelInsideIpv6Cidr(const char* value) { SetTunnelInsideIpv6Cidr(value); return *this;} /** * <p>The pre-shared key (PSK) to establish initial authentication between the * virtual private gateway and the customer gateway.</p> <p>Constraints: Allowed * characters are alphanumeric characters, periods (.), and underscores (_). Must * be between 8 and 64 characters in length and cannot start with zero (0).</p> */ inline const Aws::String& GetPreSharedKey() const{ return m_preSharedKey; } /** * <p>The pre-shared key (PSK) to establish initial authentication between the * virtual private gateway and the customer gateway.</p> <p>Constraints: Allowed * characters are alphanumeric characters, periods (.), and underscores (_). Must * be between 8 and 64 characters in length and cannot start with zero (0).</p> */ inline bool PreSharedKeyHasBeenSet() const { return m_preSharedKeyHasBeenSet; } /** * <p>The pre-shared key (PSK) to establish initial authentication between the * virtual private gateway and the customer gateway.</p> <p>Constraints: Allowed * characters are alphanumeric characters, periods (.), and underscores (_). Must * be between 8 and 64 characters in length and cannot start with zero (0).</p> */ inline void SetPreSharedKey(const Aws::String& value) { m_preSharedKeyHasBeenSet = true; m_preSharedKey = value; } /** * <p>The pre-shared key (PSK) to establish initial authentication between the * virtual private gateway and the customer gateway.</p> <p>Constraints: Allowed * characters are alphanumeric characters, periods (.), and underscores (_). Must * be between 8 and 64 characters in length and cannot start with zero (0).</p> */ inline void SetPreSharedKey(Aws::String&& value) { m_preSharedKeyHasBeenSet = true; m_preSharedKey = std::move(value); } /** * <p>The pre-shared key (PSK) to establish initial authentication between the * virtual private gateway and the customer gateway.</p> <p>Constraints: Allowed * characters are alphanumeric characters, periods (.), and underscores (_). Must * be between 8 and 64 characters in length and cannot start with zero (0).</p> */ inline void SetPreSharedKey(const char* value) { m_preSharedKeyHasBeenSet = true; m_preSharedKey.assign(value); } /** * <p>The pre-shared key (PSK) to establish initial authentication between the * virtual private gateway and the customer gateway.</p> <p>Constraints: Allowed * characters are alphanumeric characters, periods (.), and underscores (_). Must * be between 8 and 64 characters in length and cannot start with zero (0).</p> */ inline ModifyVpnTunnelOptionsSpecification& WithPreSharedKey(const Aws::String& value) { SetPreSharedKey(value); return *this;} /** * <p>The pre-shared key (PSK) to establish initial authentication between the * virtual private gateway and the customer gateway.</p> <p>Constraints: Allowed * characters are alphanumeric characters, periods (.), and underscores (_). Must * be between 8 and 64 characters in length and cannot start with zero (0).</p> */ inline ModifyVpnTunnelOptionsSpecification& WithPreSharedKey(Aws::String&& value) { SetPreSharedKey(std::move(value)); return *this;} /** * <p>The pre-shared key (PSK) to establish initial authentication between the * virtual private gateway and the customer gateway.</p> <p>Constraints: Allowed * characters are alphanumeric characters, periods (.), and underscores (_). Must * be between 8 and 64 characters in length and cannot start with zero (0).</p> */ inline ModifyVpnTunnelOptionsSpecification& WithPreSharedKey(const char* value) { SetPreSharedKey(value); return *this;} /** * <p>The lifetime for phase 1 of the IKE negotiation, in seconds.</p> * <p>Constraints: A value between 900 and 28,800.</p> <p>Default: * <code>28800</code> </p> */ inline int GetPhase1LifetimeSeconds() const{ return m_phase1LifetimeSeconds; } /** * <p>The lifetime for phase 1 of the IKE negotiation, in seconds.</p> * <p>Constraints: A value between 900 and 28,800.</p> <p>Default: * <code>28800</code> </p> */ inline bool Phase1LifetimeSecondsHasBeenSet() const { return m_phase1LifetimeSecondsHasBeenSet; } /** * <p>The lifetime for phase 1 of the IKE negotiation, in seconds.</p> * <p>Constraints: A value between 900 and 28,800.</p> <p>Default: * <code>28800</code> </p> */ inline void SetPhase1LifetimeSeconds(int value) { m_phase1LifetimeSecondsHasBeenSet = true; m_phase1LifetimeSeconds = value; } /** * <p>The lifetime for phase 1 of the IKE negotiation, in seconds.</p> * <p>Constraints: A value between 900 and 28,800.</p> <p>Default: * <code>28800</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithPhase1LifetimeSeconds(int value) { SetPhase1LifetimeSeconds(value); return *this;} /** * <p>The lifetime for phase 2 of the IKE negotiation, in seconds.</p> * <p>Constraints: A value between 900 and 3,600. The value must be less than the * value for <code>Phase1LifetimeSeconds</code>.</p> <p>Default: <code>3600</code> * </p> */ inline int GetPhase2LifetimeSeconds() const{ return m_phase2LifetimeSeconds; } /** * <p>The lifetime for phase 2 of the IKE negotiation, in seconds.</p> * <p>Constraints: A value between 900 and 3,600. The value must be less than the * value for <code>Phase1LifetimeSeconds</code>.</p> <p>Default: <code>3600</code> * </p> */ inline bool Phase2LifetimeSecondsHasBeenSet() const { return m_phase2LifetimeSecondsHasBeenSet; } /** * <p>The lifetime for phase 2 of the IKE negotiation, in seconds.</p> * <p>Constraints: A value between 900 and 3,600. The value must be less than the * value for <code>Phase1LifetimeSeconds</code>.</p> <p>Default: <code>3600</code> * </p> */ inline void SetPhase2LifetimeSeconds(int value) { m_phase2LifetimeSecondsHasBeenSet = true; m_phase2LifetimeSeconds = value; } /** * <p>The lifetime for phase 2 of the IKE negotiation, in seconds.</p> * <p>Constraints: A value between 900 and 3,600. The value must be less than the * value for <code>Phase1LifetimeSeconds</code>.</p> <p>Default: <code>3600</code> * </p> */ inline ModifyVpnTunnelOptionsSpecification& WithPhase2LifetimeSeconds(int value) { SetPhase2LifetimeSeconds(value); return *this;} /** * <p>The margin time, in seconds, before the phase 2 lifetime expires, during * which the Amazon Web Services side of the VPN connection performs an IKE rekey. * The exact time of the rekey is randomly selected based on the value for * <code>RekeyFuzzPercentage</code>.</p> <p>Constraints: A value between 60 and * half of <code>Phase2LifetimeSeconds</code>.</p> <p>Default: <code>540</code> * </p> */ inline int GetRekeyMarginTimeSeconds() const{ return m_rekeyMarginTimeSeconds; } /** * <p>The margin time, in seconds, before the phase 2 lifetime expires, during * which the Amazon Web Services side of the VPN connection performs an IKE rekey. * The exact time of the rekey is randomly selected based on the value for * <code>RekeyFuzzPercentage</code>.</p> <p>Constraints: A value between 60 and * half of <code>Phase2LifetimeSeconds</code>.</p> <p>Default: <code>540</code> * </p> */ inline bool RekeyMarginTimeSecondsHasBeenSet() const { return m_rekeyMarginTimeSecondsHasBeenSet; } /** * <p>The margin time, in seconds, before the phase 2 lifetime expires, during * which the Amazon Web Services side of the VPN connection performs an IKE rekey. * The exact time of the rekey is randomly selected based on the value for * <code>RekeyFuzzPercentage</code>.</p> <p>Constraints: A value between 60 and * half of <code>Phase2LifetimeSeconds</code>.</p> <p>Default: <code>540</code> * </p> */ inline void SetRekeyMarginTimeSeconds(int value) { m_rekeyMarginTimeSecondsHasBeenSet = true; m_rekeyMarginTimeSeconds = value; } /** * <p>The margin time, in seconds, before the phase 2 lifetime expires, during * which the Amazon Web Services side of the VPN connection performs an IKE rekey. * The exact time of the rekey is randomly selected based on the value for * <code>RekeyFuzzPercentage</code>.</p> <p>Constraints: A value between 60 and * half of <code>Phase2LifetimeSeconds</code>.</p> <p>Default: <code>540</code> * </p> */ inline ModifyVpnTunnelOptionsSpecification& WithRekeyMarginTimeSeconds(int value) { SetRekeyMarginTimeSeconds(value); return *this;} /** * <p>The percentage of the rekey window (determined by * <code>RekeyMarginTimeSeconds</code>) during which the rekey time is randomly * selected.</p> <p>Constraints: A value between 0 and 100.</p> <p>Default: * <code>100</code> </p> */ inline int GetRekeyFuzzPercentage() const{ return m_rekeyFuzzPercentage; } /** * <p>The percentage of the rekey window (determined by * <code>RekeyMarginTimeSeconds</code>) during which the rekey time is randomly * selected.</p> <p>Constraints: A value between 0 and 100.</p> <p>Default: * <code>100</code> </p> */ inline bool RekeyFuzzPercentageHasBeenSet() const { return m_rekeyFuzzPercentageHasBeenSet; } /** * <p>The percentage of the rekey window (determined by * <code>RekeyMarginTimeSeconds</code>) during which the rekey time is randomly * selected.</p> <p>Constraints: A value between 0 and 100.</p> <p>Default: * <code>100</code> </p> */ inline void SetRekeyFuzzPercentage(int value) { m_rekeyFuzzPercentageHasBeenSet = true; m_rekeyFuzzPercentage = value; } /** * <p>The percentage of the rekey window (determined by * <code>RekeyMarginTimeSeconds</code>) during which the rekey time is randomly * selected.</p> <p>Constraints: A value between 0 and 100.</p> <p>Default: * <code>100</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithRekeyFuzzPercentage(int value) { SetRekeyFuzzPercentage(value); return *this;} /** * <p>The number of packets in an IKE replay window.</p> <p>Constraints: A value * between 64 and 2048.</p> <p>Default: <code>1024</code> </p> */ inline int GetReplayWindowSize() const{ return m_replayWindowSize; } /** * <p>The number of packets in an IKE replay window.</p> <p>Constraints: A value * between 64 and 2048.</p> <p>Default: <code>1024</code> </p> */ inline bool ReplayWindowSizeHasBeenSet() const { return m_replayWindowSizeHasBeenSet; } /** * <p>The number of packets in an IKE replay window.</p> <p>Constraints: A value * between 64 and 2048.</p> <p>Default: <code>1024</code> </p> */ inline void SetReplayWindowSize(int value) { m_replayWindowSizeHasBeenSet = true; m_replayWindowSize = value; } /** * <p>The number of packets in an IKE replay window.</p> <p>Constraints: A value * between 64 and 2048.</p> <p>Default: <code>1024</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithReplayWindowSize(int value) { SetReplayWindowSize(value); return *this;} /** * <p>The number of seconds after which a DPD timeout occurs.</p> <p>Constraints: A * value greater than or equal to 30.</p> <p>Default: <code>30</code> </p> */ inline int GetDPDTimeoutSeconds() const{ return m_dPDTimeoutSeconds; } /** * <p>The number of seconds after which a DPD timeout occurs.</p> <p>Constraints: A * value greater than or equal to 30.</p> <p>Default: <code>30</code> </p> */ inline bool DPDTimeoutSecondsHasBeenSet() const { return m_dPDTimeoutSecondsHasBeenSet; } /** * <p>The number of seconds after which a DPD timeout occurs.</p> <p>Constraints: A * value greater than or equal to 30.</p> <p>Default: <code>30</code> </p> */ inline void SetDPDTimeoutSeconds(int value) { m_dPDTimeoutSecondsHasBeenSet = true; m_dPDTimeoutSeconds = value; } /** * <p>The number of seconds after which a DPD timeout occurs.</p> <p>Constraints: A * value greater than or equal to 30.</p> <p>Default: <code>30</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithDPDTimeoutSeconds(int value) { SetDPDTimeoutSeconds(value); return *this;} /** * <p>The action to take after DPD timeout occurs. Specify <code>restart</code> to * restart the IKE initiation. Specify <code>clear</code> to end the IKE * session.</p> <p>Valid Values: <code>clear</code> | <code>none</code> | * <code>restart</code> </p> <p>Default: <code>clear</code> </p> */ inline const Aws::String& GetDPDTimeoutAction() const{ return m_dPDTimeoutAction; } /** * <p>The action to take after DPD timeout occurs. Specify <code>restart</code> to * restart the IKE initiation. Specify <code>clear</code> to end the IKE * session.</p> <p>Valid Values: <code>clear</code> | <code>none</code> | * <code>restart</code> </p> <p>Default: <code>clear</code> </p> */ inline bool DPDTimeoutActionHasBeenSet() const { return m_dPDTimeoutActionHasBeenSet; } /** * <p>The action to take after DPD timeout occurs. Specify <code>restart</code> to * restart the IKE initiation. Specify <code>clear</code> to end the IKE * session.</p> <p>Valid Values: <code>clear</code> | <code>none</code> | * <code>restart</code> </p> <p>Default: <code>clear</code> </p> */ inline void SetDPDTimeoutAction(const Aws::String& value) { m_dPDTimeoutActionHasBeenSet = true; m_dPDTimeoutAction = value; } /** * <p>The action to take after DPD timeout occurs. Specify <code>restart</code> to * restart the IKE initiation. Specify <code>clear</code> to end the IKE * session.</p> <p>Valid Values: <code>clear</code> | <code>none</code> | * <code>restart</code> </p> <p>Default: <code>clear</code> </p> */ inline void SetDPDTimeoutAction(Aws::String&& value) { m_dPDTimeoutActionHasBeenSet = true; m_dPDTimeoutAction = std::move(value); } /** * <p>The action to take after DPD timeout occurs. Specify <code>restart</code> to * restart the IKE initiation. Specify <code>clear</code> to end the IKE * session.</p> <p>Valid Values: <code>clear</code> | <code>none</code> | * <code>restart</code> </p> <p>Default: <code>clear</code> </p> */ inline void SetDPDTimeoutAction(const char* value) { m_dPDTimeoutActionHasBeenSet = true; m_dPDTimeoutAction.assign(value); } /** * <p>The action to take after DPD timeout occurs. Specify <code>restart</code> to * restart the IKE initiation. Specify <code>clear</code> to end the IKE * session.</p> <p>Valid Values: <code>clear</code> | <code>none</code> | * <code>restart</code> </p> <p>Default: <code>clear</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithDPDTimeoutAction(const Aws::String& value) { SetDPDTimeoutAction(value); return *this;} /** * <p>The action to take after DPD timeout occurs. Specify <code>restart</code> to * restart the IKE initiation. Specify <code>clear</code> to end the IKE * session.</p> <p>Valid Values: <code>clear</code> | <code>none</code> | * <code>restart</code> </p> <p>Default: <code>clear</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithDPDTimeoutAction(Aws::String&& value) { SetDPDTimeoutAction(std::move(value)); return *this;} /** * <p>The action to take after DPD timeout occurs. Specify <code>restart</code> to * restart the IKE initiation. Specify <code>clear</code> to end the IKE * session.</p> <p>Valid Values: <code>clear</code> | <code>none</code> | * <code>restart</code> </p> <p>Default: <code>clear</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithDPDTimeoutAction(const char* value) { SetDPDTimeoutAction(value); return *this;} /** * <p>One or more encryption algorithms that are permitted for the VPN tunnel for * phase 1 IKE negotiations.</p> <p>Valid values: <code>AES128</code> | * <code>AES256</code> | <code>AES128-GCM-16</code> | <code>AES256-GCM-16</code> * </p> */ inline const Aws::Vector<Phase1EncryptionAlgorithmsRequestListValue>& GetPhase1EncryptionAlgorithms() const{ return m_phase1EncryptionAlgorithms; } /** * <p>One or more encryption algorithms that are permitted for the VPN tunnel for * phase 1 IKE negotiations.</p> <p>Valid values: <code>AES128</code> | * <code>AES256</code> | <code>AES128-GCM-16</code> | <code>AES256-GCM-16</code> * </p> */ inline bool Phase1EncryptionAlgorithmsHasBeenSet() const { return m_phase1EncryptionAlgorithmsHasBeenSet; } /** * <p>One or more encryption algorithms that are permitted for the VPN tunnel for * phase 1 IKE negotiations.</p> <p>Valid values: <code>AES128</code> | * <code>AES256</code> | <code>AES128-GCM-16</code> | <code>AES256-GCM-16</code> * </p> */ inline void SetPhase1EncryptionAlgorithms(const Aws::Vector<Phase1EncryptionAlgorithmsRequestListValue>& value) { m_phase1EncryptionAlgorithmsHasBeenSet = true; m_phase1EncryptionAlgorithms = value; } /** * <p>One or more encryption algorithms that are permitted for the VPN tunnel for * phase 1 IKE negotiations.</p> <p>Valid values: <code>AES128</code> | * <code>AES256</code> | <code>AES128-GCM-16</code> | <code>AES256-GCM-16</code> * </p> */ inline void SetPhase1EncryptionAlgorithms(Aws::Vector<Phase1EncryptionAlgorithmsRequestListValue>&& value) { m_phase1EncryptionAlgorithmsHasBeenSet = true; m_phase1EncryptionAlgorithms = std::move(value); } /** * <p>One or more encryption algorithms that are permitted for the VPN tunnel for * phase 1 IKE negotiations.</p> <p>Valid values: <code>AES128</code> | * <code>AES256</code> | <code>AES128-GCM-16</code> | <code>AES256-GCM-16</code> * </p> */ inline ModifyVpnTunnelOptionsSpecification& WithPhase1EncryptionAlgorithms(const Aws::Vector<Phase1EncryptionAlgorithmsRequestListValue>& value) { SetPhase1EncryptionAlgorithms(value); return *this;} /** * <p>One or more encryption algorithms that are permitted for the VPN tunnel for * phase 1 IKE negotiations.</p> <p>Valid values: <code>AES128</code> | * <code>AES256</code> | <code>AES128-GCM-16</code> | <code>AES256-GCM-16</code> * </p> */ inline ModifyVpnTunnelOptionsSpecification& WithPhase1EncryptionAlgorithms(Aws::Vector<Phase1EncryptionAlgorithmsRequestListValue>&& value) { SetPhase1EncryptionAlgorithms(std::move(value)); return *this;} /** * <p>One or more encryption algorithms that are permitted for the VPN tunnel for * phase 1 IKE negotiations.</p> <p>Valid values: <code>AES128</code> | * <code>AES256</code> | <code>AES128-GCM-16</code> | <code>AES256-GCM-16</code> * </p> */ inline ModifyVpnTunnelOptionsSpecification& AddPhase1EncryptionAlgorithms(const Phase1EncryptionAlgorithmsRequestListValue& value) { m_phase1EncryptionAlgorithmsHasBeenSet = true; m_phase1EncryptionAlgorithms.push_back(value); return *this; } /** * <p>One or more encryption algorithms that are permitted for the VPN tunnel for * phase 1 IKE negotiations.</p> <p>Valid values: <code>AES128</code> | * <code>AES256</code> | <code>AES128-GCM-16</code> | <code>AES256-GCM-16</code> * </p> */ inline ModifyVpnTunnelOptionsSpecification& AddPhase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsRequestListValue&& value) { m_phase1EncryptionAlgorithmsHasBeenSet = true; m_phase1EncryptionAlgorithms.push_back(std::move(value)); return *this; } /** * <p>One or more encryption algorithms that are permitted for the VPN tunnel for * phase 2 IKE negotiations.</p> <p>Valid values: <code>AES128</code> | * <code>AES256</code> | <code>AES128-GCM-16</code> | <code>AES256-GCM-16</code> * </p> */ inline const Aws::Vector<Phase2EncryptionAlgorithmsRequestListValue>& GetPhase2EncryptionAlgorithms() const{ return m_phase2EncryptionAlgorithms; } /** * <p>One or more encryption algorithms that are permitted for the VPN tunnel for * phase 2 IKE negotiations.</p> <p>Valid values: <code>AES128</code> | * <code>AES256</code> | <code>AES128-GCM-16</code> | <code>AES256-GCM-16</code> * </p> */ inline bool Phase2EncryptionAlgorithmsHasBeenSet() const { return m_phase2EncryptionAlgorithmsHasBeenSet; } /** * <p>One or more encryption algorithms that are permitted for the VPN tunnel for * phase 2 IKE negotiations.</p> <p>Valid values: <code>AES128</code> | * <code>AES256</code> | <code>AES128-GCM-16</code> | <code>AES256-GCM-16</code> * </p> */ inline void SetPhase2EncryptionAlgorithms(const Aws::Vector<Phase2EncryptionAlgorithmsRequestListValue>& value) { m_phase2EncryptionAlgorithmsHasBeenSet = true; m_phase2EncryptionAlgorithms = value; } /** * <p>One or more encryption algorithms that are permitted for the VPN tunnel for * phase 2 IKE negotiations.</p> <p>Valid values: <code>AES128</code> | * <code>AES256</code> | <code>AES128-GCM-16</code> | <code>AES256-GCM-16</code> * </p> */ inline void SetPhase2EncryptionAlgorithms(Aws::Vector<Phase2EncryptionAlgorithmsRequestListValue>&& value) { m_phase2EncryptionAlgorithmsHasBeenSet = true; m_phase2EncryptionAlgorithms = std::move(value); } /** * <p>One or more encryption algorithms that are permitted for the VPN tunnel for * phase 2 IKE negotiations.</p> <p>Valid values: <code>AES128</code> | * <code>AES256</code> | <code>AES128-GCM-16</code> | <code>AES256-GCM-16</code> * </p> */ inline ModifyVpnTunnelOptionsSpecification& WithPhase2EncryptionAlgorithms(const Aws::Vector<Phase2EncryptionAlgorithmsRequestListValue>& value) { SetPhase2EncryptionAlgorithms(value); return *this;} /** * <p>One or more encryption algorithms that are permitted for the VPN tunnel for * phase 2 IKE negotiations.</p> <p>Valid values: <code>AES128</code> | * <code>AES256</code> | <code>AES128-GCM-16</code> | <code>AES256-GCM-16</code> * </p> */ inline ModifyVpnTunnelOptionsSpecification& WithPhase2EncryptionAlgorithms(Aws::Vector<Phase2EncryptionAlgorithmsRequestListValue>&& value) { SetPhase2EncryptionAlgorithms(std::move(value)); return *this;} /** * <p>One or more encryption algorithms that are permitted for the VPN tunnel for * phase 2 IKE negotiations.</p> <p>Valid values: <code>AES128</code> | * <code>AES256</code> | <code>AES128-GCM-16</code> | <code>AES256-GCM-16</code> * </p> */ inline ModifyVpnTunnelOptionsSpecification& AddPhase2EncryptionAlgorithms(const Phase2EncryptionAlgorithmsRequestListValue& value) { m_phase2EncryptionAlgorithmsHasBeenSet = true; m_phase2EncryptionAlgorithms.push_back(value); return *this; } /** * <p>One or more encryption algorithms that are permitted for the VPN tunnel for * phase 2 IKE negotiations.</p> <p>Valid values: <code>AES128</code> | * <code>AES256</code> | <code>AES128-GCM-16</code> | <code>AES256-GCM-16</code> * </p> */ inline ModifyVpnTunnelOptionsSpecification& AddPhase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsRequestListValue&& value) { m_phase2EncryptionAlgorithmsHasBeenSet = true; m_phase2EncryptionAlgorithms.push_back(std::move(value)); return *this; } /** * <p>One or more integrity algorithms that are permitted for the VPN tunnel for * phase 1 IKE negotiations.</p> <p>Valid values: <code>SHA1</code> | * <code>SHA2-256</code> | <code>SHA2-384</code> | <code>SHA2-512</code> </p> */ inline const Aws::Vector<Phase1IntegrityAlgorithmsRequestListValue>& GetPhase1IntegrityAlgorithms() const{ return m_phase1IntegrityAlgorithms; } /** * <p>One or more integrity algorithms that are permitted for the VPN tunnel for * phase 1 IKE negotiations.</p> <p>Valid values: <code>SHA1</code> | * <code>SHA2-256</code> | <code>SHA2-384</code> | <code>SHA2-512</code> </p> */ inline bool Phase1IntegrityAlgorithmsHasBeenSet() const { return m_phase1IntegrityAlgorithmsHasBeenSet; } /** * <p>One or more integrity algorithms that are permitted for the VPN tunnel for * phase 1 IKE negotiations.</p> <p>Valid values: <code>SHA1</code> | * <code>SHA2-256</code> | <code>SHA2-384</code> | <code>SHA2-512</code> </p> */ inline void SetPhase1IntegrityAlgorithms(const Aws::Vector<Phase1IntegrityAlgorithmsRequestListValue>& value) { m_phase1IntegrityAlgorithmsHasBeenSet = true; m_phase1IntegrityAlgorithms = value; } /** * <p>One or more integrity algorithms that are permitted for the VPN tunnel for * phase 1 IKE negotiations.</p> <p>Valid values: <code>SHA1</code> | * <code>SHA2-256</code> | <code>SHA2-384</code> | <code>SHA2-512</code> </p> */ inline void SetPhase1IntegrityAlgorithms(Aws::Vector<Phase1IntegrityAlgorithmsRequestListValue>&& value) { m_phase1IntegrityAlgorithmsHasBeenSet = true; m_phase1IntegrityAlgorithms = std::move(value); } /** * <p>One or more integrity algorithms that are permitted for the VPN tunnel for * phase 1 IKE negotiations.</p> <p>Valid values: <code>SHA1</code> | * <code>SHA2-256</code> | <code>SHA2-384</code> | <code>SHA2-512</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithPhase1IntegrityAlgorithms(const Aws::Vector<Phase1IntegrityAlgorithmsRequestListValue>& value) { SetPhase1IntegrityAlgorithms(value); return *this;} /** * <p>One or more integrity algorithms that are permitted for the VPN tunnel for * phase 1 IKE negotiations.</p> <p>Valid values: <code>SHA1</code> | * <code>SHA2-256</code> | <code>SHA2-384</code> | <code>SHA2-512</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithPhase1IntegrityAlgorithms(Aws::Vector<Phase1IntegrityAlgorithmsRequestListValue>&& value) { SetPhase1IntegrityAlgorithms(std::move(value)); return *this;} /** * <p>One or more integrity algorithms that are permitted for the VPN tunnel for * phase 1 IKE negotiations.</p> <p>Valid values: <code>SHA1</code> | * <code>SHA2-256</code> | <code>SHA2-384</code> | <code>SHA2-512</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& AddPhase1IntegrityAlgorithms(const Phase1IntegrityAlgorithmsRequestListValue& value) { m_phase1IntegrityAlgorithmsHasBeenSet = true; m_phase1IntegrityAlgorithms.push_back(value); return *this; } /** * <p>One or more integrity algorithms that are permitted for the VPN tunnel for * phase 1 IKE negotiations.</p> <p>Valid values: <code>SHA1</code> | * <code>SHA2-256</code> | <code>SHA2-384</code> | <code>SHA2-512</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& AddPhase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsRequestListValue&& value) { m_phase1IntegrityAlgorithmsHasBeenSet = true; m_phase1IntegrityAlgorithms.push_back(std::move(value)); return *this; } /** * <p>One or more integrity algorithms that are permitted for the VPN tunnel for * phase 2 IKE negotiations.</p> <p>Valid values: <code>SHA1</code> | * <code>SHA2-256</code> | <code>SHA2-384</code> | <code>SHA2-512</code> </p> */ inline const Aws::Vector<Phase2IntegrityAlgorithmsRequestListValue>& GetPhase2IntegrityAlgorithms() const{ return m_phase2IntegrityAlgorithms; } /** * <p>One or more integrity algorithms that are permitted for the VPN tunnel for * phase 2 IKE negotiations.</p> <p>Valid values: <code>SHA1</code> | * <code>SHA2-256</code> | <code>SHA2-384</code> | <code>SHA2-512</code> </p> */ inline bool Phase2IntegrityAlgorithmsHasBeenSet() const { return m_phase2IntegrityAlgorithmsHasBeenSet; } /** * <p>One or more integrity algorithms that are permitted for the VPN tunnel for * phase 2 IKE negotiations.</p> <p>Valid values: <code>SHA1</code> | * <code>SHA2-256</code> | <code>SHA2-384</code> | <code>SHA2-512</code> </p> */ inline void SetPhase2IntegrityAlgorithms(const Aws::Vector<Phase2IntegrityAlgorithmsRequestListValue>& value) { m_phase2IntegrityAlgorithmsHasBeenSet = true; m_phase2IntegrityAlgorithms = value; } /** * <p>One or more integrity algorithms that are permitted for the VPN tunnel for * phase 2 IKE negotiations.</p> <p>Valid values: <code>SHA1</code> | * <code>SHA2-256</code> | <code>SHA2-384</code> | <code>SHA2-512</code> </p> */ inline void SetPhase2IntegrityAlgorithms(Aws::Vector<Phase2IntegrityAlgorithmsRequestListValue>&& value) { m_phase2IntegrityAlgorithmsHasBeenSet = true; m_phase2IntegrityAlgorithms = std::move(value); } /** * <p>One or more integrity algorithms that are permitted for the VPN tunnel for * phase 2 IKE negotiations.</p> <p>Valid values: <code>SHA1</code> | * <code>SHA2-256</code> | <code>SHA2-384</code> | <code>SHA2-512</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithPhase2IntegrityAlgorithms(const Aws::Vector<Phase2IntegrityAlgorithmsRequestListValue>& value) { SetPhase2IntegrityAlgorithms(value); return *this;} /** * <p>One or more integrity algorithms that are permitted for the VPN tunnel for * phase 2 IKE negotiations.</p> <p>Valid values: <code>SHA1</code> | * <code>SHA2-256</code> | <code>SHA2-384</code> | <code>SHA2-512</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithPhase2IntegrityAlgorithms(Aws::Vector<Phase2IntegrityAlgorithmsRequestListValue>&& value) { SetPhase2IntegrityAlgorithms(std::move(value)); return *this;} /** * <p>One or more integrity algorithms that are permitted for the VPN tunnel for * phase 2 IKE negotiations.</p> <p>Valid values: <code>SHA1</code> | * <code>SHA2-256</code> | <code>SHA2-384</code> | <code>SHA2-512</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& AddPhase2IntegrityAlgorithms(const Phase2IntegrityAlgorithmsRequestListValue& value) { m_phase2IntegrityAlgorithmsHasBeenSet = true; m_phase2IntegrityAlgorithms.push_back(value); return *this; } /** * <p>One or more integrity algorithms that are permitted for the VPN tunnel for * phase 2 IKE negotiations.</p> <p>Valid values: <code>SHA1</code> | * <code>SHA2-256</code> | <code>SHA2-384</code> | <code>SHA2-512</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& AddPhase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsRequestListValue&& value) { m_phase2IntegrityAlgorithmsHasBeenSet = true; m_phase2IntegrityAlgorithms.push_back(std::move(value)); return *this; } /** * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN * tunnel for phase 1 IKE negotiations.</p> <p>Valid values: <code>2</code> | * <code>14</code> | <code>15</code> | <code>16</code> | <code>17</code> | * <code>18</code> | <code>19</code> | <code>20</code> | <code>21</code> | * <code>22</code> | <code>23</code> | <code>24</code> </p> */ inline const Aws::Vector<Phase1DHGroupNumbersRequestListValue>& GetPhase1DHGroupNumbers() const{ return m_phase1DHGroupNumbers; } /** * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN * tunnel for phase 1 IKE negotiations.</p> <p>Valid values: <code>2</code> | * <code>14</code> | <code>15</code> | <code>16</code> | <code>17</code> | * <code>18</code> | <code>19</code> | <code>20</code> | <code>21</code> | * <code>22</code> | <code>23</code> | <code>24</code> </p> */ inline bool Phase1DHGroupNumbersHasBeenSet() const { return m_phase1DHGroupNumbersHasBeenSet; } /** * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN * tunnel for phase 1 IKE negotiations.</p> <p>Valid values: <code>2</code> | * <code>14</code> | <code>15</code> | <code>16</code> | <code>17</code> | * <code>18</code> | <code>19</code> | <code>20</code> | <code>21</code> | * <code>22</code> | <code>23</code> | <code>24</code> </p> */ inline void SetPhase1DHGroupNumbers(const Aws::Vector<Phase1DHGroupNumbersRequestListValue>& value) { m_phase1DHGroupNumbersHasBeenSet = true; m_phase1DHGroupNumbers = value; } /** * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN * tunnel for phase 1 IKE negotiations.</p> <p>Valid values: <code>2</code> | * <code>14</code> | <code>15</code> | <code>16</code> | <code>17</code> | * <code>18</code> | <code>19</code> | <code>20</code> | <code>21</code> | * <code>22</code> | <code>23</code> | <code>24</code> </p> */ inline void SetPhase1DHGroupNumbers(Aws::Vector<Phase1DHGroupNumbersRequestListValue>&& value) { m_phase1DHGroupNumbersHasBeenSet = true; m_phase1DHGroupNumbers = std::move(value); } /** * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN * tunnel for phase 1 IKE negotiations.</p> <p>Valid values: <code>2</code> | * <code>14</code> | <code>15</code> | <code>16</code> | <code>17</code> | * <code>18</code> | <code>19</code> | <code>20</code> | <code>21</code> | * <code>22</code> | <code>23</code> | <code>24</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithPhase1DHGroupNumbers(const Aws::Vector<Phase1DHGroupNumbersRequestListValue>& value) { SetPhase1DHGroupNumbers(value); return *this;} /** * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN * tunnel for phase 1 IKE negotiations.</p> <p>Valid values: <code>2</code> | * <code>14</code> | <code>15</code> | <code>16</code> | <code>17</code> | * <code>18</code> | <code>19</code> | <code>20</code> | <code>21</code> | * <code>22</code> | <code>23</code> | <code>24</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithPhase1DHGroupNumbers(Aws::Vector<Phase1DHGroupNumbersRequestListValue>&& value) { SetPhase1DHGroupNumbers(std::move(value)); return *this;} /** * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN * tunnel for phase 1 IKE negotiations.</p> <p>Valid values: <code>2</code> | * <code>14</code> | <code>15</code> | <code>16</code> | <code>17</code> | * <code>18</code> | <code>19</code> | <code>20</code> | <code>21</code> | * <code>22</code> | <code>23</code> | <code>24</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& AddPhase1DHGroupNumbers(const Phase1DHGroupNumbersRequestListValue& value) { m_phase1DHGroupNumbersHasBeenSet = true; m_phase1DHGroupNumbers.push_back(value); return *this; } /** * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN * tunnel for phase 1 IKE negotiations.</p> <p>Valid values: <code>2</code> | * <code>14</code> | <code>15</code> | <code>16</code> | <code>17</code> | * <code>18</code> | <code>19</code> | <code>20</code> | <code>21</code> | * <code>22</code> | <code>23</code> | <code>24</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& AddPhase1DHGroupNumbers(Phase1DHGroupNumbersRequestListValue&& value) { m_phase1DHGroupNumbersHasBeenSet = true; m_phase1DHGroupNumbers.push_back(std::move(value)); return *this; } /** * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN * tunnel for phase 2 IKE negotiations.</p> <p>Valid values: <code>2</code> | * <code>5</code> | <code>14</code> | <code>15</code> | <code>16</code> | * <code>17</code> | <code>18</code> | <code>19</code> | <code>20</code> | * <code>21</code> | <code>22</code> | <code>23</code> | <code>24</code> </p> */ inline const Aws::Vector<Phase2DHGroupNumbersRequestListValue>& GetPhase2DHGroupNumbers() const{ return m_phase2DHGroupNumbers; } /** * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN * tunnel for phase 2 IKE negotiations.</p> <p>Valid values: <code>2</code> | * <code>5</code> | <code>14</code> | <code>15</code> | <code>16</code> | * <code>17</code> | <code>18</code> | <code>19</code> | <code>20</code> | * <code>21</code> | <code>22</code> | <code>23</code> | <code>24</code> </p> */ inline bool Phase2DHGroupNumbersHasBeenSet() const { return m_phase2DHGroupNumbersHasBeenSet; } /** * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN * tunnel for phase 2 IKE negotiations.</p> <p>Valid values: <code>2</code> | * <code>5</code> | <code>14</code> | <code>15</code> | <code>16</code> | * <code>17</code> | <code>18</code> | <code>19</code> | <code>20</code> | * <code>21</code> | <code>22</code> | <code>23</code> | <code>24</code> </p> */ inline void SetPhase2DHGroupNumbers(const Aws::Vector<Phase2DHGroupNumbersRequestListValue>& value) { m_phase2DHGroupNumbersHasBeenSet = true; m_phase2DHGroupNumbers = value; } /** * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN * tunnel for phase 2 IKE negotiations.</p> <p>Valid values: <code>2</code> | * <code>5</code> | <code>14</code> | <code>15</code> | <code>16</code> | * <code>17</code> | <code>18</code> | <code>19</code> | <code>20</code> | * <code>21</code> | <code>22</code> | <code>23</code> | <code>24</code> </p> */ inline void SetPhase2DHGroupNumbers(Aws::Vector<Phase2DHGroupNumbersRequestListValue>&& value) { m_phase2DHGroupNumbersHasBeenSet = true; m_phase2DHGroupNumbers = std::move(value); } /** * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN * tunnel for phase 2 IKE negotiations.</p> <p>Valid values: <code>2</code> | * <code>5</code> | <code>14</code> | <code>15</code> | <code>16</code> | * <code>17</code> | <code>18</code> | <code>19</code> | <code>20</code> | * <code>21</code> | <code>22</code> | <code>23</code> | <code>24</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithPhase2DHGroupNumbers(const Aws::Vector<Phase2DHGroupNumbersRequestListValue>& value) { SetPhase2DHGroupNumbers(value); return *this;} /** * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN * tunnel for phase 2 IKE negotiations.</p> <p>Valid values: <code>2</code> | * <code>5</code> | <code>14</code> | <code>15</code> | <code>16</code> | * <code>17</code> | <code>18</code> | <code>19</code> | <code>20</code> | * <code>21</code> | <code>22</code> | <code>23</code> | <code>24</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithPhase2DHGroupNumbers(Aws::Vector<Phase2DHGroupNumbersRequestListValue>&& value) { SetPhase2DHGroupNumbers(std::move(value)); return *this;} /** * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN * tunnel for phase 2 IKE negotiations.</p> <p>Valid values: <code>2</code> | * <code>5</code> | <code>14</code> | <code>15</code> | <code>16</code> | * <code>17</code> | <code>18</code> | <code>19</code> | <code>20</code> | * <code>21</code> | <code>22</code> | <code>23</code> | <code>24</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& AddPhase2DHGroupNumbers(const Phase2DHGroupNumbersRequestListValue& value) { m_phase2DHGroupNumbersHasBeenSet = true; m_phase2DHGroupNumbers.push_back(value); return *this; } /** * <p>One or more Diffie-Hellman group numbers that are permitted for the VPN * tunnel for phase 2 IKE negotiations.</p> <p>Valid values: <code>2</code> | * <code>5</code> | <code>14</code> | <code>15</code> | <code>16</code> | * <code>17</code> | <code>18</code> | <code>19</code> | <code>20</code> | * <code>21</code> | <code>22</code> | <code>23</code> | <code>24</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& AddPhase2DHGroupNumbers(Phase2DHGroupNumbersRequestListValue&& value) { m_phase2DHGroupNumbersHasBeenSet = true; m_phase2DHGroupNumbers.push_back(std::move(value)); return *this; } /** * <p>The IKE versions that are permitted for the VPN tunnel.</p> <p>Valid values: * <code>ikev1</code> | <code>ikev2</code> </p> */ inline const Aws::Vector<IKEVersionsRequestListValue>& GetIKEVersions() const{ return m_iKEVersions; } /** * <p>The IKE versions that are permitted for the VPN tunnel.</p> <p>Valid values: * <code>ikev1</code> | <code>ikev2</code> </p> */ inline bool IKEVersionsHasBeenSet() const { return m_iKEVersionsHasBeenSet; } /** * <p>The IKE versions that are permitted for the VPN tunnel.</p> <p>Valid values: * <code>ikev1</code> | <code>ikev2</code> </p> */ inline void SetIKEVersions(const Aws::Vector<IKEVersionsRequestListValue>& value) { m_iKEVersionsHasBeenSet = true; m_iKEVersions = value; } /** * <p>The IKE versions that are permitted for the VPN tunnel.</p> <p>Valid values: * <code>ikev1</code> | <code>ikev2</code> </p> */ inline void SetIKEVersions(Aws::Vector<IKEVersionsRequestListValue>&& value) { m_iKEVersionsHasBeenSet = true; m_iKEVersions = std::move(value); } /** * <p>The IKE versions that are permitted for the VPN tunnel.</p> <p>Valid values: * <code>ikev1</code> | <code>ikev2</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithIKEVersions(const Aws::Vector<IKEVersionsRequestListValue>& value) { SetIKEVersions(value); return *this;} /** * <p>The IKE versions that are permitted for the VPN tunnel.</p> <p>Valid values: * <code>ikev1</code> | <code>ikev2</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithIKEVersions(Aws::Vector<IKEVersionsRequestListValue>&& value) { SetIKEVersions(std::move(value)); return *this;} /** * <p>The IKE versions that are permitted for the VPN tunnel.</p> <p>Valid values: * <code>ikev1</code> | <code>ikev2</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& AddIKEVersions(const IKEVersionsRequestListValue& value) { m_iKEVersionsHasBeenSet = true; m_iKEVersions.push_back(value); return *this; } /** * <p>The IKE versions that are permitted for the VPN tunnel.</p> <p>Valid values: * <code>ikev1</code> | <code>ikev2</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& AddIKEVersions(IKEVersionsRequestListValue&& value) { m_iKEVersionsHasBeenSet = true; m_iKEVersions.push_back(std::move(value)); return *this; } /** * <p>The action to take when the establishing the tunnel for the VPN connection. * By default, your customer gateway device must initiate the IKE negotiation and * bring up the tunnel. Specify <code>start</code> for Amazon Web Services to * initiate the IKE negotiation.</p> <p>Valid Values: <code>add</code> | * <code>start</code> </p> <p>Default: <code>add</code> </p> */ inline const Aws::String& GetStartupAction() const{ return m_startupAction; } /** * <p>The action to take when the establishing the tunnel for the VPN connection. * By default, your customer gateway device must initiate the IKE negotiation and * bring up the tunnel. Specify <code>start</code> for Amazon Web Services to * initiate the IKE negotiation.</p> <p>Valid Values: <code>add</code> | * <code>start</code> </p> <p>Default: <code>add</code> </p> */ inline bool StartupActionHasBeenSet() const { return m_startupActionHasBeenSet; } /** * <p>The action to take when the establishing the tunnel for the VPN connection. * By default, your customer gateway device must initiate the IKE negotiation and * bring up the tunnel. Specify <code>start</code> for Amazon Web Services to * initiate the IKE negotiation.</p> <p>Valid Values: <code>add</code> | * <code>start</code> </p> <p>Default: <code>add</code> </p> */ inline void SetStartupAction(const Aws::String& value) { m_startupActionHasBeenSet = true; m_startupAction = value; } /** * <p>The action to take when the establishing the tunnel for the VPN connection. * By default, your customer gateway device must initiate the IKE negotiation and * bring up the tunnel. Specify <code>start</code> for Amazon Web Services to * initiate the IKE negotiation.</p> <p>Valid Values: <code>add</code> | * <code>start</code> </p> <p>Default: <code>add</code> </p> */ inline void SetStartupAction(Aws::String&& value) { m_startupActionHasBeenSet = true; m_startupAction = std::move(value); } /** * <p>The action to take when the establishing the tunnel for the VPN connection. * By default, your customer gateway device must initiate the IKE negotiation and * bring up the tunnel. Specify <code>start</code> for Amazon Web Services to * initiate the IKE negotiation.</p> <p>Valid Values: <code>add</code> | * <code>start</code> </p> <p>Default: <code>add</code> </p> */ inline void SetStartupAction(const char* value) { m_startupActionHasBeenSet = true; m_startupAction.assign(value); } /** * <p>The action to take when the establishing the tunnel for the VPN connection. * By default, your customer gateway device must initiate the IKE negotiation and * bring up the tunnel. Specify <code>start</code> for Amazon Web Services to * initiate the IKE negotiation.</p> <p>Valid Values: <code>add</code> | * <code>start</code> </p> <p>Default: <code>add</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithStartupAction(const Aws::String& value) { SetStartupAction(value); return *this;} /** * <p>The action to take when the establishing the tunnel for the VPN connection. * By default, your customer gateway device must initiate the IKE negotiation and * bring up the tunnel. Specify <code>start</code> for Amazon Web Services to * initiate the IKE negotiation.</p> <p>Valid Values: <code>add</code> | * <code>start</code> </p> <p>Default: <code>add</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithStartupAction(Aws::String&& value) { SetStartupAction(std::move(value)); return *this;} /** * <p>The action to take when the establishing the tunnel for the VPN connection. * By default, your customer gateway device must initiate the IKE negotiation and * bring up the tunnel. Specify <code>start</code> for Amazon Web Services to * initiate the IKE negotiation.</p> <p>Valid Values: <code>add</code> | * <code>start</code> </p> <p>Default: <code>add</code> </p> */ inline ModifyVpnTunnelOptionsSpecification& WithStartupAction(const char* value) { SetStartupAction(value); return *this;} private: Aws::String m_tunnelInsideCidr; bool m_tunnelInsideCidrHasBeenSet; Aws::String m_tunnelInsideIpv6Cidr; bool m_tunnelInsideIpv6CidrHasBeenSet; Aws::String m_preSharedKey; bool m_preSharedKeyHasBeenSet; int m_phase1LifetimeSeconds; bool m_phase1LifetimeSecondsHasBeenSet; int m_phase2LifetimeSeconds; bool m_phase2LifetimeSecondsHasBeenSet; int m_rekeyMarginTimeSeconds; bool m_rekeyMarginTimeSecondsHasBeenSet; int m_rekeyFuzzPercentage; bool m_rekeyFuzzPercentageHasBeenSet; int m_replayWindowSize; bool m_replayWindowSizeHasBeenSet; int m_dPDTimeoutSeconds; bool m_dPDTimeoutSecondsHasBeenSet; Aws::String m_dPDTimeoutAction; bool m_dPDTimeoutActionHasBeenSet; Aws::Vector<Phase1EncryptionAlgorithmsRequestListValue> m_phase1EncryptionAlgorithms; bool m_phase1EncryptionAlgorithmsHasBeenSet; Aws::Vector<Phase2EncryptionAlgorithmsRequestListValue> m_phase2EncryptionAlgorithms; bool m_phase2EncryptionAlgorithmsHasBeenSet; Aws::Vector<Phase1IntegrityAlgorithmsRequestListValue> m_phase1IntegrityAlgorithms; bool m_phase1IntegrityAlgorithmsHasBeenSet; Aws::Vector<Phase2IntegrityAlgorithmsRequestListValue> m_phase2IntegrityAlgorithms; bool m_phase2IntegrityAlgorithmsHasBeenSet; Aws::Vector<Phase1DHGroupNumbersRequestListValue> m_phase1DHGroupNumbers; bool m_phase1DHGroupNumbersHasBeenSet; Aws::Vector<Phase2DHGroupNumbersRequestListValue> m_phase2DHGroupNumbers; bool m_phase2DHGroupNumbersHasBeenSet; Aws::Vector<IKEVersionsRequestListValue> m_iKEVersions; bool m_iKEVersionsHasBeenSet; Aws::String m_startupAction; bool m_startupActionHasBeenSet; }; } // namespace Model } // namespace EC2 } // namespace Aws
aws/aws-sdk-cpp
aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyVpnTunnelOptionsSpecification.h
C
apache-2.0
61,025
/* * Copyright 2015 Adobe Systems Incorporated * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package ${package}.core.servlets; import org.apache.sling.api.SlingHttpServletRequest; import org.apache.sling.api.SlingHttpServletResponse; import org.apache.sling.api.resource.Resource; import org.apache.sling.api.servlets.HttpConstants; import org.apache.sling.api.servlets.SlingAllMethodsServlet; import org.apache.sling.api.servlets.SlingSafeMethodsServlet; import org.apache.sling.api.resource.ValueMap; import org.osgi.framework.Constants; import org.osgi.service.component.annotations.Component; import javax.servlet.Servlet; import javax.servlet.ServletException; import java.io.IOException; /** * Servlet that writes some sample content into the response. It is mounted for * all resources of a specific Sling resource type. The * {@link SlingSafeMethodsServlet} shall be used for HTTP methods that are * idempotent. For write operations use the {@link SlingAllMethodsServlet}. */ @Component(service=Servlet.class, property={ Constants.SERVICE_DESCRIPTION + "=Simple Demo Servlet", "sling.servlet.methods=" + HttpConstants.METHOD_GET, "sling.servlet.resourceTypes="+ "${appsFolderName}/components/structure/page", "sling.servlet.extensions=" + "txt" }) public class SimpleServlet extends SlingSafeMethodsServlet { private static final long serialVersionUid = 1L; @Override protected void doGet(final SlingHttpServletRequest req, final SlingHttpServletResponse resp) throws ServletException, IOException { final Resource resource = req.getResource(); resp.setContentType("text/plain"); resp.getWriter().write("Title = " + resource.adaptTo(ValueMap.class).get("jcr:title")); } }
MyAccInt/aem-project-archetype
src/main/archetype/core/src/main/java/core/servlets/SimpleServlet.java
Java
apache-2.0
2,367
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_precision) { var v = opt_precision; if (undefined === v) { v = Math.min(getDecimals(n), 3); } var base = Math.pow(10, v); var f = ((n * base) | 0) % base; return {v: v, f: f}; } $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "\u04d5\u043c\u0431\u0438\u0441\u0431\u043e\u043d\u044b \u0440\u0430\u0437\u043c\u04d5", "\u04d5\u043c\u0431\u0438\u0441\u0431\u043e\u043d\u044b \u0444\u04d5\u0441\u0442\u04d5" ], "DAY": [ "\u0445\u0443\u044b\u0446\u0430\u0443\u0431\u043e\u043d", "\u043a\u044a\u0443\u044b\u0440\u0438\u0441\u04d5\u0440", "\u0434\u044b\u0446\u0446\u04d5\u0433", "\u04d5\u0440\u0442\u044b\u0446\u0446\u04d5\u0433", "\u0446\u044b\u043f\u043f\u04d5\u0440\u04d5\u043c", "\u043c\u0430\u0439\u0440\u04d5\u043c\u0431\u043e\u043d", "\u0441\u0430\u0431\u0430\u0442" ], "ERANAMES": [ "\u043d.\u0434.\u0430.", "\u043d.\u0434." ], "ERAS": [ "\u043d.\u0434.\u0430.", "\u043d.\u0434." ], "FIRSTDAYOFWEEK": 0, "MONTH": [ "\u044f\u043d\u0432\u0430\u0440\u044b", "\u0444\u0435\u0432\u0440\u0430\u043b\u044b", "\u043c\u0430\u0440\u0442\u044a\u0438\u0439\u044b", "\u0430\u043f\u0440\u0435\u043b\u044b", "\u043c\u0430\u0439\u044b", "\u0438\u044e\u043d\u044b", "\u0438\u044e\u043b\u044b", "\u0430\u0432\u0433\u0443\u0441\u0442\u044b", "\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044b", "\u043e\u043a\u0442\u044f\u0431\u0440\u044b", "\u043d\u043e\u044f\u0431\u0440\u044b", "\u0434\u0435\u043a\u0430\u0431\u0440\u044b" ], "SHORTDAY": [ "\u0445\u0446\u0431", "\u043a\u0440\u0441", "\u0434\u0446\u0433", "\u04d5\u0440\u0442", "\u0446\u043f\u0440", "\u043c\u0440\u0431", "\u0441\u0431\u0442" ], "SHORTMONTH": [ "\u044f\u043d\u0432.", "\u0444\u0435\u0432.", "\u043c\u0430\u0440.", "\u0430\u043f\u0440.", "\u043c\u0430\u044f", "\u0438\u044e\u043d\u044b", "\u0438\u044e\u043b\u044b", "\u0430\u0432\u0433.", "\u0441\u0435\u043d.", "\u043e\u043a\u0442.", "\u043d\u043e\u044f.", "\u0434\u0435\u043a." ], "WEEKENDRANGE": [ 5, 6 ], "fullDate": "EEEE, d MMMM, y '\u0430\u0437'", "longDate": "d MMMM, y '\u0430\u0437'", "medium": "dd MMM y '\u0430\u0437' HH:mm:ss", "mediumDate": "dd MMM y '\u0430\u0437'", "mediumTime": "HH:mm:ss", "short": "dd.MM.yy HH:mm", "shortDate": "dd.MM.yy", "shortTime": "HH:mm" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "GEL", "DECIMAL_SEP": ",", "GROUP_SEP": "\u00a0", "PATTERNS": [ { "gSize": 3, "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, "negPre": "-", "negSuf": "", "posPre": "", "posSuf": "" }, { "gSize": 3, "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, "negPre": "-\u00a4\u00a0", "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "os", "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]);
LADOSSIFPB/nutrif
nutrif-web/lib/angular/i18n/angular-locale_os.js
JavaScript
apache-2.0
3,826
package com.comp.ninti.sportsmanager; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.MenuItem; import android.widget.ListView; import com.comp.ninti.adapter.LeaderBoardAdapter; import com.comp.ninti.database.DbHandler; import com.comp.ninti.general.core.Event; public class LeaderBoard extends AppCompatActivity { private Event event; private DbHandler dbHandler; private LeaderBoardAdapter leaderBoardAdapter; private ListView listView; @Override public boolean onOptionsItemSelected(MenuItem item) { if (item.getItemId() == android.R.id.home) { super.onBackPressed(); return true; } return super.onOptionsItemSelected(item); } @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); event = getIntent().getExtras().getParcelable("com.comp.ninti.general.core.Event"); Intent intent = new Intent(); intent.putExtra("com.comp.ninti.general.core.Event", event); setResult(RESULT_CANCELED, intent); setContentView(R.layout.activity_leader_board); Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); getSupportActionBar().setDisplayHomeAsUpEnabled(true); listView = (ListView) findViewById(R.id.lvLeaderBoard); listView.setTextFilterEnabled(true); displayItems(); } private void displayItems() { dbHandler = new DbHandler(LeaderBoard.this, "", null, 1); new Handler().post(new Runnable() { @Override public void run() { leaderBoardAdapter = new LeaderBoardAdapter( LeaderBoard.this, dbHandler.getLeaderBoard(event.getId()), 0); listView.setAdapter(leaderBoardAdapter); } }); dbHandler.close(); } @Override protected void onResume() { super.onResume(); displayItems(); } }
Nintinugga/SportsManager
app/src/main/java/com/comp/ninti/sportsmanager/LeaderBoard.java
Java
apache-2.0
2,193
/** * www.bplow.com */ package com.bplow.netconn.systemmng.domain; /** * @desc 角色 * @author wangxiaolei * @date 2016年5月8日 下午4:30:39 */ public class RoleDomain { private String roleId; private String userId; private String roleName; private String roleDesc; public String getRoleId() { return roleId; } public void setRoleId(String roleId) { this.roleId = roleId; } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getRoleName() { return roleName; } public void setRoleName(String roleName) { this.roleName = roleName; } public String getRoleDesc() { return roleDesc; } public void setRoleDesc(String roleDesc) { this.roleDesc = roleDesc; } }
ahwxl/ads
ads/src/main/java/com/bplow/netconn/systemmng/domain/RoleDomain.java
Java
apache-2.0
824
package it.breex.bus.impl.jms; import it.breex.bus.event.AbstractResponseEvent; import it.breex.bus.event.EventData; import it.breex.bus.event.EventHandler; import it.breex.bus.event.RequestEvent; import it.breex.bus.impl.AbstractEventManager; import java.util.UUID; import javax.jms.Connection; import javax.jms.ConnectionFactory; import javax.jms.Destination; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageConsumer; import javax.jms.MessageListener; import javax.jms.MessageProducer; import javax.jms.ObjectMessage; import javax.jms.Queue; import javax.jms.Session; public class JmsEventManager extends AbstractEventManager { private final static String DEFAULT_REQUEST_QUEUE = "breexDefaulRequestQueue"; private final String nodeId = UUID.randomUUID().toString(); private final boolean transacted = false; private final int acknowledgeMode = Session.AUTO_ACKNOWLEDGE; private final Connection jmsConnection; private final Session session; private final Queue requestQueue; private final MessageProducer requestMessageProducer; private final Queue responseQueue; private final MessageProducer responseMessageProducer; public JmsEventManager(ConnectionFactory jmsConnectionFactory) { try { jmsConnection = jmsConnectionFactory.createConnection(); jmsConnection.start(); session = jmsConnection.createSession(transacted, acknowledgeMode); requestQueue = session.createQueue(DEFAULT_REQUEST_QUEUE); requestMessageProducer = session.createProducer(requestQueue); responseQueue = session.createTemporaryQueue(); responseMessageProducer = session.createProducer(null); session.createConsumer(responseQueue).setMessageListener(new MessageListener() { @Override public void onMessage(Message message) { try { EventData<?> eventData = (EventData<?>) ((ObjectMessage) message).getObject(); getLogger().debug("Event Response received. Event name: [{}], sender id: [{}]", eventData.getName(), eventData.getSenderId()); //logger.debug("Event Response received. Event name: [{}], sender id: [{}]", eventData.eventId.eventName, eventData.eventId.nodeId); AbstractResponseEvent responseEvent = new AbstractResponseEvent(eventData) { }; processResponse(responseEvent, getResponseHandlers().remove(eventData.getId())); } catch (JMSException e) { new RuntimeException(e); } } }); } catch (JMSException e) { throw new RuntimeException(e); } } @Override public String getLocalNodeId() { return nodeId; } @Override protected <I, O> void prepareResponse(EventData<I> requestEventData, EventData<O> responseEventData) { try { Message responseMessage = session.createObjectMessage(responseEventData); responseMessageProducer.send((Destination) requestEventData.getTransportData(), responseMessage); } catch (JMSException e) { new RuntimeException(e); } } @Override protected <I, O> void registerCallback(String eventName, EventHandler<RequestEvent<I, O>> eventHandler) { getLogger().debug("Registering event. Event name: [{}]", eventName); MessageConsumer eventConsumer; try { eventConsumer = session.createConsumer(requestQueue, "JMSCorrelationID='" + eventName + "'"); eventConsumer.setMessageListener(new MessageListener() { @Override public void onMessage(Message message) { EventData<I> requestEventData; try { requestEventData = (EventData<I>) ((ObjectMessage) message).getObject(); getLogger().debug("Received event. Event name: [{}] CorrelationID: [{}]", requestEventData.getName(), message.getJMSCorrelationID()); processRequest(requestEventData); } catch (JMSException e) { new RuntimeException(e); } } }); } catch (JMSException e) { new RuntimeException(e); } } @Override protected <I> void prepareRequest(EventData<I> eventData) { try { eventData.setTransportData(responseQueue); ObjectMessage message = session.createObjectMessage(eventData); message.setJMSCorrelationID(eventData.getName()); message.setJMSReplyTo(responseQueue); requestMessageProducer.send(message); } catch (JMSException e) { new RuntimeException(e); } } }
breex-it/breex-bus
breex-bus-jms/src/main/java/it/breex/bus/impl/jms/JmsEventManager.java
Java
apache-2.0
4,233
from .fetch import FetchParser from .json_ld import JsonLdParser from .lom import LomParser from .lrmi import LrmiParser from .nsdl_dc import NsdlDcParser __all__ = [ 'FetchParser', 'JsonLdParser', 'LomParser', 'LrmiParser', 'NsdlDcParser', ]
navnorth/LR-Data
src/payload_schema/__init__.py
Python
apache-2.0
265
/* Copyright 2014 Maciej Chałapuk Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package restful import ( "net/http" "net/http/httptest" "testing" "strings" "fmt" ) type testIndexer struct { TimesCalled int ReturnedMap map[string]interface{} } func NewTestIndexer() *testIndexer { return &testIndexer{ 0, make(map[string]interface{}) } } func (indexer *testIndexer) Index() map[string]interface{} { indexer.TimesCalled += 1 return indexer.ReturnedMap } func TestAllMethodCalled(t *testing.T) { fakeController := NewTestIndexer() router, w := NewRouter(), httptest.NewRecorder() createResourceAndServeARequest(router, "/test", "/", fakeController, w) if fakeController.TimesCalled != 1 { t.Errorf("Expected 1 call, got %v.", fakeController.TimesCalled) } } func TestJsonResponseAfterReturningEmptyMapFromAll(t *testing.T) { fakeController := NewTestIndexer() router, w := NewRouter(), httptest.NewRecorder() createResourceAndServeARequest(router, "/test", "/", fakeController, w) expectedJson := "{}" actualJson := strings.TrimSpace(string(w.Body.Bytes())) if expectedJson != actualJson { t.Errorf("Expected response '%v', got '%v'.", expectedJson, actualJson) } } func TestJsonResponseAfterReturningEmptyMapWithOneString(t *testing.T) { fakeController := NewTestIndexer() id0 := "test" fakeController.ReturnedMap[id0] = id0 router, w := NewRouter(), httptest.NewRecorder() createResourceAndServeARequest(router, "/test", "/", fakeController, w) expectedJson := fmt.Sprintf("{\"%v\":\"%v\"}", id0, id0) actualJson := strings.TrimSpace(string(w.Body.Bytes())) if expectedJson != actualJson { t.Errorf("Expected response '%v', got '%v'.", expectedJson, actualJson) } } type testStruct struct { Test string `json:"test"` } func TestJsonResponseAfterReturningEmptyMapWithTwoStructs(t *testing.T) { fakeController := NewTestIndexer() id0, id1 := "0", "1" fakeController.ReturnedMap[id0] = testStruct{id0} fakeController.ReturnedMap[id1] = testStruct{id1} router, w := NewRouter(), httptest.NewRecorder() createResourceAndServeARequest(router, "/test", "/", fakeController, w) expectedJson := fmt.Sprintf("{\"%v\":{\"test\":\"%v\"},\"%v\":{\"test\":\"%v\"}}", id0, id0, id1, id1) actualJson := strings.TrimSpace(string(w.Body.Bytes())) if expectedJson != actualJson { t.Errorf("Expected response '%v', got '%v'.", expectedJson, actualJson) } } func TestPanicWhenReturningNilMapFromIndexer(t *testing.T) { fakeController := new(testIndexer) // ReturnedMap is nil router, w := NewRouter(), httptest.NewRecorder() defer func() { if err := recover(); err == nil { t.Error("Should panic when returned map is nil, but didnt.") } }() createResourceAndServeARequest(router, "/test", "/", fakeController, w) } func createResourceAndServeARequest(router *Router, resource string, request string, controller interface{}, out http.ResponseWriter) { router.HandleResource(resource, controller) url := "http://www.domain.com"+ resource + request req, _ := http.NewRequest("GET", url, nil) router.ServeHTTP(out, req) }
gosmos/restful
restful_test.go
GO
apache-2.0
3,673
using System.Collections.Generic; using System.Linq; using CoolNameGenerator.GA.Chromosomes; using CoolNameGenerator.GA.Crossovers; using NUnit.Framework; using Rhino.Mocks; using TestSharp; namespace Test.GA.Crossovers { [TestFixture] [Category("Crossovers")] public class OrderedCrossoverTest { [Test] public void Cross_ParentWithNoOrderedGenes_Exception() { var target = new OrderedCrossover(); var chromosome1 = MockRepository.GenerateStub<ChromosomeBase>(10); chromosome1.ReplaceGenes(0, new Gene[] { new Gene(8), new Gene(4), new Gene(7), new Gene(3), new Gene(6), new Gene(2), new Gene(5), new Gene(1), new Gene(9), new Gene(0) }); chromosome1.Expect(c => c.CreateNew()).Return(MockRepository.GenerateStub<ChromosomeBase>(10)); var chromosome2 = MockRepository.GenerateStub<ChromosomeBase>(10); chromosome2.ReplaceGenes(0, new Gene[] { new Gene(0), new Gene(1), new Gene(2), new Gene(3), new Gene(5), new Gene(5), new Gene(6), new Gene(7), new Gene(8), new Gene(9), }); chromosome2.Expect(c => c.CreateNew()).Return(MockRepository.GenerateStub<ChromosomeBase>(10)); ExceptionAssert.IsThrowing(new CrossoverException(target, "The Ordered Crossover (OX1) can be only used with ordered chromosomes. The specified chromosome has repeated genes."), () => { target.Cross(new List<IChromosome>() { chromosome1, chromosome2 }); }); } [Test] public void Cross_ParentsWith10Genes_Cross() { var target = new OrderedCrossover(); // 8 4 7 3 6 2 5 1 9 0 var chromosome1 = MockRepository.GenerateStub<ChromosomeBase>(10); chromosome1.ReplaceGenes(0, new Gene[] { new Gene(8), new Gene(4), new Gene(7), new Gene(3), new Gene(6), new Gene(2), new Gene(5), new Gene(1), new Gene(9), new Gene(0) }); chromosome1.Expect(c => c.CreateNew()).Return(MockRepository.GenerateStub<ChromosomeBase>(10)); // 0 1 2 3 4 5 6 7 8 9 var chromosome2 = MockRepository.GenerateStub<ChromosomeBase>(10); chromosome2.ReplaceGenes(0, new Gene[] { new Gene(0), new Gene(1), new Gene(2), new Gene(3), new Gene(4), new Gene(5), new Gene(6), new Gene(7), new Gene(8), new Gene(9), }); chromosome2.Expect(c => c.CreateNew()).Return(MockRepository.GenerateStub<ChromosomeBase>(10)); // Child one: 0 4 7 3 6 2 5 1 8 9 // Child two: 8 2 1 3 4 5 6 7 9 0 IList<IChromosome> actual = null; ; TimeAssert.LessThan(40, () => { actual = target.Cross(new List<IChromosome>() { chromosome1, chromosome2 }); }); Assert.AreEqual(2, actual.Count); Assert.AreEqual(10, actual[0].Length); Assert.AreEqual(10, actual[1].Length); Assert.AreEqual(10, actual[0].GetGenes().Distinct().Count()); Assert.AreEqual(10, actual[1].GetGenes().Distinct().Count()); Assert.AreEqual(0, actual[0].GetGene(0).Value); Assert.AreEqual(4, actual[0].GetGene(1).Value); Assert.AreEqual(7, actual[0].GetGene(2).Value); Assert.AreEqual(3, actual[0].GetGene(3).Value); Assert.AreEqual(6, actual[0].GetGene(4).Value); Assert.AreEqual(2, actual[0].GetGene(5).Value); Assert.AreEqual(5, actual[0].GetGene(6).Value); Assert.AreEqual(1, actual[0].GetGene(7).Value); Assert.AreEqual(8, actual[0].GetGene(8).Value); Assert.AreEqual(9, actual[0].GetGene(9).Value); Assert.AreEqual(8, actual[1].GetGene(0).Value); Assert.AreEqual(2, actual[1].GetGene(1).Value); Assert.AreEqual(1, actual[1].GetGene(2).Value); Assert.AreEqual(3, actual[1].GetGene(3).Value); Assert.AreEqual(4, actual[1].GetGene(4).Value); Assert.AreEqual(5, actual[1].GetGene(5).Value); Assert.AreEqual(6, actual[1].GetGene(6).Value); Assert.AreEqual(7, actual[1].GetGene(7).Value); Assert.AreEqual(9, actual[1].GetGene(8).Value); Assert.AreEqual(0, actual[1].GetGene(9).Value); } } }
Behzadkhosravifar/CoolNameGenerator
src/Test/GA/Crossovers/OrderedCrossoverTest.cs
C#
apache-2.0
5,007
/* * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef FocusController_h #define FocusController_h #include "core/page/FocusDirection.h" #include "core/platform/graphics/LayoutRect.h" #include "wtf/Forward.h" #include "wtf/Noncopyable.h" #include "wtf/RefPtr.h" namespace WebCore { struct FocusCandidate; class Document; class Element; class Frame; class HTMLFrameOwnerElement; class IntRect; class KeyboardEvent; class Node; class Page; class TreeScope; class FocusNavigationScope { public: Node* rootNode() const; Element* owner() const; static FocusNavigationScope focusNavigationScopeOf(Node*); static FocusNavigationScope focusNavigationScopeOwnedByShadowHost(Node*); static FocusNavigationScope focusNavigationScopeOwnedByIFrame(HTMLFrameOwnerElement*); private: explicit FocusNavigationScope(TreeScope*); TreeScope* m_rootTreeScope; }; class FocusController { WTF_MAKE_NONCOPYABLE(FocusController); WTF_MAKE_FAST_ALLOCATED; public: static PassOwnPtr<FocusController> create(Page*); void setFocusedFrame(PassRefPtr<Frame>); Frame* focusedFrame() const { return m_focusedFrame.get(); } Frame* focusedOrMainFrame() const; bool setInitialFocus(FocusDirection); bool advanceFocus(FocusDirection direction) { return advanceFocus(direction, false); } bool setFocusedElement(Element*, PassRefPtr<Frame>, FocusDirection = FocusDirectionNone); void setActive(bool); bool isActive() const { return m_isActive; } void setFocused(bool); bool isFocused() const { return m_isFocused; } void setContainingWindowIsVisible(bool); bool containingWindowIsVisible() const { return m_containingWindowIsVisible; } private: explicit FocusController(Page*); bool advanceFocus(FocusDirection, bool initialFocus); bool advanceFocusDirectionally(FocusDirection); bool advanceFocusInDocumentOrder(FocusDirection, bool initialFocus); Node* findFocusableNodeAcrossFocusScope(FocusDirection, FocusNavigationScope startScope, Node* start); Node* findFocusableNodeRecursively(FocusDirection, FocusNavigationScope, Node* start); Node* findFocusableNodeDecendingDownIntoFrameDocument(FocusDirection, Node*); // Searches through the given tree scope, starting from start node, for the next/previous selectable element that comes after/before start node. // The order followed is as specified in section 17.11.1 of the HTML4 spec, which is elements with tab indexes // first (from lowest to highest), and then elements without tab indexes (in document order). // // @param start The node from which to start searching. The node after this will be focused. May be null. // // @return The focus node that comes after/before start node. // // See http://www.w3.org/TR/html4/interact/forms.html#h-17.11.1 inline Node* findFocusableNode(FocusDirection, FocusNavigationScope, Node* start); Node* nextFocusableNode(FocusNavigationScope, Node* start); Node* previousFocusableNode(FocusNavigationScope, Node* start); Node* findNodeWithExactTabIndex(Node* start, int tabIndex, FocusDirection); bool advanceFocusDirectionallyInContainer(Node* container, const LayoutRect& startingRect, FocusDirection); void findFocusCandidateInContainer(Node* container, const LayoutRect& startingRect, FocusDirection, FocusCandidate& closest); Page* m_page; RefPtr<Frame> m_focusedFrame; bool m_isActive; bool m_isFocused; bool m_isChangingFocusedFrame; bool m_containingWindowIsVisible; }; } // namespace WebCore #endif // FocusController_h
indashnet/InDashNet.Open.UN2000
android/external/chromium_org/third_party/WebKit/Source/core/page/FocusController.h
C
apache-2.0
4,915
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_151) on Wed Jun 10 10:20:09 MST 2020 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>ServerSupplier (BOM: * : All 2.6.1.Final-SNAPSHOT API)</title> <meta name="date" content="2020-06-10"> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="ServerSupplier (BOM: * : All 2.6.1.Final-SNAPSHOT API)"; } } catch(err) { } //--> var methods = {"i0":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/ServerSupplier.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../../index-all.html">Index</a></li> <li><a href="../../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">Thorntail API, 2.6.1.Final-SNAPSHOT</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq"><span class="typeNameLink">Prev&nbsp;Class</span></a></li> <li><a href="../../../../../../org/wildfly/swarm/config/messaging/activemq/Transaction.html" title="enum in org.wildfly.swarm.config.messaging.activemq"><span class="typeNameLink">Next&nbsp;Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../../index.html?org/wildfly/swarm/config/messaging/activemq/ServerSupplier.html" target="_top">Frames</a></li> <li><a href="ServerSupplier.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">org.wildfly.swarm.config.messaging.activemq</div> <h2 title="Interface ServerSupplier" class="title">Interface ServerSupplier&lt;T extends <a href="../../../../../../org/wildfly/swarm/config/messaging/activemq/Server.html" title="class in org.wildfly.swarm.config.messaging.activemq">Server</a>&gt;</h2> </div> <div class="contentContainer"> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>Functional Interface:</dt> <dd>This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.</dd> </dl> <hr> <br> <pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/FunctionalInterface.html?is-external=true" title="class or interface in java.lang">@FunctionalInterface</a> public interface <span class="typeNameLabel">ServerSupplier&lt;T extends <a href="../../../../../../org/wildfly/swarm/config/messaging/activemq/Server.html" title="class in org.wildfly.swarm.config.messaging.activemq">Server</a>&gt;</span></pre> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code><a href="../../../../../../org/wildfly/swarm/config/messaging/activemq/Server.html" title="class in org.wildfly.swarm.config.messaging.activemq">Server</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerSupplier.html#get--">get</a></span>()</code> <div class="block">Constructed instance of Server resource</div> </td> </tr> </table> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="get--"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>get</h4> <pre><a href="../../../../../../org/wildfly/swarm/config/messaging/activemq/Server.html" title="class in org.wildfly.swarm.config.messaging.activemq">Server</a>&nbsp;get()</pre> <div class="block">Constructed instance of Server resource</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>The instance</dd> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/ServerSupplier.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../../index-all.html">Index</a></li> <li><a href="../../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">Thorntail API, 2.6.1.Final-SNAPSHOT</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq"><span class="typeNameLink">Prev&nbsp;Class</span></a></li> <li><a href="../../../../../../org/wildfly/swarm/config/messaging/activemq/Transaction.html" title="enum in org.wildfly.swarm.config.messaging.activemq"><span class="typeNameLink">Next&nbsp;Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../../index.html?org/wildfly/swarm/config/messaging/activemq/ServerSupplier.html" target="_top">Frames</a></li> <li><a href="ServerSupplier.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright &#169; 2020 <a href="http://www.jboss.org">JBoss by Red Hat</a>. All rights reserved.</small></p> </body> </html>
wildfly-swarm/wildfly-swarm-javadocs
2.6.1.Final-SNAPSHOT/apidocs/org/wildfly/swarm/config/messaging/activemq/ServerSupplier.html
HTML
apache-2.0
9,418
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_151) on Tue Oct 30 00:52:57 MST 2018 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>LdapRealmSupplier (BOM: * : All 2.2.1.Final API)</title> <meta name="date" content="2018-10-30"> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="LdapRealmSupplier (BOM: * : All 2.2.1.Final API)"; } } catch(err) { } //--> var methods = {"i0":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/LdapRealmSupplier.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">Thorntail API, 2.2.1.Final</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/wildfly/swarm/config/elytron/LdapRealmConsumer.html" title="interface in org.wildfly.swarm.config.elytron"><span class="typeNameLink">Prev&nbsp;Class</span></a></li> <li><a href="../../../../../org/wildfly/swarm/config/elytron/LogicalPermissionMapper.html" title="class in org.wildfly.swarm.config.elytron"><span class="typeNameLink">Next&nbsp;Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/wildfly/swarm/config/elytron/LdapRealmSupplier.html" target="_top">Frames</a></li> <li><a href="LdapRealmSupplier.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">org.wildfly.swarm.config.elytron</div> <h2 title="Interface LdapRealmSupplier" class="title">Interface LdapRealmSupplier&lt;T extends <a href="../../../../../org/wildfly/swarm/config/elytron/LdapRealm.html" title="class in org.wildfly.swarm.config.elytron">LdapRealm</a>&gt;</h2> </div> <div class="contentContainer"> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>Functional Interface:</dt> <dd>This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.</dd> </dl> <hr> <br> <pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/FunctionalInterface.html?is-external=true" title="class or interface in java.lang">@FunctionalInterface</a> public interface <span class="typeNameLabel">LdapRealmSupplier&lt;T extends <a href="../../../../../org/wildfly/swarm/config/elytron/LdapRealm.html" title="class in org.wildfly.swarm.config.elytron">LdapRealm</a>&gt;</span></pre> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/wildfly/swarm/config/elytron/LdapRealm.html" title="class in org.wildfly.swarm.config.elytron">LdapRealm</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/wildfly/swarm/config/elytron/LdapRealmSupplier.html#get--">get</a></span>()</code> <div class="block">Constructed instance of LdapRealm resource</div> </td> </tr> </table> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="get--"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>get</h4> <pre><a href="../../../../../org/wildfly/swarm/config/elytron/LdapRealm.html" title="class in org.wildfly.swarm.config.elytron">LdapRealm</a>&nbsp;get()</pre> <div class="block">Constructed instance of LdapRealm resource</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>The instance</dd> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/LdapRealmSupplier.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">Thorntail API, 2.2.1.Final</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/wildfly/swarm/config/elytron/LdapRealmConsumer.html" title="interface in org.wildfly.swarm.config.elytron"><span class="typeNameLink">Prev&nbsp;Class</span></a></li> <li><a href="../../../../../org/wildfly/swarm/config/elytron/LogicalPermissionMapper.html" title="class in org.wildfly.swarm.config.elytron"><span class="typeNameLink">Next&nbsp;Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/wildfly/swarm/config/elytron/LdapRealmSupplier.html" target="_top">Frames</a></li> <li><a href="LdapRealmSupplier.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright &#169; 2018 <a href="http://www.jboss.org">JBoss by Red Hat</a>. All rights reserved.</small></p> </body> </html>
wildfly-swarm/wildfly-swarm-javadocs
2.2.1.Final/apidocs/org/wildfly/swarm/config/elytron/LdapRealmSupplier.html
HTML
apache-2.0
9,190
/** * Copyright 2013 Oak Ridge National Laboratory * Author: James Horey <[email protected]> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. **/ package gov.ornl.paja.storage; /** * Java libs. **/ import java.util.Iterator; import java.nio.ByteBuffer; /** * A log message is the thing that gets written to the log. */ public class LogMessage { private int logNum; // Current log ID. private byte[] id; // ID of the log message. private byte[] msg; // Actual log message /** * @param logNum Each log message has a unique log number * @param id Application defined identification label * @param msg Actual log message */ public LogMessage(int logNum, byte[] id, byte[] msg) { this.logNum = logNum; this.id = id; this.msg = msg; } /** * Get/set the log message ID. */ public void setID(byte[] id) { this.id = id; } public byte[] getID() { return id; } /** * Get/set the log message. */ public void setMsg(byte[] msg) { this.msg = msg; } public byte[] getMsg() { return msg; } /** * Get/set the log message num. */ public void setNum(int i) { logNum = i; } public int getNum() { return logNum; } }
jhorey/Paja
src/gov/ornl/paja/storage/LogMessage.java
Java
apache-2.0
1,764
# SlingQuery SlingQuery is a Sling resource tree traversal tool inspired by the [jQuery](http://api.jquery.com/category/traversing/tree-traversal/). See the full documentation on [Apache Sling website](http://sling.apache.org/documentation/bundles/sling-query.html).
tmaret/sling
contrib/extensions/sling-query/README.md
Markdown
apache-2.0
268
using Newtonsoft.Json; using Newtonsoft.Json.Converters; using SelectelSharp.Headers; using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SelectelSharp.Requests.CDN { public class CDNIvalidationRequest : BaseRequest<CDNIvalidationResult> { public CDNIvalidationRequest(Uri[] uri) { if (uri.Length == 0) throw new ArgumentNullException("uri"); this.ContentStream = new MemoryStream(Encoding.UTF8.GetBytes(String.Join("\n", uri.Select(x => x.ToString())))); this.AutoCloseStream = true; this.AutoResetStreamPosition = false; //this.TryAddHeader(HeaderKeys.ContentLenght, this.File.Length); this.TryAddHeader(HeaderKeys.ContentType, "text/plain"); } internal override RequestMethod Method { get { return RequestMethod.PURGE; } } internal override void Parse(System.Collections.Specialized.NameValueCollection headers, object content, System.Net.HttpStatusCode status) { this.Result = JsonConvert.DeserializeObject<CDNIvalidationResult>(content as string); } internal override void ParseError(System.Net.WebException ex, System.Net.HttpStatusCode status) { base.ParseError(ex, status); } protected override string GetUrl(string storageUrl) { return "https://api.selcdn.ru/v1/cdn"; } } }
ONLYOFFICE/CommunityServer
redistributable/SelectelSharp/Requests/CDN/CDNIvalidationRequest.cs
C#
apache-2.0
1,707
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_151) on Tue Oct 30 00:53:03 MST 2018 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface org.wildfly.swarm.config.UndertowSupplier (BOM: * : All 2.2.1.Final API)</title> <meta name="date" content="2018-10-30"> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Interface org.wildfly.swarm.config.UndertowSupplier (BOM: * : All 2.2.1.Final API)"; } } catch(err) { } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../org/wildfly/swarm/config/UndertowSupplier.html" title="interface in org.wildfly.swarm.config">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../../../../../overview-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">Thorntail API, 2.2.1.Final</div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/wildfly/swarm/config/class-use/UndertowSupplier.html" target="_top">Frames</a></li> <li><a href="UndertowSupplier.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h2 title="Uses of Interface org.wildfly.swarm.config.UndertowSupplier" class="title">Uses of Interface<br>org.wildfly.swarm.config.UndertowSupplier</h2> </div> <div class="classUseContainer">No usage of org.wildfly.swarm.config.UndertowSupplier</div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../org/wildfly/swarm/config/UndertowSupplier.html" title="interface in org.wildfly.swarm.config">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../../../../../overview-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">Thorntail API, 2.2.1.Final</div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/wildfly/swarm/config/class-use/UndertowSupplier.html" target="_top">Frames</a></li> <li><a href="UndertowSupplier.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright &#169; 2018 <a href="http://www.jboss.org">JBoss by Red Hat</a>. All rights reserved.</small></p> </body> </html>
wildfly-swarm/wildfly-swarm-javadocs
2.2.1.Final/apidocs/org/wildfly/swarm/config/class-use/UndertowSupplier.html
HTML
apache-2.0
4,850
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_60-ea) on Tue Sep 06 12:41:45 EDT 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface org.wildfly.swarm.config.messaging.activemq.ServerConsumer (Public javadocs 2016.9 API)</title> <meta name="date" content="2016-09-06"> <link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Interface org.wildfly.swarm.config.messaging.activemq.ServerConsumer (Public javadocs 2016.9 API)"; } } catch(err) { } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../../../../../../../overview-tree.html">Tree</a></li> <li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../../../index-all.html">Index</a></li> <li><a href="../../../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">WildFly Swarm API, 2016.9</div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../../index.html?org/wildfly/swarm/config/messaging/activemq/class-use/ServerConsumer.html" target="_top">Frames</a></li> <li><a href="ServerConsumer.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h2 title="Uses of Interface org.wildfly.swarm.config.messaging.activemq.ServerConsumer" class="title">Uses of Interface<br>org.wildfly.swarm.config.messaging.activemq.ServerConsumer</h2> </div> <div class="classUseContainer"> <ul class="blockList"> <li class="blockList"> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> <caption><span>Packages that use <a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq">ServerConsumer</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Package</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="#org.wildfly.swarm.config">org.wildfly.swarm.config</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="#org.wildfly.swarm.config.messaging.activemq">org.wildfly.swarm.config.messaging.activemq</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="#org.wildfly.swarm.messaging">org.wildfly.swarm.messaging</a></td> <td class="colLast">&nbsp;</td> </tr> </tbody> </table> </li> <li class="blockList"> <ul class="blockList"> <li class="blockList"><a name="org.wildfly.swarm.config"> <!-- --> </a> <h3>Uses of <a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq">ServerConsumer</a> in <a href="../../../../../../../org/wildfly/swarm/config/package-summary.html">org.wildfly.swarm.config</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../../../org/wildfly/swarm/config/package-summary.html">org.wildfly.swarm.config</a> with parameters of type <a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq">ServerConsumer</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../../../org/wildfly/swarm/config/MessagingActiveMQ.html" title="type parameter in MessagingActiveMQ">T</a></code></td> <td class="colLast"><span class="typeNameLabel">MessagingActiveMQ.</span><code><span class="memberNameLink"><a href="../../../../../../../org/wildfly/swarm/config/MessagingActiveMQ.html#server-java.lang.String-org.wildfly.swarm.config.messaging.activemq.ServerConsumer-">server</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;childKey, <a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq">ServerConsumer</a>&nbsp;consumer)</code> <div class="block">Create and configure a Server object to the list of subresources</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.wildfly.swarm.config.messaging.activemq"> <!-- --> </a> <h3>Uses of <a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq">ServerConsumer</a> in <a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/package-summary.html">org.wildfly.swarm.config.messaging.activemq</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/package-summary.html">org.wildfly.swarm.config.messaging.activemq</a> that return <a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq">ServerConsumer</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>default <a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq">ServerConsumer</a>&lt;<a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="type parameter in ServerConsumer">T</a>&gt;</code></td> <td class="colLast"><span class="typeNameLabel">ServerConsumer.</span><code><span class="memberNameLink"><a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html#andThen-org.wildfly.swarm.config.messaging.activemq.ServerConsumer-">andThen</a></span>(<a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq">ServerConsumer</a>&lt;<a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="type parameter in ServerConsumer">T</a>&gt;&nbsp;after)</code>&nbsp;</td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/package-summary.html">org.wildfly.swarm.config.messaging.activemq</a> with parameters of type <a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq">ServerConsumer</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>default <a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq">ServerConsumer</a>&lt;<a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="type parameter in ServerConsumer">T</a>&gt;</code></td> <td class="colLast"><span class="typeNameLabel">ServerConsumer.</span><code><span class="memberNameLink"><a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html#andThen-org.wildfly.swarm.config.messaging.activemq.ServerConsumer-">andThen</a></span>(<a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq">ServerConsumer</a>&lt;<a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="type parameter in ServerConsumer">T</a>&gt;&nbsp;after)</code>&nbsp;</td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.wildfly.swarm.messaging"> <!-- --> </a> <h3>Uses of <a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq">ServerConsumer</a> in <a href="../../../../../../../org/wildfly/swarm/messaging/package-summary.html">org.wildfly.swarm.messaging</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subinterfaces, and an explanation"> <caption><span>Subinterfaces of <a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq">ServerConsumer</a> in <a href="../../../../../../../org/wildfly/swarm/messaging/package-summary.html">org.wildfly.swarm.messaging</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Interface and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>interface&nbsp;</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../org/wildfly/swarm/messaging/EnhancedServerConsumer.html" title="interface in org.wildfly.swarm.messaging">EnhancedServerConsumer</a></span></code>&nbsp;</td> </tr> </tbody> </table> </li> </ul> </li> </ul> </div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../../../org/wildfly/swarm/config/messaging/activemq/ServerConsumer.html" title="interface in org.wildfly.swarm.config.messaging.activemq">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../../../../../../../overview-tree.html">Tree</a></li> <li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../../../index-all.html">Index</a></li> <li><a href="../../../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">WildFly Swarm API, 2016.9</div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../../index.html?org/wildfly/swarm/config/messaging/activemq/class-use/ServerConsumer.html" target="_top">Frames</a></li> <li><a href="ServerConsumer.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright &#169; 2016 <a href="http://www.jboss.org">JBoss by Red Hat</a>. All rights reserved.</small></p> </body> </html>
wildfly-swarm/wildfly-swarm-javadocs
2016.9/apidocs/org/wildfly/swarm/config/messaging/activemq/class-use/ServerConsumer.html
HTML
apache-2.0
13,521
document.write('<div id="terminal" class="terminal-content"></div>'); var session = {}; // return a parameter value from the current URL function getParam(sname) { var params = location.search.substr(location.search.indexOf("?") + 1); var sval = ""; params = params.split("&"); // split param and value into individual pieces for (var i = 0; i < params.length; i++) { temp = params[i].split("="); if ([temp[0]] == sname) { sval = temp[1]; } } return sval; } function getBaseURL() { return location.protocol + "//" + location.hostname + (location.port && ":" + location.port) + location.pathname; } function greetings(term) { term.echo(session.welcomeMessage); term.echo(' '); } function createNewSession(expression, snap) { var newSession = []; newSession.expression = expression; newSession.snap = snap; $.ajax({ type: 'POST', async: false, url: '/create', data: (expression ? "expression=" + expression : "") + "&" + (snap ? "snap=" + snap : "") } ).done(function (data) { newSession.clientId = data.id; newSession.welcomeMessage = data.welcomeMessage }); newSession.requesting = false; session = newSession; } function closeSession() { $.ajax({type: 'POST', async: false, url: '/remove', data: 'id=' + session.clientId}) .fail(function (xhr, textStatus, errorThrown) {/* ignore failure when closing */ }); } function restartSession(term) { term.echo("[[;#CC7832;black]Session terminated. Starting new session...]"); closeSession(); createNewSession(session.expression, session.snap) } function readExpressionLine(line, term) { var expression = null; $.ajax({type: 'POST', async: false, url: '/readExpression', data: {id: session.clientId, line: line}}) .done(function (data) { expression = data.expression; }) .fail(function (xhr, textStatus, errorThrown) { restartSession(term) }); return expression; } function makeSnap(term) { var snapUrl = null; $.ajax({type: 'POST', async: false, url: '/snap', data: 'id=' + session.clientId}) .done(function (data) { snapUrl = getBaseURL() + '?snap=' + data.snap; }).fail(function (xhr, textStatus, errorThrown) { restartSession(term) }); return snapUrl; } function messageStyle(style) { return { finalize: function (div) { div.addClass(style); } } } function layoutCompletions(candidates, widthInChars) { var max = 0; for (var i = 0; i < candidates.length; i++) { max = Math.max(max, candidates[i].length); } max += 2; var n = Math.floor(widthInChars / max); var buffer = ""; var col = 0; for (i = 0; i < candidates.length; i++) { var completion = candidates[i]; buffer += candidates[i]; for (var j = completion.length; j < max; j++) { buffer += " "; } if (++col >= n) { buffer += "\n"; col = 0; } } return buffer; } function echoCompletionCandidates(term, candidates) { term.echo(term.get_prompt() + term.get_command()); term.echo(layoutCompletions(candidates, term.width() / 8)); } function handleTerminalCommand(log, term) { if (log.type == "CONTROL") { switch (log.message) { case "CLEAR_SCREEN": term.clear(); term.echo(session.welcomeMessage); term.echo(' '); break; } return true; } return false; } function handleTerminalMessage(log, term) { if (log.type != "CONTROL") { var style = log.type == "ERROR" ? "terminal-message-error" : "terminal-message-success"; term.echo(log.message, messageStyle(style)) return log.type == "ERROR"; } return false; } $(document).ready(function () { jQuery(function ($, undefined) { createNewSession(getParam("expression"), getParam("snap")); $('#terminal').terminal(function (command, term) { if (command == ":snap") { var snapUri = makeSnap(term); term.echo("Created terminal snapshot [[!;;]" + snapUri + "]", messageStyle("terminal-message-success")); return; } var expression = readExpressionLine(command, term); if (expression) { $.ajax({ type: 'POST', async: false, url: '/execute', data: {id: session.clientId, expression: expression} }).done(function (data) { var hadError = false; for (var i = 0; i < data.logs.length; i++) { var log = data.logs[i]; if (!handleTerminalCommand(log, term)) { hadError = handleTerminalMessage(log, term) || hadError; } } if (!hadError) { _gaq.push(["_trackEvent", "console", "evaluation", "success"]); } else { _gaq.push(["_trackEvent", "console", "evaluation", "error"]); } session.requesting = false; }).fail(function (xhr, textStatus, errorThrown) { restartSession(term) }); } else { term.echo(" "); session.requesting = false; } }, { greetings: null, name: 'js_demo', prompt: '[[;white;black]java> ]', onInit: function (term) { greetings(term); }, keydown: function (event, term) { if (event.keyCode == 9) //Tab { var completionResult = []; $.ajax({ type: 'GET', async: false, cache: false, url: '/completions', data: {id: session.clientId, expression: term.get_command()} }) .done(function (data) { completionResult = data; }); var candidates = _.map(completionResult.candidates, function (cand) { return cand.value; }); var candidatesForms = _.map(completionResult.candidates, function (cand) { return cand.forms; }); var promptText = term.get_command(); if (candidates.length == 0) { term.set_command(promptText); return false; } if (candidates.length == 1) { var uniqueForms = _.filter(_.unique(candidatesForms[0]), function (form) { return form != candidates[0] }); var text = term.get_command().substr(0, parseInt(completionResult.position)) + candidates[0]; term.set_command(text); if (uniqueForms.length > 0) { echoCompletionCandidates(term, candidatesForms[0]); } return false; } echoCompletionCandidates(term, candidates); for (var i = candidates[0].length; i > 0; --i) { var prefixedCandidatesCount = _.filter(candidates, function (cand) { return i > cand.length ? false : cand.substr(0, i) == candidates[0].substr(0, i); }).length; if (prefixedCandidatesCount == candidates.length) { term.set_command(promptText.substr(0, parseInt(completionResult.position)) + candidates[0].substr(0, i)); return false; } } term.set_command(promptText); return false; } } }); }); });
albertlatacz/java-repl
src/javarepl/console/ui/term.js
JavaScript
apache-2.0
8,438
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_151) on Tue Aug 14 15:31:43 MST 2018 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>ResolvedExposeModelSupplier (BOM: * : All 2.1.0.Final API)</title> <meta name="date" content="2018-08-14"> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="ResolvedExposeModelSupplier (BOM: * : All 2.1.0.Final API)"; } } catch(err) { } //--> var methods = {"i0":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/ResolvedExposeModelSupplier.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">Thorntail API, 2.1.0.Final</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/wildfly/swarm/config/jmx/ResolvedExposeModelConsumer.html" title="interface in org.wildfly.swarm.config.jmx"><span class="typeNameLink">Prev&nbsp;Class</span></a></li> <li>Next&nbsp;Class</li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/wildfly/swarm/config/jmx/ResolvedExposeModelSupplier.html" target="_top">Frames</a></li> <li><a href="ResolvedExposeModelSupplier.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">org.wildfly.swarm.config.jmx</div> <h2 title="Interface ResolvedExposeModelSupplier" class="title">Interface ResolvedExposeModelSupplier&lt;T extends <a href="../../../../../org/wildfly/swarm/config/jmx/ResolvedExposeModel.html" title="class in org.wildfly.swarm.config.jmx">ResolvedExposeModel</a>&gt;</h2> </div> <div class="contentContainer"> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>Functional Interface:</dt> <dd>This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.</dd> </dl> <hr> <br> <pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/FunctionalInterface.html?is-external=true" title="class or interface in java.lang">@FunctionalInterface</a> public interface <span class="typeNameLabel">ResolvedExposeModelSupplier&lt;T extends <a href="../../../../../org/wildfly/swarm/config/jmx/ResolvedExposeModel.html" title="class in org.wildfly.swarm.config.jmx">ResolvedExposeModel</a>&gt;</span></pre> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code><a href="../../../../../org/wildfly/swarm/config/jmx/ResolvedExposeModel.html" title="class in org.wildfly.swarm.config.jmx">ResolvedExposeModel</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/wildfly/swarm/config/jmx/ResolvedExposeModelSupplier.html#get--">get</a></span>()</code> <div class="block">Constructed instance of ResolvedExposeModel resource</div> </td> </tr> </table> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="get--"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>get</h4> <pre><a href="../../../../../org/wildfly/swarm/config/jmx/ResolvedExposeModel.html" title="class in org.wildfly.swarm.config.jmx">ResolvedExposeModel</a>&nbsp;get()</pre> <div class="block">Constructed instance of ResolvedExposeModel resource</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>The instance</dd> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/ResolvedExposeModelSupplier.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">Thorntail API, 2.1.0.Final</div> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../../org/wildfly/swarm/config/jmx/ResolvedExposeModelConsumer.html" title="interface in org.wildfly.swarm.config.jmx"><span class="typeNameLink">Prev&nbsp;Class</span></a></li> <li>Next&nbsp;Class</li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/wildfly/swarm/config/jmx/ResolvedExposeModelSupplier.html" target="_top">Frames</a></li> <li><a href="ResolvedExposeModelSupplier.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright &#169; 2018 <a href="http://www.jboss.org">JBoss by Red Hat</a>. All rights reserved.</small></p> </body> </html>
wildfly-swarm/wildfly-swarm-javadocs
2.1.0.Final/apidocs/org/wildfly/swarm/config/jmx/ResolvedExposeModelSupplier.html
HTML
apache-2.0
9,016
# New Relic Events A simple Java library that can be used to submit [custom events](http://newrelic.com/insights/technology/integrations) to [New Relic Insights](http://newrelic.com/insights). This library is useful when you need to send custom events to Insights, but you aren't running New Relic's [APM Java language agent](http://newrelic.com/java) (which has a [built-in capability for sending custom events to Insights](https://docs.newrelic.com/docs/agents/java-agent/custom-instrumentation/java-agent-api#api_methods)) ## Download The NewRelicEvents library is available from [The Central Repository](https://search.maven.org/) groupId: com.notronix artifactId: NewRelicEvents version: 1.1.001 ## Usage Create a custom event object <pre> package mypackage public class MeaninglessEvent extends NewRelicEvent { @Override public String getEventType() { return "Meaningless"; } public void setAttributeOne(String value) throws APIViolationException { addAttribute("attributeOne", value); } } </pre> Then you can add values and submit your event as follows... <pre> ... MeaninglessEvent meaninglessEvent = new MeaninglessEvent(); try { meaninglessEvent.setAttributeOne("some value"); } catch (APIViolationException e) { System.out.println("Uh oh... I have violated the New Relic Insights API."); } NewRelicClient client = new NewRelicClient(); client.setAccountId(0); // this should be your New Relic account ID, which is the 12345 part of your Insights account URL https://insights.newrelic.com/accounts/12345 client.setInsertKey("YOUR KEY HERE"); // this should be your [Insights Insert Key](https://docs.newrelic.com/docs/insights/new-relic-insights/adding-querying-data/inserting-custom-events-via-insights-api#register) try { StatusLine responseStatus = client.submit(meaninglessEvent); System.out.println("New Relic responded with status code: " + responseStatus.getStatusCode()); } catch (APIViolationException e) { System.out.println("This can happen if your event's eventType is invalid according to the New Relic Insights API"); } catch (NewRelicLoggingException e) { System.out.println("This can happen if there is some unexpected failure during the event submission."); } catch (IllegalStateException e) { System.out.println("This will happen if the client is not initialized with an account ID and an insert key."); } ... </pre>
Notronix/NewRelicEvents
README.md
Markdown
apache-2.0
2,434
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_151) on Fri Jun 22 04:34:22 MST 2018 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface org.wildfly.swarm.config.undertow.server.host.HTTPInvokerSettingSupplier (BOM: * : All 2.0.0.Final API)</title> <meta name="date" content="2018-06-22"> <link rel="stylesheet" type="text/css" href="../../../../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Interface org.wildfly.swarm.config.undertow.server.host.HTTPInvokerSettingSupplier (BOM: * : All 2.0.0.Final API)"; } } catch(err) { } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../../../../org/wildfly/swarm/config/undertow/server/host/HTTPInvokerSettingSupplier.html" title="interface in org.wildfly.swarm.config.undertow.server.host">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../../../../../../../../overview-tree.html">Tree</a></li> <li><a href="../../../../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../../../../index-all.html">Index</a></li> <li><a href="../../../../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">Thorntail API, 2.0.0.Final</div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../../../index.html?org/wildfly/swarm/config/undertow/server/host/class-use/HTTPInvokerSettingSupplier.html" target="_top">Frames</a></li> <li><a href="HTTPInvokerSettingSupplier.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h2 title="Uses of Interface org.wildfly.swarm.config.undertow.server.host.HTTPInvokerSettingSupplier" class="title">Uses of Interface<br>org.wildfly.swarm.config.undertow.server.host.HTTPInvokerSettingSupplier</h2> </div> <div class="classUseContainer"> <ul class="blockList"> <li class="blockList"> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> <caption><span>Packages that use <a href="../../../../../../../../org/wildfly/swarm/config/undertow/server/host/HTTPInvokerSettingSupplier.html" title="interface in org.wildfly.swarm.config.undertow.server.host">HTTPInvokerSettingSupplier</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Package</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="#org.wildfly.swarm.config.undertow.server">org.wildfly.swarm.config.undertow.server</a></td> <td class="colLast">&nbsp;</td> </tr> </tbody> </table> </li> <li class="blockList"> <ul class="blockList"> <li class="blockList"><a name="org.wildfly.swarm.config.undertow.server"> <!-- --> </a> <h3>Uses of <a href="../../../../../../../../org/wildfly/swarm/config/undertow/server/host/HTTPInvokerSettingSupplier.html" title="interface in org.wildfly.swarm.config.undertow.server.host">HTTPInvokerSettingSupplier</a> in <a href="../../../../../../../../org/wildfly/swarm/config/undertow/server/package-summary.html">org.wildfly.swarm.config.undertow.server</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../../../../org/wildfly/swarm/config/undertow/server/package-summary.html">org.wildfly.swarm.config.undertow.server</a> with parameters of type <a href="../../../../../../../../org/wildfly/swarm/config/undertow/server/host/HTTPInvokerSettingSupplier.html" title="interface in org.wildfly.swarm.config.undertow.server.host">HTTPInvokerSettingSupplier</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../../../../org/wildfly/swarm/config/undertow/server/Host.html" title="type parameter in Host">T</a></code></td> <td class="colLast"><span class="typeNameLabel">Host.</span><code><span class="memberNameLink"><a href="../../../../../../../../org/wildfly/swarm/config/undertow/server/Host.html#httpInvokerSetting-org.wildfly.swarm.config.undertow.server.host.HTTPInvokerSettingSupplier-">httpInvokerSetting</a></span>(<a href="../../../../../../../../org/wildfly/swarm/config/undertow/server/host/HTTPInvokerSettingSupplier.html" title="interface in org.wildfly.swarm.config.undertow.server.host">HTTPInvokerSettingSupplier</a>&nbsp;supplier)</code> <div class="block">The HTTP invoker services that allows remote HTTP based invocation of services such as EJB and naming</div> </td> </tr> </tbody> </table> </li> </ul> </li> </ul> </div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../../../../org/wildfly/swarm/config/undertow/server/host/HTTPInvokerSettingSupplier.html" title="interface in org.wildfly.swarm.config.undertow.server.host">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../../../../../../../../overview-tree.html">Tree</a></li> <li><a href="../../../../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../../../../index-all.html">Index</a></li> <li><a href="../../../../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">Thorntail API, 2.0.0.Final</div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../../../index.html?org/wildfly/swarm/config/undertow/server/host/class-use/HTTPInvokerSettingSupplier.html" target="_top">Frames</a></li> <li><a href="HTTPInvokerSettingSupplier.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright &#169; 2018 <a href="http://www.jboss.org">JBoss by Red Hat</a>. All rights reserved.</small></p> </body> </html>
wildfly-swarm/wildfly-swarm-javadocs
2.0.0.Final/apidocs/org/wildfly/swarm/config/undertow/server/host/class-use/HTTPInvokerSettingSupplier.html
HTML
apache-2.0
8,180
function CreateMessageSenders($amountSenders, $queueName) { for ($i=1; $i -le $amountSenders; $i++) { $sender = New-SBMessageReceiver -QueueName $queueName -ReceiveMode 'ReceiveAndDelete'; } }
dfensgmbh/biz.dfch.PS.Azure.ServiceBus.Client
it/ServcieBusClientTestHelpers.ps1
PowerShell
apache-2.0
196
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_151) on Tue Feb 06 09:38:18 MST 2018 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class org.wildfly.swarm.config.undertow.Server.ServerResources (BOM: * : All 2017.10.2 API)</title> <meta name="date" content="2018-02-06"> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class org.wildfly.swarm.config.undertow.Server.ServerResources (BOM: * : All 2017.10.2 API)"; } } catch(err) { } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../../org/wildfly/swarm/config/undertow/Server.ServerResources.html" title="class in org.wildfly.swarm.config.undertow">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../../../../../../overview-tree.html">Tree</a></li> <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../../index-all.html">Index</a></li> <li><a href="../../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">WildFly Swarm API, 2017.10.2</div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../index.html?org/wildfly/swarm/config/undertow/class-use/Server.ServerResources.html" target="_top">Frames</a></li> <li><a href="Server.ServerResources.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h2 title="Uses of Class org.wildfly.swarm.config.undertow.Server.ServerResources" class="title">Uses of Class<br>org.wildfly.swarm.config.undertow.Server.ServerResources</h2> </div> <div class="classUseContainer"> <ul class="blockList"> <li class="blockList"> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> <caption><span>Packages that use <a href="../../../../../../org/wildfly/swarm/config/undertow/Server.ServerResources.html" title="class in org.wildfly.swarm.config.undertow">Server.ServerResources</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Package</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="#org.wildfly.swarm.config.undertow">org.wildfly.swarm.config.undertow</a></td> <td class="colLast">&nbsp;</td> </tr> </tbody> </table> </li> <li class="blockList"> <ul class="blockList"> <li class="blockList"><a name="org.wildfly.swarm.config.undertow"> <!-- --> </a> <h3>Uses of <a href="../../../../../../org/wildfly/swarm/config/undertow/Server.ServerResources.html" title="class in org.wildfly.swarm.config.undertow">Server.ServerResources</a> in <a href="../../../../../../org/wildfly/swarm/config/undertow/package-summary.html">org.wildfly.swarm.config.undertow</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../../org/wildfly/swarm/config/undertow/package-summary.html">org.wildfly.swarm.config.undertow</a> that return <a href="../../../../../../org/wildfly/swarm/config/undertow/Server.ServerResources.html" title="class in org.wildfly.swarm.config.undertow">Server.ServerResources</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../../org/wildfly/swarm/config/undertow/Server.ServerResources.html" title="class in org.wildfly.swarm.config.undertow">Server.ServerResources</a></code></td> <td class="colLast"><span class="typeNameLabel">Server.</span><code><span class="memberNameLink"><a href="../../../../../../org/wildfly/swarm/config/undertow/Server.html#subresources--">subresources</a></span>()</code>&nbsp;</td> </tr> </tbody> </table> </li> </ul> </li> </ul> </div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../../org/wildfly/swarm/config/undertow/Server.ServerResources.html" title="class in org.wildfly.swarm.config.undertow">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../../../../../../overview-tree.html">Tree</a></li> <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../../index-all.html">Index</a></li> <li><a href="../../../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">WildFly Swarm API, 2017.10.2</div> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../../index.html?org/wildfly/swarm/config/undertow/class-use/Server.ServerResources.html" target="_top">Frames</a></li> <li><a href="Server.ServerResources.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright &#169; 2018 <a href="http://www.jboss.org">JBoss by Red Hat</a>. All rights reserved.</small></p> </body> </html>
wildfly-swarm/wildfly-swarm-javadocs
2017.10.2/apidocs/org/wildfly/swarm/config/undertow/class-use/Server.ServerResources.html
HTML
apache-2.0
7,296
.ff0{font-family:sans-serif;visibility:hidden;} @font-face{font-family:ff1;src:url(f1.woff)format("woff");}.ff1{font-family:ff1;line-height:1.589369;font-style:normal;font-weight:normal;visibility:visible;} @font-face{font-family:ff2;src:url(f2.woff)format("woff");}.ff2{font-family:ff2;line-height:1.695312;font-style:normal;font-weight:normal;visibility:visible;} @font-face{font-family:ff3;src:url(f3.woff)format("woff");}.ff3{font-family:ff3;line-height:1.695312;font-style:normal;font-weight:normal;visibility:visible;} .m0{transform:matrix(0.250000,0.000000,0.000000,0.250000,0,0);-ms-transform:matrix(0.250000,0.000000,0.000000,0.250000,0,0);-webkit-transform:matrix(0.250000,0.000000,0.000000,0.250000,0,0);} .m1{transform:none;-ms-transform:none;-webkit-transform:none;} .v0{vertical-align:0.000000px;} .ls0{letter-spacing:0.000000px;} .sc_{text-shadow:none;} .sc0{text-shadow:-0.015em 0 transparent,0 0.015em transparent,0.015em 0 transparent,0 -0.015em transparent;} @media screen and (-webkit-min-device-pixel-ratio:0){ .sc_{-webkit-text-stroke:0px transparent;} .sc0{-webkit-text-stroke:0.015em transparent;text-shadow:none;} } .ws0{word-spacing:0.000000px;} .fc2{color:rgb(33,78,123);} .fc1{color:rgb(255,0,0);} .fc0{color:rgb(0,0,0);} .fs3{font-size:48.000000px;} .fs2{font-size:56.000000px;} .fs1{font-size:60.000000px;} .fs0{font-size:80.000000px;} .y6{bottom:17.000000px;} .y2b{bottom:22.000000px;} .y7{bottom:35.500000px;} .yc7{bottom:52.220000px;} .y6e{bottom:52.730000px;} .y29{bottom:54.000000px;} .y49{bottom:56.130000px;} .y94{bottom:62.000000px;} .ydd{bottom:63.670000px;} .yc6{bottom:68.220000px;} .y6d{bottom:68.730000px;} .y28{bottom:70.000000px;} .y48{bottom:76.130000px;} .y93{bottom:80.000000px;} .ydc{bottom:81.670000px;} .y27{bottom:82.000000px;} .yc5{bottom:84.220000px;} .y6c{bottom:84.730000px;} .ydb{bottom:93.670000px;} .y26{bottom:94.000000px;} .y47{bottom:94.130000px;} .y6b{bottom:96.730000px;} .y92{bottom:100.000000px;} .yc4{bottom:100.220000px;} .yed{bottom:100.780000px;} .yda{bottom:105.670000px;} .y6a{bottom:108.730000px;} .y25{bottom:110.000000px;} .y46{bottom:112.130000px;} .yc3{bottom:116.220000px;} .y91{bottom:118.000000px;} .yec{bottom:118.780000px;} .y10a{bottom:119.110000px;} .y24{bottom:126.000000px;} .y69{bottom:126.730000px;} .yc2{bottom:128.220000px;} .y45{bottom:130.130000px;} .yeb{bottom:130.780000px;} .y109{bottom:131.110000px;} .yac{bottom:131.560000px;} .y90{bottom:136.000000px;} .yc1{bottom:140.220000px;} .y23{bottom:142.000000px;} .y44{bottom:142.130000px;} .yea{bottom:142.780000px;} .y108{bottom:143.110000px;} .yab{bottom:143.560000px;} .y68{bottom:146.730000px;} .y22{bottom:154.000000px;} .yaa{bottom:155.560000px;} .yc0{bottom:156.220000px;} .y43{bottom:158.130000px;} .y107{bottom:161.110000px;} .y67{bottom:164.730000px;} .y8f{bottom:166.000000px;} .ybf{bottom:168.220000px;} .ya9{bottom:173.560000px;} .y42{bottom:174.130000px;} .ybe{bottom:180.220000px;} .y106{bottom:181.110000px;} .y8e{bottom:182.000000px;} .y66{bottom:182.730000px;} .y41{bottom:190.130000px;} .ya8{bottom:193.560000px;} .y8d{bottom:198.000000px;} .ybd{bottom:198.220000px;} .y105{bottom:199.110000px;} .y65{bottom:200.730000px;} .y40{bottom:206.130000px;} .ya7{bottom:211.560000px;} .y64{bottom:212.730000px;} .y8c{bottom:214.000000px;} .y104{bottom:217.110000px;} .ybc{bottom:218.220000px;} .y3f{bottom:222.130000px;} .y63{bottom:228.730000px;} .ya6{bottom:229.560000px;} .y8b{bottom:230.000000px;} .y103{bottom:235.110000px;} .ybb{bottom:236.220000px;} .y3e{bottom:238.130000px;} .y62{bottom:244.730000px;} .y8a{bottom:246.000000px;} .y102{bottom:247.110000px;} .ya5{bottom:247.560000px;} .y3d{bottom:250.130000px;} .yba{bottom:254.220000px;} .y89{bottom:258.000000px;} .ya4{bottom:259.560000px;} .y61{bottom:260.730000px;} .y3c{bottom:262.130000px;} .y101{bottom:263.110000px;} .y88{bottom:270.000000px;} .yb9{bottom:272.220000px;} .ya3{bottom:275.560000px;} .y60{bottom:276.730000px;} .y3b{bottom:278.130000px;} .y100{bottom:279.110000px;} .yb8{bottom:284.220000px;} .y87{bottom:286.000000px;} .ya2{bottom:291.560000px;} .y5f{bottom:292.730000px;} .y3a{bottom:294.130000px;} .yff{bottom:295.110000px;} .yb7{bottom:300.220000px;} .y86{bottom:302.000000px;} .y39{bottom:306.130000px;} .ya1{bottom:307.560000px;} .y5e{bottom:308.730000px;} .yfe{bottom:311.110000px;} .yb6{bottom:316.220000px;} .y85{bottom:318.000000px;} .ya0{bottom:323.560000px;} .y5d{bottom:324.730000px;} .yfd{bottom:327.110000px;} .yb5{bottom:332.220000px;} .y84{bottom:334.000000px;} .y9f{bottom:335.560000px;} .y5c{bottom:336.730000px;} .yfc{bottom:343.110000px;} .yd9{bottom:344.000000px;} .y83{bottom:346.000000px;} .y9e{bottom:347.560000px;} .yb4{bottom:348.220000px;} .y5b{bottom:348.730000px;} .yfb{bottom:355.110000px;} .yd8{bottom:356.000000px;} .y82{bottom:358.000000px;} .y5{bottom:358.500000px;} .yb3{bottom:360.220000px;} .y9d{bottom:363.560000px;} .y5a{bottom:364.730000px;} .yfa{bottom:367.110000px;} .yd7{bottom:368.000000px;} .yb2{bottom:372.220000px;} .ye9{bottom:372.670000px;} .y9c{bottom:375.560000px;} .y81{bottom:376.000000px;} .y59{bottom:380.730000px;} .y4{bottom:381.000000px;} .yf9{bottom:383.110000px;} .ye8{bottom:384.670000px;} .yd6{bottom:386.000000px;} .y9b{bottom:387.560000px;} .yb1{bottom:388.220000px;} .y58{bottom:392.730000px;} .y21{bottom:394.000000px;} .y80{bottom:396.000000px;} .ye7{bottom:396.670000px;} .yf8{bottom:399.110000px;} .y9a{bottom:403.560000px;} .yb0{bottom:404.220000px;} .y20{bottom:406.000000px;} .y3{bottom:411.000000px;} .yf7{bottom:411.110000px;} .y7f{bottom:414.000000px;} .ye6{bottom:414.670000px;} .y1f{bottom:418.000000px;} .y99{bottom:419.560000px;} .yaf{bottom:420.220000px;} .yf6{bottom:423.110000px;} .yd5{bottom:424.000000px;} .y7e{bottom:432.000000px;} .ye5{bottom:434.670000px;} .y98{bottom:435.560000px;} .y1e{bottom:436.000000px;} .yae{bottom:436.220000px;} .yf5{bottom:441.110000px;} .yd4{bottom:448.000000px;} .yad{bottom:448.220000px;} .y7d{bottom:450.000000px;} .y97{bottom:451.560000px;} .y57{bottom:452.000000px;} .ye4{bottom:452.670000px;} .y1d{bottom:456.000000px;} .yd3{bottom:460.000000px;} .yf4{bottom:461.110000px;} .y7c{bottom:462.000000px;} .y56{bottom:464.000000px;} .y96{bottom:467.560000px;} .ye3{bottom:470.670000px;} .y1c{bottom:474.000000px;} .y55{bottom:476.000000px;} .y7b{bottom:478.000000px;} .yf3{bottom:479.110000px;} .y95{bottom:479.560000px;} .ye2{bottom:488.670000px;} .y0{bottom:490.500000px;} .y1b{bottom:492.000000px;} .y54{bottom:494.000000px;} .yf2{bottom:497.110000px;} .ye1{bottom:506.670000px;} .yd2{bottom:508.000000px;} .y1a{bottom:510.000000px;} .y53{bottom:514.000000px;} .yf1{bottom:515.110000px;} .ye0{bottom:524.670000px;} .y7a{bottom:526.000000px;} .y19{bottom:528.000000px;} .y52{bottom:532.000000px;} .yf0{bottom:533.110000px;} .y18{bottom:540.000000px;} .y79{bottom:542.000000px;} .ydf{bottom:542.670000px;} .yd1{bottom:544.000000px;} .y51{bottom:550.000000px;} .yef{bottom:551.110000px;} .y17{bottom:556.000000px;} .y78{bottom:558.000000px;} .yde{bottom:560.670000px;} .yd0{bottom:562.000000px;} .y50{bottom:568.000000px;} .yee{bottom:569.110000px;} .y77{bottom:570.000000px;} .y16{bottom:572.000000px;} .y4f{bottom:580.000000px;} .y38{bottom:582.000000px;} .y15{bottom:588.000000px;} .y37{bottom:594.000000px;} .y4e{bottom:596.000000px;} .y76{bottom:598.000000px;} .y14{bottom:604.000000px;} .y36{bottom:606.000000px;} .y4d{bottom:612.000000px;} .y75{bottom:614.000000px;} .ycf{bottom:616.000000px;} .y13{bottom:620.000000px;} .y35{bottom:624.000000px;} .y74{bottom:626.000000px;} .y4c{bottom:628.000000px;} .y12{bottom:632.000000px;} .yce{bottom:634.000000px;} .y2{bottom:636.000000px;} .y73{bottom:638.000000px;} .y11{bottom:644.000000px;} .ycd{bottom:652.000000px;} .y72{bottom:656.000000px;} .y10{bottom:660.000000px;} .y34{bottom:662.000000px;} .ycc{bottom:670.000000px;} .yf{bottom:672.000000px;} .y4b{bottom:676.000000px;} .y33{bottom:680.000000px;} .ye{bottom:684.000000px;} .y4a{bottom:688.000000px;} .y71{bottom:694.000000px;} .y32{bottom:698.000000px;} .yd{bottom:700.000000px;} .ycb{bottom:706.000000px;} .y31{bottom:710.000000px;} .y70{bottom:712.000000px;} .yc{bottom:716.000000px;} .yca{bottom:724.000000px;} .y30{bottom:726.000000px;} .y6f{bottom:730.000000px;} .yb{bottom:732.000000px;} .y2f{bottom:742.000000px;} .ya{bottom:748.000000px;} .y2e{bottom:758.000000px;} .yc9{bottom:760.000000px;} .y9{bottom:764.000000px;} .y2d{bottom:774.000000px;} .y1{bottom:776.000000px;} .yc8{bottom:778.000000px;} .y8{bottom:788.000000px;} .y2c{bottom:790.000000px;} .y2a{bottom:808.000000px;} .h6{height:56.367840px;} .h7{height:59.156250px;} .h4{height:69.015625px;} .h3{height:70.459800px;} .h2{height:93.946400px;} .h1{height:130.500000px;} .h5{height:770.500000px;} .h0{height:842.000000px;} .w1{width:456.500000px;} .w2{width:523.500000px;} .w0{width:595.000000px;} .x1{left:36.000000px;} .x0{left:69.500000px;} .x2{left:71.340000px;} .x5{left:241.810000px;} .x4{left:245.000000px;} .x3{left:254.980000px;} .x7{left:543.660000px;} .x6{left:550.330000px;} @media print{ .v0{vertical-align:0.000000pt;} .ls0{letter-spacing:0.000000pt;} .ws0{word-spacing:0.000000pt;} .fs3{font-size:64.000000pt;} .fs2{font-size:74.666667pt;} .fs1{font-size:80.000000pt;} .fs0{font-size:106.666667pt;} .y6{bottom:22.666667pt;} .y2b{bottom:29.333333pt;} .y7{bottom:47.333333pt;} .yc7{bottom:69.626667pt;} .y6e{bottom:70.306667pt;} .y29{bottom:72.000000pt;} .y49{bottom:74.840000pt;} .y94{bottom:82.666667pt;} .ydd{bottom:84.893333pt;} .yc6{bottom:90.960000pt;} .y6d{bottom:91.640000pt;} .y28{bottom:93.333333pt;} .y48{bottom:101.506667pt;} .y93{bottom:106.666667pt;} .ydc{bottom:108.893333pt;} .y27{bottom:109.333333pt;} .yc5{bottom:112.293333pt;} .y6c{bottom:112.973333pt;} .ydb{bottom:124.893333pt;} .y26{bottom:125.333333pt;} .y47{bottom:125.506667pt;} .y6b{bottom:128.973333pt;} .y92{bottom:133.333333pt;} .yc4{bottom:133.626667pt;} .yed{bottom:134.373333pt;} .yda{bottom:140.893333pt;} .y6a{bottom:144.973333pt;} .y25{bottom:146.666667pt;} .y46{bottom:149.506667pt;} .yc3{bottom:154.960000pt;} .y91{bottom:157.333333pt;} .yec{bottom:158.373333pt;} .y10a{bottom:158.813333pt;} .y24{bottom:168.000000pt;} .y69{bottom:168.973333pt;} .yc2{bottom:170.960000pt;} .y45{bottom:173.506667pt;} .yeb{bottom:174.373333pt;} .y109{bottom:174.813333pt;} .yac{bottom:175.413333pt;} .y90{bottom:181.333333pt;} .yc1{bottom:186.960000pt;} .y23{bottom:189.333333pt;} .y44{bottom:189.506667pt;} .yea{bottom:190.373333pt;} .y108{bottom:190.813333pt;} .yab{bottom:191.413333pt;} .y68{bottom:195.640000pt;} .y22{bottom:205.333333pt;} .yaa{bottom:207.413333pt;} .yc0{bottom:208.293333pt;} .y43{bottom:210.840000pt;} .y107{bottom:214.813333pt;} .y67{bottom:219.640000pt;} .y8f{bottom:221.333333pt;} .ybf{bottom:224.293333pt;} .ya9{bottom:231.413333pt;} .y42{bottom:232.173333pt;} .ybe{bottom:240.293333pt;} .y106{bottom:241.480000pt;} .y8e{bottom:242.666667pt;} .y66{bottom:243.640000pt;} .y41{bottom:253.506667pt;} .ya8{bottom:258.080000pt;} .y8d{bottom:264.000000pt;} .ybd{bottom:264.293333pt;} .y105{bottom:265.480000pt;} .y65{bottom:267.640000pt;} .y40{bottom:274.840000pt;} .ya7{bottom:282.080000pt;} .y64{bottom:283.640000pt;} .y8c{bottom:285.333333pt;} .y104{bottom:289.480000pt;} .ybc{bottom:290.960000pt;} .y3f{bottom:296.173333pt;} .y63{bottom:304.973333pt;} .ya6{bottom:306.080000pt;} .y8b{bottom:306.666667pt;} .y103{bottom:313.480000pt;} .ybb{bottom:314.960000pt;} .y3e{bottom:317.506667pt;} .y62{bottom:326.306667pt;} .y8a{bottom:328.000000pt;} .y102{bottom:329.480000pt;} .ya5{bottom:330.080000pt;} .y3d{bottom:333.506667pt;} .yba{bottom:338.960000pt;} .y89{bottom:344.000000pt;} .ya4{bottom:346.080000pt;} .y61{bottom:347.640000pt;} .y3c{bottom:349.506667pt;} .y101{bottom:350.813333pt;} .y88{bottom:360.000000pt;} .yb9{bottom:362.960000pt;} .ya3{bottom:367.413333pt;} .y60{bottom:368.973333pt;} .y3b{bottom:370.840000pt;} .y100{bottom:372.146667pt;} .yb8{bottom:378.960000pt;} .y87{bottom:381.333333pt;} .ya2{bottom:388.746667pt;} .y5f{bottom:390.306667pt;} .y3a{bottom:392.173333pt;} .yff{bottom:393.480000pt;} .yb7{bottom:400.293333pt;} .y86{bottom:402.666667pt;} .y39{bottom:408.173333pt;} .ya1{bottom:410.080000pt;} .y5e{bottom:411.640000pt;} .yfe{bottom:414.813333pt;} .yb6{bottom:421.626667pt;} .y85{bottom:424.000000pt;} .ya0{bottom:431.413333pt;} .y5d{bottom:432.973333pt;} .yfd{bottom:436.146667pt;} .yb5{bottom:442.960000pt;} .y84{bottom:445.333333pt;} .y9f{bottom:447.413333pt;} .y5c{bottom:448.973333pt;} .yfc{bottom:457.480000pt;} .yd9{bottom:458.666667pt;} .y83{bottom:461.333333pt;} .y9e{bottom:463.413333pt;} .yb4{bottom:464.293333pt;} .y5b{bottom:464.973333pt;} .yfb{bottom:473.480000pt;} .yd8{bottom:474.666667pt;} .y82{bottom:477.333333pt;} .y5{bottom:478.000000pt;} .yb3{bottom:480.293333pt;} .y9d{bottom:484.746667pt;} .y5a{bottom:486.306667pt;} .yfa{bottom:489.480000pt;} .yd7{bottom:490.666667pt;} .yb2{bottom:496.293333pt;} .ye9{bottom:496.893333pt;} .y9c{bottom:500.746667pt;} .y81{bottom:501.333333pt;} .y59{bottom:507.640000pt;} .y4{bottom:508.000000pt;} .yf9{bottom:510.813333pt;} .ye8{bottom:512.893333pt;} .yd6{bottom:514.666667pt;} .y9b{bottom:516.746667pt;} .yb1{bottom:517.626667pt;} .y58{bottom:523.640000pt;} .y21{bottom:525.333333pt;} .y80{bottom:528.000000pt;} .ye7{bottom:528.893333pt;} .yf8{bottom:532.146667pt;} .y9a{bottom:538.080000pt;} .yb0{bottom:538.960000pt;} .y20{bottom:541.333333pt;} .y3{bottom:548.000000pt;} .yf7{bottom:548.146667pt;} .y7f{bottom:552.000000pt;} .ye6{bottom:552.893333pt;} .y1f{bottom:557.333333pt;} .y99{bottom:559.413333pt;} .yaf{bottom:560.293333pt;} .yf6{bottom:564.146667pt;} .yd5{bottom:565.333333pt;} .y7e{bottom:576.000000pt;} .ye5{bottom:579.560000pt;} .y98{bottom:580.746667pt;} .y1e{bottom:581.333333pt;} .yae{bottom:581.626667pt;} .yf5{bottom:588.146667pt;} .yd4{bottom:597.333333pt;} .yad{bottom:597.626667pt;} .y7d{bottom:600.000000pt;} .y97{bottom:602.080000pt;} .y57{bottom:602.666667pt;} .ye4{bottom:603.560000pt;} .y1d{bottom:608.000000pt;} .yd3{bottom:613.333333pt;} .yf4{bottom:614.813333pt;} .y7c{bottom:616.000000pt;} .y56{bottom:618.666667pt;} .y96{bottom:623.413333pt;} .ye3{bottom:627.560000pt;} .y1c{bottom:632.000000pt;} .y55{bottom:634.666667pt;} .y7b{bottom:637.333333pt;} .yf3{bottom:638.813333pt;} .y95{bottom:639.413333pt;} .ye2{bottom:651.560000pt;} .y0{bottom:654.000000pt;} .y1b{bottom:656.000000pt;} .y54{bottom:658.666667pt;} .yf2{bottom:662.813333pt;} .ye1{bottom:675.560000pt;} .yd2{bottom:677.333333pt;} .y1a{bottom:680.000000pt;} .y53{bottom:685.333333pt;} .yf1{bottom:686.813333pt;} .ye0{bottom:699.560000pt;} .y7a{bottom:701.333333pt;} .y19{bottom:704.000000pt;} .y52{bottom:709.333333pt;} .yf0{bottom:710.813333pt;} .y18{bottom:720.000000pt;} .y79{bottom:722.666667pt;} .ydf{bottom:723.560000pt;} .yd1{bottom:725.333333pt;} .y51{bottom:733.333333pt;} .yef{bottom:734.813333pt;} .y17{bottom:741.333333pt;} .y78{bottom:744.000000pt;} .yde{bottom:747.560000pt;} .yd0{bottom:749.333333pt;} .y50{bottom:757.333333pt;} .yee{bottom:758.813333pt;} .y77{bottom:760.000000pt;} .y16{bottom:762.666667pt;} .y4f{bottom:773.333333pt;} .y38{bottom:776.000000pt;} .y15{bottom:784.000000pt;} .y37{bottom:792.000000pt;} .y4e{bottom:794.666667pt;} .y76{bottom:797.333333pt;} .y14{bottom:805.333333pt;} .y36{bottom:808.000000pt;} .y4d{bottom:816.000000pt;} .y75{bottom:818.666667pt;} .ycf{bottom:821.333333pt;} .y13{bottom:826.666667pt;} .y35{bottom:832.000000pt;} .y74{bottom:834.666667pt;} .y4c{bottom:837.333333pt;} .y12{bottom:842.666667pt;} .yce{bottom:845.333333pt;} .y2{bottom:848.000000pt;} .y73{bottom:850.666667pt;} .y11{bottom:858.666667pt;} .ycd{bottom:869.333333pt;} .y72{bottom:874.666667pt;} .y10{bottom:880.000000pt;} .y34{bottom:882.666667pt;} .ycc{bottom:893.333333pt;} .yf{bottom:896.000000pt;} .y4b{bottom:901.333333pt;} .y33{bottom:906.666667pt;} .ye{bottom:912.000000pt;} .y4a{bottom:917.333333pt;} .y71{bottom:925.333333pt;} .y32{bottom:930.666667pt;} .yd{bottom:933.333333pt;} .ycb{bottom:941.333333pt;} .y31{bottom:946.666667pt;} .y70{bottom:949.333333pt;} .yc{bottom:954.666667pt;} .yca{bottom:965.333333pt;} .y30{bottom:968.000000pt;} .y6f{bottom:973.333333pt;} .yb{bottom:976.000000pt;} .y2f{bottom:989.333333pt;} .ya{bottom:997.333333pt;} .y2e{bottom:1010.666667pt;} .yc9{bottom:1013.333333pt;} .y9{bottom:1018.666667pt;} .y2d{bottom:1032.000000pt;} .y1{bottom:1034.666667pt;} .yc8{bottom:1037.333333pt;} .y8{bottom:1050.666667pt;} .y2c{bottom:1053.333333pt;} .y2a{bottom:1077.333333pt;} .h6{height:75.157120pt;} .h7{height:78.875000pt;} .h4{height:92.020833pt;} .h3{height:93.946400pt;} .h2{height:125.261866pt;} .h1{height:174.000000pt;} .h5{height:1027.333333pt;} .h0{height:1122.666667pt;} .w1{width:608.666667pt;} .w2{width:698.000000pt;} .w0{width:793.333333pt;} .x1{left:48.000000pt;} .x0{left:92.666667pt;} .x2{left:95.120000pt;} .x5{left:322.413333pt;} .x4{left:326.666667pt;} .x3{left:339.973333pt;} .x7{left:724.880000pt;} .x6{left:733.773333pt;} }
braindumps/all_braindumps
642-647.css
CSS
apache-2.0
16,916
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_45) on Fri Mar 06 22:11:53 CST 2015 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Class org.apache.hadoop.oncrpc.SimpleTcpServer (Apache Hadoop NFS 2.3.0 API) </TITLE> <META NAME="date" CONTENT="2015-03-06"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class org.apache.hadoop.oncrpc.SimpleTcpServer (Apache Hadoop NFS 2.3.0 API)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/hadoop/oncrpc/SimpleTcpServer.html" title="class in org.apache.hadoop.oncrpc"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/apache/hadoop/oncrpc//class-useSimpleTcpServer.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="SimpleTcpServer.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Class<br>org.apache.hadoop.oncrpc.SimpleTcpServer</B></H2> </CENTER> No usage of org.apache.hadoop.oncrpc.SimpleTcpServer <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/hadoop/oncrpc/SimpleTcpServer.html" title="class in org.apache.hadoop.oncrpc"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?org/apache/hadoop/oncrpc//class-useSimpleTcpServer.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="SimpleTcpServer.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright &#169; 2015 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved. </BODY> </HTML>
jsrudani/HadoopHDFSProject
hadoop-common-project/hadoop-nfs/target/org/apache/hadoop/oncrpc/class-use/SimpleTcpServer.html
HTML
apache-2.0
6,158
#ifndef QIGTLIODEVICEWIDGET_H #define QIGTLIODEVICEWIDGET_H #include <QWidget> // igtlio includes #include "igtlioGUIExport.h" #include <vtkSmartPointer.h> #include <vtkObject.h> #include "qIGTLIOVtkConnectionMacro.h" typedef vtkSmartPointer<class igtlioDevice> igtlioDevicePointer; class qIGTLIODeviceWidget; class OPENIGTLINKIO_GUI_EXPORT vtkIGTLIODeviceWidgetCreator : public vtkObject { public: // Create an instance of the specific device widget, with the given device_id virtual qIGTLIODeviceWidget* Create() = 0; // Return the device_type this factory creates device widgets for. virtual std::string GetDeviceType() const = 0; vtkAbstractTypeMacro(vtkIGTLIODeviceWidgetCreator,vtkObject); }; //--------------------------------------------------------------------------- class OPENIGTLINKIO_GUI_EXPORT qIGTLIODeviceWidget : public QWidget { Q_OBJECT IGTLIO_QVTK_OBJECT public: qIGTLIODeviceWidget(QWidget* parent=NULL); virtual void SetDevice(igtlioDevicePointer device); protected: igtlioDevicePointer Device; virtual void setupUi() = 0; protected slots: virtual void onDeviceModified() = 0; }; #endif // QIGTLIODEVICEWIDGET_H
IGSIO/OpenIGTLinkIO
GUI/DeviceWidgets/qIGTLIODeviceWidget.h
C
apache-2.0
1,172
angular.module('ssAuth').factory('SessionService', ['$http', '$cookies', '$q', function($http, $cookies, $q){ var currentUser = {}; var currentFetch; currentUser.isAdmin = function() { return currentUser && currentUser.groups && currentUser.groups['Admins']; }; var getCurrentUser = function(forceUpdate) { var deferred = $q.defer(); if(forceUpdate) { return fetchUpdatedUser(); } if(currentUser.lastUpdated) { var diffMS = (new Date()).getTime() - new Date(currentUser.lastUpdated).getTime(); var diffMin = ((diffMS/60)/60); if(diffMin < 5) { deferred.resolve(currentUser); return deferred.promise; } } return fetchUpdatedUser(); }; var restoreFromCookie = function() { var cookie = $cookies['ag-user']; if(!cookie) return; var user = JSON.parse(cookie); angular.extend(currentUser, user); return currentUser; }; var saveToCookie = function() { $cookies['ag-user'] = JSON.stringify(currentUser); }; var fetchUpdatedUser = function() { //we've already made a call for the current user //just hold your horses if(currentFetch) { return currentFetch; } var deferred = $q.defer(); currentFetch = deferred.promise; $http.get('/session').success(function(user){ angular.extend(currentUser, user); currentUser.lastUpdated = new Date(); saveToCookie(); deferred.resolve(currentUser); currentFetch = undefined; }); return deferred.promise; }; return { getCurrentUser: getCurrentUser, restore: restoreFromCookie, userUpdated: currentUser.lastUpdated }; }]);
spaceshipsamurai/samurai-auth
public/app/shared/session.service.js
JavaScript
apache-2.0
1,933
/** * @license Copyright 2017 Google Inc. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ 'use strict'; /* eslint-env mocha */ const OptimizedImages = require('../../../../gather/gatherers/dobetterweb/optimized-images'); const assert = require('assert'); let options; let optimizedImages; const fakeImageStats = { jpeg: {base64: 100, binary: 80}, webp: {base64: 80, binary: 60}, }; const traceData = { networkRecords: [ { _url: 'http://google.com/image.jpg', _mimeType: 'image/jpeg', _resourceSize: 10000, _resourceType: {_name: 'image'}, finished: true, }, { _url: 'http://google.com/transparent.png', _mimeType: 'image/png', _resourceSize: 11000, _resourceType: {_name: 'image'}, finished: true, }, { _url: 'http://google.com/image.bmp', _mimeType: 'image/bmp', _resourceSize: 12000, _resourceType: {_name: 'image'}, finished: true, }, { _url: 'http://google.com/image.bmp', _mimeType: 'image/bmp', _resourceSize: 12000, _resourceType: {_name: 'image'}, finished: true, }, { _url: 'http://google.com/vector.svg', _mimeType: 'image/svg+xml', _resourceSize: 13000, _resourceType: {_name: 'image'}, finished: true, }, { _url: 'http://gmail.com/image.jpg', _mimeType: 'image/jpeg', _resourceSize: 15000, _resourceType: {_name: 'image'}, finished: true, }, { _url: 'data: image/jpeg ; base64 ,SgVcAT32587935321...', _mimeType: 'image/jpeg', _resourceType: {_name: 'image'}, _resourceSize: 14000, finished: true, }, { _url: 'http://google.com/big-image.bmp', _mimeType: 'image/bmp', _resourceType: {_name: 'image'}, _resourceSize: 12000, finished: false, // ignore for not finishing }, { _url: 'http://google.com/not-an-image.bmp', _mimeType: 'image/bmp', _resourceType: {_name: 'document'}, // ignore for not really being an image _resourceSize: 12000, finished: true, }, ], }; describe('Optimized images', () => { // Reset the Gatherer before each test. beforeEach(() => { optimizedImages = new OptimizedImages(); options = { url: 'http://google.com/', driver: { evaluateAsync: function() { return Promise.resolve(fakeImageStats); }, sendCommand: function() { return Promise.reject(new Error('wasn\'t found')); }, }, }; }); it('returns all images', () => { return optimizedImages.afterPass(options, traceData).then(artifact => { assert.equal(artifact.length, 4); assert.ok(/image.jpg/.test(artifact[0].url)); assert.ok(/transparent.png/.test(artifact[1].url)); assert.ok(/image.bmp/.test(artifact[2].url)); // skip cross-origin for now // assert.ok(/gmail.*image.jpg/.test(artifact[3].url)); assert.ok(/data: image/.test(artifact[3].url)); }); }); it('computes sizes', () => { const checkSizes = (stat, original, webp, jpeg) => { assert.equal(stat.originalSize, original); assert.equal(stat.webpSize, webp); assert.equal(stat.jpegSize, jpeg); }; return optimizedImages.afterPass(options, traceData).then(artifact => { assert.equal(artifact.length, 4); checkSizes(artifact[0], 10000, 60, 80); checkSizes(artifact[1], 11000, 60, 80); checkSizes(artifact[2], 12000, 60, 80); // skip cross-origin for now // checkSizes(artifact[3], 15000, 60, 80); checkSizes(artifact[3], 20, 80, 100); // uses base64 data }); }); it('handles partial driver failure', () => { let calls = 0; options.driver.evaluateAsync = () => { calls++; if (calls > 2) { return Promise.reject(new Error('whoops driver failed')); } else { return Promise.resolve(fakeImageStats); } }; return optimizedImages.afterPass(options, traceData).then(artifact => { const failed = artifact.find(record => record.failed); assert.equal(artifact.length, 4); assert.ok(failed, 'passed along failure'); assert.ok(/whoops/.test(failed.err.message), 'passed along error message'); }); }); it('supports Audits.getEncodedResponse', () => { options.driver.sendCommand = (method, params) => { const encodedSize = params.encoding === 'webp' ? 60 : 80; return Promise.resolve({encodedSize}); }; return optimizedImages.afterPass(options, traceData).then(artifact => { assert.equal(artifact.length, 5); assert.equal(artifact[0].originalSize, 10000); assert.equal(artifact[0].webpSize, 60); assert.equal(artifact[0].jpegSize, 80); // supports cross-origin assert.ok(/gmail.*image.jpg/.test(artifact[3].url)); }); }); });
tkadlec/lighthouse
lighthouse-core/test/gather/gatherers/dobetterweb/optimized-images-test.js
JavaScript
apache-2.0
5,402
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_151) on Thu Mar 08 14:17:41 MST 2018 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>org.wildfly.swarm.microprofile.health.detect (BOM: * : All 2018.3.3 API)</title> <meta name="date" content="2018-03-08"> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../../script.js"></script> </head> <body> <h1 class="bar"><a href="../../../../../../org/wildfly/swarm/microprofile/health/detect/package-summary.html" target="classFrame">org.wildfly.swarm.microprofile.health.detect</a></h1> <div class="indexContainer"> <h2 title="Classes">Classes</h2> <ul title="Classes"> <li><a href="HealthPackageDetector.html" title="class in org.wildfly.swarm.microprofile.health.detect" target="classFrame">HealthPackageDetector</a></li> </ul> </div> </body> </html>
wildfly-swarm/wildfly-swarm-javadocs
2018.3.3/apidocs/org/wildfly/swarm/microprofile/health/detect/package-frame.html
HTML
apache-2.0
1,049
<!DOCTYPE html> <meta charset=utf-8> <title>Redirecting...</title> <link rel=canonical href="../泥/index.html"> <meta http-equiv=refresh content="0; url='../泥/index.html'"> <h1>Redirecting...</h1> <a href="../泥/index.html">Click here if you are not redirected.</a> <script>location='../泥/index.html'</script>
hochanh/hochanh.github.io
rtk/v4/1055.html
HTML
apache-2.0
316
#!/bin/bash set -e docker version # Install docker-compose sudo rm -f /usr/local/bin/docker-compose curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > /tmp/docker-compose chmod +x /tmp/docker-compose sudo mv /tmp/docker-compose /usr/local/bin docker-compose version
NeoCN/jaeger
travis/install-crossdock-deps.sh
Shell
apache-2.0
343
package smartchess object square { type TSquare = Int type TFile = Int type TRank = Int val BOARD_SIZE_SHIFT = 3 val BOARD_SIZE = 1 << BOARD_SIZE_SHIFT val HALF_BOARD_SIZE = BOARD_SIZE / 2 val HALF_BOARD_SIZE_MINUS_ONE = HALF_BOARD_SIZE - 1 val BOARD_AREA_SHIFT = BOARD_SIZE_SHIFT * 2 val BOARD_AREA = BOARD_SIZE * BOARD_SIZE val BOARD_MASK = BOARD_SIZE - 1 val RANK_MASK = BOARD_MASK << BOARD_SIZE_SHIFT val FILE_MASK = BOARD_MASK val NO_SQUARE = 1 << BOARD_AREA_SHIFT val DARK = 0 val LIGHT = 1 def algebFileToFile(c: Char): TFile = c - 'a' def algebRankToRank(c: Char): TRank = '8' - c def fromFileRank(f: TFile, r: TRank): TSquare = { if ((!fileOk(f)) || (!rankOk(r))) return NO_SQUARE f + (r << BOARD_SIZE_SHIFT) } def fromAlgeb(algeb: String): TSquare = { if (algeb.length < 2) return NO_SQUARE val f = algebFileToFile(algeb(0)) val r = algebRankToRank(algeb(1)) if (fileRankOk(f, r)) { f | (r << 3) } else { NO_SQUARE } } def fileOf(s: TSquare): TFile = (s & FILE_MASK) def rankOf(s: TSquare): TRank = (s & RANK_MASK) >> BOARD_SIZE_SHIFT def fileOk(f: TFile): Boolean = (f >= 0) && (f < BOARD_SIZE) def rankOk(r: TRank): Boolean = (r >= 0) && (r < BOARD_SIZE) def fileRankOk(f: TFile, r: TRank): Boolean = fileOk(f) && rankOk(r) def squareOk(s: TSquare): Boolean = { if (s < 0) return false if (s >= BOARD_AREA) return false true } def fileToAlgebFile(f: TFile): Char = ('a'.toInt + f).toChar def rankToAlgebRank(r: TRank): Char = ('8'.toInt - r).toChar def isCentralRank(r: TRank): Boolean = ((r == HALF_BOARD_SIZE) || (r == HALF_BOARD_SIZE_MINUS_ONE)) def isCentralFile(f: TFile): Boolean = ((f == HALF_BOARD_SIZE) || (f == HALF_BOARD_SIZE_MINUS_ONE)) def colorIndexOf(sq: TSquare): Int = (1 - (fileOf(sq) + rankOf(sq)) % 2) def isCentralSquare(sq: TSquare): Boolean = { if (sq == NO_SQUARE) return false return isCentralFile(fileOf(sq)) && isCentralRank(rankOf(sq)) } def toAlgeb(s: TSquare): String = if (s != NO_SQUARE) "" + fileToAlgebFile(fileOf(s)) + rankToAlgebRank(rankOf(s)) else "-" }
serversideapps/silhmojs
shared/src/main/scala/shared/smartchess/square.scala
Scala
apache-2.0
2,229
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package michid.jsonjerk; import michid.jsonjerk.JsonValue.JsonArray; import michid.jsonjerk.JsonValue.JsonAtom; import michid.jsonjerk.JsonValue.JsonObject; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.Map; /** * Utility class for parsing JSON objects and arrays into {@link JsonObject}s * and {@link JsonArray}s, respectively. In contrast to {@link FullJsonParser}, * this implementation resolves nested structures lazily. That, is it does a * level order traverse of the JSON tree. * <p/> * The parser looks for 'hints' in the JSON text to speed up parsing: when it * encounters an integer value with the key ":size" in an object, that value * is used for the size of the entire object (including sub-objects). * * @see FullJsonParser */ public final class LevelOrderJsonParser { private LevelOrderJsonParser() { } /** * Parse a JSON object from {@code tokenizer} * @param tokenizer * @return a {@code JsonObject} * @throws ParseException */ public static JsonObject parseObject(JsonTokenizer tokenizer) { ObjectHandler objectHandler = new ObjectHandler(); new JsonParser(objectHandler).parseObject(tokenizer); return objectHandler.getObject(); } /** * Parse a JSON array from {@code tokenizer} * @param tokenizer * @return a {@code JsonArray} * @throws ParseException */ public static JsonArray parseArray(JsonTokenizer tokenizer) { ArrayHandler arrayHandler = new ArrayHandler(); new JsonParser(arrayHandler).parseArray(tokenizer); return arrayHandler.getArray(); } /** * This implementation of a {@code JsonHandler} builds up a {@code JsonObject} * from its constituents. Nested objects are not fully parsed though, but a * reference to the parser is kept which is only invoked when that nested object * is actually accessed. */ public static class ObjectHandler extends JsonHandler { private final JsonObject object = new JsonObject(new LinkedHashMap<String, JsonValue>()); @Override public void atom(Token key, Token value) { object.put(key.text(), new JsonAtom(value)); } @Override public void object(JsonParser parser, Token key, JsonTokenizer tokenizer) { object.put(key.text(), new DeferredObjectValue(tokenizer.copy())); tokenizer.setPos(getNextPairPos(tokenizer.copy())); } @Override public void array(JsonParser parser, Token key, JsonTokenizer tokenizer) { object.put(key.text(), parseArray(tokenizer)); } public JsonObject getObject() { return object; } } /** * This implementation of a {@code JsonHandler} builds up a {@code JsonArray} * from its constituents. Nested objects are not fully parsed though, but a * reference to the parser is kept which is only invoked when that nested object * is actually accessed. */ public static class ArrayHandler extends JsonHandler { private final JsonArray array = new JsonArray(new ArrayList<JsonValue>()); @Override public void atom(Token key, Token value) { array.add(new JsonAtom(value)); } @Override public void object(JsonParser parser, Token key, JsonTokenizer tokenizer) { array.add(new DeferredObjectValue(tokenizer.copy())); tokenizer.setPos(getNextPairPos(tokenizer.copy())); } @Override public void array(JsonParser parser, Token key, JsonTokenizer tokenizer) { array.add(parseArray(tokenizer)); } public JsonArray getArray() { return array; } } //------------------------------------------< private >--- private static class BreakException extends RuntimeException{ private static final BreakException BREAK = new BreakException(); } private static int getNextPairPos(JsonTokenizer tokenizer) { SkipObjectHandler skipObjectHandler = new SkipObjectHandler(tokenizer.pos()); try { new JsonParser(skipObjectHandler).parseObject(tokenizer); } catch (BreakException e) { return skipObjectHandler.newPos; } return tokenizer.pos(); } private static class DeferredObjectValue extends JsonObject { private final JsonTokenizer tokenizer; public DeferredObjectValue(JsonTokenizer tokenizer) { super(null); this.tokenizer = tokenizer; } @Override public void put(String key, JsonValue value) { throw new IllegalStateException("Cannot add value"); } @Override public JsonValue get(String key) { return value().get(key); } @Override public Map<String, JsonValue> value() { return parseObject(tokenizer.copy()).value(); } @Override public String toString() { return "<deferred>"; } } private static class SkipObjectHandler extends JsonHandler { private final int startPos; private int newPos; public SkipObjectHandler(int startPos) { this.startPos = startPos; } @Override public void atom(Token key, Token value) { if (key != null && ":size".equals(key.text()) && Token.Type.NUMBER == value.type()) { newPos = startPos + Integer.parseInt(value.text()); throw BreakException.BREAK; } } } }
mduerig/json-jerk
src/main/java/michid/jsonjerk/LevelOrderJsonParser.java
Java
apache-2.0
6,473
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_151) on Tue Feb 06 09:38:08 MST 2018 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>StaticContentContainer (BOM: * : All 2017.10.2 API)</title> <meta name="date" content="2018-02-06"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="StaticContentContainer (BOM: * : All 2017.10.2 API)"; } } catch(err) { } //--> var methods = {"i0":18,"i1":18,"i2":18}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],16:["t5","Default Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/StaticContentContainer.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">WildFly Swarm API, 2017.10.2</div> </div> <div class="subNav"> <ul class="navList"> <li>Prev&nbsp;Class</li> <li><a href="../../../../org/wildfly/swarm/undertow/UndertowFraction.html" title="class in org.wildfly.swarm.undertow"><span class="typeNameLink">Next&nbsp;Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/wildfly/swarm/undertow/StaticContentContainer.html" target="_top">Frames</a></li> <li><a href="StaticContentContainer.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">org.wildfly.swarm.undertow</div> <h2 title="Interface StaticContentContainer" class="title">Interface StaticContentContainer&lt;T extends &lt;any&gt;&gt;</h2> </div> <div class="contentContainer"> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Known Subinterfaces:</dt> <dd><a href="../../../../org/wildfly/swarm/jaxrs/JAXRSArchive.html" title="interface in org.wildfly.swarm.jaxrs">JAXRSArchive</a>, <a href="../../../../org/wildfly/swarm/undertow/WARArchive.html" title="interface in org.wildfly.swarm.undertow">WARArchive</a></dd> </dl> <hr> <br> <pre>public interface <span class="typeNameLabel">StaticContentContainer&lt;T extends &lt;any&gt;&gt;</span></pre> <div class="block">Archive mix-in supporting static content serving for .war files.</div> <dl> <dt><span class="simpleTagLabel">Author:</span></dt> <dd>Bob McWhirter</dd> </dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field.summary"> <!-- --> </a> <h3>Field Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Field and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/wildfly/swarm/undertow/StaticContentContainer.html#EXTERNAL_MOUNT_PATH">EXTERNAL_MOUNT_PATH</a></span></code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/8/docs/api/java/util/logging/Logger.html?is-external=true" title="class or interface in java.util.logging">Logger</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/wildfly/swarm/undertow/StaticContentContainer.html#log">log</a></span></code>&nbsp;</td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code>default <a href="../../../../org/wildfly/swarm/undertow/StaticContentContainer.html" title="type parameter in StaticContentContainer">T</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/wildfly/swarm/undertow/StaticContentContainer.html#mergeIgnoringDuplicates--java.lang.String--">mergeIgnoringDuplicates</a></span>(&lt;any&gt;&nbsp;source, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;base, &lt;any&gt;&nbsp;filter)</code>&nbsp;</td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>default <a href="../../../../org/wildfly/swarm/undertow/StaticContentContainer.html" title="type parameter in StaticContentContainer">T</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/wildfly/swarm/undertow/StaticContentContainer.html#staticContent--">staticContent</a></span>()</code> <div class="block">Enable static content to be served from the root of the classpath.</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code>default <a href="../../../../org/wildfly/swarm/undertow/StaticContentContainer.html" title="type parameter in StaticContentContainer">T</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/wildfly/swarm/undertow/StaticContentContainer.html#staticContent-java.lang.String-">staticContent</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;base)</code> <div class="block">Enable static content to be served from a given base in the classpath.</div> </td> </tr> </table> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ FIELD DETAIL =========== --> <ul class="blockList"> <li class="blockList"><a name="field.detail"> <!-- --> </a> <h3>Field Detail</h3> <a name="log"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>log</h4> <pre>static final&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/util/logging/Logger.html?is-external=true" title="class or interface in java.util.logging">Logger</a> log</pre> </li> </ul> <a name="EXTERNAL_MOUNT_PATH"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>EXTERNAL_MOUNT_PATH</h4> <pre>static final&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> EXTERNAL_MOUNT_PATH</pre> <dl> <dt><span class="seeLabel">See Also:</span></dt> <dd><a href="../../../../constant-values.html#org.wildfly.swarm.undertow.StaticContentContainer.EXTERNAL_MOUNT_PATH">Constant Field Values</a></dd> </dl> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="staticContent--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>staticContent</h4> <pre>default&nbsp;<a href="../../../../org/wildfly/swarm/undertow/StaticContentContainer.html" title="type parameter in StaticContentContainer">T</a>&nbsp;staticContent()</pre> <div class="block">Enable static content to be served from the root of the classpath.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>This archive.</dd> </dl> </li> </ul> <a name="staticContent-java.lang.String-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>staticContent</h4> <pre>default&nbsp;<a href="../../../../org/wildfly/swarm/undertow/StaticContentContainer.html" title="type parameter in StaticContentContainer">T</a>&nbsp;staticContent(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;base)</pre> <div class="block">Enable static content to be served from a given base in the classpath.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>base</code> - The path prefix to use for static content.</dd> <dt><span class="returnLabel">Returns:</span></dt> </dl> </li> </ul> <a name="mergeIgnoringDuplicates--java.lang.String--"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>mergeIgnoringDuplicates</h4> <pre>default&nbsp;<a href="../../../../org/wildfly/swarm/undertow/StaticContentContainer.html" title="type parameter in StaticContentContainer">T</a>&nbsp;mergeIgnoringDuplicates(&lt;any&gt;&nbsp;source, <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;base, &lt;any&gt;&nbsp;filter)</pre> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/StaticContentContainer.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> <div class="aboutLanguage">WildFly Swarm API, 2017.10.2</div> </div> <div class="subNav"> <ul class="navList"> <li>Prev&nbsp;Class</li> <li><a href="../../../../org/wildfly/swarm/undertow/UndertowFraction.html" title="class in org.wildfly.swarm.undertow"><span class="typeNameLink">Next&nbsp;Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/wildfly/swarm/undertow/StaticContentContainer.html" target="_top">Frames</a></li> <li><a href="StaticContentContainer.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li> <li>Constr&nbsp;|&nbsp;</li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright &#169; 2018 <a href="http://www.jboss.org">JBoss by Red Hat</a>. All rights reserved.</small></p> </body> </html>
wildfly-swarm/wildfly-swarm-javadocs
2017.10.2/apidocs/org/wildfly/swarm/undertow/StaticContentContainer.html
HTML
apache-2.0
13,971
/** * For JavaDocs. *@author dgagarsky *@since 01.12.2016 */ package ru.job4j;
degauhta/dgagarsky
chapter_001/src/test/java/ru/job4j/package-info.java
Java
apache-2.0
81
# Assignment 1 ## Overview This assignment will focus on your ability to implement an Android application using test driven development methods. ## Warning UNDER NO CIRCUMSTANCES SHOULD YOU USE THIS APP "AS IS" IN PRODUCTION!!! ## Instructions First clone this Git Repository and import it into Android Studio, and make sure to sync the gradle project to download all required dependencies. This assignment tests your ability to correctly implement an Android application using well defined tests as a requirements guide. We have provided the foundation of an application that implements a location tracking service. We have also provided two test files that define the behavior of a correct implementation (a correctly implemented service should pass 100% of the test methods in each of these files). Your task is to complete the location tracking service so that it passes each of these test files. You will need to be familiar with [Android Services](https://developer.android.com/guide/components/services.html) as well as [Android's SQLite database API](https://developer.android.com/training/basics/data-storage/databases.html) to successfully complete this assignment. ### Code to complete Out of the classes we have provided (each described below), there are only a few places you will need to write code for this assignment. Each place where you should complete the given implementation is represented by a TODO statement in the code, and are: - **LocationLogService**: - *onStartCommand()*: You will perform any start up actions, gather the required data to store, and store said data in the database using the LocLogDBManger methods that you write. - **LocLogDBManager**: - *storeLocationData()*: Store the given data in the database - *deleteEntries()*: Delete all entries that match the given data. Passing 'null' for one of the parameters should delete any values for that parameter. - *queryEntries()*: Query for all entries matching the passed parameters. Returns a Cursor over the queried entries. You are free to write any helper methods or classes you wish, but **do not change the methods** we have provided outside of the TODO sections. ## Provided Code ### Application Code: You will be completing an application that stores the device's location and a description provided by the user in a database. The database will be accessed via a service which is available to other applications. It consists of the following classes (classes with asterisks have TODO statements for you to complete): - **UIActivity.java**: This class acts as a simple user interface to demonstrate how the service might be used. It has a single EditText element that allows the user to enter a text description. When the user clicks the 'Log Location' button, it stores the description in an intent and uses said intent to start the LocationLogService. This activity also makes sure to request the ACCESS_FINE_LOCATION permission if it is not granted before starting the service. - **LocationLogService.java** *: This is a started service that stores the devices location (as Latitude and Longitude), the current time, and a passed description String in a database. It is exported, meaning that any application with knowledge of its API can access it, rather than just the UIActivity described above. The OnStartCommand(), which is called when some process attempts to start the service, needs to be implemented to store the necessary data. This method is passed an intent which will contain the description String that should be stored. - **LocLogDBManager.java** *: This class interfaces with the underlying SQLite database that will be storing the location data. It has various interface methods that store, query for, and delete database entries that must be implemented. Please note that the getSQLite() public method is only for testing purposes, and that in a production app you normally shouldn't expose a database in this way. - **LocDBSQLHelper.java** : This is a convenience class that makes creating and gaining access to the properly initialized SQLite database easier. - **LocDBContract.java**: This Contract defines all of the constant identifiers for the SQLite database, specifically the column names. These Constants are used to access the specific columns, and should be referenced when interacting with the database in the LocLogDBManager. ### Testing There are two test files that need to be passed successfully by your implementation. You should read and understand each test, as they define the requirements for the application. The Rubric annotation above each test method describes what each method is testing for, and how many points it is worth. - **DBTest.java**: (in 'app\src\test\java\extensibleapps\vandy\mooc\locationtracker' directory) This file is focused on testing your LocLocDBManger class. It will make sure that each of your interface methods works as expected, and that the manager is interfacing with the SQLite db appropriately. - **LocationLogServiceTest.java**: (in 'app\src\androidTest\java\extensibleapps\vandy\mooc\locationtracker' directory) This file focuses on the LocLogService itself. It ensures that the service starts and handles location storage requests correctly. ## Testing Your Implementation We are using a new, in development AutoGrading framework for this assignment. The rubrics you see above each test method are part of this framework. This framework uses Gradle to check your implementation. To run individual test files to check your current progress, you can run the 'runUnitTests' and 'runInstermentationTests' Gradle tasks. These tasks are available in your Gradle projects tab in android studio, in the ':app/Tasks/_autograder_' folder. To get to these tasks, first open the Gradle projects tab: ![Gradle Tab Location](pics/gradle_location_arrow.png) And naviate to the ':app/Tasks/_autograder_' directory, and double click to run the desired task: ![Autograding tasks](pics/gradletask.PNG) Running these tasks will run the tests and show you their output, as well as give you information contained in the Rubric. The 'runUnitTests' runs the database test file, while 'runInstermentationTests' tests the service. When you run the tests, you will see output similar to this at the bottom of your screen: ![Default Output](pics/defaultrun_arrow.png) To see the detailed output including rubric information and test results, press the 'Toggle tasks executions/text mode' button (pointed to by the red arrow). This will switch to a view like the one shown below, with detailed output. ![Detailed Output](pics/detail.png) **Note:** make sure that you have an Android Virtual Device running and connected before running Instermentaiton Tests, as they will need to connect to and run the project on this device for testing. ## Submitting Your Assignment Our Grading backend is still in development, so for now you can view the results of your testing in the generated submission directory after running the autograder. Once the backend is complete, you will be able to recieve an offical grade.
juleswhite/coursera-sustainable-apps
Assignments/TestingAsgn2/README.md
Markdown
apache-2.0
7,125
using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// <summary> /// AlipayInsAutoAutoinsprodQuoteQueryModel Data Structure. /// </summary> [Serializable] public class AlipayInsAutoAutoinsprodQuoteQueryModel : AopObject { /// <summary> /// 询价ID /// </summary> [XmlElement("enquiry_biz_id")] public string EnquiryBizId { get; set; } /// <summary> /// 报价ID /// </summary> [XmlElement("quote_biz_id")] public string QuoteBizId { get; set; } } }
329277920/Snail
Snail.Pay.Ali.Sdk/Domain/AlipayInsAutoAutoinsprodQuoteQueryModel.cs
C#
apache-2.0
582
/**************************************************************************\ * This file is part of CaSPER. * * * * Copyright: * * 2009-2009 - Marco Correia <[email protected]> * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * * distributed under the License is distributed on an * * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * * either express or implied. * * See the License for the specific language governing permissions and * * limitations under the License. * \*************************************************************************/ #include <iostream> #include <fstream> #include <sstream> #include <libxml++/libxml++.h> #include <bindings/cpp/cpp.h> #include <bindings/cpp/print.h> // tmp #include <list> #include <boost/algorithm/string.hpp> #include <boost/xpressive/xpressive.hpp> // must be here #include "exprparser.h" // Parameterized predicates struct ParPredicate { std::string pars; std::string expr; ParPredicate(const std::string& pars, const std::string& expr) : pars(pars),expr(expr) {} casperbind::cpp::SharedSymbol generateConstraint(const casperbind::cpp::SymbolArray& pars); }; casperbind::cpp::SharedSymbol ParPredicate::generateConstraint(const casperbind::cpp::SymbolArray& sympars) { std::map<std::string,casperbind::cpp::SharedSymbol> mpars; // parse pars str to vector std::vector<std::string> strpars; boost::split(strpars, pars, boost::is_space()); // create map from par name to current symbol instantiation if (sympars.getSize() != (int)strpars.size()/2) throw xmlpp::validity_error(std::string("predicate defined/called with diferent number of parameters: ")+expr); for (int i = 0; i < (int)strpars.size()/2; ++i) mpars.insert(make_pair(strpars[i*2+1],sympars[i])); // parse expression ExprParser e; casperbind::cpp::SharedSymbol s = e.parse(expr,mpars); if (s.getType(true) != casperbind::cpp::Symbol::sPredicate) throw xmlpp::parse_error(std::string("parsing expression: ")+expr); return s; } class XCSPParser : public xmlpp::SaxParser { public: XCSPParser(); virtual ~XCSPParser(); void presentationBegin(const AttributeList& atts); void domainBegin(const AttributeList& attributes); void domainContents(const Glib::ustring& text); void variableBegin(const AttributeList& attributes); void relationBegin(const AttributeList& attributes); void relationContents(const Glib::ustring& text); void predicateBegin(const AttributeList& attributes); void predicateEnd(); void expressionParsContents(const Glib::ustring& text); void expressionContents(const Glib::ustring& text); void constraintBegin(const AttributeList& attributes); void constraintParsContents(const Glib::ustring& text); void constraintEnd(); casperbind::cpp::Instance getInstance() const; protected: //overrides: virtual void on_start_document(); virtual void on_end_document(); virtual void on_start_element(const Glib::ustring& name, const AttributeList& properties); virtual void on_end_element(const Glib::ustring& name); virtual void on_characters(const Glib::ustring& characters); virtual void on_characters_buffered(); virtual void on_comment(const Glib::ustring& text); virtual void on_warning(const Glib::ustring& text); virtual void on_error(const Glib::ustring& text); virtual void on_fatal_error(const Glib::ustring& text); void updatePathBegin(const Glib::ustring& text) { path.push_front(text); } void updatePathEnd(const Glib::ustring& text); void assertParent(const Glib::ustring& text); const Glib::ustring& parent() const; const Glib::ustring& grandParent() const; casperbind::cpp::IntSet parseIntSet(const Glib::ustring& text); casperbind::cpp::IntRange parseIntRange(const Glib::ustring& text); casperbind::cpp::SharedSymbol parseIntDomain(const Glib::ustring& text); casperbind::cpp::IntArray parseIntTupleList(const Glib::ustring& text, int arity, int size); casperbind::cpp::SymbolArray parseParameters(const std::string& s) const; casperbind::cpp::SymbolArray parseScope(const std::string& s) const; std::list<Glib::ustring> path; casperbind::cpp::Index index; std::list<casperbind::cpp::SharedSymbol> variables; std::map<std::string,casperbind::cpp::SharedSymbol> posTables; std::map<std::string,casperbind::cpp::SharedSymbol> negTables; Glib::ustring curCharactersBuffer; std::string curDomainKey; std::string curRelationKey; int curRelationArity; int curRelationNbTuples; std::string curPredicateKey; std::string curExpressionPars; std::string curExpression; std::map<std::string,ParPredicate*> predicates; std::string curConstraintKey; std::string curConstraintScope; std::string curConstraintRef; std::string curConstraintPars; std::list<casperbind::cpp::SharedSymbol> constraints; enum { pos, neg } curRelationSemantics; }; const Glib::ustring& XCSPParser::parent() const { return *path.begin(); } const Glib::ustring& XCSPParser::grandParent() const { return *++path.begin(); } void XCSPParser::updatePathEnd(const Glib::ustring& text) { assertParent(text); path.pop_front(); } void XCSPParser::assertParent(const Glib::ustring& text) { if (parent() != text) throw xmlpp::parse_error(std::string("parsing element: ")+text); } struct StrToInt { int operator()(const std::string& s) const { return atoi(s.c_str()); } }; casperbind::cpp::IntSet XCSPParser::parseIntSet(const Glib::ustring& text) { std::vector<std::string> tokens; boost::split(tokens, text.raw(), boost::is_space()); casperbind::cpp::IntSet r; std::transform(tokens.begin(),tokens.end(), casperbind::cpp::Detail::inserter(r),StrToInt()); return r; } casperbind::cpp::IntRange XCSPParser::parseIntRange(const Glib::ustring& text) { unsigned int pos = text.find(".."); if (pos >= text.size()) throw xmlpp::parse_error(std::string("parsing integer range: ")+text); int lb = atoi(text.substr(0,pos).c_str()); int ub = atoi(text.substr(pos+2,text.size()).c_str()); return casperbind::cpp::IntRange(lb,ub); } casperbind::cpp::SharedSymbol XCSPParser::parseIntDomain(const Glib::ustring& text) { std::vector<Glib::ustring> tokens; boost::split(tokens, text.raw(), boost::is_any_of("\t \r\n")); // if we have only one range, store it and leave if (tokens.size()==1 and tokens[0].find("..") < tokens[0].size()) return parseIntRange(text); casperbind::cpp::IntSet s; // else store list of values since there is no mixed sets (ranges+int) in casperbind for (std::vector<Glib::ustring>::iterator it = tokens.begin(); it != tokens.end(); ++it) if (it->find("..") < tokens[0].size()) // is a range { casperbind::cpp::IntRange r(parseIntRange(*it)); for (int i = r.getLower(); i <= r.getUpper(); ++i) s.add(i); } else // is a set { casperbind::cpp::IntSet r(parseIntSet(*it)); for (casperbind::cpp::IntSet::ConstIterator it2 = r.begin(); it2 != r.end(); ++it2) s.add(*it2); } return s; } casperbind::cpp::IntArray XCSPParser::parseIntTupleList(const Glib::ustring& text, int arity, int size) { int dims[2] = { size, arity }; casperbind::cpp::IntArray r(2,dims); int c = 0; std::vector<std::string> tuples; boost::split(tuples, text.raw(), boost::is_any_of("|")); for (std::vector<std::string>::iterator it = tuples.begin(); it != tuples.end(); ++it) { std::vector<std::string> elements; boost::split(elements, *it, boost::is_any_of(" \t\r\n")); std::transform(elements.begin(),elements.end(),&r[c],StrToInt()); c += elements.size(); } return r; } casperbind::cpp::SymbolArray XCSPParser::parseParameters(const std::string& s) const { std::list<casperbind::cpp::SharedSymbol> l; std::vector<std::string> pars; boost::split(pars, s, boost::is_any_of("\t\r\n ")); for (std::vector<std::string>::const_iterator it = pars.begin(); it != pars.end(); ++it) if (index.hasKey(*it)) // parameter is a variable l.push_back(index.getSymbol(*it)); else // parameter is an integral constant l.push_back(casperbind::cpp::int(atoi(it->c_str()))); casperbind::cpp::SymbolArray r(l.size()); std::copy(l.begin(),l.end(),r.getData()); return r; } casperbind::cpp::SymbolArray XCSPParser::parseScope(const std::string& s) const { std::list<casperbind::cpp::SharedSymbol> l; std::vector<std::string> pars; boost::split(pars, s, boost::is_any_of("\t\r\n ")); for (std::vector<std::string>::const_iterator it = pars.begin(); it != pars.end(); ++it) if (index.hasKey(*it)) // parameter is a variable l.push_back(index.getSymbol(*it)); else // something is wrong throw xmlpp::parse_error(std::string("undeclared variable in constraint scope: ")+s); casperbind::cpp::SymbolArray r(l.size()); std::copy(l.begin(),l.end(),r.getData()); return r; } void XCSPParser::presentationBegin(const AttributeList& attributes) { // test for valid XCSP format versions const int n = 2; Glib::ustring compatibleVersions[n] = { "XCSP 2.0","XCSP 2.1" }; Glib::ustring name = "format"; AttributeList::const_iterator versionIt = std::find_if(attributes.begin(), attributes.end(), AttributeHasName(name)); if (versionIt == attributes.end() or std::find_if(compatibleVersions, &compatibleVersions[n], std::bind1st(std::equal_to<Glib::ustring>(),versionIt->value))== &compatibleVersions[n]) { std::ostringstream s; std::copy(compatibleVersions,&compatibleVersions[n], std::ostream_iterator<Glib::ustring>(s,", ")); throw xmlpp::validity_error("incompatible XCSP version. Supported versions: "+s.str()); } } void XCSPParser::domainBegin(const AttributeList& attributes) { AttributeList::const_iterator nameIt = std::find_if(attributes.begin(), attributes.end(), AttributeHasName("name")); if (nameIt == attributes.end()) throw xmlpp::validity_error("unnamed domain found"); curDomainKey = nameIt->value; } void XCSPParser::variableBegin(const AttributeList& attributes) { AttributeList::const_iterator nameIt = std::find_if(attributes.begin(), attributes.end(), AttributeHasName("name")); std::string curVariableKey = nameIt->value; if (nameIt == attributes.end()) throw xmlpp::validity_error("unnamed variable"); AttributeList::const_iterator domIt = std::find_if(attributes.begin(), attributes.end(), AttributeHasName("domain")); if (domIt == attributes.end()) throw xmlpp::validity_error("variable with unspecified domain"); const casperbind::cpp::SharedSymbol& dom = index.getSymbol(domIt->value); if (dom.getType()!=casperbind::cpp::Symbol::sSymbol) throw xmlpp::validity_error("assertion failure in XCSPParser::variableBegin"); casperbind::cpp::SharedSymbol var = casperbind::cpp::Variable(dom); variables.push_back(var); index.add(var,curVariableKey); } void XCSPParser::relationBegin(const AttributeList& attributes) { AttributeList::const_iterator nameIt = std::find_if(attributes.begin(), attributes.end(), AttributeHasName("name")); if (nameIt == attributes.end()) throw xmlpp::validity_error("unnamed relation"); curRelationKey = nameIt->value; AttributeList::const_iterator arityIt = std::find_if(attributes.begin(), attributes.end(), AttributeHasName("arity")); if (arityIt == attributes.end()) throw xmlpp::validity_error("relation with unspecified arity"); curRelationArity = atoi(arityIt->value.c_str()); AttributeList::const_iterator nbIt = std::find_if(attributes.begin(), attributes.end(), AttributeHasName("nbTuples")); if (nbIt == attributes.end()) throw xmlpp::validity_error("relation with unspecified nbTuples"); curRelationNbTuples = atoi(nbIt->value.c_str()); AttributeList::const_iterator semIt = std::find_if(attributes.begin(), attributes.end(), AttributeHasName("semantics")); if (semIt == attributes.end()) throw xmlpp::validity_error("relation with unspecified semantics"); if (semIt->value == "supports") curRelationSemantics = pos; else curRelationSemantics = neg; } void XCSPParser::predicateBegin(const AttributeList& attributes) { AttributeList::const_iterator nameIt = std::find_if(attributes.begin(), attributes.end(), AttributeHasName("name")); if (nameIt == attributes.end()) throw xmlpp::validity_error("unnamed predicate found"); curPredicateKey = nameIt->value; } void XCSPParser::domainContents(const Glib::ustring& text) { index.add(parseIntDomain(text),curDomainKey); } void XCSPParser::relationContents(const Glib::ustring& text) { casperbind::cpp::IntArray a = parseIntTupleList(text,curRelationArity, curRelationNbTuples); index.add(a,curRelationKey); if (curRelationSemantics == pos) posTables.insert(make_pair(curRelationKey,index.getSymbol(curRelationKey))); else negTables.insert(make_pair(curRelationKey,index.getSymbol(curRelationKey))); } void XCSPParser::expressionParsContents(const Glib::ustring& text) { curExpressionPars = text; } void XCSPParser::expressionContents(const Glib::ustring& text) { curExpression = text; } void XCSPParser::predicateEnd() { if (predicates.find(curPredicateKey) != predicates.end()) throw xmlpp::validity_error("multiple definitions of predicate with same name"); predicates.insert(std::make_pair(curPredicateKey,new ParPredicate(curExpressionPars,curExpression))); } void XCSPParser::constraintBegin(const AttributeList& attributes) { AttributeList::const_iterator nameIt = std::find_if(attributes.begin(), attributes.end(), AttributeHasName("name")); if (nameIt == attributes.end()) throw xmlpp::validity_error("unnamed constraint"); curConstraintKey = nameIt->value; AttributeList::const_iterator scopeIt = std::find_if(attributes.begin(), attributes.end(), AttributeHasName("scope")); if (scopeIt == attributes.end()) throw xmlpp::validity_error("constraint with unspecified scope"); curConstraintScope = scopeIt->value; AttributeList::const_iterator refIt = std::find_if(attributes.begin(), attributes.end(), AttributeHasName("reference")); if (refIt == attributes.end()) throw xmlpp::validity_error("constraint with unspecified reference"); curConstraintRef = refIt->value; } void XCSPParser::constraintParsContents(const Glib::ustring& text) { curConstraintPars = text; } void XCSPParser::constraintEnd() { // if cur constraint is a predicate if (predicates.find(curConstraintRef)!=predicates.end()) { casperbind::cpp::SymbolArray pars = parseParameters(curConstraintPars); index.add(predicates[curConstraintRef]->generateConstraint(pars),curConstraintKey); constraints.push_back(index.getSymbol(curConstraintKey)); } else // if cur constraint is a positive table if (posTables.find(curConstraintRef) != posTables.end()) { casperbind::cpp::SymbolArray vars = parseScope(curConstraintScope); casperbind::cpp::SymbolArray pars(2); pars[0] = vars; pars[1] = posTables[curConstraintRef]; casperbind::cpp::SharedSymbol s = casperbind::cpp::Predicate(casperbind::cpp::Predicate::pInTable,pars); index.add(s,curConstraintKey); constraints.push_back(s); } else if (negTables.find(curConstraintRef) != negTables.end()) { casperbind::cpp::SymbolArray vars = parseScope(curConstraintScope); casperbind::cpp::SymbolArray pars(2); pars[0] = vars; pars[1] = negTables[curConstraintRef]; casperbind::cpp::SharedSymbol s = casperbind::cpp::Predicate(casperbind::cpp::Predicate::pNotInTable,pars); index.add(s,curConstraintKey); constraints.push_back(s); } } XCSPParser::XCSPParser() : xmlpp::SaxParser() { } XCSPParser::~XCSPParser() { } void XCSPParser::on_start_document() { std::cout << "on_start_document()" << std::endl; } void XCSPParser::on_end_document() { std::cout << "on_end_document()" << std::endl; } void XCSPParser::on_start_element(const Glib::ustring& name, const AttributeList& attributes) { if (name == "presentation") { assertParent("instance"); presentationBegin(attributes); } else if (name == "domains") assertParent("instance"); else if (name == "domain") { assertParent("domains"); domainBegin(attributes); } else if (name == "variables") assertParent("instance"); else if (name == "variable") { assertParent("variables"); variableBegin(attributes); } else if (name == "relations") assertParent("instance"); else if (name == "relation") { assertParent("relations"); relationBegin(attributes); } else if (name == "predicates") assertParent("instance"); else if (name == "predicate") { assertParent("predicates"); predicateBegin(attributes); } else if (name == "constraint") { assertParent("constraints"); constraintBegin(attributes); } updatePathBegin(name); curCharactersBuffer = ""; } void XCSPParser::on_end_element(const Glib::ustring& name) { if (curCharactersBuffer.size()>0) { on_characters_buffered(); curCharactersBuffer = ""; } if (parent()=="predicate") predicateEnd(); else if (parent()=="constraint") constraintEnd(); updatePathEnd(name); // std::cout << "on_end_element()" << std::endl; } void XCSPParser::on_characters(const Glib::ustring& text) { curCharactersBuffer += text; } void XCSPParser::on_characters_buffered() { if (parent()=="domain") domainContents(curCharactersBuffer); else if (parent()=="relation") relationContents(curCharactersBuffer); else if (parent()=="parameters" and grandParent()=="predicate") expressionParsContents(curCharactersBuffer); else if (parent()=="functional" and grandParent()=="expression") expressionContents(curCharactersBuffer); else if (parent()=="parameters" and grandParent()=="constraint") constraintParsContents(curCharactersBuffer); // std::cout << "on_characters(): " << text << std::endl; } void XCSPParser::on_comment(const Glib::ustring& text) { std::cout << "on_comment(): " << text << std::endl; } void XCSPParser::on_warning(const Glib::ustring& text) { std::cout << "on_warning(): " << text << std::endl; } void XCSPParser::on_error(const Glib::ustring& text) { std::cout << "on_error(): " << text << std::endl; } void XCSPParser::on_fatal_error(const Glib::ustring& text) { std::cout << "on_fatal_error(): " << text << std::endl; } casperbind::cpp::Instance XCSPParser::getInstance() const { casperbind::cpp::SymbolArray vars(variables.size()); int c = 0; // FIXME this should be only labeling variables (the remaining are refd indirectly) for (std::list<casperbind::cpp::SharedSymbol>::const_iterator it = variables.begin(); it != variables.end(); ++it) vars[c++] = *it; casperbind::cpp::SymbolArray cons(constraints.size()); c = 0; for (std::list<casperbind::cpp::SharedSymbol>::const_iterator it = constraints.begin(); it != constraints.end(); ++it) cons[c++] = *it; return casperbind::cpp::Instance(index,vars,cons); } int main(int argc, char* argv[]) { std::string filepath; if(argc > 1 ) filepath = argv[1]; //Allow the user to specify a different XML file to parse. else { std::cerr << "usage: " << argv[0] << " xcspfile" << std::endl; return 1; } // Parse the entire document in one go: try { XCSPParser parser; parser.set_substitute_entities(true); // parser.parse_file(filepath); SymStream scout(std::cout,parser.getInstance().getIndex()); scout << parser.getInstance() << std::endl; } catch(const xmlpp::exception& ex) { std::cout << "exception: " << ex.what() << std::endl; } return 0; }
marcovc/casper
bindings/xcsp/parser.cpp
C++
apache-2.0
20,252
# Poa densiflora Buckley SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Liliopsida/Poales/Poaceae/Poa/Poa arachnifera/ Syn. Poa densiflora/README.md
Markdown
apache-2.0
179
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package controller import ( "github.com/op/go-logging" "github.com/spf13/viper" "github.com/openblockchain/obc-peer/openchain/consensus" "github.com/openblockchain/obc-peer/openchain/consensus/noops" "github.com/openblockchain/obc-peer/openchain/consensus/obcpbft" ) var logger *logging.Logger // package-level logger func init() { logger = logging.MustGetLogger("consensus/controller") } // NewConsenter constructs a Consenter object func NewConsenter(stack consensus.Stack) (consenter consensus.Consenter) { plugin := viper.GetString("peer.validator.consensus") if plugin == "obcpbft" { //logger.Info("Running with consensus plugin %s", plugin) consenter = obcpbft.GetPlugin(stack) } else { //logger.Info("Running with default consensus plugin (noops)") consenter = noops.GetNoops(stack) } return }
ghaskins/obc-peer
openchain/consensus/controller/controller.go
GO
apache-2.0
1,587
<!-- Copyright 2020 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> {{ with .Get 0 }} <figure> <img src="{{- relURL . -}}" /> </figure> {{ end }}
google/trillian-website
layouts/shortcodes/rel-figure.html
HTML
apache-2.0
654
/* * Copyright 2005-2007 Maarten Billemont * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.lyndir.lhunath.opal.gui; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; /** * <i>{@link ListenerAction} - [in short] (TODO).</i><br> <br> [description / usage].<br> <br> * * @author lhunath */ public class ListenerAction extends AbstractAction { private final ActionListener listener; /** * Create a new {@link ListenerAction} instance. * * @param listener The listener that will be notified of this action. */ public ListenerAction(final ActionListener listener) { this.listener = listener; } /** * Create a new {@link ListenerAction} instance. * * @param name The name of the action. * @param listener The listener that will be notified of this action. */ public ListenerAction(final String name, final ActionListener listener) { super( name ); this.listener = listener; } /** * Create a new {@link ListenerAction} instance. * * @param name The name of the action. * @param command The string that will identify the action that must be taken. * @param icon The icon of the action. * @param listener The listener that will be notified of this action. */ public ListenerAction(final String name, final String command, final Icon icon, final ActionListener listener) { super( name, icon ); this.listener = listener; setActionCommand( command ); } /** * Specify an action command string for this action. * * @param command The string that will identify the action that must be taken. */ public void setActionCommand(final String command) { putValue( ACTION_COMMAND_KEY, command ); } /** * Specify an action command string for this action. * * @return The string that will identify the action that must be taken. */ public String getActionCommand() { return getValue( ACTION_COMMAND_KEY ) == null? null: getValue( ACTION_COMMAND_KEY ).toString(); } /** * {@inheritDoc} */ @Override public void actionPerformed(final ActionEvent e) { if (listener != null) listener.actionPerformed( e ); } }
Lyndir/Opal
discontinued/opal-geo/src/main/java/com/lyndir/lhunath/opal/gui/ListenerAction.java
Java
apache-2.0
2,900
{$Header} <main role="main" class="main" contenteditable="false"> <aside id="notifications"> <!-- Notifications --> {if !empty($error)}<div class="notification-error">{$error}</div>{/if} {if !empty($success)}<div class="notification-success">{$success}</div>{/if} </aside> <section class="frame"> <header> <section class="box entry-title"> <form method="GET"> <input class="" type="text" name="q" value="{$keyword}" placeholder="Keyword..." /> </form> </section> </header> <section class="entry-container" id="google-trend"> {$GoogleTrendScript} </section> </section> </main>
duyetdev/ypCore
apps/admin/view/simple/module/News/Setting.GoogleTrend.php
PHP
apache-2.0
655
// TODO split modules, controllers, services // info separate files and concat/uglify them let remote = require('remote') let fs = require('fs') let mysql = require('promise-mysql') let app = angular.module('ttableinstaller', ['ngRoute']) photon.start(document) app.config(($routeProvider) => { $routeProvider .when('/', { templateUrl: 'templates/main.html', controller: 'MainController' }) .otherwise({ redirectTo: '/' }) })
tTables/tTableInstaller
app/app.js
JavaScript
apache-2.0
467
#region Copyright 2010 by Roger Knapp, Licensed under the Apache License, Version 2.0 /* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #endregion using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; using Microsoft.Win32; using System.Security.Cryptography; using Interop.BugTraqProvider; using CSharpTest.Net.WinForms; using CSharpTest.Net.Crypto; using CSharpTest.Net.SvnPlugin.Interfaces; using CSharpTest.Net.SvnPlugin.UI; using System.Runtime.CompilerServices; using System.Configuration; using CSharpTest.Net.Serialization; namespace CSharpTest.Net.SvnPlugin { /// <summary> /// COM Registered InterOp for TortoiseSVN integration /// </summary> [ComVisible(true), ProgId("SvnPlugin.MyPlugin"), Guid(MyPlugin.GUID), ClassInterface(ClassInterfaceType.AutoDual)] public class MyPlugin : IDisposable, IBugTraqProvider, IBugTraqProvider2 { const string GUID = "CF732FD7-AA8A-4E9D-9E15-025E4D1A7E9D"; const string CLSID = "{" + GUID + "}"; const string BUTTON_TEXT = "{0} Issues"; private IIssuesService _connector = null; private IIssuesServiceConnection _service = null; private IssuesListView _issues = null; private Configuration _config = null; private bool _cancelled = true; /// <summary> Constructs a MyPlugin </summary> public MyPlugin() { //System.Diagnostics.Debugger.Break(); Log.Write("Started, logging to {0}", Log.Config.LogFile); Resolver.Hook(); CertificateHandler.Hook(); } #region Public Interfaces: /// <summary> Returns true if the operation was cancelled </summary> public bool Canceled { get { return _cancelled; } } private string GetAppSetting(string name) { if (_config == null) { Log.Verbose("Settings = {0}", this.GetType().Assembly.Location); _config = ConfigurationManager.OpenExeConfiguration(this.GetType().Assembly.Location); } KeyValueConfigurationElement setting = _config.AppSettings.Settings[name]; return setting == null ? null : setting.Value; } /// <summary> Returns the Issue tracking connector </summary> public IIssuesService Connector { get { if (_connector == null) { string fullClass = GetAppSetting(typeof(IIssuesService).FullName); Log.Verbose("IIssuesService = '{0}'", fullClass); if (string.IsNullOrEmpty(fullClass)) throw new ApplicationException("Unable to locate CSharpTest.Net.SvnPlugin.Interfaces.IIssuesService entry in app.config"); _connector = (IIssuesService)Type.GetType(fullClass, true).InvokeMember("", System.Reflection.BindingFlags.CreateInstance, null, null, null); } return _connector; } } /// <summary> /// Returns true if the configuration is present (not nessessarily valid) /// </summary> public bool IsConfigured(IntPtr hParentWnd, string rootUrl, string commonRoot) { string service, user, password; return TryParseParameters(hParentWnd, rootUrl, commonRoot, out service, out user, out password); } /// <summary> /// Attepts to log on to the specified instance. The instance url must contain a user /// name in the format of "http://user@server:port/". /// </summary> public bool Logon(IntPtr hParentWnd, string rootUrl, string commonRoot) { string message; if (_service != null) return true; if (!TryLogon(hParentWnd, rootUrl, commonRoot, out message, out _service)) { ShowError(hParentWnd, String.Format("Unable to connect to {1}, check your configuration.\r\nReason: {0}", message, Connector.ServiceName), "Login Error"); return false; } return _service != null; } /// <summary> /// Prompt the user for the comments and related issues /// </summary> public string GetCommitMsg(IntPtr hParentWnd, string rootUrl, string originalMessage, string commonRoot, string[] files) { string message = originalMessage; try { if (!Logon(hParentWnd, rootUrl, commonRoot)) return originalMessage; if (_issues == null) _issues = new IssuesListView(_service, originalMessage, files); else _issues.SyncComments(originalMessage); IssuesList form = new IssuesList(_issues); if (hParentWnd == IntPtr.Zero) form.ShowInTaskbar = true; if (form.ShowDialog(Win32Window.FromHandle(hParentWnd)) != DialogResult.OK) { _cancelled = true; return originalMessage; } _cancelled = false; return _issues.GetFullComments(); } catch (OperationCanceledException) { _cancelled = true; return originalMessage; } catch (Exception ex) { ShowError(hParentWnd, ex.Message, ex.GetType().FullName); throw; } } /// <summary> /// Commit the requested changes for any related issues /// </summary> public string CommitChanges(IntPtr hParentWnd, string originalMessage, int revision, string[] files) { if (Canceled) return originalMessage; if (_service == null || _issues == null) throw new UnauthorizedAccessException(); _issues.SyncComments(originalMessage); StringBuilder sbResponse = new StringBuilder(); sbResponse.AppendFormat("{0}", originalMessage); if (GetAppSetting("addRevisionComment") == "false") revision = -1; if (GetAppSetting("addFilesComment") == "false") files = new string[0]; foreach (Exception e in _issues.CommitChanges(revision, files)) { sbResponse.AppendLine(); sbResponse.AppendFormat("ERROR: {0}", e.Message); } return sbResponse.ToString(); } #endregion #region Private Helpers void ShowError(IntPtr hParentWnd, string text, string caption) { _cancelled = true; MessageBox.Show(Win32Window.FromHandle(hParentWnd), text, caption, MessageBoxButtons.OK, MessageBoxIcon.Error); } void SaveSettings(string userId, string uri, string password) { INameValueStore storage = new CSharpTest.Net.Serialization.StorageClasses.RegistryStorage(); try { if (String.IsNullOrEmpty(password)) { storage.Delete(uri, "UserName"); storage.Delete(uri, "Password"); } else { storage.Write(uri, "UserName", userId); storage.Write(uri, "Password", Encryption.CurrentUser.Encrypt(password)); } } catch { } } string ReadSettings(IntPtr hParentWnd, string serviceUri, ref string userId) { INameValueStore storage = new CSharpTest.Net.Serialization.StorageClasses.RegistryStorage(); try { string password; storage.Read(serviceUri, "UserName", out userId); if (storage.Read(serviceUri, "Password", out password)) return Encryption.CurrentUser.Decrypt(password); } catch { } PasswordEntry pwdDlg = new PasswordEntry(userId, serviceUri); if (pwdDlg.ShowDialog(Win32Window.FromHandle(hParentWnd)) == DialogResult.OK) { userId = pwdDlg.UserName.Text; SaveSettings(userId, serviceUri, pwdDlg.Password.Text); return pwdDlg.Password.Text; } return null; } bool TryParseParameters(IntPtr hParentWnd, string parameters, string commonRoot, out string serviceUri, out string user, out string password) { serviceUri = user = password = null; if (String.IsNullOrEmpty(parameters) && !String.IsNullOrEmpty(commonRoot)) { //Read from svn... SvnProperties props = new SvnProperties(commonRoot); string testUri = props.Search(".", true, Connector.UriPropertyName); if (!String.IsNullOrEmpty(testUri)) parameters = testUri; } if (String.IsNullOrEmpty(parameters)) { string test = System.Configuration.ConfigurationManager.AppSettings[Connector.UriPropertyName]; if (!String.IsNullOrEmpty(test)) parameters = test; } Uri uri; if (Uri.TryCreate(parameters, UriKind.Absolute, out uri)) { serviceUri = String.Format("{0}://{1}:{2}{3}", uri.Scheme, uri.Host, uri.Port, uri.PathAndQuery); if (!String.IsNullOrEmpty(uri.UserInfo)) { string[] parts = uri.UserInfo.Split(':'); if (parts.Length == 2 && !String.IsNullOrEmpty(parts[0]) && !String.IsNullOrEmpty(parts[1])) { user = parts[0]; password = parts[1]; } else { user = uri.UserInfo; password = ReadSettings(hParentWnd, serviceUri, ref user); } } else password = ReadSettings(hParentWnd, serviceUri, ref user); if (!String.IsNullOrEmpty(user) && !String.IsNullOrEmpty(password)) return true; } return false; } string GetParamDesc() { string message = "Parameter must be a valid absolute uri optionally with \r\n" + "a user name and password. Leave blank to read value from svn \r\n" + "property named: '{0}'\r\n" + "\tExample 1: http://{2}.com:8080\r\n" + "\tExample 2: http://username@{2}.com:8080\r\n" + "\tExample 3: http://username:password@{2}.com:8080"; return String.Format(message, Connector.UriPropertyName, Connector.ServiceName, Connector.ServiceName.ToLower()); } bool TryLogon(IntPtr hParentWnd, string parameters, string commonRoot, out string message, out IIssuesServiceConnection service) { IIssuesService connector = this.Connector; string serviceUri, user, password; message = null; service = null; if (!TryParseParameters(hParentWnd, parameters, commonRoot, out serviceUri, out user, out password)) { message = GetParamDesc(); return false; } try { if (!connector.Connect(serviceUri, user, password, GetAppSetting, out service)) { SaveSettings(user, serviceUri, null); return false; } return true; } catch (Exception e) { Log.Error(e); message = e.Message; return false; } } #endregion /// <summary> Releases any locked resources </summary> public void Dispose() { if (_issues != null) _issues.Dispose(); _issues = null; if (_service != null) _service.Dispose(); _service = null; } #region IBugTraqProvider2 Members bool IBugTraqProvider2.ValidateParameters(IntPtr hParentWnd, string parameters) { try { return String.IsNullOrEmpty(parameters) || Logon(hParentWnd, parameters, null); } catch (Exception e) { Log.Error(e); throw; } } string IBugTraqProvider2.GetLinkText(IntPtr hParentWnd, string parameters) { try { return String.Format(BUTTON_TEXT, Connector.ServiceName); } catch (Exception e) { Log.Error(e); throw; } } string IBugTraqProvider2.GetCommitMessage(IntPtr hParentWnd, string parameters, string commonRoot, string[] pathList, string originalMessage) { try { return GetCommitMsg(hParentWnd, parameters, originalMessage, commonRoot, pathList); } catch (Exception e) { Log.Error(e); throw; } } string IBugTraqProvider2.GetCommitMessage2(IntPtr hParentWnd, string parameters, string commonURL, string commonRoot, string[] pathList, string originalMessage, string bugID, out string bugIDOut, out string[] revPropNames, out string[] revPropValues) { try { bugIDOut = bugID; revPropNames = new string[0]; revPropValues = new string[0]; string message = GetCommitMsg(hParentWnd, parameters, originalMessage, commonRoot, pathList); if (_issues != null) { foreach (IIssue issue in _issues.SelectedIssues) { bugIDOut = issue.DisplayId; break; } } return message; } catch (Exception e) { Log.Error(e); throw; } } string IBugTraqProvider2.CheckCommit(IntPtr hParentWnd, string parameters, string commonURL, string commonRoot, string[] pathList, string commitMessage) { try { return String.Empty; } catch (Exception e) { Log.Error(e); throw; } } string IBugTraqProvider2.OnCommitFinished(IntPtr hParentWnd, string commonRoot, string[] pathList, string originalMessage, int revision) { try { return CommitChanges(hParentWnd, originalMessage, revision, pathList); } catch (Exception e) { Log.Error(e); throw; } } bool IBugTraqProvider2.HasOptions() { return true; } ///TODO: - need to complete implementation for options dialog string IBugTraqProvider2.ShowOptionsDialog(IntPtr hParentWnd, string parameters) { try { OptionUrlEntry dlg = new OptionUrlEntry(parameters, GetParamDesc()); if (dlg.ShowDialog(Win32Window.FromHandle(hParentWnd)) == DialogResult.OK) return dlg.ServiceUri.Text; return parameters; } catch (Exception e) { Log.Error(e); throw; } } #endregion #region IBugTraqProvider Members bool IBugTraqProvider.ValidateParameters(IntPtr hParentWnd, string parameters) { try { return String.IsNullOrEmpty(parameters) || Logon(hParentWnd, parameters, null); } catch (Exception e) { Log.Error(e); throw; } } string IBugTraqProvider.GetLinkText(IntPtr hParentWnd, string parameters) { try { return String.Format(BUTTON_TEXT, Connector.ServiceName); } catch (Exception e) { Log.Error(e); throw; } } string IBugTraqProvider.GetCommitMessage(IntPtr hParentWnd, string parameters, string commonRoot, string[] pathList, string originalMessage) { try { string message = GetCommitMsg(hParentWnd, parameters, originalMessage, commonRoot, pathList); message = CommitChanges(hParentWnd, message, -1, new string[0]); return message; } catch (Exception e) { Log.Error(e); throw; } } #endregion #region COM Interop/Registration static IEnumerable<string> GetRegistryKeysToAdd() { yield return String.Format(@"CLSID\{0}\Implemented Categories\{{3494FA92-B139-4730-9591-01135D5E7831}}", CLSID); yield return String.Format(@"CLSID\{0}\Implemented Categories\{{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}}", CLSID); } /// <summary> /// Registeres this assembly with COM using the custom keys required for TortoiseSVN interop /// </summary> [ComRegisterFunction] public static void RegisterFunction(Type t) { try { if (typeof(MyPlugin) == t) { foreach (string keypath in GetRegistryKeysToAdd()) using (RegistryKey key = Registry.ClassesRoot.CreateSubKey(keypath)) { key.Close(); }//{ Console.WriteLine(key.ToString()); } using (RegistryKey key = Registry.ClassesRoot.CreateSubKey(String.Format(@"CLSID\{0}\InprocServer32", CLSID))) if (key != null) key.SetValue("Assembly", t.Assembly.FullName); if (t.Assembly.Location != null && System.IO.File.Exists(t.Assembly.Location)) { using (RegistryKey key = Registry.ClassesRoot.CreateSubKey(String.Format(@"CLSID\{0}\InprocServer32", CLSID))) if (key != null) key.SetValue("CodeBase", t.Assembly.Location); using (RegistryKey key = Registry.ClassesRoot.CreateSubKey(String.Format(@"CLSID\{0}\InprocServer32\{1}", CLSID, t.Assembly.GetName().Version))) { if (key != null) { key.SetValue(null, "mscoree.dll"); key.SetValue("ThreadingModel", "Both"); key.SetValue("CodeBase", t.Assembly.Location); } } } } } catch (Exception e) { Console.Error.WriteLine(e.ToString()); } } /// <summary> /// Unregisteres this assembly removing the custom keys required for TortoiseSVN interop /// </summary> [ComUnregisterFunction] public static void UnregisterFunction(Type t) { try { foreach (string key in GetRegistryKeysToAdd()) Registry.ClassesRoot.DeleteSubKey(key, false); } catch (Exception e) { Console.Error.WriteLine(e.ToString()); } } #endregion } }
csharptest/JiraSVN
src/SvnPlugin/MyPlugin.cs
C#
apache-2.0
16,267
/* * Copyright 2008-2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.springframework.data.jpa.repository.config; import static org.junit.Assert.*; import org.springframework.test.context.ContextConfiguration; /** * Integration test to test {@link org.springframework.core.type.filter.TypeFilter} integration into namespace. * * @author Oliver Gierke */ @ContextConfiguration(locations = "classpath:config/namespace-autoconfig-typefilter-context.xml") public class TypeFilterConfigTests extends AbstractRepositoryConfigTests { /* * (non-Javadoc) * * @see * org.springframework.data.jpa.repository.config.AbstractRepositoryConfigTests * #testContextCreation() */ @Override public void testContextCreation() { assertNotNull(userRepository); assertNotNull(roleRepository); assertNull(auditableUserRepository); } }
sdw2330976/Research-spring-data-jpa
spring-data-jpa-1.7.1.RELEASE/src/test/java/org/springframework/data/jpa/repository/config/TypeFilterConfigTests.java
Java
apache-2.0
1,407
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>DateField - ScalaTest 2.2.4 - org.scalatest.selenium.WebBrowser.DateField</title> <meta name="description" content="DateField - ScalaTest 2.2.4 - org.scalatest.selenium.WebBrowser.DateField" /> <meta name="keywords" content="DateField ScalaTest 2.2.4 org.scalatest.selenium.WebBrowser.DateField" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <link href="../../../lib/template.css" media="screen" type="text/css" rel="stylesheet" /> <link href="../../../lib/diagrams.css" media="screen" type="text/css" rel="stylesheet" id="diagrams-css" /> <script type="text/javascript" src="../../../lib/jquery.js" id="jquery-js"></script> <script type="text/javascript" src="../../../lib/jquery-ui.js"></script> <script type="text/javascript" src="../../../lib/template.js"></script> <script type="text/javascript" src="../../../lib/tools.tooltip.js"></script> <script type="text/javascript"> if(top === self) { var url = '../../../index.html'; var hash = 'org.scalatest.selenium.WebBrowser$DateField'; var anchor = window.location.hash; var anchor_opt = ''; if (anchor.length >= 1) anchor_opt = '@' + anchor.substring(1); window.location.href = url + '#' + hash + anchor_opt; } </script> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-71294502-3', 'auto'); ga('send', 'pageview'); </script> </head> <body class="type"> <!-- Top of doc.scalatest.org [javascript] --> <script type="text/javascript"> var rnd = window.rnd || Math.floor(Math.random()*10e6); var pid204546 = window.pid204546 || rnd; var plc204546 = window.plc204546 || 0; var abkw = window.abkw || ''; var absrc = 'http://ab167933.adbutler-ikon.com/adserve/;ID=167933;size=468x60;setID=204546;type=js;sw='+screen.width+';sh='+screen.height+';spr='+window.devicePixelRatio+';kw='+abkw+';pid='+pid204546+';place='+(plc204546++)+';rnd='+rnd+';click=CLICK_MACRO_PLACEHOLDER'; document.write('<scr'+'ipt src="'+absrc+'" type="text/javascript"></scr'+'ipt>'); </script> <div id="definition"> <img src="../../../lib/class_big.png" /> <p id="owner"><a href="../../package.html" class="extype" name="org">org</a>.<a href="../package.html" class="extype" name="org.scalatest">scalatest</a>.<a href="package.html" class="extype" name="org.scalatest.selenium">selenium</a>.<a href="WebBrowser.html" class="extype" name="org.scalatest.selenium.WebBrowser">WebBrowser</a></p> <h1>DateField</h1> </div> <h4 id="signature" class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">class</span> </span> <span class="symbol"> <span class="name">DateField</span><span class="result"> extends <a href="WebBrowser$Element.html" class="extype" name="org.scalatest.selenium.WebBrowser.Element">Element</a> with <a href="WebBrowser$ValueElement.html" class="extype" name="org.scalatest.selenium.WebBrowser.ValueElement">ValueElement</a></span> </span> </h4> <div id="comment" class="fullcommenttop"><div class="comment cmt"><p>This class is part of ScalaTest's Selenium DSL. Please see the documentation for <a href="WebBrowser.html"><code>WebBrowser</code></a> for an overview of the Selenium DSL.</p><p>This class enables syntax such as the following:</p><p><pre class="stHighlighted"> dateField(<span class="stQuotedString">&quot;q&quot;</span>).value should be (<span class="stQuotedString">&quot;2003-03-01&quot;</span>) </pre> </p></div><dl class="attributes block"> <dt>Source</dt><dd><a href="https://github.com/scalatest/scalatest/tree/release-2.2.4-for-scala-2.11-and-2.10/src/main/scala/org/scalatest/selenium/WebBrowser.scala" target="_blank">WebBrowser.scala</a></dd><dt>Exceptions thrown</dt><dd><span class="cmt">TestFailedExeption<p>if the passed <code>WebElement</code> does not represent a date field </p></span></dd></dl><div class="toggleContainer block"> <span class="toggle">Linear Supertypes</span> <div class="superTypes hiddenContent"><a href="WebBrowser$ValueElement.html" class="extype" name="org.scalatest.selenium.WebBrowser.ValueElement">ValueElement</a>, <a href="WebBrowser$Element.html" class="extype" name="org.scalatest.selenium.WebBrowser.Element">Element</a>, <span class="extype" name="scala.AnyRef">AnyRef</span>, <span class="extype" name="scala.Any">Any</span></div> </div></div> <div id="mbrsel"> <div id="textfilter"><span class="pre"></span><span class="input"><input id="mbrsel-input" type="text" accesskey="/" /></span><span class="post"></span></div> <div id="order"> <span class="filtertype">Ordering</span> <ol> <li class="alpha in"><span>Alphabetic</span></li> <li class="inherit out"><span>By inheritance</span></li> </ol> </div> <div id="ancestors"> <span class="filtertype">Inherited<br /> </span> <ol id="linearization"> <li class="in" name="org.scalatest.selenium.WebBrowser.DateField"><span>DateField</span></li><li class="in" name="org.scalatest.selenium.WebBrowser.ValueElement"><span>ValueElement</span></li><li class="in" name="org.scalatest.selenium.WebBrowser.Element"><span>Element</span></li><li class="in" name="scala.AnyRef"><span>AnyRef</span></li><li class="in" name="scala.Any"><span>Any</span></li> </ol> </div><div id="ancestors"> <span class="filtertype"></span> <ol> <li class="hideall out"><span>Hide All</span></li> <li class="showall in"><span>Show all</span></li> </ol> <a href="http://docs.scala-lang.org/overviews/scaladoc/usage.html#members" target="_blank">Learn more about member selection</a> </div> <div id="visbl"> <span class="filtertype">Visibility</span> <ol><li class="public in"><span>Public</span></li><li class="all out"><span>All</span></li></ol> </div> </div> <div id="template"> <div id="allMembers"> <div id="constructors" class="members"> <h3>Instance Constructors</h3> <ol><li name="org.scalatest.selenium.WebBrowser.DateField#&lt;init&gt;" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="&lt;init&gt;(underlying:org.openqa.selenium.WebElement):WebBrowser.this.DateField"></a> <a id="&lt;init&gt;:DateField"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">new</span> </span> <span class="symbol"> <span class="name">DateField</span><span class="params">(<span name="underlying">underlying: <span class="extype" name="org.openqa.selenium.WebElement">WebElement</span></span>)</span> </span> </h4> <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="paramcmts block"><dt class="param">underlying</dt><dd class="cmt"><p>the <code>WebElement</code> representing a date field</p></dd></dl><dl class="attributes block"> <dt>Exceptions thrown</dt><dd><span class="cmt">TestFailedExeption<p>if the passed <code>WebElement</code> does not represent a date field </p></span></dd></dl></div> </li></ol> </div> <div id="values" class="values members"> <h3>Value Members</h3> <ol><li name="scala.AnyRef#!=" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="!=(x$1:AnyRef):Boolean"></a> <a id="!=(AnyRef):Boolean"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span title="gt4s: $bang$eq" class="name">!=</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.AnyRef">AnyRef</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div> </li><li name="scala.Any#!=" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="!=(x$1:Any):Boolean"></a> <a id="!=(Any):Boolean"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span title="gt4s: $bang$eq" class="name">!=</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div> </li><li name="scala.AnyRef###" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="##():Int"></a> <a id="##():Int"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span title="gt4s: $hash$hash" class="name">##</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div> </li><li name="scala.AnyRef#==" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="==(x$1:AnyRef):Boolean"></a> <a id="==(AnyRef):Boolean"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span title="gt4s: $eq$eq" class="name">==</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.AnyRef">AnyRef</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div> </li><li name="scala.Any#==" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="==(x$1:Any):Boolean"></a> <a id="==(Any):Boolean"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span title="gt4s: $eq$eq" class="name">==</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div> </li><li name="scala.Any#asInstanceOf" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="asInstanceOf[T0]:T0"></a> <a id="asInstanceOf[T0]:T0"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">asInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="result">: <span class="extype" name="scala.Any.asInstanceOf.T0">T0</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div> </li><li name="org.scalatest.selenium.WebBrowser.Element#attribute" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="attribute(name:String):Option[String]"></a> <a id="attribute(String):Option[String]"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">attribute</span><span class="params">(<span name="name">name: <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <span class="extype" name="scala.Option">Option</span>[<span class="extype" name="scala.Predef.String">String</span>]</span> </span> </h4> <p class="shortcomment cmt">The attribute value of the given attribute name of this element, wrapped in a <code>Some</code>, or <code>None</code> if no such attribute exists on this <code>Element</code>.</p><div class="fullcomment"><div class="comment cmt"><p>The attribute value of the given attribute name of this element, wrapped in a <code>Some</code>, or <code>None</code> if no such attribute exists on this <code>Element</code>.</p><p>This method invokes <code>getAttribute</code> on the underlying <code>WebElement</code>, passing in the specified <code>name</code>.</p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>the attribute with the given name, wrapped in a <code>Some</code>, else <code>None</code> </p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="WebBrowser$Element.html" class="extype" name="org.scalatest.selenium.WebBrowser.Element">Element</a></dd></dl></div> </li><li name="org.scalatest.selenium.WebBrowser.ValueElement#checkCorrectType" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="checkCorrectType(isA:org.openqa.selenium.WebElement=&gt;Boolean,typeDescription:String):Unit"></a> <a id="checkCorrectType((WebElement)⇒Boolean,String):Unit"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">checkCorrectType</span><span class="params">(<span name="isA">isA: (<span class="extype" name="org.openqa.selenium.WebElement">WebElement</span>) ⇒ <span class="extype" name="scala.Boolean">Boolean</span></span>, <span name="typeDescription">typeDescription: <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="WebBrowser$ValueElement.html" class="extype" name="org.scalatest.selenium.WebBrowser.ValueElement">ValueElement</a></dd></dl></div> </li><li name="org.scalatest.selenium.WebBrowser.ValueElement#clear" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="clear():Unit"></a> <a id="clear():Unit"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">clear</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <p class="shortcomment cmt">Clears this field.</p><div class="fullcomment"><div class="comment cmt"><p>Clears this field. </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="WebBrowser$ValueElement.html" class="extype" name="org.scalatest.selenium.WebBrowser.ValueElement">ValueElement</a></dd></dl></div> </li><li name="scala.AnyRef#clone" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="clone():Object"></a> <a id="clone():AnyRef"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">clone</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.AnyRef">AnyRef</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected[<a href="../../../java$lang.html" class="extype" name="java.lang">java.lang</a>] </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> <span class="name">@throws</span><span class="args">()</span> </dd></dl></div> </li><li name="scala.AnyRef#eq" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="eq(x$1:AnyRef):Boolean"></a> <a id="eq(AnyRef):Boolean"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">eq</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.AnyRef">AnyRef</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div> </li><li name="org.scalatest.selenium.WebBrowser.Element#equals" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="equals(other:Any):Boolean"></a> <a id="equals(Any):Boolean"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">equals</span><span class="params">(<span name="other">other: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <p class="shortcomment cmt">Returns the result of invoking <code>equals</code> on the underlying <code>Element</code>, passing in the specified <code>other</code> object.</p><div class="fullcomment"><div class="comment cmt"><p>Returns the result of invoking <code>equals</code> on the underlying <code>Element</code>, passing in the specified <code>other</code> object. </p></div><dl class="paramcmts block"><dt class="param">other</dt><dd class="cmt"><p>the object with which to compare for equality </p></dd><dt>returns</dt><dd class="cmt"><p>true if the passed object is equal to this one </p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="WebBrowser$Element.html" class="extype" name="org.scalatest.selenium.WebBrowser.Element">Element</a> → AnyRef → Any</dd></dl></div> </li><li name="scala.AnyRef#finalize" visbl="prt" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="finalize():Unit"></a> <a id="finalize():Unit"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">finalize</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected[<a href="../../../java$lang.html" class="extype" name="java.lang">java.lang</a>] </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> <span class="name">@throws</span><span class="args">()</span> </dd></dl></div> </li><li name="scala.AnyRef#getClass" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="getClass():Class[_]"></a> <a id="getClass():Class[_]"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">getClass</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.Class">Class</span>[_]</span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div> </li><li name="org.scalatest.selenium.WebBrowser.Element#hashCode" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="hashCode():Int"></a> <a id="hashCode():Int"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> </span> </h4> <p class="shortcomment cmt">Returns the result of invoking <code>hashCode</code> on the underlying <code>Element</code>.</p><div class="fullcomment"><div class="comment cmt"><p>Returns the result of invoking <code>hashCode</code> on the underlying <code>Element</code>. </p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>a hash code for this object </p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="WebBrowser$Element.html" class="extype" name="org.scalatest.selenium.WebBrowser.Element">Element</a> → AnyRef → Any</dd></dl></div> </li><li name="org.scalatest.selenium.WebBrowser.Element#isDisplayed" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="isDisplayed:Boolean"></a> <a id="isDisplayed:Boolean"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">isDisplayed</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <p class="shortcomment cmt">Indicates whether this <code>Element</code> is displayed.</p><div class="fullcomment"><div class="comment cmt"><p>Indicates whether this <code>Element</code> is displayed.</p><p>This invokes <code>isDisplayed</code> on the underlying <code>WebElement</code>.</p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p><code>true</code> if the element is currently displayed </p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="WebBrowser$Element.html" class="extype" name="org.scalatest.selenium.WebBrowser.Element">Element</a></dd></dl></div> </li><li name="org.scalatest.selenium.WebBrowser.Element#isEnabled" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="isEnabled:Boolean"></a> <a id="isEnabled:Boolean"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">isEnabled</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <p class="shortcomment cmt">Indicates whether this <code>Element</code> is enabled.</p><div class="fullcomment"><div class="comment cmt"><p>Indicates whether this <code>Element</code> is enabled.</p><p>This invokes <code>isEnabled</code> on the underlying <code>WebElement</code>, which will generally return <code>true</code> for everything but disabled input elements.</p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p><code>true</code> if the element is currently enabled </p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="WebBrowser$Element.html" class="extype" name="org.scalatest.selenium.WebBrowser.Element">Element</a></dd></dl></div> </li><li name="scala.Any#isInstanceOf" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="isInstanceOf[T0]:Boolean"></a> <a id="isInstanceOf[T0]:Boolean"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">isInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div> </li><li name="org.scalatest.selenium.WebBrowser.Element#isSelected" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="isSelected:Boolean"></a> <a id="isSelected:Boolean"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">isSelected</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <p class="shortcomment cmt">Indicates whether this <code>Element</code> is selected.</p><div class="fullcomment"><div class="comment cmt"><p>Indicates whether this <code>Element</code> is selected.</p><p>This method, which invokes <code>isSelected</code> on the underlying <code>WebElement</code>, is relevant only for input elements such as checkboxes, options in a single- or multiple-selection list box, and radio buttons. For any other element it will simply return <code>false</code>.</p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p><code>true</code> if the element is currently selected or checked </p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="WebBrowser$Element.html" class="extype" name="org.scalatest.selenium.WebBrowser.Element">Element</a></dd></dl></div> </li><li name="org.scalatest.selenium.WebBrowser.Element#location" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="location:WebBrowser.this.Point"></a> <a id="location:Point"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">location</span><span class="result">: <a href="WebBrowser$Point.html" class="extype" name="org.scalatest.selenium.WebBrowser.Point">Point</a></span> </span> </h4> <p class="shortcomment cmt">The XY location of the top-left corner of this <code>Element</code>.</p><div class="fullcomment"><div class="comment cmt"><p>The XY location of the top-left corner of this <code>Element</code>.</p><p>This invokes <code>getLocation</code> on the underlying <code>WebElement</code>.</p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>the location of the top-left corner of this element on the page </p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="WebBrowser$Element.html" class="extype" name="org.scalatest.selenium.WebBrowser.Element">Element</a></dd></dl></div> </li><li name="scala.AnyRef#ne" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="ne(x$1:AnyRef):Boolean"></a> <a id="ne(AnyRef):Boolean"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">ne</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.AnyRef">AnyRef</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div> </li><li name="scala.AnyRef#notify" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="notify():Unit"></a> <a id="notify():Unit"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">notify</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div> </li><li name="scala.AnyRef#notifyAll" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="notifyAll():Unit"></a> <a id="notifyAll():Unit"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">notifyAll</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div> </li><li name="org.scalatest.selenium.WebBrowser.Element#size" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="size:WebBrowser.this.Dimension"></a> <a id="size:Dimension"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">size</span><span class="result">: <a href="WebBrowser$Dimension.html" class="extype" name="org.scalatest.selenium.WebBrowser.Dimension">Dimension</a></span> </span> </h4> <p class="shortcomment cmt">The width/height size of this <code>Element</code>.</p><div class="fullcomment"><div class="comment cmt"><p>The width/height size of this <code>Element</code>.</p><p>This invokes <code>getSize</code> on the underlying <code>WebElement</code>.</p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>the size of the element on the page </p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="WebBrowser$Element.html" class="extype" name="org.scalatest.selenium.WebBrowser.Element">Element</a></dd></dl></div> </li><li name="scala.AnyRef#synchronized" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="synchronized[T0](x$1:=&gt;T0):T0"></a> <a id="synchronized[T0](⇒T0):T0"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">synchronized</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="params">(<span name="arg0">arg0: ⇒ <span class="extype" name="java.lang.AnyRef.synchronized.T0">T0</span></span>)</span><span class="result">: <span class="extype" name="java.lang.AnyRef.synchronized.T0">T0</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div> </li><li name="org.scalatest.selenium.WebBrowser.Element#tagName" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="tagName:String"></a> <a id="tagName:String"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">tagName</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span> </span> </h4> <p class="shortcomment cmt">The tag name of this element.</p><div class="fullcomment"><div class="comment cmt"><p>The tag name of this element.</p><p>This method invokes <code>getTagName</code> on the underlying <code>WebElement</code>. Note it returns the name of the tag, not the value of the of the <code>name</code> attribute. For example, it will return will return <code>"input"</code> for the element <code>&lt;input name="city" /&gt;</code>, not <code>"city"</code>.</p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>the tag name of this element </p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="WebBrowser$Element.html" class="extype" name="org.scalatest.selenium.WebBrowser.Element">Element</a></dd></dl></div> </li><li name="org.scalatest.selenium.WebBrowser.Element#text" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="text:String"></a> <a id="text:String"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">text</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span> </span> </h4> <p class="shortcomment cmt">Returns the visible (<em>i.e.</em>, not hidden by CSS) text of this element, including sub-elements, without any leading or trailing whitespace.</p><div class="fullcomment"><div class="comment cmt"><p>Returns the visible (<em>i.e.</em>, not hidden by CSS) text of this element, including sub-elements, without any leading or trailing whitespace. </p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>the visible text enclosed by this element, or an empty string, if the element encloses no visible text </p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="WebBrowser$Element.html" class="extype" name="org.scalatest.selenium.WebBrowser.Element">Element</a></dd></dl></div> </li><li name="org.scalatest.selenium.WebBrowser.Element#toString" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="toString():String"></a> <a id="toString():String"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span> </span> </h4> <p class="shortcomment cmt">Returns the result of invoking <code>toString</code> on the underlying <code>Element</code>.</p><div class="fullcomment"><div class="comment cmt"><p>Returns the result of invoking <code>toString</code> on the underlying <code>Element</code>. </p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>a string representation of this object </p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="WebBrowser$Element.html" class="extype" name="org.scalatest.selenium.WebBrowser.Element">Element</a> → AnyRef → Any</dd></dl></div> </li><li name="org.scalatest.selenium.WebBrowser.DateField#underlying" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="underlying:org.openqa.selenium.WebElement"></a> <a id="underlying:WebElement"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">val</span> </span> <span class="symbol"> <span class="name">underlying</span><span class="result">: <span class="extype" name="org.openqa.selenium.WebElement">WebElement</span></span> </span> </h4> <p class="shortcomment cmt">the <code>WebElement</code> representing a date field</p><div class="fullcomment"><div class="comment cmt"><p>the <code>WebElement</code> representing a date field</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="" class="extype" name="org.scalatest.selenium.WebBrowser.DateField">DateField</a> → <a href="WebBrowser$ValueElement.html" class="extype" name="org.scalatest.selenium.WebBrowser.ValueElement">ValueElement</a> → <a href="WebBrowser$Element.html" class="extype" name="org.scalatest.selenium.WebBrowser.Element">Element</a></dd></dl></div> </li><li name="org.scalatest.selenium.WebBrowser.ValueElement#value" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="value:String"></a> <a id="value:String"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">value</span><span class="result">: <span class="extype" name="scala.Predef.String">String</span></span> </span> </h4> <p class="shortcomment cmt">Gets this field's value.</p><div class="fullcomment"><div class="comment cmt"><p>Gets this field's value.</p><p>This method invokes <code>getAttribute("value")</code> on the underlying <code>WebElement</code>.</p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>the field's value </p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="WebBrowser$ValueElement.html" class="extype" name="org.scalatest.selenium.WebBrowser.ValueElement">ValueElement</a></dd></dl></div> </li><li name="org.scalatest.selenium.WebBrowser.ValueElement#value_=" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="value_=(value:String):Unit"></a> <a id="value_=(String):Unit"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span title="gt4s: value_$eq" class="name">value_=</span><span class="params">(<span name="value">value: <span class="extype" name="scala.Predef.String">String</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <p class="shortcomment cmt">Sets this field's value.</p><div class="fullcomment"><div class="comment cmt"><p>Sets this field's value. </p></div><dl class="paramcmts block"><dt class="param">value</dt><dd class="cmt"><p>the new value </p></dd></dl><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="WebBrowser$ValueElement.html" class="extype" name="org.scalatest.selenium.WebBrowser.ValueElement">ValueElement</a></dd></dl></div> </li><li name="scala.AnyRef#wait" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="wait():Unit"></a> <a id="wait():Unit"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">wait</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> <span class="name">@throws</span><span class="args">()</span> </dd></dl></div> </li><li name="scala.AnyRef#wait" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="wait(x$1:Long,x$2:Int):Unit"></a> <a id="wait(Long,Int):Unit"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">wait</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Long">Long</span></span>, <span name="arg1">arg1: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> <span class="name">@throws</span><span class="args">()</span> </dd></dl></div> </li><li name="scala.AnyRef#wait" visbl="pub" data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="wait(x$1:Long):Unit"></a> <a id="wait(Long):Unit"></a> <h4 class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">wait</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Long">Long</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> <span class="name">@throws</span><span class="args">()</span> </dd></dl></div> </li></ol> </div> </div> <div id="inheritedMembers"> <div class="parent" name="org.scalatest.selenium.WebBrowser.ValueElement"> <h3>Inherited from <a href="WebBrowser$ValueElement.html" class="extype" name="org.scalatest.selenium.WebBrowser.ValueElement">ValueElement</a></h3> </div><div class="parent" name="org.scalatest.selenium.WebBrowser.Element"> <h3>Inherited from <a href="WebBrowser$Element.html" class="extype" name="org.scalatest.selenium.WebBrowser.Element">Element</a></h3> </div><div class="parent" name="scala.AnyRef"> <h3>Inherited from <span class="extype" name="scala.AnyRef">AnyRef</span></h3> </div><div class="parent" name="scala.Any"> <h3>Inherited from <span class="extype" name="scala.Any">Any</span></h3> </div> </div> <div id="groupedMembers"> <div class="group" name="Ungrouped"> <h3>Ungrouped</h3> </div> </div> </div> <div id="tooltip"></div> <div id="footer"> </div> </body> </html>
scalatest/scalatest-website
public/scaladoc/2.2.4/org/scalatest/selenium/WebBrowser$DateField.html
HTML
apache-2.0
43,461
<!DOCTYPE html > <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <title>ScalaTest 3.0.8 - org.scalatest.fixture.AsyncFreeSpecLike.ResultOfTaggedAsInvocationOnString</title> <meta name="description" content="ScalaTest 3.0.8 - org.scalatest.fixture.AsyncFreeSpecLike.ResultOfTaggedAsInvocationOnString" /> <meta name="keywords" content="ScalaTest 3.0.8 org.scalatest.fixture.AsyncFreeSpecLike.ResultOfTaggedAsInvocationOnString" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <link href="../../../lib/index.css" media="screen" type="text/css" rel="stylesheet" /> <link href="../../../lib/template.css" media="screen" type="text/css" rel="stylesheet" /> <link href="../../../lib/diagrams.css" media="screen" type="text/css" rel="stylesheet" id="diagrams-css" /> <script type="text/javascript" src="../../../lib/jquery.js"></script> <script type="text/javascript" src="../../../lib/jquery.panzoom.min.js"></script> <script type="text/javascript" src="../../../lib/jquery.mousewheel.min.js"></script> <script type="text/javascript" src="../../../lib/index.js"></script> <script type="text/javascript" src="../../../index.js"></script> <script type="text/javascript" src="../../../lib/scheduler.js"></script> <script type="text/javascript" src="../../../lib/template.js"></script> <script type="text/javascript" src="../../../lib/tools.tooltip.js"></script> <script type="text/javascript"> /* this variable can be used by the JS to determine the path to the root document */ var toRoot = '../../../'; </script> </head> <body> <div id="search"> <span id="doc-title">ScalaTest 3.0.8<span id="doc-version"></span></span> <span class="close-results"><span class="left">&lt;</span> Back</span> <div id="textfilter"> <span class="input"> <input autocapitalize="none" placeholder="Search" id="index-input" type="text" accesskey="/" /> <i class="clear material-icons"></i> <i id="search-icon" class="material-icons"></i> </span> </div> </div> <div id="search-results"> <div id="search-progress"> <div id="progress-fill"></div> </div> <div id="results-content"> <div id="entity-results"></div> <div id="member-results"></div> </div> </div> <div id="content-scroll-container" style="-webkit-overflow-scrolling: touch;"> <div id="content-container" style="-webkit-overflow-scrolling: touch;"> <div id="subpackage-spacer"> <div id="packages"> <h1>Packages</h1> <ul> <li name="_root_.root" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="_root_"></a><a id="root:_root_"></a> <span class="permalink"> <a href="index.html#_root_" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">package</span> </span> <span class="symbol"> <a title="" href="../../../index.html"><span class="name">root</span></a> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../../../index.html" class="extype" name="_root_">root</a></dd></dl></div> </li><li name="_root_.org" visbl="pub" class="indented1 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="org"></a><a id="org:org"></a> <span class="permalink"> <a href="index.html#org" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">package</span> </span> <span class="symbol"> <a title="" href="../../index.html"><span class="name">org</span></a> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../../../index.html" class="extype" name="_root_">root</a></dd></dl></div> </li><li name="org.scalatest" visbl="pub" class="indented2 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="scalatest"></a><a id="scalatest:scalatest"></a> <span class="permalink"> <a href="../org/index.html#scalatest" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">package</span> </span> <span class="symbol"> <a title="ScalaTest's main traits, classes, and other members, including members supporting ScalaTest's DSL for the Scala interpreter." href="../index.html"><span class="name">scalatest</span></a> </span> <p class="shortcomment cmt">ScalaTest's main traits, classes, and other members, including members supporting ScalaTest's DSL for the Scala interpreter.</p><div class="fullcomment"><div class="comment cmt"><p>ScalaTest's main traits, classes, and other members, including members supporting ScalaTest's DSL for the Scala interpreter. </p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../../index.html" class="extype" name="org">org</a></dd></dl></div> </li><li name="org.scalatest.fixture" visbl="pub" class="indented3 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="fixture"></a><a id="fixture:fixture"></a> <span class="permalink"> <a href="../../org/scalatest/index.html#fixture" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">package</span> </span> <span class="symbol"> <a title="" href="index.html"><span class="name">fixture</span></a> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="../index.html" class="extype" name="org.scalatest">scalatest</a></dd></dl></div> </li><li name="org.scalatest.fixture.AsyncFreeSpecLike" visbl="pub" class="indented4 " data-isabs="true" fullComment="yes" group="Ungrouped"> <a id="AsyncFreeSpecLikeextendsAsyncTestSuitewithAsyncTestRegistrationwithInformingwithNotifyingwithAlertingwithDocumenting"></a><a id="AsyncFreeSpecLike:AsyncFreeSpecLike"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/index.html#AsyncFreeSpecLikeextendsAsyncTestSuitewithAsyncTestRegistrationwithInformingwithNotifyingwithAlertingwithDocumenting" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">trait</span> </span> <span class="symbol"> <a title="Implementation trait for class fixture.AsyncFreeSpec, which is a sister class to org.scalatest.AsyncFreeSpec that can pass a fixture object into its tests." href="AsyncFreeSpecLike.html"><span class="name">AsyncFreeSpecLike</span></a><span class="result"> extends <a href="AsyncTestSuite.html" class="extype" name="org.scalatest.fixture.AsyncTestSuite">AsyncTestSuite</a> with <a href="AsyncTestRegistration.html" class="extype" name="org.scalatest.fixture.AsyncTestRegistration">AsyncTestRegistration</a> with <a href="../Informing.html" class="extype" name="org.scalatest.Informing">Informing</a> with <a href="../Notifying.html" class="extype" name="org.scalatest.Notifying">Notifying</a> with <a href="../Alerting.html" class="extype" name="org.scalatest.Alerting">Alerting</a> with <a href="../Documenting.html" class="extype" name="org.scalatest.Documenting">Documenting</a></span> </span> <p class="shortcomment cmt">Implementation trait for class <code>fixture.AsyncFreeSpec</code>, which is a sister class to <code>org.scalatest.AsyncFreeSpec</code> that can pass a fixture object into its tests.</p><div class="fullcomment"><div class="comment cmt"><p>Implementation trait for class <code>fixture.AsyncFreeSpec</code>, which is a sister class to <code>org.scalatest.AsyncFreeSpec</code> that can pass a fixture object into its tests.</p><p><a href="AsyncFreeSpec.html"><code>fixture.AsyncFreeSpec</code></a> is a class, not a trait, to minimize compile time given there is a slight compiler overhead to mixing in traits compared to extending classes. If you need to mix the behavior of <code>fixture.AsyncFreeSpec</code> into some other class, you can use this trait instead, because class <code>fixture.AsyncFreeSpec</code> does nothing more than extend this trait and add a nice <code>toString</code> implementation.</p><p>See the documentation of the class for a <a href="AsyncFreeSpec.html">detailed overview of <code>fixture.AsyncFreeSpec</code></a>.</p></div><dl class="attributes block"> <dt>Definition Classes</dt><dd><a href="index.html" class="extype" name="org.scalatest.fixture">fixture</a></dd></dl></div> </li><li class="current-entities indented4"> <span class="separator"></span> <a class="class" href="../Assertions$AssertionsHelper.html" title="Helper class used by code generated by the assert macro."></a> <a href="../Assertions$AssertionsHelper.html" title="Helper class used by code generated by the assert macro.">AssertionsHelper</a> </li><li class="current-entities indented4"> <span class="separator"></span> <a class="class" href="AsyncFreeSpecLike$CheckingEqualizer.html" title=""></a> <a href="AsyncFreeSpecLike$CheckingEqualizer.html" title="">CheckingEqualizer</a> </li><li class="current-entities indented4"> <span class="separator"></span> <a class="class" href="AsyncFreeSpecLike$Equalizer.html" title=""></a> <a href="AsyncFreeSpecLike$Equalizer.html" title="">Equalizer</a> </li><li class="current-entities indented4"> <span class="separator"></span> <a class="abstract type" href="AsyncFreeSpecLike$FixtureParam.html" title="The type of the fixture parameter that can be passed into tests in this suite."></a> <a href="AsyncFreeSpecLike$FixtureParam.html" title="The type of the fixture parameter that can be passed into tests in this suite.">FixtureParam</a> </li><li class="current-entities indented4"> <span class="separator"></span> <a class="class" href="AsyncFreeSpecLike$FreeSpecStringWrapper.html" title="A class that via an implicit conversion (named convertToFreeSpecStringWrapper) enables methods when, that, in, is, taggedAs and ignore to be invoked on Strings."></a> <a href="AsyncFreeSpecLike$FreeSpecStringWrapper.html" title="A class that via an implicit conversion (named convertToFreeSpecStringWrapper) enables methods when, that, in, is, taggedAs and ignore to be invoked on Strings.">FreeSpecStringWrapper</a> </li><li class="current-entities indented4"> <span class="separator"></span> <a class="trait" href="../AsyncTestSuite$NoArgAsyncTest.html" title="A test function taking no arguments and returning a FutureOutcome."></a> <a href="../AsyncTestSuite$NoArgAsyncTest.html" title="A test function taking no arguments and returning a FutureOutcome.">NoArgAsyncTest</a> </li><li class="current-entities indented4"> <span class="separator"></span> <a class="trait" href="AsyncTestSuite$OneArgAsyncTest.html" title="A test function taking no arguments and returning an FutureOutcome."></a> <a href="AsyncTestSuite$OneArgAsyncTest.html" title="A test function taking no arguments and returning an FutureOutcome.">OneArgAsyncTest</a> </li><li class="current-entities indented4"> <span class="separator"></span> <a class="class" href="../CompleteLastly$ResultOfCompleteInvocation.html" title="Class that provides the lastly method of the complete-lastly syntax."></a> <a href="../CompleteLastly$ResultOfCompleteInvocation.html" title="Class that provides the lastly method of the complete-lastly syntax.">ResultOfCompleteInvocation</a> </li><li class="current-entities indented4"> <span class="separator"></span> <a class="class" href="" title="Class that supports the registration of tagged tests."></a> <a href="" title="Class that supports the registration of tagged tests.">ResultOfTaggedAsInvocationOnString</a> </li> </ul> </div> </div> <div id="content"> <body class="class type"> <!-- Top of doc.scalatest.org [javascript] --> <script type="text/javascript"> var rnd = window.rnd || Math.floor(Math.random()*10e6); var pid204546 = window.pid204546 || rnd; var plc204546 = window.plc204546 || 0; var abkw = window.abkw || ''; var absrc = 'http://ab167933.adbutler-ikon.com/adserve/;ID=167933;size=468x60;setID=204546;type=js;sw='+screen.width+';sh='+screen.height+';spr='+window.devicePixelRatio+';kw='+abkw+';pid='+pid204546+';place='+(plc204546++)+';rnd='+rnd+';click=CLICK_MACRO_PLACEHOLDER'; document.write('<scr'+'ipt src="'+absrc+'" type="text/javascript"></scr'+'ipt>'); </script> <div id="definition"> <div class="big-circle class">c</div> <p id="owner"><a href="../../index.html" class="extype" name="org">org</a>.<a href="../index.html" class="extype" name="org.scalatest">scalatest</a>.<a href="index.html" class="extype" name="org.scalatest.fixture">fixture</a>.<a href="AsyncFreeSpecLike.html" class="extype" name="org.scalatest.fixture.AsyncFreeSpecLike">AsyncFreeSpecLike</a></p> <h1>ResultOfTaggedAsInvocationOnString<span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html" title="Permalink"> <i class="material-icons"></i> </a> </span></h1> <h3><span class="morelinks"></span></h3> </div> <h4 id="signature" class="signature"> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">class</span> </span> <span class="symbol"> <span class="name">ResultOfTaggedAsInvocationOnString</span><span class="result"> extends <span class="extype" name="scala.AnyRef">AnyRef</span></span> </span> </h4> <div id="comment" class="fullcommenttop"><div class="comment cmt"><p>Class that supports the registration of tagged tests.</p><p>Instances of this class are returned by the <code>taggedAs</code> method of class <code>FreeSpecStringWrapper</code>.</p></div><dl class="attributes block"> <dt>Attributes</dt><dd>protected </dd><dt>Source</dt><dd><a href="https://github.com/scalatest/scalatest/tree/release-3.0.8/scalatest//src/main/scala/org/scalatest/fixture/AsyncFreeSpecLike.scala" target="_blank">AsyncFreeSpecLike.scala</a></dd></dl><div class="toggleContainer block"> <span class="toggle"> Linear Supertypes </span> <div class="superTypes hiddenContent"><span class="extype" name="scala.AnyRef">AnyRef</span>, <span class="extype" name="scala.Any">Any</span></div> </div></div> <div id="mbrsel"> <div class="toggle"></div> <div id="memberfilter"> <i class="material-icons arrow"></i> <span class="input"> <input id="mbrsel-input" placeholder="Filter all members" type="text" accesskey="/" /> </span> <i class="clear material-icons"></i> </div> <div id="filterby"> <div id="order"> <span class="filtertype">Ordering</span> <ol> <li class="alpha in"><span>Alphabetic</span></li> <li class="inherit out"><span>By Inheritance</span></li> </ol> </div> <div class="ancestors"> <span class="filtertype">Inherited<br /> </span> <ol id="linearization"> <li class="in" name="org.scalatest.fixture.AsyncFreeSpecLike.ResultOfTaggedAsInvocationOnString"><span>ResultOfTaggedAsInvocationOnString</span></li><li class="in" name="scala.AnyRef"><span>AnyRef</span></li><li class="in" name="scala.Any"><span>Any</span></li> </ol> </div><div class="ancestors"> <span class="filtertype"></span> <ol> <li class="hideall out"><span>Hide All</span></li> <li class="showall in"><span>Show All</span></li> </ol> </div> <div id="visbl"> <span class="filtertype">Visibility</span> <ol><li class="public in"><span>Public</span></li><li class="all out"><span>All</span></li></ol> </div> </div> </div> <div id="template"> <div id="allMembers"> <div id="constructors" class="members"> <h3>Instance Constructors</h3> <ol><li name="org.scalatest.fixture.AsyncFreeSpecLike.ResultOfTaggedAsInvocationOnString#&lt;init&gt;" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="&lt;init&gt;(specText:String,tags:List[org.scalatest.Tag],pos:org.scalactic.source.Position):AsyncFreeSpecLike.this.ResultOfTaggedAsInvocationOnString"></a><a id="&lt;init&gt;:ResultOfTaggedAsInvocationOnString"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#&lt;init&gt;(specText:String,tags:List[org.scalatest.Tag],pos:org.scalactic.source.Position):AsyncFreeSpecLike.this.ResultOfTaggedAsInvocationOnString" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">new</span> </span> <span class="symbol"> <span class="name">ResultOfTaggedAsInvocationOnString</span><span class="params">(<span name="specText">specText: <span class="extype" name="scala.Predef.String">String</span></span>, <span name="tags">tags: <span class="extype" name="scala.List">List</span>[<a href="../Tag.html" class="extype" name="org.scalatest.Tag">Tag</a>]</span>, <span name="pos">pos: <span class="extype" name="org.scalactic.source.Position">Position</span></span>)</span> </span> <p class="shortcomment cmt"></p><div class="fullcomment"><div class="comment cmt"></div><dl class="paramcmts block"><dt class="param">specText</dt><dd class="cmt"><p>the specification text</p></dd><dt class="param">tags</dt><dd class="cmt"><p>the list of tags</p></dd></dl></div> </li></ol> </div> <div class="values members"> <h3>Value Members</h3> <ol> <li name="scala.AnyRef#!=" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="!=(x$1:Any):Boolean"></a><a id="!=(Any):Boolean"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#!=(x$1:Any):Boolean" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span title="gt4s: $bang$eq" class="name">!=</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div> </li><li name="scala.AnyRef###" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="##():Int"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html###():Int" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span title="gt4s: $hash$hash" class="name">##</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div> </li><li name="scala.AnyRef#==" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="==(x$1:Any):Boolean"></a><a id="==(Any):Boolean"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#==(x$1:Any):Boolean" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span title="gt4s: $eq$eq" class="name">==</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div> </li><li name="scala.Any#asInstanceOf" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="asInstanceOf[T0]:T0"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#asInstanceOf[T0]:T0" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">asInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="result">: <span class="extype" name="scala.Any.asInstanceOf.T0">T0</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div> </li><li name="scala.AnyRef#clone" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="clone():Object"></a><a id="clone():AnyRef"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#clone():Object" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">clone</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.AnyRef">AnyRef</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected[<a href="../../../java/lang/index.html" class="extype" name="java.lang">java.lang</a>] </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> <span class="name">@native</span><span class="args">()</span> <span class="name">@throws</span><span class="args">(<span> <span class="defval" name="classOf[java.lang.CloneNotSupportedException]">...</span> </span>)</span> </dd></dl></div> </li><li name="scala.AnyRef#eq" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="eq(x$1:AnyRef):Boolean"></a><a id="eq(AnyRef):Boolean"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#eq(x$1:AnyRef):Boolean" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">eq</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.AnyRef">AnyRef</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div> </li><li name="scala.AnyRef#equals" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="equals(x$1:Any):Boolean"></a><a id="equals(Any):Boolean"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#equals(x$1:Any):Boolean" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div> </li><li name="scala.AnyRef#finalize" visbl="prt" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="finalize():Unit"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#finalize():Unit" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">finalize</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Attributes</dt><dd>protected[<a href="../../../java/lang/index.html" class="extype" name="java.lang">java.lang</a>] </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> <span class="name">@throws</span><span class="args">(<span> <span class="symbol">classOf[java.lang.Throwable]</span> </span>)</span> </dd></dl></div> </li><li name="scala.AnyRef#getClass" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="getClass():Class[_]"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#getClass():Class[_]" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">getClass</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.Class">Class</span>[_]</span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd><dt>Annotations</dt><dd> <span class="name">@native</span><span class="args">()</span> </dd></dl></div> </li><li name="scala.AnyRef#hashCode" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="hashCode():Int"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#hashCode():Int" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd><dt>Annotations</dt><dd> <span class="name">@native</span><span class="args">()</span> </dd></dl></div> </li><li name="org.scalatest.fixture.AsyncFreeSpecLike.ResultOfTaggedAsInvocationOnString#ignore" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="ignore(testFun:()=&gt;scala.concurrent.Future[org.scalatest.compatible.Assertion]):Unit"></a><a id="ignore(()⇒Future[compatible.Assertion]):Unit"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#ignore(testFun:()=&gt;scala.concurrent.Future[org.scalatest.compatible.Assertion]):Unit" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">ignore</span><span class="params">(<span name="testFun">testFun: () ⇒ <span class="extype" name="scala.concurrent.Future">Future</span>[<a href="../compatible/Assertion.html" class="extype" name="org.scalatest.compatible.Assertion">compatible.Assertion</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> <p class="shortcomment cmt">Supports registration of tagged, ignored tests that take no fixture parameter.</p><div class="fullcomment"><div class="comment cmt"><p>Supports registration of tagged, ignored tests that take no fixture parameter.</p><p>For example, this method supports syntax such as the following:</p><p><pre class="stHighlighted"> <span class="stQuotedString">"complain on peek"</span> taggedAs(<span class="stType">SlowTest</span>) ignore { () => ... } ^ </pre></p><p>For more information and examples of this method's use, see the <a href="FreeSpec.html">main documentation</a> for trait <code>FreeSpec</code>.</p></div><dl class="paramcmts block"><dt class="param">testFun</dt><dd class="cmt"><p>the test function</p></dd></dl></div> </li><li name="org.scalatest.fixture.AsyncFreeSpecLike.ResultOfTaggedAsInvocationOnString#ignore" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="ignore(testFun:AsyncFreeSpecLike.this.FixtureParam=&gt;scala.concurrent.Future[org.scalatest.compatible.Assertion]):Unit"></a><a id="ignore((AsyncFreeSpecLike.FixtureParam)⇒Future[compatible.Assertion]):Unit"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#ignore(testFun:AsyncFreeSpecLike.this.FixtureParam=&gt;scala.concurrent.Future[org.scalatest.compatible.Assertion]):Unit" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">ignore</span><span class="params">(<span name="testFun">testFun: (<a href="AsyncFreeSpecLike.html#FixtureParam" class="extmbr" name="org.scalatest.fixture.AsyncFreeSpecLike.FixtureParam">AsyncFreeSpecLike.FixtureParam</a>) ⇒ <span class="extype" name="scala.concurrent.Future">Future</span>[<a href="../compatible/Assertion.html" class="extype" name="org.scalatest.compatible.Assertion">compatible.Assertion</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> <p class="shortcomment cmt">Supports registration of tagged, ignored tests.</p><div class="fullcomment"><div class="comment cmt"><p>Supports registration of tagged, ignored tests.</p><p>For example, this method supports syntax such as the following:</p><p><pre class="stHighlighted"> <span class="stQuotedString">"complain on peek"</span> taggedAs(<span class="stType">SlowTest</span>) ignore { fixture => ... } ^ </pre></p><p>For more information and examples of this method's use, see the <a href="FreeSpec.html">main documentation</a> for trait <code>FreeSpec</code>.</p></div><dl class="paramcmts block"><dt class="param">testFun</dt><dd class="cmt"><p>the test function</p></dd></dl></div> </li><li name="org.scalatest.fixture.AsyncFreeSpecLike.ResultOfTaggedAsInvocationOnString#in" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="in(testFun:()=&gt;scala.concurrent.Future[org.scalatest.compatible.Assertion]):Unit"></a><a id="in(()⇒Future[compatible.Assertion]):Unit"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#in(testFun:()=&gt;scala.concurrent.Future[org.scalatest.compatible.Assertion]):Unit" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">in</span><span class="params">(<span name="testFun">testFun: () ⇒ <span class="extype" name="scala.concurrent.Future">Future</span>[<a href="../compatible/Assertion.html" class="extype" name="org.scalatest.compatible.Assertion">compatible.Assertion</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> <p class="shortcomment cmt">Supports tagged test registration, for tests that don't take a fixture.</p><div class="fullcomment"><div class="comment cmt"><p>Supports tagged test registration, for tests that don't take a fixture.</p><p>For example, this method supports syntax such as the following:</p><p><pre class="stHighlighted"> <span class="stQuotedString">"complain on peek"</span> taggedAs(<span class="stType">SlowTest</span>) in { () => ... } ^ </pre></p><p>For more information and examples of this method's use, see the <a href="FreeSpec.html">main documentation</a> for trait <code>FreeSpec</code>.</p></div><dl class="paramcmts block"><dt class="param">testFun</dt><dd class="cmt"><p>the test function</p></dd></dl></div> </li><li name="org.scalatest.fixture.AsyncFreeSpecLike.ResultOfTaggedAsInvocationOnString#in" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="in(testFun:AsyncFreeSpecLike.this.FixtureParam=&gt;scala.concurrent.Future[org.scalatest.compatible.Assertion]):Unit"></a><a id="in((AsyncFreeSpecLike.FixtureParam)⇒Future[compatible.Assertion]):Unit"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#in(testFun:AsyncFreeSpecLike.this.FixtureParam=&gt;scala.concurrent.Future[org.scalatest.compatible.Assertion]):Unit" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">in</span><span class="params">(<span name="testFun">testFun: (<a href="AsyncFreeSpecLike.html#FixtureParam" class="extmbr" name="org.scalatest.fixture.AsyncFreeSpecLike.FixtureParam">AsyncFreeSpecLike.FixtureParam</a>) ⇒ <span class="extype" name="scala.concurrent.Future">Future</span>[<a href="../compatible/Assertion.html" class="extype" name="org.scalatest.compatible.Assertion">compatible.Assertion</a>]</span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> <p class="shortcomment cmt">Supports tagged test registration.</p><div class="fullcomment"><div class="comment cmt"><p>Supports tagged test registration.</p><p>For example, this method supports syntax such as the following:</p><p><pre class="stHighlighted"> <span class="stQuotedString">"complain on peek"</span> taggedAs(<span class="stType">SlowTest</span>) in { fixture => ... } ^ </pre></p><p>For more information and examples of this method's use, see the <a href="FreeSpec.html">main documentation</a> for trait <code>FreeSpec</code>.</p></div><dl class="paramcmts block"><dt class="param">testFun</dt><dd class="cmt"><p>the test function</p></dd></dl></div> </li><li name="org.scalatest.fixture.AsyncFreeSpecLike.ResultOfTaggedAsInvocationOnString#is" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="is(testFun:=&gt;org.scalatest.PendingStatement):Unit"></a><a id="is(⇒PendingStatement):Unit"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#is(testFun:=&gt;org.scalatest.PendingStatement):Unit" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">is</span><span class="params">(<span name="testFun">testFun: ⇒ <a href="../PendingStatement.html" class="extype" name="org.scalatest.PendingStatement">PendingStatement</a></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> <p class="shortcomment cmt">Supports registration of tagged, pending tests.</p><div class="fullcomment"><div class="comment cmt"><p>Supports registration of tagged, pending tests.</p><p>For example, this method supports syntax such as the following:</p><p><pre class="stHighlighted"> <span class="stQuotedString">"complain on peek"</span> taggedAs(<span class="stType">SlowTest</span>) is (pending) ^ </pre></p><p>For more information and examples of this method's use, see the <a href="FreeSpec.html">main documentation</a> for trait <code>FreeSpec</code>.</p></div><dl class="paramcmts block"><dt class="param">testFun</dt><dd class="cmt"><p>the test function</p></dd></dl></div> </li><li name="scala.Any#isInstanceOf" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="isInstanceOf[T0]:Boolean"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#isInstanceOf[T0]:Boolean" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">isInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>Any</dd></dl></div> </li><li name="scala.AnyRef#ne" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="ne(x$1:AnyRef):Boolean"></a><a id="ne(AnyRef):Boolean"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#ne(x$1:AnyRef):Boolean" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">ne</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.AnyRef">AnyRef</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div> </li><li name="scala.AnyRef#notify" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="notify():Unit"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#notify():Unit" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">notify</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> <span class="name">@native</span><span class="args">()</span> </dd></dl></div> </li><li name="scala.AnyRef#notifyAll" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="notifyAll():Unit"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#notifyAll():Unit" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">notifyAll</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> <span class="name">@native</span><span class="args">()</span> </dd></dl></div> </li><li name="scala.AnyRef#synchronized" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="synchronized[T0](x$1:=&gt;T0):T0"></a><a id="synchronized[T0](⇒T0):T0"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#synchronized[T0](x$1:=&gt;T0):T0" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">synchronized</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="params">(<span name="arg0">arg0: ⇒ <span class="extype" name="java.lang.AnyRef.synchronized.T0">T0</span></span>)</span><span class="result">: <span class="extype" name="java.lang.AnyRef.synchronized.T0">T0</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd></dl></div> </li><li name="scala.AnyRef#toString" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="toString():String"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#toString():String" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier"></span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div> </li><li name="scala.AnyRef#wait" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="wait():Unit"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#wait():Unit" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">wait</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> <span class="name">@throws</span><span class="args">(<span> <span class="defval" name="classOf[java.lang.InterruptedException]">...</span> </span>)</span> </dd></dl></div> </li><li name="scala.AnyRef#wait" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="wait(x$1:Long,x$2:Int):Unit"></a><a id="wait(Long,Int):Unit"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#wait(x$1:Long,x$2:Int):Unit" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">wait</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Long">Long</span></span>, <span name="arg1">arg1: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> <span class="name">@throws</span><span class="args">(<span> <span class="defval" name="classOf[java.lang.InterruptedException]">...</span> </span>)</span> </dd></dl></div> </li><li name="scala.AnyRef#wait" visbl="pub" class="indented0 " data-isabs="false" fullComment="yes" group="Ungrouped"> <a id="wait(x$1:Long):Unit"></a><a id="wait(Long):Unit"></a> <span class="permalink"> <a href="../../../org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html#wait(x$1:Long):Unit" title="Permalink"> <i class="material-icons"></i> </a> </span> <span class="modifier_kind"> <span class="modifier">final </span> <span class="kind">def</span> </span> <span class="symbol"> <span class="name">wait</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Long">Long</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> <div class="fullcomment"><dl class="attributes block"> <dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd> <span class="name">@native</span><span class="args">()</span> <span class="name">@throws</span><span class="args">(<span> <span class="defval" name="classOf[java.lang.InterruptedException]">...</span> </span>)</span> </dd></dl></div> </li> </ol> </div> </div> <div id="inheritedMembers"> <div class="parent" name="scala.AnyRef"> <h3>Inherited from <span class="extype" name="scala.AnyRef">AnyRef</span></h3> </div><div class="parent" name="scala.Any"> <h3>Inherited from <span class="extype" name="scala.Any">Any</span></h3> </div> </div> <div id="groupedMembers"> <div class="group" name="Ungrouped"> <h3>Ungrouped</h3> </div> </div> </div> <div id="tooltip"></div> <div id="footer"> </div> </body> </div> </div> </div> </body> </html>
scalatest/scalatest-website
public/scaladoc/3.0.8/org/scalatest/fixture/AsyncFreeSpecLike$ResultOfTaggedAsInvocationOnString.html
HTML
apache-2.0
50,396
package org.drools.rule; /* * Copyright 2005 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * This exception is thrown when an invalid package (ie one that has errors) * it attempted to be added to a RuleBase. * The package and builder should be interrogated to show the specific errors. * * @author Michael Neale */ public class InvalidRulePackage extends RuntimeException { private static final long serialVersionUID = 400L; public InvalidRulePackage(final String summary) { super( summary ); } }
bobmcwhirter/drools
drools-core/src/main/java/org/drools/rule/InvalidRulePackage.java
Java
apache-2.0
1,064
package com.twu.biblioteca.service.impl; import com.twu.biblioteca.mapper.BookListMapper; import com.twu.biblioteca.mapper.MyBatisUtil; import com.twu.biblioteca.model.Book; import com.twu.biblioteca.service.BookListService; import org.apache.ibatis.session.SqlSession; import java.util.ArrayList; public class BookListServiceImpl implements BookListService { private SqlSession sqlSession; private BookListMapper bookListMapper; public BookListServiceImpl() { this.sqlSession = MyBatisUtil.getSqlSessionFactory().openSession(); this.bookListMapper = sqlSession.getMapper(BookListMapper.class); } public BookListServiceImpl(BookListMapper bookListMapper) { this.bookListMapper = bookListMapper; } @Override public ArrayList<Book> getBookList() { return bookListMapper.getBookList(); } }
niuwanlu/twu-biblioteca-niuwanlu-tdd
src/main/java/com/twu/biblioteca/service/impl/BookListServiceImpl.java
Java
apache-2.0
863
/************************************************************************** * Copyright 2015 John Denholm * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/licenses/LICENSE-2.0 * * * * Unless required by applicable law or agreed to in writing, software * * distributed under the License is distributed on an "AS IS" BASIS, * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.* * See the License for the specific language governing permissions and * * limitations under the License. * * * * * * selfstats.h - defines self reporting functions * * * * Updates: * **************************************************************************/ #ifndef CARBON_COPY_SELFSTATS_H #define CARBON_COPY_SELFSTATS_H #define DEFAULT_SELF_PREFIX "self.carbon_copy." #define DEFAULT_SELF_INTERVAL 10 enum self_timestamp_type { SELF_TSTYPE_SEC = 0, SELF_TSTYPE_MSEC, SELF_TSTYPE_USEC, SELF_TSTYPE_NSEC, SELF_TSTYPE_NONE, SELF_TSTYPE_MAX }; extern const char *self_ts_types[SELF_TSTYPE_MAX]; struct selfstats_control { HOST * host; BUF * buf; char * prefix; char * ts; int64_t intv; int64_t tsdiv; int tstype; int enabled; int tslen; uint32_t prlen; }; loop_call_fn self_stats_pass; throw_fn self_stats_loop; void self_stats_init( void ); SST_CTL *self_stats_config_defaults( void ); conf_line_fn self_stats_config_line; #endif
ghostflame/ministry
src/carbon-copy/selfstats.h
C
apache-2.0
2,263
/* * Copyright 2015 Thomas Hoffmann * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package de.j4velin.wifiAutoOff; import android.app.IntentService; import android.content.Intent; import com.google.android.gms.location.FusedLocationProviderApi; import com.google.android.gms.location.Geofence; import com.google.android.gms.location.GeofencingEvent; import com.google.android.gms.maps.model.LatLng; public class GeoFenceService extends IntentService { public GeoFenceService() { super("WiFiAutomaticGeoFenceService"); } @Override protected void onHandleIntent(final Intent intent) { if (intent == null) return; if (intent.hasExtra(FusedLocationProviderApi.KEY_LOCATION_CHANGED)) { android.location.Location loc = (android.location.Location) intent.getExtras() .get(FusedLocationProviderApi.KEY_LOCATION_CHANGED); if (BuildConfig.DEBUG) Logger.log("Location update received " + loc); Database db = Database.getInstance(this); if (db.inRangeOfLocation(loc)) { sendBroadcast(new Intent(this, Receiver.class) .setAction(Receiver.LOCATION_ENTERED_ACTION)); } db.close(); } else { GeofencingEvent geofencingEvent = GeofencingEvent.fromIntent(intent); // First check for errors if (geofencingEvent.hasError()) { // Get the error code with a static method // Log the error if (BuildConfig.DEBUG) Logger.log("Location Services error: " + Integer.toString(geofencingEvent.getErrorCode())); } else { // Test that a valid transition was reported if (geofencingEvent.getGeofenceTransition() == Geofence.GEOFENCE_TRANSITION_ENTER) { Database db = Database.getInstance(this); for (Geofence gf : geofencingEvent.getTriggeringGeofences()) { if (BuildConfig.DEBUG) Logger.log("geofence entered: " + gf.getRequestId()); String[] data = gf.getRequestId().split("@"); LatLng ll = new LatLng(Double.parseDouble(data[0]), Double.parseDouble(data[1])); String name = db.getNameForLocation(ll); if (name != null) { sendBroadcast(new Intent(this, Receiver.class) .setAction(Receiver.LOCATION_ENTERED_ACTION) .putExtra(Receiver.EXTRA_LOCATION_NAME, name)); break; } } db.close(); } } } } }
j4velin/WiFi-Automatic
src/play/java/de/j4velin/wifiAutoOff/GeoFenceService.java
Java
apache-2.0
3,340
windmill-game ============= The classic windmill game made in Scala.
Menerve/windmill-game
README.md
Markdown
apache-2.0
70
# Crinum exaltatum Herb. SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Liliopsida/Asparagales/Amaryllidaceae/Crinum/Crinum asiaticum/ Syn. Crinum exaltatum/README.md
Markdown
apache-2.0
179
/* * Copyright 2015-2020 OpenCB * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.opencb.opencga.analysis.individual.qc; import org.junit.Test; import org.opencb.biodata.models.clinical.qc.MendelianErrorReport; import org.opencb.biodata.models.clinical.qc.RelatednessReport; import org.opencb.biodata.models.variant.Variant; import org.opencb.biodata.models.variant.avro.IssueEntry; import org.opencb.biodata.models.variant.avro.IssueType; import org.opencb.opencga.analysis.family.qc.IBDComputation; import org.opencb.opencga.core.common.JacksonUtils; import org.opencb.opencga.core.exceptions.ToolException; import java.io.File; import java.io.IOException; import java.net.URI; import java.nio.file.Paths; import java.util.*; import static org.opencb.opencga.storage.core.variant.VariantStorageBaseTest.getResourceUri; public class IndividualQcUtilsTest { @Test public void buildRelatednessReport() throws ToolException, IOException { URI resourceUri = getResourceUri("ibd.genome"); File file = Paths.get(resourceUri.getPath()).toFile(); List<RelatednessReport.RelatednessScore> relatednessReport = IBDComputation.parseRelatednessScores(file); System.out.println(JacksonUtils.getDefaultNonNullObjectMapper().writerWithDefaultPrettyPrinter().writeValueAsString(relatednessReport)); } @Test public void parseMendelianError() throws IOException { URI resourceUri = getResourceUri("mendelian.error.variants.json"); File file = Paths.get(resourceUri.getPath()).toFile(); List<Variant> variants = Arrays.asList(JacksonUtils.getDefaultNonNullObjectMapper().readValue(file, Variant[].class)); System.out.println(variants.size()); MendelianErrorReport mendelianErrorReport = buildMendelianErrorReport(variants.iterator(), variants.size()); System.out.println(JacksonUtils.getDefaultNonNullObjectMapper().writerWithDefaultPrettyPrinter().writeValueAsString(mendelianErrorReport)); // List<Variant> variants = JacksonUtils.getDefaultNonNullObjectMapper().readerFor(Variant.class).readValue(path.toFile()); // System.out.println(variants.size()); } @Test public void parseKaryotypicSexThresholds() throws IOException { URI resourceUri = getResourceUri("karyotypic_sex_thresholds.json"); File file = Paths.get(resourceUri.getPath()).toFile(); Map<String, Double> thresholds = JacksonUtils.getDefaultNonNullObjectMapper().readerFor(Map.class).readValue(file); System.out.println(JacksonUtils.getDefaultNonNullObjectMapper().writerWithDefaultPrettyPrinter().writeValueAsString(thresholds)); } private MendelianErrorReport buildMendelianErrorReport(Iterator iterator, long numVariants) { // Create auxiliary map // sample chrom error count Map<String, Map<String, Map<String, Integer>>> counter = new HashMap<>(); int numErrors = 0; while (iterator.hasNext()) { Variant variant = (Variant) iterator.next(); // Get sampleId and error code from variant issues boolean foundError = false; for (IssueEntry issue : variant.getStudies().get(0).getIssues()) { if (IssueType.MENDELIAN_ERROR == issue.getType() || IssueType.DE_NOVO == issue.getType()) { foundError = true; String sampleId = issue.getSample().getSampleId(); String errorCode = issue.getSample().getData().get(0); if (!counter.containsKey(sampleId)) { counter.put(sampleId, new HashMap<>()); } if (!counter.get(sampleId).containsKey(variant.getChromosome())) { counter.get(sampleId).put(variant.getChromosome(), new HashMap<>()); } int val = 0; if (counter.get(sampleId).get(variant.getChromosome()).containsKey(errorCode)) { val = counter.get(sampleId).get(variant.getChromosome()).get(errorCode); } counter.get(sampleId).get(variant.getChromosome()).put(errorCode, val + 1); } } if (foundError) { numErrors++; } } // Create mendelian error report from auxiliary map MendelianErrorReport meReport = new MendelianErrorReport(); meReport.setNumErrors(numErrors); for (String sampleId : counter.keySet()) { MendelianErrorReport.SampleAggregation sampleAgg = new MendelianErrorReport.SampleAggregation(); int numSampleErrors = 0; for (String chrom : counter.get(sampleId).keySet()) { int numChromErrors = counter.get(sampleId).get(chrom).values().stream().mapToInt(Integer::intValue).sum(); MendelianErrorReport.SampleAggregation.ChromosomeAggregation chromAgg = new MendelianErrorReport.SampleAggregation.ChromosomeAggregation(); chromAgg.setChromosome(chrom); chromAgg.setNumErrors(numChromErrors); chromAgg.setErrorCodeAggregation(counter.get(sampleId).get(chrom)); // Update sample aggregation sampleAgg.getChromAggregation().add(chromAgg); numSampleErrors += numChromErrors; } sampleAgg.setSample(sampleId); sampleAgg.setNumErrors(numSampleErrors); sampleAgg.setRatio(1.0d * numSampleErrors / numVariants); meReport.getSampleAggregation().add(sampleAgg); } return meReport; } }
opencb/opencga
opencga-analysis/src/test/java/org/opencb/opencga/analysis/individual/qc/IndividualQcUtilsTest.java
Java
apache-2.0
6,198
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.siyeh.ig.redundancy; import com.google.common.collect.ImmutableSet; import com.intellij.codeInspection.ex.InspectionElementsMergerBase; import com.intellij.util.ArrayUtilRt; import org.jdom.Element; import org.jetbrains.annotations.NotNull; import java.util.Map; import java.util.Set; public class RedundantStringOperationMerger extends InspectionElementsMergerBase { private static final String OLD_MERGER_NAME = "RedundantStringOperation"; private static final Set<String> OLD_SOURCE_NAMES = ImmutableSet.of("StringToString", "SubstringZero", "ConstantStringIntern"); @NotNull @Override public String getMergedToolName() { return "StringOperationCanBeSimplified"; } @Override protected Element getSourceElement(@NotNull Map<String, Element> inspectionElements, @NotNull String sourceToolName) { if (inspectionElements.containsKey(sourceToolName)) { return inspectionElements.get(sourceToolName); } if (sourceToolName.equals(OLD_MERGER_NAME)) {//need to merge initial tools to get merged redundant string operations return new InspectionElementsMergerBase(){ @NotNull @Override public String getMergedToolName() { return OLD_MERGER_NAME; } @Override public String @NotNull [] getSourceToolNames() { return ArrayUtilRt.toStringArray(OLD_SOURCE_NAMES); } @Override public Element merge(@NotNull Map<String, Element> inspectionElements) { return super.merge(inspectionElements); } @Override protected boolean writeMergedContent(@NotNull Element toolElement) { return true; } }.merge(inspectionElements); } else if (OLD_SOURCE_NAMES.contains(sourceToolName)) { Element merged = inspectionElements.get(OLD_MERGER_NAME); if (merged != null) { // RedundantStringOperation already replaced the content Element clone = merged.clone(); clone.setAttribute("class", sourceToolName); return clone; } } return null; } @Override public String @NotNull [] getSourceToolNames() { return new String[] { "StringToString", "SubstringZero", "ConstantStringIntern", "StringConstructor", OLD_MERGER_NAME }; } @Override public String @NotNull [] getSuppressIds() { return new String[] { "StringToString", "RedundantStringToString", "SubstringZero", "ConstantStringIntern", "RedundantStringConstructorCall", "StringConstructor", OLD_MERGER_NAME }; } }
leafclick/intellij-community
plugins/InspectionGadgets/src/com/siyeh/ig/redundancy/RedundantStringOperationMerger.java
Java
apache-2.0
2,723
# Rhytisma E.M. Fries, 1818 GENUS #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name Rhytisma E.M. Fries, 1818 ### Remarks null
mdoering/backbone
life/Fungi/Ascomycota/Leotiomycetes/Rhytismatales/Rhytismataceae/Rhytisma/README.md
Markdown
apache-2.0
202
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>Scaladoc for org.scalatest.matchers.Matchers.ResultOfHaveWordForJavaList</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <script type="text/javascript" src="../../../lib/jquery.js"></script> <link href="../../../lib/template.css" rel="stylesheet" type="text/css" media="screen" /> <script type="text/javascript" src="../../../lib/template.js"></script> <script type="text/javascript" src="../../../lib/tools.tooltip.js"></script> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-71294502-3', 'auto'); ga('send', 'pageview'); </script> </head> <body class="type"> <p id="owner"><a href="../../package.html" class="extype" name="org">org</a>.<a href="../package.html" class="extype" name="org.scalatest">scalatest</a>.<a href="package.html" class="extype" name="org.scalatest.matchers">matchers</a>.<a href="Matchers.html" class="extype" name="org.scalatest.matchers.Matchers">Matchers</a></p> <div id="definition"> <img src="../../../lib/class_big.png" /> <h1>ResultOfHaveWordForJavaList</h1> </div> <h4 class="signature" id="signature"> <span class="kind">class</span> <span class="symbol"> <span class="name">ResultOfHaveWordForJavaList</span><span class="tparams">[<span name="T">T</span>]</span><span class="result"> extends <a href="Matchers$ResultOfHaveWordForJavaCollection.html" class="extype" name="org.scalatest.matchers.Matchers.ResultOfHaveWordForJavaCollection">ResultOfHaveWordForJavaCollection</a>[T]</span> </span> </h4> <div class="fullcomment" id="comment"><div class="comment cmt"><p>This class is part of the ScalaTest matchers DSL. Please see the documentation for <a href="ShouldMatchers.html"><code>ShouldMatchers</code></a> or <a href="MustMatchers.html"><code>MustMatchers</code></a> for an overview of the matchers DSL. </p></div><div class="block"> attributes: final </div> <div class="block"><ol>authors: <li><p>Bill Venners </p></li> </ol></div> </div> <div id="template"> <div id="mbrsel"> <div id="ancestors"> <span class="filtertype">Inherited</span> <ol><li class="hideall">Hide All</li><li class="showall">Show all</li></ol> <ol id="linearization"><li class="in" name="org.scalatest.matchers.Matchers.ResultOfHaveWordForJavaCollection">ResultOfHaveWordForJavaCollection</li><li class="in" name="scala.AnyRef">AnyRef</li><li class="in" name="scala.Any">Any</li></ol> </div> <div id="visbl"> <span class="filtertype">Visibility</span> <ol><li class="public in">Public</li><li class="all out">All</li></ol> </div> </div> <div class="members" id="constructors"> <h3>Instance constructors</h3> <ol><li visbl="pub" name="org.scalatest.matchers.Matchers.ResultOfHaveWordForJavaList#this"> <h4 class="signature"> <span class="kind">new</span> <span class="symbol"> <span class="name">ResultOfHaveWordForJavaList</span><span class="params">(<span name="left">left: <span class="extype" name="java.util.List">List</span>[T]</span>, <span name="shouldBeTrue">shouldBeTrue: <span class="extype" name="scala.Boolean">Boolean</span></span>)</span> </span> </h4> </li></ol> </div> <div class="members" id="values"> <h3>Value Members</h3> <ol><li visbl="pub" name="scala.AnyRef#!="> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">!=</span><span class="params">(<span name="arg0">arg0: AnyRef</span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <div class="fullcomment"><div class="block"> attributes: final </div><div class="block"> definition classes: AnyRef </div></div> </li><li visbl="pub" name="scala.Any#!="> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">!=</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <p class="shortcomment cmt"><code>o != arg0</code> is the same as <code>!(o == (arg0))</code>.</p> <div class="fullcomment"><div class="comment cmt"><p><code>o != arg0</code> is the same as <code>!(o == (arg0))</code>. </p></div><dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for dis-equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>false</code> if the receiver object is equivalent to the argument; <code>true</code> otherwise.</p></dd></dl><div class="block"> attributes: final </div><div class="block"> definition classes: Any </div> </div> </li><li visbl="pub" name="scala.AnyRef###"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">##</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> </span> </h4> <div class="fullcomment"><div class="block"> attributes: final </div><div class="block"> definition classes: AnyRef → Any </div></div> </li><li visbl="pub" name="scala.AnyRef#$asInstanceOf"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">$asInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="params">()</span><span class="result">: T0</span> </span> </h4> <div class="fullcomment"><div class="block"> attributes: final </div><div class="block"> definition classes: AnyRef </div></div> </li><li visbl="pub" name="scala.AnyRef#$isInstanceOf"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">$isInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <div class="fullcomment"><div class="block"> attributes: final </div><div class="block"> definition classes: AnyRef </div></div> </li><li visbl="pub" name="scala.AnyRef#=="> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">==</span><span class="params">(<span name="arg0">arg0: AnyRef</span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <p class="shortcomment cmt"><code>o == arg0</code> is the same as <code>if (o eq null) arg0 eq null else o.equals(arg0)</code>.</p> <div class="fullcomment"><div class="comment cmt"><p><code>o == arg0</code> is the same as <code>if (o eq null) arg0 eq null else o.equals(arg0)</code>. </p></div><dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise.</p></dd></dl><div class="block"> attributes: final </div><div class="block"> definition classes: AnyRef </div> </div> </li><li visbl="pub" name="scala.Any#=="> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">==</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <p class="shortcomment cmt"><code>o == arg0</code> is the same as <code>o.equals(arg0)</code>.</p> <div class="fullcomment"><div class="comment cmt"><p><code>o == arg0</code> is the same as <code>o.equals(arg0)</code>. </p></div><dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise.</p></dd></dl><div class="block"> attributes: final </div><div class="block"> definition classes: Any </div> </div> </li><li visbl="pub" name="scala.Any#asInstanceOf"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">asInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="result">: T0</span> </span> </h4> <p class="shortcomment cmt">This method is used to cast the receiver object to be of type <code>T0</code>.</p> <div class="fullcomment"><div class="comment cmt"><p>This method is used to cast the receiver object to be of type <code>T0</code>.</p><p>Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression<code>1.asInstanceOf[String]</code> will throw a <code>ClassCastException</code> at runtime, while the expression<code>List(1).asInstanceOf[List[String]]</code> will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested typed. </p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>the receiver object.</p></dd></dl><div class="block"> attributes: final </div><div class="block"> definition classes: Any </div> </div> </li><li visbl="prt" name="scala.AnyRef#clone"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">clone</span><span class="params">()</span><span class="result">: AnyRef</span> </span> </h4> <p class="shortcomment cmt">This method creates and returns a copy of the receiver object.</p> <div class="fullcomment"><div class="comment cmt"><p>This method creates and returns a copy of the receiver object.</p><p>The default implementation of the <code>clone</code> method is platform dependent. </p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>a copy of the receiver object.</p></dd></dl><div class="block"> attributes: protected </div><div class="block"> definition classes: AnyRef </div> </div> </li><li visbl="pub" name="scala.AnyRef#eq"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">eq</span><span class="params">(<span name="arg0">arg0: AnyRef</span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <p class="shortcomment cmt">This method is used to test whether the argument (<code>arg0</code>) is a reference to the receiver object (<code>this</code>).</p> <div class="fullcomment"><div class="comment cmt"><p>This method is used to test whether the argument (<code>arg0</code>) is a reference to the receiver object (<code>this</code>).</p><p>The <code>eq</code> method implements an [http://en.wikipedia.org/wiki/Equivalence_relation equivalence relation] on non-null instances of <code>AnyRef</code>: * It is reflexive: for any non-null instance <code>x</code> of type <code>AnyRef</code>, <code>x.eq(x)</code> returns <code>true</code>. * It is symmetric: for any non-null instances <code>x</code> and <code>y</code> of type <code>AnyRef</code>, <code>x.eq(y)</code> returns <code>true</code> if and only if <code>y.eq(x)</code> returns <code>true</code>. * It is transitive: for any non-null instances <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code> if <code>x.eq(y)</code> returns <code>true</code> and <code>y.eq(z)</code> returns <code>true</code>, then <code>x.eq(z)</code> returns <code>true</code>.</p><p>Additionally, the <code>eq</code> method has three other properties. * It is consistent: for any non-null instances <code>x</code> and <code>y</code> of type <code>AnyRef</code>, multiple invocations of <code>x.eq(y)</code> consistently returns <code>true</code> or consistently returns <code>false</code>. * For any non-null instance <code>x</code> of type <code>AnyRef</code>, <code>x.eq(null)</code> and <code>null.eq(x)</code> returns <code>false</code>. * <code>null.eq(null)</code> returns <code>true</code>.</p><p>When overriding the <code>equals</code> or <code>hashCode</code> methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (<code>o1 eq o2</code>), they should be equal to each other (<code>o1 == o2</code>) and they should hash to the same value (<code>o1.hashCode == o2.hashCode</code>). </p></div><dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for reference equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the argument is a reference to the receiver object; <code>false</code> otherwise.</p></dd></dl><div class="block"> attributes: final </div><div class="block"> definition classes: AnyRef </div> </div> </li><li visbl="pub" name="scala.AnyRef#equals"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">equals</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Any">Any</span></span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <p class="shortcomment cmt">This method is used to compare the receiver object (<code>this</code>) with the argument object (<code>arg0</code>) for equivalence.</p> <div class="fullcomment"><div class="comment cmt"><p>This method is used to compare the receiver object (<code>this</code>) with the argument object (<code>arg0</code>) for equivalence.</p><p>The default implementations of this method is an [http://en.wikipedia.org/wiki/Equivalence_relation equivalence relation]: * It is reflexive: for any instance <code>x</code> of type <code>Any</code>, <code>x.equals(x)</code> should return <code>true</code>. * It is symmetric: for any instances <code>x</code> and <code>y</code> of type <code>Any</code>, <code>x.equals(y)</code> should return <code>true</code> if and only if <code>y.equals(x)</code> returns <code>true</code>. * It is transitive: for any instances <code>x</code>, <code>y</code>, and <code>z</code> of type <code>AnyRef</code> if <code>x.equals(y)</code> returns <code>true</code> and <code>y.equals(z)</code> returns <code>true</code>, then <code>x.equals(z)</code> should return <code>true</code>.</p><p>If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is often necessary to override <code>hashCode</code> to ensure that objects that are &quot;equal&quot; (<code>o1.equals(o2)</code> returns <code>true</code>) hash to the same scala.Int (<code>o1.hashCode.equals(o2.hashCode)</code>). </p></div><dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is equivalent to the argument; <code>false</code> otherwise.</p></dd></dl><div class="block"> definition classes: AnyRef → Any </div> </div> </li><li visbl="prt" name="scala.AnyRef#finalize"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">finalize</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <p class="shortcomment cmt">This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.</p> <div class="fullcomment"><div class="comment cmt"><p>This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.</p><p>The details of when and if the <code>finalize</code> method are invoked, as well as the interaction between <code>finalize</code>and non-local returns and exceptions, are all platform dependent.</p></div><div class="block"> attributes: protected </div><div class="block"> definition classes: AnyRef </div> </div> </li><li visbl="pub" name="scala.AnyRef#getClass"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">getClass</span><span class="params">()</span><span class="result">: java.lang.Class[_ &lt;: java.lang.Object]</span> </span> </h4> <p class="shortcomment cmt">Returns a representation that corresponds to the dynamic class of the receiver object.</p> <div class="fullcomment"><div class="comment cmt"><p>Returns a representation that corresponds to the dynamic class of the receiver object.</p><p>The nature of the representation is platform dependent. </p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>a representation that corresponds to the dynamic class of the receiver object.</p></dd></dl><div class="block"> attributes: final </div><div class="block"> definition classes: AnyRef </div> </div> </li><li visbl="pub" name="scala.AnyRef#hashCode"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">hashCode</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Int">Int</span></span> </span> </h4> <p class="shortcomment cmt">Returns a hash code value for the object.</p> <div class="fullcomment"><div class="comment cmt"><p>Returns a hash code value for the object.</p><p>The default hashing algorithm is platform dependent.</p><p>Note that it is allowed for two objects to have identical hash codes (<code>o1.hashCode.equals(o2.hashCode)</code>) yet not be equal (<code>o1.equals(o2)</code> returns <code>false</code>). A degenerate implementation could always return <code>0</code>. However, it is required that if two objects are equal (<code>o1.equals(o2)</code> returns <code>true</code>) that they have identical hash codes (<code>o1.hashCode.equals(o2.hashCode)</code>). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the <code>equals</code> method. </p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>the hash code value for the object.</p></dd></dl><div class="block"> definition classes: AnyRef → Any </div> </div> </li><li visbl="pub" name="scala.Any#isInstanceOf"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">isInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <p class="shortcomment cmt">This method is used to test whether the dynamic type of the receiver object is <code>T0</code>.</p> <div class="fullcomment"><div class="comment cmt"><p>This method is used to test whether the dynamic type of the receiver object is <code>T0</code>.</p><p>Note that the test result of the test is modulo Scala's erasure semantics. Therefore the expression<code>1.isInstanceOf[String]</code> will return <code>false</code>, while the expression <code>List(1).isInstanceOf[List[String]]</code> will return <code>true</code>. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested typed. </p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p><code>true</code> if the receiver object is an instance of erasure of type <code>T0</code>; <code>false</code> otherwise.</p></dd></dl><div class="block"> attributes: final </div><div class="block"> definition classes: Any </div> </div> </li><li visbl="pub" name="org.scalatest.matchers.Matchers.ResultOfHaveWordForJavaList#length"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">length</span><span class="params">(<span name="expectedLength">expectedLength: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <p class="shortcomment cmt">This method enables the following syntax:</p> <div class="fullcomment"><div class="comment cmt"><p>This method enables the following syntax:</p><p><pre>javaList should have length (12) <sup></pre></sup></p><p>This method invokes <code>size</code> on the <code>java.util.List</code> passed as <code>left</code> to determine its length.</p></div> </div> </li><li visbl="pub" name="scala.AnyRef#ne"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">ne</span><span class="params">(<span name="arg0">arg0: AnyRef</span>)</span><span class="result">: <span class="extype" name="scala.Boolean">Boolean</span></span> </span> </h4> <p class="shortcomment cmt"><code>o.ne(arg0)</code> is the same as <code>!(o.eq(arg0))</code>.</p> <div class="fullcomment"><div class="comment cmt"><p><code>o.ne(arg0)</code> is the same as <code>!(o.eq(arg0))</code>. </p></div><dl class="paramcmts block"><dt class="param">arg0</dt><dd class="cmt"><p>the object to compare against this object for reference dis-equality.</p></dd><dt>returns</dt><dd class="cmt"><p><code>false</code> if the argument is not a reference to the receiver object; <code>true</code> otherwise.</p></dd></dl><div class="block"> attributes: final </div><div class="block"> definition classes: AnyRef </div> </div> </li><li visbl="pub" name="scala.AnyRef#notify"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">notify</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <p class="shortcomment cmt">Wakes up a single thread that is waiting on the receiver object's monitor.</p> <div class="fullcomment"><div class="comment cmt"><p>Wakes up a single thread that is waiting on the receiver object's monitor.</p></div><div class="block"> attributes: final </div><div class="block"> definition classes: AnyRef </div> </div> </li><li visbl="pub" name="scala.AnyRef#notifyAll"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">notifyAll</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <p class="shortcomment cmt">Wakes up all threads that are waiting on the receiver object's monitor.</p> <div class="fullcomment"><div class="comment cmt"><p>Wakes up all threads that are waiting on the receiver object's monitor.</p></div><div class="block"> attributes: final </div><div class="block"> definition classes: AnyRef </div> </div> </li><li visbl="pub" name="org.scalatest.matchers.Matchers.ResultOfHaveWordForJavaCollection#size"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">size</span><span class="params">(<span name="expectedSize">expectedSize: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <p class="shortcomment cmt">This method enables the following syntax:</p> <div class="fullcomment"><div class="comment cmt"><p>This method enables the following syntax:</p><p><pre>javaCollection should have size (10) <sup></pre></sup></p></div><div class="block"> definition classes: <a href="Matchers$ResultOfHaveWordForJavaCollection.html" class="extype" name="org.scalatest.matchers.Matchers.ResultOfHaveWordForJavaCollection">ResultOfHaveWordForJavaCollection</a> </div> </div> </li><li visbl="pub" name="scala.AnyRef#synchronized"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">synchronized</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="params">(<span name="arg0">arg0: T0</span>)</span><span class="result">: T0</span> </span> </h4> <div class="fullcomment"><div class="block"> attributes: final </div><div class="block"> definition classes: AnyRef </div></div> </li><li visbl="pub" name="scala.AnyRef#toString"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">toString</span><span class="params">()</span><span class="result">: <span class="extype" name="java.lang.String">String</span></span> </span> </h4> <p class="shortcomment cmt">Returns a string representation of the object.</p> <div class="fullcomment"><div class="comment cmt"><p>Returns a string representation of the object.</p><p>The default representation is platform dependent. </p></div><dl class="paramcmts block"><dt>returns</dt><dd class="cmt"><p>a string representation of the object.</p></dd></dl><div class="block"> definition classes: AnyRef → Any </div> </div> </li><li visbl="pub" name="scala.AnyRef#wait"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">wait</span><span class="params">()</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <div class="fullcomment"><div class="block"> attributes: final </div><div class="block"> definition classes: AnyRef </div></div> </li><li visbl="pub" name="scala.AnyRef#wait"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">wait</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Long">Long</span></span>, <span name="arg1">arg1: <span class="extype" name="scala.Int">Int</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <div class="fullcomment"><div class="block"> attributes: final </div><div class="block"> definition classes: AnyRef </div></div> </li><li visbl="pub" name="scala.AnyRef#wait"> <h4 class="signature"> <span class="kind">def</span> <span class="symbol"> <span class="name">wait</span><span class="params">(<span name="arg0">arg0: <span class="extype" name="scala.Long">Long</span></span>)</span><span class="result">: <span class="extype" name="scala.Unit">Unit</span></span> </span> </h4> <div class="fullcomment"><div class="block"> attributes: final </div><div class="block"> definition classes: AnyRef </div></div> </li></ol> </div> </div> <div id="tooltip"></div> </body> </html>
scalatest/scalatest-website
public/scaladoc/1.2/org/scalatest/matchers/Matchers$ResultOfHaveWordForJavaList.html
HTML
apache-2.0
31,091
select '{{ var("from_root_to_second") }}' as from_root, '{{ var("from_second_to_second") }}' as from_second
fishtown-analytics/dbt
test/integration/013_context_var_tests/second_dependency_v1/models/inner/second_dep_model.sql
SQL
apache-2.0
116
package com.app.annotation.aspect; /** * Created by baixiaokang on 17/1/31. */ import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface Permission { String[] value(); }
AndroidAdu/material-News
lib/src/main/java/com/app/annotation/aspect/Permission.java
Java
apache-2.0
363
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc --> <title>Class Hierarchy (JSparklines 1.0.12 API)</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="description" content="class tree"> <meta name="generator" content="javadoc/TreeWriter"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.css" title="Style"> <script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="script-dir/jszip/dist/jszip.min.js"></script> <script type="text/javascript" src="script-dir/jszip-utils/dist/jszip-utils.min.js"></script> <!--[if IE]> <script type="text/javascript" src="script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script> <![endif]--> <script type="text/javascript" src="script-dir/jquery-3.4.1.js"></script> <script type="text/javascript" src="script-dir/jquery-ui.js"></script> </head> <body class="tree"> <script type="text/javascript">var pathtoroot = "./"; loadScripts(document, 'script');</script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <header role="banner"> <nav role="navigation"> <div class="fixedNav"> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a id="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a id="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="index.html">Overview</a></li> <li>Package</li> <li>Class</li> <li>Use</li> <li class="navBarCell1Rev">Tree</li> <li><a href="deprecated-list.html">Deprecated</a></li> <li><a href="index-all.html">Index</a></li> <li><a href="help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <div class="navListSearch"><label for="search">SEARCH:</label> <input type="text" id="search" value="search" disabled="disabled"> <input type="reset" id="reset" value="reset" disabled="disabled"> </div> </div> <a id="skip.navbar.top"> <!-- --> </a> <!-- ========= END OF TOP NAVBAR ========= --> </div> <div class="navPadding">&nbsp;</div> <script type="text/javascript"><!-- $('.navPadding').css('padding-top', $('.fixedNav').css("height")); //--> </script> </nav> </header> <main role="main"> <div class="header"> <h1 class="title">Hierarchy For All Packages</h1> <span class="packageHierarchyLabel">Package Hierarchies:</span> <ul class="horizontal"> <li><a href="no/uib/jsparklines/package-tree.html">no.uib.jsparklines</a>, </li> <li><a href="no/uib/jsparklines/data/package-tree.html">no.uib.jsparklines.data</a>, </li> <li><a href="no/uib/jsparklines/extra/package-tree.html">no.uib.jsparklines.extra</a>, </li> <li><a href="no/uib/jsparklines/renderers/package-tree.html">no.uib.jsparklines.renderers</a>, </li> <li><a href="no/uib/jsparklines/renderers/util/package-tree.html">no.uib.jsparklines.renderers.util</a></li> </ul> </div> <div class="contentContainer"> <section class="hierarchy"> <h2 title="Class Hierarchy">Class Hierarchy</h2> <ul> <li class="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink"><span class="typeNameLink">Object</span></a> <ul> <li class="circle">org.jfree.data.general.AbstractDataset (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Cloneable</a>, org.jfree.data.general.Dataset, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/ObjectInputValidation.html?is-external=true" title="class or interface in java.io" class="externalLink">ObjectInputValidation</a>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>) <ul> <li class="circle">org.jfree.data.statistics.DefaultStatisticalCategoryDataset (implements org.jfree.util.PublicCloneable, org.jfree.data.RangeInfo, org.jfree.data.statistics.StatisticalCategoryDataset) <ul> <li class="circle">no.uib.jsparklines.data.<a href="no/uib/jsparklines/data/SignificantStatisticalCategoryDataset.html" title="class in no.uib.jsparklines.data"><span class="typeNameLink">SignificantStatisticalCategoryDataset</span></a></li> </ul> </li> </ul> </li> <li class="circle">org.jfree.chart.renderer.AbstractRenderer (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Cloneable</a>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>) <ul> <li class="circle">org.jfree.chart.renderer.category.AbstractCategoryItemRenderer (implements org.jfree.chart.renderer.category.CategoryItemRenderer, java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Cloneable</a>, org.jfree.util.PublicCloneable, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>) <ul> <li class="circle">org.jfree.chart.renderer.category.BarRenderer (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Cloneable</a>, org.jfree.util.PublicCloneable, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>) <ul> <li class="circle">org.jfree.chart.renderer.category.BarRenderer3D (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Cloneable</a>, org.jfree.chart.Effect3D, org.jfree.util.PublicCloneable, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>) <ul> <li class="circle">no.uib.jsparklines.renderers.util.<a href="no/uib/jsparklines/renderers/util/BarChartColorRenderer.html" title="class in no.uib.jsparklines.renderers.util"><span class="typeNameLink">BarChartColorRenderer</span></a></li> </ul> </li> <li class="circle">org.jfree.chart.renderer.category.StatisticalBarRenderer (implements org.jfree.chart.renderer.category.CategoryItemRenderer, java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Cloneable</a>, org.jfree.util.PublicCloneable, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>) <ul> <li class="circle">no.uib.jsparklines.renderers.util.<a href="no/uib/jsparklines/renderers/util/StatisticalBarChartColorRenderer.html" title="class in no.uib.jsparklines.renderers.util"><span class="typeNameLink">StatisticalBarChartColorRenderer</span></a></li> </ul> </li> </ul> </li> </ul> </li> <li class="circle">org.jfree.chart.renderer.xy.AbstractXYItemRenderer (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Cloneable</a>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>, org.jfree.chart.renderer.xy.XYItemRenderer) <ul> <li class="circle">org.jfree.chart.renderer.xy.XYAreaRenderer (implements org.jfree.util.PublicCloneable, org.jfree.chart.renderer.xy.XYItemRenderer) <ul> <li class="circle">no.uib.jsparklines.renderers.util.<a href="no/uib/jsparklines/renderers/util/AreaRenderer.html" title="class in no.uib.jsparklines.renderers.util"><span class="typeNameLink">AreaRenderer</span></a></li> </ul> </li> </ul> </li> </ul> </li> <li class="circle">no.uib.jsparklines.data.<a href="no/uib/jsparklines/data/ArrrayListDataPoints.html" title="class in no.uib.jsparklines.data"><span class="typeNameLink">ArrrayListDataPoints</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;T&gt;, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>)</li> <li class="circle">no.uib.jsparklines.extra.<a href="no/uib/jsparklines/extra/CellHighlighterRenderer.html" title="class in no.uib.jsparklines.extra"><span class="typeNameLink">CellHighlighterRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">no.uib.jsparklines.data.<a href="no/uib/jsparklines/data/Chromosome.html" title="class in no.uib.jsparklines.data"><span class="typeNameLink">Chromosome</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;T&gt;, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>)</li> <li class="circle">java.awt.<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Component.html?is-external=true" title="class or interface in java.awt" class="externalLink"><span class="typeNameLink">Component</span></a> (implements java.awt.image.<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/image/ImageObserver.html?is-external=true" title="class or interface in java.awt.image" class="externalLink">ImageObserver</a>, java.awt.<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/MenuContainer.html?is-external=true" title="class or interface in java.awt" class="externalLink">MenuContainer</a>, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>) <ul> <li class="circle">java.awt.<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Container.html?is-external=true" title="class or interface in java.awt" class="externalLink"><span class="typeNameLink">Container</span></a> <ul> <li class="circle">javax.swing.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/JComponent.html?is-external=true" title="class or interface in javax.swing" class="externalLink"><span class="typeNameLink">JComponent</span></a> (implements java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>) <ul> <li class="circle">javax.swing.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/JLabel.html?is-external=true" title="class or interface in javax.swing" class="externalLink"><span class="typeNameLink">JLabel</span></a> (implements javax.accessibility.<a href="http://docs.oracle.com/javase/7/docs/api/javax/accessibility/Accessible.html?is-external=true" title="class or interface in javax.accessibility" class="externalLink">Accessible</a>, javax.swing.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/SwingConstants.html?is-external=true" title="class or interface in javax.swing" class="externalLink">SwingConstants</a>) <ul> <li class="circle">no.uib.jsparklines.extra.<a href="no/uib/jsparklines/extra/ChartPanelTableCellRenderer.html" title="class in no.uib.jsparklines.extra"><span class="typeNameLink">ChartPanelTableCellRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">no.uib.jsparklines.extra.<a href="no/uib/jsparklines/extra/ChromosomeTableCellRenderer.html" title="class in no.uib.jsparklines.extra"><span class="typeNameLink">ChromosomeTableCellRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">javax.swing.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/DefaultListCellRenderer.html?is-external=true" title="class or interface in javax.swing" class="externalLink"><span class="typeNameLink">DefaultListCellRenderer</span></a> (implements javax.swing.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/ListCellRenderer.html?is-external=true" title="class or interface in javax.swing" class="externalLink">ListCellRenderer</a>&lt;E&gt;, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>) <ul> <li class="circle">no.uib.jsparklines.<a href="no/uib/jsparklines/JSparklinesDemo.ComboBoxListCellRenderer.html" title="class in no.uib.jsparklines"><span class="typeNameLink">JSparklinesDemo.ComboBoxListCellRenderer</span></a></li> <li class="circle">no.uib.jsparklines.<a href="no/uib/jsparklines/JSparklinesHeatMapDemo.ComboBoxListCellRenderer.html" title="class in no.uib.jsparklines"><span class="typeNameLink">JSparklinesHeatMapDemo.ComboBoxListCellRenderer</span></a></li> </ul> </li> <li class="circle">javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/DefaultTableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink"><span class="typeNameLink">DefaultTableCellRenderer</span></a> (implements java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>, javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>) <ul> <li class="circle">no.uib.jsparklines.<a href="no/uib/jsparklines/JSparklinesDemo.NonOpaqueCellRenderer.html" title="class in no.uib.jsparklines"><span class="typeNameLink">JSparklinesDemo.NonOpaqueCellRenderer</span></a></li> <li class="circle">no.uib.jsparklines.<a href="no/uib/jsparklines/JSparklinesHeatMapDemo.NonOpaqueCellRenderer.html" title="class in no.uib.jsparklines"><span class="typeNameLink">JSparklinesHeatMapDemo.NonOpaqueCellRenderer</span></a></li> <li class="circle">no.uib.jsparklines.extra.<a href="no/uib/jsparklines/extra/NimbusCheckBoxRenderer.html" title="class in no.uib.jsparklines.extra"><span class="typeNameLink">NimbusCheckBoxRenderer</span></a></li> </ul> </li> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklines3dTableCellRenderer.html" title="class in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklines3dTableCellRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklinesArrayListBarChartTableCellRenderer.html" title="class in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklinesArrayListBarChartTableCellRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklinesBubbleHeatMapTableCellRenderer.html" title="class in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklinesBubbleHeatMapTableCellRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklinesHeatMapTableCellRenderer.html" title="class in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklinesHeatMapTableCellRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklinesMultiIntervalChartTableCellRenderer.html" title="class in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklinesMultiIntervalChartTableCellRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklinesTableCellRenderer.html" title="class in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklinesTableCellRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklinesTwoValueBarChartTableCellRenderer.html" title="class in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklinesTwoValueBarChartTableCellRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> </ul> </li> <li class="circle">javax.swing.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/JPanel.html?is-external=true" title="class or interface in javax.swing" class="externalLink"><span class="typeNameLink">JPanel</span></a> (implements javax.accessibility.<a href="http://docs.oracle.com/javase/7/docs/api/javax/accessibility/Accessible.html?is-external=true" title="class or interface in javax.accessibility" class="externalLink">Accessible</a>) <ul> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklinesBarChartTableCellRenderer.html" title="class in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklinesBarChartTableCellRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklinesColorTableCellRenderer.html" title="class in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklinesColorTableCellRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklinesErrorBarChartTableCellRenderer.html" title="class in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklinesErrorBarChartTableCellRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklinesIntegerColorTableCellRenderer.html" title="class in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklinesIntegerColorTableCellRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklinesIntegerIconTableCellRenderer.html" title="class in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklinesIntegerIconTableCellRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklinesIntervalChartTableCellRenderer.html" title="class in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklinesIntervalChartTableCellRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklinesMultiLabelTableCellRenderer.html" title="class in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklinesMultiLabelTableCellRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> </ul> </li> </ul> </li> <li class="circle">java.awt.<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Window.html?is-external=true" title="class or interface in java.awt" class="externalLink"><span class="typeNameLink">Window</span></a> (implements javax.accessibility.<a href="http://docs.oracle.com/javase/7/docs/api/javax/accessibility/Accessible.html?is-external=true" title="class or interface in javax.accessibility" class="externalLink">Accessible</a>) <ul> <li class="circle">java.awt.<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Dialog.html?is-external=true" title="class or interface in java.awt" class="externalLink"><span class="typeNameLink">Dialog</span></a> <ul> <li class="circle">javax.swing.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/JDialog.html?is-external=true" title="class or interface in javax.swing" class="externalLink"><span class="typeNameLink">JDialog</span></a> (implements javax.accessibility.<a href="http://docs.oracle.com/javase/7/docs/api/javax/accessibility/Accessible.html?is-external=true" title="class or interface in javax.accessibility" class="externalLink">Accessible</a>, javax.swing.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/RootPaneContainer.html?is-external=true" title="class or interface in javax.swing" class="externalLink">RootPaneContainer</a>, javax.swing.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/WindowConstants.html?is-external=true" title="class or interface in javax.swing" class="externalLink">WindowConstants</a>) <ul> <li class="circle">no.uib.jsparklines.<a href="no/uib/jsparklines/JSparklinesMultiLabelDemo.html" title="class in no.uib.jsparklines"><span class="typeNameLink">JSparklinesMultiLabelDemo</span></a></li> </ul> </li> </ul> </li> <li class="circle">java.awt.<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/Frame.html?is-external=true" title="class or interface in java.awt" class="externalLink"><span class="typeNameLink">Frame</span></a> (implements java.awt.<a href="http://docs.oracle.com/javase/7/docs/api/java/awt/MenuContainer.html?is-external=true" title="class or interface in java.awt" class="externalLink">MenuContainer</a>) <ul> <li class="circle">javax.swing.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/JFrame.html?is-external=true" title="class or interface in javax.swing" class="externalLink"><span class="typeNameLink">JFrame</span></a> (implements javax.accessibility.<a href="http://docs.oracle.com/javase/7/docs/api/javax/accessibility/Accessible.html?is-external=true" title="class or interface in javax.accessibility" class="externalLink">Accessible</a>, javax.swing.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/RootPaneContainer.html?is-external=true" title="class or interface in javax.swing" class="externalLink">RootPaneContainer</a>, javax.swing.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/WindowConstants.html?is-external=true" title="class or interface in javax.swing" class="externalLink">WindowConstants</a>) <ul> <li class="circle">no.uib.jsparklines.<a href="no/uib/jsparklines/JSparklinesDemo.html" title="class in no.uib.jsparklines"><span class="typeNameLink">JSparklinesDemo</span></a></li> <li class="circle">no.uib.jsparklines.<a href="no/uib/jsparklines/JSparklinesHeatMapDemo.html" title="class in no.uib.jsparklines"><span class="typeNameLink">JSparklinesHeatMapDemo</span></a></li> </ul> </li> </ul> </li> </ul> </li> </ul> </li> </ul> </li> <li class="circle">no.uib.jsparklines.renderers.util.<a href="no/uib/jsparklines/renderers/util/GradientColorCoding.html" title="class in no.uib.jsparklines.renderers.util"><span class="typeNameLink">GradientColorCoding</span></a></li> <li class="circle">no.uib.jsparklines.extra.<a href="no/uib/jsparklines/extra/HtmlLinksRenderer.html" title="class in no.uib.jsparklines.extra"><span class="typeNameLink">HtmlLinksRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">no.uib.jsparklines.data.<a href="no/uib/jsparklines/data/JSparklines3dDataSeries.html" title="class in no.uib.jsparklines.data"><span class="typeNameLink">JSparklines3dDataSeries</span></a></li> <li class="circle">no.uib.jsparklines.data.<a href="no/uib/jsparklines/data/JSparklines3dDataset.html" title="class in no.uib.jsparklines.data"><span class="typeNameLink">JSparklines3dDataset</span></a></li> <li class="circle">no.uib.jsparklines.data.<a href="no/uib/jsparklines/data/JSparklinesDataSeries.html" title="class in no.uib.jsparklines.data"><span class="typeNameLink">JSparklinesDataSeries</span></a></li> <li class="circle">no.uib.jsparklines.data.<a href="no/uib/jsparklines/data/JSparklinesDataset.html" title="class in no.uib.jsparklines.data"><span class="typeNameLink">JSparklinesDataset</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;T&gt;)</li> <li class="circle">no.uib.jsparklines.data.<a href="no/uib/jsparklines/data/JSparklinesMultiLabel.html" title="class in no.uib.jsparklines.data"><span class="typeNameLink">JSparklinesMultiLabel</span></a> (implements java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>)</li> <li class="circle">no.uib.jsparklines.data.<a href="no/uib/jsparklines/data/JSparklinesMultiLabelDataset.html" title="class in no.uib.jsparklines.data"><span class="typeNameLink">JSparklinesMultiLabelDataset</span></a> (implements java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>)</li> <li class="circle">no.uib.jsparklines.renderers.util.<a href="no/uib/jsparklines/renderers/util/ReferenceArea.html" title="class in no.uib.jsparklines.renderers.util"><span class="typeNameLink">ReferenceArea</span></a></li> <li class="circle">no.uib.jsparklines.renderers.util.<a href="no/uib/jsparklines/renderers/util/ReferenceLine.html" title="class in no.uib.jsparklines.renderers.util"><span class="typeNameLink">ReferenceLine</span></a></li> <li class="circle">no.uib.jsparklines.data.<a href="no/uib/jsparklines/data/StartIndexes.html" title="class in no.uib.jsparklines.data"><span class="typeNameLink">StartIndexes</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;T&gt;, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>)</li> <li class="circle">no.uib.jsparklines.extra.<a href="no/uib/jsparklines/extra/TrueFalseIconRenderer.html" title="class in no.uib.jsparklines.extra"><span class="typeNameLink">TrueFalseIconRenderer</span></a> (implements javax.swing.table.<a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/table/TableCellRenderer.html?is-external=true" title="class or interface in javax.swing.table" class="externalLink">TableCellRenderer</a>)</li> <li class="circle">no.uib.jsparklines.renderers.util.<a href="no/uib/jsparklines/renderers/util/Util.html" title="class in no.uib.jsparklines.renderers.util"><span class="typeNameLink">Util</span></a></li> <li class="circle">no.uib.jsparklines.data.<a href="no/uib/jsparklines/data/ValueAndBooleanDataPoint.html" title="class in no.uib.jsparklines.data"><span class="typeNameLink">ValueAndBooleanDataPoint</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;T&gt;, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>)</li> <li class="circle">no.uib.jsparklines.data.<a href="no/uib/jsparklines/data/XYDataPoint.html" title="class in no.uib.jsparklines.data"><span class="typeNameLink">XYDataPoint</span></a> (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;T&gt;, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>)</li> <li class="circle">no.uib.jsparklines.data.<a href="no/uib/jsparklines/data/XYZDataPoint.html" title="class in no.uib.jsparklines.data"><span class="typeNameLink">XYZDataPoint</span></a> (implements java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>)</li> </ul> </li> </ul> </section> <section class="hierarchy"> <h2 title="Enum Hierarchy">Enum Hierarchy</h2> <ul> <li class="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink"><span class="typeNameLink">Object</span></a> <ul> <li class="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang" class="externalLink"><span class="typeNameLink">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a>&lt;T&gt;, java.lang.constant.Constable, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a>) <ul> <li class="circle">no.uib.jsparklines.renderers.util.<a href="no/uib/jsparklines/renderers/util/GradientColorCoding.ColorGradient.html" title="enum in no.uib.jsparklines.renderers.util"><span class="typeNameLink">GradientColorCoding.ColorGradient</span></a></li> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklines3dTableCellRenderer.PlotType.html" title="enum in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklines3dTableCellRenderer.PlotType</span></a></li> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklinesArrayListBarChartTableCellRenderer.ValueDisplayType.html" title="enum in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklinesArrayListBarChartTableCellRenderer.ValueDisplayType</span></a></li> <li class="circle">no.uib.jsparklines.renderers.<a href="no/uib/jsparklines/renderers/JSparklinesTableCellRenderer.PlotType.html" title="enum in no.uib.jsparklines.renderers"><span class="typeNameLink">JSparklinesTableCellRenderer.PlotType</span></a></li> </ul> </li> </ul> </li> </ul> </section> </div> </main> <footer role="contentinfo"> <nav role="navigation"> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a id="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a id="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="index.html">Overview</a></li> <li>Package</li> <li>Class</li> <li>Use</li> <li class="navBarCell1Rev">Tree</li> <li><a href="deprecated-list.html">Deprecated</a></li> <li><a href="index-all.html">Index</a></li> <li><a href="help-doc.html">Help</a></li> </ul> </div> <a id="skip.navbar.bottom"> <!-- --> </a> <!-- ======== END OF BOTTOM NAVBAR ======= --> </nav> <p class="legalCopy"><small>Copyright &#169; 2020. All rights reserved.</small></p> </footer> </body> </html>
compomics/jsparklines
docs/javadoc/overview-tree.html
HTML
apache-2.0
35,450
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.module.impl; import com.intellij.configurationStore.RenameableStateStorageManager; import com.intellij.ide.highlighter.ModuleFileType; import com.intellij.ide.plugins.ContainerDescriptor; import com.intellij.ide.plugins.IdeaPluginDescriptorImpl; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.components.*; import com.intellij.openapi.components.impl.stores.IComponentStore; import com.intellij.openapi.components.impl.stores.ModuleStore; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.module.Module; import com.intellij.openapi.module.ModuleComponent; import com.intellij.openapi.module.ModuleManager; import com.intellij.openapi.module.impl.scopes.ModuleScopeProviderImpl; import com.intellij.openapi.progress.ProgressIndicator; import com.intellij.openapi.project.Project; import com.intellij.openapi.project.ex.ProjectEx; import com.intellij.openapi.roots.ExternalProjectSystemRegistry; import com.intellij.openapi.roots.ProjectModelElement; import com.intellij.openapi.roots.ProjectModelExternalSource; import com.intellij.openapi.util.SimpleModificationTracker; import com.intellij.openapi.vfs.VfsUtilCore; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.openapi.vfs.pointers.VirtualFilePointer; import com.intellij.openapi.vfs.pointers.VirtualFilePointerListener; import com.intellij.openapi.vfs.pointers.VirtualFilePointerManager; import com.intellij.psi.search.GlobalSearchScope; import com.intellij.serviceContainer.ComponentManagerImpl; import com.intellij.util.xmlb.annotations.MapAnnotation; import com.intellij.util.xmlb.annotations.Property; import kotlin.Unit; import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.nio.file.Path; import java.nio.file.Paths; import java.util.*; public class ModuleImpl extends ComponentManagerImpl implements ModuleEx { private static final Logger LOG = Logger.getInstance(ModuleImpl.class); @NotNull private final Project myProject; @Nullable protected VirtualFilePointer myImlFilePointer; private volatile boolean isModuleAdded; private String myName; private final ModuleScopeProvider myModuleScopeProvider; @ApiStatus.Internal public ModuleImpl(@NotNull String name, @NotNull Project project, @NotNull String filePath) { this(name, project); myImlFilePointer = VirtualFilePointerManager.getInstance().create( VfsUtilCore.pathToUrl(filePath), this, new VirtualFilePointerListener() { @Override public void validityChanged(@NotNull VirtualFilePointer @NotNull [] pointers) { if (myImlFilePointer == null) return; VirtualFile virtualFile = myImlFilePointer.getFile(); if (virtualFile != null) { ((ModuleStore)getStore()).setPath(virtualFile.toNioPath(), virtualFile, false); ModuleManager.getInstance(myProject).incModificationCount(); } } }); } @ApiStatus.Internal public ModuleImpl(@NotNull String name, @NotNull Project project, @Nullable VirtualFilePointer virtualFilePointer) { this(name, project); myImlFilePointer = virtualFilePointer; } @ApiStatus.Internal public ModuleImpl(@NotNull String name, @NotNull Project project) { super((ComponentManagerImpl)project); registerServiceInstance(Module.class, this, ComponentManagerImpl.fakeCorePluginDescriptor); myProject = project; myModuleScopeProvider = new ModuleScopeProviderImpl(this); myName = name; } @Override public void init(@Nullable Runnable beforeComponentCreation) { // do not measure (activityNamePrefix method not overridden by this class) // because there are a lot of modules and no need to measure each one registerComponents(); if (!isPersistent()) { registerService(IComponentStore.class, NonPersistentModuleStore.class, ComponentManagerImpl.fakeCorePluginDescriptor, true, ServiceDescriptor.PreloadMode.FALSE); } if (beforeComponentCreation != null) { beforeComponentCreation.run(); } createComponents(null); } private boolean isPersistent() { return myImlFilePointer != null; } @Override protected void setProgressDuringInit(@NotNull ProgressIndicator indicator) { // Component loading progress is not reported for module, because at this stage minimal reporting unit it is the module itself. // Stage "Loading modules" progress reported for each loaded module and module component count doesn't matter. } @Override public final boolean isDisposed() { // in case of light project in tests when it's temporarily disposed, the module should be treated as disposed too. //noinspection TestOnlyProblems return super.isDisposed() || ((ProjectEx)myProject).isLight() && myProject.isDisposed(); } @Override protected boolean isComponentSuitable(@NotNull ComponentConfig componentConfig) { if (!super.isComponentSuitable(componentConfig)) { return false; } Map<String, String> options = componentConfig.options; if (options == null || options.isEmpty()) { return true; } for (String optionName : options.keySet()) { if ("workspace".equals(optionName) || "overrides".equals(optionName)) { continue; } // we cannot filter using module options because at this moment module file data could be not loaded String message = "Don't specify " + optionName + " in the component registration, transform component to service and implement your logic in your getInstance() method"; if (ApplicationManager.getApplication().isUnitTestMode()) { LOG.error(message); } else { LOG.warn(message); } } return true; } @Override @Nullable public VirtualFile getModuleFile() { if (myImlFilePointer == null) { return null; } return myImlFilePointer.getFile(); } @Override public void rename(@NotNull String newName, boolean notifyStorage) { myName = newName; if (notifyStorage) { ((RenameableStateStorageManager)getStore().getStorageManager()).rename(newName + ModuleFileType.DOT_DEFAULT_EXTENSION); } } protected @NotNull IComponentStore getStore() { return Objects.requireNonNull(getService(IComponentStore.class)); } @Override public boolean canStoreSettings() { return !(getStore() instanceof NonPersistentModuleStore); } @Override @NotNull public Path getModuleNioFile() { if (!isPersistent()) { return Paths.get(""); } return getStore().getStorageManager().expandMacro(StoragePathMacros.MODULE_FILE); } @Override public synchronized void dispose() { isModuleAdded = false; super.dispose(); } @NotNull @Override protected ContainerDescriptor getContainerDescriptor(@NotNull IdeaPluginDescriptorImpl pluginDescriptor) { return pluginDescriptor.moduleContainerDescriptor; } @Override public void projectOpened() { //noinspection deprecation processInitializedComponents(ModuleComponent.class, (component, __) -> { try { //noinspection deprecation component.projectOpened(); } catch (Exception e) { LOG.error(e); } return Unit.INSTANCE; }); } @Override public void projectClosed() { //noinspection deprecation List<ModuleComponent> components = new ArrayList<>(); //noinspection deprecation processInitializedComponents(ModuleComponent.class, (component, __) -> { components.add(component); return Unit.INSTANCE; }); for (int i = components.size() - 1; i >= 0; i--) { try { //noinspection deprecation components.get(i).projectClosed(); } catch (Throwable e) { LOG.error(e); } } } @Override @NotNull public Project getProject() { return myProject; } @Override @NotNull public String getName() { return myName; } @Override public boolean isLoaded() { return isModuleAdded; } @Override public void moduleAdded() { isModuleAdded = true; //noinspection deprecation processInitializedComponents(ModuleComponent.class, (component, __) -> { //noinspection deprecation component.moduleAdded(); return Unit.INSTANCE; }); } @Override public void setOption(@NotNull String key, @Nullable String value) { DeprecatedModuleOptionManager manager = getOptionManager(); if (value == null) { if (manager.state.options.remove(key) != null) { manager.incModificationCount(); } } else if (!value.equals(manager.state.options.put(key, value))) { manager.incModificationCount(); } } @NotNull private DeprecatedModuleOptionManager getOptionManager() { //noinspection ConstantConditions return ((Module)this).getService(DeprecatedModuleOptionManager.class); } @Override public String getOptionValue(@NotNull String key) { return getOptionManager().state.options.get(key); } @NotNull @Override public GlobalSearchScope getModuleScope() { return myModuleScopeProvider.getModuleScope(); } @NotNull @Override public GlobalSearchScope getModuleScope(boolean includeTests) { return myModuleScopeProvider.getModuleScope(includeTests); } @NotNull @Override public GlobalSearchScope getModuleWithLibrariesScope() { return myModuleScopeProvider.getModuleWithLibrariesScope(); } @NotNull @Override public GlobalSearchScope getModuleWithDependenciesScope() { return myModuleScopeProvider.getModuleWithDependenciesScope(); } @NotNull @Override public GlobalSearchScope getModuleContentScope() { return myModuleScopeProvider.getModuleContentScope(); } @NotNull @Override public GlobalSearchScope getModuleContentWithDependenciesScope() { return myModuleScopeProvider.getModuleContentWithDependenciesScope(); } @NotNull @Override public GlobalSearchScope getModuleWithDependenciesAndLibrariesScope(boolean includeTests) { return myModuleScopeProvider.getModuleWithDependenciesAndLibrariesScope(includeTests); } @NotNull @Override public GlobalSearchScope getModuleWithDependentsScope() { return myModuleScopeProvider.getModuleWithDependentsScope(); } @NotNull @Override public GlobalSearchScope getModuleTestsWithDependentsScope() { return myModuleScopeProvider.getModuleTestsWithDependentsScope(); } @NotNull @Override public GlobalSearchScope getModuleRuntimeScope(boolean includeTests) { return myModuleScopeProvider.getModuleRuntimeScope(includeTests); } @Override public void clearScopesCache() { myModuleScopeProvider.clearCache(); } @Override public String toString() { if (myName == null) return "Module (not initialized)"; return "Module: '" + getName() + "'" + (isDisposed() ? " (disposed)" : ""); } @Override public long getOptionsModificationCount() { return getOptionManager().getModificationCount(); } @ApiStatus.Internal @State(name = "DeprecatedModuleOptionManager", useLoadedStateAsExisting = false /* doesn't make sense to check it */) public static class DeprecatedModuleOptionManager extends SimpleModificationTracker implements PersistentStateComponent<DeprecatedModuleOptionManager.State>, ProjectModelElement { private final Module module; DeprecatedModuleOptionManager(@NotNull Module module) { this.module = module; } @Override @Nullable public ProjectModelExternalSource getExternalSource() { if (state.options.size() > 1 || state.options.size() == 1 && !state.options.containsKey(Module.ELEMENT_TYPE) /* unrealistic case, but just to be sure */) { return null; } return ExternalProjectSystemRegistry.getInstance().getExternalSource(module); } static final class State { @Property(surroundWithTag = false) @MapAnnotation(surroundKeyWithTag = false, surroundValueWithTag = false, surroundWithTag = false, entryTagName = "option") public final Map<String, String> options = new HashMap<>(); } private State state = new State(); @Nullable @Override public State getState() { return state; } @Override public void loadState(@NotNull State state) { this.state = state; } } }
jwren/intellij-community
platform/lang-impl/src/com/intellij/openapi/module/impl/ModuleImpl.java
Java
apache-2.0
12,736
# Lespedeza trigonoclada Franch. SPECIES #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
mdoering/backbone
life/Plantae/Magnoliophyta/Magnoliopsida/Fabales/Fabaceae/Campylotropis/Campylotropis trigonoclada/ Syn. Lespedeza trigonoclada/README.md
Markdown
apache-2.0
187
app.controller('PickerController', function ($scope, $modalInstance, itemColor) { $scope.showCarrierColors = true; $scope.brandColors = [ { name: 'Brand Blue', hex: '#276681' }, { name: 'Brand Green', hex: '#66b245' }, { name: 'Brand Blue Desaturated', hex: '#417c95' }, { name: 'Brand Green Desaturated', hex: '#75b86f' }, { name: 'Bluest', hex: '#5baebf' }, { name: 'Blue', hex: '#66b7bb' }, { name: 'Blue Green', hex: '#76beb6' }, { name: 'Green Blue', hex: '#84c6ae' }, { name: 'Green', hex: '#96cca7' }, { name: 'Greenest', hex: '#a4d49a' }, { name: 'Level 2 Blend', hex: '#7fced8' }, { name: 'Level 2 Blend', hex: '#8fd4d6' }, { name: 'Level 2 Blend', hex: '#a5d7d3' }, { name: 'Level 2 Blend', hex: '#b5dcce' }, { name: 'Level 2 Blend', hex: '#bfe0ca' }, { name: 'Level 2 Blend', hex: '#c8e5c2' }, { name: 'Level 3 Blend', hex: '#b0e2e7' }, { name: 'Level 3 Blend', hex: '#bce5e6' }, { name: 'Level 3 Blend', hex: '#c8e6e4' }, { name: 'Level 3 Blend', hex: '#d3eae2' }, { name: 'Level 3 Blend', hex: '#d8ecdf' }, { name: 'Level 3 Blend', hex: '#ddefda' }, { name: 'Illustration Stroke Darkest', hex: '#54636a' }, { name: 'Illustration Stroke Medium', hex: '#7f8a8f' }, { name: 'Illustration Stroke Light', hex: '#a9b1b4' }, { name: 'Illustration Stroke Lightest', hex: '#d4d8da' }, { name: 'Yellow', hex: '#f5db77' }, { name: 'Medium Yellow', hex: '#f8e499' }, { name: 'Light Yellow', hex: '#faedbb' }, { name: 'Lightest Yellow', hex: '#fdf6dd' }, { name: 'Tang', hex: '#f38871' }, { name: 'Medium Tang', hex: '#f7a593' }, { name: 'Light Tang', hex: '#fbc1b4' }, { name: 'Lightest Tang', hex: '#ffded6' }, { name: 'Black', hex: '#555555' }, { name: 'Dark Gray', hex: '#797979' }, { name: 'Medium Gray', hex: '#9c9c9c' }, { name: 'Light Gray', hex: '#c0c0c0' }, { name: 'Lightest Gray', hex: '#e3e3e3' }, { name: 'Off White', hex: '#f9f9f9' } ]; $scope.carrierColors = [ { carrier: 'Verizon', hex: '#ca5b59' }, { carrier: 'AT&T', hex: '#5694b4' }, { carrier: 'T-Mobile', hex: '#d45da0' }, { carrier: 'Sprint', hex: '#e9b444' }, { carrier: 'Cricket', hex: '#008752' }, { carrier: 'Cricket', hex: '#439474' }, { carrier: 'MetroPCS', hex: '#6764b3' }, { carrier: 'EE', hex: '#2e9a9c' }, { carrier: 'O2', hex: '#2566a8' }, { carrier: 'Orange', hex: '#ff6c42' }, { carrier: 'Three', hex: '#333333' }, { carrier: 'Vodafone', hex: '#eb5247' }, { carrier: 'Bell', hex: '#2876a5' }, { carrier: 'Leap', hex: '#330066' }, { carrier: 'Rogers', hex: '#d63e3e' }, { carrier: 'Telus', hex: '#4e5cb5' }, { carrier: 'Videotron', hex: '#fcc622' }, { carrier: 'Wind', hex: '#ec7c23' }, { carrier: 'Tie', hex: '#999999' } ] $scope.ok = function () { $modalInstance.close(itemColor); }; $scope.closeModal = function(color) { $modalInstance.close(color); } });
seanmthompson/D3-Chart-Generator
src/app/shared/colorpicker/pickerController.js
JavaScript
apache-2.0
3,420
// Copyright 2007-2017 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software distributed // under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR // CONDITIONS OF ANY KIND, either express or implied. See the License for the // specific language governing permissions and limitations under the License. namespace MassTransit.Azure.ServiceBus.Core.Topology.Configuration { using System; using MassTransit.Topology; public interface IServiceBusConsumeTopologyConfigurator : IConsumeTopologyConfigurator, IServiceBusConsumeTopology { new IServiceBusMessageConsumeTopologyConfigurator<T> GetMessageTopology<T>() where T : class; void AddSpecification(IServiceBusConsumeTopologySpecification specification); /// <summary> /// Create a topic subscription on the endpoint /// </summary> /// <param name="topicName">The topic name</param> /// <param name="subscriptionName">The name for the subscription</param> /// <param name="callback">Configure the exchange and binding</param> void Subscribe(string topicName, string subscriptionName, Action<ISubscriptionConfigurator> callback = null); } }
SanSYS/MassTransit
src/MassTransit.Azure.ServiceBus.Core/Topology/Configuration/IServiceBusConsumeTopologyConfigurator.cs
C#
apache-2.0
1,550
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_26) on Sun Dec 30 01:26:13 PST 2012 --> <TITLE> Uses of Class org.apache.hadoop.mapreduce.lib.partition.HashPartitioner (Hadoop 1.0.4-SNAPSHOT API) </TITLE> <META NAME="date" CONTENT="2012-12-30"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Class org.apache.hadoop.mapreduce.lib.partition.HashPartitioner (Hadoop 1.0.4-SNAPSHOT API)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../org/apache/hadoop/mapreduce/lib/partition/HashPartitioner.html" title="class in org.apache.hadoop.mapreduce.lib.partition"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../../index.html?org/apache/hadoop/mapreduce/lib/partition//class-useHashPartitioner.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="HashPartitioner.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <CENTER> <H2> <B>Uses of Class<br>org.apache.hadoop.mapreduce.lib.partition.HashPartitioner</B></H2> </CENTER> No usage of org.apache.hadoop.mapreduce.lib.partition.HashPartitioner <P> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../org/apache/hadoop/mapreduce/lib/partition/HashPartitioner.html" title="class in org.apache.hadoop.mapreduce.lib.partition"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV&nbsp; &nbsp;NEXT</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../../index.html?org/apache/hadoop/mapreduce/lib/partition//class-useHashPartitioner.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="HashPartitioner.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright &copy; 2009 The Apache Software Foundation </BODY> </HTML>
davidl1/hortonworks-extension
build/docs/api/org/apache/hadoop/mapreduce/lib/partition/class-use/HashPartitioner.html
HTML
apache-2.0
6,304
/* * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.mirror.declaration; import java.lang.annotation.Annotation; import java.util.Collection; import com.sun.mirror.type.*; import com.sun.mirror.util.*; /** * Represents the declaration of a program element such as a package, * class, or method. Each declaration represents a static, language-level * construct (and not, for example, a runtime construct of the virtual * machine), and typically corresponds one-to-one with a particular * fragment of source code. * * <p> Declarations should be compared using the {@link #equals(Object)} * method. There is no guarantee that any particular declaration will * always be represented by the same object. * * @deprecated All components of this API have been superseded by the * standardized annotation processing API. The replacement for the * functionality of this interface is {@link * javax.lang.model.element.Element}. * * @author Joseph D. Darcy * @author Scott Seligman * * @see Declarations * @see TypeMirror * @since 1.5 */ @Deprecated @SuppressWarnings("deprecation") public interface Declaration { /** * Tests whether an object represents the same declaration as this. * * @param obj the object to be compared with this declaration * @return <tt>true</tt> if the specified object represents the same * declaration as this */ boolean equals(Object obj); /** * Returns the text of the documentation ("javadoc") comment of * this declaration. * * @return the documentation comment of this declaration, or <tt>null</tt> * if there is none */ String getDocComment(); /** * Returns the annotations that are directly present on this declaration. * * @return the annotations directly present on this declaration; * an empty collection if there are none */ Collection<AnnotationMirror> getAnnotationMirrors(); /** * Returns the annotation of this declaration having the specified * type. The annotation may be either inherited or directly * present on this declaration. * * <p> The annotation returned by this method could contain an element * whose value is of type <tt>Class</tt>. * This value cannot be returned directly: information necessary to * locate and load a class (such as the class loader to use) is * not available, and the class might not be loadable at all. * Attempting to read a <tt>Class</tt> object by invoking the relevant * method on the returned annotation * will result in a {@link MirroredTypeException}, * from which the corresponding {@link TypeMirror} may be extracted. * Similarly, attempting to read a <tt>Class[]</tt>-valued element * will result in a {@link MirroredTypesException}. * * <blockquote> * <i>Note:</i> This method is unlike * others in this and related interfaces. It operates on run-time * reflective information -- representations of annotation types * currently loaded into the VM -- rather than on the mirrored * representations defined by and used throughout these * interfaces. It is intended for callers that are written to * operate on a known, fixed set of annotation types. * </blockquote> * * @param <A> the annotation type * @param annotationType the <tt>Class</tt> object corresponding to * the annotation type * @return the annotation of this declaration having the specified type * * @see #getAnnotationMirrors() */ <A extends Annotation> A getAnnotation(Class<A> annotationType); /** * Returns the modifiers of this declaration, excluding annotations. * Implicit modifiers, such as the <tt>public</tt> and <tt>static</tt> * modifiers of interface members, are included. * * @return the modifiers of this declaration in undefined order; * an empty collection if there are none */ Collection<Modifier> getModifiers(); /** * Returns the simple (unqualified) name of this declaration. * The name of a generic type does not include any reference * to its formal type parameters. * For example, the simple name of the interface declaration * {@code java.util.Set<E>} is <tt>"Set"</tt>. * If this declaration represents the empty package, an empty * string is returned. * If it represents a constructor, the simple name of its * declaring class is returned. * * @return the simple name of this declaration */ String getSimpleName(); /** * Returns the source position of the beginning of this declaration. * Returns <tt>null</tt> if the position is unknown or not applicable. * * <p> This source position is intended for use in providing * diagnostics, and indicates only approximately where a declaration * begins. * * @return the source position of the beginning of this declaration, * or null if the position is unknown or not applicable */ SourcePosition getPosition(); /** * Applies a visitor to this declaration. * * @param v the visitor operating on this declaration */ void accept(DeclarationVisitor v); }
haikuowuya/android_system_code
src/com/sun/mirror/declaration/Declaration.java
Java
apache-2.0
5,514
package com.xsolla.android.sdk.data.model; import java.util.List; public class XHoldSubscriptionStatus { private String status; private List<XMessage> errors; private XApi api; public String getStatus() { return status; } public List<XMessage> getErrors() { return errors; } public String getErrorMsg() { StringBuilder sb = new StringBuilder(); for (XMessage message : errors) { sb.append(message.getMessage()).append("\n"); } sb.deleteCharAt(sb.length() - 1); return sb.toString(); } @Override public String toString() { return "XHoldSubscription{" + "status='" + status + '\'' + ", errors=" + errors + ", api=" + api + '}'; } }
xsolla/xsolla-sdk-android
xsollasdk/src/main/java/com/xsolla/android/sdk/data/model/XHoldSubscriptionStatus.java
Java
apache-2.0
827
using System; using System.Collections.Generic; using System.Threading.Tasks; using Evol.TMovie.Domain.Models.Entities; using Evol.TMovie.Domain.QueryEntries.Parameters; using Evol.Common; using Evol.Domain.Data; using Evol.Common.Data; namespace Evol.TMovie.Domain.QueryEntries { public interface ISeatQueryEntry : IQueryEntry { Task<Seat> FindAsync(Guid id); Task<List<Seat>> SelectAsync(SeatQueryParameter param); Task<IPaged<Seat>> PagedAsync(SeatQueryParameter param, int pageIndex, int pageSize); } }
supernebula/evol-core
src/Evol.TMovie.Domain/QueryEntries/ISeatQueryEntry.cs
C#
apache-2.0
549
package br.eti.arthurgregorio.fulljeearch.domain.security; /** * * @author Arthur */ public interface ApplicationRoles { public final String USER = "Usuario"; public final String ADMINISTRATOR = "Administrador"; }
arthurgregorio/exemplos
FullJeeArch/src/main/java/br/eti/arthurgregorio/fulljeearch/domain/security/ApplicationRoles.java
Java
apache-2.0
228
namespace SharpGCalendar.Domain.Model { public enum Frequency { None = 0, Daily = 1, Weekly = 2, Monthly = 4, Yearly = 8 } }
jnicram/SharpGCalendar
backend-app/SharpGCalendar.Domain/Model/Frequency.cs
C#
apache-2.0
187
package com.almende.dialog.example.agent; import java.io.Serializable; import java.net.URLDecoder; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.logging.Logger; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.ws.rs.core.Response; import com.almende.dialog.Settings; import com.almende.dialog.model.Answer; import com.almende.dialog.model.Question; import com.almende.util.ParallelInit; import com.almende.util.twigmongo.QueryResultIterator; import com.almende.util.twigmongo.TwigCompatibleMongoDatastore; import com.almende.util.twigmongo.TwigCompatibleMongoDatastore.RootFindCommand; import com.almende.util.twigmongo.annotations.Id; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ObjectNode; @Path("yesno") public class YesNoAgent { static final ObjectMapper om =ParallelInit.getObjectMapper(); private static final String URL = "http://"+Settings.HOST+"/yesno/"; private static final String SOUNDURL = "http://ask4604.ask46.customers.luna.net/rest/"; private static final Logger log = Logger .getLogger("DialogHandler"); public Question getQuestion(int question_no, String preferred_medium, String phonenumber) { String questionURL = URL+"questions/"+question_no; String answerYesURL = URL+"answers/0"; String answerNoURL = URL+"answers/1"; if (preferred_medium != null && preferred_medium.startsWith("audio")){ questionURL = this.getAudioFile(question_no); answerYesURL= SOUNDURL+"14.wav"; answerNoURL= SOUNDURL+"14.wav"; } Question question=new Question(); question.setRequester(URL+"id/"); question.setType("closed"); question.setQuestion_text(questionURL); question.setAnswers(new ArrayList<Answer>(Arrays.asList( new Answer(answerYesURL, URL+"questions/"+question_no+"?preferred_medium="+preferred_medium+"&pn="+phonenumber+"&answer=yes"), new Answer(answerNoURL, URL+"questions/"+question_no+"?preferred_medium="+preferred_medium+"&pn="+phonenumber+"&answer=no")))); return question; } @GET @Path("/id/") public Response getId(@QueryParam("preferred_language") String preferred_language){ ObjectNode node= om.createObjectNode(); node.put("url", URL); node.put("nickname", "YesNo"); return Response.ok(node.toString()).build(); } @GET @Produces("application/json") public Response firstQuestion(@QueryParam("preferred_medium") String preferred_medium, @QueryParam("remoteAddress") String responder, @QueryParam("requester") String requester){ int questionNo=0; if(requester.contains("live") || requester.contains("0107421217")){ questionNo=1; } try { responder = URLDecoder.decode(responder, "UTF-8"); } catch (Exception ex) { log.severe(ex.getMessage()); } Question question = getQuestion(questionNo, preferred_medium, responder); return Response.ok(question.toJSON()).build(); } @Path("/questions/{question_no}") @POST @Produces("application/json") @Consumes("*/*") public Response answerQuestion(@PathParam("question_no") String question_no, @QueryParam("preferred_medium") String preferred_medium, @QueryParam("pn") String phonenumber, @QueryParam("answer") String answer){ Group group = this.getGroup("Group."+question_no+"."+answer); group.addMember(phonenumber); TwigCompatibleMongoDatastore datastore = new TwigCompatibleMongoDatastore(); datastore.store(group); int responseQuestion=99; String questionURL = URL+"questions/"+responseQuestion; if (preferred_medium != null && preferred_medium.startsWith("audio")){ questionURL = this.getAudioFile(responseQuestion); } Question question=new Question(); question.setRequester(URL+"id/"); question.setType("comment"); question.setQuestion_text(questionURL); return Response.ok( question.toJSON() ).build(); } @Path("/questions/{question_no}") @GET @Produces("text/plain") @Consumes("*/*") public Response getQuestionText(@PathParam("question_no") String question_no ){ Integer questionNo = Integer.parseInt(question_no); String result = ""; // These messages are now static but should be loaded from the LifeRay Database. switch (questionNo){ case 0: result="Press 1 if you are available, press 2 if you are unavailable."; break; case 1: result="Are you available?"; break; case 99: result="Thank you for your input"; break; default: result="Sorry, for some strange reason I don't have that question text available..."; } return Response.ok(result).build(); } @Path("/answers/{answer_no}") @GET @Produces("text/plain") @Consumes("*/*") public Response getAnswerText(@PathParam("answer_no") String answer_no, @QueryParam("preferred_medium") String prefered_mimeType){ Integer answerNo = Integer.parseInt(answer_no); String result=""; // These messages can be static, because they are always the same. switch (answerNo){ case 0: result="Yes"; break; case 1: result="No"; break; default: result="Sorry, for some strange reason I don't have that answer text available..."; } return Response.ok(result).build(); } // This urls will present the results @Path("result") @GET public Response getResults() { String result=""; ArrayList<Group> groups = (ArrayList<Group>) this.getAllGroups(); try { result = om.writeValueAsString(groups); } catch(Exception ex) { ex.printStackTrace(); } return Response.ok( result ).build(); } // These functions should get there data from the liferay database. // These are the audio files linked to the questions public String getAudioFile(int question_no) { switch(question_no) { case 0: return SOUNDURL+"571.wav"; case 1: return SOUNDURL+"572.wav"; case 99: return SOUNDURL+"567.wav"; default: return SOUNDURL+"529.wav"; } } // These 2 functions are the group management public Group getGroup(String id) { TwigCompatibleMongoDatastore datastore = new TwigCompatibleMongoDatastore(); Group group = datastore.load(Group.class, id); if(group!=null) return group; group = new Group(); group.setId(id); return group; } public List<Group> getAllGroups() { TwigCompatibleMongoDatastore datastore = new TwigCompatibleMongoDatastore(); RootFindCommand<Group> command = datastore.find() .type(Group.class); QueryResultIterator<Group> it = command.now(); List<Group> groups = new ArrayList<Group>(); while (it.hasNext()) { groups.add(it.next()); } return groups; } } @SuppressWarnings("serial") class Group implements Serializable { public Group() { this.members=new HashSet<String>(); } public String getId(){ return id; } public void setId(String id){ this.id=id; } public Set<String> getMembers() { return this.members; } public void addMember(String member) { this.members.add(member); } @Id private String id=null; private Set<String> members=null; }
almende/dialog
dialoghandler/src/main/java/com/almende/dialog/example/agent/YesNoAgent.java
Java
apache-2.0
7,159
CREATE TABLE IF NOT EXISTS `uctoo_district` ( `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL DEFAULT '', `level` tinyint(4) unsigned NOT NULL DEFAULT '0', `upid` mediumint(8) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='中国省市区乡镇数据表'; INSERT INTO `uctoo_district` (`id`, `name`, `level`, `upid`) VALUES (110000, '北京市', 1, 0), (120000, '天津市', 1, 0), (130000, '河北省', 1, 0), (140000, '山西省', 1, 0), (150000, '内蒙古', 1, 0), (210000, '辽宁省', 1, 0), (220000, '吉林省', 1, 0), (230000, '黑龙江', 1, 0), (310000, '上海市', 1, 0), (320000, '江苏省', 1, 0), (330000, '浙江省', 1, 0), (340000, '安徽省', 1, 0), (350000, '福建省', 1, 0), (360000, '江西省', 1, 0), (370000, '山东省', 1, 0), (410000, '河南省', 1, 0), (420000, '湖北省', 1, 0), (430000, '湖南省', 1, 0), (440000, '广东省', 1, 0), (450000, '广西省', 1, 0), (460000, '海南省', 1, 0), (500000, '重庆市', 1, 0), (510000, '四川省', 1, 0), (520000, '贵州省', 1, 0), (530000, '云南省', 1, 0), (540000, '西 藏', 1, 0), (610000, '陕西省', 1, 0), (620000, '甘肃省', 1, 0), (630000, '青海省', 1, 0), (640000, '宁 夏', 1, 0), (650000, '新 疆', 1, 0), (710000, '台湾省', 1, 0), (810000, '香 港', 1, 0), (820000, '澳 门', 1, 0), (110100, '北京市', 2, 110000), (110200, '县', 2, 110000), (120100, '市辖区', 2, 120000), (120200, '县', 2, 120000), (130100, '石家庄市', 2, 130000), (130200, '唐山市', 2, 130000), (130300, '秦皇岛市', 2, 130000), (130400, '邯郸市', 2, 130000), (130500, '邢台市', 2, 130000), (130600, '保定市', 2, 130000), (130700, '张家口市', 2, 130000), (130800, '承德市', 2, 130000), (130900, '沧州市', 2, 130000), (131000, '廊坊市', 2, 130000), (131100, '衡水市', 2, 130000), (140100, '太原市', 2, 140000), (140200, '大同市', 2, 140000), (140300, '阳泉市', 2, 140000), (140400, '长治市', 2, 140000), (140500, '晋城市', 2, 140000), (140600, '朔州市', 2, 140000), (140700, '晋中市', 2, 140000), (140800, '运城市', 2, 140000), (140900, '忻州市', 2, 140000), (141000, '临汾市', 2, 140000), (141100, '吕梁市', 2, 140000), (150100, '呼和浩特市', 2, 150000), (150200, '包头市', 2, 150000), (150300, '乌海市', 2, 150000), (150400, '赤峰市', 2, 150000), (150500, '通辽市', 2, 150000), (150600, '鄂尔多斯市', 2, 150000), (150700, '呼伦贝尔市', 2, 150000), (150800, '巴彦淖尔市', 2, 150000), (150900, '乌兰察布市', 2, 150000), (152200, '兴安盟', 2, 150000), (152500, '锡林郭勒盟', 2, 150000), (152900, '阿拉善盟', 2, 150000), (210100, '沈阳市', 2, 210000), (210200, '大连市', 2, 210000), (210300, '鞍山市', 2, 210000), (210400, '抚顺市', 2, 210000), (210500, '本溪市', 2, 210000), (210600, '丹东市', 2, 210000), (210700, '锦州市', 2, 210000), (210800, '营口市', 2, 210000), (210900, '阜新市', 2, 210000), (211000, '辽阳市', 2, 210000), (211100, '盘锦市', 2, 210000), (211200, '铁岭市', 2, 210000), (211300, '朝阳市', 2, 210000), (211400, '葫芦岛市', 2, 210000), (220100, '长春市', 2, 220000), (220200, '吉林市', 2, 220000), (220300, '四平市', 2, 220000), (220400, '辽源市', 2, 220000), (220500, '通化市', 2, 220000), (220600, '白山市', 2, 220000), (220700, '松原市', 2, 220000), (220800, '白城市', 2, 220000), (222400, '延边朝鲜族自治州', 2, 220000), (230100, '哈尔滨市', 2, 230000), (230200, '齐齐哈尔市', 2, 230000), (230300, '鸡西市', 2, 230000), (230400, '鹤岗市', 2, 230000), (230500, '双鸭山市', 2, 230000), (230600, '大庆市', 2, 230000), (230700, '伊春市', 2, 230000), (230800, '佳木斯市', 2, 230000), (230900, '七台河市', 2, 230000), (231000, '牡丹江市', 2, 230000), (231100, '黑河市', 2, 230000), (231200, '绥化市', 2, 230000), (232700, '大兴安岭地区', 2, 230000), (310100, '市辖区', 2, 310000), (310200, '县', 2, 310000), (320100, '南京市', 2, 320000), (320200, '无锡市', 2, 320000), (320300, '徐州市', 2, 320000), (320400, '常州市', 2, 320000), (320500, '苏州市', 2, 320000), (320600, '南通市', 2, 320000), (320700, '连云港市', 2, 320000), (320800, '淮安市', 2, 320000), (320900, '盐城市', 2, 320000), (321000, '扬州市', 2, 320000), (321100, '镇江市', 2, 320000), (321200, '泰州市', 2, 320000), (321300, '宿迁市', 2, 320000), (330100, '杭州市', 2, 330000), (330200, '宁波市', 2, 330000), (330300, '温州市', 2, 330000), (330400, '嘉兴市', 2, 330000), (330500, '湖州市', 2, 330000), (330600, '绍兴市', 2, 330000), (330700, '金华市', 2, 330000), (330800, '衢州市', 2, 330000), (330900, '舟山市', 2, 330000), (331000, '台州市', 2, 330000), (331100, '丽水市', 2, 330000), (340100, '合肥市', 2, 340000), (340200, '芜湖市', 2, 340000), (340300, '蚌埠市', 2, 340000), (340400, '淮南市', 2, 340000), (340500, '马鞍山市', 2, 340000), (340600, '淮北市', 2, 340000), (340700, '铜陵市', 2, 340000), (340800, '安庆市', 2, 340000), (341000, '黄山市', 2, 340000), (341100, '滁州市', 2, 340000), (341200, '阜阳市', 2, 340000), (341300, '宿州市', 2, 340000), (341500, '六安市', 2, 340000), (341600, '亳州市', 2, 340000), (341700, '池州市', 2, 340000), (341800, '宣城市', 2, 340000), (350100, '福州市', 2, 350000), (350200, '厦门市', 2, 350000), (350300, '莆田市', 2, 350000), (350400, '三明市', 2, 350000), (350500, '泉州市', 2, 350000), (350600, '漳州市', 2, 350000), (350700, '南平市', 2, 350000), (350800, '龙岩市', 2, 350000), (350900, '宁德市', 2, 350000), (360100, '南昌市', 2, 360000), (360200, '景德镇市', 2, 360000), (360300, '萍乡市', 2, 360000), (360400, '九江市', 2, 360000), (360500, '新余市', 2, 360000), (360600, '鹰潭市', 2, 360000), (360700, '赣州市', 2, 360000), (360800, '吉安市', 2, 360000), (360900, '宜春市', 2, 360000), (361000, '抚州市', 2, 360000), (361100, '上饶市', 2, 360000), (370100, '济南市', 2, 370000), (370200, '青岛市', 2, 370000), (370300, '淄博市', 2, 370000), (370400, '枣庄市', 2, 370000), (370500, '东营市', 2, 370000), (370600, '烟台市', 2, 370000), (370700, '潍坊市', 2, 370000), (370800, '济宁市', 2, 370000), (370900, '泰安市', 2, 370000), (371000, '威海市', 2, 370000), (371100, '日照市', 2, 370000), (371200, '莱芜市', 2, 370000), (371300, '临沂市', 2, 370000), (371400, '德州市', 2, 370000), (371500, '聊城市', 2, 370000), (371600, '滨州市', 2, 370000), (371700, '菏泽市', 2, 370000), (410100, '郑州市', 2, 410000), (410200, '开封市', 2, 410000), (410300, '洛阳市', 2, 410000), (410400, '平顶山市', 2, 410000), (410500, '安阳市', 2, 410000), (410600, '鹤壁市', 2, 410000), (410700, '新乡市', 2, 410000), (410800, '焦作市', 2, 410000), (410900, '濮阳市', 2, 410000), (411000, '许昌市', 2, 410000), (411100, '漯河市', 2, 410000), (411200, '三门峡市', 2, 410000), (411300, '南阳市', 2, 410000), (411400, '商丘市', 2, 410000), (411500, '信阳市', 2, 410000), (411600, '周口市', 2, 410000), (411700, '驻马店市', 2, 410000), (420100, '武汉市', 2, 420000), (420200, '黄石市', 2, 420000), (420300, '十堰市', 2, 420000), (420500, '宜昌市', 2, 420000), (420600, '襄樊市', 2, 420000), (420700, '鄂州市', 2, 420000), (420800, '荆门市', 2, 420000), (420900, '孝感市', 2, 420000), (421000, '荆州市', 2, 420000), (421100, '黄冈市', 2, 420000), (421200, '咸宁市', 2, 420000), (421300, '随州市', 2, 420000), (422800, '恩施土家族苗族自治州', 2, 420000), (429000, '省直辖行政单位', 2, 420000), (430100, '长沙市', 2, 430000), (430200, '株洲市', 2, 430000), (430300, '湘潭市', 2, 430000), (430400, '衡阳市', 2, 430000), (430500, '邵阳市', 2, 430000), (430600, '岳阳市', 2, 430000), (430700, '常德市', 2, 430000), (430800, '张家界市', 2, 430000), (430900, '益阳市', 2, 430000), (431000, '郴州市', 2, 430000), (431100, '永州市', 2, 430000), (431200, '怀化市', 2, 430000), (431300, '娄底市', 2, 430000), (433100, '湘西土家族苗族自治州', 2, 430000), (440100, '广州市', 2, 440000), (440200, '韶关市', 2, 440000), (440300, '深圳市', 2, 440000), (440400, '珠海市', 2, 440000), (440500, '汕头市', 2, 440000), (440600, '佛山市', 2, 440000), (440700, '江门市', 2, 440000), (440800, '湛江市', 2, 440000), (440900, '茂名市', 2, 440000), (441200, '肇庆市', 2, 440000), (441300, '惠州市', 2, 440000), (441400, '梅州市', 2, 440000), (441500, '汕尾市', 2, 440000), (441600, '河源市', 2, 440000), (441700, '阳江市', 2, 440000), (441800, '清远市', 2, 440000), (441900, '东莞市', 2, 440000), (442000, '中山市', 2, 440000), (445100, '潮州市', 2, 440000), (445200, '揭阳市', 2, 440000), (445300, '云浮市', 2, 440000), (450100, '南宁市', 2, 450000), (450200, '柳州市', 2, 450000), (450300, '桂林市', 2, 450000), (450400, '梧州市', 2, 450000), (450500, '北海市', 2, 450000), (450600, '防城港市', 2, 450000), (450700, '钦州市', 2, 450000), (450800, '贵港市', 2, 450000), (450900, '玉林市', 2, 450000), (451000, '百色市', 2, 450000), (451100, '贺州市', 2, 450000), (451200, '河池市', 2, 450000), (451300, '来宾市', 2, 450000), (451400, '崇左市', 2, 450000), (460100, '海口市', 2, 460000), (460200, '三亚市', 2, 460000), (469000, '省直辖县级行政单位', 2, 460000), (500100, '市辖区', 2, 500000), (500200, '县', 2, 500000), (500300, '市', 2, 500000), (510100, '成都市', 2, 510000), (510300, '自贡市', 2, 510000), (510400, '攀枝花市', 2, 510000), (510500, '泸州市', 2, 510000), (510600, '德阳市', 2, 510000), (510700, '绵阳市', 2, 510000), (510800, '广元市', 2, 510000), (510900, '遂宁市', 2, 510000), (511000, '内江市', 2, 510000), (511100, '乐山市', 2, 510000), (511300, '南充市', 2, 510000), (511400, '眉山市', 2, 510000), (511500, '宜宾市', 2, 510000), (511600, '广安市', 2, 510000), (511700, '达州市', 2, 510000), (511800, '雅安市', 2, 510000), (511900, '巴中市', 2, 510000), (512000, '资阳市', 2, 510000), (513200, '阿坝藏族羌族自治州', 2, 510000), (513300, '甘孜藏族自治州', 2, 510000), (513400, '凉山彝族自治州', 2, 510000), (520100, '贵阳市', 2, 520000), (520200, '六盘水市', 2, 520000), (520300, '遵义市', 2, 520000), (520400, '安顺市', 2, 520000), (522200, '铜仁地区', 2, 520000), (522300, '黔西南布依族苗族自治州', 2, 520000), (522400, '毕节地区', 2, 520000), (522600, '黔东南苗族侗族自治州', 2, 520000), (522700, '黔南布依族苗族自治州', 2, 520000), (530100, '昆明市', 2, 530000), (530300, '曲靖市', 2, 530000), (530400, '玉溪市', 2, 530000), (530500, '保山市', 2, 530000), (530600, '昭通市', 2, 530000), (530700, '丽江市', 2, 530000), (530800, '思茅市', 2, 530000), (530900, '临沧市', 2, 530000), (532300, '楚雄彝族自治州', 2, 530000), (532500, '红河哈尼族彝族自治州', 2, 530000), (532600, '文山壮族苗族自治州', 2, 530000), (532800, '西双版纳傣族自治州', 2, 530000), (532900, '大理白族自治州', 2, 530000), (533100, '德宏傣族景颇族自治州', 2, 530000), (533300, '怒江傈僳族自治州', 2, 530000), (533400, '迪庆藏族自治州', 2, 530000), (540100, '拉萨市', 2, 540000), (542100, '昌都地区', 2, 540000), (542200, '山南地区', 2, 540000), (542300, '日喀则地区', 2, 540000), (542400, '那曲地区', 2, 540000), (542500, '阿里地区', 2, 540000), (542600, '林芝地区', 2, 540000), (610100, '西安市', 2, 610000), (610200, '铜川市', 2, 610000), (610300, '宝鸡市', 2, 610000), (610400, '咸阳市', 2, 610000), (610500, '渭南市', 2, 610000), (610600, '延安市', 2, 610000), (610700, '汉中市', 2, 610000), (610800, '榆林市', 2, 610000), (610900, '安康市', 2, 610000), (611000, '商洛市', 2, 610000), (620100, '兰州市', 2, 620000), (620200, '嘉峪关市', 2, 620000), (620300, '金昌市', 2, 620000), (620400, '白银市', 2, 620000), (620500, '天水市', 2, 620000), (620600, '武威市', 2, 620000), (620700, '张掖市', 2, 620000), (620800, '平凉市', 2, 620000), (620900, '酒泉市', 2, 620000), (621000, '庆阳市', 2, 620000), (621100, '定西市', 2, 620000), (621200, '陇南市', 2, 620000), (622900, '临夏回族自治州', 2, 620000), (623000, '甘南藏族自治州', 2, 620000), (630100, '西宁市', 2, 630000), (632100, '海东地区', 2, 630000), (632200, '海北藏族自治州', 2, 630000), (632300, '黄南藏族自治州', 2, 630000), (632500, '海南藏族自治州', 2, 630000), (632600, '果洛藏族自治州', 2, 630000), (632700, '玉树藏族自治州', 2, 630000), (632800, '海西蒙古族藏族自治州', 2, 630000), (640100, '银川市', 2, 640000), (640200, '石嘴山市', 2, 640000), (640300, '吴忠市', 2, 640000), (640400, '固原市', 2, 640000), (640500, '中卫市', 2, 640000), (650100, '乌鲁木齐市', 2, 650000), (650200, '克拉玛依市', 2, 650000), (652100, '吐鲁番地区', 2, 650000), (652200, '哈密地区', 2, 650000), (652300, '昌吉回族自治州', 2, 650000), (652700, '博尔塔拉蒙古自治州', 2, 650000), (652800, '巴音郭楞蒙古自治州', 2, 650000), (652900, '阿克苏地区', 2, 650000), (653000, '克孜勒苏柯尔克孜自治州', 2, 650000), (653100, '喀什地区', 2, 650000), (653200, '和田地区', 2, 650000), (654000, '伊犁哈萨克自治州', 2, 650000), (654200, '塔城地区', 2, 650000), (654300, '阿勒泰地区', 2, 650000), (659000, '省直辖行政单位', 2, 650000), (110101, '东城区', 3, 110100), (110102, '西城区', 3, 110100), (110103, '崇文区', 3, 110100), (110104, '宣武区', 3, 110100), (110105, '朝阳区', 3, 110100), (110106, '丰台区', 3, 110100), (110107, '石景山区', 3, 110100), (110108, '海淀区', 3, 110100), (110109, '门头沟区', 3, 110100), (110111, '房山区', 3, 110100), (110112, '通州区', 3, 110100), (110113, '顺义区', 3, 110100), (110114, '昌平区', 3, 110100), (110115, '大兴区', 3, 110100), (110116, '怀柔区', 3, 110100), (110117, '平谷区', 3, 110100), (110228, '密云县', 3, 110200), (110229, '延庆县', 3, 110200), (120101, '和平区', 3, 120100), (120102, '河东区', 3, 120100), (120103, '河西区', 3, 120100), (120104, '南开区', 3, 120100), (120105, '河北区', 3, 120100), (120106, '红桥区', 3, 120100), (120107, '塘沽区', 3, 120100), (120108, '汉沽区', 3, 120100), (120109, '大港区', 3, 120100), (120110, '东丽区', 3, 120100), (120111, '西青区', 3, 120100), (120112, '津南区', 3, 120100), (120113, '北辰区', 3, 120100), (120114, '武清区', 3, 120100), (120115, '宝坻区', 3, 120100), (120221, '宁河县', 3, 120200), (120223, '静海县', 3, 120200), (120225, '蓟 县', 3, 120200), (130101, '市辖区', 3, 130100), (130102, '长安区', 3, 130100), (130103, '桥东区', 3, 130100), (130104, '桥西区', 3, 130100), (130105, '新华区', 3, 130100), (130107, '井陉矿区', 3, 130100), (130108, '裕华区', 3, 130100), (130121, '井陉县', 3, 130100), (130123, '正定县', 3, 130100), (130124, '栾城县', 3, 130100), (130125, '行唐县', 3, 130100), (130126, '灵寿县', 3, 130100), (130127, '高邑县', 3, 130100), (130128, '深泽县', 3, 130100), (130129, '赞皇县', 3, 130100), (130130, '无极县', 3, 130100), (130131, '平山县', 3, 130100), (130132, '元氏县', 3, 130100), (130133, '赵 县', 3, 130100), (130181, '辛集市', 3, 130100), (130182, '藁城市', 3, 130100), (130183, '晋州市', 3, 130100), (130184, '新乐市', 3, 130100), (130185, '鹿泉市', 3, 130100), (130201, '市辖区', 3, 130200), (130202, '路南区', 3, 130200), (130203, '路北区', 3, 130200), (130204, '古冶区', 3, 130200), (130205, '开平区', 3, 130200), (130207, '丰南区', 3, 130200), (130208, '丰润区', 3, 130200), (130223, '滦 县', 3, 130200), (130224, '滦南县', 3, 130200), (130225, '乐亭县', 3, 130200), (130227, '迁西县', 3, 130200), (130229, '玉田县', 3, 130200), (130230, '唐海县', 3, 130200), (130281, '遵化市', 3, 130200), (130283, '迁安市', 3, 130200), (130301, '市辖区', 3, 130300), (130302, '海港区', 3, 130300), (130303, '山海关区', 3, 130300), (130304, '北戴河区', 3, 130300), (130321, '青龙满族自治县', 3, 130300), (130322, '昌黎县', 3, 130300), (130323, '抚宁县', 3, 130300), (130324, '卢龙县', 3, 130300), (130401, '市辖区', 3, 130400), (130402, '邯山区', 3, 130400), (130403, '丛台区', 3, 130400), (130404, '复兴区', 3, 130400), (130406, '峰峰矿区', 3, 130400), (130421, '邯郸县', 3, 130400), (130423, '临漳县', 3, 130400), (130424, '成安县', 3, 130400), (130425, '大名县', 3, 130400), (130426, '涉 县', 3, 130400), (130427, '磁 县', 3, 130400), (130428, '肥乡县', 3, 130400), (130429, '永年县', 3, 130400), (130430, '邱 县', 3, 130400), (130431, '鸡泽县', 3, 130400), (130432, '广平县', 3, 130400), (130433, '馆陶县', 3, 130400), (130434, '魏 县', 3, 130400), (130435, '曲周县', 3, 130400), (130481, '武安市', 3, 130400), (130501, '市辖区', 3, 130500), (130502, '桥东区', 3, 130500), (130503, '桥西区', 3, 130500), (130521, '邢台县', 3, 130500), (130522, '临城县', 3, 130500), (130523, '内丘县', 3, 130500), (130524, '柏乡县', 3, 130500), (130525, '隆尧县', 3, 130500), (130526, '任 县', 3, 130500), (130527, '南和县', 3, 130500), (130528, '宁晋县', 3, 130500), (130529, '巨鹿县', 3, 130500), (130530, '新河县', 3, 130500), (130531, '广宗县', 3, 130500), (130532, '平乡县', 3, 130500), (130533, '威 县', 3, 130500), (130534, '清河县', 3, 130500), (130535, '临西县', 3, 130500), (130581, '南宫市', 3, 130500), (130582, '沙河市', 3, 130500), (130601, '市辖区', 3, 130600), (130602, '新市区', 3, 130600), (130603, '北市区', 3, 130600), (130604, '南市区', 3, 130600), (130621, '满城县', 3, 130600), (130622, '清苑县', 3, 130600), (130623, '涞水县', 3, 130600), (130624, '阜平县', 3, 130600), (130625, '徐水县', 3, 130600), (130626, '定兴县', 3, 130600), (130627, '唐 县', 3, 130600), (130628, '高阳县', 3, 130600), (130629, '容城县', 3, 130600), (130630, '涞源县', 3, 130600), (130631, '望都县', 3, 130600), (130632, '安新县', 3, 130600), (130633, '易 县', 3, 130600), (130634, '曲阳县', 3, 130600), (130635, '蠡 县', 3, 130600), (130636, '顺平县', 3, 130600), (130637, '博野县', 3, 130600), (130638, '雄 县', 3, 130600), (130681, '涿州市', 3, 130600), (130682, '定州市', 3, 130600), (130683, '安国市', 3, 130600), (130684, '高碑店市', 3, 130600), (130701, '市辖区', 3, 130700), (130702, '桥东区', 3, 130700), (130703, '桥西区', 3, 130700), (130705, '宣化区', 3, 130700), (130706, '下花园区', 3, 130700), (130721, '宣化县', 3, 130700), (130722, '张北县', 3, 130700), (130723, '康保县', 3, 130700), (130724, '沽源县', 3, 130700), (130725, '尚义县', 3, 130700), (130726, '蔚 县', 3, 130700), (130727, '阳原县', 3, 130700), (130728, '怀安县', 3, 130700), (130729, '万全县', 3, 130700), (130730, '怀来县', 3, 130700), (130731, '涿鹿县', 3, 130700), (130732, '赤城县', 3, 130700), (130733, '崇礼县', 3, 130700), (130801, '市辖区', 3, 130800), (130802, '双桥区', 3, 130800), (130803, '双滦区', 3, 130800), (130804, '鹰手营子矿区', 3, 130800), (130821, '承德县', 3, 130800), (130822, '兴隆县', 3, 130800), (130823, '平泉县', 3, 130800), (130824, '滦平县', 3, 130800), (130825, '隆化县', 3, 130800), (130826, '丰宁满族自治县', 3, 130800), (130827, '宽城满族自治县', 3, 130800), (130828, '围场满族蒙古族自治县', 3, 130800), (130901, '市辖区', 3, 130900), (130902, '新华区', 3, 130900), (130903, '运河区', 3, 130900), (130921, '沧 县', 3, 130900), (130922, '青 县', 3, 130900), (130923, '东光县', 3, 130900), (130924, '海兴县', 3, 130900), (130925, '盐山县', 3, 130900), (130926, '肃宁县', 3, 130900), (130927, '南皮县', 3, 130900), (130928, '吴桥县', 3, 130900), (130929, '献 县', 3, 130900), (130930, '孟村回族自治县', 3, 130900), (130981, '泊头市', 3, 130900), (130982, '任丘市', 3, 130900), (130983, '黄骅市', 3, 130900), (130984, '河间市', 3, 130900), (131001, '市辖区', 3, 131000), (131002, '安次区', 3, 131000), (131003, '广阳区', 3, 131000), (131022, '固安县', 3, 131000), (131023, '永清县', 3, 131000), (131024, '香河县', 3, 131000), (131025, '大城县', 3, 131000), (131026, '文安县', 3, 131000), (131028, '大厂回族自治县', 3, 131000), (131081, '霸州市', 3, 131000), (131082, '三河市', 3, 131000), (131101, '市辖区', 3, 131100), (131102, '桃城区', 3, 131100), (131121, '枣强县', 3, 131100), (131122, '武邑县', 3, 131100), (131123, '武强县', 3, 131100), (131124, '饶阳县', 3, 131100), (131125, '安平县', 3, 131100), (131126, '故城县', 3, 131100), (131127, '景 县', 3, 131100), (131128, '阜城县', 3, 131100), (131181, '冀州市', 3, 131100), (131182, '深州市', 3, 131100), (140101, '市辖区', 3, 140100), (140105, '小店区', 3, 140100), (140106, '迎泽区', 3, 140100), (140107, '杏花岭区', 3, 140100), (140108, '尖草坪区', 3, 140100), (140109, '万柏林区', 3, 140100), (140110, '晋源区', 3, 140100), (140121, '清徐县', 3, 140100), (140122, '阳曲县', 3, 140100), (140123, '娄烦县', 3, 140100), (140181, '古交市', 3, 140100), (140201, '市辖区', 3, 140200), (140202, '城 区', 3, 140200), (140203, '矿 区', 3, 140200), (140211, '南郊区', 3, 140200), (140212, '新荣区', 3, 140200), (140221, '阳高县', 3, 140200), (140222, '天镇县', 3, 140200), (140223, '广灵县', 3, 140200), (140224, '灵丘县', 3, 140200), (140225, '浑源县', 3, 140200), (140226, '左云县', 3, 140200), (140227, '大同县', 3, 140200), (140301, '市辖区', 3, 140300), (140302, '城 区', 3, 140300), (140303, '矿 区', 3, 140300), (140311, '郊 区', 3, 140300), (140321, '平定县', 3, 140300), (140322, '盂 县', 3, 140300), (140401, '市辖区', 3, 140400), (140402, '城 区', 3, 140400), (140411, '郊 区', 3, 140400), (140421, '长治县', 3, 140400), (140423, '襄垣县', 3, 140400), (140424, '屯留县', 3, 140400), (140425, '平顺县', 3, 140400), (140426, '黎城县', 3, 140400), (140427, '壶关县', 3, 140400), (140428, '长子县', 3, 140400), (140429, '武乡县', 3, 140400), (140430, '沁 县', 3, 140400), (140431, '沁源县', 3, 140400), (140481, '潞城市', 3, 140400), (140501, '市辖区', 3, 140500), (140502, '城 区', 3, 140500), (140521, '沁水县', 3, 140500), (140522, '阳城县', 3, 140500), (140524, '陵川县', 3, 140500), (140525, '泽州县', 3, 140500), (140581, '高平市', 3, 140500), (140601, '市辖区', 3, 140600), (140602, '朔城区', 3, 140600), (140603, '平鲁区', 3, 140600), (140621, '山阴县', 3, 140600), (140622, '应 县', 3, 140600), (140623, '右玉县', 3, 140600), (140624, '怀仁县', 3, 140600), (140701, '市辖区', 3, 140700), (140702, '榆次区', 3, 140700), (140721, '榆社县', 3, 140700), (140722, '左权县', 3, 140700), (140723, '和顺县', 3, 140700), (140724, '昔阳县', 3, 140700), (140725, '寿阳县', 3, 140700), (140726, '太谷县', 3, 140700), (140727, '祁 县', 3, 140700), (140728, '平遥县', 3, 140700), (140729, '灵石县', 3, 140700), (140781, '介休市', 3, 140700), (140801, '市辖区', 3, 140800), (140802, '盐湖区', 3, 140800), (140821, '临猗县', 3, 140800), (140822, '万荣县', 3, 140800), (140823, '闻喜县', 3, 140800), (140824, '稷山县', 3, 140800), (140825, '新绛县', 3, 140800), (140826, '绛 县', 3, 140800), (140827, '垣曲县', 3, 140800), (140828, '夏 县', 3, 140800), (140829, '平陆县', 3, 140800), (140830, '芮城县', 3, 140800), (140881, '永济市', 3, 140800), (140882, '河津市', 3, 140800), (140901, '市辖区', 3, 140900), (140902, '忻府区', 3, 140900), (140921, '定襄县', 3, 140900), (140922, '五台县', 3, 140900), (140923, '代 县', 3, 140900), (140924, '繁峙县', 3, 140900), (140925, '宁武县', 3, 140900), (140926, '静乐县', 3, 140900), (140927, '神池县', 3, 140900), (140928, '五寨县', 3, 140900), (140929, '岢岚县', 3, 140900), (140930, '河曲县', 3, 140900), (140931, '保德县', 3, 140900), (140932, '偏关县', 3, 140900), (140981, '原平市', 3, 140900), (141001, '市辖区', 3, 141000), (141002, '尧都区', 3, 141000), (141021, '曲沃县', 3, 141000), (141022, '翼城县', 3, 141000), (141023, '襄汾县', 3, 141000), (141024, '洪洞县', 3, 141000), (141025, '古 县', 3, 141000), (141026, '安泽县', 3, 141000), (141027, '浮山县', 3, 141000), (141028, '吉 县', 3, 141000), (141029, '乡宁县', 3, 141000), (141030, '大宁县', 3, 141000), (141031, '隰 县', 3, 141000), (141032, '永和县', 3, 141000), (141033, '蒲 县', 3, 141000), (141034, '汾西县', 3, 141000), (141081, '侯马市', 3, 141000), (141082, '霍州市', 3, 141000), (141101, '市辖区', 3, 141100), (141102, '离石区', 3, 141100), (141121, '文水县', 3, 141100), (141122, '交城县', 3, 141100), (141123, '兴 县', 3, 141100), (141124, '临 县', 3, 141100), (141125, '柳林县', 3, 141100), (141126, '石楼县', 3, 141100), (141127, '岚 县', 3, 141100), (141128, '方山县', 3, 141100), (141129, '中阳县', 3, 141100), (141130, '交口县', 3, 141100), (141181, '孝义市', 3, 141100), (141182, '汾阳市', 3, 141100), (150101, '市辖区', 3, 150100), (150102, '新城区', 3, 150100), (150103, '回民区', 3, 150100), (150104, '玉泉区', 3, 150100), (150105, '赛罕区', 3, 150100), (150121, '土默特左旗', 3, 150100), (150122, '托克托县', 3, 150100), (150123, '和林格尔县', 3, 150100), (150124, '清水河县', 3, 150100), (150125, '武川县', 3, 150100), (150201, '市辖区', 3, 150200), (150202, '东河区', 3, 150200), (150203, '昆都仑区', 3, 150200), (150204, '青山区', 3, 150200), (150205, '石拐区', 3, 150200), (150206, '白云矿区', 3, 150200), (150207, '九原区', 3, 150200), (150221, '土默特右旗', 3, 150200), (150222, '固阳县', 3, 150200), (150223, '达尔罕茂明安联合旗', 3, 150200), (150301, '市辖区', 3, 150300), (150302, '海勃湾区', 3, 150300), (150303, '海南区', 3, 150300), (150304, '乌达区', 3, 150300), (150401, '市辖区', 3, 150400), (150402, '红山区', 3, 150400), (150403, '元宝山区', 3, 150400), (150404, '松山区', 3, 150400), (150421, '阿鲁科尔沁旗', 3, 150400), (150422, '巴林左旗', 3, 150400), (150423, '巴林右旗', 3, 150400), (150424, '林西县', 3, 150400), (150425, '克什克腾旗', 3, 150400), (150426, '翁牛特旗', 3, 150400), (150428, '喀喇沁旗', 3, 150400), (150429, '宁城县', 3, 150400), (150430, '敖汉旗', 3, 150400), (150501, '市辖区', 3, 150500), (150502, '科尔沁区', 3, 150500), (150521, '科尔沁左翼中旗', 3, 150500), (150522, '科尔沁左翼后旗', 3, 150500), (150523, '开鲁县', 3, 150500), (150524, '库伦旗', 3, 150500), (150525, '奈曼旗', 3, 150500), (150526, '扎鲁特旗', 3, 150500), (150581, '霍林郭勒市', 3, 150500), (150602, '东胜区', 3, 150600), (150621, '达拉特旗', 3, 150600), (150622, '准格尔旗', 3, 150600), (150623, '鄂托克前旗', 3, 150600), (150624, '鄂托克旗', 3, 150600), (150625, '杭锦旗', 3, 150600), (150626, '乌审旗', 3, 150600), (150627, '伊金霍洛旗', 3, 150600), (150701, '市辖区', 3, 150700), (150702, '海拉尔区', 3, 150700), (150721, '阿荣旗', 3, 150700), (150722, '莫力达瓦达斡尔族自治旗', 3, 150700), (150723, '鄂伦春自治旗', 3, 150700), (150724, '鄂温克族自治旗', 3, 150700), (150725, '陈巴尔虎旗', 3, 150700), (150726, '新巴尔虎左旗', 3, 150700), (150727, '新巴尔虎右旗', 3, 150700), (150781, '满洲里市', 3, 150700), (150782, '牙克石市', 3, 150700), (150783, '扎兰屯市', 3, 150700), (150784, '额尔古纳市', 3, 150700), (150785, '根河市', 3, 150700), (150801, '市辖区', 3, 150800), (150802, '临河区', 3, 150800), (150821, '五原县', 3, 150800), (150822, '磴口县', 3, 150800), (150823, '乌拉特前旗', 3, 150800), (150824, '乌拉特中旗', 3, 150800), (150825, '乌拉特后旗', 3, 150800), (150826, '杭锦后旗', 3, 150800), (150901, '市辖区', 3, 150900), (150902, '集宁区', 3, 150900), (150921, '卓资县', 3, 150900), (150922, '化德县', 3, 150900), (150923, '商都县', 3, 150900), (150924, '兴和县', 3, 150900), (150925, '凉城县', 3, 150900), (150926, '察哈尔右翼前旗', 3, 150900), (150927, '察哈尔右翼中旗', 3, 150900), (150928, '察哈尔右翼后旗', 3, 150900), (150929, '四子王旗', 3, 150900), (150981, '丰镇市', 3, 150900), (152201, '乌兰浩特市', 3, 152200), (152202, '阿尔山市', 3, 152200), (152221, '科尔沁右翼前旗', 3, 152200), (152222, '科尔沁右翼中旗', 3, 152200), (152223, '扎赉特旗', 3, 152200), (152224, '突泉县', 3, 152200), (152501, '二连浩特市', 3, 152500), (152502, '锡林浩特市', 3, 152500), (152522, '阿巴嘎旗', 3, 152500), (152523, '苏尼特左旗', 3, 152500), (152524, '苏尼特右旗', 3, 152500), (152525, '东乌珠穆沁旗', 3, 152500), (152526, '西乌珠穆沁旗', 3, 152500), (152527, '太仆寺旗', 3, 152500), (152528, '镶黄旗', 3, 152500), (152529, '正镶白旗', 3, 152500), (152530, '正蓝旗', 3, 152500), (152531, '多伦县', 3, 152500), (152921, '阿拉善左旗', 3, 152900), (152922, '阿拉善右旗', 3, 152900), (152923, '额济纳旗', 3, 152900), (210101, '市辖区', 3, 210100), (210102, '和平区', 3, 210100), (210103, '沈河区', 3, 210100), (210104, '大东区', 3, 210100), (210105, '皇姑区', 3, 210100), (210106, '铁西区', 3, 210100), (210111, '苏家屯区', 3, 210100), (210112, '东陵区', 3, 210100), (210113, '新城子区', 3, 210100), (210114, '于洪区', 3, 210100), (210122, '辽中县', 3, 210100), (210123, '康平县', 3, 210100), (210124, '法库县', 3, 210100), (210181, '新民市', 3, 210100), (210201, '市辖区', 3, 210200), (210202, '中山区', 3, 210200), (210203, '西岗区', 3, 210200), (210204, '沙河口区', 3, 210200), (210211, '甘井子区', 3, 210200), (210212, '旅顺口区', 3, 210200), (210213, '金州区', 3, 210200), (210224, '长海县', 3, 210200), (210281, '瓦房店市', 3, 210200), (210282, '普兰店市', 3, 210200), (210283, '庄河市', 3, 210200), (210301, '市辖区', 3, 210300), (210302, '铁东区', 3, 210300), (210303, '铁西区', 3, 210300), (210304, '立山区', 3, 210300), (210311, '千山区', 3, 210300), (210321, '台安县', 3, 210300), (210323, '岫岩满族自治县', 3, 210300), (210381, '海城市', 3, 210300), (210401, '市辖区', 3, 210400), (210402, '新抚区', 3, 210400), (210403, '东洲区', 3, 210400), (210404, '望花区', 3, 210400), (210411, '顺城区', 3, 210400), (210421, '抚顺县', 3, 210400), (210422, '新宾满族自治县', 3, 210400), (210423, '清原满族自治县', 3, 210400), (210501, '市辖区', 3, 210500), (210502, '平山区', 3, 210500), (210503, '溪湖区', 3, 210500), (210504, '明山区', 3, 210500), (210505, '南芬区', 3, 210500), (210521, '本溪满族自治县', 3, 210500), (210522, '桓仁满族自治县', 3, 210500), (210601, '市辖区', 3, 210600), (210602, '元宝区', 3, 210600), (210603, '振兴区', 3, 210600), (210604, '振安区', 3, 210600), (210624, '宽甸满族自治县', 3, 210600), (210681, '东港市', 3, 210600), (210682, '凤城市', 3, 210600), (210701, '市辖区', 3, 210700), (210702, '古塔区', 3, 210700), (210703, '凌河区', 3, 210700), (210711, '太和区', 3, 210700), (210726, '黑山县', 3, 210700), (210727, '义 县', 3, 210700), (210781, '凌海市', 3, 210700), (210782, '北宁市', 3, 210700), (210801, '市辖区', 3, 210800), (210802, '站前区', 3, 210800), (210803, '西市区', 3, 210800), (210804, '鲅鱼圈区', 3, 210800), (210811, '老边区', 3, 210800), (210881, '盖州市', 3, 210800), (210882, '大石桥市', 3, 210800), (210901, '市辖区', 3, 210900), (210902, '海州区', 3, 210900), (210903, '新邱区', 3, 210900), (210904, '太平区', 3, 210900), (210905, '清河门区', 3, 210900), (210911, '细河区', 3, 210900), (210921, '阜新蒙古族自治县', 3, 210900), (210922, '彰武县', 3, 210900), (211001, '市辖区', 3, 211000), (211002, '白塔区', 3, 211000), (211003, '文圣区', 3, 211000), (211004, '宏伟区', 3, 211000), (211005, '弓长岭区', 3, 211000), (211011, '太子河区', 3, 211000), (211021, '辽阳县', 3, 211000), (211081, '灯塔市', 3, 211000), (211101, '市辖区', 3, 211100), (211102, '双台子区', 3, 211100), (211103, '兴隆台区', 3, 211100), (211121, '大洼县', 3, 211100), (211122, '盘山县', 3, 211100), (211201, '市辖区', 3, 211200), (211202, '银州区', 3, 211200), (211204, '清河区', 3, 211200), (211221, '铁岭县', 3, 211200), (211223, '西丰县', 3, 211200), (211224, '昌图县', 3, 211200), (211281, '调兵山市', 3, 211200), (211282, '开原市', 3, 211200), (211301, '市辖区', 3, 211300), (211302, '双塔区', 3, 211300), (211303, '龙城区', 3, 211300), (211321, '朝阳县', 3, 211300), (211322, '建平县', 3, 211300), (211324, '喀喇沁左翼蒙古族自治县', 3, 211300), (211381, '北票市', 3, 211300), (211382, '凌源市', 3, 211300), (211401, '市辖区', 3, 211400), (211402, '连山区', 3, 211400), (211403, '龙港区', 3, 211400), (211404, '南票区', 3, 211400), (211421, '绥中县', 3, 211400), (211422, '建昌县', 3, 211400), (211481, '兴城市', 3, 211400), (220101, '市辖区', 3, 220100), (220102, '南关区', 3, 220100), (220103, '宽城区', 3, 220100), (220104, '朝阳区', 3, 220100), (220105, '二道区', 3, 220100), (220106, '绿园区', 3, 220100), (220112, '双阳区', 3, 220100), (220122, '农安县', 3, 220100), (220181, '九台市', 3, 220100), (220182, '榆树市', 3, 220100), (220183, '德惠市', 3, 220100), (220201, '市辖区', 3, 220200), (220202, '昌邑区', 3, 220200), (220203, '龙潭区', 3, 220200), (220204, '船营区', 3, 220200), (220211, '丰满区', 3, 220200), (220221, '永吉县', 3, 220200), (220281, '蛟河市', 3, 220200), (220282, '桦甸市', 3, 220200), (220283, '舒兰市', 3, 220200), (220284, '磐石市', 3, 220200), (220301, '市辖区', 3, 220300), (220302, '铁西区', 3, 220300), (220303, '铁东区', 3, 220300), (220322, '梨树县', 3, 220300), (220323, '伊通满族自治县', 3, 220300), (220381, '公主岭市', 3, 220300), (220382, '双辽市', 3, 220300), (220401, '市辖区', 3, 220400), (220402, '龙山区', 3, 220400), (220403, '西安区', 3, 220400), (220421, '东丰县', 3, 220400), (220422, '东辽县', 3, 220400), (220501, '市辖区', 3, 220500), (220502, '东昌区', 3, 220500), (220503, '二道江区', 3, 220500), (220521, '通化县', 3, 220500), (220523, '辉南县', 3, 220500), (220524, '柳河县', 3, 220500), (220581, '梅河口市', 3, 220500), (220582, '集安市', 3, 220500), (220601, '市辖区', 3, 220600), (220602, '八道江区', 3, 220600), (220621, '抚松县', 3, 220600), (220622, '靖宇县', 3, 220600), (220623, '长白朝鲜族自治县', 3, 220600), (220625, '江源县', 3, 220600), (220681, '临江市', 3, 220600), (220701, '市辖区', 3, 220700), (220702, '宁江区', 3, 220700), (220721, '前郭尔罗斯蒙古族自治县', 3, 220700), (220722, '长岭县', 3, 220700), (220723, '乾安县', 3, 220700), (220724, '扶余县', 3, 220700), (220801, '市辖区', 3, 220800), (220802, '洮北区', 3, 220800), (220821, '镇赉县', 3, 220800), (220822, '通榆县', 3, 220800), (220881, '洮南市', 3, 220800), (220882, '大安市', 3, 220800), (222401, '延吉市', 3, 222400), (222402, '图们市', 3, 222400), (222403, '敦化市', 3, 222400), (222404, '珲春市', 3, 222400), (222405, '龙井市', 3, 222400), (222406, '和龙市', 3, 222400), (222424, '汪清县', 3, 222400), (222426, '安图县', 3, 222400), (230101, '市辖区', 3, 230100), (230102, '道里区', 3, 230100), (230103, '南岗区', 3, 230100), (230104, '道外区', 3, 230100), (230106, '香坊区', 3, 230100), (230107, '动力区', 3, 230100), (230108, '平房区', 3, 230100), (230109, '松北区', 3, 230100), (230111, '呼兰区', 3, 230100), (230123, '依兰县', 3, 230100), (230124, '方正县', 3, 230100), (230125, '宾 县', 3, 230100), (230126, '巴彦县', 3, 230100), (230127, '木兰县', 3, 230100), (230128, '通河县', 3, 230100), (230129, '延寿县', 3, 230100), (230181, '阿城市', 3, 230100), (230182, '双城市', 3, 230100), (230183, '尚志市', 3, 230100), (230184, '五常市', 3, 230100), (230201, '市辖区', 3, 230200), (230202, '龙沙区', 3, 230200), (230203, '建华区', 3, 230200), (230204, '铁锋区', 3, 230200), (230205, '昂昂溪区', 3, 230200), (230206, '富拉尔基区', 3, 230200), (230207, '碾子山区', 3, 230200), (230208, '梅里斯达斡尔族区', 3, 230200), (230221, '龙江县', 3, 230200), (230223, '依安县', 3, 230200), (230224, '泰来县', 3, 230200), (230225, '甘南县', 3, 230200), (230227, '富裕县', 3, 230200), (230229, '克山县', 3, 230200), (230230, '克东县', 3, 230200), (230231, '拜泉县', 3, 230200), (230281, '讷河市', 3, 230200), (230301, '市辖区', 3, 230300), (230302, '鸡冠区', 3, 230300), (230303, '恒山区', 3, 230300), (230304, '滴道区', 3, 230300), (230305, '梨树区', 3, 230300), (230306, '城子河区', 3, 230300), (230307, '麻山区', 3, 230300), (230321, '鸡东县', 3, 230300), (230381, '虎林市', 3, 230300), (230382, '密山市', 3, 230300), (230401, '市辖区', 3, 230400), (230402, '向阳区', 3, 230400), (230403, '工农区', 3, 230400), (230404, '南山区', 3, 230400), (230405, '兴安区', 3, 230400), (230406, '东山区', 3, 230400), (230407, '兴山区', 3, 230400), (230421, '萝北县', 3, 230400), (230422, '绥滨县', 3, 230400), (230501, '市辖区', 3, 230500), (230502, '尖山区', 3, 230500), (230503, '岭东区', 3, 230500), (230505, '四方台区', 3, 230500), (230506, '宝山区', 3, 230500), (230521, '集贤县', 3, 230500), (230522, '友谊县', 3, 230500), (230523, '宝清县', 3, 230500), (230524, '饶河县', 3, 230500), (230601, '市辖区', 3, 230600), (230602, '萨尔图区', 3, 230600), (230603, '龙凤区', 3, 230600), (230604, '让胡路区', 3, 230600), (230605, '红岗区', 3, 230600), (230606, '大同区', 3, 230600), (230621, '肇州县', 3, 230600), (230622, '肇源县', 3, 230600), (230623, '林甸县', 3, 230600), (230624, '杜尔伯特蒙古族自治县', 3, 230600), (230701, '市辖区', 3, 230700), (230702, '伊春区', 3, 230700), (230703, '南岔区', 3, 230700), (230704, '友好区', 3, 230700), (230705, '西林区', 3, 230700), (230706, '翠峦区', 3, 230700), (230707, '新青区', 3, 230700), (230708, '美溪区', 3, 230700), (230709, '金山屯区', 3, 230700), (230710, '五营区', 3, 230700), (230711, '乌马河区', 3, 230700), (230712, '汤旺河区', 3, 230700), (230713, '带岭区', 3, 230700), (230714, '乌伊岭区', 3, 230700), (230715, '红星区', 3, 230700), (230716, '上甘岭区', 3, 230700), (230722, '嘉荫县', 3, 230700), (230781, '铁力市', 3, 230700), (230801, '市辖区', 3, 230800), (230802, '永红区', 3, 230800), (230803, '向阳区', 3, 230800), (230804, '前进区', 3, 230800), (230805, '东风区', 3, 230800), (230811, '郊 区', 3, 230800), (230822, '桦南县', 3, 230800), (230826, '桦川县', 3, 230800), (230828, '汤原县', 3, 230800), (230833, '抚远县', 3, 230800), (230881, '同江市', 3, 230800), (230882, '富锦市', 3, 230800), (230901, '市辖区', 3, 230900), (230902, '新兴区', 3, 230900), (230903, '桃山区', 3, 230900), (230904, '茄子河区', 3, 230900), (230921, '勃利县', 3, 230900), (231001, '市辖区', 3, 231000), (231002, '东安区', 3, 231000), (231003, '阳明区', 3, 231000), (231004, '爱民区', 3, 231000), (231005, '西安区', 3, 231000), (231024, '东宁县', 3, 231000), (231025, '林口县', 3, 231000), (231081, '绥芬河市', 3, 231000), (231083, '海林市', 3, 231000), (231084, '宁安市', 3, 231000), (231085, '穆棱市', 3, 231000), (231101, '市辖区', 3, 231100), (231102, '爱辉区', 3, 231100), (231121, '嫩江县', 3, 231100), (231123, '逊克县', 3, 231100), (231124, '孙吴县', 3, 231100), (231181, '北安市', 3, 231100), (231182, '五大连池市', 3, 231100), (231201, '市辖区', 3, 231200), (231202, '北林区', 3, 231200), (231221, '望奎县', 3, 231200), (231222, '兰西县', 3, 231200), (231223, '青冈县', 3, 231200), (231224, '庆安县', 3, 231200), (231225, '明水县', 3, 231200), (231226, '绥棱县', 3, 231200), (231281, '安达市', 3, 231200), (231282, '肇东市', 3, 231200), (231283, '海伦市', 3, 231200), (232721, '呼玛县', 3, 232700), (232722, '塔河县', 3, 232700), (232723, '漠河县', 3, 232700), (310101, '黄浦区', 3, 310100), (310103, '卢湾区', 3, 310100), (310104, '徐汇区', 3, 310100), (310105, '长宁区', 3, 310100), (310106, '静安区', 3, 310100), (310107, '普陀区', 3, 310100), (310108, '闸北区', 3, 310100), (310109, '虹口区', 3, 310100), (310110, '杨浦区', 3, 310100), (310112, '闵行区', 3, 310100), (310113, '宝山区', 3, 310100), (310114, '嘉定区', 3, 310100), (310115, '浦东新区', 3, 310100), (310116, '金山区', 3, 310100), (310117, '松江区', 3, 310100), (310118, '青浦区', 3, 310100), (310119, '南汇区', 3, 310100), (310120, '奉贤区', 3, 310100), (310230, '崇明县', 3, 310200), (320101, '市辖区', 3, 320100), (320102, '玄武区', 3, 320100), (320103, '白下区', 3, 320100), (320104, '秦淮区', 3, 320100), (320105, '建邺区', 3, 320100), (320106, '鼓楼区', 3, 320100), (320107, '下关区', 3, 320100), (320111, '浦口区', 3, 320100), (320113, '栖霞区', 3, 320100), (320114, '雨花台区', 3, 320100), (320115, '江宁区', 3, 320100), (320116, '六合区', 3, 320100), (320124, '溧水县', 3, 320100), (320125, '高淳县', 3, 320100), (320201, '市辖区', 3, 320200), (320202, '崇安区', 3, 320200), (320203, '南长区', 3, 320200), (320204, '北塘区', 3, 320200), (320205, '锡山区', 3, 320200), (320206, '惠山区', 3, 320200), (320211, '滨湖区', 3, 320200), (320281, '江阴市', 3, 320200), (320282, '宜兴市', 3, 320200), (320301, '市辖区', 3, 320300), (320302, '鼓楼区', 3, 320300), (320303, '云龙区', 3, 320300), (320304, '九里区', 3, 320300), (320305, '贾汪区', 3, 320300), (320311, '泉山区', 3, 320300), (320321, '丰 县', 3, 320300), (320322, '沛 县', 3, 320300), (320323, '铜山县', 3, 320300), (320324, '睢宁县', 3, 320300), (320381, '新沂市', 3, 320300), (320382, '邳州市', 3, 320300), (320401, '市辖区', 3, 320400), (320402, '天宁区', 3, 320400), (320404, '钟楼区', 3, 320400), (320405, '戚墅堰区', 3, 320400), (320411, '新北区', 3, 320400), (320412, '武进区', 3, 320400), (320481, '溧阳市', 3, 320400), (320482, '金坛市', 3, 320400), (320501, '市辖区', 3, 320500), (320502, '沧浪区', 3, 320500), (320503, '平江区', 3, 320500), (320504, '金阊区', 3, 320500), (320505, '虎丘区', 3, 320500), (320506, '吴中区', 3, 320500), (320507, '相城区', 3, 320500), (320581, '常熟市', 3, 320500), (320582, '张家港市', 3, 320500), (320583, '昆山市', 3, 320500), (320584, '吴江市', 3, 320500), (320585, '太仓市', 3, 320500), (320601, '市辖区', 3, 320600), (320602, '崇川区', 3, 320600), (320611, '港闸区', 3, 320600), (320621, '海安县', 3, 320600), (320623, '如东县', 3, 320600), (320681, '启东市', 3, 320600), (320682, '如皋市', 3, 320600), (320683, '通州市', 3, 320600), (320684, '海门市', 3, 320600), (320701, '市辖区', 3, 320700), (320703, '连云区', 3, 320700), (320705, '新浦区', 3, 320700), (320706, '海州区', 3, 320700), (320721, '赣榆县', 3, 320700), (320722, '东海县', 3, 320700), (320723, '灌云县', 3, 320700), (320724, '灌南县', 3, 320700), (320801, '市辖区', 3, 320800), (320802, '清河区', 3, 320800), (320803, '楚州区', 3, 320800), (320804, '淮阴区', 3, 320800), (320811, '清浦区', 3, 320800), (320826, '涟水县', 3, 320800), (320829, '洪泽县', 3, 320800), (320830, '盱眙县', 3, 320800), (320831, '金湖县', 3, 320800), (320901, '市辖区', 3, 320900), (320902, '亭湖区', 3, 320900), (320903, '盐都区', 3, 320900), (320921, '响水县', 3, 320900), (320922, '滨海县', 3, 320900), (320923, '阜宁县', 3, 320900), (320924, '射阳县', 3, 320900), (320925, '建湖县', 3, 320900), (320981, '东台市', 3, 320900), (320982, '大丰市', 3, 320900), (321001, '市辖区', 3, 321000), (321002, '广陵区', 3, 321000), (321003, '邗江区', 3, 321000), (321011, '郊 区', 3, 321000), (321023, '宝应县', 3, 321000), (321081, '仪征市', 3, 321000), (321084, '高邮市', 3, 321000), (321088, '江都市', 3, 321000), (321101, '市辖区', 3, 321100), (321102, '京口区', 3, 321100), (321111, '润州区', 3, 321100), (321112, '丹徒区', 3, 321100), (321181, '丹阳市', 3, 321100), (321182, '扬中市', 3, 321100), (321183, '句容市', 3, 321100), (321201, '市辖区', 3, 321200), (321202, '海陵区', 3, 321200), (321203, '高港区', 3, 321200), (321281, '兴化市', 3, 321200), (321282, '靖江市', 3, 321200), (321283, '泰兴市', 3, 321200), (321284, '姜堰市', 3, 321200), (321301, '市辖区', 3, 321300), (321302, '宿城区', 3, 321300), (321311, '宿豫区', 3, 321300), (321322, '沭阳县', 3, 321300), (321323, '泗阳县', 3, 321300), (321324, '泗洪县', 3, 321300), (330101, '市辖区', 3, 330100), (330102, '上城区', 3, 330100), (330103, '下城区', 3, 330100), (330104, '江干区', 3, 330100), (330105, '拱墅区', 3, 330100), (330106, '西湖区', 3, 330100), (330108, '滨江区', 3, 330100), (330109, '萧山区', 3, 330100), (330110, '余杭区', 3, 330100), (330122, '桐庐县', 3, 330100), (330127, '淳安县', 3, 330100), (330182, '建德市', 3, 330100), (330183, '富阳市', 3, 330100), (330185, '临安市', 3, 330100), (330201, '市辖区', 3, 330200), (330203, '海曙区', 3, 330200), (330204, '江东区', 3, 330200), (330205, '江北区', 3, 330200), (330206, '北仑区', 3, 330200), (330211, '镇海区', 3, 330200), (330212, '鄞州区', 3, 330200), (330225, '象山县', 3, 330200), (330226, '宁海县', 3, 330200), (330281, '余姚市', 3, 330200), (330282, '慈溪市', 3, 330200), (330283, '奉化市', 3, 330200), (330301, '市辖区', 3, 330300), (330302, '鹿城区', 3, 330300), (330303, '龙湾区', 3, 330300), (330304, '瓯海区', 3, 330300), (330322, '洞头县', 3, 330300), (330324, '永嘉县', 3, 330300), (330326, '平阳县', 3, 330300), (330327, '苍南县', 3, 330300), (330328, '文成县', 3, 330300), (330329, '泰顺县', 3, 330300), (330381, '瑞安市', 3, 330300), (330382, '乐清市', 3, 330300), (330401, '市辖区', 3, 330400), (330402, '秀城区', 3, 330400), (330411, '秀洲区', 3, 330400), (330421, '嘉善县', 3, 330400), (330424, '海盐县', 3, 330400), (330481, '海宁市', 3, 330400), (330482, '平湖市', 3, 330400), (330483, '桐乡市', 3, 330400), (330501, '市辖区', 3, 330500), (330502, '吴兴区', 3, 330500), (330503, '南浔区', 3, 330500), (330521, '德清县', 3, 330500), (330522, '长兴县', 3, 330500), (330523, '安吉县', 3, 330500), (330601, '市辖区', 3, 330600), (330602, '越城区', 3, 330600), (330621, '绍兴县', 3, 330600), (330624, '新昌县', 3, 330600), (330681, '诸暨市', 3, 330600), (330682, '上虞市', 3, 330600), (330683, '嵊州市', 3, 330600), (330701, '市辖区', 3, 330700), (330702, '婺城区', 3, 330700), (330703, '金东区', 3, 330700), (330723, '武义县', 3, 330700), (330726, '浦江县', 3, 330700), (330727, '磐安县', 3, 330700), (330781, '兰溪市', 3, 330700), (330782, '义乌市', 3, 330700), (330783, '东阳市', 3, 330700), (330784, '永康市', 3, 330700), (330801, '市辖区', 3, 330800), (330802, '柯城区', 3, 330800), (330803, '衢江区', 3, 330800), (330822, '常山县', 3, 330800), (330824, '开化县', 3, 330800), (330825, '龙游县', 3, 330800), (330881, '江山市', 3, 330800), (330901, '市辖区', 3, 330900), (330902, '定海区', 3, 330900), (330903, '普陀区', 3, 330900), (330921, '岱山县', 3, 330900), (330922, '嵊泗县', 3, 330900), (331001, '市辖区', 3, 331000), (331002, '椒江区', 3, 331000), (331003, '黄岩区', 3, 331000), (331004, '路桥区', 3, 331000), (331021, '玉环县', 3, 331000), (331022, '三门县', 3, 331000), (331023, '天台县', 3, 331000), (331024, '仙居县', 3, 331000), (331081, '温岭市', 3, 331000), (331082, '临海市', 3, 331000), (331101, '市辖区', 3, 331100), (331102, '莲都区', 3, 331100), (331121, '青田县', 3, 331100), (331122, '缙云县', 3, 331100), (331123, '遂昌县', 3, 331100), (331124, '松阳县', 3, 331100), (331125, '云和县', 3, 331100), (331126, '庆元县', 3, 331100), (331127, '景宁畲族自治县', 3, 331100), (331181, '龙泉市', 3, 331100), (340101, '市辖区', 3, 340100), (340102, '瑶海区', 3, 340100), (340103, '庐阳区', 3, 340100), (340104, '蜀山区', 3, 340100), (340111, '包河区', 3, 340100), (340121, '长丰县', 3, 340100), (340122, '肥东县', 3, 340100), (340123, '肥西县', 3, 340100), (340201, '市辖区', 3, 340200), (340202, '镜湖区', 3, 340200), (340203, '马塘区', 3, 340200), (340204, '新芜区', 3, 340200), (340207, '鸠江区', 3, 340200), (340221, '芜湖县', 3, 340200), (340222, '繁昌县', 3, 340200), (340223, '南陵县', 3, 340200), (340301, '市辖区', 3, 340300), (340302, '龙子湖区', 3, 340300), (340303, '蚌山区', 3, 340300), (340304, '禹会区', 3, 340300), (340311, '淮上区', 3, 340300), (340321, '怀远县', 3, 340300), (340322, '五河县', 3, 340300), (340323, '固镇县', 3, 340300), (340401, '市辖区', 3, 340400), (340402, '大通区', 3, 340400), (340403, '田家庵区', 3, 340400), (340404, '谢家集区', 3, 340400), (340405, '八公山区', 3, 340400), (340406, '潘集区', 3, 340400), (340421, '凤台县', 3, 340400), (340501, '市辖区', 3, 340500), (340502, '金家庄区', 3, 340500), (340503, '花山区', 3, 340500), (340504, '雨山区', 3, 340500), (340521, '当涂县', 3, 340500), (340601, '市辖区', 3, 340600), (340602, '杜集区', 3, 340600), (340603, '相山区', 3, 340600), (340604, '烈山区', 3, 340600), (340621, '濉溪县', 3, 340600), (340701, '市辖区', 3, 340700), (340702, '铜官山区', 3, 340700), (340703, '狮子山区', 3, 340700), (340711, '郊 区', 3, 340700), (340721, '铜陵县', 3, 340700), (340801, '市辖区', 3, 340800), (340802, '迎江区', 3, 340800), (340803, '大观区', 3, 340800), (340811, '郊 区', 3, 340800), (340822, '怀宁县', 3, 340800), (340823, '枞阳县', 3, 340800), (340824, '潜山县', 3, 340800), (340825, '太湖县', 3, 340800), (340826, '宿松县', 3, 340800), (340827, '望江县', 3, 340800), (340828, '岳西县', 3, 340800), (340881, '桐城市', 3, 340800), (341001, '市辖区', 3, 341000), (341002, '屯溪区', 3, 341000), (341003, '黄山区', 3, 341000), (341004, '徽州区', 3, 341000), (341021, '歙 县', 3, 341000), (341022, '休宁县', 3, 341000), (341023, '黟 县', 3, 341000), (341024, '祁门县', 3, 341000), (341101, '市辖区', 3, 341100), (341102, '琅琊区', 3, 341100), (341103, '南谯区', 3, 341100), (341122, '来安县', 3, 341100), (341124, '全椒县', 3, 341100), (341125, '定远县', 3, 341100), (341126, '凤阳县', 3, 341100), (341181, '天长市', 3, 341100), (341182, '明光市', 3, 341100), (341201, '市辖区', 3, 341200), (341202, '颍州区', 3, 341200), (341203, '颍东区', 3, 341200), (341204, '颍泉区', 3, 341200), (341221, '临泉县', 3, 341200), (341222, '太和县', 3, 341200), (341225, '阜南县', 3, 341200), (341226, '颍上县', 3, 341200), (341282, '界首市', 3, 341200), (341301, '市辖区', 3, 341300), (341302, '墉桥区', 3, 341300), (341321, '砀山县', 3, 341300), (341322, '萧 县', 3, 341300), (341323, '灵璧县', 3, 341300), (341324, '泗 县', 3, 341300), (341401, '庐江县', 3, 340100), (341402, '巢湖市', 3, 340100), (341422, '无为县', 3, 340200), (341423, '含山县', 3, 340500), (341424, '和 县', 3, 340500), (341501, '市辖区', 3, 341500), (341502, '金安区', 3, 341500), (341503, '裕安区', 3, 341500), (341521, '寿 县', 3, 341500), (341522, '霍邱县', 3, 341500), (341523, '舒城县', 3, 341500), (341524, '金寨县', 3, 341500), (341525, '霍山县', 3, 341500), (341601, '市辖区', 3, 341600), (341602, '谯城区', 3, 341600), (341621, '涡阳县', 3, 341600), (341622, '蒙城县', 3, 341600), (341623, '利辛县', 3, 341600), (341701, '市辖区', 3, 341700), (341702, '贵池区', 3, 341700), (341721, '东至县', 3, 341700), (341722, '石台县', 3, 341700), (341723, '青阳县', 3, 341700), (341801, '市辖区', 3, 341800), (341802, '宣州区', 3, 341800), (341821, '郎溪县', 3, 341800), (341822, '广德县', 3, 341800), (341823, '泾 县', 3, 341800); INSERT INTO `thinkox_district` (`id`, `name`, `level`, `upid`) VALUES (341824, '绩溪县', 3, 341800), (341825, '旌德县', 3, 341800), (341881, '宁国市', 3, 341800), (350101, '市辖区', 3, 350100), (350102, '鼓楼区', 3, 350100), (350103, '台江区', 3, 350100), (350104, '仓山区', 3, 350100), (350105, '马尾区', 3, 350100), (350111, '晋安区', 3, 350100), (350121, '闽侯县', 3, 350100), (350122, '连江县', 3, 350100), (350123, '罗源县', 3, 350100), (350124, '闽清县', 3, 350100), (350125, '永泰县', 3, 350100), (350128, '平潭县', 3, 350100), (350181, '福清市', 3, 350100), (350182, '长乐市', 3, 350100), (350201, '市辖区', 3, 350200), (350203, '思明区', 3, 350200), (350205, '海沧区', 3, 350200), (350206, '湖里区', 3, 350200), (350211, '集美区', 3, 350200), (350212, '同安区', 3, 350200), (350213, '翔安区', 3, 350200), (350301, '市辖区', 3, 350300), (350302, '城厢区', 3, 350300), (350303, '涵江区', 3, 350300), (350304, '荔城区', 3, 350300), (350305, '秀屿区', 3, 350300), (350322, '仙游县', 3, 350300), (350401, '市辖区', 3, 350400), (350402, '梅列区', 3, 350400), (350403, '三元区', 3, 350400), (350421, '明溪县', 3, 350400), (350423, '清流县', 3, 350400), (350424, '宁化县', 3, 350400), (350425, '大田县', 3, 350400), (350426, '尤溪县', 3, 350400), (350427, '沙 县', 3, 350400), (350428, '将乐县', 3, 350400), (350429, '泰宁县', 3, 350400), (350430, '建宁县', 3, 350400), (350481, '永安市', 3, 350400), (350501, '市辖区', 3, 350500), (350502, '鲤城区', 3, 350500), (350503, '丰泽区', 3, 350500), (350504, '洛江区', 3, 350500), (350505, '泉港区', 3, 350500), (350521, '惠安县', 3, 350500), (350524, '安溪县', 3, 350500), (350525, '永春县', 3, 350500), (350526, '德化县', 3, 350500), (350527, '金门县', 3, 350500), (350581, '石狮市', 3, 350500), (350582, '晋江市', 3, 350500), (350583, '南安市', 3, 350500), (350601, '市辖区', 3, 350600), (350602, '芗城区', 3, 350600), (350603, '龙文区', 3, 350600), (350622, '云霄县', 3, 350600), (350623, '漳浦县', 3, 350600), (350624, '诏安县', 3, 350600), (350625, '长泰县', 3, 350600), (350626, '东山县', 3, 350600), (350627, '南靖县', 3, 350600), (350628, '平和县', 3, 350600), (350629, '华安县', 3, 350600), (350681, '龙海市', 3, 350600), (350701, '市辖区', 3, 350700), (350702, '延平区', 3, 350700), (350721, '顺昌县', 3, 350700), (350722, '浦城县', 3, 350700), (350723, '光泽县', 3, 350700), (350724, '松溪县', 3, 350700), (350725, '政和县', 3, 350700), (350781, '邵武市', 3, 350700), (350782, '武夷山市', 3, 350700), (350783, '建瓯市', 3, 350700), (350784, '建阳市', 3, 350700), (350801, '市辖区', 3, 350800), (350802, '新罗区', 3, 350800), (350821, '长汀县', 3, 350800), (350822, '永定县', 3, 350800), (350823, '上杭县', 3, 350800), (350824, '武平县', 3, 350800), (350825, '连城县', 3, 350800), (350881, '漳平市', 3, 350800), (350901, '市辖区', 3, 350900), (350902, '蕉城区', 3, 350900), (350921, '霞浦县', 3, 350900), (350922, '古田县', 3, 350900), (350923, '屏南县', 3, 350900), (350924, '寿宁县', 3, 350900), (350925, '周宁县', 3, 350900), (350926, '柘荣县', 3, 350900), (350981, '福安市', 3, 350900), (350982, '福鼎市', 3, 350900), (360101, '市辖区', 3, 360100), (360102, '东湖区', 3, 360100), (360103, '西湖区', 3, 360100), (360104, '青云谱区', 3, 360100), (360105, '湾里区', 3, 360100), (360111, '青山湖区', 3, 360100), (360121, '南昌县', 3, 360100), (360122, '新建县', 3, 360100), (360123, '安义县', 3, 360100), (360124, '进贤县', 3, 360100), (360201, '市辖区', 3, 360200), (360202, '昌江区', 3, 360200), (360203, '珠山区', 3, 360200), (360222, '浮梁县', 3, 360200), (360281, '乐平市', 3, 360200), (360301, '市辖区', 3, 360300), (360302, '安源区', 3, 360300), (360313, '湘东区', 3, 360300), (360321, '莲花县', 3, 360300), (360322, '上栗县', 3, 360300), (360323, '芦溪县', 3, 360300), (360401, '市辖区', 3, 360400), (360402, '庐山区', 3, 360400), (360403, '浔阳区', 3, 360400), (360421, '九江县', 3, 360400), (360423, '武宁县', 3, 360400), (360424, '修水县', 3, 360400), (360425, '永修县', 3, 360400), (360426, '德安县', 3, 360400), (360427, '星子县', 3, 360400), (360428, '都昌县', 3, 360400), (360429, '湖口县', 3, 360400), (360430, '彭泽县', 3, 360400), (360481, '瑞昌市', 3, 360400), (360501, '市辖区', 3, 360500), (360502, '渝水区', 3, 360500), (360521, '分宜县', 3, 360500), (360601, '市辖区', 3, 360600), (360602, '月湖区', 3, 360600), (360622, '余江县', 3, 360600), (360681, '贵溪市', 3, 360600), (360701, '市辖区', 3, 360700), (360702, '章贡区', 3, 360700), (360721, '赣 县', 3, 360700), (360722, '信丰县', 3, 360700), (360723, '大余县', 3, 360700), (360724, '上犹县', 3, 360700), (360725, '崇义县', 3, 360700), (360726, '安远县', 3, 360700), (360727, '龙南县', 3, 360700), (360728, '定南县', 3, 360700), (360729, '全南县', 3, 360700), (360730, '宁都县', 3, 360700), (360731, '于都县', 3, 360700), (360732, '兴国县', 3, 360700), (360733, '会昌县', 3, 360700), (360734, '寻乌县', 3, 360700), (360735, '石城县', 3, 360700), (360781, '瑞金市', 3, 360700), (360782, '南康市', 3, 360700), (360801, '市辖区', 3, 360800), (360802, '吉州区', 3, 360800), (360803, '青原区', 3, 360800), (360821, '吉安县', 3, 360800), (360822, '吉水县', 3, 360800), (360823, '峡江县', 3, 360800), (360824, '新干县', 3, 360800), (360825, '永丰县', 3, 360800), (360826, '泰和县', 3, 360800), (360827, '遂川县', 3, 360800), (360828, '万安县', 3, 360800), (360829, '安福县', 3, 360800), (360830, '永新县', 3, 360800), (360881, '井冈山市', 3, 360800), (360901, '市辖区', 3, 360900), (360902, '袁州区', 3, 360900), (360921, '奉新县', 3, 360900), (360922, '万载县', 3, 360900), (360923, '上高县', 3, 360900), (360924, '宜丰县', 3, 360900), (360925, '靖安县', 3, 360900), (360926, '铜鼓县', 3, 360900), (360981, '丰城市', 3, 360900), (360982, '樟树市', 3, 360900), (360983, '高安市', 3, 360900), (361001, '市辖区', 3, 361000), (361002, '临川区', 3, 361000), (361021, '南城县', 3, 361000), (361022, '黎川县', 3, 361000), (361023, '南丰县', 3, 361000), (361024, '崇仁县', 3, 361000), (361025, '乐安县', 3, 361000), (361026, '宜黄县', 3, 361000), (361027, '金溪县', 3, 361000), (361028, '资溪县', 3, 361000), (361029, '东乡县', 3, 361000), (361030, '广昌县', 3, 361000), (361101, '市辖区', 3, 361100), (361102, '信州区', 3, 361100), (361121, '上饶县', 3, 361100), (361122, '广丰县', 3, 361100), (361123, '玉山县', 3, 361100), (361124, '铅山县', 3, 361100), (361125, '横峰县', 3, 361100), (361126, '弋阳县', 3, 361100), (361127, '余干县', 3, 361100), (361128, '鄱阳县', 3, 361100), (361129, '万年县', 3, 361100), (361130, '婺源县', 3, 361100), (361181, '德兴市', 3, 361100), (370101, '市辖区', 3, 370100), (370102, '历下区', 3, 370100), (370103, '市中区', 3, 370100), (370104, '槐荫区', 3, 370100), (370105, '天桥区', 3, 370100), (370112, '历城区', 3, 370100), (370113, '长清区', 3, 370100), (370124, '平阴县', 3, 370100), (370125, '济阳县', 3, 370100), (370126, '商河县', 3, 370100), (370181, '章丘市', 3, 370100), (370201, '市辖区', 3, 370200), (370202, '市南区', 3, 370200), (370203, '市北区', 3, 370200), (370205, '四方区', 3, 370200), (370211, '黄岛区', 3, 370200), (370212, '崂山区', 3, 370200), (370213, '李沧区', 3, 370200), (370214, '城阳区', 3, 370200), (370281, '胶州市', 3, 370200), (370282, '即墨市', 3, 370200), (370283, '平度市', 3, 370200), (370284, '胶南市', 3, 370200), (370285, '莱西市', 3, 370200), (370301, '市辖区', 3, 370300), (370302, '淄川区', 3, 370300), (370303, '张店区', 3, 370300), (370304, '博山区', 3, 370300), (370305, '临淄区', 3, 370300), (370306, '周村区', 3, 370300), (370321, '桓台县', 3, 370300), (370322, '高青县', 3, 370300), (370323, '沂源县', 3, 370300), (370401, '市辖区', 3, 370400), (370402, '市中区', 3, 370400), (370403, '薛城区', 3, 370400), (370404, '峄城区', 3, 370400), (370405, '台儿庄区', 3, 370400), (370406, '山亭区', 3, 370400), (370481, '滕州市', 3, 370400), (370501, '市辖区', 3, 370500), (370502, '东营区', 3, 370500), (370503, '河口区', 3, 370500), (370521, '垦利县', 3, 370500), (370522, '利津县', 3, 370500), (370523, '广饶县', 3, 370500), (370601, '市辖区', 3, 370600), (370602, '芝罘区', 3, 370600), (370611, '福山区', 3, 370600), (370612, '牟平区', 3, 370600), (370613, '莱山区', 3, 370600), (370634, '长岛县', 3, 370600), (370681, '龙口市', 3, 370600), (370682, '莱阳市', 3, 370600), (370683, '莱州市', 3, 370600), (370684, '蓬莱市', 3, 370600), (370685, '招远市', 3, 370600), (370686, '栖霞市', 3, 370600), (370687, '海阳市', 3, 370600), (370701, '市辖区', 3, 370700), (370702, '潍城区', 3, 370700), (370703, '寒亭区', 3, 370700), (370704, '坊子区', 3, 370700), (370705, '奎文区', 3, 370700), (370724, '临朐县', 3, 370700), (370725, '昌乐县', 3, 370700), (370781, '青州市', 3, 370700), (370782, '诸城市', 3, 370700), (370783, '寿光市', 3, 370700), (370784, '安丘市', 3, 370700), (370785, '高密市', 3, 370700), (370786, '昌邑市', 3, 370700), (370801, '市辖区', 3, 370800), (370802, '市中区', 3, 370800), (370811, '任城区', 3, 370800), (370826, '微山县', 3, 370800), (370827, '鱼台县', 3, 370800), (370828, '金乡县', 3, 370800), (370829, '嘉祥县', 3, 370800), (370830, '汶上县', 3, 370800), (370831, '泗水县', 3, 370800), (370832, '梁山县', 3, 370800), (370881, '曲阜市', 3, 370800), (370882, '兖州市', 3, 370800), (370883, '邹城市', 3, 370800), (370901, '市辖区', 3, 370900), (370902, '泰山区', 3, 370900), (370903, '岱岳区', 3, 370900), (370921, '宁阳县', 3, 370900), (370923, '东平县', 3, 370900), (370982, '新泰市', 3, 370900), (370983, '肥城市', 3, 370900), (371001, '市辖区', 3, 371000), (371002, '环翠区', 3, 371000), (371081, '文登市', 3, 371000), (371082, '荣成市', 3, 371000), (371083, '乳山市', 3, 371000), (371101, '市辖区', 3, 371100), (371102, '东港区', 3, 371100), (371103, '岚山区', 3, 371100), (371121, '五莲县', 3, 371100), (371122, '莒 县', 3, 371100), (371201, '市辖区', 3, 371200), (371202, '莱城区', 3, 371200), (371203, '钢城区', 3, 371200), (371301, '市辖区', 3, 371300), (371302, '兰山区', 3, 371300), (371311, '罗庄区', 3, 371300), (371312, '河东区', 3, 371300), (371321, '沂南县', 3, 371300), (371322, '郯城县', 3, 371300), (371323, '沂水县', 3, 371300), (371324, '苍山县', 3, 371300), (371325, '费 县', 3, 371300), (371326, '平邑县', 3, 371300), (371327, '莒南县', 3, 371300), (371328, '蒙阴县', 3, 371300), (371329, '临沭县', 3, 371300), (371401, '市辖区', 3, 371400), (371402, '德城区', 3, 371400), (371421, '陵 县', 3, 371400), (371422, '宁津县', 3, 371400), (371423, '庆云县', 3, 371400), (371424, '临邑县', 3, 371400), (371425, '齐河县', 3, 371400), (371426, '平原县', 3, 371400), (371427, '夏津县', 3, 371400), (371428, '武城县', 3, 371400), (371481, '乐陵市', 3, 371400), (371482, '禹城市', 3, 371400), (371501, '市辖区', 3, 371500), (371502, '东昌府区', 3, 371500), (371521, '阳谷县', 3, 371500), (371522, '莘 县', 3, 371500), (371523, '茌平县', 3, 371500), (371524, '东阿县', 3, 371500), (371525, '冠 县', 3, 371500), (371526, '高唐县', 3, 371500), (371581, '临清市', 3, 371500), (371601, '市辖区', 3, 371600), (371602, '滨城区', 3, 371600), (371621, '惠民县', 3, 371600), (371622, '阳信县', 3, 371600), (371623, '无棣县', 3, 371600), (371624, '沾化县', 3, 371600), (371625, '博兴县', 3, 371600), (371626, '邹平县', 3, 371600), (371701, '市辖区', 3, 371700), (371702, '牡丹区', 3, 371700), (371721, '曹 县', 3, 371700), (371722, '单 县', 3, 371700), (371723, '成武县', 3, 371700), (371724, '巨野县', 3, 371700), (371725, '郓城县', 3, 371700), (371726, '鄄城县', 3, 371700), (371727, '定陶县', 3, 371700), (371728, '东明县', 3, 371700), (410101, '市辖区', 3, 410100), (410102, '中原区', 3, 410100), (410103, '二七区', 3, 410100), (410104, '管城回族区', 3, 410100), (410105, '金水区', 3, 410100), (410106, '上街区', 3, 410100), (410108, '邙山区', 3, 410100), (410122, '中牟县', 3, 410100), (410181, '巩义市', 3, 410100), (410182, '荥阳市', 3, 410100), (410183, '新密市', 3, 410100), (410184, '新郑市', 3, 410100), (410185, '登封市', 3, 410100), (410201, '市辖区', 3, 410200), (410202, '龙亭区', 3, 410200), (410203, '顺河回族区', 3, 410200), (410204, '鼓楼区', 3, 410200), (410205, '南关区', 3, 410200), (410211, '郊 区', 3, 410200), (410221, '杞 县', 3, 410200), (410222, '通许县', 3, 410200), (410223, '尉氏县', 3, 410200), (410224, '开封县', 3, 410200), (410225, '兰考县', 3, 410200), (410301, '市辖区', 3, 410300), (410302, '老城区', 3, 410300), (410303, '西工区', 3, 410300), (410304, '廛河回族区', 3, 410300), (410305, '涧西区', 3, 410300), (410306, '吉利区', 3, 410300), (410307, '洛龙区', 3, 410300), (410322, '孟津县', 3, 410300), (410323, '新安县', 3, 410300), (410324, '栾川县', 3, 410300), (410325, '嵩 县', 3, 410300), (410326, '汝阳县', 3, 410300), (410327, '宜阳县', 3, 410300), (410328, '洛宁县', 3, 410300), (410329, '伊川县', 3, 410300), (410381, '偃师市', 3, 410300), (410401, '市辖区', 3, 410400), (410402, '新华区', 3, 410400), (410403, '卫东区', 3, 410400), (410404, '石龙区', 3, 410400), (410411, '湛河区', 3, 410400), (410421, '宝丰县', 3, 410400), (410422, '叶 县', 3, 410400), (410423, '鲁山县', 3, 410400), (410425, '郏 县', 3, 410400), (410481, '舞钢市', 3, 410400), (410482, '汝州市', 3, 410400), (410501, '市辖区', 3, 410500), (410502, '文峰区', 3, 410500), (410503, '北关区', 3, 410500), (410505, '殷都区', 3, 410500), (410506, '龙安区', 3, 410500), (410522, '安阳县', 3, 410500), (410523, '汤阴县', 3, 410500), (410526, '滑 县', 3, 410500), (410527, '内黄县', 3, 410500), (410581, '林州市', 3, 410500), (410601, '市辖区', 3, 410600), (410602, '鹤山区', 3, 410600), (410603, '山城区', 3, 410600), (410611, '淇滨区', 3, 410600), (410621, '浚 县', 3, 410600), (410622, '淇 县', 3, 410600), (410701, '市辖区', 3, 410700), (410702, '红旗区', 3, 410700), (410703, '卫滨区', 3, 410700), (410704, '凤泉区', 3, 410700), (410711, '牧野区', 3, 410700), (410721, '新乡县', 3, 410700), (410724, '获嘉县', 3, 410700), (410725, '原阳县', 3, 410700), (410726, '延津县', 3, 410700), (410727, '封丘县', 3, 410700), (410728, '长垣县', 3, 410700), (410781, '卫辉市', 3, 410700), (410782, '辉县市', 3, 410700), (410801, '市辖区', 3, 410800), (410802, '解放区', 3, 410800), (410803, '中站区', 3, 410800), (410804, '马村区', 3, 410800), (410811, '山阳区', 3, 410800), (410821, '修武县', 3, 410800), (410822, '博爱县', 3, 410800), (410823, '武陟县', 3, 410800), (410825, '温 县', 3, 410800), (410881, '济源市', 3, 410800), (410882, '沁阳市', 3, 410800), (410883, '孟州市', 3, 410800), (410901, '市辖区', 3, 410900), (410902, '华龙区', 3, 410900), (410922, '清丰县', 3, 410900), (410923, '南乐县', 3, 410900), (410926, '范 县', 3, 410900), (410927, '台前县', 3, 410900), (410928, '濮阳县', 3, 410900), (411001, '市辖区', 3, 411000), (411002, '魏都区', 3, 411000), (411023, '许昌县', 3, 411000), (411024, '鄢陵县', 3, 411000), (411025, '襄城县', 3, 411000), (411081, '禹州市', 3, 411000), (411082, '长葛市', 3, 411000), (411101, '市辖区', 3, 411100), (411102, '源汇区', 3, 411100), (411103, '郾城区', 3, 411100), (411104, '召陵区', 3, 411100), (411121, '舞阳县', 3, 411100), (411122, '临颍县', 3, 411100), (411201, '市辖区', 3, 411200), (411202, '湖滨区', 3, 411200), (411221, '渑池县', 3, 411200), (411222, '陕 县', 3, 411200), (411224, '卢氏县', 3, 411200), (411281, '义马市', 3, 411200), (411282, '灵宝市', 3, 411200), (411301, '市辖区', 3, 411300), (411302, '宛城区', 3, 411300), (411303, '卧龙区', 3, 411300), (411321, '南召县', 3, 411300), (411322, '方城县', 3, 411300), (411323, '西峡县', 3, 411300), (411324, '镇平县', 3, 411300), (411325, '内乡县', 3, 411300), (411326, '淅川县', 3, 411300), (411327, '社旗县', 3, 411300), (411328, '唐河县', 3, 411300), (411329, '新野县', 3, 411300), (411330, '桐柏县', 3, 411300), (411381, '邓州市', 3, 411300), (411401, '市辖区', 3, 411400), (411402, '梁园区', 3, 411400), (411403, '睢阳区', 3, 411400), (411421, '民权县', 3, 411400), (411422, '睢 县', 3, 411400), (411423, '宁陵县', 3, 411400), (411424, '柘城县', 3, 411400), (411425, '虞城县', 3, 411400), (411426, '夏邑县', 3, 411400), (411481, '永城市', 3, 411400), (411501, '市辖区', 3, 411500), (411502, '师河区', 3, 411500), (411503, '平桥区', 3, 411500), (411521, '罗山县', 3, 411500), (411522, '光山县', 3, 411500), (411523, '新 县', 3, 411500), (411524, '商城县', 3, 411500), (411525, '固始县', 3, 411500), (411526, '潢川县', 3, 411500), (411527, '淮滨县', 3, 411500), (411528, '息 县', 3, 411500), (411601, '市辖区', 3, 411600), (411602, '川汇区', 3, 411600), (411621, '扶沟县', 3, 411600), (411622, '西华县', 3, 411600), (411623, '商水县', 3, 411600), (411624, '沈丘县', 3, 411600), (411625, '郸城县', 3, 411600), (411626, '淮阳县', 3, 411600), (411627, '太康县', 3, 411600), (411628, '鹿邑县', 3, 411600), (411681, '项城市', 3, 411600), (411701, '市辖区', 3, 411700), (411702, '驿城区', 3, 411700), (411721, '西平县', 3, 411700), (411722, '上蔡县', 3, 411700), (411723, '平舆县', 3, 411700), (411724, '正阳县', 3, 411700), (411725, '确山县', 3, 411700), (411726, '泌阳县', 3, 411700), (411727, '汝南县', 3, 411700), (411728, '遂平县', 3, 411700), (411729, '新蔡县', 3, 411700), (420101, '市辖区', 3, 420100), (420102, '江岸区', 3, 420100), (420103, '江汉区', 3, 420100), (420104, '乔口区', 3, 420100), (420105, '汉阳区', 3, 420100), (420106, '武昌区', 3, 420100), (420107, '青山区', 3, 420100), (420111, '洪山区', 3, 420100), (420112, '东西湖区', 3, 420100), (420113, '汉南区', 3, 420100), (420114, '蔡甸区', 3, 420100), (420115, '江夏区', 3, 420100), (420116, '黄陂区', 3, 420100), (420117, '新洲区', 3, 420100), (420201, '市辖区', 3, 420200), (420202, '黄石港区', 3, 420200), (420203, '西塞山区', 3, 420200), (420204, '下陆区', 3, 420200), (420205, '铁山区', 3, 420200), (420222, '阳新县', 3, 420200), (420281, '大冶市', 3, 420200), (420301, '市辖区', 3, 420300), (420302, '茅箭区', 3, 420300), (420303, '张湾区', 3, 420300), (420321, '郧 县', 3, 420300), (420322, '郧西县', 3, 420300), (420323, '竹山县', 3, 420300), (420324, '竹溪县', 3, 420300), (420325, '房 县', 3, 420300), (420381, '丹江口市', 3, 420300), (420501, '市辖区', 3, 420500), (420502, '西陵区', 3, 420500), (420503, '伍家岗区', 3, 420500), (420504, '点军区', 3, 420500), (420505, '猇亭区', 3, 420500), (420506, '夷陵区', 3, 420500), (420525, '远安县', 3, 420500), (420526, '兴山县', 3, 420500), (420527, '秭归县', 3, 420500), (420528, '长阳土家族自治县', 3, 420500), (420529, '五峰土家族自治县', 3, 420500), (420581, '宜都市', 3, 420500), (420582, '当阳市', 3, 420500), (420583, '枝江市', 3, 420500), (420601, '市辖区', 3, 420600), (420602, '襄城区', 3, 420600), (420606, '樊城区', 3, 420600), (420607, '襄阳区', 3, 420600), (420624, '南漳县', 3, 420600), (420625, '谷城县', 3, 420600), (420626, '保康县', 3, 420600), (420682, '老河口市', 3, 420600), (420683, '枣阳市', 3, 420600), (420684, '宜城市', 3, 420600), (420701, '市辖区', 3, 420700), (420702, '梁子湖区', 3, 420700), (420703, '华容区', 3, 420700), (420704, '鄂城区', 3, 420700), (420801, '市辖区', 3, 420800), (420802, '东宝区', 3, 420800), (420804, '掇刀区', 3, 420800), (420821, '京山县', 3, 420800), (420822, '沙洋县', 3, 420800), (420881, '钟祥市', 3, 420800), (420901, '市辖区', 3, 420900), (420902, '孝南区', 3, 420900), (420921, '孝昌县', 3, 420900), (420922, '大悟县', 3, 420900), (420923, '云梦县', 3, 420900), (420981, '应城市', 3, 420900), (420982, '安陆市', 3, 420900), (420984, '汉川市', 3, 420900), (421001, '市辖区', 3, 421000), (421002, '沙市区', 3, 421000), (421003, '荆州区', 3, 421000), (421022, '公安县', 3, 421000), (421023, '监利县', 3, 421000), (421024, '江陵县', 3, 421000), (421081, '石首市', 3, 421000), (421083, '洪湖市', 3, 421000), (421087, '松滋市', 3, 421000), (421101, '市辖区', 3, 421100), (421102, '黄州区', 3, 421100), (421121, '团风县', 3, 421100), (421122, '红安县', 3, 421100), (421123, '罗田县', 3, 421100), (421124, '英山县', 3, 421100), (421125, '浠水县', 3, 421100), (421126, '蕲春县', 3, 421100), (421127, '黄梅县', 3, 421100), (421181, '麻城市', 3, 421100), (421182, '武穴市', 3, 421100), (421201, '市辖区', 3, 421200), (421202, '咸安区', 3, 421200), (421221, '嘉鱼县', 3, 421200), (421222, '通城县', 3, 421200), (421223, '崇阳县', 3, 421200), (421224, '通山县', 3, 421200), (421281, '赤壁市', 3, 421200), (421301, '市辖区', 3, 421300), (421302, '曾都区', 3, 421300), (421381, '广水市', 3, 421300), (422801, '恩施市', 3, 422800), (422802, '利川市', 3, 422800), (422822, '建始县', 3, 422800), (422823, '巴东县', 3, 422800), (422825, '宣恩县', 3, 422800), (422826, '咸丰县', 3, 422800), (422827, '来凤县', 3, 422800), (422828, '鹤峰县', 3, 422800), (429004, '仙桃市', 3, 429000), (429005, '潜江市', 3, 429000), (429006, '天门市', 3, 429000), (429021, '神农架林区', 3, 429000), (430101, '市辖区', 3, 430100), (430102, '芙蓉区', 3, 430100), (430103, '天心区', 3, 430100), (430104, '岳麓区', 3, 430100), (430105, '开福区', 3, 430100), (430111, '雨花区', 3, 430100), (430121, '长沙县', 3, 430100), (430122, '望城县', 3, 430100), (430124, '宁乡县', 3, 430100), (430181, '浏阳市', 3, 430100), (430201, '市辖区', 3, 430200), (430202, '荷塘区', 3, 430200), (430203, '芦淞区', 3, 430200), (430204, '石峰区', 3, 430200), (430211, '天元区', 3, 430200), (430221, '株洲县', 3, 430200), (430223, '攸 县', 3, 430200), (430224, '茶陵县', 3, 430200), (430225, '炎陵县', 3, 430200), (430281, '醴陵市', 3, 430200), (430301, '市辖区', 3, 430300), (430302, '雨湖区', 3, 430300), (430304, '岳塘区', 3, 430300), (430321, '湘潭县', 3, 430300), (430381, '湘乡市', 3, 430300), (430382, '韶山市', 3, 430300), (430401, '市辖区', 3, 430400), (430405, '珠晖区', 3, 430400), (430406, '雁峰区', 3, 430400), (430407, '石鼓区', 3, 430400), (430408, '蒸湘区', 3, 430400), (430412, '南岳区', 3, 430400), (430421, '衡阳县', 3, 430400), (430422, '衡南县', 3, 430400), (430423, '衡山县', 3, 430400), (430424, '衡东县', 3, 430400), (430426, '祁东县', 3, 430400), (430481, '耒阳市', 3, 430400), (430482, '常宁市', 3, 430400), (430501, '市辖区', 3, 430500), (430502, '双清区', 3, 430500), (430503, '大祥区', 3, 430500), (430511, '北塔区', 3, 430500), (430521, '邵东县', 3, 430500), (430522, '新邵县', 3, 430500), (430523, '邵阳县', 3, 430500), (430524, '隆回县', 3, 430500), (430525, '洞口县', 3, 430500), (430527, '绥宁县', 3, 430500), (430528, '新宁县', 3, 430500), (430529, '城步苗族自治县', 3, 430500), (430581, '武冈市', 3, 430500), (430601, '市辖区', 3, 430600), (430602, '岳阳楼区', 3, 430600), (430603, '云溪区', 3, 430600), (430611, '君山区', 3, 430600), (430621, '岳阳县', 3, 430600), (430623, '华容县', 3, 430600), (430624, '湘阴县', 3, 430600), (430626, '平江县', 3, 430600), (430681, '汨罗市', 3, 430600), (430682, '临湘市', 3, 430600), (430701, '市辖区', 3, 430700), (430702, '武陵区', 3, 430700), (430703, '鼎城区', 3, 430700), (430721, '安乡县', 3, 430700), (430722, '汉寿县', 3, 430700), (430723, '澧 县', 3, 430700), (430724, '临澧县', 3, 430700), (430725, '桃源县', 3, 430700), (430726, '石门县', 3, 430700), (430781, '津市市', 3, 430700), (430801, '市辖区', 3, 430800), (430802, '永定区', 3, 430800), (430811, '武陵源区', 3, 430800), (430821, '慈利县', 3, 430800), (430822, '桑植县', 3, 430800), (430901, '市辖区', 3, 430900), (430902, '资阳区', 3, 430900), (430903, '赫山区', 3, 430900), (430921, '南 县', 3, 430900), (430922, '桃江县', 3, 430900), (430923, '安化县', 3, 430900), (430981, '沅江市', 3, 430900), (431001, '市辖区', 3, 431000), (431002, '北湖区', 3, 431000), (431003, '苏仙区', 3, 431000), (431021, '桂阳县', 3, 431000), (431022, '宜章县', 3, 431000), (431023, '永兴县', 3, 431000), (431024, '嘉禾县', 3, 431000), (431025, '临武县', 3, 431000), (431026, '汝城县', 3, 431000), (431027, '桂东县', 3, 431000), (431028, '安仁县', 3, 431000), (431081, '资兴市', 3, 431000), (431101, '市辖区', 3, 431100), (431102, '芝山区', 3, 431100), (431103, '冷水滩区', 3, 431100), (431121, '祁阳县', 3, 431100), (431122, '东安县', 3, 431100), (431123, '双牌县', 3, 431100), (431124, '道 县', 3, 431100), (431125, '江永县', 3, 431100), (431126, '宁远县', 3, 431100), (431127, '蓝山县', 3, 431100), (431128, '新田县', 3, 431100), (431129, '江华瑶族自治县', 3, 431100), (431201, '市辖区', 3, 431200), (431202, '鹤城区', 3, 431200), (431221, '中方县', 3, 431200), (431222, '沅陵县', 3, 431200), (431223, '辰溪县', 3, 431200), (431224, '溆浦县', 3, 431200), (431225, '会同县', 3, 431200), (431226, '麻阳苗族自治县', 3, 431200), (431227, '新晃侗族自治县', 3, 431200), (431228, '芷江侗族自治县', 3, 431200), (431229, '靖州苗族侗族自治县', 3, 431200), (431230, '通道侗族自治县', 3, 431200), (431281, '洪江市', 3, 431200), (431301, '市辖区', 3, 431300), (431302, '娄星区', 3, 431300), (431321, '双峰县', 3, 431300), (431322, '新化县', 3, 431300), (431381, '冷水江市', 3, 431300), (431382, '涟源市', 3, 431300), (433101, '吉首市', 3, 433100), (433122, '泸溪县', 3, 433100), (433123, '凤凰县', 3, 433100), (433124, '花垣县', 3, 433100), (433125, '保靖县', 3, 433100), (433126, '古丈县', 3, 433100), (433127, '永顺县', 3, 433100), (433130, '龙山县', 3, 433100), (440101, '市辖区', 3, 440100), (440102, '东山区', 3, 440100), (440103, '荔湾区', 3, 440100), (440104, '越秀区', 3, 440100), (440105, '海珠区', 3, 440100), (440106, '天河区', 3, 440100), (440107, '芳村区', 3, 440100), (440111, '白云区', 3, 440100), (440112, '黄埔区', 3, 440100), (440113, '番禺区', 3, 440100), (440114, '花都区', 3, 440100), (440183, '增城市', 3, 440100), (440184, '从化市', 3, 440100), (440201, '市辖区', 3, 440200), (440203, '武江区', 3, 440200), (440204, '浈江区', 3, 440200), (440205, '曲江区', 3, 440200), (440222, '始兴县', 3, 440200), (440224, '仁化县', 3, 440200), (440229, '翁源县', 3, 440200), (440232, '乳源瑶族自治县', 3, 440200), (440233, '新丰县', 3, 440200), (440281, '乐昌市', 3, 440200), (440282, '南雄市', 3, 440200), (440301, '市辖区', 3, 440300), (440303, '罗湖区', 3, 440300), (440304, '福田区', 3, 440300), (440305, '南山区', 3, 440300), (440306, '宝安区', 3, 440300), (440307, '龙岗区', 3, 440300), (440308, '盐田区', 3, 440300), (440401, '市辖区', 3, 440400), (440402, '香洲区', 3, 440400), (440403, '斗门区', 3, 440400), (440404, '金湾区', 3, 440400), (440501, '市辖区', 3, 440500), (440507, '龙湖区', 3, 440500), (440511, '金平区', 3, 440500), (440512, '濠江区', 3, 440500), (440513, '潮阳区', 3, 440500), (440514, '潮南区', 3, 440500), (440515, '澄海区', 3, 440500), (440523, '南澳县', 3, 440500), (440601, '市辖区', 3, 440600), (440604, '禅城区', 3, 440600), (440605, '南海区', 3, 440600), (440606, '顺德区', 3, 440600), (440607, '三水区', 3, 440600), (440608, '高明区', 3, 440600), (440701, '市辖区', 3, 440700), (440703, '蓬江区', 3, 440700), (440704, '江海区', 3, 440700), (440705, '新会区', 3, 440700), (440781, '台山市', 3, 440700), (440783, '开平市', 3, 440700), (440784, '鹤山市', 3, 440700), (440785, '恩平市', 3, 440700), (440801, '市辖区', 3, 440800), (440802, '赤坎区', 3, 440800), (440803, '霞山区', 3, 440800), (440804, '坡头区', 3, 440800), (440811, '麻章区', 3, 440800), (440823, '遂溪县', 3, 440800), (440825, '徐闻县', 3, 440800), (440881, '廉江市', 3, 440800), (440882, '雷州市', 3, 440800), (440883, '吴川市', 3, 440800), (440901, '市辖区', 3, 440900), (440902, '茂南区', 3, 440900), (440903, '茂港区', 3, 440900), (440923, '电白县', 3, 440900), (440981, '高州市', 3, 440900), (440982, '化州市', 3, 440900), (440983, '信宜市', 3, 440900), (441201, '市辖区', 3, 441200), (441202, '端州区', 3, 441200), (441203, '鼎湖区', 3, 441200), (441223, '广宁县', 3, 441200), (441224, '怀集县', 3, 441200), (441225, '封开县', 3, 441200), (441226, '德庆县', 3, 441200), (441283, '高要市', 3, 441200), (441284, '四会市', 3, 441200), (441301, '市辖区', 3, 441300), (441302, '惠城区', 3, 441300), (441303, '惠阳区', 3, 441300), (441322, '博罗县', 3, 441300), (441323, '惠东县', 3, 441300), (441324, '龙门县', 3, 441300), (441401, '市辖区', 3, 441400), (441402, '梅江区', 3, 441400), (441421, '梅 县', 3, 441400), (441422, '大埔县', 3, 441400), (441423, '丰顺县', 3, 441400), (441424, '五华县', 3, 441400), (441426, '平远县', 3, 441400), (441427, '蕉岭县', 3, 441400), (441481, '兴宁市', 3, 441400), (441501, '市辖区', 3, 441500), (441502, '城 区', 3, 441500), (441521, '海丰县', 3, 441500), (441523, '陆河县', 3, 441500), (441581, '陆丰市', 3, 441500), (441601, '市辖区', 3, 441600), (441602, '源城区', 3, 441600), (441621, '紫金县', 3, 441600), (441622, '龙川县', 3, 441600), (441623, '连平县', 3, 441600), (441624, '和平县', 3, 441600), (441625, '东源县', 3, 441600), (441701, '市辖区', 3, 441700), (441702, '江城区', 3, 441700), (441721, '阳西县', 3, 441700), (441723, '阳东县', 3, 441700), (441781, '阳春市', 3, 441700), (441801, '市辖区', 3, 441800), (441802, '清城区', 3, 441800), (441821, '佛冈县', 3, 441800), (441823, '阳山县', 3, 441800), (441825, '连山壮族瑶族自治县', 3, 441800), (441826, '连南瑶族自治县', 3, 441800), (441827, '清新县', 3, 441800), (441881, '英德市', 3, 441800), (441882, '连州市', 3, 441800), (445101, '市辖区', 3, 445100), (445102, '湘桥区', 3, 445100), (445121, '潮安县', 3, 445100), (445122, '饶平县', 3, 445100), (445201, '市辖区', 3, 445200), (445202, '榕城区', 3, 445200), (445221, '揭东县', 3, 445200), (445222, '揭西县', 3, 445200), (445224, '惠来县', 3, 445200), (445281, '普宁市', 3, 445200), (445301, '市辖区', 3, 445300), (445302, '云城区', 3, 445300), (445321, '新兴县', 3, 445300), (445322, '郁南县', 3, 445300), (445323, '云安县', 3, 445300), (445381, '罗定市', 3, 445300), (450101, '市辖区', 3, 450100), (450102, '兴宁区', 3, 450100), (450103, '青秀区', 3, 450100), (450105, '江南区', 3, 450100), (450107, '西乡塘区', 3, 450100), (450108, '良庆区', 3, 450100), (450109, '邕宁区', 3, 450100), (450122, '武鸣县', 3, 450100), (450123, '隆安县', 3, 450100), (450124, '马山县', 3, 450100), (450125, '上林县', 3, 450100), (450126, '宾阳县', 3, 450100), (450127, '横 县', 3, 450100), (450201, '市辖区', 3, 450200), (450202, '城中区', 3, 450200), (450203, '鱼峰区', 3, 450200), (450204, '柳南区', 3, 450200), (450205, '柳北区', 3, 450200), (450221, '柳江县', 3, 450200), (450222, '柳城县', 3, 450200), (450223, '鹿寨县', 3, 450200), (450224, '融安县', 3, 450200), (450225, '融水苗族自治县', 3, 450200), (450226, '三江侗族自治县', 3, 450200), (450301, '市辖区', 3, 450300), (450302, '秀峰区', 3, 450300), (450303, '叠彩区', 3, 450300), (450304, '象山区', 3, 450300), (450305, '七星区', 3, 450300), (450311, '雁山区', 3, 450300), (450321, '阳朔县', 3, 450300), (450322, '临桂县', 3, 450300), (450323, '灵川县', 3, 450300), (450324, '全州县', 3, 450300), (450325, '兴安县', 3, 450300), (450326, '永福县', 3, 450300), (450327, '灌阳县', 3, 450300), (450328, '龙胜各族自治县', 3, 450300), (450329, '资源县', 3, 450300), (450330, '平乐县', 3, 450300), (450331, '荔蒲县', 3, 450300), (450332, '恭城瑶族自治县', 3, 450300), (450401, '市辖区', 3, 450400), (450403, '万秀区', 3, 450400), (450404, '蝶山区', 3, 450400), (450405, '长洲区', 3, 450400), (450421, '苍梧县', 3, 450400), (450422, '藤 县', 3, 450400), (450423, '蒙山县', 3, 450400), (450481, '岑溪市', 3, 450400), (450501, '市辖区', 3, 450500), (450502, '海城区', 3, 450500), (450503, '银海区', 3, 450500), (450512, '铁山港区', 3, 450500), (450521, '合浦县', 3, 450500), (450601, '市辖区', 3, 450600), (450602, '港口区', 3, 450600), (450603, '防城区', 3, 450600), (450621, '上思县', 3, 450600), (450681, '东兴市', 3, 450600), (450701, '市辖区', 3, 450700), (450702, '钦南区', 3, 450700), (450703, '钦北区', 3, 450700), (450721, '灵山县', 3, 450700), (450722, '浦北县', 3, 450700), (450801, '市辖区', 3, 450800), (450802, '港北区', 3, 450800), (450803, '港南区', 3, 450800), (450804, '覃塘区', 3, 450800), (450821, '平南县', 3, 450800), (450881, '桂平市', 3, 450800), (450901, '市辖区', 3, 450900), (450902, '玉州区', 3, 450900), (450921, '容 县', 3, 450900), (450922, '陆川县', 3, 450900), (450923, '博白县', 3, 450900), (450924, '兴业县', 3, 450900), (450981, '北流市', 3, 450900), (451001, '市辖区', 3, 451000), (451002, '右江区', 3, 451000), (451021, '田阳县', 3, 451000), (451022, '田东县', 3, 451000), (451023, '平果县', 3, 451000), (451024, '德保县', 3, 451000), (451025, '靖西县', 3, 451000), (451026, '那坡县', 3, 451000), (451027, '凌云县', 3, 451000), (451028, '乐业县', 3, 451000), (451029, '田林县', 3, 451000), (451030, '西林县', 3, 451000), (451031, '隆林各族自治县', 3, 451000), (451101, '市辖区', 3, 451100), (451102, '八步区', 3, 451100), (451121, '昭平县', 3, 451100), (451122, '钟山县', 3, 451100), (451123, '富川瑶族自治县', 3, 451100), (451201, '市辖区', 3, 451200), (451202, '金城江区', 3, 451200), (451221, '南丹县', 3, 451200), (451222, '天峨县', 3, 451200), (451223, '凤山县', 3, 451200), (451224, '东兰县', 3, 451200), (451225, '罗城仫佬族自治县', 3, 451200), (451226, '环江毛南族自治县', 3, 451200), (451227, '巴马瑶族自治县', 3, 451200), (451228, '都安瑶族自治县', 3, 451200), (451229, '大化瑶族自治县', 3, 451200), (451281, '宜州市', 3, 451200), (451301, '市辖区', 3, 451300), (451302, '兴宾区', 3, 451300), (451321, '忻城县', 3, 451300), (451322, '象州县', 3, 451300), (451323, '武宣县', 3, 451300), (451324, '金秀瑶族自治县', 3, 451300), (451381, '合山市', 3, 451300), (451401, '市辖区', 3, 451400), (451402, '江洲区', 3, 451400), (451421, '扶绥县', 3, 451400), (451422, '宁明县', 3, 451400), (451423, '龙州县', 3, 451400), (451424, '大新县', 3, 451400), (451425, '天等县', 3, 451400), (451481, '凭祥市', 3, 451400), (460101, '市辖区', 3, 460100), (460105, '秀英区', 3, 460100), (460106, '龙华区', 3, 460100), (460107, '琼山区', 3, 460100), (460108, '美兰区', 3, 460100), (460201, '市辖区', 3, 460200), (469001, '五指山市', 3, 469000), (469002, '琼海市', 3, 469000), (469003, '儋州市', 3, 469000), (469005, '文昌市', 3, 469000), (469006, '万宁市', 3, 469000), (469007, '东方市', 3, 469000), (469025, '定安县', 3, 469000), (469026, '屯昌县', 3, 469000), (469027, '澄迈县', 3, 469000), (469028, '临高县', 3, 469000), (469030, '白沙黎族自治县', 3, 469000), (469031, '昌江黎族自治县', 3, 469000), (469033, '乐东黎族自治县', 3, 469000), (469034, '陵水黎族自治县', 3, 469000), (469035, '保亭黎族苗族自治县', 3, 469000), (469036, '琼中黎族苗族自治县', 3, 469000), (469037, '西沙群岛', 3, 469000), (469038, '南沙群岛', 3, 469000), (469039, '中沙群岛的岛礁及其海域', 3, 469000), (500101, '万州区', 3, 500100), (500102, '涪陵区', 3, 500100), (500103, '渝中区', 3, 500100), (500104, '大渡口区', 3, 500100), (500105, '江北区', 3, 500100), (500106, '沙坪坝区', 3, 500100), (500107, '九龙坡区', 3, 500100), (500108, '南岸区', 3, 500100), (500109, '北碚区', 3, 500100), (500110, '万盛区', 3, 500100), (500111, '双桥区', 3, 500100), (500112, '渝北区', 3, 500100), (500113, '巴南区', 3, 500100), (500114, '黔江区', 3, 500100), (500115, '长寿区', 3, 500100), (500222, '綦江县', 3, 500200), (500223, '潼南县', 3, 500200), (500224, '铜梁县', 3, 500200), (500225, '大足县', 3, 500200), (500226, '荣昌县', 3, 500200), (500227, '璧山县', 3, 500200), (500228, '梁平县', 3, 500200), (500229, '城口县', 3, 500200), (500230, '丰都县', 3, 500200), (500231, '垫江县', 3, 500200), (500232, '武隆县', 3, 500200), (500233, '忠 县', 3, 500200), (500234, '开 县', 3, 500200), (500235, '云阳县', 3, 500200), (500236, '奉节县', 3, 500200), (500237, '巫山县', 3, 500200), (500238, '巫溪县', 3, 500200), (500240, '石柱土家族自治县', 3, 500200), (500241, '秀山土家族苗族自治县', 3, 500200), (500242, '酉阳土家族苗族自治县', 3, 500200), (500243, '彭水苗族土家族自治县', 3, 500200), (500381, '江津市', 3, 500300), (500382, '合川市', 3, 500300), (500383, '永川市', 3, 500300), (500384, '南川市', 3, 500300), (510101, '市辖区', 3, 510100), (510104, '锦江区', 3, 510100), (510105, '青羊区', 3, 510100), (510106, '金牛区', 3, 510100), (510107, '武侯区', 3, 510100), (510108, '成华区', 3, 510100), (510112, '龙泉驿区', 3, 510100), (510113, '青白江区', 3, 510100), (510114, '新都区', 3, 510100), (510115, '温江区', 3, 510100), (510121, '金堂县', 3, 510100), (510122, '双流县', 3, 510100), (510124, '郫 县', 3, 510100), (510129, '大邑县', 3, 510100), (510131, '蒲江县', 3, 510100), (510132, '新津县', 3, 510100), (510181, '都江堰市', 3, 510100), (510182, '彭州市', 3, 510100), (510183, '邛崃市', 3, 510100), (510184, '崇州市', 3, 510100), (510301, '市辖区', 3, 510300), (510302, '自流井区', 3, 510300), (510303, '贡井区', 3, 510300), (510304, '大安区', 3, 510300), (510311, '沿滩区', 3, 510300), (510321, '荣 县', 3, 510300), (510322, '富顺县', 3, 510300), (510401, '市辖区', 3, 510400), (510402, '东 区', 3, 510400), (510403, '西 区', 3, 510400), (510411, '仁和区', 3, 510400), (510421, '米易县', 3, 510400), (510422, '盐边县', 3, 510400), (510501, '市辖区', 3, 510500), (510502, '江阳区', 3, 510500), (510503, '纳溪区', 3, 510500), (510504, '龙马潭区', 3, 510500), (510521, '泸 县', 3, 510500), (510522, '合江县', 3, 510500), (510524, '叙永县', 3, 510500), (510525, '古蔺县', 3, 510500), (510601, '市辖区', 3, 510600), (510603, '旌阳区', 3, 510600), (510623, '中江县', 3, 510600), (510626, '罗江县', 3, 510600), (510681, '广汉市', 3, 510600), (510682, '什邡市', 3, 510600), (510683, '绵竹市', 3, 510600), (510701, '市辖区', 3, 510700), (510703, '涪城区', 3, 510700), (510704, '游仙区', 3, 510700), (510722, '三台县', 3, 510700), (510723, '盐亭县', 3, 510700), (510724, '安 县', 3, 510700), (510725, '梓潼县', 3, 510700), (510726, '北川羌族自治县', 3, 510700), (510727, '平武县', 3, 510700), (510781, '江油市', 3, 510700), (510801, '市辖区', 3, 510800), (510802, '市中区', 3, 510800), (510811, '元坝区', 3, 510800), (510812, '朝天区', 3, 510800), (510821, '旺苍县', 3, 510800), (510822, '青川县', 3, 510800), (510823, '剑阁县', 3, 510800), (510824, '苍溪县', 3, 510800), (510901, '市辖区', 3, 510900), (510903, '船山区', 3, 510900), (510904, '安居区', 3, 510900), (510921, '蓬溪县', 3, 510900), (510922, '射洪县', 3, 510900), (510923, '大英县', 3, 510900), (511001, '市辖区', 3, 511000), (511002, '市中区', 3, 511000), (511011, '东兴区', 3, 511000), (511024, '威远县', 3, 511000), (511025, '资中县', 3, 511000), (511028, '隆昌县', 3, 511000), (511101, '市辖区', 3, 511100), (511102, '市中区', 3, 511100), (511111, '沙湾区', 3, 511100), (511112, '五通桥区', 3, 511100), (511113, '金口河区', 3, 511100), (511123, '犍为县', 3, 511100), (511124, '井研县', 3, 511100), (511126, '夹江县', 3, 511100), (511129, '沐川县', 3, 511100), (511132, '峨边彝族自治县', 3, 511100), (511133, '马边彝族自治县', 3, 511100), (511181, '峨眉山市', 3, 511100), (511301, '市辖区', 3, 511300), (511302, '顺庆区', 3, 511300), (511303, '高坪区', 3, 511300), (511304, '嘉陵区', 3, 511300), (511321, '南部县', 3, 511300), (511322, '营山县', 3, 511300), (511323, '蓬安县', 3, 511300), (511324, '仪陇县', 3, 511300), (511325, '西充县', 3, 511300), (511381, '阆中市', 3, 511300), (511401, '市辖区', 3, 511400), (511402, '东坡区', 3, 511400), (511421, '仁寿县', 3, 511400), (511422, '彭山县', 3, 511400), (511423, '洪雅县', 3, 511400), (511424, '丹棱县', 3, 511400), (511425, '青神县', 3, 511400), (511501, '市辖区', 3, 511500), (511502, '翠屏区', 3, 511500), (511521, '宜宾县', 3, 511500), (511522, '南溪县', 3, 511500), (511523, '江安县', 3, 511500), (511524, '长宁县', 3, 511500), (511525, '高 县', 3, 511500), (511526, '珙 县', 3, 511500), (511527, '筠连县', 3, 511500), (511528, '兴文县', 3, 511500), (511529, '屏山县', 3, 511500), (511601, '市辖区', 3, 511600), (511602, '广安区', 3, 511600), (511621, '岳池县', 3, 511600), (511622, '武胜县', 3, 511600), (511623, '邻水县', 3, 511600), (511681, '华莹市', 3, 511600), (511701, '市辖区', 3, 511700), (511702, '通川区', 3, 511700), (511721, '达 县', 3, 511700), (511722, '宣汉县', 3, 511700), (511723, '开江县', 3, 511700), (511724, '大竹县', 3, 511700), (511725, '渠 县', 3, 511700), (511781, '万源市', 3, 511700), (511801, '市辖区', 3, 511800), (511802, '雨城区', 3, 511800), (511821, '名山县', 3, 511800), (511822, '荥经县', 3, 511800), (511823, '汉源县', 3, 511800), (511824, '石棉县', 3, 511800), (511825, '天全县', 3, 511800), (511826, '芦山县', 3, 511800), (511827, '宝兴县', 3, 511800), (511901, '市辖区', 3, 511900), (511902, '巴州区', 3, 511900), (511921, '通江县', 3, 511900), (511922, '南江县', 3, 511900), (511923, '平昌县', 3, 511900), (512001, '市辖区', 3, 512000), (512002, '雁江区', 3, 512000), (512021, '安岳县', 3, 512000), (512022, '乐至县', 3, 512000), (512081, '简阳市', 3, 512000), (513221, '汶川县', 3, 513200), (513222, '理 县', 3, 513200), (513223, '茂 县', 3, 513200), (513224, '松潘县', 3, 513200), (513225, '九寨沟县', 3, 513200), (513226, '金川县', 3, 513200), (513227, '小金县', 3, 513200), (513228, '黑水县', 3, 513200), (513229, '马尔康县', 3, 513200), (513230, '壤塘县', 3, 513200), (513231, '阿坝县', 3, 513200), (513232, '若尔盖县', 3, 513200), (513233, '红原县', 3, 513200), (513321, '康定县', 3, 513300), (513322, '泸定县', 3, 513300), (513323, '丹巴县', 3, 513300), (513324, '九龙县', 3, 513300), (513325, '雅江县', 3, 513300), (513326, '道孚县', 3, 513300), (513327, '炉霍县', 3, 513300), (513328, '甘孜县', 3, 513300), (513329, '新龙县', 3, 513300), (513330, '德格县', 3, 513300), (513331, '白玉县', 3, 513300), (513332, '石渠县', 3, 513300), (513333, '色达县', 3, 513300), (513334, '理塘县', 3, 513300), (513335, '巴塘县', 3, 513300), (513336, '乡城县', 3, 513300), (513337, '稻城县', 3, 513300), (513338, '得荣县', 3, 513300), (513401, '西昌市', 3, 513400), (513422, '木里藏族自治县', 3, 513400), (513423, '盐源县', 3, 513400), (513424, '德昌县', 3, 513400), (513425, '会理县', 3, 513400), (513426, '会东县', 3, 513400), (513427, '宁南县', 3, 513400), (513428, '普格县', 3, 513400), (513429, '布拖县', 3, 513400), (513430, '金阳县', 3, 513400), (513431, '昭觉县', 3, 513400), (513432, '喜德县', 3, 513400), (513433, '冕宁县', 3, 513400), (513434, '越西县', 3, 513400), (513435, '甘洛县', 3, 513400), (513436, '美姑县', 3, 513400), (513437, '雷波县', 3, 513400), (520101, '市辖区', 3, 520100), (520102, '南明区', 3, 520100), (520103, '云岩区', 3, 520100), (520111, '花溪区', 3, 520100), (520112, '乌当区', 3, 520100), (520113, '白云区', 3, 520100), (520114, '小河区', 3, 520100), (520121, '开阳县', 3, 520100), (520122, '息烽县', 3, 520100), (520123, '修文县', 3, 520100), (520181, '清镇市', 3, 520100), (520201, '钟山区', 3, 520200), (520203, '六枝特区', 3, 520200), (520221, '水城县', 3, 520200), (520222, '盘 县', 3, 520200), (520301, '市辖区', 3, 520300), (520302, '红花岗区', 3, 520300), (520303, '汇川区', 3, 520300), (520321, '遵义县', 3, 520300), (520322, '桐梓县', 3, 520300), (520323, '绥阳县', 3, 520300), (520324, '正安县', 3, 520300), (520325, '道真仡佬族苗族自治县', 3, 520300), (520326, '务川仡佬族苗族自治县', 3, 520300), (520327, '凤冈县', 3, 520300), (520328, '湄潭县', 3, 520300), (520329, '余庆县', 3, 520300), (520330, '习水县', 3, 520300), (520381, '赤水市', 3, 520300), (520382, '仁怀市', 3, 520300), (520401, '市辖区', 3, 520400), (520402, '西秀区', 3, 520400), (520421, '平坝县', 3, 520400), (520422, '普定县', 3, 520400), (520423, '镇宁布依族苗族自治县', 3, 520400), (520424, '关岭布依族苗族自治县', 3, 520400), (520425, '紫云苗族布依族自治县', 3, 520400), (522201, '铜仁市', 3, 522200), (522222, '江口县', 3, 522200), (522223, '玉屏侗族自治县', 3, 522200), (522224, '石阡县', 3, 522200), (522225, '思南县', 3, 522200), (522226, '印江土家族苗族自治县', 3, 522200), (522227, '德江县', 3, 522200), (522228, '沿河土家族自治县', 3, 522200), (522229, '松桃苗族自治县', 3, 522200), (522230, '万山特区', 3, 522200), (522301, '兴义市', 3, 522300), (522322, '兴仁县', 3, 522300), (522323, '普安县', 3, 522300), (522324, '晴隆县', 3, 522300), (522325, '贞丰县', 3, 522300), (522326, '望谟县', 3, 522300), (522327, '册亨县', 3, 522300), (522328, '安龙县', 3, 522300), (522401, '毕节市', 3, 522400), (522422, '大方县', 3, 522400), (522423, '黔西县', 3, 522400), (522424, '金沙县', 3, 522400), (522425, '织金县', 3, 522400), (522426, '纳雍县', 3, 522400), (522427, '威宁彝族回族苗族自治县', 3, 522400), (522428, '赫章县', 3, 522400), (522601, '凯里市', 3, 522600), (522622, '黄平县', 3, 522600), (522623, '施秉县', 3, 522600), (522624, '三穗县', 3, 522600), (522625, '镇远县', 3, 522600), (522626, '岑巩县', 3, 522600), (522627, '天柱县', 3, 522600), (522628, '锦屏县', 3, 522600), (522629, '剑河县', 3, 522600), (522630, '台江县', 3, 522600), (522631, '黎平县', 3, 522600), (522632, '榕江县', 3, 522600), (522633, '从江县', 3, 522600), (522634, '雷山县', 3, 522600), (522635, '麻江县', 3, 522600), (522636, '丹寨县', 3, 522600), (522701, '都匀市', 3, 522700), (522702, '福泉市', 3, 522700), (522722, '荔波县', 3, 522700), (522723, '贵定县', 3, 522700), (522725, '瓮安县', 3, 522700), (522726, '独山县', 3, 522700), (522727, '平塘县', 3, 522700), (522728, '罗甸县', 3, 522700), (522729, '长顺县', 3, 522700), (522730, '龙里县', 3, 522700), (522731, '惠水县', 3, 522700), (522732, '三都水族自治县', 3, 522700), (530101, '市辖区', 3, 530100), (530102, '五华区', 3, 530100), (530103, '盘龙区', 3, 530100), (530111, '官渡区', 3, 530100), (530112, '西山区', 3, 530100), (530113, '东川区', 3, 530100), (530121, '呈贡县', 3, 530100), (530122, '晋宁县', 3, 530100), (530124, '富民县', 3, 530100), (530125, '宜良县', 3, 530100), (530126, '石林彝族自治县', 3, 530100), (530127, '嵩明县', 3, 530100), (530128, '禄劝彝族苗族自治县', 3, 530100), (530129, '寻甸回族彝族自治县', 3, 530100), (530181, '安宁市', 3, 530100), (530301, '市辖区', 3, 530300), (530302, '麒麟区', 3, 530300), (530321, '马龙县', 3, 530300), (530322, '陆良县', 3, 530300), (530323, '师宗县', 3, 530300), (530324, '罗平县', 3, 530300), (530325, '富源县', 3, 530300), (530326, '会泽县', 3, 530300), (530328, '沾益县', 3, 530300), (530381, '宣威市', 3, 530300), (530401, '市辖区', 3, 530400), (530402, '红塔区', 3, 530400), (530421, '江川县', 3, 530400), (530422, '澄江县', 3, 530400), (530423, '通海县', 3, 530400), (530424, '华宁县', 3, 530400), (530425, '易门县', 3, 530400), (530426, '峨山彝族自治县', 3, 530400), (530427, '新平彝族傣族自治县', 3, 530400), (530428, '元江哈尼族彝族傣族自治县', 3, 530400), (530501, '市辖区', 3, 530500), (530502, '隆阳区', 3, 530500), (530521, '施甸县', 3, 530500), (530522, '腾冲县', 3, 530500), (530523, '龙陵县', 3, 530500), (530524, '昌宁县', 3, 530500), (530601, '市辖区', 3, 530600), (530602, '昭阳区', 3, 530600), (530621, '鲁甸县', 3, 530600), (530622, '巧家县', 3, 530600), (530623, '盐津县', 3, 530600), (530624, '大关县', 3, 530600), (530625, '永善县', 3, 530600), (530626, '绥江县', 3, 530600), (530627, '镇雄县', 3, 530600), (530628, '彝良县', 3, 530600), (530629, '威信县', 3, 530600), (530630, '水富县', 3, 530600), (530701, '市辖区', 3, 530700), (530702, '古城区', 3, 530700), (530721, '玉龙纳西族自治县', 3, 530700), (530722, '永胜县', 3, 530700), (530723, '华坪县', 3, 530700), (530724, '宁蒗彝族自治县', 3, 530700), (530801, '市辖区', 3, 530800), (530802, '翠云区', 3, 530800), (530821, '普洱哈尼族彝族自治县', 3, 530800), (530822, '墨江哈尼族自治县', 3, 530800), (530823, '景东彝族自治县', 3, 530800), (530824, '景谷傣族彝族自治县', 3, 530800), (530825, '镇沅彝族哈尼族拉祜族自治县', 3, 530800), (530826, '江城哈尼族彝族自治县', 3, 530800), (530827, '孟连傣族拉祜族佤族自治县', 3, 530800), (530828, '澜沧拉祜族自治县', 3, 530800), (530829, '西盟佤族自治县', 3, 530800), (530901, '市辖区', 3, 530900), (530902, '临翔区', 3, 530900), (530921, '凤庆县', 3, 530900), (530922, '云 县', 3, 530900), (530923, '永德县', 3, 530900), (530924, '镇康县', 3, 530900), (530925, '双江拉祜族佤族布朗族傣族自治县', 3, 530900), (530926, '耿马傣族佤族自治县', 3, 530900), (530927, '沧源佤族自治县', 3, 530900), (532301, '楚雄市', 3, 532300), (532322, '双柏县', 3, 532300), (532323, '牟定县', 3, 532300), (532324, '南华县', 3, 532300), (532325, '姚安县', 3, 532300), (532326, '大姚县', 3, 532300), (532327, '永仁县', 3, 532300), (532328, '元谋县', 3, 532300), (532329, '武定县', 3, 532300), (532331, '禄丰县', 3, 532300), (532501, '个旧市', 3, 532500), (532502, '开远市', 3, 532500), (532522, '蒙自县', 3, 532500), (532523, '屏边苗族自治县', 3, 532500), (532524, '建水县', 3, 532500), (532525, '石屏县', 3, 532500), (532526, '弥勒县', 3, 532500), (532527, '泸西县', 3, 532500), (532528, '元阳县', 3, 532500), (532529, '红河县', 3, 532500), (532530, '金平苗族瑶族傣族自治县', 3, 532500), (532531, '绿春县', 3, 532500), (532532, '河口瑶族自治县', 3, 532500), (532621, '文山县', 3, 532600), (532622, '砚山县', 3, 532600), (532623, '西畴县', 3, 532600), (532624, '麻栗坡县', 3, 532600), (532625, '马关县', 3, 532600), (532626, '丘北县', 3, 532600), (532627, '广南县', 3, 532600), (532628, '富宁县', 3, 532600), (532801, '景洪市', 3, 532800), (532822, '勐海县', 3, 532800); INSERT INTO `thinkox_district` (`id`, `name`, `level`, `upid`) VALUES (532823, '勐腊县', 3, 532800), (532901, '大理市', 3, 532900), (532922, '漾濞彝族自治县', 3, 532900), (532923, '祥云县', 3, 532900), (532924, '宾川县', 3, 532900), (532925, '弥渡县', 3, 532900), (532926, '南涧彝族自治县', 3, 532900), (532927, '巍山彝族回族自治县', 3, 532900), (532928, '永平县', 3, 532900), (532929, '云龙县', 3, 532900), (532930, '洱源县', 3, 532900), (532931, '剑川县', 3, 532900), (532932, '鹤庆县', 3, 532900), (533102, '瑞丽市', 3, 533100), (533103, '潞西市', 3, 533100), (533122, '梁河县', 3, 533100), (533123, '盈江县', 3, 533100), (533124, '陇川县', 3, 533100), (533321, '泸水县', 3, 533300), (533323, '福贡县', 3, 533300), (533324, '贡山独龙族怒族自治县', 3, 533300), (533325, '兰坪白族普米族自治县', 3, 533300), (533421, '香格里拉县', 3, 533400), (533422, '德钦县', 3, 533400), (533423, '维西傈僳族自治县', 3, 533400), (540101, '市辖区', 3, 540100), (540102, '城关区', 3, 540100), (540121, '林周县', 3, 540100), (540122, '当雄县', 3, 540100), (540123, '尼木县', 3, 540100), (540124, '曲水县', 3, 540100), (540125, '堆龙德庆县', 3, 540100), (540126, '达孜县', 3, 540100), (540127, '墨竹工卡县', 3, 540100), (542121, '昌都县', 3, 542100), (542122, '江达县', 3, 542100), (542123, '贡觉县', 3, 542100), (542124, '类乌齐县', 3, 542100), (542125, '丁青县', 3, 542100), (542126, '察雅县', 3, 542100), (542127, '八宿县', 3, 542100), (542128, '左贡县', 3, 542100), (542129, '芒康县', 3, 542100), (542132, '洛隆县', 3, 542100), (542133, '边坝县', 3, 542100), (542221, '乃东县', 3, 542200), (542222, '扎囊县', 3, 542200), (542223, '贡嘎县', 3, 542200), (542224, '桑日县', 3, 542200), (542225, '琼结县', 3, 542200), (542226, '曲松县', 3, 542200), (542227, '措美县', 3, 542200), (542228, '洛扎县', 3, 542200), (542229, '加查县', 3, 542200), (542231, '隆子县', 3, 542200), (542232, '错那县', 3, 542200), (542233, '浪卡子县', 3, 542200), (542301, '日喀则市', 3, 542300), (542322, '南木林县', 3, 542300), (542323, '江孜县', 3, 542300), (542324, '定日县', 3, 542300), (542325, '萨迦县', 3, 542300), (542326, '拉孜县', 3, 542300), (542327, '昂仁县', 3, 542300), (542328, '谢通门县', 3, 542300), (542329, '白朗县', 3, 542300), (542330, '仁布县', 3, 542300), (542331, '康马县', 3, 542300), (542332, '定结县', 3, 542300), (542333, '仲巴县', 3, 542300), (542334, '亚东县', 3, 542300), (542335, '吉隆县', 3, 542300), (542336, '聂拉木县', 3, 542300), (542337, '萨嘎县', 3, 542300), (542338, '岗巴县', 3, 542300), (542421, '那曲县', 3, 542400), (542422, '嘉黎县', 3, 542400), (542423, '比如县', 3, 542400), (542424, '聂荣县', 3, 542400), (542425, '安多县', 3, 542400), (542426, '申扎县', 3, 542400), (542427, '索 县', 3, 542400), (542428, '班戈县', 3, 542400), (542429, '巴青县', 3, 542400), (542430, '尼玛县', 3, 542400), (542521, '普兰县', 3, 542500), (542522, '札达县', 3, 542500), (542523, '噶尔县', 3, 542500), (542524, '日土县', 3, 542500), (542525, '革吉县', 3, 542500), (542526, '改则县', 3, 542500), (542527, '措勤县', 3, 542500), (542621, '林芝县', 3, 542600), (542622, '工布江达县', 3, 542600), (542623, '米林县', 3, 542600), (542624, '墨脱县', 3, 542600), (542625, '波密县', 3, 542600), (542626, '察隅县', 3, 542600), (542627, '朗 县', 3, 542600), (610101, '市辖区', 3, 610100), (610102, '新城区', 3, 610100), (610103, '碑林区', 3, 610100), (610104, '莲湖区', 3, 610100), (610111, '灞桥区', 3, 610100), (610112, '未央区', 3, 610100), (610113, '雁塔区', 3, 610100), (610114, '阎良区', 3, 610100), (610115, '临潼区', 3, 610100), (610116, '长安区', 3, 610100), (610122, '蓝田县', 3, 610100), (610124, '周至县', 3, 610100), (610125, '户 县', 3, 610100), (610126, '高陵县', 3, 610100), (610201, '市辖区', 3, 610200), (610202, '王益区', 3, 610200), (610203, '印台区', 3, 610200), (610204, '耀州区', 3, 610200), (610222, '宜君县', 3, 610200), (610301, '市辖区', 3, 610300), (610302, '渭滨区', 3, 610300), (610303, '金台区', 3, 610300), (610304, '陈仓区', 3, 610300), (610322, '凤翔县', 3, 610300), (610323, '岐山县', 3, 610300), (610324, '扶风县', 3, 610300), (610326, '眉 县', 3, 610300), (610327, '陇 县', 3, 610300), (610328, '千阳县', 3, 610300), (610329, '麟游县', 3, 610300), (610330, '凤 县', 3, 610300), (610331, '太白县', 3, 610300), (610401, '市辖区', 3, 610400), (610402, '秦都区', 3, 610400), (610403, '杨凌区', 3, 610400), (610404, '渭城区', 3, 610400), (610422, '三原县', 3, 610400), (610423, '泾阳县', 3, 610400), (610424, '乾 县', 3, 610400), (610425, '礼泉县', 3, 610400), (610426, '永寿县', 3, 610400), (610427, '彬 县', 3, 610400), (610428, '长武县', 3, 610400), (610429, '旬邑县', 3, 610400), (610430, '淳化县', 3, 610400), (610431, '武功县', 3, 610400), (610481, '兴平市', 3, 610400), (610501, '市辖区', 3, 610500), (610502, '临渭区', 3, 610500), (610521, '华 县', 3, 610500), (610522, '潼关县', 3, 610500), (610523, '大荔县', 3, 610500), (610524, '合阳县', 3, 610500), (610525, '澄城县', 3, 610500), (610526, '蒲城县', 3, 610500), (610527, '白水县', 3, 610500), (610528, '富平县', 3, 610500), (610581, '韩城市', 3, 610500), (610582, '华阴市', 3, 610500), (610601, '市辖区', 3, 610600), (610602, '宝塔区', 3, 610600), (610621, '延长县', 3, 610600), (610622, '延川县', 3, 610600), (610623, '子长县', 3, 610600), (610624, '安塞县', 3, 610600), (610625, '志丹县', 3, 610600), (610626, '吴旗县', 3, 610600), (610627, '甘泉县', 3, 610600), (610628, '富 县', 3, 610600), (610629, '洛川县', 3, 610600), (610630, '宜川县', 3, 610600), (610631, '黄龙县', 3, 610600), (610632, '黄陵县', 3, 610600), (610701, '市辖区', 3, 610700), (610702, '汉台区', 3, 610700), (610721, '南郑县', 3, 610700), (610722, '城固县', 3, 610700), (610723, '洋 县', 3, 610700), (610724, '西乡县', 3, 610700), (610725, '勉 县', 3, 610700), (610726, '宁强县', 3, 610700), (610727, '略阳县', 3, 610700), (610728, '镇巴县', 3, 610700), (610729, '留坝县', 3, 610700), (610730, '佛坪县', 3, 610700), (610801, '市辖区', 3, 610800), (610802, '榆阳区', 3, 610800), (610821, '神木县', 3, 610800), (610822, '府谷县', 3, 610800), (610823, '横山县', 3, 610800), (610824, '靖边县', 3, 610800), (610825, '定边县', 3, 610800), (610826, '绥德县', 3, 610800), (610827, '米脂县', 3, 610800), (610828, '佳 县', 3, 610800), (610829, '吴堡县', 3, 610800), (610830, '清涧县', 3, 610800), (610831, '子洲县', 3, 610800), (610901, '市辖区', 3, 610900), (610902, '汉滨区', 3, 610900), (610921, '汉阴县', 3, 610900), (610922, '石泉县', 3, 610900), (610923, '宁陕县', 3, 610900), (610924, '紫阳县', 3, 610900), (610925, '岚皋县', 3, 610900), (610926, '平利县', 3, 610900), (610927, '镇坪县', 3, 610900), (610928, '旬阳县', 3, 610900), (610929, '白河县', 3, 610900), (611001, '市辖区', 3, 611000), (611002, '商州区', 3, 611000), (611021, '洛南县', 3, 611000), (611022, '丹凤县', 3, 611000), (611023, '商南县', 3, 611000), (611024, '山阳县', 3, 611000), (611025, '镇安县', 3, 611000), (611026, '柞水县', 3, 611000), (620101, '市辖区', 3, 620100), (620102, '城关区', 3, 620100), (620103, '七里河区', 3, 620100), (620104, '西固区', 3, 620100), (620105, '安宁区', 3, 620100), (620111, '红古区', 3, 620100), (620121, '永登县', 3, 620100), (620122, '皋兰县', 3, 620100), (620123, '榆中县', 3, 620100), (620201, '市辖区', 3, 620200), (620301, '市辖区', 3, 620300), (620302, '金川区', 3, 620300), (620321, '永昌县', 3, 620300), (620401, '市辖区', 3, 620400), (620402, '白银区', 3, 620400), (620403, '平川区', 3, 620400), (620421, '靖远县', 3, 620400), (620422, '会宁县', 3, 620400), (620423, '景泰县', 3, 620400), (620501, '市辖区', 3, 620500), (620502, '秦城区', 3, 620500), (620503, '北道区', 3, 620500), (620521, '清水县', 3, 620500), (620522, '秦安县', 3, 620500), (620523, '甘谷县', 3, 620500), (620524, '武山县', 3, 620500), (620525, '张家川回族自治县', 3, 620500), (620601, '市辖区', 3, 620600), (620602, '凉州区', 3, 620600), (620621, '民勤县', 3, 620600), (620622, '古浪县', 3, 620600), (620623, '天祝藏族自治县', 3, 620600), (620701, '市辖区', 3, 620700), (620702, '甘州区', 3, 620700), (620721, '肃南裕固族自治县', 3, 620700), (620722, '民乐县', 3, 620700), (620723, '临泽县', 3, 620700), (620724, '高台县', 3, 620700), (620725, '山丹县', 3, 620700), (620801, '市辖区', 3, 620800), (620802, '崆峒区', 3, 620800), (620821, '泾川县', 3, 620800), (620822, '灵台县', 3, 620800), (620823, '崇信县', 3, 620800), (620824, '华亭县', 3, 620800), (620825, '庄浪县', 3, 620800), (620826, '静宁县', 3, 620800), (620901, '市辖区', 3, 620900), (620902, '肃州区', 3, 620900), (620921, '金塔县', 3, 620900), (620922, '安西县', 3, 620900), (620923, '肃北蒙古族自治县', 3, 620900), (620924, '阿克塞哈萨克族自治县', 3, 620900), (620981, '玉门市', 3, 620900), (620982, '敦煌市', 3, 620900), (621001, '市辖区', 3, 621000), (621002, '西峰区', 3, 621000), (621021, '庆城县', 3, 621000), (621022, '环 县', 3, 621000), (621023, '华池县', 3, 621000), (621024, '合水县', 3, 621000), (621025, '正宁县', 3, 621000), (621026, '宁 县', 3, 621000), (621027, '镇原县', 3, 621000), (621101, '市辖区', 3, 621100), (621102, '安定区', 3, 621100), (621121, '通渭县', 3, 621100), (621122, '陇西县', 3, 621100), (621123, '渭源县', 3, 621100), (621124, '临洮县', 3, 621100), (621125, '漳 县', 3, 621100), (621126, '岷 县', 3, 621100), (621201, '市辖区', 3, 621200), (621202, '武都区', 3, 621200), (621221, '成 县', 3, 621200), (621222, '文 县', 3, 621200), (621223, '宕昌县', 3, 621200), (621224, '康 县', 3, 621200), (621225, '西和县', 3, 621200), (621226, '礼 县', 3, 621200), (621227, '徽 县', 3, 621200), (621228, '两当县', 3, 621200), (622901, '临夏市', 3, 622900), (622921, '临夏县', 3, 622900), (622922, '康乐县', 3, 622900), (622923, '永靖县', 3, 622900), (622924, '广河县', 3, 622900), (622925, '和政县', 3, 622900), (622926, '东乡族自治县', 3, 622900), (622927, '积石山保安族东乡族撒拉族自治县', 3, 622900), (623001, '合作市', 3, 623000), (623021, '临潭县', 3, 623000), (623022, '卓尼县', 3, 623000), (623023, '舟曲县', 3, 623000), (623024, '迭部县', 3, 623000), (623025, '玛曲县', 3, 623000), (623026, '碌曲县', 3, 623000), (623027, '夏河县', 3, 623000), (630101, '市辖区', 3, 630100), (630102, '城东区', 3, 630100), (630103, '城中区', 3, 630100), (630104, '城西区', 3, 630100), (630105, '城北区', 3, 630100), (630121, '大通回族土族自治县', 3, 630100), (630122, '湟中县', 3, 630100), (630123, '湟源县', 3, 630100), (632121, '平安县', 3, 632100), (632122, '民和回族土族自治县', 3, 632100), (632123, '乐都县', 3, 632100), (632126, '互助土族自治县', 3, 632100), (632127, '化隆回族自治县', 3, 632100), (632128, '循化撒拉族自治县', 3, 632100), (632221, '门源回族自治县', 3, 632200), (632222, '祁连县', 3, 632200), (632223, '海晏县', 3, 632200), (632224, '刚察县', 3, 632200), (632321, '同仁县', 3, 632300), (632322, '尖扎县', 3, 632300), (632323, '泽库县', 3, 632300), (632324, '河南蒙古族自治县', 3, 632300), (632521, '共和县', 3, 632500), (632522, '同德县', 3, 632500), (632523, '贵德县', 3, 632500), (632524, '兴海县', 3, 632500), (632525, '贵南县', 3, 632500), (632621, '玛沁县', 3, 632600), (632622, '班玛县', 3, 632600), (632623, '甘德县', 3, 632600), (632624, '达日县', 3, 632600), (632625, '久治县', 3, 632600), (632626, '玛多县', 3, 632600), (632721, '玉树县', 3, 632700), (632722, '杂多县', 3, 632700), (632723, '称多县', 3, 632700), (632724, '治多县', 3, 632700), (632725, '囊谦县', 3, 632700), (632726, '曲麻莱县', 3, 632700), (632801, '格尔木市', 3, 632800), (632802, '德令哈市', 3, 632800), (632821, '乌兰县', 3, 632800), (632822, '都兰县', 3, 632800), (632823, '天峻县', 3, 632800), (640101, '市辖区', 3, 640100), (640104, '兴庆区', 3, 640100), (640105, '西夏区', 3, 640100), (640106, '金凤区', 3, 640100), (640121, '永宁县', 3, 640100), (640122, '贺兰县', 3, 640100), (640181, '灵武市', 3, 640100), (640201, '市辖区', 3, 640200), (640202, '大武口区', 3, 640200), (640205, '惠农区', 3, 640200), (640221, '平罗县', 3, 640200), (640301, '市辖区', 3, 640300), (640302, '利通区', 3, 640300), (640323, '盐池县', 3, 640300), (640324, '同心县', 3, 640300), (640381, '青铜峡市', 3, 640300), (640401, '市辖区', 3, 640400), (640402, '原州区', 3, 640400), (640422, '西吉县', 3, 640400), (640423, '隆德县', 3, 640400), (640424, '泾源县', 3, 640400), (640425, '彭阳县', 3, 640400), (640501, '市辖区', 3, 640500), (640502, '沙坡头区', 3, 640500), (640521, '中宁县', 3, 640500), (640522, '海原县', 3, 640500), (650101, '市辖区', 3, 650100), (650102, '天山区', 3, 650100), (650103, '沙依巴克区', 3, 650100), (650104, '新市区', 3, 650100), (650105, '水磨沟区', 3, 650100), (650106, '头屯河区', 3, 650100), (650107, '达坂城区', 3, 650100), (650108, '东山区', 3, 650100), (650121, '乌鲁木齐县', 3, 650100), (650201, '市辖区', 3, 650200), (650202, '独山子区', 3, 650200), (650203, '克拉玛依区', 3, 650200), (650204, '白碱滩区', 3, 650200), (650205, '乌尔禾区', 3, 650200), (652101, '吐鲁番市', 3, 652100), (652122, '鄯善县', 3, 652100), (652123, '托克逊县', 3, 652100), (652201, '哈密市', 3, 652200), (652222, '巴里坤哈萨克自治县', 3, 652200), (652223, '伊吾县', 3, 652200), (652301, '昌吉市', 3, 652300), (652302, '阜康市', 3, 652300), (652303, '米泉市', 3, 652300), (652323, '呼图壁县', 3, 652300), (652324, '玛纳斯县', 3, 652300), (652325, '奇台县', 3, 652300), (652327, '吉木萨尔县', 3, 652300), (652328, '木垒哈萨克自治县', 3, 652300), (652701, '博乐市', 3, 652700), (652722, '精河县', 3, 652700), (652723, '温泉县', 3, 652700), (652801, '库尔勒市', 3, 652800), (652822, '轮台县', 3, 652800), (652823, '尉犁县', 3, 652800), (652824, '若羌县', 3, 652800), (652825, '且末县', 3, 652800), (652826, '焉耆回族自治县', 3, 652800), (652827, '和静县', 3, 652800), (652828, '和硕县', 3, 652800), (652829, '博湖县', 3, 652800), (652901, '阿克苏市', 3, 652900), (652922, '温宿县', 3, 652900), (652923, '库车县', 3, 652900), (652924, '沙雅县', 3, 652900), (652925, '新和县', 3, 652900), (652926, '拜城县', 3, 652900), (652927, '乌什县', 3, 652900), (652928, '阿瓦提县', 3, 652900), (652929, '柯坪县', 3, 652900), (653001, '阿图什市', 3, 653000), (653022, '阿克陶县', 3, 653000), (653023, '阿合奇县', 3, 653000), (653024, '乌恰县', 3, 653000), (653101, '喀什市', 3, 653100), (653121, '疏附县', 3, 653100), (653122, '疏勒县', 3, 653100), (653123, '英吉沙县', 3, 653100), (653124, '泽普县', 3, 653100), (653125, '莎车县', 3, 653100), (653126, '叶城县', 3, 653100), (653127, '麦盖提县', 3, 653100), (653128, '岳普湖县', 3, 653100), (653129, '伽师县', 3, 653100), (653130, '巴楚县', 3, 653100), (653131, '塔什库尔干塔吉克自治县', 3, 653100), (653201, '和田市', 3, 653200), (653221, '和田县', 3, 653200), (653222, '墨玉县', 3, 653200), (653223, '皮山县', 3, 653200), (653224, '洛浦县', 3, 653200), (653225, '策勒县', 3, 653200), (653226, '于田县', 3, 653200), (653227, '民丰县', 3, 653200), (654002, '伊宁市', 3, 654000), (654003, '奎屯市', 3, 654000), (654021, '伊宁县', 3, 654000), (654022, '察布查尔锡伯自治县', 3, 654000), (654023, '霍城县', 3, 654000), (654024, '巩留县', 3, 654000), (654025, '新源县', 3, 654000), (654026, '昭苏县', 3, 654000), (654027, '特克斯县', 3, 654000), (654028, '尼勒克县', 3, 654000), (654201, '塔城市', 3, 654200), (654202, '乌苏市', 3, 654200), (654221, '额敏县', 3, 654200), (654223, '沙湾县', 3, 654200), (654224, '托里县', 3, 654200), (654225, '裕民县', 3, 654200), (654226, '和布克赛尔蒙古自治县', 3, 654200), (654301, '阿勒泰市', 3, 654300), (654321, '布尔津县', 3, 654300), (654322, '富蕴县', 3, 654300), (654323, '福海县', 3, 654300), (654324, '哈巴河县', 3, 654300), (654325, '青河县', 3, 654300), (654326, '吉木乃县', 3, 654300), (659001, '石河子市', 3, 659000), (659002, '阿拉尔市', 3, 659000), (659003, '图木舒克市', 3, 659000), (659004, '五家渠市', 3, 659000), (810001, '香港', 2, 810000), (810002, '中西区', 3, 810001), (810003, '九龙城区', 3, 810001), (810004, '南区', 3, 810001), (810005, '黄大仙区', 3, 810001), (810006, '油尖旺区', 3, 810001), (810007, '葵青区', 3, 810001), (810008, '西贡区', 3, 810001), (810009, '屯门区', 3, 810001), (810010, '荃湾区', 3, 810001), (810011, '东区', 3, 810001), (810012, '观塘区', 3, 810001), (810013, '深水步区', 3, 810001), (810014, '湾仔区', 3, 810001), (810015, '离岛区', 3, 810001), (810016, '北区', 3, 810001), (810017, '沙田区', 3, 810001), (810018, '大埔区', 3, 810001), (810019, '元朗区', 3, 810001), (820001, '澳门', 2, 820000), (820002, '澳门', 3, 820001), (710001, '台北市', 2, 710000), (710002, '台北县', 3, 710001), (710003, '基隆市', 2, 710000), (910005, '中山市', 3, 442000), (710004, '花莲县', 3, 710003), (910006, '东莞市', 3, 441900);
fishling/chatPro
Addons/ChinaCity/install.sql
SQL
apache-2.0
124,481
package com.suscipio_solutions.consecro_mud.Commands; import java.util.Vector; import com.suscipio_solutions.consecro_mud.MOBS.interfaces.MOB; import com.suscipio_solutions.consecro_mud.core.CMParms; @SuppressWarnings("rawtypes") public class NoFollow extends Follow { public NoFollow(){} private final String[] access=I(new String[]{"NOFOLLOW","NOFOL"}); @Override public String[] getAccessWords(){return access;} @Override public boolean execute(MOB mob, Vector commands, int metaFlags) throws java.io.IOException { if((commands.size()>1)&&(commands.elementAt(0) instanceof String)) { if(((String)commands.elementAt(0)).equalsIgnoreCase("UNFOLLOW")) { unfollow(mob,((commands.size()>1)&&(commands.elementAt(1) instanceof String)&&(((String)commands.elementAt(1)).equalsIgnoreCase("QUIETLY")))); return false; } MOB M=mob.fetchFollower(CMParms.combine(commands,1)); if((M==null)&&(mob.location()!=null)) { M=mob.location().fetchInhabitant(CMParms.combine(commands,1)); if(M!=null) mob.tell(L("@x1 is not following you!",M.name(mob))); else mob.tell(L("There is noone here called '@x1' following you!",CMParms.combine(commands,1))); return false; } if((mob.location()!=null)&&(M!=null)&&(M.amFollowing()==mob)) { nofollow(M,true,false); return true; } mob.tell(L("There is noone called '@x1' following you!",CMParms.combine(commands,1))); return false; } if(!mob.isAttribute(MOB.Attrib.NOFOLLOW)) { mob.setAttribute(MOB.Attrib.NOFOLLOW,true); //unfollow(mob,false); mob.tell(L("You are no longer accepting new followers.")); } else { mob.setAttribute(MOB.Attrib.NOFOLLOW,false); mob.tell(L("You are now accepting new followers.")); } return false; } @Override public boolean canBeOrdered(){return true;} }
ConsecroMUD/ConsecroMUD
com/suscipio_solutions/consecro_mud/Commands/NoFollow.java
Java
apache-2.0
1,837
/** Copyright 2008 University of Rochester Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package edu.ur.ir.researcher; import edu.ur.ir.FileSystem; import edu.ur.ir.FileSystemType; import edu.ur.persistent.CommonPersistent; /** * This is a link in the researcher folder. This * creates a link between a link and a researcher * folder * * @author Sharmila Ranganathan * */ public class ResearcherLink extends CommonPersistent implements FileSystem{ /** Eclipse generated id */ private static final long serialVersionUID = 3144484183634385274L; /** Link */ private String url; /** researcher folder the link belongs to. */ private ResearcherFolder parentFolder; /** Researcher the link belongs to */ private Researcher researcher; /** represents the file system type for this researcher link */ private FileSystemType fileSystemType = FileSystemType.RESEARCHER_LINK; /** * Package protected constructor. */ ResearcherLink(){}; /** * Create a researcher link with a null researcher folder. This means this * is a root researcher link. * * @param linkVersion */ ResearcherLink(Researcher researcher, String link) { setResearcher(researcher); setUrl(link); } /** * Create a link between a folder and link. * * @param link - link to create a link with * @param parentFolder - folder the link is in. */ ResearcherLink(Researcher researcher, ResearcherFolder parentFolder, String link) { if(link == null) { throw new IllegalStateException("link cannot be null"); } setResearcher(researcher); setUrl(link); setParentFolder(parentFolder); } /** * Returns the path for this linkVersion. * * The path is the path of the parent folder * * @return */ public String getPath() { String path = null; if(parentFolder == null) { path = PATH_SEPERATOR; } else { path = parentFolder.getFullPath(); } return path; } /** * Overridden to string method. * * @see java.lang.Object#toString() */ public String toString() { StringBuffer sb = new StringBuffer("[ id = "); sb.append(id); sb.append( " path = "); sb.append(getPath()); sb.append( " parent Folder = "); sb.append(parentFolder); sb.append(" name = "); sb.append(name); sb.append(" link = "); sb.append(url); sb.append("]"); return sb.toString(); } /** * Get the full path of this linkVersion. If there is * no parent folder the path is just the name of * the link. * * @return the full path. */ public String getFullPath() { return getPath() + getName(); } /** * Hash code for a researcher link. * * @see java.lang.Object#hashCode() */ public int hashCode() { int value = 0; value += parentFolder == null ? 0 : parentFolder.hashCode(); value += getName() == null ? 0 : getName().hashCode(); value += researcher == null ? 0 : researcher.hashCode(); return value; } /** * Equals method for a researcher link. * * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ResearcherLink)) return false; final ResearcherLink other = (ResearcherLink) o; if( (other.getName() != null && !other.getName().equals(getName())) || (other.getName() == null && getName() != null ) ) return false; if( (other.getResearcher() != null && !other.getResearcher().equals(getResearcher())) || (other.getResearcher() == null && getResearcher() != null ) ) return false; if( (other.getFullPath() != null && !other.getFullPath().equals(getFullPath())) || (other.getFullPath() == null && getFullPath() != null ) ) return false; return true; } /** * Returns the name of the link. * * @see edu.ur.simple.type.NameAware#getName() */ public String getName() { return name; } /** * Returns the description of the link. * * @see edu.ur.simple.type.DescriptionAware#getDescription() */ public String getDescription() { return description; } /* (non-Javadoc) * @see edu.ur.ir.FileSystem#getFileSystemType() */ public FileSystemType getFileSystemType() { return fileSystemType; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public ResearcherFolder getParentFolder() { return parentFolder; } public void setParentFolder(ResearcherFolder parentFolder) { this.parentFolder = parentFolder; } public Researcher getResearcher() { return researcher; } public void setResearcher(Researcher researcher) { this.researcher = researcher; } }
nate-rcl/irplus
ir_core/src/edu/ur/ir/researcher/ResearcherLink.java
Java
apache-2.0
5,358
package org.dbflute.erflute.db.impl.mysql; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import org.dbflute.erflute.editor.model.dbimport.DBObject; import org.dbflute.erflute.editor.model.dbimport.PreImportFromDBManager; public class MySQLPreTableImportManager extends PreImportFromDBManager { @Override protected List<DBObject> importObjects(String[] types, String dbObjectType) throws SQLException { final List<DBObject> list = new ArrayList<>(); ResultSet resultSet = null; if (schemaList.isEmpty()) { schemaList.add(null); } final String catalog = (8 <= metaData.getDriverMajorVersion()) ? dbSetting.getDatabase() : null; for (final String schemaPattern : schemaList) { try { resultSet = metaData.getTables(catalog, schemaPattern, null, types); while (resultSet.next()) { final String schema = resultSet.getString("TABLE_SCHEM"); final String name = resultSet.getString("TABLE_NAME"); if (DBObject.TYPE_TABLE.equals(dbObjectType)) { try { getAutoIncrementColumnName(con, schema, name); } catch (final SQLException e) { e.printStackTrace(); // テーブル情報が取得できない場合(他のユーザの所有物などの場合)、 // このテーブルは使用しない。 continue; } } final DBObject dbObject = new DBObject(schema, name, dbObjectType); list.add(dbObject); } } finally { if (resultSet != null) { resultSet.close(); resultSet = null; } } } return list; } }
dbflute-session/erflute
src/org/dbflute/erflute/db/impl/mysql/MySQLPreTableImportManager.java
Java
apache-2.0
2,037
// THIS FILE WAS AUTO-GENERATED BY ADKGEN -- DO NOT MODIFY! // // Copyright (c)1998-2011 Pearson Education, Inc. or its affiliate(s). // All rights reserved. // using System; using System.Text; using System.Security.Permissions; using System.Runtime.Serialization; using OpenADK.Library; using OpenADK.Library.Global; using OpenADK.Library.au.Common; namespace OpenADK.Library.au.School{ /// <summary>A MediumOfInstruction</summary> /// <remarks> /// /// <para>Author: Generated by adkgen</para> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> [Serializable] public class MediumOfInstruction : SifKeyedElement { /// <summary> /// Creates an instance of a MediumOfInstruction /// </summary> public MediumOfInstruction() : base ( SchoolDTD.MEDIUMOFINSTRUCTION ){} /// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="code">A Code</param> /// public MediumOfInstruction( AUCodeSetsMediumOfInstructionType code ) : base( SchoolDTD.MEDIUMOFINSTRUCTION ) { this.SetCode( code ); } /// <summary> /// Constructor used by the .Net Serialization formatter /// </summary> [SecurityPermission( SecurityAction.Demand, SerializationFormatter=true )] protected MediumOfInstruction( SerializationInfo info, StreamingContext context ) : base( info, context ) {} /// <summary> /// Gets the metadata fields that make up the key of this object /// </summary> /// <value> /// an array of metadata fields that make up the object's key /// </value> public override IElementDef[] KeyFields { get { return new IElementDef[] { SchoolDTD.MEDIUMOFINSTRUCTION_CODE }; } } /// <summary> /// Gets or sets the value of the <c>&lt;Code&gt;</c> element. /// </summary> /// <value> The <c>Code</c> element of this object.</value> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public string Code { get { return GetFieldValue( SchoolDTD.MEDIUMOFINSTRUCTION_CODE ); } set { SetField( SchoolDTD.MEDIUMOFINSTRUCTION_CODE, value ); } } /// <summary> /// Sets the value of the <c>&lt;Code&gt;</c> element. /// </summary> /// <param name="val">A AUCodeSetsMediumOfInstructionType object</param> /// <remarks> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public void SetCode( AUCodeSetsMediumOfInstructionType val ) { SetField( SchoolDTD.MEDIUMOFINSTRUCTION_CODE, val ); } /// <summary> /// Gets or sets the value of the <c>&lt;OtherCodeList&gt;</c> element. /// </summary> /// <value> An OtherCodeList </value> /// <remarks> /// <para>To remove the <c>OtherCodeList</c>, set <c>OtherCodeList</c> to <c>null</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.6</para> /// </remarks> public OtherCodeList OtherCodeList { get { return (OtherCodeList)GetChild( SchoolDTD.MEDIUMOFINSTRUCTION_OTHERCODELIST); } set { RemoveChild( SchoolDTD.MEDIUMOFINSTRUCTION_OTHERCODELIST); if( value != null) { AddChild( SchoolDTD.MEDIUMOFINSTRUCTION_OTHERCODELIST, value ); } } } }}
open-adk/OpenADK-csharp
src/au/sdo/School/MediumOfInstruction.cs
C#
apache-2.0
3,104
* * * license: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations ## under the License. # Configuración de Android El archivo `config.xml` controla la configuración básica de una app que se aplican a través de cada aplicación y una instancia de CordovaWebView. Esta sección detalla las preferencias que se aplican sólo a estructuras Android. Consulte [el archivo config.xml][1] para obtener información sobre las opciones de configuración global. [1]: config_ref_index.md.html#The%20config.xml%20File * `KeepRunning` (por defecto valor booleano, `true`): determina si la aplicación queda funcionando en segundo plano, incluso después de un `pause` de evento se desencadena. Si se establece como `false` no mata la aplicación después de un `pause` evento, sino simplemente detiene ejecución de código en la vista Web cordova mientras la aplicación está en el fondo. <preference name="KeepRunning" value="false"/> * `LoadUrlTimeoutValue`(número en milisegundos, por defecto `20000` , 20 segundos): cuando se carga una página, la cantidad de tiempo de espera antes de tirar un error de tiempo de espera. Este ejemplo especifica 10 segundos en lugar de 20: <preference name="LoadUrlTimeoutValue" value="10000"/> * `SplashScreen`(string, el valor predeterminado de `splash` ): el nombre del archivo sin su extensión en el `res/drawable` Directorio. Varios activos deben compartir este nombre común en diferentes subdirectorios. <preference name="SplashScreen" value="mySplash"/> * `SplashScreenDelay`(número en milisegundos, por defecto `3000` ): la cantidad de tiempo que muestra la imagen en pantalla splash. <preference name="SplashScreenDelay" value="10000"/> * `InAppBrowserStorageEnabled`(por defecto es booleano, `true` ): controles si abrieron páginas dentro de un InAppBrowser pueden acceder el mismo localStorage y WebSQL almacenamiento de información como páginas abrió con el navegador por defecto. <preference name="InAppBrowserStorageEnabled" value="true"/> * `LoadingDialog`(string, el valor predeterminado de `null` ): Si conjunto, muestra un diálogo con el mensaje y título especificado y un hilandero, cuando cargue la primera página de una aplicación. El título y el mensaje están separados por una coma en esta cadena de valor, y eso coma se retira antes de que se muestre el cuadro de diálogo. <preference name="LoadingDialog" value="My Title,My Message"/> * `LoadingPageDialog`(string, el valor predeterminado de `null` ): lo mismo que `LoadingDialog` , pero para cargar cada página después de la primera página de la aplicación. <preference name="LoadingPageDialog" value="My Title,My Message"/> * `ErrorUrl`(URL, por defecto `null` ): Si establece, se visualizará la página que se hace referencia a un error en la aplicación en lugar de un diálogo con el título "Error de aplicación". <preference name="ErrorUrl" value="myErrorPage.html"/> * `ShowTitle`(por defecto es booleano, `false` ): Mostrar el título en la parte superior de la pantalla. <preference name="ShowTitle" value="true"/> * `LogLevel`(string, el valor predeterminado de `ERROR` ): establece el nivel de registro mínimo a través de registro que se filtrarán los mensajes de la aplicación. Los valores válidos son `ERROR` , `WARN` , `INFO` , `DEBUG` , y`VERBOSE`. <preference name="LogLevel" value="VERBOSE"/> * `SetFullscreen`(por defecto es booleano, `false` ): igual que el `Fullscreen` parámetro en la configuración global de este archivo xml. Este elemento específico de Android está obsoleta a favor de la global `Fullscreen` elemento y se quitará en una versión futura. * `AndroidLaunchMode`(string, el valor predeterminado de `singleTop` ): establece la actividad `android:launchMode` atributo. Esto cambia lo que pasa cuando la aplicación se inicia desde el icono de la aplicación o intención y está ya en ejecución. Los valores válidos son `standard` , `singleTop` , `singleTask` ,`singleInstance`. <preference name="AndroidLaunchMode" value="singleTop"/> * `DefaultVolumeStream`(string, el valor predeterminado de `default` , agregado en Córdoba-android 3.7.0): establece que volumen el volumen de hardware vinculan los botones. Por defecto es "llamar" por "medios" para tablets y teléfonos. Ajuste este parámetro a "medios" para los botones de volumen de su aplicación siempre cambiar el volumen de los medios de comunicación. Tenga en cuenta que al usar el plugin de los medios de comunicación de Cordova, los botones de volumen cambiará dinámicamente para controlar el volumen de los medios de comunicación cuando los objetos a los medios de comunicación están activos.
omefire/cordova-docs
docs/es/edge/guide/platforms/android/config.md
Markdown
apache-2.0
5,670
package org.gradle.test.performance.mediummonolithicjavaproject.p36; import org.junit.Test; import static org.junit.Assert.*; public class Test730 { Production730 objectUnderTest = new Production730(); @Test public void testProperty0() { String value = "value"; objectUnderTest.setProperty0(value); assertEquals(value, objectUnderTest.getProperty0()); } @Test public void testProperty1() { String value = "value"; objectUnderTest.setProperty1(value); assertEquals(value, objectUnderTest.getProperty1()); } @Test public void testProperty2() { String value = "value"; objectUnderTest.setProperty2(value); assertEquals(value, objectUnderTest.getProperty2()); } @Test public void testProperty3() { String value = "value"; objectUnderTest.setProperty3(value); assertEquals(value, objectUnderTest.getProperty3()); } @Test public void testProperty4() { String value = "value"; objectUnderTest.setProperty4(value); assertEquals(value, objectUnderTest.getProperty4()); } @Test public void testProperty5() { String value = "value"; objectUnderTest.setProperty5(value); assertEquals(value, objectUnderTest.getProperty5()); } @Test public void testProperty6() { String value = "value"; objectUnderTest.setProperty6(value); assertEquals(value, objectUnderTest.getProperty6()); } @Test public void testProperty7() { String value = "value"; objectUnderTest.setProperty7(value); assertEquals(value, objectUnderTest.getProperty7()); } @Test public void testProperty8() { String value = "value"; objectUnderTest.setProperty8(value); assertEquals(value, objectUnderTest.getProperty8()); } @Test public void testProperty9() { String value = "value"; objectUnderTest.setProperty9(value); assertEquals(value, objectUnderTest.getProperty9()); } }
oehme/analysing-gradle-performance
my-lib/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p36/Test730.java
Java
apache-2.0
2,107
/** * Copyright 2016 Yahoo Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.yahoo.athenz.common.metrics.impl; import com.yahoo.athenz.common.metrics.Metric; public class NoOpMetric implements Metric { /** * Constructs a new NoOpMetric object in which all methods are stubs. * No metrics are recorded with this implementation. */ public NoOpMetric() { } @Override public void increment(String metric) { } @Override public void increment(String metric, String domainName) { } @Override public void increment(String metric, String domainName, int count) { } @Override public Object startTiming(String metric, String domainName) { return null; } @Override public void stopTiming(Object timerMetric) { } @Override public void flush() { } @Override public void quit() { } }
tatyano/athenz
libs/java/server_common/src/main/java/com/yahoo/athenz/common/metrics/impl/NoOpMetric.java
Java
apache-2.0
1,436
app.service('UserService', ['$http', function($http) { return { getLogged: function(successCallback) { $http.get('/api/user/logged').then(successCallback); }, putPin: function(user, successCallback) { $http.post('/api/user/pin/', user).then(successCallback); } }; }]);
jeffersonvenancio/BarzingaNow
python/web/app/services/user.js
JavaScript
apache-2.0
333
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.spark.sql.catalyst import org.apache.spark.SparkFunSuite import org.apache.spark.sql.Row import org.apache.spark.sql.catalyst.expressions.UnsafeArrayData import org.apache.spark.sql.catalyst.util.GenericArrayData import org.apache.spark.sql.types._ class CatalystTypeConvertersSuite extends SparkFunSuite { private val simpleTypes: Seq[DataType] = Seq( StringType, DateType, BooleanType, ByteType, ShortType, IntegerType, LongType, FloatType, DoubleType, DecimalType.SYSTEM_DEFAULT, DecimalType.USER_DEFAULT) test("null handling in rows") { val schema = StructType(simpleTypes.map(t => StructField(t.getClass.getName, t))) val convertToCatalyst = CatalystTypeConverters.createToCatalystConverter(schema) val convertToScala = CatalystTypeConverters.createToScalaConverter(schema) val scalaRow = Row.fromSeq(Seq.fill(simpleTypes.length)(null)) assert(convertToScala(convertToCatalyst(scalaRow)) === scalaRow) } test("null handling for individual values") { for (dataType <- simpleTypes) { assert(CatalystTypeConverters.createToScalaConverter(dataType)(null) === null) } } test("option handling in convertToCatalyst") { // convertToCatalyst doesn't handle unboxing from Options. This is inconsistent with // createToCatalystConverter but it may not actually matter as this is only called internally // in a handful of places where we don't expect to receive Options. assert(CatalystTypeConverters.convertToCatalyst(Some(123)) === Some(123)) } test("option handling in createToCatalystConverter") { assert(CatalystTypeConverters.createToCatalystConverter(IntegerType)(Some(123)) === 123) } test("primitive array handling") { val intArray = Array(1, 100, 10000) val intUnsafeArray = UnsafeArrayData.fromPrimitiveArray(intArray) val intArrayType = ArrayType(IntegerType, false) assert(CatalystTypeConverters.createToScalaConverter(intArrayType)(intUnsafeArray) === intArray) val doubleArray = Array(1.1, 111.1, 11111.1) val doubleUnsafeArray = UnsafeArrayData.fromPrimitiveArray(doubleArray) val doubleArrayType = ArrayType(DoubleType, false) assert(CatalystTypeConverters.createToScalaConverter(doubleArrayType)(doubleUnsafeArray) === doubleArray) } test("An array with null handling") { val intArray = Array(1, null, 100, null, 10000) val intGenericArray = new GenericArrayData(intArray) val intArrayType = ArrayType(IntegerType, true) assert(CatalystTypeConverters.createToScalaConverter(intArrayType)(intGenericArray) === intArray) assert(CatalystTypeConverters.createToCatalystConverter(intArrayType)(intArray) == intGenericArray) val doubleArray = Array(1.1, null, 111.1, null, 11111.1) val doubleGenericArray = new GenericArrayData(doubleArray) val doubleArrayType = ArrayType(DoubleType, true) assert(CatalystTypeConverters.createToScalaConverter(doubleArrayType)(doubleGenericArray) === doubleArray) assert(CatalystTypeConverters.createToCatalystConverter(doubleArrayType)(doubleArray) == doubleGenericArray) } }
wangyixiaohuihui/spark2-annotation
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/CatalystTypeConvertersSuite.scala
Scala
apache-2.0
4,072
UPDATE mod_open_tickets_form_value SET `value` = replace(`value`, '&gt;', '>'); UPDATE mod_open_tickets_form_value SET `value` = replace(`value`, '&lt;', '<');
centreon/centreon-open-tickets
www/modules/centreon-open-tickets/upgrade/19.04.0/sql/upgrade.sql
SQL
apache-2.0
161
// Code generated by protoc-gen-gogo. // source: combos/unsafemarshaler/casttype.proto // DO NOT EDIT! /* Package casttype is a generated protocol buffer package. It is generated from these files: combos/unsafemarshaler/casttype.proto It has these top-level messages: Castaway Wilson */ package casttype import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" import _ "github.com/gogo/protobuf/gogoproto" import github_com_gogo_protobuf_test_casttype "github.com/gogo/protobuf/test/casttype" import github_com_gogo_protobuf_protoc_gen_gogo_descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto" import compress_gzip "compress/gzip" import bytes "bytes" import io_ioutil "io/ioutil" import strings "strings" import reflect "reflect" import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package type Castaway struct { Int32Ptr *int32 `protobuf:"varint,1,opt,name=Int32Ptr,casttype=int32" json:"Int32Ptr,omitempty"` Int32 int32 `protobuf:"varint,2,opt,name=Int32,casttype=int32" json:"Int32"` MyUint64Ptr *github_com_gogo_protobuf_test_casttype.MyUint64Type `protobuf:"varint,3,opt,name=MyUint64Ptr,casttype=github.com/gogo/protobuf/test/casttype.MyUint64Type" json:"MyUint64Ptr,omitempty"` MyUint64 github_com_gogo_protobuf_test_casttype.MyUint64Type `protobuf:"varint,4,opt,name=MyUint64,casttype=github.com/gogo/protobuf/test/casttype.MyUint64Type" json:"MyUint64"` MyFloat32Ptr *github_com_gogo_protobuf_test_casttype.MyFloat32Type `protobuf:"fixed32,5,opt,name=MyFloat32Ptr,casttype=github.com/gogo/protobuf/test/casttype.MyFloat32Type" json:"MyFloat32Ptr,omitempty"` MyFloat32 github_com_gogo_protobuf_test_casttype.MyFloat32Type `protobuf:"fixed32,6,opt,name=MyFloat32,casttype=github.com/gogo/protobuf/test/casttype.MyFloat32Type" json:"MyFloat32"` MyFloat64Ptr *github_com_gogo_protobuf_test_casttype.MyFloat64Type `protobuf:"fixed64,7,opt,name=MyFloat64Ptr,casttype=github.com/gogo/protobuf/test/casttype.MyFloat64Type" json:"MyFloat64Ptr,omitempty"` MyFloat64 github_com_gogo_protobuf_test_casttype.MyFloat64Type `protobuf:"fixed64,8,opt,name=MyFloat64,casttype=github.com/gogo/protobuf/test/casttype.MyFloat64Type" json:"MyFloat64"` MyBytes github_com_gogo_protobuf_test_casttype.Bytes `protobuf:"bytes,9,opt,name=MyBytes,casttype=github.com/gogo/protobuf/test/casttype.Bytes" json:"MyBytes,omitempty"` NormalBytes []byte `protobuf:"bytes,10,opt,name=NormalBytes" json:"NormalBytes,omitempty"` MyUint64S []github_com_gogo_protobuf_test_casttype.MyUint64Type `protobuf:"varint,11,rep,name=MyUint64s,casttype=github.com/gogo/protobuf/test/casttype.MyUint64Type" json:"MyUint64s,omitempty"` MyMap github_com_gogo_protobuf_test_casttype.MyMapType `protobuf:"bytes,12,rep,name=MyMap,casttype=github.com/gogo/protobuf/test/casttype.MyMapType" json:"MyMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MyCustomMap map[github_com_gogo_protobuf_test_casttype.MyStringType]github_com_gogo_protobuf_test_casttype.MyUint64Type `protobuf:"bytes,13,rep,name=MyCustomMap,castkey=github.com/gogo/protobuf/test/casttype.MyStringType,castvalue=github.com/gogo/protobuf/test/casttype.MyUint64Type" json:"MyCustomMap,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MyNullableMap map[github_com_gogo_protobuf_test_casttype.MyInt32Type]*Wilson `protobuf:"bytes,14,rep,name=MyNullableMap,castkey=github.com/gogo/protobuf/test/casttype.MyInt32Type" json:"MyNullableMap,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` MyEmbeddedMap map[github_com_gogo_protobuf_test_casttype.MyInt32Type]Wilson `protobuf:"bytes,15,rep,name=MyEmbeddedMap,castkey=github.com/gogo/protobuf/test/casttype.MyInt32Type" json:"MyEmbeddedMap" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` String_ *github_com_gogo_protobuf_test_casttype.MyStringType `protobuf:"bytes,16,opt,name=String,casttype=github.com/gogo/protobuf/test/casttype.MyStringType" json:"String,omitempty"` XXX_unrecognized []byte `json:"-"` } func (m *Castaway) Reset() { *m = Castaway{} } func (*Castaway) ProtoMessage() {} func (*Castaway) Descriptor() ([]byte, []int) { return fileDescriptorCasttype, []int{0} } type Wilson struct { Int64 *int64 `protobuf:"varint,1,opt,name=Int64" json:"Int64,omitempty"` XXX_unrecognized []byte `json:"-"` } func (m *Wilson) Reset() { *m = Wilson{} } func (*Wilson) ProtoMessage() {} func (*Wilson) Descriptor() ([]byte, []int) { return fileDescriptorCasttype, []int{1} } func init() { proto.RegisterType((*Castaway)(nil), "casttype.Castaway") proto.RegisterType((*Wilson)(nil), "casttype.Wilson") } func (this *Castaway) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { return CasttypeDescription() } func (this *Wilson) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { return CasttypeDescription() } func CasttypeDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) { d := &github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet{} var gzipped = []byte{ // 3994 bytes of a gzipped FileDescriptorSet 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xcc, 0x7a, 0x5d, 0x70, 0x1b, 0xd7, 0x75, 0x3f, 0x17, 0x1f, 0x24, 0x70, 0x00, 0x82, 0xcb, 0x4b, 0x5a, 0x86, 0xe8, 0x18, 0xa4, 0x68, 0xcb, 0xa6, 0xed, 0x84, 0xf2, 0x48, 0x94, 0x2c, 0x43, 0x89, 0x3d, 0x00, 0x09, 0x31, 0xd4, 0x10, 0x24, 0xff, 0x4b, 0x32, 0xfe, 0xc8, 0x7f, 0x66, 0xe7, 0x72, 0x71, 0x09, 0xae, 0xb4, 0xd8, 0x45, 0x77, 0x17, 0x92, 0xe1, 0x27, 0x25, 0x6e, 0x9b, 0x49, 0x33, 0xfd, 0xee, 0x4c, 0x13, 0xc7, 0x71, 0xdd, 0xcc, 0xb4, 0x4e, 0xd3, 0xaf, 0xa4, 0x6d, 0xd2, 0x4e, 0x9e, 0xf2, 0x92, 0xd6, 0x4f, 0x9d, 0xe4, 0xad, 0x0f, 0x1d, 0x39, 0x62, 0x3d, 0x53, 0xa7, 0x75, 0x5b, 0xb7, 0xf5, 0x4c, 0x33, 0xf2, 0x4b, 0xe7, 0x7e, 0x2d, 0x16, 0x1f, 0xd4, 0x82, 0xca, 0x24, 0xe9, 0x13, 0x79, 0xcf, 0x3d, 0xbf, 0xdf, 0x9e, 0x7b, 0xee, 0xb9, 0xe7, 0x9c, 0xbd, 0x0b, 0xf8, 0xcc, 0x12, 0xcc, 0xd5, 0x1d, 0xa7, 0x6e, 0x91, 0x33, 0x4d, 0xd7, 0xf1, 0x9d, 0xbd, 0xd6, 0xfe, 0x99, 0x1a, 0xf1, 0x0c, 0xd7, 0x6c, 0xfa, 0x8e, 0xbb, 0xc8, 0x64, 0x68, 0x82, 0x6b, 0x2c, 0x4a, 0x8d, 0xf9, 0x2a, 0x4c, 0x5e, 0x36, 0x2d, 0xb2, 0x12, 0x28, 0x6e, 0x13, 0x1f, 0x5d, 0x84, 0xc4, 0xbe, 0x69, 0x91, 0xbc, 0x32, 0x17, 0x5f, 0xc8, 0x9c, 0x7d, 0x78, 0xb1, 0x07, 0xb4, 0xd8, 0x8d, 0xd8, 0xa2, 0x62, 0x8d, 0x21, 0xe6, 0xdf, 0x49, 0xc0, 0xd4, 0x80, 0x59, 0x84, 0x20, 0x61, 0xe3, 0x06, 0x65, 0x54, 0x16, 0xd2, 0x1a, 0xfb, 0x1f, 0xe5, 0x61, 0xac, 0x89, 0x8d, 0x6b, 0xb8, 0x4e, 0xf2, 0x31, 0x26, 0x96, 0x43, 0x54, 0x00, 0xa8, 0x91, 0x26, 0xb1, 0x6b, 0xc4, 0x36, 0xda, 0xf9, 0xf8, 0x5c, 0x7c, 0x21, 0xad, 0x85, 0x24, 0xe8, 0x09, 0x98, 0x6c, 0xb6, 0xf6, 0x2c, 0xd3, 0xd0, 0x43, 0x6a, 0x30, 0x17, 0x5f, 0x48, 0x6a, 0x2a, 0x9f, 0x58, 0xe9, 0x28, 0x3f, 0x0a, 0x13, 0x37, 0x08, 0xbe, 0x16, 0x56, 0xcd, 0x30, 0xd5, 0x1c, 0x15, 0x87, 0x14, 0x97, 0x21, 0xdb, 0x20, 0x9e, 0x87, 0xeb, 0x44, 0xf7, 0xdb, 0x4d, 0x92, 0x4f, 0xb0, 0xd5, 0xcf, 0xf5, 0xad, 0xbe, 0x77, 0xe5, 0x19, 0x81, 0xda, 0x69, 0x37, 0x09, 0x2a, 0x41, 0x9a, 0xd8, 0xad, 0x06, 0x67, 0x48, 0x1e, 0xe1, 0xbf, 0x8a, 0xdd, 0x6a, 0xf4, 0xb2, 0xa4, 0x28, 0x4c, 0x50, 0x8c, 0x79, 0xc4, 0xbd, 0x6e, 0x1a, 0x24, 0x3f, 0xca, 0x08, 0x1e, 0xed, 0x23, 0xd8, 0xe6, 0xf3, 0xbd, 0x1c, 0x12, 0x87, 0x96, 0x21, 0x4d, 0x5e, 0xf2, 0x89, 0xed, 0x99, 0x8e, 0x9d, 0x1f, 0x63, 0x24, 0xa7, 0x07, 0xec, 0x22, 0xb1, 0x6a, 0xbd, 0x14, 0x1d, 0x1c, 0xba, 0x00, 0x63, 0x4e, 0xd3, 0x37, 0x1d, 0xdb, 0xcb, 0xa7, 0xe6, 0x94, 0x85, 0xcc, 0xd9, 0x8f, 0x0c, 0x0c, 0x84, 0x4d, 0xae, 0xa3, 0x49, 0x65, 0xb4, 0x06, 0xaa, 0xe7, 0xb4, 0x5c, 0x83, 0xe8, 0x86, 0x53, 0x23, 0xba, 0x69, 0xef, 0x3b, 0xf9, 0x34, 0x23, 0x98, 0xed, 0x5f, 0x08, 0x53, 0x5c, 0x76, 0x6a, 0x64, 0xcd, 0xde, 0x77, 0xb4, 0x9c, 0xd7, 0x35, 0x46, 0x27, 0x60, 0xd4, 0x6b, 0xdb, 0x3e, 0x7e, 0x29, 0x9f, 0x65, 0x11, 0x22, 0x46, 0xf3, 0xff, 0x93, 0x84, 0x89, 0x61, 0x42, 0xec, 0x12, 0x24, 0xf7, 0xe9, 0x2a, 0xf3, 0xb1, 0xe3, 0xf8, 0x80, 0x63, 0xba, 0x9d, 0x38, 0x7a, 0x8f, 0x4e, 0x2c, 0x41, 0xc6, 0x26, 0x9e, 0x4f, 0x6a, 0x3c, 0x22, 0xe2, 0x43, 0xc6, 0x14, 0x70, 0x50, 0x7f, 0x48, 0x25, 0xee, 0x29, 0xa4, 0x9e, 0x87, 0x89, 0xc0, 0x24, 0xdd, 0xc5, 0x76, 0x5d, 0xc6, 0xe6, 0x99, 0x28, 0x4b, 0x16, 0x2b, 0x12, 0xa7, 0x51, 0x98, 0x96, 0x23, 0x5d, 0x63, 0xb4, 0x02, 0xe0, 0xd8, 0xc4, 0xd9, 0xd7, 0x6b, 0xc4, 0xb0, 0xf2, 0xa9, 0x23, 0xbc, 0xb4, 0x49, 0x55, 0xfa, 0xbc, 0xe4, 0x70, 0xa9, 0x61, 0xa1, 0xa7, 0x3b, 0xa1, 0x36, 0x76, 0x44, 0xa4, 0x54, 0xf9, 0x21, 0xeb, 0x8b, 0xb6, 0x5d, 0xc8, 0xb9, 0x84, 0xc6, 0x3d, 0xa9, 0x89, 0x95, 0xa5, 0x99, 0x11, 0x8b, 0x91, 0x2b, 0xd3, 0x04, 0x8c, 0x2f, 0x6c, 0xdc, 0x0d, 0x0f, 0xd1, 0x43, 0x10, 0x08, 0x74, 0x16, 0x56, 0xc0, 0xb2, 0x50, 0x56, 0x0a, 0x37, 0x70, 0x83, 0xcc, 0x5c, 0x84, 0x5c, 0xb7, 0x7b, 0xd0, 0x34, 0x24, 0x3d, 0x1f, 0xbb, 0x3e, 0x8b, 0xc2, 0xa4, 0xc6, 0x07, 0x48, 0x85, 0x38, 0xb1, 0x6b, 0x2c, 0xcb, 0x25, 0x35, 0xfa, 0xef, 0xcc, 0x53, 0x30, 0xde, 0xf5, 0xf8, 0x61, 0x81, 0xf3, 0x5f, 0x1c, 0x85, 0xe9, 0x41, 0x31, 0x37, 0x30, 0xfc, 0x4f, 0xc0, 0xa8, 0xdd, 0x6a, 0xec, 0x11, 0x37, 0x1f, 0x67, 0x0c, 0x62, 0x84, 0x4a, 0x90, 0xb4, 0xf0, 0x1e, 0xb1, 0xf2, 0x89, 0x39, 0x65, 0x21, 0x77, 0xf6, 0x89, 0xa1, 0xa2, 0x7a, 0x71, 0x9d, 0x42, 0x34, 0x8e, 0x44, 0xcf, 0x40, 0x42, 0xa4, 0x38, 0xca, 0xf0, 0xf8, 0x70, 0x0c, 0x34, 0x16, 0x35, 0x86, 0x43, 0x0f, 0x40, 0x9a, 0xfe, 0xe5, 0xbe, 0x1d, 0x65, 0x36, 0xa7, 0xa8, 0x80, 0xfa, 0x15, 0xcd, 0x40, 0x8a, 0x85, 0x59, 0x8d, 0xc8, 0xd2, 0x10, 0x8c, 0xe9, 0xc6, 0xd4, 0xc8, 0x3e, 0x6e, 0x59, 0xbe, 0x7e, 0x1d, 0x5b, 0x2d, 0xc2, 0x02, 0x26, 0xad, 0x65, 0x85, 0xf0, 0x53, 0x54, 0x86, 0x66, 0x21, 0xc3, 0xa3, 0xd2, 0xb4, 0x6b, 0xe4, 0x25, 0x96, 0x7d, 0x92, 0x1a, 0x0f, 0xd4, 0x35, 0x2a, 0xa1, 0x8f, 0xbf, 0xea, 0x39, 0xb6, 0xdc, 0x5a, 0xf6, 0x08, 0x2a, 0x60, 0x8f, 0x7f, 0xaa, 0x37, 0xf1, 0x3d, 0x38, 0x78, 0x79, 0xbd, 0xb1, 0x38, 0xff, 0xed, 0x18, 0x24, 0xd8, 0x79, 0x9b, 0x80, 0xcc, 0xce, 0x0b, 0x5b, 0x15, 0x7d, 0x65, 0x73, 0xb7, 0xbc, 0x5e, 0x51, 0x15, 0x94, 0x03, 0x60, 0x82, 0xcb, 0xeb, 0x9b, 0xa5, 0x1d, 0x35, 0x16, 0x8c, 0xd7, 0x36, 0x76, 0x2e, 0x2c, 0xa9, 0xf1, 0x00, 0xb0, 0xcb, 0x05, 0x89, 0xb0, 0xc2, 0xb9, 0xb3, 0x6a, 0x12, 0xa9, 0x90, 0xe5, 0x04, 0x6b, 0xcf, 0x57, 0x56, 0x2e, 0x2c, 0xa9, 0xa3, 0xdd, 0x92, 0x73, 0x67, 0xd5, 0x31, 0x34, 0x0e, 0x69, 0x26, 0x29, 0x6f, 0x6e, 0xae, 0xab, 0xa9, 0x80, 0x73, 0x7b, 0x47, 0x5b, 0xdb, 0x58, 0x55, 0xd3, 0x01, 0xe7, 0xaa, 0xb6, 0xb9, 0xbb, 0xa5, 0x42, 0xc0, 0x50, 0xad, 0x6c, 0x6f, 0x97, 0x56, 0x2b, 0x6a, 0x26, 0xd0, 0x28, 0xbf, 0xb0, 0x53, 0xd9, 0x56, 0xb3, 0x5d, 0x66, 0x9d, 0x3b, 0xab, 0x8e, 0x07, 0x8f, 0xa8, 0x6c, 0xec, 0x56, 0xd5, 0x1c, 0x9a, 0x84, 0x71, 0xfe, 0x08, 0x69, 0xc4, 0x44, 0x8f, 0xe8, 0xc2, 0x92, 0xaa, 0x76, 0x0c, 0xe1, 0x2c, 0x93, 0x5d, 0x82, 0x0b, 0x4b, 0x2a, 0x9a, 0x5f, 0x86, 0x24, 0x8b, 0x2e, 0x84, 0x20, 0xb7, 0x5e, 0x2a, 0x57, 0xd6, 0xf5, 0xcd, 0xad, 0x9d, 0xb5, 0xcd, 0x8d, 0xd2, 0xba, 0xaa, 0x74, 0x64, 0x5a, 0xe5, 0xff, 0xed, 0xae, 0x69, 0x95, 0x15, 0x35, 0x16, 0x96, 0x6d, 0x55, 0x4a, 0x3b, 0x95, 0x15, 0x35, 0x3e, 0x6f, 0xc0, 0xf4, 0xa0, 0x3c, 0x33, 0xf0, 0x64, 0x84, 0xb6, 0x38, 0x76, 0xc4, 0x16, 0x33, 0xae, 0xbe, 0x2d, 0xfe, 0xaa, 0x02, 0x53, 0x03, 0x72, 0xed, 0xc0, 0x87, 0x3c, 0x0b, 0x49, 0x1e, 0xa2, 0xbc, 0xfa, 0x3c, 0x36, 0x30, 0x69, 0xb3, 0x80, 0xed, 0xab, 0x40, 0x0c, 0x17, 0xae, 0xc0, 0xf1, 0x23, 0x2a, 0x30, 0xa5, 0xe8, 0x33, 0xf2, 0x15, 0x05, 0xf2, 0x47, 0x71, 0x47, 0x24, 0x8a, 0x58, 0x57, 0xa2, 0xb8, 0xd4, 0x6b, 0xc0, 0xa9, 0xa3, 0xd7, 0xd0, 0x67, 0xc5, 0x9b, 0x0a, 0x9c, 0x18, 0xdc, 0xa8, 0x0c, 0xb4, 0xe1, 0x19, 0x18, 0x6d, 0x10, 0xff, 0xc0, 0x91, 0xc5, 0xfa, 0x91, 0x01, 0x25, 0x80, 0x4e, 0xf7, 0xfa, 0x4a, 0xa0, 0xc2, 0x35, 0x24, 0x7e, 0x54, 0xb7, 0xc1, 0xad, 0xe9, 0xb3, 0xf4, 0xf3, 0x31, 0xb8, 0x6f, 0x20, 0xf9, 0x40, 0x43, 0x1f, 0x04, 0x30, 0xed, 0x66, 0xcb, 0xe7, 0x05, 0x99, 0xe7, 0xa7, 0x34, 0x93, 0xb0, 0xb3, 0x4f, 0x73, 0x4f, 0xcb, 0x0f, 0xe6, 0xe3, 0x6c, 0x1e, 0xb8, 0x88, 0x29, 0x5c, 0xec, 0x18, 0x9a, 0x60, 0x86, 0x16, 0x8e, 0x58, 0x69, 0x5f, 0xad, 0x7b, 0x12, 0x54, 0xc3, 0x32, 0x89, 0xed, 0xeb, 0x9e, 0xef, 0x12, 0xdc, 0x30, 0xed, 0x3a, 0x4b, 0xc0, 0xa9, 0x62, 0x72, 0x1f, 0x5b, 0x1e, 0xd1, 0x26, 0xf8, 0xf4, 0xb6, 0x9c, 0xa5, 0x08, 0x56, 0x65, 0xdc, 0x10, 0x62, 0xb4, 0x0b, 0xc1, 0xa7, 0x03, 0xc4, 0xfc, 0x17, 0xc6, 0x20, 0x13, 0x6a, 0xeb, 0xd0, 0x29, 0xc8, 0x5e, 0xc5, 0xd7, 0xb1, 0x2e, 0x5b, 0x75, 0xee, 0x89, 0x0c, 0x95, 0x6d, 0x89, 0x76, 0xfd, 0x49, 0x98, 0x66, 0x2a, 0x4e, 0xcb, 0x27, 0xae, 0x6e, 0x58, 0xd8, 0xf3, 0x98, 0xd3, 0x52, 0x4c, 0x15, 0xd1, 0xb9, 0x4d, 0x3a, 0xb5, 0x2c, 0x67, 0xd0, 0x79, 0x98, 0x62, 0x88, 0x46, 0xcb, 0xf2, 0xcd, 0xa6, 0x45, 0x74, 0xfa, 0xf2, 0xe0, 0xb1, 0x44, 0x1c, 0x58, 0x36, 0x49, 0x35, 0xaa, 0x42, 0x81, 0x5a, 0xe4, 0xa1, 0x55, 0x78, 0x90, 0xc1, 0xea, 0xc4, 0x26, 0x2e, 0xf6, 0x89, 0x4e, 0x7e, 0xa1, 0x85, 0x2d, 0x4f, 0xc7, 0x76, 0x4d, 0x3f, 0xc0, 0xde, 0x41, 0x7e, 0x3a, 0x4c, 0x70, 0x92, 0xea, 0xae, 0x0a, 0xd5, 0x0a, 0xd3, 0x2c, 0xd9, 0xb5, 0x4f, 0x62, 0xef, 0x00, 0x15, 0xe1, 0x04, 0x23, 0xf2, 0x7c, 0xd7, 0xb4, 0xeb, 0xba, 0x71, 0x40, 0x8c, 0x6b, 0x7a, 0xcb, 0xdf, 0xbf, 0x98, 0x7f, 0x20, 0xcc, 0xc0, 0x8c, 0xdc, 0x66, 0x3a, 0xcb, 0x54, 0x65, 0xd7, 0xdf, 0xbf, 0x88, 0xb6, 0x21, 0x4b, 0xf7, 0xa3, 0x61, 0xbe, 0x4c, 0xf4, 0x7d, 0xc7, 0x65, 0xc5, 0x25, 0x37, 0xe0, 0x70, 0x87, 0x9c, 0xb8, 0xb8, 0x29, 0x00, 0x55, 0xa7, 0x46, 0x8a, 0xc9, 0xed, 0xad, 0x4a, 0x65, 0x45, 0xcb, 0x48, 0x96, 0xcb, 0x8e, 0x4b, 0x63, 0xaa, 0xee, 0x04, 0x3e, 0xce, 0xf0, 0x98, 0xaa, 0x3b, 0xd2, 0xc3, 0xe7, 0x61, 0xca, 0x30, 0xf8, 0xb2, 0x4d, 0x43, 0x17, 0x5d, 0xbe, 0x97, 0x57, 0xbb, 0xfc, 0x65, 0x18, 0xab, 0x5c, 0x41, 0x84, 0xb9, 0x87, 0x9e, 0x86, 0xfb, 0x3a, 0xfe, 0x0a, 0x03, 0x27, 0xfb, 0x56, 0xd9, 0x0b, 0x3d, 0x0f, 0x53, 0xcd, 0x76, 0x3f, 0x10, 0x75, 0x3d, 0xb1, 0xd9, 0xee, 0x85, 0x9d, 0x66, 0x6f, 0x6e, 0x2e, 0x31, 0xb0, 0x4f, 0x6a, 0xf9, 0xfb, 0xc3, 0xda, 0xa1, 0x09, 0x74, 0x06, 0x54, 0xc3, 0xd0, 0x89, 0x8d, 0xf7, 0x2c, 0xa2, 0x63, 0x97, 0xd8, 0xd8, 0xcb, 0xcf, 0x86, 0x95, 0x73, 0x86, 0x51, 0x61, 0xb3, 0x25, 0x36, 0x89, 0x1e, 0x87, 0x49, 0x67, 0xef, 0xaa, 0xc1, 0x83, 0x4b, 0x6f, 0xba, 0x64, 0xdf, 0x7c, 0x29, 0xff, 0x30, 0x73, 0xd3, 0x04, 0x9d, 0x60, 0xa1, 0xb5, 0xc5, 0xc4, 0xe8, 0x31, 0x50, 0x0d, 0xef, 0x00, 0xbb, 0x4d, 0x56, 0xdd, 0xbd, 0x26, 0x36, 0x48, 0xfe, 0x34, 0x57, 0xe5, 0xf2, 0x0d, 0x29, 0x46, 0xcf, 0xc3, 0x74, 0xcb, 0x36, 0x6d, 0x9f, 0xb8, 0x4d, 0x97, 0xd0, 0x26, 0x9d, 0x9f, 0xb4, 0xfc, 0x3f, 0x8f, 0x1d, 0xd1, 0x66, 0xef, 0x86, 0xb5, 0xf9, 0xee, 0x6a, 0x53, 0xad, 0x7e, 0xe1, 0x7c, 0x11, 0xb2, 0xe1, 0x4d, 0x47, 0x69, 0xe0, 0xdb, 0xae, 0x2a, 0xb4, 0x86, 0x2e, 0x6f, 0xae, 0xd0, 0xea, 0xf7, 0x62, 0x45, 0x8d, 0xd1, 0x2a, 0xbc, 0xbe, 0xb6, 0x53, 0xd1, 0xb5, 0xdd, 0x8d, 0x9d, 0xb5, 0x6a, 0x45, 0x8d, 0x3f, 0x9e, 0x4e, 0xbd, 0x3b, 0xa6, 0xde, 0xbc, 0x79, 0xf3, 0x66, 0x6c, 0xfe, 0x7b, 0x31, 0xc8, 0x75, 0x77, 0xbe, 0xe8, 0xe3, 0x70, 0xbf, 0x7c, 0x4d, 0xf5, 0x88, 0xaf, 0xdf, 0x30, 0x5d, 0x16, 0x87, 0x0d, 0xcc, 0x7b, 0xc7, 0xc0, 0x85, 0xd3, 0x42, 0x6b, 0x9b, 0xf8, 0xcf, 0x99, 0x2e, 0x8d, 0xb2, 0x06, 0xf6, 0xd1, 0x3a, 0xcc, 0xda, 0x8e, 0xee, 0xf9, 0xd8, 0xae, 0x61, 0xb7, 0xa6, 0x77, 0x2e, 0x08, 0x74, 0x6c, 0x18, 0xc4, 0xf3, 0x1c, 0x5e, 0x02, 0x02, 0x96, 0x8f, 0xd8, 0xce, 0xb6, 0x50, 0xee, 0xe4, 0xc6, 0x92, 0x50, 0xed, 0xd9, 0xee, 0xf8, 0x51, 0xdb, 0xfd, 0x00, 0xa4, 0x1b, 0xb8, 0xa9, 0x13, 0xdb, 0x77, 0xdb, 0xac, 0x5f, 0x4b, 0x69, 0xa9, 0x06, 0x6e, 0x56, 0xe8, 0xf8, 0xa7, 0xb7, 0x07, 0x61, 0x3f, 0xfe, 0x63, 0x1c, 0xb2, 0xe1, 0x9e, 0x8d, 0xb6, 0xc0, 0x06, 0xcb, 0xcf, 0x0a, 0x3b, 0xbe, 0x0f, 0xdd, 0xb5, 0xc3, 0x5b, 0x5c, 0xa6, 0x89, 0xbb, 0x38, 0xca, 0x3b, 0x29, 0x8d, 0x23, 0x69, 0xd1, 0xa4, 0x07, 0x96, 0xf0, 0xfe, 0x3c, 0xa5, 0x89, 0x11, 0x5a, 0x85, 0xd1, 0xab, 0x1e, 0xe3, 0x1e, 0x65, 0xdc, 0x0f, 0xdf, 0x9d, 0xfb, 0xca, 0x36, 0x23, 0x4f, 0x5f, 0xd9, 0xd6, 0x37, 0x36, 0xb5, 0x6a, 0x69, 0x5d, 0x13, 0x70, 0x74, 0x12, 0x12, 0x16, 0x7e, 0xb9, 0xdd, 0x9d, 0xe2, 0x99, 0x68, 0x58, 0xc7, 0x9f, 0x84, 0xc4, 0x0d, 0x82, 0xaf, 0x75, 0x27, 0x56, 0x26, 0xfa, 0x29, 0x86, 0xfe, 0x19, 0x48, 0x32, 0x7f, 0x21, 0x00, 0xe1, 0x31, 0x75, 0x04, 0xa5, 0x20, 0xb1, 0xbc, 0xa9, 0xd1, 0xf0, 0x57, 0x21, 0xcb, 0xa5, 0xfa, 0xd6, 0x5a, 0x65, 0xb9, 0xa2, 0xc6, 0xe6, 0xcf, 0xc3, 0x28, 0x77, 0x02, 0x3d, 0x1a, 0x81, 0x1b, 0xd4, 0x11, 0x31, 0x14, 0x1c, 0x8a, 0x9c, 0xdd, 0xad, 0x96, 0x2b, 0x9a, 0x1a, 0x0b, 0x6f, 0xaf, 0x07, 0xd9, 0x70, 0xbb, 0xf6, 0xb3, 0x89, 0xa9, 0xef, 0x28, 0x90, 0x09, 0xb5, 0x5f, 0xb4, 0xf0, 0x63, 0xcb, 0x72, 0x6e, 0xe8, 0xd8, 0x32, 0xb1, 0x27, 0x82, 0x02, 0x98, 0xa8, 0x44, 0x25, 0xc3, 0x6e, 0xda, 0xcf, 0xc4, 0xf8, 0xd7, 0x15, 0x50, 0x7b, 0x5b, 0xb7, 0x1e, 0x03, 0x95, 0x9f, 0xab, 0x81, 0xaf, 0x29, 0x90, 0xeb, 0xee, 0xd7, 0x7a, 0xcc, 0x3b, 0xf5, 0x73, 0x35, 0xef, 0xcb, 0x0a, 0x8c, 0x77, 0x75, 0x69, 0xff, 0xa7, 0xac, 0x7b, 0x35, 0x0e, 0x53, 0x03, 0x70, 0xa8, 0x24, 0xda, 0x59, 0xde, 0x61, 0x7f, 0x6c, 0x98, 0x67, 0x2d, 0xd2, 0x6a, 0xb9, 0x85, 0x5d, 0x5f, 0x74, 0xbf, 0x8f, 0x81, 0x6a, 0xd6, 0x88, 0xed, 0x9b, 0xfb, 0x26, 0x71, 0xc5, 0x2b, 0x38, 0xef, 0x71, 0x27, 0x3a, 0x72, 0xfe, 0x16, 0xfe, 0x51, 0x40, 0x4d, 0xc7, 0x33, 0x7d, 0xf3, 0x3a, 0xd1, 0x4d, 0x5b, 0xbe, 0xaf, 0xd3, 0x9e, 0x37, 0xa1, 0xa9, 0x72, 0x66, 0xcd, 0xf6, 0x03, 0x6d, 0x9b, 0xd4, 0x71, 0x8f, 0x36, 0xcd, 0x7d, 0x71, 0x4d, 0x95, 0x33, 0x81, 0xf6, 0x29, 0xc8, 0xd6, 0x9c, 0x16, 0x6d, 0x1f, 0xb8, 0x1e, 0x4d, 0xb5, 0x8a, 0x96, 0xe1, 0xb2, 0x40, 0x45, 0xf4, 0x77, 0x9d, 0x8b, 0x82, 0xac, 0x96, 0xe1, 0x32, 0xae, 0xf2, 0x28, 0x4c, 0xe0, 0x7a, 0xdd, 0xa5, 0xe4, 0x92, 0x88, 0x37, 0xad, 0xb9, 0x40, 0xcc, 0x14, 0x67, 0xae, 0x40, 0x4a, 0xfa, 0x81, 0x56, 0x33, 0xea, 0x09, 0xbd, 0xc9, 0xaf, 0x6b, 0x62, 0x0b, 0x69, 0x2d, 0x65, 0xcb, 0xc9, 0x53, 0x90, 0x35, 0x3d, 0xbd, 0x73, 0x6f, 0x18, 0x9b, 0x8b, 0x2d, 0xa4, 0xb4, 0x8c, 0xe9, 0x05, 0x17, 0x45, 0xf3, 0x6f, 0xc6, 0x20, 0xd7, 0x7d, 0xef, 0x89, 0x56, 0x20, 0x65, 0x39, 0x06, 0x66, 0x81, 0xc0, 0x2f, 0xdd, 0x17, 0x22, 0xae, 0x4a, 0x17, 0xd7, 0x85, 0xbe, 0x16, 0x20, 0x67, 0xfe, 0x5e, 0x81, 0x94, 0x14, 0xa3, 0x13, 0x90, 0x68, 0x62, 0xff, 0x80, 0xd1, 0x25, 0xcb, 0x31, 0x55, 0xd1, 0xd8, 0x98, 0xca, 0xbd, 0x26, 0xb6, 0x59, 0x08, 0x08, 0x39, 0x1d, 0xd3, 0x7d, 0xb5, 0x08, 0xae, 0xb1, 0x76, 0xd8, 0x69, 0x34, 0x88, 0xed, 0x7b, 0x72, 0x5f, 0x85, 0x7c, 0x59, 0x88, 0xd1, 0x13, 0x30, 0xe9, 0xbb, 0xd8, 0xb4, 0xba, 0x74, 0x13, 0x4c, 0x57, 0x95, 0x13, 0x81, 0x72, 0x11, 0x4e, 0x4a, 0xde, 0x1a, 0xf1, 0xb1, 0x71, 0x40, 0x6a, 0x1d, 0xd0, 0x28, 0xbb, 0x54, 0xbb, 0x5f, 0x28, 0xac, 0x88, 0x79, 0x89, 0x9d, 0xff, 0x81, 0x02, 0x93, 0xb2, 0x81, 0xaf, 0x05, 0xce, 0xaa, 0x02, 0x60, 0xdb, 0x76, 0xfc, 0xb0, 0xbb, 0xfa, 0x43, 0xb9, 0x0f, 0xb7, 0x58, 0x0a, 0x40, 0x5a, 0x88, 0x60, 0xa6, 0x01, 0xd0, 0x99, 0x39, 0xd2, 0x6d, 0xb3, 0x90, 0x11, 0x97, 0xda, 0xec, 0xcb, 0x08, 0x7f, 0xeb, 0x03, 0x2e, 0xa2, 0x9d, 0x3e, 0x9a, 0x86, 0xe4, 0x1e, 0xa9, 0x9b, 0xb6, 0xb8, 0x6a, 0xe3, 0x03, 0x79, 0x81, 0x97, 0x08, 0x2e, 0xf0, 0xca, 0x9f, 0x86, 0x29, 0xc3, 0x69, 0xf4, 0x9a, 0x5b, 0x56, 0x7b, 0xde, 0x3c, 0xbd, 0x4f, 0x2a, 0x2f, 0x42, 0xa7, 0x3b, 0x7b, 0x43, 0x51, 0xbe, 0x1a, 0x8b, 0xaf, 0x6e, 0x95, 0xbf, 0x1e, 0x9b, 0x59, 0xe5, 0xd0, 0x2d, 0xb9, 0x52, 0x8d, 0xec, 0x5b, 0xc4, 0xa0, 0xd6, 0xc3, 0x1b, 0x8f, 0xc0, 0xc7, 0xea, 0xa6, 0x7f, 0xd0, 0xda, 0x5b, 0x34, 0x9c, 0xc6, 0x99, 0xba, 0x53, 0x77, 0x3a, 0x1f, 0x83, 0xe8, 0x88, 0x0d, 0xd8, 0x7f, 0xe2, 0x83, 0x50, 0x3a, 0x90, 0xce, 0x44, 0x7e, 0x3d, 0x2a, 0x6e, 0xc0, 0x94, 0x50, 0xd6, 0xd9, 0x8d, 0x34, 0xef, 0xc3, 0xd1, 0x5d, 0x6f, 0x25, 0xf2, 0xdf, 0x7c, 0x87, 0x55, 0x3a, 0x6d, 0x52, 0x40, 0xe9, 0x1c, 0xef, 0xd4, 0x8b, 0x1a, 0xdc, 0xd7, 0xc5, 0xc7, 0x8f, 0x26, 0x71, 0x23, 0x18, 0xbf, 0x27, 0x18, 0xa7, 0x42, 0x8c, 0xdb, 0x02, 0x5a, 0x5c, 0x86, 0xf1, 0xe3, 0x70, 0xfd, 0xad, 0xe0, 0xca, 0x92, 0x30, 0xc9, 0x2a, 0x4c, 0x30, 0x12, 0xa3, 0xe5, 0xf9, 0x4e, 0x83, 0xe5, 0xbd, 0xbb, 0xd3, 0xfc, 0xdd, 0x3b, 0xfc, 0xac, 0xe4, 0x28, 0x6c, 0x39, 0x40, 0x15, 0x8b, 0xc0, 0x2e, 0xe1, 0x6b, 0xc4, 0xb0, 0x22, 0x18, 0xde, 0x12, 0x86, 0x04, 0xfa, 0xc5, 0x4f, 0xc1, 0x34, 0xfd, 0x9f, 0xa5, 0xa5, 0xb0, 0x25, 0xd1, 0x77, 0x30, 0xf9, 0x1f, 0xbc, 0xc2, 0x8f, 0xe3, 0x54, 0x40, 0x10, 0xb2, 0x29, 0xb4, 0x8b, 0x75, 0xe2, 0xfb, 0xc4, 0xf5, 0x74, 0x6c, 0x0d, 0x32, 0x2f, 0xf4, 0x06, 0x9b, 0xff, 0xd2, 0x7b, 0xdd, 0xbb, 0xb8, 0xca, 0x91, 0x25, 0xcb, 0x2a, 0xee, 0xc2, 0xfd, 0x03, 0xa2, 0x62, 0x08, 0xce, 0x57, 0x05, 0xe7, 0x74, 0x5f, 0x64, 0x50, 0xda, 0x2d, 0x90, 0xf2, 0x60, 0x2f, 0x87, 0xe0, 0xfc, 0xb2, 0xe0, 0x44, 0x02, 0x2b, 0xb7, 0x94, 0x32, 0x5e, 0x81, 0xc9, 0xeb, 0xc4, 0xdd, 0x73, 0x3c, 0x71, 0x71, 0x30, 0x04, 0xdd, 0x6b, 0x82, 0x6e, 0x42, 0x00, 0xd9, 0x35, 0x02, 0xe5, 0x7a, 0x1a, 0x52, 0xfb, 0xd8, 0x20, 0x43, 0x50, 0x7c, 0x45, 0x50, 0x8c, 0x51, 0x7d, 0x0a, 0x2d, 0x41, 0xb6, 0xee, 0x88, 0xca, 0x14, 0x0d, 0x7f, 0x5d, 0xc0, 0x33, 0x12, 0x23, 0x28, 0x9a, 0x4e, 0xb3, 0x65, 0xd1, 0xb2, 0x15, 0x4d, 0xf1, 0x7b, 0x92, 0x42, 0x62, 0x04, 0xc5, 0x31, 0xdc, 0xfa, 0x86, 0xa4, 0xf0, 0x42, 0xfe, 0x7c, 0x16, 0x32, 0x8e, 0x6d, 0xb5, 0x1d, 0x7b, 0x18, 0x23, 0x7e, 0x5f, 0x30, 0x80, 0x80, 0x50, 0x82, 0x4b, 0x90, 0x1e, 0x76, 0x23, 0xfe, 0xe0, 0x3d, 0x79, 0x3c, 0xe4, 0x0e, 0xac, 0xc2, 0x84, 0x4c, 0x50, 0xa6, 0x63, 0x0f, 0x41, 0xf1, 0x87, 0x82, 0x22, 0x17, 0x82, 0x89, 0x65, 0xf8, 0xc4, 0xf3, 0xeb, 0x64, 0x18, 0x92, 0x37, 0xe5, 0x32, 0x04, 0x44, 0xb8, 0x72, 0x8f, 0xd8, 0xc6, 0xc1, 0x70, 0x0c, 0x5f, 0x93, 0xae, 0x94, 0x18, 0x4a, 0xb1, 0x0c, 0xe3, 0x0d, 0xec, 0x7a, 0x07, 0xd8, 0x1a, 0x6a, 0x3b, 0xfe, 0x48, 0x70, 0x64, 0x03, 0x90, 0xf0, 0x48, 0xcb, 0x3e, 0x0e, 0xcd, 0xd7, 0xa5, 0x47, 0x42, 0x30, 0x71, 0xf4, 0x3c, 0x9f, 0xdd, 0xcd, 0x1c, 0x87, 0xed, 0x8f, 0xe5, 0xd1, 0xe3, 0xd8, 0x6a, 0x98, 0xf1, 0x12, 0xa4, 0x3d, 0xf3, 0xe5, 0xa1, 0x68, 0xfe, 0x44, 0xee, 0x34, 0x03, 0x50, 0xf0, 0x0b, 0x70, 0x72, 0x60, 0x99, 0x18, 0x82, 0xec, 0x4f, 0x05, 0xd9, 0x89, 0x01, 0xa5, 0x42, 0xa4, 0x84, 0xe3, 0x52, 0xfe, 0x99, 0x4c, 0x09, 0xa4, 0x87, 0x6b, 0x8b, 0x76, 0xf6, 0x1e, 0xde, 0x3f, 0x9e, 0xd7, 0xfe, 0x5c, 0x7a, 0x8d, 0x63, 0xbb, 0xbc, 0xb6, 0x03, 0x27, 0x04, 0xe3, 0xf1, 0xf6, 0xf5, 0x1b, 0x32, 0xb1, 0x72, 0xf4, 0x6e, 0xf7, 0xee, 0x7e, 0x1a, 0x66, 0x02, 0x77, 0xca, 0xa6, 0xd4, 0xd3, 0x1b, 0xb8, 0x39, 0x04, 0xf3, 0x37, 0x05, 0xb3, 0xcc, 0xf8, 0x41, 0x57, 0xeb, 0x55, 0x71, 0x93, 0x92, 0x3f, 0x0f, 0x79, 0x49, 0xde, 0xb2, 0x5d, 0x62, 0x38, 0x75, 0xdb, 0x7c, 0x99, 0xd4, 0x86, 0xa0, 0xfe, 0x8b, 0x9e, 0xad, 0xda, 0x0d, 0xc1, 0x29, 0xf3, 0x1a, 0xa8, 0x41, 0xaf, 0xa2, 0x9b, 0x8d, 0xa6, 0xe3, 0xfa, 0x11, 0x8c, 0x7f, 0x29, 0x77, 0x2a, 0xc0, 0xad, 0x31, 0x58, 0xb1, 0x02, 0x39, 0x36, 0x1c, 0x36, 0x24, 0xff, 0x4a, 0x10, 0x8d, 0x77, 0x50, 0x22, 0x71, 0x18, 0x4e, 0xa3, 0x89, 0xdd, 0x61, 0xf2, 0xdf, 0xb7, 0x64, 0xe2, 0x10, 0x10, 0x91, 0x38, 0xfc, 0x76, 0x93, 0xd0, 0x6a, 0x3f, 0x04, 0xc3, 0xb7, 0x65, 0xe2, 0x90, 0x18, 0x41, 0x21, 0x1b, 0x86, 0x21, 0x28, 0xfe, 0x5a, 0x52, 0x48, 0x0c, 0x3f, 0x03, 0x13, 0x3d, 0xfd, 0x00, 0x8a, 0xfa, 0xfc, 0x9e, 0xff, 0xcc, 0x07, 0x22, 0x73, 0x74, 0xb7, 0x03, 0xc5, 0x75, 0xba, 0x49, 0xdd, 0x45, 0x3b, 0x9a, 0xec, 0x95, 0x0f, 0x82, 0x7d, 0xea, 0xaa, 0xd9, 0xc5, 0xcb, 0x30, 0xde, 0x55, 0xb0, 0xa3, 0xa9, 0x7e, 0x51, 0x50, 0x65, 0xc3, 0xf5, 0xba, 0x78, 0x1e, 0x12, 0xb4, 0xf8, 0x46, 0xc3, 0x7f, 0x49, 0xc0, 0x99, 0x7a, 0xf1, 0x13, 0x90, 0x92, 0x45, 0x37, 0x1a, 0xfa, 0xcb, 0x02, 0x1a, 0x40, 0x28, 0x5c, 0x16, 0xdc, 0x68, 0xf8, 0xe7, 0x24, 0x5c, 0x42, 0x28, 0x7c, 0x78, 0x17, 0x7e, 0xf7, 0x0b, 0x09, 0x91, 0x34, 0xa5, 0xef, 0x2e, 0xc1, 0x98, 0xa8, 0xb4, 0xd1, 0xe8, 0xcf, 0x8b, 0x87, 0x4b, 0x44, 0xf1, 0x29, 0x48, 0x0e, 0xe9, 0xf0, 0x5f, 0x15, 0x50, 0xae, 0x5f, 0x5c, 0x86, 0x4c, 0xa8, 0xba, 0x46, 0xc3, 0x7f, 0x4d, 0xc0, 0xc3, 0x28, 0x6a, 0xba, 0xa8, 0xae, 0xd1, 0x04, 0xbf, 0x2e, 0x4d, 0x17, 0x08, 0xea, 0x36, 0x59, 0x58, 0xa3, 0xd1, 0xbf, 0x21, 0xbd, 0x2e, 0x21, 0xc5, 0x67, 0x21, 0x1d, 0x24, 0xcb, 0x68, 0xfc, 0x6f, 0x0a, 0x7c, 0x07, 0x43, 0x3d, 0x10, 0x4a, 0xd6, 0xd1, 0x14, 0xbf, 0x25, 0x3d, 0x10, 0x42, 0xd1, 0x63, 0xd4, 0x5b, 0x80, 0xa3, 0x99, 0x7e, 0x5b, 0x1e, 0xa3, 0x9e, 0xfa, 0x4b, 0x77, 0x93, 0xe5, 0xac, 0x68, 0x8a, 0xdf, 0x91, 0xbb, 0xc9, 0xf4, 0xa9, 0x19, 0xbd, 0x15, 0x2d, 0x9a, 0xe3, 0x77, 0xa5, 0x19, 0x3d, 0x05, 0xad, 0xb8, 0x05, 0xa8, 0xbf, 0x9a, 0x45, 0xf3, 0x7d, 0x51, 0xf0, 0x4d, 0xf6, 0x15, 0xb3, 0xe2, 0x73, 0x70, 0x62, 0x70, 0x25, 0x8b, 0x66, 0xfd, 0xd2, 0x07, 0x3d, 0xef, 0x1e, 0xe1, 0x42, 0x56, 0xdc, 0xe9, 0xbc, 0x7b, 0x84, 0xab, 0x58, 0x34, 0xed, 0xab, 0x1f, 0x74, 0xbf, 0x9a, 0x86, 0x8b, 0x58, 0xb1, 0x04, 0xd0, 0x29, 0x20, 0xd1, 0x5c, 0xaf, 0x09, 0xae, 0x10, 0x88, 0x1e, 0x0d, 0x51, 0x3f, 0xa2, 0xf1, 0x5f, 0x91, 0x47, 0x43, 0x20, 0xe8, 0xd1, 0x90, 0xa5, 0x23, 0x1a, 0xfd, 0xba, 0x3c, 0x1a, 0x12, 0x52, 0xbc, 0x04, 0x29, 0xbb, 0x65, 0x59, 0x34, 0xb6, 0xd0, 0xdd, 0x7f, 0x11, 0x93, 0xff, 0xd1, 0x87, 0x02, 0x2c, 0x01, 0xc5, 0xf3, 0x90, 0x24, 0x8d, 0x3d, 0x52, 0x8b, 0x42, 0xfe, 0xcb, 0x87, 0x32, 0x9f, 0x50, 0xed, 0xe2, 0xb3, 0x00, 0xfc, 0xcd, 0x97, 0x7d, 0x10, 0x89, 0xc0, 0xfe, 0xeb, 0x87, 0xe2, 0x63, 0x7b, 0x07, 0xd2, 0x21, 0xe0, 0x9f, 0xee, 0xef, 0x4e, 0xf0, 0x5e, 0x37, 0x01, 0x7b, 0x5b, 0x7e, 0x1a, 0xc6, 0xae, 0x7a, 0x8e, 0xed, 0xe3, 0x7a, 0x14, 0xfa, 0xdf, 0x04, 0x5a, 0xea, 0x53, 0x87, 0x35, 0x1c, 0x97, 0xf8, 0xb8, 0xee, 0x45, 0x61, 0xff, 0x5d, 0x60, 0x03, 0x00, 0x05, 0x1b, 0xd8, 0xf3, 0x87, 0x59, 0xf7, 0x7f, 0x48, 0xb0, 0x04, 0x50, 0xa3, 0xe9, 0xff, 0xd7, 0x48, 0x3b, 0x0a, 0xfb, 0xbe, 0x34, 0x5a, 0xe8, 0x17, 0x3f, 0x01, 0x69, 0xfa, 0x2f, 0xff, 0x01, 0x4a, 0x04, 0xf8, 0x3f, 0x05, 0xb8, 0x83, 0xa0, 0x4f, 0xf6, 0xfc, 0x9a, 0x6f, 0x46, 0x3b, 0xfb, 0xbf, 0xc4, 0x4e, 0x4b, 0xfd, 0x62, 0x09, 0x32, 0x9e, 0x5f, 0xab, 0xb5, 0x5c, 0x7e, 0x13, 0x17, 0x01, 0xff, 0xef, 0x0f, 0x83, 0x37, 0xd2, 0x00, 0x53, 0x3e, 0x35, 0xf8, 0x72, 0x0d, 0x56, 0x9d, 0x55, 0x87, 0x5f, 0xab, 0xc1, 0x77, 0x26, 0xe0, 0xb4, 0xe1, 0x34, 0xf6, 0x1c, 0xef, 0x0c, 0x4f, 0x28, 0x41, 0x3a, 0x39, 0x23, 0xdd, 0x27, 0xae, 0xc6, 0x02, 0x77, 0xce, 0x1c, 0xef, 0x4e, 0x6d, 0xfe, 0x47, 0xe3, 0x90, 0x5a, 0xc6, 0x9e, 0x8f, 0x6f, 0xe0, 0x36, 0x3a, 0x0d, 0xa9, 0x35, 0xdb, 0x3f, 0x77, 0x76, 0xcb, 0x77, 0xd9, 0x17, 0x95, 0x78, 0x39, 0x7d, 0xe7, 0xd6, 0x6c, 0xd2, 0xa4, 0x32, 0x2d, 0x98, 0x42, 0x0f, 0x41, 0x92, 0xfd, 0xcf, 0x6e, 0x16, 0xe3, 0xe5, 0xf1, 0xb7, 0x6e, 0xcd, 0x8e, 0x74, 0xf4, 0xf8, 0x1c, 0x7a, 0x01, 0x32, 0xd5, 0xf6, 0xae, 0x69, 0xfb, 0x17, 0x96, 0x28, 0x1d, 0x75, 0x40, 0xa2, 0xfc, 0xd4, 0x9d, 0x5b, 0xb3, 0xe7, 0x8e, 0x34, 0x90, 0x96, 0xc5, 0xce, 0xc2, 0x24, 0x9a, 0xfd, 0x10, 0x2f, 0xcc, 0x85, 0x9e, 0x83, 0x94, 0x1c, 0xf2, 0x1b, 0xfa, 0xf2, 0x25, 0x61, 0xc2, 0x3d, 0x71, 0x07, 0x64, 0xe8, 0xff, 0x43, 0xb6, 0xda, 0xbe, 0x6c, 0x39, 0x58, 0xf8, 0x20, 0x39, 0xa7, 0x2c, 0xc4, 0xca, 0x17, 0xef, 0xdc, 0x9a, 0x5d, 0x1a, 0x9a, 0x58, 0xc0, 0x19, 0x73, 0x17, 0x1b, 0x7a, 0x11, 0xd2, 0xc1, 0x98, 0x7d, 0x03, 0x88, 0x95, 0x3f, 0x2e, 0xec, 0xbe, 0x37, 0xfa, 0x0e, 0x5d, 0xc8, 0x72, 0xee, 0xee, 0xb1, 0x39, 0x65, 0x41, 0xb9, 0x17, 0xcb, 0x85, 0x4f, 0xba, 0xd8, 0x42, 0x96, 0x5f, 0x58, 0x62, 0x1f, 0x1d, 0x94, 0x7b, 0xb5, 0x5c, 0xd0, 0x77, 0xe8, 0xd0, 0x15, 0x18, 0xab, 0xb6, 0xcb, 0x6d, 0x9f, 0x78, 0xec, 0xd7, 0x29, 0xd9, 0xf2, 0x93, 0x77, 0x6e, 0xcd, 0x7e, 0x74, 0x48, 0x56, 0x86, 0xd3, 0x24, 0x01, 0x9a, 0x83, 0xcc, 0x86, 0xe3, 0x36, 0xb0, 0xc5, 0xf9, 0x80, 0x7f, 0x44, 0x09, 0x89, 0xd0, 0x2e, 0x5d, 0x09, 0xdf, 0x6d, 0x8f, 0xfd, 0xb4, 0xfe, 0x27, 0x88, 0xc9, 0x0e, 0x13, 0x32, 0x21, 0x59, 0x6d, 0x57, 0x71, 0x33, 0x9f, 0x65, 0x37, 0xfc, 0x0f, 0x2e, 0x06, 0x08, 0x79, 0xb6, 0x16, 0xd9, 0x3c, 0xfb, 0x15, 0x41, 0x79, 0xe9, 0xce, 0xad, 0xd9, 0x27, 0x87, 0x7e, 0x62, 0x15, 0x37, 0xd9, 0xe3, 0xf8, 0x13, 0xd0, 0xb7, 0x14, 0x7a, 0xb0, 0xf8, 0x15, 0x29, 0x7d, 0xe2, 0x38, 0x7b, 0xe2, 0x43, 0x03, 0x9f, 0x18, 0x68, 0xf1, 0xe7, 0xda, 0x9f, 0x7d, 0xfb, 0x18, 0x2b, 0xe5, 0x6f, 0x36, 0xf4, 0xd1, 0xbf, 0xf2, 0xf6, 0x3d, 0x1f, 0xda, 0xc0, 0x02, 0xf4, 0x8a, 0x02, 0xe3, 0xd5, 0xf6, 0x86, 0xa8, 0xb1, 0xd4, 0xf2, 0x9c, 0xf8, 0x01, 0xf6, 0x20, 0xcb, 0x43, 0x7a, 0xdc, 0xf6, 0x0b, 0x9f, 0x7d, 0x7b, 0xf6, 0xec, 0xd0, 0x46, 0xb0, 0x14, 0xc4, 0x6c, 0xe8, 0x7e, 0x26, 0xfa, 0x1c, 0xb3, 0xa2, 0x42, 0xeb, 0x75, 0x8d, 0xd4, 0xa8, 0x15, 0x13, 0x77, 0xb1, 0x22, 0xa4, 0xc7, 0xad, 0x28, 0xd2, 0xa8, 0xbf, 0x77, 0x4b, 0x42, 0x7c, 0x68, 0x13, 0x46, 0xb9, 0x87, 0xd9, 0x2f, 0xa3, 0xd2, 0xc7, 0x0c, 0xc3, 0xce, 0xe6, 0x68, 0x82, 0x66, 0xe6, 0x22, 0x40, 0x27, 0xc6, 0x90, 0x0a, 0xf1, 0x6b, 0xa4, 0x2d, 0x7e, 0x01, 0x47, 0xff, 0x45, 0xd3, 0x9d, 0x5f, 0x78, 0x2a, 0x0b, 0x09, 0xf1, 0xb3, 0xcd, 0x62, 0xec, 0xa2, 0x32, 0xf3, 0x0c, 0xa8, 0xbd, 0xb1, 0x72, 0x2c, 0xbc, 0x06, 0xa8, 0x7f, 0xc7, 0xc2, 0x0c, 0x49, 0xce, 0xf0, 0x48, 0x98, 0x21, 0x73, 0x56, 0xed, 0xf8, 0xfc, 0x39, 0xd3, 0xf2, 0x1c, 0xbb, 0x8f, 0xb3, 0xd7, 0xff, 0x3f, 0x19, 0xe7, 0x7c, 0x01, 0x46, 0xb9, 0x90, 0xae, 0x65, 0x8d, 0x95, 0x0f, 0x56, 0xe5, 0x34, 0x3e, 0x28, 0xaf, 0xbf, 0x75, 0xbb, 0x30, 0xf2, 0xfd, 0xdb, 0x85, 0x91, 0x7f, 0xb8, 0x5d, 0x18, 0xf9, 0xe1, 0xed, 0x82, 0xf2, 0xee, 0xed, 0x82, 0xf2, 0xfe, 0xed, 0x82, 0xf2, 0xe3, 0xdb, 0x05, 0xe5, 0xe6, 0x61, 0x41, 0xf9, 0xda, 0x61, 0x41, 0xf9, 0xc6, 0x61, 0x41, 0xf9, 0x9b, 0xc3, 0x82, 0xf2, 0xdd, 0xc3, 0x82, 0xf2, 0xd6, 0x61, 0x61, 0xe4, 0xfb, 0x87, 0x85, 0x91, 0x1f, 0x1e, 0x16, 0x94, 0x77, 0x0f, 0x0b, 0x23, 0xef, 0x1f, 0x16, 0x94, 0x1f, 0x1f, 0x16, 0x94, 0x9b, 0xff, 0x54, 0x18, 0xf9, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xeb, 0x34, 0x72, 0x4f, 0xe4, 0x34, 0x00, 0x00, } r := bytes.NewReader(gzipped) gzipr, err := compress_gzip.NewReader(r) if err != nil { panic(err) } ungzipped, err := io_ioutil.ReadAll(gzipr) if err != nil { panic(err) } if err := github_com_gogo_protobuf_proto.Unmarshal(ungzipped, d); err != nil { panic(err) } return d } func (this *Castaway) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*Castaway) if !ok { that2, ok := that.(Castaway) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *Castaway") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *Castaway but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *Castaway but is not nil && this == nil") } if this.Int32Ptr != nil && that1.Int32Ptr != nil { if *this.Int32Ptr != *that1.Int32Ptr { return fmt.Errorf("Int32Ptr this(%v) Not Equal that(%v)", *this.Int32Ptr, *that1.Int32Ptr) } } else if this.Int32Ptr != nil { return fmt.Errorf("this.Int32Ptr == nil && that.Int32Ptr != nil") } else if that1.Int32Ptr != nil { return fmt.Errorf("Int32Ptr this(%v) Not Equal that(%v)", this.Int32Ptr, that1.Int32Ptr) } if this.Int32 != that1.Int32 { return fmt.Errorf("Int32 this(%v) Not Equal that(%v)", this.Int32, that1.Int32) } if this.MyUint64Ptr != nil && that1.MyUint64Ptr != nil { if *this.MyUint64Ptr != *that1.MyUint64Ptr { return fmt.Errorf("MyUint64Ptr this(%v) Not Equal that(%v)", *this.MyUint64Ptr, *that1.MyUint64Ptr) } } else if this.MyUint64Ptr != nil { return fmt.Errorf("this.MyUint64Ptr == nil && that.MyUint64Ptr != nil") } else if that1.MyUint64Ptr != nil { return fmt.Errorf("MyUint64Ptr this(%v) Not Equal that(%v)", this.MyUint64Ptr, that1.MyUint64Ptr) } if this.MyUint64 != that1.MyUint64 { return fmt.Errorf("MyUint64 this(%v) Not Equal that(%v)", this.MyUint64, that1.MyUint64) } if this.MyFloat32Ptr != nil && that1.MyFloat32Ptr != nil { if *this.MyFloat32Ptr != *that1.MyFloat32Ptr { return fmt.Errorf("MyFloat32Ptr this(%v) Not Equal that(%v)", *this.MyFloat32Ptr, *that1.MyFloat32Ptr) } } else if this.MyFloat32Ptr != nil { return fmt.Errorf("this.MyFloat32Ptr == nil && that.MyFloat32Ptr != nil") } else if that1.MyFloat32Ptr != nil { return fmt.Errorf("MyFloat32Ptr this(%v) Not Equal that(%v)", this.MyFloat32Ptr, that1.MyFloat32Ptr) } if this.MyFloat32 != that1.MyFloat32 { return fmt.Errorf("MyFloat32 this(%v) Not Equal that(%v)", this.MyFloat32, that1.MyFloat32) } if this.MyFloat64Ptr != nil && that1.MyFloat64Ptr != nil { if *this.MyFloat64Ptr != *that1.MyFloat64Ptr { return fmt.Errorf("MyFloat64Ptr this(%v) Not Equal that(%v)", *this.MyFloat64Ptr, *that1.MyFloat64Ptr) } } else if this.MyFloat64Ptr != nil { return fmt.Errorf("this.MyFloat64Ptr == nil && that.MyFloat64Ptr != nil") } else if that1.MyFloat64Ptr != nil { return fmt.Errorf("MyFloat64Ptr this(%v) Not Equal that(%v)", this.MyFloat64Ptr, that1.MyFloat64Ptr) } if this.MyFloat64 != that1.MyFloat64 { return fmt.Errorf("MyFloat64 this(%v) Not Equal that(%v)", this.MyFloat64, that1.MyFloat64) } if !bytes.Equal(this.MyBytes, that1.MyBytes) { return fmt.Errorf("MyBytes this(%v) Not Equal that(%v)", this.MyBytes, that1.MyBytes) } if !bytes.Equal(this.NormalBytes, that1.NormalBytes) { return fmt.Errorf("NormalBytes this(%v) Not Equal that(%v)", this.NormalBytes, that1.NormalBytes) } if len(this.MyUint64S) != len(that1.MyUint64S) { return fmt.Errorf("MyUint64S this(%v) Not Equal that(%v)", len(this.MyUint64S), len(that1.MyUint64S)) } for i := range this.MyUint64S { if this.MyUint64S[i] != that1.MyUint64S[i] { return fmt.Errorf("MyUint64S this[%v](%v) Not Equal that[%v](%v)", i, this.MyUint64S[i], i, that1.MyUint64S[i]) } } if len(this.MyMap) != len(that1.MyMap) { return fmt.Errorf("MyMap this(%v) Not Equal that(%v)", len(this.MyMap), len(that1.MyMap)) } for i := range this.MyMap { if this.MyMap[i] != that1.MyMap[i] { return fmt.Errorf("MyMap this[%v](%v) Not Equal that[%v](%v)", i, this.MyMap[i], i, that1.MyMap[i]) } } if len(this.MyCustomMap) != len(that1.MyCustomMap) { return fmt.Errorf("MyCustomMap this(%v) Not Equal that(%v)", len(this.MyCustomMap), len(that1.MyCustomMap)) } for i := range this.MyCustomMap { if this.MyCustomMap[i] != that1.MyCustomMap[i] { return fmt.Errorf("MyCustomMap this[%v](%v) Not Equal that[%v](%v)", i, this.MyCustomMap[i], i, that1.MyCustomMap[i]) } } if len(this.MyNullableMap) != len(that1.MyNullableMap) { return fmt.Errorf("MyNullableMap this(%v) Not Equal that(%v)", len(this.MyNullableMap), len(that1.MyNullableMap)) } for i := range this.MyNullableMap { if !this.MyNullableMap[i].Equal(that1.MyNullableMap[i]) { return fmt.Errorf("MyNullableMap this[%v](%v) Not Equal that[%v](%v)", i, this.MyNullableMap[i], i, that1.MyNullableMap[i]) } } if len(this.MyEmbeddedMap) != len(that1.MyEmbeddedMap) { return fmt.Errorf("MyEmbeddedMap this(%v) Not Equal that(%v)", len(this.MyEmbeddedMap), len(that1.MyEmbeddedMap)) } for i := range this.MyEmbeddedMap { a := this.MyEmbeddedMap[i] b := that1.MyEmbeddedMap[i] if !(&a).Equal(&b) { return fmt.Errorf("MyEmbeddedMap this[%v](%v) Not Equal that[%v](%v)", i, this.MyEmbeddedMap[i], i, that1.MyEmbeddedMap[i]) } } if this.String_ != nil && that1.String_ != nil { if *this.String_ != *that1.String_ { return fmt.Errorf("String_ this(%v) Not Equal that(%v)", *this.String_, *that1.String_) } } else if this.String_ != nil { return fmt.Errorf("this.String_ == nil && that.String_ != nil") } else if that1.String_ != nil { return fmt.Errorf("String_ this(%v) Not Equal that(%v)", this.String_, that1.String_) } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) } return nil } func (this *Castaway) Equal(that interface{}) bool { if that == nil { if this == nil { return true } return false } that1, ok := that.(*Castaway) if !ok { that2, ok := that.(Castaway) if ok { that1 = &that2 } else { return false } } if that1 == nil { if this == nil { return true } return false } else if this == nil { return false } if this.Int32Ptr != nil && that1.Int32Ptr != nil { if *this.Int32Ptr != *that1.Int32Ptr { return false } } else if this.Int32Ptr != nil { return false } else if that1.Int32Ptr != nil { return false } if this.Int32 != that1.Int32 { return false } if this.MyUint64Ptr != nil && that1.MyUint64Ptr != nil { if *this.MyUint64Ptr != *that1.MyUint64Ptr { return false } } else if this.MyUint64Ptr != nil { return false } else if that1.MyUint64Ptr != nil { return false } if this.MyUint64 != that1.MyUint64 { return false } if this.MyFloat32Ptr != nil && that1.MyFloat32Ptr != nil { if *this.MyFloat32Ptr != *that1.MyFloat32Ptr { return false } } else if this.MyFloat32Ptr != nil { return false } else if that1.MyFloat32Ptr != nil { return false } if this.MyFloat32 != that1.MyFloat32 { return false } if this.MyFloat64Ptr != nil && that1.MyFloat64Ptr != nil { if *this.MyFloat64Ptr != *that1.MyFloat64Ptr { return false } } else if this.MyFloat64Ptr != nil { return false } else if that1.MyFloat64Ptr != nil { return false } if this.MyFloat64 != that1.MyFloat64 { return false } if !bytes.Equal(this.MyBytes, that1.MyBytes) { return false } if !bytes.Equal(this.NormalBytes, that1.NormalBytes) { return false } if len(this.MyUint64S) != len(that1.MyUint64S) { return false } for i := range this.MyUint64S { if this.MyUint64S[i] != that1.MyUint64S[i] { return false } } if len(this.MyMap) != len(that1.MyMap) { return false } for i := range this.MyMap { if this.MyMap[i] != that1.MyMap[i] { return false } } if len(this.MyCustomMap) != len(that1.MyCustomMap) { return false } for i := range this.MyCustomMap { if this.MyCustomMap[i] != that1.MyCustomMap[i] { return false } } if len(this.MyNullableMap) != len(that1.MyNullableMap) { return false } for i := range this.MyNullableMap { if !this.MyNullableMap[i].Equal(that1.MyNullableMap[i]) { return false } } if len(this.MyEmbeddedMap) != len(that1.MyEmbeddedMap) { return false } for i := range this.MyEmbeddedMap { a := this.MyEmbeddedMap[i] b := that1.MyEmbeddedMap[i] if !(&a).Equal(&b) { return false } } if this.String_ != nil && that1.String_ != nil { if *this.String_ != *that1.String_ { return false } } else if this.String_ != nil { return false } else if that1.String_ != nil { return false } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return false } return true } func (this *Wilson) VerboseEqual(that interface{}) error { if that == nil { if this == nil { return nil } return fmt.Errorf("that == nil && this != nil") } that1, ok := that.(*Wilson) if !ok { that2, ok := that.(Wilson) if ok { that1 = &that2 } else { return fmt.Errorf("that is not of type *Wilson") } } if that1 == nil { if this == nil { return nil } return fmt.Errorf("that is type *Wilson but is nil && this != nil") } else if this == nil { return fmt.Errorf("that is type *Wilson but is not nil && this == nil") } if this.Int64 != nil && that1.Int64 != nil { if *this.Int64 != *that1.Int64 { return fmt.Errorf("Int64 this(%v) Not Equal that(%v)", *this.Int64, *that1.Int64) } } else if this.Int64 != nil { return fmt.Errorf("this.Int64 == nil && that.Int64 != nil") } else if that1.Int64 != nil { return fmt.Errorf("Int64 this(%v) Not Equal that(%v)", this.Int64, that1.Int64) } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized) } return nil } func (this *Wilson) Equal(that interface{}) bool { if that == nil { if this == nil { return true } return false } that1, ok := that.(*Wilson) if !ok { that2, ok := that.(Wilson) if ok { that1 = &that2 } else { return false } } if that1 == nil { if this == nil { return true } return false } else if this == nil { return false } if this.Int64 != nil && that1.Int64 != nil { if *this.Int64 != *that1.Int64 { return false } } else if this.Int64 != nil { return false } else if that1.Int64 != nil { return false } if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) { return false } return true } type CastawayFace interface { Proto() github_com_gogo_protobuf_proto.Message GetInt32Ptr() *int32 GetInt32() int32 GetMyUint64Ptr() *github_com_gogo_protobuf_test_casttype.MyUint64Type GetMyUint64() github_com_gogo_protobuf_test_casttype.MyUint64Type GetMyFloat32Ptr() *github_com_gogo_protobuf_test_casttype.MyFloat32Type GetMyFloat32() github_com_gogo_protobuf_test_casttype.MyFloat32Type GetMyFloat64Ptr() *github_com_gogo_protobuf_test_casttype.MyFloat64Type GetMyFloat64() github_com_gogo_protobuf_test_casttype.MyFloat64Type GetMyBytes() github_com_gogo_protobuf_test_casttype.Bytes GetNormalBytes() []byte GetMyUint64S() []github_com_gogo_protobuf_test_casttype.MyUint64Type GetMyMap() github_com_gogo_protobuf_test_casttype.MyMapType GetMyCustomMap() map[github_com_gogo_protobuf_test_casttype.MyStringType]github_com_gogo_protobuf_test_casttype.MyUint64Type GetMyNullableMap() map[github_com_gogo_protobuf_test_casttype.MyInt32Type]*Wilson GetMyEmbeddedMap() map[github_com_gogo_protobuf_test_casttype.MyInt32Type]Wilson GetString_() *github_com_gogo_protobuf_test_casttype.MyStringType } func (this *Castaway) Proto() github_com_gogo_protobuf_proto.Message { return this } func (this *Castaway) TestProto() github_com_gogo_protobuf_proto.Message { return NewCastawayFromFace(this) } func (this *Castaway) GetInt32Ptr() *int32 { return this.Int32Ptr } func (this *Castaway) GetInt32() int32 { return this.Int32 } func (this *Castaway) GetMyUint64Ptr() *github_com_gogo_protobuf_test_casttype.MyUint64Type { return this.MyUint64Ptr } func (this *Castaway) GetMyUint64() github_com_gogo_protobuf_test_casttype.MyUint64Type { return this.MyUint64 } func (this *Castaway) GetMyFloat32Ptr() *github_com_gogo_protobuf_test_casttype.MyFloat32Type { return this.MyFloat32Ptr } func (this *Castaway) GetMyFloat32() github_com_gogo_protobuf_test_casttype.MyFloat32Type { return this.MyFloat32 } func (this *Castaway) GetMyFloat64Ptr() *github_com_gogo_protobuf_test_casttype.MyFloat64Type { return this.MyFloat64Ptr } func (this *Castaway) GetMyFloat64() github_com_gogo_protobuf_test_casttype.MyFloat64Type { return this.MyFloat64 } func (this *Castaway) GetMyBytes() github_com_gogo_protobuf_test_casttype.Bytes { return this.MyBytes } func (this *Castaway) GetNormalBytes() []byte { return this.NormalBytes } func (this *Castaway) GetMyUint64S() []github_com_gogo_protobuf_test_casttype.MyUint64Type { return this.MyUint64S } func (this *Castaway) GetMyMap() github_com_gogo_protobuf_test_casttype.MyMapType { return this.MyMap } func (this *Castaway) GetMyCustomMap() map[github_com_gogo_protobuf_test_casttype.MyStringType]github_com_gogo_protobuf_test_casttype.MyUint64Type { return this.MyCustomMap } func (this *Castaway) GetMyNullableMap() map[github_com_gogo_protobuf_test_casttype.MyInt32Type]*Wilson { return this.MyNullableMap } func (this *Castaway) GetMyEmbeddedMap() map[github_com_gogo_protobuf_test_casttype.MyInt32Type]Wilson { return this.MyEmbeddedMap } func (this *Castaway) GetString_() *github_com_gogo_protobuf_test_casttype.MyStringType { return this.String_ } func NewCastawayFromFace(that CastawayFace) *Castaway { this := &Castaway{} this.Int32Ptr = that.GetInt32Ptr() this.Int32 = that.GetInt32() this.MyUint64Ptr = that.GetMyUint64Ptr() this.MyUint64 = that.GetMyUint64() this.MyFloat32Ptr = that.GetMyFloat32Ptr() this.MyFloat32 = that.GetMyFloat32() this.MyFloat64Ptr = that.GetMyFloat64Ptr() this.MyFloat64 = that.GetMyFloat64() this.MyBytes = that.GetMyBytes() this.NormalBytes = that.GetNormalBytes() this.MyUint64S = that.GetMyUint64S() this.MyMap = that.GetMyMap() this.MyCustomMap = that.GetMyCustomMap() this.MyNullableMap = that.GetMyNullableMap() this.MyEmbeddedMap = that.GetMyEmbeddedMap() this.String_ = that.GetString_() return this } type WilsonFace interface { Proto() github_com_gogo_protobuf_proto.Message GetInt64() *int64 } func (this *Wilson) Proto() github_com_gogo_protobuf_proto.Message { return this } func (this *Wilson) TestProto() github_com_gogo_protobuf_proto.Message { return NewWilsonFromFace(this) } func (this *Wilson) GetInt64() *int64 { return this.Int64 } func NewWilsonFromFace(that WilsonFace) *Wilson { this := &Wilson{} this.Int64 = that.GetInt64() return this } func (this *Castaway) GoString() string { if this == nil { return "nil" } s := make([]string, 0, 20) s = append(s, "&casttype.Castaway{") if this.Int32Ptr != nil { s = append(s, "Int32Ptr: "+valueToGoStringCasttype(this.Int32Ptr, "int32")+",\n") } s = append(s, "Int32: "+fmt.Sprintf("%#v", this.Int32)+",\n") if this.MyUint64Ptr != nil { s = append(s, "MyUint64Ptr: "+valueToGoStringCasttype(this.MyUint64Ptr, "github_com_gogo_protobuf_test_casttype.MyUint64Type")+",\n") } s = append(s, "MyUint64: "+fmt.Sprintf("%#v", this.MyUint64)+",\n") if this.MyFloat32Ptr != nil { s = append(s, "MyFloat32Ptr: "+valueToGoStringCasttype(this.MyFloat32Ptr, "github_com_gogo_protobuf_test_casttype.MyFloat32Type")+",\n") } s = append(s, "MyFloat32: "+fmt.Sprintf("%#v", this.MyFloat32)+",\n") if this.MyFloat64Ptr != nil { s = append(s, "MyFloat64Ptr: "+valueToGoStringCasttype(this.MyFloat64Ptr, "github_com_gogo_protobuf_test_casttype.MyFloat64Type")+",\n") } s = append(s, "MyFloat64: "+fmt.Sprintf("%#v", this.MyFloat64)+",\n") if this.MyBytes != nil { s = append(s, "MyBytes: "+valueToGoStringCasttype(this.MyBytes, "github_com_gogo_protobuf_test_casttype.Bytes")+",\n") } if this.NormalBytes != nil { s = append(s, "NormalBytes: "+valueToGoStringCasttype(this.NormalBytes, "byte")+",\n") } if this.MyUint64S != nil { s = append(s, "MyUint64S: "+fmt.Sprintf("%#v", this.MyUint64S)+",\n") } keysForMyMap := make([]string, 0, len(this.MyMap)) for k := range this.MyMap { keysForMyMap = append(keysForMyMap, k) } github_com_gogo_protobuf_sortkeys.Strings(keysForMyMap) mapStringForMyMap := "github_com_gogo_protobuf_test_casttype.MyMapType{" for _, k := range keysForMyMap { mapStringForMyMap += fmt.Sprintf("%#v: %#v,", k, this.MyMap[k]) } mapStringForMyMap += "}" if this.MyMap != nil { s = append(s, "MyMap: "+mapStringForMyMap+",\n") } keysForMyCustomMap := make([]string, 0, len(this.MyCustomMap)) for k := range this.MyCustomMap { keysForMyCustomMap = append(keysForMyCustomMap, string(k)) } github_com_gogo_protobuf_sortkeys.Strings(keysForMyCustomMap) mapStringForMyCustomMap := "map[github_com_gogo_protobuf_test_casttype.MyStringType]github_com_gogo_protobuf_test_casttype.MyUint64Type{" for _, k := range keysForMyCustomMap { mapStringForMyCustomMap += fmt.Sprintf("%#v: %#v,", k, this.MyCustomMap[github_com_gogo_protobuf_test_casttype.MyStringType(k)]) } mapStringForMyCustomMap += "}" if this.MyCustomMap != nil { s = append(s, "MyCustomMap: "+mapStringForMyCustomMap+",\n") } keysForMyNullableMap := make([]int32, 0, len(this.MyNullableMap)) for k := range this.MyNullableMap { keysForMyNullableMap = append(keysForMyNullableMap, int32(k)) } github_com_gogo_protobuf_sortkeys.Int32s(keysForMyNullableMap) mapStringForMyNullableMap := "map[github_com_gogo_protobuf_test_casttype.MyInt32Type]*Wilson{" for _, k := range keysForMyNullableMap { mapStringForMyNullableMap += fmt.Sprintf("%#v: %#v,", k, this.MyNullableMap[github_com_gogo_protobuf_test_casttype.MyInt32Type(k)]) } mapStringForMyNullableMap += "}" if this.MyNullableMap != nil { s = append(s, "MyNullableMap: "+mapStringForMyNullableMap+",\n") } keysForMyEmbeddedMap := make([]int32, 0, len(this.MyEmbeddedMap)) for k := range this.MyEmbeddedMap { keysForMyEmbeddedMap = append(keysForMyEmbeddedMap, int32(k)) } github_com_gogo_protobuf_sortkeys.Int32s(keysForMyEmbeddedMap) mapStringForMyEmbeddedMap := "map[github_com_gogo_protobuf_test_casttype.MyInt32Type]Wilson{" for _, k := range keysForMyEmbeddedMap { mapStringForMyEmbeddedMap += fmt.Sprintf("%#v: %#v,", k, this.MyEmbeddedMap[github_com_gogo_protobuf_test_casttype.MyInt32Type(k)]) } mapStringForMyEmbeddedMap += "}" if this.MyEmbeddedMap != nil { s = append(s, "MyEmbeddedMap: "+mapStringForMyEmbeddedMap+",\n") } if this.String_ != nil { s = append(s, "String_: "+valueToGoStringCasttype(this.String_, "github_com_gogo_protobuf_test_casttype.MyStringType")+",\n") } if this.XXX_unrecognized != nil { s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") } s = append(s, "}") return strings.Join(s, "") } func (this *Wilson) GoString() string { if this == nil { return "nil" } s := make([]string, 0, 5) s = append(s, "&casttype.Wilson{") if this.Int64 != nil { s = append(s, "Int64: "+valueToGoStringCasttype(this.Int64, "int64")+",\n") } if this.XXX_unrecognized != nil { s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n") } s = append(s, "}") return strings.Join(s, "") } func valueToGoStringCasttype(v interface{}, typ string) string { rv := reflect.ValueOf(v) if rv.IsNil() { return "nil" } pv := reflect.Indirect(rv).Interface() return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv) } func NewPopulatedCastaway(r randyCasttype, easy bool) *Castaway { this := &Castaway{} if r.Intn(10) != 0 { v1 := int32(r.Int63()) if r.Intn(2) == 0 { v1 *= -1 } this.Int32Ptr = &v1 } this.Int32 = int32(r.Int63()) if r.Intn(2) == 0 { this.Int32 *= -1 } if r.Intn(10) != 0 { v2 := github_com_gogo_protobuf_test_casttype.MyUint64Type(uint64(r.Uint32())) this.MyUint64Ptr = &v2 } this.MyUint64 = github_com_gogo_protobuf_test_casttype.MyUint64Type(uint64(r.Uint32())) if r.Intn(10) != 0 { v3 := github_com_gogo_protobuf_test_casttype.MyFloat32Type(r.Float32()) if r.Intn(2) == 0 { v3 *= -1 } this.MyFloat32Ptr = &v3 } this.MyFloat32 = github_com_gogo_protobuf_test_casttype.MyFloat32Type(r.Float32()) if r.Intn(2) == 0 { this.MyFloat32 *= -1 } if r.Intn(10) != 0 { v4 := github_com_gogo_protobuf_test_casttype.MyFloat64Type(r.Float64()) if r.Intn(2) == 0 { v4 *= -1 } this.MyFloat64Ptr = &v4 } this.MyFloat64 = github_com_gogo_protobuf_test_casttype.MyFloat64Type(r.Float64()) if r.Intn(2) == 0 { this.MyFloat64 *= -1 } if r.Intn(10) != 0 { v5 := r.Intn(100) this.MyBytes = make(github_com_gogo_protobuf_test_casttype.Bytes, v5) for i := 0; i < v5; i++ { this.MyBytes[i] = byte(r.Intn(256)) } } if r.Intn(10) != 0 { v6 := r.Intn(100) this.NormalBytes = make([]byte, v6) for i := 0; i < v6; i++ { this.NormalBytes[i] = byte(r.Intn(256)) } } if r.Intn(10) != 0 { v7 := r.Intn(10) this.MyUint64S = make([]github_com_gogo_protobuf_test_casttype.MyUint64Type, v7) for i := 0; i < v7; i++ { this.MyUint64S[i] = github_com_gogo_protobuf_test_casttype.MyUint64Type(uint64(r.Uint32())) } } if r.Intn(10) != 0 { v8 := r.Intn(10) this.MyMap = make(github_com_gogo_protobuf_test_casttype.MyMapType) for i := 0; i < v8; i++ { v9 := randStringCasttype(r) this.MyMap[v9] = uint64(uint64(r.Uint32())) } } if r.Intn(10) != 0 { v10 := r.Intn(10) this.MyCustomMap = make(map[github_com_gogo_protobuf_test_casttype.MyStringType]github_com_gogo_protobuf_test_casttype.MyUint64Type) for i := 0; i < v10; i++ { v11 := github_com_gogo_protobuf_test_casttype.MyStringType(randStringCasttype(r)) this.MyCustomMap[v11] = github_com_gogo_protobuf_test_casttype.MyUint64Type(uint64(r.Uint32())) } } if r.Intn(10) != 0 { v12 := r.Intn(10) this.MyNullableMap = make(map[github_com_gogo_protobuf_test_casttype.MyInt32Type]*Wilson) for i := 0; i < v12; i++ { this.MyNullableMap[github_com_gogo_protobuf_test_casttype.MyInt32Type(int32(r.Int31()))] = NewPopulatedWilson(r, easy) } } if r.Intn(10) != 0 { v13 := r.Intn(10) this.MyEmbeddedMap = make(map[github_com_gogo_protobuf_test_casttype.MyInt32Type]Wilson) for i := 0; i < v13; i++ { this.MyEmbeddedMap[github_com_gogo_protobuf_test_casttype.MyInt32Type(int32(r.Int31()))] = *NewPopulatedWilson(r, easy) } } if r.Intn(10) != 0 { v14 := github_com_gogo_protobuf_test_casttype.MyStringType(randStringCasttype(r)) this.String_ = &v14 } if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedCasttype(r, 17) } return this } func NewPopulatedWilson(r randyCasttype, easy bool) *Wilson { this := &Wilson{} if r.Intn(10) != 0 { v15 := int64(r.Int63()) if r.Intn(2) == 0 { v15 *= -1 } this.Int64 = &v15 } if !easy && r.Intn(10) != 0 { this.XXX_unrecognized = randUnrecognizedCasttype(r, 2) } return this } type randyCasttype interface { Float32() float32 Float64() float64 Int63() int64 Int31() int32 Uint32() uint32 Intn(n int) int } func randUTF8RuneCasttype(r randyCasttype) rune { ru := r.Intn(62) if ru < 10 { return rune(ru + 48) } else if ru < 36 { return rune(ru + 55) } return rune(ru + 61) } func randStringCasttype(r randyCasttype) string { v16 := r.Intn(100) tmps := make([]rune, v16) for i := 0; i < v16; i++ { tmps[i] = randUTF8RuneCasttype(r) } return string(tmps) } func randUnrecognizedCasttype(r randyCasttype, maxFieldNumber int) (dAtA []byte) { l := r.Intn(5) for i := 0; i < l; i++ { wire := r.Intn(4) if wire == 3 { wire = 5 } fieldNumber := maxFieldNumber + r.Intn(100) dAtA = randFieldCasttype(dAtA, r, fieldNumber, wire) } return dAtA } func randFieldCasttype(dAtA []byte, r randyCasttype, fieldNumber int, wire int) []byte { key := uint32(fieldNumber)<<3 | uint32(wire) switch wire { case 0: dAtA = encodeVarintPopulateCasttype(dAtA, uint64(key)) v17 := r.Int63() if r.Intn(2) == 0 { v17 *= -1 } dAtA = encodeVarintPopulateCasttype(dAtA, uint64(v17)) case 1: dAtA = encodeVarintPopulateCasttype(dAtA, uint64(key)) dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) case 2: dAtA = encodeVarintPopulateCasttype(dAtA, uint64(key)) ll := r.Intn(100) dAtA = encodeVarintPopulateCasttype(dAtA, uint64(ll)) for j := 0; j < ll; j++ { dAtA = append(dAtA, byte(r.Intn(256))) } default: dAtA = encodeVarintPopulateCasttype(dAtA, uint64(key)) dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256))) } return dAtA } func encodeVarintPopulateCasttype(dAtA []byte, v uint64) []byte { for v >= 1<<7 { dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80)) v >>= 7 } dAtA = append(dAtA, uint8(v)) return dAtA } func (m *Castaway) Size() (n int) { var l int _ = l if m.Int32Ptr != nil { n += 1 + sovCasttype(uint64(*m.Int32Ptr)) } n += 1 + sovCasttype(uint64(m.Int32)) if m.MyUint64Ptr != nil { n += 1 + sovCasttype(uint64(*m.MyUint64Ptr)) } n += 1 + sovCasttype(uint64(m.MyUint64)) if m.MyFloat32Ptr != nil { n += 5 } n += 5 if m.MyFloat64Ptr != nil { n += 9 } n += 9 if m.MyBytes != nil { l = len(m.MyBytes) n += 1 + l + sovCasttype(uint64(l)) } if m.NormalBytes != nil { l = len(m.NormalBytes) n += 1 + l + sovCasttype(uint64(l)) } if len(m.MyUint64S) > 0 { for _, e := range m.MyUint64S { n += 1 + sovCasttype(uint64(e)) } } if len(m.MyMap) > 0 { for k, v := range m.MyMap { _ = k _ = v mapEntrySize := 1 + len(k) + sovCasttype(uint64(len(k))) + 1 + sovCasttype(uint64(v)) n += mapEntrySize + 1 + sovCasttype(uint64(mapEntrySize)) } } if len(m.MyCustomMap) > 0 { for k, v := range m.MyCustomMap { _ = k _ = v mapEntrySize := 1 + len(k) + sovCasttype(uint64(len(k))) + 1 + sovCasttype(uint64(v)) n += mapEntrySize + 1 + sovCasttype(uint64(mapEntrySize)) } } if len(m.MyNullableMap) > 0 { for k, v := range m.MyNullableMap { _ = k _ = v l = 0 if v != nil { l = v.Size() l += 1 + sovCasttype(uint64(l)) } mapEntrySize := 1 + sovCasttype(uint64(k)) + l n += mapEntrySize + 1 + sovCasttype(uint64(mapEntrySize)) } } if len(m.MyEmbeddedMap) > 0 { for k, v := range m.MyEmbeddedMap { _ = k _ = v l = v.Size() mapEntrySize := 1 + sovCasttype(uint64(k)) + 1 + l + sovCasttype(uint64(l)) n += mapEntrySize + 1 + sovCasttype(uint64(mapEntrySize)) } } if m.String_ != nil { l = len(*m.String_) n += 2 + l + sovCasttype(uint64(l)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func (m *Wilson) Size() (n int) { var l int _ = l if m.Int64 != nil { n += 1 + sovCasttype(uint64(*m.Int64)) } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } return n } func sovCasttype(x uint64) (n int) { for { n++ x >>= 7 if x == 0 { break } } return n } func sozCasttype(x uint64) (n int) { return sovCasttype(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } func (this *Castaway) String() string { if this == nil { return "nil" } keysForMyMap := make([]string, 0, len(this.MyMap)) for k := range this.MyMap { keysForMyMap = append(keysForMyMap, k) } github_com_gogo_protobuf_sortkeys.Strings(keysForMyMap) mapStringForMyMap := "github_com_gogo_protobuf_test_casttype.MyMapType{" for _, k := range keysForMyMap { mapStringForMyMap += fmt.Sprintf("%v: %v,", k, this.MyMap[k]) } mapStringForMyMap += "}" keysForMyCustomMap := make([]string, 0, len(this.MyCustomMap)) for k := range this.MyCustomMap { keysForMyCustomMap = append(keysForMyCustomMap, string(k)) } github_com_gogo_protobuf_sortkeys.Strings(keysForMyCustomMap) mapStringForMyCustomMap := "map[github_com_gogo_protobuf_test_casttype.MyStringType]github_com_gogo_protobuf_test_casttype.MyUint64Type{" for _, k := range keysForMyCustomMap { mapStringForMyCustomMap += fmt.Sprintf("%v: %v,", k, this.MyCustomMap[github_com_gogo_protobuf_test_casttype.MyStringType(k)]) } mapStringForMyCustomMap += "}" keysForMyNullableMap := make([]int32, 0, len(this.MyNullableMap)) for k := range this.MyNullableMap { keysForMyNullableMap = append(keysForMyNullableMap, int32(k)) } github_com_gogo_protobuf_sortkeys.Int32s(keysForMyNullableMap) mapStringForMyNullableMap := "map[github_com_gogo_protobuf_test_casttype.MyInt32Type]*Wilson{" for _, k := range keysForMyNullableMap { mapStringForMyNullableMap += fmt.Sprintf("%v: %v,", k, this.MyNullableMap[github_com_gogo_protobuf_test_casttype.MyInt32Type(k)]) } mapStringForMyNullableMap += "}" keysForMyEmbeddedMap := make([]int32, 0, len(this.MyEmbeddedMap)) for k := range this.MyEmbeddedMap { keysForMyEmbeddedMap = append(keysForMyEmbeddedMap, int32(k)) } github_com_gogo_protobuf_sortkeys.Int32s(keysForMyEmbeddedMap) mapStringForMyEmbeddedMap := "map[github_com_gogo_protobuf_test_casttype.MyInt32Type]Wilson{" for _, k := range keysForMyEmbeddedMap { mapStringForMyEmbeddedMap += fmt.Sprintf("%v: %v,", k, this.MyEmbeddedMap[github_com_gogo_protobuf_test_casttype.MyInt32Type(k)]) } mapStringForMyEmbeddedMap += "}" s := strings.Join([]string{`&Castaway{`, `Int32Ptr:` + valueToStringCasttype(this.Int32Ptr) + `,`, `Int32:` + fmt.Sprintf("%v", this.Int32) + `,`, `MyUint64Ptr:` + valueToStringCasttype(this.MyUint64Ptr) + `,`, `MyUint64:` + fmt.Sprintf("%v", this.MyUint64) + `,`, `MyFloat32Ptr:` + valueToStringCasttype(this.MyFloat32Ptr) + `,`, `MyFloat32:` + fmt.Sprintf("%v", this.MyFloat32) + `,`, `MyFloat64Ptr:` + valueToStringCasttype(this.MyFloat64Ptr) + `,`, `MyFloat64:` + fmt.Sprintf("%v", this.MyFloat64) + `,`, `MyBytes:` + valueToStringCasttype(this.MyBytes) + `,`, `NormalBytes:` + valueToStringCasttype(this.NormalBytes) + `,`, `MyUint64S:` + fmt.Sprintf("%v", this.MyUint64S) + `,`, `MyMap:` + mapStringForMyMap + `,`, `MyCustomMap:` + mapStringForMyCustomMap + `,`, `MyNullableMap:` + mapStringForMyNullableMap + `,`, `MyEmbeddedMap:` + mapStringForMyEmbeddedMap + `,`, `String_:` + valueToStringCasttype(this.String_) + `,`, `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") return s } func (this *Wilson) String() string { if this == nil { return "nil" } s := strings.Join([]string{`&Wilson{`, `Int64:` + valueToStringCasttype(this.Int64) + `,`, `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") return s } func valueToStringCasttype(v interface{}) string { rv := reflect.ValueOf(v) if rv.IsNil() { return "nil" } pv := reflect.Indirect(rv).Interface() return fmt.Sprintf("*%v", pv) } func (m *Castaway) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *Castaway) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.Int32Ptr != nil { dAtA[i] = 0x8 i++ i = encodeVarintCasttype(dAtA, i, uint64(*m.Int32Ptr)) } dAtA[i] = 0x10 i++ i = encodeVarintCasttype(dAtA, i, uint64(m.Int32)) if m.MyUint64Ptr != nil { dAtA[i] = 0x18 i++ i = encodeVarintCasttype(dAtA, i, uint64(*m.MyUint64Ptr)) } dAtA[i] = 0x20 i++ i = encodeVarintCasttype(dAtA, i, uint64(m.MyUint64)) if m.MyFloat32Ptr != nil { dAtA[i] = 0x2d i++ i = encodeFixed32Casttype(dAtA, i, uint32(math.Float32bits(float32(*m.MyFloat32Ptr)))) } dAtA[i] = 0x35 i++ i = encodeFixed32Casttype(dAtA, i, uint32(math.Float32bits(float32(m.MyFloat32)))) if m.MyFloat64Ptr != nil { dAtA[i] = 0x39 i++ i = encodeFixed64Casttype(dAtA, i, uint64(math.Float64bits(float64(*m.MyFloat64Ptr)))) } dAtA[i] = 0x41 i++ i = encodeFixed64Casttype(dAtA, i, uint64(math.Float64bits(float64(m.MyFloat64)))) if m.MyBytes != nil { dAtA[i] = 0x4a i++ i = encodeVarintCasttype(dAtA, i, uint64(len(m.MyBytes))) i += copy(dAtA[i:], m.MyBytes) } if m.NormalBytes != nil { dAtA[i] = 0x52 i++ i = encodeVarintCasttype(dAtA, i, uint64(len(m.NormalBytes))) i += copy(dAtA[i:], m.NormalBytes) } if len(m.MyUint64S) > 0 { for _, num := range m.MyUint64S { dAtA[i] = 0x58 i++ i = encodeVarintCasttype(dAtA, i, uint64(num)) } } if len(m.MyMap) > 0 { for k := range m.MyMap { dAtA[i] = 0x62 i++ v := m.MyMap[k] mapSize := 1 + len(k) + sovCasttype(uint64(len(k))) + 1 + sovCasttype(uint64(v)) i = encodeVarintCasttype(dAtA, i, uint64(mapSize)) dAtA[i] = 0xa i++ i = encodeVarintCasttype(dAtA, i, uint64(len(k))) i += copy(dAtA[i:], k) dAtA[i] = 0x10 i++ i = encodeVarintCasttype(dAtA, i, uint64(v)) } } if len(m.MyCustomMap) > 0 { for k := range m.MyCustomMap { dAtA[i] = 0x6a i++ v := m.MyCustomMap[k] mapSize := 1 + len(k) + sovCasttype(uint64(len(k))) + 1 + sovCasttype(uint64(v)) i = encodeVarintCasttype(dAtA, i, uint64(mapSize)) dAtA[i] = 0xa i++ i = encodeVarintCasttype(dAtA, i, uint64(len(k))) i += copy(dAtA[i:], k) dAtA[i] = 0x10 i++ i = encodeVarintCasttype(dAtA, i, uint64(v)) } } if len(m.MyNullableMap) > 0 { for k := range m.MyNullableMap { dAtA[i] = 0x72 i++ v := m.MyNullableMap[k] msgSize := 0 if v != nil { msgSize = v.Size() msgSize += 1 + sovCasttype(uint64(msgSize)) } mapSize := 1 + sovCasttype(uint64(k)) + msgSize i = encodeVarintCasttype(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintCasttype(dAtA, i, uint64(k)) if v != nil { dAtA[i] = 0x12 i++ i = encodeVarintCasttype(dAtA, i, uint64(v.Size())) n1, err := v.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n1 } } } if len(m.MyEmbeddedMap) > 0 { for k := range m.MyEmbeddedMap { dAtA[i] = 0x7a i++ v := m.MyEmbeddedMap[k] msgSize := 0 if (&v) != nil { msgSize = (&v).Size() msgSize += 1 + sovCasttype(uint64(msgSize)) } mapSize := 1 + sovCasttype(uint64(k)) + msgSize i = encodeVarintCasttype(dAtA, i, uint64(mapSize)) dAtA[i] = 0x8 i++ i = encodeVarintCasttype(dAtA, i, uint64(k)) dAtA[i] = 0x12 i++ i = encodeVarintCasttype(dAtA, i, uint64((&v).Size())) n2, err := (&v).MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n2 } } if m.String_ != nil { dAtA[i] = 0x82 i++ dAtA[i] = 0x1 i++ i = encodeVarintCasttype(dAtA, i, uint64(len(*m.String_))) i += copy(dAtA[i:], *m.String_) } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } func (m *Wilson) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalTo(dAtA) if err != nil { return nil, err } return dAtA[:n], nil } func (m *Wilson) MarshalTo(dAtA []byte) (int, error) { var i int _ = i var l int _ = l if m.Int64 != nil { dAtA[i] = 0x8 i++ i = encodeVarintCasttype(dAtA, i, uint64(*m.Int64)) } if m.XXX_unrecognized != nil { i += copy(dAtA[i:], m.XXX_unrecognized) } return i, nil } func encodeFixed64Casttype(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) dAtA[offset+1] = uint8(v >> 8) dAtA[offset+2] = uint8(v >> 16) dAtA[offset+3] = uint8(v >> 24) dAtA[offset+4] = uint8(v >> 32) dAtA[offset+5] = uint8(v >> 40) dAtA[offset+6] = uint8(v >> 48) dAtA[offset+7] = uint8(v >> 56) return offset + 8 } func encodeFixed32Casttype(dAtA []byte, offset int, v uint32) int { dAtA[offset] = uint8(v) dAtA[offset+1] = uint8(v >> 8) dAtA[offset+2] = uint8(v >> 16) dAtA[offset+3] = uint8(v >> 24) return offset + 4 } func encodeVarintCasttype(dAtA []byte, offset int, v uint64) int { for v >= 1<<7 { dAtA[offset] = uint8(v&0x7f | 0x80) v >>= 7 offset++ } dAtA[offset] = uint8(v) return offset + 1 } func init() { proto.RegisterFile("combos/unsafemarshaler/casttype.proto", fileDescriptorCasttype) } var fileDescriptorCasttype = []byte{ // 701 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xa4, 0x95, 0xbf, 0x6f, 0xd3, 0x40, 0x14, 0xc7, 0x7d, 0x4d, 0xd3, 0x26, 0x97, 0x06, 0xa2, 0x13, 0x83, 0x55, 0x89, 0xb3, 0xd5, 0xaa, 0xc8, 0x03, 0x24, 0x55, 0x1a, 0x95, 0xaa, 0x20, 0x06, 0x57, 0x45, 0x2a, 0xc2, 0x05, 0x19, 0xaa, 0x0a, 0xc4, 0x72, 0x69, 0xdd, 0x34, 0xc2, 0xb1, 0x23, 0xfb, 0x02, 0xf2, 0x56, 0x95, 0x01, 0x89, 0xbf, 0x84, 0x91, 0x05, 0x89, 0x91, 0xb1, 0x63, 0x47, 0xa6, 0xb4, 0x36, 0x4b, 0xd9, 0x3a, 0x56, 0x99, 0xd0, 0xdd, 0x39, 0xb1, 0xfb, 0x03, 0x94, 0xa6, 0xdb, 0xbd, 0xbb, 0xf7, 0x3e, 0xef, 0x7b, 0xef, 0xde, 0xdd, 0xc1, 0xb9, 0x2d, 0xb7, 0x55, 0x77, 0xfd, 0x4a, 0xc7, 0xf1, 0xc9, 0x8e, 0xd5, 0x22, 0x9e, 0xbf, 0x4b, 0x6c, 0xcb, 0xab, 0x6c, 0x11, 0x9f, 0xd2, 0xa0, 0x6d, 0x95, 0xdb, 0x9e, 0x4b, 0x5d, 0x94, 0xeb, 0xdb, 0xd3, 0x0f, 0x1a, 0x4d, 0xba, 0xdb, 0xa9, 0x97, 0xb7, 0xdc, 0x56, 0xa5, 0xe1, 0x36, 0xdc, 0x0a, 0x77, 0xa8, 0x77, 0x76, 0xb8, 0xc5, 0x0d, 0x3e, 0x12, 0x81, 0x33, 0x7f, 0x8a, 0x30, 0xb7, 0x42, 0x7c, 0x4a, 0x3e, 0x92, 0x00, 0xcd, 0xc1, 0xdc, 0x9a, 0x43, 0x17, 0xaa, 0x2f, 0xa9, 0x27, 0x03, 0x15, 0x68, 0x19, 0x3d, 0xdf, 0xeb, 0x2a, 0xd9, 0x26, 0x9b, 0x33, 0x07, 0x4b, 0x68, 0x16, 0x66, 0xf9, 0x58, 0x1e, 0xe3, 0x3e, 0xc5, 0x83, 0xae, 0x22, 0x25, 0x7e, 0x62, 0x0d, 0xbd, 0x81, 0x05, 0x23, 0xd8, 0x68, 0x3a, 0x74, 0xb1, 0xc6, 0x70, 0x19, 0x15, 0x68, 0xe3, 0xfa, 0xc3, 0x5e, 0x57, 0x59, 0xf8, 0xa7, 0x40, 0x6a, 0xf9, 0x34, 0xd9, 0x58, 0x3f, 0xfa, 0x75, 0xd0, 0xb6, 0xcc, 0x34, 0x0b, 0x6d, 0xc2, 0x5c, 0xdf, 0x94, 0xc7, 0x39, 0xf7, 0x51, 0x2c, 0x61, 0x24, 0xf6, 0x00, 0x86, 0xde, 0xc1, 0x29, 0x23, 0x78, 0x6a, 0xbb, 0x24, 0xae, 0x41, 0x56, 0x05, 0xda, 0x98, 0xbe, 0xd4, 0xeb, 0x2a, 0xb5, 0xa1, 0xc1, 0x71, 0x38, 0x27, 0x9f, 0xa3, 0xa1, 0xb7, 0x30, 0x3f, 0xb0, 0xe5, 0x09, 0x8e, 0x7e, 0x1c, 0xeb, 0x1e, 0x0d, 0x9f, 0xe0, 0x52, 0xca, 0x45, 0xb9, 0x27, 0x55, 0xa0, 0x81, 0x51, 0x94, 0xc7, 0x35, 0x39, 0x47, 0x4b, 0x29, 0x5f, 0xac, 0xc9, 0x39, 0x8e, 0x1e, 0x51, 0x79, 0x8c, 0x4f, 0x70, 0xe8, 0x19, 0x9c, 0x34, 0x02, 0x3d, 0xa0, 0x96, 0x2f, 0xe7, 0x55, 0xa0, 0x4d, 0xe9, 0xf3, 0xbd, 0xae, 0x72, 0x7f, 0x48, 0x2a, 0x8f, 0x33, 0xfb, 0x00, 0xa4, 0xc2, 0xc2, 0xba, 0xeb, 0xb5, 0x88, 0x2d, 0x78, 0x90, 0xf1, 0xcc, 0xf4, 0x14, 0xda, 0x60, 0x3b, 0x11, 0xa7, 0xed, 0xcb, 0x05, 0x35, 0x73, 0x93, 0x9e, 0x4c, 0x48, 0xa8, 0x09, 0xb3, 0x46, 0x60, 0x90, 0xb6, 0x3c, 0xa5, 0x66, 0xb4, 0x42, 0xf5, 0x6e, 0x79, 0x10, 0xd1, 0xbf, 0x5b, 0x65, 0xbe, 0xbe, 0xea, 0x50, 0x2f, 0xd0, 0x6b, 0xbd, 0xae, 0x32, 0x3f, 0x74, 0x46, 0x83, 0xb4, 0x79, 0x3a, 0x91, 0x01, 0x7d, 0x07, 0xec, 0x62, 0xad, 0x74, 0x7c, 0xea, 0xb6, 0x58, 0xc6, 0x22, 0xcf, 0x38, 0x7b, 0x65, 0xc6, 0x81, 0x97, 0xc8, 0xeb, 0xec, 0x1f, 0x5d, 0x63, 0xa7, 0xaf, 0xa8, 0xd7, 0x74, 0x1a, 0x2c, 0xf5, 0x97, 0xa3, 0x91, 0x2f, 0xed, 0x40, 0x01, 0xfa, 0x04, 0x60, 0xd1, 0x08, 0xd6, 0x3b, 0xb6, 0x4d, 0xea, 0xb6, 0xc5, 0x94, 0xdf, 0xe2, 0xca, 0xe7, 0xae, 0x54, 0x9e, 0xf2, 0x13, 0xda, 0x17, 0xf7, 0x8f, 0x94, 0xea, 0xd0, 0x22, 0xf8, 0x13, 0xc4, 0x35, 0x9c, 0xcf, 0x89, 0x3e, 0x73, 0x15, 0xab, 0xad, 0xba, 0xb5, 0xbd, 0x6d, 0x6d, 0x33, 0x15, 0xb7, 0xff, 0xa3, 0x22, 0xe5, 0x27, 0x54, 0x2c, 0xb3, 0xae, 0x1f, 0x5d, 0x49, 0x8a, 0x87, 0x5e, 0xc0, 0x09, 0x51, 0x61, 0xb9, 0xa4, 0x02, 0x2d, 0x7f, 0xcd, 0x36, 0x4c, 0x0e, 0xc7, 0x8c, 0x31, 0xd3, 0x4b, 0x10, 0x26, 0x3d, 0x86, 0x4a, 0x30, 0xf3, 0xde, 0x0a, 0xf8, 0x2b, 0x9e, 0x37, 0xd9, 0x10, 0xdd, 0x81, 0xd9, 0x0f, 0xc4, 0xee, 0x58, 0xfc, 0xd5, 0x1e, 0x37, 0x85, 0xb1, 0x3c, 0xb6, 0x04, 0xa6, 0x9f, 0xc0, 0xd2, 0xc5, 0x5e, 0xb9, 0x56, 0xbc, 0x09, 0xd1, 0xe5, 0x13, 0x4b, 0x13, 0xb2, 0x82, 0x70, 0x2f, 0x4d, 0x28, 0x54, 0x4b, 0x49, 0xcd, 0x37, 0x9b, 0xb6, 0xef, 0x3a, 0x97, 0x98, 0x17, 0xeb, 0x7f, 0x33, 0xe6, 0x0c, 0x86, 0x13, 0x62, 0x92, 0xed, 0x65, 0x8d, 0x7f, 0x1f, 0xfc, 0x97, 0x33, 0x85, 0xa1, 0x3f, 0x3f, 0x08, 0xb1, 0x74, 0x18, 0x62, 0xe9, 0x57, 0x88, 0xa5, 0xe3, 0x10, 0x83, 0x93, 0x10, 0x83, 0xd3, 0x10, 0x83, 0xb3, 0x10, 0x83, 0xbd, 0x08, 0x83, 0xaf, 0x11, 0x06, 0xdf, 0x22, 0x0c, 0x7e, 0x44, 0x18, 0xfc, 0x8c, 0x30, 0x38, 0x88, 0xb0, 0x74, 0x18, 0x61, 0xe9, 0x38, 0xc2, 0xe0, 0x24, 0xc2, 0xd2, 0x69, 0x84, 0xc1, 0x59, 0x84, 0xc1, 0xde, 0x6f, 0x2c, 0xfd, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xd8, 0x47, 0x3b, 0xeb, 0xba, 0x07, 0x00, 0x00, }
hodovska/cluster-capacity
vendor/github.com/gogo/protobuf/test/casttype/combos/unsafemarshaler/casttype.pb.go
GO
apache-2.0
72,164
package ru.job4j.polymorphism; /** * Created on 01.09.2017. * * @author Aleks Sidorenko ([email protected]). * @version $Id$. * @since 0.1. */ public class StubInput implements Input { /** * @param answers - array's param. */ private String[] answers; /** * @param position - param count position. */ private int position = 0; /** * Constructor. * @param answers - array's param. */ public StubInput(String[] answers) { this.answers = answers; } /** * Method from interface. * @param question - param of method interface. * @return - string. */ public String ask(String question) { return answers[position++]; } }
AlSidorenko/Junior
chapter_002/src/main/java/ru/job4j/polymorphism/StubInput.java
Java
apache-2.0
747
<html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <title>StringMatchFilter.m_stringRegexToMatch Field</title> <xml> </xml> <link rel="stylesheet" type="text/css" href="MSDN.css" /> </head> <body id="bodyID" class="dtBODY"> <div id="nsbanner"> <div id="bannerrow1"> <table class="bannerparthead" cellspacing="0"> <tr id="hdr"> <td class="runninghead">log4net SDK Reference</td> <td class="product"> </td> </tr> </table> </div> <div id="TitleRow"> <h1 class="dtH1">StringMatchFilter.m_stringRegexToMatch Field </h1> </div> </div> <div id="nstext"> <p> A string regex to match </p> <div class="syntax"> <span class="lang">[Visual Basic]</span> <br />Protected m_stringRegexToMatch As <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemStringClassTopic.asp">String</a></div> <div class="syntax"> <span class="lang">[C#]</span> <br />protected <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemStringClassTopic.asp">string</a> m_stringRegexToMatch;</div> <p> </p> <h4 class="dtH4">Remarks</h4> <p> <span class="missing">Missing &lt;remarks&gt; documentation for F:log4net.Filter.StringMatchFilter.m_stringRegexToMatch</span> </p> <h4 class="dtH4">See Also</h4> <p> <a href="log4net.Filter.StringMatchFilter.html">StringMatchFilter Class</a> | <a href="log4net.Filter.html">log4net.Filter Namespace</a></p> <hr /> <div id="footer"> <p> <a href="http://logging.apache.org/log4net">Copyright 2001-2006 The Apache Software Foundation.</a> </p> <p>Generated from assembly log4net [1.2.10.0]</p> </div> </div> </body> </html>
babaru/log4net
doc/release/sdk/log4net.Filter.StringMatchFilter.m_stringRegexToMatch.html
HTML
apache-2.0
2,061