max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
test/interaction/Issue2575.agda | shlevy/agda | 1,989 | 4381 | module Issue2575 where
import Issue2575.M
|
test/Common/Integer.agda | KDr2/agda | 0 | 14737 | <filename>test/Common/Integer.agda
{-# OPTIONS --cubical-compatible #-}
module Common.Integer where
open import Agda.Builtin.Int public renaming (Int to Integer)
|
programs/oeis/245/A245288.asm | neoneye/loda | 22 | 9437 | <gh_stars>10-100
; A245288: a(n) = (4*n^2 - 2*n - 1 + (2*n^2 - 2*n + 1)*(-1)^n)/16.
; 0,0,1,1,5,3,12,6,22,10,35,15,51,21,70,28,92,36,117,45,145,55,176,66,210,78,247,91,287,105,330,120,376,136,425,153,477,171,532,190,590,210,651,231,715,253,782,276,852,300,925,325,1001,351,1080,378,1162,406,1247,435,1335,465,1426,496,15... |
src/day-15/adventofcode-day_15.ads | persan/advent-of-code-2020 | 0 | 27770 | <filename>src/day-15/adventofcode-day_15.ads<gh_stars>0
package Adventofcode.Day_15 is
end Adventofcode.Day_15;
|
tools-src/gnu/gcc/gcc/ada/5lml-tgt.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 7062 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
002-assembly/common-cmp.asm | dingjingmaster/learn-kernel | 0 | 104159 | .data
wages: .quad 46000
.bss
.lcomm taxes, 8
.text
.global _main
_main:
movq $50000, %rax
cmpq %rax, wages(%rip)
jae higher
movq $2000, taxes(%rip)
jmp done
higher:
movq $4000, taxes(%rip)
done:
movq $60, %rax
xorq %rdi, %rdi
syscall
.end
|
util.asm | adkennan/BurgerMayhem | 0 | 2040 | <reponame>adkennan/BurgerMayhem
WRITE_HEX
sta LINE_VAL
stx LINE_NUM
pha
tya
pha
txa
pha
ldx LINE_NUM
lda #<SCREEN_0
sta LINE_PTR_LO
lda #>SCREEN_0
sta LINE_PTR_HI
@loop
clc
adc #$28
sta ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto5.adb | best08618/asylo | 7 | 30523 | -- { dg-do run }
-- { dg-options "-flto" { target lto } }
with Lto5_Pkg;
procedure Lto5 is
begin
null;
end;
|
alloy4fun_models/trashltl/models/11/C9z7ppWRTScgrzSfh.als | Kaixi26/org.alloytools.alloy | 0 | 2410 | open main
pred idC9z7ppWRTScgrzSfh_prop12 {
all f: File | eventually always f in Trash
}
pred __repair { idC9z7ppWRTScgrzSfh_prop12 }
check __repair { idC9z7ppWRTScgrzSfh_prop12 <=> prop12o } |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_818.asm | ljhsiun2/medusa | 9 | 176103 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_818.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xeb1e, %rbp
nop
nop
nop
nop
nop
cmp %r9, %r9
movb (%rbp), %r15b
nop
add %rsi, %rsi
lea addresse... |
programs/oeis/133/A133653.asm | karttu/loda | 1 | 19009 | <reponame>karttu/loda<filename>programs/oeis/133/A133653.asm<gh_stars>1-10
; A133653: A007318^(-1) * A003261.
; 1,6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142,146,150,154
mul $0,4
bin $1,$0
sub $0,$1
add $0,2
mov $1,$0
|
libsrc/stdio/abc80/fgetc_cons.asm | grancier/z180 | 0 | 92927 | ;
; ABC80 Routines
;
; getkey() Wait for keypress
;
; Maj 2000 - <NAME>
;
;
; $Id: fgetc_cons.asm,v 1.5 2016/06/12 17:00:21 dom Exp $
;
SECTION code_clib
PUBLIC fgetc_cons
.fgetc_cons
ld a,(65013)
and 127
jr z,fgetc_cons
ld l,a
xor a
ld (65013),a
ld h,a
ret
|
untested/x86/floatShit.asm | GabrielRavier/Generic-Assembly-Samples | 0 | 166101 | %include "macros.inc"
global _fmin
global _fmax
global _ftrunc
global _fround
global _fabs
global _fadd
global _fchs
global _fdiv
global _fpatan
global _fclamp
global _fsign
global _fintersect
global _ftoi
global _facos
global _fasin
global _fatan
global _fceil
global _fexp
global _ffloor
global _ffmod
global _fldexp
... |
boot.asm | harishtpj/MKS | 0 | 91977 | <gh_stars>0
;; Assembly Kernel Loader
MAGIC_NUMBER equ 0x1BADB002 ; define the magic number constant
FLAGS equ 0x0 ; multiboot flags
CHECKSUM equ -MAGIC_NUMBER ; calculate the checksum
; (magic number + checksum + flags should equal 0)
KERNEL_STACK_SIZE equ 81... |
neio/src/main/grammar/ClassParser.g4 | FlashYoshi/neio | 0 | 828 | /*
[The BSD License]
Copyright (c) 2012 <NAME> and <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 source code must retain the above copyright notice, this list of conditio... |
src/Tactic/By/Parametrised.agda | nad/equality | 3 | 371 | <gh_stars>1-10
------------------------------------------------------------------------
-- A tactic aimed at making equational reasoning proofs more readable
-- in modules that are parametrised by an implementation of equality
------------------------------------------------------------------------
-- The tactic uses ... |
bb-runtimes/examples/sam4s-xplained/tetris/main.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 17046 | ------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
examples/music/funkyforest.asm | azurda/gingerbread | 109 | 8396 | <filename>examples/music/funkyforest.asm
; File created by mod2gbt
SECTION "funkyforest_0",ROMX
funkyforest_0:
DB $AB,$1F, $AB,$AA,$03, $93,$17, $8C,$0F
DB $00, $2F, $00, $28
DB $00, $00, $00, $20
DB $00, $00, $00, $20
DB $28, $28, $22, $8C,$0F
DB $20, $20, $20, $20
DB $AB,$1F, ... |
dv3/msd/salt4.asm | olifink/smsqe | 0 | 244699 | ; DV3 MSDOS Sector Allocate, Locate and Truncate V3.00 1993 <NAME>
section dv3
xdef msd_sal4
xdef msd_slc4
xdef msd_str4
xref msd_setmu
include 'dev8_keys_DOS'
include 'dev8_dv3_keys'
include 'dev8_dv3_msd_keys'
include 'dev8_keys_err'
include 'dev8_mac_assert'
include 'dev8_mac_xword'
;+++
; D... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1776.asm | ljhsiun2/medusa | 9 | 8673 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r8
push %rbp
// Faulty Load
lea addresses_A+0x4903, %rbp
clflush (%rbp)
nop
nop
mfence
mov (%rbp), %r8w
lea oracles, %r10
and $0xff, %r8
shlq $12, %r8
mov (%r10,%r8,1), %r8
pop... |
src/siphash-general.adb | jhumphry/SPARK_SipHash | 5 | 15276 | <filename>src/siphash-general.adb
-- SipHash.General
-- Implementing SipHash over a general private type
-- Copyright (c) 2015, <NAME> - see LICENSE file for details
with Ada.Storage_IO, System.Storage_Elements;
-- Rather than simply writing the object into a buffer and calling the main
-- SipHash routine, this impl... |
src/tim.asm | no111u3/m48_robo_asm | 0 | 243266 | ;****************************************************************
.include "m48def.inc"
.include "service.inc"
.macro incm
lds r16, @0
lds r17, @0+1
subi r16,(-1)
sbci r17,(-1)
sts @0, r16
sts @0+1, r17
.endm
;****************************************************************
; Data
;*********************... |
Cubical/Data/Int/Divisibility.agda | howsiyu/cubical | 0 | 6402 | <reponame>howsiyu/cubical<filename>Cubical/Data/Int/Divisibility.agda
{-
Base facts about that the ring ℤ is Bézout domain
-}
{-# OPTIONS --safe #-}
module Cubical.Data.Int.Divisibility where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Function
open i... |
codec/decoder/core/x86/dct.asm | tp-m/openh264 | 1 | 176270 | <filename>codec/decoder/core/x86/dct.asm
;*!
;* \copy
;* Copyright (c) 2009-2013, Cisco Systems
;* All rights reserved.
;*
;* Redistribution and use in source and binary forms, with or without
;* modification, are permitted provided that the following conditions
;* are met:
;*
;* ?Redistribu... |
kernel/interrupt.asm | YaoLiTao/XV6-LIKE | 2 | 91990 | [SECTION .text]
extern exception_handler
extern disp_IRQ
GLOBAL EOI
;默认中断
GLOBAL divide_error
GLOBAL single_step_exception
GLOBAL nmi
GLOBAL breakpoint_exception
GLOBAL overflow
GLOBAL bounds_check
GLOBAL inval_opcode
GLOBAL copr_not_available
GLOBAL double_fault
GLOBAL copr_seg_overrun
GLOBAL inval_tss
GLOBAL segm... |
libsrc/_DEVELOPMENT/stdio/c/sccz80/fileno.asm | meesokim/z88dk | 0 | 20750 |
; int fileno(FILE *stream)
INCLUDE "clib_cfg.asm"
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC fileno
EXTERN asm_fileno
fileno:
push hl
pop ix
jp asm_fileno
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ELSE
;;;;;;;;;;;;;;;;;;;;;;;;;;;... |
theorems/homotopy/Hopf.agda | cmknapp/HoTT-Agda | 0 | 9769 | <reponame>cmknapp/HoTT-Agda
{-# OPTIONS --without-K #-}
open import HoTT
import homotopy.HopfConstruction
open import homotopy.CircleHSpace
open import homotopy.SuspensionJoin using () renaming (e to suspension-join)
import homotopy.JoinAssocCubical
module homotopy.Hopf where
module Hopf = homotopy.HopfConstruction ... |
libtool/src/gmp-6.1.2/mpn/powerpc64/mode32/sqr_diagonal.asm | kroggen/aergo | 1,602 | 28998 | <filename>libtool/src/gmp-6.1.2/mpn/powerpc64/mode32/sqr_diagonal.asm
dnl PowerPC-64 mpn_sqr_diagonal.
dnl Copyright 2001-2003, 2005, 2006, 20010 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it u... |
programs/oeis/038/A038585.asm | neoneye/loda | 22 | 243970 | <reponame>neoneye/loda
; A038585: Write n in binary, delete 0's.
; 1,1,11,1,11,11,111,1,11,11,111,11,111,111,1111,1,11,11,111,11,111,111,1111,11,111,111,1111,111,1111,1111,11111,1,11,11,111,11,111,111,1111,11,111,111,1111,111,1111,1111,11111,11,111,111,1111,111,1111,1111,11111,111,1111,1111,11111,1111,11111,11111,11111... |
ee/hk/text.asm | olifink/smsqe | 0 | 3297 | ; HOTKEY Find address of text V2.00 1994 <NAME>
section hotkey
xdef hktx_llrc
xdef hktx_grab
xref met_llrc
xref met_grab
hktx_llrc
lea met_llrc,a1
rts
hktx_grab
lea met_grab,a1
rts
end
|
sechub-analyzer-cli/src/test/resources/code/ADA/single_line.adb | manu-ki/sechub | 79 | 24479 | <filename>sechub-analyzer-cli/src/test/resources/code/ADA/single_line.adb
-- SPDX-License-Identifier: MIT
with Ada.Text_IO; use Ada.Text_IO;
procedure Hello is
begin
-- NOSECHUB
Put_Line ("Hello, world!");
-- END-NOSECHUB
end Hello;
|
programs/oeis/204/A204131.asm | karttu/loda | 0 | 178213 | <gh_stars>0
; A204131: Symmetric matrix based on f(i,j)=(2i-1 if i=j and 1 otherwise), by antidiagonals.
; 1,1,1,1,3,1,1,1,1,1,1,1,5,1,1,1,1,1,1,1,1,1,1,1,7,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,9,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,11,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,13,1,1,1,1,1,1,1,1,1,1,1,1,1
lpb $0,1
add... |
lista1/exerc1.asm | Durfan/ufsj-lab-aoc1 | 0 | 169533 | .data
a: .word 3
b: .word 6
c: .word
.text
la $s0,a
lw $t0,0($s0)
la $s1,b
lw $t1,0($s1)
add $t0,$t0,$t1
la $s2,c
sw $t0,0($s2)
|
programs/oeis/335/A335115.asm | karttu/loda | 0 | 244347 | <reponame>karttu/loda
; A335115: a(2*n) = 2*n - a(n), a(2*n+1) = 2*n + 1.
; 1,1,3,3,5,3,7,5,9,5,11,9,13,7,15,11,17,9,19,15,21,11,23,15,25,13,27,21,29,15,31,21,33,17,35,27,37,19,39,25,41,21,43,33,45,23,47,33,49,25,51,39,53,27,55,35,57,29,59,45,61,31,63,43,65,33,67,51,69,35,71,45,73,37,75
lpb $0,1
mov $2,$0
gcd $0,2... |
x86/showInputKeyboard.asm | ovictoraurelio/assembly-lessons | 1 | 83194 | org 0x7c00 ;this command
jmp 0x0000:start
string:
db "Digite um numero: ", 13, 10, 0
start:
; ax is a reg to geral use
; ds
mov ax,0 ;ax = 0
mov ds,ax ;ds = 0
mov cl,0x0D ;cl = 0
; load first memory postion of my string on SI (source)
mov si, string
scanf:
mov ah,0 ; Keyboard read
int... |
CPU/cpu_test/test_storage/test6_sw_I.asm | SilenceX12138/MIPS-Microsystems | 55 | 84414 | <filename>CPU/cpu_test/test_storage/test6_sw_I.asm
ori $2,$0,1
ori $3,$0,4
sw $2,-4($3)
ori $4,$0,9394
ori $5,$0,7337
sw $5,4($0)
ori $8,$0,5
ori $9,$0,8
nop
sw $8,0($9)
ori $11,$0,7
ori $12,$0,12
nop
nop
sw $11,0($12)
ori $14,$0,16
ori $15,$0,8796
nop
sw $15,0($14)
ori $21,$0,20
ori $22,$0,1298
nop
nop
sw $22,0($21) |
interpreter/test/test_state_machine4.asm | straceX/asminterpreter | 0 | 83592 | 0 PUSH 0
1 WRITE |
Driver/Printer/PrintCom/Cursor/cursorSetCursorTosh.asm | steakknife/pcgeos | 504 | 166504 |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: toshiba 24-pin print driver
FILE: toshiba24Cursor.asm
AUTHOR: <NAME>, 14 March 1990
ROUTINES:
Name Description
---- -----------... |
src/asf-components-utils-scrollers.ads | jquorning/ada-asf | 12 | 30565 | -----------------------------------------------------------------------
-- components-utils-scrollers -- Data scrollers
-- Copyright (C) 2013, 2015 <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 ... |
test/Succeed/Issue224.agda | cruhland/agda | 1,989 | 17201 |
module Issue224 where
data Maybe (A : Set) : Set where
nothing : Maybe A
just : A → Maybe A
data D (A : Set) : Maybe A → Set where
d₁ : (x : A) → D A (just x)
d₂ : ∀ {x} → D A x → D A x
data S : ∀ {A x} → D A x → Set₁ where
s : ∀ {A x} {d : D A x} → S d → S (d₂ d)
foo : {A : Set} → S (d₂ (d₁ (nothing ... |
educational-material/3sem/demo/sem3-08/hello-world/assembly/hello.asm | AOrps/SigMal | 3 | 104996 | <filename>educational-material/3sem/demo/sem3-08/hello-world/assembly/hello.asm
; nasnow (input file).asm
; clang (input file).o -o (output file name) -W1
; Follow instructions above for compilation on MacOS
section .data
msg db "Hello", 10
section .text
global _main
_main:
mov rax, 0x2000004 ; 4 - sys_writ... |
src/http_status.ads | psyomn/ash | 11 | 8351 | <gh_stars>10-100
-- Copyright 2019 <NAME> (psyomn)
--
-- 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 applic... |
oeis/279/A279136.asm | neoneye/loda-programs | 11 | 13126 | ; A279136: a(n) = n*Sum_{i=0..n-1} binomial(n,i)*binomial(i-1,n-i-1)/(n-i).
; Submitted by <NAME>
; 0,1,3,10,27,76,210,589,1659,4708,13428,38479,110682,319411,924339,2681410,7794939,22702396,66229212,193495279,566069052,1658026093,4861703289,14269842184,41922504570,123265254451,362719839225,1068105234304
mov $1,3
mov ... |
src/src/c/common/irq/pmirq.asm | amindlost/wdosx | 7 | 102521 | <reponame>amindlost/wdosx
;----------------------------------------------------------------------------
; Configuration parameters
;
NUM_INTERRUPT_STACKS = 4
INTERRUPT_STACK_SIZE = 1000h
;----------------------------------------------------------------------------
; TASM red tape
;
.386
.model flat
.code
PUBLICDLL S... |
Task/Phrase-reversals/AppleScript/phrase-reversals.applescript | LaudateCorpus1/RosettaCodeData | 1 | 4535 | -- REVERSED PHRASES, COMPONENT WORDS, AND WORD ORDER ---------------------
-- reverseString, reverseEachWord, reverseWordOrder :: String -> String
on stringReverse(s)
|reverse|(s)
end stringReverse
on reverseEachWord(s)
wordLevel(curry(my map)'s |λ|(my |reverse|))'s |λ|(s)
end reverseEachWord
on reverseWordO... |
alloy4fun_models/trashltl/models/5/Rmr6tBfXhLma3jHoM.als | Kaixi26/org.alloytools.alloy | 0 | 1622 | <filename>alloy4fun_models/trashltl/models/5/Rmr6tBfXhLma3jHoM.als
open main
pred idRmr6tBfXhLma3jHoM_prop6 {
all f: File | once f in Trash implies always f in Trash
}
pred __repair { idRmr6tBfXhLma3jHoM_prop6 }
check __repair { idRmr6tBfXhLma3jHoM_prop6 <=> prop6o } |
variables.asm | mkiesinski/the-way-nes | 2 | 5036 | <filename>variables.asm
spriteTileFirst .rs 1
spriteTileSecnd .rs 1
spriteY .rs 1
spriteDirection .rs 1
spriteAttributes .rs 1
spriteX .rs 1
rowsToDraw .rs 1
maxFrame .rs 1
gamestate .rs 1
palleteID .rs 1
source .rs 2
sourceBank .rs 1
playerInput .rs 1
frame .... |
scripts/SSAnneB1F.asm | opiter09/ASM-Machina | 1 | 97859 | <filename>scripts/SSAnneB1F.asm
SSAnneB1F_Script:
jp EnableAutoTextBoxDrawing
SSAnneB1F_TextPointers:
text_end ; unused
|
gfx/pokemon/mantine/anim.asm | Dev727/ancientplatinum | 28 | 176035 | <reponame>Dev727/ancientplatinum
frame 1, 15
frame 2, 15
frame 3, 15
frame 0, 15
frame 4, 15
frame 0, 15
frame 5, 15
endanim
|
programs/oeis/046/A046992.asm | neoneye/loda | 22 | 85346 | ; A046992: a(n) = Sum_{k=1..n} pi(k) (cf. A000720).
; 0,1,3,5,8,11,15,19,23,27,32,37,43,49,55,61,68,75,83,91,99,107,116,125,134,143,152,161,171,181,192,203,214,225,236,247,259,271,283,295,308,321,335,349,363,377,392,407,422,437,452,467,483,499,515,531,547,563,580,597,615,633,651,669,687,705,724,743,762,781,801,821,842,... |
src/GBA.Input.adb | 98devin/ada-gba-dev | 7 | 22549 | <gh_stars>1-10
-- Copyright (c) 2021 <NAME>
-- zlib License -- see LICENSE for details.
with Interfaces;
use Interfaces;
with Ada.Unchecked_Conversion;
package body GBA.Input is
function Cast is new Ada.Unchecked_Conversion(Key_Flags, Key_Set);
function Cast is new Ada.Unchecked_Conversion(Key_Set, Key_Flags... |
programs/oeis/053/A053698.asm | neoneye/loda | 22 | 27895 | ; A053698: a(n) = n^3 + n^2 + n + 1.
; 1,4,15,40,85,156,259,400,585,820,1111,1464,1885,2380,2955,3616,4369,5220,6175,7240,8421,9724,11155,12720,14425,16276,18279,20440,22765,25260,27931,30784,33825,37060,40495,44136,47989,52060,56355,60880,65641,70644,75895,81400,87165,93196,99499,106080,112945,120100,127551,135304,143... |
programs/oeis/095/A095663.asm | neoneye/loda | 22 | 240414 | <reponame>neoneye/loda<filename>programs/oeis/095/A095663.asm
; A095663: Eighth column (m=7) of (1,3)-Pascal triangle A095660.
; 3,22,92,288,750,1716,3564,6864,12441,21450,35464,56576,87516,131784,193800,279072,394383,547998,749892,1012000,1348490,1776060,2314260,2985840,3817125,4838418,6084432,7594752,9414328,11594000... |
bb-runtimes/runtimes/ravenscar-sfp-stm32g474/gnarl/s-tasdeb.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 25090 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
programs/oeis/092/A092498.asm | jmorken/loda | 1 | 178103 | ; A092498: G.f.: (1+x+2x^2)/((1-x)^3*(1-x^3)).
; 1,4,11,23,41,67,102,147,204,274,358,458,575,710,865,1041,1239,1461,1708,1981,2282,2612,2972,3364,3789,4248,4743,5275,5845,6455,7106,7799,8536,9318,10146,11022,11947,12922,13949,15029,16163,17353,18600,19905,21270,22696,24184,25736,27353,29036,30787,32607,34497,36459,3849... |
dv3/qlf/fsel.asm | olifink/smsqe | 0 | 104350 | ; DV3 QL Format Select V3.00 1992 <NAME>
section dv3
xdef qlf_fsel
xref dv3_slen
xref dv3_setfd
xref dv3_redef
xref qlf_tbwa
include 'dev8_dv3_keys'
include 'dev8_dv3_qlf_keys'
include 'dev8_keys_ql5b'
include 'dev8_keys_qlwa'
include 'dev8_keys_err'
include 'dev8_mac_assert'
;+++
; DV3 QL Form... |
src/fot/FOTC/Program/Iter0/Iter0.agda | asr/fotc | 11 | 12149 | ------------------------------------------------------------------------------
-- A partial function: iter₀
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-#... |
grammar/Xiang.g4 | OpenXiangShan/vcd-to-log | 0 | 6487 | <filename>grammar/Xiang.g4
grammar Xiang;
main
: event*
;
event
: StringLiteral ':' '{' expression '}'
;
expression
: '(' inner=expression ')'
| expression op=(Mul | Div) expression
| expression op=(Add | Minus) expression
| expression op=(Equal | NotEqual) expression
| expression... |
Lab12/lab12.asm | richardhyy/AssemblyLab | 3 | 102718 | assume cs:code
code segment
start: ; Set Up the Interruption Handler
mov ax,cs
mov ds,ax
mov si,offset do0
mov ax,0
mov es,ax
mov di,200h
mov cx,offset do0end-offset do0
; w/o offset: 0B28:000F B92D00 MOV CX,002D
; w/ offset: 0B28:000F B92D00 MOV CX,002D
cld
rep movsb
... |
oeis/261/A261065.asm | neoneye/loda-programs | 11 | 93013 | ; A261065: Second column of A086872.
; Submitted by <NAME>(s2)
; 1,8,75,840,11025,166320,2837835,54054000,1137161025,26189163000,655383804075,17709112020600,513880482740625,15938200818540000,526174085058496875,18422283260401020000,681816379418800250625,26597171457203972625000,1090705672840839577396875
mov $2,$0
seq $0... |
oeis/313/A313879.asm | neoneye/loda-programs | 11 | 94817 | ; A313879: Coordination sequence Gal.6.343.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.
; Submitted by <NAME>(s1)
; 1,5,10,16,21,26,32,38,43,48,54,59,64,69,74,80,85,90,96,102,107,112,118,123,128,133,138,144,149,154,160,166,171,176... |
tests/lib_a/src/lib_a.adb | alire-project/resources | 0 | 21668 | <reponame>alire-project/resources
with Ada.Text_IO; use Ada.Text_IO;
package body Lib_A is
-------------------
-- Print_Content --
-------------------
procedure Print_Content is
File : File_Type;
begin
Open (File, In_File, Lib_A.Resources.Resource_Path & "/text_file.txt");
while no... |
.emacs.d/elpa/wisi-3.1.3/wisitoken-syntax_trees.ads | caqg/linux-home | 0 | 20568 | <reponame>caqg/linux-home<gh_stars>0
-- Abstract :
--
-- Syntax tree type and operations.
--
-- Design :
--
-- There is one syntax tree for each parallel parser. There is one
-- shared Terminals array (provided by the master parser), matching
-- the actual input text.
--
-- Node contains a Parent component, to m... |
http.ads | zorodc/ada-http1 | 0 | 15520 | <gh_stars>0
--
-- Nice little HTTP 1.x request parser. Uses a state machine.
-- Operates by cutting up the incoming request string into sections.
--
package HTTP with SPARK_Mode => On
is
type Version is delta 0.1 range 1.0 .. 9.9;
type Indexes is record
First : Natural := 1;
Last : Natural := 0;
end r... |
Light/Implementation/Relation/Decidable.agda | zamfofex/lightlib | 1 | 16309 | <gh_stars>1-10
{-# OPTIONS --omega-in-omega --no-termination-check --overlapping-instances #-}
{-# OPTIONS --allow-unsolved-metas #-}
module Light.Implementation.Relation.Decidable where
open import Light.Variable.Levels
open import Light.Variable.Sets
open import Light.Library.Relation.Decidable using (Library ; Dep... |
src/bindings/adabase-bindings.ads | jrmarino/AdaBase | 30 | 2254 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
package AdaBase.Bindings is
pragma Pure;
end AdaBase.Bindings;
|
libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80p_dparam2.asm | meesokim/z88dk | 0 | 167316 | <reponame>meesokim/z88dk
SECTION code_fp_math48
PUBLIC cm48_sccz80p_dparam2
EXTERN am48_dloadb
cm48_sccz80p_dparam2:
; read two math48 doubles from the stack
;
; enter : stack = double x, doubly y, ret1, ret0
;
; exit : AC'= y
; AC = x
ld hl,15
add hl,sp
call am48_dloadb
... |
oeis/015/A015211.asm | neoneye/loda-programs | 11 | 10250 | ; A015211: Sum of Gaussian binomial coefficients for q=20.
; Submitted by <NAME>
; 1,2,23,844,185665,135410486,594398635307,8667459765860128,760847587518093084949,221888491692526853220309770,389554408585486196960076347534591,2272138934040070259456673438099474759412,79780747422585051663155569402234152922601984233,930668... |
tests/covered/CH.agda | andrejtokarcik/agda-semantics | 3 | 13917 | <reponame>andrejtokarcik/agda-semantics
module CH where
data ℕ : Set where
zero : ℕ
succ : ℕ → ℕ
infixl 6 _+_
_+_ : ℕ → ℕ → ℕ
zero + m = m
(succ n) + m = succ (n + m)
infix 4 _≡_
data _≡_ {A : Set} (x : A) : A → Set where
refl : x ≡ x
{-
t1 : {n : ℕ} -> zero ≡ n
t1 = refl
-}
data _==_ {A : Set} : A →... |
src/research/interrupt_vector_table.asm | MijnOS/MijnOS | 0 | 100678 | BITS 16
;===========
; Start of the bootloader
;===========
start:
mov ax,07C0h ; Set up 4K stack space after this bootloader
add ax,288 ; (4096 + 512) / 16 bytes per paragraph
mov ss,ax
mov sp,4096
mov ax,07C0h ; Set data segment ... |
tests/src/shared/gl_test-display_backend.adb | Cre8or/OpenGLAda | 79 | 1172 | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with Ada.Text_IO;
with Glfw.Windows.Context;
with Glfw.Windows.Hints;
with Glfw.Input.Keys;
with Glfw.Errors;
package body GL_Test.Display_Backend is
type Test_Window is new Glfw.Windows.Window with null... |
3-mid/opengl/source/lean/geometry/opengl-geometry-lit_colored.adb | charlie5/lace-alire | 1 | 28672 | with
openGL.Program.lit,
openGL.Buffer.general,
openGL.Shader,
openGL.Attribute,
openGL.Tasks,
openGL.Errors,
GL.lean,
GL.Pointers,
Interfaces.C.Strings,
System.storage_Elements;
package body openGL.Geometry.lit_colored
is
use GL.lean,
GL.Pointers,
... |
firmware/glyphs/der_rouge.asm | ddomurad/avrVideoCard | 0 | 177292 | <gh_stars>0
.org 0x1800
.db 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
.db 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
.db 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
.db 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
.db 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
.db 0x0, 0x0, 0x0, 0x0, 0x0, 0... |
programs/oeis/063/A063960.asm | neoneye/loda | 22 | 245947 | <gh_stars>10-100
; A063960: Sum of non-unitary prime divisors of n!: sum of those prime factors for which the exponent exceeds 1.
; 0,0,0,2,2,5,5,5,5,10,10,10,10,17,17,17,17,17,17,17,17,28,28,28,28,41,41,41,41,41,41,41,41,58,58,58,58,77,77,77,77,77,77,77,77,100,100,100,100,100,100,100,100,100,100,100,100,129,129,129,12... |
8088/xtce/gentests/runstub.asm | reenigne/reenigne | 92 | 12192 | org 0
cpu 8086
xor ax,ax
mov ds,ax
mov word[0x20],irq0a
mov [0x22],cs
mov word[0xff*4],interruptFF
mov [0xff*4+2],cs
mov word[0xfe*4],interruptFF
mov [0xfe*4+2],cs
mov word[3*4],int3handler
mov [3*4+2],cs
; Enable auto-EOI
mov al,0x13 ; ICW4 needed, not cascaded, call address interval 8, edge... |
agda-stdlib-0.9/src/Data/Star/BoundedVec.agda | qwe2/try-agda | 1 | 14421 | <filename>agda-stdlib-0.9/src/Data/Star/BoundedVec.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Bounded vectors (inefficient implementation)
------------------------------------------------------------------------
-- Vectors of a specified maximum len... |
wof/lcs/base/1C5.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 90521 | <filename>wof/lcs/base/1C5.asm
copyright zengfr site:http://github.com/zengfr/romhack
012C20 move.b #$0, ($1c5,A5) [base+1C4]
012C26 move.l #$90b12c, ($1ce,A5)
012C8C bpl $12c98 [base+1C5]
012C94 subq.b #1, ($1c4,A5) [base+1C5]
012C98 cmpi.b #$32, ($1c5,A5) [base+1C4]
012C9E bne $12ca4 [base+1C5]
01... |
examples and results/quadro of number from 1 to 99/user_code[for user].asm | Hollbrok/CPU_cpp_version | 5 | 93121 | push 1
pop rbx
L2:
push rbx
push 2
pow
out
push rbx
push 1
add
pop rbx
push rbx
push 100
jb :L2
hlt |
Task/Character-codes/Ada/character-codes.ada | LaudateCorpus1/RosettaCodeData | 1 | 9231 | with Ada.Text_IO; use Ada.Text_IO;
procedure Char_Code is
begin
Put_Line (Character'Val (97) & " =" & Integer'Image (Character'Pos ('a')));
end Char_Code;
|
Old Programmes/8085/Addition/2_ADD_8N.asm | illuminati-inc-2020/school | 0 | 81174 | ;Add 2 N-byte numbers
;Input : 00A0H <- N
; : 00B0H <- first number
; : 00C0H <- second number
;Output : 00D0h <- sum
LDA 00A0H
MOV C, A
LXI SP, 0FFFFH
LXI H, 00D0H
PUSH H
LXI H, 00B0H
LXI D, 00C0H
SUB A
LOOP: RAR
MOV A, M
INX H
XCHG
ADC M
INX H
XTHL
MOV M, A
INX H
XTHL
RAL
DCR C
JNZ LOOP
XTHL
ANI... |
spaceship/src/missile.ads | kndtime/ada-spaceship | 0 | 24043 | package Missile is
type Missile_State is
(ALIVE, TOUCHED, DEAD);
type Missile is record
State : Missile_State := DEAD;
X : Integer;
Y : Integer;
Max_Y: Integer;
Speed : Integer;
end record;
procedure appear_mis(s : in out Missile; X : Integer; Y : Integer; Max_Y : Integer)... |
alloy4fun_models/trashltl/models/4/PhLFC3T3voJ8SuXhu.als | Kaixi26/org.alloytools.alloy | 0 | 2863 | open main
pred idPhLFC3T3voJ8SuXhu_prop5 {
some f : File | eventually (f not in File)
}
pred __repair { idPhLFC3T3voJ8SuXhu_prop5 }
check __repair { idPhLFC3T3voJ8SuXhu_prop5 <=> prop5o } |
pwnlib/shellcraft/templates/aarch64/linux/cat.asm | DrKeineLust/pwntools | 10 | 26776 | <reponame>DrKeineLust/pwntools
<%
from pwnlib import shellcraft
%>
<%page args="filename, fd=1"/>
<%docstring>
Opens a file and writes its contents to the specified file descriptor.
Example:
>>> write('flag', 'This is the flag\n')
>>> shellcode = shellcraft.cat('flag') + shellcraft.exit(0)
>>> print(dis... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2_notsx.log_1_1594.asm | ljhsiun2/medusa | 9 | 94736 | <filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2_notsx.log_1_1594.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x9111, %rbp
nop
cmp %r10, %r10
mov $0x6162636465666768, %rcx
movq %rcx, %xmm3
and $0xfffff... |
lib/asm/philox_bmi2_4x64.asm | zhouyan/MCKL | 12 | 9003 | ;;============================================================================
;; MCKL/lib/asm/philox_bmi2_4x64.asm
;;----------------------------------------------------------------------------
;; MCKL: Monte Carlo Kernel Library
;;----------------------------------------------------------------------------
;; Copyrig... |
src/lv-objx-textarea.ads | Fabien-Chouteau/ada-lvlg | 3 | 21732 | <filename>src/lv-objx-textarea.ads
with Lv.Style;
with Lv.Objx.Page;
with Lv.Objx.Label;
package Lv.Objx.Textarea is
subtype Instance is Obj_T;
Cursor_Last : constant := 16#7FFF#;
type Cursor_Type_T is (Cursor_None,
Cursor_Line,
Cursor_Block,
... |
Scripts Pack Source Items/Scripts Pack/Core Components/Keyboard Behaviour (10.7).applescript | Phorofor/ScriptsPack.macOS | 1 | 1465 | <filename>Scripts Pack Source Items/Scripts Pack/Core Components/Keyboard Behaviour (10.7).applescript
# Scripts Pack - Tweak various preference variables in macOS
# <Phorofor, https://github.com/Phorofor/>
-- Keyboard Behaviour
-- Versions compatible: macOS 10.7
-- Preference Identifier: GlobalPreferences
-- Preferen... |
Lab Work/5th-semester/assembly-language/book/CH-07/7_11.asm | akazad13/bsc-academic-work | 0 | 17434 | <filename>Lab Work/5th-semester/assembly-language/book/CH-07/7_11.asm
.MODEL SMALL
.STACK 100H
.DATA
MSG1 DB 0AH,'TYPE A BINARY NUMBER, UP TO 16 DIGITS: $'
MSG2 DB 0AH,'ILLEGAL BINARY DIGIT, TRY AGAIN: $';
MSG3 DB 'IN HEX IT IS $'
I DB 0
.CODE
MAIN PROC
; initializing data segment
MOV AX,@DATA
MOV DS,AX
LEA DX,MS... |
assign9/assign9.asm | Andrew-Slade/Assembler | 0 | 84152 | <reponame>Andrew-Slade/Assembler<filename>assign9/assign9.asm
//KC03H99A JOB ,'ANDREW SLADE',MSGCLASS=H 00010031
//JSTEP01 EXEC PGM=ASSIST 00020031
//STEPLIB DD DSN=KC00NIU.ASSIST.LOADLIB,DISP=SHR 00030031
//SYSPRINT DD S... |
programs/oeis/294/A294936.asm | jmorken/loda | 1 | 179982 | ; A294936: Characteristic function for nondeficient numbers (A023196): a(n) = 1 if A001065(n) >= n, 0 otherwise.
; 0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0... |
theorems/homotopy/EilenbergMacLane.agda | cmknapp/HoTT-Agda | 0 | 6583 | <reponame>cmknapp/HoTT-Agda
{-# OPTIONS --without-K #-}
open import HoTT
open import homotopy.HSpace renaming (HSpaceStructure to HSS)
open import homotopy.Freudenthal
open import homotopy.IterSuspensionStable
open import homotopy.Pi2HSusp
open import homotopy.EM1HSpace
module homotopy.EilenbergMacLane where
-- EM(G... |
oeis/139/A139393.asm | neoneye/loda-programs | 11 | 177075 | <gh_stars>10-100
; A139393: a(n) = Sum_{i=1..m} e(i) * 10^(m-i) where e(1) <= ... <= e(m) are the nonzero exponents in the prime factorization of n: a representation of the prime signature of n.
; Submitted by <NAME>
; 0,1,1,2,1,11,1,3,2,11,1,12,1,11,11,4,1,12,1,12,11,11,1,13,2,11,3,12,1,111,1,5,11,11,11,22,1,11,11,13,... |
src/ada/src/common/uxas-common-string_constant-content_type.ads | VVCAS-Sean/OpenUxAS | 88 | 22396 | -- see OpenUxAS\src\Includes\Constants\UxAS_String.h
package UxAS.Common.String_Constant.Content_Type is
Json : constant String := "json";
Lmcp : constant String := "lmcp";
Text : constant String := "text";
Xml : constant String := "xml";
end UxAS.Common.String_Constant.Content_Type;
|
src/asm/Fonts.asm | fourstix/1802PixieVideoTTY | 1 | 87576 |
; *********************************************************************************************
; Copyright (c) 2020
; by <NAME>
;
; Changes:
; <NAME>, July, 2020 - Put Font definations into separate file
; <NAME>, August, 2020 - Changed DEL to 1 pixel wide space
;
; Font definition
;
; The font has 96 printable cha... |
03-Tooling/01-system-event.applescript | Rolias/discover-applescript | 0 | 1600 | <reponame>Rolias/discover-applescript<filename>03-Tooling/01-system-event.applescript
tell application "System Events"
name of processes
end tell
|
home/scrolling_menu.asm | Dev727/ancientplatinum | 28 | 82601 | ScrollingMenu::
call CopyMenuData
ldh a, [hROMBank]
push af
ld a, BANK(_ScrollingMenu) ; aka BANK(_InitScrollingMenu)
rst Bankswitch
call _InitScrollingMenu
call .UpdatePalettes
call _ScrollingMenu
pop af
rst Bankswitch
ld a, [wMenuJoypad]
ret
.UpdatePalettes:
ld hl, wVramState
bit 0, [hl]
jp nz, Up... |
pygoslin/data/goslin/LipidMaps.g4 | Fadi2200/pygoslin | 8 | 4599 | ////////////////////////////////////////////////////////////////////////////////
// MIT License
//
// Copyright (c) 2017 <NAME> - dominik.kopczynski {at} isas.de
// <NAME> - bing.peng {at} isas.de
// <NAME> - nils.hoffmann {at} isas.de
//
// Permission is hereby granted,... |
special_keys/expose.scpt | caius/special_keys | 0 | 2516 | -- Expose key is code 160
tell application "System Events" to key code 160
|
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_f_unlink.asm | jpoikela/z88dk | 640 | 170587 | <filename>libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_f_unlink.asm
; unsigned char esx_f_unlink(unsigned char *filename)
SECTION code_esxdos
PUBLIC esx_f_unlink
EXTERN asm_esx_f_unlink
defc esx_f_unlink = asm_esx_f_unlink
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _esx_f_unlink
defc _esx_f_unlink = esx_f_u... |
alloy4fun_models/trainstlt/models/5/47kGb6MLfvciY5Edz.als | Kaixi26/org.alloytools.alloy | 0 | 2461 | <filename>alloy4fun_models/trainstlt/models/5/47kGb6MLfvciY5Edz.als
open main
pred id47kGb6MLfvciY5Edz_prop6 {
always Signal != Signal'
}
pred __repair { id47kGb6MLfvciY5Edz_prop6 }
check __repair { id47kGb6MLfvciY5Edz_prop6 <=> prop6o } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.