identifier
stringlengths
42
383
collection
stringclasses
1 value
open_type
stringclasses
1 value
license
stringlengths
0
1.81k
date
float64
1.99k
2.02k
title
stringlengths
0
100
creator
stringlengths
1
39
language
stringclasses
157 values
language_type
stringclasses
2 values
word_count
int64
1
20k
token_count
int64
4
1.32M
text
stringlengths
5
1.53M
__index_level_0__
int64
0
57.5k
https://github.com/Vas-iliy/Yii2-project-comfort/blob/master/backend/controllers/AppController.php
Github Open Source
Open Source
BSD-3-Clause
null
Yii2-project-comfort
Vas-iliy
PHP
Code
143
539
<?php namespace backend\controllers; use Yii; use yii\rest\Controller; use yii\web\BadRequestHttpException; class AppController extends Controller { public static function actionCreate($form, $service, $cache) { if ($form->load(Yii::$app->request->getBodyParams(), '') && $form->validate()) { try { if ($service->create($form)) { Yii::$app->getResponse()->setStatusCode(201); foreach ($cache as $value) { Yii::$app->cache->delete($value); } } } catch (\DomainException $e) { throw new BadRequestHttpException($e->getMessage(), null, $e); } } if ($form->errors) { Yii::$app->getResponse()->setStatusCode(400); } } public static function actionUpdate($form, $service, $id, $cache = null) { if ($form->load(Yii::$app->request->getBodyParams(), '') && $form->validate()) { try { if ($service->edit($id, $form)) { Yii::$app->getResponse()->setStatusCode(201); if ($cache) { foreach ($cache as $value) { Yii::$app->cache->delete($value); } } } } catch (\DomainException $e) { throw new BadRequestHttpException($e->getMessage(), null, $e); } } if ($form->errors) { Yii::$app->getResponse()->setStatusCode(400); } } public static function actionDelete($id, $service, $cache) { try { $service->remove($id); Yii::$app->getResponse()->setStatusCode(202); foreach ($cache as $value) { Yii::$app->cache->delete($value); } } catch (\DomainException $e) { throw new BadRequestHttpException($e->getMessage(), null, $e); } } }
17,016
https://github.com/deshankoswatte/tesb-rt-se/blob/master/examples/tesb/tomcat/reservationservice/service/src/main/java/org/talend/services/reservationservice/service/ReservationServiceImpl.java
Github Open Source
Open Source
Apache-2.0
null
tesb-rt-se
deshankoswatte
Java
Code
680
2,904
/* * #%L * ReservationService Service * %% * Copyright (C) 2011-2020 Talend 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. * #L% */ /** * Please modify this class to meet your needs * This class is not complete */ package org.talend.services.reservationservice.service; import java.util.logging.Logger; //import javax.jws.WebMethod; //import javax.jws.WebParam; //import javax.jws.WebResult; //import javax.jws.WebService; //import javax.jws.soap.SOAPBinding; //import javax.xml.bind.annotation.XmlSeeAlso; import java.math.BigInteger; import org.talend.services.crm.types.CRMStatusType; import org.talend.services.reservation.types.ConfirmationType; import org.talend.services.reservation.types.RESCarListType; import org.talend.services.reservation.types.RESCarType; import org.talend.services.reservation.types.RESProfileType; import org.talend.services.reservation.types.RESStatucCodeType; import org.talend.services.reservation.types.RESStatusType; import org.talend.services.reservation.types.ReservationType; import org.talend.services.reservationservice.ReservationService; /** * This class was generated by Apache CXF 2.4.0-SNAPSHOT * 2011-01-17T11:54:21.894+02:00 * Generated source version: 2.4.0-SNAPSHOT * */ public class ReservationServiceImpl implements ReservationService { private static final Logger LOG = Logger.getLogger(ReservationServiceImpl.class.getName()); private org.talend.services.reservation.types.ObjectFactory resFactory; private org.talend.services.crm.types.ObjectFactory crmFactory; // #################################################### // Constructors // #################################################### public ReservationServiceImpl() { resFactory = new org.talend.services.reservation.types.ObjectFactory(); crmFactory = new org.talend.services.crm.types.ObjectFactory(); } // #################################################### // Public methods // #################################################### /** * {@inheritDoc} */ public org.talend.services.reservation.types.RESCarListType getAvailableCars( org.talend.services.reservation.types.RESProfileType profile) { // logData("getAvailableCars", "request", profile); // Load customer data RESCarListType carList = getListOfAvailableCars(profile); logData("getAvailableCars", "response", carList); return carList; } /** * {@inheritDoc} */ public org.talend.services.reservation.types.ConfirmationType getConfirmationOfReservation( org.talend.services.reservation.types.ReservationType reservation) { // logData("getConfirmationOfReservation", "request", reservation); // Load customer data ConfirmationType status = getCarReservation(reservation); logData("getConfirmationOfReservation", "response", status); return status; } /** * {@inheritDoc} */ public org.talend.services.reservation.types.RESStatusType submitCarReservation( org.talend.services.reservation.types.ReservationType reservation) { // logData("submitCarReservation", "request", reservation); // Load customer data RESStatusType status = startCarReservation(reservation); logData("submitCarReservation", "response", status); return status; } // #################################################### // Private methods // #################################################### private RESCarListType getListOfAvailableCars(RESProfileType profile) { /* * <xsd:enumeration value="NONE" /> <xsd:enumeration value="NORMAL" /> * <xsd:enumeration value="GOLD" /> <xsd:enumeration value="PLATINUM" /> */ RESCarListType carList = resFactory.createRESCarListType(); CRMStatusType status = profile.getCrmStatus(); if (status == CRMStatusType.NONE) { carList.getCar().add( createCar("01-001-00099", "Panda", "Basic", "Fiat", "30.00", "45.00", "25.00")); } else if (status == CRMStatusType.NORMAL) { carList.getCar().add( createCar("01-001-00099", "Panda", "Basic", "Fiat", "30.00", "45.00", "25.00")); carList.getCar().add( createCar("01-002-00079", "Fiesta", "Basic", "Ford", "40.00", "55.00", "35.00")); carList.getCar().add( createCar("01-004-00022", "Golf", "Standard", "VW", "50.00", "75.00", "40.00")); } else if (status == CRMStatusType.GOLD) { carList.getCar().add( createCar("01-002-00079", "Fiesta", "Basic", "Ford", "40.00", "55.00", "35.00")); carList.getCar().add( createCar("01-004-00022", "Golf", "Standard", "VW", "50.00", "75.00", "40.00")); carList.getCar().add( createCar("01-008-00102", "320i", "Sport", "BMW", "60.00", "90.00", "45.00")); carList.getCar().add( createCar("01-015-00002", "MX5", "Sport", "Mazda", "65.00", "95.00", "50.00")); } else if (status == CRMStatusType.PLATINUM) { carList.getCar().add( createCar("01-004-00022", "Golf", "Standard", "VW", "50.00", "75.00", "40.00")); carList.getCar().add( createCar("01-004-00022", "320i", "Sport", "BMW", "60.00", "90.00", "45.00")); carList.getCar().add( createCar("01-004-00022", "MX5", "Sport", "Mazda", "65.00", "95.00", "50.00")); carList.getCar().add( createCar("01-004-00022", "LX400", "SUV", "Lexus", "85.00", "120.00", "100.00")); carList.getCar().add( createCar("01-004-00022", "E320", "Delux", "Mercedes", "95.00", "140.00", "100.00")); } return carList; } private ConfirmationType getCarReservation(ReservationType reservation) { ConfirmationType status = resFactory.createConfirmationType(); status.setCustomer(reservation.getCustomer()); status.setFromDate(reservation.getFromDate()); status.setToDate(reservation.getToDate()); String clazz = reservation.getCar().getClazz(); status.setCreditPoints(new BigInteger("0")); if (clazz.equalsIgnoreCase("BASIC")) { status.setCreditPoints(new BigInteger("120")); } else if (clazz.equalsIgnoreCase("STANDRAD")) { status.setCreditPoints(new BigInteger("180")); } else if (clazz.equalsIgnoreCase("SPORT")) { status.setCreditPoints(new BigInteger("210")); } else if (clazz.equalsIgnoreCase("SUV")) { status.setCreditPoints(new BigInteger("280")); } else if (clazz.equalsIgnoreCase("DELUX")) { status.setCreditPoints(new BigInteger("280")); } // status.setCode(RESStatucCodeType.OK); if (reservation.getReservationId() != null) { status.setReservationId(reservation.getReservationId()); } status.setDescription("Your reservation is booked!"); RESCarType car = reservation.getCar(); status.setCar(car); if (car != null) { // check design model String model = car.getDesignModel(); if ((model != null) && (model.equalsIgnoreCase("GOLF"))) { // // status.setCode(RESStatucCodeType.FAILED); status.setDescription("Your reservation failed! This car is booked by an other customer already."); } } return status; } private RESStatusType startCarReservation(ReservationType reservation) { // RESStatusType status = resFactory.createRESStatusType(); status.setCode(RESStatucCodeType.OK); status.setId(generateID()); status.setDescription("Your reservation is booked!"); return status; } private RESCarType createCar(String id, String designModel, String clazz, String brand, String rateDay, String rateWeekend, String guarantee) { RESCarType car = resFactory.createRESCarType(); car.setCarId(id); car.setBrand(brand); car.setClazz(clazz); car.setDesignModel(designModel); car.setRateDay(rateDay); car.setRateWeekend(rateWeekend); car.setSecurityGuarantee(guarantee); return car; } private void logData(String operation, String option, Object data) { System.out.println("###############################################"); System.out.println(operation + "() invoked ... " + option + " data:"); System.out.println(data); System.out.println("###############################################"); } private static final String generateID() { String string = Long.toString(System.nanoTime()); return "SGA-" + string.substring(string.length() - 6); } }
36,179
https://github.com/JakubStefko/ansii-c/blob/master/1/1.5_Char_IO/main.c
Github Open Source
Open Source
MIT
null
ansii-c
JakubStefko
C
Code
15
51
#include <stdio.h> int main() { char c = getchar(); putchar(c); printf("\n%c\n", c); return 0; }
33,418
https://github.com/tufanbarisyildirim/pop/blob/master/soda/cmd/root.go
Github Open Source
Open Source
MIT
2,020
pop
tufanbarisyildirim
Go
Code
214
655
package cmd import ( "fmt" "os" "path/filepath" "github.com/gobuffalo/pop/v5" "github.com/gobuffalo/pop/v5/internal/defaults" "github.com/spf13/cobra" ) var cfgFile string var env string var version bool // RootCmd is the entry point of soda CLI. var RootCmd = &cobra.Command{ SilenceUsage: true, Short: "A tasty treat for all your database needs", PersistentPreRun: func(c *cobra.Command, args []string) { fmt.Printf("%s\n\n", Version) // CLI flag has priority if !c.PersistentFlags().Changed("env") { env = defaults.String(os.Getenv("GO_ENV"), env) } // TODO! Only do this when the command needs it. setConfigLocation() pop.LoadConfigFile() }, RunE: func(cmd *cobra.Command, args []string) error { if !version { return cmd.Help() } return nil }, } // Execute runs RunCmd. func Execute() { if err := RootCmd.Execute(); err != nil { os.Exit(-1) } } func init() { RootCmd.Flags().BoolVarP(&version, "version", "v", false, "Show version information") RootCmd.PersistentFlags().StringVarP(&cfgFile, "config", "c", "", "The configuration file you would like to use.") RootCmd.PersistentFlags().StringVarP(&env, "env", "e", "development", "The environment you want to run migrations against. Will use $GO_ENV if set.") RootCmd.PersistentFlags().BoolVarP(&pop.Debug, "debug", "d", false, "Use debug/verbose mode") } func setConfigLocation() { if cfgFile != "" { abs, err := filepath.Abs(cfgFile) if err != nil { return } dir, file := filepath.Split(abs) pop.AddLookupPaths(dir) pop.ConfigName = file } } func getConn() *pop.Connection { conn := pop.Connections[env] if conn == nil { fmt.Printf("There is no connection named %s defined!\n", env) os.Exit(1) } return conn }
9,861
https://github.com/10-anasAllawafeh/portfolio/blob/master/tues scribbles/app.js
Github Open Source
Open Source
MIT
null
portfolio
10-anasAllawafeh
JavaScript
Code
95
536
`use strict`; function hline() { document.write(`<br> <hr>`); } // let para=document.createElement(`li`); // ul1.appendChild(para); // para.id=`p1`; async function getData() { let responce= await fetch(`https://eu1.locationiq.com/v1/search.php?key=pk.5fdf7554df7d097ac56a7287ed04a614&q=aqaba&format=json`); // console.log(responce); let data= await responce.json(); console.log(data); let output=``; displayName=data.map((name_1,index) => { let new_name=name_1.display_name.split(",",2); // let new_name2=name_1.display_name.slice(0,26); output += `<li>display_name: ${new_name} || Longitude: ${name_1.lon.slice(0,2)} || Latitude: ${name_1.lat.slice(0,2)}<br><hr></li>`} ); console.log(displayName); document.body.innerHTML=output; // displaylon=data.map((lon_1,index) => output += `<li>Longitude: ${lon_1.lon}</li>`); // document.body.innerHTML=output; // displaylat=data.map((lat_1,index) => output += `<li>Latitude: ${lat_1.lat}</li>`); // document.body.innerHTML=output; } getData(); str=`ahmad went to aqaba Ahmad eated`; ex=new RegExp(/a/i); console.log(str.replace(/a/,`A`)); let x=prompt("num1"); let y=prompt("num2"); console.log(Number(x)+Number(y)); console.log(('b' + 'a' + + 'a' + 'a').toLowerCase());
9,282
https://github.com/pwr-pbrwio/PBR20M2/blob/master/projects/checkstyle/src/test/java/com/puppycrawl/tools/checkstyle/checks/metrics/NPathComplexityCheckTest.java
Github Open Source
Open Source
Apache-2.0
2,022
PBR20M2
pwr-pbrwio
Java
Code
1,170
4,034
//////////////////////////////////////////////////////////////////////////////// // checkstyle: Checks Java source code for adherence to a set of rules. // Copyright (C) 2001-2018 the original author or authors. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //////////////////////////////////////////////////////////////////////////////// package com.puppycrawl.tools.checkstyle.checks.metrics; import static com.puppycrawl.tools.checkstyle.checks.metrics.NPathComplexityCheck.MSG_KEY; import java.io.File; import java.util.Collection; import java.util.Optional; import java.util.SortedSet; import org.junit.Assert; import org.junit.Test; import antlr.CommonHiddenStreamToken; import com.puppycrawl.tools.checkstyle.AbstractModuleTestSupport; import com.puppycrawl.tools.checkstyle.DefaultConfiguration; import com.puppycrawl.tools.checkstyle.JavaParser; import com.puppycrawl.tools.checkstyle.api.Context; import com.puppycrawl.tools.checkstyle.api.DetailAST; import com.puppycrawl.tools.checkstyle.api.LocalizedMessage; import com.puppycrawl.tools.checkstyle.api.TokenTypes; import com.puppycrawl.tools.checkstyle.internal.utils.TestUtil; import com.puppycrawl.tools.checkstyle.utils.CommonUtil; // -@cs[AbbreviationAsWordInName] Can't change check name public class NPathComplexityCheckTest extends AbstractModuleTestSupport { @Override protected String getPackageLocation() { return "com/puppycrawl/tools/checkstyle/checks/metrics/npathcomplexity"; } @Test public void testCalculation() throws Exception { final DefaultConfiguration checkConfig = createModuleConfig(NPathComplexityCheck.class); checkConfig.addAttribute("max", "0"); final String[] expected = { "5:5: " + getCheckMessage(MSG_KEY, 2, 0), "10:17: " + getCheckMessage(MSG_KEY, 2, 0), "22:5: " + getCheckMessage(MSG_KEY, 10, 0), "35:5: " + getCheckMessage(MSG_KEY, 3, 0), "45:5: " + getCheckMessage(MSG_KEY, 7, 0), "63:5: " + getCheckMessage(MSG_KEY, 3, 0), "76:5: " + getCheckMessage(MSG_KEY, 3, 0), "88:5: " + getCheckMessage(MSG_KEY, 3, 0), "104:13: " + getCheckMessage(MSG_KEY, 2, 0), "113:5: " + getCheckMessage(MSG_KEY, 48, 0), "123:5: " + getCheckMessage(MSG_KEY, 1, 0), "124:5: " + getCheckMessage(MSG_KEY, 1, 0), }; verify(checkConfig, getPath("InputNPathComplexityDefault.java"), expected); } @Test public void testCalculation2() throws Exception { final DefaultConfiguration checkConfig = createModuleConfig(NPathComplexityCheck.class); checkConfig.addAttribute("max", "0"); final String[] expected = { "5:5: " + getCheckMessage(MSG_KEY, 5, 0), "11:5: " + getCheckMessage(MSG_KEY, 5, 0), "18:5: " + getCheckMessage(MSG_KEY, 4, 0), "33:5: " + getCheckMessage(MSG_KEY, 4, 0), "49:5: " + getCheckMessage(MSG_KEY, 6, 0), "65:5: " + getCheckMessage(MSG_KEY, 15, 0), "90:5: " + getCheckMessage(MSG_KEY, 11, 0), "100:5: " + getCheckMessage(MSG_KEY, 8, 0), "113:5: " + getCheckMessage(MSG_KEY, 120, 0), "125:5: " + getCheckMessage(MSG_KEY, 6, 0), "135:5: " + getCheckMessage(MSG_KEY, 21, 0), "148:5: " + getCheckMessage(MSG_KEY, 35, 0), "156:5: " + getCheckMessage(MSG_KEY, 25, 0), "171:5: " + getCheckMessage(MSG_KEY, 2, 0), }; verify(checkConfig, getPath("InputNPathComplexity.java"), expected); } @Test public void testIntegerOverflow() throws Exception { final DefaultConfiguration checkConfig = createModuleConfig(NPathComplexityCheck.class); checkConfig.addAttribute("max", "0"); final long largerThanMaxInt = 3_486_784_401L; final String[] expected = { "13:5: " + getCheckMessage(MSG_KEY, largerThanMaxInt, 0), }; verify(checkConfig, getPath("InputNPathComplexityOverflow.java"), expected); } @Test @SuppressWarnings("unchecked") public void testStatefulFieldsClearedOnBeginTree1() throws Exception { final DetailAST ast = new DetailAST(); ast.setType(TokenTypes.LITERAL_ELSE); final NPathComplexityCheck check = new NPathComplexityCheck(); Assert.assertTrue("Stateful field is not cleared after beginTree", TestUtil.isStatefulFieldClearedDuringBeginTree(check, ast, "rangeValues", rangeValues -> ((Collection<Context>) rangeValues).isEmpty())); Assert.assertTrue("Stateful field is not cleared after beginTree", TestUtil.isStatefulFieldClearedDuringBeginTree(check, ast, "expressionValues", expressionValues -> ((Collection<Context>) expressionValues).isEmpty())); } @Test @SuppressWarnings("unchecked") public void testStatefulFieldsClearedOnBeginTree2() throws Exception { final DetailAST ast = new DetailAST(); ast.setType(TokenTypes.LITERAL_RETURN); ast.setLineNo(5); final DetailAST child = new DetailAST(); child.setType(TokenTypes.SEMI); ast.addChild(child); final NPathComplexityCheck check = new NPathComplexityCheck(); Assert.assertTrue("Stateful field is not cleared after beginTree", TestUtil.isStatefulFieldClearedDuringBeginTree(check, ast, "isAfterValues", isAfterValues -> ((Collection<Context>) isAfterValues).isEmpty())); } @Test public void testStatefulFieldsClearedOnBeginTree3() throws Exception { final NPathComplexityCheck check = new NPathComplexityCheck(); final Optional<DetailAST> question = TestUtil.findTokenInAstByPredicate( JavaParser.parseFile(new File(getPath("InputNPathComplexity.java")), JavaParser.Options.WITHOUT_COMMENTS), ast -> ast.getType() == TokenTypes.QUESTION); Assert.assertTrue("Ast should contain QUESTION", question.isPresent()); Assert.assertTrue("State is not cleared on beginTree", TestUtil.isStatefulFieldClearedDuringBeginTree( check, question.get(), "processingTokenEnd", processingTokenEnd -> { try { return (Integer) TestUtil.getClassDeclaredField( processingTokenEnd.getClass(), "endLineNo").get( processingTokenEnd) == 0 && (Integer) TestUtil.getClassDeclaredField( processingTokenEnd.getClass(), "endColumnNo").get( processingTokenEnd) == 0; } catch (IllegalAccessException | NoSuchFieldException ex) { throw new IllegalStateException(ex); } })); } @Test public void testDefaultConfiguration() throws Exception { final DefaultConfiguration checkConfig = createModuleConfig(NPathComplexityCheck.class); createChecker(checkConfig); final String[] expected = CommonUtil.EMPTY_STRING_ARRAY; verify(checkConfig, getPath("InputNPathComplexityDefault.java"), expected); } @Test public void testGetAcceptableTokens() { final NPathComplexityCheck npathComplexityCheckObj = new NPathComplexityCheck(); final int[] actual = npathComplexityCheckObj.getAcceptableTokens(); final int[] expected = { TokenTypes.CTOR_DEF, TokenTypes.METHOD_DEF, TokenTypes.STATIC_INIT, TokenTypes.INSTANCE_INIT, TokenTypes.LITERAL_WHILE, TokenTypes.LITERAL_DO, TokenTypes.LITERAL_FOR, TokenTypes.LITERAL_IF, TokenTypes.LITERAL_ELSE, TokenTypes.LITERAL_SWITCH, TokenTypes.CASE_GROUP, TokenTypes.LITERAL_TRY, TokenTypes.LITERAL_CATCH, TokenTypes.QUESTION, TokenTypes.LITERAL_RETURN, TokenTypes.LITERAL_DEFAULT, }; Assert.assertNotNull("Acceptable tokens should not be null", actual); Assert.assertArrayEquals("Invalid acceptable tokens", expected, actual); } @Test public void testGetRequiredTokens() { final NPathComplexityCheck npathComplexityCheckObj = new NPathComplexityCheck(); final int[] actual = npathComplexityCheckObj.getRequiredTokens(); final int[] expected = { TokenTypes.CTOR_DEF, TokenTypes.METHOD_DEF, TokenTypes.STATIC_INIT, TokenTypes.INSTANCE_INIT, TokenTypes.LITERAL_WHILE, TokenTypes.LITERAL_DO, TokenTypes.LITERAL_FOR, TokenTypes.LITERAL_IF, TokenTypes.LITERAL_ELSE, TokenTypes.LITERAL_SWITCH, TokenTypes.CASE_GROUP, TokenTypes.LITERAL_TRY, TokenTypes.LITERAL_CATCH, TokenTypes.QUESTION, TokenTypes.LITERAL_RETURN, TokenTypes.LITERAL_DEFAULT, }; Assert.assertNotNull("Required tokens should not be null", actual); Assert.assertArrayEquals("Invalid required tokens", expected, actual); } @Test public void testDefaultHooks() { final NPathComplexityCheck npathComplexityCheckObj = new NPathComplexityCheck(); final DetailAST ast = new DetailAST(); ast.initialize(new CommonHiddenStreamToken(TokenTypes.INTERFACE_DEF, "interface")); npathComplexityCheckObj.visitToken(ast); final SortedSet<LocalizedMessage> messages1 = npathComplexityCheckObj.getMessages(); Assert.assertEquals("No exception messages expected", 0, messages1.size()); npathComplexityCheckObj.leaveToken(ast); final SortedSet<LocalizedMessage> messages2 = npathComplexityCheckObj.getMessages(); Assert.assertEquals("No exception messages expected", 0, messages2.size()); } /** * This must be a reflection test as it is too difficult to hit normally and * the responsible code can't be removed without failing tests. * TokenEnd is only used for processingTokenEnd and it is only set during visitConditional * and visitUnitaryOperator. For it to be the same line/column, it must be the exact same * token or a token who has the same line/column as it's child and we visit. We never * visit the same token twice and we are only visiting on very specific tokens. * The line can't be removed or reworked as other tests fail, and regression shows us no * use cases to create a UT for. * @throws Exception if there is an error. */ @Test public void testTokenEndIsAfterSameLineColumn() throws Exception { final NPathComplexityCheck check = new NPathComplexityCheck(); final Object tokenEnd = TestUtil.getClassDeclaredField(NPathComplexityCheck.class, "processingTokenEnd").get(check); final DetailAST token = new DetailAST(); token.setLineNo(0); token.setColumnNo(0); Assert.assertTrue("isAfter must be true for same line/column", (Boolean) TestUtil.getClassDeclaredMethod(tokenEnd.getClass(), "isAfter") .invoke(tokenEnd, token)); } @Test public void testVisitTokenBeforeExpressionRange() { // Create first ast final DetailAST astIf = mockAST(TokenTypes.LITERAL_IF, "if", "mockfile", 2, 2); final DetailAST astIfLeftParen = mockAST(TokenTypes.LPAREN, "(", "mockfile", 3, 3); astIf.addChild(astIfLeftParen); final DetailAST astIfTrue = mockAST(TokenTypes.LITERAL_TRUE, "true", "mockfile", 3, 3); astIf.addChild(astIfTrue); final DetailAST astIfRightParen = mockAST(TokenTypes.RPAREN, ")", "mockfile", 4, 4); astIf.addChild(astIfRightParen); // Create ternary ast final DetailAST astTernary = mockAST(TokenTypes.QUESTION, "?", "mockfile", 1, 1); final DetailAST astTernaryTrue = mockAST(TokenTypes.LITERAL_TRUE, "true", "mockfile", 1, 2); astTernary.addChild(astTernaryTrue); final NPathComplexityCheck npathComplexityCheckObj = new NPathComplexityCheck(); // visiting first ast, set expressionSpatialRange to [2,2 - 4,4] npathComplexityCheckObj.visitToken(astIf); final SortedSet<LocalizedMessage> messages1 = npathComplexityCheckObj.getMessages(); Assert.assertEquals("No exception messages expected", 0, messages1.size()); //visiting ternary, it lies before expressionSpatialRange npathComplexityCheckObj.visitToken(astTernary); final SortedSet<LocalizedMessage> messages2 = npathComplexityCheckObj.getMessages(); Assert.assertEquals("No exception messages expected", 0, messages2.size()); } /** * Creates MOCK lexical token and returns AST node for this token. * @param tokenType type of token * @param tokenText text of token * @param tokenFileName file name of token * @param tokenRow token position in a file (row) * @param tokenColumn token position in a file (column) * @return AST node for the token */ private static DetailAST mockAST(final int tokenType, final String tokenText, final String tokenFileName, final int tokenRow, final int tokenColumn) { final CommonHiddenStreamToken tokenImportSemi = new CommonHiddenStreamToken(); tokenImportSemi.setType(tokenType); tokenImportSemi.setText(tokenText); tokenImportSemi.setLine(tokenRow); tokenImportSemi.setColumn(tokenColumn); tokenImportSemi.setFilename(tokenFileName); final DetailAST astSemi = new DetailAST(); astSemi.initialize(tokenImportSemi); return astSemi; } }
9,975
https://github.com/Xericore/Learnings/blob/master/Net.Petricevic.Learnings.CSharp/Net.Petricevic.Learnings.CSharp.LiskovSubstitutionPrinciple/LSPLibrary/Manager.cs
Github Open Source
Open Source
MIT
null
Learnings
Xericore
C#
Code
53
152
using System; using System.Collections.Generic; using System.Text; namespace Net.Petricevic.Learnings.CSharp.LiskovSubstitutionPrinciple.LSPLibrary { public class Manager : Employee, IManager { public override void CalculatePerHourRate(int rank) { decimal baseAmount = 19.75M; Salary = baseAmount + (rank * 4); } public void GeneratePerformanceReview() { // Simulate reviewing a direct report Console.WriteLine("I'm reviewing a direct report's performance."); } } }
49,112
https://github.com/elwin/rumble/blob/master/src/test/resources/test_files/runtime-spark/DataFrames/CountClause3.jq
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-unknown-license-reference, BSD-3-Clause, MIT, LicenseRef-scancode-other-permissive, BSD-2-Clause, LicenseRef-scancode-warranty-disclaimer
2,021
rumble
elwin
JQ
Spoken
16
40
(:JIQS: ShouldRun; Output="(1, 2, 3)" :) for $i in parallelize((10, 9, 8)) count $i return $i
34,406
https://github.com/korken89/stm32h7xx-hal/blob/master/src/pwr.rs
Github Open Source
Open Source
0BSD
2,022
stm32h7xx-hal
korken89
Rust
Code
1,488
4,327
//! Power Configuration //! //! This module configures the PWR unit to provide the core voltage //! `VCORE`. The voltage scaling mode is fixed at VOS1 (High //! Performance). //! //! When the system starts up, it is in Run* mode. After the call to //! `freeze`, it will be in Run mode. See RM0433 Rev 7 Section 6.6.1 //! "System/D3 domain modes". //! //! # Example //! //! You can also find a simple example [here](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/vos0.rs). //! //! ```rust //! let dp = pac::Peripherals::take().unwrap(); //! //! let pwr = dp.PWR.constrain(); //! let pwrcfg = pwr.freeze(); //! //! assert_eq!(pwrcfg.vos(), VoltageScale::Scale1); //! ``` //! //! # SMPS //! //! Some parts include an integrated Switched Mode Power Supply (SMPS) //! to supply VCORE. For these parts, the method of supplying VCORE //! can be specified. Refer to RM0399 Rev 3 Table 32. for a more //! detailed descriptions of the possible modes. //! //! - Low Dropout Regulator [ldo](Pwr#ldo) //! - Switch Mode Power Supply [smps](Pwr#smps) //! - Bypass [bypass](Pwr#pypass) //! - SMPS Output at 1.8V, then LDO [smps_1v8_feeds_ldo](Pwr#smps_1v8_feeds_ldo) //! - SMPS Output at 2.5V, then LDO [smps_2v5_feeds_ldo](Pwr#smps_2v5_feeds_ldo) //! //! **Note**: Specifying the wrong mode for your hardware will cause //! undefined results. //! //! ```rust //! let dp = pac::Peripherals::take().unwrap(); //! //! let pwr = dp.PWR.constrain(); //! let pwrcfg = pwr.smps().freeze(); //! //! assert_eq!(pwrcfg.vos(), VoltageScale::Scale1); //! ``` //! //! The VCORE supply configuration can only be set once after each //! POR, and this is enforced by hardware. If you add or change the //! power supply method, `freeze` will panic until you power on reset //! your board. use crate::rcc::backup::BackupREC; use crate::stm32::PWR; #[cfg(all( feature = "revision_v", any(feature = "rm0433", feature = "rm0399") ))] use crate::stm32::{RCC, SYSCFG}; #[cfg(all( feature = "rm0433", any(feature = "smps", feature = "example-smps") ))] compile_error!("SMPS configuration fields are not available for RM0433 parts"); /// Extension trait that constrains the `PWR` peripheral pub trait PwrExt { fn constrain(self) -> Pwr; } impl PwrExt for PWR { fn constrain(self) -> Pwr { Pwr { rb: self, #[cfg(any(feature = "smps"))] supply_configuration: SupplyConfiguration::Default, #[cfg(all( feature = "revision_v", any(feature = "rm0433", feature = "rm0399") ))] enable_vos0: false, } } } /// Constrained PWR peripheral /// /// Generated by calling `constrain` on the PAC's PWR peripheral. pub struct Pwr { pub(crate) rb: PWR, #[cfg(any(feature = "smps"))] supply_configuration: SupplyConfiguration, #[cfg(all( feature = "revision_v", any(feature = "rm0433", feature = "rm0399") ))] enable_vos0: bool, } /// Voltage Scale /// /// Represents the voltage range feeding the CPU core. The maximum core /// clock frequency depends on this value. #[derive(Copy, Clone, PartialEq)] pub enum VoltageScale { /// VOS 0 range VCORE 1.26V - 1.40V Scale0, /// VOS 1 range VCORE 1.15V - 1.26V Scale1, /// VOS 2 range VCORE 1.05V - 1.15V Scale2, /// VOS 3 range VCORE 0.95V - 1.05V Scale3, } /// Power Configuration /// /// Generated when the PWR peripheral is frozen. The existence of this /// value indicates that the voltage scaling configuration can no /// longer be changed. pub struct PowerConfiguration { pub(crate) vos: VoltageScale, pub(crate) backup: Option<BackupREC>, } impl PowerConfiguration { /// Gets the `VoltageScale` which was configured by `Pwr::freeze()`. pub fn vos(&self) -> VoltageScale { self.vos } pub fn backup(&mut self) -> Option<BackupREC> { self.backup.take() } } /// SMPS Supply Configuration - Dual Core parts /// /// Refer to RM0399 Rev 3 Table 32. #[cfg(any(feature = "smps"))] enum SupplyConfiguration { Default = 0, LDOSupply, DirectSMPS, SMPSFeedsIntoLDO1V8, SMPSFeedsIntoLDO2V5, // External SMPS loads not supported Bypass, } #[cfg(any(feature = "smps"))] macro_rules! supply_configuration_setter { ($($config:ident: $name:ident, $doc:expr,)*) => { $( #[doc=$doc] pub fn $name(mut self) -> Self { self.supply_configuration = SupplyConfiguration::$config; self } )* }; } // smpslevel / sdlevel macro #[cfg(all(feature = "smps", not(feature = "rm0455")))] macro_rules! smps_level { ($e:expr) => { $e.sdlevel() }; } #[cfg(all(feature = "smps", feature = "rm0455"))] macro_rules! smps_level { ($e:expr) => { $e.smpslevel() }; } #[cfg(all(feature = "smps", not(feature = "rm0455")))] macro_rules! smps_en { ($e:expr) => { $e.sden() }; } #[cfg(all(feature = "smps", feature = "rm0455"))] macro_rules! smps_en { ($e:expr) => { $e.smpsen() }; } #[cfg(not(feature = "rm0455"))] macro_rules! d3cr { ($e:expr) => { $e.d3cr }; } #[cfg(feature = "rm0455")] macro_rules! d3cr { ($e:expr) => { $e.srdcr }; } /// Internal power methods impl Pwr { /// Verify that the lower byte of CR3 reads as written #[cfg(any(feature = "smps"))] fn verify_supply_configuration(&self) { use SupplyConfiguration::*; let error = "Values in lower byte of PWR.CR3 do not match the \ configured power mode. These values can only be set \ once for each POR (Power-on-Reset). Try removing power \ to your board."; match self.supply_configuration { LDOSupply => { assert!( smps_en!(self.rb.cr3.read()).bit_is_clear(), "{}", error ); assert!(self.rb.cr3.read().ldoen().bit_is_set(), "{}", error); } DirectSMPS => { assert!(smps_en!(self.rb.cr3.read()).bit_is_set(), "{}", error); assert!(self.rb.cr3.read().ldoen().bit_is_clear(), "{}", error); } SMPSFeedsIntoLDO1V8 => { assert!(smps_en!(self.rb.cr3.read()).bit_is_set(), "{}", error); assert!(self.rb.cr3.read().ldoen().bit_is_clear(), "{}", error); assert!( smps_level!(self.rb.cr3.read()).bits() == 1, "{}", error ); } SMPSFeedsIntoLDO2V5 => { assert!(smps_en!(self.rb.cr3.read()).bit_is_set(), "{}", error); assert!(self.rb.cr3.read().ldoen().bit_is_clear(), "{}", error); assert!( smps_level!(self.rb.cr3.read()).bits() == 2, "{}", error ); } Bypass => { assert!( smps_en!(self.rb.cr3.read()).bit_is_clear(), "{}", error ); assert!(self.rb.cr3.read().ldoen().bit_is_clear(), "{}", error); assert!(self.rb.cr3.read().bypass().bit_is_set(), "{}", error); } Default => {} // Default configuration is NOT verified } } /// Transition between voltage scaling levels using the D3CR / SRDCR /// register /// /// Does NOT implement overdrive (back-bias) fn voltage_scaling_transition(&self, new_scale: VoltageScale) { d3cr!(self.rb).write(|w| unsafe { // Manually set field values for each family w.vos().bits( #[cfg(any(feature = "rm0433", feature = "rm0399"))] match new_scale { // RM0433 Rev 7 6.8.6 VoltageScale::Scale3 => 0b01, VoltageScale::Scale2 => 0b10, VoltageScale::Scale1 => 0b11, _ => unimplemented!(), }, #[cfg(feature = "rm0455")] match new_scale { // RM0455 Rev 3 6.8.6 VoltageScale::Scale3 => 0b00, VoltageScale::Scale2 => 0b01, VoltageScale::Scale1 => 0b10, VoltageScale::Scale0 => 0b11, }, #[cfg(feature = "rm0468")] match new_scale { // RM0468 Rev 2 6.8.6 VoltageScale::Scale0 => 0b00, VoltageScale::Scale3 => 0b01, VoltageScale::Scale2 => 0b10, VoltageScale::Scale1 => 0b11, }, ) }); while d3cr!(self.rb).read().vosrdy().bit_is_clear() {} } } /// Builder methods impl Pwr { #[cfg(any(feature = "smps"))] supply_configuration_setter! { LDOSupply: ldo, "VCORE power domains supplied from the LDO. \ LDO voltage adjusted by VOS. \ LDO power mode will follow the system \ low-power mode.", DirectSMPS: smps, "VCORE power domains are supplied from the \ SMPS step-down converter. SMPS output voltage \ adjusted by VOS. SMPS power mode will follow \ the system low-power mode", Bypass: bypass, "VCORE is supplied from an external source", SMPSFeedsIntoLDO1V8: smps_1v8_feeds_ldo, "VCORE power domains supplied from the LDO. \ LDO voltage adjusted by VOS. \ LDO power mode will follow the system \ low-power mode. SMPS output voltage set to \ 1.8V. SMPS power mode will follow \ the system low-power mode", SMPSFeedsIntoLDO2V5: smps_2v5_feeds_ldo, "VCORE power domains supplied from the LDO. \ LDO voltage adjusted by VOS. \ LDO power mode will follow the system \ low-power mode. SMPS output voltage set to \ 2.5V. SMPS power mode will follow \ the system low-power mode", } #[cfg(all( feature = "revision_v", any(feature = "rm0433", feature = "rm0399") ))] pub fn vos0(mut self, _: &SYSCFG) -> Self { self.enable_vos0 = true; self } pub fn freeze(self) -> PowerConfiguration { // NB. The lower bytes of CR3 can only be written once after // POR, and must be written with a valid combination. Refer to // RM0433 Rev 7 6.8.4. This is partially enforced by dropping // `self` at the end of this method, but of course we cannot // know what happened between the previous POR and here. #[cfg(not(feature = "smps"))] self.rb.cr3.modify(|_, w| { w.scuen().set_bit().ldoen().set_bit().bypass().clear_bit() }); #[cfg(any(feature = "smps"))] self.rb.cr3.modify(|_, w| { use SupplyConfiguration::*; match self.supply_configuration { LDOSupply => smps_en!(w).clear_bit().ldoen().set_bit(), DirectSMPS => smps_en!(w).set_bit().ldoen().clear_bit(), SMPSFeedsIntoLDO1V8 => unsafe { let reg = smps_en!(w).set_bit().ldoen().set_bit(); smps_level!(reg).bits(1) }, SMPSFeedsIntoLDO2V5 => unsafe { let reg = smps_en!(w).set_bit().ldoen().set_bit(); smps_level!(reg).bits(2) }, Bypass => smps_en!(w) .clear_bit() .ldoen() .clear_bit() .bypass() .set_bit(), Default => { // Default configuration. The actual reset value of // CR3 varies between packages (See RM0399 Section // 7.8.4 Footnote 2). Therefore we do not modify // anything here. w } } }); // Verify supply configuration, panics if these values read // from CR3 do not match those written. #[cfg(any(feature = "smps"))] self.verify_supply_configuration(); // Validate the supply configuration. If you are stuck here, it is // because the voltages on your board do not match those specified // in the D3CR.VOS and CR3.SDLEVEL fields. By default after reset // VOS = Scale 3, so check that the voltage on the VCAP pins = // 1.0V. while self.rb.csr1.read().actvosrdy().bit_is_clear() {} // We have now entered Run mode. See RM0433 Rev 7 Section 6.6.1 // go to VOS1 voltage scale for high performance self.voltage_scaling_transition(VoltageScale::Scale1); #[allow(unused_mut)] let mut vos = VoltageScale::Scale1; // Enable overdrive for maximum clock // Syscfgen required to set enable overdrive #[cfg(all( feature = "revision_v", any(feature = "rm0433", feature = "rm0399") ))] if self.enable_vos0 { unsafe { &(*RCC::ptr()).apb4enr.modify(|_, w| w.syscfgen().enabled()) }; #[cfg(any(feature = "smps"))] unsafe { &(*SYSCFG::ptr()).pwrcr.modify(|_, w| w.oden().set_bit()) }; #[cfg(not(any(feature = "smps")))] unsafe { &(*SYSCFG::ptr()).pwrcr.modify(|_, w| w.oden().bits(1)) }; while d3cr!(self.rb).read().vosrdy().bit_is_clear() {} vos = VoltageScale::Scale0; } // Disable backup power domain write protection self.rb.cr1.modify(|_, w| w.dbp().set_bit()); let backup = unsafe { BackupREC::new_singleton() }; PowerConfiguration { vos, backup: Some(backup), } } }
10,919
https://github.com/AntoineGa/vscode-kubernetes-tools/blob/master/src/components/config/config.ts
Github Open Source
Open Source
MIT
null
vscode-kubernetes-tools
AntoineGa
TypeScript
Code
251
995
import * as vscode from 'vscode'; const EXTENSION_CONFIG_KEY = "vs-kubernetes"; const KUBECONFIG_PATH_KEY = "vs-kubernetes.kubeconfig"; const KNOWN_KUBECONFIGS_KEY = "vs-kubernetes.knownKubeconfigs"; export async function addPathToConfig(configKey: string, value: string): Promise<void> { const config = vscode.workspace.getConfiguration().inspect(EXTENSION_CONFIG_KEY); await addPathToConfigAtScope(configKey, value, vscode.ConfigurationTarget.Global, config.globalValue, true); await addPathToConfigAtScope(configKey, value, vscode.ConfigurationTarget.Workspace, config.workspaceValue, false); await addPathToConfigAtScope(configKey, value, vscode.ConfigurationTarget.WorkspaceFolder, config.workspaceFolderValue, false); } async function addPathToConfigAtScope(configKey: string, value: string, scope: vscode.ConfigurationTarget, valueAtScope: any, createIfNotExist: boolean): Promise<void> { if (!createIfNotExist) { if (!valueAtScope || !(valueAtScope[configKey])) { return; } } let newValue: any = {}; if (valueAtScope) { newValue = Object.assign({}, valueAtScope); } newValue[configKey] = value; await vscode.workspace.getConfiguration().update(EXTENSION_CONFIG_KEY, newValue, scope); } async function addValueToConfigArray(configKey: string, value: string): Promise<void> { const config = vscode.workspace.getConfiguration().inspect(EXTENSION_CONFIG_KEY); await addValueToConfigArrayAtScope(configKey, value, vscode.ConfigurationTarget.Global, config.globalValue, true); await addValueToConfigArrayAtScope(configKey, value, vscode.ConfigurationTarget.Workspace, config.workspaceValue, false); await addValueToConfigArrayAtScope(configKey, value, vscode.ConfigurationTarget.WorkspaceFolder, config.workspaceFolderValue, false); } async function addValueToConfigArrayAtScope(configKey: string, value: string, scope: vscode.ConfigurationTarget, valueAtScope: any, createIfNotExist: boolean): Promise<void> { if (!createIfNotExist) { if (!valueAtScope || !(valueAtScope[configKey])) { return; } } let newValue: any = {}; if (valueAtScope) { newValue = Object.assign({}, valueAtScope); } const arrayEntry: string[] = newValue[configKey] || []; arrayEntry.push(value); newValue[configKey] = arrayEntry; await vscode.workspace.getConfiguration().update(EXTENSION_CONFIG_KEY, newValue, scope); } // Functions for working with the list of known kubeconfigs export function getKnownKubeconfigs(): string[] { const kkcConfig = vscode.workspace.getConfiguration(EXTENSION_CONFIG_KEY)[KNOWN_KUBECONFIGS_KEY]; if (!kkcConfig || !kkcConfig.length) { return []; } return kkcConfig as string[]; } export async function addKnownKubeconfig(kubeconfigPath: string) { await addValueToConfigArray(KNOWN_KUBECONFIGS_KEY, kubeconfigPath); } // Functions for working with the active kubeconfig setting export async function setActiveKubeconfig(kubeconfig: string): Promise<void> { await addPathToConfig(KUBECONFIG_PATH_KEY, kubeconfig); } export function getActiveKubeconfig(): string { return vscode.workspace.getConfiguration(EXTENSION_CONFIG_KEY)[KUBECONFIG_PATH_KEY]; }
12,273
https://github.com/mrjavoman/Image-Super-Resolution-via-Iterative-Refinement/blob/master/infer.py
Github Open Source
Open Source
Apache-2.0
2,021
Image-Super-Resolution-via-Iterative-Refinement
mrjavoman
Python
Code
240
1,034
import torch import data as Data import model as Model import argparse import logging import core.logger as Logger import core.metrics as Metrics from tensorboardX import SummaryWriter import os import numpy as np if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument('-c', '--config', type=str, default='config/sr_sr3_64_512.json', help='JSON file for configuration') parser.add_argument('-p', '--phase', type=str, choices=['val'], help='val(generation)', default='val') parser.add_argument('-gpu', '--gpu_ids', type=str, default=None) parser.add_argument('-debug', '-d', action='store_true') # parse configs args = parser.parse_args() opt = Logger.parse(args) # Convert to NoneDict, which return None for missing key. opt = Logger.dict_to_nonedict(opt) # logging torch.backends.cudnn.enabled = True torch.backends.cudnn.benchmark = True Logger.setup_logger(None, opt['path']['log'], 'train', level=logging.INFO, screen=True) Logger.setup_logger('val', opt['path']['log'], 'val', level=logging.INFO) logger = logging.getLogger('base') logger.info(Logger.dict2str(opt)) tb_logger = SummaryWriter(log_dir=opt['path']['tb_logger']) # dataset for phase, dataset_opt in opt['datasets'].items(): if phase == 'val': val_set = Data.create_dataset(dataset_opt, phase) val_loader = Data.create_dataloader( val_set, dataset_opt, phase) logger.info('Initial Dataset Finished') # model diffusion = Model.create_model(opt) logger.info('Initial Model Finished') diffusion.set_new_noise_schedule( opt['model']['beta_schedule']['val'], schedule_phase='val') logger.info('Begin Model Inference.') current_step = 0 current_epoch = 0 idx = 0 result_path = '{}'.format(opt['path']['results']) os.makedirs(result_path, exist_ok=True) for _, val_data in enumerate(val_loader): idx += 1 diffusion.feed_data(val_data) diffusion.test(continous=True) visuals = diffusion.get_current_visuals(need_LR=False) hr_img = Metrics.tensor2img(visuals['HR']) # uint8 fake_img = Metrics.tensor2img(visuals['INF']) # uint8 sr_img_mode = 'grid' if sr_img_mode == 'single': # single img series sr_img = visuals['SR'] # uint8 sample_num = sr_img.shape[0] for iter in range(0, sample_num): Metrics.save_img( Metrics.tensor2img(sr_img[iter]), '{}/{}_{}_sr_{}.png'.format(result_path, current_step, idx, iter)) else: # grid img sr_img = Metrics.tensor2img(visuals['SR']) # uint8 Metrics.save_img( sr_img, '{}/{}_{}_sr_process.png'.format(result_path, current_step, idx)) Metrics.save_img( Metrics.tensor2img(visuals['SR'][-1]), '{}/{}_{}_sr.png'.format(result_path, current_step, idx)) Metrics.save_img( hr_img, '{}/{}_{}_hr.png'.format(result_path, current_step, idx)) Metrics.save_img( fake_img, '{}/{}_{}_inf.png'.format(result_path, current_step, idx))
26,331
https://github.com/zrwusa/expo-react-bunny-bare/blob/master/src/components/Sys/Sys.tsx
Github Open Source
Open Source
MIT
null
expo-react-bunny-bare
zrwusa
TypeScript
Code
140
494
import React, {useEffect, useState} from "react"; import {Text, TextButton, TextInput, View} from "../UI"; import {useDispatch, useSelector} from "react-redux"; import {RootState} from "../../types"; import {useSizeLabor} from "../../providers/size-labor"; import {useThemeLabor} from "../../providers/theme-labor"; import {getStyles} from "./styles"; import {sysClearErrors} from "../../store/actions"; import {Row} from "../../containers/Row"; interface Props { title?: string } const Sys = ({title}: Props) => { const sysState = useSelector((store: RootState) => store.sysState); const [isShow, setIsShow] = useState(false) const sizeLabor = useSizeLabor(); const themeLabor = useThemeLabor(); const styles = getStyles(sizeLabor, themeLabor); const dispatch = useDispatch(); useEffect(() => { setIsShow(sysState.errors.length > 0) }, [JSON.stringify(sysState.errors)]) return ( isShow ? <View style={styles.errorConsole}> <Text>{title}</Text> { (sysState.errors || sysState.warns) ? <View> <TextInput style={styles.errorText} multiline editable={false} value={sysState.errors.join('\n').toString() || sysState.warns.toString()}/> </View> : <></> } <Row style={styles.buttonBox}> <TextButton onPress={() => { dispatch(sysClearErrors({all: true})) }}><Text>Clear</Text></TextButton> <TextButton onPress={() => { setIsShow(false) }}><Text>Close</Text></TextButton> </Row> </View> : null ); } export default Sys;
28,797
https://github.com/aulneau/unified-vscode/blob/master/src/shiki/data/extraGrammars/TOML.tmLanguage
Github Open Source
Open Source
MIT
2,020
unified-vscode
aulneau
XML Property List
Code
502
4,346
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>fileTypes</key> <array> <string>toml</string> <string>tml</string> </array> <key>name</key> <string>TOML</string> <key>patterns</key> <array> <dict> <key>include</key> <string>#comments</string> </dict> <dict> <key>include</key> <string>#tables</string> </dict> <dict> <key>include</key> <string>#keys</string> </dict> </array> <key>repository</key> <dict> <key>array</key> <dict> <key>begin</key> <string>(?&lt;!\w)(\[)\s*</string> <key>beginCaptures</key> <dict> <key>1</key> <dict> <key>name</key> <string>punctuation.definition.array.toml</string> </dict> </dict> <key>comment</key> <string>Array</string> <key>end</key> <string>\s*(\])(?!\w)</string> <key>endCaptures</key> <dict> <key>1</key> <dict> <key>name</key> <string>punctuation.definition.array.toml</string> </dict> </dict> <key>patterns</key> <array> <dict> <key>include</key> <string>#comments</string> </dict> <dict> <key>include</key> <string>#dataTypes</string> </dict> </array> </dict> <key>boolean</key> <dict> <key>captures</key> <dict> <key>1</key> <dict> <key>name</key> <string>constant.other.boolean.toml</string> </dict> </dict> <key>comment</key> <string>Boolean</string> <key>match</key> <string>(?&lt;!\w)(true|false)(?!\w)</string> </dict> <key>comments</key> <dict> <key>captures</key> <dict> <key>1</key> <dict> <key>name</key> <string>comment.line.number-sign.toml</string> </dict> <key>2</key> <dict> <key>name</key> <string>punctuation.definition.comment.toml</string> </dict> </dict> <key>comment</key> <string>Comments</string> <key>match</key> <string>\s*((#).*)$</string> </dict> <key>dataTypes</key> <dict> <key>patterns</key> <array> <dict> <key>include</key> <string>#inlinetable</string> </dict> <dict> <key>include</key> <string>#array</string> </dict> <dict> <key>include</key> <string>#string</string> </dict> <dict> <key>include</key> <string>#dateTimeWithTz</string> </dict> <dict> <key>include</key> <string>#dateTime</string> </dict> <dict> <key>include</key> <string>#date</string> </dict> <dict> <key>include</key> <string>#float</string> </dict> <dict> <key>include</key> <string>#integer</string> </dict> <dict> <key>include</key> <string>#boolean</string> </dict> </array> </dict> <key>dateTimeWithTz</key> <dict> <key>captures</key> <dict> <key>1</key> <dict> <key>name</key> <string>constant.other.datetime-with-timezone.toml</string> </dict> </dict> <key>comment</key> <string>DateTime</string> <key>match</key> <string>(?&lt;!\w)(\d{4}\-\d{2}\-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[\+\-]\d{2}:\d{2}))(?!\w)</string> </dict> <key>dateTime</key> <dict> <key>captures</key> <dict> <key>1</key> <dict> <key>name</key> <string>constant.other.datetime.toml</string> </dict> </dict> <key>comment</key> <string>DateTime</string> <key>match</key> <string>(\d{4}\-\d{2}\-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?)</string> </dict> <key>date</key> <dict> <key>captures</key> <dict> <key>1</key> <dict> <key>name</key> <string>constant.other.date.toml</string> </dict> </dict> <key>comment</key> <string>DateTime</string> <key>match</key> <string>(\d{4}\-\d{2}\-\d{2})</string> </dict> <key>float</key> <dict> <key>captures</key> <dict> <key>1</key> <dict> <key>name</key> <string>constant.numeric.float.toml</string> </dict> </dict> <key>comment</key> <string>Float, decimal and exponential representation</string> <key>match</key> <string>(?&lt;!\w)([\+\-]?(0|([1-9](([0-9]|_[0-9])+)?))(?:(?:\.(0|([1-9](([0-9]|_[0-9])+)?)))?[eE][\+\-]?[1-9]_?[0-9]*|(?:\.[0-9_]*)))(?!\w)</string> </dict> <key>illegal</key> <dict> <key>captures</key> <dict> <key>1</key> <dict> <key>name</key> <string>invalid.illegal.toml</string> </dict> </dict> <key>comment</key> <string>Invalid things -&gt; everything unmatched</string> <key>match</key> <string>(.*)</string> </dict> <key>inlinetable</key> <dict> <key>begin</key> <string>(?&lt;!\w)(\{)\s*</string> <key>beginCaptures</key> <dict> <key>1</key> <dict> <key>name</key> <string>punctuation.definition.inlinetable.toml</string> </dict> </dict> <key>end</key> <string>\s*(\})(?!\w)</string> <key>endCaptures</key> <dict> <key>1</key> <dict> <key>name</key> <string>punctuation.definition.inlinetable.toml</string> </dict> </dict> <key>patterns</key> <array> <dict> <key>include</key> <string>#keys</string> </dict> <dict> <key>include</key> <string>#dataTypes</string> </dict> </array> </dict> <key>integer</key> <dict> <key>captures</key> <dict> <key>1</key> <dict> <key>name</key> <string>constant.numeric.integer.toml</string> </dict> </dict> <key>comment</key> <string>Integer (with and without + and - prefixes)</string> <key>match</key> <string>(?&lt;!\w)((?:[\+\-]?(0|([1-9](([0-9]|_[0-9])+)?))))(?!\w)</string> </dict> <key>keys</key> <dict> <key>comment</key> <string>Key-value-pairs</string> <key>patterns</key> <array> <dict> <key>comment</key> <string>Assignments without key are invalid</string> <key>match</key> <string>(\s*=.*)$</string> <key>name</key> <string>invalid.illegal.noKeyDefined.toml</string> </dict> <dict> <key>comment</key> <string>Assignments without value are unusual</string> <key>match</key> <string>(\s*[A-Za-z_\-][A-Za-z0-9_\-]*\s*=)(?=\s*$)</string> <key>name</key> <string>invalid.deprecated.noValueGiven.toml</string> </dict> <dict> <key>begin</key> <string>\s*([A-Za-z_-][A-Za-z0-9_-]*|".+"|'.+'|[0-9]+)\s*(=)\s*</string> <key>beginCaptures</key> <dict> <key>1</key> <dict> <key>name</key> <string>keyword.key.toml</string> </dict> <key>2</key> <dict> <key>name</key> <string>punctuation.definition.keyValuePair.toml</string> </dict> </dict> <key>end</key> <string>($|(?==)|\,|\s*(?=\}))</string> <key>patterns</key> <array> <dict> <key>include</key> <string>#comments</string> </dict> <dict> <key>include</key> <string>#dataTypes</string> </dict> <dict> <key>include</key> <string>#illegal</string> </dict> </array> </dict> </array> </dict> <key>string</key> <dict> <key>patterns</key> <array> <dict> <key>begin</key> <string>'''</string> <key>comment</key> <string>literal string block (no escape sequences)</string> <key>end</key> <string>'''</string> <key>name</key> <string>string.quoted.triple.literal.block.toml</string> </dict> <dict> <key>comment</key> <string>literal string line (no escape sequences)</string> <key>match</key> <string>'.*?'</string> <key>name</key> <string>string.quoted.single.literal.line.toml</string> </dict> <dict> <key>begin</key> <string>"""</string> <key>comment</key> <string>basic string block</string> <key>end</key> <string>"""</string> <key>name</key> <string>string.quoted.triple.basic.block.toml</string> <key>patterns</key> <array> <dict> <key>match</key> <string>\\([btnfr"\\ \n]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})</string> <key>name</key> <string>constant.character.escape.toml</string> </dict> <dict> <key>match</key> <string>\\[^btnfr"\\\n]</string> <key>name</key> <string>invalid.illegal.escape.toml</string> </dict> </array> </dict> <dict> <key>comment</key> <string>basic string line</string> <key>match</key> <string>"[^"\\]*(?:\\.[^"\\]*)*"</string> <key>name</key> <string>string.quoted.single.basic.line.toml</string> </dict> </array> </dict> <key>tables</key> <dict> <key>patterns</key> <array> <dict> <key>captures</key> <dict> <key>1</key> <dict> <key>name</key> <string>punctuation.definition.table.toml</string> </dict> <key>2</key> <dict> <key>patterns</key> <array> <dict> <key>match</key> <string>[^\s.]+</string> <key>name</key> <string>entity.other.attribute-name.table.toml</string> </dict> </array> </dict> <key>3</key> <dict> <key>name</key> <string>punctuation.definition.table.toml</string> </dict> </dict> <key>match</key> <string>^\s*(\[)([^\[\]]*)(\])</string> <key>name</key> <string>meta.tag.table.toml</string> </dict> <dict> <key>captures</key> <dict> <key>1</key> <dict> <key>name</key> <string>punctuation.definition.table.array.toml</string> </dict> <key>2</key> <dict> <key>patterns</key> <array> <dict> <key>match</key> <string>[^\s.]+</string> <key>name</key> <string>entity.other.attribute-name.table.array.toml</string> </dict> </array> </dict> <key>3</key> <dict> <key>name</key> <string>punctuation.definition.table.array.toml</string> </dict> </dict> <key>match</key> <string>^\s*(\[\[)([^\[\]]*)(\]\])</string> <key>name</key> <string>meta.tag.table.array.toml</string> </dict> </array> </dict> </dict> <key>scopeName</key> <string>source.toml</string> <key>uuid</key> <string>ffffeb76-439f-4c5e-b60f-d8a13606d63d</string> </dict> </plist>
18,687
https://github.com/yuri410/rpg/blob/master/external/DirectXShaderCompiler/test/Transforms/AlignmentFromAssumptions/start-unk.ll
Github Open Source
Open Source
NCSA, LicenseRef-scancode-unknown-license-reference
2,020
rpg
yuri410
LLVM
Code
552
1,977
; RUN: opt -alignment-from-assumptions -S < %s | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %type1 = type { %type2 } %type2 = type { [4 x i8] } ; Function Attrs: nounwind declare void @llvm.assume(i1) #0 ; Function Attrs: nounwind readnone declare i32 @llvm.bswap.i32(i32) #1 ; Function Attrs: nounwind uwtable define void @test1() unnamed_addr #2 align 2 { ; CHECK-LABEL: @test1 entry: br i1 undef, label %if.then, label %if.end if.then: ; preds = %entry unreachable if.end: ; preds = %entry br i1 undef, label %return, label %if.end8 if.end8: ; preds = %if.end br i1 undef, label %if.then13, label %if.end14 if.then13: ; preds = %if.end8 unreachable if.end14: ; preds = %if.end8 br i1 undef, label %cond.false.i129, label %cond.end.i136 cond.false.i129: ; preds = %if.end14 unreachable cond.end.i136: ; preds = %if.end14 br i1 undef, label %land.lhs.true.i, label %if.end.i145 land.lhs.true.i: ; preds = %cond.end.i136 br i1 undef, label %if.end.i145, label %if.then.i137 if.then.i137: ; preds = %land.lhs.true.i br i1 undef, label %cond.false8.i, label %cond.end9.i cond.false8.i: ; preds = %if.then.i137 unreachable cond.end9.i: ; preds = %if.then.i137 br i1 undef, label %if.then23, label %if.end24 if.end.i145: ; preds = %land.lhs.true.i, %cond.end.i136 unreachable if.then23: ; preds = %cond.end9.i unreachable if.end24: ; preds = %cond.end9.i br i1 undef, label %for.end, label %for.body.lr.ph for.body.lr.ph: ; preds = %if.end24 unreachable for.end: ; preds = %if.end24 br i1 undef, label %if.end123, label %if.then121 if.then121: ; preds = %for.end unreachable if.end123: ; preds = %for.end br i1 undef, label %if.end150, label %if.then126 if.then126: ; preds = %if.end123 %ptrint.i.i185 = ptrtoint %type1* undef to i64 %maskedptr.i.i186 = and i64 %ptrint.i.i185, 1 %maskcond.i.i187 = icmp eq i64 %maskedptr.i.i186, 0 tail call void @llvm.assume(i1 %maskcond.i.i187) #0 %ret.0..sroa_cast.i.i188 = bitcast %type1* undef to i32* %ret.0.copyload.i.i189 = load i32, i32* %ret.0..sroa_cast.i.i188, align 2 ; CHECK: load {{.*}} align 2 %0 = tail call i32 @llvm.bswap.i32(i32 %ret.0.copyload.i.i189) #0 %conv131 = zext i32 %0 to i64 %add.ptr132 = getelementptr inbounds i8, i8* undef, i64 %conv131 %1 = bitcast i8* %add.ptr132 to %type1* br i1 undef, label %if.end150, label %if.end.i173 if.end.i173: ; preds = %if.then126 br i1 undef, label %test1.exit, label %cond.false.i.i.i.i174 cond.false.i.i.i.i174: ; preds = %if.end.i173 unreachable test1.exit: ; preds = %if.end.i173 br i1 undef, label %test1a.exit, label %if.end.i124 if.end.i124: ; preds = %test1.exit unreachable test1a.exit: ; preds = %test1.exit br i1 undef, label %if.end150, label %for.body137.lr.ph for.body137.lr.ph: ; preds = %test1a.exit br label %for.body137 for.body137: ; preds = %test1b.exit, %for.body137.lr.ph %ShndxTable.0309 = phi %type1* [ %1, %for.body137.lr.ph ], [ %incdec.ptr, %test1b.exit ] %ret.0..sroa_cast.i.i106 = bitcast %type1* %ShndxTable.0309 to i32* br i1 undef, label %for.body137.if.end146_crit_edge, label %if.then140 for.body137.if.end146_crit_edge: ; preds = %for.body137 %incdec.ptr = getelementptr inbounds %type1, %type1* %ShndxTable.0309, i64 1 br i1 undef, label %cond.false.i70, label %cond.end.i if.then140: ; preds = %for.body137 %ret.0.copyload.i.i102 = load i32, i32* %ret.0..sroa_cast.i.i106, align 2 ; CHECK: load {{.*}} align 2 unreachable cond.false.i70: ; preds = %for.body137.if.end146_crit_edge unreachable cond.end.i: ; preds = %for.body137.if.end146_crit_edge br i1 undef, label %test1b.exit, label %cond.false.i.i cond.false.i.i: ; preds = %cond.end.i unreachable test1b.exit: ; preds = %cond.end.i br i1 undef, label %if.end150, label %for.body137 if.end150: ; preds = %test1b.exit, %test1a.exit, %if.then126, %if.end123 br i1 undef, label %for.end176, label %for.body155.lr.ph for.body155.lr.ph: ; preds = %if.end150 unreachable for.end176: ; preds = %if.end150 unreachable return: ; preds = %if.end ret void } attributes #0 = { nounwind } attributes #1 = { nounwind readnone } attributes #2 = { nounwind uwtable }
36,144
https://github.com/poliver/androidx/blob/master/work/workmanager-multiprocess/src/androidTest/java/androidx/work/multiprocess/ParcelableDataTest.kt
Github Open Source
Open Source
Apache-2.0
null
androidx
poliver
Kotlin
Code
233
665
/* * Copyright 2020 The Android Open Source Project * * 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 androidx.work.multiprocess import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.filters.SmallTest import androidx.work.Data import androidx.work.multiprocess.parcelable.ParcelConverters import androidx.work.multiprocess.parcelable.ParcelableData import org.junit.Assert.assertEquals import org.junit.Test import org.junit.runner.RunWith @RunWith(AndroidJUnit4::class) public class ParcelableDataTest { @Test @SmallTest public fun testParcelableData() { val data = createData() val parcelableData = ParcelableData(data) val parcelled: ParcelableData = ParcelConverters.unmarshall( ParcelConverters.marshall(parcelableData), ParcelableData.CREATOR ) assertEquals(data, parcelled.data) } private fun createData(): Data { val map = mutableMapOf<String, Any?>() map["byte"] = 1.toByte() map["boolean"] = false map["int"] = 1 map["long"] = 10L map["float"] = 99f map["double"] = 99.0 map["string"] = "two" map["byte array"] = byteArrayOf(1, 2, 3) map["boolean array"] = booleanArrayOf(true, false, true) map["int array"] = intArrayOf(1, 2, 3) map["long array"] = longArrayOf(1L, 2L, 3L) map["float array"] = floatArrayOf(1f, 2f, 3f) map["double array"] = doubleArrayOf(1.0, 2.0, 3.0) map["string array"] = listOf("a", "b", "c").toTypedArray() map["null"] = null val dataBuilder = Data.Builder() dataBuilder.putAll(map) return dataBuilder.build() } }
10,430
https://github.com/Coderushnepal/PoojaShrestha/blob/master/Node/Classes/cars_api/src/Joi-validation.js
Github Open Source
Open Source
MIT
null
PoojaShrestha
Coderushnepal
JavaScript
Code
23
168
import Joi from 'joi'; const validation = Joi.object({ name: Joi.string().max(50).required(), color: Joi.string().max(20).required(), email: Joi.string().email().required(), password: Joi.string().pattern(/^[a-zA-Z0-9]{3,30}$/).required(), address: Joi.string().pattern(/^[a-zA-Z0-9]$/).required(), country: Joi.string().max(50).required(), phone: Joi.string().length(10).pattern(/^[0-9]+$/).required(), });
30,154
https://github.com/couchbase/couchbase-net-client/blob/master/src/Couchbase/Core/IO/Operations/Authentication/SaslStart.cs
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-generic-cla
2,023
couchbase-net-client
couchbase
C#
Code
259
647
using System; namespace Couchbase.Core.IO.Operations.Authentication { /// <summary> /// Starts the SASL authentication process using a specified SASL mechanism type as a key. /// </summary> // ReSharper disable once IdentifierTypo internal class SaslStart : OperationBase<string> { public override OpCode OpCode => OpCode.SaslStart; protected override void WriteExtras(OperationBuilder builder) { } protected override void ReadExtras(ReadOnlySpan<byte> buffer) { Flags = new Flags { Compression = Compression.None, DataFormat = Flags.DataFormat, TypeCode = TypeCode.String }; TryReadServerDuration(buffer); } protected override void BeginSend() { Flags = new Flags { Compression = Compression.None, DataFormat = Flags.DataFormat, TypeCode = TypeCode.String }; } /*Field (offset) (value) Magic (0): 0x80 (PROTOCOL_BINARY_REQ) Opcode (1): 0x21 (sasl auth) Key length (2-3): 0x0005 (5) Extra length (4): 0x00 Data type (5): 0x00 vBucket (6-7): 0x0000 (0) Total body (8-11): 0x00000010 (16) Opaque (12-15): 0x00000000 (0) CAS (16-23): 0x0000000000000000 (0) Mechanisms (24-28): PLAIN Auth token (29-39): foo0x00foo0x00bar */ } } #region [ License information ] /* ************************************************************ * * @author Couchbase <info@couchbase.com> * @copyright 2014 Couchbase, 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. * * ************************************************************/ #endregion [ License information ]
44,425
https://github.com/blynnerup/file-converter/blob/master/assets/js/nemesis/structure.js
Github Open Source
Open Source
MIT
2,019
file-converter
blynnerup
JavaScript
Code
1,507
5,756
/* Model is responsible for Validate Delivery Package folder Structure (Flow 1.0) initialize interface inputs: elements from <div class="formularContainer"> */ window.Rigsarkiv = window.Rigsarkiv || {}, function (n) { Rigsarkiv.Nemesis = Rigsarkiv.Nemesis || {}, function (n){ const {ipcRenderer} = require('electron'); const fs = require('fs'); const junk = require('junk'); const deliveryPackagePattern = /^(FD.[1-9]{1}[0-9]{4,})$/; const dataTablePattern = /^(table[1-9]{1}([0-9]{0,}))$/; const dataFilePattern = /^(table[1-9]{1}([0-9]{0,}).csv)$/; const metadataFilePattern = /^(table[1-9]{1}([0-9]{0,}).txt)$/; const docFolderPattern = /^([1-9]{1}([0-9]{0,11}))$/; //private data memebers var settings = { outputErrorSpn: null, outputErrorText: null, selectDirBtn: null, pathDirTxt: null, selectedPath: null, validateBtn: null, outputPrefix: null, logCallback: null, metadataCallback: null, logStartSpn: null, logEndNoErrorSpn: null, logEndWithErrorSpn:null, deliveryPackagePath: null, testId: null, outputText: {}, metadataFileName: "{0}.txt", dataFileName: "{0}.csv", docCollectionFolderName: "docCollection1", docFilesExt: [".tif",".mpg",".mp3",".jpg","jp2"], defaultSubFolders: ["ContextDocumentation","Data","Indices"], defaultIndicesFiles: ["archiveIndex.xml","contextDocumentationIndex.xml"], defaultFolder: "FD.99999", logType: "structure", errorsCounter: 0, errorStop: false } //reset status & input fields var Reset = function () { settings.errorsCounter = 0; settings.errorStop = false; $("span[id^='" + settings.outputPrefix + "']").hide(); $("span[id^='" + settings.outputPrefix + "']").each(function() { $(this).html(""); }); } //output system error messages var HandleError = function(err) { console.log(`Error: ${err}`); settings.outputErrorSpn.hidden = false; settings.outputErrorSpn.innerHTML = settings.outputErrorText.format(err.message); } // get selected folder name var GetFolderName = function() { var folders = settings.deliveryPackagePath.getFolders(); return folders[folders.length - 1]; } // View Element by id & return texts var ViewElement = function(id,formatText1,formatText2,formatText3) { var result = settings.outputText[id]; if(formatText1 != null) { if(formatText2 != null) { if(formatText3 != null) { result = result.format(formatText1,formatText2,formatText3); } else { result = result.format(formatText1,formatText2); } } else { result = result.format(formatText1); } } var element = $("span#{0}".format(id)); if(result != null) { element.html(element.html() + result); } element.show(); return result; } //handle error logging + HTML output var LogError = function(postfixId) { var id = "{0}{1}".format(settings.outputPrefix,postfixId); var text = null; if (arguments.length > 1) { if(arguments.length === 2) { text = ViewElement(id,arguments[1],null,null); } if(arguments.length === 3) { text = ViewElement(id,arguments[1],arguments[2],null); } if(arguments.length === 4) { text = ViewElement(id,arguments[1],arguments[2],arguments[3]); } } settings.logCallback().error(settings.logType,GetFolderName(),text); settings.errorsCounter += 1; return false; } //Handle warn logging var LogWarn = function(postfixId) { var id = "{0}{1}".format(settings.outputPrefix,postfixId); var text = null; if (arguments.length > 1) { if(arguments.length === 2) { text = ViewElement(id,arguments[1],null,null); } if(arguments.length === 3) { text = ViewElement(id,arguments[1],arguments[2],null); } if(arguments.length === 4) { text = ViewElement(id,arguments[1],arguments[2],arguments[3]); } } settings.logCallback().warn(settings.logType,GetFolderName(),text); } //Handle info logging var LogInfo = function(postfixId) { var id = "{0}{1}".format(settings.outputPrefix,postfixId); var text = null; if (arguments.length > 1) { if(arguments.length === 2) { text = ViewElement(id,arguments[1],null,null); } if(arguments.length === 3) { text = ViewElement(id,arguments[1],arguments[2],null); } if(arguments.length === 4) { text = ViewElement(id,arguments[1],arguments[2],arguments[3]); } } settings.logCallback().info(settings.logType,GetFolderName(),text); } //Validate Indices folder's files var ValidateIndices = function () { var result = true; var destPath = settings.deliveryPackagePath; destPath += (destPath.indexOf("\\") > -1) ? "\\{0}".format(settings.defaultSubFolders[2]) : "/{0}".format(settings.defaultSubFolders[2]); var subFiles = fs.readdirSync(destPath); settings.defaultIndicesFiles.forEach(file => { if(!subFiles.includes(file)) { result = LogError("-CheckFolderIndices-Error",file); } }); if(result && subFiles.length > 2) { subFiles.forEach(file => { if(result && file !== settings.defaultIndicesFiles[0] && file !== settings.defaultIndicesFiles[1]) { result = LogError("-CheckFolderIndicesCount-Error",file); } }); } if(result) { LogInfo("-CheckFolderIndices-Ok",null); } return result; } //validate wrong files var ValidateTableFiles = function(tableFolderName,subFiles) { var result = true; subFiles.forEach(file => { if(file !== settings.dataFileName.format(tableFolderName) && file !== settings.metadataFileName.format(tableFolderName)) { var fileExt = file.substring(file.indexOf(".")); if(fileExt !== settings.dataFileName.format("") && fileExt !== settings.metadataFileName.format("")) { result = LogError("-CheckFolderData-TableFolderFileExt-Error",tableFolderName,file); } else { if(dataFilePattern.test(file) || metadataFilePattern.test(file)) { result = LogError("-CheckFolderData-TableFolderFileOrder-Error",tableFolderName,file); } else { result = LogError("-CheckFolderData-TableFolderFile-Error",tableFolderName,file); } } } }); return result; } //Validate table folder must exits files var ValidateTable = function(tableFolderName,subFiles) { var result = true; if(subFiles != null && subFiles.length > 0) { var fileName = settings.dataFileName.format(tableFolderName); if(!subFiles.includes(fileName)) { result = LogError("-CheckFolderData-TableFolderDataFile-Error",tableFolderName); } fileName = settings.metadataFileName.format(tableFolderName); if(!subFiles.includes(fileName)) { result = LogError("-CheckFolderData-TableFolderMetadataFile-Error",tableFolderName); } } else { result = LogError("-CheckFolderData-TableFolderEmpty-Error",tableFolderName); } //minimum one tableX valid files if(result) { settings.errorStop = false; } return result; } //Validate tables orders names var ValidateTablesOrder = function(subFolders) { var result = true; var tables = []; subFolders.forEach(folder => { tables.push(parseInt(folder.substring(5))); }); tables.sort(function(a, b){return a-b}); if(tables[0] !== 1) { result = LogError("-CheckFolderData-TableFolders1-Error",null); } var i; var orderResult = true; for (i = 0; i < tables.length; i++) { if((i + 1) !== tables[i]) { orderResult = false; break; } } if(!orderResult) { result = LogError("-CheckFolderData-TableFoldersOrder-Error",null); } return result; } //Validate Data folder & sub table datasets var ValidateData = function() { var result = true; var destPath = (settings.deliveryPackagePath.indexOf("\\") > -1) ? "{0}\\{1}".format(settings.deliveryPackagePath,settings.defaultSubFolders[1]) : "{0}/{1}".format(settings.deliveryPackagePath,settings.defaultSubFolders[1]); var subFolders = fs.readdirSync(destPath); if(subFolders != null && subFolders.length > 0) { settings.errorStop = true; var validTablesName = true; subFolders.forEach(folder => { if(!dataTablePattern.test(folder)) { result = LogError("-CheckFolderData-TableFolders-Error",folder); validTablesName = false; } else { var destTablePath = (destPath.indexOf("\\") > -1) ? "{0}\\{1}".format(destPath,folder) : "{0}/{1}".format(destPath,folder); var subFiles = fs.readdirSync(destTablePath); if(!ValidateTable(folder,subFiles.filter(junk.not))) { result = false; } else { if(subFiles.length > 2) { result = LogError("-CheckFolderData-TableFolderFilesCount-Error",folder); } } if(!ValidateTableFiles(folder,subFiles)) { result = false; } } }); if(validTablesName && !ValidateTablesOrder(subFolders)) { result = false; } } else { settings.errorStop = true; result = LogError("-CheckFolderDataEmpty-Error",null); } if(result) { LogInfo("-CheckFolderData-Ok",null); } return result; } //Validate Document files orders var ValidateDocumentFilesOrder = function(documentFolderName,subFiles) { var result = true; var files = []; subFiles.forEach(file => { files.push(parseInt(file.substring(0,file.indexOf(".")))); }); files.sort(function(a, b){return a-b}); if(files[0] !== 1) { result = LogError("-CheckFolderContextDocumentation-DocCollectionDocumentFileName1-Error",documentFolderName); } var i; var orderResult = true; for (i = 0; i < files.length; i++) { if((i + 1) !== files[i]) { orderResult = false; break; } } if(!orderResult) { result = LogError("-CheckFolderContextDocumentation-DocCollectionDocumentFilesOrder-Error",documentFolderName); } return result; } //Validate Document Folder var ValidateDocumentFolder = function(documentFolderName,subFiles) { var result = true; if(subFiles != null && subFiles.length > 0) { var filesExt = []; var validFilesName = true; subFiles.forEach(file => { var fileName = file.substring(0,file.indexOf(".")) if(!docFolderPattern.test(fileName)) { result = LogError("-CheckFolderContextDocumentation-DocCollectionDocumentFileName-Error",documentFolderName,file); validFilesName = false; } else { var fileExt = file.substring(file.indexOf(".")); if(!settings.docFilesExt.includes(fileExt)) { result = LogError("-CheckFolderContextDocumentation-DocCollectionDocumentFileExt-Error",documentFolderName,fileExt); } else { if(!filesExt.includes(fileExt)) { filesExt.push(fileExt); } } } }); if(filesExt.length > 1) { result = LogError("-CheckFolderContextDocumentation-DocCollectionDocumentFilesExt-Error",documentFolderName); } if(validFilesName && !ValidateDocumentFilesOrder(documentFolderName,subFiles)) { result = false; } } else { result = LogError("-CheckFolderContextDocumentation-DocCollectionDocumentFolderEmpty-Error",documentFolderName); } return result; } //Validate docCollection1 folder orders var ValidateDocumentFoldersOrder = function(subFolders) { var result = true; var folders = []; subFolders.forEach(folder => { folders.push(parseInt(folder)); }); folders.sort(function(a, b){return a-b}); if(folders[0] !== 1) { result = LogError("-CheckFolderContextDocumentation-DocCollectionDocumentFolder1-Error",null); } var i; var orderResult = true; for (i = 0; i < folders.length; i++) { if((i + 1) !== folders[i]) { orderResult = false; break; } } if(!orderResult) { result = LogError("-CheckFolderContextDocumentation-DocCollectionDocumentFolderOrder-Error",null); } return result; } //Validate docCollection1 folder var ValidateDocCollection = function(contextDocumentationPath) { var result = true; var destPath = (contextDocumentationPath.indexOf("\\") > -1) ? "{0}\\{1}".format(contextDocumentationPath,settings.docCollectionFolderName) : "{0}/{1}".format(contextDocumentationPath,settings.docCollectionFolderName); var subFolders = fs.readdirSync(destPath); if(subFolders != null && subFolders.length > 0) { var validFoldersName = true; subFolders.forEach(folder => { if(!docFolderPattern.test(folder)) { result = LogError("-CheckFolderContextDocumentation-DocCollectionDocumentFolder-Error",folder); validFoldersName = false; } else { var destFolderPath = (destPath.indexOf("\\") > -1) ? "{0}\\{1}".format(destPath,folder) : "{0}/{1}".format(destPath,folder); var subFiles = fs.readdirSync(destFolderPath); if(!ValidateDocumentFolder(folder,subFiles.filter(junk.not))) { result = false; } } }); if(validFoldersName && !ValidateDocumentFoldersOrder(subFolders)) { result = false; } } else { result = LogError("-CheckFolderContextDocumentation-DocCollectionEmpty-Error",null); } return result; } //Validate ContextDocumentation folder var ValidateContextDocumentation = function() { var result = true; var destPath = (settings.deliveryPackagePath.indexOf("\\") > -1) ? "{0}\\{1}".format(settings.deliveryPackagePath,settings.defaultSubFolders[0]) : "{0}/{1}".format(settings.deliveryPackagePath,settings.defaultSubFolders[0]); var subFolders = fs.readdirSync(destPath); if(subFolders != null && subFolders.length > 0) { if(!subFolders.includes(settings.docCollectionFolderName)) { result = LogError("-CheckFolderContextDocumentation-DocCollections-Error",null); } else { if(!ValidateDocCollection(destPath)) { result = false; } subFolders.forEach(folder => { if(folder != settings.docCollectionFolderName) { result = LogError("-CheckFolderContextDocumentation-DocCollectionsCount-Error",folder); } }); } } else { result = LogError("-CheckFolderContextDocumentationEmpty-Error",null); } if(result) { LogInfo("-CheckFolderContextDocumentation-Ok",null); } return result; } // loop sub folders Structure var ValidateStructure = function () { var result = true; var subFolders = fs.readdirSync(settings.deliveryPackagePath); settings.defaultSubFolders.forEach(folder => { if(!subFolders.includes(folder)) { result = LogError("-CheckFolders-Error",folder); if(folder === settings.defaultSubFolders[1]) { settings.errorStop = true; } } else { if(folder === settings.defaultSubFolders[0]) { ValidateContextDocumentation(); } if(folder === settings.defaultSubFolders[1]) { ValidateData(); } if(folder === settings.defaultSubFolders[2]) { ValidateIndices(); } } }); if(result && subFolders.length > 3) { subFolders.forEach(folder => { if(result && folder !== settings.defaultSubFolders[0] && folder !== settings.defaultSubFolders[1] && folder !== settings.defaultSubFolders[2]) { result = LogError("-CheckFoldersCount-Error",folder); } }); } if(result) { LogInfo("-CheckFolders-Ok",null); } return result; } //validate folder Name var ValidateName = function () { var result = true; var folderName = GetFolderName(); if(!deliveryPackagePattern.test(folderName)) { result = LogError("-CheckId-Error",null); } else { if(folderName === settings.defaultFolder) { LogWarn("-CheckId-Warning",null) } else { LogInfo("-CheckId-Ok",null) } } return result; } //start flow validation var Validate = function() { try { var folderName = GetFolderName(); settings.testId.innerText = folderName; settings.logCallback().section(settings.logType,folderName,settings.logStartSpn.innerHTML); ValidateName(); ValidateStructure(); if(settings.errorsCounter === 0) { settings.logCallback().section(settings.logType,folderName,settings.logEndNoErrorSpn.innerHTML); } else { settings.logCallback().section(settings.logType,folderName,settings.logEndWithErrorSpn.innerHTML); } if(!settings.errorStop) { return settings.metadataCallback().validate(settings.deliveryPackagePath,settings.outputText); } else { return settings.logCallback().commit(settings.deliveryPackagePath); } } catch(err) { HandleError(err); } return null; } //add Event Listener to HTML elmenets var AddEvents = function () { settings.validateBtn.addEventListener('click', (event) => { Reset(); if(settings.selectedPath == null || settings.pathDirTxt.value === "") { return; } settings.deliveryPackagePath = settings.selectedPath[0]; Validate(); }) settings.selectDirBtn.addEventListener('click', (event) => { ipcRenderer.send('validation-open-file-dialog'); }) ipcRenderer.on('validation-selected-directory', (event, path) => { settings.selectedPath = path; console.log(`selected path: ${path}`); settings.pathDirTxt.value = settings.selectedPath; }) } //Model interfaces functions Rigsarkiv.Nemesis.Structure = { initialize: function (logCallback,metadataCallback,outputErrorId,selectDirectoryId,pathDirectoryId,validateId,logStartId,logEndNoErrorId,logEndWithErrorId,outputPrefix,testId) { settings.logCallback = logCallback; settings.metadataCallback = metadataCallback; settings.outputErrorSpn = document.getElementById(outputErrorId); settings.outputErrorText = settings.outputErrorSpn.innerHTML; settings.selectDirBtn = document.getElementById(selectDirectoryId); settings.pathDirTxt = document.getElementById(pathDirectoryId); settings.validateBtn = document.getElementById(validateId); settings.logStartSpn = document.getElementById(logStartId); settings.logEndNoErrorSpn = document.getElementById(logEndNoErrorId); settings.logEndWithErrorSpn = document.getElementById(logEndWithErrorId); settings.outputPrefix = outputPrefix; settings.testId = document.getElementById(testId); $("span[id^='" + settings.outputPrefix + "']").each(function() { settings.outputText[this.id] = $(this).html(); $(this).html(""); }); AddEvents(); }, callback: function () { return { validate: function(path) { settings.deliveryPackagePath = path; Reset(); return Validate(); } }; } }; }(jQuery); }(jQuery);
36,698
https://github.com/HirokiMiyaoka/NoWS/blob/master/server/Server.js
Github Open Source
Open Source
MIT
null
NoWS
HirokiMiyaoka
JavaScript
Code
254
756
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Log_1 = require("./Log"); Object.freeze(Object.prototype); class Server { constructor() { this.onMessage = () => { }; process.on('message', (message) => { console.debug('Child:', message); if (typeof message !== 'object') { return; } switch (message.command) { case 'start': return this.start(message.data); case 'stop': return this.stop(); case 'alive': return this.alive(); default: return this.onMessage(message); } }); this.send('prepare', {}); } setOnMessage(onmsg) { if (typeof onmsg !== 'function') { return; } this.onMessage = onmsg; } send(command, data) { process.send({ command: command, data: data }); } start(config) { if (config.log) { Log_1.default(config.log); } return this.stop().then(() => { if (this.server) { this.server.stop(); this.server = null; } const WebServer = require(config.module || './Server/Static'); if (!WebServer) { throw new Error('Cannot require:' + (config.module || './Server/Static')); } if (typeof WebServer.default !== 'function') { throw new Error('Notfound default function.'); } const server = WebServer.default(config); if (!server || typeof server.init !== 'function' || typeof server.start !== 'function' || typeof server.stop !== 'function' || typeof server.alive !== 'function') { throw new Error('Cannot create server.'); } return server.init(config, this).then(() => { return server.start(); }).then(() => { this.server = server; if (config.user === undefined || typeof process.getuid !== 'function') { return; } if (config.user === process.getuid()) { return; } process.setuid(config.user); }); }).catch((error) => { this.abort(error); }); } abort(error) { this.send('aborted', error); process.exit(1); } stop() { if (!this.server) { return Promise.resolve(); } return this.server.stop().then(() => { this.send('stop', {}); process.exit(0); }); } alive() { if (!this.server) { this.send('alive', false); return Promise.resolve(); } return this.server.alive().then((alive) => { this.send('alive', alive); }); } } const server = new Server();
3,047
https://github.com/hiroto-takatoshi/atcoder_java/blob/master/scrapper.py
Github Open Source
Open Source
MIT
null
atcoder_java
hiroto-takatoshi
Python
Code
98
381
from bs4 import BeautifulSoup import requests import re import os from tqdm import * def parse_page(run_result="CE", page_num=1): pass def parse_submission(suburl): base_sub_url = 'https://atcoder.jp' h = requests.get(base_sub_url + suburl).text soup = BeautifulSoup(h, 'html.parser') src = soup.find_all(class_='prettyprint')[0].get_text() return src base_ce_url = 'https://atcoder.jp/contests/abs/submissions?f.Language=3016&f.Status=AC&f.Task=&f.User=&page=' CE_DIR = "C:/Users/admin/repo_for_lm/cf_java/NCE" cnt = 0 for i in trange(1, 112): h = requests.get(base_ce_url + '1').text soup = BeautifulSoup(h, 'html.parser') for link in soup.find_all('a'): x = link.get('href') try: if "submissions/" in x and not 'me' in x: src = parse_submission(x) cnt += 1 with open(os.path.join(CE_DIR, str(cnt) + '.java'), 'w', encoding='utf8') as f: f.write(src) except TypeError as e: pass
6,229
https://github.com/LLNL/pLiner/blob/master/benchmarks/NPB/npb-debug/SP/verify.c
Github Open Source
Open Source
Apache-2.0
2,022
pLiner
LLNL
C
Code
1,227
4,178
//-------------------------------------------------------------------------// // // // This benchmark is a serial C version of the NPB SP code. This C // // version is developed by the Center for Manycore Programming at Seoul // // National University and derived from the serial Fortran versions in // // "NPB3.3-SER" developed by NAS. // // // // Permission to use, copy, distribute and modify this software for any // // purpose with or without fee is hereby granted. This software is // // provided "as is" without express or implied warranty. // // // // Information on NPB 3.3, including the technical report, the original // // specifications, source code, results and information on how to submit // // new results, is available at: // // // // http://www.nas.nasa.gov/Software/NPB/ // // // // Send comments or suggestions for this C version to cmp@aces.snu.ac.kr // // // // Center for Manycore Programming // // School of Computer Science and Engineering // // Seoul National University // // Seoul 151-744, Korea // // // // E-mail: cmp@aces.snu.ac.kr // // // //-------------------------------------------------------------------------// //-------------------------------------------------------------------------// // Authors: Sangmin Seo, Jungwon Kim, Jun Lee, Jeongho Nah, Gangwon Jo, // // and Jaejin Lee // //-------------------------------------------------------------------------// #include <stdio.h> #include <math.h> #include "header.h" //--------------------------------------------------------------------- // verification routine //--------------------------------------------------------------------- void verify(int no_time_steps, char *Class, logical *verified) { double xcrref[5], xceref[5], xcrdif[5], xcedif[5]; double epsilon, xce[5], xcr[5], dtref = 0.0; int m; //--------------------------------------------------------------------- // tolerance level //--------------------------------------------------------------------- //epsilon = 1.0e-08; epsilon = 1.2e-11; //--------------------------------------------------------------------- // compute the error norm and the residual norm, and exit if not printing //--------------------------------------------------------------------- error_norm(xce); compute_rhs(); rhs_norm(xcr); for (m = 0; m < 5; m++) { xcr[m] = xcr[m] / dt; } *Class = 'U'; *verified = true; for (m = 0; m < 5; m++) { xcrref[m] = 1.0; xceref[m] = 1.0; } //--------------------------------------------------------------------- // reference data for 12X12X12 grids after 100 time steps, // with DT = 1.50e-02 //--------------------------------------------------------------------- if ( (grid_points[0] == 12) && (grid_points[1] == 12) && (grid_points[2] == 12) && (no_time_steps == 100) ) { *Class = 'S'; dtref = 1.5e-2; //--------------------------------------------------------------------- // Reference values of RMS-norms of residual. //--------------------------------------------------------------------- xcrref[0] = 2.7470315451339479e-02; xcrref[1] = 1.0360746705285417e-02; xcrref[2] = 1.6235745065095532e-02; xcrref[3] = 1.5840557224455615e-02; xcrref[4] = 3.4849040609362460e-02; //--------------------------------------------------------------------- // Reference values of RMS-norms of solution error. //--------------------------------------------------------------------- xceref[0] = 2.7289258557377227e-05; xceref[1] = 1.0364446640837285e-05; xceref[2] = 1.6154798287166471e-05; xceref[3] = 1.5750704994480102e-05; xceref[4] = 3.4177666183390531e-05; //--------------------------------------------------------------------- // reference data for 36X36X36 grids after 400 time steps, // with DT = 1.5e-03 //--------------------------------------------------------------------- } else if ( (grid_points[0] == 36) && (grid_points[1] == 36) && (grid_points[2] == 36) && (no_time_steps == 400) ) { *Class = 'W'; dtref = 1.5e-3; //--------------------------------------------------------------------- // Reference values of RMS-norms of residual. //--------------------------------------------------------------------- xcrref[0] = 0.1893253733584e-02; xcrref[1] = 0.1717075447775e-03; xcrref[2] = 0.2778153350936e-03; xcrref[3] = 0.2887475409984e-03; xcrref[4] = 0.3143611161242e-02; //--------------------------------------------------------------------- // Reference values of RMS-norms of solution error. //--------------------------------------------------------------------- xceref[0] = 0.7542088599534e-04; xceref[1] = 0.6512852253086e-05; xceref[2] = 0.1049092285688e-04; xceref[3] = 0.1128838671535e-04; xceref[4] = 0.1212845639773e-03; //--------------------------------------------------------------------- // reference data for 64X64X64 grids after 400 time steps, // with DT = 1.5e-03 //--------------------------------------------------------------------- } else if ( (grid_points[0] == 64) && (grid_points[1] == 64) && (grid_points[2] == 64) && (no_time_steps == 400) ) { *Class = 'A'; dtref = 1.5e-3; //--------------------------------------------------------------------- // Reference values of RMS-norms of residual. //--------------------------------------------------------------------- xcrref[0] = 2.4799822399300195; xcrref[1] = 1.1276337964368832; xcrref[2] = 1.5028977888770491; xcrref[3] = 1.4217816211695179; xcrref[4] = 2.1292113035138280; //--------------------------------------------------------------------- // Reference values of RMS-norms of solution error. //--------------------------------------------------------------------- xceref[0] = 1.0900140297820550e-04; xceref[1] = 3.7343951769282091e-05; xceref[2] = 5.0092785406541633e-05; xceref[3] = 4.7671093939528255e-05; xceref[4] = 1.3621613399213001e-04; //--------------------------------------------------------------------- // reference data for 102X102X102 grids after 400 time steps, // with DT = 1.0e-03 //--------------------------------------------------------------------- } else if ( (grid_points[0] == 102) && (grid_points[1] == 102) && (grid_points[2] == 102) && (no_time_steps == 400) ) { *Class = 'B'; dtref = 1.0e-3; //--------------------------------------------------------------------- // Reference values of RMS-norms of residual. //--------------------------------------------------------------------- xcrref[0] = 0.6903293579998e+02; xcrref[1] = 0.3095134488084e+02; xcrref[2] = 0.4103336647017e+02; xcrref[3] = 0.3864769009604e+02; xcrref[4] = 0.5643482272596e+02; //--------------------------------------------------------------------- // Reference values of RMS-norms of solution error. //--------------------------------------------------------------------- xceref[0] = 0.9810006190188e-02; xceref[1] = 0.1022827905670e-02; xceref[2] = 0.1720597911692e-02; xceref[3] = 0.1694479428231e-02; xceref[4] = 0.1847456263981e-01; //--------------------------------------------------------------------- // reference data for 162X162X162 grids after 400 time steps, // with DT = 0.67e-03 //--------------------------------------------------------------------- } else if ( (grid_points[0] == 162) && (grid_points[1] == 162) && (grid_points[2] == 162) && (no_time_steps == 400) ) { *Class = 'C'; dtref = 0.67e-3; //--------------------------------------------------------------------- // Reference values of RMS-norms of residual. //--------------------------------------------------------------------- xcrref[0] = 0.5881691581829e+03; xcrref[1] = 0.2454417603569e+03; xcrref[2] = 0.3293829191851e+03; xcrref[3] = 0.3081924971891e+03; xcrref[4] = 0.4597223799176e+03; //--------------------------------------------------------------------- // Reference values of RMS-norms of solution error. //--------------------------------------------------------------------- xceref[0] = 0.2598120500183e+00; xceref[1] = 0.2590888922315e-01; xceref[2] = 0.5132886416320e-01; xceref[3] = 0.4806073419454e-01; xceref[4] = 0.5483377491301e+00; //--------------------------------------------------------------------- // reference data for 408X408X408 grids after 500 time steps, // with DT = 0.3e-03 //--------------------------------------------------------------------- } else if ( (grid_points[0] == 408) && (grid_points[1] == 408) && (grid_points[2] == 408) && (no_time_steps == 500) ) { *Class = 'D'; dtref = 0.30e-3; //--------------------------------------------------------------------- // Reference values of RMS-norms of residual. //--------------------------------------------------------------------- xcrref[0] = 0.1044696216887e+05; xcrref[1] = 0.3204427762578e+04; xcrref[2] = 0.4648680733032e+04; xcrref[3] = 0.4238923283697e+04; xcrref[4] = 0.7588412036136e+04; //--------------------------------------------------------------------- // Reference values of RMS-norms of solution error. //--------------------------------------------------------------------- xceref[0] = 0.5089471423669e+01; xceref[1] = 0.5323514855894e+00; xceref[2] = 0.1187051008971e+01; xceref[3] = 0.1083734951938e+01; xceref[4] = 0.1164108338568e+02; //--------------------------------------------------------------------- // reference data for 1020X1020X1020 grids after 500 time steps, // with DT = 0.1e-03 //--------------------------------------------------------------------- } else if ( (grid_points[0] == 1020) && (grid_points[1] == 1020) && (grid_points[2] == 1020) && (no_time_steps == 500) ) { *Class = 'E'; dtref = 0.10e-3; //--------------------------------------------------------------------- // Reference values of RMS-norms of residual. //--------------------------------------------------------------------- xcrref[0] = 0.6255387422609e+05; xcrref[1] = 0.1495317020012e+05; xcrref[2] = 0.2347595750586e+05; xcrref[3] = 0.2091099783534e+05; xcrref[4] = 0.4770412841218e+05; //--------------------------------------------------------------------- // Reference values of RMS-norms of solution error. //--------------------------------------------------------------------- xceref[0] = 0.6742735164909e+02; xceref[1] = 0.5390656036938e+01; xceref[2] = 0.1680647196477e+02; xceref[3] = 0.1536963126457e+02; xceref[4] = 0.1575330146156e+03; } else { *verified = false; } //--------------------------------------------------------------------- // verification test for residuals if gridsize is one of // the defined grid sizes above (class .ne. 'U') //--------------------------------------------------------------------- //--------------------------------------------------------------------- // Compute the difference of solution values and the known reference values. //--------------------------------------------------------------------- for (m = 0; m < 5; m++) { xcrdif[m] = fabs((xcr[m]-xcrref[m])/xcrref[m]); xcedif[m] = fabs((xce[m]-xceref[m])/xceref[m]); } //--------------------------------------------------------------------- // Output the comparison of computed results to known cases. //--------------------------------------------------------------------- if (*Class != 'U') { printf(" Verification being performed for class %c\n", *Class); printf(" accuracy setting for epsilon = %20.13E\n", epsilon); *verified = (fabs(dt-dtref) <= epsilon); if (!(*verified)) { *Class = 'U'; printf(" DT does not match the reference value of %15.8E\n", dtref); } } else { printf(" Unknown class\n"); } if (*Class != 'U') { printf(" Comparison of RMS-norms of residual\n"); } else { printf(" RMS-norms of residual\n"); } for (m = 0; m < 5; m++) { if (*Class == 'U') { printf(" %2d%20.13E\n", m+1, xcr[m]); } else if (xcrdif[m] <= epsilon) { printf(" %2d%20.13E%20.13E%20.13E\n", m+1, xcr[m], xcrref[m], xcrdif[m]); } else { *verified = false; printf(" FAILURE: %2d%20.13E%20.13E%20.13E\n", m+1, xcr[m], xcrref[m], xcrdif[m]); } } if (*Class != 'U') { printf(" Comparison of RMS-norms of solution error\n"); } else { printf(" RMS-norms of solution error\n"); } for (m = 0; m < 5; m++) { if (*Class == 'U') { printf(" %2d%20.13E\n", m+1, xce[m]); } else if (xcedif[m] <= epsilon) { printf(" %2d%20.13E%20.13E%20.13E\n", m+1, xce[m], xceref[m], xcedif[m]); } else { *verified = false; printf(" FAILURE: %2d%20.13E%20.13E%20.13E\n", m+1, xce[m], xceref[m], xcedif[m]); } } if (*Class == 'U') { printf(" No reference values provided\n"); printf(" No verification performed\n"); } else if (*verified) { printf(" Verification Successful\n"); } else { printf(" Verification failed\n"); } }
20,012
https://github.com/johannwyh/Our-Pascal-Compiler/blob/master/src/ast/ast.h
Github Open Source
Open Source
MIT
2,020
Our-Pascal-Compiler
johannwyh
C
Code
21
91
#ifndef AST_H #define AST_H #include "ast_base.h" #include "ast_expr.h" #include "ast_stmt.h" #include "ast_prog.h" #include "ast_type.h" #include "ast_value.h" extern ASTNode *ast_root; #endif //AST_H
44,195
https://github.com/DreamLose/python-/blob/master/Day09/前向引用.py
Github Open Source
Open Source
MIT
2,020
python-
DreamLose
Python
Code
64
202
def foo(): print("foo") bar() def bar(): print("bar") foo() name = 'ddd' def tes(): name = "dsdsdsd" def tres(): name = "xioga" def tt(): print(name) return tt return tres res = tes() res()() """ ============= 递归函数 """ def calc(n): print(n) if n>0: calc(n-1) else: return calc(10) # 匿名函数 y = lambda x:x+1 print(y(10)) name = "alex" func = lambda x : x + "_sb" print(func("alex"))
32,087
https://github.com/loic-sharma/Anvil/blob/master/modules/users/plugins/User.php
Github Open Source
Open Source
BSD-2-Clause
2,013
Anvil
loic-sharma
PHP
Code
116
371
<?php class UserPlugin { /** * Check if the user is logged in. * * @return bool */ public function loggedIn() { return Auth::check(); } /** * Get a property from the current user. * * @param string $key * @return mixed */ public function __get($key) { return Auth::user()->key; } /** * Call a method off of the current user model. * * @param string $method * @param array $args * @return mixed */ public function __call($method, $args) { switch (count($args)) { case 0: return Auth::user()->$method(); case 1: return Auth::user()->$method($args[0]); case 2: return Auth::user()->$method($args[0], $args[1]); case 3: return Auth::user()->$method($args[0], $args[1], $args[2]); case 4: return Auth::user()->$method($args[0], $args[1], $args[2], $args[3]); default: return call_user_func_array(array(Auth::user(), $method), $args); } } }
25,830
https://github.com/pickmybrain/TESTAR-for-ECJ/blob/master/src/linux/src/org/fruit/alayer/linux/util/BridJHelper.java
Github Open Source
Open Source
BSD-3-Clause
2,018
TESTAR-for-ECJ
pickmybrain
Java
Code
108
243
package org.fruit.alayer.linux.util; import org.bridj.Pointer; /** * Class to help with BridJ functionality. */ public class BridJHelper { private static final String EmptyString = ""; /** * Converts a pointer to a string to a String. * @param stringPointer The pointer to the string. * @return The string the pointer points to. */ public static String convertToString(Pointer<Byte> stringPointer) { if (stringPointer == null) { return EmptyString; } return stringPointer.getCString(); } /** * Converts a String to a pointer to a string. * @param str The string to get a pointer to. * @return The pointer to a String. */ public static Pointer<Byte> convertToPointer(String str) { return Pointer.pointerToCString(str); } }
17,048
https://github.com/txchat/dtalk/blob/master/gateway/api/v1/internal/handler/record/pushhandler.go
Github Open Source
Open Source
MIT
2,022
dtalk
txchat
Go
Code
376
1,659
package record import ( "github.com/gin-gonic/gin" "github.com/golang/protobuf/proto" "github.com/txchat/dtalk/gateway/api/v1/internal/logic/record" "github.com/txchat/dtalk/gateway/api/v1/internal/svc" "github.com/txchat/dtalk/pkg/api" xerror "github.com/txchat/dtalk/pkg/error" comet "github.com/txchat/im/api/comet/grpc" "io/ioutil" ) // PushToUid // @Summary 推送消息 // @Description comet.Proto由接口组装,客户端只需传入comet.Proto的body部分 // @Author dld@33.cn // @Tags record 消息模块 // @Accept mpfd // @Produce json // @Param FZM-SIGNATURE header string true "MOCK" // @Param message body string true "消息协议序列化" // @Success 200 {object} model.GeneralResponse{} // @Router /record/push [post] func PushToUid(ctx *svc.ServiceContext) gin.HandlerFunc { return func(c *gin.Context) { form, err := c.MultipartForm() if err != nil { c.Set(api.ReqError, xerror.NewError(xerror.ParamsError).SetExtMessage("MultipartForm"+err.Error())) return } files := form.File["message"] if len(files) < 1 { c.Set(api.ReqError, xerror.NewError(xerror.ParamsError).SetExtMessage("file len less than 1")) return } //file, err := c.FormFile("") file := files[0] f, err := file.Open() if err != nil { c.Set(api.ReqError, xerror.NewError(xerror.ParamsError).SetExtMessage("Open File"+err.Error())) return } defer f.Close() body, err := ioutil.ReadAll(f) if err != nil { c.Set(api.ReqError, xerror.NewError(xerror.ParamsError).SetExtMessage("ReadAll"+err.Error())) return } if len(body) == 0 { c.Set(api.ReqError, xerror.NewError(xerror.ParamsError).SetExtMessage("error message length 0")) return } p := comet.Proto{ Ver: 1, Op: int32(comet.Op_SendMsg), Seq: 0, Ack: 0, Body: body, } data, err := proto.Marshal(&p) if err != nil { c.Set(api.ReqError, xerror.NewError(xerror.SendMsgFailed).SetExtMessage(err.Error())) return } uid := c.MustGet(api.Address).(string) l := record.NewLogic(c.Request.Context(), ctx) mid, createTime, err := l.Push("", uid, data) if err != nil { c.Set(api.ReqError, xerror.NewError(xerror.SendMsgFailed).SetExtMessage(err.Error())) return } ret := map[string]interface{}{ "logId": mid, "datetime": createTime, } c.Set(api.ReqResult, ret) c.Set(api.ReqError, nil) } } // PushToUid2 // @Summary 推送消息2 // @Description comet.Proto由客户端传入 // @Author dld@33.cn // @Tags record 消息模块 // @Accept mpfd // @Produce json // @Param FZM-SIGNATURE header string true "MOCK" // @Param message body string true "消息协议序列化" // @Success 200 {object} model.GeneralResponse{} // @Router /record/push2 [post] func PushToUid2(ctx *svc.ServiceContext) gin.HandlerFunc { return func(c *gin.Context) { form, err := c.MultipartForm() if err != nil { c.Set(api.ReqError, xerror.NewError(xerror.ParamsError).SetExtMessage("MultipartForm"+err.Error())) return } files := form.File["message"] if len(files) < 1 { c.Set(api.ReqError, xerror.NewError(xerror.ParamsError).SetExtMessage("file len less than 1")) return } //file, err := c.FormFile("") file := files[0] f, err := file.Open() if err != nil { c.Set(api.ReqError, xerror.NewError(xerror.ParamsError).SetExtMessage("Open File"+err.Error())) return } defer f.Close() body, err := ioutil.ReadAll(f) if err != nil { c.Set(api.ReqError, xerror.NewError(xerror.ParamsError).SetExtMessage("ReadAll"+err.Error())) return } if len(body) == 0 { c.Set(api.ReqError, xerror.NewError(xerror.ParamsError).SetExtMessage("error message length 0")) return } uid := c.MustGet(api.Address).(string) l := record.NewLogic(c.Request.Context(), ctx) mid, createTime, err := l.Push("", uid, body) if err != nil { c.Set(api.ReqError, xerror.NewError(xerror.SendMsgFailed).SetExtMessage(err.Error())) return } ret := map[string]interface{}{ "logId": mid, "datetime": createTime, } c.Set(api.ReqResult, ret) c.Set(api.ReqError, nil) } }
41,871
https://github.com/AruchomuK/green-peas/blob/master/app/src/main/java/privacyfriendlyshoppinglist/secuso/org/privacyfriendlyshoppinglist/ui/baseactivity/BaseActivity.java
Github Open Source
Open Source
Apache-2.0
null
green-peas
AruchomuK
Java
Code
468
1,851
package privacyfriendlyshoppinglist.secuso.org.privacyfriendlyshoppinglist.ui.baseactivity; import android.content.Intent; import android.content.SharedPreferences; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.preference.PreferenceActivity; import android.preference.PreferenceManager; import android.support.design.widget.NavigationView; import android.support.design.widget.NavigationView.OnNavigationItemSelectedListener; import android.support.v4.app.TaskStackBuilder; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.ActionBarDrawerToggle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.MenuItem; import android.view.View; import privacyfriendlyshoppinglist.secuso.org.privacyfriendlyshoppinglist.R; import privacyfriendlyshoppinglist.secuso.org.privacyfriendlyshoppinglist.ui.main.MainActivity; import privacyfriendlyshoppinglist.secuso.org.privacyfriendlyshoppinglist.ui.settings.SettingsActivity; /** * Created by Chris on 04.07.2016. */ public class BaseActivity extends AppCompatActivity implements OnNavigationItemSelectedListener { // delay to launch nav drawer item, to allow close animation to play public static final int NAVDRAWER_LAUNCH_DELAY = 250; // fade in and fade out durations for the main content when switching between // different Activities of the app through the Nav Drawer public static final int MAIN_CONTENT_FADEOUT_DURATION = 150; public static final int MAIN_CONTENT_FADEIN_DURATION = 250; // Navigation drawer: private DrawerLayout mDrawerLayout; private NavigationView mNavigationView; // Helper private Handler mHandler; protected SharedPreferences mSharedPreferences; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //setContentView(R.layout.activity_main); mSharedPreferences = PreferenceManager.getDefaultSharedPreferences(this); mHandler = new Handler(); //ActionBar ab = getSupportActionBar(); //if (ab != null) { // mActionBar = ab; // ab.setDisplayHomeAsUpEnabled(true); //} overridePendingTransition(0, 0); } @Override public void onBackPressed() { DrawerLayout drawer = (DrawerLayout) findViewById(R.id.drawer_layout); if ( drawer.isDrawerOpen(GravityCompat.START) ) { drawer.closeDrawer(GravityCompat.START); } else { super.onBackPressed(); } } protected int getNavigationDrawerID() { return 0; } @Override public boolean onNavigationItemSelected(MenuItem item) { final int itemId = item.getItemId(); return goToNavigationItem(itemId); } public boolean goToNavigationItem(final int itemId) { if ( itemId == getNavigationDrawerID() ) { // just close drawer because we are already in this activity mDrawerLayout.closeDrawer(GravityCompat.START); return true; } // delay transition so the drawer can close mHandler.postDelayed(new Runnable() { @Override public void run() { callDrawerItem(itemId); } }, NAVDRAWER_LAUNCH_DELAY); mDrawerLayout.closeDrawer(GravityCompat.START); selectNavigationItem(itemId); // fade out the active activity View mainContent = findViewById(R.id.main_content); if ( mainContent != null ) { mainContent.animate().alpha(0).setDuration(MAIN_CONTENT_FADEOUT_DURATION); } return true; } // set active navigation item private void selectNavigationItem(int itemId) { for ( int i = 0; i < mNavigationView.getMenu().size(); i++ ) { boolean b = itemId == mNavigationView.getMenu().getItem(i).getItemId(); mNavigationView.getMenu().getItem(i).setChecked(b); } } /** * Enables back navigation for activities that are launched from the NavBar. See * {@code AndroidManifest.xml} to find out the parent activity names for each activity. * * @param intent */ private void createBackStack(Intent intent) { if ( Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN ) { TaskStackBuilder builder = TaskStackBuilder.create(this); builder.addNextIntentWithParentStack(intent); builder.startActivities(); } else { startActivity(intent); finish(); } } private void callDrawerItem(final int itemId) { Intent intent; switch ( itemId ) { case R.id.nav_main: intent = new Intent(this, MainActivity.class); intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); startActivity(intent); break; case R.id.nav_settings: intent = new Intent(this, SettingsActivity.class); intent.putExtra(PreferenceActivity.EXTRA_SHOW_FRAGMENT, SettingsActivity.GeneralPreferenceFragment.class.getName()); intent.putExtra(PreferenceActivity.EXTRA_NO_HEADERS, true); createBackStack(intent); break; default: } } @Override protected void onPostCreate(Bundle savedInstanceState) { super.onPostCreate(savedInstanceState); Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); if ( getSupportActionBar() == null ) { setSupportActionBar(toolbar); } mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout); ActionBarDrawerToggle toggle = new ActionBarDrawerToggle( this, mDrawerLayout, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close); mDrawerLayout.addDrawerListener(toggle); toggle.syncState(); mNavigationView = (NavigationView) findViewById(R.id.nav_view); mNavigationView.setNavigationItemSelectedListener(this); selectNavigationItem(getNavigationDrawerID()); View mainContent = findViewById(R.id.main_content); if ( mainContent != null ) { mainContent.setAlpha(0); mainContent.animate().alpha(1).setDuration(MAIN_CONTENT_FADEIN_DURATION); } } }
41,769
https://github.com/Viincenttt/MollieApi/blob/master/src/Mollie.Api/Client/MandateClient.cs
Github Open Source
Open Source
MIT
2,023
MollieApi
Viincenttt
C#
Code
172
719
using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using Mollie.Api.Client.Abstract; using Mollie.Api.Extensions; using Mollie.Api.Models; using Mollie.Api.Models.List; using Mollie.Api.Models.Mandate; using Mollie.Api.Models.Url; namespace Mollie.Api.Client { public class MandateClient : BaseMollieClient, IMandateClient { public MandateClient(string apiKey, HttpClient httpClient = null) : base(apiKey, httpClient) { } public async Task<MandateResponse> GetMandateAsync(string customerId, string mandateId, bool testmode = false) { this.ValidateRequiredUrlParameter(nameof(customerId), customerId); this.ValidateRequiredUrlParameter(nameof(mandateId), mandateId); var queryParameters = this.BuildQueryParameters(testmode); return await this.GetAsync<MandateResponse>($"customers/{customerId}/mandates/{mandateId}{queryParameters.ToQueryString()}").ConfigureAwait(false); } public async Task<ListResponse<MandateResponse>> GetMandateListAsync(string customerId, string from = null, int? limit = null, bool testmode = false) { this.ValidateRequiredUrlParameter(nameof(customerId), customerId); var queryParameters = this.BuildQueryParameters(testmode); return await this.GetListAsync<ListResponse<MandateResponse>>($"customers/{customerId}/mandates", from, limit, queryParameters) .ConfigureAwait(false); } public async Task<MandateResponse> CreateMandateAsync(string customerId, MandateRequest request) { this.ValidateRequiredUrlParameter(nameof(customerId), customerId); return await this.PostAsync<MandateResponse>($"customers/{customerId}/mandates", request).ConfigureAwait(false); } public async Task<ListResponse<MandateResponse>> GetMandateListAsync(UrlObjectLink<ListResponse<MandateResponse>> url) { return await this.GetAsync(url).ConfigureAwait(false); } public async Task<MandateResponse> GetMandateAsync(UrlObjectLink<MandateResponse> url) { return await this.GetAsync(url).ConfigureAwait(false); } public async Task RevokeMandate(string customerId, string mandateId, bool testmode = false) { var data = TestmodeModel.Create(testmode); await this.DeleteAsync($"customers/{customerId}/mandates/{mandateId}", data).ConfigureAwait(false); } private Dictionary<string, string> BuildQueryParameters(bool testmode = false) { var result = new Dictionary<string, string>(); result.AddValueIfTrue("testmode", testmode); return result; } } }
30,142
https://github.com/simd-everywhere/simde/blob/master/simde/x86/avx512/unpacklo.h
Github Open Source
Open Source
MIT, Apache-2.0, LicenseRef-scancode-free-unknown
2,023
simde
simd-everywhere
C
Code
2,346
13,410
/* SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, copy, * modify, merge, publish, distribute, sublicense, and/or sell copies * of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * * Copyright: * 2020 Evan Nemerson <evan@nemerson.com> * 2020 Hidayat Khan <huk2209@gmail.com> */ #if !defined(SIMDE_X86_AVX512_UNPACKLO_H) #define SIMDE_X86_AVX512_UNPACKLO_H #include "types.h" #include "../avx2.h" #include "mov.h" HEDLEY_DIAGNOSTIC_PUSH SIMDE_DISABLE_UNWANTED_DIAGNOSTICS SIMDE_BEGIN_DECLS_ SIMDE_FUNCTION_ATTRIBUTES simde__m512i simde_mm512_unpacklo_epi8 (simde__m512i a, simde__m512i b) { #if defined(SIMDE_X86_AVX512BW_NATIVE) return _mm512_unpacklo_epi8(a, b); #else simde__m512i_private r_, a_ = simde__m512i_to_private(a), b_ = simde__m512i_to_private(b); #if defined(SIMDE_SHUFFLE_VECTOR_) r_.i8 = SIMDE_SHUFFLE_VECTOR_(8, 64, a_.i8, b_.i8, 0, 64, 1, 65, 2, 66, 3, 67, 4, 68, 5, 69, 6, 70, 7, 71, 16, 80, 17, 81, 18, 82, 19, 83, 20, 84, 21, 85, 22, 86, 23, 87, 32, 96, 33, 97, 34, 98, 35, 99, 36, 100, 37, 101, 38, 102, 39, 103, 48, 112, 49, 113, 50, 114, 51, 115, 52, 116, 53, 117, 54, 118, 55, 119); #elif SIMDE_NATURAL_VECTOR_SIZE_LE(256) r_.m256i[0] = simde_mm256_unpacklo_epi8(a_.m256i[0], b_.m256i[0]); r_.m256i[1] = simde_mm256_unpacklo_epi8(a_.m256i[1], b_.m256i[1]); #else SIMDE_VECTORIZE for (size_t i = 0 ; i < (sizeof(r_.i8) / sizeof(r_.i8[0]) / 2) ; i++) { r_.i8[2 * i] = a_.i8[i + ~(~i | 7)]; r_.i8[2 * i + 1] = b_.i8[i + ~(~i | 7)]; } #endif return simde__m512i_from_private(r_); #endif } #if defined(SIMDE_X86_AVX512BW_ENABLE_NATIVE_ALIASES) #undef _mm512_unpacklo_epi8 #define _mm512_unpacklo_epi8(a, b) simde_mm512_unpacklo_epi8(a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512i simde_mm512_mask_unpacklo_epi8(simde__m512i src, simde__mmask64 k, simde__m512i a, simde__m512i b) { #if defined(SIMDE_X86_AVX512BW_NATIVE) return _mm512_mask_unpacklo_epi8(src, k, a, b); #else return simde_mm512_mask_mov_epi8(src, k, simde_mm512_unpacklo_epi8(a, b)); #endif } #if defined(SIMDE_X86_AVX512BW_ENABLE_NATIVE_ALIASES) #undef _mm512_mask_unpacklo_epi8 #define _mm512_mask_unpacklo_epi8(src, k, a, b) simde_mm512_mask_unpacklo_epi8(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512i simde_mm512_maskz_unpacklo_epi8(simde__mmask64 k, simde__m512i a, simde__m512i b) { #if defined(SIMDE_X86_AVX512BW_NATIVE) return _mm512_maskz_unpacklo_epi8(k, a, b); #else return simde_mm512_maskz_mov_epi8(k, simde_mm512_unpacklo_epi8(a, b)); #endif } #if defined(SIMDE_X86_AVX512BW_ENABLE_NATIVE_ALIASES) #undef _mm512_maskz_unpacklo_epi8 #define _mm512_maskz_unpacklo_epi8(k, a, b) simde_mm512_maskz_unpacklo_epi8(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m256i simde_mm256_mask_unpacklo_epi8(simde__m256i src, simde__mmask32 k, simde__m256i a, simde__m256i b) { #if defined(SIMDE_X86_AVX512BW_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm256_mask_unpacklo_epi8(src, k, a, b); #else return simde_mm256_mask_mov_epi8(src, k, simde_mm256_unpacklo_epi8(a, b)); #endif } #if defined(SIMDE_X86_AVX512BW_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm256_mask_unpacklo_epi8 #define _mm256_mask_unpacklo_epi8(src, k, a, b) simde_mm256_mask_unpacklo_epi8(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m256i simde_mm256_maskz_unpacklo_epi8(simde__mmask32 k, simde__m256i a, simde__m256i b) { #if defined(SIMDE_X86_AVX512BW_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm256_maskz_unpacklo_epi8(k, a, b); #else return simde_mm256_maskz_mov_epi8(k, simde_mm256_unpacklo_epi8(a, b)); #endif } #if defined(SIMDE_X86_AVX512BW_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm256_maskz_unpacklo_epi8 #define _mm256_maskz_unpacklo_epi8(k, a, b) simde_mm256_maskz_unpacklo_epi8(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m128i simde_mm_mask_unpacklo_epi8(simde__m128i src, simde__mmask16 k, simde__m128i a, simde__m128i b) { #if defined(SIMDE_X86_AVX512BW_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm_mask_unpacklo_epi8(src, k, a, b); #else return simde_mm_mask_mov_epi8(src, k, simde_mm_unpacklo_epi8(a, b)); #endif } #if defined(SIMDE_X86_AVX512BW_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm_mask_unpacklo_epi8 #define _mm_mask_unpacklo_epi8(src, k, a, b) simde_mm_mask_unpacklo_epi8(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m128i simde_mm_maskz_unpacklo_epi8(simde__mmask16 k, simde__m128i a, simde__m128i b) { #if defined(SIMDE_X86_AVX512BW_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm_maskz_unpacklo_epi8(k, a, b); #else return simde_mm_maskz_mov_epi8(k, simde_mm_unpacklo_epi8(a, b)); #endif } #if defined(SIMDE_X86_AVX512BW_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm_maskz_unpacklo_epi8 #define _mm_maskz_unpacklo_epi8(k, a, b) simde_mm_maskz_unpacklo_epi8(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512i simde_mm512_unpacklo_epi16 (simde__m512i a, simde__m512i b) { #if defined(SIMDE_X86_AVX512BW_NATIVE) return _mm512_unpacklo_epi16(a, b); #else simde__m512i_private r_, a_ = simde__m512i_to_private(a), b_ = simde__m512i_to_private(b); #if defined(SIMDE_SHUFFLE_VECTOR_) r_.i16 = SIMDE_SHUFFLE_VECTOR_(16, 64, a_.i16, b_.i16, 0, 32, 1, 33, 2, 34, 3, 35, 8, 40, 9, 41, 10, 42, 11, 43, 16, 48, 17, 49, 18, 50, 19, 51, 24, 56, 25, 57, 26, 58, 27, 59); #elif SIMDE_NATURAL_VECTOR_SIZE_LE(256) r_.m256i[0] = simde_mm256_unpacklo_epi16(a_.m256i[0], b_.m256i[0]); r_.m256i[1] = simde_mm256_unpacklo_epi16(a_.m256i[1], b_.m256i[1]); #else SIMDE_VECTORIZE for (size_t i = 0 ; i < (sizeof(r_.i16) / sizeof(r_.i16[0]) / 2) ; i++) { r_.i16[2 * i] = a_.i16[i + ~(~i | 3)]; r_.i16[2 * i + 1] = b_.i16[i + ~(~i | 3)]; } #endif return simde__m512i_from_private(r_); #endif } #if defined(SIMDE_X86_AVX512BW_ENABLE_NATIVE_ALIASES) #undef _mm512_unpacklo_epi16 #define _mm512_unpacklo_epi16(a, b) simde_mm512_unpacklo_epi16(a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512i simde_mm512_mask_unpacklo_epi16(simde__m512i src, simde__mmask32 k, simde__m512i a, simde__m512i b) { #if defined(SIMDE_X86_AVX512BW_NATIVE) return _mm512_mask_unpacklo_epi16(src, k, a, b); #else return simde_mm512_mask_mov_epi16(src, k, simde_mm512_unpacklo_epi16(a, b)); #endif } #if defined(SIMDE_X86_AVX512BW_ENABLE_NATIVE_ALIASES) #undef _mm512_mask_unpacklo_epi16 #define _mm512_mask_unpacklo_epi16(src, k, a, b) simde_mm512_mask_unpacklo_epi16(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512i simde_mm512_maskz_unpacklo_epi16(simde__mmask32 k, simde__m512i a, simde__m512i b) { #if defined(SIMDE_X86_AVX512BW_NATIVE) return _mm512_maskz_unpacklo_epi16(k, a, b); #else return simde_mm512_maskz_mov_epi16(k, simde_mm512_unpacklo_epi16(a, b)); #endif } #if defined(SIMDE_X86_AVX512BW_ENABLE_NATIVE_ALIASES) #undef _mm512_maskz_unpacklo_epi16 #define _mm512_maskz_unpacklo_epi16(k, a, b) simde_mm512_maskz_unpacklo_epi16(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m256i simde_mm256_mask_unpacklo_epi16(simde__m256i src, simde__mmask16 k, simde__m256i a, simde__m256i b) { #if defined(SIMDE_X86_AVX512BW_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm256_mask_unpacklo_epi16(src, k, a, b); #else return simde_mm256_mask_mov_epi16(src, k, simde_mm256_unpacklo_epi16(a, b)); #endif } #if defined(SIMDE_X86_AVX512BW_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm256_mask_unpacklo_epi16 #define _mm256_mask_unpacklo_epi16(src, k, a, b) simde_mm256_mask_unpacklo_epi16(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m256i simde_mm256_maskz_unpacklo_epi16(simde__mmask16 k, simde__m256i a, simde__m256i b) { #if defined(SIMDE_X86_AVX512BW_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm256_maskz_unpacklo_epi16(k, a, b); #else return simde_mm256_maskz_mov_epi16(k, simde_mm256_unpacklo_epi16(a, b)); #endif } #if defined(SIMDE_X86_AVX512BW_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm256_maskz_unpacklo_epi16 #define _mm256_maskz_unpacklo_epi16(k, a, b) simde_mm256_maskz_unpacklo_epi16(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m128i simde_mm_mask_unpacklo_epi16(simde__m128i src, simde__mmask8 k, simde__m128i a, simde__m128i b) { #if defined(SIMDE_X86_AVX512BW_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm_mask_unpacklo_epi16(src, k, a, b); #else return simde_mm_mask_mov_epi16(src, k, simde_mm_unpacklo_epi16(a, b)); #endif } #if defined(SIMDE_X86_AVX512BW_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm_mask_unpacklo_epi16 #define _mm_mask_unpacklo_epi16(src, k, a, b) simde_mm_mask_unpacklo_epi16(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m128i simde_mm_maskz_unpacklo_epi16(simde__mmask8 k, simde__m128i a, simde__m128i b) { #if defined(SIMDE_X86_AVX512BW_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm_maskz_unpacklo_epi16(k, a, b); #else return simde_mm_maskz_mov_epi16(k, simde_mm_unpacklo_epi16(a, b)); #endif } #if defined(SIMDE_X86_AVX512BW_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm_maskz_unpacklo_epi16 #define _mm_maskz_unpacklo_epi16(k, a, b) simde_mm_maskz_unpacklo_epi16(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512i simde_mm512_unpacklo_epi32 (simde__m512i a, simde__m512i b) { #if defined(SIMDE_X86_AVX512F_NATIVE) return _mm512_unpacklo_epi32(a, b); #else simde__m512i_private r_, a_ = simde__m512i_to_private(a), b_ = simde__m512i_to_private(b); #if defined(SIMDE_SHUFFLE_VECTOR_) r_.i32 = SIMDE_SHUFFLE_VECTOR_(32, 64, a_.i32, b_.i32, 0, 16, 1, 17, 4, 20, 5, 21, 8, 24, 9, 25, 12, 28, 13, 29); #elif SIMDE_NATURAL_VECTOR_SIZE_LE(256) r_.m256i[0] = simde_mm256_unpacklo_epi32(a_.m256i[0], b_.m256i[0]); r_.m256i[1] = simde_mm256_unpacklo_epi32(a_.m256i[1], b_.m256i[1]); #else SIMDE_VECTORIZE for (size_t i = 0 ; i < (sizeof(r_.i32) / sizeof(r_.i32[0]) / 2) ; i++) { r_.i32[2 * i] = a_.i32[i + ~(~i | 1)]; r_.i32[2 * i + 1] = b_.i32[i + ~(~i | 1)]; } #endif return simde__m512i_from_private(r_); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) #undef _mm512_unpacklo_epi32 #define _mm512_unpacklo_epi32(a, b) simde_mm512_unpacklo_epi32(a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512i simde_mm512_mask_unpacklo_epi32(simde__m512i src, simde__mmask16 k, simde__m512i a, simde__m512i b) { #if defined(SIMDE_X86_AVX512F_NATIVE) return _mm512_mask_unpacklo_epi32(src, k, a, b); #else return simde_mm512_mask_mov_epi32(src, k, simde_mm512_unpacklo_epi32(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) #undef _mm512_mask_unpacklo_epi32 #define _mm512_mask_unpacklo_epi32(src, k, a, b) simde_mm512_mask_unpacklo_epi32(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512i simde_mm512_maskz_unpacklo_epi32(simde__mmask16 k, simde__m512i a, simde__m512i b) { #if defined(SIMDE_X86_AVX512F_NATIVE) return _mm512_maskz_unpacklo_epi32(k, a, b); #else return simde_mm512_maskz_mov_epi32(k, simde_mm512_unpacklo_epi32(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) #undef _mm512_maskz_unpacklo_epi32 #define _mm512_maskz_unpacklo_epi32(k, a, b) simde_mm512_maskz_unpacklo_epi32(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m256i simde_mm256_mask_unpacklo_epi32(simde__m256i src, simde__mmask8 k, simde__m256i a, simde__m256i b) { #if defined(SIMDE_X86_AVX512F_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm256_mask_unpacklo_epi32(src, k, a, b); #else return simde_mm256_mask_mov_epi32(src, k, simde_mm256_unpacklo_epi32(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm256_mask_unpacklo_epi32 #define _mm256_mask_unpacklo_epi32(src, k, a, b) simde_mm256_mask_unpacklo_epi32(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m256i simde_mm256_maskz_unpacklo_epi32(simde__mmask8 k, simde__m256i a, simde__m256i b) { #if defined(SIMDE_X86_AVX512F_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm256_maskz_unpacklo_epi32(k, a, b); #else return simde_mm256_maskz_mov_epi32(k, simde_mm256_unpacklo_epi32(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm256_maskz_unpacklo_epi32 #define _mm256_maskz_unpacklo_epi32(k, a, b) simde_mm256_maskz_unpacklo_epi32(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m128i simde_mm_mask_unpacklo_epi32(simde__m128i src, simde__mmask8 k, simde__m128i a, simde__m128i b) { #if defined(SIMDE_X86_AVX512F_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm_mask_unpacklo_epi32(src, k, a, b); #else return simde_mm_mask_mov_epi32(src, k, simde_mm_unpacklo_epi32(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm_mask_unpacklo_epi32 #define _mm_mask_unpacklo_epi32(src, k, a, b) simde_mm_mask_unpacklo_epi32(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m128i simde_mm_maskz_unpacklo_epi32(simde__mmask8 k, simde__m128i a, simde__m128i b) { #if defined(SIMDE_X86_AVX512F_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm_maskz_unpacklo_epi32(k, a, b); #else return simde_mm_maskz_mov_epi32(k, simde_mm_unpacklo_epi32(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm_maskz_unpacklo_epi32 #define _mm_maskz_unpacklo_epi32(k, a, b) simde_mm_maskz_unpacklo_epi32(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512i simde_mm512_unpacklo_epi64 (simde__m512i a, simde__m512i b) { #if defined(SIMDE_X86_AVX512F_NATIVE) return _mm512_unpacklo_epi64(a, b); #else simde__m512i_private r_, a_ = simde__m512i_to_private(a), b_ = simde__m512i_to_private(b); #if defined(SIMDE_SHUFFLE_VECTOR_) r_.i64 = SIMDE_SHUFFLE_VECTOR_(64, 64, a_.i64, b_.i64, 0, 8, 2, 10, 4, 12, 6, 14); #elif SIMDE_NATURAL_VECTOR_SIZE_LE(256) r_.m256i[0] = simde_mm256_unpacklo_epi64(a_.m256i[0], b_.m256i[0]); r_.m256i[1] = simde_mm256_unpacklo_epi64(a_.m256i[1], b_.m256i[1]); #else SIMDE_VECTORIZE for (size_t i = 0 ; i < (sizeof(r_.i64) / sizeof(r_.i64[0]) / 2) ; i++) { r_.i64[2 * i] = a_.i64[2 * i]; r_.i64[2 * i + 1] = b_.i64[2 * i]; } #endif return simde__m512i_from_private(r_); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) #undef _mm512_unpacklo_epi64 #define _mm512_unpacklo_epi64(a, b) simde_mm512_unpacklo_epi64(a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512i simde_mm512_mask_unpacklo_epi64(simde__m512i src, simde__mmask8 k, simde__m512i a, simde__m512i b) { #if defined(SIMDE_X86_AVX512F_NATIVE) return _mm512_mask_unpacklo_epi64(src, k, a, b); #else return simde_mm512_mask_mov_epi64(src, k, simde_mm512_unpacklo_epi64(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) #undef _mm512_mask_unpacklo_epi64 #define _mm512_mask_unpacklo_epi64(src, k, a, b) simde_mm512_mask_unpacklo_epi64(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512i simde_mm512_maskz_unpacklo_epi64(simde__mmask8 k, simde__m512i a, simde__m512i b) { #if defined(SIMDE_X86_AVX512F_NATIVE) return _mm512_maskz_unpacklo_epi64(k, a, b); #else return simde_mm512_maskz_mov_epi64(k, simde_mm512_unpacklo_epi64(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) #undef _mm512_maskz_unpacklo_epi64 #define _mm512_maskz_unpacklo_epi64(k, a, b) simde_mm512_maskz_unpacklo_epi64(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m256i simde_mm256_mask_unpacklo_epi64(simde__m256i src, simde__mmask8 k, simde__m256i a, simde__m256i b) { #if defined(SIMDE_X86_AVX512F_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm256_mask_unpacklo_epi64(src, k, a, b); #else return simde_mm256_mask_mov_epi64(src, k, simde_mm256_unpacklo_epi64(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm256_mask_unpacklo_epi64 #define _mm256_mask_unpacklo_epi64(src, k, a, b) simde_mm256_mask_unpacklo_epi64(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m256i simde_mm256_maskz_unpacklo_epi64(simde__mmask8 k, simde__m256i a, simde__m256i b) { #if defined(SIMDE_X86_AVX512F_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm256_maskz_unpacklo_epi64(k, a, b); #else return simde_mm256_maskz_mov_epi64(k, simde_mm256_unpacklo_epi64(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm256_maskz_unpacklo_epi64 #define _mm256_maskz_unpacklo_epi64(k, a, b) simde_mm256_maskz_unpacklo_epi64(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m128i simde_mm_mask_unpacklo_epi64(simde__m128i src, simde__mmask8 k, simde__m128i a, simde__m128i b) { #if defined(SIMDE_X86_AVX512F_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm_mask_unpacklo_epi64(src, k, a, b); #else return simde_mm_mask_mov_epi64(src, k, simde_mm_unpacklo_epi64(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm_mask_unpacklo_epi64 #define _mm_mask_unpacklo_epi64(src, k, a, b) simde_mm_mask_unpacklo_epi64(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m128i simde_mm_maskz_unpacklo_epi64(simde__mmask8 k, simde__m128i a, simde__m128i b) { #if defined(SIMDE_X86_AVX512F_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm_maskz_unpacklo_epi64(k, a, b); #else return simde_mm_maskz_mov_epi64(k, simde_mm_unpacklo_epi64(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm_maskz_unpacklo_epi64 #define _mm_maskz_unpacklo_epi64(k, a, b) simde_mm_maskz_unpacklo_epi64(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512 simde_mm512_unpacklo_ps (simde__m512 a, simde__m512 b) { #if defined(SIMDE_X86_AVX512F_NATIVE) return _mm512_unpacklo_ps(a, b); #else simde__m512_private r_, a_ = simde__m512_to_private(a), b_ = simde__m512_to_private(b); #if defined(SIMDE_SHUFFLE_VECTOR_) r_.f32 = SIMDE_SHUFFLE_VECTOR_(32, 64, a_.f32, b_.f32, 0, 16, 1, 17, 4, 20, 5, 21, 8, 24, 9, 25, 12, 28, 13, 29); #elif SIMDE_NATURAL_VECTOR_SIZE_LE(256) r_.m256[0] = simde_mm256_unpacklo_ps(a_.m256[0], b_.m256[0]); r_.m256[1] = simde_mm256_unpacklo_ps(a_.m256[1], b_.m256[1]); #else SIMDE_VECTORIZE for (size_t i = 0 ; i < (sizeof(r_.f32) / sizeof(r_.f32[0]) / 2) ; i++) { r_.f32[2 * i] = a_.f32[i + ~(~i | 1)]; r_.f32[2 * i + 1] = b_.f32[i + ~(~i | 1)]; } #endif return simde__m512_from_private(r_); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) #undef _mm512_unpacklo_ps #define _mm512_unpacklo_ps(a, b) simde_mm512_unpacklo_ps(a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512 simde_mm512_mask_unpacklo_ps(simde__m512 src, simde__mmask16 k, simde__m512 a, simde__m512 b) { #if defined(SIMDE_X86_AVX512F_NATIVE) return _mm512_mask_unpacklo_ps(src, k, a, b); #else return simde_mm512_mask_mov_ps(src, k, simde_mm512_unpacklo_ps(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) #undef _mm512_mask_unpacklo_ps #define _mm512_mask_unpacklo_ps(src, k, a, b) simde_mm512_mask_unpacklo_ps(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512 simde_mm512_maskz_unpacklo_ps(simde__mmask16 k, simde__m512 a, simde__m512 b) { #if defined(SIMDE_X86_AVX512F_NATIVE) return _mm512_maskz_unpacklo_ps(k, a, b); #else return simde_mm512_maskz_mov_ps(k, simde_mm512_unpacklo_ps(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) #undef _mm512_maskz_unpacklo_ps #define _mm512_maskz_unpacklo_ps(k, a, b) simde_mm512_maskz_unpacklo_ps(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m256 simde_mm256_mask_unpacklo_ps(simde__m256 src, simde__mmask8 k, simde__m256 a, simde__m256 b) { #if defined(SIMDE_X86_AVX512F_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm256_mask_unpacklo_ps(src, k, a, b); #else return simde_mm256_mask_mov_ps(src, k, simde_mm256_unpacklo_ps(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm256_mask_unpacklo_ps #define _mm256_mask_unpacklo_ps(src, k, a, b) simde_mm256_mask_unpacklo_ps(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m256 simde_mm256_maskz_unpacklo_ps(simde__mmask8 k, simde__m256 a, simde__m256 b) { #if defined(SIMDE_X86_AVX512F_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm256_maskz_unpacklo_ps(k, a, b); #else return simde_mm256_maskz_mov_ps(k, simde_mm256_unpacklo_ps(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm256_maskz_unpacklo_ps #define _mm256_maskz_unpacklo_ps(k, a, b) simde_mm256_maskz_unpacklo_ps(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m128 simde_mm_mask_unpacklo_ps(simde__m128 src, simde__mmask8 k, simde__m128 a, simde__m128 b) { #if defined(SIMDE_X86_AVX512F_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm_mask_unpacklo_ps(src, k, a, b); #else return simde_mm_mask_mov_ps(src, k, simde_mm_unpacklo_ps(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm_mask_unpacklo_ps #define _mm_mask_unpacklo_ps(src, k, a, b) simde_mm_mask_unpacklo_ps(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m128 simde_mm_maskz_unpacklo_ps(simde__mmask8 k, simde__m128 a, simde__m128 b) { #if defined(SIMDE_X86_AVX512F_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm_maskz_unpacklo_ps(k, a, b); #else return simde_mm_maskz_mov_ps(k, simde_mm_unpacklo_ps(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm_maskz_unpacklo_ps #define _mm_maskz_unpacklo_ps(k, a, b) simde_mm_maskz_unpacklo_ps(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512d simde_mm512_unpacklo_pd (simde__m512d a, simde__m512d b) { #if defined(SIMDE_X86_AVX512F_NATIVE) return _mm512_unpacklo_pd(a, b); #else simde__m512d_private r_, a_ = simde__m512d_to_private(a), b_ = simde__m512d_to_private(b); #if defined(SIMDE_SHUFFLE_VECTOR_) r_.f64 = SIMDE_SHUFFLE_VECTOR_(64, 64, a_.f64, b_.f64, 0, 8, 2, 10, 4, 12, 6, 14); #elif SIMDE_NATURAL_VECTOR_SIZE_LE(256) r_.m256d[0] = simde_mm256_unpacklo_pd(a_.m256d[0], b_.m256d[0]); r_.m256d[1] = simde_mm256_unpacklo_pd(a_.m256d[1], b_.m256d[1]); #else SIMDE_VECTORIZE for (size_t i = 0 ; i < (sizeof(r_.f64) / sizeof(r_.f64[0]) / 2) ; i++) { r_.f64[2 * i] = a_.f64[2 * i]; r_.f64[2 * i + 1] = b_.f64[2 * i]; } #endif return simde__m512d_from_private(r_); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) #undef _mm512_unpacklo_pd #define _mm512_unpacklo_pd(a, b) simde_mm512_unpacklo_pd(a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512d simde_mm512_mask_unpacklo_pd(simde__m512d src, simde__mmask8 k, simde__m512d a, simde__m512d b) { #if defined(SIMDE_X86_AVX512F_NATIVE) return _mm512_mask_unpacklo_pd(src, k, a, b); #else return simde_mm512_mask_mov_pd(src, k, simde_mm512_unpacklo_pd(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) #undef _mm512_mask_unpacklo_pd #define _mm512_mask_unpacklo_pd(src, k, a, b) simde_mm512_mask_unpacklo_pd(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m512d simde_mm512_maskz_unpacklo_pd(simde__mmask8 k, simde__m512d a, simde__m512d b) { #if defined(SIMDE_X86_AVX512F_NATIVE) return _mm512_maskz_unpacklo_pd(k, a, b); #else return simde_mm512_maskz_mov_pd(k, simde_mm512_unpacklo_pd(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) #undef _mm512_maskz_unpacklo_pd #define _mm512_maskz_unpacklo_pd(k, a, b) simde_mm512_maskz_unpacklo_pd(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m256d simde_mm256_mask_unpacklo_pd(simde__m256d src, simde__mmask8 k, simde__m256d a, simde__m256d b) { #if defined(SIMDE_X86_AVX512F_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm256_mask_unpacklo_pd(src, k, a, b); #else return simde_mm256_mask_mov_pd(src, k, simde_mm256_unpacklo_pd(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm256_mask_unpacklo_pd #define _mm256_mask_unpacklo_pd(src, k, a, b) simde_mm256_mask_unpacklo_pd(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m256d simde_mm256_maskz_unpacklo_pd(simde__mmask8 k, simde__m256d a, simde__m256d b) { #if defined(SIMDE_X86_AVX512F_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm256_maskz_unpacklo_pd(k, a, b); #else return simde_mm256_maskz_mov_pd(k, simde_mm256_unpacklo_pd(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm256_maskz_unpacklo_pd #define _mm256_maskz_unpacklo_pd(k, a, b) simde_mm256_maskz_unpacklo_pd(k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m128d simde_mm_mask_unpacklo_pd(simde__m128d src, simde__mmask8 k, simde__m128d a, simde__m128d b) { #if defined(SIMDE_X86_AVX512F_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm_mask_unpacklo_pd(src, k, a, b); #else return simde_mm_mask_mov_pd(src, k, simde_mm_unpacklo_pd(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm_mask_unpacklo_pd #define _mm_mask_unpacklo_pd(src, k, a, b) simde_mm_mask_unpacklo_pd(src, k, a, b) #endif SIMDE_FUNCTION_ATTRIBUTES simde__m128d simde_mm_maskz_unpacklo_pd(simde__mmask8 k, simde__m128d a, simde__m128d b) { #if defined(SIMDE_X86_AVX512F_NATIVE) && defined(SIMDE_X86_AVX512VL_NATIVE) return _mm_maskz_unpacklo_pd(k, a, b); #else return simde_mm_maskz_mov_pd(k, simde_mm_unpacklo_pd(a, b)); #endif } #if defined(SIMDE_X86_AVX512F_ENABLE_NATIVE_ALIASES) && defined(SIMDE_X86_AVX512VL_ENABLE_NATIVE_ALIASES) #undef _mm_maskz_unpacklo_pd #define _mm_maskz_unpacklo_pd(k, a, b) simde_mm_maskz_unpacklo_pd(k, a, b) #endif SIMDE_END_DECLS_ HEDLEY_DIAGNOSTIC_POP #endif /* !defined(SIMDE_X86_AVX512_UNPACKLO_H) */
36,172
https://github.com/i-gaven/Just_a_dumper/blob/master/all_headers/前程无忧51Job-求职招聘找工作-7.2.1(越狱应用)_headers/XmPushActionContainer.h
Github Open Source
Open Source
MIT
2,018
Just_a_dumper
i-gaven
Objective-C
Code
175
787
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <objc/NSObject.h> #import "NSCoding-Protocol.h" @class NSData, NSString, PushMetaInfo, Target; @interface XmPushActionContainer : NSObject <NSCoding> { int __action; _Bool __encryptAction; _Bool __isRequest; NSData *__pushAction; NSString *__appid; NSString *__packageName; Target *__target; PushMetaInfo *__metaInfo; _Bool __action_isset; _Bool __encryptAction_isset; _Bool __isRequest_isset; _Bool __pushAction_isset; _Bool __appid_isset; _Bool __packageName_isset; _Bool __target_isset; _Bool __metaInfo_isset; } - (id)description; - (void)write:(id)arg1; - (void)read:(id)arg1; - (void)unsetMetaInfo; - (_Bool)metaInfoIsSet; @property(retain, nonatomic, getter=metaInfo, setter=setMetaInfo:) PushMetaInfo *metaInfo; - (void)unsetTarget; - (_Bool)targetIsSet; @property(retain, nonatomic, getter=target, setter=setTarget:) Target *target; - (void)unsetPackageName; - (_Bool)packageNameIsSet; @property(retain, nonatomic, getter=packageName, setter=setPackageName:) NSString *packageName; - (void)unsetAppid; - (_Bool)appidIsSet; @property(retain, nonatomic, getter=appid, setter=setAppid:) NSString *appid; - (void)unsetPushAction; - (_Bool)pushActionIsSet; @property(retain, nonatomic, getter=pushAction, setter=setPushAction:) NSData *pushAction; - (void)unsetIsRequest; - (_Bool)isRequestIsSet; @property(nonatomic, getter=isRequest, setter=setIsRequest:) _Bool isRequest; - (void)unsetEncryptAction; - (_Bool)encryptActionIsSet; @property(nonatomic, getter=encryptAction, setter=setEncryptAction:) _Bool encryptAction; - (void)unsetAction; - (_Bool)actionIsSet; @property(nonatomic, getter=action, setter=setAction:) int action; - (void)dealloc; - (void)encodeWithCoder:(id)arg1; - (id)initWithCoder:(id)arg1; - (id)initWithAction:(int)arg1 encryptAction:(_Bool)arg2 isRequest:(_Bool)arg3 pushAction:(id)arg4 appid:(id)arg5 packageName:(id)arg6 target:(id)arg7 metaInfo:(id)arg8; @end
50,942
https://github.com/SalmanZafar1105/LeftAlignLayoutiOS/blob/master/FirstApp/ViewController.swift
Github Open Source
Open Source
MIT
null
LeftAlignLayoutiOS
SalmanZafar1105
Swift
Code
258
729
// // ViewController.swift // FirstApp // // Created by SALMAN ZAFAR on 06/01/20. // Copyright © 2020 SALMAN ZAFAR. All rights reserved. // import UIKit class ViewController: UIViewController, LeftAlignLayoutDelegate, UICollectionViewDataSource { @IBOutlet weak var collectionView: UICollectionView! let testLayout = LeftAlignLayout() override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view. testLayout.delegate = self let testNib = UINib(nibName: "TestCollectionViewCell", bundle: nil) collectionView.register(testNib, forCellWithReuseIdentifier: "TestCell") collectionView.dataSource = self collectionView.collectionViewLayout = testLayout } /* // MARK: - Navigation // In a storyboard-based application, you will often want to do a little preparation before navigation override func prepare(for segue: UIStoryboardSegue, sender: Any?) { // Get the new view controller using segue.destination. // Pass the selected object to the new view controller. } */ //MARK: - UICollectionViewDataSource func numberOfSections(in collectionView: UICollectionView) -> Int { return 2 } func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { return 15 } func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { return collectionView.dequeueReusableCell(withReuseIdentifier: "TestCell", for: indexPath) } //MARK: - LeftAlignLayoutDelegate func collectionView(collectionView: UICollectionView?, interItemSpacingForSectionAt section: Int) -> CGFloat? { // Using default values. For more info see 'defaultInterItemSpace' in LeftAlignLayout. return nil } func collectionView(collectionView: UICollectionView?, insetForSectionAt section: Int) -> UIEdgeInsets? { // Using default values. For more info see 'defaultEdgeInsets' in LeftAlignLayout. return nil } func collectionView(collectionView: UICollectionView?, lineSpacingForSectionAt section: Int) -> CGFloat? { // Using default values. For more info see 'defaultLineSpace' in LeftAlignLayout. return nil } func collectionView(collectionView: UICollectionView?, sizeForItemAtIndexPath indexPath: IndexPath) -> CGSize { let width = ceil(CGFloat.random(in: 10.0...50.0)) return CGSize(width: width, height: 15.0) } }
33,209
https://github.com/wjunkin/checkboxapp/blob/master/ipal-android/ipalandroid/src/main/java/com/ipalandroid/questionview/NoQuestion.java
Github Open Source
Open Source
Apache-2.0
null
checkboxapp
wjunkin
Java
Code
181
621
package com.ipalandroid.questionview; import android.content.Context; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.widget.EditText; import android.widget.LinearLayout; import com.ipalandroid.R; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import java.io.IOException; /** * This class represents No Question View. It creates the view from HTML, * validates input when there is no active question * * @authors W. F. Junkin and Ngoc Nguyen, DePauw Open Source Development Team * */ public class NoQuestion extends QuestionView { private static String TAG = "NoQuestionView"; private EditText answerField; private LinearLayout layout; public NoQuestion(Document questionPage, String url, String username, int passcode) { super(questionPage, url, username, passcode); Log.d(TAG, "23 in " + TAG); qText = this.questionPage.select("legend").text(); } @Override public View getQuestionView(Context c) { LayoutInflater inflater = (LayoutInflater) c.getSystemService(Context.LAYOUT_INFLATER_SERVICE); layout = (LinearLayout) inflater.inflate(R.layout.activity_no_question,null); return layout; } public LinearLayout getLayout() { return layout; } @Override public Boolean validateInput() { return true; } @Override public Boolean sendResult() { try { Jsoup.connect(url+"/mod/ipal/tempview.php?user="+username+"&p="+passcode) .data("answer_id", "-1") .data("a_text", "No active question") .data("question_id", question_id+"") .data("active_question_id", active_question_id+"") .data("course_id", course_id+"") .data("user_id", user_id+"") .data("submit", "Submit") .data("ipal_id", ipal_id+"") .data("instructor", instructor) .post(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return true; } }
13,853
https://github.com/paulwratt/cin-5.34.00/blob/master/cint/lib/dll_stl/suncc5_string.h
Github Open Source
Open Source
MIT
2,021
cin-5.34.00
paulwratt
C
Code
92
349
/* -*- C++ -*- */ /************************************************************************* * Copyright(c) 1995~2005 Masaharu Goto (root-cint@cern.ch) * * For the licensing terms see the file COPYING * ************************************************************************/ #ifndef G__SUNCC5_STRING_H #define G__SUNCC5_STRING_H #ifdef __CINT__ #define _RWSTDExport #endif #if (__SUNPRO_CC>=1280) //#define _RWSTD_COMPILE_INSTANTIATE namespace __rwstd { #ifdef _RWSTD_LOCALIZED_ERRORS const unsigned int _RWSTDExport __rwse_InvalidSizeParam=0; const unsigned int _RWSTDExport __rwse_PosBeyondEndOfString=0; const unsigned int _RWSTDExport __rwse_ResultLenInvalid=0; const unsigned int _RWSTDExport __rwse_StringIndexOutOfRange=0; const unsigned int _RWSTDExport __rwse_UnexpectedNullPtr=0; #else const char * __rwse_InvalidSizeParam=0; const char * __rwse_PosBeyondEndOfString=0; const char * __rwse_ResultLenInvalid=0; const char * __rwse_StringIndexOutOfRange=0; const char * __rwse_UnexpectedNullPtr=0; #endif } #endif #endif
9,484
https://github.com/Genotypek/Swashbuckle.AspNetCore.Filters/blob/master/src/Swashbuckle.AspNetCore.Filters/Examples/RequestExample.cs
Github Open Source
Open Source
MIT
null
Swashbuckle.AspNetCore.Filters
Genotypek
C#
Code
484
1,559
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Extensions.Options; using Microsoft.OpenApi.Any; using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.Filters.Extensions; using Swashbuckle.AspNetCore.Swagger; using Swashbuckle.AspNetCore.SwaggerGen; namespace Swashbuckle.AspNetCore.Filters { internal class RequestExample { private readonly MvcOutputFormatter mvcOutputFormatter; private readonly ISchemaGenerator schemaGenerator; private readonly SwaggerOptions swaggerOptions; public RequestExample( MvcOutputFormatter mvcOutputFormatter, IOptions<SwaggerOptions> options, ISchemaGenerator schemaGenerator) { this.mvcOutputFormatter = mvcOutputFormatter; this.schemaGenerator = schemaGenerator; this.swaggerOptions = options?.Value; } public void SetRequestExampleForOperation( OpenApiOperation operation, SchemaRepository schemaRepository, Type requestType, object example) { if (example == null) { return; } if (operation.RequestBody == null || operation.RequestBody.Content == null) { return; } var examplesConverter = new ExamplesConverter(mvcOutputFormatter); IOpenApiAny firstOpenApiExample; if (example is IEnumerable<ISwaggerExample> multiple) { var multipleList = multiple.ToList(); firstOpenApiExample = SetMultipleRequestExamplesForOperation(operation, multipleList, examplesConverter); SetMultipleSchema(operation, schemaRepository, multipleList); } else { firstOpenApiExample = SetSingleRequestExampleForOperation(operation, example, examplesConverter); SetSingleSchema(operation, schemaRepository, example); } if (swaggerOptions.SerializeAsV2) { // Swagger v2 doesn't have a request example on the path // Fallback to setting it on the object in the "definitions" string schemaDefinitionName = requestType.SchemaDefinitionName(); if (schemaRepository.Schemas.ContainsKey(schemaDefinitionName)) { var schemaDefinition = schemaRepository.Schemas[schemaDefinitionName]; if (schemaDefinition.Example == null) { schemaDefinition.Example = firstOpenApiExample; } } } } /// <summary> /// Sets the operation schema to match exactly the types of the associated examples. /// <para>Generates new schemas when needed</para> /// </summary> private void SetMultipleSchema(OpenApiOperation operation, SchemaRepository schemaRepository, List<ISwaggerExample> examples) { var exampleTypes = examples.Where(x => x.GetValue() != null).Select(x => x.GetValue()?.GetType()).Distinct().ToList(); if (exampleTypes.Count == 1) { SetSingleSchema(operation, schemaRepository, examples[0].GetValue()); return; } var schemas = exampleTypes.Select(type => schemaGenerator.GenerateSchema(type, schemaRepository)).ToList(); foreach (var content in operation.RequestBody.Content) { if (content.Value.Examples.Count == 0) continue; content.Value.Schema = new OpenApiSchema { OneOf = schemas }; } } /// <summary> /// Sets the operation schema to match exactly the type of the associated example. /// <para>Generates new schema when needed</para> /// </summary> private void SetSingleSchema(OpenApiOperation operation, SchemaRepository schemaRepository, object example) { if (example == null) return; var exampleType = example.GetType(); var schemaDefinition = schemaGenerator.GenerateSchema(exampleType, schemaRepository); foreach (var content in operation.RequestBody.Content) { if (content.Value.Example == null && !content.Value.Examples.Any()) continue; content.Value.Schema = schemaDefinition; } } /// <summary> /// Sets an example on the operation for all of the operation's content types /// </summary> /// <returns>The first example so that it can be reused on the definition for V2</returns> private IOpenApiAny SetSingleRequestExampleForOperation( OpenApiOperation operation, object example, ExamplesConverter examplesConverter) { var jsonExample = new Lazy<IOpenApiAny>(() => examplesConverter.SerializeExampleJson(example)); var xmlExample = new Lazy<IOpenApiAny>(() => examplesConverter.SerializeExampleXml(example)); foreach (var content in operation.RequestBody.Content) { if (content.Key.Contains("xml")) { content.Value.Example = xmlExample.Value; } else { content.Value.Example = jsonExample.Value; } } return operation.RequestBody.Content.FirstOrDefault().Value?.Example; } /// <summary> /// Sets multiple examples on the operation for all of the operation's content types /// </summary> /// <returns>The first example so that it can be reused on the definition for V2</returns> private IOpenApiAny SetMultipleRequestExamplesForOperation( OpenApiOperation operation, IEnumerable<ISwaggerExample> examples, ExamplesConverter examplesConverter) { var jsonExamples = new Lazy<IDictionary<string, OpenApiExample>>(() => examplesConverter.ToOpenApiExamplesDictionaryJson(examples) ); var xmlExamples = new Lazy<IDictionary<string, OpenApiExample>>(() => examplesConverter.ToOpenApiExamplesDictionaryXml(examples) ); foreach (var content in operation.RequestBody.Content) { if (content.Key.Contains("xml")) { content.Value.Examples = xmlExamples.Value; } else { content.Value.Examples = jsonExamples.Value; } } return operation.RequestBody.Content.FirstOrDefault().Value?.Examples?.FirstOrDefault().Value?.Value; } } }
7,333
https://github.com/gandhi56/swift/blob/master/test/DebugInfo/ClangModuleBreadcrumbs.swift
Github Open Source
Open Source
Apache-2.0
2,022
swift
gandhi56
Swift
Code
103
396
// RUN: %target-swift-frontend -emit-ir %s -g -I %S/Inputs \ // RUN: -Xcc -DFOO="foo" -Xcc -UBAR -o - | %FileCheck %s // // RUN: %target-swift-frontend -emit-ir %s -g -I %S/Inputs \ // RUN: -Xcc -DFOO="foo" -Xcc -UBAR -o - -no-clang-module-breadcrumbs \ // RUN: | %FileCheck %s --check-prefix=NONE import ClangModule.SubModule import OtherClangModule.SubModule let _ = someFunc(0) // Check for Clang module breadcrumbs. // CHECK: !DICompileUnit(language: DW_LANG_{{ObjC|C99}},{{.*}} producer: "{{.*}}Swift // CHECK-SAME: ClangModule // CHECK-SAME: dwoId: // CHECK: !DICompileUnit(language: DW_LANG_{{ObjC|C99}}, {{.*}} producer: "{{.*}}Swift // CHECK-SAME: OtherClangModule // CHECK-SAME: dwoId: // CHECK: !DICompileUnit(language: DW_LANG_{{ObjC|C99}},{{.*}} producer: "{{.*}}clang // CHECK-SAME: ClangModule // CHECK-SAME: dwoId: // NONE: DICompileUnit({{.*}} // NONE-NOT: DICompileUnit({{.*}}ClangModule
47,989
https://github.com/asankov/reftools/blob/master/cmd/fillswitch/testdata/typeswitch_2/input.go
Github Open Source
Open Source
BSD-2-Clause
2,022
reftools
asankov
Go
Code
13
37
package p import "go/ast" func test(s ast.Stmt) { switch s.(type) { } }
40,023
https://github.com/Arthur-Z/NetOffice/blob/master/Source/OWC10/DispatchInterfaces/ChSeries.cs
Github Open Source
Open Source
MIT
2,019
NetOffice
Arthur-Z
C#
Code
819
3,314
using System.Reflection; using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.OWC10Api { /// <summary> /// DispatchInterface ChSeries /// SupportByVersion OWC10, 1 /// </summary> [SupportByVersion("OWC10", 1)] [EntityType(EntityType.IsDispatchInterface)] [TypeId("F5B39AC1-1480-11D3-8549-00C04FAC67D7")] public interface ChSeries : ICOMObject { #region Properties /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] NetOffice.OWC10Api.ChBorder Border { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] NetOffice.OWC10Api.ChDataLabelsCollection DataLabelsCollection { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] NetOffice.OWC10Api.ChPoints Points { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get/Set /// </summary> [SupportByVersion("OWC10", 1)] string Caption { get; set; } /// <summary> /// SupportByVersion OWC10 1 /// Get/Set /// </summary> [SupportByVersion("OWC10", 1)] Int32 Explosion { get; set; } /// <summary> /// SupportByVersion OWC10 1 /// Get/Set /// </summary> [SupportByVersion("OWC10", 1)] Int32 Thickness { get; set; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] NetOffice.OWC10Api.ChErrorBarsCollection ErrorBarsCollection { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get/Set /// </summary> [SupportByVersion("OWC10", 1)] Int32 Index { get; set; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] NetOffice.OWC10Api.ChInterior Interior { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] NetOffice.OWC10Api.ChLine Line { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] NetOffice.OWC10Api.ChMarker Marker { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] NetOffice.OWC10Api.ChChart Parent { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get/Set /// </summary> [SupportByVersion("OWC10", 1)] string Name { get; set; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> /// <param name="dimension">NetOffice.OWC10Api.Enums.ChartDimensionsEnum dimension</param> [SupportByVersion("OWC10", 1)] [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] NetOffice.OWC10Api.ChScaling get_Scalings(NetOffice.OWC10Api.Enums.ChartDimensionsEnum dimension); /// <summary> /// SupportByVersion OWC10 1 /// Alias for get_Scalings /// </summary> /// <param name="dimension">NetOffice.OWC10Api.Enums.ChartDimensionsEnum dimension</param> [SupportByVersion("OWC10", 1), Redirect("get_Scalings")] NetOffice.OWC10Api.ChScaling Scalings(NetOffice.OWC10Api.Enums.ChartDimensionsEnum dimension); /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] NetOffice.OWC10Api.ChTrendlines Trendlines { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get/Set /// </summary> [SupportByVersion("OWC10", 1)] NetOffice.OWC10Api.Enums.ChartChartTypeEnum Type { get; set; } /// <summary> /// SupportByVersion OWC10 1 /// Get/Set /// </summary> [SupportByVersion("OWC10", 1)] Int32 ZOrder { get; set; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// Unknown COM Proxy /// </summary> [SupportByVersion("OWC10", 1), ProxyResult] object PivotObject { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get/Set /// </summary> [SupportByVersion("OWC10", 1)] Int32 GapWidth { get; set; } /// <summary> /// SupportByVersion OWC10 1 /// Get/Set /// </summary> [SupportByVersion("OWC10", 1)] Int32 Overlap { get; set; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] NetOffice.OWC10Api.ChFormatMap FormatMap { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get/Set /// </summary> [SupportByVersion("OWC10", 1)] string TipText { get; set; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] Int32 Top { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] Int32 Left { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] Int32 Bottom { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] Int32 Right { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] Int32 LayerIndex { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] Int32 TypeFlags { get; } /// <summary> /// SupportByVersion OWC10 1 /// Get /// </summary> [SupportByVersion("OWC10", 1)] NetOffice.OWC10Api.Enums.ChartSelectionsEnum ObjectType { get; } #endregion #region Methods /// <summary> /// SupportByVersion OWC10 1 /// </summary> /// <param name="dimension">NetOffice.OWC10Api.Enums.ChartDimensionsEnum dimension</param> /// <param name="dataSourceIndex">Int32 dataSourceIndex</param> /// <param name="dataReference">optional object dataReference</param> [SupportByVersion("OWC10", 1)] void SetData(NetOffice.OWC10Api.Enums.ChartDimensionsEnum dimension, Int32 dataSourceIndex, object dataReference); /// <summary> /// SupportByVersion OWC10 1 /// </summary> /// <param name="dimension">NetOffice.OWC10Api.Enums.ChartDimensionsEnum dimension</param> /// <param name="dataSourceIndex">Int32 dataSourceIndex</param> [CustomMethod] [SupportByVersion("OWC10", 1)] void SetData(NetOffice.OWC10Api.Enums.ChartDimensionsEnum dimension, Int32 dataSourceIndex); /// <summary> /// SupportByVersion OWC10 1 /// </summary> /// <param name="dimension">NetOffice.OWC10Api.Enums.ChartDimensionsEnum dimension</param> [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] [SupportByVersion("OWC10", 1)] string GetDataReference(NetOffice.OWC10Api.Enums.ChartDimensionsEnum dimension); /// <summary> /// SupportByVersion OWC10 1 /// </summary> /// <param name="dimension">NetOffice.OWC10Api.Enums.ChartDimensionsEnum dimension</param> [EditorBrowsable(EditorBrowsableState.Never), Browsable(false)] [SupportByVersion("OWC10", 1)] Int32 GetDataSourceIndex(NetOffice.OWC10Api.Enums.ChartDimensionsEnum dimension); /// <summary> /// SupportByVersion OWC10 1 /// </summary> /// <param name="dimension">NetOffice.OWC10Api.Enums.ChartDimensionsEnum dimension</param> /// <param name="dataSourceIndex">object dataSourceIndex</param> /// <param name="dataReference">object dataReference</param> [SupportByVersion("OWC10", 1)] void GetData(NetOffice.OWC10Api.Enums.ChartDimensionsEnum dimension, out object dataSourceIndex, out object dataReference); /// <summary> /// SupportByVersion OWC10 1 /// </summary> [SupportByVersion("OWC10", 1)] void Select(); /// <summary> /// SupportByVersion OWC10 1 /// </summary> /// <param name="useNewScaling">optional bool UseNewScaling = false</param> [SupportByVersion("OWC10", 1)] void Ungroup(object useNewScaling); /// <summary> /// SupportByVersion OWC10 1 /// </summary> [CustomMethod] [SupportByVersion("OWC10", 1)] void Ungroup(); /// <summary> /// SupportByVersion OWC10 1 /// </summary> /// <param name="series">NetOffice.OWC10Api.ChSeries series</param> [SupportByVersion("OWC10", 1)] void Group(NetOffice.OWC10Api.ChSeries series); /// <summary> /// SupportByVersion OWC10 1 /// </summary> /// <param name="xvalue">object xvalue</param> /// <param name="yvalue">object yvalue</param> /// <param name="zvalue">optional object zvalue</param> [SupportByVersion("OWC10", 1)] NetOffice.OWC10Api.Coordinate ValueToPoint(object xvalue, object yvalue, object zvalue); /// <summary> /// SupportByVersion OWC10 1 /// </summary> /// <param name="xvalue">object xvalue</param> /// <param name="yvalue">object yvalue</param> [CustomMethod] [SupportByVersion("OWC10", 1)] NetOffice.OWC10Api.Coordinate ValueToPoint(object xvalue, object yvalue); #endregion } }
23,200
https://github.com/samblenny/hd1bhanzi/blob/master/go.mod
Github Open Source
Open Source
MIT, LicenseRef-scancode-unicode, LicenseRef-scancode-unknown-license-reference
2,021
hd1bhanzi
samblenny
Go Module
Code
7
51
module samblenny/hd1bhanzi go 1.15 require golang.org/x/image v0.0.0-20200927104501-e162460cd6b5
11,147
https://github.com/Liulinzhe17/FaceRecognition-Objc/blob/master/FaceRecognition-Objc/ViewController.m
Github Open Source
Open Source
MIT
2,019
FaceRecognition-Objc
Liulinzhe17
Objective-C
Code
236
1,146
// // ViewController.m // FaceRecognition-Objc // // Created by lianjia on 2019/1/9. // Copyright © 2019 lianjia. All rights reserved. // #import "ViewController.h" #import "NCNNWrapper.h" #define IMAGE_HEIGHT [UIScreen mainScreen].bounds.size.height / 4 #define IMAGE_WIDTH [UIScreen mainScreen].bounds.size.width - 100 @interface ViewController () @property (nonatomic, strong) UIImageView *imageView1; @property (nonatomic, strong) UIImageView *imageView2; @property (nonatomic, strong) UIImageView *imageView3; @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; _imageView1 = [[UIImageView alloc] initWithFrame:CGRectMake(0, 60, IMAGE_WIDTH, IMAGE_HEIGHT)]; _imageView1.contentMode = UIViewContentModeScaleAspectFit; [self.view addSubview:_imageView1]; _imageView2 = [[UIImageView alloc] initWithFrame:CGRectMake(0, 60 + IMAGE_HEIGHT, IMAGE_WIDTH, IMAGE_HEIGHT)]; _imageView2.contentMode = UIViewContentModeScaleAspectFit; [self.view addSubview:_imageView2]; _imageView3 = [[UIImageView alloc] initWithFrame:CGRectMake(0, 60 + IMAGE_HEIGHT * 2, IMAGE_WIDTH, IMAGE_HEIGHT)]; _imageView3.contentMode = UIViewContentModeScaleAspectFit; [self.view addSubview:_imageView3]; UIButton *inputBtn = [[UIButton alloc] initWithFrame:CGRectMake(IMAGE_WIDTH + 10, _imageView1.frame.origin.y, 80, 40)]; [inputBtn setTitle:@"录入人像" forState:UIControlStateNormal]; [inputBtn setBackgroundColor:[UIColor greenColor]]; [inputBtn addTarget:self action:@selector(inputBtnClicked) forControlEvents:UIControlEventTouchUpInside]; [self.view addSubview:inputBtn]; UIButton *detectBtn = [[UIButton alloc] initWithFrame:CGRectMake(IMAGE_WIDTH + 10, _imageView2.frame.origin.y, 80, 40)]; [detectBtn setTitle:@"检测人像" forState:UIControlStateNormal]; [detectBtn setBackgroundColor:[UIColor greenColor]]; [detectBtn addTarget:self action:@selector(detectBtnClicked) forControlEvents:UIControlEventTouchUpInside]; [self.view addSubview:detectBtn]; UIButton *recognizeBtn = [[UIButton alloc] initWithFrame:CGRectMake(IMAGE_WIDTH + 10, _imageView3.frame.origin.y, 80, 40)]; [recognizeBtn setTitle:@"识别人像" forState:UIControlStateNormal]; [recognizeBtn setBackgroundColor:[UIColor greenColor]]; [recognizeBtn addTarget:self action:@selector(recognizeBtnClicked) forControlEvents:UIControlEventTouchUpInside]; [self.view addSubview:recognizeBtn]; } - (void)inputBtnClicked { UIImage *image = [UIImage imageNamed:@"Trump.png"]; [NCNNWrapper inputImage:image]; dispatch_async(dispatch_get_main_queue(), ^{ self->_imageView1.image = image; }); } - (void)detectBtnClicked { UIImage *image = [UIImage imageNamed:@"test1"]; UIImage *newImage = [NCNNWrapper detectFace:image]; dispatch_async(dispatch_get_main_queue(), ^{ self->_imageView2.image = newImage; }); } - (void)recognizeBtnClicked { UIImage *image = [UIImage imageNamed:@"test"]; UIImage *newImage = [NCNNWrapper recognizeFace:image]; dispatch_async(dispatch_get_main_queue(), ^{ self->_imageView3.image = newImage; }); } @end
13,370
https://github.com/PhilAndrew/JumpMicro/blob/master/JMResourceRegistry/src/main/scala/jumpmicro/jmresourceregistry/impl/message/MicroServiceMessages.scala
Github Open Source
Open Source
MIT
2,017
JumpMicro
PhilAndrew
Scala
Code
39
93
package jumpmicro.jmresourceregistry.impl.message //: ------------------------------------------------------------------------------------- //: Copyright © 2017 Philip Andrew https://github.com/PhilAndrew All Rights Reserved. //: Released under the MIT License, refer to the project website for licence information. //: ------------------------------------------------------------------------------------- trait MicroServiceMessages object MicroServiceMessages { case class CreateDemo() }
50,955
https://github.com/pathway27/hummingbird/blob/master/test/controllers/users_controller_test.rb
Github Open Source
Open Source
Apache-2.0
2,015
hummingbird
pathway27
Ruby
Code
160
440
require 'test_helper' class UsersControllerTest < ActionController::TestCase test "can get following" do get :index, format: :json, followed_by: 'vikhyat' assert_response 200 assert JSON.parse(@response.body)["users"].any? {|x| x["id"] == 'Josh' } end test "can get followers" do get :index, format: :json, followers_of: 'Josh' assert_response 200 assert JSON.parse(@response.body)["users"].any? {|x| x["id"] == 'vikhyat' } end test "need to be signed in to save user" do user = users(:vikhyat) initial_about = user.about put :update, format: :json, id: 'vikhyat', user: {about: "this is a test"} assert_equal initial_about, User.find("vikhyat").about end test "need to be signed in as the correct user to save user" do sign_in users(:josh) user = users(:vikhyat) initial_about = user.about put :update, format: :json, id: 'vikhyat', user: {about: "this is a test"} assert_equal initial_about, User.find("vikhyat").about end test "can save user when logged in as the correct user" do user = users(:vikhyat) sign_in user initial_about = user.about put :update, format: :json, id: 'vikhyat', user: {about: "this is a test"} assert_response 200 assert_equal "this is a test", User.find("vikhyat").about end end
14,548
https://github.com/testleaf-software/devtools-webdriver/blob/master/src/main/java/com/qeagle/devtools/protocol/commands/Animation.java
Github Open Source
Open Source
Apache-2.0
2,020
devtools-webdriver
testleaf-software
Java
Code
427
1,104
package com.qeagle.devtools.protocol.commands; /*- * #%L * cdt-java-client * %% * Copyright (C) 2018 - 2019 TL * %% * 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% */ import com.qeagle.devtools.protocol.events.animation.AnimationCanceled; import com.qeagle.devtools.protocol.events.animation.AnimationCreated; import com.qeagle.devtools.protocol.events.animation.AnimationStarted; import com.qeagle.devtools.protocol.support.annotations.EventName; import com.qeagle.devtools.protocol.support.annotations.Experimental; import com.qeagle.devtools.protocol.support.annotations.ParamName; import com.qeagle.devtools.protocol.support.annotations.Returns; import com.qeagle.devtools.protocol.support.types.EventHandler; import com.qeagle.devtools.protocol.support.types.EventListener; import com.qeagle.devtools.protocol.types.runtime.RemoteObject; import java.util.List; @Experimental public interface Animation { /** Disables animation domain notifications. */ void disable(); /** Enables animation domain notifications. */ void enable(); /** * Returns the current time of the an animation. * * @param id Id of animation. */ @Returns("currentTime") Double getCurrentTime(@ParamName("id") String id); /** Gets the playback rate of the document timeline. */ @Returns("playbackRate") Double getPlaybackRate(); /** * Releases a set of animations to no longer be manipulated. * * @param animations List of animation ids to seek. */ void releaseAnimations(@ParamName("animations") List<String> animations); /** * Gets the remote object of the Animation. * * @param animationId Animation id. */ @Returns("remoteObject") RemoteObject resolveAnimation(@ParamName("animationId") String animationId); /** * Seek a set of animations to a particular time within each animation. * * @param animations List of animation ids to seek. * @param currentTime Set the current time of each animation. */ void seekAnimations( @ParamName("animations") List<String> animations, @ParamName("currentTime") Double currentTime); /** * Sets the paused state of a set of animations. * * @param animations Animations to set the pause state of. * @param paused Paused state to set to. */ void setPaused( @ParamName("animations") List<String> animations, @ParamName("paused") Boolean paused); /** * Sets the playback rate of the document timeline. * * @param playbackRate Playback rate for animations on page */ void setPlaybackRate(@ParamName("playbackRate") Double playbackRate); /** * Sets the timing of an animation node. * * @param animationId Animation id. * @param duration Duration of the animation. * @param delay Delay of the animation. */ void setTiming( @ParamName("animationId") String animationId, @ParamName("duration") Double duration, @ParamName("delay") Double delay); /** Event for when an animation has been cancelled. */ @EventName("animationCanceled") EventListener onAnimationCanceled(EventHandler<AnimationCanceled> eventListener); /** Event for each animation that has been created. */ @EventName("animationCreated") EventListener onAnimationCreated(EventHandler<AnimationCreated> eventListener); /** Event for animation that has been started. */ @EventName("animationStarted") EventListener onAnimationStarted(EventHandler<AnimationStarted> eventListener); }
2,807
https://github.com/ezzatron/ssr-sw/blob/master/src/client/component/SignInForm.js
Github Open Source
Open Source
MIT
null
ssr-sw
ezzatron
JavaScript
Code
50
180
import {useCallback} from 'react' import {useSignIn} from '~/src/client/context/auth.js' export default function SignInForm () { const signIn = useSignIn() const handleSubmit = useCallback(event => { event.preventDefault() signIn(formToObject(event.target)) }, [signIn]) return <form onSubmit={handleSubmit}> <input name='userId' defaultValue='111' placeholder='User ID' /> <button type='sumbit'>Sign in</button> </form> } function formToObject (form) { return JSON.stringify(Object.fromEntries(new FormData(form).entries())) }
21,438
https://github.com/maheshkorlam/descriptor-tools/blob/master/tests/test_mixins.py
Github Open Source
Open Source
CC0-1.0
2,019
descriptor-tools
maheshkorlam
Python
Code
475
2,449
# coding=utf-8 from unittest import TestCase import test_mocks as mocks from descriptor_tools import DescDict, id_name_of from descriptor_tools.mixins import (Getters, Storage, Setters) class Getter_Binding_Test(TestCase): class Desc(Getters.Binding): def __init__(self): self.storage = DescDict() def _get(self, instance): return self.storage[instance] def setUp(self): self.desc = self.Desc() self.instance = mocks.ClassWithDescriptor(self.desc) self.Class = type(self.instance) def test_get_from_class_is_unbound_descriptor(self): result = self.Class.attr self.assertIsInstance(result, self.Desc) def test_get_from_class_has_correct_descriptor(self): result = self.Class.attr self.assertIs(result, self.desc) def test_get_from_instance(self): self.desc.storage[self.instance] = 5 result = self.instance.attr self.assertEqual(result, 5) class Getter_SelfReturning_Test(TestCase): class Desc(Getters.SelfReturning): def _get(self, instance): return 5 def setUp(self): self.desc = self.Desc() self.instance = mocks.ClassWithDescriptor(self.desc) self.Class = type(self.instance) def test_get_from_class_is_desc(self): result = self.desc.__get__(None, self.Class) self.assertIs(result, self.desc) def test_get_from_instance_is_value(self): result = self.desc.__get__(self.instance, self.Class) self.assertEqual(result, 5) class Storage_DescDict_Test(TestCase): class Class: pass def setUp(self): self.mixin = Storage.DescDict() self.instance = self.Class() def test_uses_DescDict_storage(self): self.assertIsInstance(self.mixin.storage, DescDict) def test_get_retrieves_from_storage(self): self.mixin.storage[self.instance] = 5 result = self.mixin._get(self.instance) self.assertEqual(result, 5) def test_set_applies_to_storage(self): self.mixin._set(self.instance, 5) result = self.mixin._get(self.instance) self.assertEqual(result, 5) def test_delete_applies_to_storage(self): self.mixin.storage[self.instance] = 5 self.mixin._delete(self.instance) self.assertFalse(self.instance in self.mixin.storage) class Storage_KeyByName_UsingPreAndPostFix_Test(TestCase): class Class: attr = Storage.KeyByName(prefix='_', postfix='_') def setUp(self): self.mixin = self.Class.attr self.instance = self.Class() def test_name_getter(self): result = self.mixin._name(self.instance) self.assertEqual(result, '_attr_') def test_name_getter_works_multiple_times(self): """ Because OnInstance tries to cache the _name, I want to make sure subsequent lookups still work """ result1 = self.mixin._name(self.instance) result2 = self.mixin._name(self.instance) self.assertEqual(result1, result2) def test_get_retrieves_from_instance(self): self.instance._attr_ = 5 result = self.mixin._get(self.instance) self.assertEqual(result, 5) def test_set_applies_to_instance(self): self.mixin._set(self.instance, 5) result = self.instance._attr_ self.assertEqual(result, 5) def test_delete_applies_to_instance(self): self.instance._attr_ = 5 self.mixin._delete(self.instance) self.assertFalse(hasattr(self.instance, '_attr_')) class Storage_KeyByName_UsingName_Test(TestCase): class Class: attr = Storage.KeyByName(name='subattr') def setUp(self): self.mixin = self.Class.attr self.instance = self.Class() def test_name_getter(self): result = self.mixin._name(self.instance) self.assertEqual(result, 'subattr') def test_get_retrieves_from_instance(self): self.instance.subattr = 5 result = self.mixin._get(self.instance) def test_set_applies_to_instance(self): self.mixin._set(self.instance, 5) result = self.instance.subattr self.assertEqual(result, 5) def test_delete_applies_to_instance(self): self.instance.subattr = 5 self.mixin._delete(self.instance) self.assertFalse(hasattr(self.instance, 'subattr')) class Desc(Getters.SelfReturning, Storage.KeyByName): def __set__(self, instance, value): self._set(instance, value) def __delete__(self, instance): self._delete(instance) class Storage_KeyByName_UsingSameName_AsDescriptor_Test(TestCase): class Class: attr = Desc() def setUp(self): self.desc = self.Class.attr self.instance = self.Class() def test_name_getter(self): result = self.desc._name(self.instance) self.assertEqual(result, 'attr') def test_get_retrieves_from_instance(self): self.instance.__dict__['attr'] = 5 result = self.instance.attr self.assertEqual(result, 5) def test_set_applies_to_instance(self): self.instance.attr = 5 result = self.desc._get(self.instance) self.assertEqual(result, 5) def test_delete_applies_to_instance(self): self.desc._set(self.instance, 5) del self.instance.attr self.assertFalse('attr' in self.instance.__dict__) class Desc(Getters.SelfReturning, Storage.KeyById): def __set__(self, instance, value): self._set(instance, value) def __delete__(self, instance): self._delete(instance) class Storage_KeyById_Test(TestCase): class Class: attr = Desc() def setUp(self): self.desc = self.Class.attr self.instance = self.Class() self.attrName = self.desc._name def test_name_is_correct(self): expected = id_name_of(self.desc) self.assertEqual(self.attrName, expected) def test_get(self): setattr(self.instance, self.attrName, 5) result = self.desc.__get__(self.instance, self.Class) self.assertEqual(result, 5) def test_set_item_exists(self): self.desc.__set__(self.instance, 5) self.assertTrue(hasattr(self.instance, self.desc._name)) def test_set_item_correct(self): self.desc.__set__(self.instance, 5) self.assertEqual(getattr(self.instance, self.desc._name), 5) def test_delete(self): self.instance.__dict__[self.attrName] = 5 self.desc.__delete__(self.instance) self.assertFalse(hasattr(self.instance, self.desc._name)) class Desc(Getters.SelfReturning, Setters.Forced, Storage.DescDict): pass class Setters_Forced_Test(TestCase): class Class: attr = Desc() def setUp(self): self.desc = self.Class.attr self.instance = self.Class() def test_unforced_fails(self): with self.assertRaises(AttributeError): self.desc.__set__(self.instance, 5) def test_forced_works(self): self.desc.__set__(self.instance, 5, force=True) self.assertEqual(self.instance.attr, 5) class Desc(Getters.SelfReturning, Setters.Secret, Storage.DescDict): pass class Setters_Secret_Test(TestCase): class Class: attr = Desc() def setUp(self): self.desc = self.Class.attr self.instance = self.Class() def test_normal_set_fails(self): with self.assertRaises(AttributeError): self.desc.__set__(self.instance, 5) def test_secret_set_works(self): self.desc.set(self.instance, 5) self.assertEqual(self.instance.attr, 5)
33,705
https://github.com/patrickneubauer/XMLIntellEdit/blob/master/use-cases/TOSCA/eu.artist.tosca/src/toscabasetypes/impl/ToscabasetypesPackageImpl.java
Github Open Source
Open Source
MIT
2,021
XMLIntellEdit
patrickneubauer
Java
Code
1,063
4,146
/** */ package toscabasetypes.impl; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EDataType; import org.eclipse.emf.ecore.EEnum; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.impl.EPackageImpl; import org.eclipse.emf.ecore.xml.type.XMLTypePackage; import toscabasetypes.DocumentRoot; import toscabasetypes.NumCpusType; import toscabasetypes.TServerProperties; import toscabasetypes.ToscabasetypesFactory; import toscabasetypes.ToscabasetypesPackage; /** * <!-- begin-user-doc --> * An implementation of the model <b>Package</b>. * <!-- end-user-doc --> * @generated */ public class ToscabasetypesPackageImpl extends EPackageImpl implements ToscabasetypesPackage { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass documentRootEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EClass tServerPropertiesEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EEnum numCpusTypeEEnum = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private EDataType numCpusTypeObjectEDataType = null; /** * Creates an instance of the model <b>Package</b>, registered with * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package * package URI value. * <p>Note: the correct way to create the package is via the static * factory method {@link #init init()}, which also performs * initialization of the package, or returns the registered package, * if one already exists. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see org.eclipse.emf.ecore.EPackage.Registry * @see toscabasetypes.ToscabasetypesPackage#eNS_URI * @see #init() * @generated */ private ToscabasetypesPackageImpl() { super(eNS_URI, ToscabasetypesFactory.eINSTANCE); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private static boolean isInited = false; /** * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. * * <p>This method is used to initialize {@link ToscabasetypesPackage#eINSTANCE} when that field is accessed. * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() * @generated */ public static ToscabasetypesPackage init() { if (isInited) return (ToscabasetypesPackage)EPackage.Registry.INSTANCE.getEPackage(ToscabasetypesPackage.eNS_URI); // Obtain or create and register package ToscabasetypesPackageImpl theToscabasetypesPackage = (ToscabasetypesPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ToscabasetypesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ToscabasetypesPackageImpl()); isInited = true; // Initialize simple dependencies XMLTypePackage.eINSTANCE.eClass(); // Create package meta-data objects theToscabasetypesPackage.createPackageContents(); // Initialize created meta-data theToscabasetypesPackage.initializePackageContents(); // Mark meta-data to indicate it can't be changed theToscabasetypesPackage.freeze(); // Update the registry and return the package EPackage.Registry.INSTANCE.put(ToscabasetypesPackage.eNS_URI, theToscabasetypesPackage); return theToscabasetypesPackage; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getDocumentRoot() { return documentRootEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getDocumentRoot_Mixed() { return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getDocumentRoot_XMLNSPrefixMap() { return (EReference)documentRootEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getDocumentRoot_XSISchemaLocation() { return (EReference)documentRootEClass.getEStructuralFeatures().get(2); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EReference getDocumentRoot_ServerProperties() { return (EReference)documentRootEClass.getEStructuralFeatures().get(3); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EClass getTServerProperties() { return tServerPropertiesEClass; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getTServerProperties_NumCpus() { return (EAttribute)tServerPropertiesEClass.getEStructuralFeatures().get(0); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EAttribute getTServerProperties_Memory() { return (EAttribute)tServerPropertiesEClass.getEStructuralFeatures().get(1); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EEnum getNumCpusType() { return numCpusTypeEEnum; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EDataType getNumCpusTypeObject() { return numCpusTypeObjectEDataType; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ToscabasetypesFactory getToscabasetypesFactory() { return (ToscabasetypesFactory)getEFactoryInstance(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private boolean isCreated = false; /** * Creates the meta-model objects for the package. This method is * guarded to have no affect on any invocation but its first. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void createPackageContents() { if (isCreated) return; isCreated = true; // Create classes and their features documentRootEClass = createEClass(DOCUMENT_ROOT); createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED); createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP); createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION); createEReference(documentRootEClass, DOCUMENT_ROOT__SERVER_PROPERTIES); tServerPropertiesEClass = createEClass(TSERVER_PROPERTIES); createEAttribute(tServerPropertiesEClass, TSERVER_PROPERTIES__NUM_CPUS); createEAttribute(tServerPropertiesEClass, TSERVER_PROPERTIES__MEMORY); // Create enums numCpusTypeEEnum = createEEnum(NUM_CPUS_TYPE); // Create data types numCpusTypeObjectEDataType = createEDataType(NUM_CPUS_TYPE_OBJECT); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private boolean isInitialized = false; /** * Complete the initialization of the package and its meta-model. This * method is guarded to have no affect on any invocation but its first. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void initializePackageContents() { if (isInitialized) return; isInitialized = true; // Initialize package setName(eNAME); setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); // Obtain other dependent packages XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); // Create type parameters // Set bounds for type parameters // Add supertypes to classes // Initialize classes, features, and operations; add parameters initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getDocumentRoot_ServerProperties(), this.getTServerProperties(), null, "serverProperties", null, 0, -2, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(tServerPropertiesEClass, TServerProperties.class, "TServerProperties", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getTServerProperties_NumCpus(), this.getNumCpusType(), "numCpus", "1", 1, 1, TServerProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getTServerProperties_Memory(), theXMLTypePackage.getInt(), "memory", null, 1, 1, TServerProperties.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Initialize enums and add enum literals initEEnum(numCpusTypeEEnum, NumCpusType.class, "NumCpusType"); addEEnumLiteral(numCpusTypeEEnum, NumCpusType._1); addEEnumLiteral(numCpusTypeEEnum, NumCpusType._2); addEEnumLiteral(numCpusTypeEEnum, NumCpusType._4); // Initialize data types initEDataType(numCpusTypeObjectEDataType, NumCpusType.class, "NumCpusTypeObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS); // Create resource createResource(eNS_URI); // Create annotations // http:///org/eclipse/emf/ecore/util/ExtendedMetaData createExtendedMetaDataAnnotations(); } /** * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected void createExtendedMetaDataAnnotations() { String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; addAnnotation (documentRootEClass, source, new String[] { "name", "", "kind", "mixed" }); addAnnotation (getDocumentRoot_Mixed(), source, new String[] { "kind", "elementWildcard", "name", ":mixed" }); addAnnotation (getDocumentRoot_XMLNSPrefixMap(), source, new String[] { "kind", "attribute", "name", "xmlns:prefix" }); addAnnotation (getDocumentRoot_XSISchemaLocation(), source, new String[] { "kind", "attribute", "name", "xsi:schemaLocation" }); addAnnotation (getDocumentRoot_ServerProperties(), source, new String[] { "kind", "element", "name", "ServerProperties", "namespace", "##targetNamespace" }); addAnnotation (numCpusTypeEEnum, source, new String[] { "name", "NumCpus_._type" }); addAnnotation (numCpusTypeObjectEDataType, source, new String[] { "name", "NumCpus_._type:Object", "baseType", "NumCpus_._type" }); addAnnotation (tServerPropertiesEClass, source, new String[] { "name", "tServerProperties", "kind", "elementOnly" }); addAnnotation (getTServerProperties_NumCpus(), source, new String[] { "kind", "element", "name", "NumCpus" }); addAnnotation (getTServerProperties_Memory(), source, new String[] { "kind", "element", "name", "Memory" }); } } //ToscabasetypesPackageImpl
2,791
https://github.com/speza/recurly-client-go/blob/master/add_on_update.go
Github Open Source
Open Source
MIT
2,021
recurly-client-go
speza
Go
Code
657
1,416
// This file is automatically created by Recurly's OpenAPI generation process // and thus any edits you make by hand will be lost. If you wish to make a // change to this file, please create a Github issue explaining the changes you // need and we will usher them to the appropriate places. package recurly import () type AddOnUpdate struct { // Add-on ID Id *string `json:"id,omitempty"` // The unique identifier for the add-on within its plan. If an `Item` is associated to the `AddOn` then `code` must be absent. Code *string `json:"code,omitempty"` // Describes your add-on and will appear in subscribers' invoices. If an `Item` is associated to the `AddOn` then `name` must be absent. Name *string `json:"name,omitempty"` // The percentage taken of the monetary amount of usage tracked. This can be up to 4 decimal places. A value between 0.0 and 100.0. Required if `add_on_type` is usage, `tier_type` is `flat` and `usage_type` is percentage. Must be omitted otherwise. UsagePercentage *float64 `json:"usage_percentage,omitempty"` // System-generated unique identifier for a measured unit to be associated with the add-on. Either `measured_unit_id` or `measured_unit_name` are required when `add_on_type` is `usage`. If `measured_unit_id` and `measured_unit_name` are both present, `measured_unit_id` will be used. MeasuredUnitId *string `json:"measured_unit_id,omitempty"` // Name of a measured unit to be associated with the add-on. Either `measured_unit_id` or `measured_unit_name` are required when `add_on_type` is `usage`. If `measured_unit_id` and `measured_unit_name` are both present, `measured_unit_id` will be used. MeasuredUnitName *string `json:"measured_unit_name,omitempty"` // Accounting code for invoice line items for this add-on. If no value is provided, it defaults to add-on's code. If an `Item` is associated to the `AddOn` then `accounting code` must be absent. AccountingCode *string `json:"accounting_code,omitempty"` // When this add-on is invoiced, the line item will use this revenue schedule. If `item_code`/`item_id` is part of the request then `revenue_schedule_type` must be absent in the request as the value will be set from the item. RevenueScheduleType *string `json:"revenue_schedule_type,omitempty"` // Used by Avalara for Communications taxes. The transaction type in combination with the service type describe how the add-on is taxed. Refer to [the documentation](https://help.avalara.com/AvaTax_for_Communications/Tax_Calculation/AvaTax_for_Communications_Tax_Engine/Mapping_Resources/TM_00115_AFC_Modules_Corresponding_Transaction_Types) for more available t/s types. If an `Item` is associated to the `AddOn`, then the `avalara_transaction_type` must be absent. AvalaraTransactionType *int `json:"avalara_transaction_type,omitempty"` // Used by Avalara for Communications taxes. The transaction type in combination with the service type describe how the add-on is taxed. Refer to [the documentation](https://help.avalara.com/AvaTax_for_Communications/Tax_Calculation/AvaTax_for_Communications_Tax_Engine/Mapping_Resources/TM_00115_AFC_Modules_Corresponding_Transaction_Types) for more available t/s types. If an `Item` is associated to the `AddOn`, then the `avalara_service_type` must be absent. AvalaraServiceType *int `json:"avalara_service_type,omitempty"` // Optional field used by Avalara, Vertex, and Recurly's EU VAT tax feature to determine taxation rules. If you have your own AvaTax or Vertex account configured, use their tax codes to assign specific tax rules. If you are using Recurly's EU VAT feature, you can use values of `unknown`, `physical`, or `digital`. If an `Item` is associated to the `AddOn` then `tax code` must be absent. TaxCode *string `json:"tax_code,omitempty"` // Determines if the quantity field is displayed on the hosted pages for the add-on. DisplayQuantity *bool `json:"display_quantity,omitempty"` // Default quantity for the hosted pages. DefaultQuantity *int `json:"default_quantity,omitempty"` // Whether the add-on is optional for the customer to include in their purchase on the hosted payment page. If false, the add-on will be included when a subscription is created through the Recurly UI. However, the add-on will not be included when a subscription is created through the API. Optional *bool `json:"optional,omitempty"` // If the add-on's `tier_type` is `tiered`, `volume`, or `stairstep`, // then currencies must be absent. Must also be absent if `add_on_type` is // `usage` and `usage_type` is `percentage`. Currencies []AddOnPricingCreate `json:"currencies,omitempty"` // If the tier_type is `flat`, then `tiers` must be absent. The `tiers` object // must include one to many tiers with `ending_quantity` and `unit_amount` for // the desired `currencies`, or alternatively, `usage_percentage` for usage percentage type usage add ons. There must be one tier with an `ending_quantity` // of 999999999 which is the default if not provided. Tiers []TierCreate `json:"tiers,omitempty"` }
1,349
https://github.com/Lumary2/learn/blob/master/components/atoms/Highlighter/HighlighterStyles.ts
Github Open Source
Open Source
Apache-2.0
null
learn
Lumary2
TypeScript
Code
66
214
import styled from 'styled-components' interface Props { isPrism?: boolean } export const StyledCodeBlock = styled.div<Props>` background-color: #e7e7e7; padding: ${props => props.isPrism ? '' : '1rem'}; ` export const StyledCodeWrapper = styled.pre<Props>` background-color: #e7e7e7 !important; margin: 0; border-radius: ${props => props.isPrism ? '0 !important' : '.625rem'}; ` export const StyledHighlighterMatch = styled.mark` background-color: #ffdb45 !important; color: #000 !important; ` export const StyledNonHighlighterMatch = styled.span` color: #000; `
7,636
https://github.com/danielhrisca/vedo/blob/master/examples/other/makeVideo.py
Github Open Source
Open Source
CC0-1.0
null
vedo
danielhrisca
Python
Code
123
308
""" Make a video (needs ffmpeg or opencv) Set offscreen=True to only produce the video without any graphical window showing """ print(__doc__) from vedo import * # settings.screeshotScale = 2 # to get higher resolution # declare the class instance vp = Plotter(bg='beige', axes=10, offscreen=True) vp.load(datadir+"spider.ply").texture("leather").rotateX(-90) # open a video file and force it to last 3 seconds in total video = Video("spider.mp4", duration=6, backend='ffmpeg') # backend='opencv' # Any rendering loop goes here, e.g.: #for i in range(80): # vp.show(elevation=1, azimuth=2) # render the scene # video.addFrame() # add individual frame # OR use the automatic video shooting function: video.action(zoom=1.1) #Options are: elevation_range=(0,80), # azimuth_range=(0,359), # zoom=None, # cam1=None, cam2=None # initial and final camera positions video.close() # merge all the recorded frames
6,061
https://github.com/aws/aws-sdk-net/blob/master/sdk/src/Services/S3/Custom/Model/Tiering.cs
Github Open Source
Open Source
Apache-2.0, LicenseRef-scancode-proprietary-license, LicenseRef-scancode-public-domain, MIT, LicenseRef-scancode-unknown-license-reference
2,023
aws-sdk-net
aws
C#
Code
315
683
/* *Copyright 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. */ using System; using System.Collections.Generic; using System.Text; namespace Amazon.S3.Model { /// <summary> /// <para>The S3 Intelligent-Tiering storage class is designed to /// optimize storage costs by automatically moving data to the most /// cost-effective storage access tier, without additional operational overhead.</para> /// </summary> public class Tiering { private int? days; private IntelligentTieringAccessTier accessTier; /// <summary> /// <para>The number of consecutive days of no access after which an object /// will be eligible to be transitioned to the corresponding tier. The minimum number of /// days specified for Archive Access tier must be at least 90 days and Deep Archive Access tier /// must be at least 180 days. The maximum can be up to 2 years (730 days).</para> /// </summary> public int Days { get { return this.days.GetValueOrDefault(); } set { this.days = value; } } // Check to see if intelligentTieringDays property is set internal bool IsSetDays() { return this.days.HasValue; } /// <summary> /// <para>S3 Intelligent-Tiering access tier. /// See <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access\"> /// Storage class for automatically optimizing frequently and infrequently accessed objects</a> /// for a list of access tiers in the S3 Intelligent-Tiering storage class.</para> /// </summary> public IntelligentTieringAccessTier AccessTier { get { return this.accessTier; } set { this.accessTier = value; } } // Check to see if Status property is set internal bool IsSetAccessTier() { return this.accessTier != null; } } }
11,529
https://github.com/mnieber/skandha-facets/blob/master/policies/index.ts
Github Open Source
Open Source
MIT
null
skandha-facets
mnieber
TypeScript
Code
85
295
export { highlightFollowsSelection } from "./highlightFollowsSelection"; export { highlightIsCorrectedOnFilterChange } from "./highlightIsCorrectedOnFilterChange"; export { newItemsAreAddedBelowTheHighlight } from "./newItemsAreAddedBelowTheHighlight"; export { newItemsAreInsertedWhenConfirmed } from "./newItemsAreInsertedWhenConfirmed"; export { newItemsAreCreatedAtTheTop } from "./newItemsAreCreatedAtTheTop"; export { cancelNewItemOnHighlightChange } from "./cancelNewItemOnHighlightChange"; export { insertionPreviewUsesDragSources } from "./insertionPreviewUsesDragSources"; export { newItemsAreConfirmedOnEditingSave } from "./newItemsAreConfirmedWhenSaved"; export { newItemsAreCancelledOnEditingCancel } from "./newItemsAreConfirmedWhenSaved"; export { editingSetEnabled, editingSetDisabled } from "./newItemsAreEdited"; export { filteringIsDisabledOnNewItem } from "./filteringIsDisabledOnNewItem"; export { DragSourceFromNewItem } from "./DragSourceFromNewItem"; export { selectionIsInsertedOnDragAndDrop } from "./selectionIsInsertedOnDragAndDrop"; export { highlightNewItem } from "./highlightNewItem";
31,002
https://github.com/ashariati/gtsam-3.2.1/blob/master/tests/testDoglegOptimizer.cpp
Github Open Source
Open Source
BSD-3-Clause
2,022
gtsam-3.2.1
ashariati
C++
Code
606
2,336
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information * -------------------------------------------------------------------------- */ /** * @file DoglegOptimizer.h * @brief Unit tests for DoglegOptimizer * @author Richard Roberts */ #include <CppUnitLite/TestHarness.h> #include <tests/smallExample.h> #include <gtsam/nonlinear/DoglegOptimizerImpl.h> #include <gtsam/inference/Symbol.h> #include <gtsam/linear/JacobianFactor.h> #include <gtsam/linear/GaussianBayesTree.h> #include <gtsam/base/numericalDerivative.h> #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-variable" #endif #include <boost/bind.hpp> #ifdef __GNUC__ #pragma GCC diagnostic pop #endif #include <boost/assign/list_of.hpp> // for 'list_of()' #include <functional> #include <boost/iterator/counting_iterator.hpp> using namespace std; using namespace gtsam; // Convenience for named keys using symbol_shorthand::X; using symbol_shorthand::L; /* ************************************************************************* */ TEST(DoglegOptimizer, ComputeBlend) { // Create an arbitrary Bayes Net GaussianBayesNet gbn; gbn += GaussianConditional::shared_ptr(new GaussianConditional( 0, (Vector(2) << 1.0,2.0), (Matrix(2, 2) << 3.0,4.0,0.0,6.0), 3, (Matrix(2, 2) << 7.0,8.0,9.0,10.0), 4, (Matrix(2, 2) << 11.0,12.0,13.0,14.0))); gbn += GaussianConditional::shared_ptr(new GaussianConditional( 1, (Vector(2) << 15.0,16.0), (Matrix(2, 2) << 17.0,18.0,0.0,20.0), 2, (Matrix(2, 2) << 21.0,22.0,23.0,24.0), 4, (Matrix(2, 2) << 25.0,26.0,27.0,28.0))); gbn += GaussianConditional::shared_ptr(new GaussianConditional( 2, (Vector(2) << 29.0,30.0), (Matrix(2, 2) << 31.0,32.0,0.0,34.0), 3, (Matrix(2, 2) << 35.0,36.0,37.0,38.0))); gbn += GaussianConditional::shared_ptr(new GaussianConditional( 3, (Vector(2) << 39.0,40.0), (Matrix(2, 2) << 41.0,42.0,0.0,44.0), 4, (Matrix(2, 2) << 45.0,46.0,47.0,48.0))); gbn += GaussianConditional::shared_ptr(new GaussianConditional( 4, (Vector(2) << 49.0,50.0), (Matrix(2, 2) << 51.0,52.0,0.0,54.0))); // Compute steepest descent point VectorValues xu = gbn.optimizeGradientSearch(); // Compute Newton's method point VectorValues xn = gbn.optimize(); // The Newton's method point should be more "adventurous", i.e. larger, than the steepest descent point EXPECT(xu.vector().norm() < xn.vector().norm()); // Compute blend double Delta = 1.5; VectorValues xb = DoglegOptimizerImpl::ComputeBlend(Delta, xu, xn); DOUBLES_EQUAL(Delta, xb.vector().norm(), 1e-10); } /* ************************************************************************* */ TEST(DoglegOptimizer, ComputeDoglegPoint) { // Create an arbitrary Bayes Net GaussianBayesNet gbn; gbn += GaussianConditional::shared_ptr(new GaussianConditional( 0, (Vector(2) << 1.0,2.0), (Matrix(2, 2) << 3.0,4.0,0.0,6.0), 3, (Matrix(2, 2) << 7.0,8.0,9.0,10.0), 4, (Matrix(2, 2) << 11.0,12.0,13.0,14.0))); gbn += GaussianConditional::shared_ptr(new GaussianConditional( 1, (Vector(2) << 15.0,16.0), (Matrix(2, 2) << 17.0,18.0,0.0,20.0), 2, (Matrix(2, 2) << 21.0,22.0,23.0,24.0), 4, (Matrix(2, 2) << 25.0,26.0,27.0,28.0))); gbn += GaussianConditional::shared_ptr(new GaussianConditional( 2, (Vector(2) << 29.0,30.0), (Matrix(2, 2) << 31.0,32.0,0.0,34.0), 3, (Matrix(2, 2) << 35.0,36.0,37.0,38.0))); gbn += GaussianConditional::shared_ptr(new GaussianConditional( 3, (Vector(2) << 39.0,40.0), (Matrix(2, 2) << 41.0,42.0,0.0,44.0), 4, (Matrix(2, 2) << 45.0,46.0,47.0,48.0))); gbn += GaussianConditional::shared_ptr(new GaussianConditional( 4, (Vector(2) << 49.0,50.0), (Matrix(2, 2) << 51.0,52.0,0.0,54.0))); // Compute dogleg point for different deltas double Delta1 = 0.5; // Less than steepest descent VectorValues actual1 = DoglegOptimizerImpl::ComputeDoglegPoint(Delta1, gbn.optimizeGradientSearch(), gbn.optimize()); DOUBLES_EQUAL(Delta1, actual1.vector().norm(), 1e-5); double Delta2 = 1.5; // Between steepest descent and Newton's method VectorValues expected2 = DoglegOptimizerImpl::ComputeBlend(Delta2, gbn.optimizeGradientSearch(), gbn.optimize()); VectorValues actual2 = DoglegOptimizerImpl::ComputeDoglegPoint(Delta2, gbn.optimizeGradientSearch(), gbn.optimize()); DOUBLES_EQUAL(Delta2, actual2.vector().norm(), 1e-5); EXPECT(assert_equal(expected2, actual2)); double Delta3 = 5.0; // Larger than Newton's method point VectorValues expected3 = gbn.optimize(); VectorValues actual3 = DoglegOptimizerImpl::ComputeDoglegPoint(Delta3, gbn.optimizeGradientSearch(), gbn.optimize()); EXPECT(assert_equal(expected3, actual3)); } /* ************************************************************************* */ TEST(DoglegOptimizer, Iterate) { // really non-linear factor graph NonlinearFactorGraph fg = example::createReallyNonlinearFactorGraph(); // config far from minimum Point2 x0(3,0); Values config; config.insert(X(1), x0); double Delta = 1.0; for(size_t it=0; it<10; ++it) { GaussianBayesNet gbn = *fg.linearize(config)->eliminateSequential(); // Iterate assumes that linear error = nonlinear error at the linearization point, and this should be true double nonlinearError = fg.error(config); double linearError = GaussianFactorGraph(gbn).error(config.zeroVectors()); DOUBLES_EQUAL(nonlinearError, linearError, 1e-5); // cout << "it " << it << ", Delta = " << Delta << ", error = " << fg->error(*config) << endl; VectorValues dx_u = gbn.optimizeGradientSearch(); VectorValues dx_n = gbn.optimize(); DoglegOptimizerImpl::IterationResult result = DoglegOptimizerImpl::Iterate(Delta, DoglegOptimizerImpl::SEARCH_EACH_ITERATION, dx_u, dx_n, gbn, fg, config, fg.error(config)); Delta = result.Delta; EXPECT(result.f_error < fg.error(config)); // Check that error decreases Values newConfig(config.retract(result.dx_d)); config = newConfig; DOUBLES_EQUAL(fg.error(config), result.f_error, 1e-5); // Check that error is correctly filled in } } /* ************************************************************************* */ int main() { TestResult tr; return TestRegistry::runAllTests(tr); } /* ************************************************************************* */
2,840
https://github.com/andysomers/ax-docs-bootstrap-ui-module/blob/master/docs/modules/ROOT/pages/components/form-controls/numeric.adoc
Github Open Source
Open Source
Apache-2.0
null
ax-docs-bootstrap-ui-module
andysomers
AsciiDoc
Code
236
1,069
= NumericFormElement include::{partialsdir}/_attributes.adoc[] A `NumericFormElement` writes an `<input>` element with a type="text" to the output. It uses the {autoNumeric-url}[JQuery autoNumeric plugin] to support decimal precision, localization and adding symbols (eg. for currency). == Element and builder The `ViewElement` implementation is `NumericFormElement` and has an equivalent `NumericFormElementBuilder`. A builder can be created using `BootstrapUiBuilders.numeric()` factory methods. == NumericFormElement attributes [cols="1,2,4",options=header] |=== |Attribute |Description |Default |`NumericFormElementConfiguration` |See `{javadoc-url}/com/foreach/across/modules/bootstrapui/elements/NumericFormElementConfiguration.html[NumericFormElementConfiguration]` for configuration options. |Not set by default |=== == Examples === Creating a basic numeric form element Given the following builder configuration [source,java,indent=0] ---- BootstrapUiBuilders.numeric() .simple() .build(); ---- The following markup would be rendered: [source,html,indent=0] ---- <input type="text" class="numeric form-control"> ---- === Creating an integer number form element Given the following builder configuration [source,java,indent=0] ---- BootstrapUiBuilders.numeric() .integer() .build(); ---- The following markup would be rendered: [source,html,indent=0] ---- <input data-bootstrapui-numeric="{&quot;aSep&quot;:&quot;,&quot;,&quot;vMin&quot;:-9223372036854775808,&quot;aDec&quot;:&quot;.&quot;,&quot;mDec&quot;:0}" type="text" class="numeric form-control"> ---- === Creating a decimal number form element Given the following builder configuration [source,java,indent=0] ---- BootstrapUiBuilders.numeric() .decimal(2) .build(); ---- The following markup would be rendered: [source,html,indent=0] ---- <input data-bootstrapui-numeric="{&quot;aSep&quot;:&quot;,&quot;,&quot;vMin&quot;:-9223372036854775808,&quot;aDec&quot;:&quot;.&quot;,&quot;mDec&quot;:2}" type="text" class="numeric form-control"> ---- === Creating a percentage number form element Given the following builder configuration [source,java,indent=0] ---- BootstrapUiBuilders.numeric() .percentage() .build(); ---- The following markup would be rendered: [source,html,indent=0] ---- <input data-bootstrapui-numeric="{&quot;aSign&quot;:&quot;%&quot;,&quot;aSep&quot;:&quot;,&quot;,&quot;mRound&quot;:&quot;S&quot;,&quot;mDec&quot;:2,&quot;vMin&quot;:-9223372036854775808,&quot;pSign&quot;:&quot;s&quot;,&quot;aDec&quot;:&quot;.&quot;}" type="text" class="numeric form-control"> ---- === Creating a currency number form element Given the following builder configuration [source,java,indent=0] ---- BootstrapUiBuilders.numeric() .currency( Currency.getInstance("EUR")) .build(); ---- The following markup would be rendered: [source,html,indent=0] ---- <input data-bootstrapui-numeric="{&quot;nBracket&quot;:&quot;(,)&quot;,&quot;aSign&quot;:&quot;€&quot;,&quot;aSep&quot;:&quot;,&quot;,&quot;mRound&quot;:&quot;B&quot;,&quot;mDec&quot;:2,&quot;vMin&quot;:-9223372036854775808,&quot;pSign&quot;:&quot;p&quot;,&quot;aDec&quot;:&quot;.&quot;}" type="text" class="numeric form-control"> ----
37,377
https://github.com/IceCruelStuff/hhvm/blob/master/hphp/test/zend/good/Zend/tests/add_001.php
Github Open Source
Open Source
Zend-2.0, PHP-3.01, MIT
2,020
hhvm
IceCruelStuff
Hack
Code
70
207
<?hh <<__EntryPoint>> function main(): void { $a = varray[1,2,3]; $b = varray["str", "here"]; $c = $a + $b; var_dump($c); $a = varray[1,2,3]; $b = varray[1,2,4]; $c = $a + $b; var_dump($c); $a = darray["a" => "aaa", 0 => 2, 1 => 3]; $b = darray[0 => 1, 1 => 2, "a" => "bbbbbb"]; $c = $a + $b; var_dump($c); $a += $b; var_dump($c); $a += $a; var_dump($c); echo "Done\n"; }
36,341
https://github.com/zhanghuichina/metathings/blob/master/pkg/proto/camera/service.pb.go
Github Open Source
Open Source
MIT
2,018
metathings
zhanghuichina
Go
Code
791
2,626
// Code generated by protoc-gen-go. DO NOT EDIT. // source: service.proto package camera import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import empty "github.com/golang/protobuf/ptypes/empty" import ( context "golang.org/x/net/context" grpc "google.golang.org/grpc" ) // 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.ProtoPackageIsVersion2 // please upgrade the proto package // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 // Client API for CameraService service type CameraServiceClient interface { Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) Stop(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*StopResponse, error) Show(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ShowResponse, error) } type cameraServiceClient struct { cc *grpc.ClientConn } func NewCameraServiceClient(cc *grpc.ClientConn) CameraServiceClient { return &cameraServiceClient{cc} } func (c *cameraServiceClient) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) { out := new(StartResponse) err := grpc.Invoke(ctx, "/ai.metathings.service.camera.CameraService/Start", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } func (c *cameraServiceClient) Stop(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*StopResponse, error) { out := new(StopResponse) err := grpc.Invoke(ctx, "/ai.metathings.service.camera.CameraService/Stop", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } func (c *cameraServiceClient) Show(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ShowResponse, error) { out := new(ShowResponse) err := grpc.Invoke(ctx, "/ai.metathings.service.camera.CameraService/Show", in, out, c.cc, opts...) if err != nil { return nil, err } return out, nil } // Server API for CameraService service type CameraServiceServer interface { Start(context.Context, *StartRequest) (*StartResponse, error) Stop(context.Context, *empty.Empty) (*StopResponse, error) Show(context.Context, *empty.Empty) (*ShowResponse, error) } func RegisterCameraServiceServer(s *grpc.Server, srv CameraServiceServer) { s.RegisterService(&_CameraService_serviceDesc, srv) } func _CameraService_Start_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(StartRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(CameraServiceServer).Start(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/ai.metathings.service.camera.CameraService/Start", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CameraServiceServer).Start(ctx, req.(*StartRequest)) } return interceptor(ctx, in, info, handler) } func _CameraService_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(CameraServiceServer).Stop(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/ai.metathings.service.camera.CameraService/Stop", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CameraServiceServer).Stop(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _CameraService_Show_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(CameraServiceServer).Show(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/ai.metathings.service.camera.CameraService/Show", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(CameraServiceServer).Show(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } var _CameraService_serviceDesc = grpc.ServiceDesc{ ServiceName: "ai.metathings.service.camera.CameraService", HandlerType: (*CameraServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Start", Handler: _CameraService_Start_Handler, }, { MethodName: "Stop", Handler: _CameraService_Stop_Handler, }, { MethodName: "Show", Handler: _CameraService_Show_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service.proto", } func init() { proto.RegisterFile("service.proto", fileDescriptor_service_f8ac3da992eb591f) } var fileDescriptor_service_f8ac3da992eb591f = []byte{ // 201 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2d, 0x4e, 0x2d, 0x2a, 0xcb, 0x4c, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x49, 0xcc, 0xd4, 0xcb, 0x4d, 0x2d, 0x49, 0x2c, 0xc9, 0xc8, 0xcc, 0x4b, 0x2f, 0xd6, 0x83, 0x49, 0x26, 0x27, 0xe6, 0xa6, 0x16, 0x25, 0x4a, 0x49, 0xa7, 0xe7, 0xe7, 0xa7, 0xe7, 0xa4, 0xea, 0x83, 0xd5, 0x26, 0x95, 0xa6, 0xe9, 0xa7, 0xe6, 0x16, 0x94, 0x54, 0x42, 0xb4, 0x4a, 0x71, 0x17, 0x97, 0x24, 0x16, 0x95, 0x40, 0x39, 0x5c, 0xc5, 0x25, 0xf9, 0x05, 0x70, 0x76, 0x46, 0x7e, 0x39, 0x84, 0x6d, 0xd4, 0xcf, 0xc4, 0xc5, 0xeb, 0x0c, 0x36, 0x2c, 0x18, 0x62, 0xb4, 0x50, 0x12, 0x17, 0x6b, 0x30, 0x48, 0xa3, 0x90, 0x96, 0x1e, 0x3e, 0xbb, 0xf5, 0xc0, 0x8a, 0x82, 0x52, 0x0b, 0x4b, 0x53, 0x8b, 0x4b, 0xa4, 0xb4, 0x89, 0x52, 0x5b, 0x5c, 0x90, 0x9f, 0x57, 0x9c, 0xaa, 0xc4, 0x20, 0xe4, 0xc3, 0xc5, 0x12, 0x5c, 0x92, 0x5f, 0x20, 0x24, 0xa6, 0x07, 0xf1, 0x80, 0x1e, 0xcc, 0x03, 0x7a, 0xae, 0x20, 0x0f, 0x48, 0x11, 0xb4, 0x3a, 0xbf, 0x00, 0xcd, 0xb4, 0x8c, 0xfc, 0x72, 0xb2, 0x4d, 0xcb, 0xc8, 0x2f, 0x47, 0x98, 0xe6, 0xc4, 0x11, 0xc5, 0x06, 0x91, 0x48, 0x62, 0x03, 0x9b, 0x63, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xd6, 0xda, 0x2b, 0x92, 0x93, 0x01, 0x00, 0x00, }
40,658
https://github.com/Build-Week-Foodie-Fun-4/Back-End/blob/master/api/users/users-router.js
Github Open Source
Open Source
MIT
2,021
Back-End
Build-Week-Foodie-Fun-4
JavaScript
Code
173
521
const router = require("express").Router(); const Users = require("../users/users-model"); // get all users router.get("/", async (req, res) => { let allUsers = await Users.find(); try { if (allUsers) { res.status(200).json(allUsers); } else { res.status(404).json("No users to retrieve"); } } catch (error) { res.status(500).json(error); } }); // get user by id router.get("/:id", async (req, res) => { let user = await Users.findById(req.params.id); try { if (user) { res.status(200).json(user); } else { res.status(404).json("No user with that id found"); } } catch { res.status(500).json("Error retrieving user"); } }); // delete user router.delete("/:id", (req, res) => { Users.remove(req.params.id) .then(count => { if (count > 0) { res.status(200).json(`User with id ${req.params.id} has been removed`); } else { res.status(404).json({ message: "The user could not be found" }); } }) .catch(error => { console.log(error); res.status(500).json({ message: "Error removing user" }); }); }); // edit user router.put("/:id", (req, res) => { Users.update(req.params.id, req.body) .then(count => { if (count > 0) { Users.findById(req.params.id).then(user => { res.status(201).json(user); }); } }) .catch(error => { res.status(500).json({ message: "Error updating user" }); }); }); module.exports = router;
17,396
https://github.com/cantte/Kaizen/blob/master/Kaizen/ClientApp/src/app/modules/clients/components/client-request-detail/client-request-detail.component.ts
Github Open Source
Open Source
MIT
2,021
Kaizen
cantte
TypeScript
Code
128
440
import { Component, OnInit } from '@angular/core'; import { ActivatedRoute, Router } from '@angular/router'; import { Client } from '@modules/clients/models/client'; import { ClientState } from '@modules/clients/models/client-state'; import { ClientService } from '@modules/clients/services/client.service'; import { ObservableStatus } from '@shared/models/observable-with-status'; import { Observable } from 'rxjs'; @Component({ selector: 'app-client-request-detail', templateUrl: './client-request-detail.component.html' }) export class ClientRequestDetailComponent implements OnInit { public ObsStatus: typeof ObservableStatus = ObservableStatus; clientRequest$: Observable<Client>; updatingClientRequest = false; constructor(private clientService: ClientService, private activeRoute: ActivatedRoute, private router: Router) { } ngOnInit(): void { this.loadClientRequest(); } private loadClientRequest(): void { const id = this.activeRoute.snapshot.paramMap.get('id'); this.clientRequest$ = this.clientService.getClient(id); } acceptClient(client: Client): void { this.processClient(client, ClientState.Accepted); } rejectClient(client: Client): void { this.processClient(client, ClientState.Rejected); } processClient(client: Client, state: ClientState): void { client.state = state; this.updatingClientRequest = true; this.clientService.updateClient(client).subscribe((clientUpdate) => { this.router.navigateByUrl('/clients/requests'); }); } }
9,769
https://github.com/AppifySheets/zohocrm-csharp-sdk-2.1/blob/master/ZohoCRM/Com/Zoho/Crm/API/RelatedLists/ResponseHandler.cs
Github Open Source
Open Source
Apache-2.0
2,021
zohocrm-csharp-sdk-2.1
AppifySheets
C#
Code
9
32
namespace Com.Zoho.Crm.API.RelatedLists { public interface ResponseHandler { } }
10,378
https://github.com/somestupidgirl/SEDarwin/blob/master/sedarwin7/src/sedarwin/sedarwin/avc/common_perm_to_string.h
Github Open Source
Open Source
BSD-3-Clause
2,006
SEDarwin
somestupidgirl
C
Code
69
514
/* This file is automatically generated. Do not edit. */ TB_(common_file_perm_to_string) S_("poll") S_("ioctl") S_("read") S_("write") S_("create") S_("getattr") S_("setattr") S_("lock") S_("relabelfrom") S_("relabelto") S_("transition") S_("append") S_("access") S_("unlink") S_("link") S_("rename") S_("execute") S_("swapon") S_("quotaon") S_("mounton") TE_(common_file_perm_to_string) TB_(common_socket_perm_to_string) S_("poll") S_("ioctl") S_("read") S_("write") S_("create") S_("getattr") S_("setattr") S_("lock") S_("relabelfrom") S_("relabelto") S_("transition") S_("append") S_("bind") S_("connect") S_("listen") S_("accept") S_("getopt") S_("setopt") S_("shutdown") S_("recvfrom") S_("sendto") S_("recv_msg") S_("send_msg") S_("name_bind") TE_(common_socket_perm_to_string) TB_(common_ipc_perm_to_string) S_("create") S_("destroy") S_("getattr") S_("setattr") S_("read") S_("write") S_("associate") S_("unix_read") S_("unix_write") TE_(common_ipc_perm_to_string)
22,834
https://github.com/devpunk/cartesian/blob/master/cartesian/Model/DrawProject/Menu/Edit/Bar/MDrawProjectMenuEditBar.swift
Github Open Source
Open Source
MIT
null
cartesian
devpunk
Swift
Code
44
233
import Foundation class MDrawProjectMenuEditBar { let items:[MDrawProjectMenuEditBarItem] init() { let itemLink:MDrawProjectMenuEditBarItemLink = MDrawProjectMenuEditBarItemLink() let itemColor:MDrawProjectMenuEditBarItemColor = MDrawProjectMenuEditBarItemColor() let itemResize:MDrawProjectMenuEditBarItemResize = MDrawProjectMenuEditBarItemResize() let itemMove:MDrawProjectMenuEditBarItemMove = MDrawProjectMenuEditBarItemMove() let itemRotate:MDrawProjectMenuEditBarItemRotate = MDrawProjectMenuEditBarItemRotate() let itemTrash:MDrawProjectMenuEditBarItemTrash = MDrawProjectMenuEditBarItemTrash() items = [ itemLink, itemColor, itemResize, itemMove, itemRotate, itemTrash] } }
12,333
https://github.com/maiduoduo/EJoy/blob/master/imodules/module_iviews/src/main/java/com/module/iviews/easynavigationbar/ui/NavigationBarSetUpViewPagerActivity.java
Github Open Source
Open Source
Apache-2.0, MIT
2,020
EJoy
maiduoduo
Java
Code
141
802
package com.module.iviews.easynavigationbar.ui; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.view.ViewPager; import android.support.v7.app.AppCompatActivity; import android.util.Log; import com.module.iviews.R; import com.module.iviews.easynavigationbar.ui.normal.AFragment; import com.module.iviews.easynavigationbar.ui.normal.BFragment; import com.module.iviews.easynavigationbar.ui.normal.CFragment; import com.module.iviews.easynavigationbar.ui.normal.DFragment; import com.next.easynavigation.adapter.ViewPagerAdapter; import com.next.easynavigation.view.EasyNavigationBar; import java.util.ArrayList; import java.util.List; public class NavigationBarSetUpViewPagerActivity extends AppCompatActivity { private EasyNavigationBar navigationBar; private String[] tabText = {"首页", "发现", "消息", "我的"}; //未选中icon private int[] normalIcon = {R.mipmap.eicon_navigation_index, R.mipmap.eicon_navigation_find, R.mipmap.eicon_navigation_message, R.mipmap.eicon_navigation_me}; //选中时icon private int[] selectIcon = {R.mipmap.eicon_navigation_index1, R.mipmap.eicon_navigation_find1, R.mipmap.eicon_navigation_message1, R.mipmap.eicon_navigation_me1}; private List<Fragment> fragments = new ArrayList<>(); private ViewPager vp_setup; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_setup_viewpager); navigationBar = findViewById(R.id.navigationBar); vp_setup = findViewById(R.id.vp_setup); fragments.add(new AFragment()); fragments.add(new BFragment()); fragments.add(new CFragment()); fragments.add(new DFragment()); vp_setup.setAdapter(new ViewPagerAdapter(getSupportFragmentManager(), fragments)); vp_setup.addOnPageChangeListener(new ViewPager.OnPageChangeListener() { @Override public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { } @Override public void onPageSelected(int position) { Log.e("xxx", "切换了第" + position + "个页面"); } @Override public void onPageScrollStateChanged(int state) { } }); navigationBar.titleItems(tabText) .normalIconItems(normalIcon) .selectIconItems(selectIcon) .setupWithViewPager(vp_setup) .build(); } }
14,940
https://github.com/serbinyo/sportclub.sgu/blob/master/resources/views/menu.blade.php
Github Open Source
Open Source
MIT
null
sportclub.sgu
serbinyo
PHP
Code
74
377
@extends('layouts.main-layout') @section('content') <section> @if($admin) @include('common.menu_label') <ul class="category-list"> <li> <a href="administrators"> Администраторы </a> </li> <li> <a href="gyms"> Спортзалы </a> </li> <li> <a href="sportmanships"> Спортивные направления </a> </li> <li> <a href="instructors"> Тренера </a> </li> <li> <a href="clients"> Клиенты </a> </li> <li> <a href="discounts"> Скидки </a> </li> <li> <a href="schedule"> Расписание занятий </a> </li> <li> <a href="visitlog"> Журнал посещений </a> </li> </ul> @else <div class="mainlable_area"> Вы не вошли. <a href="/"> На гравную </a> </div> @endif </section> @endsection
27,243
https://github.com/deavon/angular2-webpack-starter/blob/master/src/app/+detail/index.ts
Github Open Source
Open Source
MIT
null
angular2-webpack-starter
deavon
TypeScript
Code
22
55
export {Detail} from './detail.component'; export {Index} from './index.component'; console.log('`Detail` bundle loaded asynchronously'); // Must be exported for WebpackAsyncRoute export * from './routes';
47,597
https://github.com/qjhuang/ecs_benchmark/blob/master/libs/entt/test/sparse_set.cpp
Github Open Source
Open Source
MIT
2,019
ecs_benchmark
qjhuang
C++
Code
801
4,114
#include <gtest/gtest.h> #include <sparse_set.hpp> TEST(SparseSetNoType, Functionalities) { using SparseSet = entt::SparseSet<unsigned int>; SparseSet set; ASSERT_TRUE(set.empty()); ASSERT_EQ(set.size(), 0u); ASSERT_EQ(set.capacity(), 0u); ASSERT_EQ(set.begin(), set.end()); ASSERT_FALSE(set.has(0)); ASSERT_FALSE(set.has(42)); ASSERT_EQ(set.construct(42), 0u); ASSERT_FALSE(set.empty()); ASSERT_EQ(set.size(), 1u); ASSERT_GE(set.capacity(), 1u); ASSERT_NE(set.begin(), set.end()); ASSERT_FALSE(set.has(0)); ASSERT_TRUE(set.has(42)); ASSERT_EQ(set.get(42), 0u); ASSERT_EQ(set.destroy(42), 0u); ASSERT_TRUE(set.empty()); ASSERT_EQ(set.size(), 0u); ASSERT_GE(set.capacity(), 1u); ASSERT_EQ(set.begin(), set.end()); ASSERT_FALSE(set.has(0)); ASSERT_FALSE(set.has(42)); ASSERT_EQ(set.construct(42), 0u); set.reset(); ASSERT_TRUE(set.empty()); ASSERT_EQ(set.size(), 0u); ASSERT_GE(set.capacity(), 0u); ASSERT_EQ(set.begin(), set.end()); ASSERT_FALSE(set.has(0)); ASSERT_FALSE(set.has(42)); } TEST(SparseSetNoType, DataBeginEnd) { using SparseSet = entt::SparseSet<unsigned int>; SparseSet set; ASSERT_EQ(set.construct(3), 0u); ASSERT_EQ(set.construct(12), 1u); ASSERT_EQ(set.construct(42), 2u); ASSERT_EQ(*(set.data() + 0u), 3u); ASSERT_EQ(*(set.data() + 1u), 12u); ASSERT_EQ(*(set.data() + 2u), 42u); auto begin = set.begin(); auto end = set.end(); ASSERT_EQ(*(begin++), 42u); ASSERT_EQ(*(begin++), 12u); ASSERT_EQ(*(begin++), 3u); ASSERT_EQ(begin, end); set.reset(); } TEST(SparseSetNoType, Swap) { using SparseSet = entt::SparseSet<unsigned int>; SparseSet set; ASSERT_EQ(set.construct(3), 0u); ASSERT_EQ(set.construct(12), 1u); ASSERT_EQ(*(set.data() + 0u), 3u); ASSERT_EQ(*(set.data() + 1u), 12u); set.swap(3, 12); ASSERT_EQ(*(set.data() + 0u), 12u); ASSERT_EQ(*(set.data() + 1u), 3u); set.reset(); } TEST(SparseSetWithType, Functionalities) { using SparseSet = entt::SparseSet<unsigned int, int>; SparseSet set; ASSERT_TRUE(set.empty()); ASSERT_EQ(set.size(), 0u); ASSERT_EQ(set.capacity(), 0u); ASSERT_EQ(set.begin(), set.end()); ASSERT_FALSE(set.has(0)); ASSERT_FALSE(set.has(42)); ASSERT_EQ(set.construct(42, 3), 3); ASSERT_FALSE(set.empty()); ASSERT_EQ(set.size(), 1u); ASSERT_GE(set.capacity(), 1u); ASSERT_NE(set.begin(), set.end()); ASSERT_FALSE(set.has(0)); ASSERT_TRUE(set.has(42)); ASSERT_EQ(set.get(42), 3); set.destroy(42); ASSERT_TRUE(set.empty()); ASSERT_EQ(set.size(), 0u); ASSERT_GE(set.capacity(), 1u); ASSERT_EQ(set.begin(), set.end()); ASSERT_FALSE(set.has(0)); ASSERT_FALSE(set.has(42)); ASSERT_EQ(set.construct(42, 12), 12); set.reset(); ASSERT_TRUE(set.empty()); ASSERT_EQ(set.size(), 0u); ASSERT_GE(set.capacity(), 0u); ASSERT_EQ(set.begin(), set.end()); ASSERT_FALSE(set.has(0)); ASSERT_FALSE(set.has(42)); } TEST(SparseSetWithType, RawBeginEnd) { using SparseSet = entt::SparseSet<unsigned int, int>; SparseSet set; ASSERT_EQ(set.construct(3, 3), 3); ASSERT_EQ(set.construct(12, 6), 6); ASSERT_EQ(set.construct(42, 9), 9); ASSERT_EQ(*(set.raw() + 0u), 3); ASSERT_EQ(*(set.raw() + 1u), 6); ASSERT_EQ(*(set.raw() + 2u), 9); auto begin = set.begin(); auto end = set.end(); ASSERT_EQ(set.get(*(begin++)), 9); ASSERT_EQ(set.get(*(begin++)), 6); ASSERT_EQ(set.get(*(begin++)), 3); ASSERT_EQ(begin, end); set.reset(); } TEST(SparseSetWithType, Swap) { using SparseSet = entt::SparseSet<unsigned int, int>; SparseSet set; ASSERT_EQ(set.construct(3, 3), 3); ASSERT_EQ(set.construct(12, 6), 6); ASSERT_EQ(*(set.raw() + 0u), 3); ASSERT_EQ(*(set.raw() + 1u), 6); set.swap(3, 12); ASSERT_EQ(*(set.raw() + 0u), 6); ASSERT_EQ(*(set.raw() + 1u), 3); set.reset(); } TEST(SparseSetWithType, SortOrdered) { using SparseSet = entt::SparseSet<unsigned int, int>; SparseSet set; ASSERT_EQ(set.construct(12, 12), 12); ASSERT_EQ(set.construct(42, 9), 9); ASSERT_EQ(set.construct(7, 6), 6); ASSERT_EQ(set.construct(3, 3), 3); ASSERT_EQ(set.construct(9, 1), 1); set.sort([](auto lhs, auto rhs) { return lhs < rhs; }); ASSERT_EQ(*(set.raw() + 0u), 12); ASSERT_EQ(*(set.raw() + 1u), 9); ASSERT_EQ(*(set.raw() + 2u), 6); ASSERT_EQ(*(set.raw() + 3u), 3); ASSERT_EQ(*(set.raw() + 4u), 1); auto begin = set.begin(); auto end = set.end(); ASSERT_EQ(set.get(*(begin++)), 1); ASSERT_EQ(set.get(*(begin++)), 3); ASSERT_EQ(set.get(*(begin++)), 6); ASSERT_EQ(set.get(*(begin++)), 9); ASSERT_EQ(set.get(*(begin++)), 12); ASSERT_EQ(begin, end); set.reset(); } TEST(SparseSetWithType, SortReverse) { using SparseSet = entt::SparseSet<unsigned int, int>; SparseSet set; ASSERT_EQ(set.construct(12, 1), 1); ASSERT_EQ(set.construct(42, 3), 3); ASSERT_EQ(set.construct(7, 6), 6); ASSERT_EQ(set.construct(3, 9), 9); ASSERT_EQ(set.construct(9, 12), 12); set.sort([](auto lhs, auto rhs) { return lhs < rhs; }); ASSERT_EQ(*(set.raw() + 0u), 12); ASSERT_EQ(*(set.raw() + 1u), 9); ASSERT_EQ(*(set.raw() + 2u), 6); ASSERT_EQ(*(set.raw() + 3u), 3); ASSERT_EQ(*(set.raw() + 4u), 1); auto begin = set.begin(); auto end = set.end(); ASSERT_EQ(set.get(*(begin++)), 1); ASSERT_EQ(set.get(*(begin++)), 3); ASSERT_EQ(set.get(*(begin++)), 6); ASSERT_EQ(set.get(*(begin++)), 9); ASSERT_EQ(set.get(*(begin++)), 12); ASSERT_EQ(begin, end); set.reset(); } TEST(SparseSetWithType, SortUnordered) { using SparseSet = entt::SparseSet<unsigned int, int>; SparseSet set; ASSERT_EQ(set.construct(12, 6), 6); ASSERT_EQ(set.construct(42, 3), 3); ASSERT_EQ(set.construct(7, 1), 1); ASSERT_EQ(set.construct(3, 9), 9); ASSERT_EQ(set.construct(9, 12), 12); set.sort([](auto lhs, auto rhs) { return lhs < rhs; }); ASSERT_EQ(*(set.raw() + 0u), 12); ASSERT_EQ(*(set.raw() + 1u), 9); ASSERT_EQ(*(set.raw() + 2u), 6); ASSERT_EQ(*(set.raw() + 3u), 3); ASSERT_EQ(*(set.raw() + 4u), 1); auto begin = set.begin(); auto end = set.end(); ASSERT_EQ(set.get(*(begin++)), 1); ASSERT_EQ(set.get(*(begin++)), 3); ASSERT_EQ(set.get(*(begin++)), 6); ASSERT_EQ(set.get(*(begin++)), 9); ASSERT_EQ(set.get(*(begin++)), 12); ASSERT_EQ(begin, end); set.reset(); } TEST(SparseSetWithType, RespectOrdered) { using SparseSet = entt::SparseSet<unsigned int, int>; SparseSet lhs; SparseSet rhs; ASSERT_EQ(lhs.construct(1, 0), 0); ASSERT_EQ(lhs.construct(2, 0), 0); ASSERT_EQ(lhs.construct(3, 0), 0); ASSERT_EQ(lhs.construct(4, 0), 0); ASSERT_EQ(lhs.construct(5, 0), 0); ASSERT_EQ(rhs.construct(6, 0), 0); ASSERT_EQ(rhs.construct(1, 0), 0); ASSERT_EQ(rhs.construct(2, 0), 0); ASSERT_EQ(rhs.construct(3, 0), 0); ASSERT_EQ(rhs.construct(4, 0), 0); ASSERT_EQ(rhs.construct(5, 0), 0); rhs.respect(lhs); ASSERT_EQ(*(lhs.data() + 0u), 1u); ASSERT_EQ(*(lhs.data() + 1u), 2u); ASSERT_EQ(*(lhs.data() + 2u), 3u); ASSERT_EQ(*(lhs.data() + 3u), 4u); ASSERT_EQ(*(lhs.data() + 4u), 5u); ASSERT_EQ(*(rhs.data() + 0u), 6u); ASSERT_EQ(*(rhs.data() + 1u), 1u); ASSERT_EQ(*(rhs.data() + 2u), 2u); ASSERT_EQ(*(rhs.data() + 3u), 3u); ASSERT_EQ(*(rhs.data() + 4u), 4u); ASSERT_EQ(*(rhs.data() + 5u), 5u); lhs.reset(); rhs.reset(); } TEST(SparseSetWithType, RespectReverse) { using SparseSet = entt::SparseSet<unsigned int, int>; SparseSet lhs; SparseSet rhs; ASSERT_EQ(lhs.construct(1, 0), 0); ASSERT_EQ(lhs.construct(2, 0), 0); ASSERT_EQ(lhs.construct(3, 0), 0); ASSERT_EQ(lhs.construct(4, 0), 0); ASSERT_EQ(lhs.construct(5, 0), 0); ASSERT_EQ(rhs.construct(5, 0), 0); ASSERT_EQ(rhs.construct(4, 0), 0); ASSERT_EQ(rhs.construct(3, 0), 0); ASSERT_EQ(rhs.construct(2, 0), 0); ASSERT_EQ(rhs.construct(1, 0), 0); ASSERT_EQ(rhs.construct(6, 0), 0); rhs.respect(lhs); ASSERT_EQ(*(lhs.data() + 0u), 1u); ASSERT_EQ(*(lhs.data() + 1u), 2u); ASSERT_EQ(*(lhs.data() + 2u), 3u); ASSERT_EQ(*(lhs.data() + 3u), 4u); ASSERT_EQ(*(lhs.data() + 4u), 5u); ASSERT_EQ(*(rhs.data() + 0u), 6u); ASSERT_EQ(*(rhs.data() + 1u), 1u); ASSERT_EQ(*(rhs.data() + 2u), 2u); ASSERT_EQ(*(rhs.data() + 3u), 3u); ASSERT_EQ(*(rhs.data() + 4u), 4u); ASSERT_EQ(*(rhs.data() + 5u), 5u); lhs.reset(); rhs.reset(); } TEST(SparseSetWithType, RespectUnordered) { using SparseSet = entt::SparseSet<unsigned int, int>; SparseSet lhs; SparseSet rhs; ASSERT_EQ(lhs.construct(1, 0), 0); ASSERT_EQ(lhs.construct(2, 0), 0); ASSERT_EQ(lhs.construct(3, 0), 0); ASSERT_EQ(lhs.construct(4, 0), 0); ASSERT_EQ(lhs.construct(5, 0), 0); ASSERT_EQ(rhs.construct(3, 0), 0); ASSERT_EQ(rhs.construct(2, 0), 0); ASSERT_EQ(rhs.construct(6, 0), 0); ASSERT_EQ(rhs.construct(1, 0), 0); ASSERT_EQ(rhs.construct(4, 0), 0); ASSERT_EQ(rhs.construct(5, 0), 0); rhs.respect(lhs); ASSERT_EQ(*(lhs.data() + 0u), 1u); ASSERT_EQ(*(lhs.data() + 1u), 2u); ASSERT_EQ(*(lhs.data() + 2u), 3u); ASSERT_EQ(*(lhs.data() + 3u), 4u); ASSERT_EQ(*(lhs.data() + 4u), 5u); ASSERT_EQ(*(rhs.data() + 0u), 6u); ASSERT_EQ(*(rhs.data() + 1u), 1u); ASSERT_EQ(*(rhs.data() + 2u), 2u); ASSERT_EQ(*(rhs.data() + 3u), 3u); ASSERT_EQ(*(rhs.data() + 4u), 4u); ASSERT_EQ(*(rhs.data() + 5u), 5u); lhs.reset(); rhs.reset(); }
21,761
https://github.com/netceteragroup/ngrx-data-grid/blob/master/projects/data-grid/src/lib/models/index.ts
Github Open Source
Open Source
MIT
2,022
ngrx-data-grid
netceteragroup
TypeScript
Code
36
100
export * from './data-grid-column'; export * from './data-grid-filter'; export * from './data-grid-sort'; export * from './grid-cell'; export * from './locale-texts'; export * from './apply-filter-event'; export * from './toggle-row-selection-event'; export * from './toggle-details-grid-event'; export * from './detail-grid-style';
41,183
https://github.com/kelu124/pyS3/blob/master/com/itextpdf/text/pdf/BidiLine.java
Github Open Source
Open Source
MIT
2,021
pyS3
kelu124
Java
Code
3,212
13,105
package com.itextpdf.text.pdf; import com.itextpdf.text.Chunk; import com.itextpdf.text.Image; import com.itextpdf.text.TabStop; import com.itextpdf.text.TabStop.Alignment; import com.itextpdf.text.Utilities; import com.itextpdf.text.pdf.draw.DrawInterface; import com.itextpdf.text.pdf.draw.LineSeparator; import com.itextpdf.text.pdf.languages.ArabicLigaturizer; import java.util.ArrayList; import java.util.Iterator; import org.bytedeco.javacpp.RealSense; public class BidiLine { protected static final IntHashtable mirrorChars = new IntHashtable(); protected int arabicOptions; protected ArrayList<PdfChunk> chunks; protected int currentChar; protected PdfChunk[] detailChunks; protected int[] indexChars; protected int indexChunk; protected int indexChunkChar; protected boolean isWordSplit; protected byte[] orderLevels; protected int pieceSize; protected int runDirection; protected boolean shortStore; protected int storedCurrentChar; protected PdfChunk[] storedDetailChunks; protected int[] storedIndexChars; protected int storedIndexChunk; protected int storedIndexChunkChar; protected byte[] storedOrderLevels; protected int storedRunDirection; protected char[] storedText; protected int storedTotalTextLength; protected char[] text; protected int totalTextLength; static { mirrorChars.put(40, 41); mirrorChars.put(41, 40); mirrorChars.put(60, 62); mirrorChars.put(62, 60); mirrorChars.put(91, 93); mirrorChars.put(93, 91); mirrorChars.put(123, 125); mirrorChars.put(125, 123); mirrorChars.put(171, 187); mirrorChars.put(187, 171); mirrorChars.put(8249, 8250); mirrorChars.put(8250, 8249); mirrorChars.put(8261, 8262); mirrorChars.put(8262, 8261); mirrorChars.put(8317, 8318); mirrorChars.put(8318, 8317); mirrorChars.put(8333, 8334); mirrorChars.put(8334, 8333); mirrorChars.put(8712, 8715); mirrorChars.put(8713, 8716); mirrorChars.put(8714, 8717); mirrorChars.put(8715, 8712); mirrorChars.put(8716, 8713); mirrorChars.put(8717, 8714); mirrorChars.put(8725, 10741); mirrorChars.put(8764, 8765); mirrorChars.put(8765, 8764); mirrorChars.put(8771, 8909); mirrorChars.put(8786, 8787); mirrorChars.put(8787, 8786); mirrorChars.put(8788, 8789); mirrorChars.put(8789, 8788); mirrorChars.put(8804, 8805); mirrorChars.put(8805, 8804); mirrorChars.put(8806, 8807); mirrorChars.put(8807, 8806); mirrorChars.put(8808, 8809); mirrorChars.put(8809, 8808); mirrorChars.put(8810, 8811); mirrorChars.put(8811, 8810); mirrorChars.put(8814, 8815); mirrorChars.put(8815, 8814); mirrorChars.put(8816, 8817); mirrorChars.put(8817, 8816); mirrorChars.put(8818, 8819); mirrorChars.put(8819, 8818); mirrorChars.put(8820, 8821); mirrorChars.put(8821, 8820); mirrorChars.put(8822, 8823); mirrorChars.put(8823, 8822); mirrorChars.put(8824, 8825); mirrorChars.put(8825, 8824); mirrorChars.put(8826, 8827); mirrorChars.put(8827, 8826); mirrorChars.put(8828, 8829); mirrorChars.put(8829, 8828); mirrorChars.put(8830, 8831); mirrorChars.put(8831, 8830); mirrorChars.put(8832, 8833); mirrorChars.put(8833, 8832); mirrorChars.put(8834, 8835); mirrorChars.put(8835, 8834); mirrorChars.put(8836, 8837); mirrorChars.put(8837, 8836); mirrorChars.put(8838, 8839); mirrorChars.put(8839, 8838); mirrorChars.put(8840, 8841); mirrorChars.put(8841, 8840); mirrorChars.put(8842, 8843); mirrorChars.put(8843, 8842); mirrorChars.put(8847, 8848); mirrorChars.put(8848, 8847); mirrorChars.put(8849, 8850); mirrorChars.put(8850, 8849); mirrorChars.put(8856, 10680); mirrorChars.put(8866, 8867); mirrorChars.put(8867, 8866); mirrorChars.put(8870, 10974); mirrorChars.put(8872, 10980); mirrorChars.put(8873, 10979); mirrorChars.put(8875, 10981); mirrorChars.put(8880, 8881); mirrorChars.put(8881, 8880); mirrorChars.put(8882, 8883); mirrorChars.put(8883, 8882); mirrorChars.put(8884, 8885); mirrorChars.put(8885, 8884); mirrorChars.put(8886, 8887); mirrorChars.put(8887, 8886); mirrorChars.put(8905, 8906); mirrorChars.put(8906, 8905); mirrorChars.put(8907, 8908); mirrorChars.put(8908, 8907); mirrorChars.put(8909, 8771); mirrorChars.put(8912, 8913); mirrorChars.put(8913, 8912); mirrorChars.put(8918, 8919); mirrorChars.put(8919, 8918); mirrorChars.put(8920, 8921); mirrorChars.put(8921, 8920); mirrorChars.put(8922, 8923); mirrorChars.put(8923, 8922); mirrorChars.put(8924, 8925); mirrorChars.put(8925, 8924); mirrorChars.put(8926, 8927); mirrorChars.put(8927, 8926); mirrorChars.put(8928, 8929); mirrorChars.put(8929, 8928); mirrorChars.put(8930, 8931); mirrorChars.put(8931, 8930); mirrorChars.put(8932, 8933); mirrorChars.put(8933, 8932); mirrorChars.put(8934, 8935); mirrorChars.put(8935, 8934); mirrorChars.put(8936, 8937); mirrorChars.put(8937, 8936); mirrorChars.put(8938, 8939); mirrorChars.put(8939, 8938); mirrorChars.put(8940, 8941); mirrorChars.put(8941, 8940); mirrorChars.put(8944, 8945); mirrorChars.put(8945, 8944); mirrorChars.put(8946, 8954); mirrorChars.put(8947, 8955); mirrorChars.put(8948, 8956); mirrorChars.put(8950, 8957); mirrorChars.put(8951, 8958); mirrorChars.put(8954, 8946); mirrorChars.put(8955, 8947); mirrorChars.put(8956, 8948); mirrorChars.put(8957, 8950); mirrorChars.put(8958, 8951); mirrorChars.put(8968, 8969); mirrorChars.put(8969, 8968); mirrorChars.put(8970, 8971); mirrorChars.put(8971, 8970); mirrorChars.put(9001, 9002); mirrorChars.put(9002, 9001); mirrorChars.put(10088, 10089); mirrorChars.put(10089, 10088); mirrorChars.put(10090, 10091); mirrorChars.put(10091, 10090); mirrorChars.put(10092, 10093); mirrorChars.put(10093, 10092); mirrorChars.put(10094, 10095); mirrorChars.put(10095, 10094); mirrorChars.put(10096, 10097); mirrorChars.put(10097, 10096); mirrorChars.put(10098, 10099); mirrorChars.put(10099, 10098); mirrorChars.put(10100, 10101); mirrorChars.put(10101, 10100); mirrorChars.put(10197, 10198); mirrorChars.put(10198, 10197); mirrorChars.put(10205, 10206); mirrorChars.put(10206, 10205); mirrorChars.put(10210, 10211); mirrorChars.put(10211, 10210); mirrorChars.put(10212, 10213); mirrorChars.put(10213, 10212); mirrorChars.put(10214, 10215); mirrorChars.put(10215, 10214); mirrorChars.put(10216, 10217); mirrorChars.put(10217, 10216); mirrorChars.put(10218, 10219); mirrorChars.put(10219, 10218); mirrorChars.put(10627, 10628); mirrorChars.put(10628, 10627); mirrorChars.put(10629, 10630); mirrorChars.put(10630, 10629); mirrorChars.put(10631, 10632); mirrorChars.put(10632, 10631); mirrorChars.put(10633, 10634); mirrorChars.put(10634, 10633); mirrorChars.put(10635, 10636); mirrorChars.put(10636, 10635); mirrorChars.put(10637, 10640); mirrorChars.put(10638, 10639); mirrorChars.put(10639, 10638); mirrorChars.put(10640, 10637); mirrorChars.put(10641, 10642); mirrorChars.put(10642, 10641); mirrorChars.put(10643, 10644); mirrorChars.put(10644, 10643); mirrorChars.put(10645, 10646); mirrorChars.put(10646, 10645); mirrorChars.put(10647, 10648); mirrorChars.put(10648, 10647); mirrorChars.put(10680, 8856); mirrorChars.put(10688, 10689); mirrorChars.put(10689, 10688); mirrorChars.put(10692, 10693); mirrorChars.put(10693, 10692); mirrorChars.put(10703, 10704); mirrorChars.put(10704, 10703); mirrorChars.put(10705, 10706); mirrorChars.put(10706, 10705); mirrorChars.put(10708, 10709); mirrorChars.put(10709, 10708); mirrorChars.put(10712, 10713); mirrorChars.put(10713, 10712); mirrorChars.put(10714, 10715); mirrorChars.put(10715, 10714); mirrorChars.put(10741, 8725); mirrorChars.put(10744, 10745); mirrorChars.put(10745, 10744); mirrorChars.put(10748, 10749); mirrorChars.put(10749, 10748); mirrorChars.put(10795, 10796); mirrorChars.put(10796, 10795); mirrorChars.put(10797, 10796); mirrorChars.put(10798, 10797); mirrorChars.put(10804, 10805); mirrorChars.put(10805, 10804); mirrorChars.put(10812, 10813); mirrorChars.put(10813, 10812); mirrorChars.put(10852, 10853); mirrorChars.put(10853, 10852); mirrorChars.put(10873, 10874); mirrorChars.put(10874, 10873); mirrorChars.put(10877, 10878); mirrorChars.put(10878, 10877); mirrorChars.put(10879, 10880); mirrorChars.put(10880, 10879); mirrorChars.put(10881, 10882); mirrorChars.put(10882, 10881); mirrorChars.put(10883, 10884); mirrorChars.put(10884, 10883); mirrorChars.put(10891, 10892); mirrorChars.put(10892, 10891); mirrorChars.put(10897, 10898); mirrorChars.put(10898, 10897); mirrorChars.put(10899, 10900); mirrorChars.put(10900, 10899); mirrorChars.put(10901, 10902); mirrorChars.put(10902, 10901); mirrorChars.put(10903, 10904); mirrorChars.put(10904, 10903); mirrorChars.put(10905, RealSense.RS_API_VERSION); mirrorChars.put(RealSense.RS_API_VERSION, 10905); mirrorChars.put(10907, 10908); mirrorChars.put(10908, 10907); mirrorChars.put(10913, 10914); mirrorChars.put(10914, 10913); mirrorChars.put(10918, 10919); mirrorChars.put(10919, 10918); mirrorChars.put(10920, 10921); mirrorChars.put(10921, 10920); mirrorChars.put(10922, 10923); mirrorChars.put(10923, 10922); mirrorChars.put(10924, 10925); mirrorChars.put(10925, 10924); mirrorChars.put(10927, 10928); mirrorChars.put(10928, 10927); mirrorChars.put(10931, 10932); mirrorChars.put(10932, 10931); mirrorChars.put(10939, 10940); mirrorChars.put(10940, 10939); mirrorChars.put(10941, 10942); mirrorChars.put(10942, 10941); mirrorChars.put(10943, 10944); mirrorChars.put(10944, 10943); mirrorChars.put(10945, 10946); mirrorChars.put(10946, 10945); mirrorChars.put(10947, 10948); mirrorChars.put(10948, 10947); mirrorChars.put(10949, 10950); mirrorChars.put(10950, 10949); mirrorChars.put(10957, 10958); mirrorChars.put(10958, 10957); mirrorChars.put(10959, 10960); mirrorChars.put(10960, 10959); mirrorChars.put(10961, 10962); mirrorChars.put(10962, 10961); mirrorChars.put(10963, 10964); mirrorChars.put(10964, 10963); mirrorChars.put(10965, 10966); mirrorChars.put(10966, 10965); mirrorChars.put(10974, 8870); mirrorChars.put(10979, 8873); mirrorChars.put(10980, 8872); mirrorChars.put(10981, 8875); mirrorChars.put(10988, 10989); mirrorChars.put(10989, 10988); mirrorChars.put(10999, 11000); mirrorChars.put(11000, 10999); mirrorChars.put(11001, 11002); mirrorChars.put(11002, 11001); mirrorChars.put(12296, 12297); mirrorChars.put(12297, 12296); mirrorChars.put(12298, 12299); mirrorChars.put(12299, 12298); mirrorChars.put(12300, 12301); mirrorChars.put(12301, 12300); mirrorChars.put(12302, 12303); mirrorChars.put(12303, 12302); mirrorChars.put(12304, 12305); mirrorChars.put(12305, 12304); mirrorChars.put(12308, 12309); mirrorChars.put(12309, 12308); mirrorChars.put(12310, 12311); mirrorChars.put(12311, 12310); mirrorChars.put(12312, 12313); mirrorChars.put(12313, 12312); mirrorChars.put(12314, 12315); mirrorChars.put(12315, 12314); mirrorChars.put(65288, 65289); mirrorChars.put(65289, 65288); mirrorChars.put(65308, 65310); mirrorChars.put(65310, 65308); mirrorChars.put(65339, 65341); mirrorChars.put(65341, 65339); mirrorChars.put(65371, 65373); mirrorChars.put(65373, 65371); mirrorChars.put(65375, 65376); mirrorChars.put(65376, 65375); mirrorChars.put(65378, 65379); mirrorChars.put(65379, 65378); } public BidiLine() { this.pieceSize = 256; this.text = new char[this.pieceSize]; this.detailChunks = new PdfChunk[this.pieceSize]; this.totalTextLength = 0; this.orderLevels = new byte[this.pieceSize]; this.indexChars = new int[this.pieceSize]; this.chunks = new ArrayList(); this.indexChunk = 0; this.indexChunkChar = 0; this.currentChar = 0; this.storedText = new char[0]; this.storedDetailChunks = new PdfChunk[0]; this.storedTotalTextLength = 0; this.storedOrderLevels = new byte[0]; this.storedIndexChars = new int[0]; this.storedIndexChunk = 0; this.storedIndexChunkChar = 0; this.storedCurrentChar = 0; this.isWordSplit = false; } public BidiLine(BidiLine org) { this.pieceSize = 256; this.text = new char[this.pieceSize]; this.detailChunks = new PdfChunk[this.pieceSize]; this.totalTextLength = 0; this.orderLevels = new byte[this.pieceSize]; this.indexChars = new int[this.pieceSize]; this.chunks = new ArrayList(); this.indexChunk = 0; this.indexChunkChar = 0; this.currentChar = 0; this.storedText = new char[0]; this.storedDetailChunks = new PdfChunk[0]; this.storedTotalTextLength = 0; this.storedOrderLevels = new byte[0]; this.storedIndexChars = new int[0]; this.storedIndexChunk = 0; this.storedIndexChunkChar = 0; this.storedCurrentChar = 0; this.isWordSplit = false; this.runDirection = org.runDirection; this.pieceSize = org.pieceSize; this.text = (char[]) org.text.clone(); this.detailChunks = (PdfChunk[]) org.detailChunks.clone(); this.totalTextLength = org.totalTextLength; this.orderLevels = (byte[]) org.orderLevels.clone(); this.indexChars = (int[]) org.indexChars.clone(); this.chunks = new ArrayList(org.chunks); this.indexChunk = org.indexChunk; this.indexChunkChar = org.indexChunkChar; this.currentChar = org.currentChar; this.storedRunDirection = org.storedRunDirection; this.storedText = (char[]) org.storedText.clone(); this.storedDetailChunks = (PdfChunk[]) org.storedDetailChunks.clone(); this.storedTotalTextLength = org.storedTotalTextLength; this.storedOrderLevels = (byte[]) org.storedOrderLevels.clone(); this.storedIndexChars = (int[]) org.storedIndexChars.clone(); this.storedIndexChunk = org.storedIndexChunk; this.storedIndexChunkChar = org.storedIndexChunkChar; this.storedCurrentChar = org.storedCurrentChar; this.shortStore = org.shortStore; this.arabicOptions = org.arabicOptions; } public boolean isEmpty() { return this.currentChar >= this.totalTextLength && this.indexChunk >= this.chunks.size(); } public void clearChunks() { this.chunks.clear(); this.totalTextLength = 0; this.currentChar = 0; } public boolean getParagraph(int runDirection) { this.runDirection = runDirection; this.currentChar = 0; this.totalTextLength = 0; boolean hasText = false; while (this.indexChunk < this.chunks.size()) { PdfChunk ck = (PdfChunk) this.chunks.get(this.indexChunk); BaseFont bf = ck.font().getFont(); String s = ck.toString(); int len = s.length(); while (this.indexChunkChar < len) { char c = s.charAt(this.indexChunkChar); char uniC = (char) bf.getUnicodeEquivalent(c); if (uniC == '\r' || uniC == '\n') { if (uniC == '\r' && this.indexChunkChar + 1 < len && s.charAt(this.indexChunkChar + 1) == '\n') { this.indexChunkChar++; } this.indexChunkChar++; if (this.indexChunkChar >= len) { this.indexChunkChar = 0; this.indexChunk++; } hasText = true; if (this.totalTextLength == 0) { this.detailChunks[0] = ck; } if (hasText) { break; } this.indexChunkChar = 0; this.indexChunk++; } else { addPiece(c, ck); this.indexChunkChar++; } } if (hasText) { break; } this.indexChunkChar = 0; this.indexChunk++; } if (this.totalTextLength == 0) { return hasText; } this.totalTextLength = trimRight(0, this.totalTextLength - 1) + 1; if (this.totalTextLength == 0) { return true; } if (runDirection == 2 || runDirection == 3) { if (this.orderLevels.length < this.totalTextLength) { this.orderLevels = new byte[this.pieceSize]; this.indexChars = new int[this.pieceSize]; } ArabicLigaturizer.processNumbers(this.text, 0, this.totalTextLength, this.arabicOptions); byte[] od = new BidiOrder(this.text, 0, this.totalTextLength, (byte) (runDirection == 3 ? 1 : 0)).getLevels(); for (int k = 0; k < this.totalTextLength; k++) { this.orderLevels[k] = od[k]; this.indexChars[k] = k; } doArabicShapping(); mirrorGlyphs(); } this.totalTextLength = trimRightEx(0, this.totalTextLength - 1) + 1; return true; } public void addChunk(PdfChunk chunk) { this.chunks.add(chunk); } public void addChunks(ArrayList<PdfChunk> chunks) { this.chunks.addAll(chunks); } public void addPiece(char c, PdfChunk chunk) { if (this.totalTextLength >= this.pieceSize) { char[] tempText = this.text; PdfChunk[] tempDetailChunks = this.detailChunks; this.pieceSize *= 2; this.text = new char[this.pieceSize]; this.detailChunks = new PdfChunk[this.pieceSize]; System.arraycopy(tempText, 0, this.text, 0, this.totalTextLength); System.arraycopy(tempDetailChunks, 0, this.detailChunks, 0, this.totalTextLength); } this.text[this.totalTextLength] = c; PdfChunk[] pdfChunkArr = this.detailChunks; int i = this.totalTextLength; this.totalTextLength = i + 1; pdfChunkArr[i] = chunk; } public void save() { boolean z; if (this.indexChunk > 0) { if (this.indexChunk >= this.chunks.size()) { this.chunks.clear(); } else { this.indexChunk--; while (this.indexChunk >= 0) { this.chunks.remove(this.indexChunk); this.indexChunk--; } } this.indexChunk = 0; } this.storedRunDirection = this.runDirection; this.storedTotalTextLength = this.totalTextLength; this.storedIndexChunk = this.indexChunk; this.storedIndexChunkChar = this.indexChunkChar; this.storedCurrentChar = this.currentChar; if (this.currentChar < this.totalTextLength) { z = true; } else { z = false; } this.shortStore = z; if (!this.shortStore) { if (this.storedText.length < this.totalTextLength) { this.storedText = new char[this.totalTextLength]; this.storedDetailChunks = new PdfChunk[this.totalTextLength]; } System.arraycopy(this.text, 0, this.storedText, 0, this.totalTextLength); System.arraycopy(this.detailChunks, 0, this.storedDetailChunks, 0, this.totalTextLength); } if (this.runDirection == 2 || this.runDirection == 3) { if (this.storedOrderLevels.length < this.totalTextLength) { this.storedOrderLevels = new byte[this.totalTextLength]; this.storedIndexChars = new int[this.totalTextLength]; } System.arraycopy(this.orderLevels, this.currentChar, this.storedOrderLevels, this.currentChar, this.totalTextLength - this.currentChar); System.arraycopy(this.indexChars, this.currentChar, this.storedIndexChars, this.currentChar, this.totalTextLength - this.currentChar); } } public void restore() { this.runDirection = this.storedRunDirection; this.totalTextLength = this.storedTotalTextLength; this.indexChunk = this.storedIndexChunk; this.indexChunkChar = this.storedIndexChunkChar; this.currentChar = this.storedCurrentChar; if (!this.shortStore) { System.arraycopy(this.storedText, 0, this.text, 0, this.totalTextLength); System.arraycopy(this.storedDetailChunks, 0, this.detailChunks, 0, this.totalTextLength); } if (this.runDirection == 2 || this.runDirection == 3) { System.arraycopy(this.storedOrderLevels, this.currentChar, this.orderLevels, this.currentChar, this.totalTextLength - this.currentChar); System.arraycopy(this.storedIndexChars, this.currentChar, this.indexChars, this.currentChar, this.totalTextLength - this.currentChar); } } public void mirrorGlyphs() { for (int k = 0; k < this.totalTextLength; k++) { if ((this.orderLevels[k] & 1) == 1) { int mirror = mirrorChars.get(this.text[k]); if (mirror != 0) { this.text[k] = (char) mirror; } } } } public void doArabicShapping() { int src = 0; int dest = 0; while (true) { char c; if (src < this.totalTextLength) { c = this.text[src]; if (c < '؀' || c > 'ۿ') { if (src != dest) { this.text[dest] = this.text[src]; this.detailChunks[dest] = this.detailChunks[src]; this.orderLevels[dest] = this.orderLevels[src]; } src++; dest++; } } if (src >= this.totalTextLength) { this.totalTextLength = dest; return; } int startArabicIdx = src; src++; while (src < this.totalTextLength) { c = this.text[src]; if (c < '؀' || c > 'ۿ') { break; } src++; } int arabicWordSize = src - startArabicIdx; int size = ArabicLigaturizer.arabic_shape(this.text, startArabicIdx, arabicWordSize, this.text, dest, arabicWordSize, this.arabicOptions); if (startArabicIdx != dest) { int k = 0; int startArabicIdx2 = startArabicIdx; int dest2 = dest; while (k < size) { this.detailChunks[dest2] = this.detailChunks[startArabicIdx2]; dest = dest2 + 1; startArabicIdx = startArabicIdx2 + 1; this.orderLevels[dest2] = this.orderLevels[startArabicIdx2]; k++; startArabicIdx2 = startArabicIdx; dest2 = dest; } dest = dest2; } else { dest += size; } } } public PdfLine processLine(float leftX, float width, int alignment, int runDirection, int arabicOptions, float minY, float yLine, float descender) { this.isWordSplit = false; this.arabicOptions = arabicOptions; save(); boolean isRTL = runDirection == 3; if (this.currentChar >= this.totalTextLength) { if (!getParagraph(runDirection)) { return null; } if (this.totalTextLength == 0) { ArrayList<PdfChunk> ar = new ArrayList(); ar.add(new PdfChunk("", this.detailChunks[0])); return new PdfLine(0.0f, 0.0f, width, alignment, true, ar, isRTL); } } float originalWidth = width; int lastSplit = -1; if (this.currentChar != 0) { this.currentChar = trimLeftEx(this.currentChar, this.totalTextLength - 1); } int oldCurrentChar = this.currentChar; PdfChunk lastValidChunk = null; TabStop tabStop = null; float tabStopAnchorPosition = Float.NaN; float tabPosition = Float.NaN; boolean surrogate = false; while (this.currentChar < this.totalTextLength) { Image img; int uniC; float tabStopPosition; PdfChunk ck = this.detailChunks[this.currentChar]; if (ck.isImage() && minY < yLine) { img = ck.getImage(); if (img.isScaleToFitHeight() && ((((BaseField.BORDER_WIDTH_MEDIUM * descender) + yLine) - img.getScaledHeight()) - ck.getImageOffsetY()) - img.getSpacingBefore() < minY) { ck.setImageScalePercentage((((((BaseField.BORDER_WIDTH_MEDIUM * descender) + yLine) - ck.getImageOffsetY()) - img.getSpacingBefore()) - minY) / img.getScaledHeight()); } } surrogate = Utilities.isSurrogatePair(this.text, this.currentChar); if (surrogate) { uniC = ck.getUnicodeEquivalent(Utilities.convertToUtf32(this.text, this.currentChar)); } else { uniC = ck.getUnicodeEquivalent(this.text[this.currentChar]); } if (!PdfChunk.noPrint(uniC)) { float charWidth; if (surrogate) { charWidth = ck.getCharWidth(uniC); } else if (ck.isImage()) { charWidth = ck.getImageWidth(); } else { charWidth = ck.getCharWidth(this.text[this.currentChar]); } if (width - charWidth < 0.0f && lastValidChunk == null && ck.isImage()) { img = ck.getImage(); if (img.isScaleToFitLineWhenOverflow()) { ck.setImageScalePercentage(width / img.getWidth()); charWidth = width; } } if (!ck.isTab()) { if (!ck.isSeparator()) { boolean splitChar = ck.isExtSplitCharacter(oldCurrentChar, this.currentChar, this.totalTextLength, this.text, this.detailChunks); if (splitChar && Character.isWhitespace((char) uniC)) { lastSplit = this.currentChar; } if (width - charWidth < 0.0f) { break; } if (tabStop != null && tabStop.getAlignment() == Alignment.ANCHOR && Float.isNaN(tabStopAnchorPosition) && tabStop.getAnchorChar() == ((char) uniC)) { tabStopAnchorPosition = originalWidth - width; } width -= charWidth; if (splitChar) { lastSplit = this.currentChar; } } else { Object[] sep = (Object[]) ck.getAttribute(Chunk.SEPARATOR); DrawInterface di = sep[0]; if (sep[1].booleanValue() && (di instanceof LineSeparator)) { width -= (((LineSeparator) di).getPercentage() * originalWidth) / 100.0f; if (width < 0.0f) { width = 0.0f; } } } } else if (ck.isAttribute(Chunk.TABSETTINGS)) { lastSplit = this.currentChar; if (tabStop != null) { tabStopPosition = tabStop.getPosition(tabPosition, originalWidth - width, tabStopAnchorPosition); width = originalWidth - (((originalWidth - width) - tabPosition) + tabStopPosition); if (width < 0.0f) { tabStopPosition += width; width = 0.0f; } tabStop.setPosition(tabStopPosition); } tabStop = PdfChunk.getTabStop(ck, originalWidth - width); if (tabStop.getPosition() > originalWidth) { tabStop = null; break; } ck.setTabStop(tabStop); if (tabStop.getAlignment() == Alignment.LEFT) { width = originalWidth - tabStop.getPosition(); tabStop = null; tabPosition = Float.NaN; tabStopAnchorPosition = Float.NaN; } else { tabPosition = originalWidth - width; tabStopAnchorPosition = Float.NaN; } } else { Object[] tab = (Object[]) ck.getAttribute(Chunk.TAB); tabStopPosition = ((Float) tab[1]).floatValue(); if (!((Boolean) tab[2]).booleanValue() || tabStopPosition >= originalWidth - width) { this.detailChunks[this.currentChar].adjustLeft(leftX); width = originalWidth - tabStopPosition; } else { return new PdfLine(0.0f, originalWidth, width, alignment, true, createArrayOfPdfChunks(oldCurrentChar, this.currentChar - 1), isRTL); } } lastValidChunk = ck; if (surrogate) { this.currentChar++; } } this.currentChar++; } if (lastValidChunk == null) { this.currentChar++; if (surrogate) { this.currentChar++; } return new PdfLine(0.0f, originalWidth, 0.0f, alignment, false, createArrayOfPdfChunks(this.currentChar - 1, this.currentChar - 1), isRTL); } if (tabStop != null) { tabStopPosition = tabStop.getPosition(tabPosition, originalWidth - width, tabStopAnchorPosition); width = originalWidth - (((originalWidth - width) - tabPosition) + tabStopPosition); if (width < 0.0f) { tabStopPosition += width; width = 0.0f; } tabStop.setPosition(tabStopPosition); } if (this.currentChar >= this.totalTextLength) { return new PdfLine(0.0f, originalWidth, width, alignment, true, createArrayOfPdfChunks(oldCurrentChar, this.totalTextLength - 1), isRTL); } int newCurrentChar = trimRightEx(oldCurrentChar, this.currentChar - 1); if (newCurrentChar < oldCurrentChar) { return new PdfLine(0.0f, originalWidth, width, alignment, false, createArrayOfPdfChunks(oldCurrentChar, this.currentChar - 1), isRTL); } if (newCurrentChar == this.currentChar - 1) { HyphenationEvent he = (HyphenationEvent) lastValidChunk.getAttribute(Chunk.HYPHENATION); if (he != null) { int[] word = getWord(oldCurrentChar, newCurrentChar); if (word != null) { float testWidth = width + getWidth(word[0], this.currentChar - 1); String pre = he.getHyphenatedWordPre(new String(this.text, word[0], word[1] - word[0]), lastValidChunk.font().getFont(), lastValidChunk.font().size(), testWidth); String post = he.getHyphenatedWordPost(); if (pre.length() > 0) { PdfChunk pdfChunk = new PdfChunk(pre, lastValidChunk); this.currentChar = word[1] - post.length(); return new PdfLine(0.0f, originalWidth, testWidth - lastValidChunk.width(pre), alignment, false, createArrayOfPdfChunks(oldCurrentChar, word[0] - 1, pdfChunk), isRTL); } } } } if (lastSplit == -1) { this.isWordSplit = true; } if (lastSplit == -1 || lastSplit >= newCurrentChar) { return new PdfLine(0.0f, originalWidth, width + getWidth(newCurrentChar + 1, this.currentChar - 1), alignment, false, createArrayOfPdfChunks(oldCurrentChar, newCurrentChar), isRTL); } this.currentChar = lastSplit + 1; newCurrentChar = trimRightEx(oldCurrentChar, lastSplit); if (newCurrentChar < oldCurrentChar) { newCurrentChar = this.currentChar - 1; } return new PdfLine(0.0f, originalWidth, originalWidth - getWidth(oldCurrentChar, newCurrentChar), alignment, false, createArrayOfPdfChunks(oldCurrentChar, newCurrentChar), isRTL); } public boolean isWordSplit() { return this.isWordSplit; } public float getWidth(int startIdx, int lastIdx) { float width = 0.0f; TabStop tabStop = null; float tabStopAnchorPosition = Float.NaN; float tabPosition = Float.NaN; while (startIdx <= lastIdx) { boolean surrogate = Utilities.isSurrogatePair(this.text, startIdx); if (this.detailChunks[startIdx].isTab() && this.detailChunks[startIdx].isAttribute(Chunk.TABSETTINGS)) { if (tabStop != null) { float tabStopPosition = tabStop.getPosition(tabPosition, width, tabStopAnchorPosition); width = tabStopPosition + (width - tabPosition); tabStop.setPosition(tabStopPosition); } tabStop = this.detailChunks[startIdx].getTabStop(); if (tabStop == null) { tabStop = PdfChunk.getTabStop(this.detailChunks[startIdx], width); tabPosition = width; tabStopAnchorPosition = Float.NaN; } else { width = tabStop.getPosition(); tabStop = null; tabPosition = Float.NaN; tabStopAnchorPosition = Float.NaN; } } else if (surrogate) { width += this.detailChunks[startIdx].getCharWidth(Utilities.convertToUtf32(this.text, startIdx)); startIdx++; } else { char c = this.text[startIdx]; PdfChunk ck = this.detailChunks[startIdx]; if (!PdfChunk.noPrint(ck.getUnicodeEquivalent(c))) { if (tabStop != null && tabStop.getAlignment() != Alignment.ANCHOR && Float.isNaN(tabStopAnchorPosition) && tabStop.getAnchorChar() == ((char) ck.getUnicodeEquivalent(c))) { tabStopAnchorPosition = width; } width += this.detailChunks[startIdx].getCharWidth(c); } } startIdx++; } if (tabStop == null) { return width; } tabStopPosition = tabStop.getPosition(tabPosition, width, tabStopAnchorPosition); width = tabStopPosition + (width - tabPosition); tabStop.setPosition(tabStopPosition); return width; } public ArrayList<PdfChunk> createArrayOfPdfChunks(int startIdx, int endIdx) { return createArrayOfPdfChunks(startIdx, endIdx, null); } public ArrayList<PdfChunk> createArrayOfPdfChunks(int startIdx, int endIdx, PdfChunk extraPdfChunk) { boolean bidi = this.runDirection == 2 || this.runDirection == 3; if (bidi) { reorder(startIdx, endIdx); } ArrayList<PdfChunk> ar = new ArrayList(); PdfChunk refCk = this.detailChunks[startIdx]; StringBuffer buf = new StringBuffer(); while (startIdx <= endIdx) { int idx; if (bidi) { idx = this.indexChars[startIdx]; } else { idx = startIdx; } char c = this.text[idx]; PdfChunk ck = this.detailChunks[idx]; if (!PdfChunk.noPrint(ck.getUnicodeEquivalent(c))) { if (ck.isImage() || ck.isSeparator() || ck.isTab()) { if (buf.length() > 0) { ar.add(new PdfChunk(buf.toString(), refCk)); buf = new StringBuffer(); } ar.add(ck); } else if (ck == refCk) { buf.append(c); } else { if (buf.length() > 0) { ar.add(new PdfChunk(buf.toString(), refCk)); buf = new StringBuffer(); } if (!(ck.isImage() || ck.isSeparator() || ck.isTab())) { buf.append(c); } refCk = ck; } } startIdx++; } if (buf.length() > 0) { ar.add(new PdfChunk(buf.toString(), refCk)); } if (extraPdfChunk != null) { ar.add(extraPdfChunk); } return ar; } public int[] getWord(int startIdx, int idx) { int last = idx; int first = idx; while (last < this.totalTextLength && Character.isLetter(this.text[last])) { last++; } if (last == idx) { return null; } while (first >= startIdx && Character.isLetter(this.text[first])) { first--; } return new int[]{first + 1, last}; } public int trimRight(int startIdx, int endIdx) { int idx = endIdx; while (idx >= startIdx && isWS((char) this.detailChunks[idx].getUnicodeEquivalent(this.text[idx]))) { idx--; } return idx; } public int trimLeft(int startIdx, int endIdx) { int idx = startIdx; while (idx <= endIdx && isWS((char) this.detailChunks[idx].getUnicodeEquivalent(this.text[idx]))) { idx++; } return idx; } public int trimRightEx(int startIdx, int endIdx) { int idx = endIdx; while (idx >= startIdx) { char c = (char) this.detailChunks[idx].getUnicodeEquivalent(this.text[idx]); if (!isWS(c) && !PdfChunk.noPrint(c) && (!this.detailChunks[idx].isTab() || !this.detailChunks[idx].isAttribute(Chunk.TABSETTINGS) || !((Boolean) ((Object[]) this.detailChunks[idx].getAttribute(Chunk.TAB))[1]).booleanValue())) { break; } idx--; } return idx; } public int trimLeftEx(int startIdx, int endIdx) { int idx = startIdx; while (idx <= endIdx) { char c = (char) this.detailChunks[idx].getUnicodeEquivalent(this.text[idx]); if (!isWS(c) && !PdfChunk.noPrint(c) && (!this.detailChunks[idx].isTab() || !this.detailChunks[idx].isAttribute(Chunk.TABSETTINGS) || !((Boolean) ((Object[]) this.detailChunks[idx].getAttribute(Chunk.TAB))[1]).booleanValue())) { break; } idx++; } return idx; } public void reorder(int start, int end) { byte maxLevel = this.orderLevels[start]; byte minLevel = maxLevel; byte onlyOddLevels = maxLevel; byte onlyEvenLevels = maxLevel; for (int k = start + 1; k <= end; k++) { byte b = this.orderLevels[k]; if (b > maxLevel) { maxLevel = b; } else if (b < minLevel) { minLevel = b; } onlyOddLevels = (byte) (onlyOddLevels & b); onlyEvenLevels = (byte) (onlyEvenLevels | b); } if ((onlyEvenLevels & 1) != 0) { if ((onlyOddLevels & 1) == 1) { flip(start, end + 1); return; } minLevel = (byte) (minLevel | 1); while (maxLevel >= minLevel) { int pstart = start; while (true) { if (pstart <= end && this.orderLevels[pstart] < maxLevel) { pstart++; } else if (pstart > end) { break; } else { int pend = pstart + 1; while (pend <= end && this.orderLevels[pend] >= maxLevel) { pend++; } flip(pstart, pend); pstart = pend + 1; } } maxLevel = (byte) (maxLevel - 1); } } } public void flip(int start, int end) { int mid = (start + end) / 2; end--; while (start < mid) { int temp = this.indexChars[start]; this.indexChars[start] = this.indexChars[end]; this.indexChars[end] = temp; start++; end--; } } public static boolean isWS(char c) { return c <= ' '; } public static String processLTR(String s, int runDirection, int arabicOptions) { BidiLine bidi = new BidiLine(); bidi.addChunk(new PdfChunk(new Chunk(s), null)); bidi.arabicOptions = arabicOptions; bidi.getParagraph(runDirection); ArrayList<PdfChunk> arr = bidi.createArrayOfPdfChunks(0, bidi.totalTextLength - 1); StringBuilder sb = new StringBuilder(); Iterator i$ = arr.iterator(); while (i$.hasNext()) { sb.append(((PdfChunk) i$.next()).toString()); } return sb.toString(); } }
10,114
https://github.com/stefLaur62/RogueLite3D/blob/master/Assets/External/Ultimate RPG Items Pack/OBJ/Book3_Closed.obj
Github Open Source
Open Source
CC0-1.0
2,021
RogueLite3D
stefLaur62
Wavefront Object
Code
6,608
23,748
# Blender v2.79 (sub 0) OBJ File: 'Book3_Closed.blend' # www.blender.org mtllib Book3_Closed.mtl o Book3_Closed_Cube.049 v -0.154561 -0.394899 0.271377 v -0.154561 0.394899 0.271377 v 0.089733 -0.394899 0.271377 v 0.089733 0.394899 0.271377 v -0.154561 -0.394899 -0.170308 v -0.107380 -0.394899 -0.287144 v -0.146457 -0.394899 -0.249546 v -0.129250 -0.394899 -0.271491 v -0.107380 0.394899 -0.287144 v -0.154561 0.394899 -0.170308 v -0.129250 0.394899 -0.271491 v -0.146457 0.394899 -0.249546 v 0.042553 -0.394899 -0.287144 v 0.089733 -0.394899 -0.170308 v 0.064423 -0.394899 -0.271491 v 0.081630 -0.394899 -0.249546 v 0.089733 0.394899 -0.170308 v 0.042553 0.394899 -0.287144 v 0.081630 0.394899 -0.249546 v 0.064423 0.394899 -0.271491 v -0.129272 -0.394899 0.271377 v -0.129272 0.394899 0.271377 v 0.064445 0.394899 0.271377 v 0.064445 -0.394899 0.271377 v -0.111094 0.394899 -0.241676 v -0.095388 0.394899 -0.255610 v -0.095388 -0.394899 -0.255610 v -0.111094 -0.394899 -0.241676 v -0.123452 0.394899 -0.222141 v -0.123452 -0.394899 -0.222141 v -0.129272 0.394899 -0.151605 v -0.129272 -0.394899 -0.151605 v 0.058625 0.394899 -0.222141 v 0.064445 0.394899 -0.151605 v 0.064445 -0.394899 -0.151605 v 0.058625 -0.394899 -0.222141 v 0.046267 0.394899 -0.241676 v 0.046267 -0.394899 -0.241676 v 0.030561 0.394899 -0.255610 v 0.030561 -0.394899 -0.255610 v -0.154561 0.343794 -0.170308 v -0.146457 0.343794 -0.249546 v -0.129250 0.343794 -0.271491 v -0.107380 0.343794 -0.287144 v -0.129272 0.343794 0.271377 v 0.064445 0.343794 0.271377 v 0.089733 0.343794 0.271377 v -0.154561 0.343794 0.271377 v 0.089733 0.343794 -0.170308 v 0.081630 0.343794 -0.249546 v 0.064423 0.343794 -0.271491 v 0.042553 0.343794 -0.287144 v -0.095388 0.343794 -0.255610 v -0.111094 0.343794 -0.241676 v -0.123452 0.343794 -0.222141 v -0.129272 0.343794 -0.151605 v 0.064445 0.343794 -0.151605 v 0.058625 0.343794 -0.222141 v 0.046267 0.343794 -0.241676 v 0.030561 0.343794 -0.255610 v 0.089733 -0.361880 0.271377 v 0.064445 -0.361880 0.271377 v -0.107380 -0.361880 -0.287144 v 0.089733 -0.361880 -0.170308 v -0.095388 -0.361880 -0.255610 v 0.064445 -0.361880 -0.151605 v 0.042553 -0.361880 -0.287144 v -0.146457 -0.361880 -0.249546 v 0.064423 -0.361880 -0.271491 v -0.129272 -0.361880 0.271377 v -0.154561 -0.361880 0.271377 v -0.129250 -0.361880 -0.271491 v -0.154561 -0.361880 -0.170308 v 0.081630 -0.361880 -0.249546 v -0.111094 -0.361880 -0.241676 v -0.123452 -0.361880 -0.222141 v -0.129272 -0.361880 -0.151605 v 0.058625 -0.361880 -0.222141 v 0.046267 -0.361880 -0.241676 v 0.030561 -0.361880 -0.255610 v 0.089733 -0.394899 0.246498 v 0.089733 0.394899 0.246498 v 0.064445 -0.394899 0.246498 v 0.064445 0.394899 0.246498 v 0.089733 0.343794 0.246498 v 0.064445 0.343794 0.246498 v 0.064445 -0.361880 0.246498 v 0.089733 -0.361880 0.246498 v -0.154561 -0.394899 0.246498 v -0.154561 0.394899 0.246498 v -0.129272 -0.394899 0.246498 v -0.129272 0.394899 0.246498 v -0.154561 0.343794 0.246498 v -0.129272 0.343794 0.246498 v -0.129272 -0.361880 0.246498 v -0.154561 -0.361880 0.246498 v -0.112253 0.381067 0.291228 v -0.112253 0.056868 0.241865 v -0.112253 0.331410 -0.088738 v -0.112253 0.067389 -0.115871 v -0.086814 0.370275 0.272149 v -0.086814 0.056868 0.222786 v -0.086814 0.331410 -0.107817 v -0.086814 0.067389 -0.134950 v 0.013746 0.388506 0.312108 v 0.013446 0.056834 0.235327 v 0.013446 0.331376 -0.067858 v 0.013446 0.067355 -0.094991 v 0.049787 0.371105 0.282142 v 0.049787 0.056868 0.232780 v 0.049787 0.331410 -0.097824 v 0.049787 0.067389 -0.124956 v 0.041711 -0.324394 0.291228 v 0.041711 -0.000194 0.241865 v 0.041711 -0.274737 -0.088738 v 0.041711 -0.010716 -0.115871 v 0.016272 -0.385610 0.225442 v 0.016272 -0.069222 0.201784 v 0.016272 -0.315910 -0.150093 v 0.016272 -0.050556 -0.155619 v -0.085801 -0.406853 0.263707 v -0.083987 -0.070027 0.214211 v -0.083987 -0.318949 -0.110340 v -0.083987 -0.053595 -0.115866 v -0.120329 -0.314432 0.282142 v -0.120329 -0.000194 0.232780 v -0.120329 -0.274737 -0.097824 v -0.120329 -0.010716 -0.124956 v -0.116291 0.381067 0.291228 v -0.116291 0.056868 0.241865 v -0.116291 0.331410 -0.088738 v -0.116291 0.067389 -0.115871 v -0.090852 0.370275 0.272149 v -0.090852 0.056868 0.222786 v -0.090852 0.331410 -0.107817 v -0.090852 0.067389 -0.134950 v 0.009708 0.388539 0.312124 v 0.009408 0.056868 0.235343 v 0.009408 0.331410 -0.067842 v 0.009408 0.067389 -0.094975 v 0.045749 0.371105 0.282142 v 0.045749 0.056868 0.232780 v 0.045749 0.331410 -0.097824 v 0.045749 0.067389 -0.124956 v 0.045749 -0.324394 0.291228 v 0.045749 -0.000194 0.241865 v 0.045749 -0.274737 -0.088738 v 0.045749 -0.010716 -0.115871 v 0.020310 -0.385610 0.225442 v 0.020310 -0.069222 0.201784 v 0.020310 -0.315910 -0.150093 v 0.020310 -0.050556 -0.155619 v -0.081764 -0.407071 0.263796 v -0.079950 -0.070246 0.214300 v -0.079950 -0.319167 -0.110251 v -0.079950 -0.053814 -0.115777 v -0.116291 -0.314432 0.282142 v -0.116291 -0.000194 0.232780 v -0.116291 -0.274737 -0.097824 v -0.116291 -0.010716 -0.124956 v -0.161438 0.399697 0.274332 v -0.161438 0.266071 0.274332 v -0.161438 0.399697 0.078426 v -0.140058 0.399697 0.274332 v -0.140058 0.266071 0.274332 v -0.140058 0.399697 0.078426 v 0.082358 -0.070349 0.272202 v -0.056624 0.009286 0.290740 v -0.064871 -0.030532 0.309264 v -0.056718 -0.070349 0.290740 v -0.184026 -0.030532 0.236416 v 0.082516 0.009286 0.272132 v 0.128865 -0.030750 0.210428 v -0.165978 -0.070349 0.226039 v -0.165978 0.009286 0.226039 v 0.070357 -0.030532 0.256630 v 0.094518 -0.030532 0.287704 v -0.022454 -0.030194 0.302371 v 0.026601 -0.030189 0.336554 v 0.020006 -0.030234 0.321040 v 0.014554 -0.036252 0.328416 v 0.015068 -0.024129 0.327722 v 0.009617 -0.030147 0.335098 v 0.103205 -0.070986 0.038400 v 0.106743 -0.070567 0.204361 v 0.084692 -0.030750 0.198130 v 0.106813 0.009068 0.204197 v 0.106766 -0.070768 -0.135957 v 0.123125 -0.031169 0.037480 v 0.103197 0.008649 0.038212 v 0.083277 -0.031169 0.039132 v -0.013991 -0.030149 0.318579 v -0.009504 -0.024131 0.310602 v -0.009927 -0.036256 0.311353 v -0.005441 -0.030238 0.303376 v -0.164056 0.009286 0.001915 v -0.176767 -0.030532 -0.215772 v -0.183753 -0.030532 0.005672 v -0.164056 -0.070349 0.001915 v -0.144360 -0.030532 -0.001842 v -0.143030 -0.070349 -0.279393 v -0.158752 -0.070349 -0.211835 v -0.140737 -0.030532 -0.207897 v -0.158752 0.009286 -0.211835 v -0.129593 -0.030532 -0.265048 v -0.143030 0.009286 -0.279393 v -0.156467 -0.030532 -0.293738 v -0.147930 -0.030532 0.215662 v -0.048471 -0.030532 0.272216 v -0.049215 0.009286 -0.297041 v -0.046520 -0.030532 -0.278822 v -0.049215 -0.070349 -0.297041 v 0.047992 -0.030532 -0.270957 v 0.096040 0.009286 -0.233525 v 0.057954 0.009286 -0.287426 v 0.067915 -0.030532 -0.303895 v 0.057954 -0.070349 -0.287426 v 0.106752 0.008867 -0.136050 v 0.113371 -0.030532 -0.241568 v 0.096040 -0.070349 -0.233525 v 0.078708 -0.030532 -0.225483 v 0.126623 -0.030951 -0.138730 v 0.086894 -0.030951 -0.133277 v -0.095438 -0.068191 0.335574 v -0.095438 0.007127 0.335574 v -0.094051 -0.030532 0.354234 v -0.096826 -0.030532 0.316915 v -0.143984 -0.030532 0.333244 v 0.004494 -0.030532 0.295817 v 0.014308 -0.030532 0.331929 v 0.009401 0.007127 0.313873 v 0.009401 -0.068191 0.313873 v -0.051909 -0.030532 -0.315259 v 0.091557 -0.000669 0.283794 v 0.081372 -0.030586 0.236070 v 0.073436 -0.000669 0.260488 v 0.122617 -0.030586 0.257935 v 0.102055 0.009231 0.246938 v 0.101934 -0.070404 0.247067 v -0.050557 -0.060395 0.276847 v 0.073318 -0.060395 0.260540 v -0.062786 -0.000669 0.304633 v 0.091439 -0.060395 0.283846 v 0.033218 -0.030532 0.266462 v 0.035159 -0.030532 0.303544 v 0.034267 0.009286 0.284994 v 0.034110 -0.070349 0.285012 v -0.019415 -0.034892 0.304817 v -0.022270 -0.030153 0.310529 v -0.016269 -0.030235 0.298517 v -0.019123 -0.025497 0.304229 v 0.023451 -0.034885 0.334691 v 0.019503 -0.030150 0.339723 v 0.027804 -0.030229 0.329143 v 0.023857 -0.025494 0.334175 v 0.018519 -0.034759 0.323063 v -0.006349 -0.025696 0.304993 v 0.010718 -0.034714 0.333596 v -0.012765 -0.025597 0.316398 v -0.050486 -0.000669 0.276847 v -0.062856 -0.060395 0.304633 v -0.158035 -0.070349 0.275659 v -0.158011 0.009286 0.275659 v -0.172784 -0.030532 0.291382 v -0.143261 -0.030532 0.259935 v 0.084074 -0.030963 0.135066 v 0.125090 -0.030963 0.139002 v 0.104593 0.008854 0.136943 v 0.104572 -0.070781 0.137125 v 0.123317 -0.060613 0.208952 v 0.123369 -0.000886 0.208829 v 0.090187 -0.060613 0.199729 v 0.090239 -0.000886 0.199606 v 0.083738 -0.031215 -0.060155 v 0.123469 -0.031215 -0.064857 v 0.103594 0.008603 -0.062588 v 0.103613 -0.071032 -0.062424 v 0.088261 -0.061032 0.038996 v 0.118147 -0.061032 0.037757 v 0.118141 -0.001305 0.037616 v 0.088255 -0.001305 0.038855 v -0.006670 -0.034758 0.305560 v 0.018896 -0.025687 0.322532 v -0.013079 -0.034723 0.316959 v 0.011113 -0.025602 0.333085 v -0.001926 -0.030155 0.326707 v 0.003020 -0.024280 0.319197 v 0.002549 -0.036105 0.319910 v 0.007495 -0.030229 0.312400 v -0.144784 -0.030532 0.131152 v -0.183353 -0.030532 0.141976 v -0.164068 -0.070349 0.136564 v -0.164068 0.009286 0.136564 v -0.152442 -0.000669 0.218257 v -0.179514 -0.000669 0.233822 v -0.179514 -0.060395 0.233822 v -0.152442 -0.060395 0.218257 v -0.143922 -0.030532 -0.131973 v -0.182475 -0.030532 -0.128307 v -0.163199 -0.070349 -0.130140 v -0.163199 0.009286 -0.130140 v -0.149284 -0.000669 -0.000902 v -0.178829 -0.000669 0.004733 v -0.178829 -0.060395 0.004733 v -0.149284 -0.060395 -0.000902 v -0.135672 -0.030532 -0.246596 v -0.167731 -0.030532 -0.267368 v -0.151701 -0.070349 -0.256982 v -0.151701 0.009286 -0.256982 v -0.172263 -0.000669 -0.214788 v -0.172263 -0.060395 -0.214788 v -0.145241 -0.060395 -0.208882 v -0.145241 -0.000669 -0.208882 v -0.105532 -0.030532 -0.272657 v -0.124138 -0.030532 -0.305996 v -0.114835 -0.070349 -0.289326 v -0.114835 0.009286 -0.289326 v -0.153108 -0.060395 -0.290151 v -0.132952 -0.060395 -0.268634 v -0.132952 -0.000669 -0.268634 v -0.153108 -0.000669 -0.290151 v 0.015352 -0.030532 -0.279578 v 0.024137 -0.030532 -0.316300 v 0.019744 -0.070349 -0.297939 v 0.019744 0.009286 -0.297939 v -0.051236 -0.060395 -0.310704 v -0.047194 -0.060395 -0.283377 v -0.047194 -0.000669 -0.283377 v -0.051236 -0.000669 -0.310704 v 0.064683 -0.030532 -0.252934 v 0.093102 -0.030532 -0.278749 v 0.078892 -0.070349 -0.265841 v 0.078892 0.009286 -0.265841 v 0.050483 -0.060395 -0.275074 v 0.050483 -0.000669 -0.275074 v 0.065425 -0.000669 -0.299778 v 0.065425 -0.060395 -0.299778 v 0.087100 -0.030637 -0.186349 v 0.125590 -0.030637 -0.194259 v 0.106347 -0.070454 -0.190292 v 0.106343 0.009181 -0.190316 v 0.083041 -0.000669 -0.227493 v 0.109038 -0.000669 -0.239557 v 0.109038 -0.060395 -0.239557 v 0.083041 -0.060395 -0.227493 v 0.091855 -0.001088 -0.133994 v 0.121652 -0.001088 -0.138083 v 0.121662 -0.060814 -0.138013 v 0.091866 -0.060814 -0.133924 v 0.059028 -0.030532 0.272087 v 0.072361 -0.030532 0.307596 v 0.065695 -0.068191 0.289842 v 0.065695 0.007127 0.289842 v 0.005721 -0.058776 0.300331 v 0.013081 -0.002287 0.327415 v -0.096479 -0.002287 0.321580 v -0.094398 -0.058776 0.349569 v -0.131848 -0.058776 0.333827 v -0.131848 -0.002287 0.333827 v -0.131686 -0.030532 0.347972 v -0.132009 -0.030532 0.319681 v -0.096479 -0.058776 0.321580 v -0.094398 -0.002287 0.349569 v 0.005721 -0.002287 0.300331 v 0.013081 -0.058776 0.327415 v -0.048103 -0.030532 0.312956 v -0.041808 -0.030532 0.349672 v -0.044956 0.007127 0.331314 v -0.044956 -0.068191 0.331314 v 0.086482 -0.060449 0.238851 v 0.086573 -0.000723 0.238755 v 0.117507 -0.000723 0.255154 v 0.117417 -0.060449 0.255250 v 0.034857 -0.060395 0.298915 v 0.034975 -0.000669 0.298902 v 0.033402 -0.060395 0.271104 v 0.033520 -0.000669 0.271090 v -0.014621 -0.033650 0.302053 v -0.014396 -0.026794 0.301623 v -0.019187 -0.033608 0.310768 v -0.018965 -0.026724 0.310341 v 0.024215 -0.033646 0.329064 v 0.018213 -0.033601 0.336886 v 0.018512 -0.026724 0.336506 v 0.024505 -0.026787 0.328676 v -0.146943 -0.000669 0.263866 v -0.146960 -0.060395 0.263866 v -0.169103 -0.060395 0.287451 v -0.169085 -0.000669 0.287451 v 0.089193 -0.060826 0.135626 v 0.089209 -0.001100 0.135490 v 0.119955 -0.060826 0.138578 v 0.119971 -0.001100 0.138442 v 0.088711 -0.061078 -0.060681 v 0.088697 -0.001352 -0.060804 v 0.118510 -0.061078 -0.064208 v 0.118495 -0.001352 -0.064331 v 0.006144 -0.034639 0.314460 v 0.006492 -0.025801 0.313917 v -0.000927 -0.034614 0.325183 v -0.000569 -0.025716 0.324655 v -0.149605 -0.000669 0.132505 v -0.149605 -0.060395 0.132505 v -0.178532 -0.000669 0.140623 v -0.178532 -0.060395 0.140623 v -0.148741 -0.000669 -0.131515 v -0.148741 -0.060395 -0.131515 v -0.177656 -0.000669 -0.128765 v -0.177656 -0.060395 -0.128765 v -0.139679 -0.000669 -0.249192 v -0.139679 -0.060395 -0.249192 v -0.163724 -0.000669 -0.264772 v -0.163724 -0.060395 -0.264772 v -0.107858 -0.000669 -0.276824 v -0.107858 -0.060395 -0.276824 v -0.121813 -0.000669 -0.301829 v -0.121813 -0.060395 -0.301829 v 0.016450 -0.000669 -0.284168 v 0.016450 -0.060395 -0.284168 v 0.023039 -0.000669 -0.311710 v 0.023039 -0.060395 -0.311710 v 0.068236 -0.000669 -0.256161 v 0.068236 -0.060395 -0.256161 v 0.089549 -0.000669 -0.275522 v 0.089549 -0.060395 -0.275522 v 0.091910 -0.000773 -0.187346 v 0.091913 -0.060500 -0.187329 v 0.120777 -0.000773 -0.193279 v 0.120780 -0.060500 -0.193262 v 0.060695 -0.058776 0.276526 v 0.060695 -0.002287 0.276526 v 0.070695 -0.002287 0.303157 v 0.070695 -0.058776 0.303157 v -0.122788 -0.009610 0.323847 v -0.122788 -0.051454 0.323847 v -0.122028 -0.051454 0.344713 v -0.122028 -0.009610 0.344713 v -0.047316 -0.058776 0.317546 v -0.042595 -0.002287 0.345082 v -0.047316 -0.002287 0.317546 v -0.042595 -0.058776 0.345082 v -0.161438 -0.397439 0.274332 v -0.161438 -0.263813 0.274332 v -0.161438 -0.397439 0.078426 v -0.140058 -0.397439 0.274332 v -0.140058 -0.263813 0.274332 v -0.140058 -0.397439 0.078426 v 0.093497 0.399697 0.274332 v 0.093497 0.266071 0.274332 v 0.093496 0.399697 0.078426 v 0.072116 0.399697 0.274332 v 0.072116 0.266071 0.274332 v 0.072116 0.399697 0.078426 v 0.093497 -0.397439 0.274332 v 0.093497 -0.263813 0.274332 v 0.093496 -0.397439 0.078426 v 0.072116 -0.397439 0.274332 v 0.072116 -0.263813 0.274332 v 0.072116 -0.397439 0.078426 v 0.016827 0.021211 0.316233 v 0.055185 -0.031425 0.318295 v -0.026778 -0.083626 0.315309 v 0.017857 0.021211 0.289096 v 0.056261 -0.031425 0.289948 v -0.026467 -0.083626 0.288826 v 0.044990 -0.031422 0.303714 v -0.027738 0.029506 0.302054 v 0.022143 -0.092568 0.302847 v -0.051892 0.020884 0.288839 v 0.012179 0.012704 0.302468 v -0.025181 -0.074903 0.302084 v 0.066456 -0.031428 0.304529 v -0.051777 0.011697 0.301827 v -0.024950 0.012062 0.302087 v 0.022505 0.029719 0.302860 v -0.026189 0.020784 0.288827 v -0.026499 0.020784 0.315314 v 0.011917 -0.075544 0.302458 v -0.028064 -0.092350 0.302050 v 0.017545 -0.084056 0.289086 v 0.016515 -0.084056 0.316219 v -0.059568 0.005379 0.310145 v -0.056392 -0.092897 0.301062 v -0.052065 -0.083711 0.288810 v -0.056076 0.020884 0.314084 v -0.051923 -0.074525 0.301803 v -0.056192 0.030071 0.301096 v -0.056250 -0.083711 0.314056 v 0.020487 -0.090440 0.312761 v 0.063381 -0.031427 0.314757 v -0.027505 0.027325 0.311909 v 0.012801 -0.077672 0.312894 v 0.047258 -0.031423 0.314746 v -0.025416 0.014242 0.312098 v 0.045659 0.008311 0.317782 v 0.045454 -0.071160 0.317774 v 0.021243 -0.090440 0.292836 v 0.064165 -0.031427 0.294097 v -0.027274 0.027325 0.292208 v 0.013590 -0.077672 0.292120 v 0.048088 -0.031423 0.292885 v -0.025182 0.014242 0.292068 v 0.046724 0.008311 0.289737 v 0.046519 -0.071160 0.289730 v 0.036667 -0.064650 0.303398 v 0.036842 0.001806 0.303405 v 0.055541 0.014816 0.304115 v 0.055306 -0.077671 0.304106 v 0.020836 0.027592 0.312775 v 0.013075 0.014831 0.312907 v 0.021593 0.027592 0.292848 v 0.013864 0.014831 0.292128 v -0.013825 0.012410 0.302217 v -0.012363 0.029281 0.302234 v -0.012940 0.020845 0.289035 v -0.013249 0.020845 0.315417 v -0.027819 -0.090169 0.311904 v -0.025659 -0.077084 0.312093 v -0.027588 -0.090169 0.292206 v -0.025424 -0.077084 0.292066 v -0.014101 -0.075248 0.302214 v -0.012753 -0.092126 0.302230 v -0.013273 -0.083687 0.289033 v -0.013582 -0.083687 0.315410 v -0.071448 0.005379 0.310461 v -0.061336 -0.066085 0.311511 v -0.068925 0.005379 0.291744 v -0.058794 -0.069077 0.292649 v -0.057026 0.005379 0.291282 v -0.069760 -0.078087 0.292676 v -0.072283 -0.075117 0.311393 v -0.053904 0.013994 0.311239 v -0.050753 0.013994 0.292233 v -0.054077 0.027774 0.291756 v -0.057397 -0.090601 0.310585 v -0.054270 -0.090601 0.291725 v -0.050906 -0.076821 0.292207 v -0.057203 0.027774 0.310618 v -0.054057 -0.076821 0.311214 v 0.052815 0.013190 0.314264 v 0.052588 -0.076043 0.314255 v 0.038769 0.003433 0.314289 v 0.038587 -0.066277 0.314281 v 0.053365 -0.076043 0.293779 v 0.053592 0.013190 0.293788 v 0.039407 -0.066277 0.292692 v 0.039589 0.003433 0.292698 v -0.012660 0.027172 0.311989 v -0.013760 0.014519 0.312250 v -0.012432 0.027172 0.292476 v -0.013525 0.014519 0.292189 v -0.013036 -0.090016 0.311983 v -0.014050 -0.077358 0.312243 v -0.012808 -0.090016 0.292473 v -0.013815 -0.077358 0.292188 v -0.072012 0.005379 0.301095 v -0.066397 0.005379 0.313652 v -0.067232 -0.070104 0.314584 v -0.058239 -0.066078 0.302088 v -0.056471 0.005379 0.300721 v -0.063020 0.005379 0.288599 v -0.063855 -0.074079 0.289531 v -0.072847 -0.078105 0.302027 vn 0.0000 0.0000 -1.0000 vn -1.0000 0.0000 0.0000 vn 1.0000 0.0000 -0.0000 vn -0.5820 0.0000 -0.8132 vn -0.7869 0.0000 -0.6170 vn -0.9948 0.0000 -0.1017 vn 0.9948 0.0000 -0.1017 vn 0.7869 0.0000 -0.6170 vn 0.5820 0.0000 -0.8132 vn 0.0000 0.0000 1.0000 vn 0.6636 0.0000 0.7480 vn 0.8451 0.0000 0.5346 vn 0.9966 0.0000 0.0822 vn -0.9966 0.0000 0.0822 vn -0.8451 0.0000 0.5346 vn -0.6636 0.0000 0.7480 vn 0.0000 1.0000 0.0000 vn 0.0000 -1.0000 0.0000 vn 1.0000 -0.0004 -0.0004 vn -1.0000 0.0028 -0.0022 vn -1.0000 0.0004 0.0004 vn 1.0000 -0.0028 0.0022 vn 0.0000 0.9916 -0.1296 vn 0.0000 -0.1505 0.9886 vn 0.0000 -0.9996 -0.0294 vn 0.0000 0.1022 -0.9948 vn 0.0000 0.9948 -0.1018 vn 0.0000 -0.1556 0.9878 vn 0.0076 0.9889 -0.1487 vn 0.0020 -0.2255 0.9742 vn -0.0084 -0.9995 -0.0318 vn -0.0031 0.1022 -0.9948 vn 0.0000 0.9946 -0.1039 vn 0.0000 -0.1552 0.9879 vn 0.0000 -0.9916 -0.1296 vn 0.0000 0.1505 0.9886 vn 0.0000 0.9996 -0.0294 vn 0.0000 -0.1022 -0.9948 vn 0.0000 -0.9832 -0.1825 vn 0.0000 0.0746 0.9972 vn 0.0000 0.9986 0.0522 vn 0.0000 -0.0208 -0.9998 vn -0.0475 -0.9723 -0.2287 vn -0.0140 0.1454 0.9893 vn 0.0528 0.9974 0.0497 vn 0.0209 -0.0208 -0.9996 vn 0.0000 -0.9946 -0.1039 vn 0.0000 0.1552 0.9879 vn -0.4392 -0.8450 -0.3051 vn 0.4062 -0.8457 0.3461 vn 0.1517 -0.8071 0.5706 vn -0.1513 -0.8071 -0.5707 vn -0.0889 0.8153 0.5722 vn 0.0357 0.8092 0.5865 vn -0.0386 0.8088 -0.5868 vn 0.0817 0.8135 -0.5758 vn 0.0571 0.1514 0.9868 vn -0.1596 0.1552 0.9749 vn -0.1596 -0.1550 0.9749 vn 0.0571 -0.1514 0.9868 vn -0.0385 -0.8088 -0.5868 vn 0.0356 -0.8092 0.5865 vn -0.0890 -0.8152 0.5723 vn 0.0817 -0.8135 -0.5757 vn -0.9689 0.1543 0.1933 vn -0.9881 0.1538 -0.0087 vn -0.9881 -0.1538 -0.0087 vn -0.9690 -0.1540 0.1932 vn -0.1518 0.8071 -0.5705 vn 0.1522 0.8071 0.5704 vn 0.4086 0.8456 0.3435 vn -0.4376 0.8453 -0.3066 vn 0.9752 0.1824 0.1252 vn 0.9747 -0.1842 0.1269 vn 0.9835 -0.1743 -0.0490 vn 0.9836 0.1730 -0.0503 vn -0.5753 -0.8115 0.1023 vn -0.5820 -0.8131 -0.0092 vn 0.5838 -0.8117 0.0158 vn 0.5862 -0.8059 -0.0826 vn 0.5862 0.8059 -0.0829 vn 0.5838 0.8117 0.0158 vn -0.5820 0.8131 -0.0092 vn -0.5751 0.8116 0.1025 vn -0.8552 0.1721 -0.4888 vn -0.8554 -0.1704 -0.4891 vn -0.2530 -0.1502 -0.9557 vn -0.2534 0.1501 -0.9556 vn 0.7231 0.1727 0.6688 vn 0.2550 0.1502 0.9552 vn 0.2547 -0.1502 0.9553 vn 0.7223 -0.1735 0.6695 vn 0.5489 -0.8358 -0.0070 vn -0.5490 -0.8358 0.0082 vn -0.5550 -0.8318 -0.0020 vn 0.5552 -0.8317 0.0025 vn 0.5079 -0.8590 0.0643 vn -0.5130 -0.8570 -0.0500 vn -0.5311 -0.8472 0.0156 vn 0.5312 -0.8470 -0.0187 vn -0.9796 -0.1804 -0.0885 vn -0.9791 0.1824 -0.0895 vn -0.9844 0.1757 0.0122 vn -0.9846 -0.1745 0.0131 vn -0.5106 0.8580 -0.0560 vn 0.5105 0.8580 0.0577 vn 0.5322 0.8462 -0.0243 vn -0.5301 0.8478 0.0104 vn 0.5573 -0.8300 0.0209 vn -0.5576 -0.8296 -0.0269 vn -0.5619 -0.8272 -0.0029 vn 0.5602 -0.8282 -0.0114 vn 0.9858 0.1666 -0.0188 vn 0.9858 -0.1669 -0.0180 vn 0.9864 -0.1641 0.0035 vn 0.9864 0.1644 0.0033 vn -0.5489 0.8359 0.0048 vn 0.5490 0.8357 -0.0106 vn 0.5550 0.8318 0.0017 vn -0.5552 0.8317 -0.0027 vn -0.9860 -0.1667 0.0092 vn -0.9859 0.1669 0.0086 vn -0.9864 0.1641 -0.0046 vn -0.9864 -0.1644 -0.0044 vn -0.5628 0.8266 0.0006 vn 0.5630 0.8265 0.0007 vn 0.5632 0.8263 0.0030 vn -0.5634 0.8262 -0.0043 vn -0.9860 -0.1545 -0.0631 vn -0.9860 0.1545 -0.0631 vn -0.9744 0.1490 -0.1686 vn -0.9744 -0.1490 -0.1686 vn -0.9869 -0.1611 0.0025 vn -0.9869 0.1611 0.0025 vn -0.9869 0.1608 -0.0090 vn -0.9869 -0.1608 -0.0090 vn 0.5630 -0.8265 0.0007 vn -0.5628 -0.8266 0.0006 vn -0.5634 -0.8262 -0.0043 vn 0.5632 -0.8263 0.0030 vn 0.9870 0.1609 0.0028 vn 0.9870 -0.1609 0.0028 vn 0.9870 -0.1609 0.0037 vn 0.9870 0.1609 0.0037 vn 0.5550 -0.8064 0.2042 vn -0.5446 -0.8094 -0.2198 vn -0.1993 -0.8119 -0.5487 vn 0.1888 -0.8101 0.5550 vn 0.5786 -0.8151 0.0289 vn -0.5783 -0.8151 -0.0339 vn -0.5866 -0.8042 -0.0961 vn 0.5895 -0.8030 0.0870 vn 0.9871 0.1545 0.0430 vn 0.9871 -0.1545 0.0430 vn 0.9802 -0.1476 0.1318 vn 0.9802 0.1476 0.1318 vn -0.5783 0.8151 -0.0339 vn 0.5786 0.8151 0.0289 vn 0.5895 0.8030 0.0870 vn -0.5866 0.8042 -0.0961 vn 0.9369 0.1483 0.3166 vn 0.9369 -0.1483 0.3166 vn 0.3025 -0.1510 0.9411 vn 0.3025 0.1510 0.9411 vn -0.5446 0.8094 -0.2198 vn 0.5550 0.8064 0.2042 vn 0.1888 0.8101 0.5550 vn -0.1993 0.8119 -0.5487 vn -0.9103 -0.1521 -0.3849 vn -0.9103 0.1521 -0.3849 vn -0.3480 0.1532 -0.9249 vn -0.3480 -0.1532 -0.9249 vn 0.9829 -0.1473 -0.1110 vn 0.9878 -0.1521 0.0347 vn 0.9878 0.1521 0.0347 vn 0.9829 0.1470 -0.1112 vn -0.0684 -0.1509 -0.9862 vn 0.1294 -0.1530 -0.9797 vn 0.1294 0.1528 -0.9797 vn -0.0685 0.1509 -0.9862 vn 0.0666 0.8050 0.5896 vn 0.0075 0.8092 0.5875 vn -0.0078 0.8092 -0.5875 vn -0.0717 0.8055 -0.5882 vn 0.1045 -0.1488 0.9833 vn 0.0122 -0.1513 0.9884 vn 0.0122 0.1513 0.9884 vn 0.1045 0.1488 0.9833 vn -0.0717 -0.8055 -0.5882 vn -0.0078 -0.8092 -0.5875 vn 0.0075 -0.8092 0.5875 vn 0.0666 -0.8050 0.5896 vn -0.2537 0.1545 0.9549 vn -0.2537 -0.1545 0.9549 vn -0.7224 -0.1559 0.6737 vn -0.7224 0.1559 0.6737 vn 0.5073 0.8176 -0.2722 vn -0.5103 0.8174 0.2674 vn -0.5542 0.8222 0.1295 vn 0.5528 0.8224 -0.1342 vn 0.1553 0.8155 -0.5575 vn -0.1517 0.8153 0.5588 vn -0.4158 0.8182 0.3972 vn 0.4096 0.8186 -0.4027 vn 0.2685 -0.1547 -0.9508 vn 0.2685 0.1547 -0.9508 vn 0.6990 0.1565 -0.6977 vn 0.6990 -0.1565 -0.6977 vn -0.1517 -0.8153 0.5588 vn 0.1553 -0.8155 -0.5575 vn 0.4096 -0.8186 -0.4027 vn -0.4158 -0.8182 0.3972 vn 0.5576 0.8296 0.0269 vn 0.5614 0.8276 -0.0018 vn -0.5608 0.8279 0.0067 vn -0.5573 0.8300 -0.0210 vn 0.8678 -0.1559 -0.4717 vn 0.8678 0.1559 -0.4717 vn 0.9566 0.1587 -0.2445 vn 0.9564 -0.1588 -0.2452 vn -0.5103 -0.8174 0.2674 vn 0.5073 -0.8176 -0.2722 vn 0.5517 -0.8226 -0.1378 vn -0.5554 -0.8221 0.1257 vn -0.8787 0.1556 0.4514 vn -0.8787 -0.1556 0.4514 vn -0.9649 -0.1582 0.2097 vn -0.9647 0.1583 0.2105 vn 0.9858 -0.1628 0.0415 vn 0.9866 -0.1619 -0.0180 vn 0.9866 0.1621 -0.0161 vn 0.9857 0.1633 0.0427 vn -0.9856 -0.1633 -0.0431 vn -0.9858 0.1628 -0.0420 vn -0.9869 0.1614 -0.0015 vn -0.9869 -0.1616 -0.0033 vn 0.0476 -0.8294 0.5567 vn -0.2582 -0.7456 0.6143 vn -0.2098 -0.7674 -0.6059 vn -0.0463 -0.8293 -0.5568 vn -0.0463 0.8293 -0.5568 vn -0.2098 0.7674 -0.6059 vn -0.2582 0.7456 0.6143 vn 0.0476 0.8294 0.5567 vn 0.0855 0.1628 0.9830 vn -0.1856 0.1905 0.9640 vn -0.1856 -0.1905 0.9640 vn 0.0855 -0.1628 0.9830 vn -0.0803 -0.1627 -0.9834 vn -0.1031 -0.1952 -0.9753 vn -0.1031 0.1952 -0.9753 vn -0.0803 0.1627 -0.9834 vn -0.6652 -0.3313 0.6691 vn -0.6652 0.3313 0.6691 vn -0.6438 0.3456 -0.6827 vn -0.6438 -0.3456 -0.6827 vn -0.3928 -0.1635 -0.9050 vn -0.3052 -0.1621 -0.9384 vn -0.3052 0.1621 -0.9384 vn -0.3928 0.1635 -0.9050 vn 0.3821 0.1637 0.9095 vn 0.2980 0.1622 0.9407 vn 0.2980 -0.1622 0.9407 vn 0.3821 -0.1637 0.9095 vn -0.2199 0.8308 -0.5114 vn -0.1720 0.8284 -0.5331 vn 0.1702 0.8285 0.5335 vn 0.2172 0.8309 0.5123 vn 0.2172 -0.8309 0.5123 vn 0.1702 -0.8285 0.5335 vn -0.1720 -0.8284 -0.5331 vn -0.2199 -0.8308 -0.5114 vn -0.1246 0.1495 -0.9809 vn -0.0135 0.1512 -0.9884 vn -0.0135 -0.1512 -0.9884 vn -0.1246 -0.1495 -0.9809 vn 0.0000 -0.8261 -0.5635 vn -0.7797 0.6222 0.0704 vn -0.3334 0.6370 -0.6950 vn -0.3250 -0.6756 -0.6617 vn -0.8094 -0.5820 0.0783 vn 0.2641 0.6267 0.7331 vn 0.2690 -0.5871 0.7635 vn 0.7615 -0.6458 0.0555 vn 0.7931 0.6069 0.0511 vn 0.5257 0.3791 -0.7615 vn 0.6688 0.4455 -0.5952 vn 0.6295 -0.5392 -0.5595 vn 0.4960 -0.4862 -0.7194 vn 0.1185 -0.9757 -0.1842 vn 0.2661 -0.9560 -0.1232 vn -0.0397 -0.9486 0.3141 vn -0.1412 -0.9729 0.1831 vn -0.1324 0.9765 0.1701 vn -0.0334 0.9549 0.2951 vn 0.2813 0.9500 -0.1357 vn 0.1275 0.9721 -0.1969 vn -0.5443 -0.3778 0.7490 vn -0.3488 -0.4396 0.8277 vn -0.3285 0.5326 0.7801 vn -0.5150 0.4837 0.7076 vn -0.6513 -0.4314 0.6243 vn -0.5172 -0.3769 0.7684 vn -0.4885 0.4825 0.7270 vn -0.6150 0.5240 0.5892 vn -0.2653 0.9530 0.1464 vn -0.1138 0.9766 0.1825 vn 0.1408 0.9717 -0.1897 vn 0.0328 0.9532 -0.3006 vn 0.0265 -0.9590 -0.2821 vn 0.1322 -0.9754 -0.1765 vn -0.1230 -0.9729 0.1956 vn -0.2808 -0.9464 0.1596 vn 0.3350 0.4495 -0.8281 vn 0.5299 0.3781 -0.7591 vn 0.5011 -0.4853 -0.7165 vn 0.3144 -0.5441 -0.7779 vn 0.0000 0.8261 -0.5635 vn -0.0280 0.4841 0.8746 vn -0.0178 -0.4502 0.8927 vn -0.2075 -0.3557 0.9113 vn 0.1419 0.4159 0.8983 vn 0.3881 0.1034 0.9158 vn -0.4045 -0.0858 0.9105 vn -0.4043 0.0877 0.9104 vn 0.3879 -0.1055 0.9157 vn -0.0041 -0.4687 0.8833 vn -0.0031 0.4444 0.8958 vn 0.0128 -0.4269 -0.9042 vn -0.0322 0.4174 0.9081 vn -0.0001 0.4927 -0.8702 vn 0.2096 0.4159 -0.8849 vn -0.1378 -0.3557 -0.9244 vn 0.0051 -0.4392 -0.8984 vn 0.4564 0.1034 -0.8837 vn 0.4562 -0.1055 -0.8836 vn -0.3342 0.0877 -0.9384 vn -0.3343 -0.0858 -0.9386 vn 0.0165 -0.4687 -0.8832 vn -0.0006 0.4431 -0.8965 vn 0.0233 -0.9743 -0.2242 vn 0.0179 0.4444 -0.8957 vn -0.9524 -0.2305 0.1994 vn -0.9346 -0.2305 -0.2711 vn -0.9335 0.2352 -0.2708 vn -0.9513 0.2352 0.1993 vn 0.0104 0.9768 0.2137 vn 0.0154 0.9768 -0.2134 vn 0.0118 -0.9750 -0.2221 vn 0.0236 0.9743 -0.2242 vn -0.0166 -0.9778 0.2090 vn -0.0093 -0.9778 -0.2092 vn 0.4055 -0.8871 -0.2205 vn 0.3876 -0.8871 0.2506 vn 0.0083 0.9742 0.2254 vn 0.0120 0.4269 -0.9042 vn 0.0078 -0.9793 0.2023 vn 0.0118 -0.9792 -0.2025 vn -0.3868 -0.8903 -0.2402 vn -0.4039 -0.8903 0.2102 vn 0.0241 0.9774 0.2098 vn 0.0290 0.9774 -0.2092 vn 0.0066 0.9742 0.2255 vn 0.9316 -0.2279 0.2831 vn 0.9504 -0.2279 -0.2116 vn 0.9514 0.2233 -0.2118 vn 0.9327 0.2233 0.2833 vn 0.0063 -0.9742 0.2254 vn -0.0349 -0.4509 0.8919 vn 0.0291 -0.9775 -0.2090 vn 0.0242 -0.9775 0.2097 vn 0.3889 0.8864 0.2510 vn 0.4069 0.8864 -0.2208 vn -0.0091 0.9779 -0.2090 vn -0.0166 0.9778 0.2089 vn 0.0165 0.4689 -0.8831 vn 0.0178 -0.4445 -0.8956 vn -0.0018 -0.4431 -0.8965 vn -0.0338 0.4509 0.8919 vn -0.0031 -0.4445 0.8958 vn -0.0042 0.4689 0.8832 vn -0.4026 0.8910 0.2099 vn -0.3856 0.8910 -0.2398 vn 0.0119 0.9792 -0.2026 vn 0.0079 0.9793 0.2024 vn 0.0126 0.9750 -0.2221 vn 0.0075 -0.9742 0.2254 vn 0.0154 -0.9768 -0.2135 vn 0.0104 -0.9768 0.2138 vn 0.2091 -0.4167 -0.8847 vn -0.0004 -0.4923 -0.8704 vn 0.0049 0.4391 -0.8984 vn -0.1376 0.3566 -0.9241 vn 0.1414 -0.4166 0.8980 vn -0.2072 0.3566 0.9110 vn -0.0175 0.4501 0.8928 vn -0.0278 -0.4837 0.8748 vn -0.9982 0.0108 0.0584 vn -0.5396 0.0158 0.8418 vn 0.9499 -0.0175 0.3122 vn 0.4720 -0.0211 -0.8813 vn 0.4494 -0.2824 -0.8476 vn -0.4075 0.2850 -0.8676 vn -0.5087 0.3173 0.8004 vn 0.3804 -0.3073 0.8723 vn 0.2608 0.3554 -0.8976 vn 0.7379 0.6547 -0.1642 vn 0.7860 0.5484 0.2854 vn 0.3504 0.2321 0.9074 vn -0.8025 0.5228 -0.2876 vn -0.8420 0.5375 0.0454 vn -0.6776 -0.7122 0.1835 vn -0.3234 -0.3283 0.8875 vn 0.7680 -0.5745 0.2831 vn 0.8083 -0.5866 -0.0509 vn -0.6354 -0.7246 -0.2669 vn -0.2914 -0.2901 -0.9116 vn -0.9496 0.0060 -0.3135 vn -0.4687 -0.0053 -0.8833 vn 0.9982 -0.0252 -0.0547 vn 0.4579 0.0058 0.8890 vn -0.0316 -0.4175 0.9081 usemtl DarkBrown s off f 44//1 9//1 18//1 52//1 f 86//2 46//2 23//2 84//2 f 94//3 56//3 31//3 92//3 f 93//2 90//2 10//2 41//2 f 85//3 82//3 4//3 47//3 f 63//4 6//4 8//4 72//4 f 72//5 8//5 7//5 68//5 f 68//6 7//6 5//6 73//6 f 64//7 14//7 16//7 74//7 f 74//8 16//8 15//8 69//8 f 69//9 15//9 13//9 67//9 f 53//10 60//10 39//10 26//10 f 65//11 75//11 28//11 27//11 f 75//12 76//12 30//12 28//12 f 76//13 77//13 32//13 30//13 f 66//14 78//14 36//14 35//14 f 78//15 79//15 38//15 36//15 f 79//16 80//16 40//16 38//16 f 20//17 37//17 33//17 19//17 f 10//17 31//17 29//17 12//17 f 81//18 83//18 35//18 14//18 f 11//17 25//17 26//17 9//17 f 16//18 36//18 38//18 15//18 f 7//18 30//18 32//18 5//18 f 90//17 92//17 31//17 10//17 f 9//17 26//17 39//17 18//17 f 6//18 27//18 28//18 8//18 f 18//17 39//17 37//17 20//17 f 19//17 33//17 34//17 17//17 f 82//17 84//17 23//17 4//17 f 15//18 38//18 40//18 13//18 f 48//10 45//10 22//10 2//10 f 12//17 29//17 25//17 11//17 f 61//10 62//10 24//10 3//10 f 14//18 35//18 36//18 16//18 f 8//18 28//18 30//18 7//18 f 89//18 91//18 21//18 1//18 f 13//18 40//18 27//18 6//18 f 34//14 33//14 58//14 57//14 f 4//10 23//10 46//10 47//10 f 71//10 70//10 45//10 48//10 f 37//16 39//16 60//16 59//16 f 29//13 31//13 56//13 55//13 f 33//15 37//15 59//15 58//15 f 25//12 29//12 55//12 54//12 f 26//11 25//11 54//11 53//11 f 20//9 51//9 52//9 18//9 f 19//8 50//8 51//8 20//8 f 17//7 49//7 50//7 19//7 f 12//6 42//6 41//6 10//6 f 11//5 43//5 42//5 12//5 f 9//4 44//4 43//4 11//4 f 88//3 85//3 47//3 61//3 f 96//2 93//2 41//2 73//2 f 87//2 62//2 46//2 86//2 f 63//1 44//1 52//1 67//1 f 6//1 63//1 67//1 13//1 f 83//2 24//2 62//2 87//2 f 91//3 32//3 77//3 95//3 f 89//2 96//2 73//2 5//2 f 81//3 88//3 61//3 3//3 f 27//10 40//10 80//10 65//10 f 1//10 21//10 70//10 71//10 f 47//10 46//10 62//10 61//10 f 51//9 69//9 67//9 52//9 f 50//8 74//8 69//8 51//8 f 49//7 64//7 74//7 50//7 f 42//6 68//6 73//6 41//6 f 43//5 72//5 68//5 42//5 f 44//4 63//4 72//4 43//4 f 14//3 64//3 88//3 81//3 f 35//2 83//2 87//2 66//2 f 64//3 49//3 85//3 88//3 f 17//17 34//17 84//17 82//17 f 3//18 24//18 83//18 81//18 f 49//3 17//3 82//3 85//3 f 57//2 86//2 84//2 34//2 f 1//2 71//2 96//2 89//2 f 21//3 91//3 95//3 70//3 f 70//3 95//3 94//3 45//3 f 71//2 48//2 93//2 96//2 f 5//18 32//18 91//18 89//18 f 2//17 22//17 92//17 90//17 f 48//2 2//2 90//2 93//2 f 45//3 94//3 92//3 22//3 usemtl Beige f 95//10 87//10 86//10 94//10 f 95//18 77//18 76//18 75//18 65//18 80//18 79//18 78//18 66//18 87//18 f 53//18 60//18 59//18 58//18 57//18 86//18 94//18 56//18 55//18 54//18 f 97//3 98//3 100//3 99//3 f 101//3 102//3 104//3 103//3 f 105//19 106//19 108//19 107//19 f 109//3 110//3 112//3 111//3 f 113//2 114//2 116//2 115//2 f 117//2 118//2 120//2 119//2 f 121//20 122//20 124//20 123//20 f 125//2 126//2 128//2 127//2 f 129//2 131//2 132//2 130//2 f 133//2 135//2 136//2 134//2 f 137//21 139//21 140//21 138//21 f 141//2 143//2 144//2 142//2 f 145//3 147//3 148//3 146//3 f 149//3 151//3 152//3 150//3 f 153//22 155//22 156//22 154//22 f 157//3 159//3 160//3 158//3 f 97//23 99//23 131//23 129//23 f 98//24 97//24 129//24 130//24 f 100//25 98//25 130//25 132//25 f 99//26 100//26 132//26 131//26 f 101//27 103//27 135//27 133//27 f 102//28 101//28 133//28 134//28 f 104//25 102//25 134//25 136//25 f 103//26 104//26 136//26 135//26 f 105//29 107//29 139//29 137//29 f 106//30 105//30 137//30 138//30 f 108//31 106//31 138//31 140//31 f 107//32 108//32 140//32 139//32 f 109//33 111//33 143//33 141//33 f 110//34 109//34 141//34 142//34 f 112//25 110//25 142//25 144//25 f 111//26 112//26 144//26 143//26 f 113//35 115//35 147//35 145//35 f 114//36 113//36 145//36 146//36 f 116//37 114//37 146//37 148//37 f 115//38 116//38 148//38 147//38 f 117//39 119//39 151//39 149//39 f 118//40 117//40 149//40 150//40 f 120//41 118//41 150//41 152//41 f 119//42 120//42 152//42 151//42 f 121//43 123//43 155//43 153//43 f 122//44 121//44 153//44 154//44 f 124//45 122//45 154//45 156//45 f 123//46 124//46 156//46 155//46 f 125//47 127//47 159//47 157//47 f 126//48 125//48 157//48 158//48 f 128//37 126//37 158//37 160//37 f 127//38 128//38 160//38 159//38 usemtl Brown f 167//49 241//49 370//49 239//49 f 167//50 239//50 373//50 243//50 f 167//51 243//51 374//51 247//51 f 167//52 247//52 376//52 241//52 f 168//53 263//53 389//53 242//53 f 168//54 242//54 375//54 246//54 f 168//55 246//55 377//55 260//55 f 168//56 260//56 386//56 263//56 f 169//57 245//57 375//57 242//57 f 169//58 242//58 389//58 264//58 f 169//59 264//59 388//59 261//59 f 169//60 261//60 374//60 245//60 f 170//61 240//61 376//61 247//61 f 170//62 247//62 374//62 261//62 f 170//63 261//63 388//63 262//63 f 170//64 262//64 387//64 240//64 f 171//65 264//65 389//65 295//65 f 171//66 295//66 404//66 291//66 f 171//67 291//67 405//67 296//67 f 171//68 296//68 388//68 264//68 f 172//69 236//69 377//69 246//69 f 172//70 246//70 375//70 234//70 f 172//71 234//71 372//71 238//71 f 172//72 238//72 371//72 236//72 f 173//73 271//73 372//73 237//73 f 173//74 237//74 373//74 270//74 f 173//75 270//75 392//75 267//75 f 173//76 267//76 393//76 271//76 f 174//77 262//77 388//77 296//77 f 174//78 296//78 405//78 292//78 f 174//79 292//79 403//79 297//79 f 174//80 297//80 387//80 262//80 f 175//81 263//81 386//81 294//81 f 175//82 294//82 402//82 293//82 f 175//83 293//83 404//83 295//83 f 175//84 295//84 389//84 263//84 f 176//85 236//85 371//85 235//85 f 176//86 235//86 370//86 241//86 f 176//87 241//87 376//87 244//87 f 176//88 244//88 377//88 236//88 f 177//89 237//89 372//89 234//89 f 177//90 234//90 375//90 245//90 f 177//91 245//91 374//91 243//91 f 177//92 243//92 373//92 237//92 f 184//93 279//93 392//93 269//93 f 184//94 269//94 390//94 278//94 f 184//95 278//95 394//95 277//95 f 184//96 277//96 396//96 279//96 f 185//97 270//97 373//97 239//97 f 185//98 239//98 370//98 272//98 f 185//99 272//99 390//99 269//99 f 185//100 269//100 392//100 270//100 f 186//101 272//101 370//101 235//101 f 186//102 235//102 371//102 273//102 f 186//103 273//103 391//103 266//103 f 186//104 266//104 390//104 272//104 f 187//105 273//105 371//105 238//105 f 187//106 238//106 372//106 271//106 f 187//107 271//107 393//107 268//107 f 187//108 268//108 391//108 273//108 f 188//109 348//109 396//109 277//109 f 188//110 277//110 394//110 349//110 f 188//111 349//111 427//111 340//111 f 188//112 340//112 429//112 348//112 f 189//113 280//113 393//113 267//113 f 189//114 267//114 392//114 279//114 f 189//115 279//115 396//115 275//115 f 189//116 275//116 397//116 280//116 f 190//117 281//117 391//117 268//117 f 190//118 268//118 393//118 280//118 f 190//119 280//119 397//119 276//119 f 190//120 276//120 395//120 281//120 f 191//121 278//121 390//121 266//121 f 191//122 266//122 391//122 281//122 f 191//123 281//123 395//123 274//123 f 191//124 274//124 394//124 278//124 f 196//125 303//125 404//125 293//125 f 196//126 293//126 402//126 302//126 f 196//127 302//127 406//127 301//127 f 196//128 301//128 408//128 303//128 f 197//129 311//129 409//129 299//129 f 197//130 299//130 408//130 310//130 f 197//131 310//131 412//131 307//131 f 197//132 307//132 413//132 311//132 f 198//133 304//133 405//133 291//133 f 198//134 291//134 404//134 303//134 f 198//135 303//135 408//135 299//135 f 198//136 299//136 409//136 304//136 f 199//137 305//137 403//137 292//137 f 199//138 292//138 405//138 304//138 f 199//139 304//139 409//139 300//139 f 199//140 300//140 407//140 305//140 f 200//141 302//141 402//141 290//141 f 200//142 290//142 403//142 305//142 f 200//143 305//143 407//143 298//143 f 200//144 298//144 406//144 302//144 f 201//145 319//145 411//145 308//145 f 201//146 308//146 413//146 318//146 f 201//147 318//147 417//147 316//147 f 201//148 316//148 415//148 319//148 f 202//149 312//149 407//149 300//149 f 202//150 300//150 409//150 311//150 f 202//151 311//151 413//151 308//151 f 202//152 308//152 411//152 312//152 f 203//153 313//153 406//153 298//153 f 203//154 298//154 407//154 312//154 f 203//155 312//155 411//155 306//155 f 203//156 306//156 410//156 313//156 f 204//157 310//157 408//157 301//157 f 204//158 301//158 406//158 313//158 f 204//159 313//159 410//159 309//159 f 204//160 309//160 412//160 310//160 f 205//161 320//161 410//161 306//161 f 205//162 306//162 411//162 319//162 f 205//163 319//163 415//163 314//163 f 205//164 314//164 414//164 320//164 f 206//165 321//165 412//165 309//165 f 206//166 309//166 410//166 320//166 f 206//167 320//167 414//167 317//167 f 206//168 317//168 416//168 321//168 f 207//169 318//169 413//169 307//169 f 207//170 307//170 412//170 321//170 f 207//171 321//171 416//171 315//171 f 207//172 315//172 417//172 318//172 f 208//173 265//173 387//173 297//173 f 208//174 297//174 403//174 290//174 f 208//175 290//175 402//175 294//175 f 208//176 294//176 386//176 265//176 f 209//177 244//177 376//177 240//177 f 209//178 240//178 387//178 265//178 f 209//179 265//179 386//179 260//179 f 209//180 260//180 377//180 244//180 f 210//181 317//181 414//181 328//181 f 210//182 328//182 418//182 325//182 f 210//183 325//183 420//183 329//183 f 210//184 329//184 416//184 317//184 f 211//185 314//185 415//185 327//185 f 211//186 327//186 419//186 322//186 f 211//187 322//187 418//187 328//187 f 211//188 328//188 414//188 314//188 f 212//189 316//189 417//189 326//189 f 212//190 326//190 421//190 324//190 f 212//191 324//191 419//191 327//191 f 212//192 327//192 415//192 316//192 f 213//193 335//193 418//193 322//193 f 213//194 322//194 419//194 334//194 f 213//195 334//195 423//195 330//195 f 213//196 330//196 422//196 335//196 f 214//197 343//197 424//197 333//197 f 214//198 333//198 422//198 342//198 f 214//199 342//199 426//199 341//199 f 214//200 341//200 428//200 343//200 f 215//201 336//201 420//201 325//201 f 215//202 325//202 418//202 335//202 f 215//203 335//203 422//203 333//203 f 215//204 333//204 424//204 336//204 f 216//205 337//205 421//205 323//205 f 216//206 323//206 420//206 336//206 f 216//207 336//207 424//207 331//207 f 216//208 331//208 425//208 337//208 f 217//209 334//209 419//209 324//209 f 217//210 324//210 421//210 337//210 f 217//211 337//211 425//211 332//211 f 217//212 332//212 423//212 334//212 f 218//213 276//213 397//213 347//213 f 218//214 347//214 428//214 341//214 f 218//215 341//215 426//215 346//215 f 218//216 346//216 395//216 276//216 f 219//217 344//217 425//217 331//217 f 219//218 331//218 424//218 343//218 f 219//219 343//219 428//219 339//219 f 219//220 339//220 429//220 344//220 f 220//221 345//221 423//221 332//221 f 220//222 332//222 425//222 344//222 f 220//223 344//223 429//223 340//223 f 220//224 340//224 427//224 345//224 f 221//225 342//225 422//225 330//225 f 221//226 330//226 423//226 345//226 f 221//227 345//227 427//227 338//227 f 221//228 338//228 426//228 342//228 f 222//229 275//229 396//229 348//229 f 222//230 348//230 429//230 339//230 f 222//231 339//231 428//231 347//231 f 222//232 347//232 397//232 275//232 f 223//233 349//233 394//233 274//233 f 223//234 274//234 395//234 346//234 f 223//235 346//235 426//235 338//235 f 223//236 338//236 427//236 349//236 f 224//237 369//237 441//237 357//237 f 224//238 357//238 436//238 358//238 f 224//239 358//239 435//239 362//239 f 224//240 362//240 438//240 369//240 f 225//241 368//241 440//241 356//241 f 225//242 356//242 434//242 359//242 f 225//243 359//243 437//243 363//243 f 225//244 363//244 439//244 368//244 f 226//245 367//245 439//245 363//245 f 226//246 363//246 437//246 360//246 f 226//247 360//247 436//247 357//247 f 226//248 357//248 441//248 367//248 f 227//249 366//249 438//249 362//249 f 227//250 362//250 435//250 361//250 f 227//251 361//251 434//251 356//251 f 227//252 356//252 440//252 366//252 f 228//253 358//253 436//253 360//253 f 228//254 360//254 437//254 359//254 f 228//255 359//255 434//255 361//255 f 228//256 361//256 435//256 358//256 f 229//257 350//257 430//257 354//257 f 229//258 354//258 438//258 366//258 f 229//259 366//259 440//259 364//259 f 229//260 364//260 431//260 350//260 f 230//261 351//261 432//261 355//261 f 230//262 355//262 439//262 367//262 f 230//263 367//263 441//263 365//263 f 230//264 365//264 433//264 351//264 f 231//265 353//265 431//265 364//265 f 231//266 364//266 440//266 368//266 f 231//267 368//267 439//267 355//267 f 231//268 355//268 432//268 353//268 f 232//269 352//269 433//269 365//269 f 232//270 365//270 441//270 369//270 f 232//271 369//271 438//271 354//271 f 232//272 354//272 430//272 352//272 f 233//273 315//273 416//273 329//273 f 233//274 329//274 420//274 323//274 f 233//275 323//275 421//275 326//275 f 233//276 326//276 417//276 315//276 usemtl Gold f 162//2 161//2 163//2 f 165//3 166//3 164//3 f 163//277 166//277 165//277 162//277 f 161//17 164//17 166//17 163//17 f 162//10 165//10 164//10 161//10 f 178//278 249//278 381//278 251//278 f 178//279 251//279 379//279 250//279 f 178//280 250//280 378//280 248//280 f 178//281 248//281 380//281 249//281 f 179//282 255//282 384//282 253//282 f 179//283 253//283 383//283 252//283 f 179//284 252//284 382//284 254//284 f 179//285 254//285 385//285 255//285 f 180//286 289//286 399//286 283//286 f 180//287 283//287 385//287 254//287 f 180//288 254//288 382//288 256//288 f 180//289 256//289 398//289 289//289 f 181//290 288//290 398//290 256//290 f 181//291 256//291 382//291 252//291 f 181//292 252//292 383//292 258//292 f 181//293 258//293 400//293 288//293 f 182//294 287//294 401//294 285//294 f 182//295 285//295 384//295 255//295 f 182//296 255//296 385//296 283//296 f 182//297 283//297 399//297 287//297 f 183//298 286//298 400//298 258//298 f 183//299 258//299 383//299 253//299 f 183//300 253//300 384//300 285//300 f 183//301 285//301 401//301 286//301 f 192//302 249//302 380//302 284//302 f 192//303 284//303 400//303 286//303 f 192//304 286//304 401//304 259//304 f 192//305 259//305 381//305 249//305 f 193//306 251//306 381//306 259//306 f 193//307 259//307 401//307 287//307 f 193//308 287//308 399//308 257//308 f 193//309 257//309 379//309 251//309 f 194//310 248//310 378//310 282//310 f 194//311 282//311 398//311 288//311 f 194//312 288//312 400//312 284//312 f 194//313 284//313 380//313 248//313 f 195//314 250//314 379//314 257//314 f 195//315 257//315 399//315 289//315 f 195//316 289//316 398//316 282//316 f 195//317 282//317 378//317 250//317 f 443//2 444//2 442//2 f 446//3 445//3 447//3 f 444//318 443//318 446//318 447//318 f 442//18 444//18 447//18 445//18 f 443//10 442//10 445//10 446//10 f 449//3 450//3 448//3 f 452//2 451//2 453//2 f 450//277 449//277 452//277 453//277 f 448//17 450//17 453//17 451//17 f 449//10 448//10 451//10 452//10 f 455//3 454//3 456//3 f 458//2 459//2 457//2 f 456//318 459//318 458//318 455//318 f 454//18 457//18 459//18 456//18 f 455//10 458//10 457//10 454//10 f 460//319 509//319 548//319 516//319 f 460//320 516//320 549//320 510//320 f 460//321 510//321 542//321 495//321 f 460//322 495//322 540//322 509//322 f 461//323 490//323 540//323 495//323 f 461//324 495//324 542//324 493//324 f 461//325 493//325 543//325 496//325 f 461//326 496//326 541//326 490//326 f 462//327 517//327 552//327 524//327 f 462//328 524//328 553//328 518//328 f 484//329 465//329 519//329 536//329 f 488//330 462//330 518//330 539//330 f 463//331 515//331 550//331 511//331 f 463//332 511//332 545//332 503//332 f 463//333 503//333 547//333 512//333 f 463//334 512//334 551//334 515//334 f 464//335 503//335 545//335 498//335 f 464//336 498//336 544//336 504//336 f 464//337 504//337 546//337 501//337 f 464//338 501//338 547//338 503//338 f 465//339 523//339 554//339 519//339 f 484//340 537//340 520//340 465//340 f 483//341 536//341 519//341 479//341 f 465//342 520//342 555//342 523//342 f 466//343 493//343 542//343 506//343 f 466//344 506//344 547//344 501//344 f 466//345 501//345 546//345 505//345 f 466//346 505//346 543//346 493//346 f 467//347 491//347 548//347 514//347 f 467//348 514//348 550//348 499//348 f 474//349 473//349 533//349 502//349 f 487//350 467//350 499//350 534//350 f 468//351 489//351 552//351 522//351 f 468//352 522//352 554//352 497//352 f 468//353 497//353 544//353 508//353 f 468//354 508//354 541//354 489//354 f 487//355 538//355 491//355 467//355 f 476//356 469//356 534//356 499//356 f 470//357 510//357 549//357 513//357 f 470//358 513//358 551//358 512//358 f 470//359 512//359 547//359 506//359 f 470//360 506//360 542//360 510//360 f 471//361 518//361 553//361 521//361 f 471//362 521//362 555//362 520//362 f 486//363 539//363 518//363 471//363 f 472//364 490//364 541//364 508//364 f 472//365 508//365 544//365 498//365 f 472//366 498//366 545//366 507//366 f 472//367 507//367 540//367 490//367 f 474//368 494//368 532//368 473//368 f 488//369 535//369 517//369 462//369 f 474//370 502//370 551//370 513//370 f 474//371 513//371 549//371 494//371 f 475//372 509//372 540//372 507//372 f 475//373 507//373 545//373 511//373 f 475//374 511//374 550//374 514//374 f 475//375 514//375 548//375 509//375 f 476//376 499//376 550//376 515//376 f 476//377 515//377 551//377 502//377 f 476//378 502//378 533//378 469//378 f 485//379 477//379 491//379 538//379 f 477//380 494//380 549//380 516//380 f 477//381 516//381 548//381 491//381 f 478//382 492//382 543//382 505//382 f 478//383 505//383 546//383 500//383 f 478//384 500//384 555//384 521//384 f 478//385 521//385 553//385 492//385 f 486//386 471//386 520//386 537//386 f 483//387 479//387 517//387 535//387 f 479//388 519//388 554//388 522//388 f 479//389 522//389 552//389 517//389 f 480//390 504//390 544//390 497//390 f 480//391 497//391 554//391 523//391 f 480//392 523//392 555//392 500//392 f 480//393 500//393 546//393 504//393 f 481//394 489//394 541//394 496//394 f 481//395 496//395 543//395 492//395 f 481//396 492//396 553//396 524//396 f 481//397 524//397 552//397 489//397 f 563//398 531//398 525//398 556//398 f 531//399 558//399 557//399 525//399 f 526//400 559//400 560//400 482//400 f 528//401 562//401 561//401 529//401 f 469//402 533//402 529//402 561//402 f 534//403 469//403 561//403 527//403 f 485//404 538//404 525//404 557//404 f 532//405 485//405 557//405 482//405 f 537//406 484//406 562//406 528//406 f 486//407 537//407 528//407 559//407 f 539//408 486//408 559//408 526//408 f 488//409 539//409 526//409 558//409 f 487//410 534//410 527//410 556//410 f 538//411 487//411 556//411 525//411 f 483//412 535//412 531//412 563//412 f 535//413 488//413 558//413 531//413 f 473//414 532//414 482//414 560//414 f 533//415 473//415 560//415 529//415 f 536//416 483//416 563//416 530//416 f 484//417 536//417 530//417 562//417 f 530//418 563//418 556//418 527//418 f 562//419 530//419 527//419 561//419 f 559//420 528//420 529//420 560//420 f 558//421 526//421 482//421 557//421 f 485//422 532//422 494//422 477//422
7,505
https://github.com/CreatioStudio/CreatioBasic/blob/master/src/main/java/vip/creatio/basic/chat/LiteralMessage.java
Github Open Source
Open Source
Apache-2.0
null
CreatioBasic
CreatioStudio
Java
Code
35
95
package vip.creatio.basic.chat; public class LiteralMessage implements Message { private final String string; public LiteralMessage(String string) { this.string = string; } public String getString() { return this.string; } public String toString() { return this.string; } }
33,375
https://github.com/java-app-scans/onedev/blob/master/server-core/src/main/java/org/apache/shiro/web/servlet/ShiroHttpServletRequest.java
Github Open Source
Open Source
MIT
2,022
onedev
java-app-scans
Java
Code
895
2,406
/* * 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.shiro.web.servlet; import org.apache.shiro.SecurityUtils; import org.apache.shiro.session.Session; import org.apache.shiro.subject.Subject; import org.apache.shiro.subject.support.DisabledSessionException; import org.apache.shiro.web.util.WebUtils; import org.apache.wicket.request.cycle.RequestCycle; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequestWrapper; import javax.servlet.http.HttpSession; import java.security.Principal; /** * A {@code ShiroHttpServletRequest} wraps the Servlet container's original {@code ServletRequest} instance, but ensures * that all {@link HttpServletRequest} invocations that require Shiro's support ({@link #getRemoteUser getRemoteUser}, * {@link #getSession getSession}, etc) can be executed first by Shiro as necessary before allowing the underlying * Servlet container instance's method to be invoked. * * @since 0.2 */ public class ShiroHttpServletRequest extends HttpServletRequestWrapper { //TODO - complete JavaDoc //The following 7 constants support the Shiro's implementation of the Servlet Specification public static final String COOKIE_SESSION_ID_SOURCE = "cookie"; public static final String URL_SESSION_ID_SOURCE = "url"; public static final String REFERENCED_SESSION_ID = ShiroHttpServletRequest.class.getName() + "_REQUESTED_SESSION_ID"; public static final String REFERENCED_SESSION_ID_IS_VALID = ShiroHttpServletRequest.class.getName() + "_REQUESTED_SESSION_ID_VALID"; public static final String REFERENCED_SESSION_IS_NEW = ShiroHttpServletRequest.class.getName() + "_REFERENCED_SESSION_IS_NEW"; public static final String REFERENCED_SESSION_ID_SOURCE = ShiroHttpServletRequest.class.getName() + "REFERENCED_SESSION_ID_SOURCE"; public static final String IDENTITY_REMOVED_KEY = ShiroHttpServletRequest.class.getName() + "_IDENTITY_REMOVED_KEY"; public static final String SESSION_ID_URL_REWRITING_ENABLED = ShiroHttpServletRequest.class.getName() + "_SESSION_ID_URL_REWRITING_ENABLED"; protected ServletContext servletContext = null; protected HttpSession session = null; protected boolean httpSessions = true; public ShiroHttpServletRequest(HttpServletRequest wrapped, ServletContext servletContext, boolean httpSessions) { super(wrapped); this.servletContext = servletContext; this.httpSessions = httpSessions; } public boolean isHttpSessions() { return httpSessions; } public String getRemoteUser() { String remoteUser; Object scPrincipal = getSubjectPrincipal(); if (scPrincipal != null) { if (scPrincipal instanceof String) { return (String) scPrincipal; } else if (scPrincipal instanceof Principal) { remoteUser = ((Principal) scPrincipal).getName(); } else { remoteUser = scPrincipal.toString(); } } else { remoteUser = super.getRemoteUser(); } return remoteUser; } protected Subject getSubject() { return SecurityUtils.getSubject(); } protected Object getSubjectPrincipal() { Object userPrincipal = null; Subject subject = getSubject(); if (subject != null) { userPrincipal = subject.getPrincipal(); } return userPrincipal; } public boolean isUserInRole(String s) { Subject subject = getSubject(); boolean inRole = (subject != null && subject.hasRole(s)); if (!inRole) { inRole = super.isUserInRole(s); } return inRole; } public Principal getUserPrincipal() { Principal userPrincipal; Object scPrincipal = getSubjectPrincipal(); if (scPrincipal != null) { if (scPrincipal instanceof Principal) { userPrincipal = (Principal) scPrincipal; } else { userPrincipal = new ObjectPrincipal(scPrincipal); } } else { userPrincipal = super.getUserPrincipal(); } return userPrincipal; } public String getRequestedSessionId() { String requestedSessionId = null; if (isHttpSessions()) { requestedSessionId = super.getRequestedSessionId(); } else { Object sessionId = getAttribute(REFERENCED_SESSION_ID); if (sessionId != null) { requestedSessionId = sessionId.toString(); } } return requestedSessionId; } public HttpSession getSession(boolean create) { HttpSession httpSession; if (isHttpSessions()) { httpSession = super.getSession(false); if (httpSession == null && create) { //Shiro 1.2: assert that creation is enabled (SHIRO-266): if (RequestCycle.get() != null || WebUtils._isSessionCreationEnabled(this)) { httpSession = super.getSession(create); } else { throw newNoSessionCreationException(); } } } else { boolean existing = getSubject().getSession(false) != null; if (this.session == null || !existing) { Session shiroSession = getSubject().getSession(create); if (shiroSession != null) { this.session = new ShiroHttpSession(shiroSession, this, this.servletContext); if (!existing) { setAttribute(REFERENCED_SESSION_IS_NEW, Boolean.TRUE); } } else if (this.session != null) { this.session = null; } } httpSession = this.session; } return httpSession; } /** * Constructs and returns a {@link DisabledSessionException} with an appropriate message explaining why * session creation has been disabled. * * @return a new DisabledSessionException with appropriate no creation message * @since 1.2 */ private DisabledSessionException newNoSessionCreationException() { String msg = "Session creation has been disabled for the current request. This exception indicates " + "that there is either a programming error (using a session when it should never be " + "used) or that Shiro's configuration needs to be adjusted to allow Sessions to be created " + "for the current request. See the " + DisabledSessionException.class.getName() + " JavaDoc " + "for more."; return new DisabledSessionException(msg); } public HttpSession getSession() { return getSession(true); } public boolean isRequestedSessionIdValid() { if (isHttpSessions()) { return super.isRequestedSessionIdValid(); } else { Boolean value = (Boolean) getAttribute(REFERENCED_SESSION_ID_IS_VALID); return (value != null && value.equals(Boolean.TRUE)); } } public boolean isRequestedSessionIdFromCookie() { if (isHttpSessions()) { return super.isRequestedSessionIdFromCookie(); } else { String value = (String) getAttribute(REFERENCED_SESSION_ID_SOURCE); return value != null && value.equals(COOKIE_SESSION_ID_SOURCE); } } public boolean isRequestedSessionIdFromURL() { if (isHttpSessions()) { return super.isRequestedSessionIdFromURL(); } else { String value = (String) getAttribute(REFERENCED_SESSION_ID_SOURCE); return value != null && value.equals(URL_SESSION_ID_SOURCE); } } public boolean isRequestedSessionIdFromUrl() { return isRequestedSessionIdFromURL(); } private class ObjectPrincipal implements java.security.Principal { private Object object = null; public ObjectPrincipal(Object object) { this.object = object; } public Object getObject() { return object; } public String getName() { return getObject().toString(); } public int hashCode() { return object.hashCode(); } public boolean equals(Object o) { if (o instanceof ObjectPrincipal) { ObjectPrincipal op = (ObjectPrincipal) o; return getObject().equals(op.getObject()); } return false; } public String toString() { return object.toString(); } } }
29,796
https://github.com/Vinogradov7511339/GitHubClient/blob/master/GitHub Client/Presentation/Scenes/ExploreFlow/SearchResults/AllResults/ResultsAdapter.swift
Github Open Source
Open Source
MIT
2,021
GitHubClient
Vinogradov7511339
Swift
Code
323
935
// // ResultsAdapter.swift // GitHub Client // // Created by Alexander Vinogradov on 23.08.2021. // import UIKit protocol ResultsAdapter: UITableViewDataSource { func register(_ tableView: UITableView) func update(_ resultType: SearchResultType) } final class ResultsAdapterImpl: NSObject { private var resultType: SearchResultType = .empty private let cellManagers: [SearchType: TableCellManager] = [ .repositories: TableCellManager.create(cellType: SearchRepCell.self), .issues: TableCellManager.create(cellType: ResultIssueCell.self), .pullRequests: TableCellManager.create(cellType: ResultPullRequestCell.self), .people: TableCellManager.create(cellType: ResultUserCell.self) ] private let resultsCellManager = TableCellManager.create(cellType: ResultTotalCell.self) } // MARK: - ResultsAdapter extension ResultsAdapterImpl: ResultsAdapter { func register(_ tableView: UITableView) { cellManagers.values.forEach { $0.register(tableView: tableView) } resultsCellManager.register(tableView: tableView) } func update(_ resultType: SearchResultType) { self.resultType = resultType } } // MARK: - UITableViewDataSource extension ResultsAdapterImpl { func numberOfSections(in tableView: UITableView) -> Int { switch resultType { case .results(let resultModels): return resultModels.count case .empty: return 0 } } func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { guard let sectionType = SearchType(rawValue: section) else { assert(false, "no section type") return 0 } guard case .results(let resultModels) = resultType else { return 0 } let items = resultModels[sectionType]?.items if let items = items { return items.count + 1 // +1 because adding all results cell } else { return 0 } } func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { guard let sectionType = SearchType(rawValue: indexPath.section) else { assert(false, "no section type") return UITableViewCell() } guard case .results(let resultModels) = resultType else { return UITableViewCell() } guard let model = resultModels[sectionType] else { return UITableViewCell() } guard let cellManager = cellManagers[sectionType] else { assert(false, "no cell manager") return UITableViewCell() } if indexPath.row < model.items.count { let item = model.items[indexPath.row] let cell = cellManager.dequeueReusableCell(tableView: tableView, for: indexPath) cell.populate(viewModel: item) return cell } else { let model = ResultTotalViewModel(type: sectionType, totalCount: model.total) let cell = resultsCellManager.dequeueReusableCell(tableView: tableView, for: indexPath) cell.populate(viewModel: model) return cell } } func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? { guard let sectionType = SearchType(rawValue: section) else { assert(false, "no section type") return nil } return sectionType.title } }
31,228
https://github.com/paullewallencom/android-978-1-7832-8687-4/blob/master/_/AndroidConcurrency/src/main/java/com/packt/androidconcurrency/chapter5/example4/BroadcastReceivingPrimesActivity.java
Github Open Source
Open Source
Apache-2.0
null
android-978-1-7832-8687-4
paullewallencom
Java
Code
248
949
package com.packt.androidconcurrency.chapter5.example4; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.v4.content.LocalBroadcastManager; import android.view.View; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; import com.packt.androidconcurrency.R; public class BroadcastReceivingPrimesActivity extends Activity { private static final int RESULT_MSG = "result".hashCode(); private static PrimesHandler handler = new PrimesHandler(); private static BroadcastReceiver receiver; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.ch5_example3_layout); Button go = (Button)findViewById(R.id.go); go.setOnClickListener(new View.OnClickListener(){ @Override public void onClick(View v) { TextView input = (TextView)findViewById(R.id.prime_to_find); String value = input.getText().toString(); if (value.matches("[1-9]+[0-9]*")) { // if the value is a number, trigger the loader to // reload when appropriate. triggerIntentService(Integer.parseInt(value)); } else { Toast.makeText(BroadcastReceivingPrimesActivity.this, "not a number!", 5000).show(); } } }); } @Override protected void onResume() { super.onResume(); handler.attach((TextView)findViewById(R.id.result)); receiver = new NthPrimeReceiver(handler); IntentFilter filter = new IntentFilter( BroadcastingPrimesIntentService.PRIMES_BROADCAST); LocalBroadcastManager.getInstance(this). registerReceiver(receiver, filter); } @Override protected void onPause() { super.onPause(); LocalBroadcastManager.getInstance(this). unregisterReceiver(receiver); handler.detach(); } private void triggerIntentService(int primeToFind) { Intent intent = new Intent(this, BroadcastingPrimesIntentService.class); intent.putExtra(BroadcastingPrimesIntentService.PARAM, primeToFind); startService(intent); } private static class NthPrimeReceiver extends BroadcastReceiver { private Handler handler; public NthPrimeReceiver(Handler handler) { this.handler = handler; } @Override public void onReceive(Context context, Intent intent) { String result = intent.getStringExtra( BroadcastingPrimesIntentService.RESULT); intent.putExtra(BroadcastingPrimesIntentService.HANDLED, true); handler.sendMessage(Message.obtain(handler, RESULT_MSG, result)); } } private static class PrimesHandler extends Handler { private TextView view; @Override public void handleMessage(Message message) { if (message.what == RESULT_MSG) { if (view != null) view.setText(message.obj.toString()); } else { super.handleMessage(message); } } public void attach(TextView view) { this.view = view; } public void detach() { this.view = null; } } }
9,802
https://github.com/Scopetta197/chromium/blob/master/ui/views/view_constants.h
Github Open Source
Open Source
BSD-3-Clause
2,022
chromium
Scopetta197
C
Code
136
280
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_VIEWS_VIEW_CONSTANTS_H_ #define UI_VIEWS_VIEW_CONSTANTS_H_ #pragma once #include "ui/views/views_export.h" namespace views { // Size (width or height) within which the user can hold the mouse and the // view should scroll. VIEWS_EXPORT extern const int kAutoscrollSize; // Time in milliseconds to autoscroll by a row. This is used during drag and // drop. VIEWS_EXPORT extern const int kAutoscrollRowTimerMS; // Used to determine whether a drop is on an item or before/after it. If a drop // occurs kDropBetweenPixels from the top/bottom it is considered before/after // the item, otherwise it is on the item. VIEWS_EXPORT extern const int kDropBetweenPixels; } // namespace views #endif // UI_VIEWS_VIEW_CONSTANTS_H_
11,290
https://github.com/Jeloo/react-select-tree/blob/master/src/multistep-select/MultistepInput.js
Github Open Source
Open Source
MIT
2,018
react-select-tree
Jeloo
JavaScript
Code
95
326
import React, { Component } from "react"; /** * @property {Array.<object>} data The data containing strings to find * @property {String} selected Selected item / list option */ export class MultistepInput extends Component { onSelected(e) { return this.props.onSelected(e.target.value); } onTyping(e) { return this.props.onTyping(e.target.value); } renderOptions() { return this.props.data.map(item => { return ( <option key={item.id} value={item.id}> {item.name} </option> ); }); } render() { const props = this.props; if (!this.props.data.length) { return null; } return ( <div> <select defaultValue={props.selected} onChange={this.onSelected.bind(this)} > <option key={0} default={!props.selected} value={this.props.defaultValue || ""} /> {this.renderOptions()} </select> </div> ); } } export default MultistepInput;
50,708
https://github.com/minchuang/td-client-python/blob/master/tdclient/test/job_api_test.py
Github Open Source
Open Source
Apache-2.0
2,019
td-client-python
minchuang
Python
Code
806
3,658
#!/usr/bin/env python from __future__ import print_function from __future__ import unicode_literals import datetime import dateutil.tz import json try: from unittest import mock except ImportError: import mock import msgpack import pytest from tdclient import api from tdclient.test.test_helper import * def setup_function(function): unset_environ() def test_list_jobs_success(): td = api.API("APIKEY") body = b""" { "count":11,"from":0,"to":10,"jobs":[ {"status":"success","cpu_time":496570,"result_size":24,"duration":262,"job_id":"18882028","created_at":"2014-12-23 12:00:18 UTC","updated_at":"2014-12-23 12:04:42 UTC","start_at":"2014-12-23 12:00:19 UTC","end_at":"2014-12-23 12:04:41 UTC","query":"select count(1) from import_test","type":"hive","priority":0,"retry_limit":0,"result":"","url":"http://console.treasuredata.com/jobs/18882028","user_name":"owner","hive_result_schema":"[[\\"_c0\\", \\"bigint\\"]]","organization":null,"database":"jma_weather"}, {"status":"success","cpu_time":489540,"result_size":24,"duration":272,"job_id":"18880612","created_at":"2014-12-23 11:00:16 UTC","updated_at":"2014-12-23 11:04:48 UTC","start_at":"2014-12-23 11:00:16 UTC","end_at":"2014-12-23 11:04:48 UTC","query":"select count(1) from import_test","type":"hive","priority":0,"retry_limit":0,"result":"","url":"http://console.treasuredata.com/jobs/18880612","user_name":"owner","hive_result_schema":"[[\\"_c0\\", \\"bigint\\"]]","organization":null,"database":"jma_weather"}, {"status":"success","cpu_time":486630,"result_size":24,"duration":263,"job_id":"18879199","created_at":"2014-12-23 10:00:21 UTC","updated_at":"2014-12-23 10:04:44 UTC","start_at":"2014-12-23 10:00:21 UTC","end_at":"2014-12-23 10:04:44 UTC","query":"select count(1) from import_test","type":"hive","priority":0,"retry_limit":0,"result":"","url":"http://console.treasuredata.com/jobs/18879199","user_name":"owner","hive_result_schema":"[[\\"_c0\\", \\"bigint\\"]]","organization":null,"database":"jma_weather"} ] } """ td.get = mock.MagicMock(return_value=make_response(200, body)) jobs = td.list_jobs(0, 2) td.get.assert_called_with("/v3/job/list", {"from": "0", "to": "2"}) assert len(jobs) == 3 assert sorted([ job["job_id"] for job in jobs ]) == ["18879199", "18880612", "18882028"] assert sorted([ job["url"] for job in jobs ]) == [ "http://console.treasuredata.com/jobs/18879199", "http://console.treasuredata.com/jobs/18880612", "http://console.treasuredata.com/jobs/18882028", ] assert [ job["debug"] for job in jobs ] == [None, None, None] assert sorted([ job["hive_result_schema"] for job in jobs ]) == [ [["_c0", "bigint"]], [["_c0", "bigint"]], [["_c0", "bigint"]], ] def test_list_jobs_failure(): td = api.API("APIKEY") td.get = mock.MagicMock(return_value=make_response(500, b"error")) with pytest.raises(api.APIError) as error: td.list_jobs(0, 2) assert error.value.args == ("500: List jobs failed: error",) def test_show_job_success(): td = api.API("APIKEY") body = b""" { "cpu_time": null, "created_at": "2015-02-09 11:44:25 UTC", "database": "sample_datasets", "debug": { "cmdout": "started at 2015-02-09T11:44:27Z\\nexecuting query: SELECT COUNT(1) FROM nasdaq\\n", "stderr": null }, "duration": 1, "end_at": "2015-02-09 11:44:28 UTC", "hive_result_schema": "[[\\"cnt\\", \\"bigint\\"]]", "job_id": "12345", "organization": null, "priority": 1, "query": "SELECT COUNT(1) FROM nasdaq", "result": "", "result_size": 22, "retry_limit": 0, "start_at": "2015-02-09 11:44:27 UTC", "status": "success", "type": "presto", "updated_at": "2015-02-09 11:44:28 UTC", "url": "http://console.example.com/jobs/12345", "user_name": "nobody@example.com", "linked_result_export_job_id": null, "result_export_target_job_id": null, "num_records": 4 } """ td.get = mock.MagicMock(return_value=make_response(200, body)) job = td.show_job(12345) td.get.assert_called_with("/v3/job/show/12345") assert job["job_id"] == 12345 assert job["type"] == "presto" assert job["url"] == "http://console.example.com/jobs/12345" assert job["query"] == "SELECT COUNT(1) FROM nasdaq" assert job["status"] == "success" assert job["debug"] == { "cmdout": "started at 2015-02-09T11:44:27Z\nexecuting query: SELECT COUNT(1) FROM nasdaq\n", "stderr": None, } assert job["start_at"] == datetime.datetime(2015, 2, 9, 11, 44, 27, tzinfo=dateutil.tz.tzutc()) assert job["end_at"] == datetime.datetime(2015, 2, 9, 11, 44, 28, tzinfo=dateutil.tz.tzutc()) assert job["cpu_time"] is None assert job["result_size"] == 22 assert job["result"] is None assert job["result_url"] is None assert job["hive_result_schema"] == [["cnt", "bigint"]] assert job["priority"] == 1 assert job["retry_limit"] == 0 assert job["org_name"] is None assert job["database"] == "sample_datasets" def test_job_status_success(): td = api.API("APIKEY") # TODO: should be replaced by wire dump body = b""" { "status": "RUNNING" } """ td.get = mock.MagicMock(return_value=make_response(200, body)) jobs = td.job_status(12345) td.get.assert_called_with("/v3/job/status/12345") def test_job_result_success(): td = api.API("APIKEY") packer = msgpack.Packer() rows = [ ["foo", 123], ["bar", 456], ["baz", 789], ] body = b"" for row in rows: body += packer.pack(row) td.get = mock.MagicMock(return_value=make_response(200, body)) result = td.job_result(12345) td.get.assert_called_with("/v3/job/result/12345", {"format": "msgpack"}) assert result == rows def test_job_result_each_success(): td = api.API("APIKEY") packer = msgpack.Packer() rows = [ ["foo", 123], ["bar", 456], ["baz", 789], ] body = b"" for row in rows: body += packer.pack(row) td.get = mock.MagicMock(return_value=make_response(200, body)) result = [] for row in td.job_result_each(12345): result.append(row) td.get.assert_called_with("/v3/job/result/12345", {"format": "msgpack"}) assert result == rows def test_job_result_json_success(): td = api.API("APIKEY") rows = [ ["foo", 123], ["bar", 456], ["baz", 789], ] # result will be a JSON record per line (#4) body = "\n".join([ json.dumps(row) for row in rows ]).encode("utf-8") td.get = mock.MagicMock(return_value=make_response(200, body)) result = td.job_result_format(12345, "json") td.get.assert_called_with("/v3/job/result/12345", {"format": "json"}) assert result == rows def test_job_result_json_each_success(): td = api.API("APIKEY") rows = [ ["foo", 123], ["bar", 456], ["baz", 789], ] # result will be a JSON record per line (#4) body = "\n".join([ json.dumps(row) for row in rows ]).encode("utf-8") td.get = mock.MagicMock(return_value=make_response(200, body)) result = [] for row in td.job_result_format_each(12345, "json"): result.append(row) td.get.assert_called_with("/v3/job/result/12345", {"format": "json"}) assert result == rows def test_kill_success(): td = api.API("APIKEY") # TODO: should be replaced by wire dump body = b""" { "former_status": "foo" } """ td.post = mock.MagicMock(return_value=make_response(200, body)) jobs = td.kill(12345) td.post.assert_called_with("/v3/job/kill/12345") def test_hive_query_success(): td = api.API("APIKEY") body = b""" { "job": "12345", "database": "sample_datasets", "job_id": "12345" } """ td.post = mock.MagicMock(return_value=make_response(200, body)) job_id = td.hive_query("SELECT COUNT(1) FROM nasdaq", db="sample_datasets") td.post.assert_called_with("/v3/job/issue/hive/sample_datasets", {"query": "SELECT COUNT(1) FROM nasdaq"}) assert job_id == "12345" def test_pig_query_success(): td = api.API("APIKEY") body = b""" { "job": "12345", "database": "sample_datasets", "job_id": "12345" } """ td.post = mock.MagicMock(return_value=make_response(200, body)) job_id = td.pig_query("A=LOAD 'nasdaq';B=GROUP A ALL;C=FOREACH B GENERATE COUNT(A);", db="sample_datasets") td.post.assert_called_with("/v3/job/issue/pig/sample_datasets", {"query": "A=LOAD 'nasdaq';B=GROUP A ALL;C=FOREACH B GENERATE COUNT(A);"}) assert job_id == "12345" def test_presto_query_success(): td = api.API("APIKEY") body = b""" { "job": "12345", "database": "sample_datasets", "job_id": "12345" } """ td.post = mock.MagicMock(return_value=make_response(200, body)) job_id = td.query("SELECT COUNT(1) FROM nasdaq", db="sample_datasets", type="presto", priority=0) td.post.assert_called_with("/v3/job/issue/presto/sample_datasets", {"query": "SELECT COUNT(1) FROM nasdaq", "priority": 0}) assert job_id == "12345" def test_query_success(): td = api.API("APIKEY") body = b""" { "job": "12345", "database": "sample_datasets", "job_id": "12345" } """ td.post = mock.MagicMock(return_value=make_response(200, body)) job_id = td.query("SELECT COUNT(1) FROM nasdaq", db="sample_datasets", priority="HIGH") td.post.assert_called_with("/v3/job/issue/hive/sample_datasets", {"query": "SELECT COUNT(1) FROM nasdaq", "priority": 1}) assert job_id == "12345" def test_query_priority_unknown(): td = api.API("APIKEY") td.post = mock.MagicMock(return_value=make_response(200, b"")) with pytest.raises(ValueError) as error: td.query("SELECT COUNT(1) FROM nasdaq", db="sample_datasets", priority="unknown")
36,247
https://github.com/mclintprojects/present-sir/blob/master/PresentSir.Droid/Dialogs/CreateClassDialog.cs
Github Open Source
Open Source
MIT
2,018
present-sir
mclintprojects
C#
Code
158
667
using Alansa.Droid.Utils; using Alansa.Droid.Views; using Android.App; using Android.OS; using Android.Support.Design.Widget; using Android.Views; using Android.Widget; using PresentSir.Droid.Api; using PresentSir.Droid.Models; using System; using AlertDialog = Android.Support.V7.App.AlertDialog; using DialogFragment = Android.Support.V4.App.DialogFragment; namespace PresentSir.Droid.Dialogs { internal class CreateClassDialog : DialogFragment { private readonly int teacherId; public event EventHandler<Class> OnteacherCreateClass; public CreateClassDialog(int teacherId) { this.teacherId = teacherId; } public override Dialog OnCreateDialog(Bundle savedInstanceState) { var view = LayoutInflater.From(Activity).Inflate(Resource.Layout.dialog_create_course, null, false); var institutionSearchView = view.FindViewById<ResourceSearchView>(Resource.Id.institutionSearchView); var courseCodeTb = view.FindViewById<EditText>(Resource.Id.courseCodeTb); var createCourseBtn = view.FindViewById<Button>(Resource.Id.createCourseBtn); var loadingCircle = view.FindViewById<ProgressBar>(Resource.Id.loadingCircle); institutionSearchView.SetupSearch<Institution>(PresentSirApi.Instance.GetInstitutions, null, Resource.Drawable.ic_teacher_at_the_blackboard); createCourseBtn.Click += async delegate { loadingCircle.Visibility = ViewStates.Visible; using (var validator = new Validator()) { validator.ValidateIsNotEmpty(institutionSearchView, true); validator.ValidateIsNotEmpty(courseCodeTb, true); if (validator.PassedValidation) { var newClass = new Class { CourseCode = courseCodeTb.Text.Trim(), InstitutionId = institutionSearchView.SelectedItemId.Value, TeacherId = teacherId }; var response = await PresentSirApi.Instance.CreateClass(newClass); if (response.Data != null) { OnteacherCreateClass?.Invoke(this, response.Data); Dismiss(); } else Snackbar.Make(createCourseBtn, "Something went wrong. Please retry.", Snackbar.LengthLong).Show(); }; } }; return new AlertDialog.Builder(Activity). SetTitle("Create a class") .SetView(view) .Create(); } } }
9,448
https://github.com/jolestar/libra/blob/master/language/e2e-tests/src/account.rs
Github Open Source
Open Source
Apache-2.0
2,020
libra
jolestar
Rust
Code
2,742
9,629
// Copyright (c) The Libra Core Contributors // SPDX-License-Identifier: Apache-2.0 //! Test infrastructure for modeling Libra accounts. use crate::{gas_costs, keygen::KeyGen}; use anyhow::{Error, Result}; use libra_crypto::ed25519::*; use libra_types::{ access_path::AccessPath, account_address::AccountAddress, account_config::{ self, from_currency_code_string, type_tag_for_currency_code, AccountResource, BalanceResource, ReceivedPaymentEvent, SentPaymentEvent, COIN1_NAME, COIN2_NAME, LBR_NAME, }, event::EventHandle, transaction::{ authenticator::AuthenticationKey, RawTransaction, Script, SignedTransaction, TransactionArgument, TransactionPayload, }, write_set::{WriteOp, WriteSet, WriteSetMut}, }; use move_core_types::{ identifier::{IdentStr, Identifier}, language_storage::{ResourceKey, StructTag, TypeTag}, move_resource::MoveResource, }; use move_vm_types::{ loaded_data::types::{FatStructType, FatType}, values::{Struct, Value}, }; use std::{collections::BTreeMap, str::FromStr, time::Duration}; use vm_genesis::GENESIS_KEYPAIR; // TTL is 86400s. Initial time was set to 0. pub const DEFAULT_EXPIRATION_TIME: u64 = 40_000; pub fn lbr_currency_code() -> Identifier { from_currency_code_string(LBR_NAME).unwrap() } pub fn coin1_currency_code() -> Identifier { from_currency_code_string(COIN1_NAME).unwrap() } pub fn coin2_currency_code() -> Identifier { from_currency_code_string(COIN2_NAME).unwrap() } /// Details about a Libra account. /// /// Tests will typically create a set of `Account` instances to run transactions on. This type /// encodes the logic to operate on and verify operations on any Libra account. #[derive(Debug, Clone, Eq, PartialEq)] pub struct Account { addr: AccountAddress, /// The current private key for this account. pub privkey: Ed25519PrivateKey, /// The current public key for this account. pub pubkey: Ed25519PublicKey, } impl Account { /// Creates a new account in memory. /// /// The account returned by this constructor is a purely logical entity, meaning that it does /// not automatically get added to the Libra store. To add an account to the store, use /// [`AccountData`] instances with /// [`FakeExecutor::add_account_data`][crate::executor::FakeExecutor::add_account_data]. /// This function returns distinct values upon every call. pub fn new() -> Self { let (privkey, pubkey) = KeyGen::from_os_rng().generate_keypair(); Self::with_keypair(privkey, pubkey) } /// Creates a new account with the given keypair. /// /// Like with [`Account::new`], the account returned by this constructor is a purely logical /// entity. pub fn with_keypair(privkey: Ed25519PrivateKey, pubkey: Ed25519PublicKey) -> Self { let addr = libra_types::account_address::from_public_key(&pubkey); Account { addr, privkey, pubkey, } } /// Creates a new account in memory representing an account created in the genesis transaction. /// /// The address will be [`address`], which should be an address for a genesis account and /// the account will use [`GENESIS_KEYPAIR`][struct@GENESIS_KEYPAIR] as its keypair. pub fn new_genesis_account(address: AccountAddress) -> Self { Account { addr: address, pubkey: GENESIS_KEYPAIR.1.clone(), privkey: GENESIS_KEYPAIR.0.clone(), } } /// Creates a new account representing the association in memory. /// /// The address will be [`association_address`][account_config::association_address], and /// the account will use [`GENESIS_KEYPAIR`][struct@GENESIS_KEYPAIR] as its keypair. pub fn new_association() -> Self { Self::new_genesis_account(account_config::association_address()) } /// Creates a new account representing treasury compliance in memory. /// The account will use [`GENESIS_KEYPAIR`][struct@GENESIS_KEYPAIR] as its keypair. pub fn new_blessed_tc() -> Self { Self::new_genesis_account(account_config::treasury_compliance_account_address()) } /// Returns the address of the account. This is a hash of the public key the account was created /// with. /// /// The address does not change if the account's [keys are rotated][Account::rotate_key]. pub fn address(&self) -> &AccountAddress { &self.addr } /// Returns the AccessPath that describes the Account resource instance. /// /// Use this to retrieve or publish the Account blob. pub fn make_account_access_path(&self) -> AccessPath { self.make_access_path(AccountResource::struct_tag()) } /// Returns the AccessPath that describes the EventHandleGenerator resource instance. /// /// Use this to retrieve or publish the EventHandleGenerator blob. pub fn make_event_generator_access_path(&self) -> AccessPath { self.make_access_path(account_config::event_handle_generator_struct_tag()) } /// Returns the AccessPath that describes the Account balance resource instance. /// /// Use this to retrieve or publish the Account balance blob. pub fn make_balance_access_path(&self, balance_currency_code: Identifier) -> AccessPath { let type_tag = type_tag_for_currency_code(balance_currency_code); // TODO/XXX: Convert this to BalanceResource::struct_tag once that takes type args self.make_access_path(BalanceResource::struct_tag_for_currency(type_tag)) } /// Returns the AccessPath that describes the Account type resource instance. /// /// Use this to retrieve or publish the Account AccountType blob. pub fn make_account_type_access_path( &self, account_specifier: AccountTypeSpecifier, ) -> AccessPath { let struct_tag = match account_specifier { AccountTypeSpecifier::Empty => account_config::empty_account_type_struct_tag(), AccountTypeSpecifier::Vasp => account_config::vasp_account_type_struct_tag(), AccountTypeSpecifier::Unhosted => account_config::unhosted_account_type_struct_tag(), }; self.make_access_path(struct_tag) } // TODO: plug in the account type fn make_access_path(&self, tag: StructTag) -> AccessPath { // TODO: we need a way to get the type (FatStructType) of the Account in place let resource_tag = ResourceKey::new(self.addr, tag); AccessPath::resource_access_path(&resource_tag) } /// Changes the keys for this account to the provided ones. pub fn rotate_key(&mut self, privkey: Ed25519PrivateKey, pubkey: Ed25519PublicKey) { self.privkey = privkey; self.pubkey = pubkey; } /// Computes the authentication key for this account, as stored on the chain. /// /// This is the same as the account's address if the keys have never been rotated. pub fn auth_key(&self) -> Vec<u8> { AuthenticationKey::ed25519(&self.pubkey).to_vec() } /// Return the first 16 bytes of the account's auth key pub fn auth_key_prefix(&self) -> Vec<u8> { AuthenticationKey::ed25519(&self.pubkey).prefix().to_vec() } // // Helpers to read data from an Account resource // // // Helpers for transaction creation with Account instance as sender // /// Returns a [`SignedTransaction`] with a payload and this account as the sender. /// /// This is the most generic way to create a transaction for testing. /// Max gas amount and gas unit price are ignored for WriteSet transactions. pub fn create_user_txn( &self, payload: TransactionPayload, sequence_number: u64, max_gas_amount: u64, gas_unit_price: u64, gas_currency_code: String, ) -> SignedTransaction { Self::create_raw_user_txn( *self.address(), payload, sequence_number, max_gas_amount, gas_unit_price, gas_currency_code, ) .sign(&self.privkey, self.pubkey.clone()) .unwrap() .into_inner() } pub fn create_raw_user_txn( address: AccountAddress, payload: TransactionPayload, sequence_number: u64, max_gas_amount: u64, gas_unit_price: u64, gas_currency_code: String, ) -> RawTransaction { match payload { TransactionPayload::Program => RawTransaction::new( address, sequence_number, TransactionPayload::Program, max_gas_amount, gas_unit_price, gas_currency_code, Duration::from_secs(DEFAULT_EXPIRATION_TIME), ), TransactionPayload::WriteSet(writeset) => { RawTransaction::new_change_set(address, sequence_number, writeset) } TransactionPayload::Module(module) => RawTransaction::new_module( address, sequence_number, module, max_gas_amount, gas_unit_price, gas_currency_code, Duration::from_secs(DEFAULT_EXPIRATION_TIME), ), TransactionPayload::Script(script) => RawTransaction::new_script( address, sequence_number, script, max_gas_amount, gas_unit_price, gas_currency_code, Duration::from_secs(DEFAULT_EXPIRATION_TIME), ), } } /// Returns a [`SignedTransaction`] with the arguments defined in `args` and this account as /// the sender. pub fn create_signed_txn_with_args( &self, program: Vec<u8>, ty_args: Vec<TypeTag>, args: Vec<TransactionArgument>, sequence_number: u64, max_gas_amount: u64, gas_unit_price: u64, gas_currency_code: String, ) -> SignedTransaction { self.create_signed_txn_impl( *self.address(), TransactionPayload::Script(Script::new(program, ty_args, args)), sequence_number, max_gas_amount, gas_unit_price, gas_currency_code, ) } pub fn create_raw_txn_with_args( address: AccountAddress, program: Vec<u8>, ty_args: Vec<TypeTag>, args: Vec<TransactionArgument>, sequence_number: u64, max_gas_amount: u64, gas_unit_price: u64, gas_currency_code: String, ) -> RawTransaction { Self::create_raw_txn_impl( address, TransactionPayload::Script(Script::new(program, ty_args, args)), sequence_number, max_gas_amount, gas_unit_price, gas_currency_code, ) } /// Returns a [`SignedTransaction`] with the arguments defined in `args` and a custom sender. /// /// The transaction is signed with the key corresponding to this account, not the custom sender. pub fn create_signed_txn_with_args_and_sender( &self, sender: AccountAddress, program: Vec<u8>, ty_args: Vec<TypeTag>, args: Vec<TransactionArgument>, sequence_number: u64, max_gas_amount: u64, gas_unit_price: u64, gas_currency_code: String, ) -> SignedTransaction { self.create_signed_txn_impl( sender, TransactionPayload::Script(Script::new(program, ty_args, args)), sequence_number, max_gas_amount, gas_unit_price, gas_currency_code, ) } pub fn create_raw_txn_with_args_and_sender( sender: AccountAddress, program: Vec<u8>, ty_args: Vec<TypeTag>, args: Vec<TransactionArgument>, sequence_number: u64, max_gas_amount: u64, gas_unit_price: u64, gas_currency_code: String, ) -> RawTransaction { Self::create_raw_txn_impl( sender, TransactionPayload::Script(Script::new(program, ty_args, args)), sequence_number, max_gas_amount, gas_unit_price, gas_currency_code, ) } /// Returns a [`SignedTransaction`] with the arguments defined in `args` and a custom sender. /// /// The transaction is signed with the key corresponding to this account, not the custom sender. pub fn create_signed_txn_impl( &self, sender: AccountAddress, program: TransactionPayload, sequence_number: u64, max_gas_amount: u64, gas_unit_price: u64, gas_currency_code: String, ) -> SignedTransaction { Self::create_raw_txn_impl( sender, program, sequence_number, max_gas_amount, gas_unit_price, gas_currency_code, ) .sign(&self.privkey, self.pubkey.clone()) .unwrap() .into_inner() } /// Create a transaction containing `script` signed by `sender` with default values for gas /// cost, gas price, expiration time, and currency type. pub fn signed_script_txn(&self, script: Script, sequence_number: u64) -> SignedTransaction { self.create_signed_txn_impl( *self.address(), TransactionPayload::Script(script), sequence_number, gas_costs::TXN_RESERVED, 0, // gas price LBR_NAME.to_owned(), ) } pub fn create_raw_txn_impl( sender: AccountAddress, program: TransactionPayload, sequence_number: u64, max_gas_amount: u64, gas_unit_price: u64, gas_currency_code: String, ) -> RawTransaction { RawTransaction::new( sender, sequence_number, program, max_gas_amount, gas_unit_price, gas_currency_code, // TTL is 86400s. Initial time was set to 0. Duration::from_secs(DEFAULT_EXPIRATION_TIME), ) } } impl Default for Account { fn default() -> Self { Self::new() } } //--------------------------------------------------------------------------- // Balance resource represenation //--------------------------------------------------------------------------- /// Struct that represents an account balance resource for tests. #[derive(Clone, Debug, Eq, PartialEq)] pub struct Balance { coin: u64, } impl Balance { /// Create a new balance with amount `balance` pub fn new(coin: u64) -> Self { Self { coin } } /// Retrieve the balance inside of this pub fn coin(&self) -> u64 { self.coin } /// Returns the Move Value for the account balance pub fn to_value(&self) -> Value { Value::struct_(Struct::pack(vec![Value::u64(self.coin)], true)) } /// Returns the value layout for the account balance pub fn type_() -> FatStructType { FatStructType { address: account_config::CORE_CODE_ADDRESS, module: AccountResource::module_identifier(), name: BalanceResource::struct_identifier(), is_resource: true, ty_args: vec![], layout: vec![FatType::U64], } } } //--------------------------------------------------------------------------- // Account type represenation //--------------------------------------------------------------------------- #[derive(Clone, Copy, Debug, Eq, PartialEq)] pub enum AccountTypeSpecifier { Empty, Vasp, Unhosted, } impl FromStr for AccountTypeSpecifier { type Err = Error; fn from_str(s: &str) -> Result<Self> { match s { "empty" => Ok(AccountTypeSpecifier::Empty), "unhosted" => Ok(AccountTypeSpecifier::Unhosted), "vasp" => Ok(AccountTypeSpecifier::Vasp), other => Err(Error::msg(format!( "Unrecognized account type specifier {} found.", other ))), } } } impl Default for AccountTypeSpecifier { fn default() -> Self { AccountTypeSpecifier::Vasp } } //--------------------------------------------------------------------------- // Account type resource represenation //--------------------------------------------------------------------------- /// Struct that represents an account type for testing. #[derive(Clone, Debug, Eq, PartialEq)] pub struct AccountType { self_address: AccountAddress, account_specifier: AccountTypeSpecifier, } impl AccountType { /// Create a new AccountType testing account. pub fn new(self_address: AccountAddress, account_specifier: AccountTypeSpecifier) -> Self { Self { self_address, account_specifier, } } pub fn account_specifier(&self) -> AccountTypeSpecifier { self.account_specifier } fn empty_account_type() -> FatStructType { FatStructType { address: account_config::CORE_CODE_ADDRESS, module: account_config::empty_account_type_module_name().to_owned(), name: account_config::empty_account_type_struct_name().to_owned(), is_resource: false, ty_args: vec![], layout: vec![FatType::Bool], } } fn unhosted_type() -> FatStructType { let inner_account_limits = FatStructType { address: account_config::CORE_CODE_ADDRESS, module: account_config::account_limits_module_name().to_owned(), name: account_config::account_limits_window_struct_name().to_owned(), is_resource: false, ty_args: vec![], layout: vec![FatType::U64, FatType::U64, FatType::U64, FatType::U64], }; FatStructType { address: account_config::CORE_CODE_ADDRESS, module: account_config::unhosted_type_module_name().to_owned(), name: account_config::unhosted_type_struct_name().to_owned(), is_resource: false, ty_args: vec![], layout: vec![FatType::Struct(Box::new(inner_account_limits))], } } fn vasp_account_type() -> FatStructType { let root_vasp_metadata = FatStructType { address: account_config::CORE_CODE_ADDRESS, module: account_config::vasp_type_module_name().to_owned(), name: account_config::root_vasp_type_struct_name().to_owned(), is_resource: false, ty_args: vec![], layout: vec![ FatType::Vector(Box::new(FatType::U8)), FatType::Vector(Box::new(FatType::U8)), FatType::U64, FatType::Vector(Box::new(FatType::U8)), ], }; FatStructType { address: account_config::CORE_CODE_ADDRESS, module: account_config::vasp_type_module_name().to_owned(), name: account_config::root_vasp_type_struct_name().to_owned(), is_resource: false, ty_args: vec![], layout: vec![FatType::Struct(Box::new(root_vasp_metadata))], } } fn type_layout(account_specifier: AccountTypeSpecifier) -> Vec<FatType> { let inner_type = match account_specifier { AccountTypeSpecifier::Empty => Self::empty_account_type(), AccountTypeSpecifier::Vasp => Self::vasp_account_type(), AccountTypeSpecifier::Unhosted => Self::unhosted_type(), }; vec![ FatType::Bool, FatType::Struct(Box::new(inner_type)), FatType::Address, ] } /// Returns the Move Value representation of the AccountType. pub fn to_value(&self) -> Value { let inner_type_structure = match self.account_specifier { AccountTypeSpecifier::Empty => Struct::pack(vec![Value::bool(false)], false), AccountTypeSpecifier::Vasp => Struct::pack( vec![Value::struct_(Struct::pack( vec![ Value::vector_u8(vec![]), Value::vector_u8(vec![]), Value::u64(u64::MAX), Value::vector_u8(vec![0u8; 16]), ], false, ))], false, ), AccountTypeSpecifier::Unhosted => Struct::pack( vec![Value::struct_(Struct::pack( vec![Value::u64(0), Value::u64(0), Value::u64(0), Value::u64(0)], false, ))], false, ), }; Value::struct_(Struct::pack( vec![ Value::bool(true), Value::struct_(inner_type_structure), Value::address(self.self_address), ], true, )) } pub fn type_(account_specifier: AccountTypeSpecifier) -> FatStructType { FatStructType { address: account_config::CORE_CODE_ADDRESS, module: account_config::account_type_module_name().to_owned(), name: account_config::account_type_struct_name().to_owned(), is_resource: true, ty_args: vec![], layout: Self::type_layout(account_specifier), } } } //--------------------------------------------------------------------------- // Event generator resource represenation //--------------------------------------------------------------------------- /// Struct that represents the event generator resource stored under accounts #[derive(Clone, Debug, Eq, PartialEq)] pub struct EventHandleGenerator { counter: u64, addr: AccountAddress, } impl EventHandleGenerator { pub fn new(addr: AccountAddress) -> Self { Self { addr, counter: 0 } } pub fn new_with_event_count(addr: AccountAddress, counter: u64) -> Self { Self { addr, counter } } pub fn to_value(&self) -> Value { Value::struct_(Struct::pack( vec![Value::u64(self.counter), Value::address(self.addr)], true, )) } pub fn type_() -> FatStructType { FatStructType { address: account_config::CORE_CODE_ADDRESS, module: account_config::event_module_name().to_owned(), name: account_config::event_handle_generator_struct_name().to_owned(), is_resource: true, ty_args: vec![], layout: vec![FatType::U64, FatType::Address], } } } /// Represents an account along with initial state about it. /// /// `AccountData` captures the initial state needed to create accounts for tests. #[derive(Clone, Debug, Eq, PartialEq)] pub struct AccountData { account: Account, sequence_number: u64, delegated_key_rotation_capability: bool, delegated_withdrawal_capability: bool, sent_events: EventHandle, received_events: EventHandle, is_frozen: bool, balances: BTreeMap<Identifier, Balance>, event_generator: EventHandleGenerator, account_type: AccountType, } fn new_event_handle(count: u64) -> EventHandle { EventHandle::random_handle(count) } impl AccountData { /// Creates a new `AccountData` with a new account. /// /// Most tests will want to use this constructor. pub fn new(balance: u64, sequence_number: u64) -> Self { Self::with_account( Account::new(), balance, lbr_currency_code(), sequence_number, AccountTypeSpecifier::Vasp, ) } pub fn new_empty() -> Self { Self::with_account( Account::new(), 0, lbr_currency_code(), 0, AccountTypeSpecifier::Empty, ) } /// Creates a new `AccountData` with the provided account. pub fn with_account( account: Account, balance: u64, balance_currency_code: Identifier, sequence_number: u64, account_specifier: AccountTypeSpecifier, ) -> Self { Self::with_account_and_event_counts( account, balance, balance_currency_code, sequence_number, 0, 0, false, false, account_specifier, false, ) } /// Creates a new `AccountData` with the provided account. pub fn with_keypair( privkey: Ed25519PrivateKey, pubkey: Ed25519PublicKey, balance: u64, balance_currency_code: Identifier, sequence_number: u64, account_specifier: AccountTypeSpecifier, ) -> Self { let account = Account::with_keypair(privkey, pubkey); Self::with_account( account, balance, balance_currency_code, sequence_number, account_specifier, ) } /// Creates a new `AccountData` with custom parameters. pub fn with_account_and_event_counts( account: Account, balance: u64, balance_currency_code: Identifier, sequence_number: u64, sent_events_count: u64, received_events_count: u64, delegated_key_rotation_capability: bool, delegated_withdrawal_capability: bool, account_specifier: AccountTypeSpecifier, is_frozen: bool, ) -> Self { let mut balances = BTreeMap::new(); balances.insert(balance_currency_code, Balance::new(balance)); Self { account_type: AccountType::new(*account.address(), account_specifier), event_generator: EventHandleGenerator::new_with_event_count(*account.address(), 2), account, balances, sequence_number, is_frozen, delegated_key_rotation_capability, delegated_withdrawal_capability, sent_events: new_event_handle(sent_events_count), received_events: new_event_handle(received_events_count), } } /// Adds the balance held by this account to the one represented as balance_currency_code pub fn add_balance_currency(&mut self, balance_currency_code: Identifier) { self.balances.insert(balance_currency_code, Balance::new(0)); } /// Changes the keys for this account to the provided ones. pub fn rotate_key(&mut self, privkey: Ed25519PrivateKey, pubkey: Ed25519PublicKey) { self.account.rotate_key(privkey, pubkey) } pub fn sent_payment_event_type() -> FatStructType { FatStructType { address: account_config::CORE_CODE_ADDRESS, module: AccountResource::module_identifier(), name: SentPaymentEvent::struct_identifier(), is_resource: false, ty_args: vec![], layout: vec![ FatType::U64, FatType::Address, FatType::Vector(Box::new(FatType::U8)), ], } } pub fn received_payment_event_type() -> FatStructType { FatStructType { address: account_config::CORE_CODE_ADDRESS, module: AccountResource::module_identifier(), name: ReceivedPaymentEvent::struct_identifier(), is_resource: false, ty_args: vec![], layout: vec![ FatType::U64, FatType::Address, FatType::Vector(Box::new(FatType::U8)), ], } } pub fn event_handle_type(ty: FatType) -> FatStructType { FatStructType { address: account_config::CORE_CODE_ADDRESS, module: account_config::event_module_name().to_owned(), name: account_config::event_handle_struct_name().to_owned(), is_resource: true, ty_args: vec![ty], layout: vec![FatType::U64, FatType::Vector(Box::new(FatType::U8))], } } /// Returns the (Move value) layout of the LibraAccount::T struct pub fn type_() -> FatStructType { FatStructType { address: account_config::CORE_CODE_ADDRESS, module: AccountResource::module_identifier(), name: AccountResource::struct_identifier(), is_resource: true, ty_args: vec![], layout: vec![ FatType::Vector(Box::new(FatType::U8)), FatType::Bool, FatType::Bool, FatType::Struct(Box::new(Self::event_handle_type(FatType::Struct( Box::new(Self::sent_payment_event_type()), )))), FatType::Struct(Box::new(Self::event_handle_type(FatType::Struct( Box::new(Self::received_payment_event_type()), )))), FatType::U64, FatType::Bool, ], } } /// Returns whether the underlying account is an an empty account type or not. pub fn account_type(&self) -> AccountTypeSpecifier { self.account_type.account_specifier() } /// Creates and returns the top-level resources to be published under the account pub fn to_value(&self) -> (Value, Vec<(Identifier, Value)>, Value, Value) { // TODO: publish some concept of Account let balances: Vec<_> = self .balances .iter() .map(|(code, balance)| (code.clone(), balance.to_value())) .collect(); let assoc_cap = self.account_type.to_value(); let event_generator = self.event_generator.to_value(); let account = Value::struct_(Struct::pack( vec![ // TODO: this needs to compute the auth key instead Value::vector_u8(AuthenticationKey::ed25519(&self.account.pubkey).to_vec()), Value::bool(self.delegated_key_rotation_capability), Value::bool(self.delegated_withdrawal_capability), Value::struct_(Struct::pack( vec![ Value::u64(self.received_events.count()), Value::vector_u8(self.received_events.key().to_vec()), ], true, )), Value::struct_(Struct::pack( vec![ Value::u64(self.sent_events.count()), Value::vector_u8(self.sent_events.key().to_vec()), ], true, )), Value::u64(self.sequence_number), Value::bool(self.is_frozen), ], true, )); (account, balances, assoc_cap, event_generator) } /// Returns the AccessPath that describes the Account resource instance. /// /// Use this to retrieve or publish the Account blob. pub fn make_account_access_path(&self) -> AccessPath { self.account.make_account_access_path() } /// Returns the AccessPath that describes the Account balance resource instance. /// /// Use this to retrieve or publish the Account blob. pub fn make_balance_access_path(&self, code: Identifier) -> AccessPath { self.account.make_balance_access_path(code) } /// Returns the AccessPath that describes the EventHandleGenerator resource instance. /// /// Use this to retrieve or publish the EventHandleGenerator blob. pub fn make_event_generator_access_path(&self) -> AccessPath { self.account.make_event_generator_access_path() } /// Returns the AccessPath that describes the Account balance resource instance. /// /// Use this to retrieve or publish the Account blob. pub fn make_account_type_access_path( &self, account_specifier: AccountTypeSpecifier, ) -> AccessPath { self.account .make_account_type_access_path(account_specifier) } /// Creates a writeset that contains the account data and can be patched to the storage /// directly. pub fn to_writeset(&self) -> WriteSet { let account_type_specifier = self.account_type(); let (account_blob, balance_blobs, account_type_blob, event_generator_blob) = self.to_value(); let mut write_set = Vec::new(); let account = account_blob .value_as::<Struct>() .unwrap() .simple_serialize(&AccountData::type_()) .unwrap(); write_set.push((self.make_account_access_path(), WriteOp::Value(account))); for (code, balance_blob) in balance_blobs.into_iter() { let balance = balance_blob .value_as::<Struct>() .unwrap() .simple_serialize(&Balance::type_()) .unwrap(); write_set.push((self.make_balance_access_path(code), WriteOp::Value(balance))); } let account_type = account_type_blob .value_as::<Struct>() .unwrap() .simple_serialize(&AccountType::type_(account_type_specifier)) .unwrap(); write_set.push(( self.make_account_type_access_path(account_type_specifier), WriteOp::Value(account_type), )); let event_generator = event_generator_blob .value_as::<Struct>() .unwrap() .simple_serialize(&EventHandleGenerator::type_()) .unwrap(); write_set.push(( self.make_event_generator_access_path(), WriteOp::Value(event_generator), )); WriteSetMut::new(write_set).freeze().unwrap() } /// Returns the address of the account. This is a hash of the public key the account was created /// with. /// /// The address does not change if the account's [keys are rotated][AccountData::rotate_key]. pub fn address(&self) -> &AccountAddress { self.account.address() } /// Returns the underlying [`Account`] instance. pub fn account(&self) -> &Account { &self.account } /// Converts this data into an `Account` instance. pub fn into_account(self) -> Account { self.account } /// Returns the initial balance. pub fn balance(&self, currency_code: &IdentStr) -> u64 { self.balances.get(currency_code).unwrap().coin() } /// Returns the initial sequence number. pub fn sequence_number(&self) -> u64 { self.sequence_number } /// Returns the unique key for this sent events stream. pub fn sent_events_key(&self) -> &[u8] { self.sent_events.key().as_bytes() } /// Returns the initial sent events count. pub fn sent_events_count(&self) -> u64 { self.sent_events.count() } /// Returns the unique key for this received events stream. pub fn received_events_key(&self) -> &[u8] { self.received_events.key().as_bytes() } /// Returns the initial received events count. pub fn received_events_count(&self) -> u64 { self.received_events.count() } }
17,449
https://github.com/Mandarin-Medien/MMCmfContentBundle/blob/master/Resources/views/Modal/Form/content_node_edit.html.twig
Github Open Source
Open Source
MIT
null
MMCmfContentBundle
Mandarin-Medien
Twig
Code
106
394
{% extends "@MMCmfContent/Modal/default_modal.html.twig" %} {% block modal_content %} {{ form_start(form, {'attr' : {'onSubmit' : 'submitForm(this);return false;'}}) }} <div class="modal-header"> {% block modal_header %} <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> <h4 class="modal-title">{% block modal_title %}{{ form.data.name }}{% endblock %}</h4> {% endblock %} </div> <div class="modal-body"> {% block modal_body %} {{ form_widget(form) }} {% endblock %} </div> <div class="modal-footer"> {% block modal_footer %} <button type="button" class="btn btn-default" data-dismiss="modal">{{ 'Close'|trans }}</button> <button type="submit" class="btn btn-primary">{{ 'Save changes'|trans }}</button> {% endblock %} </div> {{ form_end(form) }} <div class="modal-footer"> {{ form_start(delete_form, {'attr' : {'onSubmit' : 'submitForm(this);return false;'}}) }} <button type="submit" class="btn btn-danger">{{ 'Delete'|trans }}</button> {{ form_end(delete_form) }} </div> {% endblock %}
19,827
https://github.com/gentacle/bigdataprojectR/blob/master/bigdataProject/testR/test1.r
Github Open Source
Open Source
MIT
null
bigdataprojectR
gentacle
R
Code
56
169
# 초기화 # x <- y # x -> y # 실행 # 드래그 + crtl + enter # 변수var # test2. 가능 # .test 가능 # .2test 불가 # 2test 불가 # test% 불가 # _test 불가 a <- 1 a+5 x <- c(1,2,3,4,2,1,2,3) x v <- c(2,3,5,8,11) plot(v, type="o") l <- list("pizza", 3, 119.2)
32,193
https://github.com/jinwoo/bsc-testsuite/blob/master/bsc.bsv_examples/shifter/Example6Q.bsv
Github Open Source
Open Source
BSD-3-Clause
null
bsc-testsuite
jinwoo
Bluespec
Code
252
543
/*---------------------------------------------------------------------------- Example6 Questions The functions in this file are list-based versions of those in Example3 (replacing for-loops with list functions). -----------------------------------------------------------------------------*/ // Need to import the List package to use the List functions import List::*; // For reference, this is how the foldl function is defined in the // List library: function ta my_foldl (function ta f (ta a, tb b), ta z, List#(tb) list); if (isNull(list)) return (z); else begin tb fst = head(list); List#(tb) rest = tail(list); return (my_foldl(f, f(z, fst), rest)); end endfunction // Define an alias for the pair of a shift amount and in input vector, // since we will use this repeatedly. typedef Tuple2#(Bit#(m),Bit#(n)) SXpair#(type m, type n); // The step function from Example3 rewritten to take and return a pair function SXpair#(m,n) step2 (SXpair#(m,n) sx, Nat j); // Give the names "s" and "x" to the parts of the input match {.s, .x} = sx; // Compute the shifted output Bit#(n) new_x; if (s[j] == 0) new_x = x; else new_x = x << (1 << j); // x << exp(2,j) // Return the shift amount with the shifted vector return tuple2(s,new_x); endfunction // A list implementation of function "f" from Example3: function Bit#(n) f2 (Bit#(m) s, Bit#(n) x); Integer max = valueOf(m); // TASK: Write the body of the function. // HINT: Start with the initial s/x pair and // use the "foldl" function to cascade the series of shifts // to produce the final output. return (?); // return (x << s) endfunction
14,391
https://github.com/johnmccawley/openshift-docs/blob/master/admin_guide/sdn_troubleshooting.adoc
Github Open Source
Open Source
Apache-2.0
null
openshift-docs
johnmccawley
AsciiDoc
Code
3,891
7,576
[[admin-guide-sdn-troubleshooting]] = Troubleshooting OpenShift SDN {product-author} {product-version} :data-uri: :icons: :experimental: :toc: macro :toc-title: toc::[] == Overview As described in the xref:../architecture/additional_concepts/sdn.adoc#architecture-additional-concepts-sdn[SDN documentation] there are multiple layers of interfaces that are created to correctly pass the traffic from one container to another. In order to debug connectivity issues, you have to test the different layers of the stack to work out where the problem arises. This guide will help you dig down through the layers to identify the problem and how to fix it. Part of the problem is that {product-title} can be set up many ways, and the networking can be wrong in a few different places. So this document will work through some scenarios that, hopefully, will cover the majority of cases. If your problem is not covered, the tools and concepts that are introduced should help guide debugging efforts. == Nomenclature Cluster:: The set of machines in the cluster. _i.e._ the Masters and the Nodes. Master:: A controller of the {product-title} cluster. Note that the master may not be a node in the cluster, and thus, may not have IP connectivity to the pods. Node:: Host in the cluster running {product-title} that can host pods. Pod:: Group of containers running on a node, managed by {product-title}. Service:: Abstraction that presents a unified network interface that is backed by one or more pods. Router:: A web proxy that can map various URLs and paths into {product-title} services to allow external traffic to travel into the cluster. Node Address:: The IP address of a node. This is assigned and managed by the owner of the network to which the node is attached. Must be reachable from any node in the cluster (master and client). Pod Address:: The IP address of a pod. These are assigned and managed by {product-title}. By default they are assigned out of the 10.128.0.0/14 network (or, in older versions, 10.1.0.0/16). Only reachable from the client nodes. Service Address:: An IP address that represents the service, and is mapped to a pod address internally. These are assigned and managed by {product-title}. By default they are assigned out of the 172.30.0.0/16 network. Only reachable from the client nodes. The following diagram shows all of the pieces involved with external access. image::Topologies.png["External Access to a Pod"] == Debugging External Access to an HTTP Service If you are on an machine outside the cluster and are trying to access a resource provided by the cluster there needs to be a process running in a pod that listens on a public IP address and "routes" that traffic inside the cluster. The xref:../architecture/core_concepts/routes.adoc#architecture-core-concepts-routes[{product-title} router] serves that purpose for HTTP, HTTPS (with SNI), WebSockets, or TLS (with SNI). Assuming you can't access an HTTP service from the outside of the cluster, let's start by reproducing the problem on the command line of the machine where things are failing. Try: .... curl -kv http://foo.example.com:8000/bar # But replace the argument with your URL .... If that works, are you reproducing the bug from the right place? It is also possible that the service has some pods that work, and some that don't. So jump ahead to the <<debugging-the-router>> section. If that failed, then let's resolve the DNS name to an IP address (assuming it isn't already one): .... dig +short foo.example.com # But replace the hostname with yours .... If that doesn't give back an IP address, it's time to troubleshoot DNS, but that's outside the scope of this guide. IMPORTANT: Make sure that the IP address that you got back is one that you expect to be running the router. If it's not, fix your DNS. Next, use `ping -c _address_` and `tracepath _address_` to check that you can reach the router host. It is possible that they will not respond to ICMP packets, in which case those tests will fail, but the router machine may be reachable. In which case, try using the telnet command to access the port for the router directly: .... telnet 1.2.3.4 8000 .... You may get: .... Trying 1.2.3.4... Connected to 1.2.3.4. Escape character is '^]'. .... If so, there's something listening on the port on the IP address. That's good. Hit `ctrl-]` then hit the _enter_ key and then type `close` to quit telnet. Move on to the <<debugging-the-router>> section to check other things on the router. Or you could get: .... Trying 1.2.3.4... telnet: connect to address 1.2.3.4: Connection refused .... Which tells us that the router is not listening on that port. Please see the <<debugging-the-router>> section for more pointers on how to configure the router. Or if you see: [source,sh] .... Trying 1.2.3.4... telnet: connect to address 1.2.3.4: Connection timed out .... Which tells us that you can't talk to anything on that IP address. Check your routing, firewalls, and that you have a router listening on that IP address. To debug the router, see the <<debugging-the-router>> section. For IP routing and firewall issues, debugging that is beyond the purview of this guide. == Debugging the Router Now that you have an IP address, we need to `ssh` to that machine and check that the router software is running on that machine and configured correctly. So let's `ssh` there and get administrative {product-title} credentials. include::dev_guide/authentication.adoc[tag=systemadminlogin] Check that the router is running: .... # oc get endpoints --namespace=default --selector=router NAMESPACE NAME ENDPOINTS default router 10.128.0.4:80 .... If that command fails, then your {product-title} configuration is broken. Fixing that is outside the scope of this document. You should see one or more router endpoints listed, but that won't tell you if they are running on the machine with the given external IP address, since the endpoint IP address will be one of the pod addresses that is internal to the cluster. To get the list of router host IP addresses, run: .... # oc get pods --all-namespaces --selector=router --template='{{range .items}}HostIP: {{.status.hostIP}} PodIP: {{.status.podIP}}{{end}}{{"\n"}}' HostIP: 192.168.122.202 PodIP: 10.128.0.4 .... You should see the host IP that corresponds to your external address. If you do not, please refer to the xref:../architecture/core_concepts/routes.adoc#architecture-core-concepts-routes[router documentation] to configure the router pod to run on the right node (by setting the affinity correctly) or update your DNS to match the IP addresses where the routers are running. At this point in the guide, you should be on a node, running your router pod, but you still cannot get the HTTP request to work. First we need to make sure that the router is mapping the external URL to the correct service, and if that works, we need to dig into that service to make sure that all endpoints are reachable. Let's list all of the routes that {product-title} knows about: .... # oc get route --all-namespaces NAME HOST/PORT PATH SERVICE LABELS TLS TERMINATION route-unsecured www.example.com /test service-name .... If the host name and path from your URL don't match anything in the list of returned routes, then you need to add a route. See the xref:../architecture/core_concepts/routes.adoc#architecture-core-concepts-routes[router documentation]. If your route is present, then you need to debug access to the endpoints. That's the same as if you were debugging problems with a service, so please continue on with the next <<debugging-a-service>> section. == Debugging a Service If you can't communicate with a service from inside the cluster (either because your services can't communicate directly, or because you are using the router and everything works until you get into the cluster) then you need to work out what endpoints are associated with a service and debug them. First, let's get the services: .... # oc get services --all-namespaces NAMESPACE NAME LABELS SELECTOR IP(S) PORT(S) default docker-registry docker-registry=default docker-registry=default 172.30.243.225 5000/TCP default kubernetes component=apiserver,provider=kubernetes <none> 172.30.0.1 443/TCP default router router=router router=router 172.30.213.8 80/TCP .... You should see your service in the list. If not, then you need to define your xref:../architecture/core_concepts/pods_and_services.adoc#architecture-core-concepts-pods-and-services[service]. The IP addresses listed in the service output are the Kubernetes service IP addresses that Kubernetes will map to one of the pods that backs that service. So you should be able to talk to that IP address. But, unfortunately, even if you can, it doesn't mean all pods are reachable; and if you can't, it doesn't mean all pods aren't reachable. It just tells you the status of the _one_ that kubeproxy hooked you up to. Let's test the service anyway. From one of your nodes: .... curl -kv http://172.30.243.225:5000/bar # Replace the argument with your service IP address and port .... Then, let's work out what pods are backing our service (replace `docker-registry` with the name of the broken service): .... # oc get endpoints --selector=docker-registry NAME ENDPOINTS docker-registry 10.128.2.2:5000 .... From this, we can see that there's only one endpoint. So, if your service test succeeded, and the router test succeeded, then something really odd is going on. But if there's more than one endpoint, or the service test failed, try the following _for each_ endpoint. Once you identify what endpoints aren't working, then proceed to the next section. First, test each endpoint (change the URL to have the right endpoint IP, port, and path): .... curl -kv http://10.128.2.2:5000/bar .... If that works, great, try the next one. If it failed, make a note of it and we'll work out why, in the next section. If all of them failed, then it is possible that the local node is not working, jump to the <<debugging-local-networking>> section. If all of them worked, then jump to the <<debugging-kubernetes>> section to work out why the service IP address isn't working. [[debugging-node-to-node-networking]] == Debugging Node to Node Networking Using our list of non-working endpoints, we need to test connectivity to the node. . Make sure that all nodes have the expected IP addresses: + ==== ---- # oc get hostsubnet NAME HOST HOST IP SUBNET rh71-os1.example.com rh71-os1.example.com 192.168.122.46 10.1.1.0/24 rh71-os2.example.com rh71-os2.example.com 192.168.122.18 10.1.2.0/24 rh71-os3.example.com rh71-os3.example.com 192.168.122.202 10.1.0.0/24 ---- ==== + If you are using DHCP they could have changed. Ensure the host names, IP addresses, and subnets match what you expect. If any node details have changed, use `oc edit hostsubnet` to correct the entries. . After ensuring the node addresses and host names are correct, list the endpoint IPs and node IPs: + ==== ---- # oc get pods --selector=docker-registry \ --template='{{range .items}}HostIP: {{.status.hostIP}} PodIP: {{.status.podIP}}{{end}}{{"\n"}}' HostIP: 192.168.122.202 PodIP: 10.128.0.4 ---- ==== . Find the endpoint IP address you made note of before and look for it in the `PodIP` entry, and find the corresponding `HostIP` address. Then test connectivity at the node host level using the address from `HostIP`: * `ping -c 3 <IP_address>`: No response could mean that an intermediate router is eating the ICMP traffic. * `tracepath <IP_address>`: Shows the IP route taken to the target, if ICMP packets are returned by all hops. + If both `tracepath` and `ping` fail, then look for connectivity issues with your local or virtual network. . For local networking, check the following: + * Check the route the packet takes out of the box to the target address: + ==== ---- # ip route get 192.168.122.202 192.168.122.202 dev ens3 src 192.168.122.46 cache ---- ==== + In the above example, it will go out the interface named `ens3` with the source address of `192.168.122.46` and go directly to the target. If that is what you expected, use `ip a show dev ens3` to get the interface details and make sure that is the expected interface. + An alternate result may be the following: + ==== ---- # ip route get 192.168.122.202 1.2.3.4 via 192.168.122.1 dev ens3 src 192.168.122.46 ---- ==== + It will pass through the `via` IP value to route appropriately. Ensure that the traffic is routing correctly. Debugging route traffic is beyond the scope of this guide. Other debugging options for node to node networking can be solved with the following: * Do you have ethernet link on both ends? Look for `Link detected: yes` in the output from `ethtool <network_interface>`. * Are your duplex settings, and ethernet speeds right on both ends? Look through the rest of the `ethtool <network_interface>` information. * Are the cables plugged in correctly? To the correct ports? * Are the switches configured correctly? Once you have ascertained that the node to node connectivity is fine, we need to look at the SDN configuration on both ends. == Debugging Local Networking At this point we should have a list of one or more endpoints that you can't communicate with, but that have node to node connectivity. For each one, we need to work out what is wrong, but first you need to understand how the SDN sets up the networking on a node for the different pods. === The Interfaces on a Node These are the interfaces that the {product-title} SDN creates: * `br0`: The OVS bridge device that containers will be attached to. {product-title} SDN also configures a set of non-subnet-specific flow rules on this bridge. (The `multitenant` plug-in does this immediately; the `ovssubnet` plug-in waits until the SDN master announces the creation of the new node subnet.) * `lbr0`: A Linux bridge device, which is configured as Docker's bridge and given the cluster subnet gateway address (eg, 10.128.x.1/23). * `tun0`: An OVS internal port (port 2 on `br0`). This *also* gets assigned the cluster subnet gateway address, and is used for external network access. {product-title} SDN configures `netfilter` and routing rules to enable access from the cluster subnet to the external network via NAT. * `vlinuxbr` and `vovsbr`: Two Linux peer virtual Ethernet interfaces. `vlinuxbr` is added to `lbr0`, and `vovsbr` is added to `br0` (port 3), to provide connectivity for containers created directly with Docker outside of {product-title}. * `vxlan0`: The OVS VXLAN device (port 1 on `br0`), which provides access to containers on remote nodes. * `vethX` (in the main netns): A Linux virtual ethernet peer of `eth0` in the docker netns. It will be attached to the OVS bridge on one of the other ports. === SDN Flows Inside a Node image:SDN.png[The possible SDN paths] Depending on what you are trying to access (or be accessed from) the path will vary. There are four different places the SDN connects (inside a node). They are labeled in red on the diagram above. * *Pod:* Traffic is going from one pod to another on the same machine (1 to a different 1) * *Remote Node (or Pod):* Traffic is going from a local pod to a remote node or pod in the same cluster (1 to 2) * *External Machine:* Traffic is going from a local pod outside the cluster (1 to 3) * *Local Docker:* Traffic is going from a local pod to a local docker container that is not managed by Kubernetes (1 to 4) Of course the opposite traffic flows are also possible. === Debugging Steps ==== Is IP Forwarding Enabled? Check that `sysctl net.ipv4.ip_forward` is set to 1 (and check the host if this is a VM) ==== Is `firewalld` Disabled? Check that `firewalld` is disabled using `systemctl status firewalld`. If it is running, you either need to disable it, or check that it is not blocking traffic. That is outside the scope of this guide. ==== Are your routes correct? Check the route tables with `ip route`: .... # ip route default via 192.168.122.1 dev ens3 10.128.0.0/14 dev tun0 proto kernel scope link # This sends all pod traffic into OVS 10.128.2.0/23 dev tun0 proto kernel scope link src 10.128.2.1 # This is traffic going to local pods, overriding the above 169.254.0.0/16 dev ens3 scope link metric 1002 # This is for Zeroconf (may not be present) 172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.42.1 # Docker's private IPs... used only by things directly configured by docker; not {product-title} 192.168.122.0/24 dev ens3 proto kernel scope link src 192.168.122.46 # The physical interface on the local subnet .... You should see the 10.128.x.x lines (assuming you have your pod network set to the default range in your configuration). If you do not, check the {product-title} logs (see the <<reading-the-logs>> section) === Is the Open vSwitch configured correctly? Check the Open vSwitch bridges on both sides: .... # ovs-vsctl list-br br0 .... This should just be br0. You can list all of the ports that ovs knows about: .... # ovs-ofctl -O OpenFlow13 dump-ports-desc br0 OFPST_PORT_DESC reply (OF1.3) (xid=0x2): 1(vxlan0): addr:9e:f1:7d:4d:19:4f config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max 2(tun0): addr:6a:ef:90:24:a3:11 config: 0 state: 0 speed: 0 Mbps now, 0 Mbps max 8(vethe19c6ea): addr:1e:79:f3:a0:e8:8c config: 0 state: 0 current: 10GB-FD COPPER speed: 10000 Mbps now, 0 Mbps max 9(vovsbr): addr:6e:dc:28:df:63:c3 config: 0 state: 0 current: 10GB-FD COPPER speed: 10000 Mbps now, 0 Mbps max LOCAL(br0): addr:0a:7f:b4:33:c2:43 config: PORT_DOWN state: LINK_DOWN speed: 0 Mbps now, 0 Mbps max .... Next list the flows that are configured on that bridge. In output below I have removed the `cookie`, `duration`, `n_packets` and `n_bytes` columns; and I have lined up the various columns to make it easier to understand, and added in-line comments and blank lines: .... # ovs-ofctl -O OpenFlow13 dump-flows br0 OFPST_FLOW reply (OF1.3) (xid=0x2): # External access is the default if no higher priority matches table=0, priority=50 actions=output:2 # ARP and IP Traffic destined for the local subnet gateway goes out of the switch to # IP tables and the main route table table=0, priority=100,arp,arp_tpa=10.128.2.1 actions=output:2 table=0, priority=100, ip, nw_dst=10.128.2.1 actions=output:2 # All remote nodes should have two entries here, one for IP and one for ARP. # Here we see the entries for two remote nodes table=0, priority=100,arp,arp_tpa=10.128.4.0/23 actions=set_field:192.168.122.18->tun_dst,output:1 table=0, priority=100, ip, nw_dst=10.128.4.0/23 actions=set_field:192.168.122.18->tun_dst,output:1 table=0, priority=100,arp,arp_tpa=10.128.0.0/23 actions=set_field:192.168.122.202->tun_dst,output:1 table=0, priority=100, ip, nw_dst=10.128.0.0/23 actions=set_field:192.168.122.202->tun_dst,output:1 # Other traffic destined for a local pod IP that hasn't been handled by a higher priority rule # goes out port 9 to the virtual bridge for docker table=0, priority=75, ip, nw_dst=10.128.2.0/23 actions=output:9 table=0, priority=75, arp,arp_tpa=10.128.2.0/23 actions=output:9 # Then ports 3-8 or 10+ are for local pods, here there are two local pods table=0, priority=100, ip, nw_dst=10.128.2.7 actions=output:8 table=0, priority=100,arp,arp_tpa=10.128.2.7 actions=output:8 table=0, priority=100, ip, nw_dst=10.128.2.10 actions=output:12 table=0, priority=100,arp,arp_tpa=10.128.2.10 actions=output:12 .... The SDN networking plug-in configures two entries (one for arp and one for ip) with `output=1` per peer endpoint (i.e. if there are five nodes, then there should be 4 * 2 rules; In the example above we have 3 nodes total, so there are four entries above). It also sets up the other entries on ports 2 and 9 that are shown above. If there are flows missing, please look in the <<reading-the-logs>> section. ==== Is the `iptables` configuration correct? Check the output from `iptables-save` to make sure you are not filtering traffic. However, {product-title} sets up iptables rules during normal operation, so do not be surprised to see entries there. ==== Is your external network correct? Check external firewalls, if any, allow traffic to the target address (this is site-dependent, and beyond the purview of this guide). [[debugging-virtual-networking]] == Debugging Virtual Networking [[builds-on-a-virtual-network-are-failing]] === Builds on a Virtual Network are Failing If you are installing {product-title} using a virtual network (for example, OpenStack), and a build is failing, the maximum transmission unit (MTU) of the target node host might not be compatible with the MTU of the primary network interface (for example, `eth0`). For a build to complete successfully, the MTU of an SDN must be less than the eth0 network MTU in order to pass data to between node hosts. . Check the MTU of your network by running the `ip addr` command: + ==== ---- # ip addr --- 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether fa:16:3e:56:4c:11 brd ff:ff:ff:ff:ff:ff inet 172.16.0.0/24 brd 172.16.0.0 scope global dynamic eth0 valid_lft 168sec preferred_lft 168sec inet6 fe80::f816:3eff:fe56:4c11/64 scope link valid_lft forever preferred_lft forever --- ---- ==== + The MTU of the above network is 1500. . The MTU in your node configuration must be lower than the network value. Check the `*mtu*` in the node configuration of the targeted node host: + ==== ---- # cat /etc/origin/node/node-config.yaml ... networkConfig: mtu: 1450 networkPluginName: company/openshift-ovs-subnet ... ---- ==== + In the above node configuration file, the `*mtu*` value is lower than the network MTU, so no configuration is needed. If the `*mtu*` value was higher, edit the file and lower the value to at least 50 units fewer than the MTU of the primary network interface, then restart the node service. This would allow larger packets of data to pass between nodes. == Debugging Pod Egress If you are trying to access an external service from a pod, e.g.: .... curl -kv github.com .... Make sure that the DNS is resolving correctly: .... dig +search +noall +answer github.com .... That should return the IP address for the github server, but check that you got back the correct address. If you get back no address, or the address of one of your machines, then you may be matching the wildcard entry in yoir local DNS server. To fix that, you either need to make sure that DNS server that has the wildcard entry is not listed as a `nameserver` in your `/etc/resolv.conf` _or_ you need to make sure that the wildcard domain is not listed in the `search` list. If the correct IP address was returned, then try the debugging advice listed above in <<debugging-local-networking>>. Your traffic should leave the Open vSwitch on port 2 to pass through the `iptables` rules, then out the route table normally. == Reading the Logs ifdef::openshift-origin[] Run: `journalctl -u origin-node.service --boot | less` endif::[] ifdef::openshift-enterprise[] Run: `journalctl -u atomic-openshift-node.service --boot | less` endif::[] Look for the `Output of setup script:` line. Everything starting with '+' below that are the script steps. Look through that for obvious errors. Following the script you should see lines with `Output of adding table=0`. Those are the OVS rules, and there should be no errors. == Debugging Kubernetes Check `iptables -t nat -L` to make sure that the service is being NAT'd to the right port on the local machine for the `kubeproxy`. WARNING: This is all changing soon... Kubeproxy is being eliminated and replaced with an `iptables`-only solution. == Further Help . Run the script at https://raw.githubusercontent.com/openshift/openshift-sdn/master/hack/debug.sh on the master (or from another machine with access to the master) to generate useful debugging information. . Ask for help on Freenode IRC #openshift-dev (but be prepared to provide the output from the debugging script) == Miscellaneous Notes === Other clarifications on ingress * Kube - declare a service as NodePort and it will claim that port on all machines in the cluster (on what interface?) and then route into kube-proxy and then to a backing pod. See http://kubernetes.io/v1.0/docs/user-guide/services.html#type-nodeport (some node must be accessible from outside) * Kube - declare as a LoadBalancer and something _you_ have to write does the rest * OS/AE - Both use the router [[tls-handshake-timeout]] === TLS Handshake Timeout When a pod fails to deploy, check its docker log for a TLS handshake timeout: ---- $ docker log <container_id> ... [...] couldn't get deployment [...] TLS handshake timeout ... ---- This condition, and generally, errors in establishing a secure connection, may be caused by a large difference in the MTU values between tun0 and the primary interface (e.g., eth0), such as when tun0 MTU is 1500 and eth0 MTU is 9000 (jumbo frames). === Other debugging notes * Peer interfaces (of a Linux virtual ethernet pair) can be determined with `ethtool -S _ifname_` * Driver type: `ethtool -i _ifname_`
11,995
https://github.com/concord-consortium/collaborative-learning/blob/master/src/components/document/collapsed-workspace-tab.scss
Github Open Source
Open Source
MIT
2,020
collaborative-learning
concord-consortium
SCSS
Code
104
433
@import "../vars"; .collapsed-workspace-tab { position: absolute; top: $header-height; right: 0; height: calc(100vh - (#{$header-height} + #{$workspace-content-margin} * 2)); width: 38px; margin: 4px 4px 0 2px; padding: 2px; border-radius: 8px 0 0 0; box-sizing: border-box; border-width: 2px; border-style: solid; z-index: 2; display: flex; &.problem { border-color: $workspace-teal; background-color: $workspace-teal-light-4; &:hover { background-color: $workspace-teal-light-2; } &:active { background-color: $workspace-teal-light-1-b; } } &.learninglog { border-color: $learninglog-green; background-color: $learninglog-green-light-5; &:hover { background-color: $learninglog-green-light-3; } &:active { background-color: $learninglog-green-light-2; } } .collapsed-tab-label { writing-mode: vertical-rl; text-orientation: mixed; font-size: 14px; margin: 20px 7px; width: 50px; } .expand-right-indicator { transform: rotate(180deg); position: relative; right: 33px; align-self: center; justify-self: center; } }
4,262
https://github.com/Matthew-Dove/ContainerExpressions/blob/master/src/ContainerExpressions/Containers/Extensions/MaybeTValueExtensions.cs
Github Open Source
Open Source
MIT
null
ContainerExpressions
Matthew-Dove
C#
Code
2,829
6,966
using System; using System.Threading.Tasks; namespace ContainerExpressions.Containers { /// <summary>Utility methods for the Maybe<TValue> Container.</summary> public static class MaybeTValueExtensions { #region Miscellaneous /// <summary>Returns the value of Maybe when the instance is TValue, otherwise @default is returned.</summary> /// <param name="default">The value to use when Maybe contains an instance of Exception.</param> public static TValue GetValueOrDefault<TValue>(this Maybe<TValue> maybe, TValue @default) => maybe.Match(x => x, _ => @default); /// <summary>Converts Maybe into a T2 Either.</summary> public static Either<TValue, Exception> ToEither<TValue>(this Maybe<TValue> maybe) => maybe.Match(x => new Either<TValue, Exception>(x), x => new Either<TValue, Exception>(x)); /// <summary>Converts Maybe into a Response, when the instance is TValue a valid Response is returned; otherwise an invalid one is selected.</summary> public static Response<TValue> ToResponse<TValue>(this Maybe<TValue> maybe) => maybe.Match(x => new Response<TValue>(x), _ => new Response<TValue>()); /// <summary>Returns the value of Maybe when the instance is TValue, otherwise @default is returned.</summary> /// <param name="default">The value to use when Maybe contains an instance of Exception.</param> public static Task<TValue> GetValueOrDefaultAsync<TValue>(this Task<Maybe<TValue>> maybe, TValue @default) => maybe.MatchAsync(x => x, _ => @default); /// <summary>Converts Maybe into a T2 Either.</summary> public static Task<Either<TValue, Exception>> ToEitherAsync<TValue>(this Task<Maybe<TValue>> maybe) => maybe.MatchAsync(x => new Either<TValue, Exception>(x), x => new Either<TValue, Exception>(x)); /// <summary>Converts Maybe into a Response, when the instance is TValue a valid Response is returned; otherwise an invalid one is selected.</summary> public static Task<Response<TValue>> ToResponseAsync<TValue>(this Task<Maybe<TValue>> maybe) => maybe.MatchAsync(x => new Response<TValue>(x), _ => new Response<TValue>()); #endregion #region With /// <summary>Creates a new Maybe from the existing types, with the specified values.</summary> public static Maybe<TValue> With<TValue>(this Maybe<TValue> _, Response<TValue> value, Exception error) => new Maybe<TValue>(value, error); /// <summary>Creates a new Maybe from the existing types, with the specified values.</summary> public static Maybe<TValue> With<TValue>(this Maybe<TValue> _, Either<TValue, Exception> either) => new Maybe<TValue>(either); /// <summary>Creates a new Maybe from the existing types, with the specified values.</summary> public static Maybe<TValue> With<TValue>(this Maybe<TValue> _, TValue value) => new Maybe<TValue>(value); /// <summary>Creates a new Maybe from the existing types, with the specified values.</summary> public static Maybe<TValue> With<TValue>(this Maybe<TValue> _, Exception error) => new Maybe<TValue>(error); /// <summary>Creates a new Maybe from the existing types, with the specified values.</summary> public static Maybe<TValue> With<TValue>(this Task<Maybe<TValue>> _, Response<TValue> value, Exception error) => new Maybe<TValue>(value, error); /// <summary>Creates a new Maybe from the existing types, with the specified values.</summary> public static Maybe<TValue> With<TValue>(this Task<Maybe<TValue>> _, Either<TValue, Exception> either) => new Maybe<TValue>(either); /// <summary>Creates a new Maybe from the existing types, with the specified values.</summary> public static Maybe<TValue> With<TValue>(this Task<Maybe<TValue>> _, TValue value) => new Maybe<TValue>(value); /// <summary>Creates a new Maybe from the existing types, with the specified values.</summary> public static Maybe<TValue> With<TValue>(this Task<Maybe<TValue>> _, Exception error) => new Maybe<TValue>(error); #endregion #region Match /** maybe => sync, getValue => sync **/ /// <summary>Converts the value or error into a TResult, only one function is invoked depending on Maybe's underlying instance type.</summary> /// <param name="getValue">When Maybe contains a value, this function is called passing the instance in as a parameter.</param> /// <param name="getError">When Maybe contains a error, this function is called passing the instance in as a parameter.</param> public static TResult Match<TValue, TResult>(this Maybe<TValue> maybe, Func<TValue, TResult> getValue, Func<Exception, TResult> getError) => maybe._hasValue ? getValue(maybe._value) : getError(maybe._error); /// <summary>Converts the value or error into a TResult, only one function is invoked depending on Maybe's underlying instance type.</summary> /// <param name="getValue">When Maybe contains a value, this function is called passing the instance in as a parameter.</param> /// <param name="getError">When Maybe contains a error, this function is called passing the instance in as a parameter.</param> public static TResult Match<TValue, TResult>(this Maybe<TValue> maybe, Func<TValue, TResult> getValue, Func<Exception, Exception[], TResult> getError) => maybe._hasValue ? getValue(maybe._value) : getError(maybe._error, maybe.AggregateErrors); /** maybe => sync, getValue => async **/ /// <summary>Converts the value or error into a TResult, only one function is invoked depending on Maybe's underlying instance type.</summary> /// <param name="getValue">When Maybe contains a value, this function is called passing the instance in as a parameter.</param> /// <param name="getError">When Maybe contains a error, this function is called passing the instance in as a parameter.</param> public static Task<TResult> MatchAsync<TValue, TResult>(this Maybe<TValue> maybe, Func<TValue, Task<TResult>> getValue, Func<Exception, TResult> getError) => maybe._hasValue ? getValue(maybe._value) : Task.FromResult(getError(maybe._error)); /// <summary>Converts the value or error into a TResult, only one function is invoked depending on Maybe's underlying instance type.</summary> /// <param name="getValue">When Maybe contains a value, this function is called passing the instance in as a parameter.</param> /// <param name="getError">When Maybe contains a error, this function is called passing the instance in as a parameter.</param> public static Task<TResult> MatchAsync<TValue, TResult>(this Maybe<TValue> maybe, Func<TValue, Task<TResult>> getValue, Func<Exception, Exception[], TResult> getError) => maybe._hasValue ? getValue(maybe._value) : Task.FromResult(getError(maybe._error, maybe.AggregateErrors)); /** maybe => async, getValue => sync **/ /// <summary>Converts the value or error into a TResult, only one function is invoked depending on Maybe's underlying instance type.</summary> /// <param name="getValue">When Maybe contains a value, this function is called passing the instance in as a parameter.</param> /// <param name="getError">When Maybe contains a error, this function is called passing the instance in as a parameter.</param> public static Task<TResult> MatchAsync<TValue, TResult>(this Task<Maybe<TValue>> maybe, Func<TValue, TResult> getValue, Func<Exception, TResult> getError) => maybe.ContinueWith(x => x.Result._hasValue ? getValue(x.Result._value) : getError(x.Result._error)); /// <summary>Converts the value or error into a TResult, only one function is invoked depending on Maybe's underlying instance type.</summary> /// <param name="getValue">When Maybe contains a value, this function is called passing the instance in as a parameter.</param> /// <param name="getError">When Maybe contains a error, this function is called passing the instance in as a parameter.</param> public static Task<TResult> MatchAsync<TValue, TResult>(this Task<Maybe<TValue>> maybe, Func<TValue, TResult> getValue, Func<Exception, Exception[], TResult> getError) => maybe.ContinueWith(x => x.Result._hasValue ? getValue(x.Result._value) : getError(x.Result._error, x.Result.AggregateErrors)); /** maybe => async, getValue => async **/ /// <summary>Converts the value or error into a TResult, only one function is invoked depending on Maybe's underlying instance type.</summary> /// <param name="getValue">When Maybe contains a value, this function is called passing the instance in as a parameter.</param> /// <param name="getError">When Maybe contains a error, this function is called passing the instance in as a parameter.</param> public static Task<TResult> MatchAsync<TValue, TResult>(this Task<Maybe<TValue>> maybe, Func<TValue, Task<TResult>> getValue, Func<Exception, TResult> getError) => maybe.ContinueWith(x => x.Result._hasValue ? getValue(x.Result._value) : Task.FromResult(getError(x.Result._error))).Unwrap(); /// <summary>Converts the value or error into a TResult, only one function is invoked depending on Maybe's underlying instance type.</summary> /// <param name="getValue">When Maybe contains a value, this function is called passing the instance in as a parameter.</param> /// <param name="getError">When Maybe contains a error, this function is called passing the instance in as a parameter.</param> public static Task<TResult> MatchAsync<TValue, TResult>(this Task<Maybe<TValue>> maybe, Func<TValue, Task<TResult>> getValue, Func<Exception, Exception[], TResult> getError) => maybe.ContinueWith(x => x.Result._hasValue ? getValue(x.Result._value) : Task.FromResult(getError(x.Result._error, x.Result.AggregateErrors))).Unwrap(); #endregion #region Transform /// <summary> /// Converts the value of Maybe from one type to another. /// <para>If Maybe contains an error, then the error is propagated to the new maybe instead.</para> /// </summary> /// <param name="transform">A function to change the value's type.</param> public static Maybe<TResult> Transform<TValue, TResult>(this Maybe<TValue> maybe, Func<TValue, TResult> transform) => maybe.Match(x => new Maybe<TResult>(transform(x)), x => new Maybe<TResult>(x)); /// <summary> /// Converts the value of Maybe from one type to another. /// <para>If Maybe contains an error, then the error is propagated to the new maybe instead.</para> /// </summary> /// <param name="transform">A function to change the value's type.</param> public static Task<Maybe<TResult>> TransformAsync<TValue, TResult>(this Maybe<TValue> maybe, Func<TValue, Task<TResult>> transform) => maybe.Match(x => transform(x).ContinueWith(y => new Maybe<TResult>(y.Result)), x => Task.FromResult(new Maybe<TResult>(x))); /// <summary> /// Converts the value of Maybe from one type to another. /// <para>If Maybe contains an error, then the error is propagated to the new maybe instead.</para> /// </summary> /// <param name="transform">A function to change the value's type.</param> public static Task<Maybe<TResult>> TransformAsync<TValue, TResult>(this Task<Maybe<TValue>> maybe, Func<TValue, TResult> transform) => maybe.ContinueWith(x => x.Result.Match(y => new Maybe<TResult>(transform(y)), y => new Maybe<TResult>(y))); /// <summary> /// Converts the value of Maybe from one type to another. /// <para>If Maybe contains an error, then the error is propagated to the new maybe instead.</para> /// </summary> /// <param name="transform">A function to change the value's type.</param> public static Task<Maybe<TResult>> TransformAsync<TValue, TResult>(this Task<Maybe<TValue>> maybe, Func<TValue, Task<TResult>> transform) => maybe.ContinueWith(x => x.Result.Match(y => transform(y).ContinueWith(z => new Maybe<TResult>(z.Result)), y => Task.FromResult(new Maybe<TResult>(y)))).Unwrap(); #endregion #region Bind /** Maybe Bind implementation. **/ /// <summary> /// When both Maybes contain values, they are passed to the Bind function; the value TResult is then used to create a new Maybe. /// <para>Alternatively the existing error(s) are propagated to the new Maybe without invoking Bind. /// </summary> /// <param name="maybe">The second Maybe to Bind with.</param> /// <param name="bind">A function that takes values from both Maybes, and produces a TResult.</param> public static Maybe<TResult> Bind<TValue, TBindValue, TResult>(this Maybe<TValue> value, Maybe<TBindValue> maybe, Func<TValue, TBindValue, Maybe<TResult>> bind) { if (value._hasValue && maybe._hasValue) return bind(value._value, maybe._value); if (!value._hasValue && !maybe._hasValue) return new Maybe<TResult>(value._error, value.AggregateErrors, maybe._error, maybe.AggregateErrors); if (!maybe._hasValue) return new Maybe<TResult>(maybe._error); return new Maybe<TResult>(value._error); } /// <summary> /// When both Maybes contain values, they are passed to the Bind function; the value TResult is then used to create a new Maybe. /// <para>Alternatively the existing error(s) are propagated to the new Maybe without invoking Bind. /// </summary> /// <param name="maybe">The second Maybe to Bind with.</param> /// <param name="bind">A function that takes values from both Maybes, and produces a TResult.</param> public static Maybe<TResult> Bind<TValue, TBindValue, TResult>(this Maybe<TValue> value, Maybe<TBindValue> maybe, Func<TValue, TBindValue, TResult> bind) { if (value._hasValue && maybe._hasValue) return new Maybe<TResult>(bind(value._value, maybe._value)); if (!value._hasValue && !maybe._hasValue) return new Maybe<TResult>(value._error, value.AggregateErrors, maybe._error, maybe.AggregateErrors); if (!maybe._hasValue) return new Maybe<TResult>(maybe._error); return new Maybe<TResult>(value._error); } /// <summary> /// When both Maybes contain values, they are passed to the Bind function; the value TResult is then used to create a new Maybe. /// <para>Alternatively the existing error(s) are propagated to the new Maybe without invoking Bind. /// </summary> /// <param name="maybe">The second Maybe to Bind with.</param> /// <param name="bind">A function that takes values from both Maybes, and produces a TResult.</param> public static Task<Maybe<TResult>> BindAsync<TValue, TBindValue, TResult>(this Maybe<TValue> value, Maybe<TBindValue> maybe, Func<TValue, TBindValue, Task<Maybe<TResult>>> bind) { if (value._hasValue && maybe._hasValue) return bind(value._value, maybe._value); if (!value._hasValue && !maybe._hasValue) return Task.FromResult(new Maybe<TResult>(value._error, value.AggregateErrors, maybe._error, maybe.AggregateErrors)); if (!maybe._hasValue) return Task.FromResult(new Maybe<TResult>(maybe._error)); return Task.FromResult(new Maybe<TResult>(value._error)); } /// <summary> /// When both Maybes contain values, they are passed to the Bind function; the value TResult is then used to create a new Maybe. /// <para>Alternatively the existing error(s) are propagated to the new Maybe without invoking Bind. /// </summary> /// <param name="maybe">The second Maybe to Bind with.</param> /// <param name="bind">A function that takes values from both Maybes, and produces a TResult.</param> public static Task<Maybe<TResult>> BindAsync<TValue, TBindValue, TResult>(this Maybe<TValue> value, Maybe<TBindValue> maybe, Func<TValue, TBindValue, Task<TResult>> bind) { if (value._hasValue && maybe._hasValue) return bind(value._value, maybe._value).ContinueWith(x => new Maybe<TResult>(x.Result)); if (!value._hasValue && !maybe._hasValue) return Task.FromResult(new Maybe<TResult>(value._error, value.AggregateErrors, maybe._error, maybe.AggregateErrors)); if (!maybe._hasValue) return Task.FromResult(new Maybe<TResult>(maybe._error)); return Task.FromResult(new Maybe<TResult>(value._error)); } /** Maybe Bind first arg is Task. **/ /// <summary> /// When both Maybes contain values, they are passed to the Bind function; the value TResult is then used to create a new Maybe. /// <para>Alternatively the existing error(s) are propagated to the new Maybe without invoking Bind. /// </summary> /// <param name="maybe">The second Maybe to Bind with.</param> /// <param name="bind">A function that takes values from both Maybes, and produces a TResult.</param> public static Task<Maybe<TResult>> BindAsync<TValue, TBindValue, TResult>(this Task<Maybe<TValue>> value, Maybe<TBindValue> maybe, Func<TValue, TBindValue, Maybe<TResult>> bind) { return value.ContinueWith(x => Bind(x.Result, maybe, bind)); } /// <summary> /// When both Maybes contain values, they are passed to the Bind function; the value TResult is then used to create a new Maybe. /// <para>Alternatively the existing error(s) are propagated to the new Maybe without invoking Bind. /// </summary> /// <param name="maybe">The second Maybe to Bind with.</param> /// <param name="bind">A function that takes values from both Maybes, and produces a TResult.</param> public static Task<Maybe<TResult>> BindAsync<TValue, TBindValue, TResult>(this Task<Maybe<TValue>> value, Maybe<TBindValue> maybe, Func<TValue, TBindValue, TResult> bind) { return value.ContinueWith(x => Bind(x.Result, maybe, bind)); } /// <summary> /// When both Maybes contain values, they are passed to the Bind function; the value TResult is then used to create a new Maybe. /// <para>Alternatively the existing error(s) are propagated to the new Maybe without invoking Bind. /// </summary> /// <param name="maybe">The second Maybe to Bind with.</param> /// <param name="bind">A function that takes values from both Maybes, and produces a TResult.</param> public static Task<Maybe<TResult>> BindAsync<TValue, TBindValue, TResult>(this Task<Maybe<TValue>> value, Maybe<TBindValue> maybe, Func<TValue, TBindValue, Task<Maybe<TResult>>> bind) { return value.ContinueWith(x => BindAsync(x.Result, maybe, bind)).Unwrap(); } /// <summary> /// When both Maybes contain values, they are passed to the Bind function; the value TResult is then used to create a new Maybe. /// <para>Alternatively the existing error(s) are propagated to the new Maybe without invoking Bind. /// </summary> /// <param name="maybe">The second Maybe to Bind with.</param> /// <param name="bind">A function that takes values from both Maybes, and produces a TResult.</param> public static Task<Maybe<TResult>> BindAsync<TValue, TBindValue, TResult>(this Task<Maybe<TValue>> value, Maybe<TBindValue> maybe, Func<TValue, TBindValue, Task<TResult>> bind) { return value.ContinueWith(x => BindAsync(x.Result, maybe, bind)).Unwrap(); } /** Maybe Bind second arg is Task. **/ /// <summary> /// When both Maybes contain values, they are passed to the Bind function; the value TResult is then used to create a new Maybe. /// <para>Alternatively the existing error(s) are propagated to the new Maybe without invoking Bind. /// </summary> /// <param name="maybe">The second Maybe to Bind with.</param> /// <param name="bind">A function that takes values from both Maybes, and produces a TResult.</param> public static Task<Maybe<TResult>> BindAsync<TValue, TBindValue, TResult>(this Maybe<TValue> value, Task<Maybe<TBindValue>> maybe, Func<TValue, TBindValue, Maybe<TResult>> bind) { return maybe.ContinueWith(x => Bind(value, x.Result, bind)); } /// <summary> /// When both Maybes contain values, they are passed to the Bind function; the value TResult is then used to create a new Maybe. /// <para>Alternatively the existing error(s) are propagated to the new Maybe without invoking Bind. /// </summary> /// <param name="maybe">The second Maybe to Bind with.</param> /// <param name="bind">A function that takes values from both Maybes, and produces a TResult.</param> public static Task<Maybe<TResult>> BindAsync<TValue, TBindValue, TResult>(this Maybe<TValue> value, Task<Maybe<TBindValue>> maybe, Func<TValue, TBindValue, TResult> bind) { return maybe.ContinueWith(x => Bind(value, x.Result, bind)); } /// <summary> /// When both Maybes contain values, they are passed to the Bind function; the value TResult is then used to create a new Maybe. /// <para>Alternatively the existing error(s) are propagated to the new Maybe without invoking Bind. /// </summary> /// <param name="maybe">The second Maybe to Bind with.</param> /// <param name="bind">A function that takes values from both Maybes, and produces a TResult.</param> public static Task<Maybe<TResult>> BindAsync<TValue, TBindValue, TResult>(this Maybe<TValue> value, Task<Maybe<TBindValue>> maybe, Func<TValue, TBindValue, Task<Maybe<TResult>>> bind) { return maybe.ContinueWith(x => BindAsync(value, x.Result, bind)).Unwrap(); } /// <summary> /// When both Maybes contain values, they are passed to the Bind function; the value TResult is then used to create a new Maybe. /// <para>Alternatively the existing error(s) are propagated to the new Maybe without invoking Bind. /// </summary> /// <param name="maybe">The second Maybe to Bind with.</param> /// <param name="bind">A function that takes values from both Maybes, and produces a TResult.</param> public static Task<Maybe<TResult>> BindAsync<TValue, TBindValue, TResult>(this Maybe<TValue> value, Task<Maybe<TBindValue>> maybe, Func<TValue, TBindValue, Task<TResult>> bind) { return maybe.ContinueWith(x => BindAsync(value, x.Result, bind)).Unwrap(); } /** Maybe Bind first, and second args are Tasks. **/ /// <summary> /// When both Maybes contain values, they are passed to the Bind function; the value TResult is then used to create a new Maybe. /// <para>Alternatively the existing error(s) are propagated to the new Maybe without invoking Bind. /// </summary> /// <param name="maybe">The second Maybe to Bind with.</param> /// <param name="bind">A function that takes values from both Maybes, and produces a TResult.</param> public static Task<Maybe<TResult>> BindAsync<TValue, TBindValue, TResult>(this Task<Maybe<TValue>> value, Task<Maybe<TBindValue>> maybe, Func<TValue, TBindValue, Maybe<TResult>> bind) { return Task.WhenAll(value, maybe).ContinueWith(_ => Bind(value.Result, maybe.Result, bind)); } /// <summary> /// When both Maybes contain values, they are passed to the Bind function; the value TResult is then used to create a new Maybe. /// <para>Alternatively the existing error(s) are propagated to the new Maybe without invoking Bind. /// </summary> /// <param name="maybe">The second Maybe to Bind with.</param> /// <param name="bind">A function that takes values from both Maybes, and produces a TResult.</param> public static Task<Maybe<TResult>> BindAsync<TValue, TBindValue, TResult>(this Task<Maybe<TValue>> value, Task<Maybe<TBindValue>> maybe, Func<TValue, TBindValue, TResult> bind) { return Task.WhenAll(value, maybe).ContinueWith(_ => Bind(value.Result, maybe.Result, bind)); } /// <summary> /// When both Maybes contain values, they are passed to the Bind function; the value TResult is then used to create a new Maybe. /// <para>Alternatively the existing error(s) are propagated to the new Maybe without invoking Bind. /// </summary> /// <param name="maybe">The second Maybe to Bind with.</param> /// <param name="bind">A function that takes values from both Maybes, and produces a TResult.</param> public static Task<Maybe<TResult>> BindAsync<TValue, TBindValue, TResult>(this Task<Maybe<TValue>> value, Task<Maybe<TBindValue>> maybe, Func<TValue, TBindValue, Task<Maybe<TResult>>> bind) { return Task.WhenAll(value, maybe).ContinueWith(_ => BindAsync(value.Result, maybe.Result, bind)).Unwrap(); } /// <summary> /// When both Maybes contain values, they are passed to the Bind function; the value TResult is then used to create a new Maybe. /// <para>Alternatively the existing error(s) are propagated to the new Maybe without invoking Bind. /// </summary> /// <param name="maybe">The second Maybe to Bind with.</param> /// <param name="bind">A function that takes values from both Maybes, and produces a TResult.</param> public static Task<Maybe<TResult>> BindAsync<TValue, TBindValue, TResult>(this Task<Maybe<TValue>> value, Task<Maybe<TBindValue>> maybe, Func<TValue, TBindValue, Task<TResult>> bind) { return Task.WhenAll(value, maybe).ContinueWith(_ => BindAsync(value.Result, maybe.Result, bind)).Unwrap(); } #endregion } }
29,000
https://github.com/foxycom/WatchNextApp/blob/master/app/src/main/java/com/lineargs/watchnext/utils/dbutils/CreditDbUtils.java
Github Open Source
Open Source
MIT
2,019
WatchNextApp
foxycom
Java
Code
238
870
package com.lineargs.watchnext.utils.dbutils; import android.content.ContentValues; import com.lineargs.watchnext.data.DataContract; import com.lineargs.watchnext.utils.retrofit.credits.Cast; import com.lineargs.watchnext.utils.retrofit.credits.Credits; import com.lineargs.watchnext.utils.retrofit.credits.Crew; import java.util.List; /** * Created by goranminov on 11/11/2017. * <p> * Utilities Helper class used for the Credits API response */ public class CreditDbUtils { /* Final variable for our poster and backdrop path*/ private static final String IMAGE_SMALL_BASE = "http://image.tmdb.org/t/p/w500/"; /** * Builds ContentValues[] used for our ContentResolver * * @param credits List used to get the values from our API response * @param id The ID of the movie / serie * @return The {@link ContentValues} */ public static ContentValues[] getCastContentValues(Credits credits, String id) { List<Cast> casts = credits.getCast(); int i = 0; ContentValues[] values = new ContentValues[casts.size()]; for (Cast cast : casts) { ContentValues contentValues = new ContentValues(); contentValues.put(DataContract.Credits.COLUMN_MOVIE_ID, id); contentValues.put(DataContract.Credits.COLUMN_CHARACTER_NAME, cast.getCharacter()); contentValues.put(DataContract.Credits.COLUMN_NAME, cast.getName()); contentValues.put(DataContract.Credits.COLUMN_PERSON_ID, cast.getId()); contentValues.put(DataContract.Credits.COLUMN_PROFILE_PATH, IMAGE_SMALL_BASE + String.valueOf(cast.getProfilePath())); values[i] = contentValues; i++; } return values; } /** * Builds ContentValues[] used for our ContentResolver * * @param credits List used to get the values from our API response * @param id The ID of the movie / serie * @return The {@link ContentValues} */ @SuppressWarnings("unused") public static ContentValues[] getCrewContentValues(Credits credits, String id) { List<Crew> crews = credits.getCrew(); int i = 0; ContentValues[] values = new ContentValues[crews.size()]; for (Crew crew : crews) { ContentValues contentValues = new ContentValues(); contentValues.put(DataContract.Credits.COLUMN_MOVIE_ID, id); contentValues.put(DataContract.Credits.COLUMN_NAME, crew.getName()); contentValues.put(DataContract.Credits.COLUMN_PERSON_ID, crew.getId()); contentValues.put(DataContract.Credits.COLUMN_PROFILE_PATH, IMAGE_SMALL_BASE + String.valueOf(crew.getProfilePath())); contentValues.put(DataContract.Credits.COLUMN_JOB, crew.getJob()); contentValues.put(DataContract.Credits.COLUMN_TYPE, 1); values[i] = contentValues; i++; } return values; } }
47,833
https://github.com/dfraser74/elearning-pwa/blob/master/resources/views/auth/register.blade.php
Github Open Source
Open Source
MIT
2,017
elearning-pwa
dfraser74
Blade
Code
134
500
@extends('layouts.template') @section('content') <div class="container"> <div class="section"> <form class="form-small" role="form" method="POST" action="{{ route('register') }}"> {{ csrf_field() }} <h4>Register</h4> <div class="row" style="padding-top:25px"> <div class="input-field col s12"> <input placeholder="Your Full Name" id="name" type="text" class="validate" name="name" value="{{ old('name') }}" required autofocus> <label class="active" for="name">Name</label> </div> <div class="input-field col s12"> <input placeholder="Your Email Address" id="email" type="email" class="validate" name="email" value="{{ old('email') }}" required autofocus> <label class="active" for="email">Email</label> </div> <div class="input-field col s12"> <input placeholder="Keep it secret" id="password" type="password" class="validate" name="password" required> <label class="active" for="password">Password</label> </div> <div class="input-field col s12"> <input placeholder="Re-type your password" id="password-confirm" type="password" class="validate" name="password_confirmation" required> <label class="active" for="password-confirm">Confirm Password</label> </div> <div class="input-field col s12"> <button class="col s12 btn gradient-2 waves-effect waves-light" type="submit" name="action">Create account</button> </div> <div class="input-field col s12"> <a href="{{ url('/login') }}" class="col s12 center">Already have an account? Sign in</a> </div> </div> </form> </div> </div> @endsection
18,086
https://github.com/tjoen/WebSaver/blob/master/Scr/Input/InputTracker.cs
Github Open Source
Open Source
MIT
2,013
WebSaver
tjoen
C#
Code
317
863
using System; using System.ComponentModel; using System.Timers; namespace Scr.Input { // use input activity tracking wrapper partial class InputTracker : IDisposable { public class InputChangedEventArgs : EventArgs { public DateTime Initial { get; set; } public DateTime Changed { get; set; } } private bool disposed; private readonly object timerLock; private readonly Timer timer; // two input info instances to compare private readonly InputInfo initialInfo; private InputInfo actualInfo; // state public bool Enabled { get { lock (timerLock) return timer.Enabled; } set { lock (timerLock) timer.Enabled = value; } } // user input polling interval public double Interval { get { return timer.Interval; } set { if (value <= 0 || value > Int32.MaxValue) throw new ArgumentOutOfRangeException("value"); timer.Interval = value; } } // Changed event related public ISynchronizeInvoke SynchronizingObject { get { return timer.SynchronizingObject; } set { timer.SynchronizingObject = value; } } // occurs when initialInfo != actualInfo public event EventHandler<InputChangedEventArgs> Changed; public InputTracker(EventHandler<InputChangedEventArgs> changed) { var handler = changed; if (handler != null) Changed += handler; disposed = false; timerLock = new object(); timer = new Timer { AutoReset = true, Enabled = false }; timer.Elapsed += timer_Elapsed; initialInfo = InputInfo.Create(); actualInfo = (InputInfo)initialInfo.Clone(); } public InputTracker() : this(null) { } ~InputTracker() { Dispose(false); } // user input polling private void timer_Elapsed(object sender, ElapsedEventArgs e) { lock (timerLock) { actualInfo.Update(); // compare user input info if (!initialInfo.Equals(actualInfo)) { timer.Stop(); var handler = Changed; if (handler != null) { // fire changed event handler(this, new InputChangedEventArgs { Initial = initialInfo.DateTime, Changed = actualInfo.DateTime }); } } } } private void Dispose(bool disposing) { if (!disposed) { if (disposing) { timer.Stop(); timer.Dispose(); } disposed = true; } } public void Dispose() { Dispose(true); GC.SuppressFinalize(this); } // starts user input polling public void Start() { lock (timerLock) { initialInfo.Update(); actualInfo = (InputInfo)initialInfo.Clone(); timer.Start(); } } // stopts user input polling public void Stop() { lock (timerLock) timer.Stop(); } } }
38,549
https://github.com/ctripcorp/x-pipe/blob/master/redis/redis-keeper/src/main/java/com/ctrip/xpipe/redis/keeper/store/DefaultDumpedRdbStore.java
Github Open Source
Open Source
Apache-2.0
2,023
x-pipe
ctripcorp
Java
Code
73
295
package com.ctrip.xpipe.redis.keeper.store; import com.ctrip.xpipe.redis.core.protocal.protocal.EofType; import com.ctrip.xpipe.redis.core.store.DumpedRdbStore; import java.io.File; import java.io.IOException; /** * @author wenchao.meng * * Aug 26, 2016 */ public class DefaultDumpedRdbStore extends DefaultRdbStore implements DumpedRdbStore{ public DefaultDumpedRdbStore(File file) throws IOException { super(file, -1, null); } @Override public EofType getEofType() { return this.eofType; } @Override public void setEofType(EofType eofType) { this.eofType = eofType; } @Override public File getRdbFile() { return file; } @Override public void setRdbOffset(long rdbOffset){ this.rdbOffset = rdbOffset; } }
8,857
https://github.com/jkrug/oxid-rest-api/blob/master/app/Http/Controllers/ArticleControllerOxid.php
Github Open Source
Open Source
Apache-2.0
2,018
oxid-rest-api
jkrug
PHP
Code
107
347
<?php namespace App\Http\Controllers; use App\Article; // OXID classes use OxidEsales\Eshop\Application\Model\Article as OxidArticle; use OxidEsales\Eshop\Application\Model\ArticleList as OxidArticleList; class ArticleControllerOxid extends BaseControllerOxid { /** * Load full OXID article * * @param string $id * * @return void */ public function showOneArticle($id) { $article = oxNew(OxidArticle::class); // disable lazy loading to get all fields immediately $article->disableLazyLoading(); if ($article->load($id)) { $articleObject = $this->_oxObject2Array($article); return response()->json($articleObject); } return response('Article with id ' . $id . ' not found', 404); } public function showAllArticles() { $articleList = oxNew(OxidArticleList::class); $articleList->selectString('SELECT * FROM oxarticles'); if (count($articleList)) { // TODO @smxsm: object2array $articleListObject = $this->_oxObject2Array($articleList); return response()->json($articleListObject); } return response('No articles found', 404); } }
47,687
https://github.com/rvianello/chemicalite/blob/master/src/mol.hpp
Github Open Source
Open Source
BSD-3-Clause
2,022
chemicalite
rvianello
C++
Code
90
334
#ifndef CHEMICALITE_MOLECULE_INCLUDED #define CHEMICALITE_MOLECULE_INCLUDED #include <string> namespace RDKit { class ROMol; class RWMol; } // namespace RDKit std::string mol_to_binary_mol(const RDKit::ROMol &, int *); Blob binary_mol_to_blob(const std::string &, int *); Blob mol_to_blob(const RDKit::ROMol &, int *); std::string blob_to_binary_mol(const Blob &, int *); RDKit::ROMol * binary_mol_to_romol(const std::string &, int *); RDKit::RWMol * binary_mol_to_rwmol(const std::string &, int *); RDKit::ROMol * blob_to_romol(const Blob &, int *); RDKit::RWMol * blob_to_rwmol(const Blob &, int *); std::string arg_to_binary_mol(sqlite3_value *, int *); RDKit::ROMol * arg_to_romol(sqlite3_value *, int *); RDKit::RWMol * arg_to_rwmol(sqlite3_value *, int *); void free_romol_auxdata(void *); #endif
44,055
https://github.com/zx-github/KingTV/blob/master/rxjava/src/main/java/com/csizg/rxjava/retrofit/RetrofitManager.java
Github Open Source
Open Source
MIT
2,020
KingTV
zx-github
Java
Code
163
621
package com.csizg.rxjava.retrofit; import com.csizg.rxjava.Utils.LogUtil; import retrofit2.Call; import retrofit2.Callback; import retrofit2.Response; import retrofit2.Retrofit; import retrofit2.converter.gson.GsonConverterFactory; /** * Created by Leo on 2018/4/11. * * @description: */ public class RetrofitManager { private static RetrofitManager manager; public static RetrofitManager getManager() { if (null == manager) { manager = new RetrofitManager(); } return manager; } public void requestGet() { Retrofit retrofit = new Retrofit.Builder() .baseUrl("http://fy.iciba.com/") .addConverterFactory(GsonConverterFactory.create()) .build(); GetRequest_Interface gInterface = retrofit.create(GetRequest_Interface.class); Call<Translation> call = gInterface.getCall(); call.enqueue(new Callback<Translation>() { @Override public void onResponse(Call<Translation> call, Response<Translation> response) { response.body().show(); } @Override public void onFailure(Call<Translation> call, Throwable t) { LogUtil.e("", "requestGet", "onFailure: " + t.getMessage()); } }); } public void requestPost() { Retrofit retrofit = new Retrofit.Builder() .baseUrl("http://fanyi.youdao.com/") .addConverterFactory(GsonConverterFactory.create()) .build(); GetRequest_Interface request_interface = retrofit.create(GetRequest_Interface.class); Call<Translation1> call = request_interface.getCall("I love you"); call.enqueue(new Callback<Translation1>() { @Override public void onResponse(Call<Translation1> call, Response<Translation1> response) { String tgt = response.body().getTranslateResult().get(0).get(0).getTgt(); LogUtil.i("", "requestPost", "tgt: " + tgt); } @Override public void onFailure(Call<Translation1> call, Throwable t) { LogUtil.e("", "requestPost", "onFailure: " + t.getMessage()); } }); } }
14,756
https://github.com/theDigg/next-peerswap/blob/master/src/components2/MUIDemo/DividerText.tsx
Github Open Source
Open Source
MIT
2,021
next-peerswap
theDigg
TSX
Code
190
589
import * as React from "react"; import { styled } from "@mui/material/styles"; import Divider from "@mui/material/Divider"; import Chip from "@mui/material/Chip"; import MuiGrid from "@mui/material/Grid"; const Root = styled("div")(({ theme }) => ({ width: "100%", ...theme.typography.body2, "& > :not(style) + :not(style)": { marginTop: theme.spacing(2), }, })); const Grid = styled(MuiGrid)(({ theme }) => ({ width: "100%", ...theme.typography.body2, '& [role="separator"]': { margin: theme.spacing(0, 2), }, })); export default function DividerText() { const content = ( <div> {`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus id dignissim justo. Nulla ut facilisis ligula. Interdum et malesuada fames ac ante ipsum primis in faucibus. Sed malesuada lobortis pretium.`} </div> ); return ( <Root> {content} <Divider>CENTER</Divider> {content} <Divider textAlign="left">LEFT</Divider> {content} <Divider textAlign="right">RIGHT</Divider> {content} <Divider> <Chip label="CHIP" /> </Divider> {content} </Root> ); } export function VerticalDividerText() { const content = ( <div> {`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus id dignissim justo. Nulla ut facilisis ligula. Interdum et malesuada fames ac ante ipsum primis in faucibus. Sed malesuada lobortis pretium.`} </div> ); return ( <Grid container> <Grid item xs> {content} </Grid> <Divider orientation="vertical" flexItem> VERTICAL </Divider> <Grid item xs> {content} </Grid> </Grid> ); }
8,942
https://github.com/niazangels/context_attentive_ir/blob/master/neuroir/objects/document.py
Github Open Source
Open Source
MIT
2,021
context_attentive_ir
niazangels
Python
Code
279
807
__author__ = 'wasi' class Document(object): """Document containing annotated text, original text, selection label and all the extractive spans that can be an answer for the associated question. """ def __init__(self, _id=None): self._id = _id self._url = None self._url_tokens = [] self._title = None self._title_tokens = [] self._content = None self._content_tokens = [] self._tokens = [] self._label = 0 # whether document is clicked @property def id(self) -> str: return self._id @property def url(self) -> str: return self._url @url.setter def url(self, param: str) -> None: self._url = param @property def url_tokens(self) -> list: return self._url_tokens @url_tokens.setter def url_tokens(self, param: list) -> None: if not isinstance(param, list): raise TypeError('Document->url.tokens must be a list') self._url_tokens = param @property def title(self) -> str: return self._title @title.setter def title(self, param: str) -> None: self._title = param @property def title_tokens(self) -> list: return self._url_tokens @title_tokens.setter def title_tokens(self, param: list) -> None: if not isinstance(param, list): raise TypeError('Document->title.tokens must be a list') self._title_tokens = param @property def content(self) -> str: return self._content @content.setter def content(self, param: str) -> None: self._content = param @property def content_tokens(self) -> list: return self._content_tokens @content_tokens.setter def content_tokens(self, param: list) -> None: if not isinstance(param, list): raise TypeError('Document->content.tokens must be a list') self._content_tokens = param @property def tokens(self) -> list: return self._tokens @tokens.setter def tokens(self, param: list) -> None: if not isinstance(param, list): raise TypeError('Document.tokens must be a list') self._tokens = param @property def label(self) -> int: return self._label @label.setter def label(self, param: int) -> None: self._label = param def __len__(self): return len(self.tokens) def vectorize(self, word_dict, _type='word') -> list: if _type == 'word': return [word_dict[w] for w in self.tokens] elif _type == 'char': return [word_dict.word_to_char_ids(w).tolist() for w in self.tokens] else: assert False
43,447
https://github.com/gayoxo/UCMnote/blob/master/src/lector/client/admin/export/admin/ButtonTemplateRep.java
Github Open Source
Open Source
Apache-1.1
2,017
UCMnote
gayoxo
Java
Code
39
152
package lector.client.admin.export.admin; import lector.share.model.client.TemplateCategoryClient; import com.google.gwt.user.client.ui.Button; public class ButtonTemplateRep extends Button { private RepresentacionTemplateCategory T; public ButtonTemplateRep(String name, RepresentacionTemplateCategory t) { super(name); T=t; } public TemplateCategoryClient getT() { return T.getT(); } public RepresentacionTemplateCategory getTRep() { return T; } }
10,605
https://github.com/SolidTeamDev/SolidEngine/blob/master/SolidEngine/Src/Core/taskManager.cpp
Github Open Source
Open Source
MIT
2,021
SolidEngine
SolidTeamDev
C++
Code
218
898
// // Created by ryan1 on 09/03/2021. // #include <functional> #include <mutex> #include "Build/solidAPI.hpp" #include "Core/task.hpp" #include "Core/taskManager.hpp" using namespace Solid; Solid::TaskManager::TaskManager() { taskPool.reserve(50); } Task *Solid::TaskManager::getTaskByType(const ETaskType &_s) { std::lock_guard<std::mutex> Lock(taskSystemGuard); for(auto& element : taskPool) { if(element->IsInProgress() || element->Error() || element->IsFinished() || element->IsDispatched()) continue; if(element->GetType() == _s) { element->Dispatch(); return element; } } return nullptr; } Task *Solid::TaskManager::GetFirstAvailableTask() { std::lock_guard<std::mutex> Lock(taskSystemGuard); for(auto& element : taskPool) { if(element->IsInProgress() || element->Error() || element->IsFinished() || element->IsDispatched()) continue; element->Dispatch(); return element; } return nullptr; } Task *Solid::TaskManager::getTaskByID(const std::string &_s) { //std::lock_guard<std::mutex> Lock(TaskSystemGuard); for(auto& element : taskPool) { if(element->getID() == _s) { return element; } } return nullptr; } Task *Solid::TaskManager::getTaskByIndex(int _index) { std::lock_guard<std::mutex> Lock(taskSystemGuard); if(taskPool.size() - 1 < _index) { if(taskPool[_index]->IsDispatched()) return nullptr; return (taskPool[_index]); } return nullptr; } TaskManager &Solid::TaskManager::RemoveTaskById(const std::string_view &_s) { std::lock_guard<std::mutex> Lock(taskSystemGuard); for(int i = 0; i < taskPool.size(); ++i) { auto& element = taskPool.at(i); if(element->getID() == _s) { if(!element->IsDispatched()) { delete element; taskPool.erase(taskPool.begin() + i); break; } } } return *this; } Task &Solid::TaskManager::AddTask(Task &&_t) { std::lock_guard<std::mutex> Lock(taskSystemGuard); taskPool.push_back(new Task(std::move(_t))); return *taskPool.back(); } bool Solid::TaskManager::IsEmpty() { std::lock_guard<std::mutex> Lock(taskSystemGuard); bool b = true; for(auto & element : taskPool) { if(element->IsFinished() || element->IsInProgress() || element->Error() || element->IsDispatched()) continue; b =false; } return b; } TaskManager::~TaskManager() { std::lock_guard<std::mutex> Lock(taskSystemGuard); for(auto & element : taskPool) { delete element; } }
39,512
https://github.com/felixkpt/fool365/blob/master/app/Views/templates/footer.php
Github Open Source
Open Source
MIT
null
fool365
felixkpt
PHP
Code
263
1,347
</div> </div> <!-- END Main CONTENT--> <?php require APPPATH."Views/templates/right-nav.php" ?> </div> <!--End CONTENT AND RIGHT NAV Row--> </main> </div> <footer id="footer" class="kpt-footer py-5 mt-5 bg-dark"> <div class="modal fade" id="modal1" tabindex="-1" aria-labelledby="mainModalLabel" aria-hidden="true"> </div> <div class="modal fade" id="modal2" tabindex="-1" aria-labelledby="mainModalLabel2" aria-hidden="true"> </div> <script> jQuery(document).ready(function ($){ let modal = `<?php require 'modal.php' ?>`; $('#modal1,#modal2').html(modal) }) </script> <div class="container py-5"> <div class="row"> <div class="col-lg-3 mb-3"> <a class="d-inline-flex align-items-center mb-2 link-dark text-decoration-none" href="<?= site_url() ?>" aria-label="<?= site_name() ?>"> <img class="rounded-circle" style="width: 45px; height: auto" src="<?= base_url('public/images/users/Franz-Joseph-Haydn.jpg') ?>" alt="Site Logo"> <span class="fs-5 ms-2 text-white-50 text-decoration-underline"><?= site_name() ?></span> </a> <ul class="list-unstyled small text-muted"> <li class="mb-2">Designed and built with all the love <a href="https://diplomatsolutions.com">Diplomat Solutions</a></li> <li class="mb-2">Websites designed and published 114+</li> </ul> </div> <div class="col-6 col-lg-2 offset-lg-1 mb-3"> <h5 class="text-white-50 text-decoration-underline">Links</h5> <ul class="list-unstyled"> <li class="mb-2"><a href="<?= site_url() ?>">Home</a></li> <li class="mb-2"><a href="<?= site_url('betting-system') ?>">Betting Systems</a></li> <li class="mb-2"><a href="<?= site_url('about-us') ?>">About Us</a></li> <li class="mb-2"><a href="<?= site_url('privacy-policy') ?>">Privacy Policy</a></li> <li class="mb-2"><a href="<?= site_url('blog') ?>">Blog</a></li> </ul> </div> <div class="col-6 col-lg-2 mb-3"> <h5 class="text-white-50 text-decoration-underline">Guides</h5> <ul class="list-unstyled"> <li class="mb-2"><a href="<?= site_url('blog/how-to-subscribe') ?>">How to subscribe</a></li> <li class="mb-2"><a href="<?= site_url('blog/bankroll') ?>">Bankroll</a></li> <li class="mb-2"><a href="<?= site_url('blog/betting-rules') ?>">Betting rules</a></li> </ul> </div> <div class="col-6 col-lg-2 mb-3"> <h5 class="text-white-50 text-decoration-underline">User</h5> <ul class="list-unstyled"> <?php if (!session('user')): ?> <li class="mb-2"><a href="<?= site_url('user/login') ?>">Login</a></li> <li class="mb-2"><a href="<?= site_url('user/register') ?>">Register</a></li> <?php else: ?> <li class="mb-2"><a href="<?= site_url('user/account') ?>">Account</a></li> <li class="mb-2"><a href="<?= site_url('user/logout') ?>">Logout</a></li> <?php endif; ?> </ul> </div> <div class="col-6 col-lg-2 mb-3"> <h5 class="text-white-50 text-decoration-underline">Social Media</h5> <ul class="list-unstyled"> <li class="mb-2"><a href="https://facebook.com/fool365"><span class="fa fa-facebook"></span>Facebook</a></li> <li class="mb-2"><a href="https://twitter.com/fool365"><span class="fa fa-facebook"></span>Twitter</a></li> <li class="mb-2"><a href="https://instagram.com/fool365"><span class="fa fa-facebook"></span>Instagram</a></li> <li class="mb-2"><a href="https://snapchat.com/fool365"><span class="fa fa-facebook"></span>Snapchat</a></li> </ul> </div> </div> </div> </footer> </body> </html>
30,505
https://github.com/hexabitzinc/H10R4x-Hardware/blob/master/H10R40/Released/Gerber/copper_bottom.gbr
Github Open Source
Open Source
MIT
2,019
H10R4x-Hardware
hexabitzinc
Gerber Image
Code
8,987
96,928
G04 EAGLE Gerber RS-274X export* G75* %MOMM*% %FSLAX34Y34*% %LPD*% %INBottom Copper*% %IPPOS*% %AMOC8* 5,1,8,0,0,1.08239X$1,22.5*% G01* %ADD10R,1.000000X1.100000*% %ADD11R,1.500000X1.300000*% %ADD12C,0.124994*% %ADD13R,5.699988X5.699988*% %ADD14R,1.399997X0.400000*% %ADD15R,1.100000X1.000000*% %ADD16C,0.499997*% %ADD17C,0.999997*% %ADD18C,0.100000*% %ADD19C,1.778000*% %ADD20C,2.286000*% %ADD21C,0.812800*% %ADD22C,0.609600*% %ADD23C,0.355600*% %ADD24C,0.457200*% %ADD25C,0.254000*% %ADD26C,0.381000*% %ADD27C,0.406400*% %ADD28C,0.635000*% %ADD29C,0.508000*% %ADD30C,0.762000*% %ADD31C,0.203200*% G36* X93320Y68221D02* X93320Y68221D01* X93390Y68220D01* X93477Y68241D01* X93567Y68253D01* X93631Y68278D01* X93699Y68295D01* X93779Y68337D01* X93862Y68370D01* X93919Y68411D01* X93980Y68443D01* X94047Y68504D01* X94120Y68556D01* X94164Y68610D01* X94216Y68657D01* X94265Y68732D01* X94322Y68801D01* X94352Y68865D01* X94390Y68923D01* X94420Y69008D01* X94458Y69089D01* X94471Y69158D01* X94494Y69224D01* X94501Y69313D01* X94518Y69401D01* X94513Y69471D01* X94519Y69541D01* X94503Y69629D01* X94498Y69719D01* X94476Y69785D01* X94464Y69854D01* X94428Y69936D01* X94400Y70021D01* X94363Y70080D01* X94334Y70144D01* X94278Y70214D01* X94230Y70290D01* X94179Y70338D01* X94135Y70392D01* X94064Y70447D01* X93998Y70508D01* X93937Y70542D01* X93881Y70584D01* X93737Y70655D01* X89662Y72342D01* X86017Y75987D01* X84045Y80748D01* X84045Y85902D01* X86017Y90663D01* X89662Y94308D01* X94423Y96280D01* X99577Y96280D01* X104338Y94308D01* X107983Y90663D01* X109955Y85902D01* X109955Y80748D01* X107983Y75987D01* X104338Y72342D01* X100263Y70655D01* X100203Y70620D01* X100138Y70594D01* X100065Y70542D01* X99987Y70497D01* X99937Y70449D01* X99880Y70408D01* X99823Y70338D01* X99759Y70276D01* X99722Y70216D01* X99678Y70163D01* X99639Y70081D01* X99592Y70005D01* X99572Y69938D01* X99542Y69875D01* X99525Y69787D01* X99499Y69701D01* X99495Y69631D01* X99482Y69562D01* X99488Y69473D01* X99484Y69383D01* X99498Y69315D01* X99502Y69245D01* X99530Y69160D01* X99548Y69072D01* X99579Y69009D01* X99600Y68943D01* X99648Y68867D01* X99688Y68786D01* X99733Y68733D01* X99770Y68674D01* X99836Y68612D01* X99894Y68544D01* X99951Y68504D01* X100002Y68456D01* X100080Y68413D01* X100154Y68361D01* X100219Y68336D01* X100280Y68302D01* X100367Y68280D01* X100451Y68248D01* X100521Y68240D01* X100588Y68223D01* X100749Y68213D01* X107001Y68213D01* X107099Y68225D01* X107198Y68228D01* X107256Y68245D01* X107316Y68253D01* X107408Y68289D01* X107503Y68317D01* X107556Y68347D01* X107612Y68370D01* X107692Y68428D01* X107777Y68478D01* X107853Y68544D01* X107869Y68556D01* X107877Y68566D01* X107898Y68584D01* X133688Y94375D01* X143577Y94375D01* X143675Y94387D01* X143774Y94390D01* X143832Y94407D01* X143892Y94415D01* X143984Y94451D01* X144079Y94479D01* X144132Y94509D01* X144188Y94532D01* X144268Y94590D01* X144353Y94640D01* X144429Y94706D01* X144445Y94718D01* X144453Y94728D01* X144474Y94746D01* X152534Y102806D01* X152594Y102884D01* X152662Y102956D01* X152691Y103009D01* X152728Y103057D01* X152768Y103148D01* X152816Y103235D01* X152831Y103293D01* X152855Y103349D01* X152870Y103447D01* X152895Y103543D01* X152901Y103643D01* X152905Y103663D01* X152903Y103675D01* X152905Y103703D01* X152905Y117005D01* X152915Y117043D01* X152921Y117143D01* X152925Y117163D01* X152924Y117175D01* X152925Y117203D01* X152925Y119265D01* X154185Y120525D01* X157215Y120525D01* X157303Y120438D01* X157397Y120365D01* X157486Y120286D01* X157522Y120267D01* X157554Y120243D01* X157663Y120195D01* X157769Y120141D01* X157809Y120132D01* X157846Y120116D01* X157963Y120098D01* X158079Y120072D01* X158120Y120073D01* X158160Y120066D01* X158279Y120078D01* X158397Y120081D01* X158436Y120092D01* X158476Y120096D01* X158589Y120137D01* X158703Y120170D01* X158738Y120190D01* X158776Y120204D01* X158874Y120271D01* X158977Y120331D01* X159022Y120371D01* X159039Y120382D01* X159052Y120398D01* X159098Y120438D01* X159185Y120525D01* X162215Y120525D01* X162303Y120438D01* X162397Y120365D01* X162486Y120286D01* X162522Y120267D01* X162554Y120243D01* X162663Y120195D01* X162769Y120141D01* X162809Y120132D01* X162846Y120116D01* X162963Y120098D01* X163079Y120072D01* X163120Y120073D01* X163160Y120066D01* X163279Y120078D01* X163397Y120081D01* X163436Y120092D01* X163476Y120096D01* X163589Y120137D01* X163703Y120170D01* X163738Y120190D01* X163776Y120204D01* X163874Y120271D01* X163977Y120331D01* X164022Y120371D01* X164039Y120382D01* X164052Y120398D01* X164098Y120438D01* X164185Y120525D01* X167215Y120525D01* X167303Y120438D01* X167397Y120365D01* X167486Y120286D01* X167522Y120267D01* X167554Y120243D01* X167663Y120195D01* X167769Y120141D01* X167809Y120132D01* X167846Y120116D01* X167963Y120098D01* X168079Y120072D01* X168120Y120073D01* X168160Y120066D01* X168279Y120078D01* X168397Y120081D01* X168436Y120092D01* X168476Y120096D01* X168589Y120137D01* X168703Y120170D01* X168738Y120190D01* X168776Y120204D01* X168874Y120271D01* X168977Y120331D01* X169022Y120371D01* X169039Y120382D01* X169052Y120398D01* X169098Y120438D01* X169185Y120525D01* X172215Y120525D01* X172303Y120438D01* X172397Y120365D01* X172486Y120286D01* X172522Y120267D01* X172554Y120243D01* X172663Y120195D01* X172769Y120141D01* X172809Y120132D01* X172846Y120116D01* X172963Y120098D01* X173079Y120072D01* X173120Y120073D01* X173160Y120066D01* X173279Y120078D01* X173397Y120081D01* X173436Y120092D01* X173476Y120096D01* X173589Y120137D01* X173703Y120170D01* X173738Y120190D01* X173776Y120204D01* X173874Y120271D01* X173977Y120331D01* X174022Y120371D01* X174039Y120382D01* X174052Y120398D01* X174098Y120438D01* X174185Y120525D01* X177215Y120525D01* X177303Y120438D01* X177397Y120365D01* X177486Y120286D01* X177522Y120267D01* X177554Y120243D01* X177663Y120195D01* X177769Y120141D01* X177809Y120132D01* X177846Y120116D01* X177963Y120098D01* X178079Y120072D01* X178120Y120073D01* X178160Y120066D01* X178279Y120078D01* X178397Y120081D01* X178436Y120092D01* X178476Y120096D01* X178589Y120137D01* X178703Y120170D01* X178738Y120190D01* X178776Y120204D01* X178874Y120271D01* X178977Y120331D01* X179022Y120371D01* X179039Y120382D01* X179052Y120398D01* X179098Y120438D01* X179185Y120525D01* X182215Y120525D01* X182303Y120438D01* X182397Y120365D01* X182486Y120286D01* X182522Y120267D01* X182554Y120243D01* X182663Y120195D01* X182769Y120141D01* X182809Y120132D01* X182846Y120116D01* X182963Y120098D01* X183079Y120072D01* X183120Y120073D01* X183160Y120066D01* X183279Y120078D01* X183397Y120081D01* X183436Y120092D01* X183476Y120096D01* X183589Y120137D01* X183703Y120170D01* X183738Y120190D01* X183776Y120204D01* X183874Y120271D01* X183977Y120331D01* X184022Y120371D01* X184039Y120382D01* X184052Y120398D01* X184098Y120438D01* X184185Y120525D01* X187215Y120525D01* X187303Y120438D01* X187397Y120365D01* X187486Y120286D01* X187522Y120267D01* X187554Y120243D01* X187663Y120195D01* X187769Y120141D01* X187809Y120132D01* X187846Y120116D01* X187963Y120098D01* X188079Y120072D01* X188120Y120073D01* X188160Y120066D01* X188279Y120078D01* X188397Y120081D01* X188436Y120092D01* X188476Y120096D01* X188589Y120137D01* X188703Y120170D01* X188738Y120190D01* X188776Y120204D01* X188874Y120271D01* X188977Y120331D01* X189022Y120371D01* X189039Y120382D01* X189052Y120398D01* X189098Y120438D01* X189185Y120525D01* X192215Y120525D01* X192303Y120438D01* X192397Y120365D01* X192486Y120286D01* X192522Y120267D01* X192554Y120243D01* X192663Y120195D01* X192769Y120141D01* X192809Y120132D01* X192846Y120116D01* X192963Y120098D01* X193079Y120072D01* X193120Y120073D01* X193160Y120066D01* X193279Y120078D01* X193397Y120081D01* X193436Y120092D01* X193476Y120096D01* X193589Y120137D01* X193703Y120170D01* X193738Y120190D01* X193776Y120204D01* X193874Y120271D01* X193977Y120331D01* X194022Y120371D01* X194039Y120382D01* X194052Y120398D01* X194098Y120438D01* X194185Y120525D01* X197215Y120525D01* X197303Y120438D01* X197397Y120365D01* X197486Y120286D01* X197522Y120267D01* X197554Y120243D01* X197663Y120195D01* X197769Y120141D01* X197809Y120132D01* X197846Y120116D01* X197963Y120098D01* X198079Y120072D01* X198120Y120073D01* X198160Y120066D01* X198279Y120078D01* X198397Y120081D01* X198436Y120092D01* X198476Y120096D01* X198589Y120137D01* X198703Y120170D01* X198738Y120190D01* X198776Y120204D01* X198874Y120271D01* X198977Y120331D01* X199022Y120371D01* X199039Y120382D01* X199052Y120398D01* X199098Y120438D01* X199185Y120525D01* X201406Y120525D01* X201524Y120540D01* X201643Y120547D01* X201681Y120559D01* X201722Y120565D01* X201832Y120608D01* X201946Y120645D01* X201980Y120667D01* X202017Y120682D01* X202114Y120751D01* X202214Y120815D01* X202242Y120845D01* X202275Y120868D01* X202351Y120960D01* X202432Y121047D01* X202452Y121082D01* X202477Y121113D01* X202528Y121221D01* X202586Y121325D01* X202596Y121365D01* X202613Y121401D01* X202635Y121518D01* X202665Y121633D01* X202669Y121693D01* X202673Y121713D01* X202672Y121734D01* X202675Y121794D01* X202675Y124015D01* X202762Y124103D01* X202835Y124197D01* X202914Y124286D01* X202933Y124322D01* X202957Y124354D01* X203005Y124463D01* X203059Y124569D01* X203068Y124609D01* X203084Y124646D01* X203102Y124763D01* X203128Y124879D01* X203127Y124920D01* X203134Y124960D01* X203122Y125079D01* X203119Y125197D01* X203108Y125236D01* X203104Y125276D01* X203063Y125389D01* X203030Y125503D01* X203010Y125538D01* X202996Y125576D01* X202929Y125674D01* X202869Y125777D01* X202829Y125822D01* X202818Y125839D01* X202802Y125852D01* X202762Y125898D01* X202675Y125985D01* X202675Y129015D01* X202762Y129103D01* X202835Y129197D01* X202914Y129286D01* X202933Y129322D01* X202957Y129354D01* X203005Y129463D01* X203059Y129569D01* X203068Y129609D01* X203084Y129646D01* X203102Y129763D01* X203128Y129879D01* X203127Y129920D01* X203134Y129960D01* X203122Y130079D01* X203119Y130197D01* X203108Y130236D01* X203104Y130276D01* X203063Y130389D01* X203030Y130503D01* X203010Y130538D01* X202996Y130576D01* X202929Y130674D01* X202869Y130777D01* X202829Y130822D01* X202818Y130839D01* X202802Y130852D01* X202762Y130898D01* X202675Y130985D01* X202675Y134015D01* X202762Y134103D01* X202835Y134197D01* X202914Y134286D01* X202933Y134322D01* X202957Y134354D01* X203005Y134463D01* X203059Y134569D01* X203068Y134609D01* X203084Y134646D01* X203102Y134763D01* X203128Y134879D01* X203127Y134920D01* X203134Y134960D01* X203122Y135079D01* X203119Y135197D01* X203108Y135236D01* X203104Y135276D01* X203063Y135389D01* X203030Y135503D01* X203010Y135538D01* X202996Y135576D01* X202929Y135674D01* X202869Y135777D01* X202829Y135822D01* X202818Y135839D01* X202802Y135852D01* X202762Y135898D01* X202675Y135985D01* X202675Y139015D01* X202762Y139103D01* X202835Y139197D01* X202914Y139286D01* X202933Y139322D01* X202957Y139354D01* X203005Y139463D01* X203059Y139569D01* X203068Y139609D01* X203084Y139646D01* X203102Y139763D01* X203128Y139879D01* X203127Y139920D01* X203134Y139960D01* X203122Y140079D01* X203119Y140197D01* X203108Y140236D01* X203104Y140276D01* X203063Y140389D01* X203030Y140503D01* X203010Y140538D01* X202996Y140576D01* X202929Y140674D01* X202869Y140777D01* X202829Y140822D01* X202818Y140839D01* X202802Y140852D01* X202762Y140898D01* X202675Y140985D01* X202675Y144015D01* X202762Y144103D01* X202835Y144197D01* X202914Y144286D01* X202933Y144322D01* X202957Y144354D01* X203005Y144463D01* X203059Y144569D01* X203068Y144609D01* X203084Y144646D01* X203102Y144763D01* X203128Y144879D01* X203127Y144920D01* X203134Y144960D01* X203122Y145079D01* X203119Y145197D01* X203108Y145236D01* X203104Y145276D01* X203063Y145389D01* X203030Y145503D01* X203010Y145538D01* X202996Y145576D01* X202929Y145674D01* X202869Y145777D01* X202829Y145822D01* X202818Y145839D01* X202802Y145852D01* X202762Y145898D01* X202675Y145985D01* X202675Y149015D01* X202762Y149103D01* X202835Y149197D01* X202914Y149286D01* X202933Y149322D01* X202957Y149354D01* X203005Y149463D01* X203059Y149569D01* X203068Y149609D01* X203084Y149646D01* X203102Y149763D01* X203128Y149879D01* X203127Y149920D01* X203134Y149960D01* X203122Y150079D01* X203119Y150197D01* X203108Y150236D01* X203104Y150276D01* X203063Y150389D01* X203030Y150503D01* X203010Y150538D01* X202996Y150576D01* X202929Y150674D01* X202869Y150777D01* X202829Y150822D01* X202818Y150839D01* X202802Y150852D01* X202762Y150898D01* X202675Y150985D01* X202675Y154015D01* X202762Y154103D01* X202835Y154197D01* X202914Y154286D01* X202933Y154322D01* X202957Y154354D01* X203005Y154463D01* X203059Y154569D01* X203068Y154609D01* X203084Y154646D01* X203102Y154763D01* X203128Y154879D01* X203127Y154920D01* X203134Y154960D01* X203122Y155079D01* X203119Y155197D01* X203108Y155236D01* X203104Y155276D01* X203063Y155389D01* X203030Y155503D01* X203010Y155538D01* X202996Y155576D01* X202929Y155674D01* X202869Y155777D01* X202829Y155822D01* X202818Y155839D01* X202802Y155852D01* X202762Y155898D01* X202675Y155985D01* X202675Y159015D01* X202762Y159103D01* X202835Y159197D01* X202914Y159286D01* X202933Y159322D01* X202957Y159354D01* X203005Y159463D01* X203059Y159569D01* X203068Y159609D01* X203084Y159646D01* X203102Y159763D01* X203128Y159879D01* X203127Y159920D01* X203134Y159960D01* X203122Y160079D01* X203119Y160197D01* X203108Y160236D01* X203104Y160276D01* X203063Y160389D01* X203030Y160503D01* X203010Y160538D01* X202996Y160576D01* X202929Y160674D01* X202869Y160777D01* X202829Y160822D01* X202818Y160839D01* X202802Y160852D01* X202762Y160898D01* X202675Y160985D01* X202675Y164015D01* X202762Y164103D01* X202835Y164197D01* X202914Y164286D01* X202933Y164322D01* X202957Y164354D01* X203005Y164463D01* X203059Y164569D01* X203068Y164609D01* X203084Y164646D01* X203102Y164763D01* X203128Y164879D01* X203127Y164920D01* X203134Y164960D01* X203122Y165079D01* X203119Y165197D01* X203108Y165236D01* X203104Y165276D01* X203063Y165389D01* X203030Y165503D01* X203010Y165538D01* X202996Y165576D01* X202929Y165674D01* X202869Y165777D01* X202829Y165822D01* X202818Y165839D01* X202802Y165852D01* X202762Y165898D01* X202675Y165985D01* X202675Y169015D01* X202762Y169103D01* X202835Y169197D01* X202914Y169286D01* X202933Y169322D01* X202957Y169354D01* X203005Y169463D01* X203059Y169569D01* X203068Y169609D01* X203084Y169646D01* X203102Y169763D01* X203128Y169879D01* X203127Y169920D01* X203134Y169960D01* X203122Y170079D01* X203119Y170197D01* X203108Y170236D01* X203104Y170276D01* X203063Y170389D01* X203030Y170503D01* X203010Y170538D01* X202996Y170576D01* X202929Y170674D01* X202869Y170777D01* X202829Y170822D01* X202818Y170839D01* X202802Y170852D01* X202762Y170898D01* X202675Y170985D01* X202675Y174015D01* X202762Y174103D01* X202835Y174197D01* X202914Y174286D01* X202933Y174322D01* X202957Y174354D01* X203005Y174463D01* X203059Y174569D01* X203068Y174609D01* X203084Y174646D01* X203102Y174763D01* X203128Y174879D01* X203127Y174920D01* X203134Y174960D01* X203122Y175079D01* X203119Y175197D01* X203108Y175236D01* X203104Y175276D01* X203063Y175389D01* X203030Y175503D01* X203010Y175538D01* X202996Y175576D01* X202929Y175674D01* X202869Y175777D01* X202829Y175822D01* X202818Y175839D01* X202802Y175852D01* X202762Y175898D01* X202675Y175985D01* X202675Y178206D01* X202660Y178324D01* X202653Y178443D01* X202641Y178481D01* X202635Y178522D01* X202592Y178632D01* X202555Y178746D01* X202533Y178780D01* X202518Y178817D01* X202449Y178914D01* X202385Y179014D01* X202355Y179042D01* X202332Y179075D01* X202240Y179151D01* X202153Y179232D01* X202118Y179252D01* X202087Y179277D01* X201979Y179328D01* X201875Y179386D01* X201835Y179396D01* X201799Y179413D01* X201682Y179435D01* X201567Y179465D01* X201507Y179469D01* X201487Y179473D01* X201466Y179472D01* X201406Y179475D01* X199185Y179475D01* X197925Y180735D01* X197925Y182797D01* X197913Y182895D01* X197910Y182994D01* X197905Y183010D01* X197905Y198848D01* X197890Y198966D01* X197883Y199085D01* X197870Y199123D01* X197865Y199164D01* X197822Y199274D01* X197785Y199387D01* X197763Y199422D01* X197748Y199459D01* X197679Y199555D01* X197615Y199656D01* X197585Y199684D01* X197562Y199717D01* X197470Y199793D01* X197383Y199874D01* X197348Y199894D01* X197317Y199919D01* X197209Y199970D01* X197105Y200028D01* X197065Y200038D01* X197029Y200055D01* X196912Y200077D01* X196797Y200107D01* X196737Y200111D01* X196717Y200115D01* X196696Y200113D01* X196636Y200117D01* X195126Y200117D01* X194233Y201010D01* X194233Y212274D01* X195126Y213167D01* X207390Y213167D01* X208283Y212274D01* X208283Y201010D01* X207390Y200117D01* X204764Y200117D01* X204646Y200102D01* X204527Y200095D01* X204489Y200082D01* X204448Y200077D01* X204338Y200034D01* X204225Y199997D01* X204190Y199975D01* X204153Y199960D01* X204057Y199891D01* X203956Y199827D01* X203928Y199797D01* X203895Y199774D01* X203819Y199682D01* X203738Y199595D01* X203718Y199560D01* X203693Y199529D01* X203642Y199421D01* X203584Y199317D01* X203574Y199277D01* X203557Y199241D01* X203535Y199124D01* X203505Y199009D01* X203501Y198949D01* X203497Y198929D01* X203499Y198908D01* X203495Y198848D01* X203495Y190584D01* X203501Y190534D01* X203499Y190485D01* X203521Y190377D01* X203535Y190268D01* X203553Y190222D01* X203563Y190173D01* X203611Y190075D01* X203652Y189973D01* X203681Y189932D01* X203703Y189888D01* X203774Y189804D01* X203838Y189715D01* X203877Y189684D01* X203909Y189646D01* X203999Y189583D01* X204083Y189512D01* X204128Y189491D01* X204169Y189463D01* X204272Y189424D01* X204371Y189377D01* X204420Y189368D01* X204466Y189350D01* X204576Y189338D01* X204683Y189317D01* X204733Y189320D01* X204782Y189315D01* X204891Y189330D01* X205001Y189337D01* X205048Y189352D01* X205097Y189359D01* X205250Y189411D01* X206378Y189879D01* X208602Y189879D01* X210656Y189028D01* X212228Y187456D01* X213079Y185402D01* X213079Y184195D01* X213096Y184058D01* X213109Y183919D01* X213116Y183900D01* X213119Y183880D01* X213170Y183751D01* X213217Y183620D01* X213228Y183603D01* X213236Y183584D01* X213317Y183472D01* X213395Y183357D01* X213411Y183343D01* X213422Y183327D01* X213530Y183238D01* X213634Y183146D01* X213652Y183137D01* X213667Y183124D01* X213793Y183065D01* X213917Y183001D01* X213937Y182997D01* X213955Y182988D01* X214091Y182962D01* X214227Y182932D01* X214248Y182932D01* X214267Y182929D01* X214406Y182937D01* X214545Y182941D01* X214565Y182947D01* X214585Y182948D01* X214717Y182991D01* X214851Y183030D01* X214868Y183040D01* X214887Y183046D01* X215005Y183121D01* X215125Y183191D01* X215146Y183210D01* X215156Y183217D01* X215170Y183231D01* X215245Y183298D01* X218214Y186267D01* X218299Y186376D01* X218388Y186483D01* X218397Y186502D01* X218409Y186518D01* X218465Y186646D01* X218524Y186771D01* X218527Y186791D01* X218535Y186810D01* X218557Y186948D01* X218583Y187084D01* X218582Y187104D01* X218585Y187124D01* X218572Y187263D01* X218564Y187401D01* X218557Y187420D01* X218556Y187440D01* X218508Y187571D01* X218466Y187703D01* X218455Y187721D01* X218448Y187740D01* X218370Y187855D01* X218295Y187972D01* X218281Y187986D01* X218269Y188003D01* X218165Y188095D01* X218064Y188190D01* X218046Y188200D01* X218031Y188213D01* X217907Y188276D01* X217785Y188344D01* X217766Y188349D01* X217748Y188358D01* X217612Y188388D01* X217477Y188423D01* X217449Y188425D01* X217437Y188428D01* X217417Y188427D01* X217317Y188433D01* X215718Y188433D01* X214825Y189326D01* X214825Y200590D01* X215718Y201483D01* X227982Y201483D01* X228875Y200590D01* X228875Y189326D01* X227982Y188433D01* X225914Y188433D01* X225796Y188418D01* X225677Y188411D01* X225639Y188398D01* X225598Y188393D01* X225488Y188350D01* X225375Y188313D01* X225340Y188291D01* X225303Y188276D01* X225207Y188207D01* X225106Y188143D01* X225078Y188113D01* X225045Y188090D01* X224969Y187998D01* X224888Y187911D01* X224868Y187876D01* X224843Y187845D01* X224792Y187737D01* X224734Y187633D01* X224724Y187593D01* X224707Y187557D01* X224685Y187440D01* X224655Y187325D01* X224651Y187265D01* X224647Y187245D01* X224649Y187224D01* X224645Y187164D01* X224645Y184792D01* X217674Y177821D01* X217589Y177712D01* X217500Y177605D01* X217491Y177586D01* X217479Y177570D01* X217423Y177442D01* X217364Y177317D01* X217361Y177297D01* X217353Y177278D01* X217331Y177140D01* X217305Y177004D01* X217306Y176984D01* X217303Y176964D01* X217316Y176825D01* X217324Y176687D01* X217331Y176668D01* X217332Y176648D01* X217380Y176516D01* X217422Y176385D01* X217433Y176367D01* X217440Y176348D01* X217518Y176233D01* X217593Y176116D01* X217607Y176102D01* X217619Y176085D01* X217723Y175993D01* X217824Y175898D01* X217842Y175888D01* X217857Y175875D01* X217981Y175811D01* X218103Y175744D01* X218122Y175739D01* X218140Y175730D01* X218276Y175700D01* X218411Y175665D01* X218439Y175663D01* X218451Y175660D01* X218471Y175661D01* X218571Y175655D01* X220316Y175655D01* X220415Y175667D01* X220514Y175670D01* X220572Y175687D01* X220632Y175695D01* X220724Y175731D01* X220819Y175759D01* X220871Y175789D01* X220928Y175812D01* X221008Y175870D01* X221093Y175920D01* X221168Y175986D01* X221185Y175998D01* X221193Y176008D01* X221214Y176026D01* X222142Y176955D01* X237405Y176955D01* X238298Y176062D01* X238298Y170798D01* X237405Y169905D01* X222064Y169905D01* X222012Y169928D01* X221925Y169976D01* X221866Y169991D01* X221811Y170015D01* X221713Y170030D01* X221617Y170055D01* X221517Y170061D01* X221497Y170065D01* X221484Y170063D01* X221456Y170065D01* X220603Y170065D01* X220505Y170053D01* X220406Y170050D01* X220348Y170033D01* X220288Y170025D01* X220196Y169989D01* X220101Y169961D01* X220048Y169931D01* X219992Y169908D01* X219912Y169850D01* X219827Y169800D01* X219751Y169734D01* X219735Y169722D01* X219727Y169712D01* X219706Y169694D01* X218276Y168264D01* X218216Y168186D01* X218148Y168114D01* X218119Y168061D01* X218082Y168013D01* X218042Y167922D01* X217994Y167835D01* X217979Y167777D01* X217955Y167721D01* X217940Y167623D01* X217915Y167527D01* X217909Y167427D01* X217905Y167407D01* X217907Y167395D01* X217905Y167367D01* X217905Y159002D01* X216364Y157461D01* X216279Y157352D01* X216190Y157245D01* X216181Y157226D01* X216169Y157210D01* X216113Y157082D01* X216054Y156957D01* X216051Y156937D01* X216043Y156918D01* X216021Y156780D01* X215995Y156644D01* X215996Y156624D01* X215993Y156604D01* X216006Y156465D01* X216014Y156327D01* X216021Y156308D01* X216022Y156288D01* X216070Y156156D01* X216112Y156025D01* X216123Y156007D01* X216130Y155988D01* X216208Y155873D01* X216283Y155756D01* X216297Y155742D01* X216309Y155725D01* X216413Y155633D01* X216514Y155538D01* X216532Y155528D01* X216547Y155515D01* X216671Y155451D01* X216793Y155384D01* X216812Y155379D01* X216830Y155370D01* X216966Y155340D01* X217101Y155305D01* X217129Y155303D01* X217141Y155300D01* X217161Y155301D01* X217261Y155295D01* X220118Y155295D01* X222086Y153327D01* X222164Y153266D01* X222236Y153198D01* X222289Y153169D01* X222337Y153132D01* X222428Y153092D01* X222515Y153044D01* X222573Y153029D01* X222629Y153005D01* X222727Y152990D01* X222823Y152965D01* X222923Y152959D01* X222943Y152955D01* X222955Y152957D01* X222983Y152955D01* X237405Y152955D01* X237580Y152779D01* X237690Y152694D01* X237797Y152606D01* X237816Y152597D01* X237832Y152585D01* X237960Y152529D01* X238085Y152470D01* X238105Y152466D01* X238124Y152458D01* X238262Y152436D01* X238398Y152410D01* X238418Y152412D01* X238438Y152408D01* X238577Y152421D01* X238715Y152430D01* X238734Y152436D01* X238754Y152438D01* X238885Y152485D01* X239017Y152528D01* X239035Y152539D01* X239054Y152546D01* X239168Y152624D01* X239286Y152698D01* X239300Y152713D01* X239317Y152724D01* X239409Y152828D01* X239504Y152930D01* X239514Y152948D01* X239527Y152963D01* X239590Y153087D01* X239658Y153208D01* X239663Y153228D01* X239672Y153246D01* X239702Y153382D01* X239737Y153516D01* X239739Y153544D01* X239742Y153556D01* X239741Y153577D01* X239747Y153677D01* X239747Y153698D01* X249873Y163823D01* X249946Y163917D01* X250024Y164006D01* X250043Y164042D01* X250068Y164074D01* X250115Y164184D01* X250169Y164290D01* X250178Y164329D01* X250194Y164366D01* X250213Y164484D01* X250239Y164600D01* X250238Y164640D01* X250244Y164680D01* X250233Y164799D01* X250229Y164918D01* X250218Y164957D01* X250214Y164997D01* X250174Y165109D01* X250141Y165223D01* X250120Y165258D01* X250106Y165296D01* X250040Y165395D01* X249979Y165497D01* X249939Y165542D01* X249928Y165559D01* X249913Y165573D01* X249873Y165618D01* X249134Y166356D01* X249134Y178620D01* X250027Y179513D01* X261291Y179513D01* X261968Y178836D01* X262007Y178805D01* X262041Y178768D01* X262133Y178708D01* X262219Y178641D01* X262265Y178621D01* X262307Y178593D01* X262411Y178558D01* X262511Y178514D01* X262560Y178506D01* X262608Y178490D01* X262717Y178482D01* X262825Y178464D01* X262875Y178469D01* X262925Y178465D01* X263033Y178484D01* X263142Y178494D01* X263189Y178511D01* X263238Y178520D01* X263338Y178565D01* X263441Y178602D01* X263482Y178630D01* X263528Y178650D01* X263613Y178719D01* X263704Y178780D01* X263737Y178818D01* X263776Y178849D01* X263842Y178937D01* X263915Y179019D01* X263918Y179026D01* X265538Y180646D01* X267592Y181497D01* X269816Y181497D01* X271870Y180646D01* X273442Y179074D01* X273692Y178470D01* X273707Y178445D01* X273716Y178417D01* X273785Y178307D01* X273849Y178194D01* X273870Y178173D01* X273886Y178148D01* X273980Y178059D01* X274071Y177966D01* X274096Y177950D01* X274117Y177930D01* X274231Y177867D01* X274342Y177799D01* X274370Y177791D01* X274396Y177776D01* X274522Y177744D01* X274646Y177706D01* X274675Y177704D01* X274704Y177697D01* X274865Y177687D01* X283189Y177687D01* X283287Y177699D01* X283386Y177702D01* X283445Y177719D01* X283505Y177727D01* X283597Y177763D01* X283692Y177791D01* X283744Y177821D01* X283800Y177844D01* X283880Y177902D01* X283966Y177952D01* X284041Y178018D01* X284058Y178030D01* X284066Y178040D01* X284087Y178058D01* X286683Y180655D01* X286851Y180655D01* X286989Y180672D01* X287127Y180685D01* X287147Y180692D01* X287167Y180695D01* X287296Y180746D01* X287427Y180793D01* X287444Y180804D01* X287462Y180812D01* X287575Y180893D01* X287690Y180971D01* X287703Y180987D01* X287720Y180998D01* X287808Y181106D01* X287900Y181210D01* X287910Y181228D01* X287922Y181243D01* X287982Y181369D01* X288045Y181493D01* X288049Y181513D01* X288058Y181531D01* X288084Y181667D01* X288115Y181803D01* X288114Y181824D01* X288118Y181843D01* X288109Y181982D01* X288105Y182121D01* X288099Y182141D01* X288098Y182161D01* X288055Y182293D01* X288017Y182427D01* X288006Y182444D01* X288000Y182463D01* X287925Y182581D01* X287855Y182701D01* X287836Y182722D01* X287830Y182732D01* X287815Y182746D01* X287749Y182821D01* X285893Y184677D01* X285871Y184751D01* X285841Y184804D01* X285818Y184860D01* X285760Y184940D01* X285710Y185025D01* X285644Y185101D01* X285632Y185117D01* X285622Y185125D01* X285604Y185146D01* X281276Y189473D01* X281276Y201388D01* X281264Y201487D01* X281261Y201586D01* X281244Y201644D01* X281236Y201704D01* X281200Y201796D01* X281172Y201891D01* X281142Y201943D01* X281119Y202000D01* X281061Y202080D01* X281011Y202165D01* X280945Y202240D01* X280933Y202257D01* X280923Y202265D01* X280905Y202286D01* X279968Y203222D01* X279117Y205276D01* X279117Y207500D01* X279968Y209554D01* X281540Y211126D01* X283594Y211977D01* X285818Y211977D01* X285830Y211972D01* X285886Y211956D01* X285938Y211932D01* X286038Y211915D01* X286136Y211888D01* X286194Y211887D01* X286252Y211877D01* X286353Y211884D01* X286454Y211883D01* X286511Y211896D01* X286569Y211901D01* X286665Y211933D01* X286764Y211957D01* X286815Y211984D01* X286870Y212003D01* X286955Y212058D01* X287045Y212106D01* X287088Y212145D01* X287136Y212176D01* X287205Y212251D01* X287280Y212319D01* X287312Y212368D01* X287351Y212411D01* X287399Y212500D01* X287455Y212585D01* X287474Y212640D01* X287501Y212691D01* X287525Y212790D01* X287558Y212886D01* X287563Y212944D01* X287577Y213000D01* X287575Y213102D01* X287583Y213203D01* X287573Y213260D01* X287573Y213318D01* X287546Y213416D01* X287529Y213516D01* X287505Y213569D01* X287490Y213625D01* X287420Y213770D01* X284549Y218836D01* X283610Y226442D01* X284129Y228320D01* X284142Y228410D01* X284152Y228446D01* X284155Y228453D01* X284198Y228577D01* X284203Y228588D01* X284204Y228594D01* X284208Y228605D01* X285653Y233829D01* X290368Y239872D01* X291722Y240640D01* X291821Y240714D01* X291925Y240782D01* X291948Y240809D01* X291977Y240830D01* X292055Y240926D01* X292138Y241019D01* X292154Y241050D01* X292176Y241077D01* X292228Y241190D01* X292285Y241300D01* X292293Y241335D01* X292308Y241367D01* X292330Y241489D01* X292358Y241610D01* X292358Y241645D01* X292364Y241680D01* X292354Y241804D01* X292352Y241928D01* X292343Y241962D01* X292340Y241997D01* X292300Y242114D01* X292267Y242234D01* X292244Y242281D01* X292238Y242298D01* X292226Y242316D01* X292195Y242378D01* X269409Y281846D01* X269885Y282036D01* X269921Y282060D01* X269962Y282075D01* X270004Y282114D01* X270052Y282146D01* X270076Y282181D01* X270107Y282211D01* X270130Y282263D01* X270162Y282311D01* X270170Y282353D01* X270188Y282393D01* X270189Y282450D01* X270199Y282506D01* X270190Y282549D01* X270191Y282592D01* X270166Y282658D01* X270157Y282701D01* X270144Y282720D01* X270133Y282748D01* X260133Y300248D01* X260082Y300307D01* X260035Y300370D01* X260017Y300381D01* X260002Y300397D01* X259931Y300432D01* X259864Y300472D01* X259841Y300476D01* X259823Y300484D01* X259778Y300486D01* X259700Y300499D01* X239700Y300499D01* X239665Y300492D01* X239628Y300494D01* X239568Y300472D01* X239505Y300460D01* X239475Y300439D01* X239441Y300427D01* X239394Y300383D01* X239341Y300347D01* X239322Y300317D01* X239295Y300292D01* X239269Y300234D01* X239234Y300180D01* X239228Y300144D01* X239213Y300111D01* X239209Y300028D01* X239201Y299983D01* X239205Y299967D01* X239204Y299945D01* X239282Y299245D01* X193994Y299245D01* X193876Y299230D01* X193757Y299223D01* X193719Y299210D01* X193678Y299205D01* X193568Y299162D01* X193455Y299125D01* X193420Y299103D01* X193383Y299088D01* X193287Y299019D01* X193186Y298955D01* X193158Y298925D01* X193125Y298902D01* X193049Y298810D01* X192968Y298723D01* X192948Y298688D01* X192923Y298657D01* X192872Y298549D01* X192814Y298445D01* X192804Y298405D01* X192787Y298369D01* X192765Y298252D01* X192735Y298137D01* X192731Y298077D01* X192727Y298057D01* X192729Y298036D01* X192725Y297976D01* X192725Y297840D01* X192728Y297816D01* X192725Y297770D01* X192725Y296116D01* X191733Y293722D01* X191728Y293703D01* X191719Y293686D01* X191671Y293532D01* X191593Y293206D01* X191551Y293151D01* X191454Y293021D01* X191453Y293020D01* X191453Y293019D01* X191383Y292877D01* X191094Y292180D01* X191047Y292006D01* X191010Y291874D01* X191010Y291873D01* X191009Y291797D01* X190835Y291512D01* X190827Y291495D01* X190815Y291479D01* X190744Y291335D01* X189752Y288940D01* X188583Y287771D01* X188573Y287758D01* X188567Y287751D01* X188534Y287721D01* X187865Y287053D01* X187835Y287014D01* X187798Y286981D01* X187738Y286889D01* X187670Y286802D01* X187651Y286757D01* X187624Y286715D01* X187623Y286712D01* X187086Y286254D01* X187074Y286240D01* X187058Y286229D01* X186946Y286114D01* X186476Y285564D01* X186447Y285547D01* X186348Y285498D01* X186310Y285466D01* X186268Y285441D01* X186147Y285335D01* X185479Y284666D01* X185464Y284648D01* X185429Y284617D01* X184260Y283448D01* X181865Y282456D01* X181849Y282446D01* X181830Y282441D01* X181688Y282365D01* X181402Y282190D01* X181326Y282180D01* X181172Y282158D01* X181171Y282157D01* X181170Y282157D01* X181020Y282106D01* X180325Y281818D01* X180323Y281817D01* X180190Y281741D01* X180048Y281660D01* X180047Y281660D01* X179992Y281607D01* X179668Y281529D01* X179650Y281522D01* X179631Y281519D01* X179478Y281467D01* X177084Y280475D01* X176502Y280475D01* X176384Y280460D01* X176265Y280453D01* X176227Y280440D01* X176186Y280435D01* X176076Y280392D01* X175963Y280355D01* X175928Y280333D01* X175891Y280318D01* X175795Y280249D01* X175694Y280185D01* X175666Y280155D01* X175633Y280132D01* X175557Y280040D01* X175476Y279953D01* X175456Y279918D01* X175431Y279887D01* X175380Y279779D01* X175322Y279675D01* X175312Y279635D01* X175295Y279599D01* X175273Y279482D01* X175243Y279367D01* X175239Y279307D01* X175235Y279287D01* X175237Y279266D01* X175233Y279206D01* X175233Y246614D01* X172852Y244233D01* X171581Y244233D01* X171483Y244221D01* X171384Y244218D01* X171326Y244201D01* X171266Y244193D01* X171174Y244157D01* X171079Y244129D01* X171026Y244099D01* X170970Y244076D01* X170890Y244018D01* X170805Y243968D01* X170729Y243902D01* X170713Y243890D01* X170705Y243880D01* X170684Y243862D01* X168472Y241649D01* X168429Y241594D01* X168379Y241546D01* X168332Y241469D01* X168277Y241398D01* X168249Y241334D01* X168213Y241275D01* X168186Y241189D01* X168150Y241106D01* X168140Y241037D01* X168119Y240971D01* X168115Y240881D01* X168101Y240792D01* X168107Y240723D01* X168104Y240653D01* X168122Y240565D01* X168130Y240476D01* X168154Y240410D01* X168168Y240342D01* X168208Y240261D01* X168238Y240176D01* X168277Y240119D01* X168308Y240056D01* X168366Y239987D01* X168417Y239913D01* X168469Y239867D01* X168514Y239814D01* X168588Y239762D01* X168655Y239703D01* X168717Y239671D01* X168774Y239631D01* X168858Y239599D01* X168938Y239558D01* X169006Y239543D01* X169072Y239518D01* X169161Y239508D01* X169249Y239488D01* X169318Y239491D01* X169388Y239483D01* X169477Y239495D01* X169566Y239498D01* X169634Y239518D01* X169703Y239527D01* X169855Y239579D01* X170056Y239663D01* X172280Y239663D01* X174334Y238812D01* X175906Y237240D01* X176757Y235186D01* X176757Y232962D01* X175906Y230908D01* X174334Y229337D01* X174274Y229259D01* X174206Y229186D01* X174177Y229133D01* X174140Y229086D01* X174100Y228995D01* X174052Y228908D01* X174037Y228849D01* X174013Y228794D01* X173998Y228696D01* X173973Y228600D01* X173967Y228500D01* X173963Y228480D01* X173965Y228467D01* X173963Y228439D01* X173963Y228090D01* X170524Y224652D01* X170464Y224574D01* X170396Y224502D01* X170367Y224449D01* X170330Y224401D01* X170290Y224310D01* X170242Y224223D01* X170227Y224165D01* X170203Y224109D01* X170188Y224011D01* X170163Y223915D01* X170157Y223815D01* X170153Y223795D01* X170155Y223783D01* X170153Y223755D01* X170153Y222803D01* X170170Y222666D01* X170183Y222527D01* X170190Y222508D01* X170193Y222488D01* X170244Y222359D01* X170291Y222228D01* X170302Y222211D01* X170310Y222192D01* X170391Y222080D01* X170469Y221965D01* X170485Y221951D01* X170496Y221935D01* X170604Y221846D01* X170708Y221754D01* X170726Y221745D01* X170741Y221732D01* X170867Y221673D01* X170991Y221609D01* X171011Y221605D01* X171029Y221596D01* X171165Y221570D01* X171301Y221540D01* X171322Y221540D01* X171341Y221537D01* X171480Y221545D01* X171619Y221549D01* X171639Y221555D01* X171659Y221556D01* X171791Y221599D01* X171925Y221638D01* X171942Y221648D01* X171961Y221654D01* X172079Y221729D01* X172199Y221799D01* X172220Y221818D01* X172230Y221825D01* X172244Y221839D01* X172319Y221906D01* X192894Y242480D01* X194902Y244489D01* X214381Y244489D01* X214479Y244501D01* X214578Y244504D01* X214636Y244521D01* X214697Y244529D01* X214789Y244565D01* X214884Y244593D01* X214936Y244623D01* X214992Y244646D01* X215072Y244704D01* X215158Y244754D01* X215233Y244820D01* X215250Y244832D01* X215257Y244842D01* X215279Y244860D01* X215669Y245251D01* X230811Y245251D01* X230910Y245263D01* X231009Y245266D01* X231067Y245283D01* X231127Y245291D01* X231219Y245327D01* X231314Y245355D01* X231366Y245385D01* X231423Y245408D01* X231503Y245466D01* X231588Y245516D01* X231663Y245582D01* X231680Y245594D01* X231688Y245604D01* X231709Y245622D01* X232518Y246432D01* X234405Y247213D01* X234466Y247248D01* X234530Y247274D01* X234603Y247326D01* X234681Y247371D01* X234731Y247419D01* X234788Y247460D01* X234845Y247530D01* X234910Y247592D01* X234946Y247652D01* X234991Y247705D01* X235029Y247787D01* X235076Y247863D01* X235096Y247930D01* X235126Y247993D01* X235143Y248081D01* X235169Y248167D01* X235173Y248237D01* X235186Y248306D01* X235180Y248395D01* X235185Y248485D01* X235170Y248553D01* X235166Y248623D01* X235139Y248708D01* X235120Y248796D01* X235090Y248859D01* X235068Y248925D01* X235020Y249001D01* X234981Y249082D01* X234935Y249135D01* X234898Y249194D01* X234833Y249256D01* X234774Y249324D01* X234717Y249364D01* X234666Y249412D01* X234588Y249455D01* X234514Y249507D01* X234449Y249532D01* X234388Y249566D01* X234301Y249588D01* X234217Y249620D01* X234147Y249628D01* X234080Y249645D01* X233919Y249655D01* X229228Y249655D01* X228335Y250548D01* X228335Y262812D01* X229228Y263705D01* X240491Y263705D01* X241384Y262812D01* X241384Y261506D01* X241399Y261388D01* X241407Y261269D01* X241419Y261231D01* X241424Y261190D01* X241468Y261080D01* X241505Y260967D01* X241526Y260932D01* X241541Y260895D01* X241611Y260799D01* X241675Y260698D01* X241704Y260670D01* X241728Y260637D01* X241820Y260561D01* X241907Y260480D01* X241942Y260460D01* X241973Y260435D01* X242081Y260384D01* X242185Y260326D01* X242224Y260316D01* X242261Y260299D01* X242378Y260277D01* X242493Y260247D01* X242553Y260243D01* X242573Y260239D01* X242593Y260241D01* X242654Y260237D01* X244777Y260237D01* X247232Y257781D01* X247233Y257781D01* X248041Y256972D01* X248120Y256912D01* X248192Y256844D01* X248245Y256815D01* X248293Y256778D01* X248384Y256738D01* X248470Y256690D01* X248529Y256675D01* X248585Y256651D01* X248683Y256636D01* X248778Y256611D01* X248878Y256605D01* X248899Y256601D01* X248911Y256602D01* X248939Y256601D01* X257075Y256601D01* X259433Y254243D01* X259433Y245909D01* X257075Y243551D01* X248431Y243551D01* X248333Y243539D01* X248234Y243536D01* X248176Y243519D01* X248115Y243511D01* X248023Y243475D01* X247928Y243447D01* X247876Y243417D01* X247820Y243394D01* X247740Y243336D01* X247654Y243286D01* X247579Y243220D01* X247562Y243208D01* X247555Y243198D01* X247534Y243180D01* X242491Y238137D01* X240557Y238137D01* X240458Y238125D01* X240359Y238122D01* X240301Y238105D01* X240241Y238097D01* X240149Y238061D01* X240054Y238033D01* X240002Y238003D01* X239945Y237980D01* X239865Y237922D01* X239780Y237872D01* X239705Y237806D01* X239688Y237794D01* X239680Y237784D01* X239659Y237766D01* X238850Y236956D01* X236796Y236105D01* X234572Y236105D01* X232518Y236956D01* X231709Y237766D01* X231631Y237826D01* X231558Y237894D01* X231505Y237923D01* X231458Y237960D01* X231367Y238000D01* X231280Y238048D01* X231221Y238063D01* X231166Y238087D01* X231068Y238102D01* X230972Y238127D01* X230872Y238133D01* X230852Y238137D01* X230839Y238135D01* X230811Y238137D01* X215669Y238137D01* X215279Y238528D01* X215200Y238588D01* X215128Y238656D01* X215075Y238685D01* X215027Y238722D01* X214936Y238762D01* X214850Y238810D01* X214791Y238825D01* X214735Y238849D01* X214637Y238864D01* X214542Y238889D01* X214442Y238895D01* X214421Y238899D01* X214409Y238897D01* X214381Y238899D01* X207887Y238899D01* X207818Y238891D01* X207748Y238892D01* X207661Y238871D01* X207572Y238859D01* X207507Y238834D01* X207439Y238817D01* X207359Y238775D01* X207276Y238742D01* X207220Y238701D01* X207158Y238669D01* X207091Y238608D01* X207019Y238556D01* X206974Y238502D01* X206922Y238455D01* X206873Y238380D01* X206816Y238311D01* X206786Y238247D01* X206748Y238189D01* X206719Y238104D01* X206680Y238023D01* X206667Y237954D01* X206645Y237888D01* X206637Y237799D01* X206621Y237711D01* X206625Y237641D01* X206619Y237571D01* X206635Y237483D01* X206640Y237393D01* X206662Y237327D01* X206674Y237258D01* X206711Y237176D01* X206738Y237091D01* X206776Y237032D01* X206804Y236968D01* X206860Y236898D01* X206908Y236822D01* X206959Y236774D01* X207003Y236720D01* X207075Y236665D01* X207140Y236604D01* X207201Y236570D01* X207257Y236528D01* X207401Y236457D01* X210849Y235029D01* X213779Y232099D01* X215365Y228272D01* X215365Y224128D01* X213779Y220301D01* X210849Y217371D01* X207022Y215785D01* X202878Y215785D01* X199051Y217371D01* X196121Y220301D01* X194535Y224128D01* X194535Y228272D01* X196121Y232099D01* X199051Y235029D01* X202499Y236457D01* X202559Y236492D01* X202624Y236518D01* X202697Y236570D01* X202775Y236615D01* X202825Y236664D01* X202881Y236704D01* X202939Y236774D01* X203003Y236836D01* X203040Y236896D01* X203084Y236949D01* X203122Y237031D01* X203169Y237107D01* X203190Y237174D01* X203220Y237237D01* X203237Y237325D01* X203263Y237411D01* X203266Y237481D01* X203279Y237550D01* X203274Y237639D01* X203278Y237729D01* X203264Y237797D01* X203260Y237867D01* X203232Y237952D01* X203214Y238040D01* X203183Y238103D01* X203162Y238169D01* X203114Y238245D01* X203074Y238326D01* X203029Y238379D01* X202992Y238438D01* X202926Y238500D01* X202868Y238568D01* X202811Y238608D01* X202760Y238656D01* X202681Y238699D01* X202608Y238751D01* X202542Y238776D01* X202481Y238810D01* X202395Y238832D01* X202310Y238864D01* X202241Y238872D01* X202173Y238889D01* X202013Y238899D01* X197743Y238899D01* X197645Y238887D01* X197546Y238884D01* X197488Y238867D01* X197428Y238859D01* X197336Y238823D01* X197241Y238795D01* X197188Y238765D01* X197132Y238742D01* X197052Y238684D01* X196967Y238634D01* X196891Y238568D01* X196875Y238556D01* X196867Y238546D01* X196846Y238528D01* X176620Y218302D01* X176560Y218224D01* X176492Y218152D01* X176463Y218099D01* X176426Y218051D01* X176386Y217960D01* X176338Y217873D01* X176323Y217815D01* X176299Y217759D01* X176284Y217661D01* X176259Y217565D01* X176253Y217465D01* X176249Y217445D01* X176251Y217433D01* X176249Y217405D01* X176249Y199530D01* X176264Y199412D01* X176271Y199293D01* X176284Y199255D01* X176289Y199214D01* X176332Y199104D01* X176369Y198991D01* X176391Y198956D01* X176406Y198919D01* X176475Y198823D01* X176539Y198722D01* X176569Y198694D01* X176592Y198661D01* X176684Y198585D01* X176771Y198504D01* X176806Y198484D01* X176837Y198459D01* X176945Y198408D01* X177049Y198350D01* X177089Y198340D01* X177125Y198323D01* X177242Y198301D01* X177357Y198271D01* X177417Y198267D01* X177437Y198263D01* X177458Y198265D01* X177518Y198261D01* X178422Y198261D01* X183495Y193188D01* X183495Y190794D01* X183510Y190676D01* X183517Y190557D01* X183530Y190519D01* X183535Y190479D01* X183578Y190368D01* X183615Y190255D01* X183637Y190220D01* X183652Y190183D01* X183721Y190087D01* X183785Y189986D01* X183815Y189958D01* X183838Y189925D01* X183930Y189850D01* X184017Y189768D01* X184052Y189748D01* X184083Y189723D01* X184191Y189672D01* X184295Y189614D01* X184335Y189604D01* X184371Y189587D01* X184488Y189565D01* X184603Y189535D01* X184663Y189531D01* X184683Y189527D01* X184704Y189529D01* X184764Y189525D01* X187215Y189525D01* X187302Y189438D01* X187397Y189365D01* X187486Y189286D01* X187522Y189268D01* X187554Y189243D01* X187663Y189195D01* X187769Y189141D01* X187808Y189132D01* X187846Y189116D01* X187963Y189098D01* X188079Y189072D01* X188120Y189073D01* X188160Y189067D01* X188278Y189078D01* X188397Y189081D01* X188436Y189093D01* X188476Y189096D01* X188588Y189137D01* X188703Y189170D01* X188738Y189190D01* X188776Y189204D01* X188874Y189271D01* X188977Y189331D01* X189022Y189371D01* X189039Y189383D01* X189052Y189398D01* X189097Y189438D01* X189185Y189525D01* X192215Y189525D01* X193475Y188266D01* X193475Y180735D01* X192215Y179475D01* X189185Y179475D01* X189097Y179562D01* X189003Y179635D01* X188914Y179714D01* X188878Y179733D01* X188846Y179757D01* X188737Y179805D01* X188631Y179859D01* X188591Y179868D01* X188554Y179884D01* X188437Y179902D01* X188321Y179928D01* X188280Y179927D01* X188240Y179934D01* X188121Y179922D01* X188003Y179919D01* X187964Y179908D01* X187924Y179904D01* X187811Y179863D01* X187697Y179830D01* X187662Y179810D01* X187624Y179796D01* X187526Y179729D01* X187423Y179669D01* X187378Y179629D01* X187361Y179618D01* X187348Y179602D01* X187302Y179562D01* X187215Y179475D01* X184185Y179475D01* X184097Y179562D01* X184003Y179635D01* X183914Y179714D01* X183878Y179733D01* X183846Y179757D01* X183737Y179805D01* X183631Y179859D01* X183591Y179868D01* X183554Y179884D01* X183437Y179902D01* X183321Y179928D01* X183280Y179927D01* X183240Y179934D01* X183121Y179922D01* X183003Y179919D01* X182964Y179908D01* X182924Y179904D01* X182811Y179863D01* X182697Y179830D01* X182662Y179810D01* X182624Y179796D01* X182526Y179729D01* X182423Y179669D01* X182378Y179629D01* X182361Y179618D01* X182348Y179602D01* X182302Y179562D01* X182215Y179475D01* X179185Y179475D01* X179097Y179562D01* X179003Y179635D01* X178914Y179714D01* X178878Y179733D01* X178846Y179757D01* X178737Y179805D01* X178631Y179859D01* X178591Y179868D01* X178554Y179884D01* X178437Y179902D01* X178321Y179928D01* X178280Y179927D01* X178240Y179934D01* X178121Y179922D01* X178003Y179919D01* X177964Y179908D01* X177924Y179904D01* X177811Y179863D01* X177697Y179830D01* X177662Y179810D01* X177624Y179796D01* X177526Y179729D01* X177423Y179669D01* X177378Y179629D01* X177361Y179618D01* X177348Y179602D01* X177302Y179562D01* X177215Y179475D01* X174185Y179475D01* X174097Y179562D01* X174003Y179635D01* X173914Y179714D01* X173878Y179733D01* X173846Y179757D01* X173737Y179805D01* X173631Y179859D01* X173591Y179868D01* X173554Y179884D01* X173437Y179902D01* X173321Y179928D01* X173280Y179927D01* X173240Y179934D01* X173121Y179922D01* X173003Y179919D01* X172964Y179908D01* X172924Y179904D01* X172811Y179863D01* X172697Y179830D01* X172662Y179810D01* X172624Y179796D01* X172526Y179729D01* X172423Y179669D01* X172378Y179629D01* X172361Y179618D01* X172348Y179602D01* X172302Y179562D01* X172215Y179475D01* X169185Y179475D01* X169097Y179562D01* X169003Y179635D01* X168914Y179714D01* X168878Y179733D01* X168846Y179757D01* X168737Y179805D01* X168631Y179859D01* X168591Y179868D01* X168554Y179884D01* X168437Y179902D01* X168321Y179928D01* X168280Y179927D01* X168240Y179934D01* X168121Y179922D01* X168003Y179919D01* X167964Y179908D01* X167924Y179904D01* X167811Y179863D01* X167697Y179830D01* X167662Y179810D01* X167624Y179796D01* X167526Y179729D01* X167423Y179669D01* X167378Y179629D01* X167361Y179618D01* X167348Y179602D01* X167302Y179562D01* X167215Y179475D01* X164185Y179475D01* X164097Y179562D01* X164003Y179635D01* X163914Y179714D01* X163878Y179733D01* X163846Y179757D01* X163737Y179805D01* X163631Y179859D01* X163591Y179868D01* X163554Y179884D01* X163437Y179902D01* X163321Y179928D01* X163280Y179927D01* X163240Y179934D01* X163121Y179922D01* X163003Y179919D01* X162964Y179908D01* X162924Y179904D01* X162811Y179863D01* X162697Y179830D01* X162662Y179810D01* X162624Y179796D01* X162526Y179729D01* X162423Y179669D01* X162378Y179629D01* X162361Y179618D01* X162348Y179602D01* X162302Y179562D01* X162215Y179475D01* X159185Y179475D01* X159097Y179562D01* X159003Y179635D01* X158914Y179714D01* X158878Y179733D01* X158846Y179757D01* X158737Y179805D01* X158631Y179859D01* X158591Y179868D01* X158554Y179884D01* X158437Y179902D01* X158321Y179928D01* X158280Y179927D01* X158240Y179934D01* X158121Y179922D01* X158003Y179919D01* X157964Y179908D01* X157924Y179904D01* X157811Y179863D01* X157697Y179830D01* X157662Y179810D01* X157624Y179796D01* X157526Y179729D01* X157423Y179669D01* X157378Y179629D01* X157361Y179618D01* X157348Y179602D01* X157302Y179562D01* X157215Y179475D01* X154185Y179475D01* X154097Y179562D01* X154003Y179635D01* X153914Y179714D01* X153878Y179733D01* X153846Y179757D01* X153737Y179805D01* X153631Y179859D01* X153591Y179868D01* X153554Y179884D01* X153437Y179902D01* X153321Y179928D01* X153280Y179927D01* X153240Y179934D01* X153121Y179922D01* X153003Y179919D01* X152964Y179908D01* X152924Y179904D01* X152811Y179863D01* X152697Y179830D01* X152662Y179810D01* X152624Y179796D01* X152526Y179729D01* X152423Y179669D01* X152378Y179629D01* X152361Y179618D01* X152348Y179602D01* X152302Y179562D01* X152215Y179475D01* X149185Y179475D01* X149097Y179562D01* X149003Y179635D01* X148914Y179714D01* X148878Y179733D01* X148846Y179757D01* X148737Y179805D01* X148631Y179859D01* X148591Y179868D01* X148554Y179884D01* X148437Y179902D01* X148321Y179928D01* X148280Y179927D01* X148240Y179934D01* X148121Y179922D01* X148003Y179919D01* X147964Y179908D01* X147924Y179904D01* X147811Y179863D01* X147697Y179830D01* X147662Y179810D01* X147624Y179796D01* X147526Y179729D01* X147423Y179669D01* X147378Y179629D01* X147361Y179618D01* X147348Y179602D01* X147302Y179562D01* X147215Y179475D01* X144994Y179475D01* X144876Y179460D01* X144757Y179453D01* X144719Y179441D01* X144678Y179435D01* X144568Y179392D01* X144454Y179355D01* X144420Y179333D01* X144383Y179318D01* X144286Y179249D01* X144186Y179185D01* X144158Y179155D01* X144125Y179132D01* X144049Y179040D01* X143968Y178953D01* X143948Y178918D01* X143923Y178887D01* X143872Y178779D01* X143814Y178675D01* X143804Y178635D01* X143787Y178599D01* X143765Y178482D01* X143735Y178367D01* X143731Y178307D01* X143727Y178287D01* X143728Y178266D01* X143725Y178206D01* X143725Y175985D01* X142465Y174725D01* X140403Y174725D01* X140305Y174713D01* X140206Y174710D01* X140190Y174705D01* X134382Y174705D01* X132305Y176782D01* X132305Y179098D01* X132803Y179595D01* X132876Y179689D01* X132955Y179779D01* X132973Y179815D01* X132998Y179847D01* X133045Y179956D01* X133099Y180062D01* X133108Y180101D01* X133124Y180138D01* X133143Y180256D01* X133169Y180372D01* X133168Y180413D01* X133174Y180452D01* X133163Y180571D01* X133159Y180690D01* X133148Y180729D01* X133144Y180769D01* X133104Y180881D01* X133071Y180996D01* X133067Y181002D01* X133067Y184283D01* X133066Y184292D01* X133067Y184301D01* X133046Y184450D01* X133027Y184599D01* X133024Y184607D01* X133023Y184616D01* X132971Y184769D01* X132386Y186181D01* X132381Y186190D01* X132378Y186199D01* X132302Y186327D01* X132228Y186458D01* X132221Y186464D01* X132217Y186472D01* X132110Y186593D01* X131890Y186813D01* X131796Y186886D01* X131707Y186965D01* X131671Y186983D01* X131639Y187008D01* X131530Y187055D01* X131424Y187110D01* X131384Y187118D01* X131347Y187134D01* X131229Y187153D01* X131114Y187179D01* X131073Y187178D01* X131033Y187184D01* X130914Y187173D01* X130796Y187169D01* X130757Y187158D01* X130716Y187154D01* X130604Y187114D01* X130490Y187081D01* X130455Y187061D01* X130417Y187047D01* X130319Y186980D01* X130216Y186920D01* X130171Y186880D01* X130154Y186868D01* X130141Y186853D01* X130095Y186813D01* X130064Y186781D01* X124317Y186781D01* X124218Y186769D01* X124118Y186765D01* X124026Y186745D01* X123758Y186774D01* X123742Y186774D01* X123622Y186781D01* X118800Y186781D01* X117703Y187879D01* X117681Y187909D01* X117617Y188010D01* X117587Y188038D01* X117564Y188071D01* X117472Y188147D01* X117385Y188228D01* X117350Y188248D01* X117319Y188273D01* X117211Y188324D01* X117107Y188382D01* X117067Y188392D01* X117031Y188409D01* X116914Y188431D01* X116799Y188461D01* X116739Y188465D01* X116719Y188469D01* X116698Y188467D01* X116638Y188471D01* X114406Y188471D01* X114288Y188456D01* X114169Y188449D01* X114131Y188436D01* X114090Y188431D01* X113980Y188388D01* X113867Y188351D01* X113832Y188329D01* X113795Y188314D01* X113699Y188245D01* X113598Y188181D01* X113570Y188151D01* X113537Y188128D01* X113461Y188036D01* X113380Y187949D01* X113360Y187914D01* X113335Y187883D01* X113284Y187775D01* X113226Y187671D01* X113216Y187631D01* X113199Y187595D01* X113177Y187478D01* X113147Y187363D01* X113143Y187303D01* X113139Y187283D01* X113141Y187262D01* X113137Y187202D01* X113137Y186720D01* X112244Y185826D01* X95980Y185826D01* X95087Y186720D01* X95087Y200983D01* X95658Y201554D01* X95743Y201663D01* X95832Y201770D01* X95841Y201789D01* X95853Y201805D01* X95908Y201933D01* X95967Y202058D01* X95971Y202078D01* X95979Y202097D01* X96001Y202235D01* X96027Y202371D01* X96026Y202391D01* X96029Y202411D01* X96016Y202550D01* X96007Y202688D01* X96001Y202707D01* X95999Y202727D01* X95952Y202859D01* X95909Y202990D01* X95899Y203008D01* X95892Y203027D01* X95814Y203142D01* X95739Y203259D01* X95724Y203273D01* X95713Y203290D01* X95609Y203382D01* X95508Y203477D01* X95490Y203487D01* X95475Y203500D01* X95351Y203563D01* X95229Y203631D01* X95210Y203636D01* X95191Y203645D01* X95056Y203675D01* X94921Y203710D01* X94893Y203712D01* X94881Y203715D01* X94861Y203714D01* X94761Y203720D01* X94423Y203720D01* X89662Y205692D01* X86017Y209337D01* X84045Y214098D01* X84045Y219252D01* X86017Y224013D01* X89662Y227658D01* X94009Y229458D01* X94130Y229527D01* X94253Y229592D01* X94268Y229606D01* X94286Y229616D01* X94386Y229713D01* X94488Y229806D01* X94499Y229823D01* X94514Y229837D01* X94587Y229956D01* X94663Y230072D01* X94670Y230091D01* X94680Y230108D01* X94721Y230241D01* X94766Y230373D01* X94768Y230393D01* X94774Y230412D01* X94780Y230551D01* X94791Y230690D01* X94788Y230710D01* X94789Y230730D01* X94761Y230866D01* X94737Y231003D01* X94729Y231021D01* X94725Y231041D01* X94663Y231167D01* X94607Y231293D01* X94594Y231309D01* X94585Y231327D01* X94494Y231433D01* X94408Y231541D01* X94392Y231554D01* X94379Y231569D01* X94264Y231650D01* X94154Y231733D01* X94129Y231745D01* X94119Y231752D01* X94099Y231759D01* X94009Y231804D01* X93834Y231876D01* X92262Y233448D01* X91411Y235502D01* X91411Y237726D01* X92262Y239780D01* X92290Y239807D01* X92363Y239902D01* X92442Y239991D01* X92460Y240027D01* X92485Y240059D01* X92532Y240168D01* X92586Y240274D01* X92595Y240313D01* X92611Y240350D01* X92630Y240468D01* X92656Y240584D01* X92655Y240625D01* X92661Y240665D01* X92650Y240783D01* X92646Y240902D01* X92635Y240941D01* X92631Y240981D01* X92591Y241093D01* X92558Y241208D01* X92537Y241242D01* X92524Y241280D01* X92457Y241379D01* X92396Y241482D01* X92356Y241527D01* X92345Y241544D01* X92330Y241557D01* X92290Y241602D01* X90475Y243417D01* X90475Y257751D01* X92833Y260109D01* X101167Y260109D01* X103525Y257751D01* X103525Y243417D01* X101710Y241602D01* X101637Y241508D01* X101558Y241419D01* X101540Y241383D01* X101515Y241351D01* X101468Y241242D01* X101414Y241136D01* X101405Y241096D01* X101389Y241059D01* X101370Y240942D01* X101344Y240826D01* X101345Y240785D01* X101339Y240745D01* X101350Y240627D01* X101354Y240508D01* X101365Y240469D01* X101369Y240429D01* X101409Y240316D01* X101442Y240202D01* X101463Y240167D01* X101476Y240129D01* X101543Y240031D01* X101604Y239928D01* X101644Y239883D01* X101655Y239866D01* X101670Y239853D01* X101710Y239807D01* X101737Y239780D01* X101815Y239720D01* X101888Y239652D01* X101941Y239623D01* X101988Y239586D01* X102079Y239546D01* X102166Y239498D01* X102225Y239483D01* X102280Y239459D01* X102378Y239444D01* X102474Y239419D01* X102574Y239413D01* X102594Y239409D01* X102607Y239411D01* X102635Y239409D01* X104508Y239409D01* X126996Y216920D01* X127074Y216860D01* X127146Y216792D01* X127199Y216763D01* X127247Y216726D01* X127338Y216686D01* X127425Y216638D01* X127483Y216623D01* X127539Y216599D01* X127637Y216584D01* X127733Y216559D01* X127833Y216553D01* X127853Y216549D01* X127865Y216551D01* X127893Y216549D01* X137782Y216549D01* X148495Y205836D01* X148495Y190794D01* X148510Y190676D01* X148517Y190557D01* X148530Y190519D01* X148535Y190479D01* X148578Y190368D01* X148615Y190255D01* X148637Y190220D01* X148652Y190183D01* X148721Y190087D01* X148785Y189986D01* X148815Y189958D01* X148838Y189925D01* X148930Y189850D01* X149017Y189768D01* X149052Y189748D01* X149083Y189723D01* X149191Y189672D01* X149295Y189614D01* X149335Y189604D01* X149371Y189587D01* X149488Y189565D01* X149603Y189535D01* X149663Y189531D01* X149683Y189527D01* X149704Y189529D01* X149764Y189525D01* X151636Y189525D01* X151754Y189540D01* X151873Y189547D01* X151911Y189560D01* X151952Y189565D01* X152062Y189608D01* X152175Y189645D01* X152210Y189667D01* X152247Y189682D01* X152343Y189752D01* X152444Y189815D01* X152472Y189845D01* X152505Y189869D01* X152581Y189960D01* X152662Y190047D01* X152682Y190082D01* X152707Y190113D01* X152758Y190221D01* X152816Y190325D01* X152826Y190365D01* X152843Y190401D01* X152865Y190518D01* X152895Y190633D01* X152899Y190694D01* X152903Y190714D01* X152901Y190734D01* X152905Y190794D01* X152905Y239641D01* X152888Y239779D01* X152875Y239918D01* X152868Y239937D01* X152865Y239957D01* X152814Y240086D01* X152767Y240217D01* X152756Y240234D01* X152748Y240253D01* X152667Y240365D01* X152589Y240480D01* X152573Y240494D01* X152562Y240510D01* X152454Y240599D01* X152350Y240691D01* X152332Y240700D01* X152317Y240713D01* X152191Y240772D01* X152067Y240835D01* X152047Y240840D01* X152029Y240848D01* X151892Y240874D01* X151757Y240905D01* X151736Y240904D01* X151717Y240908D01* X151578Y240899D01* X151439Y240895D01* X151419Y240890D01* X151399Y240888D01* X151267Y240846D01* X151133Y240807D01* X151116Y240797D01* X151097Y240790D01* X150979Y240716D01* X150859Y240645D01* X150838Y240627D01* X150828Y240620D01* X150814Y240605D01* X150739Y240539D01* X149188Y238988D01* X147134Y238137D01* X144910Y238137D01* X142856Y238988D01* X141284Y240560D01* X140433Y242614D01* X140433Y243041D01* X140421Y243139D01* X140418Y243238D01* X140401Y243296D01* X140393Y243356D01* X140357Y243448D01* X140329Y243543D01* X140299Y243595D01* X140276Y243652D01* X140218Y243732D01* X140168Y243817D01* X140102Y243893D01* X140090Y243909D01* X140080Y243917D01* X140062Y243938D01* X137757Y246242D01* X137757Y247616D01* X137742Y247734D01* X137735Y247853D01* X137722Y247891D01* X137717Y247932D01* X137674Y248042D01* X137637Y248155D01* X137615Y248190D01* X137600Y248227D01* X137531Y248323D01* X137467Y248424D01* X137437Y248452D01* X137414Y248485D01* X137322Y248561D01* X137235Y248642D01* X137200Y248662D01* X137169Y248687D01* X137061Y248738D01* X136957Y248796D01* X136917Y248806D01* X136881Y248823D01* X136764Y248845D01* X136649Y248875D01* X136589Y248879D01* X136569Y248883D01* X136548Y248881D01* X136488Y248885D01* X135690Y248885D01* X134797Y249778D01* X134797Y261042D01* X135712Y261957D01* X135718Y261957D01* X135756Y261970D01* X135797Y261975D01* X135907Y262018D01* X136020Y262055D01* X136055Y262077D01* X136092Y262092D01* X136188Y262161D01* X136289Y262225D01* X136317Y262255D01* X136350Y262278D01* X136426Y262370D01* X136507Y262457D01* X136527Y262492D01* X136552Y262523D01* X136603Y262631D01* X136661Y262735D01* X136671Y262775D01* X136688Y262811D01* X136710Y262928D01* X136740Y263043D01* X136744Y263103D01* X136748Y263123D01* X136746Y263144D01* X136750Y263204D01* X136750Y266826D01* X136747Y266855D01* X136749Y266885D01* X136727Y267012D01* X136710Y267141D01* X136700Y267169D01* X136695Y267198D01* X136641Y267317D01* X136593Y267437D01* X136576Y267461D01* X136564Y267488D01* X136483Y267589D01* X136407Y267694D01* X136384Y267713D01* X136365Y267736D01* X136262Y267814D01* X136162Y267897D01* X136135Y267910D01* X136111Y267928D01* X135967Y267998D01* X135551Y268171D01* X132621Y271101D01* X131035Y274928D01* X131035Y279072D01* X132621Y282899D01* X135551Y285829D01* X139378Y287415D01* X143522Y287415D01* X147349Y285829D01* X150279Y282899D01* X151865Y279072D01* X151865Y274928D01* X150279Y271101D01* X147349Y268171D01* X146933Y267998D01* X146908Y267984D01* X146880Y267975D01* X146770Y267905D01* X146657Y267841D01* X146636Y267820D01* X146611Y267805D01* X146522Y267710D01* X146429Y267620D01* X146413Y267594D01* X146393Y267573D01* X146330Y267459D01* X146262Y267349D01* X146254Y267320D01* X146239Y267294D01* X146207Y267169D01* X146169Y267045D01* X146167Y267015D01* X146160Y266986D01* X146150Y266826D01* X146150Y263204D01* X146165Y263086D01* X146172Y262967D01* X146185Y262929D01* X146190Y262888D01* X146233Y262778D01* X146270Y262665D01* X146292Y262630D01* X146307Y262593D01* X146376Y262497D01* X146440Y262396D01* X146470Y262368D01* X146493Y262335D01* X146585Y262259D01* X146672Y262178D01* X146707Y262158D01* X146738Y262133D01* X146846Y262082D01* X146950Y262024D01* X146990Y262014D01* X147026Y261997D01* X147143Y261975D01* X147258Y261945D01* X147318Y261941D01* X147338Y261937D01* X147359Y261939D01* X147419Y261935D01* X147954Y261935D01* X148847Y261042D01* X148847Y249331D01* X148859Y249232D01* X148862Y249133D01* X148879Y249075D01* X148887Y249015D01* X148923Y248923D01* X148951Y248828D01* X148981Y248776D01* X149004Y248719D01* X149062Y248639D01* X149112Y248554D01* X149178Y248479D01* X149190Y248462D01* X149200Y248454D01* X149218Y248433D01* X150713Y246939D01* X150822Y246854D01* X150929Y246765D01* X150948Y246757D01* X150964Y246744D01* X151092Y246689D01* X151217Y246630D01* X151237Y246626D01* X151256Y246618D01* X151394Y246596D01* X151530Y246570D01* X151550Y246571D01* X151570Y246568D01* X151709Y246581D01* X151847Y246590D01* X151866Y246596D01* X151886Y246598D01* X152018Y246645D01* X152149Y246688D01* X152167Y246699D01* X152186Y246705D01* X152301Y246783D01* X152418Y246858D01* X152432Y246873D01* X152449Y246884D01* X152541Y246988D01* X152636Y247089D01* X152646Y247107D01* X152659Y247122D01* X152723Y247246D01* X152790Y247368D01* X152795Y247388D01* X152804Y247406D01* X152834Y247541D01* X152869Y247676D01* X152871Y247704D01* X152874Y247716D01* X152873Y247736D01* X152879Y247837D01* X152879Y251234D01* X154032Y252386D01* X154092Y252464D01* X154160Y252536D01* X154189Y252589D01* X154226Y252637D01* X154266Y252728D01* X154314Y252815D01* X154329Y252873D01* X154353Y252929D01* X154368Y253027D01* X154393Y253123D01* X154399Y253223D01* X154403Y253243D01* X154401Y253255D01* X154403Y253283D01* X154403Y255506D01* X155254Y257560D01* X156826Y259132D01* X158880Y259983D01* X161104Y259983D01* X163158Y259132D01* X164790Y257500D01* X164819Y257449D01* X164867Y257399D01* X164908Y257342D01* X164978Y257285D01* X165040Y257221D01* X165100Y257184D01* X165153Y257139D01* X165234Y257101D01* X165311Y257054D01* X165378Y257034D01* X165441Y257004D01* X165529Y256987D01* X165615Y256961D01* X165685Y256957D01* X165754Y256944D01* X165843Y256950D01* X165933Y256945D01* X166001Y256960D01* X166071Y256964D01* X166156Y256992D01* X166244Y257010D01* X166307Y257040D01* X166373Y257062D01* X166449Y257110D01* X166530Y257149D01* X166583Y257195D01* X166642Y257232D01* X166704Y257298D01* X166772Y257356D01* X166812Y257413D01* X166860Y257464D01* X166903Y257542D01* X166955Y257616D01* X166980Y257681D01* X167014Y257742D01* X167036Y257829D01* X167068Y257913D01* X167076Y257982D01* X167093Y258050D01* X167103Y258211D01* X167103Y280439D01* X167087Y280567D01* X167077Y280695D01* X167067Y280724D01* X167063Y280755D01* X167016Y280874D01* X166974Y280996D01* X166958Y281022D01* X166946Y281050D01* X166871Y281154D01* X166800Y281262D01* X166777Y281283D01* X166760Y281308D01* X166660Y281390D01* X166565Y281477D01* X166538Y281491D01* X166515Y281510D01* X166509Y281513D01* X166475Y281555D01* X166474Y281556D01* X166336Y281660D01* X166221Y281746D01* X166220Y281747D01* X166219Y281748D01* X166076Y281817D01* X165380Y282106D01* X165220Y282149D01* X165074Y282190D01* X165073Y282190D01* X164997Y282191D01* X164712Y282365D01* X164695Y282373D01* X164679Y282385D01* X164535Y282456D01* X162140Y283448D01* X160971Y284617D01* X160958Y284627D01* X160951Y284633D01* X160921Y284666D01* X160253Y285335D01* X160214Y285365D01* X160181Y285402D01* X160089Y285462D01* X160002Y285530D01* X159957Y285549D01* X159915Y285576D01* X159912Y285577D01* X159454Y286114D01* X159440Y286126D01* X159429Y286142D01* X159314Y286254D01* X158764Y286724D01* X158747Y286753D01* X158698Y286852D01* X158666Y286890D01* X158641Y286932D01* X158535Y287053D01* X157866Y287721D01* X157848Y287736D01* X157817Y287771D01* X156648Y288940D01* X155656Y291335D01* X155646Y291352D01* X155641Y291370D01* X155565Y291512D01* X155390Y291798D01* X155381Y291863D01* X155358Y292028D01* X155357Y292029D01* X155357Y292030D01* X155306Y292180D01* X155018Y292875D01* X155018Y292876D01* X155017Y292877D01* X154946Y293002D01* X154860Y293152D01* X154860Y293153D01* X154807Y293208D01* X154729Y293532D01* X154722Y293550D01* X154719Y293569D01* X154667Y293722D01* X153675Y296116D01* X153675Y297770D01* X153673Y297785D01* X153673Y297796D01* X153675Y297840D01* X153675Y297976D01* X153660Y298094D01* X153653Y298213D01* X153640Y298251D01* X153635Y298292D01* X153592Y298402D01* X153555Y298515D01* X153533Y298550D01* X153518Y298587D01* X153449Y298683D01* X153385Y298784D01* X153355Y298812D01* X153332Y298845D01* X153240Y298921D01* X153153Y299002D01* X153118Y299022D01* X153087Y299047D01* X152979Y299098D01* X152875Y299156D01* X152835Y299166D01* X152799Y299183D01* X152682Y299205D01* X152567Y299235D01* X152507Y299239D01* X152487Y299243D01* X152466Y299241D01* X152406Y299245D01* X107089Y299245D01* X107193Y299924D01* X107191Y299968D01* X107194Y299987D01* X107194Y299988D01* X107199Y300017D01* X107187Y300069D01* X107184Y300123D01* X107164Y300165D01* X107153Y300210D01* X107121Y300253D01* X107098Y300302D01* X107063Y300333D01* X107035Y300370D01* X106989Y300398D01* X106948Y300433D01* X106904Y300448D01* X106864Y300472D01* X106800Y300482D01* X106760Y300496D01* X106734Y300494D01* X106700Y300499D01* X86700Y300499D01* X86623Y300484D01* X86545Y300475D01* X86526Y300464D01* X86505Y300460D01* X86440Y300415D01* X86372Y300376D01* X86357Y300358D01* X86341Y300347D01* X86317Y300309D01* X86267Y300248D01* X76267Y282748D01* X76255Y282712D01* X76235Y282681D01* X76224Y282619D01* X76204Y282559D01* X76207Y282522D01* X76201Y282485D01* X76215Y282424D01* X76221Y282361D01* X76238Y282328D01* X76246Y282292D01* X76284Y282241D01* X76313Y282185D01* X76342Y282161D01* X76363Y282131D01* X76432Y282087D01* X76467Y282059D01* X76484Y282053D01* X76503Y282041D01* X76984Y281835D01* X65174Y261379D01* X65115Y261237D01* X65055Y261098D01* X65053Y261092D01* X65051Y261086D01* X65029Y260935D01* X65005Y260784D01* X65005Y260778D01* X65004Y260771D01* X65020Y260619D01* X65035Y260468D01* X65037Y260461D01* X65038Y260455D01* X65091Y260310D01* X65142Y260168D01* X65146Y260163D01* X65148Y260157D01* X65236Y260030D01* X65321Y259905D01* X65326Y259901D01* X65330Y259895D01* X65446Y259795D01* X65559Y259695D01* X65565Y259692D01* X65570Y259687D01* X65707Y259619D01* X65842Y259550D01* X65849Y259549D01* X65855Y259546D01* X66005Y259514D01* X66153Y259481D01* X66159Y259481D01* X66166Y259479D01* X66320Y259486D01* X66471Y259490D01* X66477Y259492D01* X66484Y259492D01* X66631Y259537D01* X66776Y259579D01* X66782Y259582D01* X66788Y259584D01* X66919Y259663D01* X67050Y259740D01* X67057Y259746D01* X67061Y259748D01* X67068Y259756D01* X67171Y259847D01* X67433Y260109D01* X75767Y260109D01* X78125Y257751D01* X78125Y243417D01* X75675Y240967D01* X75602Y240873D01* X75523Y240784D01* X75505Y240748D01* X75480Y240716D01* X75433Y240607D01* X75379Y240501D01* X75370Y240461D01* X75354Y240424D01* X75335Y240307D01* X75309Y240191D01* X75310Y240150D01* X75304Y240110D01* X75315Y239992D01* X75319Y239873D01* X75330Y239834D01* X75334Y239794D01* X75374Y239681D01* X75407Y239567D01* X75428Y239532D01* X75441Y239494D01* X75508Y239396D01* X75569Y239293D01* X75609Y239248D01* X75620Y239231D01* X75635Y239218D01* X75675Y239172D01* X76338Y238510D01* X77189Y236456D01* X77189Y235311D01* X77201Y235213D01* X77204Y235114D01* X77221Y235056D01* X77229Y234995D01* X77265Y234903D01* X77293Y234808D01* X77323Y234756D01* X77346Y234700D01* X77404Y234620D01* X77454Y234534D01* X77520Y234459D01* X77532Y234442D01* X77542Y234435D01* X77560Y234413D01* X80491Y231483D01* X80491Y215075D01* X80100Y214685D01* X80040Y214606D01* X79972Y214534D01* X79943Y214481D01* X79906Y214433D01* X79866Y214342D01* X79818Y214256D01* X79803Y214197D01* X79779Y214141D01* X79764Y214043D01* X79739Y213948D01* X79733Y213848D01* X79729Y213827D01* X79731Y213815D01* X79729Y213787D01* X79729Y201975D01* X79741Y201877D01* X79744Y201778D01* X79761Y201720D01* X79769Y201660D01* X79805Y201568D01* X79833Y201473D01* X79863Y201420D01* X79886Y201364D01* X79944Y201284D01* X79994Y201199D01* X80060Y201123D01* X80072Y201107D01* X80082Y201099D01* X80100Y201078D01* X87349Y193830D01* X87349Y186735D01* X87361Y186637D01* X87364Y186538D01* X87381Y186480D01* X87389Y186420D01* X87425Y186328D01* X87453Y186233D01* X87483Y186180D01* X87506Y186124D01* X87564Y186044D01* X87614Y185959D01* X87680Y185883D01* X87692Y185867D01* X87702Y185859D01* X87720Y185838D01* X90905Y182654D01* X90905Y168701D01* X90917Y168603D01* X90920Y168504D01* X90937Y168446D01* X90945Y168386D01* X90981Y168294D01* X91009Y168199D01* X91039Y168146D01* X91062Y168090D01* X91120Y168010D01* X91170Y167925D01* X91236Y167849D01* X91248Y167833D01* X91258Y167825D01* X91276Y167804D01* X93214Y165866D01* X93292Y165806D01* X93364Y165738D01* X93417Y165709D01* X93465Y165672D01* X93556Y165632D01* X93643Y165584D01* X93701Y165569D01* X93757Y165545D01* X93855Y165530D01* X93951Y165505D01* X94051Y165499D01* X94071Y165495D01* X94083Y165497D01* X94111Y165495D01* X126051Y165495D01* X126149Y165507D01* X126248Y165510D01* X126306Y165527D01* X126366Y165535D01* X126458Y165571D01* X126553Y165599D01* X126606Y165629D01* X126662Y165652D01* X126742Y165710D01* X126827Y165760D01* X126903Y165826D01* X126919Y165838D01* X126927Y165848D01* X126948Y165866D01* X131376Y170295D01* X140205Y170295D01* X140243Y170285D01* X140343Y170279D01* X140363Y170275D01* X140375Y170276D01* X140403Y170275D01* X142465Y170275D01* X143725Y169015D01* X143725Y165985D01* X143638Y165897D01* X143565Y165803D01* X143486Y165714D01* X143467Y165678D01* X143443Y165646D01* X143395Y165537D01* X143341Y165431D01* X143332Y165391D01* X143316Y165354D01* X143298Y165237D01* X143272Y165121D01* X143273Y165080D01* X143266Y165040D01* X143278Y164921D01* X143281Y164803D01* X143292Y164764D01* X143296Y164724D01* X143337Y164611D01* X143370Y164497D01* X143390Y164462D01* X143404Y164424D01* X143471Y164326D01* X143531Y164223D01* X143571Y164178D01* X143582Y164161D01* X143598Y164148D01* X143638Y164102D01* X143725Y164015D01* X143725Y160985D01* X143638Y160897D01* X143565Y160803D01* X143486Y160714D01* X143467Y160678D01* X143443Y160646D01* X143395Y160537D01* X143341Y160431D01* X143332Y160391D01* X143316Y160354D01* X143298Y160237D01* X143272Y160121D01* X143273Y160080D01* X143266Y160040D01* X143278Y159921D01* X143281Y159803D01* X143292Y159764D01* X143296Y159724D01* X143337Y159611D01* X143370Y159497D01* X143390Y159462D01* X143404Y159424D01* X143471Y159326D01* X143531Y159223D01* X143571Y159178D01* X143582Y159161D01* X143598Y159148D01* X143638Y159102D01* X143725Y159015D01* X143725Y155985D01* X143638Y155897D01* X143565Y155803D01* X143486Y155714D01* X143467Y155678D01* X143443Y155646D01* X143395Y155537D01* X143341Y155431D01* X143332Y155391D01* X143316Y155354D01* X143298Y155237D01* X143272Y155121D01* X143273Y155080D01* X143266Y155040D01* X143278Y154921D01* X143281Y154803D01* X143292Y154764D01* X143296Y154724D01* X143337Y154611D01* X143370Y154497D01* X143390Y154462D01* X143404Y154424D01* X143471Y154326D01* X143531Y154223D01* X143571Y154178D01* X143582Y154161D01* X143598Y154148D01* X143638Y154102D01* X143725Y154015D01* X143725Y150985D01* X143638Y150897D01* X143565Y150803D01* X143486Y150714D01* X143467Y150678D01* X143443Y150646D01* X143395Y150537D01* X143341Y150431D01* X143332Y150391D01* X143316Y150354D01* X143298Y150237D01* X143272Y150121D01* X143273Y150080D01* X143266Y150040D01* X143278Y149921D01* X143281Y149803D01* X143292Y149764D01* X143296Y149724D01* X143337Y149611D01* X143370Y149497D01* X143390Y149462D01* X143404Y149424D01* X143471Y149326D01* X143531Y149223D01* X143571Y149178D01* X143582Y149161D01* X143598Y149148D01* X143638Y149102D01* X143725Y149015D01* X143725Y145985D01* X143638Y145897D01* X143565Y145803D01* X143486Y145714D01* X143467Y145678D01* X143443Y145646D01* X143395Y145537D01* X143341Y145431D01* X143332Y145391D01* X143316Y145354D01* X143298Y145237D01* X143272Y145121D01* X143273Y145080D01* X143266Y145040D01* X143278Y144921D01* X143281Y144803D01* X143292Y144764D01* X143296Y144724D01* X143337Y144611D01* X143370Y144497D01* X143390Y144462D01* X143404Y144424D01* X143471Y144326D01* X143531Y144223D01* X143571Y144178D01* X143582Y144161D01* X143598Y144148D01* X143638Y144102D01* X143725Y144015D01* X143725Y140985D01* X143638Y140897D01* X143565Y140803D01* X143486Y140714D01* X143467Y140678D01* X143443Y140646D01* X143395Y140537D01* X143341Y140431D01* X143332Y140391D01* X143316Y140354D01* X143298Y140237D01* X143272Y140121D01* X143273Y140080D01* X143266Y140040D01* X143278Y139921D01* X143281Y139803D01* X143292Y139764D01* X143296Y139724D01* X143337Y139611D01* X143370Y139497D01* X143390Y139462D01* X143404Y139424D01* X143471Y139326D01* X143531Y139223D01* X143571Y139178D01* X143582Y139161D01* X143598Y139148D01* X143638Y139102D01* X143725Y139015D01* X143725Y135985D01* X143638Y135897D01* X143565Y135803D01* X143486Y135714D01* X143467Y135678D01* X143443Y135646D01* X143395Y135537D01* X143341Y135431D01* X143332Y135391D01* X143316Y135354D01* X143298Y135237D01* X143272Y135121D01* X143273Y135080D01* X143266Y135040D01* X143278Y134921D01* X143281Y134803D01* X143292Y134764D01* X143296Y134724D01* X143337Y134611D01* X143370Y134497D01* X143390Y134462D01* X143404Y134424D01* X143471Y134326D01* X143531Y134223D01* X143571Y134178D01* X143582Y134161D01* X143598Y134148D01* X143638Y134102D01* X143725Y134015D01* X143725Y130985D01* X143638Y130897D01* X143565Y130803D01* X143486Y130714D01* X143467Y130678D01* X143443Y130646D01* X143395Y130537D01* X143341Y130431D01* X143332Y130391D01* X143316Y130354D01* X143298Y130237D01* X143272Y130121D01* X143273Y130080D01* X143266Y130040D01* X143278Y129921D01* X143281Y129803D01* X143292Y129764D01* X143296Y129724D01* X143337Y129611D01* X143370Y129497D01* X143390Y129462D01* X143404Y129424D01* X143471Y129326D01* X143531Y129223D01* X143571Y129178D01* X143582Y129161D01* X143598Y129148D01* X143638Y129102D01* X143725Y129015D01* X143725Y125985D01* X143638Y125897D01* X143565Y125803D01* X143486Y125714D01* X143467Y125678D01* X143443Y125646D01* X143395Y125537D01* X143341Y125431D01* X143332Y125391D01* X143316Y125354D01* X143298Y125237D01* X143272Y125121D01* X143273Y125080D01* X143266Y125040D01* X143278Y124921D01* X143281Y124803D01* X143292Y124764D01* X143296Y124724D01* X143337Y124611D01* X143370Y124497D01* X143390Y124462D01* X143404Y124424D01* X143471Y124326D01* X143531Y124223D01* X143571Y124178D01* X143582Y124161D01* X143598Y124148D01* X143638Y124102D01* X143725Y124015D01* X143725Y121794D01* X143740Y121676D01* X143747Y121557D01* X143759Y121519D01* X143765Y121478D01* X143808Y121368D01* X143845Y121254D01* X143867Y121220D01* X143882Y121183D01* X143951Y121086D01* X144015Y120986D01* X144045Y120958D01* X144068Y120925D01* X144160Y120849D01* X144247Y120768D01* X144282Y120748D01* X144313Y120723D01* X144421Y120672D01* X144525Y120614D01* X144565Y120604D01* X144601Y120587D01* X144718Y120565D01* X144833Y120535D01* X144893Y120531D01* X144913Y120527D01* X144934Y120528D01* X144994Y120525D01* X147215Y120525D01* X148475Y119265D01* X148475Y117203D01* X148487Y117105D01* X148490Y117005D01* X148495Y116990D01* X148495Y113995D01* X148485Y113957D01* X148479Y113858D01* X148475Y113838D01* X148476Y113825D01* X148475Y113797D01* X148475Y111734D01* X147215Y110475D01* X144185Y110475D01* X142871Y111789D01* X142842Y111862D01* X142805Y111975D01* X142783Y112010D01* X142768Y112047D01* X142699Y112143D01* X142635Y112244D01* X142605Y112272D01* X142582Y112305D01* X142490Y112380D01* X142403Y112462D01* X142368Y112482D01* X142337Y112507D01* X142229Y112558D01* X142125Y112616D01* X142085Y112626D01* X142049Y112643D01* X141932Y112665D01* X141817Y112695D01* X141757Y112699D01* X141737Y112703D01* X141716Y112701D01* X141656Y112705D01* X134721Y112705D01* X134623Y112693D01* X134524Y112690D01* X134465Y112673D01* X134405Y112665D01* X134313Y112629D01* X134218Y112601D01* X134166Y112571D01* X134110Y112548D01* X134030Y112490D01* X133944Y112440D01* X133869Y112373D01* X133852Y112361D01* X133845Y112352D01* X133823Y112333D01* X133433Y111943D01* X129265Y111943D01* X123379Y117830D01* X123300Y117890D01* X123228Y117958D01* X123175Y117987D01* X123127Y118024D01* X123036Y118064D01* X122950Y118112D01* X122891Y118127D01* X122835Y118151D01* X122737Y118166D01* X122642Y118191D01* X122542Y118197D01* X122521Y118201D01* X122509Y118199D01* X122481Y118201D01* X112704Y118201D01* X111811Y119094D01* X111811Y119257D01* X111796Y119375D01* X111789Y119494D01* X111776Y119532D01* X111771Y119573D01* X111728Y119683D01* X111691Y119796D01* X111669Y119831D01* X111654Y119868D01* X111585Y119964D01* X111521Y120065D01* X111491Y120093D01* X111468Y120126D01* X111376Y120202D01* X111289Y120283D01* X111254Y120303D01* X111223Y120328D01* X111115Y120379D01* X111011Y120437D01* X110971Y120447D01* X110935Y120464D01* X110818Y120486D01* X110703Y120516D01* X110643Y120520D01* X110623Y120524D01* X110602Y120522D01* X110542Y120526D01* X106786Y120526D01* X106668Y120511D01* X106549Y120504D01* X106511Y120491D01* X106470Y120486D01* X106360Y120443D01* X106247Y120406D01* X106212Y120384D01* X106175Y120369D01* X106079Y120300D01* X105978Y120236D01* X105950Y120206D01* X105917Y120183D01* X105841Y120091D01* X105760Y120004D01* X105740Y119969D01* X105715Y119938D01* X105664Y119830D01* X105606Y119726D01* X105596Y119686D01* X105579Y119650D01* X105557Y119533D01* X105527Y119418D01* X105523Y119358D01* X105522Y119354D01* X104624Y118455D01* X88360Y118455D01* X87467Y119348D01* X87467Y133236D01* X87452Y133354D01* X87445Y133473D01* X87432Y133511D01* X87427Y133552D01* X87384Y133662D01* X87347Y133775D01* X87325Y133810D01* X87310Y133847D01* X87241Y133943D01* X87177Y134044D01* X87147Y134072D01* X87124Y134105D01* X87032Y134181D01* X86945Y134262D01* X86910Y134282D01* X86879Y134307D01* X86771Y134358D01* X86667Y134416D01* X86627Y134426D01* X86591Y134443D01* X86474Y134465D01* X86359Y134495D01* X86299Y134499D01* X86279Y134503D01* X86258Y134501D01* X86198Y134505D01* X79488Y134505D01* X79350Y134488D01* X79211Y134475D01* X79192Y134468D01* X79172Y134465D01* X79043Y134414D01* X78912Y134367D01* X78895Y134356D01* X78876Y134348D01* X78764Y134267D01* X78649Y134189D01* X78635Y134173D01* X78619Y134162D01* X78530Y134054D01* X78438Y133950D01* X78429Y133932D01* X78416Y133917D01* X78357Y133791D01* X78294Y133667D01* X78289Y133647D01* X78281Y133629D01* X78254Y133492D01* X78224Y133357D01* X78225Y133336D01* X78221Y133317D01* X78230Y133178D01* X78234Y133039D01* X78239Y133019D01* X78241Y132999D01* X78283Y132867D01* X78322Y132733D01* X78332Y132716D01* X78339Y132697D01* X78413Y132579D01* X78484Y132459D01* X78502Y132438D01* X78509Y132428D01* X78524Y132414D01* X78590Y132339D01* X80429Y130499D01* X82015Y126672D01* X82015Y122528D01* X80429Y118701D01* X77499Y115771D01* X73672Y114185D01* X69528Y114185D01* X65701Y115771D01* X62771Y118701D01* X61185Y122528D01* X61185Y126672D01* X62771Y130499D01* X64610Y132339D01* X64695Y132448D01* X64784Y132555D01* X64792Y132574D01* X64805Y132590D01* X64860Y132718D01* X64919Y132843D01* X64923Y132863D01* X64931Y132882D01* X64953Y133020D01* X64979Y133156D01* X64978Y133176D01* X64981Y133196D01* X64968Y133335D01* X64959Y133473D01* X64953Y133492D01* X64951Y133512D01* X64904Y133644D01* X64861Y133775D01* X64850Y133793D01* X64844Y133812D01* X64766Y133927D01* X64691Y134044D01* X64676Y134058D01* X64665Y134075D01* X64561Y134167D01* X64460Y134262D01* X64442Y134272D01* X64427Y134285D01* X64302Y134349D01* X64181Y134416D01* X64161Y134421D01* X64143Y134430D01* X64008Y134460D01* X63873Y134495D01* X63845Y134497D01* X63833Y134500D01* X63813Y134499D01* X63712Y134505D01* X62822Y134505D01* X44652Y152676D01* X44574Y152736D01* X44502Y152804D01* X44449Y152833D01* X44401Y152870D01* X44310Y152910D01* X44223Y152958D01* X44165Y152973D01* X44109Y152997D01* X44011Y153012D01* X43915Y153037D01* X43815Y153043D01* X43795Y153047D01* X43783Y153045D01* X43755Y153047D01* X42484Y153047D01* X36801Y158730D01* X36801Y195165D01* X36789Y195264D01* X36786Y195363D01* X36769Y195421D01* X36761Y195481D01* X36725Y195573D01* X36697Y195668D01* X36667Y195720D01* X36644Y195777D01* X36586Y195857D01* X36536Y195942D01* X36470Y196017D01* X36458Y196034D01* X36448Y196042D01* X36430Y196063D01* X36128Y196364D01* X35277Y198418D01* X35277Y200642D01* X36128Y202696D01* X37641Y204209D01* X37679Y204258D01* X37724Y204300D01* X37767Y204368D01* X37813Y204423D01* X37821Y204440D01* X37836Y204460D01* X37861Y204517D01* X37893Y204569D01* X37920Y204651D01* X37948Y204711D01* X37951Y204725D01* X37962Y204752D01* X37972Y204813D01* X37991Y204871D01* X37997Y204964D01* X38008Y205023D01* X38007Y205035D01* X38012Y205066D01* X38007Y205127D01* X38010Y205189D01* X37992Y205285D01* X37988Y205341D01* X37986Y205349D01* X37983Y205383D01* X37962Y205441D01* X37950Y205501D01* X37908Y205590D01* X37903Y205603D01* X37890Y205643D01* X37887Y205649D01* X37875Y205682D01* X37840Y205733D01* X37814Y205788D01* X37751Y205864D01* X37739Y205882D01* X37720Y205912D01* X37716Y205916D01* X37696Y205945D01* X37650Y205986D01* X37611Y206033D01* X37532Y206091D01* X37513Y206107D01* X37488Y206130D01* X37484Y206132D01* X37458Y206156D01* X37403Y206184D01* X37353Y206220D01* X37262Y206256D01* X37243Y206265D01* X37210Y206284D01* X37205Y206285D01* X37175Y206300D01* X37115Y206314D01* X37062Y206334D01* X35395Y207279D01* X35289Y207323D01* X35187Y207373D01* X35142Y207383D01* X35100Y207400D01* X34988Y207416D01* X34876Y207440D01* X34831Y207438D01* X34785Y207444D01* X34672Y207431D01* X34558Y207427D01* X34515Y207414D01* X34469Y207408D01* X34363Y207368D01* X34254Y207335D01* X34215Y207311D01* X34172Y207295D01* X34079Y207230D01* X33982Y207171D01* X33950Y207138D01* X33912Y207112D01* X33839Y207025D01* X33759Y206944D01* X33720Y206886D01* X33706Y206870D01* X33698Y206853D01* X33670Y206810D01* X10640Y166919D01* X10000Y167399D01* X9962Y167417D01* X9929Y167444D01* X9873Y167460D01* X9820Y167485D01* X9778Y167486D01* X9738Y167498D01* X9680Y167491D01* X9621Y167493D01* X9582Y167478D01* X9540Y167473D01* X9490Y167444D01* X9435Y167423D01* X9405Y167394D01* X9368Y167373D01* X9323Y167317D01* X9291Y167286D01* X9282Y167266D01* X9264Y167244D01* X-236Y150244D01* X-257Y150176D01* X-287Y150112D01* X-287Y150082D01* X-296Y150054D01* X-290Y149984D01* X-292Y149913D01* X-280Y149882D01* X-278Y149856D01* X-258Y149819D01* X-236Y149756D01* X9264Y132756D01* X9291Y132725D01* X9311Y132687D01* X9356Y132650D01* X9394Y132606D01* X9431Y132587D01* X9464Y132560D01* X9520Y132543D01* X9572Y132517D01* X9614Y132515D01* X9654Y132503D01* X9712Y132509D01* X9771Y132506D01* X9810Y132520D01* X9852Y132524D01* X9916Y132558D01* X9958Y132572D01* X9974Y132588D01* X10000Y132601D01* X10640Y133081D01* X33317Y93800D01* X33390Y93704D01* X33457Y93604D01* X33486Y93578D01* X33510Y93547D01* X33604Y93472D01* X33694Y93391D01* X33728Y93373D01* X33759Y93349D01* X33869Y93300D01* X33976Y93245D01* X34014Y93236D01* X34049Y93220D01* X34169Y93200D01* X34286Y93172D01* X34325Y93173D01* X34363Y93167D01* X34484Y93177D01* X34604Y93179D01* X34641Y93190D01* X34680Y93193D01* X34794Y93233D01* X34910Y93265D01* X34961Y93291D01* X34980Y93298D01* X34998Y93309D01* X35054Y93337D01* X36615Y94243D01* X37882Y94413D01* X37896Y94417D01* X37910Y94418D01* X38050Y94458D01* X38189Y94495D01* X38202Y94502D01* X38216Y94506D01* X38248Y94525D01* X38566Y94525D01* X38567Y94525D01* X38569Y94525D01* X38723Y94545D01* X38881Y94565D01* X38883Y94565D01* X38884Y94565D01* X39037Y94616D01* X39247Y94699D01* X39271Y94690D01* X39328Y94683D01* X39384Y94667D01* X39486Y94664D01* X39586Y94652D01* X39681Y94659D01* X39702Y94658D01* X39715Y94661D01* X39747Y94664D01* X44480Y95299D01* X47237Y94567D01* X47238Y94567D01* X47240Y94567D01* X52151Y93264D01* X58459Y88448D01* X59543Y86580D01* X59594Y86513D01* X59637Y86441D01* X59731Y86335D01* X59736Y86328D01* X59739Y86325D01* X59743Y86320D01* X59764Y86300D01* X59765Y86294D01* X59799Y86207D01* X59824Y86116D01* X59875Y86015D01* X59882Y85998D01* X59887Y85990D01* X59896Y85972D01* X61334Y83497D01* X61397Y83414D01* X61452Y83326D01* X61493Y83288D01* X61526Y83244D01* X61608Y83179D01* X61684Y83108D01* X61733Y83081D01* X61776Y83047D01* X61872Y83005D01* X61963Y82954D01* X62016Y82941D01* X62067Y82918D01* X62170Y82901D01* X62271Y82875D01* X62359Y82869D01* X62381Y82866D01* X62395Y82867D01* X62431Y82865D01* X67440Y82865D01* X80450Y69854D01* X80528Y69794D01* X80600Y69726D01* X80653Y69697D01* X80701Y69660D01* X80792Y69620D01* X80879Y69572D01* X80937Y69557D01* X80993Y69533D01* X81091Y69518D01* X81187Y69493D01* X81287Y69487D01* X81307Y69483D01* X81319Y69485D01* X81347Y69483D01* X88270Y69483D01* X89168Y68584D01* X89246Y68524D01* X89318Y68456D01* X89371Y68427D01* X89419Y68390D01* X89510Y68350D01* X89597Y68302D01* X89655Y68287D01* X89711Y68263D01* X89809Y68248D01* X89905Y68223D01* X90005Y68217D01* X90025Y68213D01* X90037Y68215D01* X90065Y68213D01* X93251Y68213D01* X93320Y68221D01* G37* G36* X107735Y-492D02* X107735Y-492D01* X107772Y-494D01* X107832Y-472D01* X107895Y-460D01* X107925Y-439D01* X107959Y-427D01* X108006Y-383D01* X108059Y-347D01* X108078Y-317D01* X108105Y-292D01* X108131Y-234D01* X108166Y-180D01* X108172Y-144D01* X108187Y-111D01* X108191Y-28D01* X108199Y17D01* X108195Y33D01* X108196Y55D01* X108118Y755D01* X151406Y755D01* X151524Y770D01* X151643Y777D01* X151681Y790D01* X151722Y795D01* X151832Y838D01* X151945Y875D01* X151980Y897D01* X152017Y912D01* X152113Y981D01* X152214Y1045D01* X152242Y1075D01* X152275Y1098D01* X152351Y1190D01* X152432Y1277D01* X152452Y1312D01* X152477Y1343D01* X152528Y1451D01* X152586Y1555D01* X152596Y1595D01* X152613Y1631D01* X152635Y1748D01* X152665Y1863D01* X152669Y1923D01* X152673Y1943D01* X152671Y1964D01* X152675Y2024D01* X152675Y4083D01* X153721Y6607D01* X153726Y6625D01* X153735Y6642D01* X153752Y6696D01* X153757Y6708D01* X153760Y6725D01* X153782Y6796D01* X153857Y7108D01* X153882Y7141D01* X153991Y7285D01* X153991Y7286D01* X153992Y7288D01* X154062Y7430D01* X154414Y8279D01* X154455Y8431D01* X154497Y8585D01* X154497Y8586D01* X154499Y8655D01* X154664Y8925D01* X154672Y8942D01* X154684Y8958D01* X154755Y9102D01* X155800Y11626D01* X157828Y13654D01* X157858Y13693D01* X157894Y13726D01* X157955Y13818D01* X158022Y13905D01* X158042Y13951D01* X158069Y13992D01* X158070Y13995D01* X158606Y14453D01* X158619Y14467D01* X158635Y14478D01* X158747Y14594D01* X159216Y15143D01* X159246Y15160D01* X159345Y15209D01* X159383Y15241D01* X159425Y15266D01* X159546Y15372D01* X161574Y17400D01* X164098Y18445D01* X164114Y18455D01* X164133Y18461D01* X164275Y18536D01* X164548Y18703D01* X164595Y18710D01* X164769Y18734D01* X164769Y18735D01* X164770Y18735D01* X164771Y18735D01* X164921Y18786D01* X165769Y19138D01* X165770Y19138D01* X165905Y19215D01* X166045Y19295D01* X166046Y19296D01* X166047Y19296D01* X166096Y19344D01* X166404Y19418D01* X166422Y19424D01* X166441Y19427D01* X166593Y19479D01* X168606Y20313D01* X168631Y20327D01* X168659Y20337D01* X168769Y20406D01* X168882Y20470D01* X168903Y20491D01* X168928Y20507D01* X169017Y20601D01* X169110Y20692D01* X169126Y20717D01* X169146Y20738D01* X169209Y20852D01* X169277Y20963D01* X169285Y20991D01* X169300Y21017D01* X169332Y21142D01* X169370Y21267D01* X169372Y21296D01* X169379Y21325D01* X169389Y21485D01* X169389Y29658D01* X170034Y30303D01* X170094Y30381D01* X170162Y30453D01* X170191Y30506D01* X170228Y30554D01* X170268Y30645D01* X170316Y30732D01* X170331Y30790D01* X170355Y30846D01* X170370Y30944D01* X170395Y31040D01* X170400Y31124D01* X170403Y31136D01* X170402Y31144D01* X170405Y31160D01* X170403Y31172D01* X170405Y31200D01* X170405Y31778D01* X172414Y33786D01* X174446Y35819D01* X174531Y35928D01* X174620Y36035D01* X174629Y36054D01* X174641Y36070D01* X174697Y36198D01* X174756Y36323D01* X174759Y36343D01* X174767Y36362D01* X174789Y36500D01* X174815Y36636D01* X174814Y36656D01* X174817Y36676D01* X174804Y36815D01* X174796Y36953D01* X174789Y36972D01* X174788Y36992D01* X174740Y37124D01* X174698Y37255D01* X174687Y37273D01* X174680Y37292D01* X174602Y37406D01* X174527Y37524D01* X174513Y37538D01* X174501Y37555D01* X174397Y37647D01* X174296Y37742D01* X174278Y37752D01* X174263Y37765D01* X174139Y37829D01* X174017Y37896D01* X173998Y37901D01* X173980Y37910D01* X173844Y37940D01* X173709Y37975D01* X173681Y37977D01* X173669Y37980D01* X173649Y37979D01* X173549Y37985D01* X171128Y37985D01* X167301Y39571D01* X164371Y42501D01* X162785Y46328D01* X162785Y50472D01* X164371Y54299D01* X167301Y57229D01* X167844Y57454D01* X167869Y57469D01* X167897Y57478D01* X168007Y57547D01* X168120Y57612D01* X168141Y57632D01* X168166Y57648D01* X168255Y57743D01* X168348Y57833D01* X168364Y57858D01* X168384Y57880D01* X168447Y57993D01* X168515Y58104D01* X168523Y58132D01* X168538Y58158D01* X168570Y58284D01* X168608Y58408D01* X168610Y58438D01* X168617Y58466D01* X168627Y58627D01* X168627Y65324D01* X175114Y71810D01* X175174Y71888D01* X175242Y71960D01* X175271Y72013D01* X175308Y72061D01* X175348Y72152D01* X175396Y72239D01* X175411Y72297D01* X175435Y72353D01* X175450Y72451D01* X175475Y72547D01* X175481Y72647D01* X175485Y72667D01* X175483Y72679D01* X175485Y72707D01* X175485Y84167D01* X175468Y84305D01* X175455Y84444D01* X175448Y84463D01* X175445Y84483D01* X175394Y84612D01* X175347Y84743D01* X175336Y84760D01* X175328Y84779D01* X175247Y84891D01* X175169Y85006D01* X175153Y85020D01* X175142Y85036D01* X175034Y85125D01* X174930Y85217D01* X174912Y85226D01* X174897Y85239D01* X174771Y85298D01* X174647Y85361D01* X174627Y85366D01* X174609Y85374D01* X174472Y85400D01* X174337Y85431D01* X174316Y85430D01* X174297Y85434D01* X174158Y85425D01* X174019Y85421D01* X173999Y85416D01* X173979Y85414D01* X173847Y85372D01* X173713Y85333D01* X173696Y85323D01* X173677Y85316D01* X173559Y85242D01* X173439Y85171D01* X173418Y85153D01* X173408Y85146D01* X173394Y85131D01* X173319Y85065D01* X172556Y84302D01* X170643Y83510D01* X170635Y83505D01* X170626Y83503D01* X170497Y83427D01* X170367Y83352D01* X170360Y83346D01* X170352Y83341D01* X170231Y83235D01* X152871Y65875D01* X152811Y65797D01* X152743Y65725D01* X152714Y65672D01* X152677Y65624D01* X152637Y65533D01* X152589Y65446D01* X152574Y65388D01* X152550Y65332D01* X152535Y65234D01* X152510Y65138D01* X152504Y65038D01* X152500Y65018D01* X152502Y65006D01* X152500Y64978D01* X152500Y58574D01* X152503Y58545D01* X152501Y58515D01* X152523Y58388D01* X152540Y58259D01* X152550Y58231D01* X152555Y58202D01* X152609Y58083D01* X152657Y57963D01* X152674Y57939D01* X152686Y57912D01* X152767Y57811D01* X152843Y57706D01* X152866Y57687D01* X152885Y57664D01* X152988Y57586D01* X153088Y57503D01* X153115Y57490D01* X153139Y57472D01* X153283Y57402D01* X153699Y57229D01* X156629Y54299D01* X158215Y50472D01* X158215Y46328D01* X156629Y42501D01* X153699Y39571D01* X149872Y37985D01* X145728Y37985D01* X141901Y39571D01* X138971Y42501D01* X137385Y46328D01* X137385Y50472D01* X138971Y54299D01* X141901Y57229D01* X142317Y57402D01* X142342Y57416D01* X142370Y57425D01* X142480Y57495D01* X142593Y57559D01* X142614Y57580D01* X142639Y57595D01* X142728Y57690D01* X142821Y57780D01* X142837Y57806D01* X142857Y57827D01* X142920Y57941D01* X142988Y58051D01* X142996Y58080D01* X143011Y58106D01* X143043Y58231D01* X143081Y58355D01* X143083Y58385D01* X143090Y58414D01* X143100Y58574D01* X143100Y69397D01* X146225Y72521D01* X163585Y89881D01* X163590Y89888D01* X163598Y89894D01* X163688Y90014D01* X163780Y90132D01* X163783Y90141D01* X163789Y90148D01* X163860Y90293D01* X164652Y92206D01* X166224Y93778D01* X168278Y94629D01* X170247Y94629D01* X170384Y94646D01* X170523Y94659D01* X170542Y94666D01* X170562Y94669D01* X170691Y94720D01* X170822Y94767D01* X170839Y94778D01* X170858Y94786D01* X170970Y94867D01* X171085Y94945D01* X171099Y94961D01* X171115Y94972D01* X171204Y95080D01* X171296Y95184D01* X171305Y95202D01* X171318Y95217D01* X171377Y95343D01* X171441Y95467D01* X171445Y95487D01* X171454Y95505D01* X171480Y95641D01* X171510Y95777D01* X171510Y95798D01* X171513Y95817D01* X171505Y95956D01* X171501Y96095D01* X171495Y96115D01* X171494Y96135D01* X171451Y96267D01* X171412Y96401D01* X171402Y96418D01* X171396Y96437D01* X171321Y96555D01* X171251Y96675D01* X171232Y96696D01* X171225Y96706D01* X171210Y96720D01* X171144Y96795D01* X167905Y100034D01* X167905Y109206D01* X167890Y109324D01* X167883Y109443D01* X167870Y109481D01* X167865Y109521D01* X167822Y109632D01* X167785Y109745D01* X167763Y109780D01* X167748Y109817D01* X167679Y109913D01* X167615Y110014D01* X167585Y110042D01* X167562Y110075D01* X167470Y110150D01* X167383Y110232D01* X167348Y110252D01* X167317Y110277D01* X167209Y110328D01* X167105Y110386D01* X167065Y110396D01* X167029Y110413D01* X166912Y110435D01* X166797Y110465D01* X166737Y110469D01* X166717Y110473D01* X166696Y110471D01* X166636Y110475D01* X164764Y110475D01* X164646Y110460D01* X164527Y110453D01* X164489Y110440D01* X164448Y110435D01* X164338Y110392D01* X164225Y110355D01* X164190Y110333D01* X164153Y110318D01* X164057Y110248D01* X163956Y110185D01* X163928Y110155D01* X163895Y110131D01* X163819Y110040D01* X163738Y109953D01* X163718Y109918D01* X163693Y109887D01* X163642Y109779D01* X163584Y109675D01* X163574Y109635D01* X163557Y109599D01* X163535Y109482D01* X163505Y109367D01* X163501Y109306D01* X163497Y109286D01* X163499Y109266D01* X163495Y109206D01* X163495Y95702D01* X149974Y82181D01* X140339Y82181D01* X140241Y82169D01* X140142Y82166D01* X140084Y82149D01* X140024Y82141D01* X139932Y82105D01* X139837Y82077D01* X139784Y82047D01* X139728Y82024D01* X139648Y81966D01* X139563Y81916D01* X139487Y81850D01* X139471Y81838D01* X139463Y81828D01* X139442Y81810D01* X113882Y56250D01* X111874Y54241D01* X100015Y54241D01* X99917Y54229D01* X99818Y54226D01* X99760Y54209D01* X99699Y54201D01* X99607Y54165D01* X99512Y54137D01* X99460Y54107D01* X99404Y54084D01* X99324Y54026D01* X99238Y53976D01* X99163Y53910D01* X99146Y53898D01* X99139Y53888D01* X99117Y53870D01* X98727Y53479D01* X95697Y53479D01* X95599Y53467D01* X95500Y53464D01* X95442Y53447D01* X95381Y53439D01* X95289Y53403D01* X95194Y53375D01* X95142Y53345D01* X95086Y53322D01* X95006Y53264D01* X94920Y53214D01* X94845Y53148D01* X94828Y53136D01* X94821Y53126D01* X94799Y53108D01* X91869Y50177D01* X71139Y50177D01* X71040Y50165D01* X70941Y50162D01* X70883Y50145D01* X70823Y50137D01* X70731Y50101D01* X70636Y50073D01* X70584Y50043D01* X70527Y50020D01* X70447Y49962D01* X70362Y49912D01* X70287Y49846D01* X70270Y49834D01* X70262Y49824D01* X70241Y49806D01* X69432Y48996D01* X67378Y48145D01* X65154Y48145D01* X63100Y48996D01* X61528Y50568D01* X60677Y52622D01* X60677Y54846D01* X61528Y56900D01* X63100Y58472D01* X65154Y59323D01* X67378Y59323D01* X69432Y58472D01* X70241Y57662D01* X70319Y57602D01* X70392Y57534D01* X70445Y57505D01* X70492Y57468D01* X70583Y57428D01* X70670Y57380D01* X70729Y57365D01* X70784Y57341D01* X70882Y57326D01* X70978Y57301D01* X71078Y57295D01* X71098Y57291D01* X71111Y57293D01* X71139Y57291D01* X88397Y57291D01* X88495Y57303D01* X88594Y57306D01* X88652Y57323D01* X88713Y57331D01* X88805Y57367D01* X88900Y57395D01* X88952Y57425D01* X89008Y57448D01* X89088Y57506D01* X89174Y57556D01* X89249Y57622D01* X89266Y57634D01* X89273Y57644D01* X89295Y57662D01* X92089Y60457D01* X92174Y60566D01* X92262Y60673D01* X92271Y60692D01* X92284Y60708D01* X92339Y60836D01* X92398Y60961D01* X92402Y60981D01* X92410Y61000D01* X92432Y61138D01* X92458Y61274D01* X92457Y61294D01* X92460Y61314D01* X92447Y61453D01* X92438Y61591D01* X92432Y61610D01* X92430Y61630D01* X92383Y61762D01* X92340Y61893D01* X92329Y61911D01* X92322Y61930D01* X92244Y62045D01* X92170Y62162D01* X92155Y62176D01* X92144Y62193D01* X92039Y62285D01* X91938Y62380D01* X91921Y62390D01* X91905Y62403D01* X91781Y62467D01* X91660Y62534D01* X91640Y62539D01* X91622Y62548D01* X91486Y62578D01* X91352Y62613D01* X91324Y62615D01* X91312Y62618D01* X91291Y62617D01* X91191Y62623D01* X90065Y62623D01* X89967Y62611D01* X89868Y62608D01* X89810Y62591D01* X89750Y62583D01* X89658Y62547D01* X89563Y62519D01* X89511Y62489D01* X89454Y62466D01* X89374Y62408D01* X89289Y62358D01* X89213Y62292D01* X89197Y62280D01* X89189Y62270D01* X89168Y62252D01* X88270Y61353D01* X77454Y61353D01* X65391Y73417D01* X65285Y73499D01* X65183Y73585D01* X65160Y73596D01* X65140Y73612D01* X65016Y73665D01* X64896Y73723D01* X64871Y73728D01* X64848Y73738D01* X64715Y73759D01* X64584Y73785D01* X64559Y73784D01* X64534Y73788D01* X64400Y73775D01* X64267Y73768D01* X64242Y73761D01* X64217Y73758D01* X64091Y73713D01* X63963Y73673D01* X63942Y73659D01* X63918Y73651D01* X63807Y73575D01* X63693Y73505D01* X63676Y73486D01* X63655Y73472D01* X63566Y73372D01* X63473Y73275D01* X63461Y73253D01* X63444Y73234D01* X63383Y73114D01* X63318Y72998D01* X63306Y72964D01* X63299Y72950D01* X63295Y72929D01* X63266Y72845D01* X63011Y71884D01* X63010Y71871D01* X63005Y71858D01* X62991Y71734D01* X62971Y71687D01* X62970Y71682D01* X62967Y71677D01* X62916Y71524D01* X62767Y70963D01* X62756Y70879D01* X62735Y70798D01* X62726Y70656D01* X62725Y70647D01* X62725Y70644D01* X62725Y70637D01* X62725Y70606D01* X62720Y70601D01* X62683Y70515D01* X62637Y70433D01* X62601Y70326D01* X62594Y70309D01* X62593Y70300D01* X62586Y70280D01* X61464Y66049D01* X59711Y63754D01* X59708Y63749D01* X59702Y63742D01* X56648Y59741D01* X54996Y58782D01* X54903Y58711D01* X54805Y58646D01* X54777Y58615D01* X54744Y58590D01* X54671Y58497D01* X54592Y58410D01* X54573Y58373D01* X54547Y58340D01* X54499Y58232D01* X54445Y58128D01* X54435Y58087D01* X54418Y58049D01* X54398Y57933D01* X54372Y57819D01* X54372Y57777D01* X54365Y57735D01* X54376Y57618D01* X54378Y57501D01* X54389Y57460D01* X54393Y57418D01* X54432Y57308D01* X54463Y57194D01* X54491Y57138D01* X54498Y57118D01* X54509Y57102D01* X54535Y57050D01* X76317Y19321D01* X75497Y18956D01* X75466Y18934D01* X75431Y18920D01* X75386Y18877D01* X75335Y18841D01* X75315Y18809D01* X75288Y18782D01* X75264Y18725D01* X75231Y18672D01* X75225Y18634D01* X75211Y18599D01* X75211Y18537D01* X75201Y18475D01* X75211Y18438D01* X75211Y18400D01* X75240Y18326D01* X75251Y18282D01* X75262Y18267D01* X75263Y18266D01* X75264Y18262D01* X75265Y18261D01* X75271Y18245D01* X86271Y-255D01* X86321Y-310D01* X86365Y-370D01* X86387Y-383D01* X86405Y-402D01* X86472Y-434D01* X86536Y-472D01* X86565Y-476D01* X86585Y-486D01* X86629Y-487D01* X86700Y-499D01* X107700Y-499D01* X107735Y-492D01* G37* G36* X259778Y-483D02* X259778Y-483D01* X259856Y-474D01* X259874Y-464D01* X259895Y-460D01* X259960Y-415D01* X260029Y-375D01* X260044Y-357D01* X260059Y-347D01* X260083Y-309D01* X260134Y-246D01* X270634Y18254D01* X270644Y18283D01* X270650Y18293D01* X270651Y18296D01* X270665Y18319D01* X270676Y18382D01* X270696Y18443D01* X270693Y18479D01* X270699Y18515D01* X270684Y18577D01* X270679Y18641D01* X270662Y18673D01* X270654Y18708D01* X270616Y18760D01* X270586Y18817D01* X270558Y18839D01* X270537Y18869D01* X270467Y18914D01* X270432Y18942D01* X270415Y18947D01* X270397Y18959D01* X269978Y19138D01* X291865Y57050D01* X291911Y57158D01* X291964Y57263D01* X291972Y57305D01* X291989Y57343D01* X292006Y57460D01* X292031Y57574D01* X292029Y57616D01* X292035Y57658D01* X292023Y57775D01* X292018Y57892D01* X292006Y57932D01* X292002Y57974D01* X291961Y58084D01* X291928Y58197D01* X291906Y58233D01* X291891Y58272D01* X291824Y58369D01* X291764Y58470D01* X291734Y58499D01* X291710Y58534D01* X291621Y58610D01* X291537Y58693D01* X291485Y58728D01* X291469Y58742D01* X291451Y58750D01* X291404Y58782D01* X289752Y59741D01* X288103Y61901D01* X288083Y61921D01* X288068Y61945D01* X288061Y61952D01* X288037Y61988D01* X287082Y63238D01* X287080Y63241D01* X287077Y63245D01* X286993Y63341D01* X286915Y63458D01* X284936Y66049D01* X283814Y70280D01* X283779Y70367D01* X283753Y70457D01* X283719Y70514D01* X283695Y70575D01* X283675Y70601D01* X283675Y70637D01* X283665Y70721D01* X283664Y70805D01* X283637Y70944D01* X283635Y70953D01* X283634Y70956D01* X283633Y70963D01* X283453Y71641D01* X283450Y71647D01* X283408Y71778D01* X283381Y71913D01* X282901Y73720D01* X283026Y74647D01* X283026Y74692D01* X283034Y74736D01* X283027Y74850D01* X283028Y74965D01* X283018Y75008D01* X283015Y75053D01* X282979Y75162D01* X282952Y75274D01* X282930Y75313D01* X282917Y75355D01* X282855Y75453D01* X282801Y75554D01* X282770Y75587D01* X282747Y75624D01* X282663Y75703D01* X282585Y75787D01* X282547Y75812D01* X282515Y75842D01* X282414Y75897D01* X282318Y75960D01* X282275Y75974D01* X282236Y75996D01* X282125Y76024D01* X282016Y76061D01* X281972Y76064D01* X281928Y76075D01* X281768Y76085D01* X278515Y76085D01* X278417Y76073D01* X278318Y76070D01* X278260Y76053D01* X278200Y76045D01* X278108Y76009D01* X278013Y75981D01* X277960Y75951D01* X277904Y75928D01* X277824Y75870D01* X277739Y75820D01* X277663Y75754D01* X277647Y75742D01* X277639Y75732D01* X277618Y75714D01* X275934Y74030D01* X275874Y73952D01* X275806Y73880D01* X275777Y73827D01* X275740Y73779D01* X275700Y73688D01* X275652Y73601D01* X275637Y73543D01* X275613Y73487D01* X275598Y73389D01* X275573Y73293D01* X275567Y73193D01* X275563Y73173D01* X275565Y73161D01* X275563Y73133D01* X275563Y69848D01* X263766Y58051D01* X235034Y58051D01* X211045Y82040D01* X211045Y92437D01* X211033Y92535D01* X211030Y92634D01* X211013Y92692D01* X211005Y92752D01* X210969Y92844D01* X210941Y92939D01* X210911Y92992D01* X210888Y93048D01* X210830Y93128D01* X210780Y93213D01* X210714Y93289D01* X210702Y93305D01* X210692Y93313D01* X210674Y93334D01* X200661Y103346D01* X200552Y103431D01* X200445Y103520D01* X200426Y103529D01* X200410Y103541D01* X200282Y103597D01* X200157Y103656D01* X200137Y103659D01* X200118Y103667D01* X199980Y103689D01* X199844Y103715D01* X199824Y103714D01* X199804Y103717D01* X199665Y103704D01* X199527Y103696D01* X199508Y103689D01* X199488Y103688D01* X199356Y103640D01* X199225Y103598D01* X199207Y103587D01* X199188Y103580D01* X199073Y103502D01* X198956Y103427D01* X198942Y103413D01* X198925Y103401D01* X198833Y103297D01* X198738Y103196D01* X198728Y103178D01* X198715Y103163D01* X198651Y103039D01* X198584Y102917D01* X198579Y102898D01* X198570Y102880D01* X198540Y102744D01* X198505Y102609D01* X198503Y102581D01* X198500Y102569D01* X198501Y102549D01* X198495Y102449D01* X198495Y98957D01* X198507Y98859D01* X198510Y98760D01* X198527Y98702D01* X198535Y98642D01* X198571Y98550D01* X198599Y98455D01* X198629Y98402D01* X198652Y98346D01* X198710Y98266D01* X198760Y98181D01* X198826Y98105D01* X198838Y98089D01* X198848Y98081D01* X198866Y98060D01* X203196Y93730D01* X205205Y91722D01* X205205Y74721D01* X205217Y74623D01* X205220Y74524D01* X205237Y74466D01* X205245Y74406D01* X205281Y74314D01* X205309Y74219D01* X205339Y74166D01* X205362Y74110D01* X205420Y74030D01* X205470Y73945D01* X205536Y73869D01* X205548Y73853D01* X205558Y73845D01* X205576Y73824D01* X216127Y63274D01* X216127Y25144D01* X206338Y15356D01* X206278Y15278D01* X206210Y15206D01* X206181Y15153D01* X206144Y15105D01* X206104Y15014D01* X206056Y14927D01* X206041Y14869D01* X206017Y14813D01* X206002Y14715D01* X205977Y14619D01* X205971Y14519D01* X205967Y14499D01* X205969Y14487D01* X205967Y14459D01* X205967Y12236D01* X205116Y10182D01* X203544Y8610D01* X201490Y7759D01* X199266Y7759D01* X197212Y8610D01* X195640Y10182D01* X194789Y12236D01* X194789Y14460D01* X195640Y16514D01* X197212Y18086D01* X199266Y18937D01* X201489Y18937D01* X201587Y18949D01* X201686Y18952D01* X201744Y18969D01* X201804Y18977D01* X201896Y19013D01* X201991Y19041D01* X202044Y19071D01* X202100Y19094D01* X202180Y19152D01* X202265Y19202D01* X202341Y19268D01* X202357Y19280D01* X202365Y19290D01* X202386Y19308D01* X210166Y27088D01* X210226Y27166D01* X210294Y27238D01* X210323Y27291D01* X210360Y27339D01* X210400Y27430D01* X210448Y27517D01* X210463Y27575D01* X210487Y27631D01* X210502Y27729D01* X210527Y27825D01* X210533Y27925D01* X210537Y27945D01* X210535Y27957D01* X210537Y27985D01* X210537Y43623D01* X210529Y43692D01* X210530Y43762D01* X210509Y43850D01* X210497Y43939D01* X210472Y44004D01* X210455Y44071D01* X210413Y44151D01* X210380Y44234D01* X210339Y44291D01* X210307Y44353D01* X210246Y44419D01* X210194Y44492D01* X210140Y44536D01* X210093Y44588D01* X210018Y44637D01* X209949Y44695D01* X209885Y44724D01* X209827Y44763D01* X209742Y44792D01* X209661Y44830D01* X209592Y44843D01* X209526Y44866D01* X209437Y44873D01* X209349Y44890D01* X209279Y44886D01* X209209Y44891D01* X209121Y44876D01* X209031Y44870D01* X208965Y44849D01* X208896Y44837D01* X208814Y44800D01* X208729Y44772D01* X208670Y44735D01* X208606Y44706D01* X208536Y44650D01* X208460Y44602D01* X208412Y44551D01* X208358Y44508D01* X208303Y44436D01* X208242Y44370D01* X208208Y44309D01* X208166Y44253D01* X208095Y44109D01* X207429Y42501D01* X204499Y39571D01* X200672Y37985D01* X196528Y37985D01* X192701Y39571D01* X190861Y41410D01* X190752Y41495D01* X190645Y41584D01* X190626Y41592D01* X190610Y41605D01* X190482Y41660D01* X190357Y41719D01* X190337Y41723D01* X190318Y41731D01* X190180Y41753D01* X190044Y41779D01* X190024Y41778D01* X190004Y41781D01* X189865Y41768D01* X189727Y41759D01* X189708Y41753D01* X189688Y41751D01* X189556Y41704D01* X189425Y41661D01* X189407Y41650D01* X189388Y41644D01* X189273Y41566D01* X189156Y41491D01* X189142Y41476D01* X189125Y41465D01* X189033Y41361D01* X188938Y41260D01* X188928Y41242D01* X188915Y41227D01* X188851Y41102D01* X188784Y40981D01* X188779Y40961D01* X188770Y40943D01* X188740Y40808D01* X188705Y40673D01* X188703Y40645D01* X188700Y40633D01* X188701Y40613D01* X188695Y40512D01* X188695Y37844D01* X183248Y32397D01* X179455Y32397D01* X179357Y32385D01* X179258Y32382D01* X179200Y32365D01* X179140Y32357D01* X179048Y32321D01* X178953Y32293D01* X178900Y32263D01* X178844Y32240D01* X178764Y32182D01* X178679Y32132D01* X178603Y32066D01* X178587Y32054D01* X178579Y32044D01* X178558Y32026D01* X177382Y30850D01* X177322Y30772D01* X177254Y30700D01* X177226Y30649D01* X177209Y30628D01* X177206Y30623D01* X177188Y30599D01* X177148Y30508D01* X177100Y30421D01* X177087Y30371D01* X177073Y30340D01* X177071Y30330D01* X177061Y30307D01* X177046Y30209D01* X177021Y30113D01* X177017Y30045D01* X177013Y30028D01* X177014Y30012D01* X177011Y29993D01* X177013Y29981D01* X177011Y29953D01* X177011Y21485D01* X177014Y21456D01* X177012Y21427D01* X177034Y21299D01* X177051Y21170D01* X177061Y21142D01* X177066Y21113D01* X177120Y20995D01* X177168Y20874D01* X177185Y20850D01* X177197Y20823D01* X177278Y20722D01* X177354Y20617D01* X177377Y20598D01* X177396Y20575D01* X177499Y20497D01* X177599Y20414D01* X177626Y20401D01* X177650Y20384D01* X177794Y20313D01* X179807Y19479D01* X179825Y19474D01* X179842Y19465D01* X179996Y19418D01* X180308Y19343D01* X180354Y19308D01* X180485Y19209D01* X180486Y19209D01* X180488Y19208D01* X180630Y19138D01* X181478Y18787D01* X181479Y18786D01* X181635Y18744D01* X181785Y18703D01* X181786Y18703D01* X181855Y18701D01* X182125Y18536D01* X182142Y18528D01* X182158Y18516D01* X182302Y18445D01* X184826Y17400D01* X186854Y15372D01* X186893Y15342D01* X186926Y15306D01* X187018Y15245D01* X187105Y15178D01* X187151Y15158D01* X187192Y15131D01* X187195Y15130D01* X187653Y14594D01* X187667Y14581D01* X187678Y14565D01* X187794Y14453D01* X188343Y13984D01* X188360Y13954D01* X188409Y13855D01* X188441Y13817D01* X188466Y13775D01* X188572Y13654D01* X190600Y11626D01* X191645Y9102D01* X191655Y9086D01* X191661Y9067D01* X191736Y8925D01* X191903Y8652D01* X191913Y8586D01* X191934Y8432D01* X191935Y8431D01* X191935Y8430D01* X191935Y8429D01* X191986Y8279D01* X192338Y7430D01* X192421Y7284D01* X192495Y7154D01* X192496Y7154D01* X192496Y7153D01* X192544Y7104D01* X192618Y6796D01* X192624Y6778D01* X192627Y6759D01* X192679Y6607D01* X193725Y4083D01* X193725Y2024D01* X193740Y1906D01* X193747Y1787D01* X193760Y1749D01* X193765Y1708D01* X193808Y1598D01* X193845Y1485D01* X193867Y1450D01* X193882Y1413D01* X193951Y1317D01* X194015Y1216D01* X194045Y1188D01* X194068Y1155D01* X194160Y1079D01* X194247Y998D01* X194282Y978D01* X194313Y953D01* X194421Y902D01* X194525Y844D01* X194565Y834D01* X194601Y817D01* X194718Y795D01* X194833Y765D01* X194893Y761D01* X194913Y757D01* X194934Y759D01* X194994Y755D01* X238282Y755D01* X238204Y55D01* X238207Y19D01* X238201Y-17D01* X238216Y-79D01* X238222Y-143D01* X238239Y-175D01* X238247Y-210D01* X238285Y-262D01* X238315Y-318D01* X238344Y-341D01* X238365Y-370D01* X238420Y-403D01* X238470Y-443D01* X238505Y-453D01* X238536Y-472D01* X238618Y-485D01* X238661Y-498D01* X238679Y-496D01* X238700Y-499D01* X259700Y-499D01* X259778Y-483D01* G37* G36* X312073Y93178D02* X312073Y93178D01* X312194Y93183D01* X312231Y93194D01* X312270Y93198D01* X312383Y93240D01* X312498Y93275D01* X312532Y93295D01* X312568Y93308D01* X312667Y93377D01* X312771Y93439D01* X312798Y93467D01* X312830Y93489D01* X312909Y93580D01* X312993Y93666D01* X313025Y93714D01* X313038Y93729D01* X313048Y93748D01* X313083Y93800D01* X335760Y133081D01* X336400Y132601D01* X336438Y132583D01* X336471Y132556D01* X336527Y132540D01* X336580Y132515D01* X336622Y132514D01* X336662Y132502D01* X336720Y132509D01* X336779Y132507D01* X336818Y132522D01* X336860Y132527D01* X336910Y132556D01* X336965Y132577D01* X336995Y132606D01* X337032Y132627D01* X337077Y132683D01* X337109Y132714D01* X337118Y132734D01* X337136Y132756D01* X346636Y149756D01* X346645Y149784D01* X346652Y149795D01* X346656Y149818D01* X346657Y149824D01* X346687Y149888D01* X346687Y149918D01* X346696Y149946D01* X346690Y150016D01* X346692Y150087D01* X346680Y150118D01* X346678Y150144D01* X346658Y150181D01* X346636Y150244D01* X337136Y167244D01* X337118Y167265D01* X337106Y167291D01* X337053Y167340D01* X337006Y167394D01* X336981Y167407D01* X336960Y167426D01* X336893Y167451D01* X336828Y167483D01* X336800Y167484D01* X336774Y167494D01* X336701Y167490D01* X336630Y167494D01* X336603Y167485D01* X336575Y167483D01* X336481Y167442D01* X336442Y167428D01* X336435Y167421D01* X336423Y167415D01* X335738Y166959D01* X312730Y206810D01* X312662Y206900D01* X312599Y206996D01* X312566Y207027D01* X312538Y207063D01* X312449Y207134D01* X312365Y207211D01* X312325Y207232D01* X312289Y207261D01* X312185Y207307D01* X312084Y207361D01* X312040Y207371D01* X311998Y207390D01* X311886Y207409D01* X311775Y207436D01* X311730Y207435D01* X311685Y207443D01* X311571Y207434D01* X311457Y207432D01* X311413Y207420D01* X311368Y207417D01* X311260Y207379D01* X311150Y207350D01* X311088Y207319D01* X311068Y207312D01* X311052Y207302D01* X311005Y207279D01* X309364Y206349D01* X306430Y205987D01* X306409Y205982D01* X306387Y205981D01* X306355Y205971D01* X306259Y205966D01* X301678Y205400D01* X301638Y205390D01* X301597Y205387D01* X301485Y205351D01* X301370Y205322D01* X301334Y205302D01* X301295Y205289D01* X301195Y205226D01* X301091Y205170D01* X301061Y205141D01* X301026Y205119D01* X300945Y205033D01* X300859Y204953D01* X300836Y204918D01* X300808Y204888D01* X300751Y204784D01* X300687Y204685D01* X300674Y204645D01* X300654Y204609D01* X300625Y204495D01* X300588Y204382D01* X300585Y204341D01* X300575Y204301D01* X300565Y204140D01* X300565Y198498D01* X299666Y197600D01* X299606Y197522D01* X299538Y197450D01* X299509Y197397D01* X299472Y197349D01* X299432Y197258D01* X299384Y197171D01* X299369Y197113D01* X299345Y197057D01* X299330Y196959D01* X299305Y196863D01* X299299Y196763D01* X299295Y196743D01* X299297Y196731D01* X299295Y196703D01* X299295Y194245D01* X299307Y194147D01* X299310Y194048D01* X299327Y193990D01* X299335Y193930D01* X299371Y193838D01* X299399Y193743D01* X299429Y193690D01* X299452Y193634D01* X299510Y193554D01* X299560Y193469D01* X299626Y193393D01* X299638Y193377D01* X299648Y193369D01* X299666Y193348D01* X299970Y193044D01* X300048Y192984D01* X300120Y192916D01* X300173Y192887D01* X300221Y192850D01* X300312Y192810D01* X300399Y192762D01* X300457Y192747D01* X300513Y192723D01* X300611Y192708D01* X300707Y192683D01* X300807Y192677D01* X300827Y192673D01* X300839Y192675D01* X300867Y192673D01* X305676Y192673D01* X315441Y182908D01* X315441Y149858D01* X282792Y117210D01* X282732Y117132D01* X282664Y117060D01* X282635Y117007D01* X282598Y116959D01* X282558Y116868D01* X282510Y116781D01* X282495Y116723D01* X282471Y116667D01* X282456Y116569D01* X282431Y116473D01* X282425Y116373D01* X282421Y116353D01* X282423Y116341D01* X282421Y116313D01* X282421Y104138D01* X280539Y102256D01* X280454Y102147D01* X280365Y102040D01* X280356Y102021D01* X280344Y102005D01* X280288Y101877D01* X280229Y101752D01* X280226Y101732D01* X280218Y101713D01* X280196Y101575D01* X280170Y101439D01* X280171Y101419D01* X280168Y101399D01* X280181Y101260D01* X280189Y101122D01* X280196Y101103D01* X280197Y101083D01* X280245Y100951D01* X280287Y100820D01* X280298Y100802D01* X280305Y100783D01* X280383Y100668D01* X280458Y100551D01* X280472Y100537D01* X280484Y100520D01* X280588Y100428D01* X280689Y100333D01* X280707Y100323D01* X280722Y100310D01* X280846Y100246D01* X280968Y100179D01* X280987Y100174D01* X281005Y100165D01* X281141Y100135D01* X281276Y100100D01* X281304Y100098D01* X281316Y100095D01* X281336Y100096D01* X281436Y100090D01* X285040Y100090D01* X285139Y100102D01* X285238Y100105D01* X285296Y100122D01* X285356Y100130D01* X285448Y100166D01* X285543Y100194D01* X285595Y100224D01* X285652Y100247D01* X285732Y100305D01* X285817Y100355D01* X285892Y100421D01* X285909Y100433D01* X285917Y100443D01* X285938Y100461D01* X286874Y101398D01* X288928Y102249D01* X291152Y102249D01* X293206Y101398D01* X294778Y99826D01* X295629Y97772D01* X295629Y95379D01* X295623Y95348D01* X295630Y95243D01* X295629Y95138D01* X295642Y95085D01* X295645Y95030D01* X295678Y94931D01* X295703Y94829D01* X295729Y94781D01* X295746Y94729D01* X295803Y94641D01* X295852Y94548D01* X295889Y94507D01* X295918Y94461D01* X295995Y94390D01* X296065Y94313D01* X296111Y94283D01* X296152Y94245D01* X296244Y94196D01* X296331Y94138D01* X296383Y94120D01* X296431Y94094D01* X296533Y94069D01* X296632Y94035D01* X296687Y94030D01* X296740Y94017D01* X296845Y94018D01* X296949Y94010D01* X297003Y94019D01* X297058Y94019D01* X297216Y94051D01* X301920Y95299D01* X309785Y94243D01* X311346Y93337D01* X311457Y93290D01* X311565Y93236D01* X311603Y93228D01* X311639Y93213D01* X311758Y93195D01* X311876Y93170D01* X311915Y93172D01* X311953Y93166D01* X312073Y93178D01* G37* G36* X246410Y144747D02* X246410Y144747D01* X246549Y144751D01* X246569Y144757D01* X246589Y144758D01* X246721Y144801D01* X246855Y144840D01* X246872Y144850D01* X246891Y144856D01* X247009Y144931D01* X247129Y145001D01* X247150Y145020D01* X247160Y145027D01* X247174Y145042D01* X247249Y145108D01* X248204Y146063D01* X252440Y146063D01* X252538Y146075D01* X252637Y146078D01* X252696Y146095D01* X252756Y146103D01* X252848Y146139D01* X252943Y146167D01* X252995Y146197D01* X253051Y146220D01* X253131Y146278D01* X253217Y146328D01* X253292Y146394D01* X253309Y146406D01* X253317Y146416D01* X253338Y146435D01* X257666Y150763D01* X268284Y150763D01* X268402Y150778D01* X268521Y150785D01* X268559Y150798D01* X268600Y150803D01* X268710Y150846D01* X268823Y150883D01* X268858Y150905D01* X268895Y150920D01* X268991Y150989D01* X269092Y151053D01* X269120Y151083D01* X269153Y151106D01* X269229Y151198D01* X269310Y151285D01* X269330Y151320D01* X269355Y151351D01* X269406Y151459D01* X269464Y151563D01* X269474Y151603D01* X269491Y151639D01* X269513Y151756D01* X269543Y151871D01* X269547Y151931D01* X269551Y151951D01* X269549Y151972D01* X269553Y152032D01* X269553Y152720D01* X270446Y153613D01* X282710Y153613D01* X283078Y153244D01* X283172Y153172D01* X283261Y153093D01* X283297Y153074D01* X283329Y153050D01* X283438Y153002D01* X283544Y152948D01* X283584Y152939D01* X283621Y152923D01* X283739Y152904D01* X283855Y152878D01* X283895Y152880D01* X283935Y152873D01* X284054Y152884D01* X284173Y152888D01* X284211Y152899D01* X284252Y152903D01* X284364Y152943D01* X284478Y152977D01* X284513Y152997D01* X284551Y153011D01* X284649Y153078D01* X284752Y153138D01* X284797Y153178D01* X284814Y153189D01* X284828Y153205D01* X284873Y153244D01* X285858Y154230D01* X287912Y155081D01* X290136Y155081D01* X292190Y154230D01* X293762Y152658D01* X294613Y150604D01* X294613Y148635D01* X294630Y148497D01* X294643Y148359D01* X294650Y148340D01* X294653Y148320D01* X294704Y148191D01* X294751Y148060D01* X294762Y148043D01* X294770Y148024D01* X294851Y147912D01* X294929Y147797D01* X294945Y147783D01* X294956Y147767D01* X295064Y147678D01* X295168Y147586D01* X295186Y147577D01* X295201Y147564D01* X295327Y147505D01* X295451Y147441D01* X295471Y147437D01* X295489Y147428D01* X295625Y147402D01* X295761Y147372D01* X295782Y147372D01* X295801Y147369D01* X295940Y147377D01* X296079Y147381D01* X296099Y147387D01* X296119Y147388D01* X296251Y147431D01* X296385Y147470D01* X296402Y147480D01* X296421Y147486D01* X296539Y147561D01* X296659Y147631D01* X296680Y147650D01* X296690Y147657D01* X296704Y147672D01* X296779Y147738D01* X303638Y154596D01* X303698Y154674D01* X303766Y154746D01* X303795Y154799D01* X303832Y154847D01* X303872Y154938D01* X303920Y155025D01* X303935Y155083D01* X303959Y155139D01* X303974Y155237D01* X303999Y155333D01* X304005Y155433D01* X304009Y155453D01* X304007Y155465D01* X304009Y155493D01* X304009Y167533D01* X303992Y167671D01* X303979Y167810D01* X303972Y167829D01* X303969Y167849D01* X303918Y167978D01* X303871Y168109D01* X303860Y168126D01* X303852Y168144D01* X303771Y168257D01* X303693Y168372D01* X303677Y168385D01* X303666Y168402D01* X303558Y168491D01* X303454Y168583D01* X303436Y168592D01* X303421Y168605D01* X303295Y168664D01* X303171Y168727D01* X303151Y168732D01* X303133Y168740D01* X302996Y168766D01* X302861Y168797D01* X302840Y168796D01* X302821Y168800D01* X302682Y168791D01* X302543Y168787D01* X302523Y168781D01* X302503Y168780D01* X302371Y168737D01* X302237Y168699D01* X302220Y168688D01* X302201Y168682D01* X302083Y168608D01* X301963Y168537D01* X301942Y168519D01* X301932Y168512D01* X301918Y168497D01* X301843Y168431D01* X301017Y167605D01* X286683Y167605D01* X284087Y170202D01* X284008Y170262D01* X283936Y170330D01* X283883Y170359D01* X283835Y170396D01* X283744Y170436D01* X283658Y170484D01* X283599Y170499D01* X283544Y170523D01* X283446Y170538D01* X283350Y170563D01* X283250Y170569D01* X283229Y170573D01* X283217Y170571D01* X283189Y170573D01* X270681Y170573D01* X270672Y170572D01* X270663Y170573D01* X270514Y170552D01* X270366Y170533D01* X270357Y170530D01* X270348Y170529D01* X270196Y170477D01* X269816Y170319D01* X269389Y170319D01* X269291Y170307D01* X269192Y170304D01* X269134Y170287D01* X269074Y170279D01* X268982Y170243D01* X268887Y170215D01* X268835Y170185D01* X268778Y170162D01* X268698Y170104D01* X268613Y170054D01* X268537Y169988D01* X268521Y169976D01* X268513Y169966D01* X268492Y169948D01* X266968Y168423D01* X263453Y168423D01* X263335Y168408D01* X263216Y168401D01* X263178Y168388D01* X263138Y168383D01* X263027Y168340D01* X262914Y168303D01* X262879Y168281D01* X262842Y168266D01* X262746Y168197D01* X262645Y168133D01* X262617Y168103D01* X262584Y168080D01* X262509Y167988D01* X262427Y167901D01* X262407Y167866D01* X262382Y167835D01* X262331Y167727D01* X262273Y167623D01* X262263Y167583D01* X262246Y167547D01* X262224Y167430D01* X262194Y167315D01* X262190Y167255D01* X262186Y167235D01* X262188Y167214D01* X262184Y167154D01* X262184Y166356D01* X261291Y165463D01* X259723Y165463D01* X259605Y165448D01* X259486Y165441D01* X259448Y165428D01* X259408Y165423D01* X259297Y165380D01* X259184Y165343D01* X259149Y165321D01* X259112Y165306D01* X259016Y165237D01* X258915Y165173D01* X258887Y165143D01* X258854Y165120D01* X258779Y165028D01* X258697Y164941D01* X258677Y164906D01* X258652Y164875D01* X258601Y164767D01* X258543Y164663D01* X258533Y164623D01* X258516Y164587D01* X258510Y164556D01* X245708Y151754D01* X245648Y151676D01* X245580Y151604D01* X245551Y151551D01* X245514Y151503D01* X245474Y151412D01* X245426Y151325D01* X245411Y151267D01* X245387Y151211D01* X245372Y151113D01* X245347Y151017D01* X245341Y150917D01* X245337Y150897D01* X245339Y150885D01* X245337Y150857D01* X245337Y148567D01* X245326Y148556D01* X245297Y148503D01* X245260Y148455D01* X245220Y148364D01* X245172Y148277D01* X245157Y148219D01* X245133Y148163D01* X245118Y148065D01* X245093Y147969D01* X245087Y147869D01* X245083Y147849D01* X245085Y147837D01* X245083Y147809D01* X245083Y146005D01* X245100Y145867D01* X245113Y145729D01* X245120Y145710D01* X245123Y145690D01* X245174Y145561D01* X245221Y145430D01* X245232Y145413D01* X245240Y145394D01* X245321Y145282D01* X245399Y145167D01* X245415Y145153D01* X245426Y145137D01* X245534Y145048D01* X245638Y144956D01* X245656Y144947D01* X245671Y144934D01* X245797Y144875D01* X245921Y144811D01* X245941Y144807D01* X245959Y144798D01* X246096Y144772D01* X246231Y144742D01* X246252Y144742D01* X246271Y144739D01* X246410Y144747D01* G37* G36* X191728Y-494D02* X191728Y-494D01* X191756Y-496D01* X191824Y-474D01* X191895Y-460D01* X191918Y-444D01* X191945Y-435D01* X191999Y-388D01* X192059Y-347D01* X192074Y-323D01* X192095Y-305D01* X192127Y-240D01* X192166Y-180D01* X192171Y-152D01* X192183Y-127D01* X192192Y-25D01* X192199Y17D01* X192197Y27D01* X192198Y39D01* X191970Y2933D01* X191961Y2965D01* X191958Y3011D01* X191280Y5833D01* X191266Y5864D01* X191256Y5908D01* X190145Y8590D01* X190126Y8617D01* X190109Y8660D01* X188593Y11135D01* X188570Y11159D01* X188546Y11198D01* X186661Y13406D01* X186635Y13426D01* X186606Y13461D01* X184398Y15346D01* X184369Y15363D01* X184335Y15393D01* X181860Y16909D01* X181829Y16921D01* X181790Y16945D01* X179108Y18056D01* X179075Y18062D01* X179033Y18080D01* X176211Y18758D01* X176177Y18759D01* X176133Y18770D01* X173239Y18998D01* X173206Y18994D01* X173161Y18998D01* X170267Y18770D01* X170235Y18761D01* X170189Y18758D01* X167367Y18080D01* X167336Y18066D01* X167292Y18056D01* X164610Y16945D01* X164597Y16936D01* X164593Y16935D01* X164577Y16924D01* X164540Y16909D01* X162065Y15393D01* X162041Y15370D01* X162002Y15346D01* X159794Y13461D01* X159774Y13435D01* X159739Y13406D01* X157854Y11198D01* X157837Y11169D01* X157808Y11135D01* X156291Y8660D01* X156279Y8629D01* X156255Y8590D01* X155144Y5908D01* X155138Y5875D01* X155120Y5833D01* X154442Y3011D01* X154441Y2977D01* X154430Y2933D01* X154202Y39D01* X154206Y11D01* X154201Y-17D01* X154218Y-87D01* X154226Y-158D01* X154241Y-183D01* X154247Y-210D01* X154290Y-268D01* X154326Y-330D01* X154348Y-347D01* X154365Y-370D01* X154427Y-407D01* X154484Y-450D01* X154512Y-457D01* X154536Y-472D01* X154637Y-489D01* X154677Y-499D01* X154687Y-497D01* X154700Y-499D01* X191700Y-499D01* X191728Y-494D01* G37* G36* X52229Y59009D02* X52229Y59009D01* X52279Y59007D01* X52326Y59025D01* X52376Y59033D01* X52427Y59063D01* X52465Y59077D01* X52486Y59097D01* X52520Y59116D01* X55520Y61616D01* X55535Y61636D01* X55554Y61649D01* X55562Y61661D01* X55579Y61675D01* X58579Y65175D01* X58594Y65202D01* X58661Y65308D01* X61161Y71308D01* X61164Y71323D01* X61172Y71336D01* X61199Y71500D01* X61199Y78000D01* X61191Y78043D01* X61180Y78137D01* X60180Y81637D01* X60165Y81666D01* X60162Y81677D01* X60160Y81681D01* X60147Y81723D01* X58147Y85723D01* X58133Y85741D01* X58053Y85853D01* X55053Y88853D01* X55024Y88872D01* X54990Y88906D01* X51490Y91406D01* X51479Y91411D01* X51343Y91478D01* X46343Y92978D01* X46303Y92982D01* X46200Y92999D01* X39200Y92999D01* X39189Y92997D01* X39177Y92999D01* X39015Y92964D01* X34015Y90964D01* X33977Y90939D01* X33935Y90923D01* X33895Y90885D01* X33848Y90854D01* X33824Y90817D01* X33791Y90786D01* X33769Y90735D01* X33738Y90689D01* X33730Y90645D01* X33712Y90604D01* X33711Y90548D01* X33701Y90494D01* X33710Y90450D01* X33710Y90405D01* X33734Y90341D01* X33743Y90299D01* X33757Y90279D01* X33768Y90249D01* X51768Y59249D01* X51802Y59212D01* X51827Y59168D01* X51867Y59138D01* X51900Y59101D01* X51946Y59079D01* X51986Y59049D01* X52035Y59037D01* X52080Y59015D01* X52130Y59013D01* X52180Y59001D01* X52229Y59009D01* G37* %LPC*% G36* X246823Y203720D02* X246823Y203720D01* X242062Y205692D01* X238417Y209337D01* X236445Y214098D01* X236445Y219252D01* X238417Y224013D01* X242062Y227658D01* X246823Y229630D01* X251977Y229630D01* X256738Y227658D01* X260383Y224013D01* X262355Y219252D01* X262355Y214098D01* X260383Y209337D01* X256738Y205692D01* X251977Y203720D01* X246823Y203720D01* G37* %LPD*% G36* X294209Y59009D02* X294209Y59009D01* X294263Y59005D01* X294306Y59019D01* X294352Y59024D01* X294400Y59051D01* X294452Y59069D01* X294486Y59099D01* X294525Y59121D01* X294568Y59173D01* X294600Y59201D01* X294611Y59224D01* X294632Y59249D01* X312632Y90249D01* X312651Y90306D01* X312679Y90358D01* X312682Y90399D01* X312695Y90438D01* X312691Y90497D01* X312696Y90556D01* X312683Y90595D01* X312680Y90636D01* X312653Y90689D01* X312635Y90745D01* X312608Y90776D01* X312589Y90813D01* X312544Y90851D01* X312505Y90895D01* X312463Y90918D01* X312436Y90940D01* X312402Y90950D01* X312358Y90974D01* X309358Y91974D01* X309341Y91976D01* X309321Y91984D01* X305321Y92984D01* X305276Y92986D01* X305200Y92999D01* X302700Y92999D01* X302670Y92993D01* X302629Y92994D01* X299129Y92494D01* X299095Y92482D01* X299042Y92474D01* X297542Y91974D01* X297531Y91967D01* X297515Y91964D01* X295015Y90964D01* X294986Y90945D01* X294943Y90928D01* X292443Y89428D01* X292422Y89409D01* X292388Y89390D01* X289888Y87390D01* X289860Y87356D01* X289794Y87290D01* X287294Y83790D01* X287276Y83750D01* X287236Y83685D01* X286236Y81185D01* X286231Y81157D01* X286229Y81152D01* X286226Y81147D01* X286225Y81143D01* X286216Y81121D01* X285216Y77121D01* X285214Y77076D01* X285201Y77000D01* X285201Y71500D01* X285203Y71489D01* X285201Y71477D01* X285236Y71315D01* X287236Y66315D01* X287250Y66294D01* X287253Y66280D01* X287263Y66267D01* X287272Y66243D01* X288772Y63743D01* X288802Y63710D01* X288847Y63647D01* X291347Y61147D01* X291361Y61138D01* X291369Y61127D01* X291378Y61121D01* X291388Y61110D01* X293888Y59110D01* X293929Y59089D01* X293964Y59060D01* X294016Y59044D01* X294065Y59019D01* X294111Y59016D01* X294154Y59003D01* X294209Y59009D01* G37* G36* X175977Y282218D02* X175977Y282218D01* X176009Y282227D01* X176054Y282230D01* X178724Y282871D01* X178755Y282885D01* X178799Y282895D01* X181336Y283946D01* X181363Y283965D01* X181406Y283982D01* X183747Y285417D01* X183771Y285439D01* X183811Y285463D01* X185899Y287246D01* X185919Y287272D01* X185954Y287301D01* X187737Y289390D01* X187754Y289419D01* X187784Y289453D01* X189218Y291794D01* X189230Y291825D01* X189254Y291864D01* X190305Y294401D01* X190311Y294434D01* X190329Y294476D01* X190970Y297146D01* X190971Y297179D01* X190982Y297223D01* X191198Y299961D01* X191195Y299981D01* X191197Y299990D01* X191196Y299996D01* X191199Y300017D01* X191182Y300087D01* X191174Y300158D01* X191159Y300183D01* X191153Y300210D01* X191110Y300268D01* X191074Y300330D01* X191052Y300347D01* X191035Y300370D01* X190973Y300407D01* X190916Y300450D01* X190888Y300457D01* X190864Y300472D01* X190763Y300489D01* X190723Y300499D01* X190713Y300497D01* X190700Y300499D01* X155700Y300499D01* X155672Y300494D01* X155644Y300496D01* X155576Y300474D01* X155505Y300460D01* X155482Y300444D01* X155455Y300435D01* X155401Y300388D01* X155341Y300347D01* X155326Y300323D01* X155305Y300305D01* X155273Y300240D01* X155234Y300180D01* X155229Y300152D01* X155217Y300127D01* X155208Y300025D01* X155201Y299983D01* X155203Y299973D01* X155202Y299961D01* X155418Y297223D01* X155427Y297191D01* X155430Y297146D01* X156071Y294476D01* X156085Y294446D01* X156095Y294401D01* X157146Y291864D01* X157165Y291837D01* X157182Y291794D01* X158617Y289453D01* X158639Y289429D01* X158663Y289390D01* X160446Y287301D01* X160472Y287281D01* X160501Y287246D01* X162590Y285463D01* X162619Y285446D01* X162653Y285417D01* X164994Y283982D01* X165025Y283970D01* X165064Y283946D01* X167601Y282895D01* X167634Y282889D01* X167676Y282871D01* X170346Y282230D01* X170379Y282229D01* X170423Y282218D01* X173161Y282002D01* X173194Y282006D01* X173239Y282002D01* X175977Y282218D01* G37* G36* X305239Y207509D02* X305239Y207509D01* X305298Y207510D01* X307798Y208010D01* X307829Y208024D01* X307875Y208033D01* X311875Y209533D01* X311881Y209536D01* X311887Y209537D01* X311918Y209559D01* X311960Y209574D01* X311999Y209610D01* X312044Y209638D01* X312071Y209677D01* X312106Y209709D01* X312128Y209758D01* X312158Y209801D01* X312168Y209847D01* X312187Y209891D01* X312188Y209944D01* X312199Y209995D01* X312190Y210042D01* X312191Y210090D01* X312169Y210150D01* X312161Y210191D01* X312146Y210213D01* X312134Y210246D01* X295134Y240246D01* X295117Y240266D01* X295106Y240291D01* X295052Y240341D01* X295004Y240396D01* X294980Y240408D01* X294960Y240426D01* X294891Y240451D01* X294825Y240483D01* X294799Y240485D01* X294774Y240494D01* X294700Y240490D01* X294627Y240494D01* X294602Y240485D01* X294575Y240483D01* X294477Y240440D01* X294440Y240426D01* X294433Y240420D01* X294423Y240415D01* X292923Y239415D01* X292895Y239387D01* X292847Y239353D01* X290347Y236853D01* X290334Y236833D01* X290310Y236812D01* X288310Y234312D01* X288291Y234275D01* X288253Y234223D01* X286753Y231223D01* X286744Y231187D01* X286720Y231137D01* X285720Y227637D01* X285717Y227594D01* X285701Y227500D01* X285701Y224500D01* X285707Y224471D01* X285705Y224459D01* X285706Y224451D01* X285706Y224429D01* X286206Y220929D01* X286218Y220895D01* X286226Y220842D01* X287226Y217842D01* X287242Y217816D01* X287253Y217777D01* X288253Y215777D01* X288276Y215748D01* X288301Y215700D01* X289801Y213700D01* X289823Y213680D01* X289847Y213647D01* X291847Y211647D01* X291864Y211636D01* X291872Y211624D01* X291880Y211620D01* X291888Y211610D01* X294388Y209610D01* X294413Y209597D01* X294525Y209533D01* X298525Y208033D01* X298533Y208031D01* X298539Y208028D01* X298559Y208024D01* X298579Y208016D01* X300579Y207516D01* X300624Y207514D01* X300700Y207501D01* X305200Y207501D01* X305239Y207509D01* G37* G36* X45244Y207510D02* X45244Y207510D01* X45321Y207516D01* X49321Y208516D01* X49355Y208532D01* X49389Y208539D01* X49411Y208554D01* X49457Y208572D01* X54457Y211572D01* X54461Y211575D01* X54466Y211577D01* X54526Y211631D01* X54549Y211647D01* X54556Y211658D01* X54590Y211688D01* X58590Y216688D01* X58597Y216703D01* X58669Y216829D01* X60669Y222329D01* X60670Y222333D01* X60672Y222336D01* X60699Y222500D01* X60699Y227000D01* X60695Y227022D01* X60674Y227158D01* X58674Y233158D01* X58666Y233172D01* X58665Y233172D01* X58664Y233174D01* X58662Y233177D01* X58599Y233300D01* X55599Y237300D01* X55568Y237328D01* X55525Y237379D01* X52025Y240379D01* X51975Y240407D01* X51932Y240442D01* X51890Y240454D01* X51851Y240476D01* X51795Y240482D01* X51741Y240498D01* X51697Y240492D01* X51653Y240497D01* X51599Y240481D01* X51543Y240474D01* X51505Y240452D01* X51463Y240440D01* X51420Y240403D01* X51371Y240375D01* X51338Y240335D01* X51310Y240312D01* X51295Y240282D01* X51266Y240246D01* X34266Y210246D01* X34253Y210206D01* X34231Y210170D01* X34222Y210112D01* X34204Y210057D01* X34208Y210015D01* X34201Y209973D01* X34216Y209917D01* X34221Y209859D01* X34241Y209822D01* X34251Y209781D01* X34287Y209735D01* X34314Y209683D01* X34347Y209657D01* X34373Y209623D01* X34434Y209585D01* X34468Y209558D01* X34490Y209552D01* X34515Y209536D01* X37015Y208536D01* X37030Y208534D01* X37041Y208527D01* X37052Y208525D01* X37063Y208520D01* X40563Y207520D01* X40606Y207517D01* X40700Y207501D01* X45200Y207501D01* X45244Y207510D01* G37* %LPC*% G36* X202878Y266585D02* X202878Y266585D01* X199051Y268171D01* X196121Y271101D01* X194535Y274928D01* X194535Y279072D01* X196121Y282899D01* X199051Y285829D01* X202878Y287415D01* X207022Y287415D01* X210849Y285829D01* X213779Y282899D01* X215365Y279072D01* X215365Y274928D01* X213779Y271101D01* X210849Y268171D01* X207022Y266585D01* X202878Y266585D01* G37* %LPD*% D10* X255659Y172488D03* X255659Y189488D03* D11* X256336Y119038D03* X256336Y138038D03* D12* X204825Y176875D02* X204825Y178125D01* X210575Y178125D01* X210575Y176875D01* X204825Y176875D01* X204825Y178062D02* X210575Y178062D01* X204825Y173125D02* X204825Y171875D01* X204825Y173125D02* X210575Y173125D01* X210575Y171875D01* X204825Y171875D01* X204825Y173062D02* X210575Y173062D01* X204825Y168125D02* X204825Y166875D01* X204825Y168125D02* X210575Y168125D01* X210575Y166875D01* X204825Y166875D01* X204825Y168062D02* X210575Y168062D01* X204825Y163125D02* X204825Y161875D01* X204825Y163125D02* X210575Y163125D01* X210575Y161875D01* X204825Y161875D01* X204825Y163062D02* X210575Y163062D01* X204825Y158125D02* X204825Y156875D01* X204825Y158125D02* X210575Y158125D01* X210575Y156875D01* X204825Y156875D01* X204825Y158062D02* X210575Y158062D01* X204825Y153125D02* X204825Y151875D01* X204825Y153125D02* X210575Y153125D01* X210575Y151875D01* X204825Y151875D01* X204825Y153062D02* X210575Y153062D01* X204825Y148125D02* X204825Y146875D01* X204825Y148125D02* X210575Y148125D01* X210575Y146875D01* X204825Y146875D01* X204825Y148062D02* X210575Y148062D01* X204825Y143125D02* X204825Y141875D01* X204825Y143125D02* X210575Y143125D01* X210575Y141875D01* X204825Y141875D01* X204825Y143062D02* X210575Y143062D01* X204825Y138125D02* X204825Y136875D01* X204825Y138125D02* X210575Y138125D01* X210575Y136875D01* X204825Y136875D01* X204825Y138062D02* X210575Y138062D01* X204825Y133125D02* X204825Y131875D01* X204825Y133125D02* X210575Y133125D01* X210575Y131875D01* X204825Y131875D01* X204825Y133062D02* X210575Y133062D01* X204825Y128125D02* X204825Y126875D01* X204825Y128125D02* X210575Y128125D01* X210575Y126875D01* X204825Y126875D01* X204825Y128062D02* X210575Y128062D01* X204825Y123125D02* X204825Y121875D01* X204825Y123125D02* X210575Y123125D01* X210575Y121875D01* X204825Y121875D01* X204825Y123062D02* X210575Y123062D01* X201325Y118375D02* X200075Y118375D01* X201325Y118375D02* X201325Y112625D01* X200075Y112625D01* X200075Y118375D01* X200075Y113812D02* X201325Y113812D01* X201325Y114999D02* X200075Y114999D01* X200075Y116186D02* X201325Y116186D01* X201325Y117373D02* X200075Y117373D01* X196325Y118375D02* X195075Y118375D01* X196325Y118375D02* X196325Y112625D01* X195075Y112625D01* X195075Y118375D01* X195075Y113812D02* X196325Y113812D01* X196325Y114999D02* X195075Y114999D01* X195075Y116186D02* X196325Y116186D01* X196325Y117373D02* X195075Y117373D01* X191325Y118375D02* X190075Y118375D01* X191325Y118375D02* X191325Y112625D01* X190075Y112625D01* X190075Y118375D01* X190075Y113812D02* X191325Y113812D01* X191325Y114999D02* X190075Y114999D01* X190075Y116186D02* X191325Y116186D01* X191325Y117373D02* X190075Y117373D01* X186325Y118375D02* X185075Y118375D01* X186325Y118375D02* X186325Y112625D01* X185075Y112625D01* X185075Y118375D01* X185075Y113812D02* X186325Y113812D01* X186325Y114999D02* X185075Y114999D01* X185075Y116186D02* X186325Y116186D01* X186325Y117373D02* X185075Y117373D01* X181325Y118375D02* X180075Y118375D01* X181325Y118375D02* X181325Y112625D01* X180075Y112625D01* X180075Y118375D01* X180075Y113812D02* X181325Y113812D01* X181325Y114999D02* X180075Y114999D01* X180075Y116186D02* X181325Y116186D01* X181325Y117373D02* X180075Y117373D01* X176325Y118375D02* X175075Y118375D01* X176325Y118375D02* X176325Y112625D01* X175075Y112625D01* X175075Y118375D01* X175075Y113812D02* X176325Y113812D01* X176325Y114999D02* X175075Y114999D01* X175075Y116186D02* X176325Y116186D01* X176325Y117373D02* X175075Y117373D01* X171325Y118375D02* X170075Y118375D01* X171325Y118375D02* X171325Y112625D01* X170075Y112625D01* X170075Y118375D01* X170075Y113812D02* X171325Y113812D01* X171325Y114999D02* X170075Y114999D01* X170075Y116186D02* X171325Y116186D01* X171325Y117373D02* X170075Y117373D01* X166325Y118375D02* X165075Y118375D01* X166325Y118375D02* X166325Y112625D01* X165075Y112625D01* X165075Y118375D01* X165075Y113812D02* X166325Y113812D01* X166325Y114999D02* X165075Y114999D01* X165075Y116186D02* X166325Y116186D01* X166325Y117373D02* X165075Y117373D01* X161325Y118375D02* X160075Y118375D01* X161325Y118375D02* X161325Y112625D01* X160075Y112625D01* X160075Y118375D01* X160075Y113812D02* X161325Y113812D01* X161325Y114999D02* X160075Y114999D01* X160075Y116186D02* X161325Y116186D01* X161325Y117373D02* X160075Y117373D01* X156325Y118375D02* X155075Y118375D01* X156325Y118375D02* X156325Y112625D01* X155075Y112625D01* X155075Y118375D01* X155075Y113812D02* X156325Y113812D01* X156325Y114999D02* X155075Y114999D01* X155075Y116186D02* X156325Y116186D01* X156325Y117373D02* X155075Y117373D01* X151325Y118375D02* X150075Y118375D01* X151325Y118375D02* X151325Y112625D01* X150075Y112625D01* X150075Y118375D01* X150075Y113812D02* X151325Y113812D01* X151325Y114999D02* X150075Y114999D01* X150075Y116186D02* X151325Y116186D01* X151325Y117373D02* X150075Y117373D01* X146325Y118375D02* X145075Y118375D01* X146325Y118375D02* X146325Y112625D01* X145075Y112625D01* X145075Y118375D01* X145075Y113812D02* X146325Y113812D01* X146325Y114999D02* X145075Y114999D01* X145075Y116186D02* X146325Y116186D01* X146325Y117373D02* X145075Y117373D01* X141575Y121875D02* X141575Y123125D01* X141575Y121875D02* X135825Y121875D01* X135825Y123125D01* X141575Y123125D01* X141575Y123062D02* X135825Y123062D01* X141575Y126875D02* X141575Y128125D01* X141575Y126875D02* X135825Y126875D01* X135825Y128125D01* X141575Y128125D01* X141575Y128062D02* X135825Y128062D01* X141575Y131875D02* X141575Y133125D01* X141575Y131875D02* X135825Y131875D01* X135825Y133125D01* X141575Y133125D01* X141575Y133062D02* X135825Y133062D01* X141575Y136875D02* X141575Y138125D01* X141575Y136875D02* X135825Y136875D01* X135825Y138125D01* X141575Y138125D01* X141575Y138062D02* X135825Y138062D01* X141575Y141875D02* X141575Y143125D01* X141575Y141875D02* X135825Y141875D01* X135825Y143125D01* X141575Y143125D01* X141575Y143062D02* X135825Y143062D01* X141575Y146875D02* X141575Y148125D01* X141575Y146875D02* X135825Y146875D01* X135825Y148125D01* X141575Y148125D01* X141575Y148062D02* X135825Y148062D01* X141575Y151875D02* X141575Y153125D01* X141575Y151875D02* X135825Y151875D01* X135825Y153125D01* X141575Y153125D01* X141575Y153062D02* X135825Y153062D01* X141575Y156875D02* X141575Y158125D01* X141575Y156875D02* X135825Y156875D01* X135825Y158125D01* X141575Y158125D01* X141575Y158062D02* X135825Y158062D01* X141575Y161875D02* X141575Y163125D01* X141575Y161875D02* X135825Y161875D01* X135825Y163125D01* X141575Y163125D01* X141575Y163062D02* X135825Y163062D01* X141575Y166875D02* X141575Y168125D01* X141575Y166875D02* X135825Y166875D01* X135825Y168125D01* X141575Y168125D01* X141575Y168062D02* X135825Y168062D01* X141575Y171875D02* X141575Y173125D01* X141575Y171875D02* X135825Y171875D01* X135825Y173125D01* X141575Y173125D01* X141575Y173062D02* X135825Y173062D01* X141575Y176875D02* X141575Y178125D01* X141575Y176875D02* X135825Y176875D01* X135825Y178125D01* X141575Y178125D01* X141575Y178062D02* X135825Y178062D01* X145075Y181625D02* X146325Y181625D01* X145075Y181625D02* X145075Y187375D01* X146325Y187375D01* X146325Y181625D01* X146325Y182812D02* X145075Y182812D01* X145075Y183999D02* X146325Y183999D01* X146325Y185186D02* X145075Y185186D01* X145075Y186373D02* X146325Y186373D01* X150075Y181625D02* X151325Y181625D01* X150075Y181625D02* X150075Y187375D01* X151325Y187375D01* X151325Y181625D01* X151325Y182812D02* X150075Y182812D01* X150075Y183999D02* X151325Y183999D01* X151325Y185186D02* X150075Y185186D01* X150075Y186373D02* X151325Y186373D01* X155075Y181625D02* X156325Y181625D01* X155075Y181625D02* X155075Y187375D01* X156325Y187375D01* X156325Y181625D01* X156325Y182812D02* X155075Y182812D01* X155075Y183999D02* X156325Y183999D01* X156325Y185186D02* X155075Y185186D01* X155075Y186373D02* X156325Y186373D01* X160075Y181625D02* X161325Y181625D01* X160075Y181625D02* X160075Y187375D01* X161325Y187375D01* X161325Y181625D01* X161325Y182812D02* X160075Y182812D01* X160075Y183999D02* X161325Y183999D01* X161325Y185186D02* X160075Y185186D01* X160075Y186373D02* X161325Y186373D01* X165075Y181625D02* X166325Y181625D01* X165075Y181625D02* X165075Y187375D01* X166325Y187375D01* X166325Y181625D01* X166325Y182812D02* X165075Y182812D01* X165075Y183999D02* X166325Y183999D01* X166325Y185186D02* X165075Y185186D01* X165075Y186373D02* X166325Y186373D01* X170075Y181625D02* X171325Y181625D01* X170075Y181625D02* X170075Y187375D01* X171325Y187375D01* X171325Y181625D01* X171325Y182812D02* X170075Y182812D01* X170075Y183999D02* X171325Y183999D01* X171325Y185186D02* X170075Y185186D01* X170075Y186373D02* X171325Y186373D01* X175075Y181625D02* X176325Y181625D01* X175075Y181625D02* X175075Y187375D01* X176325Y187375D01* X176325Y181625D01* X176325Y182812D02* X175075Y182812D01* X175075Y183999D02* X176325Y183999D01* X176325Y185186D02* X175075Y185186D01* X175075Y186373D02* X176325Y186373D01* X180075Y181625D02* X181325Y181625D01* X180075Y181625D02* X180075Y187375D01* X181325Y187375D01* X181325Y181625D01* X181325Y182812D02* X180075Y182812D01* X180075Y183999D02* X181325Y183999D01* X181325Y185186D02* X180075Y185186D01* X180075Y186373D02* X181325Y186373D01* X185075Y181625D02* X186325Y181625D01* X185075Y181625D02* X185075Y187375D01* X186325Y187375D01* X186325Y181625D01* X186325Y182812D02* X185075Y182812D01* X185075Y183999D02* X186325Y183999D01* X186325Y185186D02* X185075Y185186D01* X185075Y186373D02* X186325Y186373D01* X190075Y181625D02* X191325Y181625D01* X190075Y181625D02* X190075Y187375D01* X191325Y187375D01* X191325Y181625D01* X191325Y182812D02* X190075Y182812D01* X190075Y183999D02* X191325Y183999D01* X191325Y185186D02* X190075Y185186D01* X190075Y186373D02* X191325Y186373D01* X195075Y181625D02* X196325Y181625D01* X195075Y181625D02* X195075Y187375D01* X196325Y187375D01* X196325Y181625D01* X196325Y182812D02* X195075Y182812D01* X195075Y183999D02* X196325Y183999D01* X196325Y185186D02* X195075Y185186D01* X195075Y186373D02* X196325Y186373D01* X200075Y181625D02* X201325Y181625D01* X200075Y181625D02* X200075Y187375D01* X201325Y187375D01* X201325Y181625D01* X201325Y182812D02* X200075Y182812D01* X200075Y183999D02* X201325Y183999D01* X201325Y185186D02* X200075Y185186D01* X200075Y186373D02* X201325Y186373D01* D13* X173200Y150000D03* D14* X229774Y173430D03* X229774Y161430D03* X229774Y149430D03* D10* X217860Y256680D03* X234860Y256680D03* D11* X104112Y193851D03* X104112Y174851D03* X96492Y126480D03* X96492Y107480D03* D10* X235684Y117524D03* X235684Y134524D03* X124432Y193806D03* X124432Y176806D03* X118336Y125226D03* X118336Y108226D03* D15* X201258Y206642D03* X184258Y206642D03* X221850Y194958D03* X238850Y194958D03* X276578Y164088D03* X276578Y147088D03* X141822Y255410D03* X124822Y255410D03* D16* X69100Y256084D02* X69100Y245084D01* X69100Y256084D02* X74100Y256084D01* X74100Y245084D01* X69100Y245084D01* X69100Y249834D02* X74100Y249834D01* X74100Y254584D02* X69100Y254584D01* X99500Y256084D02* X99500Y245084D01* X94500Y245084D01* X94500Y256084D01* X99500Y256084D01* X99500Y249834D02* X94500Y249834D01* X94500Y254584D02* X99500Y254584D01* X244408Y252576D02* X255408Y252576D01* X255408Y247576D01* X244408Y247576D01* X244408Y252576D01* X244408Y252326D02* X255408Y252326D01* X288350Y176630D02* X299350Y176630D01* X299350Y171630D01* X288350Y171630D01* X288350Y176630D01* X288350Y176380D02* X299350Y176380D01* D17* X336500Y149800D03* X296500Y78800D03* X255500Y7800D03* X173500Y7800D03* X91500Y7800D03* X49500Y78800D03* X9500Y149800D03* X50500Y220800D03* X91500Y291800D03* X173500Y291800D03* X255500Y292800D03* X296500Y220800D03* D18* X311700Y210000D02* X311332Y209797D01* X310960Y209604D01* X310582Y209420D01* X310201Y209244D01* X309815Y209079D01* X309425Y208922D01* X309032Y208775D01* X308635Y208638D01* X308235Y208511D01* X307832Y208393D01* X307426Y208285D01* X307018Y208187D01* X306608Y208099D01* X306195Y208021D01* X305781Y207953D01* X305365Y207895D01* X304948Y207848D01* X304529Y207810D01* X304110Y207783D01* X303691Y207766D01* X303271Y207759D01* X302851Y207763D01* X302432Y207776D01* X302012Y207800D01* X301594Y207834D01* X301176Y207878D01* X300760Y207933D01* X300345Y207997D01* X299932Y208072D01* X299521Y208156D01* X299112Y208251D01* X298705Y208355D01* X298301Y208470D01* X297900Y208594D01* X297502Y208728D01* X297107Y208871D01* X296717Y209024D01* X296329Y209187D01* X295946Y209359D01* X295568Y209540D01* X295194Y209731D01* X294824Y209930D01* X294460Y210139D01* X294100Y210356D01* X293746Y210582D01* X293398Y210816D01* X293056Y211059D01* X292719Y211310D01* X292389Y211570D01* X292065Y211837D01* X291748Y212112D01* X291437Y212395D01* X291134Y212685D01* X290838Y212982D01* X290549Y213287D01* X290267Y213598D01* X289993Y213917D01* X289727Y214242D01* X289469Y214573D01* X289220Y214910D01* X288978Y215254D01* X288745Y215603D01* X288520Y215958D01* X288305Y216318D01* X288098Y216683D01* X287900Y217053D01* X287711Y217428D01* X287531Y217808D01* X287360Y218192D01* X287199Y218579D01* X287048Y218971D01* X286906Y219366D01* X286773Y219764D01* X286651Y220166D01* X286538Y220570D01* X286435Y220977D01* X286342Y221387D01* X286259Y221798D01* X286186Y222212D01* X286123Y222627D01* X286070Y223044D01* X286028Y223461D01* X285995Y223880D01* X285973Y224299D01* X285961Y224719D01* X285960Y225139D01* X285968Y225559D01* X285987Y225978D01* X286016Y226397D01* X286055Y226815D01* X286104Y227232D01* X286163Y227648D01* X286233Y228062D01* X286313Y228474D01* X286402Y228884D01* X286502Y229292D01* X286611Y229697D01* X286731Y230100D01* X286860Y230499D01* X286998Y230896D01* X287147Y231288D01* X287305Y231677D01* X287472Y232063D01* X287649Y232443D01* X287834Y232820D01* X288029Y233192D01* X288233Y233559D01* X288446Y233921D01* X288668Y234277D01* X288898Y234628D01* X289137Y234974D01* X289384Y235313D01* X289639Y235647D01* X289902Y235974D01* X290174Y236294D01* X290452Y236608D01* X290739Y236915D01* X291033Y237215D01* X291334Y237508D01* X291642Y237793D01* X291957Y238071D01* X292278Y238341D01* X292607Y238603D01* X292941Y238857D01* X293281Y239102D01* X293628Y239340D01* X293980Y239568D01* X294337Y239789D01* X294700Y240000D01* X312200Y90500D02* X311820Y90714D01* X311434Y90919D01* X311044Y91115D01* X310650Y91301D01* X310250Y91478D01* X309847Y91645D01* X309440Y91802D01* X309029Y91949D01* X308614Y92086D01* X308197Y92212D01* X307776Y92329D01* X307353Y92435D01* X306927Y92531D01* X306499Y92617D01* X306069Y92692D01* X305637Y92757D01* X305204Y92811D01* X304770Y92854D01* X304335Y92887D01* X303899Y92909D01* X303462Y92921D01* X303026Y92922D01* X302590Y92913D01* X302154Y92892D01* X301718Y92862D01* X301284Y92820D01* X300850Y92768D01* X300418Y92706D01* X299988Y92633D01* X299560Y92549D01* X299133Y92456D01* X298709Y92351D01* X298288Y92237D01* X297870Y92112D01* X297455Y91977D01* X297043Y91832D01* X296635Y91677D01* X296231Y91513D01* X295831Y91338D01* X295435Y91154D01* X295044Y90960D01* X294658Y90757D01* X294277Y90544D01* X293901Y90322D01* X293531Y90091D01* X293166Y89851D01* X292807Y89602D01* X292455Y89345D01* X292109Y89079D01* X291769Y88805D01* X291436Y88522D01* X291111Y88232D01* X290792Y87933D01* X290481Y87628D01* X290177Y87314D01* X289881Y86993D01* X289593Y86665D01* X289313Y86331D01* X289041Y85989D01* X288778Y85641D01* X288523Y85287D01* X288277Y84926D01* X288039Y84560D01* X287811Y84188D01* X287592Y83810D01* X287382Y83428D01* X287182Y83040D01* X286990Y82648D01* X286809Y82251D01* X286637Y81849D01* X286475Y81444D01* X286324Y81035D01* X286182Y80622D01* X286050Y80206D01* X285928Y79787D01* X285817Y79365D01* X285715Y78940D01* X285625Y78513D01* X285544Y78084D01* X285474Y77653D01* X285415Y77221D01* X285366Y76787D01* X285328Y76352D01* X285300Y75917D01* X285283Y75481D01* X285277Y75044D01* X285281Y74608D01* X285296Y74172D01* X285322Y73736D01* X285358Y73301D01* X285404Y72867D01* X285462Y72434D01* X285529Y72003D01* X285608Y71574D01* X285696Y71146D01* X285795Y70721D01* X285905Y70299D01* X286024Y69879D01* X286154Y69462D01* X286294Y69049D01* X286444Y68639D01* X286604Y68233D01* X286773Y67830D01* X286953Y67433D01* X287142Y67039D01* X287341Y66650D01* X287549Y66267D01* X287766Y65888D01* X287992Y65515D01* X288228Y65148D01* X288472Y64786D01* X288725Y64430D01* X288987Y64081D01* X289257Y63738D01* X289535Y63402D01* X289822Y63073D01* X290116Y62750D01* X290419Y62435D01* X290728Y62128D01* X291045Y61828D01* X291370Y61536D01* X291701Y61252D01* X292039Y60976D01* X292384Y60708D01* X292735Y60449D01* X293093Y60199D01* X293456Y59957D01* X293825Y59724D01* X294200Y59500D01* X191700Y0D02* X191695Y450D01* X191678Y901D01* X191651Y1350D01* X191612Y1799D01* X191563Y2247D01* X191503Y2694D01* X191432Y3139D01* X191350Y3582D01* X191257Y4022D01* X191154Y4461D01* X191040Y4897D01* X190916Y5330D01* X190781Y5760D01* X190635Y6186D01* X190479Y6609D01* X190313Y7028D01* X190137Y7442D01* X189951Y7852D01* X189755Y8258D01* X189549Y8659D01* X189333Y9054D01* X189108Y9444D01* X188873Y9829D01* X188629Y10208D01* X188376Y10580D01* X188114Y10947D01* X187843Y11307D01* X187563Y11660D01* X187275Y12006D01* X186978Y12345D01* X186674Y12677D01* X186361Y13002D01* X186040Y13318D01* X185712Y13627D01* X185377Y13928D01* X185034Y14220D01* X184684Y14504D01* X184328Y14779D01* X183964Y15046D01* X183595Y15304D01* X183219Y15552D01* X182837Y15791D01* X182450Y16021D01* X182057Y16242D01* X181659Y16453D01* X181256Y16654D01* X180848Y16845D01* X180435Y17026D01* X180019Y17198D01* X179598Y17358D01* X179173Y17509D01* X178745Y17649D01* X178314Y17779D01* X177879Y17898D01* X177442Y18007D01* X177002Y18105D01* X176560Y18192D01* X176116Y18269D01* X175671Y18334D01* X175223Y18389D01* X174775Y18433D01* X174326Y18466D01* X173876Y18488D01* X173425Y18499D01* X172975Y18499D01* X172524Y18488D01* X172074Y18466D01* X171625Y18433D01* X171177Y18389D01* X170729Y18334D01* X170284Y18269D01* X169840Y18192D01* X169398Y18105D01* X168958Y18007D01* X168521Y17898D01* X168086Y17779D01* X167655Y17649D01* X167227Y17509D01* X166802Y17358D01* X166381Y17198D01* X165965Y17026D01* X165552Y16845D01* X165144Y16654D01* X164741Y16453D01* X164343Y16242D01* X163950Y16021D01* X163563Y15791D01* X163181Y15552D01* X162805Y15304D01* X162436Y15046D01* X162072Y14779D01* X161716Y14504D01* X161366Y14220D01* X161023Y13928D01* X160688Y13627D01* X160360Y13318D01* X160039Y13002D01* X159726Y12677D01* X159422Y12345D01* X159125Y12006D01* X158837Y11660D01* X158557Y11307D01* X158286Y10947D01* X158024Y10580D01* X157771Y10208D01* X157527Y9829D01* X157292Y9444D01* X157067Y9054D01* X156851Y8659D01* X156645Y8258D01* X156449Y7852D01* X156263Y7442D01* X156087Y7028D01* X155921Y6609D01* X155765Y6186D01* X155619Y5760D01* X155484Y5330D01* X155360Y4897D01* X155246Y4461D01* X155143Y4022D01* X155050Y3582D01* X154968Y3139D01* X154897Y2694D01* X154837Y2247D01* X154788Y1799D01* X154749Y1350D01* X154722Y901D01* X154705Y450D01* X154700Y0D01* X52200Y59500D02* X52575Y59724D01* X52944Y59957D01* X53307Y60199D01* X53665Y60449D01* X54016Y60708D01* X54361Y60976D01* X54699Y61252D01* X55030Y61536D01* X55355Y61828D01* X55672Y62128D01* X55981Y62435D01* X56284Y62750D01* X56578Y63073D01* X56865Y63402D01* X57143Y63738D01* X57413Y64081D01* X57675Y64430D01* X57928Y64786D01* X58172Y65148D01* X58408Y65515D01* X58634Y65888D01* X58851Y66267D01* X59059Y66650D01* X59258Y67039D01* X59447Y67433D01* X59627Y67830D01* X59796Y68233D01* X59956Y68639D01* X60106Y69049D01* X60246Y69462D01* X60376Y69879D01* X60495Y70299D01* X60605Y70721D01* X60704Y71146D01* X60792Y71574D01* X60871Y72003D01* X60938Y72434D01* X60996Y72867D01* X61042Y73301D01* X61078Y73736D01* X61104Y74172D01* X61119Y74608D01* X61123Y75044D01* X61117Y75481D01* X61100Y75917D01* X61072Y76352D01* X61034Y76787D01* X60985Y77221D01* X60926Y77653D01* X60856Y78084D01* X60775Y78513D01* X60685Y78940D01* X60583Y79365D01* X60472Y79787D01* X60350Y80206D01* X60218Y80622D01* X60076Y81035D01* X59925Y81444D01* X59763Y81849D01* X59591Y82251D01* X59410Y82648D01* X59218Y83040D01* X59018Y83428D01* X58808Y83810D01* X58589Y84188D01* X58361Y84560D01* X58123Y84926D01* X57877Y85287D01* X57622Y85641D01* X57359Y85989D01* X57087Y86331D01* X56807Y86665D01* X56519Y86993D01* X56223Y87314D01* X55919Y87628D01* X55608Y87933D01* X55289Y88232D01* X54964Y88522D01* X54631Y88805D01* X54291Y89079D01* X53945Y89345D01* X53593Y89602D01* X53234Y89851D01* X52869Y90091D01* X52499Y90322D01* X52123Y90544D01* X51742Y90757D01* X51356Y90960D01* X50965Y91154D01* X50569Y91338D01* X50169Y91513D01* X49765Y91677D01* X49357Y91832D01* X48945Y91977D01* X48530Y92112D01* X48112Y92237D01* X47691Y92351D01* X47267Y92456D01* X46840Y92549D01* X46412Y92633D01* X45982Y92706D01* X45550Y92768D01* X45116Y92820D01* X44682Y92862D01* X44246Y92892D01* X43810Y92913D01* X43374Y92922D01* X42938Y92921D01* X42501Y92909D01* X42065Y92887D01* X41630Y92854D01* X41196Y92811D01* X40763Y92757D01* X40331Y92692D01* X39901Y92617D01* X39473Y92531D01* X39047Y92435D01* X38624Y92329D01* X38203Y92212D01* X37786Y92086D01* X37371Y91949D01* X36960Y91802D01* X36553Y91645D01* X36150Y91478D01* X35750Y91301D01* X35356Y91115D01* X34966Y90919D01* X34580Y90714D01* X34200Y90500D01* X34700Y210000D02* X35068Y209797D01* X35440Y209604D01* X35818Y209420D01* X36199Y209244D01* X36585Y209079D01* X36975Y208922D01* X37368Y208775D01* X37765Y208638D01* X38165Y208511D01* X38568Y208393D01* X38974Y208285D01* X39382Y208187D01* X39792Y208099D01* X40205Y208021D01* X40619Y207953D01* X41035Y207895D01* X41452Y207848D01* X41871Y207810D01* X42290Y207783D01* X42709Y207766D01* X43129Y207759D01* X43549Y207763D01* X43968Y207776D01* X44388Y207800D01* X44806Y207834D01* X45224Y207878D01* X45640Y207933D01* X46055Y207997D01* X46468Y208072D01* X46879Y208156D01* X47288Y208251D01* X47695Y208355D01* X48099Y208470D01* X48500Y208594D01* X48898Y208728D01* X49293Y208871D01* X49683Y209024D01* X50071Y209187D01* X50454Y209359D01* X50832Y209540D01* X51206Y209731D01* X51576Y209930D01* X51940Y210139D01* X52300Y210356D01* X52654Y210582D01* X53002Y210816D01* X53344Y211059D01* X53681Y211310D01* X54011Y211570D01* X54335Y211837D01* X54652Y212112D01* X54963Y212395D01* X55266Y212685D01* X55562Y212982D01* X55851Y213287D01* X56133Y213598D01* X56407Y213917D01* X56673Y214242D01* X56931Y214573D01* X57180Y214910D01* X57422Y215254D01* X57655Y215603D01* X57880Y215958D01* X58095Y216318D01* X58302Y216683D01* X58500Y217053D01* X58689Y217428D01* X58869Y217808D01* X59040Y218192D01* X59201Y218579D01* X59352Y218971D01* X59494Y219366D01* X59627Y219764D01* X59749Y220166D01* X59862Y220570D01* X59965Y220977D01* X60058Y221387D01* X60141Y221798D01* X60214Y222212D01* X60277Y222627D01* X60330Y223044D01* X60372Y223461D01* X60405Y223880D01* X60427Y224299D01* X60439Y224719D01* X60440Y225139D01* X60432Y225559D01* X60413Y225978D01* X60384Y226397D01* X60345Y226815D01* X60296Y227232D01* X60237Y227648D01* X60167Y228062D01* X60087Y228474D01* X59998Y228884D01* X59898Y229292D01* X59789Y229697D01* X59669Y230100D01* X59540Y230499D01* X59402Y230896D01* X59253Y231288D01* X59095Y231677D01* X58928Y232063D01* X58751Y232443D01* X58566Y232820D01* X58371Y233192D01* X58167Y233559D01* X57954Y233921D01* X57732Y234277D01* X57502Y234628D01* X57263Y234974D01* X57016Y235313D01* X56761Y235647D01* X56498Y235974D01* X56226Y236294D01* X55948Y236608D01* X55661Y236915D01* X55367Y237215D01* X55066Y237508D01* X54758Y237793D01* X54443Y238071D01* X54122Y238341D01* X53793Y238603D01* X53459Y238857D01* X53119Y239102D01* X52772Y239340D01* X52420Y239568D01* X52063Y239789D01* X51700Y240000D01* X155700Y300000D02* X155705Y299574D01* X155721Y299148D01* X155747Y298723D01* X155783Y298298D01* X155830Y297874D01* X155886Y297452D01* X155954Y297031D01* X156031Y296612D01* X156119Y296195D01* X156216Y295780D01* X156324Y295368D01* X156442Y294958D01* X156570Y294552D01* X156707Y294148D01* X156855Y293748D01* X157012Y293352D01* X157178Y292960D01* X157355Y292572D01* X157540Y292188D01* X157735Y291809D01* X157939Y291435D01* X158152Y291066D01* X158374Y290702D01* X158605Y290344D01* X158844Y289992D01* X159092Y289645D01* X159349Y289304D01* X159613Y288970D01* X159886Y288643D01* X160166Y288322D01* X160455Y288008D01* X160751Y287701D01* X161054Y287402D01* X161364Y287110D01* X161681Y286825D01* X162006Y286549D01* X162337Y286280D01* X162674Y286020D01* X163017Y285767D01* X163367Y285524D01* X163722Y285289D01* X164084Y285062D01* X164450Y284845D01* X164822Y284636D01* X165198Y284437D01* X165580Y284246D01* X165965Y284065D01* X166356Y283894D01* X166750Y283732D01* X167148Y283580D01* X167550Y283437D01* X167955Y283305D01* X168363Y283182D01* X168774Y283069D01* X169187Y282966D01* X169603Y282874D01* X170021Y282791D01* X170441Y282719D01* X170863Y282657D01* X171286Y282605D01* X171710Y282564D01* X172135Y282532D01* X172561Y282512D01* X172987Y282501D01* X173413Y282501D01* X173839Y282512D01* X174265Y282532D01* X174690Y282564D01* X175114Y282605D01* X175537Y282657D01* X175959Y282719D01* X176379Y282791D01* X176797Y282874D01* X177213Y282966D01* X177626Y283069D01* X178037Y283182D01* X178445Y283305D01* X178850Y283437D01* X179252Y283580D01* X179650Y283732D01* X180044Y283894D01* X180435Y284065D01* X180820Y284246D01* X181202Y284437D01* X181578Y284636D01* X181950Y284845D01* X182316Y285062D01* X182678Y285289D01* X183033Y285524D01* X183383Y285767D01* X183726Y286020D01* X184063Y286280D01* X184394Y286549D01* X184719Y286825D01* X185036Y287110D01* X185346Y287402D01* X185649Y287701D01* X185945Y288008D01* X186234Y288322D01* X186514Y288643D01* X186787Y288970D01* X187051Y289304D01* X187308Y289645D01* X187556Y289992D01* X187795Y290344D01* X188026Y290702D01* X188248Y291066D01* X188461Y291435D01* X188665Y291809D01* X188860Y292188D01* X189045Y292572D01* X189222Y292960D01* X189388Y293352D01* X189545Y293748D01* X189693Y294148D01* X189830Y294552D01* X189958Y294958D01* X190076Y295368D01* X190184Y295780D01* X190281Y296195D01* X190369Y296612D01* X190446Y297031D01* X190514Y297452D01* X190570Y297874D01* X190617Y298298D01* X190653Y298723D01* X190679Y299148D01* X190695Y299574D01* X190700Y300000D01* D19* X141450Y277000D03* X204950Y277000D03* X141450Y226200D03* X204950Y226200D03* X147800Y48400D03* X173200Y48400D03* X198600Y48400D03* D20* X97000Y216675D03* X97000Y83325D03* X249400Y83325D03* X249400Y216675D03* D19* X71600Y175400D03* X71600Y150000D03* X71600Y124600D03* D21* X85570Y30112D03* X290802Y162700D03* D22* X255659Y189488D02* X249935Y189370D01* D23* X237970Y161430D02* X229774Y161430D01* D24* X237970Y161430D02* X241780Y165240D01* X241780Y192028D01* D25* X195700Y184500D02* X195700Y172500D01* X173200Y150000D01* X150700Y115500D02* X150700Y108958D01* D22* X173200Y138570D02* X173200Y150000D01* D21* X173200Y138570D03* X173200Y150000D03* D22* X173200Y161430D01* D21* X173200Y161430D03* X173200Y172860D03* D22* X163040Y172860D01* D25* X149980Y172500D02* X138700Y172500D01* X149980Y172500D02* X150340Y138316D01* D21* X150340Y138316D03* X160500Y138316D03* D25* X163040Y172860D01* D24* X193880Y172500D02* X195700Y172500D01* X193880Y172500D02* X195806Y138316D01* D21* X195806Y138316D03* X185646Y138316D03* D24* X180820Y172860D01* D25* X150700Y130040D02* X150700Y115500D01* X150700Y130040D02* X152880Y132220D01* X166850Y132220D01* X173200Y138570D01* D21* X195552Y173368D03* D26* X276578Y164088D02* X282556Y164088D01* D21* X224508Y13094D03* X318996Y124092D03* D25* X150700Y108958D02* X147800Y106058D01* X137640Y106058D01* D27* X120504Y106058D01* X118336Y108226D01* D28* X98254Y108226D01* X96492Y107480D01* D24* X238850Y194958D02* X241780Y192028D01* D28* X244438Y189370D02* X249935Y189370D01* X244438Y189370D02* X238850Y194958D01* X238850Y194840D01* X244066Y189624D01* X260576Y189624D01* X267688Y196736D01* D21* X267688Y196736D03* X38834Y102248D03* D27* X282556Y164088D02* X289414Y164088D01* X290802Y162700D01* D21* X321536Y162700D03* D26* X323600Y162700D01* X336500Y149800D01* D21* X204696Y256426D03* D29* X91500Y24182D02* X91500Y7800D01* X91500Y24182D02* X85570Y30112D01* X204950Y256680D02* X217860Y256680D01* X204950Y256680D02* X204696Y256426D01* D25* X138700Y172500D02* X126198Y172500D01* X124432Y176806D01* D30* X104697Y174012D02* X104112Y174851D01* X105813Y176806D02* X124432Y176806D01* X105813Y176806D02* X104112Y174851D01* D21* X150086Y173114D03* D28* X224508Y13094D02* X250206Y13094D01* X255500Y7800D01* D21* X142466Y15888D03* D25* X138700Y177500D02* X135540Y177500D01* X135100Y177940D01* D22* X137640Y183020D02* X137640Y188100D01* D21* X137640Y188100D03* D25* X131960Y115500D02* X145700Y115500D01* X200700Y184500D02* X207280Y184500D01* X207490Y184290D01* D21* X207490Y184290D03* D25* X207700Y184080D02* X207700Y177500D01* X207700Y184080D02* X207490Y184290D01* X221850Y185950D02* X221850Y194958D01* X221850Y185950D02* X213840Y177940D01* X208140Y177940D01* X207700Y177500D01* D27* X131960Y115500D02* X130738Y115500D01* X121012Y125226D01* X118336Y125226D01* D28* X96730Y125226D01* X96492Y126480D01* X118082Y128156D02* X121012Y125226D01* X118082Y128156D02* X118082Y136538D01* D21* X118082Y136538D03* D25* X200700Y184500D02* X200700Y204660D01* X201258Y206642D01* X138700Y177500D02* X137640Y178560D01* X137640Y188100D01* D30* X124432Y193806D02* X123534Y192164D01* X105545Y192164D02* X104112Y193851D01* X103903Y193806D02* X124432Y193806D01* X104112Y193851D02* X103903Y193806D01* X137640Y188608D02* X137640Y188100D01* X137640Y188608D02* X133322Y192926D01* X125312Y192926D01* X124432Y193806D01* D25* X160700Y115500D02* X160700Y96860D01* X138656Y84976D02* X110716Y57036D01* X97254Y57036D01* D27* X93698Y57036D01* X90396Y53734D01* X66266Y53734D01* D21* X66266Y53734D03* D25* X148816Y84976D02* X160700Y96860D01* X148816Y84976D02* X138656Y84976D01* X138660Y147460D02* X138700Y147500D01* X85062Y137300D02* X63980Y137300D01* X44168Y157112D01* D29* X40866Y160414D01* D21* X40866Y199530D03* D25* X114272Y147460D02* X138660Y147460D01* X114272Y147460D02* X107160Y140348D01* X88110Y140348D01* X85062Y137300D01* D29* X40866Y160414D02* X40866Y199530D01* D25* X155700Y115500D02* X155700Y102020D01* X145260Y91580D01* D29* X49500Y81420D02* X49500Y78800D01* D25* X134846Y91580D02* X145260Y91580D01* X134846Y91580D02* X108684Y65418D01* X86586Y65418D01* D29* X79138Y65418D01* X65756Y78800D01* X49500Y78800D01* D25* X138660Y152540D02* X138700Y152500D01* D27* X55344Y168796D02* X55344Y215956D01* X50500Y215956D01* D29* X50500Y220800D01* D25* X61694Y162446D02* X79474Y162446D01* X61694Y162446D02* X55344Y168796D01* X111224Y152540D02* X138660Y152540D01* X111224Y152540D02* X104620Y145936D01* X88364Y145936D01* X85570Y148730D01* X85570Y154572D01* X83284Y156858D01* X83284Y158636D01* X79474Y162446D01* D21* X94206Y155080D03* D25* X107922Y157620D02* X138580Y157620D01* X138700Y157500D01* X107922Y157620D02* X105382Y155080D01* X94206Y155080D01* D22* X248980Y118540D02* X256336Y119038D01* X258570Y119800D01* X274800Y136030D01* D21* X274800Y136030D03* D25* X215926Y137500D02* X207700Y137500D01* X215926Y137500D02* X234886Y118540D01* X235684Y117524D01* D22* X235684Y118540D02* X248980Y118540D01* X235684Y118540D02* X235684Y117524D01* D21* X169390Y89040D03* D28* X147800Y67450D01* X147800Y48400D01* D25* X155700Y184500D02* X155674Y184526D01* X155700Y184500D02* X155700Y248070D01* X155674Y248044D02* X155674Y248096D01* X155674Y250076D01* X159992Y254394D01* D21* X159992Y254394D03* D25* X155674Y248096D02* X155700Y248070D01* X160700Y190332D02* X160700Y184500D01* X160700Y190332D02* X160754Y190386D01* D29* X171168Y248298D02* X171168Y289468D01* X173500Y291800D01* D25* X160754Y237884D02* X160754Y190386D01* X160754Y237884D02* X171168Y248298D01* X207700Y157500D02* X212450Y157500D01* X215110Y160160D01* X215110Y169050D01* X218920Y172860D01* X229204Y172860D01* X229774Y173430D01* X218960Y152500D02* X207700Y152500D01* X218960Y152500D02* X221460Y150000D01* X229204Y150000D01* X229774Y149430D01* D29* X249654Y249822D02* X249656Y249853D01* X249661Y249883D01* X249671Y249912D01* X249683Y249940D01* X249699Y249966D01* X249718Y249990D01* X249740Y250012D01* X249764Y250031D01* X249790Y250047D01* X249818Y250059D01* X249847Y250069D01* X249877Y250074D01* X249908Y250076D01* D27* X243304Y256680D01* X234860Y256680D01* D25* X180700Y192030D02* X180700Y184500D01* X180700Y192030D02* X177264Y195466D01* X175232Y195466D01* X173454Y197244D01* X173454Y219088D01* X196060Y241694D01* X217142Y241694D01* D27* X235684Y241694D01* D21* X235684Y241694D03* D27* X249400Y250076D02* X249908Y250076D01* X249400Y250076D02* X241018Y241694D01* X235684Y241694D01* D25* X268704Y175908D02* X269076Y174520D01* D21* X268704Y175908D03* D31* X217610Y147500D02* X207700Y147500D01* X217610Y147500D02* X220952Y144158D01* X239748Y144158D01* X242542Y146952D01* X242542Y149746D01* D29* X255659Y172488D02* X265284Y172488D01* X268704Y175908D01* D25* X242542Y152540D02* X242542Y149746D01* X242542Y152540D02* X255659Y165657D01* X255659Y172488D01* D27* X270482Y174130D02* X293850Y174130D01* X270482Y174130D02* X268704Y175908D01* D22* X256336Y138038D02* X252170Y138800D01* X259560Y146190D01* X277340Y146190D01* D31* X217022Y142500D02* X207700Y142500D01* X217022Y142500D02* X220698Y138824D01* X232908Y138824D01* X235684Y134524D01* D22* X276578Y147088D02* X277340Y146190D01* D29* X256336Y134524D02* X235684Y134524D01* X256336Y134524D02* X256336Y138038D01* D21* X289024Y149492D03* D29* X286620Y147088D01* X276578Y147088D01* D25* X207700Y122500D02* X207700Y110420D01* D21* X290040Y96660D03* D25* X224508Y93612D02* X207700Y110420D01* D26* X279118Y93612D02* X282166Y96660D01* X290040Y96660D01* D25* X224508Y93612D02* X224508Y82690D01* X240510Y66688D01* X259306Y66688D01* X267434Y74816D01* X267434Y81928D01* X279118Y93612D01* D21* X200378Y13348D03* D25* X195700Y97274D02* X195700Y115500D01* X195700Y97274D02* X202410Y90564D01* X202410Y73038D01* X213332Y62116D01* X213332Y26302D01* X200378Y13348D01* X200700Y107260D02* X200700Y115500D01* X200700Y107260D02* X213840Y94120D01* D27* X294802Y78800D02* X296500Y78800D01* X294802Y78800D02* X294802Y77102D01* D25* X213840Y83198D02* X213840Y94120D01* X213840Y83198D02* X236192Y60846D01* X262608Y60846D01* X272768Y71006D01* X272768Y74816D01* X276832Y78880D01* X296420Y78880D01* X296500Y78800D01* X190700Y96940D02* X190700Y115500D01* X190700Y96940D02* X190980Y91580D01* D24* X173200Y28080D02* X173200Y8100D01* D27* X173500Y8100D01* D25* X190980Y64402D02* X190980Y91580D01* X190980Y64402D02* X185900Y59322D01* X185900Y39002D01* X182090Y35192D01* X177772Y35192D01* X173200Y30620D01* X173200Y28080D01* X173200Y8100D02* X173500Y7800D01* X221714Y122060D02* X221714Y124600D01* X221714Y122060D02* X221714Y112916D01* X228064Y106566D01* X267434Y106566D01* X272260Y111392D01* D31* X214068Y132500D02* X207700Y132500D01* X214068Y132500D02* X221714Y124854D01* X221714Y122060D01* D26* X284706Y190894D02* X284706Y206388D01* D21* X284706Y206388D03* D26* X284706Y190894D02* X289532Y186068D01* D27* X291310Y184290D01* D25* X272260Y119266D02* X272260Y111392D01* X306804Y153810D02* X306804Y179464D01* X302232Y184036D01* X291564Y184036D01* X291310Y184290D01* X306804Y153810D02* X272260Y119266D01* X274546Y100216D02* X225778Y100216D01* X274546Y100216D02* X279626Y105296D01* D31* X212718Y127500D02* X207700Y127500D01* X212718Y127500D02* X215872Y124346D01* X215872Y110122D01* X225778Y100216D01* D29* X296500Y200182D02* X296500Y220800D01* D25* X296500Y200182D02* X296500Y192562D01* X299184Y189878D01* X304518Y189878D01* X312646Y181750D01* X312646Y151016D01* X279626Y117996D02* X279626Y105296D01* X279626Y117996D02* X312646Y151016D01* X84554Y185052D02* X84554Y192672D01* X76934Y200292D01* X76934Y216548D01* D27* X76934Y230010D01* X71600Y235344D01* D21* X71600Y235344D03* D27* X71600Y250584D01* D25* X132534Y167500D02* X138700Y167500D01* X132534Y167500D02* X127734Y162700D01* X92428Y162700D01* X88110Y167018D01* X88110Y181496D01* X84554Y185052D01* D21* X97000Y236614D03* D25* X126210Y213754D02* X136624Y213754D01* X126210Y213754D02* X103350Y236614D01* X97000Y236614D01* X97000Y250584D01* X136624Y213754D02* X145700Y204678D01* X145700Y184500D01* X167358Y195466D02* X167358Y225438D01* X171168Y229248D01* X171168Y234074D01* D21* X171168Y234074D03* X146022Y243726D03* D29* X141822Y247926D01* X141822Y255410D01* D28* X141450Y255782D01* X141450Y277000D01* D25* X167358Y195466D02* X170660Y192164D01* X170660Y184540D01* X170700Y184500D01* D21* X183106Y103772D03* D25* X180058Y103772D01* X175740Y108090D01* X175740Y115460D01* X175700Y115500D01* X170700Y115500D02* X170700Y101192D01* X179550Y92342D01* X179550Y85992D01* D29* X179550Y70498D01* X172692Y63640D01* X172692Y48908D01* X173200Y48400D01* M02*
11,963
https://github.com/xingxingtx/key_project_manage/blob/master/src/main/java/com/aorise/service/jointguarantee/impl/JointGuaranteeServiceImpl.java
Github Open Source
Open Source
MIT
null
key_project_manage
xingxingtx
Java
Code
86
426
package com.aorise.service.jointguarantee.impl; import com.aorise.mapper.jointguarantee.JointGuaranteeMapper; import com.aorise.model.jointguarantee.JointGuaranteeModel; import com.aorise.service.jointguarantee.JointGuaranteeService; import com.aorise.utils.page.Page; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; import java.util.Map; /** * @Description:联保行动 * @Author:wei.peng * @Date:2018/10/12 11:25 * @Version V1.0 */ @Service public class JointGuaranteeServiceImpl implements JointGuaranteeService{ @Autowired JointGuaranteeMapper jointGuaranteeMapper; @Override public List<JointGuaranteeModel> getAllByPage(Map<String, Object> map, Page page) { List<JointGuaranteeModel> list=null; /**查询总数*/ Integer count = jointGuaranteeMapper.getAllByPageCount(map); if (count > 0) { page.setTotalCount(Long.valueOf(count)); page.setTotalPage(Long.valueOf(count), page.getEveryPage()); if (page.getCurrentPage() > 0 && page.getEveryPage() > 0) { /**查询分页条数*/ list = jointGuaranteeMapper.getAllByPage(map); } } else { page.setTotalCount(0L); } return list; } }
38,989
https://github.com/plish-plash/gristmill/blob/master/gristmill-2d/src/renderer/mod.rs
Github Open Source
Open Source
MIT
null
gristmill
plish-plash
Rust
Code
238
816
mod atlas_rect; use vulkano::command_buffer::SubpassContents; use gristmill::asset::image::{Image, TileAtlasImage}; use gristmill::renderer::{LoadContext, RenderContext, scene}; use gristmill::geometry2d::*; use super::{Entity, World}; use atlas_rect::{Texture, TileAtlasTexture, AtlasRectPipeline}; #[derive(Clone)] pub enum Sprite { Texture(Texture), Tile(TileAtlasTexture, Index2D), } pub struct SpriteRenderer { atlas_rect_pipeline: AtlasRectPipeline, scale: u32, } impl SpriteRenderer { pub fn set_scale(&mut self, scale: u32) { self.scale = scale; } pub fn load_image(&mut self, context: &mut LoadContext, image: &Image) -> Sprite { Sprite::Texture(self.atlas_rect_pipeline.load_image(context, image)) } pub fn load_tile_image(&mut self, context: &mut LoadContext, image: &TileAtlasImage) -> Sprite { Sprite::Tile(self.atlas_rect_pipeline.load_tile_image(context, image), Index2D::default()) } fn render_entity(&mut self, context: &mut RenderContext, scene: &World, entity: Entity, parent_position: Point) { let obj = scene.forest.get(entity); let obj_position = obj.position.offset_from(parent_position); if let Some(sprite) = obj.sprite.as_ref() { let color = gristmill::color::white(); match sprite { Sprite::Texture(texture) => self.atlas_rect_pipeline.draw_rect_full(context, obj_position, texture, color), Sprite::Tile(texture, index) => self.atlas_rect_pipeline.draw_tile(context, obj_position, texture, *index, color), } } for child in scene.forest.iter_children(entity) { self.render_entity(context, scene, *child, obj_position); } } } impl scene::SceneRenderer for SpriteRenderer { type RenderType = scene::Geometry2D; type Scene = World; fn contents() -> SubpassContents { SubpassContents::Inline } fn new(context: &mut LoadContext) -> Self { let atlas_rect_pipeline = AtlasRectPipeline::new(context); SpriteRenderer { atlas_rect_pipeline, scale: 1 } } fn set_dimensions(&mut self, dimensions: Size) { let width = dimensions.width as f32 / self.scale as f32; let height = dimensions.height as f32 / self.scale as f32; self.atlas_rect_pipeline.set_dimensions([width, height]); } fn pre_render(&mut self, _context: &mut RenderContext, _scene: &mut World) {} fn render(&mut self, context: &mut RenderContext, scene: &mut World) { self.render_entity(context, scene, scene.render_root, Point::origin()); } }
36,093
https://github.com/ttu/kotlin-is-like-csharp/blob/master/code/functions.cs
Github Open Source
Open Source
MIT
2,022
kotlin-is-like-csharp
ttu
C#
Code
24
53
string Greet(string name, string day) { return $"Hello {name}, today is {day}."; } var text = Greet("Bob", "Tuesday"); // Hello Bob, today is Tuesday
15,241
https://github.com/GongT/elibs/blob/master/projects/tabui/src/components/view.ts
Github Open Source
Open Source
MIT
2,021
elibs
GongT
TypeScript
Code
403
1,381
import { DefineCustomElements, domConvert, DOMEventTrigger, DOMGetSet } from '@gongt/custom-element-helpers'; import { definePublicConstant, Emitter, IDisposable } from '@idlebox/common'; import { ICommunicateObject, IIcon, ISize, ITabBodyConfig } from '../common/type'; export interface IRenderEventData { root: ShadowRoot; } class CommunicateObject implements ICommunicateObject { public readonly _onBeforeDispose = new Emitter<void>(); public readonly onBeforeDispose = this._onBeforeDispose.register; public readonly rootElement: HTMLDivElement; public readonly shadowRoot: ShadowRoot; public declare readonly tabId: number; constructor(private readonly tab: TabView) { this.shadowRoot = tab.attachShadow({ mode: 'closed' }); this.rootElement = document.createElement('div'); this.shadowRoot.append(this.rootElement); } dispose() { this._onBeforeDispose.fire(); this._onBeforeDispose.dispose(); this.rootElement.innerHTML = ''; this.shadowRoot.append(this.rootElement); } setTitle(title: string): void { this.tab.changeTitleEvent(title); } setIcon(icon: IIcon): void { this.tab.changeIconEvent(icon); } setSize(size: ISize): void { this.tab.changeSizeEvent(size); } public get dataset(): Record<string, string> { return this.tab.dataset as any; } } @DefineCustomElements() export class TabView extends HTMLElement { private renderState?: IDisposable; private readonly communicateObject: CommunicateObject; constructor() { super(); this.communicateObject = new CommunicateObject(this); } private _render() { if (this.renderState) return; if (!this.renderFile) throw new Error('no renderFile on view body'); if (!this.tabId) throw new Error('no tabId on view body'); definePublicConstant(this.communicateObject, 'tabId', this.tabId); const styleFile = this.styleFile; if (styleFile) { const link = document.createElement('link'); link.rel = 'stylesheet'; link.href = styleFile; this.communicateObject.shadowRoot.append(link); } const module = require(this.renderFile); if (module?.render) { this.renderState = module.render(this.communicateObject); } else if (module?.default?.render) { this.renderState = module.default.render(this.communicateObject); } else { throw new Error('invalid render module: ' + this.renderFile); } if (!this.renderState?.dispose) { throw new Error('render function does not return disposable'); } } disconnectedCallback() { if (this.renderState) { this.removeAttribute('open'); this.renderState.dispose(); delete this.renderState; this.communicateObject._onBeforeDispose.fire(); this.communicateObject.dispose(); } } attributeChangedCallback(name: string, _oldValue: string | null, newValue: string | null) { // console.log('[%s] %s : %s => %s', this.constructor.name, name, _oldValue, newValue); if (name === 'open') { const bValue = domConvert.boolean.get(newValue); if (bValue && !this.renderState) { this._render(); } } else if (name === 'render-file' || name === 'style-file' || name === 'tab-id') { if (this.renderState) throw new Error(`can not replace "${name}" after render already complete.`); } else { console.warn('Unknown change key: %s', name); } } getState(): ITabBodyConfig { return { renderFile: this.renderFile, styleFile: this.styleFile || undefined, dataset: this.dataset as any, }; } @DOMGetSet(domConvert.boolean(false)) public declare open: boolean; @DOMGetSet(domConvert.interger) public declare tabId: number; @DOMGetSet(domConvert.string) public declare renderFile: string; @DOMGetSet(domConvert.string) public declare styleFile: string; @DOMEventTrigger({ eventName: 'render', bubbles: true }) public declare renderEvent: DOMEventTrigger<ICommunicateObject>; /** @internal */ @DOMEventTrigger({ eventName: 'changeTitle', bubbles: true }) public declare changeTitleEvent: DOMEventTrigger<string>; /** @internal */ @DOMEventTrigger({ eventName: 'changeIcon', bubbles: true }) public declare changeIconEvent: DOMEventTrigger<IIcon>; /** @internal */ @DOMEventTrigger({ eventName: 'changeSize', bubbles: true }) public declare changeSizeEvent: DOMEventTrigger<ISize>; }
5,382
https://github.com/corbie11/iOS14Headers/blob/master/System/Library/PrivateFrameworks/ChatKit.framework/CKFullScreenBalloonViewControllerPhone.h
Github Open Source
Open Source
MIT
2,020
iOS14Headers
corbie11
Objective-C
Code
405
2,062
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:40:12 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/ChatKit.framework/ChatKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. */ #import <ChatKit/ChatKit-Structs.h> #import <ChatKit/CKFullScreenBalloonViewController.h> #import <libobjc.A.dylib/CKActionSheetMenuViewDelegate.h> #import <libobjc.A.dylib/CKBalloonViewDelegate.h> #import <libobjc.A.dylib/CKStickerDetailViewControllerDelegate.h> #import <libobjc.A.dylib/PHLivePhotoViewDelegate.h> @class CKActionSheetMenuView, CKGroupAcknowledgmentVotingViewController, UIView, NSArray, CKLivePhotoBalloonView, UIVisualEffectView, CAShapeLayer, NSString; @interface CKFullScreenBalloonViewControllerPhone : CKFullScreenBalloonViewController <CKActionSheetMenuViewDelegate, CKBalloonViewDelegate, CKStickerDetailViewControllerDelegate, PHLivePhotoViewDelegate> { BOOL _shouldLayoutViews; BOOL _animationsDisabledForTesting; CKActionSheetMenuView* _menuView; CKGroupAcknowledgmentVotingViewController* _votingViewController; UIView* _balloonView; NSArray* _interfaceActions; CKLivePhotoBalloonView* _livePhotoBalloonView; UIVisualEffectView* _replyButtonEffectView; CAShapeLayer* _replyButtonBorderLayer; CAShapeLayer* _replyButtonMaskLayer; CAShapeLayer* _tintViewMaskLayer; UIView* _replyButtonView; double _balloonYOffsetFromTranscript; } @property (nonatomic,retain) CKActionSheetMenuView * menuView; //@synthesize menuView=_menuView - In the implementation block @property (nonatomic,retain) CKGroupAcknowledgmentVotingViewController * votingViewController; //@synthesize votingViewController=_votingViewController - In the implementation block @property (nonatomic,retain) UIView * balloonView; //@synthesize balloonView=_balloonView - In the implementation block @property (nonatomic,copy) NSArray * interfaceActions; //@synthesize interfaceActions=_interfaceActions - In the implementation block @property (nonatomic,retain) CKLivePhotoBalloonView * livePhotoBalloonView; //@synthesize livePhotoBalloonView=_livePhotoBalloonView - In the implementation block @property (nonatomic,retain) UIVisualEffectView * replyButtonEffectView; //@synthesize replyButtonEffectView=_replyButtonEffectView - In the implementation block @property (nonatomic,retain) CAShapeLayer * replyButtonBorderLayer; //@synthesize replyButtonBorderLayer=_replyButtonBorderLayer - In the implementation block @property (nonatomic,retain) CAShapeLayer * replyButtonMaskLayer; //@synthesize replyButtonMaskLayer=_replyButtonMaskLayer - In the implementation block @property (nonatomic,retain) CAShapeLayer * tintViewMaskLayer; //@synthesize tintViewMaskLayer=_tintViewMaskLayer - In the implementation block @property (nonatomic,retain) UIView * replyButtonView; //@synthesize replyButtonView=_replyButtonView - In the implementation block @property (assign,nonatomic) double balloonYOffsetFromTranscript; //@synthesize balloonYOffsetFromTranscript=_balloonYOffsetFromTranscript - In the implementation block @property (assign,nonatomic) BOOL animationsDisabledForTesting; //@synthesize animationsDisabledForTesting=_animationsDisabledForTesting - In the implementation block @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy,readonly) NSString * description; @property (copy,readonly) NSString * debugDescription; -(void)viewDidLayoutSubviews; -(id)initWithChatItem:(id)arg1 title:(id)arg2 interfaceActions:(id)arg3 gradientReferenceView:(id)arg4 isGroupConversation:(BOOL)arg5 showActionMenu:(BOOL)arg6 pluginBalloonSnapshot:(id)arg7 delegate:(id)arg8 ; -(void)setInterfaceActions:(NSArray *)arg1 ; -(void)setLivePhotoBalloonView:(CKLivePhotoBalloonView *)arg1 ; -(CKLivePhotoBalloonView *)livePhotoBalloonView; -(void)setBalloonYOffsetFromTranscript:(double)arg1 ; -(void)loadLivePhotoBalloonViewIfNeeded; -(BOOL)_shouldShowVotingView; -(NSArray *)interfaceActions; -(void)updateReplyButtonSize:(CGRect)arg1 ; -(double)balloonYOffsetFromTranscript; -(BOOL)animationsDisabledForTesting; -(void)updateReplyButtonColor; -(void)setAnimationsDisabledForTesting:(BOOL)arg1 ; -(void)setReplyButtonBorderLayer:(CAShapeLayer *)arg1 ; -(void)setReplyButtonMaskLayer:(CAShapeLayer *)arg1 ; -(void)setReplyButtonEffectView:(UIVisualEffectView *)arg1 ; -(void)setReplyButtonView:(UIView *)arg1 ; -(void)setTintViewMaskLayer:(CAShapeLayer *)arg1 ; -(UIVisualEffectView *)replyButtonEffectView; -(CAShapeLayer *)replyButtonBorderLayer; -(CAShapeLayer *)replyButtonMaskLayer; -(CAShapeLayer *)tintViewMaskLayer; -(void)_stickerDetailViewControllerCloseButtonPressed:(id)arg1 ; -(void)disableAnimationsForTesting; -(UIView *)replyButtonView; -(void)viewDidDisappear:(BOOL)arg1 ; -(CKActionSheetMenuView *)menuView; -(void)dealloc; -(void)presentStickerDetailControllerWithStickers:(id)arg1 ; -(UIView *)balloonView; -(void)balloonViewSelected:(id)arg1 keyModifierFlags:(long long)arg2 selectedText:(id)arg3 ; -(void)viewDidLoad; -(void)traitCollectionDidChange:(id)arg1 ; -(void)setBalloonView:(UIView *)arg1 ; -(void)stickerDetailViewController:(id)arg1 deletedStickerWithTransferGUID:(id)arg2 ; -(void)setMenuView:(CKActionSheetMenuView *)arg1 ; -(void)stickerDetailViewController:(id)arg1 selectedStickerPackWithAdamID:(id)arg2 ; -(void)livePhotoView:(id)arg1 didEndPlaybackWithStyle:(long long)arg2 ; -(void)setVotingViewController:(CKGroupAcknowledgmentVotingViewController *)arg1 ; -(CKGroupAcknowledgmentVotingViewController *)votingViewController; -(void)viewWillAppear:(BOOL)arg1 ; -(void)balloonEditMenuViewWasDismissed:(id)arg1 ; -(void)setupReplyButton; -(void)performInitialAnimations; -(void)dismissTapGestureRecognized:(id)arg1 ; -(void)balloonViewLongTouched:(id)arg1 ; -(void)balloonViewShowInlineReply:(id)arg1 ; -(void)performClosingAnimationsAnimated:(BOOL)arg1 withSendAnimation:(BOOL)arg2 withCompletion:(/*^block*/id)arg3 ; -(void)balloonViewTapped:(id)arg1 withModifierFlags:(long long)arg2 selectedText:(id)arg3 ; -(void)balloonViewDoubleTapped:(id)arg1 ; -(void)balloonViewSelected:(id)arg1 withModifierFlags:(long long)arg2 selectedText:(id)arg3 ; -(void)balloonViewTextViewDidChangeSelection:(id)arg1 selectedText:(id)arg2 textView:(id)arg3 ; -(void)liveBalloonTouched:(id)arg1 ; -(void)interactionStartedFromPreviewItemControllerInBalloonView:(id)arg1 ; -(void)balloonView:(id)arg1 userDidDragOutsideBalloonWithPoint:(CGPoint)arg2 ; -(void)interactionStoppedFromPreviewItemControllerInBalloonView:(id)arg1 ; -(void)balloonViewShouldCopyToPasteboard:(id)arg1 ; @end
33,461
https://github.com/martonszabolcs/react-native-piano-sampler/blob/master/android/src/main/jni/fluidsynth/src/rvoice/fluid_rev.h
Github Open Source
Open Source
MIT
2,022
react-native-piano-sampler
martonszabolcs
C
Code
281
808
/* FluidSynth - A Software Synthesizer * * Copyright (C) 2003 Peter Hanappe and others. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA */ #ifndef _FLUID_REV_H #define _FLUID_REV_H #include "fluidsynth_priv.h" typedef struct _fluid_revmodel_t fluid_revmodel_t; /** Flags for fluid_revmodel_set() */ typedef enum { FLUID_REVMODEL_SET_ROOMSIZE = 1 << 0, FLUID_REVMODEL_SET_DAMPING = 1 << 1, FLUID_REVMODEL_SET_WIDTH = 1 << 2, FLUID_REVMODEL_SET_LEVEL = 1 << 3, /** Value for fluid_revmodel_set() which sets all reverb parameters. */ FLUID_REVMODEL_SET_ALL = FLUID_REVMODEL_SET_LEVEL | FLUID_REVMODEL_SET_WIDTH | FLUID_REVMODEL_SET_DAMPING | FLUID_REVMODEL_SET_ROOMSIZE, } fluid_revmodel_set_t; /* * reverb preset */ typedef struct _fluid_revmodel_presets_t { const char* name; fluid_real_t roomsize; fluid_real_t damp; fluid_real_t width; fluid_real_t level; } fluid_revmodel_presets_t; /* * reverb */ fluid_revmodel_t* new_fluid_revmodel(fluid_real_t sample_rate); void delete_fluid_revmodel(fluid_revmodel_t* rev); void fluid_revmodel_processmix(fluid_revmodel_t* rev, fluid_real_t *in, fluid_real_t *left_out, fluid_real_t *right_out); void fluid_revmodel_processreplace(fluid_revmodel_t* rev, fluid_real_t *in, fluid_real_t *left_out, fluid_real_t *right_out); void fluid_revmodel_reset(fluid_revmodel_t* rev); void fluid_revmodel_set(fluid_revmodel_t* rev, int set, float roomsize, float damping, float width, float level); void fluid_revmodel_samplerate_change(fluid_revmodel_t* rev, fluid_real_t sample_rate); #endif /* _FLUID_REV_H */
24,236