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 |
|---|---|---|---|---|
programs/oeis/060/A060819.asm | jmorken/loda | 1 | 91403 | <reponame>jmorken/loda
; A060819: a(n) = n / gcd(n,4).
; 1,1,3,1,5,3,7,2,9,5,11,3,13,7,15,4,17,9,19,5,21,11,23,6,25,13,27,7,29,15,31,8,33,17,35,9,37,19,39,10,41,21,43,11,45,23,47,12,49,25,51,13,53,27,55,14,57,29,59,15,61,31,63,16,65,33,67,17,69,35,71,18,73,37,75,19,77,39,79,20,81,41,83,21,85,43,87,22,89,45,91,23,93,47,... |
src/Partiality-algebra/Pi.agda | nad/partiality-monad | 2 | 1184 | ------------------------------------------------------------------------
-- Pi with partiality algebra families as codomains
------------------------------------------------------------------------
{-# OPTIONS --erased-cubical --safe #-}
module Partiality-algebra.Pi where
open import Equality.Propositional.Cubical
o... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_425.asm | ljhsiun2/medusa | 9 | 174105 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xeb1, %rsi
lea addresses_D_ht+0x134a9, %rdi
nop
nop
nop
nop
cmp $61401, %r10
mov $28, %rcx
rep movsl
nop
nop
nop
xor %rsi, %rsi
lea addresses_UC_ht+0xef51, %rsi... |
stress/stressall.adb | yannickmoy/SPARKNaCl | 76 | 27582 | with GF_Stress;
with Diff_Car_Stress;
with Car_Stress;
with Pack_Stress;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Exceptions; use Ada.Exceptions;
with GNAT.Traceback.Symbolic; use GNAT.Traceback.Symbolic;
procedure Stressall
is
begin
Put_Line ("GF Stress");
GF_Stress;
Put_Line ("Diff Car Stress");
Diff... |
2.statement/generated-asm/251.if_likely.asm | takenobu-hs/haskell-ghc-cmm-examples | 1 | 172423 |
==================== Asm code ====================
.section .text
.align 8
.globl func1
.type func1, @function
func1:
_c4:
cmpq %r14,%rbx
jbe _c3
_c1:
movl $111,%ebx
_c2:
jmp *(%rbp)
_c3:
movl $100,%ebx
jmp _c2
.size func1, .-func1
|
source/environment/a-colipa.ads | ytomino/drake | 33 | 12499 | <filename>source/environment/a-colipa.ads
pragma License (Unrestricted);
-- extended unit
with Ada.Command_Line.Generic_Parsing;
package Ada.Command_Line.Parsing is
new Generic_Parsing (
Input_Cursor => Natural,
Has_Element => Has_Element,
Input_Iterator_Interfaces => Iterator_Interfaces,
In... |
memsim-master/src/memgen.adb | strenkml/EE368 | 0 | 28558 |
with Ada.Command_Line; use Ada.Command_Line;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Memory; use Memory;
with Parser; use Parser;
with HDL_Generator; use HDL_Generator;
with Simplify_Memory;
procedu... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c2/c23006e.ada | best08618/asylo | 7 | 15513 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c2/c23006e.ada
-- C23006E.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
-- unlimi... |
Testing-File/Test_Ex8.asm | srsarangi/riscv-emulator | 0 | 6659 | <reponame>srsarangi/riscv-emulator
/ RISC-V assembly code to implement a function
int foo(void)
{
return 2;
}
/
.foo:
addi x5, x0, 2
jalr x0, 0(x1)
.main:
addi x6, x0, 3
jal x1, .foo
add x7, x5, x6
.print x7
end
|
programs/oeis/157/A157319.asm | karttu/loda | 0 | 174948 | ; A157319: Possible total points for a single team in a game of American football, ignoring safeties (and time constraints).
; 0,3,6,7,9,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,... |
libsrc/_DEVELOPMENT/stdio/z80/asm_fclose_unlocked.asm | teknoplop/z88dk | 0 | 81786 | <reponame>teknoplop/z88dk
; ===============================================================
; Apr 2014
; ===============================================================
;
; int fclose_unlocked(FILE *stream)
;
; Close the file.
;
; ===============================================================
INCLUDE "clib_cfg.asm"... |
programs/oeis/185/A185057.asm | neoneye/loda | 22 | 168254 | ; A185057: a(n) = n^n! (mod 5).
; 0,1,4,4,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1
mov $2,$0
lpb $2
pow $0,2
mod $0,5
div $2,2
sub $2,1
lpe
|
src/Embedding/Erased.agda | nad/equality | 3 | 2595 | <reponame>nad/equality
------------------------------------------------------------------------
-- Embeddings with erased "proofs"
------------------------------------------------------------------------
-- Partially following the HoTT book.
{-# OPTIONS --without-K --safe #-}
open import Equality
module Embedding.E... |
src/utilities/point_list.ads | SKNZ/BoiteMaker | 0 | 19210 | with generic_linked_list;
with point;
package point_list is new generic_linked_list (point.point_t);
|
src/day-3/adventofcode-day_3.ads | persan/advent-of-code-2020 | 0 | 29137 | with Ada.Containers.Indefinite_Vectors;
-- https://adventofcode.com/2020/day/3
--
--- Day 3: Toboggan Trajectory ---
--
-- With the toboggan login problems resolved, you set off toward the airport.
-- While travel by toboggan might be easy, it's certainly not safe:
-- there's very minimal steering and the area is c... |
src/usb-utils.adb | JeremyGrosser/usb_embedded | 14 | 22135 | <filename>src/usb-utils.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2021, AdaCore --
-- ... |
archive/agda-3/src/Oscar/Class/IsDecidable.agda | m0davis/oscar | 0 | 412 |
open import Oscar.Prelude
open import Oscar.Data.Decidable
open import Oscar.Data.Proposequality
module Oscar.Class.IsDecidable where
record IsDecidable {𝔬} (𝔒 : Ø 𝔬) : Ø 𝔬 where
infix 4 _≟_
field
_≟_ : (x y : 𝔒) → Decidable (x ≡ y)
open IsDecidable ⦃ … ⦄ public
|
nasm assembly/assgnments/question4.asm | AI-Factor-y/NASM-library | 0 | 1406 | section .data
msg1 : db 'Enter first digit of first number :'
l1 : equ $-msg1
msg2 : db 'Enter second digit of first number :'
l2 : equ $-msg2
msg3 : db ' ',10
l3 : equ $-msg3
section .bss
num11 : resb 1
num12 : resb 1
n1 : resb 1
n2 : resb 1
n3 : resb 1
junk : resb 1
junk1 : resb 1
junk2 : res... |
src/Projects/eu_projects-times.adb | fintatarta/eugen | 0 | 23642 | <filename>src/Projects/eu_projects-times.adb<gh_stars>0
package body EU_Projects.Times is
-----------------
-- To_Duration --
-----------------
function To_Duration (X : Instant) return Duration is
begin
return Duration(X);
end To_Duration;
function Is_Empty (X : Interval) return Boolean... |
programs/oeis/039/A039823.asm | karttu/loda | 1 | 10392 | ; A039823: a(n) = ceiling( (n^2 + n + 2)/4 ).
; 1,2,4,6,8,11,15,19,23,28,34,40,46,53,61,69,77,86,96,106,116,127,139,151,163,176,190,204,218,233,249,265,281,298,316,334,352,371,391,411,431,452,474,496,518,541,565,589,613,638,664,690,716,743,771,799,827
add $0,2
bin $0,2
add $0,2
div $0,2
mov $1,$0
|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_7290_1391.asm | ljhsiun2/medusa | 9 | 1688 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xb04d, %r11
nop
nop
nop
nop
add $3886, %rsi
movups (%r11), %xmm1
vpextrq $0, %xmm1, %rdi
nop
add $239, %rdi
lea addresses_WC_ht+0x10b69, %rdi
nop
nop
nop
dec %r... |
kernel/arch/i386/idt_a.asm | Heasummn/DevOS | 8 | 246469 | <reponame>Heasummn/DevOS
; Interrupt Descriptor Table
global idt_flush
extern idt_p
idt_flush:
lidt [idt_p]
ret
|
Library/Spreadsheet/Spreadsheet/spreadsheetRecalc.asm | bocke/pcgeos | 0 | 169233 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: spreadsheetRecalc.asm
AUTHOR: <NAME>, Mar 22, 1991
ROUTINES:
Name Description
---- -----------
EXT RecalcDependentsNo... |
invaders.asm | TheRalph/MBR_Inviders | 3 | 9862 | <gh_stars>1-10
;*******************************************************************************
; Assemble with nasm -o invader.com -f bin invader.asm
;*******************************************************************************
org 0100h
%define USE_CLEARSCR
;%define USE_DRAW_SPRITE
%define USE_DRAW_MONOCHROM_ICO... |
src/tcg-tile_layers.ads | Fabien-Chouteau/tiled-code-gen | 1 | 29326 | <reponame>Fabien-Chouteau/tiled-code-gen
------------------------------------------------------------------------------
-- --
-- tiled-code-gen --
-- ... |
136/ada/main.adb | notdb/LC-Practice | 0 | 30241 | <filename>136/ada/main.adb
with Ada.Text_IO; use Ada.Text_IO;
procedure Main is
procedure Nested is
begin
Put_Line ("Hello World");
end Nested;
begin
Nested;
end Main; |
prog2.asm | GarrisonGE/xv6 | 0 | 11162 | <gh_stars>0
_prog2: 文件格式 elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "types.h"
#include "stat.h"
#include "user.h"
int main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/ada_get_targ.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 11507 | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/ada_get_targ.adb<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS ... |
memsim-master/src/variance.ads | strenkml/EE368 | 0 | 11504 | <reponame>strenkml/EE368
generic
type T is digits <>;
package Variance is
type Variance_Type is private;
procedure Reset(v : in out Variance_Type);
procedure Update(v : in out Variance_Type;
value : in T);
function Get_Variance(v : Variance_Type) return T;
private
type... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/___ulonglong2fs_callee.asm | jpoikela/z88dk | 640 | 3137 | <reponame>jpoikela/z88dk
SECTION code_clib
SECTION code_fp_math48
PUBLIC ___ulonglong2fs_callee
EXTERN cm48_sdcciyp_ulonglong2ds_callee
defc ___ulonglong2fs_callee = cm48_sdcciyp_ulonglong2ds_callee
|
Cubical/Algebra/CommRing/Instances/UnivariatePoly.agda | guilhermehas/cubical | 1 | 11976 | <filename>Cubical/Algebra/CommRing/Instances/UnivariatePoly.agda
{-# OPTIONS --safe #-}
module Cubical.Algebra.CommRing.Instances.UnivariatePoly where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Nat using (ℕ ; zero ; suc)
open import Cubical.Algebra.CommRing
open import Cubical.Algebra.Polynomia... |
oeis/020/A020447.asm | neoneye/loda-programs | 11 | 28723 | <reponame>neoneye/loda-programs
; A020447: Expansion of 1/((1-5x)(1-8x)(1-11x)).
; Submitted by <NAME>
; 1,24,393,5480,70161,853944,10066393,116192520,1322205921,14898923864,166735197993,1856912289960,20608880226481,228161663489784,2521496249891193,27830232878409800,306882907287251841,3381715508097175704,37246902627265... |
examples/src/examples-match_patterns.ads | TNO/Rejuvenation-Ada | 1 | 23941 | <reponame>TNO/Rejuvenation-Ada<gh_stars>1-10
package Examples.Match_Patterns is
procedure Demo;
end Examples.Match_Patterns;
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c47004a.ada | best08618/asylo | 7 | 21814 | -- C47004A.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/138/A138632.asm | neoneye/loda-programs | 11 | 101627 | <reponame>neoneye/loda-programs
; A138632: Nonnegative integers k such that 17*k+9 is prime.
; Submitted by <NAME>
; 2,10,16,20,22,34,44,50,62,64,76,86,94,100,104,106,110,112,122,134,140,142,152,160,164,176,184,194,206,212,226,230,236,244,250,254,262,286,292,310,314,316,320,322,332,344,362,364,370,374,380,386,392,406,4... |
Scheduling.g4 | FNicon/IF4150_DSL_Schedule | 0 | 5096 | <reponame>FNicon/IF4150_DSL_Schedule<filename>Scheduling.g4<gh_stars>0
grammar Scheduling;
ID : [a-zA-Z]+ ; // match lower-case identifiers
NUM : [0-9]+ ;
WS : [ \t\r\n]+ -> skip ; // skip spaces, tabs, newlines
command : (create|set|allocate)+;
create : 'create' entity;
allocate : 'allocate' room cou... |
src/fot/FOTC/Program/Collatz/Collatz.agda | asr/fotc | 11 | 16525 | <filename>src/fot/FOTC/Program/Collatz/Collatz.agda
------------------------------------------------------------------------------
-- The Collatz function: A function without a termination proof
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-... |
programs/oeis/062/A062249.asm | karttu/loda | 0 | 91850 | <gh_stars>0
; A062249: a(n) = n + d(n), where d(n) = number of divisors of n, cf. A000005.
; 2,4,5,7,7,10,9,12,12,14,13,18,15,18,19,21,19,24,21,26,25,26,25,32,28,30,31,34,31,38,33,38,37,38,39,45,39,42,43,48,43,50,45,50,51,50,49,58,52,56,55,58,55,62,59,64,61,62,61,72,63,66,69,71,69,74,69,74,73,78,73,84,75,78,81,82,81,86... |
programs/oeis/252/A252736.asm | neoneye/loda | 22 | 4725 | <filename>programs/oeis/252/A252736.asm
; A252736: a(1) = a(2) = 0; for n > 2: a(2n) = 1 + a(n), a(2n+1) = a(A064989(2n+1)).
; 0,0,0,1,0,1,0,2,1,1,0,2,0,1,1,3,0,2,0,2,1,1,0,3,1,1,2,2,0,2,0,4,1,1,1,3,0,1,1,3,0,2,0,2,2,1,0,4,1,2,1,2,0,3,1,3,1,1,0,3,0,1,2,5,1,2,0,2,1,2,0,4,0,1,2,2,1,2,0,4,3,1,0,3,1,1,1,3,0,3,1,2,1,1,1,5,0... |
Driver/Printer/PrintCom/Styles/stylesSRCondensed.asm | steakknife/pcgeos | 504 | 178917 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Print Drivers
FILE: stylesSRCondensed.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- ----------... |
source/units/program-units-vectors.ads | optikos/oasis | 0 | 12945 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Containers.Vectors;
with Program.Compilation_Unit_Vectors;
package Program.Units.Vectors is
pragma Preelaborate;
type Unit_Vector is ... |
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/l_f16_lt.asm | Frodevan/z88dk | 640 | 22537 | <reponame>Frodevan/z88dk
SECTION code_fp_math16
PUBLIC l_f16_lt
EXTERN asm_f16_compare_callee
.l_f16_lt
call asm_f16_compare_callee
ret C
dec hl
ret
|
src/kernel/kernel-entry.asm | TheRealJoe24/BrandOS-Legacy | 2 | 177872 | [bits 32]
[extern kmain]
; kernel entry
kernel_entry:
call kmain ; call kernel main function
jmp $ |
smsq/sbas/ressb.asm | olifink/smsqe | 0 | 93796 | ; SuperBASIC reserve SuperBASIC space
section uq
xdef sb_revect
xdef sb_rar32
xdef sb_resar
xdef sb_rbk20
;*** xdef sb_resbk
xdef sb_rgr04
;*** xdef sb_resgr
xdef sb_rnt08
xdef sb_resnt
xdef sb_rrt24
;*** xdef sb_resrt
xdef sb_resbf
xdef sb_rescl
xdef sb_resnl
;*** xdef sb_resdt
xdef sb_resch
;*** xdef ... |
alloy4fun_models/trashltl/models/15/S99Ps5QptDBwSvBMg.als | Kaixi26/org.alloytools.alloy | 0 | 3376 | open main
pred idS99Ps5QptDBwSvBMg_prop16 {
all f : (File & Protected) | historically (f in Protected)
}
pred __repair { idS99Ps5QptDBwSvBMg_prop16 }
check __repair { idS99Ps5QptDBwSvBMg_prop16 <=> prop16o } |
src/unison/test/fast/Mips/size/h264ref.memalloc.no_mem_exit.asm | Patstrom/disUnison | 88 | 163761 | <reponame>Patstrom/disUnison
.text
.abicalls
.section .mdebug.abi32,"",@progbits
.nan legacy
.file "h264ref.memalloc.no_mem_exit.ll"
.text
.globl no_mem_exit
.align 2
.type no_mem_exit,@function
.set nomicromips
.set nomips16
.ent no_mem_exit
no_mem_exit: # @no_mem_exit
.frame $s... |
programs/oeis/004/A004773.asm | neoneye/loda | 22 | 1370 | <filename>programs/oeis/004/A004773.asm
; A004773: Numbers congruent to {0, 1, 2} mod 4: a(n) = floor(4*n/3).
; 0,1,2,4,5,6,8,9,10,12,13,14,16,17,18,20,21,22,24,25,26,28,29,30,32,33,34,36,37,38,40,41,42,44,45,46,48,49,50,52,53,54,56,57,58,60,61,62,64,65,66,68,69,70,72,73,74,76,77,78,80,81,82,84,85,86,88,89,90,92,93,94,... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_6_962.asm | ljhsiun2/medusa | 9 | 15964 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x16872, %r8
nop
nop
nop
nop
nop
lfence
mov (%r8), %r14d
nop
nop
nop
nop
inc %rsi
lea addresses_WC_ht+0xb072, %r8
clflush (%r8)
nop
and $39087, %r13
movb (%r8), %r10b
nop
nop
xo... |
programs/oeis/000/A000120.asm | neoneye/loda | 22 | 11102 | ; A000120: 1's-counting sequence: number of 1's in binary expansion of n (or the binary weight of n).
; 0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6,2,3,3,4
mov $1,$0
lpb $... |
nasm assembly/library/longest rep sub seq.asm | AI-Factor-y/NASM-library | 0 | 7684 |
long_rep_sseq:
;; longest repeating subsequence
;; string base address in ebx
;; result in long_rep_len
;; string length in string_len
section .bss
dp: resd 10000
row_size: resd 1
col_size: resd 1
sseq_i: resd 1
sseq_j: resd 1
long_rep_len: resd 1
section .text
push rax
push rbx
pus... |
examples/examplesPaperJFP/NativeIOSafe.agda | agda/ooAgda | 23 | 1457 | module examplesPaperJFP.NativeIOSafe where
open import Data.Maybe.Base using (Maybe; nothing; just) public
open import Data.String.Base using (String) public
record Unit : Set where
constructor unit
{-# COMPILE GHC Unit = () #-}
postulate
NativeIO : Set → Set
nativeReturn : {A : Set} → A → NativeIO A
_n... |
src/main/antlr4/Koord.g4 | cyphyhouse/KoordLanguage | 3 | 7170 |
grammar Koord;
tokens { INDENT, DEDENT }
@lexer::header {
import java.util.*;
}
@lexer::members { //this must be put on the top, and not after the grammar rules
// modified from https://github.com/antlr/grammars-v4/blob/master/python3/Python3.g4
private int prevNumSpaces = 0; ... |
serial_port_temp.adb | Rahul24-06/ADA-Line-Follower-using-STM32-Nucleo-64 | 0 | 26433 | <reponame>Rahul24-06/ADA-Line-Follower-using-STM32-Nucleo-64
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- ... |
Plugins/AppleScript/Add to iTunes.applescript | jmcintyre/metaz | 235 | 4006 | <filename>Plugins/AppleScript/Add to iTunes.applescript
using terms from application "MetaZ"
on queue completed document the_document
tell application "MetaZ"
set myid to content of tag "iTunes persistent ID" of the_document
set loc to file of the_document
end tell
-- Only add if not already in iTunes
if... |
sources/ada/magics-write_file.adb | reznikmm/jupyter | 4 | 12408 | <filename>sources/ada/magics-write_file.adb
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with Ada.Wide_Wide_Text_IO;
with Jupyter.Kernels;
procedure Magics.Write_File
(IO_Pub : not null Jupyter.Kernels.IO_Pub_... |
cards/bn5/ItemCards/136-F007 Dave's Poise.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | 10 | 179485 | <gh_stars>1-10
.include "defaults_item.asm"
table_file_jp equ "exe5-utf8.tbl"
table_file_en equ "bn5-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252424A // BRBJ
game_code_2 equ 0x42524245 // BRBE
game_code_3 equ 0x42524250 // BRBP
card_type equ 0
card_id equ 27
card_no equ "027"
card_sub equ "Item Card... |
10 greater.asm | jpsxlr8/Microprocessor-Lab | 0 | 167279 | ; find greatest number in array of 8-bit number
LDA 024DH ;fetch value of N
MOV B, A ;save value of N in B
LXI H, 0250H ;fetch first element, set it as largest
MOV A, M ;save first element
DCR B ;decrement, since first element is largest
INX H ;increment to second element
loop: CMP M
JNC iterate
MOV A, M
... |
src/Data/QuadTree/Implementation/QuadrantLenses.agda | JonathanBrouwer/research-project | 1 | 8697 | <gh_stars>1-10
module Data.QuadTree.Implementation.QuadrantLenses where
open import Haskell.Prelude renaming (zero to Z; suc to S)
open import Data.Lens.Lens
open import Data.Logic
open import Data.QuadTree.Implementation.PropDepthRelation
open import Data.QuadTree.Implementation.Definition
open import Data.QuadTree.I... |
src/Data/Char/Classifier/Primitive.agda | ilya-fiveisky/agda-system-io | 2 | 3367 | <filename>src/Data/Char/Classifier/Primitive.agda
open import Data.Char using ( Char )
open import Data.Bool using ( Bool )
module Data.Char.Classifier.Primitive where
postulate
isAscii : Char → Bool
isLatin1 : Char → Bool
isControl : Char → Bool
isSpace : Char → Bool
isLower : Char → Bool
isUpper : Char... |
uti/getwlim.asm | olifink/smsqe | 0 | 29760 | <reponame>olifink/smsqe
; get window limits
section utility
include dev8_keys_qdos_io
xdef ut_gwlim
xdef ut_gwlma
xdef ut_gworg
xref gu_iow
;+++
; Get window origin.
;
; Entry Exit
; D2.l x-... |
programs/oeis/136/A136008.asm | karttu/loda | 1 | 19512 | <reponame>karttu/loda<gh_stars>1-10
; A136008: a(n) = n^6 - n^2.
; 0,0,60,720,4080,15600,46620,117600,262080,531360,999900,1771440,2985840,4826640,7529340,11390400,16776960,24137280,34011900,47045520,63999600,85765680,113379420,148035360,191102400,244140000,308915100,387419760,481889520,594822480,728999100,887502720,10... |
src/Categories/Pseudofunctor.agda | Trebor-Huang/agda-categories | 279 | 16737 | <filename>src/Categories/Pseudofunctor.agda
{-# OPTIONS --without-K --safe #-}
open import Categories.Bicategory using (Bicategory)
-- A Pseudofunctor is a homomorphism of Bicategories
-- Follow Bénabou's definition, which is basically that of a Functor
-- Note that what is in nLab is an "exploded" version of the si... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1072.asm | ljhsiun2/medusa | 9 | 5003 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1349e, %rdi
nop
nop
nop
add $14416, %r12
mov $0x6162636465666768, %r11
movq %r11, %xmm0
movups %xmm0, (%rdi)
nop
nop
nop
nop
nop
xor $54500, %r8
lea ... |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver2/sfc/ys_w15.asm | prismotizm/gigaleak | 0 | 21360 | Name: ys_w15.asm
Type: file
Size: 6153
Last-Modified: '2016-05-13T04:51:42Z'
SHA-1: F82A00A10134F37BFA9CAE9AF8EE47D438956679
Description: null
|
projects/Kirbys_Dream_Land_2.windfish/disassembly/bank_06.asm | jverkoey/awaken | 68 | 11514 | <reponame>jverkoey/awaken
SECTION "ROM Bank 06", ROMX[$4000], BANK[$06]
db $FF, $02, $00, $00, $00, $2C, $46, $06
db $00, $00, $00, $2C, $46, $06, $00, $01
db $FF, $02, $02, $FF, $10, $30, $50, $70
db $90, $B0, $D0, $F0, $00, $10, $00, $20
db $00, $30, $00, $40, $00, $50, $00, $60
db ... |
languages/python-ada/b~unit.ads | octonion/examples | 4 | 9947 | <filename>languages/python-ada/b~unit.ads
pragma Ada_95;
pragma Warnings (Off);
with System;
package ada_main is
procedure adainit;
pragma Export (C, adainit, "adainit");
procedure adafinal;
pragma Export (C, adafinal, "adafinal");
type Version_32 is mod 2 ** 32;
u00001 : constant Version_32 := 16#... |
Numbers/ClassicalReals/RealField/AllIsomorphic.agda | Smaug123/agdaproofs | 4 | 15118 | <reponame>Smaug123/agdaproofs
{-# OPTIONS --safe --warning=error --without-K #-}
open import Functions
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
open import LogicalFormulae
open import Setoids.Subset
open import Setoids.Setoids
open import Setoids.Orders
open import Fields.Fields
open import Rings.Ord... |
Cubical/Foundations/PathSplitEquiv.agda | cj-xu/cubical | 0 | 16457 | {-
Theory about path split equivalences.
They are convenient to construct localization HITs as in
(the "modalities paper")
https://arxiv.org/abs/1706.07526
- there are construction from and to equivalences ([pathSplitToEquiv] , [equivToPathSplit])
- the structure of a path split equivalence is actually a proposition ... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca.log_21829_1135.asm | ljhsiun2/medusa | 9 | 3806 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x17888, %r14
nop
add %r13, %r13
mov (%r14), %si
nop
cmp $63818, %rbx
lea addresses_WT_ht+0x199c8, %rsi
lea addresses_D_ht+0x195c8, %rdi
nop
nop
dec %r10
mov $118, %rcx
rep movsl
nop
ad... |
Positive_Negative.asm | Abhik-Kumar/8085 | 0 | 29954 | //2K19/EE/009 <NAME>
// Find whether the number is positive or negative
LXI H, 1001H // Load number to memory
MOV A, M // Move content of memory to 'A'
RAL
JC LOOP // Condition
MVI A, 00H // Move Immediate For Positive
STA 1002H // store the accumulator value at address
HLT // Stop for positive number
LOOP: MVI A... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0.log_21829_1518.asm | ljhsiun2/medusa | 9 | 25316 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x106b6, %rsi
lea addresses_normal_ht+0x1e3f, %rdi
nop
nop
nop
nop
nop
and %r11, %r11
mov $58, %rcx
rep movsw
nop
nop
nop
nop
nop
add %r9, %r9
lea addresses_WT_ht+... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca.log_105_1078.asm | ljhsiun2/medusa | 9 | 15077 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x8dbe, %rsi
lea addresses_WT_ht+0x16e0e, %rdi
clflush (%rsi)
nop
nop
nop
and $57848, %r9
mov $93, %rcx
rep movsl
nop
inc %r14
pop %rsi
pop %rdi
pop %rcx
pop %r9
... |
artwork/esqueleto/esqueleto_cae.asm | fjpena/sword-of-ianna-zx | 67 | 179520 | ; ASM source file created by SevenuP v1.21
; SevenuP (C) Copyright 2002-2007 by <NAME>, aka Metalbrain
;GRAPHIC DATA:
;Pixel Size: ( 24, 32)
;Char Size: ( 3, 4)
;Frames: 2
;Sort Priorities: X char, Char line, Y char, Frame number
;Data Outputted: Gfx
;Interleave: Sprite
;Mask: ... |
release/src-rt-6.x.4708/router/gmp/mpn/arm/mode1o.asm | afeng11/tomato-arm | 5 | 245945 | dnl ARM mpn_modexact_1c_odd
dnl Contributed to the GNU project by <NAME>.
dnl Copyright 2012 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 under the terms of either:
dnl
dnl * the GNU Less... |
scripts/.opera-urls.applescript | andrewp-as-is/mac-opera | 0 | 3129 | <filename>scripts/.opera-urls.applescript<gh_stars>0
#!/usr/bin/osascript
try
set _APP_TIMEOUT to 5
if ("OPERA_TIMEOUT" is in system attribute) then
set _APP_TIMEOUT to (system attribute "OPERA_TIMEOUT") as integer
end if
with timeout of _APP_TIMEOUT seconds
tell application "Opera"
repeat with ... |
programs/oeis/290/A290074.asm | neoneye/loda | 22 | 162633 | ; A290074: Decimal representation of the diagonal from the origin to the corner of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 641", based on the 5-celled von Neumann neighborhood.
; 1,1,5,3,23,15,95,63,383,255,1535,1023,6143,4095,24575,16383,98303,65535,393215,262143,1572863,104... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_1367.asm | ljhsiun2/medusa | 9 | 84017 | .global s_prepare_buffers
s_prepare_buffers:
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x17a6a, %rsi
lea addresses_UC_ht+0x1a9b8, %rdi
clflush (%rdi)
nop
nop
cmp $42537, %rbx
mov $17, %rcx
rep movsl
nop
nop
cmp %rdx, %rdx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
ret
.global s_faulty_... |
issues/Issue22.agda | asr/apia | 10 | 9618 | module Issue22 where
postulate
D : Set
_≡_ : D → D → Set
d e : D
foo : ∀ x → x ≡ x
foo x = bar
where
postulate
d≡e : d ≡ e
postulate
bar : x ≡ x
{-# ATP prove bar d≡e #-}
-- $ apia Bug.agda
-- An internal error has occurred. Please report this as a bug.
-- Location of the error: src/Apia/Uti... |
alloy4fun_models/trashltl/models/10/cbrh4nzPGCqLy9n3w.als | Kaixi26/org.alloytools.alloy | 0 | 2900 | <gh_stars>0
open main
pred idcbrh4nzPGCqLy9n3w_prop11 {
after ((File - Protected) in Protected)
}
pred __repair { idcbrh4nzPGCqLy9n3w_prop11 }
check __repair { idcbrh4nzPGCqLy9n3w_prop11 <=> prop11o } |
oeis/065/A065225.asm | neoneye/loda-programs | 11 | 101780 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A065225: Fill a triangular array by rows by writing numbers 1 up to b(0), 1 up to b(1), etc., where b(n) are the 9-gonal (nonagonal) numbers. The final elements of the rows form a(n).
; Submitted by <NAME>(s3)
; 1,2,5,9,5,11,18,2,11,21,32,44,11,25,40,56,73,16,35,55,76,9... |
src/FRP/LTL/RSet/Core.agda | agda/agda-frp-ltl | 21 | 10262 | open import FRP.LTL.Time using ( Time ; _≤_ ; _<_ )
module FRP.LTL.RSet.Core where
-- Reactive types
RSet : Set₁
RSet = Time → Set
⟨_⟩ : Set → RSet
⟨ A ⟩ t = A
⟦_⟧ : RSet → Set
⟦ A ⟧ = ∀ {t} → (A t)
-- Reactive sets over an interval
_[_,_] : RSet → Time → Time → Set
A [ s , u ] = ∀ {t} → s ≤ t → t ≤ u → A t
_[_... |
testkanji.asm | hwreverse/PC-G850V | 7 | 175579 | 10 ORG 400H
20 ; leaving space for RAMDISK.ASM
30 ; used as a debug tool
40 JP MAIN
50REGOUT EQU 0BD03H
60PUTSTR EQU 0BFF1H
70INKEY EQU 0BE53H
80PUTCHR EQU 0BE62H
90WAITK EQU 0BFCDH
100RPTCHR EQU 0BFEEH
110GPF EQU 0BFD0H
120LDPSTR EQU 0BD00H
130BUFFER: DEFS 144
140EXPLOD: ; HL = BUFFER
150 LD A,(DE) ; DE = DATA
160 A... |
devices/devices-bus.adb | SMerrony/dgemua | 2 | 24953 | <filename>devices/devices-bus.adb<gh_stars>1-10
-- MIT License
-- Copyright (c) 2021 <NAME>
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitat... |
libsrc/graphics/msx/surface/surface_circle.asm | meesokim/z88dk | 0 | 176288 | ;
; MSX extension for "GFX - a small graphics library" by Jannone
;
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; MSX buffered display extension
; compatibility layer for "GFX",
; a small graphics library by <NAME>
;
; <NAME> - 18/03/2009
;
;
; $I... |
engine/battle/move_effects/spikes.asm | AtmaBuster/pokeplat-gen2 | 6 | 15822 | <reponame>AtmaBuster/pokeplat-gen2
BattleCommand_spikes:
; spikes
ld hl, wEnemyScreens
ldh a, [hBattleTurn]
and a
jr z, .asm_3768e
ld hl, wPlayerScreens
.asm_3768e
; Fails if 3 layers of spikes are already down
ld a, [hl]
and MASK_SPIKES
cp SPIKES_3
jr z, .failed
; Nothing else stops it from working.
inc... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_816_1905.asm | ljhsiun2/medusa | 9 | 168298 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x19674, %rsi
lea addresses_WT_ht+0xadc2, %rdi
add %r15, %r15
mov $19, %rcx
rep movsw
nop
nop
cmp $52915, %r11
lea addresses_normal_ht+0x1d24, %rsi
lea addresses_A_ht+0x11c2c, %... |
SIM/test standard.asm | abdelazeem201/Design-and-Implement-t-a-RISC-V-processor-with-5-pipeline-stages. | 0 | 164933 | <filename>SIM/test standard.asm
#################
# Basic VERSION
# This program takes an array v and computes
# min {|v[i]|} , the minimum of the absolute value ,
# where v[i] is the i-th element in the array
.data
.align 2
v:
.word 10
.word -47
.word 22
.word -3
.word 15
.... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1403.asm | ljhsiun2/medusa | 9 | 247472 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xd5d0, %r13
nop
nop
nop
and $52125, %rax
mov (%r13), %r11
nop
nop
nop
nop
cmp $14562, %r11
lea addresses_WC_ht+0x10f0, %rax
nop
nop
nop
xor %r8, %r8
mov (%ra... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1118.asm | ljhsiun2/medusa | 9 | 92229 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1118.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x4a05, %r9
nop
nop
nop
cmp $33906, %r12
mov (%r9), %r11
n... |
example-nopsys/nopsys.asm | nopsys/nopsys | 20 | 240142 | <filename>example-nopsys/nopsys.asm
extern putc_debug
global nopsys_vm_main
global semaphore_signal_with_index
global debug_print_call_stack
section .data
clock_str: db "|/-\"
clock_idx: db 0
section .text
nopsys_vm_main:
inc eax
jmp nopsys_vm_main
semaphore_signal_with_index:
;xchg bx, bx
xor eax, eax
mov... |
app/icfpc2020/src/main/antlr4/Language.g4 | belyaev-mikhail/icfpc2020-sub | 0 | 1322 | <filename>app/icfpc2020/src/main/antlr4/Language.g4
grammar Language;
Colon
: ':'
;
Comma
: ','
;
OpenPar
: '('
;
ClosePar
: ')'
;
Equality
: '='
;
fragment Digit
: [0-9]
;
fragment Sym
: 'a'..'z'
| 'A' .. 'Z'
;
Name:
Sym (Digit | Sym)*;
Numeral
... |
bookofmudora.asm | compiling/z3randomizer | 26 | 17474 | <reponame>compiling/z3randomizer<gh_stars>10-100
;================================================================================
; Randomize Book of Mudora
;--------------------------------------------------------------------------------
LoadLibraryItemGFX:
%GetPossiblyEncryptedItem(LibraryItem, SpriteItemValues)
S... |
source/league/matreshka-internals-unicode-ucd.ads | svn2github/matreshka | 24 | 10823 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
metron-platform/metron-common/src/main/antlr4/org/apache/metron/common/query/generated/Predicate.g4 | jaidrao/ApacheMetron | 0 | 1690 | /**
* 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... |
src/rkt.agda | xoltar/cedille | 0 | 1149 | import cedille-options
module rkt (options : cedille-options.options) where
open import string
open import char
open import io
open import maybe
open import ctxt
open import list
open import trie
open import general-util
open import monad-instances
open import toplevel-state options {IO}
open import unit
open import ... |
source/ledLamp.asm | MuellerA/Led-Lamp | 0 | 99865 | <filename>source/ledLamp.asm
;;; ========================================================================
;;; led-lamp.asm
;;; (c) <NAME>
;;; see LICENSE.md
;;; ========================================================================
.include "settings.inc"
;;; ===================================================... |
books_and_notes/professional_courses/Assembly_language_and_programming/sources/汇编语言程序设计教程第四版/codes/9_8.asm | gxw1/review_the_national_post-graduate_entrance_examination | 640 | 173823 | <filename>books_and_notes/professional_courses/Assembly_language_and_programming/sources/汇编语言程序设计教程第四版/codes/9_8.asm
CODE SEGMENT
ASSUME CS:CODE
START: MOV AH,0
INT 16H
CMP AL,32H
JC START
CMP AL,39H
JNC START
AND AL,0FH
... |
Assignment-3/access-re-egghunter.nasm | xMilkPowderx/SLAE-Code | 1 | 24831 | <gh_stars>1-10
;Filename: access-re-egghunter.nasm
;Author: <NAME>
;Student ID: SLAE-1470
;SLAE-Exercise 3
global _start
section .text
_start:
xor edx,edx
setup:
or dx,0xfff
next_address:
inc edx
lea ebx,[edx+0x4] #Actually an optimization
push byte +0x21
pop eax
int 0x80
cmp al, 0xf2
jz setup
mov eax, 0x7... |
data/mapHeaders/Route22.asm | AmateurPanda92/pokemon-rby-dx | 9 | 162499 | <reponame>AmateurPanda92/pokemon-rby-dx
Route22_h:
db OVERWORLD ; tileset
db ROUTE_22_HEIGHT, ROUTE_22_WIDTH ; dimensions (y, x)
dw Route22_Blocks ; blocks
dw Route22_TextPointers ; texts
dw Route22_Script ; scripts
db NORTH | EAST ; connections
NORTH_MAP_CONNECTION ROUTE_22, ROUTE_23, 0, 0, Route23_Blocks
EAST... |
alloy4fun_models/trashltl/models/9/B4T8ci8nEiikCCCDZ.als | Kaixi26/org.alloytools.alloy | 0 | 3226 | open main
pred idB4T8ci8nEiikCCCDZ_prop10 {
always all f:File | f in Protected implies always f in Protected
}
pred __repair { idB4T8ci8nEiikCCCDZ_prop10 }
check __repair { idB4T8ci8nEiikCCCDZ_prop10 <=> prop10o } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.