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
test/Fail/Issue2964.agda
shlevy/agda
1,989
5323
<gh_stars>1000+ open import Agda.Builtin.Bool open import Agda.Builtin.Equality record R : Set₁ where field fun : (A : Set) → A → Bool → A ≡ Bool → Bool rule : ∀ x → fun Bool false x refl ≡ false open R test : R fun test .Bool true true refl = true fun test _ _ _ _ = false rule test x = refl
specs/ada/common/tkmrpc-response-ike-esa_select-convert.ads
DrenfongWong/tkm-rpc
0
30262
with Ada.Unchecked_Conversion; package Tkmrpc.Response.Ike.Esa_Select.Convert is function To_Response is new Ada.Unchecked_Conversion ( Source => Esa_Select.Response_Type, Target => Response.Data_Type); function From_Response is new Ada.Unchecked_Conversion ( Source => Response.Data_Type, ...
test/Succeed/Issue2727.agda
cruhland/agda
1,989
14141
module _ where open import Agda.Builtin.Equality using (_≡_; refl) -- First example -- module M (A : Set) where record R : Set where data D : Set where open R (record {}) postulate x : A F : D → Set₁ F _ rewrite refl {x = x} = Set -- Second example -- record ⊤ : Set where no-eta-equality ...
programs/oeis/062/A062720.asm
neoneye/loda
22
25471
<filename>programs/oeis/062/A062720.asm ; A062720: If n is odd then 2*n else prime(n). ; 2,3,6,7,10,13,14,19,18,29,22,37,26,43,30,53,34,61,38,71,42,79,46,89,50,101,54,107,58,113,62,131,66,139,70,151,74,163,78,173,82,181,86,193,90,199,94,223,98,229,102,239,106,251,110,263,114,271,118,281,122,293 mov $6,$0 mul $0,2 mov ...
src/arch/Ada/types-c.ads
PThierry/ewok-kernel
65
11628
<reponame>PThierry/ewok-kernel package types.c with spark_mode => on is type t_retval is (SUCCESS, FAILURE) with size => 8; for t_retval use (SUCCESS => 0, FAILURE => 1); -- -- C string -- type c_string is array (positive range <>) of aliased character; for c_string'component_size use char...
tests/clock/main.adb
Fabien-Chouteau/ASFML
0
6409
<reponame>Fabien-Chouteau/ASFML with Ada.Text_IO; use Ada.Text_IO; with Ada.Float_Text_IO; use Ada.Float_Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Sf.System.Clock; use Sf.System, Sf.System.Clock; with Sf.System.Sleep; use Sf.System.Sleep; with Sf.System.Time; use Sf.System...
src/Categories/Functor/Monoidal/Properties.agda
TOTBWF/agda-categories
0
5518
<gh_stars>0 {-# OPTIONS --without-K --safe #-} module Categories.Functor.Monoidal.Properties where open import Level open import Data.Product using (_,_) open import Categories.Category open import Categories.Category.Monoidal open import Categories.Category.Cartesian.Structure open import Categories.Functor renamin...
Cameras/DXMD/InjectableGenericCameraSystem/Interceptor.asm
Cyberim/InjectableGenericCameraSystem
623
24934
;//////////////////////////////////////////////////////////////////////////////////////////////////////// ;// Part of Injectable Generic Camera System ;// Copyright(c) 2017, <NAME> ;// All rights reserved. ;// https://github.com/FransBouma/InjectableGenericCameraSystem ;// ;// Redistribution and use in source and binar...
programs/oeis/055/A055565.asm
jmorken/loda
1
81757
; A055565: Sum of digits of n^4. ; 0,1,7,9,13,13,18,7,19,18,1,16,18,22,22,18,25,19,27,10,7,27,22,31,27,25,37,18,28,25,9,22,31,27,25,19,36,28,25,18,13,31,27,25,37,18,37,43,27,31,13,27,25,37,27,28,43,18,31,22,18,34,37,36,37,34,45,13,31,27,7 pow $0,4 lpb $0 mov $2,$0 div $0,10 mod $2,10 add $1,$2 lpe
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xa0.log_21829_459.asm
ljhsiun2/medusa
9
167238
<filename>Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xa0.log_21829_459.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x717b, %rsi lea addresses_normal_ht+0x1504b, %rdi clflush (%rdi) nop nop nop nop nop c...
programs/oeis/033/A033562.asm
neoneye/loda
22
244883
; A033562: a(n) = 2*n^3 + 1. ; 1,3,17,55,129,251,433,687,1025,1459,2001,2663,3457,4395,5489,6751,8193,9827,11665,13719,16001,18523,21297,24335,27649,31251,35153,39367,43905,48779,54001,59583,65537,71875,78609,85751,93313,101307,109745,118639,128001,137843,148177,159015,170369,182251,194673,207647,221185,235299,250001,2...
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/esx_disk_filemap.asm
jpoikela/z88dk
640
87086
<filename>libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/esx_disk_filemap.asm ; unsigned char esx_disk_filemap(uint8_t handle,struct esx_filemap *fmap) SECTION code_esxdos PUBLIC _esx_disk_filemap EXTERN l0_esx_disk_filemap_callee _esx_disk_filemap: pop de dec sp pop af pop hl push hl push af ...
game/data/stages/shelf/screen.asm
pompshuffle/super-tilt-bro
2
83354
stage_shelf_palette_data: ; Background .byt $21,$0d,$00,$10, $21,$0d,$00,$31, $21,$09,$19,$31, $21,$07,$17,$27 ; Sprites .byt $21,$08,$1a,$20, $21,$08,$10,$37, $21,$08,$16,$10, $21,$08,$28,$37 nametable_stage_shelf: .byt $00,$59 .byt .byt ...
beafix_benchmarks/A4F-1B/CV/cv_inv1_1.als
Kaixi26/org.alloytools.alloy
0
3274
abstract sig Source {} sig User extends Source { profile : set Work, visible : set Work } sig Institution extends Source {} sig Id {} sig Work { ids : some Id, source : one Source } // Specify the following invariants! // You can check their correctness with the different commands and // specifying a...
libsrc/_DEVELOPMENT/arch/sms/vdp/z80/__sms_vdp_reg_array.asm
jpoikela/z88dk
640
14663
INCLUDE "config_private.inc" SECTION rodata_arch PUBLIC __sms_vdp_reg_array __sms_vdp_reg_array: defb __SMS_VDP_R0 ; /* reg0: Mode 4 */ defb __SMS_VDP_R1 ; /* reg1: display OFF - frame int (vblank) ON */ defb ((__SMSLIB_PNTADDRESS & 0x3800) >> 10) + 0xf1 ; /* reg2: P...
ucle/core/tests/fnsim/frisc/isa/test_jra.asm
mcavrag/UCLE-ide
0
84004
<reponame>mcavrag/UCLE-ide ORG 0 JR SKIP MOVE 1, R0 SKIP ; assert R0 == 0 MOVE 5, SP C1 CMP SP, 4 JR_ULT T1 F1 MOVE 0, R1 JR C2 T1 MOVE 1, R1 ; assert R1 == 0 C2 CMP SP, 6 ...
programs/oeis/063/A063489.asm
neoneye/loda
22
14379
; A063489: a(n) = (2*n-1)*(5*n^2-5*n+6)/6. ; 1,8,30,77,159,286,468,715,1037,1444,1946,2553,3275,4122,5104,6231,7513,8960,10582,12389,14391,16598,19020,21667,24549,27676,31058,34705,38627,42834,47336,52143,57265,62712,68494,74621,81103,87950,95172,102779,110781,119188,128010,137257,146939,157066,167648,178695,190217,202...
libsrc/fcntl/sprinter/fdgetpos.asm
meesokim/z88dk
0
88695
<reponame>meesokim/z88dk ; Sprinter fcntl library ; ; $Id: fdgetpos.asm,v 1.2 2015/01/19 01:32:43 pauloscustodio Exp $ ; PUBLIC fdgetpos ;int fgetpos(int fd, long *dump) ; ;Dumps in dump the file position, and returns 0 if all went well .fdgetpos pop bc pop de ;dump pop hl ;fd push hl push ...
oeis/287/A287470.asm
neoneye/loda-programs
11
17815
<reponame>neoneye/loda-programs ; A287470: Decimal representation of the diagonal from the origin to the corner of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 276", based on the 5-celled von Neumann neighborhood. ; 1,0,6,0,28,0,120,0,496,0,2016,0,8128,0,32640,0,130816,0,523776,0,...
source.applescript
danhph/mac-translate-shortcut
0
536
-- AppleScript to translate selected text into Vietnamese using Google Translate (only Safari or Google Chrome) -- Made by <NAME> (<EMAIL>) at Jan 8, 2018 -- Updated at Jul 21, 2021: made it works with macOS 11.4 on run argv -- SETTINGS set googleTranslate to "https://translate.google.com" set desLang to ...
notes/fixed-points/Functors.agda
asr/fotc
11
4686
<reponame>asr/fotc {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism #-} {-# OPTIONS --without-K #-} -- Based on (Vene, 2000). module Functors where infixr 1 _+_ infixr 2 _×_ data Bool : Set where false true : Bool data _+_...
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0.log_21829_936.asm
ljhsiun2/medusa
9
20731
<filename>Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0.log_21829_936.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x10ade, %rcx nop nop nop lfence mov $0x6162636465666768, %rsi movq %rsi, %xmm1 vmovups %ymm1, (...
oeis/095/A095375.asm
neoneye/loda-programs
11
247320
; A095375: Total number of 1's in the binary expansions of the first n primes: summatory A014499. ; Submitted by <NAME> ; 1,3,5,8,11,14,16,19,23,27,32,35,38,42,47,51,56,61,64,68,71,76,80,84,87,91,96,101,106,110,117,120,123,127,131,136,141,145,150,155,160,165,172,175,179,184,189,196,201,206,211,218,223,230,232,236,240,2...
oeis/020/A020811.asm
neoneye/loda-programs
11
161767
<gh_stars>10-100 ; A020811: Decimal expansion of 1/sqrt(54). ; Submitted by <NAME>(s1.) ; 1,3,6,0,8,2,7,6,3,4,8,7,9,5,4,3,3,8,7,8,8,7,3,8,0,0,4,1,5,0,3,2,7,2,9,9,5,5,3,6,6,3,7,4,8,9,2,5,3,7,0,5,6,2,6,9,0,7,0,5,1,4,2,6,2,5,0,5,3,3,5,4,3,0,3,1,8,4,1,6,8,1,4,1,1,0,3,3,0,1,8,3,9,1,4,6,6,7,9,7 add $0,1 mov $1,2 mov $2,1 mo...
src/ada/src/services/arv/automation_request_validator.adb
manthonyaiello/OpenUxAS
0
19949
<reponame>manthonyaiello/OpenUxAS with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with AVTAS.LMCP.Types; with UxAS.Comms.LMCP_Net_Client; use UxAS.Comms.LMCP_Net_Client; package body Automation_Request_Validator with SPARK_Mode is ----------------------- -- Local Subprograms -- ------------------...
lib/resources/graphql.g4
guypeled76/petitparser_extras
0
3828
grammar Graphql; import GraphqlSDL, GraphqlOperation, GraphqlCommon; @header { package graphql.parser.antlr; } document : definition+; definition: operationDefinition | fragmentDefinition | typeSystemDefinition ;
cql/src/main/antlr4/com/datastax/oss/dsbulk/generated/cql3/Cql.g4
tarzanek/dsbulk
37
4381
/* * Copyright DataStax, 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/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
oeis/022/A022313.asm
neoneye/loda-programs
11
167980
; A022313: a(n) = a(n-1) + a(n-2) + 1, with a(0) = 0 and a(1) = 8. ; Submitted by <NAME>(s4) ; 0,8,9,18,28,47,76,124,201,326,528,855,1384,2240,3625,5866,9492,15359,24852,40212,65065,105278,170344,275623,445968,721592,1167561,1889154,3056716,4945871,8002588,12948460,20951049,33899510,54850560,88750071,143600632,23235070...
oeis/061/A061085.asm
neoneye/loda-programs
11
10309
<gh_stars>10-100 ; A061085: a(n) = A019550(n) / 3. ; Submitted by <NAME>(s2) ; 4,8,12,16,170,204,238,272,306,340,374,408,442,476,510,544,578,612,646,680,714,748,782,816,850,884,918,952,986,1020,1054,1088,1122,1156,1190,1224,1258,1292,1326,1360,1394,1428,1462,1496,1530,1564,1598,1632,1666 mov $2,$0 add $0,1 mov $1,$0 l...
oeis/072/A072650.asm
neoneye/loda-programs
11
11177
<reponame>neoneye/loda-programs ; A072650: Starting from the right (the least significant end) rewrite 0 to 0 and x1 to 1 in the binary expansion of n. ; Submitted by <NAME> ; 0,1,2,1,4,3,2,3,8,5,6,5,4,3,6,3,16,9,10,9,12,7,10,7,8,5,6,5,12,7,6,7,32,17,18,17,20,11,18,11,24,13,14,13,20,11,14,11,16,9,10,9,12,7,10,7,24,13,1...
Lab Quiz 4/160050064-labquiz4/xv6/test1.asm
vamsi3/IITB-Operating-Systems
6
12764
_test1: file format elf32-i386 Disassembly of section .text: 00000000 <main>: } } int main() { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 push %ebp b: 89 e5 ...
archive/agda-1/Foundation/Primitive.agda
m0davis/oscar
0
9665
module Foundation.Primitive where open import Agda.Primitive infix -65536 ℞_ ℞_ : ∀ ℓ → Set _ ℞_ ℓ = Set ℓ ⟰ : Level → Level ⟰ = lsuc infix -65536 ℞₁_ ℞₁_ : ∀ ℓ → Set _ ℞₁_ ℓ = ℞ ⟰ ℓ 𝟘 : Level 𝟘 = lzero open import Agda.Primitive using (_⊔_) public
src/Integer/Quotient.agda
nad/equality
3
15281
<filename>src/Integer/Quotient.agda ------------------------------------------------------------------------ -- Integers, defined using a quotient type ------------------------------------------------------------------------ {-# OPTIONS --erased-cubical --safe #-} import Equality.Path as P module Integer.Quotient ...
src/gl/interface/gl-errors.ads
Roldak/OpenGLAda
79
1465
<filename>src/gl/interface/gl-errors.ads -- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" private with GL.Low_Level; package GL.Errors is -- not Pure because Error_Flag can change with each call pragma Preelaborate; -- The behavior of this packag...
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_interfaces_navigation_h.ads
persan/A-gst
1
13544
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with glib; with System; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gststructure_h; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstquery_h; limited w...
projects/batfish/src/main/antlr4/org/batfish/grammar/fortios/Fortios_service.g4
yrll/batfish-repair
0
228
<filename>projects/batfish/src/main/antlr4/org/batfish/grammar/fortios/Fortios_service.g4 parser grammar Fortios_service; options { tokenVocab = FortiosLexer; } cf_service: SERVICE cfs_custom; cfs_custom: CUSTOM newline cfsc*; cfsc: cfsc_edit | cfsc_rename; cfsc_rename: RENAME current_name = service_name TO new_...
test/asset/agda-stdlib-1.0/Data/Graph/Acyclic.agda
omega12345/agda-mode
0
13738
------------------------------------------------------------------------ -- The Agda standard library -- -- Directed acyclic multigraphs ------------------------------------------------------------------------ -- A representation of DAGs, based on the idea underlying Martin -- Erwig's FGL. Note that this representatio...
src/online_optimizations.asm
mvdhout1992/ts-patches
33
89893
%include "macros/patch.inc" %include "macros/datatypes.inc" %include "TiberianSun.inc" gint LastRenderTime, 0 gint WFPRenderInterval, 16 ;;; Hack GscreenClass::Render, inspect the return pointer. If it's within Wait_for_players, then throttle ;;; Wait_For_Players function 5B2320 - 5B3235 %if 0 hack 0x004B95A0, 0x004...
src/libraries/Rewriters_Lib/tests/test_minimal_parenthesis.adb
selroc/Renaissance-Ada
1
17951
<filename>src/libraries/Rewriters_Lib/tests/test_minimal_parenthesis.adb with AUnit.Assertions; use AUnit.Assertions; with Libadalang.Analysis; use Libadalang.Analysis; with Libadalang.Common; use Libadalang.Common; with Rejuvenation.Simple_Factory;...
test/Succeed/Issue2408.agda
shlevy/agda
1,989
16444
<reponame>shlevy/agda -- Andreas, 2017-01-18, issue #2408 -- DLubs were not serialized, thus, there was a problem with -- level dependent on irrelevant values. {-# OPTIONS --show-irrelevant #-} -- {-# OPTIONS -v tc:70 #-} open import Agda.Primitive postulate A : Set l : .(a : A) → Level F : .(a : A) → Set (l...
release/src-rt-6.x.4708/router/gmp/mpn/arm/bdiv_dbm1c.asm
afeng11/tomato-arm
5
247008
<reponame>afeng11/tomato-arm<filename>release/src-rt-6.x.4708/router/gmp/mpn/arm/bdiv_dbm1c.asm dnl ARM mpn_bdiv_dbm1c. dnl Copyright 2008, 2011, 2012 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl ...
src/annee.adb
zdimension/tdinfo302
0
23531
<filename>src/annee.adb package body annee is function Est_Bissextile (Annee : Integer) return Boolean is begin return (Annee Mod 4 = 0 And Annee Mod 100 /= 0) Or Annee Mod 400 = 0; end Est_Bissextile; end annee;
awa/plugins/awa-changelogs/src/awa-changelogs-modules.adb
fuzzysloth/ada-awa
81
7707
<gh_stars>10-100 ----------------------------------------------------------------------- -- awa-changelogs-modules -- Module changelogs -- Copyright (C) 2014 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance...
EEL7030/Rep CAEE/Mic 8051/Lab02/exercicio2/Lab2.2.asm
GSimas/MicroC
0
92368
RESET EQU 0H VETOR EQU 60H ORG RESET MOV R3,#0 MOV DPTR,#NRO ; endereco nro parcelas a ser somado MOV A,#0 MOVC A,@A+DPTR JZ FIM MOV R1,A ; R1 = nro parcelas a ser somado MOV DPTR,#DADOS ; dados a serem somados MOV R2,#0 ; guarda resultado VOLTA: MOV A,R3 MOVC A,@A+DPTR ; le parcela...
test/fail/UnquoteSetOmega.agda
larrytheliquid/agda
1
3718
{-# OPTIONS --universe-polymorphism #-} open import Common.Prelude open import Common.Level open import Common.Reflect module UnquoteSetOmega where `Level : Term `Level = def (quote Level) [] ``Level : Type ``Level = el (lit 0) `Level -- while building the syntax of ∀ ℓ → Set ℓ (of type Setω) is harmless `∀ℓ→Setℓ :...
DemoKeypad.asm
igormiktor/ASM_Playground
0
8593
<reponame>igormiktor/ASM_Playground<gh_stars>0 ; *********************************************************************************** ; ; Operate an 4x4 KeyPad ; Detect key hit and flash LEDs accordingly. ; ; The MIT License (MIT) ; ; Copyright (c) 2020 <NAME> ; ; Permission is hereby granted, free of cha...
cast-inert.agda
hazelgrove/hazelnut-agda
0
2561
open import Nat open import Prelude open import dynamics-core open import contexts open import typed-elaboration open import lemmas-gcomplete open import lemmas-complete open import progress-checks open import finality module cast-inert where -- if a term is compelete and well typed, then the casts inside are all ...
tests/src/test_utils-abstract_decoder.ads
Fabien-Chouteau/COBS
0
1828
package Test_Utils.Abstract_Decoder is subtype Parent is Test_Utils.Abstract_Data_Processing; type Instance is abstract limited new Parent with private; type Acc is access all Instance; type Any_Acc is access all Instance'Class; procedure Receive (This : in out Instance; Data : ...
ecdsa128/src/SHA1_src/SHA1_VS/src/SHA_short.asm
FloydZ/Crypto-Hash
11
241690
<filename>ecdsa128/src/SHA1_src/SHA1_VS/src/SHA_short.asm ; Very simple wrapper for SHA1ShortMsg.txt ; ; Note: ; First message on list has length ZERO, however its represented in test vectors as string 00. ; This wrapper reads *ONLY* messages and valid hashes from test vectors, THE LENGHT OF MESSAGES ; IS DIRECTLY COMP...
data/mapHeaders/VermilionDock.asm
AmateurPanda92/pokemon-rby-dx
9
4647
VermilionDock_h: db SHIP_PORT ; tileset db VERMILION_DOCK_HEIGHT, VERMILION_DOCK_WIDTH ; dimensions (y, x) dw VermilionDock_Blocks ; blocks dw VermilionDock_TextPointers ; texts dw VermilionDock_Script ; scripts db 0 ; connections dw VermilionDock_Object ; objects
lib/src/main/antlr/com/github/matanki_saito/rico/antlr/Pdx.g4
matanki-saito/pdx-txt-java
0
849
<filename>lib/src/main/antlr/com/github/matanki_saito/rico/antlr/Pdx.g4 grammar Pdx; @header { package com.github.matanki_saito.rico.antlr; } // lexer COMMENT: '#' ~('\n'|'\r')* ('\r\n' | '\r' | '\n' | EOF) -> skip; // "ABC" "" "\n" "ABC\nCBA" "cat and dog" WRAP_STRING: '"' CHAR* '"'; // space is ignored SPACE: ...
Rings/Irreducibles/Definition.agda
Smaug123/agdaproofs
4
12600
<reponame>Smaug123/agdaproofs<gh_stars>1-10 {-# OPTIONS --safe --warning=error --without-K #-} open import LogicalFormulae open import Setoids.Setoids open import Rings.Definition open import Rings.IntegralDomains.Definition open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) module Rings.Irreducibles.Definit...
content/blog/code-os-0000/source.asm
anonimato404/himself65.github.io
0
247245
<gh_stars>0 bits 16 ; 16位编译 org 0x7c00 ; 从0x7c00是起始地址 boot: mov si, hello ; hello的地址传给si寄存器(Source Index Register) mov ah, 0x0e ; .loop: lodsb ; or al, al ; jz halt ; int 0x10 ; jmp .loop ; halt: cli ; hlt ; hello...
examples/x86/doubleBTI/dblbti_attacker.asm
JesseDeMeulemeester/speculator
42
171618
; Copyright 2021 IBM Corporation ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apache.org/licenses/LICENSE-2.0 ; ; Unless required by applicable law or agreed to in writi...
Task/100-doors/Ada/100-doors-1.ada
mullikine/RosettaCodeData
1
7608
with Ada.Text_Io; use Ada.Text_Io; procedure Doors is type Door_State is (Closed, Open); type Door_List is array(Positive range 1..100) of Door_State; The_Doors : Door_List := (others => Closed); begin for I in 1..100 loop for J in The_Doors'range loop if J mod I = 0 then ...
sharding-core/sharding-core-parse/sharding-core-parse-sqlserver/src/main/antlr4/imports/sqlserver/DCLStatement.g4
minli04g/incubator-shardingsphere
1
1201
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
openal-extension-efx.adb
io7m/coreland-openal-ada
1
25616
with OpenAL.Thin; with OpenAL.ALC_Thin; package body OpenAL.Extension.EFX is -- -- Auxiliary_Effect_Slot_Is_Valid -- function Auxiliary_Effect_Slot_Is_Valid (Extension : in Extension_t; Slot : in Auxiliary_Effect_Slot_t) return Boolean is begin Check_Loaded (Extension); return Boolea...
oeis/031/A031908.asm
neoneye/loda-programs
11
18386
; A031908: a(n) = prime(8*n - 5). ; Submitted by <NAME> ; 5,31,67,103,149,191,233,277,331,379,431,467,523,587,631,677,739,797,853,907,967,1019,1063,1117,1187,1237,1297,1367,1433,1483,1543,1597,1637,1709,1777,1847,1901,1979,2027,2087,2141,2221,2281,2341,2389,2447,2539,2609,2671,2711,2767,2833,2897,2963,3037,3109,3187,32...
programs/oeis/047/A047553.asm
neoneye/loda
22
26518
<gh_stars>10-100 ; A047553: Numbers that are congruent to {0, 2, 6, 7} mod 8. ; 0,2,6,7,8,10,14,15,16,18,22,23,24,26,30,31,32,34,38,39,40,42,46,47,48,50,54,55,56,58,62,63,64,66,70,71,72,74,78,79,80,82,86,87,88,90,94,95,96,98,102,103,104,106,110,111,112,114,118,119,120,122,126 mov $1,$0 mul $0,7 mod $0,4 mod $0,3 mov $...
notes/engines/list_open_safari_tabs.applescript
idcrook/weeker_raytracer
19
4710
<gh_stars>10-100 #! /usr/bin/osascript ## -*- apples -*- tell application "Safari" --Variables set windowCount to number of windows set docText to "" --Repeat for Every Window repeat with x from 1 to windowCount set tabcount to number of tabs in window x --Repeat for Every Tab i...
antlr4/src/main/antlr4/JSON.g4
dijkspicy/coding-demo
0
2370
<filename>antlr4/src/main/antlr4/JSON.g4 grammar JSON; @header { package dijkspicy.demo.antlr4.parser; } // parser json: object | array ; object : '{' pair (',' pair)* '}' #object_normal | '{' '}' #object_empty ; array : '[' value (',' value)* ']' #array_normal | '[' ']' ...
programs/oeis/017/A017029.asm
karttu/loda
1
101137
<filename>programs/oeis/017/A017029.asm<gh_stars>1-10 ; A017029: a(n) = 7*n + 4. ; 4,11,18,25,32,39,46,53,60,67,74,81,88,95,102,109,116,123,130,137,144,151,158,165,172,179,186,193,200,207,214,221,228,235,242,249,256,263,270,277,284,291,298,305,312,319,326,333,340,347,354,361,368,375,382,389,396,403,410,417,424,431,438,...
vdplib.asm
traidna/MUMPS-TI99-4A
0
21838
<filename>vdplib.asm ; vdp single byte read ; inputs: r0=address in vdp to read, r1(msb), the byte read from vdp ; side effects: none vsbr: swpb r0 ; get low byte of address movb r0,@8C02h ; write it to vdp address register swpb r0 ; get high byte andi r0,03FF...
apple-scripts/iTermStable/iTerm2-stable-new-tab-default.applescript
desynced/legendary-octo-broccoli
0
1890
--for testing uncomment the "on run" block --on run -- set argsCmd to "ps aux | grep xcode" -- set argsTheme to "Homebrew" -- set argsTitle to "Custom title" -- scriptRun(argsCmd, argsTheme, argsTitle) --end run on scriptRun(argsCmd, argsTheme, argsTitle) set withCmd to (argsCmd) set withTheme to (argsTheme) set th...
Relation/Binary/Construct/Decision.agda
oisdk/agda-playground
6
16634
{-# OPTIONS --cubical --safe #-} open import Prelude open import Relation.Binary module Relation.Binary.Construct.Decision {a ℓ₁ ℓ₂} {A : Type a} (ord : TotalOrder A ℓ₁ ℓ₂) where open TotalOrder ord renaming (refl to ≤-refl) _<′_ : A → A → Type x <′ y = T (does (x <? y)) _≤′_ : A → A → Type x ≤′ y = T (not (...
generated/natools-static_maps-s_expressions-templates-dates.ads
faelys/natools
0
11807
-- Generated at 2015-06-24 18:19:13 +0000 by Natools.Static_Hash_Maps -- from src/natools-s_expressions-templates-dates-maps.sx package Natools.Static_Maps.S_Expressions.Templates.Dates is pragma Pure; type Main_Command is (Error, Year, Month, Day, Hour, Minute, Second, Padded_Month, Padded_D...
Library/SpecUI/CommonUI/CWin/cwinWinIcon.asm
steakknife/pcgeos
504
14839
COMMENT @----------------------------------------------------------------------- Copyright (c) GeoWorks 1988 -- All Rights Reserved PROJECT: PC GEOS MODULE: CommonUI/CWin (common code for several specific ui's) FILE: cwinWinIcon.asm ROUTINES: Name Description ---- ----------- OLWinIconClass Ico...
awa/plugins/awa-votes/src/awa-votes-beans.adb
fuzzysloth/ada-awa
81
9361
<filename>awa/plugins/awa-votes/src/awa-votes-beans.adb ----------------------------------------------------------------------- -- awa-votes-beans -- Beans for module votes -- Copyright (C) 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may n...
libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_fsmin_fastcall.asm
rjcorrig/z88dk
0
27810
<reponame>rjcorrig/z88dk ; float __fsmin_fastcall (float number) SECTION code_clib SECTION code_math PUBLIC cm32_sdcc_fsmin_fastcall EXTERN m32_fsmin_fastcall ; change underflow to a error floating zero as sdcc float ; ; enter : stack = sdcc_float number, ret ; ; exit : DEHL = sdcc_float(0) ...
programs/oeis/176/A176593.asm
karttu/loda
0
160230
; A176593: List of pairs n,13*n. ; 1,13,2,26,3,39,4,52,5,65,6,78,7,91,8,104,9,117,10,130,11,143,12,156,13,169,14,182,15,195,16,208,17,221,18,234,19,247,20,260,21,273,22,286,23,299,24,312,25,325,26,338,27,351,28,364,29,377,30,390,31,403,32,416,33,429,34,442,35,455,36,468,37,481,38,494,39,507,40,520,41,533,42,546,43,559,...
libsrc/_DEVELOPMENT/math/float/math16/c/sccz80/cm16_sccz80_exp2.asm
ahjelm/z88dk
640
242607
<filename>libsrc/_DEVELOPMENT/math/float/math16/c/sccz80/cm16_sccz80_exp2.asm<gh_stars>100-1000 SECTION code_fp_math16 PUBLIC cm16_sccz80_exp2 EXTERN cm16_sccz80_read1, exp2f16 cm16_sccz80_exp2: call cm16_sccz80_read1 jp exp2f16
s-crtl.ads
ytomino/gnat4drake
0
15325
<gh_stars>0 pragma License (Unrestricted); with C.stdlib; package System.CRTL is pragma Preelaborate; subtype size_t is C.size_t; -- Other C runtime functions procedure free (Ptr : System.Address) renames C.stdlib.free; function malloc (Size : size_t) return System.Address renames C.stdl...
data/baseStats_original/nidorina.asm
adhi-thirumala/EvoYellow
16
2549
<reponame>adhi-thirumala/EvoYellow db DEX_NIDORINA ; pokedex id db 70 ; base hp db 62 ; base attack db 67 ; base defense db 56 ; base speed db 55 ; base special db POISON ; species type 1 db POISON ; species type 2 db 120 ; catch rate db 117 ; base exp yield INCBIN "pic/ymon/nidorina.pic",0,1 ; 66, sprite dimensions dw...
assembly_code/chp4_01.asm
Nabeegh-Ahmed/BelalHashmi-Assembly-Exercise-Solutions
104
98464
<gh_stars>100-1000 [org 0x0100] jmp start _bits: dw 0,0 start: mov ax, 0xA891 mov cx, 0 mov bx, 1000000000000000b ;Mask to test a particular bit mov dx, 1100000000000000b ;Mask used to take xor of the two different bits which will swap them mov si, 0 mov di, 0 loop1: cmp bx,0 jz end...
source/contexts/plain/program-plain_compilations.ads
optikos/oasis
0
30595
<gh_stars>0 -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with System.Storage_Pools.Subpools; with Program.Compilation_Units; with Program.Compilations; with Program.Contexts; with Program.Lexical...
examples/linux/src/main.adb
jonashaggstrom/ada-canopen
6
3849
pragma Profile (Ravenscar); with GNAT.Command_Line; with App; procedure Main is function Run_Remote_Node return Boolean is begin loop case GNAT.Command_Line.Getopt ("r") is when 'r' => return True; when others => exit; end ca...
demo/adainclude/s-bbcppr.adb
e3l6/SSMDev
0
126
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2743.asm
ljhsiun2/medusa
9
3797
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xc5dd, %r9 nop add $4522, %r15 movw $0x6162, (%r9) nop cmp $11080, %rbp lea addresses_WC_ht+0x154c5, %r8 nop nop nop sub %rbp, %rbp mov $0x6162636465666768,...
oeis/066/A066843.asm
neoneye/loda-programs
11
176632
<reponame>neoneye/loda-programs ; A066843: a(n) = Product_{k=1..n} d(k); d(k) is the number of positive divisors of k. ; Submitted by <NAME>(s4) ; 1,2,4,12,24,96,192,768,2304,9216,18432,110592,221184,884736,3538944,17694720,35389440,212336640,424673280,2548039680,10192158720,40768634880,81537269760,652298158080,1956894...
src/dw1000-generic_rw_register_driver.adb
SALLYPEMDAS/DW1000
9
21640
<reponame>SALLYPEMDAS/DW1000 ------------------------------------------------------------------------------- -- Copyright (c) 2016 <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 Soft...
source/amf/ocl/amf-internals-tables-ocl_string_data_00.ads
svn2github/matreshka
24
7648
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
src/glfw/v3/glfw-windows-context.adb
Roldak/OpenGLAda
79
30662
-- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with Glfw.API; with Glfw.Enums; package body Glfw.Windows.Context is procedure Make_Current (Window : access Glfw.Windows.Window'Class) is begin if not Window.Initialized then -- null i...
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sccz80/hypot_callee.asm
jpoikela/z88dk
0
173422
SECTION code_fp_math32 PUBLIC hypot_callee EXTERN cm32_sccz80_hypot_callee defc hypot_callee = cm32_sccz80_hypot_callee ; SDCC bridge for Classic IF __CLASSIC PUBLIC _hypot_callee defc _hypot_callee = hypot_callee ENDIF
programs/oeis/260/A260181.asm
karttu/loda
0
88371
<reponame>karttu/loda ; A260181: Numbers whose last digit is prime. ; 2,3,5,7,12,13,15,17,22,23,25,27,32,33,35,37,42,43,45,47,52,53,55,57,62,63,65,67,72,73,75,77,82,83,85,87,92,93,95,97,102,103,105,107,112,113,115,117,122,123,125,127,132,133,135,137,142,143,145,147,152,153,155,157,162,163,165,167,172,173,175,177,182,18...
tests/inline-lisp.asm
SvenMichaelKlose/bender
2
170096
@nil @(progn (format t "~LPrinting something from inlined Lisp expression.~%") (asm "jmp $1234")) @(progn (defmacro test-asm-macro () '(asm "lda #0 tax tay" "txs")) nil) @(test-asm-macro)
CpuA32/TestData/switch.asm
robertmuth/Cwerg
171
18279
############################################################ # CodeGen exit ############################################################ # REGSTATS exit glo: 0 0 loc: 0 1 # glo_lac [] # glo_not _lac [] # sig: IN: [U32] -> OUT: [] stk_size:0 .fun exit 16 # live-out sp] .bbl start 4 str_im...
oeis/037/A037547.asm
neoneye/loda-programs
11
90152
; A037547: Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,2. ; 1,8,50,301,1808,10850,65101,390608,2343650,14061901,84371408,506228450,3037370701,18224224208,109345345250,656072071501,3936432429008,23618594574050,141711567444301,850269404665808,5101616427994850 seq $0,33...
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2_notsx.log_21829_1417.asm
ljhsiun2/medusa
9
171104
<filename>Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2_notsx.log_21829_1417.asm .global s_prepare_buffers s_prepare_buffers: push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x179c1, %rbp nop nop nop nop nop dec %rdx movups (%rbp), %xmm6 vpextrq $1, %xmm6, %r9 add %rdx, %rdx l...
src/Categories/Category/Construction/EilenbergMoore.agda
MirceaS/agda-categories
0
3873
<reponame>MirceaS/agda-categories<filename>src/Categories/Category/Construction/EilenbergMoore.agda {-# OPTIONS --without-K --safe #-} open import Categories.Category open import Categories.Monad module Categories.Category.Construction.EilenbergMoore {o ℓ e} {C : Category o ℓ e} (M : Monad C) where open import Level...
tests/bank_bits/2.asm
NullMember/customasm
414
15648
<filename>tests/bank_bits/2.asm<gh_stars>100-1000 #bankdef bits8 { #bits 8 #addr 0x0 #size 0x8 #outp 0x0 } #bankdef bits16 { #bits 16 #addr 0x0 #size 0x8 #outp 8 * 0x8 } #bank bits8 #d8 -1 #res 1 #d8 -1 #bank bits16 #d16 -1 #res 1 #d16 -1 #bank bits8 #res 1 #d8 -1 ; = 0xff00ff00ff0000...
oeis/028/A028994.asm
neoneye/loda-programs
11
9612
; A028994: Even 10-gonal (or decagonal) numbers. ; 0,10,52,126,232,370,540,742,976,1242,1540,1870,2232,2626,3052,3510,4000,4522,5076,5662,6280,6930,7612,8326,9072,9850,10660,11502,12376,13282,14220,15190,16192,17226,18292,19390,20520,21682,22876,24102,25360,26650,27972,29326,30712,32130,33580,35062,36576,38122,39700,41...
Transynther/x86/_processed/NONE/_ht_zr_/i7-7700_9_0x48.log_21829_2287.asm
ljhsiun2/medusa
9
174520
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0xe96a, %rdx nop nop nop nop xor $31938, %rbx mov (%rdx), %esi nop nop nop nop nop and %r10, %r10 lea addresses_WC_ht+0xcc0a, %rsi lea addresses_UC_ht+0x18f8e, %rdi nop su...
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_fzx_tty_z88dk/zx_01_output_fzx_tty_z88dk_18_flash.asm
jpoikela/z88dk
640
14998
SECTION code_driver SECTION code_driver_terminal_output PUBLIC zx_01_output_fzx_tty_z88dk_18_flash zx_01_output_fzx_tty_z88dk_18_flash: ; change flash bit of foreground colour ; de = parameters * ld a,(de) and $01 rrca ld e,a ld a,(ix+52) ; a = foreground colour an...
programs/oeis/328/A328005.asm
neoneye/loda
22
1209
<gh_stars>10-100 ; A328005: Number of distinct coefficients in functional composition of 1 + x + ... + x^(n-1) with itself. ; 0,1,2,4,8,13,19,25,33,41,51,61,73,85,99,113,129,145,163,181,201,221,243,265,289,313,339,365,393,421,451,481,513,545,579,613,649,685,723,761,801,841,883,925,969,1013,1059,1105,1153,1201,1251,1301...
test/add.asm
CrackerCat/AssemblyLine
0
161450
<reponame>CrackerCat/AssemblyLine<filename>test/add.asm SECTION .text GLOBAL test test: add al, 0x0 add ax, 0xe1 add eax, 0xe11 add sil, 0x0 add si, 0xe1 add esi, 0xe11 add rax, 0xfffee12 add rax, 0xff6ee12 add rax, 0xf66ee12 add rax, 0x666ee12 add rax, 0x6666ee12 add rax, -0x1 add rax, -0xfffee12 add rax, -0xff6ee12 a...
test-files/fat_mod_B.asm
bandreghetti/SB_2018-2
0
160297
MOD_B: BEGIN SECTION TEXT FAT: EXTERN N: EXTERN PUBLIC MOD_B STORE AUX MULT N STORE N LOAD AUX JMP FAT SECTION BSS AUX: SPACE END
programs/oeis/052/A052521.asm
karttu/loda
0
100529
<filename>programs/oeis/052/A052521.asm ; A052521: Number of pairs of sequences of cardinality at least 3. ; 0,0,0,0,0,0,720,10080,120960,1451520,18144000,239500800,3353011200,49816166400,784604620800,13076743680000,230150688768000,4268249137152000 mov $1,$0 fac $0 sub $1,5 mul $1,$0
week_07/MemoryAccess/BasicTest/BasicTest.asm
DaviNakamuraCardoso/nand2tetris
0
93857
// // This file is part of www.nand2tetris.org // // and the book "The Elements of Computing Systems" // // by <NAME>, MIT Press. // // File name: projects/07/MemoryAccess/BasicTest/BasicTest.vm // // // Executes pop and push commands using the virtual memory segments. // push constant 10 @10 D=A @SP A=M...
Validation/pyFrame3DD-master/gcc-master/gcc/ada/contracts.adb
djamal2727/Main-Bearing-Analytical-Model
0
15336
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
test/Fail/Issue4390irrelevance-subtyping.agda
cruhland/agda
1
10071
<gh_stars>1-10 {-# OPTIONS --subtyping #-} open import Agda.Builtin.Equality postulate A : Set mutual I : (A -> A) → .A → A I f = _ testQ : {f : .A -> A} → I f ≡ f testQ = refl