content
stringlengths 4
1.04M
| lang
stringclasses 358
values | score
int64 0
5
| repo_name
stringlengths 5
114
| repo_path
stringlengths 4
229
| repo_licenses
listlengths 1
8
|
---|---|---|---|---|---|
;;; ui/zen/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(defalias '+zen/toggle #'writeroom-mode)
(defvar +zen--last-wconf nil)
;;;###autoload
(defun +zen/toggle-fullscreen ()
"Toggle `writeroom-mode' fullscreen and delete all other windows.
Invoke again to revert to the window configuration before it was activated."
(interactive)
(require 'writeroom-mode)
(let ((writeroom-global-effects +zen--old-writeroom-global-effects)
(writeroom-maximize-window t))
(if writeroom-mode
(progn
(set-frame-parameter
nil 'fullscreen
(let ((fullscreen-restore (frame-parameter nil 'fullscreen-restore)))
(if (memq fullscreen-restore '(maximized fullheight fullwidth))
fullscreen-restore
nil)))
(set-window-configuration +zen--last-wconf))
(setq +zen--last-wconf (current-window-configuration))
(modify-frame-parameters
nil `((fullscreen . fullboth)
(fullscreen-restore . ,(frame-parameter nil 'fullscreen)))))
(let ((writeroom-global-effects (remq 'writeroom-set-fullscreen writeroom-global-effects)))
(call-interactively #'+zen/toggle))))
| Emacs Lisp | 4 | leezu/doom-emacs | modules/ui/zen/autoload.el | [
"MIT"
] |
#!/usr/bin/perl
print "Status: 302 Moved Temporarily\r\n";
print "Location: redirect-cycle-1.pl\r\n";
print "Content-type: text/html\r\n";
print "\r\n";
print "<html>";
print "<body>";
print "<div>Page 2</div>";
print "</body>";
print "</html>";
| Perl | 4 | zealoussnow/chromium | third_party/blink/web_tests/http/tests/navigation/resources/redirect-cycle-2.pl | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
--TEST--
accessing object dimension
--FILE--
<?php
$object = new stdClass;
var_dump($object[1]);
?>
--EXPECTF--
Fatal error: Uncaught Error: Cannot use object of type stdClass as array in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
| PHP | 3 | thiagooak/php-src | Zend/tests/offset_object.phpt | [
"PHP-3.01"
] |
/// <reference path='fourslash.ts' />
// @module: esnext
// @Filename: foo.ts
/////// <reference no-default-lib="true"/>
/////// <reference path='./bar.d.ts' />
////import.me/*reference*/ta;
//@Filename: bar.d.ts
////interface /*definition*/ImportMeta {
////}
verify.goToType("reference", "definition");
| TypeScript | 3 | monciego/TypeScript | tests/cases/fourslash/goToTypeDefinitionImportMeta.ts | [
"Apache-2.0"
] |
(assert (str.< "abc" "aac"))
(check-sat)
| SMT | 1 | mauguignard/cbmc | regression/smt2_strings/lex_order_const_unsat/lex_order_const_unsat.smt2 | [
"BSD-4-Clause"
] |
--TEST--
DateTime::setTimestamp()
--FILE--
<?php
date_default_timezone_set('Europe/Oslo');
$d = new DateTime( '@1217184864' );
echo $d->format( "Y-m-d H:i e\n" );
$d = new DateTime();
$d->setTimestamp( 1217184864 );
echo $d->format( "Y-m-d H:i e\n" );
?>
--EXPECT--
2008-07-27 18:54 +00:00
2008-07-27 20:54 Europe/Oslo
| PHP | 4 | guomoumou123/php5.5.10 | ext/date/tests/date-set-timestamp.phpt | [
"PHP-3.01"
] |
---
title: "Creating an SDistribution"
output: rmarkdown::html_vignette
date: "`r Sys.Date()`"
vignette: >
%\VignetteIndexEntry{Creating an SDistribution}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
```{r include = FALSE}
library(distr6)
set.seed(42)
knitr::opts_chunk$set(collapse = TRUE, comment = "#>")
```
This tutorial assumes that you have a good knowledge of R6 and so we will not be going through the basics of inheritance and private/public methods/variables.
## SDistribution Class
All implemented probability distributions (excluding Kernels) in distr6 inherit from the `SDistribution` class. This means they share a common interface. The only differences between these distributions is that some will have methods missing as no analytic results are available. See the [uml diagram](https://raw.githubusercontent.com/wiki/alan-turing-institute/distr6/images/uml.png) for an overview of how this all fits in together. A core design principle in distr6 is that only analytical methods are defined in the SDistribution child classes, all numerical results are available through decorators. See the [decorators](https://alan-turing-institute.github.io/distr6/articles/webs/decorators.html) tutorial for more information on decorators and the [analytical and numerical](https://alan-turing-institute.github.io/distr6/articles/webs/analytic_and_numeric_methods.html) article for further discussions on analytical and numerical methods. The summary is that when creating your own SDistribution class, please do not put any numerical methods in the core interface, if a closed form expression cannot be found, omit the method entirely and it can be imputed with a decorator. If your desired method is not available in one of our decorators but you think it is useful, see the [creating a decorator](https://alan-turing-institute.github.io/distr6/articles/webs/create_decorator.html) extension guidelines.
## Creating an SDistribution
### SDistribution Variables
Every class inheriting from SDistribution must have the following public variables:
* name - Full (unique) name of probability distribution
* short_name - Short name (unique) id for distribution
* description - Short description, usually just the name
* package - The package in which the d/p/q/r functions are written
For the Normal distribution, the above all looks like
```{r eval=FALSE}
Normal <- R6::R6Class("Normal", inherit = SDistribution, lock_objects = F)
Normal$set("public","name","Normal")
Normal$set("public","short_name","Norm")
Normal$set("public","description","Normal Probability Distribution.")
Normal$set("public","package","stats")
```
Note:
1. It is very important that `lock_objects=F` is not left out as it ensures decorators work correctly.
2. We use the R6 convention of defining the class as succinctly as possible (class name and inherited classes) and then using the `set` method to add private/public variables/methods
### SDistribution Methods
For the full list of methods to (optimally) include see the 'Statistical Methods' section in the help pages of SDistribution: `?SDistribution`. This **does not** include pdf/cdf/quantile/rand, these are defined in the constructor and not in the class. Once again, if there is no closed form analytical expression possible, omit the method completely.
The following methods are included by default and can therefore by omitted from the class definition:
1. prec
2. correlation
3. stdev
4. median
5. iqr
Additionally the `pgf` method returns NaN if omitted but this can be overloaded by including the method in the class definition. Below is an example of adding four methods to the Normal distribution
```{r eval=FALSE}
Normal$set("public","mean",function(){
return(self$getParameterValue("mean"))
})
Normal$set("public","variance",function(){
return(self$getParameterValue("var"))
})
Normal$set("public","skewness",function(){
return(0)
})
Normal$set("public", "mgf", function(t){
return(exp((self$getParameterValue("mean") * t) + (self$getParameterValue("var") * t^2 * 0.5)))
})
```
Note:
1. Methods that require parameters use the `self` keyword and the `getParameterValue` method, we looked at this in the [custom distribution tutorial](https://alan-turing-institute.github.io/distr6/articles/webs/custom_distributions.html)
2. The arguments to the methods are not optional, they must have the names given in the `?SDistribution` help page, this ensures that the automated S3 dispatch methods run correctly
### The Constructor
The constructor for all SDistribution objects looks the same, below is the constructor for the Normal distribution, which we will talk through as an example.
```{r eval=FALSE}
initialize = function(mean = NULL, var = NULL, sd = NULL, prec = NULL,
decorators = NULL) {
super$initialize(
decorators = decorators,
support = Reals$new(),
symmetry = "sym",
type = Reals$new()
)
```
Note the following:
1. The arguments to the constructor include all possible parameterisations; all are NULL by default as defaults are set in `getParameterSet.Normal`.
2. Every constructor is a simple call to the super initialize method and we only pass through the objects symmetry, support, type, and decorators.
And that's it!
### getParameterSet
In a separate script called getParameterSet.R we have the generic and dispatch methods for every SDistribution. [param6](https://cran.r-project.org/package=param6) is used to handle parameter sets. Below is the `getParameterSet` method for the Normal distribution
```{r}
getParameterSet.Normal <- function(object, ...) {
pset(
prm("mean", "reals", 0, tags = "required"),
prm("var", "posreals", 1, tags = c("linked", "required")),
prm("sd", "posreals", tags = c("linked", "required")),
prm("prec", "posreals", tags = c("linked", "required")),
trafo = function(x, self) {
vars <- sds <- precs <- NULL
if (any(grepl("sd", names(x)))) {
sds <- list_element(x, "sd")
vars <- setNames(as.list(unlist(sds) ^ 2),
gsub("sd", "var", names(sds)))
} else if (any(grepl("prec", names(x)))) {
precs <- list_element(x, "prec")
vars <- setNames(as.list(1 / unlist(precs)),
gsub("prec", "var", names(precs)))
}
if (is.null(vars)) {
vars <- list_element(x, "var")
}
if (is.null(sds)) {
sds <- setNames(as.list(sqrt(unlist(vars))),
gsub("var", "sd", names(vars)))
}
if (is.null(precs)) {
precs <- setNames(as.list(1 / unlist(vars)),
gsub("var", "prec", names(vars)))
}
unique_nlist(c(vars, sds, precs, x))
}
)
}
```
Note:
1. This is a dispatch method so the method name is `getParameterSet.Normal`
2. Defaults are set within the `prm` objects
3. Parameters that are 'linked', i.e. where only one can be set are given the 'linked' tag. All parameters have the 'required' tag.
4. The transformation `trafo` function is used to calculate the other linked arguments. This is vectorised to handle `VectorDistributions`.
## Summary
That's everything that is required to create your own SDistribution class. In summary the different components include
1. The 5 public variables
2. Public methods: 'statistical methods' section in `?SDistribution`
3. The constructor
4. `getParameterSet` dispatch method, written in the `getParameterSet.R` script
## Extension Guidelines
* [Kernel](https://alan-turing-institute.github.io/distr6/articles/webs/create_kernel.html)
* [Wrapper](https://alan-turing-institute.github.io/distr6/articles/webs/create_wrapper.html)
* [Decorator](https://alan-turing-institute.github.io/distr6/articles/webs/create_decorator.html)
| RMarkdown | 5 | MichaelChirico/distr6 | vignettes/webs/create_sdistribution.rmd | [
"MIT"
] |
Rebol [
title: "Required value for needs url test"
]
export test-needs-url-value: 42
| Rebol | 1 | 0branch/r3 | src/tests/units/files/test-needs-url-value.reb | [
"Apache-2.0"
] |
--TEST--
Bug #76466 Loop variable confusion
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
--EXTENSIONS--
opcache
--FILE--
<?php
function foo() {
for ($i = 0; $i < 2; $i++) {
$field_array[] = [$i, 0];
}
var_dump($field_array);
}
foo();
?>
--EXPECT--
array(2) {
[0]=>
array(2) {
[0]=>
int(0)
[1]=>
int(0)
}
[1]=>
array(2) {
[0]=>
int(1)
[1]=>
int(0)
}
}
| PHP | 4 | NathanFreeman/php-src | ext/opcache/tests/bug76466.phpt | [
"PHP-3.01"
] |
# Intel framework support for SSL certificate subjects
# CrowdStrike 2014
# [email protected]
@load base/protocols/ssl
@load base/frameworks/intel
@load policy/frameworks/intel/seen/where-locations
event ssl_established(c: connection)
{
if ( c$ssl?$subject )
Intel::seen([$indicator=c$ssl$subject,
$indicator_type=Intel::CERT_SUBJECT,
$conn=c,
$where=SSL::IN_SERVER_CERT]);
if ( c$ssl?$client_subject )
Intel::seen([$indicator=c$ssl$client_subject,
$indicator_type=Intel::CERT_SUBJECT,
$conn=c,
$where=SSL::IN_CLIENT_CERT]);
}
| Bro | 4 | kingtuna/cs-bro | bro-scripts/intel-extensions/seen/ssl-certificates.bro | [
"BSD-2-Clause"
] |
--TEST--
Bug #70253 (segfault at _efree () in zend_alloc.c:1389)
--FILE--
<?php
unserialize('a:2:{i:0;O:9:"000000000":10000000');
?>
--EXPECTF--
Notice: unserialize(): Error at offset 33 of 33 bytes in %s on line %d
| PHP | 3 | thiagooak/php-src | Zend/tests/bug70253.phpt | [
"PHP-3.01"
] |
{- Copyright (c) 2011 Luis Cabellos,
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-}
{-# LANGUAGE ForeignFunctionInterface, ScopedTypeVariables, CPP #-}
module Control.Parallel.OpenCL.CommandQueue(
-- * Types
CLCommandQueue, CLCommandQueueProperty(..), CLMapFlag(..),
-- * Command Queue Functions
clCreateCommandQueue, clRetainCommandQueue, clReleaseCommandQueue,
clGetCommandQueueContext, clGetCommandQueueDevice,
clGetCommandQueueReferenceCount, clGetCommandQueueProperties,
clSetCommandQueueProperty,
-- * Memory Commands
clEnqueueReadBuffer, clEnqueueWriteBuffer, clEnqueueReadImage,
clEnqueueWriteImage, clEnqueueCopyImage, clEnqueueCopyImageToBuffer,
clEnqueueCopyBufferToImage, clEnqueueMapBuffer, clEnqueueMapImage,
clEnqueueUnmapMemObject,
-- * OpenGL Object Locking
clEnqueueAcquireGLObjects, clEnqueueReleaseGLObjects,
-- * Executing Kernels
clEnqueueNDRangeKernel, clEnqueueTask, clEnqueueNativeKernel,
clEnqueueMarker, clEnqueueWaitForEvents, clEnqueueBarrier,
-- * Flush and Finish
clFlush, clFinish
) where
-- -----------------------------------------------------------------------------
import Foreign
import Foreign.C.Types
import Control.Parallel.OpenCL.Types(
CLint, CLbool, CLuint, CLCommandQueueProperty_, CLCommandQueueInfo_,
CLMapFlags_, CLMapFlag(..), CLCommandQueue, CLDeviceID, CLContext,
CLCommandQueueProperty(..), CLEvent, CLMem, CLKernel,
whenSuccess, wrapCheckSuccess, wrapPError, wrapGetInfo, getCLValue,
bitmaskToCommandQueueProperties, bitmaskFromFlags )
#ifdef __APPLE__
#include <OpenCL/opencl.h>
#else
#include <CL/cl.h>
#endif
-- -----------------------------------------------------------------------------
type NativeKernelCallback = Ptr () -> IO ()
foreign import CALLCONV "wrapper" wrapNativeKernelCallback ::
NativeKernelCallback -> IO (FunPtr NativeKernelCallback)
foreign import CALLCONV "clCreateCommandQueue" raw_clCreateCommandQueue ::
CLContext -> CLDeviceID -> CLCommandQueueProperty_ -> Ptr CLint -> IO CLCommandQueue
foreign import CALLCONV "clRetainCommandQueue" raw_clRetainCommandQueue ::
CLCommandQueue -> IO CLint
foreign import CALLCONV "clReleaseCommandQueue" raw_clReleaseCommandQueue ::
CLCommandQueue -> IO CLint
foreign import CALLCONV "clGetCommandQueueInfo" raw_clGetCommandQueueInfo ::
CLCommandQueue -> CLCommandQueueInfo_ -> CSize -> Ptr () -> Ptr CSize -> IO CLint
foreign import CALLCONV "clSetCommandQueueProperty" raw_clSetCommandQueueProperty ::
CLCommandQueue -> CLCommandQueueProperty_ -> CLbool -> Ptr CLCommandQueueProperty_ -> IO CLint
foreign import CALLCONV "clEnqueueReadBuffer" raw_clEnqueueReadBuffer ::
CLCommandQueue -> CLMem -> CLbool -> CSize -> CSize -> Ptr () -> CLuint -> Ptr CLEvent -> Ptr CLEvent -> IO CLint
foreign import CALLCONV "clEnqueueWriteBuffer" raw_clEnqueueWriteBuffer ::
CLCommandQueue -> CLMem -> CLbool -> CSize -> CSize -> Ptr () -> CLuint -> Ptr CLEvent -> Ptr CLEvent -> IO CLint
foreign import CALLCONV "clEnqueueReadImage" raw_clEnqueueReadImage ::
CLCommandQueue -> CLMem -> CLbool -> Ptr CSize -> Ptr CSize -> CSize -> CSize -> Ptr () -> CLuint -> Ptr CLEvent -> Ptr CLEvent -> IO CLint
foreign import CALLCONV "clEnqueueWriteImage" raw_clEnqueueWriteImage ::
CLCommandQueue -> CLMem -> CLbool -> Ptr CSize -> Ptr CSize -> CSize -> CSize -> Ptr () -> CLuint -> Ptr CLEvent -> Ptr CLEvent -> IO CLint
foreign import CALLCONV "clEnqueueCopyImage" raw_clEnqueueCopyImage ::
CLCommandQueue -> CLMem -> CLMem -> Ptr CSize -> Ptr CSize -> Ptr CSize -> CLuint -> Ptr CLEvent -> Ptr CLEvent -> IO CLint
foreign import CALLCONV "clEnqueueCopyImageToBuffer" raw_clEnqueueCopyImageToBuffer ::
CLCommandQueue -> CLMem -> CLMem -> Ptr CSize -> Ptr CSize -> CSize -> CLuint -> Ptr CLEvent -> Ptr CLEvent -> IO CLint
foreign import CALLCONV "clEnqueueCopyBufferToImage" raw_clEnqueueCopyBufferToImage ::
CLCommandQueue -> CLMem -> CLMem -> CSize -> Ptr CSize -> Ptr CSize -> CLuint -> Ptr CLEvent -> Ptr CLEvent -> IO CLint
foreign import CALLCONV "clEnqueueMapBuffer" raw_clEnqueueMapBuffer ::
CLCommandQueue -> CLMem -> CLbool -> CLMapFlags_ -> CSize -> CSize -> CLuint -> Ptr CLEvent -> Ptr CLEvent -> Ptr CLint -> IO (Ptr ())
foreign import CALLCONV "clEnqueueMapImage" raw_clEnqueueMapImage ::
CLCommandQueue -> CLMem -> CLbool -> CLMapFlags_ -> Ptr CSize -> Ptr CSize -> Ptr CSize -> Ptr CSize -> CLuint -> Ptr CLEvent -> Ptr CLEvent -> Ptr CLint -> IO (Ptr ())
foreign import CALLCONV "clEnqueueUnmapMemObject" raw_clEnqueueUnmapMemObject ::
CLCommandQueue -> CLMem -> Ptr () -> CLuint -> Ptr CLEvent -> Ptr CLEvent -> IO CLint
foreign import CALLCONV "clEnqueueNDRangeKernel" raw_clEnqueueNDRangeKernel ::
CLCommandQueue -> CLKernel -> CLuint -> Ptr CSize -> Ptr CSize -> Ptr CSize -> CLuint -> Ptr CLEvent -> Ptr CLEvent -> IO CLint
foreign import CALLCONV "clEnqueueNativeKernel" raw_clEnqueueNativeKernel ::
CLCommandQueue -> FunPtr NativeKernelCallback -> Ptr () -> CSize -> CLuint -> Ptr CLMem -> Ptr (Ptr ()) -> CLuint -> Ptr CLEvent -> Ptr CLEvent -> IO CLint
foreign import CALLCONV "clEnqueueTask" raw_clEnqueueTask ::
CLCommandQueue -> CLKernel -> CLuint -> Ptr CLEvent -> Ptr CLEvent -> IO CLint
foreign import CALLCONV "clEnqueueMarker" raw_clEnqueueMarker ::
CLCommandQueue -> Ptr CLEvent -> IO CLint
foreign import CALLCONV "clEnqueueWaitForEvents" raw_clEnqueueWaitForEvents ::
CLCommandQueue -> CLuint -> Ptr CLEvent -> IO CLint
foreign import CALLCONV "clEnqueueBarrier" raw_clEnqueueBarrier ::
CLCommandQueue -> IO CLint
foreign import CALLCONV "clEnqueueAcquireGLObjects" raw_clEnqueueAcquireGLObjects ::
CLCommandQueue -> CLuint -> Ptr CLMem -> CLuint -> Ptr CLEvent -> Ptr CLEvent -> IO CLint
foreign import CALLCONV "clEnqueueReleaseGLObjects" raw_clEnqueueReleaseGLObjects ::
CLCommandQueue -> CLuint -> Ptr CLMem -> CLuint -> Ptr CLEvent -> Ptr CLEvent -> IO CLint
foreign import CALLCONV "clFlush" raw_clFlush ::
CLCommandQueue -> IO CLint
foreign import CALLCONV "clFinish" raw_clFinish ::
CLCommandQueue -> IO CLint
-- -----------------------------------------------------------------------------
withMaybeArray :: Storable a => [a] -> (Ptr a -> IO b) -> IO b
withMaybeArray [] = ($ nullPtr)
withMaybeArray xs = withArray xs
-- -----------------------------------------------------------------------------
{-| Create a command-queue on a specific device.
The OpenCL functions that are submitted to a command-queue are enqueued in the
order the calls are made but can be configured to execute in-order or
out-of-order. The properties argument in clCreateCommandQueue can be used to
specify the execution order.
If the 'CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE' property of a command-queue is
not set, the commands enqueued to a command-queue execute in order. For example,
if an application calls 'clEnqueueNDRangeKernel' to execute kernel A followed by
a 'clEnqueueNDRangeKernel' to execute kernel B, the application can assume that
kernel A finishes first and then kernel B is executed. If the memory objects
output by kernel A are inputs to kernel B then kernel B will see the correct
data in memory objects produced by execution of kernel A. If the
'CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE' property of a commandqueue is set, then
there is no guarantee that kernel A will finish before kernel B starts execution.
Applications can configure the commands enqueued to a command-queue to execute
out-of-order by setting the 'CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE' property of
the command-queue. This can be specified when the command-queue is created or
can be changed dynamically using 'clCreateCommandQueue'. In out-of-order
execution mode there is no guarantee that the enqueued commands will finish
execution in the order they were queued. As there is no guarantee that kernels
will be executed in order, i.e. based on when the 'clEnqueueNDRangeKernel' calls
are made within a command-queue, it is therefore possible that an earlier
'clEnqueueNDRangeKernel' call to execute kernel A identified by event A may
execute and/or finish later than a 'clEnqueueNDRangeKernel' call to execute
kernel B which was called by the application at a later point in time. To
guarantee a specific order of execution of kernels, a wait on a particular event
(in this case event A) can be used. The wait for event A can be specified in the
event_wait_list argument to 'clEnqueueNDRangeKernel' for kernel B.
In addition, a wait for events or a barrier command can be enqueued to the
command-queue. The wait for events command ensures that previously enqueued
commands identified by the list of events to wait for have finished before the
next batch of commands is executed. The barrier command ensures that all
previously enqueued commands in a command-queue have finished execution before
the next batch of commands is executed.
Similarly, commands to read, write, copy or map memory objects that are enqueued
after 'clEnqueueNDRangeKernel', 'clEnqueueTask' or 'clEnqueueNativeKernel'
commands are not guaranteed to wait for kernels scheduled for execution to have
completed (if the 'CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE' property is set). To
ensure correct ordering of commands, the event object returned by
'clEnqueueNDRangeKernel', 'clEnqueueTask' or 'clEnqueueNativeKernel' can be
used to enqueue a wait for event or a barrier command can be enqueued that must
complete before reads or writes to the memory object(s) occur.
-}
clCreateCommandQueue :: CLContext -> CLDeviceID -> [CLCommandQueueProperty]
-> IO CLCommandQueue
clCreateCommandQueue ctx did xs = wrapPError $ \perr -> do
raw_clCreateCommandQueue ctx did props perr
where
props = bitmaskFromFlags xs
{-| Increments the command_queue reference count. 'clCreateCommandQueue'
performs an implicit retain. This is very helpful for 3rd party libraries, which
typically get a command-queue passed to them by the application. However, it is
possible that the application may delete the command-queue without informing the
library. Allowing functions to attach to (i.e. retain) and release a
command-queue solves the problem of a command-queue being used by a library no
longer being valid. Returns 'True' if the function is executed successfully. It
returns 'False' if command_queue is not a valid command-queue.
-}
clRetainCommandQueue :: CLCommandQueue -> IO Bool
clRetainCommandQueue = wrapCheckSuccess . raw_clRetainCommandQueue
-- | Decrements the command_queue reference count.
-- After the command_queue reference count becomes zero and all commands queued
-- to command_queue have finished (e.g., kernel executions, memory object
-- updates, etc.), the command-queue is deleted.
-- Returns 'True' if the function is executed successfully. It returns 'False'
-- if command_queue is not a valid command-queue.
clReleaseCommandQueue :: CLCommandQueue -> IO Bool
clReleaseCommandQueue = wrapCheckSuccess . raw_clReleaseCommandQueue
#c
enum CLCommandQueueInfo {
cL_QUEUE_CONTEXT=CL_QUEUE_CONTEXT,
cL_QUEUE_DEVICE=CL_QUEUE_DEVICE,
cL_QUEUE_REFERENCE_COUNT=CL_QUEUE_REFERENCE_COUNT,
cL_QUEUE_PROPERTIES=CL_QUEUE_PROPERTIES,
};
#endc
{#enum CLCommandQueueInfo {upcaseFirstLetter} #}
-- | Return the context specified when the command-queue is created.
--
-- This function execute OpenCL clGetCommandQueueInfo with 'CL_QUEUE_CONTEXT'.
clGetCommandQueueContext :: CLCommandQueue -> IO CLContext
clGetCommandQueueContext cq =
wrapGetInfo (\(dat :: Ptr CLContext) ->
raw_clGetCommandQueueInfo cq infoid size (castPtr dat)) id
where
infoid = getCLValue CL_QUEUE_CONTEXT
size = fromIntegral $ sizeOf (nullPtr::CLContext)
-- | Return the device specified when the command-queue is created.
--
-- This function execute OpenCL clGetCommandQueueInfo with 'CL_QUEUE_DEVICE'.
clGetCommandQueueDevice :: CLCommandQueue -> IO CLDeviceID
clGetCommandQueueDevice cq =
wrapGetInfo (\(dat :: Ptr CLDeviceID) ->
raw_clGetCommandQueueInfo cq infoid size (castPtr dat)) id
where
infoid = getCLValue CL_QUEUE_DEVICE
size = fromIntegral $ sizeOf (nullPtr::CLDeviceID)
-- | Return the command-queue reference count.
-- The reference count returned should be considered immediately stale. It is
-- unsuitable for general use in applications. This feature is provided for
-- identifying memory leaks.
--
-- This function execute OpenCL clGetCommandQueueInfo with
-- 'CL_QUEUE_REFERENCE_COUNT'.
clGetCommandQueueReferenceCount :: CLCommandQueue -> IO CLuint
clGetCommandQueueReferenceCount cq =
wrapGetInfo (\(dat :: Ptr CLuint) ->
raw_clGetCommandQueueInfo cq infoid size (castPtr dat)) id
where
infoid = getCLValue CL_QUEUE_REFERENCE_COUNT
size = fromIntegral $ sizeOf (0::CLuint)
-- | Return the currently specified properties for the command-queue. These
-- properties are specified by the properties argument in 'clCreateCommandQueue'
-- , and can be changed by 'clSetCommandQueueProperty'.
--
-- This function execute OpenCL clGetCommandQueueInfo with
-- 'CL_QUEUE_PROPERTIES'.
clGetCommandQueueProperties :: CLCommandQueue -> IO [CLCommandQueueProperty]
clGetCommandQueueProperties cq =
wrapGetInfo (\(dat :: Ptr CLCommandQueueProperty_) ->
raw_clGetCommandQueueInfo cq infoid size (castPtr dat)) bitmaskToCommandQueueProperties
where
infoid = getCLValue CL_QUEUE_PROPERTIES
size = fromIntegral $ sizeOf (0::CLCommandQueueProperty_)
{-| Enable or disable the properties of a command-queue. Returns the
command-queue properties before they were changed by
'clSetCommandQueueProperty'. As specified for 'clCreateCommandQueue', the
'CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE' command-queue property determines
whether the commands in a command-queue are executed in-order or
out-of-order. Changing this command-queue property will cause the OpenCL
implementation to block until all previously queued commands in command_queue
have completed. This can be an expensive operation and therefore changes to the
'CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE' property should be only done when
absolutely necessary.
It is possible that a device(s) becomes unavailable after a context and
command-queues that use this device(s) have been created and commands have been
queued to command-queues. In this case the behavior of OpenCL API calls that use
this context (and command-queues) are considered to be
implementation-defined. The user callback function, if specified when the
context is created, can be used to record appropriate information when the
device becomes unavailable.
-}
clSetCommandQueueProperty :: CLCommandQueue -> [CLCommandQueueProperty] -> Bool
-> IO [CLCommandQueueProperty]
clSetCommandQueueProperty cq xs val = alloca
$ \(dat :: Ptr CLCommandQueueProperty_)
-> whenSuccess (f dat)
$ fmap bitmaskToCommandQueueProperties $ peek dat
where
f = raw_clSetCommandQueueProperty cq props (fromBool val)
props = bitmaskFromFlags xs
-- -----------------------------------------------------------------------------
clEnqueue :: (CLuint -> Ptr CLEvent -> Ptr CLEvent -> IO CLint) -> [CLEvent]
-> IO CLEvent
clEnqueue f [] = alloca $ \event -> whenSuccess (f 0 nullPtr event)
$ peek event
clEnqueue f events = allocaArray nevents $ \pevents -> do
pokeArray pevents events
alloca $ \event -> whenSuccess (f cnevents pevents event)
$ peek event
where
nevents = length events
cnevents = fromIntegral nevents
-- -----------------------------------------------------------------------------
{-| Enqueue commands to read from a buffer object to host memory. Calling
clEnqueueReadBuffer to read a region of the buffer object with the ptr argument
value set to host_ptr + offset, where host_ptr is a pointer to the memory region
specified when the buffer object being read is created with
'CL_MEM_USE_HOST_PTR', must meet the following requirements in order to avoid
undefined behavior:
* All commands that use this buffer object have finished execution before the
read command begins execution
* The buffer object is not mapped
* The buffer object is not used by any command-queue until the read command has
finished execution Errors
'clEnqueueReadBuffer' returns the event if the function is executed
successfully. It can throw the following 'CLError' exceptions:
* 'CL_INVALID_COMMAND_QUEUE' if command_queue is not a valid command-queue.
* 'CL_INVALID_CONTEXT' if the context associated with command_queue and buffer
are not the same or if the context associated with command_queue and events in
event_wait_list are not the same.
* 'CL_INVALID_MEM_OBJECT' if buffer is not a valid buffer object.
* 'CL_INVALID_VALUE' if the region being read specified by (offset, cb) is out
of bounds or if ptr is a NULL value.
* 'CL_INVALID_EVENT_WAIT_LIST' if event_wait_list is NULL and
num_events_in_wait_list greater than 0, or event_wait_list is not NULL and
num_events_in_wait_list is 0, or if event objects in event_wait_list are not
valid events.
* 'CL_MEM_OBJECT_ALLOCATION_FAILURE' if there is a failure to allocate memory
for data store associated with buffer.
* 'CL_OUT_OF_HOST_MEMORY' if there is a failure to allocate resources required
by the OpenCL implementation on the host.
-}
clEnqueueReadBuffer :: Integral a => CLCommandQueue -> CLMem -> Bool -> a -> a
-> Ptr () -> [CLEvent] -> IO CLEvent
clEnqueueReadBuffer cq mem check off size dat = clEnqueue (raw_clEnqueueReadBuffer cq mem (fromBool check) (fromIntegral off) (fromIntegral size) dat)
{-| Enqueue commands to write to a buffer object from host memory.Calling
clEnqueueWriteBuffer to update the latest bits in a region of the buffer object
with the ptr argument value set to host_ptr + offset, where host_ptr is a
pointer to the memory region specified when the buffer object being written is
created with 'CL_MEM_USE_HOST_PTR', must meet the following requirements in
order to avoid undefined behavior:
* The host memory region given by (host_ptr + offset, cb) contains the latest
bits when the enqueued write command begins execution.
* The buffer object is not mapped.
* The buffer object is not used by any command-queue until the write command
has finished execution.
'clEnqueueWriteBuffer' returns the Event if the function is executed
successfully. It can throw the following 'CLError' exceptions:
* 'CL_INVALID_COMMAND_QUEUE' if command_queue is not a valid command-queue.
* 'CL_INVALID_CONTEXT' if the context associated with command_queue and buffer
are not the same or if the context associated with command_queue and events in
event_wait_list are not the same.
* 'CL_INVALID_MEM_OBJECT' if buffer is not a valid buffer object.
* 'CL_INVALID_VALUE' if the region being written specified by (offset, cb) is
out of bounds or if ptr is a NULL value.
* 'CL_INVALID_EVENT_WAIT_LIST' if event_wait_list is NULL and
num_events_in_wait_list greater than 0, or event_wait_list is not NULL and
num_events_in_wait_list is 0, or if event objects in event_wait_list are not
valid events.
* 'CL_MEM_OBJECT_ALLOCATION_FAILURE' if there is a failure to allocate memory
for data store associated with buffer.
* 'CL_OUT_OF_HOST_MEMORY' if there is a failure to allocate resources required
by the OpenCL implementation on the host.
-}
clEnqueueWriteBuffer :: Integral a => CLCommandQueue -> CLMem -> Bool -> a -> a
-> Ptr () -> [CLEvent] -> IO CLEvent
clEnqueueWriteBuffer cq mem check off size dat = clEnqueue (raw_clEnqueueWriteBuffer cq mem (fromBool check) (fromIntegral off) (fromIntegral size) dat)
{-| Enqueues a command to read from a 2D or 3D image object to host memory.
Returns an event object that identifies this particular read command and can be
used to query or queue a wait for this particular command to complete. event can
be NULL in which case it will not be possible for the application to query the
status of this command or queue a wait for this command to complete.
Notes
If blocking is 'True' i.e. the read command is blocking, 'clEnqueueReadImage'
does not return until the buffer data has been read and copied into memory
pointed to by ptr.
If blocking_read is 'False' i.e. map operation is non-blocking,
'clEnqueueReadImage' queues a non-blocking read command and returns. The
contents of the buffer that ptr points to cannot be used until the read command
has completed. The event argument returns an event object which can be used to
query the execution status of the read command. When the read command has
completed, the contents of the buffer that ptr points to can be used by the
application.
Calling 'clEnqueueReadImage' to read a region of the image object with the ptr
argument value set to host_ptr + (origin.z * image slice pitch + origin.y *
image row pitch + origin.x * bytes per pixel), where host_ptr is a pointer to
the memory region specified when the image object being read is created with
'CL_MEM_USE_HOST_PTR', must meet the following requirements in order to avoid
undefined behavior:
* All commands that use this image object have finished execution before the
read command begins execution.
* The row_pitch and slice_pitch argument values in clEnqueueReadImage must be
set to the image row pitch and slice pitch.
* The image object is not mapped.
* The image object is not used by any command-queue until the read command has
finished execution.
'clEnqueueReadImage' returns the 'CLEvent' if the function is executed
successfully. It can throw the following 'CLError' exceptions:
* 'CL_INVALID_COMMAND_QUEUE' if command_queue is not a valid command-queue.
* 'CL_INVALID_CONTEXT' if the context associated with command_queue and image
are not the same or if the context associated with command_queue and events in
event_wait_list are not the same.
* 'CL_INVALID_MEM_OBJECT' if image is not a valid image object.
* 'CL_INVALID_VALUE' if the region being read specified by origin and region is
out of bounds or if ptr is a nullPtr value.
* 'CL_INVALID_VALUE' if image is a 2D image object and z is not equal to 0 or
depth is not equal to 1 or slice_pitch is not equal to 0.
* 'CL_INVALID_EVENT_WAIT_LIST' if event objects in event_wait_list are not
valid events.
* 'CL_MEM_OBJECT_ALLOCATION_FAILURE' if there is a failure to allocate memory
for data store associated with image.
* 'CL_OUT_OF_HOST_MEMORY' if there is a failure to allocate resources required
by the OpenCL implementation on the host.
-}
clEnqueueReadImage :: Integral a
=> CLCommandQueue -- ^ Refers to the command-queue in
-- which the read command will be
-- queued. command_queue and image must
-- be created with the same OpenCL
-- contex
-> CLMem -- ^ Refers to a valid 2D or 3D image object.
-> Bool -- ^ Indicates if the read operations are blocking
-- or non-blocking.
-> (a,a,a) -- ^ Defines the (x, y, z) offset in pixels in
-- the image from where to read. If image is a
-- 2D image object, the z value given must be
-- 0.
-> (a,a,a) -- ^ Defines the (width, height, depth) in
-- pixels of the 2D or 3D rectangle being
-- read. If image is a 2D image object, the
-- depth value given must be 1.
-> a -- ^ The length of each row in bytes. This value must
-- be greater than or equal to the element size in
-- bytes * width. If row_pitch is set to 0, the
-- appropriate row pitch is calculated based on the
-- size of each element in bytes multiplied by width.
-> a -- ^ Size in bytes of the 2D slice of the 3D region
-- of a 3D image being read. This must be 0 if image
-- is a 2D image. This value must be greater than or
-- equal to row_pitch * height. If slice_pitch is set
-- to 0, the appropriate slice pitch is calculated
-- based on the row_pitch * height.
-> Ptr () -- ^ The pointer to a buffer in host memory
-- where image data is to be read from.
-> [CLEvent] -- ^ Specify events that need to complete
-- before this particular command can be
-- executed. If event_wait_list is empty,
-- then this particular command does not wait
-- on any event to complete. The events
-- specified in the list act as
-- synchronization points. The context
-- associated with events in event_wait_list
-- and command_queue must be the same.
-> IO CLEvent
clEnqueueReadImage cq mem check (orix,oriy,oriz) (regx,regy,regz) rp sp dat xs =
withArray (fmap fromIntegral [orix,oriy,oriz]) $ \pori ->
withArray (fmap fromIntegral [regx,regy,regz]) $ \preg ->
clEnqueue (raw_clEnqueueReadImage cq mem (fromBool check) pori preg (fromIntegral rp) (fromIntegral sp) dat) xs
{-| Enqueues a command to write from a 2D or 3D image object to host memory.
Returns an event object that identifies this particular write command and can be
used to query or queue a wait for this particular command to complete. event can
be NULL in which case it will not be possible for the application to query the
status of this command or queue a wait for this command to complete.
Notes
If blocking_write is 'True' the OpenCL implementation copies the data referred
to by ptr and enqueues the write command in the command-queue. The memory
pointed to by ptr can be reused by the application after the
'clEnqueueWriteImage' call returns.
If blocking_write is 'False' the OpenCL implementation will use ptr to perform a
nonblocking write. As the write is non-blocking the implementation can return
immediately. The memory pointed to by ptr cannot be reused by the application
after the call returns. The event argument returns an event object which can be
used to query the execution status of the write command. When the write command
has completed, the memory pointed to by ptr can then be reused by the
application.
Calling 'clEnqueueWriteImage' to update the latest bits in a region of the image
object with the ptr argument value set to host_ptr + (origin.z * image slice
pitch + origin.y * image row pitch + origin.x * bytes per pixel), where host_ptr
is a pointer to the memory region specified when the image object being written
is created with 'CL_MEM_USE_HOST_PTR', must meet the following requirements in
order to avoid undefined behavior:
* The host memory region being written contains the latest bits when the
enqueued write command begins execution.
* The input_row_pitch and input_slice_pitch argument values in
clEnqueueWriteImage must be set to the image row pitch and slice pitch.
* The image object is not mapped.
* The image object is not used by any command-queue until the write command has
finished execution.
'clEnqueueWriteImage' returns the 'CLEvent' if the function is executed
successfully. It can throw the following 'CLError' exceptions:
* 'CL_INVALID_COMMAND_QUEUE' if command_queue is not a valid command-queue.
* 'CL_INVALID_CONTEXT' if the context associated with command_queue and image
are not the same or if the context associated with command_queue and events in
event_wait_list are not the same.
* 'CL_INVALID_MEM_OBJECT' if image is not a valid image object.
* 'CL_INVALID_VALUE' if the region being write or written specified by origin
and region is out of bounds or if ptr is a NULL value.
* 'CL_INVALID_VALUE' if image is a 2D image object and z is not equal to 0 or
depth is not equal to 1 or slice_pitch is not equal to 0.
* 'CL_INVALID_EVENT_WAIT_LIST' if event objects in event_wait_list are not
valid events.
* 'CL_MEM_OBJECT_ALLOCATION_FAILURE' if there is a failure to allocate memory
for data store associated with image.
* 'CL_OUT_OF_HOST_MEMORY' if there is a failure to allocate resources required
by the OpenCL implementation on the host.
-}
clEnqueueWriteImage :: Integral a
=> CLCommandQueue -- ^ Refers to the command-queue in
-- which the write command will be
-- queued. command_queue and image must
-- be created with the same OpenCL
-- contex
-> CLMem -- ^ Refers to a valid 2D or 3D image object.
-> Bool -- ^ Indicates if the write operation is blocking
-- or non-blocking.
-> (a,a,a) -- ^ Defines the (x, y, z) offset in pixels in
-- the image from where to write or write. If
-- image is a 2D image object, the z value
-- given must be 0.
-> (a,a,a) -- ^ Defines the (width, height, depth) in
-- pixels of the 2D or 3D rectangle being
-- write or written. If image is a 2D image
-- object, the depth value given must be 1.
-> a -- ^ The length of each row in bytes. This value
-- must be greater than or equal to the element size
-- in bytes * width. If input_row_pitch is set to 0,
-- the appropriate row pitch is calculated based on
-- the size of each element in bytes multiplied by
-- width.
-> a -- ^ Size in bytes of the 2D slice of the 3D region
-- of a 3D image being written. This must be 0 if
-- image is a 2D image. This value must be greater
-- than or equal to row_pitch * height. If
-- input_slice_pitch is set to 0, the appropriate
-- slice pitch is calculated based on the row_pitch
-- * height.
-> Ptr () -- ^ The pointer to a buffer in host memory
-- where image data is to be written to.
-> [CLEvent] -- ^ Specify events that need to complete
-- before this particular command can be
-- executed. If event_wait_list is empty,
-- then this particular command does not
-- wait on any event to complete. The events
-- specified in event_wait_list act as
-- synchronization points. The context
-- associated with events in event_wait_list
-- and command_queue must be the same.
-> IO CLEvent
clEnqueueWriteImage cq mem check (orix,oriy,oriz) (regx,regy,regz) rp sp dat xs =
withArray (fmap fromIntegral [orix,oriy,oriz]) $ \pori ->
withArray (fmap fromIntegral [regx,regy,regz]) $ \preg ->
clEnqueue (raw_clEnqueueWriteImage cq mem (fromBool check) pori preg (fromIntegral rp) (fromIntegral sp) dat) xs
{-| Enqueues a command to copy image objects.
Notes
It is currently a requirement that the src_image and dst_image image memory
objects for 'clEnqueueCopyImage' must have the exact same image format (i.e. the
'CLImageFormat' descriptor specified when src_image and dst_image are created
must match).
src_image and dst_image can be 2D or 3D image objects allowing us to perform the
following actions:
* Copy a 2D image object to a 2D image object.
* Copy a 2D image object to a 2D slice of a 3D image object.
* Copy a 2D slice of a 3D image object to a 2D image object.
* Copy a 3D image object to a 3D image object.
'clEnqueueCopyImage' returns the 'CLEvent' if the function is executed
successfully. It can throw the following 'CLError' exceptions:
* 'CL_INVALID_COMMAND_QUEUE if command_queue is not a valid command-queue.
* 'CL_INVALID_CONTEXT if the context associated with command_queue, src_image
and dst_image are not the same or if the context associated with command_queue
and events in event_wait_list are not the same.
* 'CL_INVALID_MEM_OBJECT if src_image and dst_image are not valid image
objects.
* 'CL_IMAGE_FORMAT_MISMATCH if src_image and dst_image do not use the same
image format.
* 'CL_INVALID_VALUE if the 2D or 3D rectangular region specified by src_origin
and src_origin + region refers to a region outside src_image, or if the 2D or 3D
rectangular region specified by dst_origin and dst_origin + region refers to a
region outside dst_image.
* 'CL_INVALID_VALUE if src_image is a 2D image object and src_origin.z is not
equal to 0 or region.depth is not equal to 1.
* 'CL_INVALID_VALUE if dst_image is a 2D image object and dst_origen.z is not
equal to 0 or region.depth is not equal to 1.
* 'CL_INVALID_EVENT_WAIT_LIST if event objects in event_wait_list are not valid
events.
* 'CL_MEM_OBJECT_ALLOCATION_FAILURE if there is a failure to allocate memory
for data store associated with src_image or dst_image.
* 'CL_OUT_OF_HOST_MEMORY if there is a failure to allocate resources required
by the OpenCL implementation on the host.
* 'CL_MEM_COPY_OVERLAP if src_image and dst_image are the same image object and
the source and destination regions overlap.
-}
clEnqueueCopyImage :: Integral a
=> CLCommandQueue -- ^ Refers to the command-queue in
-- which the copy command will be
-- queued. The OpenCL context associated
-- with command_queue, src_image and
-- dst_image must be the same.
-> CLMem -- ^ src
-> CLMem -- ^ dst
-> (a,a,a) -- ^ Defines the starting (x, y, z) location in
-- pixels in src_image from where to start the
-- data copy. If src_image is a 2D image
-- object, the z value given must be 0.
-> (a,a,a) -- ^ Defines the starting (x, y, z) location in
-- pixels in dst_image from where to start the
-- data copy. If dst_image is a 2D image
-- object, the z value given must be 0.
-> (a,a,a) -- ^ Defines the (width, height, depth) in
-- pixels of the 2D or 3D rectangle to copy. If
-- src_image or dst_image is a 2D image object,
-- the depth value given must be 1.
-> [CLEvent] -- ^ Specify events that need to complete
-- before this particular command can be
-- executed. If event_wait_list is empty, then
-- this particular command does not wait on
-- any event to complete.
-> IO CLEvent
clEnqueueCopyImage cq src dst (src_orix,src_oriy,src_oriz) (dst_orix,dst_oriy,dst_oriz) (regx,regy,regz) xs =
withArray (fmap fromIntegral [src_orix,src_oriy,src_oriz]) $ \psrc_ori ->
withArray (fmap fromIntegral [dst_orix,dst_oriy,dst_oriz]) $ \pdst_ori ->
withArray (fmap fromIntegral [regx,regy,regz]) $ \preg ->
clEnqueue (raw_clEnqueueCopyImage cq src dst psrc_ori pdst_ori preg) xs
{-| Enqueues a command to copy an image object to a buffer object.
Returns an event object that identifies this particular copy command and can be
used to query or queue a wait for this particular command to complete. event can
be NULL in which case it will not be possible for the application to query the
status of this command or queue a wait for this command to
complete. 'clEnqueueBarrier' can be used instead.
'clEnqueueCopyImageToBuffer' returns the 'CLEvent' if the function is executed
successfully. It can throw the following 'CLError' exceptions:
* CL_INVALID_COMMAND_QUEUE if command_queue is not a valid command-queue.
* CL_INVALID_CONTEXT if the context associated with command_queue, src_image
and dst_buffer are not the same or if the context associated with command_queue
and events in event_wait_list are not the same.
* CL_INVALID_MEM_OBJECT if src_image is not a valid image object and dst_buffer
is not a valid buffer object.
* CL_INVALID_VALUE if the 2D or 3D rectangular region specified by src_origin
and src_origin + region refers to a region outside src_image, or if the region
specified by dst_offset and dst_offset + dst_cb refers to a region outside
dst_buffer.
* CL_INVALID_VALUE if src_image is a 2D image object and src_origin.z is not
equal to 0 or region.depth is not equal to 1.
* CL_INVALID_EVENT_WAIT_LIST if event objects in event_wait_list are not valid
events.
* CL_MEM_OBJECT_ALLOCATION_FAILURE if there is a failure to allocate memory for
data store associated with src_image or dst_buffer.
* CL_OUT_OF_HOST_MEMORY if there is a failure to allocate resources required by
the OpenCL implementation on the host.
-}
clEnqueueCopyImageToBuffer :: Integral a
=> CLCommandQueue -- ^ The OpenCL context
-- associated with
-- command_queue, src_image, and
-- dst_buffer must be the same.
-> CLMem -- ^ src. A valid image object.
-> CLMem -- ^ dst. A valid buffer object.
-> (a,a,a) -- ^ Defines the (x, y, z) offset in
-- pixels in the image from where to
-- copy. If src_image is a 2D image
-- object, the z value given must be 0.
-> (a,a,a) -- ^ Defines the (width, height, depth)
-- in pixels of the 2D or 3D rectangle
-- to copy. If src_image is a 2D image
-- object, the depth value given must
-- be 1.
-> a -- ^ The offset where to begin copying data
-- into dst_buffer. The size in bytes of the
-- region to be copied referred to as dst_cb
-- is computed as width * height * depth *
-- bytes/image element if src_image is a 3D
-- image object and is computed as width *
-- height * bytes/image element if src_image
-- is a 2D image object.
-> [CLEvent] -- ^ Specify events that need to
-- complete before this particular
-- command can be executed. If
-- event_wait_list is empty, then
-- this particular command does not
-- wait on any event to complete. The
-- events specified in
-- event_wait_list act as
-- synchronization points. The
-- context associated with events in
-- event_wait_list and command_queue
-- must be the same.
-> IO CLEvent
clEnqueueCopyImageToBuffer cq src dst (src_orix,src_oriy,src_oriz) (regx,regy,regz) offset xs =
withArray (fmap fromIntegral [src_orix,src_oriy,src_oriz]) $ \psrc_ori ->
withArray (fmap fromIntegral [regx,regy,regz]) $ \preg ->
clEnqueue (raw_clEnqueueCopyImageToBuffer cq src dst psrc_ori preg (fromIntegral offset)) xs
{-| Enqueues a command to copy a buffer object to an image object.
The size in bytes of the region to be copied from src_buffer referred to as
src_cb is computed as width * height * depth * bytes/image element if dst_image
is a 3D image object and is computed as width * height * bytes/image element if
dst_image is a 2D image object.
Returns an event object that identifies this particular copy command and can be
used to query or queue a wait for this particular command to complete. event can
be NULL in which case it will not be possible for the application to query the
status of this command or queue a wait for this command to
complete. 'clEnqueueBarrier' can be used instead.
'clEnqueueCopyBufferToImage' returns the 'CLEvent' if the function is executed
successfully. It can throw the following 'CLError' exceptions:
* 'CL_INVALID_COMMAND_QUEUE' if command_queue is not a valid command-queue.
* 'CL_INVALID_CONTEXT' if the context associated with command_queue, src_buffer
and dst_image are not the same or if the context associated with command_queue
and events in event_wait_list are not the same.
* 'CL_INVALID_MEM_OBJECT' if src_buffer is not a valid buffer object and
dst_image is not a valid image object.
* 'CL_INVALID_VALUE' if the 2D or 3D rectangular region specified by dst_origin
and dst_origin + region refers to a region outside dst_origin, or if the region
specified by src_offset and src_offset + src_cb refers to a region outside
src_buffer.
* 'CL_INVALID_VALUE' if dst_image is a 2D image object and dst_origin.z is not
equal to 0 or region.depth is not equal to 1.
* 'CL_INVALID_EVENT_WAIT_LIST' if event objects in event_wait_list are not
valid events.
* 'CL_MEM_OBJECT_ALLOCATION_FAILURE' if there is a failure to allocate memory
for data store associated with src_buffer or dst_image.
* 'CL_OUT_OF_HOST_MEMORY' if there is a failure to allocate resources required
by the OpenCL implementation on the host.
-}
clEnqueueCopyBufferToImage :: Integral a
=> CLCommandQueue -- ^ The OpenCL context
-- associated with
-- command_queue, src_image, and
-- dst_buffer must be the same.
-> CLMem -- ^ src. A valid buffer object.
-> CLMem -- ^ dst. A valid image object.
-> a -- ^ The offset where to begin copying data
-- from src_buffer.
-> (a,a,a) -- ^ The (x, y, z) offset in pixels
-- where to begin copying data to
-- dst_image. If dst_image is a 2D
-- image object, the z value given by
-- must be 0.
-> (a,a,a) -- ^ Defines the (width, height, depth)
-- in pixels of the 2D or 3D rectangle
-- to copy. If dst_image is a 2D image
-- object, the depth value given by
-- must be 1.
-> [CLEvent] -- ^ Specify events that need to
-- complete before this particular
-- command can be executed. If
-- event_wait_list is empty, then
-- this particular command does not
-- wait on any event to complete. The
-- events specified in
-- event_wait_list act as
-- synchronization points. The
-- context associated with events in
-- event_wait_list and command_queue
-- must be the same.
-> IO CLEvent
clEnqueueCopyBufferToImage cq src dst offset (dst_orix,dst_oriy,dst_oriz) (regx,regy,regz) xs =
withArray (fmap fromIntegral [dst_orix,dst_oriy,dst_oriz]) $ \pdst_ori ->
withArray (fmap fromIntegral [regx,regy,regz]) $ \preg ->
clEnqueue (raw_clEnqueueCopyBufferToImage cq src dst (fromIntegral offset) pdst_ori preg) xs
{-| Enqueues a command to map a region of the buffer object given by buffer into
the host address space and returns a pointer to this mapped region.
If blocking_map is 'True', 'clEnqueueMapBuffer' does not return until the
specified region in buffer can be mapped.
If blocking_map is 'False' i.e. map operation is non-blocking, the pointer to
the mapped region returned by 'clEnqueueMapBuffer' cannot be used until the map
command has completed. The event argument returns an event object which can be
used to query the execution status of the map command. When the map command is
completed, the application can access the contents of the mapped region using
the pointer returned by 'clEnqueueMapBuffer'.
Returns an event object that identifies this particular copy command and can be
used toquery or queue a wait for this particular command to complete. event can
be NULL in which case it will not be possible for the application to query the
status of this command or queue a wait for this command to complete.
The contents of the regions of a memory object mapped for writing
(i.e. 'CL_MAP_WRITE' is set in map_flags argument to 'clEnqueueMapBuffer' or
'clEnqueueMapImage') are considered to be undefined until this region is
unmapped. Reads and writes by a kernel executing on a device to a memory
region(s) mapped for writing are undefined.
Multiple command-queues can map a region or overlapping regions of a memory
object for reading (i.e. map_flags = 'CL_MAP_READ'). The contents of the regions
of a memory object mapped for reading can also be read by kernels executing on a
device(s). The behavior of writes by a kernel executing on a device to a mapped
region of a memory object is undefined. Mapping (and unmapping) overlapped
regions of a buffer or image memory object for writing is undefined.
The behavior of OpenCL function calls that enqueue commands that write or copy
to regions of a memory object that are mapped is undefined.
'clEnqueueMapBuffer' will return a pointer to the mapped region if the function
is executed successfully. A nullPtr pointer is returned otherwise with one of
the following exception:
* 'CL_INVALID_COMMAND_QUEUE' if command_queue is not a valid command-queue.
* 'CL_INVALID_CONTEXT' if the context associated with command_queue, src_image
and dst_buffer are not the same or if the context associated with command_queue
and events in event_wait_list are not the same.
* 'CL_INVALID_MEM_OBJECT' if buffer is not a valid buffer object.
* 'CL_INVALID_VALUE' if region being mapped given by (offset, cb) is out of
bounds or if values specified in map_flags are not valid
* 'CL_INVALID_EVENT_WAIT_LIST' if event objects in event_wait_list are not
valid events.
* 'CL_MAP_FAILURE' if there is a failure to map the requested region into the
host address space. This error cannot occur for buffer objects created with
'CL_MEM_USE_HOST_PTR' or 'CL_MEM_ALLOC_HOST_PTR'.
* 'CL_MEM_OBJECT_ALLOCATION_FAILURE' if there is a failure to allocate memory
for data store associated with buffer.
* 'CL_OUT_OF_HOST_MEMORY' if there is a failure to allocate resources required
by the OpenCL implementation on the host.
The pointer returned maps a region starting at offset and is atleast cb bytes in
size. The result of a memory access outside this region is undefined.
-}
clEnqueueMapBuffer :: Integral a => CLCommandQueue
-> CLMem -- ^ A valid buffer object. The OpenCL context
-- associated with command_queue and buffer must
-- be the same.
-> Bool -- ^ Indicates if the map operation is blocking or
-- non-blocking.
-> [CLMapFlag] -- ^ Is a list and can be set to
-- 'CL_MAP_READ' to indicate that the
-- region specified by (offset, cb) in the
-- buffer object is being mapped for
-- reading, and/or 'CL_MAP_WRITE' to
-- indicate that the region specified by
-- (offset, cb) in the buffer object is
-- being mapped for writing.
-> a -- ^ The offset in bytes of the region in the buffer
-- object that is being mapped.
-> a -- ^ The size in bytes of the region in the buffer
-- object that is being mapped.
-> [CLEvent] -- ^ Specify events that need to complete
-- before this particular command can be
-- executed. If event_wait_list is empty,
-- then this particular command does not wait
-- on any event to complete. The events
-- specified in event_wait_list act as
-- synchronization points. The context
-- associated with events in event_wait_list
-- and command_queue must be the same.
-> IO (CLEvent, Ptr ())
clEnqueueMapBuffer cq mem check xs offset cb [] =
alloca $ \pevent -> do
val <- wrapPError $ \perr -> raw_clEnqueueMapBuffer cq mem (fromBool check) flags (fromIntegral offset) (fromIntegral cb) 0 nullPtr pevent perr
event <- peek pevent
return (event, val)
where
flags = bitmaskFromFlags xs
clEnqueueMapBuffer cq mem check xs offset cb events =
allocaArray nevents $ \pevents -> do
pokeArray pevents events
alloca $ \pevent -> do
val <- wrapPError $ \perr -> raw_clEnqueueMapBuffer cq mem (fromBool check) flags (fromIntegral offset) (fromIntegral cb) cnevents pevents pevent perr
event <- peek pevent
return (event, val)
where
flags = bitmaskFromFlags xs
nevents = length events
cnevents = fromIntegral nevents
{-| Enqueues a command to map a region of an image object into the host address
space and returns a pointer to this mapped region.
If blocking_map is 'False' i.e. map operation is non-blocking, the pointer to
the mapped region returned by 'clEnqueueMapImage' cannot be used until the map
command has completed. The event argument returns an event object which can be
used to query the execution status of the map command. When the map command is
completed, the application can access the contents of the mapped region using
the pointer returned by 'clEnqueueMapImage'.
Returns an event object that identifies this particular copy command and can be
used to query or queue a wait for this particular command to complete. event can
be NULL in which case it will not be possible for the application to query the
status of this command or queue a wait for this command to complete.
If the buffer or image object is created with 'CL_MEM_USE_HOST_PTR' set in
mem_flags, the following will be true:
* The host_ptr specified in 'clCreateBuffer', 'clCreateImage2D', or
'clCreateImage3D' is guaranteed to contain the latest bits in the region being
mapped when the 'clEnqueueMapBuffer' or 'clEnqueueMapImage' command has
completed.
* The pointer value returned by 'clEnqueueMapBuffer' or 'clEnqueueMapImage'
will be derived from the host_ptr specified when the buffer or image object is
created.
The contents of the regions of a memory object mapped for writing
(i.e. 'CL_MAP_WRITE' is set in map_flags argument to 'clEnqueueMapBuffer' or
'clEnqueueMapImage') are considered to be undefined until this region is
unmapped. Reads and writes by a kernel executing on a device to a memory
region(s) mapped for writing are undefined.
Multiple command-queues can map a region or overlapping regions of a memory
object for reading (i.e. map_flags = 'CL_MAP_READ'). The contents of the regions
of a memory object mapped for reading can also be read by kernels executing on a
device(s). The behavior of writes by a kernel executing on a device to a mapped
region of a memory object is undefined. Mapping (and unmapping) overlapped
regions of a buffer or image memory object for writing is undefined.
The behavior of OpenCL function calls that enqueue commands that write or copy
to regions of a memory object that are mapped is undefined.
'clEnqueueMapImage' will return a pointer to the mapped region if the
function is executed successfully also the scan-line (row) pitch in bytes for
the mapped region and the size in bytes of each 2D slice for the mapped
region. For a 2D image, zero is returned as slice pitch. A nullPtr pointer is
returned otherwise with one of the following exception:
* 'CL_INVALID_COMMAND_QUEUE' if command_queue is not a valid command-queue.
* 'CL_INVALID_CONTEXT' if the context associated with command_queue and image
are not the same or if the context associated with command_queue and events in
event_wait_list are not the same.
* 'CL_INVALID_MEM_OBJECT' if image is not a valid image object.
* 'CL_INVALID_VALUE' if region being mapped given by (origin, origin+region) is
out of bounds or if values specified in map_flags are not valid.
* 'CL_INVALID_VALUE' if image is a 2D image object and z is not equal to 0 or
depth is not equal to 1.
* 'CL_INVALID_EVENT_WAIT_LIST' if event objects in event_wait_list are not
valid events.
* 'CL_MAP_FAILURE' if there is a failure to map the requested region into the
host address space. This error cannot occur for image objects created with
'CL_MEM_USE_HOST_PTR' or 'CL_MEM_ALLOC_HOST_PTR'.
* 'CL_MEM_OBJECT_ALLOCATION_FAILURE' if there is a failure to allocate memory
for data store associated with image.
* 'CL_OUT_OF_HOST_MEMORY' if there is a failure to allocate resources required
by the OpenCL implementation on the host.
The pointer returned maps a 2D or 3D region starting at origin and is atleast
(image_row_pitch * y + x) pixels in size for a 2D image, and is atleast
(image_slice_pitch * z] + image_row_pitch * y + x) pixels in size for a 3D
image. The result of a memory access outside this region is undefined.
-}
clEnqueueMapImage :: Integral a => CLCommandQueue
-> CLMem -- ^ A valid image object. The OpenCL context
-- associated with command_queue and image must be
-- the same.
-> Bool -- ^ Indicates if the map operation is blocking or
-- non-blocking. If blocking_map is 'True',
-- 'clEnqueueMapImage' does not return until the
-- specified region in image can be mapped.
-> [CLMapFlag] -- ^ Is a bit-field and can be set to
-- 'CL_MAP_READ' to indicate that the region
-- specified by (origin, region) in the
-- image object is being mapped for reading,
-- and/or 'CL_MAP_WRITE' to indicate that the
-- region specified by (origin, region) in
-- the image object is being mapped for
-- writing.
-> (a,a,a) -- ^ Define the (x, y, z) offset in pixels of
-- the 2D or 3D rectangle region that is to be
-- mapped. If image is a 2D image object, the z
-- value given must be 0.
-> (a,a,a) -- ^ Define the (width, height, depth) in pixels
-- of the 2D or 3D rectangle region that is to
-- be mapped. If image is a 2D image object, the
-- depth value given must be 1.
-> [CLEvent] -- ^ Specify events that need to complete
-- before 'clEnqueueMapImage' can be
-- executed. If event_wait_list is empty, then
-- 'clEnqueueMapImage' does not wait on any
-- event to complete. The events specified in
-- event_wait_list act as synchronization
-- points. The context associated with events
-- in event_wait_list and command_queue must
-- be the same.
-> IO (CLEvent, (Ptr (), CSize, CSize))
clEnqueueMapImage cq mem check xs (orix,oriy,oriz) (regx,regy,regz) [] =
alloca $ \ppitch ->
alloca $ \pslice ->
withArray (fmap fromIntegral [orix,oriy,oriz]) $ \pori ->
withArray (fmap fromIntegral [regx,regy,regz]) $ \preg ->
alloca $ \pevent -> do
val <- wrapPError $ \perr -> raw_clEnqueueMapImage cq mem (fromBool check) flags pori preg ppitch pslice 0 nullPtr pevent perr
event <- peek pevent
pitch <- peek ppitch
slice <- peek pslice
return (event, (val, pitch, slice))
where
flags = bitmaskFromFlags xs
clEnqueueMapImage cq mem check xs (orix,oriy,oriz) (regx,regy,regz) events =
alloca $ \ppitch ->
alloca $ \pslice ->
withArray (fmap fromIntegral [orix,oriy,oriz]) $ \pori ->
withArray (fmap fromIntegral [regx,regy,regz]) $ \preg ->
allocaArray nevents $ \pevents -> do
pokeArray pevents events
alloca $ \pevent -> do
val <- wrapPError $ \perr -> raw_clEnqueueMapImage cq mem (fromBool check) flags pori preg ppitch pslice cnevents pevents pevent perr
event <- peek pevent
pitch <- peek ppitch
slice <- peek pslice
return (event, (val, pitch, slice))
where
flags = bitmaskFromFlags xs
nevents = length events
cnevents = fromIntegral nevents
{-| Enqueues a command to unmap a previously mapped region of a memory object.
Returns an event object that identifies this particular copy command and can be
used to query or queue a wait for this particular command to complete. event can
be NULL in which case it will not be possible for the application to query the
status of this command or queue a wait for this command to
complete. 'clEnqueueBarrier' can be used instead.
Reads or writes from the host using the pointer returned by 'clEnqueueMapBuffer'
or 'clEnqueueMapImage' are considered to be complete.
'clEnqueueMapBuffer' and 'clEnqueueMapImage' increments the mapped count of the
memory object. The initial mapped count value of a memory object is
zero. Multiple calls to 'clEnqueueMapBuffer' or 'clEnqueueMapImage' on the same
memory object will increment this mapped count by appropriate number of
calls. 'clEnqueueUnmapMemObject' decrements the mapped count of the memory
object.
'clEnqueueMapBuffer' and 'clEnqueueMapImage' act as synchronization points for a
region of the memory object being mapped.
'clEnqueueUnmapMemObject' returns the 'CLEvent' if the function is executed
successfully. It can throw the following 'CLError' exceptions:
* CL_INVALID_COMMAND_QUEUE if command_queue is not a valid command-queue.
* CL_INVALID_MEM_OBJECT if memobj is not a valid memory object.
* CL_INVALID_VALUE if mapped_ptr is not a valid pointer returned by
'clEnqueueMapBuffer' or 'clEnqueueMapImage' for memobj.
* CL_INVALID_EVENT_WAIT_LIST if event objects in event_wait_list are not valid
events.
* CL_OUT_OF_HOST_MEMORY if there is a failure to allocate resources required by
the OpenCL implementation on the host.
* CL_INVALID_CONTEXT if the context associated with command_queue and memobj
are not the same or if the context associated with command_queue and events in
event_wait_list are not the same.
-}
clEnqueueUnmapMemObject :: CLCommandQueue
-> CLMem -- ^ A valid memory object. The OpenCL
-- context associated with command_queue and
-- memobj must be the same.
-> Ptr () -- ^ The host address returned by a
-- previous call to 'clEnqueueMapBuffer' or
-- 'clEnqueueMapImage' for memobj.
-> [CLEvent] -- ^ Specify events that need to
-- complete before
-- 'clEnqueueUnmapMemObject' can be
-- executed. If event_wait_list is
-- empty, then 'clEnqueueUnmapMemObject'
-- does not wait on any event to
-- complete. The events specified in
-- event_wait_list act as
-- synchronization points. The context
-- associated with events in
-- event_wait_list and command_queue
-- must be the same.
-> IO CLEvent
clEnqueueUnmapMemObject cq mem pp = clEnqueue (raw_clEnqueueUnmapMemObject cq mem pp)
-- -----------------------------------------------------------------------------
{-| Enqueues a command to execute a kernel on a device. Each work-item is
uniquely identified by a global identifier. The global ID, which can be read
inside the kernel, is computed using the value given by global_work_size and
global_work_offset. In OpenCL 1.0, the starting global ID is always (0, 0,
... 0). In addition, a work-item is also identified within a work-group by a
unique local ID. The local ID, which can also be read by the kernel, is computed
using the value given by local_work_size. The starting local ID is always (0, 0,
... 0).
Returns the event if the kernel execution was successfully queued. It can throw
the following 'CLError' exceptions:
* 'CL_INVALID_PROGRAM_EXECUTABLE' if there is no successfully built program
executable available for device associated with command_queue.
* 'CL_INVALID_COMMAND_QUEUE' if command_queue is not a valid command-queue.
* 'CL_INVALID_KERNEL' if kernel is not a valid kernel object.
* 'CL_INVALID_CONTEXT' if context associated with command_queue and kernel is
not the same or if the context associated with command_queue and events in
event_wait_list are not the same.
* 'CL_INVALID_KERNEL_ARGS' if the kernel argument values have not been
specified.
* 'CL_INVALID_WORK_DIMENSION' if work_dim is not a valid value (i.e. a value
between 1 and 3).
* 'CL_INVALID_WORK_GROUP_SIZE' if local_work_size is specified and number of
work-items specified by global_work_size is not evenly divisable by size of
work-group given by local_work_size or does not match the work-group size
specified for kernel using the __attribute__((reqd_work_group_size(X, Y, Z)))
qualifier in program source.
* 'CL_INVALID_WORK_GROUP_SIZE' if local_work_size is specified and the total
number of work-items in the work-group computed as local_work_size[0]
*... local_work_size[work_dim - 1] is greater than the value specified by
'CL_DEVICE_MAX_WORK_GROUP_SIZE' in the table of OpenCL Device Queries for
clGetDeviceInfo.
* 'CL_INVALID_WORK_GROUP_SIZE' if local_work_size is NULL and the
__attribute__((reqd_work_group_size(X, Y, Z))) qualifier is used to declare the
work-group size for kernel in the program source.
* 'CL_INVALID_WORK_ITEM_SIZE' if the number of work-items specified in any of
local_work_size[0], ... local_work_size[work_dim - 1] is greater than the
corresponding values specified by 'CL_DEVICE_MAX_WORK_ITEM_SIZES'[0],
.... 'CL_DEVICE_MAX_WORK_ITEM_SIZES'[work_dim - 1].
* 'CL_OUT_OF_RESOURCES' if there is a failure to queue the execution instance
of kernel on the command-queue because of insufficient resources needed to
execute the kernel. For example, the explicitly specified local_work_size causes
a failure to execute the kernel because of insufficient resources such as
registers or local memory. Another example would be the number of read-only
image args used in kernel exceed the 'CL_DEVICE_MAX_READ_IMAGE_ARGS' value for
device or the number of write-only image args used in kernel exceed the
'CL_DEVICE_MAX_WRITE_IMAGE_ARGS' value for device or the number of samplers used
in kernel exceed 'CL_DEVICE_MAX_SAMPLERS' for device.
* 'CL_MEM_OBJECT_ALLOCATION_FAILURE' if there is a failure to allocate memory for data store associated with image or buffer objects specified as arguments to kernel.
* 'CL_OUT_OF_HOST_MEMORY' if there is a failure to allocate resources required by
the OpenCL implementation on the host.
-}
clEnqueueNDRangeKernel :: Integral a => CLCommandQueue -> CLKernel -> [a] -> [a]
-> [CLEvent] -> IO CLEvent
clEnqueueNDRangeKernel cq krn gws lws events = withArray (map fromIntegral gws) $ \pgws -> withMaybeArray (map fromIntegral lws) $ \plws -> do
clEnqueue (raw_clEnqueueNDRangeKernel cq krn num nullPtr pgws plws) events
where
num = fromIntegral $ length gws
{-| Enqueues a command to execute a kernel on a device. The kernel is executed
using a single work-item.
'clEnqueueTask' is equivalent to calling 'clEnqueueNDRangeKernel' with work_dim
= 1, global_work_offset = [], global_work_size[0] set to 1, and
local_work_size[0] set to 1.
Returns the evens if the kernel execution was successfully queued. It can throw
the following 'CLError' exceptions:
* 'CL_INVALID_PROGRAM_EXECUTABLE' if there is no successfully built program
executable available for device associated with command_queue.
* 'CL_INVALID_COMMAND_QUEUE if' command_queue is not a valid command-queue.
* 'CL_INVALID_KERNEL' if kernel is not a valid kernel object.
* 'CL_INVALID_CONTEXT' if context associated with command_queue and kernel is
not the same or if the context associated with command_queue and events in
event_wait_list are not the same.
* 'CL_INVALID_KERNEL_ARGS' if the kernel argument values have not been specified.
* 'CL_INVALID_WORK_GROUP_SIZE' if a work-group size is specified for kernel
using the __attribute__((reqd_work_group_size(X, Y, Z))) qualifier in program
source and is not (1, 1, 1).
* 'CL_OUT_OF_RESOURCES' if there is a failure to queue the execution instance
of kernel on the command-queue because of insufficient resources needed to
execute the kernel.
* 'CL_MEM_OBJECT_ALLOCATION_FAILURE' if there is a failure to allocate memory
for data store associated with image or buffer objects specified as arguments to
kernel.
* 'CL_OUT_OF_HOST_MEMORY' if there is a failure to allocate resources required
by the OpenCL implementation on the host.
-}
clEnqueueTask :: CLCommandQueue -> CLKernel -> [CLEvent] -> IO CLEvent
clEnqueueTask cq krn = clEnqueue (raw_clEnqueueTask cq krn)
{-| Enqueues a command to execute a native C/C++ function not compiled using the
OpenCL compiler. A native user function can only be executed on a command-queue
created on a device that has 'CL_EXEC_NATIVE_KERNEL' capability set in
'clGetDeviceExecutionCapabilities'.
The data pointed to by args and cb_args bytes in size will be copied and a
pointer to this copied region will be passed to user_func. The copy needs to be
done because the memory objects ('CLMem' values) that args may contain need to
be modified and replaced by appropriate pointers to global memory. When
'clEnqueueNativeKernel' returns, the memory region pointed to by args can be
reused by the application.
Returns the evens if the kernel execution was successfully queued. It can throw
the following 'CLError' exceptions:
* 'CL_INVALID_COMMAND_QUEUE' if command_queue is not a valid command-queue.
* 'CL_INVALID_CONTEXT' if context associated with command_queue and events in
event-wait_list are not the same.
* 'CL_INVALID_VALUE' if args is a NULL value and cb_args is greater than 0, or
if args is a NULL value and num_mem_objects is greater than 0.
* 'CL_INVALID_VALUE' if args is not NULL and cb_args is 0.
* 'CL_INVALID_OPERATION' if device cannot execute the native kernel.
* 'CL_INVALID_MEM_OBJECT' if one or more memory objects specified in mem_list
are not valid or are not buffer objects.
* 'CL_OUT_OF_RESOURCES' if there is a failure to queue the execution instance
of kernel on the command-queue because of insufficient resources needed to
execute the kernel.
* 'CL_MEM_OBJECT_ALLOCATION_FAILURE' if there is a failure to allocate memory
for data store associated with buffer objects specified as arguments to kernel.
* 'CL_INVALID_EVENT_WAIT_LIST' if event objects in event_wait_list are not
valid events.
* 'CL_OUT_OF_HOST_MEMORY' if there is a failure to allocate resources required
by the OpenCL implementation on the host.
-}
clEnqueueNativeKernel :: CLCommandQueue -> (Ptr () -> IO ()) -> Ptr () -> CSize
-> [CLMem] -> [Ptr ()] -> [CLEvent] -> IO CLEvent
clEnqueueNativeKernel cq f dat sz xs ys evs =
withMaybeArray xs $ \pmem ->
withMaybeArray ys $ \pbuff -> do
fptr <- wrapNativeKernelCallback f
clEnqueue (raw_clEnqueueNativeKernel cq fptr dat sz
(fromIntegral . length $ xs) pmem pbuff) evs
-- -----------------------------------------------------------------------------
-- | Enqueues a marker command to command_queue. The marker command returns an
-- event which can be used to queue a wait on this marker event i.e. wait for
-- all commands queued before the marker command to complete. Returns the event
-- if the function is successfully executed. It throw the 'CLError' exception
-- 'CL_INVALID_COMMAND_QUEUE' if command_queue is not a valid command-queue and
-- throw 'CL_OUT_OF_HOST_MEMORY' if there is a failure to allocate resources
-- required by the OpenCL implementation on the host.
clEnqueueMarker :: CLCommandQueue -> IO CLEvent
clEnqueueMarker cq = alloca $ \event
-> whenSuccess (raw_clEnqueueMarker cq event)
$ peek event
{-| Enqueues a wait for a specific event or a list of events to complete before
any future commands queued in the command-queue are executed. The context
associated with events in event_list and command_queue must be the same.
It can throw the following 'CLError' exceptions:
* 'CL_INVALID_COMMAND_QUEUE' if command_queue is not a valid command-queue.
* 'CL_INVALID_CONTEXT' if the context associated with command_queue and events
in event_list are not the same.
* 'CL_INVALID_VALUE' if num_events is zero.
* 'CL_INVALID_EVENT' if event objects specified in event_list are not valid
events.
* 'CL_OUT_OF_HOST_MEMORY' if there is a failure to allocate resources required
by the OpenCL implementation on the host.
-}
clEnqueueWaitForEvents :: CLCommandQueue -> [CLEvent] -> IO ()
clEnqueueWaitForEvents cq [] = whenSuccess
(raw_clEnqueueWaitForEvents cq 0 nullPtr)
$ return ()
clEnqueueWaitForEvents cq events = allocaArray nevents $ \pevents -> do
pokeArray pevents events
whenSuccess (raw_clEnqueueWaitForEvents cq cnevents pevents)
$ return ()
where
nevents = length events
cnevents = fromIntegral nevents
-- | 'clEnqueueBarrier' is a synchronization point that ensures that all queued
-- commands in command_queue have finished execution before the next batch of
-- commands can begin execution. It throws 'CL_INVALID_COMMAND_QUEUE' if
-- command_queue is not a valid command-queue and throws
-- 'CL_OUT_OF_HOST_MEMORY' if there is a failure to allocate resources required
-- by the OpenCL implementation on the host.
clEnqueueBarrier :: CLCommandQueue -> IO ()
clEnqueueBarrier cq = whenSuccess (raw_clEnqueueBarrier cq) $ return ()
{- | Acquire OpenCL memory objects that have been created from OpenGL
objects. These objects need to be acquired before they can be used by
any OpenCL commands queued to a command-queue. The OpenGL objects are
acquired by the OpenCL context associated with command_queue and can
therefore be used by all command-queues associated with the OpenCL
context.
Returns CL_SUCCESS if the function is executed successfully. If
num_objects is 0 and mem_objects is NULL the function does nothing and
returns CL_SUCCESS. Otherwise, it returns one of the following errors:
* CL_INVALID_VALUE if num_objects is zero and mem_objects is not a
NULL value or if num_objects > 0 and mem_objects is NULL.
* CL_INVALID_MEM_OBJECT if memory objects in mem_objects are not valid
OpenCL memory objects.
* CL_INVALID_COMMAND_QUEUE if command_queue is not a valid
command-queue.
* CL_INVALID_CONTEXT if context associated with command_queue was not
created from an OpenGL context.
* CL_INVALID_GL_OBJECT if memory objects in mem_objects have not been
created from a GL object(s).
* CL_INVALID_EVENT_WAIT_LIST if event_wait_list is NULL and
num_events_in_wait_list > 0, or event_wait_list is not NULL and
num_events_in_wait_list is 0, or if event objects in event_wait_list
are not valid events.
* CL_OUT_OF_HOST_MEMORY if there is a failure to allocate resources
required by the OpenCL implementation on the host.
-}
clEnqueueAcquireGLObjects :: CLCommandQueue -> [CLMem] -> [CLEvent] -> IO CLEvent
clEnqueueAcquireGLObjects cq mems evs =
allocaArray nmems $ \pmems ->
do pokeArray pmems mems
clEnqueue (raw_clEnqueueAcquireGLObjects cq (fromIntegral nmems) pmems) evs
where nmems = length mems
{- | Release OpenCL memory objects that have been created from OpenGL
objects. These objects need to be released before they can be used by
OpenGL. The OpenGL objects are released by the OpenCL context
associated with command_queue.
clEnqueueReleaseGLObjects returns CL_SUCCESS if the function is
executed successfully. If num_objects is 0 and mem_objects is NULL the
function does nothing and returns CL_SUCCESS. Otherwise, it returns
one of the following errors:
* CL_INVALID_VALUE if num_objects is zero and mem_objects is not a
NULL value or if num_objects > 0 and mem_objects is NULL.
* CL_INVALID_MEM_OBJECT if memory objects in mem_objects are not valid
OpenCL memory objects.
* CL_INVALID_COMMAND_QUEUE if command_queue is not a valid
command-queue.
* CL_INVALID_CONTEXT if context associated with command_queue was not
created from an OpenGL context
* CL_INVALID_GL_OBJECT if memory objects in mem_objects have not been
created from a GL object(s).
* CL_INVALID_EVENT_WAIT_LIST if event_wait_list is NULL and
num_events_in_wait_list > 0, or event_wait_list is not NULL and
num_events_in_wait_list is 0, or if event objects in event_wait_list
are not valid events.
* CL_OUT_OF_HOST_MEMORY if there is a failure to allocate resources
required by the OpenCL implementation on the host.
-}
clEnqueueReleaseGLObjects :: CLCommandQueue -> [CLMem] -> [CLEvent] -> IO CLEvent
clEnqueueReleaseGLObjects cq mems evs = allocaArray nmems $ \pmems ->
do pokeArray pmems mems
clEnqueue (raw_clEnqueueReleaseGLObjects cq (fromIntegral nmems) pmems) evs
where nmems = length mems
-- -----------------------------------------------------------------------------
{-| Issues all previously queued OpenCL commands in a command-queue to the
device associated with the command-queue. 'clFlush' only guarantees that all
queued commands to command_queue get issued to the appropriate device. There is
no guarantee that they will be complete after 'clFlush' returns.
'clFlush' returns 'True' if the function call was executed successfully. It
returns 'False' if command_queue is not a valid command-queue or if there is a
failure to allocate resources required by the OpenCL implementation on the host.
Any blocking commands queued in a command-queue such as 'clEnqueueReadImage' or
'clEnqueueReadBuffer' with blocking_read set to 'True', 'clEnqueueWriteImage' or
'clEnqueueWriteBuffer' with blocking_write set to 'True', 'clEnqueueMapImage' or
'clEnqueueMapBuffer' with blocking_map set to 'True' or 'clWaitForEvents'
perform an implicit flush of the command-queue.
To use event objects that refer to commands enqueued in a command-queue as
event objects to wait on by commands enqueued in a different command-queue, the
application must call a 'clFlush' or any blocking commands that perform an
implicit flush of the command-queue where the commands that refer to these event
objects are enqueued.
-}
clFlush :: CLCommandQueue -> IO Bool
clFlush = wrapCheckSuccess . raw_clFlush
-- | Blocks until all previously queued OpenCL commands in a command-queue are
-- issued to the associated device and have completed.
-- 'clFinish' does not return until all queued commands in command_queue have
-- been processed and completed. 'clFinish' is also a synchronization point.
--
-- 'clFinish' returns 'True' if the function call was executed successfully. It
-- returns 'False' if command_queue is not a valid command-queue or if there is
-- a failure to allocate resources required by the OpenCL implementation on the
-- host.
clFinish :: CLCommandQueue -> IO Bool
clFinish = wrapCheckSuccess . raw_clFinish
-- -----------------------------------------------------------------------------
| C2hs Haskell | 5 | jpwidera/opencl | src/Control/Parallel/OpenCL/CommandQueue.chs | [
"BSD-3-Clause"
] |
h2. Plugin
TBD
endprologue. | Textile | 0 | luciany/Aloha-Editor | doc/guides/source/plugin_zemanta.textile | [
"CC-BY-3.0"
] |
FOR WRITE "SPAM",!
| M | 1 | LaudateCorpus1/RosettaCodeData | Task/Loops-Infinite/MUMPS/loops-infinite.mumps | [
"Info-ZIP"
] |
[
{
"baidu": 95,
"author": "王奕",
"title": "金餘元遺山來拜祖庭有紀行十首遂倚歌之先後殊時感慨一也 和元遺山九首",
"so360": 56,
"bing": 16500,
"bing_en": 100,
"google": 314
},
{
"baidu": 20800,
"author": "王奕",
"title": "金餘元遺山來拜祖庭有紀行十首遂倚歌之先後殊時感慨一也 和元遺山十首",
"so360": 56,
"bing": 16500,
"bing_en": 31,
"google": 2780
},
{
"baidu": 276,
"author": "王奕",
"title": "和杜少陵望嶽一首",
"so360": 21,
"bing": 20000,
"bing_en": 777,
"google": 10500
},
{
"baidu": 4440,
"author": "王奕",
"title": "和李太白泰山一首",
"so360": 40,
"bing": 28600,
"bing_en": 21200,
"google": 69300
},
{
"baidu": 3,
"author": "王奕",
"title": "和元遺山太山古句",
"so360": 36,
"bing": 126000,
"bing_en": 22300,
"google": 3270000
},
{
"baidu": 4,
"author": "王奕",
"title": "和趙若倫舊題多景樓",
"so360": 22,
"bing": 10200,
"bing_en": 21400,
"google": 1550
},
{
"baidu": 21800,
"author": "王奕",
"title": "和羅隠詩再題多景樓",
"so360": 25,
"bing": 255000,
"bing_en": 67,
"google": 216000
},
{
"baidu": 4,
"author": "王奕",
"title": "和盧疎齋多景樓韻",
"so360": 20,
"bing": 1470000,
"bing_en": 20100,
"google": 1420
},
{
"baidu": 3,
"author": "王奕",
"title": "題北固亭",
"so360": 52,
"bing": 65000000,
"bing_en": 2750,
"google": 2150000
},
{
"baidu": 3,
"author": "王奕",
"title": "題焦山吸江亭",
"so360": 16,
"bing": 1940000,
"bing_en": 8700,
"google": 2170
},
{
"baidu": 100,
"author": "王奕",
"title": "題焦山客位",
"so360": 24,
"bing": 70800000,
"bing_en": 1480,
"google": 2920000
},
{
"baidu": 3,
"author": "王奕",
"title": "題金山金鰲閣",
"so360": 9,
"bing": 13600,
"bing_en": 6440,
"google": 47800
},
{
"baidu": 612,
"author": "王奕",
"title": "書趙忠靖公祠堂",
"so360": 24,
"bing": 16400,
"bing_en": 7630,
"google": 309
},
{
"baidu": 14,
"author": "王奕",
"title": "到揚州",
"so360": 86,
"bing": 23100,
"bing_en": 22400,
"google": 3720000
},
{
"baidu": 6,
"author": "王奕",
"title": "題維揚",
"so360": 275,
"bing": 63200000,
"bing_en": 46200,
"google": 44600
},
{
"baidu": 8,
"author": "王奕",
"title": "登黄龍峰",
"so360": 21,
"bing": 88,
"bing_en": 602,
"google": 29
},
{
"baidu": 6,
"author": "王奕",
"title": "題陶狄二賢祠",
"so360": 5,
"bing": 14100,
"bing_en": 21300,
"google": 216000
},
{
"baidu": 2340,
"author": "王奕",
"title": "彭澤新縣靖節祠",
"so360": 10,
"bing": 992000,
"bing_en": 55,
"google": 469
},
{
"baidu": 17,
"author": "王奕",
"title": "四絕呈周月湖 其一",
"so360": 30,
"bing": 12300,
"bing_en": 2360,
"google": 602
},
{
"baidu": 15,
"author": "王奕",
"title": "四絕呈周月湖 其二",
"so360": 30,
"bing": 10800,
"bing_en": 4970,
"google": 628
},
{
"baidu": 14,
"author": "王奕",
"title": "四絕呈周月湖 其三",
"so360": 30,
"bing": 14800,
"bing_en": 21100,
"google": 332
},
{
"baidu": 15,
"author": "王奕",
"title": "四絕呈周月湖 其四",
"so360": 8,
"bing": 14400,
"bing_en": 21100,
"google": 554
},
{
"baidu": 5,
"author": "王奕",
"title": "鶴林寺絕句",
"so360": 27,
"bing": 314000,
"bing_en": 320,
"google": 18600
},
{
"baidu": 5,
"author": "王奕",
"title": "題彭澤舊縣狄梁公祠",
"so360": 7,
"bing": 994000,
"bing_en": 3420,
"google": 117000
},
{
"baidu": 14,
"author": "王奕",
"title": "題小蒜嶺",
"so360": 6,
"bing": 94700,
"bing_en": 21300,
"google": 1380000
},
{
"baidu": 41,
"author": "王奕",
"title": "歸途有感",
"so360": 1020,
"bing": 12400,
"bing_en": 11400,
"google": 3120000
},
{
"baidu": 2,
"author": "王奕",
"title": "題池州郵亭",
"so360": 25,
"bing": 17500,
"bing_en": 545,
"google": 29200
},
{
"baidu": 4,
"author": "王奕",
"title": "九月申屠伯驥同飲壽張蚩尤塚上",
"so360": 70,
"bing": 396,
"bing_en": 30,
"google": 5400
},
{
"baidu": 11,
"author": "王奕",
"title": "題泰山仁安殿壁",
"so360": 67,
"bing": 6850,
"bing_en": 14400,
"google": 1700000
},
{
"baidu": 99,
"author": "王奕",
"title": "新州枕上有感二首 其一",
"so360": 24,
"bing": 35700,
"bing_en": 20900,
"google": 1080000
},
{
"baidu": 6080,
"author": "王奕",
"title": "新州枕上有感二首 其二",
"so360": 24,
"bing": 35600,
"bing_en": 21000,
"google": 1040000
},
{
"baidu": 31,
"author": "王奕",
"title": "和遺山呈太山倪布山真人",
"so360": 28,
"bing": 12300,
"bing_en": 1910,
"google": 290000
},
{
"baidu": 8,
"author": "王奕",
"title": "呈申屠御史忍齋二首 其一",
"so360": 51,
"bing": 5320,
"bing_en": 9710,
"google": 262000
},
{
"baidu": 8,
"author": "王奕",
"title": "呈申屠御史忍齋二首 其二",
"so360": 51,
"bing": 4290,
"bing_en": 8080,
"google": 237000
},
{
"baidu": 3,
"author": "王奕",
"title": "次韻上雪樓程侍御",
"so360": 26,
"bing": 15700,
"bing_en": 3080,
"google": 41700
},
{
"baidu": 7,
"author": "王奕",
"title": "別宣尉王中齋",
"so360": 17,
"bing": 15800,
"bing_en": 21300,
"google": 740
},
{
"baidu": 5,
"author": "王奕",
"title": "贄見五峰燕先生",
"so360": 39,
"bing": 12900,
"bing_en": 27,
"google": 11100
},
{
"baidu": 13,
"author": "王奕",
"title": "再和韻上石塘吳 其一",
"so360": 29,
"bing": 59100,
"bing_en": 10600,
"google": 2010000
},
{
"baidu": 13,
"author": "王奕",
"title": "再和韻上石塘吳 其二",
"so360": 29,
"bing": 59100,
"bing_en": 9170,
"google": 2370000
},
{
"baidu": 3,
"author": "王奕",
"title": "再和韻上石塘吳 其三",
"so360": 29,
"bing": 59100,
"bing_en": 18000,
"google": 2020000
},
{
"baidu": 10,
"author": "王奕",
"title": "再和韻上石塘吳 其四",
"so360": 117,
"bing": 59000,
"bing_en": 5050,
"google": 1740000
},
{
"baidu": 9,
"author": "王奕",
"title": "見陳月觀二首 其一",
"so360": 78,
"bing": 701000,
"bing_en": 11500,
"google": 687
},
{
"baidu": 9,
"author": "王奕",
"title": "見陳月觀二首 其二",
"so360": 78,
"bing": 699000,
"bing_en": 12300,
"google": 818
},
{
"baidu": 5,
"author": "王奕",
"title": "五絕呈李惟學山長 其一",
"so360": 37,
"bing": 3130,
"bing_en": 34,
"google": 22900
},
{
"baidu": 5,
"author": "王奕",
"title": "五絕呈李惟學山長 其二",
"so360": 38,
"bing": 3130,
"bing_en": 35,
"google": 13700
},
{
"baidu": 4,
"author": "王奕",
"title": "五絕呈李惟學山長 其三",
"so360": 35,
"bing": 5190,
"bing_en": 1580,
"google": 13300
},
{
"baidu": 5,
"author": "王奕",
"title": "五絕呈李惟學山長 其四",
"so360": 35,
"bing": 5110,
"bing_en": 1570,
"google": 22900
},
{
"baidu": 5,
"author": "王奕",
"title": "五絕呈李惟學山長 其五",
"so360": 33,
"bing": 5240,
"bing_en": 1570,
"google": 22800
},
{
"baidu": 18,
"author": "王奕",
"title": "呈招討李春野 其一",
"so360": 18,
"bing": 51,
"bing_en": 12000,
"google": 236000
},
{
"baidu": 21,
"author": "王奕",
"title": "呈招討李春野 其二",
"so360": 18,
"bing": 44,
"bing_en": 21100,
"google": 236000
},
{
"baidu": 3,
"author": "王奕",
"title": "和中丞徐容齋貫戶維揚",
"so360": 20,
"bing": 12200,
"bing_en": 5390,
"google": 1840
},
{
"baidu": 13,
"author": "王奕",
"title": "和申屠忍齋隸籍秦郵韵呈苟治書生",
"so360": 20,
"bing": 12300,
"bing_en": 24,
"google": 37700
},
{
"baidu": 31,
"author": "王奕",
"title": "登秦郵文遊亭天壁亭長歌",
"so360": 39,
"bing": 11600,
"bing_en": 1710,
"google": 159
},
{
"baidu": 2200,
"author": "王奕",
"title": "庚寅五月十二日偕趙平甫拜采石神霄宮太白墳",
"so360": 17,
"bing": 73,
"bing_en": 554,
"google": 263
},
{
"baidu": 15,
"author": "王奕",
"title": "登青山太白墓文并歌",
"so360": 67100,
"bing": 12600,
"bing_en": 18700,
"google": 38600
},
{
"baidu": 28,
"author": "王奕",
"title": "青山二章章四句 其一",
"so360": 34,
"bing": 13500,
"bing_en": 21000,
"google": 2290000
},
{
"baidu": 33,
"author": "王奕",
"title": "青山二章章四句 其二",
"so360": 34,
"bing": 12300,
"bing_en": 19400,
"google": 2460000
},
{
"baidu": 4,
"author": "王奕",
"title": "彭澤祭陶靖節祠",
"so360": 26,
"bing": 1750,
"bing_en": 4300,
"google": 210000
},
{
"baidu": 6,
"author": "王奕",
"title": "謝疊山先生己丑九月被執北行閩士以詩送之倚歌以餞 其一",
"so360": 155,
"bing": 2460,
"bing_en": 52,
"google": 33700
},
{
"baidu": 8,
"author": "王奕",
"title": "謝疊山先生己丑九月被執北行閩士以詩送之倚歌以餞 其二",
"so360": 154,
"bing": 2460,
"bing_en": 60,
"google": 34100
},
{
"baidu": 13,
"author": "王奕",
"title": "淮安路教謝西溪己丑二月飲疊山于敬義堂有詩後三月僕至西溪見示時疊山已行矣",
"so360": 36,
"bing": 36,
"bing_en": 19,
"google": 125
},
{
"baidu": 27,
"author": "王奕",
"title": "和疊山到山陽郡學四詩 其一",
"so360": 52,
"bing": 11600,
"bing_en": 5930,
"google": 20800
},
{
"baidu": 28,
"author": "王奕",
"title": "和疊山到山陽郡學四詩 其二",
"so360": 52,
"bing": 11700,
"bing_en": 5900,
"google": 17700
},
{
"baidu": 14,
"author": "王奕",
"title": "和疊山到山陽郡學四詩 其三",
"so360": 51,
"bing": 12500,
"bing_en": 13300,
"google": 19600
},
{
"baidu": 14,
"author": "王奕",
"title": "和疊山到山陽郡學四詩 其四",
"so360": 51,
"bing": 12700,
"bing_en": 13400,
"google": 17400
},
{
"baidu": 5,
"author": "王奕",
"title": "聞疊山己丑四月七日死于燕",
"so360": 42,
"bing": 8100,
"bing_en": 3340,
"google": 275000
},
{
"baidu": 3,
"author": "王奕",
"title": "和疊山隆興阻風",
"so360": 19,
"bing": 12100,
"bing_en": 2320,
"google": 19400
},
{
"baidu": 30,
"author": "王奕",
"title": "和疊山送淮安士友韻",
"so360": 47,
"bing": 8950,
"bing_en": 4010,
"google": 247000
},
{
"baidu": 3,
"author": "王奕",
"title": "和疊山小姑廟",
"so360": 36,
"bing": 13200,
"bing_en": 2840,
"google": 1160000
},
{
"baidu": 9,
"author": "王奕",
"title": "和疊山小姑海門第一關詩",
"so360": 24,
"bing": 17000,
"bing_en": 968,
"google": 200000
},
{
"baidu": 11,
"author": "王奕",
"title": "和疊山舟過瀂港",
"so360": 29,
"bing": 13000,
"bing_en": 7,
"google": 55000
},
{
"baidu": 8,
"author": "王奕",
"title": "和疊山拜李白墓",
"so360": 30,
"bing": 13900,
"bing_en": 21200,
"google": 254000
},
{
"baidu": 486,
"author": "王奕",
"title": "再和前韻蛾眉亭",
"so360": 29,
"bing": 17100,
"bing_en": 7960,
"google": 765000
},
{
"baidu": 6,
"author": "王奕",
"title": "和疊山拜虞雍公廟",
"so360": 21,
"bing": 6250,
"bing_en": 21200,
"google": 156000
},
{
"baidu": 26,
"author": "王奕",
"title": "送泰山倪布山真人",
"so360": 138,
"bing": 14700,
"bing_en": 20700,
"google": 1980000
},
{
"baidu": 279,
"author": "王奕",
"title": "和徐中丞容齋舊泰山一百四韻贄見",
"so360": 44,
"bing": 897,
"bing_en": 4,
"google": 2580
},
{
"baidu": 3,
"author": "王奕",
"title": "石塘歌呈吳侍郎",
"so360": 40,
"bing": 19100,
"bing_en": 15000,
"google": 53500
},
{
"baidu": 10,
"author": "王奕",
"title": "謝吳侍郎 其一",
"so360": 25,
"bing": 15900,
"bing_en": 21100,
"google": 410000
},
{
"baidu": 50,
"author": "王奕",
"title": "謝吳侍郎 其二",
"so360": 25,
"bing": 14900,
"bing_en": 21100,
"google": 160000
},
{
"baidu": 3,
"author": "王奕",
"title": "黄池大水歌",
"so360": 48,
"bing": 28500,
"bing_en": 21200,
"google": 5190000
},
{
"baidu": 2,
"author": "王奕",
"title": "回建德寄馮和峰隠士",
"so360": 17,
"bing": 11900,
"bing_en": 6,
"google": 26
},
{
"baidu": 3,
"author": "王奕",
"title": "和李提學存耕鉛山酌廉韻",
"so360": 20,
"bing": 12700,
"bing_en": 69,
"google": 107000
},
{
"baidu": 72,
"author": "王奕",
"title": "過江絕句",
"so360": 27,
"bing": 421000,
"bing_en": 21100,
"google": 1170000
},
{
"baidu": 61,
"author": "王奕",
"title": "梅",
"so360": 64200,
"bing": 11900000,
"bing_en": 616000,
"google": 7370000
},
{
"baidu": 35,
"author": "王奕",
"title": "泰山",
"so360": 6050,
"bing": 14300000,
"bing_en": 87300,
"google": 4520000
},
{
"baidu": 10,
"author": "王奕",
"title": "茂陵封禪壇",
"so360": 37,
"bing": 13600,
"bing_en": 1630,
"google": 34400
},
{
"baidu": 3,
"author": "王奕",
"title": "漢柏",
"so360": 91,
"bing": 25700,
"bing_en": 93200,
"google": 3420000
},
{
"baidu": 9,
"author": "王奕",
"title": "孫明復石守道祠堂",
"so360": 21,
"bing": 92400,
"bing_en": 83,
"google": 720
},
{
"baidu": 4,
"author": "王奕",
"title": "水簾洞",
"so360": 86,
"bing": 12500,
"bing_en": 21000,
"google": 3120000
},
{
"baidu": 11,
"author": "王奕",
"title": "回馬嶺",
"so360": 15,
"bing": 18400,
"bing_en": 1080,
"google": 5190000
},
{
"baidu": 3,
"author": "王奕",
"title": "護駕泉",
"so360": 34,
"bing": 12700,
"bing_en": 8010,
"google": 269000
},
{
"baidu": 10,
"author": "王奕",
"title": "大夫松",
"so360": 33,
"bing": 12200,
"bing_en": 25100,
"google": 3030000
},
{
"baidu": 3,
"author": "王奕",
"title": "和段好古外郎二首 其一",
"so360": 31,
"bing": 505000,
"bing_en": 22000,
"google": 129000
},
{
"baidu": 3,
"author": "王奕",
"title": "和段好古外郎二首 其二",
"so360": 32,
"bing": 507000,
"bing_en": 20100,
"google": 119000
},
{
"baidu": 13,
"author": "李景文",
"title": "病後感興寄車玉峰先生二首 其一",
"so360": 23,
"bing": 15100,
"bing_en": 23,
"google": 27100
},
{
"baidu": 7,
"author": "李景文",
"title": "病後感興寄車玉峰先生二首 其二",
"so360": 23,
"bing": 15100,
"bing_en": 22,
"google": 27100
},
{
"baidu": 48,
"author": "李景文",
"title": "廬墓有感",
"so360": 17,
"bing": 24500,
"bing_en": 511,
"google": 23400
},
{
"baidu": 4,
"author": "李景文",
"title": "遊委羽山",
"so360": 24,
"bing": 87800,
"bing_en": 137,
"google": 293
},
{
"baidu": 13,
"author": "胡子期",
"title": "訪開公不遇",
"so360": 1300,
"bing": 257000,
"bing_en": 2070,
"google": 202000
},
{
"baidu": 61,
"author": "陳景沂",
"title": "梅花 其一",
"so360": 541,
"bing": 879,
"bing_en": 21700,
"google": 9130
},
{
"baidu": 56,
"author": "陳景沂",
"title": "梅花 其二",
"so360": 589,
"bing": 16400,
"bing_en": 21600,
"google": 9340
},
{
"baidu": 62,
"author": "陳景沂",
"title": "梅花 其三",
"so360": 24,
"bing": 677000,
"bing_en": 43700,
"google": 2590
},
{
"baidu": 63,
"author": "陳景沂",
"title": "梅花 其四",
"so360": 29,
"bing": 511000,
"bing_en": 26200,
"google": 9270
},
{
"baidu": 67,
"author": "陳景沂",
"title": "梅花 其五",
"so360": 18,
"bing": 480000,
"bing_en": 41500,
"google": 8730
},
{
"baidu": 68,
"author": "陳景沂",
"title": "紅梅",
"so360": 189,
"bing": 1100,
"bing_en": 21100,
"google": 375
},
{
"baidu": 4,
"author": "陳景沂",
"title": "石榴花",
"so360": 99,
"bing": 12200,
"bing_en": 21100,
"google": 1770
},
{
"baidu": 69,
"author": "陳景沂",
"title": "海棠",
"so360": 921,
"bing": 840,
"bing_en": 21500,
"google": 6920
},
{
"baidu": 67,
"author": "陳景沂",
"title": "桃花",
"so360": 445,
"bing": 833,
"bing_en": 21200,
"google": 11600
},
{
"baidu": 70,
"author": "陳景沂",
"title": "葵花",
"so360": 156,
"bing": 12200,
"bing_en": 21100,
"google": 33900
},
{
"baidu": 5,
"author": "陳景沂",
"title": "牽牛花",
"so360": 154,
"bing": 55,
"bing_en": 1890,
"google": 276
},
{
"baidu": 3,
"author": "陳景沂",
"title": "含笑花",
"so360": 56,
"bing": 28400,
"bing_en": 21100,
"google": 1030
},
{
"baidu": 61,
"author": "陳景沂",
"title": "楊梅 其一",
"so360": 155,
"bing": 2680,
"bing_en": 21500,
"google": 2810
},
{
"baidu": 64,
"author": "陳景沂",
"title": "楊梅 其二",
"so360": 159,
"bing": 2460,
"bing_en": 21500,
"google": 3150
},
{
"baidu": 59,
"author": "陳景沂",
"title": "草 其一",
"so360": 143,
"bing": 31300,
"bing_en": 23200,
"google": 85800
},
{
"baidu": 67,
"author": "陳景沂",
"title": "草 其二",
"so360": 38,
"bing": 4660,
"bing_en": 22900,
"google": 84500
},
{
"baidu": 60,
"author": "陳景沂",
"title": "草 其三",
"so360": 27,
"bing": 384000,
"bing_en": 101000,
"google": 85000
},
{
"baidu": 60,
"author": "陳景沂",
"title": "草 其四",
"so360": 23,
"bing": 862,
"bing_en": 38600,
"google": 84800
},
{
"baidu": 64,
"author": "陳景沂",
"title": "蘆 其一",
"so360": 26,
"bing": 875,
"bing_en": 21100,
"google": 7130
},
{
"baidu": 63,
"author": "陳景沂",
"title": "蘆 其二",
"so360": 23,
"bing": 800,
"bing_en": 21100,
"google": 6890
},
{
"baidu": 63,
"author": "陳景沂",
"title": "松 其一",
"so360": 28,
"bing": 5140,
"bing_en": 24500,
"google": 46200
},
{
"baidu": 68,
"author": "陳景沂",
"title": "松 其二",
"so360": 25,
"bing": 4380,
"bing_en": 24300,
"google": 44300
},
{
"baidu": 64,
"author": "陳景沂",
"title": "楊柳 其一",
"so360": 119,
"bing": 47400,
"bing_en": 21100,
"google": 34200
},
{
"baidu": 57,
"author": "陳景沂",
"title": "楊柳 其二",
"so360": 122,
"bing": 36700,
"bing_en": 21100,
"google": 34100
},
{
"baidu": 56,
"author": "陳景沂",
"title": "楊柳 其三",
"so360": 30,
"bing": 1080000,
"bing_en": 24000,
"google": 34000
},
{
"baidu": 57,
"author": "陳景沂",
"title": "楊柳 其四",
"so360": 30,
"bing": 838000,
"bing_en": 23000,
"google": 33900
},
{
"baidu": 65,
"author": "陳景沂",
"title": "句 其一",
"so360": 621,
"bing": 12300,
"bing_en": 23200,
"google": 41600
},
{
"baidu": 68,
"author": "陳景沂",
"title": "句 其二",
"so360": 20,
"bing": 12300,
"bing_en": 22900,
"google": 38800
},
{
"baidu": 2,
"author": "韓似山",
"title": "聚八仙花歌贈江淮肥遯子",
"so360": 569,
"bing": 11900,
"bing_en": 7,
"google": 16700
},
{
"baidu": 50,
"author": "魯應龍",
"title": "題陳山飛星石",
"so360": 16,
"bing": 356000,
"bing_en": 21100,
"google": 30
},
{
"baidu": 5,
"author": "林洪",
"title": "蓮房魚包",
"so360": 456,
"bing": 12000,
"bing_en": 1930,
"google": 6280000
},
{
"baidu": 157,
"author": "林洪",
"title": "西湖",
"so360": 7630,
"bing": 26800,
"bing_en": 237000,
"google": 9540000
},
{
"baidu": 18,
"author": "林洪",
"title": "宮詞",
"so360": 1270,
"bing": 23100,
"bing_en": 14000,
"google": 7120000
},
{
"baidu": 13,
"author": "林洪",
"title": "水仙花",
"so360": 123,
"bing": 6100,
"bing_en": 24300,
"google": 3440000
},
{
"baidu": 4,
"author": "林洪",
"title": "春宮",
"so360": 2,
"bing": 1350,
"bing_en": 59300,
"google": 2500000
},
{
"baidu": 4,
"author": "林洪",
"title": "桐下",
"so360": 30,
"bing": 30900,
"bing_en": 211000,
"google": 6970000
},
{
"baidu": 10,
"author": "林洪",
"title": "枕上作",
"so360": 31,
"bing": 14300,
"bing_en": 38600,
"google": 1400000
},
{
"baidu": 9,
"author": "林洪",
"title": "折柳",
"so360": 66,
"bing": 44400,
"bing_en": 54200,
"google": 3850000
},
{
"baidu": 6,
"author": "林洪",
"title": "樓居",
"so360": 39,
"bing": 76600,
"bing_en": 219000,
"google": 18400000
},
{
"baidu": 4,
"author": "林洪",
"title": "孤山隠居",
"so360": 571,
"bing": 3430,
"bing_en": 260,
"google": 371
},
{
"baidu": 5,
"author": "林洪",
"title": "謀隠",
"so360": 4130,
"bing": 12700,
"bing_en": 22000,
"google": 154
},
{
"baidu": 3,
"author": "林洪",
"title": "釣臺",
"so360": 254,
"bing": 13200,
"bing_en": 34900,
"google": 3770000
},
{
"baidu": 25,
"author": "林洪",
"title": "冷泉",
"so360": 1420,
"bing": 2060,
"bing_en": 30300,
"google": 1020000
},
{
"baidu": 54,
"author": "林洪",
"title": "句",
"so360": 15900,
"bing": 607000,
"bing_en": 653000,
"google": 17100000
},
{
"baidu": 3,
"author": "許介軒",
"title": "寄林可山",
"so360": 17,
"bing": 111000,
"bing_en": 31400,
"google": 237
},
{
"baidu": 2,
"author": "許介軒",
"title": "燕",
"so360": 12,
"bing": 14500,
"bing_en": 27600,
"google": 298
},
{
"baidu": 3,
"author": "無名子",
"title": "嘲林洪",
"so360": 54,
"bing": 91100,
"bing_en": 10300,
"google": 87600
},
{
"baidu": 2,
"author": "高仁邱",
"title": "題鳳林橋",
"so360": 19,
"bing": 12600,
"bing_en": 93,
"google": 3420000
},
{
"baidu": 5,
"author": "張淵微僕母",
"title": "戒惜字紙",
"so360": 6,
"bing": 4730,
"bing_en": 447,
"google": 1040
},
{
"baidu": 1,
"author": "趙與沔",
"title": "詠羣玉山",
"so360": 12,
"bing": 15100,
"bing_en": 6,
"google": 1790000
},
{
"baidu": 13,
"author": "錢汝元",
"title": "卞壼忠孝堂",
"so360": 533,
"bing": 38600,
"bing_en": 6,
"google": 72900
},
{
"baidu": 25,
"author": "文儀",
"title": "詩一首",
"so360": 157,
"bing": 72800,
"bing_en": 42100,
"google": 21600000
},
{
"baidu": 27,
"author": "徐霖",
"title": "梅",
"so360": 5070,
"bing": 1200000,
"bing_en": 270000,
"google": 3100000
},
{
"baidu": 18,
"author": "徐霖",
"title": "西城亭餞趙架閣",
"so360": 48,
"bing": 8900,
"bing_en": 51,
"google": 251000
},
{
"baidu": 14,
"author": "徐霖",
"title": "笋石",
"so360": 18,
"bing": 12200,
"bing_en": 22500,
"google": 1100000
},
{
"baidu": 5,
"author": "徐霖",
"title": "芙蓉池亭",
"so360": 21,
"bing": 3100,
"bing_en": 22500,
"google": 1980000
},
{
"baidu": 33,
"author": "徐霖",
"title": "爛柯山",
"so360": 94,
"bing": 164000,
"bing_en": 3430,
"google": 5440
},
{
"baidu": 12,
"author": "吳錫疇",
"title": "春望",
"so360": 187,
"bing": 124000,
"bing_en": 21000,
"google": 4710
},
{
"baidu": 7,
"author": "吳錫疇",
"title": "迂拙",
"so360": 15,
"bing": 6110,
"bing_en": 511,
"google": 676
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "晚步",
"so360": 28,
"bing": 34200,
"bing_en": 21100,
"google": 10500
},
{
"baidu": 3,
"author": "吳錫疇",
"title": "烟波奇觀寫興",
"so360": 17,
"bing": 12300,
"bing_en": 68,
"google": 604
},
{
"baidu": 9,
"author": "吳錫疇",
"title": "林和靖墓",
"so360": 98,
"bing": 12400,
"bing_en": 2150,
"google": 452
},
{
"baidu": 83,
"author": "吳錫疇",
"title": "春日",
"so360": 4700,
"bing": 7580,
"bing_en": 9680,
"google": 13300
},
{
"baidu": 223,
"author": "吳錫疇",
"title": "蘭",
"so360": 1170,
"bing": 12900,
"bing_en": 33300,
"google": 40700
},
{
"baidu": 7,
"author": "吳錫疇",
"title": "夕陽",
"so360": 2820,
"bing": 1850,
"bing_en": 9430,
"google": 6440
},
{
"baidu": 158,
"author": "吳錫疇",
"title": "洲上",
"so360": 50,
"bing": 405000,
"bing_en": 32700,
"google": 49100
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "寄漫客汪子美兼簡竹牖東美",
"so360": 39,
"bing": 12300,
"bing_en": 14,
"google": 27700
},
{
"baidu": 6,
"author": "吳錫疇",
"title": "晚春",
"so360": 72,
"bing": 102000,
"bing_en": 1810,
"google": 4760
},
{
"baidu": 90,
"author": "吳錫疇",
"title": "新荷",
"so360": 59,
"bing": 76900,
"bing_en": 21100,
"google": 2520
},
{
"baidu": 6,
"author": "吳錫疇",
"title": "夜坐",
"so360": 65,
"bing": 51700,
"bing_en": 21100,
"google": 17100
},
{
"baidu": 2,
"author": "吳錫疇",
"title": "聞鶑",
"so360": 26600,
"bing": 12800,
"bing_en": 14400,
"google": 432
},
{
"baidu": 7,
"author": "吳錫疇",
"title": "漁父",
"so360": 61,
"bing": 17900,
"bing_en": 6120,
"google": 245
},
{
"baidu": 8,
"author": "吳錫疇",
"title": "春日從伯氏領子姪郊行",
"so360": 33,
"bing": 12500,
"bing_en": 3,
"google": 4120
},
{
"baidu": 1,
"author": "吳錫疇",
"title": "棣華堂先大父國錄叔大父安撫教授之地堂前古桂巋然獨存花時踏月徘徊其下誦先君舊隠之詩次韻追感",
"so360": 19,
"bing": 91,
"bing_en": 0,
"google": 144
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "醉吟",
"so360": 41,
"bing": 22300,
"bing_en": 32400,
"google": 11100
},
{
"baidu": 3,
"author": "吳錫疇",
"title": "山村問宿",
"so360": 525,
"bing": 13600,
"bing_en": 2770,
"google": 4820
},
{
"baidu": 1390,
"author": "吳錫疇",
"title": "郡侯奏請爲先竹洲易名因送逢原入京",
"so360": 28,
"bing": 12300,
"bing_en": 4,
"google": 50
},
{
"baidu": 1260,
"author": "吳錫疇",
"title": "友人有約未至",
"so360": 23,
"bing": 12400,
"bing_en": 11800,
"google": 5820
},
{
"baidu": 10,
"author": "吳錫疇",
"title": "分題牡丹",
"so360": 539,
"bing": 367000,
"bing_en": 812,
"google": 4040
},
{
"baidu": 6,
"author": "吳錫疇",
"title": "荷葭塢呈秋崖方工部",
"so360": 44,
"bing": 12500,
"bing_en": 19,
"google": 717
},
{
"baidu": 26,
"author": "吳錫疇",
"title": "晚眺",
"so360": 48,
"bing": 37700,
"bing_en": 18200,
"google": 8650
},
{
"baidu": 10,
"author": "吳錫疇",
"title": "聞雁",
"so360": 45,
"bing": 14500,
"bing_en": 20900,
"google": 9950
},
{
"baidu": 3,
"author": "吳錫疇",
"title": "僮諭",
"so360": 29,
"bing": 3960000,
"bing_en": 18100,
"google": 640
},
{
"baidu": 7,
"author": "吳錫疇",
"title": "遇梅初花",
"so360": 25,
"bing": 18700,
"bing_en": 21000,
"google": 2410
},
{
"baidu": 26,
"author": "吳錫疇",
"title": "秋日",
"so360": 233,
"bing": 2270000,
"bing_en": 7830,
"google": 58600
},
{
"baidu": 3,
"author": "吳錫疇",
"title": "聞笛",
"so360": 59,
"bing": 13800,
"bing_en": 20700,
"google": 2190
},
{
"baidu": 3,
"author": "吳錫疇",
"title": "楊花 其一",
"so360": 52,
"bing": 52500,
"bing_en": 6260,
"google": 4430
},
{
"baidu": 3,
"author": "吳錫疇",
"title": "楊花 其二",
"so360": 37,
"bing": 52500,
"bing_en": 5610,
"google": 3800
},
{
"baidu": 8,
"author": "吳錫疇",
"title": "次韻答吳仲山",
"so360": 50,
"bing": 18400,
"bing_en": 734,
"google": 8430
},
{
"baidu": 12,
"author": "吳錫疇",
"title": "舟中",
"so360": 260,
"bing": 71500,
"bing_en": 32700,
"google": 7530
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "次韻題純老房竹",
"so360": 29,
"bing": 287000,
"bing_en": 3510,
"google": 25400
},
{
"baidu": 11,
"author": "吳錫疇",
"title": "元日",
"so360": 354,
"bing": 8370000,
"bing_en": 7500,
"google": 57000
},
{
"baidu": 3,
"author": "吳錫疇",
"title": "臨川憶舊",
"so360": 18,
"bing": 15600,
"bing_en": 7200,
"google": 289
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "擘蟹",
"so360": 31,
"bing": 12600,
"bing_en": 16800,
"google": 1460
},
{
"baidu": 3,
"author": "吳錫疇",
"title": "次韻逢原偶興",
"so360": 48,
"bing": 15700,
"bing_en": 134,
"google": 9540
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "晚晴",
"so360": 81,
"bing": 172000,
"bing_en": 917,
"google": 3110
},
{
"baidu": 9,
"author": "吳錫疇",
"title": "還友人詩卷",
"so360": 65,
"bing": 13100,
"bing_en": 11800,
"google": 30200
},
{
"baidu": 7,
"author": "吳錫疇",
"title": "籠鶴",
"so360": 23,
"bing": 12800,
"bing_en": 21000,
"google": 4020
},
{
"baidu": 31,
"author": "吳錫疇",
"title": "送春 其一",
"so360": 24,
"bing": 18200,
"bing_en": 32400,
"google": 26200
},
{
"baidu": 18,
"author": "吳錫疇",
"title": "送春 其二",
"so360": 20,
"bing": 16700,
"bing_en": 32400,
"google": 24200
},
{
"baidu": 25,
"author": "吳錫疇",
"title": "送春 其三",
"so360": 20,
"bing": 73500,
"bing_en": 21000,
"google": 25600
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "九日集客",
"so360": 33,
"bing": 64600,
"bing_en": 21100,
"google": 1370
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "聽雨",
"so360": 41,
"bing": 65000,
"bing_en": 21100,
"google": 4650
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "次韻謝元壽",
"so360": 22,
"bing": 22900,
"bing_en": 44,
"google": 495
},
{
"baidu": 444,
"author": "吳錫疇",
"title": "贈寫照陳生",
"so360": 18,
"bing": 16600,
"bing_en": 1310,
"google": 31600
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "山中雜言 其一",
"so360": 50,
"bing": 25100,
"bing_en": 4810,
"google": 4890
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "山中雜言 其二",
"so360": 50,
"bing": 20600,
"bing_en": 4220,
"google": 4290
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "山中雜言 其三",
"so360": 15,
"bing": 244000,
"bing_en": 21000,
"google": 4810
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "山中雜言 其四",
"so360": 13,
"bing": 205000,
"bing_en": 21000,
"google": 4630
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "山中雜言 其五",
"so360": 52,
"bing": 195000,
"bing_en": 21000,
"google": 4560
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "山中雜言 其六",
"so360": 22,
"bing": 150000,
"bing_en": 21000,
"google": 4730
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "山中雜言 其七",
"so360": 9,
"bing": 132000,
"bing_en": 21000,
"google": 4440
},
{
"baidu": 7,
"author": "吳錫疇",
"title": "次韻題璜原僧舍",
"so360": 22,
"bing": 575000,
"bing_en": 1420,
"google": 10100
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "寂寂",
"so360": 97,
"bing": 103000,
"bing_en": 7680,
"google": 4200
},
{
"baidu": 8,
"author": "吳錫疇",
"title": "鸂鶒",
"so360": 26500,
"bing": 12400,
"bing_en": 1290,
"google": 787
},
{
"baidu": 15,
"author": "吳錫疇",
"title": "桂花",
"so360": 83,
"bing": 3670,
"bing_en": 4660,
"google": 5340
},
{
"baidu": 13,
"author": "吳錫疇",
"title": "次韻寫興",
"so360": 36,
"bing": 14300,
"bing_en": 5200,
"google": 13000
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "老境",
"so360": 287,
"bing": 131000,
"bing_en": 1530,
"google": 1780
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "客枕聞鵑",
"so360": 61,
"bing": 12900,
"bing_en": 16400,
"google": 3280
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "尋梅",
"so360": 47,
"bing": 15200,
"bing_en": 21100,
"google": 3680
},
{
"baidu": 17,
"author": "吳錫疇",
"title": "晚春喜友人至",
"so360": 67,
"bing": 12300,
"bing_en": 832,
"google": 648
},
{
"baidu": 3,
"author": "吳錫疇",
"title": "竹洲重葺仁壽堂",
"so360": 16,
"bing": 12500,
"bing_en": 10,
"google": 629
},
{
"baidu": 7,
"author": "吳錫疇",
"title": "雨中過昱嶺",
"so360": 25,
"bing": 12800,
"bing_en": 27,
"google": 9200
},
{
"baidu": 3,
"author": "吳錫疇",
"title": "湖上聞鵑",
"so360": 25,
"bing": 12500,
"bing_en": 142,
"google": 1550
},
{
"baidu": 3,
"author": "吳錫疇",
"title": "獨酌",
"so360": 78,
"bing": 15600,
"bing_en": 2980,
"google": 4320
},
{
"baidu": 6,
"author": "吳錫疇",
"title": "秋懷",
"so360": 55,
"bing": 75400,
"bing_en": 21000,
"google": 4400
},
{
"baidu": 6,
"author": "吳錫疇",
"title": "悼鶴",
"so360": 24,
"bing": 14200,
"bing_en": 20400,
"google": 2170
},
{
"baidu": 8,
"author": "吳錫疇",
"title": "次韻孫艮夫贈別 其一",
"so360": 47,
"bing": 12800,
"bing_en": 8,
"google": 725
},
{
"baidu": 8,
"author": "吳錫疇",
"title": "次韻孫艮夫贈別 其二",
"so360": 47,
"bing": 12800,
"bing_en": 8,
"google": 907
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "次韻葉介夫",
"so360": 27,
"bing": 14700,
"bing_en": 361,
"google": 7670
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "秋夜",
"so360": 101,
"bing": 576000,
"bing_en": 5320,
"google": 6240
},
{
"baidu": 2480,
"author": "吳錫疇",
"title": "荆溪舟中對月",
"so360": 43,
"bing": 14400,
"bing_en": 17400,
"google": 936
},
{
"baidu": 10,
"author": "吳錫疇",
"title": "姑蘇晚泊",
"so360": 58,
"bing": 23500,
"bing_en": 4970,
"google": 5740
},
{
"baidu": 8,
"author": "吳錫疇",
"title": "山行",
"so360": 52,
"bing": 95900,
"bing_en": 33100,
"google": 3100
},
{
"baidu": 26,
"author": "吳錫疇",
"title": "醉起",
"so360": 16,
"bing": 44300,
"bing_en": 32500,
"google": 14900
},
{
"baidu": 19,
"author": "吳錫疇",
"title": "嚴灘",
"so360": 532,
"bing": 13600,
"bing_en": 20700,
"google": 2980
},
{
"baidu": 3,
"author": "吳錫疇",
"title": "新城",
"so360": 35,
"bing": 9590,
"bing_en": 23500,
"google": 550
},
{
"baidu": 7,
"author": "吳錫疇",
"title": "晚山",
"so360": 69,
"bing": 98100,
"bing_en": 22000,
"google": 23100
},
{
"baidu": 3,
"author": "吳錫疇",
"title": "夜感",
"so360": 631,
"bing": 63500,
"bing_en": 21100,
"google": 16900
},
{
"baidu": 143,
"author": "吳錫疇",
"title": "憑欄",
"so360": 103,
"bing": 8470,
"bing_en": 2250,
"google": 472
},
{
"baidu": 41,
"author": "吳錫疇",
"title": "無弦古琴",
"so360": 23,
"bing": 12600,
"bing_en": 843,
"google": 29100
},
{
"baidu": 29,
"author": "吳錫疇",
"title": "偶成 其一",
"so360": 47,
"bing": 14300,
"bing_en": 21100,
"google": 4820
},
{
"baidu": 17,
"author": "吳錫疇",
"title": "偶成 其二",
"so360": 37,
"bing": 13700,
"bing_en": 21100,
"google": 4590
},
{
"baidu": 9,
"author": "吳錫疇",
"title": "多景樓",
"so360": 26600,
"bing": 108000,
"bing_en": 21000,
"google": 4250
},
{
"baidu": 11,
"author": "吳錫疇",
"title": "姑蘇臺",
"so360": 23,
"bing": 50300,
"bing_en": 6780,
"google": 3210
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "三高祠",
"so360": 26600,
"bing": 3310000,
"bing_en": 49,
"google": 28800
},
{
"baidu": 7,
"author": "吳錫疇",
"title": "旅舟度歲呈范堯臣",
"so360": 87,
"bing": 12400,
"bing_en": 44,
"google": 1120
},
{
"baidu": 180,
"author": "吳錫疇",
"title": "夏日",
"so360": 334,
"bing": 17300000,
"bing_en": 9400,
"google": 36500
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "菊邊持螯",
"so360": 21,
"bing": 34100,
"bing_en": 162,
"google": 1370
},
{
"baidu": 2,
"author": "吳錫疇",
"title": "對月有懷",
"so360": 35,
"bing": 489000,
"bing_en": 21000,
"google": 3420
},
{
"baidu": 10,
"author": "吳錫疇",
"title": "哭趙成德",
"so360": 11,
"bing": 27000,
"bing_en": 2660,
"google": 446
},
{
"baidu": 10,
"author": "吳錫疇",
"title": "重午於潛道中",
"so360": 2,
"bing": 14000,
"bing_en": 13,
"google": 16000
},
{
"baidu": 9,
"author": "吳錫疇",
"title": "六和塔",
"so360": 29,
"bing": 12300,
"bing_en": 21000,
"google": 18800
},
{
"baidu": 96,
"author": "吳錫疇",
"title": "次韻汪仁甫",
"so360": 32,
"bing": 14200,
"bing_en": 83,
"google": 664
},
{
"baidu": 13,
"author": "吳錫疇",
"title": "結屋",
"so360": 47,
"bing": 14800,
"bing_en": 21100,
"google": 1150
},
{
"baidu": 7,
"author": "吳錫疇",
"title": "夜雨",
"so360": 150,
"bing": 807000,
"bing_en": 987,
"google": 6560
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "客思",
"so360": 42,
"bing": 100000,
"bing_en": 21100,
"google": 4590
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "藍溪道中",
"so360": 15,
"bing": 32400,
"bing_en": 6230,
"google": 2700
},
{
"baidu": 11,
"author": "吳錫疇",
"title": "看山",
"so360": 84,
"bing": 309000,
"bing_en": 32800,
"google": 5470
},
{
"baidu": 136,
"author": "吳錫疇",
"title": "秋來",
"so360": 74,
"bing": 218000,
"bing_en": 4090,
"google": 6340
},
{
"baidu": 3,
"author": "吳錫疇",
"title": "九日",
"so360": 65,
"bing": 447000,
"bing_en": 21500,
"google": 11700
},
{
"baidu": 4,
"author": "吳錫疇",
"title": "江氏靜山堂",
"so360": 30,
"bing": 26600,
"bing_en": 792,
"google": 1560
},
{
"baidu": 2,
"author": "吳錫疇",
"title": "楚東歲暮",
"so360": 51,
"bing": 15800,
"bing_en": 4500,
"google": 609
},
{
"baidu": 3,
"author": "吳錫疇",
"title": "重題釣臺",
"so360": 21,
"bing": 12900,
"bing_en": 20400,
"google": 4110
},
{
"baidu": 27,
"author": "吳錫疇",
"title": "除夜 其一",
"so360": 20,
"bing": 1160000,
"bing_en": 4800,
"google": 489
},
{
"baidu": 13,
"author": "吳錫疇",
"title": "除夜 其二",
"so360": 9,
"bing": 636000,
"bing_en": 4130,
"google": 419
},
{
"baidu": 94,
"author": "吳錫疇",
"title": "冬日 其一",
"so360": 580,
"bing": 14000,
"bing_en": 10300,
"google": 6250
},
{
"baidu": 94,
"author": "吳錫疇",
"title": "冬日 其二",
"so360": 534,
"bing": 13300,
"bing_en": 9400,
"google": 6040
},
{
"baidu": 92,
"author": "吳錫疇",
"title": "冬日 其三",
"so360": 923,
"bing": 32100,
"bing_en": 21300,
"google": 6290
},
{
"baidu": 9,
"author": "吳錫疇",
"title": "癸酉元日",
"so360": 155,
"bing": 8930000,
"bing_en": 2670,
"google": 3050
},
{
"baidu": 11,
"author": "吳錫疇",
"title": "琴枕",
"so360": 19,
"bing": 18500,
"bing_en": 20900,
"google": 4790
},
{
"baidu": 44,
"author": "吳錫疇",
"title": "別吳仲俊",
"so360": 153,
"bing": 367000,
"bing_en": 20400,
"google": 1310
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "山居寂寥與世如隔是非不到榮辱兩忘因憶秋崖工部嘗教以我愛山居好十詩追次其韻聊寫窮山之趣 其一",
"so360": 151,
"bing": 48,
"bing_en": 13,
"google": 1840
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "山居寂寥與世如隔是非不到榮辱兩忘因憶秋崖工部嘗教以我愛山居好十詩追次其韻聊寫窮山之趣 其二",
"so360": 151,
"bing": 55,
"bing_en": 13,
"google": 1840
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "山居寂寥與世如隔是非不到榮辱兩忘因憶秋崖工部嘗教以我愛山居好十詩追次其韻聊寫窮山之趣 其三",
"so360": 151,
"bing": 604,
"bing_en": 25,
"google": 1840
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "山居寂寥與世如隔是非不到榮辱兩忘因憶秋崖工部嘗教以我愛山居好十詩追次其韻聊寫窮山之趣 其四",
"so360": 151,
"bing": 603,
"bing_en": 27,
"google": 1840
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "山居寂寥與世如隔是非不到榮辱兩忘因憶秋崖工部嘗教以我愛山居好十詩追次其韻聊寫窮山之趣 其五",
"so360": 151,
"bing": 604,
"bing_en": 27,
"google": 1840
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "山居寂寥與世如隔是非不到榮辱兩忘因憶秋崖工部嘗教以我愛山居好十詩追次其韻聊寫窮山之趣 其六",
"so360": 151,
"bing": 604,
"bing_en": 26,
"google": 1840
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "山居寂寥與世如隔是非不到榮辱兩忘因憶秋崖工部嘗教以我愛山居好十詩追次其韻聊寫窮山之趣 其七",
"so360": 151,
"bing": 603,
"bing_en": 27,
"google": 1840
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "山居寂寥與世如隔是非不到榮辱兩忘因憶秋崖工部嘗教以我愛山居好十詩追次其韻聊寫窮山之趣 其八",
"so360": 151,
"bing": 604,
"bing_en": 27,
"google": 1840
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "山居寂寥與世如隔是非不到榮辱兩忘因憶秋崖工部嘗教以我愛山居好十詩追次其韻聊寫窮山之趣 其九",
"so360": 151,
"bing": 604,
"bing_en": 26,
"google": 1840
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "山居寂寥與世如隔是非不到榮辱兩忘因憶秋崖工部嘗教以我愛山居好十詩追次其韻聊寫窮山之趣 其一○",
"so360": 151,
"bing": 70,
"bing_en": 14,
"google": 1840
},
{
"baidu": 3,
"author": "吳錫疇",
"title": "對雪",
"so360": 60,
"bing": 188000,
"bing_en": 21000,
"google": 4870
},
{
"baidu": 10,
"author": "吳錫疇",
"title": "友人幽居",
"so360": 34,
"bing": 13600,
"bing_en": 2920,
"google": 2340
},
{
"baidu": 5,
"author": "吳錫疇",
"title": "對燈詠感",
"so360": 24,
"bing": 20700,
"bing_en": 20400,
"google": 5590
},
{
"baidu": 31,
"author": "趙順孫",
"title": "詩一首",
"so360": 477,
"bing": 1560000,
"bing_en": 34500,
"google": 8840
},
{
"baidu": 7,
"author": "趙順孫",
"title": "小松",
"so360": 39,
"bing": 128000,
"bing_en": 21600,
"google": 536
},
{
"baidu": 3,
"author": "趙順孫",
"title": "建回吟",
"so360": 50,
"bing": 485000,
"bing_en": 22200,
"google": 9040
},
{
"baidu": 8,
"author": "趙順孫",
"title": "染疾吟",
"so360": 13,
"bing": 485000,
"bing_en": 21500,
"google": 734
},
{
"baidu": 6,
"author": "趙順孫",
"title": "傷景吟",
"so360": 12,
"bing": 69400,
"bing_en": 21600,
"google": 2490
},
{
"baidu": 2,
"author": "趙順孫",
"title": "病篤吟",
"so360": 17,
"bing": 388000,
"bing_en": 3670,
"google": 374
},
{
"baidu": 34,
"author": "趙順孫",
"title": "感情吟",
"so360": 28,
"bing": 542000,
"bing_en": 21100,
"google": 502
},
{
"baidu": 11,
"author": "清溪沅禪師",
"title": "辭世偈",
"so360": 167,
"bing": 13100,
"bing_en": 38,
"google": 9130
},
{
"baidu": 0,
"author": "俞君選",
"title": "送硯與吳元真廣文",
"so360": 21,
"bing": 842000,
"bing_en": 69,
"google": 48
},
{
"baidu": 11,
"author": "章鑑",
"title": "送道士歸得日觀",
"so360": 18,
"bing": 23800,
"bing_en": 100,
"google": 4070000
},
{
"baidu": 38,
"author": "章鑑",
"title": "杭山",
"so360": 227,
"bing": 2450,
"bing_en": 27300,
"google": 3260000
},
{
"baidu": 14,
"author": "章鑑",
"title": "過毛竹山",
"so360": 29,
"bing": 31400,
"bing_en": 1420,
"google": 159000
},
{
"baidu": 17,
"author": "章鑑",
"title": "杭山八景 其一",
"so360": 108,
"bing": 9240,
"bing_en": 17500,
"google": 495000
},
{
"baidu": 17,
"author": "章鑑",
"title": "杭山八景 其二",
"so360": 108,
"bing": 6750,
"bing_en": 15500,
"google": 496000
},
{
"baidu": 17,
"author": "章鑑",
"title": "杭山八景 其三",
"so360": 109,
"bing": 16100,
"bing_en": 20900,
"google": 129000
},
{
"baidu": 17,
"author": "章鑑",
"title": "杭山八景 其四",
"so360": 591,
"bing": 16100,
"bing_en": 20300,
"google": 492000
},
{
"baidu": 18,
"author": "章鑑",
"title": "杭山八景 其五",
"so360": 612,
"bing": 16100,
"bing_en": 20300,
"google": 476000
},
{
"baidu": 17,
"author": "章鑑",
"title": "杭山八景 其六",
"so360": 618,
"bing": 16100,
"bing_en": 19900,
"google": 110000
},
{
"baidu": 17,
"author": "章鑑",
"title": "杭山八景 其七",
"so360": 11,
"bing": 16100,
"bing_en": 19200,
"google": 480000
},
{
"baidu": 18,
"author": "章鑑",
"title": "杭山八景 其八",
"so360": 597,
"bing": 14100,
"bing_en": 20100,
"google": 486000
},
{
"baidu": 3,
"author": "王朝佐",
"title": "清輝堂",
"so360": 24,
"bing": 1170000,
"bing_en": 101,
"google": 48900
},
{
"baidu": 7,
"author": "王朝佐",
"title": "敬軒",
"so360": 37,
"bing": 25400,
"bing_en": 8650,
"google": 72900
},
{
"baidu": 46,
"author": "王朝佐",
"title": "題英藪山房",
"so360": 29,
"bing": 434000,
"bing_en": 100,
"google": 43300
},
{
"baidu": 29,
"author": "王朝佐",
"title": "送林道會歸平陽",
"so360": 30,
"bing": 447000,
"bing_en": 999,
"google": 77900
},
{
"baidu": 41,
"author": "王朝佐",
"title": "貞義女祠",
"so360": 33,
"bing": 109000,
"bing_en": 310,
"google": 999
},
{
"baidu": 3,
"author": "車若水",
"title": "呈立齋先生",
"so360": 27,
"bing": 25100,
"bing_en": 18000,
"google": 599000
},
{
"baidu": 3,
"author": "車若水",
"title": "玉澗尋梅思先祖隘軒著書處",
"so360": 18,
"bing": 2770,
"bing_en": 39,
"google": 1550
},
{
"baidu": 11,
"author": "車若水",
"title": "思遠",
"so360": 26,
"bing": 1660000,
"bing_en": 3090,
"google": 12500
},
{
"baidu": 3,
"author": "車若水",
"title": "儳言",
"so360": 17,
"bing": 12300,
"bing_en": 21,
"google": 3920
},
{
"baidu": 16,
"author": "車若水",
"title": "偶書呈雪溪葛守正",
"so360": 24,
"bing": 56700,
"bing_en": 46,
"google": 6980
},
{
"baidu": 23,
"author": "車若水",
"title": "不寐",
"so360": 533,
"bing": 157000,
"bing_en": 12300,
"google": 139000
},
{
"baidu": 4,
"author": "車若水",
"title": "見篔窗先生",
"so360": 603,
"bing": 18000,
"bing_en": 41,
"google": 7860
},
{
"baidu": 2,
"author": "車若水",
"title": "寄鮑府教宏博",
"so360": 33,
"bing": 38800,
"bing_en": 8670,
"google": 263000
},
{
"baidu": 3,
"author": "車若水",
"title": "慟立齋先生",
"so360": 37,
"bing": 17900,
"bing_en": 9,
"google": 572000
},
{
"baidu": 10,
"author": "車若水",
"title": "江湖偉觀",
"so360": 23,
"bing": 113000,
"bing_en": 95,
"google": 793000
},
{
"baidu": 5,
"author": "車若水",
"title": "小溪道中時己亥荒甚",
"so360": 64,
"bing": 8360,
"bing_en": 74,
"google": 13200
},
{
"baidu": 90,
"author": "車若水",
"title": "與史宰山泉",
"so360": 24,
"bing": 16200,
"bing_en": 2120,
"google": 385000
},
{
"baidu": 59,
"author": "車若水",
"title": "庚申",
"so360": 55,
"bing": 14400,
"bing_en": 10500,
"google": 245000
},
{
"baidu": 6,
"author": "車若水",
"title": "和立齋先生雁山韻",
"so360": 28,
"bing": 11100,
"bing_en": 136,
"google": 494000
},
{
"baidu": 5,
"author": "車若水",
"title": "遊靈巖",
"so360": 37,
"bing": 86000,
"bing_en": 20000,
"google": 471000
},
{
"baidu": 15,
"author": "車若水",
"title": "明妃",
"so360": 19,
"bing": 25400,
"bing_en": 20800,
"google": 562000
},
{
"baidu": 4,
"author": "車若水",
"title": "中秋有感",
"so360": 556,
"bing": 1210000,
"bing_en": 12700,
"google": 342000
},
{
"baidu": 4,
"author": "車若水",
"title": "寄瑞巖老煜無取",
"so360": 16,
"bing": 12300,
"bing_en": 3570,
"google": 320000
},
{
"baidu": 7,
"author": "車若水",
"title": "句",
"so360": 4250,
"bing": 175000,
"bing_en": 22500,
"google": 1600000
},
{
"baidu": 10,
"author": "王庭",
"title": "明堂侍祠十絕 其一",
"so360": 29,
"bing": 12900,
"bing_en": 21100,
"google": 461000
},
{
"baidu": 6,
"author": "王庭",
"title": "明堂侍祠十絕 其二",
"so360": 29,
"bing": 12700,
"bing_en": 21000,
"google": 479000
},
{
"baidu": 2,
"author": "王庭",
"title": "明堂侍祠十絕 其三",
"so360": 512,
"bing": 14300,
"bing_en": 21500,
"google": 459000
},
{
"baidu": 10,
"author": "王庭",
"title": "明堂侍祠十絕 其四",
"so360": 499,
"bing": 14300,
"bing_en": 21500,
"google": 471000
},
{
"baidu": 3,
"author": "王庭",
"title": "明堂侍祠十絕 其五",
"so360": 64,
"bing": 14300,
"bing_en": 21500,
"google": 467000
},
{
"baidu": 6,
"author": "王庭",
"title": "明堂侍祠十絕 其六",
"so360": 443,
"bing": 14200,
"bing_en": 21400,
"google": 455000
},
{
"baidu": 10,
"author": "王庭",
"title": "明堂侍祠十絕 其七",
"so360": 29,
"bing": 14100,
"bing_en": 21400,
"google": 464000
},
{
"baidu": 6,
"author": "王庭",
"title": "明堂侍祠十絕 其八",
"so360": 65,
"bing": 14200,
"bing_en": 21400,
"google": 450000
},
{
"baidu": 2,
"author": "王庭",
"title": "明堂侍祠十絕 其九",
"so360": 69,
"bing": 14100,
"bing_en": 21400,
"google": 464000
},
{
"baidu": 3,
"author": "王庭",
"title": "明堂侍祠十絕 其一○",
"so360": 29,
"bing": 13200,
"bing_en": 21100,
"google": 40800
},
{
"baidu": 8,
"author": "趙卯發",
"title": "裂衣書詩寄弟",
"so360": 41,
"bing": 12500,
"bing_en": 62,
"google": 622
},
{
"baidu": 2,
"author": "趙卯發",
"title": "題於壁",
"so360": 99,
"bing": 82600,
"bing_en": 131,
"google": 1360
},
{
"baidu": 1,
"author": "顔得遇",
"title": "招撫峒猺歌",
"so360": 44,
"bing": 12300,
"bing_en": 4,
"google": 55500
},
{
"baidu": 5,
"author": "虞兟",
"title": "鹿鳴宴",
"so360": 16,
"bing": 31200,
"bing_en": 0,
"google": 31500
},
{
"baidu": 100,
"author": "鄧道樞",
"title": "送林道士歸茅山",
"so360": 20,
"bing": 12500,
"bing_en": 66,
"google": 3870
},
{
"baidu": 7,
"author": "姚勉",
"title": "春日即事",
"so360": 76,
"bing": 4050,
"bing_en": 21100,
"google": 1010000
},
{
"baidu": 1,
"author": "姚勉",
"title": "花下聞鶑",
"so360": 526,
"bing": 72600,
"bing_en": 14100,
"google": 172000
},
{
"baidu": 9320,
"author": "姚勉",
"title": "催海棠二首 其一",
"so360": 90,
"bing": 14600,
"bing_en": 21100,
"google": 703000
},
{
"baidu": 11800,
"author": "姚勉",
"title": "催海棠二首 其二",
"so360": 85,
"bing": 14000,
"bing_en": 21100,
"google": 118000
},
{
"baidu": 19,
"author": "姚勉",
"title": "海棠一夜爲風吹盡三首 其一",
"so360": 28,
"bing": 2660,
"bing_en": 12200,
"google": 18500
},
{
"baidu": 24,
"author": "姚勉",
"title": "海棠一夜爲風吹盡三首 其二",
"so360": 28,
"bing": 2380,
"bing_en": 12200,
"google": 18900
},
{
"baidu": 18,
"author": "姚勉",
"title": "海棠一夜爲風吹盡三首 其三",
"so360": 486,
"bing": 56300,
"bing_en": 9880,
"google": 12000
},
{
"baidu": 3,
"author": "姚勉",
"title": "海棠落盡葉間猶見數花",
"so360": 20,
"bing": 14100,
"bing_en": 8750,
"google": 375000
},
{
"baidu": 7,
"author": "姚勉",
"title": "花障",
"so360": 22,
"bing": 8770,
"bing_en": 1420,
"google": 1320000
},
{
"baidu": 6,
"author": "姚勉",
"title": "綠陰",
"so360": 193,
"bing": 12300,
"bing_en": 21200,
"google": 48900
},
{
"baidu": 64,
"author": "姚勉",
"title": "晝步江村",
"so360": 61,
"bing": 18800,
"bing_en": 21000,
"google": 70700
},
{
"baidu": 59,
"author": "姚勉",
"title": "山中",
"so360": 1090,
"bing": 9420,
"bing_en": 21800,
"google": 248000
},
{
"baidu": 7,
"author": "姚勉",
"title": "豫章道間",
"so360": 15,
"bing": 7870,
"bing_en": 21100,
"google": 3170000
},
{
"baidu": 13,
"author": "姚勉",
"title": "書塘浦橋壁",
"so360": 19,
"bing": 44100,
"bing_en": 21300,
"google": 634000
},
{
"baidu": 5,
"author": "姚勉",
"title": "題桂籍",
"so360": 39,
"bing": 7910,
"bing_en": 678,
"google": 2050000
},
{
"baidu": 3,
"author": "姚勉",
"title": "廷唱日待漏麗正門",
"so360": 13,
"bing": 77000,
"bing_en": 77,
"google": 89200
},
{
"baidu": 657,
"author": "姚勉",
"title": "鏡齋相士求詩二首 其一",
"so360": 19,
"bing": 11300,
"bing_en": 6250,
"google": 2410000
},
{
"baidu": 96,
"author": "姚勉",
"title": "鏡齋相士求詩二首 其二",
"so360": 19,
"bing": 6320,
"bing_en": 5150,
"google": 3200000
},
{
"baidu": 4,
"author": "姚勉",
"title": "贈賈相士",
"so360": 18,
"bing": 1670,
"bing_en": 1920,
"google": 1290000
},
{
"baidu": 10,
"author": "姚勉",
"title": "謝田賢良送蓮藕",
"so360": 50,
"bing": 12300,
"bing_en": 116,
"google": 340000
},
{
"baidu": 16,
"author": "姚勉",
"title": "遊湖",
"so360": 54,
"bing": 13800,
"bing_en": 1420,
"google": 1160000
},
{
"baidu": 3,
"author": "姚勉",
"title": "玉井亭觀蓮",
"so360": 15,
"bing": 84,
"bing_en": 21200,
"google": 53900
},
{
"baidu": 3,
"author": "姚勉",
"title": "題江山風月樓三首 其一",
"so360": 2710,
"bing": 1530000,
"bing_en": 13800,
"google": 2240000
},
{
"baidu": 3,
"author": "姚勉",
"title": "題江山風月樓三首 其二",
"so360": 2710,
"bing": 1530000,
"bing_en": 13300,
"google": 1650000
},
{
"baidu": 3,
"author": "姚勉",
"title": "題江山風月樓三首 其三",
"so360": 2710,
"bing": 333000,
"bing_en": 21100,
"google": 2310000
},
{
"baidu": 3,
"author": "姚勉",
"title": "題梅谷詩藁",
"so360": 43,
"bing": 81900,
"bing_en": 102,
"google": 135
},
{
"baidu": 4,
"author": "姚勉",
"title": "丙辰冬和樂魁聲道四詩 其一",
"so360": 44,
"bing": 11300,
"bing_en": 34,
"google": 6550
},
{
"baidu": 4,
"author": "姚勉",
"title": "丙辰冬和樂魁聲道四詩 其二",
"so360": 44,
"bing": 11300,
"bing_en": 41,
"google": 5540
},
{
"baidu": 4,
"author": "姚勉",
"title": "丙辰冬和樂魁聲道四詩 其三",
"so360": 44,
"bing": 11300,
"bing_en": 17500,
"google": 5620
},
{
"baidu": 4,
"author": "姚勉",
"title": "丙辰冬和樂魁聲道四詩 其四",
"so360": 44,
"bing": 11300,
"bing_en": 17500,
"google": 7150
},
{
"baidu": 98,
"author": "姚勉",
"title": "雪中雪坡十憶 其一",
"so360": 46,
"bing": 14900,
"bing_en": 21100,
"google": 3340000
},
{
"baidu": 1050,
"author": "姚勉",
"title": "雪中雪坡十憶 其二",
"so360": 46,
"bing": 14900,
"bing_en": 2860,
"google": 3440000
},
{
"baidu": 97,
"author": "姚勉",
"title": "雪中雪坡十憶 其三",
"so360": 49,
"bing": 12900,
"bing_en": 21100,
"google": 3760000
},
{
"baidu": 88,
"author": "姚勉",
"title": "雪中雪坡十憶 其四",
"so360": 11,
"bing": 12900,
"bing_en": 21100,
"google": 2660000
},
{
"baidu": 84,
"author": "姚勉",
"title": "雪中雪坡十憶 其五",
"so360": 33,
"bing": 12900,
"bing_en": 21100,
"google": 3360000
},
{
"baidu": 76,
"author": "姚勉",
"title": "雪中雪坡十憶 其六",
"so360": 41,
"bing": 12900,
"bing_en": 21100,
"google": 2400000
},
{
"baidu": 79,
"author": "姚勉",
"title": "雪中雪坡十憶 其七",
"so360": 26,
"bing": 12800,
"bing_en": 21100,
"google": 3120000
},
{
"baidu": 71,
"author": "姚勉",
"title": "雪中雪坡十憶 其八",
"so360": 63,
"bing": 12900,
"bing_en": 21300,
"google": 5690000
},
{
"baidu": 76,
"author": "姚勉",
"title": "雪中雪坡十憶 其九",
"so360": 51,
"bing": 12900,
"bing_en": 21300,
"google": 2920000
},
{
"baidu": 79,
"author": "姚勉",
"title": "雪中雪坡十憶 其一○",
"so360": 46,
"bing": 2790,
"bing_en": 21100,
"google": 753000
},
{
"baidu": 1,
"author": "姚勉",
"title": "題雲窗",
"so360": 608,
"bing": 12500,
"bing_en": 21400,
"google": 1460000
},
{
"baidu": 37,
"author": "姚勉",
"title": "贈畫師二首 其一",
"so360": 417,
"bing": 23900,
"bing_en": 6510,
"google": 505000
},
{
"baidu": 33,
"author": "姚勉",
"title": "贈畫師二首 其二",
"so360": 394,
"bing": 23900,
"bing_en": 5870,
"google": 505000
},
{
"baidu": 8,
"author": "姚勉",
"title": "贈石工二首 其一",
"so360": 36,
"bing": 11400,
"bing_en": 8740,
"google": 4170000
},
{
"baidu": 13,
"author": "姚勉",
"title": "贈石工二首 其二",
"so360": 38,
"bing": 9890,
"bing_en": 7140,
"google": 3930000
},
{
"baidu": 2,
"author": "姚勉",
"title": "章釣仙吹鐵笛善醫眼與齒相說法尤高 其一",
"so360": 29,
"bing": 600,
"bing_en": 1890,
"google": 238000
},
{
"baidu": 3,
"author": "姚勉",
"title": "章釣仙吹鐵笛善醫眼與齒相說法尤高 其二",
"so360": 29,
"bing": 588,
"bing_en": 2140,
"google": 238000
},
{
"baidu": 3,
"author": "姚勉",
"title": "章釣仙吹鐵笛善醫眼與齒相說法尤高 其三",
"so360": 29,
"bing": 12300,
"bing_en": 19000,
"google": 238000
},
{
"baidu": 8,
"author": "姚勉",
"title": "贈吳相士二首 其一",
"so360": 27,
"bing": 12500,
"bing_en": 4870,
"google": 894
},
{
"baidu": 9,
"author": "姚勉",
"title": "贈吳相士二首 其二",
"so360": 27,
"bing": 11800,
"bing_en": 4210,
"google": 1190
},
{
"baidu": 7,
"author": "姚勉",
"title": "贈高眼陳相士",
"so360": 182,
"bing": 13100,
"bing_en": 25,
"google": 726
},
{
"baidu": 39,
"author": "姚勉",
"title": "再贈",
"so360": 47,
"bing": 13100,
"bing_en": 21400,
"google": 1810000
},
{
"baidu": 14,
"author": "姚勉",
"title": "贈尋賢相士",
"so360": 28,
"bing": 10400,
"bing_en": 4880,
"google": 2630000
},
{
"baidu": 7,
"author": "姚勉",
"title": "殿直求賦狀元遊六街詩",
"so360": 13,
"bing": 25600,
"bing_en": 148,
"google": 1370000
},
{
"baidu": 0,
"author": "姚勉",
"title": "離京留題蔣店 其一",
"so360": 28,
"bing": 28500,
"bing_en": 2410,
"google": 3280
},
{
"baidu": 0,
"author": "姚勉",
"title": "離京留題蔣店 其二",
"so360": 28,
"bing": 28500,
"bing_en": 2190,
"google": 2430
},
{
"baidu": 12,
"author": "姚勉",
"title": "宿珠橋見龍上天",
"so360": 13,
"bing": 5570,
"bing_en": 100,
"google": 445000
},
{
"baidu": 2,
"author": "姚勉",
"title": "贈李樞幹三首 其一",
"so360": 1660,
"bing": 13200,
"bing_en": 21100,
"google": 1520
},
{
"baidu": 2,
"author": "姚勉",
"title": "贈李樞幹三首 其二",
"so360": 1650,
"bing": 13000,
"bing_en": 21100,
"google": 1420
},
{
"baidu": 2,
"author": "姚勉",
"title": "贈李樞幹三首 其三",
"so360": 40,
"bing": 12300,
"bing_en": 21300,
"google": 237
},
{
"baidu": 6,
"author": "姚勉",
"title": "贈達齋術士二首 其一",
"so360": 20,
"bing": 19700,
"bing_en": 4780,
"google": 2050000
},
{
"baidu": 5,
"author": "姚勉",
"title": "贈達齋術士二首 其二",
"so360": 20,
"bing": 29200,
"bing_en": 4490,
"google": 1200000
},
{
"baidu": 10,
"author": "姚勉",
"title": "贈呂南叔談命二首 其一",
"so360": 19,
"bing": 12300,
"bing_en": 21000,
"google": 859
},
{
"baidu": 10,
"author": "姚勉",
"title": "贈呂南叔談命二首 其二",
"so360": 19,
"bing": 12300,
"bing_en": 1190,
"google": 1160
},
{
"baidu": 2,
"author": "姚勉",
"title": "再贈尋賢相士二首 其一",
"so360": 27,
"bing": 9080,
"bing_en": 6400,
"google": 2890000
},
{
"baidu": 2,
"author": "姚勉",
"title": "再贈尋賢相士二首 其二",
"so360": 27,
"bing": 9080,
"bing_en": 6130,
"google": 2730000
},
{
"baidu": 6,
"author": "姚勉",
"title": "再贈陳高眼二首 其一",
"so360": 23,
"bing": 736000,
"bing_en": 2520,
"google": 2610000
},
{
"baidu": 5,
"author": "姚勉",
"title": "再贈陳高眼二首 其二",
"so360": 23,
"bing": 736000,
"bing_en": 21100,
"google": 2400000
},
{
"baidu": 5,
"author": "姚勉",
"title": "贈蔣儒宗算星辰",
"so360": 12,
"bing": 48400,
"bing_en": 696,
"google": 879
},
{
"baidu": 4,
"author": "姚勉",
"title": "贈張山人談命",
"so360": 11,
"bing": 14500,
"bing_en": 17700,
"google": 3650000
},
{
"baidu": 4,
"author": "姚勉",
"title": "贈古鑑相士",
"so360": 13,
"bing": 33800,
"bing_en": 1340,
"google": 2470000
},
{
"baidu": 5,
"author": "姚勉",
"title": "贈趙碧眼相士",
"so360": 15,
"bing": 5730,
"bing_en": 74,
"google": 29000
},
{
"baidu": 14,
"author": "姚勉",
"title": "贈天台相士",
"so360": 210,
"bing": 12500,
"bing_en": 967,
"google": 499000
},
{
"baidu": 1,
"author": "姚勉",
"title": "贈鄒相士三首 其一",
"so360": 11,
"bing": 13900,
"bing_en": 2370,
"google": 169
},
{
"baidu": 1,
"author": "姚勉",
"title": "贈鄒相士三首 其二",
"so360": 11,
"bing": 13900,
"bing_en": 2280,
"google": 162
},
{
"baidu": 1,
"author": "姚勉",
"title": "贈鄒相士三首 其三",
"so360": 11,
"bing": 12800,
"bing_en": 21100,
"google": 157
},
{
"baidu": 3,
"author": "姚勉",
"title": "題小西湖",
"so360": 67,
"bing": 9680,
"bing_en": 21100,
"google": 528000
},
{
"baidu": 2,
"author": "姚勉",
"title": "再題小西湖 其一",
"so360": 65,
"bing": 16200,
"bing_en": 12000,
"google": 1560000
},
{
"baidu": 2,
"author": "姚勉",
"title": "再題小西湖 其二",
"so360": 64,
"bing": 15000,
"bing_en": 21100,
"google": 1540000
},
{
"baidu": 2,
"author": "姚勉",
"title": "再題小西湖 其三",
"so360": 63,
"bing": 59400,
"bing_en": 21100,
"google": 1530000
},
{
"baidu": 1,
"author": "姚勉",
"title": "題惠政橋",
"so360": 16,
"bing": 58200,
"bing_en": 4040,
"google": 3780000
},
{
"baidu": 1,
"author": "姚勉",
"title": "題藍橋",
"so360": 25,
"bing": 4500,
"bing_en": 1150,
"google": 664000
},
{
"baidu": 1,
"author": "姚勉",
"title": "題長沙鋪",
"so360": 386,
"bing": 16100,
"bing_en": 17900,
"google": 3910000
},
{
"baidu": 3,
"author": "姚勉",
"title": "題左國寶後村",
"so360": 16,
"bing": 23700,
"bing_en": 301,
"google": 462000
},
{
"baidu": 5,
"author": "姚勉",
"title": "題胡景顔雙清堂",
"so360": 10,
"bing": 12500,
"bing_en": 18,
"google": 27700
},
{
"baidu": 1,
"author": "姚勉",
"title": "題靈溪道旁水閣",
"so360": 6,
"bing": 12000,
"bing_en": 61,
"google": 2640000
},
{
"baidu": 2,
"author": "姚勉",
"title": "題崔莊庵壁 其一",
"so360": 19,
"bing": 8810,
"bing_en": 18600,
"google": 940
},
{
"baidu": 2,
"author": "姚勉",
"title": "題崔莊庵壁 其二",
"so360": 29,
"bing": 1310,
"bing_en": 21100,
"google": 917
},
{
"baidu": 3,
"author": "姚勉",
"title": "題月巖",
"so360": 16,
"bing": 756,
"bing_en": 21300,
"google": 855000
},
{
"baidu": 6,
"author": "姚勉",
"title": "題松風閣",
"so360": 21,
"bing": 81500,
"bing_en": 7300,
"google": 35500
},
{
"baidu": 1,
"author": "姚勉",
"title": "題鵲巢寺",
"so360": 29,
"bing": 15000,
"bing_en": 2540,
"google": 1780000
},
{
"baidu": 4,
"author": "姚勉",
"title": "孤山納凉",
"so360": 21,
"bing": 13800,
"bing_en": 3780,
"google": 421000
},
{
"baidu": 3,
"author": "姚勉",
"title": "遊冷泉亭宿四聖觀",
"so360": 17,
"bing": 11700,
"bing_en": 2410,
"google": 846
},
{
"baidu": 6,
"author": "姚勉",
"title": "題四聖觀小蓬萊",
"so360": 18,
"bing": 58600,
"bing_en": 13100,
"google": 2140
},
{
"baidu": 35,
"author": "姚勉",
"title": "四望亭觀荷花",
"so360": 1870,
"bing": 18900,
"bing_en": 2430,
"google": 2040000
},
{
"baidu": 2,
"author": "姚勉",
"title": "孤山聞木犀",
"so360": 23,
"bing": 3410,
"bing_en": 918,
"google": 300000
},
{
"baidu": 10,
"author": "姚勉",
"title": "木犀 其一",
"so360": 79,
"bing": 8710,
"bing_en": 21800,
"google": 1110000
},
{
"baidu": 8,
"author": "姚勉",
"title": "木犀 其二",
"so360": 83,
"bing": 8770,
"bing_en": 21600,
"google": 1120000
},
{
"baidu": 5,
"author": "姚勉",
"title": "木犀 其三",
"so360": 96,
"bing": 1450,
"bing_en": 41500,
"google": 1080000
},
{
"baidu": 79,
"author": "姚勉",
"title": "芙蓉",
"so360": 2920,
"bing": 14000,
"bing_en": 23200,
"google": 1690000
},
{
"baidu": 1,
"author": "姚勉",
"title": "遊下竺園",
"so360": 6320,
"bing": 34200,
"bing_en": 21300,
"google": 2360000
},
{
"baidu": 6,
"author": "姚勉",
"title": "九月十日晴",
"so360": 21,
"bing": 4560,
"bing_en": 21200,
"google": 139000
},
{
"baidu": 1,
"author": "姚勉",
"title": "九月十三日飲湖上",
"so360": 21,
"bing": 133000,
"bing_en": 6690,
"google": 70300
},
{
"baidu": 1,
"author": "姚勉",
"title": "別西湖 其一",
"so360": 7,
"bing": 2820,
"bing_en": 14700,
"google": 712000
},
{
"baidu": 1,
"author": "姚勉",
"title": "別西湖 其二",
"so360": 487,
"bing": 20200,
"bing_en": 21100,
"google": 711000
},
{
"baidu": 3,
"author": "姚勉",
"title": "道中即事 其一",
"so360": 87,
"bing": 19700,
"bing_en": 23400,
"google": 1550000
},
{
"baidu": 4,
"author": "姚勉",
"title": "道中即事 其二",
"so360": 88,
"bing": 18300,
"bing_en": 22700,
"google": 1630000
},
{
"baidu": 4,
"author": "姚勉",
"title": "道中即事 其三",
"so360": 95,
"bing": 31500,
"bing_en": 33200,
"google": 4240000
},
{
"baidu": 3,
"author": "姚勉",
"title": "道中即事 其四",
"so360": 21,
"bing": 53700,
"bing_en": 31300,
"google": 4070000
},
{
"baidu": 3,
"author": "姚勉",
"title": "道中即事 其五",
"so360": 20,
"bing": 53700,
"bing_en": 30800,
"google": 3890000
},
{
"baidu": 2,
"author": "姚勉",
"title": "道中即事 其六",
"so360": 17,
"bing": 53700,
"bing_en": 28900,
"google": 1740000
},
{
"baidu": 2,
"author": "姚勉",
"title": "道中即事 其七",
"so360": 12,
"bing": 53700,
"bing_en": 27600,
"google": 1670000
},
{
"baidu": 2,
"author": "姚勉",
"title": "道中即事 其八",
"so360": 439,
"bing": 24000,
"bing_en": 28300,
"google": 1630000
},
{
"baidu": 2,
"author": "姚勉",
"title": "道中即事 其九",
"so360": 99,
"bing": 53700,
"bing_en": 28700,
"google": 1630000
},
{
"baidu": 3,
"author": "姚勉",
"title": "道中即事 其一○",
"so360": 87,
"bing": 12300,
"bing_en": 23400,
"google": 809000
},
{
"baidu": 1,
"author": "姚勉",
"title": "道傍紡女",
"so360": 11,
"bing": 14500,
"bing_en": 21100,
"google": 956000
},
{
"baidu": 4,
"author": "姚勉",
"title": "贈陸伯容",
"so360": 30,
"bing": 35200,
"bing_en": 21300,
"google": 828
},
{
"baidu": 2,
"author": "姚勉",
"title": "陳明卿覓瓦蓋屋",
"so360": 14,
"bing": 12500,
"bing_en": 2,
"google": 4260
},
{
"baidu": 2,
"author": "姚勉",
"title": "早起觀雨餘蛛網",
"so360": 30,
"bing": 528000,
"bing_en": 510,
"google": 259000
},
{
"baidu": 4,
"author": "姚勉",
"title": "七夕分韻得絲字",
"so360": 23,
"bing": 28600,
"bing_en": 868,
"google": 356000
},
{
"baidu": 4,
"author": "姚勉",
"title": "題蜀江觀 其一",
"so360": 70,
"bing": 18700,
"bing_en": 21100,
"google": 27700
},
{
"baidu": 4,
"author": "姚勉",
"title": "題蜀江觀 其二",
"so360": 58,
"bing": 18700,
"bing_en": 21100,
"google": 27900
},
{
"baidu": 4,
"author": "姚勉",
"title": "題蜀江觀 其三",
"so360": 70,
"bing": 35900,
"bing_en": 21300,
"google": 28700
},
{
"baidu": 4,
"author": "姚勉",
"title": "題蜀江觀 其四",
"so360": 69,
"bing": 33300,
"bing_en": 21300,
"google": 28600
},
{
"baidu": 2,
"author": "姚勉",
"title": "題嚴子陵釣臺 其一",
"so360": 29,
"bing": 13000,
"bing_en": 3840,
"google": 10600
},
{
"baidu": 2,
"author": "姚勉",
"title": "題嚴子陵釣臺 其二",
"so360": 29,
"bing": 12900,
"bing_en": 3780,
"google": 11200
},
{
"baidu": 2,
"author": "姚勉",
"title": "題嚴子陵釣臺 其三",
"so360": 29,
"bing": 10100,
"bing_en": 21100,
"google": 10300
},
{
"baidu": 2,
"author": "姚勉",
"title": "題嚴子陵釣臺 其四",
"so360": 29,
"bing": 12300,
"bing_en": 21100,
"google": 11600
},
{
"baidu": 1,
"author": "姚勉",
"title": "除夕前一日湖中望西山有感",
"so360": 11,
"bing": 12700,
"bing_en": 20000,
"google": 114000
},
{
"baidu": 3,
"author": "姚勉",
"title": "思江南筍蕨",
"so360": 20,
"bing": 12700,
"bing_en": 4620,
"google": 25900
},
{
"baidu": 5,
"author": "姚勉",
"title": "贈陳龍湖",
"so360": 16,
"bing": 88900,
"bing_en": 1320,
"google": 1800000
},
{
"baidu": 7,
"author": "姚勉",
"title": "題王昭君",
"so360": 63,
"bing": 72600,
"bing_en": 10300,
"google": 343000
},
{
"baidu": 3,
"author": "姚勉",
"title": "送周縣尉滿秩歸 其一",
"so360": 29,
"bing": 13000,
"bing_en": 6040,
"google": 779000
},
{
"baidu": 3,
"author": "姚勉",
"title": "送周縣尉滿秩歸 其二",
"so360": 29,
"bing": 13000,
"bing_en": 5700,
"google": 861000
},
{
"baidu": 3,
"author": "姚勉",
"title": "送周縣尉滿秩歸 其三",
"so360": 29,
"bing": 12900,
"bing_en": 21100,
"google": 915000
},
{
"baidu": 2,
"author": "姚勉",
"title": "送周縣尉滿秩歸 其四",
"so360": 29,
"bing": 12900,
"bing_en": 20600,
"google": 874000
},
{
"baidu": 2,
"author": "姚勉",
"title": "送周縣尉滿秩歸 其五",
"so360": 29,
"bing": 12900,
"bing_en": 21100,
"google": 898000
},
{
"baidu": 3,
"author": "姚勉",
"title": "送京學林申甫 其一",
"so360": 20,
"bing": 5090,
"bing_en": 21100,
"google": 1490
},
{
"baidu": 3,
"author": "姚勉",
"title": "送京學林申甫 其二",
"so360": 20,
"bing": 4840,
"bing_en": 21000,
"google": 1490
},
{
"baidu": 20,
"author": "姚勉",
"title": "送歐陽",
"so360": 22,
"bing": 11400,
"bing_en": 21000,
"google": 1510000
},
{
"baidu": 4,
"author": "姚勉",
"title": "寄題章貢劉氏麗曉樓",
"so360": 9,
"bing": 9460,
"bing_en": 7780,
"google": 299000
},
{
"baidu": 2,
"author": "姚勉",
"title": "題梅莊郭成甫瘦吟帙 其一",
"so360": 23,
"bing": 821,
"bing_en": 16800,
"google": 570
},
{
"baidu": 2,
"author": "姚勉",
"title": "題梅莊郭成甫瘦吟帙 其二",
"so360": 23,
"bing": 780,
"bing_en": 16700,
"google": 821
},
{
"baidu": 2,
"author": "姚勉",
"title": "小漿題壁用趙信國韻 其一",
"so360": 26,
"bing": 6240,
"bing_en": 17,
"google": 958
},
{
"baidu": 2,
"author": "姚勉",
"title": "小漿題壁用趙信國韻 其二",
"so360": 27,
"bing": 5560,
"bing_en": 20,
"google": 959
},
{
"baidu": 3,
"author": "姚勉",
"title": "菊節宿白沙次友人韻",
"so360": 11,
"bing": 12400,
"bing_en": 3050,
"google": 133000
},
{
"baidu": 1,
"author": "姚勉",
"title": "贈李森幞頭",
"so360": 18,
"bing": 12300,
"bing_en": 6,
"google": 13600
},
{
"baidu": 6,
"author": "姚勉",
"title": "贈施大夫履鞋",
"so360": 20,
"bing": 28400,
"bing_en": 6690,
"google": 266000
},
{
"baidu": 4,
"author": "姚勉",
"title": "贈劉仲圭占牌 其一",
"so360": 24,
"bing": 12600,
"bing_en": 20800,
"google": 858
},
{
"baidu": 4,
"author": "姚勉",
"title": "贈劉仲圭占牌 其二",
"so360": 24,
"bing": 12500,
"bing_en": 20900,
"google": 851
},
{
"baidu": 1,
"author": "姚勉",
"title": "張道夫惠大小硯五走筆戲謝",
"so360": 13,
"bing": 52,
"bing_en": 57,
"google": 1480
},
{
"baidu": 3,
"author": "姚勉",
"title": "贈敷上人遊五山",
"so360": 14,
"bing": 11000,
"bing_en": 10300,
"google": 14800
},
{
"baidu": 3,
"author": "姚勉",
"title": "贈煜上人石窗",
"so360": 15,
"bing": 16400,
"bing_en": 19000,
"google": 726000
},
{
"baidu": 9,
"author": "姚勉",
"title": "寄感山二詩僧 其一",
"so360": 26,
"bing": 20300,
"bing_en": 16200,
"google": 2790000
},
{
"baidu": 14,
"author": "姚勉",
"title": "寄感山二詩僧 其二",
"so360": 26,
"bing": 20300,
"bing_en": 21100,
"google": 2840000
},
{
"baidu": 1,
"author": "姚勉",
"title": "贈僧雪翁",
"so360": 612,
"bing": 60500,
"bing_en": 21300,
"google": 2230000
},
{
"baidu": 3400,
"author": "姚勉",
"title": "丙辰祗召入京道信州題一杯亭",
"so360": 27,
"bing": 17600,
"bing_en": 246,
"google": 2250
},
{
"baidu": 4,
"author": "姚勉",
"title": "南臺",
"so360": 35,
"bing": 14600,
"bing_en": 6940,
"google": 1190000
},
{
"baidu": 3,
"author": "姚勉",
"title": "跨鶴臺",
"so360": 21,
"bing": 7930,
"bing_en": 1100,
"google": 1410000
},
{
"baidu": 11,
"author": "姚勉",
"title": "寄題茶山",
"so360": 17,
"bing": 20200,
"bing_en": 21300,
"google": 380000
},
{
"baidu": 3,
"author": "姚勉",
"title": "題祥符寺",
"so360": 22,
"bing": 35100,
"bing_en": 9940,
"google": 1700000
},
{
"baidu": 7,
"author": "姚勉",
"title": "贈長老洪野衲",
"so360": 18,
"bing": 3450,
"bing_en": 62,
"google": 64800
},
{
"baidu": 3,
"author": "姚勉",
"title": "洪長老惠藤杖",
"so360": 16,
"bing": 17000,
"bing_en": 136,
"google": 1140000
},
{
"baidu": 13,
"author": "姚勉",
"title": "沿江買魚不得詢之則前此多爲官船所强取故有亦言無因成三絕 其一",
"so360": 18,
"bing": 0,
"bing_en": 2,
"google": 21900
},
{
"baidu": 12,
"author": "姚勉",
"title": "沿江買魚不得詢之則前此多爲官船所强取故有亦言無因成三絕 其二",
"so360": 18,
"bing": 0,
"bing_en": 2,
"google": 21700
},
{
"baidu": 13,
"author": "姚勉",
"title": "沿江買魚不得詢之則前此多爲官船所强取故有亦言無因成三絕 其三",
"so360": 18,
"bing": 6,
"bing_en": 14,
"google": 21900
},
{
"baidu": 7,
"author": "姚勉",
"title": "過麻子湖遇逆風有作 其一",
"so360": 41,
"bing": 20200,
"bing_en": 468,
"google": 370000
},
{
"baidu": 7,
"author": "姚勉",
"title": "過麻子湖遇逆風有作 其二",
"so360": 41,
"bing": 20100,
"bing_en": 472,
"google": 370000
},
{
"baidu": 7,
"author": "姚勉",
"title": "過麻子湖遇逆風有作 其三",
"so360": 41,
"bing": 20100,
"bing_en": 9020,
"google": 371000
},
{
"baidu": 7,
"author": "姚勉",
"title": "過麻子湖遇逆風有作 其四",
"so360": 41,
"bing": 20100,
"bing_en": 8970,
"google": 374000
},
{
"baidu": 7,
"author": "姚勉",
"title": "過麻子湖遇逆風有作 其五",
"so360": 41,
"bing": 30900,
"bing_en": 9000,
"google": 374000
},
{
"baidu": 8,
"author": "姚勉",
"title": "次鄒希賢買魚不得三首衍爲漁翁問答六詩 問漁翁",
"so360": 40,
"bing": 12500,
"bing_en": 14,
"google": 1170
},
{
"baidu": 8,
"author": "姚勉",
"title": "次鄒希賢買魚不得三首衍爲漁翁問答六詩 漁翁答",
"so360": 40,
"bing": 12500,
"bing_en": 14,
"google": 1190
},
{
"baidu": 6,
"author": "姚勉",
"title": "次鄒希賢買魚不得三首衍爲漁翁問答六詩 再問",
"so360": 40,
"bing": 12500,
"bing_en": 13,
"google": 616
},
{
"baidu": 8,
"author": "姚勉",
"title": "次鄒希賢買魚不得三首衍爲漁翁問答六詩 漁翁答",
"so360": 40,
"bing": 12500,
"bing_en": 14,
"google": 1190
},
{
"baidu": 6,
"author": "姚勉",
"title": "次鄒希賢買魚不得三首衍爲漁翁問答六詩 漁翁問",
"so360": 40,
"bing": 12500,
"bing_en": 14,
"google": 1170
},
{
"baidu": 8,
"author": "姚勉",
"title": "次鄒希賢買魚不得三首衍爲漁翁問答六詩 答漁翁",
"so360": 40,
"bing": 12500,
"bing_en": 14,
"google": 1190
},
{
"baidu": 1,
"author": "姚勉",
"title": "和陳和卿四絕 其一",
"so360": 51,
"bing": 198000,
"bing_en": 49,
"google": 1230
},
{
"baidu": 1,
"author": "姚勉",
"title": "和陳和卿四絕 其二",
"so360": 51,
"bing": 198000,
"bing_en": 55,
"google": 1210
},
{
"baidu": 1,
"author": "姚勉",
"title": "和陳和卿四絕 其三",
"so360": 26,
"bing": 111000,
"bing_en": 3040,
"google": 1230
},
{
"baidu": 1,
"author": "姚勉",
"title": "和陳和卿四絕 其四",
"so360": 53,
"bing": 115000,
"bing_en": 3080,
"google": 1240
},
{
"baidu": 4,
"author": "姚勉",
"title": "和龔宗諭五絕 其一",
"so360": 28,
"bing": 935,
"bing_en": 17000,
"google": 1890
},
{
"baidu": 4,
"author": "姚勉",
"title": "和龔宗諭五絕 其二",
"so360": 28,
"bing": 768,
"bing_en": 796,
"google": 1890
},
{
"baidu": 4,
"author": "姚勉",
"title": "和龔宗諭五絕 其三",
"so360": 28,
"bing": 15600,
"bing_en": 20800,
"google": 366
},
{
"baidu": 4,
"author": "姚勉",
"title": "和龔宗諭五絕 其四",
"so360": 28,
"bing": 15600,
"bing_en": 20300,
"google": 1850
},
{
"baidu": 4,
"author": "姚勉",
"title": "和龔宗諭五絕 其五",
"so360": 11,
"bing": 15600,
"bing_en": 20800,
"google": 1850
},
{
"baidu": 6,
"author": "姚勉",
"title": "勸學示子元夫",
"so360": 44,
"bing": 22800,
"bing_en": 845,
"google": 54900
},
{
"baidu": 3,
"author": "姚勉",
"title": "弈棋有感",
"so360": 46,
"bing": 801,
"bing_en": 9110,
"google": 636000
},
{
"baidu": 0,
"author": "姚勉",
"title": "己未秋杪虜騎雲擾聖主神斷斥逐元姦臺臣始有抨彈之疏因成二絕一惜言者之後時二願局面之堅凝也 其一",
"so360": 17100,
"bing": 0,
"bing_en": 1,
"google": 862
},
{
"baidu": 0,
"author": "姚勉",
"title": "己未秋杪虜騎雲擾聖主神斷斥逐元姦臺臣始有抨彈之疏因成二絕一惜言者之後時二願局面之堅凝也 其二",
"so360": 17100,
"bing": 1,
"bing_en": 1,
"google": 862
},
{
"baidu": 10,
"author": "姚勉",
"title": "嘲貓",
"so360": 28,
"bing": 8310,
"bing_en": 18700,
"google": 888000
},
{
"baidu": 8,
"author": "姚勉",
"title": "嘲燕",
"so360": 562,
"bing": 8040,
"bing_en": 21700,
"google": 174000
},
{
"baidu": 52,
"author": "姚勉",
"title": "詠蜂",
"so360": 421,
"bing": 12400,
"bing_en": 21300,
"google": 1130000
},
{
"baidu": 8,
"author": "姚勉",
"title": "贈電眸陳相士",
"so360": 14,
"bing": 8000,
"bing_en": 141,
"google": 985
},
{
"baidu": 3,
"author": "姚勉",
"title": "贈談天星數王子貴",
"so360": 15,
"bing": 12800,
"bing_en": 2320,
"google": 647000
},
{
"baidu": 5,
"author": "姚勉",
"title": "雪後同友人觀梅",
"so360": 14,
"bing": 143000,
"bing_en": 10,
"google": 3960000
},
{
"baidu": 3,
"author": "姚勉",
"title": "和姚榷院送茉莉韻",
"so360": 18,
"bing": 943,
"bing_en": 858,
"google": 887
},
{
"baidu": 4,
"author": "姚勉",
"title": "新晴散步",
"so360": 32,
"bing": 1220,
"bing_en": 19900,
"google": 48500
},
{
"baidu": 7,
"author": "姚勉",
"title": "春日即事",
"so360": 76,
"bing": 4050,
"bing_en": 21100,
"google": 1010000
},
{
"baidu": 10,
"author": "姚勉",
"title": "山齋",
"so360": 101,
"bing": 58,
"bing_en": 24000,
"google": 1590000
},
{
"baidu": 16,
"author": "姚勉",
"title": "芭蕉",
"so360": 184,
"bing": 2590,
"bing_en": 21200,
"google": 123000
},
{
"baidu": 26,
"author": "姚勉",
"title": "歲暮",
"so360": 103,
"bing": 10700,
"bing_en": 6080,
"google": 92500
},
{
"baidu": 3,
"author": "姚勉",
"title": "山市",
"so360": 46,
"bing": 14200,
"bing_en": 31800,
"google": 2430000
},
{
"baidu": 2,
"author": "姚勉",
"title": "舟泊蘭溪湖頭市遇雨",
"so360": 21,
"bing": 9720,
"bing_en": 2050,
"google": 147000
},
{
"baidu": 7,
"author": "姚勉",
"title": "送王仲安歸武昌",
"so360": 22,
"bing": 21800,
"bing_en": 15900,
"google": 965
},
{
"baidu": 3,
"author": "姚勉",
"title": "登四聖觀月桂亭有感",
"so360": 11,
"bing": 7080,
"bing_en": 790,
"google": 476
},
{
"baidu": 4,
"author": "姚勉",
"title": "登北高峰",
"so360": 29,
"bing": 12000,
"bing_en": 21300,
"google": 1210000
},
{
"baidu": 3,
"author": "姚勉",
"title": "冷泉亭納凉",
"so360": 27,
"bing": 12300,
"bing_en": 17500,
"google": 45300
},
{
"baidu": 3,
"author": "姚勉",
"title": "放生池納凉晚歸",
"so360": 18,
"bing": 12900,
"bing_en": 17400,
"google": 81500
},
{
"baidu": 4,
"author": "姚勉",
"title": "湖上隠者所居",
"so360": 50,
"bing": 153000,
"bing_en": 109,
"google": 23100
},
{
"baidu": 1,
"author": "姚勉",
"title": "病後久不到湖上晚與客到斷橋",
"so360": 34,
"bing": 35800,
"bing_en": 3480,
"google": 2610
},
{
"baidu": 3,
"author": "姚勉",
"title": "次劉仲山餞歸韻",
"so360": 13,
"bing": 13000,
"bing_en": 15,
"google": 22000
},
{
"baidu": 1,
"author": "姚勉",
"title": "富陽道中",
"so360": 28,
"bing": 429000,
"bing_en": 1800,
"google": 34600
},
{
"baidu": 1,
"author": "姚勉",
"title": "道傍水閣",
"so360": 14,
"bing": 16000,
"bing_en": 2040,
"google": 1480000
},
{
"baidu": 9,
"author": "姚勉",
"title": "丈室",
"so360": 25,
"bing": 6270,
"bing_en": 22700,
"google": 2280000
},
{
"baidu": 14,
"author": "姚勉",
"title": "贈徐處士",
"so360": 43,
"bing": 12600,
"bing_en": 16800,
"google": 213000
},
{
"baidu": 11,
"author": "姚勉",
"title": "客中遇雨",
"so360": 14,
"bing": 548000,
"bing_en": 23000,
"google": 1870000
},
{
"baidu": 6,
"author": "姚勉",
"title": "及第歸入江西界",
"so360": 29,
"bing": 20400,
"bing_en": 650,
"google": 2480000
},
{
"baidu": 7,
"author": "姚勉",
"title": "送梁新恩夢雷歸鄉",
"so360": 18,
"bing": 31000,
"bing_en": 11,
"google": 1680
},
{
"baidu": 6,
"author": "姚勉",
"title": "送王希聖歸興國赴舉",
"so360": 18,
"bing": 25900,
"bing_en": 34,
"google": 914
},
{
"baidu": 5,
"author": "姚勉",
"title": "贈煜上人",
"so360": 28,
"bing": 161000,
"bing_en": 2510,
"google": 79400
},
{
"baidu": 3,
"author": "姚勉",
"title": "送趙僉判美任 其一",
"so360": 18,
"bing": 12300,
"bing_en": 20900,
"google": 4930000
},
{
"baidu": 3,
"author": "姚勉",
"title": "送趙僉判美任 其二",
"so360": 18,
"bing": 12300,
"bing_en": 20900,
"google": 5070000
},
{
"baidu": 4,
"author": "姚勉",
"title": "與毛教授",
"so360": 14,
"bing": 826,
"bing_en": 21200,
"google": 1180000
},
{
"baidu": 1,
"author": "姚勉",
"title": "次陳肩夔韻",
"so360": 57,
"bing": 16100,
"bing_en": 18400,
"google": 459000
},
{
"baidu": 6,
"author": "姚勉",
"title": "贈廬陵三劉神童",
"so360": 25,
"bing": 13600,
"bing_en": 1900,
"google": 1080000
},
{
"baidu": 8,
"author": "姚勉",
"title": "寄題上饒周儀仲西疇",
"so360": 11,
"bing": 12800,
"bing_en": 103,
"google": 27700
},
{
"baidu": 3,
"author": "姚勉",
"title": "送胡教授之沅水任 其一",
"so360": 23,
"bing": 12300,
"bing_en": 21100,
"google": 134000
},
{
"baidu": 3,
"author": "姚勉",
"title": "送胡教授之沅水任 其二",
"so360": 22,
"bing": 12200,
"bing_en": 21100,
"google": 134000
},
{
"baidu": 21,
"author": "姚勉",
"title": "有感",
"so360": 55,
"bing": 15000,
"bing_en": 34900,
"google": 2840000
},
{
"baidu": 3,
"author": "姚勉",
"title": "夢太夫人如平生",
"so360": 25,
"bing": 38100,
"bing_en": 20300,
"google": 421000
},
{
"baidu": 4,
"author": "姚勉",
"title": "靈源上太夫人塚",
"so360": 19,
"bing": 14800,
"bing_en": 104,
"google": 1710000
},
{
"baidu": 2,
"author": "姚勉",
"title": "題族子霆伯西征錄",
"so360": 17,
"bing": 12100,
"bing_en": 4,
"google": 166000
},
{
"baidu": 2,
"author": "姚勉",
"title": "贈玉隆都監周抱一",
"so360": 25,
"bing": 12800,
"bing_en": 102,
"google": 2820000
},
{
"baidu": 24,
"author": "姚勉",
"title": "晨興",
"so360": 74,
"bing": 12800,
"bing_en": 21400,
"google": 538000
},
{
"baidu": 2,
"author": "姚勉",
"title": "贈趙神眼",
"so360": 14,
"bing": 81600,
"bing_en": 21300,
"google": 436000
},
{
"baidu": 25,
"author": "姚勉",
"title": "安象祖携子餞行英爽可愛贈以詩嘉其有好德秉彝之天必能世其家",
"so360": 8,
"bing": 8590,
"bing_en": 3930,
"google": 1740
},
{
"baidu": 2,
"author": "姚勉",
"title": "和姜明甫",
"so360": 10,
"bing": 17000,
"bing_en": 4860,
"google": 2950
},
{
"baidu": 2,
"author": "姚勉",
"title": "和葛德遠 其一",
"so360": 20,
"bing": 7250,
"bing_en": 21400,
"google": 1040
},
{
"baidu": 2,
"author": "姚勉",
"title": "和葛德遠 其二",
"so360": 518,
"bing": 7030,
"bing_en": 21500,
"google": 1040
},
{
"baidu": 2,
"author": "姚勉",
"title": "挽十尊長居士",
"so360": 28,
"bing": 13900,
"bing_en": 17200,
"google": 15700
},
{
"baidu": 4,
"author": "姚勉",
"title": "又代作",
"so360": 21600,
"bing": 6420000,
"bing_en": 26700,
"google": 3800000
},
{
"baidu": 1,
"author": "姚勉",
"title": "代挽甯西雲",
"so360": 15,
"bing": 8120,
"bing_en": 19800,
"google": 26
},
{
"baidu": 8,
"author": "姚勉",
"title": "元日試筆",
"so360": 17,
"bing": 3330,
"bing_en": 9790,
"google": 6470
},
{
"baidu": 5,
"author": "姚勉",
"title": "元宵雨",
"so360": 201,
"bing": 3970,
"bing_en": 21200,
"google": 598000
},
{
"baidu": 4,
"author": "姚勉",
"title": "遊曲江分韻得日字",
"so360": 16,
"bing": 12300,
"bing_en": 12400,
"google": 2390000
},
{
"baidu": 1,
"author": "姚勉",
"title": "遊感山題甘露臺",
"so360": 18,
"bing": 12700,
"bing_en": 2010,
"google": 856000
},
{
"baidu": 1,
"author": "姚勉",
"title": "題西湖竹閣寺 其一",
"so360": 11,
"bing": 13200,
"bing_en": 16400,
"google": 744000
},
{
"baidu": 1,
"author": "姚勉",
"title": "題西湖竹閣寺 其二",
"so360": 11,
"bing": 13000,
"bing_en": 18700,
"google": 685000
},
{
"baidu": 6,
"author": "姚勉",
"title": "瀛嶼",
"so360": 19,
"bing": 9410,
"bing_en": 21200,
"google": 885000
},
{
"baidu": 2,
"author": "姚勉",
"title": "觀畫竹",
"so360": 29,
"bing": 12300,
"bing_en": 21500,
"google": 1660000
},
{
"baidu": 5,
"author": "姚勉",
"title": "詠金橘團",
"so360": 29,
"bing": 16500,
"bing_en": 16800,
"google": 735
},
{
"baidu": 1,
"author": "姚勉",
"title": "思家信不至",
"so360": 89,
"bing": 104000,
"bing_en": 13800,
"google": 857000
},
{
"baidu": 2,
"author": "姚勉",
"title": "有懷學子",
"so360": 26,
"bing": 1310000,
"bing_en": 21100,
"google": 69000
},
{
"baidu": 2,
"author": "姚勉",
"title": "有懷族子",
"so360": 18,
"bing": 540000,
"bing_en": 21400,
"google": 626000
},
{
"baidu": 3,
"author": "姚勉",
"title": "贈陳柏堂道士",
"so360": 18,
"bing": 473000,
"bing_en": 11400,
"google": 6880
},
{
"baidu": 6,
"author": "姚勉",
"title": "題釣臺",
"so360": 58,
"bing": 7500,
"bing_en": 21300,
"google": 1210000
},
{
"baidu": 12,
"author": "姚勉",
"title": "送陳新恩赴殿試",
"so360": 19,
"bing": 12600,
"bing_en": 13,
"google": 20200
},
{
"baidu": 10,
"author": "姚勉",
"title": "送同窗趙章甫上舍入京 其一",
"so360": 38,
"bing": 11500,
"bing_en": 2960,
"google": 1200
},
{
"baidu": 10,
"author": "姚勉",
"title": "送同窗趙章甫上舍入京 其二",
"so360": 38,
"bing": 9900,
"bing_en": 2540,
"google": 1190
},
{
"baidu": 4,
"author": "姚勉",
"title": "寄鄒希聖兄弟",
"so360": 18,
"bing": 12800,
"bing_en": 1920,
"google": 878
},
{
"baidu": 1,
"author": "姚勉",
"title": "和郡侯勸駕韻 其一",
"so360": 60,
"bing": 11900,
"bing_en": 59,
"google": 1480000
},
{
"baidu": 3,
"author": "姚勉",
"title": "和郡侯勸駕韻 其二",
"so360": 61,
"bing": 12600,
"bing_en": 70,
"google": 1450000
},
{
"baidu": 3,
"author": "姚勉",
"title": "和郡侯喜雨韻",
"so360": 10,
"bing": 13000,
"bing_en": 5100,
"google": 63300
},
{
"baidu": 1,
"author": "姚勉",
"title": "送趙判縣美任改除閬倅",
"so360": 12,
"bing": 12500,
"bing_en": 14800,
"google": 3250000
},
{
"baidu": 6,
"author": "姚勉",
"title": "和劉月湖縣尉",
"so360": 10,
"bing": 7660,
"bing_en": 90,
"google": 7820
},
{
"baidu": 1,
"author": "姚勉",
"title": "用樂魁聲道寄李後林韻寄聲道 其一",
"so360": 618,
"bing": 261,
"bing_en": 619,
"google": 27700
},
{
"baidu": 1,
"author": "姚勉",
"title": "用樂魁聲道寄李後林韻寄聲道 其二",
"so360": 612,
"bing": 263,
"bing_en": 622,
"google": 27700
},
{
"baidu": 1,
"author": "姚勉",
"title": "再用前韻寄後林 其一",
"so360": 28,
"bing": 7630,
"bing_en": 20700,
"google": 3780000
},
{
"baidu": 3,
"author": "姚勉",
"title": "再用前韻寄後林 其二",
"so360": 28,
"bing": 6910,
"bing_en": 21100,
"google": 3740000
},
{
"baidu": 7,
"author": "姚勉",
"title": "送王新恩赴省",
"so360": 16,
"bing": 1760000,
"bing_en": 21800,
"google": 900
},
{
"baidu": 2,
"author": "姚勉",
"title": "送萬仲榮赴省",
"so360": 18,
"bing": 28000,
"bing_en": 58,
"google": 2240000
},
{
"baidu": 3,
"author": "姚勉",
"title": "送童子敬赴省",
"so360": 16,
"bing": 64100,
"bing_en": 21100,
"google": 480000
},
{
"baidu": 3,
"author": "姚勉",
"title": "送王元高兄弟東上 其一",
"so360": 28,
"bing": 16000,
"bing_en": 10100,
"google": 28
},
{
"baidu": 4,
"author": "姚勉",
"title": "送王元高兄弟東上 其二",
"so360": 28,
"bing": 12800,
"bing_en": 7900,
"google": 44
},
{
"baidu": 8,
"author": "姚勉",
"title": "送羅道甫歸廬陵應舉",
"so360": 14,
"bing": 105000,
"bing_en": 2010,
"google": 1460
},
{
"baidu": 1,
"author": "姚勉",
"title": "送陳縣尉之太和新任",
"so360": 19,
"bing": 12400,
"bing_en": 89,
"google": 2690000
},
{
"baidu": 3,
"author": "姚勉",
"title": "送洪右司去官",
"so360": 14,
"bing": 26900,
"bing_en": 17100,
"google": 2410000
},
{
"baidu": 9,
"author": "姚勉",
"title": "寄題陳肩夔兄弟夢草堂",
"so360": 10,
"bing": 12400,
"bing_en": 3800,
"google": 68800
},
{
"baidu": 2,
"author": "姚勉",
"title": "寄題陳肩夔雲錦窗",
"so360": 16,
"bing": 12300,
"bing_en": 5,
"google": 19700
},
{
"baidu": 2,
"author": "姚勉",
"title": "奉題呂氏宜老堂",
"so360": 11,
"bing": 8410,
"bing_en": 21300,
"google": 1970000
},
{
"baidu": 1,
"author": "姚勉",
"title": "和豐城鄒端簡韻就送其歸 其一",
"so360": 21,
"bing": 4780,
"bing_en": 3400,
"google": 936
},
{
"baidu": 1,
"author": "姚勉",
"title": "和豐城鄒端簡韻就送其歸 其二",
"so360": 21,
"bing": 4080,
"bing_en": 3410,
"google": 930
},
{
"baidu": 3,
"author": "姚勉",
"title": "題百花林書堂",
"so360": 18,
"bing": 24200,
"bing_en": 1990,
"google": 2140
},
{
"baidu": 1,
"author": "姚勉",
"title": "溪山堂翫月",
"so360": 0,
"bing": 13500,
"bing_en": 2350,
"google": 45400
},
{
"baidu": 1,
"author": "姚勉",
"title": "招友人鳳山觀雪",
"so360": 15,
"bing": 14000,
"bing_en": 8,
"google": 3860000
},
{
"baidu": 17,
"author": "姚勉",
"title": "入京遇雪",
"so360": 30,
"bing": 2470,
"bing_en": 21100,
"google": 105000
},
{
"baidu": 2,
"author": "姚勉",
"title": "道中積雨",
"so360": 18,
"bing": 582000,
"bing_en": 16900,
"google": 312000
},
{
"baidu": 3,
"author": "姚勉",
"title": "贈俊上人雪崖",
"so360": 18,
"bing": 9350000,
"bing_en": 21300,
"google": 928000
},
{
"baidu": 3,
"author": "姚勉",
"title": "題道士碧潭",
"so360": 19,
"bing": 15100,
"bing_en": 1490,
"google": 1580000
},
{
"baidu": 2,
"author": "姚勉",
"title": "贈朱五星",
"so360": 13,
"bing": 1040,
"bing_en": 10200,
"google": 1990000
},
{
"baidu": 4,
"author": "姚勉",
"title": "廷唱謝恩",
"so360": 27,
"bing": 12700,
"bing_en": 4530,
"google": 185000
},
{
"baidu": 2,
"author": "姚勉",
"title": "恭和御賜詩",
"so360": 36,
"bing": 119000,
"bing_en": 104,
"google": 3060000
},
{
"baidu": 4,
"author": "姚勉",
"title": "聞吳山鐘",
"so360": 29,
"bing": 33800,
"bing_en": 21200,
"google": 171000
},
{
"baidu": 3,
"author": "姚勉",
"title": "寄題武安節推同年萬君定翁露香堂",
"so360": 14,
"bing": 3410,
"bing_en": 642,
"google": 889
},
{
"baidu": 6,
"author": "姚勉",
"title": "送鄭編修子四省元 其一",
"so360": 21,
"bing": 4130,
"bing_en": 11200,
"google": 118000
},
{
"baidu": 6,
"author": "姚勉",
"title": "送鄭編修子四省元 其二",
"so360": 21,
"bing": 10300,
"bing_en": 12800,
"google": 107000
},
{
"baidu": 2,
"author": "姚勉",
"title": "次韻黄東野德明且識初識",
"so360": 529,
"bing": 12400,
"bing_en": 20,
"google": 18300
},
{
"baidu": 1,
"author": "姚勉",
"title": "奉餞萬安贊府兄長之官 其一",
"so360": 22,
"bing": 12300,
"bing_en": 8,
"google": 2460000
},
{
"baidu": 1,
"author": "姚勉",
"title": "奉餞萬安贊府兄長之官 其二",
"so360": 22,
"bing": 12300,
"bing_en": 16,
"google": 2440000
},
{
"baidu": 1,
"author": "姚勉",
"title": "奉餞萬安贊府兄長之官 其三",
"so360": 496,
"bing": 12900,
"bing_en": 16700,
"google": 2390000
},
{
"baidu": 3,
"author": "姚勉",
"title": "和趙提刑韻送呂堂長主簿 其一",
"so360": 13,
"bing": 12300,
"bing_en": 9900,
"google": 569000
},
{
"baidu": 2,
"author": "姚勉",
"title": "和趙提刑韻送呂堂長主簿 其二",
"so360": 13,
"bing": 12200,
"bing_en": 9420,
"google": 543000
},
{
"baidu": 1,
"author": "姚勉",
"title": "乙卯七月庚子魁祀禮成同舍諸新元相與宴擬鹿鳴也故敢亦擬勸駕詩呈幸領此意",
"so360": 13,
"bing": 1520,
"bing_en": 2,
"google": 248000
},
{
"baidu": 37,
"author": "姚勉",
"title": "次友人示詩集 其一",
"so360": 343,
"bing": 12600,
"bing_en": 20700,
"google": 4930000
},
{
"baidu": 42,
"author": "姚勉",
"title": "次友人示詩集 其二",
"so360": 323,
"bing": 12600,
"bing_en": 18400,
"google": 4730000
},
{
"baidu": 27,
"author": "姚勉",
"title": "次友人示詩集 其三",
"so360": 22,
"bing": 15200,
"bing_en": 62100,
"google": 3590000
},
{
"baidu": 1,
"author": "姚勉",
"title": "次韻諸友遊雲居 其一",
"so360": 23,
"bing": 15300,
"bing_en": 9930,
"google": 14000
},
{
"baidu": 1,
"author": "姚勉",
"title": "次韻諸友遊雲居 其二",
"so360": 23,
"bing": 15300,
"bing_en": 9070,
"google": 14300
},
{
"baidu": 4,
"author": "姚勉",
"title": "和松窗主人薦墨客詩",
"so360": 15,
"bing": 2760,
"bing_en": 1550,
"google": 357000
},
{
"baidu": 2,
"author": "姚勉",
"title": "和通判直閣立春聞鶑 其一",
"so360": 23,
"bing": 12300,
"bing_en": 1,
"google": 15900
},
{
"baidu": 1,
"author": "姚勉",
"title": "和通判直閣立春聞鶑 其二",
"so360": 23,
"bing": 11700,
"bing_en": 1,
"google": 16600
},
{
"baidu": 1,
"author": "姚勉",
"title": "和張公望苦熱韻 其一",
"so360": 29,
"bing": 86200,
"bing_en": 107,
"google": 35400
},
{
"baidu": 1,
"author": "姚勉",
"title": "和張公望苦熱韻 其二",
"so360": 28,
"bing": 86200,
"bing_en": 126,
"google": 38300
},
{
"baidu": 2,
"author": "姚勉",
"title": "題朱氏梅芳書院",
"so360": 12,
"bing": 8370,
"bing_en": 100,
"google": 1110000
},
{
"baidu": 5,
"author": "姚勉",
"title": "題胡景顔雙清堂",
"so360": 10,
"bing": 12500,
"bing_en": 18,
"google": 27700
},
{
"baidu": 3,
"author": "姚勉",
"title": "題華嚴寺",
"so360": 31,
"bing": 2140,
"bing_en": 21300,
"google": 2200000
},
{
"baidu": 3,
"author": "姚勉",
"title": "送別張倅",
"so360": 21,
"bing": 15100,
"bing_en": 619,
"google": 1790000
},
{
"baidu": 1,
"author": "姚勉",
"title": "送別趙倅",
"so360": 27,
"bing": 14200,
"bing_en": 577,
"google": 1470000
},
{
"baidu": 2,
"author": "姚勉",
"title": "和友人春雪韻",
"so360": 11,
"bing": 13600,
"bing_en": 905,
"google": 155000
},
{
"baidu": 0,
"author": "姚勉",
"title": "丁巳春夏之交巨浸屢至小民艱食郡侯請諸寓貴講行賑濟漸就次第僉幕有撓其議而變其法者楊監簿再來請入局商榷不赴寄以詩",
"so360": 12,
"bing": 0,
"bing_en": 0,
"google": 751
},
{
"baidu": 2,
"author": "姚勉",
"title": "戊午喜罷和糴 其一",
"so360": 27,
"bing": 12300,
"bing_en": 5010,
"google": 273000
},
{
"baidu": 2,
"author": "姚勉",
"title": "戊午喜罷和糴 其二",
"so360": 27,
"bing": 12300,
"bing_en": 4800,
"google": 308000
},
{
"baidu": 2,
"author": "姚勉",
"title": "戊午喜罷和糴 其三",
"so360": 27,
"bing": 12300,
"bing_en": 21100,
"google": 247000
},
{
"baidu": 2,
"author": "姚勉",
"title": "戊午喜罷和糴 其四",
"so360": 27,
"bing": 12300,
"bing_en": 21100,
"google": 301000
},
{
"baidu": 5,
"author": "姚勉",
"title": "和鄒希賢舟中遇風雨",
"so360": 12,
"bing": 12200,
"bing_en": 1360,
"google": 809
},
{
"baidu": 1,
"author": "姚勉",
"title": "次方峻峰餞行韻并柬蛟峰",
"so360": 10,
"bing": 12300,
"bing_en": 0,
"google": 789
},
{
"baidu": 2,
"author": "姚勉",
"title": "和劉山居見惠之什 其一",
"so360": 14,
"bing": 13400,
"bing_en": 811,
"google": 1660000
},
{
"baidu": 2,
"author": "姚勉",
"title": "和劉山居見惠之什 其二",
"so360": 14,
"bing": 13300,
"bing_en": 20100,
"google": 1660000
},
{
"baidu": 3,
"author": "姚勉",
"title": "西山庵居",
"so360": 15,
"bing": 228000,
"bing_en": 21200,
"google": 1170000
},
{
"baidu": 1,
"author": "姚勉",
"title": "贈術士姚有應自號通靈心神仙口 其一",
"so360": 29,
"bing": 12200,
"bing_en": 141,
"google": 1080000
},
{
"baidu": 1,
"author": "姚勉",
"title": "贈術士姚有應自號通靈心神仙口 其二",
"so360": 29,
"bing": 12200,
"bing_en": 150,
"google": 1340000
},
{
"baidu": 1,
"author": "姚勉",
"title": "代謁張別駕 其一",
"so360": 18,
"bing": 10300,
"bing_en": 5680,
"google": 972000
},
{
"baidu": 1,
"author": "姚勉",
"title": "代謁張別駕 其二",
"so360": 18,
"bing": 9580,
"bing_en": 5350,
"google": 1030000
},
{
"baidu": 2,
"author": "姚勉",
"title": "挽趙制機",
"so360": 25,
"bing": 107000,
"bing_en": 21300,
"google": 1140000
},
{
"baidu": 14,
"author": "姚勉",
"title": "梅境",
"so360": 20,
"bing": 7840,
"bing_en": 23500,
"google": 457000
},
{
"baidu": 3,
"author": "姚勉",
"title": "桂莊",
"so360": 11,
"bing": 72600,
"bing_en": 71,
"google": 2680000
},
{
"baidu": 3,
"author": "姚勉",
"title": "仁山",
"so360": 19,
"bing": 18700,
"bing_en": 30200,
"google": 46000
},
{
"baidu": 1,
"author": "姚勉",
"title": "題月磯詩藁",
"so360": 12,
"bing": 12700,
"bing_en": 40,
"google": 291
},
{
"baidu": 3,
"author": "姚勉",
"title": "湖上釣者",
"so360": 576,
"bing": 323000,
"bing_en": 261,
"google": 200000
},
{
"baidu": 3,
"author": "姚勉",
"title": "題雪竹扇",
"so360": 48,
"bing": 34300,
"bing_en": 17500,
"google": 3440000
},
{
"baidu": 2,
"author": "姚勉",
"title": "王君猷花圃八絕 海棠城",
"so360": 16,
"bing": 12300,
"bing_en": 444,
"google": 893
},
{
"baidu": 1,
"author": "姚勉",
"title": "王君猷花圃八絕 薇香洞",
"so360": 24,
"bing": 476,
"bing_en": 426,
"google": 5650
},
{
"baidu": 4,
"author": "姚勉",
"title": "王君猷花圃八絕 若春",
"so360": 22,
"bing": 12200,
"bing_en": 1130,
"google": 1170
},
{
"baidu": 3,
"author": "姚勉",
"title": "王君猷花圃八絕 花谷",
"so360": 17,
"bing": 12300,
"bing_en": 1070,
"google": 5390
},
{
"baidu": 2,
"author": "姚勉",
"title": "王君猷花圃八絕 橘隠",
"so360": 37,
"bing": 685,
"bing_en": 53,
"google": 4730
},
{
"baidu": 3,
"author": "姚勉",
"title": "王君猷花圃八絕 臨清橋",
"so360": 19,
"bing": 9370,
"bing_en": 71,
"google": 1060
},
{
"baidu": 5,
"author": "姚勉",
"title": "王君猷花圃八絕 山扉",
"so360": 50,
"bing": 145000,
"bing_en": 359,
"google": 895
},
{
"baidu": 2,
"author": "姚勉",
"title": "王君猷花圃八絕 鑑池",
"so360": 18,
"bing": 870,
"bing_en": 406,
"google": 5290
},
{
"baidu": 3,
"author": "姚勉",
"title": "感山十詠 松關",
"so360": 148,
"bing": 26700,
"bing_en": 21300,
"google": 3320000
},
{
"baidu": 2,
"author": "姚勉",
"title": "感山十詠 翠鎖",
"so360": 28,
"bing": 17900,
"bing_en": 21300,
"google": 2960000
},
{
"baidu": 44,
"author": "姚勉",
"title": "感山十詠 感山",
"so360": 117,
"bing": 236000,
"bing_en": 23600,
"google": 3970000
},
{
"baidu": 18,
"author": "姚勉",
"title": "感山十詠 石橋",
"so360": 9,
"bing": 22400,
"bing_en": 21100,
"google": 47300
},
{
"baidu": 1,
"author": "姚勉",
"title": "感山十詠 華嚴堂",
"so360": 12,
"bing": 17800,
"bing_en": 22400,
"google": 4280000
},
{
"baidu": 5,
"author": "姚勉",
"title": "感山十詠 旃檀林",
"so360": 13,
"bing": 12300,
"bing_en": 21100,
"google": 36100
},
{
"baidu": 8,
"author": "姚勉",
"title": "感山十詠 慈航",
"so360": 23,
"bing": 22500,
"bing_en": 21100,
"google": 454000
},
{
"baidu": 3,
"author": "姚勉",
"title": "感山十詠 甘露臺",
"so360": 41,
"bing": 22400,
"bing_en": 21100,
"google": 295000
},
{
"baidu": 5,
"author": "姚勉",
"title": "感山十詠 雪窗",
"so360": 29,
"bing": 23800,
"bing_en": 21300,
"google": 2150000
},
{
"baidu": 4,
"author": "姚勉",
"title": "感山十詠 雲卧菴",
"so360": 119,
"bing": 14700,
"bing_en": 21100,
"google": 2310000
},
{
"baidu": 2,
"author": "姚勉",
"title": "先賢八詠 三閭紉蘭",
"so360": 10,
"bing": 12500,
"bing_en": 17000,
"google": 10400
},
{
"baidu": 5,
"author": "姚勉",
"title": "先賢八詠 濂溪愛蓮",
"so360": 32,
"bing": 12900,
"bing_en": 1700,
"google": 12500
},
{
"baidu": 2,
"author": "姚勉",
"title": "先賢八詠 靖節採菊",
"so360": 24,
"bing": 13400,
"bing_en": 21100,
"google": 80600
},
{
"baidu": 2,
"author": "姚勉",
"title": "先賢八詠 和靖探梅",
"so360": 14,
"bing": 19900,
"bing_en": 972,
"google": 3620
},
{
"baidu": 2,
"author": "姚勉",
"title": "先賢八詠 嵇康撫琴",
"so360": 62,
"bing": 13400,
"bing_en": 3030,
"google": 3480
},
{
"baidu": 3,
"author": "姚勉",
"title": "先賢八詠 謝安圍碁",
"so360": 13,
"bing": 20000,
"bing_en": 20900,
"google": 9580
},
{
"baidu": 6,
"author": "姚勉",
"title": "先賢八詠 杜甫吟詩",
"so360": 21,
"bing": 15400,
"bing_en": 13000,
"google": 28200
},
{
"baidu": 3,
"author": "姚勉",
"title": "先賢八詠 李白醉酒",
"so360": 28,
"bing": 16700,
"bing_en": 13100,
"google": 58600
},
{
"baidu": 6,
"author": "姚勉",
"title": "雪景四畫 剡溪乘興",
"so360": 14,
"bing": 9070,
"bing_en": 1470,
"google": 29400
},
{
"baidu": 3,
"author": "姚勉",
"title": "雪景四畫 寒江獨釣",
"so360": 16,
"bing": 14100,
"bing_en": 21100,
"google": 2100000
},
{
"baidu": 5,
"author": "姚勉",
"title": "雪景四畫 灞橋騎馿",
"so360": 46,
"bing": 18100,
"bing_en": 89,
"google": 2080000
},
{
"baidu": 2,
"author": "姚勉",
"title": "雪景四畫 藍關擁馬",
"so360": 19,
"bing": 119000,
"bing_en": 2140,
"google": 3300000
},
{
"baidu": 4,
"author": "姚勉",
"title": "謝久軒蔡先生惠墨九首 其一",
"so360": 36,
"bing": 36800,
"bing_en": 7720,
"google": 2340
},
{
"baidu": 4,
"author": "姚勉",
"title": "謝久軒蔡先生惠墨九首 其二",
"so360": 36,
"bing": 33300,
"bing_en": 17600,
"google": 2370
},
{
"baidu": 5,
"author": "姚勉",
"title": "謝久軒蔡先生惠墨九首 其三",
"so360": 36,
"bing": 166000,
"bing_en": 26600,
"google": 2360
},
{
"baidu": 5,
"author": "姚勉",
"title": "謝久軒蔡先生惠墨九首 其四",
"so360": 32,
"bing": 185000,
"bing_en": 26200,
"google": 2310
},
{
"baidu": 5,
"author": "姚勉",
"title": "謝久軒蔡先生惠墨九首 其五",
"so360": 34,
"bing": 190000,
"bing_en": 41800,
"google": 2260
},
{
"baidu": 4,
"author": "姚勉",
"title": "謝久軒蔡先生惠墨九首 其六",
"so360": 35,
"bing": 177000,
"bing_en": 42200,
"google": 2280
},
{
"baidu": 5,
"author": "姚勉",
"title": "謝久軒蔡先生惠墨九首 其七",
"so360": 9,
"bing": 174000,
"bing_en": 72200,
"google": 1880
},
{
"baidu": 5,
"author": "姚勉",
"title": "謝久軒蔡先生惠墨九首 其八",
"so360": 36,
"bing": 206000,
"bing_en": 56300,
"google": 1970
},
{
"baidu": 5,
"author": "姚勉",
"title": "謝久軒蔡先生惠墨九首 其九",
"so360": 33,
"bing": 170000,
"bing_en": 42600,
"google": 2430
},
{
"baidu": 2,
"author": "姚勉",
"title": "和楊鐵菴送子監鎮之任韻五首 其一",
"so360": 63,
"bing": 893,
"bing_en": 808,
"google": 1260
},
{
"baidu": 2,
"author": "姚勉",
"title": "和楊鐵菴送子監鎮之任韻五首 其二",
"so360": 61,
"bing": 893,
"bing_en": 788,
"google": 1250
},
{
"baidu": 2,
"author": "姚勉",
"title": "和楊鐵菴送子監鎮之任韻五首 其三",
"so360": 63,
"bing": 891,
"bing_en": 21100,
"google": 755
},
{
"baidu": 2,
"author": "姚勉",
"title": "和楊鐵菴送子監鎮之任韻五首 其四",
"so360": 63,
"bing": 891,
"bing_en": 21100,
"google": 1260
},
{
"baidu": 2,
"author": "姚勉",
"title": "和楊鐵菴送子監鎮之任韻五首 其五",
"so360": 29,
"bing": 891,
"bing_en": 21100,
"google": 1280
},
{
"baidu": 4,
"author": "姚勉",
"title": "番陽張君叔振觀予以其家雙瑞圖俾詩之叔振大參忠定公諸孫也惟忠定公政和八年魁天下某先世實隸其榜今某於叔振令子若鳳爲同年生世科之契也又何辭雖不能詩謹課二首 其一",
"so360": 10,
"bing": 32,
"bing_en": 0,
"google": 13100
},
{
"baidu": 4,
"author": "姚勉",
"title": "番陽張君叔振觀予以其家雙瑞圖俾詩之叔振大參忠定公諸孫也惟忠定公政和八年魁天下某先世實隸其榜今某於叔振令子若鳳爲同年生世科之契也又何辭雖不能詩謹課二首 其二",
"so360": 10,
"bing": 32,
"bing_en": 0,
"google": 13100
},
{
"baidu": 1,
"author": "姚勉",
"title": "贈星學彭砥齋",
"so360": 15,
"bing": 14100,
"bing_en": 39,
"google": 674000
},
{
"baidu": 12,
"author": "姚勉",
"title": "贈月堂徐相士",
"so360": 23,
"bing": 355000,
"bing_en": 2300,
"google": 30900
},
{
"baidu": 3,
"author": "姚勉",
"title": "人皆以貧憂",
"so360": 26,
"bing": 9610,
"bing_en": 21300,
"google": 1340000
},
{
"baidu": 4,
"author": "姚勉",
"title": "送廬陵郭僉判致仕歸",
"so360": 27,
"bing": 12700,
"bing_en": 3140,
"google": 134000
},
{
"baidu": 1,
"author": "姚勉",
"title": "送鄧若思赴南劍鄉舉",
"so360": 21,
"bing": 34400,
"bing_en": 52,
"google": 879
},
{
"baidu": 9,
"author": "姚勉",
"title": "次友人王半山韻",
"so360": 13,
"bing": 85200,
"bing_en": 20200,
"google": 421000
},
{
"baidu": 7,
"author": "姚勉",
"title": "贈霆伯姪",
"so360": 44,
"bing": 12600,
"bing_en": 34,
"google": 750000
},
{
"baidu": 14,
"author": "姚勉",
"title": "訪郭德甫",
"so360": 13,
"bing": 579,
"bing_en": 1260,
"google": 1040
},
{
"baidu": 3,
"author": "姚勉",
"title": "訪胡景顔",
"so360": 1710,
"bing": 12500,
"bing_en": 48,
"google": 1020
},
{
"baidu": 2,
"author": "姚勉",
"title": "贈宗人簡齋",
"so360": 24,
"bing": 13100,
"bing_en": 6120,
"google": 3120000
},
{
"baidu": 1,
"author": "姚勉",
"title": "題陳致中環溪",
"so360": 13,
"bing": 87600,
"bing_en": 4940,
"google": 445000
},
{
"baidu": 5,
"author": "姚勉",
"title": "同張公望湖上避暑到四聖觀招柏堂月潭二道士出飲",
"so360": 26,
"bing": 544,
"bing_en": 57,
"google": 10200
},
{
"baidu": 2,
"author": "姚勉",
"title": "題章秀才畫山水魚龍",
"so360": 16,
"bing": 12300,
"bing_en": 2780,
"google": 820000
},
{
"baidu": 11,
"author": "姚勉",
"title": "日食罪言",
"so360": 78,
"bing": 1240,
"bing_en": 20500,
"google": 468000
},
{
"baidu": 3,
"author": "姚勉",
"title": "遊靈源天境遇雨各奔歸晚坐以不是溪居者那知風雨來分韻得那字奉呈一笑",
"so360": 14,
"bing": 44,
"bing_en": 12,
"google": 1480
},
{
"baidu": 5,
"author": "姚勉",
"title": "麻子湖遇逆風",
"so360": 42,
"bing": 13200,
"bing_en": 99,
"google": 370000
},
{
"baidu": 26,
"author": "姚勉",
"title": "白鶴",
"so360": 203,
"bing": 3600,
"bing_en": 19200,
"google": 610000
},
{
"baidu": 6,
"author": "姚勉",
"title": "蓮竹鶴",
"so360": 16,
"bing": 12300,
"bing_en": 21300,
"google": 575000
},
{
"baidu": 15,
"author": "姚勉",
"title": "醉芙蓉",
"so360": 46,
"bing": 8690,
"bing_en": 21300,
"google": 323000
},
{
"baidu": 9,
"author": "姚勉",
"title": "贈相道士梁彌仙",
"so360": 14,
"bing": 13100,
"bing_en": 13900,
"google": 1620000
},
{
"baidu": 3,
"author": "姚勉",
"title": "題廉泉",
"so360": 23,
"bing": 6350,
"bing_en": 527,
"google": 1860000
},
{
"baidu": 3,
"author": "姚勉",
"title": "題騰芳書院",
"so360": 27,
"bing": 21800,
"bing_en": 16100,
"google": 1260000
},
{
"baidu": 3,
"author": "姚勉",
"title": "題雪巖胡則潛詩卷首",
"so360": 24,
"bing": 91,
"bing_en": 21200,
"google": 1110
},
{
"baidu": 1,
"author": "姚勉",
"title": "題李銳父所藏陳所翁龍軸",
"so360": 17,
"bing": 1610,
"bing_en": 17500,
"google": 1380000
},
{
"baidu": 5,
"author": "姚勉",
"title": "題墨梅風煙雪月水石蘭竹八軸",
"so360": 58,
"bing": 507,
"bing_en": 100,
"google": 222000
},
{
"baidu": 8,
"author": "姚勉",
"title": "送友人陳上舍兄弟試太學",
"so360": 20,
"bing": 93800,
"bing_en": 1340,
"google": 37200
},
{
"baidu": 10,
"author": "姚勉",
"title": "送松麓李應龍彝甫携阿穎鵬升參學",
"so360": 2,
"bing": 12500,
"bing_en": 1,
"google": 1850
},
{
"baidu": 6,
"author": "姚勉",
"title": "送胡從甫劉仲山入京",
"so360": 20,
"bing": 184000,
"bing_en": 1250,
"google": 1140
},
{
"baidu": 5,
"author": "姚勉",
"title": "龍道者生日就狀元局中置酒寄以詩",
"so360": 23,
"bing": 27500,
"bing_en": 706,
"google": 9140
},
{
"baidu": 3,
"author": "姚勉",
"title": "姪阿鍾覓字與詩",
"so360": 538,
"bing": 12500,
"bing_en": 19700,
"google": 915000
},
{
"baidu": 4,
"author": "姚勉",
"title": "賀族兄寵妾生子",
"so360": 11,
"bing": 12700,
"bing_en": 60,
"google": 2310000
},
{
"baidu": 2,
"author": "姚勉",
"title": "賀趙宰夫美任生子",
"so360": 18,
"bing": 13100,
"bing_en": 1620,
"google": 1100
},
{
"baidu": 2,
"author": "姚勉",
"title": "賀孫舜皋子周歲",
"so360": 11,
"bing": 12000,
"bing_en": 16700,
"google": 27600
},
{
"baidu": 2,
"author": "姚勉",
"title": "贈新昌王藍田三子",
"so360": 23,
"bing": 12100,
"bing_en": 1430,
"google": 306000
},
{
"baidu": 1,
"author": "姚勉",
"title": "訪李興伯不遇其家人命二子留宿有古人截髮撤薦之風喜詩之",
"so360": 10,
"bing": 560,
"bing_en": 25,
"google": 845
},
{
"baidu": 2,
"author": "姚勉",
"title": "薦黄平仲過雪巖以詩代簡",
"so360": 14,
"bing": 714,
"bing_en": 67,
"google": 38500
},
{
"baidu": 4,
"author": "姚勉",
"title": "贈墨客呂雲叔",
"so360": 31,
"bing": 23900,
"bing_en": 2820,
"google": 678
},
{
"baidu": 2,
"author": "姚勉",
"title": "贈丹客鄒道士",
"so360": 11,
"bing": 73900,
"bing_en": 38,
"google": 1510000
},
{
"baidu": 4,
"author": "姚勉",
"title": "贈宗道士元一",
"so360": 16,
"bing": 221000,
"bing_en": 18900,
"google": 2300000
},
{
"baidu": 1,
"author": "姚勉",
"title": "贈黄道士思成祈雨感應",
"so360": 25,
"bing": 12500,
"bing_en": 7260,
"google": 309000
},
{
"baidu": 8,
"author": "姚勉",
"title": "贈山月道士",
"so360": 14,
"bing": 12600,
"bing_en": 3150,
"google": 1860000
},
{
"baidu": 4,
"author": "姚勉",
"title": "題道士瀟碧",
"so360": 17,
"bing": 10800,
"bing_en": 3270,
"google": 958000
},
{
"baidu": 6,
"author": "姚勉",
"title": "中秋放舟",
"so360": 35,
"bing": 9760,
"bing_en": 21200,
"google": 1020000
},
{
"baidu": 4,
"author": "姚勉",
"title": "西山雪嶺",
"so360": 24,
"bing": 618000,
"bing_en": 19200,
"google": 4840
},
{
"baidu": 9,
"author": "姚勉",
"title": "清江曲",
"so360": 27,
"bing": 3250,
"bing_en": 21200,
"google": 503000
},
{
"baidu": 17,
"author": "姚勉",
"title": "桃源行",
"so360": 35,
"bing": 10200,
"bing_en": 21200,
"google": 2280000
},
{
"baidu": 5,
"author": "姚勉",
"title": "送陳糾任滿歸",
"so360": 57,
"bing": 16100,
"bing_en": 138,
"google": 2830000
},
{
"baidu": 3,
"author": "姚勉",
"title": "送楊帥參之任",
"so360": 33,
"bing": 34400,
"bing_en": 21300,
"google": 4560000
},
{
"baidu": 1,
"author": "姚勉",
"title": "送高錄參美任",
"so360": 26,
"bing": 285000,
"bing_en": 20400,
"google": 3170000
},
{
"baidu": 7,
"author": "姚勉",
"title": "送鄭編修罷任",
"so360": 19,
"bing": 12700,
"bing_en": 11900,
"google": 122000
},
{
"baidu": 1,
"author": "姚勉",
"title": "次楊監簿上陳守賑災韻",
"so360": 29,
"bing": 12800,
"bing_en": 16600,
"google": 245000
},
{
"baidu": 1,
"author": "姚勉",
"title": "次楊監簿新闢小西湖韻",
"so360": 19,
"bing": 12100,
"bing_en": 5640,
"google": 58000
},
{
"baidu": 3,
"author": "姚勉",
"title": "題河沙寺西崖",
"so360": 17,
"bing": 26000,
"bing_en": 21300,
"google": 29700
},
{
"baidu": 2,
"author": "姚勉",
"title": "題南昌邑大夫俞君尊公坦庵",
"so360": 12,
"bing": 4920,
"bing_en": 3510,
"google": 846
},
{
"baidu": 9,
"author": "姚勉",
"title": "梁新恩送龍涎香盃",
"so360": 52,
"bing": 12500,
"bing_en": 22,
"google": 6150
},
{
"baidu": 2,
"author": "姚勉",
"title": "謝胡龍溪惠酒材及五德",
"so360": 18,
"bing": 213000,
"bing_en": 19400,
"google": 10600
},
{
"baidu": 11,
"author": "姚勉",
"title": "余評事惠龍團獸炭香瓔鳬實且許以百丈山楮衾而未至",
"so360": 9,
"bing": 47,
"bing_en": 4,
"google": 1950
},
{
"baidu": 2,
"author": "姚勉",
"title": "贈棋翁挾二童皆高弈",
"so360": 25,
"bing": 12500,
"bing_en": 15800,
"google": 733000
},
{
"baidu": 4,
"author": "姚勉",
"title": "贈定軒游季升",
"so360": 15,
"bing": 44300,
"bing_en": 21200,
"google": 729
},
{
"baidu": 1,
"author": "姚勉",
"title": "贈郵文秀才",
"so360": 14,
"bing": 18100,
"bing_en": 7820,
"google": 368000
},
{
"baidu": 4,
"author": "姚勉",
"title": "贈真術秀才",
"so360": 17,
"bing": 46700,
"bing_en": 15400,
"google": 376000
},
{
"baidu": 2,
"author": "姚勉",
"title": "贈古朴相士",
"so360": 27,
"bing": 3170,
"bing_en": 100,
"google": 83600
},
{
"baidu": 7,
"author": "姚勉",
"title": "贈金斗相士",
"so360": 13,
"bing": 26900,
"bing_en": 38,
"google": 1630000
},
{
"baidu": 1,
"author": "姚勉",
"title": "贈行在李主人二子",
"so360": 9,
"bing": 71300,
"bing_en": 21100,
"google": 683000
},
{
"baidu": 7,
"author": "姚勉",
"title": "贈天王長老無著",
"so360": 41,
"bing": 14100,
"bing_en": 1230,
"google": 133000
},
{
"baidu": 3,
"author": "姚勉",
"title": "贈饒春卿",
"so360": 24,
"bing": 19500,
"bing_en": 21300,
"google": 948
},
{
"baidu": 6,
"author": "姚勉",
"title": "潘吳二察甚振風采劉仲山有詩因次其韻",
"so360": 26,
"bing": 11000,
"bing_en": 792,
"google": 7750
},
{
"baidu": 3,
"author": "姚勉",
"title": "丁巳春言事西歸和朱子雲賜詩韻",
"so360": 47,
"bing": 6980,
"bing_en": 5,
"google": 421
},
{
"baidu": 10,
"author": "姚勉",
"title": "和楊監簿咏梅",
"so360": 11,
"bing": 14200,
"bing_en": 129,
"google": 1150000
},
{
"baidu": 11,
"author": "姚勉",
"title": "送孫龍谷",
"so360": 26,
"bing": 553000,
"bing_en": 21200,
"google": 39900
},
{
"baidu": 10,
"author": "姚勉",
"title": "送李幼章",
"so360": 26,
"bing": 58,
"bing_en": 22700,
"google": 728
},
{
"baidu": 2,
"author": "姚勉",
"title": "九日簡張倅",
"so360": 30,
"bing": 12400,
"bing_en": 2920,
"google": 3480000
},
{
"baidu": 1,
"author": "姚勉",
"title": "送胡季㢸入太學",
"so360": 20,
"bing": 26700,
"bing_en": 5,
"google": 7
},
{
"baidu": 1,
"author": "姚勉",
"title": "送漆文甫尉分宜",
"so360": 27,
"bing": 11700,
"bing_en": 4260,
"google": 950000
},
{
"baidu": 1,
"author": "姚勉",
"title": "送琴隠吳君",
"so360": 19,
"bing": 64100,
"bing_en": 9,
"google": 602000
},
{
"baidu": 2,
"author": "姚勉",
"title": "題譚君詩集",
"so360": 20,
"bing": 70200,
"bing_en": 10200,
"google": 2960000
},
{
"baidu": 3,
"author": "姚勉",
"title": "贈彭花翁牡丹障",
"so360": 466,
"bing": 2630,
"bing_en": 6090,
"google": 1550
},
{
"baidu": 3,
"author": "姚勉",
"title": "京城苦熱",
"so360": 23,
"bing": 1020,
"bing_en": 731,
"google": 951000
},
{
"baidu": 3,
"author": "姚勉",
"title": "夢保母如兒時",
"so360": 28,
"bing": 18400,
"bing_en": 16500,
"google": 2970000
},
{
"baidu": 4,
"author": "姚勉",
"title": "題魁字軸",
"so360": 0,
"bing": 14600,
"bing_en": 21300,
"google": 567000
},
{
"baidu": 5,
"author": "姚勉",
"title": "贊趙直閣所藏四美人畫 春",
"so360": 51,
"bing": 260000,
"bing_en": 18300,
"google": 4900
},
{
"baidu": 5,
"author": "姚勉",
"title": "贊趙直閣所藏四美人畫 夏",
"so360": 52,
"bing": 291000,
"bing_en": 18400,
"google": 4540
},
{
"baidu": 5,
"author": "姚勉",
"title": "贊趙直閣所藏四美人畫 秋",
"so360": 52,
"bing": 233000,
"bing_en": 18200,
"google": 4790
},
{
"baidu": 5,
"author": "姚勉",
"title": "贊趙直閣所藏四美人畫 冬",
"so360": 13,
"bing": 338000,
"bing_en": 17000,
"google": 4470
},
{
"baidu": 12,
"author": "姚勉",
"title": "題楊妃出浴圖",
"so360": 10,
"bing": 12200,
"bing_en": 1650,
"google": 1560000
},
{
"baidu": 2,
"author": "姚勉",
"title": "題西施捧心圖",
"so360": 501,
"bing": 7380,
"bing_en": 41,
"google": 690000
},
{
"baidu": 3,
"author": "姚勉",
"title": "贊張英玉所畫山谷老蟻蝶圖",
"so360": 13,
"bing": 77,
"bing_en": 5420,
"google": 895
},
{
"baidu": 4,
"author": "姚勉",
"title": "贊張英玉蟬驚螳螂圖",
"so360": 11,
"bing": 938,
"bing_en": 17700,
"google": 1480
},
{
"baidu": 13,
"author": "姚勉",
"title": "禽言十詠 不如歸去",
"so360": 11,
"bing": 18900,
"bing_en": 1480,
"google": 798000
},
{
"baidu": 12,
"author": "姚勉",
"title": "禽言十詠 泥活活",
"so360": 93,
"bing": 12600,
"bing_en": 21100,
"google": 1250000
},
{
"baidu": 8,
"author": "姚勉",
"title": "禽言十詠 著新脫故",
"so360": 90,
"bing": 14000,
"bing_en": 21100,
"google": 1400000
},
{
"baidu": 22,
"author": "姚勉",
"title": "禽言十詠 郭公",
"so360": 14,
"bing": 16400,
"bing_en": 21900,
"google": 22700
},
{
"baidu": 10,
"author": "姚勉",
"title": "禽言十詠 麥熟也哥哥",
"so360": 564,
"bing": 12900,
"bing_en": 4380,
"google": 690000
},
{
"baidu": 9,
"author": "姚勉",
"title": "禽言十詠 看蠶娘子得幾許",
"so360": 16,
"bing": 3200,
"bing_en": 109,
"google": 353000
},
{
"baidu": 9,
"author": "姚勉",
"title": "禽言十詠 婆餠焦",
"so360": 23,
"bing": 12900,
"bing_en": 21100,
"google": 382000
},
{
"baidu": 13,
"author": "姚勉",
"title": "禽言十詠 姑惡",
"so360": 9,
"bing": 13800,
"bing_en": 914,
"google": 1290000
},
{
"baidu": 14,
"author": "姚勉",
"title": "禽言十詠 提葫蘆沽美酒",
"so360": 24,
"bing": 12900,
"bing_en": 107,
"google": 350000
},
{
"baidu": 19,
"author": "姚勉",
"title": "禽言十詠 百舌",
"so360": 15,
"bing": 14400,
"bing_en": 21200,
"google": 547000
},
{
"baidu": 3,
"author": "姚勉",
"title": "問鴈",
"so360": 602,
"bing": 8620,
"bing_en": 21300,
"google": 1560000
},
{
"baidu": 1,
"author": "姚勉",
"title": "聞鶑",
"so360": 575,
"bing": 8760,
"bing_en": 15300,
"google": 259000
},
{
"baidu": 3,
"author": "姚勉",
"title": "觀風馬",
"so360": 42,
"bing": 946000,
"bing_en": 4320,
"google": 45500
},
{
"baidu": 5,
"author": "姚勉",
"title": "烏鵲吟",
"so360": 32,
"bing": 14000,
"bing_en": 21200,
"google": 1180000
},
{
"baidu": 3,
"author": "姚勉",
"title": "錢唐吟",
"so360": 58,
"bing": 7880,
"bing_en": 21900,
"google": 1430000
},
{
"baidu": 3,
"author": "姚勉",
"title": "義娼吟",
"so360": 28,
"bing": 30900000,
"bing_en": 21100,
"google": 1080000
},
{
"baidu": 22,
"author": "姚勉",
"title": "聽箏",
"so360": 296,
"bing": 3700,
"bing_en": 21200,
"google": 1050000
},
{
"baidu": 2,
"author": "姚勉",
"title": "贈王生",
"so360": 23,
"bing": 12400,
"bing_en": 21400,
"google": 1790000
},
{
"baidu": 11400,
"author": "姚勉",
"title": "友山李道士抱琴來爲予作三曲請詩各爲之操 九臯",
"so360": 15,
"bing": 5170,
"bing_en": 69,
"google": 74400
},
{
"baidu": 31,
"author": "姚勉",
"title": "友山李道士抱琴來爲予作三曲請詩各爲之操 君臣慶會",
"so360": 15,
"bing": 2060,
"bing_en": 29,
"google": 649000
},
{
"baidu": 34,
"author": "姚勉",
"title": "友山李道士抱琴來爲予作三曲請詩各爲之操 觀瀾",
"so360": 15,
"bing": 5470,
"bing_en": 25,
"google": 9180
},
{
"baidu": 2,
"author": "姚勉",
"title": "郡守勸駕樂語",
"so360": 20,
"bing": 13400,
"bing_en": 20,
"google": 809000
},
{
"baidu": 22,
"author": "姚勉",
"title": "新婚致語",
"so360": 79,
"bing": 1830,
"bing_en": 8730,
"google": 920000
},
{
"baidu": 8,
"author": "姚勉",
"title": "對廳樂語",
"so360": 66,
"bing": 930000,
"bing_en": 276,
"google": 1720000
},
{
"baidu": 5,
"author": "姚勉",
"title": "女筵樂語",
"so360": 43,
"bing": 20900,
"bing_en": 517,
"google": 1200000
},
{
"baidu": 7,
"author": "姚勉",
"title": "禮席致語",
"so360": 124,
"bing": 52800,
"bing_en": 36,
"google": 1800000
},
{
"baidu": 5,
"author": "姚勉",
"title": "女筵樂語",
"so360": 43,
"bing": 20900,
"bing_en": 517,
"google": 1200000
},
{
"baidu": 5,
"author": "姚勉",
"title": "郡守宴狀元樂語",
"so360": 34,
"bing": 13400,
"bing_en": 67,
"google": 955000
},
{
"baidu": 10,
"author": "姚勉",
"title": "送曾蒼山",
"so360": 52,
"bing": 12400,
"bing_en": 3740,
"google": 478000
},
{
"baidu": 1,
"author": "姚勉",
"title": "鬰孤臺九日",
"so360": 27,
"bing": 13400,
"bing_en": 1710,
"google": 31000
},
{
"baidu": 3,
"author": "姚勉",
"title": "輓楊玉溪",
"so360": 11,
"bing": 3110,
"bing_en": 633,
"google": 32600
},
{
"baidu": 27,
"author": "姚勉",
"title": "秋夜",
"so360": 206,
"bing": 4850,
"bing_en": 21100,
"google": 1020000
},
{
"baidu": 4,
"author": "姚勉",
"title": "示同學",
"so360": 294,
"bing": 11400,
"bing_en": 21100,
"google": 917000
},
{
"baidu": 2,
"author": "姚勉",
"title": "戲叔納寵",
"so360": 20,
"bing": 14100,
"bing_en": 128,
"google": 2420000
},
{
"baidu": 9,
"author": "姚勉",
"title": "游曲江分韵得月字",
"so360": 17,
"bing": 7370,
"bing_en": 20800,
"google": 8000
},
{
"baidu": 5,
"author": "黄德明",
"title": "句",
"so360": 636,
"bing": 3580,
"bing_en": 29500,
"google": 25000
},
{
"baidu": 2,
"author": "許月卿",
"title": "月代",
"so360": 22,
"bing": 7370000,
"bing_en": 20000,
"google": 200000000
},
{
"baidu": 4,
"author": "許月卿",
"title": "次韻春谷",
"so360": 24,
"bing": 457000,
"bing_en": 181,
"google": 67500
},
{
"baidu": 9,
"author": "許月卿",
"title": "箕山",
"so360": 36,
"bing": 350000,
"bing_en": 17400,
"google": 68200
},
{
"baidu": 4,
"author": "許月卿",
"title": "送碧梧入府",
"so360": 28,
"bing": 18600,
"bing_en": 1400,
"google": 1160000
},
{
"baidu": 2,
"author": "許月卿",
"title": "贈胡菊軒",
"so360": 11,
"bing": 92100,
"bing_en": 17600,
"google": 97
},
{
"baidu": 2,
"author": "許月卿",
"title": "除月二十三日夜夢",
"so360": 286,
"bing": 26500,
"bing_en": 15,
"google": 691000
},
{
"baidu": 57,
"author": "許月卿",
"title": "次韻陳肇芳竿贈李相士",
"so360": 116,
"bing": 16500,
"bing_en": 42,
"google": 8350
},
{
"baidu": 8,
"author": "許月卿",
"title": "次韻謝君直贈李相士",
"so360": 11,
"bing": 12800,
"bing_en": 15,
"google": 469
},
{
"baidu": 3,
"author": "許月卿",
"title": "京城看月",
"so360": 57,
"bing": 1060000,
"bing_en": 17300,
"google": 979000
},
{
"baidu": 31,
"author": "許月卿",
"title": "故人",
"so360": 1040,
"bing": 144000,
"bing_en": 18000,
"google": 4620000
},
{
"baidu": 12,
"author": "許月卿",
"title": "次韻胡溫升玉甫西野",
"so360": 20,
"bing": 12100,
"bing_en": 0,
"google": 3430
},
{
"baidu": 50,
"author": "許月卿",
"title": "次韻",
"so360": 588,
"bing": 993000,
"bing_en": 932,
"google": 99500
},
{
"baidu": 3,
"author": "許月卿",
"title": "題明皇貴妃上馬圖",
"so360": 33,
"bing": 97800,
"bing_en": 64,
"google": 76800
},
{
"baidu": 6,
"author": "許月卿",
"title": "涉世",
"so360": 53,
"bing": 79,
"bing_en": 13300,
"google": 335000
},
{
"baidu": 20,
"author": "許月卿",
"title": "山近",
"so360": 21,
"bing": 4230000,
"bing_en": 14900,
"google": 93300000
},
{
"baidu": 7,
"author": "許月卿",
"title": "新安",
"so360": 538,
"bing": 12500,
"bing_en": 1600,
"google": 274000
},
{
"baidu": 4,
"author": "許月卿",
"title": "木犀",
"so360": 149,
"bing": 733000,
"bing_en": 144,
"google": 211000
},
{
"baidu": 4,
"author": "許月卿",
"title": "曉幄",
"so360": 14,
"bing": 144000,
"bing_en": 6,
"google": 841000
},
{
"baidu": 3,
"author": "許月卿",
"title": "雲邊",
"so360": 46,
"bing": 1300000,
"bing_en": 14600,
"google": 9240000
},
{
"baidu": 34,
"author": "許月卿",
"title": "明月",
"so360": 1420,
"bing": 82,
"bing_en": 4570,
"google": 1300000
},
{
"baidu": 4,
"author": "許月卿",
"title": "甥館 其一",
"so360": 76,
"bing": 205000,
"bing_en": 66,
"google": 1090000
},
{
"baidu": 4,
"author": "許月卿",
"title": "甥館 其二",
"so360": 11,
"bing": 182000,
"bing_en": 111,
"google": 1140000
},
{
"baidu": 4,
"author": "許月卿",
"title": "甥館 其三",
"so360": 121,
"bing": 177000,
"bing_en": 18600,
"google": 1150000
},
{
"baidu": 4,
"author": "許月卿",
"title": "甥館 其四",
"so360": 14,
"bing": 152000,
"bing_en": 16800,
"google": 1070000
},
{
"baidu": 3,
"author": "許月卿",
"title": "甥館 其五",
"so360": 0,
"bing": 147000,
"bing_en": 17300,
"google": 1120000
},
{
"baidu": 4,
"author": "許月卿",
"title": "吊程貢元",
"so360": 53,
"bing": 20300,
"bing_en": 12,
"google": 1650000
},
{
"baidu": 4,
"author": "許月卿",
"title": "代仍六弟吊程貢元 其一",
"so360": 60,
"bing": 12300,
"bing_en": 35,
"google": 732000
},
{
"baidu": 4,
"author": "許月卿",
"title": "代仍六弟吊程貢元 其二",
"so360": 55,
"bing": 12300,
"bing_en": 41,
"google": 745000
},
{
"baidu": 4,
"author": "許月卿",
"title": "代仍六弟吊程貢元 其三",
"so360": 184,
"bing": 8830,
"bing_en": 17000,
"google": 760000
},
{
"baidu": 2,
"author": "許月卿",
"title": "挽番陽戴如曾貢士母金氏",
"so360": 11,
"bing": 12300,
"bing_en": 67,
"google": 667000
},
{
"baidu": 4,
"author": "許月卿",
"title": "次韻汪敬子",
"so360": 10,
"bing": 136000,
"bing_en": 132,
"google": 11500
},
{
"baidu": 2,
"author": "許月卿",
"title": "挽汪士洪",
"so360": 1270,
"bing": 25500,
"bing_en": 1260,
"google": 78
},
{
"baidu": 2,
"author": "許月卿",
"title": "同滕推游朱緋堂二首 其一",
"so360": 20,
"bing": 60200,
"bing_en": 40,
"google": 689000
},
{
"baidu": 2,
"author": "許月卿",
"title": "同滕推游朱緋堂二首 其二",
"so360": 20,
"bing": 17800,
"bing_en": 45,
"google": 740000
},
{
"baidu": 1,
"author": "許月卿",
"title": "挽外舅二首 其一",
"so360": 28,
"bing": 12800,
"bing_en": 696,
"google": 473000
},
{
"baidu": 1,
"author": "許月卿",
"title": "挽外舅二首 其二",
"so360": 30,
"bing": 12600,
"bing_en": 669,
"google": 1450000
},
{
"baidu": 6,
"author": "許月卿",
"title": "有感",
"so360": 59,
"bing": 20300,
"bing_en": 18500,
"google": 95300000
},
{
"baidu": 1,
"author": "許月卿",
"title": "住黛障",
"so360": 12,
"bing": 17200,
"bing_en": 16800,
"google": 1070000
},
{
"baidu": 12,
"author": "許月卿",
"title": "夢中作",
"so360": 276,
"bing": 1940000,
"bing_en": 16800,
"google": 3070000
},
{
"baidu": 2,
"author": "許月卿",
"title": "閒賦",
"so360": 41,
"bing": 144000,
"bing_en": 1810,
"google": 1520000
},
{
"baidu": 6,
"author": "許月卿",
"title": "野人",
"so360": 108,
"bing": 14400,
"bing_en": 1640,
"google": 459000
},
{
"baidu": 1,
"author": "許月卿",
"title": "次韻鄭將士",
"so360": 14,
"bing": 144000,
"bing_en": 69,
"google": 11700
},
{
"baidu": 4,
"author": "許月卿",
"title": "霜日",
"so360": 13,
"bing": 926000,
"bing_en": 4880,
"google": 7130000
},
{
"baidu": 1,
"author": "許月卿",
"title": "得安道中",
"so360": 25,
"bing": 2150000,
"bing_en": 17400,
"google": 348000
},
{
"baidu": 1,
"author": "許月卿",
"title": "挽胡制機康侯",
"so360": 40,
"bing": 20600,
"bing_en": 49,
"google": 636000
},
{
"baidu": 3,
"author": "許月卿",
"title": "寄郭衢州",
"so360": 26,
"bing": 540000,
"bing_en": 98,
"google": 170000
},
{
"baidu": 5,
"author": "許月卿",
"title": "重寄郭衢州",
"so360": 14,
"bing": 202000,
"bing_en": 98,
"google": 159000
},
{
"baidu": 2,
"author": "許月卿",
"title": "寄留夢炎",
"so360": 24,
"bing": 43800,
"bing_en": 18200,
"google": 5610
},
{
"baidu": 2,
"author": "許月卿",
"title": "重寄留夢炎",
"so360": 13,
"bing": 33500,
"bing_en": 58,
"google": 7250
},
{
"baidu": 2,
"author": "許月卿",
"title": "夜永",
"so360": 54,
"bing": 79,
"bing_en": 6090,
"google": 8840000
},
{
"baidu": 2,
"author": "許月卿",
"title": "客來",
"so360": 66,
"bing": 3360000,
"bing_en": 21300,
"google": 28100000
},
{
"baidu": 11,
"author": "許月卿",
"title": "咸淳",
"so360": 83,
"bing": 144000,
"bing_en": 4910,
"google": 1370000
},
{
"baidu": 1,
"author": "許月卿",
"title": "送張平湖山遊",
"so360": 16,
"bing": 23500,
"bing_en": 147,
"google": 321000
},
{
"baidu": 1,
"author": "許月卿",
"title": "次胡伯凱韻",
"so360": 36,
"bing": 52100,
"bing_en": 4980,
"google": 201
},
{
"baidu": 3,
"author": "許月卿",
"title": "題項橫父臨清亭時方生孫",
"so360": 19,
"bing": 50300,
"bing_en": 34,
"google": 404000
},
{
"baidu": 2,
"author": "許月卿",
"title": "捧硯姬空翠二首 其一",
"so360": 28,
"bing": 7730,
"bing_en": 17500,
"google": 437000
},
{
"baidu": 2,
"author": "許月卿",
"title": "捧硯姬空翠二首 其二",
"so360": 29,
"bing": 7730,
"bing_en": 25600,
"google": 462000
},
{
"baidu": 1,
"author": "許月卿",
"title": "獻歲",
"so360": 48,
"bing": 1330000,
"bing_en": 56,
"google": 6090000
},
{
"baidu": 6,
"author": "許月卿",
"title": "梅叟",
"so360": 30,
"bing": 12900,
"bing_en": 17800,
"google": 337000
},
{
"baidu": 7,
"author": "許月卿",
"title": "挽妹婿汪汻四首 其一",
"so360": 565,
"bing": 23400,
"bing_en": 24,
"google": 693000
},
{
"baidu": 7,
"author": "許月卿",
"title": "挽妹婿汪汻四首 其二",
"so360": 444,
"bing": 23400,
"bing_en": 107,
"google": 689000
},
{
"baidu": 7,
"author": "許月卿",
"title": "挽妹婿汪汻四首 其三",
"so360": 319,
"bing": 13800,
"bing_en": 15000,
"google": 721000
},
{
"baidu": 7,
"author": "許月卿",
"title": "挽妹婿汪汻四首 其四",
"so360": 76,
"bing": 13800,
"bing_en": 15200,
"google": 709000
},
{
"baidu": 12,
"author": "許月卿",
"title": "燈火",
"so360": 151,
"bing": 495000,
"bing_en": 17000,
"google": 2050000
},
{
"baidu": 5,
"author": "許月卿",
"title": "月色",
"so360": 182,
"bing": 16500,
"bing_en": 1130,
"google": 42300000
},
{
"baidu": 2,
"author": "許月卿",
"title": "帝學",
"so360": 74,
"bing": 16500,
"bing_en": 10200,
"google": 7320000
},
{
"baidu": 3,
"author": "許月卿",
"title": "次韻蜀人李施州芾端午 其一",
"so360": 413,
"bing": 12300,
"bing_en": 53,
"google": 30100
},
{
"baidu": 3,
"author": "許月卿",
"title": "次韻蜀人李施州芾端午 其二",
"so360": 412,
"bing": 12300,
"bing_en": 56,
"google": 29200
},
{
"baidu": 4,
"author": "許月卿",
"title": "送撫倅林評事歸班",
"so360": 15,
"bing": 12500,
"bing_en": 7,
"google": 819000
},
{
"baidu": 5,
"author": "許月卿",
"title": "天貺",
"so360": 31,
"bing": 474000,
"bing_en": 44,
"google": 8930000
},
{
"baidu": 3,
"author": "許月卿",
"title": "飯了",
"so360": 456,
"bing": 1260000,
"bing_en": 16200,
"google": 14000000
},
{
"baidu": 4,
"author": "許月卿",
"title": "大行皇帝挽詞五首 其一",
"so360": 43,
"bing": 17700,
"bing_en": 37,
"google": 155000
},
{
"baidu": 4,
"author": "許月卿",
"title": "大行皇帝挽詞五首 其二",
"so360": 43,
"bing": 17700,
"bing_en": 49,
"google": 161000
},
{
"baidu": 4,
"author": "許月卿",
"title": "大行皇帝挽詞五首 其三",
"so360": 43,
"bing": 17600,
"bing_en": 1280,
"google": 165000
},
{
"baidu": 5,
"author": "許月卿",
"title": "大行皇帝挽詞五首 其四",
"so360": 43,
"bing": 17700,
"bing_en": 1270,
"google": 130000
},
{
"baidu": 4,
"author": "許月卿",
"title": "大行皇帝挽詞五首 其五",
"so360": 36,
"bing": 17600,
"bing_en": 1280,
"google": 158000
},
{
"baidu": 2,
"author": "許月卿",
"title": "贈快霖",
"so360": 10,
"bing": 357000,
"bing_en": 17500,
"google": 1100000
},
{
"baidu": 4,
"author": "許月卿",
"title": "神靜",
"so360": 24,
"bing": 144000,
"bing_en": 9430,
"google": 10900000
},
{
"baidu": 2,
"author": "許月卿",
"title": "寄陳宰",
"so360": 26,
"bing": 109000,
"bing_en": 1810,
"google": 4290000
},
{
"baidu": 1,
"author": "許月卿",
"title": "次韻李制幹贈行",
"so360": 28,
"bing": 22900,
"bing_en": 128,
"google": 83500
},
{
"baidu": 15,
"author": "許月卿",
"title": "山川",
"so360": 272,
"bing": 13600,
"bing_en": 2410,
"google": 8290000
},
{
"baidu": 7,
"author": "許月卿",
"title": "天道",
"so360": 72,
"bing": 17400,
"bing_en": 1290,
"google": 2080000
},
{
"baidu": 4,
"author": "許月卿",
"title": "木犀",
"so360": 149,
"bing": 733000,
"bing_en": 144,
"google": 211000
},
{
"baidu": 1,
"author": "許月卿",
"title": "次韻晉三姪招予及同年飲",
"so360": 480,
"bing": 4140,
"bing_en": 6,
"google": 21000
},
{
"baidu": 1,
"author": "許月卿",
"title": "次韻雲岩",
"so360": 37,
"bing": 451000,
"bing_en": 18,
"google": 44800
},
{
"baidu": 3,
"author": "許月卿",
"title": "南堂",
"so360": 26,
"bing": 1410000,
"bing_en": 14500,
"google": 55100
},
{
"baidu": 2,
"author": "許月卿",
"title": "使華",
"so360": 21,
"bing": 1470000,
"bing_en": 7370,
"google": 20100000
},
{
"baidu": 4,
"author": "許月卿",
"title": "允杰姪以詩來卒章和予生孫次韻一百首今存四 其一",
"so360": 158,
"bing": 1430,
"bing_en": 0,
"google": 7160
},
{
"baidu": 4,
"author": "許月卿",
"title": "允杰姪以詩來卒章和予生孫次韻一百首今存四 其二",
"so360": 159,
"bing": 1340,
"bing_en": 0,
"google": 8100
},
{
"baidu": 4,
"author": "許月卿",
"title": "允杰姪以詩來卒章和予生孫次韻一百首今存四 其三",
"so360": 158,
"bing": 1640,
"bing_en": 28,
"google": 6150
},
{
"baidu": 4,
"author": "許月卿",
"title": "允杰姪以詩來卒章和予生孫次韻一百首今存四 其四",
"so360": 157,
"bing": 2270,
"bing_en": 28,
"google": 8000
},
{
"baidu": 2,
"author": "許月卿",
"title": "用韻簡如晦",
"so360": 20,
"bing": 17000,
"bing_en": 26,
"google": 16500
},
{
"baidu": 2,
"author": "許月卿",
"title": "用韻自述",
"so360": 470,
"bing": 29300,
"bing_en": 37,
"google": 99300
},
{
"baidu": 8,
"author": "許月卿",
"title": "八角",
"so360": 29,
"bing": 776000,
"bing_en": 16600,
"google": 3770000
},
{
"baidu": 5,
"author": "許月卿",
"title": "歸塗",
"so360": 28,
"bing": 359000,
"bing_en": 2260,
"google": 8590000
},
{
"baidu": 3,
"author": "許月卿",
"title": "次韻程愿二首 其一",
"so360": 39,
"bing": 7190,
"bing_en": 110,
"google": 81500
},
{
"baidu": 3,
"author": "許月卿",
"title": "次韻程愿二首 其二",
"so360": 39,
"bing": 7230,
"bing_en": 122,
"google": 55300
},
{
"baidu": 5,
"author": "許月卿",
"title": "寄顧次岳五首 其一",
"so360": 24,
"bing": 14000,
"bing_en": 8700,
"google": 1270000
},
{
"baidu": 5,
"author": "許月卿",
"title": "寄顧次岳五首 其二",
"so360": 24,
"bing": 14000,
"bing_en": 6710,
"google": 1280000
},
{
"baidu": 5,
"author": "許月卿",
"title": "寄顧次岳五首 其三",
"so360": 24,
"bing": 164000,
"bing_en": 20600,
"google": 1320000
},
{
"baidu": 5,
"author": "許月卿",
"title": "寄顧次岳五首 其四",
"so360": 22,
"bing": 147000,
"bing_en": 20500,
"google": 1290000
},
{
"baidu": 5,
"author": "許月卿",
"title": "寄顧次岳五首 其五",
"so360": 27,
"bing": 146000,
"bing_en": 20800,
"google": 1270000
},
{
"baidu": 1,
"author": "許月卿",
"title": "鹿鳴用趙資相韻",
"so360": 15,
"bing": 13400,
"bing_en": 2160,
"google": 272000
},
{
"baidu": 6,
"author": "許月卿",
"title": "入邑問炊中雲招王希聖起龍三首 其一",
"so360": 49,
"bing": 7090,
"bing_en": 11,
"google": 22200
},
{
"baidu": 6,
"author": "許月卿",
"title": "入邑問炊中雲招王希聖起龍三首 其二",
"so360": 46,
"bing": 7180,
"bing_en": 11,
"google": 22200
},
{
"baidu": 6,
"author": "許月卿",
"title": "入邑問炊中雲招王希聖起龍三首 其三",
"so360": 50,
"bing": 12100,
"bing_en": 17,
"google": 22300
},
{
"baidu": 3,
"author": "許月卿",
"title": "遇黄先生",
"so360": 35,
"bing": 879000,
"bing_en": 2140,
"google": 43400
},
{
"baidu": 4,
"author": "許月卿",
"title": "和趙資相",
"so360": 29,
"bing": 113000,
"bing_en": 12500,
"google": 2680000
},
{
"baidu": 10,
"author": "許月卿",
"title": "追賦暮游",
"so360": 45,
"bing": 21800,
"bing_en": 17600,
"google": 1310000
},
{
"baidu": 3,
"author": "許月卿",
"title": "次韻葉司戶",
"so360": 16,
"bing": 29900,
"bing_en": 52,
"google": 63300
},
{
"baidu": 7,
"author": "許月卿",
"title": "次韻黄玉如大章携先集來訪二首 其一",
"so360": 86,
"bing": 12300,
"bing_en": 4,
"google": 676
},
{
"baidu": 7,
"author": "許月卿",
"title": "次韻黄玉如大章携先集來訪二首 其二",
"so360": 80,
"bing": 12300,
"bing_en": 4,
"google": 951
},
{
"baidu": 4,
"author": "許月卿",
"title": "再和題黄免耕吟藁 其一",
"so360": 49,
"bing": 12600,
"bing_en": 1580,
"google": 2380
},
{
"baidu": 4,
"author": "許月卿",
"title": "再和題黄免耕吟藁 其二",
"so360": 48,
"bing": 12600,
"bing_en": 1480,
"google": 2380
},
{
"baidu": 5,
"author": "許月卿",
"title": "代仍六弟吊程貢元",
"so360": 53,
"bing": 12500,
"bing_en": 11,
"google": 846000
},
{
"baidu": 3,
"author": "許月卿",
"title": "寄題岩經樓",
"so360": 18,
"bing": 69600,
"bing_en": 1220,
"google": 1270000
},
{
"baidu": 1,
"author": "許月卿",
"title": "次韻仲成叔賀雙桂橋",
"so360": 592,
"bing": 32800,
"bing_en": 13,
"google": 10
},
{
"baidu": 16,
"author": "許月卿",
"title": "滿城風雨近重陽",
"so360": 49,
"bing": 199000,
"bing_en": 46,
"google": 4230
},
{
"baidu": 1,
"author": "許月卿",
"title": "挽座主吳倅",
"so360": 223,
"bing": 22000,
"bing_en": 37,
"google": 11900
},
{
"baidu": 3,
"author": "許月卿",
"title": "登慈恩絕頂有感",
"so360": 8,
"bing": 14100,
"bing_en": 8,
"google": 7300
},
{
"baidu": 2,
"author": "許月卿",
"title": "挽陳節使",
"so360": 17,
"bing": 95800,
"bing_en": 42,
"google": 1340000
},
{
"baidu": 20,
"author": "許月卿",
"title": "挽李左藏",
"so360": 72,
"bing": 22500,
"bing_en": 1560,
"google": 690
},
{
"baidu": 1,
"author": "許月卿",
"title": "挽清湘令董介軒",
"so360": 12,
"bing": 13800,
"bing_en": 948,
"google": 108
},
{
"baidu": 1,
"author": "許月卿",
"title": "挽馬樞密母段氏",
"so360": 13,
"bing": 12500,
"bing_en": 0,
"google": 100
},
{
"baidu": 4,
"author": "許月卿",
"title": "次韻朱塘三首 其一",
"so360": 49,
"bing": 10300,
"bing_en": 179,
"google": 53200
},
{
"baidu": 4,
"author": "許月卿",
"title": "次韻朱塘三首 其二",
"so360": 49,
"bing": 10400,
"bing_en": 647,
"google": 53400
},
{
"baidu": 4,
"author": "許月卿",
"title": "次韻朱塘三首 其三",
"so360": 18,
"bing": 21400,
"bing_en": 19300,
"google": 53200
},
{
"baidu": 8,
"author": "許月卿",
"title": "與陳宰",
"so360": 39,
"bing": 202000,
"bing_en": 2670,
"google": 11300000
},
{
"baidu": 3,
"author": "許月卿",
"title": "迎謁劉朔齋□提舉行部",
"so360": 21,
"bing": 13000,
"bing_en": 17000,
"google": 591000
},
{
"baidu": 2,
"author": "許月卿",
"title": "贈黄藻二章 其一",
"so360": 22,
"bing": 12200,
"bing_en": 12,
"google": 1090000
},
{
"baidu": 2,
"author": "許月卿",
"title": "贈黄藻二章 其二",
"so360": 22,
"bing": 12300,
"bing_en": 26,
"google": 1140000
},
{
"baidu": 1,
"author": "許月卿",
"title": "贈程惠子",
"so360": 20,
"bing": 131000,
"bing_en": 106,
"google": 197000
},
{
"baidu": 1,
"author": "許月卿",
"title": "辭賈徽州二首 其一",
"so360": 44,
"bing": 13500,
"bing_en": 779,
"google": 66600
},
{
"baidu": 3,
"author": "許月卿",
"title": "辭賈徽州二首 其二",
"so360": 42,
"bing": 13300,
"bing_en": 643,
"google": 61800
},
{
"baidu": 5,
"author": "許月卿",
"title": "三月",
"so360": 50,
"bing": 16800,
"bing_en": 7750,
"google": 280000000
},
{
"baidu": 15,
"author": "許月卿",
"title": "題趙尉洞源泉",
"so360": 12,
"bing": 227000,
"bing_en": 40,
"google": 93
},
{
"baidu": 2,
"author": "許月卿",
"title": "贈墨士程雲翁",
"so360": 34,
"bing": 144000,
"bing_en": 17800,
"google": 26800
},
{
"baidu": 1,
"author": "許月卿",
"title": "春日閑賦",
"so360": 32,
"bing": 144000,
"bing_en": 16900,
"google": 311000
},
{
"baidu": 1,
"author": "許月卿",
"title": "題汪端翁廟",
"so360": 16,
"bing": 17200,
"bing_en": 1600,
"google": 99
},
{
"baidu": 2,
"author": "許月卿",
"title": "寄題張宗玉窗下廬山",
"so360": 16,
"bing": 144000,
"bing_en": 2,
"google": 65
},
{
"baidu": 1,
"author": "許月卿",
"title": "賦新花竹",
"so360": 26,
"bing": 97200,
"bing_en": 4910,
"google": 579000
},
{
"baidu": 2,
"author": "許月卿",
"title": "贈王竹窗",
"so360": 10,
"bing": 39300,
"bing_en": 1480,
"google": 89
},
{
"baidu": 3,
"author": "許月卿",
"title": "中秋謝施婺源爰",
"so360": 16,
"bing": 12700,
"bing_en": 7,
"google": 10300
},
{
"baidu": 1,
"author": "許月卿",
"title": "和子思弟韻壽母",
"so360": 11,
"bing": 12800,
"bing_en": 14,
"google": 218000
},
{
"baidu": 10,
"author": "許月卿",
"title": "次韻黄玉如求記",
"so360": 81,
"bing": 19700,
"bing_en": 28,
"google": 12300
},
{
"baidu": 5,
"author": "許月卿",
"title": "川原",
"so360": 55,
"bing": 2320000,
"bing_en": 26700,
"google": 3120000
}
] | JSON | 1 | js882829/chinese-poetry | rank/poet/poet.song.rank.224000.json | [
"MIT"
] |
package com.baeldung.spring.cloud.aws.ec2;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
@Lazy
@Component
public class EC2Metadata {
@Value("${ami-id:N/A}")
private String amiId;
@Value("${hostname:N/A}")
private String hostname;
@Value("${instance-type:N/A}")
private String instanceType;
@Value("${services/domain:N/A}")
private String serviceDomain;
@Value("#{instanceData['Name'] ?: 'N/A'}")
private String name;
public String getAmiId() {
return amiId;
}
public String getHostname() {
return hostname;
}
public String getInstanceType() {
return instanceType;
}
public String getServiceDomain() {
return serviceDomain;
}
public String getName() {
return name;
}
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("EC2Metadata [amiId=");
builder.append(amiId);
builder.append(", hostname=");
builder.append(hostname);
builder.append(", instanceType=");
builder.append(instanceType);
builder.append(", serviceDomain=");
builder.append(serviceDomain);
builder.append(", name=");
builder.append(name);
builder.append("]");
return builder.toString();
}
}
| Java | 4 | zeesh49/tutorials | spring-cloud/spring-cloud-aws/src/main/java/com/baeldung/spring/cloud/aws/ec2/EC2Metadata.java | [
"MIT"
] |
signature dpd_rfb_server {
ip-proto == tcp
payload /^RFB/
tcp-state responder
requires-reverse-signature dpd_rfb_client
enable "rfb"
}
signature dpd_rfb_client {
ip-proto == tcp
payload /^RFB/
tcp-state originator
}
| Standard ML | 4 | yaplej/bro | scripts/base/protocols/rfb/dpd.sig | [
"Apache-2.0"
] |
@import "~/foo"
@import "~/bar.sass"
.index
background: #ffffff
color: #000000 | Sass | 3 | johanberonius/parcel | packages/core/integration-tests/test/integration/sass-advanced-import/index.sass | [
"MIT"
] |
% ----------------------------------------------------------------------
% This code accompanies the article
%
% J. Schimpf: Logical Loops, ICLP 2002
%
% Author: Joachim Schimpf, IC-Parc, Imperial College, London
% Copyright (C) Imperial College London and Parc Technologies 1997-2002
%
% This source code is provided "as is" without any warranty express or
% implied, including but not limited to the warranty of non-infringement
% and the implied warranties of merchantability and fitness for a
% particular purpose. You may use this code, copy it, distribute it,
% modify it or sell it, provided that this copyright notice is preserved.
% ----------------------------------------------------------------------
:- object(do_loops).
:- info([
version is 0:0:0,
author is 'Joachim Schimpf; adapted to Logtalk by Paulo Moura',
date is 2017-06-29,
comment is 'do loops.',
remarks is [
]
]).
:- public(do/2).
:- meta_predicate(do(*, ::))
:- public(op(1100, xfy, do)).
:- uses(list, [append/3]).
% Definition for metacall
(Specs do PredTemplate) :-
get_specs(Specs, Firsts, BaseHead, PreGoals, RecHead, AuxGoals, RecCall),
!,
call(PreGoals),
do_loop(Firsts, body(RecHead,(AuxGoals,PredTemplate),RecCall), BaseHead).
(_Specs do _PredTemplate) :-
write('Error in do-loop specifiers'), nl.
do_loop(Args, _BodyTemplate, BaseHead) :-
copy_term(BaseHead, Copy),
Copy = Args, true, !.
do_loop(Args, BodyTemplate, BaseHead) :-
copy_term(BodyTemplate, Copy),
Copy = body(Args, Goal, RecArgs),
call(Goal),
do_loop(RecArgs, BodyTemplate, BaseHead).
% Compile-time transformation
%:- mode t_do(+,+,-,-).
t_do((Specs do PredTemplate), Name, NewGoal, NewClauses) :-
get_specs(Specs, Firsts, Lasts, PreGoals, RecHeadArgs, AuxGoals, RecCallArgs),
!,
FirstCall =.. [Name|Firsts], % make replacement goal
flatten_and_clean(PreGoals, FirstCall, NewGoal),
BaseHead =.. [Name|Lasts], % make auxiliary predicate
RecHead =.. [Name|RecHeadArgs],
RecCall =.. [Name|RecCallArgs],
flatten_and_clean((AuxGoals,PredTemplate), RecCall, BodyGoals),
NewClauses = [
(BaseHead :- !),
(RecHead :- BodyGoals)
].
t_do(_, _, _, _) :-
write('Error in do-loop specifiers'), nl.
%:- mode flatten_and_clean(?, ?, -).
flatten_and_clean(G, Gs, (G,Gs)) :- var(G), !.
flatten_and_clean(true, Gs, Gs) :- !.
flatten_and_clean((G1,G2), Gs0, Gs) :- !,
flatten_and_clean(G1, Gs1, Gs),
flatten_and_clean(G2, Gs0, Gs1).
flatten_and_clean(G, Gs, (G,Gs)).
% get_spec defines the meaning of each iteration specifier
%:- mode get_specs(+,-,-,-,-,-,-).
get_specs(Specs, Firsts, Lasts, Pregoals, RecHead, AuxGoals, RecCall) :-
get_specs(Specs, Firsts, [], Lasts, [], Pregoals, true, RecHead, [], AuxGoals, true, RecCall, []).
%:- mode get_specs(+,-,+,-,+,-,+,-,+,-,+,-,+).
get_specs((Specs1,Specs2), Firsts, Firsts0, Lasts, Lasts0, Pregoals, Pregoals0, RecHead, RecHead0, AuxGoals, AuxGoals0, RecCall, RecCall0) :- !,
get_specs(Specs1, Firsts, Firsts1, Lasts, Lasts1, Pregoals, Pregoals1, RecHead, RecHead1, AuxGoals, AuxGoals1, RecCall, RecCall1),
get_specs(Specs2, Firsts1, Firsts0, Lasts1, Lasts0, Pregoals1, Pregoals0, RecHead1, RecHead0, AuxGoals1, AuxGoals0, RecCall1, RecCall0).
get_specs(Spec, Firsts, Firsts0, Lasts, Lasts0, Pregoals, Pregoals0, RecHead, RecHead0, AuxGoals, AuxGoals0, RecCall, RecCall0) :-
get_spec(Spec, Firsts, Firsts0, Lasts, Lasts0, Pregoals, Pregoals0, RecHead, RecHead0, AuxGoals, AuxGoals0, RecCall, RecCall0).
%:- mode get_spec(+,-,+,-,+,-,+,-,+,-,+,-,+).
get_spec(foreach(E,List),
[List|Firsts], Firsts,
[[]|Lasts], Lasts,
Pregoals, Pregoals,
[[E|T]|RecHeads], RecHeads,
Goals, Goals,
[T|RecCalls], RecCalls
) :- !.
get_spec(foreacharg(A,Struct),
[Struct,1,N1|Firsts], Firsts,
[_,I0,I0|Lasts], Lasts,
(functor(Struct,_,N),N1 is N+1,Pregoals), Pregoals,
[S,I0,I2|RecHeads], RecHeads,
(I1 is I0+1,arg(I0,S,A),Goals), Goals,
[S,I1,I2|RecCalls], RecCalls
) :- !.
get_spec(fromto(From,I0,I1,To), % accumulator pair needed
[From,To|Firsts], Firsts,
[L0,L0|Lasts], Lasts,
Pregoals, Pregoals,
[I0,L1|RecHeads], RecHeads,
Goals, Goals,
[I1,L1|RecCalls], RecCalls
) :- \+ground(To), !.
get_spec(fromto(From,I0,I1,To), % ground(To), only one arg
[From|Firsts], Firsts,
[To|Lasts], Lasts,
Pregoals, Pregoals,
[I0|RecHeads], RecHeads,
Goals, Goals,
[I1|RecCalls], RecCalls
) :- !.
get_spec(count(I,FromExpr,To), % accumulator pair needed
[From,To|Firsts], Firsts,
[L0,L0|Lasts], Lasts,
Pregoals, Pregoals0,
[I0,L1|RecHeads], RecHeads,
(I is I0+1,Goals), Goals,
[I,L1|RecCalls], RecCalls
) :- var(I), \+ground(To), !,
( number(FromExpr) -> Pregoals = Pregoals0, From is FromExpr-1
; Pregoals = (From is FromExpr-1, Pregoals0) ).
get_spec(count(I,FromExpr,To),
[From|Firsts], Firsts,
[To|Lasts], Lasts,
Pregoals, Pregoals0,
[I0|RecHeads], RecHeads,
(I is I0+1,Goals), Goals,
[I|RecCalls], RecCalls
) :- var(I), integer(To), !,
( number(FromExpr) -> Pregoals = Pregoals0, From is FromExpr-1
; Pregoals = (From is FromExpr-1, Pregoals0) ).
get_spec(for(I,From,To),
Firsts, Firsts0, Lasts, Lasts0, Pregoals, Pregoals0,
RecHead, RecHead0, AuxGoals, AuxGoals0, RecCall, RecCall0
) :- !,
get_spec(for(I,From,To,1), Firsts, Firsts0, Lasts, Lasts0, Pregoals, Pregoals0,
RecHead, RecHead0, AuxGoals, AuxGoals0, RecCall, RecCall0).
get_spec(for(I,FromExpr,To,Step), % Special cases, only 1 arg needed
[From|Firsts], Firsts,
[Stop|Lasts], Lasts,
Pregoals, Pregoals0,
[I|RecHeads], RecHeads,
(I1 is I+Step,Goals), Goals,
[I1|RecCalls], RecCalls
) :- var(I),
integer(Step),
number(To),
( number(FromExpr) ->
From = FromExpr,
Pregoals = Pregoals0,
compute_stop(From,To,Step,Stop,StopGoal),
call(StopGoal) % compute Stop now
; Step == 1 ->
Stop is To+1,
Pregoals = (From is min(FromExpr,Stop), Pregoals0)
; Step == -1 ->
Stop is To-1,
Pregoals = (From is max(FromExpr,Stop), Pregoals0)
;
fail % general case
),
!.
get_spec(for(I,FromExpr,ToExpr,Step), % Step constant: 2 args needed
[From,Stop|Firsts], Firsts,
[L0,L0|Lasts], Lasts,
Pregoals, Pregoals0,
[I,L1|RecHeads], RecHeads,
(I1 is I+Step,Goals), Goals,
[I1,L1|RecCalls], RecCalls
) :- var(I), integer(Step), !,
compute_stop(From,ToExpr,Step,Stop,StopGoal),
Pregoals1 = (StopGoal,Pregoals0),
( number(FromExpr) -> Pregoals = Pregoals1, From = FromExpr
; var(FromExpr) -> Pregoals = Pregoals1, From = FromExpr
; Pregoals = (From is FromExpr, Pregoals1) ).
get_spec(Param,
GlobsFirsts, Firsts,
GlobsLasts, Lasts,
Pregoals, Pregoals,
GlobsRecHeads, RecHeads,
Goals, Goals,
GlobsRecCalls, RecCalls
) :- Param =.. [param|Globs], Globs = [_|_], !,
append(Globs, Firsts, GlobsFirsts),
append(Globs, Lasts, GlobsLasts),
append(Globs, RecHeads, GlobsRecHeads),
append(Globs, RecCalls, GlobsRecCalls).
compute_stop(From, To, 1, Stop, Goal) :- !,
Goal = (Stop is max(From, To+1)).
compute_stop(From, To, -1, Stop, Goal) :- !,
Goal = (Stop is min(From,To-1)).
compute_stop(From, To, Step, Stop, Goal) :- Step > 0, !,
Goal = (Dist is max(To-From+Step,0),
Stop is From + Dist - (Dist mod Step)).
compute_stop(From, To, Step, Stop, Goal) :- Step < 0, !,
Goal = (Dist is max(From-To-Step,0),
Stop is From - Dist + (Dist mod Step)).
:- end_object.
| Logtalk | 4 | PaulBrownMagic/logtalk3 | library/do_loops.lgt | [
"Apache-2.0"
] |
'$Revision:$'
'
Copyright 1992-2014 AUTHORS.
See the legal/LICENSE file for license information and legal/AUTHORS for authors.
'
["preFileIn" self] value
'-- Module body'
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'modules' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
vncViewer = bootstrap define: bootstrap stub -> 'globals' -> 'modules' -> 'vncViewer' -> () ToBe: bootstrap addSlotsTo: (
bootstrap remove: 'directory' From:
bootstrap remove: 'fileInTimeString' From:
bootstrap remove: 'myComment' From:
bootstrap remove: 'postFileIn' From:
bootstrap remove: 'revision' From:
bootstrap remove: 'subpartNames' From:
globals modules init copy ) From: bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'modules' -> 'vncViewer' -> () From: ( |
{} = 'ModuleInfo: Creator: globals modules vncViewer.
CopyDowns:
globals modules init. copy
SlotsToOmit: directory fileInTimeString myComment postFileIn revision subpartNames.
\x7fIsComplete: '.
| ) .
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'modules' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot\x7fVisibility: public'
directory <- 'applications'.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'modules' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (_CurrentTimeString)\x7fVisibility: public'
fileInTimeString <- _CurrentTimeString.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'modules' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
myComment <- ''.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'modules' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
postFileIn = ( |
| resend.postFileIn).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'modules' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot\x7fVisibility: public'
revision <- '$Revision:$'.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'modules' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot\x7fVisibility: private'
subpartNames <- ''.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> () From: ( | {
'Category: applications\x7fModuleInfo: Module: vncViewer InitialContents: FollowSlot'
vncViewer <- bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( |
{} = 'ModuleInfo: Creator: globals vncViewer.
'.
| ) .
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
attachMorph = ( |
|
morph: vncMorph copyWith: serverData.
(message copy receiver: self Selector: 'processServerMessages') fork.
morph).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
bitsPerPixel = ( |
| serverData format bitsPerPixel).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot\x7fVisibility: public'
connect = ( |
|
socket: os_file openTCPHost: '127.0.0.1' Port: 5901.
doHandshake.
doSecurity.
doClientInit.
serverData: readServerInit.
sendFrameBufferUpdateRequest: false X: 0 Y: 0
Width: serverData width Height: serverData height).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot\x7fVisibility: public'
disconnect = ( |
|
socket close.
socket: nil.
serverData: nil.
morph: nil).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
doBell = ( |
|
'bell' printLine.
self).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
doClientInit = ( |
|
socket write: 1 asCharacter).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
doFrameBufferUpdate = ( |
numRects.
rects.
|
readUInt: 8.
numRects: readUInt: 16.
rects: vector copySize: numRects FillingWith: nil.
numRects do: [
| :i. r |
r: vncRect copy.
r readFrom: self.
rects at: i Put: r.
('rect x: ',(r x asString)
,'y: ',(r y asString)
,'width: ',(r width asString)
,'height: ',(r height asString)
) printLine.
].
(morph isNotNil) ifTrue: [
morph addRects: rects.
morph changed.
].
'doFrameBufferUpdate' printLine.
sendFrameBufferUpdateRequest: true X: 0 Y: 0
Width: serverData width Height: serverData height.
rects).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot\x7fVisibility: public'
doHandshake = ( |
version.
|
version: readHandshake.
(version >= 3.3) ifTrue: [
writeHandshake
] False: [
disconnect
]).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
doSecurity = ( |
s.
|
s: readSecurityType.
s = 0 ifTrue: [ ^invalidSecurity ].
s = 1 ifTrue: [ ^noSecurity ].
s = 2 ifTrue: [ ^vncSecurity ].
unknownSecurity).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil.)'
morph.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
noSecurity = ( |
|
true).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
parent* = bootstrap stub -> 'traits' -> 'clonable' -> ().
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
pixelFormat = bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'vncViewer' -> 'pixelFormat' -> () From: ( |
{} = 'ModuleInfo: Creator: globals vncViewer pixelFormat.
'.
| ) .
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'pixelFormat' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil)'
bigEndian.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'pixelFormat' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil)'
bitsPerPixel.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'pixelFormat' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil)'
blueMax.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'pixelFormat' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil)'
blueShift.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'pixelFormat' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil)'
depth.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'pixelFormat' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil)'
greenMax.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'pixelFormat' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil)'
greenShift.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'pixelFormat' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
parent* = bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'vncViewer' -> 'pixelFormat' -> 'parent' -> () From: ( |
{} = 'ModuleInfo: Creator: globals vncViewer pixelFormat parent.
'.
| ) .
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'pixelFormat' -> 'parent' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
parent* = bootstrap stub -> 'traits' -> 'clonable' -> ().
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'pixelFormat' -> 'parent' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
readFrom: client = ( |
|
bitsPerPixel: client readUInt: 8.
depth: client readUInt: 8.
bigEndian: (client readUInt: 8) = 0 ifTrue: false False: true.
trueColor: (client readUInt: 8) = 0 ifTrue: false False: true.
redMax: client readUInt: 16.
greenMax: client readUInt: 16.
blueMax: client readUInt: 16.
redShift: client readUInt: 8.
greenShift: client readUInt: 8.
blueShift: client readUInt: 8.
client socket readCount: 3).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'pixelFormat' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil)'
redMax.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'pixelFormat' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil)'
redShift.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'pixelFormat' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil)'
trueColor.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
processServerMessages = ( |
|
readServerMessage.
processServerMessages).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot\x7fVisibility: public'
readHandshake = ( |
line.
|
line: socket readLine.
('RFB ' isPrefixOf: line) ifTrue: [ |xxx. yyy |
xxx: (line copyFrom: 4 Size: 3) asInteger.
yyy: (line copyFrom: 8 Size: 3) asInteger.
(xxx + (yyy / 10.0))
] False: [
0
]).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
readSInt: bits = ( |
|
socket readBigEndianIntegerOfByteCount: bits / 8
Signed: true
IfFail: [ |:e| error: 'readSInt failed' ]).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
readSecurityResult = ( |
|
socket readBigEndianIntegerOfByteCount: 4
Signed: false
IfFail: [ |:e| error: 'Error reading security result' ]).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
readSecurityType = ( |
|
socket readBigEndianIntegerOfByteCount: 4
Signed: false
IfFail: [|:e| error: 'Error reading security type']).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
readServerInit = ( |
r.
|
r: serverInit copy.
r readFrom: self.
r).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
readServerMessage = ( |
type.
|
type: readUInt: 8.
(type = 0) ifTrue: [ ^doFrameBufferUpdate ].
(type = 1) ifTrue: [ ^doSetColourMapEntries ].
(type = 2) ifTrue: [ ^doBell ].
(type = 3) ifTrue: [ ^doServerCutText ].
doUnknownServerMessage).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
readUInt: bits = ( |
|
socket readBigEndianIntegerOfByteCount: bits / 8
Signed: false
IfFail: [ |:e| error: 'readUInt failed' ]).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
sendFrameBufferUpdateRequest: incremental X: x Y: y Width: w Height: h = ( |
|
writeUInt: 8 Value: 3.
writeUInt: 8 Value: (incremental ifTrue: 1 False: 0).
writeUInt: 16 Value: x.
writeUInt: 16 Value: y.
writeUInt: 16 Value: w.
writeUInt: 16 Value: h).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
sendKeyEvent: key Down: down = ( |
|
writeUInt: 8 Value: 4.
writeUInt: 8 Value: (down ifTrue: 1 False: 0).
writeUInt: 16 Value: 0.
writeUInt: 32 Value: key).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil.)'
serverData.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
serverInit = bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'vncViewer' -> 'serverInit' -> () From: ( |
{} = 'ModuleInfo: Creator: globals vncViewer serverInit.
'.
| ) .
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'serverInit' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
format.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'serverInit' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
height.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'serverInit' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
name.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'serverInit' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
nameLen.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'serverInit' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
parent* = bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'vncViewer' -> 'serverInit' -> 'parent' -> () From: ( |
{} = 'ModuleInfo: Creator: globals vncViewer serverInit parent.
'.
| ) .
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'serverInit' -> 'parent' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
parent* = bootstrap stub -> 'traits' -> 'clonable' -> ().
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'serverInit' -> 'parent' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
readFrom: client = ( |
|
width: client readUInt: 16.
height: client readUInt: 16.
format: client pixelFormat copy.
format readFrom: client.
nameLen: client readUInt: 32.
name: client socket readCount: nameLen).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'serverInit' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
width.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil.)\x7fVisibility: private'
socket.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
vncMorph = bootstrap define: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncMorph' -> () ToBe: bootstrap addSlotsTo: (
bootstrap remove: 'parent' From:
bootstrap remove: 'prototype' From:
globals morph copyRemoveAllMorphs ) From: bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncMorph' -> () From: ( |
{} = 'ModuleInfo: Creator: globals vncViewer vncMorph.
CopyDowns:
globals morph. copyRemoveAllMorphs
SlotsToOmit: parent prototype.
\x7fIsComplete: '.
| ) .
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncMorph' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil.)'
cachedCanvas.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncMorph' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
parent* = bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncMorph' -> 'parent' -> () From: ( |
{} = 'ModuleInfo: Creator: globals vncViewer vncMorph parent.
'.
| ) .
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncMorph' -> 'parent' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
addRects: v = ( |
|
rectLock protect: [
vncRect: vncRect,v
]).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncMorph' -> 'parent' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
baseDrawOn: aCanvas = ( |
h.
w.
|
rectLock protect: [
cachedCanvas isNil ifFalse: [
aCanvas pastePixmap: cachedCanvas At: baseBounds origin.
]
].
rectLock protect: [
updating ifTrue: [ ^self ].
vncRect isEmpty ifTrue: [ ^self ].
updating: true.
cachedCanvas isNil ifTrue: [
w: baseBounds width min: (vncRect at: 0) width.
h: baseBounds height min: (vncRect at: 0) height.
cachedCanvas: pixmapCanvas copyForSameScreenAs: aCanvas winCanvas Width: w Height: h.
].
(message copy receiver: self Selector: 'updateCachedCanvas') fork.
].
self).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncMorph' -> 'parent' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
copyWith: serverData = ( |
m.
|
m: copy.
m rectLock: lock copy.
m vncRect: vector copy.
m setWidth: serverData width Height: serverData height.
m).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncMorph' -> 'parent' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
morphTypeName = 'vncMorph'.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncMorph' -> 'parent' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
parent* = bootstrap stub -> 'traits' -> 'morph' -> ().
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncMorph' -> 'parent' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
updateCachedCanvas = ( |
h.
r.
w.
|
rectLock protect: [
cachedCanvas isNil ifTrue: [ updating: false. ^self ].
vncRect isEmpty ifTrue: [ updating: false. ^self].
r: vncRect at: 0.
vncRect: vncRect copyFrom: 1.
].
w: baseBounds width min: r width.
h: baseBounds height min: r height.
r y upTo: h By: 1 Do: [ |:y|
rectLock protect: [
r x upTo: w By: 1 Do: [ |:x. c. index. |
index: ((y * r width) + x) * 4.
c: paint copyRed: (r data at: index + 2) asByte / 255.0
Green: (r data at: index + 1) asByte / 255.0
Blue: (r data at: index) asByte / 255.0.
cachedCanvas point: x@y Color: c
].
].
].
rectLock protect: [
updating: false
].
changed.
updateCachedCanvas).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncMorph' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
prototype = bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncMorph' -> ().
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncMorph' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil)'
rectLock.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncMorph' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (false.)'
updating <- bootstrap stub -> 'globals' -> 'false' -> ().
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncMorph' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil.)'
vncRect.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
vncRect = bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncRect' -> () From: ( |
{} = 'ModuleInfo: Creator: globals vncViewer vncRect.
'.
| ) .
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncRect' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: InitializeToExpression: (nil)'
data.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncRect' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
encoding.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncRect' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
height.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncRect' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
parent* = bootstrap setObjectAnnotationOf: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncRect' -> 'parent' -> () From: ( |
{} = 'ModuleInfo: Creator: globals vncViewer vncRect parent.
'.
| ) .
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncRect' -> 'parent' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
parent* = bootstrap stub -> 'traits' -> 'clonable' -> ().
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncRect' -> 'parent' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
readFrom: client = ( |
|
x: client readUInt: 16.
y: client readUInt: 16.
width: client readUInt: 16.
height: client readUInt: 16.
encoding: client readSInt: 32.
(encoding = 0) ifTrue: [ ^readRaw: client ].
(encoding = 1) ifTrue: [ ^readCopyRect: client ].
(encoding = 5) ifTrue: [ ^readHextile: client ].
(encoding = 16) ifTrue: [ ^readZRLE: client ].
readUnknownEncoding: client).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncRect' -> 'parent' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
readRaw: client = ( |
|
data: client socket readCount: width * height * ((client bitsPerPixel) / 8)).
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncRect' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
width.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncRect' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
x.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> 'vncRect' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
y.
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot\x7fVisibility: public'
writeHandshake = ( |
|
socket writeLine: 'RFB 003.003').
} | )
bootstrap addSlotsTo: bootstrap stub -> 'globals' -> 'vncViewer' -> () From: ( | {
'ModuleInfo: Module: vncViewer InitialContents: FollowSlot'
writeUInt: bits Value: v = ( |
|
socket writeBigEndianInteger: v
ByteCount: bits / 8
Signed: false
IfFail: [ |:e| error: 'writeUInt failed' ]).
} | )
'-- Side effects'
globals modules vncViewer postFileIn
| Self | 5 | ajnavarro/language-dataset | data/github.com/doublec/self-vncviewer/358ba1134a1ee0246d251649d940ceaa91f88028/applications/vncViewer.self | [
"MIT"
] |
s 0 0 10 10
c 0 10 10 0 20 10
| Arc | 0 | ffteja/cgal | GraphicsView/demo/Circular_kernel_2/arcs.arc | [
"CC0-1.0"
] |
use Datascope;
use Datascope::db2sql;
use Datascope::dbmon;
$dbname = "/opt/antelope/data/db/demo/demo";
$flags = 0;
@db = dbopen( $dbname, "r" );
@db = dblookup( @db, "", "origin", "", "" );
$db[3] = 0;
@sqlcommands = db2sqlinsert( @db, \&dbmon_compute_row_sync, $flags );
$sync = dbmon_compute_row_sync( @db );
push( @sqlcommands, db2sqldelete( @db, $sync, $flags ) );
printf "Conversion results:\n" . join( "\n", @sqlcommands );
exit( 0 );
| XProc | 3 | jreyes1108/antelope_contrib | nobuild/lib/perl/db2sql/certify/try_sqldelete.xpl | [
"BSD-2-Clause",
"MIT"
] |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
export const moduleAStartError = new Error();
export const innerErrorA = new Error();
export const moduleAStopError = new Error();
export const outerError = new Error();
export const moduleBStartError = new Error();
export const innerErrorB = new Error();
export const moduleBStopError = new Error();
| JavaScript | 3 | GBKstc/react-analysis | packages/react-devtools-timeline/src/content-views/utils/__tests__/__modules__/module-two.js | [
"MIT"
] |
//
// YMThemeSettingWindowViewController.h
// WeChatGirlFriend
//
// Created by MustangYM on 2021/7/2.
// Copyright © 2021 YY Inc. All rights reserved.
//
#import <Cocoa/Cocoa.h>
NS_ASSUME_NONNULL_BEGIN
@interface YMThemeSettingWindowViewController : NSWindowController
@end
NS_ASSUME_NONNULL_END
| C | 1 | TJRoger/WeChatExtension-ForMac | WeChatExtension/WeChatExtension/Sources/WindowControllers/Banksy/YMThemeSettingWindowViewController.h | [
"MIT"
] |
(kicad_pcb (version 20171130) (host pcbnew "(5.1.4)-1")
(general
(thickness 1.6)
(drawings 19)
(tracks 85)
(zones 0)
(modules 14)
(nets 11)
)
(page User 150.012 150.012)
(title_block
(title "Unified Daughterboard")
(date 2020-03-22)
(rev C3)
(company "Designed by the keyboard community")
)
(layers
(0 F.Cu signal)
(31 B.Cu signal)
(32 B.Adhes user)
(33 F.Adhes user)
(34 B.Paste user)
(35 F.Paste user)
(36 B.SilkS user)
(37 F.SilkS user)
(38 B.Mask user)
(39 F.Mask user)
(40 Dwgs.User user)
(41 Cmts.User user)
(42 Eco1.User user)
(43 Eco2.User user)
(44 Edge.Cuts user)
(45 Margin user)
(46 B.CrtYd user)
(47 F.CrtYd user)
(48 B.Fab user)
(49 F.Fab user)
)
(setup
(last_trace_width 0.254)
(user_trace_width 0.1524)
(user_trace_width 0.254)
(user_trace_width 0.508)
(trace_clearance 0.127)
(zone_clearance 0.1524)
(zone_45_only no)
(trace_min 0.1524)
(via_size 0.8)
(via_drill 0.4)
(via_min_size 0.4)
(via_min_drill 0.3)
(user_via 0.508 0.3048)
(uvia_size 0.3)
(uvia_drill 0.1)
(uvias_allowed no)
(uvia_min_size 0.2)
(uvia_min_drill 0.1)
(edge_width 0.05)
(segment_width 0.2)
(pcb_text_width 0.3)
(pcb_text_size 1.5 1.5)
(mod_edge_width 0.12)
(mod_text_size 1 1)
(mod_text_width 0.15)
(pad_size 3.500001 3.500001)
(pad_drill 2.2)
(pad_to_mask_clearance 0.051)
(solder_mask_min_width 0.25)
(aux_axis_origin 0 0)
(grid_origin 75.0025 64.843)
(visible_elements 7FFFFF7F)
(pcbplotparams
(layerselection 0x310fc_ffffffff)
(usegerberextensions true)
(usegerberattributes false)
(usegerberadvancedattributes false)
(creategerberjobfile false)
(excludeedgelayer true)
(linewidth 0.100000)
(plotframeref false)
(viasonmask false)
(mode 1)
(useauxorigin false)
(hpglpennumber 1)
(hpglpenspeed 20)
(hpglpendiameter 15.000000)
(psnegative false)
(psa4output false)
(plotreference true)
(plotvalue true)
(plotinvisibletext false)
(padsonsilk false)
(subtractmaskfromsilk true)
(outputformat 1)
(mirror false)
(drillshape 0)
(scaleselection 1)
(outputdirectory "../gerbers-C3"))
)
(net 0 "")
(net 1 GND)
(net 2 VCC)
(net 3 GNDPWR)
(net 4 "Net-(J1-PadB8)")
(net 5 "Net-(J1-PadA5)")
(net 6 DA+)
(net 7 "Net-(J1-PadB5)")
(net 8 "Net-(J1-PadA8)")
(net 9 DA-)
(net 10 VBUS)
(net_class Default "This is the default net class."
(clearance 0.127)
(trace_width 0.254)
(via_dia 0.8)
(via_drill 0.4)
(uvia_dia 0.3)
(uvia_drill 0.1)
(add_net DA+)
(add_net DA-)
(add_net GNDPWR)
(add_net "Net-(J1-PadA5)")
(add_net "Net-(J1-PadA8)")
(add_net "Net-(J1-PadB5)")
(add_net "Net-(J1-PadB8)")
(add_net VBUS)
(add_net VCC)
)
(net_class Power ""
(clearance 0.1524)
(trace_width 0.508)
(via_dia 0.8)
(via_drill 0.4)
(uvia_dia 0.3)
(uvia_drill 0.1)
(add_net GND)
)
(module Unified-Daughterboard-Logo:Unified-Daughterboard-Logo.pretty (layer B.Cu) (tedit 5E789C98) (tstamp 0)
(at 75.0025 66.509 180)
(path /00000000-0000-0000-0000-00005e790861)
(fp_text reference G1 (at 0 0) (layer B.SilkS) hide
(effects (font (size 1.524 1.524) (thickness 0.3)) (justify mirror))
)
(fp_text value Unified-Daughterboard-Logo (at 0.75 0) (layer B.SilkS) hide
(effects (font (size 1.524 1.524) (thickness 0.3)) (justify mirror))
)
(fp_poly (pts (xy 1.319468 -2.630879) (xy 1.321322 -2.636413) (xy 1.32427 -2.645348) (xy 1.328258 -2.657517)
(xy 1.333233 -2.672755) (xy 1.339141 -2.690897) (xy 1.345929 -2.711779) (xy 1.353543 -2.735235)
(xy 1.361929 -2.761099) (xy 1.371035 -2.789207) (xy 1.380806 -2.819394) (xy 1.391188 -2.851494)
(xy 1.40213 -2.885343) (xy 1.413576 -2.920774) (xy 1.425473 -2.957623) (xy 1.437769 -2.995725)
(xy 1.450408 -3.034915) (xy 1.458619 -3.060383) (xy 1.597242 -3.490443) (xy 2.051086 -3.489838)
(xy 2.098202 -3.489783) (xy 2.143374 -3.489745) (xy 2.186478 -3.489724) (xy 2.22739 -3.489719)
(xy 2.265983 -3.489731) (xy 2.302134 -3.489759) (xy 2.335717 -3.489803) (xy 2.366608 -3.489862)
(xy 2.394682 -3.489936) (xy 2.419813 -3.490025) (xy 2.441878 -3.490128) (xy 2.460751 -3.490245)
(xy 2.476307 -3.490376) (xy 2.488422 -3.490521) (xy 2.496971 -3.490679) (xy 2.501829 -3.490849)
(xy 2.50297 -3.490998) (xy 2.501221 -3.492295) (xy 2.496437 -3.495783) (xy 2.488761 -3.50136)
(xy 2.478334 -3.508924) (xy 2.465299 -3.518372) (xy 2.449797 -3.5296) (xy 2.43197 -3.542507)
(xy 2.41196 -3.556989) (xy 2.38991 -3.572944) (xy 2.365961 -3.590269) (xy 2.340255 -3.608861)
(xy 2.312934 -3.628618) (xy 2.284141 -3.649437) (xy 2.254016 -3.671216) (xy 2.222702 -3.69385)
(xy 2.190342 -3.717239) (xy 2.157076 -3.741279) (xy 2.139525 -3.753961) (xy 2.105815 -3.778319)
(xy 2.07292 -3.802091) (xy 2.040983 -3.825172) (xy 2.010146 -3.847459) (xy 1.980553 -3.868849)
(xy 1.952347 -3.889239) (xy 1.92567 -3.908524) (xy 1.900667 -3.926602) (xy 1.87748 -3.943368)
(xy 1.856252 -3.958721) (xy 1.837126 -3.972555) (xy 1.820245 -3.984767) (xy 1.805753 -3.995255)
(xy 1.793792 -4.003914) (xy 1.784506 -4.010641) (xy 1.778037 -4.015333) (xy 1.774529 -4.017886)
(xy 1.773928 -4.018331) (xy 1.773486 -4.018707) (xy 1.773128 -4.01921) (xy 1.7729 -4.01998)
(xy 1.772845 -4.02116) (xy 1.773009 -4.022894) (xy 1.773436 -4.025323) (xy 1.774173 -4.02859)
(xy 1.775263 -4.032837) (xy 1.776752 -4.038208) (xy 1.778685 -4.044844) (xy 1.781106 -4.052889)
(xy 1.784061 -4.062484) (xy 1.787594 -4.073773) (xy 1.791751 -4.086897) (xy 1.796576 -4.101999)
(xy 1.802115 -4.119223) (xy 1.808412 -4.138709) (xy 1.815512 -4.160602) (xy 1.823461 -4.185043)
(xy 1.832303 -4.212175) (xy 1.842083 -4.24214) (xy 1.852847 -4.275082) (xy 1.864638 -4.311141)
(xy 1.877503 -4.350463) (xy 1.891486 -4.393187) (xy 1.906632 -4.439458) (xy 1.910579 -4.451514)
(xy 1.923592 -4.491276) (xy 1.936281 -4.530056) (xy 1.948592 -4.56769) (xy 1.96047 -4.604014)
(xy 1.971862 -4.638863) (xy 1.982715 -4.672072) (xy 1.992974 -4.703476) (xy 2.002585 -4.732911)
(xy 2.011496 -4.760212) (xy 2.019652 -4.785214) (xy 2.026999 -4.807752) (xy 2.033484 -4.827662)
(xy 2.039053 -4.84478) (xy 2.043652 -4.858939) (xy 2.047227 -4.869977) (xy 2.049726 -4.877727)
(xy 2.051093 -4.882025) (xy 2.051349 -4.88289) (xy 2.049791 -4.881878) (xy 2.045209 -4.878655)
(xy 2.03774 -4.873323) (xy 2.027525 -4.865982) (xy 2.014703 -4.856734) (xy 1.999413 -4.845679)
(xy 1.981793 -4.832918) (xy 1.961984 -4.818553) (xy 1.940124 -4.802685) (xy 1.916353 -4.785414)
(xy 1.890809 -4.766842) (xy 1.863632 -4.74707) (xy 1.834961 -4.726198) (xy 1.804935 -4.704329)
(xy 1.773693 -4.681562) (xy 1.741375 -4.657999) (xy 1.708119 -4.633741) (xy 1.684928 -4.616818)
(xy 1.318498 -4.349382) (xy 1.312176 -4.353857) (xy 1.31002 -4.355418) (xy 1.304843 -4.359183)
(xy 1.296789 -4.365049) (xy 1.286002 -4.372909) (xy 1.272626 -4.382659) (xy 1.256805 -4.394194)
(xy 1.238684 -4.407408) (xy 1.218405 -4.422197) (xy 1.196115 -4.438456) (xy 1.171955 -4.456079)
(xy 1.146072 -4.474961) (xy 1.118608 -4.494997) (xy 1.089708 -4.516082) (xy 1.059515 -4.538111)
(xy 1.028174 -4.56098) (xy 0.99583 -4.584582) (xy 0.962625 -4.608812) (xy 0.947219 -4.620055)
(xy 0.913732 -4.644492) (xy 0.881072 -4.668324) (xy 0.849382 -4.691446) (xy 0.818802 -4.713755)
(xy 0.789476 -4.735148) (xy 0.761544 -4.755522) (xy 0.735149 -4.774773) (xy 0.710433 -4.792797)
(xy 0.687537 -4.809492) (xy 0.666603 -4.824753) (xy 0.647773 -4.838478) (xy 0.63119 -4.850562)
(xy 0.616994 -4.860903) (xy 0.605327 -4.869397) (xy 0.596332 -4.875941) (xy 0.590151 -4.880431)
(xy 0.586924 -4.882764) (xy 0.586467 -4.883087) (xy 0.586397 -4.881727) (xy 0.58742 -4.877177)
(xy 0.58939 -4.869965) (xy 0.592162 -4.860617) (xy 0.595588 -4.849661) (xy 0.596536 -4.846714)
(xy 0.598338 -4.841164) (xy 0.601297 -4.832084) (xy 0.605348 -4.819668) (xy 0.610429 -4.804111)
(xy 0.616476 -4.785605) (xy 0.623425 -4.764347) (xy 0.631213 -4.740528) (xy 0.639776 -4.714344)
(xy 0.649052 -4.685989) (xy 0.658975 -4.655656) (xy 0.669484 -4.623539) (xy 0.680514 -4.589834)
(xy 0.692003 -4.554733) (xy 0.703886 -4.51843) (xy 0.7161 -4.481121) (xy 0.728581 -4.442998)
(xy 0.737582 -4.415511) (xy 0.75263 -4.369542) (xy 0.766496 -4.327157) (xy 0.779223 -4.288218)
(xy 0.790856 -4.252586) (xy 0.801437 -4.220125) (xy 0.811012 -4.190696) (xy 0.819623 -4.164162)
(xy 0.827315 -4.140384) (xy 0.834132 -4.119225) (xy 0.840118 -4.100548) (xy 0.845316 -4.084213)
(xy 0.849771 -4.070083) (xy 0.853527 -4.05802) (xy 0.856627 -4.047888) (xy 0.859115 -4.039546)
(xy 0.861035 -4.032859) (xy 0.862432 -4.027687) (xy 0.863348 -4.023894) (xy 0.863829 -4.021341)
(xy 0.863918 -4.01989) (xy 0.863771 -4.019457) (xy 0.861955 -4.018089) (xy 0.857105 -4.014529)
(xy 0.849363 -4.008881) (xy 0.83887 -4.001246) (xy 0.82577 -3.99173) (xy 0.810203 -3.980433)
(xy 0.792313 -3.96746) (xy 0.772242 -3.952913) (xy 0.750131 -3.936895) (xy 0.726123 -3.91951)
(xy 0.70036 -3.900859) (xy 0.672984 -3.881047) (xy 0.644137 -3.860176) (xy 0.613961 -3.838348)
(xy 0.582599 -3.815668) (xy 0.550192 -3.792237) (xy 0.516884 -3.768159) (xy 0.498635 -3.75497)
(xy 0.46491 -3.730595) (xy 0.432017 -3.706817) (xy 0.400097 -3.683739) (xy 0.369292 -3.661462)
(xy 0.339743 -3.640091) (xy 0.311593 -3.619726) (xy 0.284982 -3.600472) (xy 0.260054 -3.58243)
(xy 0.236949 -3.565704) (xy 0.21581 -3.550395) (xy 0.196778 -3.536607) (xy 0.179994 -3.524442)
(xy 0.165602 -3.514003) (xy 0.153742 -3.505393) (xy 0.144556 -3.498713) (xy 0.138186 -3.494067)
(xy 0.134774 -3.491558) (xy 0.13421 -3.491127) (xy 0.135922 -3.490905) (xy 0.141501 -3.490699)
(xy 0.150896 -3.49051) (xy 0.164055 -3.490337) (xy 0.180927 -3.49018) (xy 0.20146 -3.490041)
(xy 0.225603 -3.489919) (xy 0.253304 -3.489813) (xy 0.284513 -3.489726) (xy 0.319177 -3.489656)
(xy 0.357245 -3.489603) (xy 0.398666 -3.489569) (xy 0.443388 -3.489552) (xy 0.49136 -3.489554)
(xy 0.542531 -3.489574) (xy 0.585794 -3.489604) (xy 1.039338 -3.489969) (xy 1.178432 -3.058732)
(xy 1.191281 -3.01892) (xy 1.203819 -2.980111) (xy 1.215995 -2.942471) (xy 1.227753 -2.906161)
(xy 1.239042 -2.871346) (xy 1.249808 -2.838189) (xy 1.259996 -2.806853) (xy 1.269554 -2.777503)
(xy 1.278429 -2.750301) (xy 1.286567 -2.725412) (xy 1.293915 -2.702998) (xy 1.300418 -2.683223)
(xy 1.306025 -2.666251) (xy 1.310681 -2.652245) (xy 1.314334 -2.641368) (xy 1.316929 -2.633785)
(xy 1.318414 -2.629658) (xy 1.318761 -2.628909)) (layer B.Mask) (width 0))
(fp_poly (pts (xy -1.329876 -2.626778) (xy -1.328025 -2.632058) (xy -1.325081 -2.640741) (xy -1.321098 -2.652664)
(xy -1.316128 -2.667663) (xy -1.310226 -2.685575) (xy -1.303443 -2.706236) (xy -1.295835 -2.729483)
(xy -1.287453 -2.755152) (xy -1.278352 -2.78308) (xy -1.268585 -2.813104) (xy -1.258205 -2.845059)
(xy -1.247266 -2.878782) (xy -1.23582 -2.914109) (xy -1.223922 -2.950878) (xy -1.211624 -2.988925)
(xy -1.19898 -3.028085) (xy -1.190257 -3.055125) (xy -1.051149 -3.486524) (xy -0.598068 -3.485763)
(xy -0.556221 -3.485697) (xy -0.515417 -3.485642) (xy -0.47583 -3.485597) (xy -0.43763 -3.485562)
(xy -0.400992 -3.485538) (xy -0.366086 -3.485524) (xy -0.333086 -3.48552) (xy -0.302165 -3.485526)
(xy -0.273494 -3.485541) (xy -0.247247 -3.485566) (xy -0.223595 -3.485601) (xy -0.202711 -3.485645)
(xy -0.184768 -3.485698) (xy -0.169939 -3.485761) (xy -0.158395 -3.485833) (xy -0.150309 -3.485913)
(xy -0.145854 -3.486002) (xy -0.144986 -3.486067) (xy -0.146551 -3.487297) (xy -0.151152 -3.49072)
(xy -0.158649 -3.496235) (xy -0.168903 -3.50374) (xy -0.181774 -3.513132) (xy -0.19712 -3.524312)
(xy -0.214804 -3.537176) (xy -0.234683 -3.551624) (xy -0.256619 -3.567553) (xy -0.280471 -3.584862)
(xy -0.3061 -3.60345) (xy -0.333366 -3.623214) (xy -0.362127 -3.644054) (xy -0.392245 -3.665867)
(xy -0.42358 -3.688552) (xy -0.455991 -3.712007) (xy -0.489339 -3.736131) (xy -0.51137 -3.752063)
(xy -0.545252 -3.77657) (xy -0.578288 -3.800479) (xy -0.610339 -3.823689) (xy -0.641263 -3.846096)
(xy -0.670921 -3.867599) (xy -0.699173 -3.888097) (xy -0.725879 -3.907488) (xy -0.750899 -3.925669)
(xy -0.774093 -3.942538) (xy -0.79532 -3.957995) (xy -0.814441 -3.971937) (xy -0.831316 -3.984261)
(xy -0.845805 -3.994867) (xy -0.857767 -4.003653) (xy -0.867064 -4.010515) (xy -0.873553 -4.015354)
(xy -0.877097 -4.018066) (xy -0.877754 -4.01864) (xy -0.877155 -4.020595) (xy -0.875404 -4.026071)
(xy -0.872566 -4.034864) (xy -0.868709 -4.04677) (xy -0.863898 -4.061585) (xy -0.858201 -4.079106)
(xy -0.851683 -4.099129) (xy -0.844413 -4.121451) (xy -0.836455 -4.145868) (xy -0.827876 -4.172176)
(xy -0.818744 -4.200172) (xy -0.809124 -4.229652) (xy -0.799084 -4.260413) (xy -0.788689 -4.29225)
(xy -0.778006 -4.324961) (xy -0.767102 -4.358341) (xy -0.756044 -4.392187) (xy -0.744897 -4.426295)
(xy -0.733728 -4.460462) (xy -0.722605 -4.494484) (xy -0.711593 -4.528157) (xy -0.700759 -4.561278)
(xy -0.69017 -4.593644) (xy -0.679891 -4.62505) (xy -0.669991 -4.655292) (xy -0.660534 -4.684168)
(xy -0.651588 -4.711474) (xy -0.64322 -4.737006) (xy -0.635495 -4.76056) (xy -0.628481 -4.781933)
(xy -0.622243 -4.800921) (xy -0.616849 -4.81732) (xy -0.612365 -4.830927) (xy -0.608857 -4.841539)
(xy -0.60842 -4.842858) (xy -0.604769 -4.854127) (xy -0.60176 -4.863921) (xy -0.599542 -4.871718)
(xy -0.59826 -4.876994) (xy -0.598062 -4.879225) (xy -0.59821 -4.87924) (xy -0.599985 -4.877975)
(xy -0.604784 -4.874502) (xy -0.612467 -4.868924) (xy -0.622894 -4.861343) (xy -0.635922 -4.851863)
(xy -0.651412 -4.840586) (xy -0.669223 -4.827614) (xy -0.689214 -4.813049) (xy -0.711243 -4.796996)
(xy -0.735172 -4.779555) (xy -0.760858 -4.76083) (xy -0.788162 -4.740923) (xy -0.816941 -4.719936)
(xy -0.847057 -4.697973) (xy -0.878367 -4.675136) (xy -0.910731 -4.651527) (xy -0.944008 -4.627249)
(xy -0.965289 -4.611723) (xy -1.330061 -4.345567) (xy -1.675525 -4.597708) (xy -1.708673 -4.621901)
(xy -1.741147 -4.645603) (xy -1.772794 -4.668701) (xy -1.803458 -4.691081) (xy -1.832983 -4.712631)
(xy -1.861214 -4.733236) (xy -1.887996 -4.752784) (xy -1.913173 -4.77116) (xy -1.936591 -4.788252)
(xy -1.958094 -4.803947) (xy -1.977526 -4.818131) (xy -1.994732 -4.83069) (xy -2.009558 -4.841511)
(xy -2.021847 -4.850482) (xy -2.031445 -4.857487) (xy -2.038196 -4.862416) (xy -2.041945 -4.865153)
(xy -2.042051 -4.86523) (xy -2.049774 -4.870765) (xy -2.056225 -4.875187) (xy -2.060831 -4.878119)
(xy -2.063017 -4.879183) (xy -2.063118 -4.87911) (xy -2.062518 -4.877135) (xy -2.060751 -4.871601)
(xy -2.057872 -4.862673) (xy -2.053935 -4.850517) (xy -2.048994 -4.835297) (xy -2.043102 -4.817179)
(xy -2.036313 -4.796327) (xy -2.028681 -4.772907) (xy -2.02026 -4.747084) (xy -2.011103 -4.719022)
(xy -2.001266 -4.688887) (xy -1.9908 -4.656844) (xy -1.979761 -4.623058) (xy -1.968202 -4.587694)
(xy -1.956177 -4.550917) (xy -1.943739 -4.512892) (xy -1.930943 -4.473784) (xy -1.922829 -4.448993)
(xy -1.90984 -4.409286) (xy -1.897183 -4.370551) (xy -1.884912 -4.332954) (xy -1.873082 -4.29666)
(xy -1.861745 -4.261836) (xy -1.850954 -4.228646) (xy -1.840764 -4.197256) (xy -1.831228 -4.167832)
(xy -1.822399 -4.140539) (xy -1.814331 -4.115543) (xy -1.807078 -4.093009) (xy -1.800692 -4.073102)
(xy -1.795228 -4.055989) (xy -1.790738 -4.041834) (xy -1.787277 -4.030803) (xy -1.784898 -4.023062)
(xy -1.783654 -4.018776) (xy -1.783477 -4.017927) (xy -1.78513 -4.016567) (xy -1.789819 -4.013015)
(xy -1.797403 -4.007376) (xy -1.807739 -3.999751) (xy -1.820687 -3.990243) (xy -1.836106 -3.978957)
(xy -1.853853 -3.965993) (xy -1.873788 -3.951456) (xy -1.89577 -3.935449) (xy -1.919656 -3.918073)
(xy -1.945306 -3.899432) (xy -1.972579 -3.879629) (xy -2.001333 -3.858767) (xy -2.031426 -3.836948)
(xy -2.062718 -3.814276) (xy -2.095067 -3.790853) (xy -2.128332 -3.766782) (xy -2.146633 -3.753547)
(xy -2.18037 -3.729149) (xy -2.213291 -3.705339) (xy -2.245254 -3.682219) (xy -2.276115 -3.659893)
(xy -2.305733 -3.638465) (xy -2.333964 -3.618038) (xy -2.360664 -3.598714) (xy -2.385693 -3.580598)
(xy -2.408906 -3.563794) (xy -2.430162 -3.548403) (xy -2.449316 -3.53453) (xy -2.466227 -3.522278)
(xy -2.480752 -3.51175) (xy -2.492748 -3.50305) (xy -2.502072 -3.496281) (xy -2.508581 -3.491546)
(xy -2.512132 -3.48895) (xy -2.512766 -3.488476) (xy -2.512981 -3.488131) (xy -2.512634 -3.487813)
(xy -2.51158 -3.487521) (xy -2.509674 -3.487255) (xy -2.50677 -3.487013) (xy -2.502723 -3.486795)
(xy -2.497389 -3.486601) (xy -2.490621 -3.486428) (xy -2.482275 -3.486278) (xy -2.472206 -3.486148)
(xy -2.460267 -3.486039) (xy -2.446315 -3.485949) (xy -2.430204 -3.485878) (xy -2.411788 -3.485824)
(xy -2.390923 -3.485788) (xy -2.367463 -3.485768) (xy -2.341263 -3.485763) (xy -2.312177 -3.485773)
(xy -2.280062 -3.485798) (xy -2.244771 -3.485835) (xy -2.206159 -3.485886) (xy -2.164081 -3.485947)
(xy -2.118392 -3.48602) (xy -2.068946 -3.486103) (xy -2.062929 -3.486114) (xy -1.609174 -3.486894)
(xy -1.470484 -3.056649) (xy -1.45765 -3.016845) (xy -1.445126 -2.978023) (xy -1.432966 -2.94035)
(xy -1.421223 -2.90399) (xy -1.409952 -2.869108) (xy -1.399204 -2.835869) (xy -1.389035 -2.804439)
(xy -1.379497 -2.774981) (xy -1.370644 -2.747663) (xy -1.362529 -2.722647) (xy -1.355206 -2.700101)
(xy -1.348729 -2.680188) (xy -1.343151 -2.663073) (xy -1.338525 -2.648923) (xy -1.334905 -2.637902)
(xy -1.332345 -2.630174) (xy -1.330898 -2.625905) (xy -1.33058 -2.625065)) (layer B.Mask) (width 0))
(fp_poly (pts (xy 3.350374 -0.931266) (xy 3.352212 -0.936766) (xy 3.355143 -0.945666) (xy 3.359116 -0.9578)
(xy 3.364076 -0.973005) (xy 3.36997 -0.991114) (xy 3.376745 -1.011963) (xy 3.384346 -1.035386)
(xy 3.392721 -1.061219) (xy 3.401816 -1.089297) (xy 3.411578 -1.119455) (xy 3.421952 -1.151527)
(xy 3.432886 -1.185349) (xy 3.444327 -1.220756) (xy 3.45622 -1.257582) (xy 3.468512 -1.295663)
(xy 3.481149 -1.334833) (xy 3.489293 -1.360085) (xy 3.627857 -1.789795) (xy 4.081786 -1.789437)
(xy 4.123672 -1.789407) (xy 4.164515 -1.789383) (xy 4.204143 -1.789367) (xy 4.242383 -1.789356)
(xy 4.279063 -1.789352) (xy 4.31401 -1.789354) (xy 4.347053 -1.789361) (xy 4.378019 -1.789375)
(xy 4.406735 -1.789394) (xy 4.433029 -1.789419) (xy 4.456729 -1.78945) (xy 4.477663 -1.789486)
(xy 4.495658 -1.789526) (xy 4.510542 -1.789572) (xy 4.522142 -1.789623) (xy 4.530287 -1.789679)
(xy 4.534803 -1.789739) (xy 4.535714 -1.789783) (xy 4.53415 -1.79098) (xy 4.529548 -1.794368)
(xy 4.522051 -1.799848) (xy 4.511799 -1.807316) (xy 4.498932 -1.816671) (xy 4.483591 -1.827811)
(xy 4.465916 -1.840635) (xy 4.446047 -1.855041) (xy 4.424126 -1.870926) (xy 4.400292 -1.888189)
(xy 4.374687 -1.906729) (xy 4.34745 -1.926444) (xy 4.318722 -1.947231) (xy 4.288643 -1.968988)
(xy 4.257355 -1.991616) (xy 4.224998 -2.01501) (xy 4.191711 -2.03907) (xy 4.17178 -2.053474)
(xy 4.137964 -2.077913) (xy 4.104968 -2.101765) (xy 4.072935 -2.124927) (xy 4.042006 -2.147296)
(xy 4.012323 -2.16877) (xy 3.98403 -2.189244) (xy 3.957268 -2.208617) (xy 3.932179 -2.226784)
(xy 3.908906 -2.243643) (xy 3.887591 -2.259092) (xy 3.868376 -2.273025) (xy 3.851404 -2.285342)
(xy 3.836816 -2.295938) (xy 3.824755 -2.304711) (xy 3.815363 -2.311558) (xy 3.808782 -2.316375)
(xy 3.805154 -2.319059) (xy 3.804463 -2.319596) (xy 3.80414 -2.32009) (xy 3.803975 -2.320952)
(xy 3.804011 -2.322323) (xy 3.804294 -2.324345) (xy 3.804869 -2.327159) (xy 3.805781 -2.330906)
(xy 3.807074 -2.33573) (xy 3.808794 -2.34177) (xy 3.810985 -2.349169) (xy 3.813693 -2.358068)
(xy 3.816962 -2.368609) (xy 3.820838 -2.380934) (xy 3.825364 -2.395184) (xy 3.830587 -2.411501)
(xy 3.836551 -2.430027) (xy 3.843301 -2.450902) (xy 3.850882 -2.474269) (xy 3.859338 -2.50027)
(xy 3.868716 -2.529045) (xy 3.879059 -2.560738) (xy 3.890413 -2.595488) (xy 3.902823 -2.633438)
(xy 3.916332 -2.67473) (xy 3.930988 -2.719505) (xy 3.941883 -2.752785) (xy 3.954894 -2.792536)
(xy 3.967576 -2.831301) (xy 3.979874 -2.868916) (xy 3.991736 -2.905216) (xy 4.003107 -2.940036)
(xy 4.013934 -2.973213) (xy 4.024164 -3.004582) (xy 4.033743 -3.033978) (xy 4.042618 -3.061238)
(xy 4.050735 -3.086197) (xy 4.058041 -3.10869) (xy 4.064483 -3.128554) (xy 4.070006 -3.145624)
(xy 4.074557 -3.159735) (xy 4.078083 -3.170723) (xy 4.080531 -3.178425) (xy 4.081846 -3.182675)
(xy 4.082069 -3.183509) (xy 4.080452 -3.182433) (xy 4.075811 -3.179147) (xy 4.068285 -3.173753)
(xy 4.058014 -3.166351) (xy 4.045137 -3.157044) (xy 4.029793 -3.145933) (xy 4.012124 -3.133119)
(xy 3.992267 -3.118704) (xy 3.970363 -3.102789) (xy 3.946551 -3.085476) (xy 3.920972 -3.066866)
(xy 3.893763 -3.04706) (xy 3.865066 -3.026161) (xy 3.83502 -3.00427) (xy 3.803764 -2.981487)
(xy 3.771438 -2.957915) (xy 3.738182 -2.933655) (xy 3.715659 -2.91722) (xy 3.674989 -2.887543)
(xy 3.637365 -2.860098) (xy 3.602672 -2.834803) (xy 3.570793 -2.811574) (xy 3.541614 -2.790329)
(xy 3.515018 -2.770985) (xy 3.49089 -2.75346) (xy 3.469114 -2.737669) (xy 3.449575 -2.723531)
(xy 3.432157 -2.710963) (xy 3.416746 -2.699881) (xy 3.403224 -2.690203) (xy 3.391476 -2.681846)
(xy 3.381388 -2.674727) (xy 3.372842 -2.668764) (xy 3.365725 -2.663873) (xy 3.35992 -2.659971)
(xy 3.355311 -2.656977) (xy 3.351783 -2.654806) (xy 3.349221 -2.653377) (xy 3.347508 -2.652605)
(xy 3.34653 -2.652409) (xy 3.346317 -2.652474) (xy 3.344425 -2.65382) (xy 3.33951 -2.657374)
(xy 3.331714 -2.663031) (xy 3.321178 -2.670688) (xy 3.308044 -2.680243) (xy 3.292455 -2.691592)
(xy 3.274552 -2.704631) (xy 3.254476 -2.719257) (xy 3.23237 -2.735367) (xy 3.208376 -2.752857)
(xy 3.182634 -2.771624) (xy 3.155288 -2.791565) (xy 3.126479 -2.812576) (xy 3.096348 -2.834555)
(xy 3.065037 -2.857397) (xy 3.032689 -2.880999) (xy 2.999445 -2.905258) (xy 2.980268 -2.919253)
(xy 2.946616 -2.94381) (xy 2.913797 -2.967751) (xy 2.881953 -2.990973) (xy 2.851224 -3.013375)
(xy 2.82175 -3.034855) (xy 2.793673 -3.05531) (xy 2.767132 -3.074638) (xy 2.742268 -3.092736)
(xy 2.719222 -3.109503) (xy 2.698134 -3.124836) (xy 2.679145 -3.138633) (xy 2.662396 -3.150792)
(xy 2.648026 -3.16121) (xy 2.636177 -3.169785) (xy 2.626989 -3.176415) (xy 2.620603 -3.180998)
(xy 2.617159 -3.183431) (xy 2.616565 -3.183817) (xy 2.616084 -3.182302) (xy 2.616529 -3.180388)
(xy 2.617239 -3.178232) (xy 2.619114 -3.172519) (xy 2.622101 -3.163414) (xy 2.626144 -3.151085)
(xy 2.631189 -3.135697) (xy 2.637181 -3.117418) (xy 2.644066 -3.096412) (xy 2.65179 -3.072847)
(xy 2.660297 -3.04689) (xy 2.669534 -3.018705) (xy 2.679445 -2.98846) (xy 2.689977 -2.956321)
(xy 2.701074 -2.922455) (xy 2.712683 -2.887027) (xy 2.724748 -2.850204) (xy 2.737216 -2.812153)
(xy 2.750031 -2.773039) (xy 2.757633 -2.749838) (xy 2.773762 -2.700591) (xy 2.788698 -2.65495)
(xy 2.802477 -2.612802) (xy 2.815135 -2.574033) (xy 2.826709 -2.53853) (xy 2.837234 -2.506179)
(xy 2.846749 -2.476866) (xy 2.855288 -2.450477) (xy 2.862889 -2.426899) (xy 2.869587 -2.406018)
(xy 2.87542 -2.38772) (xy 2.880424 -2.371892) (xy 2.884634 -2.358419) (xy 2.888089 -2.347189)
(xy 2.890823 -2.338086) (xy 2.892874 -2.330999) (xy 2.894278 -2.325812) (xy 2.895072 -2.322412)
(xy 2.895291 -2.320686) (xy 2.895219 -2.320431) (xy 2.893433 -2.319085) (xy 2.888612 -2.315549)
(xy 2.880899 -2.309923) (xy 2.870435 -2.302312) (xy 2.857363 -2.292817) (xy 2.841824 -2.281542)
(xy 2.82396 -2.26859) (xy 2.803913 -2.254063) (xy 2.781826 -2.238064) (xy 2.75784 -2.220696)
(xy 2.732097 -2.202062) (xy 2.70474 -2.182265) (xy 2.67591 -2.161408) (xy 2.645749 -2.139592)
(xy 2.614399 -2.116922) (xy 2.582002 -2.0935) (xy 2.5487 -2.069429) (xy 2.5304 -2.056203)
(xy 2.496663 -2.03182) (xy 2.463751 -2.008028) (xy 2.431807 -1.984931) (xy 2.400973 -1.96263)
(xy 2.37139 -1.94123) (xy 2.343201 -1.920833) (xy 2.316549 -1.901542) (xy 2.291574 -1.88346)
(xy 2.26842 -1.866691) (xy 2.247229 -1.851336) (xy 2.228143 -1.8375) (xy 2.211304 -1.825285)
(xy 2.196854 -1.814794) (xy 2.184936 -1.80613) (xy 2.175691 -1.799396) (xy 2.169262 -1.794695)
(xy 2.16579 -1.79213) (xy 2.165197 -1.79167) (xy 2.165418 -1.79138) (xy 2.166809 -1.791113)
(xy 2.169504 -1.790868) (xy 2.173636 -1.790643) (xy 2.179342 -1.79044) (xy 2.186755 -1.790256)
(xy 2.196011 -1.790091) (xy 2.207243 -1.789944) (xy 2.220586 -1.789816) (xy 2.236175 -1.789704)
(xy 2.254144 -1.789609) (xy 2.274629 -1.78953) (xy 2.297763 -1.789466) (xy 2.323682 -1.789417)
(xy 2.352519 -1.789381) (xy 2.38441 -1.789358) (xy 2.419489 -1.789348) (xy 2.45789 -1.78935)
(xy 2.499749 -1.789363) (xy 2.545199 -1.789386) (xy 2.594376 -1.789419) (xy 2.616573 -1.789436)
(xy 3.070687 -1.789795) (xy 3.196464 -1.3999) (xy 3.20888 -1.361413) (xy 3.221087 -1.323572)
(xy 3.233023 -1.286574) (xy 3.244623 -1.250618) (xy 3.255823 -1.2159) (xy 3.266561 -1.182619)
(xy 3.276771 -1.150971) (xy 3.28639 -1.121155) (xy 3.295355 -1.093368) (xy 3.303602 -1.067808)
(xy 3.311067 -1.044673) (xy 3.317686 -1.024159) (xy 3.323396 -1.006464) (xy 3.328133 -0.991787)
(xy 3.331832 -0.980324) (xy 3.334431 -0.972274) (xy 3.335441 -0.969146) (xy 3.339321 -0.957319)
(xy 3.342845 -0.946931) (xy 3.345827 -0.938496) (xy 3.348083 -0.932533) (xy 3.349427 -0.929558)
(xy 3.349685 -0.929331)) (layer B.Mask) (width 0))
(fp_poly (pts (xy -3.355276 -0.92241) (xy -3.353419 -0.927943) (xy -3.350469 -0.936875) (xy -3.34648 -0.94904)
(xy -3.341506 -0.964272) (xy -3.335599 -0.982406) (xy -3.328815 -1.003275) (xy -3.321207 -1.026715)
(xy -3.312828 -1.052559) (xy -3.303732 -1.080642) (xy -3.293974 -1.110797) (xy -3.283605 -1.14286)
(xy -3.272682 -1.176665) (xy -3.261256 -1.212045) (xy -3.249382 -1.248835) (xy -3.237113 -1.28687)
(xy -3.224504 -1.325983) (xy -3.2171 -1.348959) (xy -3.204315 -1.388634) (xy -3.191839 -1.427335)
(xy -3.179727 -1.464895) (xy -3.168032 -1.501148) (xy -3.156807 -1.535928) (xy -3.146108 -1.569068)
(xy -3.135986 -1.600403) (xy -3.126497 -1.629765) (xy -3.117694 -1.656989) (xy -3.109631 -1.681909)
(xy -3.102361 -1.704358) (xy -3.095938 -1.724169) (xy -3.090417 -1.741177) (xy -3.08585 -1.755215)
(xy -3.082292 -1.766117) (xy -3.079797 -1.773716) (xy -3.078418 -1.777847) (xy -3.078151 -1.778587)
(xy -3.077367 -1.77887) (xy -3.075239 -1.779132) (xy -3.071636 -1.779374) (xy -3.066429 -1.779597)
(xy -3.059485 -1.7798) (xy -3.050675 -1.779985) (xy -3.039866 -1.780153) (xy -3.026928 -1.780305)
(xy -3.01173 -1.78044) (xy -2.994142 -1.78056) (xy -2.974031 -1.780666) (xy -2.951268 -1.780758)
(xy -2.925721 -1.780836) (xy -2.89726 -1.780902) (xy -2.865753 -1.780957) (xy -2.831069 -1.781001)
(xy -2.793078 -1.781034) (xy -2.751649 -1.781058) (xy -2.70665 -1.781073) (xy -2.657951 -1.78108)
(xy -2.623355 -1.781081) (xy -2.571831 -1.781083) (xy -2.524103 -1.781094) (xy -2.480046 -1.781113)
(xy -2.439537 -1.781142) (xy -2.402452 -1.781182) (xy -2.368667 -1.781232) (xy -2.338061 -1.781293)
(xy -2.310507 -1.781367) (xy -2.285884 -1.781453) (xy -2.264067 -1.781553) (xy -2.244933 -1.781667)
(xy -2.228359 -1.781796) (xy -2.21422 -1.78194) (xy -2.202394 -1.7821) (xy -2.192756 -1.782277)
(xy -2.185184 -1.782472) (xy -2.179553 -1.782684) (xy -2.17574 -1.782916) (xy -2.173621 -1.783166)
(xy -2.173074 -1.783437) (xy -2.17311 -1.783472) (xy -2.174976 -1.784829) (xy -2.179876 -1.788378)
(xy -2.187667 -1.794018) (xy -2.198208 -1.801646) (xy -2.211357 -1.811158) (xy -2.226971 -1.822453)
(xy -2.244909 -1.835427) (xy -2.265028 -1.849979) (xy -2.287188 -1.866005) (xy -2.311245 -1.883402)
(xy -2.337058 -1.902068) (xy -2.364485 -1.921901) (xy -2.393383 -1.942797) (xy -2.423611 -1.964654)
(xy -2.455027 -1.987369) (xy -2.487489 -2.01084) (xy -2.520855 -2.034963) (xy -2.540687 -2.049302)
(xy -2.905048 -2.312727) (xy -2.897539 -2.335356) (xy -2.892806 -2.34965) (xy -2.887179 -2.366704)
(xy -2.880721 -2.386316) (xy -2.873499 -2.408288) (xy -2.865577 -2.43242) (xy -2.857021 -2.45851)
(xy -2.847896 -2.486361) (xy -2.838266 -2.515771) (xy -2.828198 -2.54654) (xy -2.817757 -2.57847)
(xy -2.807007 -2.611359) (xy -2.796013 -2.645008) (xy -2.784842 -2.679218) (xy -2.773557 -2.713787)
(xy -2.762225 -2.748517) (xy -2.75091 -2.783207) (xy -2.739678 -2.817658) (xy -2.728593 -2.851669)
(xy -2.717722 -2.885041) (xy -2.707128 -2.917574) (xy -2.696878 -2.949067) (xy -2.687036 -2.979321)
(xy -2.677668 -3.008137) (xy -2.668838 -3.035313) (xy -2.660613 -3.06065) (xy -2.653057 -3.083949)
(xy -2.646234 -3.10501) (xy -2.640212 -3.123631) (xy -2.635054 -3.139614) (xy -2.630826 -3.152759)
(xy -2.627592 -3.162866) (xy -2.625419 -3.169734) (xy -2.624372 -3.173165) (xy -2.624283 -3.173533)
(xy -2.62592 -3.172472) (xy -2.630581 -3.169201) (xy -2.638127 -3.163821) (xy -2.648417 -3.156433)
(xy -2.661312 -3.147139) (xy -2.676672 -3.136041) (xy -2.694357 -3.123239) (xy -2.714229 -3.108836)
(xy -2.736146 -3.092932) (xy -2.759969 -3.075629) (xy -2.785558 -3.057029) (xy -2.812774 -3.037233)
(xy -2.841477 -3.016343) (xy -2.871527 -2.994459) (xy -2.902784 -2.971684) (xy -2.935109 -2.948118)
(xy -2.968362 -2.923864) (xy -2.990663 -2.907591) (xy -3.356205 -2.640812) (xy -3.362586 -2.645322)
(xy -3.364748 -2.646885) (xy -3.36993 -2.650654) (xy -3.37799 -2.656523) (xy -3.388783 -2.664387)
(xy -3.402164 -2.674141) (xy -3.417992 -2.685679) (xy -3.43612 -2.698898) (xy -3.456405 -2.713692)
(xy -3.478704 -2.729956) (xy -3.502872 -2.747584) (xy -3.528765 -2.766473) (xy -3.556239 -2.786516)
(xy -3.58515 -2.807609) (xy -3.615354 -2.829647) (xy -3.646708 -2.852525) (xy -3.679067 -2.876137)
(xy -3.712287 -2.900379) (xy -3.72811 -2.911926) (xy -3.761601 -2.936364) (xy -3.794255 -2.960186)
(xy -3.825931 -2.98329) (xy -3.856487 -3.005571) (xy -3.885784 -3.026928) (xy -3.913679 -3.047258)
(xy -3.940032 -3.066459) (xy -3.964701 -3.084427) (xy -3.987546 -3.10106) (xy -4.008425 -3.116255)
(xy -4.027198 -3.129909) (xy -4.043723 -3.141921) (xy -4.057859 -3.152186) (xy -4.069465 -3.160603)
(xy -4.0784 -3.167068) (xy -4.084523 -3.17148) (xy -4.087693 -3.173734) (xy -4.088126 -3.174021)
(xy -4.089 -3.172579) (xy -4.089 -3.172565) (xy -4.088399 -3.170594) (xy -4.086632 -3.165065)
(xy -4.083753 -3.156141) (xy -4.079816 -3.143989) (xy -4.074874 -3.128773) (xy -4.068982 -3.110658)
(xy -4.062192 -3.08981) (xy -4.05456 -3.066392) (xy -4.046139 -3.040571) (xy -4.036982 -3.012511)
(xy -4.027143 -2.982377) (xy -4.016677 -2.950335) (xy -4.005637 -2.916549) (xy -3.994078 -2.881184)
(xy -3.982051 -2.844405) (xy -3.969613 -2.806378) (xy -3.956816 -2.767266) (xy -3.948654 -2.742328)
(xy -3.93323 -2.695203) (xy -3.918981 -2.651659) (xy -3.905862 -2.611554) (xy -3.893828 -2.574744)
(xy -3.882833 -2.541088) (xy -3.872832 -2.510441) (xy -3.863781 -2.482663) (xy -3.855634 -2.457609)
(xy -3.848347 -2.435137) (xy -3.841873 -2.415106) (xy -3.836168 -2.397371) (xy -3.831187 -2.38179)
(xy -3.826884 -2.36822) (xy -3.823215 -2.35652) (xy -3.820135 -2.346545) (xy -3.817598 -2.338154)
(xy -3.815558 -2.331204) (xy -3.813972 -2.325552) (xy -3.812794 -2.321055) (xy -3.811979 -2.31757)
(xy -3.811481 -2.314956) (xy -3.811256 -2.313069) (xy -3.811259 -2.311767) (xy -3.811444 -2.310906)
(xy -3.811766 -2.310345) (xy -3.811995 -2.310103) (xy -3.813907 -2.308649) (xy -3.818853 -2.305005)
(xy -3.826691 -2.299274) (xy -3.837278 -2.291561) (xy -3.85047 -2.281968) (xy -3.866124 -2.2706)
(xy -3.884099 -2.257559) (xy -3.90425 -2.242949) (xy -3.926435 -2.226874) (xy -3.950511 -2.209438)
(xy -3.976335 -2.190743) (xy -4.003764 -2.170894) (xy -4.032655 -2.149994) (xy -4.062866 -2.128146)
(xy -4.094253 -2.105454) (xy -4.126673 -2.082022) (xy -4.159984 -2.057953) (xy -4.177167 -2.04554)
(xy -4.210847 -2.021209) (xy -4.243695 -1.997477) (xy -4.275568 -1.974445) (xy -4.306326 -1.952216)
(xy -4.335825 -1.930893) (xy -4.363925 -1.910579) (xy -4.390483 -1.891376) (xy -4.415357 -1.873387)
(xy -4.438405 -1.856715) (xy -4.459485 -1.841462) (xy -4.478456 -1.827732) (xy -4.495175 -1.815626)
(xy -4.509501 -1.805247) (xy -4.521291 -1.796699) (xy -4.530403 -1.790083) (xy -4.536696 -1.785503)
(xy -4.540028 -1.783061) (xy -4.540543 -1.78267) (xy -4.538802 -1.782493) (xy -4.533276 -1.782322)
(xy -4.524098 -1.782161) (xy -4.511401 -1.782007) (xy -4.495319 -1.781864) (xy -4.475984 -1.781729)
(xy -4.453531 -1.781605) (xy -4.428092 -1.781492) (xy -4.399801 -1.78139) (xy -4.368791 -1.781299)
(xy -4.335195 -1.781221) (xy -4.299147 -1.781155) (xy -4.260779 -1.781103) (xy -4.220226 -1.781063)
(xy -4.17762 -1.781038) (xy -4.133094 -1.781028) (xy -4.088931 -1.781032) (xy -3.635429 -1.781142)
(xy -3.496345 -1.350094) (xy -3.483494 -1.310291) (xy -3.470954 -1.271491) (xy -3.458776 -1.23386)
(xy -3.447015 -1.197559) (xy -3.435724 -1.162752) (xy -3.424956 -1.129604) (xy -3.414765 -1.098278)
(xy -3.405204 -1.068937) (xy -3.396327 -1.041744) (xy -3.388187 -1.016864) (xy -3.380838 -0.994459)
(xy -3.374332 -0.974694) (xy -3.368724 -0.957732) (xy -3.364067 -0.943736) (xy -3.360413 -0.932871)
(xy -3.357818 -0.925298) (xy -3.356334 -0.921183) (xy -3.355987 -0.920442)) (layer B.Mask) (width 0))
(fp_poly (pts (xy 3.812917 1.676202) (xy 3.814754 1.670958) (xy 3.817684 1.662311) (xy 3.821654 1.650423)
(xy 3.826611 1.63546) (xy 3.8325 1.617583) (xy 3.83927 1.596956) (xy 3.846867 1.573744)
(xy 3.855237 1.548109) (xy 3.864327 1.520214) (xy 3.874083 1.490224) (xy 3.884453 1.458301)
(xy 3.895383 1.424609) (xy 3.90682 1.389312) (xy 3.91871 1.352573) (xy 3.931 1.314555)
(xy 3.943637 1.275422) (xy 3.952198 1.248887) (xy 3.965041 1.209072) (xy 3.977569 1.170245)
(xy 3.98973 1.132569) (xy 4.001469 1.096211) (xy 4.012734 1.061334) (xy 4.023472 1.028103)
(xy 4.033628 0.996683) (xy 4.04315 0.967239) (xy 4.051985 0.939935) (xy 4.060079 0.914935)
(xy 4.067379 0.892405) (xy 4.073831 0.872509) (xy 4.079383 0.855411) (xy 4.083981 0.841277)
(xy 4.087572 0.830271) (xy 4.090102 0.822557) (xy 4.091518 0.8183) (xy 4.091817 0.817465)
(xy 4.093814 0.8174) (xy 4.099556 0.817338) (xy 4.108871 0.817278) (xy 4.121586 0.817221)
(xy 4.137529 0.817168) (xy 4.156526 0.817118) (xy 4.178405 0.817071) (xy 4.202993 0.817028)
(xy 4.230116 0.81699) (xy 4.259603 0.816956) (xy 4.29128 0.816926) (xy 4.324975 0.816901)
(xy 4.360514 0.816882) (xy 4.397726 0.816867) (xy 4.436437 0.816858) (xy 4.476473 0.816855)
(xy 4.517664 0.816857) (xy 4.545804 0.816862) (xy 4.595785 0.816872) (xy 4.641992 0.816877)
(xy 4.684569 0.816876) (xy 4.723659 0.816867) (xy 4.759405 0.816851) (xy 4.791954 0.816826)
(xy 4.821447 0.816791) (xy 4.848029 0.816746) (xy 4.871844 0.816689) (xy 4.893036 0.816619)
(xy 4.911749 0.816536) (xy 4.928127 0.816439) (xy 4.942313 0.816326) (xy 4.954453 0.816197)
(xy 4.964688 0.816051) (xy 4.973165 0.815886) (xy 4.980026 0.815703) (xy 4.985415 0.815499)
(xy 4.989477 0.815275) (xy 4.992355 0.815029) (xy 4.994193 0.81476) (xy 4.995136 0.814468)
(xy 4.995326 0.814151) (xy 4.995164 0.813966) (xy 4.993231 0.812553) (xy 4.988265 0.808947)
(xy 4.98041 0.803252) (xy 4.969807 0.795571) (xy 4.9566 0.786007) (xy 4.940932 0.774663)
(xy 4.922944 0.761644) (xy 4.902781 0.747052) (xy 4.880584 0.73099) (xy 4.856497 0.713563)
(xy 4.830661 0.694872) (xy 4.803221 0.675022) (xy 4.774319 0.654116) (xy 4.744098 0.632256)
(xy 4.712699 0.609547) (xy 4.680267 0.586092) (xy 4.646944 0.561994) (xy 4.629038 0.549046)
(xy 4.59534 0.524671) (xy 4.562481 0.50089) (xy 4.530604 0.477805) (xy 4.499849 0.45552)
(xy 4.470358 0.434137) (xy 4.442273 0.413759) (xy 4.415734 0.394489) (xy 4.390882 0.376429)
(xy 4.36786 0.359683) (xy 4.346807 0.344353) (xy 4.327867 0.330542) (xy 4.311179 0.318353)
(xy 4.296885 0.307888) (xy 4.285126 0.299251) (xy 4.276044 0.292544) (xy 4.26978 0.287869)
(xy 4.266475 0.285331) (xy 4.265971 0.284884) (xy 4.266492 0.28284) (xy 4.268182 0.277238)
(xy 4.270987 0.268244) (xy 4.274854 0.256023) (xy 4.279728 0.24074) (xy 4.285557 0.222562)
(xy 4.292287 0.201653) (xy 4.299864 0.178179) (xy 4.308235 0.152304) (xy 4.317346 0.124196)
(xy 4.327144 0.094018) (xy 4.337575 0.061937) (xy 4.348586 0.028117) (xy 4.360122 -0.007275)
(xy 4.372131 -0.044075) (xy 4.384559 -0.082117) (xy 4.397353 -0.121235) (xy 4.405432 -0.145918)
(xy 4.41842 -0.185602) (xy 4.431077 -0.224301) (xy 4.443347 -0.26185) (xy 4.455178 -0.298086)
(xy 4.466516 -0.332842) (xy 4.477308 -0.365955) (xy 4.487501 -0.397259) (xy 4.49704 -0.42659)
(xy 4.505872 -0.453784) (xy 4.513945 -0.478675) (xy 4.521203 -0.501098) (xy 4.527595 -0.52089)
(xy 4.533066 -0.537885) (xy 4.537563 -0.551918) (xy 4.541032 -0.562825) (xy 4.54342 -0.570441)
(xy 4.544674 -0.574601) (xy 4.544857 -0.575374) (xy 4.543215 -0.574318) (xy 4.538549 -0.571052)
(xy 4.530999 -0.565676) (xy 4.520705 -0.558293) (xy 4.507807 -0.549003) (xy 4.492444 -0.537908)
(xy 4.474758 -0.52511) (xy 4.454886 -0.51071) (xy 4.43297 -0.49481) (xy 4.409148 -0.47751)
(xy 4.383562 -0.458913) (xy 4.35635 -0.439121) (xy 4.327653 -0.418233) (xy 4.29761 -0.396353)
(xy 4.266361 -0.373581) (xy 4.234047 -0.35002) (xy 4.200806 -0.32577) (xy 4.178842 -0.309738)
(xy 4.145068 -0.28509) (xy 4.112125 -0.261061) (xy 4.080155 -0.237753) (xy 4.049296 -0.215268)
(xy 4.019688 -0.193707) (xy 3.991473 -0.173171) (xy 3.96479 -0.153764) (xy 3.939779 -0.135586)
(xy 3.91658 -0.118739) (xy 3.895333 -0.103326) (xy 3.876179 -0.089446) (xy 3.859258 -0.077204)
(xy 3.844709 -0.066699) (xy 3.832673 -0.058034) (xy 3.82329 -0.05131) (xy 3.8167 -0.04663)
(xy 3.813043 -0.044095) (xy 3.812306 -0.043645) (xy 3.810614 -0.044825) (xy 3.805898 -0.048213)
(xy 3.798299 -0.053708) (xy 3.787957 -0.061207) (xy 3.775011 -0.070608) (xy 3.759604 -0.081808)
(xy 3.741875 -0.094706) (xy 3.721964 -0.109199) (xy 3.700013 -0.125185) (xy 3.676161 -0.142561)
(xy 3.650549 -0.161225) (xy 3.623317 -0.181075) (xy 3.594606 -0.202009) (xy 3.564557 -0.223924)
(xy 3.533309 -0.246718) (xy 3.501004 -0.270289) (xy 3.467781 -0.294534) (xy 3.447187 -0.309565)
(xy 3.413471 -0.334174) (xy 3.380583 -0.358172) (xy 3.348666 -0.381457) (xy 3.317859 -0.403927)
(xy 3.288303 -0.425479) (xy 3.260139 -0.44601) (xy 3.233507 -0.46542) (xy 3.208548 -0.483604)
(xy 3.185403 -0.500461) (xy 3.164212 -0.515888) (xy 3.145116 -0.529783) (xy 3.128256 -0.542043)
(xy 3.113772 -0.552566) (xy 3.101804 -0.56125) (xy 3.092494 -0.567992) (xy 3.085981 -0.57269)
(xy 3.082407 -0.575241) (xy 3.081731 -0.5757) (xy 3.080024 -0.575373) (xy 3.079976 -0.575099)
(xy 3.080577 -0.573148) (xy 3.082344 -0.567637) (xy 3.085223 -0.558733) (xy 3.089162 -0.5466)
(xy 3.094104 -0.531403) (xy 3.099998 -0.513308) (xy 3.106788 -0.492479) (xy 3.114421 -0.469081)
(xy 3.122844 -0.443279) (xy 3.132001 -0.415239) (xy 3.14184 -0.385125) (xy 3.152307 -0.353103)
(xy 3.163347 -0.319337) (xy 3.174906 -0.283992) (xy 3.186932 -0.247234) (xy 3.19937 -0.209227)
(xy 3.212166 -0.170136) (xy 3.220188 -0.145634) (xy 3.233176 -0.105947) (xy 3.245831 -0.067233)
(xy 3.2581 -0.029658) (xy 3.269929 0.006612) (xy 3.281265 0.041412) (xy 3.292054 0.074577)
(xy 3.302243 0.105941) (xy 3.311777 0.135338) (xy 3.320604 0.162604) (xy 3.32867 0.187571)
(xy 3.335921 0.210076) (xy 3.342305 0.229951) (xy 3.347766 0.247033) (xy 3.352252 0.261155)
(xy 3.355709 0.272152) (xy 3.358084 0.279858) (xy 3.359323 0.284107) (xy 3.359497 0.284932)
(xy 3.357847 0.286282) (xy 3.353161 0.289823) (xy 3.345579 0.295453) (xy 3.335243 0.303068)
(xy 3.322293 0.312566) (xy 3.30687 0.323844) (xy 3.289116 0.336801) (xy 3.269171 0.351333)
(xy 3.247176 0.367338) (xy 3.223272 0.384714) (xy 3.197601 0.403357) (xy 3.170303 0.423166)
(xy 3.141519 0.444037) (xy 3.111389 0.465869) (xy 3.080056 0.488559) (xy 3.04766 0.512004)
(xy 3.014342 0.536101) (xy 2.994458 0.550475) (xy 2.960657 0.574907) (xy 2.927687 0.598742)
(xy 2.89569 0.621876) (xy 2.864807 0.644207) (xy 2.835179 0.665634) (xy 2.806948 0.686053)
(xy 2.780255 0.705363) (xy 2.755242 0.723461) (xy 2.73205 0.740245) (xy 2.710821 0.755612)
(xy 2.691695 0.76946) (xy 2.674815 0.781687) (xy 2.660321 0.79219) (xy 2.648355 0.800868)
(xy 2.639059 0.807617) (xy 2.632573 0.812335) (xy 2.62904 0.814921) (xy 2.628398 0.815404)
(xy 2.630137 0.815578) (xy 2.635656 0.815744) (xy 2.644817 0.815902) (xy 2.657482 0.816051)
(xy 2.673512 0.81619) (xy 2.692769 0.81632) (xy 2.715114 0.816439) (xy 2.74041 0.816547)
(xy 2.768518 0.816643) (xy 2.799299 0.816728) (xy 2.832616 0.816801) (xy 2.86833 0.81686)
(xy 2.906303 0.816907) (xy 2.946396 0.81694) (xy 2.988471 0.816958) (xy 3.03239 0.816962)
(xy 3.078014 0.81695) (xy 3.079973 0.81695) (xy 3.12971 0.816929) (xy 3.175678 0.816913)
(xy 3.218026 0.816902) (xy 3.256901 0.816897) (xy 3.292453 0.816899) (xy 3.324831 0.81691)
(xy 3.354183 0.81693) (xy 3.380659 0.816961) (xy 3.404407 0.817004) (xy 3.425576 0.817059)
(xy 3.444316 0.817129) (xy 3.460774 0.817213) (xy 3.4751 0.817313) (xy 3.487443 0.817431)
(xy 3.497951 0.817567) (xy 3.506773 0.817723) (xy 3.514059 0.817899) (xy 3.519957 0.818097)
(xy 3.524615 0.818317) (xy 3.528184 0.818561) (xy 3.530811 0.818831) (xy 3.532645 0.819126)
(xy 3.533836 0.819448) (xy 3.534532 0.819799) (xy 3.534882 0.820179) (xy 3.534949 0.820315)
(xy 3.535679 0.822487) (xy 3.537558 0.828221) (xy 3.54053 0.837351) (xy 3.544542 0.84971)
(xy 3.54954 0.865131) (xy 3.555469 0.883446) (xy 3.562277 0.904489) (xy 3.569908 0.928092)
(xy 3.57831 0.95409) (xy 3.587427 0.982314) (xy 3.597206 1.012597) (xy 3.607594 1.044773)
(xy 3.618535 1.078675) (xy 3.629977 1.114136) (xy 3.641865 1.150988) (xy 3.654145 1.189065)
(xy 3.666764 1.228199) (xy 3.673796 1.250015) (xy 3.686569 1.289632) (xy 3.699031 1.328268)
(xy 3.711126 1.365757) (xy 3.722802 1.401934) (xy 3.734005 1.436632) (xy 3.744682 1.469685)
(xy 3.754778 1.500927) (xy 3.764239 1.530193) (xy 3.773013 1.557315) (xy 3.781045 1.582128)
(xy 3.788281 1.604466) (xy 3.794669 1.624163) (xy 3.800153 1.641053) (xy 3.804681 1.654969)
(xy 3.808199 1.665746) (xy 3.810652 1.673218) (xy 3.811988 1.677218) (xy 3.812227 1.677879)) (layer B.Mask) (width 0))
(fp_poly (pts (xy -3.81206 1.687042) (xy -3.81023 1.681637) (xy -3.807305 1.672831) (xy -3.80334 1.660787)
(xy -3.798388 1.64567) (xy -3.792502 1.627644) (xy -3.785734 1.606873) (xy -3.77814 1.583521)
(xy -3.769771 1.557753) (xy -3.760681 1.529732) (xy -3.750924 1.499623) (xy -3.740552 1.46759)
(xy -3.729619 1.433797) (xy -3.718179 1.398409) (xy -3.706284 1.361589) (xy -3.693988 1.323502)
(xy -3.681345 1.284312) (xy -3.672705 1.257518) (xy -3.533646 0.826165) (xy -3.079045 0.827415)
(xy -3.027396 0.827553) (xy -2.979543 0.827672) (xy -2.935363 0.827773) (xy -2.894734 0.827854)
(xy -2.857534 0.827916) (xy -2.823639 0.827958) (xy -2.792928 0.82798) (xy -2.765278 0.827982)
(xy -2.740566 0.827962) (xy -2.71867 0.827922) (xy -2.699468 0.82786) (xy -2.682836 0.827776)
(xy -2.668652 0.82767) (xy -2.656795 0.827542) (xy -2.64714 0.827392) (xy -2.639566 0.827218)
(xy -2.633951 0.827021) (xy -2.630171 0.826801) (xy -2.628105 0.826557) (xy -2.627629 0.826288)
(xy -2.627651 0.826269) (xy -2.629516 0.824914) (xy -2.634415 0.821366) (xy -2.642207 0.815728)
(xy -2.652748 0.808103) (xy -2.665897 0.798592) (xy -2.681513 0.7873) (xy -2.699452 0.774328)
(xy -2.719574 0.75978) (xy -2.741737 0.743757) (xy -2.765797 0.726362) (xy -2.791614 0.707698)
(xy -2.819046 0.687868) (xy -2.84795 0.666974) (xy -2.878184 0.64512) (xy -2.909607 0.622406)
(xy -2.942077 0.598937) (xy -2.975452 0.574815) (xy -2.995462 0.560352) (xy -3.029267 0.535909)
(xy -3.062225 0.512061) (xy -3.094197 0.488908) (xy -3.125042 0.466554) (xy -3.154618 0.4451)
(xy -3.182787 0.424649) (xy -3.209407 0.405304) (xy -3.234339 0.387166) (xy -3.25744 0.370339)
(xy -3.278572 0.354923) (xy -3.297594 0.341023) (xy -3.314364 0.328739) (xy -3.328743 0.318175)
(xy -3.340591 0.309433) (xy -3.349766 0.302615) (xy -3.356129 0.297823) (xy -3.359539 0.29516)
(xy -3.360109 0.294627) (xy -3.359511 0.292586) (xy -3.357747 0.286988) (xy -3.354871 0.277996)
(xy -3.350935 0.265778) (xy -3.345995 0.250499) (xy -3.340104 0.232323) (xy -3.333315 0.211418)
(xy -3.325684 0.187947) (xy -3.317263 0.162078) (xy -3.308107 0.133975) (xy -3.298269 0.103803)
(xy -3.287804 0.07173) (xy -3.276765 0.037919) (xy -3.265207 0.002537) (xy -3.253183 -0.034251)
(xy -3.240746 -0.072279) (xy -3.227952 -0.111382) (xy -3.220079 -0.135433) (xy -3.2071 -0.175093)
(xy -3.194449 -0.213773) (xy -3.18218 -0.251307) (xy -3.170349 -0.28753) (xy -3.159007 -0.322277)
(xy -3.148209 -0.355383) (xy -3.138008 -0.386682) (xy -3.128458 -0.41601) (xy -3.119614 -0.443201)
(xy -3.111528 -0.468091) (xy -3.104254 -0.490513) (xy -3.097846 -0.510304) (xy -3.092358 -0.527296)
(xy -3.087844 -0.541327) (xy -3.084356 -0.552229) (xy -3.081949 -0.559839) (xy -3.080677 -0.563991)
(xy -3.080481 -0.564754) (xy -3.082084 -0.563752) (xy -3.086711 -0.560538) (xy -3.094222 -0.555215)
(xy -3.104478 -0.547883) (xy -3.117338 -0.538643) (xy -3.132665 -0.527598) (xy -3.150317 -0.514847)
(xy -3.170155 -0.500492) (xy -3.19204 -0.484635) (xy -3.215831 -0.467377) (xy -3.24139 -0.448818)
(xy -3.268577 -0.429061) (xy -3.297251 -0.408205) (xy -3.327274 -0.386354) (xy -3.358506 -0.363606)
(xy -3.390807 -0.340065) (xy -3.424037 -0.315831) (xy -3.446059 -0.299763) (xy -3.479837 -0.275116)
(xy -3.512785 -0.251085) (xy -3.544761 -0.227771) (xy -3.575627 -0.205277) (xy -3.605241 -0.183704)
(xy -3.633464 -0.163154) (xy -3.660155 -0.14373) (xy -3.685175 -0.125532) (xy -3.708382 -0.108663)
(xy -3.729637 -0.093225) (xy -3.748799 -0.07932) (xy -3.765728 -0.067049) (xy -3.780284 -0.056514)
(xy -3.792327 -0.047818) (xy -3.801717 -0.041063) (xy -3.808313 -0.036349) (xy -3.811975 -0.03378)
(xy -3.812714 -0.033308) (xy -3.814418 -0.034446) (xy -3.819146 -0.037794) (xy -3.826757 -0.04325)
(xy -3.83711 -0.05071) (xy -3.850066 -0.060072) (xy -3.865482 -0.071236) (xy -3.88322 -0.084098)
(xy -3.903138 -0.098557) (xy -3.925096 -0.11451) (xy -3.948952 -0.131855) (xy -3.974568 -0.150489)
(xy -4.001801 -0.170312) (xy -4.030512 -0.191221) (xy -4.06056 -0.213112) (xy -4.091805 -0.235886)
(xy -4.124105 -0.259438) (xy -4.15732 -0.283668) (xy -4.177637 -0.298493) (xy -4.211352 -0.323097)
(xy -4.244244 -0.347098) (xy -4.276172 -0.370393) (xy -4.306994 -0.392878) (xy -4.336569 -0.414452)
(xy -4.364756 -0.435011) (xy -4.391414 -0.454452) (xy -4.416403 -0.472673) (xy -4.439579 -0.48957)
(xy -4.460804 -0.50504) (xy -4.479935 -0.518982) (xy -4.496831 -0.531292) (xy -4.511351 -0.541866)
(xy -4.523355 -0.550603) (xy -4.5327 -0.557399) (xy -4.539247 -0.562151) (xy -4.542853 -0.564757)
(xy -4.543545 -0.565246) (xy -4.545216 -0.565544) (xy -4.545045 -0.562827) (xy -4.544869 -0.562114)
(xy -4.544154 -0.559837) (xy -4.542273 -0.554004) (xy -4.539283 -0.544783) (xy -4.535236 -0.53234)
(xy -4.530188 -0.516842) (xy -4.524194 -0.498458) (xy -4.517308 -0.477355) (xy -4.509585 -0.4537)
(xy -4.50108 -0.427661) (xy -4.491847 -0.399404) (xy -4.481941 -0.369098) (xy -4.471417 -0.336911)
(xy -4.460329 -0.303008) (xy -4.448732 -0.267558) (xy -4.436681 -0.230729) (xy -4.424231 -0.192687)
(xy -4.411436 -0.1536) (xy -4.404495 -0.1324) (xy -4.391553 -0.092864) (xy -4.378936 -0.054303)
(xy -4.3667 -0.016885) (xy -4.354896 0.019225) (xy -4.343581 0.053862) (xy -4.332808 0.086858)
(xy -4.322631 0.118047) (xy -4.313104 0.147265) (xy -4.304282 0.174343) (xy -4.296217 0.199118)
(xy -4.288966 0.221422) (xy -4.28258 0.241089) (xy -4.277116 0.257954) (xy -4.272626 0.271849)
(xy -4.269165 0.28261) (xy -4.266786 0.29007) (xy -4.265545 0.294064) (xy -4.265367 0.294721)
(xy -4.266935 0.296048) (xy -4.271541 0.299565) (xy -4.279044 0.305171) (xy -4.289303 0.312762)
(xy -4.302178 0.322237) (xy -4.317529 0.333493) (xy -4.335215 0.346428) (xy -4.355096 0.36094)
(xy -4.37703 0.376926) (xy -4.400879 0.394284) (xy -4.426501 0.412911) (xy -4.453756 0.432706)
(xy -4.482503 0.453566) (xy -4.512602 0.475388) (xy -4.543913 0.498071) (xy -4.576295 0.521512)
(xy -4.609607 0.545609) (xy -4.63 0.560352) (xy -4.663841 0.584811) (xy -4.69686 0.608677)
(xy -4.728917 0.631848) (xy -4.759868 0.654221) (xy -4.789573 0.675693) (xy -4.817889 0.696161)
(xy -4.844674 0.715524) (xy -4.869786 0.733678) (xy -4.893084 0.750521) (xy -4.914424 0.76595)
(xy -4.933667 0.779862) (xy -4.950668 0.792155) (xy -4.965287 0.802727) (xy -4.977382 0.811474)
(xy -4.98681 0.818294) (xy -4.993429 0.823085) (xy -4.997098 0.825743) (xy -4.997821 0.826269)
(xy -4.99745 0.826539) (xy -4.995497 0.826785) (xy -4.991839 0.827007) (xy -4.986354 0.827206)
(xy -4.978918 0.827381) (xy -4.96941 0.827533) (xy -4.957708 0.827663) (xy -4.943687 0.82777)
(xy -4.927227 0.827855) (xy -4.908204 0.827918) (xy -4.886496 0.82796) (xy -4.861981 0.827981)
(xy -4.834535 0.827981) (xy -4.804037 0.82796) (xy -4.770364 0.82792) (xy -4.733393 0.827859)
(xy -4.693002 0.827779) (xy -4.649068 0.82768) (xy -4.601469 0.827562) (xy -4.550083 0.827425)
(xy -4.546468 0.827415) (xy -4.091896 0.826165) (xy -3.952809 1.257528) (xy -3.93996 1.297365)
(xy -3.927423 1.336209) (xy -3.915251 1.373895) (xy -3.903499 1.410261) (xy -3.892218 1.44514)
(xy -3.881462 1.47837) (xy -3.871286 1.509785) (xy -3.861741 1.539222) (xy -3.852881 1.566517)
(xy -3.84476 1.591506) (xy -3.837431 1.614023) (xy -3.830947 1.633906) (xy -3.825362 1.65099)
(xy -3.820728 1.66511) (xy -3.8171 1.676104) (xy -3.81453 1.683805) (xy -3.813071 1.688051)
(xy -3.812743 1.68888)) (layer B.Mask) (width 0))
(fp_poly (pts (xy 2.493027 3.970053) (xy 2.494852 3.964587) (xy 2.497751 3.955788) (xy 2.501661 3.943853)
(xy 2.506515 3.928982) (xy 2.512252 3.911372) (xy 2.518807 3.891222) (xy 2.526115 3.868729)
(xy 2.534113 3.844091) (xy 2.542736 3.817508) (xy 2.55192 3.789176) (xy 2.561602 3.759295)
(xy 2.571718 3.728062) (xy 2.582202 3.695675) (xy 2.592991 3.662333) (xy 2.604022 3.628234)
(xy 2.615229 3.593576) (xy 2.626549 3.558557) (xy 2.637918 3.523375) (xy 2.649272 3.488228)
(xy 2.660546 3.453315) (xy 2.671677 3.418834) (xy 2.6826 3.384983) (xy 2.693252 3.35196)
(xy 2.703567 3.319963) (xy 2.713483 3.28919) (xy 2.722936 3.25984) (xy 2.73186 3.23211)
(xy 2.740192 3.2062) (xy 2.747868 3.182306) (xy 2.754823 3.160627) (xy 2.760995 3.141362)
(xy 2.764593 3.13011) (xy 2.770797 3.11069) (xy 3.224665 3.112066) (xy 3.274387 3.112217)
(xy 3.320337 3.112354) (xy 3.362663 3.112476) (xy 3.401512 3.112585) (xy 3.437031 3.112677)
(xy 3.469368 3.112753) (xy 3.49867 3.112812) (xy 3.525084 3.112853) (xy 3.548757 3.112876)
(xy 3.55 3.09) (xy 3.55 3.04) (xy 3.55 3.05) (xy 3.55 3.06)
(xy 3.55 3.08) (xy 3.55 3.09) (xy 3.55 3.06) (xy 3.55 3.1)
(xy 3.55 3.09) (xy 3.55 3.07) (xy 3.55 3.04) (xy 3.55 3.05)
(xy 3.55 3.06) (xy 3.55 3.1) (xy 3.55 3.09) (xy 3.55 3.07)
(xy 3.55 3.09) (xy 3.55 3.11) (xy 3.55 3.1) (xy 3.55 3.02)
(xy 3.535847 3.008794) (xy 3.509986 2.990061) (xy 3.482516 2.970171) (xy 3.453579 2.949227)
(xy 3.423319 2.927333) (xy 3.391878 2.904591) (xy 3.359398 2.881105) (xy 3.326022 2.85698)
(xy 3.30692 2.843175) (xy 2.943144 2.580304) (xy 2.953697 2.548494) (xy 2.958116 2.535146)
(xy 2.963449 2.518982) (xy 2.969632 2.500203) (xy 2.976599 2.479009) (xy 2.984284 2.455604)
(xy 2.992621 2.430187) (xy 3.001545 2.40296) (xy 3.01099 2.374125) (xy 3.020891 2.343883)
(xy 3.031181 2.312435) (xy 3.041794 2.279983) (xy 3.052666 2.246728) (xy 3.063731 2.212871)
(xy 3.074922 2.178613) (xy 3.086174 2.144157) (xy 3.097422 2.109703) (xy 3.108599 2.075453)
(xy 3.11964 2.041608) (xy 3.13048 2.008369) (xy 3.141052 1.975938) (xy 3.151291 1.944516)
(xy 3.161131 1.914305) (xy 3.170506 1.885505) (xy 3.179351 1.858319) (xy 3.187601 1.832947)
(xy 3.195188 1.809591) (xy 3.202048 1.788452) (xy 3.208115 1.769732) (xy 3.213324 1.753631)
(xy 3.217608 1.740352) (xy 3.220901 1.730095) (xy 3.223139 1.723063) (xy 3.224256 1.719455)
(xy 3.224374 1.718999) (xy 3.22275 1.720074) (xy 3.218103 1.723358) (xy 3.210571 1.728751)
(xy 3.200294 1.736151) (xy 3.187412 1.745456) (xy 3.172064 1.756565) (xy 3.154391 1.769376)
(xy 3.134533 1.783788) (xy 3.112628 1.799699) (xy 3.088817 1.817007) (xy 3.063239 1.835612)
(xy 3.036035 1.855411) (xy 3.007343 1.876303) (xy 2.977305 1.898186) (xy 2.946059 1.92096)
(xy 2.913745 1.944521) (xy 2.880503 1.968769) (xy 2.858505 1.984821) (xy 2.824718 2.00947)
(xy 2.791755 2.033498) (xy 2.759757 2.056804) (xy 2.728865 2.079287) (xy 2.699218 2.100844)
(xy 2.670958 2.121375) (xy 2.644225 2.140776) (xy 2.61916 2.158948) (xy 2.595903 2.175787)
(xy 2.574594 2.191192) (xy 2.555374 2.205061) (xy 2.538385 2.217294) (xy 2.523765 2.227787)
(xy 2.511656 2.23644) (xy 2.502199 2.24315) (xy 2.495533 2.247817) (xy 2.491799 2.250337)
(xy 2.491013 2.250777) (xy 2.489238 2.249587) (xy 2.48444 2.246187) (xy 2.476759 2.24068)
(xy 2.466337 2.233168) (xy 2.453314 2.223755) (xy 2.437832 2.212541) (xy 2.420031 2.199631)
(xy 2.400052 2.185125) (xy 2.378036 2.169127) (xy 2.354124 2.151739) (xy 2.328457 2.133063)
(xy 2.301175 2.113201) (xy 2.272419 2.092256) (xy 2.242331 2.070331) (xy 2.211051 2.047528)
(xy 2.178721 2.023949) (xy 2.14548 1.999696) (xy 2.12499 1.984742) (xy 2.091274 1.960135)
(xy 2.058388 1.936138) (xy 2.026472 1.912856) (xy 1.995667 1.890389) (xy 1.966114 1.86884)
(xy 1.937954 1.848312) (xy 1.911325 1.828907) (xy 1.886371 1.810727) (xy 1.86323 1.793875)
(xy 1.842044 1.778453) (xy 1.822953 1.764564) (xy 1.806097 1.752309) (xy 1.791618 1.741791)
(xy 1.779656 1.733113) (xy 1.770351 1.726377) (xy 1.763844 1.721684) (xy 1.760275 1.719139)
(xy 1.759602 1.718684) (xy 1.75983 1.720353) (xy 1.761174 1.725357) (xy 1.763516 1.733314)
(xy 1.766739 1.743842) (xy 1.770724 1.756556) (xy 1.775353 1.771073) (xy 1.780509 1.787012)
(xy 1.783149 1.795096) (xy 1.8059 1.86454) (xy 1.827449 1.930326) (xy 1.847816 1.992516)
(xy 1.867022 2.051175) (xy 1.885089 2.106367) (xy 1.902037 2.158155) (xy 1.917886 2.206603)
(xy 1.932658 2.251775) (xy 1.946373 2.293734) (xy 1.959052 2.332545) (xy 1.970717 2.368272)
(xy 1.981387 2.400978) (xy 1.991084 2.430726) (xy 1.999828 2.457582) (xy 2.00764 2.481608)
(xy 2.014541 2.502869) (xy 2.020553 2.521428) (xy 2.025694 2.537349) (xy 2.029988 2.550695)
(xy 2.033453 2.561532) (xy 2.036112 2.569922) (xy 2.037984 2.575929) (xy 2.039092 2.579618)
(xy 2.039454 2.581051) (xy 2.039449 2.581074) (xy 2.037807 2.582273) (xy 2.033129 2.585666)
(xy 2.025557 2.59115) (xy 2.015229 2.598624) (xy 2.002288 2.607986) (xy 1.986874 2.619135)
(xy 1.969127 2.63197) (xy 1.949188 2.646387) (xy 1.927197 2.662286) (xy 1.903296 2.679566)
(xy 1.877624 2.698123) (xy 1.850323 2.717858) (xy 1.821532 2.738668) (xy 1.791393 2.760451)
(xy 1.760046 2.783106) (xy 1.727632 2.806531) (xy 1.694291 2.830625) (xy 1.673218 2.845853)
(xy 1.639356 2.870324) (xy 1.606324 2.894197) (xy 1.574265 2.917372) (xy 1.543318 2.939744)
(xy 1.513627 2.961213) (xy 1.48533 2.981676) (xy 1.458571 3.001031) (xy 1.43349 3.019175)
(xy 1.410227 3.036007) (xy 1.388925 3.051425) (xy 1.369725 3.065325) (xy 1.352768 3.077607)
(xy 1.338194 3.088167) (xy 1.326145 3.096904) (xy 1.316763 3.103716) (xy 1.310188 3.1085)
(xy 1.306562 3.111155) (xy 1.305858 3.111685) (xy 1.307586 3.111869) (xy 1.313119 3.112034)
(xy 1.322345 3.11218) (xy 1.335151 3.112305) (xy 1.351423 3.112411) (xy 1.371048 3.112496)
(xy 1.393914 3.112562) (xy 1.419907 3.112607) (xy 1.448915 3.112632) (xy 1.480824 3.112637)
(xy 1.515521 3.112621) (xy 1.552894 3.112584) (xy 1.59283 3.112527) (xy 1.635215 3.112449)
(xy 1.679936 3.112349) (xy 1.72688 3.112229) (xy 1.75845 3.11214) (xy 2.212998 3.110807)
(xy 2.351954 3.542159) (xy 2.36479 3.581978) (xy 2.377318 3.620792) (xy 2.389484 3.658438)
(xy 2.401236 3.694751) (xy 2.41252 3.729569) (xy 2.423282 3.762729) (xy 2.433469 3.794066)
(xy 2.443028 3.823417) (xy 2.451906 3.850618) (xy 2.460048 3.875507) (xy 2.467402 3.89792)
(xy 2.473914 3.917693) (xy 2.479532 3.934663) (xy 2.4842 3.948666) (xy 2.487867 3.959539)
(xy 2.490478 3.967119) (xy 2.49198 3.971241) (xy 2.492341 3.971987)) (layer B.Mask) (width 0))
(fp_poly (pts (xy -2.485317 3.981059) (xy -2.485256 3.980872) (xy -2.485201 3.980778) (xy -2.484538 3.978872)
(xy -2.482731 3.973412) (xy -2.479837 3.964576) (xy -2.475912 3.952541) (xy -2.471014 3.937483)
(xy -2.465201 3.919579) (xy -2.458529 3.899005) (xy -2.451056 3.875939) (xy -2.442839 3.850556)
(xy -2.433935 3.823035) (xy -2.424401 3.79355) (xy -2.414295 3.76228) (xy -2.403674 3.729401)
(xy -2.392594 3.69509) (xy -2.381114 3.659523) (xy -2.369291 3.622876) (xy -2.363829 3.605944)
(xy -2.351577 3.567957) (xy -2.339481 3.530455) (xy -2.327609 3.493653) (xy -2.31603 3.457763)
(xy -2.304814 3.423) (xy -2.29403 3.389577) (xy -2.283745 3.357708) (xy -2.274031 3.327607)
(xy -2.264954 3.299487) (xy -2.256585 3.273563) (xy -2.248992 3.250048) (xy -2.242245 3.229155)
(xy -2.236412 3.211099) (xy -2.231563 3.196093) (xy -2.227766 3.184351) (xy -2.22509 3.176087)
(xy -2.224737 3.175) (xy -2.206307 3.118181) (xy -1.752162 3.118843) (xy -1.298017 3.119506)
(xy -1.305854 3.113802) (xy -1.30816 3.112131) (xy -1.313497 3.10827) (xy -1.321717 3.102324)
(xy -1.332677 3.094399) (xy -1.346229 3.084598) (xy -1.362229 3.073029) (xy -1.380532 3.059796)
(xy -1.40099 3.045004) (xy -1.42346 3.028758) (xy -1.447794 3.011165) (xy -1.473848 2.992329)
(xy -1.501476 2.972355) (xy -1.530532 2.951349) (xy -1.560871 2.929416) (xy -1.592346 2.906662)
(xy -1.624814 2.883191) (xy -1.658126 2.859109) (xy -1.672238 2.848908) (xy -1.705769 2.824667)
(xy -1.738465 2.801027) (xy -1.770184 2.778092) (xy -1.800782 2.755964) (xy -1.830119 2.734746)
(xy -1.858051 2.714542) (xy -1.884436 2.695453) (xy -1.909133 2.677583) (xy -1.931998 2.661036)
(xy -1.95289 2.645914) (xy -1.971666 2.632319) (xy -1.988184 2.620356) (xy -2.002301 2.610127)
(xy -2.013876 2.601734) (xy -2.022766 2.595282) (xy -2.028828 2.590873) (xy -2.031921 2.588609)
(xy -2.032306 2.588318) (xy -2.031846 2.586353) (xy -2.030216 2.58083) (xy -2.02747 2.571913)
(xy -2.023661 2.559766) (xy -2.018841 2.544555) (xy -2.013065 2.526444) (xy -2.006384 2.505596)
(xy -1.998853 2.482178) (xy -1.990524 2.456352) (xy -1.981451 2.428285) (xy -1.971686 2.39814)
(xy -1.961282 2.366081) (xy -1.950294 2.332274) (xy -1.938773 2.296883) (xy -1.926773 2.260072)
(xy -1.914347 2.222007) (xy -1.901549 2.18285) (xy -1.892797 2.156104) (xy -1.879775 2.116319)
(xy -1.867082 2.077523) (xy -1.85477 2.039879) (xy -1.842892 2.003551) (xy -1.831504 1.968704)
(xy -1.820657 1.935502) (xy -1.810406 1.904108) (xy -1.800804 1.874686) (xy -1.791905 1.847402)
(xy -1.783761 1.822418) (xy -1.776427 1.7999) (xy -1.769957 1.78001) (xy -1.764402 1.762913)
(xy -1.759818 1.748774) (xy -1.756257 1.737756) (xy -1.753774 1.730023) (xy -1.75242 1.725739)
(xy -1.752173 1.724881) (xy -1.75377 1.725981) (xy -1.758392 1.729291) (xy -1.7659 1.734709)
(xy -1.776154 1.742133) (xy -1.789015 1.751463) (xy -1.804343 1.762595) (xy -1.821999 1.77543)
(xy -1.841843 1.789864) (xy -1.863736 1.805798) (xy -1.887538 1.823129) (xy -1.91311 1.841756)
(xy -1.940313 1.861577) (xy -1.969007 1.882491) (xy -1.999052 1.904396) (xy -2.03031 1.927191)
(xy -2.06264 1.950774) (xy -2.095903 1.975043) (xy -2.118737 1.991707) (xy -2.152564 2.016383)
(xy -2.185567 2.040433) (xy -2.217604 2.063756) (xy -2.248535 2.086251) (xy -2.278221 2.107816)
(xy -2.306521 2.128349) (xy -2.333295 2.147751) (xy -2.358402 2.165919) (xy -2.381702 2.182752)
(xy -2.403056 2.198149) (xy -2.422322 2.212009) (xy -2.439361 2.224231) (xy -2.454032 2.234712)
(xy -2.466196 2.243353) (xy -2.475711 2.250052) (xy -2.482438 2.254707) (xy -2.486237 2.257217)
(xy -2.487073 2.257649) (xy -2.488802 2.256411) (xy -2.493525 2.252989) (xy -2.50107 2.247507)
(xy -2.511266 2.240091) (xy -2.523943 2.230865) (xy -2.538927 2.219954) (xy -2.556049 2.207483)
(xy -2.575136 2.193578) (xy -2.596017 2.178363) (xy -2.618521 2.161963) (xy -2.642477 2.144503)
(xy -2.667712 2.126109) (xy -2.694056 2.106905) (xy -2.721336 2.087017) (xy -2.749383 2.066569)
(xy -2.778024 2.045686) (xy -2.807087 2.024494) (xy -2.836402 2.003117) (xy -2.865797 1.98168)
(xy -2.8951 1.960308) (xy -2.924141 1.939127) (xy -2.952747 1.918262) (xy -2.980748 1.897837)
(xy -3.007972 1.877977) (xy -3.034247 1.858807) (xy -3.059402 1.840453) (xy -3.083266 1.82304)
(xy -3.105667 1.806691) (xy -3.126434 1.791533) (xy -3.145396 1.777691) (xy -3.16238 1.765289)
(xy -3.177216 1.754452) (xy -3.189733 1.745306) (xy -3.199758 1.737976) (xy -3.20712 1.732585)
(xy -3.211648 1.729261) (xy -3.212987 1.728269) (xy -3.219627 1.72328) (xy -3.218102 1.728128)
(xy -3.217358 1.730417) (xy -3.21545 1.736263) (xy -3.212433 1.7455) (xy -3.20836 1.757959)
(xy -3.203288 1.773473) (xy -3.197269 1.791877) (xy -3.19036 1.813001) (xy -3.182614 1.83668)
(xy -3.174086 1.862747) (xy -3.164832 1.891033) (xy -3.154905 1.921372) (xy -3.144361 1.953597)
(xy -3.133254 1.987541) (xy -3.121638 2.023037) (xy -3.109569 2.059917) (xy -3.097101 2.098014)
(xy -3.084289 2.137162) (xy -3.076802 2.160038) (xy -3.063843 2.199656) (xy -3.051221 2.238292)
(xy -3.038989 2.275781) (xy -3.0272 2.311958) (xy -3.015909 2.346657) (xy -3.005168 2.379714)
(xy -2.99503 2.410963) (xy -2.985549 2.440239) (xy -2.976779 2.467376) (xy -2.968772 2.49221)
(xy -2.961582 2.514575) (xy -2.955263 2.534306) (xy -2.949868 2.551238) (xy -2.945449 2.565206)
(xy -2.942061 2.576044) (xy -2.939757 2.583588) (xy -2.93859 2.587671) (xy -2.938456 2.588391)
(xy -2.940155 2.589642) (xy -2.944889 2.593086) (xy -2.952518 2.598621) (xy -2.9629 2.606145)
(xy -2.975895 2.615556) (xy -2.991362 2.626752) (xy -3.009159 2.639632) (xy -3.029147 2.654093)
(xy -3.051184 2.670033) (xy -3.075128 2.68735) (xy -3.10084 2.705943) (xy -3.128179 2.72571)
(xy -3.157003 2.746549) (xy -3.187171 2.768357) (xy -3.218543 2.791033) (xy -3.250977 2.814475)
(xy -3.284334 2.838581) (xy -3.305291 2.853725) (xy -3.339139 2.878185) (xy -3.372148 2.902039)
(xy -3.404178 2.925188) (xy -3.435088 2.947528) (xy -3.464737 2.96896) (xy -3.492986 2.989379)
(xy -3.519693 3.008686) (xy -3.544717 3.026778) (xy -3.54 3.03) (xy -3.54 3.09)
(xy -3.54 3.118962) (xy -3.54 3.119002) (xy -3.54 3.119033) (xy -3.54 3.119057)
(xy -3.534672 3.119073) (xy -3.505297 3.11908) (xy -3.473722 3.119079) (xy -3.440119 3.119069)
(xy -3.404658 3.119052) (xy -3.367513 3.119025) (xy -3.328854 3.118991) (xy -3.288854 3.118947)
(xy -3.247684 3.118895) (xy -3.218592 3.118854) (xy -2.764529 3.118181) (xy -2.758735 3.135814)
(xy -2.757576 3.139377) (xy -2.755274 3.146487) (xy -2.751889 3.156963) (xy -2.747477 3.170624)
(xy -2.742098 3.187289) (xy -2.735811 3.206774) (xy -2.728674 3.228899) (xy -2.720746 3.253481)
(xy -2.712084 3.28034) (xy -2.702749 3.309293) (xy -2.692798 3.340159) (xy -2.682291 3.372756)
(xy -2.671285 3.406902) (xy -2.659839 3.442415) (xy -2.648012 3.479114) (xy -2.635862 3.516817)
(xy -2.625422 3.549221) (xy -2.610149 3.596623) (xy -2.596032 3.640436) (xy -2.583027 3.680801)
(xy -2.571086 3.717858) (xy -2.560164 3.751749) (xy -2.550217 3.782613) (xy -2.541197 3.810592)
(xy -2.533059 3.835826) (xy -2.525758 3.858456) (xy -2.519247 3.878622) (xy -2.513481 3.896466)
(xy -2.508415 3.912128) (xy -2.504002 3.925748) (xy -2.500198 3.937468) (xy -2.496955 3.947428)
(xy -2.494229 3.955768) (xy -2.491974 3.96263) (xy -2.490143 3.968153) (xy -2.488692 3.97248)
(xy -2.487575 3.97575) (xy -2.486746 3.978104) (xy -2.486158 3.979682) (xy -2.485768 3.980627)
(xy -2.485528 3.981077) (xy -2.485393 3.981174)) (layer B.Mask) (width 0))
(fp_poly (pts (xy 0.004867 4.879877) (xy 0.006844 4.875443) (xy 0.009551 4.868387) (xy 0.012771 4.859269)
(xy 0.015925 4.84978) (xy 0.017558 4.84472) (xy 0.020332 4.836119) (xy 0.024183 4.824169)
(xy 0.029052 4.809059) (xy 0.034876 4.79098) (xy 0.041595 4.770121) (xy 0.049147 4.746673)
(xy 0.057471 4.720826) (xy 0.066505 4.692771) (xy 0.07619 4.662696) (xy 0.086462 4.630793)
(xy 0.097262 4.597251) (xy 0.108528 4.562261) (xy 0.120198 4.526013) (xy 0.132212 4.488696)
(xy 0.144508 4.450502) (xy 0.154842 4.4184) (xy 0.283115 4.01993) (xy 0.737176 4.021268)
(xy 0.779069 4.021389) (xy 0.819918 4.021501) (xy 0.859552 4.021604) (xy 0.897798 4.021697)
(xy 0.934484 4.021782) (xy 0.969438 4.021856) (xy 1.002488 4.021921) (xy 1.03346 4.021975)
(xy 1.062183 4.022019) (xy 1.088485 4.022052) (xy 1.112193 4.022075) (xy 1.133134 4.022086)
(xy 1.151137 4.022086) (xy 1.16603 4.022074) (xy 1.177639 4.02205) (xy 1.185793 4.022014)
(xy 1.19032 4.021965) (xy 1.191237 4.021924) (xy 1.189672 4.02073) (xy 1.18507 4.017343)
(xy 1.177572 4.011865) (xy 1.167315 4.004396) (xy 1.154442 3.995039) (xy 1.139091 3.983893)
(xy 1.121402 3.971062) (xy 1.101516 3.956645) (xy 1.079571 3.940744) (xy 1.055709 3.923462)
(xy 1.030068 3.904898) (xy 1.002789 3.885154) (xy 0.974011 3.864332) (xy 0.943874 3.842532)
(xy 0.912519 3.819857) (xy 0.880084 3.796408) (xy 0.84671 3.772285) (xy 0.823958 3.755842)
(xy 0.790028 3.731316) (xy 0.756945 3.707385) (xy 0.724848 3.684151) (xy 0.693877 3.661716)
(xy 0.664171 3.640182) (xy 0.635872 3.619651) (xy 0.609118 3.600224) (xy 0.58405 3.582003)
(xy 0.560808 3.56509) (xy 0.539531 3.549588) (xy 0.520359 3.535597) (xy 0.503433 3.52322)
(xy 0.488892 3.512559) (xy 0.476877 3.503715) (xy 0.467526 3.496791) (xy 0.46098 3.491887)
(xy 0.45738 3.489107) (xy 0.456685 3.488483) (xy 0.457287 3.486466) (xy 0.459057 3.48089)
(xy 0.461942 3.471922) (xy 0.465886 3.459726) (xy 0.470836 3.444467) (xy 0.476739 3.426311)
(xy 0.48354 3.405423) (xy 0.491186 3.381968) (xy 0.499622 3.356111) (xy 0.508795 3.328017)
(xy 0.51865 3.297851) (xy 0.529134 3.26578) (xy 0.540194 3.231966) (xy 0.551774 3.196577)
(xy 0.563822 3.159777) (xy 0.576282 3.121732) (xy 0.589102 3.082605) (xy 0.59735 3.057444)
(xy 0.610362 3.017739) (xy 0.623045 2.979021) (xy 0.635344 2.941454) (xy 0.647207 2.905202)
(xy 0.658579 2.87043) (xy 0.669407 2.837302) (xy 0.679637 2.805982) (xy 0.689216 2.776636)
(xy 0.69809 2.749428) (xy 0.706205 2.724522) (xy 0.713508 2.702083) (xy 0.719945 2.682275)
(xy 0.725462 2.665263) (xy 0.730006 2.651211) (xy 0.733522 2.640284) (xy 0.735959 2.632646)
(xy 0.737261 2.628463) (xy 0.737475 2.627674) (xy 0.735866 2.628748) (xy 0.731233 2.632033)
(xy 0.723714 2.637426) (xy 0.713451 2.644825) (xy 0.700581 2.654131) (xy 0.685245 2.66524)
(xy 0.667583 2.678052) (xy 0.647734 2.692465) (xy 0.625837 2.708378) (xy 0.602033 2.725688)
(xy 0.57646 2.744296) (xy 0.549259 2.764098) (xy 0.520569 2.784995) (xy 0.49053 2.806883)
(xy 0.459281 2.829662) (xy 0.426962 2.853231) (xy 0.393712 2.877487) (xy 0.371326 2.893823)
(xy 0.337518 2.918485) (xy 0.304532 2.942523) (xy 0.272509 2.965836) (xy 0.241589 2.988322)
(xy 0.211912 3.009881) (xy 0.18362 3.030409) (xy 0.156853 3.049806) (xy 0.131751 3.067971)
(xy 0.108454 3.084802) (xy 0.087105 3.100197) (xy 0.067842 3.114055) (xy 0.050807 3.126274)
(xy 0.03614 3.136754) (xy 0.023981 3.145392) (xy 0.014471 3.152087) (xy 0.007751 3.156738)
(xy 0.003962 3.159243) (xy 0.003135 3.159672) (xy 0.001335 3.158441) (xy -0.003489 3.155002)
(xy -0.011196 3.149458) (xy -0.021642 3.141911) (xy -0.034689 3.132465) (xy -0.050193 3.121222)
(xy -0.068014 3.108285) (xy -0.08801 3.093756) (xy -0.11004 3.077739) (xy -0.133963 3.060337)
(xy -0.159637 3.041651) (xy -0.186921 3.021786) (xy -0.215673 3.000842) (xy -0.245753 2.978925)
(xy -0.277019 2.956135) (xy -0.309329 2.932577) (xy -0.342543 2.908352) (xy -0.361696 2.894379)
(xy -0.395362 2.869818) (xy -0.428205 2.845859) (xy -0.460084 2.822607) (xy -0.490858 2.800164)
(xy -0.520385 2.778633) (xy -0.548524 2.758118) (xy -0.575132 2.738721) (xy -0.60007 2.720546)
(xy -0.623195 2.703694) (xy -0.644366 2.688271) (xy -0.663441 2.674378) (xy -0.680279 2.662119)
(xy -0.69474 2.651596) (xy -0.70668 2.642913) (xy -0.715959 2.636173) (xy -0.722436 2.631478)
(xy -0.725969 2.628933) (xy -0.72661 2.628484) (xy -0.728344 2.628064) (xy -0.728132 2.630502)
(xy -0.727825 2.631546) (xy -0.727089 2.633819) (xy -0.725189 2.639648) (xy -0.72218 2.648866)
(xy -0.718117 2.661307) (xy -0.713055 2.676802) (xy -0.707048 2.695184) (xy -0.70015 2.716287)
(xy -0.692418 2.739941) (xy -0.683904 2.765981) (xy -0.674665 2.794239) (xy -0.664755 2.824546)
(xy -0.654228 2.856737) (xy -0.64314 2.890643) (xy -0.631545 2.926096) (xy -0.619498 2.962931)
(xy -0.607053 3.000978) (xy -0.594265 3.040072) (xy -0.587301 3.061362) (xy -0.574368 3.100902)
(xy -0.561757 3.139462) (xy -0.549524 3.176877) (xy -0.537721 3.21298) (xy -0.526404 3.247606)
(xy -0.515627 3.280589) (xy -0.505442 3.311763) (xy -0.495906 3.340962) (xy -0.487071 3.368021)
(xy -0.478992 3.392774) (xy -0.471723 3.415054) (xy -0.465318 3.434696) (xy -0.459832 3.451534)
(xy -0.455318 3.465403) (xy -0.451831 3.476135) (xy -0.449425 3.483567) (xy -0.448153 3.487531)
(xy -0.447957 3.488173) (xy -0.449497 3.489458) (xy -0.454074 3.492935) (xy -0.461547 3.498503)
(xy -0.471776 3.506058) (xy -0.484621 3.515501) (xy -0.499943 3.526727) (xy -0.5176 3.539635)
(xy -0.537453 3.554124) (xy -0.559361 3.570091) (xy -0.583186 3.587433) (xy -0.608786 3.60605)
(xy -0.636021 3.625838) (xy -0.664751 3.646696) (xy -0.694837 3.668522) (xy -0.726138 3.691213)
(xy -0.758514 3.714668) (xy -0.791825 3.738785) (xy -0.812864 3.754009) (xy -0.846714 3.7785)
(xy -0.879734 3.802397) (xy -0.911785 3.825597) (xy -0.942724 3.847998) (xy -0.972411 3.869496)
(xy -1.000703 3.889991) (xy -1.027461 3.909379) (xy -1.052542 3.927557) (xy -1.075805 3.944424)
(xy -1.097109 3.959877) (xy -1.116313 3.973814) (xy -1.133276 3.986131) (xy -1.147855 3.996727)
(xy -1.15991 4.005499) (xy -1.1693 4.012345) (xy -1.175883 4.017162) (xy -1.179518 4.019848)
(xy -1.180228 4.020396) (xy -1.179408 4.020651) (xy -1.176353 4.02088) (xy -1.170964 4.021084)
(xy -1.163144 4.021263) (xy -1.152796 4.021417) (xy -1.139822 4.021547) (xy -1.124126 4.021652)
(xy -1.105609 4.021733) (xy -1.084175 4.02179) (xy -1.059726 4.021823) (xy -1.032164 4.021832)
(xy -1.001393 4.021818) (xy -0.967315 4.02178) (xy -0.929833 4.021719) (xy -0.888849 4.021634)
(xy -0.844265 4.021527) (xy -0.795986 4.021398) (xy -0.743913 4.021245) (xy -0.728558 4.021198)
(xy -0.274697 4.019799) (xy -0.267823 4.041175) (xy -0.254246 4.08339) (xy -0.240503 4.126095)
(xy -0.226649 4.16913) (xy -0.212734 4.212332) (xy -0.198812 4.255541) (xy -0.184934 4.298594)
(xy -0.171153 4.341332) (xy -0.15752 4.383591) (xy -0.144089 4.425211) (xy -0.13091 4.466031)
(xy -0.118037 4.505888) (xy -0.105522 4.544622) (xy -0.093416 4.582072) (xy -0.081772 4.618075)
(xy -0.070643 4.65247) (xy -0.06008 4.685096) (xy -0.050135 4.715792) (xy -0.040861 4.744396)
(xy -0.032311 4.770747) (xy -0.024535 4.794683) (xy -0.017587 4.816043) (xy -0.011518 4.834665)
(xy -0.006381 4.850389) (xy -0.002228 4.863053) (xy 0.000889 4.872494) (xy 0.002917 4.878553)
(xy 0.003805 4.881067) (xy 0.003836 4.881129)) (layer B.Mask) (width 0))
)
(module Unified-Daughterboard-Logo:Unified-Daughterboard-Name.pretty (layer B.Cu) (tedit 5E77EC35) (tstamp 0)
(at 75.0025 58.62 180)
(path /00000000-0000-0000-0000-00005e780029)
(clearance 0.508)
(fp_text reference G2 (at 0 0) (layer B.SilkS) hide
(effects (font (size 1.524 1.524) (thickness 0.3)) (justify mirror))
)
(fp_text value Unified-Daughterboard-Name (at 0.75 0) (layer B.SilkS) hide
(effects (font (size 1.524 1.524) (thickness 0.3)) (justify mirror))
)
(pad 1 smd custom (at -0.9 -0.79 180) (size 0.1 0.1) (layers B.Cu B.Mask)
(options (clearance outline) (anchor circle))
(primitives
(gr_poly (pts
(xy 0.894083 0.325546) (xy 0.541462 0.325546) (xy 0.502296 0.325545) (xy 0.465973 0.32554) (xy 0.432379 0.325531)
(xy 0.401399 0.325515) (xy 0.372919 0.325491) (xy 0.346825 0.325457) (xy 0.323001 0.325412) (xy 0.301333 0.325354)
(xy 0.281706 0.325282) (xy 0.264006 0.325194) (xy 0.248118 0.325088) (xy 0.233927 0.324964) (xy 0.22132 0.324818)
(xy 0.21018 0.324651) (xy 0.200394 0.324459) (xy 0.191847 0.324243) (xy 0.184424 0.323999) (xy 0.178011 0.323727)
(xy 0.172493 0.323425) (xy 0.167755 0.323092) (xy 0.163683 0.322725) (xy 0.160163 0.322323) (xy 0.157079 0.321885)
(xy 0.154316 0.321409) (xy 0.151761 0.320894) (xy 0.149299 0.320338) (xy 0.148591 0.320169) (xy 0.134767 0.315738)
(xy 0.122093 0.309466) (xy 0.111022 0.301664) (xy 0.102003 0.292642) (xy 0.096276 0.284226) (xy 0.09522 0.282323)
(xy 0.094258 0.280578) (xy 0.093385 0.278853) (xy 0.092597 0.277009) (xy 0.091889 0.274907) (xy 0.091257 0.272409)
(xy 0.090698 0.269377) (xy 0.090206 0.265671) (xy 0.089777 0.261153) (xy 0.089407 0.255685) (xy 0.089091 0.249127)
(xy 0.088825 0.241342) (xy 0.088606 0.232189) (xy 0.088427 0.221532) (xy 0.088286 0.209231) (xy 0.088177 0.195148)
(xy 0.088097 0.179143) (xy 0.088041 0.161079) (xy 0.088004 0.140816) (xy 0.087983 0.118217) (xy 0.087973 0.093142)
(xy 0.08797 0.065453) (xy 0.087968 0.035011) (xy 0.087967 0.019302) (xy 0.087962 -0.012397) (xy 0.087956 -0.041279)
(xy 0.087954 -0.067481) (xy 0.08796 -0.091143) (xy 0.087981 -0.112407) (xy 0.088019 -0.131409) (xy 0.088081 -0.148292)
(xy 0.08817 -0.163194) (xy 0.088293 -0.176254) (xy 0.088453 -0.187613) (xy 0.088655 -0.19741) (xy 0.088905 -0.205785)
(xy 0.089207 -0.212877) (xy 0.089566 -0.218826) (xy 0.089987 -0.223772) (xy 0.090474 -0.227854) (xy 0.091032 -0.231212)
(xy 0.091667 -0.233986) (xy 0.092383 -0.236315) (xy 0.093185 -0.238338) (xy 0.094077 -0.240196) (xy 0.095065 -0.242029)
(xy 0.096154 -0.243975) (xy 0.097122 -0.245749) (xy 0.104221 -0.256019) (xy 0.113823 -0.264855) (xy 0.125966 -0.272283)
(xy 0.140689 -0.27833) (xy 0.148215 -0.28062) (xy 0.162643 -0.284604) (xy 0.894083 -0.285396) (xy 0.894083 -0.41403)
(xy 0.526884 -0.413772) (xy 0.494046 -0.413747) (xy 0.461942 -0.413718) (xy 0.430703 -0.413687) (xy 0.400456 -0.413653)
(xy 0.37133 -0.413616) (xy 0.343454 -0.413577) (xy 0.316956 -0.413536) (xy 0.291966 -0.413493) (xy 0.268613 -0.413449)
(xy 0.247024 -0.413404) (xy 0.227328 -0.413358) (xy 0.209656 -0.413311) (xy 0.194134 -0.413263) (xy 0.180892 -0.413216)
(xy 0.170059 -0.413168) (xy 0.161763 -0.413121) (xy 0.156133 -0.413074) (xy 0.153298 -0.413029) (xy 0.153028 -0.413017)
(xy 0.121848 -0.409723) (xy 0.09296 -0.404651) (xy 0.066269 -0.397774) (xy 0.041682 -0.389062) (xy 0.019103 -0.378489)
(xy -0.000191 -0.366948) (xy -0.009353 -0.360104) (xy -0.019054 -0.351632) (xy -0.028538 -0.342284) (xy -0.037047 -0.332809)
(xy -0.043823 -0.323961) (xy -0.044427 -0.323062) (xy -0.055649 -0.303459) (xy -0.064639 -0.281934) (xy -0.071402 -0.25847)
(xy -0.072805 -0.252009) (xy -0.073144 -0.250229) (xy -0.073454 -0.248282) (xy -0.073735 -0.246032) (xy -0.073989 -0.243343)
(xy -0.074218 -0.240081) (xy -0.074422 -0.236108) (xy -0.074604 -0.231291) (xy -0.074764 -0.225492) (xy -0.074904 -0.218577)
(xy -0.075025 -0.21041) (xy -0.075129 -0.200854) (xy -0.075216 -0.189776) (xy -0.075289 -0.177038) (xy -0.075348 -0.162506)
(xy -0.075396 -0.146044) (xy -0.075432 -0.127516) (xy -0.075459 -0.106786) (xy -0.075478 -0.083719) (xy -0.075491 -0.058179)
(xy -0.075498 -0.030031) (xy -0.075501 0.000861) (xy -0.075501 0.278953) (xy -0.072189 0.293898) (xy -0.066762 0.314711)
(xy -0.060136 0.333172) (xy -0.052076 0.349726) (xy -0.042344 0.36482) (xy -0.030704 0.378898) (xy -0.022926 0.386832)
(xy -0.0073 0.400278) (xy 0.010114 0.412157) (xy 0.029459 0.422527) (xy 0.050879 0.431444) (xy 0.074518 0.438966)
(xy 0.100521 0.44515) (xy 0.129032 0.450053) (xy 0.139716 0.451488) (xy 0.142136 0.45169) (xy 0.146134 0.45188)
(xy 0.151784 0.452059) (xy 0.159167 0.452228) (xy 0.168358 0.452386) (xy 0.179434 0.452535) (xy 0.192475 0.452675)
(xy 0.207556 0.452805) (xy 0.224755 0.452928) (xy 0.24415 0.453042) (xy 0.265818 0.453149) (xy 0.289836 0.45325)
(xy 0.316282 0.453344) (xy 0.345233 0.453431) (xy 0.376767 0.453514) (xy 0.410961 0.453591) (xy 0.447892 0.453663)
(xy 0.487637 0.453732) (xy 0.523926 0.453788) (xy 0.894083 0.454326)) (width 0))
))
(pad 1 smd custom (at 0.52 -0.73 180) (size 0.1 0.1) (layers B.Cu B.Mask)
(options (clearance outline) (anchor circle))
(primitives
(gr_poly (pts
(xy 0.036814 0.394003) (xy 0.066889 0.393969) (xy 0.094232 0.393912) (xy 0.118817 0.393835) (xy 0.140617 0.393736)
(xy 0.159607 0.393616) (xy 0.175759 0.393475) (xy 0.189048 0.393313) (xy 0.199447 0.39313) (xy 0.206929 0.392927)
(xy 0.20996 0.392797) (xy 0.24124 0.39039) (xy 0.269999 0.386589) (xy 0.296342 0.38136) (xy 0.320374 0.374669)
(xy 0.342202 0.366479) (xy 0.361931 0.356757) (xy 0.379667 0.345468) (xy 0.395515 0.332578) (xy 0.396639 0.331537)
(xy 0.410142 0.316976) (xy 0.421412 0.300576) (xy 0.430475 0.282284) (xy 0.43736 0.262045) (xy 0.442093 0.239803)
(xy 0.442231 0.238921) (xy 0.442943 0.232475) (xy 0.443524 0.2236) (xy 0.443972 0.212784) (xy 0.44429 0.200519)
(xy 0.444476 0.187292) (xy 0.444531 0.173593) (xy 0.444456 0.159912) (xy 0.444252 0.146738) (xy 0.443917 0.134561)
(xy 0.443453 0.123868) (xy 0.442861 0.115151) (xy 0.442139 0.108898) (xy 0.442136 0.108879) (xy 0.437575 0.088735)
(xy 0.430735 0.070047) (xy 0.421759 0.052993) (xy 0.410787 0.03775) (xy 0.39796 0.024494) (xy 0.383421 0.013403)
(xy 0.36731 0.004652) (xy 0.355107 -0.000007) (xy 0.35037 -0.001668) (xy 0.34719 -0.003066) (xy 0.346162 -0.003934)
(xy 0.346233 -0.004003) (xy 0.348261 -0.004834) (xy 0.35215 -0.006203) (xy 0.355658 -0.007361) (xy 0.374014 -0.014706)
(xy 0.391868 -0.024655) (xy 0.408658 -0.036859) (xy 0.421513 -0.048579) (xy 0.430795 -0.058772) (xy 0.437945 -0.06865)
(xy 0.443513 -0.079144) (xy 0.448048 -0.091184) (xy 0.449481 -0.095893) (xy 0.450886 -0.101058) (xy 0.452092 -0.106308)
(xy 0.453111 -0.111896) (xy 0.453956 -0.118075) (xy 0.454638 -0.125097) (xy 0.45517 -0.133217) (xy 0.455565 -0.142686)
(xy 0.455834 -0.153757) (xy 0.45599 -0.166684) (xy 0.456045 -0.181718) (xy 0.456011 -0.199114) (xy 0.455901 -0.219124)
(xy 0.455845 -0.227015) (xy 0.455699 -0.246046) (xy 0.45555 -0.262402) (xy 0.45537 -0.276368) (xy 0.455134 -0.288225)
(xy 0.454815 -0.298257) (xy 0.454388 -0.306749) (xy 0.453827 -0.313983) (xy 0.453106 -0.320243) (xy 0.452198 -0.325813)
(xy 0.451078 -0.330975) (xy 0.44972 -0.336013) (xy 0.448098 -0.341211) (xy 0.446185 -0.346852) (xy 0.444385 -0.352)
(xy 0.436271 -0.370825) (xy 0.425675 -0.388126) (xy 0.412579 -0.40392) (xy 0.396964 -0.418223) (xy 0.37881 -0.431054)
(xy 0.358101 -0.442428) (xy 0.334816 -0.452364) (xy 0.33421 -0.452591) (xy 0.313456 -0.459297) (xy 0.29046 -0.464759)
(xy 0.265071 -0.469006) (xy 0.237137 -0.472068) (xy 0.231483 -0.472522) (xy 0.227444 -0.472711) (xy 0.220507 -0.472889)
(xy 0.210732 -0.473055) (xy 0.198179 -0.473209) (xy 0.182908 -0.47335) (xy 0.164979 -0.473479) (xy 0.144453 -0.473596)
(xy 0.12139 -0.473699) (xy 0.095849 -0.473788) (xy 0.067891 -0.473865) (xy 0.037575 -0.473927) (xy 0.004963 -0.473974)
(xy -0.029886 -0.474008) (xy -0.066911 -0.474026) (xy -0.095055 -0.47403) (xy -0.401699 -0.47403) (xy -0.401314 -0.410057)
(xy -0.400928 -0.346083) (xy -0.094004 -0.345344) (xy 0.21292 -0.344604) (xy 0.22752 -0.340576) (xy 0.243116 -0.335501)
(xy 0.256059 -0.329555) (xy 0.266565 -0.322593) (xy 0.27485 -0.314468) (xy 0.28113 -0.305037) (xy 0.281618 -0.304092)
(xy 0.283733 -0.299797) (xy 0.285505 -0.295814) (xy 0.286966 -0.291836) (xy 0.288151 -0.287554) (xy 0.289093 -0.28266)
(xy 0.289826 -0.276847) (xy 0.290384 -0.269806) (xy 0.290801 -0.26123) (xy 0.29111 -0.250811) (xy 0.291345 -0.238241)
(xy 0.29154 -0.223211) (xy 0.291656 -0.212506) (xy 0.291807 -0.193423) (xy 0.291838 -0.176815) (xy 0.291751 -0.162775)
(xy 0.291546 -0.151397) (xy 0.291226 -0.142773) (xy 0.290791 -0.136997) (xy 0.290709 -0.13633) (xy 0.287993 -0.123624)
(xy 0.283362 -0.112695) (xy 0.276633 -0.103349) (xy 0.267622 -0.095389) (xy 0.256147 -0.088622) (xy 0.242024 -0.082851)
(xy 0.239897 -0.082135) (xy 0.237084 -0.081192) (xy 0.234531 -0.080326) (xy 0.232109 -0.079533) (xy 0.229687 -0.07881)
(xy 0.227137 -0.078154) (xy 0.224328 -0.077561) (xy 0.22113 -0.077027) (xy 0.217414 -0.076549) (xy 0.21305 -0.076125)
(xy 0.207909 -0.075749) (xy 0.201859 -0.075419) (xy 0.194773 -0.075131) (xy 0.186519 -0.074882) (xy 0.176968 -0.074668)
(xy 0.165991 -0.074485) (xy 0.153457 -0.074332) (xy 0.139238 -0.074203) (xy 0.123202 -0.074095) (xy 0.10522 -0.074005)
(xy 0.085163 -0.07393) (xy 0.062901 -0.073865) (xy 0.038304 -0.073808) (xy 0.011242 -0.073755) (xy -0.018414 -0.073702)
(xy -0.050795 -0.073647) (xy -0.078859 -0.073598) (xy -0.36472 -0.073087) (xy -0.36395 0.054767) (xy 0.218836 0.056317)
(xy 0.231049 0.059589) (xy 0.243885 0.063686) (xy 0.254177 0.06852) (xy 0.2623 0.074348) (xy 0.268629 0.08143)
(xy 0.272661 0.088185) (xy 0.274618 0.092282) (xy 0.276214 0.096204) (xy 0.277483 0.100294) (xy 0.278455 0.104896)
(xy 0.279164 0.110352) (xy 0.279642 0.117006) (xy 0.279921 0.125202) (xy 0.280035 0.135283) (xy 0.280015 0.147592)
(xy 0.279893 0.162473) (xy 0.279873 0.164511) (xy 0.279698 0.179573) (xy 0.279478 0.192007) (xy 0.279165 0.20214)
(xy 0.278713 0.210304) (xy 0.278074 0.216826) (xy 0.277201 0.222038) (xy 0.276047 0.226267) (xy 0.274566 0.229844)
(xy 0.27271 0.233097) (xy 0.270432 0.236357) (xy 0.269417 0.237704) (xy 0.262986 0.244896) (xy 0.255535 0.250693)
(xy 0.246579 0.255351) (xy 0.235632 0.259124) (xy 0.22305 0.262101) (xy 0.221398 0.262406) (xy 0.219527 0.262687)
(xy 0.217312 0.262945) (xy 0.21463 0.263182) (xy 0.211358 0.263398) (xy 0.207372 0.263595) (xy 0.202549 0.263774)
(xy 0.196765 0.263937) (xy 0.189898 0.264083) (xy 0.181822 0.264216) (xy 0.172416 0.264335) (xy 0.161556 0.264442)
(xy 0.149117 0.264538) (xy 0.134977 0.264625) (xy 0.119012 0.264703) (xy 0.101099 0.264773) (xy 0.081114 0.264838)
(xy 0.058934 0.264898) (xy 0.034436 0.264954) (xy 0.007495 0.265008) (xy -0.022011 0.26506) (xy -0.054206 0.265112)
(xy -0.089214 0.265166) (xy -0.095869 0.265175) (xy -0.401699 0.265627) (xy -0.401314 0.32956) (xy -0.400928 0.393493)
(xy -0.110275 0.393927) (xy -0.069537 0.393978) (xy -0.031425 0.394008) (xy 0.004034 0.394017)) (width 0))
))
(pad 1 smd custom (at 2.15 1.08 180) (size 0.1 0.1) (layers B.Cu B.Mask)
(options (clearance outline) (anchor circle))
(primitives
(gr_poly (pts
(xy 0.324991 0.124007) (xy 0.368605 0.123999) (xy 0.410278 0.12398) (xy 0.449948 0.123952) (xy 0.487554 0.123913)
(xy 0.523033 0.123864) (xy 0.556324 0.123805) (xy 0.587364 0.123737) (xy 0.616092 0.12366) (xy 0.642445 0.123573)
(xy 0.666363 0.123478) (xy 0.687783 0.123374) (xy 0.706643 0.123262) (xy 0.722881 0.123141) (xy 0.736436 0.123012)
(xy 0.747246 0.122876) (xy 0.755247 0.122731) (xy 0.76038 0.12258) (xy 0.761711 0.122511) (xy 0.794505 0.119594)
(xy 0.824732 0.115348) (xy 0.852488 0.109741) (xy 0.877866 0.102741) (xy 0.900958 0.094314) (xy 0.92186 0.084428)
(xy 0.940664 0.073051) (xy 0.957464 0.06015) (xy 0.967359 0.050927) (xy 0.978668 0.03844) (xy 0.98853 0.025063)
(xy 0.99709 0.010475) (xy 1.004491 -0.005648) (xy 1.010876 -0.023626) (xy 1.016388 -0.043784) (xy 1.02117 -0.066444)
(xy 1.022297 -0.072698) (xy 1.022638 -0.074879) (xy 1.022949 -0.077425) (xy 1.02323 -0.080485) (xy 1.023484 -0.084209)
(xy 1.023713 -0.088745) (xy 1.023919 -0.094244) (xy 1.024104 -0.100855) (xy 1.02427 -0.108727) (xy 1.024418 -0.11801)
(xy 1.024552 -0.128854) (xy 1.024672 -0.141407) (xy 1.024782 -0.15582) (xy 1.024882 -0.172242) (xy 1.024976 -0.190822)
(xy 1.025064 -0.21171) (xy 1.025149 -0.235055) (xy 1.025233 -0.261007) (xy 1.025318 -0.289715) (xy 1.025349 -0.300487)
(xy 1.025433 -0.333739) (xy 1.025492 -0.364116) (xy 1.025524 -0.391701) (xy 1.025529 -0.416576) (xy 1.025508 -0.438826)
(xy 1.025458 -0.458533) (xy 1.025381 -0.47578) (xy 1.025275 -0.49065) (xy 1.025141 -0.503226) (xy 1.024977 -0.513591)
(xy 1.024784 -0.521829) (xy 1.024561 -0.528022) (xy 1.024308 -0.532253) (xy 1.024268 -0.532714) (xy 1.020814 -0.560023)
(xy 1.015577 -0.585016) (xy 1.008478 -0.6078) (xy 0.999436 -0.628476) (xy 0.988374 -0.64715) (xy 0.97521 -0.663926)
(xy 0.959866 -0.678908) (xy 0.942262 -0.692199) (xy 0.922318 -0.703905) (xy 0.899954 -0.714129) (xy 0.880066 -0.721378)
(xy 0.860175 -0.727264) (xy 0.839122 -0.732172) (xy 0.816538 -0.736161) (xy 0.792054 -0.739291) (xy 0.7653 -0.74162)
(xy 0.746919 -0.742712) (xy 0.742311 -0.742866) (xy 0.734822 -0.743013) (xy 0.72453 -0.743153) (xy 0.711511 -0.743285)
(xy 0.695844 -0.74341) (xy 0.677605 -0.743527) (xy 0.656872 -0.743635) (xy 0.633723 -0.743735) (xy 0.608234 -0.743827)
(xy 0.580483 -0.743909) (xy 0.550548 -0.743982) (xy 0.518505 -0.744046) (xy 0.484433 -0.744099) (xy 0.448409 -0.744143)
(xy 0.410509 -0.744176) (xy 0.370812 -0.744199) (xy 0.329394 -0.744211) (xy 0.313898 -0.744212) (xy -0.089541 -0.744233)
(xy -0.089541 -0.615547) (xy 0.074645 -0.615547) (xy 0.39673 -0.615534) (xy 0.435225 -0.615525) (xy 0.471786 -0.615502)
(xy 0.506343 -0.615466) (xy 0.538823 -0.615417) (xy 0.569156 -0.615355) (xy 0.597269 -0.61528) (xy 0.623091 -0.615192)
(xy 0.646549 -0.615093) (xy 0.667574 -0.614982) (xy 0.686092 -0.61486) (xy 0.702033 -0.614726) (xy 0.715324 -0.614582)
(xy 0.725895 -0.614428) (xy 0.733673 -0.614263) (xy 0.738586 -0.614088) (xy 0.739524 -0.614032) (xy 0.760224 -0.612057)
(xy 0.778308 -0.609255) (xy 0.794019 -0.605547) (xy 0.807602 -0.600851) (xy 0.819304 -0.595087) (xy 0.829369 -0.588175)
(xy 0.835723 -0.582459) (xy 0.843457 -0.573443) (xy 0.849523 -0.56337) (xy 0.854239 -0.551617) (xy 0.857544 -0.539296)
(xy 0.860814 -0.524579) (xy 0.860814 -0.098583) (xy 0.857536 -0.083791) (xy 0.852863 -0.067553) (xy 0.84653 -0.053656)
(xy 0.838456 -0.041941) (xy 0.833165 -0.036295) (xy 0.825753 -0.029682) (xy 0.81868 -0.024594) (xy 0.810985 -0.020469)
(xy 0.801711 -0.016743) (xy 0.79721 -0.015194) (xy 0.794132 -0.014149) (xy 0.791341 -0.013182) (xy 0.78872 -0.012289)
(xy 0.786151 -0.011468) (xy 0.783516 -0.010715) (xy 0.780697 -0.010027) (xy 0.777575 -0.009401) (xy 0.774032 -0.008835)
(xy 0.769951 -0.008324) (xy 0.765214 -0.007865) (xy 0.759702 -0.007457) (xy 0.753297 -0.007094) (xy 0.745882 -0.006775)
(xy 0.737338 -0.006496) (xy 0.727547 -0.006255) (xy 0.716391 -0.006047) (xy 0.703752 -0.00587) (xy 0.689512 -0.00572)
(xy 0.673554 -0.005595) (xy 0.655758 -0.005492) (xy 0.636007 -0.005407) (xy 0.614183 -0.005337) (xy 0.590167 -0.005279)
(xy 0.563843 -0.00523) (xy 0.535091 -0.005186) (xy 0.503793 -0.005146) (xy 0.469832 -0.005104) (xy 0.43309 -0.00506)
(xy 0.41374 -0.005035) (xy 0.074645 -0.004595) (xy 0.074645 -0.615547) (xy -0.089541 -0.615547) (xy -0.089541 0.124029)
) (width 0))
))
(pad 1 smd custom (at 1.12 1.09 180) (size 0.1 0.1) (layers B.Cu B.Mask)
(options (clearance outline) (anchor circle))
(primitives
(gr_poly (pts
(xy 0.801419 -0.014657) (xy 0.072197 -0.014657) (xy 0.072197 -0.230613) (xy 0.76444 -0.230613) (xy 0.76444 -0.359299)
(xy 0.072181 -0.359299) (xy 0.072558 -0.492053) (xy 0.072936 -0.624807) (xy 0.437177 -0.62518) (xy 0.801419 -0.625552)
(xy 0.801419 -0.754233) (xy 0.355701 -0.754233) (xy 0.319573 -0.75423) (xy 0.284211 -0.75422) (xy 0.24973 -0.754204)
(xy 0.216242 -0.754183) (xy 0.183864 -0.754156) (xy 0.152708 -0.754124) (xy 0.122891 -0.754087) (xy 0.094525 -0.754045)
(xy 0.067726 -0.753998) (xy 0.042608 -0.753947) (xy 0.019286 -0.753893) (xy -0.002127 -0.753834) (xy -0.021516 -0.753772)
(xy -0.038766 -0.753707) (xy -0.053764 -0.753638) (xy -0.066393 -0.753567) (xy -0.076541 -0.753493) (xy -0.084093 -0.753417)
(xy -0.088934 -0.75334) (xy -0.09095 -0.75326) (xy -0.091003 -0.753247) (xy -0.091084 -0.751705) (xy -0.091164 -0.747321)
(xy -0.091241 -0.740211) (xy -0.091316 -0.730491) (xy -0.091388 -0.718277) (xy -0.091458 -0.703685) (xy -0.091524 -0.686831)
(xy -0.091588 -0.667831) (xy -0.091647 -0.646802) (xy -0.091703 -0.623859) (xy -0.091755 -0.599118) (xy -0.091802 -0.572696)
(xy -0.091844 -0.544709) (xy -0.091882 -0.515272) (xy -0.091914 -0.484502) (xy -0.091941 -0.452515) (xy -0.091963 -0.419426)
(xy -0.091978 -0.385353) (xy -0.091987 -0.350411) (xy -0.091989 -0.319116) (xy -0.091989 0.114029) (xy 0.801419 0.114029)
) (width 0))
))
(pad 1 smd custom (at 0.78 0.91 180) (size 0.1 0.1) (layers B.Cu B.Mask)
(options (clearance outline) (anchor circle))
(primitives
(gr_poly (pts
(xy 0.082346 -0.574233) (xy -0.08184 -0.574233) (xy -0.08184 0.294029) (xy 0.082346 0.294029)) (width 0))
))
(pad 1 smd custom (at -0.21 1.11 180) (size 0.1 0.1) (layers B.Cu B.Mask)
(options (clearance outline) (anchor circle))
(primitives
(gr_poly (pts
(xy 0.813494 -0.034657) (xy 0.085751 -0.034657) (xy 0.085751 -0.287592) (xy 0.764682 -0.287592) (xy 0.764682 -0.416278)
(xy 0.085763 -0.416278) (xy 0.085387 -0.594886) (xy 0.085012 -0.773493) (xy 0.003288 -0.773876) (xy -0.078435 -0.774258)
(xy -0.078435 0.094029) (xy 0.813494 0.094029)) (width 0))
))
(pad 1 smd custom (at -0.54 1.02 180) (size 0.1 0.1) (layers B.Cu B.Mask)
(options (clearance outline) (anchor circle))
(primitives
(gr_poly (pts
(xy 0.084421 -0.684233) (xy 0.003314 -0.684233) (xy -0.011904 -0.684215) (xy -0.026228 -0.684165) (xy -0.039385 -0.684085)
(xy -0.051103 -0.683979) (xy -0.061112 -0.68385) (xy -0.069138 -0.683701) (xy -0.07491 -0.683536) (xy -0.078157 -0.683357)
(xy -0.078779 -0.683247) (xy -0.07886 -0.681705) (xy -0.078939 -0.677321) (xy -0.079016 -0.670211) (xy -0.079091 -0.660491)
(xy -0.079164 -0.648277) (xy -0.079233 -0.633685) (xy -0.0793 -0.616831) (xy -0.079363 -0.597831) (xy -0.079423 -0.576802)
(xy -0.079478 -0.553859) (xy -0.07953 -0.529118) (xy -0.079577 -0.502696) (xy -0.07962 -0.474709) (xy -0.079657 -0.445272)
(xy -0.07969 -0.414502) (xy -0.079717 -0.382515) (xy -0.079738 -0.349426) (xy -0.079753 -0.315353) (xy -0.079762 -0.280411)
(xy -0.079765 -0.249116) (xy -0.079765 0.184029) (xy 0.084421 0.184029)) (width 0))
))
(pad 1 smd custom (at -1.86 1.08 180) (size 0.1 0.1) (layers B.Cu B.Mask)
(options (clearance outline) (anchor circle))
(primitives
(gr_poly (pts
(xy 1.07457 -0.744233) (xy 0.994882 -0.744233) (xy 0.725953 -0.548012) (xy 0.697516 -0.527263) (xy 0.667905 -0.505658)
(xy 0.637358 -0.483369) (xy 0.606113 -0.460572) (xy 0.574407 -0.437438) (xy 0.54248 -0.414142) (xy 0.510567 -0.390857)
(xy 0.478909 -0.367758) (xy 0.447742 -0.345017) (xy 0.417304 -0.322808) (xy 0.387834 -0.301305) (xy 0.359569 -0.280681)
(xy 0.332747 -0.26111) (xy 0.307606 -0.242766) (xy 0.284385 -0.225822) (xy 0.26375 -0.210765) (xy 0.242443 -0.195223)
(xy 0.221784 -0.18016) (xy 0.201899 -0.165668) (xy 0.182913 -0.15184) (xy 0.164954 -0.138767) (xy 0.148149 -0.126541)
(xy 0.132622 -0.115254) (xy 0.118502 -0.104998) (xy 0.105914 -0.095864) (xy 0.094985 -0.087945) (xy 0.085842 -0.081333)
(xy 0.07861 -0.076119) (xy 0.073417 -0.072395) (xy 0.070388 -0.070253) (xy 0.069611 -0.069739) (xy 0.069531 -0.071197)
(xy 0.069452 -0.075481) (xy 0.069376 -0.082462) (xy 0.069303 -0.092007) (xy 0.069233 -0.103986) (xy 0.069166 -0.118268)
(xy 0.069102 -0.134721) (xy 0.069043 -0.153214) (xy 0.068988 -0.173616) (xy 0.068938 -0.195796) (xy 0.068893 -0.219624)
(xy 0.068854 -0.244966) (xy 0.06882 -0.271694) (xy 0.068792 -0.299675) (xy 0.06877 -0.328777) (xy 0.068756 -0.358871)
(xy 0.068748 -0.389825) (xy 0.068747 -0.406986) (xy 0.068747 -0.744233) (xy -0.074731 -0.744233) (xy -0.074731 0.124029)
(xy 0.068007 0.123947) (xy 0.49918 -0.197759) (xy 0.930353 -0.519464) (xy 0.930726 -0.197717) (xy 0.931099 0.124029)
(xy 1.07457 0.124029)) (width 0))
))
(pad 1 smd custom (at -3.1 0.8 180) (size 0.1 0.1) (layers B.Cu B.Mask)
(options (clearance outline) (anchor circle))
(primitives
(gr_poly (pts
(xy 0.089951 0.069371) (xy 0.089952 0.031594) (xy 0.089952 -0.003341) (xy 0.089953 -0.035549) (xy 0.089959 -0.065147)
(xy 0.089972 -0.092251) (xy 0.089995 -0.116977) (xy 0.09003 -0.13944) (xy 0.090082 -0.159757) (xy 0.090152 -0.178044)
(xy 0.090244 -0.194417) (xy 0.09036 -0.208991) (xy 0.090503 -0.221883) (xy 0.090677 -0.233209) (xy 0.090884 -0.243085)
(xy 0.091127 -0.251626) (xy 0.091408 -0.258949) (xy 0.091732 -0.26517) (xy 0.0921 -0.270405) (xy 0.092515 -0.274769)
(xy 0.092981 -0.278379) (xy 0.0935 -0.281351) (xy 0.094075 -0.283801) (xy 0.094709 -0.285845) (xy 0.095405 -0.287598)
(xy 0.096166 -0.289178) (xy 0.096994 -0.290699) (xy 0.097893 -0.292277) (xy 0.098866 -0.29403) (xy 0.098977 -0.294237)
(xy 0.106317 -0.305001) (xy 0.115997 -0.314107) (xy 0.128049 -0.321571) (xy 0.142509 -0.327411) (xy 0.159412 -0.331646)
(xy 0.17591 -0.334016) (xy 0.179246 -0.334204) (xy 0.185359 -0.33438) (xy 0.194065 -0.334544) (xy 0.205185 -0.334696)
(xy 0.218535 -0.334836) (xy 0.233933 -0.334964) (xy 0.251199 -0.335081) (xy 0.270149 -0.335185) (xy 0.290601 -0.335278)
(xy 0.312375 -0.335358) (xy 0.335288 -0.335427) (xy 0.359158 -0.335484) (xy 0.383803 -0.335529) (xy 0.409041 -0.335562)
(xy 0.434691 -0.335583) (xy 0.46057 -0.335592) (xy 0.486496 -0.335589) (xy 0.512288 -0.335574) (xy 0.537763 -0.335548)
(xy 0.56274 -0.335509) (xy 0.587037 -0.335459) (xy 0.610471 -0.335397) (xy 0.632862 -0.335322) (xy 0.654026 -0.335236)
(xy 0.673782 -0.335138) (xy 0.691949 -0.335028) (xy 0.708343 -0.334906) (xy 0.722784 -0.334772) (xy 0.735089 -0.334626)
(xy 0.745076 -0.334468) (xy 0.752564 -0.334299) (xy 0.757371 -0.334117) (xy 0.758715 -0.334021) (xy 0.777734 -0.331215)
(xy 0.794289 -0.326811) (xy 0.808426 -0.320781) (xy 0.820189 -0.313093) (xy 0.829625 -0.303717) (xy 0.836778 -0.292623)
(xy 0.841693 -0.279782) (xy 0.842026 -0.278547) (xy 0.842279 -0.277334) (xy 0.842513 -0.275636) (xy 0.842728 -0.273342)
(xy 0.842926 -0.270338) (xy 0.843106 -0.266511) (xy 0.84327 -0.261748) (xy 0.843419 -0.255935) (xy 0.843553 -0.24896)
(xy 0.843673 -0.240709) (xy 0.84378 -0.231069) (xy 0.843874 -0.219928) (xy 0.843956 -0.207172) (xy 0.844027 -0.192687)
(xy 0.844088 -0.176361) (xy 0.844139 -0.15808) (xy 0.844182 -0.137732) (xy 0.844216 -0.115203) (xy 0.844243 -0.090381)
(xy 0.844263 -0.063151) (xy 0.844278 -0.033401) (xy 0.844287 -0.001018) (xy 0.844292 0.034112) (xy 0.844293 0.067094)
(xy 0.844293 0.404029) (xy 1.010053 0.404029) (xy 1.009556 0.059017) (xy 1.009502 0.020589) (xy 1.009454 -0.015001)
(xy 1.009408 -0.047871) (xy 1.009362 -0.078142) (xy 1.009313 -0.105933) (xy 1.009257 -0.131363) (xy 1.009192 -0.154552)
(xy 1.009113 -0.175619) (xy 1.00902 -0.194684) (xy 1.008908 -0.211867) (xy 1.008774 -0.227287) (xy 1.008615 -0.241063)
(xy 1.008429 -0.253315) (xy 1.008212 -0.264163) (xy 1.007962 -0.273726) (xy 1.007675 -0.282124) (xy 1.007348 -0.289476)
(xy 1.006978 -0.295902) (xy 1.006562 -0.301521) (xy 1.006098 -0.306452) (xy 1.005582 -0.310816) (xy 1.005011 -0.314732)
(xy 1.004382 -0.31832) (xy 1.003692 -0.321698) (xy 1.002938 -0.324986) (xy 1.002118 -0.328305) (xy 1.001227 -0.331773)
(xy 1.000264 -0.33551) (xy 0.999505 -0.338505) (xy 0.992987 -0.358905) (xy 0.984093 -0.377575) (xy 0.97288 -0.394443)
(xy 0.959403 -0.409438) (xy 0.943719 -0.42249) (xy 0.925882 -0.433527) (xy 0.924506 -0.434247) (xy 0.910155 -0.441169)
(xy 0.895924 -0.44693) (xy 0.88132 -0.451648) (xy 0.865846 -0.455443) (xy 0.849006 -0.458433) (xy 0.830305 -0.460737)
(xy 0.809248 -0.462474) (xy 0.805835 -0.462694) (xy 0.801797 -0.462851) (xy 0.794977 -0.462998) (xy 0.785549 -0.463134)
(xy 0.773691 -0.463261) (xy 0.759577 -0.463378) (xy 0.743383 -0.463485) (xy 0.725286 -0.463582) (xy 0.70546 -0.463669)
(xy 0.684081 -0.463747) (xy 0.661326 -0.463814) (xy 0.637369 -0.463872) (xy 0.612387 -0.46392) (xy 0.586556 -0.463959)
(xy 0.56005 -0.463987) (xy 0.533046 -0.464006) (xy 0.505719 -0.464015) (xy 0.478246 -0.464015) (xy 0.450801 -0.464005)
(xy 0.423561 -0.463985) (xy 0.396701 -0.463956) (xy 0.370397 -0.463917) (xy 0.344824 -0.463869) (xy 0.32016 -0.463811)
(xy 0.296578 -0.463744) (xy 0.274255 -0.463667) (xy 0.253366 -0.463581) (xy 0.234088 -0.463485) (xy 0.216596 -0.46338)
(xy 0.201065 -0.463265) (xy 0.187672 -0.463141) (xy 0.176592 -0.463008) (xy 0.168001 -0.462866) (xy 0.162074 -0.462714)
(xy 0.159766 -0.462612) (xy 0.130734 -0.460065) (xy 0.103987 -0.456031) (xy 0.079213 -0.450434) (xy 0.056097 -0.4432)
(xy 0.034325 -0.434254) (xy 0.027473 -0.430958) (xy 0.010583 -0.421761) (xy -0.003985 -0.412081) (xy -0.01687 -0.401474)
(xy -0.022834 -0.39573) (xy -0.036916 -0.379497) (xy -0.048721 -0.361574) (xy -0.058291 -0.341867) (xy -0.065671 -0.320281)
(xy -0.070903 -0.296724) (xy -0.072005 -0.289648) (xy -0.072252 -0.287609) (xy -0.07248 -0.285022) (xy -0.07269 -0.281773)
(xy -0.072883 -0.277748) (xy -0.07306 -0.272833) (xy -0.07322 -0.266916) (xy -0.073366 -0.259882) (xy -0.073498 -0.251618)
(xy -0.073615 -0.242011) (xy -0.07372 -0.230945) (xy -0.073813 -0.218309) (xy -0.073894 -0.203987) (xy -0.073965 -0.187867)
(xy -0.074025 -0.169835) (xy -0.074076 -0.149778) (xy -0.074119 -0.12758) (xy -0.074153 -0.10313) (xy -0.074181 -0.076313)
(xy -0.074202 -0.047016) (xy -0.074217 -0.015124) (xy -0.074227 0.019475) (xy -0.074233 0.056895) (xy -0.074233 0.064934)
(xy -0.07426 0.404029) (xy 0.089925 0.404029)) (width 0))
))
)
(module acheron_Components:USON-10_2.5x1.0mm_P0.5mm (layer F.Cu) (tedit 5E77E520) (tstamp 0)
(at 75.0025 66.0264 90)
(descr "USON-10 2.5x1.0mm_ Pitch 0.5mm http://www.ti.com/lit/ds/symlink/tpd4e02b04.pdf")
(tags "USON-10 2.5x1.0mm Pitch 0.5mm")
(path /00000000-0000-0000-0000-00005e787d68)
(attr smd)
(fp_text reference U1 (at 0 1.7272 90) (layer F.SilkS)
(effects (font (size 0.6 0.6) (thickness 0.15)))
)
(fp_text value TPD4E05U06DQAR (at 0.8024 0 180) (layer F.Fab)
(effects (font (size 0.254 0.254) (thickness 0.0635)))
)
(fp_line (start -0.25 -1.25) (end -0.5 -1) (layer F.Fab) (width 0.1))
(fp_text user ${REFERENCE} (at 0 0 180) (layer F.Fab)
(effects (font (size 0.55 0.55) (thickness 0.1)))
)
(fp_line (start -0.91 -1.5) (end 0.91 -1.5) (layer F.CrtYd) (width 0.05))
(fp_line (start -0.91 1.5) (end -0.91 -1.5) (layer F.CrtYd) (width 0.05))
(fp_line (start 0.91 1.5) (end -0.91 1.5) (layer F.CrtYd) (width 0.05))
(fp_line (start 0.91 -1.5) (end 0.91 1.5) (layer F.CrtYd) (width 0.05))
(fp_line (start -0.5 1.25) (end 0.5 1.25) (layer F.Fab) (width 0.1))
(fp_line (start -0.5 -1) (end -0.5 1.25) (layer F.Fab) (width 0.1))
(fp_line (start 0.5 -1.25) (end -0.25 -1.25) (layer F.Fab) (width 0.1))
(fp_line (start 0.5 -1.25) (end 0.5 1.25) (layer F.Fab) (width 0.1))
(fp_circle (center -0.4 -1.5) (end -0.4 -1.5) (layer F.SilkS) (width 0.4))
(pad 1 smd roundrect (at -0.385 -1) (size 0.25 0.55) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.5)
(net 6 DA+))
(pad 2 smd rect (at -0.385 -0.5) (size 0.25 0.55) (layers F.Cu F.Paste F.Mask)
(net 9 DA-))
(pad 3 smd rect (at -0.385 0) (size 0.3 0.55) (layers F.Cu F.Paste F.Mask)
(net 3 GNDPWR))
(pad 4 smd rect (at -0.385 0.5) (size 0.25 0.55) (layers F.Cu F.Paste F.Mask)
(net 6 DA+))
(pad 5 smd rect (at -0.385 1) (size 0.25 0.55) (layers F.Cu F.Paste F.Mask)
(net 9 DA-))
(pad 9 smd rect (at 0.385 -0.5) (size 0.25 0.55) (layers F.Cu F.Paste F.Mask)
(net 9 DA-))
(pad 6 smd rect (at 0.385 1) (size 0.25 0.55) (layers F.Cu F.Paste F.Mask)
(net 9 DA-))
(pad 7 smd rect (at 0.385 0.5) (size 0.25 0.55) (layers F.Cu F.Paste F.Mask)
(net 6 DA+))
(pad 10 smd rect (at 0.385 -1) (size 0.25 0.55) (layers F.Cu F.Paste F.Mask)
(net 6 DA+))
(pad 8 smd rect (at 0.385 0) (size 0.3 0.55) (layers F.Cu F.Paste F.Mask)
(net 3 GNDPWR))
(model ${KISYS3DMOD}/Package_SON.3dshapes/USON-10_2.5x1.0mm_P0.5mm.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module Inductor_SMD:L_1206_3216Metric (layer F.Cu) (tedit 5B301BBE) (tstamp 0)
(at 81.9875 65.874 90)
(descr "Inductor SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
(tags inductor)
(path /00000000-0000-0000-0000-00005e78ff8f)
(attr smd)
(fp_text reference L1 (at 2.936 0 180) (layer F.SilkS)
(effects (font (size 0.762 0.762) (thickness 0.1524)))
)
(fp_text value 60R@100MHz (at 0.015 1.27 90) (layer F.Fab)
(effects (font (size 0.508 0.508) (thickness 0.0508)))
)
(fp_text user ${REFERENCE} (at 0 0 90) (layer F.Fab)
(effects (font (size 0.8 0.8) (thickness 0.12)))
)
(fp_line (start 2.28 1.12) (end -2.28 1.12) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.28 -1.12) (end 2.28 1.12) (layer F.CrtYd) (width 0.05))
(fp_line (start -2.28 -1.12) (end 2.28 -1.12) (layer F.CrtYd) (width 0.05))
(fp_line (start -2.28 1.12) (end -2.28 -1.12) (layer F.CrtYd) (width 0.05))
(fp_line (start -0.602064 0.91) (end 0.602064 0.91) (layer F.SilkS) (width 0.12))
(fp_line (start -0.602064 -0.91) (end 0.602064 -0.91) (layer F.SilkS) (width 0.12))
(fp_line (start 1.6 0.8) (end -1.6 0.8) (layer F.Fab) (width 0.1))
(fp_line (start 1.6 -0.8) (end 1.6 0.8) (layer F.Fab) (width 0.1))
(fp_line (start -1.6 -0.8) (end 1.6 -0.8) (layer F.Fab) (width 0.1))
(fp_line (start -1.6 0.8) (end -1.6 -0.8) (layer F.Fab) (width 0.1))
(pad 2 smd roundrect (at 1.4 0 90) (size 1.25 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2)
(net 3 GNDPWR))
(pad 1 smd roundrect (at -1.4 0 90) (size 1.25 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2)
(net 1 GND))
(model ${KISYS3DMOD}/Inductor_SMD.3dshapes/L_1206_3216Metric.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module Resistors_SMD:R_0603 (layer F.Cu) (tedit 58E0A804) (tstamp 0)
(at 71.9545 67.129 270)
(descr "Resistor SMD 0603, reflow soldering, Vishay (see dcrcw.pdf)")
(tags "resistor 0603")
(path /00000000-0000-0000-0000-00005c91b0d9)
(attr smd)
(fp_text reference R2 (at -1.651 0.254 180) (layer F.SilkS)
(effects (font (size 0.5842 0.5842) (thickness 0.127)))
)
(fp_text value 5.1k (at 1.778 -0.127) (layer F.Fab)
(effects (font (size 0.508 0.508) (thickness 0.127)))
)
(fp_line (start 1.25 0.7) (end -1.25 0.7) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.25 0.7) (end 1.25 -0.7) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.25 -0.7) (end -1.25 0.7) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.25 -0.7) (end 1.25 -0.7) (layer F.CrtYd) (width 0.05))
(fp_line (start -0.5 -0.68) (end 0.5 -0.68) (layer F.SilkS) (width 0.12))
(fp_line (start 0.5 0.68) (end -0.5 0.68) (layer F.SilkS) (width 0.12))
(fp_line (start -0.8 -0.4) (end 0.8 -0.4) (layer F.Fab) (width 0.1))
(fp_line (start 0.8 -0.4) (end 0.8 0.4) (layer F.Fab) (width 0.1))
(fp_line (start 0.8 0.4) (end -0.8 0.4) (layer F.Fab) (width 0.1))
(fp_line (start -0.8 0.4) (end -0.8 -0.4) (layer F.Fab) (width 0.1))
(fp_text user ${REFERENCE} (at 0 0 270) (layer F.Fab)
(effects (font (size 0.4 0.4) (thickness 0.075)))
)
(pad 1 smd rect (at -0.75 0 270) (size 0.5 0.9) (layers F.Cu F.Paste F.Mask)
(net 7 "Net-(J1-PadB5)"))
(pad 2 smd rect (at 0.75 0 270) (size 0.5 0.9) (layers F.Cu F.Paste F.Mask)
(net 3 GNDPWR))
(model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0603_1608Metric.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module Fuse:Fuse_1206_3216Metric (layer F.Cu) (tedit 5B301BBE) (tstamp 0)
(at 67.8905 63.207 270)
(descr "Fuse SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator")
(tags resistor)
(path /00000000-0000-0000-0000-00005e78a38e)
(attr smd)
(fp_text reference F1 (at 0 0) (layer F.SilkS)
(effects (font (size 0.635 0.635) (thickness 0.127)))
)
(fp_text value ASMD1206-150 (at -0.015 1.143 90) (layer F.Fab)
(effects (font (size 0.254 0.254) (thickness 0.0635)))
)
(fp_text user ${REFERENCE} (at 0 0 90) (layer F.Fab)
(effects (font (size 0.8 0.8) (thickness 0.12)))
)
(fp_line (start 2.28 1.12) (end -2.28 1.12) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.28 -1.12) (end 2.28 1.12) (layer F.CrtYd) (width 0.05))
(fp_line (start -2.28 -1.12) (end 2.28 -1.12) (layer F.CrtYd) (width 0.05))
(fp_line (start -2.28 1.12) (end -2.28 -1.12) (layer F.CrtYd) (width 0.05))
(fp_line (start -0.602064 0.91) (end 0.602064 0.91) (layer F.SilkS) (width 0.12))
(fp_line (start -0.602064 -0.91) (end 0.602064 -0.91) (layer F.SilkS) (width 0.12))
(fp_line (start 1.6 0.8) (end -1.6 0.8) (layer F.Fab) (width 0.1))
(fp_line (start 1.6 -0.8) (end 1.6 0.8) (layer F.Fab) (width 0.1))
(fp_line (start -1.6 -0.8) (end 1.6 -0.8) (layer F.Fab) (width 0.1))
(fp_line (start -1.6 0.8) (end -1.6 -0.8) (layer F.Fab) (width 0.1))
(pad 2 smd roundrect (at 1.4 0 270) (size 1.25 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2)
(net 2 VCC))
(pad 1 smd roundrect (at -1.4 0 270) (size 1.25 1.75) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.2)
(net 10 VBUS))
(model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_1206_3216Metric.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module acheron_Components:D_SOD-123_Bidirectional (layer F.Cu) (tedit 5DCC5082) (tstamp 0)
(at 68.6525 66.89 180)
(descr SOD-123)
(tags SOD-123)
(path /00000000-0000-0000-0000-00005e18209e)
(attr smd)
(fp_text reference D1 (at 0 -1.651 180) (layer F.SilkS)
(effects (font (size 0.8 0.8) (thickness 0.2)))
)
(fp_text value SMF9.0CA (at 0 -1.509) (layer F.Fab)
(effects (font (size 0.5 0.5) (thickness 0.125)))
)
(fp_line (start -2.35 -1.15) (end -1.4 -1.15) (layer F.SilkS) (width 0.1016))
(fp_line (start -2.35 1.15) (end -1.4 1.15) (layer F.SilkS) (width 0.1016))
(fp_line (start -2.35 1.15) (end -2.35 -1.15) (layer F.SilkS) (width 0.1016))
(fp_line (start 2.35 -1.15) (end 1.4 -1.15) (layer F.SilkS) (width 0.1016))
(fp_line (start 2.35 1.15) (end 1.4 1.15) (layer F.SilkS) (width 0.1016))
(fp_line (start 2.35 -1.15) (end 2.35 1.15) (layer F.SilkS) (width 0.1016))
(fp_text user ${REFERENCE} (at 0 -1.397) (layer F.Fab)
(effects (font (size 0.5 0.5) (thickness 0.125)))
)
(fp_line (start 0.25 0) (end 0.75 0) (layer F.Fab) (width 0.1))
(fp_line (start 0.25 0.4) (end -0.35 0) (layer F.Fab) (width 0.1))
(fp_line (start 0.25 -0.4) (end 0.25 0.4) (layer F.Fab) (width 0.1))
(fp_line (start -0.35 0) (end 0.25 -0.4) (layer F.Fab) (width 0.1))
(fp_line (start -0.35 0) (end -0.35 0.55) (layer F.Fab) (width 0.1))
(fp_line (start -0.35 0) (end -0.35 -0.55) (layer F.Fab) (width 0.1))
(fp_line (start -0.75 0) (end -0.35 0) (layer F.Fab) (width 0.1))
(fp_line (start -1.4 0.9) (end -1.4 -0.9) (layer F.Fab) (width 0.1))
(fp_line (start 1.4 0.9) (end -1.4 0.9) (layer F.Fab) (width 0.1))
(fp_line (start 1.4 -0.9) (end 1.4 0.9) (layer F.Fab) (width 0.1))
(fp_line (start -1.4 -0.9) (end 1.4 -0.9) (layer F.Fab) (width 0.1))
(fp_line (start -2.35 -1.15) (end 2.35 -1.15) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.35 -1.15) (end 2.35 1.15) (layer F.CrtYd) (width 0.05))
(fp_line (start 2.35 1.15) (end -2.35 1.15) (layer F.CrtYd) (width 0.05))
(fp_line (start -2.35 -1.15) (end -2.35 1.15) (layer F.CrtYd) (width 0.05))
(fp_poly (pts (xy 0 0) (xy -0.711 0.6) (xy -0.711 -0.6)) (layer F.SilkS) (width 0.1))
(fp_poly (pts (xy 0 0) (xy 0.711 -0.6) (xy 0.711 0.6)) (layer F.SilkS) (width 0.1))
(fp_line (start 0 0.635) (end 0 -0.635) (layer F.SilkS) (width 0.12))
(fp_line (start 0 -0.635) (end 0.254 -0.635) (layer F.SilkS) (width 0.12))
(fp_line (start 0 0.635) (end -0.254 0.635) (layer F.SilkS) (width 0.12))
(pad 1 smd roundrect (at -1.65 0 180) (size 1 1.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
(net 3 GNDPWR))
(pad 2 smd roundrect (at 1.65 0 180) (size 1 1.2) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
(net 2 VCC))
(model ${KISYS3DMOD}/Diode_SMD.3dshapes/D_SOD-123.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(module acheron_Connectors:TYPE-C-31-M-12 (layer F.Cu) (tedit 5DF7FEB0) (tstamp 0)
(at 75.0025 64.843 180)
(path /00000000-0000-0000-0000-00005e77a5d1)
(fp_text reference J1 (at 0 5) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value TYPE-C-31-M12_13 (at 0.05 7.35) (layer F.Fab)
(effects (font (size 0.5 0.5) (thickness 0.125)))
)
(fp_line (start 4.8 8.42) (end -4.8 8.42) (layer Cmts.User) (width 0.15))
(fp_text user "KEEPOUT ZONE" (at 0 4) (layer F.Fab)
(effects (font (size 0.5 0.5) (thickness 0.125)))
)
(fp_line (start -5 1.4) (end -5 6.8) (layer F.Fab) (width 0.12))
(fp_line (start -5 6.8) (end 5 6.8) (layer F.Fab) (width 0.12))
(fp_line (start 5 6.8) (end 5 1.4) (layer F.Fab) (width 0.12))
(fp_line (start 5 1.4) (end -5 1.4) (layer F.Fab) (width 0.12))
(fp_line (start -5 5.5) (end -0.9 1.4) (layer F.Fab) (width 0.05))
(fp_line (start -5 4.5) (end -1.9 1.4) (layer F.Fab) (width 0.05))
(fp_line (start -4.3 6.8) (end -1.9 4.5) (layer F.Fab) (width 0.05))
(fp_line (start -5 3.5) (end -2.9 1.4) (layer F.Fab) (width 0.05))
(fp_line (start -5 2.5) (end -3.9 1.4) (layer F.Fab) (width 0.05))
(fp_line (start -0.9 3.4) (end 1.1 1.4) (layer F.Fab) (width 0.05))
(fp_line (start -1.9 3.4) (end 0.1 1.4) (layer F.Fab) (width 0.05))
(fp_line (start -5 6.5) (end -2.9 4.5) (layer F.Fab) (width 0.05))
(fp_line (start -3.3 6.8) (end -0.9 4.5) (layer F.Fab) (width 0.05))
(fp_line (start 0.1 3.4) (end 2.1 1.4) (layer F.Fab) (width 0.05))
(fp_line (start 1.1 3.4) (end 3.1 1.4) (layer F.Fab) (width 0.05))
(fp_line (start -2.3 6.8) (end 0.1 4.5) (layer F.Fab) (width 0.05))
(fp_line (start -1.3 6.8) (end 1.1 4.5) (layer F.Fab) (width 0.05))
(fp_line (start 2.1 3.4) (end 4.1 1.4) (layer F.Fab) (width 0.05))
(fp_line (start 3.1 3.4) (end 5 1.5) (layer F.Fab) (width 0.05))
(fp_line (start -0.3 6.8) (end 2.1 4.5) (layer F.Fab) (width 0.05))
(fp_line (start 0.7 6.8) (end 5 2.5) (layer F.Fab) (width 0.05))
(fp_line (start 1.7 6.8) (end 5 3.5) (layer F.Fab) (width 0.05))
(fp_line (start 2.7 6.8) (end 5 4.5) (layer F.Fab) (width 0.05))
(fp_line (start 3.7 6.8) (end 5 5.5) (layer F.Fab) (width 0.05))
(pad S thru_hole oval (at 4.3 1.5 180) (size 1.1 2.2) (drill oval 0.6 1.7) (layers *.Cu *.Mask)
(net 3 GNDPWR))
(pad S thru_hole oval (at 4.3 5.7 180) (size 1.3 1.9) (drill oval 0.6 1.2) (layers *.Cu *.Mask)
(net 3 GNDPWR))
(pad "" np_thru_hole circle (at 2.89 2.051 180) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask))
(pad "" np_thru_hole circle (at -2.89 2.051 180) (size 0.65 0.65) (drill 0.65) (layers *.Cu *.Mask))
(pad S thru_hole oval (at -4.3 5.7 180) (size 1.3 1.9) (drill oval 0.6 1.2) (layers *.Cu *.Mask)
(net 3 GNDPWR))
(pad A1 smd roundrect (at -3.25 1.275 180) (size 0.6 1.45) (drill (offset 0 -0.55)) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
(net 3 GNDPWR))
(pad B8 smd roundrect (at -1.75 1.275 180) (size 0.3 1.45) (drill (offset 0 -0.55)) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
(net 4 "Net-(J1-PadB8)"))
(pad A5 smd roundrect (at -1.25 1.275 180) (size 0.3 1.45) (drill (offset 0 -0.55)) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
(net 5 "Net-(J1-PadA5)"))
(pad B7 smd roundrect (at -0.75 1.275 180) (size 0.3 1.45) (drill (offset 0 -0.55)) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
(net 9 DA-))
(pad A6 smd roundrect (at -0.254 1.275 180) (size 0.3 1.45) (drill (offset 0 -0.55)) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
(net 6 DA+))
(pad B5 smd roundrect (at 1.75 1.275 180) (size 0.3 1.45) (drill (offset 0 -0.55)) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
(net 7 "Net-(J1-PadB5)"))
(pad A8 smd roundrect (at 1.25 1.275 180) (size 0.3 1.45) (drill (offset 0 -0.55)) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
(net 8 "Net-(J1-PadA8)"))
(pad B6 smd roundrect (at 0.75 1.275 180) (size 0.3 1.45) (drill (offset 0 -0.55)) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
(net 6 DA+))
(pad A7 smd roundrect (at 0.25 1.275 180) (size 0.3 1.45) (drill (offset 0 -0.55)) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
(net 9 DA-))
(pad S thru_hole oval (at -4.3 1.5 180) (size 1.1 2.2) (drill oval 0.6 1.7) (layers *.Cu *.Mask)
(net 3 GNDPWR))
(pad A4 smd roundrect (at -2.45 1.275 180) (size 0.6 1.45) (drill (offset 0 -0.55)) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
(net 10 VBUS))
(pad B1 smd roundrect (at 3.25 1.275 180) (size 0.6 1.45) (drill (offset 0 -0.55)) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
(net 3 GNDPWR))
(pad B4 smd roundrect (at 2.45 1.275 180) (size 0.6 1.45) (drill (offset 0 -0.55)) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25)
(net 10 VBUS))
(model ":Acheron 3D models:TYPE-C-31-M-12.step"
(offset (xyz -4.46 -8.25 0))
(scale (xyz 1 1 1))
(rotate (xyz -90 0 0))
)
)
(module random-keyboard-parts:Generic-Mounthole (layer F.Cu) (tedit 5E77EDF9) (tstamp 0)
(at 68.0045 58.543)
(path /00000000-0000-0000-0000-00005c91ec0e)
(attr virtual)
(fp_text reference MH1 (at 0 2) (layer Dwgs.User)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Mount-M2 (at 0 -2) (layer Dwgs.User) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(pad "" np_thru_hole circle (at 0 0) (size 3.500001 3.500001) (drill 2.2) (layers F.Cu F.Mask)
(clearance 0.508))
)
(module random-keyboard-parts:Generic-Mounthole (layer F.Cu) (tedit 5E77ED0E) (tstamp 0)
(at 82.0045 58.543)
(path /00000000-0000-0000-0000-00005c91ec94)
(attr virtual)
(fp_text reference MH2 (at 0 2) (layer Dwgs.User) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Mount-M2 (at 0 -2) (layer Dwgs.User) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(pad 1 thru_hole circle (at 0 0) (size 3.500001 3.500001) (drill 2.2) (layers *.Cu *.Mask)
(net 3 GNDPWR))
)
(module random-keyboard-parts:Generic-Mounthole (layer F.Cu) (tedit 5E77EE21) (tstamp 0)
(at 68.0045 71.043)
(path /00000000-0000-0000-0000-00005c91ecc0)
(attr virtual)
(fp_text reference MH3 (at 0 2) (layer Dwgs.User) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Mount-M2 (at 0 -2) (layer Dwgs.User) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(pad "" np_thru_hole circle (at 0 0) (size 3.500001 3.500001) (drill 2.2) (layers F.Cu F.Mask)
(clearance 0.508))
)
(module random-keyboard-parts:Generic-Mounthole (layer F.Cu) (tedit 5E77EE52) (tstamp 0)
(at 82.0045 71.043)
(path /00000000-0000-0000-0000-00005c91ece4)
(attr virtual)
(fp_text reference MH4 (at 0 2) (layer Dwgs.User) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Mount-M2 (at 0 -2) (layer Dwgs.User) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(pad "" np_thru_hole circle (at 0 0) (size 3.500001 3.500001) (drill 2.2) (layers F.Cu F.Mask)
(clearance 0.508))
)
(module random-keyboard-parts:JST-SR-4 (layer F.Cu) (tedit 5C919B1C) (tstamp 0)
(at 75.0045 72.793)
(path /00000000-0000-0000-0000-00005c91afcb)
(attr smd)
(fp_text reference J2 (at 0.004 -1.189) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value "SM04B-SRSS-TB(LF)(SN)" (at -0.002 -3.378) (layer F.Fab)
(effects (font (size 0.254 0.254) (thickness 0.0635)))
)
(fp_line (start -3 -4.4) (end -2 -4.4) (layer F.SilkS) (width 0.15))
(fp_line (start -3 -2) (end -3 -4.4) (layer F.SilkS) (width 0.15))
(fp_line (start 2 -0.2) (end -2 -0.2) (layer F.SilkS) (width 0.15))
(fp_line (start 3 -4.4) (end 3 -2) (layer F.SilkS) (width 0.15))
(fp_line (start 2 -4.4) (end 3 -4.4) (layer F.SilkS) (width 0.15))
(fp_line (start 3 -4.4) (end 3 -0.2) (layer B.CrtYd) (width 0.15))
(fp_line (start -3 -4.4) (end 3 -4.4) (layer B.CrtYd) (width 0.15))
(fp_line (start -3 -0.2) (end -3 -4.4) (layer B.CrtYd) (width 0.15))
(fp_line (start 3 -0.2) (end -3 -0.2) (layer B.CrtYd) (width 0.15))
(pad 3 smd rect (at 0.5 -4.775) (size 0.6 1.55) (layers F.Cu F.Paste F.Mask)
(net 6 DA+))
(pad 4 smd rect (at 1.5 -4.775) (size 0.6 1.55) (layers F.Cu F.Paste F.Mask)
(net 1 GND))
(pad 2 smd rect (at -0.5 -4.775) (size 0.6 1.55) (layers F.Cu F.Paste F.Mask)
(net 9 DA-))
(pad 1 smd rect (at -1.5 -4.775) (size 0.6 1.55) (layers F.Cu F.Paste F.Mask)
(net 2 VCC))
(pad "" smd rect (at -2.8 -0.9) (size 1.2 1.8) (layers F.Cu F.Paste F.Mask))
(pad "" smd rect (at 2.8 -0.9) (size 1.2 1.8) (layers F.Cu F.Paste F.Mask))
(model ${KIPRJMOD}/AcheronLibrary/3d_models/SM04B-SRSS-TR.step
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz -90 0 0))
)
)
(module Resistors_SMD:R_0603 (layer F.Cu) (tedit 58E0A804) (tstamp 0)
(at 77.9235 67.129 270)
(descr "Resistor SMD 0603, reflow soldering, Vishay (see dcrcw.pdf)")
(tags "resistor 0603")
(path /00000000-0000-0000-0000-00005c91b042)
(attr smd)
(fp_text reference R1 (at -1.651 -0.508) (layer F.SilkS)
(effects (font (size 0.635 0.635) (thickness 0.127)))
)
(fp_text value 5.1k (at 0 -0.889 270) (layer F.Fab)
(effects (font (size 0.508 0.508) (thickness 0.127)))
)
(fp_text user ${REFERENCE} (at 0 0 270) (layer F.Fab)
(effects (font (size 0.4 0.4) (thickness 0.075)))
)
(fp_line (start -0.8 0.4) (end -0.8 -0.4) (layer F.Fab) (width 0.1))
(fp_line (start 0.8 0.4) (end -0.8 0.4) (layer F.Fab) (width 0.1))
(fp_line (start 0.8 -0.4) (end 0.8 0.4) (layer F.Fab) (width 0.1))
(fp_line (start -0.8 -0.4) (end 0.8 -0.4) (layer F.Fab) (width 0.1))
(fp_line (start 0.5 0.68) (end -0.5 0.68) (layer F.SilkS) (width 0.12))
(fp_line (start -0.5 -0.68) (end 0.5 -0.68) (layer F.SilkS) (width 0.12))
(fp_line (start -1.25 -0.7) (end 1.25 -0.7) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.25 -0.7) (end -1.25 0.7) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.25 0.7) (end 1.25 -0.7) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.25 0.7) (end -1.25 0.7) (layer F.CrtYd) (width 0.05))
(pad 2 smd rect (at 0.75 0 270) (size 0.5 0.9) (layers F.Cu F.Paste F.Mask)
(net 3 GNDPWR))
(pad 1 smd rect (at -0.75 0 270) (size 0.5 0.9) (layers F.Cu F.Paste F.Mask)
(net 5 "Net-(J1-PadA5)"))
(model ${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0603_1608Metric.wrl
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(gr_line (start 77.0045 67.043) (end 77.0045 68.543) (layer F.CrtYd) (width 0.05))
(gr_line (start 73.0045 67.043) (end 77.0045 67.043) (layer F.CrtYd) (width 0.05))
(gr_line (start 73.0045 68.543) (end 73.0045 67.043) (layer F.CrtYd) (width 0.05))
(gr_line (start 72.0045 72.543) (end 72.0045 68.543) (layer F.CrtYd) (width 0.05))
(gr_line (start 78.0045 72.543) (end 72.0045 72.543) (layer F.CrtYd) (width 0.05))
(gr_line (start 78.0045 68.543) (end 78.0045 72.543) (layer F.CrtYd) (width 0.05))
(gr_line (start 72.0045 68.543) (end 78.0045 68.543) (layer F.CrtYd) (width 0.05))
(dimension 14 (width 0.1) (layer Dwgs.User)
(gr_text "14.000 mm" (at 75.0045 46.943001) (layer Dwgs.User)
(effects (font (size 1.5 1.5) (thickness 0.1)))
)
(feature1 (pts (xy 68.0045 56.543) (xy 68.0045 48.45658)))
(feature2 (pts (xy 82.0045 56.543) (xy 82.0045 48.45658)))
(crossbar (pts (xy 82.0045 49.043001) (xy 68.0045 49.043001)))
(arrow1a (pts (xy 68.0045 49.043001) (xy 69.131004 48.45658)))
(arrow1b (pts (xy 68.0045 49.043001) (xy 69.131004 49.629422)))
(arrow2a (pts (xy 82.0045 49.043001) (xy 80.877996 48.45658)))
(arrow2b (pts (xy 82.0045 49.043001) (xy 80.877996 49.629422)))
)
(dimension 12.5 (width 0.1) (layer Dwgs.User)
(gr_text "12.500 mm" (at 96.6045 64.793 270) (layer Dwgs.User)
(effects (font (size 1.5 1.5) (thickness 0.1)))
)
(feature1 (pts (xy 84.0045 71.043) (xy 95.090921 71.043)))
(feature2 (pts (xy 84.0045 58.543) (xy 95.090921 58.543)))
(crossbar (pts (xy 94.5045 58.543) (xy 94.5045 71.043)))
(arrow1a (pts (xy 94.5045 71.043) (xy 93.918079 69.916496)))
(arrow1b (pts (xy 94.5045 71.043) (xy 95.090921 69.916496)))
(arrow2a (pts (xy 94.5045 58.543) (xy 93.918079 59.669504)))
(arrow2b (pts (xy 94.5045 58.543) (xy 95.090921 59.669504)))
)
(gr_arc (start 82.0045 71.043) (end 82.0045 73.043) (angle -90) (layer Edge.Cuts) (width 0.15))
(gr_arc (start 68.0045 71.043) (end 66.0045 71.043) (angle -90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 66.0045 71.043) (end 66.0045 58.543) (layer Edge.Cuts) (width 0.15))
(gr_line (start 82.0045 73.043) (end 68.0045 73.043) (layer Edge.Cuts) (width 0.15))
(gr_line (start 84.0045 58.543) (end 84.0045 71.043) (layer Edge.Cuts) (width 0.15))
(gr_line (start 68.0045 56.543) (end 82.0045 56.543) (layer Edge.Cuts) (width 0.15))
(gr_arc (start 68.0045 58.543) (end 68.0045 56.543) (angle -90) (layer Edge.Cuts) (width 0.15))
(gr_arc (start 82.0045 58.543) (end 84.0045 58.543) (angle -90) (layer Edge.Cuts) (width 0.15))
(dimension 16.5 (width 0.1) (layer Dwgs.User)
(gr_text "16.500 mm" (at 100.6045 64.793 270) (layer Dwgs.User)
(effects (font (size 1.5 1.5) (thickness 0.1)))
)
(feature1 (pts (xy 84.0045 73.043) (xy 99.090921 73.043)))
(feature2 (pts (xy 84.0045 56.543) (xy 99.090921 56.543)))
(crossbar (pts (xy 98.5045 56.543) (xy 98.5045 73.043)))
(arrow1a (pts (xy 98.5045 73.043) (xy 97.918079 71.916496)))
(arrow1b (pts (xy 98.5045 73.043) (xy 99.090921 71.916496)))
(arrow2a (pts (xy 98.5045 56.543) (xy 97.918079 57.669504)))
(arrow2b (pts (xy 98.5045 56.543) (xy 99.090921 57.669504)))
)
(dimension 18 (width 0.1) (layer Dwgs.User)
(gr_text "18.000 mm" (at 75.0045 40.443) (layer Dwgs.User)
(effects (font (size 1.5 1.5) (thickness 0.1)))
)
(feature1 (pts (xy 84.0045 56.543) (xy 84.0045 41.956579)))
(feature2 (pts (xy 66.0045 56.543) (xy 66.0045 41.956579)))
(crossbar (pts (xy 66.0045 42.543) (xy 84.0045 42.543)))
(arrow1a (pts (xy 84.0045 42.543) (xy 82.877996 43.129421)))
(arrow1b (pts (xy 84.0045 42.543) (xy 82.877996 41.956579)))
(arrow2a (pts (xy 66.0045 42.543) (xy 67.131004 43.129421)))
(arrow2b (pts (xy 66.0045 42.543) (xy 67.131004 41.956579)))
)
(segment (start 76.5045 68.018) (end 76.5045 68.646) (width 0.508) (layer F.Cu) (net 1))
(segment (start 76.5045 68.646) (end 77.2885 69.43) (width 0.508) (layer F.Cu) (net 1))
(segment (start 77.2885 69.43) (end 79.7553 69.43) (width 0.508) (layer F.Cu) (net 1))
(segment (start 79.7553 69.43) (end 81.9875 67.1978) (width 0.508) (layer F.Cu) (net 1))
(segment (start 68.596 68.2155) (end 69.231 68.2155) (width 0.508) (layer F.Cu) (net 2))
(segment (start 68.074 68.2155) (end 68.596 68.2155) (width 0.508) (layer F.Cu) (net 2))
(segment (start 67.0025 67.511) (end 67.707 68.2155) (width 0.508) (layer F.Cu) (net 2))
(segment (start 67.707 68.2155) (end 68.596 68.2155) (width 0.508) (layer F.Cu) (net 2))
(segment (start 67.0025 66.89) (end 67.0025 67.511) (width 0.508) (layer F.Cu) (net 2))
(segment (start 67.0025 66.89) (end 67.0025 65.495) (width 0.508) (layer F.Cu) (net 2))
(segment (start 67.0025 65.495) (end 67.8905 64.607) (width 0.508) (layer F.Cu) (net 2))
(segment (start 69.231 68.2155) (end 70.0645 69.049) (width 0.508) (layer F.Cu) (net 2))
(segment (start 70.0645 69.049) (end 72.4735 69.049) (width 0.508) (layer F.Cu) (net 2))
(segment (start 71.1059 69.049) (end 72.4735 69.049) (width 0.508) (layer F.Cu) (net 2))
(segment (start 71.1059 69.049) (end 70.3693 69.049) (width 0.508) (layer F.Cu) (net 2))
(segment (start 73.5045 68.018) (end 73.5045 68.018) (width 0.508) (layer F.Cu) (net 2))
(segment (start 73.5045 67.814) (end 73.5045 68.018) (width 0.508) (layer F.Cu) (net 2))
(segment (start 72.4735 69.049) (end 73.5045 68.018) (width 0.508) (layer F.Cu) (net 2))
(segment (start 67.1295 65.368) (end 67.8905 64.607) (width 0.508) (layer F.Cu) (net 2))
(segment (start 79.3245 59.143) (end 79.3245 59.283) (width 0.508) (layer F.Cu) (net 3))
(via (at 75.0025 66.0264) (size 0.45) (drill 0.3048) (layers F.Cu B.Cu) (net 3))
(segment (start 76.2545 64.389) (end 76.231501 64.411999) (width 0.254) (layer F.Cu) (net 5))
(segment (start 76.2545 64.238) (end 76.2545 64.389) (width 0.254) (layer F.Cu) (net 5))
(segment (start 76.5265 65.114445) (end 76.2525 64.840445) (width 0.1524) (layer F.Cu) (net 5))
(segment (start 76.5265 65.4048) (end 76.5265 65.114445) (width 0.1524) (layer F.Cu) (net 5))
(segment (start 77.9235 66.14) (end 77.2617 66.14) (width 0.1524) (layer F.Cu) (net 5))
(segment (start 76.2525 64.840445) (end 76.2525 63.568) (width 0.1524) (layer F.Cu) (net 5))
(segment (start 77.2617 66.14) (end 76.5265 65.4048) (width 0.1524) (layer F.Cu) (net 5))
(segment (start 75.5045 68.018) (end 75.5045 68.018) (width 0.254) (layer F.Cu) (net 6))
(segment (start 74.2525 64.838828) (end 74.2525 63.568) (width 0.1524) (layer F.Cu) (net 6))
(segment (start 74.0025 65.088828) (end 74.2525 64.838828) (width 0.1524) (layer F.Cu) (net 6))
(segment (start 74.0025 66.4114) (end 74.0025 65.088828) (width 0.1524) (layer F.Cu) (net 6))
(segment (start 75.5025 66.4114) (end 75.5025 65.088828) (width 0.1524) (layer F.Cu) (net 6))
(via (at 73.7325 66.89) (size 0.45) (drill 0.3048) (layers F.Cu B.Cu) (net 6))
(segment (start 74.0025 66.62) (end 73.7325 66.89) (width 0.254) (layer F.Cu) (net 6))
(segment (start 74.0025 66.4114) (end 74.0025 66.62) (width 0.254) (layer F.Cu) (net 6))
(segment (start 75.5025 66.89) (end 75.5025 65.6414) (width 0.254) (layer F.Cu) (net 6))
(segment (start 75.5025 66.89) (end 75.5025 65.088828) (width 0.254) (layer F.Cu) (net 6))
(segment (start 75.2565 64.842828) (end 75.5025 65.088828) (width 0.254) (layer F.Cu) (net 6))
(segment (start 75.2565 63.568) (end 75.2565 64.842828) (width 0.254) (layer F.Cu) (net 6))
(segment (start 75.5025 66.89) (end 75.5025 66.4114) (width 0.254) (layer F.Cu) (net 6))
(segment (start 75.5025 68.016) (end 75.5045 68.018) (width 0.254) (layer F.Cu) (net 6))
(segment (start 75.5025 66.89) (end 75.5025 68.016) (width 0.254) (layer F.Cu) (net 6))
(via (at 75.5025 68.016) (size 0.508) (drill 0.3048) (layers F.Cu B.Cu) (net 6))
(segment (start 73.7325 66.89) (end 73.7325 67.271) (width 0.1524) (layer B.Cu) (net 6))
(segment (start 73.7325 67.271) (end 73.9865 67.525) (width 0.1524) (layer B.Cu) (net 6))
(segment (start 75.0115 67.525) (end 75.5025 68.016) (width 0.1524) (layer B.Cu) (net 6))
(segment (start 73.9865 67.525) (end 75.0115 67.525) (width 0.1524) (layer B.Cu) (net 6))
(segment (start 73.2525 65.704) (end 72.5775 66.379) (width 0.254) (layer F.Cu) (net 7))
(segment (start 72.5775 66.379) (end 71.9545 66.379) (width 0.254) (layer F.Cu) (net 7))
(segment (start 73.2525 63.568) (end 73.2525 65.704) (width 0.254) (layer F.Cu) (net 7))
(segment (start 73.2525 63.568) (end 73.2525 65.595) (width 0.1524) (layer F.Cu) (net 7))
(segment (start 72.8345 66.013) (end 73.2525 65.595) (width 0.1524) (layer F.Cu) (net 7))
(segment (start 74.5025 66.4114) (end 74.5025 65.088828) (width 0.1524) (layer F.Cu) (net 9))
(segment (start 75.7525 64.838828) (end 75.7525 63.568) (width 0.1524) (layer F.Cu) (net 9))
(segment (start 76.0025 65.088828) (end 75.7525 64.838828) (width 0.1524) (layer F.Cu) (net 9))
(segment (start 76.0025 66.4114) (end 76.0025 65.088828) (width 0.1524) (layer F.Cu) (net 9))
(via (at 76.2725 66.89) (size 0.45) (drill 0.3048) (layers F.Cu B.Cu) (net 9))
(segment (start 76.0025 66.62) (end 76.2725 66.89) (width 0.254) (layer F.Cu) (net 9))
(segment (start 76.0025 66.4114) (end 76.0025 66.62) (width 0.254) (layer F.Cu) (net 9))
(segment (start 74.5025 66.89) (end 74.5025 65.088828) (width 0.254) (layer F.Cu) (net 9))
(segment (start 74.7525 64.807432) (end 74.7525 63.568) (width 0.254) (layer F.Cu) (net 9))
(segment (start 74.5025 65.057432) (end 74.7525 64.807432) (width 0.254) (layer F.Cu) (net 9))
(segment (start 74.5025 65.088828) (end 74.5025 65.057432) (width 0.254) (layer F.Cu) (net 9))
(segment (start 74.5025 66.89) (end 74.5025 66.4114) (width 0.254) (layer F.Cu) (net 9))
(segment (start 74.5045 66.892) (end 74.5025 66.89) (width 0.254) (layer F.Cu) (net 9))
(segment (start 74.5045 68.018) (end 74.5045 66.892) (width 0.254) (layer F.Cu) (net 9))
(via (at 74.5045 68.018) (size 0.508) (drill 0.3048) (layers F.Cu B.Cu) (net 9))
(segment (start 76.2725 66.89) (end 76.2725 68.287) (width 0.1524) (layer B.Cu) (net 9))
(segment (start 76.2725 68.287) (end 76.0185 68.541) (width 0.1524) (layer B.Cu) (net 9))
(segment (start 75.0275 68.541) (end 74.5045 68.018) (width 0.1524) (layer B.Cu) (net 9))
(segment (start 76.0185 68.541) (end 75.0275 68.541) (width 0.1524) (layer B.Cu) (net 9))
(segment (start 69.77149 64.278636) (end 69.77149 62.45401) (width 0.508) (layer F.Cu) (net 10))
(segment (start 67.8905 61.807) (end 69.12448 61.807) (width 0.508) (layer F.Cu) (net 10))
(segment (start 69.12448 61.807) (end 69.77149 62.45401) (width 0.508) (layer F.Cu) (net 10))
(segment (start 72.5525 65.239) (end 70.731854 65.239) (width 0.508) (layer F.Cu) (net 10))
(segment (start 70.731854 65.239) (end 69.77149 64.278636) (width 0.508) (layer F.Cu) (net 10))
(segment (start 77.4525 63.568) (end 77.4525 64.89548) (width 0.508) (layer F.Cu) (net 10))
(segment (start 72.5525 63.568) (end 72.5525 64.89548) (width 0.508) (layer F.Cu) (net 10))
(segment (start 72.5525 64.89548) (end 72.5525 65.239) (width 0.508) (layer F.Cu) (net 10))
(via (at 72.5525 65.239) (size 0.508) (drill 0.3048) (layers F.Cu B.Cu) (net 10))
(segment (start 77.4525 64.89548) (end 77.4525 65.239) (width 0.508) (layer F.Cu) (net 10))
(via (at 77.4525 65.239) (size 0.508) (drill 0.3048) (layers F.Cu B.Cu) (net 10))
(segment (start 72.5525 65.239) (end 77.4525 65.239) (width 0.508) (layer B.Cu) (net 10))
(segment (start 68.0045 71.043) (end 68.0045 70.95) (width 0.508) (layer F.Cu) (net 0))
(zone (net 3) (net_name GNDPWR) (layer F.Cu) (tstamp 0) (hatch edge 0.508)
(connect_pads yes (clearance 0.1524))
(min_thickness 0.1524)
(fill yes (arc_segments 32) (thermal_gap 0.508) (thermal_bridge_width 0.508))
(polygon
(pts
(xy 85.4145 74.398) (xy 63.8245 74.398) (xy 63.8245 55.348) (xy 85.4145 55.348)
)
)
(filled_polygon
(pts
(xy 81.973471 56.773072) (xy 81.983129 56.775046) (xy 82.253387 56.794182) (xy 82.497329 56.846701) (xy 82.731414 56.933059)
(xy 82.951008 57.051546) (xy 83.151714 57.199789) (xy 83.329522 57.374827) (xy 83.480904 57.573184) (xy 83.602826 57.790891)
(xy 83.692852 58.023592) (xy 83.749192 58.266661) (xy 83.771356 58.522579) (xy 83.77157 58.54976) (xy 83.772933 58.559523)
(xy 83.7769 58.573876) (xy 83.776901 69.521699) (xy 83.749275 69.486339) (xy 83.745949 69.482619) (xy 83.528069 69.269255)
(xy 83.524281 69.266008) (xy 83.280096 69.083335) (xy 83.275912 69.080617) (xy 83.009712 68.931843) (xy 83.005205 68.929703)
(xy 82.721668 68.817443) (xy 82.716918 68.815918) (xy 82.421024 68.742143) (xy 82.416113 68.74126) (xy 82.113062 68.707268)
(xy 82.108078 68.707041) (xy 81.803193 68.713428) (xy 81.798223 68.713863) (xy 81.49686 68.760516) (xy 81.491991 68.761604)
(xy 81.199447 68.847705) (xy 81.194765 68.849428) (xy 80.916177 68.973462) (xy 80.911763 68.975789) (xy 80.864102 69.00511)
(xy 81.739627 68.129586) (xy 82.611297 68.129586) (xy 82.61865 68.128862) (xy 82.786547 68.095465) (xy 82.800233 68.089796)
(xy 82.945654 67.992629) (xy 82.956129 67.982154) (xy 83.053296 67.836733) (xy 83.058965 67.823047) (xy 83.092362 67.65515)
(xy 83.093086 67.647797) (xy 83.093086 66.900203) (xy 83.092362 66.89285) (xy 83.058965 66.724953) (xy 83.053296 66.711267)
(xy 82.956129 66.565846) (xy 82.945654 66.555371) (xy 82.800233 66.458204) (xy 82.786547 66.452535) (xy 82.61865 66.419138)
(xy 82.611297 66.418414) (xy 81.363703 66.418414) (xy 81.35635 66.419138) (xy 81.188453 66.452535) (xy 81.174767 66.458204)
(xy 81.029346 66.555371) (xy 81.018871 66.565846) (xy 80.921704 66.711267) (xy 80.916035 66.724953) (xy 80.882638 66.89285)
(xy 80.881914 66.900203) (xy 80.881914 67.619473) (xy 79.554988 68.9464) (xy 77.488813 68.9464) (xy 77.035086 68.492674)
(xy 77.035086 67.239306) (xy 77.034362 67.231953) (xy 77.020368 67.161601) (xy 77.014699 67.147915) (xy 76.972785 67.085188)
(xy 76.962312 67.074715) (xy 76.899585 67.032801) (xy 76.885899 67.027132) (xy 76.815547 67.013138) (xy 76.808194 67.012414)
(xy 76.713849 67.012414) (xy 76.724209 66.987402) (xy 76.727099 66.972874) (xy 76.727099 66.807126) (xy 76.724209 66.792598)
(xy 76.66078 66.639467) (xy 76.652551 66.627151) (xy 76.535349 66.509949) (xy 76.523033 66.50172) (xy 76.369902 66.438291)
(xy 76.3591 66.436142) (xy 76.3591 66.375458) (xy 76.358155 66.367069) (xy 76.358086 66.366766) (xy 76.358086 66.132706)
(xy 76.357362 66.125353) (xy 76.343368 66.055001) (xy 76.337699 66.041315) (xy 76.327733 66.0264) (xy 76.337699 66.011485)
(xy 76.343368 65.997799) (xy 76.357362 65.927447) (xy 76.358086 65.920094) (xy 76.358086 65.668852) (xy 77.071218 66.381985)
(xy 77.071225 66.38199) (xy 77.096159 66.406925) (xy 77.113307 66.416825) (xy 77.14367 66.424961) (xy 77.170885 66.440674)
(xy 77.190011 66.445799) (xy 77.226724 66.445799) (xy 77.226732 66.4458) (xy 77.242914 66.4458) (xy 77.242914 66.632694)
(xy 77.243638 66.640047) (xy 77.257632 66.710399) (xy 77.263301 66.724085) (xy 77.305215 66.786812) (xy 77.315688 66.797285)
(xy 77.378415 66.839199) (xy 77.392101 66.844868) (xy 77.462453 66.858862) (xy 77.469806 66.859586) (xy 78.377194 66.859586)
(xy 78.384547 66.858862) (xy 78.454899 66.844868) (xy 78.468585 66.839199) (xy 78.531312 66.797285) (xy 78.541785 66.786812)
(xy 78.583699 66.724085) (xy 78.589368 66.710399) (xy 78.603362 66.640047) (xy 78.604086 66.632694) (xy 78.604086 66.125306)
(xy 78.603362 66.117953) (xy 78.589368 66.047601) (xy 78.583699 66.033915) (xy 78.541785 65.971188) (xy 78.531312 65.960715)
(xy 78.468585 65.918801) (xy 78.454899 65.913132) (xy 78.384547 65.899138) (xy 78.377194 65.898414) (xy 78.114379 65.898414)
(xy 78.089041 65.873075) (xy 78.071893 65.863175) (xy 77.968559 65.835487) (xy 77.958786 65.8342) (xy 77.388366 65.8342)
(xy 77.220522 65.666357) (xy 77.223435 65.667563) (xy 77.25753 65.690345) (xy 77.271215 65.696014) (xy 77.311438 65.704015)
(xy 77.349329 65.71971) (xy 77.363858 65.7226) (xy 77.40487 65.7226) (xy 77.445093 65.730601) (xy 77.459907 65.730601)
(xy 77.50013 65.7226) (xy 77.541142 65.7226) (xy 77.555671 65.71971) (xy 77.593563 65.704015) (xy 77.633785 65.696014)
(xy 77.64747 65.690345) (xy 77.68157 65.667562) (xy 77.719461 65.651866) (xy 77.731777 65.643637) (xy 77.760774 65.614639)
(xy 77.794877 65.591852) (xy 77.805352 65.581377) (xy 77.828139 65.547274) (xy 77.857137 65.518277) (xy 77.865366 65.505961)
(xy 77.881062 65.46807) (xy 77.903845 65.43397) (xy 77.909514 65.420285) (xy 77.917515 65.380063) (xy 77.93321 65.342171)
(xy 77.9361 65.327642) (xy 77.9361 64.866057) (xy 77.951057 64.843673) (xy 77.956726 64.829987) (xy 77.982362 64.70111)
(xy 77.983086 64.693756) (xy 77.983086 63.542244) (xy 77.982362 63.53489) (xy 77.956726 63.406013) (xy 77.951057 63.392328)
(xy 77.919776 63.345511) (xy 78.033973 63.331287) (xy 78.044311 63.328469) (xy 78.179647 63.269903) (xy 78.188779 63.264297)
(xy 78.302236 63.170102) (xy 78.309427 63.162158) (xy 78.391887 63.039905) (xy 78.396559 63.030262) (xy 78.441464 62.889559)
(xy 78.443251 62.878526) (xy 78.445201 62.718956) (xy 78.443684 62.707882) (xy 78.402231 62.566125) (xy 78.397796 62.556371)
(xy 78.318346 62.432139) (xy 78.311352 62.424022) (xy 78.200228 62.327083) (xy 78.191237 62.321255) (xy 78.057373 62.259401)
(xy 78.047107 62.256331) (xy 77.901263 62.234534) (xy 77.890548 62.234469) (xy 77.744448 62.254482) (xy 77.734146 62.257426)
(xy 77.599536 62.317641) (xy 77.590474 62.323358) (xy 77.478174 62.418933) (xy 77.471082 62.426964) (xy 77.390121 62.550215)
(xy 77.385567 62.559914) (xy 77.342453 62.700935) (xy 77.340804 62.711522) (xy 77.339002 62.858975) (xy 77.340391 62.8696)
(xy 77.380048 63.011631) (xy 77.384363 63.021438) (xy 77.421495 63.081093) (xy 77.271215 63.110986) (xy 77.257529 63.116655)
(xy 77.110123 63.215148) (xy 77.099649 63.225623) (xy 77.095203 63.232277) (xy 77.051147 63.261714) (xy 77.048389 63.257586)
(xy 77.037914 63.247111) (xy 76.950379 63.188622) (xy 76.936693 63.182953) (xy 76.837079 63.163138) (xy 76.829725 63.162414)
(xy 76.675275 63.162414) (xy 76.667921 63.163138) (xy 76.568307 63.182953) (xy 76.554621 63.188622) (xy 76.5025 63.223448)
(xy 76.450379 63.188622) (xy 76.436693 63.182953) (xy 76.337079 63.163138) (xy 76.329725 63.162414) (xy 76.175275 63.162414)
(xy 76.167921 63.163138) (xy 76.068307 63.182953) (xy 76.054621 63.188622) (xy 76.0025 63.223448) (xy 75.950379 63.188622)
(xy 75.936693 63.182953) (xy 75.837079 63.163138) (xy 75.829725 63.162414) (xy 75.675275 63.162414) (xy 75.667921 63.163138)
(xy 75.568307 63.182953) (xy 75.554621 63.188622) (xy 75.5045 63.222112) (xy 75.454379 63.188622) (xy 75.440693 63.182953)
(xy 75.341079 63.163138) (xy 75.333725 63.162414) (xy 75.179275 63.162414) (xy 75.171921 63.163138) (xy 75.072307 63.182953)
(xy 75.058621 63.188622) (xy 75.0045 63.224784) (xy 74.950379 63.188622) (xy 74.936693 63.182953) (xy 74.837079 63.163138)
(xy 74.829725 63.162414) (xy 74.675275 63.162414) (xy 74.667921 63.163138) (xy 74.568307 63.182953) (xy 74.554621 63.188622)
(xy 74.5025 63.223448) (xy 74.450379 63.188622) (xy 74.436693 63.182953) (xy 74.337079 63.163138) (xy 74.329725 63.162414)
(xy 74.175275 63.162414) (xy 74.167921 63.163138) (xy 74.068307 63.182953) (xy 74.054621 63.188622) (xy 74.0025 63.223448)
(xy 73.950379 63.188622) (xy 73.936693 63.182953) (xy 73.837079 63.163138) (xy 73.829725 63.162414) (xy 73.675275 63.162414)
(xy 73.667921 63.163138) (xy 73.568307 63.182953) (xy 73.554621 63.188622) (xy 73.5025 63.223448) (xy 73.450379 63.188622)
(xy 73.436693 63.182953) (xy 73.337079 63.163138) (xy 73.329725 63.162414) (xy 73.175275 63.162414) (xy 73.167921 63.163138)
(xy 73.068307 63.182953) (xy 73.054621 63.188622) (xy 72.967086 63.247111) (xy 72.956611 63.257586) (xy 72.953853 63.261714)
(xy 72.909798 63.232278) (xy 72.905351 63.225622) (xy 72.894877 63.215148) (xy 72.747469 63.116655) (xy 72.733784 63.110986)
(xy 72.584035 63.081198) (xy 72.611887 63.039905) (xy 72.616559 63.030262) (xy 72.661464 62.889559) (xy 72.663251 62.878526)
(xy 72.665201 62.718956) (xy 72.663684 62.707882) (xy 72.622231 62.566125) (xy 72.617796 62.556371) (xy 72.538346 62.432139)
(xy 72.531352 62.424022) (xy 72.420228 62.327083) (xy 72.411237 62.321255) (xy 72.277373 62.259401) (xy 72.267107 62.256331)
(xy 72.121263 62.234534) (xy 72.110548 62.234469) (xy 71.964448 62.254482) (xy 71.954146 62.257426) (xy 71.819536 62.317641)
(xy 71.810474 62.323358) (xy 71.698174 62.418933) (xy 71.691082 62.426964) (xy 71.610121 62.550215) (xy 71.605567 62.559914)
(xy 71.562453 62.700935) (xy 71.560804 62.711522) (xy 71.559002 62.858975) (xy 71.560391 62.8696) (xy 71.600048 63.011631)
(xy 71.604363 63.021438) (xy 71.682289 63.146632) (xy 71.689184 63.154834) (xy 71.799115 63.253123) (xy 71.808034 63.25906)
(xy 71.941133 63.322545) (xy 71.95136 63.32574) (xy 72.084073 63.347235) (xy 72.053943 63.392328) (xy 72.048274 63.406013)
(xy 72.022638 63.53489) (xy 72.021914 63.542244) (xy 72.021914 64.693756) (xy 72.022638 64.70111) (xy 72.033437 64.7554)
(xy 70.932167 64.7554) (xy 70.25509 64.078324) (xy 70.25509 62.501634) (xy 70.26309 62.461415) (xy 70.26309 62.446602)
(xy 70.254367 62.402748) (xy 70.254366 62.402739) (xy 70.228504 62.272725) (xy 70.222835 62.259039) (xy 70.124342 62.111633)
(xy 70.113867 62.101158) (xy 70.079766 62.078373) (xy 69.500121 61.498729) (xy 69.477332 61.464623) (xy 69.466857 61.454148)
(xy 69.319451 61.355655) (xy 69.305765 61.349986) (xy 69.179374 61.324845) (xy 69.131887 61.315399) (xy 69.117073 61.315399)
(xy 69.07685 61.3234) (xy 68.974983 61.3234) (xy 68.961965 61.257953) (xy 68.956296 61.244267) (xy 68.859129 61.098846)
(xy 68.848654 61.088371) (xy 68.703233 60.991204) (xy 68.689547 60.985535) (xy 68.52165 60.952138) (xy 68.514297 60.951414)
(xy 67.266703 60.951414) (xy 67.25935 60.952138) (xy 67.091453 60.985535) (xy 67.077767 60.991204) (xy 66.932346 61.088371)
(xy 66.921871 61.098846) (xy 66.824704 61.244267) (xy 66.819035 61.257953) (xy 66.785638 61.42585) (xy 66.784914 61.433203)
(xy 66.784914 62.180797) (xy 66.785638 62.18815) (xy 66.819035 62.356047) (xy 66.824704 62.369733) (xy 66.921871 62.515154)
(xy 66.932346 62.525629) (xy 67.077767 62.622796) (xy 67.091453 62.628465) (xy 67.25935 62.661862) (xy 67.266703 62.662586)
(xy 68.514297 62.662586) (xy 68.52165 62.661862) (xy 68.689547 62.628465) (xy 68.703233 62.622796) (xy 68.848654 62.525629)
(xy 68.859129 62.515154) (xy 68.956296 62.369733) (xy 68.961965 62.356047) (xy 68.966552 62.332985) (xy 69.287891 62.654324)
(xy 69.28789 64.231006) (xy 69.279889 64.271229) (xy 69.279889 64.286043) (xy 69.309571 64.435263) (xy 69.309571 64.435264)
(xy 69.314476 64.459921) (xy 69.320145 64.473606) (xy 69.418638 64.621013) (xy 69.429113 64.631488) (xy 69.463219 64.654277)
(xy 70.356217 65.547276) (xy 70.379002 65.581377) (xy 70.389477 65.591852) (xy 70.429734 65.618751) (xy 70.536884 65.690345)
(xy 70.550569 65.696014) (xy 70.724447 65.730601) (xy 70.739261 65.730601) (xy 70.779484 65.7226) (xy 72.50487 65.7226)
(xy 72.545093 65.730601) (xy 72.559907 65.730601) (xy 72.60013 65.7226) (xy 72.641142 65.7226) (xy 72.655671 65.71971)
(xy 72.693563 65.704015) (xy 72.715353 65.699681) (xy 72.593316 65.821718) (xy 72.587315 65.829538) (xy 72.539041 65.913152)
(xy 72.519851 65.932342) (xy 72.499585 65.918801) (xy 72.485899 65.913132) (xy 72.415547 65.899138) (xy 72.408194 65.898414)
(xy 71.500806 65.898414) (xy 71.493453 65.899138) (xy 71.423101 65.913132) (xy 71.409415 65.918801) (xy 71.346688 65.960715)
(xy 71.336215 65.971188) (xy 71.294301 66.033915) (xy 71.288632 66.047601) (xy 71.274638 66.117953) (xy 71.273914 66.125306)
(xy 71.273914 66.632694) (xy 71.274638 66.640047) (xy 71.288632 66.710399) (xy 71.294301 66.724085) (xy 71.336215 66.786812)
(xy 71.346688 66.797285) (xy 71.409415 66.839199) (xy 71.423101 66.844868) (xy 71.493453 66.858862) (xy 71.500806 66.859586)
(xy 72.408194 66.859586) (xy 72.415547 66.858862) (xy 72.485899 66.844868) (xy 72.499585 66.839199) (xy 72.562312 66.797285)
(xy 72.572785 66.786812) (xy 72.607005 66.7356) (xy 72.613441 66.7356) (xy 72.621829 66.734656) (xy 72.637071 66.731179)
(xy 72.689172 66.72538) (xy 72.705195 66.719793) (xy 72.715601 66.713265) (xy 72.727652 66.710516) (xy 72.742912 66.703171)
(xy 72.784419 66.670096) (xy 72.797689 66.661772) (xy 72.804318 66.65649) (xy 72.815397 66.64541) (xy 72.856562 66.612608)
(xy 72.867129 66.599371) (xy 72.872434 66.588373) (xy 73.461647 65.99916) (xy 73.472366 65.994013) (xy 73.485621 65.983469)
(xy 73.518695 65.942113) (xy 73.530068 65.93074) (xy 73.535332 65.92414) (xy 73.543646 65.910912) (xy 73.576393 65.869963)
(xy 73.583772 65.854682) (xy 73.586515 65.842705) (xy 73.593089 65.832246) (xy 73.598687 65.816262) (xy 73.604648 65.763533)
(xy 73.608148 65.748252) (xy 73.6091 65.73983) (xy 73.6091 65.724155) (xy 73.615012 65.67186) (xy 73.613124 65.655029)
(xy 73.6091 65.643506) (xy 73.6091 65.061161) (xy 73.667921 65.072862) (xy 73.675275 65.073586) (xy 73.696701 65.073586)
(xy 73.696701 65.227316) (xy 73.667301 65.271315) (xy 73.661632 65.285001) (xy 73.647638 65.355353) (xy 73.646914 65.362706)
(xy 73.646914 65.920094) (xy 73.647638 65.927447) (xy 73.661632 65.997799) (xy 73.667301 66.011485) (xy 73.6967 66.055482)
(xy 73.6967 66.087656) (xy 73.671746 66.127958) (xy 73.666712 66.140953) (xy 73.645736 66.253164) (xy 73.645094 66.260088)
(xy 73.645094 66.436303) (xy 73.635098 66.438291) (xy 73.481967 66.50172) (xy 73.469651 66.509949) (xy 73.352449 66.627151)
(xy 73.34422 66.639467) (xy 73.280791 66.792598) (xy 73.277901 66.807126) (xy 73.277901 66.972874) (xy 73.280791 66.987402)
(xy 73.291151 67.012414) (xy 73.200806 67.012414) (xy 73.193453 67.013138) (xy 73.123101 67.027132) (xy 73.109415 67.032801)
(xy 73.046688 67.074715) (xy 73.036215 67.085188) (xy 72.994301 67.147915) (xy 72.988632 67.161601) (xy 72.974638 67.231953)
(xy 72.973914 67.239306) (xy 72.973914 67.864673) (xy 72.273188 68.5654) (xy 70.264813 68.5654) (xy 69.606641 67.907229)
(xy 69.583852 67.873123) (xy 69.573377 67.862648) (xy 69.425971 67.764155) (xy 69.412285 67.758486) (xy 69.285894 67.733345)
(xy 69.238407 67.723899) (xy 69.223593 67.723899) (xy 69.18337 67.7319) (xy 67.907313 67.7319) (xy 67.657187 67.481774)
(xy 67.693296 67.427732) (xy 67.698965 67.414047) (xy 67.732362 67.24615) (xy 67.733086 67.238797) (xy 67.733086 66.541203)
(xy 67.732362 66.53385) (xy 67.698965 66.365953) (xy 67.693296 66.352267) (xy 67.596129 66.206846) (xy 67.585654 66.196371)
(xy 67.4861 66.129851) (xy 67.4861 65.695312) (xy 67.718826 65.462586) (xy 68.514297 65.462586) (xy 68.52165 65.461862)
(xy 68.689547 65.428465) (xy 68.703233 65.422796) (xy 68.848654 65.325629) (xy 68.859129 65.315154) (xy 68.956296 65.169733)
(xy 68.961965 65.156047) (xy 68.995362 64.98815) (xy 68.996086 64.980797) (xy 68.996086 64.233203) (xy 68.995362 64.22585)
(xy 68.961965 64.057953) (xy 68.956296 64.044267) (xy 68.859129 63.898846) (xy 68.848654 63.888371) (xy 68.703233 63.791204)
(xy 68.689547 63.785535) (xy 68.52165 63.752138) (xy 68.514297 63.751414) (xy 67.266703 63.751414) (xy 67.25935 63.752138)
(xy 67.091453 63.785535) (xy 67.077767 63.791204) (xy 66.932346 63.888371) (xy 66.921871 63.898846) (xy 66.824704 64.044267)
(xy 66.819035 64.057953) (xy 66.785638 64.22585) (xy 66.784914 64.233203) (xy 66.784914 64.980797) (xy 66.785638 64.98815)
(xy 66.792241 65.021347) (xy 66.694227 65.119361) (xy 66.660124 65.142148) (xy 66.649649 65.152623) (xy 66.624802 65.189809)
(xy 66.551155 65.30003) (xy 66.545486 65.313716) (xy 66.510899 65.487593) (xy 66.510899 65.502407) (xy 66.518901 65.542635)
(xy 66.518901 66.12985) (xy 66.419346 66.196371) (xy 66.408871 66.206846) (xy 66.311704 66.352267) (xy 66.306035 66.365953)
(xy 66.272638 66.53385) (xy 66.271914 66.541203) (xy 66.271914 67.238797) (xy 66.272638 67.24615) (xy 66.306035 67.414047)
(xy 66.311704 67.427733) (xy 66.408871 67.573154) (xy 66.419346 67.583629) (xy 66.539895 67.664178) (xy 66.545486 67.692284)
(xy 66.551155 67.70597) (xy 66.622749 67.813119) (xy 66.649649 67.853377) (xy 66.660124 67.863852) (xy 66.694227 67.886639)
(xy 67.331363 68.523776) (xy 67.354148 68.557877) (xy 67.364623 68.568352) (xy 67.512029 68.666845) (xy 67.525715 68.672514)
(xy 67.655729 68.698376) (xy 67.65574 68.698377) (xy 67.699592 68.7071) (xy 67.714406 68.7071) (xy 67.754624 68.6991)
(xy 69.030688 68.6991) (xy 69.688863 69.357276) (xy 69.711648 69.391377) (xy 69.722123 69.401852) (xy 69.76238 69.428751)
(xy 69.86953 69.500345) (xy 69.883215 69.506014) (xy 70.057092 69.540601) (xy 70.071906 69.540601) (xy 70.112129 69.5326)
(xy 72.42587 69.5326) (xy 72.466093 69.540601) (xy 72.480907 69.540601) (xy 72.528394 69.531155) (xy 72.654785 69.506014)
(xy 72.668471 69.500345) (xy 72.815877 69.401852) (xy 72.826352 69.391377) (xy 72.849141 69.357271) (xy 73.185193 69.021219)
(xy 73.193452 69.022862) (xy 73.200806 69.023586) (xy 73.808194 69.023586) (xy 73.815547 69.022862) (xy 73.885899 69.008868)
(xy 73.899585 69.003199) (xy 73.962312 68.961285) (xy 73.972785 68.950812) (xy 74.0045 68.903348) (xy 74.036215 68.950812)
(xy 74.046688 68.961285) (xy 74.109415 69.003199) (xy 74.123101 69.008868) (xy 74.193453 69.022862) (xy 74.200806 69.023586)
(xy 74.808194 69.023586) (xy 74.815547 69.022862) (xy 74.885899 69.008868) (xy 74.899585 69.003199) (xy 74.962312 68.961285)
(xy 74.972785 68.950812) (xy 75.0045 68.903348) (xy 75.036215 68.950812) (xy 75.046688 68.961285) (xy 75.109415 69.003199)
(xy 75.123101 69.008868) (xy 75.193453 69.022862) (xy 75.200806 69.023586) (xy 75.808194 69.023586) (xy 75.815547 69.022862)
(xy 75.885899 69.008868) (xy 75.899585 69.003199) (xy 75.962312 68.961285) (xy 75.972785 68.950812) (xy 76.0045 68.903348)
(xy 76.036215 68.950812) (xy 76.046688 68.961285) (xy 76.109415 69.003199) (xy 76.123101 69.008868) (xy 76.193453 69.022862)
(xy 76.197887 69.023299) (xy 76.912863 69.738276) (xy 76.935648 69.772377) (xy 76.946123 69.782852) (xy 77.093529 69.881345)
(xy 77.107215 69.887014) (xy 77.237229 69.912876) (xy 77.23724 69.912877) (xy 77.281092 69.9216) (xy 77.295906 69.9216)
(xy 77.336124 69.9136) (xy 79.70767 69.9136) (xy 79.747893 69.921601) (xy 79.762707 69.921601) (xy 79.810194 69.912155)
(xy 79.936585 69.887014) (xy 79.950271 69.881345) (xy 79.995704 69.850988) (xy 79.872755 70.08222) (xy 79.87071 70.086771)
(xy 79.764412 70.372598) (xy 79.762986 70.377379) (xy 79.695425 70.674753) (xy 79.694645 70.679681) (xy 79.667006 70.983378)
(xy 79.666884 70.988366) (xy 79.679654 71.293049) (xy 79.680193 71.29801) (xy 79.733148 71.598329) (xy 79.734338 71.603174)
(xy 79.826545 71.893852) (xy 79.828366 71.898497) (xy 79.958208 72.174426) (xy 79.960627 72.17879) (xy 80.125823 72.435121)
(xy 80.128797 72.439127) (xy 80.326442 72.67136) (xy 80.32992 72.674937) (xy 80.48592 72.8154) (xy 78.632104 72.8154)
(xy 78.634362 72.804047) (xy 78.635086 72.796694) (xy 78.635086 70.989306) (xy 78.634362 70.981953) (xy 78.620368 70.911601)
(xy 78.614699 70.897915) (xy 78.572785 70.835188) (xy 78.562312 70.824715) (xy 78.499585 70.782801) (xy 78.485899 70.777132)
(xy 78.415547 70.763138) (xy 78.408194 70.762414) (xy 77.200806 70.762414) (xy 77.193453 70.763138) (xy 77.123101 70.777132)
(xy 77.109415 70.782801) (xy 77.046688 70.824715) (xy 77.036215 70.835188) (xy 76.994301 70.897915) (xy 76.988632 70.911601)
(xy 76.974638 70.981953) (xy 76.973914 70.989306) (xy 76.973914 72.796694) (xy 76.974638 72.804047) (xy 76.976896 72.8154)
(xy 73.032104 72.8154) (xy 73.034362 72.804047) (xy 73.035086 72.796694) (xy 73.035086 70.989306) (xy 73.034362 70.981953)
(xy 73.020368 70.911601) (xy 73.014699 70.897915) (xy 72.972785 70.835188) (xy 72.962312 70.824715) (xy 72.899585 70.782801)
(xy 72.885899 70.777132) (xy 72.815547 70.763138) (xy 72.808194 70.762414) (xy 71.600806 70.762414) (xy 71.593453 70.763138)
(xy 71.523101 70.777132) (xy 71.509415 70.782801) (xy 71.446688 70.824715) (xy 71.436215 70.835188) (xy 71.394301 70.897915)
(xy 71.388632 70.911601) (xy 71.374638 70.981953) (xy 71.373914 70.989306) (xy 71.373914 72.796694) (xy 71.374638 72.804047)
(xy 71.376896 72.8154) (xy 69.522562 72.8154) (xy 69.667646 72.686588) (xy 69.671149 72.683036) (xy 69.87041 72.452188)
(xy 69.873413 72.448203) (xy 70.040394 72.19303) (xy 70.042843 72.188684) (xy 70.174609 71.913668) (xy 70.176462 71.909036)
(xy 70.270696 71.619009) (xy 70.27192 71.614173) (xy 70.327053 71.313778) (xy 70.32766 71.3079) (xy 70.337828 70.891903)
(xy 70.337508 70.886002) (xy 70.297115 70.583273) (xy 70.296129 70.578382) (xy 70.216174 70.284098) (xy 70.21455 70.27938)
(xy 70.096375 69.998256) (xy 70.094141 69.993795) (xy 69.939826 69.730771) (xy 69.937021 69.726644) (xy 69.749275 69.486339)
(xy 69.745949 69.482619) (xy 69.528069 69.269255) (xy 69.524281 69.266008) (xy 69.280096 69.083335) (xy 69.275912 69.080617)
(xy 69.009712 68.931843) (xy 69.005205 68.929703) (xy 68.721668 68.817443) (xy 68.716918 68.815918) (xy 68.421024 68.742143)
(xy 68.416113 68.74126) (xy 68.113062 68.707268) (xy 68.108078 68.707041) (xy 67.803193 68.713428) (xy 67.798223 68.713863)
(xy 67.49686 68.760516) (xy 67.491991 68.761604) (xy 67.199447 68.847705) (xy 67.194765 68.849428) (xy 66.916177 68.973462)
(xy 66.911763 68.975789) (xy 66.652027 69.13558) (xy 66.647961 69.138471) (xy 66.41164 69.331209) (xy 66.407991 69.334611)
(xy 66.2321 69.521916) (xy 66.2321 60.060508) (xy 66.326442 60.17136) (xy 66.32992 60.174937) (xy 66.556544 60.37899)
(xy 66.560465 60.382075) (xy 66.812085 60.554363) (xy 66.816379 60.556903) (xy 67.088576 60.694398) (xy 67.093168 60.696348)
(xy 67.381157 60.796636) (xy 67.385967 60.797961) (xy 67.684691 60.859281) (xy 67.689634 60.859958) (xy 67.993843 60.88123)
(xy 67.998832 60.881247) (xy 68.303183 60.862099) (xy 68.30813 60.861456) (xy 68.607274 60.802224) (xy 68.612094 60.800933)
(xy 68.900777 60.702658) (xy 68.905383 60.700741) (xy 69.178532 60.565148) (xy 69.182844 60.562639) (xy 69.43566 60.392112)
(xy 69.439603 60.389054) (xy 69.667646 60.186588) (xy 69.671149 60.183036) (xy 69.87041 59.952188) (xy 69.873413 59.948203)
(xy 70.040394 59.69303) (xy 70.042843 59.688684) (xy 70.174609 59.413668) (xy 70.176462 59.409036) (xy 70.270696 59.119009)
(xy 70.27192 59.114173) (xy 70.327053 58.813778) (xy 70.32766 58.8079) (xy 70.337828 58.391903) (xy 70.337508 58.386002)
(xy 70.297115 58.083273) (xy 70.296129 58.078382) (xy 70.216174 57.784098) (xy 70.21455 57.77938) (xy 70.096375 57.498256)
(xy 70.094141 57.493795) (xy 69.939826 57.230771) (xy 69.937021 57.226644) (xy 69.749275 56.986339) (xy 69.745949 56.982619)
(xy 69.529442 56.7706) (xy 81.966311 56.7706)
)
)
(filled_polygon
(pts
(xy 75.022893 65.12189) (xy 75.03613 65.132457) (xy 75.047123 65.137759) (xy 75.145901 65.236538) (xy 75.1459 66.283603)
(xy 75.1459 67.022597) (xy 75.123101 67.027132) (xy 75.109415 67.032801) (xy 75.046688 67.074715) (xy 75.036215 67.085188)
(xy 75.0045 67.132652) (xy 74.972785 67.085188) (xy 74.962312 67.074715) (xy 74.899585 67.032801) (xy 74.885899 67.027132)
(xy 74.8611 67.022199) (xy 74.8611 66.952815) (xy 74.865038 66.941601) (xy 74.866955 66.924773) (xy 74.8611 66.872156)
(xy 74.8611 66.856058) (xy 74.860155 66.84767) (xy 74.8591 66.843044) (xy 74.8591 65.205139) (xy 74.961647 65.102592)
(xy 74.972366 65.097445) (xy 74.985621 65.086901) (xy 74.990325 65.081019)
)
)
)
(zone (net 3) (net_name GNDPWR) (layer B.Cu) (tstamp 0) (hatch edge 0.508)
(connect_pads yes (clearance 0.1524))
(min_thickness 0.1524)
(fill yes (arc_segments 32) (thermal_gap 0.508) (thermal_bridge_width 0.508))
(polygon
(pts
(xy 85.4145 74.398) (xy 63.8245 74.398) (xy 63.8245 55.348) (xy 85.4145 55.348)
)
)
(filled_polygon
(pts
(xy 81.973471 56.773072) (xy 81.983129 56.775046) (xy 82.253387 56.794182) (xy 82.497329 56.846701) (xy 82.731414 56.933059)
(xy 82.951008 57.051546) (xy 83.151714 57.199789) (xy 83.329522 57.374827) (xy 83.480904 57.573184) (xy 83.602826 57.790891)
(xy 83.692852 58.023592) (xy 83.749192 58.266661) (xy 83.771356 58.522579) (xy 83.77157 58.54976) (xy 83.772933 58.559523)
(xy 83.7769 58.573876) (xy 83.776901 71.004808) (xy 83.774428 71.01197) (xy 83.772454 71.021628) (xy 83.753318 71.291894)
(xy 83.700801 71.535822) (xy 83.614442 71.769912) (xy 83.495956 71.989505) (xy 83.34771 72.190214) (xy 83.17267 72.368025)
(xy 82.974317 72.519404) (xy 82.756609 72.641326) (xy 82.523908 72.731352) (xy 82.280838 72.787692) (xy 82.024921 72.809856)
(xy 81.997741 72.81007) (xy 81.987978 72.811433) (xy 81.973625 72.8154) (xy 68.04269 72.8154) (xy 68.03553 72.812928)
(xy 68.025872 72.810954) (xy 67.755606 72.791818) (xy 67.511678 72.739301) (xy 67.277588 72.652942) (xy 67.057995 72.534456)
(xy 66.857286 72.38621) (xy 66.679475 72.21117) (xy 66.528096 72.012817) (xy 66.406174 71.795109) (xy 66.316148 71.562408)
(xy 66.259808 71.319338) (xy 66.237644 71.063421) (xy 66.23743 71.036241) (xy 66.236067 71.026478) (xy 66.2321 71.012125)
(xy 66.2321 71.011462) (xy 66.672207 71.011462) (xy 66.686666 71.241269) (xy 66.687679 71.24789) (xy 66.742604 71.471504)
(xy 66.744773 71.477841) (xy 66.838429 71.688194) (xy 66.841686 71.694047) (xy 66.971111 71.88449) (xy 66.975353 71.889674)
(xy 67.136459 72.054189) (xy 67.141552 72.05854) (xy 67.329244 72.191925) (xy 67.335027 72.195304) (xy 67.543373 72.293344)
(xy 67.549663 72.295646) (xy 67.772078 72.355242) (xy 67.778676 72.356394) (xy 68.008129 72.375662) (xy 68.014827 72.375626)
(xy 68.244065 72.353957) (xy 68.250651 72.352736) (xy 68.47243 72.290814) (xy 68.478695 72.288447) (xy 68.686004 72.18823)
(xy 68.691751 72.184791) (xy 68.878035 72.049446) (xy 68.883082 72.045043) (xy 69.042456 71.878851) (xy 69.046644 71.873624)
(xy 69.174068 71.681834) (xy 69.177264 71.675948) (xy 69.268711 71.464626) (xy 69.270814 71.458267) (xy 69.323508 71.233609)
(xy 69.324491 71.225988) (xy 69.330108 71.011462) (xy 80.672207 71.011462) (xy 80.686666 71.241269) (xy 80.687679 71.24789)
(xy 80.742604 71.471504) (xy 80.744773 71.477841) (xy 80.838429 71.688194) (xy 80.841686 71.694047) (xy 80.971111 71.88449)
(xy 80.975353 71.889674) (xy 81.136459 72.054189) (xy 81.141552 72.05854) (xy 81.329244 72.191925) (xy 81.335027 72.195304)
(xy 81.543373 72.293344) (xy 81.549663 72.295646) (xy 81.772078 72.355242) (xy 81.778676 72.356394) (xy 82.008129 72.375662)
(xy 82.014827 72.375626) (xy 82.244065 72.353957) (xy 82.250651 72.352736) (xy 82.47243 72.290814) (xy 82.478695 72.288447)
(xy 82.686004 72.18823) (xy 82.691751 72.184791) (xy 82.878035 72.049446) (xy 82.883082 72.045043) (xy 83.042456 71.878851)
(xy 83.046644 71.873624) (xy 83.174068 71.681834) (xy 83.177264 71.675948) (xy 83.268711 71.464626) (xy 83.270814 71.458267)
(xy 83.323508 71.233609) (xy 83.324491 71.225988) (xy 83.332259 70.929346) (xy 83.331676 70.921684) (xy 83.290812 70.694577)
(xy 83.289045 70.688116) (xy 83.208783 70.472297) (xy 83.2059 70.466252) (xy 83.088687 70.268056) (xy 83.084778 70.262617)
(xy 82.934322 70.088311) (xy 82.929512 70.083649) (xy 82.750565 69.938742) (xy 82.745006 69.935006) (xy 82.543227 69.824077)
(xy 82.537094 69.821385) (xy 82.318861 69.747942) (xy 82.312348 69.746378) (xy 82.084557 69.71274) (xy 82.07787 69.712355)
(xy 81.847723 69.719587) (xy 81.841073 69.720392) (xy 81.615844 69.768267) (xy 81.609442 69.770236) (xy 81.396252 69.857238)
(xy 81.3903 69.86031) (xy 81.195884 69.983689) (xy 81.19057 69.987767) (xy 81.021076 70.143624) (xy 81.016568 70.148578)
(xy 80.877352 70.331988) (xy 80.873793 70.337662) (xy 80.769257 70.542826) (xy 80.766758 70.549041) (xy 80.700207 70.769474)
(xy 80.698848 70.776033) (xy 80.672382 71.004766) (xy 80.672207 71.011462) (xy 69.330108 71.011462) (xy 69.332259 70.929346)
(xy 69.331676 70.921684) (xy 69.290812 70.694577) (xy 69.289045 70.688116) (xy 69.208783 70.472297) (xy 69.2059 70.466252)
(xy 69.088687 70.268056) (xy 69.084778 70.262617) (xy 68.934322 70.088311) (xy 68.929512 70.083649) (xy 68.750565 69.938742)
(xy 68.745006 69.935006) (xy 68.543227 69.824077) (xy 68.537094 69.821385) (xy 68.318861 69.747942) (xy 68.312348 69.746378)
(xy 68.084557 69.71274) (xy 68.07787 69.712355) (xy 67.847723 69.719587) (xy 67.841073 69.720392) (xy 67.615844 69.768267)
(xy 67.609442 69.770236) (xy 67.396252 69.857238) (xy 67.3903 69.86031) (xy 67.195884 69.983689) (xy 67.19057 69.987767)
(xy 67.021076 70.143624) (xy 67.016568 70.148578) (xy 66.877352 70.331988) (xy 66.873793 70.337662) (xy 66.769257 70.542826)
(xy 66.766758 70.549041) (xy 66.700207 70.769474) (xy 66.698848 70.776033) (xy 66.672382 71.004766) (xy 66.672207 71.011462)
(xy 66.2321 71.011462) (xy 66.2321 66.807126) (xy 73.277901 66.807126) (xy 73.277901 66.972874) (xy 73.280791 66.987402)
(xy 73.34422 67.140533) (xy 73.352449 67.152849) (xy 73.426701 67.2271) (xy 73.426701 67.34269) (xy 73.431826 67.361816)
(xy 73.447542 67.389036) (xy 73.455675 67.419392) (xy 73.465576 67.436541) (xy 73.49051 67.461474) (xy 73.490515 67.461481)
(xy 73.796018 67.766985) (xy 73.796025 67.76699) (xy 73.820959 67.791925) (xy 73.838106 67.801825) (xy 73.868467 67.80996)
(xy 73.895684 67.825674) (xy 73.91481 67.830799) (xy 73.951524 67.830799) (xy 73.951532 67.8308) (xy 74.058596 67.8308)
(xy 74.02379 67.914829) (xy 74.0209 67.929357) (xy 74.0209 68.106643) (xy 74.02379 68.121171) (xy 74.091634 68.284961)
(xy 74.099863 68.297277) (xy 74.225223 68.422637) (xy 74.237539 68.430866) (xy 74.401329 68.49871) (xy 74.415857 68.5016)
(xy 74.555635 68.5016) (xy 74.861959 68.807925) (xy 74.879107 68.817825) (xy 74.909469 68.825961) (xy 74.936685 68.841674)
(xy 74.955811 68.846799) (xy 74.992524 68.846799) (xy 74.992532 68.8468) (xy 76.053468 68.8468) (xy 76.053476 68.846799)
(xy 76.090189 68.846799) (xy 76.109315 68.841674) (xy 76.136531 68.825961) (xy 76.166893 68.817825) (xy 76.184041 68.807925)
(xy 76.278424 68.713541) (xy 76.514485 68.477482) (xy 76.51449 68.477475) (xy 76.539425 68.452541) (xy 76.549325 68.435394)
(xy 76.55746 68.405033) (xy 76.573174 68.377816) (xy 76.578299 68.35869) (xy 76.578299 68.321976) (xy 76.5783 68.321968)
(xy 76.5783 67.227099) (xy 76.652551 67.152849) (xy 76.66078 67.140533) (xy 76.724209 66.987402) (xy 76.727099 66.972874)
(xy 76.727099 66.807126) (xy 76.724209 66.792598) (xy 76.66078 66.639467) (xy 76.652551 66.627151) (xy 76.535349 66.509949)
(xy 76.523033 66.50172) (xy 76.369902 66.438291) (xy 76.355374 66.435401) (xy 76.189626 66.435401) (xy 76.175098 66.438291)
(xy 76.021967 66.50172) (xy 76.009651 66.509949) (xy 75.892449 66.627151) (xy 75.88422 66.639467) (xy 75.820791 66.792598)
(xy 75.817901 66.807126) (xy 75.817901 66.972874) (xy 75.820791 66.987402) (xy 75.88422 67.140533) (xy 75.892449 67.152849)
(xy 75.9667 67.227099) (xy 75.966701 67.872972) (xy 75.915366 67.749039) (xy 75.907137 67.736723) (xy 75.781777 67.611363)
(xy 75.769461 67.603134) (xy 75.605671 67.53529) (xy 75.591143 67.5324) (xy 75.451365 67.5324) (xy 75.177041 67.258075)
(xy 75.159893 67.248175) (xy 75.129531 67.240039) (xy 75.102315 67.224326) (xy 75.083189 67.219201) (xy 75.046476 67.219201)
(xy 75.046468 67.2192) (xy 74.113167 67.2192) (xy 74.079683 67.185717) (xy 74.112551 67.152849) (xy 74.12078 67.140533)
(xy 74.184209 66.987402) (xy 74.187099 66.972874) (xy 74.187099 66.807126) (xy 74.184209 66.792598) (xy 74.12078 66.639467)
(xy 74.112551 66.627151) (xy 73.995349 66.509949) (xy 73.983033 66.50172) (xy 73.829902 66.438291) (xy 73.815374 66.435401)
(xy 73.649626 66.435401) (xy 73.635098 66.438291) (xy 73.481967 66.50172) (xy 73.469651 66.509949) (xy 73.352449 66.627151)
(xy 73.34422 66.639467) (xy 73.280791 66.792598) (xy 73.277901 66.807126) (xy 66.2321 66.807126) (xy 66.2321 65.231593)
(xy 72.060899 65.231593) (xy 72.060899 65.246407) (xy 72.0689 65.28663) (xy 72.0689 65.327642) (xy 72.07179 65.342171)
(xy 72.087485 65.380063) (xy 72.095486 65.420285) (xy 72.101155 65.43397) (xy 72.123938 65.46807) (xy 72.139634 65.505961)
(xy 72.147863 65.518277) (xy 72.176861 65.547274) (xy 72.199648 65.581377) (xy 72.210123 65.591852) (xy 72.244226 65.614639)
(xy 72.273223 65.643637) (xy 72.285539 65.651866) (xy 72.32343 65.667562) (xy 72.35753 65.690345) (xy 72.371215 65.696014)
(xy 72.411437 65.704015) (xy 72.449329 65.71971) (xy 72.463858 65.7226) (xy 77.541142 65.7226) (xy 77.555671 65.71971)
(xy 77.593563 65.704015) (xy 77.633785 65.696014) (xy 77.64747 65.690345) (xy 77.68157 65.667562) (xy 77.719461 65.651866)
(xy 77.731777 65.643637) (xy 77.760774 65.614639) (xy 77.794877 65.591852) (xy 77.805352 65.581377) (xy 77.828139 65.547274)
(xy 77.857137 65.518277) (xy 77.865366 65.505961) (xy 77.881062 65.46807) (xy 77.903845 65.43397) (xy 77.909514 65.420285)
(xy 77.917515 65.380063) (xy 77.93321 65.342171) (xy 77.9361 65.327642) (xy 77.9361 65.28663) (xy 77.944101 65.246407)
(xy 77.944101 65.231593) (xy 77.9361 65.19137) (xy 77.9361 65.150358) (xy 77.93321 65.135829) (xy 77.917515 65.097937)
(xy 77.909514 65.057715) (xy 77.903845 65.04403) (xy 77.881062 65.00993) (xy 77.865366 64.972039) (xy 77.857137 64.959723)
(xy 77.828139 64.930726) (xy 77.805352 64.896623) (xy 77.794877 64.886148) (xy 77.760774 64.863361) (xy 77.731777 64.834363)
(xy 77.719461 64.826134) (xy 77.68157 64.810438) (xy 77.64747 64.787655) (xy 77.633785 64.781986) (xy 77.593563 64.773985)
(xy 77.555671 64.75829) (xy 77.541142 64.7554) (xy 72.463858 64.7554) (xy 72.449329 64.75829) (xy 72.411437 64.773985)
(xy 72.371215 64.781986) (xy 72.35753 64.787655) (xy 72.32343 64.810438) (xy 72.285539 64.826134) (xy 72.273223 64.834363)
(xy 72.244226 64.863361) (xy 72.210123 64.886148) (xy 72.199648 64.896623) (xy 72.176861 64.930726) (xy 72.147863 64.959723)
(xy 72.139634 64.972039) (xy 72.123938 65.00993) (xy 72.101155 65.04403) (xy 72.095486 65.057715) (xy 72.087485 65.097937)
(xy 72.07179 65.135829) (xy 72.0689 65.150358) (xy 72.0689 65.19137) (xy 72.060899 65.231593) (xy 66.2321 65.231593)
(xy 66.2321 62.858975) (xy 71.559002 62.858975) (xy 71.560391 62.8696) (xy 71.600048 63.011631) (xy 71.604363 63.021438)
(xy 71.682289 63.146632) (xy 71.689184 63.154834) (xy 71.799115 63.253123) (xy 71.808034 63.25906) (xy 71.941133 63.322545)
(xy 71.95136 63.32574) (xy 72.096927 63.349317) (xy 72.10764 63.349514) (xy 72.253973 63.331287) (xy 72.264311 63.328469)
(xy 72.399647 63.269903) (xy 72.408779 63.264297) (xy 72.522236 63.170102) (xy 72.529427 63.162158) (xy 72.611887 63.039905)
(xy 72.616559 63.030262) (xy 72.661464 62.889559) (xy 72.663251 62.878526) (xy 72.663489 62.858975) (xy 77.339002 62.858975)
(xy 77.340391 62.8696) (xy 77.380048 63.011631) (xy 77.384363 63.021438) (xy 77.462289 63.146632) (xy 77.469184 63.154834)
(xy 77.579115 63.253123) (xy 77.588034 63.25906) (xy 77.721133 63.322545) (xy 77.73136 63.32574) (xy 77.876927 63.349317)
(xy 77.88764 63.349514) (xy 78.033973 63.331287) (xy 78.044311 63.328469) (xy 78.179647 63.269903) (xy 78.188779 63.264297)
(xy 78.302236 63.170102) (xy 78.309427 63.162158) (xy 78.391887 63.039905) (xy 78.396559 63.030262) (xy 78.441464 62.889559)
(xy 78.443251 62.878526) (xy 78.445201 62.718956) (xy 78.443684 62.707882) (xy 78.402231 62.566125) (xy 78.397796 62.556371)
(xy 78.318346 62.432139) (xy 78.311352 62.424022) (xy 78.200228 62.327083) (xy 78.191237 62.321255) (xy 78.057373 62.259401)
(xy 78.047107 62.256331) (xy 77.901263 62.234534) (xy 77.890548 62.234469) (xy 77.744448 62.254482) (xy 77.734146 62.257426)
(xy 77.599536 62.317641) (xy 77.590474 62.323358) (xy 77.478174 62.418933) (xy 77.471082 62.426964) (xy 77.390121 62.550215)
(xy 77.385567 62.559914) (xy 77.342453 62.700935) (xy 77.340804 62.711522) (xy 77.339002 62.858975) (xy 72.663489 62.858975)
(xy 72.665201 62.718956) (xy 72.663684 62.707882) (xy 72.622231 62.566125) (xy 72.617796 62.556371) (xy 72.538346 62.432139)
(xy 72.531352 62.424022) (xy 72.420228 62.327083) (xy 72.411237 62.321255) (xy 72.277373 62.259401) (xy 72.267107 62.256331)
(xy 72.121263 62.234534) (xy 72.110548 62.234469) (xy 71.964448 62.254482) (xy 71.954146 62.257426) (xy 71.819536 62.317641)
(xy 71.810474 62.323358) (xy 71.698174 62.418933) (xy 71.691082 62.426964) (xy 71.610121 62.550215) (xy 71.605567 62.559914)
(xy 71.562453 62.700935) (xy 71.560804 62.711522) (xy 71.559002 62.858975) (xy 66.2321 62.858975) (xy 66.2321 58.581189)
(xy 66.234572 58.574029) (xy 66.236546 58.564371) (xy 66.240292 58.511462) (xy 66.672207 58.511462) (xy 66.686666 58.741269)
(xy 66.687679 58.74789) (xy 66.742604 58.971504) (xy 66.744773 58.977841) (xy 66.838429 59.188194) (xy 66.841686 59.194047)
(xy 66.971111 59.38449) (xy 66.975353 59.389674) (xy 67.136459 59.554189) (xy 67.141552 59.55854) (xy 67.329244 59.691925)
(xy 67.335027 59.695304) (xy 67.543373 59.793344) (xy 67.549663 59.795646) (xy 67.772078 59.855242) (xy 67.778676 59.856394)
(xy 68.008129 59.875662) (xy 68.014827 59.875626) (xy 68.244065 59.853957) (xy 68.250651 59.852736) (xy 68.47243 59.790814)
(xy 68.478695 59.788447) (xy 68.686004 59.68823) (xy 68.691751 59.684791) (xy 68.878035 59.549446) (xy 68.883082 59.545043)
(xy 69.042456 59.378851) (xy 69.046644 59.373624) (xy 69.174068 59.181834) (xy 69.177264 59.175948) (xy 69.268711 58.964626)
(xy 69.270814 58.958267) (xy 69.323508 58.733609) (xy 69.324491 58.725988) (xy 69.332259 58.429346) (xy 69.331676 58.421684)
(xy 69.290812 58.194577) (xy 69.289045 58.188116) (xy 69.208783 57.972297) (xy 69.2059 57.966252) (xy 69.20011 57.956461)
(xy 71.238547 57.956461) (xy 71.238547 57.957112) (xy 71.238568 57.979408) (xy 71.238568 57.979465) (xy 71.23857 57.980313)
(xy 71.23857 57.980316) (xy 71.23862 58.000034) (xy 71.23862 58.000053) (xy 71.238623 58.001078) (xy 71.238624 58.001132)
(xy 71.238701 58.018432) (xy 71.238701 58.018484) (xy 71.238709 58.019901) (xy 71.23871 58.019949) (xy 71.238816 58.034875)
(xy 71.238817 58.03494) (xy 71.238833 58.036816) (xy 71.238834 58.036884) (xy 71.238969 58.049542) (xy 71.23897 58.049638)
(xy 71.239006 58.052386) (xy 71.239008 58.052484) (xy 71.239174 58.062972) (xy 71.239176 58.063119) (xy 71.239256 58.067164)
(xy 71.239259 58.067303) (xy 71.239456 58.075727) (xy 71.239463 58.07596) (xy 71.239661 58.082643) (xy 71.239668 58.082882)
(xy 71.239904 58.089418) (xy 71.239922 58.089865) (xy 71.240527 58.102477) (xy 71.240551 58.102921) (xy 71.240832 58.107626)
(xy 71.240866 58.108129) (xy 71.241908 58.122363) (xy 71.241949 58.122866) (xy 71.242042 58.123946) (xy 71.242113 58.12468)
(xy 71.244327 58.145448) (xy 71.244412 58.146182) (xy 71.248008 58.17461) (xy 71.248229 58.176112) (xy 71.255333 58.218465)
(xy 71.255614 58.219956) (xy 71.261191 58.24657) (xy 71.261601 58.248318) (xy 71.274377 58.297472) (xy 71.27487 58.299198)
(xy 71.282544 58.323828) (xy 71.283215 58.325789) (xy 71.303705 58.380698) (xy 71.304482 58.382619) (xy 71.314401 58.405299)
(xy 71.315388 58.40738) (xy 71.345098 58.465365) (xy 71.346212 58.467382) (xy 71.358486 58.488104) (xy 71.359806 58.490174)
(xy 71.398999 58.547453) (xy 71.40045 58.549432) (xy 71.415138 58.56815) (xy 71.416733 58.570051) (xy 71.463602 58.622282)
(xy 71.465319 58.624073) (xy 71.482404 58.640755) (xy 71.484161 58.642366) (xy 71.535273 58.686303) (xy 71.537128 58.687799)
(xy 71.556553 58.702464) (xy 71.55833 58.703727) (xy 71.609595 58.737958) (xy 71.611442 58.739115) (xy 71.633153 58.751858)
(xy 71.63483 58.752786) (xy 71.682935 58.777817) (xy 71.684658 58.778658) (xy 71.708572 58.789591) (xy 71.709939 58.790184)
(xy 71.748949 58.80618) (xy 71.750339 58.806718) (xy 71.771472 58.814421) (xy 71.77257 58.814802) (xy 71.803802 58.825104)
(xy 71.804912 58.825451) (xy 71.825889 58.831659) (xy 71.826951 58.831956) (xy 71.857123 58.83993) (xy 71.858194 58.840196)
(xy 71.880279 58.845345) (xy 71.881274 58.845562) (xy 71.909524 58.851347) (xy 71.910527 58.851538) (xy 71.934054 58.855694)
(xy 71.934939 58.855839) (xy 71.960014 58.859654) (xy 71.960902 58.859778) (xy 71.986206 58.863013) (xy 71.98696 58.863102)
(xy 72.008284 58.865392) (xy 72.009038 58.865465) (xy 72.036426 58.867849) (xy 72.036939 58.86789) (xy 72.051527 58.868959)
(xy 72.052044 58.868993) (xy 72.070928 58.870115) (xy 72.071414 58.870141) (xy 72.085196 58.87078) (xy 72.085684 58.8708)
(xy 72.090666 58.870966) (xy 72.090928 58.870974) (xy 72.098257 58.871168) (xy 72.098513 58.871174) (xy 72.106183 58.871325)
(xy 72.106288 58.871326) (xy 72.109493 58.87138) (xy 72.109614 58.871382) (xy 72.12 58.871524) (xy 72.120067 58.871524)
(xy 72.12191 58.871546) (xy 72.121973 58.871547) (xy 72.135045 58.871679) (xy 72.135086 58.87168) (xy 72.136235 58.87169)
(xy 72.136274 58.87169) (xy 72.151994 58.871816) (xy 72.15206 58.871816) (xy 72.152896 58.871822) (xy 72.152896 58.871821)
(xy 72.171117 58.871938) (xy 72.17176 58.871943) (xy 72.171807 58.871943) (xy 72.192579 58.872051) (xy 72.19261 58.872051)
(xy 72.193082 58.872053) (xy 72.193085 58.872053) (xy 72.216148 58.872153) (xy 72.216548 58.872155) (xy 72.216618 58.872155)
(xy 72.242154 58.872248) (xy 72.242178 58.872248) (xy 72.242527 58.872249) (xy 72.270334 58.872331) (xy 72.270582 58.872331)
(xy 72.300517 58.872404) (xy 72.300641 58.872404) (xy 72.300732 58.872405) (xy 72.332857 58.872469) (xy 72.33308 58.872469)
(xy 72.367043 58.872522) (xy 72.367087 58.872522) (xy 72.367261 58.872523) (xy 72.403395 58.872567) (xy 72.403579 58.872567)
(xy 72.441495 58.8726) (xy 72.44165 58.8726) (xy 72.481358 58.872623) (xy 72.481517 58.872623) (xy 72.522941 58.872635)
(xy 72.523068 58.872635) (xy 72.538565 58.872636) (xy 72.538571 58.872636) (xy 72.943352 58.872657) (xy 72.946036 58.872561)
(xy 73.024462 58.866954) (xy 73.029594 58.866028) (xy 73.073038 58.872274) (xy 73.078395 58.872657) (xy 73.497083 58.872657)
(xy 73.49623 58.874708) (xy 73.495353 58.877032) (xy 73.48771 58.8995) (xy 73.487056 58.901625) (xy 73.470361 58.962237)
(xy 73.469834 58.964396) (xy 73.464763 58.988226) (xy 73.464564 58.98923) (xy 73.459307 59.017722) (xy 73.459135 59.018731)
(xy 73.458852 59.020539) (xy 73.458731 59.021379) (xy 73.455551 59.04521) (xy 73.455448 59.046054) (xy 73.454643 59.05334)
(xy 73.454561 59.054176) (xy 73.452481 59.077832) (xy 73.452417 59.078668) (xy 73.451794 59.088187) (xy 73.451767 59.088639)
(xy 73.451087 59.101375) (xy 73.451066 59.101823) (xy 73.450602 59.113008) (xy 73.450592 59.113295) (xy 73.450314 59.121524)
(xy 73.450305 59.121818) (xy 73.44998 59.134343) (xy 73.449975 59.134571) (xy 73.44985 59.14088) (xy 73.449846 59.141098)
(xy 73.449657 59.154528) (xy 73.449655 59.154713) (xy 73.449606 59.160057) (xy 73.449605 59.160249) (xy 73.449549 59.174135)
(xy 73.449549 59.174317) (xy 73.449553 59.179369) (xy 73.449554 59.179545) (xy 73.44963 59.193408) (xy 73.449631 59.193597)
(xy 73.449687 59.198918) (xy 73.44969 59.199105) (xy 73.449897 59.212484) (xy 73.449901 59.212706) (xy 73.450038 59.2191)
(xy 73.450043 59.219329) (xy 73.450386 59.231772) (xy 73.450395 59.232072) (xy 73.450695 59.240505) (xy 73.450706 59.240801)
(xy 73.451187 59.251869) (xy 73.451209 59.252325) (xy 73.451931 59.26531) (xy 73.451959 59.265772) (xy 73.452597 59.275162)
(xy 73.452667 59.276045) (xy 73.454956 59.301021) (xy 73.455048 59.301903) (xy 73.455865 59.308984) (xy 73.455963 59.309761)
(xy 73.457589 59.321662) (xy 73.456825 59.324986) (xy 73.456644 59.325819) (xy 73.45177 59.349485) (xy 73.451607 59.350325)
(xy 73.450436 59.356745) (xy 73.450295 59.35757) (xy 73.44657 59.380928) (xy 73.446448 59.381754) (xy 73.445497 59.388711)
(xy 73.445404 59.38944) (xy 73.44299 59.410095) (xy 73.442912 59.410826) (xy 73.442166 59.418507) (xy 73.442113 59.419094)
(xy 73.440759 59.435742) (xy 73.440716 59.436332) (xy 73.44015 59.444969) (xy 73.440124 59.445415) (xy 73.439448 59.458022)
(xy 73.439427 59.458468) (xy 73.439016 59.468322) (xy 73.439003 59.468647) (xy 73.438698 59.477899) (xy 73.438688 59.478228)
(xy 73.438412 59.489578) (xy 73.438408 59.489809) (xy 73.438289 59.496311) (xy 73.438286 59.496541) (xy 73.438128 59.509661)
(xy 73.438126 59.509819) (xy 73.438091 59.514292) (xy 73.43809 59.514451) (xy 73.438034 59.52962) (xy 73.438034 59.529731)
(xy 73.438032 59.532718) (xy 73.438032 59.532817) (xy 73.438066 59.550299) (xy 73.438066 59.55037) (xy 73.438074 59.552255)
(xy 73.438074 59.552316) (xy 73.438184 59.572369) (xy 73.438184 59.572391) (xy 73.43819 59.573242) (xy 73.43819 59.57328)
(xy 73.438246 59.581166) (xy 73.438248 59.581478) (xy 73.438248 59.581511) (xy 73.438394 59.600568) (xy 73.438394 59.600585)
(xy 73.438401 59.60135) (xy 73.438401 59.601387) (xy 73.438551 59.617803) (xy 73.438551 59.617887) (xy 73.438574 59.619897)
(xy 73.438575 59.619955) (xy 73.438756 59.634016) (xy 73.438758 59.634148) (xy 73.438819 59.637879) (xy 73.438822 59.638011)
(xy 73.439061 59.650043) (xy 73.439066 59.650263) (xy 73.439229 59.656584) (xy 73.439235 59.656811) (xy 73.439564 59.667132)
(xy 73.439576 59.667481) (xy 73.43998 59.677291) (xy 73.439995 59.677635) (xy 73.440444 59.686552) (xy 73.440473 59.68706)
(xy 73.441393 59.701477) (xy 73.441429 59.701989) (xy 73.442037 59.709828) (xy 73.442098 59.710528) (xy 73.444 59.730267)
(xy 73.444074 59.730962) (xy 73.444885 59.738007) (xy 73.444996 59.738881) (xy 73.448433 59.763606) (xy 73.448565 59.764479)
(xy 73.449623 59.770969) (xy 73.449793 59.771933) (xy 73.454959 59.799143) (xy 73.455154 59.800101) (xy 73.456477 59.806197)
(xy 73.456686 59.807106) (xy 73.462923 59.832764) (xy 73.463155 59.833668) (xy 73.46473 59.839512) (xy 73.464929 59.84022)
(xy 73.470745 59.860232) (xy 73.470958 59.860938) (xy 73.472758 59.866708) (xy 73.472898 59.867148) (xy 73.476931 59.879534)
(xy 73.477076 59.879971) (xy 73.479091 59.885911) (xy 73.479147 59.886076) (xy 73.480776 59.890809) (xy 73.480835 59.890979)
(xy 73.482884 59.896839) (xy 73.483345 59.898085) (xy 73.496983 59.933072) (xy 73.497486 59.9343) (xy 73.506393 59.954964)
(xy 73.507541 59.957386) (xy 73.542419 60.024669) (xy 73.543736 60.027004) (xy 73.555733 60.046592) (xy 73.557216 60.048829)
(xy 73.601366 60.110554) (xy 73.603004 60.11268) (xy 73.617778 60.130498) (xy 73.619489 60.132423) (xy 73.669684 60.185155)
(xy 73.671522 60.186958) (xy 73.688962 60.202932) (xy 73.690763 60.20448) (xy 73.743048 60.246624) (xy 73.744943 60.248055)
(xy 73.764934 60.262185) (xy 73.766703 60.263362) (xy 73.817659 60.29522) (xy 73.819492 60.296295) (xy 73.841947 60.308629)
(xy 73.843599 60.309483) (xy 73.890911 60.3325) (xy 73.892603 60.333272) (xy 73.917131 60.343739) (xy 73.91791 60.344061)
(xy 73.94009 60.352943) (xy 73.940878 60.353248) (xy 73.942284 60.353775) (xy 73.943095 60.354068) (xy 73.966141 60.362103)
(xy 73.966957 60.362377) (xy 73.988831 60.369446) (xy 73.990261 60.369877) (xy 74.030896 60.381248) (xy 74.03234 60.381621)
(xy 74.056678 60.387402) (xy 74.057916 60.387674) (xy 74.093086 60.394784) (xy 74.094334 60.395015) (xy 74.120873 60.399454)
(xy 74.121924 60.399615) (xy 74.15173 60.403738) (xy 74.152785 60.403868) (xy 74.181519 60.407018) (xy 74.182063 60.407074)
(xy 74.197451 60.408534) (xy 74.197994 60.408582) (xy 74.204232 60.409083) (xy 74.204857 60.409128) (xy 74.222572 60.410254)
(xy 74.223199 60.410288) (xy 74.22775 60.410501) (xy 74.228147 60.410518) (xy 74.239367 60.410924) (xy 74.239764 60.410936)
(xy 74.24698 60.411121) (xy 74.247142 60.411125) (xy 74.251756 60.411224) (xy 74.25192 60.411227) (xy 74.261824 60.411395)
(xy 74.261918 60.411396) (xy 74.264425 60.411433) (xy 74.264508 60.411434) (xy 74.277128 60.411589) (xy 74.277179 60.411589)
(xy 74.278794 60.411607) (xy 74.278857 60.411608) (xy 74.294171 60.411749) (xy 74.294195 60.411749) (xy 74.295278 60.411758)
(xy 74.295331 60.411759) (xy 74.3133 60.411888) (xy 74.313326 60.411888) (xy 74.314122 60.411894) (xy 74.314152 60.411894)
(xy 74.334711 60.412011) (xy 74.334748 60.412011) (xy 74.335404 60.412014) (xy 74.335414 60.412014) (xy 74.358492 60.412117)
(xy 74.35851 60.412117) (xy 74.359033 60.412119) (xy 74.359051 60.41212) (xy 74.384616 60.412209) (xy 74.384647 60.412209)
(xy 74.385031 60.41221) (xy 74.412989 60.412287) (xy 74.413365 60.412288) (xy 74.413392 60.412288) (xy 74.44376 60.41235)
(xy 74.444077 60.41235) (xy 74.476616 60.412397) (xy 74.476782 60.412398) (xy 74.476902 60.412398) (xy 74.511829 60.412432)
(xy 74.512098 60.412432) (xy 74.549133 60.41245) (xy 74.549326 60.41245) (xy 74.577473 60.412454) (xy 74.885597 60.412454)
(xy 74.888393 60.41235) (xy 74.963543 60.406747) (xy 75.000787 60.412075) (xy 75.006145 60.412455) (xy 75.37603 60.412195)
(xy 75.37605 60.412195) (xy 75.408902 60.41217) (xy 75.408967 60.41217) (xy 75.441088 60.412142) (xy 75.441123 60.412142)
(xy 75.472381 60.412111) (xy 75.472437 60.412111) (xy 75.502706 60.412077) (xy 75.502768 60.412077) (xy 75.532178 60.41204)
(xy 75.532332 60.412039) (xy 75.559869 60.412) (xy 75.559927 60.412) (xy 75.586454 60.411959) (xy 75.586524 60.411959)
(xy 75.611546 60.411916) (xy 75.611607 60.411916) (xy 75.634996 60.411872) (xy 75.635075 60.411872) (xy 75.656703 60.411827)
(xy 75.656807 60.411827) (xy 75.676616 60.411781) (xy 75.676755 60.41178) (xy 75.676785 60.41178) (xy 75.694409 60.411733)
(xy 75.694605 60.411733) (xy 75.710207 60.411685) (xy 75.710251 60.411684) (xy 75.710455 60.411683) (xy 75.710455 60.411684)
(xy 75.723713 60.411636) (xy 75.723746 60.411636) (xy 75.724215 60.411634) (xy 75.735054 60.411586) (xy 75.735065 60.411586)
(xy 75.735722 60.411583) (xy 75.735757 60.411583) (xy 75.744101 60.411536) (xy 75.744161 60.411535) (xy 75.745588 60.411525)
(xy 75.745628 60.411525) (xy 75.751351 60.411477) (xy 75.751494 60.411475) (xy 75.755497 60.411427) (xy 75.755636 60.411425)
(xy 75.758808 60.411374) (xy 75.759343 60.411362) (xy 75.774522 60.410905) (xy 75.775059 60.410885) (xy 75.776169 60.410835)
(xy 75.777311 60.410767) (xy 75.809583 60.408348) (xy 75.810723 60.408245) (xy 75.843112 60.404823) (xy 75.844391 60.404666)
(xy 75.880501 60.399595) (xy 75.881774 60.399393) (xy 75.912022 60.394083) (xy 75.913468 60.393799) (xy 75.954206 60.384989)
(xy 75.955639 60.384649) (xy 75.983848 60.377381) (xy 75.985448 60.376931) (xy 76.030396 60.363206) (xy 76.031973 60.362686)
(xy 76.058206 60.353391) (xy 76.059917 60.352738) (xy 76.107847 60.333079) (xy 76.109524 60.332343) (xy 76.133793 60.320978)
(xy 76.135494 60.320128) (xy 76.182984 60.294889) (xy 76.18464 60.293955) (xy 76.205577 60.281431) (xy 76.207205 60.2804)
(xy 76.252493 60.250056) (xy 76.254066 60.248942) (xy 76.264575 60.241093) (xy 76.265707 60.240213) (xy 76.29727 60.214704)
(xy 76.298368 60.213781) (xy 76.309037 60.204464) (xy 76.30988 60.203705) (xy 76.333394 60.181885) (xy 76.334213 60.181102)
(xy 76.344507 60.170955) (xy 76.34531 60.170139) (xy 76.367673 60.146713) (xy 76.368451 60.145873) (xy 76.377834 60.135425)
(xy 76.378795 60.134312) (xy 76.40535 60.102309) (xy 76.406267 60.10116) (xy 76.413844 60.091266) (xy 76.414537 60.090331)
(xy 76.433758 60.063554) (xy 76.434422 60.062597) (xy 76.435727 60.060655) (xy 76.436458 60.059524) (xy 76.456569 60.027142)
(xy 76.457259 60.025985) (xy 76.469396 60.004783) (xy 76.470494 60.00272) (xy 76.499701 59.943437) (xy 76.500668 59.94131)
(xy 76.510525 59.91771) (xy 76.5113 59.915692) (xy 76.531587 59.858) (xy 76.532246 59.85594) (xy 76.539482 59.830834)
(xy 76.53981 59.829622) (xy 76.548505 59.795173) (xy 76.548792 59.79395) (xy 76.55038 59.786638) (xy 76.550479 59.786165)
(xy 76.553202 59.772801) (xy 76.553294 59.772331) (xy 76.553731 59.770036) (xy 76.553834 59.769477) (xy 76.55661 59.753597)
(xy 76.556704 59.753034) (xy 76.557108 59.750493) (xy 76.557203 59.749867) (xy 76.559719 59.732144) (xy 76.559803 59.731517)
(xy 76.560158 59.728673) (xy 76.560224 59.728112) (xy 76.561968 59.712212) (xy 76.562025 59.711649) (xy 76.562327 59.708453)
(xy 76.562367 59.708) (xy 76.563418 59.695226) (xy 76.563453 59.694776) (xy 76.56371 59.691113) (xy 76.563733 59.690761)
(xy 76.564339 59.680785) (xy 76.564359 59.680432) (xy 76.564579 59.676154) (xy 76.564591 59.675898) (xy 76.564911 59.668703)
(xy 76.564922 59.668451) (xy 76.565112 59.663413) (xy 76.565119 59.663224) (xy 76.565296 59.65781) (xy 76.565302 59.657617)
(xy 76.565466 59.651652) (xy 76.56547 59.651513) (xy 76.565563 59.647609) (xy 76.565566 59.647472) (xy 76.565709 59.640438)
(xy 76.56571 59.640338) (xy 76.565761 59.63745) (xy 76.565763 59.637346) (xy 76.565885 59.629091) (xy 76.565886 59.629018)
(xy 76.565913 59.626926) (xy 76.565914 59.626851) (xy 76.566019 59.617222) (xy 76.56602 59.617151) (xy 76.566034 59.615539)
(xy 76.566035 59.615496) (xy 76.566122 59.604387) (xy 76.566122 59.604368) (xy 76.56613 59.603239) (xy 76.566131 59.603178)
(xy 76.566204 59.59039) (xy 76.566204 59.59035) (xy 76.566208 59.589462) (xy 76.566208 59.589439) (xy 76.566267 59.574883)
(xy 76.566268 59.574858) (xy 76.56627 59.574249) (xy 76.56627 59.57423) (xy 76.566318 59.557742) (xy 76.566318 59.557708)
(xy 76.566319 59.557191) (xy 76.566319 59.557188) (xy 76.566355 59.538742) (xy 76.566356 59.53838) (xy 76.566356 59.538315)
(xy 76.566383 59.517527) (xy 76.566383 59.517271) (xy 76.566402 59.494188) (xy 76.566402 59.494018) (xy 76.566415 59.468469)
(xy 76.566415 59.468326) (xy 76.566422 59.440173) (xy 76.566422 59.440088) (xy 76.566425 59.409195) (xy 76.566425 59.128997)
(xy 76.566202 59.124902) (xy 76.553598 59.009783) (xy 76.55293 59.005736) (xy 76.5491 58.98845) (xy 76.548943 58.987774)
(xy 76.544332 58.968647) (xy 76.544163 58.967972) (xy 76.538436 58.946007) (xy 76.537974 58.944388) (xy 76.52391 58.898897)
(xy 76.523377 58.897301) (xy 76.516123 58.877088) (xy 76.515382 58.875188) (xy 76.492973 58.822016) (xy 76.49213 58.820158)
(xy 76.483132 58.801676) (xy 76.482087 58.799684) (xy 76.466878 58.772679) (xy 76.471102 58.776339) (xy 76.480151 58.782155)
(xy 76.622814 58.847307) (xy 76.633135 58.850337) (xy 76.785709 58.872274) (xy 76.791067 58.872657) (xy 76.941261 58.872657)
(xy 76.949276 58.871795) (xy 77.081023 58.843135) (xy 77.097088 58.847076) (xy 77.098275 58.847347) (xy 77.131992 58.854466)
(xy 77.133187 58.854699) (xy 77.151118 58.857882) (xy 77.152104 58.858044) (xy 77.180057 58.862244) (xy 77.181047 58.86238)
(xy 77.200619 58.864791) (xy 77.201372 58.864876) (xy 77.222688 58.867067) (xy 77.223442 58.867137) (xy 77.245045 58.868919)
(xy 77.245383 58.868946) (xy 77.254898 58.869644) (xy 77.255233 58.869667) (xy 77.259052 58.869914) (xy 77.259529 58.869941)
(xy 77.273083 58.870642) (xy 77.273564 58.870664) (xy 77.278006 58.870837) (xy 77.278332 58.870848) (xy 77.287536 58.871126)
(xy 77.28786 58.871134) (xy 77.294908 58.871286) (xy 77.29504 58.871289) (xy 77.298831 58.871357) (xy 77.298967 58.871359)
(xy 77.308498 58.871497) (xy 77.308567 58.871498) (xy 77.310544 58.871522) (xy 77.310614 58.871523) (xy 77.322542 58.871651)
(xy 77.322612 58.871652) (xy 77.3239 58.871663) (xy 77.323921 58.871663) (xy 77.338049 58.87178) (xy 77.338056 58.87178)
(xy 77.33895 58.871788) (xy 77.339007 58.871788) (xy 77.355236 58.871895) (xy 77.355249 58.871895) (xy 77.355913 58.8719)
(xy 77.355946 58.8719) (xy 77.374085 58.871997) (xy 77.374136 58.871997) (xy 77.374632 58.871999) (xy 77.394392 58.872086)
(xy 77.394803 58.872088) (xy 77.394863 58.872088) (xy 77.416289 58.872167) (xy 77.416322 58.872167) (xy 77.416687 58.872168)
(xy 77.439497 58.872235) (xy 77.439749 58.872235) (xy 77.463706 58.872293) (xy 77.463889 58.872294) (xy 77.463963 58.872294)
(xy 77.489019 58.872342) (xy 77.489224 58.872342) (xy 77.514975 58.872381) (xy 77.51514 58.872382) (xy 77.515262 58.872382)
(xy 77.541848 58.87241) (xy 77.542036 58.87241) (xy 77.569053 58.872429) (xy 77.56926 58.872429) (xy 77.596593 58.872438)
(xy 77.624459 58.872438) (xy 77.651911 58.872429) (xy 77.652117 58.872429) (xy 77.679371 58.872409) (xy 77.679554 58.872409)
(xy 77.706505 58.87238) (xy 77.706646 58.872379) (xy 77.706671 58.872379) (xy 77.732975 58.87234) (xy 77.733172 58.87234)
(xy 77.75878 58.872292) (xy 77.759016 58.872292) (xy 77.783755 58.872234) (xy 77.783816 58.872234) (xy 77.784012 58.872233)
(xy 77.8076 58.872166) (xy 77.807614 58.872166) (xy 77.807938 58.872165) (xy 77.807947 58.872165) (xy 77.830274 58.872088)
(xy 77.8306 58.872087) (xy 77.830645 58.872086) (xy 77.851564 58.872) (xy 77.851579 58.872) (xy 77.852038 58.871998)
(xy 77.852056 58.871998) (xy 77.871356 58.871902) (xy 77.871384 58.871902) (xy 77.871928 58.871899) (xy 77.871939 58.871899)
(xy 77.889454 58.871794) (xy 77.88949 58.871793) (xy 77.890235 58.871788) (xy 77.890252 58.871788) (xy 77.905811 58.871673)
(xy 77.905848 58.871673) (xy 77.906835 58.871664) (xy 77.906867 58.871664) (xy 77.920302 58.87154) (xy 77.920355 58.871539)
(xy 77.921814 58.871523) (xy 77.921865 58.871523) (xy 77.933012 58.871389) (xy 77.933095 58.871388) (xy 77.935502 58.871354)
(xy 77.935589 58.871352) (xy 77.944311 58.871208) (xy 77.944486 58.871205) (xy 77.949332 58.871102) (xy 77.9495 58.871098)
(xy 77.955683 58.87094) (xy 77.956028 58.870929) (xy 77.965879 58.870586) (xy 77.96623 58.870572) (xy 77.969121 58.870445)
(xy 77.969936 58.8704) (xy 77.992943 58.868882) (xy 77.993754 58.86882) (xy 78.023773 58.866186) (xy 78.024935 58.866066)
(xy 78.057782 58.862153) (xy 78.058941 58.861996) (xy 78.086941 58.857773) (xy 78.088286 58.857546) (xy 78.126183 58.850415)
(xy 78.127517 58.850139) (xy 78.153699 58.844224) (xy 78.155179 58.843858) (xy 78.196833 58.832655) (xy 78.198298 58.83223)
(xy 78.222918 58.824525) (xy 78.224461 58.824005) (xy 78.267768 58.808364) (xy 78.269287 58.807778) (xy 78.29232 58.798314)
(xy 78.293331 58.797882) (xy 78.321752 58.78522) (xy 78.32275 58.784758) (xy 78.330524 58.781018) (xy 78.331371 58.780598)
(xy 78.355173 58.768402) (xy 78.356009 58.76796) (xy 78.374038 58.758143) (xy 78.375471 58.757321) (xy 78.415486 58.733196)
(xy 78.416881 58.732313) (xy 78.432938 58.721644) (xy 78.434511 58.720539) (xy 78.478205 58.68817) (xy 78.47972 58.686986)
(xy 78.493912 58.675303) (xy 78.495025 58.67435) (xy 78.525956 58.646799) (xy 78.52703 58.645804) (xy 78.534128 58.638968)
(xy 78.535315 58.637772) (xy 78.568132 58.603201) (xy 78.569265 58.601953) (xy 78.584713 58.584145) (xy 78.586277 58.582216)
(xy 78.628706 58.52623) (xy 78.63014 58.524202) (xy 78.643303 58.504218) (xy 78.644584 58.502128) (xy 78.678856 58.441886)
(xy 78.679997 58.439718) (xy 78.690606 58.417872) (xy 78.691549 58.415768) (xy 78.716387 58.355473) (xy 78.717199 58.353315)
(xy 78.725289 58.329653) (xy 78.725908 58.327663) (xy 78.741864 58.270901) (xy 78.742372 58.268879) (xy 78.747961 58.243716)
(xy 78.748203 58.242535) (xy 78.754521 58.209053) (xy 78.754726 58.207867) (xy 78.755969 58.19988) (xy 78.756062 58.199249)
(xy 78.758538 58.181361) (xy 78.75862 58.180728) (xy 78.758942 58.178068) (xy 78.759011 58.177458) (xy 78.760818 58.160184)
(xy 78.760877 58.159574) (xy 78.761151 58.156462) (xy 78.761187 58.156025) (xy 78.762133 58.143633) (xy 78.762164 58.143195)
(xy 78.762398 58.139571) (xy 78.762417 58.13926) (xy 78.762915 58.130426) (xy 78.762931 58.130113) (xy 78.763137 58.12582)
(xy 78.763147 58.125599) (xy 78.763413 58.119264) (xy 78.763422 58.119038) (xy 78.763606 58.113921) (xy 78.763612 58.113745)
(xy 78.763762 58.10898) (xy 78.763766 58.108819) (xy 78.76393 58.102763) (xy 78.763933 58.102644) (xy 78.764013 58.099303)
(xy 78.764016 58.099185) (xy 78.764164 58.092055) (xy 78.764165 58.09198) (xy 78.764213 58.089437) (xy 78.764215 58.089332)
(xy 78.764348 58.080976) (xy 78.764349 58.080897) (xy 78.764377 58.078879) (xy 78.764378 58.078816) (xy 78.764496 58.069152)
(xy 78.764496 58.069103) (xy 78.764512 58.067672) (xy 78.764512 58.06762) (xy 78.764618 58.056505) (xy 78.764618 58.056458)
(xy 78.764628 58.055325) (xy 78.764628 58.055292) (xy 78.764721 58.04263) (xy 78.764721 58.042612) (xy 78.764727 58.041706)
(xy 78.764728 58.04166) (xy 78.764809 58.027297) (xy 78.764809 58.027259) (xy 78.764812 58.026593) (xy 78.764812 58.026583)
(xy 78.764883 58.010444) (xy 78.764883 58.010414) (xy 78.764886 58.009842) (xy 78.764886 58.009831) (xy 78.764946 57.991777)
(xy 78.764946 57.991746) (xy 78.764947 57.991331) (xy 78.764998 57.971325) (xy 78.764999 57.97099) (xy 78.764999 57.970942)
(xy 78.765042 57.948843) (xy 78.765043 57.948522) (xy 78.765043 57.94844) (xy 78.765077 57.923922) (xy 78.765077 57.923745)
(xy 78.765105 57.896908) (xy 78.765105 57.896735) (xy 78.765126 57.867424) (xy 78.765126 57.867292) (xy 78.765141 57.835392)
(xy 78.765141 57.835294) (xy 78.765151 57.80069) (xy 78.765151 57.80062) (xy 78.765157 57.763197) (xy 78.765157 57.755114)
(xy 78.765184 57.414676) (xy 78.765088 57.411991) (xy 78.759481 57.33355) (xy 78.75805 57.325615) (xy 78.714244 57.176424)
(xy 78.709775 57.16664) (xy 78.624984 57.0347) (xy 78.617939 57.026571) (xy 78.499411 56.923865) (xy 78.490362 56.918049)
(xy 78.347699 56.852897) (xy 78.337378 56.849867) (xy 78.184804 56.82793) (xy 78.179446 56.827547) (xy 78.008546 56.827547)
(xy 78.000532 56.828408) (xy 77.776854 56.877057) (xy 77.76442 56.882206) (xy 77.631413 56.967671) (xy 77.580859 56.923865)
(xy 77.57181 56.918049) (xy 77.429147 56.852897) (xy 77.418826 56.849867) (xy 77.266252 56.82793) (xy 77.260894 56.827547)
(xy 77.091092 56.827547) (xy 77.088382 56.827645) (xy 77.009224 56.833364) (xy 77.001266 56.834808) (xy 76.998567 56.835605)
(xy 76.944936 56.827926) (xy 76.939578 56.827545) (xy 76.790818 56.827631) (xy 76.784169 56.828226) (xy 76.596652 56.86196)
(xy 76.585269 56.865962) (xy 76.449289 56.939933) (xy 76.444765 56.94283) (xy 76.35405 57.010514) (xy 76.254053 56.923865)
(xy 76.245004 56.918049) (xy 76.102341 56.852897) (xy 76.09202 56.849867) (xy 75.939446 56.82793) (xy 75.934088 56.827547)
(xy 75.783899 56.827547) (xy 75.775884 56.828409) (xy 75.719282 56.840722) (xy 75.630309 56.82793) (xy 75.624951 56.827547)
(xy 75.454049 56.827547) (xy 75.446034 56.828409) (xy 75.388843 56.84085) (xy 75.298979 56.82793) (xy 75.293621 56.827547)
(xy 74.394976 56.827547) (xy 74.386961 56.828409) (xy 74.358611 56.834576) (xy 74.312384 56.82793) (xy 74.307026 56.827547)
(xy 74.136124 56.827547) (xy 74.128109 56.828409) (xy 74.071507 56.840722) (xy 73.982533 56.82793) (xy 73.977175 56.827547)
(xy 73.077051 56.827547) (xy 73.069036 56.828409) (xy 73.023026 56.838418) (xy 72.950054 56.82793) (xy 72.944696 56.827547)
(xy 72.527479 56.827569) (xy 72.527406 56.827569) (xy 72.483788 56.827577) (xy 72.483636 56.827577) (xy 72.441955 56.827596)
(xy 72.441821 56.827596) (xy 72.402138 56.827624) (xy 72.401963 56.827624) (xy 72.364337 56.827663) (xy 72.36416 56.827663)
(xy 72.328588 56.827712) (xy 72.328452 56.827713) (xy 72.328425 56.827713) (xy 72.295134 56.827772) (xy 72.294929 56.827772)
(xy 72.263815 56.82784) (xy 72.263748 56.82784) (xy 72.263559 56.827841) (xy 72.234823 56.827918) (xy 72.234805 56.827918)
(xy 72.234476 56.827919) (xy 72.23447 56.827919) (xy 72.208114 56.828006) (xy 72.207779 56.828007) (xy 72.207739 56.828008)
(xy 72.183793 56.828103) (xy 72.183777 56.828103) (xy 72.183306 56.828105) (xy 72.183289 56.828105) (xy 72.161851 56.828209)
(xy 72.16183 56.828209) (xy 72.161254 56.828212) (xy 72.161234 56.828212) (xy 72.142354 56.828324) (xy 72.142335 56.828324)
(xy 72.141531 56.82833) (xy 72.141493 56.82833) (xy 72.125216 56.828451) (xy 72.125177 56.828452) (xy 72.124078 56.828461)
(xy 72.12404 56.828461) (xy 72.110429 56.828591) (xy 72.110356 56.828592) (xy 72.108727 56.82861) (xy 72.108684 56.828611)
(xy 72.097805 56.828748) (xy 72.09771 56.828749) (xy 72.094762 56.828793) (xy 72.09465 56.828795) (xy 72.086485 56.828943)
(xy 72.086271 56.828948) (xy 72.080267 56.829091) (xy 72.080057 56.829096) (xy 72.074609 56.829257) (xy 72.074189 56.829271)
(xy 72.06229 56.829754) (xy 72.061868 56.829774) (xy 72.05998 56.829872) (xy 72.059288 56.829914) (xy 72.039694 56.831293)
(xy 72.039002 56.831348) (xy 72.005386 56.834338) (xy 72.004434 56.834435) (xy 71.977564 56.837516) (xy 71.976616 56.837637)
(xy 71.94536 56.842027) (xy 71.94425 56.8422) (xy 71.91291 56.847562) (xy 71.911805 56.847768) (xy 71.882855 56.853616)
(xy 71.881573 56.853898) (xy 71.845455 56.862517) (xy 71.844184 56.862844) (xy 71.817442 56.87022) (xy 71.815987 56.870653)
(xy 71.775063 56.88374) (xy 71.773626 56.884232) (xy 71.749009 56.893215) (xy 71.7474 56.893845) (xy 71.702315 56.912687)
(xy 71.700737 56.913389) (xy 71.678185 56.924055) (xy 71.676468 56.924922) (xy 71.628532 56.950672) (xy 71.626861 56.951626)
(xy 71.606343 56.96404) (xy 71.604592 56.965166) (xy 71.555965 56.998397) (xy 71.554279 56.99962) (xy 71.535942 57.013701)
(xy 71.534546 57.014827) (xy 71.495827 57.04761) (xy 71.494486 57.048801) (xy 71.483354 57.059178) (xy 71.482214 57.060286)
(xy 71.450625 57.09233) (xy 71.449532 57.093486) (xy 71.437054 57.107264) (xy 71.435819 57.108699) (xy 71.401929 57.150132)
(xy 71.400768 57.151626) (xy 71.389762 57.166556) (xy 71.388636 57.168169) (xy 71.358003 57.214623) (xy 71.356963 57.216294)
(xy 71.347428 57.232543) (xy 71.346515 57.234193) (xy 71.321859 57.281496) (xy 71.32103 57.283189) (xy 71.312886 57.30093)
(xy 71.312222 57.302467) (xy 71.294393 57.346362) (xy 71.293798 57.347927) (xy 71.286899 57.367353) (xy 71.286455 57.368679)
(xy 71.274615 57.406411) (xy 71.274221 57.407752) (xy 71.268379 57.429118) (xy 71.268103 57.43019) (xy 71.260728 57.46066)
(xy 71.260483 57.461741) (xy 71.255529 57.485217) (xy 71.255417 57.485766) (xy 71.252386 57.501267) (xy 71.252283 57.501814)
(xy 71.251069 57.508556) (xy 71.250994 57.508983) (xy 71.248946 57.521152) (xy 71.248876 57.521585) (xy 71.248452 57.524295)
(xy 71.248359 57.52492) (xy 71.2459 57.542594) (xy 71.245818 57.543219) (xy 71.245435 57.546356) (xy 71.245371 57.546914)
(xy 71.243674 57.562771) (xy 71.243618 57.563334) (xy 71.243291 57.566896) (xy 71.243253 57.567338) (xy 71.242258 57.579786)
(xy 71.242225 57.580224) (xy 71.241945 57.584332) (xy 71.241924 57.584663) (xy 71.241367 57.594041) (xy 71.241349 57.594373)
(xy 71.241105 57.599197) (xy 71.241094 57.599442) (xy 71.24079 57.60635) (xy 71.24078 57.606594) (xy 71.240566 57.612304)
(xy 71.24056 57.612481) (xy 71.240395 57.617516) (xy 71.24039 57.617694) (xy 71.240201 57.624458) (xy 71.240197 57.624585)
(xy 71.240107 57.62825) (xy 71.240104 57.628383) (xy 71.239936 57.636368) (xy 71.239934 57.636463) (xy 71.239883 57.639198)
(xy 71.239881 57.639297) (xy 71.239732 57.648663) (xy 71.239731 57.648731) (xy 71.239704 57.650639) (xy 71.239703 57.650705)
(xy 71.239568 57.661606) (xy 71.239568 57.661651) (xy 71.239551 57.663138) (xy 71.239551 57.663198) (xy 71.23943 57.675809)
(xy 71.23943 57.675864) (xy 71.239421 57.676889) (xy 71.239421 57.676906) (xy 71.239311 57.691353) (xy 71.239311 57.691402)
(xy 71.239305 57.692223) (xy 71.239305 57.692232) (xy 71.239205 57.708666) (xy 71.239205 57.708682) (xy 71.239202 57.70923)
(xy 71.239202 57.709253) (xy 71.239108 57.727853) (xy 71.239108 57.72787) (xy 71.239106 57.72832) (xy 71.239106 57.728335)
(xy 71.239019 57.749034) (xy 71.239016 57.749387) (xy 71.239016 57.749506) (xy 71.23893 57.77298) (xy 71.23893 57.77315)
(xy 71.238846 57.798991) (xy 71.238846 57.799186) (xy 71.23876 57.828021) (xy 71.238729 57.838847) (xy 71.238729 57.839)
(xy 71.238645 57.87219) (xy 71.238644 57.872516) (xy 71.238644 57.872569) (xy 71.238585 57.902931) (xy 71.238584 57.903358)
(xy 71.238584 57.903408) (xy 71.238552 57.93104) (xy 71.238552 57.931582) (xy 71.238547 57.956461) (xy 69.20011 57.956461)
(xy 69.088687 57.768056) (xy 69.084778 57.762617) (xy 68.934322 57.588311) (xy 68.929512 57.583649) (xy 68.750565 57.438742)
(xy 68.745006 57.435006) (xy 68.543227 57.324077) (xy 68.537094 57.321385) (xy 68.318861 57.247942) (xy 68.312348 57.246378)
(xy 68.084557 57.21274) (xy 68.07787 57.212355) (xy 67.847723 57.219587) (xy 67.841073 57.220392) (xy 67.615844 57.268267)
(xy 67.609442 57.270236) (xy 67.396252 57.357238) (xy 67.3903 57.36031) (xy 67.195884 57.483689) (xy 67.19057 57.487767)
(xy 67.021076 57.643624) (xy 67.016568 57.648578) (xy 66.877352 57.831988) (xy 66.873793 57.837662) (xy 66.769257 58.042826)
(xy 66.766758 58.049041) (xy 66.700207 58.269474) (xy 66.698848 58.276033) (xy 66.672382 58.504766) (xy 66.672207 58.511462)
(xy 66.240292 58.511462) (xy 66.255682 58.294113) (xy 66.308201 58.050171) (xy 66.394559 57.816086) (xy 66.513046 57.596492)
(xy 66.661289 57.395786) (xy 66.836327 57.217978) (xy 67.034684 57.066596) (xy 67.252391 56.944674) (xy 67.485092 56.854648)
(xy 67.728161 56.798308) (xy 67.984079 56.776144) (xy 68.01126 56.77593) (xy 68.021023 56.774567) (xy 68.035376 56.7706)
(xy 81.966311 56.7706)
)
)
)
)
| KiCad | 5 | jstein91/Unified-Daughterboard | KiCad/C3/Unified-Daughterboard.kicad_pcb | [
"MIT"
] |
# cython: infer_types=True
import numpy
from libcpp.vector cimport vector
from ._state cimport ArcC
from ...tokens.doc cimport Doc
cdef class StateClass:
def __init__(self, Doc doc=None, int offset=0):
self._borrowed = 0
if doc is not None:
self.c = new StateC(doc.c, doc.length)
self.c.offset = offset
self.doc = doc
else:
self.doc = None
def __dealloc__(self):
if self._borrowed != 1:
del self.c
@property
def stack(self):
return [self.S(i) for i in range(self.c.stack_depth())]
@property
def queue(self):
return [self.B(i) for i in range(self.c.buffer_length())]
@property
def token_vector_lenth(self):
return self.doc.tensor.shape[1]
@property
def arcs(self):
cdef vector[ArcC] arcs
self.c.get_arcs(&arcs)
return list(arcs)
#py_arcs = []
#for arc in arcs:
# if arc.head != -1 and arc.child != -1:
# py_arcs.append((arc.head, arc.child, arc.label))
#return arcs
def add_arc(self, int head, int child, int label):
self.c.add_arc(head, child, label)
def del_arc(self, int head, int child):
self.c.del_arc(head, child)
def H(self, int child):
return self.c.H(child)
def L(self, int head, int idx):
return self.c.L(head, idx)
def R(self, int head, int idx):
return self.c.R(head, idx)
@property
def _b_i(self):
return self.c._b_i
@property
def length(self):
return self.c.length
def is_final(self):
return self.c.is_final()
def copy(self):
cdef StateClass new_state = StateClass(doc=self.doc, offset=self.c.offset)
new_state.c.clone(self.c)
return new_state
def print_state(self):
words = [token.text for token in self.doc]
words = list(words) + ['_']
bools = ["F", "T"]
sent_starts = [bools[self.c.is_sent_start(i)] for i in range(len(self.doc))]
shifted = [1 if self.c.is_unshiftable(i) else 0 for i in range(self.c.length)]
shifted.append("")
sent_starts.append("")
top = f"{self.S(0)}{words[self.S(0)]}_{words[self.H(self.S(0))]}_{shifted[self.S(0)]}"
second = f"{self.S(1)}{words[self.S(1)]}_{words[self.H(self.S(1))]}_{shifted[self.S(1)]}"
third = f"{self.S(2)}{words[self.S(2)]}_{words[self.H(self.S(2))]}_{shifted[self.S(2)]}"
n0 = f"{self.B(0)}{words[self.B(0)]}_{sent_starts[self.B(0)]}_{shifted[self.B(0)]}"
n1 = f"{self.B(1)}{words[self.B(1)]}_{sent_starts[self.B(1)]}_{shifted[self.B(1)]}"
return ' '.join((str(self.stack_depth()), str(self.buffer_length()), third, second, top, '|', n0, n1))
def S(self, int i):
return self.c.S(i)
def B(self, int i):
return self.c.B(i)
def H(self, int i):
return self.c.H(i)
def E(self, int i):
return self.c.E(i)
def L(self, int i, int idx):
return self.c.L(i, idx)
def R(self, int i, int idx):
return self.c.R(i, idx)
def S_(self, int i):
return self.doc[self.c.S(i)]
def B_(self, int i):
return self.doc[self.c.B(i)]
def H_(self, int i):
return self.doc[self.c.H(i)]
def E_(self, int i):
return self.doc[self.c.E(i)]
def L_(self, int i, int idx):
return self.doc[self.c.L(i, idx)]
def R_(self, int i, int idx):
return self.doc[self.c.R(i, idx)]
def empty(self):
return self.c.empty()
def eol(self):
return self.c.eol()
def at_break(self):
return False
#return self.c.at_break()
def has_head(self, int i):
return self.c.has_head(i)
def n_L(self, int i):
return self.c.n_L(i)
def n_R(self, int i):
return self.c.n_R(i)
def entity_is_open(self):
return self.c.entity_is_open()
def stack_depth(self):
return self.c.stack_depth()
def buffer_length(self):
return self.c.buffer_length()
def push(self):
self.c.push()
def pop(self):
self.c.pop()
def unshift(self):
self.c.unshift()
def add_arc(self, int head, int child, attr_t label):
self.c.add_arc(head, child, label)
def del_arc(self, int head, int child):
self.c.del_arc(head, child)
def open_ent(self, attr_t label):
self.c.open_ent(label)
def close_ent(self):
self.c.close_ent()
def clone(self, StateClass src):
self.c.clone(src.c)
| Cython | 4 | snosrap/spaCy | spacy/pipeline/_parser_internals/stateclass.pyx | [
"MIT"
] |
(ns wisp.test.sequence
(:require [wisp.test.util :refer [is thrown?]]
[wisp.src.sequence :refer [cons conj into disj list list? empty seq vec vector
range empty? count first second third rest last butlast
take take-while drop drop-while repeatedly repeat concat
mapcat reverse sort map mapv map-indexed filter zipmap
filterv reduce assoc dissoc every? some partition
interleave nth lazy-seq set identity-set identity-set?
contains? union difference intersection subset? superset?
unfold iterate cycle infinite-range lazy-map lazy-filter
lazy-concat lazy-partition run! dorun doall]]
[wisp.src.runtime :refer [str int inc dec even? odd? number? set? vals + =]]))
(is (= (empty "foo") ""))
(is (= (empty [1 2 3]) []))
(is (= (empty '(1 2 3)) '()))
(is (= (empty {:hello :world}) {}))
(is (= (empty #{1 2 3}) #{}))
(is (= (empty (Set. [1 2 3])) #{}))
(is (= (empty (Map. [[1 2]])) nil))
(is (empty? "") "\"\" is empty")
(is (empty? []) "[] is empty")
(is (empty? nil) "nil is empty")
(is (empty? {}) "{} is empty")
(is (empty? '()) "'() is empty")
(is (empty? #{}) "#{} is empty")
(is (empty? (Set.)) "(Set.) is empty")
(is (empty? (Map.)) "(Map.) is empty")
(is (= (count "") 0) "count 0 in \"\"")
(is (= (count "hello") 5) "count 5 in \"hello\"")
(is (= (count []) 0) "count 0 in []")
(is (= (count [1 2 3 "hi"]) 4) "1 2 3 \"hi\"")
(is (= (count nil) 0) "count 0 in nil")
(is (= (count {}) 0) "count 0 in {}")
(is (= (count {:hello :world}) 1) "count 1 in {:hello :world}")
(is (= (count '()) 0) "count 0 in '()")
(is (= (count '(1 2)) 2) "count 2 in '(1 2)")
(is (= (count #{}) 0) "count 0 in #{}")
(is (= (count #{:foo :bar}) 2) "count 2 in #{:foo :bar}")
(is (= (count (Set.)) 0) "count 0 in (Set.)")
(is (= (count (Set. [:foo :bar])) 2) "count 2 in (Set. [:foo :bar])")
(is (= (count (Map. [[:hello :world]])) 1) "count 1 in (Map. [[:hello :world]])")
(is (= (first nil) nil))
(is (= (first "") nil))
(is (= (first "hello") \h))
(is (= (first []) nil))
(is (= (first [1 2 3]) 1))
(is (= (first '()) nil))
(is (= (first '(\a \b \c)) \a))
(is (= (first {}) nil))
(is (= (first {:a 1, :b 2}) [:a 1]))
(is (= (second nil) nil))
(is (= (second "") nil))
(is (= (second "h") nil))
(is (= (second "hello") \e))
(is (= (second []) nil))
(is (= (second [1]) nil))
(is (= (second [1 2 3]) 2))
(is (= (second '()) nil))
(is (= (second '(:a)) nil))
(is (= (second '(\a \b \c)) \b))
(is (= (second {}) nil))
(is (= (second {:a 1}) nil))
(is (= (second {:a 1, :b 2}) [:b 2]))
(is (= (third nil) nil))
(is (= (third "") nil))
(is (= (third "h") nil))
(is (= (third "hello") \l))
(is (= (third []) nil))
(is (= (third [1]) nil))
(is (= (third [1 2 3]) 3))
(is (= (third '()) nil))
(is (= (third '(:a)) nil))
(is (= (third '(\a \b \c)) \c))
(is (= (third {}) nil))
(is (= (third {:a 1}) nil))
(is (= (third {:a 1, :b 2, :c 3}) [:c 3]))
(is (= (last nil) nil))
(is (= (last []) nil))
(is (= (last [1 2 3]) 3))
(is (= (last "hello") \o))
(is (= (last "") nil))
(is (= (last '(\a \b \c)) \c))
(is (= (last '()) nil))
(is (= (last '(\a \b \c)) \c))
(is (= (last {:a 1, :b 2}) [:b 2]))
(is (= (last {}) nil))
(is (= (butlast nil) nil))
(is (= (butlast '()) nil))
(is (= (butlast '(1)) nil))
(is (= (butlast '(1 2 3)) '(1 2)))
(is (= (butlast []) nil))
(is (= (butlast [1]) nil))
(is (= (butlast [1 2 3]) [1 2]))
(is (= (butlast {}) nil))
(is (= (butlast {:a 1}) nil))
(is (= (butlast {:a 1, :b 2}) [[:a 1]]))
(is (= (rest {:a 1}) []))
(is (= (rest "a") ""))
(is (= (rest '(1 2 3 4)) '(2 3 4)))
(is (= (rest [1 2 3]) [2 3]))
(is (= (rest {:a 1 :b 2}) [[:b 2]]))
(is (= (rest "hello") "ello"))
(is (= (rest nil) '()))
(is (= (rest '()) '()))
(is (= (rest [1]) []))
(is (= (rest {:a 1}) []))
(is (= (rest "a") ""))
(is (= (rest '(1 2 3 4)) '(2 3 4)))
(is (= (rest [1 2 3]) [2 3]))
(is (= (rest {:a 1 :b 2}) [[:b 2]]))
(is (= (rest "hello") "ello"))
(is (list? '()) "'() is list")
(is (not (list? 2)) "2 is not list")
(is (not (list? {})) "{} is not list")
(is (not (list? [])) "[] is not list")
(is (not (empty? '(1 2 3 4)))
"non empty list returns false on empty?")
(is (= (count '(1 2 3 4)) 4)
"list has expected length")
(is (= (first (list 1 2 3 4)) 1)
"first returns first item in the list")
(is (= (rest '(1 2 3 4)) '(2 3 4))
"rest returns rest items")
(is (identical? (str '(1 2 3 4)) "(1 2 3 4)")
"stringification returns list")
(is (set? #{}) "#{} is a set")
(is (identity-set? #{}) "#{} is identity-set")
(is (not (identity-set? 2)) "2 is not identity-set")
(is (not (identity-set? {})) "{} is not identity-set")
(is (not (identity-set? [])) "[] is not identity-set")
(is (not (identity-set? (Set.))) "(Set.) is not identity-set")
(is (= #{1 3 2} #{3 1 2}))
(is (= #{1 3 2} (Set. [2 1 3])))
(is (= (Set. [2 1 3]) #{1 3 2}))
(is (not (empty? #{1 2 3 4}))
"non empty identity-set returns false on empty?")
(is (= (count #{1 2 3 4}) 4)
"identity-set has expected length")
(is (= (first (identity-set 1 2 3 4)) 1)
"first returns first item in identity-set")
(is (= (vec (rest #{1 2 3 4})) [2 3 4])
"rest returns rest items")
(is (identical? (str #{1 2 3 4}) "#{1 2 3 4}")
"stringification returns identity-set")
(is (#{1 3 2} 2) "identity-set duplicates as a membership function")
(is (not (#{1 3 2} 4)) "identity-set duplicates as a membership function")
(is (not (empty? (cons 1 '()))) "cons creates non-empty list")
(is (not (empty? (cons 1 nil))) "cons onto nil is list of that item")
(is (= (cons 1 nil) '(1)))
(is (= (first (cons 1 nil)) 1))
(is (= (rest (cons 1 nil)) '()))
(is (= (cons 1 '(2 3)) '(1 2 3))
"cons returns new list prefixed with first argument")
(is (not (empty? (cons 1 (list)))) "cons creates non-empty list")
(is (= (cons 1 (list 2 3)) (list 1 2 3))
"cons returns new list prefixed with first argument")
(is (= (conj nil 1) '(1)))
(is (= (conj nil 1 2) '(2 1)))
(is (= (conj '() 1) '(1)))
(is (= (conj '() 1 2) '(2 1)))
(is (= (conj '(1 2 3) 4) '(4 1 2 3)))
(is (= (conj [] 1) [1]))
(is (= (conj [] 1 2) [1 2]))
(is (= (conj ["a" "b" "c"] "d") ["a" "b" "c" "d"]))
(is (= (conj [1 2] 3 4) [1 2 3 4]))
(is (= (conj [[1 2] [3 4]] [5 6]) [[1 2] [3 4] [5 6]]))
(is (= (conj {:firstname "John" :lastname "Doe"}
{:age 25 :nationality "Chinese"})
{:nationality "Chinese", :age 25
:firstname "John", :lastname "Doe"}))
(is (= (conj {1 2, 3 4} [5 6]) {5 6, 1 2, 3 4}))
(is (= (conj #{} 2 1) #{1 2}))
(is (= (conj #{2 1} 4 3 1) #{1 2 3 4}))
(is (= (conj (Set. [2 1]) 4 3 1) #{1 2 3 4}))
(is (= (into nil nil) '()))
(is (= (into nil '(1)) '(1)))
(is (= (into nil [1 2]) '(2 1)))
(is (= (into '() [1]) '(1)))
(is (= (into '() [1 2]) '(2 1)))
(is (= (into '(1 2 3) [4]) '(4 1 2 3)))
(is (= (into [] '(1)) [1]))
(is (= (into [] [1 2]) [1 2]))
(is (= (into ["a" "b" "c"] "def") ["a" "b" "c" "d" "e" "f"]))
(is (= (into [1 2] '(3 4)) [1 2 3 4]))
(is (= (into [[1 2] [3 4]] '([5 6])) [[1 2] [3 4] [5 6]]))
(is (= (into {:firstname "John" :lastname "Doe"}
{:age 25 :nationality "Chinese"})
{:nationality "Chinese", :age 25
:firstname "John", :lastname "Doe"}))
(is (= (into {1 2, 3 4} [[5 6]]) {5 6, 1 2, 3 4}))
(is (= (into #{} [2 1]) #{1 2}))
(is (= (into #{2 1} [4 3 1]) #{1 2 3 4}))
(is (= (into (Set. [2 1]) [4 3 1]) #{1 2 3 4}))
(is (= (disj #{1 2} 2 1) #{}))
(is (= (disj #{1 2 3 4} 4 3) #{2 1}))
(is (= (disj (Set. [1 2 3 4]) 4 3) #{2 1}))
(is (= (disj {:a :b, :c :d} :a) {:c :d}))
(is (= (disj {:a :b, :c :d} :a :c) {}))
(is (not (empty? (cons 1 nil)))
"cons onto nil is list of that item")
(is (= (cons 1 nil) '(1)))
(is (= 1 (first (cons 1 nil))))
(is (= '() (rest (cons 1 nil))))
(is (= (cons 1 '(2 3)) '(1 2 3))
"cons returns new list prefixed with first argument")
(is (not (empty? (cons 1 (list)))) "cons creates non-empty list")
(is (= (cons 1 (list 2 3)) (list 1 2 3))
"cons returns new list prefixed with first argument")
(is (= (reverse '(1 2 3 4)) '(4 3 2 1))
"reverse reverses order of items")
(is (= (reverse [4 3 2 1]) [1 2 3 4]))
(is (= (reverse nil) '()))
(is (= (reverse {:a 1, :b 2}) (list [:b 2] [:a 1])))
(is (= (reverse (Set. [1 2])) '(2 1)))
(is (not (empty? (list 1 2 3 4)))
"non empty list returns false on empty?")
(is (= (count (list 1 2 3 4)) 4)
"list has expected length")
(is (= (first (list 1 2 3 4)) 1)
"first returns first item in the list")
(is (= (rest (list 1 2 3 4)) (list 2 3 4))
"rest returns rest items")
(is (identical? (str (list 1 2 3 4)) "(1 2 3 4)")
"stringification returs list")
(is (empty? (list)) "list without arguments creates empty list")
(is (= (vec '(1 2 3)) [1 2 3]))
(is (= (vec [1 2 3]) [1 2 3]))
(is (= (vec '()) []))
(is (= (vec nil) []))
(is (= (vec "foo") [\f \o \o]))
(is (= (vec (lazy-seq "foo")) [\f \o \o]))
(is (= (vec {:a 1 :b 2}) [[:a 1] [:b 2]]))
(is (= (vec (Set. [42])) [42]))
(is (= (vec (Map. [[42 ':a]])) [[42 ':a]]))
(is (= (vec (.keys (Map. [[42 ':a]])) [42])))
(is (= (range 5) [0 1 2 3 4]))
(is (= (range 3 8) [3 4 5 6 7]))
(is (= (range 2 12 3) [2 5 8 11]))
(is (= (range 2 11 3) [2 5 8]))
(is (= (range 2 10 3) [2 5 8]))
(is (= (range 2 9 3) [2 5 8]))
(is (= (range 2 8 3) [2 5]))
(is (= (range 9 2 -3) [9 6 3]))
(is (= (range 9 3 -3) [9 6]))
(is (= (range 9 4 -3) [9 6]))
(is (= (range 9 5 -3) [9 6]))
(is (= (range 9 6 -3) [9]))
(is (= (range 9 6) []))
(is (= (range 9 6 3) []))
(is (= (range 6 9 -3) []))
(is (= (map inc nil) '()))
(is (= (map inc '()) '()))
(is (= (map inc []) []))
(is (= (map inc {}) []))
(is (= (map inc '(1 2 3)) '(2 3 4)))
(is (= (map inc [1 2 3 4 5]) [2 3 4 5 6]))
(is (= (map (fn [pair] (apply str pair)) {:a 1 :b 2})
[(str :a 1) (str :b 2)]))
(is (= (map inc #{1 2 3}) '(2 3 4)))
(is (= (map + nil (range 4)) '()))
(is (= (map + '() (range 4)) '()))
(is (= (map + [] (range 4)) []))
(is (= (map + {} (range 4)) []))
(is (= (map + '(\a \b \c) (range 4)) '("a0" "b1" "c2")))
(is (= (map + [\a \b \c \d \e] (range 4)) ["a0" "b1" "c2" "d3"]))
(is (= (map + "abcde" (range 4)) ["a0" "b1" "c2" "d3"]))
(is (= (map + {:a :foo, :b :bar, :c :baz} (range 4))
["a,foo0" "b,bar1" "c,baz2"]))
(is (= (map + #{\a \b \c} (range 4)) '("a0" "b1" "c2")))
(is (= (mapv inc nil) []))
(is (= (mapv inc '()) []))
(is (= (mapv inc '(1 2 3)) [2 3 4]))
(is (= (mapv inc #{1 2 3}) [2 3 4]))
(is (= (mapv + nil (range 4)) []))
(is (= (mapv + '() (range 4)) []))
(is (= (mapv + '(\a \b \c) (range 4)) ["a0" "b1" "c2"]))
(is (= (mapv + #{\a \b \c} (range 4)) ["a0" "b1" "c2"]))
(is (= (mapv vector [1 2 3] [4 5 6] [7 8 9])
[[1 4 7] [2 5 8] [3 6 9]]))
(is (= (mapv vector [1 2 3] [4 5 6])
[[1 4] [2 5] [3 6]]))
(is (= (mapv vector [1 2] [3 4] [5 6])
[[1 3 5] [2 4 6]]))
(is (= (map-indexed + nil) '()))
(is (= (map-indexed + '()) '()))
(is (= (map-indexed + []) []))
(is (= (map-indexed + {}) []))
(is (= (map-indexed + '(\a \b \c)) '("0a" "1b" "2c")))
(is (= (map-indexed + [\a \b \c \d \e]) ["0a" "1b" "2c" "3d" "4e"]))
(is (= (map-indexed + "abcde") ["0a" "1b" "2c" "3d" "4e"]))
(is (= (map-indexed + {:a :foo, :b :bar, :c :baz})
["0a,foo" "1b,bar" "2c,baz"]))
(is (= (map-indexed + #{\a \b \c}) '("0a" "1b" "2c")))
(is (= (zipmap "abcde" (range 3)) {:a 0, :b 1, :c 2}))
(is (= (filter even? nil) '()))
(is (= (filter even? '()) '()))
(is (= (filter even? []) []))
(is (= (filter even? {}) []))
(is (= (filter even? [1 2 3 4]) [2 4]))
(is (= (filter even? '(1 2 3 4)) '(2 4)))
(is (= (filter (fn [pair] (even? (second pair))) {:a 1 :b 2}) [[:b 2]]))
(is (= (filter even? #{1 2 3 4}) '(2 4)))
(is (= (filter #{3 2 5} [1 2 3 4]) [2 3]))
(is (= (filterv even? nil) []))
(is (= (filterv even? '()) []))
(is (= (filterv even? '(1 2 3 4)) [2 4]))
(is (= (filterv even? #{1 2 3 4}) [2 4]))
(is (= (reduce (fn [result v] (+ result v)) '(1 2 3 4)) 10)
"initial value is optional")
(is (= (reduce (fn [result v] (+ result v)) [1 2 3 4]) 10)
"initial value is optional")
(is (= (reduce (fn [result v] (+ result v)) 5 '()) 5)
"initial value is returned for empty list")
(is (= (reduce (fn [result v] (+ result v)) 5 []) 5))
(is (= (reduce (fn [result v] (+ result v)) 5 nil) 5)
"initial value is returned for empty list")
(is (= (reduce (fn [result v] (+ result v)) 5 '(1)) 6)
"works with single item")
(is (= (reduce (fn [result v] (+ result v)) 5 [1]) 6))
(is (= (reduce (fn [result v] (+ result v)) '(5)) 5)
"works with single item & no initial")
(is (= (reduce (fn [result v] (+ result v)) [5]) 5))
(is (= (take 1 nil) '()))
(is (= (take 1 '()) '()))
(is (= (take 2 "") []))
(is (= (take 2 {}) []))
(is (= (take 2 "foo") [\f \o]))
(is (= (take 2 '(1 2 3 4)) '(1 2)))
(is (= (take 3 [1 2 3 4]) [1 2 3]))
(is (= (take 2 {:a 1 :b 2 :c 3}) [[:a 1] [:b 2]]))
(is (= (take-while #(< % 3) [1 2 3 4 5]) [1 2]))
(is (= (take-while number? [1 2 3 4 5]) [1 2 3 4 5]))
(is (= (take-while even? [1 2 3 4 5]) []))
(is (= (drop 1 nil) '()))
(is (= (drop 1 '()) '()))
(is (= (drop 1 []) []))
(is (= (drop -1 '(1 2 3)) '(1 2 3)))
(is (= (drop -1 [1 2 3 4]) [1 2 3 4]))
(is (= (drop 0 '(1 2 3)) '(1 2 3)))
(is (= (drop 0 [1 2 3 4]) [1 2 3 4]))
(is (= (drop 2 '(1 2 3 4)) '(3 4)))
(is (= (drop 1 [1 2 3 4]) [2 3 4]))
(is (= (drop-while #(< % 3) [1 2 3 4 5]) [3 4 5]))
(is (= (drop-while number? [1 2 3 4 5]) []))
(is (= (drop-while even? [1 2 3 4 5]) [1 2 3 4 5]))
(is (= (concat '(1 2) '(3 4)) '(1 2 3 4)))
(is (= (concat '(1 2) '() '() '(3 4) '(5)) '(1 2 3 4 5)))
(is (= (concat [1 2] [3 4]) '(1 2 3 4)))
(is (= (concat [:a :b] nil [1 [2 3] 4]) (list :a :b 1 [2 3] 4)))
(is (= (concat [1] [2] '(3 4) {:a 1, :b 2})
(list 1 2 3 4 [:a 1] [:b 2])))
(is (= (concat [:a :b] nil [1 [2 3] 4])
(list :a :b 1 [2 3] 4)))
(is (= (concat [1] [2] '(3 4) [5 6 7] {:a 9 :b 10})
(list 1 2 3 4 5 6 7 [:a 9] [:b 10])))
(is (= (mapcat (fn [x] [x x]) [1 2 3]) '(1 1 2 2 3 3)))
(is (= (mapcat (fn [x] [x x]) '(1 2 3)) '(1 1 2 2 3 3)))
(is (= (sort nil) '()))
(is (= (sort (fn [a b] (> a b)) nil) '()))
(is (= (sort []) []))
(is (= (sort [3 1 2 4]) [1 2 3 4]))
(is (= (sort (fn [a b] (> a b)) (vals {:foo 5, :bar 2, :baz 10}))
[10 5 2]))
(is (= (sort (fn [a b] (> (last a) (last b))) {:b 1 :c 3 :a 2})
(list [:c 3] [:a 2] [:b 1])))
(is (= (sort (fn [a b] (> (last a) (last b))) [:ab :ba :cb])
[:ab :cb :ba]))
(is (= (sort (fn [a b] (< (last a) (last b))) [:ab :ba :cb])
[:ba :ab :cb]))
(is (= (sort '(3 1 2 4)) '(1 2 3 4)))
(is (= (sort (fn [a b] (> a b)) '(3 1 2 4)) '(4 3 2 1)))
(is (= (sort '("hello" "my" "dear" "frient"))
'("dear" "frient" "hello" "my")))
(is (= (sort (Set. [3 1 2 4])) '(1 2 3 4)))
(is (= (repeatedly 5 #(* 6 7)) [42 42 42 42 42]))
(is (= (repeat 4 7) [7 7 7 7]))
(is (= (repeat 0 7) []))
(is (= (repeat -1 7) []))
(is (= (repeat 1 7) [7]))
(is (= (repeat 2) [nil nil]))
(is (= (repeat) []))
(is (= (assoc {} :a :b) {:a :b}))
(is (= (assoc {:a :b} :c :d) {:a :b :c :d}))
(is (= (assoc {:a :b} :a :c) {:a :c}))
(is (= (dissoc {:a :b, :c :d} :a) {:c :d}))
(is (= (dissoc {:a :b, :c :d} :a :c) {}))
(is (every? even? [2 4 6 8]))
(is (not (every? even? [2 4 6 8 9])))
(is (every? even? '(2 4 6 8)))
(is (not (every? even? '(2 4 5))))
(is (= (some even? []) nil))
(is (= (some even? ()) nil))
(is (= (some even? [1 3 5 7]) nil))
(is (= (some even? '(1 3 5 7)) nil))
(is (= (some even? [1 2 3]) true))
(is (= (some even? '(1 2 3)) true))
(is (= (some dec [1 43]) 42))
(is (= (partition 2 [1 2 3 4 5 6 7 8 9])
[[1 2] [3 4] [5 6] [7 8]]))
(is (= (partition 3 2 [1 2 3 4 5 6 7 8 9])
[[1 2 3] [3 4 5] [5 6 7] [7 8 9]]))
(is (= (partition 5 2 [:a :b :c :d] [1 2 3 4 5 6 7 8])
[[1 2 3 4 5] [3 4 5 6 7] [5 6 7 8 :a]]))
(is (= (partition 3 2 [:a :b :c :d] [1 2 3 4 5 6 7 8])
[[1 2 3] [3 4 5] [5 6 7] [7 8 :a]]))
(is (= (interleave) []))
(is (= (interleave [1 2 3]) [1 2 3]))
(is (= (interleave [1 2 3]
[4 5 6])
[1 4 2 5 3 6]))
(is (= (interleave [1 2 3]
'(4 5 6))
[1 4 2 5 3 6]))
(is (= (interleave '(1 2 3)
[4 5 6])
[1 4 2 5 3 6]))
(is (= (interleave [1 2 3 3.5]
[4 5 6])
[1 4 2 5 3 6]))
(is (= (interleave [1 2 3]
[4 5 6 7])
[1 4 2 5 3 6]))
(is (= (interleave [1 2 3]
[])
[]))
(is (= (interleave []
[4 5 6])
[]))
(is (= (interleave [1 2 3]
[4 5 6 7]
[])
[]))
(is (= (interleave [1 2 3]
[4 5 6 7]
[8])
[1 4 8]))
(is (= (interleave [1 2 3]
[4 5 6 7]
[8 9])
[1 4 8 2 5 9]))
(is (= (interleave [1 2 3]
[4 5 6 7]
[8 9 10])
[1 4 8 2 5 9 3 6 10]))
(is (= (interleave [1 2 3]
[4 5 6 7]
[8 9 10 11])
[1 4 8 2 5 9 3 6 10]))
(is (= (nth nil 1) nil))
(is (= (nth nil 1 :not-found) :not-found))
(is (= (nth "hello" 2) \l))
(is (= (nth '(1 2 3 4) 3) 4))
(is (= (nth '(1 2 3 4) 0) 1))
(is (= (nth [1 2 3 4] 3) 4))
(is (= (nth [1 2 3 4] 4) nil))
(is (= (nth [1 2 3 4] 2) 3))
(is (= (nth [1 2 3 4] 0) 1))
(is (= (nth (seq {:foo 1 :bar 2}) 1) [:bar 2]))
(is (= (nth (Map. [[1 2] [3 4]]) 1) [3 4]))
(is (contains? #{2 1 3} 3) "contains? on sets checks for membership")
(is (not (contains? #{2 1 3} 0)) "contains? on sets checks for membership")
(is (contains? {:a 1, :b 2} :a) "contains? on dictionaries checks for key existence")
(is (not (contains? {:a 1, :b 2} 1)) "contains? on dictionaries checks for key existence")
(is (contains? [:a :b :c] 1) "contains? on vectors checks for index existence")
(is (not (contains? [:a :b :c] :b)) "contains? on vectors checks for index existence")
(is (contains? "foo" 2) "contains? on strings checks for index existence")
(is (not (contains? "foo" \f)) "contains? on strings checks for index existence")
(is (not (contains? (list 1 2 3) 1)) "contains? on other types returns false")
(is (= (union) #{}))
(is (= (union [1 2 3]) #{1 2 3}))
(is (= (union :foo [\b \a \r] "baz")
#{:a :b :f :o :r :z}))
(is (= (difference [1 2 3]) #{1 2 3}))
(is (= (difference [\b \a \r] "baz") #{:r}))
(is (= (difference [\b \a \r] "baz" :answer) #{}))
(is (= (intersection [1 2 3]) #{1 2 3}))
(is (= (intersection [\b \a \r] "baz") #{:a :b}))
(is (= (intersection [\b \a \r] "baz" :answer) #{:a}))
(is (subset? nil [42]) "subset? checks if all items from set1 are in set2")
(is (subset? :foo "of") "subset? works on equal sets")
(is (not (subset? "bar" "baz")) "subset? works on different sets")
(is (superset? [42] nil) "superset? checks if all items from set2 are in set1")
(is (superset? :of "foo") "superset? works on equal sets")
(is (not (superset? "baz" "bar")) "superset? works on different sets")
(defn- binary* [n] ; unfolder to binary form (reversed)
(if (> n 0) [(rem n 2) (int (/ n 2))]))
(is (= (vec (unfold binary* 0)) []))
(is (= (vec (unfold binary* 13)) [1 0 1 1])) ; 1 + 4 + 8
(is (= (vec (unfold binary* 42)) [0 1 0 1 0 1])) ; 2 + 8 + 32
(is (= (take 5 (iterate #(* % %) 2))
'(2 4 16 256 65536)))
(is (= (take 10 (cycle [1 2 3]))
'(1 2 3 1 2 3 1 2 3 1)))
(is (= (take 10 (cycle []))
'()))
(is (= (take 5 (infinite-range))
'(0 1 2 3 4)))
(is (= (take 3 (infinite-range 2))
'(2 3 4)))
(is (= (take 3 (infinite-range 2 -4))
'(2 -2 -6)))
(is (= (take 5 (lazy-map inc (infinite-range)))
'(1 2 3 4 5)))
(is (= (take 5 (lazy-filter odd? (infinite-range)))
'(1 3 5 7 9)))
(is (= (take 10 (lazy-concat (range 5) "abc" (infinite-range -1 -1)))
'(0 1 2 3 4 \a \b \c -1 -2)))
(is (= (take 3 (lazy-partition 2 (infinite-range)))
'((0 1) (2 3) (4 5))))
(is (= (take 3 (lazy-partition 2 3 (infinite-range)))
'((0 1) (3 4) (6 7))))
(is (= (take 3 (lazy-partition 2 3 (infinite-range 10) (range 7)))
'((0 1) (3 4) (6 10))))
(is (= (take 3 (lazy-partition 2 3 (infinite-range 10) (range 6)))
'((0 1) (3 4))))
(defn- *side-effects! [f]
(let [xs [], side-effect! (fn [x] (.push! xs x) x), res (f side-effect!)]
[xs (and res (take 2 res))])) ; taking more would affect test results
(is (= (*side-effects! #(take 0 (lazy-map % (range 3))))
[[] nil])
"take 0 won't evaluate the lazy sequence")
(is (= (*side-effects! #(take 1 (lazy-concat (lazy-map % (range 5))
(lazy-map % "abc")
(lazy-map % (infinite-range -1 -1)))))
[[0] '(0)]))
(is (= (*side-effects! #(take 6 (lazy-concat (lazy-map % (range 5))
(lazy-map % "abc")
(lazy-map % (infinite-range -1 -1)))))
[[0 1 2 3 4 :a] '(0 1)]))
(is (= (*side-effects! #(take 9 (lazy-concat (lazy-map % (range 5))
(lazy-map % "abc")
(lazy-map % (infinite-range -1 -1)))))
[[0 1 2 3 4 :a :b :c -1] '(0 1)]))
(is (= (*side-effects! #(run! % (range 3)))
[[0 1 2] nil])
"run! implements the for-each operation")
(is (= (*side-effects! #(dorun 3 (lazy-map % (infinite-range))))
[[0 1 2] nil])
"dorun forces evaluation of up to given number of elements and returns nil")
(is (= (*side-effects! #(dorun (lazy-map % (range 3))))
[[0 1 2] nil])
"dorun works on finite collections")
(is (= (*side-effects! #(dorun 5 (lazy-map % (range 3))))
[[0 1 2] nil])
"dorun works on finite collections")
(is (= (*side-effects! #(doall 3 (lazy-map % (infinite-range))))
[[0 1 2] '(0 1)])
"doall forces evaluation of up to given number of elements and returns the coll")
(is (= (*side-effects! #(doall (lazy-map % (range 3))))
[[0 1 2] '(0 1)])
"doall works on finite collections")
(is (= (*side-effects! #(doall 5 (lazy-map % (range 3))))
[[0 1 2] '(0 1)])
"doall works on finite collections")
| wisp | 5 | rcarmo/wisp | test/sequence.wisp | [
"BSD-3-Clause"
] |
extends GridContainer
# Node, shortcut
onready var tools := [
[$RectSelect, "rectangle_select"],
[$EllipseSelect, "ellipse_select"],
[$PolygonSelect, "polygon_select"],
[$ColorSelect, "color_select"],
[$MagicWand, "magic_wand"],
[$Lasso, "lasso"],
[$Move, "move"],
[$Zoom, "zoom"],
[$Pan, "pan"],
[$ColorPicker, "colorpicker"],
[$Pencil, "pencil"],
[$Eraser, "eraser"],
[$Bucket, "fill"],
[$Shading, "shading"],
[$LineTool, "linetool"],
[$RectangleTool, "rectangletool"],
[$EllipseTool, "ellipsetool"],
]
func _ready() -> void:
for t in tools:
t[0].connect("pressed", self, "_on_Tool_pressed", [t[0]])
# Resize tools panel when window gets resized
get_tree().get_root().connect("size_changed", self, "_on_ToolsAndCanvas_dragged")
func _input(event : InputEvent) -> void:
if not Global.has_focus:
return
for action in ["undo", "redo", "redo_secondary"]:
if event.is_action_pressed(action):
return
for t in tools: # Handle tool shortcuts
if event.is_action_pressed("right_" + t[1] + "_tool") and !event.control: # Shortcut for right button (with Alt)
Tools.assign_tool(t[0].name, BUTTON_RIGHT)
elif event.is_action_pressed("left_" + t[1] + "_tool") and !event.control: # Shortcut for left button
Tools.assign_tool(t[0].name, BUTTON_LEFT)
func _on_Tool_pressed(tool_pressed : BaseButton) -> void:
var button := -1
button = BUTTON_LEFT if Input.is_action_just_released("left_mouse") else button
button = BUTTON_RIGHT if Input.is_action_just_released("right_mouse") else button
if button != -1:
Tools.assign_tool(tool_pressed.name, button)
func _on_ToolsAndCanvas_dragged(_offset : int = 0) -> void:
var tool_panel_size : Vector2 = get_parent().get_parent().get_parent().rect_size
if Global.tool_button_size == Global.ButtonSize.SMALL:
columns = tool_panel_size.x / 28.5
else:
columns = tool_panel_size.x / 36.5
# It doesn't actually set the size to zero, it just resets it
get_parent().rect_size = Vector2.ZERO
| GDScript | 4 | triptych/Pixelorama | src/UI/ToolButtons.gd | [
"MIT"
] |
{-# LANGUAGE FlexibleInstances, KindSignatures, MultiParamTypeClasses, TypeOperators #-}
module Control.Effect.Sum.Project
( Project (..)
) where
import Control.Effect.Sum
class Member sub sup => Project (sub :: (* -> *) -> (* -> *)) sup where
prj :: sup m a -> Maybe (sub m a)
instance Project sub sub where
prj = Just
instance {-# OVERLAPPABLE #-} Project sub (sub :+: sup) where
prj (L f) = Just f
prj _ = Nothing
instance {-# OVERLAPPABLE #-} Project sub sup => Project sub (sub' :+: sup) where
prj (R g) = prj g
prj _ = Nothing
| Haskell | 4 | Temurson/semantic | src/Control/Effect/Sum/Project.hs | [
"MIT"
] |
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="20dp"
android:height="20dp"
android:viewportWidth="20"
android:viewportHeight="20"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M9.25,4.75v8.38L5.59,9.47c-0.29,-0.29 -0.77,-0.29 -1.06,0l0,0c-0.29,0.29 -0.29,0.77 0,1.06l4.76,4.76c0.39,0.39 1.02,0.39 1.41,0l4.76,-4.76c0.29,-0.29 0.29,-0.77 0,-1.06l0,0c-0.29,-0.29 -0.77,-0.29 -1.06,0l-3.66,3.66V4.75C10.75,4.34 10.41,4 10,4h0C9.59,4 9.25,4.34 9.25,4.75z"/>
</vector>
| XML | 3 | Imudassir77/material-design-icons | android/navigation/arrow_downward/materialiconsround/black/res/drawable/round_arrow_downward_20.xml | [
"Apache-2.0"
] |
local helpers = require('test.functional.helpers')(after_each)
local clear = helpers.clear
local meths = helpers.meths
local eq, nvim_eval, nvim_command, exc_exec =
helpers.eq, helpers.eval, helpers.command, helpers.exc_exec
local ok = helpers.ok
local NIL = helpers.NIL
describe('autoload/msgpack.vim', function()
before_each(function()
clear{args={'-u', 'NORC'}}
end)
local sp = function(typ, val)
return ('{"_TYPE": v:msgpack_types.%s, "_VAL": %s}'):format(typ, val)
end
local mapsp = function(...)
local val = ''
for i=1,(select('#', ...)/2) do
val = ('%s[%s,%s],'):format(val, select(i * 2 - 1, ...),
select(i * 2, ...))
end
return sp('map', '[' .. val .. ']')
end
local nan = -(1.0/0.0-1.0/0.0)
local inf = 1.0/0.0
local minus_inf = -(1.0/0.0)
describe('function msgpack#equal', function()
local msgpack_eq = function(expected, a, b)
eq(expected, nvim_eval(('msgpack#equal(%s, %s)'):format(a, b)))
if a ~= b then
eq(expected, nvim_eval(('msgpack#equal(%s, %s)'):format(b, a)))
end
end
it('compares raw integers correctly', function()
msgpack_eq(1, '1', '1')
msgpack_eq(0, '1', '0')
end)
it('compares integer specials correctly', function()
msgpack_eq(1, sp('integer', '[-1, 1, 0, 0]'),
sp('integer', '[-1, 1, 0, 0]'))
msgpack_eq(0, sp('integer', '[-1, 1, 0, 0]'),
sp('integer', '[ 1, 1, 0, 0]'))
end)
it('compares integer specials with raw integer correctly', function()
msgpack_eq(1, sp('integer', '[-1, 0, 0, 1]'), '-1')
msgpack_eq(0, sp('integer', '[-1, 0, 0, 1]'), '1')
msgpack_eq(0, sp('integer', '[ 1, 0, 0, 1]'), '-1')
msgpack_eq(1, sp('integer', '[ 1, 0, 0, 1]'), '1')
end)
it('compares integer with float correctly', function()
msgpack_eq(0, '0', '0.0')
end)
it('compares raw binaries correctly', function()
msgpack_eq(1, '"abc\\ndef"', '"abc\\ndef"')
msgpack_eq(0, '"abc\\ndef"', '"abc\\nghi"')
end)
it('compares binary specials correctly', function()
msgpack_eq(1, sp('binary', '["abc\\n", "def"]'),
sp('binary', '["abc\\n", "def"]'))
msgpack_eq(0, sp('binary', '["abc", "def"]'),
sp('binary', '["abc\\n", "def"]'))
end)
it('compares binary specials with raw binaries correctly', function()
msgpack_eq(1, sp('binary', '["abc", "def"]'), '"abc\\ndef"')
msgpack_eq(0, sp('binary', '["abc", "def"]'), '"abcdef"')
end)
it('compares string specials correctly', function()
msgpack_eq(1, sp('string', '["abc\\n", "def"]'),
sp('string', '["abc\\n", "def"]'))
msgpack_eq(0, sp('string', '["abc", "def"]'),
sp('string', '["abc\\n", "def"]'))
end)
it('compares string specials with binary correctly', function()
msgpack_eq(0, sp('string', '["abc\\n", "def"]'),
sp('binary', '["abc\\n", "def"]'))
msgpack_eq(0, sp('string', '["abc", "def"]'), '"abc\\ndef"')
msgpack_eq(0, sp('binary', '["abc\\n", "def"]'),
sp('string', '["abc\\n", "def"]'))
msgpack_eq(0, '"abc\\ndef"', sp('string', '["abc", "def"]'))
end)
it('compares ext specials correctly', function()
msgpack_eq(1, sp('ext', '[1, ["", "ac"]]'), sp('ext', '[1, ["", "ac"]]'))
msgpack_eq(0, sp('ext', '[2, ["", "ac"]]'), sp('ext', '[1, ["", "ac"]]'))
msgpack_eq(0, sp('ext', '[1, ["", "ac"]]'), sp('ext', '[1, ["", "abc"]]'))
end)
it('compares raw maps correctly', function()
msgpack_eq(1, '{"a": 1, "b": 2}', '{"b": 2, "a": 1}')
msgpack_eq(1, '{}', '{}')
msgpack_eq(0, '{}', '{"a": 1}')
msgpack_eq(0, '{"a": 2}', '{"a": 1}')
msgpack_eq(0, '{"a": 1}', '{"b": 1}')
msgpack_eq(0, '{"a": 1}', '{"a": 1, "b": 1}')
msgpack_eq(0, '{"a": 1, "b": 1}', '{"b": 1}')
end)
it('compares map specials correctly', function()
msgpack_eq(1, mapsp(), mapsp())
msgpack_eq(1, mapsp(sp('binary', '[""]'), '""'),
mapsp(sp('binary', '[""]'), '""'))
msgpack_eq(1, mapsp(mapsp('1', '1'), mapsp('1', '1')),
mapsp(mapsp('1', '1'), mapsp('1', '1')))
msgpack_eq(0, mapsp(), mapsp('1', '1'))
msgpack_eq(0, mapsp(sp('binary', '["a"]'), '""'),
mapsp(sp('binary', '[""]'), '""'))
msgpack_eq(0, mapsp(sp('binary', '[""]'), '"a"'),
mapsp(sp('binary', '[""]'), '""'))
msgpack_eq(0, mapsp(sp('binary', '["a"]'), '"a"'),
mapsp(sp('binary', '[""]'), '""'))
msgpack_eq(0, mapsp(mapsp('1', '1'), mapsp('1', '1')),
mapsp(sp('binary', '[""]'), mapsp('1', '1')))
msgpack_eq(0, mapsp(mapsp('1', '1'), mapsp('1', '1')),
mapsp(mapsp('2', '1'), mapsp('1', '1')))
msgpack_eq(0, mapsp(mapsp('1', '1'), mapsp('1', '1')),
mapsp(mapsp('1', '2'), mapsp('1', '1')))
msgpack_eq(0, mapsp(mapsp('1', '1'), mapsp('1', '1')),
mapsp(mapsp('1', '1'), mapsp('2', '1')))
msgpack_eq(0, mapsp(mapsp('1', '1'), mapsp('1', '1')),
mapsp(mapsp('1', '1'), mapsp('1', '2')))
msgpack_eq(1, mapsp(mapsp('2', '1'), mapsp('1', '1'),
mapsp('1', '1'), mapsp('1', '1')),
mapsp(mapsp('1', '1'), mapsp('1', '1'),
mapsp('2', '1'), mapsp('1', '1')))
end)
it('compares map specials with raw maps correctly', function()
msgpack_eq(1, mapsp(), '{}')
msgpack_eq(1, mapsp(sp('string', '["1"]'), '1'), '{"1": 1}')
msgpack_eq(1, mapsp(sp('string', '["1"]'), sp('integer', '[1, 0, 0, 1]')),
'{"1": 1}')
msgpack_eq(0, mapsp(sp('integer', '[1, 0, 0, 1]'), sp('string', '["1"]')),
'{1: "1"}')
msgpack_eq(0, mapsp('"1"', sp('integer', '[1, 0, 0, 1]')),
'{"1": 1}')
msgpack_eq(0,
mapsp(sp('string', '["1"]'), '1', sp('string', '["2"]'), '2'),
'{"1": 1}')
msgpack_eq(0, mapsp(sp('string', '["1"]'), '1'), '{"1": 1, "2": 2}')
end)
it('compares raw arrays correctly', function()
msgpack_eq(1, '[]', '[]')
msgpack_eq(0, '[]', '[1]')
msgpack_eq(1, '[1]', '[1]')
msgpack_eq(1, '[[[1]]]', '[[[1]]]')
msgpack_eq(0, '[[[2]]]', '[[[1]]]')
end)
it('compares array specials correctly', function()
msgpack_eq(1, sp('array', '[]'), sp('array', '[]'))
msgpack_eq(0, sp('array', '[]'), sp('array', '[1]'))
msgpack_eq(1, sp('array', '[1]'), sp('array', '[1]'))
msgpack_eq(1, sp('array', '[[[1]]]'), sp('array', '[[[1]]]'))
msgpack_eq(0, sp('array', '[[[1]]]'), sp('array', '[[[2]]]'))
end)
it('compares array specials with raw arrays correctly', function()
msgpack_eq(1, sp('array', '[]'), '[]')
msgpack_eq(0, sp('array', '[]'), '[1]')
msgpack_eq(1, sp('array', '[1]'), '[1]')
msgpack_eq(1, sp('array', '[[[1]]]'), '[[[1]]]')
msgpack_eq(0, sp('array', '[[[1]]]'), '[[[2]]]')
end)
it('compares raw floats correctly', function()
msgpack_eq(1, '0.0', '0.0')
msgpack_eq(1, '(1.0/0.0-1.0/0.0)', '(1.0/0.0-1.0/0.0)')
-- both (1.0/0.0-1.0/0.0) and -(1.0/0.0-1.0/0.0) now return
-- str2float('nan'). ref: @18d1ba3422d
msgpack_eq(1, '(1.0/0.0-1.0/0.0)', '-(1.0/0.0-1.0/0.0)')
msgpack_eq(1, '-(1.0/0.0-1.0/0.0)', '-(1.0/0.0-1.0/0.0)')
msgpack_eq(1, '1.0/0.0', '1.0/0.0')
msgpack_eq(1, '-(1.0/0.0)', '-(1.0/0.0)')
msgpack_eq(1, '0.0', '0.0')
msgpack_eq(0, '0.0', '1.0')
msgpack_eq(0, '0.0', '(1.0/0.0-1.0/0.0)')
msgpack_eq(0, '0.0', '1.0/0.0')
msgpack_eq(0, '0.0', '-(1.0/0.0)')
msgpack_eq(0, '1.0/0.0', '-(1.0/0.0)')
msgpack_eq(0, '(1.0/0.0-1.0/0.0)', '-(1.0/0.0)')
msgpack_eq(0, '(1.0/0.0-1.0/0.0)', '1.0/0.0')
end)
it('compares float specials with raw floats correctly', function()
msgpack_eq(1, sp('float', '0.0'), '0.0')
msgpack_eq(1, sp('float', '(1.0/0.0-1.0/0.0)'), '(1.0/0.0-1.0/0.0)')
msgpack_eq(1, sp('float', '(1.0/0.0-1.0/0.0)'), '-(1.0/0.0-1.0/0.0)')
msgpack_eq(1, sp('float', '-(1.0/0.0-1.0/0.0)'), '(1.0/0.0-1.0/0.0)')
msgpack_eq(1, sp('float', '-(1.0/0.0-1.0/0.0)'), '-(1.0/0.0-1.0/0.0)')
msgpack_eq(1, sp('float', '1.0/0.0'), '1.0/0.0')
msgpack_eq(1, sp('float', '-(1.0/0.0)'), '-(1.0/0.0)')
msgpack_eq(1, sp('float', '0.0'), '0.0')
msgpack_eq(0, sp('float', '0.0'), '1.0')
msgpack_eq(0, sp('float', '0.0'), '(1.0/0.0-1.0/0.0)')
msgpack_eq(0, sp('float', '0.0'), '1.0/0.0')
msgpack_eq(0, sp('float', '0.0'), '-(1.0/0.0)')
msgpack_eq(0, sp('float', '1.0/0.0'), '-(1.0/0.0)')
msgpack_eq(0, sp('float', '(1.0/0.0-1.0/0.0)'), '-(1.0/0.0)')
msgpack_eq(0, sp('float', '(1.0/0.0-1.0/0.0)'), '1.0/0.0')
end)
it('compares float specials correctly', function()
msgpack_eq(1, sp('float', '0.0'), sp('float', '0.0'))
msgpack_eq(1, sp('float', '(1.0/0.0-1.0/0.0)'),
sp('float', '(1.0/0.0-1.0/0.0)'))
msgpack_eq(1, sp('float', '1.0/0.0'), sp('float', '1.0/0.0'))
msgpack_eq(1, sp('float', '-(1.0/0.0)'), sp('float', '-(1.0/0.0)'))
msgpack_eq(1, sp('float', '0.0'), sp('float', '0.0'))
msgpack_eq(0, sp('float', '0.0'), sp('float', '1.0'))
msgpack_eq(0, sp('float', '0.0'), sp('float', '(1.0/0.0-1.0/0.0)'))
msgpack_eq(0, sp('float', '0.0'), sp('float', '1.0/0.0'))
msgpack_eq(0, sp('float', '0.0'), sp('float', '-(1.0/0.0)'))
msgpack_eq(0, sp('float', '1.0/0.0'), sp('float', '-(1.0/0.0)'))
msgpack_eq(0, sp('float', '(1.0/0.0-1.0/0.0)'), sp('float', '-(1.0/0.0)'))
msgpack_eq(1, sp('float', '(1.0/0.0-1.0/0.0)'),
sp('float', '-(1.0/0.0-1.0/0.0)'))
msgpack_eq(1, sp('float', '-(1.0/0.0-1.0/0.0)'),
sp('float', '-(1.0/0.0-1.0/0.0)'))
msgpack_eq(0, sp('float', '(1.0/0.0-1.0/0.0)'), sp('float', '1.0/0.0'))
end)
it('compares boolean specials correctly', function()
msgpack_eq(1, sp('boolean', '1'), sp('boolean', '1'))
msgpack_eq(0, sp('boolean', '1'), sp('boolean', '0'))
end)
it('compares nil specials correctly', function()
msgpack_eq(1, sp('nil', '1'), sp('nil', '0'))
end)
it('compares nil, boolean and integer values with each other correctly',
function()
msgpack_eq(0, sp('boolean', '1'), '1')
msgpack_eq(0, sp('boolean', '1'), sp('nil', '0'))
msgpack_eq(0, sp('boolean', '1'), sp('nil', '1'))
msgpack_eq(0, sp('boolean', '0'), sp('nil', '0'))
msgpack_eq(0, sp('boolean', '0'), '0')
msgpack_eq(0, sp('boolean', '0'), sp('integer', '[1, 0, 0, 0]'))
msgpack_eq(0, sp('boolean', '0'), sp('integer', '[1, 0, 0, 1]'))
msgpack_eq(0, sp('boolean', '1'), sp('integer', '[1, 0, 0, 1]'))
msgpack_eq(0, sp('nil', '0'), sp('integer', '[1, 0, 0, 0]'))
msgpack_eq(0, sp('nil', '0'), '0')
end)
end)
describe('function msgpack#is_int', function()
it('works', function()
eq(1, nvim_eval('msgpack#is_int(1)'))
eq(1, nvim_eval('msgpack#is_int(-1)'))
eq(1, nvim_eval(('msgpack#is_int(%s)'):format(
sp('integer', '[1, 0, 0, 1]'))))
eq(1, nvim_eval(('msgpack#is_int(%s)'):format(
sp('integer', '[-1, 0, 0, 1]'))))
eq(0, nvim_eval(('msgpack#is_int(%s)'):format(
sp('float', '0.0'))))
eq(0, nvim_eval(('msgpack#is_int(%s)'):format(
sp('boolean', '0'))))
eq(0, nvim_eval(('msgpack#is_int(%s)'):format(
sp('nil', '0'))))
eq(0, nvim_eval('msgpack#is_int("")'))
end)
end)
describe('function msgpack#is_uint', function()
it('works', function()
eq(1, nvim_eval('msgpack#is_uint(1)'))
eq(0, nvim_eval('msgpack#is_uint(-1)'))
eq(1, nvim_eval(('msgpack#is_uint(%s)'):format(
sp('integer', '[1, 0, 0, 1]'))))
eq(0, nvim_eval(('msgpack#is_uint(%s)'):format(
sp('integer', '[-1, 0, 0, 1]'))))
eq(0, nvim_eval(('msgpack#is_uint(%s)'):format(
sp('float', '0.0'))))
eq(0, nvim_eval(('msgpack#is_uint(%s)'):format(
sp('boolean', '0'))))
eq(0, nvim_eval(('msgpack#is_uint(%s)'):format(
sp('nil', '0'))))
eq(0, nvim_eval('msgpack#is_uint("")'))
end)
end)
describe('function msgpack#strftime', function()
it('works', function()
local epoch = os.date('%Y-%m-%dT%H:%M:%S', 0)
eq(epoch, nvim_eval('msgpack#strftime("%Y-%m-%dT%H:%M:%S", 0)'))
eq(epoch, nvim_eval(
('msgpack#strftime("%%Y-%%m-%%dT%%H:%%M:%%S", %s)'):format(sp(
'integer', '[1, 0, 0, 0]'))))
end)
end)
describe('function msgpack#strptime', function()
it('works', function()
for _, v in ipairs({0, 10, 100000, 204, 1000000000}) do
local time = os.date('%Y-%m-%dT%H:%M:%S', v)
eq(v, nvim_eval('msgpack#strptime("%Y-%m-%dT%H:%M:%S", '
.. '"' .. time .. '")'))
end
end)
end)
describe('function msgpack#type', function()
local type_eq = function(expected, val)
eq(expected, nvim_eval(('msgpack#type(%s)'):format(val)))
end
it('works for special dictionaries', function()
type_eq('string', sp('string', '[""]'))
type_eq('binary', sp('binary', '[""]'))
type_eq('ext', sp('ext', '[1, [""]]'))
type_eq('array', sp('array', '[]'))
type_eq('map', sp('map', '[]'))
type_eq('integer', sp('integer', '[1, 0, 0, 0]'))
type_eq('float', sp('float', '0.0'))
type_eq('boolean', sp('boolean', '0'))
type_eq('nil', sp('nil', '0'))
end)
it('works for regular values', function()
type_eq('binary', '""')
type_eq('array', '[]')
type_eq('map', '{}')
type_eq('integer', '1')
type_eq('float', '0.0')
type_eq('float', '(1.0/0.0)')
type_eq('float', '-(1.0/0.0)')
type_eq('float', '(1.0/0.0-1.0/0.0)')
end)
end)
describe('function msgpack#special_type', function()
local sp_type_eq = function(expected, val)
eq(expected, nvim_eval(('msgpack#special_type(%s)'):format(val)))
end
it('works for special dictionaries', function()
sp_type_eq('string', sp('string', '[""]'))
sp_type_eq('binary', sp('binary', '[""]'))
sp_type_eq('ext', sp('ext', '[1, [""]]'))
sp_type_eq('array', sp('array', '[]'))
sp_type_eq('map', sp('map', '[]'))
sp_type_eq('integer', sp('integer', '[1, 0, 0, 0]'))
sp_type_eq('float', sp('float', '0.0'))
sp_type_eq('boolean', sp('boolean', '0'))
sp_type_eq('nil', sp('nil', '0'))
end)
it('works for regular values', function()
sp_type_eq(0, '""')
sp_type_eq(0, '[]')
sp_type_eq(0, '{}')
sp_type_eq(0, '1')
sp_type_eq(0, '0.0')
sp_type_eq(0, '(1.0/0.0)')
sp_type_eq(0, '-(1.0/0.0)')
sp_type_eq(0, '(1.0/0.0-1.0/0.0)')
end)
end)
describe('function msgpack#string', function()
local string_eq = function(expected, val)
eq(expected, nvim_eval(('msgpack#string(%s)'):format(val)))
end
it('works for special dictionaries', function()
string_eq('=""', sp('string', '[""]'))
string_eq('="\\n"', sp('string', '["", ""]'))
string_eq('="ab\\0c\\nde"', sp('string', '["ab\\nc", "de"]'))
string_eq('""', sp('binary', '[""]'))
string_eq('"\\n"', sp('binary', '["", ""]'))
string_eq('"ab\\0c\\nde"', sp('binary', '["ab\\nc", "de"]'))
string_eq('+(2)""', sp('ext', '[2, [""]]'))
string_eq('+(2)"\\n"', sp('ext', '[2, ["", ""]]'))
string_eq('+(2)"ab\\0c\\nde"', sp('ext', '[2, ["ab\\nc", "de"]]'))
string_eq('[]', sp('array', '[]'))
string_eq('[[[[{}]]]]', sp('array', '[[[[{}]]]]'))
string_eq('{}', sp('map', '[]'))
string_eq('{2: 10}', sp('map', '[[2, 10]]'))
string_eq('{{1: 1}: {1: 1}, {2: 1}: {1: 1}}',
mapsp(mapsp('2', '1'), mapsp('1', '1'),
mapsp('1', '1'), mapsp('1', '1')))
string_eq('{{1: 1}: {1: 1}, {2: 1}: {1: 1}}',
mapsp(mapsp('1', '1'), mapsp('1', '1'),
mapsp('2', '1'), mapsp('1', '1')))
string_eq('{[1, 2, {{1: 2}: 1}]: [1, 2, {{1: 2}: 1}]}',
mapsp(('[1, 2, %s]'):format(mapsp(mapsp('1', '2'), '1')),
('[1, 2, %s]'):format(mapsp(mapsp('1', '2'), '1'))))
string_eq('0x0000000000000000', sp('integer', '[1, 0, 0, 0]'))
string_eq('-0x0000000100000000', sp('integer', '[-1, 0, 2, 0]'))
string_eq('0x123456789abcdef0',
sp('integer', '[ 1, 0, 610839793, 448585456]'))
string_eq('-0x123456789abcdef0',
sp('integer', '[-1, 0, 610839793, 448585456]'))
string_eq('0xf23456789abcdef0',
sp('integer', '[ 1, 3, 1684581617, 448585456]'))
string_eq('-0x723456789abcdef0',
sp('integer', '[-1, 1, 1684581617, 448585456]'))
string_eq('0.0', sp('float', '0.0'))
string_eq('inf', sp('float', '(1.0/0.0)'))
string_eq('-inf', sp('float', '-(1.0/0.0)'))
string_eq('nan', sp('float', '(1.0/0.0-1.0/0.0)'))
string_eq('nan', sp('float', '-(1.0/0.0-1.0/0.0)'))
string_eq('FALSE', sp('boolean', '0'))
string_eq('TRUE', sp('boolean', '1'))
string_eq('NIL', sp('nil', '0'))
end)
it('works for regular values', function()
string_eq('""', '""')
string_eq('"\\n"', '"\\n"')
string_eq('[]', '[]')
string_eq('[[[{}]]]', '[[[{}]]]')
string_eq('{}', '{}')
string_eq('{="2": 10}', '{2: 10}')
string_eq('{="2": [{}]}', '{2: [{}]}')
string_eq('1', '1')
string_eq('0.0', '0.0')
string_eq('inf', '(1.0/0.0)')
string_eq('-inf', '-(1.0/0.0)')
string_eq('nan', '(1.0/0.0-1.0/0.0)')
string_eq('nan', '-(1.0/0.0-1.0/0.0)')
end)
it('works for special v: values like v:true', function()
string_eq('TRUE', 'v:true')
string_eq('FALSE', 'v:false')
string_eq('NIL', 'v:null')
end)
end)
describe('function msgpack#deepcopy', function()
it('works for special dictionaries', function()
nvim_command('let sparr = ' .. sp('array', '[[[]]]'))
nvim_command('let spmap = ' .. mapsp('"abc"', '[[]]'))
nvim_command('let spint = ' .. sp('integer', '[1, 0, 0, 0]'))
nvim_command('let spflt = ' .. sp('float', '1.0'))
nvim_command('let spext = ' .. sp('ext', '[2, ["abc", "def"]]'))
nvim_command('let spstr = ' .. sp('string', '["abc", "def"]'))
nvim_command('let spbin = ' .. sp('binary', '["abc", "def"]'))
nvim_command('let spbln = ' .. sp('boolean', '0'))
nvim_command('let spnil = ' .. sp('nil', '0'))
nvim_command('let sparr2 = msgpack#deepcopy(sparr)')
nvim_command('let spmap2 = msgpack#deepcopy(spmap)')
nvim_command('let spint2 = msgpack#deepcopy(spint)')
nvim_command('let spflt2 = msgpack#deepcopy(spflt)')
nvim_command('let spext2 = msgpack#deepcopy(spext)')
nvim_command('let spstr2 = msgpack#deepcopy(spstr)')
nvim_command('let spbin2 = msgpack#deepcopy(spbin)')
nvim_command('let spbln2 = msgpack#deepcopy(spbln)')
nvim_command('let spnil2 = msgpack#deepcopy(spnil)')
eq('array', nvim_eval('msgpack#type(sparr2)'))
eq('map', nvim_eval('msgpack#type(spmap2)'))
eq('integer', nvim_eval('msgpack#type(spint2)'))
eq('float', nvim_eval('msgpack#type(spflt2)'))
eq('ext', nvim_eval('msgpack#type(spext2)'))
eq('string', nvim_eval('msgpack#type(spstr2)'))
eq('binary', nvim_eval('msgpack#type(spbin2)'))
eq('boolean', nvim_eval('msgpack#type(spbln2)'))
eq('nil', nvim_eval('msgpack#type(spnil2)'))
nvim_command('call add(sparr._VAL, 0)')
nvim_command('call add(sparr._VAL[0], 0)')
nvim_command('call add(sparr._VAL[0][0], 0)')
nvim_command('call add(spmap._VAL, [0, 0])')
nvim_command('call add(spmap._VAL[0][1], 0)')
nvim_command('call add(spmap._VAL[0][1][0], 0)')
nvim_command('let spint._VAL[1] = 1')
nvim_command('let spflt._VAL = 0.0')
nvim_command('let spext._VAL[0] = 3')
nvim_command('let spext._VAL[1][0] = "gh"')
nvim_command('let spstr._VAL[0] = "gh"')
nvim_command('let spbin._VAL[0] = "gh"')
nvim_command('let spbln._VAL = 1')
nvim_command('let spnil._VAL = 1')
eq({_TYPE={}, _VAL={{{}}}}, nvim_eval('sparr2'))
eq({_TYPE={}, _VAL={{'abc', {{}}}}}, nvim_eval('spmap2'))
eq({_TYPE={}, _VAL={1, 0, 0, 0}}, nvim_eval('spint2'))
eq({_TYPE={}, _VAL=1.0}, nvim_eval('spflt2'))
eq({_TYPE={}, _VAL={2, {'abc', 'def'}}}, nvim_eval('spext2'))
eq({_TYPE={}, _VAL={'abc', 'def'}}, nvim_eval('spstr2'))
eq({_TYPE={}, _VAL={'abc', 'def'}}, nvim_eval('spbin2'))
eq({_TYPE={}, _VAL=0}, nvim_eval('spbln2'))
eq({_TYPE={}, _VAL=0}, nvim_eval('spnil2'))
nvim_command('let sparr._TYPE = []')
nvim_command('let spmap._TYPE = []')
nvim_command('let spint._TYPE = []')
nvim_command('let spflt._TYPE = []')
nvim_command('let spext._TYPE = []')
nvim_command('let spstr._TYPE = []')
nvim_command('let spbin._TYPE = []')
nvim_command('let spbln._TYPE = []')
nvim_command('let spnil._TYPE = []')
eq('array', nvim_eval('msgpack#special_type(sparr2)'))
eq('map', nvim_eval('msgpack#special_type(spmap2)'))
eq('integer', nvim_eval('msgpack#special_type(spint2)'))
eq('float', nvim_eval('msgpack#special_type(spflt2)'))
eq('ext', nvim_eval('msgpack#special_type(spext2)'))
eq('string', nvim_eval('msgpack#special_type(spstr2)'))
eq('binary', nvim_eval('msgpack#special_type(spbin2)'))
eq('boolean', nvim_eval('msgpack#special_type(spbln2)'))
eq('nil', nvim_eval('msgpack#special_type(spnil2)'))
end)
it('works for regular values', function()
nvim_command('let arr = [[[]]]')
nvim_command('let map = {1: {}}')
nvim_command('let int = 1')
nvim_command('let flt = 2.0')
nvim_command('let bin = "abc"')
nvim_command('let arr2 = msgpack#deepcopy(arr)')
nvim_command('let map2 = msgpack#deepcopy(map)')
nvim_command('let int2 = msgpack#deepcopy(int)')
nvim_command('let flt2 = msgpack#deepcopy(flt)')
nvim_command('let bin2 = msgpack#deepcopy(bin)')
eq('array', nvim_eval('msgpack#type(arr2)'))
eq('map', nvim_eval('msgpack#type(map2)'))
eq('integer', nvim_eval('msgpack#type(int2)'))
eq('float', nvim_eval('msgpack#type(flt2)'))
eq('binary', nvim_eval('msgpack#type(bin2)'))
nvim_command('call add(arr, 0)')
nvim_command('call add(arr[0], 0)')
nvim_command('call add(arr[0][0], 0)')
nvim_command('let map.a = 1')
nvim_command('let map.1.a = 1')
nvim_command('let int = 2')
nvim_command('let flt = 3.0')
nvim_command('let bin = ""')
eq({{{}}}, nvim_eval('arr2'))
eq({['1']={}}, nvim_eval('map2'))
eq(1, nvim_eval('int2'))
eq(2.0, nvim_eval('flt2'))
eq('abc', nvim_eval('bin2'))
end)
it('works for special v: values like v:true', function()
meths.set_var('true', true)
meths.set_var('false', false)
meths.set_var('nil', NIL)
nvim_command('let true2 = msgpack#deepcopy(true)')
nvim_command('let false2 = msgpack#deepcopy(false)')
nvim_command('let nil2 = msgpack#deepcopy(nil)')
eq(true, meths.get_var('true'))
eq(false, meths.get_var('false'))
eq(NIL, meths.get_var('nil'))
end)
end)
describe('function msgpack#eval', function()
local eval_eq = function(expected_type, expected_val, str, ...)
nvim_command(('let g:__val = msgpack#eval(\'%s\', %s)'):format(str:gsub(
'\'', '\'\''), select(1, ...) or '{}'))
eq(expected_type, nvim_eval('msgpack#type(g:__val)'))
local expected_val_full = expected_val
if (not (({float=true, integer=true})[expected_type]
and type(expected_val) ~= 'table')
and expected_type ~= 'array') then
expected_val_full = {_TYPE={}, _VAL=expected_val_full}
end
if expected_val_full == expected_val_full then
eq(expected_val_full, nvim_eval('g:__val'))
else -- NaN
local nvim_nan = tostring(nvim_eval('g:__val'))
-- -NaN is a hardware-specific detail, there's no need to test for it.
-- Accept ether 'nan' or '-nan' as the response.
ok(nvim_nan == 'nan' or nvim_nan == '-nan')
end
nvim_command('unlet g:__val')
end
it('correctly loads binary strings', function()
eval_eq('binary', {'abcdef'}, '"abcdef"')
eval_eq('binary', {'abc', 'def'}, '"abc\\ndef"')
eval_eq('binary', {'abc\ndef'}, '"abc\\0def"')
eval_eq('binary', {'\nabc\ndef\n'}, '"\\0abc\\0def\\0"')
eval_eq('binary', {'abc\n\n\ndef'}, '"abc\\0\\0\\0def"')
eval_eq('binary', {'abc\n', '\ndef'}, '"abc\\0\\n\\0def"')
eval_eq('binary', {'abc', '', '', 'def'}, '"abc\\n\\n\\ndef"')
eval_eq('binary', {'abc', '', '', 'def', ''}, '"abc\\n\\n\\ndef\\n"')
eval_eq('binary', {'', 'abc', '', '', 'def'}, '"\\nabc\\n\\n\\ndef"')
eval_eq('binary', {''}, '""')
eval_eq('binary', {'"'}, '"\\""')
eval_eq('binary', {'py3 print(sys.version_info)'},
'"py3 print(sys.version_info)"')
end)
it('correctly loads strings', function()
eval_eq('string', {'abcdef'}, '="abcdef"')
eval_eq('string', {'abc', 'def'}, '="abc\\ndef"')
eval_eq('string', {'abc\ndef'}, '="abc\\0def"')
eval_eq('string', {'\nabc\ndef\n'}, '="\\0abc\\0def\\0"')
eval_eq('string', {'abc\n\n\ndef'}, '="abc\\0\\0\\0def"')
eval_eq('string', {'abc\n', '\ndef'}, '="abc\\0\\n\\0def"')
eval_eq('string', {'abc', '', '', 'def'}, '="abc\\n\\n\\ndef"')
eval_eq('string', {'abc', '', '', 'def', ''}, '="abc\\n\\n\\ndef\\n"')
eval_eq('string', {'', 'abc', '', '', 'def'}, '="\\nabc\\n\\n\\ndef"')
eval_eq('string', {''}, '=""')
eval_eq('string', {'"'}, '="\\""')
eval_eq('string', {'py3 print(sys.version_info)'},
'="py3 print(sys.version_info)"')
end)
it('correctly loads ext values', function()
eval_eq('ext', {0, {'abcdef'}}, '+(0)"abcdef"')
eval_eq('ext', {0, {'abc', 'def'}}, '+(0)"abc\\ndef"')
eval_eq('ext', {0, {'abc\ndef'}}, '+(0)"abc\\0def"')
eval_eq('ext', {0, {'\nabc\ndef\n'}}, '+(0)"\\0abc\\0def\\0"')
eval_eq('ext', {0, {'abc\n\n\ndef'}}, '+(0)"abc\\0\\0\\0def"')
eval_eq('ext', {0, {'abc\n', '\ndef'}}, '+(0)"abc\\0\\n\\0def"')
eval_eq('ext', {0, {'abc', '', '', 'def'}}, '+(0)"abc\\n\\n\\ndef"')
eval_eq('ext', {0, {'abc', '', '', 'def', ''}},
'+(0)"abc\\n\\n\\ndef\\n"')
eval_eq('ext', {0, {'', 'abc', '', '', 'def'}},
'+(0)"\\nabc\\n\\n\\ndef"')
eval_eq('ext', {0, {''}}, '+(0)""')
eval_eq('ext', {0, {'"'}}, '+(0)"\\""')
eval_eq('ext', {-1, {'abcdef'}}, '+(-1)"abcdef"')
eval_eq('ext', {-1, {'abc', 'def'}}, '+(-1)"abc\\ndef"')
eval_eq('ext', {-1, {'abc\ndef'}}, '+(-1)"abc\\0def"')
eval_eq('ext', {-1, {'\nabc\ndef\n'}}, '+(-1)"\\0abc\\0def\\0"')
eval_eq('ext', {-1, {'abc\n\n\ndef'}}, '+(-1)"abc\\0\\0\\0def"')
eval_eq('ext', {-1, {'abc\n', '\ndef'}}, '+(-1)"abc\\0\\n\\0def"')
eval_eq('ext', {-1, {'abc', '', '', 'def'}}, '+(-1)"abc\\n\\n\\ndef"')
eval_eq('ext', {-1, {'abc', '', '', 'def', ''}},
'+(-1)"abc\\n\\n\\ndef\\n"')
eval_eq('ext', {-1, {'', 'abc', '', '', 'def'}},
'+(-1)"\\nabc\\n\\n\\ndef"')
eval_eq('ext', {-1, {''}}, '+(-1)""')
eval_eq('ext', {-1, {'"'}}, '+(-1)"\\""')
eval_eq('ext', {42, {'py3 print(sys.version_info)'}},
'+(42)"py3 print(sys.version_info)"')
end)
it('correctly loads floats', function()
eval_eq('float', inf, 'inf')
eval_eq('float', minus_inf, '-inf')
eval_eq('float', nan, 'nan')
eval_eq('float', 1.0e10, '1.0e10')
eval_eq('float', 1.0e10, '1.0e+10')
eval_eq('float', -1.0e10, '-1.0e+10')
eval_eq('float', 1.0, '1.0')
eval_eq('float', -1.0, '-1.0')
eval_eq('float', 1.0e-10, '1.0e-10')
eval_eq('float', -1.0e-10, '-1.0e-10')
end)
it('correctly loads integers', function()
eval_eq('integer', 10, '10')
eval_eq('integer', -10, '-10')
eval_eq('integer', { 1, 0, 610839793, 448585456}, ' 0x123456789ABCDEF0')
eval_eq('integer', {-1, 0, 610839793, 448585456}, '-0x123456789ABCDEF0')
eval_eq('integer', { 1, 3, 1684581617, 448585456}, ' 0xF23456789ABCDEF0')
eval_eq('integer', {-1, 1, 1684581617, 448585456}, '-0x723456789ABCDEF0')
eval_eq('integer', { 1, 0, 0, 0x100}, '0x100')
eval_eq('integer', {-1, 0, 0, 0x100}, '-0x100')
eval_eq('integer', ('a'):byte(), '\'a\'')
eval_eq('integer', 0xAB, '\'«\'')
eval_eq('integer', 0, '\'\\0\'')
eval_eq('integer', 10246567, '\'\\10246567\'')
end)
it('correctly loads constants', function()
eval_eq('boolean', 1, 'TRUE')
eval_eq('boolean', 0, 'FALSE')
eval_eq('nil', 0, 'NIL')
eval_eq('nil', 0, 'NIL', '{"NIL": 1, "nan": 2, "T": 3}')
eval_eq('float', nan, 'nan',
'{"NIL": "1", "nan": "2", "T": "3"}')
eval_eq('integer', 3, 'T', '{"NIL": "1", "nan": "2", "T": "3"}')
eval_eq('integer', {1, 0, 0, 0}, 'T',
('{"NIL": "1", "nan": "2", "T": \'%s\'}'):format(
sp('integer', '[1, 0, 0, 0]')))
end)
it('correctly loads maps', function()
eval_eq('map', {}, '{}')
eval_eq('map', {{{_TYPE={}, _VAL={{1, 2}}}, {_TYPE={}, _VAL={{3, 4}}}}},
'{{1: 2}: {3: 4}}')
eval_eq('map', {{{_TYPE={}, _VAL={{1, 2}}}, {_TYPE={}, _VAL={{3, 4}}}},
{1, 2}},
'{{1: 2}: {3: 4}, 1: 2}')
eval_eq('map', {{{_TYPE={}, _VAL={
{{_TYPE={}, _VAL={'py3 print(sys.version_info)'}},
2}}},
{_TYPE={}, _VAL={{3, 4}}}},
{1, 2}},
'{{"py3 print(sys.version_info)": 2}: {3: 4}, 1: 2}')
end)
it('correctly loads arrays', function()
eval_eq('array', {}, '[]')
eval_eq('array', {1}, '[1]')
eval_eq('array', {{_TYPE={}, _VAL=1}}, '[TRUE]')
eval_eq('array', {{{_TYPE={}, _VAL={{1, 2}}}}, {_TYPE={}, _VAL={{3, 4}}}},
'[[{1: 2}], {3: 4}]')
eval_eq('array', {{_TYPE={}, _VAL={'py3 print(sys.version_info)'}}},
'["py3 print(sys.version_info)"]')
end)
it('errors out when needed', function()
eq('empty:Parsed string is empty',
exc_exec('call msgpack#eval("", {})'))
eq('unknown:Invalid non-space character: ^',
exc_exec('call msgpack#eval("^", {})'))
eq('char-invalid:Invalid integer character literal format: \'\'',
exc_exec('call msgpack#eval("\'\'", {})'))
eq('char-invalid:Invalid integer character literal format: \'ab\'',
exc_exec('call msgpack#eval("\'ab\'", {})'))
eq('char-invalid:Invalid integer character literal format: \'',
exc_exec('call msgpack#eval("\'", {})'))
eq('"-invalid:Invalid string: "',
exc_exec('call msgpack#eval("\\"", {})'))
eq('"-invalid:Invalid string: ="',
exc_exec('call msgpack#eval("=\\"", {})'))
eq('"-invalid:Invalid string: +(0)"',
exc_exec('call msgpack#eval("+(0)\\"", {})'))
eq('0.-nodigits:Decimal dot must be followed by digit(s): .e1',
exc_exec('call msgpack#eval("0.e1", {})'))
eq('0x-long:Must have at most 16 hex digits: FEDCBA98765432100',
exc_exec('call msgpack#eval("0xFEDCBA98765432100", {})'))
eq('0x-empty:Must have number after 0x: ',
exc_exec('call msgpack#eval("0x", {})'))
eq('name-unknown:Unknown name FOO: FOO',
exc_exec('call msgpack#eval("FOO", {})'))
eq('name-unknown:Unknown name py3: py3 print(sys.version_info)',
exc_exec('call msgpack#eval("py3 print(sys.version_info)", {})'))
eq('name-unknown:Unknown name o: o',
exc_exec('call msgpack#eval("-info", {})'))
end)
end)
end)
| Lua | 5 | uga-rosa/neovim | test/functional/plugin/msgpack_spec.lua | [
"Vim"
] |
REBOL []
#do [include-ctx/push [%../../../r3-gui/release/]]
#include-check %r3-gui.r3
#do [include-ctx/pop]
dpi: gui-metric 'screen-dpi
gui-metric/set 'unit-size dpi / 96
scr: round/floor (gui-metric 'work-size) - gui-metric 'title-size
img: decode 'jpeg #include-binary %clouds.jpg
;print ""
view/options [
vgroup [
vpanel sky [
image img
vtight [
title "Hello world!"
text "This REBOL script has been encapped for Android. "
button "Close" on-action [quit]
] options [box-model: 'frame show-mode: 'fixed gob-offset: 10x10 max-hint: [150 auto]]
] options [
max-hint: [800 auto]
border-size: [1x1 1x1]
border-color: black
]
] options [
max-hint: 'keep
pane-align: 'center
]
when [rotate] on-action [
win: arg/gob/data
bg: first faces? win
win/facets/max-hint:
bg/facets/max-hint:
as-pair arg/offset/x max arg/offset/y win/facets/intern/min-heights/1
update-face/no-show/content bg
]
][
offset: 0x0
max-hint: scr
]
| Rebol | 4 | Pointillistic/rebol-lang | release/android/demo-script.r3 | [
"Apache-2.0"
] |
import Util;
import RPC;
import EndpointUtil;
extends RPC;
init(config: RPC.Config){
super(config);
@endpointRule = 'central';
checkConfig(config);
@endpoint = getEndpoint('pts', @regionId, @endpointRule, @network, @suffix, @endpointMap, @endpoint);
}
model DescribeConfigRequest = {
routeRequestBody?: map[string]any(name='RouteRequestBody'),
}
model DescribeConfigResponse = {
requestId: string(name='RequestId'),
message: string(name='Message'),
code: string(name='Code'),
routeResponseBody: string(name='RouteResponseBody'),
success: string(name='Success'),
}
async function describeConfigWithOptions(request: DescribeConfigRequest, runtime: Util.RuntimeOptions): DescribeConfigResponse {
Util.validateModel(request);
return doRequest('DescribeConfig', 'HTTPS', 'POST', '2019-08-10', 'AK', null, request, runtime);
}
async function describeConfig(request: DescribeConfigRequest): DescribeConfigResponse {
var runtime = new Util.RuntimeOptions{};
return describeConfigWithOptions(request, runtime);
}
model SubmitTestingRequest = {
sceneId?: string(name='SceneId'),
}
model SubmitTestingResponse = {
requestId: string(name='RequestId'),
success: boolean(name='Success'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
submitResult: string(name='SubmitResult'),
}
async function submitTestingWithOptions(request: SubmitTestingRequest, runtime: Util.RuntimeOptions): SubmitTestingResponse {
Util.validateModel(request);
return doRequest('SubmitTesting', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function submitTesting(request: SubmitTestingRequest): SubmitTestingResponse {
var runtime = new Util.RuntimeOptions{};
return submitTestingWithOptions(request, runtime);
}
model SubmitProgressRequest = {
sceneId?: string(name='SceneId'),
taskId?: string(name='TaskId'),
}
model SubmitProgressResponse = {
requestId: string(name='RequestId'),
success: boolean(name='Success'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
submitResult: string(name='SubmitResult'),
}
async function submitProgressWithOptions(request: SubmitProgressRequest, runtime: Util.RuntimeOptions): SubmitProgressResponse {
Util.validateModel(request);
return doRequest('SubmitProgress', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function submitProgress(request: SubmitProgressRequest): SubmitProgressResponse {
var runtime = new Util.RuntimeOptions{};
return submitProgressWithOptions(request, runtime);
}
model ListSlaWarningsRequest = {
planId: string(name='PlanId'),
pageNumber: integer(name='PageNumber'),
pageSize: integer(name='PageSize'),
}
model ListSlaWarningsResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
warnings: string(name='Warnings'),
pageNumber: integer(name='PageNumber'),
pageSize: integer(name='PageSize'),
totalCount: long(name='TotalCount'),
}
async function listSlaWarningsWithOptions(request: ListSlaWarningsRequest, runtime: Util.RuntimeOptions): ListSlaWarningsResponse {
Util.validateModel(request);
return doRequest('ListSlaWarnings', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,BearerToken,PrivateKey', null, request, runtime);
}
async function listSlaWarnings(request: ListSlaWarningsRequest): ListSlaWarningsResponse {
var runtime = new Util.RuntimeOptions{};
return listSlaWarningsWithOptions(request, runtime);
}
model ListSlaSnapshotSummaryRequest = {
planId: string(name='PlanId'),
}
model ListSlaSnapshotSummaryResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
slaSummaryVO: string(name='SlaSummaryVO'),
}
async function listSlaSnapshotSummaryWithOptions(request: ListSlaSnapshotSummaryRequest, runtime: Util.RuntimeOptions): ListSlaSnapshotSummaryResponse {
Util.validateModel(request);
return doRequest('ListSlaSnapshotSummary', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function listSlaSnapshotSummary(request: ListSlaSnapshotSummaryRequest): ListSlaSnapshotSummaryResponse {
var runtime = new Util.RuntimeOptions{};
return listSlaSnapshotSummaryWithOptions(request, runtime);
}
model ExecuteSceneFunctionRequest = {
expression: string(name='Expression'),
}
model ExecuteSceneFunctionResponse = {
message: string(name='Message'),
code: string(name='Code'),
success: boolean(name='Success'),
requestId: string(name='RequestId'),
httpStatusCode: integer(name='HttpStatusCode'),
result: string(name='Result'),
}
async function executeSceneFunctionWithOptions(request: ExecuteSceneFunctionRequest, runtime: Util.RuntimeOptions): ExecuteSceneFunctionResponse {
Util.validateModel(request);
return doRequest('ExecuteSceneFunction', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function executeSceneFunction(request: ExecuteSceneFunctionRequest): ExecuteSceneFunctionResponse {
var runtime = new Util.RuntimeOptions{};
return executeSceneFunctionWithOptions(request, runtime);
}
model DescribeIntranetResourceRequest = {
}
model DescribeIntranetResourceResponse = {
requestId: string(name='RequestId'),
message: string(name='Message'),
code: string(name='Code'),
success: boolean(name='Success'),
httpStatusCode: integer(name='HttpStatusCode'),
intranetResource: string(name='IntranetResource'),
}
async function describeIntranetResourceWithOptions(request: DescribeIntranetResourceRequest, runtime: Util.RuntimeOptions): DescribeIntranetResourceResponse {
Util.validateModel(request);
return doRequest('DescribeIntranetResource', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeIntranetResource(request: DescribeIntranetResourceRequest): DescribeIntranetResourceResponse {
var runtime = new Util.RuntimeOptions{};
return describeIntranetResourceWithOptions(request, runtime);
}
model UploadFileFromOSSRequest = {
ossUrl?: string(name='OssUrl'),
}
model UploadFileFromOSSResponse = {
requestId: string(name='RequestId'),
message: string(name='Message'),
code: string(name='Code'),
success: boolean(name='Success'),
httpStatusCode: integer(name='HttpStatusCode'),
ptsDataFile: {
fileKey: string(name='FileKey'),
fileName: string(name='FileName'),
ossUrl: map[string]any(name='OssUrl'),
lineCount: long(name='LineCount'),
skipFirstLine: boolean(name='SkipFirstLine'),
delimiter: string(name='Delimiter'),
length: long(name='Length'),
columns: string(name='Columns'),
useOnce: boolean(name='UseOnce'),
gmtCreateTS: long(name='GmtCreateTS'),
}(name='PtsDataFile'),
}
async function uploadFileFromOSSWithOptions(request: UploadFileFromOSSRequest, runtime: Util.RuntimeOptions): UploadFileFromOSSResponse {
Util.validateModel(request);
return doRequest('UploadFileFromOSS', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function uploadFileFromOSS(request: UploadFileFromOSSRequest): UploadFileFromOSSResponse {
var runtime = new Util.RuntimeOptions{};
return uploadFileFromOSSWithOptions(request, runtime);
}
model ListSlaSnapshotRealRequest = {
planId: string(name='PlanId'),
}
model ListSlaSnapshotRealResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
slaSummaryVO: string(name='SlaSummaryVO'),
}
async function listSlaSnapshotRealWithOptions(request: ListSlaSnapshotRealRequest, runtime: Util.RuntimeOptions): ListSlaSnapshotRealResponse {
Util.validateModel(request);
return doRequest('ListSlaSnapshotReal', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function listSlaSnapshotReal(request: ListSlaSnapshotRealRequest): ListSlaSnapshotRealResponse {
var runtime = new Util.RuntimeOptions{};
return listSlaSnapshotRealWithOptions(request, runtime);
}
model StopSceneTestingRequest = {
sceneId: string(name='SceneId'),
}
model StopSceneTestingResponse = {
message: string(name='Message'),
code: string(name='Code'),
success: boolean(name='Success'),
requestId: string(name='RequestId'),
httpStatusCode: integer(name='HttpStatusCode'),
isSuccess: boolean(name='IsSuccess'),
}
async function stopSceneTestingWithOptions(request: StopSceneTestingRequest, runtime: Util.RuntimeOptions): StopSceneTestingResponse {
Util.validateModel(request);
return doRequest('StopSceneTesting', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function stopSceneTesting(request: StopSceneTestingRequest): StopSceneTestingResponse {
var runtime = new Util.RuntimeOptions{};
return stopSceneTestingWithOptions(request, runtime);
}
model DescribeSlaTemplateRequest = {
type?: string(name='Type'),
pageSize?: integer(name='PageSize'),
pageNumber?: integer(name='PageNumber'),
}
model DescribeSlaTemplateResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
pageNumber: integer(name='PageNumber'),
pageSize: integer(name='PageSize'),
totalCount: integer(name='TotalCount'),
templates: [
{
id: string(name='Id'),
type: string(name='Type'),
name: string(name='Name'),
description: string(name='Description'),
uid: string(name='Uid'),
modifiedTime: long(name='ModifiedTime'),
classification: string(name='Classification'),
businessGroup: string(name='BusinessGroup'),
businessChildGroup: string(name='BusinessChildGroup'),
rules: string(name='Rules'),
deleted: integer(name='Deleted'),
}
](name='Templates'),
}
async function describeSlaTemplateWithOptions(request: DescribeSlaTemplateRequest, runtime: Util.RuntimeOptions): DescribeSlaTemplateResponse {
Util.validateModel(request);
return doRequest('DescribeSlaTemplate', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeSlaTemplate(request: DescribeSlaTemplateRequest): DescribeSlaTemplateResponse {
var runtime = new Util.RuntimeOptions{};
return describeSlaTemplateWithOptions(request, runtime);
}
model StartSceneTestingRequest = {
sceneId?: string(name='SceneId'),
}
model StartSceneTestingResponse = {
requestId: string(name='RequestId'),
success: boolean(name='Success'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
planId: string(name='PlanId'),
}
async function startSceneTestingWithOptions(request: StartSceneTestingRequest, runtime: Util.RuntimeOptions): StartSceneTestingResponse {
Util.validateModel(request);
return doRequest('StartSceneTesting', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function startSceneTesting(request: StartSceneTestingRequest): StartSceneTestingResponse {
var runtime = new Util.RuntimeOptions{};
return startSceneTestingWithOptions(request, runtime);
}
model SaveSceneRequest = {
scene: string(name='Scene'),
}
model SaveSceneResponse = {
requestId: string(name='RequestId'),
sceneId: string(name='SceneId'),
message: string(name='Message'),
code: string(name='Code'),
success: boolean(name='Success'),
httpStatusCode: integer(name='HttpStatusCode'),
codeKey: string(name='CodeKey'),
}
async function saveSceneWithOptions(request: SaveSceneRequest, runtime: Util.RuntimeOptions): SaveSceneResponse {
Util.validateModel(request);
return doRequest('SaveScene', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function saveScene(request: SaveSceneRequest): SaveSceneResponse {
var runtime = new Util.RuntimeOptions{};
return saveSceneWithOptions(request, runtime);
}
model CreateSceneRequest = {
scene: string(name='Scene'),
}
model CreateSceneResponse = {
requestId: string(name='RequestId'),
sceneId: string(name='SceneId'),
message: string(name='Message'),
code: string(name='Code'),
success: boolean(name='Success'),
httpStatusCode: integer(name='HttpStatusCode'),
codeKey: string(name='CodeKey'),
}
async function createSceneWithOptions(request: CreateSceneRequest, runtime: Util.RuntimeOptions): CreateSceneResponse {
Util.validateModel(request);
return doRequest('CreateScene', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function createScene(request: CreateSceneRequest): CreateSceneResponse {
var runtime = new Util.RuntimeOptions{};
return createSceneWithOptions(request, runtime);
}
model ChangePressureRequest = {
routeRequestBody?: map[string]any(name='RouteRequestBody'),
}
model ChangePressureResponse = {
requestId: string(name='RequestId'),
message: string(name='Message'),
code: string(name='Code'),
routeResponseBody: string(name='RouteResponseBody'),
success: string(name='Success'),
}
async function changePressureWithOptions(request: ChangePressureRequest, runtime: Util.RuntimeOptions): ChangePressureResponse {
Util.validateModel(request);
return doRequest('ChangePressure', 'HTTPS', 'POST', '2019-08-10', 'AK', null, request, runtime);
}
async function changePressure(request: ChangePressureRequest): ChangePressureResponse {
var runtime = new Util.RuntimeOptions{};
return changePressureWithOptions(request, runtime);
}
model ListEnginesRequest = {
routeRequestBody?: map[string]any(name='RouteRequestBody'),
}
model ListEnginesResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
routeResponseBody: string(name='RouteResponseBody'),
success: string(name='Success'),
}
async function listEnginesWithOptions(request: ListEnginesRequest, runtime: Util.RuntimeOptions): ListEnginesResponse {
Util.validateModel(request);
return doRequest('ListEngines', 'HTTPS', 'POST', '2019-08-10', 'AK', null, request, runtime);
}
async function listEngines(request: ListEnginesRequest): ListEnginesResponse {
var runtime = new Util.RuntimeOptions{};
return listEnginesWithOptions(request, runtime);
}
model DescribeRealTimeLogRequest = {
routeRequestBody?: map[string]any(name='RouteRequestBody'),
}
model DescribeRealTimeLogResponse = {
code: string(name='Code'),
message: string(name='Message'),
requestId: string(name='RequestId'),
routeResponseBody: string(name='RouteResponseBody'),
success: string(name='Success'),
}
async function describeRealTimeLogWithOptions(request: DescribeRealTimeLogRequest, runtime: Util.RuntimeOptions): DescribeRealTimeLogResponse {
Util.validateModel(request);
return doRequest('DescribeRealTimeLog', 'HTTPS', 'POST', '2019-08-10', 'AK', null, request, runtime);
}
async function describeRealTimeLog(request: DescribeRealTimeLogRequest): DescribeRealTimeLogResponse {
var runtime = new Util.RuntimeOptions{};
return describeRealTimeLogWithOptions(request, runtime);
}
model DescribeStructureMonitorAuthRequest = {
}
model DescribeStructureMonitorAuthResponse = {
requestId: string(name='RequestId'),
structureNew: boolean(name='StructureNew'),
code: string(name='Code'),
message: string(name='Message'),
success: boolean(name='Success'),
httpStatusCode: integer(name='HttpStatusCode'),
}
async function describeStructureMonitorAuthWithOptions(request: DescribeStructureMonitorAuthRequest, runtime: Util.RuntimeOptions): DescribeStructureMonitorAuthResponse {
Util.validateModel(request);
return doRequest('DescribeStructureMonitorAuth', 'HTTPS', 'GET', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', request, null, runtime);
}
async function describeStructureMonitorAuth(request: DescribeStructureMonitorAuthRequest): DescribeStructureMonitorAuthResponse {
var runtime = new Util.RuntimeOptions{};
return describeStructureMonitorAuthWithOptions(request, runtime);
}
model DescribeJMeterSampleSummaryRequest = {
reportId: string(name='ReportId'),
samplerId: integer(name='SamplerId'),
}
model DescribeJMeterSampleSummaryResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
concurrencyRtStat: map[string]any(name='ConcurrencyRtStat'),
concurrencyTpsStat: map[string]any(name='ConcurrencyTpsStat'),
rtDistribution: map[string]any(name='RtDistribution'),
}
async function describeJMeterSampleSummaryWithOptions(request: DescribeJMeterSampleSummaryRequest, runtime: Util.RuntimeOptions): DescribeJMeterSampleSummaryResponse {
Util.validateModel(request);
return doRequest('DescribeJMeterSampleSummary', 'HTTPS', 'POST', '2019-08-10', 'AK', null, request, runtime);
}
async function describeJMeterSampleSummary(request: DescribeJMeterSampleSummaryRequest): DescribeJMeterSampleSummaryResponse {
var runtime = new Util.RuntimeOptions{};
return describeJMeterSampleSummaryWithOptions(request, runtime);
}
model CloneJMeterSceneRequest = {
sceneId: string(name='SceneId'),
}
model CloneJMeterSceneResponse = {
requestId: string(name='RequestId'),
sceneId: string(name='SceneId'),
code: string(name='Code'),
message: string(name='Message'),
success: boolean(name='Success'),
httpStatusCode: integer(name='HttpStatusCode'),
}
async function cloneJMeterSceneWithOptions(request: CloneJMeterSceneRequest, runtime: Util.RuntimeOptions): CloneJMeterSceneResponse {
Util.validateModel(request);
return doRequest('CloneJMeterScene', 'HTTPS', 'POST', '2019-08-10', 'AK', null, request, runtime);
}
async function cloneJMeterScene(request: CloneJMeterSceneRequest): CloneJMeterSceneResponse {
var runtime = new Util.RuntimeOptions{};
return cloneJMeterSceneWithOptions(request, runtime);
}
model AdjustJMeterSpeedRequest = {
sceneId?: string(name='SceneId'),
loadMode?: string(name='LoadMode'),
speed?: integer(name='Speed'),
}
model AdjustJMeterSpeedResponse = {
requestId: string(name='RequestId'),
success: boolean(name='Success'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
}
async function adjustJMeterSpeedWithOptions(request: AdjustJMeterSpeedRequest, runtime: Util.RuntimeOptions): AdjustJMeterSpeedResponse {
Util.validateModel(request);
return doRequest('AdjustJMeterSpeed', 'HTTPS', 'POST', '2019-08-10', 'AK', null, request, runtime);
}
async function adjustJMeterSpeed(request: AdjustJMeterSpeedRequest): AdjustJMeterSpeedResponse {
var runtime = new Util.RuntimeOptions{};
return adjustJMeterSpeedWithOptions(request, runtime);
}
model DescribeJMeterSamplingLogsRequest = {
pageNumber: integer(name='PageNumber'),
pageSize: integer(name='PageSize'),
beginTime?: long(name='BeginTime'),
endTime?: long(name='EndTime'),
reportId: string(name='ReportId'),
taskId?: long(name='TaskId'),
samplerId?: integer(name='SamplerId'),
success?: boolean(name='Success'),
thread?: string(name='Thread'),
keyword?: string(name='Keyword'),
rtRange?: string(name='RtRange'),
}
model DescribeJMeterSamplingLogsResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
httpStatusCode: integer(name='HttpStatusCode'),
message: string(name='Message'),
success: boolean(name='Success'),
pageNumber: integer(name='PageNumber'),
pageSize: integer(name='PageSize'),
totalCount: long(name='TotalCount'),
sampleResults: [ string ] (name='SampleResults'),
}
async function describeJMeterSamplingLogsWithOptions(request: DescribeJMeterSamplingLogsRequest, runtime: Util.RuntimeOptions): DescribeJMeterSamplingLogsResponse {
Util.validateModel(request);
return doRequest('DescribeJMeterSamplingLogs', 'HTTPS', 'POST', '2019-08-10', 'AK', null, request, runtime);
}
async function describeJMeterSamplingLogs(request: DescribeJMeterSamplingLogsRequest): DescribeJMeterSamplingLogsResponse {
var runtime = new Util.RuntimeOptions{};
return describeJMeterSamplingLogsWithOptions(request, runtime);
}
model DescribeAgentNetTrafficRequest = {
reportId: string(name='ReportId'),
taskId: long(name='TaskId'),
beginTime?: long(name='BeginTime'),
endTime?: long(name='EndTime'),
}
model DescribeAgentNetTrafficResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
netTrafficInfo: [ map[string]any ] (name='NetTrafficInfo'),
}
async function describeAgentNetTrafficWithOptions(request: DescribeAgentNetTrafficRequest, runtime: Util.RuntimeOptions): DescribeAgentNetTrafficResponse {
Util.validateModel(request);
return doRequest('DescribeAgentNetTraffic', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeAgentNetTraffic(request: DescribeAgentNetTrafficRequest): DescribeAgentNetTrafficResponse {
var runtime = new Util.RuntimeOptions{};
return describeAgentNetTrafficWithOptions(request, runtime);
}
model DescribeAgentCpuInfoRequest = {
reportId: string(name='ReportId'),
taskId: long(name='TaskId'),
beginTime?: long(name='BeginTime'),
endTime?: long(name='EndTime'),
}
model DescribeAgentCpuInfoResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
success: boolean(name='Success'),
httpStatusCode: integer(name='HttpStatusCode'),
cpuInfo: [ map[string]any ] (name='CpuInfo'),
}
async function describeAgentCpuInfoWithOptions(request: DescribeAgentCpuInfoRequest, runtime: Util.RuntimeOptions): DescribeAgentCpuInfoResponse {
Util.validateModel(request);
return doRequest('DescribeAgentCpuInfo', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey', null, request, runtime);
}
async function describeAgentCpuInfo(request: DescribeAgentCpuInfoRequest): DescribeAgentCpuInfoResponse {
var runtime = new Util.RuntimeOptions{};
return describeAgentCpuInfoWithOptions(request, runtime);
}
model DescribeAgentGCInfoRequest = {
reportId: string(name='ReportId'),
taskId: long(name='TaskId'),
beginTime?: long(name='BeginTime'),
endTime?: long(name='EndTime'),
}
model DescribeAgentGCInfoResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
success: boolean(name='Success'),
httpStatusCode: integer(name='HttpStatusCode'),
gcInfo: [ map[string]any ] (name='GcInfo'),
}
async function describeAgentGCInfoWithOptions(request: DescribeAgentGCInfoRequest, runtime: Util.RuntimeOptions): DescribeAgentGCInfoResponse {
Util.validateModel(request);
return doRequest('DescribeAgentGCInfo', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeAgentGCInfo(request: DescribeAgentGCInfoRequest): DescribeAgentGCInfoResponse {
var runtime = new Util.RuntimeOptions{};
return describeAgentGCInfoWithOptions(request, runtime);
}
model DescribeAgentMemoryInfoRequest = {
reportId: string(name='ReportId'),
taskId: long(name='TaskId'),
beginTime?: long(name='BeginTime'),
endTime?: long(name='EndTime'),
}
model DescribeAgentMemoryInfoResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
memoryInfo: [ map[string]any ] (name='MemoryInfo'),
}
async function describeAgentMemoryInfoWithOptions(request: DescribeAgentMemoryInfoRequest, runtime: Util.RuntimeOptions): DescribeAgentMemoryInfoResponse {
Util.validateModel(request);
return doRequest('DescribeAgentMemoryInfo', 'HTTPS', 'POST', '2019-08-10', 'AK', null, request, runtime);
}
async function describeAgentMemoryInfo(request: DescribeAgentMemoryInfoRequest): DescribeAgentMemoryInfoResponse {
var runtime = new Util.RuntimeOptions{};
return describeAgentMemoryInfoWithOptions(request, runtime);
}
model DescribeAgentLoadInfoRequest = {
reportId: string(name='ReportId'),
taskId: long(name='TaskId'),
beginTime?: long(name='BeginTime'),
endTime?: long(name='EndTime'),
}
model DescribeAgentLoadInfoResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
loadInfo: [ map[string]any ] (name='LoadInfo'),
}
async function describeAgentLoadInfoWithOptions(request: DescribeAgentLoadInfoRequest, runtime: Util.RuntimeOptions): DescribeAgentLoadInfoResponse {
Util.validateModel(request);
return doRequest('DescribeAgentLoadInfo', 'HTTPS', 'POST', '2019-08-10', 'AK', null, request, runtime);
}
async function describeAgentLoadInfo(request: DescribeAgentLoadInfoRequest): DescribeAgentLoadInfoResponse {
var runtime = new Util.RuntimeOptions{};
return describeAgentLoadInfoWithOptions(request, runtime);
}
model DescribeJMeterPlanRequest = {
reportId: string(name='ReportId'),
}
model DescribeJMeterPlanResponse = {
requestId: string(name='RequestId'),
message: string(name='Message'),
code: string(name='Code'),
success: boolean(name='Success'),
httpStatusCode: integer(name='HttpStatusCode'),
report: string(name='Report'),
}
async function describeJMeterPlanWithOptions(request: DescribeJMeterPlanRequest, runtime: Util.RuntimeOptions): DescribeJMeterPlanResponse {
Util.validateModel(request);
return doRequest('DescribeJMeterPlan', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeJMeterPlan(request: DescribeJMeterPlanRequest): DescribeJMeterPlanResponse {
var runtime = new Util.RuntimeOptions{};
return describeJMeterPlanWithOptions(request, runtime);
}
model DescribeJMeterSceneRequest = {
sceneId: string(name='SceneId'),
}
model DescribeJMeterSceneResponse = {
requestId: string(name='RequestId'),
message: string(name='Message'),
code: string(name='Code'),
success: boolean(name='Success'),
httpStatusCode: integer(name='HttpStatusCode'),
scene: {
name: string(name='Name'),
pool: string(name='Pool'),
JMeterVersion: string(name='JMeterVersion'),
concurrency: integer(name='Concurrency'),
rampUp: integer(name='RampUp'),
holdFor: integer(name='HoldFor'),
useIterations: boolean(name='UseIterations'),
iterations: integer(name='Iterations'),
maxConcurrencyPerAgent: integer(name='MaxConcurrencyPerAgent'),
specifyAgentCount: boolean(name='SpecifyAgentCount'),
agentCount: integer(name='AgentCount'),
splitCsv: boolean(name='SplitCsv'),
testFile: string(name='TestFile'),
fileList: string(name='FileList'),
regionId: string(name='RegionId'),
vpcId: string(name='VpcId'),
securityGroupId: string(name='SecurityGroupId'),
vSwitchId: string(name='VSwitchId'),
sceneId: string(name='SceneId'),
conditionSatisfiedExactly: boolean(name='ConditionSatisfiedExactly'),
syncTimerType: string(name='SyncTimerType'),
steps: integer(name='Steps'),
constantThroughputTimerType: string(name='ConstantThroughputTimerType'),
environmentId: string(name='EnvironmentId'),
isCronable: boolean(name='IsCronable'),
condition: [
{
region: string(name='Region'),
isp: string(name='Isp'),
amount: integer(name='Amount'),
}
](name='Condition'),
plan: {
modifiedTime: long(name='ModifiedTime'),
lastActive: long(name='LastActive'),
vum: long(name='Vum'),
hasReport: boolean(name='HasReport'),
vumWeight: long(name='VumWeight'),
beginTime: long(name='BeginTime'),
}(name='Plan'),
}(name='Scene'),
}
async function describeJMeterSceneWithOptions(request: DescribeJMeterSceneRequest, runtime: Util.RuntimeOptions): DescribeJMeterSceneResponse {
Util.validateModel(request);
return doRequest('DescribeJMeterScene', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeJMeterScene(request: DescribeJMeterSceneRequest): DescribeJMeterSceneResponse {
var runtime = new Util.RuntimeOptions{};
return describeJMeterSceneWithOptions(request, runtime);
}
model DescribeJMeterSceneRunningStatusRequest = {
sceneId: string(name='SceneId'),
}
model DescribeJMeterSceneRunningStatusResponse = {
requestId: string(name='RequestId'),
message: string(name='Message'),
code: string(name='Code'),
success: boolean(name='Success'),
httpStatusCode: integer(name='HttpStatusCode'),
scene: {
name: string(name='Name'),
pool: string(name='Pool'),
jmeterVersion: string(name='JmeterVersion'),
concurrency: integer(name='Concurrency'),
rampUp: integer(name='RampUp'),
holdFor: integer(name='HoldFor'),
useIterations: boolean(name='UseIterations'),
iterations: integer(name='Iterations'),
maxConcurrencyPerAgent: integer(name='MaxConcurrencyPerAgent'),
specifyAgentCount: boolean(name='SpecifyAgentCount'),
agentCount: integer(name='AgentCount'),
splitCsv: boolean(name='SplitCsv'),
testFile: string(name='TestFile'),
plan: string(name='Plan'),
steps: integer(name='Steps'),
}(name='Scene'),
}
async function describeJMeterSceneRunningStatusWithOptions(request: DescribeJMeterSceneRunningStatusRequest, runtime: Util.RuntimeOptions): DescribeJMeterSceneRunningStatusResponse {
Util.validateModel(request);
return doRequest('DescribeJMeterSceneRunningStatus', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeJMeterSceneRunningStatus(request: DescribeJMeterSceneRunningStatusRequest): DescribeJMeterSceneRunningStatusResponse {
var runtime = new Util.RuntimeOptions{};
return describeJMeterSceneRunningStatusWithOptions(request, runtime);
}
model DescribeJMeterTaskListRequest = {
pageNumber: integer(name='PageNumber'),
pageSize: integer(name='PageSize'),
reportId?: string(name='ReportId'),
}
model DescribeJMeterTaskListResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
success: boolean(name='Success'),
pageNumber: integer(name='PageNumber'),
pageSize: integer(name='PageSize'),
totalCount: long(name='TotalCount'),
taskList: string(name='TaskList'),
}
async function describeJMeterTaskListWithOptions(request: DescribeJMeterTaskListRequest, runtime: Util.RuntimeOptions): DescribeJMeterTaskListResponse {
Util.validateModel(request);
return doRequest('DescribeJMeterTaskList', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeJMeterTaskList(request: DescribeJMeterTaskListRequest): DescribeJMeterTaskListResponse {
var runtime = new Util.RuntimeOptions{};
return describeJMeterTaskListWithOptions(request, runtime);
}
model DescribeJMeterLogsRequest = {
pageNumber: integer(name='PageNumber'),
pageSize: integer(name='PageSize'),
reportId?: string(name='ReportId'),
beginTime?: long(name='BeginTime'),
endTime?: long(name='EndTime'),
taskId?: long(name='TaskId'),
thread?: string(name='Thread'),
level?: string(name='Level'),
loggerName?: string(name='LoggerName'),
keyword?: string(name='Keyword'),
}
model DescribeJMeterLogsResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
success: boolean(name='Success'),
pageNumber: integer(name='PageNumber'),
pageSize: integer(name='PageSize'),
totalCount: long(name='TotalCount'),
logs: string(name='Logs'),
}
async function describeJMeterLogsWithOptions(request: DescribeJMeterLogsRequest, runtime: Util.RuntimeOptions): DescribeJMeterLogsResponse {
Util.validateModel(request);
return doRequest('DescribeJMeterLogs', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeJMeterLogs(request: DescribeJMeterLogsRequest): DescribeJMeterLogsResponse {
var runtime = new Util.RuntimeOptions{};
return describeJMeterLogsWithOptions(request, runtime);
}
model StopJMeterTestingRequest = {
sceneId: string(name='SceneId'),
}
model StopJMeterTestingResponse = {
requestId: string(name='RequestId'),
message: string(name='Message'),
code: string(name='Code'),
success: boolean(name='Success'),
httpStatusCode: integer(name='HttpStatusCode'),
}
async function stopJMeterTestingWithOptions(request: StopJMeterTestingRequest, runtime: Util.RuntimeOptions): StopJMeterTestingResponse {
Util.validateModel(request);
return doRequest('StopJMeterTesting', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function stopJMeterTesting(request: StopJMeterTestingRequest): StopJMeterTestingResponse {
var runtime = new Util.RuntimeOptions{};
return stopJMeterTestingWithOptions(request, runtime);
}
model DescribeSampleMetricRequest = {
reportId?: string(name='ReportId'),
samplerId?: integer(name='SamplerId'),
beginTime?: long(name='BeginTime'),
endTime?: long(name='EndTime'),
}
model DescribeSampleMetricResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
success: boolean(name='Success'),
httpStatusCode: integer(name='HttpStatusCode'),
sampleMetricList: string(name='SampleMetricList'),
}
async function describeSampleMetricWithOptions(request: DescribeSampleMetricRequest, runtime: Util.RuntimeOptions): DescribeSampleMetricResponse {
Util.validateModel(request);
return doRequest('DescribeSampleMetric', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeSampleMetric(request: DescribeSampleMetricRequest): DescribeSampleMetricResponse {
var runtime = new Util.RuntimeOptions{};
return describeSampleMetricWithOptions(request, runtime);
}
model DescribeJMeterChainDetailRequest = {
pageNumber: integer(name='PageNumber'),
pageSize: integer(name='PageSize'),
reportId?: string(name='ReportId'),
beginTime?: long(name='BeginTime'),
endTime?: long(name='EndTime'),
taskId?: long(name='TaskId'),
thread?: long(name='Thread'),
kw?: string(name='Kw'),
samplerId?: integer(name='SamplerId'),
success?: boolean(name='Success'),
}
model DescribeJMeterChainDetailResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
success: boolean(name='Success'),
pageNumber: integer(name='PageNumber'),
pageSize: integer(name='PageSize'),
totalCount: long(name='TotalCount'),
sampleResults: string(name='SampleResults'),
}
async function describeJMeterChainDetailWithOptions(request: DescribeJMeterChainDetailRequest, runtime: Util.RuntimeOptions): DescribeJMeterChainDetailResponse {
Util.validateModel(request);
return doRequest('DescribeJMeterChainDetail', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeJMeterChainDetail(request: DescribeJMeterChainDetailRequest): DescribeJMeterChainDetailResponse {
var runtime = new Util.RuntimeOptions{};
return describeJMeterChainDetailWithOptions(request, runtime);
}
model StartJMeterTestingRequest = {
sceneId: string(name='SceneId'),
}
model StartJMeterTestingResponse = {
requestId: string(name='RequestId'),
message: string(name='Message'),
code: string(name='Code'),
success: boolean(name='Success'),
httpStatusCode: integer(name='HttpStatusCode'),
planId: string(name='PlanId'),
}
async function startJMeterTestingWithOptions(request: StartJMeterTestingRequest, runtime: Util.RuntimeOptions): StartJMeterTestingResponse {
Util.validateModel(request);
return doRequest('StartJMeterTesting', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function startJMeterTesting(request: StartJMeterTestingRequest): StartJMeterTestingResponse {
var runtime = new Util.RuntimeOptions{};
return startJMeterTestingWithOptions(request, runtime);
}
model RemoveInstanceFromGroupRequest = {
groupId: long(name='GroupId'),
instanceIdAndPorts: map[string]any(name='InstanceIdAndPorts'),
ver: long(name='Ver'),
}
model RemoveInstanceFromGroupResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
}
async function removeInstanceFromGroupWithOptions(request: RemoveInstanceFromGroupRequest, runtime: Util.RuntimeOptions): RemoveInstanceFromGroupResponse {
Util.validateModel(request);
return doRequest('RemoveInstanceFromGroup', 'HTTPS', 'POST', '2019-08-10', 'AK', null, request, runtime);
}
async function removeInstanceFromGroup(request: RemoveInstanceFromGroupRequest): RemoveInstanceFromGroupResponse {
var runtime = new Util.RuntimeOptions{};
return removeInstanceFromGroupWithOptions(request, runtime);
}
model ReplaceOssFileRequest = {
sceneId: string(name='SceneId'),
originalOssFileUrl: string(name='OriginalOssFileUrl'),
newOssFileUrl: string(name='NewOssFileUrl'),
jobId?: string(name='JobId'),
}
model ReplaceOssFileResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
finished: boolean(name='Finished'),
jobId: string(name='JobId'),
timeout: integer(name='Timeout'),
}
async function replaceOssFileWithOptions(request: ReplaceOssFileRequest, runtime: Util.RuntimeOptions): ReplaceOssFileResponse {
Util.validateModel(request);
return doRequest('ReplaceOssFile', 'HTTPS', 'POST', '2019-08-10', 'AK', null, request, runtime);
}
async function replaceOssFile(request: ReplaceOssFileRequest): ReplaceOssFileResponse {
var runtime = new Util.RuntimeOptions{};
return replaceOssFileWithOptions(request, runtime);
}
model StartTestingRequest = {
sceneId: string(name='SceneId'),
}
model StartTestingResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
sceneId: string(name='SceneId'),
reportId: string(name='ReportId'),
}
async function startTestingWithOptions(request: StartTestingRequest, runtime: Util.RuntimeOptions): StartTestingResponse {
Util.validateModel(request);
return doRequest('StartTesting', 'HTTPS', 'GET', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', request, null, runtime);
}
async function startTesting(request: StartTestingRequest): StartTestingResponse {
var runtime = new Util.RuntimeOptions{};
return startTestingWithOptions(request, runtime);
}
model StopTestingRequest = {
sceneId: string(name='SceneId'),
}
model StopTestingResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
}
async function stopTestingWithOptions(request: StopTestingRequest, runtime: Util.RuntimeOptions): StopTestingResponse {
Util.validateModel(request);
return doRequest('StopTesting', 'HTTPS', 'GET', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', request, null, runtime);
}
async function stopTesting(request: StopTestingRequest): StopTestingResponse {
var runtime = new Util.RuntimeOptions{};
return stopTestingWithOptions(request, runtime);
}
model ListReportsRequest = {
keyword?: string(name='Keyword'),
pageSize: integer(name='PageSize'),
sceneType?: string(name='SceneType'),
beginTime?: long(name='BeginTime'),
endTime?: long(name='EndTime'),
pageNumber: integer(name='PageNumber'),
sceneId?: string(name='SceneId'),
}
model ListReportsResponse = {
pageNumber: integer(name='PageNumber'),
code: string(name='Code'),
requestId: string(name='RequestId'),
success: boolean(name='Success'),
pageSize: integer(name='PageSize'),
totalCount: integer(name='TotalCount'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
reports: [
{
reportId: string(name='ReportId'),
sceneId: string(name='SceneId'),
sceneName: string(name='SceneName'),
sceneType: string(name='SceneType'),
maxConcurrency: integer(name='MaxConcurrency'),
vum: integer(name='Vum'),
duration: string(name='Duration'),
beginTime: long(name='BeginTime'),
sceneDeleted: boolean(name='SceneDeleted'),
useCustomPool: boolean(name='UseCustomPool'),
}
](name='Reports'),
}
async function listReportsWithOptions(request: ListReportsRequest, runtime: Util.RuntimeOptions): ListReportsResponse {
Util.validateModel(request);
return doRequest('ListReports', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function listReports(request: ListReportsRequest): ListReportsResponse {
var runtime = new Util.RuntimeOptions{};
return listReportsWithOptions(request, runtime);
}
model DescribeReportChainDetailRequest = {
reportId: string(name='ReportId'),
chainId?: long(name='ChainId'),
beginTime?: long(name='BeginTime'),
endTime?: long(name='EndTime'),
}
model DescribeReportChainDetailResponse = {
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
requestId: string(name='RequestId'),
code: string(name='Code'),
chainDetails: [
{
totalFail: long(name='TotalFail'),
qpsFail: float(name='QpsFail'),
total3XX: long(name='Total3XX'),
realConcurrency: float(name='RealConcurrency'),
timePoint: long(name='TimePoint'),
maxRt: integer(name='MaxRt'),
minRt: integer(name='MinRt'),
totalRequest: long(name='TotalRequest'),
qps2XX: float(name='Qps2XX'),
total4XX: long(name='Total4XX'),
total5XX: long(name='Total5XX'),
qps4XX: float(name='Qps4XX'),
realQps: float(name='RealQps'),
configQps: integer(name='ConfigQps'),
averageRt: integer(name='AverageRt'),
bpsRequest: long(name='BpsRequest'),
chainId: long(name='ChainId'),
bpsResponse: long(name='BpsResponse'),
total2XX: long(name='Total2XX'),
qps5XX: float(name='Qps5XX'),
qps3XX: float(name='Qps3XX'),
qpsHit: float(name='QpsHit'),
qpsMiss: float(name='QpsMiss'),
totalHit: long(name='TotalHit'),
totalMiss: long(name='TotalMiss'),
}
](name='ChainDetails'),
}
async function describeReportChainDetailWithOptions(request: DescribeReportChainDetailRequest, runtime: Util.RuntimeOptions): DescribeReportChainDetailResponse {
Util.validateModel(request);
return doRequest('DescribeReportChainDetail', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeReportChainDetail(request: DescribeReportChainDetailRequest): DescribeReportChainDetailResponse {
var runtime = new Util.RuntimeOptions{};
return describeReportChainDetailWithOptions(request, runtime);
}
model DescribeReportChainSummaryRequest = {
reportId: string(name='ReportId'),
}
model DescribeReportChainSummaryResponse = {
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
requestId: string(name='RequestId'),
code: string(name='Code'),
success: boolean(name='Success'),
chainSummary: [
{
chainId: long(name='ChainId'),
averageTps: float(name='AverageTps'),
succeedRequestRate: float(name='SucceedRequestRate'),
hasCheckPoint: boolean(name='HasCheckPoint'),
chainName: string(name='ChainName'),
totalRequest: long(name='TotalRequest'),
count5XX: long(name='Count5XX'),
relationName: string(name='RelationName'),
count4XX: long(name='Count4XX'),
countTimeout: long(name='CountTimeout'),
seg75Rt: long(name='Seg75Rt'),
failedBusinessCount: long(name='FailedBusinessCount'),
failedRequestCount: long(name='FailedRequestCount'),
seg90Rt: long(name='Seg90Rt'),
maxRt: integer(name='MaxRt'),
minRt: integer(name='MinRt'),
count3XX: long(name='Count3XX'),
averageRt: float(name='AverageRt'),
relationId: long(name='RelationId'),
succeedBusinessRate: float(name='SucceedBusinessRate'),
seg50Rt: integer(name='Seg50Rt'),
seg99Rt: integer(name='Seg99Rt'),
averageConcurrency: float(name='AverageConcurrency'),
exceptions: string(name='Exceptions'),
}
](name='ChainSummary'),
}
async function describeReportChainSummaryWithOptions(request: DescribeReportChainSummaryRequest, runtime: Util.RuntimeOptions): DescribeReportChainSummaryResponse {
Util.validateModel(request);
return doRequest('DescribeReportChainSummary', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeReportChainSummary(request: DescribeReportChainSummaryRequest): DescribeReportChainSummaryResponse {
var runtime = new Util.RuntimeOptions{};
return describeReportChainSummaryWithOptions(request, runtime);
}
model RemoveScenesRequest = {
sceneIds: map[string]any(name='SceneIds'),
}
model RemoveScenesResponse = {
requestId: string(name='RequestId'),
message: string(name='Message'),
code: string(name='Code'),
success: boolean(name='Success'),
httpStatusCode: integer(name='HttpStatusCode'),
}
async function removeScenesWithOptions(request: RemoveScenesRequest, runtime: Util.RuntimeOptions): RemoveScenesResponse {
Util.validateModel(request);
return doRequest('RemoveScenes', 'HTTPS', 'GET', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', request, null, runtime);
}
async function removeScenes(request: RemoveScenesRequest): RemoveScenesResponse {
var runtime = new Util.RuntimeOptions{};
return removeScenesWithOptions(request, runtime);
}
model DescribeReportRequest = {
reportId: string(name='ReportId'),
}
model DescribeReportResponse = {
averageConcurrency: integer(name='AverageConcurrency'),
avgBw: long(name='AvgBw'),
successRateReq: float(name='SuccessRateReq'),
endTimeTS: long(name='EndTimeTS'),
startTimeTS: long(name='StartTimeTS'),
totalAgents: integer(name='TotalAgents'),
requestCount: long(name='RequestCount'),
rpsLimit: long(name='RpsLimit'),
aliveAgents: integer(name='AliveAgents'),
maxTps: long(name='MaxTps'),
concurrencyLimit: long(name='ConcurrencyLimit'),
maxConcurrency: long(name='MaxConcurrency'),
sceneDeleted: boolean(name='SceneDeleted'),
duration: string(name='Duration'),
maxBw: long(name='MaxBw'),
vum: long(name='Vum'),
failCountBiz: long(name='FailCountBiz'),
failCountReq: long(name='FailCountReq'),
successRateBiz: float(name='SuccessRateBiz'),
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
reportView: string(name='ReportView'),
chargeType: string(name='ChargeType'),
agentsLocations: string(name='AgentsLocations'),
relations: [
{
name: string(name='Name'),
id: long(name='Id'),
disabled: boolean(name='Disabled'),
headers: map[string]any(name='Headers'),
relationTestConfig: map[string]any(name='RelationTestConfig'),
nodes: [
{
type: string(name='Type'),
id: long(name='Id'),
name: string(name='Name'),
config: map[string]any(name='Config'),
}
](name='Nodes'),
}
](name='Relations'),
sceneSnapshot: {
type: string(name='Type'),
sceneName: string(name='SceneName'),
testConfig: string(name='TestConfig'),
status: integer(name='Status'),
execStatus: string(name='ExecStatus'),
}(name='SceneSnapshot'),
}
async function describeReportWithOptions(request: DescribeReportRequest, runtime: Util.RuntimeOptions): DescribeReportResponse {
Util.validateModel(request);
return doRequest('DescribeReport', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeReport(request: DescribeReportRequest): DescribeReportResponse {
var runtime = new Util.RuntimeOptions{};
return describeReportWithOptions(request, runtime);
}
model ListScenesRequest = {
keywords?: string(name='Keywords'),
pageNumber: integer(name='PageNumber'),
pageSize: integer(name='PageSize'),
}
model ListScenesResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
success: boolean(name='Success'),
pageNumber: integer(name='PageNumber'),
pageSize: integer(name='PageSize'),
totalCount: long(name='TotalCount'),
scenes: [
{
sceneId: string(name='SceneId'),
sceneName: string(name='SceneName'),
duration: integer(name='Duration'),
modifiedTime: long(name='ModifiedTime'),
sceneType: string(name='SceneType'),
cronable: boolean(name='Cronable'),
execStatus: string(name='ExecStatus'),
status: integer(name='Status'),
allsparkId: string(name='AllsparkId'),
agentPool: string(name='AgentPool'),
}
](name='Scenes'),
}
async function listScenesWithOptions(request: ListScenesRequest, runtime: Util.RuntimeOptions): ListScenesResponse {
Util.validateModel(request);
return doRequest('ListScenes', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function listScenes(request: ListScenesRequest): ListScenesResponse {
var runtime = new Util.RuntimeOptions{};
return listScenesWithOptions(request, runtime);
}
model DescribeSceneRequest = {
sceneId: string(name='SceneId'),
}
model DescribeSceneResponse = {
requestId: string(name='RequestId'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
scene: {
id: string(name='Id'),
name: string(name='Name'),
type: string(name='Type'),
variables: map[string]any(name='Variables'),
headers: map[string]any(name='Headers'),
creator: string(name='Creator'),
modifier: string(name='Modifier'),
createTime: long(name='CreateTime'),
modifyTime: long(name='ModifyTime'),
sla: string(name='Sla'),
relations: [
{
id: long(name='Id'),
name: string(name='Name'),
disabled: boolean(name='Disabled'),
headers: map[string]any(name='Headers'),
nodes: [
{
nodeId: long(name='NodeId'),
name: string(name='Name'),
nodeType: string(name='NodeType'),
config: string(name='Config'),
params: string(name='Params'),
}
](name='Nodes'),
relationTestConfig: {
beginStep: integer(name='BeginStep'),
increment: integer(name='Increment'),
endStep: integer(name='EndStep'),
}(name='RelationTestConfig'),
}
](name='Relations'),
vips: [
{
domain: string(name='Domain'),
enabled: boolean(name='Enabled'),
ips: [ string ](name='Ips'),
}
](name='Vips'),
files: [
{
fileKey: string(name='FileKey'),
fileName: string(name='FileName'),
skipFirstLine: boolean(name='SkipFirstLine'),
previewData: string(name='PreviewData'),
remoteUrl: string(name='RemoteUrl'),
ossUrl: string(name='OssUrl'),
columns: string(name='Columns'),
processedLineCount: long(name='ProcessedLineCount'),
bizType: string(name='BizType'),
exports: string(name='Exports'),
createTime: long(name='CreateTime'),
useOnce: boolean(name='UseOnce'),
delimiter: string(name='Delimiter'),
length: long(name='Length'),
lineCount: long(name='LineCount'),
exportedParams: [
{
name: string(name='Name'),
column: string(name='Column'),
}
](name='ExportedParams'),
}
](name='Files'),
status: {
operations: map[string]any(name='Operations'),
tips: string(name='Tips'),
debugging: boolean(name='Debugging'),
testing: boolean(name='Testing'),
isCronable: boolean(name='IsCronable'),
isReusable: boolean(name='IsReusable'),
cronEditable: boolean(name='CronEditable'),
}(name='Status'),
testConfig: {
mode: string(name='Mode'),
maxDuration: integer(name='MaxDuration'),
autoStep: boolean(name='AutoStep'),
increment: integer(name='Increment'),
keepTime: integer(name='KeepTime'),
agentPool: string(name='AgentPool'),
concurrencyLimit: string(name='ConcurrencyLimit'),
customTraffic: boolean(name='CustomTraffic'),
customConfig: string(name='CustomConfig'),
intelligentTest: boolean(name='IntelligentTest'),
agentCount: integer(name='AgentCount'),
tpsLimit: integer(name='TpsLimit'),
conditionSatisfiedExactly: string(name='ConditionSatisfiedExactly'),
conditions: [
{
region: string(name='Region'),
isp: string(name='Isp'),
amount: integer(name='Amount'),
}
](name='Conditions'),
vpcConfig: {
regionId: string(name='RegionId'),
vSwitchId: string(name='VSwitchId'),
securityGroupId: string(name='SecurityGroupId'),
vpcId: string(name='VpcId'),
}(name='VpcConfig'),
}(name='TestConfig'),
}(name='Scene'),
}
async function describeSceneWithOptions(request: DescribeSceneRequest, runtime: Util.RuntimeOptions): DescribeSceneResponse {
Util.validateModel(request);
return doRequest('DescribeScene', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeScene(request: DescribeSceneRequest): DescribeSceneResponse {
var runtime = new Util.RuntimeOptions{};
return describeSceneWithOptions(request, runtime);
}
model DescribeSceneRunningStatusRequest = {
sceneId?: string(name='SceneId'),
}
model DescribeSceneRunningStatusResponse = {
tips: string(name='Tips'),
totalRequestCount: long(name='TotalRequestCount'),
vum: long(name='Vum'),
requestBps: string(name='RequestBps'),
responseBps: string(name='ResponseBps'),
failedRequestCount: long(name='FailedRequestCount'),
failedBusinessCount: long(name='FailedBusinessCount'),
concurrency: integer(name='Concurrency'),
concurrencyLimit: integer(name='ConcurrencyLimit'),
tps: integer(name='Tps'),
tpsLimit: integer(name='TpsLimit'),
aliveAgents: integer(name='AliveAgents'),
totalAgents: integer(name='TotalAgents'),
seg90Rt: long(name='Seg90Rt'),
averageRt: long(name='AverageRt'),
reportId: string(name='ReportId'),
beginTime: long(name='BeginTime'),
currentTime: long(name='CurrentTime'),
code: string(name='Code'),
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
useCustomPool: boolean(name='UseCustomPool'),
requestId: string(name='RequestId'),
status: integer(name='Status'),
hasReport: boolean(name='HasReport'),
hasError: boolean(name='HasError'),
agentLocation: string(name='AgentLocation'),
chainMonitorDataList: [
{
chainId: long(name='ChainId'),
timePoint: long(name='TimePoint'),
configQps: integer(name='ConfigQps'),
realQps: float(name='RealQps'),
concurrency: float(name='Concurrency'),
qps2XX: float(name='Qps2XX'),
failedQps: float(name='FailedQps'),
averageRt: integer(name='AverageRt'),
maxRt: integer(name='MaxRt'),
minRt: integer(name='MinRt'),
count2XX: long(name='Count2XX'),
failedCount: long(name='FailedCount'),
queueSize: integer(name='QueueSize'),
queueCapacity: integer(name='QueueCapacity'),
qpsSummary: [
{
statusCode: integer(name='StatusCode'),
qps: float(name='Qps'),
totalCount: integer(name='TotalCount'),
}
](name='QpsSummary'),
checkPointResult: {
succeedBusinessCount: long(name='SucceedBusinessCount'),
failedBusinessCount: long(name='FailedBusinessCount'),
succeedBusinessQps: float(name='SucceedBusinessQps'),
failedBusinessQps: float(name='FailedBusinessQps'),
}(name='CheckPointResult'),
}
](name='ChainMonitorDataList'),
}
async function describeSceneRunningStatusWithOptions(request: DescribeSceneRunningStatusRequest, runtime: Util.RuntimeOptions): DescribeSceneRunningStatusResponse {
Util.validateModel(request);
return doRequest('DescribeSceneRunningStatus', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeSceneRunningStatus(request: DescribeSceneRunningStatusRequest): DescribeSceneRunningStatusResponse {
var runtime = new Util.RuntimeOptions{};
return describeSceneRunningStatusWithOptions(request, runtime);
}
model AdjustSceneSpeedRequest = {
sceneId: string(name='SceneId'),
speedData: string(name='SpeedData'),
content?: string(name='Content'),
}
model AdjustSceneSpeedResponse = {
message: string(name='Message'),
code: string(name='Code'),
success: boolean(name='Success'),
requestId: string(name='RequestId'),
httpStatusCode: integer(name='HttpStatusCode'),
}
async function adjustSceneSpeedWithOptions(request: AdjustSceneSpeedRequest, runtime: Util.RuntimeOptions): AdjustSceneSpeedResponse {
Util.validateModel(request);
return doRequest('AdjustSceneSpeed', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function adjustSceneSpeed(request: AdjustSceneSpeedRequest): AdjustSceneSpeedResponse {
var runtime = new Util.RuntimeOptions{};
return adjustSceneSpeedWithOptions(request, runtime);
}
model AdjustRelationSpeedRequest = {
sceneId?: string(name='SceneId'),
speed?: integer(name='Speed'),
relationIndex?: integer(name='RelationIndex'),
}
model AdjustRelationSpeedResponse = {
message: string(name='Message'),
code: string(name='Code'),
success: boolean(name='Success'),
requestId: string(name='RequestId'),
httpStatusCode: integer(name='HttpStatusCode'),
}
async function adjustRelationSpeedWithOptions(request: AdjustRelationSpeedRequest, runtime: Util.RuntimeOptions): AdjustRelationSpeedResponse {
Util.validateModel(request);
return doRequest('AdjustRelationSpeed', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function adjustRelationSpeed(request: AdjustRelationSpeedRequest): AdjustRelationSpeedResponse {
var runtime = new Util.RuntimeOptions{};
return adjustRelationSpeedWithOptions(request, runtime);
}
model DescribeSamplingLogRequest = {
reportId: string(name='ReportId'),
chainId?: long(name='ChainId'),
pageNumber: integer(name='PageNumber'),
pageSize: integer(name='PageSize'),
errorCode?: string(name='ErrorCode'),
httpResponseStatus?: string(name='HttpResponseStatus'),
rtRange?: string(name='RtRange'),
}
model DescribeSamplingLogResponse = {
message: string(name='Message'),
httpStatusCode: integer(name='HttpStatusCode'),
success: boolean(name='Success'),
code: string(name='Code'),
requestId: string(name='RequestId'),
pageNumber: integer(name='PageNumber'),
pageSize: integer(name='PageSize'),
totalCount: long(name='TotalCount'),
samplingLogs: [
{
chainId: string(name='ChainId'),
timestamp: string(name='Timestamp'),
httpRequestMethod: string(name='HttpRequestMethod'),
httpRequestBody: string(name='HttpRequestBody'),
httpRequestHeaders: string(name='HttpRequestHeaders'),
httpRequestUrl: string(name='HttpRequestUrl'),
httpStartTime: string(name='HttpStartTime'),
httpResponseBody: string(name='HttpResponseBody'),
httpResponseFailMsg: string(name='HttpResponseFailMsg'),
httpResponseHeaders: string(name='HttpResponseHeaders'),
importContent: string(name='ImportContent'),
exportConfig: string(name='ExportConfig'),
exportContent: string(name='ExportContent'),
checkResult: string(name='CheckResult'),
httpTiming: string(name='HttpTiming'),
rt: string(name='Rt'),
httpResponseStatus: string(name='HttpResponseStatus'),
transId: string(name='TransId'),
groupTag: string(name='GroupTag'),
}
](name='SamplingLogs'),
}
async function describeSamplingLogWithOptions(request: DescribeSamplingLogRequest, runtime: Util.RuntimeOptions): DescribeSamplingLogResponse {
Util.validateModel(request);
return doRequest('DescribeSamplingLog', 'HTTPS', 'POST', '2019-08-10', 'AK,APP,PrivateKey,BearerToken', null, request, runtime);
}
async function describeSamplingLog(request: DescribeSamplingLogRequest): DescribeSamplingLogResponse {
var runtime = new Util.RuntimeOptions{};
return describeSamplingLogWithOptions(request, runtime);
}
function getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: map[string]string, endpoint: string) throws: string{
if (!Util.empty(endpoint)) {
return endpoint;
}
if (!Util.isUnset(endpointMap) && !Util.empty(endpointMap[regionId])) {
return endpointMap[regionId];
}
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
}
| Tea | 4 | alibabacloud-sdk-swift/alibabacloud-sdk | pts-20190810/main.tea | [
"Apache-2.0"
] |
--TEST--
SPL: ArrayObject
--FILE--
<?php
echo "-- Two empty iterators attached with infos that are different but same array key --\n";
$mit = new MultipleIterator(MultipleIterator::MIT_KEYS_ASSOC);
$mit ->attachIterator(new EmptyIterator(), "2");
$mit ->attachIterator(new EmptyIterator(), 2);
var_dump($mit->countIterators());
$mit->rewind();
var_dump($mit->current());
?>
--EXPECT--
-- Two empty iterators attached with infos that are different but same array key --
int(2)
array(1) {
[2]=>
NULL
}
| PHP | 4 | thiagooak/php-src | ext/spl/tests/bug70053.phpt | [
"PHP-3.01"
] |
;; Test for ordering flavor components.
;; The ordering should be:
;;
;; pastry -> pastry cinnamon spice apple fruit food
;; pie -> pie pastry cinnamon spice apple fruit food
(include-file "include/flavors.lfe")
(defflavor pie () (pastry apple cinnamon))
(endflavor pie)
(defflavor pastry () (cinnamon apple))
(endflavor pastry)
(defflavor apple () (fruit))
(endflavor apple)
(defflavor cinnamon () (spice))
(endflavor cinnamon)
(defflavor fruit () (food))
(endflavor fruit)
(defflavor spice () (food))
(endflavor spice)
(defflavor food () ())
(endflavor food)
;; Circular ordering
(defflavor a () (b c))
(endflavor a)
(defflavor b () (c))
(endflavor b)
(defflavor c () (a b))
(endflavor c)
| LFE | 4 | rvirding/flavors | test/more-components.lfe | [
"Apache-2.0"
] |
<?xml version="1.0" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<head>
<script language="JavaScript">
function _onLoad()
{
if (location.href == "about:blank")
document.getElementById("fail").innerHTML = "<span>FAIL</span> - location.href should not be about:blank";
else
document.getElementById("pass").innerHTML = "<span>PASS</span>";
if (window.testRunner)
testRunner.dumpAsText();
}
</script>
</head>
<body onload="_onLoad();"><div id="fail" style="color: red;"></div><div id="pass" style="color: green;"></div></body>
</html>
</xsl:template>
</xsl:stylesheet>
| XSLT | 3 | zealoussnow/chromium | third_party/blink/web_tests/http/tests/misc/resources/location-test-xsl-style-sheet.xsl | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] |
--TEST--
The ASSIGN_OBJ_OP cache slot is on the OP_DATA opcode
--FILE--
<?php
function test($a) {
$b = "x";
$a->$b = 1;
$a->$b &= 1;
var_dump($a->$b);
}
test(new stdClass);
?>
--EXPECT--
int(1)
| PHP | 3 | NathanFreeman/php-src | Zend/tests/assign_obj_op_cache_slot.phpt | [
"PHP-3.01"
] |
$!
$! Startup file for OpenSSL 1.x.
$!
$! 2011-03-05 SMS.
$!
$! This procedure must reside in the OpenSSL installation directory.
$! It will fail if it is copied to a different location.
$!
$! P1 qualifier(s) for DEFINE. For example, "/SYSTEM" to get the
$! logical names defined in the system logical name table.
$!
$! P2 "64", to use executables which were built with 64-bit pointers.
$!
$! Good (default) and bad status values.
$!
$ status = %x00010001 ! RMS$_NORMAL, normal successful completion.
$ rms_e_fnf = %x00018292 ! RMS$_FNF, file not found.
$!
$! Prepare for problems.
$!
$ orig_dev_dir = f$environment( "DEFAULT")
$ on control_y then goto clean_up
$ on error then goto clean_up
$!
$! Determine hardware architecture.
$!
$ if (f$getsyi( "cpu") .lt. 128)
$ then
$ arch_name = "VAX"
$ else
$ arch_name = f$edit( f$getsyi( "arch_name"), "upcase")
$ if (arch_name .eqs. "") then arch_name = "UNK"
$ endif
$!
$ if (p2 .eqs. "64")
$ then
$ arch_name_exe = arch_name+ "_64"
$ else
$ arch_name_exe = arch_name
$ endif
$!
$! Derive the OpenSSL installation device:[directory] from the location
$! of this command procedure.
$!
$ proc = f$environment( "procedure")
$ proc_dev_dir = f$parse( "A.;", proc, , , "no_conceal") - "A.;"
$ proc_dev = f$parse( proc_dev_dir, , , "device", "syntax_only")
$ proc_dir = f$parse( proc_dev_dir, , , "directory", "syntax_only") - -
".][000000"- "[000000."- "]["- "["- "]"
$ proc_dev_dir = proc_dev+ "["+ proc_dir+ "]"
$ set default 'proc_dev_dir'
$ set default [-]
$ ossl_dev_dir = f$environment( "default")
$!
$! Check existence of expected directories (to see if this procedure has
$! been moved away from its proper place).
$!
$ if ((f$search( "certs.dir;1") .eqs. "") .or. -
(f$search( "include.dir;1") .eqs. "") .or. -
(f$search( "private.dir;1") .eqs. "") .or. -
(f$search( "vms.dir;1") .eqs. ""))
$ then
$ write sys$output -
" Can't find expected common OpenSSL directories in:"
$ write sys$output " ''ossl_dev_dir'"
$ status = rms_e_fnf
$ goto clean_up
$ endif
$!
$ if ((f$search( "''arch_name_exe'_exe.dir;1") .eqs. "") .or. -
(f$search( "''arch_name'_lib.dir;1") .eqs. ""))
$ then
$ write sys$output -
" Can't find expected architecture-specific OpenSSL directories in:"
$ write sys$output " ''ossl_dev_dir'"
$ status = rms_e_fnf
$ goto clean_up
$ endif
$!
$! All seems well (enough). Define the OpenSSL logical names.
$!
$ ossl_root = ossl_dev_dir- "]"+ ".]"
$ define /translation_attributes = concealed /nolog'p1 SSLROOT 'ossl_root'
$ define /nolog 'p1' SSLCERTS sslroot:[certs]
$ define /nolog 'p1' SSLINCLUDE sslroot:[include]
$ define /nolog 'p1' SSLPRIVATE sslroot:[private]
$ define /nolog 'p1' SSLEXE sslroot:['arch_name_exe'_exe]
$ define /nolog 'p1' SSLLIB sslroot:['arch_name'_lib]
$!
$! Defining OPENSSL lets a C program use "#include <openssl/{foo}.h>":
$ define /nolog 'p1' OPENSSL SSLINCLUDE:
$!
$! Run a site-specific procedure, if it exists.
$!
$ if f$search( "sslroot:[vms]openssl_systartup.com") .nes."" then -
@ sslroot:[vms]openssl_systartup.com
$!
$! Restore the original default dev:[dir] (if known).
$!
$ clean_up:
$!
$ if (f$type( orig_dev_dir) .nes. "")
$ then
$ set default 'orig_dev_dir'
$ endif
$!
$ EXIT 'status'
$!
| DIGITAL Command Language | 4 | madanagopaltcomcast/pxCore | examples/pxScene2d/external/openssl-1.0.2o/VMS/openssl_startup.com | [
"Apache-2.0"
] |
test state:
test.succeed_without_changes:
- name: test
| SaltStack | 1 | byteskeptical/salt | tests/integration/files/file/base/test.sls | [
"Apache-2.0"
] |
rule testrule
command = echo $in
input2_var = input2
| Ninja | 0 | uraimo/swift-llbuild | tests/Ninja/Loader/Inputs/include-b.ninja | [
"Apache-2.0"
] |
fun test() {
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
fun Any.test2() {}
fun test2(x: Any) = x
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun test4(): Int<!> = 0
<!CONFLICTING_OVERLOADS!>fun test4(): String<!> = ""
class Test5<!CONFLICTING_OVERLOADS!>(val x: Int)<!> {
<!CONFLICTING_OVERLOADS!>constructor()<!>: this(0)
}
<!CONFLICTING_OVERLOADS!>fun Test5()<!> {}
<!CONFLICTING_OVERLOADS!>fun Test5(x: Int)<!> = x
fun local() {
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
fun Any.test2() {}
fun test2(x: Any) = x
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun test4(): Int<!> = 0
<!CONFLICTING_OVERLOADS!>fun test4(): String<!> = ""
class Test5<!CONFLICTING_OVERLOADS!>(val x: Int)<!> {
<!CONFLICTING_OVERLOADS!>constructor()<!>: this(0)
}
<!CONFLICTING_OVERLOADS!>fun Test5()<!> {}
<!CONFLICTING_OVERLOADS!>fun Test5(x: Int)<!> = x
}
}
class Test {
init {
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
fun Any.test2() {}
fun test2(x: Any) = x
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun test4(): Int<!> = 0
<!CONFLICTING_OVERLOADS!>fun test4(): String<!> = ""
class Test5<!CONFLICTING_OVERLOADS!>(val x: Int)<!> {
<!CONFLICTING_OVERLOADS!>constructor()<!>: this(0)
}
<!CONFLICTING_OVERLOADS!>fun Test5()<!> {}
<!CONFLICTING_OVERLOADS!>fun Test5(x: Int)<!> = x
}
fun test() {
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
fun Any.test2() {}
fun test2(x: Any) = x
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun test4(): Int<!> = 0
<!CONFLICTING_OVERLOADS!>fun test4(): String<!> = ""
class Test5<!CONFLICTING_OVERLOADS!>(val x: Int)<!> {
<!CONFLICTING_OVERLOADS!>constructor()<!>: this(0)
}
<!CONFLICTING_OVERLOADS!>fun Test5()<!> {}
<!CONFLICTING_OVERLOADS!>fun Test5(x: Int)<!> = x
}
val property: Any get() {
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
fun Any.test2() {}
fun test2(x: Any) = x
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun test4(): Int<!> = 0
<!CONFLICTING_OVERLOADS!>fun test4(): String<!> = ""
class Test5<!CONFLICTING_OVERLOADS!>(val x: Int)<!> {
<!CONFLICTING_OVERLOADS!>constructor()<!>: this(0)
}
<!CONFLICTING_OVERLOADS!>fun Test5()<!> {}
<!CONFLICTING_OVERLOADS!>fun Test5(x: Int)<!> = x
return 0
}
}
val property: Any get() {
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
fun Any.test2() {}
fun test2(x: Any) = x
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun test4(): Int<!> = 0
<!CONFLICTING_OVERLOADS!>fun test4(): String<!> = ""
class Test5<!CONFLICTING_OVERLOADS!>(val x: Int)<!> {
<!CONFLICTING_OVERLOADS!>constructor()<!>: this(0)
}
<!CONFLICTING_OVERLOADS!>fun Test5()<!> {}
<!CONFLICTING_OVERLOADS!>fun Test5(x: Int)<!> = x
return 0
}
object Object {
fun test() {
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
fun Any.test2() {}
fun test2(x: Any) = x
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun test4(): Int<!> = 0
<!CONFLICTING_OVERLOADS!>fun test4(): String<!> = ""
class Test5<!CONFLICTING_OVERLOADS!>(val x: Int)<!> {
<!CONFLICTING_OVERLOADS!>constructor()<!>: this(0)
}
<!CONFLICTING_OVERLOADS!>fun Test5()<!> {}
<!CONFLICTING_OVERLOADS!>fun Test5(x: Int)<!> = x
}
val property: Any get() {
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
fun Any.test2() {}
fun test2(x: Any) = x
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun test4(): Int<!> = 0
<!CONFLICTING_OVERLOADS!>fun test4(): String<!> = ""
class Test5<!CONFLICTING_OVERLOADS!>(val x: Int)<!> {
<!CONFLICTING_OVERLOADS!>constructor()<!>: this(0)
}
<!CONFLICTING_OVERLOADS!>fun Test5()<!> {}
<!CONFLICTING_OVERLOADS!>fun Test5(x: Int)<!> = x
return 0
}
}
val obj = object {
fun test() {
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
fun Any.test2() {}
fun test2(x: Any) = x
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun test4(): Int<!> = 0
<!CONFLICTING_OVERLOADS!>fun test4(): String<!> = ""
class Test5<!CONFLICTING_OVERLOADS!>(val x: Int)<!> {
<!CONFLICTING_OVERLOADS!>constructor()<!>: this(0)
}
<!CONFLICTING_OVERLOADS!>fun Test5()<!> {}
<!CONFLICTING_OVERLOADS!>fun Test5(x: Int)<!> = x
}
val property: Any get() {
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
<!CONFLICTING_OVERLOADS!>fun test1()<!> {}
fun Any.test2() {}
fun test2(x: Any) = x
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun Any.test3()<!> {}
<!CONFLICTING_OVERLOADS!>fun test4(): Int<!> = 0
<!CONFLICTING_OVERLOADS!>fun test4(): String<!> = ""
class Test5<!CONFLICTING_OVERLOADS!>(val x: Int)<!> {
<!CONFLICTING_OVERLOADS!>constructor()<!>: this(0)
}
<!CONFLICTING_OVERLOADS!>fun Test5()<!> {}
<!CONFLICTING_OVERLOADS!>fun Test5(x: Int)<!> = x
return 0
}
} | Kotlin | 2 | qussarah/declare | compiler/testData/diagnostics/tests/overload/LocalFunctions.kt | [
"Apache-2.0"
] |
INSERT INTO person(id,first_name,last_name) VALUES (1,'John','Doe');
INSERT INTO address(id,person_id,state,city,street,zip_code) VALUES (1,1,'CA', 'Los Angeles', 'Standford Ave', '90001'); | SQL | 3 | DBatOWL/tutorials | persistence-modules/spring-data-jpa-query/src/test/resources/projection-insert-data.sql | [
"MIT"
] |
use super::SnapshotMap;
#[test]
fn basic() {
let mut map = SnapshotMap::default();
map.insert(22, "twenty-two");
let snapshot = map.snapshot();
map.insert(22, "thirty-three");
assert_eq!(map[&22], "thirty-three");
map.insert(44, "forty-four");
assert_eq!(map[&44], "forty-four");
assert_eq!(map.get(&33), None);
map.rollback_to(snapshot);
assert_eq!(map[&22], "twenty-two");
assert_eq!(map.get(&33), None);
assert_eq!(map.get(&44), None);
}
#[test]
#[should_panic]
fn out_of_order() {
let mut map = SnapshotMap::default();
map.insert(22, "twenty-two");
let snapshot1 = map.snapshot();
map.insert(33, "thirty-three");
let snapshot2 = map.snapshot();
map.insert(44, "forty-four");
map.rollback_to(snapshot1); // bogus, but accepted
map.rollback_to(snapshot2); // asserts
}
#[test]
fn nested_commit_then_rollback() {
let mut map = SnapshotMap::default();
map.insert(22, "twenty-two");
let snapshot1 = map.snapshot();
let snapshot2 = map.snapshot();
map.insert(22, "thirty-three");
map.commit(snapshot2);
assert_eq!(map[&22], "thirty-three");
map.rollback_to(snapshot1);
assert_eq!(map[&22], "twenty-two");
}
| Rust | 4 | Eric-Arellano/rust | compiler/rustc_data_structures/src/snapshot_map/tests.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
--TEST--
Test crc32() function : usage variations - heredoc strings
--SKIPIF--
<?php
if (PHP_INT_SIZE != 4)
die("skip this test is for 32bit platform only");
?>
--FILE--
<?php
/*
* Testing crc32() : with different heredoc strings passed to the str argument
*/
echo "*** Testing crc32() : with different heredoc strings ***\n";
// defining different heredoc strings
$empty_heredoc = <<<EOT
EOT;
$heredoc_with_newline = <<<EOT
\n
EOT;
$heredoc_with_characters = <<<EOT
first line of heredoc string
second line of heredoc string
third line of heredocstring
EOT;
$heredoc_with_newline_and_tabs = <<<EOT
hello\tworld\nhello\nworld\n
EOT;
$heredoc_with_alphanumerics = <<<EOT
hello123world456
1234hello\t1234
EOT;
$heredoc_with_embedded_nulls = <<<EOT
hello\0world\0hello
\0hello\0
EOT;
$heredoc_with_hexa_octal = <<<EOT
hello\0\100\xaaworld\0hello
\0hello\0
EOT;
$heredoc_with_long_string = <<<EOT
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbb
cccccccccccccccccccccccccccccccccddddddddddddddddddddddddddddddddd
eeeeeeeeeeeeeeeeeeeeeeeeeeeeffffffffffffffffffffffffffffffffffffff
gggggggggggggggggggggggggggggggggggggggggghhhhhhhhhhhhhhhhhhhhhhhh
111111111111111111111122222222222222222222222222222222222222222222
333333333333333333333333333333333334444444444444444444444444444444
555555555555555555555555555555555555555555556666666666666666666666
777777777777777777777777777777777777777777777777777777777777777777
/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t/t
/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n/n
EOT;
$heredoc_strings = array(
$empty_heredoc,
$heredoc_with_newline,
$heredoc_with_characters,
$heredoc_with_newline_and_tabs,
$heredoc_with_alphanumerics,
$heredoc_with_embedded_nulls,
$heredoc_with_hexa_octal,
$heredoc_with_long_string
);
// loop to test the function with each heredoc string in the array
$count = 1;
foreach($heredoc_strings as $str) {
echo "\n-- Iteration $count --\n";
var_dump( crc32($str) );
$count++;
}
echo "Done";
?>
--EXPECT--
*** Testing crc32() : with different heredoc strings ***
-- Iteration 1 --
int(0)
-- Iteration 2 --
int(1541608299)
-- Iteration 3 --
int(1588851550)
-- Iteration 4 --
int(-1726108239)
-- Iteration 5 --
int(-1847303891)
-- Iteration 6 --
int(-1260053120)
-- Iteration 7 --
int(-1718044186)
-- Iteration 8 --
int(1646793751)
Done
| PHP | 5 | NathanFreeman/php-src | ext/standard/tests/strings/crc32_variation4.phpt | [
"PHP-3.01"
] |
#! /bin/sh -e
# DP: Proposed patch for PR target/34571 (alpha)
dir=
if [ $# -eq 3 -a "$2" = '-d' ]; then
pdir="-d $3"
dir="$3/"
elif [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch)
patch $pdir -f --no-backup-if-mismatch -p0 < $0
;;
-unpatch)
patch $pdir -f --no-backup-if-mismatch -R -p0 < $0
;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
esac
exit 0
2007-12-26 Rask Ingemann Lambertsen <[email protected]>
PR target/34571
* config/alpha/alpha.c (alpha_cannot_force_const_mem): Use
symbolic_operand.
* varasm.c (output_constant_pool_1): Fix typo.
Index: gcc/config/alpha/alpha.c
===================================================================
--- gcc/config/alpha/alpha.c (revision 131132)
+++ gcc/config/alpha/alpha.c (working copy)
@@ -1112,10 +1112,9 @@ alpha_legitimize_address (rtx x, rtx scr
static bool
alpha_cannot_force_const_mem (rtx x)
{
- enum rtx_code code = GET_CODE (x);
- return code == SYMBOL_REF || code == LABEL_REF || code == CONST;
+ return symbolic_operand (x, GET_MODE (x));
}
/* We do not allow indirect calls to be optimized into sibling calls, nor
can we allow a call to a function with a different GP to be optimized
Index: gcc/varasm.c
===================================================================
--- gcc/varasm.c (revision 131132)
+++ gcc/varasm.c (working copy)
@@ -3709,9 +3709,9 @@ output_constant_pool_1 (struct constant_
tmp = XEXP (XEXP (x, 0), 0);
/* FALLTHRU */
case LABEL_REF:
- tmp = XEXP (x, 0);
+ tmp = XEXP (tmp, 0);
gcc_assert (!INSN_DELETED_P (tmp));
gcc_assert (!NOTE_P (tmp)
|| NOTE_KIND (tmp) != NOTE_INSN_DELETED);
break;
| Darcs Patch | 4 | JrCs/opendreambox | recipes/gcc/gcc-4.3.4/debian/pr34571.dpatch | [
"MIT"
] |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon([/*#__PURE__*/_jsx("circle", {
cx: "9",
cy: "13",
r: "1.25"
}, "0"), /*#__PURE__*/_jsx("path", {
d: "M17.5 10c.75 0 1.47-.09 2.17-.24.21.71.33 1.46.33 2.24 0 1.22-.28 2.37-.77 3.4l1.49 1.49C21.53 15.44 22 13.78 22 12c0-5.52-4.48-10-10-10-1.78 0-3.44.47-4.89 1.28l5.33 5.33c1.49.88 3.21 1.39 5.06 1.39zM2.6 4.43l1.48 1.48C2.51 7.95 1.7 10.6 2.1 13.46c.62 4.33 4.11 7.82 8.44 8.44 2.85.41 5.51-.41 7.55-1.98l1.48 1.48c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L4.01 3.01a.9959.9959 0 0 0-1.41 0c-.39.4-.39 1.03 0 1.42zm14.06 14.06C15.35 19.44 13.74 20 12 20c-4.41 0-8-3.59-8-8 0-.05.01-.1 0-.14 1.39-.52 2.63-1.35 3.64-2.39l9.02 9.02z"
}, "1")], 'FaceRetouchingOffRounded'); | JavaScript | 4 | good-gym/material-ui | packages/material-ui-icons/lib/esm/FaceRetouchingOffRounded.js | [
"MIT"
] |
.syntax--source.syntax--ruby {
.syntax--constant.syntax--other.syntax--symbol > .syntax--punctuation {
color: inherit;
}
}
| Less | 0 | davidbertsch/atom | packages/one-light-syntax/styles/syntax/ruby.less | [
"MIT"
] |
@import '~@/colors.styl'
body
color $red
| Stylus | 2 | dev-itsheng/wepy | packages/compiler-stylus/test/fixtures/stylus/alias.styl | [
"BSD-3-Clause"
] |
BEGIN {
FS = "\t";
len = 0;
# Print header
print "Usage: cd [OPTIONS] [dir]"
print ""
print "OPTIONS:"
}
# Skip commented line starting with # or //
/^(#|\/\/)/ { next }
{
len++;
condition = ltsv("condition")
if (condition != "") {
command = sprintf("%s &>/dev/null", condition);
code = system(command)
close(command);
if (code == 1) { next }
}
short = ltsv("short")
long = ltsv("long")
desc = ltsv("desc")
if (short == "") {
printf " %s %-15s %s\n", " ", long, desc
} else if (long == "") {
printf " %s %-15s %s\n", short, "", desc
} else {
printf " %s, %-15s %s\n", short, long, desc
}
}
END {
# Print footer
if (len == 0) { print " No available options now" }
print ""
printf "Version: %s\n", ENVIRON["_ENHANCD_VERSION"]
}
function ltsv(key) {
for (i = 1; i <= NF; i++) {
match($i, ":");
xs[substr($i, 0, RSTART)] = substr($i, RSTART+1);
};
return xs[key":"];
}
| Awk | 4 | d3dave/enhancd | functions/enhancd/lib/help.awk | [
"MIT"
] |
// Copyright 2010-2014 RethinkDB, all rights reserved.
#ifndef CLUSTERING_ADMINISTRATION_DATUM_ADAPTER_HPP_
#define CLUSTERING_ADMINISTRATION_DATUM_ADAPTER_HPP_
#include <set>
#include <string>
#include <vector>
#include "clustering/administration/admin_op_exc.hpp"
#include "containers/name_string.hpp"
#include "rdb_protocol/context.hpp"
#include "rdb_protocol/datum.hpp"
#include "rpc/connectivity/server_id.hpp"
#include "time.hpp"
class cluster_semilattice_metadata_t;
class server_config_client_t;
class table_meta_client_t;
/* Note that we generally use `ql::configured_limits_t::unlimited` when converting
things to datum, rather than using a user-specified limit. This is mostly for consistency
with reading from a B-tree; if a value read from the B-tree contains an array larger than
the user-specified limit, then we don't throw an exception unless the user tries to grow
the array. Since these functions are used to construct values that the user will "read",
we use the same behavior here. This has the nice side effect that we don't have to worry
about threading `configured_limits_t` through these functions, or about handling
exceptions if the limit is violated. */
ql::datum_t convert_string_to_datum(
const std::string &value);
bool convert_string_from_datum(
const ql::datum_t &datum,
std::string *value_out,
admin_err_t *error_out);
ql::datum_t convert_name_to_datum(
const name_string_t &value);
bool convert_name_from_datum(
ql::datum_t datum,
const std::string &what, /* e.g. "server name" or "table name" */
name_string_t *value_out,
admin_err_t *error_out);
ql::datum_t convert_uuid_to_datum(
const uuid_u &value);
bool convert_uuid_from_datum(
ql::datum_t datum,
uuid_u *value_out,
admin_err_t *error_out);
ql::datum_t convert_name_or_uuid_to_datum(
const name_string_t &name,
const uuid_u &uuid,
admin_identifier_format_t identifier_format);
ql::datum_t convert_server_id_to_datum(
const server_id_t &value);
bool convert_server_id_from_datum(
ql::datum_t datum,
server_id_t *value_out,
admin_err_t *error_out);
ql::datum_t convert_name_or_server_id_to_datum(
const name_string_t &name,
const server_id_t &sid,
admin_identifier_format_t identifier_format);
/* If the given server is connected, sets `*server_name_or_uuid_out` to a datum
representation of the server and returns `true`. If it's not connected, returns `false`.
*/
bool convert_connected_server_id_to_datum(
const server_id_t &server_id,
admin_identifier_format_t identifier_format,
server_config_client_t *server_config_client,
ql::datum_t *server_name_or_uuid_out,
name_string_t *server_name_out);
/* `convert_table_id_to_datums()` will return `false` if the table ID corresponds to a
deleted table. If the table still exists but the database does not, it will return `true`
but set the database to `__deleted_database__`. */
bool convert_table_id_to_datums(
const namespace_id_t &table_id,
admin_identifier_format_t identifier_format,
const cluster_semilattice_metadata_t &metadata,
table_meta_client_t *table_meta_client,
/* Any of these can be `nullptr` if they are not needed */
ql::datum_t *table_name_or_uuid_out,
name_string_t *table_name_out,
ql::datum_t *db_name_or_uuid_out,
name_string_t *db_name_out);
/* `convert_database_id_to_datum()` will return `false` if the database ID corresponds to
a deleted database. */
bool convert_database_id_to_datum(
const database_id_t &db_id,
admin_identifier_format_t identifier_format,
const cluster_semilattice_metadata_t &metadata,
ql::datum_t *db_name_or_uuid_out,
name_string_t *db_name_out);
bool convert_database_id_from_datum(
const ql::datum_t &db_name_or_uuid,
admin_identifier_format_t identifier_format,
const cluster_semilattice_metadata_t &metadata,
database_id_t *db_id_out,
name_string_t *db_name_out,
admin_err_t *error_out);
ql::datum_t convert_port_to_datum(
uint16_t value);
ql::datum_t convert_microtime_to_datum(
microtime_t value);
template<class T>
ql::datum_t convert_vector_to_datum(
const std::function<ql::datum_t(const T&)> &conv,
const std::vector<T> &vector) {
ql::datum_array_builder_t builder((ql::configured_limits_t::unlimited));
builder.reserve(vector.size());
for (const T &elem : vector) {
builder.add(conv(elem));
}
return std::move(builder).to_datum();
}
template<class T>
bool convert_vector_from_datum(
const std::function<bool(ql::datum_t, T *, admin_err_t *)> &conv,
ql::datum_t datum,
std::vector<T> *vector_out,
admin_err_t *error_out) {
if (datum.get_type() != ql::datum_t::R_ARRAY) {
*error_out = admin_err_t{
"Expected an array, got " + datum.print(),
query_state_t::FAILED};
return false;
}
vector_out->resize(datum.arr_size());
for (size_t i = 0; i < datum.arr_size(); ++i) {
if (!conv(datum.get(i), &(*vector_out)[i], error_out)) {
return false;
}
}
return true;
}
template<class T>
ql::datum_t convert_set_to_datum(
const std::function<ql::datum_t(const T&)> &conv,
const std::set<T> &set) {
ql::datum_array_builder_t builder((ql::configured_limits_t::unlimited));
builder.reserve(set.size());
for (const T &elem : set) {
builder.add(conv(elem));
}
return std::move(builder).to_datum();
}
template<class T>
bool convert_set_from_datum(
const std::function<bool(ql::datum_t, T *, admin_err_t *)> &conv,
bool allow_duplicates,
ql::datum_t datum,
std::set<T> *set_out,
admin_err_t *error_out) {
if (datum.get_type() != ql::datum_t::R_ARRAY) {
*error_out = admin_err_t{
"Expected an array, got " + datum.print(),
query_state_t::FAILED};
return false;
}
set_out->clear();
for (size_t i = 0; i < datum.arr_size(); ++i) {
T value;
if (!conv(datum.get(i), &value, error_out)) {
return false;
}
auto res = set_out->insert(value);
if (!allow_duplicates && !res.second) {
*error_out = admin_err_t{
datum.get(i).print() + " was specified more than once.",
query_state_t::FAILED};
return false;
}
}
return true;
}
/* `converter_from_datum_object_t` is a helper for converting a `datum_t` to some other
type when the type's datum representation is an object with a fixed set of fields.
Construct a `converter_from_datum_object_t` and call `init()` with your datum. `init()`
will fail if the input isn't an object. Next, call `get()` or `get_optional()` for each
field of the object; `get()` will fail if the field isn't present. Finally, call
`check_no_extra_keys()`, which will fail if the object has any keys that you didn't call
`get()` or `get_optional()` for. This way, it will produce a nice error message if the
user passes an object with an invalid key. */
class converter_from_datum_object_t {
public:
bool init(ql::datum_t datum,
admin_err_t *error_out);
bool get(const char *key,
ql::datum_t *value_out,
admin_err_t *error_out);
void get_optional(const char *key,
ql::datum_t *value_out);
bool has(const char *key);
bool check_no_extra_keys(admin_err_t *error_out);
private:
ql::datum_t datum;
std::set<datum_string_t> extra_keys;
};
#endif /* CLUSTERING_ADMINISTRATION_DATUM_ADAPTER_HPP_ */
| C++ | 4 | zadcha/rethinkdb | src/clustering/administration/datum_adapter.hpp | [
"Apache-2.0"
] |
(ns lt.objs.docs
"Provide command to see LT documentation"
(:require [lt.objs.command :as cmd]))
(cmd/command {:command :show-docs
:desc "Docs: Open Light Table's documentation"
:exec (fn []
(cmd/exec! :add-browser-tab "http://docs.lighttable.com/"))})
| Clojure | 4 | sam-aldis/LightTable | src/lt/objs/docs.cljs | [
"MIT"
] |
#! /usr/local/bin/octave
global dx = 1;
function y = basis (x)
y = 0;
global dx;
x = x / dx;
if (abs(x) < 2)
if (x < 0)
y = 0.25 * (2 + x)^3;
else
y = 0.25 * (2 - x)^3;
endif
if (abs(x) < 1)
if (x < 0)
y = y - (1 + x)^3;
else
y = y - (1 - x)^3;
endif
endif
endif
endfunction
function y = dbasis (x)
y = 0;
global dx;
x = x / dx;
if (abs(x) < 2)
if (x < 0)
y = 3* 0.25 * (2 + x)^2;
else
y = -3 * 0.25 * (2 - x)^2;
endif
if (abs(x) < 1)
if (x < 0)
y = y - 3 * (1 + x)^2;
else
y = y + 3 * (1 - x)^2;
endif
endif
endif
# # If x == 0, sign(x) is zero, which is ok
# if (abs(x) <= 2)
# y = - sign(x) * 3 * 0.25 * (2 - abs(x))^2;
# endif
# if (abs(x) <= 1)
# y = y + sign(x) * 3 * (1 - abs(x))^2;
# endif
endfunction
function y = ddbasis (x)
y = 0;
global dx;
x = x / dx;
if (abs(x) < 2)
if (x < 0)
y = 6 * 0.25 * (2 + x);
else
y = 6 * 0.25 * (2 - x);
endif
if (abs(x) < 1)
if (x < 0)
y = y - 6 * (1 + x);
else
y = y - 6 * (1 - x);
endif
endif
endif
endfunction
function y = dddbasis (x)
y = 0;
global dx;
x = x / dx;
if (abs(x) < 2)
if (x < 0)
y = 6 * 0.25;
else
y = -6 * 0.25;
endif
if (abs(x) < 1)
if (x < 0)
y = y - 6;
else
y = y + 6;
endif
endif
endif
endfunction
# m is the distance between the two dbasis functions
function y = qm (x, m)
y = dddbasis(x) * dddbasis(x - m);
endfunction
function y = q0 (x)
y = qm (x, 0);
endfunction
function y = q1 (x)
y = qm (x, 1);
endfunction
function y = q2 (x)
y = qm (x, 2);
endfunction
function y = q3 (x)
y = qm (x, 3);
endfunction
x0 = -3 * dx;
xm = 3 * dx;
x = ( linspace (x0,xm,((xm-x0)/0.05)) );
#x = (-3:0.05:3);
for i = [ 1 : columns(x) ]
y(i) = basis(x(i));
dy(i) = dbasis(x(i));
ddy(i) = ddbasis(x(i));
dddy(i) = dddbasis(x(i));
dy2(1,i) = qm(x(i), 0);
dy2(2,i) = qm(x(i), 1);
dy2(3,i) = qm(x(i), 2);
dy2(4,i) = qm(x(i), 3);
endfor
plot (x,y,x,dy,x,ddy,x,dddy);
#(1,:),x,dy2(2,:),x,dy2(3,:),x,dy2(4,:));
printf ("dx = %f\n", dx);
printf ("For derivative constraint, where the row is the distance,\n");
printf ("and column is the X range, -2:-1, -1:0, 0:1, 1:2.\n");
#part(4,4);
for m = [ 1 : 4 ]
x = m - 3;
part(1,m) = quad("q0", x, x+1);
part(2,m) = quad("q1", x, x+1);
part(3,m) = quad("q2", x, x+1);
part(4,m) = quad("q3", x, x+1);
endfor
part
#printf ("Integral of y(x): %f\n", quad("basis", x0, xm));
#printf ("Integral of dy(x): %f\n", quad("dbasis", x0, xm));
#printf ("Integral of q0(x): %f\n", quad("q0", x0, xm));
#printf ("Integral of q1(x): %f\n", quad("q1", x0, xm));
#printf ("Integral of q2(x): %f\n", quad("q2", x0, xm));
#printf ("Integral of q3(x): %f\n", quad("q3", x0, xm));
| Octave | 5 | TrentWeiss/bspline | Design/basis.oct | [
"BSD-3-Clause"
] |
{% skip_file if flag?(:without_interpreter) %}
require "./spec_helper"
describe Crystal::Repl::Interpreter do
context "procs" do
it "interprets no args proc literal" do
interpret(<<-CODE).should eq(42)
proc = ->{ 40 }
proc.call + 2
CODE
end
it "interprets proc literal with args" do
interpret(<<-CODE).should eq(30)
proc = ->(x : Int32, y : Int32) { x + y }
proc.call(10, 20)
CODE
end
it "interprets call inside Proc type" do
interpret(<<-CODE).should eq(42)
struct Proc
def call2
call
end
end
proc = ->{ 40 }
proc.call2 + 2
CODE
end
it "casts from nilable proc type to proc type" do
interpret(<<-CODE).should eq(42)
proc =
if 1 == 1
->{ 42 }
else
nil
end
if proc
proc.call
else
1
end
CODE
end
it "discards proc call" do
interpret(<<-CODE).should eq(2)
proc = ->{ 40 }
proc.call
2
CODE
end
end
end
| Crystal | 5 | jessedoyle/crystal | spec/compiler/interpreter/procs_spec.cr | [
"Apache-2.0"
] |
/* eslint-env jest */
import cheerio from 'cheerio'
import { findPort, killApp, launchApp, renderViaHTTP } from 'next-test-utils'
import webdriver from 'next-webdriver'
import fetch from 'node-fetch'
import { join } from 'path'
const context = {}
describe('Configuration', () => {
beforeAll(async () => {
context.output = ''
const handleOutput = (msg) => {
context.output += msg
}
context.appPort = await findPort()
context.server = await launchApp(join(__dirname, '../'), context.appPort, {
env: {
NODE_OPTIONS: '--inspect',
},
onStdout: handleOutput,
onStderr: handleOutput,
})
// pre-build all pages at the start
await Promise.all([
renderViaHTTP(context.appPort, '/next-config'),
renderViaHTTP(context.appPort, '/build-id'),
renderViaHTTP(context.appPort, '/module-only-component'),
])
})
afterAll(() => {
killApp(context.server)
})
async function get$(path, query) {
const html = await renderViaHTTP(context.appPort, path, query)
return cheerio.load(html)
}
it('should disable X-Powered-By header support', async () => {
const url = `http://localhost:${context.appPort}/`
const header = (await fetch(url)).headers.get('X-Powered-By')
expect(header).not.toBe('Next.js')
})
test('renders server config on the server only', async () => {
const $ = await get$('/next-config')
expect($('#server-only').text()).toBe('secret')
})
test('renders public config on the server only', async () => {
const $ = await get$('/next-config')
expect($('#server-and-client').text()).toBe('/static')
})
test('renders the build id in development mode', async () => {
const $ = await get$('/build-id')
expect($('#buildId').text()).toBe('development')
})
test('correctly imports a package that defines `module` but no `main` in package.json', async () => {
const $ = await get$('/module-only-content')
expect($('#messageInAPackage').text()).toBe('OK')
})
it('should have config available on the client', async () => {
const browser = await webdriver(context.appPort, '/next-config')
const serverText = await browser.elementByCss('#server-only').text()
const serverClientText = await browser
.elementByCss('#server-and-client')
.text()
const envValue = await browser.elementByCss('#env').text()
expect(serverText).toBe('')
expect(serverClientText).toBe('/static')
expect(envValue).toBe('hello')
await browser.close()
})
})
| JavaScript | 4 | blomqma/next.js | test/integration/config/test/index.test.js | [
"MIT"
] |
module.exports = {
pathPrefix: `/prefix`,
}
| JavaScript | 2 | cwlsn/gatsby | examples/using-path-prefix/gatsby-config.js | [
"MIT"
] |
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
#ifndef TENSORFLOW_COMPILER_JIT_INCREASE_DYNAMISM_FOR_AUTO_JIT_PASS_H_
#define TENSORFLOW_COMPILER_JIT_INCREASE_DYNAMISM_FOR_AUTO_JIT_PASS_H_
#include "tensorflow/core/common_runtime/optimization_registry.h"
namespace tensorflow {
// Increases the amount of "dynamism" representable by XLA clusters by rewriting
// the TensorFlow graph. This pass does the following rewrites:
//
// Slice
// -----
//
// Slice(op, begin, size <must be constant>) =>
// Slice(op, begin, actual_size(op.shape(), size, begin));
// _XlaCompileTimeConstantInputs={2}
//
// where
//
// actual_size(op_shape, size, begin)[i] =
// size[i] == -1 ? (op_shape[i] - size[i])
// : size[i]
//
// This pass, combined with jit/partially_decluster_pass, reduces the number of
// unnecessary cluster recompilations in some common cases. After the rewrite
// shown above jit/partially_decluster_pass extracts the actual_size(...)
// computation to outside the XLA cluster, causing the cluster to be versioned
// only on the actual size of the XlaDynamicSlice. This avoids recompilation
// due to superficial changes that don't affect tensor shapes.
//
// Future Work TODO(b/111210515)
// -----------------------------
//
// In the future we will also translate StridedSlice and Pad a similar way.
class IncreaseDynamismForAutoJitPass : public GraphOptimizationPass {
public:
Status Run(const GraphOptimizationPassOptions& options) override;
};
} // namespace tensorflow
#endif // TENSORFLOW_COMPILER_JIT_INCREASE_DYNAMISM_FOR_AUTO_JIT_PASS_H_
| C | 4 | abhaikollara/tensorflow | tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.h | [
"Apache-2.0"
] |
camera {
location <0, 0, -200>
look_at <0, 0, 0>
}
light_source {
<200, 0, -100>
color rgb <1, 1, 1> * 2
}
sphere {
<0, 0, 0>, 58.232
pigment{
image_map {
jpeg "map/moonmap.jpg"
map_type 1
}
}
rotate <0, -90, 0>
}
| POV-Ray SDL | 3 | spcask/pov-ray-tracing | src/scene17.pov | [
"MIT"
] |
/*
* Copyright 2010-2018 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "Memory.h"
#include "Types.h"
// C++ part of box caching.
template<class T>
struct KBox {
ObjHeader header;
const T value;
};
// Keep naming of these in sync with codegen part.
extern const KBoolean BOOLEAN_RANGE_FROM;
extern const KBoolean BOOLEAN_RANGE_TO;
extern const KByte BYTE_RANGE_FROM;
extern const KByte BYTE_RANGE_TO;
extern const KChar CHAR_RANGE_FROM;
extern const KChar CHAR_RANGE_TO;
extern const KShort SHORT_RANGE_FROM;
extern const KShort SHORT_RANGE_TO;
extern const KInt INT_RANGE_FROM;
extern const KInt INT_RANGE_TO;
extern const KLong LONG_RANGE_FROM;
extern const KLong LONG_RANGE_TO;
extern KBox<KBoolean> BOOLEAN_CACHE[];
extern KBox<KByte> BYTE_CACHE[];
extern KBox<KChar> CHAR_CACHE[];
extern KBox<KShort> SHORT_CACHE[];
extern KBox<KInt> INT_CACHE[];
extern KBox<KLong> LONG_CACHE[];
namespace {
template<class T>
inline bool isInRange(T value, T from, T to) {
return value >= from && value <= to;
}
template<class T>
OBJ_GETTER(getCachedBox, T value, KBox<T> cache[], T from) {
uint64_t index = value - from;
RETURN_OBJ(&cache[index].header);
}
} // namespace
extern "C" {
bool inBooleanBoxCache(KBoolean value) {
return isInRange(value, BOOLEAN_RANGE_FROM, BOOLEAN_RANGE_TO);
}
bool inByteBoxCache(KByte value) {
return isInRange(value, BYTE_RANGE_FROM, BYTE_RANGE_TO);
}
bool inCharBoxCache(KChar value) {
return isInRange(value, CHAR_RANGE_FROM, CHAR_RANGE_TO);
}
bool inShortBoxCache(KShort value) {
return isInRange(value, SHORT_RANGE_FROM, SHORT_RANGE_TO);
}
bool inIntBoxCache(KInt value) {
return isInRange(value, INT_RANGE_FROM, INT_RANGE_TO);
}
bool inLongBoxCache(KLong value) {
return isInRange(value, LONG_RANGE_FROM, LONG_RANGE_TO);
}
OBJ_GETTER(getCachedBooleanBox, KBoolean value) {
RETURN_RESULT_OF(getCachedBox, value, BOOLEAN_CACHE, BOOLEAN_RANGE_FROM);
}
OBJ_GETTER(getCachedByteBox, KByte value) {
// Remember that KByte can't handle values >= 127
// so it can't be used as indexing type.
RETURN_RESULT_OF(getCachedBox, value, BYTE_CACHE, BYTE_RANGE_FROM);
}
OBJ_GETTER(getCachedCharBox, KChar value) {
RETURN_RESULT_OF(getCachedBox, value, CHAR_CACHE, CHAR_RANGE_FROM);
}
OBJ_GETTER(getCachedShortBox, KShort value) {
RETURN_RESULT_OF(getCachedBox, value, SHORT_CACHE, SHORT_RANGE_FROM);
}
OBJ_GETTER(getCachedIntBox, KInt value) {
RETURN_RESULT_OF(getCachedBox, value, INT_CACHE, INT_RANGE_FROM);
}
OBJ_GETTER(getCachedLongBox, KLong value) {
RETURN_RESULT_OF(getCachedBox, value, LONG_CACHE, LONG_RANGE_FROM);
}
} | C++ | 4 | benasher44/kotlin-native | runtime/src/main/cpp/Boxing.cpp | [
"ECL-2.0",
"Apache-2.0"
] |
"""Support for Octoprint buttons."""
from pyoctoprintapi import OctoprintClient, OctoprintPrinterInfo
from homeassistant.components.button import ButtonEntity
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant
from homeassistant.exceptions import HomeAssistantError
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.helpers.update_coordinator import CoordinatorEntity
from . import OctoprintDataUpdateCoordinator
from .const import DOMAIN
async def async_setup_entry(
hass: HomeAssistant,
config_entry: ConfigEntry,
async_add_entities: AddEntitiesCallback,
) -> None:
"""Set up Octoprint control buttons."""
coordinator: OctoprintDataUpdateCoordinator = hass.data[DOMAIN][
config_entry.entry_id
]["coordinator"]
client: OctoprintClient = hass.data[DOMAIN][config_entry.entry_id]["client"]
device_id = config_entry.unique_id
assert device_id is not None
async_add_entities(
[
OctoprintResumeJobButton(coordinator, device_id, client),
OctoprintPauseJobButton(coordinator, device_id, client),
OctoprintStopJobButton(coordinator, device_id, client),
]
)
class OctoprintButton(CoordinatorEntity[OctoprintDataUpdateCoordinator], ButtonEntity):
"""Represent an OctoPrint binary sensor."""
client: OctoprintClient
def __init__(
self,
coordinator: OctoprintDataUpdateCoordinator,
button_type: str,
device_id: str,
client: OctoprintClient,
) -> None:
"""Initialize a new OctoPrint button."""
super().__init__(coordinator)
self.client = client
self._device_id = device_id
self._attr_name = f"OctoPrint {button_type}"
self._attr_unique_id = f"{button_type}-{device_id}"
@property
def device_info(self):
"""Device info."""
return self.coordinator.device_info
@property
def available(self) -> bool:
"""Return if entity is available."""
return self.coordinator.last_update_success and self.coordinator.data["printer"]
class OctoprintPauseJobButton(OctoprintButton):
"""Pause the active job."""
def __init__(
self,
coordinator: OctoprintDataUpdateCoordinator,
device_id: str,
client: OctoprintClient,
) -> None:
"""Initialize a new OctoPrint button."""
super().__init__(coordinator, "Pause Job", device_id, client)
async def async_press(self) -> None:
"""Handle the button press."""
printer: OctoprintPrinterInfo = self.coordinator.data["printer"]
if printer.state.flags.printing:
await self.client.pause_job()
elif not printer.state.flags.paused and not printer.state.flags.pausing:
raise InvalidPrinterState("Printer is not printing")
class OctoprintResumeJobButton(OctoprintButton):
"""Resume the active job."""
def __init__(
self,
coordinator: OctoprintDataUpdateCoordinator,
device_id: str,
client: OctoprintClient,
) -> None:
"""Initialize a new OctoPrint button."""
super().__init__(coordinator, "Resume Job", device_id, client)
async def async_press(self) -> None:
"""Handle the button press."""
printer: OctoprintPrinterInfo = self.coordinator.data["printer"]
if printer.state.flags.paused:
await self.client.resume_job()
elif not printer.state.flags.printing and not printer.state.flags.resuming:
raise InvalidPrinterState("Printer is not currently paused")
class OctoprintStopJobButton(OctoprintButton):
"""Resume the active job."""
def __init__(
self,
coordinator: OctoprintDataUpdateCoordinator,
device_id: str,
client: OctoprintClient,
) -> None:
"""Initialize a new OctoPrint button."""
super().__init__(coordinator, "Stop Job", device_id, client)
async def async_press(self) -> None:
"""Handle the button press."""
printer: OctoprintPrinterInfo = self.coordinator.data["printer"]
if printer.state.flags.printing or printer.state.flags.paused:
await self.client.cancel_job()
class InvalidPrinterState(HomeAssistantError):
"""Service attempted in invalid state."""
| Python | 5 | MrDelik/core | homeassistant/components/octoprint/button.py | [
"Apache-2.0"
] |
/*
Copyright © 2011, 2012 MLstate
This file is part of Opa.
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.
*/
/**
* {1 About this module}
*
* It contains several known implementation specific limits.
*
*/
Limits = {{
/**
* The largest integer usable in OPA
*
* Note that the size of integers is dictated both by server limitations (64-bit servers have larger integers than 32-bit servers)
* and by client limitations (JavaScript implementations are typically limited to 53-bit integers).
*/
max_int = server_max_int
/**
* The smallest integer usable in OPA
*
* Note that the size of integers is dictated both by server limitations (64-bit servers have larger integers than 32-bit servers)
* and by client limitations (JavaScript implementations are typically limited to 53-bit integers).
*/
min_int = -max_int
@private
@publish
server_max_int = %% BslNumber.Int.max_int %% : int
}}
| Opa | 4 | Machiaweliczny/oppailang | lib/stdlib/core/rpc/core/limits.opa | [
"MIT"
] |
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
#include <stdint.h>
#include <initializer_list>
#include <iostream>
#include <type_traits>
#include <vector>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "tensorflow/lite/kernels/test_util.h"
#include "tensorflow/lite/schema/schema_generated.h"
namespace tflite {
namespace {
using ::testing::ElementsAreArray;
template <typename T>
class UnpackOpModel : public SingleOpModel {
public:
UnpackOpModel(const TensorData& input, int axis) {
if (axis < 0) {
axis += input.shape.size();
}
const int num_outputs = input.shape[axis];
input_ = AddInput(input);
for (int i = 0; i < num_outputs; ++i) {
outputs_.push_back(AddOutput(input.type));
}
SetBuiltinOp(BuiltinOperator_UNPACK, BuiltinOptions_UnpackOptions,
CreateUnpackOptions(builder_, num_outputs, axis).Union());
BuildInterpreter({GetShape(input_)});
}
void SetInput(std::initializer_list<T> data) {
PopulateTensor<T>(input_, data);
}
std::vector<std::vector<T>> GetOutputDatas() {
std::vector<std::vector<T>> output_datas;
for (const int output : outputs_) {
std::cerr << "the output is " << output << std::endl;
output_datas.push_back(ExtractVector<T>(output));
}
return output_datas;
}
std::vector<std::vector<int>> GetOutputShapes() {
std::vector<std::vector<int>> output_shapes;
for (const int output : outputs_) {
output_shapes.push_back(GetTensorShape(output));
}
return output_shapes;
}
private:
int input_;
std::vector<int> outputs_;
};
template <typename T>
void Check(int axis, const std::initializer_list<int>& input_shape,
const std::initializer_list<T>& input_data,
const std::vector<std::vector<int>>& exp_output_shape,
const std::vector<std::vector<T>>& exp_output_data,
const TensorType& type = TensorType_FLOAT32) {
UnpackOpModel<T> m({type, input_shape}, axis);
m.SetInput(input_data);
m.Invoke();
// Check outputs shapes.
EXPECT_THAT(m.GetOutputShapes(), ElementsAreArray(exp_output_shape));
// Check outputs values.
EXPECT_THAT(m.GetOutputDatas(), ElementsAreArray(exp_output_data));
}
template <typename InputType>
struct UnpackOpTest : public ::testing::Test {
using TypeToTest = InputType;
TensorType TENSOR_TYPE =
(std::is_same<InputType, int16_t>::value
? TensorType_INT16
: (std::is_same<InputType, uint8_t>::value
? TensorType_UINT8
: (std::is_same<InputType, int8_t>::value
? TensorType_INT8
: (std::is_same<InputType, int32_t>::value
? TensorType_INT32
: TensorType_FLOAT32))));
};
using TestTypes = testing::Types<float, int32_t, int8_t, uint8_t, int16_t>;
TYPED_TEST_CASE(UnpackOpTest, TestTypes);
TYPED_TEST(UnpackOpTest, ThreeOutputs) {
Check<typename TestFixture::TypeToTest>(
/*axis=*/0, /*input_shape=*/{3, 2},
/*input_data=*/{1, 2, 3, 4, 5, 6},
/*exp_output_shape=*/{{2}, {2}, {2}},
/*exp_output_data=*/{{1, 2}, {3, 4}, {5, 6}}, TestFixture::TENSOR_TYPE);
}
TYPED_TEST(UnpackOpTest, ThreeOutputsAxisOne) {
Check<typename TestFixture::TypeToTest>(
/*axis=*/1, /*input_shape=*/{3, 2},
/*input_data=*/{1, 2, 3, 4, 5, 6},
/*exp_output_shape=*/{{3}, {3}},
/*exp_output_data=*/{{1, 3, 5}, {2, 4, 6}}, TestFixture::TENSOR_TYPE);
}
TYPED_TEST(UnpackOpTest, ThreeOutputsNegativeAxisOne) {
Check<typename TestFixture::TypeToTest>(
/*axis=*/-1, /*input_shape=*/{3, 2},
/*input_data=*/{1, 2, 3, 4, 5, 6},
/*exp_output_shape=*/{{3}, {3}},
/*exp_output_data=*/{{1, 3, 5}, {2, 4, 6}}, TestFixture::TENSOR_TYPE);
}
TYPED_TEST(UnpackOpTest, OneOutput) {
Check<typename TestFixture::TypeToTest>(
/*axis=*/0, /*input_shape=*/{1, 6},
/*input_data=*/{1, 2, 3, 4, 5, 6},
/*exp_output_shape=*/{{6}},
/*exp_output_data=*/{{1, 2, 3, 4, 5, 6}}, TestFixture::TENSOR_TYPE);
}
TYPED_TEST(UnpackOpTest, ThreeDimensionsOutputs) {
Check<typename TestFixture::TypeToTest>(
/*axis=*/2, /*input_shape=*/{2, 2, 2},
/*input_data=*/{1, 2, 3, 4, 5, 6, 7, 8},
/*exp_output_shape=*/{{2, 2}, {2, 2}},
/*exp_output_data=*/{{1, 3, 5, 7}, {2, 4, 6, 8}},
TestFixture::TENSOR_TYPE);
}
TYPED_TEST(UnpackOpTest, FiveDimensionsOutputs) {
Check<typename TestFixture::TypeToTest>(
/*axis=*/2, /*input_shape=*/{2, 2, 2, 2, 1},
/*input_data=*/{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16},
/*exp_output_shape=*/{{2, 2, 2, 1}, {2, 2, 2, 1}},
/*exp_output_data=*/
{{1, 2, 5, 6, 9, 10, 13, 14}, {3, 4, 7, 8, 11, 12, 15, 16}},
/*type=*/TestFixture::TENSOR_TYPE);
}
TYPED_TEST(UnpackOpTest, VectorToScalar) {
Check<typename TestFixture::TypeToTest>(
/*axis=*/0, /*input_shape=*/{5},
/*input_data=*/{1, 2, 3, 4, 5},
/*exp_output_shape=*/{{}, {}, {}, {}, {}},
/*exp_output_data=*/{{1}, {2}, {3}, {4}, {5}}, TestFixture::TENSOR_TYPE);
}
// bool tests.
TEST(UnpackOpTestBool, BoolThreeOutputs) {
Check<bool>(
/*axis=*/0, /*input_shape=*/{3, 2},
/*input_data=*/{true, false, true, false, true, false},
/*exp_output_shape=*/{{2}, {2}, {2}},
/*exp_output_data=*/{{true, false}, {true, false}, {true, false}},
/*type=*/TensorType_BOOL);
}
TEST(UnpackOpTestBool, BoolThreeOutputsAxisOne) {
Check<bool>(
/*axis=*/1, /*input_shape=*/{3, 2},
/*input_data=*/{true, false, true, false, true, false},
/*exp_output_shape=*/{{3}, {3}},
/*exp_output_data=*/{{true, true, true}, {false, false, false}},
/*type=*/TensorType_BOOL);
}
TEST(UnpackOpTestBool, BoolThreeOutputsNegativeAxisOne) {
Check<bool>(
/*axis=*/-1, /*input_shape=*/{3, 2},
/*input_data=*/{true, false, true, false, true, false},
/*exp_output_shape=*/{{3}, {3}},
/*exp_output_data=*/{{true, true, true}, {false, false, false}},
/*type=*/TensorType_BOOL);
}
TEST(UnpackOpTestBool, BoolThreeOutputsNegativeAxisTwo) {
Check<bool>(
/*axis=*/-2, /*input_shape=*/{3, 2},
/*input_data=*/{true, false, true, false, true, false},
/*exp_output_shape=*/{{2}, {2}, {2}},
/*exp_output_data=*/{{true, false}, {true, false}, {true, false}},
/*type=*/TensorType_BOOL);
}
TEST(UnpackOpTestBool, BoolOneOutput) {
Check<bool>(
/*axis=*/0, /*input_shape=*/{1, 6},
/*input_data=*/{true, false, true, false, true, false},
/*exp_output_shape=*/{{6}},
/*exp_output_data=*/{{true, false, true, false, true, false}},
/*type=*/TensorType_BOOL);
}
TEST(UnpackOpTestBool, BoolThreeDimensionsOutputs) {
Check<bool>(
/*axis=*/2, /*input_shape=*/{2, 2, 2},
/*input_data=*/{true, false, true, false, true, false, true, false},
/*exp_output_shape=*/{{2, 2}, {2, 2}},
/*exp_output_data=*/
{{true, true, true, true}, {false, false, false, false}},
/*type=*/TensorType_BOOL);
}
TEST(UnpackOpTest, BoolFiveDimensionsOutputs) {
Check<bool>(
/*axis=*/2, /*input_shape=*/{2, 2, 2, 2, 1},
/*input_data=*/
{true, false, true, false, true, false, true, false, true, true, true,
true, true, true, true, true},
/*exp_output_shape=*/{{2, 2, 2, 1}, {2, 2, 2, 1}},
/*exp_output_data=*/
{{true, false, true, false, true, true, true, true},
{true, false, true, false, true, true, true, true}},
/*type=*/TensorType_BOOL);
}
TEST(UnpackOpTestBool, BoolVectorToScalar) {
Check<bool>(/*axis=*/0, /*input_shape=*/{5},
/*input_data=*/{true, false, true, false, true},
/*exp_output_shape=*/{{}, {}, {}, {}, {}},
/*exp_output_data=*/{{true}, {false}, {true}, {false}, {true}},
/*type=*/TensorType_BOOL);
}
} // namespace
} // namespace tflite
| C++ | 4 | yage99/tensorflow | tensorflow/lite/kernels/unpack_test.cc | [
"Apache-2.0"
] |
#pragma once
// NOLINT(namespace-envoy)
// This file is part of the QUICHE platform implementation, and is not to be
// consumed or referenced directly by other Envoy code. It serves purely as a
// porting layer for QUICHE.
#include "absl/strings/string_view.h"
namespace quic {
// NOLINTNEXTLINE(readability-identifier-naming)
template <class T> void AdjustTestValueImpl(absl::string_view /*label*/, T* /*var*/) {}
} // namespace quic
| C | 2 | dcillera/envoy | source/common/quic/platform/quic_testvalue_impl.h | [
"Apache-2.0"
] |
--TEST--
ldap_exop_whoami() - EXOP whoami operation
--CREDITS--
Côme Chilliet <[email protected]>
--EXTENSIONS--
ldap
--SKIPIF--
<?php require_once('skipifbindfailure.inc'); ?>
--FILE--
<?php
require "connect.inc";
$link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
insert_dummy_data($link, $base);
var_dump(
ldap_exop_whoami($link)
);
?>
--CLEAN--
<?php
require "connect.inc";
$link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
remove_dummy_data($link, $base);
?>
--EXPECTF--
string(%d) "dn:%s"
| PHP | 3 | NathanFreeman/php-src | ext/ldap/tests/ldap_exop_whoami.phpt | [
"PHP-3.01"
] |
import generateUtilityClasses from '../generateUtilityClasses';
import generateUtilityClass from '../generateUtilityClass';
export interface ModalUnstyledClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to the root element if the `Modal` has exited. */
hidden: string;
}
export type ModalUnstyledClassKey = keyof ModalUnstyledClasses;
export function getModalUtilityClass(slot: string): string {
return generateUtilityClass('MuiModal', slot);
}
const modalUnstyledClasses: ModalUnstyledClasses = generateUtilityClasses('MuiModal', [
'root',
'hidden',
]);
export default modalUnstyledClasses;
| TypeScript | 4 | good-gym/material-ui | packages/material-ui-unstyled/src/ModalUnstyled/modalUnstyledClasses.ts | [
"MIT"
] |
#+OPTIONS: H:3 num:nil toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t TeX:t LaTeX:t skip:nil d:(HIDE) tags:not-in-toc
#+STARTUP: align fold nodlcheck hidestars oddeven lognotestate
#+SEQ_TODO: TODO(t) INPROGRESS(i) WAITING(w@) | DONE(d) CANCELED(c@)
#+TAGS: Write(w) Update(u) Fix(f) Check(c)
#+TITLE: org-ruby
#+AUTHOR: Brian Dewey
#+EMAIL: [email protected]
#+LANGUAGE: en
#+PRIORITIES: A C B
#+CATEGORY: worg
{Back to Worg's index}
* Motivation
The dominant simple plain-text markup languages for the web are
Textile and Markdown. A factor for the popularity of those markup
formats is the widespread availability of simple, free packages for
converting the formats to HTML. For example, the world of
Ruby-powered websites has settled on RedCloth for converting Textile
to HTML.
The default way to convert org-mode files to HTML is the powerful
publishing functionality provided by =emacs=. However, =emacs= does
not easiliy integrate into many existing website frameworks.
=Org-ruby= tries to make it easier to use org-mode files in both
dyanmic and static website generation tools written in
Ruby. =Org-ruby= is a simple Ruby gem to convert org-mode files to
HTML.
* Using Org-ruby
=Org-ruby= follows the same model as other Ruby markup
libraries. You install the gem:
#+BEGIN_EXAMPLE
sudo gem install org-ruby
#+END_EXAMPLE
Then, to convert an org-file to HTML in your Ruby code:
#+BEGIN_EXAMPLE
require 'rubygems'
require 'org-ruby'
data = IO.read(filename)
puts Orgmode::Parser.new(data).to_html
#+END_EXAMPLE
* Walkthrough: Using org-ruby with Webby
Here is an example of how to integrate =org-ruby= into Webby, a
static website generation tool written in Ruby.
Webby follows a similar pattern to other static site generation
tools (like nanoc, Jekyll, and webgen):
- You author website content in text with simple markup
- Each page is fed through one or more /filters/ to produce HTML
- The HTML is mixed in with layouts to produce the final pages
For a Webby site, a the source for a page may look like this:
#+BEGIN_EXAMPLE
---
title: Special Directories
created_at: 2009-12-17
status: Complete
filter:
- erb
- maruku
tags:
- powershell
---
<%= @page.title %>
==================
Special Directories are a set of directories, each of which has a
function that will navigate you to the appropriate directory using
the push-location cmdlet. For example, the function `home` might
navigate to `c:\users\bdewey.`
Install
-------
Copy the module to somewhere in `ENV:PSModulePath`. Then,
InstallModule SpecialDirectories
#+END_EXAMPLE
In the above example, the text is written in Markdown. At the top of
the file, metadata informs Webby to pass the text through two
/filters/ to produce HTML. The first filter, =erb=, handles embedded
Ruby. In this case, it will replace ~<%= @page.title %>~ with the
page title (=Special Directories=). The second filter uses Maruku to
translate Markdown into HTML.
You can use the exact same pattern to include org-mode files in a
Webby site. For this walkthrough, I assume you already have Webby
installed, and that you've already created a site.
1. Make sure you have =org-ruby= installed: =sudo gem install
org-ruby=.
2. You need to register a new Webby filter to handle org-mode
content. Webby makes this easy. In the =lib/= folder of your
site, create a file =orgmode.rb=:
#+BEGIN_EXAMPLE
require 'org-ruby'
Webby::Filters.register :org do |input|
Orgmode::Parser.new(input).to_html
end
#+END_EXAMPLE
This code creates a new filter, =org=, that will use the
=org-ruby= parser to translate org-mode input into HTML.
3. Create your content. For example:
#+BEGIN_EXAMPLE
---
title: Orgmode Parser
created_at: 2009-12-21
status: Under development
filter:
- erb
- org
tags:
- orgmode
- ruby
---
<%= @page.title %>
Status: <%= @page.status %>
* Description
Helpful Ruby routines for parsing orgmode files. The most
significant thing this library does today is convert orgmode files
to textile. Currently, you cannot do much to customize the
conversion. The supplied textile conversion is optimized for
extracting "content" from the orgfile as opposed to "metadata."
* History
** 2009-12-29: Version 0.4
- The first thing output in HTML gets the class "title"
- HTML output is now indented
- Proper support for multi-paragraph list items.
See? This paragraph is part of the last bullet.
- Fixed bugs:
- "rake spec" wouldn't work on Linux. Needed "require 'rubygems'".
#+END_EXAMPLE
This file will go through the =erb= and =org= filters; as defined
in the previous step, the =org= filter will use =org-ruby= to
generate HTML.
That's all there is to it!
| Org | 4 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Org/org.org | [
"MIT"
] |
/*
Copyright 2020 Scott Bezek and the splitflap contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
include<../flap_dimensions.scad>
print_tolerance = 0.1;
eps = 0.1;
jig_thickness = 2.0; // Vertical thickness of the jig base.
jig_border = 8.0; // horizontal extent of the jig outside the flap size.
flap_slot_depth = 2 * flap_thickness; // depth of the recess the flap sits in.
cutting_slot_width = 2.0; // Relief in the border for the blade to start and stop in.
jig_width = jig_border*2 + print_tolerance * 2 + flap_width;
ruler_width = 24.6;
ruler_depth = 1.6;
ruler_backstop_height = ruler_depth * 2;
difference() {
union() {
// Main body of the jig
linear_extrude(height=jig_thickness + flap_slot_depth) {
square([jig_width,jig_border*2 + print_tolerance + ruler_width + flap_height]);
}
// Backstop for ruler/cutting guide
linear_extrude(height=jig_thickness + flap_slot_depth + ruler_backstop_height) {
square(size=[jig_border*2 + print_tolerance * 2 + flap_width, jig_border]);
}
}
union() {
translate([jig_border - print_tolerance,-eps,jig_thickness]) {
// Main area for card to sit into
linear_extrude(height=flap_slot_depth + ruler_backstop_height + eps) {
square([flap_width + 2 * print_tolerance, flap_height + print_tolerance + ruler_width + jig_border + eps]);
}
}
translate([-eps ,jig_border + ruler_width, jig_thickness]) {
// remove material from the left side so only the top and right sides are braced
linear_extrude(height=flap_slot_depth + eps) {
square([jig_border + print_tolerance + eps, flap_height + print_tolerance + jig_border + eps]);
}
}
translate([-eps, jig_border + ruler_width - cutting_slot_width / 2, jig_thickness]) {
// Relieve a slot for the blade to start and finish in
linear_extrude(height=flap_slot_depth + eps) {
square([jig_width + 2*eps,cutting_slot_width]);
}
}
}
}
| OpenSCAD | 4 | chrisdearman/splitflap | 3d/tools/scoring_jig.scad | [
"Apache-2.0"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
'use strict';
const { createModuleDescription, createEditorWorkerModuleDescription } = require('../base/buildfile');
exports.collectModules = function () {
return [
createEditorWorkerModuleDescription('vs/workbench/contrib/output/common/outputLinkComputer'),
createModuleDescription('vs/workbench/contrib/debug/node/telemetryApp'),
createModuleDescription('vs/workbench/services/search/node/searchApp'),
createModuleDescription('vs/platform/files/node/watcher/unix/watcherApp'),
createModuleDescription('vs/platform/files/node/watcher/nsfw/watcherApp'),
createModuleDescription('vs/platform/files/node/watcher/parcel/watcherApp'),
createModuleDescription('vs/platform/terminal/node/ptyHostMain'),
createModuleDescription('vs/workbench/services/extensions/node/extensionHostProcess'),
];
};
| JavaScript | 3 | Dlitosh/vscode | src/vs/workbench/buildfile.desktop.js | [
"MIT"
] |
%
% each variable is represented by a node in a binary tree.
% each node contains:
% key,
% current_value
% Markov Blanket
%
:- module(clpbn_gibbs,
[gibbs/3,
check_if_gibbs_done/1,
init_gibbs_solver/4,
run_gibbs_solver/3
]).
:- use_module(library(rbtrees),
[rb_new/1,
rb_insert/4,
rb_lookup/3
]).
:- use_module(library(lists),
[member/2,
append/3,
delete/3,
max_list/2,
sum_list/2
]).
:- use_module(library(maplist)).
:- use_module(library(ordsets),
[ord_subtract/3]).
:- use_module(library('clpbn/matrix_cpt_utils'),
[project_from_CPT/3,
reorder_CPT/5,
multiply_possibly_deterministic_factors/3,
column_from_possibly_deterministic_CPT/3,
normalise_possibly_deterministic_CPT/2,
list_from_CPT/2
]).
:- use_module(library('clpbn/utils'),
[check_for_hidden_vars/3]).
:- use_module(library('clpbn/dists'),
[get_possibly_deterministic_dist_matrix/5,
get_dist_domain_size/2
]).
:- use_module(library('clpbn/topsort'),
[topsort/2]).
:- use_module(library('clpbn/display'),
[clpbn_bind_vals/3]).
:- use_module(library('clpbn/connected'),
[influences/3]).
:- dynamic gibbs_params/3.
:- dynamic explicit/1.
% arguments:
%
% list of output variables
% list of attributed variables
%
gibbs(LVs,Vs0,AllDiffs) :-
init_gibbs_solver(LVs, Vs0, AllDiffs, Vs),
run_gibbs_solver(LVs, LPs, Vs),
clpbn_bind_vals(LVs,LPs,AllDiffs),
clean_up.
init_gibbs_solver(GoalVs, Vs0, _, Vs) :-
clean_up,
term_variables(GoalVs, LVs),
check_for_hidden_vars(Vs0, Vs0, Vs1),
influences(Vs1, LVs, Vs2),
sort(Vs2,Vs).
run_gibbs_solver(LVs, LPs, Vs) :-
initialise(Vs, Graph, LVs, OutputVars, VarOrder),
process(VarOrder, Graph, OutputVars, Estimates),
sum_up_all(Estimates, LPs),
clean_up.
initialise(LVs, Graph, GVs, OutputVars, VarOrder) :-
init_keys(Keys0),
foldl2(gen_key, LVs, 0, VLen, Keys0, Keys),
functor(Graph,graph,VLen),
graph_representation(LVs, Graph, 0, Keys, TGraph),
compile_graph(Graph),
topsort(TGraph, VarOrder),
%writeln(TGraph:VarOrder),
% show_sorted(VarOrder, Graph),
add_all_output_vars(GVs, Keys, OutputVars).
init_keys(Keys0) :-
rb_new(Keys0).
gen_key(V, I0, I0, Keys0, Keys0) :-
clpbn:get_atts(V,[evidence(_)]), !.
gen_key(V, I0, I, Keys0, Keys) :-
I is I0+1,
rb_insert(Keys0,V,I,Keys).
graph_representation([],_,_,_,[]).
graph_representation([V|Vs], Graph, I0, Keys, TGraph) :-
clpbn:get_atts(V,[evidence(_)]), !,
clpbn:get_atts(V, [dist(Id,Parents)]),
get_possibly_deterministic_dist_matrix(Id, Parents, _, Vals, Table),
maplist(get_size, Parents, Szs),
length(Vals,Sz),
project_evidence_out([V|Parents],[V|Parents],Table,[Sz|Szs],Variables,NewTable),
% all variables are parents
maplist( propagate2parent(NewTable, Variables, Graph, Keys), Variables),
graph_representation(Vs, Graph, I0, Keys, TGraph).
graph_representation([V|Vs], Graph, I0, Keys, [I-IParents|TGraph]) :-
I is I0+1,
clpbn:get_atts(V, [dist(Id,Parents)]),
get_possibly_deterministic_dist_matrix(Id, Parents, _, Vals, Table),
maplist( get_size, Parents, Szs),
length(Vals,Sz),
project_evidence_out([V|Parents],[V|Parents],Table,[Sz|Szs],Variables,NewTable),
Variables = [V|NewParents],
sort_according_to_indices(NewParents,Keys,SortedNVs,SortedIndices),
reorder_CPT(Variables,NewTable,[V|SortedNVs],NewTable2,_),
add2graph(V, Vals, NewTable2, SortedIndices, Graph, Keys),
maplist( propagate2parent(NewTable, Variables, Graph,Keys), NewParents),
maplist(parent_index(Keys), NewParents, IVariables0),
sort(IVariables0, IParents),
arg(I, Graph, var(_,_,_,_,_,_,_,NewTable2,SortedIndices)),
graph_representation(Vs, Graph, I, Keys, TGraph).
write_pars([]).
write_pars([V|Parents]) :-
clpbn:get_atts(V, [key(K),dist(I,_)]),write(K:I),nl,
write_pars(Parents).
get_size(V, Sz) :-
clpbn:get_atts(V, [dist(Id,_)]),
get_dist_domain_size(Id, Sz).
parent_index(Keys, V, I) :-
rb_lookup(V, I, Keys).
%
% first, remove nodes that have evidence from tables.
%
project_evidence_out([],Deps,Table,_,Deps,Table).
project_evidence_out([V|Parents],Deps,Table,Szs,NewDeps,NewTable) :-
clpbn:get_atts(V,[evidence(_)]), !,
project_from_CPT(V,tab(Table,Deps,Szs),tab(ITable,IDeps,ISzs)),
project_evidence_out(Parents,IDeps,ITable,ISzs,NewDeps,NewTable).
project_evidence_out([_Par|Parents],Deps,Table,Szs,NewDeps,NewTable) :-
project_evidence_out(Parents,Deps,Table,Szs,NewDeps,NewTable).
propagate2parent(Table, Variables, Graph, Keys, V) :-
delete(Variables,V,NVs),
sort_according_to_indices(NVs,Keys,SortedNVs,SortedIndices),
reorder_CPT(Variables,Table,[V|SortedNVs],NewTable,_),
add2graph(V, _, NewTable, SortedIndices, Graph, Keys).
add2graph(V, Vals, Table, IParents, Graph, Keys) :-
rb_lookup(V, Index, Keys),
(var(Vals) -> true ; length(Vals,Sz)),
arg(Index, Graph, var(V,Index,_,Vals,Sz,VarSlot,_,_,_)),
member(tabular(Table,Index,IParents), VarSlot), !.
sort_according_to_indices(NVs,Keys,SortedNVs,SortedIndices) :-
maplist(var2index(Keys), NVs, ToSort),
keysort(ToSort, Sorted),
maplist(split_parent, Sorted, SortedNVs,SortedIndices).
split_parent(I-V, V, I).
var2index(Keys, V, I-V) :-
rb_lookup(V, I, Keys).
%
% This is the really cool bit.
%
compile_graph(Graph) :-
Graph =.. [_|VarsInfo],
maplist( compile_var(Graph), VarsInfo).
compile_var(Graph, var(_,I,_,Vals,Sz,VarSlot,Parents,_,_)) :-
foldl2( fetch_parent(Graph), VarSlot, [], Parents, [], Sizes),
foldl( mult, Sizes, 1, TotSize),
compile_var(TotSize,I,Vals,Sz,VarSlot,Parents,Sizes,Graph).
fetch_parent(Graph, tabular(_,_,Ps), Parents0, ParentsF, Sizes0, SizesF) :-
foldl2( merge_these_parents(Graph), Ps, Parents0, ParentsF, Sizes0, SizesF).
merge_these_parents(_Graph, I,Parents0,Parents0,Sizes0,Sizes0) :-
member(I,Parents0), !.
merge_these_parents(Graph, I, Parents0,ParentsF,Sizes0,SizesF) :-
arg(I,Graph,var(_,I,_,Vals,_,_,_,_,_)),
length(Vals, Sz),
add_parent(Parents0,I,ParentsF,Sizes0,Sz,SizesF).
add_parent([],I,[I],[],Sz,[Sz]).
add_parent([P|Parents0],I,[I,P|Parents0],Sizes0,Sz,[Sz|Sizes0]) :-
P > I, !.
add_parent([P|Parents0],I,[P|ParentsI],[S|Sizes0],Sz,[S|SizesI]) :-
add_parent(Parents0,I,ParentsI,Sizes0,Sz,SizesI).
mult(Sz, Mult0, Mult) :-
Mult is Sz*Mult0.
% compile node as set of facts, faster execution
compile_var(TotSize,I,_Vals,Sz,CPTs,Parents,_Sizes,Graph) :-
TotSize < 1024*64, TotSize > 0, !,
multiply_all(I,Parents,CPTs,Sz,Graph).
% do it dynamically
compile_var(_,_,_,_,_,_,_,_).
multiply_all(I,Parents,CPTs,Sz,Graph) :-
maplist( markov_blanket_instance(Graph), Parents, Values),
(
multiply_all(CPTs,Graph,Probs)
->
store_mblanket(I,Values,Probs)
;
throw(error(domain_error(bayesian_domain),gibbs_cpt(I,Parents,Values,Sz)))
),
fail.
multiply_all(I,_,_,_,_) :-
assert(explicit(I)).
% note: what matters is how this predicate instantiates the temp
% slot in the graph!
markov_blanket_instance(Graph, I, Pos) :-
arg(I, Graph, var(_,I,Pos,Vals,_,_,_,_,_)),
fetch_val(Vals, 0, Pos).
% backtrack through every value in domain
%
fetch_val([_|_],Pos,Pos).
fetch_val([_|Vals],I0,Pos) :-
I is I0+1,
fetch_val(Vals,I,Pos).
multiply_all([tabular(Table,_,Parents)|CPTs], Graph, LProbs) :-
maplist( fetch_parent(Graph), Parents, Vals),
column_from_possibly_deterministic_CPT(Table, Vals, Probs0),
foldl( multiply_more(Graph), CPTs, Probs0, Probs1),
normalise_possibly_deterministic_CPT(Probs1, Probs),
list_from_CPT(Probs, LProbs0),
foldl( accumulate_up, LProbs0, LProbs, 0.0, _).
fetch_parent(Graph, P, Val) :-
arg(P,Graph,var(_,_,Val,_,_,_,_,_,_)).
multiply_more(Graph, tabular(Table,_,Parents), Probs0, Probs) :-
maplist( fetch_parent(Graph), Parents, Vals),
column_from_possibly_deterministic_CPT(Table, Vals, P0),
multiply_possibly_deterministic_factors(Probs0, P0, Probs).
accumulate_up(P, P1, P0, P1) :-
P1 is P0+P.
store_mblanket(I,Values,Probs) :-
recordz(mblanket,m(I,Values,Probs),_).
add_all_output_vars([], _, []).
add_all_output_vars([Vs|LVs], Keys, [Is|OutputVars]) :-
add_output_vars(Vs, Keys, Is),
add_all_output_vars(LVs, Keys, OutputVars).
add_output_vars([], _, []).
add_output_vars([V|LVs], Keys, [I|OutputVars]) :-
rb_lookup(V, I, Keys),
add_output_vars(LVs, Keys, OutputVars).
process(VarOrder, Graph, OutputVars, Estimates) :-
gibbs_params(NChains,BurnIn,NSamples),
functor(Graph,_,Len),
init_chains(NChains,VarOrder,Len,Graph,Chains0),
init_estimates(NChains,OutputVars,Graph,Est0),
process_chains(BurnIn,VarOrder,BurnedIn,Chains0,Graph,Len,Est0,_),
process_chains(NSamples,VarOrder,_,BurnedIn,Graph,Len,Est0,Estimates).
%
% I use an uniform distribution to generate the initial sample.
%
init_chains(0,_,_,_,[]) :- !.
init_chains(I,VarOrder,Len,Graph,[Chain|Chains]) :-
init_chain(VarOrder,Len,Graph,Chain),
I1 is I-1,
init_chains(I1,VarOrder,Len,Graph,Chains).
init_chain(VarOrder,Len,Graph,Chain) :-
functor(Chain,sample,Len),
maplist( gen_sample(Graph,Chain), VarOrder).
gen_sample(Graph, Chain, I) :-
arg(I, Graph, var(_,I,_,_,Sz,_,_,_,_)),
Pos is integer(random*Sz),
arg(I, Chain, Pos).
init_estimates(0,_,_,[]) :- !.
init_estimates(NChains,OutputVars,Graph,[Est|Est0]) :-
NChainsI is NChains-1,
init_estimate_all_outvs(OutputVars,Graph,Est),
init_estimates(NChainsI,OutputVars,Graph,Est0).
init_estimate_all_outvs([],_,[]).
init_estimate_all_outvs([Vs|OutputVars],Graph,[E|Est]) :-
init_estimate(Vs, Graph, E),
init_estimate_all_outvs(OutputVars,Graph,Est).
init_estimate([],_,[]).
init_estimate([V],Graph,[I|E0L]) :- !,
arg(V,Graph,var(_,I,_,_,Sz,_,_,_,_)),
gen_e0(Sz,E0L).
init_estimate(Vs,Graph,me(Is,Mults,Es)) :-
generate_est_mults(Vs, Is, Graph, Mults, Sz),
gen_e0(Sz,Es).
generate_est_mults([], [], _, [], 1).
generate_est_mults([V|Vs], [I|Is], Graph, [M0|Mults], M) :-
arg(V,Graph,var(_,I,_,_,Sz,_,_,_,_)),
generate_est_mults(Vs, Is, Graph, Mults, M0),
M is M0*Sz.
gen_e0(0,[]) :- !.
gen_e0(Sz,[0|E0L]) :-
Sz1 is Sz-1,
gen_e0(Sz1,E0L).
process_chains(0,_,F,F,_,_,Est,Est) :- !.
process_chains(ToDo,VarOrder,End,Start,Graph,Len,Est0,Estf) :-
%format('ToDo = ~d~n',[ToDo]),
maplist( process_chain(VarOrder, Graph, Len), Start, Int, Est0, Esti),
% (ToDo mod 100 =:= 1 -> statistics,maplist(cvt2prob, Esti, Probs), Int =[S|_], format('did ~d: ~w~n ~w~n',[ToDo,Probs,S]) ; true),
ToDo1 is ToDo-1,
process_chains(ToDo1,VarOrder,End,Int,Graph,Len,Esti,Estf).
process_chain(VarOrder, Graph, SampLen, Sample0, Sample, E0, Ef) :-
functor(Sample,sample,SampLen),
maplist(do_var(Graph, Sample0, Sample), VarOrder),
% format('Sample = ~w~n',[Sample]),
maplist(update_estimate(Sample), E0, Ef).
do_var(Graph, Sample0, Sample, I) :-
arg(I,Graph,var(_,_,_,_,_,CPTs,Parents,_,_)),
maplist( fetch_parent(Sample0, Sample), Parents, Bindings),
( explicit(I) ->
recorded(mblanket,m(I,Bindings,Vals),_)
;
multiply_all_in_context(Parents,Bindings,CPTs,Graph,Vals)
),
X is random,
pick_new_value(Vals,X,0,Val),
arg(I,Sample,Val).
multiply_all_in_context(Parents,Args,CPTs,Graph,Vals) :-
maplist( set_pos(Graph), Parents, Args),
multiply_all(CPTs,Graph,Vals),
assert(mall(Vals)), fail.
multiply_all_in_context(_,_,_,_,Vals) :-
retract(mall(Vals)).
set_pos(Graph, I, Pos) :-
arg(I,Graph,var(_,I,Pos,_,_,_,_,_,_)).
fetch_parent(_Sample0, Sample, P, VP) :-
arg(P, Sample,VP),
nonvar(VP), !.
fetch_parent(Sample0, _Sample, P, VP) :-
arg(P, Sample0, VP).
pick_new_value([V|Vals],X,I0,Val) :-
( X < V ->
Val = I0
;
I is I0+1,
pick_new_value(Vals,X,I,Val)
).
update_estimate(Sample, [I|E],[I|NE]) :-
arg(I,Sample,V),
update_estimate_for_var(V,E,NE).
update_estimate(Sample,me(Is,Mult,E),me(Is,Mult,NE)) :-
get_estimate_pos(Is, Sample, Mult, 0, V),
update_estimate_for_var(V,E,NE).
get_estimate_pos([], _, [], V, V).
get_estimate_pos([I|Is], Sample, [M|Mult], V0, V) :-
arg(I,Sample,VV),
VI is VV*M+V0,
get_estimate_pos(Is, Sample, Mult, VI, V).
update_estimate_for_var(V0,[X|T],[X1|NT]) :-
(V0 == 0 ->
X1 is X+1,
NT = T
;
V1 is V0-1,
X1 = X,
update_estimate_for_var(V1,T,NT)
).
check_if_gibbs_done(Var) :-
get_atts(Var, [dist(_)]), !.
clean_up :-
eraseall(mblanket),
fail.
clean_up :-
retractall(explicit(_)),
fail.
clean_up.
gibbs_params(5,100,1000).
cvt2prob([[_|E]], Ps) :-
foldl(sum_all, E, 0, Sum),
maplist( do_prob(Sum), E, Ps).
sum_all(E, S0, Sum) :-
Sum is S0+E.
do_prob(Sum, E, P) :-
P is E/Sum.
show_sorted([], _) :- nl.
show_sorted([I|VarOrder], Graph) :-
arg(I,Graph,var(V,I,_,_,_,_,_,_,_)),
clpbn:get_atts(V,[key(K)]),
format('~w ',[K]),
show_sorted(VarOrder, Graph).
sum_up_all([[]|_], []).
sum_up_all([[C|MoreC]|Chains], [Dist|Dists]) :-
maplist( extract_sum, Chains, CurrentChains, LeftChains),
sum_up([C|CurrentChains], Dist),
sum_up_all([MoreC|LeftChains], Dists).
extract_sum([C|Chains], C, Chains).
sum_up([[_|Counts]|Chains], Dist) :-
add_up(Counts,Chains, Add),
normalise(Add, Dist).
sum_up([me(_,_,Counts)|Chains], Dist) :-
add_up_mes(Counts,Chains, Add),
normalise(Add, Dist).
add_up(Counts,[],Counts).
add_up(Counts,[[_|Cs]|Chains], Add) :-
maplist(sum, Counts, Cs, NCounts),
add_up(NCounts, Chains, Add).
add_up_mes(Counts,[],Counts).
add_up_mes(Counts,[me(_,_,Cs)|Chains], Add) :-
maplist( sum_list, Counts, Cs, NCounts),
add_up_mes(NCounts, Chains, Add).
sum(Count, C, NC) :-
NC is Count+C.
normalise(Add, Dist) :-
sum_list(Add, Sum),
maplist(divide(Sum), Add, Dist).
divide(Sum, C, P) :-
P is C/Sum.
| Prolog | 4 | ryandesign/yap | packages/CLPBN/clpbn/gibbs.yap | [
"Artistic-1.0-Perl",
"ClArtistic"
] |
!include "${NSISDIR}\Contrib\Modern UI 2\MUI2.nsh" | NSIS | 0 | etaletai13/nwjs-builder-phoenix | assets/nsis/Include/MUI2.nsh | [
"MIT"
] |
--TEST--
Bug #62991 (Segfault with generator and closure)
--FILE--
<?php
function test( array $array )
{
$closure = function() use ( $array ) {
print_r( $array );
yield "hi";
};
return $closure();
}
function test2( array $array )
{
$closure = function() use ( $array ) {
print_r( $array );
yield "hi";
};
return $closure; // if you return the $closure and call it outside this function it works.
}
$generator = test(array( 1, 2, 3 ) );
foreach($generator as $something) {
}
$generator = test2(array( 1, 2, 3 ) );
foreach($generator() as $something) {
}
$generator = test2(array( 1, 2, 3 ) );
echo "okey\n";
?>
--EXPECT--
Array
(
[0] => 1
[1] => 2
[2] => 3
)
Array
(
[0] => 1
[1] => 2
[2] => 3
)
okey
| PHP | 4 | guomoumou123/php5.5.10 | Zend/tests/bug62991.phpt | [
"PHP-3.01"
] |
/*
* 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.
*/
grammar Cql;
options {
language = Java;
}
import Parser,Lexer;
@header {
package org.apache.cassandra.cql3;
import java.util.Collections;
import java.util.EnumSet;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.cassandra.auth.*;
import org.apache.cassandra.cql3.conditions.*;
import org.apache.cassandra.cql3.functions.*;
import org.apache.cassandra.cql3.restrictions.CustomIndexExpression;
import org.apache.cassandra.cql3.selection.*;
import org.apache.cassandra.cql3.statements.*;
import org.apache.cassandra.cql3.statements.schema.*;
import org.apache.cassandra.exceptions.ConfigurationException;
import org.apache.cassandra.exceptions.InvalidRequestException;
import org.apache.cassandra.exceptions.SyntaxException;
import org.apache.cassandra.schema.ColumnMetadata;
import org.apache.cassandra.utils.Pair;
}
@members {
public void addErrorListener(ErrorListener listener)
{
gParser.addErrorListener(listener);
}
public void removeErrorListener(ErrorListener listener)
{
gParser.removeErrorListener(listener);
}
public void displayRecognitionError(String[] tokenNames, RecognitionException e)
{
gParser.displayRecognitionError(tokenNames, e);
}
protected void addRecognitionError(String msg)
{
gParser.addRecognitionError(msg);
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Recovery methods are overridden to avoid wasting work on recovering from errors when the result will be
// ignored anyway.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@Override
protected Object recoverFromMismatchedToken(IntStream input, int ttype, BitSet follow) throws RecognitionException
{
throw new MismatchedTokenException(ttype, input);
}
@Override
public void recover(IntStream input, RecognitionException re)
{
// Do nothing.
}
}
@lexer::header {
package org.apache.cassandra.cql3;
}
@lexer::members {
List<Token> tokens = new ArrayList<Token>();
public void emit(Token token)
{
state.token = token;
tokens.add(token);
}
public Token nextToken()
{
super.nextToken();
if (tokens.size() == 0)
return new CommonToken(Token.EOF);
return tokens.remove(0);
}
private final List<ErrorListener> listeners = new ArrayList<ErrorListener>();
public void addErrorListener(ErrorListener listener)
{
this.listeners.add(listener);
}
public void removeErrorListener(ErrorListener listener)
{
this.listeners.remove(listener);
}
public void displayRecognitionError(String[] tokenNames, RecognitionException e)
{
for (int i = 0, m = listeners.size(); i < m; i++)
listeners.get(i).syntaxError(this, tokenNames, e);
}
}
query returns [CQLStatement.Raw stmnt]
: st=cqlStatement (';')* EOF { $stmnt = st; }
;
| G-code | 3 | openrefactory/cassandra | src/antlr/Cql.g | [
"Apache-2.0"
] |
FROM node:current
RUN npm install -g @microsoft/rush
RUN git clone --depth 1 https://github.com/Azure/azure-sdk-for-js.git /azure-sdk
WORKDIR /azure-sdk
RUN rush update
WORKDIR /azure-sdk/sdk/core/core-http
# Sync up all TS versions used internally so they're all linked from a known location
RUN rush add -p "[email protected]" --dev -m
# Relink installed TSes to built TS
WORKDIR /azure-sdk/common/temp/node_modules/.pnpm/registry.npmjs.org/typescript/3.5.1/node_modules
RUN rm -rf typescript
COPY --from=typescript/typescript /typescript/typescript-*.tgz /typescript.tgz
RUN mkdir /typescript
RUN tar -xzvf /typescript.tgz -C /typescript
RUN ln -s /typescript/package ./typescript
WORKDIR /azure-sdk
ENTRYPOINT [ "rush" ]
CMD [ "rebuild", "--parallelism", "1" ] | Dockerfile | 3 | monciego/TypeScript | tests/cases/docker/azure-sdk/Dockerfile | [
"Apache-2.0"
] |
/*
* Copyright (c) 2020, Andreas Kling <[email protected]>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibWeb/HTML/HTMLElement.h>
namespace Web::HTML {
class HTMLTableCellElement final : public HTMLElement {
public:
using WrapperType = Bindings::HTMLTableCellElementWrapper;
HTMLTableCellElement(DOM::Document&, QualifiedName);
virtual ~HTMLTableCellElement() override;
private:
virtual void apply_presentational_hints(CSS::StyleProperties&) const override;
};
}
| C | 3 | r00ster91/serenity | Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.h | [
"BSD-2-Clause"
] |
export { default } from './Hidden';
export * from './Hidden';
| TypeScript | 2 | omidtajik/material-ui | packages/material-ui/src/Hidden/index.d.ts | [
"MIT"
] |
import path from "path"
export function fixedPagePath(pagePath: string): string {
return pagePath === `/` ? `index` : pagePath
}
export function generatePageDataPath(
publicDir: string,
pagePath: string
): string {
return path.join(
publicDir,
`page-data`,
fixedPagePath(pagePath),
`page-data.json`
)
}
| TypeScript | 4 | waltercruz/gatsby | packages/gatsby-core-utils/src/page-data.ts | [
"MIT"
] |
frequency,raw
20.00,-3.11
20.20,-3.11
20.40,-3.12
20.61,-3.12
20.81,-3.13
21.02,-3.13
21.23,-3.14
21.44,-3.15
21.66,-3.16
21.87,-3.17
22.09,-3.17
22.31,-3.17
22.54,-3.16
22.76,-3.16
22.99,-3.15
23.22,-3.11
23.45,-3.07
23.69,-3.03
23.92,-2.99
24.16,-2.94
24.40,-2.90
24.65,-2.84
24.89,-2.80
25.14,-2.75
25.39,-2.71
25.65,-2.67
25.91,-2.63
26.16,-2.59
26.43,-2.56
26.69,-2.52
26.96,-2.49
27.23,-2.41
27.50,-2.32
27.77,-2.23
28.05,-2.13
28.33,-2.01
28.62,-1.89
28.90,-1.77
29.19,-1.67
29.48,-1.59
29.78,-1.50
30.08,-1.41
30.38,-1.31
30.68,-1.22
30.99,-1.12
31.30,-1.02
31.61,-0.93
31.93,-0.83
32.24,-0.79
32.57,-0.76
32.89,-0.74
33.22,-0.74
33.55,-0.75
33.89,-0.75
34.23,-0.73
34.57,-0.71
34.92,-0.68
35.27,-0.64
35.62,-0.58
35.97,-0.52
36.33,-0.48
36.70,-0.44
37.06,-0.38
37.43,-0.25
37.81,-0.13
38.19,-0.03
38.57,0.05
38.95,0.14
39.34,0.20
39.74,0.27
40.14,0.30
40.54,0.28
40.94,0.26
41.35,0.25
41.76,0.23
42.18,0.22
42.60,0.20
43.03,0.19
43.46,0.19
43.90,0.18
44.33,0.18
44.78,0.18
45.23,0.17
45.68,0.17
46.13,0.17
46.60,0.20
47.06,0.22
47.53,0.24
48.01,0.27
48.49,0.27
48.97,0.27
49.46,0.27
49.96,0.28
50.46,0.28
50.96,0.27
51.47,0.26
51.99,0.26
52.51,0.25
53.03,0.24
53.56,0.24
54.10,0.23
54.64,0.22
55.18,0.22
55.74,0.21
56.29,0.20
56.86,0.19
57.42,0.20
58.00,0.20
58.58,0.21
59.16,0.20
59.76,0.15
60.35,0.14
60.96,0.14
61.57,0.12
62.18,0.10
62.80,0.06
63.43,0.03
64.07,0.00
64.71,0.00
65.35,0.01
66.01,0.02
66.67,0.05
67.33,0.06
68.01,0.07
68.69,0.07
69.37,0.07
70.07,0.07
70.77,0.07
71.48,0.07
72.19,0.06
72.91,0.04
73.64,0.04
74.38,0.01
75.12,-0.04
75.87,-0.04
76.63,-0.06
77.40,-0.07
78.17,-0.06
78.95,-0.08
79.74,-0.09
80.54,-0.10
81.35,-0.10
82.16,-0.09
82.98,-0.08
83.81,-0.07
84.65,-0.06
85.50,-0.06
86.35,-0.06
87.22,-0.06
88.09,-0.03
88.97,-0.02
89.86,-0.02
90.76,-0.02
91.66,-0.02
92.58,-0.02
93.51,-0.02
94.44,-0.02
95.39,-0.02
96.34,-0.02
97.30,-0.03
98.28,-0.04
99.26,-0.06
100.25,-0.09
101.25,-0.14
102.27,-0.15
103.29,-0.17
104.32,-0.18
105.37,-0.20
106.42,-0.22
107.48,-0.24
108.56,-0.26
109.64,-0.28
110.74,-0.30
111.85,-0.32
112.97,-0.33
114.10,-0.34
115.24,-0.34
116.39,-0.34
117.55,-0.35
118.73,-0.36
119.92,-0.36
121.12,-0.32
122.33,-0.31
123.55,-0.30
124.79,-0.27
126.03,-0.25
127.29,-0.24
128.57,-0.24
129.85,-0.25
131.15,-0.26
132.46,-0.26
133.79,-0.27
135.12,-0.25
136.48,-0.24
137.84,-0.24
139.22,-0.26
140.61,-0.27
142.02,-0.24
143.44,-0.24
144.87,-0.25
146.32,-0.27
147.78,-0.27
149.26,-0.25
150.75,-0.24
152.26,-0.26
153.78,-0.28
155.32,-0.30
156.88,-0.30
158.44,-0.33
160.03,-0.34
161.63,-0.34
163.24,-0.33
164.88,-0.31
166.53,-0.29
168.19,-0.27
169.87,-0.26
171.57,-0.27
173.29,-0.26
175.02,-0.21
176.77,-0.22
178.54,-0.22
180.32,-0.23
182.13,-0.22
183.95,-0.20
185.79,-0.19
187.65,-0.17
189.52,-0.16
191.42,-0.15
193.33,-0.13
195.27,-0.11
197.22,-0.10
199.19,-0.09
201.18,-0.08
203.19,-0.08
205.23,-0.07
207.28,-0.07
209.35,-0.08
211.44,-0.11
213.56,-0.11
215.69,-0.13
217.85,-0.15
220.03,-0.16
222.23,-0.16
224.45,-0.16
226.70,-0.16
228.96,-0.19
231.25,-0.22
233.57,-0.22
235.90,-0.20
238.26,-0.19
240.64,-0.16
243.05,-0.15
245.48,-0.13
247.93,-0.10
250.41,-0.11
252.92,-0.10
255.45,-0.09
258.00,-0.06
260.58,-0.04
263.19,-0.04
265.82,-0.06
268.48,-0.08
271.16,-0.08
273.87,-0.08
276.61,-0.08
279.38,-0.07
282.17,-0.05
284.99,-0.05
287.84,-0.07
290.72,-0.06
293.63,-0.04
296.57,-0.03
299.53,-0.07
302.53,-0.06
305.55,-0.06
308.61,-0.06
311.69,-0.05
314.81,-0.07
317.96,-0.08
321.14,-0.08
324.35,-0.13
327.59,-0.14
330.87,-0.15
334.18,-0.15
337.52,-0.15
340.90,-0.17
344.30,-0.21
347.75,-0.22
351.23,-0.25
354.74,-0.28
358.28,-0.31
361.87,-0.31
365.49,-0.30
369.14,-0.30
372.83,-0.29
376.56,-0.30
380.33,-0.31
384.13,-0.31
387.97,-0.30
391.85,-0.31
395.77,-0.32
399.73,-0.36
403.72,-0.41
407.76,-0.44
411.84,-0.46
415.96,-0.49
420.12,-0.51
424.32,-0.52
428.56,-0.51
432.85,-0.49
437.18,-0.46
441.55,-0.46
445.96,-0.41
450.42,-0.34
454.93,-0.24
459.48,-0.16
464.07,-0.06
468.71,0.02
473.40,0.09
478.13,0.17
482.91,0.22
487.74,0.25
492.62,0.29
497.55,0.33
502.52,0.35
507.55,0.36
512.62,0.35
517.75,0.33
522.93,0.33
528.16,0.31
533.44,0.25
538.77,0.16
544.16,0.07
549.60,-0.02
555.10,-0.06
560.65,-0.14
566.25,-0.24
571.92,-0.32
577.64,-0.35
583.41,-0.39
589.25,-0.41
595.14,-0.40
601.09,-0.42
607.10,-0.43
613.17,-0.35
619.30,-0.32
625.50,-0.29
631.75,-0.27
638.07,-0.21
644.45,-0.15
650.89,-0.09
657.40,-0.00
663.98,0.06
670.62,0.09
677.32,0.11
684.10,0.14
690.94,0.15
697.85,0.19
704.83,0.21
711.87,0.25
718.99,0.25
726.18,0.21
733.44,0.16
740.78,0.10
748.19,0.07
755.67,0.05
763.23,0.01
770.86,-0.03
778.57,0.01
786.35,0.04
794.22,0.06
802.16,0.08
810.18,0.13
818.28,0.17
826.46,0.18
834.73,0.16
843.08,0.14
851.51,0.14
860.02,0.10
868.62,0.08
877.31,0.07
886.08,0.02
894.94,-0.02
903.89,-0.04
912.93,-0.09
922.06,-0.12
931.28,-0.14
940.59,-0.12
950.00,-0.08
959.50,-0.01
969.09,0.04
978.78,0.05
988.57,0.03
998.46,0.01
1008.44,-0.06
1018.53,-0.07
1028.71,-0.05
1039.00,-0.09
1049.39,-0.17
1059.88,-0.21
1070.48,-0.21
1081.19,-0.19
1092.00,-0.20
1102.92,-0.14
1113.95,-0.07
1125.09,-0.06
1136.34,-0.01
1147.70,0.04
1159.18,0.08
1170.77,0.10
1182.48,0.08
1194.30,0.06
1206.25,0.06
1218.31,0.09
1230.49,0.13
1242.80,0.16
1255.22,0.23
1267.78,0.27
1280.45,0.33
1293.26,0.41
1306.19,0.54
1319.25,0.66
1332.45,0.83
1345.77,0.98
1359.23,1.05
1372.82,1.07
1386.55,1.07
1400.41,1.07
1414.42,1.05
1428.56,1.09
1442.85,1.16
1457.28,1.16
1471.85,1.15
1486.57,1.17
1501.43,1.17
1516.45,1.22
1531.61,1.26
1546.93,1.28
1562.40,1.33
1578.02,1.40
1593.80,1.49
1609.74,1.59
1625.84,1.67
1642.10,1.68
1658.52,1.66
1675.10,1.71
1691.85,1.75
1708.77,1.73
1725.86,1.77
1743.12,1.86
1760.55,1.94
1778.15,2.06
1795.94,2.20
1813.90,2.34
1832.03,2.48
1850.36,2.63
1868.86,2.77
1887.55,2.88
1906.42,2.97
1925.49,3.03
1944.74,3.10
1964.19,3.22
1983.83,3.37
2003.67,3.51
2023.71,3.69
2043.94,3.95
2064.38,4.13
2085.03,4.27
2105.88,4.44
2126.94,4.61
2148.20,4.80
2169.69,4.91
2191.38,4.94
2213.30,4.99
2235.43,5.02
2257.78,5.07
2280.36,5.11
2303.17,5.16
2326.20,5.21
2349.46,5.22
2372.95,5.27
2396.68,5.28
2420.65,5.26
2444.86,5.24
2469.31,5.24
2494.00,5.23
2518.94,5.22
2544.13,5.22
2569.57,5.20
2595.27,5.15
2621.22,5.13
2647.43,5.13
2673.90,5.16
2700.64,5.17
2727.65,5.20
2754.93,5.30
2782.48,5.39
2810.30,5.49
2838.40,5.56
2866.79,5.48
2895.46,5.37
2924.41,5.25
2953.65,5.18
2983.19,5.20
3013.02,5.23
3043.15,5.24
3073.58,5.30
3104.32,5.35
3135.36,5.43
3166.72,5.47
3198.38,5.47
3230.37,5.53
3262.67,5.52
3295.30,5.40
3328.25,5.32
3361.53,5.26
3395.15,5.31
3429.10,5.35
3463.39,5.32
3498.03,5.36
3533.01,5.40
3568.34,5.47
3604.02,5.40
3640.06,5.38
3676.46,5.35
3713.22,5.34
3750.36,5.23
3787.86,5.07
3825.74,4.94
3864.00,4.84
3902.64,4.75
3941.66,4.77
3981.08,4.78
4020.89,4.68
4061.10,4.49
4101.71,4.19
4142.73,3.89
4184.15,3.68
4226.00,3.47
4268.26,3.39
4310.94,3.20
4354.05,2.99
4397.59,2.82
4441.56,2.86
4485.98,2.96
4530.84,3.06
4576.15,3.03
4621.91,2.99
4668.13,2.88
4714.81,2.81
4761.96,2.63
4809.58,2.42
4857.67,2.21
4906.25,2.07
4955.31,1.92
5004.87,1.88
5054.91,1.92
5105.46,1.67
5156.52,1.37
5208.08,1.06
5260.16,0.80
5312.77,0.64
5365.89,0.43
5419.55,0.05
5473.75,-0.32
5528.49,-0.37
5583.77,-0.27
5639.61,-0.27
5696.00,-0.29
5752.96,-0.13
5810.49,-0.33
5868.60,-0.78
5927.28,-1.01
5986.56,-1.09
6046.42,-0.97
6106.89,-0.70
6167.96,-0.54
6229.64,-0.34
6291.93,-0.11
6354.85,0.06
6418.40,0.05
6482.58,-0.13
6547.41,-0.15
6612.88,-0.18
6679.01,-0.30
6745.80,-0.38
6813.26,-0.40
6881.39,-0.46
6950.21,-0.54
7019.71,-0.67
7089.91,-0.93
7160.81,-1.29
7232.41,-1.71
7304.74,-2.20
7377.79,-2.75
7451.56,-3.52
7526.08,-4.21
7601.34,-4.77
7677.35,-5.22
7754.13,-5.48
7831.67,-5.76
7909.98,-6.10
7989.08,-6.37
8068.98,-6.61
8149.67,-6.80
8231.16,-6.65
8313.47,-6.38
8396.61,-6.52
8480.57,-6.77
8565.38,-7.20
8651.03,-7.57
8737.54,-7.94
8824.92,-8.19
8913.17,-7.76
9002.30,-7.50
9092.32,-6.56
9183.25,-5.49
9275.08,-4.40
9367.83,-3.10
9461.51,-1.94
9556.12,-1.20
9651.68,-0.70
9748.20,-0.62
9845.68,-1.17
9944.14,-1.88
10043.58,-3.05
10144.02,-3.94
10245.46,-4.76
10347.91,-5.92
10451.39,-6.59
10555.91,-7.02
10661.46,-7.64
10768.08,-7.81
10875.76,-8.07
10984.52,-7.66
11094.36,-7.03
11205.31,-6.46
11317.36,-6.06
11430.53,-5.27
11544.84,-4.34
11660.29,-3.54
11776.89,-2.72
11894.66,-2.02
12013.60,-2.17
12133.74,-2.54
12255.08,-2.69
12377.63,-3.80
12501.41,-4.98
12626.42,-5.72
12752.68,-6.36
12880.21,-7.00
13009.01,-7.21
13139.10,-6.28
13270.49,-6.10
13403.20,-6.60
13537.23,-7.15
13672.60,-7.04
13809.33,-6.91
13947.42,-6.50
14086.90,-6.15
14227.77,-6.08
14370.04,-6.04
14513.74,-5.94
14658.88,-6.00
14805.47,-6.06
14953.52,-6.03
15103.06,-5.99
15254.09,-6.17
15406.63,-6.28
15560.70,-6.20
15716.30,-5.54
15873.47,-4.76
16032.20,-3.84
16192.52,-3.61
16354.45,-3.69
16517.99,-3.64
16683.17,-3.70
16850.01,-4.15
17018.51,-4.37
17188.69,-4.31
17360.58,-4.24
17534.18,-4.10
17709.53,-3.78
17886.62,-3.39
18065.49,-2.89
18246.14,-2.05
18428.60,-1.51
18612.89,-1.74
18799.02,-1.87
18987.01,-2.07
19176.88,-2.38
19368.65,-2.68
19562.33,-3.08
19757.96,-2.85
19955.54,-2.79
| CSV | 0 | vinzmc/AutoEq | measurements/innerfidelity/data/onear/Audeze LCD-X/Audeze LCD-X.csv | [
"MIT"
] |
#!/usr/bin/osascript
# Dependency: This script requires Pixelmator Pro to be installed: https://www.pixelmator.com/pro/
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Open Image From Clipboard
# @raycast.mode silent
# @raycast.packageName Pixelmator Pro
# Optional parameters:
# @raycast.icon ./images/pixelmator-pro-2.0.png
# @raycast.author Bryce Carr
# @raycast.authorURL https://github.com/bdcarr
# Documentation:
# @raycast.description Creates a new document in Pixelmator Pro from the image stored in your clipboard.
activate application "Pixelmator Pro"
tell application "Pixelmator Pro" to make document from clipboard
return
| AppleScript | 4 | daviddzhou/script-commands | commands/navigation/open-clipboard-in-pixelmator-pro.applescript | [
"MIT"
] |
%h3 404 Not Found
%hr
%p Page Not Found.
| Scaml | 1 | mohno007/skinny-framework | skinny-blank-app/src/main/webapp/WEB-INF/views/error/404.html.scaml | [
"MIT"
] |
--SET spark.sql.legacy.timeParserPolicy=LEGACY
--IMPORT date.sql
--IMPORT timestamp.sql
| SQL | 1 | akhalymon-cv/spark | sql/core/src/test/resources/sql-tests/inputs/datetime-legacy.sql | [
"Apache-2.0"
] |
$!
$ olddir = f$environment("default")
$ on error then goto End
$!
$ gosub Init
$!
$ call WriteProductDescriptionFile
$ call WriteProductTextFile
$!
$! backup tree
$!
$ backup [-...]*.*;0/excl=([]*.exe,*.obj,*.opt,*.hlp,*.hlb,*.bck,*.com,*.pcsi*) -
libssh2-'versionname''datename'_src.bck/save
$ purge libssh2-'versionname''datename'_src.bck
$!
$! backup examples
$!
$ backup [-.example]*.c;0 libssh2_examples-'versionname''datename'.bck/save
$ dire libssh2_examples-'versionname''datename'.bck
$ purge libssh2_examples-'versionname''datename'.bck
$!
$ set default [-]
$!
$ defdir = f$environment( "default" )
$ thisdev = f$parse(defdir,,,"device","no_conceal")
$ thisdir = f$parse(defdir,,,"directory","no_conceal") - "][" - "][" - "][" - "]["
$!
$ libssh2_kf = thisdev + thisdir
$ libssh2_kf = libssh2_kf - "]" + ".]"
$!
$ set default 'mdir'
$!
$ define/translation_attributes=concealed libssh2_kf 'libssh2_kf'
$!
$ product package libssh2 -
/base='arch' -
/producer=jcb -
/source=[] - ! where to find PDF and PTF
/destination=[] - ! where to put .PCSI file
/material=libssh2_kf:[000000...] - ! where to find product material
/version="''vms_majorv'.''minorv'-''patchv'''datename'" -
/format=sequential
$!
$End:
$!
$ set noon
$ if f$search("*.pcsi$desc;*") .nes. "" then delete *.pcsi$desc;*
$ if f$search("*.pcsi$text;*") .nes. "" then delete *.pcsi$text;*
$ if f$search("libssh2-''versionname'''datename'_src.bck;*") .nes. "" then delete libssh2-'versionname''datename'_src.bck;*
$ if f$search("libssh2_examples-''versionname'''datename'.bck;*") .nes. "" then delete libssh2_examples-'versionname''datename'.bck;*
$!
$ if f$trnlnm("libssh2_kf") .nes. "" then deassign libssh2_kf
$ set default 'olddir'
$!
$exit
$!
$!--------------------------------------------------------------------------------
$!
$Init:
$ set process/parse=extended
$!
$ say = "write sys$output"
$!
$ mdir = f$environment("procedure")
$ mdir = mdir - f$parse(mdir,,,"name") - f$parse(mdir,,,"type") - f$parse(mdir,,,"version")
$!
$ set default 'mdir'
$!
$ pipe search [-.include]*.h libssh2_version_major/nohead | (read sys$input l ; l = f$element(2," ",f$edit(l,"trim,compress")) ; -
define/job majorv &l )
$ pipe search [-.include]*.h libssh2_version_minor/nohead | (read sys$input l ; l = f$element(2," ",f$edit(l,"trim,compress")) ; -
define/job minorv &l )
$ pipe search [-.include]*.h libssh2_version_patch/nohead | (read sys$input l ; l = f$element(2," ",f$edit(l,"trim,compress")) ; -
define/job patchv &l )
$!
$ majorv = f$trnlnm("majorv")
$ minorv = f$integer(f$trnlnm("minorv"))
$ patchv = f$integer( f$trnlnm("patchv"))
$!
$ deassign/job majorv
$ deassign/job minorv
$ deassign/job patchv
$!
$ vms_majorv = f$trnlnm("vms_majorv")
$ if vms_majorv .eqs. "" then vms_majorv = majorv
$!
$ arch = "UNKNOWN"
$ if f$getsyi("arch_type") .eq. 2 then arch = "AXPVMS"
$ if f$getsyi("arch_type") .eq. 3 then arch = "I64VMS"
$!
$ if arch .eqs. "UNKNOWN"
$ then
$ say "Unsupported or unknown architecture, only works on Alpha and Itanium"
$ exit 2
$ endif
$!
$! is this a proper release or a daily snapshot?
$! crummy, but should work.
$!
$ daily = "TRUE"
$ firstdash = f$locate("-",mdir)
$ restdir = f$extract( firstdash + 1, 80, mdir)
$ seconddash = f$locate("-", restdir)
$ if seconddash .ge. f$length( restdir )
$ then
$ daily = "FALSE"
$ datename = "Final"
$ else
$ datename = "D" + f$extract(seconddash+1,8,restdir)
$ endif
$!
$ if daily
$ then
$ productname = "JCB ''arch' LIBSSH2 V''vms_majorv'.''minorv'-''patchv'''datename'"
$ else
$ productname = "JCB ''arch' LIBSSH2 V''vms_majorv'.''minorv'-''patchv'''datename'"
$ endif
$!
$ productfilename = "JCB-''arch'-LIBSSH2-" + f$fao("V!2ZL!2ZL-!2ZL!AS-1", f$integer(vms_majorv),minorv,patchv,datename)
$!
$ versionname = "''vms_majorv'_''minorv'_''patchv'"
$!
$return
$!
$!--------------------------------------------------------------------------------
$!
$WriteProductDescriptionFile: subroutine
$!
$ open/write pd 'productfilename'.PCSI$DESC
$!
$ write pd "product ''productname' full ;"
$ write pd " software DEC ''arch' VMS ;"
$ write pd " if (not <software DEC ''arch' VMS version minimum V8.3>) ;
$ write pd " error NEED_VMS83 ;"
$ write pd " end if ;"
$ write pd " software HP ''arch' SSL version minimum V1.3;"
$ write pd " if (not <software HP ''arch' SSL version minimum V1.3>) ;
$ write pd " error NEED_SSL ;"
$ write pd " end if ;"
$ write pd " execute preconfigure (""set process/parse_type=extended"");"
$ write pd " execute postinstall (""set process/parse_type=extended"","
$ write pd " ""rename pcsi$destination:[gnv]usr.dir usr.DIR"","
$ write pd " ""rename pcsi$destination:[gnv.usr]include.dir include.DIR"","
$ write pd " ""rename pcsi$destination:[gnv.usr.include]libssh2.dir libssh2.DIR"","
$ write pd " ""rename pcsi$destination:[gnv.usr.include.libssh2]libssh2.h libssh2.h"","
$ write pd " ""rename pcsi$destination:[gnv.usr.include.libssh2]libssh2_publickey.h libssh2_publickey.h"","
$ write pd " ""rename pcsi$destination:[gnv.usr.include.libssh2]libssh2_sftp.h libssh2_sftp.h"","
$ write pd " ""rename pcsi$destination:[gnv.usr.include.libssh2]libssh2_config.h libssh2_config.h"","
$ write pd " ""rename pcsi$destination:[gnv.usr]lib.dir lib.DIR"","
$ write pd " ""rename pcsi$destination:[gnv.usr.lib]gnv$libssh2_''versionname'.exe gnv$libssh2_''versionname'.exe"","
$ write pd " ""rename pcsi$destination:[gnv.usr.share.doc.libssh2]libssh2.hlb libssh2.hlb"");"
$ write pd " information RELEASE_NOTES phase after ;"
$ write pd " option EXAMPLE default 0 ;"
$ write pd " directory ""[gnv.usr.share.doc.libssh2.examples]"" ;"
$ write pd " file ""[gnv.usr.share.doc.libssh2.examples]libssh2_examples-''versionname'''datename'.bck"";"
$ write pd " end option ;"
$ write pd " option SOURCE default 0 ;"
$ write pd " directory ""[gnv.common_src]"" ;"
$ write pd " file ""[gnv.common_src]libssh2-''versionname'''datename'_src.bck"";"
$ write pd " end option ;"
$ write pd " directory ""[gnv]"" ;"
$ write pd " directory ""[gnv.usr]"" ;"
$ write pd " directory ""[gnv.usr.lib]"" ;"
$ write pd " directory ""[gnv.usr.include]"" ;"
$ write pd " directory ""[gnv.usr.include.libssh2]"" ;"
$ write pd " directory ""[gnv.usr.share]"" ;"
$ write pd " directory ""[gnv.usr.share.doc]"" ;"
$ write pd " directory ""[gnv.usr.share.doc.libssh2]"" ;"
$ write pd " file ""[gnv.usr.include.libssh2]libssh2.h"" source ""[include]libssh2.h"";"
$ write pd " file ""[gnv.usr.include.libssh2]libssh2_publickey.h"" source ""[include]libssh2_publickey.h"";"
$ write pd " file ""[gnv.usr.include.libssh2]libssh2_sftp.h"" source ""[include]libssh2_sftp.h"";"
$ write pd " file ""[gnv.usr.include.libssh2]libssh2_config.h"" source ""[vms]libssh2_config.h"";"
$ write pd " file ""[gnv.usr.share.doc.libssh2]libssh2.hlb"" source ""[vms]libssh2.hlb"";"
$ write pd " file ""[gnv.usr.share.doc.libssh2]libssh2-''versionname'.news"" source ""[000000]NEWS."";"
$ write pd " file ""[gnv.usr.share.doc.libssh2]libssh2-''versionname'.release_notes"" source ""[vms]readme.vms"";"
$ write pd " file ""[gnv.usr.lib]gnv$libssh2_''versionname'.exe"" source ""[vms]libssh2_''versionname'.exe"";"
$ write pd "end product ;"
$ close pd
$exit
$endsubroutine
$!
$!--------------------------------------------------------------------------------
$!
$WriteProductTextFile: subroutine
$!
$ open/write pt 'productfilename'.PCSI$TEXT
$ write pt "=PRODUCT ''productname' Full"
$ write pt "1 'PRODUCER"
$ write pt "=prompt libssh2 is an open source product ported to VMS by Jose Baars"
$ write pt "This software product is provided with no warranty."
$ write pt "For license information see the LIBSSH2 help library."
$ write pt "1 'PRODUCT"
$ write pt "=prompt JCB LIBSSH2 for OpenVMS"
$ write pt ""
$ write pt "libssh2 is an open source client side library that aims to implement"
$ write pt "the SSH protocol. This is the OpenVMS port of that library."
$ write pt "Further information at http://www.libssh2.org."
$ write pt ""
$ write pt "1 NEED_VMS83"
$ write pt "=prompt OpenVMS 8.3 or later is not installed on your system."
$ write pt "This product requires OpenVMS 8.3 or later to function."
$ write pt ""
$ write pt "1 NEED_SSL"
$ write pt "=prompt HP SSL 1.3 or later is not installed on your system."
$ write pt "This product requires HP SSL 1.3 or later to function."
$ write pt ""
$ write pt "1 RELEASE_NOTES"
$ write pt "=prompt Release notes and the libssh2 help library are available in [gnv.usr.share.doc.libssh2] directory."
$ write pt ""
$ write pt "1 EXAMPLE"
$ write pt "=prompt Do you want the libssh2 C programming examples ? "
$ write pt "The libssh2 coding examples will be available in backup saveset "
$ write pt "[gnv.usr.share.doc.libssh2.examples]libssh2_examples_''versionname'.bck"
$ write pt ""
$ write pt "1 SOURCE"
$ write pt "=prompt Do you want the complete libssh2 source tree ? "
$ write pt "The libssh2 source tree will be available in backup saveset "
$ write pt "[gnv.common_src]libssh2_''versionname'''datename'_src.bck"
$close pt
$exit
$ endsubroutine
| Clean | 3 | ilineicry/amr | deps/libssh/vms/libssh2_make_kit.dcl | [
"MIT"
] |
# Automatically generated by generate_stack_urls.py
stack_ghc_src() {
if [ "$1" = "7.8.4" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-7.8.4-release/ghc-7.8.4-x86_64-fedora24-linux-patch1.tar.xz -> ghc-tinfo6-7.8.4.tar.xz"
elif [ "$1" = "7.10.2" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-7.10.2-release/ghc-7.10.2-x86_64-fedora24-linux-patch1.tar.xz -> ghc-tinfo6-7.10.2.tar.xz"
elif [ "$1" = "7.10.3" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-7.10.3-release/ghc-7.10.3-x86_64-fedora24-linux-patch1.tar.xz -> ghc-tinfo6-7.10.3.tar.xz"
elif [ "$1" = "8.0.1" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.0.1-release/ghc-8.0.1-x86_64-fedora24-linux-patch1.tar.xz -> ghc-tinfo6-8.0.1.tar.xz"
elif [ "$1" = "8.0.2" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.0.2-release/ghc-8.0.2-x86_64-fedora24-linux-patch1.tar.xz -> ghc-tinfo6-8.0.2.tar.xz"
elif [ "$1" = "8.2.1" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.2.1-release/ghc-8.2.1-x86_64-fedora24-linux-patch1.tar.xz -> ghc-tinfo6-8.2.1.tar.xz"
elif [ "$1" = "8.2.2" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.2.2-release/ghc-8.2.2-x86_64-fedora27-linux-patch1.tar.xz -> ghc-tinfo6-8.2.2.tar.xz"
elif [ "$1" = "8.4.1" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.4.1-release/ghc-8.4.1-x86_64-fedora27-linux.tar.xz -> ghc-tinfo6-8.4.1.tar.xz"
elif [ "$1" = "8.4.2" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.4.2-release/ghc-8.4.2-x86_64-fedora27-linux.tar.xz -> ghc-tinfo6-8.4.2.tar.xz"
elif [ "$1" = "8.4.3" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.4.3-release/ghc-8.4.3-x86_64-fedora27-linux.tar.xz -> ghc-tinfo6-8.4.3.tar.xz"
elif [ "$1" = "8.4.4" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.4.4-release/ghc-8.4.4-x86_64-fedora27-linux.tar.xz -> ghc-tinfo6-8.4.4.tar.xz"
elif [ "$1" = "8.6.1" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.6.1-release/ghc-8.6.1-x86_64-fedora27-linux.tar.xz -> ghc-tinfo6-8.6.1.tar.xz"
elif [ "$1" = "8.6.2" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.6.2-release/ghc-8.6.2-x86_64-fedora27-linux.tar.xz -> ghc-tinfo6-8.6.2.tar.xz"
elif [ "$1" = "8.6.3" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.6.3-release/ghc-8.6.3-x86_64-fedora27-linux.tar.xz -> ghc-tinfo6-8.6.3.tar.xz"
elif [ "$1" = "8.6.4" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.6.4-release/ghc-8.6.4-x86_64-fedora27-linux.tar.xz -> ghc-tinfo6-8.6.4.tar.xz"
elif [ "$1" = "8.6.5" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.6.5-release/ghc-8.6.5-x86_64-fedora27-linux.tar.xz -> ghc-tinfo6-8.6.5.tar.xz"
elif [ "$1" = "8.8.1" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.8.1-release/ghc-8.8.1-x86_64-fedora27-linux.tar.xz -> ghc-tinfo6-8.8.1.tar.xz"
elif [ "$1" = "8.8.2" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.8.2-release/ghc-8.8.2-x86_64-fedora27-linux.tar.xz -> ghc-tinfo6-8.8.2.tar.xz"
elif [ "$1" = "8.8.3" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.8.3-release/ghc-8.8.3-x86_64-fedora27-linux.tar.xz -> ghc-tinfo6-8.8.3.tar.xz"
elif [ "$1" = "8.10.1" ]; then
echo "https://github.com/commercialhaskell/ghc/releases/download/ghc-8.10.1-release/ghc-8.10.1-x86_64-fedora27-linux.tar.xz -> ghc-tinfo6-8.10.1.tar.xz"
else
die "Unknown version $1"
fi
}
| Gentoo Eclass | 2 | rdnetto/rdnetto-overlay | eclass/stack_urls.eclass | [
"Apache-2.0"
] |
(ns rabbitmq.tutorials.receive-logs-direct
(:require [langohr.core :as lc]
[langohr.channel :as lch]
[langohr.exchange :as le]
[langohr.queue :as lq]
[langohr.basic :as lb]
[langohr.consumers :as lcons]))
(def ^{:const true} x "direct_logs")
(defn handle-delivery
"Handles message delivery"
[ch {:keys [routing-key]} payload]
(println (format " [x] %s:%s" routing-key (String. payload "UTF-8"))))
(defn -main
[& args]
(with-open [conn (lc/connect)]
(let [ch (lch/open conn)
{:keys [queue]} (lq/declare ch "" {:durable false :auto-delete false})]
(le/direct ch x {:durable false :auto-delete false})
(doseq [severity args]
(lq/bind ch queue x {:routing-key severity}))
(println " [*] Waiting for logs. To exit press CTRL+C")
(lcons/blocking-subscribe ch queue handle-delivery))))
| Clojure | 5 | Diffblue-benchmarks/Rabbitmq-rabbitmq-tutorials | clojure/src/rabbitmq/tutorials/receive_logs_direct.clj | [
"Apache-2.0"
] |
# Ekam Build System
# Author: Kenton Varda ([email protected])
# Copyright (c) 2010-2015 Kenton Varda, Google Inc., and contributors.
#
# 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.
@0xa610fcb94ceea9cc;
$import "/capnp/c++.capnp".namespace("ekam::proto");
struct Header {
# The first message sent over the stream is the header.
projectRoot @0 :Text;
# The directory where ekam was run, containing "src", "tmp", etc.
}
struct TaskUpdate {
# All subsequent messages are TaskUpdates.
id @0 :UInt32;
state @1 :State = unchanged;
enum State {
unchanged @0;
deleted @1;
pending @2;
running @3;
done @4;
passed @5;
failed @6;
blocked @7;
}
verb @2 :Text;
noun @3 :Text;
silent @4 :Bool;
log @5 :Text;
}
| Cap'n Proto | 5 | abliss/ekam | qtcreator/dashboard.capnp | [
"Apache-2.0"
] |
struct Size:
Width as int
Height as int
s = Size()
assert 0 == s.Width
assert 0 == s.Height
| Boo | 3 | popcatalin81/boo | tests/testcases/regression/BOO-195-1.boo | [
"BSD-3-Clause"
] |
// Copyright(c) 2022 https://github.com/WangXuan95
package TbSPIFlashController;
import StmtFSM::*;
import SPIFlashController::*;
module mkTb ();
let spiflash_ctrl <- mkSPIFlashController;
function Action read_and_show;
return action
let read_byte <- spiflash_ctrl.read_byte;
$display("read_byte = %x", read_byte);
endaction;
endfunction
mkAutoFSM( seq
spiflash_ctrl.operate( True, 'h000, 'h12); // write 1byte to buffer
spiflash_ctrl.operate( True, 'h001, 'h34); // write 1byte to buffer
spiflash_ctrl.operate( True, 'h100, 'hab); // set page_addr_l = 0xAB
spiflash_ctrl.operate( True, 'h101, 'h01); // set page_addr_h = 0x01
spiflash_ctrl.operate( True, 'h108, 'h20); // start erase page
spiflash_ctrl.operate( True, 'h108, 'h02); // start write page
spiflash_ctrl.operate(False, 'h000, 'h00); // read 1byte from buffer
spiflash_ctrl.operate(False, 'h001, 'h00); // read 1byte from buffer
repeat(2) read_and_show;
spiflash_ctrl.operate( True, 'h108, 'h03); // start read page
spiflash_ctrl.operate(False, 'h000, 'h00); // read 1byte from buffer
spiflash_ctrl.operate(False, 'h001, 'h00); // read 1byte from buffer
repeat(2) read_and_show;
endseq );
rule spi_set_miso;
spiflash_ctrl.miso_i(0);
endrule
//rule spi_show;
// $display("ss:%d sck:%d mosi:%d", spiflash_ctrl.ss_o, spiflash_ctrl.sck_o, spiflash_ctrl.mosi_o);
//endrule
endmodule
endpackage
| Bluespec | 4 | Xiefengshang/BSV_Tutorial_cn | src/SPIFlash/TbSPIFlashController.bsv | [
"MIT"
] |
" Vim syntax file
" Language: Conary Recipe
" Maintainer: rPath Inc <http://www.rpath.com>
" Updated: 2007-12-08
if exists("b:current_syntax")
finish
endif
runtime! syntax/python.vim
syn keyword conarySFunction mainDir addAction addSource addArchive addPatch
syn keyword conarySFunction addRedirect addSvnSnapshot addMercurialSnapshot
syn keyword conarySFunction addCvsSnapshot addGitSnapshot addBzrSnapshot
syn keyword conaryGFunction add addAll addNewGroup addReference createGroup
syn keyword conaryGFunction addNewGroup startGroup remove removeComponents
syn keyword conaryGFunction replace setByDefault setDefaultGroup
syn keyword conaryGFunction setLabelPath addCopy setSearchPath AddAllFlags
syn keyword conaryGFunction GroupRecipe GroupReference TroveCacheWrapper
syn keyword conaryGFunction TroveCache buildGroups findTrovesForGroups
syn keyword conaryGFunction followRedirect processAddAllDirectives
syn keyword conaryGFunction processOneAddAllDirective removeDifferences
syn keyword conaryGFunction addTrovesToGroup addCopiedComponents
syn keyword conaryGFunction findAllWeakTrovesToRemove checkForRedirects
syn keyword conaryGFunction addPackagesForComponents getResolveSource
syn keyword conaryGFunction resolveGroupDependencies checkGroupDependencies
syn keyword conaryGFunction calcSizeAndCheckHashes findSourcesForGroup
syn keyword conaryGFunction addPostInstallScript addPostRollbackScript
syn keyword conaryGFunction addPostUpdateScript addPreUpdateScript
syn keyword conaryGFunction addTrove moveComponents copyComponents
syn keyword conaryGFunction removeItemsAlsoInNewGroup removeItemsAlsoInGroup
syn keyword conaryGFunction addResolveSource iterReplaceSpecs
syn keyword conaryGFunction setCompatibilityClass getLabelPath
syn keyword conaryGFunction getResolveTroveSpecs getSearchFlavor
syn keyword conaryGFunction getChildGroups getGroupMap
syn keyword conaryBFunction Run Automake Configure ManualConfigure
syn keyword conaryBFunction Make MakeParallelSubdir MakeInstall
syn keyword conaryBFunction MakePathsInstall CompilePython
syn keyword conaryBFunction Ldconfig Desktopfile Environment SetModes
syn keyword conaryBFunction Install Copy Move Symlink Link Remove Doc
syn keyword conaryBFunction Create MakeDirs disableParallelMake
syn keyword conaryBFunction ConsoleHelper Replace SGMLCatalogEntry
syn keyword conaryBFunction XInetdService XMLCatalogEntry TestSuite
syn keyword conaryBFunction PythonSetup CMake Ant JavaCompile ClassPath
syn keyword conaryBFunction JavaDoc IncludeLicense MakeFIFO
syn keyword conaryPFunction NonBinariesInBindirs FilesInMandir
syn keyword conaryPFunction ImproperlyShared CheckSonames CheckDestDir
syn keyword conaryPFunction ComponentSpec PackageSpec
syn keyword conaryPFunction Config InitScript GconfSchema SharedLibrary
syn keyword conaryPFunction ParseManifest MakeDevices DanglingSymlinks
syn keyword conaryPFunction AddModes WarnWriteable IgnoredSetuid
syn keyword conaryPFunction Ownership ExcludeDirectories
syn keyword conaryPFunction BadFilenames BadInterpreterPaths ByDefault
syn keyword conaryPFunction ComponentProvides ComponentRequires Flavor
syn keyword conaryPFunction EnforceConfigLogBuildRequirements Group
syn keyword conaryPFunction EnforceSonameBuildRequirements InitialContents
syn keyword conaryPFunction FilesForDirectories LinkCount
syn keyword conaryPFunction MakdeDevices NonMultilibComponent ObsoletePaths
syn keyword conaryPFunction NonMultilibDirectories NonUTF8Filenames TagSpec
syn keyword conaryPFunction Provides RequireChkconfig Requires TagHandler
syn keyword conaryPFunction TagDescription Transient User UtilizeGroup
syn keyword conaryPFunction WorldWritableExecutables UtilizeUser
syn keyword conaryPFunction WarnWritable Strip CheckDesktopFiles
syn keyword conaryPFunction FixDirModes LinkType reportMissingBuildRequires
syn keyword conaryPFunction reportErrors FixupManpagePaths FixObsoletePaths
syn keyword conaryPFunction NonLSBPaths PythonEggs
syn keyword conaryPFunction EnforcePythonBuildRequirements
syn keyword conaryPFunction EnforceJavaBuildRequirements
syn keyword conaryPFunction EnforceCILBuildRequirements
syn keyword conaryPFunction EnforcePerlBuildRequirements
syn keyword conaryPFunction EnforceFlagBuildRequirements
syn keyword conaryPFunction FixupMultilibPaths ExecutableLibraries
syn keyword conaryPFunction NormalizeLibrarySymlinks NormalizeCompression
syn keyword conaryPFunction NormalizeManPages NormalizeInfoPages
syn keyword conaryPFunction NormalizeInitscriptLocation
syn keyword conaryPFunction NormalizeInitscriptContents
syn keyword conaryPFunction NormalizeAppDefaults NormalizeInterpreterPaths
syn keyword conaryPFunction NormalizePamConfig ReadableDocs
syn keyword conaryPFunction WorldWriteableExecutables NormalizePkgConfig
syn keyword conaryPFunction EtcConfig InstallBucket SupplementalGroup
syn keyword conaryPFunction FixBuilddirSymlink RelativeSymlinks
" Most destdirPolicy aren't called from recipes, except for these
syn keyword conaryPFunction AutoDoc RemoveNonPackageFiles TestSuiteFiles
syn keyword conaryPFunction TestSuiteLinks
syn match conaryMacro "%(\w\+)[sd]" contained
syn match conaryBadMacro "%(\w*)[^sd]" contained " no final marker
syn keyword conaryArches contained x86 x86_64 alpha ia64 ppc ppc64 s390
syn keyword conaryArches contained sparc sparc64
syn keyword conarySubArches contained sse2 3dnow 3dnowext cmov i486 i586
syn keyword conarySubArches contained i686 mmx mmxext nx sse sse2
syn keyword conaryBad RPM_BUILD_ROOT EtcConfig InstallBucket subDir
syn keyword conaryBad RPM_OPT_FLAGS subdir
syn cluster conaryArchFlags contains=conaryArches,conarySubArches
syn match conaryArch "Arch\.[a-z0-9A-Z]\+" contains=conaryArches,conarySubArches
syn match conaryArch "Arch\.[a-z0-9A-Z]\+" contains=conaryArches,conarySubArches
syn keyword conaryKeywords name buildRequires version clearBuildReqs
syn keyword conaryUseFlag contained pcre tcpwrappers gcj gnat selinux pam
syn keyword conaryUseFlag contained bootstrap python perl
syn keyword conaryUseFlag contained readline gdbm emacs krb builddocs
syn keyword conaryUseFlag contained alternatives tcl tk X gtk gnome qt
syn keyword conaryUseFlag contained xfce gd ldap sasl pie desktop ssl kde
syn keyword conaryUseFlag contained slang netpbm nptl ipv6 buildtests
syn keyword conaryUseFlag contained ntpl xen dom0 domU
syn match conaryUse "Use\.[a-z0-9A-Z]\+" contains=conaryUseFlag
" strings
syn region pythonString matchgroup=Normal start=+[uU]\='+ end=+'+ skip=+\\\\\|\\'+ contains=pythonEscape,conaryMacro,conaryBadMacro
syn region pythonString matchgroup=Normal start=+[uU]\="+ end=+"+ skip=+\\\\\|\\"+ contains=pythonEscape,conaryMacro,conaryBadMacro
syn region pythonString matchgroup=Normal start=+[uU]\="""+ end=+"""+ contains=pythonEscape,conaryMacro,conaryBadMacro
syn region pythonString matchgroup=Normal start=+[uU]\='''+ end=+'''+ contains=pythonEscape,conaryMacro,conaryBadMacro
syn region pythonRawString matchgroup=Normal start=+[uU]\=[rR]'+ end=+'+ skip=+\\\\\|\\'+ contains=conaryMacro,conaryBadMacro
syn region pythonRawString matchgroup=Normal start=+[uU]\=[rR]"+ end=+"+ skip=+\\\\\|\\"+ contains=conaryMacro,conaryBadMacro
syn region pythonRawString matchgroup=Normal start=+[uU]\=[rR]"""+ end=+"""+ contains=conaryMacro,conaryBadMacro
syn region pythonRawString matchgroup=Normal start=+[uU]\=[rR]'''+ end=+'''+ contains=conaryMacro,conaryBadMacro
hi def link conaryMacro Special
hi def link conaryrecipeFunction Function
hi def link conaryError Error
hi def link conaryBFunction conaryrecipeFunction
hi def link conaryGFunction conaryrecipeFunction
hi def link conarySFunction Operator
hi def link conaryPFunction Typedef
hi def link conaryFlags PreCondit
hi def link conaryArches Special
hi def link conarySubArches Special
hi def link conaryBad conaryError
hi def link conaryBadMacro conaryError
hi def link conaryKeywords Special
hi def link conaryUseFlag Typedef
let b:current_syntax = "conaryrecipe"
| VimL | 2 | uga-rosa/neovim | runtime/syntax/conaryrecipe.vim | [
"Vim"
] |
import time
import os
from selenium import webdriver
driver = webdriver.Chrome(os.environ['CHROMEDRIVER'])
try:
print driver.current_url
id = driver.find_element_by_id('nwjsver')
print id.text
finally:
driver.quit()
| Python | 4 | namaljayathunga/nw.js | test/remoting/start-page/test.py | [
"MIT"
] |
.webp-img {
background-image: url('data-url:parcel.webp')
}
| CSS | 2 | zowesiouff/parcel | packages/core/integration-tests/test/integration/data-url/binary.css | [
"MIT"
] |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "./ContextMock.sol";
import "../metatx/ERC2771Context.sol";
// By inheriting from ERC2771Context, Context's internal functions are overridden automatically
contract ERC2771ContextMock is ContextMock, ERC2771Context {
/// @custom:oz-upgrades-unsafe-allow constructor
constructor(address trustedForwarder) ERC2771Context(trustedForwarder) {
emit Sender(_msgSender()); // _msgSender() should be accessible during construction
}
function _msgSender() internal view virtual override(Context, ERC2771Context) returns (address) {
return ERC2771Context._msgSender();
}
function _msgData() internal view virtual override(Context, ERC2771Context) returns (bytes calldata) {
return ERC2771Context._msgData();
}
}
| Solidity | 4 | FractionalDev/openzeppelin-contracts | contracts/mocks/ERC2771ContextMock.sol | [
"MIT"
] |
@prefix e.g: <http://www.w3.org/2013/TurtleTests/> .
e.g:s e.g:p e.g:o .
| Turtle | 1 | joshrose/audacity | lib-src/lv2/serd/tests/TurtleTests/turtle-syntax-ns-dots.ttl | [
"CC-BY-3.0"
] |
<div class="alert alert-error error_answer"></div>
<p class="first_question"><strong>How can service availability be restored?</strong></p>
<p>
To restore service availability, this server either needs to rejoin
the cluster or be permanently removed.
</p>
<p><strong>What does removing a server do?</strong></p>
<p>The server will be dropped from the cluster, service availability
will resume, and its data will be destroyed to maintain cluster
integrity.
</p>
<hr>
<div class="input">
<h3>
Are you sure you want to permanently remove <strong>{{server_name}}</strong>?
</h3>
<div class="alert alert-error displayed_alert">
<strong>Warning:</strong> Removing this server will destroy its
data, proceed with caution.
</div>
<p>
<div class="error_verification">
Please type "remove" to confirm
</div>
</p>
<input class="verification" name="name" placeholder='Type "remove" to confirm' size="30" type="text" autocomplete="off" />
</div>
| Handlebars | 2 | zadcha/rethinkdb | admin/static/handlebars/declare_server_dead-modal.hbs | [
"Apache-2.0"
] |
;; Test that the --bigint option prevents i64s from being split up
;; Run without --bigint to get a baseline
;; RUN: wasm-emscripten-finalize %s -S | filecheck %s --check-prefix MVP
;; Then run with --bigint to see the difference
;; RUN: wasm-emscripten-finalize %s -S --bigint | filecheck %s --check-prefix BIGINT
;; MVP: (export "dynCall_jj" (func $legalstub$dynCall_jj))
;; MVP: (func $legalstub$dynCall_jj (param $0 i32) (param $1 i32) (param $2 i32) (result i32)
;; BIGINT-NOT: legalstub
;; BIGINT: (export "dynCall_jj" (func $dynCall_jj))
;; BIGINT: (func $dynCall_jj (param $fptr i32) (param $0 i64) (result i64)
(module
(table $0 1 1 funcref)
(elem (i32.const 1) $foo)
(func $foo (param i64) (result i64)
(unreachable)
)
)
| WebAssembly | 4 | phated/binaryen | test/lit/wasm-emscripten-finalize/bigint.wat | [
"Apache-2.0"
] |
// assembly-output: ptx-linker
// compile-flags: --crate-type cdylib -C target-cpu=sm_50
// only-nvptx64
// ignore-nvptx64
#![no_std]
// aux-build: breakpoint-panic-handler.rs
extern crate breakpoint_panic_handler;
// Verify target arch override via `target-cpu`.
// CHECK: .target sm_50
// CHECK: .address_size 64
| Rust | 3 | Eric-Arellano/rust | src/test/assembly/nvptx-arch-target-cpu.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
REBOL [
Title: "Red/System dynamic linbary compiler test script"
Author: "Nenad Rakocevic & Peter W A Wood"
File: %dylib-test.r
Tabs: 4
Rights: "Copyright (C) 2011-2015 Red Foundation. All rights reserved."
License: "BSD-3 - https://github.com/red/red/blob/origin/BSD-3-License.txt"
]
change-dir %../
~~~start-file~~~ "dylib compiler"
===start-group=== "dylib compiles"
dll-target: switch/default fourth system/version [
2 ["Darwin"]
3 ["Windows"]
7 ["FreeBSD"]
][
"Linux"
]
;; source should be relative to
;; runnable dir
--test-- "compile dll1"
--compile-dll join qt/base-dir
%system/tests/source/units/libtest-dll1.reds dll-target
--assert qt/compile-ok?
--test-- "compile dll2"
--compile-dll join qt/base-dir
%system/tests/source/units/libtest-dll2.reds dll-target
--assert qt/compile-ok?
===end-group===
~~~end-file~~~
| R | 4 | 0xflotus/red | system/tests/source/compiler/dylib-test.r | [
"BSL-1.0",
"BSD-3-Clause"
] |
/*##############################################################################
HPCC SYSTEMS software Copyright (C) 2013 HPCC Systems®.
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.
############################################################################## */
//Test a very obscure case extracting two identical fields from different records;
aRec := { unsigned a1; unsigned a2; };
bRec := { aRec x; aRec y; };
ds := DATASET('ds', bRec, THOR);
inDs := DATASET('in', bRec, THOR);
sortedDs := SORT(inDs, x.a2); // this will create a child query
ds1 := PROJECT(NOFOLD(SORT(ds, x.a1)), transform(bRec, SELF.x.a2 := 2; SELF := LEFT));
p1 := PROJECT(ds1, TRANSFORM({unsigned v}, SELF.v := LEFT.x.a1));
p2 := PROJECT(ds1, TRANSFORM({unsigned v}, SELF.v := LEFT.y.a2));
filtered2 := sortedDs(x.a1 = p1[1].v, x.a2 = p2[1].v); // access two fields from ds1 -= both the same
output(filtered2);
| ECL | 4 | miguelvazq/HPCC-Platform | ecl/regress/issue9610b.ecl | [
"Apache-2.0"
] |
; CREDITS @pfoerster (adapted from https://github.com/latex-lsp/tree-sitter-bibtex)
[
(string_type)
(preamble_type)
(entry_type)
] @keyword
[
(junk)
(comment)
] @comment
[
"="
"#"
] @operator
(command) @function.builtin
(number) @number
(field
name: (identifier) @field)
(token
(identifier) @parameter)
[
(brace_word)
(quote_word)
] @string
[
(key_brace)
(key_paren)
] @symbol
(string
name: (identifier) @constant)
[
"{"
"}"
"("
")"
] @punctuation.bracket
"," @punctuation.delimiter
| Scheme | 4 | hmac/nvim-treesitter | queries/bibtex/highlights.scm | [
"Apache-2.0"
] |
(*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
type msg =
| Ready
| Updates of SSet.t
val entry_point : (string * Path.t list, unit, msg) Daemon.entry
| OCaml | 3 | Hans-Halverson/flow | src/hack_forked/dfind/dfindServer.mli | [
"MIT"
] |
static const q31_t in_com1[300] = {
0x105553F0, 0xD9F3A4C5, 0x07BF0B25, 0x29C5F709,
0xDC857ADA, 0xCD8EA20C, 0x17619FE0, 0xD9EE30D0,
0xEBDF964F, 0xF6C715E8, 0x38377595, 0x51826D27,
0xDD054DB9, 0xEF771631, 0xFBA0A84E, 0xFFC25F1E,
0x69600EEF, 0x14E7187C, 0x32E73439, 0xB8BB8D01,
0xDA277F3D, 0x34719756, 0x38E49F5C, 0x05B5EDFA,
0xC7705F24, 0xE18CDD85, 0x403B1AB6, 0x1B05D1D7,
0xE7D9BA26, 0x09B11B1F, 0xFDD44D26, 0xE66974E1,
0xB8C9E7DF, 0x3B427680, 0xF564BE76, 0x0B46CC32,
0xF16C1EED, 0x0D7039FD, 0xDD23C1F8, 0xE22D28C8,
0xF44813DA, 0x2256F470, 0x36876AD1, 0xE28C357A,
0xA47A44BC, 0x0C2A8A1D, 0x10A17BE7, 0x415F818F,
0x085EF8F8, 0x232C2F1A, 0x0DE5D885, 0x15DAE18C,
0x0944A676, 0x26E1FE1D, 0x19E104A7, 0xF29E2D4E,
0xF32B45C8, 0x1BF80AAD, 0x1193EA80, 0xE9775702,
0xD1F5B9DF, 0xEE1751E5, 0xF664359E, 0xF8EE345C,
0x05A03A61, 0x0B4113E7, 0xDE5CC858, 0x066A5EB2,
0xFABCD1DD, 0x1CB03F5E, 0x2968DAC8, 0x018C87CE,
0xEA139A6F, 0x13D71631, 0x096237B3, 0x1D11EF8F,
0x143E7149, 0x2DA113F8, 0x0A992F17, 0x1892010E,
0x29EBA777, 0xF8D3D572, 0xDD8BFFFF, 0x16480349,
0x0D5192C7, 0x1DD8BD7D, 0xE172CB2B, 0x16E86FF8,
0xB13535F3, 0xE4E9BDC5, 0x16970E58, 0x0E4A480B,
0xE4BCC19D, 0xF9CE5500, 0xFDE28232, 0x02F10854,
0xE757E7B2, 0xF5B849ED, 0xDCC9F4DD, 0x0AFF232B,
0xFD189C81, 0x00DE6C86, 0xDD073040, 0xF086D944,
0xCF21F36D, 0x1F46D98D, 0xAC287398, 0x10E92C3A,
0xA078DA0B, 0x274DC995, 0xB8377C2C, 0x024B5226,
0x0E29706C, 0xFF8C755B, 0xCCAF89C9, 0x14732334,
0xDD58C30B, 0x0FDBD32C, 0x11DCE96C, 0xD6612773,
0xBBEA9D4B, 0xBE66C4DA, 0x0FC46F5A, 0x06DE6857,
0x2B4D6BCB, 0x9EF977FF, 0xECE0DB5E, 0x21D2AD35,
0xB281184B, 0x36179A10, 0xEFB5C3AE, 0x35FA3A50,
0xDBF62A7F, 0x19A9BDAD, 0xFAA5010A, 0x13965608,
0xB436816E, 0x01B3B2D7, 0x036BD6E3, 0x2644C195,
0xDF078582, 0x09F96A20, 0x01DD51FB, 0x23865074,
0xF5C16D8B, 0xE0D63F00, 0x148E0B3D, 0x0DD3FF8B,
0xC351BDF7, 0x01D1D774, 0x02920EE2, 0x073F8307,
0x07F4A7BA, 0x0F7C4748, 0xDAE10E5C, 0xEC4C8617,
0x1ACA84D7, 0xF039868D, 0x11AFACDB, 0xC2D4542E,
0x118E4DFB, 0xEFF76D4F, 0x2544A4F1, 0xCA53189A,
0xDFA7A2DD, 0xE19852C3, 0xF865F526, 0xF488F5C1,
0x03F145B0, 0x0FD78EAE, 0x10AE3B15, 0x0BC5F8D9,
0xCF83B4D4, 0xC3863FD3, 0xFC39D6B8, 0xF8B68538,
0x11158FB0, 0xED752748, 0xD56B67B6, 0xF44E6B4C,
0xD5B8B4E9, 0xF6221769, 0x9AEA8C97, 0xE231ABCC,
0x0956AD19, 0xF150B15D, 0xF517F4C2, 0x3FC4AC23,
0x029FB71D, 0xF515DBEF, 0xC4E96624, 0xB4521152,
0x3A08F60E, 0xD378B68D, 0x1E4DF687, 0x4131066B,
0x089EF0C8, 0xDC43C079, 0x80000000, 0x57F935F7,
0x27071DFE, 0xBE618BB4, 0x4C2CBF20, 0x16EAB988,
0x05D18046, 0xD7D766B4, 0xF3246ECD, 0x277351D1,
0xA78893E3, 0x0C83303F, 0x130A7B7E, 0xB569F550,
0xDC92752A, 0x472D0E60, 0x1AB07806, 0x1CA81F83,
0x092C86A6, 0x0513D899, 0xF5E7ED8C, 0xEEC535A1,
0xFCBF2580, 0xD1CAB376, 0xFA4B6349, 0x01A28088,
0x0042B918, 0x01C57BAA, 0x33917574, 0xB9BB376C,
0xEEBD0C3B, 0xFEFE98CD, 0x1214367B, 0xFF88D222,
0xE6F00D4C, 0x2EA7E225, 0x0D2384A8, 0x1884F28B,
0x4AF2890C, 0x297580EA, 0x32EEE4B7, 0x2F834D01,
0x2E18663C, 0x32E376AC, 0x1FCF1592, 0x18BEB7A2,
0x2A2F0231, 0x1B4824AC, 0xFF065D68, 0xEDD5A4DD,
0x0123A5D2, 0xFFEFD467, 0xFFC72B57, 0x0C337CCB,
0x182D3CB1, 0x096C2D2F, 0xC2B6AE7F, 0xE0B4E2A6,
0xF7D49BCA, 0x22EA389A, 0x36CD0930, 0x09CCD104,
0x1186385B, 0xE84E2E79, 0x03D368C8, 0xF19DC041,
0x12C87D66, 0x24142749, 0x0F4F51D5, 0xD31A2447,
0xE19BB717, 0x0CC3D651, 0xF9474FBC, 0x1027D5ED,
0xE6B17E61, 0xD322A283, 0x21B3B534, 0xDCB73C07,
0x06F14AD1, 0x1D6B7317, 0x021067E9, 0xF8BDC8E8,
0xE642813E, 0x223221D2, 0x19079E27, 0xFF2F4A4F,
0x0EAD1F77, 0x3F3444F9, 0x1A08BBEB, 0xF95210CC,
0x5BD1E476, 0x157228CA, 0xE5C34518, 0xC52EA048,
0xDD8BAA6E, 0xCC6D9FA2, 0x0A8F1E94, 0x21E53E5C,
0x235D7B47, 0xD0380C1A, 0x144F0C3E, 0xF05BDF4F
};
static const q31_t in_com2[300] = {
0x105553F0, 0x260C5B3B, 0x07BF0B25, 0x29C5F709,
0x237A8526, 0x32715DF4, 0x17619FE0, 0x2611CF30,
0x142069B1, 0x0938EA18, 0x38377595, 0x51826D27,
0x22FAB247, 0x1088E9CF, 0x045F57B2, 0x003DA0E2,
0x69600EEF, 0x14E7187C, 0x32E73439, 0x474472FF,
0x25D880C3, 0x34719756, 0x38E49F5C, 0x05B5EDFA,
0x388FA0DC, 0x1E73227B, 0x403B1AB6, 0x1B05D1D7,
0x182645DA, 0x09B11B1F, 0x022BB2DA, 0x19968B1F,
0x47361821, 0x3B427680, 0x0A9B418A, 0x0B46CC32,
0x0E93E113, 0x0D7039FD, 0x22DC3E08, 0x1DD2D738,
0x0BB7EC26, 0x2256F470, 0x36876AD1, 0x1D73CA86,
0x5B85BB44, 0x0C2A8A1D, 0x10A17BE7, 0x415F818F,
0x085EF8F8, 0x232C2F1A, 0x0DE5D885, 0x15DAE18C,
0x0944A676, 0x26E1FE1D, 0x19E104A7, 0x0D61D2B2,
0x0CD4BA38, 0x1BF80AAD, 0x1193EA80, 0x1688A8FE,
0x2E0A4621, 0x11E8AE1B, 0x099BCA62, 0x0711CBA4,
0x05A03A61, 0x0B4113E7, 0x21A337A8, 0x066A5EB2,
0x05432E23, 0x1CB03F5E, 0x2968DAC8, 0x018C87CE,
0x15EC6591, 0x13D71631, 0x096237B3, 0x1D11EF8F,
0x143E7149, 0x2DA113F8, 0x0A992F17, 0x1892010E,
0x29EBA777, 0x072C2A8E, 0x22740001, 0x16480349,
0x0D5192C7, 0x1DD8BD7D, 0x1E8D34D5, 0x16E86FF8,
0x4ECACA0D, 0x1B16423B, 0x16970E58, 0x0E4A480B,
0x1B433E63, 0x0631AB00, 0x021D7DCE, 0x02F10854,
0x18A8184E, 0x0A47B613, 0x23360B23, 0x0AFF232B,
0x02E7637F, 0x00DE6C86, 0x22F8CFC0, 0x0F7926BC,
0x30DE0C93, 0x1F46D98D, 0x53D78C68, 0x10E92C3A,
0x5F8725F5, 0x274DC995, 0x47C883D4, 0x024B5226,
0x0E29706C, 0x00738AA5, 0x33507637, 0x14732334,
0x22A73CF5, 0x0FDBD32C, 0x11DCE96C, 0x299ED88D,
0x441562B5, 0x41993B26, 0x0FC46F5A, 0x06DE6857,
0x2B4D6BCB, 0x61068801, 0x131F24A2, 0x21D2AD35,
0x4D7EE7B5, 0x36179A10, 0x104A3C52, 0x35FA3A50,
0x2409D581, 0x19A9BDAD, 0x055AFEF6, 0x13965608,
0x4BC97E92, 0x01B3B2D7, 0x036BD6E3, 0x2644C195,
0x20F87A7E, 0x09F96A20, 0x01DD51FB, 0x23865074,
0x0A3E9275, 0x1F29C100, 0x148E0B3D, 0x0DD3FF8B,
0x3CAE4209, 0x01D1D774, 0x02920EE2, 0x073F8307,
0x07F4A7BA, 0x0F7C4748, 0x251EF1A4, 0x13B379E9,
0x1ACA84D7, 0x0FC67973, 0x11AFACDB, 0x3D2BABD2,
0x118E4DFB, 0x100892B1, 0x2544A4F1, 0x35ACE766,
0x20585D23, 0x1E67AD3D, 0x079A0ADA, 0x0B770A3F,
0x03F145B0, 0x0FD78EAE, 0x10AE3B15, 0x0BC5F8D9,
0x307C4B2C, 0x3C79C02D, 0x03C62948, 0x07497AC8,
0x11158FB0, 0x128AD8B8, 0x2A94984A, 0x0BB194B4,
0x2A474B17, 0x09DDE897, 0x65157369, 0x1DCE5434,
0x0956AD19, 0x0EAF4EA3, 0x0AE80B3E, 0x3FC4AC23,
0x029FB71D, 0x0AEA2411, 0x3B1699DC, 0x4BADEEAE,
0x3A08F60E, 0x2C874973, 0x1E4DF687, 0x4131066B,
0x089EF0C8, 0x23BC3F87, 0x7FFFFFFF, 0x57F935F7,
0x27071DFE, 0x419E744C, 0x4C2CBF20, 0x16EAB988,
0x05D18046, 0x2828994C, 0x0CDB9133, 0x277351D1,
0x58776C1D, 0x0C83303F, 0x130A7B7E, 0x4A960AB0,
0x236D8AD6, 0x472D0E60, 0x1AB07806, 0x1CA81F83,
0x092C86A6, 0x0513D899, 0x0A181274, 0x113ACA5F,
0x0340DA80, 0x2E354C8A, 0x05B49CB7, 0x01A28088,
0x0042B918, 0x01C57BAA, 0x33917574, 0x4644C894,
0x1142F3C5, 0x01016733, 0x1214367B, 0x00772DDE,
0x190FF2B4, 0x2EA7E225, 0x0D2384A8, 0x1884F28B,
0x4AF2890C, 0x297580EA, 0x32EEE4B7, 0x2F834D01,
0x2E18663C, 0x32E376AC, 0x1FCF1592, 0x18BEB7A2,
0x2A2F0231, 0x1B4824AC, 0x00F9A298, 0x122A5B23,
0x0123A5D2, 0x00102B99, 0x0038D4A9, 0x0C337CCB,
0x182D3CB1, 0x096C2D2F, 0x3D495181, 0x1F4B1D5A,
0x082B6436, 0x22EA389A, 0x36CD0930, 0x09CCD104,
0x1186385B, 0x17B1D187, 0x03D368C8, 0x0E623FBF,
0x12C87D66, 0x24142749, 0x0F4F51D5, 0x2CE5DBB9,
0x1E6448E9, 0x0CC3D651, 0x06B8B044, 0x1027D5ED,
0x194E819F, 0x2CDD5D7D, 0x21B3B534, 0x2348C3F9,
0x06F14AD1, 0x1D6B7317, 0x021067E9, 0x07423718,
0x19BD7EC2, 0x223221D2, 0x19079E27, 0x00D0B5B1,
0x0EAD1F77, 0x3F3444F9, 0x1A08BBEB, 0x06ADEF34,
0x5BD1E476, 0x157228CA, 0x1A3CBAE8, 0x3AD15FB8,
0x22745592, 0x3392605E, 0x0A8F1E94, 0x21E53E5C,
0x235D7B47, 0x2FC7F3E6, 0x144F0C3E, 0x0FA420B1
};
static const q31_t in_absminmax[300] = {
0xD91BCEBD, 0x62CE1E33, 0xEB33E43B, 0x0CE373F6,
0x04B6B41E, 0xDBF8B862, 0x300B2AA8, 0xCA164320,
0x3126FD7F, 0xCCF50F82, 0x2D1FDF30, 0xC9EEFA52,
0x050BFB42, 0x0F977F71, 0xE8E7014B, 0x36369352,
0x07F47FFE, 0xCC1E2A28, 0xAA7A89C1, 0x6057DF08,
0xBF729F27, 0x3D969DDC, 0xFE0CE4CF, 0xE7943556,
0xD0280B07, 0x13DC155D, 0xE3A4E66C, 0x1228EA7E,
0x084FAB71, 0x3A74453F, 0xBE837359, 0x3C48FCA7,
0x4D4495F4, 0x010CBCC0, 0xEA9BEB7B, 0xD507960A,
0x156420D7, 0xDC660428, 0xCD227C15, 0x091428EF,
0x743F1EB7, 0xDF38E217, 0xE25645DF, 0xC5555C63,
0x35E08AC3, 0xB2052092, 0x3671677B, 0x19F6EA02,
0xDA57AC82, 0x3288AB45, 0xF6B43DFC, 0x40580DD2,
0xE27E4925, 0xD14AF3E0, 0x3D86B16E, 0x3C064F65,
0xFF2EAF77, 0xA712EBF1, 0x9E7183A9, 0x293AB09F,
0x1520BF67, 0x2C9336DD, 0xF501B837, 0x5A414FD6,
0x0FFA2E7E, 0xD88CC4FF, 0x3CFA8F9C, 0x3C0F7EC1,
0xC47D45F2, 0xE7AFFD1E, 0x00E49F4A, 0xD1150671,
0x12CD4609, 0xE8D8E257, 0x330FFE7E, 0x023F0D80,
0x0A615AA0, 0x0D9FC9AE, 0xE8BAC301, 0xC52A84C2,
0xFB166F3B, 0xF3D773AD, 0x145A3253, 0xFD074131,
0xEC9A00A1, 0x1FA4EAF5, 0x259ABB05, 0xCE3E2E74,
0x2421D36F, 0x24B2F703, 0x3AEDBE9F, 0xB7CC078B,
0x420ABEB8, 0x22C2EBBD, 0xEEE6B78F, 0x476063BC,
0xE8A99B12, 0xE257DC6A, 0x0C05D1BA, 0x34CECDDC,
0x249FB308, 0x10CA1DC0, 0x49194AC8, 0xCCD332D9,
0x2BCCF239, 0xC6BA0C29, 0xFC825185, 0x0FBBD385,
0xF0709940, 0x383D713A, 0xC85D722F, 0xBBD501AD,
0x80000000, 0xE91D9859, 0xE3924A8D, 0xBEB83E7E,
0x0B1A20C4, 0xBDB28F6B, 0xED165AB3, 0xC9463F5F,
0x0EA223CD, 0x042CC48A, 0x1463A642, 0x22371902,
0xFCCEA5D7, 0xE33BC127, 0xDAEB4AA6, 0x49A78B23,
0x2606AF14, 0xCC592CD4, 0x221EE022, 0x06607C55,
0x30809757, 0xC41AE0F6, 0xF0512289, 0x140C89A7,
0x48D49C0D, 0xF3FF4EAE, 0x05F6963E, 0x3169AC36,
0x0AE1615A, 0xE0FFA685, 0x1ABFDBF8, 0xD656427E,
0xBCD5F0AA, 0x0D560B62, 0x4A1EDC5B, 0xFA6DDFEF,
0x301BB2BB, 0xC43023A9, 0xF950E33D, 0xE993E290,
0x4C93882F, 0xE2B1C911, 0xF508F85D, 0xF5D14379,
0x0EA13DC2, 0x0CBEE8FE, 0xD538AEDB, 0x17FCEE49,
0xEC8F81DB, 0xEBE5677B, 0x350EA4CB, 0xDA8ED01E,
0xBB3D8C03, 0x0C6AAAF6, 0xD94AFAF5, 0xC83F040C,
0x50418783, 0xDF9E3CBC, 0x128132DA, 0x04585B19,
0xD401C744, 0xE3519D6B, 0x1942152F, 0x069E6FB0,
0xEE543768, 0xFA6E1E38, 0x558AEB12, 0x108ADC6F,
0xF57ECD2D, 0x3B8AE964, 0xDE23EAC6, 0x079A113C,
0x28EA8B9A, 0x14CCFFFC, 0xFC7F0E78, 0x03601BA5,
0x1A32160C, 0x3AEE02BB, 0xC06E3824, 0x017F0E8D,
0xCC5D5DB0, 0x1E7D5AEA, 0xFC19EE2A, 0xD5401579,
0xE5B59039, 0xF5FF070F, 0x41D0AE1F, 0x31C605A8,
0x3E7EE5F8, 0x78869570, 0x8D326DF1, 0x4E5C1A8E,
0x2558BC01, 0xFF94718D, 0x1FC709C3, 0xDD30B19E,
0x21E91012, 0x1500BBCD, 0xFA2D33E0, 0x094D7520,
0x10ED6681, 0x1CC7E18B, 0x02D43336, 0x384253B2,
0xE7C36635, 0xE22EB06B, 0x2934BB10, 0xE53A4215,
0xDA932CF2, 0x1B3B16EF, 0x0CB5CC11, 0xF441B97D,
0xF9D451FB, 0x2DC68CFC, 0xD561A1E1, 0xE25A01B0,
0x9088FFB0, 0xF1888C4D, 0x29C29496, 0x0B01DAEB,
0xF186E57F, 0x99831889, 0xC29EF089, 0x06BEE2A1,
0x198BEB21, 0x52E2E547, 0x12E4AF92, 0x26403572,
0x141AD6D7, 0xF7CA12BC, 0x0AB08B15, 0xFABDB636,
0x09CED512, 0x14C4DB14, 0x2A060FEA, 0xF1413BA7,
0x3D09FEB1, 0x010F2C24, 0xFBD12420, 0xBDB6E8F7,
0x08A067F2, 0xF4FF15F0, 0xDE436608, 0x0F57E811,
0xF556A6CD, 0x3F2E54D0, 0xCFB87547, 0x2703720A,
0x21F10211, 0x617338A3, 0xBF71EBA5, 0x06145E9B,
0x3034940D, 0x2C65E68A, 0x60C81120, 0x10199231,
0xED8CCF13, 0x14551870, 0x2FDB97E0, 0x252DF482,
0xDFD8ABD7, 0x00D97AE9, 0x023D9795, 0xEC708325,
0xD09DA1E3, 0xF790A802, 0x21009225, 0x2ED179C7,
0x64AF52E4, 0x11BA1569, 0xEF2A9DDE, 0x0BCFFEA8,
0xFA198840, 0xAB20DAAF, 0x2DE1BB5C, 0x4AD7DBB0,
0xEE618C62, 0x1DFA0618, 0xB3D77D96, 0x013187EF,
0x44C313D6, 0xECA29DA9, 0x21A3158D, 0x14B5CD02,
0x4D5C76DB, 0x03D2417B, 0xEFF94305, 0x18120BD2
};
static const q31_t ref_max_val[3] = {
0x105553F0, 0x29C5F709, 0x38377595
};
static const uint16_t ref_max_idx[3] = {
0x0000, 0x0003, 0x000A
};
static const q31_t ref_min_val[3] = {
0xD9F3A4C5, 0xCD8EA20C, 0xCD8EA20C
};
static const uint16_t ref_min_idx[3] = {
0x0001, 0x0005, 0x0005
};
static const q31_t ref_absmax_val[3] = {
0x62CE1E33, 0x62CE1E33, 0x62CE1E33
};
static const uint16_t ref_absmax_idx[3] = {
0x0001, 0x0001, 0x0001
};
static const q31_t ref_absmin_val[3] = {
0x14CC1BC5, 0x04B6B41E, 0x04B6B41E
};
static const uint16_t ref_absmin_idx[3] = {
0x0002, 0x0004, 0x0004
};
static const q31_t ref_mean[4] = {
0x14B59370, 0x1F68C070, 0x1E9F29E6, 0x1BD8CBD2
};
static const q63_t ref_power[3] = {
0x00001BB9CF2ACA8B, 0x0000919A9AA38F86,
0x0000CAA45F64016E
};
static const q31_t ref_rms[4] = {
0x185208C3, 0x22212F2D, 0x2256317F, 0x22E9BED5
};
static const q31_t ref_std[4] = {
0x1D3C3F9C, 0x232A4294, 0x23BECAED, 0x22FE315A
};
static const q31_t ref_var[4] = {
0x06AD692F, 0x09A92A5D, 0x09FB735D, 0x09910304
};
| Max | 2 | psychogenic/zephyr | tests/lib/cmsis_dsp/statistics/src/q31.pat | [
"Apache-2.0"
] |
redo-ifchange ab c
echo "doing abc" >&2
echo abc >$3
touch doing_abc
| Stata | 2 | BlameJohnny/redo | t/s60-stamp/abc.do | [
"Apache-2.0"
] |
B
less_equalJ< |