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/057/A057038.asm | jmorken/loda | 1 | 85481 | ; A057038: Let R(i,j) be the rectangle with antidiagonals 1; 2,3; 4,5,6; ...; each k is an R(i(k),j(k)) and A057038(n)=i(2n).
; 1,1,3,2,4,2,4,1,3,5,1,3,5,7,2,4,6,8,2,4,6,8,1,3,5,7,9,1,3,5,7,9,11,2,4,6,8,10,12,2,4,6,8,10,12,1,3,5,7,9,11,13,1,3,5,7,9,11,13,15,2,4,6,8,10,12,14,16,2,4,6,8,10,12,14,16,1,3,5,7,9
mul $0,2
ad... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_342.asm | ljhsiun2/medusa | 9 | 27673 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1c372, %r8
nop
nop
nop
nop
cmp $10653, %r13
movb $0x61, (%r8)
nop
nop
add $64401, %rbp
lea addresses_D_ht+0xd78f, %rsi
clflush (%rsi)
nop
nop
nop
nop
nop
sub %rbx, %rbx
movl ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_379.asm | ljhsiun2/medusa | 9 | 18444 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_379.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1728f, %rsi
lea addresses_A_ht+0x14556, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
su... |
ASM/DOS/NASM/HelloWorld/Helloworld.asm | EricJB77/RepoOfTime | 3 | 82736 | <reponame>EricJB77/RepoOfTime<gh_stars>1-10
section .text
org 0x100
mov ah, 0x9
mox dx, hello
int 0x21
mox ax, 0x4c00
int 0x21
section .data
hello: db 'Hello World!', 13, 10, '$'
|
exp/t61.asm | nishuiq/Assembly-Learning | 0 | 12161 | <gh_stars>0
assume cs:code, ds:data, ss:stack
data segment
dw 0123h,0456h,0789h,0abch,0defh,0fedh,0cbah,0987h
data ends
stack segment
dw 0,0,0,0,0,0,0,0
stack ends
code segment
start:
mov ax,stack
mov ss,ax
mov sp,16
mov ax,data
mov ds,ax
push ds:[0]
... |
Palmtree.Math.Core.Implements/vs_build/x64_Debug/TEST_op_Pow.asm | rougemeilland/Palmtree.Math.Core.Implements | 0 | 93744 | <reponame>rougemeilland/Palmtree.Math.Core.Implements
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
msvcjmc SEGMENT
__7B7A869E_ctype@h DB 01H
__457DD326_basetsd@h DB 01H
__4384A2D9_corecrt_memcpy_s@h DB 01H
__4E51A221_corecr... |
p2/matrix.asm | t0ush1/ComputerOrganization | 2 | 8714 | .data
A: .space 256 #int A[8][8]
B: .space 256 #int B[8][8]
C: .space 256 #int C[8][8]
space: .asciiz " "
line: .asciiz "\n"
.macro readInt(%x)
li $v0, 5
syscall
move %x, $v0
.end_macro
.macro writeInt(%x)
move $a0, %x
li $v0, 1
syscall
.end_macro
.macro writeString(%s)
l... |
Groups/Actions/Stabiliser.agda | Smaug123/agdaproofs | 4 | 1305 | {-# OPTIONS --safe --warning=error --without-K #-}
open import Setoids.Setoids
open import Groups.Definition
open import Groups.Subgroups.Definition
open import Groups.Actions.Definition
open import Sets.EquivalenceRelations
open import Groups.Actions.Definition
module Groups.Actions.Stabiliser {a b c d : _} {A : Set... |
src/credits.asm | Gegel85/BTTGB | 1 | 243358 | strncpy::
xor a
or b
or c
ret z
ld a, [hli]
or a
ret z
ld [de], a
inc de
dec bc
jr strncpy
credits::
reset CREDITS_SLIDING
call waitVBLANK
reset LCD_CONTROL
ld de, $9800
ld a, 1
ld bc, $800
call fillMemory
reg VRAM_BANK_SELECT, 1
ld de, $9800
xor a
ld bc, $800
call fillMemory
reset VRAM_B... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_1881.asm | ljhsiun2/medusa | 9 | 245509 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xd7f4, %rcx
nop
nop
nop
cmp $33607, %r13
movl $0x61626364, (%rcx)
xor %rbp, %rbp
lea addresses_normal_ht+0x1e694, %rax
add %rsi, %rsi
movw $0x6162, (%rax)
nop
nop
nop
nop
nop
... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/dread1.asm | meesokim/z88dk | 0 | 83660 | <gh_stars>0
SECTION code_fp_math48
PUBLIC dread1, dread1b
EXTERN cm48_sccz80p_dread1, cm48_sccz80p_dread1b
defc dread1 = cm48_sccz80p_dread1
defc dread1b = cm48_sccz80p_dread1b
|
alloy4fun_models/trashltl/models/15/tYwPvm4gZ2a3YkuhZ.als | Kaixi26/org.alloytools.alloy | 0 | 3573 | open main
pred idtYwPvm4gZ2a3YkuhZ_prop16 {
all f : File | f in Protected since f in Protected
}
pred __repair { idtYwPvm4gZ2a3YkuhZ_prop16 }
check __repair { idtYwPvm4gZ2a3YkuhZ_prop16 <=> prop16o } |
tests/tzgeev.adb | leo-brewin/ada-lapack | 5 | 20824 | with Ada.Text_IO;
with Ada.Text_IO.Complex_IO;
with Ada.Numerics.Generic_Real_Arrays;
with Ada.Numerics.Generic_Complex_Types;
with Ada.Numerics.Generic_Complex_Arrays;
with Ada.Numerics.Generic_Elementary_Functions;
with Ada.Numerics.Generic_Complex_Elementary_Functions;
with Ada_Lapack;
use Ada.Text_IO;
procedure ... |
oeis/059/A059542.asm | neoneye/loda-programs | 11 | 177901 | ; A059542: Beatty sequence for 1 + 1/log(2).
; Submitted by <NAME>
; 2,4,7,9,12,14,17,19,21,24,26,29,31,34,36,39,41,43,46,48,51,53,56,58,61,63,65,68,70,73,75,78,80,83,85,87,90,92,95,97,100,102,105,107,109,112,114,117,119,122,124,127,129,131,134,136,139,141,144,146,149,151,153,156,158,161,163,166,168,170,173,175,178,180... |
test/Fail/Issue392.agda | redfish64/autonomic-agda | 3 | 7400 | <gh_stars>1-10
-- Andreas, 2011-09-11
module Issue392 where
import Common.Irrelevance
-- Create an non-irrelevant record R1 (at least one field relevant).
record R1 : Set1 where
field
.f1 : Set
f1' : Set
{- This creates a module with an relevant record parameter
module R1 (r : R1) where
.f1 : Set -... |
tools-src/gnu/gcc/gcc/ada/sem_prag.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 8257 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/fpclassify.asm | jpoikela/z88dk | 0 | 89430 | <filename>libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/fpclassify.asm
SECTION code_fp_math32
PUBLIC _fpclassify
EXTERN cm32_sdcc_fpclassify
defc _fpclassify = cm32_sdcc_fpclassify
|
binary16/fwld.asm | DW0RKiN/Floating-point-Library-for-Z80 | 12 | 11374 | <reponame>DW0RKiN/Floating-point-Library-for-Z80<gh_stars>10-100
if not defined @FWLD
; Load Word. Convert unsigned 16-bit integer into floating-point number
; In: HL = Word to convert
; Out: HL = floating point representation
; Pollutes: AF
@FWLD:
if not defined FWLD
; *****************************************
... |
Transynther/x86/_processed/AVXALIGN/_ht_/i7-7700_9_0x48.log_1_1515.asm | ljhsiun2/medusa | 9 | 83999 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1a4aa, %rbx
nop
nop
nop
nop
nop
cmp $1487, %rax
mov $0x6162636465666768, %r10
movq %r10, (%rbx)
nop
nop
nop
xor %r10, %r10
lea addresses_WC_ht+0x93... |
programs/oeis/194/A194932.asm | jmorken/loda | 1 | 99899 | ; A194932: Number of lower triangles of a 3 X 3 0..n array with no element differing from any of its horizontal or vertical neighbors by more than one.
; 64,217,386,557,728,899,1070,1241,1412,1583,1754,1925,2096,2267,2438,2609,2780,2951,3122,3293,3464,3635,3806,3977,4148,4319,4490,4661,4832,5003,5174,5345,5516,5687,585... |
UniDB/Morph/StarPrime.agda | skeuchel/unidb-agda | 0 | 17125 | module UniDB.Morph.StarPrime where
open import UniDB.Spec
open import UniDB.Morph.Depth
mutual
data Star* (Ξ : MOR) : MOR where
refl : {γ : Dom} → Star* Ξ γ γ
incl : {γ₁ γ₂ : Dom} (ξs : Star+ Ξ γ₁ γ₂) → Star* Ξ γ₁ γ₂
data Star+ (Ξ : MOR) : MOR where
step : {γ₁ γ₂ γ₃ : Dom} (ξs : Star* Ξ γ₁ γ₂) (ξ : Ξ... |
src/L/Base/Unit.agda | borszag/smallib | 0 | 15324 | <filename>src/L/Base/Unit.agda
module L.Base.Unit where
-- Reexport definitions
open import L.Base.Unit.Core public
|
src/semantica.ads | alvaromb/Compilemon | 1 | 20016 | with Decls.Dgenerals,
Decls.Dtnode,
Decls.D_Taula_De_Noms,
Decls.D_Atribut,
Decls.dtsimbols,
Ada.Text_Io,
Decls.dtdesc;
use Decls.Dgenerals,
Decls.Dtnode,
Decls.D_Taula_De_Noms,
Decls.D_Atribut,
Decls.dtsimbols,
Ada.Text_Io,
Decls.dtdesc;
package Semantica is
--Definicions basiques
type... |
programs/oeis/103/A103447.asm | neoneye/loda | 22 | 15029 | <reponame>neoneye/loda
; A103447: Triangle read by rows: T(n,k) = Moebius(binomial(n,k)) (0 <= k <= n).
; 1,1,1,1,-1,1,1,-1,-1,1,1,0,1,0,1,1,-1,1,1,-1,1,1,1,1,0,1,1,1,1,-1,1,1,1,1,-1,1,1,0,0,0,-1,0,0,0,1,1,0,0,0,0,0,0,0,0,1,1,1,0,0,1,0,1,0,0,1,1,1,-1,1,-1,1,1,1,1,-1,1,-1,1,1,0,-1,0,0,0,0,0,0,0,-1,0,1,1,-1,-1,-1,-1,0,0,... |
test/asset/agda-stdlib-1.0/Relation/Binary/Construct/Add/Point/Equality.agda | omega12345/agda-mode | 0 | 7557 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- A pointwise lifting of a relation to incorporate an additional point.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
-- This module is designed to be... |
src/API/protypo-api-engine_values-record_wrappers.adb | fintatarta/protypo | 0 | 15465 | <gh_stars>0
pragma Ada_2012;
package body Protypo.Api.Engine_Values.Record_Wrappers is
type Record_Access_Handler is
new Handlers.Constant_Interface
with
record
Pos : Record_Maps.Cursor;
end record;
function Read (X : Record_Access_Handler) return Engine_Value
is
begin
r... |
src/drivers/gclk_u2122/sam_svd-gclk.ads | Fabien-Chouteau/samd51-hal | 1 | 29365 | -- ============================================================================
-- Atmel Microcontroller Software Support
-- ============================================================================
-- Copyright (c) 2017 Atmel Corporation,
-- a wholly owned subsidiary of Microchip Technology Inc.
--
-- License... |
Dave/Logic/Basics.agda | DavidStahl97/formal-proofs | 0 | 14865 | <gh_stars>0
module Dave.Logic.Basics where
open import Dave.Functions
open import Dave.Equality
open import Dave.Isomorphism
open import Dave.Structures.Monoid
{- True -}
data ⊤ : Set where
tt : ⊤
η-⊤ : ∀ (w : ⊤) → tt ≡ w
η-⊤ tt = refl
{- False -}
data ⊥ : Set where
... |
programs/oeis/134/A134478.asm | karttu/loda | 0 | 8872 | ; A134478: Triangle read by rows, T(0,0) = 1; n-th row = (n+1) terms of n, n+1, n+2...
; 1,1,2,2,3,4,3,4,5,6,4,5,6,7,8,5,6,7,8,9,10,6,7,8,9,10,11,12,7,8,9,10,11,12,13,14,8,9,10,11,12,13,14,15,16,9,10,11,12,13,14,15,16,17,18,10,11,12,13,14,15,16,17,18,19,20,11,12,13,14,15,16,17,18,19,20,21,22,12,13,14,15,16,17,18,19,20,... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_507.asm | ljhsiun2/medusa | 9 | 169261 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xf4a1, %rax
nop
nop
nop
nop
nop
and %rsi, %rsi
movb (%rax), %dl
cmp $52166, %r11
lea addresses_WC_ht+0xf431, %rsi
lea addresses_WC_ht+0xe921, %rdi
n... |
source/textio/a-teiofo.adb | ytomino/drake | 33 | 25605 | with Ada.Exception_Identification.From_Here;
with Ada.Exceptions.Finally;
with System.Formatting;
with System.UTF_Conversions;
package body Ada.Text_IO.Formatting is
use Exception_Identification.From_Here;
use type System.Long_Long_Integer_Types.Word_Integer;
use type System.Long_Long_Integer_Types.Word_Unsign... |
src/lib/sending-source.applescript | kamontat/iMessageAPI | 3 | 4563 | <gh_stars>1-10
-- ---------------------------------
-- BSD 3-Clause License
-- Copyright (c) 2017, <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... |
MIPS/LAB 6 - Switch.asm | EliederSousa/Assembly-Disassembly | 0 | 165239 | .data
jTable: .word L1,L2,L3,L4,L5
.text
la $t4, jTable # Carrega o endereço de memória da tabela
li $s5, 1 # w
li $s0, 4 # a
li $s1, 0 # b = 0
slti $t3, $s5, 1 # $t3 = (w < 1)
bne $t3, $zero, SAIR # if ($t3 != 0) jmp SAIR
slti $t3, $s5, 6 # $t3 = (w < 6)
beq $t3, $zero, SAIR # if ($t3 == 0) jmp SAIR
... |
programs/oeis/165/A165855.asm | neoneye/loda | 22 | 17307 | <reponame>neoneye/loda<gh_stars>10-100
; A165855: Totally multiplicative sequence with a(p) = 34.
; 1,34,34,1156,34,1156,34,39304,1156,1156,34,39304,34,1156,1156,1336336,34,39304,34,39304,1156,1156,34,1336336,1156,1156,39304,39304,34,39304,34,45435424,1156,1156,1156,1336336,34,1156,1156,1336336,34,39304,34,39304,39304,... |
programs/oeis/013/A013964.asm | neoneye/loda | 22 | 16401 | ; A013964: a(n) = sigma_16(n), the sum of the 16th powers of the divisors of n.
; 1,65537,43046722,4295032833,152587890626,2821153019714,33232930569602,281479271743489,1853020231898563,10000152587956162,45949729863572162,184887084343023426,665416609183179842,2177986570740006274,6568408508343827972,18447025552981295105,... |
programs/oeis/002/A002698.asm | karttu/loda | 0 | 10363 | <gh_stars>0
; A002698: Coefficients of Chebyshev polynomials: n(2n-3)2^(2n-5).
; 1,18,160,1120,6912,39424,212992,1105920,5570560,27394048,132120576,627048448,2936012800,13589544960,62277025792,282930970624,1275605286912,5712306503680,25426206392320,112562502893568
mov $1,$0
mul $0,2
mov $2,$0
lpb $2,1
add $0,1
mul... |
src/lab-code/ravenspark_racecond/account.ads | hannesb0/rtpl18 | 0 | 10127 | pragma profile(Ravenscar);
pragma Partition_Elaboration_Policy (Sequential);
package account with SPARK_Mode
is
Num_Accounts : Natural := 0;
task type Account_Management is
end Account_Management;
-- tasks at package level
t1 : Account_Management;
t2 : Account_Management;
end Account;
|
programs/oeis/017/A017017.asm | karttu/loda | 1 | 240138 | ; A017017: a(n) = 7n+3.
; 3,10,17,24,31,38,45,52,59,66,73,80,87,94,101,108,115,122,129,136,143,150,157,164,171,178,185,192,199,206,213,220,227,234,241,248,255,262,269,276,283,290,297,304,311,318,325,332,339,346,353,360,367,374,381,388,395,402,409,416,423,430,437,444,451,458,465,472,479,486,493,500,507,514,521,528,535,5... |
decreasoner.macosx/software/relsat-dist/gmp-3.1/mpn/alpha/invert_limb.asm | problem-frames/openpf | 1 | 27918 | <filename>decreasoner.macosx/software/relsat-dist/gmp-3.1/mpn/alpha/invert_limb.asm
dnl Alpha mpn_invert_limb -- Invert a normalized limb.
dnl Copyright (C) 1996, 2000 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/... |
Examples/basics/uuid.asm | agguro/linux-nasm | 6 | 92100 | ;name: uuid.asm
;
;description: Generates a UUID
;
;build: nasm -felf64 uuid.asm -o uuid.o
; ld -melf_x86_64 uuid.o -o uuid
;
;remark: Because UUID need to be unique (that's why U stands for) the user need to
; check each generated UUID against a table which contains already generated
; UUID's. This... |
Rings/Orders/Total/Bounded.agda | Smaug123/agdaproofs | 4 | 6629 | <reponame>Smaug123/agdaproofs
{-# OPTIONS --safe --warning=error --without-K --guardedness #-}
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
open import Setoids.Setoids
open import Rings.Definition
open import Rings.Orders.Partial.Definition
open import Rings.Orders.Total.Definition
open import Sets.Equi... |
prototyping/Luau/Syntax.agda | Tr4shh/Roblox-Luau | 0 | 3867 | module Luau.Syntax where
open import Agda.Builtin.Equality using (_≡_)
open import Agda.Builtin.Float using (Float)
open import Properties.Dec using (⊥)
open import Luau.Var using (Var)
open import Luau.Addr using (Addr)
open import Luau.Type using (Type)
infixr 5 _∙_
data Annotated : Set where
maybe : Annotated
... |
swift-fin/src/main/antlr4/SwiftFinLexer.g4 | ChristianWulf/grammars-v4 | 4 | 4508 | <reponame>ChristianWulf/grammars-v4<filename>swift-fin/src/main/antlr4/SwiftFinLexer.g4
/*
MIT License
Copyright (c) 2016+ <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 restricti... |
BOOTI386.asm | cameronlbass/FAT16LDR | 0 | 88415 | <gh_stars>0
bits 16
org 0
push word 0B800h
pop es
xor di, di
mov al, '@'
mov ah, 0Fh
stosw
halt:
jmp short halt
|
src/instruction.adb | eyeonechi/invalid-behaviour-conservative-analysis | 0 | 30193 | with Debug; use Debug;
with Ada.Numerics.Discrete_Random;
with Ada.Characters.Latin_1;
use Ada.Characters.Latin_1;
package body Instruction is
package Random_OpCode is new Ada.Numerics.Discrete_Random (OpCode);
package Random_Reg is new Ada.Numerics.Discrete_Random (Reg);
package Random_Offset is new Ada.N... |
HOM setup.applescript | AlexanderGalen/applescripts | 3 | 4288 | tell application "QuarkXPress"
tell document 1
make new layer at beginning
repeat
try
set grouped of group box 1 to false
set selection to null
on error
exit repeat
end try
end repeat
set allBoxes to generic boxes
repeat with thisBox in allBoxes
try
set theColor to name of color o... |
src/svd/sam_svd-rstc.ads | Fabien-Chouteau/samd51-hal | 1 | 27573 | <reponame>Fabien-Chouteau/samd51-hal<gh_stars>1-10
pragma Style_Checks (Off);
-- This spec has been automatically generated from ATSAMD51G19A.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package SAM_SVD.RSTC is
pragma Preelaborate;
---------------
-- Registers --
-------------... |
dos_games/Ultimate Pong/VESA backup/konwerter.asm | QAston/fasm-2006 | 0 | 87880 | <gh_stars>0
format MZ
use16
entry main:start
segment main
start:
mov bx,program_data
mov ds,bx
mov ah,09h
mov dx,TKomunikat
int 21h
mov ah,0ah
mov dx,BFileName
int 21h
movzx di,byte [FileNameCounter]
lea bx,[FileName]
add di,bx
xor ah,ah
mov [di],ah
sub di,4
mov ax,[di]
cmp ax,'.b'
jne zly_plik
add di,2
mov ax,[di]
cm... |
LibraBFT/Impl/Handle/Properties.agda | cwjnkins/bft-consensus-agda | 0 | 5436 | <filename>LibraBFT/Impl/Handle/Properties.agda<gh_stars>0
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
{-# OPTIONS --allow-... |
mips/brainfuck.asm | brenns10/yams | 17 | 177608 | ###
# File: brainfuck.asm
#
# Code for brainfuck interpereter.
###
.eqv CODE_BUFFER 4096
.eqv OUT_BUFFER 4096
.eqv MEMORY 32768
.data
bf_code: .space CODE_BUFFER
bf_code_size: .word 0
bf_out: .space OUT_BUFFER
bf_buffer: .space MEMORY
.text
# ... |
Cubical/ZCohomology/Groups/Sn.agda | Schippmunk/cubical | 0 | 12970 | <filename>Cubical/ZCohomology/Groups/Sn.agda
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.ZCohomology.Groups.Sn where
open import Cubical.ZCohomology.Base
open import Cubical.ZCohomology.Properties
open import Cubical.ZCohomology.Groups.Unit
open import Cubical.ZCohomology.Groups.Connected
open im... |
programs/oeis/107/A107869.asm | neoneye/loda | 22 | 92331 | <gh_stars>10-100
; A107869: Column 1 of triangle A107867; a(n) = binomial( n*(n+1)/2 + n+1, n).
; 1,3,15,120,1365,20349,376740,8347680,215553195,6358402050,210980549208,7778680504140,315502265971620,13961746143269400,669413654240461560,34569147570568156800,1912924003884628655655,112923282067713332728110
mov $1,$0
add ... |
test/platform.adb | treggit/sdlada | 89 | 22838 | with SDL;
with SDL.CPUS;
with SDL.Log;
with SDL.Platform;
with System;
use type System.Bit_Order;
procedure Platform is
Endian : System.Bit_Order renames System.Default_Bit_Order;
begin
SDL.Log.Set (Category => SDL.Log.Application, Priority => SDL.Log.Debug);
SDL.Log.Put_Debug ("This system is running : " &... |
Cubical/Displayed/Properties.agda | FernandoLarrain/cubical | 1 | 2519 | {-# OPTIONS --safe #-}
module Cubical.Displayed.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Univalence using (pathToEquiv; univalence; ua-ungluePath-Equ... |
src/third_party/nasm/travis/test/align13.asm | Mr-Sheep/naiveproxy | 2,219 | 8289 | <reponame>Mr-Sheep/naiveproxy
; Test of non-power-of-2 alignment
bits 32
inc eax
inc eax
align 13
inc eax
inc eax
align 13
inc eax
inc eax
align 13
align 13 ;should do nothing
inc eax
inc eax
|
test/data/input/unnecessary-jumps-2.asm | CDPcode/optimips-prime | 0 | 241898 | <gh_stars>0
j L0
add $v0, $a0, $t0
L0:
beqz $v0, L1
add $v0, $a0, $t0
L1:
add $v0, $a0, $t0
|
Function/Iteration.agda | Lolirofle/stuff-in-agda | 6 | 10212 | <filename>Function/Iteration.agda
module Function.Iteration where
open import Data
open import Functional
open import Numeral.Natural
open import Type
open import Syntax.Number
module _ {ℓ} {T : Type{ℓ}} where
-- Repeated function composition
-- Example:
-- f ^ 0 = id
-- f ^ 1 = f
-- f ^ 2 = f ∘ f
-... |
Appl/FileMgrs2/CommonDesktop/CMain/cmainDiskOps.asm | steakknife/pcgeos | 504 | 105364 | COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Desktop/Main
FILE: mainDiskOps.asm
ROUTINES:
REVISION HISTORY:
Name Date Description
---- ---- -----------
brianc 12/89 Initial version
... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/esx_ide_bank_free.asm | jpoikela/z88dk | 640 | 87946 | <gh_stars>100-1000
; unsigned char esx_ide_bank_free(unsigned char banktype, unsigned char page)
SECTION code_esxdos
PUBLIC _esx_ide_bank_free
EXTERN l0_esx_ide_bank_free_callee
_esx_ide_bank_free:
pop af
pop hl
push hl
push af
jp l0_esx_ide_bank_free_callee
|
tests/counter-reuse.nasm | DerickEddington/cabna | 0 | 93166 | global _start
global thread_main
%include "cabna/sys/iface.nasm"
%assign count 100_000_000
section .text
def_start
proc thread_main: ; (done (a n))
thread_main_race
jmp_ret alloc_task
mov qword [arg1_rdi + task.exec], done
mov qword [arg1_rdi + task.need], 1
mov rbx, arg1_rdi
jmp_ret alloc_task
m... |
source/ada83/text_io.ads | ytomino/drake | 33 | 13765 | <filename>source/ada83/text_io.ads
pragma License (Unrestricted);
with Ada.Text_IO;
package Text_IO renames Ada.Text_IO;
|
lab01/xv6-master/sh.asm | ahchu1993/opsys | 0 | 83420 | <reponame>ahchu1993/opsys<filename>lab01/xv6-master/sh.asm
_sh: file format elf32-i386
Disassembly of section .text:
00000000 <runcmd>:
struct cmd *parsecmd(char*);
// Execute cmd. Never returns.
void
runcmd(struct cmd *cmd)
{
0: 55 push %ebp
1: 89 e5 mov ... |
commands/apps/safari/safari-close-duplicated-tabs.applescript | daviddzhou/script-commands | 3,305 | 747 | <reponame>daviddzhou/script-commands
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Close Duplicated Tabs
# @raycast.mode silent
# Optional parameters:
# @raycast.packageName Safari
# @raycast.icon images/safari.png
# @Documentation:
# @raycast.author <NAME>
# @raycast.author... |
oeis/122/A122690.asm | neoneye/loda-programs | 11 | 85249 | ; A122690: a(n) = 5*a(n-1) + 4*a(n-2) with a(0)=1, a(1)=4.
; Submitted by <NAME>(s2)
; 1,4,24,136,776,4424,25224,143816,819976,4675144,26655624,151978696,866515976,4940494664,28168537224,160604664776,915697472776,5220906022984,29767320006024,169720224122056,967670400634376,5517232899660104,31456846100838024,17935316210... |
engine/battle/move_effects/spite.asm | AtmaBuster/pokeplat-gen2 | 6 | 97956 | BattleCommand_spite:
; spite
ld a, [wAttackMissed]
and a
jp nz, .failed
ld bc, PARTYMON_STRUCT_LENGTH ; ????
ld hl, wEnemyMonMoves
ldh a, [hBattleTurn]
and a
jr z, .got_moves
ld hl, wBattleMonMoves
.got_moves
ld a, BATTLE_VARS_LAST_COUNTER_MOVE_OPP
call GetBattleVar
and a
jr z, .failed
ld b, a
push bc
... |
programs/oeis/329/A329320.asm | karttu/loda | 0 | 8552 | <filename>programs/oeis/329/A329320.asm
; A329320: a(n) = Sum_{k=0..floor(log_2(n))} 1 - A035263(1 + floor(n/2^k)).
; 0,1,1,1,1,2,1,2,1,2,2,2,1,2,2,2,1,2,2,2,2,3,2,3,1,2,2,2,2,3,2,3,1,2,2,2,2,3,2,3,2,3,3,3,2,3,3,3,1,2,2,2,2,3,2,3,2,3,3,3,2,3,3,3,1,2,2,2,2,3,2,3,2,3,3,3,2,3,3,3,2,3,3,3,3,4,3,4,2,3,3,3,3,4,3,4,1,2,2,2,2,... |
oeis/332/A332182.asm | neoneye/loda-programs | 11 | 162480 | <reponame>neoneye/loda-programs
; A332182: a(n) = 8*(10^(2n+1)-1)/9 - 6*10^n.
; Submitted by <NAME>(m1)
; 2,828,88288,8882888,888828888,88888288888,8888882888888,888888828888888,88888888288888888,8888888882888888888,888888888828888888888,88888888888288888888888,8888888888882888888888888,888888888888828888888888888,8888... |
tests/src/test_parsers.ads | onox/json-ada | 28 | 4384 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2016 onox <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
-... |
src/LibraBFT/ImplShared/Consensus/Types/EpochIndep.agda | LaudateCorpus1/bft-consensus-agda | 0 | 9254 | {- 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
-}
open import LibraBFT.Base.Types
open import LibraBFT.Impl.OBM.Rust.Dura... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr20.adb | best08618/asylo | 7 | 6209 | <reponame>best08618/asylo
-- { dg-do compile }
package body Aggr20 is
procedure Proc (R : out Rec3) is
begin
R := (Callback => Nil_Rec2);
end;
end Aggr20;
|
programs/oeis/237/A237415.asm | neoneye/loda | 22 | 18510 | ; A237415: For k in {2,3,...,9} define a sequence as follows: a(0)=0; for n>=0, a(n+1)=a(n)+1, unless a(n) ends in k, in which case a(n+1) is obtained by replacing the last digit of a(n) with the digit(s) of k^3. This is k(2).
; 0,1,2,8,9,10,11,12,18,19,20,21,22,28,29,30,31,32,38,39,40,41,42,48,49,50,51,52,58,59,60,61,... |
alloy4fun_models/trashltl/models/18/zYQSqarrz45HetZqP.als | Kaixi26/org.alloytools.alloy | 0 | 4390 | <gh_stars>0
open main
pred idzYQSqarrz45HetZqP_prop19 {
always (all f : Protected | f in Trash until f in Protected)
}
pred __repair { idzYQSqarrz45HetZqP_prop19 }
check __repair { idzYQSqarrz45HetZqP_prop19 <=> prop19o } |
oeis/170/A170755.asm | neoneye/loda-programs | 11 | 11568 | <filename>oeis/170/A170755.asm<gh_stars>10-100
; A170755: Expansion of g.f.: (1+x)/(1-35*x).
; 1,36,1260,44100,1543500,54022500,1890787500,66177562500,2316214687500,81067514062500,2837362992187500,99307704726562500,3475769665429687500,121651938290039062500,4257817840151367187500,149023624405297851562500,521582685418542... |
src/fsmaker-commands-init.adb | Fabien-Chouteau/fsmaker | 0 | 1030 | <gh_stars>0
with Simple_Logging;
with Interfaces.C_Streams; use Interfaces.C_Streams;
package body FSmaker.Commands.Init is
-------------
-- Execute --
-------------
overriding
procedure Execute (This : in out Instance;
Args : AAA.Strings.Vector)
is
function ftrun... |
asm/interrupt.asm | PenetratingShot/OS | 11 | 12598 | ; Defined in isr.c
[extern isr_handler]
[extern irq_handler]
%macro pushaq 0
push rax
push rbx
push rcx
push rdx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
%endmacro
%macro popaq 0
pop r15
pop r14... |
source/textio/a-tigbio.ads | ytomino/drake | 33 | 22221 | pragma License (Unrestricted);
-- generalized unit of Ada.Text_IO.Bounded_IO
with Ada.Strings.Generic_Bounded;
generic
with package Bounded_Strings is new Strings.Generic_Bounded (<>);
with package Bounded is new Bounded_Strings.Generic_Bounded_Length (<>);
with procedure Put (
File : File_Type;
I... |
source/web/fastcgi/matreshka-fastcgi-streaming_server.adb | svn2github/matreshka | 24 | 18280 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
xv6/forktest.asm | ZhangHnu/xv6FileSystem | 0 | 97853 |
_forktest: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "fork test OK\n");
}
int
main(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
forktest();
6: e8 35 00 00 00 c... |
Tests/yasm-regression/push64.asm | 13xforever/x86-assembly-textmate-bundle | 69 | 168861 | [bits 64]
push dword 50 ; out: 6a 32
push dword -1 ; out: 6a ff
push strict dword 50 ; out: 68 32 00 00 00
push strict dword -1 ; out: 68 ff ff ff ff
push dword 1000000000000 ; out: 68 00 10 a5 d4
|
oeis/142/A142633.asm | neoneye/loda-programs | 11 | 247101 | <reponame>neoneye/loda-programs<filename>oeis/142/A142633.asm
; A142633: Primes congruent to 46 mod 55.
; Submitted by <NAME>
; 101,211,431,541,761,1091,1201,1531,1861,2081,2411,2521,2741,2851,3181,3511,4391,4721,4831,5051,5381,5711,5821,6151,6481,6701,7691,8461,8681,9011,9341,9781,10111,10331,10771,11321,11981,12421,1... |
Library/Spool/Process/processDualThread.asm | steakknife/pcgeos | 504 | 82374 | <filename>Library/Spool/Process/processDualThread.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1995 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Process
FILE: processDualThread.asm
AUTHOR: <NAME>, Apr 13, 1995
ROUTINES:
Name Descripti... |
programs/oeis/152/A152733.asm | neoneye/loda | 22 | 165651 | <reponame>neoneye/loda<gh_stars>10-100
; A152733: a(n) + a(n+1) + a(n+2) = 3^n.
; 0,0,3,6,18,57,168,504,1515,4542,13626,40881,122640,367920,1103763,3311286,9933858,29801577,89404728,268214184,804642555,2413927662,7241782986,21725348961,65176046880,195528140640,586584421923,1759753265766,5279259797298,15837779391897,475... |
sk/sfx/60.asm | Cancer52/flamedriver | 9 | 80490 | Sound_60_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Sound_60_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cFM5, Sound_60_FM5, $E7, $00
; FM5 Data
Sound_60_FM5:
smpsSetvoice $00
Sound_60_Loop00:
dc.b nC6, $01
smpsAlterPitch $FF
smpsFMAlterVol $01
smpsLo... |
krenel_booter.asm | somerandomdev49/Simple_ISA | 1 | 178637 | #!/usr/bin/sisa16_asm -run
//..include"libc.hasm"
..include"libc_pre.hasm"
..(2):
..dinclude"libc_pre.bin"
..(0x25):
my_page_o_crap:
fill 256, '7'
..(7):
:STR_my_string:
..ascii:Enter some text:
bytes '\r' ,'\n', 0;
bytes 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;
bytes 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0;
:STR_my_other_str... |
source/nodes/program-nodes-procedure_declarations.ads | optikos/oasis | 0 | 18379 | <filename>source/nodes/program-nodes-procedure_declarations.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Defining_Names;
with Program.Eleme... |
Task/GUI-Maximum-window-dimensions/Ada/gui-maximum-window-dimensions.ada | LaudateCorpus1/RosettaCodeData | 1 | 20522 | with Gtk.Main;
with Glib;
with Gtk.Window; use Gtk.Window;
with Gtk.Enums; use Gtk.Enums;
with Ada.Text_IO; use Ada.Text_IO;
procedure Max_Size is
Win : Gtk_Window;
Win_W, Win_H : Glib.Gint;
package Int_Io is new Integer_IO (Glib.Gint);
Hid : Gtk.Main.Quit_Handler_Id;
begin
Gtk.Main.Init;
... |
test/interaction/Issue2669.agda | cruhland/agda | 1,989 | 403 | <gh_stars>1000+
module _ where
record Pair (A B : Set) : Set where
field
π₁ : A
π₂ : B
open Pair
foo : {A B : Set} → Pair A B → Pair A B
foo = λ { x → {!x!} }
{- Case splitting on x produces:
foo = λ { record { π₁ = π₃ ; π₂ = π₃ } → ? }
Repeated variables in pattern: π₃
-}
|
thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/loopwave.adb | Lucretia/old_nehe_ada95 | 0 | 18273 | <filename>thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/loopwave.adb
-- ----------------------------------------------------------------- --
-- --
-- This is free software; you can redistribute it and/or --
-- modify it under t... |
Data/Bin/DivMod.agda | Rotsor/BinDivMod | 1 | 1962 | module Data.Bin.DivMod where
import Data.Fin
import Data.Product
import Data.Bin
import Data.Nat
import Relation.Binary.PropositionalEquality
import Data.Digit hiding (0b; 1b)
import Data.List
import Algebra
import Algebra.Structures
import Data.Bin.NatHelpers
open Data.Bin using (Bin; toℕ; toBits; fromB... |
src/main/resources/com/woodplc/cora/grammar/FuzzyFortran.g4 | mchochlov/CoRA | 0 | 1685 | <filename>src/main/resources/com/woodplc/cora/grammar/FuzzyFortran.g4<gh_stars>0
grammar FuzzyFortran;
import FuzzyFortranFast;
module : moduleStatement (typeStatement | publicStatement | privateStatement | subprogram | . )*? moduleEndStatement;
typeStatement
: typename (',' (dimensionStatement|intentState... |
libsrc/target/smc777/graphics/w_plotpixl_MODE4.asm | Frodevan/z88dk | 640 | 100026 | <filename>libsrc/target/smc777/graphics/w_plotpixl_MODE4.asm
;
; Plot pixel at (x,y) coordinate.
SECTION code_clib
PUBLIC w_plotpixel_MODE4
defc NEEDplot = 1
.w_plotpixel_MODE4
INCLUDE "pixel_MODE4.inc"
|
courses/fundamentals_of_ada/labs/prompts/160_genericity/main.adb | AdaCore/training_material | 15 | 9623 | <gh_stars>10-100
with Ada.Text_IO; use Ada.Text_IO;
with Data_Type;
with Generic_List;
with Generic_List.Output;
procedure Main is
-- Create instance of generic list package
-- Create instance of generic list output package
-- My_List : List.List_T; -- Object of generic list type
Element : Data_Type.Re... |
src/fot/PA/Inductive/PropertiesATP.agda | asr/fotc | 11 | 11531 | ------------------------------------------------------------------------------
-- Inductive PA properties
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# O... |
agda/Categories/Exponential.agda | oisdk/combinatorics-paper | 4 | 7051 | <filename>agda/Categories/Exponential.agda
{-# OPTIONS --cubical --safe #-}
module Categories.Exponential where
open import Prelude hiding (_×_)
open import Categories
open import Categories.Product
module _ {ℓ₁ ℓ₂} (C : Category ℓ₁ ℓ₂) (hasProducts : HasProducts C) where
open Category C
open HasProducts hasProd... |
antigos/versao_modificaoes_mauricio.asm | mauriciocc/batalha-univatal | 0 | 19311 | <filename>antigos/versao_modificaoes_mauricio.asm
org 100h
.DATA
mensagem_inicial DB "BEM VINDO AO UNIVATAL, FAVOR DIGITE EM MAIUSCULO, A POSICAO DE SEUS NAVIOS:",0
lmensagem_inicial:
; Constantes de desenho
const_popa_horizontal EQU '<'
const_proa_horizontal EQU '>'
... |
programs/oeis/020/A020654.asm | jmorken/loda | 1 | 96445 | <reponame>jmorken/loda<filename>programs/oeis/020/A020654.asm<gh_stars>1-10
; A020654: Lexicographically earliest infinite increasing sequence of nonnegative numbers containing no 5-term arithmetic progression.
; 0,1,2,3,5,6,7,8,10,11,12,13,15,16,17,18,25,26,27,28,30,31,32,33,35,36,37,38,40,41,42,43,50,51,52,53,55,56,5... |
src/autogenerated/bcm2835_h.ads | TamaMcGlinn/ada_raspio | 1 | 20156 | pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with x86_64_linux_gnu_bits_stdint_uintn_h;
with Interfaces.C.Strings;
package bcm2835_h is
HIGH : constant := 16#1#; -- /usr/local/include/bcm2835.h:190
LOW : constant := 16#0#; -- /usr/local/include/bcm2835.h:192
BCM2835_PERI_BASE : cons... |
programs/oeis/004/A004522.asm | karttu/loda | 0 | 25811 | ; A004522: Generalized nim sum n + n in base 12.
; 0,2,4,6,8,10,0,2,4,6,8,10,24,26,28,30,32,34,24,26,28,30,32,34,48,50,52,54,56,58,48,50,52,54,56,58,72,74,76,78,80,82,72,74,76,78,80,82,96,98,100,102,104,106,96,98,100
mov $1,$0
div $0,6
mod $0,2
mul $0,6
add $1,1
mov $2,3
lpb $0,1
mov $0,4
sub $1,$2
sub $1,3
lpe
... |
src/templates/ada/utilities.ads | joffreyhuguet/LmcpGen | 6 | 1827 | <reponame>joffreyhuguet/LmcpGen
package Utilities is
generic
Width: Positive;
function LeftPad (Str : String; Level : Natural) return String;
end Utilities; |
oeis/234/A234513.asm | neoneye/loda-programs | 11 | 175717 | ; A234513: 8*binomial(9*n+8,n)/(9*n+8).
; Submitted by <NAME>
; 1,8,100,1496,24682,433160,7932196,149846840,2898753715,57135036024,1143315429776,23166186450680,474347963242860,9799792252101016,204022381037886400,4276098770070159096,90151561242584838605,1910564646571462338800,40678796347199656702056,86973112778444319310... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.