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
assemblyCode/testStack.asm
lschiavini/Hypothetical-Assembler-Loader
0
15561
; Hello World Program (Subroutines) ; Compile with: nasm -f elf helloworld-len.asm ; Link with (64 bit systems require elf_i386 option): ld -m elf_i386 helloworld-len.o -o helloworld-len ; Run with: ./helloworld-len global _start section .data msg db 'MASSACRATION', 0dH, 0ah ;0dH + 0ah eh CR+LF section .text _start:...
gcc-gcc-7_3_0-release/gcc/ada/lib-xref-spark_specific.adb
best08618/asylo
7
15353
<filename>gcc-gcc-7_3_0-release/gcc/ada/lib-xref-spark_specific.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/io.ads
ouankou/rose
488
19095
<filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/io.ads with SimpleAda.IO; package IO renames SimpleAda.IO;
Orders/Total/Lemmas.agda
Smaug123/agdaproofs
4
3575
{-# OPTIONS --safe --warning=error --without-K #-} open import LogicalFormulae open import Orders.Total.Definition module Orders.Total.Lemmas {a b : _} {A : Set a} (order : TotalOrder A {b}) where open TotalOrder order equivMin : {x y : A} → (x < y) → min x y ≡ x equivMin {x} {y} x<y with totality x y equivMin {x}...
agda/Itse/Checking.agda
Riib11/itse
1
15372
module Itse.Checking where open import Itse.Grammar open import Relation.Nullary open import Relation.Binary.PropositionalEquality open import Data.Unit open import Data.Bool open import Data.List hiding (lookup) open import Data.Product open import Data.Maybe {- # Checking -} {- ## Context -} data Context : Set ...
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/join/Result-j.asm
prismotizm/gigaleak
0
17924
Name: Result-j.asm Type: file Size: 70020 Last-Modified: '1992-07-14T23:56:58Z' SHA-1: CD14BEF1261F89702CDFAFBB13B5A7084AFD8F93 Description: null
tools/scitools/conf/understand/ada/ada95/i-fortra.ads
brucegua/moocos
1
14842
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
oeis/245/A245656.asm
neoneye/loda-programs
11
98274
; A245656: Characteristic function of arithmetic numbers, cf. A003601. ; Submitted by <NAME>(s4) ; 1,0,1,0,1,1,1,0,0,0,1,0,1,1,1,0,1,0,1,1,1,1,1,0,0,0,1,0,1,1,1,0,1,0,1,0,1,1,1,0,1,1,1,1,1,1,1,0,1,0,1,0,1,1,1,1,1,0,1,1,1,1,0,0,1,1,1,1,1,1,1,0,1,0,0,0,1,1,1,0,0,0,1,0,1,1,1,0,1,0,1,1,1,1,1,1,1,0,1,0 seq $0,54025 ; Sum o...
programs/oeis/190/A190440.asm
neoneye/loda
22
167813
; A190440: [(bn+c)r]-b[nr]-[cr], where (r,b,c)=(golden ratio,4,0) and []=floor. ; 2,0,3,1,0,2,1,3,2,0,3,1,0,2,1,3,2,0,2,1,3,2,0,3,1,0,2,1,3,2,0,3,1,0,2,0,3,1,0,2,1,3,2,0,3,1,0,2,1,3,2,0,3,1,3,2,0,3,1,0,2,1,3,2,0,3,1,0,2,1,3,1,0,2,1,3,2,0,3,1,0,2,1,3,2,0,3,1,0,2,0,3,1,0,2,1,3,2,0,3 mul $0,2 add $0,2 mul $0,2 seq $0,601...
src/lumen-font-txf.ads
darkestkhan/lumen
8
22466
-- Lumen.Font.Txf -- Display textual information using texture-mapped fonts -- -- <NAME>, NiEstu, Phoenix AZ, Summer 2010 -- Credit for the design of the texfont mechanism belongs to <NAME>, -- who invented it while he was at SGI. His paper on the topic, and his -- original source code, may be found here: -- -- h...
case-studies/performance/verification/alloy/ppc/tests/safe069.als
uwplse/memsynth
19
3239
module tests/safe069 open program open model /** PPC safe069 "SyncdWR Fre SyncdWW Wse" Cycle=SyncdWR Fre SyncdWW Wse Relax= Safe=Fre Wse SyncdWW SyncdWR { 0:r2=x; 0:r4=y; 1:r2=y; 1:r4=x; } P0 | P1 ; li r1,1 | li r1,2 ; stw r1,0(r2) | stw r1,0(r2) ; sync | sync ; li r...
examples/str.adb
ytomino/drake
33
4759
with Ada.Strings.Functions; with Ada.Strings.Maps.Constants; with Ada.Strings.Unbounded_Strings; with System; with Ada.Strings.Fixed; with Ada.Strings.Bounded; with Ada.Strings.Unbounded; procedure str is begin -- operators declare X : String := "11"; begin pragma Assert (X > "0"); pragma Assert (X < "2"); p...
test/utest_getWinningCondition.asm
daullmer/tic-tac-toe
1
171774
# adresse an der der speicherstand gespeichert ist .eqv board 0x10008000 li a0, board li a1, 1 sw a1, 0(gp) sw a1, 4(gp) sw a1, 8(gp) jal getWinningCondition mv s2, a0 jal clean_board li a0, board li a1, 2 sw a1, 12(gp) sw a1, 16(gp) sw a1, 20(gp) jal getWinningCondition mv s3, a0 jal clean_board li a0, board li a...
alloy4fun_models/trashltl/models/19/zEx7NSgJZCMSDFgoZ.als
Kaixi26/org.alloytools.alloy
0
509
open main pred idzEx7NSgJZCMSDFgoZ_prop20 { always (all f:File | f in Trash since no(f & Protected) ) } pred __repair { idzEx7NSgJZCMSDFgoZ_prop20 } check __repair { idzEx7NSgJZCMSDFgoZ_prop20 <=> prop20o }
org.alloytools.alloy.extra/extra/models/book/appendixA/tube.als
Kaixi26/org.alloytools.alloy
527
4342
<gh_stars>100-1000 module appendixA/tube abstract sig Station { jubilee, central, circle: set Station } sig Jubilee, Central, Circle in Station {} one sig Stanmore, BakerStreet, BondStreet, Westminster, Waterloo, WestRuislip, EalingBroadway, NorthActon, NottingHillGate, LiverpoolStreet, Epping extends Station ...
programs/oeis/087/A087113.asm
karttu/loda
1
104596
<gh_stars>1-10 ; A087113: Essentially a duplicate of A005843. ; 2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48 add $0,1 mul $0,2 mov $1,$0
programs/oeis/016/A016187.asm
neoneye/loda
22
600
<filename>programs/oeis/016/A016187.asm ; A016187: Expansion of 1/((1-8x)(1-11x)). ; 1,19,273,3515,42761,503139,5796673,65860555,741243321,8287894259,92240578673,1023236299995,11324318776681,125117262357379,1380687932442273,15222751628953835,167731742895202841 add $0,1 mov $1,11 pow $1,$0 mov $2,8 pow $2,$0 sub $1,$2 ...
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0xca_notsx.log_144_871.asm
ljhsiun2/medusa
9
2415
.global s_prepare_buffers s_prepare_buffers: push %r9 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x4139, %rbp nop nop nop and $2047, %r9 mov $0x6162636465666768, %rbx movq %rbx, %xmm4 movups %xmm4, (%rbp) nop inc %rdx lea addresses_WT_ht+0x119ae, %rsi lea addresses_D_ht+0x19139, %rdi...
cql/src/main/java/com/huawei/streaming/cql/semanticanalyzer/parser/Expressions.g4
chenqixu/StreamCQL
8
2201
/** * 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...
test/fail/IrrelevantFamilyIndex.agda
asr/agda-kanso
1
15817
-- Andreas, 2011-04-07 module IrrelevantFamilyIndex where data Nat : Set where zero : Nat suc : Nat -> Nat -- irrelevant index data Fin : .Nat -> Set where zero : .(n : Nat) -> Fin (suc n) suc : .(n : Nat) -> Fin n -> Fin (suc n) t : Fin zero t = zero zero -- the following is ok, since Fin _ is really ju...
src/dandanator/nmiroutine.asm
fjpena/sword-of-ianna-zx
67
161293
; OUTPUT nmiroutine.bin ORG 0x0066 ; NMI address ; ---------------------------------------------------------------------------------------- ; NMI ROUTINE @ 0x0066 - NMI Subrutine is used for PIC Firmware Upgrade ; ---------------------------------------------------------------------------------------- NMI:...
07/MemoryAccess/BasicTest/BasicTest.asm
gabrieljablonski/ESC-College-Course-Work
0
160369
// push constant 10 @10 D=A @SP A=M M=D @SP M=M+1 // pop LCL 0 @LCL D=M @0 D=A+D @R13 M=D @SP M=M-1 A=M D=M @R13 A=M M=D // push constant 21 @21 D=A @SP A=M M=D @SP M=M+1 // push constant 22 @22 D=A @SP A=M M=D @SP M=M+1 // pop ARG 2 @ARG D=M @2 D=A+D @R13 M=D @SP M=M-1 A=M D=M @R13 A=M M=D // pop ARG 1 @ARG D=M @1 D=A...
pwnlib/shellcraft/templates/mips/mov.asm
jdsecurity/binjitsu
5
175018
<% from pwnlib.util import lists, packing, fiddling, misc from pwnlib.constants import eval, Constant from pwnlib.context import context as ctx # Ugly hack, mako will not let it be called context from pwnlib.log import getLogger from pwnlib.shellcraft import mips, registers, pretty, okay log = getLogger('pw...
Task/Multiplication-tables/AppleScript/multiplication-tables-2.applescript
LaudateCorpus1/RosettaCodeData
1
3320
<filename>Task/Multiplication-tables/AppleScript/multiplication-tables-2.applescript tableText(multTable(1, 12)) -- multTable :: Int -> [[String]] on multTable(m, n) set axis to enumFromTo(m, n) script column on |λ|(x) script row on |λ|(y) if y < x then...
test/asset/agda-stdlib-1.0/Codata/Conat/Properties.agda
omega12345/agda-mode
0
14855
<gh_stars>0 ------------------------------------------------------------------------ -- The Agda standard library -- -- Properties for Conats ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe --sized-types #-} module Codata.Conat.Properties where open import Data...
bool-test.agda
rfindler/ial
29
852
module bool-test where open import bool open import eq open import level ~~tt : ~ ~ tt ≡ tt ~~tt = refl ~~ff : ~ ~ ff ≡ ff ~~ff = refl ~~-elim2 : ∀ (b : 𝔹) → ~ ~ b ≡ b ~~-elim2 tt = ~~tt ~~-elim2 ff = ~~ff ~~tt' : ~ ~ tt ≡ tt ~~tt' = refl{lzero}{𝔹}{tt} ~~ff' : ~ ~ ff ≡ ff ~~ff' = refl{lzero}{𝔹}{ff} test1 : 𝔹...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr33.adb
best08618/asylo
7
27870
-- { dg-do run } procedure Discr33 is subtype Int is Integer range 1..100; type T (D : Int := 1) is record A : Integer; B : String (1..D); C : aliased Integer; end record; Var : T := (D => 1, A => 1234, B => "x", C => 4567); type Int_Ref is access all Integer; ...
source/tabula-users-load.adb
ytomino/vampire
1
20022
<gh_stars>1-10 -- The Village of Vampire by YT, このソースコードはNYSLです with Ada.Exceptions; with Ada.Streams.Stream_IO; with Serialization.YAML; with YAML.Streams; with Tabula.Users.User_Info_IO; procedure Tabula.Users.Load ( Name : in String; Info : in out User_Info) is File : Ada.Streams.Stream_IO.File_Type; begin Ada.S...
tests/roms/state_change.asm
AndreaOrru/Gilgamesh
25
96385
incsrc lorom.asm org $8000 reset: sep #$30 ; $008000 jsr state_change ; $008002 lda #$1234 ; $008005 ldx #$1234 ; $008008 .loop: jmp .loop ; $00800B state_change: rep #$30 ; $00800E rts ...
oslab6/obj/user/forktree.asm
jasha64/OperatingSystems-lab
0
104130
obj/user/forktree.debug: 文件格式 elf32-i386 Disassembly of section .text: 00800020 <_start>: // starts us running when we are initially loaded into a new environment. .text .globl _start _start: // See if we were started with arguments on the stack cmpl $USTACKTOP, %esp 800020: 81 fc 00 e0 bf ee cmp $0x...
oeis/001/A001946.asm
neoneye/loda-programs
11
92099
; A001946: a(n) = 11*a(n-1) + a(n-2). ; Submitted by <NAME> ; 2,11,123,1364,15127,167761,1860498,20633239,228826127,2537720636,28143753123,312119004989,3461452808002,38388099893011,425730551631123,4721424167835364,52361396397820127,580696784543856761,6440026026380244498,71420983074726546239,792070839848372253127,878420...
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/pcr/Mcamera.asm
prismotizm/gigaleak
0
3874
<gh_stars>0 Name: Mcamera.asm Type: file Size: 6663 Last-Modified: '1992-10-05T05:04:14Z' SHA-1: 5EB2AF39D1A68111CAF94DFD473FD620F58A70A1 Description: null
src/FsmLexer.g4
bvandepo/FSMProcess
0
3197
//Copyright (c) 2016, <NAME>, LAAS/CNRS //All rights reserved. //Redistribution and use in source and binary forms, with or without //modification, are permitted provided that the following conditions are met: // //* Redistributions of source code must retain the above copyright // notice, this list of conditions and ...
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sdcc/inv.asm
ahjelm/z88dk
640
100006
<filename>libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sdcc/inv.asm<gh_stars>100-1000 SECTION code_fp_math16 PUBLIC _invf16 EXTERN cm16_sdcc_inv defc _invf16 = cm16_sdcc_inv
dev/display/ega2/cpi-head.asm
minblock/msdos
0
91128
;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1991 ; * All Rights Reserved. ; */ CODE SEGMENT BYTE PUBLIC 'CODE' ASSUME CS:CODE,DS:CODE BEGIN: ORG 0 FNTHEAD:DB 0FFH,"FONT " ;FILE TAG DB 8...
llvm/test/tools/llvm-ml/parse_only.asm
mkinsner/llvm
2,338
3734
; RUN: llvm-ml %s /Zs /Fo - | FileCheck %s .code t1 PROC ECHO Testing! ret t1 ENDP ; check for the .text symbol (appears in both object files & .s output) ; CHECK-NOT: .text ; CHECK: Testing! ; check for the .text symbol (appears in both object files & .s output) ; CHECK-NOT: .text end
test/Succeed/Issue1214.agda
KDr2/agda
0
2192
<reponame>KDr2/agda {-# OPTIONS --cubical-compatible #-} data ℕ : Set where zero : ℕ suc : ℕ → ℕ Test : Set Test = ℕ test : Test → ℕ test zero = zero test (suc n) = test n
alloy4fun_models/trashltl/models/11/dpyRbAo3Yjcjb9MQs.als
Kaixi26/org.alloytools.alloy
0
3456
open main pred iddpyRbAo3Yjcjb9MQs_prop12 { always (some f:File | (eventually f in Trash) implies (always f in Trash)) } pred __repair { iddpyRbAo3Yjcjb9MQs_prop12 } check __repair { iddpyRbAo3Yjcjb9MQs_prop12 <=> prop12o }
SVD2ada/svd/stm32_svd-axi.ads
JCGobbi/Nucleo-STM32H743ZI
0
23789
<gh_stars>0 pragma Style_Checks (Off); -- This spec has been automatically generated from STM32H743x.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.AXI is pragma Preelaborate; --------------- -- Registers -- --------------- subtype AXI_PERIPH_ID_4_JEP106CON...
src/sets/nat.agda
pcapriotti/agda-base
20
2081
{-# OPTIONS --without-K #-} module sets.nat where open import sets.nat.core public open import sets.nat.properties public open import sets.nat.ordering public open import sets.nat.solver public open import sets.nat.struct public
src/kernel/arch/x86_64/interrupt.asm
shadow-paw/bluemoon
3
87408
<gh_stars>1-10 cpu x86-64 bits 64 %include "kernel.inc" global idt_init, idt_set extern INT_00, INT_01, INT_02, INT_03, INT_04, INT_05, INT_06, INT_07 extern INT_08, INT_0A, INT_0B, INT_0C, INT_0D, INT_0E, INT_0F extern INT_10, INT_11, INT_12, INT_13 section .bss ; -------------------------------------------...
src/annotation_processor/implementation/yaml-transformator-annotation-inject.adb
robdaemon/AdaYaml
32
13016
<filename>src/annotation_processor/implementation/yaml-transformator-annotation-inject.adb<gh_stars>10-100 -- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" package body Yaml.Transformator.Annotation.Inject is procedure Put (Object : in out Instance; E ...
src/c_resources/smart_c_resources.adb
jhumphry/auto_counters
5
21749
-- smart_c_resources.adb -- A reference counting package to wrap a C type that requires initialization -- and finalization. -- Copyright (c) 2016, <NAME> -- -- 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...
libsrc/oz/ozgfx/ozsavescreen.asm
andydansby/z88dk-mk2
1
24121
<reponame>andydansby/z88dk-mk2<gh_stars>1-10 ; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by <NAME> ; by <NAME> - Oct. 2003 ; ; ; ; ; ------ ; $Id: ozsavescreen.asm,v 1.1 2003/10/21 17:15:20 stefano Exp $ ; XLIB ozsavescreen ;LIB ozrestorescreen XDEF ozsccopy XREF ozactivepage LIB ozcopy ...
include/spacelib2/lib/bank.asm
backwardspy/spacelib2
0
101574
<filename>include/spacelib2/lib/bank.asm .filenamespace sl .namespace bank { /* * swaps out kernal & basic ROMs by zeroing port register HIRAM bit */ .macro @sl_bank_disable_kernal() { ensure_data_direction() // disable irq handling since kernal may disappear halfway through ...
programs/oeis/033/A033438.asm
karttu/loda
1
82428
<reponame>karttu/loda<filename>programs/oeis/033/A033438.asm ; A033438: Number of edges in 6-partite Turán graph of order n. ; 0,0,1,3,6,10,15,20,26,33,41,50,60,70,81,93,106,120,135,150,166,183,201,220,240,260,281,303,326,350,375,400,426,453,481,510,540,570,601,633,666,700,735,770,806,843,881 pow $0,2 mul $0,5 mov $1,...
boot.asm
LambdaSix/Kerni
0
13460
[BITS 32] [global start] [extern _k_main] %include 'grub.inc' start: call _k_main ; Invoke the c method cli ; Kill interrupts hlt ; Halt the cpu EXTERN code, bss, end ;; Setup for GRUB to load us ALIGN 4 mboot: dd MULTIBOOT_HEADER_MAGIC dd MULTIBOOT_HEADER_FLAGS dd MULTIBOOT_CHECKSUM ; aout kludge. These...
reuse/ada/errors.ads
cocolab8/cocktail
0
24476
-- $Id: Errors.md,v 1.1 1994/08/15 22:13:23 grosch rel $ -- $Log: Errors.md,v $ -- Ich, <NAME>, Informatiker, Aug. 1994 with System, Text_Io, Position; use System, Text_Io, Position; package Errors is NoText : constant Integer := 0 ; SyntaxError : constant Integer := 1 ; -- error codes ExpectedTokens : constant ...
data/pokemon/dex_entries/tauros.asm
AtmaBuster/pokeplat-gen2
6
7328
<reponame>AtmaBuster/pokeplat-gen2 db "<NAME>@" ; species name db "These violent" next "#MON fight" next "with other mem-" page "bers of their herd" next "in order to prove" next "their strength.@"
oeis/143/A143333.asm
neoneye/loda-programs
11
241910
<gh_stars>10-100 ; A143333: Pascal's triangle binomial(n,m) read by rows, all even elements replaced by zero. ; Submitted by <NAME> ; 1,1,1,1,0,1,1,3,3,1,1,0,0,0,1,1,5,0,0,5,1,1,0,15,0,15,0,1,1,7,21,35,35,21,7,1,1,0,0,0,0,0,0,0,1,1,9,0,0,0,0,0,0,9,1,1,0,45,0,0,0,0,0,45,0,1,1,11,55,165,0,0,0,0,165,55,11,1,1,0,0,0,495,0,...
PMOO/ADA/LAB2/PARTE_2/listas_enteros.ads
usainzg/EHU
0
26526
<reponame>usainzg/EHU with Listas; package Listas_Enteros is new Listas(Elemento => Integer);
examples/simple-lib/Lib/IO.agda
redfish64/autonomic-agda
1
14688
module Lib.IO where open import Lib.List open import Lib.Prelude {-# IMPORT System.Environment #-} FilePath = String postulate IO : Set -> Set getLine : IO String putStrLn : String -> IO Unit putStr : String -> IO Unit bindIO : {A B : Set} -> IO A -> (A -> IO B) -> IO B returnIO : {A :...
src/fot/PA/Inductive2Mendelson.agda
asr/fotc
11
7683
------------------------------------------------------------------------------ -- From inductive PA to Mendelson's axioms ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymo...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array16.ads
best08618/asylo
7
23673
with Array16_Pkg; package Array16 is type T1 (D : Integer) is record case D is when 1 => I : Integer; when others => null; end case; end record; type Arr is array (Integer range <>) of Integer; type My_T1 is new T1 (Array16_Pkg.N); type My_T2 is new Arr (1 .. Integer'Min (2, Array16_Pk...
Driver/Printer/PrintCom/Job/jobPaperPathASFControl.asm
steakknife/pcgeos
504
168741
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Printer Drivers FILE: jobPaperPathASFControl.asm AUTHOR: <NAME>, 8 Sept 1991 ROUTINES: Name Description ---- ----------- REVISION H...
libsrc/_DEVELOPMENT/l/sdcc/__divuschar.asm
jpoikela/z88dk
640
170392
<reponame>jpoikela/z88dk<gh_stars>100-1000 SECTION code_clib SECTION code_l_sdcc PUBLIC __divuschar PUBLIC __divuschar_0 EXTERN l_divs_16_16x16 __divuschar: ; mixed 8-bit division ; ; enter : stack = divisor (unsigned byte), dividend (signed byte), ret ; ; exit : hl = quotient ; de = rem...
old/HLevel.agda
timjb/HoTT-Agda
294
4090
<filename>old/HLevel.agda {-# OPTIONS --without-K #-} open import Types open import Paths {- Stuff about truncation levels (aka h-levers) that do not require the notion of equivalence or function extensionality -} module HLevel {i} where -- Definition of truncation levels is-contr : Set i → Set i is-contr A = Σ...
src/lumen-events.adb
darkestkhan/lumen
8
9279
<filename>src/lumen-events.adb -- <NAME>, NiEstu, Phoenix AZ, Spring 2010 -- Lumen would not be possible without the support and contributions of a cast -- of thousands, including and primarily Rod Kay. -- This code is covered by the ISC License: -- -- Copyright © 2010, NiEstu -- -- Permission to use, copy, modify, ...
oeis/307/A307096.asm
neoneye/loda-programs
11
247360
<gh_stars>10-100 ; A307096: Positive integers m such that for any positive integer k the last k bits of the binary expansion of m is not a multiple of 3. ; Submitted by <NAME>(w4) ; 1,5,13,17,29,37,49,61,65,77,101,113,125,133,145,157,193,205,229,241,253,257,269,293,305,317,389,401,413,449,461,485,497,509,517,529,541,57...
chips/chips_code.asm
StraDaMa/mmbn6-pikachu-boss-battle
7
86178
<reponame>StraDaMa/mmbn6-pikachu-boss-battle<gh_stars>1-10 .include "pikachu_chip_object.asm" ;eof
ls/ls.asm
NudelErde/Kernel
0
246305
../ls/ls.elf: file format elf64-x86-64 Disassembly of section .text: 0000000060000000 <exit(unsigned long)>: 60000000: 55 push %rbp 60000001: 48 89 e5 mov %rsp,%rbp 60000004: 48 83 ec 10 sub $0x10,%rsp 60000008: 48 89 7d f8 mov %rdi,...
Microsoft Word for Windows Version 1.1a/Word 1.1a CHM Distribution/Opus/asm/nattrans.asm
lborgav/Historical-Source-Codes
7
12664
<reponame>lborgav/Historical-Source-Codes<filename>Microsoft Word for Windows Version 1.1a/Word 1.1a CHM Distribution/Opus/asm/nattrans.asm include w2.inc include noxport.inc include consts.inc include windows.inc errNull equ 0 errDiv0 equ (errNull+7) errVal equ (errDiv0+8) errRef equ (er...
dino/lcs/enemy/82.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
93454
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004C5C move.b #$4, ($82,A0) 004C62 lea ($e0,A0), A0 [enemy+82] 004D38 move.l D0, (A4)+ 004D3A move.l D0, (A4)+ 009B30 tst.b ($82,A6) 009B34 bne $9b46 [123p+ 82, enemy+82] 009C46 tst.b ($...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1585.asm
ljhsiun2/medusa
9
28313
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1585.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0xbd13, %r10 nop nop nop dec %rcx mov (%r10), %r14d nop nop nop cmp $28803, %r13 lea addresses_...
ExampleScript.applescript
fruitsamples/SimpleCarbonAppleScript
0
4011
<filename>ExampleScript.applescript<gh_stars>0 (* File: ExampleScript.applescript Abstract: an example script for exercising the scripting commands implemented in the Astronaut application. Version: 1.0 (c) Copyright 2007 Apple Computer, Inc. All rights reserved. IMPORTANT: This Apple software is supplied to you ...
oeis/190/A190965.asm
neoneye/loda-programs
11
178386
<reponame>neoneye/loda-programs ; A190965: a(n) = 4*a(n-1) - 6*a(n-2), with a(0)=0, a(1)=1. ; Submitted by <NAME> ; 0,1,4,10,16,4,-80,-344,-896,-1520,-704,6304,29440,79936,143104,92800,-487424,-2506496,-7101440,-13366784,-10858496,36766720,212217856,628271104,1239777280,1189482496,-2680733696,-17859829760,-55354916864,...
boards/OpenMV2/src/openmv.adb
morbos/Ada_Drivers_Library
2
15265
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- ...
lib/common.asm
c64lib/common
7
241105
<filename>lib/common.asm #importonce .filenamespace c64lib /* * Why Kickassembler does not support bitwise negation on numerical values? * * Params: * value: byte to be negated */ .function neg(value) { .return value ^ $FF } .assert "neg($00) gives $FF", neg($00), $FF .assert "neg($FF) gives $00", neg($FF), $00...
oeis/010/A010161.asm
neoneye/loda-programs
11
171128
<gh_stars>10-100 ; A010161: Continued fraction for sqrt(89). ; Submitted by <NAME>(s2) ; 9,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2 mul $0,2 se...
src/VMTranslator/fixtures/ProgramFlow/FibonacciSeries/FibonacciSeries.asm
tuzmusic/HackManager
1
2274
<reponame>tuzmusic/HackManager // COMMAND #1: push argument 1 @ARG // move to argument D=M // store the "argument" base address @1 // move to address representing offset A=D+A // new addr = base addr + offset D=M // store current memory value in D @SP // >>> pu...
ZX-Spectrum/library/random_simple.asm
peroff/8-Bit-Tea-Party
13
85835
;Simple random function for register A. ;Authours: Alexander ; ;Function returns random 8-bit value, ;in register A, using simple arthmetic ;and bit operators. ;Distribution not so good but fast. ;Needs global name 'RANDOM_INIT' to ;initialization - EQU #NN DEFB, ALASM. ; ;Parameters: ;- ; ;Returns: ;A ...
alloy4fun_models/trainstlt/models/8/aDdZuuLH6SEsXp5gp.als
Kaixi26/org.alloytools.alloy
0
1708
<reponame>Kaixi26/org.alloytools.alloy open main pred idaDdZuuLH6SEsXp5gp_prop9 { always ( all t:Train | (no t.pos) triggered (t.pos' in Entry) ) } pred __repair { idaDdZuuLH6SEsXp5gp_prop9 } check __repair { idaDdZuuLH6SEsXp5gp_prop9 <=> prop9o }
programs/oeis/031/A031940.asm
karttu/loda
1
176075
; A031940: Length of longest legal domino snake using full set of dominoes up to [n:n]. ; 1,3,6,9,15,19,28,33,45,51,66,73,91,99,120,129,153,163,190,201,231,243,276,289,325,339,378,393,435,451,496,513,561,579,630,649,703,723,780,801,861,883,946,969,1035,1059,1128,1153,1225,1251,1326,1353,1431,1459,1540,1569,1653,1683,17...
Debug/list.asm
polamagdygeo/uWave
0
241912
<gh_stars>0 ;****************************************************************************** ;* TI ARM C/C++ Codegen Unix v18.1.1.LTS * ;* Date/Time created: Fri Jul 3 20:08:22 2020 * ;*******************************************************************...
src/asf-security-filters.ads
Letractively/ada-asf
0
28502
----------------------------------------------------------------------- -- security-filters -- Security filter -- Copyright (C) 2011, 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 License. ...
src/Generic/Lib/Data/Product.agda
turion/Generic
0
17208
module Generic.Lib.Data.Product where open import Data.Product renaming (map to pmap; zip to pzip) hiding (map₁; map₂) public open import Generic.Lib.Intro open import Generic.Lib.Category infixl 4 _,ᵢ_ first : ∀ {α β γ} {A : Set α} {B : Set β} {C : A -> Set γ} -> (∀ x -> C x) -> (p : A × B) -> C (proj₁ p) × ...
programs/oeis/080/A080333.asm
neoneye/loda
22
103229
<filename>programs/oeis/080/A080333.asm ; A080333: Partial sums of A080278. ; 1,2,6,7,8,12,13,14,27,28,29,33,34,35,39,40,41,54,55,56,60,61,62,66,67,68,108,109,110,114,115,116,120,121,122,135,136,137,141,142,143,147,148,149,162,163,164,168,169,170,174,175,176,216,217,218,222,223,224,228,229 mov $2,$0 add $2,1 mov $4,$0...
day09/src/day.ads
jwarwick/aoc_2020
3
18808
<filename>day09/src/day.ads -- AOC 2020, Day 9 with Ada.Containers.Vectors; package Day is package XMAS_Vector is new Ada.Containers.Vectors (Index_Type => Natural, Element_Type => Long_Integer); use XMAS_Vector; function load_file(filename : in String) return XMAS_Vector.Vector; function first...
internal/parser2/NitroLexer.g4
dcaiafa/nitro
0
6504
lexer grammar NitroLexer; import Strings; M_INFO: '!info'; M_PARAM: '!param'; M_FLAG: '!flag'; AND: 'and'; BREAK: 'break'; CATCH: 'catch'; CONTINUE: 'continue'; DEFER: 'defer'; ELSE: 'else'; FALSE: 'false'; FOR: 'for'; FUNC: 'func'; IF: 'if'; IMPORT: 'import'; NIL: 'nil'; NOT: 'not'; OR: 'or'; RETURN: 'return'; THROW...
source/symbols.ads
jquorning/CELLE
0
27126
<filename>source/symbols.ads<gh_stars>0 -- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive others. -- May you share freely, not taking more than you give. -- wi...
programs/oeis/087/A087278.asm
neoneye/loda
22
97806
<reponame>neoneye/loda<gh_stars>10-100 ; A087278: Distance to nearest square is not greater than 1. ; 0,1,2,3,4,5,8,9,10,15,16,17,24,25,26,35,36,37,48,49,50,63,64,65,80,81,82,99,100,101,120,121,122,143,144,145,168,169,170,195,196,197,224,225,226,255,256,257,288,289,290,323,324,325,360,361,362,399,400,401 mov $2,$0 div...
Math/NumberTheory/Product/Generic.agda
rei1024/agda-misc
3
11242
<filename>Math/NumberTheory/Product/Generic.agda {-# OPTIONS --without-K --safe #-} module Math.NumberTheory.Product.Generic where -- agda-stdlib open import Algebra -- agda-misc open import Math.NumberTheory.Summation.Generic -- TODO add syntax module MonoidProduct {c e} (M : Monoid c e) = MonoidSummation M re...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_898.asm
ljhsiun2/medusa
9
18338
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x106da, %rsi lea addresses_A_ht+0x1e42a, %rdi nop add %rbp, %rbp mov $25, %rcx rep movsw nop nop nop cmp $1989, %r9 lea addresses_normal_ht+0x156da, %r11 nop nop sub $48894, %...
programs/oeis/196/A196787.asm
neoneye/loda
22
81599
; A196787: a(n) = 3*a(n-1) - 2*a(n-2) - a(n-4) + a(n-5) with initial terms 1, 1, 1, 3, 6. ; 1,1,1,3,6,12,24,46,87,163,303,561,1036,1910,3518,6476,11917,21925,40333,74191,136466,251008,461684,849178,1561891,2872775,5283867,9718557,17875224,32877674,60471482,111224408,204573593,376269513,692067545 lpb $0 mov $2,$0 s...
Pasteboard/PasteFromThings.grandtotalplugin/script.applescript
mediaatelier/GrandTotal-Plugins
5
3630
<reponame>mediaatelier/GrandTotal-Plugins tell application id "com.culturedcode.ThingsMac" set theList to selected to dos set theResult to "[" set theMax to number of items in theList set theCount to 0 repeat with theItem in theList set theCount to theCount + 1 set theResult to theResult & "{" set theResult ...
test/Succeed/Issue3731.agda
shlevy/agda
1,989
10816
<reponame>shlevy/agda -- Andreas, 2019-04-30, issue #3731 -- Compiler backend: Do not look for a main function if not the main module. open import Agda.Builtin.Nat module Issue3731 where module M where module main where record R : Set where field main : Nat data Main : Set where main : Main mod...
oeis/300/A300077.asm
neoneye/loda-programs
11
92235
; A300077: Decimal expansion of Pi/2 truncated to n places. ; Submitted by <NAME> ; 1,15,157,1570,15707,157079,1570796,15707963,157079632,1570796326,15707963267,157079632679,1570796326794,15707963267948,157079632679489,1570796326794896,15707963267948966,157079632679489661,1570796326794896619,15707963267948966192 mov $...
Cubical/HITs/Ints/QuoInt/Properties.agda
dan-iel-lee/cubical
0
11941
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.HITs.Ints.QuoInt.Properties where open import Cubical.Core.Everything open import Cubical.Foundations.Prelude open import Cubical.Foundations.Function open import Cubical.Foundations.HLevels open import Cubical.Foundations.Equiv open import Cubical.Rela...
src/hott/loop/sum.agda
pcapriotti/agda-base
20
16997
<reponame>pcapriotti/agda-base<filename>src/hott/loop/sum.agda {-# OPTIONS --without-K #-} module hott.loop.sum where open import sum open import equality open import function.core open import function.extensionality open import function.isomorphism open import function.overloading open import sets.nat open import poi...
oeis/092/A092387.asm
neoneye/loda-programs
11
172549
<gh_stars>10-100 ; A092387: a(n) = Fibonacci(2*n+1) + Fibonacci(2*n-1) + 2. ; 5,9,20,49,125,324,845,2209,5780,15129,39605,103684,271445,710649,1860500,4870849,12752045,33385284,87403805,228826129,599074580,1568397609,4106118245,10749957124,28143753125,73681302249,192900153620,505019158609,1322157322205,3461452808004,90...
src/Prelude/Size.agda
nad/equality
3
9470
<gh_stars>1-10 ------------------------------------------------------------------------ -- Support for sized types ------------------------------------------------------------------------ {-# OPTIONS --without-K --sized-types #-} module Prelude.Size where open import Prelude -- Size primitives. open import Agda.Bu...
src/Bisimilarity/CCS/Examples/Natural-numbers.agda
nad/up-to
0
6476
------------------------------------------------------------------------ -- An example that uses natural numbers as names, implemented using -- the coinductive definition of bisimilarity ------------------------------------------------------------------------ {-# OPTIONS --sized-types #-} module Bisimilarity.CCS.Exam...
oeis/001/A001120.asm
neoneye/loda-programs
11
26405
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A001120: a(0) = a(1) = 1; for n > 1, a(n) = n*a(n-1) + (-1)^n. ; Submitted by <NAME>(m4) ; 1,1,3,8,33,164,985,6894,55153,496376,4963761,54601370,655216441,8517813732,119249392249,1788740883734,28619854139745,486537520375664,8757675366761953,166395831968477106,3327916639...
programs/oeis/000/A000069.asm
jmorken/loda
1
243900
; A000069: Odious numbers: numbers with an odd number of 1's in their binary expansion. ; 1,2,4,7,8,11,13,14,16,19,21,22,25,26,28,31,32,35,37,38,41,42,44,47,49,50,52,55,56,59,61,62,64,67,69,70,73,74,76,79,81,82,84,87,88,91,93,94,97,98,100,103,104,107,109,110,112,115,117,118,121,122,124,127,128,131,133,134,137,138,140,1...
data/mapHeaders/UndergroundPathRoute5.asm
AmateurPanda92/pokemon-rby-dx
9
2429
UndergroundPathRoute5_h: db GATE ; tileset db UNDERGROUND_PATH_ROUTE_5_HEIGHT, UNDERGROUND_PATH_ROUTE_5_WIDTH ; dimensions (y, x) dw UndergroundPathRoute5_Blocks ; blocks dw UndergroundPathRoute5_TextPointers ; texts dw UndergroundPathRoute5_Script ; scripts db 0 ; connections dw UndergroundPathRoute5_Object ; o...
src/main/antlr/KafkaMigrations.g4
purbon/kafka-migration-tool
6
1607
grammar KafkaMigrations; migration : OP_LITERAL apply_function revert_function; apply_function : 'def' 'up' code_block SEMICOLON ; revert_function : 'def' 'down' code_block SEMICOLON ; code_block : FUNCTION_OPEN_CODE_BLOCK (method | variable)+ FUNCTION_CLOSE_CODE_BLOCK ; variable: 'var' ID '=' '"' ID '"' SEMICO...
programs/oeis/006/A006513.asm
neoneye/loda
22
177433
<reponame>neoneye/loda<gh_stars>10-100 ; A006513: Limit of the image of n after 2k iterates of `(3x+1)/2' map as k grows. ; 1,2,2,1,1,1,2,2,2,2,1,2,2,1,1,1,2,1,1,1,1,2,2,1,1,1,1,2,2,2,2,2,1,1,1,2,2,2,2,2,2,2,1,1,1,1,1,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,1,2,1,2,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,1,2,1,...
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-except.ads
orb-zhuchen/Orb
0
21637
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
source/asis/spec/ada-strings-wide_wide_unbounded.ads
faelys/gela-asis
4
9244
<gh_stars>1-10 ------------------------------------------------------------------------------ -- 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 ...
dino/lcs/base/6C4.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
167837
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 000AE0 clr.w ($6c4,A5) 000AE4 clr.w ($6c8,A5) [base+6C4] 004D22 move.l D0, (A4)+ 004D24 move.l D0, (A4)+ 00C5E2 addi.w #$c, ($6c4,A5) 00C5E8 cmpi.w #$130, ($6c4,A5) [base+6C4] 00C5EE bcs $c...