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
Task/Y-combinator/AppleScript/y-combinator.applescript
djgoku/RosettaCodeData
0
92
to |Y|(f) script x to funcall(y) script to funcall(arg) y's funcall(y)'s funcall(arg) end funcall end script f's funcall(result) end funcall end script x's funcall(x) end |Y| script to funcall(f) script to funcall(n) if n = 0 then return 1 ...
firmware/coreboot/3rdparty/libhwbase/common/hw-pci-mmconf.ads
fabiojna02/OpenCellular
1
7813
<reponame>fabiojna02/OpenCellular<gh_stars>1-10 -- -- Copyright (C) 2017 <NAME> <<EMAIL>> -- -- This program 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 of the License, or -- (at your op...
oeis/201/A201838.asm
neoneye/loda-programs
11
87723
<gh_stars>10-100 ; A201838: G.f.: imaginary part of 1/(1 - i*x - i*x^2) where i=sqrt(-1). ; Submitted by <NAME> ; 0,1,1,-1,-3,-2,4,9,3,-15,-25,0,52,65,-27,-169,-155,158,520,321,-681,-1519,-481,2560,4200,-79,-8839,-10881,4797,28638,25804,-27351,-87877,-52895,116775,256000,76892,-436655,-705667,26871,1502085,1821118,-850...
src/regex-state_machines.ads
skordal/ada-regex
2
28828
-- Ada regular expression library -- (c) <NAME> 2020 <<EMAIL>> -- Report bugs and issues on <https://github.com/skordal/ada-regex> with Ada.Containers.Vectors; with Ada.Finalization; with Regex.Syntax_Trees; with Regex.Utilities.Sorted_Sets; package Regex.State_Machines is -- Input symbol type: type Input...
pkgs/tools/yasm/src/modules/arch/x86/tests/gas32/gas32-jmpcall.asm
manggoguy/parsec-modified
2,151
170208
<gh_stars>1000+ call foo calll foo jmp foo #jmpl foo
source/league/league-json-documents.adb
svn2github/matreshka
24
7494
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
programs/oeis/126/A126420.asm
karttu/loda
1
87075
; A126420: a(n) = n^3 - n - 1. ; -1,5,23,59,119,209,335,503,719,989,1319,1715,2183,2729,3359,4079,4895,5813,6839,7979,9239,10625,12143,13799,15599,17549,19655,21923,24359,26969,29759,32735,35903,39269,42839,46619,50615,54833,59279,63959,68879,74045,79463,85139,91079,97289,103775,110543,117599,124949,132599,140555,14882...
Assembly Microbenchmarks/addTest.asm
idn0971/HLS_Benchmarking
0
19603
addi t0, zero, 10
string_ops.adb
davidkristola/vole
4
10159
<filename>string_ops.adb<gh_stars>1-10 -- public domain with Ada.Calendar; with Ada.Characters.Latin_1; with Ada.Strings.Maps.Constants; with Ada.Strings.Maps; with Ada.Strings.Fixed; with Ada.Text_IO; with Interfaces; package body String_Ops is use type Interfaces.Unsigned_32; use type Ada.Strings.Maps.Charact...
programs/oeis/047/A047614.asm
jmorken/loda
1
100452
; A047614: Numbers that are congruent to {0, 1, 2, 4, 5} mod 8. ; 0,1,2,4,5,8,9,10,12,13,16,17,18,20,21,24,25,26,28,29,32,33,34,36,37,40,41,42,44,45,48,49,50,52,53,56,57,58,60,61,64,65,66,68,69,72,73,74,76,77,80,81,82,84,85,88,89 mov $2,$0 lpb $0 mul $0,2 div $0,5 mov $3,$0 mov $0,2 add $1,6 mul $1,$3 di...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_158_2032.asm
ljhsiun2/medusa
9
105490
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0xa27d, %rbx nop nop nop xor %rbp, %rbp mov (%rbx), %r13d nop nop nop nop and %r14, %r14 lea addresses_WT_ht+0x155bd, %rsi lea addresses_A_ht+0x8dbd, %rdi nop nop xor $19829, %r14 mov $7...
agda/MorePropAlgebra/Structures.agda
mchristianl/synthetic-reals
3
6634
{-# OPTIONS --cubical --no-import-sorts #-} module MorePropAlgebra.Structures where open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero) private variable ℓ ℓ' ℓ'' : Level open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc) open import Cubical.Rela...
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_16016_610.asm
ljhsiun2/medusa
9
15143
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %r14 push %r15 push %rbx lea addresses_WT_ht+0x14fb3, %r10 sub %r12, %r12 mov (%r10), %bx nop nop inc %r11 lea addresses_A_ht+0x1dbb3, %r14 clflush (%r14) nop nop nop add $28792, %r13 movb $0x61, (%r14) nop nop nop add %r13, %r13 ...
oeis/302/A302576.asm
neoneye/loda-programs
11
28766
; A302576: Numbers k such that k/10 + 1 is a square. ; -10,0,30,80,150,240,350,480,630,800,990,1200,1430,1680,1950,2240,2550,2880,3230,3600,3990,4400,4830,5280,5750,6240,6750,7280,7830,8400,8990,9600,10230,10880,11550,12240,12950,13680,14430,15200,15990,16800,17630,18480,19350,20240,21150,22080,23030,24000,24990,26000,...
oeis/005/A005713.asm
neoneye/loda-programs
11
97680
; A005713: Define strings S(0)=0, S(1)=11, S(n) = S(n-1)S(n-2); iterate. ; Submitted by <NAME> ; 1,1,0,1,1,1,1,0,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,0,1,1,1,1,0,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,0,1,1,1,1,0,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,0,1,1,1,1,0,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,0 seq $0,139764 ; Smalle...
libsrc/math/genmath/odd.asm
andydansby/z88dk-mk2
1
91600
<reponame>andydansby/z88dk-mk2 ; Small C+ Math Library - Support routine ; Negate a fp number push address XLIB odd LIB minusfa ; ; negate FA, and push address of MINUSFA ; called to evaluate functions f(x) when the argument is ; negative and f() sa...
programs/oeis/165/A165157.asm
neoneye/loda
22
19434
; A165157: Zero followed by partial sums of A133622. ; 0,1,3,4,7,8,12,13,18,19,25,26,33,34,42,43,52,53,63,64,75,76,88,89,102,103,117,118,133,134,150,151,168,169,187,188,207,208,228,229,250,251,273,274,297,298,322,323,348,349,375,376,403,404,432,433,462,463,493,494,525,526,558,559,592,593,627,628,663,664,700,701,738,739...
Platforms/OvmfPkg/ResetVector/Ia16/ResetVectorVtf0.asm
spbrogan/mu_tiano_platforms
0
99388
;------------------------------------------------------------------------------ ; @file ; First code executed by processor after resetting. ; Derived from UefiCpuPkg/ResetVector/Vtf0/Ia16/ResetVectorVtf0.asm ; ; Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clau...
oeis/142/A142784.asm
neoneye/loda-programs
11
100246
; A142784: Primes congruent to 57 mod 59. ; Submitted by <NAME> ; 293,647,883,1237,1709,2063,2417,3361,3833,4423,5839,6311,6547,7019,7727,7963,8081,8317,9497,9733,9851,10559,11149,11503,11621,12211,12329,12919,13037,13627,15161,16223,16931,17167,18229,18583,18701,19763,20117,20353,20707,21061,21179,22123,23539,23893,24...
base/crts/crtw32/misc/i386/setjmp3.asm
npocmaka/Windows-Server-2003
17
179389
<filename>base/crts/crtw32/misc/i386/setjmp3.asm<gh_stars>10-100 ;*** ;setjmp3.asm ; ; Copyright (C) 1994-2001, Microsoft Corporation. All rights reserved. ; ;Purpose: ; Contains setjmp(), longjmp() & raisex() routines; ; split from exsup.asm for granularity purposes. ; ;Notes: ; ;Revision History: ; 01-12-...
src/sound.ads
Fabien-Chouteau/motherlode
2
19790
-- Motherlode -- Copyright (c) 2020 <NAME> package Sound is procedure Tick; procedure Play_Coin; procedure Play_Drill; procedure Play_Music; procedure Stop_Music; end Sound;
oeis/002/A002467.asm
neoneye/loda-programs
11
241356
<reponame>neoneye/loda-programs ; A002467: The game of Mousetrap with n cards (given n letters and n envelopes, how many ways are there to fill the envelopes so that at least one letter goes into its right envelope?). ; Submitted by <NAME> ; 0,1,1,4,15,76,455,3186,25487,229384,2293839,25232230,302786759,3936227868,5510...
programs/oeis/051/A051125.asm
neoneye/loda
22
7308
<filename>programs/oeis/051/A051125.asm ; A051125: Table T(n,k) = max{n,k} read by antidiagonals (n >= 1, k >= 1). ; 1,2,2,3,2,3,4,3,3,4,5,4,3,4,5,6,5,4,4,5,6,7,6,5,4,5,6,7,8,7,6,5,5,6,7,8,9,8,7,6,5,6,7,8,9,10,9,8,7,6,6,7,8,9,10,11,10,9,8,7,6,7,8,9,10,11,12,11,10,9,8,7,7,8,9,10,11,12,13,12,11,10,9,8,7,8,9,10,11,12,13,1...
data/pokemon/base_stats/muk.asm
opiter09/ASM-Machina
1
91138
<filename>data/pokemon/base_stats/muk.asm db DEX_MUK ; pokedex id db 105, 105, 75, 50, 65 ; hp atk def spd spc db POISON, POISON ; type db 75 ; catch rate db 157 ; base exp INCBIN "gfx/pokemon/front/muk.pic", 0, 1 ; sprite dimensions dw MukPicFront, MukPicBack db POUND, DISABLE, POISON_GAS, NO_MOV...
programs/oeis/065/A065739.asm
neoneye/loda
22
175344
<filename>programs/oeis/065/A065739.asm ; A065739: Largest square <= sum of first n squares. ; 1,4,9,25,49,81,121,196,256,361,484,625,784,961,1225,1444,1764,2025,2401,2809,3249,3721,4225,4900,5476,6084,6889,7569,8464,9409,10404,11236,12321,13456,14884,16129,17424,18769,20449,21904,23716,25281,27225,29241,31329,33489,35...
lib/Haskell/Prim.agda
dxts/agda2hs
55
9648
{-# OPTIONS --no-auto-inline #-} -- Basic things needed by other primitive modules. module Haskell.Prim where open import Agda.Primitive open import Agda.Builtin.Bool open import Agda.Builtin.Nat open import Agda.Builtin.Unit public open import Agda.Builtin.List open import Agda.Builtin.String open import Agda...
libsrc/_DEVELOPMENT/adt/w_vector/c/sccz80/w_vector_append_callee.asm
jpoikela/z88dk
640
16254
; size_t w_vector_append(b_vector_t *v, void *item) SECTION code_clib SECTION code_adt_w_vector PUBLIC w_vector_append_callee EXTERN asm_w_vector_append w_vector_append_callee: pop hl pop bc ex (sp),hl jp asm_w_vector_append ; SDCC bridge for Classic IF __CLASSIC PUBLIC _w_vector_append_callee de...
oeis/127/A127282.asm
neoneye/loda-programs
11
169708
; A127282: Number of fixed points in range [A014137(n-1)..A014138(n-1)] of permutation A126315/A126316. ; Submitted by <NAME> ; 1,1,0,0,0,0,0,2,0,1,0,0,0 mov $2,$0 add $2,8 bin $2,2 mul $0,$2 bin $0,$2 trn $0,1 add $0,1 mod $0,10
libsrc/target/kramermc/stdio/getk.asm
Frodevan/z88dk
640
247300
<gh_stars>100-1000 SECTION code_clib PUBLIC getk PUBLIC _getk EXTERN fgetc_cons INCLUDE "target/kramermc/def/kramermc.def" getk: _getk: call $0169 ;ZYKL ld hl,0 ret z jp fgetc_cons
libsrc/_DEVELOPMENT/adt/w_vector/c/sdcc_iy/w_vector_insert_callee.asm
jpoikela/z88dk
640
1549
; size_t w_vector_insert_callee(w_vector_t *v, size_t idx, void *item) SECTION code_clib SECTION code_adt_w_vector PUBLIC _w_vector_insert_callee EXTERN asm_w_vector_insert _w_vector_insert_callee: pop af pop hl pop bc pop de push af jp asm_w_vector_insert
nine/macros.asm
sgadrat/nine-gine
6
82328
; ; Run-length compression for zeros ; ZIPNT_ZEROS(n) - output n zeros (0 < n < 256) ; ZIPZ - output one zero ; ZIPNT_END - end of compressed sequence ; #define ZIPNT_ZEROS(n) $00, n #define ZIPZ $00, $01 #define ZIPNT_END $00, $00 ; VECTOR(lbl) - Place data representing label's address in little endian ;#define V...
programs/pixel.asm
shoaib-jamal/MichalOS
14
165563
; ------------------------------------------------------------------ ; MichalOS Pixel Editor ; ------------------------------------------------------------------ %INCLUDE "michalos.inc" start: call .draw_background .main_loop: call .draw_box_16 call os_wait_for_key cmp ah, 72 je .cursor_up c...
src/features/steps/rtch-visuals-canvases-steps.ads
Lucretia/raytracer_challenge
4
14017
<filename>src/features/steps/rtch-visuals-canvases-steps.ads with RTCH.Visuals.Canvases; use RTCH.Visuals.Canvases; with RTCH.Colours; use RTCH.Colours; package RTCH.Visuals.Canvases.Steps is -- @given ^c ← canvas\((\d+), (\d+)\)$ procedure Given_Canvas_C (Width, Height : Positive); -- @then ^c.width = (\d+)$...
grammar_specification.g4
aperkaz/mini-java-syntax-tree
0
6210
<reponame>aperkaz/mini-java-syntax-tree<gh_stars>0 grammar grammar_specification; // Syntax Specification ==> Context-free Grammar prog : main_class class_declaration*; main_class : 'class' IDENTIFIER '{' main_method '}'; main_method : 'public' 'static' 'void' 'main' '(' 'String' '[' ']' IDENTIFIER ')' '{' statement '...
resources/scripts/api/c99.ads
w3bt00lz/Amass
0
15366
<gh_stars>0 -- Copyright 2017 <NAME>. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local json = require("json") name = "C99" type = "api" function start() setratelimit(10) end function vertical(ctx, domain) if (api == nil or api.key =...
source/types/adam-component_definition.adb
charlie5/aIDE
3
872
with AdaM.Factory; package body AdaM.component_Definition is -- Storage Pool -- record_Version : constant := 1; pool_Size : constant := 5_000; package Pool is new AdaM.Factory.Pools (".adam-store", "component_Definitions", ...
projects/batfish/src/main/antlr4/org/batfish/grammar/palo_alto/PaloAlto_service_group.g4
loftwah/batfish
10
5168
parser grammar PaloAlto_service_group; import PaloAlto_common; options { tokenVocab = PaloAltoLexer; } s_service_group : SERVICE_GROUP name = variable ( sservgrp_members ) ; sservgrp_members : MEMBERS variable_list ;
src/benchmark.asm
ambertide/SpaceCat-Lighting
0
80789
LOAD R5, 0 OUTER: LOAD R0, 7E; Load the end of the capital English ASCII block. LOAD R1, 1; Load the increment register. LOAD R2, 20h; Load the start of the capital English ASCII block. LOOP: MOVE RF, R2; Move the value at R2 to the STDOUT register. ADDI R2, R2, R1; Increment JMPLE R2<=R0, loop ...
planet_motion_asm.asm
feilipu/planet_motion
1
92517
<filename>planet_motion_asm.asm ; ; Calculate planet utility functions ; ;============================================================================== ; REV SUBROUTINE ; ; ensure the result is 0 < x < 360 degrees ; SECTION code_user IF __MATH_AM9511 EXTERN asm_am9511_fmul_callee EXTERN asm_am9511_fsu...
grammar/Mooncake.g4
talal830/mooncake
11
2151
grammar Mooncake; mcrule : statementList ; statementList : ( statement COMMENT? )* ; statement : block | linkedStmt | simpleStmt ; block : '{' statementList '}' ; linkedStmt : LINKED simpleStmt ( linkedStmt )? ; simpleStmt : ( inlineStmt )? exprStmt '=>' errorStmt ...
applet/aide/source/palettes/aide-palette.adb
charlie5/aIDE
3
29929
<gh_stars>1-10 package body aIDE.Palette is procedure dummy is begin null; end dummy; end aIDE.Palette;
Data/ships/ShuttleType9.asm
ped7g/EliteNext
0
172847
<gh_stars>0 ShuttleType9: DB $0F, $09, $C4 DW ShuttleType9Edges DB ShuttleType9EdgesSize DB $00, $26 DB ShuttleType9VertSize DB ShuttleType9EdgesCnt DB $00, $00 DB ShuttleType9NormalsSize DB $16, $20, $08 DW ShuttleType9Normals DB $02, $00 DW ShuttleType9Vertices DB 0,0 ...
sharding-core/src/main/antlr4/imports/PostgreSQLDCLStatement.g4
shaojie925/incubator-shardingsphere
1
7346
grammar PostgreSQLDCLStatement; import PostgreSQLKeyword, Keyword, PostgreSQLBase, BaseRule, DataType, Symbol; grant : GRANT privType columnList? (COMMA privType columnList?)* privOnClause TO roleSpecifications (WITH GRANT OPTION)? ; privType : ALL PRIVILEGES? | SELECT | INSERT ...
gdb/testsuite/gdb.ada/fixed_points/pck.ads
greyblue9/binutils-gdb
1
9846
<filename>gdb/testsuite/gdb.ada/fixed_points/pck.ads -- Copyright 2016-2021 Free Software Foundation, Inc. -- -- This program 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 Licen...
Examples/ch07/WriteBin.asm
satadriver/LiunuxOS_t
0
17726
TITLE Displaying Binary Bits (WriteBin.asm) ; Display a 32-bit integer in binary. ; Last Update: 07/22/01 INCLUDE Irvine16.inc .data binValue DWORD 1234ABCDh ; sample binary value buffer BYTE 32 dup(0),0 .code main PROC mov ax,@data mov ds,ax mov eax,binValue ; number to display mov ecx,32 ; ...
g-heasor.adb
ytomino/gnat4drake
0
14437
<filename>g-heasor.adb with Ada.Containers.Generic_Sort; package body GNAT.Heap_Sort is procedure Sort (N : Natural; Xchg : Xchg_Procedure; Lt : Lt_Function) is procedure Do_Sort is new Ada.Containers.Generic_Sort (Natural, Lt.all, Xchg.all); begin Do_Sort (1, N); end Sort; end GNAT.Heap...
icasrc/trafficlightswitcher.adb
bhayward93/Ada-Traffic-Light-Sim
0
11256
with HWIF;use HWIF; with HWIF_Types; use HWIF_Types; --with Ada.Text_IO; use Ada.Text_IO; procedure TrafficLightSwitcher (dir : in Direction) is begin if Traffic_Light(dir) = 4 then --If Red Light. delay 1.0; Traffic_Light(dir) := 6; --Amber/Red delay 3.0; --Safety Req: Ambe...
forktest.asm
MatanGilead/myxv6
0
12520
_forktest: file format elf32-i386 Disassembly of section .text: 00000000 <printf>: #define N 1000 void printf(int fd, char *s, ...) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 18 sub $0x18,%esp write(fd, s, strlen(s)); 6: 8b 45 0c ...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_169.asm
ljhsiun2/medusa
9
165886
<filename>Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_169.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xd051, %r15 nop nop nop xor %rdx, %rdx mov (%r15), %r9 nop nop nop nop nop cmp $56457...
Task/Currying/AppleScript/currying.applescript
LaudateCorpus1/RosettaCodeData
1
4451
-- curry :: (Script|Handler) -> Script on curry(f) script on |λ|(a) script on |λ|(b) |λ|(a, b) of mReturn(f) end |λ| end script end |λ| end script end curry -- TESTS ----------------------------------------------------...
asm/repl/hello.asm
willbr/gameboy-tests
0
242563
<filename>asm/repl/hello.asm INCLUDE "./bootstrap.asm" SECTION "Game code", ROM0[end_of_cartridge_header] main: var xpos, ds, 2 var ypos, ds, 2 call init xor a ld [xpos], a ;ld [ypos], a .dead_end: halt nop jr .dead_end init: di wait_for_vblank lcd LCDCF_OFF ...
operating_sys/forktest.asm
jasper-lov/waterville_os
0
171201
<reponame>jasper-lov/waterville_os<gh_stars>0 _forktest: file format elf32-i386 Disassembly of section .text: 00000000 <main>: printf(1, "fork test OK\n"); } int main(void) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%e...
tests/typing/good/testfile-shadow-1.adb
xuedong/mini-ada
0
23864
<reponame>xuedong/mini-ada with Ada.Text_IO; use Ada.Text_IO; procedure Test is X: Integer; procedure P is X: Character; begin Put(X); end; begin P; end;
worker/deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/aes/aesni-mb-x86_64.asm
vanga-top/mediasoup
1,666
240814
<reponame>vanga-top/mediasoup default rel %define XMMWORD %define YMMWORD %define ZMMWORD section .text code align=64 EXTERN OPENSSL_ia32cap_P global aesni_multi_cbc_encrypt ALIGN 32 aesni_multi_cbc_encrypt: mov QWORD[8+rsp],rdi ;WIN64 prologue mov QWORD[16+rsp],rsi mov rax,rsp $L$SEH_begin_aesni_multi_cbc_encry...
components/src/camera/OV2640/bit_fields.adb
rocher/Ada_Drivers_Library
192
28008
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
src/Implicits/Resolution/GenericFinite/Examples/Haskell.agda
metaborg/ts.agda
4
4680
<reponame>metaborg/ts.agda open import Prelude hiding (_≤_) open import Data.Nat.Properties open import Induction.Nat module Implicits.Resolution.GenericFinite.Examples.Haskell where open import Implicits.Resolution.GenericFinite.TerminationCondition open import Implicits.Resolution.GenericFinite.Resolution open im...
src/TraceInclusion.agda
boystrange/FairSubtypingAgda
4
16087
<reponame>boystrange/FairSubtypingAgda<filename>src/TraceInclusion.agda -- MIT License -- Copyright (c) 2021 <NAME> and <NAME> -- Permission is hereby granted, free of charge, to any person -- obtaining a copy of this software and associated documentation -- files (the "Software"), to deal in the Software without -- ...
programs/oeis/095/A095250.asm
neoneye/loda
22
165654
<gh_stars>10-100 ; A095250: a(n) = 11111111... (n times) = (10^n-1)/9 reduced mod n. ; 0,1,0,3,1,3,1,7,0,1,1,3,1,11,6,7,1,9,1,11,6,11,1,15,11,11,0,19,1,21,1,7,12,11,16,27,1,11,33,31,1,21,1,11,36,11,1,39,36,11,9,19,1,27,1,39,54,11,1,51,1,11,27,7,61,33,1,23,42,61,1,63,1,11,36,47,23,39,1,71,0,11,1,63 add $0,1 mov $2,$0 l...
samples/boing/clear_tiles.asm
rwiker/c256emu
18
4305
<reponame>rwiker/c256emu<filename>samples/boing/clear_tiles.asm ; Y ptr to top left corner byte of square to clear .macro ClearRow RowNum .a16 .i16 lda #15 ; copy 16 zeroes ldx #.loword(ROW_CLEAR_BLOCK) ; src address of zeroes mvn #.bankbyte(ROW_CLEAR_BLOCK), #$af ; from src page into $af tya...
data/baseStats/marill.asm
longlostsoul/EvoYellow
16
2135
db DEX_MARILL ; pokedex id db 70 ; base hp db 20 ; base attack db 50 ; base defense db 50 ; base speed db 50 ; base special db WATER ; species type 1 db FAIRY ; species type 2 db 83 ; catch rate db 66 ; base exp yield INCBIN "pic/ymon/marill.pic",0,1 ; 55, sprite dimensions dw MarillPicFront dw MarillPicBack ; attacks ...
oeis/158/A158487.asm
neoneye/loda-programs
11
88222
; A158487: a(n) = 64*n^2 - 8. ; Submitted by <NAME> ; 56,248,568,1016,1592,2296,3128,4088,5176,6392,7736,9208,10808,12536,14392,16376,18488,20728,23096,25592,28216,30968,33848,36856,39992,43256,46648,50168,53816,57592,61496,65528,69688,73976,78392,82936,87608,92408,97336,102392,107576,112888,118328,123896,129592,135416...
7_kyu/Alphabet_war.asm
UlrichBerntien/Codewars-Katas
0
104274
<gh_stars>0 global alphabet_war section .text ; <----- char *alphabet_war(const char *fight) -----> alphabet_war: xor rcx,rcx ; sum powers in rcx mov rsi,table ; base address of power table jmp .start .loop: movsx rax,byte [rsi+rax] ; translate chr to power add...
src/tk/tk-ttkwidget.ads
thindil/tashy2
2
24275
<gh_stars>1-10 -- Copyright (c) 2021 <NAME> <<EMAIL>> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by applica...
scripts/lib/+strings.applescript
ChristoferK/AppleScriptive
32
3059
#!/usr/bin/osascript -------------------------------------------------------------------------------- # pnam: +STRINGS # nmxt: .applescript # pDSC: String manipulation handlers. Loading this library also loads _lists # lib. For a string replace function, use _regex lib. ---------------------------------------...
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sdcc/tshc_saddrcleft_fastcall.asm
jpoikela/z88dk
640
179421
; void *tshc_saddrcleft(void *saddr) SECTION code_clib SECTION code_arch PUBLIC _tshc_saddrcleft_fastcall EXTERN _zx_saddrcleft_fastcall defc _tshc_saddrcleft_fastcall = _zx_saddrcleft_fastcall
oeis/095/A095998.asm
neoneye/loda-programs
11
247025
; A095998: n! * (fractional part of n-th harmonic number). ; Submitted by <NAME> ; 0,1,5,2,34,324,2988,28944,300816,3371040,793440,49438080,1121696640,21930773760,416139897600,7965912729600,156343306291200,3169866941337600,66629845591142400,1454242012231680000 mov $1,1 mov $2,1 lpb $0 sub $0,1 add $2,1 mul $3,$2...
oeis/180/A180675.asm
neoneye/loda-programs
11
95294
; A180675: The Ca3 sums of the Pell-Jacobsthal triangle A013609. ; Submitted by <NAME> ; 1,1,1,9,97,1041,11169,119833,1285697,13794337,148000449,1587907625,17036776865,182788823089,1961154631009,21041371248697,225754408665729,2422135536207937,25987269043538817,278819307278968905 mul $0,3 mov $1,1 mov $2,2 mov $3,-2 lp...
source/image/required/s-valint.adb
ytomino/drake
33
7517
with System.Formatting.Literals; with System.Long_Long_Integer_Types; with System.Value_Errors; package body System.Val_Int is subtype Word_Integer is Long_Long_Integer_Types.Word_Integer; -- implementation function Value_Integer (Str : String) return Integer is Last : Natural; Result : Word_In...
Working Disassembly/Levels/LBZ/Misc Object Data/Map - Floating Platform Underside (Unused).asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
23971
Map_Obj1D_01: dc.w word_254EC-Map_Obj1D_01 word_254EC: dc.w 2 dc.b 8, $C, 0, 0, $FF, $E0 dc.b 8, $C, 8, 0, 0, 0
alloy4fun_models/trashltl/models/0/mSy6CPQoSceZ8HNsB.als
Kaixi26/org.alloytools.alloy
0
787
<filename>alloy4fun_models/trashltl/models/0/mSy6CPQoSceZ8HNsB.als open main pred idmSy6CPQoSceZ8HNsB_prop1 { historically all f:File | f in Protected } pred __repair { idmSy6CPQoSceZ8HNsB_prop1 } check __repair { idmSy6CPQoSceZ8HNsB_prop1 <=> prop1o }
src/riscv32/agate-arch.adb
Fabien-Chouteau/AGATE
3
9190
<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2018, <NAME> -- -- -...
programs/oeis/074/A074279.asm
karttu/loda
0
18980
; A074279: n appears n^2 times. ; 1,2,2,2,2,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,...
programs/oeis/034/A034299.asm
karttu/loda
1
94030
<filename>programs/oeis/034/A034299.asm ; A034299: Alternating sum transform (PSumSIGN) of A000975. ; 1,1,4,6,15,27,58,112,229,453,912,1818,3643,7279,14566,29124,58257,116505,233020,466030,932071,1864131,3728274,7456536,14913085,29826157,59652328,119304642,238609299,477218583,954437182,1908874348,3817748713,7635497409,...
oeis/116/A116816.asm
neoneye/loda-programs
11
169818
; A116816: Number of permutations of length n which avoid the patterns 2314, 3124, 4312. ; Submitted by <NAME> ; 1,2,6,21,75,260,869,2817,8920,27745,85113,258256,776717,2319093,6882432,20321017,59738793,174960544,510756501,1486819229,4317417984,12509488161,36175413601,104433440896,301022300573,866485007957 mov $3,1 lp...
alloy4fun_models/trashltl/models/5/FvrHqufmzdKNwjB8e.als
Kaixi26/org.alloytools.alloy
0
4677
open main pred idFvrHqufmzdKNwjB8e_prop6 { eventually all f:File | f in Trash implies always f in Trash' } pred __repair { idFvrHqufmzdKNwjB8e_prop6 } check __repair { idFvrHqufmzdKNwjB8e_prop6 <=> prop6o }
examples/outdated-and-incorrect/iird/Test.agda
asr/agda-kanso
1
17495
<reponame>asr/agda-kanso module Test where open import LF open import IID -- r←→gArgs-subst eliminates the identity proof stored in the rArgs. If this proof is -- by reflexivity r←→gArgs-subst is a definitional identity. This is the case -- when a = g→rArgs a' r←→gArgs-subst-identity : {I : Set}(γ : OPg I)(U : I ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_493.asm
ljhsiun2/medusa
9
102932
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x14c8a, %rdi clflush (%rdi) xor $59594, %rax mov $0x6162636465666768, %rdx movq %rdx, %xmm3 vmovups %ymm3, (%rdi) nop nop nop nop and %r10, %r10 lea addresses_A_ht+0x1887a, %...
src/base64-urlsafe.ads
AntonMeep/base64
0
17870
<filename>src/base64-urlsafe.ads pragma Ada_2012; with Ada.Streams; use Ada.Streams; with Base64_Generic; with Base64.Routines.Streams; use Base64.Routines.Streams; package Base64.URLSafe is new Base64_Generic (Element => Stream_Element, Index => Stream_Element_Offset, Element_Array => Stream_Element_Arra...
oeis/157/A157665.asm
neoneye/loda-programs
11
80917
<gh_stars>10-100 ; A157665: a(n) = 729*n^2 - 1016*n + 354. ; 67,1238,3867,7954,13499,20502,28963,38882,50259,63094,77387,93138,110347,129014,149139,170722,193763,218262,244219,271634,300507,330838,362627,395874,430579,466742,504363,543442,583979,625974,669427,714338,760707,808534,857819,908562,960763,1014422,1069539,11...
05/3/3-c sort.asm
AbstractXan/ComputerSystemDesignLab
0
82623
// Assume the array is of fixed length 10 i.e 0-9 // Array numbers are stored from 0-9 //Start from beginning @10 //Store pointer at 10 D=0 M=D @11 M=D (LOOP) // for pointer position @10 A=M // Find whether 1 D=1 D=M&D @INC D;JGT //JUMP to D when 1 (CONT) // Otherwise it's okay, continue //Increment...
oeis/045/A045346.asm
neoneye/loda-programs
11
4050
<gh_stars>10-100 ; A045346: Primes congruent to {0, 1, 2, 4, 5, 6} mod 7. ; Submitted by <NAME> ; 2,5,7,11,13,19,23,29,37,41,43,47,53,61,67,71,79,83,89,97,103,107,109,113,127,131,137,139,149,151,163,167,173,179,181,191,193,197,211,223,229,233,239,251,257,263,271,277,281,293,307,313,317,331,337,347,349,359,373,379,383,3...
test/Succeed/Issue2341with.agda
shlevy/agda
1,989
5744
-- Andreas, 2016-12-15, issue #2341 -- `with` needs to abstract also in sort of target type. -- {-# OPTIONS -v tc.with:100 #-} open import Agda.Primitive test : ∀ a → Set (lsuc a) test a with a ... | w = Set w
libsrc/target/excali64/stdio/conio_map_colour.asm
Frodevan/z88dk
640
20110
<reponame>Frodevan/z88dk<filename>libsrc/target/excali64/stdio/conio_map_colour.asm ; Platform specific colour transformation ; ; Entry: a = colour ; Exit: a = colour to use on screen ; Used: hl,bc,f ; MODULE code_clib PUBLIC conio_map_colour PUBLIC conio_map_colour_bg EXTERN __CLIB_CONIO_NATIVE_COLOUR conio_m...
fc-api/src/main/antlr/fc/dsl/query/Query.g4
shumy-tools/fatcoach
6
2940
<reponame>shumy-tools/fatcoach<filename>fc-api/src/main/antlr/fc/dsl/query/Query.g4 grammar Query; @header { package fc.dsl.query; } import Common; query: entity qline EOF ; entity: (ID '.')* NAME ; qline: filter? (limit page?)? select ; filter: '|' expr '|' ; expr: '(' expr ')' | left=expr oper='an...
Numeral/Natural/Coprime.agda
Lolirofle/stuff-in-agda
6
5478
<reponame>Lolirofle/stuff-in-agda<filename>Numeral/Natural/Coprime.agda module Numeral.Natural.Coprime where open import Logic import Lvl open import Numeral.Natural open import Numeral.Natural.Relation.Divisibility open import Relator.Equals private variable n x y : ℕ -- Two numbers are coprime when their only...
source/nls/machine-w64-mingw32/s-naenen.adb
ytomino/drake
33
29728
pragma Check_Policy (Trace => Ignore); with Ada.Exception_Identification.From_Here; with System.Address_To_Constant_Access_Conversions; with System.UTF_Conversions.From_16_To_32; with System.UTF_Conversions.From_32_To_16; with System.Zero_Terminated_WStrings; with C.winbase; with C.winerror; with C.winnt; package body ...
tmp1/c55x-sim2/foo/Debug/PollQ.asm
jwestmoreland/eZdsp-DBG-sim
1
164975
;******************************************************************************* ;* TMS320C55x C/C++ Codegen PC v4.4.1 * ;* Date/Time created: Sat Oct 06 06:38:41 2018 * ;****************************************************************************...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_774.asm
ljhsiun2/medusa
9
3518
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r15 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x4bed, %r11 nop nop nop nop sub $65447, %r10 vmovups (%r11), %ymm4 vextracti128 $1, %ymm4, %xmm4 vpextrq $1, %xmm4, %r14 nop nop nop add...
Cubical/Algebra/Group/Instances/Int.agda
MatthiasHu/cubical
1
7526
<reponame>MatthiasHu/cubical {-# OPTIONS --safe #-} module Cubical.Algebra.Group.Instances.Int where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Isomorphism open import Cubical.Data.Int renaming (ℤ to ℤType ; _+_ to _+ℤ_ ; _-_ to _-ℤ_; -_ to -ℤ_ ; _·_ to _·ℤ_) open import Cubical.Algebra....
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45265a.ada
best08618/asylo
7
18993
<gh_stars>1-10 -- C45265A.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....
oeis/248/A248158.asm
neoneye/loda-programs
11
29241
<reponame>neoneye/loda-programs ; A248158: Expansion of (1 - 2*x^2)/(1 + x)^3. Second column of Riordan triangle A248156. ; Submitted by <NAME> ; 1,-3,4,-4,3,-1,-2,6,-11,17,-24,32,-41,51,-62,74,-87,101,-116,132,-149,167,-186,206,-227,249,-272,296,-321,347,-374,402,-431,461,-492,524,-557,591,-626,662,-699,737,-776,816,-...
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_fft_gstffts16_h.ads
persan/A-gst
1
10784
<filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_fft_gstffts16_h.ads pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with System; with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h; with GStreamer.GST_Lo...
ESEMPI/BSA_example.asm
Porchetta/py-pdp8-tk
12
89598
ORG 100 LDA X BSA CHECK HLT CHECK, DEC 0 CIR SZE BUN DISPARI FINE, BUN CHECK I DISPARI, CLA INC STA RES BUN FINE X, DEC 1 RES, DEC 0 END
P6/data_P6_2/MDTest97.asm
alxzzhou/BUAA_CO_2020
1
83384
ori $ra,$ra,0xf div $1,$ra multu $1,$1 lui $0,1830 lb $5,11($0) addu $4,$2,$1 sb $6,8($0) mtlo $1 mtlo $3 srav $5,$4,$3 addiu $1,$1,-11350 addiu $4,$4,-23500 sb $4,10($0) ori $6,$4,15853 addiu $4,$6,19595 sll $0,$2,16 mtlo $4 sll $4,$4,8 div $5,$ra addu $5,$0,$5 addu $0,$0,$4 sll $4,$4,30 multu $4,$2 srav $4,$1,$1 mult...
libsrc/_DEVELOPMENT/adt/p_forward_list_alt/c/sccz80/p_forward_list_alt_front.asm
jpoikela/z88dk
640
166737
; void *p_forward_list_alt_front(p_forward_list_alt_t *list) SECTION code_clib SECTION code_adt_p_forward_list_alt PUBLIC p_forward_list_alt_front EXTERN asm_p_forward_list_alt_front defc p_forward_list_alt_front = asm_p_forward_list_alt_front ; SDCC bridge for Classic IF __CLASSIC PUBLIC _p_forward_list_alt_fron...
QuantitativeAlloy/models/alloy/bundling/bundling_mrel.als
pf7/QAlloy
0
3106
module examples/bundling open multirelations/multi // a utility module providing the function drop open multirelations/mrel[Bundle, Item] as Contains // declare a multirelation from Bundle to Item open multirelations/mrel[Item, Category] as BelongsTo // declare a multirelation from Item to Category open multirelation...
Examples/ch09/Mult.asm
satadriver/LiunuxOS_t
0
413
<filename>Examples/ch09/Mult.asm TITLE Multiply an Array (Mult.asm) ; This program multiplies each element of an array ; of 32-bit integers by a constant value. INCLUDE Irvine32.inc .data array DWORD 1,2,3,4,5,6,7,8,9,10 ; test data multiplier DWORD 10 ; test data .code main PROC cld ; directi...
programs/oeis/204/A204694.asm
jmorken/loda
1
13952
<filename>programs/oeis/204/A204694.asm ; A204694: a(n) = n^n (mod 8). ; 1,1,4,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0 mov $1,1 mov $2,$0 lpb $0 sub $0,1 mul $1,$2 mod $1,8 lpe add $1,5...
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/for_loop_statement.adb
ouankou/rose
488
18857
<gh_stars>100-1000 procedure For_Loop_Statement is begin for Index in Boolean loop null; end loop; end For_Loop_Statement;
stm32f3/stm32gd-usart-peripheral.adb
ekoeppen/STM32_Generic_Ada_Drivers
1
10536
<gh_stars>1-10 with System; use System; with Ada.Unchecked_Conversion; with STM32_SVD.DMA; use STM32_SVD.DMA; package body STM32GD.USART.Peripheral is DMA_Index : Integer := 1; function W is new Ada.Unchecked_Conversion (Address, UInt32); protected body IRQ_Handler is entry Wait when Data_Available i...