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
Ada/problem_4/problem_4.adb
PyllrNL/Project_Euler_Solutions
0
13109
<filename>Ada/problem_4/problem_4.adb package body Problem_4 is function Solution_1 return Integer is Minimum : constant Integer := 100; Maximum : constant Integer := 999; Max_Palindrome : Integer := 0; Temp : Integer := 0; begin for I in Minimum .. Maximum loop ...
source/contexts/plain/program-symbol_lists.ads
reznikmm/gela
0
23720
<reponame>reznikmm/gela -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Containers.Hashed_Maps; with Ada.Containers.Vectors; with Program.Symbols.Tables; package Program.Symbol_Lists is pragma Preelaborate...
src/main/fragment/mos6502-common/pdsc1_derefidx_vbuxx=vdsc2.asm
jbrandwood/kickc
2
103798
lda #<{c2} sta {c1},x lda #>{c2} sta {c1}+1,x lda #<{c2}>>$10 sta {c1}+2,x lda #>{c2}>>$10 sta {c1}+3,x
oeis/002/A002754.asm
neoneye/loda-programs
11
25000
<filename>oeis/002/A002754.asm ; A002754: Related to coefficient of m in Jacobi elliptic function cn(z, m). ; 0,0,4,44,408,3688,33212,298932,2690416,24213776,217924020,1961316220,17651846024,158866614264,1429799528428,12868195755908,115813761803232,1042323856229152,9380914706062436,84428232354561996,759854091191058040,...
models/hol/sygus/hackers_del/hdXY.als
johnwickerson/alloystar
2
2969
<gh_stars>1-10 /** * NOTE: make sure to set "Options -> Prevent overflows" to "No" */ module hdXY<hdspec> open ../synth2[spec] -------------------------------------------------------------------------------- -- Variables -------------------------------------------------------------------------------- one sig X, Y ...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1539.asm
ljhsiun2/medusa
9
166727
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x115a7, %r15 nop inc %rbp mov (%r15), %r11 nop and %rdi, %rdi lea addresses_A_ht+0x1e30b, %rsi and %rbp, %rbp movl $0x61626364, (%rsi) nop nop nop nop inc %rdi lea addresses_...
codegen/utils.asm
bhatiasiddharth/Compiler
1
5584
; constants _true db 'true', '$' _false db 'false', '$' _printstr db 80 dup('$') _scanmax db 80 _scancount db ? _scanstr db 80 dup('$') _scannum db 80 dup('$') ; utility macros and procedures ; print 32 bit number printnum macro number local println, loopr push eax push edx push ebx push si mov cx,...
oeis/097/A097333.asm
neoneye/loda-programs
11
3738
<filename>oeis/097/A097333.asm ; A097333: Sum k=0..n, C(n-k, floor(k/2)). ; Submitted by <NAME> ; 1,2,2,3,5,7,10,15,22,32,47,69,101,148,217,318,466,683,1001,1467,2150,3151,4618,6768,9919,14537,21305,31224,45761,67066,98290,144051,211117,309407,453458,664575,973982,1427440,2092015,3065997,4493437,6585452,9651449,1414488...
build-utils/protocol-base-mspec/src/main/antlr4/org/apache/plc4x/plugins/codegenerator/language/mspec/MSpec.g4
acs/plc4x
0
1433
<filename>build-utils/protocol-base-mspec/src/main/antlr4/org/apache/plc4x/plugins/codegenerator/language/mspec/MSpec.g4<gh_stars>0 grammar MSpec; /* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional infor...
arch/ARM/Nordic/drivers/nrf51-events.adb
bosepchuk/Ada_Drivers_Library
6
17857
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
programs/oeis/021/A021036.asm
neoneye/loda
22
175543
<reponame>neoneye/loda ; A021036: Decimal expansion of 1/32. ; 0,3,1,2,5,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,$0 mul $1,$0 bin $1,$0 add $0,1 pow $0,$0 trn $0,$1...
PS.g4
Na2CuCl4/latex2sympy
0
959
<filename>PS.g4 grammar PS; options { language=Python2; } WS: [ \t\r\n]+ -> skip; DOLLAR_SIGN: '\\$' -> skip; ADD: '+'; SUB: '-'; MUL: '*'; DIV: '/'; L_PAREN: '('; R_PAREN: ')'; L_GROUP: '\\lgroup'; R_GROUP: '\\rgroup'; L_BRACE: '{'; R_BRACE: '}'; L_BRACE_VISUAL: '\\{'; R_BRACE_VISUAL: '\\}'; L_BRACE_CMD: '\\lb...
tools-src/gnu/gcc/gcc/ada/prj-part.adb
enfoTek/tomato.linksys.e2000.nvram-mod
80
5275
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
oeis/120/A120305.asm
neoneye/loda-programs
11
164829
; A120305: a(n) = Sum_{i=0..n} Sum_{j=0..n} (-1)^(i+j) * (i+j)!/(i!j!). ; 1,1,3,9,31,111,407,1513,5679,21471,81643,311895,1196131,4602235,17757183,68680169,266200111,1033703055,4020716123,15662273839,61092127491,238582873475,932758045123,3650336341239,14298633670931,56055986383411,219931273282347,863504076182883,339259...
test/interaction/Issue2592/C.agda
cruhland/agda
1,989
7618
<gh_stars>1000+ -- also importing warnings from A import A
alloy4fun_models/trashltl/models/17/XneCHe9msFC2q4YuC.als
Kaixi26/org.alloytools.alloy
0
2962
open main pred idXneCHe9msFC2q4YuC_prop18 { all f : Protected | always (f in Trash' => always (f not in Protected')) } pred __repair { idXneCHe9msFC2q4YuC_prop18 } check __repair { idXneCHe9msFC2q4YuC_prop18 <=> prop18o }
grammar/Format.g4
PhoenixIra/count-endtime
0
2602
grammar Message; messageInit : '"' message '"' ; message : '[' STRING=momentName '[]' STRING=format ']' #NameFormat | '[]' STRING=format ']' #Format | '[' STRING=momentName '[]' #Name | STRING #Else ; ...
UNRELATED/sound_engine_asm6f.asm
JSpuri/EmuParadise
0
98834
SQUARE_1 = $00 ;these are channel constants SQUARE_2 = $01 TRIANGLE = $02 NOISE = $03 MUSIC_SQ1 = $00 ;these are stream # constants MUSIC_SQ2 = $01 ;stream # is used to index into variables MUSIC_TRI = $02 MUSIC_NOI = $03 SFX_1 = $04 SFX_2 = $05 .enum $0300 ;sound engine variables will be on the $0300 pag...
oeis/330/A330602.asm
neoneye/loda-programs
11
102241
; A330602: a(n) = a(n-1) XOR (n+1), with a(0) = 0. ; Submitted by <NAME>(s3) ; 0,2,1,5,0,6,1,9,0,10,1,13,0,14,1,17,0,18,1,21,0,22,1,25,0,26,1,29,0,30,1,33,0,34,1,37,0,38,1,41,0,42,1,45,0,46,1,49,0,50,1,53,0,54,1,57,0,58,1,61,0,62,1,65,0,66,1,69,0,70,1,73,0,74,1,77,0,78,1,81,0,82,1,85,0,86,1,89,0,90,1,93,0,94,1,97,0,98,...
Compiler/rexlang_compiler/rexLang.g4
RonxBulld/RexLang
4
2579
grammar rexLang; /* * antlr4 -o rexlang_parse/gen -lib rexlang_parse/gen -encoding utf-8 -long-messages -listener -visitor -package rexlang -Dlanguage=Cpp rexLang.g4 */ K_ADD_OPT: '+' | '+'; K_SUB_OPT: '-' | '-'; K_MUL_OPT: '×' | '*'; K_DIV_OPT: '÷' | '/'; K_FULL_DIV_OPT: '/' | '\\'; K_MOD_OPT: '%' | '%' | 'Mod'...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr12.ads
best08618/asylo
7
29606
<reponame>best08618/asylo package Aggr12 is type Hair_Color_Type is (Black, Brown, Blonde, Grey, White, Red); type Rec is record I1, I2 : Hair_Color_Type; end record; A : constant Rec := (Black, Blonde); procedure Print (Data : String); procedure Test; end Aggr12;
gcc-gcc-7_3_0-release/gcc/ada/clean.adb
best08618/asylo
7
17777
<filename>gcc-gcc-7_3_0-release/gcc/ada/clean.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
libsrc/sprites/software/sp1/spectrum/sprites/sp1_IterateSprChar_callee.asm
jpoikela/z88dk
38
2685
; void __CALLEE__ sp1_IterateSprChar_callee(struct sp1_ss *s, void *hook1) ; 02.2006 aralbrec, Sprite Pack v3.0 ; sinclair spectrum version PUBLIC sp1_IterateSprChar_callee PUBLIC ASMDISP_SP1_ITERATESPRCHAR_CALLEE EXTERN l_jpix .sp1_IterateSprChar_callee pop hl pop ix ex (sp),hl .asmentry ; Iterate over ...
music/Group.applescript
casey/local
18
4666
<gh_stars>10-100 property my_title : "Group" tell application "Music" set sel to selection repeat with outerTrack in sel tell outerTrack to set {da, tn, dn, a} to {date added, track number, disc number, album} set innerTrack to contents of outerTrack set y to (do shell script "echo " & date string of da & " |...
libsrc/video/tms9918/graphics/clg.asm
jpoikela/z88dk
640
84605
<filename>libsrc/video/tms9918/graphics/clg.asm ; ; TMS9918 generic variant ; ; GFX - a small graphics library ; Copyright (C) 2004 <NAME> ; ; extern clg(); ; ; Init and clear graphics screen ; ; $Id: clg.asm $ ; SECTION code_clib PUBLIC clg PUBLIC _clg EXTERN msx_set_border EXTERN msx_set_mode EXTERN FILVR...
c2nasm/plus.asm
TimerChen/MxCompiler
2
103685
<filename>c2nasm/plus.asm<gh_stars>1-10 default rel global __string__less global main extern strcmp extern _GLOBAL_OFFSET_TABLE_ SECTION .text __string__less: push rbp mov rbp, rsp sub rsp, 16 mov qword [rbp-8H], rdi mov qword [rbp-10H], rsi ...
libsrc/_DEVELOPMENT/alloc/malloc/z80/asm_heap_init.asm
ahjelm/z88dk
640
171766
; =============================================================== ; Dec 2013 ; =============================================================== ; ; void *heap_init(void *heap, size_t size) ; ; Initialize a heap of size bytes. ; An unchecked condition is that size > 14 bytes. ; ; =======================================...
example.asm
mmend175/xv6_OS
0
179539
<gh_stars>0 _example: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx)...
1-base/math/source/precision/float/pure/float_math-algebra-linear.ads
charlie5/lace
20
25422
<reponame>charlie5/lace with any_Math.any_Algebra.any_Linear; package float_Math.Algebra.linear is new float_Math.Algebra.any_linear; pragma Pure (float_Math.Algebra.linear);
programs/oeis/052/A052901.asm
karttu/loda
1
102324
<filename>programs/oeis/052/A052901.asm<gh_stars>1-10 ; A052901: Periodic with period 3: a(3n)=3, a(3n+1)=a(3n+2)=2. ; 3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2,2,3,2...
src/language_utils.ads
mapcode-foundation/mapcode-ada
1
26600
<reponame>mapcode-foundation/mapcode-ada -- ----------------------------------------------------------------------------- -- Copyright (C) 2003-2019 Stichting Mapcode Foundation (http://www.mapcode.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in complia...
arch/ARM/STM32/svd/stm32l4x5/stm32_svd-tim.ads
morbos/Ada_Drivers_Library
2
5138
-- This spec has been automatically generated from STM32L4x5.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.TIM is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CR1_CMS_Field is HAL.U...
src/main/java/net/ziyoung/ccool/antlr/Ccool.g4
ziyoung/Ccool
0
1538
grammar Ccool; // Cool manual: https://web.stanford.edu/class/cs143/materials/cool-manual.pdf // Cool.g4: https://github.com/antlr/grammars-v4/blob/master/cool/COOL.g4 // All features in Cool need to be implemented. compilationUnit : classDefinition+ ; classDefinition : 'class' CLASSID superClass? '{' cl...
Library/BorlandRTL/h_lursh.asm
steakknife/pcgeos
504
13705
; $Id: h_lursh.asm,v 1.1 97/04/07 12:03:59 newdeal Exp $ ;[]-----------------------------------------------------------------[] ;| H_LURSH.ASM -- long shift right | ;[]-----------------------------------------------------------------[] ; ; C/C++ Run Time Library - Version ...
firmware/coreboot/3rdparty/libhwbase/common/hw-mmio_regs.adb
fabiojna02/OpenCellular
1
21952
-- -- Copyright (C) 2016 secunet Security Networks AG -- -- 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 option) any later version. -- -- This ...
test/Succeed/Issue2947.agda
shlevy/agda
1,989
8470
open import Agda.Builtin.Nat [_] : (Nat → Set) → Set [ T ] = ∀ {i} → T i data D : Nat → Nat → Set where c : ∀ {i} → [ D i ]
src/Util/HoTT/HLevel/Core.agda
JLimperg/msc-thesis-code
5
16719
{-# OPTIONS --without-K --safe #-} module Util.HoTT.HLevel.Core where open import Data.Nat using (_+_) open import Level using (Lift ; lift ; lower) open import Util.Prelude open import Util.Relation.Binary.LogicalEquivalence using (_↔_ ; forth ; back) open import Util.Relation.Binary.PropositionalEquality using ( ...
gremlin-language/src/main/antlr4/Gremlin.g4
vkagamlyk/tinkerpop
0
2599
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Task/Fibonacci-sequence/AppleScript/fibonacci-sequence-1.applescript
LaudateCorpus1/RosettaCodeData
1
2623
set fibs to {} set x to (text returned of (display dialog "What fibbonaci number do you want?" default answer "3")) set x to x as integer repeat with y from 1 to x if (y = 1 or y = 2) then copy 1 to the end of fibs else copy ((item (y - 1) of fibs) + (item (y - 2) of fibs)) to the end of fibs end if end repeat r...
src/Haskell/Modules/ToBool.agda
LaudateCorpus1/bft-consensus-agda
0
105
<reponame>LaudateCorpus1/bft-consensus-agda {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2020, 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} module Haskell.Modules.ToBo...
prt/src/prtstubs.asm
IntelLabs/IFLC-LIB
21
244021
<reponame>IntelLabs/IFLC-LIB ;;; Redistribution and use in source and binary forms, with or without modification, are permitted ;;; provided that the following conditions are met: ;;; 1. Redistributions of source code must retain the above copyright notice, this list of ;;; conditions and the following disclaimer. ...
data/wildPokemon/route9.asm
etdv-thevoid/pokemon-rgb-enhanced
1
6916
<reponame>etdv-thevoid/pokemon-rgb-enhanced Route9Mons: db $0F IF DEF(_RED) db 16,SPEAROW db 16,MANKEY db 14,SPEAROW db 11,EKANS db 13,MANKEY db 15,EKANS db 17,SPEAROW db 17,MANKEY db 13,EKANS db 17,EKANS ELSE db 16,SPEAROW db 16,MANKEY db 14,SPEAROW db 11,SANDSHREW db 13,MANKEY db 15,SANDSHREW db 17,...
AbstractClass.g4
ihanken/Abstract-Class-Grammar
0
5976
<reponame>ihanken/Abstract-Class-Grammar // Define a grammar called Zip grammar AbstractClass; // Full class rule. full : (CLASSSCOPE ' ')? 'abstract class ' NAME INHERIT? BODY? | 'abstract ' (CLASSSCOPE ' ')? 'class' NAME INHERIT? BODY? ; // Scope of an abstract class. Can only be public or internal. CL...
raycast/scripts/audio-output-switch-macbook.applescript
RubenZagon/dotfiles
0
929
<reponame>RubenZagon/dotfiles #!/usr/bin/osascript # @raycast.schemaVersion 1 # @raycast.title Output Audio to MacBook Pro (altavoces) # @raycast.mode silent # @raycast.packageName Audio # @raycast.icon 💻 # @raycast.author mmerle # @raycast.authorURL https://github.com/mmerle # @raycast.description Switch audio out...
x-axis.asm
oscarbmo01/assembly8086-xy-axes-collision
0
177461
; programa texto rebotando en x, y .model small .stack .data msg db 'hola mundo', '$' x db 0, '$' y db 0, '$' boolVertical db 1, '$' boolHorizontal db 1, '$' .code setup: mov ax, @data mov ds, ax mov es, ax mov ah, 00h ; establecer modo de video mov al,...
src/results/adabase-results-field.ads
jrmarino/AdaBase
30
17007
<filename>src/results/adabase-results-field.ads --- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../../License.txt package AdaBase.Results.Field is type Std_Field is tagged private; type Field_Access is access Std_Field; type Variant (datatype : field_types := ft_nb...
programs/oeis/138/A138430.asm
jmorken/loda
1
1864
; A138430: (prime(n)^5 - prime(n))/30. ; 1,8,104,560,5368,12376,47328,82536,214544,683704,954304,2311464,3861872,4900280,7644832,13939848,23830808,28153208,45004168,60140976,69102384,102568544,131301352,186135312,286244672,350336680,386424688,467517240,512874648 cal $0,40 ; The prime numbers. add $1,$0 mov $2,$0 mul $...
Cubical/Algebra/CommRing/Integers.agda
mchristianl/cubical
0
2547
<reponame>mchristianl/cubical {-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Algebra.CommRing.Integers where open import Cubical.Foundations.Prelude open import Cubical.Algebra.CommRing module _ where open import Cubical.HITs.Ints.BiInvInt renaming ( _+_ to _+ℤ_; -_ to _-ℤ_; ...
sw/552tests/rand_simple/t_2_srli.asm
JPShen-UWM/ThreadKraken
1
244298
<gh_stars>1-10 // seed 2 lbi r0, 104 // icount 0 slbi r0, 209 // icount 1 lbi r1, 44 // icount 2 slbi r1, 82 // icount 3 lbi r2, 45 // icount 4 slbi r2, 104 // icount 5 lbi r3, 216 // icount 6 slbi r3, 122 // icount 7 lbi r4, 119 // icount 8 slbi r4, 97 // icount 9 lbi r5, 239 // icount 10 slbi r5, 62 // icount 11 lbi ...
source/amf/uml/amf-internals-uml_classifiers.adb
svn2github/matreshka
24
27994
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1662.asm
ljhsiun2/medusa
9
11441
.global s_prepare_buffers s_prepare_buffers: push %r8 push %r9 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x904f, %rax nop nop nop nop inc %rbp mov $0x6162636465666768, %rbx movq %rbx, (%rax) nop nop nop nop nop sub $32224, %rcx lea addresses_A_ht+0x14f6f, %rsi and %r9, %r9 mov $0x6...
source/encodings-line_endings-add_cr.ads
Vovanium/Encodings
0
17868
<filename>source/encodings-line_endings-add_cr.ads with Ada.Characters.Latin_1; use Ada.Characters.Latin_1; with Encodings.Line_Endings.Generic_Add_CR; package Encodings.Line_Endings.Add_CR is new Generic_Add_CR( Character_Type => Character, String_Type => String, Carriage_Return => CR, Line_Feed => LF, Coder_Ba...
Lab02/Ex2.asm
frr0/Assembly-MIPS
0
170659
<filename>Lab02/Ex2.asm .data message: .asciiz "Enter a number between 0 and 255: " even: .asciiz "even" odd: .asciiz "odd" .text .globl main .ent main main: la $a0, message #1 print "insert a num" ...
kv-avm-vole_tree.ads
davidkristola/vole
4
4092
with Ada.Strings.Unbounded; limited with kv.avm.Tree_Visitors; limited with kv.avm.Symbol_Tables; with kv.avm.Instructions; with kv.avm.Registers; use kv.avm.Registers; package kv.avm.vole_tree is Parsing_Error : exception; Missing_Parent_Error : exception; Association_Error : exception; Unresolveable_Na...
driver.adb
gonma95/RealTimeSystem_CarDistrations
0
6337
-- <NAME> -- <NAME> with Kernel.Serial_Output; use Kernel.Serial_Output; with Ada.Real_Time; use Ada.Real_Time; with ada.strings.unbounded; use ada.strings.unbounded; with ada.strings.unbounded.text_io; use ada.strings.unbounded.text_io; with System; use System; with Tools; use Tools; with devices; use devices; pack...
Cubical/HITs/Ints/QuoInt/Base.agda
cj-xu/cubical
0
4808
-- Define the integers as a HIT by identifying +0 and -0 {-# OPTIONS --cubical --safe #-} module Cubical.HITs.Ints.QuoInt.Base where open import Cubical.Core.Everything open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations.Transport open import Cubical.Foundatio...
src/ships-repairs.ads
thindil/steamsky
80
10894
<filename>src/ships-repairs.ads<gh_stars>10-100 -- Copyright 2017-2021 <NAME> -- -- This file is part of Steam Sky. -- -- Steam Sky 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 versi...
src/test/ref/atarixl-md5b.asm
jbrandwood/kickc
2
3936
// 8 bit converted md5 calculator // Commodore 64 PRG executable file .file [name="atarixl-md5b.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstart(__sta...
os/impl/boot.asm
Yjsmall/codeStudy
0
9916
<reponame>Yjsmall/codeStudy SECTION MBR vstart=0x7c00 mov ax, cs mov ds, ax mov es, ax mov ss, ax mov fs, ax mov sp, 0x7c00 mov ax, 0xb800 mov gs, ax ; 清屏 ;--------------------------------------------------- mov ax, 0600h mov bx, 0700h mov cx, 0 mov dx, 184fh int 10...
bucket_55/aws/patches/patch-src_core_aws-server-http__utils.adb
jrmarino/ravensource
17
14532
Current_Process_Id is not available on GCC 6.x --- src/core/aws-server-http_utils.adb.orig 2021-05-19 05:14:31 UTC +++ src/core/aws-server-http_utils.adb @@ -39,7 +39,6 @@ with Ada.Strings.Unbounded; with Ada.Text_IO; with GNAT.MD5; -with GNAT.OS_Lib; with GNAT.Regexp; with AWS.Attachments; @@ -929,9 +928,7 @@...
source/amf/mof/amf-visitors-containment.ads
svn2github/matreshka
24
6453
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
vole_lex_dfa.adb
davidkristola/vole
4
14824
<gh_stars>1-10 with vole_lex_dfa; use vole_lex_dfa; package body vole_lex_dfa is function YYText return string is i : integer; str_loc : integer := 1; buffer : string(1..1024); EMPTY_STRING : constant string := ""; begin -- find end of buffer i := yytext_ptr; while ( yy_ch_buf(i) /= ASCII....
tpantlr2-code/code/lexmagic/SimplePy0.g4
cgonul/antlr-poc
10
619
/** Explore Python newline and comment processing */ grammar SimplePy0; file: stat+ EOF ; stat: assign NEWLINE | expr NEWLINE | NEWLINE // ignore blank lines ; assign: ID '=' expr ; expr: expr '+' expr | '(' expr ')' | call | list | ID | INT ; call: ID '(' expr (',' e...
programs/oeis/062/A062717.asm
karttu/loda
1
93682
<reponame>karttu/loda ; A062717: Numbers m such that 6*m+1 is a perfect square. ; 0,4,8,20,28,48,60,88,104,140,160,204,228,280,308,368,400,468,504,580,620,704,748,840,888,988,1040,1148,1204,1320,1380,1504,1568,1700,1768,1908,1980,2128,2204,2360,2440,2604,2688,2860,2948,3128,3220,3408,3504,3700,3800,4004,4108,4320,4428,...
oeis/099/A099580.asm
neoneye/loda-programs
11
103832
; A099580: Sum C(n-k,k-1)4^(k-1), k=0..floor(n/2). ; Submitted by <NAME> ; 0,0,1,1,9,13,65,117,441,909,2929,6565,19305,45565,126881,309141,833049,2069613,5467345,13745797,35877321,90860509,235418369,598860405,1544728185,3940169805,10135859761,25896538981,66507086889,170093242813 mov $2,1 lpb $0 sub $0,1 mul $2,2 ...
src/gstreamer-rtsp-g_range.ads
persan/A-gst
1
17852
<filename>src/gstreamer-rtsp-g_range.ads pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); private with GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtsp_gstrtspdefs_h; package GStreamer.rtsp.G_range is -- Different possible time range units. type GstRTSPRangeUnit is (SMPTE, -- tim...
test/interaction/Highlighting.agda
larrytheliquid/agda
1
9365
<gh_stars>1-10 module Highlighting where Set-one : Set₂ Set-one = Set₁ record R (A : Set) : Set-one where constructor con field X : Set F : Set → Set → Set F A B = B field P : F A X → Set Q : F A X → Set Q = Q postulate P : _ open import Highlighting.M data D (A : Set) : Set-one where d : let X...
resources/scripts/api/ipinfo.ads
Elon143/Amass
7,053
12390
-- Copyright 2021 <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 = "IPinfo" type = "api" function start() set_rate_limit(1) end function check() local c local cfg = datasrc_config() if c...
PROGS/motores.asm
carlos-santiago-2017/HC12-MicrocontrollerNotes
0
171302
<reponame>carlos-santiago-2017/HC12-MicrocontrollerNotes<filename>PROGS/motores.asm PORTB EQU $04 LDX #$1000 OTRAVEZ LDAA #$0F STAA PORTB,X JSR DELAY10 LDAA #$CF STAA PORTB,X JSR DELAY10 LDAA #$DF STAA P...
lib/c128_crt0.asm
grancier/z180
0
17414
; Commodore 128 (Z80 mode) CRT0 stub ; ; <NAME> - 22/08/2001 ; ; $Id: c128_crt0.asm,v 1.28 2016/07/15 21:03:25 dom Exp $ ; MODULE c128_crt0 ;-------- ; Include zcc_opt.def to find out some info ;-------- defc crt0 = 1 INCLUDE "zcc_opt.def" ; Only the A...
programs/oeis/081/A081956.asm
karttu/loda
0
178121
<gh_stars>0 ; A081956: Duplicate of A056182. ; 2,10,38,130,422,1330,4118,12610,38342,116050,350198,1054690,3172262,9533170,28632278,85962370,258018182,774316690,2323474358,6971471650,20916512102,62753730610,188269580438,564825518530,1694510110022 add $0,2 mov $1,1 mov $2,1 lpb $0,1 sub $0,1 mov $3,$2 mul $2,2 ...
src/main/lang/com/cjburkey/toylang/antlr/ToyLang.g4
cjburkey01/ToyLang
0
3005
grammar ToyLang; @header { package com.cjburkey.toylang.antlr; } // -- TOKENS -- // // Ignore comments and whitespace COMMENT : '//' (~'\n')* -> skip ; WS : [ \n\r\t]+ -> skip ; STRING : '"' (~('\n' | '"'))*? '"' ; // Simple symbols PLUS : '+' ; MINUS : '-' ; T...
tests/syntax/good/testfile-params-1.adb
xuedong/mini-ada
0
16843
with Ada.Text_IO; use Ada.Text_IO; procedure Test is begin P; end;
programs/oeis/006/A006882.asm
jmorken/loda
1
89722
; A006882: Double factorials n!!: a(n) = n*a(n-2) for n > 1, a(0) = a(1) = 1. ; 1,1,2,3,8,15,48,105,384,945,3840,10395,46080,135135,645120,2027025,10321920,34459425,185794560,654729075,3715891200,13749310575,81749606400,316234143225,1961990553600,7905853580625,51011754393600,213458046676875,1428329123020800,61902833536...
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca.log_21829_1159.asm
ljhsiun2/medusa
9
91464
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x8e7c, %r9 nop nop nop nop and %r14, %r14 movups (%r9), %xmm7 vpextrq $1, %xmm7, %rcx nop nop sub %r14, %r14 lea addresses_A_ht+0x1807c, %rsi lea addresses_WC_ht+0xae7c, %rdi sub %r13, %...
Transynther/x86/_processed/NC/_ht_st_zr_un_/i7-7700_9_0xca.log_21829_1572.asm
ljhsiun2/medusa
9
160346
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1c97c, %rsi lea addresses_normal_ht+0x1bd8c, %rdi nop nop nop cmp $59522, %r13 mov $122, %rcx rep movsq nop nop nop and %rbx, %rbx lea addresses_UC_ht+0x1e094, %rsi lea addre...
Library/Spline/Spline/splineSuspend.asm
steakknife/pcgeos
504
2435
<reponame>steakknife/pcgeos COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: splineSuspend.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date D...
Task/Function-composition/AppleScript/function-composition.applescript
djgoku/RosettaCodeData
0
3471
-- Compose two functions where each function is -- a script object with a call(x) handler. on compose(f, g) script on call(x) f's call(g's call(x)) end call end script end compose script sqrt on call(x) x ^ 0.5 end call end script script twice on call(x) 2 * x end call end script compose(sqrt, twice...
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/___ulong2fs.asm
meesokim/z88dk
0
20118
SECTION code_fp_math48 PUBLIC ___ulong2fs EXTERN cm48_sdcciyp_ulong2ds defc ___ulong2fs = cm48_sdcciyp_ulong2ds
exams/1/CamiloMoreira-Turma01.asm
UFSCar-CS/computer-architecture-and-organization-2012-2
0
26497
TITLE Prova 1 - Laboratorio de Arquitetura e Organizacao de Computadores II - 2012S2 ;Author: @CamiloMoreira ; ;Revision: INCLUDE Irvine32.inc .data X DWORD 2, 9, 8, 4, 7, 6, 5, 0, 1, 3 Y DWORD 4, 2, 6, 5, 7, 8, 0, 1, 3, 9 Z DWORD 6, 5, 0, 1, 7, 9, 8, 4, 2, 3 R DWORD LENGTHOF X DUP(?) S DWORD ? .code main P...
agda-stdlib/src/Codata/Colist/Bisimilarity.agda
DreamLinuxer/popl21-artifact
5
7146
<reponame>DreamLinuxer/popl21-artifact ------------------------------------------------------------------------ -- The Agda standard library -- -- Bisimilarity for Colists ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe --sized-types #-} module Codata.Colist.Bis...
src/templates/ada/avtas/lmcp/avtas-lmcp-bytebuffers.ads
afrl-rq/LmcpGen
6
3192
<reponame>afrl-rq/LmcpGen with System; use System; with AVTAS.LMCP.Types; use AVTAS.LMCP.Types; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; package AVTAS.LMCP.ByteBuffers is pragma Assertion_Policy (Check); -- This pragma overrides the effect of the -gnata switch Maximum_Leng...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45323a.ada
best08618/asylo
7
7345
-- C45323A.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...
oeis/027/A027658.asm
neoneye/loda-programs
11
175
; A027658: C(n+2,2)+C(n+4,5). ; 1,4,12,31,71,147,280,498,837,1342,2068,3081,4459,6293,8688,11764,15657,20520,26524,33859,42735,53383,66056,81030,98605,119106,142884,170317,201811,237801,278752,325160,377553,436492,502572,576423,658711,750139,851448,963418,1086869,1222662,1371700,1534929,1713339,1907965,2119888,2350236,...
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_nxos/CiscoNxos_ip_access_list.g4
jeffkala/batfish
0
5394
<filename>projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_nxos/CiscoNxos_ip_access_list.g4 parser grammar CiscoNxos_ip_access_list; import CiscoNxos_common; options { tokenVocab = CiscoNxosLexer; } ip_access_list : ACCESS_LIST name = ip_access_list_name NEWLINE ip_access_list_inner* ; ip_access_lis...
vendor/stdlib/src/Category/Applicative/Indexed.agda
isabella232/Lemmachine
56
4169
------------------------------------------------------------------------ -- Indexed applicative functors ------------------------------------------------------------------------ -- Note that currently the applicative functor laws are not included -- here. module Category.Applicative.Indexed where open import Data.Fu...
test/test.fs.stat.asm
richRemer/atlatl
0
3155
<reponame>richRemer/atlatl global test_case extern fs.stat extern sys.error %include "fs.inc" section .text test_case: lea rax, [test_path] ; test filesystem path call fs.stat ; get file stats mov rbx, rax ; stat result mov rax, [rbx+Stat.dev_id]...
third_party/virtualbox/src/VBox/VMM/VMMSwitcher/32BitTo32Bit.asm
Fimbure/icebox-1
521
100200
; $Id: 32BitTo32Bit.asm $ ;; @file ; VMM - World Switchers, 32-Bit to 32-Bit. ; ; ; Copyright (C) 2006-2017 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free software; ; you can redistribute it and/or modify it under the t...
Cubical/Data/FinSet/Binary/Large.agda
dan-iel-lee/cubical
0
12460
<gh_stars>0 {-# OPTIONS --cubical --no-import-sorts --safe --postfix-projections #-} module Cubical.Data.FinSet.Binary.Large where open import Cubical.Functions.Embedding open import Cubical.Functions.Involution open import Cubical.Foundations.Equiv open import Cubical.Foundations.HLevels open import Cubical.Foundat...
source/s-stopoo.adb
ytomino/drake
33
9425
<filename>source/s-stopoo.adb package body System.Storage_Pools is pragma Suppress (All_Checks); procedure Allocate_Any ( Pool : in out Root_Storage_Pool'Class; Storage_Address : out Address; Size_In_Storage_Elements : Storage_Elements.Storage_Count; Alignment : Storage_Elements.Storage_C...
oeis/350/A350134.asm
neoneye/loda-programs
11
242567
; A350134: Number of endofunctions on [n] with at least one isolated fixed point. ; Submitted by <NAME> ; 0,1,1,10,87,1046,15395,269060,5440463,124902874,3208994379,91208536112,2841279322871,96258245162678,3523457725743059,138573785311560916,5827414570508386335,260928229315498155314,12393729720071855683739,622422708333...
python_src/other/export/map_stiles.asm
fjpena/sword-of-ianna-msx2
43
26439
<reponame>fjpena/sword-of-ianna-msx2 org $C000 level_supertiles: DB 0,0,0,0 DB 1,2,19,20 DB 0,0,0,0 DB 3,4,5,0 DB 0,4,5,0 DB 5,0,0,4 DB 6,0,0,6 DB 6,0,0,3 DB 7,8,21,0 DB 9,10,3,5 DB 0,0,11,12 DB 11,12,0,0 DB 13,14,0,0 DB 0,0,13,14 DB 15,16,0,0 DB 17,18,0,0 DB 22,23,21,0 DB 24,25,0,40 DB 0,26,0,40 DB 27,28,0,0 DB 29,3...
13 BCD Diff.asm
jpsxlr8/Microprocessor-Lab
0
8428
<gh_stars>0 LXI H,8000H MOV C,M LXI D,8001H LXI H,8004H STC LOOP:MVI A,99H ACI 00H SUB M XCHG ADD M DAA MOV M,A XCHG INX H INX D DCR C JNZ LOOP HLT
src/abc/parser/Header.g4
mcyuan00/abc-player
0
6164
<filename>src/abc/parser/Header.g4 /* * Compile all your grammars using * java -jar ../../../lib/antlr.jar *.g4 * then Refresh in Eclipse. */ grammar Header; import Configuration; root : header EOF; header : index comment* title otherfields* key; index : 'X:' DIGIT+ endline; title : 'T:' text+ endline; o...
pwnlib/shellcraft/templates/i386/linux/connect.asm
paran0ids0ul/binjitsu
0
82174
<filename>pwnlib/shellcraft/templates/i386/linux/connect.asm <% from pwnlib.shellcraft import common %> <% from pwnlib.shellcraft.i386 import push, pushstr %> <% from pwnlib.shellcraft.i386.linux import syscall %> <% from pwnlib.constants import SOCK_STREAM, AF_INET, SYS_socketcall, SYS_socketcall_socket, SYS_socketcal...
projects/batfish/src/main/antlr4/org/batfish/grammar/frr/Frr_routemap.g4
tushargargght/batfish
0
6623
parser grammar Frr_routemap; import Frr_common; options { tokenVocab = FrrLexer; } int_expr : ( PLUS | DASH )? uint32 ; s_routemap : ROUTE_MAP name = word action = line_action sequence = route_map_sequence NEWLINE ( rm_call | rm_description | rm_match | rm_on_match | rm_set...
src/gnat/sem_aux.adb
Letractively/ada-gen
0
25810
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
programs/oeis/258/A258841.asm
karttu/loda
1
8373
; A258841: a(n) = 9*n^2 - 237*n + 1927. ; 1927,1699,1489,1297,1123,967,829,709,607,523,457,409,379,367,373,397,439,499,577,673,787,919,1069,1237,1423,1627,1849,2089,2347,2623,2917,3229,3559,3907,4273,4657,5059,5479,5917,6373,6847,7339,7849,8377,8923,9487,10069 sub $0,13 mul $0,3 bin $0,2 mov $1,$0 div $1,3 mul $1,6 ad...
gcc-gcc-7_3_0-release/gcc/ada/s-atopri.adb
best08618/asylo
7
16571
<reponame>best08618/asylo<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
agda-aplas14/SAT3.agda
ryanakca/strong-normalization
32
6710
<filename>agda-aplas14/SAT3.agda -- Saturated sets. module SAT3 where open import Library open import Terms open import Substitution open import Reduction open import SN open import SN.AntiRename -- Kripke predicates on well-typed terms. TmSet : (a : Ty) → Set₁ TmSet a = {Γ : Cxt} (t : Tm Γ a) → Set _⊆_ : ∀{a} (𝑨...