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 |
|---|---|---|---|---|
src/source.asm | Scorpion-Illuminati/ControllerTest | 1 | 86837 | <filename>src/source.asm
;==============================================================
; Scorpion Illuminati Controller Test
;==============================================================
; SEGA Genesis (c) <NAME> 2015
;==============================================================
; Include SEGA Genesis ... |
asm/Visual Studio 2017_17_MSVC_x64_Release/span_compile_only.asm | dbd64/GSL | 0 | 1752 | <filename>asm/Visual Studio 2017_17_MSVC_x64_Release/span_compile_only.asm
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
include listing.inc
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
PUBLIC ??0exception@std@@QEAA@AEBV01@@Z ; std::exception::exception
PUBLIC ??1exception@std@@UE... |
PongPro.asm | ShakedAvi/Pong-in-TASM-Assembly-8086 | 0 | 82126 | <gh_stars>0
clearScreen proc
mov ax, 0600h ;06 TO SCROLL & 00 FOR FULLJ SCREEN
mov cx, 0000h ;STARTING COORDINATES
mov dx, 184Fh ;ENDING COORDINATES
int 10h
ret
clearScreen endp
startPrint proc
mov ah, 0
mov al, 2
int 10h
push seg startMsg
pop ds
mov dx, offset startMsg
mov ah... |
vm_check/branching/0_jmp.asm | skiff-vm/skiff | 0 | 177811 | <filename>vm_check/branching/0_jmp.asm
.init main
.code
leave:
mov i0 @0
exit
main:
mov i0 @99
jmp leave
exit
|
3-mid/impact/source/2d/dynamics/impact-d2-world.ads | charlie5/lace | 20 | 15312 | with
impact.d2.Collision,
impact.d2.contact.Manager,
impact.d2.world_Callbacks,
impact.d2.Solid,
impact.d2.Joint,
impact.d2.Math;
package impact.d2.World
--
-- The world class manages all physics entities, dynamic simulation,
-- and asynchronous queries. The world also contains efficie... |
oeis/034/A034586.asm | neoneye/loda-programs | 11 | 93592 | <reponame>neoneye/loda-programs<filename>oeis/034/A034586.asm
; A034586: Log_2 of dimension of an irreducible Z_2 graded H-module for Clifford algebra Cl_n.
; Submitted by <NAME>(s3)
; 1,1,1,1,2,3,4,4,5,5,5,5,6,7,8,8,9,9,9,9,10,11,12,12,13,13,13,13,14,15,16,16,17,17,17,17,18,19,20,20,21,21,21,21,22,23,24,24,25,25,25,25... |
src/Internals/protypo-code_trees-interpreter-names.adb | fintatarta/protypo | 0 | 18568 | <reponame>fintatarta/protypo
pragma Ada_2012;
with Protypo.Code_Trees.Interpreter.Expressions;
with Protypo.Code_Trees.Interpreter.Symbol_Table_References;
pragma Warnings (Off, "no entities of ""Ada.Text_IO"" are referenced");
with Ada.Text_Io; use Ada.Text_Io;
package body Protypo.Code_Trees.Interpreter.Names is
... |
oeis/010/A010655.asm | neoneye/loda-programs | 11 | 80982 | ; A010655: Decimal expansion of cube root of 85.
; Submitted by <NAME>
; 4,3,9,6,8,2,9,6,7,2,1,5,8,1,7,9,2,7,5,8,0,9,2,1,0,7,9,2,5,3,8,4,4,1,8,6,0,5,9,8,8,8,3,7,5,4,0,8,6,5,8,1,9,7,3,3,1,5,7,0,9,6,2,3,4,1,0,6,3,6,3,3,4,0,8,4,7,1,1,9,7,6,0,8,6,7,0,7,9,2,9,2,1,6,1,7,1,9,1,4
mov $3,$0
mul $3,2
lpb $3
add $6,$2
add $1... |
notes/FOT/FOTC/Program/ABP/SimpleNetwork-SL.agda | asr/fotc | 11 | 2069 | <filename>notes/FOT/FOTC/Program/ABP/SimpleNetwork-SL.agda
------------------------------------------------------------------------------
-- A simple network using the Agda standard library
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPT... |
oeis/142/A142766.asm | neoneye/loda-programs | 11 | 98450 | <filename>oeis/142/A142766.asm
; A142766: Primes congruent to 39 mod 59.
; Submitted by <NAME>
; 157,983,2281,2399,2753,3343,3461,3697,4051,4523,4759,4877,5113,5231,5821,5939,6529,6883,7001,7237,7591,9007,9479,9833,10069,11131,11839,12547,13963,14081,15497,15733,16087,18211,18329,18919,19037,19273,19391,20807,21397,217... |
archive/agda-3/src/Test/ProblemWithDerivation-5.agda | m0davis/oscar | 0 | 17113 | <reponame>m0davis/oscar
{-# OPTIONS --allow-unsolved-metas #-}
open import Oscar.Class
open import Oscar.Class.Reflexivity
open import Oscar.Class.Symmetry
open import Oscar.Class.Transitivity
open import Oscar.Class.Transleftidentity
open import Oscar.Prelude
module Test.ProblemWithDerivation-5 where
module Map
{... |
tests/syntax/bad/testfile-for-4.adb | xuedong/mini-ada | 0 | 4232 | <filename>tests/syntax/bad/testfile-for-4.adb
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is begin
for i in 1 .. 10 loop p; end loop
end;
|
src/kernel/common/sse.asm | martinszeltins/vertex | 0 | 161428 | global sse_available
global sse_init
sse_available:
mov eax, 0x1
cpuid
test edx, 1 << 25
mov eax, 0x1
jnz good
mov eax, 0
good:
ret
sse_init:
mov eax, cr0
and ax, 0xFFFB
or ax, 0x2
mov cr0, eax
mov eax, cr4
or ax, 3 << 9
mov cr4, eax
ret
|
EELE371/Lab-6.asm | Dan-Laden/Projects | 0 | 25459 | <reponame>Dan-Laden/Projects
; Lab-5.asm
; Created on: Oct 4, 2018
; Author: <NAME>
INCLUDE 'derivative.inc'
XDEF _Startup, main
XREF __SEF_END_SSTACK
SCL EQU 7
SDA EQU 6
DACADDR EQU $2C
ORG $0060
BitCounter DS.B 1
Value DS.B 1
Direction DS.B 1
;Start of Program Code
ORG... |
shell/string.asm | leonardoruilova/xos | 1 | 1327 |
;; xOS Shell
;; Copyright (c) 2017 by <NAME>.
use32
; strlen:
; Gets length of string
; In\ ESI = String
; Out\ EAX = Length in byte
strlen:
pusha
mov ecx, 0
.loop:
lodsb
cmp al, 0
je .done
inc ecx
jmp .loop
.done:
mov [.tmp], ecx
popa
mov eax, [.tmp]
ret
align 4
.tmp dd 0
; find_byte_in_string:
;... |
programs/oeis/296/A296515.asm | karttu/loda | 1 | 23681 | ; A296515: Number of edges in a maximal planar graph with n vertices.
; 0,0,1,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99,102,105,108,111,114,117,120,123,126,129,132,135,138
mov $1,$0
trn $0,1
add $1,$0
trn $1,4
add $1,$0
|
programs/oeis/036/A036217.asm | jmorken/loda | 1 | 27198 | ; A036217: Expansion of 1/(1-3*x)^5; 5-fold convolution of A000244 (powers of 3).
; 1,15,135,945,5670,30618,153090,721710,3247695,14073345,59108049,241805655,967222620,3794488740,14635885140,55616363532,208561363245,772903875555,2833980877035,10291825290285,37050571045026,132323468017950,469146841154550,165221278841385... |
Arquitetura de Computadores/Atividade 02/ex02.asm | antuniooh/ExercisesFEI | 1 | 24984 | DATA QUE 30h
MOV 50h, #DATA
MOV A, #0FFh
XCH A, DATA
MOV R2, #DATA
|
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_957.asm | ljhsiun2/medusa | 9 | 92894 | <filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_957.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r14
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
// REPMOV
lea addresses_WC+0x11154, %rsi
lea ... |
bugs/bug25.ada | daveshields/AdaEd | 3 | 5345 | <reponame>daveshields/AdaEd
procedure main IS
package pack is
function func return integer;
end pack;
package body pack is
function func return integer is
begin
return 1;
end func;
end pack;
begin
null;
exception
when pack.func.error =>
null;
end main;
|
3-mid/physics/interface/source/private/box2d/box2d_physics.ads | charlie5/lace | 20 | 29821 | with
float_Math;
package box2d_Physics
--
-- Provides an implementation of the physics interface using a binding to the Box2D C library.
--
is
pragma Pure;
package Math renames float_Math;
Error : exception;
end box2d_Physics;
|
oeml-sdk/ada/src/model/-models.ads | scorninpc/coinapi-sdk | 0 | 16716 | <reponame>scorninpc/coinapi-sdk
-- OEML _ REST API
-- This section will provide necessary information about the `CoinAPI OEML REST API` protocol. This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a>
--
-- The version o... |
oeis/171/A171545.asm | neoneye/loda-programs | 11 | 16632 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A171545: Decimal expansion of sqrt(2/7).
; Submitted by <NAME>
; 5,3,4,5,2,2,4,8,3,8,2,4,8,4,8,7,6,9,3,6,9,1,0,6,9,6,1,7,5,9,5,0,7,0,4,3,1,0,8,0,0,2,8,2,9,6,8,2,6,7,5,2,7,8,0,4,3,3,9,2,2,0,9,6,1,7,1,4,7,8,7,9,4,7,2,4,1,9,8,6,1,1,3,9,5,4,4,2,7,0,7,4,2,0,5,4,2,2,4,5
add ... |
oeis/157/A157214.asm | neoneye/loda-programs | 11 | 86171 | ; A157214: Decimal expansion of 18 + 5*sqrt(2).
; Submitted by <NAME>
; 2,5,0,7,1,0,6,7,8,1,1,8,6,5,4,7,5,2,4,4,0,0,8,4,4,3,6,2,1,0,4,8,4,9,0,3,9,2,8,4,8,3,5,9,3,7,6,8,8,4,7,4,0,3,6,5,8,8,3,3,9,8,6,8,9,9,5,3,6,6,2,3,9,2,3,1,0,5,3,5,1,9,4,2,5,1,9,3,7,6,7,1,6,3,8,2,0,7,8,6
mov $1,1
mov $2,1
mov $3,$0
mul $3,4
lpb $3
a... |
TrafficLight13/Release/_old/TrafficLight13.asm | lugovskovp/TrafficLight13 | 10 | 241092 |
./Release/TrafficLight13.elf: file format elf32-avr
Disassembly of section .text:
00000000 <__vectors>:
0: 39 c0 rjmp .+114 ; 0x74 <__ctors_end>
2: 5e c0 rjmp .+188 ; 0xc0 <__vector_1>
4: 45 c0 rjmp .+138 ; 0x90 <__bad_interrupt>
6: 45 c0 rjmp .+138 ; 0x92... |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver2/chip/ys_mplay0.asm | prismotizm/gigaleak | 0 | 97268 | Name: ys_mplay0.asm
Type: file
Size: 43685
Last-Modified: '2016-05-13T04:51:40Z'
SHA-1: 8678B03BD6785EF98FBCD8E9BB97E9FDC3BE943F
Description: null
|
libsrc/_DEVELOPMENT/l/sccz80/crt0/l_plong.asm | meesokim/z88dk | 0 | 22751 | <reponame>meesokim/z88dk
; Z88 Small C+ Run Time Library
; Long functions
;
SECTION code_l_sccz80
PUBLIC l_plong
l_plong:
ld a,l
ld (bc),a
inc bc
ld a,h
ld (bc),a
inc bc
ld a,e
ld (bc),a
inc bc
ld a,d
ld (bc),a
ret
|
oeis/022/A022314.asm | neoneye/loda-programs | 11 | 104980 | ; A022314: a(n) = a(n-1) + a(n-2) + 1, with a(0) = 0, a(1) = 9.
; 0,9,10,20,31,52,84,137,222,360,583,944,1528,2473,4002,6476,10479,16956,27436,44393,71830,116224,188055,304280,492336,796617,1288954,2085572,3374527,5460100,8834628,14294729,23129358,37424088,60553447,97977536,158530984,256508521,415039506,671548028,10865... |
samples/model/samples-user-model.adb | Letractively/ada-ado | 0 | 17539 | <filename>samples/model/samples-user-model.adb
-----------------------------------------------------------------------
-- Samples.User.Model -- Samples.User.Model
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/packa... |
Driver/Video/VGAlike/SVGA/svgaAdmin.asm | steakknife/pcgeos | 504 | 170863 | <gh_stars>100-1000
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: SVGA Video Driver
FILE: svgaAdmin.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
VidScreenOn turn on v... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1336.asm | ljhsiun2/medusa | 9 | 165867 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x556e, %rdi
nop
nop
nop
nop
nop
add $23589, %r11
mov $0x6162636465666768, %rdx
movq %rdx, %xmm6
movups %xmm6, (%rdi)
nop
nop
nop
nop
nop
dec %r14
lea addresses... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-coprnu.adb | orb-zhuchen/Orb | 0 | 2033 | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
4-high/gel/source/gel-rig.ads | charlie5/lace | 20 | 30789 | <reponame>charlie5/lace
with
gel.Sprite,
gel.Joint,
gel.World,
openGL,
openGL.Model,
openGL.Program,
ada.Strings.unbounded.Hash,
ada.Containers.Vectors,
ada.Containers.hashed_Maps;
private
with
collada.Library.visual_Scenes;
package gel.Rig
--
-- Provides GEL sprite... |
LAB 2/sub.asm | Mawlong/Computer-Organization-and-Architecture | 0 | 173144 | .data
.text
.globl main
main:
li $t0,5
li $t1,4
sub $t2,$t0,$t1
li $v0, 10
syscall |
lesson07/rustless/src/main/antlr/ast/Rust.g4 | alepoydes/writing-compiler-for-neophytes | 7 | 413 | grammar Rust;
@header {
package rustless.ast;
import rustless.*;
import java.util.Map;
import java.util.Arrays;
}
repl[Context ctx]
: 'quit' EOF { System.exit(0); }
| expr[ctx] EOF { System.out.format("\n %s\n\n", $expr.value.toString()); }
| instruction[ctx]
;
module[Context ctx]:... |
org.alloytools.alloy.diff/misc/string/string2.als | jringert/alloy-diff | 1 | 4633 | <filename>org.alloytools.alloy.diff/misc/string/string2.als
sig A {
x : String
}
run {A.x="Jan"} for 3
|
programs/oeis/184/A184578.asm | karttu/loda | 0 | 241228 | ; A184578: a(n) = floor((n+1/3)*sqrt(2)), complement of A184579.
; 1,3,4,6,7,8,10,11,13,14,16,17,18,20,21,23,24,25,27,28,30,31,32,34,35,37,38,40,41,42,44,45,47,48,49,51,52,54,55,57,58,59,61,62,64,65,66,68,69,71,72,74,75,76,78,79,81,82,83,85,86,88,89,90,92,93,95,96,98,99,100,102,103,105,106,107,109,110,112,113,115,116,1... |
basicStopwatch.asm | HamHaZe/Stopwatch | 1 | 95155 | #include P16F84A.INC
__config _XT_OSC & _WDT_OFF & _PWRTE_ON
;File Registers used by delay subroutine
DELAY_COUNT1 EQU H'21'
DELAY_COUNT2 EQU H'22'
DELAY_COUNT3 EQU H'23'
DELAYER EQU H'24'
ORG h'0'
bsf STATUS,5 ;select bank 1
movlw B'00000000' ;set up port B as all outputs
movwf TRISB
movlw B'00000... |
src/bitmap-color_conversion.adb | ellamosi/Ada_BMP_Library | 0 | 16612 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- --
-- ... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_2_1201.asm | ljhsiun2/medusa | 9 | 25346 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x25a4, %r12
nop
nop
nop
sub %r10, %r10
mov (%r12), %cx
nop
nop
nop
nop
nop
sub %rcx, %rcx
lea addresses_A_ht+0x13aa4, %rsi
lea addresses_UC_ht+0x1d5a4, %rdi
nop
nop
nop
and $... |
tests/issue64/2.asm | NullMember/customasm | 414 | 11706 | #subruledef REG {
my_reg => 0xA
}
#ruledef {
test {Addr: u16} => 0x1 @ Addr
test {register: REG} + {Imm: u16} => register`4 @ Imm_Unknown
}
test my_reg + 1
; error:_:9: failed to resolve
; error:_:6: unknown |
programs/oeis/270/A270257.asm | jmorken/loda | 1 | 93498 | ; A270257: Number of 2X2X2 triangular 0..n arrays with some element plus some adjacent element totalling n exactly once.
; 0,12,24,48,72,108,144,192,240,300,360,432,504,588,672,768,864,972,1080,1200,1320,1452,1584,1728,1872,2028,2184,2352,2520,2700,2880,3072,3264,3468,3672,3888,4104,4332,4560,4800,5040,5292,5544,5808,6... |
03-hybrid/f.asm | MKuranowski/STUD-ARKO | 0 | 244572 | section .text
global f
f:
push ebp
mov ebp, esp
mov eax, [ebp+8] ; eax contains the first argument (char*)
begin: mov cl, [eax]
cmp cl, 0
jz end
add cl, 1
mov [eax], cl
inc eax
jmp begin
end: mov esp, ebp
pop ebp
ret
|
aunit/aunit-reporter-text.ads | btmalone/alog | 0 | 384 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
openal-extension-float32_thin.ads | io7m/coreland-openal-ada | 1 | 15041 | <filename>openal-extension-float32_thin.ads
-- Automatically generated, do not edit.
package OpenAL.Extension.Float32_Thin is
-- Constants
AL_FORMAT_MONO_FLOAT32 : constant := 16#10010#;
AL_FORMAT_STEREO_FLOAT32 : constant := 16#10011#;
end OpenAL.Extension.Float32_Thin;
|
src/Categories/Yoneda/Properties.agda | MirceaS/agda-categories | 0 | 7482 | {-# OPTIONS --without-K --safe #-}
open import Level
open import Categories.Category using (Category; _[_,_])
-- Various conclusions that can be drawn from Yoneda
-- over a particular Category C
module Categories.Yoneda.Properties {o ℓ e : Level} (C : Category o ℓ e) where
open import Function using (_$_; Inverse) -... |
oeis/294/A294349.asm | neoneye/loda-programs | 11 | 18324 | ; A294349: Product of first n terms of the binomial transform of the Lucas numbers (A000032).
; Submitted by <NAME>(s1)
; 2,6,42,756,35532,4370436,1407280392,1186337370456,2618246576596392,15128228719573952976,228844715840995186667952,9062937281450932377610903056,939663463215395570775453650652192,2550650694455766199180... |
src/fltk-widgets-menus-menu_buttons.adb | micahwelf/FLTK-Ada | 1 | 18611 | <reponame>micahwelf/FLTK-Ada
with
Interfaces.C,
System;
use type
System.Address;
package body FLTK.Widgets.Menus.Menu_Buttons is
procedure menu_button_set_draw_hook
(W, D : in System.Address);
pragma Import (C, menu_button_set_draw_hook, "menu_button_set_draw_hook");
pragma I... |
main.asm | Zeturic/bpre-dtan | 1 | 177274 | .gba
.thumb
.open "rom.gba", "test.gba", 0x08000000
.org allocation
.area allocation_size
.importobj "build/linked.o"
.endarea
.org 0x08050E24
.area 0xF0, 0xFE
ldr r3, =SetTradeSceneStrings |1
bx r3
.pool
.endarea
.close
|
U494/Algol/algrt.asm | sboydlns/univacemulators | 2 | 244034 | <filename>U494/Algol/algrt.asm
START
.
. UNIVAC 494 ALGOL RUN-TIME LIBRARY
.
. REGISTER USAGE:
. B1 = SUBROUTINE RETURN ADDRESS
. B2 = USER SUBROUTINE RETURN ADDRESS
. B4 = PTR TO TOP OF CURRENT STACK
... |
src/dandanator/print_routines.asm | fjpena/sword-of-ianna-zx | 67 | 247623 | ;-----------------------------------------------------------------------------------------
; PREP_PRT - Updates Print_Attr, SCR & ATTR Vars
;-----------------------------------------------------------------------------------------
PREP_PRT: LD (PRINT_ATTR),A ; Set Attribute
CALL CRtoSCREEN
CALL CRtoATTR
RET ... |
worker/deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/poly1305/poly1305-x86_64.asm | SteveMcFarlin/mediasoup | 1,666 | 243046 | <gh_stars>1000+
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
EXTERN OPENSSL_ia32cap_P
global poly1305_init
global poly1305_blocks
global poly1305_emit
ALIGN 32
poly1305_init:
mov QWORD[8+rsp],rdi ;WIN64 prologue
mov QWORD[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_poly130... |
libsrc/target/nc100/padinitserial.asm | jpoikela/z88dk | 640 | 103274 |
SECTION code_clib
PUBLIC padinitserial
PUBLIC _padinitserial
.padinitserial
._padinitserial
jp 0xb85a
|
Validation/pyFrame3DD-master/gcc-master/gcc/ada/par-ch8.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 24708 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
include/xlib.ads | docandrew/troodon | 5 | 19504 | <reponame>docandrew/troodon
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Strings;
with X11;
with System;
package Xlib is
XlibSpecificationRelease : constant := 6; -- /usr/include/X11/Xlib.h:36
X_HAVE_UTF8_STRING : constant := 1; -- /usr/include/X11/Xli... |
programs/oeis/295/A295288.asm | karttu/loda | 0 | 9903 | <filename>programs/oeis/295/A295288.asm
; A295288: Binomial transform of the centered triangular numbers A005448.
; 1,5,19,62,184,512,1360,3488,8704,21248,50944,120320,280576,647168,1478656,3350528,7536640,16842752,37421056,82706432,181927936,398458880,869269504,1889533952,4093640704,8841592832,19042140160,40902852608,... |
src/PathStructure/UnitNoEta.agda | vituscze/HoTT-lectures | 0 | 8406 | <reponame>vituscze/HoTT-lectures<filename>src/PathStructure/UnitNoEta.agda
{-# OPTIONS --without-K #-}
module PathStructure.UnitNoEta where
open import Equivalence
open import Types
split-path : {x y : Unit} → x ≡ y → Unit
split-path _ = tt
merge-path : {x y : Unit} → Unit → x ≡ y
merge-path _ = 1-elim
(λ x → ∀ y ... |
src/satexample.asm | IGJoshua/assembly-sandbox | 1 | 11580 | <reponame>IGJoshua/assembly-sandbox
;;; sum.asm
;;; Taken from the nasm tutorial https://cs.lmu.edu/~ray/notes/nasmtutorial/
; ----------------------------------------------------------------------------------------
; Example of signed saturated arithmetic.
; -----------------------------------------------------------... |
ANTLRTestProjects/antbased/CodeCompletion/build/classes/imports/ImportedLexerGrammar2.g4 | timboudreau/ANTLR4-Plugins-for-NetBeans | 1 | 6491 | <reponame>timboudreau/ANTLR4-Plugins-for-NetBeans
lexer grammar ImportedLexerGrammar2;
tokens { IMPORTED_TOKEN_1_2 }
// some lexer rules
IMPORTED_TOKEN_2_2 : [a-zA-Z]+ ; // match identifiers
IMPORTED_TOKEN_3_2 : [0-9]+ ; // match integers
IMPORTED_TOKEN_4_2 :'\r'? '\n' ; // return newlines to parser |
3-mid/impact/source/3d/dynamics/joints/impact-d3-jacobian_entry.adb | charlie5/lace | 20 | 22056 | <filename>3-mid/impact/source/3d/dynamics/joints/impact-d3-jacobian_entry.adb
with impact.d3.Vector;
with impact.d3.Scalar;
package body impact.d3.jacobian_Entry
is
use impact.d3.Vector;
----------
--- Forge
--
function to_jacobian_Entry (world2A, world2B : in math.Matrix_3x3;
... |
MPMC PRAC/2.asm | apurvjain9999/Microprocessor-8085 | 0 | 176590 | <filename>MPMC PRAC/2.asm
LXI SP,9999H
LXI H,0000H
PUSH H
POP PSW
MVI B,0FFH
INR B
PUSH PSW
POP H
MOV A,L
ANI 01H
JNZ STORE
MOV A,B
STORE: OUT 01H
hlt |
data/baseStats/slowpoke.asm | AmateurPanda92/pokemon-rby-dx | 9 | 1447 | db DEX_SLOWPOKE ; pokedex id
db 90 ; base hp
db 65 ; base attack
db 65 ; base defense
db 15 ; base speed
db 40 ; base special
db WATER ; species type 1
db PSYCHIC ; species type 2
db 190 ; catch rate
db 99 ; base exp yield
INCBIN "pic/bmon/slowpoke.pic",0,1 ; 55, sprite dimensions
dw SlowpokePicFront
dw SlowpokePicBack... |
tools/documentation_generator/documentation_generator-wiki.ads | svn2github/matreshka | 24 | 27300 |
package Documentation_Generator.Wiki is
procedure Generate;
end Documentation_Generator.Wiki;
|
programs/oeis/035/A035006.asm | karttu/loda | 1 | 243198 | ; A035006: Number of possible rook moves on an n X n chessboard.
; 0,8,36,96,200,360,588,896,1296,1800,2420,3168,4056,5096,6300,7680,9248,11016,12996,15200,17640,20328,23276,26496,30000,33800,37908,42336,47096,52200,57660,63488,69696,76296,83300,90720,98568,106856,115596,124800,134480,144648,155316,166496,178200,190440... |
alloy4fun_models/trashltl/models/3/5pXZMGSdnQfeEjjkp.als | Kaixi26/org.alloytools.alloy | 0 | 4077 | open main
pred id5pXZMGSdnQfeEjjkp_prop4 {
some f:File | eventually f' in Trash'
}
pred __repair { id5pXZMGSdnQfeEjjkp_prop4 }
check __repair { id5pXZMGSdnQfeEjjkp_prop4 <=> prop4o } |
programs/oeis/093/A093178.asm | neoneye/loda | 22 | 80331 | <gh_stars>10-100
; A093178: If n is even then 1, otherwise n.
; 1,1,1,3,1,5,1,7,1,9,1,11,1,13,1,15,1,17,1,19,1,21,1,23,1,25,1,27,1,29,1,31,1,33,1,35,1,37,1,39,1,41,1,43,1,45,1,47,1,49,1,51,1,53,1,55,1,57,1,59,1,61,1,63,1,65,1,67,1,69,1,71,1,73,1,75,1,77,1,79,1,81,1,83,1,85,1,87,1,89,1,91,1,93,1,95,1,97,1,99
mov $1,$0
... |
examples/ping/music/theme_main/samples_triangle.asm | sgadrat/nine-gine | 6 | 179527 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Intro triangle
; silenced, long notes in intro give
; a strange feeling at game game start
; and a bad transition from menu's music
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
theme_main_triangle_intro:
; C3, 80 frames (including final silence)
AUDIO_SILENCE(29)
AUDIO_SILENCE(29)
AUDIO_SILENCE(19)... |
demos/phil.ada | daveshields/AdaEd | 3 | 28019 | <gh_stars>1-10
----------------------------------------------------------------------
--
-- The Dining Philosophers' Problem
--
-- written by
--
-- <NAME>
-- and
-- <NAME>
--
-- Ada Project
-- ... |
Applications/Firefox/windows/first window.applescript | looking-for-a-job/applescript-examples | 1 | 1189 | <reponame>looking-for-a-job/applescript-examples<filename>Applications/Firefox/windows/first window.applescript
#!/usr/bin/osascript
tell application "Firefox"
first window
end tell
|
antlr-basics/src/main/java/com/poc/chapter_08_part03/gen/CymbolCallGraph.g4 | cgonul/antlr-poc | 0 | 5919 | <reponame>cgonul/antlr-poc<gh_stars>0
grammar CymbolCallGraph;
file: (functionDecl | varDecl)+ ;
varDecl
: type ID ('=' expr)? ';'
;
type: 'float' | 'int' | 'void' ; // user-defined types
functionDecl
: type ID '(' formalParameters? ')' block // "void f(int x) {...}"
;
formalParameters
:... |
helper/tools/RDFDoctor/sourceCode/src/core/TurtleOriginal.g4 | ashishp98/vocol | 90 | 461 | <filename>helper/tools/RDFDoctor/sourceCode/src/core/TurtleOriginal.g4
grammar TurtleOriginal;
start : (directive)* (triples)* (errors)*; // leading CODE
directive : baseDecl
| prefixDecl
| unkonwnDecl
;
baseDecl : baseSparql | base ;
unkonwnDecl : '@keywords' (CHAR)* '.' {notifyError... |
test/Fail/Issue1388.agda | cruhland/agda | 1,989 | 13251 | -- Andreas, 2016-02-01, reported on 2014-12-08
module Issue1388 where
indented = Set
not-indented = Set -- This should be a parse error.
|
llvm-gcc-4.2-2.9/gcc/ada/exp_disp.ads | vidkidz/crossbridge | 1 | 20228 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
oeis/041/A041111.asm | neoneye/loda-programs | 11 | 3903 | ; A041111: Denominators of continued fraction convergents to sqrt(63).
; Submitted by <NAME>
; 1,1,15,16,239,255,3809,4064,60705,64769,967471,1032240,15418831,16451071,245733825,262184896,3916322369,4178507265,62415424079,66593931344,994730462895,1061324394239,15853271982241,16914596376480,252657621252961,2695722176294... |
src/08-events/encounter-tables-plugin-logic.asm | chaoshades/snes-ffci | 0 | 97276 | org $00FD31 ; Routine to hack
PHY ; Make sure registers Y...
PLX ; ...and X are not affected by the custom code, in case they're important (They're not used here)
; Vehicle encounter tables
LDA $1704 ; Observe the mode of transport
CMP #$01 ; If in canoe (01)
BNE $0D ... |
src/Categories/Functor/Monoidal/Tensor.agda | TOTBWF/agda-categories | 0 | 14670 | <reponame>TOTBWF/agda-categories<filename>src/Categories/Functor/Monoidal/Tensor.agda
{-# OPTIONS --without-K --safe #-}
open import Categories.Category using (Category)
open import Categories.Category.Monoidal.Core using (Monoidal)
-- The tensor product of certain monoidal categories is a monoidal functor.
module C... |
Connecting to File Cloud.applescript | Iainmon/VPN-and-File-Server-Connection-Applescript | 0 | 2440 | <filename>Connecting to File Cloud.applescript<gh_stars>0
--
-- Created by <NAME> on 2/27/17.
-- Copyright © 2017 <NAME>. All rights reserved.
--
-- Please note, that this file will not wrok as is. These snippets need to be edited to fit your needs.
global serverConnectionStatus
on checkConnection_()
... |
src/frontend/Experimental_Ada_ROSE_Connection/parser/support/source/demo_dot.adb | ouankou/rose | 488 | 3189 | <reponame>ouankou/rose
with Ada.Text_IO;
with Dot;
procedure Demo_Dot is
package ATI renames Ada.Text_IO;
NL : constant String := (1 => ASCII.LF);
-- Support subprograms:
procedure Print (Graph : in Dot.Graphs.Access_Class;
Title : in String) is
begin
ATI.Put_Line ("// " & T... |
src/asf-components-html.ads | My-Colaborations/ada-asf | 0 | 3493 | <gh_stars>0
-----------------------------------------------------------------------
-- html -- ASF HTML Components
-- Copyright (C) 2009, 2010, 2013 <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... |
Osmium/tools/.sources/bootmark.asm | M3TIOR/ideads | 0 | 6730 | <filename>Osmium/tools/.sources/bootmark.asm
[BITS 16]
;To make sure we can boot from the disk we are compiling the project to.
;These two bytes are shoved in the last two bytes of the mbr.
db 0x55
db 0xaa
;this means we are going to have 510 bytes of space for extra boot info.
;instead of 512... just as a reminder.... |
programs/oeis/059/A059929.asm | neoneye/loda | 22 | 92845 | <filename>programs/oeis/059/A059929.asm
; A059929: a(n) = Fibonacci(n)*Fibonacci(n+2).
; 0,2,3,10,24,65,168,442,1155,3026,7920,20737,54288,142130,372099,974170,2550408,6677057,17480760,45765226,119814915,313679522,821223648,2149991425,5628750624,14736260450,38580030723,101003831722,264431464440,692290561601,18124402203... |
sw/552tests/inst_tests/jal_26.asm | JPShen-UWM/ThreadKraken | 1 | 2784 | <reponame>JPShen-UWM/ThreadKraken
// Original test: ./sadashiv/hw4/problem6/jal_1.asm
// Author: sadashiv
// Test source code follows
// JAL displacement R7 <- PC + 2 // PC <- PC + 2 + D(sign ext.)
.start:
lbi r7,0xAA
nop
nop
jal .jump1 //r7 = .jump1
.jump2:
nop
nop
halt
.jump1:
nop
addi r0, r7,... |
JBrex/resources/rules2text.asm | valeriocos/jbrex | 6 | 27974 | <?xml version = '1.0' encoding = 'ISO-8859-1' ?>
<asm version="1.0" name="0">
<cp>
<constant value="rules2text"/>
<constant value="links"/>
<constant value="NTransientLinkSet;"/>
<constant value="col"/>
<constant value="J"/>
<constant value="enumLiteralType"/>
<constant value="getRuleContents"/>
<const... |
libsrc/ctype/asm_toupper.asm | grancier/z180 | 8 | 24014 | <reponame>grancier/z180
; asm_toupper
SECTION code_clib
PUBLIC asm_toupper
; if the char is in [a-z], make it upper case
; enter : a = char
; exit : a = upper case char
; uses : af
.asm_toupper
cp 'a'
ret c
cp 'z'+1
ret nc
and $df
ret
|
test/Succeed/BuiltinEqualityInProp.agda | shlevy/agda | 1,989 | 4792 | <filename>test/Succeed/BuiltinEqualityInProp.agda
-- Jesper, 2018-10-29 (comment on #3332): Besides for rewrite, builtin
-- equality is also used for primErase and primForceLemma. But I don't
-- see how it would hurt to have these use a Prop instead of a Set for
-- equality.
{-# OPTIONS --prop #-}
data _≡_ {A : Set} ... |
src/Examples/TreeSum.agda | jonsterling/agda-calf | 29 | 4187 | {-# OPTIONS --prop --rewriting #-}
module Examples.TreeSum where
open import Calf.CostMonoid
open import Calf.CostMonoids using (ℕ²-ParCostMonoid)
parCostMonoid = ℕ²-ParCostMonoid
open ParCostMonoid parCostMonoid
open import Calf costMonoid
open import Calf.ParMetalanguage parCostMonoid
open import Calf.Types.Nat
o... |
bb-runtimes/examples/stm32f4-discovery/leds-po/main.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 3821 | <reponame>JCGobbi/Nucleo-STM32G474RE
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- ... |
libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/puts_unlocked_fastcall.asm | jpoikela/z88dk | 640 | 19997 |
; int puts_unlocked_fastcall(const char *s)
SECTION code_clib
SECTION code_stdio
PUBLIC _puts_unlocked_fastcall
EXTERN asm_puts_unlocked
_puts_unlocked_fastcall:
push ix
call asm_puts_unlocked
pop ix
ret
|
ejercicios4/prueba_escribir_sospechosos.adb | iyan22/AprendeAda | 0 | 7825 | <filename>ejercicios4/prueba_escribir_sospechosos.adb
with Ada.Text_Io, copia_examenes;
with escribir_sospechosos,rellenar_aula_1,escribir_aula_act;
use copia_examenes;
use Ada.Text_Io;
procedure prueba_escribir_sospechosos is
aula1: T_aula;
procedure Pedir_Return is
begin
Put_Line("pulsa return pa... |
VirtualBox-5.0.0/src/VBox/Runtime/common/math/bignum-amd64-x86.asm | egraba/vbox_openbsd | 1 | 88092 | ; $Id: bignum-amd64-x86.asm $
;; @file
; IPRT - Big Integer Numbers, AMD64 and X86 Assembly Workers
;
;
; Copyright (C) 2006-2015 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or... |
webidl/WebIDL.g4 | augustand/grammars-v4 | 0 | 3079 | <reponame>augustand/grammars-v4
/*
BSD License
Copyright (c) 2013,2015 <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice... |
Scaliger-Ada_conversion.ads | Louis-Aime/Milesian_calendar_Ada | 0 | 10013 | -- Julian.Ada_conversion, a sub-package of Julian.
-- This package focuses on conversion between the Julian time
-- i.e. duration and time expressed in fractional Julian days,
-- and Ada.Calendar duration and time data.
-- These routines are only usefull for implementations
-- where conversions to and from the Ada time... |
asm/echo_hello.asm | CodeSwimBikeRun/nasm-function | 0 | 26924 | section .text
GLOBAL echo_hello
echo_hello:
mov rax,4 ; 'write' system call = 4
mov rbx,1 ; file descriptor 1 = STDOUT
mov rcx,hello ; string to write
mov rdx,helloLen ; length of string to write
int 80h ; call the kernel
ret
section .data
hello: db 'Hello worl... |
07/StackArithmetic_tests/StackTest/StackTest.asm | ashiroji/Nand2Tetris | 0 | 11147 | //push constant 17
@17 //A=index
D=A //D is now the constant
@SP
A=M //A = @SP
M=D //M[A] = value to push
@SP
M=M+1 //sp+1
//push constant 17
@17 //A=index
D=A //D is now the constant
@SP
A=M //A = @SP
M=D //M[A] = value to push
@SP
M=M+1 //sp+1
//eq
@SP
AM=M-1 //AM[SP] = M[SP] - 1 e.g @y
D=M //D = M[@... |
gyak/gyak1-2/sum.adb | balintsoos/LearnAda | 0 | 7805 | with Ada.Integer_Text_IO;
procedure Sum is
N : Integer;
Sum : Integer := 1;
begin
Ada.Integer_Text_IO.Get( N );
for I in 1..N loop
Sum := Sum + I;
end loop;
Ada.Integer_Text_IO.Put( Sum );
end Sum;
|
programs/oeis/310/A310409.asm | karttu/loda | 0 | 95130 | ; A310409: Coordination sequence Gal.3.19.1 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.
; 1,4,10,14,20,24,28,34,38,44,48,52,58,62,68,72,76,82,86,92,96,100,106,110,116,120,124,130,134,140,144,148,154,158,164,168,172,178,182,188,192,... |
oeis/159/A159340.asm | neoneye/loda-programs | 11 | 82483 | <gh_stars>10-100
; A159340: Transform of the finite sequence (1, 0, -1) by the T_{0,1} transformation (see link).
; Submitted by <NAME>
; 2,3,6,16,38,88,204,474,1102,2562,5956,13846,32188,74828,173954,404394,940102,2185472,5080606,11810976,27457188,63830218,148387254,344958514,801931252,1864263982,4333887956,1007506715... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_243_1060.asm | ljhsiun2/medusa | 9 | 165084 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1e2c4, %rsi
lea addresses_WT_ht+0x4fe4, %rdi
clflush (%rdi)
nop
nop
nop
nop
cmp %rax, %rax
mov $107, %rcx
rep movsb
nop
add $44039, %r13
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r13
ret
... |
src/tests/ascon_test_vectors.adb | jhumphry/Ascon_SPARK | 1 | 18875 | <reponame>jhumphry/Ascon_SPARK
-- Ascon_Test_Vectors
-- Copyright (c) 2016-2018, <NAME> - see LICENSE file for details
with Ada.Text_IO;
use Ada.Text_IO;
with Ascon128v11;
with Ascon128av11;
with Ascon128v12;
with Ascon128av12;
with Display_Ascon_Traces;
procedure Ascon_Test_Vectors is
procedure Ascon128v11_Di... |
alloy4fun_models/trashltl/models/11/FYvQxDkJbNSL94RH2.als | Kaixi26/org.alloytools.alloy | 0 | 2202 | <gh_stars>0
open main
pred idFYvQxDkJbNSL94RH2_prop12 {
always all t : Trash | eventually after t not in Trash
}
pred __repair { idFYvQxDkJbNSL94RH2_prop12 }
check __repair { idFYvQxDkJbNSL94RH2_prop12 <=> prop12o } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.