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
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c94001e.ada
best08618/asylo
7
6655
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c94001e.ada -- C94001E.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 -- unlimit...
firmware/kernal/keyboard.asm
QuorumComp/hc800
2
172067
<reponame>QuorumComp/hc800<filename>firmware/kernal/keyboard.asm INCLUDE "lowlevel/hc800.i" INCLUDE "lowlevel/memory.i" INCLUDE "lowlevel/rc800.i" INCLUDE "lowlevel/scancodes.i" INCLUDE "stdlib/stream.i" INCLUDE "keyboard.i" MATRIX_SIZE EQU 128/8 RSRESET key_Ascii RB 1 key_Counter RB 1 key_SIZEOF RB 0...
tlsf/src/tlsf-block-types.adb
vasil-sd/ada-tlsf
3
569
<filename>tlsf/src/tlsf-block-types.adb<gh_stars>1-10 pragma Ada_2012; with Bits; with BitOperations.Search.Axiom; with BitOperations.Search.Axiom.Most_Significant_Bit; package body TLSF.Block.Types with SPARK_Mode, Pure, Preelaborate is package Bits_Size is new Bits(Size_Bits); use Bits_Size; function To_Size...
src/messages.ads
thindil/steamsky
80
18405
-- Copyright 2016-2021 <NAME> -- -- This file is part of Steam Sky. -- -- Steam Sky is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) a...
oeis/008/A008473.asm
neoneye/loda-programs
11
10647
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A008473: If n = Product (p_j^k_j) then a(n) = Product (p_j + k_j). ; Submitted by <NAME> ; 1,3,4,4,6,12,8,5,5,18,12,16,14,24,24,6,18,15,20,24,32,36,24,20,7,42,6,32,30,72,32,7,48,54,48,20,38,60,56,30,42,96,44,48,30,72,48,24,9,21,72,56,54,18,72,40,80,90,60,96,62,96,40,8,8...
openal-context-capture.adb
io7m/coreland-openal-ada
1
26805
<reponame>io7m/coreland-openal-ada<filename>openal-context-capture.adb<gh_stars>1-10 with Ada.IO_Exceptions; with Interfaces.C; with OpenAL.ALC_Thin; with OpenAL.Thin; with System; package body OpenAL.Context.Capture is package C renames Interfaces.C; -- -- Close_Device -- procedure Close_Device (Device : ...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce2402a.ada
best08618/asylo
7
17956
-- CE2402A.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 contained herein. -- Unlimit...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_5397_1143.asm
ljhsiun2/medusa
9
95096
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x7d1f, %r8 xor %rdi, %rdi mov $0x6162636465666768, %r15 movq %r15, %xmm2 movups %xmm2, (%r8) nop sub %rax, %rax lea addresses_D_ht+0xe61f, %rbx clflush (%rbx) no...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_142.asm
ljhsiun2/medusa
9
3504
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r14 push %r9 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x3e68, %r9 nop nop nop nop sub %r11, %r11 movl $0x61626364, (%r9) and %r14, %r14 lea addresses_WC_ht+0x17bb8, %rsi lea addresses_A_ht+0xfba4, %rd...
Appl/BigCalc/bigcalcHolder.asm
steakknife/pcgeos
504
167838
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: bigcalcHolder.asm AUTHOR: <NAME>, Jun 17, 1992 ROUTINES: Name Description ---- ----------- INT PCFHolderBringPCFToTopCB looks f...
Ada/items.adb
yangyangisyou/GildedRose-Refactoring-Kata
2,201
15963
<reponame>yangyangisyou/GildedRose-Refactoring-Kata with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package body Items is function Integer_Image(Self : in Integer) return String is Img : constant String := Integer'Image(Self); begin if Self < 0 then return Img; else return Img(2 .. I...
coverage/PENDING_SUBMIT/amdvlk/0619-COVERAGE-instruction-simplify-1258/work/variant/1_spirv_asm/shader.frag.asm
asuonpaa/ShaderTests
0
95950
<reponame>asuonpaa/ShaderTests<gh_stars>0 ; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 10 ; Bound: 63 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %4 "main" %11 ...
quicksort.asm
retq/ASMWorks
0
24270
<gh_stars>0 myss SEGMENT PARA STACK 'MYSS' DW 180 DUP(?) myss ENDS myds SEGMENT PARA 'MYDS' DIZI DW 56, 197, 130, 41, 51, 0, 48 dw 193, 27, 149, 144, 223, 167, 169 dw 246, 134, 45, 156, 252, 4, 224, 16 dw 206, 209, 255, 167, 164, 20, 109, 85 dw 154, 64, 248, 66, 205, 33, 190, 49, 163 dw 53, 125, 129, 73, 227, 59, ...
src/main/antlr4/net/tarilabs/aytb/Bot.g4
tarilabs/quarkus-aytb
0
6822
grammar Bot; parse : ( commands | . )* EOF ; commands: command+ ; command: rgb_command | color_command ; rgb_command: SRGB HASH? rgb=HEX; color_command: SCOLOR color=WORD; SRGB : FSLASH R G B ; SCOLOR : FSLASH C O L O R ; HEX : HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGI...
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_1288.asm
ljhsiun2/medusa
9
12424
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xeddd, %r15 cmp $3178, %r10 movb (%r15), %r14b nop nop nop inc %rdi lea addresses_WC_ht+0xa2dd, %r14 clflush (%r14) nop nop nop dec %rdx movl $0x61626364, (%r14) nop nop nop ...
test/Fail/NonCopatternInstance.agda
dxts/agda2hs
1
4155
<filename>test/Fail/NonCopatternInstance.agda<gh_stars>1-10 module Fail.NonCopatternInstance where record HasId (a : Set) : Set where field id : a → a open HasId ⦃ ... ⦄ {-# COMPILE AGDA2HS HasId class #-} data Unit : Set where MkUnit : Unit {-# COMPILE AGDA2HS Unit #-} instance UnitHasId : HasId Unit Un...
src/main/antlr/CommandExecutionCtxLexer.g4
MarkL4YG/core-framework
8
4600
lexer grammar CommandExecutionCtxLexer; fragment IDENTIFIER : [a-zA-Z0-9]+; fragment DASH : '-' ; fragment EQ : '='; fragment SAFECODEPOINT : ~ ["\\\u0000-\u001F] ; fragment SAFECODEPOINT_PARAM : ~ ["\\\u0000-\u001F -]; fragment ESC: '\\'; WHITESPACE: [ \t\n\r]+; ARGUMENT_HEAD_EQ: DASH DASH? IDENTIFIER EQ; ...
oeis/267/A267247.asm
neoneye/loda-programs
11
22110
; A267247: Decimal representation of the n-th iteration of the "Rule 165" elementary cellular automaton starting with a single ON (black) cell. ; Submitted by <NAME>(s2) ; 1,2,14,42,254,762,3822,10922,65534,196602,983022,2817962,16711422,50002682,250539758,715827882,4294967294,12884901882,64424509422,184683593642,10952...
packaging/osx/res/finder_layout.scpt
emmahonkamaa/roman
0
2420
<filename>packaging/osx/res/finder_layout.scpt tell application "Finder" tell disk "Roman" open set theX to 300 set theY to 200 set theW to 760 set theH to 480 set theX2 to (theX + theW) set theY2 to (theY + theH) set theI1X to 200 set theI2X to (theW - theI1X) set theIY to 20...
so/overlay/src/overlay3.asm
bmnascimento/von-neumann-simulator
0
104359
@ 300 k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff k ff...
bddisasm_test/basic/misc_16.asm
andreaswimmer/bddisasm
675
101605
<reponame>andreaswimmer/bddisasm bits 16 daa das aaa aas aam 100 aad 100 bound ax, [ebx + esi] bound eax, [ebx + esi] arpl [bx], ax arpl [ebx], ax nop pause clc cmc stc cld std cli sti cbw cwde c...
programs/oeis/051/A051062.asm
karttu/loda
1
246705
<filename>programs/oeis/051/A051062.asm ; A051062: a(n) = 16*n + 8. ; 8,24,40,56,72,88,104,120,136,152,168,184,200,216,232,248,264,280,296,312,328,344,360,376,392,408,424,440,456,472,488,504,520,536,552,568,584,600,616,632,648,664,680,696,712,728,744,760,776,792,808,824,840 mov $1,$0 mul $1,16 add $1,8
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_4087_1720.asm
ljhsiun2/medusa
9
81515
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r9 push %rax push %rbp push %rsi lea addresses_UC_ht+0x13d4b, %r11 dec %rsi movl $0x61626364, (%r11) nop nop nop nop nop and %rax, %rax lea addresses_WT_ht+0x9aab, %rsi nop nop and $3270, %r12 mov $0x6162636465666...
arch/ARM/STM32/svd/stm32wb55x/stm32_svd-rcc.ads
morbos/Ada_Drivers_Library
2
17
-- 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.RCC is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR_MSIRANGE_Field is ...
lab_task-3.asm
IftekharMohammad/Computer-Organization-and-Architecture-Lab-Task
0
7493
<filename>lab_task-3.asm .MODEL SMALL .STACK 100H .DATA QUES DB "ENTER A HEX DIGIT: $" PROMPT DB "IN DECIMAL IT IS: $" INITIAL DB ? .CODE MAIN PROC MOV AX,@DATA MOV DS,AX MOV AH,9 LEA DX,QUES INT 21H MOV AH,1 INT 21H ;INPUT IN INITIAL MOV INITIAL,AL ...
Driver/IFS/RFSD/rfsdNotify.asm
steakknife/pcgeos
504
87355
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: RFSD FILE: rfsdNotify.asm AUTHOR: <NAME>, Jun 8, 1993 REVISION HISTORY: Name Date Description ---- ---- ----------- atw 6/ 8/93 Initial revision DESCRIP...
src/main/fragment/mos6502-common/_stackpushword_=vbuaa.asm
jbrandwood/kickc
2
13147
<gh_stars>1-10 tax lda #0 pha txa pha
libsrc/_DEVELOPMENT/string/c/sccz80/strlcat.asm
Frodevan/z88dk
640
246955
; size_t strlcat(char * restrict s1, const char * restrict s2, size_t n) SECTION code_clib SECTION code_string PUBLIC strlcat EXTERN asm_strlcat strlcat: IF __CPU_GBZ80__ | __CPU_INTEL__ ld hl,sp+2 ld c,(hl) inc hl ld b,(hl) inc hl ld e,(hl) inc hl ld d,(hl) inc hl ld a,(hl+) ld h,...
src/interrupts.asm
BlockoS/up-18
3
80261
<gh_stars>1-10 ;---------------------------------------------------- ; interupts.asm : interruption vectors ; ; (c) 2007 Vincent '<NAME> ; ; Interruption vectors for each of the pce ; interruptions. ; ; LICENCE: not my fault if anything burns ; ;;-------------------------------------------------------------...
source/vampire-forms-selecting.ads
ytomino/vampire
1
3156
<filename>source/vampire-forms-selecting.ads<gh_stars>1-10 -- The Village of Vampire by YT, このソースコードはNYSLです package Vampire.Forms.Selecting is function Select_Form ( Query_Strings : Web.Query_Strings; Speeches_Per_Page : Tabula.Villages.Speech_Positive_Count'Base) return Root_Form_Type'Class; end Vampire.For...
libsrc/_DEVELOPMENT/adt/p_forward_list/c/sccz80/p_forward_list_push_back_callee.asm
jpoikela/z88dk
640
27192
; void p_forward_list_push_back(p_forward_list_t *list, void *item) SECTION code_clib SECTION code_adt_p_forward_list PUBLIC p_forward_list_push_back_callee EXTERN asm_p_forward_list_push_back p_forward_list_push_back_callee: pop hl pop de ex (sp),hl jp asm_p_forward_list_push_back ; SDCC bridge ...
src/spread/sprites/tsym.asm
olifink/qspread
0
169449
<filename>src/spread/sprites/tsym.asm ;Sprite source code generated with EASYSOURCE V3.02 ; 1991/92 <NAME> Software ;************************************************ ; -> tsym <- 1993 Jul 02 23:13:56 section sprite xdef mes_tsym xref mes_zero mes_tsym sp1_tsym dc.w $0100,$0000 ;form, tim...
tests/bases-cargo-test_data-tests.ads
thindil/steamsky
80
9001
<reponame>thindil/steamsky -- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package Bases.Cargo.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Bases.Car...
case-studies/performance/verification/alloy/ppc/tests/safe321.als
uwplse/memsynth
19
26
module tests/safe321 open program open model /** PPC safe321 "SyncdWW Rfe DpdR Fre SyncdWW Rfe DpdR Fre" Cycle=SyncdWW Rfe DpdR Fre SyncdWW Rfe DpdR Fre Relax= Safe=Fre DpdR BCSyncdWW { 0:r2=x; 0:r5=y; 1:r2=y; 1:r4=z; 2:r2=z; 2:r5=a; 3:r2=a; 3:r4=x; } P0 | P1 | P2 | P3 ; lw...
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sdcc/tshc_cxy2saddr_callee.asm
jpoikela/z88dk
640
243917
<reponame>jpoikela/z88dk ; void *tshc_cxy2saddr(uchar x, uchar y) SECTION code_clib SECTION code_arch PUBLIC _tshc_cxy2saddr_callee EXTERN _zx_cxy2saddr_callee defc _tshc_cxy2saddr_callee = _zx_cxy2saddr_callee
bb-runtimes/src/s-textio__microbit.adb
JCGobbi/Nucleo-STM32G474RE
0
18441
<filename>bb-runtimes/src/s-textio__microbit.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-ngelfu.ads
djamal2727/Main-Bearing-Analytical-Model
0
15979
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-ngelfu.ads ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
src/Implicits/Substitutions/Term.agda
metaborg/ts.agda
4
2320
<gh_stars>1-10 open import Prelude hiding (subst) module Implicits.Substitutions.Term where open import Implicits.Syntax.Type open import Implicits.Syntax.Term open import Data.Fin.Substitution open import Data.Star as Star hiding (map) open import Data.Star.Properties open import Data.Vec hiding ([_]) open import ...
Task/Combinations/AppleScript/combinations.applescript
djgoku/RosettaCodeData
0
657
<gh_stars>0 on comb(n, k) set c to {} repeat with i from 1 to k set end of c to i's contents end repeat set r to {c's contents} repeat while my next_comb(c, k, n) set end of r to c's contents end repeat return r end comb on next_comb(c, k, n) set i to k set c's item i to (c's item i) + 1 repeat while (i ...
source/Compressor/log_table.asm
Vertver/Crinkler
739
167473
global LogTable global _LogTable section logtable data LogTable: _LogTable: dd 0,-49151,-45055,-42659,-40959,-39640,-38563,-37652,-36863,-36167,-35544,-34981,-34467,-33994,-33556,-33148 dd -32767,-32409,-32071,-31751,-31448,-31160,-30885,-30622,-30371,-30130,-29898,-29675,-29460,-29253,-29052,-28859...
programs/oeis/325/A325459.asm
neoneye/loda
22
245032
<reponame>neoneye/loda ; A325459: Sum of numbers of nontrivial divisors (greater than 1 and less than k) of k for k = 1..n. ; 0,0,0,0,1,1,3,3,5,6,8,8,12,12,14,16,19,19,23,23,27,29,31,31,37,38,40,42,46,46,52,52,56,58,60,62,69,69,71,73,79,79,85,85,89,93,95,95,103,104,108,110,114,114,120,122,128,130,132,132,142 trn $0,1 ...
programs/oeis/017/A017504.asm
neoneye/loda
22
459
; A017504: a(n) = (11*n + 9)^8. ; 43046721,25600000000,852891037441,9682651996416,62259690411361,281474976710656,1001129150390625,2992179271065856,7837433594376961,18509302102818816,40213853471634241,81573072100000000,156225851787813921,284936905588473856,498311414318121121,840221879151902976,1372062286687890625,217795...
agda/BTree/Complete/Alternative.agda
bgbianchi/sorting
6
12674
<filename>agda/BTree/Complete/Alternative.agda module BTree.Complete.Alternative {A : Set} where open import BTree {A} open import BTree.Equality {A} data _⋗_ : BTree → BTree → Set where ⋗lf : (x : A) → (node x leaf leaf) ⋗ leaf ⋗nd : {l r l' r' : BTree} → (x x' : A) ...
3rdParties/src/nasm/nasm-2.15.02/travis/test/movd.asm
blue3k/StormForge
1
100509
[BITS 32] movd mm0,eax movd mm0,[eax] movd [eax],mm0 movd eax,mm0 movd xmm0,eax movd xmm0,[eax] movd [eax],xmm0 movd eax,xmm0
programs/oeis/172/A172051.asm
karttu/loda
1
80892
; A172051: Decimal expansion of 1/999999. ; 0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0 mod $0,6 mov $1,$0 trn $1,4
oeis/226/A226132.asm
neoneye/loda-programs
11
171863
; A226132: Expansion of - c(-q) * c(q^2) / 9 in powers of q where c() is a cubic AGM theta function. ; Submitted by <NAME> ; 1,-1,3,-1,6,-3,8,-1,9,-6,12,-3,14,-8,18,-1,18,-9,20,-6,24,-12,24,-3,31,-14,27,-8,30,-18,32,-1,36,-18,48,-9,38,-20,42,-6,42,-24,44,-12,54,-24,48,-3,57,-31,54,-14,54,-27,72,-8,60,-30,60,-18,62,-32,...
Transynther/x86/_processed/NC/_ht_zr_un_/i3-7100_9_0x84_notsx.log_21829_2878.asm
ljhsiun2/medusa
9
5556
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x8380, %rsi lea addresses_normal_ht+0xdb08, %rdi nop nop nop nop nop and $47831, %r12 mov $24, %rcx rep movsl nop nop nop nop add %rdi, %rdi pop %rsi pop %rdi pop %rcx pop %r12 ret .global s...
Day-11/Trick-of-Ascii_(bit manipulation).asm
MasumBhai/50-Day-challenge-with-Assembly-Language
1
168534
<reponame>MasumBhai/50-Day-challenge-with-Assembly-Language<filename>Day-11/Trick-of-Ascii_(bit manipulation).asm<gh_stars>1-10 ;Day 11 date-20 april,2021 ;problem - convert lower case letter to upper case letter or upper case letter to lower case letter ; - without using subtraction , addition (using just ...
source/amf/mof/cmof/amf-internals-tables-cmof_metamodel-links.ads
svn2github/matreshka
24
22928
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
src/frontend/Experimental_Ada_ROSE_Connection/parser/lal_adapter/source/lal_adapter_wrapper_h.ads
ouankou/rose
488
1881
<reponame>ouankou/rose with Interfaces.C.Extensions; with Interfaces.C.Strings; with a_nodes_h; package lal_adapter_wrapper_h is function lal_adapter_wrapper (project_file_name : in Interfaces.C.Strings.chars_ptr; input_file_name : in Interfaces.C.Strings.chars_ptr; output_...
sys_signal.asm
thlorenz/lib.asm
12
179021
; vim: ft=nasm section .text ; -------------------------------------------------------------- ; sys_signal ; installs a signal handler ; ; args: ebx = the signal number to handle (see signals.mac) ; ecx = the address of the handler ; out : nothing, all registers preserved ; ---------------------------------...
models/tests/test52.als
transclosure/Amalgam
4
3556
<reponame>transclosure/Amalgam module tests/test52 -- example created by <NAME> sig Peg {} sig Red, Green, Blue, Yellow, White, Black extends Peg {} abstract sig Pin {} sig BlackPin, WhitePin extends Pin {} sig Round {} sig Game { solution: set Peg, guess: solution -> one Peg -> Round } { ...
gyak/gyak4/sorok/sorok.ads
balintsoos/LearnAda
0
9345
<filename>gyak/gyak4/sorok/sorok.ads package Sorok is subtype Elem is Integer; type Sor( Max: Positive ) is limited private; procedure Hiext( S: in out Sor; E: in Elem ); procedure Lopop( S: in out Sor; E: out Elem ); function Lov( S: Sor ) return Elem; function Is_Empt...
dasm/src/test/negative.asm
zeh/dasmjs
16
86603
<gh_stars>10-100 ; $Id: negative.asm 327 2014-02-09 13:06:55Z adavie $ ; ; Test negative literals. ; ; This came about because of the "-1 bug" in 2.20.10 and ; will hopefully ensure that no such bug ever returns to ; haunt us again... ; ; <NAME> ; phf at acm dot org .processor 6502 .org 0 lda #0 ; lda #+0 ;syntax...
yasm-1.3.0/modules/arch/x86/tests/avx16.asm
xu5343/ffmpegtoolkit_CentOS7
2,151
16300
[bits 16] extractps eax, xmm1, 5 vextractps eax, xmm1, 5 pextrb eax, xmm1, 5 vpextrb eax, xmm1, 5 pextrw eax, xmm1, 5 vpextrw eax, xmm1, 5 pextrd eax, xmm1, 5 vpextrd eax, xmm1, 5 vpinsrd xmm1, xmm2, eax, 5
ADL/drivers/stm32g474/stm32-lptimers.ads
JCGobbi/Nucleo-STM32G474RE
0
12247
pragma Restrictions (No_Elaboration_Code); with STM32_SVD.LPTIM; use STM32_SVD.LPTIM; package STM32.LPTimers is type LPTimer is limited private; procedure Enable (This : in out LPTimer) with Post => Enabled (This); procedure Disable (This : in out LPTimer) with Post => not Enabled (This); f...
oeis/038/A038503.asm
neoneye/loda-programs
11
175608
<filename>oeis/038/A038503.asm ; A038503: Sum of every 4th entry of row n in Pascal's triangle, starting at "n choose 0". ; 1,1,1,1,2,6,16,36,72,136,256,496,992,2016,4096,8256,16512,32896,65536,130816,261632,523776,1048576,2098176,4196352,8390656,16777216,33550336,67100672,134209536,268435456,536887296,1073774592,21475...
src/kernel/user.asm
thomtl/Alpha-OS
1
161462
[bits 16] init_user: lea ax, [ret_prg] mov word [0x510], ax ret call_program: mov ax, 0x0 mov es, ax mov bx, 0x1000 mov ax, 4 mov cx, 1 call read_disk lea ax, [0x1000] jmp ax ret_prg: ret
examples/dump_tree/def_name.adb
reznikmm/gela
0
9311
<filename>examples/dump_tree/def_name.adb -- SPDX-FileCopyrightText: 2019-2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Characters.Conversions; with Ada.Command_Line; with Ada.Wide_Wide_Text_IO; with Program.Compilation_Unit_Vectors; ...
oeis/161/A161712.asm
neoneye/loda-programs
11
6329
<reponame>neoneye/loda-programs ; A161712: a(n) = (4*n^3 - 6*n^2 + 8*n + 3)/3. ; 1,3,9,27,65,131,233,379,577,835,1161,1563,2049,2627,3305,4091,4993,6019,7177,8475,9921,11523,13289,15227,17345,19651,22153,24859,27777,30915,34281,37883,41729,45827,50185,54811,59713,64899,70377,76155,82241,88643,95369,102427,109825,117571...
Groups/Actions/Definition.agda
Smaug123/agdaproofs
4
9566
{-# OPTIONS --safe --warning=error --without-K #-} open import Setoids.Setoids open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) open import Groups.Definition module Groups.Actions.Definition where record GroupAction {m n o p : _} {A : Set m} {S : Setoid {m} {o} A} {_·_ : A → A → A} {B : Set n} (G : Group S...
libsupcs/x86_64_arith.asm
jncronin/tysila
6
19256
<filename>libsupcs/x86_64_arith.asm<gh_stars>1-10 global __signbits_r8 global __signbits_r4 global _conv_u4_r8 extern __halt __signbits_r8: dq 0x8000000000000000, 0x8000000000000000 __signbits_r4: dq 0x8000000080000000, 0x8000000080000000 _conv_u4_r8: call __halt
gnu/gcc/gcc/config/mt/crtn.asm
ArrogantWombatics/openbsd-src
105
176541
# crtn.asm for mt # Copyright (C) 2005 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 2, or (at your option) any # later version. # # In additi...
source/runtime/generated/google-protobuf-any.ads
mgrojo/protobuf
12
12304
with Ada.Finalization; with Ada.Streams; with League.Stream_Element_Vectors; with League.Strings; package Google.Protobuf.Any is type Any_Vector is tagged private with Variable_Indexing => Get_Any_Variable_Reference, Constant_Indexing => Get_Any_Constant_Reference; type Any is record Typ...
source/slim-players-displays.adb
reznikmm/slimp
0
4033
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Slim.Messages.grfe; package body Slim.Players.Displays is ----------- -- Clear -- ----------- procedure Clear (Self : in out Displa...
programs/oeis/017/A017187.asm
neoneye/loda
22
244564
<gh_stars>10-100 ; A017187: a(n) = (9*n + 2)^3. ; 8,1331,8000,24389,54872,103823,175616,274625,405224,571787,778688,1030301,1331000,1685159,2097152,2571353,3112136,3723875,4410944,5177717,6028568,6967871,8000000,9129329,10360232,11697083,13144256,14706125,16387064,18191447,20123648,22188041,24389000,26730899,29218112,3...
Top Racer 2 (Japan).asm
snaphat/oc_snes_patches
2
177762
; Fix race condition on NTSC/PAL check. org $81f8fd db $80 ; Fix race condition on APU port read. org $9ffbc4 nop ; Fix race condition on APU port read. org $9ffd58 nop
tier-1/gmp/source/thin/gmp_c-mpq_srcptr.ads
charlie5/cBound
2
15432
-- This file is generated by SWIG. Please do *not* modify by hand. -- with gmp_c.a_a_mpq_struct; with Interfaces.C; package gmp_c.mpq_srcptr is -- Item -- subtype Item is gmp_c.a_a_mpq_struct.Pointer; -- Items -- type Items is array (Interfaces.C.size_t range <>) of aliased gmp_c.mpq_srcptr.It...
stdlib-exts/Data/Unit/Instance.agda
WhatisRT/meta-cedille
35
13315
module Data.Unit.Instance where open import Class.Monoid open import Data.Unit.Polymorphic instance Unit-Monoid : ∀ {a} → Monoid {a} ⊤ Unit-Monoid = record { mzero = tt ; _+_ = λ _ _ -> tt }
test/asset/agda-stdlib-1.0/Data/Product/Function/Dependent/Setoid/WithK.agda
omega12345/agda-mode
0
15731
<reponame>omega12345/agda-mode ------------------------------------------------------------------------ -- The Agda standard library -- -- Dependent product combinators for setoid equality preserving -- functions ------------------------------------------------------------------------ {-# OPTIONS --with-K --safe #-} ...
binary16_test/test.asm
DW0RKiN/Floating-point-Library-for-Z80
12
92346
<gh_stars>10-100 INCLUDE finit.asm IF (true) MANT_BITS EQU 000A MANT_MASK_HI EQU 0003 IMPBIT_MASK EQU 0004 MANT_MASK_IMP_HI EQU 0007 BIT_ALWAYS_ONE EQU 0002 SIGN_MASK EQU 0080 SIGN_BIT EQU 000F EXP_BITS EQU 0005 EXP_MASK EQU 007C EXP_PLUS_ONE EQU 0004 BIAS EQU 003C FM256 EQU DC00 FM255 EQU DBF8 FM254 EQU DBF0 F...
bb-runtimes/src/s-armgic.adb
JCGobbi/Nucleo-STM32G474RE
0
26801
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
antlr-plugin/src/test/resources/org/nemesis/antlrformatting/grammarfile/golden/ANTLRv4-1-golden.g4
timboudreau/ANTLR4-Plugins-for-NetBeans
1
5028
/** [The "BSD license"] * Copyright (c) 2012-2014 <NAME> * Copyright (c) 2012-2014 <NAME> * Copyright (c) 2015 <NAME> * Copyright (c) 2016 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions ...
test.asm
ILZM/mips_examples
0
5605
.data array: .word 1 2 3 4 5 6 7 8 9 10 arraylen: .word 10 .text main: la $a0,array # Disregard this instruction for the counting la $t0,arraylen # Disregard this instruction for the counting lw $a1,0($t0) add $v0,$zero,$zero loop: lw $t1,0($a0) slt $t2,$t1,$v0 bne $t2,$zero,skip add $v0,$zero,$t1 skip:...
programs/oeis/010/A010166.asm
karttu/loda
0
174911
; A010166: Continued fraction for sqrt(95). ; 9,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,...
src/excelbind/fct_exports.asm
RuneLjungmann/excelbind
8
171286
; The code here contains the actual functions exported from the dll. ; They use the thunks_objects and thunks_methods tables to redirect the calls from Excel ; to the correct method on the PythonFunctionAdapter object wrapping the python function ; The win32 functions are quite simple, as the (internal Visual Studio/M...
Examples/Switch-Case/a.asm
MaSteve/CeMAGRplus
0
96610
{0} ssp 1; {1} mst 0; {2} cup 0 4; {3} stp; { FUNC main } {4} ssp 6; { $ret } {5} lda 0 5; { := } { call: test } {6} mst 1; {7} ldc 7; { cte: 7 } {8} cup 1 14; {9} sto; { $ret } {10} lda 0 5; {11} ind; {12} str 0 0; { RETURN } {13} retf; { END FUNC } { FUNC test } {14} ssp 8; { SWITCH } { $n } {15} lda 0 5; {16} ind; {...
Lecture2.agda
glangmead/hott_cmu80818
4
1445
<reponame>glangmead/hott_cmu80818 {-# OPTIONS --without-K #-} module Lecture2 where import Basics open Basics public -- Definition 2.2.3 define the identity function, and show lambda-abstraction in so doing id : {i : Level} {A : UU i} → A → A id = λ a → a -- can also use plain backslash \ instead of lambda (as it re...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1775.asm
ljhsiun2/medusa
9
10949
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x13afc, %rbx nop dec %r15 mov $0x6162636465666768, %r8 movq %r8, (%rbx) xor %r12, %r12 lea addresses_A_ht+0x16dec, %rsi lea addresses_WC_ht+0xbebf, %rdi nop nop nop cmp $35842,...
Cubical/HITs/Truncation/Base.agda
Schippmunk/cubical
0
10665
{- A simpler definition of truncation ∥ A ∥ n from n ≥ -1 Note that this uses the HoTT book's indexing, so it will be off from `∥_∥_` in HITs.Truncation.Base by -2 -} {-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.HITs.Truncation.Base where open import Cubical.Data.NatMinusOne renaming (suc₋₁ to...
src/Processors/project_processor-processors.ads
fintatarta/eugen
0
23139
<filename>src/Processors/project_processor-processors.ads with EU_Projects.Projects; with Ada.Strings.Bounded; with Plugins; package Project_Processor.Processors is package Processor_Names is new Ada.Strings.Bounded.Generic_Bounded_Length (16); subtype Processor_Parameter is Plugins.Parameter_Map; subty...
programs/oeis/062/A062749.asm
neoneye/loda
22
92015
; A062749: Sixth column (r=5) of FS(3) staircase array A062745. ; 12,43,108,228,431,753,1239,1944,2934,4287,6094,8460,11505,15365,20193,26160,33456,42291,52896,65524,80451,97977,118427,142152,169530,200967,236898,277788,324133,376461,435333,501344,575124,657339,748692,849924,961815,1085185,1220895,1369848,1532990,17113...
tier-1/gmp/source/thin/gmp_c-a_a_gmp_randstate_struct.ads
charlie5/cBound
2
22926
<gh_stars>1-10 -- This file is generated by SWIG. Please do *not* modify by hand. -- with gmp_c.a_a_gmp_randstate_struct_a_mp_algdata; with gmp_c.mpz_t; with Interfaces.C; package gmp_c.a_a_gmp_randstate_struct is -- Item -- type Item is record a_mp_seed : aliased gmp_c.mpz_t.Item; a_mp_alg ...
src/XenobladeChroniclesX/Mods/FrontierNavProbeResourceQuantity/patch_resource_qu.asm
lilystudent2016/cemu_graphic_packs
1,002
2514
<gh_stars>1000+ [XCX_FN_RES_QTY_ALL] ###################################################################### moduleMatches = 0xF882D5CF, 0x30B6E091, 0xAB97DE6B ; 1.0.1E, 1.0.2U, 1.0.1U .origin = codecave .int $mod ; ---------------------------------------------------------------------------- ; WHAT : changeTime__Q2_4...
oeis/344/A344723.asm
neoneye/loda-programs
11
86842
<filename>oeis/344/A344723.asm ; A344723: a(n) = Sum_{k=1..n} (-1)^(k+1) * floor(n/k)^5. ; Submitted by <NAME> ; 1,31,243,992,3094,7564,16596,31744,58237,97117,158169,241837,364299,521829,745693,1018120,1389402,1837302,2423834,3105432,3998776,5007286,6289998,7738784,9543887,11537207,14031231,16717879,20018661,23629281,...
pwnlib/shellcraft/templates/mips/linux/mq_notify.asm
zaratec/pwntools
5
3783
<% from pwnlib.shellcraft.mips.linux import syscall %> <%page args="mqdes, notification"/> <%docstring> Invokes the syscall mq_notify. See 'man 2 mq_notify' for more information. Arguments: mqdes(mqd_t): mqdes notification(sigevent): notification </%docstring> ${syscall('SYS_mq_notify', mqdes, notif...
gillesdubois/used_apple_scripts/iTunesActivate.applescript
gillesdubois/btt-touchbar-presets
1,879
3148
if application "iTunes" is running then tell application "iTunes" activate end tell end if
codigo/capitulo 41/argumento.asm
Nabucodonosor-editorial/ensamblador-x86
2
23216
<gh_stars>1-10 segment .data mensaje db "El numero de argumentos es: " lonmensaje equ $-mensaje texto db "El argumento es: " lontexto equ $-texto ln db 10,13 lonln equ $-ln segment .bss datos resb 2 segment .text global _start _start: pop eax ;extraemos de la pila el numero de argumento...
externals/mpir-3.0.0/mpn/x86_64w/skylake/lshiftc.asm
JaminChan/eos_win
12
165228
; PROLOGUE(mpn_lshiftc) ; Copyright 2009 <NAME> ; ; Windows Conversion Copyright 2008 <NAME> ; ; This file is part of the MPIR Library. ; ; The MPIR Library is free software; you can redistribute it and/or modify ; it under the terms of the GNU Lesser General Public License as published ; by the Free Software Fo...
win32/dpmi examples/vesa.asm
QAston/fasm-2006
0
88616
<gh_stars>0 format MZ ; no additional memory segment loader use16 push cs pop ds mov ax,1687h int 2Fh or ax,ax ; DPMI installed? jnz error test bl,1 ; 32-bit programs supported? jz error mov word [mode_switch],di mov word [mode_switch+2],es mov bx,si ; allocate memory for DPMI data mov ah...
P6/P6Judger - 100 testpoints/testpoint/testpoint29.asm
flyinglandlord/BUAA-CO-2021
5
247485
<gh_stars>1-10 ori $1, $0, 5 ori $2, $0, 1 ori $3, $0, 8 ori $4, $0, 12 sw $3, 0($0) sw $4, 4($0) sw $3, 8($0) sw $1, 12($0) sw $3, 16($0) sw $2, 20($0) sw $2, 24($0) sw $2, 28($0) sw $1, 32($0) sw $2, 36($0) sw $3, 40($0) sw $2, 44($0) sw $2, 48($0) sw $3, 52($0) sw $4, 56($0) sw $4, 60($0) sw $2, 64($0) sw $1, 68($0)...
oeis/084/A084774.asm
neoneye/loda-programs
11
99303
<reponame>neoneye/loda-programs ; A084774: Coefficients of 1/sqrt(1-14*x+9*x^2); also, a(n) is the central coefficient of (1+7x+10x^2)^n. ; Submitted by <NAME> ; 1,7,69,763,8881,106407,1298949,16065483,200630241,2524253767,31947470149,406281388443,5187375332881,66454791792487,853788052488069,10996378059281643,141934540...
src/elf.adb
patrickf2000/ada-asm
0
28103
<reponame>patrickf2000/ada-asm<filename>src/elf.adb with Ada.Text_IO; with Ada.Containers.Vectors; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Streams.Stream_IO; use Ada.Streams.Stream_IO; with Utils; use Utils; package body Elf is -- Adds a symbol to the symbol table procedure elf_add_symbol(sym...
Lab2/lab2.asm
eminkartci/MicroController-Assembly
1
99296
<gh_stars>1-10 0: CP 50 90 // *50 = k WHILE1 1: LT 50 100 // if(k < SIZE) 2: BZJ 80 50 // PC++ (continue to loop or break) 3: CPi 91 0 // m = 0 4: CP 40 90 // *40 = k WHILE2 5: NAND 40 40 // -k-1 HE...
tools-src/gnu/gcc/gcc/ada/lib-load.ads
enfoTek/tomato.linksys.e2000.nvram-mod
80
14707
<filename>tools-src/gnu/gcc/gcc/ada/lib-load.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
commands/apps/pulse-secure/pulse-secure-disconnect.applescript
daviddzhou/script-commands
3,305
2541
<filename>commands/apps/pulse-secure/pulse-secure-disconnect.applescript<gh_stars>1000+ #!/usr/bin/osascript # Dependencies: # Pulse Secure: https://www.pulsesecure.net/ # Required parameters: # @raycast.schemaVersion 1 # @raycast.title Disconnect / Cancel # @raycast.mode silent # Optional parameters: # @raycast.pac...
src/camera.asm
ISSOtm/gb-open-world
8
9595
INCLUDE "defines.asm" MAX_CAM_SPEED equ 8 * SUBPX_PER_PX EXPORT MAX_CAM_SPEED VIEWPORT_HEIGHT_B equ SCRN_Y_B + 1 VIEWPORT_WIDTH_B equ SCRN_X_B + 1 SECTION "Camera movement funcs", ROMX rsreset MACRO cam_movt_type \1 rb EXPORT \1 dw \2 ENDM CameraMovtFuncs:: cam_movt_type CAM_STATIC, StaticCamera ; Stays at ...
programs/oeis/204/A204879.asm
neoneye/loda
22
178603
<reponame>neoneye/loda<gh_stars>10-100 ; A204879: Numbers that can be written as sum of perfect numbers. ; 6,12,18,24,28,30,34,36,40,42,46,48,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,120,122,124,126,128,130,132,134,136,138,140,142,144,146,148,150,15...
src/sets/int/definition.agda
pcapriotti/agda-base
20
7068
{-# OPTIONS --without-K #-} module sets.int.definition where open import sum open import equality open import function open import sets.nat.core open import hott.level private data Z : Set where mk-int : ℕ → ℕ → Z ℤ : Set ℤ = Z _[-]_ : ℕ → ℕ → ℤ _[-]_ = mk-int postulate eq-ℤ : (n m d : ℕ) → n [-] m ≡ (d +...
src/presets.asm
cout/sm_practice_hack
0
95901
org $82FA00 print pc, " presets bank82 start" preset_load: { PHP LDA !MUSIC_DATA : STA !SRAM_MUSIC_DATA LDA !MUSIC_TRACK : STA !SRAM_MUSIC_TRACK JSL $809E93 ; Clear timer RAM JSR $819B ; Initialize IO registers JSR $82E2 ; Load standard BG3 tiles and sprite tiles, clear tilemaps JSR...