max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
x86/Tetrahedron/tetra.asm | WorkingFen/ExamplesARKO | 1 | 97651 | ;############## Comments ##########################################################
;; Registers for integers and pointers while passing arguments
;%rdi - canvas->line [first element of bitmap, upper-left corner]
;%rsi - canvas->w [width]
;%rdx - canvas->h [height]
;%rcx - zBuffer->line [first element of buffer wit... |
2-division_multiplicacion.asm | mario21ic/nasm-demos | 0 | 83756 | <filename>2-division_multiplicacion.asm
;section .data
;resultado db '0'
section .bss
div_rpta resb 1
div_residuo resb 1
mul_rpta resb 1
section .text
global _start
_start:
; Dividir
mov bx, 2
mov dx, 0
mov ax, 7
div bx ; realiza la division (dx:ax / bx)
; convertir a ascii
add ax, 48
mov [div_rpta], ax
add dx, ... |
src/fot/FOTC/Data/Conat/Equality/PropertiesATP.agda | asr/fotc | 11 | 5719 | ------------------------------------------------------------------------------
-- Properties for the equality on Conat
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorph... |
test/fail/Issue183.agda | asr/agda-kanso | 0 | 7632 | <reponame>asr/agda-kanso
-- Here is a smaller test case. The error message is produced using
-- the latest (at the time of writing) development version of Agda.
module Issue183 where
postulate A : Set
T : Set
T = A → A
data L (A : Set) : Set where
data E (x : T) : T → Set where
e : E x x
foo : (f : A → A) → L (... |
programs/oeis/131/A131808.asm | neoneye/loda | 22 | 94632 | ; A131808: Partial sums of A131378.
; 0,0,1,1,1,2,3,3,3,3,3,4,5,5,5,5,5,6,7,7,7,7,7,8,9,10,11,12,13,13,13,14,15,16,17,18,19,19,19,19,19,20,21,21,21,21,21,22,23,24,25,26,27,27,27,27,27,27,27,28,29,29,29,29,29,29,29,30,31,32,33,33,33,34,35,36,37,38
mov $2,$0
mov $3,$0
lpb $2
mov $0,$3
sub $2,1
sub $0,$2
sub $0,1... |
source/amf/uml/amf-uml-structured_activity_nodes.ads | svn2github/matreshka | 24 | 9931 | <filename>source/amf/uml/amf-uml-structured_activity_nodes.ads<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
parsing.ads | Lucretia/pc_tut | 1 | 12464 | <gh_stars>1-10
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Containers.Doubly_Linked_Lists;
with Ada.Containers.Indefinite_Doubly_Linked_Lists;
with Ada.Containers.Indefinite_Holders;
package Parsing is
package Char_List is new Ada.Containers.Indefinite_Doubly_Linked_Lists (Element_T... |
oeis/179/A179403.asm | neoneye/loda-programs | 11 | 18710 | ; A179403: Number of ways to place 2 nonattacking kings on an n X n toroidal board.
; Submitted by <NAME>
; 0,0,0,56,200,486,980,1760,2916,4550,6776,9720,13520,18326,24300,31616,40460,51030,63536,78200,95256,114950,137540,163296,192500,225446,262440,303800,349856,400950,457436,519680,588060,662966,744800,833976,930920,... |
Algebra/Lifting.agda | Rotsor/BinDivMod | 1 | 2050 | <gh_stars>1-10
import Algebra
import Algebra.Structures
import Function.Equality
import Function.Equivalence
import Function.Bijection
import Level
import Relation.Binary
import Algebra.FunctionProperties
import Relation.Binary.EqReasoning
open Level renaming (zero to ₀)
open Relation.Binary using (Setoid; module Seto... |
compiler/parser/src/commonAntlr/antlr/PlankLexer.g4 | gabrielleeg1/plank | 1 | 7345 | <reponame>gabrielleeg1/plank<gh_stars>1-10
lexer grammar PlankLexer;
@header {
/* ktlint-disable no-wildcard-imports */
@file:Suppress(
"UNNECESSARY_NOT_NULL_ASSERTION",
"UNUSED_PARAMETER", "USELESS_CAST", "UNUSED_VALUE", "VARIABLE_WITH_REDUNDANT_INITIALIZER",
"PARAMETER_NAME_CHANGED_ON_OVERRIDE", "SENSELESS_COM... |
boot/boot-sector.asm | Soptq/sim-osv2 | 0 | 171977 | ; Generally, in our system
; KERNEL starts at 0x1000
; Stack starts at 0x90000 and it grows downward
; Heap is set to 0x1000000 and it grows upward.
[org 0x7c00]
KERNEL_OFFSET equ 0x1000
mov [BOOT_DRIVE], dl ; BOOT_DRIVE is set to 0
mov bp, 0x9000 ; stack starts at 0x9000
mov sp, bp
mov bx, MSG_REAL_MO... |
resources/pref/prefs.scpt | pine/dotfiles | 18 | 4166 | tell application "System Events" to tell appearance preferences to set dark mode to true
|
src/org-protocol-client.scpt | mxco86/org-protocol-client | 0 | 975 | <reponame>mxco86/org-protocol-client<filename>src/org-protocol-client.scpt
on open location this_URL
set EC to "/run/current-system/sw/bin/emacsclient --no-wait "
set filePath to quoted form of this_URL
do shell script EC & filePath
tell application "/run/current-system/Applications/Emacs.app" to activate
end open ... |
lib/avx512/zuc_avx512.asm | dalekzhangdong/intel-ipsec-mb | 1 | 104312 | ;;
;; Copyright (c) 2020, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and the ... |
src/kernel/write.asm | johnnystarr/xtnix | 0 | 9694 | ;------------------------------------------------------------------------------
; kernel_write 0.1.0
; input: SI = 16-bit address of string
; input: DH: TODO: implement DH = file descriptor (see kernel.inc)
; input: DL:d0 = No carriage return if set
;--------------------------------------------------------------... |
oeis/021/A021735.asm | neoneye/loda-programs | 11 | 245987 | <gh_stars>10-100
; A021735: Decimal expansion of 1/731.
; Submitted by <NAME>(s1.)
; 0,0,1,3,6,7,9,8,9,0,5,6,0,8,7,5,5,1,2,9,9,5,8,9,6,0,3,2,8,3,1,7,3,7,3,4,6,1,0,1,2,3,1,1,9,0,1,5,0,4,7,8,7,9,6,1,6,9,6,3,0,6,4,2,9,5,4,8,5,6,3,6,1,1,4,9,1,1,0,8,0,7,1,1,3,5,4,3,0,9,1,6,5,5,2,6,6,7,5
add $0,1
mov $2,10
pow $2,$0
div $2,... |
Data/Binary/PerformanceTests/Multiplication.agda | oisdk/agda-playground | 6 | 14288 | <reponame>oisdk/agda-playground
{-# OPTIONS --cubical --safe #-}
module Data.Binary.PerformanceTests.Multiplication where
open import Prelude
open import Data.Binary.Definition
open import Data.Binary.Addition using (_+_)
open import Data.Binary.Multiplication using (_*_)
open import Data.Binary.Increment using (inc)... |
test/asset/agda-stdlib-1.0/Data/AVL.agda | omega12345/agda-mode | 0 | 13905 | <reponame>omega12345/agda-mode<filename>test/asset/agda-stdlib-1.0/Data/AVL.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- AVL trees
------------------------------------------------------------------------
-- AVL trees are balanced binary search trees.
... |
river-crossing.als | experimental-dustbin/alloy-models | 9 | 3755 | <filename>river-crossing.als
// https://dev.to/davidk01/river-crossing-puzzle-with-alloy-415o
// The states are ordered so that we can talk about transitions
open util/ordering[State]
// The farmer, cabbage, goat, and wolf
abstract sig Entity { }
one sig Farmer, Cabbage, Goat, Wolf extends Entity { }
// If the farmer... |
llvm-gcc-4.2-2.9/gcc/ada/a-coinve.adb | vidkidz/crossbridge | 1 | 6893 | <filename>llvm-gcc-4.2-2.9/gcc/ada/a-coinve.adb
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
oeis/091/A091722.asm | neoneye/loda-programs | 11 | 84516 | ; A091722: Babylonian sexagesimal (base 60) expansion of 1/13.
; Submitted by <NAME>
; 4,36,55,23,4,36,55,23,4,36,55,23,4,36,55,23,4,36,55,23,4,36,55,23,4,36,55,23,4,36,55,23,4,36,55,23,4,36,55,23,4,36,55,23,4,36,55,23,4,36,55,23,4,36,55,23,4,36,55,23,4,36,55,23,4,36,55,23,4,36,55,23,4,36,55
mov $1,2
mov $2,1
lpb $0
... |
src/game_level/game_level_ui.asm | TypeDefinition/NautiBuoy | 2 | 167074 | INCLUDE "./src/include/hardware.inc"
INCLUDE "./src/include/util.inc"
INCLUDE "./src/definitions/definitions.inc"
; UI Tile Index
DEF UTI_PLAYER_HP EQU $07
DEF UTI_NUM_ENEMIES EQU $0A
DEF UTI_GAME_TIMER EQU $01
DEF UTI_SPEED_POWERUP EQU $0F
DEF UTI_TORPEDO_POWERUP EQU $10
DEF UTI_INVINCIBILITY_POWERUP EQU $11
SECTION... |
lib/resources/graphqloperation.g4 | guypeled76/petitparser_extras | 0 | 2407 | grammar GraphqlOperation;
import GraphqlCommon;
operationDefinition:
selectionSet |
operationType name? variableDefinitions? directives? selectionSet;
variableDefinitions : '(' variableDefinition+ ')';
variableDefinition : variable ':' type defaultValue?;
selectionSet : '{' selection+ '}';
selection :
field |
f... |
1571/64tass/lccseek.asm | silverdr/assembly | 23 | 175450 | ;
;
;
seak ldx #90 ; search 90 headers
stx tmp
;
ldx #0 ; read in 8 gcr bytes
;
lda #$52 ; header block id
sta stab
;
seek10 jsr sync ; find sync char
;
bvc * ; wait for block id
clv
;
lda data2
cmp stab... |
test/Succeed/Issue709.agda | shlevy/agda | 3 | 14870 | <filename>test/Succeed/Issue709.agda
-- {-# OPTIONS --sized-types #-} -- no longer necessary
-- {-# OPTIONS --termination-depth=2 #-} -- not necessary!
-- {-# OPTIONS -v tc.size.solve:60 --show-implicit #-}
-- {-# OPTIONS -v term:5 #-}
module Issue709 where
open import Common.Size
data Bool : Set where true false : B... |
examples/STM32F4_DISCO/accelerometer/src/main.adb | morbos/Ada_Drivers_Library | 2 | 17455 | <filename>examples/STM32F4_DISCO/accelerometer/src/main.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- ... |
programs/oeis/100/A100160.asm | neoneye/loda | 22 | 12412 | ; A100160: Structured disdyakis triacontahedral numbers (vertex structure 5).
; 1,62,299,828,1765,3226,5327,8184,11913,16630,22451,29492,37869,47698,59095,72176,87057,103854,122683,143660,166901,192522,220639,251368,284825,321126,360387,402724,448253,497090,549351,605152,664609,727838,794955,866076,941317,1020794,11046... |
examples/antlr4/Cpp/src/antlr4/TParser.g4 | movelazar/rules_antlr | 25 | 3774 | parser grammar TParser;
options {
tokenVocab = TLexer;
}
// These are all supported parser sections:
// Parser file header. Appears at the top in all parser related files. Use e.g. for copyrights.
@parser::header {/* parser/listener/visitor header section */}
// Appears before any #include in h + cpp files.
@parse... |
code/5/move3.asm | GeekHades1/AssemblyCode | 1 | 96601 | <filename>code/5/move3.asm
; move2 的增强
; 使用段超越的方式来减少代码量
assume cs:code
code segment
mov bx, 0
mov cx, 6
mov ax, 0ffffh
mov ds, ax
mov ax, 0020h
mov es, ax ; 段超越
s: mov dx, [bx]
mov es:[bx], dx
inc bx
inc bx
loop s
mov ax, 4c00h
int 21h
code ends
e... |
TEST2/test2.asm | CodyKelly-UCD/CSCI-2525 | 0 | 93860 | TITLE: test2.asm
INCLUDE Irvine32.inc
ClearEAX textequ <mov eax, 0>
ClearEBX textequ <mov ebx, 0>
ClearECX textequ <mov ecx, 0>
ClearEDX textequ <mov edx, 0>
ClearESI textequ <mov esi, 0>
ClearEDI textequ <mov edi, 0>
.data
userChoice byte 0
mainMenuPrompt byte 'MAIN MENU', 0Ah, 0Dh,
'1. Play new game', 0Ah, 0Dh,
'2... |
oeis/160/A160220.asm | neoneye/loda-programs | 11 | 88306 | <gh_stars>10-100
; A160220: Numerator of Hermite(n, 19/28).
; Submitted by <NAME>
; 1,19,-31,-15485,-257759,19383059,873485761,-28992725309,-2947706709055,34914759096979,11062889692388641,73329048495226499,-46309928432170516511,-1224828484332785265005,212723654088018032104961,10763608149690668144341699,-104630653119342... |
programs/oeis/135/A135072.asm | karttu/loda | 0 | 26991 | <reponame>karttu/loda
; A135072: Minimal values of m associated with A135061.
; 1,3,4,6,9,13,15,19,23,28,36,37,44,50,52,57,63,73,78,87,90,96,104,109,115,123,133,139,147,157,162,169,178,189,195,202,212,224,230,251,248,260,278,284,294,310,309,316,325,337,351,371,376,385,399,401,419,427,437,451,469,472,480,490,503,519,540... |
Transynther/x86/_processed/P/_zr_/i3-7100_9_0xca_notsx.log_5_1832.asm | ljhsiun2/medusa | 9 | 175541 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1d482, %rax
nop
nop
nop
nop
nop
cmp %r12, %r12
mov (%rax), %r8w
inc %rsi
lea addresses_normal_ht+0x1d902, %r12
nop
nop
nop
nop
cmp $26397, %r8
movl $0x61626364, (%r12)
xor %r... |
libsrc/_DEVELOPMENT/math/float/math48/lm/z80/asm_dsub_s.asm | meesokim/z88dk | 0 | 21026 |
SECTION code_fp_math48
PUBLIC asm_dsub_s
EXTERN am48_dsub_s
defc asm_dsub_s = am48_dsub_s
|
alloy4fun_models/trashltl/models/5/QWzjoT2LF8kgtLjC8.als | Kaixi26/org.alloytools.alloy | 0 | 3091 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idQWzjoT2LF8kgtLjC8_prop6 {
all f:File | f in Trash implies (always f in Trash)
}
pred __repair { idQWzjoT2LF8kgtLjC8_prop6 }
check __repair { idQWzjoT2LF8kgtLjC8_prop6 <=> prop6o } |
ch06/6_2.asm | zzb610/asm-learn | 0 | 20520 | assume cs:code
code segment
dw 0123h, 0456h, 0789h, 0abch, 0defh, 0fedh, 0cbah, 0987h
start:
mov bx, 0
mov ax, 0
s:
add ax, cs:[bx]
add bx, 2
loop s
mov ax, 4c00h
int 21
code ends
end start |
file_crypter.ads | python36/vibecrypt | 0 | 30632 | with byte_package; use byte_package;
with raiden;
package file_crypter is
subtype key_s is raiden.key_s;
type mode is (encrypt, decrypt);
procedure init_key(key : raiden.key_s);
procedure file_crypt(in_file : byte_io.File_Type; out_file : out byte_io.File_Type; mode_crypt : mode);
end file_crypter;
|
flame32-libs/unit-tests/test-mov-1.asm | drako0812/flame32 | 2 | 240254 | <gh_stars>1-10
#include "../../flame32.asm"
; Tests MOV
lod 0x12345678
mov B, A
|
programs/oeis/031/A031378.asm | neoneye/loda | 22 | 165055 | <reponame>neoneye/loda
; A031378: a(n) = prime(4*n - 2).
; 3,13,29,43,61,79,101,113,139,163,181,199,229,251,271,293,317,349,373,397,421,443,463,491,521,557,577,601,619,647,673,701,733,757,787,821,839,863,887,929,953,983,1013,1033,1061,1091,1109,1151,1181,1213,1231,1277,1291,1307,1361,1399,1429,1451,1481,1493,1531,1559,... |
programs/oeis/094/A094012.asm | neoneye/loda | 22 | 167092 | <gh_stars>10-100
; A094012: Expansion of x(1-6x+10x^2)/(1-4x+2x^2)^2.
; 0,1,2,6,24,100,408,1624,6336,24336,92320,346720,1291392,4776512,17562496,64245120,233969664,848748800,3068269056,11057710592,39740405760,142466343936,509572929536,1818872207360,6480018948096,23046008934400,81831356112896,290135484555264,10272728213... |
oeis/195/A195062.asm | neoneye/loda-programs | 11 | 2797 | ; A195062: Period 7: repeat [1, 0, 1, 0, 1, 0, 1].
; Submitted by <NAME>
; 1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,1,0
mod $0,7
add $0,1
mod $0,2
|
oeis/079/A079935.asm | neoneye/loda-programs | 11 | 3953 | <filename>oeis/079/A079935.asm
; A079935: a(n) = 4*a(n-1) - a(n-2) with a(1) = 1, a(2) = 3.
; 1,3,11,41,153,571,2131,7953,29681,110771,413403,1542841,5757961,21489003,80198051,299303201,1117014753,4168755811,15558008491,58063278153,216695104121,808717138331,3018173449203,11263976658481,42037733184721,156886956080403,58... |
src/test/resources/testData/parse/handlers/left_associate.scpt | stigger/AppleScript-IDEA | 18 | 1817 | <reponame>stigger/AppleScript-IDEA
tell application "App Store"
character "" exists
character exists
"" exists
ddjdjdj exists
end tell |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/mak.lzh/mak/kart-apu-j.asm | prismotizm/gigaleak | 0 | 15704 | Name: kart-apu-j.asm
Type: file
Size: 33825
Last-Modified: '1993-04-13T08:06:59Z'
SHA-1: 51BE152C871C014D36AD708242749C815DC0E02C
Description: null
|
oeis/185/A185009.asm | neoneye/loda-programs | 11 | 100914 | <filename>oeis/185/A185009.asm
; A185009: Row sums of A051949 (differences of factorial numbers), seen as a triangle.
; 0,5,45,351,2847,25047,241047,2534247,28984167,358842087,4785978087,68453274087,1045616538087,16993016806887,292825130163687,5333909818803687,102415654899123687,2067588695129523687,43785455761653171687... |
examples/outdated-and-incorrect/NBE.agda | asr/agda-kanso | 1 | 12824 | <reponame>asr/agda-kanso
-- NBE for Gödel System T
module NBE where
module Prelude where
-- Zero and One -----------------------------------------------------------
data Zero : Set where
data One : Set where
unit : One
-- Natural numbers --------------------------------------------------------
data... |
out/GroupAction/Signature.agda | JoeyEremondi/agda-soas | 39 | 12613 | <reponame>JoeyEremondi/agda-soas<filename>out/GroupAction/Signature.agda
{-
This second-order signature was created from the following second-order syntax description:
syntax GroupAction | GA
type
* : 0-ary
X : 0-ary
term
unit : * | ε
add : * * -> * | _⊕_ l20
neg : * -> * | ⊖_ r40
act : * X ->... |
Task/Bitmap-Write-a-PPM-file/Ada/bitmap-write-a-ppm-file.ada | LaudateCorpus1/RosettaCodeData | 1 | 8093 | <gh_stars>1-10
with Ada.Characters.Latin_1;
with Ada.Streams.Stream_IO; use Ada.Streams.Stream_IO;
procedure Put_PPM (File : File_Type; Picture : Image) is
use Ada.Characters.Latin_1;
Size : constant String := Integer'Image (Picture'Length (2)) & Integer'Image (Picture'Length (1));
Buffer : String (1..Pict... |
Ada/DataStructures/BinTree/generic_binary_tree.ads | egustafson/sandbox | 2 | 13326 | with Ada.Text_IO;
use Ada.Text_IO;
generic
type Element_Type is private;
with function Less_Than( Left, Right : in Element_Type ) return Boolean;
with function Greater_Than( Left, Right : in Element_Type ) return Boolean;
with procedure Put( Item: in Element_Type );
package Generic_Binary_Tree is
... |
bootdict/tc/sig-handler.asm | ikysil/ikforth | 8 | 20933 | ; SIG-HANDLER
; D: signal-id -- signal-id
$DEFER 'SIG-HANDLER',$SIG_HANDLER,$PSIG_HANDLER
; (SIG-HANDLER)
; D: signal-id -- signal-id
$COLON '(SIG-HANDLER)',$PSIG_HANDLER,VEF_USUAL
$END_COLON
|
programs/oeis/070/A070435.asm | neoneye/loda | 22 | 3163 | <gh_stars>10-100
; A070435: a(n) = n^2 mod 12, or alternately n^4 mod 12.
; 0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9
pow $0,2
mod $0,12
|
src/tom/engine/parser/tomjava/TomJavaParser.g4 | rewriting/tom | 36 | 6534 | /*
[The "BSD licence"]
Copyright (c) 2013 <NAME>, <NAME>
Copyright (c) 2017 <NAME> (upgrade to Java 8)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retai... |
cat.asm | vdthatte/Operating-Systems-Class-CS-UY-3224 | 1 | 100349 |
_cat: file format elf32-i386
Disassembly of section .text:
00000000 <cat>:
char buf[512];
void
cat(int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
int n;
while((n = read(fd, buf, sizeof(buf))) > 0)
6: eb 15 ... |
programs/oeis/173/A173209.asm | neoneye/loda | 22 | 178910 | <reponame>neoneye/loda
; A173209: Partial sums of A000069.
; 1,3,7,14,22,33,46,60,76,95,116,138,163,189,217,248,280,315,352,390,431,473,517,564,613,663,715,770,826,885,946,1008,1072,1139,1208,1278,1351,1425,1501,1580,1661,1743,1827,1914,2002,2093,2186,2280,2377,2475,2575
lpb $0
mov $2,$0
sub $0,1
seq $2,128309 ;... |
src/asis/asis-declarations.ads | My-Colaborations/dynamo | 15 | 1511 | <filename>src/asis/asis-declarations.ads
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT INTERFACE COMPONENTS --
-- ... |
Antlr2BGF/AntlrParser/ANTLRv4Parser.g4 | EwoutWal/ANTLR-Extractor | 0 | 7524 | /*
* [The "BSD license"]
* Copyright (c) 2012-2014 <NAME>
* Copyright (c) 2012-2014 <NAME>
* Copyright (c) 2015 <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. R... |
FoldingTextInbox.lbaction/Contents/Scripts/Inbox.scpt | raguay/MyLaunchBarActions | 29 | 1858 | <gh_stars>10-100
property pTitle : "Add Message to @inbox tag"
property pVer : "0.1"
property pAuthor : "<NAME>"
property pDescription : "
1. Looks for a node with the @inbox tag,
2. add the message given to that point
"
property addMessage : "
function(editor, options) {
var tree=editor.tree(), q = options.to... |
oeis/182/A182541.asm | neoneye/loda-programs | 11 | 6055 | <gh_stars>10-100
; A182541: Coefficients in g.f. for certain marked mesh patterns.
; Submitted by <NAME>
; 1,4,19,107,702,5274,44712,422568,4407120,50292720,623471040,8344624320,119938250880,1842662908800,30136443724800,522780938265600,9587900602828800,185371298306611200,3768248516336640000,80349669847157760000,1793238... |
05/3/3-b even odd.asm | AbstractXan/ComputerSystemDesignLab | 0 | 173400 | <gh_stars>0
// Infinite program
//Store address at 2
@3
D=A
@2
M=D
//Begin at 3
@3
D=A
(LOOP)
//and at unit's place
A=D
D=1
D=M&D
//update evens and odds
A=D
M=M+1
//retrieve address
@2
M=M+1
D=M
@LOOP
0;JMP
|
Delfino/SingleCore/SmartWinch/DCL/source/DCL_PID.asm | vlad314/FYP_SmartWinch | 0 | 86437 | <reponame>vlad314/FYP_SmartWinch<filename>Delfino/SingleCore/SmartWinch/DCL/source/DCL_PID.asm
; DCL_PID.asm - PID controller
; version 1.0, August 2015
; C prototype:
; float DCL_runPID(PID *p, float rk, float yk, float lk)
; argument 1 = *p : 32-bit PID structure address [XAR4]
; argument 2 = rk : 32-bit floating-po... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/rep_clause3.adb | best08618/asylo | 7 | 26780 | -- { dg-do compile }
-- { dg-options "-gnatws" }
procedure Rep_Clause3 is
subtype U_16 is integer range 0..2**16-1;
type TYPE1 is range 0 .. 135;
for TYPE1'size use 14;
type TYPE2 is range 0 .. 262_143;
for TYPE2'size use 18;
subtype TYPE3 is integer range 1 .. 21*6;
type ARR is array (TYPE3 ... |
Universe/Sun/TransposeSunXX12BySunToSunXX15.asm | ped7g/EliteNext | 9 | 172342 | <filename>Universe/Sun/TransposeSunXX12BySunToSunXX15.asm<gh_stars>1-10
TransposeSXX12BySunToSXX15:
ld hl,(SBnKXX12xLo) ; get X into HL
ld a,h ; get XX12 Sign
and $80 ; check sign bit on high byte
... |
mat/src/mat-readers.ads | stcarrez/mat | 7 | 19198 | <reponame>stcarrez/mat<filename>mat/src/mat-readers.ads
-----------------------------------------------------------------------
-- mat-readers -- Reader
-- Copyright (C) 2014, 2015 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this fi... |
source/asis/spec/ada-numerics-generic_elementary_functions.ads | faelys/gela-asis | 4 | 21878 | <reponame>faelys/gela-asis
------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2051.asm | ljhsiun2/medusa | 9 | 172292 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x8633, %rdx
clflush (%rdx)
nop
nop
nop
nop
xor %rdi, %rdi
vmovups (%rdx), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $0, %xmm7, %r13
nop
nop
nop
nop
n... |
programs/oeis/036/A036216.asm | jmorken/loda | 1 | 1082 | ; A036216: Expansion of 1/(1 - 3*x)^4; 4-fold convolution of A000244 (powers of 3).
; 1,12,90,540,2835,13608,61236,262440,1082565,4330260,16888014,64481508,241805655,892820880,3252418920,11708708112,41712272649,147219785820,515269250370,1789882659180,6175095174171,21171754882872,72176437100700,244772264950200,826106394... |
programs/oeis/143/A143689.asm | neoneye/loda | 22 | 19124 | ; A143689: a(n) = (3*n^2 - n + 2)/2.
; 1,2,6,13,23,36,52,71,93,118,146,177,211,248,288,331,377,426,478,533,591,652,716,783,853,926,1002,1081,1163,1248,1336,1427,1521,1618,1718,1821,1927,2036,2148,2263,2381,2502,2626,2753,2883,3016,3152,3291,3433,3578,3726,3877,4031,4188,4348,4511,4677,4846,5018,5193,5371,5552,5736,5923... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_15590_350.asm | ljhsiun2/medusa | 9 | 81238 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x187d1, %rsi
nop
nop
cmp %r8, %r8
mov $0x6162636465666768, %r9
movq %r9, (%rsi)
nop
nop
xor $9354, %rcx
lea addresses_UC_ht+0x1c982, %r10
nop
nop
nop
nop
sub %r8, %r8
mov $0x616... |
tools/src/tool-data.ads | fjudith/sql-benchmark | 24 | 22970 | -----------------------------------------------------------------------
-- tool-data -- Perf data representation
-- Copyright (C) 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- ... |
assignment/assignment1/main/mc/parser/MC.g4 | khoidohpc/ppl-course | 2 | 2705 | <reponame>khoidohpc/ppl-course<filename>assignment/assignment1/main/mc/parser/MC.g4<gh_stars>1-10
grammar MC;
@lexer::header {
from lexererr import *
}
@lexer::members {
def emit(self):
tk = self.type
if tk == self.UNCLOSE_STRING:
result = super().emit();
raise UncloseString(result.text... |
tools/ucd_data.ads | svn2github/matreshka | 24 | 19030 | <filename>tools/ucd_data.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
dino/lcs/enemy/7D.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 19510 | <gh_stars>1-10
copyright zengfr site:http://github.com/zengfr/romhack
00492A move.b D0, ($7d,A6)
00492E move.b D0, ($87,A6)
011F2C tst.b ($7d,A3) [enemy+6C]
011F30 bpl $11f3a [enemy+7D]
02AC30 tst.b ($7d,A6)
02AC34 bmi $2ac6e
02B0EE tst.b ($7d,A6)
02B0F2 bpl $2b150
03246C move.b ($7d... |
oeis/021/A021737.asm | neoneye/loda-programs | 11 | 88951 | <gh_stars>10-100
; A021737: Decimal expansion of 1/733.
; Submitted by <NAME>(s1.)
; 0,0,1,3,6,4,2,5,6,4,8,0,2,1,8,2,8,1,0,3,6,8,3,4,9,2,4,9,6,5,8,9,3,5,8,7,9,9,4,5,4,2,9,7,4,0,7,9,1,2,6,8,7,5,8,5,2,6,6,0,3,0,0,1,3,6,4,2,5,6,4,8,0,2,1,8,2,8,1,0,3,6,8,3,4,9,2,4,9,6,5,8,9,3,5,8,7,9,9
add $0,1
mov $2,10
pow $2,$0
div $2,... |
src/static/antlr4/grammars/NumericLiteralB1.g4 | jlenoble/ecmascript-parser | 0 | 1320 | <reponame>jlenoble/ecmascript-parser
/* Source: ECMAScript® 2018 Language Specification - Annex B-1 */
lexer grammar NumericLiteralB1;
// B.1.1 Numeric Literals
// The syntax and semantics of 11.8.3 is extended as follows except that this
// extension is not allowed for strict mode code:
// Syntax
// NumericLiteral... |
bank25.asm | alexsteb/zelda_gb_disassembly | 3 | 105065 | ldh a, [$ff00 + $00]
ld c, b
nop
ldh a, [$ff00 + $08]
ld c, b
jr nz, 0.l_4009
nop
ld c, d
nop
nop
ld [$204a], sp
ldh a, [$ff00 + $00]
ld a, b
nop
ldh a, [$ff00 + $08]
ld a, b
jr nz, 0.l_4019
nop
ld a, d
nop
nop
ld [$207a], sp
ld d, $00
ld hl, $c2b0
add hl, bc
ld a, [hl... |
src/lv-objx-win.ads | Fabien-Chouteau/ada-lvlg | 3 | 25491 | <reponame>Fabien-Chouteau/ada-lvlg
with Lv.Style;
with Lv.Area;
with Lv.Objx.Page;
with Lv.Objx.Btn;
with Lv.Objx.Cont;
with System;
package Lv.Objx.Win is
subtype Instance is Obj_T;
type Style_T is (Style_Bg,
Style_Content_Bg,
Style_Content_Scrl,
Sty... |
programs/oeis/205/A205565.asm | jmorken/loda | 1 | 8741 | ; A205565: Number of ways of writing n = u + v with u <= v, and u,v having in ternary representation no 3.
; 1,1,1,1,2,1,1,1,1,1,2,1,2,4,2,1,2,1,1,1,1,1,2,1,1,1,1,1,2,1,2,4,2,1,2,1,2,4,2,4,8,4,2,4,2,1,2,1,2,4,2,1,2,1,1,1,1,1,2,1,1,1,1,1,2,1,2,4,2,1,2,1,1,1,1,1,2,1,1,1,1,1,2,1,2,4,2,1,2,1,2,4,2,4,8,4,2,4,2,1,2,1,2,4,2,1... |
alloy4fun_models/trashltl/models/18/47P42hxNm6CZFtaov.als | Kaixi26/org.alloytools.alloy | 0 | 2357 | open main
pred id47P42hxNm6CZFtaov_prop19 {
all f : Protected | f in Trash implies historically f in Protected
}
pred __repair { id47P42hxNm6CZFtaov_prop19 }
check __repair { id47P42hxNm6CZFtaov_prop19 <=> prop19o } |
test/adcx.asm | killvxk/AssemblyLine | 147 | 167810 | <filename>test/adcx.asm
SECTION .text
GLOBAL test
test:
adcx r10, r14
adcx r10, rbp
adcx r11, r14
adcx r11, r9
adcx r12, r11
adcx r12, r9
adcx r12, r9
adcx r12, rax
adcx r12, rbx
adcx r12, [ rsp + 0x20 ]
adcx r13, r9
adcx r13, rbp
adcx r13, rsi
adcx r14, r11
adcx r14, rbp
adcx r14, rcx
adcx r15, r12
adcx r15, r13
adcx ... |
src/vocoder_asm.asm | mgp123/PitchShifter | 0 | 100591 | section.text:
global vocoder_asm
extern precalcular_hanning
extern ditfft2_asm
extern iditfft2_asm
vocoder_asm:
;void vocoder_asm(float* modulator, float* carrier, unsigned int window_size, float* buffer, int size)
push r12
push r13
push r14
push r15
push rbx
mov r12, rdi
mov r13, rsi
mov edx, edx
mov r14, ... |
test/Succeed/SubTermAndProjections.agda | cruhland/agda | 1,989 | 10820 | {- Reported by <NAME>, 2011-07-06
From the release notes for Agda 2.2.10:
"Projections now preserve sizes, both in patterns and expressions."
However, the following code is rejected:
-}
module SubTermAndProjections where
record _×_ (A B : Set) : Set where
constructor _,_
field
proj₁ : A
proj₂ : B
op... |
oeis/031/A031169.asm | neoneye/loda-programs | 11 | 81763 | <reponame>neoneye/loda-programs
; A031169: a(n) = prime(n+7) - prime(n).
; Submitted by <NAME>(s2)
; 17,20,24,24,26,28,26,28,30,30,30,30,30,30,32,30,30,36,34,32,34,30,30,38,34,36,36,42,42,44,36,36,36,40,32,40,36,34,32,38,44,46,38,40,42,42,40,34,36,40,38,38,40,32,36,44,42,42,40,50,54,54,42,42,46,50,42,42,36,40,44,42,42,... |
agda/paper/2009-Dependent_Types_at_Work-Bove_and_Dybjer/range.agda | haroldcarr/learn-haskell-coq-ml-etc | 36 | 5716 | <reponame>haroldcarr/learn-haskell-coq-ml-etc
-- https://stackoverflow.com/questions/61037572/how-to-define-the-range-function-on-a-relation-in-agda-set-theory
module range where
open import Data.Unit
open import Data.Product renaming (_,_ to ⟨_,_⟩)
open import Data.Sum
open import Function
Subset : Set → Set₁
Subse... |
AlphaParser.g4 | Baxi19/Alpha | 4 | 5676 | //--------------------------------------------------------------
parser grammar AlphaParser;
//--------------------------------------------------------------
options {
tokenVocab = AlphaScanner;
}
@header {
import parser.TablaSimbolos;
}
@members {
private parser.TablaSimbolos symbols = new parser.TablaS... |
Library/Breadbox/ExtGraph/ASMTOOLS/asmtoolsManager.asm | steakknife/pcgeos | 504 | 86784 | <gh_stars>100-1000
include stdapp.def
include gstring.def
SetGeosConvention ; set calling convention
global PALGSTRINGCOLELEMENT: far
idata segment
global MY_GRPARSEGSTRING:far
;---------------------------------------------------------------------------
_MYPARSEGSTRING_callback ... |
libsrc/_DEVELOPMENT/l/sdcc/____sdcc_ldi_256.asm | jpoikela/z88dk | 640 | 28100 |
SECTION code_clib
SECTION code_l_sdcc
PUBLIC ____sdcc_ldi_256
EXTERN l_ldi_256
defc ____sdcc_ldi_256 = l_ldi_256
|
src/Basics/Bool.agda | jstolarek/dep-typed-wbl-heaps | 1 | 6506 | ----------------------------------------------------------------------
-- Copyright: 2013, <NAME>, Lodz University of Technology --
-- --
-- License: See LICENSE file in root of the repo --
-- Repo address: https://github.com/jstola... |
os/windows/x86_64/fpu/fpu_cmp_olt_32.asm | hcs64/cen64 | 340 | 84565 | <gh_stars>100-1000
;
; os/windows/x86_64/fpu/fpu_cmp_olt_32.asm
;
; This file is subject to the terms and conditions defined in
; 'LICENSE', which is part of this source code package.
;
.code
fpu_cmp_olt_32 proc
movss xmm0, DWORD PTR [rcx]
movss xmm1, DWORD PTR [rdx]
comiss xmm1, xmm0
seta dl
setnp al
and ... |
programs/oeis/280/A280211.asm | neoneye/loda | 22 | 244690 | ; A280211: a(n) = n*(2^(n^2)).
; 0,2,32,1536,262144,167772160,412316860416,3940649673949184,147573952589676412928,21760664753063325144711168,12676506002282294014967032053760
mov $1,$0
pow $1,2
lpb $1
mul $0,2
sub $1,1
lpe
|
src/ada-core/src/linted-errors.ads | mstewartgallus/linted | 0 | 28194 | <gh_stars>0
-- Copyright 2015,2016 <NAME>
--
-- 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 a... |
oeis/141/A141919.asm | neoneye/loda-programs | 11 | 99510 | ; A141919: Primes congruent to 15 mod 23.
; Submitted by <NAME>
; 61,107,199,337,383,521,613,659,751,797,1303,1487,1579,1901,1993,2039,2131,2269,2591,2683,2729,3373,3511,3557,3833,4201,4339,4523,4799,4937,5167,5351,5443,5581,5857,5903,6133,6271,6317,6547,6823,6869,6961,7237,7283,7559,7789,7927,8111,8387,8663,8893,9491,... |
programs/oeis/238/A238411.asm | karttu/loda | 1 | 88912 | ; A238411: a(n) = 2*n*floor(n/2).
; 0,4,6,16,20,36,42,64,72,100,110,144,156,196,210,256,272,324,342,400,420,484,506,576,600,676,702,784,812,900,930,1024,1056,1156,1190,1296,1332,1444,1482,1600,1640,1764,1806,1936,1980,2116,2162,2304,2352,2500
add $0,1
mov $1,$0
div $0,2
mul $1,$0
mul $1,2
|
eBindings/dl/tests/dl-test_all.adb | persan/zeromq-Ada | 33 | 9528 | with AUnit.Run;
-- with AUnit.Reporter.Text;
with AUnit.Reporter.XML;
with Dl.Test_All_Suit;
-----------------
-- Dl.Test_All --
-----------------
procedure Dl.Test_All is
procedure Run is new AUnit.Run.Test_Runner (Dl.Test_All_Suit.Suite);
-- Reporter : AUnit.Reporter.Text.Text_Reporter;
Reporter : AUnit.... |
sum-thms.agda | heades/AUGL | 0 | 692 | module sum-thms where
open import eq
open import sum
open import list
open import product
open import empty
open import negation
inj₁-inj : ∀{ℓ ℓ'}{A : Set ℓ}{B : Set ℓ'}{x : A}{x'} → inj₁{ℓ}{ℓ'}{A}{B} x ≡ inj₁ x' → x ≡ x'
inj₁-inj refl = refl
⊎-assoc-iso₁ : ∀{ℓ}{U V W : Set ℓ}{x : U ⊎ V ⊎ W} → ⊎-assoc-inv (⊎-assoc ... |
programs/oeis/301/A301293.asm | neoneye/loda | 22 | 19563 | <gh_stars>10-100
; A301293: Expansion of (x^2+x+1)^2 / ((x^2+1)*(x-1)^2).
; 1,4,9,14,18,22,27,32,36,40,45,50,54,58,63,68,72,76,81,86,90,94,99,104,108,112,117,122,126,130,135,140,144,148,153,158,162,166,171,176,180,184,189,194,198,202,207,212,216,220,225,230,234,238,243,248,252,256,261,266,270,274,279,284,288,292,297,30... |
programs/oeis/266/A266286.asm | neoneye/loda | 22 | 97580 | ; A266286: Number of OFF (white) cells in the n-th iteration of the "Rule 13" elementary cellular automaton starting with a single ON (black) cell.
; 0,2,3,3,6,4,9,5,12,6,15,7,18,8,21,9,24,10,27,11,30,12,33,13,36,14,39,15,42,16,45,17,48,18,51,19,54,20,57,21,60,22,63,23,66,24,69,25,72,26,75,27,78,28,81,29,84,30,87,31,90... |
src/main/antlr/cadl.g4 | nedap/adl-antlr | 0 | 6032 | //
// description: Antlr4 grammar for cADL non-primitves sub-syntax of Archetype Definition Language (ADL2)
// author: <NAME> <<EMAIL>>
// support: openEHR Specifications PR tracker <https://openehr.atlassian.net/projects/SPECPR/issues>
// copyright: Copyright (c) 2015 openEHR Foundation
// license: Apac... |
dv3/qpc/hd/wsect.asm | olifink/smsqe | 0 | 98638 | ; DV3 QPC Hard Disk Write Sector 1993 <NAME>
; 2000 <NAME>
section dv3
xdef hd_wdirect ; direct write sector
xdef hd_wsint ; internal write sector
xref hd_hold ; reserve the interface
xref hd_release ; release the interface
include 'dev8_keys_err'
include 'dev8_dv3_keys'
include 'dev8_dv... |
experiments/test-suite/mutation-based/10/6/fullTree.als | kaiyuanw/AlloyFLCore | 1 | 3847 | pred test2 {
some disj Node0, Node1: Node {
Node = Node0 + Node1
left = Node0->Node1 + Node1->Node1
right = Node0->Node1
}
}
run test2 for 3 expect 1
pred test43 {
some disj Node0, Node1: Node {
Node = Node0 + Node1
left = Node1->Node1
right = Node0->Node1 + Node1->Node1
}
}
run test43 for 3 expect 1
pred test33 {
some... |
samples/beans/messages.adb | jquorning/ada-asf | 12 | 21733 | <filename>samples/beans/messages.adb<gh_stars>10-100
-----------------------------------------------------------------------
-- messages - A simple memory-based forum
-- Copyright (C) 2012, 2014 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.