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 |
|---|---|---|---|---|
alloy4fun_models/trashltl/models/4/sGpfzDwswMukrqTwM.als | Kaixi26/org.alloytools.alloy | 0 | 3275 | <gh_stars>0
open main
pred idsGpfzDwswMukrqTwM_prop5 {
all f : File | f in File until f not in File
}
pred __repair { idsGpfzDwswMukrqTwM_prop5 }
check __repair { idsGpfzDwswMukrqTwM_prop5 <=> prop5o } |
MSDOS/Virus.MSDOS.Unknown.dichotom.asm | fengjixuchui/Family | 3 | 171964 | ; Dichotomy Virus
; (c) 1994 Evil Avatar
;
; TASM /M3 DIKOTOMY
; TLINK /X DIKOTOMY
; EXE2BIN DIKOTOMY DIKOTOMY.COM
.model tiny
.code
org 0
;=====( Entry point for COM files )========================================
Dichotomy:
call delta
delta: mov bx, sp
mov bp, word ptr ds:[bx]
... |
oeis/227/A227428.asm | neoneye/loda-programs | 11 | 10174 | <reponame>neoneye/loda-programs
; A227428: Number of twos in row n of triangle A083093.
; Submitted by <NAME>
; 0,0,1,0,0,2,1,2,4,0,0,2,0,0,4,2,4,8,1,2,4,2,4,8,4,8,13,0,0,2,0,0,4,2,4,8,0,0,4,0,0,8,4,8,16,2,4,8,4,8,16,8,16,26,1,2,4,2,4,8,4,8,13,2,4,8,4,8,16,8,16,26,4,8,13,8,16,26,13,26,40,0,0,2,0,0,4,2,4,8,0,0,4,0,0,8,4... |
oeis/031/A031215.asm | neoneye/loda-programs | 11 | 167491 | <gh_stars>10-100
; A031215: Even-indexed primes: a(n) = prime(2n).
; Submitted by <NAME>
; 3,7,13,19,29,37,43,53,61,71,79,89,101,107,113,131,139,151,163,173,181,193,199,223,229,239,251,263,271,281,293,311,317,337,349,359,373,383,397,409,421,433,443,457,463,479,491,503,521,541,557,569,577,593,601,613,619,641,647,659,673... |
oeis/116/A116156.asm | neoneye/loda-programs | 11 | 4365 | ; A116156: a(n) = 5^n * n*(n + 1).
; 0,10,150,1500,12500,93750,656250,4375000,28125000,175781250,1074218750,6445312500,38085937500,222167968750,1281738281250,7324218750000,41503906250000,233459472656250,1304626464843750,7247924804687500,40054321289062500,220298767089843750,1206398010253906250,6580352783203125000,357627... |
src/Up-to/Closure.agda | nad/up-to | 0 | 5093 | <reponame>nad/up-to
------------------------------------------------------------------------
-- Closure properties for Compatible and Size-preserving
------------------------------------------------------------------------
{-# OPTIONS --sized-types #-}
module Up-to.Closure where
open import Equality.Propositional
op... |
libsrc/_DEVELOPMENT/target/yaz180/driver/time/c/sdcc/clock_settime.asm | Frodevan/z88dk | 640 | 163517 | SECTION code_driver
PUBLIC _clock_settime
EXTERN asm_clock_settime
; set the the system time
_clock_settime:
pop af
inc sp ; ignore the enum clock_id
pop hl
push hl
dec sp
push af
jp asm_clock_settime
|
alloy4fun_models/trainstlt/models/5/S6jBqWKutg4jxCEge.als | Kaixi26/org.alloytools.alloy | 0 | 2846 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idS6jBqWKutg4jxCEge_prop6 {
always all s: Signal | s in Green implies s' not in Green
}
pred __repair { idS6jBqWKutg4jxCEge_prop6 }
check __repair { idS6jBqWKutg4jxCEge_prop6 <=> prop6o } |
programs/oeis/032/A032934.asm | neoneye/loda | 22 | 172543 | ; A032934: Numbers whose set of base 14 digits is {1,2}.
; 1,2,15,16,29,30,211,212,225,226,407,408,421,422,2955,2956,2969,2970,3151,3152,3165,3166,5699,5700,5713,5714,5895,5896,5909,5910,41371,41372,41385,41386,41567,41568,41581,41582,44115,44116,44129,44130,44311,44312,44325,44326,79787,79788,79801,79802,79983,79984,7... |
src/asf-beans-resolvers.ads | Letractively/ada-asf | 0 | 7152 | -----------------------------------------------------------------------
-- asf-beans-resolvers -- Resolver to create and give access to managed beans
-- Copyright (C) 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except... |
programs/oeis/063/A063136.asm | karttu/loda | 1 | 179356 | ; A063136: Dimension of the space of weight 2n cusp forms for Gamma_0( 68 ).
; 7,24,42,60,78,96,114,132,150,168,186,204,222,240,258,276,294,312,330,348,366,384,402,420,438,456,474,492,510,528,546,564,582,600,618,636,654,672,690,708,726,744,762,780,798,816,834,852,870,888,906,924,942
mov $1,$0
mul $1,18
trn $1,1
add $1... |
src/Calculator.agda | MaisaMilena/AgdaCalculator | 1 | 4226 | <gh_stars>1-10
module Calculator where
open import Human.Humanity hiding (_==_)
open import Human.Nat public hiding (_==_)
open import Human.Char public
open import Human.Equality public
--------- Data ---------
-- Generic proof to proof "Or" operation. Proof that one of the arguments must be true
data Either (A B : ... |
oeis/275/A275539.asm | neoneye/loda-programs | 11 | 101282 | ; A275539: a(n) = n! + n*(n-1)!!.
; Submitted by <NAME>
; 1,2,4,12,36,160,810,5376,41160,366336,3638250,39959040,479126340,6227619840,87180183090,1307684044800,20922822320400,355687603568640,6402374325997650,121645103938928640,2432902021271221500,51090942249743155200,1124000728080092512650,25852016740765217587200,62044... |
oeis/166/A166643.asm | neoneye/loda-programs | 11 | 179629 | <gh_stars>10-100
; A166643: Totally multiplicative sequence with a(p) = 3*(p+1) for prime p.
; Submitted by <NAME>(s4)
; 1,9,12,81,18,108,24,729,144,162,36,972,42,216,216,6561,54,1296,60,1458,288,324,72,8748,324,378,1728,1944,90,1944,96,59049,432,486,432,11664,114,540,504,13122,126,2592,132,2916,2592,648,144,78732,576,... |
source/asis/asis-statements.ads | faelys/gela-asis | 4 | 5143 | <reponame>faelys/gela-asis<filename>source/asis/asis-statements.ads
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-- 18 package Asis.Statements
-------------------------------------------------------------... |
TD6/Div2.agda | erwinkn/program-eq-proof | 0 | 10337 | <filename>TD6/Div2.agda
open import Relation.Binary.PropositionalEquality
open import Data.Nat
open import Data.Nat.Properties using (+-suc)
open import Data.Product renaming (_×_ to _∧_)
open import Data.Sum renaming (_⊎_ to _∨_ ; inj₁ to left ; inj₂ to right)
{- 5.1 Extrinsic approach -}
div2 : ℕ → ℕ
div2 zero = ... |
problem/src/tictactoe.ads | AdaCore/tictactoe | 3 | 27077 | <reponame>AdaCore/tictactoe
package Tictactoe
with SPARK_Mode => On
is
type Slot is (Empty, Player, Computer);
type Pos is new Integer range 1 .. 3;
type Column is array (Pos) of Slot;
type Board is array (Pos) of Column;
My_Board : Board := (others => (others => Empty));
-- Game operations
pro... |
oeis/215/A215007.asm | neoneye/loda-programs | 11 | 164722 | <reponame>neoneye/loda-programs<filename>oeis/215/A215007.asm
; A215007: a(n) = 7*a(n-1) - 14*a(n-2) + 7*a(n-3), a(0)=1, a(1)=3, a(2)=9.
; Submitted by <NAME>
; 1,3,9,28,91,308,1078,3871,14161,52479,196196,737793,2785160,10540390,39955041,151615947,575723785,2187128524,8311078307,31587815308,120069510526,456434707519,1... |
Src/SacaraVm/vm_write.asm | mrfearless/sacara | 0 | 97110 | <reponame>mrfearless/sacara<filename>Src/SacaraVm/vm_write.asm
header_VmWrite
vm_write PROC
push ebp
mov ebp, esp
sub esp, 8
; read the offset
push [ebp+arg0]
call_vm_stack_pop_enc
mov [ebp+local0], eax
; read opcode to write
push [ebp+arg0]
call_vm_stack_pop_enc
mov [ebp+local1], eax
; to go the offse... |
src/cm_func.asm | spannerisms/lttphack | 6 | 97465 | CMDO_SAVE_ADDRESS_LONG:
JSR .continue
LDA.b [SA1IRAM.cm_current_selection],Y
STA.b SA1IRAM.cm_writer+2
INY
RTS
#CMDO_SAVE_ADDRESS_00:
SEP #$20
STZ.b SA1IRAM.cm_writer+2
.continue
REP #$20
LDA.b [SA1IRAM.cm_current_selection],Y
INY
INY
STA.b SA1IRAM.cm_writer+0
SEP #$20
ACTION_EXIT:
CMDO_HEADER:
CMDO_... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/frunaligned.adb | best08618/asylo | 7 | 9054 | -- { dg-do compile }
-- { dg-options "-gnatws" }
with FRUnaligned1; use FRUnaligned1;
function FRUnaligned return r is
ss : s;
begin
return ss.y;
end;
|
programs/oeis/258/A258197.asm | neoneye/loda | 22 | 24376 | <filename>programs/oeis/258/A258197.asm
; A258197: Arithmetic derivative of Pascal's triangle.
; 0,0,0,0,1,0,0,1,1,0,0,4,5,4,0,0,1,7,7,1,0,0,5,8,24,8,5,0,0,1,10,12,12,10,1,0,0,12,32,92,59,92,32,12,0,0,6,60,124,165,165,124,60,6,0,0,7,39,244,247,456,247,244,39,7,0,0,1,16,103,371,493,493,371,103,16,1,0,0,16,61,284,474,178... |
source/s-unwrai.ads | ytomino/drake | 33 | 24847 | <reponame>ytomino/drake
pragma License (Unrestricted);
-- runtime unit
with Ada;
with System.Unwind.Representation;
package System.Unwind.Raising is
pragma Preelaborate;
-- equivalent to Raise_With_Location_And_Msg (a-except-2005.adb)
procedure Raise_Exception (
E : not null Exception_Data_Access;
... |
programs/oeis/063/A063105.asm | neoneye/loda | 22 | 85143 | <reponame>neoneye/loda
; A063105: Dimension of the space of weight 2n cusp forms for Gamma_0( 37 ).
; 2,9,15,21,27,35,39,47,53,59,65,73,77,85,91,97,103,111,115,123,129,135,141,149,153,161,167,173,179,187,191,199,205,211,217,225,229,237,243,249,255,263,267,275,281,287,293,301,305,313
seq $0,63247 ; Dimension of the spa... |
examples/paex_sine/src/paex_sine_callbacks.ads | ficorax/PortAudioAda | 2 | 28581 | with Interfaces.C;
with System;
with PortAudioAda; use PortAudioAda;
package PaEx_Sine_Callbacks is
-----------------------------------------------------------------------------
-- This routine will be called by the PortAudio engine when audio is needed.
-- It may called at interrupt level on some machin... |
MTMR/AppleScripts/Finder.scpt | FedorZaytsev/MTMR | 3,715 | 1844 | <reponame>FedorZaytsev/MTMR
tell application "Finder"
if not (exists window 1) then
make new Finder window
set target of front window to path to home folder as string
end if
activate
end tell
|
Task/Stack/Ada/stack-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 11994 | <reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10
generic
type Element_Type is private;
package Generic_Stack is
type Stack is private;
procedure Push (Item : Element_Type; Onto : in out Stack);
procedure Pop (Item : out Element_Type; From : in out Stack);
function Create return Stack;
Stack_Empt... |
source/required/s-string.ads | ytomino/drake | 33 | 26418 | pragma License (Unrestricted);
-- implementation unit required by compiler
package System.Strings is
pragma Pure;
end System.Strings;
|
target/cos_117/disasm/iop_overlay1/COMM05.asm | jrrk2/cray-sim | 49 | 6427 | <filename>target/cos_117/disasm/iop_overlay1/COMM05.asm
0x0000 (0x000000) 0x211C- f:00020 d: 284 | A = OR[284]
0x0001 (0x000002) 0x1601- f:00013 d: 1 | A = A - 1 (0x0001)
0x0002 (0x000004) 0x2922- f:00024 d: 290 | OR[290] = A
0x0003 (0x000006) 0x102C... |
llvm-gcc-4.2-2.9/gcc/ada/prj-err.ads | vidkidz/crossbridge | 1 | 11812 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
test/br3028880.asm | bitwiseworks/nasm-os2 | 3 | 240145 | ;Testname=br3028880; Arguments=-Ox -fbin -obr3028880.o; Files=stdout stderr br3028880.o
%macro import 1
%define %%incfile %!PROJECTBASEDIR/%{1}.inc
%endmacro
import foo
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c47003a.ada | best08618/asylo | 7 | 10250 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c47003a.ada<gh_stars>1-10
-- C47003A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained ... |
oeis/019/A019696.asm | neoneye/loda-programs | 11 | 162775 | ; A019696: Decimal expansion of 2*Pi/9.
; Submitted by <NAME>
; 6,9,8,1,3,1,7,0,0,7,9,7,7,3,1,8,3,0,7,6,9,4,7,6,3,0,7,3,9,5,4,4,5,0,8,5,3,7,7,1,4,8,7,5,5,4,1,6,6,9,0,1,8,2,4,3,8,8,7,6,5,7,6,0,6,8,4,0,3,6,4,5,8,4,1,3,7,9,7,7,7,4,7,2,8,9,6,6,2,7,8,5,3,8,0,3,7,9,2,8
add $0,1
mov $2,1
mov $3,$0
mul $3,5
lpb $3
mul $1,$3... |
_maps/obj3B.asm | NatsumiFox/AMPS-Sonic-1-2005 | 2 | 83407 | ; ---------------------------------------------------------------------------
; Sprite mappings - purple rock (GHZ)
; ---------------------------------------------------------------------------
dc.w byte_D110-Map_obj3B
byte_D110: dc.b 2
dc.b $F0, $B, 0, 0, $E8
dc.b $F0, $B, 0, $C, 0
even |
fm/DosQCurDir.asm | prokushev/FamilyAPI | 1 | 85472 | ;/*!
; @file
;
; @ingroup fapi
;
; @brief DosQCurDir DOS wrapper
;
; (c) osFree Project 2018, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author <NAME> (<EMAIL>... |
examples/MicroBit_v2/accelerometer/src/main.adb | BaderKashkash/Ada_Drivers_Library | 1 | 21659 | <reponame>BaderKashkash/Ada_Drivers_Library<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2019, AdaCore --
-- ... |
src/main/fragment/mos6502-common/vwum1=vwum1_bor_vwum2.asm | jbrandwood/kickc | 2 | 173985 | lda {m1}
ora {m2}
sta {m1}
lda {m1}+1
ora {m2}+1
sta {m1}+1
|
dev/himem/himem4.asm | minblock/msdos | 0 | 12793 | <reponame>minblock/msdos
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1988-1992
; * All Rights Reserved.
; */
page 95,160
title himem4 - block allocation stuff (common to both 286&386)
.xlist
include himem.inc
.list
; The stuff we provide:
... |
gcc-gcc-7_3_0-release/gcc/ada/prj-proc.adb | best08618/asylo | 7 | 14474 | <reponame>best08618/asylo
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
programs/oeis/157/A157735.asm | neoneye/loda | 22 | 5672 | ; A157735: 18522n - 8274.
; 10248,28770,47292,65814,84336,102858,121380,139902,158424,176946,195468,213990,232512,251034,269556,288078,306600,325122,343644,362166,380688,399210,417732,436254,454776,473298,491820,510342,528864,547386,565908,584430,602952,621474,639996,658518,677040,695562,714084,732606,751128,769650,788... |
agda/FsubMinus.agda | HuStmpHrrr/popl20-artifact | 1 | 8951 | <filename>agda/FsubMinus.agda
{-# OPTIONS --without-K --safe #-}
-- In this module, we define F<:⁻, F<:ᵈ (F<: deterministic defined in Pierce92) and
-- show that F<:⁻ subtyping is undecidable.
module FsubMinus where
open import Data.List as List
open import Data.Nat
open import Data.Maybe as Maybe
open import Data.Pr... |
src/oled_sh1106-display.ads | KLOC-Karsten/adaoled | 0 | 21851 | <filename>src/oled_sh1106-display.ads
with Interfaces; use Interfaces;
package OLED_SH1106.Display is
OLED_RST : constant Unsigned_16 := 25;
OLED_DC : constant Unsigned_16 := 24;
OLED_CS : constant Unsigned_16 := 8;
KEY_UP_PIN : constant Unsigned_16 := 6;
KEY_DOWN_PIN : constant Unsigne... |
Driver/Printer/PrintCom/Styles/stylesSRBold.asm | steakknife/pcgeos | 504 | 83828 |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Print Drivers
FILE: stylesSRBold.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name ... |
oeis/167/A167312.asm | neoneye/loda-programs | 11 | 90007 | ; A167312: Totally multiplicative sequence with a(p) = 2*(p-3) for prime p.
; Submitted by <NAME>(s2)
; 1,-2,0,4,4,0,8,-8,0,-8,16,0,20,-16,0,16,28,0,32,16,0,-32,40,0,16,-40,0,32,52,0,56,-32,0,-56,32,0,68,-64,0,-32,76,0,80,64,0,-80,88,0,64,-32,0,80,100,0,64,-64,0,-104,112,0,116,-112,0,64,80,0,128,112,0,-64,136,0,140,-13... |
data/pokemon/base_stats/ponyta.asm | opiter09/ASM-Machina | 1 | 22153 | db DEX_PONYTA ; pokedex id
db 50, 85, 55, 90, 65
; hp atk def spd spc
db FIRE, FIRE ; type
db 190 ; catch rate
db 152 ; base exp
INCBIN "gfx/pokemon/front/ponyta.pic", 0, 1 ; sprite dimensions
dw PonytaPicFront, PonytaPicBack
db EMBER, TAIL_WHIP, NO_MOVE, NO_MOVE ; level 1 learnset
db GROWTH_ME... |
src/main/antlr4/com/cbrew/fstruct/notation/FeatParser.g4 | cbrew/quadruplet | 0 | 4487 | <gh_stars>0
parser grammar FeatParser;
options { tokenVocab=FeatLexer; }
cfg: (lexentry | cfgrule | mcfgrule)*;
mcfgrule: featureMap Arrow2 mcfgrhs;
cfgrule: featureMap Arrow cfgrhs;
cfgrhs: rhspart (Pipe rhspart)*;
mcfgrhs: mcfgrhspart (Pipe mcfgrhspart)*;
rhspart: (featureMap|word) +;
mcfgrhspart: featureMap+ Col... |
Task/Create-an-HTML-table/Ada/create-an-html-table-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 22859 | <reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10
with Ada.Strings.Unbounded;
generic
type Item_Type is private;
with function To_String(Item: Item_Type) return String is <>;
with procedure Put(S: String) is <>;
with procedure Put_Line(Line: String) is <>;
package HTML_Table is
subtype U_String is... |
test/Fail/Issue1084.agda | cruhland/agda | 1,989 | 3516 | -- Andreas, 2014-12-03 Issue reported by <NAME>
postulate A : Set
f : A → A
g : A → A
f x = g x
ok : A → A
ok x = x
g x = f x
-- Only `f` and `g` should be colored red, not `ok`.
|
src/taglib.ads | persan/a-taglib | 0 | 26620 | with Ada.Calendar;
private with Ada.Finalization;
package taglib is
type File (<>) is tagged limited private;
type Tag (<>) is tagged limited private;
type AudioProperties (<>) is tagged limited private;
procedure set_strings_unicode (unicode : Boolean);
procedure set_string_management_enabled (mana... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_21829_1156.asm | ljhsiun2/medusa | 9 | 20768 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x12c00, %r13
nop
nop
nop
nop
nop
add %rbp, %rbp
movw $0x6162, (%r13)
nop
nop
nop
add $24845, %r11
lea addresses_WT_ht+0x5ed0, %r11
nop
nop
nop
xor $45657, %r15
movb ... |
Task/Integer-comparison/Ada/integer-comparison.ada | LaudateCorpus1/RosettaCodeData | 1 | 26083 | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_Io;
procedure Compare_Ints is
A, B : Integer;
begin
Get(Item => A);
Get(Item => B);
-- Test for equality
if A = B then
Put_Line("A equals B");
end if;
-- Test For Less Than
if A < B then
Put_Line("A ... |
libsrc/_DEVELOPMENT/stdio/c/sccz80/vfprintf_unlocked_callee.asm | meesokim/z88dk | 0 | 175515 | <filename>libsrc/_DEVELOPMENT/stdio/c/sccz80/vfprintf_unlocked_callee.asm
; int vfprintf_unlocked(FILE *stream, const char *format, void *arg)
SECTION code_stdio
PUBLIC vfprintf_unlocked_callee
EXTERN asm_vfprintf_unlocked
vfprintf_unlocked_callee:
pop af
pop bc
pop de
pop ix
push af
jp asm_... |
test/Bugs/Issue3027.agda | cruhland/agda | 1,989 | 1228 |
open import Agda.Builtin.Nat
open import Agda.Builtin.Bool
open import Agda.Builtin.Equality
F : Bool → Set
F false = Bool
F true = Nat
f : ∀ b → F b → Nat
f false false = 0
f false true = 1
f true x = 2
data D : Nat → Set where
mkD : (b : Bool) (x : F b) → D (f b x)
mutual
?X : Nat → Set
?X = _
?b... |
uti/lintasc.asm | olifink/smsqe | 0 | 15847 | ; Convert a long integer to ASCII into a buffer 1993 <NAME>
section utility
xdef ut_lintasc
;+++
; Convert a long integer to ASCII into a buffer. The maximum value
; is 999.999.999. A dirty way of doing it, but very quick.
;
; Entry Exit
; d1.... |
testcode/test_sti.asm | 1justinbarnett/ece411-sp2017 | 0 | 11463 | ORIGIN 4x0000
SEGMENT CodeSegment:
LEA R1, GOOD
NOP
NOP
NOP
NOP
NOP
NOP
NOP
LDR R2, R1, 0
LEA R1, VALUE1
NOP
NOP
NOP
NOP
NOP
NOP
NOP
STI R2, R1, 1
; Value 4x600D should be in VALUE3
LEA R1, VALUE3
NOP
NOP
NOP
NOP
NOP
NOP
NOP
LDR R0, R1, 0
; R0 should contain the value 4x600D
ENDLOOP:
B... |
test/filters-cases/gcc-arm-sum.asm | OfekShilon/compiler-explorer | 4,668 | 170705 | .arch armv8-a
.file "example.cpp"
.text
.Ltext0:
.align 2
.global _Z12testFunctionPii
.type _Z12testFunctionPii, %function
_Z12testFunctionPii:
.LFB0:
.file 1 "/tmp/example.cpp"
.loc 1 1 0
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
.loc 1 2 0
str wzr, [sp, 24]
.... |
programs/oeis/016/A016961.asm | neoneye/loda | 22 | 17324 | <filename>programs/oeis/016/A016961.asm
; A016961: a(n) = (6*n + 4)^5.
; 1024,100000,1048576,5153632,17210368,45435424,102400000,205962976,380204032,656356768,1073741824,1680700000,2535525376,3707398432,5277319168,7339040224,10000000000,13382255776,17623416832,22877577568,29316250624,37129300000,46525874176,57735339232... |
Prelude/Number.agda | bbarenblat/B | 1 | 9360 | <gh_stars>1-10
{- Copyright © 2015 <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 agreed to in writing,... |
raklogo.asm | hwreverse/PC-G850V | 7 | 11192 | 10 ORG 100H
11 XOR A
12 LD B,144
13 LD D,0
14 LD E,0
15 CALL 0BFEEH
16 JP MAIN
17GPF EQU 0BFD0H
18MAIN: LD HL,L0
19 LD B,144
20 LD DE,0
21 CALL GPF
22 LD HL,L1
23 LD B,144
24 LD DE,0100H
25 CALL GPF
26 LD HL,L2
27 LD B,144
28 LD DE,0200H
29 CALL GPF
30 LD HL,L3
31 LD B,144
32 LD DE,0300H
33 CALL ... |
Task/Sorting-algorithms-Quicksort/Ada/sorting-algorithms-quicksort-1.ada | djgoku/RosettaCodeData | 1 | 11518 | -----------------------------------------------------------------------
-- Generic Quicksort procedure
-----------------------------------------------------------------------
generic
type Element_Type is private;
type Index_Type is (<>);
type Element_Array is array(Index_Type range <>) of Element_Type;
wit... |
arquivos_teste/monta_teste_error_2.asm | LSantos06/MacroAssembler | 0 | 12894 | MOD_A: BEGIN ; begin sem end (tirar outros erros para ver)
SECTION TEXT
COPY ZERO,OLDER
COPY ONE,OLD
INPUT LIMIT
OUTPUT OLD
FRONT: LOAD OLDER
ADD OLD
STORE ONE ; modificao valor cte
DIV ZERO ; divisao por 0
SUB LIMIT
ADD R ; declaracao ausente
JMPP FINAL
OUTPUT NEW
OUTPUT VEC+4 ; endereco de memoria nao reservado
COPY ... |
alloy4fun_models/trashltl/models/5/YwzhpAvPTapMkKXjC.als | Kaixi26/org.alloytools.alloy | 0 | 4513 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idYwzhpAvPTapMkKXjC_prop6 {
all f: File | f in Trash since f in Trash
}
pred __repair { idYwzhpAvPTapMkKXjC_prop6 }
check __repair { idYwzhpAvPTapMkKXjC_prop6 <=> prop6o } |
library/fmGUI_ManageSecurity/fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable.applescript | NYHTC/applescript-fm-helper | 1 | 3287 | <reponame>NYHTC/applescript-fm-helper
-- fmGUI_ManageSecurity_PrivSet_Update_AccessRecord_OneTable({baseTable:null, viewAccess:null, editAccess:null, createAccess:null, deleteAccess:null, fieldAccess:null, viewCalc:null, editCalc:null, createCalc:null, deleteCalc:null, fieldCalc:null, allowFieldAccessOverride:false})
-... |
programs/oeis/000/A000337.asm | karttu/loda | 1 | 173860 | ; A000337: a(n) = (n-1)*2^n + 1.
; 0,1,5,17,49,129,321,769,1793,4097,9217,20481,45057,98305,212993,458753,983041,2097153,4456449,9437185,19922945,41943041,88080385,184549377,385875969,805306369,1677721601,3489660929,7247757313,15032385537,31138512897,64424509441,133143986177,274877906945,566935683073,1168231104513,2405... |
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/acos.asm | ahjelm/z88dk | 640 | 14974 | <filename>libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/acos.asm
SECTION code_fp_am9511
PUBLIC _acos
EXTERN cam32_sdcc_acos
defc _acos = cam32_sdcc_acos
|
base/Kernel/Native/arm/Crt/callcode.asm | sphinxlogic/Singularity-RDK-2.0 | 0 | 243598 | <filename>base/Kernel/Native/arm/Crt/callcode.asm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Microsoft Research Singularity
;;;
;;; Copyright (c) Microsoft Corporation. All rights reserved.
;;;
;;; This file contains ARM-specific assembly code.
;;... |
libsrc/_DEVELOPMENT/arch/zx/bifrost_l/z80/asm_BIFROSTL_resetAnim2Frames.asm | jpoikela/z88dk | 640 | 166786 | ; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L
;
; See "bifrost_l.h" for further details
; ----------------------------------------------------------------
SECTION code_clib
SECTION code_bifrost_l
PUBLIC asm_BIFROSTL_resetAnim2Frame... |
src/startup.asm | JeppeSRC/STM32-Lib | 0 | 17690 | <reponame>JeppeSRC/STM32-Lib<gh_stars>0
.syntax unified
.thumb
.section .isr_vector,"ax"
.global isr_vector
.global Reset_Handler
.global Default_Handler
.extern _textend
.extern _datastart
.extern _dataend
.extern _bssstart
.extern _bssend
.extern main
//.extern C_Default_Handler
.macro IRQ handler
.word \ha... |
archive/agda-2/Oscar/Data/Vec/Core.agda | m0davis/oscar | 0 | 5421 |
module Oscar.Data.Vec.Core where
open import Data.Vec public using (Vec; []; _∷_)
|
source/league/arch/x86_generic/matreshka-simd-intel-mmx.ads | svn2github/matreshka | 24 | 1272 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
antlr-plugin/src/main/resources/org/nemesis/antlr/v4/netbeans/v8/grammar/file/G4Template.g4 | timboudreau/ANTLR4-Plugins-for-NetBeans | 1 | 6217 | <filename>antlr-plugin/src/main/resources/org/nemesis/antlr/v4/netbeans/v8/grammar/file/G4Template.g4<gh_stars>1-10
/******************************************************
* A multi-line Javadoc-like comment about my grammar *
******************************************************/
grammar G4Template;
// Monoline co... |
oeis/092/A092392.asm | neoneye/loda-programs | 11 | 161060 | <reponame>neoneye/loda-programs
; A092392: Triangle read by rows: T(n,k) = C(2*n - k,n), 0 <= k <= n.
; Submitted by <NAME>
; 1,2,1,6,3,1,20,10,4,1,70,35,15,5,1,252,126,56,21,6,1,924,462,210,84,28,7,1,3432,1716,792,330,120,36,8,1,12870,6435,3003,1287,495,165,45,9,1,48620,24310,11440,5005,2002,715,220,55,10,1,184756,923... |
programs/oeis/016/A016826.asm | karttu/loda | 1 | 175774 | ; A016826: a(n) = (4n + 2)^2.
; 4,36,100,196,324,484,676,900,1156,1444,1764,2116,2500,2916,3364,3844,4356,4900,5476,6084,6724,7396,8100,8836,9604,10404,11236,12100,12996,13924,14884,15876,16900,17956,19044,20164,21316,22500,23716,24964,26244,27556,28900,30276,31684,33124,34596,36100,37636,39204,40804,42436,44100,45796,... |
bb-runtimes/arm/nordic/nrf51/svd/i-nrf51.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 14273 | <gh_stars>0
--
-- Copyright (C) 2018, AdaCore
--
-- Copyright (c) 2013, Nordic Semiconductor ASA
-- 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 m... |
staticrng.asm | Catobat/z3randomizer | 26 | 26971 | db $90, $2B, $80, $B7, $A2, $E1, $C9, $4F, $1C, $B9, $E6, $20, $58, $67, $65, $A6, $11, $CF, $79, $4C, $C7, $61, $D1, $D4, $D3, $9B, $78, $3B, $FB, $AA, $A3, $15, $7C, $36, $D7, $8B, $0B, $AD, $26, $B5, $3B, $69, $E3, $83, $7F, $11, $E2, $92, $80, $67, $E1, $9C, $CF, $D5, $45, $F5, $6B, $36, $B6, $7A, $1A, $39, $84, $1... |
programs/oeis/178/A178144.asm | neoneye/loda | 22 | 168248 | ; A178144: Sum of divisors d of n which are d=2, 3 or 5.
; 0,2,3,2,5,5,0,2,3,7,0,5,0,2,8,2,0,5,0,7,3,2,0,5,5,2,3,2,0,10,0,2,3,2,5,5,0,2,3,7,0,5,0,2,8,2,0,5,0,7,3,2,0,5,5,2,3,2,0,10,0,2,3,2,5,5,0,2,3,7,0,5,0,2,8,2,0,5,0,7,3,2,0,5,5,2,3,2,0,10,0,2,3,2,5,5,0,2,3,7
add $0,1
mov $2,$0
mov $0,5
lpb $0
max $0,2
mov $3,$2... |
src/third_party/ffmpeg/libavcodec/x86/proresdsp.asm | neeker/chromium_extract | 27 | 179027 | <reponame>neeker/chromium_extract
;******************************************************************************
;* x86-SIMD-optimized IDCT for prores
;* this is identical to "simple" IDCT written by <NAME>
;* except for the clip range
;*
;* Copyright (c) 2011 <NAME> <<EMAIL>>
;*
;* This file is part of FFmpeg.
;*
;* ... |
src/boot/gdt.asm | dmfedorin/glucOS | 0 | 101241 | <filename>src/boot/gdt.asm<gh_stars>0
%ifndef GDT_ASM_INCLUDED
%define GDT_ASM_INCLUDED
[bits 16]
section .text
gdt_start:
gdt_null_entry:
dq 0
;gdt_dummy_entry:
; dw [segment length, bits 0 - 15]
; dw [segment base, bits 0 - 15]
; db [segment base, bits 16 - 23]
; db [flags]
; db [flags (first 4 b... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_29_1156.asm | ljhsiun2/medusa | 9 | 22878 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1e242, %r11
nop
nop
nop
nop
xor %r15, %r15
mov (%r11), %rdi
nop
nop
nop
dec %rbp
lea addresses_A_ht+0xdfc2, %r13
nop
nop
nop
nop
sub $38848, %r11
movb (%r13), %r12b
... |
libsrc/spectrum/zx_basic_length.asm | dex4er/deb-z88dk | 1 | 86206 | <reponame>dex4er/deb-z88dk
;
; ZX Spectrum specific routines
; by <NAME>, 22/06/2006
;
; This routine gives the length of the current BASIC program.
; Memory used by variables is not included.
;
; $Id: zx_basic_length.asm,v 1.1 2006/06/28 22:21:26 stefano Exp $
;
XLIB zx_basic_length
zx_basic_length:
... |
Library/Text/TextTrans/texttransManager.asm | steakknife/pcgeos | 504 | 102584 | COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Library/Text/TextTransfer
FILE: texttransferManager.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 9/17/91 Initial ve... |
oeis/084/A084253.asm | neoneye/loda-programs | 11 | 9397 | ; A084253: a(n) is the denominator of the coefficient of z^(2n-1) in the Maclaurin expansion of Sqrt[Pi]Erfi[z].
; 1,3,5,21,108,660,4680,37800,342720,3447360,38102400,459043200,5987520000,84064780800,1264085222400,20268952704000,345226033152000,6224529991680000,118443913555968000,2372079457972224000,4987449116762112000... |
Cubical/Structures/Relational/Constant.agda | RobertHarper/cubical | 0 | 10416 | {-
Constant structure: _ ↦ A
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Structures.Relational.Constant where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Structure
open import Cubical.Fo... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b07a.ada | best08618/asylo | 7 | 1971 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b07a.ada
-- C87B07A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimi... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr13.adb | best08618/asylo | 7 | 21230 | -- { dg-do compile }
-- { dg-options "-fdump-tree-gimple" }
procedure Aggr13 is
type A is array (Integer range 1 .. 3) of Short_Short_Integer;
X : A := (1, 2, 3);
function F return A is
begin
if X /= (1, 2, 3) then
raise Program_Error;
end if;
return (1, 1, 1);
end;
begin
... |
CDROOT/COBALT/SOURCE/SYSLINUX/ldlinux.asm | Michael2626/Cobalt | 35 | 241501 | <reponame>Michael2626/Cobalt<filename>CDROOT/COBALT/SOURCE/SYSLINUX/ldlinux.asm
; -*- fundamental -*- (asm-mode sucks)
; $Id: ldlinux.asm,v 1.147 2004/06/13 20:50:44 hpa Exp $
; ****************************************************************************
;
; ldlinux.asm
;
; A program to boot Linux kernels off an MS-D... |
oeis/052/A052610.asm | neoneye/loda-programs | 11 | 14130 | <filename>oeis/052/A052610.asm
; A052610: E.g.f. 1/(1-x-2x^3).
; Submitted by <NAME>(s3)
; 1,1,2,18,120,840,9360,115920,1491840,22861440,395539200,7304774400,148011494400,3281639961600,77850214041600,1975895970048000,53666956062720000,1547595999645696000,47204701332332544000
mov $2,$0
seq $0,77949 ; Expansion of 1/(1-... |
3-mid/opengl/source/lean/shader/opengl-program-lit-textured_skinned.adb | charlie5/lace-alire | 1 | 11951 | with
ada.Strings.fixed;
package body openGL.Program.lit.textured_skinned
is
overriding
procedure define (Self : in out Item; use_vertex_Shader : in Shader.view;
use_fragment_Shader : in Shader.view)
is
use ada.Strings,
ada.Strings.fixed;
... |
Sources/Globe_3d/gl/gl-skinned_geometry.adb | ForYouEyesOnly/Space-Convoy | 1 | 20776 | -------------------------------------------------------------------------
-- GL.Geometry - GL geometry primitives
--
-- Copyright (c) <NAME> 2007
-- AUSTRALIA
-- Permission granted to use this software, without any warranty,
-- for any purpose, provided this copyright note remains attached
-- and un... |
test/Fail/SizedTypesFunctionFromSuccSize.agda | shlevy/agda | 1,989 | 5319 | <reponame>shlevy/agda<gh_stars>1000+
{-# OPTIONS --sized-types #-}
module SizedTypesFunctionFromSuccSize where
open import Common.Size
data Nat : {size : Size} → Set where
zero : {size : Size} → Nat {↑ size}
suc : {size : Size} → Nat {size} → Nat {↑ size}
bad : {i : Size} → Nat {↑ i} → Set
bad zero = bad ze... |
Examples/Colists/Auxiliary/MaxOf.agda | LcicC/inference-systems-agda | 3 | 7531 | --------------------------------------------------------------------------------
-- This is part of Agda Inference Systems
open import Data.Nat
open import Relation.Binary.PropositionalEquality
open import Data.Sum
module Examples.Colists.Auxiliary.MaxOf where
max : ℕ → ℕ → ℕ
max zero zero = zero
max zero (suc... |
alloy4fun_models/trainstlt/models/14/fKJfaSoy9B2JMshyB.als | Kaixi26/org.alloytools.alloy | 0 | 4443 | open main
pred idfKJfaSoy9B2JMshyB_prop15 {
eventually always (some pos =>(pos != pos'))
}
pred __repair { idfKJfaSoy9B2JMshyB_prop15 }
check __repair { idfKJfaSoy9B2JMshyB_prop15 <=> prop15o } |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_70.asm | ljhsiun2/medusa | 9 | 93770 | <filename>Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_70.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r9
push %rax
push %rbp
push %rbx
lea addresses_A_ht+0x1792b, %r14
nop
nop
nop
nop
nop
inc %r12
movw $0x6162, (%r14)
nop
nop
nop
sub $41312, %rbp
lea ... |
Bootloader programming/blank.asm | suriya-1403/Assemble-language | 0 | 27196 | <gh_stars>0
[BITS 16]
[ORG 0x7C00]
JMP $
TIMES 510 - ($-$$) DB 0
DW 0xAA55
|
source/tasking/a-extiin.ads | ytomino/drake | 33 | 22523 | <gh_stars>10-100
pragma License (Unrestricted);
-- Ada 2012
-- with Ada.Interrupts;
package Ada.Execution_Time.Interrupts is
-- function Clock (Interrupt : Ada.Interrupts.Interrupt_Id) return CPU_Time;
-- function Supported (Interrupt : Ada.Interrupts.Interrupt_Id)
-- return Boolean;
end Ada.Execution_Time.Int... |
src/generator-frontmatter.adb | bracke/websitegenerator | 1 | 28063 | with GNAT.Regexp; use GNAT.Regexp;
with Ada.Directories;
with Ada.Characters.Conversions;
with Ada.Text_IO;
with GNATCOLL.Mmap;
with Templates_Parser;
with GNAT.Strings;
with Ada.Strings.Fixed;
with Globals;
with Ada.Exceptions; use Ada.Exceptions;
with Linereader;
with Ada.Strings;
with Ada.Strings.Maps;
with Ad... |
libsrc/target/bondwell2/graphics/swapgfxbk.asm | UnivEngineer/z88dk | 1 | 90961 | ;
; Bondwell 2 pseudo graphics routines
;
; <NAME> 2021
;
;
; Video memory paging.
;
SECTION code_graphics
PUBLIC swapgfxbk
PUBLIC _swapgfxbk
PUBLIC swapgfxbk1
PUBLIC _swapgfxbk1
EXTERN __bdos
.swapgfxbk
._swapgfxbk
in a,(2) ; PPIC, get current bank
ld... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic7_pkg2.ads | best08618/asylo | 7 | 20470 | <reponame>best08618/asylo
package Atomic7_Pkg2 is
function Stamp return Natural;
end Atomic7_Pkg2;
|
tests/factions-test_data-tests-factions_container.ads | thindil/steamsky | 80 | 26320 | package Factions.Test_Data.Tests.Factions_Container is
end Factions.Test_Data.Tests.Factions_Container;
|
array/DynamicArray.asm | gmarciani/assimply | 1 | 99397 | # @Name: DynamicArray
# @Description: The program allocates (iteratively) a NxN array, as defined by the user.
#
# @Author: <NAME> <<EMAIL>>
.data
msg_welcome: .asciiz "Il programma carica nel data segment un array bidimensionale nxn impostato dall'utente attraverso un ciclo iterativo."
msg_input: .asciiz "Inserisci ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.