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 |
|---|---|---|---|---|
lang/compiler-theory/src/test/resources/antlr/samples/CSV.g4 | zizhizhan/jvm-snippets | 0 | 6995 | <filename>lang/compiler-theory/src/test/resources/antlr/samples/CSV.g4
grammar CSV;
file : hdr row+ ;
hdr : row ;
row : field (',' field)* '\r'? '\n' ;
field
: TEXT
| STRING
|
;
TEXT : ~[,\n\r"]+ ;
STRING : '"' ('""'|~'"')* '"' ; |
Aula03/IfMaior.asm | IgorGabrielTon/AssemblyX64 | 0 | 89677 | segment .data
Write equ 0x4
Read equ 0x3
ConsoleWrite equ 0x1
ConsoleRead equ 0x0
PularLinha equ 0xA
FimDoTexto equ 0xD
ExecutarCmd equ 0x80
SairApp equ 0x1
SemErros equ 0x0
LimiteChar ... |
programs/oeis/213/A213809.asm | karttu/loda | 0 | 87184 | <filename>programs/oeis/213/A213809.asm
; A213809: Position of the maximum element in the simple continued fraction of Fibonacci(n+1)^5/Fibonacci(n)^5.
; 1,1,1,1,3,3,3,3,3,5,5,3,5,5,5,5,5,5,5,7,7,5,7,7,7,7,7,7,7,9,9,7,9,9,9,9,9,9,9,11,11,9,11,11,11,11,11,11,11,13,13,11,13,13,13,13,13,13,13,15,15,13,15,15,15,15,15,15,15... |
projects/lua-parser/src/org/luaparser/Luazinha.g4 | UFSCar-CS/compilers-2013-1 | 0 | 4701 | /*
* Declaracao da gramatica da linguagem de programacao LUA.
*
* Data de criacao: 12/07/2013
* Ultima modificacao: 12/07/2013
*
* Grupo:
* <NAME> 316520
* <NAME> 407917
*
*/
grammar Luazinha;
@members{
PilhaDeTabelas pilhaDeTabelas = new PilhaDeTabelas();
}
programa
:
{ pilhaDeTa... |
programs/oeis/132/A132758.asm | neoneye/loda | 22 | 14942 | ; A132758: a(n) = n*(n + 31)/2.
; 0,16,33,51,70,90,111,133,156,180,205,231,258,286,315,345,376,408,441,475,510,546,583,621,660,700,741,783,826,870,915,961,1008,1056,1105,1155,1206,1258,1311,1365,1420,1476,1533,1591,1650
mov $1,$0
add $1,31
mul $0,$1
div $0,2
|
mc-sema/validator/x86/tests/PEXTRWmr.asm | randolphwong/mcsema | 2 | 104611 | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_SF|FLAG_PF
;TEST_FILE_META_END
mov eax, 0
mov ecx, 0
;TEST_BEGIN_RECORDING
lea ebx, [esp-4]
mov dword [ebx], 0
lea ecx, [esp-0x30]
and ecx, 0xFFFFFFF0
mov dword [ecx+0x00], 0xAAAAAAAA
mov dword [ecx+0x04], 0xBBBBBBBB
mov dword [ecx+0x08], 0xCCCCC... |
software/hal/boards/components/LSM303D/LSM303D.ads | TUM-EI-RCS/StratoX | 12 | 16918 | <gh_stars>10-100
-- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
-- Module: LSM303D Driver
--
-- Authors: <NAME> (<EMAIL>)
--
-- Description: SPI Driver for the LSM303D
--
-- ToDo:
-- [ ] Implementation
package LSM303D is
end LSM303D; |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_19357_1505.asm | ljhsiun2/medusa | 9 | 162750 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1dc20, %rsi
lea addresses_normal_ht+0x16d81, %rdi
nop
nop
xor $50798, %r9
mov $45, %rcx
rep movsw
xor %rdx, %rdx
lea addresses_D_ht+0xace1, %rsi
lea addresses_A_ht+0xee77, %rdi
nop
nop
... |
oeis/017/A017466.asm | neoneye/loda-programs | 11 | 8526 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A017466: a(n) = (11*n + 6)^6.
; 46656,24137569,481890304,3518743761,15625000000,51520374361,139314069504,326940373369,689869781056,1340095640625,2436396322816,4195872914689,6906762437184,10942526586601,16777216000000,25002110044521,36343632130624,51682540549249,72074394... |
source/oasis/program-elements-extended_return_statements.ads | reznikmm/gela | 0 | 24801 | <filename>source/oasis/program-elements-extended_return_statements.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Statements;
with Program.Lexical_Elements;
with Program.Elements.Return_Object... |
src/port_specification-makefile.ads | kraileth/ravenadm | 18 | 9369 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Definitions; use Definitions;
private with Ada.Text_IO;
package Port_Specification.Makefile is
-- This generates a makefile from the specification based on given parameters
-- The variant must be "s... |
routines/flash.asm | jacobly0/Age-Of-CEmpires-I | 0 | 100965 | <gh_stars>0
assume ADL=0
FlashMbaseStart equ $ shr 16
fUnlockFlash:
ld a, 08Ch
out0 (024h), a
ld c, 4
in0 a, (006h)
or a, c
out0 (006h), a
out0 (028h), c
; Disable stack protector
xor a, a
out0 (03Ah), a
out0 (03Bh), a
out0 (03Ch), a
ret.l
fLockFlash:
xor a, a
out0 (028h), a
in0 a, (006h)
res 2, a
o... |
programs/oeis/228/A228221.asm | jmorken/loda | 1 | 178188 | ; A228221: Number of second differences of arrays of length 6 of numbers in 0..n.
; 63,665,3151,9705,23351,47953,88215,149681,238735,362601,529343,747865,1027911,1380065,1815751,2347233,2987615,3750841,4651695,5705801,6929623,8340465,9956471,11796625,13880751,16229513,18864415,21807801,25082855
mov $4,$0
mul $4,2
add ... |
programs/oeis/020/A020711.asm | karttu/loda | 0 | 26577 | <filename>programs/oeis/020/A020711.asm<gh_stars>0
; A020711: Pisot sequences E(5,7), P(5,7).
; 5,7,10,14,20,29,42,61,89,130,190,278,407,596,873,1279,1874,2746,4024,5897,8642,12665,18561,27202,39866,58426,85627,125492,183917,269543,395034,578950,848492,1243525,1822474,2670965,3914489,5736962,8407926,12322414,18059375,2... |
alloy4fun_models/trashltl/models/11/d9ofTnDDSLYKvwGor.als | Kaixi26/org.alloytools.alloy | 0 | 3340 | open main
pred idd9ofTnDDSLYKvwGor_prop12 {
eventually (File in Trash)
}
pred __repair { idd9ofTnDDSLYKvwGor_prop12 }
check __repair { idd9ofTnDDSLYKvwGor_prop12 <=> prop12o } |
src/test/ref/cstyle-decl-var.asm | jbrandwood/kickc | 2 | 241975 | // Test declarations of variables without definition
// Commodore 64 PRG executable file
.file [name="cstyle-decl-var.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Bas... |
unittests/ASM/VEX/pext.asm | fengjixuchui/FEX | 0 | 6080 | <gh_stars>0
%ifdef CONFIG
{
"RegData": {
"RAX": "0x12345678",
"RBX": "0xFF00FFF0",
"RCX": "0x00012567",
"RDX": "0x1234567812345678",
"RSI": "0xFF00FF00FF00FF00",
"RDI": "0x12561256"
}
}
%endif
; 32-bit
mov eax, 0x12345678
mov ebx, 0xFF00FFF0
pext ecx, eax, ebx
; 64-bit
mov rdx,... |
Assembly/fileformats/familiarname/familiar_battle.asm | WildGenie/Ninokuni | 14 | 90723 | <gh_stars>10-100
;;----------------------------------------------------------------------------;;
;; Use the new "long name" field.
;; Copyright 2014 <NAME> (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You... |
src/obfuscator.asm | krissemicolon/velcron | 4 | 99315 | ; NASM XOR Obfuscator
; void encrypt_xor(LPBYTE lpBuffor, DWORD dwSize, DWORD dwKey)
encrypt_xor:
push ebp
mov ebp,esp
%stacksize flat
%arg lpBuffor:dword, dwSize:dword, dwKey:dword
mov eax,[lpBuffor]
mov ecx,[dwSize]
mov edx,[dwKey]
next_byte:
xor [eax+ecx-1],dl
de... |
programs/oeis/283/A283623.asm | neoneye/loda | 22 | 7721 | ; A283623: a(n) = prime(n) + (1 + prime(1 + n))/2.
; 4,6,9,13,18,22,27,31,38,45,50,58,63,67,74,83,90,95,103,108,113,121,128,138,148,153,157,162,166,177,193,200,207,214,225,230,239,247,254,263,270,277,288,292,297,305,323,337,342,346,353,360,367,380,389,398,405,410,418,423,430,447,463,468,472,483,500,511,522,526,533,543,... |
unused/develop/obj/music_track_101__Data.asm | pau-tomas/gbvm | 33 | 2608 | ;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.4 #12246 (Mac OS X x86_64)
;--------------------------------------------------------
.module music_track_101__Data
.optsdcc -mgbz80
;-----------------------------------------------------... |
programs/bubbleSort.asm | bogas04/asm8085 | 1 | 169470 | <reponame>bogas04/asm8085
LXI H,5000 ;Set pointer for array
MOV C,M ;Load the Count
DCR C ;Decrement Count
REPEAT: MOV D,C
LXI H,5001
LOOP: MOV A,M ;copy content of memory location to Accumulator
INX H
CMP M
JC SKIP ;jump to skip if carry generated
MOV B,M ;copy content of memory ... |
bin/Alloy/models/cloudnet/LocationGraphs.als | ORANGE-XFM/Cloudnet-TOSCA-toolbox | 21 | 3551 | /******************************************************************************
*
* Software Name : Cloudnet TOSCA toolbox
* Version: 1.0
* SPDX-FileCopyrightText: Copyright (c) 2020 Orange
* SPDX-License-Identifier: Apache-2.0
*
* This software is distributed under the Apache License 2.0
* the text of which i... |
.emacs.d/elpa/wisi-3.1.3/wisitoken-generate-packrat.adb | caqg/linux-home | 0 | 425 | -- Abstract :
--
-- See spec.
--
-- Copyright (C) 2018 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Software Foundation; either version 3, or (at your option) any lat... |
sbsext/ut/lfloat.asm | olifink/smsqe | 0 | 161719 | * Float a long word in D1 onto the RI stack V0.2 1984 <NAME> QJUMP
* assumes enough space already there
*
section utils
*
xdef ut_lfla1
xdef ut_lfloat
xdef ut_rnorm
*
include dev8_sbsext_ext_keys
*
ut_lfla1
move.l bv_rip(a6),a1 set A1 to RI stack pointer... |
src/compiling/ANTLR/grammar/BlockItemDeclarations.g4 | jecassis/VSCode-SystemVerilog | 75 | 7076 | grammar BlockItemDeclarations;
import InterfaceDeclarations;
block_item_declaration : ( attribute_instance )* data_declaration
| ( attribute_instance )* local_parameter_declaration ';'
| ( attribute_instance )* parameter_declaration ';'
| ( attribute_instance )* let_declaration ;
|
test/asset/agda-stdlib-1.0/Data/Nat/WithK.agda | omega12345/agda-mode | 5 | 14881 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Natural number types and operations requiring the axiom K.
------------------------------------------------------------------------
{-# OPTIONS --with-K --safe #-}
module Data.Nat.WithK where
open import Data.... |
Task/Topological-sort/Ada/topological-sort-5.ada | LaudateCorpus1/RosettaCodeData | 1 | 26824 | with Ada.Text_IO, Digraphs, Set_Of_Names, Ada.Command_Line;
procedure Toposort is
-- shortcuts for package names, intantiation of generic package
package TIO renames Ada.Text_IO;
package DG renames Digraphs;
package SN is new Set_Of_Names(DG.Node_Idx_With_Null);
-- reat the graph from the file with th... |
test/interaction/Issue5252.agda | cagix/agda | 1,989 | 11554 | open import Agda.Primitive
open import Agda.Builtin.Sigma
data Empty : Set where
_≃_ : ∀ {ℓ ℓ'} (A : Set ℓ) (B : Set ℓ') → Set (ℓ ⊔ ℓ')
A ≃ B = Σ (A → B) λ f → Empty
record Iso {ℓ ℓ'} (A : Set ℓ) (B : Set ℓ') : Set (ℓ ⊔ ℓ') where
field
inv : B → A
postulate
isoToEquiv : ∀{ℓ ℓ'} {A : Set ℓ} {B : Set ℓ'} → Is... |
thirdparty/adasdl/thin/adasdl/AdaSDL-from-glut/book/genericgl.adb | Lucretia/old_nehe_ada95 | 0 | 18709 | -- -----------------------------------------------------
-- Copyright (C) by:
-- <NAME> - <NAME> - Azores - Portugal
-- <EMAIL>
-- www.adapower.net/~avargas
-- -----------------------------------------------------
-- This program is in the public domain
-- -----------------------------------------... |
agda-stdlib-0.9/src/Relation/Binary/Simple.agda | qwe2/try-agda | 1 | 6337 | <filename>agda-stdlib-0.9/src/Relation/Binary/Simple.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Some simple binary relations
------------------------------------------------------------------------
module Relation.Binary.Simple where
open import Re... |
etude/etude26.als | nishio/learning_alloy | 1 | 1669 | // 誤信念課題
open util/ordering[Time]
sig Time {}
abstract sig Belief {}
// アイスクリーム屋はどこにいる?
abstract sig InWhere extends Belief {}
one sig InPark extends InWhere {}
one sig InStation extends InWhere {}
abstract sig Person {
belief: Belief -> Time,
others_belief: Person -> Belief -> Time
}
one sig Alice extends Person {... |
examples/outdated-and-incorrect/Alonzo/Point.agda | shlevy/agda | 1,989 | 15501 | <reponame>shlevy/agda
module Point where
open import Nat
open import Bool
-- A record can be seen as a one constructor datatype. In this case:
data Point' : Set where
mkPoint : (x : Nat)(y : Nat) -> Point'
getX : Point' -> Nat
getX (mkPoint x y) = x
getY : Point' -> Nat
getY (mkPoint x y) = y
|
source/textio/a-teiote.adb | ytomino/drake | 33 | 25626 | <reponame>ytomino/drake<filename>source/textio/a-teiote.adb
with Ada.Naked_Text_IO;
package body Ada.Text_IO.Terminal is
use type IO_Modes.File_Mode;
use type IO_Modes.File_External;
-- implementation
function Is_Terminal (
File : File_Type)
return Boolean
is
pragma Check (Dynamic_Pr... |
addtab.asm | gp48k/lpfp | 0 | 94626 | INCLUDE "align.asm"
; 2.25 kilobyte shift-and-round table for addition and subtraction
ADDTAB: DEFB $80, $81, $81, $82, $82, $83, $83, $84
DEFB $84, $85, $85, $86, $86, $87, $87, $88
DEFB $88, $89, $89, $8a, $8a, $8b, $8b, $8c
DEFB $8c, $8d, $8d, $8e, $8e, $8f, $8f, $90
DEFB $90, $91, $91, $92, $92, $93, $93, $94
... |
windowsAssembly/setbytes.asm | Jordank321/GaryLang | 0 | 83388 | <reponame>Jordank321/GaryLang
cmp [$varName], byte 0
je allocate
mov rcx, [$varName]
call free
allocate:
mov rcx, $valLength
call malloc
mov [$varName], rax
mov rcx, [$value]
mov [rax], rcx
|
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_1901_1715.asm | ljhsiun2/medusa | 9 | 2493 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rax
push %rbx
push %rcx
push %rsi
lea addresses_D_ht+0x18672, %r15
nop
nop
nop
nop
add %rsi, %rsi
vmovups (%r15), %ymm4
vextracti128 $0, %ymm4, %xmm4
vpextrq $1, %xmm4, %rcx
nop
sub $3991, %rax
lea addresses_WT_ht+0x2e8a, %r... |
llvm-gcc-4.2-2.9/gcc/ada/s-thread.adb | vidkidz/crossbridge | 1 | 8228 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
test/interaction/Issue4125.agda | shlevy/agda | 1,989 | 10553 | <filename>test/interaction/Issue4125.agda
-- Andreas, 2019-10-13, issue 4125
-- Avoid unnecessary normalization in type checker.
-- Print to the user what they wrote, not its expanded form.
-- {-# OPTIONS -v tc:25 #-}
postulate
We-do-not-want-to : Set → Set
see-this-in-the-output : Set
A = We-do-not-want-to see-... |
middleware/src/BLE/bluetooth_low_energy-packets.ads | rocher/Ada_Drivers_Library | 192 | 30183 | <filename>middleware/src/BLE/bluetooth_low_energy-packets.ads<gh_stars>100-1000
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- ... |
src/data/cast-vwf-names.asm | Iemnur/Mother2GbaTranslation | 149 | 173748 | <gh_stars>100-1000
.loadtable "data/cast-table.tbl"
.strn 078h, 000h, 050h, "\cpaula's mom[END]"
.strn 078h, 000h, 0A0h, "\cpaula's dad[END]"
.strn 080h, 000h, 078h, "\cpaula[END]"
.strn 01Ah, 001h, 078h, "\cjeff[END]"
.strn 0A2h, 001h, 078h, "\cpoo[END]"
.strn 0ADh, 001h, 0B0h, "\cpoo's Master[END]"
.strn... |
data/test_ldy.asm | colinw7/C6502 | 0 | 164208 | LDY #$37
OUT Y
|
src/emojis.ads | onox/emojis | 7 | 9027 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2021 onox <<EMAIL>>
--
-- 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
-... |
programs/oeis/025/A025704.asm | neoneye/loda | 22 | 173345 | ; A025704: Index of 4^n within sequence of numbers of form 4^i*7^j.
; 1,2,4,7,10,14,19,24,30,37,45,53,62,72,82,93,105,118,131,145,160,175,191,208,226,244,263,283,303,324,346,369,392,416,441,466,492,519,547,575,604,634,664,695,727,760,793,827,862,897,933,970,1008,1046,1085,1125,1165
mov $3,$0
add $3,1
mov $4,$0
lpb $3
... |
src/Categories/Utils/EqReasoning.agda | Trebor-Huang/agda-categories | 279 | 2872 | {-# OPTIONS --without-K --safe #-}
module Categories.Utils.EqReasoning where
open import Level
open import Relation.Binary.PropositionalEquality
open import Data.Product using (Σ; _,_; _×_)
open import Categories.Utils.Product
subst₂-sym-subst₂ : {ℓa ℓb ℓp : Level} {A : Set ℓa} {B : Set ℓb} {a₁ a₂ : A} {b₁ b₂ : B}
... |
test/asset/agda-stdlib-1.0/Function/Endomorphism/Propositional.agda | omega12345/agda-mode | 0 | 14487 | <reponame>omega12345/agda-mode<filename>test/asset/agda-stdlib-1.0/Function/Endomorphism/Propositional.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Endomorphisms on a Set
------------------------------------------------------------------------
{-# OPT... |
test/Fail/ShapeIrrelevantParameterNoBecauseOfRecursion.agda | alhassy/agda | 1 | 9684 | <reponame>alhassy/agda
{-# OPTIONS --experimental-irrelevance #-}
module ShapeIrrelevantParameterNoBecauseOfRecursion where
data ⊥ : Set where
record ⊤ : Set where
data Bool : Set where
true false : Bool
True : Bool → Set
True false = ⊥
True true = ⊤
data D ..(b : Bool) : Set where
c : True b → D b -- should ... |
Agda/abelian-subgroups.agda | UlrikBuchholtz/HoTT-Intro | 333 | 2620 | {-# OPTIONS --without-K --exact-split #-}
module abelian-subgroups where
import abelian-groups
import subgroups
open abelian-groups public
open subgroups public
{- Subsets of abelian groups -}
subset-Ab :
(l : Level) {l1 : Level} (A : Ab l1) → UU ((lsuc l) ⊔ l1)
subset-Ab l A = subset-Group l (group-Ab A)
is-set... |
Laburi/Lab7/0-mean/0-recap-mean.asm | DanBrezeanu/IOCLA | 2 | 26177 | %include "io.inc"
%define ARRAY_SIZE 13
%define DECIMAL_PLACES 5
section .data
num_array dw 76, 12, 65, 19, 781, 671, 431, 761, 782, 12, 91, 25, 9
array_sum_prefix db "Sum of numbers: ",0
array_mean_prefix db "Numbers mean: ",0
decimal_point db ".",0
section .text
global CMAIN
CMAIN:
xor eax, eax... |
game/data/tilesets/magma.asm | benoitryder/super-tilt-bro | 91 | 18017 | TILESET_MAGMA_BANK_NUMBER = CURRENT_BANK_NUMBER
tileset_magma:
; Tileset's size in tiles (zero means 256)
.byt $32
TILESET_MAGMA_0 = (*-(tileset_magma+1))/16
.byt %00000000, %00000000, %00000000, %00000000, %00000000, %00000000, %00000000, %00000000
.byt %00000000, %00000000, %00000000, %00000000, %00000000, %000000... |
Main.asm | AYCEdemo/LostInTranslation | 0 | 86042 | ; ======================
; Retroboyz GB/GBC shell
; ======================
; If set to 1, enable debugging features.
DebugMode = 1
; Defines
include "Defines.asm"
; =============
; Reset vectors
; =============
section "Reset $00",rom0[$00]
ResetGame:: jp EntryPoint
section "Reset $08",rom0[$08]
... |
programs/oeis/081/A081854.asm | neoneye/loda | 22 | 7745 | ; A081854: (8*n-3)*(4*n-1)*(8*n^2-5*n+1).
; 3,60,2093,13398,47415,123728,268065,512298,894443,1458660,2255253,3340670,4777503,6634488,8986505,11914578,15505875,19853708,25057533,31222950,38461703,46891680,56636913,67827578,80599995,95096628,111466085,129863118,150448623
mul $0,8
sub $0,2
bin $0,2
add $0,1
bin $0,2
div... |
libsrc/_DEVELOPMENT/adt/ba_stack/z80/asm_ba_stack_init.asm | meesokim/z88dk | 0 | 169909 |
; ===============================================================
; Mar 2014
; ===============================================================
;
; ba_stack_t *ba_stack_init(void *p, void *data, size_t capacity)
;
; Initialize a byte array stack structure at address p and set the
; stack's initial data and capacity me... |
samples/xmi.adb | RREE/ada-util | 60 | 13741 | <filename>samples/xmi.adb
-----------------------------------------------------------------------
-- xmi -- XMI parser example
-- Copyright (C) 2012 <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... |
programs/oeis/053/A053470.asm | neoneye/loda | 22 | 243540 | <gh_stars>10-100
; A053470: a(n) is the cototient of n (A051953) iterated twice.
; 0,0,0,1,0,2,0,2,1,4,0,4,0,4,1,4,0,8,0,8,3,8,0,8,1,8,3,8,0,12,0,8,1,12,1,16,0,12,7,16,0,22,0,16,9,16,0,16,1,22,1,16,0,24,7,16,9,22,0,24,0,16,9,16,1,24,0,24,5,24,0,32,0,20,11,24,1,36,0,32,9,30,0,44,9,24,1,32,0,46,1,32,13,32,1,32,0,32,15,44... |
Transynther/x86/_processed/NONE/_zr_un_/i7-8650U_0xd2.log_18841_1320.asm | ljhsiun2/medusa | 9 | 29747 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x108a8, %rsi
lea addresses_WC_ht+0x1e8a8, %rdi
nop
nop
xor %rax, %rax
mov $83, %rcx
rep movsq
nop
nop
nop
nop
add $51005, %rcx
lea addresses_A_h... |
Pruebas/test.adb | Arles96/PCompiladores | 0 | 5832 | procedure Numbers is
Mike, Alice: Integer;
John_Smith: Integer;
F: Float := 1.0;
procedure x2 (x3:Integer) is
x: Integer := 1;
begin
Mike := 1;
end x2;
begin
x2(Alice, 2, 3);
end Numbers; |
test/Succeed/Issue2954.agda | cruhland/agda | 1,989 | 14305 |
open import Agda.Builtin.String
open import Agda.Builtin.Equality
test : String → String → String
test "x" b = "left"
test a "x" = "right"
test a b = "nowhere"
_ : test "a" "x" ≡ "right"
_ = refl
|
wof/lcs/base/1DD.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 91718 | copyright zengfr site:http://github.com/zengfr/romhack
012EE8 move.w ($6,PC,D0.w), D1 [base+1DD]
012F10 addq.b #2, ($1dd,A5) [base+1DF]
012F14 rts [base+1DD]
01AD52 move.b #$2, ($1dd,A5) [base+1DE]
01AD58 rts [base+1DD]
copyright zengfr site:http://github.com/zengfr/romhack
|
qick_demos/03b.asm | Fermilab-Quantum-Science/qick_interpreter | 0 | 16305 | // Program
regwi 0, $1, 50;
regwi 0, $2, 10;
regwi 3, $16, 69905067; //freq = 100.00000047683716 MHz
regwi 3, $17, 0; //phase = 0
regwi 3, $19, 1000; //gain = 1000
regwi 3, $21, 0; //t = 0
... |
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-flash_key_store.ads | morbos/Ada_Drivers_Library | 2 | 2684 | <reponame>morbos/Ada_Drivers_Library
-- Copyright 2016-2019 NXP
-- All rights reserved.SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from LPC55S6x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package NXP_S... |
src/notcurses-strings.adb | JeremyGrosser/notcursesada | 5 | 978 | with Ada.Strings.UTF_Encoding.Wide_Wide_Strings;
with Interfaces.C.Strings;
with Notcurses_Thin;
package body Notcurses.Strings is
function Width
(Str : Wide_Wide_String)
return Natural
is
use Ada.Strings.UTF_Encoding.Wide_Wide_Strings;
use Interfaces.C.Strings;
Chars : constant cha... |
oeis/095/A095795.asm | neoneye/loda-programs | 11 | 84971 | <reponame>neoneye/loda-programs
; A095795: a(0)=2, a(1)=5, a(n+2) = a(n+1) + (-1)^n a(n).
; Submitted by <NAME>(s4)
; 2,5,7,2,9,7,16,9,25,16,41,25,66,41,107,66,173,107,280,173,453,280,733,453,1186,733,1919,1186,3105,1919,5024,3105,8129,5024,13153,8129,21282,13153,34435,21282,55717,34435,90152,55717,145869,90152,236021,... |
src/configure.ads | kraileth/ravenadm | 0 | 2259 | <reponame>kraileth/ravenadm
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Definitions; use Definitions;
private with Ada.Characters.Latin_1;
private with Parameters;
package Configure is
menu_error : exception;
-- Interactive configuration menu
... |
MailArchiver.scpt | dbcm/mailArchiver | 1 | 2501 | (*
<NAME> - <EMAIL>
XPTO:: Portuguese OpenSource Community
*)
-- Archive POP mails to IMAP account?
property ArchivePOP2IMAP : true
-- What is the name of the IMAP Account to move POP mails?
property MainIMAPAccount : "Profundos"
-- Do log?
property DoLog : true
on run {input, parameters}
using terms fro... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1303.asm | ljhsiun2/medusa | 9 | 101624 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x4301, %r11
nop
dec %r15
mov (%r11), %r14d
nop
nop
nop
nop
sub $14795, %r15
lea addresses_D_ht+0xe319, %rsi
lea addresses_A_ht+0x18119, %rdi
nop
nop
nop
nop
nop
cmp $2146... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_284.asm | ljhsiun2/medusa | 9 | 15040 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_284.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r13
push %r8
push %rdx
// Faulty Load
lea addresses_WC+0xab08, %r11
nop
nop
nop
and $42030, %r13
movups (%r11), %xmm... |
source/core/web-core-connectables.adb | godunko/adawebui | 2 | 16873 | <reponame>godunko/adawebui
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
alloy4fun_models/trashltl/models/4/dSd8kR2G8Q9TdxCcS.als | Kaixi26/org.alloytools.alloy | 0 | 408 | open main
pred iddSd8kR2G8Q9TdxCcS_prop5 {
always some f : Trash | eventually f not in File
}
pred __repair { iddSd8kR2G8Q9TdxCcS_prop5 }
check __repair { iddSd8kR2G8Q9TdxCcS_prop5 <=> prop5o } |
programs/oeis/184/A184042.asm | neoneye/loda | 22 | 95819 | ; A184042: 1/9 the number of (n+1) X 4 0..2 arrays with all 2 X 2 subblocks having the same four values.
; 25,31,41,61,97,169,305,577,1105,2161,4241,8401,16657,33169,66065,131857,263185,525841,1050641,2100241,4198417,8394769,16785425,33566737,67125265,134242321,268468241,536920081,1073807377,2147581969,4295098385,85901... |
src/Web/Semantic/DL/FOL/Model.agda | agda/agda-web-semantic | 9 | 10355 | open import Data.Product using ( _×_ ; _,_ )
open import Data.Sum using ( _⊎_ )
open import Relation.Unary using ( _∈_ ; _∉_ )
open import Web.Semantic.DL.FOL using ( Formula ; true ; false ; _∧_ ; _∈₁_ ; _∈₁_⇒_ ; _∈₂_ ; _∈₂_⇒_ ; _∼_ ; _∼_⇒_ ; ∀₁ )
open import Web.Semantic.DL.Signature using ( Signature )
open import ... |
Ex.asm | Ahmed-ata112/processor_simulation_game | 1 | 10143 | ;; Hany-> command;
;; Mena -> second;
;EXTRN mainGame:_AX, _BX, _CX, _DX, _SI, _DI, _SP, _BP,_AL, _BL, _CL, _DL, _AH, _BH, _CH, _DH
;EXTRN mainGame:command
;EXTRN mainGame:_00,_01,_02,_03,_04,_05,_06,_07,_08,_09,_A,_B,_C,_D,_E,_F
;PUBLIC result
;include valid_in.inc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Hany... |
asm-tests/test-6.asm | TheShoutingParrot/jaz80 | 0 | 178801 | ; A test program for the jasmZ80 assembler
; This assembly program tests the following instructions:
; - ld (bc/de), a
; - ld a, (bc/de)
; - jp (hl)
; - ld (**), hl
; - ld hl, (**)
; - ld (**), a
;
; NOTE: This program's intention is to test the jasmZ80 assembler
; (and possibly other assemblers) NOT to test emulators... |
slot_mgt.asm | axtens/bose_plus | 0 | 247727 | <filename>slot_mgt.asm
SEGetSlot PROC STDCALL
MOV EAX, currentSlot
RET
SEGetSlot endp
SESetSlot PROC STDCALL uses EDI ESI nSlot:DWORD
PUSH EDX
MOV EDX, nSlot
MOV EDI, [EDX]
.if EDI < 0d || EDI > SLOT_COUNT
fn Log_Error, "SESetSlot", EDI, E_INVALID_SLOT, -1
fn Set_Error, E_ERROR_LOGGED
JMP @F
.endi... |
45/beef/drv/csd/inc/csd_code.asm | minblock/msdos | 0 | 176010 | ;*
;* CW : Character Windows
;*
;* csd_code.asm : Start of CSD code
;*****************************************************************************
sBegin DRV
assumes CS,DRV
assumes ds,NOTHING
assumes ss,NOTHING
ORG 0H ;* start of .CSD file
;************************************************************... |
tools/configure/configure-tests-postgresql.adb | svn2github/matreshka | 24 | 4638 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
tests/vice-tests/interrupts/irq-ackn-bug/irq-ack-vicii.asm | PhylumChordata/chips-test | 330 | 168810 |
; --- Code
*=$0801
basic:
; BASIC stub: "1 SYS 2061"
!by $0b,$08,$01,$00,$9e,$32,$30,$36,$31,$00,$00,$00
start:
jmp testsetup
* = $0a00
testsetup:
ldx #$f0
colorloop:
lda #$01
sta $d7ff,x
lda #$20
sta $03ff,x
dex
bne colorloop
lda #$00
sta screensetup+1
sta spritesetup+1
lda #$01
sta irq_type+... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/goto_loop_v2.adb | ouankou/rose | 488 | 21435 | with Ada.Text_IO;
procedure goto_loop_Text_IO is
begin
<<Start>>
Ada.Text_IO.Put_Line ("Goto Loop!");
goto Start;
end goto_loop_Text_IO;
|
include/bits_types_struct_timeval_h.ads | docandrew/troodon | 5 | 26365 | <gh_stars>1-10
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with bits_types_h;
package bits_types_struct_timeval_h is
-- A time value that is accurate to the nearest
-- microsecond but also has a range of years.
-- Seconds.
type timeval is record
tv_sec : a... |
Tests/sublime-syntax tests/syntax_test_labels.nasm | 13xforever/x86-assembly-textmate-bundle | 69 | 168698 | <filename>Tests/sublime-syntax tests/syntax_test_labels.nasm
; SYNTAX TEST "Packages/User/x86_64 Assembly.tmbundle/Syntaxes/Nasm Assembly.sublime-syntax"
label
label:
la12bel
la12bel:
la_$#@~.?bel_?
la_$#@~.?bel_?:
.local_label
.local_label:
.123
.1234:
label
; ^^^^^ entity.name.constant
label:
; ^^^^^ entity.nam... |
programs/oeis/002/A002901.asm | jmorken/loda | 1 | 104565 | ; A002901: n^3 - floor( n/3 ).
; 0,1,8,26,63,124,214,341,510,726,997,1328,1724,2193,2740,3370,4091,4908,5826,6853,7994,9254,10641,12160,13816,15617,17568,19674,21943,24380,26990,29781,32758,35926,39293
mov $1,$0
div $0,3
pow $1,3
sub $1,$0
|
Transynther/x86/_processed/P/_zr_/i3-7100_9_0x84_notsx.log_21829_468.asm | ljhsiun2/medusa | 9 | 21609 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xd381, %rbp
nop
nop
xor $8226, %r10
and $0xffffffffffffffc0, %rbp
movntdqa (%rbp), %xmm0
vpextrq $1, %xmm0, %rdi
nop
nop
xor %rax, %rax
lea addresses_WT_ht+0x1e813, %rdi
clflu... |
original version (1984)/asm/map10-exec.asm | fa8ntomas/bclk-samples | 0 | 93723 | ; Map 10 exec
Map10Exec: lda MapVar1
bmi L33DF
lda Map10Lamps+0*4
ora Map10Lamps+1*4
bne L33DF
dec MapVar1
lda #$04
ldy #$26
jsr EntranceL31D4
L33DF: jmp UpdateTrees
|
src/ada/src/utils/bounded_stack.adb | VVCAS-Sean/OpenUxAS | 88 | 7100 | <filename>src/ada/src/utils/bounded_stack.adb
package body Bounded_Stack with SPARK_Mode is
procedure Push (S : in out Stack; E : Element_Type) is
begin
S.Content (S.Top + 1) := E;
S.Top := S.Top + 1;
end Push;
procedure Pop (S : in out Stack; E : out Element_Type) is
begin
E := S.Con... |
src/NfModelMonad.agda | andreasabel/ipl | 19 | 4857 | ---------------------------------------------------------------------------
-- Normalization by Evaluation for Intuitionistic Propositional Logic
--
-- We employ a monadic interpreter for the soundness part,
-- and a special class of monads, called cover monads,
-- for the completeness part.
--
-- Normalization is comp... |
src/L/Data/Bool/Core.agda | borszag/smallib | 0 | 10837 | module L.Data.Bool.Core where
open import L.Base.Coproduct.Core
open import L.Base.Unit.Core
-- Deriving the introduction rule as a special case of Coproducts.
Bool : Set
Bool = ⊤ + ⊤
ff : Bool
ff = inr ⋆
tt : Bool
tt = inl ⋆
-- And the elimination rule
if : ∀{c} (C : Bool → Set c)
→ C tt → C ff → (e : Bool) ... |
Video009/Video009.asm | fraser125/N64_ASM_Videos | 23 | 100892 | <reponame>fraser125/N64_ASM_Videos<gh_stars>10-100
// N64 Lesson 02 Simple Initialize
arch n64.cpu
endian msb
output "Video009.N64", create
// 1024 KB + 4 KB = 1028 KB
fill $0010'1000 // Set ROM Size
origin $00000000
base $80000000
include "../LIB/N64.INC"
include "../LIB/A64.INC"
include "../LIB/PIXEL8_UTIL.INC"
inc... |
oeis/287/A287454.asm | neoneye/loda-programs | 11 | 20691 | ; A287454: Positions of 2 in A287451.
; Submitted by <NAME>
; 3,4,8,11,15,16,19,23,27,28,32,36,39,40,44,47,51,52,56,60,61,64,68,72,75,76,80,83,87,88,91,95,99,102,103,107,111,112,116,119,123,124,127,131,135,136,140,144,147,148,152,155,159,160,163,167,171,174,175,179,182,186,187,191,195,196,199,203,207,210,211,215,219,22... |
src/tests/shapematchingtests.adb | sebsgit/textproc | 0 | 21988 | <reponame>sebsgit/textproc<gh_stars>0
with Ada.Containers;
with AUnit.Assertions; use AUnit.Assertions;
with Interfaces.C.Strings;
with ImageIO;
with PixelArray;
with ShapeDatabase;
with Morphology;
with ImageFilters;
with ImageRegions;
with ImageThresholds;
use Ada.Containers;
package body ShapeMatchingTests is
... |
Univalence/OldUnivalence/TypeEquivalences.agda | JacquesCarette/pi-dual | 14 | 11341 | <reponame>JacquesCarette/pi-dual
{-# OPTIONS --without-K #-}
module TypeEquivalences where
open import Data.Empty
open import Data.Unit
open import Data.Unit.Core
open import Data.Nat renaming (_⊔_ to _⊔ℕ_)
open import Data.Sum renaming (map to _⊎→_)
open import Data.Product renaming (map to _×→_)
open import Function... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1699.asm | ljhsiun2/medusa | 9 | 92942 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1699.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xc2b1, %rsi
lea addresses_D_ht+0x129c5, %rdi
nop
nop
nop
nop
nop
cmp %rax, %rax
... |
.emacs.d/elpa/wisi-3.0.1/wisitoken-parse-lr-parser_no_recover.adb | caqg/linux-home | 0 | 1091 | -- Abstract :
--
-- See spec.
--
-- Copyright (C) 2002 - 2005, 2008 - 2015, 2017 - 2019 Free Software Foundation, Inc.
--
-- This file is part of the WisiToken package.
--
-- The WisiToken package is free software; you can redistribute it
-- and/or modify it under the terms of the GNU General Public License
-- a... |
programs/oeis/060/A060541.asm | neoneye/loda | 22 | 101394 | <reponame>neoneye/loda
; A060541: C(4n,4).
; 1,70,495,1820,4845,10626,20475,35960,58905,91390,135751,194580,270725,367290,487635,635376,814385,1028790,1282975,1581580,1929501,2331890,2794155,3321960,3921225,4598126,5359095,6210820,7160245,8214570,9381251,10668000,12082785,13633830,15329615,17178876,19190605,21374050,23... |
test/link/publics/seg1b.asm | nigelperks/BasicAssembler | 0 | 179490 | IDEAL
ASSUME CS:SEG1,DS:SEG1,ES:SEG1,SS:SEG1
SEGMENT SEG1 PUBLIC
mov bx, OFFSET thing
mov al, 42
add dl, ch
thing:
int 21h
ENDS
END
|
agda-stdlib/src/Data/List/Relation/Permutation/Inductive/Properties.agda | DreamLinuxer/popl21-artifact | 5 | 16396 | <filename>agda-stdlib/src/Data/List/Relation/Permutation/Inductive/Properties.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED. Please use
-- Data.List.Relation.Binary.Permutation.Inductive.Properties directly.
-------------------... |
mkeflg.asm | jschrab/mkeflg | 0 | 177924 | processor 6502
include vcs.h
include macro.h
;==============================================================================
; MKEFLG - Render The People's Flag of Milwaukee
;
; Kernel pattern and many tips from:
; https://www.randomterrain.com/atari-2600-memories-tutorial-andrew-davie-01.html
;
; JDS - 1... |
Ada95/samples/rain.adb | ProtonAOSP-platina/android_external_libncurses | 269 | 1261 | <reponame>ProtonAOSP-platina/android_external_libncurses<filename>Ada95/samples/rain.adb
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples ... |
cmd/attrib/attriba.asm | minblock/msdos | 0 | 172017 | <gh_stars>0
page ,132
title New_C.C - DOS entry to the KWC's 'C' programs
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;
; This module has been modified extensively for my personal
; ... |
src/asf-components-utils-files.ads | jquorning/ada-asf | 12 | 18839 | <gh_stars>10-100
-----------------------------------------------------------------------
-- components-utils-files -- Include raw files in the output
-- Copyright (C) 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except... |
ADL/drivers/stm32f334/stm32-adc.ads | JCGobbi/Nucleo-STM32F334R8 | 0 | 25527 | <reponame>JCGobbi/Nucleo-STM32F334R8<filename>ADL/drivers/stm32f334/stm32-adc.ads
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.