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 |
|---|---|---|---|---|
programs/oeis/304/A304504.asm | karttu/loda | 1 | 96128 | ; A304504: a(n) = 3*(3*n+1)*(9*n+8)/2.
; 12,102,273,525,858,1272,1767,2343,3000,3738,4557,5457,6438,7500,8643,9867,11172,12558,14025,15573,17202,18912,20703,22575,24528,26562,28677,30873,33150,35508,37947,40467,43068,45750,48513,51357,54282,57288,60375,63543,66792,70122,73533,77025,80598,84252,87987,91803,95700,99678,1... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3901a.ada | best08618/asylo | 7 | 24139 | <reponame>best08618/asylo
-- CE3901A.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
-- unlimited rights in the software and documentation contai... |
alloy4fun_models/trashltl/models/2/bhAPWDe4EfANRuDK7.als | Kaixi26/org.alloytools.alloy | 0 | 971 | open main
pred idbhAPWDe4EfANRuDK7_prop3 {
some File
}
pred __repair { idbhAPWDe4EfANRuDK7_prop3 }
check __repair { idbhAPWDe4EfANRuDK7_prop3 <=> prop3o } |
test/asset/agda-stdlib-1.0/Relation/Binary/Properties/StrictTotalOrder.agda | omega12345/agda-mode | 0 | 2027 | <reponame>omega12345/agda-mode
------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties satisfied by strict partial orders
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Bina... |
src/gpr_tools-gprslaves-nameserver-server.adb | persan/gprTools | 2 | 23537 | with GNAT.Spitbol;
with AWS.Status; use AWS.Status;
with Gprslaves.DB.JSON;
with GNATCOLL.JSON;
with AWS.Messages;
with Gprslaves.DB; use Gprslaves.DB;
package body GPR_Tools.Gprslaves.Nameserver.Server is
Store : Gprslaves.DB.Table;
--------------
-- Register --
--------------
procedure Register (Serve... |
smsq/qd/trap1.asm | olifink/smsqe | 0 | 6852 | <filename>smsq/qd/trap1.asm
* QDOS Trap #1 Emulation V2.01 1986 <NAME> QJUMP
*
section qd
*
xdef qd_trap1
xdef qd_t1tab
*
include 'dev8_keys_qdos_sms'
include 'dev8_keys_err'
include 'dev8_keys_sys'
include 'dev8_keys_psf'
include 'dev8_smsq_smsq_base_keys'
dc.l 0,0,0,0 sixteen bytes for cache pat... |
polynomial/least_sq_poly/opolys_tst_2.adb | jscparker/math_packages | 30 | 24729 | <reponame>jscparker/math_packages
with Orthogonal_Polys;
with text_io; use text_io;
with Ada.Numerics.Generic_Elementary_Functions;
procedure opolys_tst_2 is -- fit data with a nth order polynomial
type Real is digits 15;
package Math is new Ada.Numerics.Generic_Elementary_Functions (Real);
function Sin (... |
alloy4fun_models/trainstlt/models/2/W3krT2iDG2fDuPJpy.als | Kaixi26/org.alloytools.alloy | 0 | 1795 | <filename>alloy4fun_models/trainstlt/models/2/W3krT2iDG2fDuPJpy.als
open main
pred idW3krT2iDG2fDuPJpy_prop3 {
always(all t : Train , p : t.pos | always (t.pos = p))
}
pred __repair { idW3krT2iDG2fDuPJpy_prop3 }
check __repair { idW3krT2iDG2fDuPJpy_prop3 <=> prop3o } |
src/splash.asm | AmFobes/MineAssemble | 479 | 166165 | <reponame>AmFobes/MineAssemble
;
; This file contains the splash screen code and bitmap
;
[bits 32]
global show_splash
extern keys
%define KEY_ENTER 0x1C
section .text
; void show_splash()
; Show splash screen and wait for user to press ENTER
show_splash:
push ecx
push esi
push... |
src/test/java/com/fun/antlr/hello/Java.g4 | kaixinkelexlj/iwork | 0 | 2119 | grammar Java; // 声明语法头
/*
*========================
* 一些 options 配置
*=======================
*/
options {
language = Java; //设定生成代码的语言
}
/**
=========================
rule
=========================
*/
classDeclaration : 'class' className '{' (method)* '}';
className : (ID|' ')+;
method : methodName '(' (parameter)* ... |
clang-playground/clang.asm | pjhades/experiment | 0 | 104956 | 000000000001e850 <main>:
1e850: 55 push %rbp
1e851: 48 89 e5 mov %rsp,%rbp
1e854: 48 81 ec 80 01 00 00 sub $0x180,%rsp
1e85b: 64 48 8b 04 25 28 00 mov %fs:0x28,%rax
1e862: 00 00
1e864: 48 89 45 f8 mov %rax,-0x8(%rbp)
1e868: c7 85 9c fe ff f... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/scalbn_callee.asm | jpoikela/z88dk | 640 | 19405 | <filename>libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/scalbn_callee.asm
SECTION code_clib
SECTION code_fp_math48
PUBLIC scalbn_callee
EXTERN cm48_sccz80_scalbn_callee
defc scalbn_callee = cm48_sccz80_scalbn_callee
|
programs/oeis/118/A118004.asm | neoneye/loda | 22 | 175998 | ; A118004: a(n) = 9^n - 4^n.
; 0,5,65,665,6305,58025,527345,4766585,42981185,387158345,3485735825,31376865305,282412759265,2541798719465,22876524019505,205890058352825,1853015893884545,16677164519797385,150094566577522385
mul $0,2
mov $1,3
pow $1,$0
mov $2,2
pow $2,$0
sub $1,$2
mov $0,$1
|
Dave/LeibnizEquality.agda | DavidStahl97/formal-proofs | 0 | 1867 | <gh_stars>0
module Dave.LeibnizEquality where
open import Dave.Equality public
_≐_ : ∀ {A : Set} (x y : A) → Set₁
_≐_ {A} x y = ∀ (P : A → Set) → P x → P y
refl-≐ : ∀ {A : Set} {x : A} → x ≐ x
refl-≐ P Px = Px
trans-≐ : ∀ {A : Set} {x y z : A} → x ≐ y → y ≐ z → x ≐ z
trans-≐ x≐y y≐z P Px ... |
examples/float.asm | AbdulrahmanAbumdas/emu8086 | 287 | 19543 | ; calculate equation with high precision without math coprocessor
; this program calculates linear equation: ax + b = 0
; the result is printed with floating point.
; for example: a = 7, b = 2
; x = -0.28571428....
name "float"
precision = 30 ; max digits after the dot.
dseg segmen... |
uti/chkDDe.asm | olifink/smsqe | 0 | 173343 | ; Check for DATAdesign presence and version number 1990 <NAME> V0.01
section utility
include dev8_keys_wman
include dev8_keys_wstatus
include dev8_keys_qdos_sms
include dev8_keys_err
include dev8_keys_thg
include dev8_mac_xref
xdef ut_ddevs ; check for DATAdesign and version
;+++
; Check for DATAdesign ... |
oeis/007/A007410.asm | neoneye/loda-programs | 11 | 165229 | ; A007410: Numerator of Sum_{k=1..4} k^(-4).
; Submitted by <NAME>
; 1,17,1393,22369,14001361,14011361,33654237761,538589354801,43631884298881,43635917056897,638913789210188977,638942263173398977,18249420414596570742097,18249859383918836502097,18250192489014819937873,292007196876357275606593,243890029054379825989168139... |
Library/SpecUI/CommonUI/CView/cviewPaneScale.asm | steakknife/pcgeos | 504 | 16444 | COMMENT @-----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: OpenLook/View
FILE: cviewPaneScale.asm
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- ... |
scrollers/screen.asm | FolkertVanVerseveld/c64 | 1 | 167001 | scr_clear:
lda #scr_clear_char
ldx #0
// `wis' alle karakters door alles te vullen met spaties
!l:
sta $0400, x
sta $0500, x
sta $0600, x
sta $06e8, x
inx
bne !l-
// verander kleur van alle karakters
lda #scr_clear_color
ldx #0
!l:
sta $d800, x
sta $d900, x
sta $da00, x
sta $dae8, x
inx
bne !l-
rts
|
kernel/delay.asm | Chrisigamer737/Nugget-OS | 0 | 888 | [bits32]
delay2:
dec bp
nop
jnz delay2
dec si
cmp si,0
jnz delay2
; end delay |
source/a-sbtzst.ads | ytomino/drake | 33 | 5269 | <filename>source/a-sbtzst.ads
pragma License (Unrestricted);
-- extended unit
package Ada.Streams.Block_Transmission.Wide_Wide_Strings is
-- There are efficient streaming operations for Wide_Wide_String.
pragma Pure;
procedure Read is
new Block_Transmission.Read (
Positive,
Wide_Wide... |
fracGC/PiFrac2.agda | JacquesCarette/pi-dual | 14 | 1374 | <filename>fracGC/PiFrac2.agda
{-# OPTIONS --without-K #-}
-- Definition of Pi with fractionals
module PiFrac2 where
-- From the standard library:
open import Data.Empty using (⊥)
open import Data.Unit using (⊤; tt)
open import Data.Sum using (_⊎_; inj₁; inj₂)
open import Data.Product using (_×_; _,_; proj₁; proj₂)
o... |
src/test.asm | sillygooseinapond/6502-rust | 0 | 102303 | processor 6502
ORG $0000
lda 5
sta $FF
lda 7
lda $FF
clc
bcc point
lda #66
BRK
point:
lda #30
sta $0100
inc $0100
inc $0100
inc $0100
inc $0100
dec $0100
lda $0100
pha
lda #100
pla
SED
lda #0
adc #$22
adc #$22
ORG $FFFC
.byte #0
.byte #0
|
oeis/131/A131865.asm | neoneye/loda-programs | 11 | 92480 | ; A131865: Partial sums of powers of 16.
; Submitted by <NAME>
; 1,17,273,4369,69905,1118481,17895697,286331153,4581298449,73300775185,1172812402961,18764998447377,300239975158033,4803839602528529,76861433640456465,1229782938247303441,19676527011956855057,314824432191309680913,5037190915060954894609,8059505464097527831... |
src/oberon.ads | Lucretia/so | 8 | 26370 | <reponame>Lucretia/so
------------------------------------------------------------------------------------------------------------------------
-- See COPYING for licence information.
------------------------------------------------------------------------------------------------------------------------
-- Oberon
-- ... |
cc4x86/tests/regressive/asm_listings/float2__optimize_noinline.asm | artyompal/C-compiler | 4 | 101770 |
.686
.model flat
.xmm
.data
___unnamed_float_0 dd 040000000h
public ___unnamed_float_0
___unnamed_float_1 dd 03f800000h
public ___unnamed_float_1
___unnamed_float_2 dd 040400000h
public ___unnamed_float_2
___unnamed_float_3 dd 040800000h
public ___unnamed_flo... |
src/MFORTH/mforthwords/profiler.asm | malyn/MFORTH | 10 | 87083 | <reponame>malyn/MFORTH<gh_stars>1-10
; Copyright (c) 2009-2010, <NAME> <<EMAIL>>.
; 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 copyri... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca.log_21829_1019.asm | ljhsiun2/medusa | 9 | 178125 | .global s_prepare_buffers
s_prepare_buffers:
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1ecea, %rsi
lea addresses_D_ht+0x16076, %rdi
xor %rbx, %rbx
mov $108, %rcx
rep movsb
nop
and %rdx, %rdx
lea addresses_UC_ht+0x1d1fa, %r8
nop
sub %rsi, %rsi
mov $0x6162636465666768, %rdx... |
firehog/ncurses/Ada95/samples/sample-explanation.adb | KipodAfterFree/KAF-2019-FireHog | 0 | 22583 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- ... |
oeis/285/A285965.asm | neoneye/loda-programs | 11 | 242716 | ; A285965: Positions of 1 in A285963; complement of A285964.
; Submitted by <NAME>
; 4,10,14,17,24,30,37,40,44,50,54,57,64,67,71,77,84,90,94,97,104,110,117,120,124,130,137,143,147,150,157,160,164,170,174,177,184,190,197,200,204,210,214,217,224,227,231,237,244,250,254,257,264,267,271,277,281,284,291,297,304,307,311,317,... |
oeis/044/A044412.asm | neoneye/loda-programs | 11 | 19625 | ; A044412: Numbers n such that string 8,0 occurs in the base 10 representation of n but not of n-1.
; Submitted by <NAME>
; 80,180,280,380,480,580,680,780,800,880,980,1080,1180,1280,1380,1480,1580,1680,1780,1800,1880,1980,2080,2180,2280,2380,2480,2580,2680,2780,2800,2880,2980,3080,3180,3280,3380,3480,3580
add $0,1
mul... |
Cubical/Categories/Functor/Base.agda | Edlyr/cubical | 0 | 15320 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Categories.Functor.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Sigma
open import Cubical.Categories.Category
private
variable
ℓC ℓC' ℓD ℓD' : Level
record Functor (C : Precategory ℓC ℓC') (D : Precategory ℓD ℓD')... |
oeis/228/A228612.asm | neoneye/loda-programs | 11 | 88805 | <filename>oeis/228/A228612.asm<gh_stars>10-100
; A228612: Number of (possibly overlapping) occurrences of the subword given by the binary expansion of n in all binary words of length n.
; 0,1,1,4,4,12,32,80,80,192,448,1024,2304,5120,11264,24576,24576,53248,114688,245760,524288,1114112,2359296,4980736,10485760,22020096,... |
testsuite/reserved_word/test.ads | mgrojo/protobuf | 0 | 25839 | <reponame>mgrojo/protobuf<filename>testsuite/reserved_word/test.ads<gh_stars>0
package Test is end; |
src/devices/SAMD51/ATSAMD51N19A/sam-device.ads | Fabien-Chouteau/samd51-hal | 1 | 21725 | <filename>src/devices/SAMD51/ATSAMD51N19A/sam-device.ads
with System; use System;
with SAM.TC; use SAM.TC;
with SAM.SERCOM.USART; use SAM.SERCOM.USART;
with SAM.SERCOM.SPI; use SAM.SERCOM.SPI;
with SAM.SERCOM.I2C; use SAM.SERCOM.I2C;
with SAM.SERCOM; use SAM.SERCOM;
with SAM.Port; use SAM.Port;
with SAM.ADC; use SAM.AD... |
software/hal/boards/stm32f7_discovery/framebuffer_rk043fn48h.ads | TUM-EI-RCS/StratoX | 12 | 9663 | with HAL.Framebuffer; use HAL.Framebuffer;
with Framebuffer_LTDC;
package Framebuffer_RK043FN48H is
LCD_Natural_Width : constant := 480;
LCD_Natural_Height : constant := 272;
type Frame_Buffer is limited new Framebuffer_LTDC.Frame_Buffer with private;
procedure Initialize
(Display : in out Fr... |
libsrc/_DEVELOPMENT/z180/c/sccz80/z180_otdr_callee.asm | jpoikela/z88dk | 640 | 12455 |
; void *z180_otdr(void *src, uint8_t port, uint8_t num)
SECTION code_clib
SECTION code_z180
PUBLIC z180_otdr_callee
EXTERN asm_z180_otdr
z180_otdr_callee:
pop hl
pop de
pop bc
ex (sp),hl
ld b,e
jp asm_z180_otdr
|
3-mid/opengl/private/freetype/source/thin/freetype_c-pointer_pointers.ads | charlie5/lace | 20 | 9840 | <gh_stars>10-100
with
freetype_c.Pointers;
package freetype_c.pointer_Pointers
is
use freetype_c.Pointers;
type FT_UShort_Pointer_Pointer is access all FT_UShort_Pointer;
type FT_Int_Pointer_Pointer is access all FT_Int_Pointer;
type FT_UInt_Pointer_Pointer is access all FT_UI... |
HW4-keyvan-dadashzadeh-97522148/Q3/Q3.g4 | keyvan1379/IUSTCompiler | 0 | 310 | grammar Q3;
@parser::members {
var_dict = {}
temp_counter = 0
label_counter = 0
params = 0
current_function_params = 0
method_body = ""
def define_variable(self, type, name):
if name not in self.var_dict:
self.var_dict[name] = type
def create_temp(self):
new_temp = f"_t{self.temp_counter}"
se... |
programs/oeis/052/A052549.asm | jmorken/loda | 1 | 98463 | <filename>programs/oeis/052/A052549.asm
; A052549: a(n) = 5*2^(n-1) - 1, n>0, with a(0)=1.
; 1,4,9,19,39,79,159,319,639,1279,2559,5119,10239,20479,40959,81919,163839,327679,655359,1310719,2621439,5242879,10485759,20971519,41943039,83886079,167772159,335544319,671088639,1342177279,2684354559,5368709119,10737418239,21474... |
src/main/applescript/PhotosImport.scptd/Contents/Resources/Scripts/main.scpt | sto3014/LRPhotos | 4 | 3995 | #@osa-lang:AppleScript
-------------------------------------------------------------------------------
-- Initial created by <NAME> in 2011
--
-- 29.05.2021. <NAME>. Add publishing functionality
--
-------------------------------------------------------------------------------
use AppleScript version "2.4" -- Yosemite ... |
libsrc/games/synth_phase.asm | UnivEngineer/z88dk | 1 | 98796 | ; $Id: synth_phase.asm $
;
; Generic 1 bit sound functions
; by <NAME>, 2021
;
; set up the frequency shifting parameters for synth_play
;
IF !__CPU_GBZ80__
SECTION code_clib
PUBLIC synth_phase
PUBLIC _synth_phase
PUBLIC synth_phase_1
PUBLIC _synth_phase_1
PUBLIC synth_... |
src/spread/fpars/test.asm | olifink/qspread | 0 | 21697 |
include win1_mac_oli
section prog
qdosjob {Parser Test}
move.l #1024,d1 ; allocate one K
xjsr ut_alchp
bne exit
move.l a0,a5
move.l a0,a1
add.l #512,a1
lea form,a0
suba.l a2,a2
suba.l a3,a3
moveq #0,d1
xjsr prs_form
exit
xjsr ut_appr
form
qstrg {2*1-2*2-2*3}
ds.w 5
end
|
crypto/cast/asm/c-win32.asm | rstokes149/RedLobster | 0 | 88557 | <gh_stars>0
; Don't even think of reading this code
; It was automatically generated by cast-586.pl
; Which is a perl program used to generate the x86 assember for
; any of elf, a.out, BSDI,Win32, or Solaris
; eric <<EMAIL>>
;
TITLE cast-586.asm
.486
.model FLAT
_TEXT SEGMENT
PUBLIC _CAST_encrypt
EXTERN... |
gcc-gcc-7_3_0-release/gcc/ada/spark_xrefs.ads | best08618/asylo | 7 | 3073 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/ada/spark_xrefs.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
--... |
Fields/CauchyCompletion/EquivalentMonotone.agda | Smaug123/agdaproofs | 4 | 8030 | {-# OPTIONS --safe --warning=error --without-K --guardedness #-}
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
open import Setoids.Setoids
open import Rings.Definition
open import Rings.Lemmas
open import Rings.Orders.Partial.Definition
open import Rings.Orders.Total.Definition
open import Groups.Definiti... |
src/hestia-main.adb | stcarrez/hestia | 2 | 6429 | <reponame>stcarrez/hestia<filename>src/hestia-main.adb
-----------------------------------------------------------------------
-- hestia-main -- Hestia main program
-- Copyright (C) 2016, 2017, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you m... |
programs/oeis/139/A139038.asm | karttu/loda | 1 | 91536 | ; A139038: Centrally symmetric triangle read by rows: t(n,m) = A000931(m+1) if m <= floor(n/2), A000931(n - m+1) otherwise.
; 1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,2,2,1,1,1,1,2,2,2,1,1,1,1,2,2,2,2,1,1,1,1,2,2,3,2,2,1,1,1,1,2,2,3,3,2,2,1,1,1,1,2,2,3,4,3,2,2,1
cal $0,106314 ; Triangle T(n,k) composed of the squares min(n,k... |
code/gnutls/SMP/lib/accelerated/x86/coff/cpuid-x86.asm | timkingh/FFmpeg_VS | 0 | 98102 | %ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
%ifndef __YASM_VER__
$@feat.00 equ 1
%endif
section .text code align=64
%else
section .text code
%endif
global _gnutls_cpuid
align 16
_gnutls_cpuid:
L$_gnutls_cpuid_begin:
push ebp
mov ebp,esp
sub esp,12
mov DWORD [... |
Transynther/x86/_processed/AVXALIGN/_zr_un_/i9-9900K_12_0xca_notsx.log_21829_1177.asm | ljhsiun2/medusa | 9 | 19683 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_un_/i9-9900K_12_0xca_notsx.log_21829_1177.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rbp
push %rbx
push %rdi
push %rsi
lea addresses_D_ht+0x6ce, %rbx
nop
nop
nop
xor %r14, %r14
mov $0x6162636465666768, %rsi
movq %r... |
oeis/022/A022803.asm | neoneye/loda-programs | 11 | 166891 | ; A022803: Numbers that reach ...,7,8,4,2,1 under the mapping: if n is even divide by 2 else add 1.
; Submitted by <NAME>
; 13,14,25,26,27,28,49,50,51,52,53,54,55,56,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,2... |
grammar/COOL_LEX.g4 | Liset97/cool-compiler-2020 | 0 | 3640 | lexer grammar COOL_LEX;
CLASS
: C L A S S
;
ELSE
: E L S E
;
FALSE
: 'f' A L S E
;
FI
: F I
;
IF
: I F
;
IN
: I N
;
INHERITS
: I N H E R I T S
;
ISVOID
: I S V O I D
;
LET
: L E T
;
LOOP
: L O O P
;
POOL
: P O O L
;
THEN
: T H E N
;
WH... |
oeis/034/A034999.asm | neoneye/loda-programs | 11 | 102069 | <filename>oeis/034/A034999.asm<gh_stars>10-100
; A034999: Number of ways to cut a 2 X n rectangle into rectangles with integer sides.
; Submitted by <NAME>
; 1,2,8,34,148,650,2864,12634,55756,246098,1086296,4795090,21166468,93433178,412433792,1820570506,8036386492,35474325410,156591247016,691227204226,3051224496244,134... |
mips/freertos/port_asm.asm | andrewandrepowell/axiplasma | 5 | 5796 |
.extern FreeRTOS_UserISR
.extern pxCurrentTCB
.extern InitStack
.extern FreeRTOS_Yield
.data
.align 2
.globl FreeRTOS_SysCall
.comm FreeRTOS_SysCall,4,0
.text
.macro portSAVE_CONTEXT
.set noreorder
.set noat
# FreeRTOS: Load source of interrupt and reset it.
lui $26, %hi(FreeRTOS_SysCall)
ori $... |
other/nes/logic.asm | CaptainDreamcast/prism | 7 | 82986 | <filename>other/nes/logic.asm<gh_stars>1-10
.bank 0
.org $C000
RESET:
SEI ; disable IRQs
CLD ; disable decimal mode
LDX #$40
STX $4017 ; disable APU frame IRQ
LDX #$FF
TXS ; Set up stack
INX ; now X = 0
STX $2000 ; disable NMI
STX $2001 ; disable rende... |
coverage/PENDING_SUBMIT/amdvlk/0533-COVERAGE-memory-ssa-h-584/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 0 | 14624 | ; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 191
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %103 %171
OpExecutionMode %4 O... |
agda/Text/Greek/SBLGNT/Mark.agda | scott-fleischman/GreekGrammar | 44 | 2426 | <filename>agda/Text/Greek/SBLGNT/Mark.agda
module Text.Greek.SBLGNT.Mark where
open import Data.List
open import Text.Greek.Bible
open import Text.Greek.Script
open import Text.Greek.Script.Unicode
ΚΑΤΑ-ΜΑΡΚΟΝ : List (Word)
ΚΑΤΑ-ΜΑΡΚΟΝ =
word (Ἀ ∷ ρ ∷ χ ∷ ὴ ∷ []) "Mark.1.1"
∷ word (τ ∷ ο ∷ ῦ ∷ []) "Mark.1.1"
... |
src/words_engine/words_engine-english_support_package.adb | spr93/whitakers-words | 204 | 14930 | -- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is Copyrighted
-- (c). Permission i... |
test/relaz1.asm | eruffaldi/cmm | 0 | 81934 | .386P
if @Version gt 510
.model FLAT
else
_TEXT SEGMENT PARA USE32 PUBLIC 'CODE'
_TEXT ENDS
_DATA SEGMENT DWORD USE32 PUBLIC 'DATA'
_DATA ENDS
CONST SEGMENT DWORD USE32 PUBLIC 'CONST'
CONST ENDS
_BSS SEGMENT DWORD USE32 PUBLIC 'BSS'
_BSS ENDS
_TLS SEGMENT DWORD USE32 PUBLIC 'TLS'
_TLS ENDS
FLAT GROUP _DAT... |
data/pokemon/dex_entries/gupgold.asm | AtmaBuster/pokeplat-gen2 | 6 | 9607 | <filename>data/pokemon/dex_entries/gupgold.asm<gh_stars>1-10
db "GOLDFISH@" ; species name
db "Even at a young"
next "age, this #MON"
next "swims quickly and"
page "with ease, even"
next "against relatively"
next "strong currents.@" |
src/data/lib/prim/Agda/Builtin/FromNeg.agda | redfish64/autonomic-agda | 0 | 3875 | <gh_stars>0
module Agda.Builtin.FromNeg where
open import Agda.Primitive
open import Agda.Builtin.Nat
record Negative {a} (A : Set a) : Set (lsuc a) where
field
Constraint : Nat → Set a
fromNeg : ∀ n → {{_ : Constraint n}} → A
open Negative {{...}} public using (fromNeg)
{-# BUILTIN FROMNEG fromNeg #-}
{... |
libsrc/_DEVELOPMENT/compress/zx7/c/sdcc/dzx7_agile_rcs_back.asm | jpoikela/z88dk | 640 | 9968 |
; void dzx7_agile_rcs_back(void *src, void *dst)
SECTION code_clib
SECTION code_compress_zx7
PUBLIC _dzx7_agile_rcs_back
EXTERN asm_dzx7_agile_rcs_back
_dzx7_agile_rcs_back:
pop af
pop hl
pop de
push de
push hl
push af
jp asm_dzx7_agile_rcs_back
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45232b.ada | best08618/asylo | 7 | 746 | <reponame>best08618/asylo
-- C45232B.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
-- unlimited rights in the software and documentation contai... |
Lab3/lab3_3.asm | chintamanand/Embedded-Systems-Project | 0 | 176400 | <filename>Lab3/lab3_3.asm
AREA Reset,Data,Readonly
EXPORT __Vectors
__Vectors
DCD 0x40000000
DCD Reset_Handler
ALIGN
AREA mycode,Code,Readonly
ENTRY
EXPORT Reset_Handler
Reset_Handler
LDR R5,=VALUE1
LDR R4,[R5]
MOV R2,#1
MOV R3,#1
MOV R1,#1
UP
MLA R1,R1,R2,R3
ADD R3,#1
SUB R4,... |
programs/oeis/059/A059939.asm | karttu/loda | 0 | 166845 | <reponame>karttu/loda
; A059939: a(n) = floor(log_2(n+1) - 1).
; 0,0,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6... |
Windows/Visual Studio/CppCallingConventions/CppCallingConventions/CalculateSum.asm | leonhad/masm | 9 | 170981 | .386
.model flat, c
.code
CalculateSum proc
; Function prolog
push ebp
mov ebp, esp
sub esp, 12 ; Allocate local storage space
push ebx
push esi
push edi
; Load arguments.
mov eax, [ebp+8] ; eax = a
mov ebx, [ebp+12] ; ebx = b
mov ecx, [ebp+16] ; ecx = c
mov edx, [ebp+20] ; edx = s1
mov esi, [ebp+24]... |
programs/oeis/227/A227085.asm | jmorken/loda | 1 | 15736 | <filename>programs/oeis/227/A227085.asm
; A227085: Number of n X 2 binary arrays indicating whether each 2 X 2 subblock of a larger binary array has lexicographically increasing rows and columns, for some larger (n+1) X 3 binary array with rows and columns of the latter in lexicographically nondecreasing order.
; 4,12,... |
bb-runtimes/runtimes/ravenscar-sfp-stm32h743/gnarl/a-intnam.ads | JCGobbi/Nucleo-STM32H743ZI | 0 | 5704 | --
-- Copyright (C) 2021, AdaCore
--
pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32H743x.svd
-- This is a version for the STM32H743x MCU
package Ada.Interrupts.Names is
-- All identifiers in this unit are implementation defined
pragma Implementation_Defined;
-----... |
programs/oeis/021/A021411.asm | jmorken/loda | 1 | 172815 | <filename>programs/oeis/021/A021411.asm
; A021411: Decimal expansion of 1/407.
; 0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2,4,5,7,0,0,2
mod $0,6
mul $0,2
mov $2,1
lpb $0
div ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1788.asm | ljhsiun2/medusa | 9 | 86941 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xec1e, %r15
nop
nop
nop
nop
nop
sub $32119, %rbp
movl $0x61626364, (%r15)
nop
nop
nop
nop
nop
add $24716, %rax
lea addresses_D_ht+0xc572, %rdi
sub $49088, %rsi... |
arch/ARM/STM32/svd/stm32wb55x/stm32_svd-syscfg2.ads | morbos/Ada_Drivers_Library | 2 | 23014 | <filename>arch/ARM/STM32/svd/stm32wb55x/stm32_svd-syscfg2.ads<gh_stars>1-10
-- This spec has been automatically generated from STM32WB55x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.SYSCFG2 is
pragma Preelaborate;
-------... |
Working Disassembly/Levels/LRZ/Misc Object Data/Map - Door.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 170515 | dc.w word_429DE-Map_LRZDoor
dc.w word_429FE-Map_LRZDoor
word_429DE: dc.w 5 ; DATA XREF: ROM:000429DAo
dc.b $D8, $D, 0, $7B, $FF, $F0
dc.b $E8, $D, 0, $83, $FF, $F0
dc.b $F8, $D, 0, $83, $FF, $F0
dc.b 8, $D, $10, $83, $FF, $F0
dc.b $18, $D, $10, $7B, $FF, $F0
word_429FE: dc.w 4 ; DATA X... |
programs/oeis/063/A063782.asm | neoneye/loda | 22 | 87845 | <filename>programs/oeis/063/A063782.asm
; A063782: a(0) = 1, a(1) = 3; for n > 1, a(n) = 2*a(n-1) + 4*a(n-2).
; 1,3,10,32,104,336,1088,3520,11392,36864,119296,386048,1249280,4042752,13082624,42336256,137003008,443351040,1434714112,4642832384,15024521216,48620371968,157338828800,509159145472,1647673606144,5331983794176,... |
alloy4fun_models/trainstlt/models/2/uWJfKsXp3u24qNYXb.als | Kaixi26/org.alloytools.alloy | 0 | 2012 | <filename>alloy4fun_models/trainstlt/models/2/uWJfKsXp3u24qNYXb.als
open main
pred iduWJfKsXp3u24qNYXb_prop3 {
all t: Train, tk: Track | t->tk in pos implies always t->tk in pos
}
pred __repair { iduWJfKsXp3u24qNYXb_prop3 }
check __repair { iduWJfKsXp3u24qNYXb_prop3 <=> prop3o } |
FStream/FVec.agda | Aerate/condatis | 1 | 3104 | module FStream.FVec where
------------------------------------------------------------------------
-- Dissecting effectful streams
------------------------------------------------------------------------
open import Library
open import FStream.Core
open import Data.Fin
infixr 5 _▻_
infix 6 ⟨_▻⋯
infix 7 _⟩
data FVec... |
MoveShape.asm | Sam-Berman1/Bitmap-Animation | 0 | 25034 |
#######################################################################
# Important: do not put any other data before the frameBuffer #
# Also: the Bitmap Display tool must be connected to MARS and set to #
# display width in pixels: 512 #
# display height in pixels: 256 ... |
projects/Links_Awakening_gb.windfish/disassembly/bank_00.asm | jverkoey/awaken | 68 | 28429 | SECTION "ROM Bank 00", ROM0[$00]
RST_0000:
jp JumpTable
DEBUG_TOOL1:
db false
DEBUG_TOOL2:
db false
DEBUG_TOOL3:
db $FF
db $FF, $FF
RST_0008:
db $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF
RST_0010:
db $FF, $FF, $FF, $FF, $FF, $FF, $FF, $FF
RST_0018:
db $FF, $FF, $FF, ... |
common/src/Microsoft.Azure.IIoT.Hub.Mock/src/SqlParser/SqlSelect.g4 | JMayrbaeurl/Industrial-IoT | 392 | 5477 | <reponame>JMayrbaeurl/Industrial-IoT<gh_stars>100-1000
grammar SqlSelect;
/*
* Parser Rules
*/
parse
: SELECT selectList
( FROM collection )?
( WHERE expr )?
( GROUP BY groupByClause )? EOF
( ORDER BY orderByClause )? EOF
;
collection
: DEVICES
| DEVICES_JOBS
| DEVICES_MODULES
;
maxCount
: NU... |
_inc/SBZ Palette Scripts.asm | kodishmediacenter/msu-md-sonic | 9 | 172197 | <reponame>kodishmediacenter/msu-md-sonic<gh_stars>1-10
; ---------------------------------------------------------------------------
; Scrap Brain Zone palette cycling script
; ---------------------------------------------------------------------------
mSBZp: macro duration,colours,paladdress,ramaddress
dc.b duration... |
play/double.asm | justinba1010/CSCE212 | 2 | 17929 | ### <NAME>
### 00426510
### Double Jump
### 25 November 2018
### Dr. <NAME>
.data
string1: .asciiz "Trying Double Jump\n"
string2: .asciiz "A\n"
string3: .asciiz "B\n"
string4: .asciiz "C\n"
string5: .asciiz "Exit\n"
.text
main:
# Input i to $s1
addi $v0, $zero, 4 # code for printing string is 4
... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco/Cisco_qos.g4 | sskausik08/Wilco | 0 | 4776 | parser grammar Cisco_qos;
import Cisco_common;
options {
tokenVocab = CiscoLexer;
}
cm_end_class_map
:
END_CLASS_MAP NEWLINE
;
cm_match
:
num = DEC? MATCH
(
cmm_access_group
| cmm_access_list
| cmm_any
| cmm_class_map
| cmm_cos
| cmm_default_inspection_traffic
|... |
programs/oeis/171/A171983.asm | neoneye/loda | 22 | 7014 | <filename>programs/oeis/171/A171983.asm
; A171983: Beatty sequence for sqrt(13).
; 3,7,10,14,18,21,25,28,32,36,39,43,46,50,54,57,61,64,68,72,75,79,82,86,90,93,97,100,104,108,111,115,118,122,126,129,133,137,140,144,147,151,155,158,162,165,169,173,176,180,183,187,191,194,198,201,205,209,212,216,219,223,227,230,234,237,24... |
src/UniformSQL.g4 | BruceXu1991/UniformSQLParser | 6 | 3620 | <filename>src/UniformSQL.g4
grammar UniformSQL;
fragment A_ : 'a' | 'A';
fragment B_ : 'b' | 'B';
fragment C_ : 'c' | 'C';
fragment D_ : 'd' | 'D';
fragment E_ : 'e' | 'E';
fragment F_ : 'f' | 'F';
fragment G_ : 'g' | 'G';
fragment H_ : 'h' | 'H';
fragment I_ : 'i' | 'I';
fragment J_ : 'j' | 'J';
fragment ... |
src/main/antlr4/fr/bananasmoothii/scriptcommands/core/antlr4parsing/ScriptsLexer.g4 | bananasmoothii/ScriptCommands | 5 | 5714 | /*
* Copyright 2020 ScriptCommands
*
* 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 applica... |
programs/oeis/151/A151914.asm | karttu/loda | 0 | 28914 | ; A151914: a(0)=0, a(1)=4; for n>=2, a(n) = (8/3)*(Sum_{i=1..n-1} 3^wt(i)) + 4, where wt() = A000120().
; 0,4,12,20,44,52,76,100,172,180,204,228,300,324,396,468,684,692,716,740,812,836,908,980,1196,1220,1292,1364,1580,1652,1868,2084,2732,2740,2764,2788,2860,2884,2956,3028,3244,3268,3340,3412,3628,3700,3916,4132,4780
m... |
Task/Resistor-mesh/Ada/resistor-mesh.ada | LaudateCorpus1/RosettaCodeData | 1 | 11799 | with Ada.Text_IO; use Ada.Text_IO;
procedure ResistMesh is
H, W : constant Positive := 10;
rowA, colA : constant Positive := 2; -- row/col indexed from 1
rowB : constant Positive := 7;
colB : constant Positive := 8;
type Ntype is (A, B, Free);
type Vtype is digits 15;
type Node is record
vol... |
grammars/CouncilOfState.g4 | OpenLawsGR/judgments2AKN | 5 | 1973 | grammar CouncilOfState;
akomaNtoso : judgment EOF;
text : (NUM | ALL_CHARS | SPECIAL_CHARS | SPACE | DOT | COMMA | SLASH | ARITHMOS_TEXT | BECAUSE_ALT | ANO_KATO);
judgment : header judgmentBody conclusions;
//------------------------ Header ---------------------------------------//
header : caseNmuber+ docProponen... |
MIPS-Sim/Examples/procedure_call_example_fact3.asm | sawyermade/architecture | 16 | 163419 | # Compute and factorial number of n (n!)
# Two functions: main and fact
.text
.globl main
main:
# Register assignments
# $a0 = n
# input argument for parameter n
la $a0, msg0
li $v0, 4
syscall
li $v0, 5 # Read integer
syscall # $v0 = value read
# Passing parameter and call the proc... |
Cubical/Categories/Additive/Quotient.agda | thomas-lamiaux/cubical | 1 | 5300 | -- Quotients of additive categories
{-# OPTIONS --safe #-}
module Cubical.Categories.Additive.Quotient where
open import Cubical.Algebra.AbGroup.Base
open import Cubical.Categories.Additive.Base
open import Cubical.Categories.Additive.Properties
open import Cubical.Categories.Category.Base
open import Cubical.Categor... |
programs/oeis/101/A101344.asm | neoneye/loda | 22 | 172566 | ; A101344: Number of primes between prime(n) and 3prime(n).
; 2,2,3,4,6,6,8,8,10,13,13,17,17,17,19,21,23,24,27,27,26,29,30,32,36,36,36,38,37,38,44,45,47,46,51,51,54,55,56,57,58,58,62,62,62,62,68,73,74,74,74,75,75,79,81,82,82,83,86,86,85,89,94,94,94,95,100,101,106,105,106
mov $2,$0
seq $0,298864 ; Ranks of products 3*p... |
Appl/Art/Decks/GeoDeck/CGAFractal2.asm | steakknife/pcgeos | 504 | 173271 | CGAFractal2 label byte
word C_BLACK
Bitmap <67,41,BMC_PACKBITS,BMF_MONO>
db 0xf8, 0x00
db 0xfe, 0x00, 0x05, 0x05, 0x80, 0x00, 0xa2, 0x60,
0x00
db 0xfe, 0x00, 0x05, 0x0d, 0x53, 0x01, 0x84, 0x00,
0x00
db 0xfe, 0x00, 0x05, 0x07, 0x9b, 0xa0, 0xff, 0x00,
0x00
db 0x08, 0x00, 0x00, 0x18, 0xd8, 0x1c, ... |
enemy_struct.asm | StevenMonty/MARS-Invaders | 0 | 174578 | <reponame>StevenMonty/MARS-Invaders<filename>enemy_struct.asm
.eqv active 0
.eqv x_pos 4 # offset of the x pixel field in the enemy array
.eqv y_pos 8 # offset of the y pixel field in the enemy array
|
tools-src/gnu/gcc/gcc/ada/5qvxwork.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 22407 | ------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
oeis/227/A227161.asm | neoneye/loda-programs | 11 | 179394 | <reponame>neoneye/loda-programs
; A227161: Number of n X 2 0,1 arrays indicating 2 X 2 subblocks of some larger (n+1) X 3 binary array having a sum of one or less, with rows and columns of the latter in lexicographically nondecreasing order.
; 1,3,8,18,36,66,113,183,283,421,606,848,1158,1548,2031,2621,3333,4183,5188,63... |
v0.1/Source/random.asm | sjmeunier/cros | 0 | 23647 | <reponame>sjmeunier/cros
;-----------------------------------------------------
;Generate a random number
;I: bx min val
; bp max val
;O: ax random number
;-----------------------------------------------------
_random_word:
push dx
push cx
mov ax, rndseed
cmp ax, 0x0000 ;check if firs... |
source/cc.adb | xiashuangxi/codecount | 0 | 26022 | with Ada.Command_Line;
with Ada.Text_IO;
with Code_Count; use Code_Count;
-- CC
procedure Cc is
CM : Code_Count.CodeMate;
TM : Code_Count.TotalCodeMate;
begin
if Ada.Command_Line.Argument_Count < 1 then
Ada.Text_IO.Put_Line("command use: ./cc <file 1> <file 1>");
else
for ... |
test/Compiler/simple/ErasureSubtyping.agda | shlevy/agda | 2 | 16969 | -- Andreas, 2018-10-16, erased lambda-arguments
open import Agda.Builtin.List
open import Common.Prelude
sum : List Nat → Nat
sum (x ∷ xs) = x + sum xs
sum [] = 0
zipWith : {A B C : Set} (f : A → B → C) → List A → List B → List C
zipWith f (x ∷ xs) (y ∷ ys) = f x y ∷ zipWith f xs ys
zipWith _ _ _ = []
-- Shorten th... |
Projects/MyCpuName/MyCpuName/MyCpuName.asm | Zalexanninev15/ALP | 0 | 86321 | <gh_stars>0
; License: https://github.com/Zalexanninev15/ALP/blob/main/LICENSE
format PE GUI 4.0
entry start
include 'includes\win32a.inc'
ID_CPU = 101
section '.data' data readable writeable
mask db 'Vendor ID: %s',13,10,'CPU: %s',0
buff1 rb 49
buff2 rb 13
buff rb 100h
section '.code' code readable executable
sta... |
examples/filelock.adb | ytomino/drake | 33 | 11488 | <reponame>ytomino/drake<gh_stars>10-100
with Ada.Directories.Temporary;
with Ada.Streams.Stream_IO;
procedure filelock is
use Ada.Streams.Stream_IO;
Name : String := Ada.Directories.Temporary.Create_Temporary_File;
begin
Ada.Debug.Put (Name);
-- raising
declare
Step : Integer := 0;
File_1, File_2 : File_Type;
... |
regtests/util-serialize-io-json-tests.adb | My-Colaborations/ada-util | 0 | 1129 | <filename>regtests/util-serialize-io-json-tests.adb
-----------------------------------------------------------------------
-- serialize-io-json-tests -- Unit tests for JSON parser
-- Copyright (C) 2011, 2016, 2017, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.