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
source/oasis/program-elements-variant_parts.ads
reznikmm/gela
0
27451
<reponame>reznikmm/gela<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Definitions; with Program.Lexical_Elements; with Program.Elements.Identifiers; with Program.Elements.Variants; pa...
tests/lua_examples/lua_sin_table.asm
fengjixuchui/sjasmplus
220
164373
; Sinus table generator - using lua script, because sjasmplus itself does not have ; floating point arithmetics and sin/cos/... functions. org $8000 sin_table: ; check listing file to see resulting table bytes lua allpass ; EVERY pass must emit the machine code to not affect following labels ...
termx_terminal.scpt
afterdesign/MacTerminal
45
2002
<filename>termx_terminal.scpt<gh_stars>10-100 on run argv if count of argv is 1 then set folderName to item 1 of argv end if if folderName is missing value then return end if tell application "Terminal" if not frontmost then activate delay (1) ...
programs/oeis/130/A130496.asm
neoneye/loda
22
173771
; A130496: Repetition of even numbers, with initial zeros, five times. ; 0,0,0,0,0,2,2,2,2,2,4,4,4,4,4,6,6,6,6,6,8,8,8,8,8,10,10,10,10,10,12,12,12,12,12,14,14,14,14,14,16,16,16,16,16,18,18,18,18,18,20,20,20,20,20,22,22,22,22,22,24,24,24,24,24,26,26,26,26,26,28,28,28,28,28,30,30,30 div $0,5 mul $0,2
libsrc/graphics/generic_console/respixl6.asm
jpoikela/z88dk
0
18079
; ; Generic pseudo graphics routines for text-only platforms ; ; Reset pixel at (x,y) coordinate. SECTION code_clib PUBLIC respixel .respixel defc NEEDunplot = 1 INCLUDE "pixel6.asm"
src/higher/circle.agda
pcapriotti/agda-base
20
12942
{-# OPTIONS --without-K #-} module higher.circle where open import higher.circle.core public open import higher.circle.properties public
cc4x86/tests/regressive/asm_listings/while__optimize_noregalloc.asm
artyompal/C-compiler
4
167151
<reponame>artyompal/C-compiler<gh_stars>1-10 .686 .model flat .xmm .code _test proc create_stack_frame mov dword24,0 label0000: mov dword4,dword24 inc dword24 cmp dword4,10 jge label0001 jmp label0000 label0001: ...
bb-runtimes/src/a-intnam__leon.ads
JCGobbi/Nucleo-STM32G474RE
0
657
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
internal/mini-quine.agda
JasonGross/lob
19
5797
<gh_stars>10-100 {-# OPTIONS --without-K #-} module mini-quine where open import common infixl 2 _▻_ infixl 3 _‘’_ infixr 1 _‘→’_ infixl 3 _‘’ₐ_ infixl 3 _w‘‘’’ₐ_ infixr 2 _‘∘’_ mutual data Context : Set where ε : Context _▻_ : (Γ : Context) → Type Γ → Context data Type : Context → Set where W : ∀ {Γ...
1-base/math/source/precision/float/pure/float_math-analysis.ads
charlie5/lace
20
13843
<reponame>charlie5/lace<gh_stars>10-100 with any_Math.any_Analysis; package float_Math.Analysis is new float_Math.any_Analysis; pragma Pure (float_Math.Analysis);
src/syscalls/ewok-syscalls-alarm.adb
mfkiwl/ewok-kernel-security-OS
65
12217
<reponame>mfkiwl/ewok-kernel-security-OS -- -- Copyright 2018 The wookey project team <<EMAIL>> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtai...
org.sourcepit.antlr4.eclipse.lang.tests/JavadocLexer.g4
berndv/antlr4-eclipse
0
7192
lexer grammar JavadocLexer; @header { /** * Copyright 2015 <NAME> and others. * * 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 * * U...
reverse_engineering/grammars/Protobuf3.g4
Vitalii4as/Protobuf
0
6036
<reponame>Vitalii4as/Protobuf<filename>reverse_engineering/grammars/Protobuf3.g4 grammar Protobuf3; proto : (LINE_COMMENT | COMMENT)* syntax ( importStatement | packageStatement | optionStatement | topLevelDef | emptyStatement | COMMENT | LINE_COMMENT )* ; // Sy...
programs/oeis/096/A096943.asm
neoneye/loda
22
29897
<reponame>neoneye/loda<filename>programs/oeis/096/A096943.asm ; A096943: Sixth column of (1,5)-Pascal triangle A096940. ; 5,26,81,196,406,756,1302,2112,3267,4862,7007,9828,13468,18088,23868,31008,39729,50274,62909,77924,95634,116380,140530,168480,200655,237510,279531,327236,381176,441936,510136,586432,671517,766122,871...
sys/boot/setlen.asm
olifink/smsqe
0
28495
<reponame>olifink/smsqe ; Set the length of a concatenated boot file ; section main xdef boot_setlen ;+++ ; This processes the length table at the start of a concatenated boot file, ; finding the true length and adding this to all required addresses. ; ; d2 c u length of adjusted concatenate...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_21829_499.asm
ljhsiun2/medusa
9
82390
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %r14 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x4bd6, %r12 nop nop nop nop nop and %rsi, %rsi mov (%r12), %cx nop nop nop nop nop add %rcx, %rcx lea addresses_A_ht+0x27b6, %rsi lea addresses_UC_ht+0x86ae, %rdi nop nop...
src/cst_parser/CstParser.g4
jaksicstefan/repo_symaut
1
5370
<filename>src/cst_parser/CstParser.g4 parser grammar CstParser ; @header { package cst_gen; } options { tokenVocab = CstLexer ; } // -- O -- O -- O -- O -- O -- O -- O -- O -- O -- O -- O -- O -- O expression cst: expression EOF #CstExpr; // expression : primary ...
src/algebra/monoid/mset.agda
pcapriotti/agda-base
20
13509
<reponame>pcapriotti/agda-base<gh_stars>10-100 {-# OPTIONS --without-K #-} module algebra.monoid.mset where open import level open import algebra.monoid.core open import algebra.monoid.morphism open import algebra.semigroup open import equality.core open import hott.level module _ {i}(M : Set i) ⦃ mM : IsMonoid M ⦄ ...
2-a-whirlwind-tour/2-1-statics-exploring-states/2.1.2.als
freddiefujiwara/software-abstractions
0
1404
module tour/addressBook1 sig Name, Addr {} sig Book { addr: Name -> lone Addr } pred show (b:Book){ #b.addr > 1 some n: Name | #n.(b.addr) = 0 } run show for 3 but 1 Book
test-resources/ExamplesFromRoy/globals_example3.adb
hergin/ada2fuml
0
25354
package body Globals_Example3 is function Unrelated (The_I : Globals_Example1.Itype) return Globals_Example1.Itype is begin return 5; end Unrelated; end Globals_Example3;
Task/Remove-duplicate-elements/AppleScript/remove-duplicate-elements-1.applescript
LaudateCorpus1/RosettaCodeData
1
596
unique({1, 2, 3, "a", "b", "c", 2, 3, 4, "b", "c", "d"}) on unique(x) set R to {} repeat with i in x if i is not in R then set end of R to i's contents end repeat return R end unique
programs/oeis/281/A281899.asm
karttu/loda
1
11869
; A281899: a(n) = n + 6*floor(n/3). ; 0,1,2,9,10,11,18,19,20,27,28,29,36,37,38,45,46,47,54,55,56,63,64,65,72,73,74,81,82,83,90,91,92,99,100,101,108,109,110,117,118,119,126,127,128,135,136,137,144,145,146,153,154,155,162,163,164,171,172,173,180,181,182,189,190,191,198,199,200,207,208,209,216,217,218,225,226,227,234,235,...
m7/m7.asm
paulscottrobson/aquarius-chess
1
170231
; *************************************************************************************** ; *************************************************************************************** ; ; Name : m7.asm ; Author : <NAME> (<EMAIL>) ; Date : 15th October 2021 ; Purpose : M7 Main. ; ; **********************************...
masm/7_conver.asm
oceanwavechina/assembly
0
9971
<gh_stars>0 ; 这段代码是演示如何使用位运算进行大小写转换, ; 以及在代码中定义静态字符串的方法 assume cs:code,ds:data ; 定义数据段,开辟空间 data segment db 'BaSiC' ; 相当于 db 75h,6eh,49h,58h, 要把这个转为大写 db 'iNfoRMaTioN' ; 把这个转为小写 data ends code segment start: mov ax, data ; 数据段 mov dx, ax ; mov bx, 0 ; 数据指针重置...
45/runtime/rt/llcgasup.asm
minblock/msdos
0
100140
TITLE LLCGASUP - LowLevel CGA support (shared routines) ;*** ; LLCGASUP - LowLevel CGA support ; ; Copyright <C> 1987, 1988, Microsoft Corporation ; ;Purpose: ; This module contains support routines extracted from LLCGA.ASM ; which are shared by CGA and VGA functions. ; ;***********************************************...
programmes/ntz.asm
BCedric/Processeur-Nono
0
18291
<reponame>BCedric/Processeur-Nono<gh_stars>0 .data .text .globl __start __start: li $t0 32 #f020 li $t1 0 #f100 li $t3 1 #f301 li $t4 0 #400 sub $t2 $t0 $t3 #9203 not $t0 $t0 #c00x and $t0 $t0 $t2 #b002 while: beq $t0 $t4 endW #2043 add $t1 $t1 $t3 #8113 sra $t0 $t0 1 #e003 b while #1xx9 endW:...
oeis/138/A138458.asm
neoneye/loda-programs
11
170488
<gh_stars>10-100 ; A138458: a(n) = ((n-th prime)^6-(n-th prime)^4))/24. ; Submitted by <NAME> ; 2,27,625,4802,73205,199927,1002252,1954815,6156502,24754835,36940840,106827177,197803270,263247677,448930652,923186277,1757017345,2146105355,3768259627,5336453010,6304409502,10127021060,13620538127 seq $0,40 ; The prime num...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca.log_21829_459.asm
ljhsiun2/medusa
9
245257
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x14ed6, %r12 dec %r11 mov $0x6162636465666768, %r8 movq %r8, %xmm0 movups %xmm0, (%r12) nop cmp %r9, %r9 lea addresses_normal_ht+0xeed6, %rsi lea addresses_UC_ht+0x17b06, %...
src/impl/x86_64/boot/header.asm
jdadonut/noOS
0
87113
<gh_stars>0 section .multiboot_header header_start: dd 0xe85250d6 dd 0 ; prot mode 1386 dd header_end - header_start dd 0x100000000 - (0xe85250d6 + 0 + (header_end - header_start)) dw 0 dw 0 dw 8 header_end: ; Magic! :D
oeis/327/A327606.asm
neoneye/loda-programs
11
240486
<filename>oeis/327/A327606.asm ; A327606: Expansion of e.g.f. exp(x)*(1-x)*x/(1-2*x)^2. ; 0,1,8,69,712,8705,123456,1994293,36163184,727518177,16081980760,387499155461,10108673620728,283851555270049,8536572699232592,273759055527114165,9325469762472018016,336282091434597013313,12797935594025234906664,51260920406338913869...
examples/zmq-examples-json_data.adb
persan/zeromq-Ada
33
23940
------------------------------------------------------------------------------- -- Copyright (C) 2020-2030, <EMAIL> -- -- -- -- Permission is hereby granted, free of charge, to any person obtaining a -- -- copy of this s...
projects/05x/hw/blink_x.asm
freespace/nand2tetris
20
101044
(INIT) @T0 M=0 (RESET_LOOP) @T0 M=!M // 16384 + 255 @16639 W=A (LOOP) // load value to write @T0 D=M // write to address stored in W A=W M=D // decrement W W=W-1 // we can't compute W-A b/c both are // in the ALU's Y line so put W into D D = W // is D(=W) > SCREEN? @SCREEN ...
libsrc/graphics/bee/fill.asm
jpoikela/z88dk
640
91618
<gh_stars>100-1000 SECTION code_clib PUBLIC fill PUBLIC _fill EXTERN w_pixeladdress EXTERN swapgfxbk EXTERN swapgfxbk1 EXTERN l_cmp INCLUDE "graphics/grafix.inc" ;.sline defs 320 * 2 * 3 ;.sline2 defs 320 * 2 * 3 .fill ._fill pop bc pop de ; y pop hl ; x push hl push de push bc ...
programs/oeis/179/A179020.asm
jmorken/loda
1
2585
<gh_stars>1-10 ; A179020: Doubled Thue-Morse sequence: the A010059 sequence replacing 0 with 0,0 and 1 with 1,1. ; 1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,1,1,0,0,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,1,1,0,0,0,0,1,1,1,1,0,0,0,0,1,1,0,0,1,1,1,1,0,0,1,1,0,0,0,0,1...
timewithtickets.asm
snowman789/xv6_scheduler
0
95631
_timewithtickets: file format elf32-i386 Disassembly of section .text: 00000000 <yield_forever>: #define MAX_CHILDREN 32 #define LARGE_TICKET_COUNT 100000 #define MAX_YIELDS_FOR_SETUP 100 __attribute__((noreturn)) void yield_forever() { 0: 55 push %ebp 1: 89 e5 mov ...
libsrc/_DEVELOPMENT/font/fzx/c/sccz80/fzx_string_extent_callee.asm
jpoikela/z88dk
640
23134
; uint16_t fzx_string_extent(struct fzx_font *ff, char *s) SECTION code_font SECTION code_font_fzx PUBLIC fzx_string_extent_callee EXTERN asm_fzx_string_extent fzx_string_extent_callee: pop hl pop de ex (sp),hl jp asm_fzx_string_extent
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-veboop.adb
orb-zhuchen/Orb
0
26266
<reponame>orb-zhuchen/Orb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
alloy4fun_models/trashltl/models/5/DWfZP8MSZNoFrbMBb.als
Kaixi26/org.alloytools.alloy
0
2144
open main pred idDWfZP8MSZNoFrbMBb_prop6 { all f : Trash | always f in Trash } pred __repair { idDWfZP8MSZNoFrbMBb_prop6 } check __repair { idDWfZP8MSZNoFrbMBb_prop6 <=> prop6o }
libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/asm_SMSlib_isr_mdpad.asm
jpoikela/z88dk
640
90608
<gh_stars>100-1000 ; ************************************************** ; SMSlib - C programming library for the SMS/GG ; ( part of devkitSMS - github.com/sverx/devkitSMS ) ; ************************************************** INCLUDE "SMSlib_private.inc" SECTION code_clib SECTION code_SMSlib PUBLIC asm_SMSlib_isr_md...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/ac3106a.ada
best08618/asylo
7
17654
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/ac3106a.ada<gh_stars>1-10 -- AC3106A.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/Ellumination.Protobuf.Antlr/Proto.g4
mwpowellhtx/Ellumination.Protobuf
0
6354
<filename>src/Ellumination.Protobuf.Antlr/Proto.g4 // http://github.com/tunnelvisionlabs/antlr4cs // http://github.com/antlr/antlr4/blob/master/doc/csharp-target.md#how-do-i-create-and-run-a-custom-listener // http://developers.google.com/protocol-buffers/docs/reference/proto2-spec // http://github.com/antlr/antlr4/blo...
ioq3/build/release-js-js/missionpack/game/g_main.asm
RawTechnique/quake-port
1
94526
<reponame>RawTechnique/quake-port data align 4 LABELV gameCvarTable address g_cheats address $54 address $55 byte 4 0 byte 4 0 byte 4 0 skip 4 byte 4 0 address $56 address $57 byte 4 68 byte 4 0 byte 4 0 skip 4 byte 4 0 address $58 address $59 byte 4 64 byte 4 0 byte 4 0 skip 4 address g_restarted address $60 address $...
_tests/trconvert/antlr2/asn1.g4
SKalt/Domemtech.Trash
16
5759
//************************************************************************* //********** PARSER DEFINITIONS //************************************************************************* grammar ASN; // Grammar Definitions module_definition : ( module_identifier) DEFINITIONS_KW ((EXPLICIT_KW |IMPLICIT_KW...
02_HelloWorldWindows.asm
mozdren/MASMPlayground
0
98189
<reponame>mozdren/MASMPlayground .386 .model flat, stdcall option casemap :none include d:\masm32\include\windows.inc include d:\masm32\include\kernel32.inc include d:\masm32\include\user32.inc includelib d:\masm32\lib\kernel32.lib includelib d:\masm32\lib\user32.lib .data HelloWorld db "Hello, World...
reflect-utils/src/main/antlr/com/slimgears/util/reflect/internal/TypeToken.g4
ymesika/utils
1
2927
<filename>reflect-utils/src/main/antlr/com/slimgears/util/reflect/internal/TypeToken.g4<gh_stars>1-10 grammar TypeToken; type: (referenceType) EOF; //primitiveType: 'boolean' | 'byte' | 'short' | 'int' | 'long' | 'float' | 'double' | 'char'; referenceType: classOrInterfaceType | typeVariable | arrayType; classOrInt...
Project-Einstein/src/E-Assembly/src/labs/lcd1.nasm
FelixLuciano/Elements-of-Computing-Systems
0
12341
; Arquivo: sw1.nasm ; Curso: Elementos de Sistemas ; Criado por: <NAME> ; Data: 4/2020 leaw $16384, %A movw %A, %D leaw $0, %A movw %D, (%A) LOOP: leaw $0, %A movw (%A), %D addw $1, %D, (%A) movw %D, %A movw $-1, (%A) leaw $LOOP, %A jmp nop
antlr4/FieldPath.g4
ojai/ojai-core
51
221
grammar FieldPath; options { language=Java; } @header { /** * Copyright (c) 2015 MapR, Inc. * * 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/LIC...
src/gen.ads
jquorning/dynamo
15
22508
<reponame>jquorning/dynamo ----------------------------------------------------------------------- -- gen -- Code Generator -- Copyright (C) 2009, 2010, 2011, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in comp...
libsrc/_DEVELOPMENT/font/fzx/c/sdcc_iy/fzx_glyph_width_callee.asm
meesokim/z88dk
0
95906
; uint16_t fzx_glyph_width_callee(struct fzx_font *ff, int c) SECTION code_font_fzx PUBLIC _fzx_glyph_width_callee, l0_fzx_glyph_width_callee EXTERN asm_fzx_glyph_width _fzx_glyph_width_callee: pop af pop hl pop bc push af l0_fzx_glyph_width_callee: ld a,c call asm_fzx_glyph_width ld l,...
src/Bisimilarity/Comparison.agda
nad/up-to
0
8556
------------------------------------------------------------------------ -- A comparison of the two definitions of bisimilarity ------------------------------------------------------------------------ {-# OPTIONS --sized-types #-} module Bisimilarity.Comparison where open import Equality.Propositional open import Lo...
programs/oeis/180/A180319.asm
karttu/loda
1
4398
; A180319: Total number of possible standard knight moves on an n X 2n chessboard, if the knight is placed anywhere ; 0,8,52,128,236,376,548,752,988,1256,1556,1888,2252,2648,3076,3536,4028,4552,5108,5696,6316,6968,7652,8368,9116,9896,10708,11552,12428,13336,14276,15248,16252,17288,18356,19456,20588,21752,22948,24176,25...
src/fltk-widgets-groups-tiled.ads
micahwelf/FLTK-Ada
1
25974
<reponame>micahwelf/FLTK-Ada package FLTK.Widgets.Groups.Tiled is type Tiled_Group is new Group with private; type Tiled_Group_Reference (Data : not null access Tiled_Group'Class) is limited null record with Implicit_Dereference => Data; package Forge is function Create ...
oeis/182/A182139.asm
neoneye/loda-programs
11
20891
; A182139: Inverse Moebius transform of A061142. ; Submitted by <NAME> ; 1,3,3,7,3,9,3,15,7,9,3,21,3,9,9,31,3,21,3,21,9,9,3,45,7,9,15,21,3,27,3,63,9,9,9,49,3,9,9,45,3,27,3,21,21,9,3,93,7,21,9,21,3,45,9,45,9,9,3,63,3,9,21,127,9,27,3,21,9,27,3,105,3,9,21,21,9,27,3,93,31,9,3,63,9,9,9,45,3,63,9,21,9,9,9,189,3,21,21,49 add...
sway-core/tests/ir_to_asm/enum_in_storage_read.asm
FuelLabs/sway
75
91716
.program: ji i4 noop DATA_SECTION_OFFSET[0..32] DATA_SECTION_OFFSET[32..64] lw $ds $is 1 add $$ds $$ds $is lw $r1 $fp i73 ; load input function selector lw $r0 data_7 ; load fn selector for comparison eq $r0 $r1 $r0 ; function selector comparison jnzi $r0 i11 ...
scripts/route-screen.applescript
woailuoli993/dotfile
0
4230
-- -- Created by: v1c77 -- Created on: 2018/7/21 -- -- Copyright © 2018 v1c77, All Rights Reserved -- use AppleScript version "2.7" -- Yosemite (10.10) or later use scripting additions tell application "System Preferences" quit delay 0.5 launch activate set current pane to pane "com.apple.preference.displays" ...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1244.asm
ljhsiun2/medusa
9
167180
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r8 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1612, %r8 nop nop and $3774, %rdx movw $0x6162, (%r8) nop nop and %r8, %r8 lea addresses_WC_ht+0x16553, %r12 nop nop cmp %rbp, %rbp mov (%r12), %r10 nop and...
server/src/main/antlr/TypeSignatures.g4
freamdx/crate
1
7608
<filename>server/src/main/antlr/TypeSignatures.g4 /* * Licensed to Crate.io GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Vers...
libsrc/_DEVELOPMENT/alloc/obstack/c/sdcc_iy/obstack_align_to_callee.asm
meesokim/z88dk
0
1186
<filename>libsrc/_DEVELOPMENT/alloc/obstack/c/sdcc_iy/obstack_align_to_callee.asm<gh_stars>0 ; int obstack_align_to_callee(struct obstack *ob, size_t alignment) SECTION code_alloc_obstack PUBLIC _obstack_align_to_callee _obstack_align_to_callee: pop af pop hl pop bc push af INCLUDE "alloc/obstac...
Task/Sort-using-a-custom-comparator/AppleScript/sort-using-a-custom-comparator.applescript
LaudateCorpus1/RosettaCodeData
1
1147
<reponame>LaudateCorpus1/RosettaCodeData use framework "Foundation" -- SORTING LISTS OF ATOMIC (NON-RECORD) DATA WITH A CUSTOM SORT FUNCTION -- In sortBy, f is a function from () to a tuple of two parts: -- 1. a function from any value to a record derived from (and containing) that value -- The base value should be ...
tests/data/src/test.asm
protoCall7/PZ80emu
1
163400
; ; test.asm ; org 0x0040 ; Variables x: equ 5 y: equ 7 ; code ld a,x ; copy 5 into the A register ld b,y ; copy 7 into the B register add a,b ; add the A and B registers (result stored to A) ld (0x0010),a ; save the result to RAM at 0x0010 jp 0x0000 ; loop forever
tests/tkmrpc-mock.ads
DrenfongWong/tkm-rpc
0
10053
-- -- Copyright (C) 2013 <NAME> <<EMAIL>> -- Copyright (C) 2013 <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 ...
test/Succeed/Issue211.agda
cruhland/agda
1,989
14836
{-# OPTIONS --universe-polymorphism #-} -- These examples should now go through with no unsolved metavariables. -- They work since the conversion checker is a little less prone to -- abort checking when there are constraints. In particular if the -- constraints only affect the sorts of the things compared, then it kee...
battleformulas.als
blockchainhelppro/Bitcoin-Escrow-Application
0
753
<filename>battleformulas.als ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;; battleformulas.als ;;;; Last updated: 03/27/18 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Although it may seem ridiculous to have ; so many damage formulas please do not ; remove them from the bot. ; By default melee us...
Library/Kernel/LMem/lmemGCNList.asm
steakknife/pcgeos
504
165718
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: Kernel/LMem FILE: lmemNotifyList.asm AUTHOR: <NAME> GLOBAL ROUTINES: Name Description ---- ----------- GCNListAdd add optr to kernel GCN...
programs/oeis/047/A047532.asm
jmorken/loda
1
103616
<gh_stars>1-10 ; A047532: Numbers that are congruent to {0, 2, 3, 7} mod 8. ; 0,2,3,7,8,10,11,15,16,18,19,23,24,26,27,31,32,34,35,39,40,42,43,47,48,50,51,55,56,58,59,63,64,66,67,71,72,74,75,79,80,82,83,87,88,90,91,95,96,98,99,103,104,106,107,111,112,114,115,119,120,122,123 mov $1,$0 add $0,25 div $0,2 mov $2,$0 mul $0...
oeis/022/A022120.asm
neoneye/loda-programs
11
165897
; A022120: Fibonacci sequence beginning 3, 7. ; Submitted by <NAME>(s3) ; 3,7,10,17,27,44,71,115,186,301,487,788,1275,2063,3338,5401,8739,14140,22879,37019,59898,96917,156815,253732,410547,664279,1074826,1739105,2813931,4553036,7366967,11920003,19286970,31206973,50493943,81700916,132194859 mov $1,1 lpb $0 sub $0,1 ...
test/Fail/WithoutK9.agda
KDr2/agda
0
16115
<gh_stars>0 {-# OPTIONS --cubical-compatible --show-implicit #-} -- {-# OPTIONS -v tc.data:100 #-} module WithoutK9 where module Eq {A : Set} (x : A) where data _≡_ : A → Set where refl : _≡_ x open Eq module Bad {A : Set} {x : A} where module E = Eq x weak-K : {y : A} (p q : E._≡_ y) (α β : p ≡ q) → α ...
src/constraint_engine.adb
alex-87/ConstraintEngine
0
26082
pragma Ada_2012; with ADA.Containers.Vectors; package body Constraint_Engine is ------------------- -- Find_Solution -- ------------------- function Find_Solution (Self : in Type_Problem) return Type_Problem is Next_P : Type_Problem := Self; Inc_Next : Boolean := False; ...
programs/oeis/183/A183873.asm
karttu/loda
1
4306
; A183873: n-1+ceiling((1/5)n^2); complement of A183872. ; 1,2,4,7,9,13,16,20,25,29,35,40,46,53,59,67,74,82,91,99,109,118,128,139,149,161,172,184,197,209,223,236,250,265,279,295,310,326,343,359,377,394,412,431,449,469,488,508,529,549,571,592,614,637,659,683,706,730,755,779,805,830,856,883,909,937,964,992,1021,1049,1079...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt12.adb
best08618/asylo
7
28448
-- { dg-do run } -- { dg-options "-O2" } with Opt12_Pkg; use Opt12_Pkg; procedure Opt12 is Static_Target : Static_Integer_Subtype; begin Static_Target := Static_Integer_Subtype(Fix_Half); if not Equal(Static_Target, 1) then raise Program_Error; end if; end Opt12;
Borland/CBuilder5/Source/RTL/source/math/fabs.asm
TrevorDArcyEvans/DivingMagpieSoftware
1
926
<filename>Borland/CBuilder5/Source/RTL/source/math/fabs.asm ;[]-----------------------------------------------------------------[] ;| FABS.ASM -- absolute value | ;[]-----------------------------------------------------------------[] ; ; C/C++ Run Time Library - Version 10....
Library/GrObj/UI/uiGradientFillControl.asm
steakknife/pcgeos
504
174465
<filename>Library/GrObj/UI/uiGradientFillControl.asm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: uiGradientFillControl.asm AUTHOR: <NAME> REVISION HISTORY: Name Date Description ---- ----...
oeis/028/A028181.asm
neoneye/loda-programs
11
246968
<filename>oeis/028/A028181.asm ; A028181: Expansion of 1/((1-5x)(1-7x)(1-8x)(1-10x)). ; Submitted by <NAME> ; 1,30,569,8730,118461,1484910,17624209,201130050,2229604421,24178830390,257814842649,2713159309770,28259514317581,291954572713470,2996779685401889,30602208691495890,311213315402041941 mov $1,1 mov $2,$0 mov $3,...
oeis/015/A015169.asm
neoneye/loda-programs
11
176449
<filename>oeis/015/A015169.asm<gh_stars>10-100 ; A015169: Sum of (Gaussian) q-binomial coefficients for q=-6. ; Submitted by <NAME> ; 1,2,-3,64,779,84438,-5889407,3927676076,1656518279511,6600296688949762,-16680688702495266643,399061333268551884767064,6052502892664968398280203779,868681765846316883728697065421998,-7904...
menu.asm
hongfz16/AssemblyPlayStation
2
24217
<reponame>hongfz16/AssemblyPlayStation<filename>menu.asm [bits 32] section .text call main ret extern clear_screen extern kprint_at extern getchar extern register_kbd_callback extern register_tim_callback extern port_byte_out extern port_byte_in main: reg_for_kbd: mov eax, kbd_callback_menu push eax ...
resolver.adb
SMerrony/dgemua
2
26654
<reponame>SMerrony/dgemua<filename>resolver.adb -- MIT License -- Copyright (c) 2021 <NAME> -- 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 limitat...
applescripts/filter-albums.applescript
Tyilo/play-song
0
659
<filename>applescripts/filter-albums.applescript<gh_stars>0 -- filters albums by the typed query -- -- load workflow configuration do shell script "bash ./compile-config.sh" set config to load script POSIX file ((do shell script "pwd") & "/config.scpt") -- constructs album result list as XML string on getAlbumResultL...
src/arch/x86/boot/boot.asm
NightfallDM/xbook2
0
243992
<filename>src/arch/x86/boot/boot.asm %include "const.inc" org 0x7c00 [bits 16] align 16 entry: mov ax, cs mov ds, ax mov ss, ax mov sp, 0 mov ax, 0xb800 mov es, ax ;clean screan clean_screen: mov ax, 0x02 int 0x10 ;show 'BOOT' mov byte [es:0],'B' mov byte [es:1],0x07 mov byte [es:2],...
Firmware/Libraries/STM8_SelfTest_Library/src/stm8_stl_cpurun_IAR.asm
SergeiSOficial/AESTOUS_STM8
0
13142
;******************* (C) COPYRIGHT 2017 STMicroelectronics ******************** ; File Name : stm8_stl_cpurun_IAR.s ; Author : MCD Application Team ; Author : STMicroelectronics - MCD Application Team ; Version : V2.0.0 ; Date : Dec-2017 ;***********************...
source/jni/u2/forest/routines.asm
Falken42/SecondReality
9
87671
<reponame>Falken42/SecondReality .MODEL large,PASCAL .CODE .386 ; dx = Bground seg ; ax = pos seg ; si = pos ofs ; cx = font seg ; bx = font ofs Putrouts PROC FAR PUBLIC Putrouts push ds ...
maps/TradeCenter.asm
AtmaBuster/pokecrystal16-493-plus
1
24115
<gh_stars>1-10 object_const_def ; object_event constants const TRADECENTER_CHRIS1 const TRADECENTER_CHRIS2 TradeCenter_MapScripts: db 2 ; scene scripts scene_script .InitializeTradeCenter ; SCENE_DEFAULT scene_script .DummyScene ; SCENE_FINISHED db 1 ; callbacks callback MAPCALLBACK_OBJECTS, .SetWhichChris ....
Cubical/Algebra/Monoid/Instances/Nat.agda
thomas-lamiaux/cubical
0
10585
{-# OPTIONS --safe #-} module Cubical.Algebra.Monoid.Instances.Nat where open import Cubical.Foundations.Prelude open import Cubical.Data.Nat open import Cubical.Algebra.Monoid NatMonoid : Monoid ℓ-zero fst NatMonoid = ℕ MonoidStr.ε (snd NatMonoid) = 0 MonoidStr._·_ (snd NatMonoid) = _+_ MonoidStr.isMonoid (snd Na...
oeis/052/A052931.asm
neoneye/loda-programs
11
8865
; A052931: Expansion of 1/(1 - 3*x^2 - x^3). ; Submitted by <NAME> ; 1,0,3,1,9,6,28,27,90,109,297,417,1000,1548,3417,5644,11799,20349,41041,72846,143472,259579,503262,922209,1769365,3269889,6230304,11579032,21960801,40967400,77461435,144863001,273351705,512050438,964918116,1809503019,3406804786,6393427173,12029917377,2...
work/ff3_field_render_x.asm
ypyp-pprn-mnmn/ff3_hack
4
247259
<filename>work/ff3_field_render_x.asm<gh_stars>1-10 ; encoding: utf-8 ; ff3_field_render_x.asm ; ; description: ; implementation of optimzied renderer code ; ;================================================================================================== .ifdef _FEATURE_DEFERRED_RENDERING ....
Transynther/x86/_processed/NC/_st_zr_un_4k_/i9-9900K_12_0xa0.log_21829_54.asm
ljhsiun2/medusa
9
89169
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1063e, %rsi lea addresses_A_ht+0x16064, %rdi clflush (%rdi) sub %rdx, %rdx mov $125, %rcx rep movsq nop nop add %r15, %r15 lea addresses_normal_ht+0x14c24, %rsi lea addresses_WC_ht+0xc...
FormalAnalyzer/models/apps/HallLightWelcomeHome.als
Mohannadcse/IoTCOM_BehavioralRuleExtractor
0
3983
module app_HallLightWelcomeHome open IoTBottomUp as base open cap_runIn open cap_now open cap_presenceSensor open cap_contactSensor open cap_switch one sig app_HallLightWelcomeHome extends IoTApp { people : some cap_presenceSensor, sensors : some cap_contactSensor, lights : one cap_switch, } { rule...
Transynther/x86/_processed/NC/_st_zr_un_/i3-7100_9_0x84_notsx.log_1457_1174.asm
ljhsiun2/medusa
9
11043
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x185eb, %rsi lea addresses_A_ht+0xd78b, %rdi nop sub %r11, %r11 mov $50, %rcx rep movsw xor $688, %r12 lea addresses_WT_ht+0x1ceeb, %r8 nop cmp $59600, %rsi movb (%r8), %r1...
bb-runtimes/src/s-bbsuti__ppc.adb
JCGobbi/Nucleo-STM32G474RE
0
25761
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
test/Succeed/PropSquash.agda
asr/eagda
1
12204
{-# OPTIONS --enable-prop #-} data Squash {ℓ} (A : Set ℓ) : Prop ℓ where squash : A → Squash A squash-elim : ∀ {ℓ₁ ℓ₂} (A : Set ℓ₁) (P : Prop ℓ₂) → (A → P) → Squash A → P squash-elim A P f (squash x) = f x
Rings/Homomorphisms/Image.agda
Smaug123/agdaproofs
4
14965
<reponame>Smaug123/agdaproofs {-# OPTIONS --safe --warning=error --without-K #-} open import LogicalFormulae open import Setoids.Setoids open import Sets.EquivalenceRelations open import Rings.Definition open import Rings.Homomorphisms.Definition module Rings.Homomorphisms.Image {a b c d : _} {A : Set a} {B : Set c}...
oeis/261/A261273.asm
neoneye/loda-programs
11
26100
; A261273: Take the list of positive rationals {R(n): n>=1} in the order defined by Calkin and Wilf (Recounting the Rationals, 1999); a(n) = denominator of R(prime(n)). ; Submitted by <NAME>(s2) ; 2,1,2,1,2,3,4,3,2,4,1,7,8,5,2,8,4,5,5,4,11,3,8,12,9,12,5,8,11,10,1,6,14,9,18,7,13,11,8,18,12,19,2,11,16,7,13,3,10,17,18,4,1...
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xa0_notsx.log_21829_265.asm
ljhsiun2/medusa
9
179919
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x5016, %rsi lea addresses_WC_ht+0x3b16, %rdi nop nop nop nop nop add $64571, %r11 mov $45, %rcx rep movsb nop nop cmp $47467, %rbp lea addresses_...
src/Categories/Category/Monoidal/Symmetric.agda
MirceaS/agda-categories
0
12196
<filename>src/Categories/Category/Monoidal/Symmetric.agda {-# OPTIONS --without-K --safe #-} open import Categories.Category open import Categories.Category.Monoidal module Categories.Category.Monoidal.Symmetric {o ℓ e} {C : Category o ℓ e} (M : Monoidal C) where open import Level open import Data.Product using (Σ;...
awa/src/awa-commands-drivers.ads
twdroeger/ada-awa
81
24403
<reponame>twdroeger/ada-awa<filename>awa/src/awa-commands-drivers.ads<gh_stars>10-100 ----------------------------------------------------------------------- -- awa-commands-drivers -- Driver for AWA commands for server or admin tool -- Copyright (C) 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under t...
libsrc/spectrum/zxmmc/mmc_init.asm
andydansby/z88dk-mk2
1
166039
<filename>libsrc/spectrum/zxmmc/mmc_init.asm<gh_stars>1-10 ; ; ; ZX Spectrum ZXMMC specific routines ; code by <NAME> ; ported to z88dk by <NAME> - Feb 2010 ; ; $Id: mmc_init.asm,v 1.1 2010/03/12 15:21:14 stefano Exp $ ; ; ;----------------------------------------------------------------------------------------- ; ...
source/oasis/program-elements-enumeration_representation_clauses.ads
optikos/oasis
0
22038
<filename>source/oasis/program-elements-enumeration_representation_clauses.ads -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Elements.Representation_Clauses; with Program.Lexical_Eleme...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/inline3_pkg.adb
best08618/asylo
7
19306
package body Inline3_Pkg is procedure Test (I : Integer) is function F (J : Integer) return Integer is begin return I - J; end; begin if I /= F (I) then raise Program_Error; end if; end; end Inline3_Pkg;
Transynther/x86/_processed/NONE/_st_zr_un_/i9-9900K_12_0xca.log_21829_570.asm
ljhsiun2/medusa
9
4767
<filename>Transynther/x86/_processed/NONE/_st_zr_un_/i9-9900K_12_0xca.log_21829_570.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xe9f0, %rbp nop nop xor %r8, %r8 and $0xffffffffffffffc0, %rbp vmovntdqa (%rbp...
PVPokeMini/PokeMini/pokemini-code/dev-misc/examples/framebuffer/framebuffer.asm
DaddyCal/Provenance
0
9508
<reponame>DaddyCal/Provenance<filename>PVPokeMini/PokeMini/pokemini-code/dev-misc/examples/framebuffer/framebuffer.asm .include "pm_libs/pm_init.s" pm_header "TestFramebuf", IRQ_KEY_POWER, 0 ; Shutdown down when power key pressed irq_key_power: cint CINT_SHUTDOWN main: ; Enable interrupts enable_irqs IRQ_KEY_P...
Data/List/Sorting/InsertionSort.agda
Lolirofle/stuff-in-agda
6
1648
import Lvl open import Data.Boolean open import Type module Data.List.Sorting.InsertionSort {ℓ} {T : Type{ℓ}} (_≤?_ : T → T → Bool) where open import Data.List import Data.List.Functions as List open import Data.List.Sorting.Functions(_≤?_) insertion-sort : List(T) → List(T) insertion-sort = List.foldᵣ ins...