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 |
|---|---|---|---|---|
tmp_store_can_del/WindowsPwn.asm | zk2013/newborn | 0 | 14574 |
; Windows pwning module
; Boot Application of Stoned Bootkit
; Version 0.1 from 18.06.2009 11:12
; (C) 2009 <NAME>
[bits 16] ; create a 16 Bit Code
CPU 386 ; Assemble instructions up to the 386 instruction set
%include "Module Fun... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_7_275.asm | ljhsiun2/medusa | 9 | 160654 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x6cba, %r13
nop
nop
dec %rbx
mov $0x6162636465666768, %r12
movq %r12, %xmm2
movups %xmm2, (%r13)
nop
nop
nop
xor %r10, %r10
lea addresses_WC_ht+0x512a, %rsi
lea addresses_WC_ht+0x14d92,... |
Numbers/Intervals/Arithmetic.agda | Smaug123/agdaproofs | 4 | 7692 | <gh_stars>1-10
{-# OPTIONS --safe --warning=error --without-K #-}
open import Numbers.ClassicalReals.RealField
open import LogicalFormulae
open import Setoids.Subset
open import Setoids.Setoids
open import Setoids.Orders.Partial.Definition
open import Sets.EquivalenceRelations
open import Rings.Orders.Partial.Definiti... |
src/GUI/clock_widget.adb | Fabien-Chouteau/coffee-clock | 7 | 22688 | -------------------------------------------------------------------------------
-- --
-- Coffee Clock --
-- --
... |
src/helpers.asm | hundredrabbits/Donsol | 113 | 172971 | <gh_stars>100-1000
;; client
;; renderer
start@renderer: ;
LDA #%10010000 ; enable NMI, sprites from Pattern Table 0, background from Pattern Table 1
STA PPUCTRL
LDA #%00011000 ; enable sprites, enable background, no clipping on left side
STA PPUMASK
LDA #$00 ... |
ffight/lcs/weapon/6.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 9735 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data
copyright zengfr site:http://github.com/zengfr/romhack
003098 rts [1p+ 6, 1p+ 8, boss+6, boss+8, weapon+ 6, weapon+ 8]
0030A6 move.w ($54,A6), D1 [boss+6, boss+8, container+ 6, container+ 8, enemy+ 6, enemy+ 8, weapon+ 6, weapon+ 8]
003A0E movem.l D... |
altairz80source/AltairZ80.applescript | grancier/z180 | 0 | 1374 | -- double clicking
on run
tell application "Finder" to get container of (path to me) as string
set script_path to quoted form of POSIX path of result
-- Tell Terminal to run AltairZ80 from the command line
-- Use the script's directory as the current directory
tell application "Terminal"
... |
programs/oeis/097/A097945.asm | neoneye/loda | 22 | 243848 | <reponame>neoneye/loda
; A097945: a(n) = mu(n)*phi(n) where mu(n) is the Mobius function (A008683) and phi(n) is the Euler totient function (A000010).
; 1,-1,-2,0,-4,2,-6,0,0,4,-10,0,-12,6,8,0,-16,0,-18,0,12,10,-22,0,0,12,0,0,-28,-8,-30,0,20,16,24,0,-36,18,24,0,-40,-12,-42,0,0,22,-46,0,0,0,32,0,-52,0,40,0,36,28,-58,0,-... |
helium/helium.asm | viznut/demoscene | 14 | 88605 | ; suffer, you tasm sukkerz! use nasm or a386
; this one compiles only through a386 though
db "VIZNUT'97" ; signature
; does something, pushes 4 extra bytes
; segmentation:
; cs+$0000 code, all the smaller tabs
; cs+$1000 videobuffer
; cs+$2000 effect precalc tab (sphere/tunnel)
; cs+$3000 ... |
oeis/052/A052469.asm | neoneye/loda-programs | 11 | 8227 | ; A052469: Denominators in the Taylor series for arccosh(x) - log(2*x).
; Submitted by <NAME>
; 4,32,96,1024,2560,4096,28672,524288,1179648,5242880,11534336,100663296,218103808,939524096,134217728,68719476736,146028888064,206158430208,1305670057984,2199023255552,7696581394432,96757023244288,202310139510784,112589990684... |
transformy/tables/gen/0013.asm | mborik/regression | 3 | 86255 | ld a, 8
ld (basescradr + #04f0), a
ld a, 24
ld (basescradr + #05f0), a
ld a, 28
ld (basescradr + #06f0), a
xor a
ld hl, basescradr + #0811
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #098c
ld (hl), a
inc ... |
src/Sym_Expr/symbolic_expressions-solving.ads | fintatarta/eugen | 0 | 4559 | <filename>src/Sym_Expr/symbolic_expressions-solving.ads
generic
package Symbolic_Expressions.Solving is
-- ==================== --
-- == SYSTEM SOLVING == --
-- ==================== --
package Equation_Tables is
new Ada.Containers.Indefinite_Ordered_Maps
(Key_Type => Variable_Name,
... |
src/Tactic/Reflection/Equality.agda | lclem/agda-prelude | 0 | 12023 |
module Tactic.Reflection.Equality where
open import Prelude
open import Builtin.Reflection
open import Builtin.Float
instance
EqVisibility : Eq Visibility
_==_ {{EqVisibility}} visible visible = yes refl
_==_ {{EqVisibility}} visible hidden = no (λ ())
_==_ {{EqVisibility}} visible instance′ = no (λ ()... |
programs/oeis/038/A038720.asm | neoneye/loda | 22 | 96843 | <filename>programs/oeis/038/A038720.asm
; A038720: a(n) = (n+3)*n!/2.
; 2,5,18,84,480,3240,25200,221760,2177280,23587200,279417600,3592512000,49816166400,741015475200,11769069312000,198766503936000,3556874280960000,67224923910144000,1338096104497152000,27978373094031360000,613091306060513280000,14050009097220096000000,... |
data/baseStats_original/bulbasaur.asm | adhi-thirumala/EvoYellow | 16 | 83413 | MonBaseStats:
db DEX_BULBASAUR ; pokedex id
db 45 ; base hp
db 49 ; base attack
db 49 ; base defense
db 45 ; base speed
db 65 ; base special
db GRASS ; species type 1
db POISON ; species type 2
db 45 ; catch rate
db 64 ; base exp yield
INCBIN "pic/ymon/bulbasaur.pic",0,1 ; 55, sprite dimensions
dw BulbasaurPicFront
dw ... |
Task/Loops-While/AppleScript/loops-while.applescript | LaudateCorpus1/RosettaCodeData | 1 | 2258 | <reponame>LaudateCorpus1/RosettaCodeData
set i to 1024
repeat while i > 0
log i
set i to i / 2
end repeat
|
programs/oeis/004/A004456.asm | karttu/loda | 0 | 19594 | <reponame>karttu/loda
; A004456: Nimsum n + 15.
; 15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,47,46,45,44,43,42,41,40,39,38,37,36,35,34,33,32,63,62,61,60,59,58,57,56,55,54,53,52,51,50,49,48,79,78,77,76,75,74,73,72,71,70,69,68,67,66,65,64,95,94,93,92,91,90,89,88,87,86,85,84,83,8... |
asm (HLQ.RIFASM)/rifpost.asm | jcnnrts/RIF | 0 | 247761 | <gh_stars>0
***********************************************************************
* Project: FMT *
* *
* This program is an assembler module that will issue a POST SVC on *
* an ECB that is pro... |
Project 2/src/Preliminary/part1a.asm | Nurl4n/Computer-Organization | 0 | 103659 | .data
hexNo: .asciiz "14"
invalidHexNo: .asciiz "You have entered invalid hexadecimal number."
.text
main:
#li $s0, 0x10010000
la $a0, hexNo # To save beginning address of string hexNo
addi $t2, $zero, 0 # Beginning length of string hexNo
size:
lb $t0, 0($a0)
beq $t0, '\0', exitSize
ad... |
src/fot/PA/Inductive/PropertiesByInductionATP.agda | asr/fotc | 11 | 8353 | <filename>src/fot/PA/Inductive/PropertiesByInductionATP.agda
------------------------------------------------------------------------------
-- Inductive PA properties using the induction principle
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
... |
a1-bind/bind.nasm | thombles/slae | 0 | 171105 | ; bind.nasm - A TCP Bind Shell
; Assignment 1 of SLAE32 course
; 2018-06-21 <NAME>
; Compile with bind port in network byte order, e.g. 4444:
; nasm -f elf32 -o bind.o -DLISTEN_PORT=0x5c11 bind.nasm
global _start
AF_INET equ 2
SOCK_STREAM equ 1
SYS_SOCKET equ 359
SYS_BIN... |
3-mid/opengl/source/lean/geometry/opengl-primitive-long_indexed.ads | charlie5/lace | 20 | 4823 | private
with
openGL.Buffer.long_indices;
package openGL.Primitive.long_indexed
--
-- Provides a class for long indexed openGL primitives.
--
is
type Item is limited new Primitive.item with private;
subtype Class is Item'Class;
type View is access all Item'class;
type Views is array (Index... |
test/Fail/NoSuchPrimitiveFunction.agda | shlevy/agda | 1,989 | 13801 | <filename>test/Fail/NoSuchPrimitiveFunction.agda<gh_stars>1000+
module NoSuchPrimitiveFunction where
postulate
X : Set
primitive
fooBar : X
|
Task/Binary-search/Ada/binary-search-1.ada | mullikine/RosettaCodeData | 1 | 4152 | with Ada.Text_IO; use Ada.Text_IO;
procedure Test_Recursive_Binary_Search is
Not_Found : exception;
generic
type Index is range <>;
type Element is private;
type Array_Of_Elements is array (Index range <>) of Element;
with function "<" (L, R : Element) return Boolean is <>;
function ... |
test/Fail/Issue2487/e.agda | shlevy/agda | 1,989 | 4633 | {-# OPTIONS --two-level --no-sized-types --no-guardedness #-}
module Issue2487.e where
postulate admit : {A : Set} -> A
|
Task/24-game/Ada/24-game.ada | LaudateCorpus1/RosettaCodeData | 1 | 21382 | <filename>Task/24-game/Ada/24-game.ada
with Ada.Text_IO;
with Ada.Numerics.Discrete_Random;
procedure Game_24 is
subtype Operation is Character;
type Op_Array is array (Positive range <>) of Operation;
type Digit is range 1 .. 9;
type Digit_Array is array (Positive range <>) of Digit;
package Digit_IO is... |
LPS/Esercizi/31.03.2022_compito/ASM/Esercizio 8/mips1.asm | Giacomix02/esercitazioni-java | 3 | 161781 | <gh_stars>1-10
.text
#-115502
#-88011
#210713
li $a0, 88010
mul $a1,$a0,-1
sub $a2,$a0,203512
add $a3,$a0,$a1
sub $a1,$a1,1
add $a0, $a3, $a2
li $t0, 95211
sub $a2,$t0,$a2
|
src/asf-models-selects.adb | Letractively/ada-asf | 0 | 28576 | -----------------------------------------------------------------------
-- asf-models-selects -- Data model for UISelectOne and UISelectMany
-- Copyright (C) 2011, 2012, 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exc... |
programs/oeis/135/A135064.asm | neoneye/loda | 22 | 100935 | <reponame>neoneye/loda<filename>programs/oeis/135/A135064.asm
; A135064: Numbers n such that the quintic polynomial x^5 - 10*n*x^2 - 24*n has Galois group A_5 over rationals.
; 1,11,29,76,199,521,1364,3571,9349,24476,64079,167761,439204,1149851,3010349,7881196,20633239,54018521,141422324,370248451,969323029,2537720636,... |
programs/oeis/283/A283233.asm | neoneye/loda | 22 | 175621 | ; A283233: 2*A000201.
; 2,6,8,12,16,18,22,24,28,32,34,38,42,44,48,50,54,58,60,64,66,70,74,76,80,84,86,90,92,96,100,102,106,110,112,116,118,122,126,128,132,134,138,142,144,148,152,154,158,160,164,168,170,174,176,180,184,186,190,194,196,200,202,206,210,212,216,220,222,226,228,232,236,238,242,244,248,252,254,258,262,264,2... |
demo-source/constants.asm | Stellaris-code/BadApple5150 | 0 | 166433 | LEFT_KANJI_START equ 55
LEFT_KANJI_HEIGHT equ 74
RIGHT_KANJI_START equ 32
RIGHT_KANJI_HEIGHT equ 117
RIGHT_KANJI_OFFSET equ 288
INITIAL_ANIM_DELAY equ 5
PLANE_0 equ 0b0001
PLANE_1 equ 0b0010
PLANE_SHADE equ 0b0100
PLANE_NEGATE equ 0b1000
PIT_FREQ equ 1000
SQ_INDEX equ 3c4h
SQ_PLANEMASK... |
programs/oeis/089/A089819.asm | neoneye/loda | 22 | 24802 | ; A089819: Number of subsets of {1,2,...,n} containing no primes.
; 2,2,2,4,4,8,8,16,32,64,64,128,128,256,512,1024,1024,2048,2048,4096,8192,16384,16384,32768,65536,131072,262144,524288,524288,1048576,1048576,2097152,4194304,8388608,16777216,33554432,33554432,67108864,134217728,268435456,268435456,536870912,536870912,10... |
server-core/src/main/java/io/onedev/server/util/interpolative/Interpolative.g4 | sasaie/onedev | 7,137 | 4686 | <reponame>sasaie/onedev<filename>server-core/src/main/java/io/onedev/server/util/interpolative/Interpolative.g4<gh_stars>1000+
grammar Interpolative;
interpolative: segment* EOF;
segment: Literal|Variable;
Variable: '@' VariableChar+? '@';
Literal: LiteralChar+;
LiteralChar: '@@'|~[@];
VariableChar: ~[@]; |
programs/oeis/286/A286665.asm | karttu/loda | 1 | 80950 | ; A286665: {0->01}-transform of the Pell word, A171588.
; 0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,... |
source/strings/a-stgefu.ads | ytomino/drake | 33 | 27577 | pragma License (Unrestricted);
-- generalized unit of Ada.Strings.Fixed
generic
type Character_Type is (<>);
type String_Type is array (Positive range <>) of Character_Type;
Space : Character_Type;
package Ada.Strings.Generic_Functions is
pragma Preelaborate;
-- "Copy" procedure for strings of possibl... |
code/editor/gui/gui-file-error.asm | abekermsx/skooted | 3 | 97392 | <filename>code/editor/gui/gui-file-error.asm
gui_file_error:
ld a,(bdos_error_code)
and %1110
ld de,gui_error_disk_write_protected
jr z,gui_file_error_display
cp 2
ld de,gui_error_disk_offline
jr z,gui_file_error_display
ld de,gui_error_disk_error
gui... |
oeis/180/A180966.asm | neoneye/loda-programs | 11 | 96101 | <reponame>neoneye/loda-programs<filename>oeis/180/A180966.asm
; A180966: Hankel transform of A123164.
; Submitted by <NAME>(s4)
; 1,4,28,384,10496,573440,62652416,13690208256,5982889443328,5229277301702656,9141181343655264256,31958984107701798174720,223467104335874481157308416,3125102257923487167715657908224,8740672727... |
src/gen-model-enums.ads | My-Colaborations/dynamo | 0 | 21959 | -----------------------------------------------------------------------
-- gen-model-enums -- Enum definitions
-- Copyright (C) 2011, 2012, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the Lic... |
src/MFORTH/mforthwords/breg.asm | malyn/MFORTH | 10 | 247030 | <filename>src/MFORTH/mforthwords/breg.asm
; Copyright (c) 2009-2010, <NAME> <<EMAIL>>.
; 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 above c... |
autocompletion/Formula.g4 | lzh-personal/IDETech | 2 | 2860 | grammar Formula;
/** entry point */
start: expression EOF;
expression
: '(' expression ')'
| '-' expression
| <assoc=right> left=expression op='^' right=expression
| left=expression op=('*' | '/') right=expression
| le... |
agda-stdlib-0.9/src/Data/Bool.agda | qwe2/try-agda | 1 | 1529 | <reponame>qwe2/try-agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Booleans
------------------------------------------------------------------------
module Data.Bool where
open import Function
open import Data.Unit using (⊤)
open import Data.Empty
open ... |
data/pokemon/base_stats/blissey.asm | genterz/pokecross | 28 | 164767 | db BLISSEY ; 242
db 255, 10, 10, 55, 75, 135
; hp atk def spd sat sdf
db NORMAL, NORMAL ; type
db 30 ; catch rate
db 255 ; base exp
db NO_ITEM, LUCKY_EGG ; items
db GENDER_F100 ; gender ratio
db 100 ; unknown 1
db 40 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/blissey/front.dime... |
oeis/022/A022029.asm | neoneye/loda-programs | 11 | 88725 | ; A022029: a(n) = 3*a(n-1) + a(n-2) - a(n-3) - a(n-5).
; Submitted by <NAME>
; 4,13,42,135,433,1388,4449,14260,45706,146496,469546,1504979,4823727,15460908,49554976,158832563,509086778,1631714194,5229935889,16762880107,53728029453,172207945799,551957272549
mov $4,2
lpb $4
mov $1,4
mov $2,5
mov $3,8
mov $4,1
... |
c/cgen/test.asm | simonlovgren/tests | 0 | 175988 | .globl main
.text
main:
addi $a0 $zero 100
sw $a0 0($sp)
addi $sp $sp -4
addi $a0 $zero 123
lw $t1 4($sp)
addi $sp $sp 4
sub $a0 $a0 $t1
sw $a0 0($sp)
addi $sp $sp -4
addi $a0 $zero 456
lw $t1 4($sp)
addi $sp $sp 4
add $a0 $a0 $t1
li $v0, 10
syscall
|
src/templates/ada/avtas/lmcp/avtas-lmcp-bytebuffers.ads | joffreyhuguet/LmcpGen | 0 | 7709 | <reponame>joffreyhuguet/LmcpGen
with System; use System;
with AVTAS.LMCP.Types; use AVTAS.LMCP.Types;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package AVTAS.LMCP.ByteBuffers is
Maximum_Length : constant := UInt32'Last - 1;
subtype Index is UInt32 range 1 .. Maximum_Length;
... |
programs/oeis/143/A143545.asm | neoneye/loda | 22 | 21048 | <reponame>neoneye/loda<filename>programs/oeis/143/A143545.asm
; A143545: a(n) = n unless n is a prime, in which case a(n) = 2n.
; 1,4,6,4,10,6,14,8,9,10,22,12,26,14,15,16,34,18,38,20,21,22,46,24,25,26,27,28,58,30,62,32,33,34,35,36,74,38,39,40,82,42,86,44,45,46,94,48,49,50,51,52,106,54,55,56,57,58,118,60,122,62,63,64,65... |
source/base/incr-documents.ads | reznikmm/increment | 5 | 7470 | <gh_stars>1-10
-- Copyright (c) 2015-2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Incr.Version_Trees;
limited with Incr.Nodes.Tokens;
package Incr.Documents is
-- @summary
-- Document representation
... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c97201x.ada | best08618/asylo | 7 | 3980 | <gh_stars>1-10
-- C97201X.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.... |
fourier/chirped_demo_1.adb | jscparker/math_packages | 30 | 18203 | <filename>fourier/chirped_demo_1.adb
-- Procedure tests DFT_Chirped. Code fragments
-- demonstrate some features of DFT's.
with Chirped;
with Text_IO; use Text_IO;
with Ada.Numerics.Generic_Elementary_Functions;
procedure chirped_demo_1 is
type Real is digits 15;
package mth is new Ada.Numerics.Generic_Ele... |
Laburi/Lab4/3-4-sum-n/sum_n_square.asm | DanBrezeanu/IOCLA | 2 | 105256 | <filename>Laburi/Lab4/3-4-sum-n/sum_n_square.asm
%include "io.inc"
section .data
num dd 100
section .text
global CMAIN
CMAIN:
mov ebp, esp; for correct debugging
;write your code here
xor eax, eax
mov ecx, [num]
add_to_sum:
;push ecx
;imul ecx, ecx
;add eax, ecx
;pop ecx
p... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_17_315.asm | ljhsiun2/medusa | 9 | 25511 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1141c, %rcx
nop
nop
nop
nop
and $19769, %rax
movb (%rcx), %r12b
nop
nop
nop
nop
nop
sub %r8, %r8
lea addresses_UC_ht+0x13dec, %r14
nop
nop
nop
nop
xor %rbx, %rbx
mo... |
Cubical/Experiments/List.agda | dan-iel-lee/cubical | 0 | 1681 | <filename>Cubical/Experiments/List.agda
{-
An experiment of transporting rev-++-distr from lists to lists where
the arguments to cons have been flipped inspired by section 2 of
https://arxiv.org/abs/2010.00774
Note that Agda doesn't care about the order of constructors so we
can't do exactly the same example.
-}
{-#... |
projet.adb | Brawdunoir/administrative-family-tree-manager | 0 | 19190 | procedure Trouver_Position (Arbre : in T_Pointeur; Cle : in T_Cle; Position : in out T_Pointeur) is
begin
if Arbre.Cle = Cle then
Position := Arbre;
elsif Arbre = null then
null;
else
Trouver_Position (Arbre.all.Fils_Gauche, Cle, Position);
... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_935.asm | ljhsiun2/medusa | 9 | 97329 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1b49f, %rsi
lea addresses_normal_ht+0x1e99f, %rdi
nop
nop
nop
and $21934, %rbp
mov $83, %rcx
rep movsl
nop
sub %r9, %r9
lea addresses_UC_ht+0xcb9f, %rdx
sub %r13, %r13
mo... |
src/kernel/drivers/io/device_io_cseg.asm | rostislav-nikitin/socOS | 1 | 105296 | <reponame>rostislav-nikitin/socOS
;=======================================================================================================================
; ;
; Name: socOS (System On Chip Operation Syst... |
programs/oeis/052/A052968.asm | karttu/loda | 1 | 172462 | <filename>programs/oeis/052/A052968.asm
; A052968: a(n) = 1 + 2^(n-1) + n for n > 0, a(0) = 2.
; 2,3,5,8,13,22,39,72,137,266,523,1036,2061,4110,8207,16400,32785,65554,131091,262164,524309,1048598,2097175,4194328,8388633,16777242,33554459,67108892,134217757,268435486,536870943,1073741856,2147483681,4294967330,8589934627... |
programs/oeis/122/A122002.asm | jmorken/loda | 1 | 19647 | ; A122002: a(0)=5; otherwise a(n) = (n mod 4) if n is odd, a(n) = h + 4, where h = (highest odd divisor of n) mod 4 if n is even.
; 5,1,5,3,5,1,7,3,5,1,5,3,7,1,7,3,5,1,5,3,5,1,7,3,7,1,5,3,7,1,7,3,5,1,5,3,5,1,7,3,5,1,5,3,7,1,7,3,7,1,5,3,5,1,7,3,7,1,5,3,7,1,7,3,5,1,5,3,5,1,7,3,5,1,5,3,7,1,7,3,5,1,5,3,5,1,7,3,7,1,5,3,7,1,... |
test/Succeed/HereditarilySingletonRecord.agda | redfish64/autonomic-agda | 0 | 6134 | -- Modified: Andreas, 2011-04-11 freezing Metas
module HereditarilySingletonRecord where
data _≡_ {A : Set} (x : A) : A → Set where
refl : x ≡ x
-- * trivial unit type
record Singleton : Set where
foo : Singleton
foo = _
-- * product of unit types
record HereditarilySingleton : Set where
field
singleton ... |
io-test2.agda | rfindler/ial | 29 | 669 | module io-test2 where
open import io
open import list
open import string
open import unit
main : IO ⊤
main = getArgs >>= cont
where cont : 𝕃 string → IO ⊤
cont [] = return triv
cont (x :: xs) = (readFiniteFile x) >>= putStr
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1063.asm | ljhsiun2/medusa | 9 | 174842 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x8298, %r9
clflush (%r9)
nop
xor $46748, %rcx
mov (%r9), %r12d
and $34817, %rdx
lea addresses_normal_ht+0x1335c, %rax
nop
nop
nop
add %r10, %r10
movups (%rax), %xmm0... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_1507.asm | ljhsiun2/medusa | 9 | 90667 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x2e2b, %rsi
lea addresses_D_ht+0x762b, %rdi
nop
nop
nop
nop
add %rbp, %rbp
mov $26, %rcx
rep movsq
nop
nop
and $9885, %r13
lea addresses_WT_ht+0x1ce2b, %rsi
lea addresses_norma... |
oeis/078/A078029.asm | neoneye/loda-programs | 11 | 174359 | ; A078029: Expansion of (1-x)/(1-2*x^3).
; Submitted by <NAME>
; 1,-1,0,2,-2,0,4,-4,0,8,-8,0,16,-16,0,32,-32,0,64,-64,0,128,-128,0,256,-256,0,512,-512,0,1024,-1024,0,2048,-2048,0,4096,-4096,0,8192,-8192,0,16384,-16384,0,32768,-32768,0,65536,-65536,0,131072,-131072,0,262144,-262144,0,524288,-524288,0,1048576,-1048576,0,... |
programs/oeis/157/A157619.asm | karttu/loda | 1 | 174692 | <reponame>karttu/loda<gh_stars>1-10
; A157619: 31250n - 22150.
; 9100,40350,71600,102850,134100,165350,196600,227850,259100,290350,321600,352850,384100,415350,446600,477850,509100,540350,571600,602850,634100,665350,696600,727850,759100,790350,821600,852850,884100,915350,946600,977850,1009100,1040350,1071600,1102850,113... |
programs/oeis/261/A261723.asm | neoneye/loda | 22 | 22834 | ; A261723: Interleave 2^n + 2 and 2^n + 1.
; 4,3,6,5,10,9,18,17,34,33,66,65,130,129,258,257,514,513,1026,1025,2050,2049,4098,4097,8194,8193,16386,16385,32770,32769,65538,65537,131074,131073,262146,262145,524290,524289,1048578,1048577,2097154,2097153,4194306,4194305,8388610,8388609,16777218,16777217,33554434,33554433,67... |
src/latin_utils/latin_utils-config.ads | lenzomj/whitakers-words | 204 | 7462 | -- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is Copyrighted
-- (c). Permission i... |
oeis/284/A284016.asm | neoneye/loda-programs | 11 | 20889 | <gh_stars>10-100
; A284016: a(-1)=-1; a(n) = 2*A000108(n) for n >= 0.
; -1,2,2,4,10,28,84,264,858,2860,9724,33592,117572,416024,1485800,5348880,19389690,70715340,259289580,955277400,3534526380,13128240840,48932534040,182965127280,686119227300,2579808294648,9723892802904,36734706144304,139067101832008,527495903500720,20... |
target/cos_117/disasm/iop_overlay1/FIRECODE.asm | jrrk2/cray-sim | 49 | 23201 | 0x0000 (0x000000) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0001 (0x000002) 0x2926- f:00024 d: 294 | OR[294] = A
0x0002 (0x000004) 0x2927- f:00024 d: 295 | OR[295] = A
0x0003 (0x000006) 0x2928- f:00024 d: 296 | OR[296] = A
... |
Palmtree.Math.Core.Implements/vs_build/x86_Release/pmc_compare.asm | rougemeilland/Palmtree.Math.Core.Implements | 0 | 95910 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
TITLE Z:\Sources\Lunor\Repos\rougemeilland\Palmtree.Math.Core.Implements\Palmtree.Math.Core.Implements\pmc_compare.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
PUBLIC _Compare_Imp
PUBLIC _Initia... |
src/fmt-time_argument.adb | likai3g/afmt | 0 | 12076 | with Ada.Calendar.Time_Zones;
with Ada.Calendar.Formatting;
with Fmt.Integer_Argument;
package body Fmt.Time_Argument is
Default_Time_Edit : aliased constant String := "%Y-%m-%d %H:%M:%S";
overriding
function Get_Placeholder_Width (
Self : in out Time_Argument_Type;
Name : Character)
return... |
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sccz80/tshc_aaddrpdown.asm | Frodevan/z88dk | 640 | 102185 | <gh_stars>100-1000
; void *tshc_aaddrpdown(void *saddr)
SECTION code_clib
SECTION code_arch
PUBLIC tshc_aaddrpdown
EXTERN zx_saddrpdown
defc tshc_aaddrpdown = zx_saddrpdown
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _tshc_aaddrpdown
defc _tshc_aaddrpdown = tshc_aaddrpdown
ENDIF
|
tier-1/xcb/source/thin/xcb-pointer_pointers.ads | charlie5/cBound | 2 | 20036 | -- This file is generated by SWIG. Please do not modify by hand.
--
with xcb.Pointers;
with Interfaces.C;
with Interfaces.C.Pointers;
package xcb.pointer_Pointers is
-- xcb_connection_t_Pointer_Pointer
--
package C_xcb_connection_t_Pointer_Pointers is new Interfaces.C.Pointers
(Index => Int... |
Numbers/ClassicalReals/Sequences.agda | Smaug123/agdaproofs | 4 | 14804 | <reponame>Smaug123/agdaproofs
{-# OPTIONS --safe --warning=error --without-K --guardedness #-}
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
open import Numbers.ClassicalReals.RealField
open import LogicalFormulae
open import Setoids.Subset
open import Setoids.Setoids
open import Setoids.Orders
open impo... |
oeis/162/A162561.asm | neoneye/loda-programs | 11 | 165021 | ; A162561: a(n) = ((4+sqrt(3))*(5+sqrt(3))^nv+v(4-sqrt(3))*(5-sqrt(3))^n)/2.
; Submitted by <NAME>
; 4,23,142,914,6016,40052,268168,1800536,12105664,81444848,548123872,3689452064,24835795456,167190009152,1125512591488,7576945713536,51008180122624,343388995528448,2311709992586752,15562542024241664,104767800405508096,705... |
src/Utilities/xml_scanners.ads | fintatarta/eugen | 0 | 28278 | with DOM.Core;
with Ada.Finalization;
package XML_Scanners is
--
-- As well knnown, an XML document is a tree. An XML_Scanner is
-- an object associated to a tree of the node that allows to
-- iterate over the node children. At every time there is a
-- "current child." The function Scan returns the c... |
alloy4fun_models/trashltl/models/17/33RcNNnHqqcvLhHvy.als | Kaixi26/org.alloytools.alloy | 0 | 5336 | open main
pred id33RcNNnHqqcvLhHvy_prop18 {
(all f:Protected | f not in Protected since f in Trash)
}
pred __repair { id33RcNNnHqqcvLhHvy_prop18 }
check __repair { id33RcNNnHqqcvLhHvy_prop18 <=> prop18o } |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/warn2.adb | best08618/asylo | 7 | 26562 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/warn2.adb
-- { dg-do compile }
with Unchecked_Conversion;
procedure warn2 is
type R1 is record X : Integer; end record;
type R2 is record X, Y : Integer; end record;
pragma Warnings
(Off, "types for unchecked conversion have different sizes");
fun... |
Assembly Final Project -9532250.asm | hosseindehghanipour1998/Assembly-Project | 1 | 86723 | <filename>Assembly Final Project -9532250.asm
.386
.MODEL FLAT
ExitProcess PROTO NEAR32 stdcall, dwExitCode:DWORD
include io.h
cr EQU 0dh ; carriage return character
Lf E... |
asm/kernels/second.asm | icefoxen/lang | 0 | 95056 | <reponame>icefoxen/lang<gh_stars>0
; second.asm
; Just like first.asm 'cept it prints a string
;
; compile with:
; nasm -f elf second.asm
; ld --oformat=elf32-i386 -Ttext 100000 first.o -o kernel
;
;
; <NAME>
; 21/5/2003
global _start
_start
jmp start2
align 4
dd 0x1badb002
dd 0
dd 0 - 0x1badb002
start2:
mov... |
pd-x16-pixel.asm | lvcabral/x16-petdraw | 0 | 169056 | //Petdraw (Commander X16 version)
//by <NAME> 2019
//<EMAIL>
//
//Converted to KickAssembler
//by <NAME> 2020
//https://github.com/lvcabral
// The following routine is the Pixel-Draw screen
// which allows the user to draw using an 80x50 matrix
// of PETSCII block characters. it is accessed by
// pressing F3.
PIXEL_D... |
oeis/020/A020825.asm | neoneye/loda-programs | 11 | 13570 | ; A020825: Decimal expansion of 1/sqrt(68).
; Submitted by <NAME>
; 1,2,1,2,6,7,8,1,2,5,1,8,1,6,6,4,8,6,7,5,9,4,5,3,2,3,1,0,5,8,0,6,1,0,8,8,9,7,4,9,1,7,6,2,4,2,7,5,6,9,4,7,1,8,6,5,8,7,8,3,3,4,0,3,8,5,1,4,5,7,1,6,0,6,8,7,5,3,5,7,6,2,8,1,9,9,5,9,8,9,7,2,9,7,2,6,0,0,8,7
mov $1,1
mov $2,1
mov $3,$0
add $3,8
mov $4,$0
add ... |
core/src/code_generation/tests/expression-3.asm | mari-linhares/GoCompiler | 1 | 9525 | 100: LD SP, #4000
108: LD R1, #10
116: ST y, R1
124: MUL R2, #3, R1
132: ADD R3, #1, R2
140: ST x, R3
148: SUB R4, R1, R3
156: BGEZ R4, #180
164: LD R4, #true
172: BR #188
180: LD R4, #false
188: ST w, R4
|
Definition/Typed/Weakening.agda | loic-p/logrel-mltt | 0 | 6764 | {-# OPTIONS --without-K --safe #-}
module Definition.Typed.Weakening where
open import Definition.Untyped as U hiding (wk)
open import Definition.Untyped.Properties
open import Definition.Typed
import Tools.PropositionalEquality as PE
-- Weakening type
data _∷_⊆_ : Wk → Con Term → Con Term → Set where
id : ∀ ... |
rewrite-hcl/src/main/antlr/HCLLexer.g4 | kevinvandervlist/rewrite | 457 | 6470 | lexer grammar HCLLexer;
@lexer::header
{import java.util.Stack;}
@lexer::members
{
private enum CurlyType {
INTERPOLATION,
OBJECT
}
private Stack<CurlyType> leftCurlyStack = new Stack<CurlyType>();
private Stack<String> heredocIdentifier = new Stack<String>();
}
FOR_BRACE ... |
netMLLanguage/netMLLanguage.g4 | netmatze/NetML | 1 | 6720 | grammar netMLLanguage;
/*
Lexer Rules
*/
MINUS : '-';
POINT : '.';
IS : '=';
TRUE : 'true';
FALSE : 'false';
NULL : 'null';
DOUBLEQUOTE : '"';
CREATE : 'create';
CLASSIFICATION : 'classification';
KNN : 'knn';
EUCLIDMETRIC : 'euclidmetric';
MANHA... |
src/tutorialspoint.com/src/example12.asm | ishirshov/NASM-tutorial-for-Unix | 0 | 103680 | %include "defines.inc"
section .bss
num resb 1
section .text
global _start
_start:
mov ecx, 10
mov eax, '1'
l1:
; print out the number which stores in num var
mov [num], eax
push ecx ; ECX register contains the loop count
; when the loop is executed the ECX reg... |
regge.ads | leo-brewin/Regge | 0 | 475 | <gh_stars>0
-- Copyright (c) 2017, <NAME> <<EMAIL>>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE... |
VirtualMachine/Win32/UnitTests/Arithmetic/test4_divdd_Arithmetic.asm | ObjectPascalInterpreter/BookPart_3 | 8 | 166126 | # Test 4 - divide
pushd 12.5
pushd 0.5
divide
halt |
tests/expect/tests/do-while.asm | brenden7158/v86 | 12,700 | 88486 | BITS 32
start:
inc ebx
cmp eax, 10
jnz start
hlt
|
libsrc/stdio/ansi/z88/f_ansi_bel.asm | meesokim/z88dk | 0 | 91339 | ;
; Bell for the ANSI terminal
;
; djm 6/6/2000
;
;
; $Id: f_ansi_bel.asm,v 1.4 2015/01/19 01:33:19 pauloscustodio Exp $
;
PUBLIC ansi_BEL
INCLUDE "stdio.def"
.ansi_BEL
ld a,7
call_oz(os_out)
ret
|
programs/oeis/116/A116723.asm | jmorken/loda | 1 | 163686 | ; A116723: We have one bead labeled i for every i=1, 2, ...; a(n) = number of necklaces that can be made using any subset of the first n beads.
; 1,2,4,8,18,53,219,1201,8055,62860,556070,5488126,59740688,710771367,9174170117,127661752527,1904975488573,30341995265190,513771331467544,9215499383109764
mov $2,$0
lpb $2
... |
lib/intwrap82.asm | dex4er/deb-z88dk | 1 | 5056 | ; Ti82 interrupt 'wrapper' - by <NAME>
;-----------------------------------------------------------------------------
; The z88dk makes extensively use of the shadow registers (EXX and EX AF,AF)
; The Ti82 system interrupt doesn't preserve (any of) these regs and
; could thus crash your program. The workaround is to u... |
Assembly/Project/Gui.StringFormat.asm | Myself086/Project-Nested | 338 | 102491 |
// ---------------------------------------------------------------------------
.macro Gui__WriteTextFormat text, left, top, right
.precall Gui__WriteTextFormat
ldy #_Zero+{0}
lda #_Zero+{1}
sta $.Param_left
lda #_Zero+{3}+1
sta $.Param_right
lda #_Zero+{2}
sta $.Param_top
call
.endm
.macro Gui_... |
tests/test_send_global.asm | moitias/sointu | 0 | 929 | <reponame>moitias/sointu
%define BPM 100
%include "../src/sointu.inc"
BEGIN_PATTERNS
PATTERN 64, HLD, HLD, HLD, HLD, HLD, HLD, HLD, 0, 0, 0, 0, 0, 0, 0, 0
END_PATTERNS
BEGIN_TRACKS
TRACK VOICES(1),0
END_TRACKS
BEGIN_PATCH
BEGIN_INSTRUMENT VOICES(1) ; Instrument0
SU_LOADVAL MONO,VALUE(96)
... |
programs/oeis/320/A320933.asm | jmorken/loda | 1 | 103204 | ; A320933: a(n) = 2^n - floor((n+3)/2).
; 0,0,2,5,13,28,60,123,251,506,1018,2041,4089,8184,16376,32759,65527,131062,262134,524277,1048565,2097140,4194292,8388595,16777203,33554418,67108850,134217713,268435441,536870896,1073741808,2147483631,4294967279,8589934574,17179869166,34359738349,68719476717,137438953452,27487790... |
Constants.asm | sleepingburrito/BackIsle | 1 | 172062 | <reponame>sleepingburrito/BackIsle
;game version number VN
GAME_VN = "0"
TRUE = 1
FALSE = 0
;sram init
;=========
GAME_NAME_LENGTH = 10
SRAM_CHECKSOME_SIZE = 1
SRAM_HEADER_MAX = SRAM_CHECKSOME_SIZE + GAME_NAME_LENGTH ;number of bytes to check for same file
;drawing
;=======
SCREEN_ON_STATE = %10000011
... |
src/engine/video.asm | matanui159/celeste-gameboy | 8 | 101488 | include "../hardware.inc"
section "VBlank interrupt", rom0[$0040]
jp VBlank
section "Video ROM", rom0
;; Wait for the start of the next V-blank
VideoWait::
; First check if the LCD is enabled, if not return immediately
ldh a, [rLCDC]
bit LCDCB_ON, a
ret z
; Busy loop until first line of V-b... |
cmd/chkdsk/chkdisp.asm | minblock/msdos | 0 | 164238 | page ,132 ; ;
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;***************************************************************************** ;
;***********************************************... |
Cubical/Codata/Stream.agda | limemloh/cubical | 1 | 6515 | <reponame>limemloh/cubical<gh_stars>1-10
{-# OPTIONS --cubical #-}
module Cubical.Codata.Stream where
open import Cubical.Codata.Stream.Base public
open import Cubical.Codata.Stream.Properties public
|
programs/oeis/047/A047331.asm | karttu/loda | 1 | 82014 | ; A047331: Numbers that are congruent to {2, 3, 5, 6} mod 7.
; 2,3,5,6,9,10,12,13,16,17,19,20,23,24,26,27,30,31,33,34,37,38,40,41,44,45,47,48,51,52,54,55,58,59,61,62,65,66,68,69,72,73,75,76,79,80,82,83,86,87,89,90,93,94,96,97,100,101,103,104,107,108,110,111
mul $0,7
mov $1,$0
gcd $0,4
add $1,$0
div $1,4
add $1,1
|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_20.asm | ljhsiun2/medusa | 9 | 175969 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x12e0f, %rsi
lea addresses_A_ht+0xca1f, %rdi
nop
nop
nop
cmp $63916, %r15
mov $8, %rcx
rep movsl
nop
nop
cmp %r15, %r15
lea addresses_UC_ht+0xd738, %r9
nop
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.