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/116/A116556.asm
neoneye/loda
22
1687
<filename>programs/oeis/116/A116556.asm ; A116556: a(n) = 2*a(n-1) + 2*a(n-2), a(0)=0, a(1)=4. ; 0,4,8,24,64,176,480,1312,3584,9792,26752,73088,199680,545536,1490432,4071936,11124736,30393344,83036160,226859008,619790336,1693298688,4626178048,12638953472,34530263040,94338433024,257737392128,704151650304,1923778084864,5...
external/ncurses/Ada95/samples/ncurses2-slk_test.adb
Ar0gon/arogon
6
20239
<reponame>Ar0gon/arogon ------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- ...
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/g-debuti.adb
JCGobbi/Nucleo-STM32G474RE
0
20219
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
src/CF/Contexts/Rewriting.agda
ajrouvoet/jvm.agda
6
13772
<filename>src/CF/Contexts/Rewriting.agda {-# OPTIONS --rewriting #-} module CF.Contexts.Rewriting where open import Data.List open import Data.List.Properties open import Agda.Builtin.Equality.Rewrite open import Relation.Binary.PropositionalEquality open import CF.Types ++-assoc-← : ∀ (xs ys zs : List Ty) → xs ++ (...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_882.asm
ljhsiun2/medusa
9
86878
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1ea31, %rsi lea addresses_normal_ht+0x2921, %rdi nop nop nop nop nop add %r12, %r12 mov $6, %rcx rep movsq xor %r13, %r13 lea addresses_UC_ht+0xb319, %rsi lea addresses_D_ht+0x14...
source/mpfr-root_fr.ads
ytomino/gmp-ada
4
5152
<filename>source/mpfr-root_fr.ads private with Ada.Finalization; package MPFR.Root_FR is pragma Preelaborate; type MP_Float (Precision : MPFR.Precision) is private; function To_MP_Float ( X : Long_Long_Float; Precision : MPFR.Precision; Rounding : MPFR.Rounding) return MP_Float; function To_Long_Long_...
programs/oeis/017/A017055.asm
karttu/loda
1
241611
; A017055: a(n) = (7*n + 6)^3. ; 216,2197,8000,19683,39304,68921,110592,166375,238328,328509,438976,571787,729000,912673,1124864,1367631,1643032,1953125,2299968,2685619,3112136,3581577,4096000,4657463,5268024,5929741,6644672,7414875,8242408,9129329,10077696,11089567,12167000,13312053,14526784,15813251,17173512,18609625...
oeis/242/A242563.asm
neoneye/loda-programs
11
102689
<gh_stars>10-100 ; A242563: a(n) = 2*a(n-1) - a(n-3) + 2*a(n-4), a(0)=a(1)=0, a(2)=2, a(3)=3. ; 0,0,2,3,6,10,21,42,86,171,342,682,1365,2730,5462,10923,21846,43690,87381,174762,349526,699051,1398102,2796202,5592405,11184810,22369622,44739243,89478486,178956970,357913941,715827882,1431655766,2863311531,5726623062,1145324...
src/Data/Fin/Substitution/Extra.agda
sstucki/f-omega-int-agda
12
921
<gh_stars>10-100 ------------------------------------------------------------------------ -- Extra definitions related to simultaneous substitutions ------------------------------------------------------------------------ {-# OPTIONS --safe --without-K #-} module Data.Fin.Substitution.Extra where open import Data.Fi...
libsrc/math/mbf32/c/sccz80/l_f32_add.asm
ahjelm/z88dk
640
26392
<reponame>ahjelm/z88dk SECTION code_fp_mbf32 PUBLIC l_f32_add EXTERN ___mbf32_setup_arith EXTERN ___mbf32_FPADD EXTERN ___mbf32_return EXTERN msbios l_f32_add: call ___mbf32_setup_arith IF __CPU_INTEL__ || __CPU_GBZ80__ call ___mbf32_FPADD ELSE ld ix,___mbf32_FPADD call msbios ENDIF jp ___mbf32_return
alloy4fun_models/trashltl/models/11/gDLM4xqZZCmNs577N.als
Kaixi26/org.alloytools.alloy
0
4247
open main pred idgDLM4xqZZCmNs577N_prop12 { always (all f:File | eventually f in Trash since some (f& Trash) ) } pred __repair { idgDLM4xqZZCmNs577N_prop12 } check __repair { idgDLM4xqZZCmNs577N_prop12 <=> prop12o }
tests/R/srl.asm
madhav-datt/mmcpu
0
80113
main: nor $s0, $0, $0 srl $s1, $s0, 2 srl $s2, $s0, 4
libsrc/_DEVELOPMENT/stdlib/c/sdcc_iy/atol_fastcall.asm
jpoikela/z88dk
640
162755
; long atol_fastcall(const char *buf) SECTION code_clib SECTION code_stdlib PUBLIC _atol_fastcall EXTERN asm_atol defc _atol_fastcall = asm_atol
source/web/tools/a2js/webapi/xhr/webapi-xhr-requests.ads
svn2github/matreshka
24
1407
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
wof/lcs/base/1D6.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
22338
copyright zengfr site:http://github.com/zengfr/romhack 012A5C move.w #$30, ($1d6,A5) [base+1C7] 012A62 move.l #$90bc38, ($1d8,A5) [base+1D6] 01A610 dbra D1, $1a60e copyright zengfr site:http://github.com/zengfr/romhack
UpTo-Properties/UpTo.agda
hbasold/Sandbox
0
4302
<filename>UpTo-Properties/UpTo.agda module UpTo where open import Level open import Relation.Binary using (Rel; IsEquivalence) open import Data.Product open import Categories.Support.Equivalence open import Categories.Category open import Categories.2-Category open import Categories.Functor open import Categories.Natu...
1-base/math/source/generic/pure/algebra/any_math-any_algebra-any_linear-any_d2.adb
charlie5/lace-alire
1
8187
package body any_Math.any_Algebra.any_linear.any_d2 is ----------- -- Vector_2 -- function Angle_between_pre_Norm (U, V : in Vector_2) return Radians is use Functions, Vectors; Val : Real := U * V; -- Dot product. begin if val < -1.0 then val := -1.0; -- Clamp to avoid rou...
llvm-gcc-4.2-2.9/gcc/ada/prj-makr.ads
vidkidz/crossbridge
1
27405
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
source/amf/uml/amf-internals-tables-uml_attributes.ads
svn2github/matreshka
24
23443
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
smsq/mem/free.asm
olifink/smsqe
0
831
* Find free space in common heap / TPA V3.10  1986 <NAME> QJUMP * 2002 <NAME> * * 2002-05-20 3.10 Previously just returned the size of the common heap gap, * now scans the free block list of chp and tpa for the * largest one (MK) * section mem * xdef mem_frch xdef mem_frtp * xref sms_rte * inc...
src/Util/HoTT/Homotopy.agda
JLimperg/msc-thesis-code
5
3822
{-# OPTIONS --without-K --safe #-} module Util.HoTT.Homotopy where open import Relation.Binary using (IsEquivalence) open import Util.Prelude open import Util.Relation.Binary.PropositionalEquality using (cong-app) module _ {α β} {A : Set α} {B : A → Set β} where _~_ : (f g : ∀ a → B a) → Set (α ⊔ℓ β) f ~ g = ∀...
utility.asm
olawlor/OS-L
0
22136
; Debugging and I/O utility functions ; See also the utility functions in boot.S, like printchar ; 16 bit x86 assembly language for NASM ; Dr. <NAME>, <EMAIL>, 2019-01-29 (Public Domain) ; Print eax as 8 hex digits onscreen ; Trashes: none printhex32: push cx mov cl,8*4 ; bit counter: print 8 hex digits, at 4 ...
date.asm
ngp111/xv6-SPOS-Proj
0
82396
_date: file format elf32-i386 Disassembly of section .text: 00000000 <main>: void utc_day(void); void day(char *); // main int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4...
programs/oeis/035/A035597.asm
karttu/loda
1
5750
; A035597: Number of points of L1 norm 3 in cubic lattice Z^n. ; 0,2,12,38,88,170,292,462,688,978,1340,1782,2312,2938,3668,4510,5472,6562,7788,9158,10680,12362,14212,16238,18448,20850,23452,26262,29288,32538,36020,39742,43712,47938,52428,57190,62232,67562,73188,79118,85360,91922,98812,106038,113608,121530,129812,138462...
extra/ASM 8086/cache486.asm
jfitz/code-stat
0
165550
Disables the cache on a 486 and Pentium processor ; cache disable routine ; public DisableCache code segment ; simple but effective for demonstration purposes ;* DisableCache() * ;* ...
oeis/167/A167820.asm
neoneye/loda-programs
11
24390
<gh_stars>10-100 ; A167820: Subsequence of A167709 whose indices are congruent to 0 mod 5, i.e., a(n) = A167709(5*n). ; Submitted by <NAME>(w4) ; 0,351,119340,40575249,13795465320,4690417633551,1594728199942020,542202897562653249,184347390443102162640,62677570547757172644351,21310189638846995596916700,72454017996374307...
OSDev/Try-0/src/boot/mbr.asm
Ashwin-Paudel/Tries
0
88187
; ; mbr.asm ; KripayaOS ; [bits 16] [org 0x7c00] ; The kernel's entry point KERNEL_OFFSET equ 0x1000 ; Store the bootdrive in the dl regester mov [BOOT_DRIVE], dl ; Set up the stack mov bp, 0x9000 mov sp, bp call clear16 ; Let the user know we're in 16 bit mode mov bx, msg_16_boot call print16 call load_kernel mo...
asm/doorrando.asm
codemann8/ALttPDoorRandomizer
3
18005
<gh_stars>1-10 !add = "clc : adc" !addl = "clc : adc.l" !sub = "sec : sbc" !bge = "bcs" !blt = "bcc" ; Free RAM notes ; Normal doors use $AB-AC for scrolling indicator ; Normal doors use $FE to store the trap door indicator ; Normal doors use $045e to store Y coordinate when transitioning to in-room stairs ; Normal do...
MTMR/AppleScripts/Spotify.next.scpt
FedorZaytsev/MTMR
3,715
2396
if application "Spotify" is running then tell application "Spotify" if player state is playing then next track end if end tell end if
oeis/295/A295897.asm
neoneye/loda-programs
11
4583
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A295897: Numbers in whose binary expansion there are no 1-runs of odd length followed by a 0 to their right. ; Submitted by <NAME> ; 0,1,3,6,7,12,13,15,24,25,27,30,31,48,49,51,54,55,60,61,63,96,97,99,102,103,108,109,111,120,121,123,126,127,192,193,195,198,199,204,205,20...
SysCore/Kernel/Debug/main.asm
pmache/heinanos
0
25772
<reponame>pmache/heinanos<filename>SysCore/Kernel/Debug/main.asm ; Listing generated by Microsoft (R) Optimizing Compiler Version 14.00.50727.42 TITLE c:\Users\Heinan\Documents\Visual Studio 2005\Projects\HeinanOS\SysCore\Kernel\main.cpp .686P .XMM include listing.inc .model flat INCLUDELIB LIBCMT INCLUDELIB OL...
PaddleC.asm
DerPferd/PongMIPS
1
175142
<filename>PaddleC.asm # PaddleC.asm # This file implements the Player's Paddle function .globl PaddleC .text # Constructor for the PaddleC Class # # Args: # $a0 The address of the Display # $a1 The a box for the Paddle # # Return: # $v0 The address of the new instance # # Usage: # code to put the address ...
UltraCIC.asm
parasyte/UltraCIC
84
87743
processor pic16f1613 ; UltraCIC - Nintendo 64 CIC clone by <NAME> ; This code is released in the public domain ; Pins ; Num Port Function ; 9 C.1 PIF_DATA (bidir) ; 10 C.0 PIF_DCLK include p16f1613.inc ;;;;;;;;;;;;;; ; DEFINES ;;;;;;;;;;;;;; variable region = 0 ; 0 is NTSC, 1 is PAL ; CONFIG1 ...
oeis/096/A096365.asm
neoneye/loda-programs
11
240622
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A096365: Maximum number of iterations of the RUNS transform needed to reduce any binary sequence of length n to a sequence of length 1. ; 0,2,3,4,5,5,6,6,6,7,7,7,7,8,8,8,8,8,8,8,9 pow $0,2 mov $1,$0 add $0,5 mov $3,$1 mov $1,$0 mul $3,2 mul $3,$0 mul $1,$3 lpb $1 div...
programs/oeis/017/A017402.asm
neoneye/loda
22
21426
; A017402: (11n+1)^2. ; 1,144,529,1156,2025,3136,4489,6084,7921,10000,12321,14884,17689,20736,24025,27556,31329,35344,39601,44100,48841,53824,59049,64516,70225,76176,82369,88804,95481,102400 mul $0,11 add $0,1 pow $0,2
test/interaction/Issue3295.agda
shlevy/agda
1,989
1317
<filename>test/interaction/Issue3295.agda module Issue3295 where open import Issue3295.Incomplete open import Issue3295.Incomplete2 open import Agda.Builtin.Nat open import Agda.Builtin.Equality _ : f 0 ≡ 0 _ = {!!} _ : g 0 ≡ 0 _ = {!!} _ : f 1 ≡ 1 -- the evaluation of `f` should be blocked here _ = {!!} -- so l...
test/succeed/Issue411.agda
asr/agda-kanso
1
14948
<reponame>asr/agda-kanso<filename>test/succeed/Issue411.agda -- Andreas, 2011-04-26 {-# OPTIONS --universe-polymorphism #-} module Issue411 where import Common.Irrelevance record A : Set₁ where field .foo : Set -- this yielded a panic "-1 not a valid deBruijn index" due to old code for assignS
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0x84_notsx.log_21829_1654.asm
ljhsiun2/medusa
9
20259
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_normal_ht+0xfa08, %r13 nop nop inc %rdi movl $0x61626364, (%r13) nop nop nop nop nop add $21387, %rcx lea addresses_D_ht+0xe608, %r9 nop sub $51368, %r10 movl $0x61626364, (%r9) nop n...
src/memdisk/memdisk.asm
anna328p/IncludeOS
3,673
247517
<gh_stars>1000+ USE32 ALIGN 4096 section .diskdata incbin "testdisk"
src/Tokens.g4
rchl/amazon-dax-client
0
1186
/* * Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not * use this file except in compliance with the License. A copy of the License * is located at * * http://aws.amazon.com/apache2.0/ * * or in the "lice...
travis/test/vpcmp.asm
johannkoenig/nasm
1,052
26402
<reponame>johannkoenig/nasm<filename>travis/test/vpcmp.asm<gh_stars>1000+ bits 64 vpcmpeqb k2{k2},zmm0,zmm1 vpcmpgtb k2{k2},zmm0,zmm1 vpcmpeqw k2{k2},zmm0,zmm1 vpcmpgtw k2{k2},zmm0,zmm1 vpcmpeqd k2{k2},zmm0,zmm1 vpcmpgtd k2{k2},zmm0,zmm1 vpcmpeqq k2{k2},zmm0,zmm1 vpcmpgtq k2{k2},zmm0,zmm1 vpcmpb k2{k2},zmm0...
src/gen/cups-cups_pwg_h.ads
persan/a-cups
0
1887
<reponame>persan/a-cups pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; with System; private package CUPS.cups_pwg_h is -- arg-macro: function PWG_FROM_POINTS (int)(((n) * 2540 + 36) / 72 -- return int)(((n) * 2540 + 36) / 72; -- arg-macro: f...
programs/oeis/199/A199032.asm
neoneye/loda
22
167923
<reponame>neoneye/loda ; A199032: 3*12^n-1. ; 2,35,431,5183,62207,746495,8957951,107495423,1289945087,15479341055,185752092671,2229025112063,26748301344767,320979616137215,3851755393646591,46221064723759103,554652776685109247,6655833320221310975,79869999842655731711,958439998111868780543,11501279977342425366527,1380153...
src/mapcode_utils-str_tools.ads
mapcode-foundation/mapcode-ada
1
16746
<gh_stars>1-10 -- ----------------------------------------------------------------------------- -- Copyright (C) 2003-2019 Stichting Mapcode Foundation (http://www.mapcode.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- Y...
data/pokemon/base_stats/noctowl.asm
AtmaBuster/pokeplat-gen2
6
25594
db 0 ; species ID placeholder db 100, 50, 50, 70, 76, 96 ; hp atk def spd sat sdf db NORMAL, FLYING ; type db 90 ; catch rate db 162 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 15 ; step cycles to hatch INCBIN "gfx/pokemon/noctowl/front.dimensions" db GROWTH_MEDIUM_FA...
programs/oeis/204/A204008.asm
jmorken/loda
1
4297
; A204008: Symmetric matrix based on f(i,j) = max{3i+j-3,i+3j-3}, by antidiagonals. ; 1,4,4,7,5,7,10,8,8,10,13,11,9,11,13,16,14,12,12,14,16,19,17,15,13,15,17,19,22,20,18,16,16,18,20,22,25,23,21,19,17,19,21,23,25,28,26,24,22,20,20,22,24,26,28,31,29,27,25,23,21,23,25,27,29,31,34,32,30 mul $0,2 mov $1,4 lpb $0 add $0,3...
src/stack_top_win_x86.asm
znone/taskpp
4
306
.386 .MODEL FLAT .CODE ?stack_top@this_task@taskpp@@YAPAXXZ PROC PUBLIC mov eax, esp add eax, 4 ret ?stack_top@this_task@taskpp@@YAPAXXZ ENDP END
examples/outdated-and-incorrect/AIM6/Cat/lib/Data/String.agda
shlevy/agda
1,989
17361
<reponame>shlevy/agda<filename>examples/outdated-and-incorrect/AIM6/Cat/lib/Data/String.agda module Data.String where import Data.List import Data.Char open Data.List using (List) open Data.Char postulate String : Set {-# BUILTIN STRING String #-} infixr 50 _++_ private primitive primStringAppend : St...
src/Categories/Adjoint/Instance/Core.agda
Trebor-Huang/agda-categories
279
8122
<reponame>Trebor-Huang/agda-categories {-# OPTIONS --without-K --safe #-} module Categories.Adjoint.Instance.Core where -- The adjunction between the forgetful functor from Cats to Groupoids -- and the Core functor. open import Level using (_⊔_) import Function open import Categories.Adjoint using (_⊣_) open import...
src/display.adb
jrmarino/ravenadm
18
7601
<filename>src/display.adb -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with HelperText; package body Display is package HT renames HelperText; -------------------------------------------------------------------------------------------- -- insert...
ip_calculator.asm
retq/IPv4-Calculator
0
2325
<filename>ip_calculator.asm include "emu8086.inc" org 100h ; Various procedures called to do the task call input call printip call binary call network call broadcast call subn call host call wild call pause call credits call endprog input proc ;-------------------------- Op...
oeis/020/A020093.asm
neoneye/loda-programs
11
100124
<gh_stars>10-100 ; A020093: Ceiling of GAMMA(n+5/12)/GAMMA(5/12). ; Submitted by <NAME> ; 1,1,1,2,5,22,117,749,5550,46705,439803,4581281,52302950,649428294,8713162940,125614765717,1936560971460,31791875948135,553708506096682,10197464987280555,198000778503030765,4042515894436878102 max $0,1 mov $1,1 mov $3,1 lpb $0 m...
WS3_ASM/Task_10.asm
OlegMalchenko/ACOS_WS_3
0
165860
<reponame>OlegMalchenko/ACOS_WS_3<gh_stars>0 # # Inputs two integers and prints their sum. # checks whether overflow has occured during the additions # prints 1 if occured, 0 otherwise # .data please_x: .string "Please, input integer x: " please_y: .string "Please, input integer y: " print: .string "\nOverflow occ...
src/orig/dds-request_reply-connext_c_untyped_impl.adb
alexcamposruiz/dds-requestreply
0
9989
<filename>src/orig/dds-request_reply-connext_c_untyped_impl.adb pragma Ada_2012; package body DDS.Request_Reply.connext_c_untyped_impl is ---------------------------------------------------- -- RTI_Connext_EntityUntypedImpl_Wait_For_Samples -- ---------------------------------------------------- function ...
projects/Links_Awakening_gb.windfish/configuration/macros/returnIfLt.asm
jverkoey/awaken
68
13793
ld a, [#1] cp #2 ret c
libsrc/zx81/zx_cls.asm
meesokim/z88dk
0
161236
<reponame>meesokim/z88dk ; ; ZX81 libraries - Stefano ; ;---------------------------------------------------------------- ; ; $Id: zx_cls.asm,v 1.7 2015/01/19 01:33:26 pauloscustodio Exp $ ; ;---------------------------------------------------------------- ; ; ROM mode CLS.. useful to expand collapsed display file ; ;-...
src/is-lib/InfSys/Base.agda
boystrange/FairSubtypingAgda
4
7690
-------------------------------------------------------------------------------- -- This is part of Agda Inference Systems open import Agda.Builtin.Equality open import Data.Product open import Data.Sum open import Data.Vec using (Vec; fromList; length) renaming (lookup to get) open import Data.Fin using (Fin) open i...
Cubical/Categories/Presheaf.agda
Edlyr/cubical
0
7199
{-# OPTIONS --cubical --no-import-sorts --postfix-projections --safe #-} module Cubical.Categories.Presheaf where open import Cubical.Categories.Presheaf.Base public open import Cubical.Categories.Presheaf.Properties public open import Cubical.Categories.Presheaf.KanExtension public
Lab2/lab2.adb
albinjal/ada_basic
3
2623
<filename>Lab2/lab2.adb -- Ett givet huvudprogram för laboration 2. -- Du skall inte ändra på den del som är given, endast lägga till. with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; --with Ada.Float_Text_IO; use Ada.Float_Text_IO; with Ada.Numerics.Elementary_Functions; use Ada.N...
test/Succeed/Issue3621.agda
cruhland/agda
1,989
12170
<reponame>cruhland/agda -- Andreas, 2019-03-18, AIM XXIX, performance regression in 2.5.4 -- The following was quick in 2.5.3 postulate Bool : Set Foo : Bool → Bool → Bool → Bool → Bool → Bool → Bool → Bool → Bool → Set data FooRel : (x1 x1' : Bool) (x2 x2' : Bool) (x3 x3' : Bool) (x4 x4' : Bool) ...
oeis/346/A346155.asm
neoneye/loda-programs
11
89096
<reponame>neoneye/loda-programs ; A346155: Partial sums of A007978. ; 2,5,7,10,12,16,18,21,23,26,28,33,35,38,40,43,45,49,51,54,56,59,61,66,68,71,73,76,78,82,84,87,89,92,94,99,101,104,106,109,111,115,117,120,122,125,127,132,134,137,139,142,144,148,150,153,155,158,160,167 mov $2,$0 add $2,1 mov $4,$0 lpb $2 mov $0,$4 ...
include/xproto.ads
docandrew/troodon
5
18882
pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with bits_stdint_uintn_h; with bits_stdint_intn_h; with xcb; with System; with Interfaces.C.Strings; package xproto is -- Note: modded these to deconflict with function names CONST_XCB_KEY_PRESS : constant := 2; -- /usr/include/...
配套代码/L059/REV_059/2.asm
zmrbak/ReverseAnalysis
35
100263
<gh_stars>10-100 ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.26.28720.3 include listing.inc INCLUDELIB LIBCMT INCLUDELIB OLDNAMES CONST SEGMENT $SG30706 DB 'Hello World!', 0aH, 00H ORG $+2 $SG30707 DB '%lld', 0aH, 00H ORG $+2 $SG30708 DB '%I64d', 0aH, 00H ORG $+1 $SG30709 DB 'Hello World ...
data/jpred4/jp_batch_1613899824__oM2uQFj/jp_batch_1613899824__oM2uQFj.als
jonriege/predict-protein-structure
0
1124
SILENT_MODE BLOCK_FILE jp_batch_1613899824__oM2uQFj.concise.blc MAX_NSEQ 832 MAX_INPUT_LEN 834 OUTPUT_FILE jp_batch_1613899824__oM2uQFj.concise.ps PORTRAIT POINTSIZE 8 IDENT_WIDTH 12 X_OFFSET 2 Y_OFFSET 2 DEFINE_FONT 0 Helvetica DEFAULT DEFINE_FONT 1 Helvetica REL 0.75 DEFINE_FONT 7 Helvetica REL 0.6 DEFINE_FO...
Client/AssemblyMacro.asm
bank2014/AntiTemper
0
3513
<filename>Client/AssemblyMacro.asm .CODE TrapflagCheck PROC pushfq or dword ptr[rsp],10100h popfq db 0fh ;cpuid db 0a2h nop nop nop ret TrapflagCheck ENDP LazyCheckHyperv PROC xor ecx,ecx mov eax,1 cpuid test ecx, 80000000h jne detect xor eax,eax ret detect: mov al,1 ret LazyCheckHyperv ENDP END
source/coroutines.ads
reznikmm/coroutines
3
20920
-- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- -- -- Coroutine is a basic components for non-preemptive multitasking. -- with System.Storage_Elements; private with Ada.Containers.Vectors; package ...
src/main/java/com/antlr/math/math.g4
prs1022/antlr_query
1
6402
grammar math; import CommonLexer; NUMBER:DIGIT+; WS : [ \r\n\t]+ -> channel(HIDDEN) ; ADD : '+' ; SUB : '-' ; MUL : '*' ; DIV : '/' ; L:'('; R:')'; root:exp EOF #n1 ; exp:factor (op1 factor)* #n2 ; factor:term (op2 term)* #n3 ; term: n #n4 |L exp R #n5 ; op1:ADD #n6 |SUB #n7 ; op2:MUL #n8 ...
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/copysign_callee.asm
jpoikela/z88dk
640
6347
<reponame>jpoikela/z88dk<gh_stars>100-1000 SECTION code_clib SECTION code_fp_math48 PUBLIC copysign_callee EXTERN cm48_sccz80_copysign_callee defc copysign_callee = cm48_sccz80_copysign_callee
programs/oeis/022/A022347.asm
karttu/loda
0
9152
; A022347: Fibonacci sequence beginning 0, 13. ; 0,13,13,26,39,65,104,169,273,442,715,1157,1872,3029,4901,7930,12831,20761,33592,54353,87945,142298,230243,372541,602784,975325,1578109,2553434,4131543,6684977,10816520,17501497,28318017,45819514,74137531,119957045,194094576,314051621,508146197,822197818,1330344015,215254...
MSDOS/Virus.MSDOS.Unknown.vcomm.asm
fengjixuchui/Family
3
15817
<gh_stars>1-10 ;--------------------------------------------------------------------; ; ; ; EXE virus, with resident part ; ; ; ; -...
bitmap.ads
FROL256/ada-ray-tracer
3
10526
with Interfaces; with Ada.Streams.Stream_IO; with Ada.Unchecked_Deallocation; use Interfaces; use Ada.Streams.Stream_IO; package Bitmap is type PixelData is array (Integer range <>) of Unsigned_32; type PixelDataRef is access PixelData; procedure delete is new Ada.Unchecked_Deallocation(Object => PixelData, N...
Library/Trans/Graphics/Bitmap/Bmp/Lib/libMain.asm
steakknife/pcgeos
504
88075
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: Bmp Translation Library FILE: libMain.asm AUTHOR: <NAME>, Apr 28, 1992 ROUTINES: Name Description ---- ----------- GLB TransGetExportO...
MySource/12-jge-100-80-60-40-cmp.asm
mdabdullahibnaharun/Assembly-Language
0
246614
; a number > 100 ? or >= 80 ? > 60 or >= 40 ? or>= 20 ;or less then 20 org 100h include "emu8086.inc" .model small .stack 100h .data .code main proc mov bx,80 cmp bx,100 ;cmp >= 100 jge if1 cmp bx,80 jge if2 cmp bx,60 jge if3 ...
OSDev/Try-1/Kernel/Entry.asm
Ashwin-Paudel/Tries
0
177963
; ; Entry.asm ; KripayaOS Project ; ; Copyright (c) 2021 KripayaOS Project. All rights reserved. ; [bits 64] [extern kernel_start] _start: call kernel_start jmp $
programs/oeis/047/A047369.asm
neoneye/loda
22
90987
<filename>programs/oeis/047/A047369.asm ; A047369: Numbers that are congruent to {1, 2, 3, 4, 5} mod 7. ; 1,2,3,4,5,8,9,10,11,12,15,16,17,18,19,22,23,24,25,26,29,30,31,32,33,36,37,38,39,40,43,44,45,46,47,50,51,52,53,54,57,58,59,60,61,64,65,66,67,68,71,72,73,74,75,78,79,80,81,82,85,86,87,88,89,92,93,94,95,96,99,100,101,...
programs/oeis/164/A164356.asm
neoneye/loda
22
241724
; A164356: Expansion of (1 - x^2)^4 / ((1 - x)^4 * (1 - x^4)) in powers of x. ; 1,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4,2,4,6,4 mov $2,$0 mul $2,5 div $2,2 pow $2,3 lp...
test/succeed/Issue442.agda
asr/agda-kanso
0
9326
{-# OPTIONS --allow-unsolved-metas #-} module Issue442 where postulate A : Set f : (P : A → A → Set) → (∀ {x} → P x x) → (∀ {x y z} → P y z → P x y → A) → A P : A → A → Set reflP : ∀ {x} → P x x g : ∀ {x y z} → P y z → P x y → A a : A a = f _ reflP g
source/containers/a-cohata.adb
ytomino/drake
33
29526
with Ada.Unchecked_Deallocation; package body Ada.Containers.Hash_Tables is procedure Free is new Unchecked_Deallocation (Table, Table_Access); subtype Positive_Hash_Type is Hash_Type range 1 .. Hash_Type'Last; procedure Allocate ( New_Container : out Table_Access; Capacity : Count_Type); pro...
genesis/fm_mus.asm
michaelcmartin/bumbershoot
20
19734
<reponame>michaelcmartin/bumbershoot<gh_stars>10-100 ;; Simple Z80 FM Music Driver. ;; A song in this system is a series of records, where each record ;; begins with a byte for the number of frames this record lasts, ;; followed by a byte for the number of register writes to the first ...
ada-strings-wide_fixed.ads
mgrojo/adalib
15
2372
<reponame>mgrojo/adalib -- Standard Ada library specification -- Copyright (c) 2003-2018 <NAME> <<EMAIL>> -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics...
parsers-multiline_source-text_io.ads
jrcarter/Ada_GUI
19
26280
<reponame>jrcarter/Ada_GUI -- -- -- package Copyright (c) <NAME> -- -- Parsers.Multiline_Source.Text_IO Luebeck -- -- Interface Winter, 2004 -- -- ...
oeis/062/A062262.asm
neoneye/loda-programs
11
244128
; A062262: Fifth (unsigned) column sequence of triangle A062140 (generalized a=4 Laguerre). ; Submitted by <NAME> ; 1,45,1350,34650,831600,19459440,454053600,10702692000,256864608000,6307453152000,158947819430400,4118193503424000,109818493424640000,3015784780968960000,85303626661693440000,2485178990077335552000,7455536...
oeis/204/A204675.asm
neoneye/loda-programs
11
85775
<filename>oeis/204/A204675.asm ; A204675: a(n) = 16*n^2 + 2*n + 1. ; 1,19,69,151,265,411,589,799,1041,1315,1621,1959,2329,2731,3165,3631,4129,4659,5221,5815,6441,7099,7789,8511,9265,10051,10869,11719,12601,13515,14461,15439,16449,17491,18565,19671,20809,21979,23181,24415,25681,26979,28309,29671,31065,32491,33949,35439,...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto9_pkg1.ads
best08618/asylo
7
23180
with Lto9_Pkg2; package Lto9_Pkg1 is subtype Lengths is Natural range 0 .. 50; type Subscriber (NLen, ALen: Lengths := 50) is record Name : String(1 .. NLen); Address : String(1 .. ALen); end record; type Subscriber_Ptr is access all Subscriber; package District_Subscription_Lists is ...
fox32os/kernel/allocator.asm
ry755/fox32
6
178442
; memory allocator routines ; this is a very basic memory allocator, it doesn't even allow freeing ; TODO: make this better const MEMORY_TOP: 0x02000000 ; allocate a block of memory ; inputs: ; r0: size in bytes ; outputs: ; r0: pointer to allocated block (or zero if no blocks free) allocate_memory: push r1 p...
libsrc/input/spectrum/in_GetKeyReset.asm
meesokim/z88dk
0
21937
<reponame>meesokim/z88dk ; void in_GetKeyReset(void) ; 09.2005 aralbrec PUBLIC in_GetKeyReset EXTERN _in_KeyDebounce, _in_KbdState .in_GetKeyReset ld a,(_in_KeyDebounce) ld e,a ld d,0 ld (_in_KbdState),de ret
programs/oeis/059/A059997.asm
karttu/loda
0
175575
; A059997: a(n) = (n/2)*(n + 1)*(3*n + 11). ; 14,51,120,230,390,609,896,1260,1710,2255,2904,3666,4550,5565,6720,8024,9486,11115,12920,14910,17094,19481,22080,24900,27950,31239,34776,38570,42630,46965,51584,56496,61710,67235,73080,79254,85766,92625,99840,107420,115374,123711,132440,141570,151110,161069,171456,182280,193...
src/spawn_manager-server-main.adb
persan/spawn-manager
1
8572
<reponame>persan/spawn-manager<filename>src/spawn_manager-server-main.adb with GNAT.Sockets; use GNAT.Sockets; with Ada.Command_Line; with GNAT.Exception_Traces; with GNAT.Traceback.Symbolic; procedure Spawn_Manager.Server.Main is Address : Sock_Addr_Type; Server : Socket_Type; Channel : Stream_Access; ...
examples/direct/test_li.asm
hughperkins/toy_proc
4
247316
<reponame>hughperkins/toy_proc # test li with different registers, using outr # also test outr li x1 3 outr x1 li x1 27 outr x1 li x1 123 outr x1 li x1 444 outr x1 li x21 222 li x23 333 outr x21 outr x23 li x1 7 li x2 35 outr x1 outr x2 li x2 22 li x1 47 outr x1 outr x2 outr x1 outr x2 halt
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_21829_305.asm
ljhsiun2/medusa
9
22262
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r14 push %r9 push %rbx push %rdi push %rsi // Store lea addresses_normal+0x116a6, %r13 clflush (%r13) nop dec %rbx movb $0x51, (%r13) nop nop nop dec %rsi // Load mov $0xd29, %rdi nop nop nop nop and $...
source/xml/dom/matreshka-dom_attributes.adb
svn2github/matreshka
24
15390
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
src/_for_debug_purposes/apsepp-debug_trace_class-standard.ads
thierr26/ada-apsepp
0
14278
-- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. private with Apsepp.Debug_Trace_Class.Stub.Create; package Apsepp.Debug_Trace_Class.Standard is ---------------------------------------------------------------------------- protected type Debug_Trace_Standard is new Debug...
Transynther/x86/_processed/P/_ht_un_/i9-9900K_12_0xca.log_625_1489.asm
ljhsiun2/medusa
9
9184
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %r8 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1153c, %r11 nop nop nop cmp $4522, %rdx movl $0x61626364, (%r11) nop nop cmp $33816, %r8 lea addresses_UC_ht+0x18094, %r14 nop n...
gcc-gcc-7_3_0-release/gcc/ada/a-chtgbo.adb
best08618/asylo
7
11560
<reponame>best08618/asylo ------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- ...
test/Compiler/simple/Issue4169-2.agda
shlevy/agda
1,989
401
<filename>test/Compiler/simple/Issue4169-2.agda module _ where import Agda.Builtin.Equality open import Agda.Builtin.Sigma open import Agda.Builtin.Unit open import Agda.Primitive open import Common.IO data ⊥ : Set where record R₁ a : Set (lsuc a) where field R : {A : Set a} → A → A → Set a r : {A : Set a}...
components/src/screen/otm8009a/otm8009a.ads
rocher/Ada_Drivers_Library
192
22507
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
agda-stdlib/src/Algebra/Module/Definitions/Bi.agda
DreamLinuxer/popl21-artifact
5
2313
------------------------------------------------------------------------ -- The Agda standard library -- -- Properties connecting left-scaling and right-scaling ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Relation.Binary -- The properties ar...
oeis/092/A092763.asm
neoneye/loda-programs
11
14170
<reponame>neoneye/loda-programs ; A092763: a(n) = floor(3^n / n). ; 3,4,9,20,48,121,312,820,2187,5904,16104,44286,122640,341640,956593,2690420,7596480,21523360,61171656,174339220,498112057,1426411800,4093181688,11767897353,33891544377,97764070320,282429536481,817028301962,2366564736720,6863037736488,19924948267224,5790...
src/asm/interrupts.asm
antivir88/BasicOS
0
11996
section .text extern isr_handler extern irq_handler extern gdt_ptr extern idt_ptr global load_gdt global load_idt global load_tss ; Загрузчик GDT векторов load_gdt: lgdt [gdt_ptr] ; Загружает новый указатель GDT mov ax, 0x10 ; 0x10 является смещением, находящимся в таблице GDT и указываемым на...
programs/oeis/158/A158325.asm
neoneye/loda
22
2530
<filename>programs/oeis/158/A158325.asm ; A158325: a(n) = 484n^2 + 2n. ; 486,1940,4362,7752,12110,17436,23730,30992,39222,48420,58586,69720,81822,94892,108930,123936,139910,156852,174762,193640,213486,234300,256082,278832,302550,327236,352890,379512,407102,435660,465186,495680,527142,559572,592970,627336,662670,698972,...