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 |
|---|---|---|---|---|
sim/asm/fn11.asm | nanamake/avr_cpu | 2 | 24964 | <reponame>nanamake/avr_cpu
;-------------------
; test for ld/st
;-------------------
.def xl = r26
.def xh = r27
.def yl = r28
.def yh = r29
.def zl = r30
.def zh = r31
;-------------------
ldi r16,0xff
ldi r24,0x10
mov r7 ,r16
mov r8 ,r24
ldi r16,0x20
ldi r24,0x30... |
src/openapi-streams.ads | mgrojo/swagger-ada | 0 | 14092 | -----------------------------------------------------------------------
-- openapi-streams -- Stream operations
-- Copyright (C) 2017, 2020 <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 License.... |
.config/alfred/Alfred.alfredpreferences/workflows/user.workflow.D27B6AD4-C1F8-4105-8C0B-0E52489E70FE/app_Webkit.applescript | kuanger/dotfiles | 1 | 3619 | <filename>.config/alfred/Alfred.alfredpreferences/workflows/user.workflow.D27B6AD4-C1F8-4105-8C0B-0E52489E70FE/app_Webkit.applescript<gh_stars>1-10
on getTitle()
tell application id "org.webkit.nightly.WebKit"
using terms from application "Safari"
set theTab to front document
return name of theTab
end u... |
programs/oeis/020/A020330.asm | neoneye/loda | 22 | 177787 | <reponame>neoneye/loda
; A020330: Numbers whose base-2 representation is the juxtaposition of two identical strings.
; 3,10,15,36,45,54,63,136,153,170,187,204,221,238,255,528,561,594,627,660,693,726,759,792,825,858,891,924,957,990,1023,2080,2145,2210,2275,2340,2405,2470,2535,2600,2665,2730,2795,2860,2925,2990,3055,3120... |
Cubical/ZCohomology/Groups/Torus.agda | kl-i/cubical-0.3 | 0 | 781 | {-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.ZCohomology.Groups.Torus where
open import Cubical.ZCohomology.Base
open import Cubical.ZCohomology.Properties
open import Cubical.ZCohomology.GroupStructure
open import Cubical.ZCohomology.Groups.Connected
open import Cubical.ZCohomology.MayerViet... |
programs/fibonacci.asm | blurpy/8-bit-computer-emulator | 12 | 91490 | LDI 0 ; Put the value 0 in the A-register
STA 13 ; Store the value from the A-register in memory location 13
OUT ; Output the value of the A-register
LDI 1 ; Put the value 1 in the A-register
STA 14 ; Store the value from the A-register in memory location 14
OUT ; Output the value of the... |
notes/FOT/FOTC/Data/List/Examples.agda | asr/fotc | 11 | 4768 | <filename>notes/FOT/FOTC/Data/List/Examples.agda
------------------------------------------------------------------------------
-- Lists examples
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTI... |
src/play_sound.asm | Gegel85/SpaceShooterGB | 3 | 29423 | <reponame>Gegel85/SpaceShooterGB
;laser sound sfxOpera
;Channel1
laser::
db $1F, $CF, $85, $D0, $87
;Channel4
destruction::
db $00, $D5, $70, $80
;channel4
bam::
db $00, $95, $7D, $80
;channel4
destructionOn::
db $00, $4F, $7B, $80
;channel4
meteorDestruction::
db $00, $D3, $65, $80
;GO SFX Channel2
... |
platform/osal/winx64_src/mutex.asm | AarhusCrypto/PASTA | 0 | 7975 | <gh_stars>0
; Hand written assembly for Windows x64
.CODE
Mutex_lock PROC
; RCX has the argument
begin:
mov rax, 0
mov rbx, 1
lock cmpxchg [rcx],rbx
or rax,rax
jnz begin
ret
Mutex_lock ENDP
end |
Examples/qt/qtwidgetnasm/asm/qchar.asm | agguro/linux-nasm | 6 | 24635 | ;name: qchar.asm
;
;description:
;
bits 64
global getunicode
global setunicode
section .text
getunicode:
xor rax,rax ; rax = 0
mov ax,word[rdi] ; get unicode in ax
ret
setunicode:
mov ax,0x0047
ret
|
asgn3/prob1.asm | debargham14/Microprocessors-8085- | 0 | 922 | <reponame>debargham14/Microprocessors-8085-
LXI H,2600
XCHG
LXI H,2500
MOV B,M
LOOP: INX H
MOV A,M
RRC
JNC COND2
RLC
XCHG
MOV M,A
INX H
XCHG
JMP SKIP
COND2: RLC
RLC
JNC SKIP
RRC
XCHG
MOV M,A
INX H
XCHG
SKIP: DCR B
JNZ LOOP
... |
Code_0.asm | vishnuajith/PIC-18-Example-Codes | 0 | 166617 | <reponame>vishnuajith/PIC-18-Example-Codes
;*******************************************************************
;* Description : Copy literal to WREG and performing Addition
;* [MY FIRST PIC 18 CODE]
;********************************************************************
#include<p18f452.inc>
ORG 0
MOVLW 10
A... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_12_1422.asm | ljhsiun2/medusa | 9 | 166440 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1d617, %rsi
lea addresses_normal_ht+0xb417, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
xor %r13, %r13
mov $14, %rcx
rep movsw
nop
nop
nop
nop
nop
add $56969, %rbp
lea addresses_D_ht+... |
sound/musicasm/Emerald.asm | NatsumiFox/Sonic-3-93-Nov-03 | 7 | 102756 | Emerald_Header:
sHeaderInit ; Z80 offset is $C96A
sHeaderPatch Emerald_Patches
sHeaderCh $07, $03
sHeaderTempo $01, $35
sHeaderDAC Emerald_DAC
sHeaderFM Emerald_FM1, $F4, $08
sHeaderFM Emerald_FM2, $F4, $08
sHeaderFM Emerald_FM3, $F4, $07
sHeaderFM Emerald_FM4, $F4, $16
sHeaderFM Emerald_FM5, $F4, $16
s... |
programs/oeis/154/A154612.asm | neoneye/loda | 22 | 89334 | ; A154612: 17n + 7.
; 7,24,41,58,75,92,109,126,143,160,177,194,211,228,245,262,279,296,313,330,347,364,381,398,415,432,449,466,483,500,517,534,551,568,585,602,619,636,653,670,687,704,721,738,755,772,789,806,823,840,857,874,891,908,925,942,959,976,993,1010,1027,1044,1061,1078,1095,1112,1129,1146,1163,1180,1197,1214,1231... |
programs/oeis/056/A056051.asm | karttu/loda | 0 | 96209 | ; A056051: a(n) = (n-2)! - 1 (mod n).
; 0,0,1,0,-1,0,-1,-1,-1,0,-1,0,-1,-1,-1,0,-1,0,-1,-1,-1,0,-1,-1,-1,-1,-1,0,-1,0,-1,-1,-1,-1,-1,0,-1,-1,-1,0,-1,0,-1,-1,-1,0,-1,-1,-1,-1,-1,0,-1,-1,-1,-1,-1,0,-1,0,-1,-1,-1,-1,-1,0,-1,-1,-1,0,-1,0,-1,-1,-1,-1,-1,0,-1,-1,-1,0,-1,-1,-1,-1,-1,0,-1,-1,-1,-1,-1,-1,-1,0,-1,-1,-1,0,-1,0,-1... |
oeis/130/A130716.asm | neoneye/loda-programs | 11 | 175891 | <gh_stars>10-100
; A130716: a(0)=a(1)=a(2)=1, a(n)=0 for n>2.
; Submitted by <NAME>
; 1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
div $0,3
cmp $0,0
|
test/Fail/NoPatternMatching.agda | cruhland/agda | 1,989 | 12254 | {-# OPTIONS --no-pattern-matching #-}
id : {A : Set} (x : A) → A
id x = x
data Unit : Set where
unit : Unit
fail : Unit → Set
fail unit = Unit
-- Expected error: Pattern matching is disabled
|
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca.log_21829_1568.asm | ljhsiun2/medusa | 9 | 103421 | .global s_prepare_buffers
s_prepare_buffers:
push %r8
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x3ec4, %rsi
lea addresses_D_ht+0xcc94, %rdi
clflush (%rsi)
nop
dec %rbx
mov $78, %rcx
rep movsb
nop
nop
nop
nop
nop
add $31890, %r8
lea addresses_UC_ht+0x1a714, %rsi
lea addres... |
Task/Rot-13/AppleScript/rot-13-4.applescript | LaudateCorpus1/RosettaCodeData | 1 | 2749 | <reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Rot-13/AppleScript/rot-13-4.applescript<gh_stars>1-10
-- ROT 13 --------------------------------------------------------------------
-- rot13 :: String -> String
on rot13(str)
script rt13
on |λ|(x)
if (x ≥ "a" and x ≤ "m") or (x ≥ "A" and x... |
Cubical/Homotopy/Whitehead.agda | thomas-lamiaux/cubical | 1 | 17250 | {-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Homotopy.Whitehead where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Pointed
open import Cubical.... |
oeis/033/A033906.asm | neoneye/loda-programs | 11 | 177346 | <filename>oeis/033/A033906.asm<gh_stars>10-100
; A033906: Sort then Add!.
; Submitted by <NAME>
; 20,22,44,88,176,343,677,1354,2699,5398,8987,16876,33554,67009,67688,134476,268943,503632,526988,783877,1161665,2277331,3500708,3504286,3738854,7084642,7329320,7552699,10109498,10224397,11447876,22894654
mov $1,20
lpb $0
... |
1A/S5/PIM/tps/tp1/min_max_serie.adb | MOUDDENEHamza/ENSEEIHT | 4 | 5682 | <filename>1A/S5/PIM/tps/tp1/min_max_serie.adb
with Text_IO;
use Text_IO;
with Ada.Integer_Text_IO;
use Ada.Integer_Text_IO;
-- Afficher le plus petit et le plus grand élément d'une série d'entiers
-- naturels lus au clavier. La saisie de la série se termine par 0
-- (qui n'appartient pas à la série).
-- Exemple : 2, ... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_elab.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 27551 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
archive/agda-3/src/Oscar/Data/ProperlyExtensionNothing.agda | m0davis/oscar | 0 | 9233 |
open import Oscar.Prelude
open import Oscar.Data.𝟘
module Oscar.Data.ProperlyExtensionNothing where
module _
{𝔵} {𝔛 : Ø 𝔵}
{𝔬} {𝔒 : 𝔛 → Ø 𝔬}
{ℓ}
{ℓ̇} {_↦_ : ∀ {x} → 𝔒 x → 𝔒 x → Ø ℓ̇}
where
record ProperlyExtensionNothing (P : ExtensionṖroperty ℓ 𝔒 _↦_) : Ø 𝔵 ∙̂ 𝔬 ∙̂ ℓ where
constructor... |
tests/kat/cshake_runner.adb | damaki/libkeccak | 26 | 632 | <gh_stars>10-100
-------------------------------------------------------------------------------
-- Copyright (c) 2019, <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:
-- * Redistri... |
list1/task2/src/poly.adb | luk9400/nsi | 0 | 19026 | package body Poly with SPARK_Mode is
function Horner (X: Integer; A: Vector) return Integer is
Acc: Integer := 0;
Aux: Integer := 0 with Ghost;
begin
for Index in reverse A'First .. A'Last loop
Acc := A (Index) + (Acc * X);
Aux := Aux + A (Index) * (X ** (Index - A'First));
... |
test/fail/PositivityCheckNeedsLinearityCheck.agda | asr/agda-kanso | 1 | 8746 | <reponame>asr/agda-kanso
-- This is an example emphasizing the important of a linearity check
-- in the positivity check.
--
-- Currently it does not type check since there is no universe subtyping.
module PositivityCheckNeedsLinearityCheck where
data Eq (S : Set2) : Set2 -> Set where
refl : Eq S S
subst' : {S S' ... |
TurtleTools/Examples/test_le.asm | foxostro/TurtleTTL | 1 | 168401 | <reponame>foxostro/TurtleTTL
LI A, 0
LI B, 1
CMP
LXY is_le
JLE
NOP
NOP
LI A, 0xff
LI B, 0xff
LI U, 0xff
LI V, 0xff
LI X, 0xff
LI Y, 0xff
HLT
is_le:
LI A, 0xaa
LI B, 0xaa
LI U, 0xaa
LI V, 0xaa
LI X, 0xaa
LI Y, 0xaa
HLT |
src/agda/FRP/JS/Geolocation/Coords.agda | agda/agda-frp-js | 63 | 12855 | <filename>src/agda/FRP/JS/Geolocation/Coords.agda
open import FRP.JS.Geolocation.Angle using ( Angle ) renaming ( toString to toString° )
open import FRP.JS.String using ( String ; _++_ )
module FRP.JS.Geolocation.Coords where
-- Not including the optional fields yet.
record Coords : Set where
field
latitude :... |
tpantlr2-code/code/reference/foo/Count.g4 | cgonul/antlr-poc | 10 | 2150 | <reponame>cgonul/antlr-poc
grammar Count;
@header {
package foo;
}
@members {
int count = 0;
}
list
@after {System.out.println(count+" ints");}
: INT {count++;} (',' INT {count++;} )*
;
INT : [0-9]+ ;
WS : [ \r\t\n]+ -> skip ;
|
examples/GUIgeneric/GUIModelExample.agda | stephanadls/state-dependent-gui | 2 | 194 | open import Data.Bool
module GUIgeneric.GUIModelExample where
open import GUIgeneric.Prelude renaming (inj₁ to secondButton; inj₂ to firstButton; WxColor to Color) hiding (IOInterfaceˢ)
open import GUIgeneric.GUIDefinitions renaming (add to add'; add' to add; ComponentEls to Frame)
open import GUIgeneric.GUI
open im... |
libsrc/math/cpcmath/tan.asm | RC2014Z80/z88dk | 8 | 103823 | <filename>libsrc/math/cpcmath/tan.asm
;
; CPC Maths Routines
;
; August 2003 **_|warp6|_** <kbaccam /at/ free.fr>
;
; $Id: tan.asm,v 1.4 2016-06-22 19:50:49 dom Exp $
;
SECTION code_fp
INCLUDE "cpcfirm.def"
INCLUDE "cpcfp.def"
PUBLIC tan
PUBLIC tanc
EXTERN get_para
.tan call g... |
third_party/antlr_grammars_v4/python/python2-js/Python2.g4 | mikhan808/rsyntaxtextarea-antlr4-extension | 4 | 6327 | <reponame>mikhan808/rsyntaxtextarea-antlr4-extension
/*
* Parser grammar taken directly from official Python 2.7.13 grammar
* with only minor syntactical changes (instances of [X] changed to (X)?, and
* semicolons added to ends of rules).:
* https://docs.python.org/2/reference/grammar.html
*
* Added lexer rules, ... |
theorems/cw/cohomology/cochainequiv/HigherCoboundaryCommSquare.agda | timjb/HoTT-Agda | 0 | 13451 | <reponame>timjb/HoTT-Agda
{-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import cw.CW
open import cw.FinCW
open import cw.FinBoundary
open import cohomology.Theory
module cw.cohomology.cochainequiv.HigherCoboundaryCommSquare (OT : OrdinaryTheory lzero)
{n} (⊙fin-skel : ⊙FinSkeleton (S (S n))) where
... |
RuntimeIntegrationTests/CPPGrammar/CPPGrammarLib/CPP14.g4 | Agrabski/Antlr_fork | 0 | 3631 | <filename>RuntimeIntegrationTests/CPPGrammar/CPPGrammarLib/CPP14.g4
/*******************************************************************************
* The MIT License (MIT)
Copyright (c) 2015 <NAME> (Camiloasc1)
Permission is hereby
* granted, free of charge, to any person obtaining a copy
of this software and a... |
alloy4fun_models/trashltl/models/17/5GCGTKDEG9PFN9izc.als | Kaixi26/org.alloytools.alloy | 0 | 728 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id5GCGTKDEG9PFN9izc_prop18 {
always all f: Protected | f in Trash triggered f not in Protected
}
pred __repair { id5GCGTKDEG9PFN9izc_prop18 }
check __repair { id5GCGTKDEG9PFN9izc_prop18 <=> prop18o } |
programs/oeis/083/A083686.asm | neoneye/loda | 22 | 247175 | <filename>programs/oeis/083/A083686.asm<gh_stars>10-100
; A083686: a(0) = 8; for n>0, a(n) = 2*a(n-1) - 1.
; 8,15,29,57,113,225,449,897,1793,3585,7169,14337,28673,57345,114689,229377,458753,917505,1835009,3670017,7340033,14680065,29360129,58720257,117440513,234881025,469762049,939524097,1879048193,3758096385,7516192769... |
stm32f1/stm32gd-timeout.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 29382 | <reponame>ekoeppen/STM32_Generic_Ada_Drivers<gh_stars>1-10
with STM32GD.RTC;
package body STM32GD.Timeout is
Microseconds_Timeout : Microseconds;
Milliseconds_Timeout : Milliseconds;
Seconds_Timeout : Seconds;
procedure Set (T : Microseconds) is
begin
null;
end Set;
procedure Set (T : Mil... |
extra/extra/Even.agda | manikdv/plfa.github.io | 1,003 | 16822 | <reponame>manikdv/plfa.github.io
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; sym; trans; cong; cong-app)
open Eq.≡-Reasoning
open import Data.Nat using (ℕ; zero; suc; _+_; _*_)
open import Data.Product using (∃; _,_)
+-assoc : ∀ (m n p : ℕ) → m + (n + p) ≡ (m + n) + p
+-assoc zero n p ... |
source/a-excide.ads | ytomino/drake | 33 | 28208 | <filename>source/a-excide.ads
pragma License (Unrestricted);
-- extended unit
private with System.Unwind;
package Ada.Exception_Identification is
-- "Pure" version of Ada.Exceptions.
pragma Pure;
type Exception_Id is private;
pragma Preelaborable_Initialization (Exception_Id);
Null_Id : constant Excep... |
libsrc/_DEVELOPMENT/adt/p_forward_list/z80/asm_p_forward_list_size.asm | jpoikela/z88dk | 640 | 174887 |
; ===============================================================
; Dec 2013
; ===============================================================
;
; size_t p_forward_list_size(p_forward_list_t *list)
;
; Return number of items in list. O(n).
;
; ===============================================================
SECTION ... |
Categories/Object/Terminal/Exponentiating.agda | copumpkin/categories | 98 | 6099 | {-# OPTIONS --universe-polymorphism #-}
open import Categories.Category
open import Categories.Object.Products
open import Categories.Object.Terminal
open import Level
module Categories.Object.Terminal.Exponentiating {o ℓ e : Level}
(C : Category o ℓ e)
(P : Products C) where
open Category C
open Products P
... |
tools-src/gnu/gcc/gcc/ada/4vintnam.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 13785 | ------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
source/web/servlet/websocket/web_socket-listeners.ads | svn2github/matreshka | 24 | 22331 | <reponame>svn2github/matreshka<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
test/Fail/Issue308b.agda | cruhland/agda | 1,989 | 9754 | <filename>test/Fail/Issue308b.agda
module Issue308b where
data D : Set where
d : D → D
syntax d x = e x x
g : D → D
g (d x) = e x
|
agda/Cardinality/Finite/ManifestEnumerable/Isomorphism.agda | oisdk/combinatorics-paper | 0 | 14864 | <reponame>oisdk/combinatorics-paper
{-# OPTIONS --cubical --safe #-}
module Cardinality.Finite.ManifestEnumerable.Isomorphism where
open import Prelude
import Cardinality.Finite.ManifestEnumerable.Container as ℒ
import Cardinality.Finite.ManifestEnumerable.Inductive as 𝕃
open import Container.List.Isomorphism
open... |
src/utils.asm | ISSOtm/smooth-player-demo | 4 | 2738 | <reponame>ISSOtm/smooth-player-demo
INCLUDE "src/include/hardware.inc/hardware.inc"
SECTION "Memset", ROM0[$08] ; So that it lands on a `rst`
Memset::
inc b
inc c
dec bc
.loop
ld [hli], a
dec c
jr nz, .loop
dec b
jr nz, .loop
ret
; And here is how you include the sample routines
SECTION "Sample routine... |
src/tests/histogramdescriptortests.adb | sebsgit/textproc | 0 | 10452 | with AUnit.Assertions; use AUnit.Assertions;
with Interfaces.C.Strings;
with Ada.Text_IO;
with Ada.Containers; use Ada.Containers;
with ImageIO;
with PixelArray;
with ImageRegions;
with Histogram;
with HistogramDescriptor;
with ShapeDatabase;
use PixelArray;
use ImageRegions;
use HistogramDescriptor;
package body Hi... |
code/ZeroLemmas.agda | DSLsofMath/ValiantAgda | 3 | 2428 | import Relation.Binary.EqReasoning as EqReasoning
open import SemiNearRingRecords
module ZeroLemmas (snr : SemiNearRing) where
open SemiNearRing snr -- public
open import CommAssocLemmas s _≃s_ _+s_ zers isCommMon hiding (_<+>_) renaming (SA to Ss)
zeroˡLemma : ∀ x y → zers *s x +s zers *s y ≃s zers
zeroˡLemma... |
x86-Win-NASM/src/Tables/bin_converter.asm | gramai/school-related | 0 | 92179 |
;English
;Read a binary number and convert in in decimal, octal and hexadecimal
;French
;Lisez un nombre binaire et vous devez le convertir en décimal, octal et hexadécimal.
ORG 100h
include "emu8086.inc"
.data
:
DB "0"
s1 DB "00000000", 0 ; s1 will be used to store the binary number
s2 DB "00", 0 ;... |
Examples/Compare.asm | Pyxxil/rust-lc3-as | 3 | 23084 | <gh_stars>1-10
;
; This program takes two inputs in succession, between -999 and 999, stores them
; in R1 and R2 after processing of input and then calculates the relation between
; the two numbers, prints the value of R0 and then sets the correct value into R0,
; the value of R0 being one of the below (mentioned in ... |
libsrc/_DEVELOPMENT/adt/w_vector/c/sccz80/w_vector_insert_n_callee.asm | meesokim/z88dk | 0 | 245703 |
; size_t w_vector_insert_n(w_vector_t *v, size_t idx, size_t n, void *item)
SECTION code_adt_w_vector
PUBLIC w_vector_insert_n_callee
w_vector_insert_n_callee:
pop ix
pop af
pop de
pop bc
pop hl
push ix
INCLUDE "adt/w_vector/z80/asm_w_vector_insert_n.asm"
|
theorems/cw/cohomology/GridPtdMap.agda | mikeshulman/HoTT-Agda | 0 | 7559 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
module cw.cohomology.GridPtdMap {i j k}
{X : Ptd i} {Y : Ptd j} {Z : Ptd k}
(f : X ⊙→ Y) (g : Y ⊙→ Z) where
open import cw.cohomology.GridMap (fst f) (fst g) public
Y/X = ⊙Cofiber f
Z/X = ⊙Cofiber (g ⊙∘ f)
Z/Y = ⊙Cofiber g
Y/X-to-Z/X : Y/X ⊙→ Z... |
source/runtime/pb_support-vectors.adb | mgrojo/protobuf | 12 | 27859 | -- MIT License
--
-- Copyright (c) 2020 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- copy of this software and associated documentation files (the "Software"),
-- to deal in the Software without restriction, including without limitation
-- the rights to use, copy, modify... |
src/util/iterateur_mots.ads | SKNZ/BezierToSTL | 0 | 26973 | with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package Iterateur_Mots is
Erreur_Syntaxe : exception;
type Iterateur_Mot is private;
-- Initialise le record
function Initialiser(Chaine : String; Separateur : Character) return Iterateur_Mot;
-- Indique si l'iterateur est à sa fin
funct... |
child_processes-managed.adb | annexi-strayline/AURA | 13 | 18879 | <reponame>annexi-strayline/AURA<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE ... |
P6/data_P6/testpoint/testpoint61.asm | alxzzhou/BUAA_CO_2020 | 1 | 6009 | <filename>P6/data_P6/testpoint/testpoint61.asm
ori $1, $0, 0
ori $2, $0, 15
ori $3, $0, 10
ori $4, $0, 0
sw $3, 0($0)
sw $2, 4($0)
sw $2, 8($0)
sw $2, 12($0)
sw $3, 16($0)
sw $1, 20($0)
sw $3, 24($0)
sw $2, 28($0)
sw $4, 32($0)
sw $1, 36($0)
sw $3, 40($0)
sw $1, 44($0)
sw $2, 48($0)
sw $4, 52($0)
sw $... |
Transynther/x86/_processed/NONE/_un_/i9-9900K_12_0xa0_notsx.log_1_285.asm | ljhsiun2/medusa | 9 | 172958 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x12b8d, %rsi
lea addresses_normal_ht+0xd4d9, %rdi
nop
nop
nop
nop
and $44031, %r14
mov $60, %rcx
rep movsb
nop
nop
xor $45607, %rsi
lea addresses_UC_ht+0x11e0d, %rcx
clflush (... |
src/Util/HoTT/Equiv.agda | JLimperg/msc-thesis-code | 5 | 15472 | {-# OPTIONS --without-K --safe #-}
module Util.HoTT.Equiv where
open import Util.HoTT.Equiv.Core public
open import Relation.Binary using (Setoid ; IsEquivalence)
open import Util.Data.Product using (map₂)
open import Util.HoTT.HLevel.Core using (IsContr ; IsProp)
open import Util.HoTT.Section
open import Util.HoTT.... |
src/main/fragment/mos6502-common/_deref_pwuz1=_deref_pwuz2_plus__deref_pwuz3.asm | jbrandwood/kickc | 2 | 169678 | <filename>src/main/fragment/mos6502-common/_deref_pwuz1=_deref_pwuz2_plus__deref_pwuz3.asm
ldy #0
lda ({z2}),y
clc
adc ({z3}),y
sta ({z1}),y
iny
lda ({z2}),y
adc ({z3}),y
sta ({z1}),y |
AS_iTerm_2018-10-18.scpt | blodely/Mac-Configurations | 2 | 3882 | <gh_stars>1-10
(*
SCRIPT CREATED BY <NAME>, <EMAIL>
THURSDAY, MAY 10, 2018
*)
tell application "System Events"
-- OPEN ITERMS
keystroke space using {control down}
-- WAIT FOR IT INITIALIZED
delay 1
-- CHANGE INPUT METHOD ENGLISH MODE
--key down shift
--key up shift
-- SPLIT WINDOWS AS THREE COLUMNS
key... |
src/main/antlr/MiniCalcLexer.g4 | tedneward/MiniCalc | 0 | 2770 | <gh_stars>0
lexer grammar MiniCalcLexer;
channels { WHITESPACE }
NEWLINE : '\r\n' | '\r' | '\n' ;
WS : [\t ]+ -> channel(WHITESPACE);
INPUT : 'input' ;
VAR : 'var' ;
PRINT : 'print' ;
AS : 'as' ;
INT : 'Int' ;
DECIMAL : 'Decimal' ;
STRING : 'String' ;
INTLIT : ('0'|[1-9][0-9]*) ;
DECLIT : ('0'|[1-9][0-9]*) '.' [0-9... |
1A/S5/PIM/projet/src/input.adb | MOUDDENEHamza/ENSEEIHT | 4 | 14029 | --------------------------------------------------------------------------------
-- Fichier : input.ads
-- Auteur : <NAME> & <NAME>
-- Objectif : Implantation du module Input
-- Crée : <NAME> 01 2019
--------------------------------------------------------------------------------
with Ada.Text_IO; use ... |
oeis/106/A106440.asm | neoneye/loda-programs | 11 | 17268 | <reponame>neoneye/loda-programs<filename>oeis/106/A106440.asm
; A106440: a(n) = binomial(2n+4,n)*binomial(n+4,4).
; Submitted by <NAME>
; 1,30,420,4200,34650,252252,1681680,10501920,62355150,355655300,1963217256,10546208400,55367594100,285028443000,1442592936000,7193730107520,35406640372950,172255143129300,829376615067... |
src/main/antlr4/PlayPlusWords.g4 | opmvpc/compilateurPlayPlusNBC | 0 | 1194 | lexer grammar PlayPlusWords;
/**********
LEXER RULES
***********/
/** RESERVED WORDS **/
MAIN: 'main';
VOID : 'void';
IF : 'if';
ELSE : 'else';
THEN : 'then';
REPEAT : 'repeat';
WHILE : 'while';
TRUE : 'true';
FALSE : 'false';
IMPORT : 'import';
/** ACTION TYPES **/
LEFT : 'left';
RIGHT : 'right';
UP : 'up';
DOWN : ... |
DoubleBuffer640x480/DoubleBuffer.asm | fraser125/N64_ASM_Videos | 23 | 93713 | arch n64.cpu
endian msb
output "DoubleBuffer.N64", create
fill $0010'1000 // Set ROM Size
// fill 1052672 also works because
// 4 KB (4096 B) header reserved for config and publisher data
// 1 MB (1024 KB * 1024 KB = 1,048,576 B) game code copied to n64 ram on boot
// 4096 + 1048576 = 1,052,672 B roughly a megab... |
programs/oeis/111/A111368.asm | karttu/loda | 0 | 105077 | <filename>programs/oeis/111/A111368.asm
; A111368: The number of maximal determinant {-1,1} matrices of order n.
; 1,1,1,1,1,1,1,1,1,1,3,1,1,1,1,5,3,3,3,3,7
lpb $0,1
trn $0,4
mov $1,$0
add $2,$0
trn $0,1
add $1,$2
trn $1,2
sub $2,$0
lpe
mul $1,2
add $1,1
|
msdos/DOS/dos.asm | Cth1003/pcTest | 0 | 169395 | %include "struct.inc"
;In this file,we don't need interrupt_table_addr in struct.inc
ORG 0x100
CLI
MOV AX,0
MOV ES,AX
MOV AX,CS
MOV word [ES:(0x08*4)],timer_intrrrupt;Offset
MOV word [ES:(0x08*4+2)],AX;Segment
MOV word [ES:(0x09*4)],keyboard_interrupt;Offset
MOV word [ES:(0x09*4+2)],AX;Segment
MOV word [ES:(0x21*4)],do... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/zel_com1.asm | prismotizm/gigaleak | 0 | 160550 | <filename>other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/zel_com1.asm
Name: zel_com1.asm
Type: file
Size: 5067
Last-Modified: '2016-05-13T04:23:03Z'
SHA-1: B06E927BB4C844318FB15FAC8692831AB8AC8C82
Description: null
|
oeis/051/A051697.asm | neoneye/loda-programs | 11 | 175072 | <reponame>neoneye/loda-programs
; A051697: Closest prime to n (break ties by taking the smaller prime).
; Submitted by <NAME>
; 2,2,2,3,3,5,5,7,7,7,11,11,11,13,13,13,17,17,17,19,19,19,23,23,23,23,23,29,29,29,29,31,31,31,31,37,37,37,37,37,41,41,41,43,43,43,47,47,47,47,47,53,53,53,53,53,53,59,59,59,59,61,61,61,61,67,67,6... |
bugs/PENDING_SUBMIT/0433-BAD-IMAGE-Pixel5-29b7a44e-no-opt-test/work/reference/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 0 | 87340 | <filename>bugs/PENDING_SUBMIT/0433-BAD-IMAGE-Pixel5-29b7a44e-no-opt-test/work/reference/1_spirv_asm/shader.frag.asm
; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 164
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemo... |
Transynther/x86/_processed/AVXALIGN/_st_zr_/i7-8650U_0xd2_notsx.log_7687_1335.asm | ljhsiun2/medusa | 9 | 161181 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1b4a7, %rsi
lea addresses_D_ht+0x17d67, %rdi
and $45459, %r12
mov $60, %rcx
rep movsq
nop
nop
nop
nop
and %r15, %r15
lea addresses_normal_ht+0x3b37, %rsi
lea addresses_norma... |
oeis/246/A246394.asm | neoneye/loda-programs | 11 | 89548 | <gh_stars>10-100
; A246394: Nonnegative integers k satisfying cos(k) <= 0 and cos(k+1) >= 0.
; Submitted by <NAME>
; 4,10,17,23,29,36,42,48,54,61,67,73,80,86,92,98,105,111,117,124,130,136,142,149,155,161,168,174,180,186,193,199,205,212,218,224,230,237,243,249,256,262,268,274,281,287,293,300,306,312,318,325,331,337,344,... |
programs/oeis/047/A047378.asm | karttu/loda | 1 | 173286 | <reponame>karttu/loda
; A047378: Numbers that are congruent to {2, 4, 5} mod 7.
; 2,4,5,9,11,12,16,18,19,23,25,26,30,32,33,37,39,40,44,46,47,51,53,54,58,60,61,65,67,68,72,74,75,79,81,82,86,88,89,93,95,96,100,102,103,107,109,110,114,116,117,121,123,124,128,130,131,135,137,138,142
mov $1,$0
mov $3,$0
div $3,3
cmp $1,$3
... |
programs/oeis/127/A127276.asm | karttu/loda | 0 | 170056 | <reponame>karttu/loda<gh_stars>0
; A127276: Hankel transform of A127275.
; 1,1,-2,-16,-64,-208,-608,-1664,-4352,-11008,-27136,-65536,-155648,-364544,-843776,-1933312,-4390912,-9895936,-22151168,-49283072,-109051904,-240123904,-526385152,-1149239296,-2499805184,-5419040768,-11710496768,-25232932864,-54223962112,-1162325... |
programs/oeis/156/A156760.asm | neoneye/loda | 22 | 81769 | <filename>programs/oeis/156/A156760.asm
; A156760: 5*4^n-1.
; 4,19,79,319,1279,5119,20479,81919,327679,1310719,5242879,20971519,83886079,335544319,1342177279,5368709119,21474836479,85899345919,343597383679,1374389534719,5497558138879,21990232555519,87960930222079,351843720888319,1407374883553279,5629499534213119,225179... |
theorems/cw/cohomology/HigherCohomologyGroups.agda | mikeshulman/HoTT-Agda | 0 | 3184 | <filename>theorems/cw/cohomology/HigherCohomologyGroups.agda
{-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import cohomology.Theory
open import groups.ExactSequence
open import groups.Exactness
open import groups.HomSequence
open import groups.KernelImageUniqueFactorization
import cw.cohomology.GridPtd... |
java/src/main/antlr4/wtp/parser/Expr.g4 | andreaswitsch/cnlcsplib | 0 | 2688 | grammar Expr;
prog: (expr NEWLINE)* ;
expr: '~' expr
| expr '^' expr
| expr ('*'|'/') expr
| expr ('+'|'-') expr
| expr ('<'|'>'|'<='|'>=') expr
| '-' expr
| INT
| VARSY
| 'sqrt' '(' expr ')'
| 'sin' '(' expr ')'
| 'cos' '(' expr ')'
| 'abs' '(' expr... |
hacks/images/m6502/breakout.asm | MBrassey/xscreensaver_BlueMatrix | 2 | 101046 | <reponame>MBrassey/xscreensaver_BlueMatrix<filename>hacks/images/m6502/breakout.asm
; Brick Out by <NAME> <<EMAIL>> http://www.blakeramsdell.com
; A poor attempt at brick out with no player involved. Maybe someday I'll
; let you play it, or you can view this as an exercise for the reader to put
; in a paddle that is u... |
SOAS/Construction/Structure.agda | JoeyEremondi/agda-soas | 39 | 17347 |
open import SOAS.Common
{-
Framework for constructing categories of objects with extra structure.
The definitions required to construct a category is:
* the category of carrier objects (e.g. sets, presheaves, etc.)
* the extra operations and laws that the carrier objects are equipped with
* the preservation propertie... |
timeit.asm | ILW8/gwnum | 0 | 789 | ; Copyright 1995-2020 Mersenne Research, Inc. All rights reserved
; Author: <NAME>
; Email: <EMAIL>
;
; Time low-level operations for optimizing macros and comparing CPUs
;
TITLE setup
IFNDEF X86_64
.686
.XMM
.MODEL FLAT
ENDIF
INCLUDE unravel.mac
INCLUDE extrn.mac
INCLUDE memory.mac
INCLUDE pfa.mac
INCLUDE l... |
src/Parse/LL1.agda | WhatisRT/meta-cedille | 35 | 1109 | --------------------------------------------------------------------------------
-- This file contains the definition of a context-free grammar, as well as a
-- parser for those grammars that are actually of LL1 type. There is currently
-- no check if the grammar is actually a LL1 grammar, so the parser might loop
-- i... |
checkout.adb | annexi-strayline/AURA | 13 | 23259 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- Reference Implementation ... |
Assignment/main.adb | vivianjia123/Password-Manager | 0 | 5994 | -- Authors: <NAME> 965600, <NAME> 693241
-- Our implementation proves following security properties:
-- The Get, Put, Remove and Lock operations can only ever be performed
-- when the password manager is in the unlocked state.
-- We implemented procedures called Execute_xxx (i.e. Execute_Lock)
-- for each oper... |
v2.0/source/msdos/stdio.asm | neozeed/MS-DOS | 7 | 24559 | ;
; Standard device IO for MSDOS (first 12 function calls)
;
.xlist
.xcref
INCLUDE STDSW.ASM
INCLUDE DOSSEG.ASM
.cref
.list
TITLE STDIO - device IO for MSDOS
NAME STDIO
INCLUDE IO.ASM
|
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/sf2/gastrats.asm | prismotizm/gigaleak | 0 | 19663 | Name: gastrats.asm
Type: file
Size: 4021
Last-Modified: '1993-03-02T01:36:57Z'
SHA-1: E2959A8E1DAD3D5C8CEE4F340FEA7C29099087F6
Description: null
|
libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_modf.asm | meesokim/z88dk | 0 | 90989 | <reponame>meesokim/z88dk
; double modf(double value, double *iptr)
SECTION code_fp_math48
PUBLIC cm48_sccz80_modf
EXTERN l0_cm48_sccz80_modf_callee, am48_dloadb
cm48_sccz80_modf:
pop af
pop hl ; hl = iptr
push hl
push af
exx
ld hl,9
add hl,sp
call am48_... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1710.asm | ljhsiun2/medusa | 9 | 173849 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1710.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x15061, %rdx
nop
sub $16980, %r11
movw $0x6162, (%rdx)
nop
nop
nop
nop
inc %rbp
lea ad... |
00.BootLoader/BootLoader.asm | yeojin-dev/yeojinux | 0 | 82719 | [ORG 0x00] ; 코드의 시작 어드레스를 0x00으로 설정
[BITS 16] ; 이하 코드는 16비트 코드로 설정
SECTION .txt ; text 섹션(세그먼트) 정의
jmp 0x07C0:START ; CS 세그먼트 레지스터에 0x07C0을 복사하면서, START 레이블로 이동
; MINT64 OS에 관련된 환경 설정 값
TOTALSECTORCOUNT: dw 0x02 ; 부트 로더를 제외한 MINT64 OS 이미지의 크기, 최대 1152섹터(... |
simd/i386/jdcolext-mmx.asm | 1camper/libjpeg-turbo | 522 | 13777 | ;
; jdcolext.asm - colorspace conversion (MMX)
;
; Copyright 2009 Pierre Ossman <<EMAIL>> for Cendio AB
; Copyright (C) 2016, <NAME>.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; Th... |
tools-src/gnu/gcc/gcc/ada/5htraceb.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 14988 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
oeis/114/A114283.asm | neoneye/loda-programs | 11 | 240968 | ; A114283: Sequence array for binomial transform of Jacobsthal numbers A001045(n+1).
; Submitted by <NAME>
; 1,2,1,6,2,1,18,6,2,1,54,18,6,2,1,162,54,18,6,2,1,486,162,54,18,6,2,1,1458,486,162,54,18,6,2,1,4374,1458,486,162,54,18,6,2,1,13122,4374,1458,486,162,54,18,6,2,1,39366,13122,4374,1458,486,162,54,18,6,2,1,118098,39... |
Task/Range-extraction/AppleScript/range-extraction.applescript | LaudateCorpus1/RosettaCodeData | 1 | 343 | -- rangeFormat :: [Int] -> String
on rangeFormat(xs)
script rangeString
on |λ|(xs)
if length of xs > 2 then
(item 1 of xs as string) & "-" & (item -1 of xs as string)
else
intercalate(",", xs)
end if
end |λ|
end script
scri... |
oeis/335/A335840.asm | neoneye/loda-programs | 11 | 8922 | <gh_stars>10-100
; A335840: Expansion of x*(1+2*x)/((1-2*x)*(1-x+4*x^2)).
; Submitted by <NAME>
; 1,5,9,5,1,45,169,245,81,125,1849,5445,6241,845,8649,70805,167281,146205,1369,465125,2556801,4890605,3052009,266805,21613201,87654845,135419769,53235845,48427681,909226125,2862999049,3521061845,659000241,3754622045
mov $1,... |
theorems/homotopy/elims/CofPushoutSection.agda | cmknapp/HoTT-Agda | 0 | 3865 | <filename>theorems/homotopy/elims/CofPushoutSection.agda
{-# OPTIONS --without-K #-}
open import HoTT
open import homotopy.elims.Lemmas
{- Given a span [A ←f– C –g→ B] and a map [h : A ⊔_C B → D] where
- [g] has a left inverse:
- To define a fundction [Π (Cof h) P], one can give only the [cfbase],
- [cfcod], [cf... |
dino/lcs/base/6B66.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 2210 | copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004A66 move.w A0, ($6b66,A5)
004A6A moveq #$17, D0 [base+6B66]
004C0A movea.w ($6b66,A5), A4
004C0E move.w A6, -(A4) [base+6B66]
004C10 move.w A4, ($6b66,A5) [base+6B92, base+6B94, base+6B96]
004C14 ... |
data/github.com/pastorsj/RDTProtocol/af80f197abb9217917eb0d4fad0de1a9cd3fb3cb/Milestone2/RDT20.als | ajnavarro/language-dataset | 9 | 3196 | module Milestone2/RDT20
open util/ordering[State]
one sig ACK, NAK extends Data{}
sig Checksum{}
one sig CorruptChecksum extends Checksum{}
sig Data{}
sig Packet{
data: Data,
checksum : Checksum
}
sig Receiver{
sender: one Sender
}
sig Sender{
receiver: one Receiver
}
sig State{
sent: set Packet,
sender... |
google_translation/google_trans_auto.scpt | jojonki/TouchBarAppleScripts | 0 | 3426 | <gh_stars>0
tell application "System Events"
keystroke "c" using command down
delay 0.2
tell application "Google Chrome"
set text_ids to id of (the clipboard)
set is_eng to true
repeat with tid in text_ids
if tid ≥ 256 then
set is_eng to false
end if
end repeat
if is_eng then
open location ... |
exampl02/shellex/shellex.asm | AlexRogalskiy/Masm | 0 | 18720 | <gh_stars>0
; #########################################################################
; A simple useful toy, Shellex takes a command line which is a drive
; and directory path. Set it as a shortcut on your desktop with the
; path you require and it will start a window in explorer where you
; specify.
; If... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.