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 |
|---|---|---|---|---|---|
; v0.1.0.0 (built on 2021-09-29)
; https://github.com/HyperDbg/HyperDbg
[Components]
Name: "debuggers\hyperdbg"; Description: "HyperDbg"; Types: full; Check: Is64BitInstallMode
[Files]
Source: "{#MySrcDir}\debuggers\hyperdbg\*"; DestDir: "{app}\debuggers\hyperdbg"; Components: "debuggers\hyperdbg"; Flags: ignoreversion recursesubdirs createallsubdirs; Check: Is64BitInstallMode | Inno Setup | 3 | reckdo/retoolkit | src/installer/debuggers/hyperdbg.iss | [
"Apache-2.0"
] |
#+TITLE: Nyxt Developer's Manual
# Please install org-make-toc so the the TOC below will be automatically
# generated.
# https://github.com/alphapapa/org-make-toc
* Table of contents :TOC:
:PROPERTIES:
:TOC: :include all :ignore this
:END:
:CONTENTS:
- [[#developers-installation-with-guix][Developer's installation with Guix]]
- [[#developers-installation-with-nix][Developer's installation with Nix]]
- [[#building-for-local-development][Building for local development]]
- [[#standard-developers-installation][Standard developer's installation]]
- [[#installing-sbcl][Installing SBCL]]
- [[#installing-quicklisp-optional][Installing Quicklisp (optional)]]
- [[#gtk-dependencies][GTK dependencies]]
- [[#lisp-dependencies][Lisp dependencies]]
- [[#gnulinux-freebsd-gtk-dependencies][GNU/Linux, FreeBSD GTK dependencies]]
- [[#macos-specific-dependencies][macOS specific dependencies]]
- [[#qt-dependencies][Qt dependencies]]
- [[#lisp-dependencies][Lisp dependencies]]
- [[#gnulinux-freebsd-dependencies][GNU/Linux, FreeBSD dependencies]]
- [[#macos-dependencies][macOS dependencies]]
- [[#fetch-the-source-code][Fetch the source code]]
- [[#observation][Observation]]
- [[#compile][Compile]]
- [[#using-the-makefile][Using the Makefile]]
- [[#using-lisp][Using Lisp]]
- [[#run-nyxt-in-a-security-sandbox][Run Nyxt in a security sandbox]]
- [[#hacking][Hacking]]
- [[#run-from-source][Run from source]]
- [[#interacting-with-a-compiled-version-of-nyxt][Interacting with a compiled version of Nyxt]]
- [[#slime][SLIME]]
- [[#slyslynk][SLY/SLYNK]]
- [[#quicklisp-setup][Quicklisp Setup]]
- [[#non-quicklisp-setup][Non-Quicklisp Setup]]
- [[#adding-a-new-lisp-dependency][Adding a new Lisp dependency]]
- [[#help--community][Help & Community]]
- [[#issue-tracker][Issue tracker]]
- [[#learning-common-lisp][Learning Common Lisp]]
- [[#contributing][Contributing]]
- [[#commit-style][Commit style]]
- [[#branch-management][Branch management]]
- [[#programming-conventions][Programming conventions]]
- [[#irc-channel][IRC Channel]]
:END:
* Developer's installation with Guix
First, clone the Nyxt repository. It is most convenient to clone the Nyxt
repository into =~/common-lisp= (or [[https://www.common-lisp.net/project/asdf/asdf.html#Configuring-ASDF-to-find-your-systems][another directory where ASDF will find it]]).
Second, install [[https://guix.gnu.org][Guix]] and follow the instructions in the
[[../build-scripts/nyxt.scm]] file of the Nyxt repository.
* Developer's installation with Nix
** Building for local development
To use Nix for local development use the =shell.nix= file located in the
build-scripts directory.
As an example, to run with SBCL, you could do the following: =nix-shell
nyxt/build-scripts/shell.nix --run sbcl=
Then you can load Nyxt with:
#+begin_src lisp
(asdf:load-system :nyxt/gtk-application)
(nyxt:start)
#+end_src
* Standard developer's installation
Nyxt is written in Common Lisp. It should build with any standard Common Lisp
implementation but currently, only [[http://www.sbcl.org/][SBCL]] support is tested.
It is designed to be cross-platform, cross-engine compatible. Nyxt is available
in both WebKit and WebEngine (experimental) flavors.
** Installing SBCL
You'll need SBCL ≥ 2.0.0 to compile Nyxt.
You can obtain SBCL from your package manager or by downloading it directly from
the SBCL repository.
To install SBCL from source, download SBCL:
[[http://www.sbcl.org/platform-table.html]]. Full installation instructions can be
found here: [[http://www.sbcl.org/getting.html]].
** Installing Quicklisp (optional)
If you wish to install it manually, system-wide, refer to the official [[https://www.quicklisp.org.][Quicklisp
website]] for instructions.
Then pass the ~NYXT_SUBMODULES=false~ option to all build commands, like this:
#+begin_src sh
make NYXT_SUBMODULES=false ...
#+end_src
Each time you build Nyxt, you'll have to make sure the Quicklisp distribution is
up-to-date, otherwise the build might fail. In a Lisp REPL:
#+begin_src lisp
(ql:update-dist "quicklisp")
#+end_src
** GTK dependencies
*** Lisp dependencies
Nyxt requires some Lisp libraries and, since some are pinned at specific
versions, relying on Quicklisp is discouraged.
All Lisp dependencies are included as a submodule of this repository, so unless
the submodules are disabled (i.e. ~NYXT_SUBMODULES=false~), there is nothing
more to be done.
Otherwise clone the required repositories listed in =.gitmodules= into
=~/common-lisp= (or [[https://www.common-lisp.net/project/asdf/asdf.html#Configuring-ASDF-to-find-your-systems][another directory where ASDF will find it]]). For instance,
to get the latest version of =cl-webkit=, you would typically run the following:
#+begin_src sh
mkdir -p ~/common-lisp
git clone https://github.com/joachifm/cl-webkit ~/common-lisp/cl-webkit
#+end_src
*** GNU/Linux, FreeBSD GTK dependencies
- WebKitGTK+ also known as webkit2gtk (make sure to use the most recent version
for security reasons)
- gobject-introspection (for WebKitGTK+ bindings)
- glib-networking (for WebKitGTK+)
- gsettings-desktop-schemas (for WebKitGTK+)
- libfixposix
- xclip (for clipboard support)
- enchant (for spellchecking)
- pkg-config (for web-extensions)
- Debian-based distributions:
#+begin_src sh
sudo apt install sbcl libwebkit2gtk-4.0-dev gobject-introspection glib-networking gsettings-desktop-schemas libfixposix-dev pkg-config xclip enchant-2 libssl-dev
#+end_src
- Arch Linux:
#+begin_src sh
sudo pacman -S git sbcl cl-asdf webkit2gtk glib-networking gsettings-desktop-schemas enchant libfixposix
#+end_src
- Fedora:
#+begin_src sh
sudo dnf install sbcl webkit2gtk3-devel glib-networking gsettings-desktop-schemas libfixposix-devel xclip enchant pkgconf
#+end_src
- FreeBSD and derivatives
#+begin_src sh
pkg install sbcl webkit2-gtk3 glib-networking libfixposix xclip enchant rubygem-pkg-config
#+end_src
If your distribution does not install libraries in an [[https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard][FHS]]-expected location, you
have to let know your Lisp compiler where to find them. To do so, add the
library directories to ~cffi:*foreign-library-directories*~ list. For instance,
if you are running Guix you may want to expose =~/.guix-profile/lib= to the
compiler by adding the following snippet to =~/.sbclrc=:
#+begin_src lisp
(require "asdf")
(let ((guix-profile (format nil "~a/.guix-profile/lib/" (uiop:getenv "HOME"))))
(when (and (probe-file guix-profile)
(ignore-errors (asdf:load-system "cffi")))
(push guix-profile
(symbol-value (find-symbol (string '*foreign-library-directories*)
(find-package 'cffi))))))
#+end_src
#+begin_quote
A note of caution about installing WebKit via your package manager: Your
distribution supplied version of WebKit may not provide up-to-date versions of
WebKit including the latest security patches. WebKitGTK+ tries to do the best
job possible with maintaining security patches upstream, but it is also up to
the the distribution provider to update their packages to take advantage of
these fixes.
#+end_quote
*** macOS specific dependencies
- GTK 3.24.12+
- WebKitGTK+
- XQuartz
- libfixposix
- pkg-config
Notes:
1. If you install dependencies via MacPorts and your Lisp is SBCL, please try
putting the following into your =~/.sbclrc=:
#+begin_src lisp
(ql:quickload :cffi)
(pushnew "/opt/local/lib" cffi:*foreign-library-directories* :test #'equal)
#+end_src
2. To install the WebKitGTK+ dependency, you may want to install
`webkit2-gtk(-devel)` instead of `webkit-gtk3` via your favorite package
manager. If you are on a legacy version of macOS which is not supported by
HomeBrew, you may want to try install these via MacPorts.
** Qt dependencies
Qt is only required if you want to build Nyxt over the WebEngine renderer.
*Warning:* It's highly experimental and may not build on =master=.
*** Lisp dependencies
Nyxt on Qt requires the latest version of the cl-webengine library. Clone the
cl-webengine repository into =~/common-lisp= (or [[https://www.common-lisp.net/project/asdf/asdf.html#Configuring-ASDF-to-find-your-systems][another directory where ASDF
will find it]]):
#+begin_src sh
mkdir -p ~/common-lisp
git clone https://github.com/atlas-engineer/cl-webengine.git ~/common-lisp/cl-webengine
#+end_src
Please follow the instructions in the cl-webengine repository for details about
how to install it on your system.
*** GNU/Linux, FreeBSD dependencies
- Qt 5 (qtbase, qtwebchannel, qtdeclarative)
- Qt 5 WebEngine
- libfixposix
- xclip (for clipboard support)
- enchant (for spellchecking)
- pkg-config (for web-extensions)
*** macOS dependencies
- Qt 5.14.0+
- Qt WebEngine
- libfixposix
- pkg-config
** Fetch the source code
Clone the Nyxt repository into =~/common-lisp= (or [[https://www.common-lisp.net/project/asdf/asdf.html#Configuring-ASDF-to-find-your-systems][another directory where ASDF
will find it]]):
#+begin_src sh
mkdir -p ~/common-lisp
git clone --recurse-submodules https://github.com/atlas-engineer/nyxt ~/common-lisp/nyxt
#+end_src
*** Observation
Quicklisp publishes stable releases of Nyxt, but you probably want to run
cutting edge master branch of Nyxt (not the latest stable release). Via
Quicklisp, some users end up installing a stable release instead of running the
frontier of Nyxt's GitHub repository. To have the frotier, please clone Nyxt's
repository at =~/quicklisp/local-projects=.
** Compile
*** Using the Makefile
The following command will build the Lisp core. On macOS this will produce an
application bundle which you can copy into your =/Applications= folder.
- GNU/Linux:
#+begin_src sh
make all
#+end_src
- FreeBSD
#+begin_src sh
gmake all
#+end_src
- macOS:
#+begin_src sh
make all
make app-bundle
#+end_src
Inside the Makefile you'll find many options you can specify. You can specify
to use your Lisp's configuration file or to use your installation of Quicklisp Run ~make~
to display some documentation. Please see the Makefile for more details.
*** Using Lisp
Start your Lisp and run the following commands:
#+NAME: compile
#+begin_src lisp
(asdf:make :nyxt/gtk-application)
#+end_src
or, alternatively for the QtWebEngine renderer:
#+NAME: compile
#+begin_src lisp
(asdf:make :nyxt/qt-application)
#+end_src
Your Lisp implementation must have produced an executable in the directory where
the =.asd= file is located.
* Run Nyxt in a security sandbox
For improved security while you browse the Internet, you can run Nyxt in a
container on GNU/Linux.
- With Guix:
#+begin_src sh
guix shell --container --network --preserve='^DISPLAY$' --expose=/etc/ssl/certs nss-certs nyxt -- nyxt
#+end_src
If you want to load your configuration and use the data files:
#+begin_src sh
guix shell --container --network --preserve='^DISPLAY$' --expose=/etc/ssl/certs --expose="$HOME/.config/nyxt/" --share="$HOME/.local/share/nyxt"="$HOME/.local/share/nyxt/" nss-certs nyxt -- nyxt
#+end_src
If you get the following error:
: libGL error: failed to open /dev/dri/card0: No such file or directory
add the =--expose=/dev/dri/card0= option (change the path accordingly).
- With [[https://firejail.wordpress.com/][Firejail]].
* Hacking
** Run from source
If you are developing Nyxt, you may prefer to run Nyxt directly from source so
that you can skip the compilation step and iterate faster.
Make sure that Quicklisp is set up and up-to-date (see
[[#update-local-lisp-libraries][Update local Lisp libraries]]) as explained in
the Quicklisp section.
Then in a shell execute the following:
1. ~$LISP~ to create a new Lisp REPL (replace ~$LISP~ with ~sbcl~ or any
supported Common Lisp compiler).
2. Execute ~(require :asdf)~ if ASDF is not already loaded.
3. Execute ~(asdf:load-asd "/full/path/to/nyxt.asd")~ to load the Nyxt system
definition (you must use absolute pathnames).
4. Execute ~(ql:quickload :nyxt/gi-gtk)~ to load the Nyxt system into your Lisp
image.
5. Execute ~(nyxt:start)~ to open your first Nyxt window.
The above process is a bit cumbersome and you'll probably want a more
comfortable workflow from within your favourite editor. See the section about
Emacs and SLIME, or see the [[https://lispcookbook.github.io/cl-cookbook/editor-support.html][Common Lisp Cookbook]] for a list of options for
various editors.
** Interacting with a compiled version of Nyxt
*** SLIME
=SLIME= provides a way of interacting with Nyxt, and with Lisp code in general
(e.g. in a [[https://en.wikipedia.org/wiki/REPL][REPL]]).
From the SLIME manual:
#+begin_quote
SLIME extends Emacs with support for interactive programming in Common Lisp.
The features are centered around slime-mode, an Emacs minor-mode that
complements the standard lisp-mode. While lisp-mode supports editing Lisp
source files, slime-mode adds support for interacting with a running Common Lisp
process for compilation, debugging, documentation lookup, and so on.
#+end_quote
To interact with a running instance of the Nyxt browser run the command
=start-swank=. The minibuffer tells you the port where the server started (the
default is 4006). Then, in Emacs run ~M-x slime-connect RET 127.0.0.1 RET
4006~.
Notice that the default value of the variable ~*swank-port*~ in Nyxt is
different from its counterpart variable =slime-port= in Emacs to avoid
collisions with an ~*inferior-lisp*~ process. Both of these default values can
be configured in the respective configuration files.
*** SLY/SLYNK
[[https://github.com/joaotavora/sly][=SLY=]] is a fork of =SLIME= with additional functionality.
**** Quicklisp Setup
*Steps:*
1. Add the following lines to your Nyxt configuration file. If your Quicklisp directory
differs, change it accordingly:
#+NAME: nyxt/config.lisp
#+begin_src lisp
(load (merge-pathnames #p"quicklisp/setup.lisp" (user-homedir-pathname)))
(ql:quickload 'slynk)
;; Note: (nyxt-config-file) points to path/to/your/nyxt/config/directory
(load-after-system :slynk (nyxt-config-file "my-slynk.lisp"))
#+end_src
2. Create a file called =my-slynk.lisp= where you will specify your
=start-slynk= command:
#+NAME: nyxt/my-slynk.lisp
#+begin_src lisp
(define-command-global start-slynk (&optional (slynk-port *swank-port*))
"Start a Slynk server.
Waits for incoming connections, e.g. from SLY.
Warning: This allows Nyxt to be controlled remotely, that is, to execute
arbitrary code with the privileges of the user running Nyxt. Make sure
you understand the security risks associated with this before running
this command."
(slynk:create-server :port slynk-port :dont-close t)
(echo "Slynk server started at port ~a" slynk-port))
#+end_src
3. Run the command =start-slynk= in Nyxt.
4. Proceed as in the previous SLIME section by replacing ~slime-connect~ with
~sly-connect~.
**** Non-Quicklisp Setup
If you aren't using Quicklisp, you can configure Nyxt to start a Sly/Slynk
server with the following steps.
*Steps:*
1. Ensure you have the Sly Package installed for Emacs with
=package-install=. You may also clone the repository from [[https://github.com/joaotavora/sly.git][here]]. Should you
choose to clone the repository, see the appropriate section in step 2.
2. Add the following lines to your Nyxt's =config.lisp= (the configuration file)
depending on whether you are using the Emacs Sly package, or you cloned the
repository:
- If you have installed Sly with =package-install= (or similar method) in
Emacs, add these lines to your =nyxt/config.lisp= :
#+NAME: nyxt/config.lisp
#+begin_src lisp
(asdf:load-system :slynk)
(slynk:create-server :port 4008)
#+end_src
- If you are cloning from git, it's the same as above but with an extra
=push= expression:
#+NAME: nyxt/config.lisp
#+begin_src lisp
(push #p"~/dir/to/newly/cloned/sly/dir" asdf:*central-registry*)
(asdf:load-system :slynk)
(slynk:create-server :port 4008)
#+end_src
2. Create a file called =my-slynk.lisp= in your Nyxt configuration directory
(see =(nyxt-config-file)= where you will create a =start-slynk= command.
#+NAME: nyxt/my-slynk.lisp
#+begin_src lisp
(define-command-global start-slynk (&optional (slynk-port *swank-port*))
"Start a Slynk server.
Waits for incoming connections, e.g. from SLY.
Warning: This allows Nyxt to be controlled remotely, that is, to execute
arbitrary code with the privileges of the user running Nyxt. Make sure
you understand the security risks associated with this before running
this command."
(slynk:create-server :port slynk-port :dont-close t)
(echo "Slynk server started at port ~a" slynk-port))
#+end_src
3. Run the command =start-slynk= in Nyxt with =M-x start-slynk=.
4. Proceed as in the previous SLIME section by replacing ~slime-connect~ with
~sly-connect~. Remember to choose the correct port (in this case, 4008).
** Adding a new Lisp dependency
- Add and shallow clone upstream source as a Git submodule in [[../_build/]]
directory.
- Add dependency name to [[../nyxt.asd]] and [[SOURCES.org][documents/SOURCES.org]].
- Add dependency to [[../build-scripts/nyxt.scm]], [[https://guix.gnu.org/en/packages/][checking]] to make sure Guix
already has it packaged.
* Help & Community
There are several ways to ask for help from the community.
** Issue tracker
The first and easiest one is to simply [[https://github.com/atlas-engineer/nyxt/issues][open up an issue]] with whatever problem or
suggestion you wish to discuss.
** Learning Common Lisp
See https://nyxt.atlas.engineer/learn-lisp for a few recommendations.
** Contributing
Nyxt is a joint effort and we need you to make it succeed! You can find ideas
[[https://github.com/atlas-engineer/nyxt/issues?q=is%3Aissue+is%3Aopen+label%3Agood-first-issue][on our issue tracker]] to suit your interests and skills. Feel free to contact us
at any point if you need guidance.
When ready to start working please fork the repository, add your changes and
open a pull request on GitHub to pass the review process. Refer to the [[*Branch management][branch
management section]] for more detailed information.
You can contribute to Nyxt without commit access. However, if you're a frequent
contributor, you may request it. Remember that with great power comes great
responsibility.
** Commit style
We follow the general Git guidelines, namely we try to commit atomic changes
that are "clean," that is, on which Nyxt builds and starts.
Make sure to make seperate commits in these cases to avoid distracting noise in
commits with actual changes:
- Indentation and whitespace trimming;
- Code movements (within a file or to a different file). In this case, it's
crucial that the commit contains nothing else, otherwise "diffs" may fail to
highlight the changes.
For commit messages, we follow (somewhat flexibly) the convention of prefixing
the title with the basename of the file that was modified. For instance, for
changes in =source/mode/blocker.lisp= the title would look like this:
: mode/blocker: What and why this change.
:
: Rest of the message here.
Your commit should clarify _what_ it does and _why_ (in case it's not already
obvious).
** Branch management
Nyxt uses the following branches:
- =master= for development;
- =<feature-branches>= for very particular situations;
- =<2,3,...>-series= to backport commits corresponding to specific major
versions.
It's recommended to branch off from the target branch and to rebase onto it
right before merging. This keeps the history as clear as possible and reduces
the complexity of the diff.
Unless the changes are trivial and each commit is atomic (that is, leaving Nyxt
fully functional), they should be followed by a merge commit. That is
guaranteed by using the merge option =no-ff= (no fast-forward). If required,
the merge commit can be reworded.
The names of the branches really matter since the merge commit references them,
so please take that into account!
After the changed are merged, please do not forget to delete obsolete or
dangling branches.
Note to core contributors: since you have commit access, you can push trivial
changes directly to the target branch (skipping the review process). The merge
commit is required when at least one commit isn't atomic.
** Programming conventions
We try to follow the usual Common Lisp conventions as recommended by
[[https://www.cs.umd.edu/~nau/cmsc421/norvig-lisp-style.pdf][Norvig & Pitman's Tutorial on Good Lisp Programming Style]] and [[https://google.github.io/styleguide/lispguide.xml][Google Common Lisp
Style Guide]].
For symbol naming conventions, see https://www.cliki.net/Naming+conventions.
We've also developed some of our own:
- Prefer =first= and =rest= over =car= and =cdr= respectively.
- Use =define-class= instead of =defclass=.
- Use =nyxt:define-package= if you want the default imports and the default
package nicknames (e.g. =alex=, =sera=, etc.).
- Export using =export-always= (from Serapeum) next to the symbol definition.
This helps prevent exports to go out-of-sync, or catch typos.
Unlike =export=, =export-always= saves you from surprises upon recompilation.
- When sensible, declaim the function types using =->= (from Serapeum). Note
that there is then no need to mention the type of the arguments and the return
value in the docstring.
- Use the =maybe= and =maybe*= types instead of =(or null ...)= and =(or null
(array * (0)) ...)= respectively.
- We make heavy use of Alexandria and Serapeum, remember to use them instead of
writing the same boilerplate over and over. In particular, note these
systematic uses of Serapeum:
- =sera:eval-always=;
- =export-always=;
- =->= (declaimed types).
- Use =funcall*= to not error when function does not exist.
- Prefer classes over structs. Rationale:
- Class slots have documentation.
- Class allow for full-fledged CLOS use (metaclasses, etc.).
- Structs have read-only slots but it's easy enough to implement them for
classes.
- Structs have better performance, but this is usually micro-optimization, and
even then class implementations can be made more efficient via MOP.
- Classes should be usable with just a =make-instance=.
- Prefer =defmethod= over =defun= if one of the arguments is a user-class. This
allows the user to write specializations of subclasses.
- =customize-instance= is reserved for end users. Use =initialize-instance
:after= or =slot-unbound= to initialize the slots. Set up the rest of the
class in =customize-instance :after=. Bear in mind that anything in this last
method won't be customizable for the end user.
- Almost all files should be handled via the =nfiles= library.
- Specialize =print-object= for recurring class instances.
- =(setf SLOT-WRITER) :after= is reserved for "watchers",
i.e. handlers that are run whenever the slot is set. The =:around= method is
not used by watchers, and thus the watcher may be overridden.
- A function as a slot value is often a sign that it should be a method instead.
Methods give more flexibility to the end user.
Example: Avoid adding a =constructor= slot, make it a method instead.
- Define generic functions (in particular if they are heavily used) using an
explicit call to =defgeneric=, not with just calls to =defmethod=. This
enables proper source location of the generic function (otherwise it cannot be
found), plus it lets you write different documentation for the generic and the
the specialized methods.
- We use the =%foo%= naming convention for special local variables, but this is
rare and ideally they should be avoided.
- We suffix predicates with =-p=. Unlike the usual convention, we always use a
=-= even for single words.
- Prefer the term =url= over =uri=.
- URLs should be of type =quri:uri=. If you need to manipulate a URL string,
call it =url-string=.
- Paths should be of type =cl:pathname=.
Use =uiop:native-namestring= to "send" to OS-facing functions,
=uiop:ensure-pathname= to "receive" from OS-facing functions or to "trunamize".
- Prefer =handler-bind= over =handler-case=: when running from the REPL, this
triggers the debugger with a full stacktrace; when running the Nyxt binary,
all conditions are caught anyways..
- Do not handle the =T= condition, this may break everything. Handle =error= or
exceptionally =condition= (for instance if do not control the called code, and
some libraries subclass =condition= instead of =error=).
# - Conversion functions =FROM->TO= or =->TO= for generic functions. The
# only one that comes to mind is =url= which does not follow this convention...
# - Blocking function should be prefixed with =wait-on-=.
** IRC Channel
#+html: You can find Nyxt on Libera IRC: <a href="https://kiwiirc.com/nextclient/irc.libera.chat/nyxt">#nyxt</a>
# Local Variables:
# eval: (add-hook 'before-save-hook
# (lambda nil (if (fboundp 'org-make-toc)
# (org-make-toc)
# (message-box "Please install org-make-toc.")))
# nil
# t)
# End:
| Org | 5 | atlas-engineer/next | documents/README.org | [
"BSD-3-Clause"
] |
DAFETF NAIF DAF ENCODED TRANSFER FILE
'DAF/CK '
'2'
'6'
'JUNO Reconstructed SC Bus CK File by NAIF/JPL '
BEGIN_ARRAY 1 755
'JUNO SC BUS REC ATT_RECON QUATS '
'1F536AFD75^A'
'1F536B5961^A'
'-EE48'
'1'
'3'
'1'
755
'18CDC18467200D^0'
'B5878A6ED39FB^0'
'-20DC004174A0AC^0'
'AFC0059B63D0D^0'
'344544FE3787BC^0'
'-213CAC590E1E5^-1'
'-20337C84B1DC6C^-1'
'-1F85C630AEFD0C^0'
'-B421A1DDAD3C3^0'
'27CA3449BC3F3E^0'
'-AEAD1CF2EEB948^0'
'34454507E0B8D6^0'
'-213CB0E05D227^-1'
'-20338329039E34^-1'
'3131043BC64C22^0'
'AF1D4D13954458^0'
'-39F691F5BEE70E^0'
'AA8FDF8F24D428^0'
'34454521A5CAB2^0'
'-213CBD3975B14C^-1'
'-2033949BC7B5FC^-1'
'4258BBD8DEA8EC^0'
'A844B2DE1F6BC^0'
'-4B87F42F003778^0'
'A4AA899AB7C09^0'
'3445453B6ADC9^0'
'-213CC94DD61088^-1'
'-2033A65343FD64^-1'
'52CF017883A7F4^0'
'9FAA2166AD0838^0'
'-5C4F440F3D4E84^0'
'9D0CF3C3DC8E38^0'
'344545552FEE6C^0'
'-213CC297D969D8^-1'
'-20336FD5363908^-1'
'6267DC188065A8^0'
'95649D6C14AEC^0'
'-6C1FBEA1BBD1FC^0'
'93CB6A5D5226D^0'
'3445456EF50048^0'
'-213CBA00D375C4^-1'
'-20333217BB6EBC^-1'
'70F9973032CDB4^0'
'898F9D9BA09EB8^0'
'-7ACF1C771DDD7C^0'
'88FEAA6EC2C528^0'
'34454588BA1224^0'
'-213CB1AE85B152^-1'
'-2032F49EF8D412^-1'
'7E5D3C575A6B18^0'
'7C4AC50AB6924C^0'
'-883618194031B8^0'
'7CC3941C8AADCC^0'
'344545A27F24^0'
'-213CA9177FBD3E^-1'
'-2032B6E17E09C6^-1'
'8A6EFCC92508B8^0'
'6DB98EC645B8E^0'
'-9430DA128593A8^0'
'6F3ADB6A96C42^0'
'344545BC4435DC^0'
'-213CA08079C92A^-1'
'-20327924033F7A^-1'
'950E87687ACEE8^0'
'5E02FB9D6FBCFC^0'
'-9E9F5C6AFEC05^0'
'6088ADF977FB9^0'
'344545C08FB8D6^0'
'-213C964D22B754^-1'
'-203281BB09338E^-1'
'9E1F7CC3B12B7^0'
'4D51048C4E23F^0'
'-A765B758B61368^0'
'50D45CB913877^0'
'344545C08FB8D6^0'
'-213C8BD51375DC^-1'
'-203291917C2D92^-1'
'A5899EEDC9FB1^0'
'3BD04D5B8EAD3E^0'
'-AE6C73055B33B^0'
'4047E6FD025248^0'
'344545C08FB8D6^0'
'-213C815D043464^-1'
'-2032A167EF2796^-1'
'AB3919CDC2A74^0'
'29AFA447F35EB2^0'
'-B3A0C520CABF98^0'
'2F0F8DD65BB09A^0'
'344545C08FB8D6^0'
'-213C76E4F4F2EC^-1'
'-2032B13E62219A^-1'
'AF1EB942702BD^0'
'171F834EBAB458^0'
'-B6F4C2D32C6AF8^0'
'1D595E153419B8^0'
'344545C08FB8D6^0'
'-213C6CB19DE116^-1'
'-2032C114D51B9E^-1'
'B13013990F0528^0'
'4518927BA0BDD8^-1'
'-B85F849FE25E^0'
'B54B211932DF8^-1'
'344545C08FB8D6^0'
'-213C6B9EBD2294^-1'
'-2032C227B5DA2^-1'
'B1679F8BF6EEB8^0'
'-E87FBA642E41A^-1'
'-B7DD411288B288^0'
'-6CE44BA21D7F4C^-1'
'344545C08FB8D6^0'
'-213C6B9EBD2294^-1'
'-2032C227B5DA2^-1'
'AFC4C9105D4DF^0'
'-213AA24E852F66^0'
'-B56F555E926DC^0'
'-18DF05F92D16D3^0'
'344545C08FB8D6^0'
'-213C6B9EBD2294^-1'
'-2032C1E2FDAA8^-1'
'AC4BF11E7F8BC^0'
'-33946AD2FF0D5E^0'
'-B11C418C08D9B8^0'
'-2AAD4287A8C52^0'
'344545C08FB8D6^0'
'-213C6B9EBD2294^-1'
'-2032C1E2FDAA8^-1'
'A7066194ABAF58^0'
'-45644320911A18^0'
'-AAEF971E8C7F78^0'
'-3C095D6E3C96^0'
'344545C08FB8D6^0'
'-213C6B9EBD2294^-1'
'-2032C19E457ADE^-1'
'A0022E90589FA^0'
'-567A9D2E686204^0'
'-A2F9D1A3DD509^0'
'-4CC4F3E56A7D78^0'
'34454591511818^0'
'-213C85A8872E6E^-1'
'-2032C9226AB07^-1'
'97521EAC79AC5^0'
'-66A9B5F5B4915C^0'
'-99503F9DFAA75^0'
'-5CB33EF1AD56E4^0'
'3445455DC6F46^0'
'-213CA21CCAE6EE^-1'
'-2032D130004542^-1'
'8D0D6EA87F3AA^0'
'-75C6455617DC0C^0'
'-8E0CB9434F8268^0'
'-6BA9A4F29BC6F8^0'
'3445452A3CD0A8^0'
'-213CBED5C6CF1^-1'
'-2032D9824E09B4^-1'
'814F9474B906E8^0'
'-83A7E391E8D3C8^0'
'-814D5E06097338^0'
'-79802456E62F9^0'
'344544F6B2ACEE^0'
'-213CDB8EC2B73^-1'
'-2032E1D49BCE28^-1'
'7437F64CB41EE8^0'
'-9029734535D8F^0'
'-733444B80D4484^0'
'-8611BDA4882C8^0'
'344544C3288936^0'
'-213CF803066FB^-1'
'-2032E9E23162FA^-1'
'65E98DAFA2E7C4^0'
'-9B2985D371B53^0'
'-63E714D0E14848^0'
'-913CE301B9E0D8^0'
'344544B1FA7D4E^0'
'-213D009A0C63C4^-1'
'-2032DE1289335E^-1'
'568AA20D8F126^0'
'-A48AAF391BB318^0'
'-538EC181F3933C^0'
'-9AE3AA451EA948^0'
'344544A517F46^0'
'-213D070B50DAD2^-1'
'-2032CFD867571E^-1'
'46444DC8F1DD0C^0'
'-AC33DB688AC7B^0'
'-4257006896D37C^0'
'-A2EC43FE901BF8^0'
'34454498356B72^0'
'-213D0D7C9551E2^-1'
'-2032C1E2FDAA8^-1'
'354214FCAB25A2^0'
'-B2108EE18D56C8^0'
'-306DDB3E995CA2^0'
'-A9413569EF32^0'
'3445448B52E284^0'
'-213D13EDD9C8F^-1'
'-2032B3ED93FDE^-1'
'23B171F4DC57D2^0'
'-B6111D11666268^0'
'-1E0335D4F9162C^0'
'-ADD190672711D^0'
'3445447E705996^0'
'-213D1A5F1E3FFE^-1'
'-2032A5F82A514^-1'
'11C15B6E548B36^0'
'-B82AD8795BEA18^0'
'-B485D041A9F71^-1'
'-B091194B0844A8^0'
'3445448B52E284^0'
'-213CEE14678D7A^-1'
'-2032B9073F86CC^-1'
'-5E37CC52B2072C^-2'
'-B8581FAF506DB8^0'
'790A79809F77AC^-1'
'-B1787DB33CB67^0'
'34454498356B72^0'
'-213CBCB005520A^-1'
'-2032CF4EF6F7DE^-1'
'-127CD2276E72BE^0'
'-B698783E4C8E48^0'
'1A557450B4CE53^0'
'-B08553109E32D8^0'
'344544A517F46^0'
'-213C8B06EAE6FA^-1'
'-2032E596AE68F^-1'
'246A005BBCE194^0'
'B2F08DFEFE19C^0'
'-2CD3D9B9F8BD4A^0'
'ADBA22C8794D68^0'
'344544B1FA7D4E^0'
'-213C59A288AB8A^-1'
'-2032FC231E09A2^-1'
'35F5D3006D8E22^0'
'AD6A263DC623^0'
'-3EDA6453D65AAE^0'
'A91E643FD6C0D^0'
'344544BEDD063C^0'
'-213C283E26701C^-1'
'-2033126AD57AB6^-1'
'46F14F049760D^0'
'A61400CACD909^0'
'-5038D50464FABC^0'
'A2BE7AAD22EBF^0'
'344544B1FA7D4E^0'
'-213C27B4B610DA^-1'
'-2032ED5F8BCE22^-1'
'572F1AACA0FFB8^0'
'9D01C16D957C2^0'
'-60C0C46F9FE4D^0'
'9AAB645434D7F^0'
'344544A517F46^0'
'-213C2C44F13A84^-1'
'-2032C227B5DA2^-1'
'6683C9006D15E^0'
'924BA97AFCE53^0'
'-7045FEF4B494C^0'
'90FAB5D3B6F6D^0'
'34454498356B72^0'
'-213C309074348E^-1'
'-203297349815BE^-1'
'74C65A6446F3D^0'
'860E5C9C04A55^0'
'-7E9F0347D5791^0'
'85C6578A21F9C8^0'
'3445448B52E284^0'
'-213C3520AF5E38^-1'
'-20326BFCC221BC^-1'
'81D0AC080ECAD^0'
'786A94EFF7DB54^0'
'-8BA572A6F7B74^0'
'792C3EE2BED18C^0'
'3445447E705996^0'
'-213C396C325842^-1'
'-203240C4EC2DBC^-1'
'8D7FCF58984788^0'
'6984DD121CEBA8^0'
'-973676E81C672^0'
'6B4E2139FB3D3C^0'
'3445447E705996^0'
'-213C2D1319C966^-1'
'-20324F887E693C^-1'
'97B4935A904458^0'
'5984FCE15EF78^0'
'-A13324F07A51^0'
'5C5112D79E0C1C^0'
'3445447E705996^0'
'-213C1F1DB01CC6^-1'
'-203264789CEC2C^-1'
'A053AE41B61CA^0'
'4895BB41F9B958^0'
'-A980C77F74C41^0'
'4C5D2824366B2^0'
'3445447E705996^0'
'-213C10E38E4086^-1'
'-20327968BB6F1C^-1'
'A74611B22F11B8^0'
'36E46139BCF652^0'
'-B00929F0FB6678^0'
'3B9D0A1A12D954^0'
'3445447E705996^0'
'-213C02EE2493E6^-1'
'-20328E1421C26A^-1'
'AC7929E6C80F68^0'
'24A03EFE8748CE^0'
'-B4BAD3D54382A8^0'
'2A3D83F358EC7^0'
'3445447E705996^0'
'-213BF4B402B7A6^-1'
'-2032A30440455A^-1'
'AFDF13901981F8^0'
'11FA24C121EB2F^0'
'-B7893550F848B^0'
'186D0743AFF1E4^0'
'3445447E705996^0'
'-213BF35C69C984^-1'
'-2032A4A091631C^-1'
'B16EB4170D26A^0'
'-DC070DA18F6D8^-2'
'-B86CCE3D17EC1^0'
'65B3AECC395CA^-1'
'3445447E705996^0'
'-213BF3A121F924^-1'
'-2032A45BD9337C^-1'
'B123DEECDFE7B^0'
'-13AFE42298A00E^0'
'-B7633EC2F82688^0'
'-BC78E702BF334^-1'
'3445447E705996^0'
'-213BF3A121F924^-1'
'-2032A45BD9337C^-1'
'AEFF5CF582005^0'
'-264F197EE84E9A^0'
'-B46F4DDA6D3828^0'
'-1DCAD54C8956BD^0'
'3445447E705996^0'
'-213BF3E5DA28C4^-1'
'-2032A4172103DC^-1'
'AB06E9E9932C18^0'
'-3887DB3816EA1E^0'
'-AF98E1F92ED58^0'
'-2F7E6EA7CAD72^0'
'3445447E705996^0'
'-213BF3E5DA28C4^-1'
'-2032A3D268D43C^-1'
'A5451EA949A118^0'
'-4A2984B7F9F0B8^0'
'-A8ECE5DC684B4^0'
'-40B30C64F0CE1^0'
'344544718DD0A8^0'
'-213C1573C96A3^-1'
'-2032B364239E9E^-1'
'9DC9642AAA8128^0'
'-5B04DC7332FD84^0'
'-A07D33E19DAE18^0'
'-513AA4EC88FFC4^0'
'34454464AB47BA^0'
'-213C3A3A5AE724^-1'
'-2032C4922F86C6^-1'
'94A7BEDC8562C^0'
'-6AECCD25EBAA9^0'
'-96605CBFA728^0'
'-60E90488475928^0'
'34454457C8BECC^0'
'-213C5F00EC6416^-1'
'-2032D604F39E8C^-1'
'89F89AB0F0CE3^0'
'-79B6CEFCB072D8^0'
'-8AB16C2281CEE8^0'
'-6F943D9378312C^0'
'3445444AE635DE^0'
'-213C840C3610AA^-1'
'-2032E732FF86B4^-1'
'7DD88A40F249C4^0'
'-873B57039CED9^0'
'-7D8FA09C6D338C^0'
'-7D1517AE0B5A6C^0'
'3445443E03ACEE^0'
'-213CA8D2C78D9E^-1'
'-2032F8610B6EDA^-1'
'7067F1B8B6E2A4^0'
'-93564150E962C^0'
'-6F1E0B4BEC1A4C^0'
'-8947893CBB587^0'
'3445444AE635DE^0'
'-213CAD1E4A87A8^-1'
'-2032E91408D418^-1'
'61CAC6BC813EF4^0'
'-9DE72E48A3EEF^0'
'-5F8355862A8D2C^0'
'-940AE4417FF478^0'
'34454457C8BECC^0'
'-213CADEC73168A^-1'
'-2032D649ABCE2E^-1'
'52281DC9722CF8^0'
'-A6D1DDD8B8BE5^0'
'-4EE93A4DA61D84^0'
'-9D425FEE499698^0'
'34454464AB47BA^0'
'-213CAEBA9BA56C^-1'
'-2032C37F4EC842^-1'
'41A9C58BBADEB8^0'
'-ADFE78F4E6FAD^0'
'-3D7C1DFBC713D8^0'
'-A4D557BA14FE^0'
'344544718DD0A8^0'
'-213CAF88C4344C^-1'
'-2032B0B4F1C258^-1'
'307BD7CDEDF044^0'
'-B359D11FCB5508^0'
'-2B6A98E14916DC^0'
'-AAAF8B59A1175^0'
'3445447E705996^0'
'-213CB09BA4F2D^-1'
'-20329E2F4CEC0E^-1'
'1ECC41257E02A9^0'
'-B6D5995BFE7AE8^0'
'-18E4FCB77EBA79^0'
'-AEC14EEE94619^0'
'344544BA918342^0'
'-213CA0C531F8CC^-1'
'-2032A7D9339EA4^-1'
'CCA4DB8E7DFF^-1'
'-B8687C2AC8D67^0'
'-61CCE05CBB5BA4^-1'
'-B0FFC5479D4D8^0'
'344544FAFE2FE8^0'
'-213C8F0DB5B164^-1'
'-2032B4BBBC8CC2^-1'
'-559DBF20C55008^-1'
'-B80E430A7CECC8^0'
'CBBBB1717C9A08^-1'
'-B164EE6C2ED25^0'
'3445453B6ADC9^0'
'-213C7D9AF1999C^-1'
'-2032C19E457ADE^-1'
'-176FB9DD6D143C^0'
'-B5C7DE47EBC96^0'
'1F723A62B00118^0'
'-AFEFBB2823797^0'
'3445457BD78936^0'
'-213C6C282D81D4^-1'
'-2032CE80CE68FC^-1'
'2946EFFE802326^0'
'B19B62062F6F^0'
'-31D4A64A820452^0'
'ACA4107C3540E8^0'
'344545BC4435DC^0'
'-213C5A70B13A6C^-1'
'-2032DB1E9F2778^-1'
'3AAFB73D43826^0'
'AB93F4F6D9DDF8^0'
'-43B1BF779C1038^0'
'A78ACDF1317D7^0'
'344545B3AD2FE8^0'
'-213C6391278DC2^-1'
'-2032BB71B9337^-1'
'4B7B93CE6D4FA8^0'
'A3C1B995AFCC8^0'
'-54D9D63DC260EC^0'
'A0B18AFCF3B11^0'
'344545A6CAA6FA^0'
'-213C6FA587ECFC^-1'
'-203296EFDFE61E^-1'
'5B7D9D57C7C5B^0'
'9A3999067F53A8^0'
'-651F0C1F4819CC^0'
'982A95102E31A8^0'
'34454599E81E0C^0'
'-213C7B75301C98^-1'
'-2032726E0698CC^-1'
'6A8B04DEEA8F34^0'
'8F150F577213^0'
'-7455DE950774D^0'
'8E0CB84A33D5C8^0'
'3445458D05951E^0'
'-213C8744D84C32^-1'
'-20324E30E57B1A^-1'
'787B89497B8544^0'
'8271E79B51A2^0'
'-82559DDF571BA^0'
'82730120DEBF38^0'
'34454580230C3^0'
'-213C935938AB6E^-1'
'-203229AF0C2DC6^-1'
'8529D4D471F68^0'
'7471FE09B0ADDC^0'
'-8EF8D7D818B05^0'
'757C75467E13AC^0'
'34454580230C3^0'
'-213C8676AFBD5^-1'
'-203234271B6F3E^-1'
'90740BC9148F08^0'
'653AB47E43CA28^0'
'-9A1DC4F31FD8F8^0'
'674BBEAB8814C8^0'
'34454580230C3^0'
'-213C7729AD228E^-1'
'-203243B8D639A2^-1'
'9A3BFE5DE96A4^0'
'54F4B96566E20C^0'
'-A3A697BBC05768^0'
'5806CF452AB514^0'
'34454580230C3^0'
'-213C67DCAA87CA^-1'
'-20325305D8D464^-1'
'A2678437767DA8^0'
'43CB90EF736244^0'
'-AB79D08CB10F1^0'
'47D67C094C153C^0'
'34454580230C3^0'
'-213C588FA7ED08^-1'
'-20326297939EC8^-1'
'A8E0C4145B459^0'
'31ED1F123EF1D8^0'
'-B182821D4887A8^0'
'36E60F983D3CE6^0'
'34454580230C3^0'
'-213C48FDED22A6^-1'
'-203272294E692A^-1'
'AD9671A490A128^0'
'1F89270E3F667B^0'
'-B5B08739F928A8^0'
'2562D652CC448^0'
'34454580230C3^0'
'-213C47EB0C6422^-1'
'-2032733C2F27AE^-1'
'B07BF174EF37A8^0'
'CD0DBA9784DB38^-1'
'-B7F8B3D718BC48^0'
'137BA5525F7358^0'
'34454580230C3^0'
'-213C482FC493C4^-1'
'-203272F776F80C^-1'
'B18984A7DEC59^0'
'-609B302DD66334^-1'
'-B854EE6EDE043^0'
'1605CF3314BB8A^-1'
'34454580230C3^0'
'-213C482FC493C4^-1'
'-203272B2BEC86C^-1'
'B0BC5AFE6D1CA8^0'
'-18D419E638B734^0'
'-B6C441047983C8^0'
'-10BE973294B059^0'
'34454580230C3^0'
'-213C48747CC364^-1'
'-2032726E0698CC^-1'
'AE1699F1138F38^0'
'-2B5C1970EA4DE8^0'
'-B34ADBF5A3748^0'
'-22B0C1FAF2E11A^0'
'34454580230C3^0'
'-213C48B934F304^-1'
'-203272294E692A^-1'
'A99F51D4DEEA08^0'
'-3D70369636851A^0'
'-ADF2076A93ADD8^0'
'-34462B2E3D3B5C^0'
'34454550E46B72^0'
'-213C69BDB3D53^-1'
'-203287A2DD4B5C^-1'
'A362773F37DF78^0'
'-4EE00857AC282C^0'
'-A6C810C7C5C948^0'
'-454FC8A212307C^0'
'3445451D5A47B8^0'
'-213C8E3F8D2282^-1'
'-20329F422DAA9^-1'
'9B70B9E6EC07D^0'
'-5F7CEC75F0AE38^0'
'-9DE0218AB69F3^0'
'-55A00B0D4F48E8^0'
'344544E9D024^0'
'-213CB2C1666FD4^-1'
'-2032B726363966^-1'
'91DF5938CDC94^0'
'-6F1A771C0D9F1C^0'
'-93520B6E25D608^0'
'-650B53CA7141A4^0'
'344544B6460048^0'
'-213CD7433FBD26^-1'
'-2032CEC586989C^-1'
'86C7EBCDAA2898^0'
'-7D8EE78EEFF26C^0'
'-873A08C7464788^0'
'-736868C181E264^0'
'34454482BBDC9^0'
'-213CFBC5190A7A^-1'
'-2032E6A98F2772^-1'
'7A481071DF8DBC^0'
'-8AB39BA7AA983^0'
'-79B861637AD74^0'
'-8090F744D6AFE^0'
'3445447E705996^0'
'-213CFD1CB1F89C^-1'
'-2032D717D45D0E^-1'
'6C813A009BA01C^0'
'-96656961FF8AA^0'
'-6AF13F2E2466CC^0'
'-8C61BB980250F8^0'
'3445447E705996^0'
'-213CFAB2384BF6^-1'
'-2032C3C406F7E4^-1'
'5D98404EE0C9EC^0'
'-A0850BE1125CB^0'
'-5B0C28017BD61^0'
'-96BB1C20471D48^0'
'3445447E705996^0'
'-213CF847BE9F52^-1'
'-2032B02B816316^-1'
'4DB501B6DBC128^0'
'-A8F7721636BCF^0'
'-4A339C68F09E28^0'
'-9F816D52E9B1E^0'
'3445447E705996^0'
'-213CF5DD44F2AC^-1'
'-20329CD7B3FDEC^-1'
'3D01F97F5D584A^0'
'-AFA60697FD3FE8^0'
'-3894A7975E2B04^0'
'-A69D3936577FF^0'
'3445447E705996^0'
'-213CF372CB4606^-1'
'-2032893F2E691E^-1'
'2BABBF2D744ED4^0'
'-B47EEF494E7D9^0'
'-265E6EFA78706E^0'
'-ABFB7C7820A31^0'
'344544DCED9B12^0'
'-213CAFCD7C63EE^-1'
'-20328FF52B0FCE^-1'
'19E0BAF8307535^0'
'-B77532F270A05^0'
'-13C19D50AAB4C1^0'
'-AF8DDC6195465^0'
'3445454401E284^0'
'-213C657230DB26^-1'
'-2032995A5992C4^-1'
'7D0820575AD22C^-1'
'-B880E54B516AB8^0'
'-EFF5D7EF25F948^-2'
'-B14ACBC4FEBBF8^0'
'344545AB1629F4^0'
'-213C1B16E5525E^-1'
'-2032A30440455A^-1'
'-A549EE8B8E691^-1'
'-B79F39D2C5C658^0'
'11E435F94FFC5B^0'
'-B12DA44623837^0'
'344546122A7166^0'
'-213BD0BB99C996^-1'
'-2032AC696EC84E^-1'
'1438D680761589^0'
'B653B021D52518^0'
'-1C1FBA997D44D5^0'
'B055052673C8F^0'
'3445464A8C5EDA^0'
'-213BA80FA07F7^-1'
'-2032B1B29D0B3E^-1'
'1F536AFD75^A'
'1F536AFDD4F8F4^A'
'1F536AFED4F8F4^A'
'1F536AFFD4F8F4^A'
'1F536B00D4F8F4^A'
'1F536B01D4F8F4^A'
'1F536B02D4F8F4^A'
'1F536B03D4F8F4^A'
'1F536B04D4F8F4^A'
'1F536B05D4F8F4^A'
'1F536B06D4F8F4^A'
'1F536B07D4F8F4^A'
'1F536B08D4F8F4^A'
'1F536B09D4F8F4^A'
'1F536B0AD4F8F4^A'
'1F536B0BD4F8F4^A'
'1F536B0CD4F8F4^A'
'1F536B0DD4F8F4^A'
'1F536B0ED4F8F4^A'
'1F536B0FD4F8F4^A'
'1F536B10D4F8F4^A'
'1F536B11D4F8F4^A'
'1F536B12D4F8F4^A'
'1F536B13D4F8F4^A'
'1F536B14D4F8F4^A'
'1F536B15D4F8F4^A'
'1F536B16D4F8F4^A'
'1F536B17D4F8F4^A'
'1F536B18D4F8F4^A'
'1F536B19D4F8F4^A'
'1F536B1AD4F8F4^A'
'1F536B1BD4F8F4^A'
'1F536B1CD4F8F4^A'
'1F536B1DD4F8F4^A'
'1F536B1ED4F8F4^A'
'1F536B1FD4F8F4^A'
'1F536B20D4F8F4^A'
'1F536B21D4F8F4^A'
'1F536B22D4F8F4^A'
'1F536B23D4F8F4^A'
'1F536B24D4F8F4^A'
'1F536B25D4F8F4^A'
'1F536B26D4F8F4^A'
'1F536B27D4F8F4^A'
'1F536B28D4F8F4^A'
'1F536B29D4F8F4^A'
'1F536B2AD4F8F4^A'
'1F536B2BD4F8F4^A'
'1F536B2CD4F8F4^A'
'1F536B2DD4F8F4^A'
'1F536B2ED4F8F4^A'
'1F536B2FD4F8F4^A'
'1F536B30D4F8F4^A'
'1F536B31D4F8F4^A'
'1F536B32D4F8F4^A'
'1F536B33D4F8F4^A'
'1F536B34D4F8F4^A'
'1F536B35D4F8F4^A'
'1F536B36D4F8F4^A'
'1F536B37D4F8F4^A'
'1F536B38D4F8F4^A'
'1F536B39D4F8F4^A'
'1F536B3AD4F8F4^A'
'1F536B3BD4F8F4^A'
'1F536B3CD4F8F4^A'
'1F536B3DD4F8F4^A'
'1F536B3ED4F8F4^A'
'1F536B3FD4F8F4^A'
'1F536B40D4F8F4^A'
'1F536B41D4F8F4^A'
'1F536B42D4F8F4^A'
'1F536B43D4F8F4^A'
'1F536B44D4F8F4^A'
'1F536B45D4F8F4^A'
'1F536B46D4F8F4^A'
'1F536B47D4F8F4^A'
'1F536B48D4F8F4^A'
'1F536B49D4F8F4^A'
'1F536B4AD4F8F4^A'
'1F536B4BD4F8F4^A'
'1F536B4CD4F8F4^A'
'1F536B4DD4F8F4^A'
'1F536B4ED4F8F4^A'
'1F536B4FD4F8F4^A'
'1F536B50D4F8F4^A'
'1F536B51D4F8F4^A'
'1F536B52D4F8F4^A'
'1F536B53D4F8F4^A'
'1F536B54D4F8F4^A'
'1F536B55D4F8F4^A'
'1F536B56D4F8F4^A'
'1F536B57D4F8F4^A'
'1F536B58D4F8F4^A'
'1F536B5961^A'
'1F536AFD75^A'
'1^1'
'5E^2'
END_ARRAY 1 755
TOTAL_ARRAYS 1
~NAIF/SPC BEGIN COMMENTS~
This CK is for testing with the image: /home/acpaquette/juno/JNCR_2016240_01M06152_V01_METHANE_0008.cub
This CK was generated using the following command: {}
~NAIF/SPC END COMMENTS~
| XC | 4 | ladoramkershner/ale | tests/pytests/data/JNCR_2016240_01M06152_V01/juno_sc_rec_160821_160827_v01_1_sliced_-61000.xc | [
"Unlicense"
] |
last yield continuation = nil
last result continuation = nil
yield (n, yield continuation) =
last yield continuation := yield continuation
last result continuation (nil, n)
coroutine (block) =
run (result continuation) =
last result continuation := result continuation
if (last yield continuation)
last yield continuation ()
else
block
last yield continuation := nil
last result continuation := nil
strings = coroutine
yield! 1
yield! 2
yield! 3
console.log (strings!)
console.log (strings!)
console.log (strings!)
console.log 'finished'
| PogoScript | 3 | featurist/pogoscript | examples/coroutines.pogo | [
"BSD-2-Clause"
] |
/* This is the StyleCatcher theme addition. Do not remove this block. */
@import url(<$mt:SupportDirectoryURL$>theme_static/rainier/css/base.css);
@import url(<$mt:SupportDirectoryURL$>theme_static/rainier/css/rainier-white/screen.css);
/* end StyleCatcher imports */
<mt:Assets type="image" tag="@SITE_COVER_IMAGE" limit="1">
#header #header-inner #header-content {
background-image: url(<$mt:AssetThumbnailURL encode_html="1">);
}
</mt:Assets> | MTML | 3 | movabletype/mt-theme-rainier | themes/rainier/templates/styles.mtml | [
"MIT"
] |
Import mojo
Import brl.httprequest
Class MyApp Extends App Implements IOnHttpRequestComplete
Field get_req:HttpRequest,post_req:HttpRequest
Method OnHttpRequestComplete:Void( req:HttpRequest )
If req=get_req
Print "Http GET complete!"
Else
Print "Http POST complete!"
Endif
Print "Status="+req.Status()
Print "ResponseText="+req.ResponseText()
End
Method OnCreate()
get_req=New HttpRequest( "GET","http://posttestserver.com",Self )
get_req.Send
post_req=New HttpRequest( "POST","http://posttestserver.com/post.php",Self )
post_req.Send "Hello World!"
SetUpdateRate 60
End
Method OnUpdate()
If KeyHit( KEY_CLOSE ) Error ""
UpdateAsyncEvents
End
Method OnRender()
Cls
DrawText "Http GET bytes received="+get_req.BytesReceived(),0,0
DrawText "Http POST bytes received="+post_req.BytesReceived(),0,12
End
End
Function Main()
New MyApp
End | Monkey | 4 | blitz-research/monkey | bananas/mak/httprequest/httprequest.monkey | [
"Zlib"
] |
"""
https://en.wikipedia.org/wiki/Component_(graph_theory)
Finding connected components in graph
"""
test_graph_1 = {0: [1, 2], 1: [0, 3], 2: [0], 3: [1], 4: [5, 6], 5: [4, 6], 6: [4, 5]}
test_graph_2 = {0: [1, 2, 3], 1: [0, 3], 2: [0], 3: [0, 1], 4: [], 5: []}
def dfs(graph: dict, vert: int, visited: list) -> list:
"""
Use depth first search to find all vertices
being in the same component as initial vertex
>>> dfs(test_graph_1, 0, 5 * [False])
[0, 1, 3, 2]
>>> dfs(test_graph_2, 0, 6 * [False])
[0, 1, 3, 2]
"""
visited[vert] = True
connected_verts = []
for neighbour in graph[vert]:
if not visited[neighbour]:
connected_verts += dfs(graph, neighbour, visited)
return [vert] + connected_verts
def connected_components(graph: dict) -> list:
"""
This function takes graph as a parameter
and then returns the list of connected components
>>> connected_components(test_graph_1)
[[0, 1, 3, 2], [4, 5, 6]]
>>> connected_components(test_graph_2)
[[0, 1, 3, 2], [4], [5]]
"""
graph_size = len(graph)
visited = graph_size * [False]
components_list = []
for i in range(graph_size):
if not visited[i]:
i_connected = dfs(graph, i, visited)
components_list.append(i_connected)
return components_list
if __name__ == "__main__":
import doctest
doctest.testmod()
| Python | 5 | JB1959/Python | graphs/connected_components.py | [
"MIT"
] |
// check-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616
#[derive(Clone)]
enum Test<'a> {
Slice(&'a isize)
}
fn main() {}
| Rust | 3 | Eric-Arellano/rust | src/test/ui/issues/issue-15689-2.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
{
"title": "Billedbehandling"
} | JSON | 0 | domwillcode/home-assistant | homeassistant/components/image_processing/translations/da.json | [
"Apache-2.0"
] |
-----BEGIN PGP SIGNATURE-----
Version: Crypt::OpenPGP 1.06
iQEcBAABAgAGBQJSkoiwAAoJELjE6ZtM/TdMOi8H/RxlKR2wQp5l+AGoHnSSSuiT
uM6W0CLaxKHRWln5LsvZpKs5Sg5CHJLl2yULZwauX49dzjlSYPPfsAOHzbHDXqgu
92UjqCA25KGFcL2+jS1o8RDZBxkjc52+RkY4/f822t6RGfBHH3bjLO5hwkeK/6PZ
PQodAMyFA4CFV/k3bQ3SjQl65olsC33Y4CdskFqC2YlO7nduqo8mvvt7h1OwdzPd
IMJuG+jkSGmqZMUpqmdDiTS3SYifVmq5Ei77UhzfIB8n6DjicVXg9Tjz/WxBErfM
1cujs2N1hDXAwqmI6ajiEOky4tbxuK/Ot3CkNiB3iveM1dMytAvXYhw/2ozNhio=
=rg/b
-----END PGP SIGNATURE-----
| Standard ML | 0 | weiminyu/nomulus | core/src/test/resources/google/registry/tmch/dnl-latest.sig | [
"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.
*--------------------------------------------------------------------------------------------*/
import { join } from 'vs/base/common/path';
import { URI } from 'vs/base/common/uri';
import { generateUuid } from 'vs/base/common/uuid';
import * as testUtils from 'vs/base/test/common/testUtils';
export function getRandomTestPath(tmpdir: string, ...segments: string[]): string {
return join(tmpdir, ...segments, generateUuid());
}
export function getPathFromAmdModule(requirefn: typeof require, relativePath: string): string {
return URI.parse(requirefn.toUrl(relativePath)).fsPath;
}
export import flakySuite = testUtils.flakySuite;
| TypeScript | 4 | kklt2002/vscode | src/vs/base/test/node/testUtils.ts | [
"MIT"
] |
package com.baeldung.metrics.core;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
import com.codahale.metrics.CachedGauge;
public class ActiveUsersGauge extends CachedGauge<List<Long>> {
public ActiveUsersGauge(long timeout, TimeUnit timeoutUnit) {
super(timeout, timeoutUnit);
}
@Override
protected List<Long> loadValue() {
return getActiveUserCount();
}
private List<Long> getActiveUserCount() {
// mock reading from database and count the active users, return a fixed value
List<Long> result = new ArrayList<Long>();
result.add(12L);
return result;
}
}
| Java | 4 | zeesh49/tutorials | metrics/src/main/java/com/baeldung/metrics/core/ActiveUsersGauge.java | [
"MIT"
] |
// https://dom.spec.whatwg.org/#nonelementparentnode
interface mixin NonElementParentNode {
Element? getElementById(DOMString elementId);
};
Document includes NonElementParentNode;
DocumentFragment includes NonElementParentNode;
| WebIDL | 4 | Bkucera/jsdom | lib/jsdom/living/nodes/NonElementParentNode.webidl | [
"MIT"
] |
import { test } from './file1';
import { test as test2 } from './file2';
import { test as test3 } from './file3';
import { test as test4 } from './file4';
var obj = { test, test2, test3, test4 };
var nested = { array: [ { test, test2, test3, test4 }]};
function f(test = test2, { test2: t2 } = { test2 }, { t3 = test3 } = {}) {
return [test, t2, t3];
}
export default {
obj,
nested,
test,
test2,
test3,
test4,
f: f()
};
| JavaScript | 3 | 1shenxi/webpack | test/cases/scope-hoisting/renaming-shorthand-5027/module.js | [
"MIT"
] |
import styles from '../styles/Home.module.css'
import Link from 'next/link'
export default function About() {
return (
<div className={styles.container}>
<main className={styles.main}>
<h1>About Page</h1>
<p className={styles.description}>
<Link href="/">
<a>← Go Back</a>
</Link>
</p>
</main>
</div>
)
}
| JavaScript | 4 | blomqma/next.js | examples/with-playwright/pages/about.js | [
"MIT"
] |
nldge::ParticleLogLikeli()
{ decl it, ip,
mss, mbas, ms, my, mx, vw, vwi, dws,
mhi, mhdet, loglikeli, mData,
vxm, vxs, mxm=<>, mxsu=<>, mxsl=<>,
time, timeall, timeran=0, timelik=0, timefun=0, timeint=0, timeres=0;
mData = GetData(m_asY);
mhdet = sqrt((2*M_PI)^m_cY * determinant(m_mMSbE.^2)); // covariance determinant
mhi = invert(m_mMSbE.^2); // invert covariance of measurement shocks
ms = m_vSss + zeros(m_cPar, m_cS); // start particles
mx = m_vXss + zeros(m_cPar, m_cX); // steady state of state and policy
loglikeli = 0; // init likelihood
//timeall=timer();
for(it = 0; it < sizer(mData); it++)
{
mss = rann(m_cPar, m_cSS) * m_mSSbE; // state noise
fg(&ms, ms, mx, mss); // transition prior as proposal
mx = m_oApprox.FastInterpolate(ms); // interpolate
fy(&my, ms, mx, zeros(m_cPar, m_cMS)); // evaluate importance weights
my -= mData[it][]; // observation error
vw = exp(-0.5 * outer(my,mhi,'d')' )/mhdet; // vw = exp(-0.5 * sumr(my*mhi .*my ) )/mhdet;
vw = vw .== .NaN .? 0 .: vw; // no policy can happen for extrem particles
dws = sumc(vw);
if(dws==0) return -.Inf; // or extremely wrong parameters
loglikeli += log(dws/m_cPar) ; // loglikelihood contribution
//timelik += (timer()-time)/100;
//time=timer();
vwi = resample(vw/dws)-1; // selection step in c++
ms = ms[vwi][]; // on normalized weights
mx = mx[vwi][];
}
return loglikeli;
}
| Ox | 3 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/Ox/particle.oxo | [
"MIT"
] |
--TEST--
Test file_get_contents() function : error when passing folder
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) === "WIN") { print "skip - not valid for Windows"; }
?>
--FILE--
<?php
file_get_contents(__DIR__);
?>
--EXPECTF--
Notice: file_get_contents(): Read of %d bytes failed with errno=21 Is a directory in %s on line %d
| PHP | 3 | NathanFreeman/php-src | ext/standard/tests/file/file_get_contents_error_folder.phpt | [
"PHP-3.01"
] |
;Change this file to customize zip2exe generated installers with a classic interface
Page directory
Page instfiles | NSIS | 0 | etaletai13/nwjs-builder-phoenix | assets/nsis/Contrib/zip2exe/Classic.nsh | [
"MIT"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { deepStrictEqual, strictEqual } from 'assert';
import { IConfigurationService } from 'vs/platform/configuration/common/configuration';
import { TestConfigurationService } from 'vs/platform/configuration/test/common/testConfigurationService';
import { TestInstantiationService } from 'vs/platform/instantiation/test/common/instantiationServiceMock';
import { IStorageService } from 'vs/platform/storage/common/storage';
import { ITerminalPersistedHistory, TerminalPersistedHistory } from 'vs/workbench/contrib/terminal/common/history';
import { TestStorageService } from 'vs/workbench/test/common/workbenchTestServices';
function getConfig(limit: number) {
return {
terminal: {
integrated: {
shellIntegration: {
history: limit
}
}
}
};
}
suite('TerminalPersistedHistory', () => {
let history: ITerminalPersistedHistory<number>;
let instantiationService: TestInstantiationService;
let storageService: TestStorageService;
let configurationService: TestConfigurationService;
setup(() => {
configurationService = new TestConfigurationService(getConfig(5));
storageService = new TestStorageService();
instantiationService = new TestInstantiationService();
instantiationService.set(IConfigurationService, configurationService);
instantiationService.set(IStorageService, storageService);
history = instantiationService.createInstance(TerminalPersistedHistory, 'test');
});
test('should support adding items to the cache and respect LRU', () => {
history.add('foo', 1);
deepStrictEqual(Array.from(history.entries), [
['foo', 1]
]);
history.add('bar', 2);
deepStrictEqual(Array.from(history.entries), [
['foo', 1],
['bar', 2]
]);
history.add('foo', 1);
deepStrictEqual(Array.from(history.entries), [
['bar', 2],
['foo', 1]
]);
});
test('should support removing specific items', () => {
history.add('1', 1);
history.add('2', 2);
history.add('3', 3);
history.add('4', 4);
history.add('5', 5);
strictEqual(Array.from(history.entries).length, 5);
history.add('6', 6);
strictEqual(Array.from(history.entries).length, 5);
});
test('should limit the number of entries based on config', () => {
history.add('1', 1);
history.add('2', 2);
history.add('3', 3);
history.add('4', 4);
history.add('5', 5);
strictEqual(Array.from(history.entries).length, 5);
history.add('6', 6);
strictEqual(Array.from(history.entries).length, 5);
configurationService.setUserConfiguration('terminal', getConfig(2).terminal);
configurationService.onDidChangeConfigurationEmitter.fire({ affectsConfiguration: () => true } as any);
strictEqual(Array.from(history.entries).length, 2);
history.add('7', 7);
strictEqual(Array.from(history.entries).length, 2);
configurationService.setUserConfiguration('terminal', getConfig(3).terminal);
configurationService.onDidChangeConfigurationEmitter.fire({ affectsConfiguration: () => true } as any);
strictEqual(Array.from(history.entries).length, 2);
history.add('8', 8);
strictEqual(Array.from(history.entries).length, 3);
history.add('9', 9);
strictEqual(Array.from(history.entries).length, 3);
});
test('should reload from storage service after recreation', () => {
history.add('1', 1);
history.add('2', 2);
history.add('3', 3);
strictEqual(Array.from(history.entries).length, 3);
const history2 = instantiationService.createInstance(TerminalPersistedHistory, 'test');
strictEqual(Array.from(history2.entries).length, 3);
});
});
| TypeScript | 5 | sbj42/vscode | src/vs/workbench/contrib/terminal/test/common/history.test.ts | [
"MIT"
] |
require("open3")
class System {
"""
System class. Holds system-wide relevant methods.
"""
def System exit {
"""
Exit the running Fancy process.
"""
Kernel exit()
}
def System exit: exitcode {
"""
@exitcode Exit code (Fixnum) to be returned to the parent process.
Exit the running Fancy process with a given exit code.
"""
Kernel exit(exitcode)
}
def System do: command_str {
"""
Runs the given string as a system() command.
"""
Kernel system(command_str)
}
def System piperead: command_str {
"""
Runs the given string as a popen() call and returns the output
of the call as a string.
"""
pipe: command_str . readlines map: 'chomp
}
def System pipe: command_str {
"""
@command_str String to run as a command via popen3()
@return @IO@ object representing the command's @STDOUT IO stream.
Runs the given string as a popen3() call and returns a IO handle
that can be read from
"""
in, out, err = Open3 popen3(command_str)
return out
}
def System pipe: command_str do: block {
"""
@command_str String to run as a command via popen3()
@block @Block@ to be called with @STDIN, @STDOUT and @STDERR.
Runs the given string as a popen3() call, passing in a given @Block@.
The @Block@ is expected to take 3 arguments for @STDIN, @STDOUT and @STDERR.
"""
Open3 popen3(command_str, &block)
}
}
| Fancy | 4 | bakkdoor/fancy | lib/rbx/system.fy | [
"BSD-3-Clause"
] |
/*
** Case Study Financial Econometrics 4.3
**
** Purpose:
** Estimate all linear realized t-quasi GAS model parameters (gamma, omega, alpha and beta)
**
** Date:
** 10/01/2015
**
** Author:
** Tamer Dilaver, Koen de Man & Sina Zolnoor
**
** Supervisor:
** L.F. Hoogerheide & S.J. Koopman
**
*/
#include <oxstd.h>
#include <oxdraw.h>
#include <oxprob.h>
#include <maximize.h>
#import <modelbase>
#import <simula>
#include <oxfloat.h>
static decl iB; //Repeats
static decl iSIZE; //Size of time series
static decl iSTEPS; //#Steps to divide the size
static decl iSIMS; //# of Zt ~ N(0,1)
static decl dALPHA; //actually gamma in notes
static decl dBETA;
static decl dOMEGA;
static decl dGAMMA; //:=h_1
static decl dTAU_1;
static decl dTAU_2;
static decl dXI;
static decl dSIGMA2_U;
static decl dPHI; //denoted as \varphi in notes
static decl s_vY; //Simulated returns
static decl s_vX; //Simulated realized measure
static decl s_vDate;
static decl dOMEGA_START;
static decl dBETA_START;
static decl dGAMMA_START;
static decl dXI_START;
static decl dPHI_START;
static decl dTAU_1_START;
static decl dTAU_2_START;
static decl dSIGMA2_U_START;
static decl dLAMBDA_Z_START;
static decl dLAMBDA_U_START;
static decl dRATIO;
/*
** Function: Transform (start) parameters
**
** Input: vTheta [parametervalues]
**
** Output: vThetaStar
*/
fTransform(const avThetaStar, const vTheta){
avThetaStar[0]= vTheta;
avThetaStar[0][0] = log(vTheta[0]);
avThetaStar[0][1] = log((vTheta[2]*vTheta[3])/(1-vTheta[2]*vTheta[3] - vTheta[1])); //aanpassen later
avThetaStar[0][2] = log((vTheta[1])/(1-vTheta[2]*vTheta[3] - vTheta[1])); //aanpassen later
// avThetaStar[0][3] = log(vTheta[3]);
avThetaStar[0][3] = log(vTheta[3]);
avThetaStar[0][4] = vTheta[4];
avThetaStar[0][5] = vTheta[5];
avThetaStar[0][6] = log(vTheta[6]);
// avThetaStar[0][8] = log(vTheta[8]-4)-log(100-vTheta[8]);
// avThetaStar[0][9] = log(vTheta[9]-4)-log(100-vTheta[9]);
return 1;
}
/*
** Function: Extract the parameters from vTheta
**
** Input: adOmega, adBeta, adGamma, adXi, adPhi, adTau_1, adTau_2, adSigma2_u, vTheta){
** 0 1 2 3 4 5 6 7
** Output: 1
*/
fGetPars(const adOmega, const adBeta, const adGamma, const adPhi, const adTau_1, const adTau_2, const adSigma2_u, const vTheta){
adOmega[0] = exp(vTheta[0]);
adBeta[0] = exp(vTheta[2])/(exp(vTheta[1])+exp(vTheta[2])+1);
adGamma[0] = exp(vTheta[1]-vTheta[3])/(exp(vTheta[1])+exp(vTheta[2])+1);
// adXi[0] = exp(vTheta[3]);
adPhi[0] = exp(vTheta[3]);
adTau_1[0] = vTheta[4];
adTau_2[0] = vTheta[5];
adSigma2_u[0] = exp(vTheta[6]);
// adLambda_z[0] = 4+(100-4)*exp(vTheta[8])/(1+exp(vTheta[8]));
// adLambda_u[0] = 4+(100-4)*exp(vTheta[9])/(1+exp(vTheta[9]));
return 1;
}
/*
** Function: Calculates average value loglikelihood for linear realized t-quasi GAS model given parameter values
**
** Input: vTheta [parameter values], adFunc [adress function value], avScore [the score], amHessian [hessian matrix]
**
** Output: 1
**
*/
fLogLike_Real_t_GAS(const vTheta, const adFunc, const avScore, const amHessian){
decl dOmega, dBeta, dGamma, dXi, dPhi, dTau_1, dTau_2, dSigma2_u, dLambda_z, dLambda_u;
dLambda_u = 4;
dLambda_z = 4;
dXi = 0;
fGetPars(&dOmega, &dBeta, &dGamma, &dPhi, &dTau_1, &dTau_2, &dSigma2_u, vTheta);
decl dH = (dOmega +dGamma*dXi)/(1-dBeta-dPhi*dGamma); //initialise with unconditional expectation of log conditional variance //initial condition by definition
decl vEta = zeros(sizerc(s_vY), 1);
for(decl i = 0; i < sizerc(s_vY); ++i){
//likelihood contribution
vEta[i] = -log(M_PI)-1/2*log(dLambda_z-2) -1/2*log(dH) -log(gammafact(dLambda_z/2))+log(gammafact((dLambda_z+1)/2)) -(dLambda_z+1)/2*log(1+ s_vY[i]^2 / ((dLambda_z-2)*dH)) -1/2*log(dLambda_u-2) -1/2*log(dSigma2_u) -log(gammafact(dLambda_u/2))+log(gammafact((dLambda_u+1)/2)) -(dLambda_u+1)/2*log(1+ (s_vX[i] - dXi - dPhi*dH - dTau_1*s_vY[i]/sqrt(dH) - dTau_2*(s_vY[i]^2/dH-1))^2 / ((dLambda_u-2)*dSigma2_u)); //Standardized Student's t
//recursion
dH = dOmega + dGamma*(dLambda_u+3)/dLambda_u*((dLambda_u+1)/(dLambda_u-2)*(1+s_vX[i]/((dLambda_u-2)* dSigma2_u))^(-1)*s_vX[i] - dSigma2_u) + dBeta*dH;
}
adFunc[0] = sumc(vEta)/sizerc(s_vY); //Average
return 1;
}
/*
** Function: Transform parameters back
**
** Input: vThetaStar
**
** Output: vTheta [parametervalues]
*/
fTransformBack(const avTheta, const vThetaStar){
avTheta[0]= vThetaStar;
avTheta[0][0] = exp(vThetaStar[0]);
avTheta[0][1] = exp(vThetaStar[2])/(exp(vThetaStar[1])+exp(vThetaStar[2])+1);
avTheta[0][2] = exp(vThetaStar[1]-vThetaStar[3])/(exp(vThetaStar[1])+exp(vThetaStar[2])+1);
// avTheta[0][3] = exp(vThetaStar[3]);
avTheta[0][3] = exp(vThetaStar[3]);
avTheta[0][4] = vThetaStar[4];
avTheta[0][5] = vThetaStar[5];
avTheta[0][6] = exp(vThetaStar[6]);
// avTheta[0][8] = 4+(100-4)*exp(vThetaStar[8])/(1+exp(vThetaStar[8]));
// avTheta[0][9] = 4+(100-4)*exp(vThetaStar[9])/(1+exp(vThetaStar[9]));
return 1;
}
/*
** Function: calculate standard errors
**
** Input: vThetaStar
**
** Output: vStdErrors
*/
fSigmaStdError(const vThetaStar){
decl iN, mHessian, mHess, mJacobian, vStdErrors, vP;
iN = sizerc(s_vY);
Num2Derivative(fLogLike_Real_t_GAS, vThetaStar, &mHessian);
NumJacobian(fTransformBack, vThetaStar, &mJacobian); //numerical Jacobian
mHessian = mJacobian*invert(-iN*mHessian)*mJacobian';
vStdErrors = sqrt(diagonal(mHessian)');
return vStdErrors;
}
/*
** Function: calculate variance of model
**
** Input: vTheta
**
** Output: vH [vector with variances]
*/
fVariance(const vTheta){
decl dOmega, dBeta, dGamma, dXi, dPhi, dTau_1, dTau_2, dSigma2_u, dLambda_z, dLambda_u, vH;
dLambda_u = 4;
dLambda_z = 4;
dXi = 0;
fGetPars(&dOmega, &dBeta, &dGamma, &dPhi, &dTau_1, &dTau_2, &dSigma2_u, vTheta);
vH = zeros(sizerc(s_vY),1);
vH[0] = (dOmega +dGamma*dXi)/(1-dBeta-dPhi*dGamma);
for(decl i = 1; i < sizerc(s_vY); i++){ //mixed
vH[i] = dOmega + dGamma*(dLambda_u+3)/dLambda_u*((dLambda_u+1)/(dLambda_u-2)*(1+s_vX[i-1]/((dLambda_u-2)*dSigma2_u))^(-1)*s_vX[i-1] - dSigma2_u) + dBeta*vH[i-1];
}
return vH;
}
/*
** Function: Estimate linear realized t-quasi GAS model parameters
**
** Input: vReturns, vRealMeasure, adOmega_hat, adBeta_hat, adGamma_hat, adPhi_hat, adTau_1_hat, adTau_2_hat, adSigma2_u_hat, avVariance
**
** Output: vTheta [estimated parametervalues]
*/
fEstimateReal_t_GAS(const vReturns, const vRealMeasure, const adOmega_hat, const adBeta_hat, const adGamma_hat, const adPhi_hat, const adTau_1_hat, const adTau_2_hat, const adSigma2_u_hat, const avVariance){
//initialise parameter values
decl vTheta = zeros(7,1);
vTheta[0] = dOMEGA_START;
vTheta[1] = dBETA_START;
vTheta[2] = dGAMMA_START;
// vTheta[3] = dXI_START;
vTheta[3] = dPHI_START;
vTheta[4] = dTAU_1_START;
vTheta[5] = dTAU_2_START;
vTheta[6] = dSIGMA2_U_START;
// vTheta[8] = dLAMBDA_Z_START;
// vTheta[9] = dLAMBDA_U_START;
// vTheta = <-2.7129 ; 0.70111 ; 0.29256 ; 9.0774 ; 0.99598 ; -0.0066165 ; 0.099432 ; 0.21021 ; 7 ; 7>; //note we changed starting value because no improvement in linesearch
//we picked optimal values Gaussian version
decl vThetaStart = vTheta;
//globalalize returns and vectorize true pars
s_vY = vReturns;
s_vX = vRealMeasure;
//transform parameters
decl vThetaStar;
fTransform(&vThetaStar, vTheta);
//Maximize the LL
decl dFunc;
decl iA;
iA=MaxBFGS(fLogLike_Real_t_GAS, &vThetaStar, &dFunc, 0, TRUE);
//Transform thetasStar back
fTransformBack(&vTheta, vThetaStar);
//return pars
adOmega_hat[0] = vTheta[0];
adBeta_hat[0] = vTheta[1];
adGamma_hat[0] = vTheta[2];
// adXi_hat[0] = vTheta[3];
adPhi_hat[0] = vTheta[3];
adTau_1_hat[0] = vTheta[4];
adTau_2_hat[0] = vTheta[5];
adSigma2_u_hat[0] = vTheta[6];
// adLambda_z_hat[0] = vTheta[8];
// adLambda_u_hat[0] = vTheta[9];
decl vSigmaStdError = fSigmaStdError(vThetaStar);
decl vVariance = fVariance(vThetaStar);
avVariance[0] = vVariance;
print("\n",MaxConvergenceMsg(iA));
println("\nFunctiewaarde likelihood eindwaardes:", dFunc);
print("\nOptimale parameters met standaarderrors \n",
"%r", { "omega", "beta", "gamma", "xi=0", "phi","tau_1","tau_2","sigma2_u","lambda_z=4","lambda_u =4"},
"%c", {"thetaStart","theta","std.error"}, (vThetaStart[0:2]'~0~vThetaStart[3:6]'~4~4)'~(vThetaStart[0:2]'~0~vThetaStart[3:6]'~4~4)'~(vSigmaStdError[0:2]'~0~vSigmaStdError[3:6]'~0~0)');
return 1;
}
/*
** Function: Determine Forecast
**
** Input: vTheta
**
** Output: vH [vector of forecasts]
*/
fForecast(const vTheta){
decl dOmega, dBeta, dGamma, dXi, dPhi, dTau_1, dTau_2, dSigma2_u, dLambda_z, dLambda_u, vH;
fGetPars(&dOmega, &dBeta, &dGamma, &dPhi, &dTau_1, &dTau_2, &dSigma2_u, vTheta);
dLambda_u =4;
dLambda_u =4;
dXi = 0;
vH = zeros((sizerc(s_vY)+1),1);
vH[0] = (dOmega +dGamma*dXi)/(1-dBeta-dPhi*dGamma);
for(decl i = 1; i < sizerc(s_vY)+1; i++){
vH[i] = dOmega + dGamma*(dLambda_u+3)/dLambda_u*((dLambda_u+1)/(dLambda_u-2)*(1+s_vX[i-1]/((dLambda_u-2)*dSigma2_u))^(-1)*s_vX[i-1] - dSigma2_u) + dBeta*vH[i-1];
}
return vH[sizerc(s_vY)];
}
/*
** Function: Compute MAE and MSE
**
** Input: adMAE_OC [adress of MAE], adMSE_OC [adress of MSE] vReturns_1 [return series], vBenchmark [Benchmark], dC [ratio]
**
** Output: 1
*/
fMAE(const adMAE, const adMSE, const vReturns, const vRV, const vBenchmark, const dC){
decl iWindow = 250;
decl iT = sizerc(vReturns);
// decl vTemp_returns = vReturns_1;
decl vH_forecast = zeros(iWindow, 1);
decl vError = zeros(iWindow, 1);
dOMEGA_START = 0.098956;
dBETA_START = 0.64342;
dGAMMA_START = 0.45721;
// dXI_START = 0.12208;
dPHI_START = 0.72717;
dTAU_1_START = -0.034277;
dTAU_2_START = 0.28478 ;
dSIGMA2_U_START = 0.2122;
// dLAMBDA_Z_START = 10;
// dLAMBDA_U_START = 4
for(decl j = 0; j<iWindow; j++){
s_vY = vReturns[j:(iT - iWindow +j)];
s_vX = vRV[j:(iT - iWindow +j)];
//initialise parametervalues
decl vTheta = zeros(7,1);
vTheta[0] = dOMEGA_START;
vTheta[1] = dBETA_START;
vTheta[2] = dGAMMA_START;
// vTheta[3] = dXI_START;
vTheta[3] = dPHI_START;
vTheta[4] = dTAU_1_START;
vTheta[5] = dTAU_2_START;
vTheta[6] = dSIGMA2_U_START;
// vTheta[8] = dLAMBDA_Z_START;
// vTheta[9] = dLAMBDA_U_START;
//transform parameters
decl vThetaStar;
fTransform(&vThetaStar, vTheta);
//Maximize the LL
decl dFunc;
decl iA;
iA=MaxBFGS(fLogLike_Real_t_GAS, &vThetaStar, &dFunc, 0, TRUE);
//Transform thetasStar back
fTransformBack(&vTheta, vThetaStar);
dOMEGA_START = vTheta[0];
dBETA_START = vTheta[1];
dGAMMA_START = vTheta[2];
// dXI_START = vTheta[3];
dPHI_START = vTheta[3];
dTAU_1_START = vTheta[4];
dTAU_2_START = vTheta[5];
dSIGMA2_U_START = vTheta[6];
// dLAMBDA_Z_START = vTheta[8];
// dLAMBDA_U_START = 99.9999;
vH_forecast[j] = fForecast(vThetaStar);
vError[j] = (dC*vH_forecast[j] - dRATIO*vBenchmark[(iT - iWindow +j)]);
}
if(dC==1){
savemat("vAE_CC_RK_LINEAR_RK_t-QuasiREALGAS.xls", fabs(vError));
DrawTMatrix(0, (dC*vH_forecast~dRATIO*vBenchmark[iT-iWindow:])', {"Close-to-close"}, s_vDate[iT-iWindow:]');
// ShowDrawWindow();
}else{
savemat("vAE_OC_RK_LINEAR_RK_t-QuasiREALGAS.xls", fabs(vError));
// SetDrawWindow("CS_EMP_10_FORECASTS");
DrawTMatrix(1, (dC*vH_forecast~dRATIO*vBenchmark[iT-iWindow:])', {"Open-to-close"}, s_vDate[iT-iWindow:]');
// ShowDrawWindow();
}
adMAE[0] = meanc(fabs(vError));
adMSE[0] = meanc(sqr(vError));
return 1;
}
/*
** MAIN PROGRAM
**
** Purpose: Estimate linear realized t-quasi GAS model parameters
**
** Output: Figures
*/
main(){
//laad SBUX returns
decl mData_1 = loadmat("ReturnsOpenToClose.csv");
decl mData_2 = loadmat("ReturnsCloseToClose.csv");
decl vReturns_1 = 100*mData_1[:][1];
decl vReturns_2 = 100*mData_2[:][1];
decl vRV = loadmat("RV.csv");
decl vBV = loadmat("BV.csv");
decl vRK = loadmat("RK.csv");
dRATIO = (varc(vReturns_1) +varc(vReturns_2))/varc(vReturns_1);
s_vX = vRK; //pick vRV, vBV or vKV
//laad Dates SBUX returns
decl vTemp_Date = mData_2[][0];
decl vYear = floor(vTemp_Date/10000);
decl vMonth = floor((vTemp_Date-floor(vTemp_Date/10000)*10000)/100);
decl vDay = vTemp_Date-floor(vTemp_Date/100)*100;
s_vDate = dayofcalendar(vYear, vMonth, vDay);
dOMEGA_START = 2.1514;
dBETA_START = 0.50939;
dGAMMA_START = 0.38231;
dPHI_START = 0.56632;
dTAU_1_START = -0.10168;
dTAU_2_START = 0.34765 ;
dSIGMA2_U_START = 3.9044;
// thetaStart theta std.error
//omega 0.098956 2.1514 .NaN
//beta 0.64342 0.50939 .NaN
//gamma 0.45721 0.38231 .NaN
//xi 0.12208 2.1649e-225 .NaN
//phi 0.72717 0.56632 .NaN
//tau_1 -0.034277 -0.10168 .NaN
//tau_2 0.28478 0.34765 .NaN
//sigma2_u 0.21220 3.9044 .NaN
//lambda_z 4.0000 4.0000 0.0000
//lambda_u =4 4.0000 4.0000 0.0000
decl dOmega_hat, dBeta_hat, dGamma_hat, dXi_hat, dPhi_hat, dTau_1_hat, dTau_2_hat, dSigma2_u_hat, dLambda_z;
decl vVariance_1, vVariance_2;
print("\nO-C");
fEstimateReal_t_GAS(vReturns_1, s_vX, &dOmega_hat, &dBeta_hat, &dGamma_hat, &dPhi_hat, &dTau_1_hat, &dTau_2_hat, &dSigma2_u_hat, &vVariance_1);
print("\nC-C");
fEstimateReal_t_GAS(vReturns_2, s_vX, &dOmega_hat, &dBeta_hat, &dGamma_hat, &dPhi_hat, &dTau_1_hat, &dTau_2_hat, &dSigma2_u_hat, &vVariance_2);
//graphs
SetDrawWindow("CS_EMP_11_linear_t-QuasiRealGAS(1,1)");
DrawTMatrix(0, (vReturns_1~sqrt(vVariance_1))', {"Open-to-close"}, s_vDate');
DrawTMatrix(1, (vReturns_2~sqrt(vVariance_2))', {"Close-to-close"}, s_vDate');
ShowDrawWindow();
//forecasts MAE and MSE
decl vBenchmark = vRV;
decl dMAE_OC;
decl dMSE_OC;
SetDrawWindow("CS_EMP_10_FORECASTS");
fMAE(&dMAE_OC, &dMSE_OC, vReturns_1, vRV, vBenchmark, dRATIO);
print("\n dMAE_OC = ",dMAE_OC);
print("\n dMSE_OC = ",dMSE_OC);
decl dMAE_CC;
decl dMSE_CC;
fMAE(&dMAE_CC, &dMSE_CC, vReturns_2, vRV, vBenchmark, 1);
print("\n dMAE_CC = ",dMAE_CC);
print("\n dMSE_CC = ",dMSE_CC);
ShowDrawWindow();
} | Ox | 5 | tamerdilaver/Group4_Code_Data | CS_EMP_11_linear_t-QuasiRealGAS.ox | [
"MIT"
] |
key botID;
default
{
state_entry()
{
//Creates the bot in the sim
botID = botCreateBot("Test", "Bot", "", llGetPos(), BOT_CREATE_DEFAULT);
}
touch_start(integer n)
{
//Causes the bot to give the object that is in the
// object that contains this script to the specified
// user. Bots can only give inventory to users that are
// currently in the same sim as the bot.
string inventoryItem = "New Script";
key userToGiveItemTo = llGetOwner();
botGiveInventory(botID, userToGiveItemTo, inventoryItem);
}
} | LSL | 4 | Asterionworld/ether | doc/bot LSL Functions/Examples/bot Give Object.lsl | [
"BSD-3-Clause"
] |
F_{n} \alpha \phi^{n} | TeX | 0 | sethaldini/paip-lisp | docs/images/chapter9/si2_e.tex | [
"MIT"
] |
#!/usr/bin/awk -f
# Copyright (c) 2016 Scott Vokes <vokes.s@gmail.com>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
BEGIN {
GREEN = "\033[32m"
RED = "\033[31m"
YELLOW = "\033[33m"
RESET = "\033[m"
}
/^PASS/ { sub("PASS", GREEN "PASS" RESET) }
/^SKIP/ { sub("SKIP", YELLOW "SKIP" RESET) }
/^FAIL/ { sub("FAIL", RED "FAIL" RESET) }
# highlight hexdump difference markers
/^[0-9a-f]/ {
sub("X", GREEN "X" RESET, $2)
gsub("<", GREEN "<" RESET, $0)
}
{ print($0) }
| Awk | 4 | ckiee/dunst | test/greenest.awk | [
"BSD-3-Clause"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.monaco-workbench .debug-toolbar {
position: absolute;
z-index: 39;
height: 32px;
display: flex;
padding-left: 7px;
}
.monaco-workbench .debug-toolbar .monaco-action-bar .action-item {
margin-right: 4px;
}
.monaco-workbench .debug-toolbar .monaco-action-bar .action-item.select-container {
margin-right: 7px;
}
.monaco-workbench .debug-toolbar .monaco-action-bar .action-item.select-container .monaco-select-box,
.monaco-workbench .start-debug-action-item .select-container .monaco-select-box {
padding: 0 22px 0 6px;
}
.monaco-workbench .debug-toolbar .drag-area {
cursor: grab;
width: 16px;
opacity: 0.5;
display: flex;
align-items: center;
justify-content: center;
}
.monaco-workbench .debug-toolbar .drag-area.dragged {
cursor: grabbing;
}
.monaco-workbench .debug-toolbar .monaco-action-bar .action-item .action-label {
margin-right: 0;
background-size: 16px;
background-position: center center;
background-repeat: no-repeat;
display: flex;
align-items: center;
justify-content: center;
}
| CSS | 3 | sbj42/vscode | src/vs/workbench/contrib/debug/browser/media/debugToolBar.css | [
"MIT"
] |
(* Parsing yum's config files *)
module Yum =
autoload xfm
(************************************************************************
* INI File settings
*************************************************************************)
let comment = IniFile.comment "#" "#"
let sep = IniFile.sep "=" "="
let empty = Util.empty
let eol = IniFile.eol
(************************************************************************
* ENTRY
*************************************************************************)
let list_entry (list_key:string) =
let list_value = store /[^# \t\r\n,][^ \t\r\n,]*[^# \t\r\n,]|[^# \t\r\n,]/ in
let list_sep = del /([ \t]*(,[ \t]*|\r?\n[ \t]+))|[ \t]+/ "\n\t" in
[ key list_key . sep . Sep.opt_space . list_value ]
. (list_sep . Build.opt_list [ label list_key . list_value ] list_sep)?
. eol
let entry_re = IniFile.entry_re - ("baseurl" | "gpgkey" | "exclude")
let entry = IniFile.entry entry_re sep comment
| empty
let entries =
let list_entry_elem (k:string) = list_entry k . entry*
in entry*
| entry* . Build.combine_three_opt
(list_entry_elem "baseurl")
(list_entry_elem "gpgkey")
(list_entry_elem "exclude")
(***********************************************************************a
* TITLE
*************************************************************************)
let title = IniFile.title IniFile.record_re
let record = [ title . entries ]
(************************************************************************
* LENS & FILTER
*************************************************************************)
let lns = (empty | comment)* . record*
let filter = (incl "/etc/yum.conf")
. (incl "/etc/yum.repos.d/*.repo")
. (incl "/etc/yum/yum-cron*.conf")
. (incl "/etc/yum/pluginconf.d/*")
. (excl "/etc/yum/pluginconf.d/versionlock.list")
. (incl "/etc/dnf/dnf.conf")
. (incl "/etc/dnf/automatic.conf")
. (incl "/etc/dnf/plugins/*.conf")
. Util.stdexcl
let xfm = transform lns filter
(* Local Variables: *)
(* mode: caml *)
(* End: *)
| Augeas | 4 | zwass/launcher | pkg/augeas/assets/lenses/yum.aug | [
"MIT"
] |
<!DOCTYPE html>
<html>
<head>
<!-- Styles -->
<link rel="stylesheet" type="text/css" media="screen, projection" href="css/pdftest.css" />
<style>
body {
width: 100%;
height: 100%;
background-color:#000;
}
body {
margin: 0;
padding: 0;
overflow: scroll;
position: relative;
}
webview {
position: relative;
display: block;
max-width: 190px;
max-height: 100px;
margin-left: auto;
margin-right: auto;
text-align: center;
}
.wbv {
}
li {
display: block;
border: 1px solid gray;
border-radius: 7px;
}
td {
margin-left: auto;
margin-right: auto;
text-align: center;
}
</style>
<script src="vendor/jquery.min.js"></script>
</head>
<body>
<div id="header" style="position: fixed; background-color: #000000; height: 80px; width: 100%; z-index: 100;">
<div id="versions" style="position: fixed;">
NWjs version - <script>document.write(process.versions['nw']);</script><br />
IO.js/node.js version - <script>document.write(process.versions['node']);</script><br />
Chromium version - <script>document.write(process.versions['chromium']);</script><br />
</div>
<img src="hornybsd.png" style="position: fixed; top: 20px; right: 30px; width: 48px; height: 48px;" alt="hornydevil" />
</div>
<div id="container" style=" z-index: 99;">
<ul id="ul" style="position: absolute; top: 90px; left: 30px; width: 90%; margin-left: auto; margin-right: auto; text-align: center;">
<br />
<br />
<li style="left: 10px; padding: 10px; width: 100%;">
<table style="border: 1px solid gray; width: 99%; border-collapse: none;">
<tr>
<td style="border: 1px solid orange; width: 25%;">
<h2 style="color: red;">Flash - webview tag<h2>
<webview partition="trusted" src="test.swf" class="wbv"></webview>
</td>
</tr>
</table>
</li>
<br />
<li style="left: 10px; padding: 10px; width: 100%;">
<table style="border: 1px solid gray; width: 99%; border-collapse: none;">
<tr>
<td style="border: 1px solid orange; width: 33%;">
<h2 style="color: red;">PDF - webview tag<h2>
<webview partition="trusted" src="test.pdf" class="wbv"></webview>
</td>
<!-- <td style="border: 1px solid orange; width: 33%;">
<h2 style="color: red;">PDF - embed tag<h2>
<embed src="test.pdf" style="max-width: 190px; max-height: 100px;" />
</td> -->
<td style="border: 1px solid orange; width: 33%;">
<h2 style="color: red;">PDF - object tag<h2>
<object style="color: blue; max-width: 190px; max-height: 100px;" data="test.pdf">Alternative Content Here (gifs etc)</object>
</td>
</tr>
</table>
</li>
<br />
<li style="left: 10px; padding: 10px; width: 100%;">
<table style="border: 1px solid gray; width: 99%; border-collapse: none;">
<tr>
<td style="border: 1px solid orange; width: 25%;">
<h2 style="color: red;">Flash - webview tag<h2>
<webview partition="trusted" src="test.swf" class="wbv"></webview>
</td>
</tr>
</table>
</li>
<br />
<br />
</ul>
</div>
<script type="text/javascript">
// var wbv = document.getElementById('wbv');
// console.log(wbv);
// var wbv2 = document.getElementById('wbv2');
// console.log(wbv2);
var webview = document.getElementById('wbv');
//webview.addEventListener('permissionrequest', function (e) {
//console.log("webview"+objCount+": permission - "+e.permission);
// if (e.permission === 'loadplugin') {
// if(userSession.allowPlugins) {
// e.request.allow();
// } else {
// // e.request.deny();
// }
// }
// if (e.permission === 'download') {
// e.request.allow();
// }
// // media
// if (e.permission === 'media') {
// e.request.allow();
// }
// if (e.permission === 'geolocation') {
// e.request.deny();
// }
//});
</script>
<br />
<br />
</body>
</html>
| HTML | 3 | frank-dspeed/nw.js | test/sanity/issue6171-sdk-start-crash/index.html | [
"MIT"
] |
type DeepOptions = {
PropB: string;
};
type Options = {
/**
* This jsdoc will be ignored
*/
PropA: string;
TestProps: DeepOptions;
};
export default function Foo(props: Options) {
const { PropA, TestProps } = props;
return <div></div>;
}
| TypeScript | 4 | omidtajik/material-ui | packages/typescript-to-proptypes/test/options-test/input.tsx | [
"MIT"
] |
--TEST--
Hash: snefru algorithm
--FILE--
<?php
echo hash('snefru', ''), "\n";
echo hash('snefru', 'The quick brown fox jumps over the lazy dog'), "\n";
echo hash('snefru', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'), "\n";
echo hash('snefru', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'), "\n";
echo hash('snefru', 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'), "\n";
?>
--EXPECT--
8617f366566a011837f4fb4ba5bedea2b892f3ed8b894023d16ae344b2be5881
674caa75f9d8fd2089856b95e93a4fb42fa6c8702f8980e11d97a142d76cb358
94682bc46e5fbb8417e2f3e10ed360484048d946bb8cbb0ea4cad2700dbeaab0
c54c602ac46383716ee7200a76c9c90a7b435bbe31d13f04e0b00a7ea5c347fa
7a8539c59e192e8d70b1ab82aa86a1b54560d42020bda4e00ddd6d048fe3bcaa
| PHP | 4 | thiagooak/php-src | ext/hash/tests/snefru.phpt | [
"PHP-3.01"
] |
#!/bin/bash
sudo apt-get update
# also install ssh to avoid error of:
# --------------------------------------------------------------------------
# The value of the MCA parameter "plm_rsh_agent" was set to a path
# that could not be found:
# plm_rsh_agent: ssh : rsh
sudo apt-get install -y ssh
sudo apt-get install -y --allow-downgrades --allow-change-held-packages openmpi-bin libopenmpi-dev
| Shell | 3 | Hacky-DH/pytorch | .circleci/docker/common/install_openmpi.sh | [
"Intel"
] |
// Copyright 2019 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build libfuzzer
// +build libfuzzer
#include "go_asm.h"
#include "go_tls.h"
#include "textflag.h"
// Based on race_amd64.s; see commentary there.
#ifdef GOOS_windows
#define RARG0 CX
#define RARG1 DX
#else
#define RARG0 DI
#define RARG1 SI
#endif
// void runtime·libfuzzerCall(fn, arg0, arg1 uintptr)
// Calls C function fn from libFuzzer and passes 2 arguments to it.
TEXT runtime·libfuzzerCall(SB), NOSPLIT, $0-24
MOVQ fn+0(FP), AX
MOVQ arg0+8(FP), RARG0
MOVQ arg1+16(FP), RARG1
get_tls(R12)
MOVQ g(R12), R14
MOVQ g_m(R14), R13
// Switch to g0 stack.
MOVQ SP, R12 // callee-saved, preserved across the CALL
MOVQ m_g0(R13), R10
CMPQ R10, R14
JE call // already on g0
MOVQ (g_sched+gobuf_sp)(R10), SP
call:
ANDQ $~15, SP // alignment for gcc ABI
CALL AX
MOVQ R12, SP
RET
| GAS | 3 | rleungx/go | src/runtime/libfuzzer_amd64.s | [
"BSD-3-Clause"
] |
--TEST--
Phar: copy-on-write test 3 [cache_list]
--INI--
default_charset=UTF-8
phar.cache_list={PWD}/copyonwrite3.phar.php
phar.readonly=0
--EXTENSIONS--
phar
--FILE_EXTERNAL--
files/write3.phar
--EXPECT--
bool(true)
bool(true)
bool(false)
bool(false)
ok
| PHP | 3 | NathanFreeman/php-src | ext/phar/tests/cache_list/copyonwrite3.phar.phpt | [
"PHP-3.01"
] |
/*
options := System getOptions(args) clone
options foreach(k, v,
if(v type == List type,
v foreach(i, j, writeln("Got unnamed argument with value: " .. j))
continue
)
writeln("Got option: " .. k .. " with value: " .. v)
)
*/
| Io | 3 | akluth/io | libs/iovm/io/_test/System.io | [
"BSD-3-Clause"
] |
package {
public class Test {
}
}
trace("//var a = new Array(\"a\", \"b\", \"c\");");
var a = new Array("a", "b", "c");
trace("//var b = new Array(1, 2, 3);");
var b = new Array(1, 2, 3);
trace("//var c = new Array(a, b);");
var c = new Array(a, b);
trace("//var d = new Array(\"str\", 123, undefined, null, true, false);");
var d = new Array("str", 123, undefined, null, true, false);
trace("//a.join();");
trace(a.join());
trace("//b.join();");
trace(b.join());
trace("//c.join();");
trace(c.join());
trace("//c.join(undefined);");
trace(c.join(undefined));
trace("//c.join(null);");
trace(c.join(null));
trace("//c.join(false);");
trace(c.join(false));
trace("//a.join(NaN);");
trace(a.join(NaN));
trace("//b.join(5);");
trace(b.join(5));
trace("//c.join(\" + \");");
trace(c.join(" + "));
trace("//c.join(b);");
trace(c.join(b));
trace("//d.join(\"!\");");
trace(d.join("!")); | ActionScript | 3 | Sprak1/ruffle | tests/tests/swfs/avm2/array_join/Test.as | [
"Apache-2.0",
"Unlicense"
] |
/* @generated */
digraph cfg {
}
| Graphviz (DOT) | 0 | JacobBarthelmeh/infer | infer/tests/codetoanalyze/cpp/frontend/include_header/include_only.cpp.dot | [
"MIT"
] |
@import '~library/style.less'; | Less | 0 | acidburn0zzz/parcel | packages/core/integration-tests/test/integration/less-webpack-import-error/index.less | [
"MIT"
] |
% Copyright (C) 1993 Digital Equipment Corporation
% All rights reserved.
% See the file COPYRIGHT for a full description.
% Last modified on Fri Jun 18 17:07:55 PDT 1993 by horning
list(E): trait
% Trait for sequences implemented as linked lists.
% L$Hd and L$Tl correspond to the .head and .tail fields.
includes
string(E),
lm3Store(L$Hd, L, E),
lm3Store(L$Tl, L, L),
Integer,
set(L)
introduces
NIL: -> L
seq: L, L$Hd, L$Tl -> String$E
acyclic: L, L$Tl -> Bool
iTail: L, Int, L$Tl -> L
fresh: L, L$Tl, L$Tl -> Bool
freshTo: L, L, L$Tl, L$Tl -> Bool
isPrefix: String$E, String$E -> Bool
reach: L, L$Tl -> Set$L
last: L, L$Tl -> L
asserts
\forall l, l1, l2: L, tails, tails': L$Tl, heads: L$Hd, i: Int, e: E,
s1, s2: String$E
seq(l, heads, tails) == if l = NIL then empty
else (l.heads) -| seq(l.tails, heads, tails);
acyclic(l, tails) == l = NIL
\/ (l \notin reach(l.tails, tails) /\ acyclic(l.tails, tails));
fresh(l, tails, tails') == l = NIL
\/ (defined(tails', l) /\ ~defined(tails, l)
/\ fresh(l.tails', tails, tails'));
freshTo(l1, l2, tails, tails') == l1 = l2
\/ (~defined(tails, l1) /\ defined(tails', l1)
/\ freshTo(l1.tails', l2, tails, tails'));
isPrefix(s1, s2) == s1 = prefix(s2, len(s1));
iTail(l, 0, tails) == l;
iTail(l, i+1, tails) == iTail(l.tails, i, tails);
reach(l, tails) == if l = NIL then {}
else insert(l, reach(l.tails, tails));
last(l, tails) == if l.tails = NIL then l else last(l.tails, tails);
implies converts seq, fresh, reach, last:L,L$Tl->L
exempting \forall tails: L$Tl last(NIL, tails)
| LSL | 5 | jaykrell/cm3 | m3-libs/libm3/src/list/list.lsl | [
"BSD-4-Clause-UC",
"BSD-4-Clause",
"BSD-3-Clause"
] |
(defmodule ltest
(export all))
(include-lib "include/ltest-macros.lfe")
(include-lib "include/ltest-records.lfe")
(defun skip-test-patt () ".*_skip")
(defun skip-test-group-patt () "(.*)(_skip)")
;; XXX this code actually assumes two possible layouts for different versions of
;; rebar; those paths don't belong in a general purpose library, but rather
;; in a rebar3 plugin.
;;
;; instead, there should be two path functions:
;; - one that takes two arguments, a prefix and a regex, where the two are
;; filename:joined and then pumped into filelib:wildcard, and
;; - one that takes one argument, a regex, and then calls the two-arg
;; function with a default (e.g., ".")
;;
;; come to think of it, though, that also feels like a bad approach. it
;; should just recurse through a given directory, and look for beam files.
;; in a rebar3 plugin, the appropriate path can be computed.
;;
;; so, some examination should be done of the latest rebar3 code, to see
;; what public utility functions there are for locating beam files for a
;; given app (or, in the case of releases, set of apps). That would mean
;; we wouldn't need to do any wild-carding whatsoever ...
;;
;; see XXX comment on `get-possible-test-beams` for more thoughts ...
;;
;; related ticket: https://github.com/lfex/ltest/issues/61
;;
(defun get-subdir-beam-files (path)
(ltest-util:rebar-debug "Getting subdir beams ..." '())
(lists:append
(list
(filelib:wildcard (filename:join
(list path ".eunit/*.beam")))
(filelib:wildcard (filename:join
(list path "_build/*/lib/*/ebin/*.beam"))))))
;; XXX do we need this? after examining the current rebar3 utils, we might not.
;;
;; this library baiscally uses behaviours as "marker interfaces" and that's
;; why we're jumping through all these hoops. so we should ask some basic
;; questions:
;;
;; - is there a better way to do this in Erlang/LFE? for example, eunit
;; expects functions to have a particular suffix; we could do the same
;; to distinguish unit, system, and integration tests
;; - is there a more elegant way to check for a behaviour in a beam file?
;; - does rebar3 offer some utility functions that do this better, that we
;; can use?
;;
;; related ticket: https://github.com/lfex/ltest/issues/61
;;
(defun get-possible-test-beams (path)
"Get the compiled .beam files, but without the .beam extension. The list of
files generated by this function are meant to be consumed by (code:load_abs)."
(ltest-util:rebar-debug "Getting possible test beams ..." '())
(lists:map
#'filename:rootname/1
(get-subdir-beam-files path)))
(defun get-integration-beams ()
(get-integration-beams "."))
(defun get-integration-beams (path)
(lists:filter
#'integration?/1
(get-possible-test-beams path)))
(defun get-system-beams ()
(get-system-beams "."))
(defun get-system-beams (path)
(ltest-util:rebar-debug "Getting system beams from ~p ..." `(,path))
(lists:filter
#'system?/1
(get-possible-test-beams path)))
(defun get-unit-beams ()
(get-unit-beams "."))
(defun get-unit-beams (path)
(lists:filter
#'unit?/1
(get-possible-test-beams path)))
(defun has-behaviour? (beam type)
(ltest-util:rebar-debug "Checking if ~p has behaviour ~p ..." `(,beam ,type))
(lists:member
type
(ltest-util:get-beam-behaviours beam)))
(defun integration? (beam)
(has-behaviour? beam 'ltest-integration))
(defun system? (beam)
(has-behaviour? beam 'ltest-system))
(defun unit? (beam)
(has-behaviour? beam 'ltest-unit))
(defun check-skip-funcs (funcs)
(lists:map
(match-lambda
(((tuple func arity))
(case (re:run (atom_to_list func) (skip-test-patt))
((tuple 'match _) `#(,func ,arity))
(_ 'false))))
funcs))
(defun check-skipped-tests (funcs)
(lists:map
(match-lambda
(((tuple func arity))
(case (re:split (atom_to_list func)
(++ (skip-test-group-patt))
'(#(return list)))
((list '() test-name _ '()) test-name)
(_ 'false))))
funcs))
(defun get-skip-funcs (module)
(ltest-util:filter-files
#'check-skip-funcs/1
(ltest-util:get-module-exports module)))
(defun get-skipped-tests (module)
(ltest-util:filter-files
#'check-skipped-tests/1
(ltest-util:get-module-exports module)))
(defun check-failed-assert (data expected)
"This function
1) unwraps the data held in the error result returned by a failed
assertion, and
2) checks the buried failure type against an expected value, asserting
that they are the same."
(let ((`#(,failure-type ,_) data))
(is-equal failure-type expected)))
(defun check-wrong-assert-exception (data expected)
"This function
1) unwraps the data held in the error result returned by
assert-exception when an unexpected error occurs, and
2) checks the buried failure type against an expected value, asserting
that they are the same."
(let* ((reason (assert-exception-failed))
(`#(,reason (,_ ,_ ,_ ,_ #(,fail-type ,_))) data))
(is-equal fail-type expected)))
;;; New API for running tests
;;;
;;; Each of the following functions takes an options data structure as its single
;;; argument. The options are of this form:
;;;
;;; #m(color boolean
;;; suite-headers boolean
;;; test-listener atom ; one of ltest-listener, eunit_surefire
;;; test-type atom ; one of all, unit, system, integration
;;; verbose boolean ; only applicable to eunit_surefire
;;;
(defun run ()
(run (default-opts)))
(defun run
(((= `#m(test-type all) opts))
(all opts))
(((= `#m(test-type unit) opts))
(unit opts))
(((= `#m(test-type system) opts))
(system opts))
(((= `#m(test-type integration) opts))
(integration opts))
((`#m(test-type ,test-type))
`#(error ,(io_lib:format "Unknown test type: ~p" `(,test-type)))))
(defun all ()
(all (default-opts)))
(defun all (opts)
(let* ((merged-opts (maps:merge (default-opts) opts))
(test-opts (maps:merge merged-opts #m(suite-headers false)))
(state (make-state color? (mref opts 'color))))
(maybe-suite-header opts state)
(unit (maps:merge test-opts #m(test-type unit)))
(system (maps:merge test-opts #m(test-type system)))
(integration (maps:merge test-opts #m(test-type integration)))
(maybe-suite-footer opts state)))
(defun unit ()
(unit (default-opts)))
(defun unit (opts)
(ltest-util:rebar-debug "Running unit tests ..." '())
(ltest-util:rebar-debug "Got opts: ~p~n" `(,opts))
(let ((state (make-state color? (mref opts 'color)
test-type 'unit)))
(ltest-util:rebar-debug "Got state: ~p~n" `(,state))
(maybe-suite-header opts state)
(ltest-formatter:test-type-header "Unit Tests" state)
(ltest-util:rebar-debug "Running beams ...~n" '())
(run-beams 'unit #'get-unit-beams/1 opts)
(maybe-suite-footer opts state)))
(defun system ()
(system (default-opts)))
(defun system (opts)
(ltest-util:rebar-debug "Running system tests ..." '())
(let ((state (make-state color? (mref opts 'color)
test-type 'system)))
(maybe-suite-header opts state)
(ltest-formatter:test-type-header "System Tests" state)
(run-beams 'unit #'get-system-beams/1 opts)
(maybe-suite-footer opts state)))
(defun integration ()
(integration (default-opts)))
(defun integration (opts)
(ltest-util:rebar-debug "Running integration tests ..." '())
(let ((state (make-state color? (mref opts 'color)
test-type 'integration)))
(maybe-suite-header opts state)
(ltest-formatter:test-type-header "Integration Tests" state)
(run-beams 'unit #'get-integration-beams/1 opts)
(maybe-suite-footer opts state)))
;;; New API support functions
(defun default-opts ()
#m(color true
suite-headers true
test-listener ltest-listener
test-type unit
verbose true))
(defun maybe-suite-header (opts state)
(if (mref opts 'suite-headers)
(ltest-formatter:test-suite-header state)))
(defun maybe-suite-footer (opts state)
(if (mref opts 'suite-headers)
(ltest-formatter:test-suite-footer state)))
(defun eunit-opts (opts)
(let* ((listener (mref opts 'test-listener))
(tty (case listener
('eunit_surefire '())
(_ '(no_tty))))
(verbose (if (and (== listener 'eunit_surefire)
(mref opts 'verbose))
'(verbose)
'()))
(report `(#(report #(,listener ,(ltest-opts opts))))))
(lists:append `(,tty ,verbose ,report))))
(defun ltest-opts (opts)
`(#(color ,(mref opts 'color))
#(test-type ,(mref opts 'test-type))))
(defun run-beams (test-type test-fn opts)
(let* ((`#(ok ,cwd) (file:get_cwd))
(beams (funcall test-fn cwd))
(beam-files (ltest-util:beams->files beams)))
(eunit:test beam-files (eunit-opts opts))))
| LFE | 4 | ioolkos/ltest | src/ltest.lfe | [
"BSD-3-Clause"
] |
-- Namespaces are currently allowed to be empty, as modules are, but also
-- require their contents to be indented to denote where they end.
-- Whereas a module's end is the end of the file.
-- Since there's no indentation each namespace ends imediately. So each Test
-- defines things at the module level, causing an `already defined` error.
namespace X
private
data Test = A | B
namespace Y
private
data Test = A | B
| Idris | 4 | Qqwy/Idris2-Erlang | idris2/tests/idris2/namespace001/Dup.idr | [
"BSD-3-Clause"
] |
const { getProjectPath } = require('./get-project-path');
describe('getProjectPath helper', () => {
it('should return the calling dir path', () => {
const mockCallingDir = 'calling/dir';
const expected = `${mockCallingDir}/`;
// Add mock to test condition
process.env.CALLING_DIR = mockCallingDir;
expect(getProjectPath()).toEqual(expected);
// Remove mock to not affect other tests
delete process.env.CALLING_DIR;
});
it('should return the projects absolute path', () => {
const expected = `${process.cwd()}/`;
expect(getProjectPath()).toEqual(expected);
});
});
| JavaScript | 4 | rawatrahul/freeCodeCamp | tools/challenge-helper-scripts/helpers/get-project-path.test.js | [
"BSD-3-Clause"
] |
/*
Navicat Premium Data Transfer
Source Server : dev
Source Server Type : MySQL
Source Server Version : 50732
Source Host : localhost:3306
Source Schema : spring-boot-demo
Target Server Type : MySQL
Target Server Version : 50732
File Encoding : 65001
Date: 26/10/2020 23:30:27
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for t_user_ureport2
-- ----------------------------
DROP TABLE IF EXISTS `t_user_ureport2`;
CREATE TABLE `t_user_ureport2` (
`id` bigint(13) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
`name` varchar(255) COLLATE utf8mb4_bin NOT NULL COMMENT '姓名',
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
`status` tinyint(4) NOT NULL COMMENT '是否禁用',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
-- ----------------------------
-- Records of t_user_ureport2
-- ----------------------------
BEGIN;
INSERT INTO `t_user_ureport2` VALUES (1, '测试人员 1', '2020-10-22 09:01:58', 1);
INSERT INTO `t_user_ureport2` VALUES (2, '测试人员 2', '2020-10-22 09:02:00', 0);
INSERT INTO `t_user_ureport2` VALUES (3, '测试人员 3', '2020-10-23 03:02:00', 1);
INSERT INTO `t_user_ureport2` VALUES (4, '测试人员 4', '2020-10-23 23:02:00', 1);
INSERT INTO `t_user_ureport2` VALUES (5, '测试人员 5', '2020-10-23 23:02:00', 1);
INSERT INTO `t_user_ureport2` VALUES (6, '测试人员 6', '2020-10-24 11:02:00', 0);
INSERT INTO `t_user_ureport2` VALUES (7, '测试人员 7', '2020-10-24 20:02:00', 0);
INSERT INTO `t_user_ureport2` VALUES (8, '测试人员 8', '2020-10-25 08:02:00', 1);
INSERT INTO `t_user_ureport2` VALUES (9, '测试人员 9', '2020-10-25 09:02:00', 1);
INSERT INTO `t_user_ureport2` VALUES (10, '测试人员 10', '2020-10-25 13:02:00', 1);
INSERT INTO `t_user_ureport2` VALUES (11, '测试人员 11', '2020-10-26 21:02:00', 0);
INSERT INTO `t_user_ureport2` VALUES (12, '测试人员 12', '2020-10-26 23:02:00', 1);
INSERT INTO `t_user_ureport2` VALUES (13, '测试人员 13', '2020-10-26 23:02:00', 1);
COMMIT;
SET FOREIGN_KEY_CHECKS = 1;
| SQL | 4 | zcy2095/spring-boot-demo | demo-ureport2/doc/sql/t_user_ureport2.sql | [
"MIT"
] |
#!/bin/bash
# Assume x86_64 Ubuntu 16.04 base system
apt-get install build-essential \
gcc-5-multilib \
gcc-5-multilib-arm-linux-gnueabi \
gcc-5-multilib-arm-linux-gnueabihf \
gcc-5-multilib-mips-linux-gnu \
gcc-5-multilib-mips64-linux-gnuabi64 \
gcc-5-multilib-mips64el-linux-gnuabi64 \
gcc-5-multilib-mipsel-linux-gnu \
gcc-5-multilib-powerpc-linux-gnu \
gcc-5-multilib-powerpc64-linux-gnu \
gcc-5-multilib-s390x-linux-gnu \
gcc-5-multilib-sparc64-linux-gnu \
gcc-4.9-powerpc64le-linux-gnu \
gcc-4.9-aarch64-linux-gnu
if [ ! -e /usr/include/asm ];
then ln -sf /usr/include/asm-generic /usr/include/asm
fi
| Shell | 3 | OsmanDere/metasploit-framework | data/exploits/CVE-2017-7494/install-deps.sh | [
"BSD-2-Clause",
"BSD-3-Clause"
] |
{:enums
{:Result
{:values [OK FAIL]}}
:queries
{:ok {:type :Result
:resolve :null}
:bad {:type (non-null :Result)
:resolve :null}}}
| edn | 3 | hagenek/lacinia | dev-resources/opt-req-enum.edn | [
"Apache-2.0"
] |
#foo(
test()'string
)
class #foo (
test() {
"5"
}
) { this }
a: class() as #foo
bob'heap string : a.test() | Objective-J | 0 | justinmann/sj | tests/interface3.sj | [
"Apache-2.0"
] |
QT.sql_private.VERSION = 5.9.4
QT.sql_private.name = QtSql
QT.sql_private.module =
QT.sql_private.libs = $$QT_MODULE_LIB_BASE
QT.sql_private.includes = $$QT_MODULE_INCLUDE_BASE/QtSql/5.9.4 $$QT_MODULE_INCLUDE_BASE/QtSql/5.9.4/QtSql
QT.sql_private.frameworks =
QT.sql_private.depends = core_private sql
QT.sql_private.uses =
QT.sql_private.module_config = v2 internal_module
QT.sql_private.enabled_features =
QT.sql_private.disabled_features =
| QMake | 2 | PLohrmannAMD/renderdoc | qrenderdoc/3rdparty/qt/x64/mkspecs/modules/qt_lib_sql_private.pri | [
"MIT"
] |
#include "caffe2/opt/shape_info.h"
#include "caffe2/core/operator.h"
#include "caffe2/core/tensor_int8.h"
#include "caffe2/utils/string_utils.h"
#include <cctype>
namespace caffe2 {
namespace {
bool isNumber(const std::string& s) {
bool empty = true;
for (const char c : s) {
if (std::isalpha(c)) {
return false;
}
if (!std::isspace(c)) {
empty = false;
}
}
return !empty;
}
std::string toLower(const std::string& s) {
std::string t;
t.resize(s.size());
for (size_t i = 0; i < t.size(); i++) {
t[i] = std::tolower(s[i]);
}
return t;
}
TensorProto_DataType toTensorProtoDataType(const std::string& in) {
std::string s = toLower(in);
if (s == "uint8") {
return TensorProto_DataType_UINT8;
} else if (s == "int8") {
return TensorProto_DataType_INT8;
} else if (s == "uint16") {
return TensorProto_DataType_UINT16;
} else if (s == "int16") {
return TensorProto_DataType_INT16;
} else if (s == "int32") {
return TensorProto_DataType_INT32;
} else if (s == "int64") {
return TensorProto_DataType_INT64;
} else if (s == "float16" || s == "half") {
return TensorProto_DataType_FLOAT16;
} else if (s == "float") {
return TensorProto_DataType_FLOAT;
} else if (s == "double") {
return TensorProto_DataType_DOUBLE;
} else if (s == "byte") {
return TensorProto_DataType_BYTE;
} else if (s == "string") {
return TensorProto_DataType_STRING;
} else if (s == "bool") {
return TensorProto_DataType_BOOL;
} else if (s == "hash") {
return TensorProto_DataType_ZERO_COLLISION_HASH;
}
// return default data type, float
return TensorProto_DataType_FLOAT;
}
} // namespace
ShapeInfo getShapeInfoFromBlob(const Blob* blob) {
ShapeInfo shape_info;
shape_info.shape = GetTensorShapeOfBlob(blob);
if (!shape_info.shape.unknown_shape()) {
shape_info.setDimType(std::vector<TensorBoundShape::DimType>(
shape_info.shape.dims_size(), TensorBoundShape_DimType_CONSTANT));
}
if (blob->meta().id() == TypeMeta::Id<int8::Int8TensorCPU>()) {
shape_info.is_quantized = true;
LoadInt8TensorInfoOfBlob(
&shape_info.q_info.scale,
&shape_info.q_info.offset,
&shape_info.q_info.axis,
blob);
} else {
#ifndef C10_MOBILE
auto function_ptr =
ExternalTensorFunctionsBaseRegistry()->Create(blob->meta().id());
if (function_ptr != nullptr) {
shape_info.is_quantized = function_ptr->isQuantized();
function_ptr->LoadInfoOfBlob(
blob,
&shape_info.q_info.scale,
&shape_info.q_info.offset,
&shape_info.q_info.axis);
}
#endif
}
return shape_info;
}
void modifyTensorShapeDimSize(
TensorShape* tensor_shape,
int dim_index,
const int64_t old_size,
const int64_t new_size) {
CAFFE_ENFORCE(
old_size > 0, "Old size should be non-zero, old_size: ", old_size);
CAFFE_ENFORCE(
tensor_shape->dims(dim_index) % old_size == 0,
"tensor_shape->dims[",
dim_index,
"] = ",
tensor_shape->dims(dim_index),
" cannot be divided by old_size ",
old_size,
" tensor name: ",
tensor_shape->name());
int64_t modified_size = (tensor_shape->dims(dim_index) * new_size) / old_size;
tensor_shape->set_dims(dim_index, modified_size);
}
void changeTensorBoundShapes(
TensorBoundShape& tensor_shape_and_type,
const int64_t old_batch_size,
const int64_t old_seq_size,
const int64_t new_batch_size,
const int64_t new_seq_size) {
CAFFE_ENFORCE(
tensor_shape_and_type.dim_type().size() ==
tensor_shape_and_type.shape().dims().size());
for (int i = 0; i < tensor_shape_and_type.dim_type().size(); i++) {
TensorBoundShape_DimType dim_type = tensor_shape_and_type.dim_type(i);
// Need to change max_batch_size
if (dim_type == TensorBoundShape_DimType_BATCH ||
dim_type == TensorBoundShape_DimType_BATCH_OF_FEATURE_MAX ||
dim_type == TensorBoundShape_DimType_BATCH_OF_FEATURE_MAX_DEFAULT) {
TensorShape* tensor_shape = tensor_shape_and_type.mutable_shape();
modifyTensorShapeDimSize(tensor_shape, i, old_batch_size, new_batch_size);
}
// Need to change max_seq_size
if (dim_type == TensorBoundShape_DimType_BATCH_OF_FEATURE_MAX_DEFAULT ||
dim_type == TensorBoundShape_DimType_FEATURE_MAX_DEFAULT) {
TensorShape* tensor_shape = tensor_shape_and_type.mutable_shape();
modifyTensorShapeDimSize(tensor_shape, i, old_seq_size, new_seq_size);
}
}
}
ShapeInfoMap extractShapeInfoFromTensorBoundShapes(
TensorBoundShapes tensor_bound_shapes,
int64_t new_max_batch_size,
int64_t new_max_feature_len) {
ShapeInfoMap shape_info_map;
if (new_max_batch_size == -1) {
new_max_batch_size = tensor_bound_shapes.max_batch_size();
}
if (new_max_feature_len == -1) {
new_max_feature_len = tensor_bound_shapes.max_feature_len();
}
for (auto& tensor_bound_shape : *(tensor_bound_shapes.mutable_shapes())) {
std::vector<TensorBoundShape::DimType> dim_types;
dim_types.reserve(tensor_bound_shape.shape().dims_size());
for (auto dim_type : tensor_bound_shape.dim_type()) {
dim_types.emplace_back(TensorBoundShape::DimType(dim_type));
}
changeTensorBoundShapes(
tensor_bound_shape,
tensor_bound_shapes.max_batch_size(),
tensor_bound_shapes.max_feature_len(),
new_max_batch_size,
new_max_feature_len);
shape_info_map[tensor_bound_shape.name()] =
// NOLINTNEXTLINE(performance-move-const-arg)
ShapeInfo(dim_types, std::move(tensor_bound_shape.shape()));
}
return shape_info_map;
}
bool operator==(const ShapeInfo& lhs, const ShapeInfo& rhs) {
return lhs.getDimType() == rhs.getDimType() &&
lhs.shape.SerializeAsString() == rhs.shape.SerializeAsString();
}
ShapeInfo constructShapeInfoWithDefaultDimType(
TensorShape shape,
TensorBoundShape_DimType defaultFirstDimType) {
std::vector<TensorBoundShape_DimType> dimType(
shape.dims_size(), TensorBoundShape_DimType_CONSTANT);
if (dimType.size()) {
dimType[0] = defaultFirstDimType;
}
return ShapeInfo(dimType, shape);
}
void parseShapeInfoMapFromString(
const std::string& input,
ShapeInfoMap& shape_hints) {
auto hints = caffe2::split('#', input);
for (const auto& hint : hints) {
auto kv = caffe2::split(',', hint);
CAFFE_ENFORCE_GE(kv.size(), 2, "Cannot parse shape hint: ", hint);
const auto& name = kv[0];
TensorShape shape;
size_t size = kv.size();
CAFFE_ENFORCE_GT(size, 1);
if (!isNumber(kv[size - 1])) {
// last value is the type
shape.set_data_type(toTensorProtoDataType(kv[size - 1]));
size--;
} else {
if (name.find("int8") != std::string::npos) {
// Kept for backwards compatibility.
// Set type explicitly to overwrite it.
shape.set_data_type(TensorProto_DataType_UINT8);
} else {
shape.set_data_type(TensorProto_DataType_FLOAT);
}
}
bool valid = true;
for (size_t i = 1; i < size; i++) {
auto dim = kv[i];
try {
shape.add_dims(std::stoi(dim));
} catch (const std::exception& e) {
valid = false;
CAFFE_THROW("Cannot parse shape hint: ", hint);
}
}
if (valid) {
shape_hints.emplace(name, constructShapeInfoWithDefaultDimType(shape));
}
}
}
} // namespace caffe2
| C++ | 5 | Hacky-DH/pytorch | caffe2/opt/shape_info.cc | [
"Intel"
] |
#!/usr/bin/env node
const path = require('path')
const fs = require('fs')
const getSequenceGenerator = require('random-seed')
const generate = require('@babel/generator').default
const t = require('@babel/types')
const MIN_COMPONENT_NAME_LEN = 18
const MAX_COMPONENT_NAME_LEN = 24
const MIN_CHILDREN = 4
const MAX_CHILDREN = 80
const arrayUntil = (len) => [...Array(len)].map((_, i) => i)
const generateFunctionalComponentModule = (componentName, children = []) => {
const body = [
generateImport('React', 'react'),
...children.map((childName) => generateImport(childName, `./${childName}`)),
t.variableDeclaration('const', [
t.variableDeclarator(
t.identifier(componentName),
t.arrowFunctionExpression(
[],
t.parenthesizedExpression(
generateJSXElement(
'div',
children.map((childName) => generateJSXElement(childName))
)
)
)
),
]),
t.exportDefaultDeclaration(t.identifier(componentName)),
]
return t.program(body, [], 'module')
}
const generateJSXElement = (componentName, children = null) =>
t.JSXElement(
t.JSXOpeningElement(t.JSXIdentifier(componentName), [], !children),
children ? t.JSXClosingElement(t.JSXIdentifier(componentName)) : null,
children || [],
!children
)
const generateImport = (componentName, requireString) =>
t.importDeclaration(
[t.importDefaultSpecifier(t.identifier(componentName))],
t.stringLiteral(requireString)
)
const validFirstChars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
const validOtherChars = validFirstChars.toLowerCase()
function generateComponentName(seqGenerator, opts) {
const numOtherChars = seqGenerator.intBetween(opts.minLen, opts.maxLen)
const firstChar = validFirstChars[seqGenerator.range(validFirstChars.length)]
const otherChars = arrayUntil(numOtherChars).map(
() => validOtherChars[seqGenerator.range(validOtherChars.length)]
)
return `${firstChar}${otherChars.join('')}`
}
function* generateModules(name, remainingDepth, seqGenerator, opts) {
const filename = `${name}.${opts.extension}`
let ast
if (name === 'index') {
name = 'RootComponent'
}
if (remainingDepth === 0) {
ast = generateFunctionalComponentModule(name)
} else {
const numChildren = seqGenerator.intBetween(opts.minChild, opts.maxChild)
const children = arrayUntil(numChildren).map(() =>
generateComponentName(seqGenerator, opts)
)
ast = generateFunctionalComponentModule(name, children)
for (const child of children) {
yield* generateModules(child, remainingDepth - 1, seqGenerator, opts)
}
}
yield {
filename,
content: generate(ast).code,
}
}
function generateFuzzponents(outdir, seed, depth, opts) {
const seqGenerator = getSequenceGenerator(seed)
const filenames = new Set()
for (const { filename, content } of generateModules(
'index',
depth,
seqGenerator,
opts
)) {
if (filenames.has(filename)) {
throw new Error(
`Seed "${seed}" generates output with filename collisions.`
)
} else {
filenames.add(filename)
}
const fpath = path.join(outdir, filename)
fs.writeFileSync(fpath, `// ${filename}\n\n${content}`)
}
}
if (require.main === module) {
const { outdir, seed, depth, ...opts } = require('yargs')
.option('depth', {
alias: 'd',
demandOption: true,
describe: 'component hierarchy depth',
type: 'number',
})
.option('seed', {
alias: 's',
demandOption: true,
describe: 'prng seed',
type: 'number',
})
.option('outdir', {
alias: 'o',
demandOption: false,
default: process.cwd(),
describe: 'the directory where components should be written',
type: 'string',
normalize: true,
})
.option('minLen', {
demandOption: false,
default: MIN_COMPONENT_NAME_LEN,
describe: 'the smallest acceptable component name length',
type: 'number',
})
.option('maxLen', {
demandOption: false,
default: MAX_COMPONENT_NAME_LEN,
describe: 'the largest acceptable component name length',
type: 'number',
})
.option('minLen', {
demandOption: false,
default: MIN_COMPONENT_NAME_LEN,
describe: 'the smallest acceptable component name length',
type: 'number',
})
.option('maxLen', {
demandOption: false,
default: MAX_COMPONENT_NAME_LEN,
describe: 'the largest acceptable component name length',
type: 'number',
})
.option('minChild', {
demandOption: false,
default: MIN_CHILDREN,
describe: 'the smallest number of acceptable component children',
type: 'number',
})
.option('maxChild', {
demandOption: false,
default: MAX_CHILDREN,
describe: 'the largest number of acceptable component children',
type: 'number',
})
.option('extension', {
default: 'jsx',
describe: 'extension to use for generated components',
type: 'string',
}).argv
generateFuzzponents(outdir, seed, depth, opts)
}
module.exports = generateFuzzponents
| JavaScript | 5 | nazarepiedady/next.js | bench/nested-deps/fuzzponent.js | [
"MIT"
] |
#define EMITTEDPARTICLE_DISTORTION
#include "emittedparticlePS_soft.hlsl"
| HLSL | 0 | rohankumardubey/WickedEngine | WickedEngine/shaders/emittedparticlePS_soft_distortion.hlsl | [
"MIT"
] |
$! File: curl_Startup.com
$!
$! $Id$
$!
$! Procedure to setup the CURL libraries for use by programs from the
$! VMS SYSTARTUP*.COM procedure.
$!
$! Copyright 2009 - 2020, John Malmberg
$!
$! Permission to use, copy, modify, and/or distribute this software for any
$! purpose with or without fee is hereby granted, provided that the above
$! copyright notice and this permission notice appear in all copies.
$!
$! THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
$! WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
$! MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
$! ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
$! WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
$! ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
$! OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
$!
$! 15-Jun-2009 J. Malmberg
$! 30-Jul-2013 J. Malmberg Update for Curl 7.32
$!========================================================================
$!
$!
$! GNV$GNU if needed.
$ if f$trnlnm("GNV$GNU") .eqs. ""
$ then
$ x = f$trnlnm("GNU","LNM$SYSTEM_TABLE")
$ if x .eqs. ""
$ then
$ write sys$output "GNV must be started up before this procedure.
$ exit 44
$ endif
$ define/system/exec/trans=conc GNV$GNU 'x'
$ endif
$!
$!
$ myproc = f$environment("procedure")
$!
$! ZLIB needed.
$ if f$trnlnm("GNV$LIBZSHR32") .eqs. ""
$ then
$ zlib_startup = f$parse("gnv$zlib_startup.com;0", myproc,,,)
$ if f$search(zlib_startup) .nes. ""
$ then
$ @'zlib_startup
$ else
$ write sys$output "ZLIB package not found and is required."
$ exit 44
$ endif
$ endif
$!
$!
$ curl_ssl_libcrypto32 = ""
$ curl_ssl_libssl32 = ""
$ gnv_ssl_libcrypto32 = "gnv$gnu:[lib]ssl$libcrypto_shr32.exe"
$ gnv_ssl_libssl32 = "gnv$gnu:[lib]ssl$libssl_shr32.exe"
$ if f$search(gnv_ssl_libcrypto32) .nes. ""
$ then
$ curl_ssl_libcrypto32 = gnv_ssl_libcrypto32
$ curl_ssl_libssl32 = gnv_ssl_libssl32
$ else
$ hp_ssl_libcrypto32 = "sys$share:ssl$libcrypto_shr32.exe"
$ hp_ssl_libssl32 = "sys$share:ssl$libssl_shr32.exe"
$ if f$search(hp_ssl_libcrypto32) .nes. ""
$ then
$ curl_ssl_libcrypto32 = hp_ssl_libcrypto32
$ curl_ssl_libssl32 = hp_ssl_libssl32
$ else
$ write sys$output "HP SSL package not found and is required."
$ endif
$ endif
$!
$ define/system/exec gnv$curl_ssl_libcryptoshr32 'curl_ssl_libcrypto32'
$ define/system/exec gnv$curl_ssl_libsslshr32 'curl_ssl_libssl32'
$!
$!
$! CURL setup
$ define/system/exec gnv$libcurl gnv$gnu:[usr.lib]GNV$LIBCURL.EXE
$ define/system/exec gnv$curl_include gnv$gnu:[usr.include.curl]
$ if .not. f$file_attributes("gnv$libcurl", "known")
$ then
$ install ADD gnv$libcurl/OPEN/SHARE/HEADER
$ else
$ install REPLACE gnv$libcurl/OPEN/SHARE/HEADER
$ endif
$!
$!
$ curl_exe = "gnv$gnu:[usr.bin]gnv$curl.exe"
$ if .not. f$file_attributes(curl_exe, "known")
$ then
$ install ADD 'curl_exe'/OPEN/SHARE/HEADER
$ else
$ install REPLACE 'curl_exe'/OPEN/SHARE/HEADER
$ endif
$!
$all_exit:
$ exit
| DIGITAL Command Language | 4 | jjatria/curl | packages/vms/curl_startup.com | [
"curl"
] |
%{^
#include <pthread.h>
#ifdef ATS_MEMALLOC_GCBDW
#undef GC_H
#define GC_THREADS
#include <gc/gc.h>
#endif
#include "CATS/nproc.cats"
#include "pthread_mac.h"
%}
#include "share/atspre_staload.hats"
#include "share/HATS/atslib_staload_libats_libc.hats"
#include "DATS/shared.dats"
#include "$PATSHOMELOCS/ats-concurrency-0.4.8/mylibies.hats"
#include "$PATSHOMELOCS/edit-distance-0.5.0/DATS/edit-distance.dats"
#include "DATS/utils.dats"
#include "DATS/error.dats"
#include "DATS/html.dats"
staload ML = "libats/ML/SATS/list0.sats"
staload "libats/SATS/deqarray.sats"
staload "libats/SATS/athread.sats"
staload _ = "libats/DATS/deqarray.dats"
staload _ = "libats/DATS/athread.dats"
staload "SATS/nproc.sats"
val ncpu = get_nprocs{4}()
fn step_list(s : string, excludes : List0(string)) : List0(string) =
let
var files = streamize_dirname_fname(s)
var ffiles = stream_vt_filter_cloptr(files, lam x => not(bad_dir(x, excludes) && test_file_isdir(s + "/" + x) > 0))
fun stream2list(x : stream_vt(string)) : List0(string) =
case+ !x of
| ~stream_vt_cons (x, xs) => list_cons(s + "/" + x, stream2list(xs))
| ~stream_vt_nil() => list_nil
in
stream2list(ffiles)
end
fn step_list_files(s : string, excludes : List0(string)) : List0(string) =
let
var files = streamize_dirname_fname(s)
var ffiles = stream_vt_filter_cloptr(files, lam x => not(bad_dir(x, excludes)) && test_file_isdir(s + "/" + x) = 0)
fun stream2list(x : stream_vt(string)) : List0(string) =
case+ !x of
| ~stream_vt_cons (x, xs) when s = "." => list_cons(x, stream2list(xs))
| ~stream_vt_cons (x, xs) => list_cons(s + "/" + x, stream2list(xs))
| ~stream_vt_nil() => list_nil
in
stream2list(ffiles)
end
fn map_depth(xs : List0(string), excludes : List0(string)) : List0(string) =
let
fun loop {i:nat} .<i>. (i : int(i), xs : List0(string), excludes : List0(string)) : List0(string) =
let
var xs0 = list0_filter(g0ofg1(xs), lam x => test_file_isdir(x) > 0)
in
case+ i of
| 0 => g1ofg0(list0_mapjoin(xs0, lam x => if not(bad_dir(x, excludes)) then
g0ofg1(step_list(x, excludes))
else
list0_nil))
| _ =>> g1ofg0(list0_mapjoin(xs0, lam x => if not(bad_dir(x, excludes)) then
let
var ys = step_list(x, excludes)
var zs = step_list_files(x, excludes)
in
g0ofg1(loop(i - 1, ys, excludes)) + g0ofg1(zs)
end
else
if x = "." && i = 3 then
let
var ys = step_list(x, excludes)
var zs = step_list_files(x, excludes)
in
g0ofg1(loop(i - 1, ys, excludes)) + g0ofg1(zs)
end
else
list0_nil))
end
in
loop(3, xs, excludes)
end
// FIXME this is slow because of the List0
// Also this approach is just silly in general
fn apportion(includes : List0(string), excludes : List0(string)) : List0(List0(string)) =
let
var ys = list0_filter(g0ofg1(includes), lam x => test_file_isdir(x) != 1)
var deep = map_depth(includes, excludes) + g1ofg0(ys)
val n = length(deep) / ncpu
fun loop { i : nat | i > 0 } .<i>. (i : int(i), acc : List0(string)) :<!wrt> List0(List0(string)) =
if n > 0 then
if n < length(acc) then
let
extern
castfn cast_list(List0(List0(string))) :<> List0(List0(string))
val (p, q) = list_split_at(acc, n)
var res = if i > 2 then
loop(i - 1, q)
else
q :: nil
in
list_vt2t(p) :: cast_list(res)
end
else
acc :: nil
else
let
// if I replace this with j != 1 it segfaults
fun fill_nil { j : nat | j > 0 } .<j>. (j : int(j)) :<> List0(List0(string)) =
if j > 1 then
nil :: fill_nil(j - 1)
else
nil
in
acc :: fill_nil(ncpu)
end
in
loop(ncpu, deep)
end
fn handle_unref(x : channel(string)) : void =
case+ channel_unref(x) of
| ~None_vt() => ()
| ~Some_vt (q) => queue_free<List0(string)>(q)
fn work(excludes : List0(string), send : channel(List0(string)), chan : channel(source_contents), verbose : bool) :
void =
{
var n = channel_remove(send)
var x = empty_contents()
val () = map_stream(x, n, excludes, verbose)
val () = channel_insert(chan, x)
val () = handle_unref(chan)
val () = handle_unref(send)
}
// ideally we want one "large" channel that will handle back-and-forth communication between threads.
fn threads(includes : List0(string), excludes : List0(string), verbose : bool) : source_contents =
let
// this will hold the results sent back
val chan = channel_make<source_contents>(ncpu)
var new_includes = if length(includes) > 0 then
includes
else
list_cons(".", list_nil())
val portions = apportion(new_includes, excludes)
fun loop { i : nat | i > 0 } .<i>. (i : int(i), chan : !channel(source_contents)) : void =
{
val chan_ = channel_ref(chan)
// this will simply communicate the work to be done
val send = channel_make<List0(string)>(1)
val send_r = channel_ref(send)
fn maybe_insert {m:nat}(xs : List0(List0(string)), n : int(m), send : !channel(List0(string))) : void =
case+ list_get_at_opt(xs, n) of
| ~Some_vt (x) => channel_insert(send, x)
| ~None_vt() => ()
val () = maybe_insert(portions, i - 1, send)
// If we use something lower-level we might get finer control of when things exit?
// Thread pool might be faster (?)
val _ = athread_create_cloptr_exn(llam () =>
work(excludes, send_r, chan_, verbose))
val () = handle_unref(send)
val () = if i >= 2 then
loop(i - 1, chan)
}
val () = loop(ncpu, chan)
fun loop_return { i : nat | i >= 0 } .<i>. (i : int(i), chan : !channel(source_contents)) : source_contents =
case+ i of
| 0 => empty_contents()
| _ =>> let
var n = channel_remove(chan)
var m = loop_return(i - 1, chan)
in
m + n
end
var r = loop_return(ncpu, chan)
val () = ignoret(usleep(90u))
val () = while(channel_refcount(chan) > 1)()
val () = handle_unref(chan)
in
r
end
implement main0 (argc, argv) =
let
val cli = @{ version = false
, help = false
, no_table = false
, html = false
, no_style = false
, no_parallel = false
, no_colorize = false
, skip_links = false
, verbose = false
, excludes = list_nil()
, includes = list_nil()
} : command_line
val parsed = get_cli(argc, argv, 0, false, cli)
val () = check_cli(parsed)
in
if parsed.help then
(help() ; exit(0))
else
if parsed.version then
(version() ; exit(0))
else
let
var result = if not(parsed.no_parallel) then
threads(parsed.includes, parsed.excludes, parsed.verbose)
else
if length(parsed.includes) > 0 then
let
var x = empty_contents()
val () = map_stream(x, parsed.includes, parsed.excludes, parsed.verbose)
in
x
end
else
let
var x = empty_contents()
val () = map_stream(x, list_cons(".", list_nil()), parsed.excludes, parsed.verbose)
in
x
end
in
if parsed.no_table then
print(make_output(result, not(parsed.no_colorize)))
else
if parsed.html && not(parsed.no_style) then
print(make_html(result))
else
if parsed.html then
print(make_table_columns(result))
else
print(make_table(result, not(parsed.no_colorize)))
end
end
| ATS | 4 | lambdaxymox/polyglot | src/polyglot.dats | [
"BSD-3-Clause"
] |
/* Copyright (c) 2017-2019 Netronome Systems, Inc. All rights reserved.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <single_ctx_test.uc>
#include "pkt_inc_pat_9K_x88.uc"
#include <config.h>
#include <gro_cfg.uc>
#include <global.uc>
#include <pv.uc>
#include <stdmac.uc>
#macro fail_alloc_macro
br[fail#]
#endm
.reg increment
.reg offset
.reg expected
.reg tested
.reg pkt_num
#define PKT_NUM_i 0
#while PKT_NUM_i < 0x100
move(pkt_num, PKT_NUM_i)
pkt_buf_free_ctm_buffer(--, pkt_num)
#define_eval PKT_NUM_i (PKT_NUM_i + 1)
#endloop
#undef PKT_NUM_i
pkt_buf_alloc_ctm(pkt_num, 3, fail#, fail_alloc_macro)
test_assert_equal(pkt_num, 0)
move(pkt_vec[2], 0x80000088)
move(offset, 0)
move(increment, 0x00020002)
move(expected, 0x00010002)
pv_seek(pkt_vec, 0)
.while (offset < 9212)
byte_align_be[--, *$index++]
byte_align_be[tested, *$index]
test_assert_equal(tested, expected)
alu[expected, expected, +, increment]
alu[offset, offset, +, 4]
pv_seek(pkt_vec, offset)
.endw
test_pass()
fail#:
test_fail()
PV_SEEK_SUBROUTINE#:
pv_seek_subroutine(pkt_vec)
| UnrealScript | 4 | pcasconnetronome/nic-firmware | test/datapath/pv_seek_lin_words_9K_x88_test.uc | [
"BSD-2-Clause"
] |
CLASS ltcl_run_checks DEFINITION DEFERRED.
CLASS zcl_abapgit_filename_logic DEFINITION LOCAL FRIENDS ltcl_run_checks.
CLASS ltcl_run_checks DEFINITION FOR TESTING RISK LEVEL HARMLESS
DURATION SHORT FINAL.
PRIVATE SECTION.
DATA mo_dot TYPE REF TO zcl_abapgit_dot_abapgit.
METHODS:
setup,
file_to_object FOR TESTING RAISING zcx_abapgit_exception,
object_to_file FOR TESTING RAISING zcx_abapgit_exception,
file_to_object_pack FOR TESTING RAISING zcx_abapgit_exception,
object_to_file_pack FOR TESTING RAISING zcx_abapgit_exception.
ENDCLASS.
CLASS ltcl_run_checks IMPLEMENTATION.
METHOD setup.
" Assume for unit tests that starting folder is /src/ with prefix logic
mo_dot = zcl_abapgit_dot_abapgit=>build_default( ).
ENDMETHOD.
METHOD file_to_object.
DATA ls_item TYPE zif_abapgit_definitions=>ty_item.
DATA lv_is_xml TYPE abap_bool.
DATA lv_is_json TYPE abap_bool.
zcl_abapgit_filename_logic=>file_to_object(
EXPORTING
iv_filename = 'zprogram.prog.abap'
iv_path = '/src/'
iv_devclass = '$PACK'
io_dot = mo_dot
IMPORTING
es_item = ls_item
ev_is_xml = lv_is_xml ).
cl_abap_unit_assert=>assert_equals(
exp = 'PROG'
act = ls_item-obj_type ).
cl_abap_unit_assert=>assert_equals(
exp = 'ZPROGRAM'
act = ls_item-obj_name ).
cl_abap_unit_assert=>assert_equals(
exp = abap_false
act = lv_is_xml ).
" Subpackage
zcl_abapgit_filename_logic=>file_to_object(
EXPORTING
iv_filename = 'zprogram.prog.abap'
iv_path = '/src/subpack/'
iv_devclass = '$PACK'
io_dot = mo_dot
IMPORTING
es_item = ls_item
ev_is_xml = lv_is_xml ).
cl_abap_unit_assert=>assert_equals(
exp = 'PROG'
act = ls_item-obj_type ).
cl_abap_unit_assert=>assert_equals(
exp = 'ZPROGRAM'
act = ls_item-obj_name ).
cl_abap_unit_assert=>assert_equals(
exp = abap_false
act = lv_is_xml ).
" XML
zcl_abapgit_filename_logic=>file_to_object(
EXPORTING
iv_filename = 'zprogram.prog.xml'
iv_path = '/src/'
iv_devclass = '$PACK'
io_dot = mo_dot
IMPORTING
es_item = ls_item
ev_is_xml = lv_is_xml ).
cl_abap_unit_assert=>assert_equals(
exp = 'PROG'
act = ls_item-obj_type ).
cl_abap_unit_assert=>assert_equals(
exp = 'ZPROGRAM'
act = ls_item-obj_name ).
cl_abap_unit_assert=>assert_equals(
exp = abap_true
act = lv_is_xml ).
" With special characters
zcl_abapgit_filename_logic=>file_to_object(
EXPORTING
iv_filename = 'ztest%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3dvc.prog.abap'
iv_path = '/src/'
iv_devclass = '$PACK'
io_dot = mo_dot
IMPORTING
es_item = ls_item
ev_is_xml = lv_is_xml ).
cl_abap_unit_assert=>assert_equals(
exp = 'PROG'
act = ls_item-obj_type ).
cl_abap_unit_assert=>assert_equals(
exp = 'ZTEST=========================VC'
act = ls_item-obj_name ).
zcl_abapgit_filename_logic=>file_to_object(
EXPORTING
iv_filename = 'zmime_%3c%3e_%3f.w3mi.jpg'
iv_path = '/src/'
iv_devclass = '$PACK'
io_dot = mo_dot
IMPORTING
es_item = ls_item
ev_is_xml = lv_is_xml ).
cl_abap_unit_assert=>assert_equals(
exp = 'W3MI'
act = ls_item-obj_type ).
cl_abap_unit_assert=>assert_equals(
exp = 'ZMIME_<>_?'
act = ls_item-obj_name ).
" JSON
zcl_abapgit_filename_logic=>file_to_object(
EXPORTING
iv_filename = 'ztest.chko.json'
iv_path = '/src/'
iv_devclass = '$PACK'
io_dot = mo_dot
IMPORTING
es_item = ls_item
ev_is_json = lv_is_json ).
cl_abap_unit_assert=>assert_equals(
exp = 'CHKO'
act = ls_item-obj_type ).
cl_abap_unit_assert=>assert_equals(
exp = 'ZTEST'
act = ls_item-obj_name ).
cl_abap_unit_assert=>assert_equals(
exp = abap_true
act = lv_is_json ).
ENDMETHOD.
METHOD object_to_file.
DATA ls_item TYPE zif_abapgit_definitions=>ty_item.
DATA lv_filename TYPE string.
ls_item-obj_type = 'PROG'.
ls_item-obj_name = 'ZPROGRAM'.
lv_filename = zcl_abapgit_filename_logic=>object_to_file(
is_item = ls_item
iv_ext = 'abap' ).
cl_abap_unit_assert=>assert_equals(
exp = 'zprogram.prog.abap'
act = lv_filename ).
" With namespace
ls_item-obj_type = 'PROG'.
ls_item-obj_name = '/TEST/ZPROGRAM'.
lv_filename = zcl_abapgit_filename_logic=>object_to_file(
is_item = ls_item
iv_ext = 'abap' ).
cl_abap_unit_assert=>assert_equals(
exp = '#test#zprogram.prog.abap'
act = lv_filename ).
" With extra extension
ls_item-obj_type = 'CLAS'.
ls_item-obj_name = 'ZCLASS'.
lv_filename = zcl_abapgit_filename_logic=>object_to_file(
is_item = ls_item
iv_ext = 'abap'
iv_extra = 'testclasses' ).
cl_abap_unit_assert=>assert_equals(
exp = 'zclass.clas.testclasses.abap'
act = lv_filename ).
" With special characters
ls_item-obj_type = 'PROG'.
ls_item-obj_name = 'ZTEST=========================VC'.
lv_filename = zcl_abapgit_filename_logic=>object_to_file(
is_item = ls_item
iv_ext = 'abap' ).
cl_abap_unit_assert=>assert_equals(
exp = 'ztest%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3dvc.prog.abap'
act = lv_filename ).
ls_item-obj_type = 'W3MI'.
ls_item-obj_name = 'ZMIME_<>_?'.
lv_filename = zcl_abapgit_filename_logic=>object_to_file(
is_item = ls_item
iv_ext = 'jpg' ).
cl_abap_unit_assert=>assert_equals(
exp = 'zmime_%3c%3e_%3f.w3mi.jpg'
act = lv_filename ).
ENDMETHOD.
METHOD file_to_object_pack.
DATA ls_item TYPE zif_abapgit_definitions=>ty_item.
zcl_abapgit_filename_logic=>file_to_object(
EXPORTING
iv_filename = 'package.devc.xml'
iv_path = '/src/'
iv_devclass = '$PACK'
io_dot = mo_dot
IMPORTING
es_item = ls_item ).
cl_abap_unit_assert=>assert_equals(
exp = 'DEVC'
act = ls_item-obj_type ).
cl_abap_unit_assert=>assert_equals(
exp = '$PACK'
act = ls_item-obj_name ).
" Subpackage
zcl_abapgit_filename_logic=>file_to_object(
EXPORTING
iv_filename = 'package.devc.xml'
iv_path = '/src/subpack/'
iv_devclass = '$PACK'
io_dot = mo_dot
IMPORTING
es_item = ls_item ).
cl_abap_unit_assert=>assert_equals(
exp = 'DEVC'
act = ls_item-obj_type ).
cl_abap_unit_assert=>assert_equals(
exp = '$PACK_SUBPACK'
act = ls_item-obj_name ).
ENDMETHOD.
METHOD object_to_file_pack.
DATA ls_item TYPE zif_abapgit_definitions=>ty_item.
DATA lv_filename TYPE string.
ls_item-obj_type = 'DEVC'.
ls_item-obj_name = 'ZPACKAGE'.
lv_filename = zcl_abapgit_filename_logic=>object_to_file(
is_item = ls_item
iv_ext = 'xml' ).
cl_abap_unit_assert=>assert_equals(
exp = 'package.devc.xml'
act = lv_filename ).
ENDMETHOD.
ENDCLASS.
| ABAP | 5 | IvxLars/abapGit | src/objects/core/zcl_abapgit_filename_logic.clas.testclasses.abap | [
"MIT"
] |
var $g i32
var $h i32
func $multiwayfunc ( var %n i32) i32 {
multiway (dread i32 %n) @labdft {
(add i32 (dread i32 $g, dread i32 $h)): goto @lab0
(dread i32 $h): goto @lab1
(constval i32 888): goto @lab0
(constval i32 'Y'): goto @lab0
(neg i32 (dread i32 $h)) : goto @lab9 }
@lab0
return (constval i32 -3)
@labdft
return (constval i32 100)
@lab9
return (constval i32 9)
@lab1
return (constval i32 1) }
# EXEC: %irbuild Main.mpl
# EXEC: %irbuild Main.irb.mpl
# EXEC: %cmp Main.irb.mpl Main.irb.irb.mpl
| Maple | 3 | harmonyos-mirror/OpenArkCompiler-test | test/testsuite/irbuild_test/I0057-mapleall-irbuild-edge-multiway/Main.mpl | [
"MulanPSL-1.0"
] |
% :- library(test).
%:- multifile ytest:test/4.
:- source.
:- [library(ytest)].
:- [library(ytest/preds)].
meta_expand(InputCl, C1) :-
source_module(SM),
'$yap_strip_module'(SM:InputCl, M, ICl),
'$expand_a_clause'( M:ICl, SM, C1, _CO).
:- [meta_tests].
:- run_tests.
| Prolog | 3 | ryandesign/yap | regression/modules/meta.yap | [
"Artistic-1.0-Perl",
"ClArtistic"
] |
DAFETF NAIF DAF ENCODED TRANSFER FILE
'DAF/CK '
'2'
'6'
' < DAFCAT: CK CONCATENATION > '
BEGIN_ARRAY 1 19
'LRO_LROCNACR DATA TYPE 3 '
'1021C7912B1^C'
'1021C79B9469^C'
'-14E6A'
'-14C08'
'3'
'1'
19
'4ABD83D35E2DE^-2'
'-28456EF713458^-2'
'-27874B957BBE4^-1'
'-FFFCE4A6F74FF^0'
'-3FEE0F161545E4^-6'
'5B3B776267AC04^-6'
'-1C2D1E91BE13FC^-7'
'4ABD888D50269^-2'
'-284742D57345C6^-2'
'-278760C0E07192^-1'
'-FFFCE4A3677AF8^0'
'-3C76115ED3C254^-6'
'5F913F96AD8054^-6'
'-1D83ECEB17D24^-7'
'1021C7912B1^C'
'1021C79B9469^C'
'1021C7912B1^C'
'1^1'
'2^1'
END_ARRAY 1 19
TOTAL_ARRAYS 1
~NAIF/SPC BEGIN COMMENTS~
This CK is for testing with the image: /home/pgiroux/Desktop/M103595705LE.cub
This CK was generated using the following command: {}
~NAIF/SPC END COMMENTS~
| XC | 2 | ladoramkershner/ale | tests/pytests/data/M103595705LE/lrolc_2009181_2009213_v10_1_sliced_-85610.xc | [
"Unlicense"
] |
This help page was generated from [http://git.wikimedia.org/blob/mediawiki%2Fvagrant.git/HEAD/puppet%2Fmodules%2Fpayments%2Ffiles%2FMain_Page.wiki a file], please submit improvements back to that code repo.
__NOTOC__
Beware that you are using a '''beta''' version of the WMF Fundraising Paymentswiki development puppet module, and there are many rough edges.
To contribute to development or for more help, please visit the [https://www.mediawiki.org/wiki/Extension:DonationInterface help page] of the DonationInterface extension, or join the IRC channel #wikimedia-fundraising on Freenode.
== Configuration ==
Some minimum configuration is "non-free", meaning you will have to be oathed to WMF NDA in order to use our credentials. Alternatively, you may make your own arrangements for a development account with the payment processor. We are committed to eliminating this barrier by [https://phabricator.wikimedia.org/T89188 providing mock API responses], but in the meantime please add a file to settings.d/wikis/paymentswiki/settings.d/ with your own account info. '''The file must start with a number less than 10 so it is included before puppet-managed/10-DonationInterface.php.''' An abbreviated example is shown below and more details are available in mediawiki-fr/extensions/DonationInterface/DonationInterface.php.
The default configuration will log to /var/log/syslog, which is only visible to the root user, so use: sudo tail -f /var/log/syslog
Also note that you'll need to use the WMF's "full" VPN tunnel, see https://office.wikimedia.org/wiki/VPN_Setup#Full_Tunnel
<?php
# settings.d/wikis/paymentswiki/settings.d/01-DI-test-accounts.php
$wgAdyenGatewayURL = 'https://test.adyen.com';
$wgAdyenGatewayAccountInfo['test'] = array(
'AccountName' => 'testAcct',
'SharedSecret' => 'much_ado1234567',
'SkinCode' => '1234567',
);
$wgAstropayGatewayAccountInfo['test'] = array(
'Create' => array( // For creating invoices
'Login' => 'acct1',
'Password' => 'beez',
),
'Status' => array( // For checking payment status
'Login' => 'acct2',
'Password' => 'needs',
),
'SecretKey' => 'gobbeldegook', // For signing requests and verifying responses
);
$wgAstropayGatewayURL = 'https://sandbox.astropaycard.com/';
$wgGlobalCollectGatewayAccountInfo = array(
'default' => array(
'MerchantID' => '1234',
),
);
$wgPaypalGatewayAccountInfo = array(
'default' => array(
'AccountEmail' => 'magoo@localhost.net',
),
);
= Some donation forms =
Donate links:
* Adyen
** [{{fullurl:Special:AdyenGateway|appeal=JimmyQuote&payment_method=cc&recurring=&uselang=en&language=en¤cy_code=USD&amount=10&country=US&ffname=adyen}} Credit card in US, English, USD]
** [{{fullurl:Special:AdyenGateway|appeal=JimmyQuote&payment_method=cc&recurring=&uselang=fr&language=fr¤cy_code=EUR&amount=10&country=FR&ffname=adyen}} Credit card in FR, French, EUR]
** [{{fullurl:Special:AdyenGateway|appeal=JimmyQuote&payment_method=cc&recurring=&uselang=ja&language=ja¤cy_code=JPY&amount=250&country=JP&ffname=adyen}} Credit card in JP, Japanese, JPY]
** [{{fullurl:Special:AdyenGateway|appeal=JimmyQuote&payment_method=cc&recurring=&uselang=he&language=he¤cy_code=ILS&amount=100&country=IL&ffname=adyen}} Credit card in IL, Hebrew, ILS]
** [{{fullurl:Special:AdyenGateway|appeal=JimmyQuote&payment_method=cc&recurring=&uselang=uk&language=uk¤cy_code=UAH&amount=100&country=UA&ffname=adyen}} Credit card in UA, Ukrainian, UAH]
* Amazon
** [{{fullurl:Special:AmazonGateway|currency_code=USD&country=US&amount=1&ffname=amazon}} In US, no language specified, USD]
* AstroPay
** [{{fullurl:Special:AstroPayGateway|appeal=JimmyQuote&payment_method=cc&recurring=&uselang=en&language=en¤cy_code=BRL&amount=100&country=BR&ffname=astropay}} Credit card in BR, English, BRL]
** [{{fullurl:Special:AstroPayGateway|appeal=JimmyQuote&payment_method=cash&recurring=&uselang=en&language=en¤cy_code=BRL&amount=100&country=BR&ffname=astropay}} Cash (Boletos) in BR, English, BRL]
** [{{fullurl:Special:AstroPayGateway|appeal=JimmyQuote&payment_method=bt&recurring=&uselang=en&language=en¤cy_code=BRL&amount=100&country=BR&ffname=astropay}} Bank transfer in BR, English, BRL]
** [{{fullurl:Special:AstroPayGateway|appeal=JimmyQuote&payment_method=cc&recurring=&uselang=es&language=es¤cy_code=MXN&amount=100&country=MX&ffname=astropay-mx}} Credit card in MX, Spanish, MXN]
** [{{fullurl:Special:AstroPayGateway|appeal=JimmyQuote&payment_method=cash&recurring=&uselang=es&language=es¤cy_code=MXN&amount=100&country=MX&ffname=astropay-mx}} Cash in MX, Spanish, MXN]
** [{{fullurl:Special:AstroPayGateway|appeal=JimmyQuote&payment_method=cc&recurring=&uselang=es&language=es¤cy_code=ARS&amount=100&country=AR&ffname=astropay-ar}} Credit card in AR, Spanish, ARS]
** [{{fullurl:Special:AstroPayGateway|appeal=JimmyQuote&payment_method=bt&recurring=&uselang=es&language=es¤cy_code=ARS&amount=100&country=AR&ffname=astropay-ar}} Bank Transfer in AR, Spanish, ARS]
** [{{fullurl:Special:AstroPayGateway|appeal=JimmyQuote&payment_method=cash&recurring=&uselang=es&language=es¤cy_code=ARS&amount=100&country=AR&ffname=astropay-ar}} Cash in AR, Spanish, ARS]
** [{{fullurl:Special:AstroPayGateway|appeal=JimmyQuote&payment_method=cc&recurring=&uselang=es&language=es¤cy_code=CLP&amount=5000&country=CL&ffname=astropay-cl}} Credit card in CL, Spanish, CLP]
** [{{fullurl:Special:AstroPayGateway|appeal=JimmyQuote&payment_method=bt&recurring=&uselang=es&language=es¤cy_code=CLP&amount=5000&country=CL&ffname=astropay-cl}} Bank Transfer in CL, Spanish, CLP]
** [{{fullurl:Special:AstroPayGateway|appeal=JimmyQuote&payment_method=cc&recurring=&uselang=es&language=es¤cy_code=COP&amount=5000&country=CO&ffname=astropay-co}} Credit card in CO, Spanish, COP]
** [{{fullurl:Special:AstroPayGateway|appeal=JimmyQuote&payment_method=bt&recurring=&uselang=es&language=es¤cy_code=COP&amount=5000&country=CO&ffname=astropay-co}} Bank transfer in CO, Spanish, COP]
** [{{fullurl:Special:AstroPayGateway|appeal=JimmyQuote&payment_method=cash&recurring=&uselang=es&language=es¤cy_code=COP&amount=5000&country=CO&ffname=astropay-co}} Cash in CO, Spanish, COP]
** [{{fullurl:Special:AstroPayGateway|appeal=JimmyQuote&payment_method=cash&recurring=&uselang=es&language=es¤cy_code=UYU&amount=5000&country=UY&ffname=astropay-uy}} Cash in UY, Spanish, UYU]
* Ingenico
** [{{fullurl:Special:GlobalCollectGateway|appeal=JimmyQuote&ffname=cc-vmad&payment_method=cc&recurring=&uselang=en&language=en¤cy_code=USD&amount=10&country=US}} Credit card in US, English, USD]
** [{{fullurl:Special:GlobalCollectGateway|appeal=JimmyQuote&ffname=cc-vmad&payment_method=cc&recurring=&uselang=en&language=en¤cy_code=GBP&country=GB&amount=2.01}} Credit card in GB, English, GBP]
** [{{fullurl:Special:GlobalCollectGateway|appeal=JimmyQuote&ffname=rcc-vmad&payment_method=cc&recurring=1&uselang=en&language=en¤cy_code=EUR&country=US&amount=2.01}} Recurring credit card in US, English, EUR]
** [{{fullurl:Special:GlobalCollectGateway|appeal=JimmyQuote&ffname=cc-vmad&payment_method=cc&recurring=&uselang=en&language=en¤cy_code=ILS&country=IL&amount=20.01}} Credit card in IL, English, ILS]
** [{{fullurl:Special:GlobalCollectGateway|appeal=JimmyQuote&ffname=cc-vmad&payment_method=cc&recurring=&uselang=he&language=he¤cy_code=ILS&country=IL&amount=20.01}} Credit card in IL, Hebrew, ILS]
** [{{fullurl:Special:GlobalCollectGateway|appeal=JimmyQuote&recurring=&payment_method=obt&utm_medium=Waystogive&utm_campaign=C11_Waystogive&utm_key=&language=en&country=AU&returnto=Thank_You%2Fen&amountGiven=¤cy_code=AUD&frequency=onetime&amount=3&uselang=en}} Online bank transfer in AU, English, AUD]
** [{{fullurl:Special:GlobalCollectGateway|country=CN&amount=30¤cy_code=CNY&ffname=ew-alipay}} Alipay e-wallet in CN, English, CNY]
** [{{fullurl:Special:GlobalCollectGateway|appeal=JimmyQuote&recurring=&payment_method=bt&utm_medium=Waystogive&utm_campaign=C11_Waystogive&utm_key=&language=en&country=NL&returnto=Thank_You%2Fen&amountGiven=¤cy_code=EUR&frequency=onetime&amount=3&uselang=en}} Bank Transfer in NL, English, EUR]
* Ingenico - iDEAL (use ING or Rabobank for testing)
** [{{fullurl:Special:GlobalCollectGateway|appeal=JimmyQuote&ffname=rtbt-ideal-noadd&recurring=&payment_method=rtbt&payment_submethod=rtbt_ideal&utm_source=Waystogive.default%7Edefault%7Edefault%7Edefault%7Econtrol.rtbt.rtbt_ideal&utm_medium=Waystogive&utm_campaign=C11_Waystogive&utm_key=&language=en&country=NL&returnto=Thank_You%2Fen&amountGiven=¤cy_code=EUR&frequency=onetime&amount=1&uselang=en}} Real-time bank transfer (IDEAL) in NL, English, EUR, success]
** [{{fullurl:Special:GlobalCollectGateway|appeal=JimmyQuote&ffname=rtbt-ideal-noadd&recurring=&payment_method=rtbt&payment_submethod=rtbt_ideal&utm_source=Waystogive.default%7Edefault%7Edefault%7Edefault%7Econtrol.rtbt.rtbt_ideal&utm_medium=Waystogive&utm_campaign=C11_Waystogive&utm_key=&language=en&country=NL&returnto=Thank_You%2Fen&amountGiven=¤cy_code=EUR&frequency=onetime&amount=2&uselang=en}} Real-time bank transfer (IDEAL) in NL, English, EUR, cancelled]
** [{{fullurl:Special:GlobalCollectGateway|appeal=JimmyQuote&ffname=rtbt-ideal-noadd&recurring=&payment_method=rtbt&payment_submethod=rtbt_ideal&utm_source=Waystogive.default%7Edefault%7Edefault%7Edefault%7Econtrol.rtbt.rtbt_ideal&utm_medium=Waystogive&utm_campaign=C11_Waystogive&utm_key=&language=en&country=NL&returnto=Thank_You%2Fen&amountGiven=¤cy_code=EUR&frequency=onetime&amount=3&uselang=en}} Real-time bank transfer (IDEAL) in NL, English, EUR, expired]
** [{{fullurl:Special:GlobalCollectGateway|appeal=JimmyQuote&ffname=rtbt-ideal-noadd&recurring=&payment_method=rtbt&payment_submethod=rtbt_ideal&utm_source=Waystogive.default%7Edefault%7Edefault%7Edefault%7Econtrol.rtbt.rtbt_ideal&utm_medium=Waystogive&utm_campaign=C11_Waystogive&utm_key=&language=en&country=NL&returnto=Thank_You%2Fen&amountGiven=¤cy_code=EUR&frequency=onetime&amount=4&uselang=en}} Real-time bank transfer (IDEAL) in NL, English, EUR, pending]
** [{{fullurl:Special:GlobalCollectGateway|appeal=JimmyQuote&ffname=rtbt-ideal-noadd&recurring=&payment_method=rtbt&payment_submethod=rtbt_ideal&utm_source=Waystogive.default%7Edefault%7Edefault%7Edefault%7Econtrol.rtbt.rtbt_ideal&utm_medium=Waystogive&utm_campaign=C11_Waystogive&utm_key=&language=en&country=NL&returnto=Thank_You%2Fen&amountGiven=¤cy_code=EUR&frequency=onetime&amount=5&uselang=en}} Real-time bank transfer (IDEAL) in NL, English, EUR, failure]
** [{{fullurl:Special:GlobalCollectGateway|appeal=JimmyQuote&ffname=rtbt-ideal-noadd&recurring=&payment_method=rtbt&payment_submethod=rtbt_ideal&utm_source=Waystogive.default%7Edefault%7Edefault%7Edefault%7Econtrol.rtbt.rtbt_ideal&utm_medium=Waystogive&utm_campaign=C11_Waystogive&utm_key=&language=en&country=NL&returnto=Thank_You%2Fen&amountGiven=¤cy_code=EUR&frequency=onetime&amount=7&uselang=en}} Real-time bank transfer (IDEAL) in NL, English, EUR, error]
* PayPal (Legacy integration)
** [{{fullurl:Special:PaypalLegacyGateway|appeal=JimmyQuote&ffname=paypal&recurring=&language=en&utm_source=Waystogive&utm_medium=sitenotice&utm_campaign=C11_Waystogive&gateway=paypal&returnto=Thank_You%2Fen¤cy_code=USD&uselang=en}} In US, English, USD - no amount specified]
* PayPal Express Checkout
** [{{fullurl:Special:PaypalExpressGateway|appeal=JimmyQuote&ffname=paypal&recurring=&language=en&utm_source=Waystogive&utm_medium=sitenotice&utm_campaign=C11_Waystogive&gateway=paypal&returnto=Thank_You%2Fen¤cy_code=USD&uselang=en}} In US, English, USD - no amount specified]
** [{{fullurl:Special:PaypalExpressGateway|appeal=JimmyQuote&ffname=paypal&recurring=1&language=en&utm_source=Waystogive&utm_medium=sitenotice&utm_campaign=C11_Waystogive&gateway=paypal&returnto=Thank_You%2Fen¤cy_code=USD&uselang=en}} Recurring, in US, English, USD - no amount specified]
* Worldpay
** [{{fullurl:Special:WorldPayGateway|country=FR&amount=3¤cy_code=EUR&payment_method=cc}} Credit card in France, no language specified, EUR]
* Gateway form chooser
** [{{fullurl:Special:GatewayFormChooser|uselang=en&language=en¤cy_code=USD&amount=10&country=US&payment_method=cc}} Credit card in US, English, USD]
** [{{fullurl:Special:GatewayFormChooser|uselang=en&language=en¤cy_code=EEK&country=US&amount=2500&payment_method=paypal}} Paypal in US, English, EEK]
** [{{fullurl:Special:GatewayFormChooser|uselang=en&language=en¤cy_code=CAD&country=CA&amount=250&payment_method=amazon}} Amazon in CA, English, CAD]
See also [https://phabricator.wikimedia.org/T86247 T86247], this would be a good use of a Special page, to build a payments query out of adjustable parameters.
== Errors ==
* [{{fullurl:Special:GlobalCollectGateway|appeal=JimmyQuote&ffname=cc-vmad&recurring=&uselang=en&language=en¤cy_code=USD&country=US&amount=.01}} Donation amount too low (GlobalCollect)]
* [{{fullurl:Special:AmazonGateway|uselang=en&language=en¤cy_code=USD&country=US&amount=992500&payment_method=amazon}} Donation amount too high (Amazon)]
* [{{fullurl:Special:PaypalLegacyGateway|appeal=JimmyQuote&ffname=paypal&recurring=&uselang=en&language=en¤cy_code=INR&country=US&amount=200.01}} Correcting currency (PayPal)]
* [{{fullurl:Special:PaypalLegacyGateway|ffname=paypal&recurring=&payment_method=paypal&utm_source=fr-redir.default%7Edefault%7Edefault%7Edefault%7Econtrol.paypal&utm_medium=spontaneous&utm_campaign=spontaneous&utm_key=&referrer=&language=en&country=US&returnto=Thank_You%2Fen&amountGiven=¤cy_code=EEK&frequency=onetime&amount=30000000&uselang=en}} Amount too high and currency correction (PayPal)]
* [{{fullurl:Special:GatewayFormChooser|uselang=en&language=en¤cy_code=USD&amount=10&country=US&payment_method=blarg}} Nonsense payment method]
* [{{fullurl:Special:PaypalLegacyGateway|ffname=badname&recurring=&payment_method=paypal&language=en&country=NO&returnto=Thank_You%2Fen&amountGiven=¤cy_code=NKD&frequency=onetime&amount=3000&uselang=en}} Bad form name (PayPal)]
* [{{fullurl:Special:GlobalCollectGateway|ffname=badname&recurring=&payment_method=aa&language=en&country=NO&returnto=Thank_You%2Fen&amountGiven=¤cy_code=ABC&frequency=onetime&amount=3000&uselang=en}} Bad form name, method, and currency (GlobalCollect)]
== Debugging ==
* [{{fullurl:Special:GatewayFormChooser|testGetAll=1}} Dump gateway form choices]
* [{{fullurl:Special:GlobalCollectGateway|appeal=JimmyQuote&ffname=cc-vmad&recurring=&uselang=qqx&language=qqx¤cy_code=USD&country=US&amount=1.01}} Payment form with message labels (GlobalCollect)]
= Orphan slayer =
vagrant ssh
mwscript extensions/DonationInterface/globalcollect_gateway/scripts/orphans.php --wiki paymentswiki
= ActiveMQ =
You currently have to set up the port forwarding manually, I donno what's wrong with that.
vagrant forward-port 8161 8161
vagrant reload
= SmashPig =
Test the SmashPig listener using something like the following:
cd srv/SmashPig/PaymentProviders/Amazon/Tests
python ./inject.py \
http://payments-listener.local.wmftest.net:8080/smashpig/amazon/listener \
Data/IPN/SubscriptionSuccessful.json
| MediaWiki | 5 | hpdang/mediawiki-vagrant | puppet/modules/payments/files/Main_Page.wiki | [
"MIT"
] |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.monaco-workbench.nopanel .part.panel {
display: none !important;
visibility: hidden !important;
}
.monaco-workbench .part.panel.bottom .composite.title {
border-top-width: 1px;
border-top-style: solid;
}
.monaco-workbench.noeditorarea .part.panel.bottom .composite.title {
border-top-width: 0; /* no border when editor area is hiden */
}
.monaco-workbench .part.panel.right {
border-left-width: 1px;
border-left-style: solid;
}
.monaco-workbench.noeditorarea .part.panel.right {
border-left-width: 0; /* no border when editor area is hiden */
}
.monaco-workbench .part.panel.left {
border-right-width: 1px;
border-right-style: solid;
}
.monaco-workbench.noeditorarea .part.panel.left {
border-right-width: 0; /* no border when editor area is hiden */
}
| CSS | 3 | sbj42/vscode | src/vs/workbench/browser/parts/panel/media/panelpart.css | [
"MIT"
] |
;; system.lsp -- system-dependent lisp code
; local definition for play
; this one is for Mac OS-X:
(if (not (boundp '*default-sf-format*))
(setf *default-sf-format* snd-head-wave))
(if (not (boundp '*default-sound-file*))
(compute-default-sound-file))
(if (not (boundp '*default-sf-dir*))
(setf *default-sf-dir* "/tmp"))
(format t "*default-sf-dir* (default sound file directory) is ~A~%"
*default-sf-dir*)
(if (not (boundp '*default-sf-mode*))
(setf *default-sf-mode* snd-mode-pcm))
(if (not (boundp '*default-sf-bits*))
(setf *default-sf-bits* 16))
(if (not (boundp '*default-plot-file*))
(setf *default-plot-file* (strcat (get-user) "-points.dat")))
; FULL-NAME-P -- test if file name is a full path or relative path
;
; (otherwise the *default-sf-dir* will be prepended
;
(defun full-name-p (filename)
(or (eq (char filename 0) #\/)
(eq (char filename 0) #\.)))
; RELATIVE-PATH-P -- test if filename or path is a relative path
;
(defun relative-path-p (filename)
(not (eq (char filename 0) #\/)))
(setf *file-separator* #\/)
;; PLAY-FILE - play a sound file
;;
(defun play-file (name)
(s-save (s-read name) NY:ALL "" :play t))
;; R - replay last file written with PLAY
(defun r () (play-file *default-sound-file*))
;;;; use this old version if you want to use sndplay to play
;;;; the result file rather than play the samples as they
;;;; are computed. This version does not autonormalize.
;; PLAY - write value of an expression to file and play it
;;
;(defmacro play (expr)
; `(prog (specs)
; (setf specs (s-save (force-srate *sound-srate* ,expr)
; 1000000000 *default-sound-file*))
; (r)))
;;;;
; local definition for play
(defmacro play (expr)
`(s-save-autonorm ,expr NY:ALL *default-sound-file* :play *soundenable*))
;; use standard s-plot
| Common Lisp | 5 | joshrose/audacity | lib-src/libnyquist/nyquist/sys/unix/osx/system.lsp | [
"CC-BY-3.0"
] |
FROM python:3.8.2-slim
# note: a single RUN to avoid too many image layers being produced
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install git apt-utils -y \
&& git config --global user.email "black@psf.github.com" \
&& git config --global user.name "Gallery/Black"
COPY gallery.py /
ENTRYPOINT ["python", "/gallery.py"]
| Dockerfile | 4 | StarryInternet/black | gallery/Dockerfile | [
"MIT"
] |
name = "TOML"
uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
version = "1.0.0"
[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
[targets]
test = ["Test"]
| TOML | 3 | vanillajonathan/julia | stdlib/TOML/Project.toml | [
"Zlib"
] |
fn main() {
#[clippy::author]
let _ = ::std::cmp::min(3, 4);
}
| Rust | 3 | Eric-Arellano/rust | src/tools/clippy/tests/ui/author/call.rs | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] |
-- start query 46 in stream 0 using template query46.tpl
select
c_last_name,
c_first_name,
ca_city,
bought_city,
ss_ticket_number,
amt,
profit
from
(select
ss_ticket_number,
ss_customer_sk,
ca_city bought_city,
sum(ss_coupon_amt) amt,
sum(ss_net_profit) profit
from
store_sales,
date_dim,
store,
household_demographics,
customer_address
where
store_sales.ss_sold_date_sk = date_dim.d_date_sk
and store_sales.ss_store_sk = store.s_store_sk
and store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk
and store_sales.ss_addr_sk = customer_address.ca_address_sk
and (household_demographics.hd_dep_count = 5
or household_demographics.hd_vehicle_count = 3)
and date_dim.d_dow in (6, 0)
and date_dim.d_year in (1999, 1999 + 1, 1999 + 2)
and store.s_city in ('Midway', 'Concord', 'Spring Hill', 'Brownsville', 'Greenville')
-- partition key filter
and ss_sold_date_sk in (2451181, 2451182, 2451188, 2451189, 2451195, 2451196, 2451202, 2451203, 2451209, 2451210, 2451216, 2451217,
2451223, 2451224, 2451230, 2451231, 2451237, 2451238, 2451244, 2451245, 2451251, 2451252, 2451258, 2451259,
2451265, 2451266, 2451272, 2451273, 2451279, 2451280, 2451286, 2451287, 2451293, 2451294, 2451300, 2451301,
2451307, 2451308, 2451314, 2451315, 2451321, 2451322, 2451328, 2451329, 2451335, 2451336, 2451342, 2451343,
2451349, 2451350, 2451356, 2451357, 2451363, 2451364, 2451370, 2451371, 2451377, 2451378, 2451384, 2451385,
2451391, 2451392, 2451398, 2451399, 2451405, 2451406, 2451412, 2451413, 2451419, 2451420, 2451426, 2451427,
2451433, 2451434, 2451440, 2451441, 2451447, 2451448, 2451454, 2451455, 2451461, 2451462, 2451468, 2451469,
2451475, 2451476, 2451482, 2451483, 2451489, 2451490, 2451496, 2451497, 2451503, 2451504, 2451510, 2451511,
2451517, 2451518, 2451524, 2451525, 2451531, 2451532, 2451538, 2451539, 2451545, 2451546, 2451552, 2451553,
2451559, 2451560, 2451566, 2451567, 2451573, 2451574, 2451580, 2451581, 2451587, 2451588, 2451594, 2451595,
2451601, 2451602, 2451608, 2451609, 2451615, 2451616, 2451622, 2451623, 2451629, 2451630, 2451636, 2451637,
2451643, 2451644, 2451650, 2451651, 2451657, 2451658, 2451664, 2451665, 2451671, 2451672, 2451678, 2451679,
2451685, 2451686, 2451692, 2451693, 2451699, 2451700, 2451706, 2451707, 2451713, 2451714, 2451720, 2451721,
2451727, 2451728, 2451734, 2451735, 2451741, 2451742, 2451748, 2451749, 2451755, 2451756, 2451762, 2451763,
2451769, 2451770, 2451776, 2451777, 2451783, 2451784, 2451790, 2451791, 2451797, 2451798, 2451804, 2451805,
2451811, 2451812, 2451818, 2451819, 2451825, 2451826, 2451832, 2451833, 2451839, 2451840, 2451846, 2451847,
2451853, 2451854, 2451860, 2451861, 2451867, 2451868, 2451874, 2451875, 2451881, 2451882, 2451888, 2451889,
2451895, 2451896, 2451902, 2451903, 2451909, 2451910, 2451916, 2451917, 2451923, 2451924, 2451930, 2451931,
2451937, 2451938, 2451944, 2451945, 2451951, 2451952, 2451958, 2451959, 2451965, 2451966, 2451972, 2451973,
2451979, 2451980, 2451986, 2451987, 2451993, 2451994, 2452000, 2452001, 2452007, 2452008, 2452014, 2452015,
2452021, 2452022, 2452028, 2452029, 2452035, 2452036, 2452042, 2452043, 2452049, 2452050, 2452056, 2452057,
2452063, 2452064, 2452070, 2452071, 2452077, 2452078, 2452084, 2452085, 2452091, 2452092, 2452098, 2452099,
2452105, 2452106, 2452112, 2452113, 2452119, 2452120, 2452126, 2452127, 2452133, 2452134, 2452140, 2452141,
2452147, 2452148, 2452154, 2452155, 2452161, 2452162, 2452168, 2452169, 2452175, 2452176, 2452182, 2452183,
2452189, 2452190, 2452196, 2452197, 2452203, 2452204, 2452210, 2452211, 2452217, 2452218, 2452224, 2452225,
2452231, 2452232, 2452238, 2452239, 2452245, 2452246, 2452252, 2452253, 2452259, 2452260, 2452266, 2452267,
2452273, 2452274)
group by
ss_ticket_number,
ss_customer_sk,
ss_addr_sk,
ca_city
) dn,
customer,
customer_address current_addr
where
ss_customer_sk = c_customer_sk
and customer.c_current_addr_sk = current_addr.ca_address_sk
and current_addr.ca_city <> bought_city
order by
c_last_name,
c_first_name,
ca_city,
bought_city,
ss_ticket_number
limit 100
-- end query 46 in stream 0 using template query46.tpl
| SQL | 3 | OlegPt/spark | sql/core/src/test/resources/tpcds-modifiedQueries/q46.sql | [
"Apache-2.0"
] |
# Copyright (c) 2020 vesoft inc. All rights reserved.
#
# This source code is licensed under Apache 2.0 License.
Feature: Test match used in pipe
Background:
Given a graph with space named "nba"
Scenario: Order by after match
When executing query:
"""
MATCH (n:player{name:"Tim Duncan"})-[]-(m) RETURN n,m ORDER BY m;
"""
Then the result should be, in any order, with relax comparison:
| n | m |
| ("Tim Duncan") | ("Aron Baynes") |
| ("Tim Duncan") | ("Boris Diaw") |
| ("Tim Duncan") | ("Danny Green") |
| ("Tim Duncan") | ("Danny Green") |
| ("Tim Duncan") | ("Dejounte Murray") |
| ("Tim Duncan") | ("LaMarcus Aldridge") |
| ("Tim Duncan") | ("LaMarcus Aldridge") |
| ("Tim Duncan") | ("Manu Ginobili") |
| ("Tim Duncan") | ("Manu Ginobili") |
| ("Tim Duncan") | ("Manu Ginobili") |
| ("Tim Duncan") | ("Manu Ginobili") |
| ("Tim Duncan") | ("Marco Belinelli") |
| ("Tim Duncan") | ("Shaquille O'Neal") |
| ("Tim Duncan") | ("Spurs") |
| ("Tim Duncan") | ("Tiago Splitter") |
| ("Tim Duncan") | ("Tony Parker") |
| ("Tim Duncan") | ("Tony Parker") |
| ("Tim Duncan") | ("Tony Parker") |
| ("Tim Duncan") | ("Tony Parker") |
Scenario: Group after match
When executing query:
"""
MATCH (n:player{name:"Tim Duncan"})-[]-(m)
WITH n as a, m as b
RETURN a, b, count(*)
"""
Then the result should be, in any order, with relax comparison:
| a | b | count(*) |
| ("Tim Duncan") | ("Spurs") | 1 |
| ("Tim Duncan") | ("Shaquille O'Neal") | 1 |
| ("Tim Duncan") | ("Tiago Splitter") | 1 |
| ("Tim Duncan") | ("Marco Belinelli") | 1 |
| ("Tim Duncan") | ("Dejounte Murray") | 1 |
| ("Tim Duncan") | ("Tony Parker") | 4 |
| ("Tim Duncan") | ("Danny Green") | 2 |
| ("Tim Duncan") | ("Manu Ginobili") | 4 |
| ("Tim Duncan") | ("Aron Baynes") | 1 |
| ("Tim Duncan") | ("LaMarcus Aldridge") | 2 |
| ("Tim Duncan") | ("Boris Diaw") | 1 |
Scenario: Top n after match
When executing query:
"""
MATCH (n:player{name:"Tim Duncan"})-[]-(m) RETURN n,m ORDER BY m LIMIT 10;
"""
Then the result should be, in any order, with relax comparison:
| n | m |
| ("Tim Duncan") | ("Aron Baynes") |
| ("Tim Duncan") | ("Boris Diaw") |
| ("Tim Duncan") | ("Danny Green") |
| ("Tim Duncan") | ("Danny Green") |
| ("Tim Duncan") | ("Dejounte Murray") |
| ("Tim Duncan") | ("LaMarcus Aldridge") |
| ("Tim Duncan") | ("LaMarcus Aldridge") |
| ("Tim Duncan") | ("Manu Ginobili") |
| ("Tim Duncan") | ("Manu Ginobili") |
| ("Tim Duncan") | ("Manu Ginobili") |
Scenario: Go after match
When executing query:
"""
MATCH (n:player{name:"Tim Duncan"})-[]-(m) RETURN n,m | GO FROM $-.n OVER *;
"""
Then a SyntaxError should be raised at runtime: syntax error near `| GO FRO'
Scenario: Set op after match
When executing query:
"""
MATCH (n:player{name:"Tim Duncan"}) RETURN n
UNION
MATCH (n:player{name:"Tony Parker"}) RETURN n
"""
Then the result should be, in any order, with relax comparison:
| n |
| ("Tim Duncan") |
| ("Tony Parker") |
When executing query:
"""
MATCH (n:player{name:"Tim Duncan"}) RETURN n
UNION ALL
MATCH (n:player)-[e:like]->() WHERE e.likeness>90 RETURN n
"""
Then the result should be, in any order, with relax comparison:
| n |
| ("Tim Duncan" :bachelor{name: "Tim Duncan", speciality: "psychology"} :player{age: 42, name: "Tim Duncan"}) |
| ("Dejounte Murray" :player{age: 29, name: "Dejounte Murray"}) |
| ("Dejounte Murray" :player{age: 29, name: "Dejounte Murray"}) |
| ("Dejounte Murray" :player{age: 29, name: "Dejounte Murray"}) |
| ("Dejounte Murray" :player{age: 29, name: "Dejounte Murray"}) |
| ("Dejounte Murray" :player{age: 29, name: "Dejounte Murray"}) |
| ("Tony Parker" :player{age: 36, name: "Tony Parker"}) |
| ("Tim Duncan" :bachelor{name: "Tim Duncan", speciality: "psychology"} :player{age: 42, name: "Tim Duncan"}) |
| ("Dejounte Murray" :player{age: 29, name: "Dejounte Murray"}) |
| ("Tony Parker" :player{age: 36, name: "Tony Parker"}) |
| ("Dejounte Murray" :player{age: 29, name: "Dejounte Murray"}) |
| ("Dejounte Murray" :player{age: 29, name: "Dejounte Murray"}) |
| ("Shaquille O'Neal" :player{age: 47, name: "Shaquille O'Neal"}) |
| ("LeBron James" :player{age: 34, name: "LeBron James"}) |
| ("Paul George" :player{age: 28, name: "Paul George"}) |
| ("Dejounte Murray" :player{age: 29, name: "Dejounte Murray"}) |
| ("Dejounte Murray" :player{age: 29, name: "Dejounte Murray"}) |
| ("Marc Gasol" :player{age: 34, name: "Marc Gasol"}) |
| ("Tim Duncan" :bachelor{name: "Tim Duncan", speciality: "psychology"} :player{age: 42, name: "Tim Duncan"}) |
| ("Dejounte Murray" :player{age: 29, name: "Dejounte Murray"}) |
| ("Paul Gasol" :player{age: 38, name: "Paul Gasol"}) |
When executing query:
"""
MATCH (n:player{name:"Tim Duncan"}) RETURN n
UNION DISTINCT
MATCH (n:player)-[e:like]->() WHERE e.likeness>90 RETURN n
"""
Then the result should be, in any order, with relax comparison:
| n |
| ("Tim Duncan" :bachelor{name: "Tim Duncan", speciality: "psychology"} :player{age: 42, name: "Tim Duncan"}) |
| ("Dejounte Murray" :player{age: 29, name: "Dejounte Murray"}) |
| ("Tony Parker" :player{age: 36, name: "Tony Parker"}) |
| ("Shaquille O'Neal" :player{age: 47, name: "Shaquille O'Neal"}) |
| ("LeBron James" :player{age: 34, name: "LeBron James"}) |
| ("Paul George" :player{age: 28, name: "Paul George"}) |
| ("Marc Gasol" :player{age: 34, name: "Marc Gasol"}) |
| ("Paul Gasol" :player{age: 38, name: "Paul Gasol"}) |
| Cucumber | 4 | liuqian1990/nebula | tests/tck/features/bugfix/MatchUsedInPipe.feature | [
"Apache-2.0"
] |
From d82434785ecab16223a0bd4ec8ede020bf244003 Mon Sep 17 00:00:00 2001
From: Keno Fischer <keno@juliacomputing.com>
Date: Mon, 1 Mar 2021 16:42:05 -0500
Subject: [PATCH 4/4] AArch64: Remove Bad optimization
Removes the code responsible for causing https://bugs.llvm.org/show_bug.cgi?id=49357.
A fix is in progress upstream, but I don't think it's easy, so this
fixes the bug in the meantime. The optimization it does is minor.
---
llvm/lib/Target/AArch64/AArch64FastISel.cpp | 24 ---------------------
1 file changed, 24 deletions(-)
diff --git a/llvm/lib/Target/AArch64/AArch64FastISel.cpp b/llvm/lib/Target/AArch64/AArch64FastISel.cpp
index cf3ebed6ef19..6908a51c47d6 100644
--- a/llvm/lib/Target/AArch64/AArch64FastISel.cpp
+++ b/llvm/lib/Target/AArch64/AArch64FastISel.cpp
@@ -4600,30 +4600,6 @@ bool AArch64FastISel::selectIntExt(const Instruction *I) {
// Try to optimize already sign-/zero-extended values from function arguments.
bool IsZExt = isa<ZExtInst>(I);
- if (const auto *Arg = dyn_cast<Argument>(I->getOperand(0))) {
- if ((IsZExt && Arg->hasZExtAttr()) || (!IsZExt && Arg->hasSExtAttr())) {
- if (RetVT == MVT::i64 && SrcVT != MVT::i64) {
- unsigned ResultReg = createResultReg(&AArch64::GPR64RegClass);
- BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
- TII.get(AArch64::SUBREG_TO_REG), ResultReg)
- .addImm(0)
- .addReg(SrcReg, getKillRegState(SrcIsKill))
- .addImm(AArch64::sub_32);
- SrcReg = ResultReg;
- }
- // Conservatively clear all kill flags from all uses, because we are
- // replacing a sign-/zero-extend instruction at IR level with a nop at MI
- // level. The result of the instruction at IR level might have been
- // trivially dead, which is now not longer true.
- unsigned UseReg = lookUpRegForValue(I);
- if (UseReg)
- MRI.clearKillFlags(UseReg);
-
- updateValueMap(I, SrcReg);
- return true;
- }
- }
-
unsigned ResultReg = emitIntExt(SrcVT, SrcReg, RetVT, IsZExt);
if (!ResultReg)
return false;
--
2.25.1
| Diff | 2 | jonas-schulze/julia | deps/patches/llvm-11-AArch64-FastIsel-bug.patch | [
"MIT"
] |
" Vim compiler file
" Compiler: Pylint for Python
" Maintainer: Daniel Moch <daniel@danielmoch.com>
" Last Change: 2016 May 20
if exists("current_compiler")
finish
endif
let current_compiler = "pylint"
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
CompilerSet makeprg=pylint\ --output-format=text\ --msg-template=\"{path}:{line}:{column}:{C}:\ [{symbol}]\ {msg}\"\ --reports=no
CompilerSet errorformat=%A%f:%l:%c:%t:\ %m,%A%f:%l:\ %m,%A%f:(%l):\ %m,%-Z%p^%.%#,%-G%.%#
| VimL | 4 | uga-rosa/neovim | runtime/compiler/pylint.vim | [
"Vim"
] |
1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
-1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
-1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -81.00
1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
-1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -54.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -96.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -33.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -69.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -9.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -90.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -47.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -94.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -90.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -63.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -47.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -61.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -90.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -8.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -47.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -56.00
0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -81.00
0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -96.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -33.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -69.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -9.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -23.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -94.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -23.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -63.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -61.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -23.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -8.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -72.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -56.00
0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -81.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -81.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -81.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -96.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -81.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -81.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -81.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -33.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -81.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -81.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -69.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -81.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -9.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -81.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -94.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -63.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -81.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -8.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -81.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -56.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -96.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -33.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -69.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -9.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -94.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -63.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -8.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -67.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -56.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -96.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -33.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -69.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -9.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -94.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -63.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -8.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -56.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -96.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -96.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -96.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -33.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -96.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -96.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -69.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -96.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -9.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -96.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -94.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -63.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -96.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -8.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -96.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -56.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -33.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -69.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -9.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -94.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -63.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -8.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -56.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -33.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -69.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -64.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -9.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -64.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -94.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -63.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -64.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -8.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -64.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -56.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -33.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -69.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -9.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -94.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -63.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -8.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -56.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -33.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -33.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -69.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -9.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -33.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -94.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -33.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -63.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -33.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -8.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -56.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -69.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -9.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -1.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -94.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -63.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -1.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -8.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -1.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -56.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 -69.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 -9.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -94.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 -69.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 -63.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 -9.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 -69.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 -8.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 -9.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -56.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 0.00 -63.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 0.00 -94.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 0.00 -21.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 0.00 -8.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 0.00 -94.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 1.00 0.00 -56.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 0.00 -63.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 0.00 -8.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 0.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 1.00 0.00 -56.00
1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -90.00
0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -23.00
0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -86.00
0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -93.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -54.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -30.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -83.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -84.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -11.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -33.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -61.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 -69.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 -1.00 -21.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 -1.00 -63.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 -1.00 -8.00
-1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 53.00
0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 28.00
0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19.00
0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 33.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 4.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 89.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 36.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 70.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 99.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 91.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 6.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 39.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00 0.00 0.00
0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00 0.00 44.00
| Matlab | 1 | yinrun/LOPDC-Benchmarks | strippacking/matlab/sp-15-33-one.matlab | [
"MIT"
] |
#include "mop.h"
MODULE = Class::MOP::Package PACKAGE = Class::MOP::Package
PROTOTYPES: DISABLE
BOOT:
INSTALL_SIMPLE_READER_WITH_KEY(Package, name, package);
| XS | 1 | skington/Moose | xs/Package.xs | [
"Artistic-1.0"
] |
(import [hy.models.string [HyString]]
[hy.models.symbol [HySymbol]]
[hy.models.list [HyList]]
[hy.models.keyword [HyKeyword]]
[hy.models.expression [HyExpression]])
(defclass MatchFailure [Exception] [])
(defn match-failed []
(raise (MatchFailure "match failed")))
(defn try-func [f]
(try
(do (f) true)
(except [] false)))
(defmacro accfor [args &rest body]
(setv names (cut args 0 nil 2))
`(genexpr ((fn [~@names] ~@body) ~@names) [~@args]))
(defmacro defunion [name &rest types]
(setv base `(defclass ~name [object] []))
(setv classes (accfor [t types]
(setv fields (HyList (cdr t)))
(setv field-slist (HyList (map HyString fields)))
(setv field-mlist (list (accfor [f fields] `(. self ~f))))
(defn mk-fmstr [s]
(HyString (.join ", " (accfor [f fields] (% "%s=%%%s" (, f s))))))
(setv field-sfmstr (mk-fmstr "s"))
(setv field-rfmstr (mk-fmstr "r"))
(setv sname (HyString (car t)))
(defn mk-fmfn [v]
`(% "%s(%s)" (, ~sname (% ~v (, ~@field-mlist)))))
`(defclass ~(get t 0) [~name]
[--init-- (fn [self ~@fields]
(for [x (zip ~field-slist ~fields)]
(setattr self (get x 0) (get x 1)))
(setv self.-fields ~field-slist)
nil
)]
[--str-- (fn [self] ~(mk-fmfn field-sfmstr))]
[--repr-- (fn [self] ~(mk-fmfn field-rfmstr))])))
(setv result (list (+ [base] (list classes))))
`(do ~@result nil))
(defmacro match [x &rest branches]
(defn get-tp [p]
(cond
[(isinstance p HyExpression)
(cond
[(= (car p) `,) "tupl-match"]
[(.startswith (car p) "\ufdd0:") "keyword-arg"]
[true "data-match"])]
[(isinstance p HySymbol)
(if (= p `_) "fallthough" "test-value")]
[(isinstance p HyList) "list-match"]
[(isinstance p HyKeyword) "grap-value"]
[true "test-value"]))
(defn map-fields [func var p f]
(setv res [])
(for [[i x] (enumerate p)]
(if (= x (HySymbol "..."))
(break))
(res.append (func (f (HyInteger i)) x)))
(and res (reduce + res)))
(defn match-base [func var p fields no-slc]
(unless no-slc (setv p (cut p 1)))
(map-fields func var p (fn [i] (if fields `(getattr ~var (get (. ~var -fields) ~i))
`(get ~var ~i)))))
(defn cond-match-base [var p &optional t no-slc fields]
(setv p2 (if no-slc p (cut p 1)))
(+ [`(isinstance ~var ~(or t (get p 0))) ]
(match-base recurse-cond var p fields no-slc)))
(defn body-match-base [var p &optional fields no-slc]
(match-base recurse-body var p fields no-slc))
(defn get-kw-path [var p]
(setv base (get var 2 1 1))
`(. ~base ~(HySymbol (cut (car p) 2))))
(defn recurse-cond [var p]
(setv tp (get-tp p))
(cond
[(= tp "data-match") (cond-match-base var p :fields true)]
[(= tp "tupl-match") (cond-match-base var p :t `tuple)]
[(= tp "list-match") (cond-match-base var p :t `list :no-slc true)]
[(= tp "test-value") [`(and (.try-func (--import-- "hyskell")
(fn [] ~var)) (= ~var ~p))]]
[(= tp "keyword-arg") (if (!= (len p) 2)
(macro-error p "keyword matches need 2 args"))
; [`(. ~base ~(HySymbol (cut (car p) 2)))]
(recurse-cond (get-kw-path var p) (get p 1))]
[(= tp "fallthough") [`(.try-func (--import-- "hyskell") (fn [] ~var))]]
[true []]))
(defn recurse-body [var p]
(setv tp (get-tp p))
(cond
[(= tp "data-match") (body-match-base var p :fields true)]
[(= tp "tupl-match") (body-match-base var p)]
[(= tp "list-match") (body-match-base var p :no-slc true)]
[(= tp "grap-value") [`(setv ~(HySymbol (cut p 2)) ~var)]]
[(= tp "keyword-arg") (recurse-body (get-kw-path var p) (get p 1))]
[true []]))
(setv var (.replace (gensym) x))
(.replace `(do
(setv ~var ~x)
(cond ~@(accfor [branch branches]
(if (< (len branch) 2)
(macro-error branch "branch requires >= two items"))
(setv tag (get branch 0))
(setv cond `(and true true ~@(recurse-cond var tag)))
(setv code `(do ~@(recurse-body var tag) ~@(cut branch 1)))
(cond.replace tag)
(code.replace (get branch 1))
(.replace `[~cond ~code] tag))
[true (.match-failed (--import-- "hyskell"))])) x))
| Hy | 3 | ajnavarro/language-dataset | data/github.com/refi64/hyskell/ed88f8dc557b4392bae37ef2404cd5d2e7cbaa76/hyskell.hy | [
"MIT"
] |
<!DOCTYPE html>
<!--
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.
-->
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src="lib/simpleRequire.js"></script>
<script src="lib/config.js"></script>
<script src="lib/jquery.min.js"></script>
<script src="lib/facePrint.js"></script>
<script src="lib/testHelper.js"></script>
<!-- <script src="ut/lib/canteen.js"></script> -->
<link rel="stylesheet" href="lib/reset.css" />
</head>
<body>
<style>
</style>
<div id="main0"></div>
<div id="main1"></div>
<script>
require([
'echarts',
// 'map/js/china',
// './data/nutrients.json'
], function (echarts) {
var option;
var indexes = Array.from(Array(1000), (_, i) => {
return `index${i}`
})
// var option = {
// animation: false,
// xAxis: {
// type: 'category',
// data: Array.from(Array(10), (_, i) => {
// return i
// })
// },
// yAxis: {
// type: 'value'
// },
// series: indexes.map(index => {
// return {
// data: Array.from(Array(10), (_, i) => {
// return Math.random()*100
// }),
// lineStyle: { width: 0.5 },
// showSymbol: false,
// type: 'line',
// }
// })
// };
var option = {
xAxis: {
type: 'category',
},
yAxis: {
type: 'value'
},
dataset: {
// dimension: ['date', ...indexes],
source: Array.from(Array(10), (_, i) => {
return {
date: i,
...indexes.reduce((item, next) => {
item[next] = Math.random()*100
return item
}, {})
}
})
},
series: indexes.map(index => {
return {
type: 'line',
name: index,
animation: false,
showSymbol: false,
lineStyle: {
width: 0.5
}
}
})
};
var chart = testHelper.create(echarts, 'main0', {
title: [
'Dataset with 1000 dimensions.',
'Case from https://github.com/apache/echarts/issues/11907'
],
option: {}
});
console.time('render');
chart.setOption(option)
console.timeEnd('render');
});
</script>
<script>
require([
'echarts',
// 'map/js/china',
// './data/nutrients.json'
], function (echarts) {
var option;
var indexes = Array.from(Array(1000), (_, i) => {
return `index${i}`
})
// var option = {
// animation: false,
// xAxis: {
// type: 'category',
// data: Array.from(Array(10), (_, i) => {
// return i
// })
// },
// yAxis: {
// type: 'value'
// },
// series: indexes.map(index => {
// return {
// data: Array.from(Array(10), (_, i) => {
// return Math.random()*100
// }),
// lineStyle: { width: 0.5 },
// showSymbol: false,
// stack: 'main',
// type: 'line',
// }
// })
// };
var option = {
xAxis: {
type: 'category',
},
yAxis: {
type: 'value'
},
dataset: {
// dimension: ['date', ...indexes],
source: Array.from(Array(10), (_, i) => {
return {
date: i,
...indexes.reduce((item, next) => {
item[next] = Math.random()*100
return item
}, {})
}
})
},
// series: indexes.map(index => {
// return {
// type: 'line',
// name: index,
// animation: false,
// showSymbol: false,
// stack: 'main',
// lineStyle: {
// width: 0.5
// }
// }
// })
series: indexes.map(index => {
return {
type: 'line',
name: index,
animation: false,
showSymbol: false,
stack: 'main',
lineStyle: {
width: 0.5
}
}
})
};
var chart = testHelper.create(echarts, 'main1', {
title: [
'Dataset with 1000 dimensions. Stacked'
],
option: {}
});
console.time('render');
chart.setOption(option)
console.timeEnd('render');
});
</script>
</body>
</html>
| HTML | 4 | DominiqueDeCordova/echarts | test/dataset-performance.html | [
"Apache-2.0"
] |
%{
/******************************************************************************
*
* Module Name: aslcompiler.y - Bison/Yacc input file (ASL grammar and actions)
*
*****************************************************************************/
/******************************************************************************
*
* 1. Copyright Notice
*
* Some or all of this work - Copyright (c) 1999 - 2014, Intel Corp.
* All rights reserved.
*
* 2. License
*
* 2.1. This is your license from Intel Corp. under its intellectual property
* rights. You may have additional license terms from the party that provided
* you this software, covering your right to use that party's intellectual
* property rights.
*
* 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
* copy of the source code appearing in this file ("Covered Code") an
* irrevocable, perpetual, worldwide license under Intel's copyrights in the
* base code distributed originally by Intel ("Original Intel Code") to copy,
* make derivatives, distribute, use and display any portion of the Covered
* Code in any form, with the right to sublicense such rights; and
*
* 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
* license (with the right to sublicense), under only those claims of Intel
* patents that are infringed by the Original Intel Code, to make, use, sell,
* offer to sell, and import the Covered Code and derivative works thereof
* solely to the minimum extent necessary to exercise the above copyright
* license, and in no event shall the patent license extend to any additions
* to or modifications of the Original Intel Code. No other license or right
* is granted directly or by implication, estoppel or otherwise;
*
* The above copyright and patent license is granted only if the following
* conditions are met:
*
* 3. Conditions
*
* 3.1. Redistribution of Source with Rights to Further Distribute Source.
* Redistribution of source code of any substantial portion of the Covered
* Code or modification with rights to further distribute source must include
* the above Copyright Notice, the above License, this list of Conditions,
* and the following Disclaimer and Export Compliance provision. In addition,
* Licensee must cause all Covered Code to which Licensee contributes to
* contain a file documenting the changes Licensee made to create that Covered
* Code and the date of any change. Licensee must include in that file the
* documentation of any changes made by any predecessor Licensee. Licensee
* must include a prominent statement that the modification is derived,
* directly or indirectly, from Original Intel Code.
*
* 3.2. Redistribution of Source with no Rights to Further Distribute Source.
* Redistribution of source code of any substantial portion of the Covered
* Code or modification without rights to further distribute source must
* include the following Disclaimer and Export Compliance provision in the
* documentation and/or other materials provided with distribution. In
* addition, Licensee may not authorize further sublicense of source of any
* portion of the Covered Code, and must include terms to the effect that the
* license from Licensee to its licensee is limited to the intellectual
* property embodied in the software Licensee provides to its licensee, and
* not to intellectual property embodied in modifications its licensee may
* make.
*
* 3.3. Redistribution of Executable. Redistribution in executable form of any
* substantial portion of the Covered Code or modification must reproduce the
* above Copyright Notice, and the following Disclaimer and Export Compliance
* provision in the documentation and/or other materials provided with the
* distribution.
*
* 3.4. Intel retains all right, title, and interest in and to the Original
* Intel Code.
*
* 3.5. Neither the name Intel nor any other trademark owned or controlled by
* Intel shall be used in advertising or otherwise to promote the sale, use or
* other dealings in products derived from or relating to the Covered Code
* without prior written authorization from Intel.
*
* 4. Disclaimer and Export Compliance
*
* 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
* HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
* IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE,
* INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY
* UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY
* IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
* PARTICULAR PURPOSE.
*
* 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
* OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
* COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
* SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
* CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
* HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS
* SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
* LIMITED REMEDY.
*
* 4.3. Licensee shall not export, either directly or indirectly, any of this
* software or system incorporating such software without first obtaining any
* required license or other approval from the U. S. Department of Commerce or
* any other agency or department of the United States Government. In the
* event Licensee exports any such software from the United States or
* re-exports any such software from a foreign destination, Licensee shall
* ensure that the distribution and export/re-export of the software is in
* compliance with all laws, regulations, orders, or other restrictions of the
* U.S. Export Administration Regulations. Licensee agrees that neither it nor
* any of its subsidiaries will export/re-export any technical data, process,
* software, or service, directly or indirectly, to any country for which the
* United States government or any agency thereof requires an export license,
* other governmental approval, or letter of assurance, without first obtaining
* such license, approval or letter.
*
*****************************************************************************/
#include "aslcompiler.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "acpi.h"
#include "accommon.h"
#define _COMPONENT ACPI_COMPILER
ACPI_MODULE_NAME ("aslparse")
/*
* Global Notes:
*
* October 2005: The following list terms have been optimized (from the
* original ASL grammar in the ACPI specification) to force the immediate
* reduction of each list item so that the parse stack use doesn't increase on
* each list element and possibly overflow on very large lists (>4000 items).
* This dramatically reduces use of the parse stack overall.
*
* ArgList, TermList, Objectlist, ByteList, DWordList, PackageList,
* ResourceMacroList, and FieldUnitList
*/
void * AslLocalAllocate (unsigned int Size);
/* Bison/yacc configuration */
#define static
#undef alloca
#define alloca AslLocalAllocate
#define yytname AslCompilername
#define YYINITDEPTH 600 /* State stack depth */
#define YYDEBUG 1 /* Enable debug output */
#define YYERROR_VERBOSE 1 /* Verbose error messages */
/* Define YYMALLOC/YYFREE to prevent redefinition errors */
#define YYMALLOC malloc
#define YYFREE free
/*
* The windows version of bison defines this incorrectly as "32768" (Not negative).
* We use a custom (edited binary) version of bison that defines YYFLAG as YYFBAD
* instead (#define YYFBAD 32768), so we can define it correctly here.
*
* The problem is that if YYFLAG is positive, the extended syntax error messages
* are disabled.
*/
#define YYFLAG -32768
%}
/*
* Declare the type of values in the grammar
*/
%union {
UINT64 i;
char *s;
ACPI_PARSE_OBJECT *n;
}
/*! [Begin] no source code translation */
/*
* These shift/reduce conflicts are expected. There should be zero
* reduce/reduce conflicts.
*/
%expect 86
/******************************************************************************
*
* Token types: These are returned by the lexer
*
* NOTE: This list MUST match the AslKeywordMapping table found
* in aslmap.c EXACTLY! Double check any changes!
*
*****************************************************************************/
%token <i> PARSEOP_ACCESSAS
%token <i> PARSEOP_ACCESSATTRIB_BLOCK
%token <i> PARSEOP_ACCESSATTRIB_BLOCK_CALL
%token <i> PARSEOP_ACCESSATTRIB_BYTE
%token <i> PARSEOP_ACCESSATTRIB_MULTIBYTE
%token <i> PARSEOP_ACCESSATTRIB_QUICK
%token <i> PARSEOP_ACCESSATTRIB_RAW_BYTES
%token <i> PARSEOP_ACCESSATTRIB_RAW_PROCESS
%token <i> PARSEOP_ACCESSATTRIB_SND_RCV
%token <i> PARSEOP_ACCESSATTRIB_WORD
%token <i> PARSEOP_ACCESSATTRIB_WORD_CALL
%token <i> PARSEOP_ACCESSTYPE_ANY
%token <i> PARSEOP_ACCESSTYPE_BUF
%token <i> PARSEOP_ACCESSTYPE_BYTE
%token <i> PARSEOP_ACCESSTYPE_DWORD
%token <i> PARSEOP_ACCESSTYPE_QWORD
%token <i> PARSEOP_ACCESSTYPE_WORD
%token <i> PARSEOP_ACQUIRE
%token <i> PARSEOP_ADD
%token <i> PARSEOP_ADDRESSINGMODE_7BIT
%token <i> PARSEOP_ADDRESSINGMODE_10BIT
%token <i> PARSEOP_ADDRESSTYPE_ACPI
%token <i> PARSEOP_ADDRESSTYPE_MEMORY
%token <i> PARSEOP_ADDRESSTYPE_NVS
%token <i> PARSEOP_ADDRESSTYPE_RESERVED
%token <i> PARSEOP_ALIAS
%token <i> PARSEOP_AND
%token <i> PARSEOP_ARG0
%token <i> PARSEOP_ARG1
%token <i> PARSEOP_ARG2
%token <i> PARSEOP_ARG3
%token <i> PARSEOP_ARG4
%token <i> PARSEOP_ARG5
%token <i> PARSEOP_ARG6
%token <i> PARSEOP_BANKFIELD
%token <i> PARSEOP_BITSPERBYTE_EIGHT
%token <i> PARSEOP_BITSPERBYTE_FIVE
%token <i> PARSEOP_BITSPERBYTE_NINE
%token <i> PARSEOP_BITSPERBYTE_SEVEN
%token <i> PARSEOP_BITSPERBYTE_SIX
%token <i> PARSEOP_BREAK
%token <i> PARSEOP_BREAKPOINT
%token <i> PARSEOP_BUFFER
%token <i> PARSEOP_BUSMASTERTYPE_MASTER
%token <i> PARSEOP_BUSMASTERTYPE_NOTMASTER
%token <i> PARSEOP_BYTECONST
%token <i> PARSEOP_CASE
%token <i> PARSEOP_CLOCKPHASE_FIRST
%token <i> PARSEOP_CLOCKPHASE_SECOND
%token <i> PARSEOP_CLOCKPOLARITY_HIGH
%token <i> PARSEOP_CLOCKPOLARITY_LOW
%token <i> PARSEOP_CONCATENATE
%token <i> PARSEOP_CONCATENATERESTEMPLATE
%token <i> PARSEOP_CONDREFOF
%token <i> PARSEOP_CONNECTION
%token <i> PARSEOP_CONTINUE
%token <i> PARSEOP_COPYOBJECT
%token <i> PARSEOP_CREATEBITFIELD
%token <i> PARSEOP_CREATEBYTEFIELD
%token <i> PARSEOP_CREATEDWORDFIELD
%token <i> PARSEOP_CREATEFIELD
%token <i> PARSEOP_CREATEQWORDFIELD
%token <i> PARSEOP_CREATEWORDFIELD
%token <i> PARSEOP_DATABUFFER
%token <i> PARSEOP_DATATABLEREGION
%token <i> PARSEOP_DEBUG
%token <i> PARSEOP_DECODETYPE_POS
%token <i> PARSEOP_DECODETYPE_SUB
%token <i> PARSEOP_DECREMENT
%token <i> PARSEOP_DEFAULT
%token <i> PARSEOP_DEFAULT_ARG
%token <i> PARSEOP_DEFINITIONBLOCK
%token <i> PARSEOP_DEREFOF
%token <i> PARSEOP_DEVICE
%token <i> PARSEOP_DEVICEPOLARITY_HIGH
%token <i> PARSEOP_DEVICEPOLARITY_LOW
%token <i> PARSEOP_DIVIDE
%token <i> PARSEOP_DMA
%token <i> PARSEOP_DMATYPE_A
%token <i> PARSEOP_DMATYPE_COMPATIBILITY
%token <i> PARSEOP_DMATYPE_B
%token <i> PARSEOP_DMATYPE_F
%token <i> PARSEOP_DWORDCONST
%token <i> PARSEOP_DWORDIO
%token <i> PARSEOP_DWORDMEMORY
%token <i> PARSEOP_DWORDSPACE
%token <i> PARSEOP_EISAID
%token <i> PARSEOP_ELSE
%token <i> PARSEOP_ELSEIF
%token <i> PARSEOP_ENDDEPENDENTFN
%token <i> PARSEOP_ENDIAN_BIG
%token <i> PARSEOP_ENDIAN_LITTLE
%token <i> PARSEOP_ENDTAG
%token <i> PARSEOP_ERRORNODE
%token <i> PARSEOP_EVENT
%token <i> PARSEOP_EXTENDEDIO
%token <i> PARSEOP_EXTENDEDMEMORY
%token <i> PARSEOP_EXTENDEDSPACE
%token <i> PARSEOP_EXTERNAL
%token <i> PARSEOP_FATAL
%token <i> PARSEOP_FIELD
%token <i> PARSEOP_FINDSETLEFTBIT
%token <i> PARSEOP_FINDSETRIGHTBIT
%token <i> PARSEOP_FIXEDDMA
%token <i> PARSEOP_FIXEDIO
%token <i> PARSEOP_FLOWCONTROL_HW
%token <i> PARSEOP_FLOWCONTROL_NONE
%token <i> PARSEOP_FLOWCONTROL_SW
%token <i> PARSEOP_FROMBCD
%token <i> PARSEOP_FUNCTION
%token <i> PARSEOP_GPIO_INT
%token <i> PARSEOP_GPIO_IO
%token <i> PARSEOP_I2C_SERIALBUS
%token <i> PARSEOP_IF
%token <i> PARSEOP_INCLUDE
%token <i> PARSEOP_INCLUDE_END
%token <i> PARSEOP_INCREMENT
%token <i> PARSEOP_INDEX
%token <i> PARSEOP_INDEXFIELD
%token <i> PARSEOP_INTEGER
%token <i> PARSEOP_INTERRUPT
%token <i> PARSEOP_INTLEVEL_ACTIVEBOTH
%token <i> PARSEOP_INTLEVEL_ACTIVEHIGH
%token <i> PARSEOP_INTLEVEL_ACTIVELOW
%token <i> PARSEOP_INTTYPE_EDGE
%token <i> PARSEOP_INTTYPE_LEVEL
%token <i> PARSEOP_IO
%token <i> PARSEOP_IODECODETYPE_10
%token <i> PARSEOP_IODECODETYPE_16
%token <i> PARSEOP_IORESTRICT_IN
%token <i> PARSEOP_IORESTRICT_NONE
%token <i> PARSEOP_IORESTRICT_OUT
%token <i> PARSEOP_IORESTRICT_PRESERVE
%token <i> PARSEOP_IRQ
%token <i> PARSEOP_IRQNOFLAGS
%token <i> PARSEOP_LAND
%token <i> PARSEOP_LEQUAL
%token <i> PARSEOP_LGREATER
%token <i> PARSEOP_LGREATEREQUAL
%token <i> PARSEOP_LLESS
%token <i> PARSEOP_LLESSEQUAL
%token <i> PARSEOP_LNOT
%token <i> PARSEOP_LNOTEQUAL
%token <i> PARSEOP_LOAD
%token <i> PARSEOP_LOADTABLE
%token <i> PARSEOP_LOCAL0
%token <i> PARSEOP_LOCAL1
%token <i> PARSEOP_LOCAL2
%token <i> PARSEOP_LOCAL3
%token <i> PARSEOP_LOCAL4
%token <i> PARSEOP_LOCAL5
%token <i> PARSEOP_LOCAL6
%token <i> PARSEOP_LOCAL7
%token <i> PARSEOP_LOCKRULE_LOCK
%token <i> PARSEOP_LOCKRULE_NOLOCK
%token <i> PARSEOP_LOR
%token <i> PARSEOP_MATCH
%token <i> PARSEOP_MATCHTYPE_MEQ
%token <i> PARSEOP_MATCHTYPE_MGE
%token <i> PARSEOP_MATCHTYPE_MGT
%token <i> PARSEOP_MATCHTYPE_MLE
%token <i> PARSEOP_MATCHTYPE_MLT
%token <i> PARSEOP_MATCHTYPE_MTR
%token <i> PARSEOP_MAXTYPE_FIXED
%token <i> PARSEOP_MAXTYPE_NOTFIXED
%token <i> PARSEOP_MEMORY24
%token <i> PARSEOP_MEMORY32
%token <i> PARSEOP_MEMORY32FIXED
%token <i> PARSEOP_MEMTYPE_CACHEABLE
%token <i> PARSEOP_MEMTYPE_NONCACHEABLE
%token <i> PARSEOP_MEMTYPE_PREFETCHABLE
%token <i> PARSEOP_MEMTYPE_WRITECOMBINING
%token <i> PARSEOP_METHOD
%token <i> PARSEOP_METHODCALL
%token <i> PARSEOP_MID
%token <i> PARSEOP_MINTYPE_FIXED
%token <i> PARSEOP_MINTYPE_NOTFIXED
%token <i> PARSEOP_MOD
%token <i> PARSEOP_MULTIPLY
%token <i> PARSEOP_MUTEX
%token <i> PARSEOP_NAME
%token <s> PARSEOP_NAMESEG
%token <s> PARSEOP_NAMESTRING
%token <i> PARSEOP_NAND
%token <i> PARSEOP_NOOP
%token <i> PARSEOP_NOR
%token <i> PARSEOP_NOT
%token <i> PARSEOP_NOTIFY
%token <i> PARSEOP_OBJECTTYPE
%token <i> PARSEOP_OBJECTTYPE_BFF
%token <i> PARSEOP_OBJECTTYPE_BUF
%token <i> PARSEOP_OBJECTTYPE_DDB
%token <i> PARSEOP_OBJECTTYPE_DEV
%token <i> PARSEOP_OBJECTTYPE_EVT
%token <i> PARSEOP_OBJECTTYPE_FLD
%token <i> PARSEOP_OBJECTTYPE_INT
%token <i> PARSEOP_OBJECTTYPE_MTH
%token <i> PARSEOP_OBJECTTYPE_MTX
%token <i> PARSEOP_OBJECTTYPE_OPR
%token <i> PARSEOP_OBJECTTYPE_PKG
%token <i> PARSEOP_OBJECTTYPE_POW
%token <i> PARSEOP_OBJECTTYPE_PRO
%token <i> PARSEOP_OBJECTTYPE_STR
%token <i> PARSEOP_OBJECTTYPE_THZ
%token <i> PARSEOP_OBJECTTYPE_UNK
%token <i> PARSEOP_OFFSET
%token <i> PARSEOP_ONE
%token <i> PARSEOP_ONES
%token <i> PARSEOP_OPERATIONREGION
%token <i> PARSEOP_OR
%token <i> PARSEOP_PACKAGE
%token <i> PARSEOP_PACKAGE_LENGTH
%token <i> PARSEOP_PARITYTYPE_EVEN
%token <i> PARSEOP_PARITYTYPE_MARK
%token <i> PARSEOP_PARITYTYPE_NONE
%token <i> PARSEOP_PARITYTYPE_ODD
%token <i> PARSEOP_PARITYTYPE_SPACE
%token <i> PARSEOP_PIN_NOPULL
%token <i> PARSEOP_PIN_PULLDEFAULT
%token <i> PARSEOP_PIN_PULLDOWN
%token <i> PARSEOP_PIN_PULLUP
%token <i> PARSEOP_POWERRESOURCE
%token <i> PARSEOP_PROCESSOR
%token <i> PARSEOP_QWORDCONST
%token <i> PARSEOP_QWORDIO
%token <i> PARSEOP_QWORDMEMORY
%token <i> PARSEOP_QWORDSPACE
%token <i> PARSEOP_RANGETYPE_ENTIRE
%token <i> PARSEOP_RANGETYPE_ISAONLY
%token <i> PARSEOP_RANGETYPE_NONISAONLY
%token <i> PARSEOP_RAW_DATA
%token <i> PARSEOP_READWRITETYPE_BOTH
%token <i> PARSEOP_READWRITETYPE_READONLY
%token <i> PARSEOP_REFOF
%token <i> PARSEOP_REGIONSPACE_CMOS
%token <i> PARSEOP_REGIONSPACE_EC
%token <i> PARSEOP_REGIONSPACE_FFIXEDHW
%token <i> PARSEOP_REGIONSPACE_GPIO
%token <i> PARSEOP_REGIONSPACE_GSBUS
%token <i> PARSEOP_REGIONSPACE_IO
%token <i> PARSEOP_REGIONSPACE_IPMI
%token <i> PARSEOP_REGIONSPACE_MEM
%token <i> PARSEOP_REGIONSPACE_PCC
%token <i> PARSEOP_REGIONSPACE_PCI
%token <i> PARSEOP_REGIONSPACE_PCIBAR
%token <i> PARSEOP_REGIONSPACE_SMBUS
%token <i> PARSEOP_REGISTER
%token <i> PARSEOP_RELEASE
%token <i> PARSEOP_RESERVED_BYTES
%token <i> PARSEOP_RESET
%token <i> PARSEOP_RESOURCETEMPLATE
%token <i> PARSEOP_RESOURCETYPE_CONSUMER
%token <i> PARSEOP_RESOURCETYPE_PRODUCER
%token <i> PARSEOP_RETURN
%token <i> PARSEOP_REVISION
%token <i> PARSEOP_SCOPE
%token <i> PARSEOP_SERIALIZERULE_NOTSERIAL
%token <i> PARSEOP_SERIALIZERULE_SERIAL
%token <i> PARSEOP_SHARETYPE_EXCLUSIVE
%token <i> PARSEOP_SHARETYPE_EXCLUSIVEWAKE
%token <i> PARSEOP_SHARETYPE_SHARED
%token <i> PARSEOP_SHARETYPE_SHAREDWAKE
%token <i> PARSEOP_SHIFTLEFT
%token <i> PARSEOP_SHIFTRIGHT
%token <i> PARSEOP_SIGNAL
%token <i> PARSEOP_SIZEOF
%token <i> PARSEOP_SLAVEMODE_CONTROLLERINIT
%token <i> PARSEOP_SLAVEMODE_DEVICEINIT
%token <i> PARSEOP_SLEEP
%token <i> PARSEOP_SPI_SERIALBUS
%token <i> PARSEOP_STALL
%token <i> PARSEOP_STARTDEPENDENTFN
%token <i> PARSEOP_STARTDEPENDENTFN_NOPRI
%token <i> PARSEOP_STOPBITS_ONE
%token <i> PARSEOP_STOPBITS_ONEPLUSHALF
%token <i> PARSEOP_STOPBITS_TWO
%token <i> PARSEOP_STOPBITS_ZERO
%token <i> PARSEOP_STORE
%token <s> PARSEOP_STRING_LITERAL
%token <i> PARSEOP_SUBTRACT
%token <i> PARSEOP_SWITCH
%token <i> PARSEOP_THERMALZONE
%token <i> PARSEOP_TIMER
%token <i> PARSEOP_TOBCD
%token <i> PARSEOP_TOBUFFER
%token <i> PARSEOP_TODECIMALSTRING
%token <i> PARSEOP_TOHEXSTRING
%token <i> PARSEOP_TOINTEGER
%token <i> PARSEOP_TOSTRING
%token <i> PARSEOP_TOUUID
%token <i> PARSEOP_TRANSLATIONTYPE_DENSE
%token <i> PARSEOP_TRANSLATIONTYPE_SPARSE
%token <i> PARSEOP_TYPE_STATIC
%token <i> PARSEOP_TYPE_TRANSLATION
%token <i> PARSEOP_UART_SERIALBUS
%token <i> PARSEOP_UNICODE
%token <i> PARSEOP_UNLOAD
%token <i> PARSEOP_UPDATERULE_ONES
%token <i> PARSEOP_UPDATERULE_PRESERVE
%token <i> PARSEOP_UPDATERULE_ZEROS
%token <i> PARSEOP_VAR_PACKAGE
%token <i> PARSEOP_VENDORLONG
%token <i> PARSEOP_VENDORSHORT
%token <i> PARSEOP_WAIT
%token <i> PARSEOP_WHILE
%token <i> PARSEOP_WIREMODE_FOUR
%token <i> PARSEOP_WIREMODE_THREE
%token <i> PARSEOP_WORDBUSNUMBER
%token <i> PARSEOP_WORDCONST
%token <i> PARSEOP_WORDIO
%token <i> PARSEOP_WORDSPACE
%token <i> PARSEOP_XFERSIZE_8
%token <i> PARSEOP_XFERSIZE_16
%token <i> PARSEOP_XFERSIZE_32
%token <i> PARSEOP_XFERSIZE_64
%token <i> PARSEOP_XFERSIZE_128
%token <i> PARSEOP_XFERSIZE_256
%token <i> PARSEOP_XFERTYPE_8
%token <i> PARSEOP_XFERTYPE_8_16
%token <i> PARSEOP_XFERTYPE_16
%token <i> PARSEOP_XOR
%token <i> PARSEOP_ZERO
/*
* Special functions. These should probably stay at the end of this
* table.
*/
%token <i> PARSEOP___DATE__
%token <i> PARSEOP___FILE__
%token <i> PARSEOP___LINE__
%token <i> PARSEOP___PATH__
/******************************************************************************
*
* Production names
*
*****************************************************************************/
%type <n> ArgList
%type <n> ASLCode
%type <n> BufferData
%type <n> BufferTermData
%type <n> CompilerDirective
%type <n> DataObject
%type <n> DefinitionBlockTerm
%type <n> IntegerData
%type <n> NamedObject
%type <n> NameSpaceModifier
%type <n> Object
%type <n> ObjectList
%type <n> PackageData
%type <n> ParameterTypePackage
%type <n> ParameterTypePackageList
%type <n> ParameterTypesPackage
%type <n> ParameterTypesPackageList
%type <n> RequiredTarget
%type <n> SimpleTarget
%type <n> StringData
%type <n> Target
%type <n> Term
%type <n> TermArg
%type <n> TermList
%type <n> UserTerm
/* Type4Opcode is obsolete */
%type <n> Type1Opcode
%type <n> Type2BufferOpcode
%type <n> Type2BufferOrStringOpcode
%type <n> Type2IntegerOpcode
%type <n> Type2Opcode
%type <n> Type2StringOpcode
%type <n> Type3Opcode
%type <n> Type5Opcode
%type <n> Type6Opcode
%type <n> AccessAsTerm
%type <n> ExternalTerm
%type <n> FieldUnit
%type <n> FieldUnitEntry
%type <n> FieldUnitList
%type <n> IncludeTerm
%type <n> OffsetTerm
%type <n> OptionalAccessAttribTerm
/* Named Objects */
%type <n> BankFieldTerm
%type <n> CreateBitFieldTerm
%type <n> CreateByteFieldTerm
%type <n> CreateDWordFieldTerm
%type <n> CreateFieldTerm
%type <n> CreateQWordFieldTerm
%type <n> CreateWordFieldTerm
%type <n> DataRegionTerm
%type <n> DeviceTerm
%type <n> EventTerm
%type <n> FieldTerm
%type <n> FunctionTerm
%type <n> IndexFieldTerm
%type <n> MethodTerm
%type <n> MutexTerm
%type <n> OpRegionTerm
%type <n> OpRegionSpaceIdTerm
%type <n> PowerResTerm
%type <n> ProcessorTerm
%type <n> ThermalZoneTerm
/* Namespace modifiers */
%type <n> AliasTerm
%type <n> NameTerm
%type <n> ScopeTerm
/* Type 1 opcodes */
%type <n> BreakPointTerm
%type <n> BreakTerm
%type <n> CaseDefaultTermList
%type <n> CaseTerm
%type <n> ContinueTerm
%type <n> DefaultTerm
%type <n> ElseTerm
%type <n> FatalTerm
%type <n> IfElseTerm
%type <n> IfTerm
%type <n> LoadTerm
%type <n> NoOpTerm
%type <n> NotifyTerm
%type <n> ReleaseTerm
%type <n> ResetTerm
%type <n> ReturnTerm
%type <n> SignalTerm
%type <n> SleepTerm
%type <n> StallTerm
%type <n> SwitchTerm
%type <n> UnloadTerm
%type <n> WhileTerm
/* %type <n> CaseTermList */
/* Type 2 opcodes */
%type <n> AcquireTerm
%type <n> AddTerm
%type <n> AndTerm
%type <n> ConcatResTerm
%type <n> ConcatTerm
%type <n> CondRefOfTerm
%type <n> CopyObjectTerm
%type <n> DecTerm
%type <n> DerefOfTerm
%type <n> DivideTerm
%type <n> FindSetLeftBitTerm
%type <n> FindSetRightBitTerm
%type <n> FromBCDTerm
%type <n> IncTerm
%type <n> IndexTerm
%type <n> LAndTerm
%type <n> LEqualTerm
%type <n> LGreaterEqualTerm
%type <n> LGreaterTerm
%type <n> LLessEqualTerm
%type <n> LLessTerm
%type <n> LNotEqualTerm
%type <n> LNotTerm
%type <n> LoadTableTerm
%type <n> LOrTerm
%type <n> MatchTerm
%type <n> MidTerm
%type <n> ModTerm
%type <n> MultiplyTerm
%type <n> NAndTerm
%type <n> NOrTerm
%type <n> NotTerm
%type <n> ObjectTypeTerm
%type <n> OrTerm
%type <n> RefOfTerm
%type <n> ShiftLeftTerm
%type <n> ShiftRightTerm
%type <n> SizeOfTerm
%type <n> StoreTerm
%type <n> SubtractTerm
%type <n> TimerTerm
%type <n> ToBCDTerm
%type <n> ToBufferTerm
%type <n> ToDecimalStringTerm
%type <n> ToHexStringTerm
%type <n> ToIntegerTerm
%type <n> ToStringTerm
%type <n> WaitTerm
%type <n> XOrTerm
/* Keywords */
%type <n> AccessAttribKeyword
%type <n> AccessTypeKeyword
%type <n> AddressingModeKeyword
%type <n> AddressKeyword
%type <n> AddressSpaceKeyword
%type <n> BitsPerByteKeyword
%type <n> ClockPhaseKeyword
%type <n> ClockPolarityKeyword
%type <n> DecodeKeyword
%type <n> DevicePolarityKeyword
%type <n> DMATypeKeyword
%type <n> EndianKeyword
%type <n> FlowControlKeyword
%type <n> InterruptLevel
%type <n> InterruptTypeKeyword
%type <n> IODecodeKeyword
%type <n> IoRestrictionKeyword
%type <n> LockRuleKeyword
%type <n> MatchOpKeyword
%type <n> MaxKeyword
%type <n> MemTypeKeyword
%type <n> MinKeyword
%type <n> ObjectTypeKeyword
%type <n> OptionalBusMasterKeyword
%type <n> OptionalReadWriteKeyword
%type <n> ParityTypeKeyword
%type <n> PinConfigByte
%type <n> PinConfigKeyword
%type <n> RangeTypeKeyword
%type <n> RegionSpaceKeyword
%type <n> ResourceTypeKeyword
%type <n> SerializeRuleKeyword
%type <n> ShareTypeKeyword
%type <n> SlaveModeKeyword
%type <n> StopBitsKeyword
%type <n> TranslationKeyword
%type <n> TypeKeyword
%type <n> UpdateRuleKeyword
%type <n> WireModeKeyword
%type <n> XferSizeKeyword
%type <n> XferTypeKeyword
/* Types */
%type <n> SuperName
%type <n> ObjectTypeName
%type <n> ArgTerm
%type <n> LocalTerm
%type <n> DebugTerm
%type <n> Integer
%type <n> ByteConst
%type <n> WordConst
%type <n> DWordConst
%type <n> QWordConst
%type <n> String
%type <n> ConstTerm
%type <n> ConstExprTerm
%type <n> ByteConstExpr
%type <n> WordConstExpr
%type <n> DWordConstExpr
%type <n> QWordConstExpr
%type <n> DWordList
%type <n> BufferTerm
%type <n> ByteList
%type <n> PackageElement
%type <n> PackageList
%type <n> PackageTerm
%type <n> VarPackageLengthTerm
/* Macros */
%type <n> EISAIDTerm
%type <n> ResourceMacroList
%type <n> ResourceMacroTerm
%type <n> ResourceTemplateTerm
%type <n> ToUUIDTerm
%type <n> UnicodeTerm
/* Resource Descriptors */
%type <n> ConnectionTerm
%type <n> DataBufferTerm
%type <n> DMATerm
%type <n> DWordIOTerm
%type <n> DWordMemoryTerm
%type <n> DWordSpaceTerm
%type <n> EndDependentFnTerm
%type <n> ExtendedIOTerm
%type <n> ExtendedMemoryTerm
%type <n> ExtendedSpaceTerm
%type <n> FixedDmaTerm
%type <n> FixedIOTerm
%type <n> GpioIntTerm
%type <n> GpioIoTerm
%type <n> I2cSerialBusTerm
%type <n> InterruptTerm
%type <n> IOTerm
%type <n> IRQNoFlagsTerm
%type <n> IRQTerm
%type <n> Memory24Term
%type <n> Memory32FixedTerm
%type <n> Memory32Term
%type <n> NameSeg
%type <n> NameString
%type <n> QWordIOTerm
%type <n> QWordMemoryTerm
%type <n> QWordSpaceTerm
%type <n> RegisterTerm
%type <n> SpiSerialBusTerm
%type <n> StartDependentFnNoPriTerm
%type <n> StartDependentFnTerm
%type <n> UartSerialBusTerm
%type <n> VendorLongTerm
%type <n> VendorShortTerm
%type <n> WordBusNumberTerm
%type <n> WordIOTerm
%type <n> WordSpaceTerm
/* Local types that help construct the AML, not in ACPI spec */
%type <n> AmlPackageLengthTerm
%type <n> IncludeEndTerm
%type <n> NameStringItem
%type <n> TermArgItem
%type <n> OptionalAccessSize
%type <n> OptionalAddressingMode
%type <n> OptionalAddressRange
%type <n> OptionalBitsPerByte
%type <n> OptionalBuffer_Last
%type <n> OptionalByteConstExpr
%type <n> OptionalCount
%type <n> OptionalDecodeType
%type <n> OptionalDevicePolarity
%type <n> OptionalDWordConstExpr
%type <n> OptionalEndian
%type <n> OptionalFlowControl
%type <n> OptionalIoRestriction
%type <n> OptionalListString
%type <n> OptionalMaxType
%type <n> OptionalMemType
%type <n> OptionalMinType
%type <n> OptionalNameString
%type <n> OptionalNameString_First
%type <n> OptionalNameString_Last
%type <n> OptionalObjectTypeKeyword
%type <n> OptionalParameterTypePackage
%type <n> OptionalParameterTypesPackage
%type <n> OptionalParityType
%type <n> OptionalQWordConstExpr
%type <n> OptionalRangeType
%type <n> OptionalReference
%type <n> OptionalResourceType
%type <n> OptionalResourceType_First
%type <n> OptionalReturnArg
%type <n> OptionalSerializeRuleKeyword
%type <n> OptionalShareType
%type <n> OptionalShareType_First
%type <n> OptionalSlaveMode
%type <n> OptionalStopBits
%type <n> OptionalStringData
%type <n> OptionalTermArg
%type <n> OptionalTranslationType_Last
%type <n> OptionalType
%type <n> OptionalType_Last
%type <n> OptionalWireMode
%type <n> OptionalWordConst
%type <n> OptionalWordConstExpr
%type <n> OptionalXferSize
%%
/*******************************************************************************
*
* Production rules start here
*
******************************************************************************/
/*
* ASL Names
*/
/*
* Root rule. Allow multiple #line directives before the definition block
* to handle output from preprocessors
*/
ASLCode
: DefinitionBlockTerm
| error {YYABORT; $$ = NULL;}
;
/*
* Blocks, Data, and Opcodes
*/
/*
* Note concerning support for "module-level code".
*
* ACPI 1.0 allowed Type1 and Type2 executable opcodes outside of control
* methods (the so-called module-level code.) This support was explicitly
* removed in ACPI 2.0, but this type of code continues to be created by
* BIOS vendors. In order to support the disassembly and recompilation of
* such code (and the porting of ASL code to iASL), iASL supports this
* code in violation of the current ACPI specification.
*
* The grammar change to support module-level code is to revert the
* {ObjectList} portion of the DefinitionBlockTerm in ACPI 2.0 to the
* original use of {TermList} instead (see below.) This allows the use
* of Type1 and Type2 opcodes at module level.
*/
DefinitionBlockTerm
: PARSEOP_DEFINITIONBLOCK '(' {$<n>$ = TrCreateLeafNode (PARSEOP_DEFINITIONBLOCK);}
String ','
String ','
ByteConst ','
String ','
String ','
DWordConst
')' {TrSetEndLineNumber ($<n>3);}
'{' TermList '}' {$$ = TrLinkChildren ($<n>3,7,$4,$6,$8,$10,$12,$14,$18);}
;
/* ACPI 3.0 -- allow semicolons between terms */
TermList
: {$$ = NULL;}
| TermList Term {$$ = TrLinkPeerNode (TrSetNodeFlags ($1, NODE_RESULT_NOT_USED),$2);}
| TermList Term ';' {$$ = TrLinkPeerNode (TrSetNodeFlags ($1, NODE_RESULT_NOT_USED),$2);}
| TermList ';' Term {$$ = TrLinkPeerNode (TrSetNodeFlags ($1, NODE_RESULT_NOT_USED),$3);}
| TermList ';' Term ';' {$$ = TrLinkPeerNode (TrSetNodeFlags ($1, NODE_RESULT_NOT_USED),$3);}
;
Term
: Object {}
| Type1Opcode {}
| Type2Opcode {}
| Type2IntegerOpcode {}
| Type2StringOpcode {}
| Type2BufferOpcode {}
| Type2BufferOrStringOpcode {}
| error {$$ = AslDoError(); yyclearin;}
;
CompilerDirective
: IncludeTerm {}
| ExternalTerm {}
;
ObjectList
: {$$ = NULL;}
| ObjectList Object {$$ = TrLinkPeerNode ($1,$2);}
| error {$$ = AslDoError(); yyclearin;}
;
Object
: CompilerDirective {}
| NamedObject {}
| NameSpaceModifier {}
;
DataObject
: BufferData {}
| PackageData {}
| IntegerData {}
| StringData {}
;
BufferData
: Type5Opcode {$$ = TrSetNodeFlags ($1, NODE_COMPILE_TIME_CONST);}
| Type2BufferOrStringOpcode {$$ = TrSetNodeFlags ($1, NODE_COMPILE_TIME_CONST);}
| Type2BufferOpcode {$$ = TrSetNodeFlags ($1, NODE_COMPILE_TIME_CONST);}
| BufferTerm {}
;
PackageData
: PackageTerm {}
;
IntegerData
: Type2IntegerOpcode {$$ = TrSetNodeFlags ($1, NODE_COMPILE_TIME_CONST);}
| Type3Opcode {$$ = TrSetNodeFlags ($1, NODE_COMPILE_TIME_CONST);}
| Integer {}
| ConstTerm {}
;
StringData
: Type2StringOpcode {$$ = TrSetNodeFlags ($1, NODE_COMPILE_TIME_CONST);}
| String {}
;
NamedObject
: BankFieldTerm {}
| CreateBitFieldTerm {}
| CreateByteFieldTerm {}
| CreateDWordFieldTerm {}
| CreateFieldTerm {}
| CreateQWordFieldTerm {}
| CreateWordFieldTerm {}
| DataRegionTerm {}
| DeviceTerm {}
| EventTerm {}
| FieldTerm {}
| FunctionTerm {}
| IndexFieldTerm {}
| MethodTerm {}
| MutexTerm {}
| OpRegionTerm {}
| PowerResTerm {}
| ProcessorTerm {}
| ThermalZoneTerm {}
;
NameSpaceModifier
: AliasTerm {}
| NameTerm {}
| ScopeTerm {}
;
UserTerm
: NameString '(' {TrUpdateNode (PARSEOP_METHODCALL, $1);}
ArgList ')' {$$ = TrLinkChildNode ($1,$4);}
;
ArgList
: {$$ = NULL;}
| TermArg
| ArgList ',' /* Allows a trailing comma at list end */
| ArgList ','
TermArg {$$ = TrLinkPeerNode ($1,$3);}
;
/*
Removed from TermArg due to reduce/reduce conflicts
| Type2IntegerOpcode {$$ = TrSetNodeFlags ($1, NODE_IS_TERM_ARG);}
| Type2StringOpcode {$$ = TrSetNodeFlags ($1, NODE_IS_TERM_ARG);}
| Type2BufferOpcode {$$ = TrSetNodeFlags ($1, NODE_IS_TERM_ARG);}
| Type2BufferOrStringOpcode {$$ = TrSetNodeFlags ($1, NODE_IS_TERM_ARG);}
*/
TermArg
: Type2Opcode {$$ = TrSetNodeFlags ($1, NODE_IS_TERM_ARG);}
| DataObject {$$ = TrSetNodeFlags ($1, NODE_IS_TERM_ARG);}
| NameString {$$ = TrSetNodeFlags ($1, NODE_IS_TERM_ARG);}
| ArgTerm {$$ = TrSetNodeFlags ($1, NODE_IS_TERM_ARG);}
| LocalTerm {$$ = TrSetNodeFlags ($1, NODE_IS_TERM_ARG);}
;
Target
: {$$ = TrSetNodeFlags (TrCreateLeafNode (PARSEOP_ZERO), NODE_IS_TARGET | NODE_COMPILE_TIME_CONST);} /* Placeholder is a ZeroOp object */
| ',' {$$ = TrSetNodeFlags (TrCreateLeafNode (PARSEOP_ZERO), NODE_IS_TARGET | NODE_COMPILE_TIME_CONST);} /* Placeholder is a ZeroOp object */
| ',' SuperName {$$ = TrSetNodeFlags ($2, NODE_IS_TARGET);}
;
RequiredTarget
: ',' SuperName {$$ = TrSetNodeFlags ($2, NODE_IS_TARGET);}
;
SimpleTarget
: NameString {}
| LocalTerm {}
| ArgTerm {}
;
/* Rules for specifying the type of one method argument or return value */
ParameterTypePackage
: {$$ = NULL;}
| ObjectTypeKeyword {$$ = $1;}
| ParameterTypePackage ','
ObjectTypeKeyword {$$ = TrLinkPeerNodes (2,$1,$3);}
;
ParameterTypePackageList
: {$$ = NULL;}
| ObjectTypeKeyword {$$ = $1;}
| '{' ParameterTypePackage '}' {$$ = $2;}
;
OptionalParameterTypePackage
: {$$ = TrCreateLeafNode (PARSEOP_DEFAULT_ARG);}
| ',' ParameterTypePackageList {$$ = TrLinkChildren (TrCreateLeafNode (PARSEOP_DEFAULT_ARG),1,$2);}
;
/* Rules for specifying the types for method arguments */
ParameterTypesPackage
: ParameterTypePackageList {$$ = $1;}
| ParameterTypesPackage ','
ParameterTypePackageList {$$ = TrLinkPeerNodes (2,$1,$3);}
;
ParameterTypesPackageList
: {$$ = NULL;}
| ObjectTypeKeyword {$$ = $1;}
| '{' ParameterTypesPackage '}' {$$ = $2;}
;
OptionalParameterTypesPackage
: {$$ = TrCreateLeafNode (PARSEOP_DEFAULT_ARG);}
| ',' ParameterTypesPackageList {$$ = TrLinkChildren (TrCreateLeafNode (PARSEOP_DEFAULT_ARG),1,$2);}
;
/* Opcode types */
Type1Opcode
: BreakTerm {}
| BreakPointTerm {}
| ContinueTerm {}
| FatalTerm {}
| IfElseTerm {}
| LoadTerm {}
| NoOpTerm {}
| NotifyTerm {}
| ReleaseTerm {}
| ResetTerm {}
| ReturnTerm {}
| SignalTerm {}
| SleepTerm {}
| StallTerm {}
| SwitchTerm {}
| UnloadTerm {}
| WhileTerm {}
;
Type2Opcode
: AcquireTerm {}
| CondRefOfTerm {}
| CopyObjectTerm {}
| DerefOfTerm {}
| ObjectTypeTerm {}
| RefOfTerm {}
| SizeOfTerm {}
| StoreTerm {}
| TimerTerm {}
| WaitTerm {}
| UserTerm {}
;
/*
* Type 3/4/5 opcodes
*/
Type2IntegerOpcode /* "Type3" opcodes */
: AddTerm {}
| AndTerm {}
| DecTerm {}
| DivideTerm {}
| FindSetLeftBitTerm {}
| FindSetRightBitTerm {}
| FromBCDTerm {}
| IncTerm {}
| IndexTerm {}
| LAndTerm {}
| LEqualTerm {}
| LGreaterTerm {}
| LGreaterEqualTerm {}
| LLessTerm {}
| LLessEqualTerm {}
| LNotTerm {}
| LNotEqualTerm {}
| LoadTableTerm {}
| LOrTerm {}
| MatchTerm {}
| ModTerm {}
| MultiplyTerm {}
| NAndTerm {}
| NOrTerm {}
| NotTerm {}
| OrTerm {}
| ShiftLeftTerm {}
| ShiftRightTerm {}
| SubtractTerm {}
| ToBCDTerm {}
| ToIntegerTerm {}
| XOrTerm {}
;
Type2StringOpcode /* "Type4" Opcodes */
: ToDecimalStringTerm {}
| ToHexStringTerm {}
| ToStringTerm {}
;
Type2BufferOpcode /* "Type5" Opcodes */
: ToBufferTerm {}
| ConcatResTerm {}
;
Type2BufferOrStringOpcode
: ConcatTerm {}
| MidTerm {}
;
/*
* A type 3 opcode evaluates to an Integer and cannot have a destination operand
*/
Type3Opcode
: EISAIDTerm {}
;
/* Obsolete
Type4Opcode
: ConcatTerm {}
| ToDecimalStringTerm {}
| ToHexStringTerm {}
| MidTerm {}
| ToStringTerm {}
;
*/
Type5Opcode
: ResourceTemplateTerm {}
| UnicodeTerm {}
| ToUUIDTerm {}
;
Type6Opcode
: RefOfTerm {}
| DerefOfTerm {}
| IndexTerm {}
| UserTerm {}
;
IncludeTerm
: PARSEOP_INCLUDE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_INCLUDE);}
String ')' {TrLinkChildren ($<n>3,1,$4);FlOpenIncludeFile ($4);}
TermList
IncludeEndTerm {$$ = TrLinkPeerNodes (3,$<n>3,$7,$8);}
;
IncludeEndTerm
: PARSEOP_INCLUDE_END {$$ = TrCreateLeafNode (PARSEOP_INCLUDE_END);}
;
ExternalTerm
: PARSEOP_EXTERNAL '('
NameString
OptionalObjectTypeKeyword
OptionalParameterTypePackage
OptionalParameterTypesPackage
')' {$$ = TrCreateNode (PARSEOP_EXTERNAL,4,$3,$4,$5,$6);}
| PARSEOP_EXTERNAL '('
error ')' {$$ = AslDoError(); yyclearin;}
;
/******* Named Objects *******************************************************/
BankFieldTerm
: PARSEOP_BANKFIELD '(' {$<n>$ = TrCreateLeafNode (PARSEOP_BANKFIELD);}
NameString
NameStringItem
TermArgItem
',' AccessTypeKeyword
',' LockRuleKeyword
',' UpdateRuleKeyword
')' '{'
FieldUnitList '}' {$$ = TrLinkChildren ($<n>3,7,$4,$5,$6,$8,$10,$12,$15);}
| PARSEOP_BANKFIELD '('
error ')' '{' error '}' {$$ = AslDoError(); yyclearin;}
;
FieldUnitList
: {$$ = NULL;}
| FieldUnit
| FieldUnitList ',' /* Allows a trailing comma at list end */
| FieldUnitList ','
FieldUnit {$$ = TrLinkPeerNode ($1,$3);}
;
FieldUnit
: FieldUnitEntry {}
| OffsetTerm {}
| AccessAsTerm {}
| ConnectionTerm {}
;
FieldUnitEntry
: ',' AmlPackageLengthTerm {$$ = TrCreateNode (PARSEOP_RESERVED_BYTES,1,$2);}
| NameSeg ','
AmlPackageLengthTerm {$$ = TrLinkChildNode ($1,$3);}
;
OffsetTerm
: PARSEOP_OFFSET '('
AmlPackageLengthTerm
')' {$$ = TrCreateNode (PARSEOP_OFFSET,1,$3);}
| PARSEOP_OFFSET '('
error ')' {$$ = AslDoError(); yyclearin;}
;
AccessAsTerm
: PARSEOP_ACCESSAS '('
AccessTypeKeyword
OptionalAccessAttribTerm
')' {$$ = TrCreateNode (PARSEOP_ACCESSAS,2,$3,$4);}
| PARSEOP_ACCESSAS '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ConnectionTerm
: PARSEOP_CONNECTION '('
NameString
')' {$$ = TrCreateNode (PARSEOP_CONNECTION,1,$3);}
| PARSEOP_CONNECTION '(' {$<n>$ = TrCreateLeafNode (PARSEOP_CONNECTION);}
ResourceMacroTerm
')' {$$ = TrLinkChildren ($<n>3, 1,
TrLinkChildren (TrCreateLeafNode (PARSEOP_RESOURCETEMPLATE), 3,
TrCreateLeafNode (PARSEOP_DEFAULT_ARG),
TrCreateLeafNode (PARSEOP_DEFAULT_ARG),
$4));}
| PARSEOP_CONNECTION '('
error ')' {$$ = AslDoError(); yyclearin;}
;
CreateBitFieldTerm
: PARSEOP_CREATEBITFIELD '(' {$<n>$ = TrCreateLeafNode (PARSEOP_CREATEBITFIELD);}
TermArg
TermArgItem
NameStringItem
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,TrSetNodeFlags ($6, NODE_IS_NAME_DECLARATION));}
| PARSEOP_CREATEBITFIELD '('
error ')' {$$ = AslDoError(); yyclearin;}
;
CreateByteFieldTerm
: PARSEOP_CREATEBYTEFIELD '(' {$<n>$ = TrCreateLeafNode (PARSEOP_CREATEBYTEFIELD);}
TermArg
TermArgItem
NameStringItem
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,TrSetNodeFlags ($6, NODE_IS_NAME_DECLARATION));}
| PARSEOP_CREATEBYTEFIELD '('
error ')' {$$ = AslDoError(); yyclearin;}
;
CreateDWordFieldTerm
: PARSEOP_CREATEDWORDFIELD '(' {$<n>$ = TrCreateLeafNode (PARSEOP_CREATEDWORDFIELD);}
TermArg
TermArgItem
NameStringItem
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,TrSetNodeFlags ($6, NODE_IS_NAME_DECLARATION));}
| PARSEOP_CREATEDWORDFIELD '('
error ')' {$$ = AslDoError(); yyclearin;}
;
CreateFieldTerm
: PARSEOP_CREATEFIELD '(' {$<n>$ = TrCreateLeafNode (PARSEOP_CREATEFIELD);}
TermArg
TermArgItem
TermArgItem
NameStringItem
')' {$$ = TrLinkChildren ($<n>3,4,$4,$5,$6,TrSetNodeFlags ($7, NODE_IS_NAME_DECLARATION));}
| PARSEOP_CREATEFIELD '('
error ')' {$$ = AslDoError(); yyclearin;}
;
CreateQWordFieldTerm
: PARSEOP_CREATEQWORDFIELD '(' {$<n>$ = TrCreateLeafNode (PARSEOP_CREATEQWORDFIELD);}
TermArg
TermArgItem
NameStringItem
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,TrSetNodeFlags ($6, NODE_IS_NAME_DECLARATION));}
| PARSEOP_CREATEQWORDFIELD '('
error ')' {$$ = AslDoError(); yyclearin;}
;
CreateWordFieldTerm
: PARSEOP_CREATEWORDFIELD '(' {$<n>$ = TrCreateLeafNode (PARSEOP_CREATEWORDFIELD);}
TermArg
TermArgItem
NameStringItem
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,TrSetNodeFlags ($6, NODE_IS_NAME_DECLARATION));}
| PARSEOP_CREATEWORDFIELD '('
error ')' {$$ = AslDoError(); yyclearin;}
;
DataRegionTerm
: PARSEOP_DATATABLEREGION '(' {$<n>$ = TrCreateLeafNode (PARSEOP_DATATABLEREGION);}
NameString
TermArgItem
TermArgItem
TermArgItem
')' {$$ = TrLinkChildren ($<n>3,4,TrSetNodeFlags ($4, NODE_IS_NAME_DECLARATION),$5,$6,$7);}
| PARSEOP_DATATABLEREGION '('
error ')' {$$ = AslDoError(); yyclearin;}
;
DeviceTerm
: PARSEOP_DEVICE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_DEVICE);}
NameString
')' '{'
ObjectList '}' {$$ = TrLinkChildren ($<n>3,2,TrSetNodeFlags ($4, NODE_IS_NAME_DECLARATION),$7);}
| PARSEOP_DEVICE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
EventTerm
: PARSEOP_EVENT '(' {$<n>$ = TrCreateLeafNode (PARSEOP_EVENT);}
NameString
')' {$$ = TrLinkChildren ($<n>3,1,TrSetNodeFlags ($4, NODE_IS_NAME_DECLARATION));}
| PARSEOP_EVENT '('
error ')' {$$ = AslDoError(); yyclearin;}
;
FieldTerm
: PARSEOP_FIELD '(' {$<n>$ = TrCreateLeafNode (PARSEOP_FIELD);}
NameString
',' AccessTypeKeyword
',' LockRuleKeyword
',' UpdateRuleKeyword
')' '{'
FieldUnitList '}' {$$ = TrLinkChildren ($<n>3,5,$4,$6,$8,$10,$13);}
| PARSEOP_FIELD '('
error ')' '{' error '}' {$$ = AslDoError(); yyclearin;}
;
FunctionTerm
: PARSEOP_FUNCTION '(' {$<n>$ = TrCreateLeafNode (PARSEOP_METHOD);}
NameString
OptionalParameterTypePackage
OptionalParameterTypesPackage
')' '{'
TermList '}' {$$ = TrLinkChildren ($<n>3,7,TrSetNodeFlags ($4, NODE_IS_NAME_DECLARATION),
TrCreateValuedLeafNode (PARSEOP_BYTECONST, 0),
TrCreateLeafNode (PARSEOP_SERIALIZERULE_NOTSERIAL),
TrCreateValuedLeafNode (PARSEOP_BYTECONST, 0),$5,$6,$9);}
| PARSEOP_FUNCTION '('
error ')' {$$ = AslDoError(); yyclearin;}
;
IndexFieldTerm
: PARSEOP_INDEXFIELD '(' {$<n>$ = TrCreateLeafNode (PARSEOP_INDEXFIELD);}
NameString
NameStringItem
',' AccessTypeKeyword
',' LockRuleKeyword
',' UpdateRuleKeyword
')' '{'
FieldUnitList '}' {$$ = TrLinkChildren ($<n>3,6,$4,$5,$7,$9,$11,$14);}
| PARSEOP_INDEXFIELD '('
error ')' '{' error '}' {$$ = AslDoError(); yyclearin;}
;
MethodTerm
: PARSEOP_METHOD '(' {$<n>$ = TrCreateLeafNode (PARSEOP_METHOD);}
NameString
OptionalByteConstExpr {UtCheckIntegerRange ($5, 0, 7);}
OptionalSerializeRuleKeyword
OptionalByteConstExpr
OptionalParameterTypePackage
OptionalParameterTypesPackage
')' '{'
TermList '}' {$$ = TrLinkChildren ($<n>3,7,TrSetNodeFlags ($4, NODE_IS_NAME_DECLARATION),$5,$7,$8,$9,$10,$13);}
| PARSEOP_METHOD '('
error ')' {$$ = AslDoError(); yyclearin;}
;
MutexTerm
: PARSEOP_MUTEX '(' {$<n>$ = TrCreateLeafNode (PARSEOP_MUTEX);}
NameString
',' ByteConstExpr
')' {$$ = TrLinkChildren ($<n>3,2,TrSetNodeFlags ($4, NODE_IS_NAME_DECLARATION),$6);}
| PARSEOP_MUTEX '('
error ')' {$$ = AslDoError(); yyclearin;}
;
OpRegionTerm
: PARSEOP_OPERATIONREGION '(' {$<n>$ = TrCreateLeafNode (PARSEOP_OPERATIONREGION);}
NameString
',' OpRegionSpaceIdTerm
TermArgItem
TermArgItem
')' {$$ = TrLinkChildren ($<n>3,4,TrSetNodeFlags ($4, NODE_IS_NAME_DECLARATION),$6,$7,$8);}
| PARSEOP_OPERATIONREGION '('
error ')' {$$ = AslDoError(); yyclearin;}
;
OpRegionSpaceIdTerm
: RegionSpaceKeyword {}
| ByteConst {$$ = UtCheckIntegerRange ($1, 0x80, 0xFF);}
;
PowerResTerm
: PARSEOP_POWERRESOURCE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_POWERRESOURCE);}
NameString
',' ByteConstExpr
',' WordConstExpr
')' '{'
ObjectList '}' {$$ = TrLinkChildren ($<n>3,4,TrSetNodeFlags ($4, NODE_IS_NAME_DECLARATION),$6,$8,$11);}
| PARSEOP_POWERRESOURCE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ProcessorTerm
: PARSEOP_PROCESSOR '(' {$<n>$ = TrCreateLeafNode (PARSEOP_PROCESSOR);}
NameString
',' ByteConstExpr
OptionalDWordConstExpr
OptionalByteConstExpr
')' '{'
ObjectList '}' {$$ = TrLinkChildren ($<n>3,5,TrSetNodeFlags ($4, NODE_IS_NAME_DECLARATION),$6,$7,$8,$11);}
| PARSEOP_PROCESSOR '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ThermalZoneTerm
: PARSEOP_THERMALZONE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_THERMALZONE);}
NameString
')' '{'
ObjectList '}' {$$ = TrLinkChildren ($<n>3,2,TrSetNodeFlags ($4, NODE_IS_NAME_DECLARATION),$7);}
| PARSEOP_THERMALZONE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
/******* Namespace modifiers *************************************************/
AliasTerm
: PARSEOP_ALIAS '(' {$<n>$ = TrCreateLeafNode (PARSEOP_ALIAS);}
NameString
NameStringItem
')' {$$ = TrLinkChildren ($<n>3,2,$4,TrSetNodeFlags ($5, NODE_IS_NAME_DECLARATION));}
| PARSEOP_ALIAS '('
error ')' {$$ = AslDoError(); yyclearin;}
;
NameTerm
: PARSEOP_NAME '(' {$<n>$ = TrCreateLeafNode (PARSEOP_NAME);}
NameString
',' DataObject
')' {$$ = TrLinkChildren ($<n>3,2,TrSetNodeFlags ($4, NODE_IS_NAME_DECLARATION),$6);}
| PARSEOP_NAME '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ScopeTerm
: PARSEOP_SCOPE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_SCOPE);}
NameString
')' '{'
ObjectList '}' {$$ = TrLinkChildren ($<n>3,2,TrSetNodeFlags ($4, NODE_IS_NAME_DECLARATION),$7);}
| PARSEOP_SCOPE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
/******* Type 1 opcodes *******************************************************/
BreakTerm
: PARSEOP_BREAK {$$ = TrCreateNode (PARSEOP_BREAK, 0);}
;
BreakPointTerm
: PARSEOP_BREAKPOINT {$$ = TrCreateNode (PARSEOP_BREAKPOINT, 0);}
;
ContinueTerm
: PARSEOP_CONTINUE {$$ = TrCreateNode (PARSEOP_CONTINUE, 0);}
;
FatalTerm
: PARSEOP_FATAL '(' {$<n>$ = TrCreateLeafNode (PARSEOP_FATAL);}
ByteConstExpr
',' DWordConstExpr
TermArgItem
')' {$$ = TrLinkChildren ($<n>3,3,$4,$6,$7);}
| PARSEOP_FATAL '('
error ')' {$$ = AslDoError(); yyclearin;}
;
IfElseTerm
: IfTerm ElseTerm {$$ = TrLinkPeerNode ($1,$2);}
;
IfTerm
: PARSEOP_IF '(' {$<n>$ = TrCreateLeafNode (PARSEOP_IF);}
TermArg
')' '{'
TermList '}' {$$ = TrLinkChildren ($<n>3,2,$4,$7);}
| PARSEOP_IF '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ElseTerm
: {$$ = NULL;}
| PARSEOP_ELSE '{' {$<n>$ = TrCreateLeafNode (PARSEOP_ELSE);}
TermList '}' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_ELSE '{'
error '}' {$$ = AslDoError(); yyclearin;}
| PARSEOP_ELSE
error {$$ = AslDoError(); yyclearin;}
| PARSEOP_ELSEIF '(' {$<n>$ = TrCreateLeafNode (PARSEOP_ELSE);}
TermArg {$<n>$ = TrCreateLeafNode (PARSEOP_IF);}
')' '{'
TermList '}' {TrLinkChildren ($<n>5,2,$4,$8);}
ElseTerm {TrLinkPeerNode ($<n>5,$11);}
{$$ = TrLinkChildren ($<n>3,1,$<n>5);}
| PARSEOP_ELSEIF '('
error ')' {$$ = AslDoError(); yyclearin;}
| PARSEOP_ELSEIF
error {$$ = AslDoError(); yyclearin;}
;
LoadTerm
: PARSEOP_LOAD '(' {$<n>$ = TrCreateLeafNode (PARSEOP_LOAD);}
NameString
RequiredTarget
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_LOAD '('
error ')' {$$ = AslDoError(); yyclearin;}
;
NoOpTerm
: PARSEOP_NOOP {$$ = TrCreateNode (PARSEOP_NOOP, 0);}
;
NotifyTerm
: PARSEOP_NOTIFY '(' {$<n>$ = TrCreateLeafNode (PARSEOP_NOTIFY);}
SuperName
TermArgItem
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_NOTIFY '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ReleaseTerm
: PARSEOP_RELEASE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_RELEASE);}
SuperName
')' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_RELEASE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ResetTerm
: PARSEOP_RESET '(' {$<n>$ = TrCreateLeafNode (PARSEOP_RESET);}
SuperName
')' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_RESET '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ReturnTerm
: PARSEOP_RETURN '(' {$<n>$ = TrCreateLeafNode (PARSEOP_RETURN);}
OptionalReturnArg
')' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_RETURN {$$ = TrLinkChildren (TrCreateLeafNode (PARSEOP_RETURN),1,TrSetNodeFlags (TrCreateLeafNode (PARSEOP_ZERO), NODE_IS_NULL_RETURN));}
| PARSEOP_RETURN '('
error ')' {$$ = AslDoError(); yyclearin;}
;
SignalTerm
: PARSEOP_SIGNAL '(' {$<n>$ = TrCreateLeafNode (PARSEOP_SIGNAL);}
SuperName
')' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_SIGNAL '('
error ')' {$$ = AslDoError(); yyclearin;}
;
SleepTerm
: PARSEOP_SLEEP '(' {$<n>$ = TrCreateLeafNode (PARSEOP_SLEEP);}
TermArg
')' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_SLEEP '('
error ')' {$$ = AslDoError(); yyclearin;}
;
StallTerm
: PARSEOP_STALL '(' {$<n>$ = TrCreateLeafNode (PARSEOP_STALL);}
TermArg
')' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_STALL '('
error ')' {$$ = AslDoError(); yyclearin;}
;
SwitchTerm
: PARSEOP_SWITCH '(' {$<n>$ = TrCreateLeafNode (PARSEOP_SWITCH);}
TermArg
')' '{'
CaseDefaultTermList '}'
{$$ = TrLinkChildren ($<n>3,2,$4,$7);}
| PARSEOP_SWITCH '('
error ')' {$$ = AslDoError(); yyclearin;}
;
/*
* Case-Default list; allow only one Default term and unlimited Case terms
*/
CaseDefaultTermList
: {$$ = NULL;}
| CaseTerm {}
| DefaultTerm {}
| CaseDefaultTermList
CaseTerm {$$ = TrLinkPeerNode ($1,$2);}
| CaseDefaultTermList
DefaultTerm {$$ = TrLinkPeerNode ($1,$2);}
/* Original - attempts to force zero or one default term within the switch */
/*
CaseDefaultTermList
: {$$ = NULL;}
| CaseTermList
DefaultTerm
CaseTermList {$$ = TrLinkPeerNode ($1,TrLinkPeerNode ($2, $3));}
| CaseTermList
CaseTerm {$$ = TrLinkPeerNode ($1,$2);}
;
CaseTermList
: {$$ = NULL;}
| CaseTerm {}
| CaseTermList
CaseTerm {$$ = TrLinkPeerNode ($1,$2);}
;
*/
CaseTerm
: PARSEOP_CASE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_CASE);}
DataObject
')' '{'
TermList '}' {$$ = TrLinkChildren ($<n>3,2,$4,$7);}
| PARSEOP_CASE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
DefaultTerm
: PARSEOP_DEFAULT '{' {$<n>$ = TrCreateLeafNode (PARSEOP_DEFAULT);}
TermList '}' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_DEFAULT '{'
error '}' {$$ = AslDoError(); yyclearin;}
;
UnloadTerm
: PARSEOP_UNLOAD '(' {$<n>$ = TrCreateLeafNode (PARSEOP_UNLOAD);}
SuperName
')' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_UNLOAD '('
error ')' {$$ = AslDoError(); yyclearin;}
;
WhileTerm
: PARSEOP_WHILE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_WHILE);}
TermArg
')' '{' TermList '}'
{$$ = TrLinkChildren ($<n>3,2,$4,$7);}
| PARSEOP_WHILE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
/******* Type 2 opcodes *******************************************************/
AcquireTerm
: PARSEOP_ACQUIRE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_ACQUIRE);}
SuperName
',' WordConstExpr
')' {$$ = TrLinkChildren ($<n>3,2,$4,$6);}
| PARSEOP_ACQUIRE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
AddTerm
: PARSEOP_ADD '(' {$<n>$ = TrCreateLeafNode (PARSEOP_ADD);}
TermArg
TermArgItem
Target
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,$6);}
| PARSEOP_ADD '('
error ')' {$$ = AslDoError(); yyclearin;}
;
AndTerm
: PARSEOP_AND '(' {$<n>$ = TrCreateLeafNode (PARSEOP_AND);}
TermArg
TermArgItem
Target
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,$6);}
| PARSEOP_AND '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ConcatTerm
: PARSEOP_CONCATENATE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_CONCATENATE);}
TermArg
TermArgItem
Target
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,$6);}
| PARSEOP_CONCATENATE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ConcatResTerm
: PARSEOP_CONCATENATERESTEMPLATE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_CONCATENATERESTEMPLATE);}
TermArg
TermArgItem
Target
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,$6);}
| PARSEOP_CONCATENATERESTEMPLATE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
CondRefOfTerm
: PARSEOP_CONDREFOF '(' {$<n>$ = TrCreateLeafNode (PARSEOP_CONDREFOF);}
SuperName
Target
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_CONDREFOF '('
error ')' {$$ = AslDoError(); yyclearin;}
;
CopyObjectTerm
: PARSEOP_COPYOBJECT '(' {$<n>$ = TrCreateLeafNode (PARSEOP_COPYOBJECT);}
TermArg
',' SimpleTarget
')' {$$ = TrLinkChildren ($<n>3,2,$4,TrSetNodeFlags ($6, NODE_IS_TARGET));}
| PARSEOP_COPYOBJECT '('
error ')' {$$ = AslDoError(); yyclearin;}
;
DecTerm
: PARSEOP_DECREMENT '(' {$<n>$ = TrCreateLeafNode (PARSEOP_DECREMENT);}
SuperName
')' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_DECREMENT '('
error ')' {$$ = AslDoError(); yyclearin;}
;
DerefOfTerm
: PARSEOP_DEREFOF '(' {$<n>$ = TrCreateLeafNode (PARSEOP_DEREFOF);}
TermArg
')' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_DEREFOF '('
error ')' {$$ = AslDoError(); yyclearin;}
;
DivideTerm
: PARSEOP_DIVIDE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_DIVIDE);}
TermArg
TermArgItem
Target
Target
')' {$$ = TrLinkChildren ($<n>3,4,$4,$5,$6,$7);}
| PARSEOP_DIVIDE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
FindSetLeftBitTerm
: PARSEOP_FINDSETLEFTBIT '(' {$<n>$ = TrCreateLeafNode (PARSEOP_FINDSETLEFTBIT);}
TermArg
Target
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_FINDSETLEFTBIT '('
error ')' {$$ = AslDoError(); yyclearin;}
;
FindSetRightBitTerm
: PARSEOP_FINDSETRIGHTBIT '(' {$<n>$ = TrCreateLeafNode (PARSEOP_FINDSETRIGHTBIT);}
TermArg
Target
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_FINDSETRIGHTBIT '('
error ')' {$$ = AslDoError(); yyclearin;}
;
FromBCDTerm
: PARSEOP_FROMBCD '(' {$<n>$ = TrCreateLeafNode (PARSEOP_FROMBCD);}
TermArg
Target
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_FROMBCD '('
error ')' {$$ = AslDoError(); yyclearin;}
;
IncTerm
: PARSEOP_INCREMENT '(' {$<n>$ = TrCreateLeafNode (PARSEOP_INCREMENT);}
SuperName
')' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_INCREMENT '('
error ')' {$$ = AslDoError(); yyclearin;}
;
IndexTerm
: PARSEOP_INDEX '(' {$<n>$ = TrCreateLeafNode (PARSEOP_INDEX);}
TermArg
TermArgItem
Target
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,$6);}
| PARSEOP_INDEX '('
error ')' {$$ = AslDoError(); yyclearin;}
;
LAndTerm
: PARSEOP_LAND '(' {$<n>$ = TrCreateLeafNode (PARSEOP_LAND);}
TermArg
TermArgItem
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_LAND '('
error ')' {$$ = AslDoError(); yyclearin;}
;
LEqualTerm
: PARSEOP_LEQUAL '(' {$<n>$ = TrCreateLeafNode (PARSEOP_LEQUAL);}
TermArg
TermArgItem
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_LEQUAL '('
error ')' {$$ = AslDoError(); yyclearin;}
;
LGreaterTerm
: PARSEOP_LGREATER '(' {$<n>$ = TrCreateLeafNode (PARSEOP_LGREATER);}
TermArg
TermArgItem
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_LGREATER '('
error ')' {$$ = AslDoError(); yyclearin;}
;
LGreaterEqualTerm
: PARSEOP_LGREATEREQUAL '(' {$<n>$ = TrCreateLeafNode (PARSEOP_LLESS);}
TermArg
TermArgItem
')' {$$ = TrCreateNode (PARSEOP_LNOT, 1, TrLinkChildren ($<n>3,2,$4,$5));}
| PARSEOP_LGREATEREQUAL '('
error ')' {$$ = AslDoError(); yyclearin;}
;
LLessTerm
: PARSEOP_LLESS '(' {$<n>$ = TrCreateLeafNode (PARSEOP_LLESS);}
TermArg
TermArgItem
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_LLESS '('
error ')' {$$ = AslDoError(); yyclearin;}
;
LLessEqualTerm
: PARSEOP_LLESSEQUAL '(' {$<n>$ = TrCreateLeafNode (PARSEOP_LGREATER);}
TermArg
TermArgItem
')' {$$ = TrCreateNode (PARSEOP_LNOT, 1, TrLinkChildren ($<n>3,2,$4,$5));}
| PARSEOP_LLESSEQUAL '('
error ')' {$$ = AslDoError(); yyclearin;}
;
LNotTerm
: PARSEOP_LNOT '(' {$<n>$ = TrCreateLeafNode (PARSEOP_LNOT);}
TermArg
')' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_LNOT '('
error ')' {$$ = AslDoError(); yyclearin;}
;
LNotEqualTerm
: PARSEOP_LNOTEQUAL '(' {$<n>$ = TrCreateLeafNode (PARSEOP_LEQUAL);}
TermArg
TermArgItem
')' {$$ = TrCreateNode (PARSEOP_LNOT, 1, TrLinkChildren ($<n>3,2,$4,$5));}
| PARSEOP_LNOTEQUAL '('
error ')' {$$ = AslDoError(); yyclearin;}
;
LoadTableTerm
: PARSEOP_LOADTABLE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_LOADTABLE);}
TermArg
TermArgItem
TermArgItem
OptionalListString
OptionalListString
OptionalReference
')' {$$ = TrLinkChildren ($<n>3,6,$4,$5,$6,$7,$8,$9);}
| PARSEOP_LOADTABLE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
LOrTerm
: PARSEOP_LOR '(' {$<n>$ = TrCreateLeafNode (PARSEOP_LOR);}
TermArg
TermArgItem
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_LOR '('
error ')' {$$ = AslDoError(); yyclearin;}
;
MatchTerm
: PARSEOP_MATCH '(' {$<n>$ = TrCreateLeafNode (PARSEOP_MATCH);}
TermArg
',' MatchOpKeyword
TermArgItem
',' MatchOpKeyword
TermArgItem
TermArgItem
')' {$$ = TrLinkChildren ($<n>3,6,$4,$6,$7,$9,$10,$11);}
| PARSEOP_MATCH '('
error ')' {$$ = AslDoError(); yyclearin;}
;
MidTerm
: PARSEOP_MID '(' {$<n>$ = TrCreateLeafNode (PARSEOP_MID);}
TermArg
TermArgItem
TermArgItem
Target
')' {$$ = TrLinkChildren ($<n>3,4,$4,$5,$6,$7);}
| PARSEOP_MID '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ModTerm
: PARSEOP_MOD '(' {$<n>$ = TrCreateLeafNode (PARSEOP_MOD);}
TermArg
TermArgItem
Target
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,$6);}
| PARSEOP_MOD '('
error ')' {$$ = AslDoError(); yyclearin;}
;
MultiplyTerm
: PARSEOP_MULTIPLY '(' {$<n>$ = TrCreateLeafNode (PARSEOP_MULTIPLY);}
TermArg
TermArgItem
Target
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,$6);}
| PARSEOP_MULTIPLY '('
error ')' {$$ = AslDoError(); yyclearin;}
;
NAndTerm
: PARSEOP_NAND '(' {$<n>$ = TrCreateLeafNode (PARSEOP_NAND);}
TermArg
TermArgItem
Target
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,$6);}
| PARSEOP_NAND '('
error ')' {$$ = AslDoError(); yyclearin;}
;
NOrTerm
: PARSEOP_NOR '(' {$<n>$ = TrCreateLeafNode (PARSEOP_NOR);}
TermArg
TermArgItem
Target
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,$6);}
| PARSEOP_NOR '('
error ')' {$$ = AslDoError(); yyclearin;}
;
NotTerm
: PARSEOP_NOT '(' {$<n>$ = TrCreateLeafNode (PARSEOP_NOT);}
TermArg
Target
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_NOT '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ObjectTypeTerm
: PARSEOP_OBJECTTYPE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE);}
ObjectTypeName
')' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_OBJECTTYPE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
OrTerm
: PARSEOP_OR '(' {$<n>$ = TrCreateLeafNode (PARSEOP_OR);}
TermArg
TermArgItem
Target
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,$6);}
| PARSEOP_OR '('
error ')' {$$ = AslDoError(); yyclearin;}
;
/*
* In RefOf, the node isn't really a target, but we can't keep track of it after
* we've taken a pointer to it. (hard to tell if a local becomes initialized this way.)
*/
RefOfTerm
: PARSEOP_REFOF '(' {$<n>$ = TrCreateLeafNode (PARSEOP_REFOF);}
SuperName
')' {$$ = TrLinkChildren ($<n>3,1,TrSetNodeFlags ($4, NODE_IS_TARGET));}
| PARSEOP_REFOF '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ShiftLeftTerm
: PARSEOP_SHIFTLEFT '(' {$<n>$ = TrCreateLeafNode (PARSEOP_SHIFTLEFT);}
TermArg
TermArgItem
Target
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,$6);}
| PARSEOP_SHIFTLEFT '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ShiftRightTerm
: PARSEOP_SHIFTRIGHT '(' {$<n>$ = TrCreateLeafNode (PARSEOP_SHIFTRIGHT);}
TermArg
TermArgItem
Target
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,$6);}
| PARSEOP_SHIFTRIGHT '('
error ')' {$$ = AslDoError(); yyclearin;}
;
SizeOfTerm
: PARSEOP_SIZEOF '(' {$<n>$ = TrCreateLeafNode (PARSEOP_SIZEOF);}
SuperName
')' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_SIZEOF '('
error ')' {$$ = AslDoError(); yyclearin;}
;
StoreTerm
: PARSEOP_STORE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_STORE);}
TermArg
',' SuperName
')' {$$ = TrLinkChildren ($<n>3,2,$4,TrSetNodeFlags ($6, NODE_IS_TARGET));}
| PARSEOP_STORE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
SubtractTerm
: PARSEOP_SUBTRACT '(' {$<n>$ = TrCreateLeafNode (PARSEOP_SUBTRACT);}
TermArg
TermArgItem
Target
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,$6);}
| PARSEOP_SUBTRACT '('
error ')' {$$ = AslDoError(); yyclearin;}
;
TimerTerm
: PARSEOP_TIMER '(' {$<n>$ = TrCreateLeafNode (PARSEOP_TIMER);}
')' {$$ = TrLinkChildren ($<n>3,0);}
| PARSEOP_TIMER {$$ = TrLinkChildren (TrCreateLeafNode (PARSEOP_TIMER),0);}
| PARSEOP_TIMER '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ToBCDTerm
: PARSEOP_TOBCD '(' {$<n>$ = TrCreateLeafNode (PARSEOP_TOBCD);}
TermArg
Target
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_TOBCD '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ToBufferTerm
: PARSEOP_TOBUFFER '(' {$<n>$ = TrCreateLeafNode (PARSEOP_TOBUFFER);}
TermArg
Target
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_TOBUFFER '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ToDecimalStringTerm
: PARSEOP_TODECIMALSTRING '(' {$<n>$ = TrCreateLeafNode (PARSEOP_TODECIMALSTRING);}
TermArg
Target
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_TODECIMALSTRING '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ToHexStringTerm
: PARSEOP_TOHEXSTRING '(' {$<n>$ = TrCreateLeafNode (PARSEOP_TOHEXSTRING);}
TermArg
Target
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_TOHEXSTRING '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ToIntegerTerm
: PARSEOP_TOINTEGER '(' {$<n>$ = TrCreateLeafNode (PARSEOP_TOINTEGER);}
TermArg
Target
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_TOINTEGER '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ToStringTerm
: PARSEOP_TOSTRING '(' {$<n>$ = TrCreateLeafNode (PARSEOP_TOSTRING);}
TermArg
OptionalCount
Target
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,$6);}
| PARSEOP_TOSTRING '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ToUUIDTerm
: PARSEOP_TOUUID '('
StringData ')' {$$ = TrUpdateNode (PARSEOP_TOUUID, $3);}
| PARSEOP_TOUUID '('
error ')' {$$ = AslDoError(); yyclearin;}
;
WaitTerm
: PARSEOP_WAIT '(' {$<n>$ = TrCreateLeafNode (PARSEOP_WAIT);}
SuperName
TermArgItem
')' {$$ = TrLinkChildren ($<n>3,2,$4,$5);}
| PARSEOP_WAIT '('
error ')' {$$ = AslDoError(); yyclearin;}
;
XOrTerm
: PARSEOP_XOR '(' {$<n>$ = TrCreateLeafNode (PARSEOP_XOR);}
TermArg
TermArgItem
Target
')' {$$ = TrLinkChildren ($<n>3,3,$4,$5,$6);}
| PARSEOP_XOR '('
error ')' {$$ = AslDoError(); yyclearin;}
;
/******* Keywords *************************************************************/
AccessAttribKeyword
: PARSEOP_ACCESSATTRIB_BLOCK {$$ = TrCreateLeafNode (PARSEOP_ACCESSATTRIB_BLOCK);}
| PARSEOP_ACCESSATTRIB_BLOCK_CALL {$$ = TrCreateLeafNode (PARSEOP_ACCESSATTRIB_BLOCK_CALL);}
| PARSEOP_ACCESSATTRIB_BYTE {$$ = TrCreateLeafNode (PARSEOP_ACCESSATTRIB_BYTE);}
| PARSEOP_ACCESSATTRIB_QUICK {$$ = TrCreateLeafNode (PARSEOP_ACCESSATTRIB_QUICK );}
| PARSEOP_ACCESSATTRIB_SND_RCV {$$ = TrCreateLeafNode (PARSEOP_ACCESSATTRIB_SND_RCV);}
| PARSEOP_ACCESSATTRIB_WORD {$$ = TrCreateLeafNode (PARSEOP_ACCESSATTRIB_WORD);}
| PARSEOP_ACCESSATTRIB_WORD_CALL {$$ = TrCreateLeafNode (PARSEOP_ACCESSATTRIB_WORD_CALL);}
| PARSEOP_ACCESSATTRIB_MULTIBYTE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_ACCESSATTRIB_MULTIBYTE);}
ByteConst
')' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_ACCESSATTRIB_RAW_BYTES '(' {$<n>$ = TrCreateLeafNode (PARSEOP_ACCESSATTRIB_RAW_BYTES);}
ByteConst
')' {$$ = TrLinkChildren ($<n>3,1,$4);}
| PARSEOP_ACCESSATTRIB_RAW_PROCESS '(' {$<n>$ = TrCreateLeafNode (PARSEOP_ACCESSATTRIB_RAW_PROCESS);}
ByteConst
')' {$$ = TrLinkChildren ($<n>3,1,$4);}
;
AccessTypeKeyword
: PARSEOP_ACCESSTYPE_ANY {$$ = TrCreateLeafNode (PARSEOP_ACCESSTYPE_ANY);}
| PARSEOP_ACCESSTYPE_BYTE {$$ = TrCreateLeafNode (PARSEOP_ACCESSTYPE_BYTE);}
| PARSEOP_ACCESSTYPE_WORD {$$ = TrCreateLeafNode (PARSEOP_ACCESSTYPE_WORD);}
| PARSEOP_ACCESSTYPE_DWORD {$$ = TrCreateLeafNode (PARSEOP_ACCESSTYPE_DWORD);}
| PARSEOP_ACCESSTYPE_QWORD {$$ = TrCreateLeafNode (PARSEOP_ACCESSTYPE_QWORD);}
| PARSEOP_ACCESSTYPE_BUF {$$ = TrCreateLeafNode (PARSEOP_ACCESSTYPE_BUF);}
;
AddressingModeKeyword
: PARSEOP_ADDRESSINGMODE_7BIT {$$ = TrCreateLeafNode (PARSEOP_ADDRESSINGMODE_7BIT);}
| PARSEOP_ADDRESSINGMODE_10BIT {$$ = TrCreateLeafNode (PARSEOP_ADDRESSINGMODE_10BIT);}
;
AddressKeyword
: PARSEOP_ADDRESSTYPE_MEMORY {$$ = TrCreateLeafNode (PARSEOP_ADDRESSTYPE_MEMORY);}
| PARSEOP_ADDRESSTYPE_RESERVED {$$ = TrCreateLeafNode (PARSEOP_ADDRESSTYPE_RESERVED);}
| PARSEOP_ADDRESSTYPE_NVS {$$ = TrCreateLeafNode (PARSEOP_ADDRESSTYPE_NVS);}
| PARSEOP_ADDRESSTYPE_ACPI {$$ = TrCreateLeafNode (PARSEOP_ADDRESSTYPE_ACPI);}
;
AddressSpaceKeyword
: ByteConst {$$ = UtCheckIntegerRange ($1, 0x0A, 0xFF);}
| RegionSpaceKeyword {}
;
BitsPerByteKeyword
: PARSEOP_BITSPERBYTE_FIVE {$$ = TrCreateLeafNode (PARSEOP_BITSPERBYTE_FIVE);}
| PARSEOP_BITSPERBYTE_SIX {$$ = TrCreateLeafNode (PARSEOP_BITSPERBYTE_SIX);}
| PARSEOP_BITSPERBYTE_SEVEN {$$ = TrCreateLeafNode (PARSEOP_BITSPERBYTE_SEVEN);}
| PARSEOP_BITSPERBYTE_EIGHT {$$ = TrCreateLeafNode (PARSEOP_BITSPERBYTE_EIGHT);}
| PARSEOP_BITSPERBYTE_NINE {$$ = TrCreateLeafNode (PARSEOP_BITSPERBYTE_NINE);}
;
ClockPhaseKeyword
: PARSEOP_CLOCKPHASE_FIRST {$$ = TrCreateLeafNode (PARSEOP_CLOCKPHASE_FIRST);}
| PARSEOP_CLOCKPHASE_SECOND {$$ = TrCreateLeafNode (PARSEOP_CLOCKPHASE_SECOND);}
;
ClockPolarityKeyword
: PARSEOP_CLOCKPOLARITY_LOW {$$ = TrCreateLeafNode (PARSEOP_CLOCKPOLARITY_LOW);}
| PARSEOP_CLOCKPOLARITY_HIGH {$$ = TrCreateLeafNode (PARSEOP_CLOCKPOLARITY_HIGH);}
;
DecodeKeyword
: PARSEOP_DECODETYPE_POS {$$ = TrCreateLeafNode (PARSEOP_DECODETYPE_POS);}
| PARSEOP_DECODETYPE_SUB {$$ = TrCreateLeafNode (PARSEOP_DECODETYPE_SUB);}
;
DevicePolarityKeyword
: PARSEOP_DEVICEPOLARITY_LOW {$$ = TrCreateLeafNode (PARSEOP_DEVICEPOLARITY_LOW);}
| PARSEOP_DEVICEPOLARITY_HIGH {$$ = TrCreateLeafNode (PARSEOP_DEVICEPOLARITY_HIGH);}
;
DMATypeKeyword
: PARSEOP_DMATYPE_A {$$ = TrCreateLeafNode (PARSEOP_DMATYPE_A);}
| PARSEOP_DMATYPE_COMPATIBILITY {$$ = TrCreateLeafNode (PARSEOP_DMATYPE_COMPATIBILITY);}
| PARSEOP_DMATYPE_B {$$ = TrCreateLeafNode (PARSEOP_DMATYPE_B);}
| PARSEOP_DMATYPE_F {$$ = TrCreateLeafNode (PARSEOP_DMATYPE_F);}
;
EndianKeyword
: PARSEOP_ENDIAN_LITTLE {$$ = TrCreateLeafNode (PARSEOP_ENDIAN_LITTLE);}
| PARSEOP_ENDIAN_BIG {$$ = TrCreateLeafNode (PARSEOP_ENDIAN_BIG);}
;
FlowControlKeyword
: PARSEOP_FLOWCONTROL_HW {$$ = TrCreateLeafNode (PARSEOP_FLOWCONTROL_HW);}
| PARSEOP_FLOWCONTROL_NONE {$$ = TrCreateLeafNode (PARSEOP_FLOWCONTROL_NONE);}
| PARSEOP_FLOWCONTROL_SW {$$ = TrCreateLeafNode (PARSEOP_FLOWCONTROL_SW);}
;
InterruptLevel
: PARSEOP_INTLEVEL_ACTIVEBOTH {$$ = TrCreateLeafNode (PARSEOP_INTLEVEL_ACTIVEBOTH);}
| PARSEOP_INTLEVEL_ACTIVEHIGH {$$ = TrCreateLeafNode (PARSEOP_INTLEVEL_ACTIVEHIGH);}
| PARSEOP_INTLEVEL_ACTIVELOW {$$ = TrCreateLeafNode (PARSEOP_INTLEVEL_ACTIVELOW);}
;
InterruptTypeKeyword
: PARSEOP_INTTYPE_EDGE {$$ = TrCreateLeafNode (PARSEOP_INTTYPE_EDGE);}
| PARSEOP_INTTYPE_LEVEL {$$ = TrCreateLeafNode (PARSEOP_INTTYPE_LEVEL);}
;
IODecodeKeyword
: PARSEOP_IODECODETYPE_16 {$$ = TrCreateLeafNode (PARSEOP_IODECODETYPE_16);}
| PARSEOP_IODECODETYPE_10 {$$ = TrCreateLeafNode (PARSEOP_IODECODETYPE_10);}
;
IoRestrictionKeyword
: PARSEOP_IORESTRICT_IN {$$ = TrCreateLeafNode (PARSEOP_IORESTRICT_IN);}
| PARSEOP_IORESTRICT_OUT {$$ = TrCreateLeafNode (PARSEOP_IORESTRICT_OUT);}
| PARSEOP_IORESTRICT_NONE {$$ = TrCreateLeafNode (PARSEOP_IORESTRICT_NONE);}
| PARSEOP_IORESTRICT_PRESERVE {$$ = TrCreateLeafNode (PARSEOP_IORESTRICT_PRESERVE);}
;
LockRuleKeyword
: PARSEOP_LOCKRULE_LOCK {$$ = TrCreateLeafNode (PARSEOP_LOCKRULE_LOCK);}
| PARSEOP_LOCKRULE_NOLOCK {$$ = TrCreateLeafNode (PARSEOP_LOCKRULE_NOLOCK);}
;
MatchOpKeyword
: PARSEOP_MATCHTYPE_MTR {$$ = TrCreateLeafNode (PARSEOP_MATCHTYPE_MTR);}
| PARSEOP_MATCHTYPE_MEQ {$$ = TrCreateLeafNode (PARSEOP_MATCHTYPE_MEQ);}
| PARSEOP_MATCHTYPE_MLE {$$ = TrCreateLeafNode (PARSEOP_MATCHTYPE_MLE);}
| PARSEOP_MATCHTYPE_MLT {$$ = TrCreateLeafNode (PARSEOP_MATCHTYPE_MLT);}
| PARSEOP_MATCHTYPE_MGE {$$ = TrCreateLeafNode (PARSEOP_MATCHTYPE_MGE);}
| PARSEOP_MATCHTYPE_MGT {$$ = TrCreateLeafNode (PARSEOP_MATCHTYPE_MGT);}
;
MaxKeyword
: PARSEOP_MAXTYPE_FIXED {$$ = TrCreateLeafNode (PARSEOP_MAXTYPE_FIXED);}
| PARSEOP_MAXTYPE_NOTFIXED {$$ = TrCreateLeafNode (PARSEOP_MAXTYPE_NOTFIXED);}
;
MemTypeKeyword
: PARSEOP_MEMTYPE_CACHEABLE {$$ = TrCreateLeafNode (PARSEOP_MEMTYPE_CACHEABLE);}
| PARSEOP_MEMTYPE_WRITECOMBINING {$$ = TrCreateLeafNode (PARSEOP_MEMTYPE_WRITECOMBINING);}
| PARSEOP_MEMTYPE_PREFETCHABLE {$$ = TrCreateLeafNode (PARSEOP_MEMTYPE_PREFETCHABLE);}
| PARSEOP_MEMTYPE_NONCACHEABLE {$$ = TrCreateLeafNode (PARSEOP_MEMTYPE_NONCACHEABLE);}
;
MinKeyword
: PARSEOP_MINTYPE_FIXED {$$ = TrCreateLeafNode (PARSEOP_MINTYPE_FIXED);}
| PARSEOP_MINTYPE_NOTFIXED {$$ = TrCreateLeafNode (PARSEOP_MINTYPE_NOTFIXED);}
;
ObjectTypeKeyword
: PARSEOP_OBJECTTYPE_UNK {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_UNK);}
| PARSEOP_OBJECTTYPE_INT {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_INT);}
| PARSEOP_OBJECTTYPE_STR {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_STR);}
| PARSEOP_OBJECTTYPE_BUF {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_BUF);}
| PARSEOP_OBJECTTYPE_PKG {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_PKG);}
| PARSEOP_OBJECTTYPE_FLD {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_FLD);}
| PARSEOP_OBJECTTYPE_DEV {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_DEV);}
| PARSEOP_OBJECTTYPE_EVT {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_EVT);}
| PARSEOP_OBJECTTYPE_MTH {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_MTH);}
| PARSEOP_OBJECTTYPE_MTX {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_MTX);}
| PARSEOP_OBJECTTYPE_OPR {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_OPR);}
| PARSEOP_OBJECTTYPE_POW {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_POW);}
| PARSEOP_OBJECTTYPE_PRO {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_PRO);}
| PARSEOP_OBJECTTYPE_THZ {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_THZ);}
| PARSEOP_OBJECTTYPE_BFF {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_BFF);}
| PARSEOP_OBJECTTYPE_DDB {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_DDB);}
;
ParityTypeKeyword
: PARSEOP_PARITYTYPE_SPACE {$$ = TrCreateLeafNode (PARSEOP_PARITYTYPE_SPACE);}
| PARSEOP_PARITYTYPE_MARK {$$ = TrCreateLeafNode (PARSEOP_PARITYTYPE_MARK);}
| PARSEOP_PARITYTYPE_ODD {$$ = TrCreateLeafNode (PARSEOP_PARITYTYPE_ODD);}
| PARSEOP_PARITYTYPE_EVEN {$$ = TrCreateLeafNode (PARSEOP_PARITYTYPE_EVEN);}
| PARSEOP_PARITYTYPE_NONE {$$ = TrCreateLeafNode (PARSEOP_PARITYTYPE_NONE);}
;
PinConfigByte
: PinConfigKeyword {$$ = $1;}
| ByteConstExpr {$$ = UtCheckIntegerRange ($1, 0x80, 0xFF);}
;
PinConfigKeyword
: PARSEOP_PIN_NOPULL {$$ = TrCreateLeafNode (PARSEOP_PIN_NOPULL);}
| PARSEOP_PIN_PULLDOWN {$$ = TrCreateLeafNode (PARSEOP_PIN_PULLDOWN);}
| PARSEOP_PIN_PULLUP {$$ = TrCreateLeafNode (PARSEOP_PIN_PULLUP);}
| PARSEOP_PIN_PULLDEFAULT {$$ = TrCreateLeafNode (PARSEOP_PIN_PULLDEFAULT);}
;
RangeTypeKeyword
: PARSEOP_RANGETYPE_ISAONLY {$$ = TrCreateLeafNode (PARSEOP_RANGETYPE_ISAONLY);}
| PARSEOP_RANGETYPE_NONISAONLY {$$ = TrCreateLeafNode (PARSEOP_RANGETYPE_NONISAONLY);}
| PARSEOP_RANGETYPE_ENTIRE {$$ = TrCreateLeafNode (PARSEOP_RANGETYPE_ENTIRE);}
;
RegionSpaceKeyword
: PARSEOP_REGIONSPACE_IO {$$ = TrCreateLeafNode (PARSEOP_REGIONSPACE_IO);}
| PARSEOP_REGIONSPACE_MEM {$$ = TrCreateLeafNode (PARSEOP_REGIONSPACE_MEM);}
| PARSEOP_REGIONSPACE_PCI {$$ = TrCreateLeafNode (PARSEOP_REGIONSPACE_PCI);}
| PARSEOP_REGIONSPACE_EC {$$ = TrCreateLeafNode (PARSEOP_REGIONSPACE_EC);}
| PARSEOP_REGIONSPACE_SMBUS {$$ = TrCreateLeafNode (PARSEOP_REGIONSPACE_SMBUS);}
| PARSEOP_REGIONSPACE_CMOS {$$ = TrCreateLeafNode (PARSEOP_REGIONSPACE_CMOS);}
| PARSEOP_REGIONSPACE_PCIBAR {$$ = TrCreateLeafNode (PARSEOP_REGIONSPACE_PCIBAR);}
| PARSEOP_REGIONSPACE_IPMI {$$ = TrCreateLeafNode (PARSEOP_REGIONSPACE_IPMI);}
| PARSEOP_REGIONSPACE_GPIO {$$ = TrCreateLeafNode (PARSEOP_REGIONSPACE_GPIO);}
| PARSEOP_REGIONSPACE_GSBUS {$$ = TrCreateLeafNode (PARSEOP_REGIONSPACE_GSBUS);}
| PARSEOP_REGIONSPACE_PCC {$$ = TrCreateLeafNode (PARSEOP_REGIONSPACE_PCC);}
| PARSEOP_REGIONSPACE_FFIXEDHW {$$ = TrCreateLeafNode (PARSEOP_REGIONSPACE_FFIXEDHW);}
;
ResourceTypeKeyword
: PARSEOP_RESOURCETYPE_CONSUMER {$$ = TrCreateLeafNode (PARSEOP_RESOURCETYPE_CONSUMER);}
| PARSEOP_RESOURCETYPE_PRODUCER {$$ = TrCreateLeafNode (PARSEOP_RESOURCETYPE_PRODUCER);}
;
SerializeRuleKeyword
: PARSEOP_SERIALIZERULE_SERIAL {$$ = TrCreateLeafNode (PARSEOP_SERIALIZERULE_SERIAL);}
| PARSEOP_SERIALIZERULE_NOTSERIAL {$$ = TrCreateLeafNode (PARSEOP_SERIALIZERULE_NOTSERIAL);}
;
ShareTypeKeyword
: PARSEOP_SHARETYPE_SHARED {$$ = TrCreateLeafNode (PARSEOP_SHARETYPE_SHARED);}
| PARSEOP_SHARETYPE_EXCLUSIVE {$$ = TrCreateLeafNode (PARSEOP_SHARETYPE_EXCLUSIVE);}
| PARSEOP_SHARETYPE_SHAREDWAKE {$$ = TrCreateLeafNode (PARSEOP_SHARETYPE_SHAREDWAKE);}
| PARSEOP_SHARETYPE_EXCLUSIVEWAKE {$$ = TrCreateLeafNode (PARSEOP_SHARETYPE_EXCLUSIVEWAKE);}
;
SlaveModeKeyword
: PARSEOP_SLAVEMODE_CONTROLLERINIT {$$ = TrCreateLeafNode (PARSEOP_SLAVEMODE_CONTROLLERINIT);}
| PARSEOP_SLAVEMODE_DEVICEINIT {$$ = TrCreateLeafNode (PARSEOP_SLAVEMODE_DEVICEINIT);}
;
StopBitsKeyword
: PARSEOP_STOPBITS_TWO {$$ = TrCreateLeafNode (PARSEOP_STOPBITS_TWO);}
| PARSEOP_STOPBITS_ONEPLUSHALF {$$ = TrCreateLeafNode (PARSEOP_STOPBITS_ONEPLUSHALF);}
| PARSEOP_STOPBITS_ONE {$$ = TrCreateLeafNode (PARSEOP_STOPBITS_ONE);}
| PARSEOP_STOPBITS_ZERO {$$ = TrCreateLeafNode (PARSEOP_STOPBITS_ZERO);}
;
TranslationKeyword
: PARSEOP_TRANSLATIONTYPE_SPARSE {$$ = TrCreateLeafNode (PARSEOP_TRANSLATIONTYPE_SPARSE);}
| PARSEOP_TRANSLATIONTYPE_DENSE {$$ = TrCreateLeafNode (PARSEOP_TRANSLATIONTYPE_DENSE);}
;
TypeKeyword
: PARSEOP_TYPE_TRANSLATION {$$ = TrCreateLeafNode (PARSEOP_TYPE_TRANSLATION);}
| PARSEOP_TYPE_STATIC {$$ = TrCreateLeafNode (PARSEOP_TYPE_STATIC);}
;
UpdateRuleKeyword
: PARSEOP_UPDATERULE_PRESERVE {$$ = TrCreateLeafNode (PARSEOP_UPDATERULE_PRESERVE);}
| PARSEOP_UPDATERULE_ONES {$$ = TrCreateLeafNode (PARSEOP_UPDATERULE_ONES);}
| PARSEOP_UPDATERULE_ZEROS {$$ = TrCreateLeafNode (PARSEOP_UPDATERULE_ZEROS);}
;
WireModeKeyword
: PARSEOP_WIREMODE_FOUR {$$ = TrCreateLeafNode (PARSEOP_WIREMODE_FOUR);}
| PARSEOP_WIREMODE_THREE {$$ = TrCreateLeafNode (PARSEOP_WIREMODE_THREE);}
;
XferSizeKeyword
: PARSEOP_XFERSIZE_8 {$$ = TrCreateValuedLeafNode (PARSEOP_XFERSIZE_8, 0);}
| PARSEOP_XFERSIZE_16 {$$ = TrCreateValuedLeafNode (PARSEOP_XFERSIZE_16, 1);}
| PARSEOP_XFERSIZE_32 {$$ = TrCreateValuedLeafNode (PARSEOP_XFERSIZE_32, 2);}
| PARSEOP_XFERSIZE_64 {$$ = TrCreateValuedLeafNode (PARSEOP_XFERSIZE_64, 3);}
| PARSEOP_XFERSIZE_128 {$$ = TrCreateValuedLeafNode (PARSEOP_XFERSIZE_128, 4);}
| PARSEOP_XFERSIZE_256 {$$ = TrCreateValuedLeafNode (PARSEOP_XFERSIZE_256, 5);}
;
XferTypeKeyword
: PARSEOP_XFERTYPE_8 {$$ = TrCreateLeafNode (PARSEOP_XFERTYPE_8);}
| PARSEOP_XFERTYPE_8_16 {$$ = TrCreateLeafNode (PARSEOP_XFERTYPE_8_16);}
| PARSEOP_XFERTYPE_16 {$$ = TrCreateLeafNode (PARSEOP_XFERTYPE_16);}
;
/******* Miscellaneous Types **************************************************/
SuperName
: NameString {}
| ArgTerm {}
| LocalTerm {}
| DebugTerm {}
| Type6Opcode {}
/* For ObjectType: SuperName except for UserTerm (method invocation) */
ObjectTypeName
: NameString {}
| ArgTerm {}
| LocalTerm {}
| DebugTerm {}
| RefOfTerm {}
| DerefOfTerm {}
| IndexTerm {}
/* | UserTerm {} */ /* Caused reduce/reduce with Type6Opcode->UserTerm */
;
ArgTerm
: PARSEOP_ARG0 {$$ = TrCreateLeafNode (PARSEOP_ARG0);}
| PARSEOP_ARG1 {$$ = TrCreateLeafNode (PARSEOP_ARG1);}
| PARSEOP_ARG2 {$$ = TrCreateLeafNode (PARSEOP_ARG2);}
| PARSEOP_ARG3 {$$ = TrCreateLeafNode (PARSEOP_ARG3);}
| PARSEOP_ARG4 {$$ = TrCreateLeafNode (PARSEOP_ARG4);}
| PARSEOP_ARG5 {$$ = TrCreateLeafNode (PARSEOP_ARG5);}
| PARSEOP_ARG6 {$$ = TrCreateLeafNode (PARSEOP_ARG6);}
;
LocalTerm
: PARSEOP_LOCAL0 {$$ = TrCreateLeafNode (PARSEOP_LOCAL0);}
| PARSEOP_LOCAL1 {$$ = TrCreateLeafNode (PARSEOP_LOCAL1);}
| PARSEOP_LOCAL2 {$$ = TrCreateLeafNode (PARSEOP_LOCAL2);}
| PARSEOP_LOCAL3 {$$ = TrCreateLeafNode (PARSEOP_LOCAL3);}
| PARSEOP_LOCAL4 {$$ = TrCreateLeafNode (PARSEOP_LOCAL4);}
| PARSEOP_LOCAL5 {$$ = TrCreateLeafNode (PARSEOP_LOCAL5);}
| PARSEOP_LOCAL6 {$$ = TrCreateLeafNode (PARSEOP_LOCAL6);}
| PARSEOP_LOCAL7 {$$ = TrCreateLeafNode (PARSEOP_LOCAL7);}
;
DebugTerm
: PARSEOP_DEBUG {$$ = TrCreateLeafNode (PARSEOP_DEBUG);}
;
ByteConst
: Integer {$$ = TrUpdateNode (PARSEOP_BYTECONST, $1);}
;
WordConst
: Integer {$$ = TrUpdateNode (PARSEOP_WORDCONST, $1);}
;
DWordConst
: Integer {$$ = TrUpdateNode (PARSEOP_DWORDCONST, $1);}
;
QWordConst
: Integer {$$ = TrUpdateNode (PARSEOP_QWORDCONST, $1);}
;
Integer
: PARSEOP_INTEGER {$$ = TrCreateValuedLeafNode (PARSEOP_INTEGER, AslCompilerlval.i);}
;
String
: PARSEOP_STRING_LITERAL {$$ = TrCreateValuedLeafNode (PARSEOP_STRING_LITERAL, (ACPI_NATIVE_INT) AslCompilerlval.s);}
;
ConstTerm
: ConstExprTerm {}
| PARSEOP_REVISION {$$ = TrCreateLeafNode (PARSEOP_REVISION);}
;
ConstExprTerm
: PARSEOP_ZERO {$$ = TrCreateValuedLeafNode (PARSEOP_ZERO, 0);}
| PARSEOP_ONE {$$ = TrCreateValuedLeafNode (PARSEOP_ONE, 1);}
| PARSEOP_ONES {$$ = TrCreateValuedLeafNode (PARSEOP_ONES, ACPI_UINT64_MAX);}
| PARSEOP___DATE__ {$$ = TrCreateConstantLeafNode (PARSEOP___DATE__);}
| PARSEOP___FILE__ {$$ = TrCreateConstantLeafNode (PARSEOP___FILE__);}
| PARSEOP___LINE__ {$$ = TrCreateConstantLeafNode (PARSEOP___LINE__);}
| PARSEOP___PATH__ {$$ = TrCreateConstantLeafNode (PARSEOP___PATH__);}
;
/*
* The NODE_COMPILE_TIME_CONST flag in the following constant expressions
* enables compile-time constant folding to reduce the Type3Opcodes/Type2IntegerOpcodes
* to simple integers. It is an error if these types of expressions cannot be
* reduced, since the AML grammar for ****ConstExpr requires a simple constant.
* Note: The required byte length of the constant is passed through to the
* constant folding code in the node AmlLength field.
*/
ByteConstExpr
: Type3Opcode {$$ = TrSetNodeFlags ($1, NODE_COMPILE_TIME_CONST); TrSetNodeAmlLength ($1, 1);}
| Type2IntegerOpcode {$$ = TrSetNodeFlags ($1, NODE_COMPILE_TIME_CONST); TrSetNodeAmlLength ($1, 1);}
| ConstExprTerm {$$ = TrUpdateNode (PARSEOP_BYTECONST, $1);}
| ByteConst {}
;
WordConstExpr
: Type3Opcode {$$ = TrSetNodeFlags ($1, NODE_COMPILE_TIME_CONST); TrSetNodeAmlLength ($1, 2);}
| Type2IntegerOpcode {$$ = TrSetNodeFlags ($1, NODE_COMPILE_TIME_CONST); TrSetNodeAmlLength ($1, 2);}
| ConstExprTerm {$$ = TrUpdateNode (PARSEOP_WORDCONST, $1);}
| WordConst {}
;
DWordConstExpr
: Type3Opcode {$$ = TrSetNodeFlags ($1, NODE_COMPILE_TIME_CONST); TrSetNodeAmlLength ($1, 4);}
| Type2IntegerOpcode {$$ = TrSetNodeFlags ($1, NODE_COMPILE_TIME_CONST); TrSetNodeAmlLength ($1, 4);}
| ConstExprTerm {$$ = TrUpdateNode (PARSEOP_DWORDCONST, $1);}
| DWordConst {}
;
QWordConstExpr
: Type3Opcode {$$ = TrSetNodeFlags ($1, NODE_COMPILE_TIME_CONST); TrSetNodeAmlLength ($1, 8);}
| Type2IntegerOpcode {$$ = TrSetNodeFlags ($1, NODE_COMPILE_TIME_CONST); TrSetNodeAmlLength ($1, 8);}
| ConstExprTerm {$$ = TrUpdateNode (PARSEOP_QWORDCONST, $1);}
| QWordConst {}
;
/* OptionalCount must appear before ByteList or an incorrect reduction will result */
OptionalCount
: {$$ = TrCreateLeafNode (PARSEOP_ONES);} /* Placeholder is a OnesOp object */
| ',' {$$ = TrCreateLeafNode (PARSEOP_ONES);} /* Placeholder is a OnesOp object */
| ',' TermArg {$$ = $2;}
;
BufferTerm
: PARSEOP_BUFFER '(' {$<n>$ = TrCreateLeafNode (PARSEOP_BUFFER);}
OptionalTermArg
')' '{'
BufferTermData '}' {$$ = TrLinkChildren ($<n>3,2,$4,$7);}
| PARSEOP_BUFFER '('
error ')' {$$ = AslDoError(); yyclearin;}
;
BufferTermData
: ByteList {}
| StringData {}
;
ByteList
: {$$ = NULL;}
| ByteConstExpr
| ByteList ',' /* Allows a trailing comma at list end */
| ByteList ','
ByteConstExpr {$$ = TrLinkPeerNode ($1,$3);}
;
DataBufferTerm
: PARSEOP_DATABUFFER '(' {$<n>$ = TrCreateLeafNode (PARSEOP_DATABUFFER);}
OptionalWordConst
')' '{'
ByteList '}' {$$ = TrLinkChildren ($<n>3,2,$4,$7);}
| PARSEOP_DATABUFFER '('
error ')' {$$ = AslDoError(); yyclearin;}
;
DWordList
: {$$ = NULL;}
| DWordConstExpr
| DWordList ',' /* Allows a trailing comma at list end */
| DWordList ','
DWordConstExpr {$$ = TrLinkPeerNode ($1,$3);}
;
PackageTerm
: PARSEOP_PACKAGE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_VAR_PACKAGE);}
VarPackageLengthTerm
')' '{'
PackageList '}' {$$ = TrLinkChildren ($<n>3,2,$4,$7);}
| PARSEOP_PACKAGE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
PackageList
: {$$ = NULL;}
| PackageElement
| PackageList ',' /* Allows a trailing comma at list end */
| PackageList ','
PackageElement {$$ = TrLinkPeerNode ($1,$3);}
;
PackageElement
: DataObject {}
| NameString {}
;
VarPackageLengthTerm
: {$$ = TrCreateLeafNode (PARSEOP_DEFAULT_ARG);}
| TermArg {$$ = $1;}
;
/******* Macros ***********************************************/
EISAIDTerm
: PARSEOP_EISAID '('
StringData ')' {$$ = TrUpdateNode (PARSEOP_EISAID, $3);}
| PARSEOP_EISAID '('
error ')' {$$ = AslDoError(); yyclearin;}
;
UnicodeTerm
: PARSEOP_UNICODE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_UNICODE);}
StringData
')' {$$ = TrLinkChildren ($<n>3,2,0,$4);}
| PARSEOP_UNICODE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
/******* Resources and Memory ***********************************************/
/*
* Note: Create two default nodes to allow conversion to a Buffer AML opcode
* Also, insert the EndTag at the end of the template.
*/
ResourceTemplateTerm
: PARSEOP_RESOURCETEMPLATE '(' ')'
'{'
ResourceMacroList '}' {$$ = TrCreateNode (PARSEOP_RESOURCETEMPLATE,4,
TrCreateLeafNode (PARSEOP_DEFAULT_ARG),
TrCreateLeafNode (PARSEOP_DEFAULT_ARG),
$5,
TrCreateLeafNode (PARSEOP_ENDTAG));}
;
ResourceMacroList
: {$$ = NULL;}
| ResourceMacroList
ResourceMacroTerm {$$ = TrLinkPeerNode ($1,$2);}
;
ResourceMacroTerm
: DMATerm {}
| DWordIOTerm {}
| DWordMemoryTerm {}
| DWordSpaceTerm {}
| EndDependentFnTerm {}
| ExtendedIOTerm {}
| ExtendedMemoryTerm {}
| ExtendedSpaceTerm {}
| FixedDmaTerm {}
| FixedIOTerm {}
| GpioIntTerm {}
| GpioIoTerm {}
| I2cSerialBusTerm {}
| InterruptTerm {}
| IOTerm {}
| IRQNoFlagsTerm {}
| IRQTerm {}
| Memory24Term {}
| Memory32FixedTerm {}
| Memory32Term {}
| QWordIOTerm {}
| QWordMemoryTerm {}
| QWordSpaceTerm {}
| RegisterTerm {}
| SpiSerialBusTerm {}
| StartDependentFnNoPriTerm {}
| StartDependentFnTerm {}
| UartSerialBusTerm {}
| VendorLongTerm {}
| VendorShortTerm {}
| WordBusNumberTerm {}
| WordIOTerm {}
| WordSpaceTerm {}
;
DMATerm
: PARSEOP_DMA '(' {$<n>$ = TrCreateLeafNode (PARSEOP_DMA);}
DMATypeKeyword
OptionalBusMasterKeyword
',' XferTypeKeyword
OptionalNameString_Last
')' '{'
ByteList '}' {$$ = TrLinkChildren ($<n>3,5,$4,$5,$7,$8,$11);}
| PARSEOP_DMA '('
error ')' {$$ = AslDoError(); yyclearin;}
;
DWordIOTerm
: PARSEOP_DWORDIO '(' {$<n>$ = TrCreateLeafNode (PARSEOP_DWORDIO);}
OptionalResourceType_First
OptionalMinType
OptionalMaxType
OptionalDecodeType
OptionalRangeType
',' DWordConstExpr
',' DWordConstExpr
',' DWordConstExpr
',' DWordConstExpr
',' DWordConstExpr
OptionalByteConstExpr
OptionalStringData
OptionalNameString
OptionalType
OptionalTranslationType_Last
')' {$$ = TrLinkChildren ($<n>3,15,$4,$5,$6,$7,$8,$10,$12,$14,$16,$18,$19,$20,$21,$22,$23);}
| PARSEOP_DWORDIO '('
error ')' {$$ = AslDoError(); yyclearin;}
;
DWordMemoryTerm
: PARSEOP_DWORDMEMORY '(' {$<n>$ = TrCreateLeafNode (PARSEOP_DWORDMEMORY);}
OptionalResourceType_First
OptionalDecodeType
OptionalMinType
OptionalMaxType
OptionalMemType
',' OptionalReadWriteKeyword
',' DWordConstExpr
',' DWordConstExpr
',' DWordConstExpr
',' DWordConstExpr
',' DWordConstExpr
OptionalByteConstExpr
OptionalStringData
OptionalNameString
OptionalAddressRange
OptionalType_Last
')' {$$ = TrLinkChildren ($<n>3,16,$4,$5,$6,$7,$8,$10,$12,$14,$16,$18,$20,$21,$22,$23,$24,$25);}
| PARSEOP_DWORDMEMORY '('
error ')' {$$ = AslDoError(); yyclearin;}
;
DWordSpaceTerm
: PARSEOP_DWORDSPACE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_DWORDSPACE);}
ByteConstExpr {UtCheckIntegerRange ($4, 0xC0, 0xFF);}
OptionalResourceType
OptionalDecodeType
OptionalMinType
OptionalMaxType
',' ByteConstExpr
',' DWordConstExpr
',' DWordConstExpr
',' DWordConstExpr
',' DWordConstExpr
',' DWordConstExpr
OptionalByteConstExpr
OptionalStringData
OptionalNameString_Last
')' {$$ = TrLinkChildren ($<n>3,14,$4,$6,$7,$8,$9,$11,$13,$15,$17,$19,$21,$22,$23,$24);}
| PARSEOP_DWORDSPACE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
EndDependentFnTerm
: PARSEOP_ENDDEPENDENTFN '('
')' {$$ = TrCreateLeafNode (PARSEOP_ENDDEPENDENTFN);}
| PARSEOP_ENDDEPENDENTFN '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ExtendedIOTerm
: PARSEOP_EXTENDEDIO '(' {$<n>$ = TrCreateLeafNode (PARSEOP_EXTENDEDIO);}
OptionalResourceType_First
OptionalMinType
OptionalMaxType
OptionalDecodeType
OptionalRangeType
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
OptionalQWordConstExpr
OptionalNameString
OptionalType
OptionalTranslationType_Last
')' {$$ = TrLinkChildren ($<n>3,14,$4,$5,$6,$7,$8,$10,$12,$14,$16,$18,$19,$20,$21,$22);}
| PARSEOP_EXTENDEDIO '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ExtendedMemoryTerm
: PARSEOP_EXTENDEDMEMORY '(' {$<n>$ = TrCreateLeafNode (PARSEOP_EXTENDEDMEMORY);}
OptionalResourceType_First
OptionalDecodeType
OptionalMinType
OptionalMaxType
OptionalMemType
',' OptionalReadWriteKeyword
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
OptionalQWordConstExpr
OptionalNameString
OptionalAddressRange
OptionalType_Last
')' {$$ = TrLinkChildren ($<n>3,15,$4,$5,$6,$7,$8,$10,$12,$14,$16,$18,$20,$21,$22,$23,$24);}
| PARSEOP_EXTENDEDMEMORY '('
error ')' {$$ = AslDoError(); yyclearin;}
;
ExtendedSpaceTerm
: PARSEOP_EXTENDEDSPACE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_EXTENDEDSPACE);}
ByteConstExpr {UtCheckIntegerRange ($4, 0xC0, 0xFF);}
OptionalResourceType
OptionalDecodeType
OptionalMinType
OptionalMaxType
',' ByteConstExpr
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
OptionalQWordConstExpr
OptionalNameString_Last
')' {$$ = TrLinkChildren ($<n>3,13,$4,$6,$7,$8,$9,$11,$13,$15,$17,$19,$21,$22,$23);}
| PARSEOP_EXTENDEDSPACE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
FixedDmaTerm
: PARSEOP_FIXEDDMA '(' {$<n>$ = TrCreateLeafNode (PARSEOP_FIXEDDMA);}
WordConstExpr /* 04: DMA RequestLines */
',' WordConstExpr /* 06: DMA Channels */
OptionalXferSize /* 07: DMA TransferSize */
OptionalNameString /* 08: DescriptorName */
')' {$$ = TrLinkChildren ($<n>3,4,$4,$6,$7,$8);}
| PARSEOP_FIXEDDMA '('
error ')' {$$ = AslDoError(); yyclearin;}
;
FixedIOTerm
: PARSEOP_FIXEDIO '(' {$<n>$ = TrCreateLeafNode (PARSEOP_FIXEDIO);}
WordConstExpr
',' ByteConstExpr
OptionalNameString_Last
')' {$$ = TrLinkChildren ($<n>3,3,$4,$6,$7);}
| PARSEOP_FIXEDIO '('
error ')' {$$ = AslDoError(); yyclearin;}
;
GpioIntTerm
: PARSEOP_GPIO_INT '(' {$<n>$ = TrCreateLeafNode (PARSEOP_GPIO_INT);}
InterruptTypeKeyword /* 04: InterruptType */
',' InterruptLevel /* 06: InterruptLevel */
OptionalShareType /* 07: SharedType */
',' PinConfigByte /* 09: PinConfig */
OptionalWordConstExpr /* 10: DebounceTimeout */
',' StringData /* 12: ResourceSource */
OptionalByteConstExpr /* 13: ResourceSourceIndex */
OptionalResourceType /* 14: ResourceType */
OptionalNameString /* 15: DescriptorName */
OptionalBuffer_Last /* 16: VendorData */
')' '{'
DWordConstExpr '}' {$$ = TrLinkChildren ($<n>3,11,$4,$6,$7,$9,$10,$12,$13,$14,$15,$16,$19);}
| PARSEOP_GPIO_INT '('
error ')' {$$ = AslDoError(); yyclearin;}
;
GpioIoTerm
: PARSEOP_GPIO_IO '(' {$<n>$ = TrCreateLeafNode (PARSEOP_GPIO_IO);}
OptionalShareType_First /* 04: SharedType */
',' PinConfigByte /* 06: PinConfig */
OptionalWordConstExpr /* 07: DebounceTimeout */
OptionalWordConstExpr /* 08: DriveStrength */
OptionalIoRestriction /* 09: IoRestriction */
',' StringData /* 11: ResourceSource */
OptionalByteConstExpr /* 12: ResourceSourceIndex */
OptionalResourceType /* 13: ResourceType */
OptionalNameString /* 14: DescriptorName */
OptionalBuffer_Last /* 15: VendorData */
')' '{'
DWordList '}' {$$ = TrLinkChildren ($<n>3,11,$4,$6,$7,$8,$9,$11,$12,$13,$14,$15,$18);}
| PARSEOP_GPIO_IO '('
error ')' {$$ = AslDoError(); yyclearin;}
;
I2cSerialBusTerm
: PARSEOP_I2C_SERIALBUS '(' {$<n>$ = TrCreateLeafNode (PARSEOP_I2C_SERIALBUS);}
WordConstExpr /* 04: SlaveAddress */
OptionalSlaveMode /* 05: SlaveMode */
',' DWordConstExpr /* 07: ConnectionSpeed */
OptionalAddressingMode /* 08: AddressingMode */
',' StringData /* 10: ResourceSource */
OptionalByteConstExpr /* 11: ResourceSourceIndex */
OptionalResourceType /* 12: ResourceType */
OptionalNameString /* 13: DescriptorName */
OptionalBuffer_Last /* 14: VendorData */
')' {$$ = TrLinkChildren ($<n>3,9,$4,$5,$7,$8,$10,$11,$12,$13,$14);}
| PARSEOP_I2C_SERIALBUS '('
error ')' {$$ = AslDoError(); yyclearin;}
;
InterruptTerm
: PARSEOP_INTERRUPT '(' {$<n>$ = TrCreateLeafNode (PARSEOP_INTERRUPT);}
OptionalResourceType_First
',' InterruptTypeKeyword
',' InterruptLevel
OptionalShareType
OptionalByteConstExpr
OptionalStringData
OptionalNameString_Last
')' '{'
DWordList '}' {$$ = TrLinkChildren ($<n>3,8,$4,$6,$8,$9,$10,$11,$12,$15);}
| PARSEOP_INTERRUPT '('
error ')' {$$ = AslDoError(); yyclearin;}
;
IOTerm
: PARSEOP_IO '(' {$<n>$ = TrCreateLeafNode (PARSEOP_IO);}
IODecodeKeyword
',' WordConstExpr
',' WordConstExpr
',' ByteConstExpr
',' ByteConstExpr
OptionalNameString_Last
')' {$$ = TrLinkChildren ($<n>3,6,$4,$6,$8,$10,$12,$13);}
| PARSEOP_IO '('
error ')' {$$ = AslDoError(); yyclearin;}
;
IRQNoFlagsTerm
: PARSEOP_IRQNOFLAGS '(' {$<n>$ = TrCreateLeafNode (PARSEOP_IRQNOFLAGS);}
OptionalNameString_First
')' '{'
ByteList '}' {$$ = TrLinkChildren ($<n>3,2,$4,$7);}
| PARSEOP_IRQNOFLAGS '('
error ')' {$$ = AslDoError(); yyclearin;}
;
IRQTerm
: PARSEOP_IRQ '(' {$<n>$ = TrCreateLeafNode (PARSEOP_IRQ);}
InterruptTypeKeyword
',' InterruptLevel
OptionalShareType
OptionalNameString_Last
')' '{'
ByteList '}' {$$ = TrLinkChildren ($<n>3,5,$4,$6,$7,$8,$11);}
| PARSEOP_IRQ '('
error ')' {$$ = AslDoError(); yyclearin;}
;
Memory24Term
: PARSEOP_MEMORY24 '(' {$<n>$ = TrCreateLeafNode (PARSEOP_MEMORY24);}
OptionalReadWriteKeyword
',' WordConstExpr
',' WordConstExpr
',' WordConstExpr
',' WordConstExpr
OptionalNameString_Last
')' {$$ = TrLinkChildren ($<n>3,6,$4,$6,$8,$10,$12,$13);}
| PARSEOP_MEMORY24 '('
error ')' {$$ = AslDoError(); yyclearin;}
;
Memory32FixedTerm
: PARSEOP_MEMORY32FIXED '(' {$<n>$ = TrCreateLeafNode (PARSEOP_MEMORY32FIXED);}
OptionalReadWriteKeyword
',' DWordConstExpr
',' DWordConstExpr
OptionalNameString_Last
')' {$$ = TrLinkChildren ($<n>3,4,$4,$6,$8,$9);}
| PARSEOP_MEMORY32FIXED '('
error ')' {$$ = AslDoError(); yyclearin;}
;
Memory32Term
: PARSEOP_MEMORY32 '(' {$<n>$ = TrCreateLeafNode (PARSEOP_MEMORY32);}
OptionalReadWriteKeyword
',' DWordConstExpr
',' DWordConstExpr
',' DWordConstExpr
',' DWordConstExpr
OptionalNameString_Last
')' {$$ = TrLinkChildren ($<n>3,6,$4,$6,$8,$10,$12,$13);}
| PARSEOP_MEMORY32 '('
error ')' {$$ = AslDoError(); yyclearin;}
;
QWordIOTerm
: PARSEOP_QWORDIO '(' {$<n>$ = TrCreateLeafNode (PARSEOP_QWORDIO);}
OptionalResourceType_First
OptionalMinType
OptionalMaxType
OptionalDecodeType
OptionalRangeType
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
OptionalByteConstExpr
OptionalStringData
OptionalNameString
OptionalType
OptionalTranslationType_Last
')' {$$ = TrLinkChildren ($<n>3,15,$4,$5,$6,$7,$8,$10,$12,$14,$16,$18,$19,$20,$21,$22,$23);}
| PARSEOP_QWORDIO '('
error ')' {$$ = AslDoError(); yyclearin;}
;
QWordMemoryTerm
: PARSEOP_QWORDMEMORY '(' {$<n>$ = TrCreateLeafNode (PARSEOP_QWORDMEMORY);}
OptionalResourceType_First
OptionalDecodeType
OptionalMinType
OptionalMaxType
OptionalMemType
',' OptionalReadWriteKeyword
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
OptionalByteConstExpr
OptionalStringData
OptionalNameString
OptionalAddressRange
OptionalType_Last
')' {$$ = TrLinkChildren ($<n>3,16,$4,$5,$6,$7,$8,$10,$12,$14,$16,$18,$20,$21,$22,$23,$24,$25);}
| PARSEOP_QWORDMEMORY '('
error ')' {$$ = AslDoError(); yyclearin;}
;
QWordSpaceTerm
: PARSEOP_QWORDSPACE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_QWORDSPACE);}
ByteConstExpr {UtCheckIntegerRange ($4, 0xC0, 0xFF);}
OptionalResourceType
OptionalDecodeType
OptionalMinType
OptionalMaxType
',' ByteConstExpr
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
',' QWordConstExpr
OptionalByteConstExpr
OptionalStringData
OptionalNameString_Last
')' {$$ = TrLinkChildren ($<n>3,14,$4,$6,$7,$8,$9,$11,$13,$15,$17,$19,$21,$22,$23,$24);}
| PARSEOP_QWORDSPACE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
RegisterTerm
: PARSEOP_REGISTER '(' {$<n>$ = TrCreateLeafNode (PARSEOP_REGISTER);}
AddressSpaceKeyword
',' ByteConstExpr
',' ByteConstExpr
',' QWordConstExpr
OptionalAccessSize
OptionalNameString_Last
')' {$$ = TrLinkChildren ($<n>3,6,$4,$6,$8,$10,$11,$12);}
| PARSEOP_REGISTER '('
error ')' {$$ = AslDoError(); yyclearin;}
;
SpiSerialBusTerm
: PARSEOP_SPI_SERIALBUS '(' {$<n>$ = TrCreateLeafNode (PARSEOP_SPI_SERIALBUS);}
WordConstExpr /* 04: DeviceSelection */
OptionalDevicePolarity /* 05: DevicePolarity */
OptionalWireMode /* 06: WireMode */
',' ByteConstExpr /* 08: DataBitLength */
OptionalSlaveMode /* 09: SlaveMode */
',' DWordConstExpr /* 11: ConnectionSpeed */
',' ClockPolarityKeyword /* 13: ClockPolarity */
',' ClockPhaseKeyword /* 15: ClockPhase */
',' StringData /* 17: ResourceSource */
OptionalByteConstExpr /* 18: ResourceSourceIndex */
OptionalResourceType /* 19: ResourceType */
OptionalNameString /* 20: DescriptorName */
OptionalBuffer_Last /* 21: VendorData */
')' {$$ = TrLinkChildren ($<n>3,13,$4,$5,$6,$8,$9,$11,$13,$15,$17,$18,$19,$20,$21);}
| PARSEOP_SPI_SERIALBUS '('
error ')' {$$ = AslDoError(); yyclearin;}
;
StartDependentFnNoPriTerm
: PARSEOP_STARTDEPENDENTFN_NOPRI '(' {$<n>$ = TrCreateLeafNode (PARSEOP_STARTDEPENDENTFN_NOPRI);}
')' '{'
ResourceMacroList '}' {$$ = TrLinkChildren ($<n>3,1,$6);}
| PARSEOP_STARTDEPENDENTFN_NOPRI '('
error ')' {$$ = AslDoError(); yyclearin;}
;
StartDependentFnTerm
: PARSEOP_STARTDEPENDENTFN '(' {$<n>$ = TrCreateLeafNode (PARSEOP_STARTDEPENDENTFN);}
ByteConstExpr
',' ByteConstExpr
')' '{'
ResourceMacroList '}' {$$ = TrLinkChildren ($<n>3,3,$4,$6,$9);}
| PARSEOP_STARTDEPENDENTFN '('
error ')' {$$ = AslDoError(); yyclearin;}
;
UartSerialBusTerm
: PARSEOP_UART_SERIALBUS '(' {$<n>$ = TrCreateLeafNode (PARSEOP_UART_SERIALBUS);}
DWordConstExpr /* 04: ConnectionSpeed */
OptionalBitsPerByte /* 05: BitsPerByte */
OptionalStopBits /* 06: StopBits */
',' ByteConstExpr /* 08: LinesInUse */
OptionalEndian /* 09: Endianess */
OptionalParityType /* 10: Parity */
OptionalFlowControl /* 11: FlowControl */
',' WordConstExpr /* 13: Rx BufferSize */
',' WordConstExpr /* 15: Tx BufferSize */
',' StringData /* 17: ResourceSource */
OptionalByteConstExpr /* 18: ResourceSourceIndex */
OptionalResourceType /* 19: ResourceType */
OptionalNameString /* 20: DescriptorName */
OptionalBuffer_Last /* 21: VendorData */
')' {$$ = TrLinkChildren ($<n>3,14,$4,$5,$6,$8,$9,$10,$11,$13,$15,$17,$18,$19,$20,$21);}
| PARSEOP_UART_SERIALBUS '('
error ')' {$$ = AslDoError(); yyclearin;}
;
VendorLongTerm
: PARSEOP_VENDORLONG '(' {$<n>$ = TrCreateLeafNode (PARSEOP_VENDORLONG);}
OptionalNameString_First
')' '{'
ByteList '}' {$$ = TrLinkChildren ($<n>3,2,$4,$7);}
| PARSEOP_VENDORLONG '('
error ')' {$$ = AslDoError(); yyclearin;}
;
VendorShortTerm
: PARSEOP_VENDORSHORT '(' {$<n>$ = TrCreateLeafNode (PARSEOP_VENDORSHORT);}
OptionalNameString_First
')' '{'
ByteList '}' {$$ = TrLinkChildren ($<n>3,2,$4,$7);}
| PARSEOP_VENDORSHORT '('
error ')' {$$ = AslDoError(); yyclearin;}
;
WordBusNumberTerm
: PARSEOP_WORDBUSNUMBER '(' {$<n>$ = TrCreateLeafNode (PARSEOP_WORDBUSNUMBER);}
OptionalResourceType_First
OptionalMinType
OptionalMaxType
OptionalDecodeType
',' WordConstExpr
',' WordConstExpr
',' WordConstExpr
',' WordConstExpr
',' WordConstExpr
OptionalByteConstExpr
OptionalStringData
OptionalNameString_Last
')' {$$ = TrLinkChildren ($<n>3,12,$4,$5,$6,$7,$9,$11,$13,$15,$17,$18,$19,$20);}
| PARSEOP_WORDBUSNUMBER '('
error ')' {$$ = AslDoError(); yyclearin;}
;
WordIOTerm
: PARSEOP_WORDIO '(' {$<n>$ = TrCreateLeafNode (PARSEOP_WORDIO);}
OptionalResourceType_First
OptionalMinType
OptionalMaxType
OptionalDecodeType
OptionalRangeType
',' WordConstExpr
',' WordConstExpr
',' WordConstExpr
',' WordConstExpr
',' WordConstExpr
OptionalByteConstExpr
OptionalStringData
OptionalNameString
OptionalType
OptionalTranslationType_Last
')' {$$ = TrLinkChildren ($<n>3,15,$4,$5,$6,$7,$8,$10,$12,$14,$16,$18,$19,$20,$21,$22,$23);}
| PARSEOP_WORDIO '('
error ')' {$$ = AslDoError(); yyclearin;}
;
WordSpaceTerm
: PARSEOP_WORDSPACE '(' {$<n>$ = TrCreateLeafNode (PARSEOP_WORDSPACE);}
ByteConstExpr {UtCheckIntegerRange ($4, 0xC0, 0xFF);}
OptionalResourceType
OptionalDecodeType
OptionalMinType
OptionalMaxType
',' ByteConstExpr
',' WordConstExpr
',' WordConstExpr
',' WordConstExpr
',' WordConstExpr
',' WordConstExpr
OptionalByteConstExpr
OptionalStringData
OptionalNameString_Last
')' {$$ = TrLinkChildren ($<n>3,14,$4,$6,$7,$8,$9,$11,$13,$15,$17,$19,$21,$22,$23,$24);}
| PARSEOP_WORDSPACE '('
error ')' {$$ = AslDoError(); yyclearin;}
;
/******* Object References ***********************************************/
/* Allow IO, DMA, IRQ Resource macro names to also be used as identifiers */
NameString
: NameSeg {}
| PARSEOP_NAMESTRING {$$ = TrCreateValuedLeafNode (PARSEOP_NAMESTRING, (ACPI_NATIVE_INT) AslCompilerlval.s);}
| PARSEOP_IO {$$ = TrCreateValuedLeafNode (PARSEOP_NAMESTRING, (ACPI_NATIVE_INT) "IO");}
| PARSEOP_DMA {$$ = TrCreateValuedLeafNode (PARSEOP_NAMESTRING, (ACPI_NATIVE_INT) "DMA");}
| PARSEOP_IRQ {$$ = TrCreateValuedLeafNode (PARSEOP_NAMESTRING, (ACPI_NATIVE_INT) "IRQ");}
;
NameSeg
: PARSEOP_NAMESEG {$$ = TrCreateValuedLeafNode (PARSEOP_NAMESEG, (ACPI_NATIVE_INT) AslCompilerlval.s);}
;
/******* Helper rules ****************************************************/
AmlPackageLengthTerm
: Integer {$$ = TrUpdateNode (PARSEOP_PACKAGE_LENGTH,(ACPI_PARSE_OBJECT *) $1);}
;
NameStringItem
: ',' NameString {$$ = $2;}
| ',' error {$$ = AslDoError (); yyclearin;}
;
TermArgItem
: ',' TermArg {$$ = $2;}
| ',' error {$$ = AslDoError (); yyclearin;}
;
OptionalBusMasterKeyword
: ',' {$$ = TrCreateLeafNode (PARSEOP_BUSMASTERTYPE_MASTER);}
| ',' PARSEOP_BUSMASTERTYPE_MASTER {$$ = TrCreateLeafNode (PARSEOP_BUSMASTERTYPE_MASTER);}
| ',' PARSEOP_BUSMASTERTYPE_NOTMASTER {$$ = TrCreateLeafNode (PARSEOP_BUSMASTERTYPE_NOTMASTER);}
;
OptionalAccessAttribTerm
: {$$ = NULL;}
| ',' {$$ = NULL;}
| ',' ByteConstExpr {$$ = $2;}
| ',' AccessAttribKeyword {$$ = $2;}
;
OptionalAccessSize
: {$$ = TrCreateValuedLeafNode (PARSEOP_BYTECONST, 0);}
| ',' {$$ = TrCreateValuedLeafNode (PARSEOP_BYTECONST, 0);}
| ',' ByteConstExpr {$$ = $2;}
;
OptionalAddressingMode
: ',' {$$ = NULL;}
| ',' AddressingModeKeyword {$$ = $2;}
;
OptionalAddressRange
: {$$ = NULL;}
| ',' {$$ = NULL;}
| ',' AddressKeyword {$$ = $2;}
;
OptionalBitsPerByte
: ',' {$$ = NULL;}
| ',' BitsPerByteKeyword {$$ = $2;}
;
OptionalBuffer_Last
: {$$ = NULL;}
| ',' {$$ = NULL;}
| ',' DataBufferTerm {$$ = $2;}
;
OptionalByteConstExpr
: {$$ = NULL;}
| ',' {$$ = NULL;}
| ',' ByteConstExpr {$$ = $2;}
;
OptionalDecodeType
: ',' {$$ = NULL;}
| ',' DecodeKeyword {$$ = $2;}
;
OptionalDevicePolarity
: ',' {$$ = NULL;}
| ',' DevicePolarityKeyword {$$ = $2;}
;
OptionalDWordConstExpr
: {$$ = NULL;}
| ',' {$$ = NULL;}
| ',' DWordConstExpr {$$ = $2;}
;
OptionalEndian
: ',' {$$ = NULL;}
| ',' EndianKeyword {$$ = $2;}
;
OptionalFlowControl
: ',' {$$ = NULL;}
| ',' FlowControlKeyword {$$ = $2;}
;
OptionalIoRestriction
: ',' {$$ = NULL;}
| ',' IoRestrictionKeyword {$$ = $2;}
;
OptionalListString
: {$$ = TrCreateValuedLeafNode (PARSEOP_STRING_LITERAL, ACPI_TO_INTEGER (""));} /* Placeholder is a NULL string */
| ',' {$$ = TrCreateValuedLeafNode (PARSEOP_STRING_LITERAL, ACPI_TO_INTEGER (""));} /* Placeholder is a NULL string */
| ',' TermArg {$$ = $2;}
;
OptionalMaxType
: ',' {$$ = NULL;}
| ',' MaxKeyword {$$ = $2;}
;
OptionalMemType
: ',' {$$ = NULL;}
| ',' MemTypeKeyword {$$ = $2;}
;
OptionalMinType
: ',' {$$ = NULL;}
| ',' MinKeyword {$$ = $2;}
;
OptionalNameString
: {$$ = NULL;}
| ',' {$$ = NULL;}
| ',' NameString {$$ = $2;}
;
OptionalNameString_Last
: {$$ = NULL;}
| ',' {$$ = NULL;}
| ',' NameString {$$ = $2;}
;
OptionalNameString_First
: {$$ = TrCreateLeafNode (PARSEOP_ZERO);}
| NameString {$$ = $1;}
;
OptionalObjectTypeKeyword
: {$$ = TrCreateLeafNode (PARSEOP_OBJECTTYPE_UNK);}
| ',' ObjectTypeKeyword {$$ = $2;}
;
OptionalParityType
: ',' {$$ = NULL;}
| ',' ParityTypeKeyword {$$ = $2;}
;
OptionalQWordConstExpr
: {$$ = NULL;}
| ',' {$$ = NULL;}
| ',' QWordConstExpr {$$ = $2;}
;
OptionalRangeType
: ',' {$$ = NULL;}
| ',' RangeTypeKeyword {$$ = $2;}
;
OptionalReadWriteKeyword
: {$$ = TrCreateLeafNode (PARSEOP_READWRITETYPE_BOTH);}
| PARSEOP_READWRITETYPE_BOTH {$$ = TrCreateLeafNode (PARSEOP_READWRITETYPE_BOTH);}
| PARSEOP_READWRITETYPE_READONLY {$$ = TrCreateLeafNode (PARSEOP_READWRITETYPE_READONLY);}
;
OptionalReference
: {$$ = TrCreateLeafNode (PARSEOP_ZERO);} /* Placeholder is a ZeroOp object */
| ',' {$$ = TrCreateLeafNode (PARSEOP_ZERO);} /* Placeholder is a ZeroOp object */
| ',' TermArg {$$ = $2;}
;
OptionalResourceType_First
: {$$ = TrCreateLeafNode (PARSEOP_RESOURCETYPE_CONSUMER);}
| ResourceTypeKeyword {$$ = $1;}
;
OptionalResourceType
: {$$ = TrCreateLeafNode (PARSEOP_RESOURCETYPE_CONSUMER);}
| ',' {$$ = TrCreateLeafNode (PARSEOP_RESOURCETYPE_CONSUMER);}
| ',' ResourceTypeKeyword {$$ = $2;}
;
OptionalReturnArg
: {$$ = TrSetNodeFlags (TrCreateLeafNode (PARSEOP_ZERO), NODE_IS_NULL_RETURN);} /* Placeholder is a ZeroOp object */
| TermArg {$$ = $1;}
;
OptionalSerializeRuleKeyword
: {$$ = NULL;}
| ',' {$$ = NULL;}
| ',' SerializeRuleKeyword {$$ = $2;}
;
OptionalSlaveMode
: ',' {$$ = NULL;}
| ',' SlaveModeKeyword {$$ = $2;}
;
OptionalShareType
: {$$ = NULL;}
| ',' {$$ = NULL;}
| ',' ShareTypeKeyword {$$ = $2;}
;
OptionalShareType_First
: {$$ = NULL;}
| ShareTypeKeyword {$$ = $1;}
;
OptionalStopBits
: ',' {$$ = NULL;}
| ',' StopBitsKeyword {$$ = $2;}
;
OptionalStringData
: {$$ = NULL;}
| ',' {$$ = NULL;}
| ',' StringData {$$ = $2;}
;
OptionalTermArg
: {$$ = NULL;}
| TermArg {$$ = $1;}
;
OptionalType
: {$$ = NULL;}
| ',' {$$ = NULL;}
| ',' TypeKeyword {$$ = $2;}
;
OptionalType_Last
: {$$ = NULL;}
| ',' {$$ = NULL;}
| ',' TypeKeyword {$$ = $2;}
;
OptionalTranslationType_Last
: {$$ = NULL;}
| ',' {$$ = NULL;}
| ',' TranslationKeyword {$$ = $2;}
;
OptionalWireMode
: ',' {$$ = NULL;}
| ',' WireModeKeyword {$$ = $2;}
;
OptionalWordConst
: {$$ = NULL;}
| WordConst {$$ = $1;}
;
OptionalWordConstExpr
: ',' {$$ = NULL;}
| ',' WordConstExpr {$$ = $2;}
;
OptionalXferSize
: {$$ = TrCreateValuedLeafNode (PARSEOP_XFERSIZE_32, 2);}
| ',' {$$ = TrCreateValuedLeafNode (PARSEOP_XFERSIZE_32, 2);}
| ',' XferSizeKeyword {$$ = $2;}
;
%%
/******************************************************************************
*
* Local support functions
*
*****************************************************************************/
int
AslCompilerwrap(void)
{
return (1);
}
/*! [End] no source code translation !*/
void *
AslLocalAllocate (unsigned int Size)
{
void *Mem;
DbgPrint (ASL_PARSE_OUTPUT, "\nAslLocalAllocate: Expanding Stack to %u\n\n", Size);
Mem = ACPI_ALLOCATE_ZEROED (Size);
if (!Mem)
{
AslCommonError (ASL_ERROR, ASL_MSG_MEMORY_ALLOCATION,
Gbl_CurrentLineNumber, Gbl_LogicalLineNumber,
Gbl_InputByteCount, Gbl_CurrentColumn,
Gbl_Files[ASL_FILE_INPUT].Filename, NULL);
exit (1);
}
return (Mem);
}
ACPI_PARSE_OBJECT *
AslDoError (void)
{
return (TrCreateLeafNode (PARSEOP_ERRORNODE));
}
/*******************************************************************************
*
* FUNCTION: UtGetOpName
*
* PARAMETERS: ParseOpcode - Parser keyword ID
*
* RETURN: Pointer to the opcode name
*
* DESCRIPTION: Get the ascii name of the parse opcode
*
******************************************************************************/
char *
UtGetOpName (
UINT32 ParseOpcode)
{
#ifdef ASL_YYTNAME_START
/*
* First entries (ASL_YYTNAME_START) in yytname are special reserved names.
* Ignore first 8 characters of the name
*/
return ((char *) yytname
[(ParseOpcode - ASL_FIRST_PARSE_OPCODE) + ASL_YYTNAME_START] + 8);
#else
return ("[Unknown parser generator]");
#endif
}
| Yacc | 5 | piano1029/runtime | deps/acpica/source/compiler/aslcompiler.y | [
"Apache-2.0"
] |
Array<T> struct #RefType {
dataPtr pointer
count int
cons<T>(count int) {
numBytes := CheckedMath.mulPositiveSsize(count, sizeof(T))
result := Array<T> { dataPtr: ::currentAllocator.alloc(numBytes), count: count }
Memory.memset(result.dataPtr, 0, cast(numBytes, usize))
return result
}
fromTypedPtr(dataPtr *T, count int) {
return Array<T> { dataPtr: pointer_cast(dataPtr, pointer), count: count }
}
createUninitialized<T>(count int) {
numBytes := CheckedMath.mulPositiveSsize(count, sizeof(T))
return Array<T> { dataPtr: ::currentAllocator.alloc(numBytes), count: count }
}
slice(this Array<T>, from int, to int) {
assert(0 <= from && from <= to && to <= this.count)
return Array<T> { dataPtr: this.dataPtr + cast(from, ssize) * sizeof(T), count: to - from }
}
copySlice(src Array<T>, from int, to int, dest Array<T>, index int) {
assert(0 <= from && from <= to && to <= src.count)
count := to - from
assert(0 <= index && index <= dest.count - count)
Memory.memcpy(dest.dataPtr + cast(index, ssize) * sizeof(T), src.dataPtr + cast(from, ssize) * sizeof(T), cast(cast(count, ssize) * sizeof(T), usize))
}
// TODO: remove this eventually
clear(this Array<T>) {
Memory.memset(this.dataPtr, 0, cast(cast(this.count, ssize) * sizeof(T), usize))
}
clearValues(this Array<T>) {
Memory.memset(this.dataPtr, 0, cast(cast(this.count, ssize) * sizeof(T), usize))
}
}
List<T> struct #RefType {
dataPtr pointer
count int
capacity int
add(this List<T>, item T) {
if this.count == this.capacity {
grow(this)
}
unchecked_index(this, this.count) = item
this.count += 1
}
grow(this List<T>) {
reserve(this, this.capacity != 0 ? CheckedMath.mulPositiveInt(this.capacity, 2) : 4)
}
reserve(this List<T>, capacity int) {
assert(capacity >= 0)
if capacity <= this.capacity {
return
}
this.dataPtr = ::currentAllocator.realloc(this.dataPtr, CheckedMath.mulPositiveSsize(capacity, sizeof(T)), cast(this.capacity, ssize) * sizeof(T), cast(this.count, ssize) * sizeof(T))
this.capacity = capacity
}
slice(this List<T>, from int, to int) {
assert(0 <= from && from <= to && to <= this.count)
return Array<T> { dataPtr: this.dataPtr + cast(from, ssize) * sizeof(T), count: to - from }
}
insert(this List<T>, item T, index int) {
assert(0 <= index && index <= this.count)
if this.count == this.capacity {
grow(this)
}
src := this.dataPtr + cast(index, ssize) * sizeof(T)
dest := src + sizeof(T)
Memory.memmove(dest, src, cast(cast(this.count - index, ssize) * sizeof(T), usize))
unchecked_index(this, index) = item
this.count += 1
}
removeIndexShift(this List<T>, index int) {
assert(0 <= index && index < this.count)
dest := this.dataPtr + cast(index, ssize) * sizeof(T)
src := dest + sizeof(T)
Memory.memmove(dest, src, cast(cast(this.count - (index + 1), ssize) * sizeof(T), usize))
this.count -= 1
}
removeIndexSwap(this List<T>, index int) {
assert(0 <= index && index < this.count)
unchecked_index(this, index) = unchecked_index(this, this.count - 1)
this.count -= 1
}
clear(this List<T>) {
this.count = 0
}
setCountChecked(this List<T>, count int) {
assert(0 <= count && count <= this.count)
this.count = count
}
}
SetEntry<T> struct {
hash uint
value T
}
Set<T> struct #RefType {
entries $Array<SetEntry<T>>
count int
capacityMask uint
growThreshold int
create<T>() {
cap := 8 // Must be power of 2
return Set {
entries: Array<SetEntry<T>>(cap),
count: 0,
capacityMask: cast(cap - 1, uint),
growThreshold: cap / 3 * 2,
}
}
add(this Set<T>, value T) {
assert(tryAdd(this, value))
}
tryAdd(this Set<T>, value T) {
if this.count > this.growThreshold {
grow(this)
}
h := compute_hash(value)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
break
}
if e.hash == h && e.value == value {
return false
}
b = (b + 1) & this.capacityMask
}
this.entries[b] = SetEntry { hash: h, value: value }
this.count += 1
return true
}
contains(this Set<T>, value T) bool {
h := compute_hash(value)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
return false
}
if e.hash == h && e.value == value {
return true
}
b = (b + 1) & this.capacityMask
}
}
remove(this Set<T>, value T) {
assert(tryRemove(this, value))
}
tryRemove(this Set<T>, value T) {
h := compute_hash(value)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
return false
}
if e.hash == h && e.value == value {
break
}
b = (b + 1) & this.capacityMask
}
z := b
b = (b + 1) & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
break
}
ib := e.hash & this.capacityMask
if ((ib - (z + 1)) & this.capacityMask) >= ((b - z) & this.capacityMask) {
this.entries[z] = e^
z = b
}
b = (b + 1) & this.capacityMask
}
this.entries[z].hash = 0
this.count -= 1
return true
}
clear(this Set<T>) {
this.entries.clear()
this.count = 0
}
getEmptyEntry_(this Set<T>, h uint) {
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
return e
}
b = (b + 1) & this.capacityMask
}
}
grow(this Set<T>) {
newCap := CheckedMath.mulPositiveInt(this.entries.count, 2)
prev := this.entries
this.entries = Array<SetEntry<T>>(newCap)
this.capacityMask = cast(newCap - 1, uint)
this.growThreshold = newCap / 3 * 2
for i := 0; i < prev.count {
e := ref prev[i]
if e.hash != 0 {
getEmptyEntry_(this, e.hash)^ = e^
}
}
}
}
CustomSet<T> struct #RefType {
entries $Array<SetEntry<T>>
count int
capacityMask uint
growThreshold int
hashFn fun<T, uint>
equalsFn fun<T, T, bool>
create<T>(hashFn fun<T, uint>, equalsFn fun<T, T, bool>) {
cap := 8 // Must be power of 2
return CustomSet {
entries: Array<SetEntry<T>>(cap),
count: 0,
capacityMask: cast(cap - 1, uint),
growThreshold: cap / 3 * 2,
hashFn: hashFn,
equalsFn: equalsFn,
}
}
add(this CustomSet<T>, value T) {
assert(tryAdd(this, value))
}
tryAdd(this CustomSet<T>, value T) {
if this.count > this.growThreshold {
grow(this)
}
h := this.hashFn(value)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
break
}
if e.hash == h && this.equalsFn(e.value, value) {
return false
}
b = (b + 1) & this.capacityMask
}
this.entries[b] = SetEntry { hash: h, value: value }
this.count += 1
return true
}
contains(this CustomSet<T>, value T) bool {
h := this.hashFn(value)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
return false
}
if e.hash == h && this.equalsFn(e.value, value) {
return true
}
b = (b + 1) & this.capacityMask
}
}
remove(this CustomSet<T>, value T) {
assert(tryRemove(this, value))
}
tryRemove(this CustomSet<T>, value T) {
h := this.hashFn(value)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
return false
}
if e.hash == h && this.equalsFn(e.value, value) {
break
}
b = (b + 1) & this.capacityMask
}
z := b
b = (b + 1) & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
break
}
ib := e.hash & this.capacityMask
if ((ib - (z + 1)) & this.capacityMask) >= ((b - z) & this.capacityMask) {
this.entries[z] = e^
z = b
}
b = (b + 1) & this.capacityMask
}
this.entries[z].hash = 0
this.count -= 1
return true
}
clear(this CustomSet<T>) {
this.entries.clear()
this.count = 0
}
getEmptyEntry_(this CustomSet<T>, h uint) {
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
return e
}
b = (b + 1) & this.capacityMask
}
}
grow(this CustomSet<T>) {
newCap := CheckedMath.mulPositiveInt(this.entries.count, 2)
prev := this.entries
this.entries = Array<SetEntry<T>>(newCap)
this.capacityMask = cast(newCap - 1, uint)
this.growThreshold = newCap / 3 * 2
for i := 0; i < prev.count {
e := ref prev[i]
if e.hash != 0 {
getEmptyEntry_(this, e.hash)^ = e^
}
}
}
}
MapEntry<K, V> struct {
hash uint
key K
value V
}
Map<K, V> struct #RefType {
entries $Array<MapEntry<K, V>>
count int
capacityMask uint
growThreshold int
create<K, V>() {
cap := 8 // Must be power of 2
return Map {
entries: Array<MapEntry<K, V>>(cap),
count: 0,
capacityMask: cast(cap - 1, uint),
growThreshold: cap / 3 * 2,
}
}
add(this Map<K, V>, key K, value V) {
assert(tryAdd(this, key, value))
}
tryAdd(this Map<K, V>, key K, value V) {
if this.count > this.growThreshold {
grow(this)
}
h := compute_hash(key)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
break
}
if e.hash == h && e.key == key {
return false
}
b = (b + 1) & this.capacityMask
}
this.entries[b] = MapEntry { hash: h, key: key, value: value }
this.count += 1
return true
}
addOrUpdate(this Map<K, V>, key K, value V) {
if this.count > this.growThreshold {
grow(this)
}
h := compute_hash(key)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
break
}
if e.hash == h && e.key == key {
e.value = value
return
}
b = (b + 1) & this.capacityMask
}
this.entries[b] = MapEntry { hash: h, key: key, value: value }
this.count += 1
}
update(this Map<K, V>, key K, value V) {
h := compute_hash(key)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
assert(e.hash != 0)
if e.hash == h && e.key == key {
e.value = value
return
}
b = (b + 1) & this.capacityMask
}
}
containsKey(this Map<K, V>, key K) {
h := compute_hash(key)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
return false
}
if e.hash == h && e.key == key {
return true
}
b = (b + 1) & this.capacityMask
}
}
get(this Map<K, V>, key K) {
h := compute_hash(key)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
assert(e.hash != 0)
if e.hash == h && e.key == key {
return e.value
}
b = (b + 1) & this.capacityMask
}
}
getOrDefault(this Map<K, V>, key K) {
h := compute_hash(key)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
return default_value(V)
}
if e.hash == h && e.key == key {
return e.value
}
b = (b + 1) & this.capacityMask
}
}
maybeGet(this Map<K, V>, key K) {
h := compute_hash(key)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
return Maybe<V>{}
}
if e.hash == h && e.key == key {
return Maybe.from(e.value)
}
b = (b + 1) & this.capacityMask
}
}
remove(this Map<K, V>, key K) {
assert(tryRemove(this, key))
}
tryRemove(this Map<K, V>, key K) {
h := compute_hash(key)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
return false
}
if e.hash == h && e.key == key {
break
}
b = (b + 1) & this.capacityMask
}
z := b
b = (b + 1) & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
break
}
ib := e.hash & this.capacityMask
if ((ib - (z + 1)) & this.capacityMask) >= ((b - z) & this.capacityMask) {
this.entries[z] = e^
z = b
}
b = (b + 1) & this.capacityMask
}
this.entries[z].hash = 0
this.count -= 1
return true
}
clear(this Map<K, V>) {
this.entries.clear()
this.count = 0
}
getEmptyEntry_(this Map<K, V>, h uint) {
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
return e
}
b = (b + 1) & this.capacityMask
}
}
grow(this Map<K, V>) {
newCap := CheckedMath.mulPositiveInt(this.entries.count, 2)
prev := this.entries
this.entries = Array<MapEntry<K, V>>(newCap)
this.capacityMask = cast(newCap - 1, uint)
this.growThreshold = newCap / 3 * 2
for i := 0; i < prev.count {
e := ref prev[i]
if e.hash != 0 {
getEmptyEntry_(this, e.hash)^ = e^
}
}
}
}
CustomMap<K, V> struct #RefType {
entries $Array<MapEntry<K, V>>
count int
capacityMask uint
growThreshold int
hashFn fun<K, uint>
equalsFn fun<K, K, bool>
create<K, V>(hashFn fun<K, uint>, equalsFn fun<K, K, bool>) {
cap := 8 // Must be power of 2
return CustomMap {
entries: Array<MapEntry<K, V>>(cap),
count: 0,
capacityMask: cast(cap - 1, uint),
growThreshold: cap / 3 * 2,
hashFn: hashFn,
equalsFn: equalsFn,
}
}
add(this CustomMap<K, V>, key K, value V) {
assert(tryAdd(this, key, value))
}
tryAdd(this CustomMap<K, V>, key K, value V) {
if this.count > this.growThreshold {
grow(this)
}
h := this.hashFn(key)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
break
}
if e.hash == h && this.equalsFn(e.key, key) {
return false
}
b = (b + 1) & this.capacityMask
}
this.entries[b] = MapEntry { hash: h, key: key, value: value }
this.count += 1
return true
}
addOrUpdate(this CustomMap<K, V>, key K, value V) {
if this.count > this.growThreshold {
grow(this)
}
h := this.hashFn(key)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
break
}
if e.hash == h && this.equalsFn(e.key, key) {
e.value = value
return
}
b = (b + 1) & this.capacityMask
}
this.entries[b] = MapEntry { hash: h, key: key, value: value }
this.count += 1
}
update(this CustomMap<K, V>, key K, value V) {
h := this.hashFn(key)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
assert(e.hash != 0)
if e.hash == h && this.equalsFn(e.key, key) {
e.value = value
return
}
b = (b + 1) & this.capacityMask
}
}
containsKey(this CustomMap<K, V>, key K) {
h := this.hashFn(key)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
return false
}
if e.hash == h && this.equalsFn(e.key, key) {
return true
}
b = (b + 1) & this.capacityMask
}
}
get(this CustomMap<K, V>, key K) {
h := this.hashFn(key)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
assert(e.hash != 0)
if e.hash == h && this.equalsFn(e.key, key) {
return e.value
}
b = (b + 1) & this.capacityMask
}
}
getOrDefault(this CustomMap<K, V>, key K) {
h := this.hashFn(key)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
return default_value(V)
}
if e.hash == h && this.equalsFn(e.key, key) {
return e.value
}
b = (b + 1) & this.capacityMask
}
}
maybeGet(this CustomMap<K, V>, key K) {
h := this.hashFn(key)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
return Maybe<V>{}
}
if e.hash == h && this.equalsFn(e.key, key) {
return Maybe.from(e.value)
}
b = (b + 1) & this.capacityMask
}
}
remove(this CustomMap<K, V>, key K) {
assert(tryRemove(this, key))
}
tryRemove(this CustomMap<K, V>, key K) {
h := this.hashFn(key)
if h == 0 {
h = 1
}
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
return false
}
if e.hash == h && this.equalsFn(e.key, key) {
break
}
b = (b + 1) & this.capacityMask
}
z := b
b = (b + 1) & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
break
}
ib := e.hash & this.capacityMask
if ((ib - (z + 1)) & this.capacityMask) >= ((b - z) & this.capacityMask) {
this.entries[z] = e^
z = b
}
b = (b + 1) & this.capacityMask
}
this.entries[z].hash = 0
this.count -= 1
return true
}
clear(this CustomMap<K, V>) {
this.entries.clear()
this.count = 0
}
getEmptyEntry_(this CustomMap<K, V>, h uint) {
b := h & this.capacityMask
while true {
e := ref this.entries[b]
if e.hash == 0 {
return e
}
b = (b + 1) & this.capacityMask
}
}
grow(this CustomMap<K, V>) {
newCap := CheckedMath.mulPositiveInt(this.entries.count, 2)
prev := this.entries
this.entries = Array<MapEntry<K, V>>(newCap)
this.capacityMask = cast(newCap - 1, uint)
this.growThreshold = newCap / 3 * 2
for i := 0; i < prev.count {
e := ref prev[i]
if e.hash != 0 {
getEmptyEntry_(this, e.hash)^ = e^
}
}
}
}
| mupad | 5 | jturner/muon | lib/containers.mu | [
"MIT"
] |
2016-03-07 17:43:27 Ben^_^ Oh denis you can't steam me on weekends, too many DOS games!
2016-03-07 17:43:45 Ben^_^ I can't put steam on my 120mhz Pentium! D:
2016-03-07 17:46:49 fsociety hahaha..... NOT ENOUGH DOS AND HIMEM.SYS
2016-03-07 17:47:32 Ben^_^ Haha oh man I had to throw some more stuff from my AUTOEXEC.BAT into the upper memory block the other day
2016-03-07 17:47:39 Ben^_^ NEED MORE CONVENTIONAL MEMORY FOR GAMES
2016-03-07 17:47:46 Ben^_^ WHO NEEDS MOUSE DRIVERS!?
2016-03-07 18:12:43 Ben^_^ Haha
2016-03-07 18:12:50 Ben^_^ Did you ever see 8088mph?
2016-03-07 18:12:55 Ben^_^ You should fucking watch that man
2016-03-07 18:13:11 Ben^_^ https://www.youtube.com/watch?v=yHXx3orN35Y
2016-03-07 18:13:34 Ben^_^ Oh wait final version here sorry https://www.youtube.com/watch?v=hNRO7lno_DM&feature=iv&src_vid=yHXx3orN35Y&annotation_id=annotation_1901077497
2016-03-07 18:14:33 Ben^_^ Haha not yet I have so much music to catch up on :(
2016-03-07 18:16:25 Ben^_^ Haha
2016-03-07 18:16:32 Ben^_^ Already I want to see the sheet music for it
2016-03-07 18:18:10 Ben^_^ Haha man
2016-03-07 18:18:11 Ben^_^ His voice is so identifiable
2016-03-07 18:18:32 Ben^_^ Almost feels like Cilice got a whole new band rather than textures getting a new singer haha
2016-03-07 18:19:12 Ben^_^ Yeah it is haha
2016-03-07 18:19:30 Ben^_^ trixter actually contacted me about doing some graphic work for his wife's book a while ago
2016-03-07 18:19:37 Ben^_^ And I was like are you kidding you're my hero haha
2016-03-07 18:22:03 Ben^_^ He actually writes it on his site
2016-03-07 18:22:13 Ben^_^ It's pretty intense reading
2016-03-07 18:23:29 Ben^_^ http://www.reenigne.org/blog/1k-colours-on-cga-how-its-done/
2016-03-07 18:23:41 Ben^_^ http://8088mph.blogspot.com.au/2015/04/cga-in-1024-colors-new-mode-illustrated.html
2016-03-07 18:24:17 Ben^_^ https://scalibq.wordpress.com/2015/04/19/8088-mph-sprites-where-were-going-we-dont-need-sprites/
2016-03-07 18:24:20 Ben^_^ (there's a lot haha)
2016-03-07 18:24:42 Ben^_^ https://scalibq.wordpress.com/2015/04/23/8088-mph-the-polygons/
2016-03-07 18:25:14 Ben^_^ This page has a link to a bunch of other stuff too: http://trixter.oldskool.org/2015/04/07/8088-mph-we-break-all-your-emulators/
2016-03-07 18:25:56 Ben^_^ Yeah, it's basically the best demo you can imagine when you consider the fucking hardware they're using
2016-03-07 18:26:51 Ben^_^ There's no way I thought those things could do any of the stuff in that demo
2016-03-07 18:27:38 Ben^_^ I mean I thought CGA was hackable to... 16 colours haha
2016-03-07 18:28:20 Ben^_^ yep, and hacking that
2016-03-07 18:28:41 Ben^_^ That's exactly right.
2016-03-07 18:30:18 Ben^_^ Haha I think it's actually sound recording of him?
2016-03-07 18:30:26 Ben^_^ I drew a cat but it doesn't look like cupcake!
2016-03-07 18:30:34 Ben^_^ I don't even know my own game haha
2016-03-07 18:31:43 Ben^_^ Also dude what's your aspect ratio?
2016-03-07 18:33:10 Ben^_^ Oh what the hell Dean
2016-03-07 18:33:13 Ben^_^ That's not even sensible haha
2016-03-07 18:33:24 Ben^_^ HOW MUCH PILLARBOXING DO YOU DO
2016-03-07 18:33:46 Ben^_^ Haha of course
2016-03-07 18:34:13 Ben^_^ lollll haha
2016-03-07 18:34:51 Ben^_^ nope
2016-03-07 18:34:59 Ben^_^ Ain't gonna happen for a while, I don't think
2016-03-07 18:35:37 Ben^_^ afaik the last Unity upgrade broke a ton of shit
2016-03-07 18:35:53 Ben^_^ I know Ragnar was saying how hard a time they had fixing Dreamfall Chapters after the upgrade
2016-03-07 18:36:00 Ben^_^ So that kinda scared Dave off a bit
2016-03-07 18:37:01 Ben^_^ Haha
2016-03-07 18:37:05 Ben^_^ But also
2016-03-07 18:37:15 Ben^_^ Dave and Grundi aren't super coders, they're writers and designers
2016-03-07 18:37:24 Ben^_^ AGS is 100% designed to support writers and designers more than coders
2016-03-07 18:37:36 Ben^_^ So they're in a comfortable workspace which doesn't require you to learn coding
2016-03-07 18:37:50 Ben^_^ Yeah, but you have to make it work with 2D :)
2016-03-07 18:38:01 Ben^_^ In the same neat way AGS does
2016-03-07 18:38:21 Ben^_^ And also allow for having an overlay where a coder has built in "look" and "turn" and stuff functions
2016-03-07 18:38:38 Ben^_^ Because what they really want is directorial tools, not a coding language.
2016-03-07 18:38:55 Ben^_^ Dave had trouble getting characters to turn around in Unity haha
2016-03-07 18:39:27 Ben^_^ Yeah
2016-03-07 18:39:39 Ben^_^ Honestly I really doubt they'll change any time soon UNTIL someone does all the heavy lifting for them.
2016-03-07 18:39:41 Ben^_^ Dude
2016-03-07 18:39:48 Ben^_^ I had to code the commentary buttons in Shardlight
2016-03-07 18:39:57 Ben^_^ Because Francisco couldn't get mouseover highlights to work
2016-03-07 18:40:18 Ben^_^ That's the level of coder I'm talking about man
2016-03-07 18:40:21 Ben^_^ You don't really understand haha
2016-03-07 18:40:28 Ben^_^ He is really not a coder at all
2016-03-07 18:40:35 Ben^_^ Not a problem solving one
2016-03-07 18:40:48 Ben^_^ Exactly.
2016-03-07 18:40:59 Ben^_^ That stuff in the Shardlight demo with drawing with chalk and stuff?
2016-03-07 18:41:02 Ben^_^ I coded and designed that
2016-03-07 18:41:14 Ben^_^ No way could he code that if you gave him a week to do it
2016-03-07 18:41:20 Ben^_^ Yeah
2016-03-07 18:41:31 Ben^_^ His code for walking pedestrians around is over 1000 lines
2016-03-07 18:41:35 Ben^_^ Because it's spaghetti shit
2016-03-07 18:43:34 Ben^_^ I wonder how Janet would deal with that
2016-03-07 18:43:40 Ben^_^ She's the real person you'd have to get it past
2016-03-07 18:43:52 Ben^_^ She's the one that actually understands that stuff, yeah
2016-03-07 18:43:56 Ben^_^ Grundi doesn't know what an array is
2016-03-07 18:44:04 Ben^_^ I tried explaining to him once and it just bounced off
2016-03-07 18:44:07 Ben^_^ I'm serious dude haha
2016-03-07 18:44:17 Ben^_^ He's a designer and writer
2016-03-07 18:44:20 Ben^_^ He ain't a coder
2016-03-07 18:44:33 Ben^_^ Just not the extent haha
2016-03-07 18:44:43 Ben^_^ Right
2016-03-07 18:44:44 Ben^_^ Doesn't use pointers
2016-03-07 18:44:49 Ben^_^ Doesn't use enumerated types
2016-03-07 18:44:52 Ben^_^ No structs
2016-03-07 18:45:02 Ben^_^ It's literally just setting variables.
2016-03-07 18:45:19 Ben^_^ Haha I fucking hated Global Messages and all that awful shit
2016-03-07 18:45:37 Ben^_^ Setting variable 32 YEAH GREAT THAT'S HELPFUL
2016-03-07 18:46:06 Ben^_^ Well, that could be good thing or bad
2016-03-07 18:46:39 Ben^_^ oof
2016-03-07 18:47:09 Ben^_^ Sounds like it, yeah.
2016-03-07 18:47:24 Ben^_^ I have trouble working under those limitations man haha
2016-03-07 18:47:37 Ben^_^ Latest game I'm working on is at 640x360 res anyway
2016-03-07 18:48:11 Ben^_^ One day I wanna work with an engine with shaders so I can do better versions of this http://i.imgur.com/jTqzLKl.gifv
2016-03-07 18:50:12 Ben^_^ Honestly
2016-03-07 18:50:16 Ben^_^ I think the best solution would be
2016-03-07 18:50:26 Ben^_^ Write a whole new engine that's compatible with the editor
2016-03-07 18:50:35 Ben^_^ But obviously that's a LOT of work
2016-03-07 18:50:46 Ben^_^ There's just too much legacy shit weighing it down
2016-03-07 18:53:07 Ben^_^ Doesn't surprise me tbh
2016-03-07 18:53:41 Ben^_^ Well
2016-03-07 18:53:45 Ben^_^ I mean
2016-03-07 18:54:09 Ben^_^ Unreal engine was designed by people who make engines for games and have been doing so for ages.
2016-03-07 18:54:18 Ben^_^ Unity is a new kid on the block
2016-03-07 18:54:34 Ben^_^ That was originally designed with browser integration as the big feature :P
2016-03-07 18:54:41 Ben^_^ No wonder it has problems
2016-03-07 18:55:04 Ben^_^ Yeah, I remember playing stuff made in it and thinking it was fucking horrible
2016-03-07 18:55:12 Ben^_^ And stopped paying attention for years until I played uh
2016-03-07 18:55:18 Ben^_^ Rochard
2016-03-07 18:55:23 Ben^_^ Oh man
2016-03-07 18:55:28 Ben^_^ Fucking Visionaire haha
2016-03-07 18:55:36 Ben^_^ I played through Paradigm on the weekend
2016-03-07 18:55:43 Ben^_^ Great game, looking forward to seeing it finished
2016-03-07 18:55:58 Ben^_^ There's a couple of black metal gags in there that cracked me the fuck up haha
2016-03-07 18:56:02 Ben^_^ But ugh, so many bugs.
2016-03-07 18:56:18 Ben^_^ And I was talking to Jacob at a backyard dev gathering in Perth and he was tlaking about stuff
2016-03-07 18:56:21 Ben^_^ And he's worse man
2016-03-07 18:56:42 Ben^_^ He didn't know what I meant by "integer variable" when I was trying to explain arrays to him
2016-03-07 18:56:53 Ben^_^ These engines are designed for people who have NEVER coded
2016-03-07 18:56:54 Ben^_^ Seriously
2016-03-07 18:57:05 Ben^_^ And people write 20 lines of code and feel really proud of it
2016-03-07 18:57:27 Ben^_^ Not realizing how extremely high level the language they're using is, and how much work is done for them.
2016-03-07 18:57:34 Ben^_^ The worst thing is there ARE good coders
2016-03-07 18:57:37 Ben^_^ But
2016-03-07 18:57:40 Ben^_^ 1. They're all weird
2016-03-07 18:57:44 Ben^_^ 2. They're all unreliable
2016-03-07 18:57:51 Ben^_^ 3. They never fucking finish what they start
2016-03-07 18:58:25 Ben^_^ I'm better off working with cunts who don't even know what a fucking array is just because at least the projects get fucking finished.
2016-03-07 18:58:52 Ben^_^ Yeah
2016-03-07 18:58:55 Ben^_^ I mean so are artists.
2016-03-07 18:59:04 Ben^_^ Haha
2016-03-07 18:59:11 Ben^_^ And like
2016-03-07 18:59:19 Ben^_^ I can code decent in AGS
2016-03-07 18:59:26 Ben^_^ Not amazing or anything, but I can fake my way through shit
2016-03-07 18:59:53 Ben^_^ But I am full time drawing, trying to produce art an animation to the same scale as what Sierra needed whole teams for
2016-03-07 19:00:09 Ben^_^ So to get shit done I can't spend much time coding
2016-03-07 19:00:17 Ben^_^ It has, yeah
2016-03-07 19:00:24 Ben^_^ I cheat my way through a lot
2016-03-07 19:00:39 Ben^_^ But it's still a very big workload, too big to allow much time to experiment with code and stuff haha
2016-03-07 19:01:55 Ben^_^ Yeah
2016-03-07 19:02:04 Ben^_^ It's crazy how much fucking work nobody did back then :P
2016-03-07 19:02:21 Ben^_^ Rotoscoped bullshit
2016-03-07 19:03:52 Ben^_^ Haha
2016-03-07 19:04:01 Ben^_^ I do like SCI games for what they are, yeah
2016-03-07 19:04:07 Ben^_^ But I mean
2016-03-07 19:04:16 Ben^_^ Aren't you sick of open world survival crafting sims too?
2016-03-07 19:04:19 Ben^_^ I mean bleh
2016-03-07 19:04:38 Ben^_^ Haha
2016-03-07 19:04:41 Ben^_^ Well that's the thing
2016-03-07 19:04:53 Ben^_^ It's easy to learn, does most of the work for you, and it's gotten popular
2016-03-07 19:04:58 Ben^_^ You're gonna see lots more of it
2016-03-07 19:05:21 Ben^_^ Yeah dunno man
2016-03-07 19:06:50 Ben^_^ Yeah
2016-03-07 19:06:57 Ben^_^ Our porting process is a nightmare haha
2016-03-07 19:07:25 Ben^_^ Haha yeah
2016-03-07 19:09:04 Ben^_^ Haha
2016-03-07 19:09:14 Ben^_^ The other thing to remember about engine etc
2016-03-07 19:09:32 Ben^_^ Is that there's not super amounts of time for experimenting when you're already trying to get a game finished
2016-03-07 19:09:36 Ben^_^ And when it's your only source of income haha
2016-03-07 19:09:46 Ben^_^ Like when I had a day job I used to fuck around with stuff alllll the time
2016-03-07 19:09:51 Ben^_^ Making new experiments and things
2016-03-07 19:10:02 Ben^_^ Now I'm like "Gotta work through this spreadsheet of assets" heh
2016-03-07 19:10:26 Ben^_^ Nice
2016-03-07 19:11:59 Ben^_^ It is now, yeah.
2016-03-07 19:12:05 Ben^_^ The update broke it pretty convincingly.
2016-03-07 19:12:18 Ben^_^ I was actually working with James on an experimental 3D game
2016-03-07 19:12:26 Ben^_^ Was going well until unity update
2016-03-07 19:12:54 Ben^_^ I think James is the guy who will push WEG forward if he stick around
2016-03-07 19:13:05 Ben^_^ I actually don't know, haven't investigated
2016-03-07 19:13:17 Ben^_^ James hasn't been around much lately.
2016-03-07 19:13:51 Ben^_^ Haha
2016-03-07 19:15:08 Ben^_^ Hehe nice, although I'm probably gonna be in NYC around May/June
2016-03-07 19:15:28 Ben^_^ Haha
2016-03-07 19:16:31 Ben^_^ Haha there's prog references I hope you get
2016-03-07 19:16:46 Ben^_^ Okay haha
2016-03-07 19:16:50 - irc: disconnected from server
2016-03-08 14:29:29 fsociety Beeeeennnnn....
2016-03-08 14:29:35 fsociety install those DOS TTF fonts
2016-03-08 14:29:36 fsociety :)
2016-03-08 14:29:57 Ben^_^ Haha Deanis
2016-03-08 14:30:08 Ben^_^ I am currently working through some design stuff with Francisco
2016-03-08 14:30:55 fsociety DON'T CARE
2016-03-08 14:30:56 fsociety DOS FONTS
2016-03-08 14:31:02 fsociety lol
2016-03-08 14:31:07 Ben^_^ Haha
| IRC log | 0 | 0x4b1dN/2016-dots | misc/weechat/logs/irc.bitlbee.ben^_^.weechatlog | [
"MIT"
] |
--TEST--
bcpow() function
--EXTENSIONS--
bcmath
--INI--
bcmath.scale=0
--FILE--
<?php
echo bcpow("1", "2"),"\n";
echo bcpow("-2", "5", 4),"\n";
echo bcpow("2", "64"),"\n";
echo bcpow("-2.555", "5", 2),"\n";
?>
--EXPECT--
1
-32.0000
18446744073709551616
-108.88
| PHP | 4 | NathanFreeman/php-src | ext/bcmath/tests/bcpow.phpt | [
"PHP-3.01"
] |
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include <math.h>
#include "time64.h"
#define myPUSHi(int) PUSHs(sv_2mortal(newSViv(int)));
#define myPUSHn(num) PUSHs(sv_2mortal(newSVnv(num)));
#define myPUSHs(str) PUSHs(sv_2mortal(str));
static const char * const dayname[] =
{"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
static const char * const monname[] =
{"Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"};
int about_eq(double left, double right, double epsilon) {
double diff;
if( left == right ) {
return 1;
}
diff = fabs(left - right);
if( diff < epsilon ) {
return 1;
}
else {
return 0;
}
}
MODULE = Time::y2038 PACKAGE = Time::y2038
PROTOTYPES: ENABLE
void
gmtime(...)
PROTOTYPE: ;$
INIT:
Time64_T when;
struct TM *err;
struct TM date;
PPCODE:
if( GIMME_V == G_VOID ) {
warn("Useless use of gmtime() in void context");
XSRETURN_EMPTY;
}
if( items == 0 ) {
time_t small_when;
time(&small_when);
when = (Time64_T)small_when;
}
else {
double when_float = SvNV(ST(0));
when = (Time64_T)when_float;
/* Check for Time64_T overflow */
if( !about_eq((double)when, when_float, 1024.0) ) {
warn("gmtime(%.0f) can not be represented", when_float);
XSRETURN_EMPTY;
}
}
err = gmtime64_r(&when, &date);
if( err == NULL )
{
warn("gmtime(%.0f) can not be represented", (double)when);
XSRETURN_EMPTY;
}
if( GIMME_V == G_ARRAY ) {
EXTEND(SP, 9);
myPUSHi(date.tm_sec);
myPUSHi(date.tm_min);
myPUSHi(date.tm_hour);
myPUSHi(date.tm_mday);
myPUSHi(date.tm_mon);
myPUSHn((double)date.tm_year);
myPUSHi(date.tm_wday);
myPUSHi(date.tm_yday);
myPUSHi(date.tm_isdst);
}
else {
SV *tsv;
/* XXX newSVpvf()'s %lld type is broken, so cheat with a double */
double year = (double)date.tm_year + 1900;
EXTEND(SP, 1);
EXTEND_MORTAL(1);
tsv = newSVpvf("%s %s %2d %02d:%02d:%02d %.0f",
dayname[date.tm_wday],
monname[date.tm_mon],
date.tm_mday,
date.tm_hour,
date.tm_min,
date.tm_sec,
year);
myPUSHs(tsv);
}
void
localtime(...)
PROTOTYPE: ;$
INIT:
Time64_T when;
struct TM *err;
struct TM date;
PPCODE:
if( GIMME_V == G_VOID ) {
warn("Useless use of localtime() in void context");
XSRETURN_EMPTY;
}
if( items == 0 ) {
time_t small_when;
time(&small_when);
when = (Time64_T)small_when;
}
else {
double when_float = SvNV(ST(0));
when = (Time64_T)when_float;
/* Check for Time64_T overflow */
if( !about_eq((double)when, when_float, 1024.0) ) {
warn("localtime(%.0f) can not be represented", when_float);
XSRETURN_EMPTY;
}
}
tzset();
err = localtime64_r(&when, &date);
if( err == NULL )
{
warn("localtime(%.0f) can not be represented", (double)when);
XSRETURN_EMPTY;
}
if( GIMME_V == G_ARRAY ) {
EXTEND(SP, 9);
myPUSHi(date.tm_sec);
myPUSHi(date.tm_min);
myPUSHi(date.tm_hour);
myPUSHi(date.tm_mday);
myPUSHi(date.tm_mon);
myPUSHn((double)date.tm_year);
myPUSHi(date.tm_wday);
myPUSHi(date.tm_yday);
myPUSHi(date.tm_isdst);
}
else {
SV *tsv;
/* XXX newSVpvf()'s %lld type is broken, so cheat with a double */
double year = (double)date.tm_year + 1900;
EXTEND(SP, 1);
EXTEND_MORTAL(1);
tsv = newSVpvf("%s %s %2d %02d:%02d:%02d %.0f",
dayname[date.tm_wday],
monname[date.tm_mon],
date.tm_mday,
date.tm_hour,
date.tm_min,
date.tm_sec,
year);
myPUSHs(tsv);
}
double
timegm(...)
INIT:
struct TM date;
Time64_T when;
CODE:
if( items < 6 )
croak("Usage: timegm($sec, $min, $hour, $mday, $month, $year)");
date.tm_sec = SvIV(ST(0));
date.tm_min = SvIV(ST(1));
date.tm_hour = SvIV(ST(2));
date.tm_mday = SvIV(ST(3));
date.tm_mon = SvIV(ST(4));
date.tm_year = (Year)SvNV(ST(5));
when = timegm64(&date);
RETVAL = (double)when;
OUTPUT:
RETVAL
double
timelocal(...)
INIT:
struct TM date;
Time64_T when;
CODE:
if( items < 6 )
croak("Usage: timelocal($sec, $min, $hour, $mday, $month, $year)");
date.tm_sec = SvIV(ST(0));
date.tm_min = SvIV(ST(1));
date.tm_hour = SvIV(ST(2));
date.tm_mday = SvIV(ST(3));
date.tm_mon = SvIV(ST(4));
date.tm_year = (Year)SvNV(ST(5));
date.tm_isdst = items >= 9 ? SvIV(ST(8)) : -1;
when = mktime64(&date);
RETVAL = (double)when;
OUTPUT:
RETVAL
| XS | 4 | userx14/y2038 | perl/Time-y2038/lib/Time/y2038.xs | [
"MIT"
] |
#!/usr/bin/osascript
# Dependency: Requires SideNotes (https://apptorium.com/sidenotes)
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title SideNotes create
# @raycast.mode silent
# @raycast.packageName SideNotes
# Optional parameters:
# @raycast.packageName SideNotes
# @raycast.icon images/sidenotes.png
# @raycast.argument1 { "type": "text", "placeholder": "Note", "optional": true }
# @raycast.argument2 { "type": "text", "placeholder": "Folder", "optional": true }
# Documentation:
# @raycast.description Create a new note within the selected or the first SideNotes folder.
# @raycast.author Marcel Bochtler
# @raycast.authorURL https://github.com/MarcelBochtler
on run argv
if application "SideNotes" is not running then
log "SideNotes is not running"
return
end if
tell application "SideNotes"
set note_content to item 1 of argv
set folder_name to item 2 of argv
# Create a folder if none exist
if (count of folders) is 0 then
if folder_name is "" then
make new folder with properties {name:note_content}
else
make new folder with properties {name:folder_name}
end if
end if
set folder_index to my index_of_folder(folder_name, folders)
if folder_index is -1 then
# Folder not found. Create one if the name is given.
# Otherwise create the note in the current or the first folder.
if folder_name is not "" then
set target_folder to make new folder with properties {name:folder_name}
else
if current folder is missing value then
set target_folder to first folder
else
set target_folder to current folder
end if
end if
else
set target_folder to item folder_index of folders
end if
set created_note to make new note in target_folder at 1 with properties {text:note_content}
open folder target_folder note created_note
log "Note created in folder " & (name of target_folder)
end tell
end run
on index_of_folder(folder_name, folder_list)
repeat with i from 1 to the count of folder_list
if name of item i of folder_list is folder_name then return i
end repeat
return -1
end index_of_folder
| AppleScript | 5 | daviddzhou/script-commands | commands/apps/sidenotes/sidenotes-create-note.applescript | [
"MIT"
] |
package com.baeldung.multipledb;
import java.util.HashMap;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.jdbc.DataSourceBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.springframework.context.annotation.Profile;
import org.springframework.context.annotation.PropertySource;
import org.springframework.core.env.Environment;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.orm.jpa.JpaTransactionManager;
import org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean;
import org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter;
import org.springframework.transaction.PlatformTransactionManager;
/**
* By default, the persistence-multiple-db.properties file is read for
* non auto configuration in PersistenceUserConfiguration.
* <p>
* If we need to use persistence-multiple-db-boot.properties and auto configuration
* then uncomment the below @Configuration class and comment out PersistenceUserConfiguration.
*/
//@Configuration
@PropertySource({"classpath:persistence-multiple-db-boot.properties"})
@EnableJpaRepositories(basePackages = "com.baeldung.multipledb.dao.user", entityManagerFactoryRef = "userEntityManager", transactionManagerRef = "userTransactionManager")
@Profile("!tc")
public class PersistenceUserAutoConfiguration {
@Autowired
private Environment env;
public PersistenceUserAutoConfiguration() {
super();
}
//
@Primary
@Bean
public LocalContainerEntityManagerFactoryBean userEntityManager() {
final LocalContainerEntityManagerFactoryBean em = new LocalContainerEntityManagerFactoryBean();
em.setDataSource(userDataSource());
em.setPackagesToScan("com.baeldung.multipledb.model.user");
final HibernateJpaVendorAdapter vendorAdapter = new HibernateJpaVendorAdapter();
em.setJpaVendorAdapter(vendorAdapter);
final HashMap<String, Object> properties = new HashMap<String, Object>();
properties.put("hibernate.hbm2ddl.auto", env.getProperty("hibernate.hbm2ddl.auto"));
properties.put("hibernate.dialect", env.getProperty("hibernate.dialect"));
em.setJpaPropertyMap(properties);
return em;
}
@Bean
@Primary
@ConfigurationProperties(prefix="spring.datasource")
public DataSource userDataSource() {
return DataSourceBuilder.create().build();
}
@Primary
@Bean
public PlatformTransactionManager userTransactionManager() {
final JpaTransactionManager transactionManager = new JpaTransactionManager();
transactionManager.setEntityManagerFactory(userEntityManager().getObject());
return transactionManager;
}
}
| Java | 4 | flyingcanopy/tutorials | persistence-modules/spring-data-jpa/src/main/java/com/baeldung/multipledb/PersistenceUserAutoConfiguration.java | [
"MIT"
] |
var $g_i8_u <i8>
var $g_i8 <i8> = 8
var $g_u8_u <u8>
var $g_u8 <u8> = 8
var $g_i16_u <i16>
var $g_i16 <i16> = 16
var $g_u16_u <u16>
var $g_u16 <u16> = 16
var $g_i32_u <i32>
var $g_i32 <i32> = 32
var $g_u32_u <u32>
var $g_u32 <u32> = 32
var $g_i64_u <i64>
var $g_i64 <i64> = 0x123456789a
var $g_u64_u <u64>
var $g_u64 <u64> = 0x123456789a
var $g_f32_u <f32>
var $g_f32 <f32> = 1.2f
var $g_f64_u <f64>
var $g_f64 <f64> = 2.4
# i8/u8
func $add_i8_u () i8 {
return (
add i32(dread i32 $g_i8_u, constval i32 0))}
func $add_i8 () i8 {
return (
add i32(dread i32 $g_i8, constval i32 0))}
func $add_u8_u () u8 {
return (
add u32(dread u32 $g_u8_u, constval u32 0))}
func $add_u8 () u8 {
return (
add u32(dread u32 $g_u8, constval u32 0))}
# i16/u16
func $add_i16_u () i16 {
return (
add i32(dread i32 $g_i16_u, constval i32 0))}
func $add_i16 () i16 {
return (
add i32(dread i32 $g_i16, constval i32 0))}
func $add_u16_u () u16 {
return (
add u32(dread u32 $g_u16_u, constval u32 0))}
func $add_u16 () u16 {
return (
add u32(dread u32 $g_u16, constval u32 0))}
# i32/u32
func $add_i32_u () i32 {
return (
add i32(dread i32 $g_i32_u, constval i32 0))}
func $add_i32 () i32 {
return (
add i32(dread i32 $g_i32, constval i32 0))}
func $add_u32_u () u32 {
return (
add u32(dread u32 $g_u32_u, constval u32 0))}
func $add_u32 () u32 {
return (
add u32(dread u32 $g_u32, constval u32 0))}
# i64/u64
func $add_i64_u () i64 {
return (
add i64(dread i64 $g_i64_u, constval i64 0))}
func $add_i64 () i64 {
return (
add i64(dread i64 $g_i64, constval i64 0))}
func $add_u64_u () u64 {
return (
add u64(dread u64 $g_u64_u, constval u64 0))}
func $add_u64 () u64 {
return (
add u64(dread u64 $g_u64, constval u64 0))}
# # f32
# func $add_f32_u () f32 {
# return (
# add f32(dread f32 $g_f32_u, constval f32 0.0f))}
# func $add_f32 () f32 {
# return (
# add f32(dread f32 $g_f32, constval f32 0.0f))}
# # f64
# func $add_f64_u () f64 {
# return (
# add f64(dread f64 $g_f64_u, constval f64 0))}
# func $add_f64 () f64 {
# return (
# add f64(dread f64 $g_f64, constval f64 0))}
# EXEC: %irbuild Main.mpl
# EXEC: %irbuild Main.irb.mpl
# EXEC: %cmp Main.irb.mpl Main.irb.irb.mpl
| Maple | 3 | harmonyos-mirror/OpenArkCompiler-test | test/testsuite/irbuild_test/I0038-mapleall-irbuild-edge-global/Main.mpl | [
"MulanPSL-1.0"
] |
extern int f(int x);
| Harbour | 0 | ueki5/cbc | test/src1.hb | [
"Unlicense"
] |
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 100;
src: url(./web-font/KFOkCnqEu92Fr1MmgVxGIzQ.woff) format('woff');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 300;
src: url(./web-font/KFOlCnqEu92Fr1MmSU5fChc-.woff) format('woff');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: url(./web-font/KFOmCnqEu92Fr1Mu7GxM.woff) format('woff');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: url(./web-font/KFOlCnqEu92Fr1MmEU9fChc-.woff) format('woff');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
src: url(./web-font/KFOlCnqEu92Fr1MmWUlfChc-.woff) format('woff');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 900;
src: url(./web-font/KFOlCnqEu92Fr1MmYUtfChc-.woff) format('woff');
}
| CSS | 3 | ygyg70/quasar | extras/roboto-font-latin-ext/roboto-font-latin-ext.css | [
"MIT"
] |
#!/bin/bash
# Copyright 2017 gRPC authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if [ "x$1" = "x" ] ; then
echo "Usage: $0 <first ref> [second ref]"
exit 1
else
first=$1
fi
if [ -n $2 ] ; then
second=HEAD
fi
if [ -e ~/github-credentials.vars ] ; then
. ~/github-credentials.vars
fi
if [ "x$github_client_id" = "x" ] || [ "x$github_client_secret" = "x" ] ; then
echo "Warning: you don't have github credentials set."
echo
echo "You may end up exceeding guest quota quickly."
echo "You can create an application for yourself,"
echo "and get its credentials. Go to"
echo
echo " https://github.com/settings/developers"
echo
echo "and click 'Register a new application'."
echo
echo "From the application's information, copy/paste"
echo "its Client ID and Client Secret, into the file"
echo
echo " ~/github-credentials.vars"
echo
echo "with the following format:"
echo
echo "github_client_id=0123456789abcdef0123"
echo "github_client_secret=0123456789abcdef0123456789abcdef"
echo
echo
addendum=""
else
addendum="?client_id=$github_client_id&client_secret=$github_client_secret"
fi
unset notfirst
echo "["
git log --pretty=oneline $1..$2 |
grep '[^ ]\+ Merge pull request #[0-9]\{4,6\} ' |
cut -f 2 -d# |
cut -f 1 -d\ |
sort -u |
while read id ; do
if [ "x$notfirst" = "x" ] ; then
notfirst=true
else
echo ","
fi
echo -n " {\"url\": \"https://github.com/grpc/grpc/pull/$id\","
out=`mktemp`
curl -s "https://api.github.com/repos/grpc/grpc/pulls/$id$addendum" > $out
echo -n " "`grep '"title"' $out`
echo -n " "`grep '"login"' $out | head -1`
echo -n " \"pr\": $id }"
rm $out
done
echo
echo "]"
| Shell | 4 | samotarnik/grpc | tools/distrib/pull_requests_interval.sh | [
"Apache-2.0"
] |
{{#hasAuthMethods}}
{{>libraries/ktor/_principal}}
if (principal == null) {
call.respond(HttpStatusCode.Unauthorized)
} else {
{{#examples}}
{{#-first}}
{{#lambda.indented}}{{>_response}}{{/lambda.indented}}
{{/-first}}
{{/examples}}
{{^examples}}
call.respond(HttpStatusCode.NotImplemented)
{{/examples}}
}
{{/hasAuthMethods}}
{{^hasAuthMethods}}
{{#examples}}
{{#-first}}
{{>libraries/ktor/_response}}
{{/-first}}
{{/examples}}
{{^examples}}
call.respond(HttpStatusCode.NotImplemented)
{{/examples}}
{{/hasAuthMethods}} | HTML+Django | 3 | MalcolmScoffable/openapi-generator | modules/openapi-generator/src/main/resources/kotlin-server/libraries/ktor/_api_body.mustache | [
"Apache-2.0"
] |
<p class="lowercase">on cryptee, you can download <i>all your data, your documents, files and photos – everything –</i> directly inside our applications Cryptee Photos and Cryptee Docs. Everything you've uploaded, including these files' metadata can be accessed and downloaded in bulk directly inside Cryptee Docs & Cryptee Photos.</p><br>
<p class="lowercase">In Cryptee Photos, you can easily select your photos in an album by pressing "select all", then press download. Similarly with Cryptee Docs, you can easily select all the contents of a folder by first selecting a single file by pressing on its icon, then by pressing cmd+a (or ctrl + a) to select everything in the folder, and finally pressing download from the selections dropdown.</p><br>
<p class="lowercase">you can download all other metadata associated to your account in <i>my data</i> > <i>other metadata</i> section.</p><br>
<p> </p>
<details class="lowercase">
<summary class="bold">can i download all my data in a zip file or grouped in folders?</summary>
<p class="lowercase">because your documents, files and photos are encrypted on your device with your encryption key, and we don't have access to your key to decrypt them; it is mathematically impossible for our servers to package them in a nice and tidy way for you to download in a single, clean zip file like unencrypted services/apps can do.</p><br>
<p class="lowercase">while it is technically possible to zip all your encrypted files & photos as-is in an encrypted format, the resulting download would only contain encrypted files, with random ID numbers as names like <i>d-04df8daa27601df6ealkhssda-v3.crypteefile</i>, which is all that our servers know about your and your data.</p><br>
<p class="lowercase">in addition, since all your documents, files and photos need to be decrypted on your device, if you have lots of files or photos on Cryptee, i.e. 1000gb (1TB) of photos, you'd need to first download all 1000gb (1TB) of photos, a storage amount which most consumer laptops / desktops / mobile devices cannot accommodate, and later decrypt it all, resulting in 2 x 1TB storage occupied on your device.</p><br>
<p class="lowercase">due to this, even if we were to offer an automated in-browser download & decryption exporter system in the browser, unfortunately, mathematically it still wouldn't work for most of our users who are on the 400GB or 2000GB plans.</p><br>
<p class="lowercase">for this exact reason, we've built both Cryptee Docs and Cryptee Photos in a way that allows you to conveniently export your files / photos in bulk, with a data structure that you prefer, using just a few clicks.</p><br>
<p class="lowercase">In Cryptee Photos, you can easily select your photos in an album by pressing "select all", then press download. Similarly with Cryptee Docs, you can easily select all the contents of a folder by first selecting a single file by pressing on its icon, then by pressing cmd+a (or ctrl + a) to select everything in the folder, and finally pressing download from the selections dropdown.</p><br>
</details>
<p> </p>
<details class="lowercase">
<summary class="bold">how long would it take to export all my data?</summary>
<p>
it depends. since downloading your data requires not <i>just downloading</i>, but also <i>decrypting</i> your data on your device with your encryption key, the time it would take to export your data depends heavily on your network connection speed, and the amount of available memory & processing power you have on your device. due to this, we recommend using the most powerful device you have available, with a fast internet connection for bulk downloads.
</p>
</details>
<p> </p>
<details class="lowercase">
<summary class="bold">is there a way to export ghost folders/albums?</summary>
<p>
because cryptee is unable to determine whether if you have any ghost folders or not, the only way to export them is to first summon (bring back) your ghost folders / albums.
</p>
</details>
<p> </p>
<details class="lowercase">
<summary class="bold">can i still export my data if i forgot my encryption key?</summary>
<p>
due to the fact that your documents, files and photos are encrypted on your device with your encryption key, and we don't have access to your key to decrypt them, it is not possible to download your data if you forgot your encryption key.
</p>
</details>
<p> </p>
<details class="lowercase">
<summary class="bold">here are a few tips before you start exporting your data</summary>
<p>• first, make sure your computer has enough free space for your downloads</p><br>
<p>• secondly, your browser may prompt you to allow downloading multiple files from Cryptee, click yes, and that way cryptee can download your files faster.</p><br>
<p>• we recommend using Chrome, Edge (Latest), Opera, Brave or a similar Chromium-based browser on your desktop for bulk-downloads. they offer the best decryption performance compared to other browsers like Firefox or Safari</p><br>
<p>• while downloading, please don't close the tab / window / or cryptee's application. unlike un-encrypted platforms, downloads cannot continue in the background on Cryptee. this is because downloading your data requires not <i>just downloading</i>, but also <i>decrypting</i> the files in your browser. so cryptee needs to remain open in order to download & decrypt your data.</p>
</details>
<p> </p>
<details class="lowercase">
<summary class="bold">gdpr & data portability</summary>
<p>• cryptee is fully committed to EU GDPR. Based on Article 25 and Recital 78, Cryptee fits into the category of "Data protection by design and by default", by allowing only the users themselves to hold decryption keys, and thus as a service provider, not having access to the users' unencrypted information. in addition, at cryptee, we have gone to great lengths to ensure your data is easily portable and interoperable with other productivity softwares available in the market.</p>
<br>
<p>• to begin with, on cryptee, you can easily download <i>all the data</i> you've uploaded/provided to cryptee, as well as <i>all metadata generated by your acitivity</i> with a few simple clicks.</p>
<br>
<p>• you can download all metadata associated to your account in <i>my data</i> > <i>other metadata</i> section. </p>
<br>
<p>•
you can download <i>all your data, your documents, files and photos – everything –</i> directly inside our applications Cryptee Photos and Cryptee Docs.
Everything you've uploaded, including these files' metadata can be accessed and downloaded in bulk directly inside Cryptee Docs & Cryptee Photos.
and while the steps to download your data is as convenient as three clicks inside our applications, it's still not as simple as a single-click to "download everything" like you may be used to from other un-encrypted applications.
because your documents, files and photos are encrypted on your device with your encryption key, and we don't have access to your key to decrypt them; it is mathematically impossible for our servers to package them in a nice and tidy way for you to download in a single, clean zip file like unencrypted services/apps can do.
</p>
<br>
<p>• we have built all of cryptee's data portability features with European Union's GDPR WP29 guidelines in mind.
while WP29 requirements outline that all user data should be portable, the right to portability does not give to the user a right to obtain all their data summarized in a single document, since this would be mathematically impossible for some services and for some users.
for example, FAT32, a file system in use by many hard drives & flash drives only supports storing files up to 4GB in size.
So a cryptee user, even one with our smallest 10GB plan, simply wouldn't be able to download all their data in a single 10gb file onto a FAT32 drive they own.
similarly, a cryptee user with a 400GB plan, wouldn't be able to download all their data in a single 400GB file onto their laptop, given that most commercially available laptops do not have as large storage capacity, and this would be even more impossible so for our largest, 2000GB plan users, a storage capacity that which doesn't exist on most devices commercially available today.
due to this, and due to cryptee's servers' mathematical inability to decrypt or package all user data, we are offering the next best possible way to download all user data through our applications' user interfaces. So that you have the option to download all your data, or in smaller collections such as all photos in an album.
</p>
<br>
<p>• in addition, to provide the greatest level of transparency, unlike most companies and pieces of software, cryptee's source code is open for everyone to audit, comment on, and improve upon if they wish. you can find the source code on <u>github.com/cryptee</u>. this allows other software developers to make their software compatible with cryptee as well.</p>
<br>
<p>•
at the moment, there doesn't exist an industry standard when it comes to formats or containers for encrypted pieces of files. i.e. there are JPG files for photographs, but there is no standard for encrypted photograph files.
i.e. zip files are the most commonly used data format for compressed data storage, however there exists no such formats or containers for encrypted pieces of files that could be used for data portability across productivity apps.
due to this, to address the data portability issue, at cryptee, we've created a format for all of cryptee's encrypted files, called ECD (Encrypted Cryptee Document), which is basically a shell format, that uses AES256 (through OpenPGPjs) for the encryption and Base64 for its encoding.
So that any other software developer / company can simply add support for Cryptee files in their productivity applications, using technologies like AES256, readily availble in every web browser.
</p>
</details> | Kit | 1 | pws1453/web-client | source/imports/app/account-tab-my-data-files-photos.kit | [
"MIT"
] |
sub main()
external()
end sub
function foo()
printStackTrace()
end function
| Brightscript | 2 | pureinertia/brs | test/e2e/resources/components/stack-trace/main.brs | [
"MIT"
] |
%h3 403 Forbidden
%hr
%p
Forbidden.
| Scaml | 1 | mohno007/skinny-framework | example/src/main/webapp/WEB-INF/views/error/403.html.scaml | [
"MIT"
] |
\section{Versions of {\tt append}}
\begin{code}
{-# LANGUAGE MagicHash #-}
module Append where
import GHC.Exts
import Types
\end{code}
\begin{code}
append_ :: [a] -> [a] -> [a]
append_ (x:xs) ys = x : (append_ xs ys)
append_ [] ys = ys
append_L_S_S :: String -> S Char -> S Char
append_L_S_S (a: b: c: d: e: a1: b1: c1: d1: e1: xs) ys
= S5 a b c d e (S5 a1 b1 c1 d1 e1 (append_L_S_S xs ys))
append_L_S_S (a: b: c: d: e: xs) ys
= S5 a b c d e (append_L_S_S xs ys)
append_L_S_S (a: b: c: d: _) ys
= S4 a b c d ys
append_L_S_S (a: b: c: _) ys
= S3 a b c ys
append_L_S_S (a: b: _) ys
= S2 a b ys
append_L_S_S [a] ys
= S1 a ys
append_L_S_S [] ys = ys
append_F_S_S :: F Char -> S Char -> S Char
append_F_S_S (F5 a b c d e (F5 a1 b1 c1 d1 e1 xs)) ys
= S5 a b c d e (S5 a1 b1 c1 d1 e1 (append_F_S_S xs ys))
append_F_S_S (F5 a b c d e xs) ys
= S5 a b c d e (append_F_S_S xs ys)
append_F_S_S (F4 a b c d) ys
= S4 a b c d ys
append_F_S_S (F3 a b c) ys
= S3 a b c ys
append_F_S_S (F2 a b) ys
= S2 a b ys
append_F_S_S (F1 a) ys
= S1 a ys
append_F_S_S FN ys = ys
append_L_SC_SC :: String -> SC -> SC
append_L_SC_SC (C# a: C# b: C# c: C# d:
C# e: C# a1: C# b1: C# c1:
C# d1: C# e1: xs) ys
= SC5 a b c d e (SC5 a1 b1 c1 d1 e1 (append_L_SC_SC xs ys))
append_L_SC_SC (C# a: C# b: C# c: C# d:
C# e: xs) ys
= SC5 a b c d e (append_L_SC_SC xs ys)
append_L_SC_SC (C# a: C# b: C# c: C# d: _) ys
= SC4 a b c d ys
append_L_SC_SC (C# a: C# b: C# c: _) ys
= SC3 a b c ys
append_L_SC_SC (C# a: C# b: _) ys
= SC2 a b ys
append_L_SC_SC [C# a] ys
= SC1 a ys
append_L_SC_SC [] ys = ys
append_FC_SC_SC :: FC -> SC -> SC
append_FC_SC_SC (FC5 a b c d e (FC5 a1 b1 c1 d1 e1 xs)) ys
= SC5 a b c d e (SC5 a1 b1 c1 d1 e1 (append_FC_SC_SC xs ys))
append_FC_SC_SC (FC5 a b c d e xs) ys
= SC5 a b c d e (append_FC_SC_SC xs ys)
append_FC_SC_SC (FC4 a b c d) ys
= SC4 a b c d ys
append_FC_SC_SC (FC3 a b c) ys
= SC3 a b c ys
append_FC_SC_SC (FC2 a b) ys
= SC2 a b ys
append_FC_SC_SC (FC1 a) ys
= SC1 a ys
append_FC_SC_SC FCN ys = ys
append_F_L_L :: F a -> [a] -> [a]
append_F_L_L (F5 a b c d e (F5 a1 b1 c1 d1 e1 xs)) ys
= a: b: c: d: e: a1: b1: c1: d1: e1: (append_F_L_L xs ys)
append_F_L_L (F5 a b c d e xs) ys
= a: b: c: d: e: (append_F_L_L xs ys)
append_F_L_L (F4 a b c d) ys = a: b: c: d: ys
append_F_L_L (F3 a b c) ys = a: b: c: ys
append_F_L_L (F2 a b) ys = a: b: ys
append_F_L_L (F1 a) ys = a: ys
append_F_L_L FN ys = ys
append_S_L_L :: S Char -> String -> String
append_S_L_L (S5 a b c d e (S5 a1 b1 c1 d1 e1 xs)) ys
= a: b: c: d: e: a1: b1: c1: d1: e1: (append_S_L_L xs ys)
append_S_L_L (S5 a b c d e xs) ys
= a: b: c: d: e: (append_S_L_L xs ys)
append_S_L_L (S4 a b c d xs) ys
= a: b: c: d: (append_S_L_L xs ys)
append_S_L_L (S3 a b c xs) ys
= a: b: c: (append_S_L_L xs ys)
append_S_L_L (S2 a b xs) ys
= a: b: (append_S_L_L xs ys)
append_S_L_L (S1 a xs) ys
= a: (append_S_L_L xs ys)
append_S_L_L SN ys = ys
append_FC_L_L :: FC -> String -> String
append_FC_L_L (FC5 a b c d e (FC5 a1 b1 c1 d1 e1 xs)) ys
= C# a: C# b: C# c: C# d: C# e: C# a1:
C# b1: C# c1: C# d1: C# e1:
(append_FC_L_L xs ys)
append_FC_L_L (FC5 a b c d e xs) ys
= C# a: C# b: C# c: C# d:
C# e: (append_FC_L_L xs ys)
append_FC_L_L (FC4 a b c d) ys
= C# a: C# b: C# c: C# d: ys
append_FC_L_L (FC3 a b c) ys
= C# a: C# b: C# c: ys
append_FC_L_L (FC2 a b) ys = C# a: C# b: ys
append_FC_L_L (FC1 a) ys = C# a: ys
append_FC_L_L FCN ys = ys
append_SC_L_L :: SC -> String -> String
append_SC_L_L (SC5 a b c d e (SC5 a1 b1 c1 d1 e1 xs)) ys
= C# a: C# b: C# c: C# d: C# e: C# a1:
C# b1: C# c1: C# d1: C# e1:
(append_SC_L_L xs ys)
append_SC_L_L (SC5 a b c d e xs) ys
= C# a: C# b: C# c: C# d:
C# e: (append_SC_L_L xs ys)
append_SC_L_L (SC4 a b c d xs) ys
= C# a: C# b: C# c: C# d: (append_SC_L_L xs ys)
append_SC_L_L (SC3 a b c xs) ys
= C# a: C# b: C# c: (append_SC_L_L xs ys)
append_SC_L_L (SC2 a b xs) ys
= C# a: C# b: (append_SC_L_L xs ys)
append_SC_L_L (SC1 a xs) ys
= C# a: (append_SC_L_L xs ys)
append_SC_L_L SCN ys = ys
\end{code}
| Literate Haskell | 4 | ocharles/ghc | testsuite/tests/programs/cvh_unboxing/Append.lhs | [
"BSD-3-Clause"
] |
// @noEmit: true
// @allowJs: true
// @checkJs: true
// @Filename: a.js
// mixed prototype-assignment+function declaration
function C() { this.p = 1; }
C.prototype = { q: 2 };
const c = new C()
c.p
c.q
| TypeScript | 3 | nilamjadhav/TypeScript | tests/cases/conformance/salsa/typeFromPropertyAssignment27.ts | [
"Apache-2.0"
] |
/*************************************************************************
* *
* YAP Prolog *
* *
* Yap Prolog was developed at NCCUP - Universidade do Porto *
* *
* Copyright L.Damas, V.S.Costa and Universidade do Porto 1985-1997 *
* *
**************************************************************************
* *
* File: ground.pl *
* Last rev: *
* mods: *
* comments: Variables and ground *
* *
*************************************************************************/
/**
* @file ground.yap
* @author VITOR SANTOS COSTA <vsc@VITORs-MBP-2.lan>
* @date Thu Oct 19 12:01:27 2017
*
* @brief term operations
*
*/
/**
* @addtogroup YAPTypes
* @{
*
*
*/
/*
% grounds all free variables
% as terms of the form '$VAR'(N)
_numbervars(Term, M, N) :-
'$variables_in_term'(Term, [], L),
'$numbermarked_vars'(L, M, N).
'$numbermarked_vars'([], M, M).
'$numbermarked_vars'([V|L], M, N) :-
attvar(V), !,
'$numbermarked_vars'(L, M, N).
'$numbermarked_vars'(['$VAR'(M)|L], M, N) :-
M1 is M+1,
'$numbermarked_vars'(L, M1, N).
*/
%% @}
| Prolog | 4 | KuroLevin/yap-6.3 | pl/ground.yap | [
"Artistic-1.0-Perl",
"ClArtistic"
] |
(* ****** ****** *)
//
// HX-2013-11
//
// Implementing a variant of
// the problem of Dining Philosophers
//
(* ****** ****** *)
//
#include
"share/atspre_define.hats"
#include
"share/atspre_staload.hats"
//
(* ****** ****** *)
staload
UN = "prelude/SATS/unsafe.sats"
(* ****** ****** *)
staload "{$LIBATSHWXI}/teaching/mythread/SATS/channel.sats"
(* ****** ****** *)
staload _ = "libats/DATS/deqarray.dats"
staload _ = "{$LIBATSHWXI}/teaching/mythread/DATS/channel.dats"
(* ****** ****** *)
staload "./DiningPhil2.sats"
(* ****** ****** *)
datavtype fork = FORK of (nphil)
(* ****** ****** *)
assume fork_vtype = fork
(* ****** ****** *)
implement
fork_get_num (f) = let val FORK(n) = f in n end
(* ****** ****** *)
local
val
the_forkarray = let
//
typedef t = channel(fork)
//
implement
array_tabulate$fopr<t>
(n) = ch where
{
val n = $UN.cast{nphil}(n)
val ch = channel_create_exn<fork> (i2sz(2))
val () = channel_insert (ch, FORK (n))
}
//
in
arrayref_tabulate<t> (i2sz(NPHIL))
end // end of [val]
in (* in of [local] *)
implement fork_changet (n) = the_forkarray[n]
end // end of [local]
(* ****** ****** *)
local
val the_forktray =
channel_create_exn<fork> (i2sz(NPHIL+1))
in (* in of [local] *)
implement forktray_changet () = the_forktray
end // end of [local]
(* ****** ****** *)
(* end of [DiningPhil2_fork.dats] *)
| ATS | 3 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/ATS/DiningPhil2_fork.dats | [
"MIT"
] |
import {mount} from 'enzyme';
import {AccountStore, Account, Actions, React} from 'nylas-exports';
import {ipcRenderer} from 'electron';
import AccountErrorNotification from '../lib/items/account-error-notif';
describe("AccountErrorNotif", function AccountErrorNotifTests() {
describe("when one account is in the `invalid` state", () => {
beforeEach(() => {
spyOn(AccountStore, 'accounts').andReturn([
new Account({id: 'A', syncState: 'invalid', emailAddress: '123@gmail.com'}),
new Account({id: 'B', syncState: 'running', emailAddress: 'other@gmail.com'}),
])
});
it("renders an error bar that mentions the account email", () => {
const notif = mount(<AccountErrorNotification />);
expect(notif.find('.title').text().indexOf('123@gmail.com') > 0).toBe(true);
});
it("allows the user to refresh the account", () => {
const notif = mount(<AccountErrorNotification />);
spyOn(Actions, 'wakeLocalSyncWorkerForAccount').andReturn(Promise.resolve());
notif.find('#action-0').simulate('click'); // Expects first action to be the refresh action
expect(Actions.wakeLocalSyncWorkerForAccount).toHaveBeenCalled();
});
it("allows the user to reconnect the account", () => {
const notif = mount(<AccountErrorNotification />);
spyOn(ipcRenderer, 'send');
notif.find('#action-1').simulate('click'); // Expects second action to be the reconnect action
expect(ipcRenderer.send).toHaveBeenCalledWith('command', 'application:add-account', {
existingAccount: AccountStore.accounts()[0],
source: 'Reconnect from error notification',
});
});
});
describe("when more than one account is in the `invalid` state", () => {
beforeEach(() => {
spyOn(AccountStore, 'accounts').andReturn([
new Account({id: 'A', syncState: 'invalid', emailAddress: '123@gmail.com'}),
new Account({id: 'B', syncState: 'invalid', emailAddress: 'other@gmail.com'}),
])
});
it("renders an error bar", () => {
const notif = mount(<AccountErrorNotification />);
expect(notif.find('.notification').exists()).toEqual(true);
});
it("allows the user to refresh the accounts", () => {
const notif = mount(<AccountErrorNotification />);
spyOn(Actions, 'wakeLocalSyncWorkerForAccount').andReturn(Promise.resolve());
notif.find('#action-0').simulate('click'); // Expects first action to be the refresh action
expect(Actions.wakeLocalSyncWorkerForAccount).toHaveBeenCalled();
});
it("allows the user to open preferences", () => {
spyOn(Actions, 'switchPreferencesTab')
spyOn(Actions, 'openPreferences')
const notif = mount(<AccountErrorNotification />);
notif.find('#action-1').simulate('click'); // Expects second action to be the preferences action
expect(Actions.openPreferences).toHaveBeenCalled();
expect(Actions.switchPreferencesTab).toHaveBeenCalledWith('Accounts');
});
});
describe("when all accounts are fine", () => {
beforeEach(() => {
spyOn(AccountStore, 'accounts').andReturn([
new Account({id: 'A', syncState: 'running', emailAddress: '123@gmail.com'}),
new Account({id: 'B', syncState: 'running', emailAddress: 'other@gmail.com'}),
])
});
it("renders nothing", () => {
const notif = mount(<AccountErrorNotification />);
expect(notif.find('.notification').exists()).toEqual(false);
});
});
});
| JSX | 5 | cnheider/nylas-mail | packages/client-app/internal_packages/notifications/spec/account-error-notif-spec.jsx | [
"MIT"
] |
--TEST--
Bug #76839: socket_recvfrom may return an invalid 'from' address on MacOS
--EXTENSIONS--
sockets
--SKIPIF--
<?php
if (strtolower(substr(PHP_OS, 0, 3)) === 'win') {
die('skip not valid for Windows.');
}
--FILE--
<?php
// This bug only occurs when a specific portion of memory is unclean.
// Unfortunately, looping around 10 times and using random paths is the
// best way I could manage to reproduce this problem without modifying php itself :-/
for ($i = 0; $i < 10; $i++) {
$senderSocketPath = '/tmp/' . substr(md5(rand()), 0, rand(8, 16)) . '.sock';
$senderSocket = socket_create(AF_UNIX, SOCK_DGRAM, 0);
socket_bind($senderSocket, $senderSocketPath);
$receiverSocketPath = '/tmp/' . substr(md5(rand()), 0, rand(8, 16)) . '.sock';
$receiverSocket = socket_create(AF_UNIX, SOCK_DGRAM, 0);
socket_bind($receiverSocket, $receiverSocketPath);
// Send message from sender socket to receiver socket
socket_sendto($senderSocket, 'Ping!', 5, 0, $receiverSocketPath);
// Receive message on receiver socket
$from = '';
$message = '';
socket_recvfrom($receiverSocket, $message, 65535, 0, $from);
echo "Received '$message'\n";
// Respond to the sender using the 'from' address from socket_recvfrom
socket_sendto($receiverSocket, 'Pong!', 5, 0, $from);
echo "Responded to sender with 'Pong!'\n";
socket_close($receiverSocket);
unlink($receiverSocketPath);
socket_close($senderSocket);
unlink($senderSocketPath);
}
?>
--EXPECT--
Received 'Ping!'
Responded to sender with 'Pong!'
Received 'Ping!'
Responded to sender with 'Pong!'
Received 'Ping!'
Responded to sender with 'Pong!'
Received 'Ping!'
Responded to sender with 'Pong!'
Received 'Ping!'
Responded to sender with 'Pong!'
Received 'Ping!'
Responded to sender with 'Pong!'
Received 'Ping!'
Responded to sender with 'Pong!'
Received 'Ping!'
Responded to sender with 'Pong!'
Received 'Ping!'
Responded to sender with 'Pong!'
Received 'Ping!'
Responded to sender with 'Pong!'
| PHP | 4 | NathanFreeman/php-src | ext/sockets/tests/bug76839.phpt | [
"PHP-3.01"
] |
\documentclass{article}
\usepackage{mathtools}
\begin{document}
\begin{align}
f(x) &= \bigg\lvert 0 \bigg\rvert \\
f(x) &= \Bigg\lVert 0 \Bigg\rVert \\
\end{align}
\[
\begin{multlined}[b]
\framebox[4cm]{first} \\
\framebox[4cm]{last}
\end{multlined} = B
\begin{multlined}[b][7cm]
\framebox[4cm]{first} \\
\framebox[4cm]{last}
\end{multlined} = B
\]
\begin{align*}
f(a) &=
\!\begin{aligned}[t]
& \frac{1}{2}+\cdots \\& \dots+\frac{1}{2}
\end{aligned}
\end{align*}
\begin{equation}
\begin{lgathered}[c]
x=1,\quad x+1=2 \\
y=235
\end{lgathered}
\end{equation}
\[
\begin{pmatrix*}[r]
-1 & 3 \\
2 & -4
\end{pmatrix*}
\]
\[
\begin{smallmatrix*}[r]
-1 & 3 \\
2 & -4
\end{smallmatrix*}
\]
\end{document}
| TeX | 2 | IngoMeyer441/vimtex | test/test-syntax/test-mathtools.tex | [
"MIT"
] |
module.exports (terms) = terms.term {
constructor (expr, implicit: false) =
self.isReturn = true
self.expression = expr
self.isImplicit = implicit
generateStatement (scope) =
self.generateIntoBuffer @(buffer)
if (self.expression)
buffer.write ('return ')
buffer.write (self.expression.generate (scope))
buffer.write (';')
else
buffer.write ('return;')
rewriteResultTermInto (returnTerm, async: false) =
if (async)
arguments =
if (self.expression)
[self.expression]
else
[]
terms.functionCall (terms.onRejectedFunction, arguments)
else
self
}
| PogoScript | 3 | Sotrek/Alexa | Alexa_Cookbook/Workshop/StatePop/4_IOT/tests/node_modules/aws-sdk/node_modules/cucumber/node_modules/pogo/lib/terms/returnStatement.pogo | [
"MIT"
] |
# Copyright (c) 2021 vesoft inc. All rights reserved.
#
# This source code is licensed under Apache 2.0 License.
Feature: Round the float/double when insert them into integer column
# issue https://github.com/vesoft-inc/nebula/issues/3473
Scenario: Insert float/double into a integer column
Given an empty graph
And create a space with following options:
| partition_num | 9 |
| replica_factor | 1 |
| vid_type | FIXED_STRING(30) |
| charset | utf8 |
| collate | utf8_bin |
When executing query:
"""
create tag test(a int32);
"""
Then the execution should be successful
When try to execute query:
"""
INSERT VERTEX test(a) VALUES '101':(3.2);
"""
Then the execution should be successful
When executing query:
"""
INSERT VERTEX test(a) VALUES '102':(3.8);
"""
Then the execution should be successful
When executing query:
"""
INSERT VERTEX test(a) VALUES '103':(-3.2);
"""
Then the execution should be successful
When executing query:
"""
INSERT VERTEX test(a) VALUES '104':(-3.8);
"""
Then the execution should be successful
When executing query:
"""
INSERT VERTEX test(a) VALUES '104':(2147483647.1);
"""
Then an ExecutionError should be raised at runtime: Storage Error: Out of range value.
When executing query:
"""
FETCH PROP ON test '101', '102', '103', '104' YIELD test.a;
"""
Then the result should be, in any order, with relax comparison:
| test.a |
| 3 |
| 4 |
| -3 |
| -4 |
Then drop the used space
| Cucumber | 4 | liuqian1990/nebula | tests/tck/features/bugfix/RoundFloat.feature | [
"Apache-2.0"
] |
(set-logic AUFLIRA)
(set-info :source | Buggy list theorem |)
(set-info :smt-lib-version 2.0)
(set-info :category "crafted")
(set-info :status sat)
(declare-sort List 0)
(declare-fun cons (Real List) List)
(declare-fun nil () List)
(declare-fun car (List) Real)
(declare-fun cdr (List) List)
(declare-fun len (List) Int)
(assert (forall ((?x Real) (?y List)) (= (car (cons ?x ?y)) ?x)))
(assert (forall ((?x Real) (?y List)) (= (cdr (cons ?x ?y)) ?y)))
(assert (= (len nil) 0))
(assert (forall ((?x Real) (?y List)) (= (len (cons ?x ?y)) (+ (len ?y) 1))))
(declare-fun append (List List) List)
(assert (forall ((?x Real) (?y1 List) (?y2 List)) (= (append (cons ?x ?y1) ?y2) (cons ?x (append ?y1 ?y2)))))
(assert (not (forall ((?x Real) (?y List)) (= (append (cons ?x nil) ?y) (cons ?x ?y)))))
(check-sat)
(exit)
| SMT | 4 | JavascriptID/sourcerer-app | src/test/resources/samples/langs/SMT/list4.smt2 | [
"MIT"
] |
Call argAt = method(
"evaluates and returns the argument at 'n'. this is just a short hand for 'call message evalArgAt(n, call ground)'",
n,
message evalArgAt(n, ground))
| Ioke | 2 | olabini/ioke | src/builtin/D10_call.ik | [
"ICU",
"MIT"
] |
module language/grandpa3 ---- the final model in fig 4.4
abstract sig Person {
father: lone Man,
mother: lone Woman
}
sig Man extends Person {
wife: lone Woman
}
sig Woman extends Person {
husband: lone Man
}
fact Biology {
no p: Person | p in p.^(mother+father)
}
fact Terminology {
wife = ~husband
}
fact SocialConvention {
no (wife+husband) & ^(mother+father)
}
------------------------------------------
assert NoSelfFather {
no m: Man | m = m.father
}
// This should not find any counterexample.
check NoSelfFather
------------------------------------------
fun grandpas [p: Person] : set Person {
let parent = mother + father + father.wife + mother.husband |
p.parent.parent & Man
}
pred ownGrandpa [p: Person] {
p in p.grandpas
}
// This generates an instance similar to Fig 4.3
run ownGrandpa for 4 Person
------------------------------------------
pred SocialConvention1 {
no (wife + husband) & ^(mother + father)
}
pred SocialConvention2 {
let parent = mother + father {
no m: Man | some m.wife and m.wife in m.*parent.mother
no w: Woman | some w.husband and w.husband in w.*parent.father
}
}
// This assertion was described on page 90.
assert Same {
SocialConvention1 iff SocialConvention2
}
// This should not find any counterexample
check Same
| Alloy | 5 | Kaixi26/org.alloytools.alloy | org.alloytools.alloy.extra/extra/models/book/chapter4/grandpa3.als | [
"Apache-2.0"
] |
"""
Regression tests for proper working of ForeignKey(null=True). Tests these bugs:
* #7512: including a nullable foreign key reference in Meta ordering has
unexpected results
"""
from django.db import models
# The first two models represent a very simple null FK ordering case.
class Author(models.Model):
name = models.CharField(max_length=150)
class Article(models.Model):
title = models.CharField(max_length=150)
author = models.ForeignKey(Author, models.SET_NULL, null=True)
class Meta:
ordering = ['author__name']
# These following 4 models represent a far more complex ordering case.
class SystemInfo(models.Model):
system_name = models.CharField(max_length=32)
class Forum(models.Model):
system_info = models.ForeignKey(SystemInfo, models.CASCADE)
forum_name = models.CharField(max_length=32)
class Post(models.Model):
forum = models.ForeignKey(Forum, models.SET_NULL, null=True)
title = models.CharField(max_length=32)
class Comment(models.Model):
post = models.ForeignKey(Post, models.SET_NULL, null=True)
comment_text = models.CharField(max_length=250)
class Meta:
ordering = ['post__forum__system_info__system_name', 'comment_text']
| Python | 4 | ni-ning/django | tests/null_fk_ordering/models.py | [
"CNRI-Python-GPL-Compatible",
"BSD-3-Clause"
] |
from fastapi import FastAPI
my_awesome_api = FastAPI()
@my_awesome_api.get("/")
async def root():
return {"message": "Hello World"}
| Python | 3 | Aryabhata-Rootspring/fastapi | docs_src/first_steps/tutorial002.py | [
"MIT"
] |
/*
* Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*/
#include "internal/thread_once.h"
#include <openssl/dsa.h>
#include <openssl/engine.h>
#include <openssl/evp.h>
#include <openssl/lhash.h>
#include <openssl/x509.h>
#include <openssl/store.h>
/*-
* OSSL_STORE_INFO stuff
* ---------------------
*/
struct ossl_store_info_st {
int type;
union {
void *data; /* used internally as generic pointer */
struct {
BUF_MEM *blob;
char *pem_name;
} embedded; /* when type == OSSL_STORE_INFO_EMBEDDED */
struct {
char *name;
char *desc;
} name; /* when type == OSSL_STORE_INFO_NAME */
EVP_PKEY *params; /* when type == OSSL_STORE_INFO_PARAMS */
EVP_PKEY *pkey; /* when type == OSSL_STORE_INFO_PKEY */
X509 *x509; /* when type == OSSL_STORE_INFO_CERT */
X509_CRL *crl; /* when type == OSSL_STORE_INFO_CRL */
} _;
};
DEFINE_STACK_OF(OSSL_STORE_INFO)
/*
* EMBEDDED is a special type of OSSL_STORE_INFO, specially for the file
* handlers. It should never reach a calling application or any engine.
* However, it can be used by a FILE_HANDLER's try_decode function to signal
* that it has decoded the incoming blob into a new blob, and that the
* attempted decoding should be immediately restarted with the new blob, using
* the new PEM name.
*/
/*
* Because this is an internal type, we don't make it public.
*/
#define OSSL_STORE_INFO_EMBEDDED -1
OSSL_STORE_INFO *ossl_store_info_new_EMBEDDED(const char *new_pem_name,
BUF_MEM *embedded);
BUF_MEM *ossl_store_info_get0_EMBEDDED_buffer(OSSL_STORE_INFO *info);
char *ossl_store_info_get0_EMBEDDED_pem_name(OSSL_STORE_INFO *info);
/*-
* OSSL_STORE_SEARCH stuff
* -----------------------
*/
struct ossl_store_search_st {
int search_type;
/*
* Used by OSSL_STORE_SEARCH_BY_NAME and
* OSSL_STORE_SEARCH_BY_ISSUER_SERIAL
*/
X509_NAME *name;
/* Used by OSSL_STORE_SEARCH_BY_ISSUER_SERIAL */
const ASN1_INTEGER *serial;
/* Used by OSSL_STORE_SEARCH_BY_KEY_FINGERPRINT */
const EVP_MD *digest;
/*
* Used by OSSL_STORE_SEARCH_BY_KEY_FINGERPRINT and
* OSSL_STORE_SEARCH_BY_ALIAS
*/
const unsigned char *string;
size_t stringlength;
};
/*-
* OSSL_STORE_LOADER stuff
* -----------------------
*/
int ossl_store_register_loader_int(OSSL_STORE_LOADER *loader);
OSSL_STORE_LOADER *ossl_store_unregister_loader_int(const char *scheme);
/* loader stuff */
struct ossl_store_loader_st {
const char *scheme;
ENGINE *engine;
OSSL_STORE_open_fn open;
OSSL_STORE_ctrl_fn ctrl;
OSSL_STORE_expect_fn expect;
OSSL_STORE_find_fn find;
OSSL_STORE_load_fn load;
OSSL_STORE_eof_fn eof;
OSSL_STORE_error_fn error;
OSSL_STORE_close_fn close;
};
DEFINE_LHASH_OF(OSSL_STORE_LOADER);
const OSSL_STORE_LOADER *ossl_store_get0_loader_int(const char *scheme);
void ossl_store_destroy_loaders_int(void);
/*-
* OSSL_STORE init stuff
* ---------------------
*/
int ossl_store_init_once(void);
int ossl_store_file_loader_init(void);
/*-
* 'file' scheme stuff
* -------------------
*/
OSSL_STORE_LOADER_CTX *ossl_store_file_attach_pem_bio_int(BIO *bp);
int ossl_store_file_detach_pem_bio_int(OSSL_STORE_LOADER_CTX *ctx);
| C | 4 | xumia/debian-openssl | crypto/store/store_local.h | [
"OpenSSL"
] |
(*
* 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.
*)
module Ast = Flow_ast
module LMap = Loc_collections.LocMap
module LSet = Loc_collections.LocSet
open Insert_type_utils
open Reason
open Loc_collections
module ErrorStats = struct
type t = { num_total_errors: int }
let empty = { num_total_errors = 0 }
let combine c1 c2 = { num_total_errors = c1.num_total_errors + c2.num_total_errors }
let serialize s =
let open Utils_js in
[spf "total_errors: %d" s.num_total_errors]
let report s = [string_of_row ~indent:2 "Number of empty object errors" s.num_total_errors]
end
module Codemod_empty_annotator = Codemod_annotator.Make (ErrorStats)
module Acc = Insert_type_utils.Acc (ErrorStats)
let mapper ~preserve_literals ~max_type_size ~default_any (cctx : Codemod_context.Typed.t) =
let { Codemod_context.Typed.file_sig; docblock; metadata; options; _ } = cctx in
let imports_react = Insert_type_imports.ImportsHelper.imports_react file_sig in
let metadata = Context.docblock_overrides docblock metadata in
let { Context.strict; strict_local; _ } = metadata in
let lint_severities =
if strict || strict_local then
StrictModeSettings.fold
(fun lint_kind lint_severities ->
LintSettings.set_value lint_kind (Severity.Err, None) lint_severities)
(Options.strict_mode options)
(Options.lint_severities options)
else
Options.lint_severities options
in
let suppress_types = Options.suppress_types options in
let exact_by_default = Options.exact_by_default options in
let flowfixme_ast = Builtins.flowfixme_ast ~lint_severities ~suppress_types ~exact_by_default in
object (this)
inherit
Codemod_empty_annotator.mapper
~max_type_size
~exact_by_default
~lint_severities
~suppress_types
~imports_react
~preserve_literals
~default_any
cctx as super
method private post_run () = ErrorStats.{ num_total_errors = 0 }
method private unsealed_annot loc ty =
let { Codemod_context.Typed.full_cx = cx; file; file_sig; typed_ast; _ } = cctx in
let loc = ALoc.of_loc loc in
let indexers = Context.inferred_indexers cx in
let validate = function
| Ok (Ty.Type ty) -> Codemod_annotator.validate_ty cctx ~max_type_size ty
| _ -> Error [Error.Missing_annotation_or_normalizer_error]
in
let obj_kind =
match ALocMap.find_opt loc indexers with
| Some (_ :: _ as indexers) ->
let keys =
List.map (fun { Type.key; _ } -> key) indexers
|> TypeUtil.union_of_ts (mk_reason RUnion loc)
in
let values =
List.map (fun { Type.value; _ } -> value) indexers
|> TypeUtil.union_of_ts (mk_reason RUnion loc)
in
let genv = Ty_normalizer_env.mk_genv ~full_cx:cx ~file ~file_sig ~typed_ast in
let options = Ty_normalizer_env.default_options in
begin
match
( Ty_normalizer.from_type ~options ~genv keys |> validate,
Ty_normalizer.from_type ~options ~genv values |> validate
)
with
| (Ok dict_key, Ok dict_value) ->
Ty.IndexedObj
{ Ty.dict_polarity = Ty.Neutral; dict_name = None; dict_key; dict_value }
| _ -> ty.Ty.obj_kind
end
| None
| Some [] ->
ty.Ty.obj_kind
in
{ ty with Ty.obj_kind }
method private get_annot ploc ty annot =
let f loc _annot ty' = this#annotate_node loc ty' (fun a -> Ast.Type.Available a) in
let error _ = Ast.Type.Available (Loc.none, flowfixme_ast) in
this#opt_annotate ~f ~error ~expr:None ploc ty annot
method! call cloc expr =
let open Ast.Expression in
let open Call in
let { callee; targs; arguments; comments } = expr in
let open Member in
match (callee, arguments, targs) with
| ( (_, Member { property = PropertyIdentifier (_, { Ast.Identifier.name = "reduce"; _ }); _ }),
(_, { ArgList.arguments = [_; Expression (loc, Object { Object.properties = []; _ })]; _ }),
None
) ->
let ty_result =
Codemod_annotator.get_validated_ty cctx ~preserve_literals ~max_type_size loc
in
(match ty_result with
| Ok (Ty.Obj ty) ->
let ty_obj = this#unsealed_annot loc ty in
begin
match ty_obj.Ty.obj_kind with
| Ty.IndexedObj _ ->
let ty_obj = { ty_obj with Ty.obj_props = [] } in
(match this#get_annot cloc (Ok (Ty.Obj ty_obj)) (Ast.Type.Missing cloc) with
| Ast.Type.Available (_, t) ->
let targlist = [CallTypeArg.Explicit t] in
let targs = Some (cloc, { CallTypeArgs.arguments = targlist; comments = None }) in
{ callee; arguments; comments; targs }
| _ -> super#call cloc expr)
| _ -> super#call cloc expr
end
| _ -> super#call cloc expr)
| _ -> super#call cloc expr
method! expression expr =
let open Ast.Expression in
match expr with
| (loc, Object { Object.properties = []; _ }) ->
let ty_result =
Codemod_annotator.get_validated_ty cctx ~preserve_literals ~max_type_size loc
in
(match ty_result with
| Ok (Ty.Obj ty) ->
let ty_obj = this#unsealed_annot loc ty in
begin
match ty_obj.Ty.obj_kind with
| Ty.IndexedObj _ ->
let ty_obj = { ty_obj with Ty.obj_props = [] } in
(match this#get_annot loc (Ok (Ty.Obj ty_obj)) (Ast.Type.Missing loc) with
| Ast.Type.Available annot' ->
( loc,
Ast.Expression.TypeCast
{ annot = annot'; expression = expr; Ast.Expression.TypeCast.comments = None }
)
| _ -> super#expression expr)
| _ -> super#expression expr
end
| _ -> super#expression expr)
| _ -> super#expression expr
method! variable_declarator ~kind decl =
let open Ast.Statement.VariableDeclaration.Declarator in
let (loc, { id; init }) = decl in
match init with
| Some (oloc, Ast.Expression.Object Ast.Expression.Object.{ properties = []; comments = _ })
->
let id =
match id with
| ( ploc,
Ast.Pattern.Identifier
Ast.Pattern.Identifier.{ annot = Ast.Type.Missing _ as annot; name; optional }
) ->
let ty_result =
Codemod_annotator.get_validated_ty cctx ~preserve_literals ~max_type_size ploc
in
(match ty_result with
| Ok (Ty.Obj ty) ->
let ty_obj = this#unsealed_annot oloc ty in
begin
match ty_obj.Ty.obj_kind with
| Ty.IndexedObj _ ->
let ty_obj = { ty_obj with Ty.obj_props = [] } in
let annot' = this#get_annot ploc (Ok (Ty.Obj ty_obj)) annot in
( ploc,
Ast.Pattern.Identifier Ast.Pattern.Identifier.{ annot = annot'; name; optional }
)
| _ -> id
end
| _ -> id)
| _ -> id
in
(loc, { id; init })
| _ -> super#variable_declarator ~kind decl
end
| OCaml | 4 | zhangmaijun/flow | src/codemods/annotate_empty_object.ml | [
"MIT"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.