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
ee.taltech.cs.mbt.tdl.uppaal.uta-grammar/src/main/resources/grammar-source/UtaLanguage.g4
tanelprikk/ee.taltech.cs.mbt.tdl.interpreter
0
201
<reponame>tanelprikk/ee.taltech.cs.mbt.tdl.interpreter<filename>ee.taltech.cs.mbt.tdl.uppaal.uta-grammar/src/main/resources/grammar-source/UtaLanguage.g4 grammar UtaLanguage; @lexer::members { public static final int CHANNEL_LANGUAGE = 0; public static final int CHANNEL_WHITESPACE = 1; public static final int CHANNEL_...
src/oberon-files.adb
Lucretia/so
8
29089
------------------------------------------------------------------------------------------------------------------------ -- See COPYING for licence information. ------------------------------------------------------------------------------------------------------------------------ with Ada.Directories; with Ada.Text_I...
programs/oeis/245/A245764.asm
karttu/loda
1
10819
; A245764: a(n) = 2*(n^2 + 1) + n*(1 + (-1)^n). ; 2,4,14,20,42,52,86,100,146,164,222,244,314,340,422,452,546,580,686,724,842,884,1014,1060,1202,1252,1406,1460,1626,1684,1862,1924,2114,2180,2382,2452,2666,2740,2966,3044,3282,3364,3614,3700,3962,4052,4326,4420,4706,4804,5102,5204,5514,5620,5942,6052,6386,6500,6846,6964,7...
books/nand2tetris/ch04/1-to-100-2-by-2.asm
luksamuk/study
3
83708
@i M=0 @sum M=0 (LOOP) @i D=M @100 D=D-A @END // refers to exact line number D;JGT @i D=M @sum M=D+M @2 D=A @i M=D+M @LOOP 0;JMP (END) @END 0;JMP // halt
programs/oeis/282/A282462.asm
neoneye/loda
22
13716
<reponame>neoneye/loda ; A282462: Integers but with the primes cubed. ; 0,1,8,27,4,125,6,343,8,9,10,1331,12,2197,14,15,16,4913,18,6859,20,21,22,12167,24,25,26,27,28,24389,30,29791,32,33,34,35,36,50653,38,39,40,68921,42,79507,44,45,46,103823,48,49,50,51,52,148877,54,55,56,57,58,205379,60,226981,62,63,64,65,66,300763,68,...
archive/agda-2/Oscar/Category/SemigroupoidAction.agda
m0davis/oscar
0
2893
module Oscar.Category.SemigroupoidAction where open import Oscar.Category.Action open import Oscar.Category.Setoid open import Oscar.Category.Semigroupoid open import Oscar.Function open import Oscar.Level module _ {𝔊𝔬 𝔊𝔪 𝔊𝔮} (semigroupoid : Semigroupoid 𝔊𝔬 𝔊𝔪 𝔊𝔮) where open Semigroupoid semigroupoid ...
Bank_I/7_divide.asm
ndf-zz/fv1testing
0
179617
; FV-1 Testing ; ; Program: Log Division ; ; General division using log: ; ; log(x/y) = log(x) - log(y) ; ; Note: y is input on POT0 and ranges over -1.0 to 1.0 ; ; POT0: Divisor ; POT1: Level ; POT2: Offset ; ; Prepare LFOs skp RUN,main wlds SIN0,100,32767 ; Load divisor, save sign and compute log(y) main: rdax PO...
Appl/Perf/user.asm
steakknife/pcgeos
504
28678
<filename>Appl/Perf/user.asm COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: Perf (Performance Meter) FILE: user.asm (code to handle UI events) REVISION HISTORY: Name Date Description ---- ---- ----------- Er...
src/ashparser/AshLexer.g4
midgleyc/vscode-kolmafia-ash
5
131
lexer grammar AshLexer; // Keywords BOOLEAN: 'boolean'; BREAK: 'break'; CASE: 'case'; CATCH: 'catch'; CONST: 'const'; CONTAINS: 'contains'; CONTINUE: 'continue'; DEFAULT: 'default'; DO: 'do'; DOUBLE: 'double'; ELSE: 'else'; FINALLY: 'finally'; FLOAT: 'float'; FOR: 'for'; FOREACH: 'foreach'; IF: 'if'; IMPORT: 'import'...
sw/bootloader/main.asm
matejpolj/neorv32
0
12886
<filename>sw/bootloader/main.asm main.elf: file format elf32-littleriscv Disassembly of section .text: 00000000 <_start>: 0: 00000037 lui zero,0x0 00000004 <__crt0_pointer_init>: 4: 80002117 auipc sp,0x80002 8: ff810113 addi sp,sp,-8 # 80001ffc <__ctr0_io_space_begin+0x80...
src/input.asm
RysteQ/SBOS
0
10529
<filename>src/input.asm get_input: pusha ; prepare the registers mov si, input_buffer mov di, previous_command xor dx, dx xor cl, cl mov cl, byte INPUT_BUFFER_SIZE dec cl get_char: ; get the character mov ah, byte 0x00 int 0x16 ; check if the user p...
libsrc/_DEVELOPMENT/stdio/c/sdcc_iy/puts_fastcall.asm
teknoplop/z88dk
0
162399
<reponame>teknoplop/z88dk ; int puts_fastcall(const char *s) INCLUDE "clib_cfg.asm" SECTION code_clib SECTION code_stdio ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $02 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _puts_fastcall EXTERN asm_puts defc _puts_fastcall = asm_puts ;;;;;;;;;;;;;;;;;;;;;;;;;;...
STM32F4/ToyOBDH/host_app/obj/b__ground_station.ads
AntonioRamosNieto/TFG-STM32F429
0
13755
<reponame>AntonioRamosNieto/TFG-STM32F429<filename>STM32F4/ToyOBDH/host_app/obj/b__ground_station.ads<gh_stars>0 pragma Warnings (Off); pragma Ada_95; with System; package ada_main is gnat_argc : Integer; gnat_argv : System.Address; gnat_envp : System.Address; pragma Import (C, gnat_argc); pragma Impor...
src/MJ/Semantics/Monadic.agda
metaborg/mj.agda
10
13119
import MJ.Classtable import MJ.Syntax as Syntax import MJ.Semantics.Values as Values import MJ.Classtable.Core as Core import MJ.Classtable.Code as Code -- -- Substitution-free interpretation of welltyped MJ -- module MJ.Semantics.Monadic {c} (Ct : Core.Classtable c)(ℂ : Code.Code Ct) where open import Prelude hidi...
test/Succeed/Issue3083.agda
cruhland/agda
1,989
17095
module _ where module M (A : Set) where record R : Set where postulate B : Set postulate A : Set r : M.R A module M' = M A open import Agda.Builtin.Reflection open import Agda.Builtin.List postulate any : {A : Set} → A macro m : Term → TC _ m goal = bindTC (inferType goal) λ goal-type →...
FormalAnalyzer/models/meta/cap_runIn.als
Mohannadcse/IoTCOM_BehavioralRuleExtractor
0
5293
<reponame>Mohannadcse/IoTCOM_BehavioralRuleExtractor module cap_runIn open IoTBottomUp abstract sig cap_runIn extends Capability {} abstract sig cap_runIn_attr extends Attribute {} one sig cap_runIn_attr_runIn extends cap_runIn_attr {} { values = cap_runIn_attr_val } abstract sig cap_runIn_attr_val extends AttrValu...
test/Succeed/TerminationWithMerge.agda
alhassy/agda
3
3091
{-# OPTIONS --termination-depth=2 #-} module TerminationWithMerge where data List (a : Set) : Set where [] : List a _∷_ : a -> List a -> List a open import Agda.Builtin.Bool postulate a : Set _≤?_ : a -> a -> Bool merge : List a -> List a -> List a merge xs [] = xs merge [] y...
mmlgb/driver/vib.asm
misterdanb/TheWindWizerd
0
168136
<filename>mmlgb/driver/vib.asm ;-------------------------------------------------------- ; File Created by SDCC : FreeWare ANSI-C Compiler ; Version 2.3.1 Wed Sep 12 19:33:30 2018 ;-------------------------------------------------------- .module lcc53960 ;-------------------------------------------------------- ; P...
bootstrapper/RealModeSwitcher.asm
supercomputer7/nahmanboot2
3
19364
BITS 32 switch_structure: .sig dd 0x70BBCAFE .returnaddr dd 0x0 .previousstack dd 0x0 .interrupt dw 0x0 .eax_reg dd 0x0 .ebx_reg dd 0x0 .edx_reg dd 0x0 .ecx_reg dd 0x0 .esi_reg dd 0x0 .edi_reg dd 0x0 .es_reg dw 0x0 .gs_reg dw 0x0 .fs_reg dw 0x0 .jump dd entry entry: BITS 32 nop ;jmp .protectedmode ;;; dropping t...
tests/typing/good/testfile-rec-2.adb
xuedong/mini-ada
0
7679
<filename>tests/typing/good/testfile-rec-2.adb with Ada.Text_IO; use Ada.Text_IO; procedure Test is function F return character is begin return f; end; begin put(f); end;
gameover.asm
wiebow/tetris.c64
79
166941
// code concerning the game over mode // states of the game over mode .const STEP_FILLWELL = 0 .const STEP_CLEARWELL = 1 .const STEP_GAMEOVERTEXT = 2 // ------------------------------------------------ StartGameOverMode: // play game over music lda #0 sta sounddelayCounter lda #SND_MUSIC_GAMEOVER jsr playsound...
alloy4fun_models/trashltl/models/9/jBZj8RgyzWcPha7Pr.als
Kaixi26/org.alloytools.alloy
0
5357
<gh_stars>0 open main pred idjBZj8RgyzWcPha7Pr_prop10 { always all f:Protected | f in Protected' } pred __repair { idjBZj8RgyzWcPha7Pr_prop10 } check __repair { idjBZj8RgyzWcPha7Pr_prop10 <=> prop10o }
oeis/015/A015188.asm
neoneye/loda-programs
11
18596
; A015188: Sum of (Gaussian) q-binomial coefficients for q=-19. ; Submitted by <NAME> ; 1,2,-16,688,111136,89882432,-275004084736,4228048101810688,245826835826279382016,71807813126925810352535552,-79325152089697863954203470053376,440258301458598565100624737135157198848,9240608384586184341279607973207159152665788416,974...
ArmPkg/Library/CompilerIntrinsicsLib/Arm/switch.asm
nicklela/edk2
3,012
102047
<reponame>nicklela/edk2 ///------------------------------------------------------------------------------ // // Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> // // SPDX-License-Identifier: BSD-2-Clause-Patent // //------------------------------------------------------------------------------ ...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_2462_804.asm
ljhsiun2/medusa
9
87207
<filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_2462_804.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1914b, %rsi lea addresses_WC_ht+0x11721, %rdi nop nop nop nop nop sub $4...
Formula/src/main/antlr/Formula.g4
kighie/formula
0
4841
/* * Copyright (c) 2012 <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 applicable law or agree...
libsrc/_DEVELOPMENT/stdio/c/sccz80/putc_unlocked_callee.asm
jpoikela/z88dk
640
533
; int putc_unlocked(int c, FILE *stream) SECTION code_clib SECTION code_stdio PUBLIC putc_unlocked_callee EXTERN fputc_unlocked_callee defc putc_unlocked_callee = fputc_unlocked_callee
commands/communication/zoom/toggle-video.applescript
daviddzhou/script-commands
3,305
3173
<filename>commands/communication/zoom/toggle-video.applescript #!/usr/bin/osascript # Required parameters: # @raycast.author <NAME> # @raycast.authorURL https://github.com/lcardito # @raycast.author <NAME> # @raycast.authorURL https://github.com/farisaziz12 # @raycast.schemaVersion 1 # @raycast.title Toggle Video # @r...
sources/descriptors_tables/gdt.asm
SzymonGoldberg/kaffenOS
2
17546
[GLOBAL gdt_flush] gdt_flush: mov eax, [esp+4] ;getting pointer from C func (which is parameter) lgdt [eax] ;Loading new gdt pointer mov ax, 0x10 ;offset of our data segment mov ds, ax mov fs, ax mov gs, ax mov ss, ax jmp 0x08:.flush ;offest of our code segment .f...
programs/oeis/266/A266303.asm
karttu/loda
1
98361
<reponame>karttu/loda ; A266303: Number of ON (black) cells in the n-th iteration of the "Rule 15" elementary cellular automaton starting with a single ON (black) cell. ; 1,2,1,6,1,10,1,14,1,18,1,22,1,26,1,30,1,34,1,38,1,42,1,46,1,50,1,54,1,58,1,62,1,66,1,70,1,74,1,78,1,82,1,86,1,90,1,94,1,98,1,102,1,106,1,110,1,114,1,...
Sources/Globe_3d/gl/gl-geometry.ads
ForYouEyesOnly/Space-Convoy
1
25558
<filename>Sources/Globe_3d/gl/gl-geometry.ads ------------------------------------------------------------------------- -- GL.Geometry - GL geometry primitives -- -- Copyright (c) <NAME> 2007 -- AUSTRALIA -- Permission granted to use this software, without any warranty, -- for any purpose, provided thi...
Automaton/Deterministic.agda
Lolirofle/stuff-in-agda
6
12690
<filename>Automaton/Deterministic.agda import Lvl open import Structure.Setoid open import Type module Automaton.Deterministic where open import Data.List renaming (∅ to ε ; _⊰_ to _·_) open import Data.List.Setoid open import Data.List.Functions using (postpend ; _++_) open import Data.List.Proofs open import F...
P6/data_P6/testpoint/testpoint54.asm
alxzzhou/BUAA_CO_2020
1
91003
ori $1, $0, 6 ori $2, $0, 10 ori $3, $0, 5 ori $4, $0, 0 sw $4, 0($0) sw $2, 4($0) sw $1, 8($0) sw $1, 12($0) sw $3, 16($0) sw $3, 20($0) sw $2, 24($0) sw $1, 28($0) sw $1, 32($0) sw $2, 36($0) sw $2, 40($0) sw $2, 44($0) sw $4, 48($0) sw $4, 52($0) sw $1, 56($0) sw $3, 60($0) sw $4, 64($0) sw $3, ...
programs/oeis/320/A320947.asm
karttu/loda
0
4965
<gh_stars>0 ; A320947: a(n) is the number of dominoes, among all domino tilings of the 2 X n rectangle, sharing a length-2 side with the boundary of the rectangle. ; 1,4,8,16,30,56,102,184,328,580,1018,1776,3082,5324,9160,15704,26838,45736,77742,131840,223112,376844,635378,1069536,1797650,3017236,5057672,8467744,141610...
software/modules/led_manager.adb
TUM-EI-RCS/StratoX
12
25706
<filename>software/modules/led_manager.adb<gh_stars>10-100 -- LED-Library by <NAME> (<EMAIL>) Date:2_015-05-20 -- -- Description: -- Portable LED Library that features switching, blinking and morse (non-blocking) -- -- Setup: -- To port the lib to your system, simply overwrite the 2 functions LED_HAL_init -- and LED...
programs/oeis/314/A314110.asm
karttu/loda
0
169647
<filename>programs/oeis/314/A314110.asm<gh_stars>0 ; A314110: Coordination sequence Gal.6.200.4 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,11,16,21,26,31,36,41,46,51,57,62,67,73,78,83,88,93,98,103,108,113,119,124,129,135,140...
thirdparty/adasdl/thin/adasdl/AdaSDL/stdtest/testgl_sprogs.adb
Lucretia/old_nehe_ada95
0
26931
-- ----------------------------------------------------------------- -- -- -- -- This is free software; you can redistribute it and/or -- -- modify it under the terms of the GNU General Public -- -- License as published by the ...
base/Kernel/Native/arm/Crt/basic_f.asm
sphinxlogic/Singularity-RDK-2.0
0
94739
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; ;;; Microsoft Research Singularity ;;; ;;; Copyright (c) Microsoft Corporation. All rights reserved. ;;; ;;; This file contains ARM-specific assembly code. ;;; ; basic_f.s ; ; Copyright (C) Advanced RISC...
data/pokemon/dex_entries/mightyena.asm
AtmaBuster/pokeplat-gen2
6
95756
db "BITE@" ; species name db "It chases down its" next "prey in a pack of" next "around ten. They" page "defeat their foes" next "with coordinated" next "teamwork.@"
programs/oeis/199/A199412.asm
neoneye/loda
22
162684
; A199412: a(n) = (9*6^n+1)/5. ; 2,11,65,389,2333,13997,83981,503885,3023309,18139853,108839117,653034701,3918208205,23509249229,141055495373,846332972237,5077997833421,30467987000525,182807922003149,1096847532018893,6581085192113357,39486511152680141,236919066916080845,1421514401496485069,8529086408978910413,511745184...
programs/oeis/103/A103325.asm
ckrause/cm
22
6458
<filename>programs/oeis/103/A103325.asm ; A103325: Fifth powers of Lucas numbers. ; 32,1,243,1024,16807,161051,1889568,20511149,229345007,2535525376,28153056843,312079600999,3461619737632,38387392786601,425733547012443,4721411479245824,52361450147627807,580696556856146851,6440026990881070368,71420978989035821749,792070...
case-studies/performance/verification/alloy/ppc/tests/safe358.als
uwplse/memsynth
19
4925
<filename>case-studies/performance/verification/alloy/ppc/tests/safe358.als module tests/safe358 open program open model /** PPC safe358 "SyncdWR Fre SyncdWR Fre" Cycle=SyncdWR Fre SyncdWR Fre Relax= Safe=Fre SyncdWR { 0:r2=x; 0:r4=y; 1:r2=y; 1:r4=x; } P0 | P1 ; li r1,1 | li r1,1 ; st...
src/main/antlr/scene/Scene.g4
markusmo3/intellij-gdscript
0
1831
grammar Scene; @header {package scene;} file: (statement | NL)* EOF; statement: section | property | LINE_COMMENT; section: BRACKET_LEFT (section_id | property)+ BRACKET_RIGHT; property: key EQUALS value; key: id ((SLASH | DOT) id)*; section_id: id (DOT id)*; id: IDENTIFIER | NUMBER; value: MINUS? (IDENTIFIER | NUMBE...
libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_fsneg.asm
jpoikela/z88dk
640
87956
; float __fsneg (float number) SECTION code_clib SECTION code_fp_math32 PUBLIC cm32_sdcc_fsneg EXTERN cm32_sdcc_fsread1, m32_fsneg .cm32_sdcc_fsneg ; negate sdcc floats ; ; enter : stack = sdcc_float number, ret ; ; exit : DEHL = sdcc_float(-number) ; ; uses : af, bc, de, hl cal...
theorems/cohomology/Unit.agda
cmknapp/HoTT-Agda
0
8482
<filename>theorems/cohomology/Unit.agda {-# OPTIONS --without-K #-} open import HoTT open import cohomology.Exactness open import cohomology.Theory module cohomology.Unit {i} (CT : CohomologyTheory i) where open CohomologyTheory CT module _ (n : ℤ) where private ⊙LU = ⊙Lift {j = i} ⊙Unit Cof-Unit-is-Unit ...
programs/oeis/276/A276394.asm
karttu/loda
0
2635
; A276394: Characteristic word associated with the fraction 36/25. ; 0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0...
oeis/000/A000321.asm
neoneye/loda-programs
11
1997
<reponame>neoneye/loda-programs<filename>oeis/000/A000321.asm<gh_stars>10-100 ; A000321: H_n(-1/2), where H_n(x) is Hermite polynomial of degree n. ; Submitted by <NAME>(s3) ; 1,-1,-1,5,1,-41,31,461,-895,-6481,22591,107029,-604031,-1964665,17669471,37341149,-567425279,-627491489,19919950975,2669742629,-759627879679,652...
src/projects/instrument/main.asm
rainbowbismuth/gbg
0
93943
INCLUDE "header.asm" INCLUDE "macros.asm" INCLUDE "registers.asm" INCLUDE "constants.asm" INCLUDE "memory.asm" assert: MACRO jr \1, .next\@ jp cause_deadlock .next\@: ENDM main: ld sp, Work_RAM_End xor a or a assert z call disable_lcd call enable_sound call reset_gfx call enable_cart_ram ...
Exams/Test2_2017_2018/Group_II.als
pemesteves/MFES_2021
0
3932
sig Institution {} sig Researcher { affiliation: set Institution } sig Title {} sig Paper { title: Title, authors: some Researcher } sig Conference { pcMembers: set Researcher, papers: set Paper, reviewers: papers -> pcMembers } { #papers.title = #papers all p: papers | no reviewers...
sender/osx/safari_submit.applescript
ksint/SasSubmit
7
1361
set currentApp to path to frontmost application tell application "Safari" to activate delay 1 tell application "Safari" set tabtitle to name of front document end tell if {tabtitle starts with "SAS Studio"} then tell application "System Events" delay 0.1 key code 21 using option down delay 0.1 keystroke "a" ...
vtl-sources/Vtl-2.0-Insee/Vtl.g4
romaintailhurat/VTL-Tools
0
1012
<reponame>romaintailhurat/VTL-Tools grammar Vtl; import VtlTokens; start: (statement EOL)* EOF ; /* statement */ statement: varID ASSIGN expr # temporaryAssignment | varID PUT_SYMBOL expr # persistAssignment | defOperators # defineExpression ; /* expression ...
1581/64tass/romtbl.asm
silverdr/assembly
23
18565
; command tables and information cmdtbb .word fstrd ; fast read drv #0 - 0000 .word ndkrd ; fast read drv #1 - 0001 .word fstwrt ; fast write drv #0 - 0010 .word ndkwrt ; fast write drv #1 - 0011...
Documentation/Tutorial/larger.asm
geoffthorpe/ant-architecture
0
243463
# <NAME> -- 11/2/96 # larger.asm-- An Ant-8 program that computes and prints the larger # of two numbers specified at runtime by the user. # The algorithm used here is to put the larger of r2 and r3 # into r4, and then print r4. # Registers used: # r2 - used to hold the first number. # r3 - used to hold the secon...
test/Succeed/Issue2579/Import.agda
shlevy/agda
1,989
1224
module Issue2579.Import where record Wrap (A : Set) : Set where constructor wrap field wrapped : A
oeis/262/A262017.asm
neoneye/loda-programs
11
164170
; A262017: The first of five consecutive positive integers the sum of the squares of which is equal to the sum of the squares of six consecutive positive integers. ; Submitted by <NAME>(s1) ; 61,1381,30361,666601,14634901,321301261,7053992881,154866542161,3400009934701,74645352021301,1638797734533961,35978904807725881,...
programs/oeis/093/A093337.asm
neoneye/loda
22
88921
; A093337: Penultimate digits of the primes. ; 1,1,1,1,2,2,3,3,4,4,4,5,5,6,6,7,7,7,8,8,9,0,0,0,0,1,2,3,3,3,4,5,5,6,6,7,7,8,9,9,9,9,1,2,2,2,3,3,4,5,5,6,6,7,7,8,8,9,0,1,1,1,3,3,4,4,5,5,6,7,7,8,8,9,0,0,1,2,3,3,3,4,4,5,6,6,6,7,8,9,9,0,0,2,2,4,4,5,6,6 lpb $0 div $0,2 pow $0,6 lpe seq $0,120533 ; Primes having a prime n...
source/s-atcaco.ads
ytomino/drake
33
7859
<gh_stars>10-100 pragma License (Unrestricted); -- extended unit, see AI05-0002-1 generic type Object (<>) is limited private; type Object_Pointer is access constant Object; package System.Address_To_Constant_Access_Conversions is -- This is an implementation of <NAME>'s plan in AI05-0002-1. pragma Preela...
tests/data/src/add3.asm
protoCall7/PZ80emu
1
172420
<filename>tests/data/src/add3.asm ld bc,0x00FF ld hl,0x00FF add hl,bc
src/instruction-test/div.asm
brgmnn/uob-cpu-simulator
0
88402
# 'div' test case code # modifying this code with cause tests to fail! mov r0, #12 mov r1, #4 div r2, r0, r1 mov r0, #56 mov r1, #8 div r3, r0, r1 mov q0, #12.0 mov q1, #4.0 div q2, q0, q1 mov q0, #56.0 mov q1, #8.0 div q3, q0, q1
hrm/30_string_storage_floor.asm
glupmjoed/puzzles
0
166577
<filename>hrm/30_string_storage_floor.asm -- HUMAN RESOURCE MACHINE PROGRAM -- -- [FLOOR[in1], FLOOR[in1 + 1] .. ~\0], ... -> out a: INBOX COPYTO 24 b: COPYFROM [24] JUMPZ a OUTBOX BUMPUP 24 JUMP b
alloy4fun_models/trashltl/models/4/zFfR6azJJ3h5Kbwpj.als
Kaixi26/org.alloytools.alloy
0
4379
<reponame>Kaixi26/org.alloytools.alloy open main pred idzFfR6azJJ3h5Kbwpj_prop5 { eventually (all t: File | File' = File - t) } pred __repair { idzFfR6azJJ3h5Kbwpj_prop5 } check __repair { idzFfR6azJJ3h5Kbwpj_prop5 <=> prop5o }
programs/oeis/180/A180144.asm
jmorken/loda
1
172786
<reponame>jmorken/loda<gh_stars>1-10 ; A180144: Eight rooks and one berserker on a 3 X 3 chessboard. G.f.: (1 - 2*x^2)/(1 - 4*x + x^2 + 2*x^3). ; 1,4,13,46,163,580,2065,7354,26191,93280,332221,1183222,4214107,15008764,53454505,190381042,678052135,2414918488,8600859733,30632416174,109098967987,388561736308,1383883144897...
Finality.agda
danelahman/aeff-agda
4
15039
<reponame>danelahman/aeff-agda open import Data.Empty open import Data.List hiding ([_]) renaming (_∷_ to _∷ₗ_) open import Data.Maybe open import Data.Product open import Data.Sum open import Data.Unit open import AEff open import AwaitingComputations open import EffectAnnotations open import Preservation open import...
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca_notsx.log_21829_166.asm
ljhsiun2/medusa
9
92285
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0xef05, %r11 clflush (%r11) nop nop cmp $16970, %r14 mov (%r11), %di nop nop and %r15, %r15 lea addresses_WC_ht+0x14fc5, %r11 nop nop nop nop cmp $9567, %r12 mov $0x6162636465...
programs/oeis/249/A249911.asm
neoneye/loda
22
12707
<filename>programs/oeis/249/A249911.asm ; A249911: 60-gonal (hexacontagonal) numbers: a(n) = n(29n - 28). ; 0,1,60,177,352,585,876,1225,1632,2097,2620,3201,3840,4537,5292,6105,6976,7905,8892,9937,11040,12201,13420,14697,16032,17425,18876,20385,21952,23577,25260,27001,28800,30657,32572,34545,36576,38665,40812,43017,4528...
Cubical/HITs/Localization/Base.agda
borsiemir/cubical
0
10664
{-# OPTIONS --cubical --safe #-} module Cubical.HITs.Localization.Base where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Function open import Cubical.Foundations.PathSplitEquiv open isPathSplitEquiv module _ {ℓα ℓs ℓt} {A : Type ℓα} {S : A → Type ℓs} {T : A → Type ℓt} where isLocal : ∀ ...
libsrc/gfx/narrow/clrarea2.asm
ahjelm/z88dk
640
10480
<reponame>ahjelm/z88dk SECTION smc_clib PUBLIC cleararea EXTERN pixeladdress EXTERN leftbitmask, rightbitmask ; ; $Id: clrarea2.asm,v 1.6 2017-01-02 21:51:24 aralbrec Exp $ ; ; *********************************************************************** ; ; Clear specified graphics area in map. ...
projects/batfish/src/main/antlr4/org/batfish/grammar/frr/Frr_vrf.g4
ton31337/batfish
1
1409
parser grammar Frr_vrf; import Frr_common; options { tokenVocab = FrrLexer; } s_vrf : VRF name = word NEWLINE ( sv_vni | sv_route )* (EXIT_VRF NEWLINE)? ; sv_route : IP ROUTE network = prefix (next_hop_ip = ip_address | next_hop_interface = word) (distance = uint8)? NEWLINE ; sv_vni : VNI vni =...
programs/oeis/190/A190332.asm
neoneye/loda
22
170441
<filename>programs/oeis/190/A190332.asm ; A190332: n + [n*s/r] + [n*t/r]; r=1, s=sqrt(3), t=1/s. ; 2,6,9,12,15,19,23,25,29,32,36,38,42,46,48,52,55,59,61,65,69,72,75,78,82,86,88,92,95,98,101,105,109,111,115,118,122,124,128,132,135,138,141,145,147,151,155,158,161,164,168,172,174,178,181,184,187,191,195,197,201,204,208,21...
src/common/keccak-generic_monkeywrap.ads
damaki/libkeccak
26
29722
------------------------------------------------------------------------------- -- Copyright (c) 2019, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- * Redistributions of s...
Task/CSV-to-HTML-translation/Ada/csv-to-html-translation-3.ada
LaudateCorpus1/RosettaCodeData
1
21307
<filename>Task/CSV-to-HTML-translation/Ada/csv-to-html-translation-3.ada <table> <tr> <td>Character</td> <td>Speech</td> </tr> <tr> <td>The multitude</td> <td>The messiah! Show us the messiah!</td> </tr> <tr> <td>Brians mother</td> <td>&lt;angry&gt;Now you listen here!...
files/aws/cli/ssh_all.scpt
sandstheman/mac-dev-playbook
0
310
#!/usr/bin/osascript # iTerm script for SSH to a number of IP addresses on run argv -- Set variables set num_args to count of argv set num_cols to round (num_args ^ 0.5) set num_lines to round (num_args / num_cols) rounding up tell application "iTerm2" create tab with default profile of current window ...
Setoids/Cardinality/Infinite/Lemmas.agda
Smaug123/agdaproofs
4
8626
{-# OPTIONS --safe --warning=error --without-K #-} open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) open import LogicalFormulae open import Functions.Definition open import Numbers.Naturals.Definition open import Numbers.Naturals.Order open import Sets.FinSet.Definition open import Sets.FinSet.Lemmas open im...
agda/lec3FOP.agda
nicolaikraus/FOP2018
0
8074
<filename>agda/lec3FOP.agda {- Mathematical Foundations of Programming (G54FOP) <NAME> Lecture 3, 7 Feb 2018 ==================== INTRODUCTION TO AGDA ==================== Your G54FPP project could involve Agda. If you want. Btw, text in {- -} is a comment. So is text after --. links to help you ...
SM2.asm
IamSumitKumar/MicroProcessor
0
171186
.MODEL SMALL .386 .DATA MES1 DB 13,10,'ENTER FIRST NUMBER : $' MES2 DB 13,10,'ENTER SECOND NUMBER : $' MES3 DB 13,10,'32 ADDITION IS : $' .CODE .STARTUP MOV AH,09H MOV DX, OFFSET MES1 INT 21H MOV CX,8 I1: SHL EBX,4 MOV AH,1 INT 21H SUB AL,30H ADD BL,AL LOOP I1 MOV ESI,EBX MOV EBX,0 MOV AH,...
alloy4fun_models/trainstlt/models/14/6RXj9PkoFGmAcx7gF.als
Kaixi26/org.alloytools.alloy
0
5366
<filename>alloy4fun_models/trainstlt/models/14/6RXj9PkoFGmAcx7gF.als open main pred id6RXj9PkoFGmAcx7gF_prop15 { eventually always (some t: Train| (no t.pos implies eventually some t.pos) or t.pos != t.pos') } pred __repair { id6RXj9PkoFGmAcx7gF_prop15 } check __repair { id6RXj9PkoFGmAcx7gF_prop15 <=> prop15o }
PP-Semaphores/src/semaphores.ads
JackShen1/parallel-programming
3
26121
package Semaphores is protected type SIMA (Initial_Value: Natural; Max_Value: Natural;) is entry P; entry V; private Count : Natural := Initial_Value; Max_Count : Natural := Max_Value; end SIMA; end Semaphores;
src/fot/LTC-PCF/Program/Division/ConversionRules.agda
asr/fotc
11
6535
------------------------------------------------------------------------------ -- Conversion rules for the division ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polymorphism...
libsrc/stdio/m5/fgetc_cons.asm
meesokim/z88dk
0
246751
; ; SORD M5 Stdio ; ; getkey() Wait for keypress ; ; <NAME> - Apr. 2000 ; ; ; $Id: fgetc_cons.asm,v 1.5 2015/01/19 01:33:20 pauloscustodio Exp $ ; PUBLIC fgetc_cons EXTERN msxbios INCLUDE "m5bios.def" .fgetc_cons ld ix,ACECHI call msxbios ld h,0 ld l,a ret
programs/oeis/202/A202194.asm
karttu/loda
0
4353
<gh_stars>0 ; A202194: Number of (n+2)X(n+2) binary arrays avoiding patterns 001 and 101 in rows and columns ; 108,640,3500,18144,90552,439296,2084940,9724000,44710952,203164416,914004728,4077035200,18052470000,79420170240,347424465420,1512176830560,6552247686600,28276211040000,121580638419240,521033622457920,222613670...
agda-stdlib-0.9/src/Relation/Binary/InducedPreorders.agda
qwe2/try-agda
1
14077
<reponame>qwe2/try-agda<filename>agda-stdlib-0.9/src/Relation/Binary/InducedPreorders.agda ------------------------------------------------------------------------ -- The Agda standard library -- -- Induced preorders ------------------------------------------------------------------------ open import Relation.Binary ...
alloy4fun_models/trashltl/models/6/jyqjLhaF6d75KTGEo.als
Kaixi26/org.alloytools.alloy
0
3172
open main pred idjyqjLhaF6d75KTGEo_prop7 { some File & Protected } pred __repair { idjyqjLhaF6d75KTGEo_prop7 } check __repair { idjyqjLhaF6d75KTGEo_prop7 <=> prop7o }
programs/oeis/308/A308585.asm
neoneye/loda
22
84782
; A308585: a(n) = 2^(n + 3) - 10*n - 6. ; 0,6,28,82,200,446,948,1962,4000,8086,16268,32642,65400,130926,261988,524122,1048400,2096966,4194108,8388402,16777000,33554206,67108628,134217482,268435200,536870646,1073741548,2147483362,4294967000,8589934286,17179868868,34359738042 mov $2,$0 add $0,3 mov $1,2 pow $1,$0 mul $2...
HammingDistance/hamming.asm
officialhory/uni_masm
0
162137
Code Segment assume CS:Code, DS:Data, SS:Stack Start: MOV AX, Code MOV DS, AX MOV AX, 0003h INT 10h MOV SI, 0000000000000000b MOV DI, 1111111111111111b MOV CX, 16 XOR DX, DX MOV AX, SI MOV BX, DI XOR AX, BX HAMMING: CMP CX, 0 JE PRINT DEC CX SHR AX, 1 JNC ...
source/sql/firebird/matreshka-internals-sql_drivers-firebird-databases.ads
svn2github/matreshka
24
20261
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
src/test/resources/data/generationtests/sjasm-repeat.asm
cpcitor/mdlz80optimizer
36
28768
<reponame>cpcitor/mdlz80optimizer scorebar_sat: counter:=32*4 repeat 6 repeat 4 db @@# * 8 -8-1 if (!((@@#/4) & 1)) if ((counter!=32*4) & (counter!=32*4+4*4) & (counter!=4*8+32*4) & (counter!=4*12+32*4)) db (@# * 16)+192 else db 0 endif else db 96+(@# * 16) endif db 0+counter db 14+8-counter/16 c...
Univalence/Obsolete/Pifextra.agda
JacquesCarette/pi-dual
14
5547
{-- -- normalize a finite type to (1 + (1 + (1 + ... + (1 + 0) ... ))) -- a bunch of ones ending with zero with left biased + in between toℕ : U → ℕ toℕ ZERO = 0 toℕ ONE = 1 toℕ (PLUS t₁ t₂) = toℕ t₁ + toℕ t₂ toℕ (TIMES t₁ t₂) = toℕ t₁ * toℕ t₂ fromℕ : ℕ → U fromℕ 0 = ZERO fromℕ (suc n) = P...
Nehemiah/Change/Evaluation.agda
inc-lc/ilc-agda
10
13196
------------------------------------------------------------------------ -- INCREMENTAL λ-CALCULUS -- -- Connecting Nehemiah.Change.Term and Nehemiah.Change.Value. ------------------------------------------------------------------------ module Nehemiah.Change.Evaluation where open import Nehemiah.Syntax.Type open imp...
src/main/antlr4/com/skynet/langqparser/LangQ.g4
philipgreat/lang-q
0
2017
<filename>src/main/antlr4/com/skynet/langqparser/LangQ.g4<gh_stars>0 grammar LangQ; @header{package com.skynet.lingqparser; } r : 'Q.' REQTYPE '().' REQEXPR+ ; REQTYPE : [a-z]+ ; REQEXPR : [a-z]+ ; WS : [ \t\r\n]+ -> skip ;
Task/String-concatenation/Ada/string-concatenation.ada
djgoku/RosettaCodeData
0
24290
with Ada.Text_IO; use Ada.Text_IO; procedure String_Concatenation is S : String := "Hello"; begin Put_Line (S); declare S1 : String := S & " literal"; begin Put_Line (S1); end; end String_Concatenation;
programs/oeis/022/A022409.asm
neoneye/loda
22
21101
; A022409: a(n) = a(n-1) + a(n-2) + 1, with a(0)=3, a(1)=10. ; 3,10,14,25,40,66,107,174,282,457,740,1198,1939,3138,5078,8217,13296,21514,34811,56326,91138,147465,238604,386070,624675,1010746,1635422,2646169,4281592,6927762,11209355,18137118,29346474,47483593,76830068,124313662,201143731,325457394,526601126,852058521,13...
punkt.asm
edenlandpl/drawing-one-point-in-assembly
0
246541
format MZ stack stk:256 entry codseg:main VideoB_Seg EQU 0A000h; Okrelenie segmentu buforu Video ;------------------ Segment danych --------------------------- segment sdat use16 yg dw 100 xk dw 50 kol db 0Dh ;--------------- Koniec segmentu danych *** ;----------------- Segment stosu ------------------------...
tmp1/c55x-sim2/foo/Debug/csl_mmcsd_ataIf.asm
jwestmoreland/eZdsp-DBG-sim
1
162367
;******************************************************************************* ;* TMS320C55x C/C++ Codegen PC v4.4.1 * ;* Date/Time created: Sat Oct 06 06:37:52 2018 * ;****************************************************************************...
programs/oeis/056/A056115.asm
karttu/loda
0
160674
<filename>programs/oeis/056/A056115.asm ; A056115: a(n) = n*(n+11)/2. ; 0,6,13,21,30,40,51,63,76,90,105,121,138,156,175,195,216,238,261,285,310,336,363,391,420,450,481,513,546,580,615,651,688,726,765,805,846,888,931,975,1020,1066,1113,1161,1210,1260,1311,1363,1416,1470,1525 mov $1,$0 add $1,6 bin $1,2 sub $1,15
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1291.asm
ljhsiun2/medusa
9
5639
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x15f65, %rsi lea addresses_WT_ht+0x17385, %rdi nop nop nop nop add $44362, %r8 mov $28, %rcx rep movsl nop nop nop nop sub $20498, %r15 lea addresses_...
oeis/080/A080308.asm
neoneye/loda-programs
11
6541
<filename>oeis/080/A080308.asm ; A080308: Non-multiples of Fermat numbers 2^(2^n)+1. ; Submitted by <NAME>(m3a) ; 1,2,4,7,8,11,13,14,16,19,22,23,26,28,29,31,32,37,38,41,43,44,46,47,49,52,53,56,58,59,61,62,64,67,71,73,74,76,77,79,82,83,86,88,89,91,92,94,97,98,101,103,104,106,107,109,112,113,116,118,121,122,124,127,128,1...
Task/Mandelbrot-set/Ada/mandelbrot-set-1.ada
mullikine/RosettaCodeData
1
9415
with Lumen.Binary; package body Mandelbrot is function Create_Image (Width, Height : Natural) return Lumen.Image.Descriptor is use type Lumen.Binary.Byte; Result : Lumen.Image.Descriptor; X0, Y0 : Float; X, Y, Xtemp : Float; Iteration : Float; Max_Iteration : constant Float := 1...
Modules/Module2/1_Addition/addition_rformat.asm
hackettccp/CSCI213
0
165408
#Adds two values together #Run and look at the $t0, $t1, and $t2 registers li $t0, 45 #Loads the constant 45 (0x2d) to $t0 li $t1, 79 #Loads the constant 79 (0x4f) to $t1 add $t2, $t0, $t1 #$t2 = $t0 + $t1 #Result is 124 (0x7c)
oeis/227/A227203.asm
neoneye/loda-programs
11
81558
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A227203: Prime(n)^2 mod (prime(n) + prime(n+1)). ; Submitted by <NAME> ; 4,1,1,13,1,19,1,25,9,1,9,43,1,49,9,9,1,9,73,1,9,85,9,109,103,1,109,1,115,49,133,9,1,25,1,9,9,169,9,9,1,25,1,199,1,241,253,229,1,235,9,1,25,9,9,9,1,9,283,1,25,49,313,1,319,49,9,25,1,355,9,379 mov $...
src/main/antlr/QuoteBot.g4
davudk/quote-bot
0
1109
grammar QuoteBot; @header { package dk.njit.cs684.quote.grammar; } stockQuoteQuery: ((HOWMUCHISWAS | WHATISWAS) SPACE)? (THEPRICEOF SPACE)? IDENTIFIER (SPACE (W_TODAY | RIGHTNOW))? QUESTION? EOF ; W_TODAY: ('t' | 'to') W_DAY; HOWMUCHISWAS: 'how' SPACE 'much' (SPACE ('is' | 'was'))?; WHATISWAS: 'what'...