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
library/misc/clipboardClear.applescript
NYHTC/applescript-fm-helper
1
2520
-- removeExtraAppsFromDock{listOfAllowedAppNames:null} -- <NAME>, NYHTC -- clear the clipboard (* HISTORY: 1.0 - 2016-xx-xx ( eshagdar ): created *) on run removeExtraAppsFromDock(prefs) end run -------------------- -- START OF CODE -------------------- on clipboardClear() -- version 1.0 tell application "Sy...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pointer_variable_bounds_q.ads
best08618/asylo
7
27343
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pointer_variable_bounds_q.ads package pointer_variable_bounds_q is type A_SIZE_TYPE is new INTEGER range 0 .. 65536; function A_MAX_COMPS return A_SIZE_TYPE; end pointer_variable_bounds_q;
oeis/094/A094430.asm
neoneye/loda-programs
11
96387
<reponame>neoneye/loda-programs ; A094430: a(n) is the rightmost term of M^n * [1 0 0], where M is the 3 X 3 matrix [0 1 0 / 0 0 1 / 7 -14 7]. ; Submitted by <NAME> ; 7,49,245,1078,4459,17836,69972,271313,1044435,4002467,15294370,58337097,222255768,846131608,3219700183,12247849145,46582062709,177142452214,673583231587,...
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-mastop.ads
djamal2727/Main-Bearing-Analytical-Model
0
1993
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
programs/oeis/313/A313799.asm
neoneye/loda
22
4058
<reponame>neoneye/loda<filename>programs/oeis/313/A313799.asm ; A313799: Coordination sequence Gal.3.53.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,10,15,21,27,33,38,43,48,53,58,63,69,75,81,86,91,96,101,106,111,117,123,129,...
Cubical/Algebra/CommAlgebra/FGIdeal.agda
thomas-lamiaux/cubical
1
5722
{-# OPTIONS --safe #-} module Cubical.Algebra.CommAlgebra.FGIdeal where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Structure open import Cubical.Foundations.Powerset open import Cubical.Data.FinData open import Cubical.Data.Nat open import Cubical.Data.Vec open import Cubical.Algebra.Comm...
expansion/empty.asm
Lrs121/dwrandomizer
0
20670
<reponame>Lrs121/dwrandomizer .base $8000 .org $c000
oeis/217/A217615.asm
neoneye/loda-programs
11
170116
<gh_stars>10-100 ; A217615: G.f.: Sum_{n>=0} x^n * Sum_{k=0..n} binomial(n,k)^2 * x^k*(1-x)^(n-k). ; Submitted by <NAME> ; 1,1,1,3,5,7,15,29,49,95,187,345,659,1289,2465,4739,9237,17911,34715,67705,132063,257477,503309,984983,1927895,3778017,7411237,14544967,28565661,56144615,110406527,217225533,427636561,842256047,1659...
alloy4fun_models/trainstlt/models/8/hF5vpem84dxwo2y2o.als
Kaixi26/org.alloytools.alloy
0
1768
<reponame>Kaixi26/org.alloytools.alloy open main pred idhF5vpem84dxwo2y2o_prop9 { always ( all t:Train | eventually (no t.pos until t.pos in Entry)) } pred __repair { idhF5vpem84dxwo2y2o_prop9 } check __repair { idhF5vpem84dxwo2y2o_prop9 <=> prop9o }
programs/oeis/344/A344543.asm
neoneye/loda
22
169739
<filename>programs/oeis/344/A344543.asm ; A344543: Lexicographically earliest sequence S of distinct positive terms such that the product of the last k digits of S is even, k being the rightmost digit of a(n). ; 1,2,3,4,5,6,7,8,9,12,13,14,15,16,17,18,19,22,23,24,25,26,27,28,29,32,33,34,35,36,37,38,39,42,43,44,45,46,47,...
win32/VC10/Win32/libxml2_Debug/hash.asm
txwizard/libxml2_x64_and_ARM
0
177938
<reponame>txwizard/libxml2_x64_and_ARM ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1 TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\hash.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRTD INCLUDELIB OLDNAMES _DA...
PrintingCharacter.asm
WilsenHernandez/MIPS-Tutorial
0
21029
<filename>PrintingCharacter.asm .data myChar: .byte 'N' .text li $v0, 4 la $a0, myChar syscall
boards/OpenMV2/src/openmv.ads
morbos/Ada_Drivers_Library
2
11276
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
tools/asmx2/test/6502u.asm
retro16/blastsdk
10
98606
<reponame>retro16/blastsdk PROCESSOR 6502U BRK ORA ($FF,X) DB $02 SLO ($FF,X) NOP3 ORA $FF ASL $FF SLO $FF PHP ORA #$FF ASL A DB $0B DB $0C ORA $FFFF ASL $FFFF SLO $FFFF BPL * ...
projects/batfish/src/main/antlr4/org/batfish/grammar/f5_bigip_structured/F5BigipStructuredParser.g4
loftwah/batfish
1
6090
parser grammar F5BigipStructuredParser; /* This is only needed if parser grammar is spread across files */ import F5BigipStructured_common, F5BigipStructured_ltm, F5BigipStructured_net, F5BigipStructured_sys; options { superClass = 'org.batfish.grammar.BatfishParser'; tokenVocab = F5BigipStructuredLexer; } // go...
src/ada/src/common/uxas-common-configuration_manager.ads
VVCAS-Sean/OpenUxAS
88
2892
-- see OpenUxAS\src\Utilities\UxAS_ConfigurationManager.h with DOM.Core; with AVTAS.LMCP.Types; use AVTAS.LMCP.Types; with UxAS.Comms; with Dynamic_Strings; use Dynamic_Strings; package UxAS.Common.Configuration_Manager is type Manager (<>) is tagged limited private; type Any_Manager is access all Manager'...
oeis/103/A103632.asm
neoneye/loda-programs
11
169208
; A103632: Expansion of (1 - x + x^2)/(1 - x - x^4). ; Submitted by <NAME> ; 1,0,1,1,2,2,3,4,6,8,11,15,21,29,40,55,76,105,145,200,276,381,526,726,1002,1383,1909,2635,3637,5020,6929,9564,13201,18221,25150,34714,47915,66136,91286,126000,173915,240051,331337,457337,631252,871303,1202640,1659977,2291229,3162532,4365172,602...
programs/oeis/171/A171663.asm
jmorken/loda
1
94504
; A171663: Expansion of (1 + 4*x - 6*x^2 - 16*x^3 + 20*x^4)/((1-x)*(1-2*x)*(1+2*x)*(1-2*x^2)). ; 1,5,5,13,25,41,113,145,481,545,1985,2113,8065,8321,32513,33025,130561,131585,523265,525313,2095105,2099201,8384513,8392705,33546241,33562625,134201345,134234113,536838145,536903681,2147418113,2147549185,8589803521,859006566...
programs/oeis/119/A119522.asm
karttu/loda
0
2794
; A119522: Determinant of n X n matrix of first n^2 nonzero terms of triangular numbers. ; 1,-8,-27,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 mov $1,1 mov $2,$0 add $2...
Applications/System-Events/frontmost.applescript
looking-for-a-job/applescript-examples
1
205
<filename>Applications/System-Events/frontmost.applescript #!/usr/bin/osascript delay 2 tell application "System Events" properties of (first process whose frontmost is true) end tell
oeis/346/A346558.asm
neoneye/loda-programs
11
3543
<reponame>neoneye/loda-programs<filename>oeis/346/A346558.asm ; A346558: a(n) = Sum_{d|n} phi(n/d) * (2^d - 1). ; Submitted by <NAME> ; 1,4,9,20,35,78,133,280,531,1070,2057,4212,8203,16534,32865,65840,131087,262818,524305,1049740,2097459,4196390,8388629,16782024,33554575,67117102,134218809,268452212,536870939,107377701...
src/test/ref/cpu-65ce02.asm
jbrandwood/kickc
2
28847
// Test the 65CE02 CPU // A program that uses 65CE02 instructions .cpu _65ce02 // Commodore 64 PRG executable file .file [name="cpu-65ce02.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter...
libsrc/_DEVELOPMENT/adt/ba_stack/c/sdcc_iy/ba_stack_top_fastcall.asm
meesokim/z88dk
0
104316
<reponame>meesokim/z88dk ; int ba_stack_top_fastcall(ba_stack_t *s) SECTION code_adt_ba_stack PUBLIC _ba_stack_top_fastcall defc _ba_stack_top_fastcall = asm_ba_stack_top INCLUDE "adt/ba_stack/z80/asm_ba_stack_top.asm"
src/main/g8/src/main/antlr4/$grammar$Lexer.g4
navicore/antlr4.g8
0
3395
<reponame>navicore/antlr4.g8 lexer grammar $grammar$Lexer; WS: [ \t\n]+ -> skip ; NUMBER: ('0' .. '9') + ('.' ('0' .. '9') +)?; ADD: '+'; SUB: '-'; MUL: '*'; DIV: '/';
targets/yul-ast-0.7.3/Yul.g4
chyanju/Ven
3
2861
// Define a grammar called Hello grammar Yul; start : yul_object ; yul_object : KW_OBJECT yul_string_literal '{' ( yul_code | yul_code yul_object ) '}' ; yul_code : KW_CODE yul_block ; yul_if : KW_IF yul_expression yul_block ; yul_switch : KW_SWITCH yul_expression ( yul_case+ yul_default? | yul_default ) ; yul_case : ...
src/Categories/Object/Initial.agda
MirceaS/agda-categories
0
13835
<reponame>MirceaS/agda-categories<gh_stars>0 {-# OPTIONS --without-K --safe #-} open import Categories.Category module Categories.Object.Initial {o ℓ e} (C : Category o ℓ e) where open import Level open import Relation.Binary.PropositionalEquality as ≡ using (_≡_) open Category C open import Categories.Morphism C us...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/controlled7.ads
best08618/asylo
7
6426
<reponame>best08618/asylo with System.Storage_Elements; use System.Storage_Elements; package Controlled7 is procedure Proc (Offset : Storage_Offset); end Controlled7;
gol.adb
tsoding/ada-gol
19
11046
with Ada.Text_IO; with Ada.Characters.Latin_1; -- There's also 'with ASCII;', but that's obsolete with Ada.Strings.Fixed; procedure Gol is use Ada.Text_IO; Width : constant Positive := 5; Height : constant Positive := 5; type Cell is (Dead, Alive); type Rows is mod Height; type Cols is mod W...
src/main/antlr/org/embulk/filter/calc/Calculator.g4
hiroyuki-sato/embulk-filter-calc
0
5238
<reponame>hiroyuki-sato/embulk-filter-calc grammar Calculator; @header { package org.embulk.filter.calc; } expr: <assoc=right> expr '^' expr # Power | expr op=('*'|'/'|'%') expr # MulDivMod | expr op=('+'|'-') expr # AddSub | NUM # Number | ID ...
oeis/072/A072342.asm
neoneye/loda-programs
11
101150
; A072342: a(n) = the least natural number k such that k*reverse(n) + 1 is prime. ; 1,1,2,1,2,1,4,2,2,1,2,2,10,2,2,6,8,2,6,1,1,1,3,1,1,5,1,1,3,2,4,2,2,4,2,2,4,2,4,1,2,3,3,2,2,3,2,4,3,2,2,4,2,4,6,2,2,12,2,1,1,2,1,1,2,1,3,2,1,4,6,4,4,6,4,4,6,4,4,2,1,1,5,2,1,2,1,1,2,2,10,2,2,4,12,2,4,2,2,1 mov $1,2 add $1,$0 mov $0,$1 su...
oeis/021/A021877.asm
neoneye/loda-programs
11
17919
; A021877: Decimal expansion of 1/873. ; Submitted by <NAME>iga ; 0,0,1,1,4,5,4,7,5,3,7,2,2,7,9,4,9,5,9,9,0,8,3,6,1,9,7,0,2,1,7,6,4,0,3,2,0,7,3,3,1,0,4,2,3,8,2,5,8,8,7,7,4,3,4,1,3,5,1,6,6,0,9,3,9,2,8,9,8,0,5,2,6,9,1,8,6,7,1,2,4,8,5,6,8,1,5,5,7,8,4,6,5,0,6,3,0,0,1 seq $0,42 ; Unary representation of natural numbers. di...
mc-sema/validator/x86/tests/CVTTSD2SIrr.asm
randolphwong/mcsema
2
103272
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; put 2 into ecx for future load into xmm0 mov ecx, 2 cvtsi2sd xmm0, ecx ;TEST_BEGIN_RECORDING cvttsd2si ecx, xmm0 ;TEST_END_RECORDING xor ecx, ecx cvtsi2sd xmm0, ecx
oeis/128/A128386.asm
neoneye/loda-programs
11
22549
; A128386: Expansion of c(3x^2)/(1-x*c(3x^2)), c(x) the g.f. of A000108. ; Submitted by <NAME>(s4) ; 1,1,4,7,28,58,232,523,2092,4966,19864,48838,195352,492724,1970896,5068915,20275660,52955950,211823800,560198962,2240795848,5987822380,23951289520,64563867454,258255469816,701383563388,2805534253552 mov $2,1 mov $3,$0 m...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/inline13_pkg.ads
best08618/asylo
7
18181
<reponame>best08618/asylo<gh_stars>1-10 package Inline13_Pkg is subtype Padded_T is String (1..8); type T is new Padded_T; function Padded (Value : T) return Padded_T; pragma Inline_Always (Padded); end Inline13_Pkg;
programs/oeis/129/A129308.asm
neoneye/loda
22
246842
<reponame>neoneye/loda<gh_stars>10-100 ; A129308: a(n) is the number of positive integers k such that k*(k+1) divides n. ; 0,1,0,1,0,2,0,1,0,1,0,3,0,1,0,1,0,2,0,2,0,1,0,3,0,1,0,1,0,3,0,1,0,1,0,3,0,1,0,2,0,3,0,1,0,1,0,3,0,1,0,1,0,2,0,2,0,1,0,5,0,1,0,1,0,2,0,1,0,1,0,4,0,1,0,1,0,2,0,2,0,1,0,4,0,1,0,1,0,4,0,1,0,1,0,3,0,1,0...
src/ada/src/uxas-comms-data-lmcp_messages.ads
pat-rogers/OpenUxAS
0
24085
<reponame>pat-rogers/OpenUxAS -- see OpenUxAS\src\Communications\LmcpMessage.h with AVTAS.LMCP.Object; package UxAS.Comms.Data.LMCP_Messages is type LMCP_Message is tagged limited record -- these are public member data in the C++ version so they are visible -- in this base class (even if extensions...
src/toml-generic_parse.ads
pmderodat/ada-toml
19
11640
<filename>src/toml-generic_parse.ads generic type Input_Stream (<>) is limited private; -- Stream of bytes with procedure Get (Stream : in out Input_Stream; EOF : out Boolean; Byte : out Character) is <>; -- Try to read a byte from Stream. If the end of ...
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48_notsx.log_21829_1928.asm
ljhsiun2/medusa
9
87655
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x5ec5, %r9 xor %r8, %r8 movups (%r9), %xmm6 vpextrq $0, %xmm6, %rcx nop cmp %r8, %r8 lea addresses_UC_ht+0x19201, %rsi nop nop nop and $26852, %rdi mov (%rsi), %r9d nop nop nop nop and $...
oeis/280/A280166.asm
neoneye/loda-programs
11
12946
<gh_stars>10-100 ; A280166: a(2*n) = 4*n if n>0, a(2*n + 1) = -(2*n + 1), a(0) = 1. ; Submitted by <NAME> ; 1,-1,4,-3,8,-5,12,-7,16,-9,20,-11,24,-13,28,-15,32,-17,36,-19,40,-21,44,-23,48,-25,52,-27,56,-29,60,-31,64,-33,68,-35,72,-37,76,-39,80,-41,84,-43,88,-45,92,-47,96,-49,100,-51,104,-53,108,-55,112,-57,116,-59,120,-...
testsuite/ubivm/expected/element_7.asm
alexgarzao/UOP
0
80727
<filename>testsuite/ubivm/expected/element_7.asm Entity start No options Constants 0 S start 1 S e 2 S elemento 3 I 1 4 S um 5 I 2 6 S dois 7 S x End Valid context (always) No properties Def start No parameters Local variables 0 element e End No results newelem 2 --> [elemento] stva...
programs/oeis/156/A156866.asm
karttu/loda
1
102728
<reponame>karttu/loda<filename>programs/oeis/156/A156866.asm ; A156866: 729000n - 116820. ; 612180,1341180,2070180,2799180,3528180,4257180,4986180,5715180,6444180,7173180,7902180,8631180,9360180,10089180,10818180,11547180,12276180,13005180,13734180,14463180,15192180,15921180,16650180,17379180,18108180,18837180,19566180...
oeis/087/A087603.asm
neoneye/loda-programs
11
14501
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A087603: a(n) = (1/8)*Sum_{k=0..n} binomial(n,k)*Fibonacci(k)*8^k. ; Submitted by <NAME> ; 1,10,155,2100,29525,410750,5731375,79905000,1114275625,15537531250,216660471875,3021168937500,42128015328125,587444444843750,8191485291484375,114224297381250000,159277466484414062...
oeis/088/A088991.asm
neoneye/loda-programs
11
6237
<reponame>neoneye/loda-programs<filename>oeis/088/A088991.asm ; A088991: Derangement numbers d(n,4) where d(n,k) = k(n-1)(d(n-1,k) + d(n-2,k)), with d(0,k) = 1 and d(1,k) = 0. ; Submitted by <NAME>(s1) ; 1,0,4,32,432,7424,157120,3949056,114972928,3805503488,141137150976,5797706178560,261309106499584,12821127008550912,6...
programs/oeis/049/A049071.asm
neoneye/loda
22
103140
; A049071: Expansion of x*(3-2*x)/(1-x^2). ; 0,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3,-2,3 sub $0,1 mod $0,2 mov $1,5 gcd $1,$0 sub $1,2 sub $1,$0 mov $0,$1
libsrc/z80_crt0s/gbz80/sdcc/__modsuchar.asm
Frodevan/z88dk
640
26886
<reponame>Frodevan/z88dk SECTION code_l_sdcc PUBLIC __modsuchar GLOBAL l_div8_signexte __modsuchar: ld hl,sp+3 ld e,(hl) dec hl ld c,(hl) ld b,0 jp l_div8_signexte
bddisasm_test/special/only_32.asm
andreaswimmer/bddisasm
675
12467
bits 32 db 0x63, 0xC1 ; ARPL cx, ax db 0x66, 0x63, 0xC1 ; ARPL cx, ax db 0x06 ; PUSH es db 0x07 ; POP es db 0x0E ; PUSH cs db 0x16 ; PUSH ss db 0x17 ; POP ss db 0x1E ; P...
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_char_64/zx_01_output_char_64_oterm_msg_printc.asm
meesokim/z88dk
0
8969
SECTION code_fcntl PUBLIC zx_01_output_char_64_oterm_msg_printc EXTERN asm_zx_cyx2saddr, asm_zx_saddr2aaddr zx_01_output_char_64_oterm_msg_printc: ; enter : c = ascii code >= 32 ; b = parameter (currently unused) ; l = absolute x coordinate ; h = absolute y coord...
programs/oeis/224/A224710.asm
neoneye/loda
22
95070
; A224710: The number of unordered partitions {a,b} of 2n-1 such that a and b are composite. ; 0,0,0,0,0,0,1,1,1,2,2,2,3,3,4,5,5,5,6,7,7,8,8,8,9,9,10,11,11,12,13,13,13,14,15,15,16,16,16,17,18,18,19,19,20,21,21,22,23,24,24,25,25,25,26,26,26,27,27,28,29,30,31,32,33,33,34,34,35,36,36,36,37,38,39,40,40,40,41,42,42,43,44,44...
Appl/FileMgrs/CommonDesktop/CShObj/cshobjMoveCopy.asm
steakknife/pcgeos
504
93391
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: cshobjMove.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Description ---- ---- -------...
src/tools/Dependency_Graph_Extractor/src/command_line.ads
selroc/Renaissance-Ada
1
9550
with Ada.Containers.Vectors; with Ada.Strings.Unbounded; package Command_Line is package SU renames Ada.Strings.Unbounded; package Input_File_Vectors is new Ada.Containers.Vectors (Index_Type => Positive, Element_Type => SU.Unbounded_String, "=" => SU."="); function Parse_Comman...
programs/oeis/301/A301729.asm
karttu/loda
1
179689
; A301729: a(0)=1; thereafter positive numbers that are congruent to {0, 1, 3, 5} mod 6. ; 1,1,3,5,6,7,9,11,12,13,15,17,18,19,21,23,24,25,27,29,30,31,33,35,36,37,39,41,42,43,45,47,48,49,51,53,54,55,57,59,60,61,63,65,66,67,69,71,72,73,75,77,78,79,81,83,84,85,87,89,90,91,93,95,96,97 mov $1,$0 add $0,11 mod $0,4 mul $1,6...
Cubical/Algebra/Group/Instances/DiffInt.agda
guilhermehas/cubical
1
6362
{-# OPTIONS --safe #-} module Cubical.Algebra.Group.Instances.DiffInt where open import Cubical.Foundations.Prelude open import Cubical.Data.Int.MoreInts.DiffInt renaming ( _+_ to _+ℤ_ ; _-_ to _-ℤ_) open import Cubical.Algebra.Group.Base open import Cubical.Algebra.Semigroup.Base open import Cubical.Algebra.Monoid....
test/Succeed/Issue826-2.agda
shlevy/agda
3
10961
<reponame>shlevy/agda module Issue826-2 where open import Common.Coinduction data _≡_ {A : Set} (x y : A) : Set where data D : Set where c : ∞ D → D delay : D → ∞ D delay x = ♯ x data P : D → Set where o : (x : ∞ D) → P (♭ x) → P (c x) postulate h : (x : D) → P x → P x f : (x : D) → P (c (delay x)) → P x f...
oeis/075/A075887.asm
neoneye/loda-programs
11
29773
; A075887: a(n) = 1 + n + n[n/2] + n[n/2][n/3] +... + n[n/2][n/3]...[n/n], where [x]=ceiling(x). ; Submitted by <NAME>(w2) ; 1,2,5,16,45,171,421,1968,4553,19225,57261,226854,496309,3136420,6764563,24850336,84877201,380461599,805949533,4411165990,9288196621,48275465722,154143694937,527401107276,1100708161081,81514032155...
src/wi2wic-server.adb
stcarrez/wi2wic
2
1009
----------------------------------------------------------------------- -- wi2wic -- Wiki 2 Wiki Converter server startup -- Copyright (C) 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the Lice...
solutions/54 - Terrain Leveler/size-18_speed-114.asm
michaelgundlach/7billionhumans
45
93093
-- 7 Billion Humans (2056) -- -- 54: Terrain Leveler -- -- Author: tiansh -- Size: 18 -- Speed: 114 a: step n mem1 = calc mem1 + c if n != wall or sw == datacube or w == worker: jump a endif pickup s mem1 = calc mem1 + sw write mem1 step s b: if e == worker or ne == worker: jump b endif mem1 = calc mem1 / 49 if ...
test/Succeed/Issue940.agda
shlevy/agda
1,989
13433
{-# OPTIONS --copatterns --show-implicit #-} module Issue940 where module _ (A : Set) where record Box : Set where constructor box field unbox : A open Box postulate x : A ex : Box ex = box x -- works ex' : Box unbox ex' = x -- Error WAS: -- An internal error has occurred. Pleas...
test/ir/maxXOR.asm
shivansh/gogo
24
93719
<reponame>shivansh/gogo<filename>test/ir/maxXOR.asm # Return (2^x - 1) # Test to find maximum XOR-value of at-most k-elements from 1 to n .data nStr: .asciiz "Enter n: " n: .word 0 kStr: .asciiz "Enter k: " k: .word 0 retVal: .word 0 str: .asciiz "Maximum XOR-value: " x: .word 0 result: .word 0 .text runt...
alloy4fun_models/trashltl/models/5/8NsAD3sdBGC5cNgjY.als
Kaixi26/org.alloytools.alloy
0
937
<filename>alloy4fun_models/trashltl/models/5/8NsAD3sdBGC5cNgjY.als open main pred id8NsAD3sdBGC5cNgjY_prop6 { all f : File | always (f in Trash implies always f in Trash) } pred __repair { id8NsAD3sdBGC5cNgjY_prop6 } check __repair { id8NsAD3sdBGC5cNgjY_prop6 <=> prop6o }
super_script.scpt
doekman/ascr-and-git
0
2197
#@osa-lang:AppleScript use AppleScript version "2.4" -- Yosemite (10.10) or later use scripting additions try display dialog "Hello there from AppleScript. What shall I read to you out loud?" default answer "Bye bye" buttons {"Stop now", "Please read to me!"} default button 2 cancel button 1 with title "My super scri...
Lab Work/5th-semester/assembly-language/book/CH-07/7_9.asm
akazad13/bsc-academic-work
0
104001
.MODEL SMALL .STACK 100H .DATA MSG1 DB 0AH,'TYPE A CHARACTER: $' MSG2 DB 0AH,'THE ASCII CODE OF $'; MSG3 DB ' IN HEX IS $' I DB 0 .CODE MAIN PROC ; initializing data segment MOV AX,@DATA MOV DS,AX _TOP: LEA DX,MSG1 ; getting offset of 1st message MOV AH,9 ; string print function INT 21H ; printing 1...
newitems/macros/multisizeops.asm
fcard/z3randomizer
0
243286
; Macros that allow a address to be changed easily between a long address ; and a word/zero page address. Instead of using ; STZ !MyAddress ; We can use ; %M_STZ(!MyAddress,1) ; And it will work regardless of the size of !MyAddress. ; ; Whenever the macro takes a second argument, it's "preserveA", or if the macro...
agda-stdlib-0.9/src/Data/Fin/Subset.agda
qwe2/try-agda
1
17051
<reponame>qwe2/try-agda ------------------------------------------------------------------------ -- The Agda standard library -- -- Subsets of finite sets ------------------------------------------------------------------------ module Data.Fin.Subset where open import Algebra import Algebra.Properties.BooleanAlgebra ...
Working Disassembly/Levels/FBZ/Misc Object Data/Map - Floating Platform.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
26092
<filename>Working Disassembly/Levels/FBZ/Misc Object Data/Map - Floating Platform.asm dc.w word_3A748-Map_FBZFloatingPlatform dc.w word_3A774-Map_FBZFloatingPlatform dc.w word_3A7A0-Map_FBZFloatingPlatform word_3A748: dc.w 7 ; DATA XREF: ROM:0003A742o dc.b $E8, $D, 0, $28, $FF, $E0 dc.b $F8, 4, 0,...
source/action_lists.ads
jquorning/CELLE
0
29352
with Ada.Containers.Doubly_Linked_Lists; with Actions; limited with Symbols; limited with States; -- limited with Rules; with Rule_Lists; package Action_Lists is subtype Rule_Access is Rule_Lists.Rule_Access; package Action_DLLs is new Ada.Containers.Doubly_Linked_Lists ("=" => Actions."=", ...
main.asm
hongfz16/AssemblyPlayStation
2
25456
<gh_stars>1-10 [bits 32] section .text MENU_ENTRY equ 0x2000 call main call MENU_ENTRY jmp $ ret extern init_seed extern rand_num extern clear_screen extern kprint extern kprint_at extern print_char extern int_to_ascii global getchar global register_kbd_callback global register_tim_callback global port_byte_out glo...
include/glx.ads
docandrew/troodon
5
3620
<reponame>docandrew/troodon<filename>include/glx.ads pragma Ada_2012; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with X11; limited with Xlib; limited with Xutil; with Interfaces.C.Strings; with System; with GL; with bits_stdint_intn_h; package glx is -- Troodon addition type IntArray is arr...
programs/oeis/066/A066520.asm
neoneye/loda
22
9623
; A066520: Number of primes of the form 4m+3 <= n minus number of primes of the form 4m+1 <= n. ; 0,0,1,1,0,0,1,1,1,1,2,2,1,1,1,1,0,0,1,1,1,1,2,2,2,2,2,2,1,1,2,2,2,2,2,2,1,1,1,1,0,0,1,1,1,1,2,2,2,2,2,2,1,1,1,1,1,1,2,2,1,1,1,1,1,1,2,2,2,2,3,3,2,2,2,2,2,2,3,3,3,3,4,4,4,4,4,4,3,3,3,3,3,3,3,3,2,2,2,2 lpb $0 mov $2,$0 ...
src/gnat/stand.adb
Letractively/ada-gen
0
26450
<filename>src/gnat/stand.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
src/main/antlr4/kdlLexerModified.g4
cliserkad/bitter
0
3392
lexer grammar kdlLexerModified; @header { package com.xarql.kdl.antlr; } // skip over whitespace WS: [ \t\r\n]; // quotes QUOTE: '"'; STRING_LIT: QUOTE (~["\\] | '\\' .)* QUOTE; CHAR_LIT: '\'' . '\''; // keywords TYPE: 'type'; CONST: 'const'; MAIN: 'main'; RETURN: 'return'; USE: 'use'; PATH: 'path'; IF: 'if'; ELSE...
libsrc/_DEVELOPMENT/adt/ba_priority_queue/c/sdcc_iy/ba_priority_queue_push_callee.asm
jpoikela/z88dk
640
104140
<reponame>jpoikela/z88dk ; int ba_priority_queue_push_callee(ba_priority_queue_t *q, int c) SECTION code_clib SECTION code_adt_ba_priority_queue PUBLIC _ba_priority_queue_push_callee EXTERN asm_ba_priority_queue_push _ba_priority_queue_push_callee: pop af pop hl pop bc push af jp asm_ba_priorit...
src/sound/song366restored.asm
MusicTheorist/Mother2GbaTranslation
1
176610
song366restored_pri equ 100 song366restored_rev equ 0 song366restored_mvl equ 127 song366restored_key equ 0 song366restored_tbs equ 1 song366restored_exg equ 0 song366restored_cmp equ 1 .align 4 ;**************** Track 1 (Midi-Chn.7) ****************; @song366restored_1: .byte KEYSH , song366restored_key+...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_981.asm
ljhsiun2/medusa
9
92836
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xf0b7, %rbx nop nop nop nop xor $17143, %rbp mov (%rbx), %r10w nop nop nop nop and $6774, %r12 lea addresses_WC_ht+0x12dc7, %rdx nop nop nop nop nop add %rbx, %rbx m...
programs/oeis/070/A070646.asm
karttu/loda
1
17860
<reponame>karttu/loda ; A070646: n^6 mod 23. ; 0,1,18,16,2,8,12,4,13,3,6,9,9,6,3,13,4,12,8,2,16,18,1,0,1,18,16,2,8,12,4,13,3,6,9,9,6,3,13,4,12,8,2,16,18,1,0,1,18,16,2,8,12,4,13,3,6,9,9,6,3,13,4,12,8,2,16,18,1,0,1,18,16,2,8,12,4,13,3,6,9,9,6,3,13,4,12,8,2 pow $0,6 mod $0,23 mov $1,$0
test/tests.asm
barrettotte/Subarashii-CPU
1
244573
<gh_stars>1-10 ; Test cases - Machine code used in src/rom.v ; ; ; Test ALU ADD R0,R0,R0 ; [000] = 0000000000000000 ADI R1,0x02 ; [002] = 1000000100000010 ADI R2,0x01 ; [004] = 1000001000000001 ADD R3,R2,R1 ; [006] = 0000001100100001 SUB R3,R3,R0 ; [008] = 0001001100110000 AND R2,R2,R3 ; [010]...
DE-LAB-2/main.asm
tustunkok/CMPE236-Labs
0
16763
; GLOBAL 7SEG CONSTANTS N0 EQU 11000000B ; #DEFINE N0 11000000B N1 EQU 11111001B N2 EQU 10100100B N3 EQU 10110000B N4 EQU 10011001B N5 EQU 10010010B N6 EQU 10000010B N7 EQU 11111000B N8 EQU 10000000B N9 EQU 10010000B NA EQU 10001000B NB EQU 10000011B NC EQU 11000110B ND EQU 10100001B NE_ EQU 10000110B N...
examples/scrload/loader.asm
mahlemiut/cpcbuilder
4
25918
; Screen loading test app. include "firmware.inc" org &8000 .start: ; enter mode 2 (640x200) ld a,2 call scr_set_mode ; open file ld b,10 ; filename length ld hl,.filename ; filename ld de,.buffer ; buffer call cas_in_open call z,.openfail ; display fail message if open fails ; load file contents i...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b06a.ada
best08618/asylo
7
20662
-- C87B06A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
source/protocol/lsp-servers-handlers.ads
reznikmm/ada_lsp
11
23235
-- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- private package LSP.Servers.Handlers is pragma Preelaborate; procedure DidChangeConfiguration (Stream : access Ada.Streams.Root_Stream_Type...
Transynther/x86/_processed/NONE/_ht_zr_/i7-7700_9_0x48.log_21829_447.asm
ljhsiun2/medusa
9
3856
<filename>Transynther/x86/_processed/NONE/_ht_zr_/i7-7700_9_0x48.log_21829_447.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x18c38, %rsi lea addresses_D_ht+0x1e1f8, %rdi nop add $60780, %rdx mov $80, %rcx rep movsw ...
src/instruction-test/xor.asm
brgmnn/uob-cpu-simulator
0
162619
<reponame>brgmnn/uob-cpu-simulator # bitwise xor # xor ra,rb,rc # ra = rb ^ rc mov r1,#7 mov r2,#28 xor r0,r1,r2 halt
Transynther/x86/_processed/NONE/_st_/i7-8650U_0xd2_notsx.log_1287_183.asm
ljhsiun2/medusa
9
15509
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x879c, %r10 clflush (%r10) nop xor $25705, %r9 movl $0x61626364, (%r10) nop nop nop inc %r11 lea addresses_WC_ht+0x219c, %r11 clflush (%r11) and $63621, %rbp mov...
oeis/010/A010590.asm
neoneye/loda-programs
11
163893
; A010590: Decimal expansion of cube root of 18. ; Submitted by <NAME> ; 2,6,2,0,7,4,1,3,9,4,2,0,8,8,9,6,6,0,7,1,4,1,6,6,1,2,8,0,4,4,1,9,9,6,2,7,0,2,3,9,4,2,7,6,4,5,7,2,3,6,3,1,7,2,5,1,0,2,7,7,3,8,0,5,7,2,8,6,9,9,8,1,9,1,9,6,0,4,2,1,0,8,8,2,8,4,5,5,8,2,5,9,8,9,0,7,3,5,9,7 mov $3,$0 add $3,1 mul $3,3 lpb $3 add $6,$2...
programs/oeis/033/A033361.asm
neoneye/loda
22
82513
; A033361: a(n) = floor(41/n). ; 41,20,13,10,8,6,5,5,4,4,3,3,3,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 add $0,1 mov $1,41 div $1,$0 mov $0,$1
Univalence/FiniteFunctions.agda
JacquesCarette/pi-dual
14
1286
<gh_stars>10-100 {-# OPTIONS --without-K #-} module FiniteFunctions where open import Data.Vec using (tabulate; _∷_) open import Data.Fin using (Fin; zero; suc) open import Data.Nat using (ℕ; suc) open import Relation.Binary.PropositionalEquality using (_≡_; refl; cong; module ≡-Reasoning) open import Fu...
programs/oeis/176/A176636.asm
neoneye/loda
22
3056
<reponame>neoneye/loda ; A176636: Periodic sequence: Repeat 57, 71. ; 57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57 mod $0,2 mul $0,14 add $0,57
platinum-experiment-data/evolved/DeciderMutants_Evolve/11.als
jringert/alloy-diff
1
516
module decider open Declaration some sig NameSpace extends Class{}{ attrSet = namespaceID+namespaceName id=namespaceID isAbstract = No no parent } some sig namespaceID extends Integer{} some sig namespaceName extends string{} one sig Variable extends Class{}{ //attrSet = variableID+variableName id=variableID isAbstract...
programs/oeis/031/A031164.asm
karttu/loda
0
241944
; A031164: Irreducible Euler sums of weight 8 and depth 10+2n. ; 1,4,15,40,99,212,429,800,1430,2424,3978,6288,9690,14520,21318,30624,43263,60060,82225,110968,148005,195052,254475,328640,420732,533936,672452,840480,1043460,1286832,1577532,1922496,2330445 mov $16,$0 mov $18,$0 add $18,1 lpb $18,1 clr $0,16 mov $0,$1...
data/battle/residual_effects_2.asm
opiter09/ASM-Machina
1
26060
<filename>data/battle/residual_effects_2.asm ResidualEffects2: ; non-side effects not included in ResidualEffects1 ; stat-affecting moves, sleep-inflicting moves, and Bide ; e.g., Meditate, Bide, Hypnosis db EFFECT_01 db ATTACK_UP1_EFFECT db DEFENSE_UP1_EFFECT db SPEED_UP1_EFFECT db SPECIAL_UP1_EFFECT db ACCURACY...
src/memory.asm
mdsteele/gb-pong
3
102012
<reponame>mdsteele/gb-pong INCLUDE "src/hardware.inc" ;;;=========================================================================;;; SECTION "Game-State", WRAM0 BallXVel:: DB BallYVel:: DB P1Score:: DB P2Score:: DB IsPaused:: DB HoldingStartButton:: DB ;;;====================================...
a51test/(C0)PUSH_d.a51
Aimini/51cpu
0
170423
MOV 0x66,#0x00 MOV 0x73,#0x01 MOV 0x25,#0x02 MOV 0x30,#0x03 MOV 0x56,#0x04 MOV 0x54,#0x05 MOV 0x4C,#0x06 MOV 0x65,#0x07 PUSH 0x66 PUSH 0x73 PUSH 0x25 PUSH 0x30 PUSH 0x56 PUSH 0x54 PUSH 0x4C PUSH 0x65
P6/data_P6_2/ALUTest2.asm
alxzzhou/BUAA_CO_2020
1
167765
slti $3,$0,-16199 slt $1,$4,$3 nor $6,$5,$3 srl $2,$2,0 lhu $0,6($0) addiu $5,$4,12538 sh $3,6($0) nor $1,$0,$3 lbu $4,2($0) srlv $4,$4,$3 xor $3,$3,$3 subu $5,$1,$3 addiu $3,$6,22295 addu $4,$4,$3 slti $0,$0,-2982 addu $3,$3,$3 sll $3,$3,2 xori $3,$0,11806 sllv $3,$5,$3 sra $4,$3,7 sllv $4,$4,$3 addu $4,$3,$3 sb $3,12...
src/asis/a4g-a_types.ads
My-Colaborations/dynamo
15
5344
<reponame>My-Colaborations/dynamo ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- ...
init.asm
PieMyth/cs333
0
86450
_init: file format elf32-i386 Disassembly of section .text: 00000000 <main>: char *argv[] = { "sh", 0 }; int main(void) { 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 ...
examples/outdated-and-incorrect/clowns/Clowns.agda
cruhland/agda
1,989
3852
<reponame>cruhland/agda {-# OPTIONS --no-positivity-check #-} module Clowns where import Equality import Isomorphism import Derivative import ChainRule open import Sets open import Functor open import Zipper open import Dissect open Functor.Recursive open Functor.Semantics -- Natural numbers NatF : U NatF = K [1] +...
programs/oeis/089/A089257.asm
neoneye/loda
22
171786
; A089257: Even numbers n such that 2n-5 is a prime of the form 4k+3. ; 4,6,8,12,14,18,24,26,32,36,38,42,44,54,56,66,68,72,78,84,86,92,98,102,108,114,116,122,128,134,138,144,156,158,168,176,182,186,192,194,212,218,222,224,234,236,242,246,248,252,254,264,276,284,288,296,302,306,312,318,324,326,332,344,348,362,366,372,37...
oeis/229/A229283.asm
neoneye/loda-programs
11
19210
; A229283: Number of ascending runs in {1,...,9}^n. ; Submitted by <NAME> ; 0,9,126,1539,17496,190269,2007666,20726199,210450636,2109289329,20920706406,205720279659,2008387814976,19487638017189,188098071296346,1807266603941919,17294855095950516,164918796807813849,1567655079768657486,14859368894402912979,140488578637991...
fxscriptcompiler/FCP Function Library.applescript
joemaller/joesfilters
0
2400
<filename>fxscriptcompiler/FCP Function Library.applescript -- FCP Function Library.applescript -- Joe's FXScript Compiler -- Created by <NAME> on 8/18/06. -- Copyright 2006 __MyCompanyName__. All rights reserved. (* used by the FCP ccrash detection and recovery routines *) property loopcount : 0 property crashco...
src/stemmer.ads
stcarrez/ada-stemmer
3
26486
<filename>src/stemmer.ads ----------------------------------------------------------------------- -- stemmer -- Multi-language stemmer with Snowball generator -- Copyright (C) 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this fi...
Scripts Pack Source Items/Scripts Pack/Core Components/Wi-Fi Power State.applescript
Phorofor/ScriptsPack.macOS
1
3620
# Scripts Pack - Tweak various preference variables in macOS # <Phorofor, https://github.com/Phorofor/> -- AirPort Power State -- Versions compatible: 10.6.9 -- Preference Identifier: -- Preference Key: -- Preference location: /Library/Preferences/ -- Default value (boolean): 0 set MacVer to do shell script "sw_vers...