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 |
|---|---|---|---|---|
theorems/cw/cohomology/CohomologyGroupsTooHigh.agda | mikeshulman/HoTT-Agda | 0 | 5106 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import cohomology.Theory
open import cw.CW
module cw.cohomology.CohomologyGroupsTooHigh {i} (OT : OrdinaryTheory i)
m {n} (n<m : n < m) (G : Group i) (⊙skel : ⊙Skeleton {i} n)
(ac : ⊙has-cells-with-choice 0 ⊙skel i) where
open OrdinaryTheory OT
open ... |
AVR/Simon_KeyEnc_OneBlock.asm | openluopworld/simon-speck | 2 | 92807 | <filename>AVR/Simon_KeyEnc_OneBlock.asm
/*
* Simon_Author_OneBlock.asm
*
* Created: 2015/6/28 21:31:01
* Author: LuoPeng
*/
.def zero = r17;
.def currentRound = r18;
.def totalRound = r19; total round, is 40 (in key generation ) or 44 (in encryption)
.def currentZ = r20; the current byte value of z, th... |
compiler/ti-cgt-arm_18.12.4.LTS/lib/src/fs_tod32.asm | JosiahCraw/TI-Arm-Docker | 0 | 83131 | <gh_stars>0
;******************************************************************************
;* FS_TOD32.ASM - 32 BIT STATE - *
;* *
;* Copyright (c) 1996 Texas Instruments Incorporated ... |
templates/amd64-386/sinks.asm | going-digital/sointu | 76 | 6654 | <filename>templates/amd64-386/sinks.asm
{{- if .HasOp "out"}}
;-------------------------------------------------------------------------------
; OUT opcode: outputs and pops the signal
;-------------------------------------------------------------------------------
{{- if .Mono "out"}}
; Mono: add ST0 to main left ... |
Read Only/gdb-7.12.1/gdb/testsuite/gdb.ada/access_to_packed_array/pack.ads | samyvic/OS-Project | 0 | 24045 | <filename>Read Only/gdb-7.12.1/gdb/testsuite/gdb.ada/access_to_packed_array/pack.ads
-- Copyright 2015-2017 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundatio... |
data/pokemon/dex_entries/grovyle.asm | AtmaBuster/pokeplat-gen2 | 6 | 86113 | db "WOOD GECKO@" ; species name
db "It leaps from tree"
next "branch to tree"
next "branch quite"
page "swiftly. It shows"
next "astounding"
next "agility.@"
|
programs/oeis/087/A087349.asm | jmorken/loda | 1 | 20429 | <filename>programs/oeis/087/A087349.asm
; A087349: n + (smallest prime-factor of n+1).
; 3,5,5,9,7,13,9,11,11,21,13,25,15,17,17,33,19,37,21,23,23,45,25,29,27,29,29,57,31,61,33,35,35,39,37,73,39,41,41,81,43,85,45,47,47,93,49,55,51,53,53,105,55,59,57,59,59,117,61,121,63,65,65,69,67,133,69,71,71,141,73,145,75,77,77,83,79,... |
ProgramA.asm | barooni/HDBMIPSSim | 7 | 175941 | <reponame>barooni/HDBMIPSSim
.code
addi $a0,$a0,10
test:
addi $v0,$zero,20
addi $v1,$zero,3
syscall
addi $t0,$zero,10
addi $v0,$zero,10
syscall
.data
11
12
13
14
15 |
core/words/times2.asm | paulscottrobson/nextForth | 2 | 86633 | ;
; Word: 2*
; Dictionary: (a - a)
; Date: 1st February 2018
; Macro: Yes
; Notes:
;
ex de,hl
add hl,hl
ex de,hl
ret |
TankBot_Code_Dev/TankBotTest/asm/src/main.asm | CmdrZin/chips_avr_examples | 5 | 101238 | /*
* Tank Bot Test Code Project
*
* org: 11/13/2014
* auth: Nels "Chip" Pearson
*
* Target: Tank Bot Demo Board, 20MHz, ATmega164P
*
*
*/
.nolist
.include "m164pdef.inc"
.list
.ORG $0000
rjmp RESET
.ORG $0002
rjmp trap_intr
.ORG $0004
rjmp trap_intr
.ORG $0006
rjmp trap_intr
.ORG $0008
rjmp trap_intr
... |
CCS/wisp-base/Math/crc16_ccitt.asm | anparks/boot_wisp5 | 7 | 102998 | <reponame>anparks/boot_wisp5<gh_stars>1-10
;Taken from SLAA221 app note on look up table methods.
;C callable assembly, file: _crc_algs.s43
;arg1 > [R13:]R12, arg2 > [R15:]R14, others stack
;result > [R13:]R12
;R0:R2, system registers
;R3 constant generator
;R4:R5, reserved for ROM monitor mode, else GP
;R6... |
boot.asm | ishrikrishna/_timeshift | 0 | 174612 | <filename>boot.asm<gh_stars>0
; __timeshit
; First Stage (Real Mode) && Second Stage (Protected mode) Bootloader
;
; No license and Warranty - Use at your own risk after studying the code below.
;
; Have a great day,
; Krishna
BITS 16
ORG 0x7c00 ; Our code will be loaded here
jmp _start
;**************************... |
src/LibraBFT/Impl/Storage/DiemDB/DiemDB.agda | LaudateCorpus1/bft-consensus-agda | 0 | 14334 | {- 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
-}
open import LibraBFT.Base.Types
import LibraBFT.Impl.OBM.ECP-LBFT-OBM-Dif... |
parsers/src/main/goslin/Shorthand2020.g4 | lifs-tools/jg | 0 | 5262 | <filename>parsers/src/main/goslin/Shorthand2020.g4
/*
* MIT License
*
* Copyright (c) the authors (listed in global LICENSE file)
*
* 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 wit... |
programs/oeis/146/A146994.asm | neoneye/loda | 22 | 91145 | <filename>programs/oeis/146/A146994.asm
; A146994: a(n) = (n+1)^2/4 + (floor((n+5)/6) - 1/4) * ((n+1) mod 2).
; 1,3,4,7,9,13,16,22,25,32,36,44,49,59,64,75,81,93,100,114,121,136,144,160,169,187,196,215,225,245,256,278,289,312,324,348,361,387,400,427,441,469,484,514,529,560,576,608,625,659,676,711,729,765,784,822,841,880... |
programa.asm | jhonatheberson/MIPS-architecture | 0 | 4652 | <filename>programa.asm
ADDI $s1, $zero, 10
ADDI $s2, $zero, 2
ADDI $s3, $zero, 8
ADDI $s4, $zero, 6
ADD $t0, $s1, $s2
ADD $t1, $s3, $s4
SUB $s0, $t0, $t1 |
oeis/118/A118186.asm | neoneye/loda-programs | 11 | 17109 | <gh_stars>10-100
; A118186: Row sums of triangle A118185: a(n) = Sum_{k=0..n} 4^(k*(n-k)) for n>=0.
; 1,2,6,34,386,8706,395266,35659778,6476038146,2336999211010,1697654543745026,2450521284684021762,7120479243447937531906,41112924905741324849774594,477847273163370530909175414786,11036166744566429554093374637604866,51308... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1258.asm | ljhsiun2/medusa | 9 | 13160 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x10c3b, %r15
nop
sub %r12, %r12
mov $0x6162636465666768, %rsi
movq %rsi, %xmm7
vmovups %ymm7, (%r15)
nop
nop
nop
nop
xor $55549, %r8
lea addresses_normal_ht+0x1be3b, %rcx
nop
n... |
examples/symmetric_encryption/demo_ada.adb | jrmarino/libsodium-ada | 10 | 11318 | <filename>examples/symmetric_encryption/demo_ada.adb
with Sodium.Functions; use Sodium.Functions;
with Ada.Text_IO; use Ada.Text_IO;
procedure Demo_Ada
is
message : constant String := "From Russia with love.";
cipherlen : constant Positive := Symmetric_Cipher_Length (message);
begin
if not initialize_sodi... |
test/Succeed/Issue1351.agda | redfish64/autonomic-agda | 3 | 14420 | -- NB. This test fail if Agda is called with the --no-sharing option.
module Issue1351 where
open import Common.Equality
open import Common.Prelude
f1 : Nat → Nat
f1 x = x + x
f2 : Nat → Nat
f2 x = f1 (f1 x)
f4 : Nat → Nat
f4 x = f2 (f2 x)
f8 : Nat → Nat
f8 x = f4 (f4 x)
f16 : Nat → Nat
f16 x = f8 (f8 x)
f32 : ... |
cpu/undefined_opcodes/main.asm | AntonioND/gbc-hw-tests | 6 | 89471 | <filename>cpu/undefined_opcodes/main.asm
INCLUDE "hardware.inc"
INCLUDE "header.inc"
SECTION "Main",HOME
;--------------------------------------------------------------------------
;- Main() -
;-------------------------------------------------------... |
SquareRoot.asm | krawchukd/Square-Root | 0 | 168914 | ## <NAME>
## 11/18/2013
## SquareRoots
##
## Function name : sqrt
## This function calculates square roots. The function takes one parameter in register $f0
## and returns the calculated value in register $f1 when finished. If given a negative
## value then the function will print an error message and then return a v... |
oeis/320/A320283.asm | neoneye/loda-programs | 11 | 12309 | ; A320283: Lexicographical ordering of pure imaginary integers in the base (-1+i) numeral system.
; Submitted by <NAME>
; 0,1,-2,-1,-4,-3,-6,-5,8,9,6,7,4,5,2,3,16,17,14,15,12,13,10,11,24,25,22,23,20,21,18,19,-32,-31,-34,-33,-36,-35,-38,-37,-24,-23,-26,-25,-28,-27,-30,-29,-16,-15,-18,-17,-20,-19,-22,-21,-8,-7,-10,-9,-12... |
project4.asm | justinba1010/CSCE212 | 2 | 83603 | <reponame>justinba1010/CSCE212
### <NAME>
### 00426510
### Project 4
### November 8 2018
### Dr. <NAME>
.data
FPNum: .word 0x0, 0xff800000, 0x7f800000 # Float-point numbers 0, -Infty and Infty
string1: .asciiz "Input a Float-Point #:(0 indicates the end)\n"
string2: .asciiz "\n MAX:"
string3: .asciiz "\n MIN:"
... |
oeis/142/A142648.asm | neoneye/loda-programs | 11 | 160911 | ; A142648: Primes congruent to 17 mod 56.
; Submitted by <NAME>
; 17,73,241,353,409,521,577,857,1193,1249,1361,1697,1753,2089,2593,3041,3209,3433,3769,3881,4049,4217,4273,4441,4721,4889,5113,5281,5393,5449,5897,5953,6121,6569,6737,6793,6961,7129,7297,7577,8081,8641,8753,9257,9649,9817,9929,10321,10433,10601,10657,10937... |
bindings/gl.ads | ForYouEyesOnly/Space-Convoy | 1 | 19740 | --# - # - # - # -----------------
-- Change log:
--
-- GdM : 2011 : using System.Address_To_Access_Conversions instead of Ada.Unchecked_Conversion
-- GdM : 2008 : GL 1.5 items moved to GL.Extended ('cause of Windows : - ()
-- RK : 2007 : added CLAMP_TO_EDGE and CLAMP_TO_BORDER for texturing.
-- RK : 2007 ... |
oeis/041/A041145.asm | neoneye/loda-programs | 11 | 160984 | ; A041145: Denominators of continued fraction convergents to sqrt(82).
; Submitted by <NAME>(s2)
; 1,18,325,5868,105949,1912950,34539049,623615832,11259624025,203296848282,3670602893101,66274148924100,1196605283526901,21605169252408318,390089651826876625,7043218902136187568,127168029890278252849,2296067756927144738850,... |
experiments/test-suite/mutation-based/20/3/fullTree.als | kaiyuanw/AlloyFLCore | 1 | 4214 | pred test37 {
some disj Node0, Node1: Node {
Node = Node0 + Node1
left = Node1->Node1
right = Node0->Node0 + Node0->Node1 + Node1->Node1
}
}
run test37 for 3 expect 0
pred test42 {
some disj Node0: Node {
Node = Node0
left = Node0->Node0
right = Node0->Node0
}
}
run test42 for 3 expect 1
pred test1 {
some disj Node0, N... |
src/main/antlr/org/hibernate/query/sqm/hql/internal/antlr/HqlLexer.g4 | hibernate/hibernate-semantic-query | 9 | 6189 | lexer grammar HqlLexer;
@header {
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.sqm.parser.hql.internal.a... |
data/items/rooftop_sale.asm | Dev727/ancientplatinum | 28 | 17269 | RooftopSaleMart1:
db 5
dbw POKE_BALL, 150
dbw GREAT_BALL, 500
dbw SUPER_POTION, 500
dbw FULL_HEAL, 500
dbw REVIVE, 1200
db -1
RooftopSaleMart2:
db 5
dbw HYPER_POTION, 1000
dbw FULL_RESTORE, 2000
dbw FULL_HEAL, 500
dbw ULTRA_BALL, 1000
dbw PROTEIN, 7800
db -1
|
Vezba 9/break continue/program.asm | KristianKalamin/Programski-Prevodioci-Domaci | 1 | 175964 | <filename>Vezba 9/break continue/program.asm<gh_stars>1-10
main:
PUSH %14
MOV %15,%14
SUBS %15,$8,%15
@main_body:
MOV $1,-4(%14)
MOV $2,-8(%14)
@while0:
CMPS -4(%14),$5
JGES @while_false0
@if1:
CMPS -4(%14),-8(%14)
JNE @false1
@true1:
JMP @while_false0
JMP @exit1
@false1:
@exit... |
alloy4fun_models/trashltl/models/17/rm8Fz9TKvPzeCTK33.als | Kaixi26/org.alloytools.alloy | 0 | 583 | open main
pred idrm8Fz9TKvPzeCTK33_prop18 {
always (all f:Protected | f not in Protected releases f in Trash)
}
pred __repair { idrm8Fz9TKvPzeCTK33_prop18 }
check __repair { idrm8Fz9TKvPzeCTK33_prop18 <=> prop18o } |
lab0/main.asm | wannaphongcom/os-dev | 1 | 104492 | org 0x7c00 ; from https://stackoverflow.com/a/32871939
bits 16
cli
mov ax,0x0E61
int 0x10
hlt
times 510 - ($-$$) db 0
dw 0xaa55
|
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_187_2400.asm | ljhsiun2/medusa | 9 | 29791 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %r15
push %r8
push %rdx
push %rsi
// Store
lea addresses_D+0x16181, %r15
nop
nop
cmp $38860, %r8
movw $0x5152, (%r15)
nop
nop
nop
and %r13, %r13
// Store
mov $0x22c4000000000d71, %r13
clflush (%r13)
nop... |
programs/oeis/157/A157726.asm | neoneye/loda | 22 | 28319 | <reponame>neoneye/loda<gh_stars>10-100
; A157726: a(n) = Fibonacci(n) + 3.
; 3,4,4,5,6,8,11,16,24,37,58,92,147,236,380,613,990,1600,2587,4184,6768,10949,17714,28660,46371,75028,121396,196421,317814,514232,832043,1346272,2178312,3524581,5702890,9227468,14930355,24157820,39088172,63245989,102334158,165580144,267914299,43... |
programs/oeis/173/A173857.asm | karttu/loda | 1 | 243273 | <reponame>karttu/loda
; A173857: Expansion of 3/2 in base phi.
; 1,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1
sub $0,1
mod $0,3
pow $0,2
cmp $0,1
mov $1,$... |
arch/x86/boot.asm | aufziehvogel/sos | 0 | 81407 | <filename>arch/x86/boot.asm
section .multiboot
align 4
dd 1BADB002h
dd 0003h ; set align boot modules to page boundaries, supply memory map
dd -(1BADB002h + 0003h)
section .bootstrap_stack nobits
stack_bottom:
resb 16384 ; 16 KiB
stack_top:
section .text
extern kernel_main
global _start
_start:
mo... |
source/vampire-r3-message_page.ads | ytomino/vampire | 1 | 4178 | <gh_stars>1-10
-- The Village of Vampire by YT, このソースコードはNYSLです
procedure Vampire.R3.Message_Page (
Output : not null access Ada.Streams.Root_Stream_Type'Class;
Form : in Forms.Root_Form_Type'Class;
Template : in String;
Base_Page : in Forms.Base_Page;
Village_Id : in Tabula.Villages.Village_Id :=
Tabula.Village... |
programs/oeis/078/A078371.asm | karttu/loda | 1 | 706 | <reponame>karttu/loda
; A078371: a(n) = (2*n+5)*(2*n+1).
; 5,21,45,77,117,165,221,285,357,437,525,621,725,837,957,1085,1221,1365,1517,1677,1845,2021,2205,2397,2597,2805,3021,3245,3477,3717,3965,4221,4485,4757,5037,5325,5621,5925,6237,6557,6885,7221,7565,7917,8277,8645,9021,9405,9797,10197,10605,11021,11445,11877,12317,... |
src/scenario_registre.adb | GauBen/Arbre-Genealogique | 1 | 3645 | <filename>src/scenario_registre.adb
with registre;
with text_io; use text_io;
with ada.integer_text_io; use ada.integer_text_io;
procedure Test_Registre is
package Registre_Test is new registre (20, integer);
use Registre_Test;
mon_reg : t_registre;
begin
initialiser(mon_reg);
if not existe(mon_reg,... |
Task/Euler-method/Ada/euler-method-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 22112 | package body Euler is
function Solve
( F : not null access function (T, Y : Number) return Number;
Y0 : Number;
T0, T1 : Number;
N : Positive
) return Waveform is
dT : constant Number := (T1 - T0) / Number (N);
begin
... |
exercises/ch4/num6.asm | gr0uch0dev/AssemblyExercisesAndNotes | 0 | 21956 | <reponame>gr0uch0dev/AssemblyExercisesAndNotes
; 4.6
; Use a loop with indirect or indexed addressing to reverse the elements of an integer array in
; place. Do not copy the elements to any other array. Use the SIZEOF, TYPE, and LENGTHOF
; operators to make the program as flexible as possible if the array size and type... |
Appl/Art/Decks/GeoDeck/LMNefertite.asm | steakknife/pcgeos | 504 | 90909 | LMNefertite label byte
word C_BLACK
Bitmap <71,100,0,BMF_MONO>
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x04
db 0x00, 0x02, 0x10, 0x22, 0x40, 0x88, 0x88, 0x00,
0x84
db 0x00, 0x81, 0x00, 0x80, 0x00, 0x20, 0x21, 0x04,
0x44
db 0x80, 0x10, 0x00, 0x01, 0x08, 0x00, 0x44, 0x20,
0x0c
db ... |
rp2040_drivers/piezo.ads | JeremyGrosser/sensors | 1 | 28001 | --
-- Copyright (C) 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: BSD-3-Clause
--
with RP.GPIO;
with RP.PWM;
with RP;
package Piezo is
type Beeper
(Point_A : access RP.GPIO.GPIO_Point;
Point_B : access RP.GPIO.GPIO_Point)
is tagged record
Slice : RP.PWM.PWM_Slice := RP.PWM.To_PWM (Po... |
engine/movie/credits.asm | opiter09/ASM-Machina | 1 | 177112 | <reponame>opiter09/ASM-Machina<gh_stars>1-10
HallOfFamePC:
farcall AnimateHallOfFame
call ClearScreen
ld c, 100
call DelayFrames
call DisableLCD
ld hl, vFont
ld bc, ($80 tiles) / 2
call ZeroMemory
ld hl, vChars2 tile $60
ld bc, ($20 tiles) / 2
call ZeroMemory
ld hl, vChars2 tile $7e
ld bc, 1 tiles
ld a, $... |
programs/oeis/015/A015565.asm | karttu/loda | 1 | 82197 | <reponame>karttu/loda
; A015565: a(n) = 7*a(n-1) + 8*a(n-2), a(0) = 0, a(1) = 1.
; 0,1,7,57,455,3641,29127,233017,1864135,14913081,119304647,954437177,7635497415,61083979321,488671834567,3909374676537,31274997412295,250199979298361,2001599834386887,16012798675095097
mov $1,8
pow $1,$0
add $1,3
div $1,9
|
FreeRTOS/Demo/RL78_RL78G23_64p_FPB_Renesas_e2studio_CS+/src/smc_gen/r_bsp/board/generic_rl78_g23/stkinit.asm | NoMaY-jp/FreeRTOS | 0 | 161340 | <gh_stars>0
;;/***********************************************************************************************************************
;;* DISCLAIMER
;;* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No
;;* other uses are authorized. This software is o... |
projects/08/FunctionCalls/StaticsTest/Sys.asm | nadavWeisler/Nand2Tetris | 0 | 246309 | <reponame>nadavWeisler/Nand2Tetris
(Sys.init)
@0
D=A
@i
M=D
D=M
@Sys.init.0
D;JEQ
(Sys.init..0)
@SP
A=M
M=0
@SP
D=M
D=D+1
M=D
@i
D=M
D=D-1
M=D
@Sys.init..0
D;JNE
(Sys.init.0)
@6
D=A
@SP
A=M
M=D
@SP
M=M+1
@8
D=A
@SP
A=M
M=D
@SP
M=M+1
@RETURN2
D=A
@SP
A=M
M=D
@SP
M=M+1
@LCL
D=M
@SP
A=M
M=D
@SP
M=M+1
@ARG
D=M
@SP
A=M
M=D
... |
src/Native/Runtime/arm64/MiscStubs.asm | kouvel/corert | 3,223 | 169069 | <gh_stars>1000+
;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
#include "AsmMacros.h"
EXTERN memcpy
EXTERN memcpyGCRefs
EXTERN memcpyGCRefsWithWriteBarrier
EXTERN memcpyAnyWithWriteBarrier
EXTERN GetClasslibC... |
src/ewok-mpu.adb | PThierry/ewok-kernel | 0 | 28447 | --
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
--
-- 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... |
llvm-gcc-4.2-2.9/gcc/ada/g-dynhta.adb | vidkidz/crossbridge | 1 | 28947 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1467.asm | ljhsiun2/medusa | 9 | 100212 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1467.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xaf87, %r11
nop
nop
nop
nop
nop
inc %r14
mov $0x61626... |
src/x86/filmgrain16_avx2.asm | feiwei9696/dav1d | 0 | 23032 | ; Copyright © 2021-2022, VideoLAN and dav1d authors
; Copyright © 2021-2022, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the ... |
Data/Sum.agda | oisdk/agda-playground | 6 | 12937 | {-# OPTIONS --without-K --safe #-}
module Data.Sum where
open import Level
open import Data.Bool.Base using (Bool; true; false)
open import Function using (const)
data _⊎_ (A : Type a) (B : Type b) : Type (a ℓ⊔ b) where
inl : A → A ⊎ B
inr : B → A ⊎ B
either : ∀ {ℓ} {C : A ⊎ B → Type ℓ} → ((a : A) → C (inl a))... |
scripts/Route24.asm | opiter09/ASM-Machina | 1 | 17915 | Route24_Script:
call EnableAutoTextBoxDrawing
ld hl, Route24TrainerHeaders
ld de, Route24_ScriptPointers
ld a, [wRoute24CurScript]
call ExecuteCurMapScriptInTable
ld [wRoute24CurScript], a
ret
Route24Script_513c0:
xor a
ld [wJoyIgnore], a
ld [wRoute24CurScript], a
ld [wCurMapScript], a
ret
Route24_ScriptP... |
programs/oeis/091/A091711.asm | karttu/loda | 0 | 92452 | ; A091711: Exponent of 2 in (n^2)!.
; 0,3,7,15,22,34,46,63,78,97,116,142,165,193,221,255,286,321,356,397,435,479,526,574,620,672,723,781,836,896,956,1023,1086,1153,1220,1293,1363,1439,1514,1597,1676,1758,1842,1931,2017,2113,2205,2302,2396,2495,2596,2700,2801,2910,3018,3133,3243,3359,3474,3596,3715,3839,3963,4095,4222,4... |
src/firmware-tests/Platform/Lcd/PollAfterLcdDummy.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 177832 | #include "Platform.inc"
#include "PollChain.inc"
radix decimal
PollAfterLcdDummy code
global POLL_AFTER_LCD
POLL_AFTER_LCD:
return
end
|
libsrc/_DEVELOPMENT/adt/w_vector/c/sccz80/w_vector_at.asm | teknoplop/z88dk | 8 | 20366 |
; void *w_vector_at(b_vector_t *v, size_t idx)
SECTION code_clib
SECTION code_adt_w_vector
PUBLIC w_vector_at
EXTERN w_array_at
defc w_vector_at = w_array_at
|
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_876.asm | ljhsiun2/medusa | 9 | 179701 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x13290, %rsi
nop
nop
xor %r13, %r13
mov (%rsi), %r9
nop
nop
nop
sub %r14, %r14
lea addresses_A_ht+0x1e56b, %r15
nop
add $18695, %rax
movb $0x61, (%r15)
cmp %r13, %r1... |
src/Web/Semantic/DL/Category/Properties/Tensor/RespectsWiring.agda | agda/agda-web-semantic | 9 | 1965 | <reponame>agda/agda-web-semantic
open import Data.Product using ( proj₁ ; proj₂ )
open import Data.Sum using ( inj₁ ; inj₂ )
open import Relation.Binary.PropositionalEquality using
( _≡_ ; refl ; sym ; cong )
open import Relation.Unary using ( _⊆_ )
open import Web.Semantic.DL.ABox using ( ABox ; ⟨ABox⟩ ; Assertions ... |
programs/oeis/161/A161828.asm | neoneye/loda | 22 | 23774 | <gh_stars>10-100
; A161828: Number of rhombuses in the Y-toothpick structure of A160120 after n rounds.
; 0,0,3,3,9,9,15,21,33,39
pow $0,2
div $0,2
mov $2,-2
bin $2,$0
div $2,2
lpb $2
trn $2,3
add $3,2
lpe
mov $4,$3
cmp $4,0
add $3,$4
mov $0,$3
sub $0,1
mul $0,3
|
src/main.asm | ISSOtm/gb-open-world | 8 | 16743 |
INCLUDE "defines.asm"
SECTION "Main loop", ROM0
Main::
;; Init engine
; Screen redrawing expects to run over already-loaded palettes;
; Thus, we need to init the dynamic palette array to "all free"
ld hl, wBGPaletteIDs
ld c, wBGPaletteIDs.end - wBGPaletteIDs - 1
xor a
rst MemsetSmall
; Reserve palette #7 f... |
source/mpc-generic_c.adb | ytomino/gmp-ada | 4 | 24263 | <reponame>ytomino/gmp-ada<gh_stars>1-10
with MPFR.Root_FR;
package body MPC.Generic_C is
use type Imaginary_FR.MP_Float;
function Rounding return MPC.Rounding is
begin
return Compose (
Real_FR.Rounding,
Imaginary_FR.Rounding);
end Rounding;
function i return MP_Imaginary is
begin
return To_MP_Float ... |
alloy4fun_models/trashltl/models/1/LmTFfswgGG437yaDL.als | Kaixi26/org.alloytools.alloy | 0 | 3855 | open main
pred idLmTFfswgGG437yaDL_prop2 {
no File implies always after some File
}
pred __repair { idLmTFfswgGG437yaDL_prop2 }
check __repair { idLmTFfswgGG437yaDL_prop2 <=> prop2o } |
1998-spring/mp2/mp2.asm | ece291/machine-problems | 3 | 93247 | PAGE 75, 132
TITLE ECE291:MP2:MP2-Compress - Your Name - Date
COMMENT *
Data Compression.
For this MP, you will write an interactive program which uses
Huffman compression to compress and decompress textual data.
By represents the most frequently used letters with the
... |
src/timestamp.adb | dshadrin/AProxy | 1 | 23786 | ----------------------------------------
-- Copyright (C) 2019 <NAME> --
-- All rights reserved. --
----------------------------------------
with Ada.Calendar.Conversions;
with Ada.Real_Time;
with Formatted_Output; use Formatted_Output;
with Formatted_Output.Integer_Output;
-----------------------------... |
src/Data/Fin/Subset/Dec.agda | tizmd/agda-finitary | 0 | 14410 | <filename>src/Data/Fin/Subset/Dec.agda
{-# OPTIONS --safe --without-K #-}
module Data.Fin.Subset.Dec where
open import Data.Nat as ℕ
open import Data.Fin as Fin
open import Data.Fin.Subset
open import Relation.Nullary
open import Relation.Unary renaming (Decidable to Decidable₁) using ()
open import Function using (... |
data/maps/objects/Route14.asm | opiter09/ASM-Machina | 1 | 82855 | <reponame>opiter09/ASM-Machina
Route14_Object:
db $43 ; border block
def_warps
def_signs
sign 17, 13, 11 ; Route14Text11
def_objects
object SPRITE_COOLTRAINER_M, 4, 4, STAY, DOWN, 1, OPP_BIRD_KEEPER, 14
object SPRITE_COOLTRAINER_M, 15, 6, STAY, DOWN, 2, OPP_BIRD_KEEPER, 15
object SPRITE_COOLTRAINER_M, 12, 11... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_1_1750.asm | ljhsiun2/medusa | 9 | 100912 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_1_1750.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %r8
push %r9
push %rax
lea addresses_UC_ht+0x1cce2, %r15
nop
nop
xor %r9, %r9
mov (%r15), %r10
nop
nop
nop
nop
nop
and %r10, %r10
lea addresses_A... |
Appl/Term/Utils/utilsManager.asm | steakknife/pcgeos | 504 | 1719 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Utils
FILE: utilsManager.asm
AUTHOR: <NAME>, December 13, 1989
REVISION HISTORY:
Name Date Description
---- ---- ... |
Data/Binary/PerformanceTests/Subtraction.agda | oisdk/agda-playground | 6 | 3295 | {-# OPTIONS --cubical --safe #-}
module Data.Binary.PerformanceTests.Subtraction where
open import Prelude
open import Data.Binary.Definition
open import Data.Binary.Addition using (_+_)
open import Data.Binary.Subtraction using (_-_)
open import Data.Binary.Multiplication using (_*_)
sub-r : 𝔹 → 𝔹 → ℕ → 𝔹
sub-r... |
programs/oeis/002/A002232.asm | neoneye/loda | 22 | 17439 | ; A002232: 8th powers written backwards.
; 0,1,652,1656,63556,526093,6169761,1084675,61277761,12764034,1,188853412,696189924,127037518,6509875741,5260982652,6927694924,1447575796,67506991011,14036538961,652,16395822873,63537857845,18258901387,671413570011,526098785251,675460728802,184635924282,633899108773,169214642005... |
programs/oeis/002/A002593.asm | karttu/loda | 1 | 242253 | <gh_stars>1-10
; A002593: a(n) = n^2*(2*n^2 - 1); also Sum_{k=0..n-1} (2k+1)^3.
; 0,1,28,153,496,1225,2556,4753,8128,13041,19900,29161,41328,56953,76636,101025,130816,166753,209628,260281,319600,388521,468028,559153,662976,780625,913276,1062153,1228528,1413721,1619100,1846081,2096128,2370753,2671516,3000025,3357936,374... |
libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc_ceil.asm | ahjelm/z88dk | 640 | 5846 | <reponame>ahjelm/z88dk<gh_stars>100-1000
SECTION code_fp_am9511
PUBLIC cam32_sdcc_ceil
EXTERN cam32_sdcc_read1, asm_am9511_ceil_fastcall
.cam32_sdcc_ceil
call cam32_sdcc_read1
jp asm_am9511_ceil_fastcall
|
univ_old.agda | hjorthjort/IdrisToAgda | 2 | 4945 |
data Li : (a : Set) -> Set where
Ni : {a : Set} -> Li a
Co : {a : Set} -> a -> Li a -> Li a
{-# BUILTIN NATURAL name #-}
t : Li (Set 2) -> Set 1
t li = Set 1
|
examples/storagepool.adb | ytomino/drake | 33 | 8377 | <gh_stars>10-100
with Ada.Unchecked_Deallocate_Subpool;
with Ada.Unchecked_Deallocation;
with Ada.Unchecked_Reallocation;
with System.Storage_Elements.Formatting;
with System.Storage_Pools.Unbounded;
with System.Storage_Pools.Subpools.Unbounded;
procedure storagepool is
use type System.Address;
use type System.Storag... |
oeis/021/A021739.asm | neoneye/loda-programs | 11 | 92876 | ; A021739: Decimal expansion of 1/735.
; 0,0,1,3,6,0,5,4,4,2,1,7,6,8,7,0,7,4,8,2,9,9,3,1,9,7,2,7,8,9,1,1,5,6,4,6,2,5,8,5,0,3,4,0,1,3,6,0,5,4,4,2,1,7,6,8,7,0,7,4,8,2,9,9,3,1,9,7,2,7,8,9,1,1,5,6,4,6,2,5,8,5,0,3,4,0,1,3,6,0,5,4,4,2,1,7,6,8,7
add $0,1
mov $2,10
pow $2,$0
mov $0,$2
div $0,735
mod $0,10
|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1200.asm | ljhsiun2/medusa | 9 | 24051 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1bdb7, %rsi
lea addresses_WT_ht+0xab75, %rdi
nop
nop
xor %r15, %r15
mov $89, %rcx
rep movsq
nop
nop
nop
nop
nop
cmp $47302, %rcx
lea addresses_A_ht+0x1bae4, %rsi
lea addresse... |
ATMega328P/09-Play_Tone/09-play_tone.asm | agguro/arduino-project | 0 | 168870 | ;name: 5161AS-single-digit-led.asm
;assemble: avra 5161AS-single-digit-led.asm
;flash: avrdude -c arduino -p m328p -P /dev/ttyACM0 -b 115200 -U flash:w:5161AS-single-digit-led.hex
;description: small demonstration on how to deal with the 5161AS single digit led.
; the program lits ... |
Transynther/x86/_processed/US/_st_zr_un_/i9-9900K_12_0xca.log_6494_1829.asm | ljhsiun2/medusa | 9 | 29790 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1263e, %rax
nop
nop
nop
add $45019, %r9
movups (%rax), %xmm1
vpextrq $0, %xmm1, %rbp
nop
nop
nop
sub $26436, %rdi
lea addresses_WT_ht+0xe0fe, %rsi
nop
nop
nop
nop
nop
cmp %ra... |
software/kernel/console.ads | TUM-EI-RCS/StratoX | 12 | 26348 | <filename>software/kernel/console.ads<gh_stars>10-100
-- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
-- Module: Console
-- Authors: <NAME> (<EMAIL>)
--
-- ToDo:
-- [ ] Implementation
-- @summary Command Line Interface for user interaction... |
gfx/pokemon/yanma/anim.asm | Dev727/ancientplatinum | 28 | 27996 | frame 1, 10
frame 0, 05
frame 3, 05
setrepeat 5
frame 0, 03
frame 2, 03
dorepeat 4
endanim
|
assembler/tests/t_9331_2/t_9331_2.asm | paulscottrobson/RCA-Cosmac-VIP-III | 0 | 245359 | <reponame>paulscottrobson/RCA-Cosmac-VIP-III
, , , , , , , , , , , , , , ;
jc ,start ,gf0 , , , , , , , ;
lda ,mod0 ,15h , , , , ; Initialization
lda ,mod1 ,15h , , , , ; LACK of Low: Lch, High:
lda ,df0 ,03h , , , , ; Rch are assumed for the
lda ,df1 ,02h , , , , ; following comme... |
x86_64/src/01-prcess_id.nasm | karng87/nasm_game | 0 | 105473 | <filename>x86_64/src/01-prcess_id.nasm
;------------------------------------------------
; ./a.out &
; cat /proc/pid/maps
;
; address perms offset dev inode pathname
; 00400000-00401000 r--p 00000000 08:02 4064017 /home/jkarng/Proje..
; r = read
; w = write
; x = exec... |
Sources/Globe_3d/glut_2d.adb | ForYouEyesOnly/Space-Convoy | 1 | 19970 | with GLUT, System;
package body GLUT_2D is
GLUT_char : constant array (Font_type) of System.Address :=
(
Screen_9_by_15 => GLUT.BITMAP_9_BY_15,
Screen_8_by_13 => GLUT.BITMAP_8_BY_13,
Times_Roman_10 => GLUT.BITMAP_TIMES_ROMAN_10,
Times_Roman_24 => GLUT.BITMAP_TIMES_ROMAN_24,
... |
src/draw_circle.asm | tina-hoeflich/pong | 2 | 96514 | # Based on CESP lecture
# Authors: <NAME>, <NAME>, <NAME>
#Function to draw a colored circle with given radius and x- and y-coordinates of center
#Uses draw_pixel that has to be included in calling function
draw_circle:
# Inputs
#------------------
# a3: x coordinate
# a4: y coordinate
# a5: radius in pixels
# a7: col... |
vendor/bundle/ruby/2.0.0/gems/pygments.rb-0.6.1/vendor/pygments-main/tests/examplefiles/test.agda | agent010101/agent010101.github.io | 23 | 14685 | <filename>vendor/bundle/ruby/2.0.0/gems/pygments.rb-0.6.1/vendor/pygments-main/tests/examplefiles/test.agda
-- An Agda example file
module test where
open import Coinduction
open import Data.Bool
open import {- pointless comment between import and module name -} Data.Char
open import Data.Nat
open import Data.Nat.Pro... |
tools-src/gnu/gcc/gcc/ada/s-stratt.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 22781 | <filename>tools-src/gnu/gcc/gcc/ada/s-stratt.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- ... |
prototyping/Properties/Remember.agda | TheGreatSageEqualToHeaven/luau | 1 | 10003 | <filename>prototyping/Properties/Remember.agda
module Properties.Remember where
open import Agda.Builtin.Equality using (_≡_; refl)
data Remember {A : Set} (a : A) : Set where
_,_ : ∀ b → (a ≡ b) → Remember(a)
remember : ∀ {A} (a : A) → Remember(a)
remember a = (a , refl)
|
oeis/289/A289216.asm | neoneye/loda-programs | 11 | 245659 | <reponame>neoneye/loda-programs
; A289216: a(n) = n! * Laguerre(n,-10).
; Submitted by <NAME>(s2)
; 1,11,142,2086,34184,616120,12083920,255749840,5801633920,140276126080,3598075308800,97512721964800,2782552712473600,83347512973644800,2613606571616819200,85594543750221568000,2921314815145299968000,1037043338511911772160... |
src/Equality/Groupoid.agda | nad/equality | 3 | 14444 | <reponame>nad/equality<gh_stars>1-10
------------------------------------------------------------------------
-- The equality can be turned into a groupoid which is sometimes
-- commutative
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Equality... |
oeis/183/A183623.asm | neoneye/loda-programs | 11 | 245928 | ; A183623: Number of (n+1)X(n+1) 0..2 arrays with every 2X2 subblock summing to 4
; Submitted by <NAME>
; 19,87,355,1383,5299,20247,77635,299463,1162579,4540407
add $0,2
mov $2,4
pow $2,$0
seq $0,101052 ; Number of preferential arrangements of n labeled elements when only k<=3 ranks are allowed.
mul $0,2
add $0,$2
sub... |
src/Categories/Category/Groupoid/Properties.agda | Trebor-Huang/agda-categories | 279 | 17452 | <gh_stars>100-1000
{-# OPTIONS --without-K --safe #-}
open import Categories.Category.Groupoid
module Categories.Category.Groupoid.Properties {o ℓ e} (G : Groupoid o ℓ e) where
import Categories.Morphism as Morphism
import Categories.Morphism.Properties as MorphismProps
import Categories.Morphism.Reasoning as MR
ope... |
dropin/src/yaml-c.ads | robdaemon/AdaYaml | 32 | 19804 | -- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
with System;
with Interfaces.C.Strings;
private with Yaml.Parser;
private with Yaml.Presenter;
package Yaml.C is
-- this is an implementation of libyaml's C interface declared in yaml.h
function Ge... |
Code/CustomControl/SpreadSheet/SprDemo/SprCellFmt.asm | CherryDT/FbEditMOD | 11 | 247620 |
.const
;SprShtCellFmt.dlg
IDC_CHK6 equ 1128
IDC_CHK7 equ 1109
IDC_STC3 equ 1116
IDC_STC4 equ 1117
IDC_STC5 equ 1118
IDC_STC6 equ 1119
IDC_CHK1 equ 1101
IDC_RBN1 equ 1102
IDC_RBN2 equ 1103
IDC_RBN3 equ 1104
IDC_RBN4 equ 1105
IDC_RBN5 equ 1106
IDC_RBN6 equ 1107
IDC_RBN7 ... |
programs/oeis/075/A075111.asm | neoneye/loda | 22 | 26433 | ; A075111: a(n)=Sum((-1)^(i+Floor(n/2))T(2i+e),(i=0,..,Floor(n/2))), where T(n) are tribonacci numbers (A000073) and e=(1/2)(1-(-1)^n).
; 0,1,1,1,3,6,10,18,34,63,115,211,389,716,1316,2420,4452,8189,15061,27701,50951,93714,172366,317030,583110,1072507,1972647,3628263,6673417,12274328,22576008,41523752,76374088,140473849... |
symbolinen_konekieli/Ratol_msdos/laske.asm | tkukka/VariousContent | 0 | 1490 | <reponame>tkukka/VariousContent
;RaTol Symbolinen konekieli: koetehtävä 2
;<NAME>ka IY96A
;Tiedosto: laske.asm
;Luotu 26.2.1998
;Aliohjelma _laske
;Hakee taulukon osoitteen PINOSTA
;Aliohjelmien esittely:
public _laske
.model small ;muisti... |
sh.asm | briansrls/xv6 | 0 | 23584 | <filename>sh.asm<gh_stars>0
_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 %esp,%ebp
3: 83 ec 38 ... |
oeis/075/A075417.asm | neoneye/loda-programs | 11 | 101354 | <filename>oeis/075/A075417.asm
; A075417: Squares of A002282: a(n) = (8*(10^n - 1)/9)^2.
; 0,64,7744,788544,78996544,7901076544,790121876544,79012329876544,7901234409876544,790123455209876544,79012345663209876544,7901234567743209876544,790123456788543209876544,79012345678996543209876544,7901234567901076543209876544,790... |
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48.log_7280_269.asm | ljhsiun2/medusa | 9 | 83800 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x5ee0, %rsi
lea addresses_D_ht+0x14d54, %rdi
nop
nop
nop
nop
nop
sub $12947, %r13
mov $43, %rcx
rep movsl
nop
nop
nop
xor $23153, %r15
lea addresses_D_ht+0x41d0, %r8
nop
add %r10, %r10
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.