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 |
|---|---|---|---|---|
software/profi/net-tools/src/pqdos/browser/player/player.asm | r4wabr/karabas_pro | 3 | 10244 | <reponame>r4wabr/karabas_pro<filename>software/profi/net-tools/src/pqdos/browser/player/player.asm
;Universal PT2'n'PT3 Turbo Sound player for ZX Spectrum
;(c)2004-2007 S.V.Bulba <<EMAIL>>
;Specially for AlCo
;http://bulba.untergrund.net/ (http://bulba.at.kz/)
MODULE VTPL
;Release number
Release EQU "0"
;Conditional a... |
alloy4fun_models/trashltl/models/8/Fjg4zJP658sMQodhp.als | Kaixi26/org.alloytools.alloy | 0 | 810 | open main
pred idFjg4zJP658sMQodhp_prop9 {
always (Protected not in Trash)
}
pred __repair { idFjg4zJP658sMQodhp_prop9 }
check __repair { idFjg4zJP658sMQodhp_prop9 <=> prop9o } |
test/fail/IrrelevantRecordMatching.agda | asr/agda-kanso | 1 | 14776 | <filename>test/fail/IrrelevantRecordMatching.agda
-- 2010-09-07 Andreas
module IrrelevantRecordMatching where
record Prod (A B : Set) : Set where
constructor _,_
field
fst : A
snd : B
wrongElim : {A : Set} -> .(Prod A A) -> A
wrongElim (a , a') = a
-- needs to fail because a is irrelevant |
color/super_palettes.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 17317 | <filename>color/super_palettes.asm
; Note: after calling this, you may need to set W2_ForceBGPUpdate/ForceOBPUpdate to nonzero.
; d = palette to load (see constants/palette_constants.), e = palette index
LoadSGBPalette:
ld a,[rSVBK]
ld b,a
ld a,2
ld [rSVBK],a
push bc
ld a,e
ld l,d
ld h,0
add hl
add hl
add h... |
src/module/ModuleEntry.asm | Dunkansdk/AoW | 2 | 178636 | <filename>src/module/ModuleEntry.asm
;//////////////////////////////////////////////////////////////////////
;/// This file is subject to the terms and conditions defined in ///
;/// file 'LICENSE.txt', which is part of this source code package. ///
;//////////////////////////////////////////////////////////////////... |
src/jason-tickets-modules.adb | stcarrez/jason | 2 | 372 | -----------------------------------------------------------------------
-- jason-tickets-modules -- Module tickets
-- Copyright (C) 2016, 2017, 2019 Stephane.Carrez
-- Written by Stephane.Carrez (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in c... |
src/apsepp-test_event_class-generic_timestamp_mixin.adb | thierr26/ada-apsepp | 0 | 423 | <reponame>thierr26/ada-apsepp
-- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
package body Apsepp.Test_Event_Class.Generic_Timestamp_Mixin is
----------------------------------------------------------------------------
overriding
procedure Set (Obj : in out Child_W_T... |
oeis/038/A038293.asm | neoneye/loda-programs | 11 | 23670 | <filename>oeis/038/A038293.asm
; A038293: Triangle whose (i,j)-th entry is binomial(i,j)*9^(i-j)*3^j.
; Submitted by <NAME>
; 1,9,3,81,54,9,729,729,243,27,6561,8748,4374,972,81,59049,98415,65610,21870,3645,243,531441,1062882,885735,393660,98415,13122,729,4782969,11160261,11160261,6200145,2066715,413343,45927,2187
lpb ... |
libsrc/_DEVELOPMENT/string/c/sccz80/strrstr_callee.asm | UnivEngineer/z88dk | 1 | 244751 | ; char *strrstr(const char *s, const char *w)
SECTION code_clib
SECTION code_string
PUBLIC strrstr_callee
EXTERN asm_strrstr
strrstr_callee:
IF __CPU_GBZ80__
pop bc
pop de
pop hl
push bc
call asm_strrstr
ld d,h
ld e,l
ret
ELSE
pop hl
pop de
ex (sp),hl
jp asm_strrstr
ENDIF
; SD... |
Categories/Adjoint/Properties.agda | Taneb/agda-categories | 0 | 16477 | <reponame>Taneb/agda-categories<gh_stars>0
{-# OPTIONS --without-K --safe #-}
module Categories.Adjoint.Properties where
open import Level
open import Data.Product using (Σ; _,_; -,_; proj₂; uncurry)
open import Function using (_$_)
open import Categories.Adjoint using (_⊣_; Adjoint; Hom-NI′⇒Adjoint)
open import Cat... |
Basic/Compiler/SplitCode.agda | AndrasKovacs/SemanticsWithApplications | 8 | 9118 | <filename>Basic/Compiler/SplitCode.agda
module Basic.Compiler.SplitCode where
open import Basic.Compiler.Code
open import Basic.AST
open import Basic.BigStep
open import Utils.Monoid
open import Data.Vec hiding (_++_; [_]; _∷ʳ_)
open import Data.Bool renaming (if_then_else_ to ifBool_then_else_)
open import Data.Nat... |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver0/sfc/ys_w68.asm | prismotizm/gigaleak | 0 | 166626 | <reponame>prismotizm/gigaleak
Name: ys_w68.asm
Type: file
Size: 32678
Last-Modified: '2016-05-13T04:50:34Z'
SHA-1: AE634EEB4D20512603B1EAB82A46F2FC3BC6E886
Description: null
|
programs/oeis/327/A327021.asm | neoneye/loda | 22 | 172765 | <reponame>neoneye/loda
; A327021: a(n) = (2*n-1)! / 2^(n-1) if n > 0 and a(0) = 1.
; 1,1,3,30,630,22680,1247400,97297200,10216206000,1389404016000,237588086736000,49893498214560000,12623055048283680000,3786916514485104000000,1329207696584271504000000,539658324813214230624000000,250941121038144617240160000000,1324969119... |
oeis/112/A112469.asm | neoneye/loda-programs | 11 | 20875 | ; A112469: Partial sums of (-1)^n*F(n-1).
; Submitted by <NAME>
; 1,1,2,1,3,0,5,-3,10,-11,23,-32,57,-87,146,-231,379,-608,989,-1595,2586,-4179,6767,-10944,17713,-28655,46370,-75023,121395,-196416,317813,-514227,832042,-1346267,2178311,-3524576,5702889,-9227463,14930354,-24157815,39088171,-63245984,102334157,-165580139,... |
src/model/hyperion-agents-models.adb | stcarrez/hyperion | 0 | 27679 | -----------------------------------------------------------------------
-- Hyperion.Agents.Models -- Hyperion.Agents.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-body.xhtml
-- Ada Generator: https:... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/sf2/gstrats.asm | prismotizm/gigaleak | 0 | 3447 | <filename>other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/sf2/gstrats.asm
Name: gstrats.asm
Type: file
Size: 64594
Last-Modified: '1993-03-02T01:40:45Z'
SHA-1: B2A3B073772FE79BB67EDC8C57CDCBE18871D7BE
Description: null
|
Commands/Miscellaneous Commands suite/system info/user ID of (get system info).applescript | looking-for-a-job/applescript-examples | 1 | 3848 | #!/usr/bin/osascript
user ID of (get system info) |
source/tasking/machine-pc-linux-gnu/s-intnum.ads | ytomino/drake | 33 | 29717 | pragma License (Unrestricted);
-- implementation unit specialized for Linux
with C.signal;
package System.Interrupt_Numbers is
pragma Preelaborate;
First_Interrupt_Id : constant := C.signal.SIGHUP;
Last_Interrupt_Id : constant := C.signal.NSIG - 1;
-- SIGRTMAX (__libc_current_sigrtmax) = NSIG - 1 = 64... |
oeis/305/A305153.asm | neoneye/loda-programs | 11 | 242554 | <reponame>neoneye/loda-programs
; A305153: a(n) = 30*2^n + 12.
; 42,72,132,252,492,972,1932,3852,7692,15372,30732,61452,122892,245772,491532,983052,1966092,3932172,7864332,15728652,31457292,62914572,125829132,251658252,503316492,1006632972,2013265932,4026531852,8053063692,16106127372,32212254732,64424509452,12884901889... |
libsrc/stdio_new/file/stream-out/stdio_outbuff.asm | andydansby/z88dk-mk2 | 1 | 1819 | ; stdio_outbuff
; 05.2008 aralbrec
XLIB stdio_outbuff
LIB stdio_outchar
; output string of chars to file / device from temporary buffer
;
; enter : b = number of chars from buffer to output
; hl = & buffer - 1
; ix = & attached file / device output function
; exit : carry set if error on stream, ERR... |
Map.asm | sleepingburrito/BackIsle | 1 | 1703 | SECTION "MAIN", ROM0[$0150]
;fill in non read only map regs for args
LoadMap:
PushAllRegs
call FadeDisplayOff
OAMCopyMacro
call LoadTileMapBg
call FadeDisplayOn
PopAllRegs
ret
;finds starting of tile map in rom of mapX/map
;returns in mapTileMapStart
;clobbers A
TileMapStart... |
programs/oeis/212/A212971.asm | karttu/loda | 0 | 25017 | <filename>programs/oeis/212/A212971.asm<gh_stars>0
; A212971: Number of (w,x,y) with all terms in {0,...,n} and w<floor((x+y)/3)).
; 0,0,3,11,25,48,82,128,189,267,363,480,620,784,975,1195,1445,1728,2046,2400,2793,3227,3703,4224,4792,5408,6075,6795,7569,8400,9290,10240,11253,12331,13475,14688,15972,17328,18759,20267,218... |
source/hash/a-cmuha3.adb | ytomino/drake | 33 | 30832 | <reponame>ytomino/drake
package body Ada.Containers.Murmur_Hash_3 is
-- use MurmurHash3_x86_32
procedure Step (h1 : in out Hash_Type; Item : Hash_Type);
procedure Step (h1 : in out Hash_Type; Item : Hash_Type) is
c1 : constant := 16#cc9e2d51#;
c2 : constant := 16#1b873593#;
k1 : Hash_Type :... |
programs/oeis/256/A256595.asm | neoneye/loda | 22 | 170436 | ; A256595: Triangle A074909(n) with 0's as second column.
; 1,1,0,1,0,3,1,0,6,4,1,0,10,10,5,1,0,15,20,15,6,1,0,21,35,35,21,7,1,0,28,56,70,56,28,8,1,0,36,84,126,126,84,36,9,1,0,45,120,210,252,210,120,45,10,1,0,55,165,330,462,462,330,165,55,11
lpb $0
mov $2,$0
sub $0,1
add $1,1
trn $0,$1
add $0,1
lpe
bin $1,$2... |
_build/dispatcher/jmp_ippsGFpMul_d5d1d9bd.asm | zyktrcn/ippcp | 1 | 23219 | extern m7_ippsGFpMul:function
extern n8_ippsGFpMul:function
extern y8_ippsGFpMul:function
extern e9_ippsGFpMul:function
extern l9_ippsGFpMul:function
extern n0_ippsGFpMul:function
extern k0_ippsGFpMul:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
segment .data
align 8
dq .Lin_ippsGFpMul
.... |
src/extraction-renamings.adb | TNO/Dependency_Graph_Extractor-Ada | 0 | 24093 | <filename>src/extraction-renamings.adb<gh_stars>0
with Extraction.Node_Edge_Types;
with Extraction.Utilities;
package body Extraction.Renamings is
use type LALCO.Ada_Node_Kind_Type;
function Is_Renaming (Node : LAL.Ada_Node'Class) return Boolean;
function Is_Renaming (Node : LAL.Ada_Node'Class) return Boole... |
agda-stdlib/src/Algebra/Module/Bundles.agda | DreamLinuxer/popl21-artifact | 5 | 16398 | <filename>agda-stdlib/src/Algebra/Module/Bundles.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Definitions of algebraic structures defined over some other
-- structure, like modules and vector spaces
--
-- Terminology of bundles:
-- * There are both *se... |
dv3/qpc/hd/ckwp.asm | olifink/smsqe | 0 | 29849 | ; DV3 QPC Hard Disk Check Write Protect V3.00 1993 <NAME>
section dv3
xdef hd_ckwp
include 'dev8_dv3_keys'
include 'dev8_dv3_hd_keys'
include 'dev8_smsq_qpc_keys'
;+++
; Check write protect, density: does dothing
;
;
; a3 c p pointer to linkage block
; a4 c p pointer to drive definition
;
; all registers... |
kv-avm-instances.ads | davidkristola/vole | 4 | 28981 | with Interfaces;
with kv.avm.Executables;
with kv.avm.Instructions;
with kv.avm.Registers;
with kv.avm.Actors;
with kv.avm.Processors;
with kv.avm.Frames;
with kv.avm.Actor_References;
with kv.avm.Actor_References.Sets;
with kv.avm.Messages;
with kv.avm.Tuples;
with kv.avm.control;
with kv.avm.Memories;
package kv.av... |
Ada/src/Problem_02.adb | Tim-Tom/project-euler | 0 | 25343 | with Ada.Text_IO;
with Ada.Long_Integer_Text_IO;
package body Problem_02 is
package IO renames Ada.Text_IO;
procedure Solve is
n : Long_Integer;
n_1 : Long_Integer := 1;
n_2 : Long_Integer := 0;
sum : Long_Integer := 0;
begin
loop
n := n_1 + n_2;
exit when n > ... |
oeis/170/A170792.asm | neoneye/loda-programs | 11 | 95479 | <filename>oeis/170/A170792.asm
; A170792: a(n) = n^9*(n^10 + 1)/2.
; 0,1,262400,581140575,137439084544,9536744140625,304679875044096,5699447612863375,72057594105036800,675425859030206289,5000000000500000000,30579545225386246991,159739999687891353600,730960145193025305025,2988151979484787721984,11084189100284724609375,3... |
src/LibraBFT/Impl/Types/Waypoint.agda | LaudateCorpus1/bft-consensus-agda | 0 | 6245 | {- 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
open import LibraBFT.Impl.OBM.Logging.Logging... |
examples/pcre_config.adb | ray2501/ada-adapcre | 0 | 30060 | <filename>examples/pcre_config.adb
--
-- Basic checks of installation of the PCRE Ada binding.
--
-- giving some details of PCRE build options.
-- test of compile/study/match
--
with Text_IO; use Text_IO;
with AdaPcre; use AdaPcre;
with Ada.Environment_Variables; use Ada.Environment_... |
test/succeed/Issue168.agda | asr/agda-kanso | 0 | 15077 |
module Issue168 where
postulate X : Set
open import Issue168b
open Membership X
postulate
P : Nat → Set
lemma : ∀ n → P (id n)
foo : P zero
foo = lemma _
|
programs/oeis/242/A242412.asm | jmorken/loda | 1 | 161013 | ; A242412: a(n) = (2n-1)^2 + 14.
; 15,23,39,63,95,135,183,239,303,375,455,543,639,743,855,975,1103,1239,1383,1535,1695,1863,2039,2223,2415,2615,2823,3039,3263,3495,3735,3983,4239,4503,4775,5055,5343,5639,5943,6255,6575,6903,7239,7583,7935,8295,8663,9039,9423,9815,10215,10623,11039,11463,11895,12335,12783,13239,13703,14... |
oeis/111/A111277.asm | neoneye/loda-programs | 11 | 27885 | ; A111277: Number of permutations avoiding the patterns {2413,4213,2431,4231,4321}; also number of permutations avoiding the patterns {3142,3412,3421,4312,4321}; number of weak sorting class based on 2413 or 3142.
; 1,1,2,6,19,59,180,544,1637,4917,14758,44282,132855,398575,1195736,3587220,10761673,32285033,96855114,290... |
Categories/Monad/Strong.agda | rei1024/agda-categories | 0 | 13838 | <filename>Categories/Monad/Strong.agda
{-# OPTIONS --without-K --safe #-}
-- Define Strong Monad; use the Wikipedia definition
-- https://en.wikipedia.org/wiki/Strong_monad
-- At the nLab, https://ncatlab.org/nlab/show/strong+monad
-- there are two further definitions; the 2-categorical version is too complicated
-- a... |
07_Jump_Loop/src/jumploop.asm | junehan-dev/asm-beginning_x64_programming | 0 | 14211 | <reponame>junehan-dev/asm-beginning_x64_programming
extern printf
section .data
number dq 5
fmt db "The sum from 0 to %ld is %ld", 10, 0
section .bss
section .text
global main
main:
push rbp
mov rbp, rsp
mov rbx, 0 ; counter
mov rax, 0 ; sum will be in rax
jloop:
add rax, rbx
inc rbx
cmp rbx, [n... |
Sources/Globe_3d/culler/globe_3d-culler-impostoring_frustum.ads | ForYouEyesOnly/Space-Convoy | 1 | 14244 | pragma Warnings (Off);
pragma Style_Checks (Off);
with globe_3d.Impostor;
with GL.Textures;
with ada.containers.hashed_Maps;
with ada.unchecked_Conversion;
package GLOBE_3D.Culler.impostoring_frustum is
type Culler is new globe_3d.culler.Culler with private;
type p_Culler is access all Culler'Class;
pro... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0xca_notsx.log_21829_1645.asm | ljhsiun2/medusa | 9 | 174770 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1e652, %rsi
lea addresses_WT_ht+0x1e252, %rdi
nop
nop
nop
nop
xor %r8, %r8
mov $81, %rcx
rep movsl
nop
xor %r10, %r10
lea addresses_normal_ht+0x19652, %rsi
lea addresses_UC_ht+0x14b92, %rdi
and %... |
programs/oeis/193/A193335.asm | neoneye/loda | 22 | 5266 | <gh_stars>10-100
; A193335: Number of odd divisors of sigma(n).
; 1,2,1,2,2,2,1,4,2,3,2,2,2,2,2,2,3,4,2,4,1,3,2,4,2,4,2,2,4,3,1,6,2,4,2,4,2,4,2,6,4,2,2,4,4,3,2,2,4,4,3,3,4,4,3,4,2,6,4,4,2,2,2,2,4,3,2,6,2,3,3,8,2,4,2,4,2,4,2,4,3,6,4,2,4,4,4,6,6,6,2,4,1,3,4,6,3,6,4,4
seq $0,203 ; a(n) = sigma(n), the sum of the divisors... |
oeis/113/A113424.asm | neoneye/loda-programs | 11 | 173486 | ; A113424: a(n) = (6n)!/((3n)!(2n)!n!).
; 1,60,13860,4084080,1338557220,465817912560,168470811709200,62588625639883200,23717177328413240100,9124964373613212524400,3553261127084984957001360,1397224499394244497967972800,553883078634868423069470550800,221068174083308549543680044926400,88747592905974744450484289056065600,3... |
oeis/064/A064734.asm | neoneye/loda-programs | 11 | 26001 | ; A064734: Final digits of A005165(2n+1) for large n, read from right.
; Submitted by <NAME>
; 1,8,9,2,2,4,4,6,3,8,3,8,7,3,6,0,6,4,3,5,5,8,7,1,1,4,2,3,6,7,3,1,3,4,4,9,8,3,9,5,1,4,0,8,3,0,5,3,6,5,9,2,6,1,8,2,3,1,8,6,8,3,1,1,8,8,0,1,0,7,1,1,1,3,9,7,0,4,6,0,0,3,3,6,7,0,0,6,3,6,5,7,5,2,0,9,2,2,5,4
mov $3,$0
add $3,4
mul $... |
src/linereader.adb | bracke/websitegenerator | 1 | 22675 | with Ada.Text_IO;
package body Linereader is
SL : constant Natural := Separator_Sequence'Length;
function End_Of_Input(Self : Reader) return Boolean is
begin
return Self.End_Of_Input;
end End_Of_Input;
procedure Restore (Self : in out Reader) is
begin
Self.Position := Self.Backup;
e... |
source/web/tools/a2js/engines-generic_engines.adb | svn2github/matreshka | 24 | 13580 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
legacy/Data/Num/Bij.agda | banacorn/numeral | 1 | 428 | module Data.Num.Bij where
open import Data.List hiding ([_])
open import Relation.Binary
open import Relation.Binary.PropositionalEquality as PropEq
using (_≡_; _≢_)
import Level
--------------------------------------------------------------------------------
-- Bijective Numeration
--
-- A numeral system which h... |
data/mapHeaders/CeladonMansionRoof.asm | AmateurPanda92/pokemon-rby-dx | 9 | 89845 | CeladonMansionRoof_h:
db MANSION ; tileset
db CELADON_MANSION_ROOF_HEIGHT, CELADON_MANSION_ROOF_WIDTH ; dimensions (y, x)
dw CeladonMansionRoof_Blocks ; blocks
dw CeladonMansionRoof_TextPointers ; texts
dw CeladonMansionRoof_Script ; scripts
db 0 ; connections
dw CeladonMansionRoof_Object ; objects
|
gnu/usr.bin/gcc/gcc/config/ia64/crtend.asm | ArrogantWombatics/openbsd-src | 1 | 88057 | <reponame>ArrogantWombatics/openbsd-src
/* Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
Contributed by <NAME>, <<EMAIL>>
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
published by the Free Software ... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_424.asm | ljhsiun2/medusa | 9 | 245816 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %rax
push %rbx
push %rdx
push %rsi
lea addresses_A_ht+0xe45b, %rbx
nop
nop
xor %r12, %r12
movw $0x6162, (%rbx)
nop
nop
nop
nop
nop
xor $18858, %rbx
lea addresses_D_ht+0xc81b, %r10
xor $64800, %rdx
mov $0x6162636465666768, %r... |
maps/IlexForestAzaleaGate.asm | Dev727/ancientplatinum | 28 | 6826 | object_const_def ; object_event constants
const ILEXFORESTAZALEAGATE_OFFICER
const ILEXFORESTAZALEAGATE_GRANNY
IlexForestAzaleaGate_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
IlexForestAzaleaGateOfficerScript:
jumptextfaceplayer IlexForestAzaleaGateOfficerText
IlexForestAzaleaGateGrannyScript:
jumptex... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_7489_1220.asm | ljhsiun2/medusa | 9 | 100913 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x817d, %rdx
nop
nop
nop
nop
add %r8, %r8
mov (%rdx), %ecx
nop
nop
nop
nop
nop
and $34996, %r9
lea addresses_WC_ht+0x200d, %r13
nop
nop
xor $44415, %rdi
movw $0x6162, (%r13)... |
agda-stdlib/src/Data/Empty/Polymorphic.agda | DreamLinuxer/popl21-artifact | 5 | 15823 | <gh_stars>1-10
------------------------------------------------------------------------
-- The Agda standard library
--
-- Level polymorphic Empty type
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Empty.Polymorphic where
open import Level
da... |
6_kyu/Three_added_Characters.asm | UlrichBerntien/Codewars-Katas | 0 | 8225 | <gh_stars>0
global added_char
extern puts
section .text
; input: rdi = s1, rsi = s2
; output: al
; callee saved registers: rbx, rsp, rbp, r12-r15
added_char:
sub rsp, 400h ; allocate 100h dword table on stack
; init character counter table
xor rax, rax
mov ecx, 100h/2 ; init the 100h dwords wi... |
experiments/test-suite/mutation-based/100/fullTree.als | kaiyuanw/AlloyFLCore | 1 | 4671 | 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 test13 {
some disj Node0, Node1: Node {
Node = Node0 + Node1
left = Node1->Node0
right = Node1->Node1
Acyclic[]
}
}
run test13 for 3 expect 0
pred t... |
src/modules/editor.asm | freem/nesmon | 2 | 5977 | <reponame>freem/nesmon
;==============================================================================;
; nesmon/src/modules/editor.asm
; Editor module
;==============================================================================;
; The nesmon editor is a simple line editor. This editor provides the core
; functional... |
src/util/icon/asm_justrg.asm | olifink/qspread | 0 | 176818 | * Sprite justrg
*
* Mode 4
* +|-----------------+
* - g -
* | gggggg |
* | g |
* | |
* |wwwwwwwwwwwwwwwwww|
* |wrrrrrrrrrrrrrrrrw|
* |wrrrrrrrrwrrrrwrrw|
* |wrrrrrrrrwrrrwrwrw|
* |wrrrrrrrrwrrrwrwrw|
* |wrrrrrrrrwrwrrwrrw|
* |wrrrrrrrrrrrrrrrrw|
* |wwwwwwwwwwwwwwwwww|
* +|-----------------+
*
section sprit... |
src/svd/sam_svd-gclk.ads | Fabien-Chouteau/samd51-hal | 1 | 28097 | <gh_stars>1-10
pragma Style_Checks (Off);
-- This spec has been automatically generated from ATSAMD51G19A.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package SAM_SVD.GCLK is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Control
type GCLK_CTRL... |
P6/data_P6_2/cal_I_test0.asm | alxzzhou/BUAA_CO_2020 | 1 | 175013 | lui $1,41188
ori $1,$1,30946
lui $2,31900
ori $2,$2,15641
lui $3,4704
ori $3,$3,20900
lui $4,24212
ori $4,$4,49289
lui $5,23409
ori $5,$5,24126
lui $6,1846
ori $6,$6,39808
mthi $1
mtlo $2
sec0:
nop
nop
nop
addiu $6,$2,30994
sec1:
nop
nop
sltu $2,$3,$2
addiu $5,$2,23381
sec2:
nop
nop
andi $2,$3,19933
addiu $... |
src/Relation/Ternary/Separation/Monad/Error.agda | laMudri/linear.agda | 34 | 10781 | <filename>src/Relation/Ternary/Separation/Monad/Error.agda
open import Relation.Unary
open import Relation.Ternary.Separation
module Relation.Ternary.Separation.Monad.Error {ℓ} {A : Set ℓ}
{{r : RawSep A}}
{u} {{_ : IsUnitalSep r u}}
where
open import Level
open import Function
open import Data.Unit
open import... |
src/arch/socs/stm32f439/soc-nvic.adb | PThierry/ewok-kernel | 0 | 30813 | --
-- 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... |
theorems/homotopy/SuspProduct.agda | cmknapp/HoTT-Agda | 0 | 14058 | <reponame>cmknapp/HoTT-Agda<gh_stars>0
{-# OPTIONS --without-K #-}
open import HoTT
open import homotopy.SuspSectionDecomp
open import homotopy.CofiberComp
module homotopy.SuspProduct where
module SuspProduct {i} {j} (X : Ptd i) (Y : Ptd j) where
private
i₁ : fst (X ⊙→ X ⊙× Y)
i₁ = ((λ x → (x , snd Y)) , ... |
oeis/028/A028158.asm | neoneye/loda-programs | 11 | 84498 | ; A028158: Expansion of 1/((1-4x)(1-8x)(1-10x)(1-11x)).
; Submitted by <NAME>
; 1,33,695,11925,181911,2572893,34540735,446515125,5610825671,68978848653,833511432975,9933242415525,117049255275031,1366477139586813,15829397675656415,182175233504671125,2085009104934341991,23750419100554859373,269443828297173915055
mov $1,... |
data/maps/scenes.asm | AtmaBuster/pokeplat-gen2 | 6 | 246553 | <reponame>AtmaBuster/pokeplat-gen2
scene_var: MACRO
; map, variable
map_id \1
dw \2
ENDM
MapScenes::
scene_var DEBUG_ROOM, wDebugRoomSceneID
scene_var POKECENTER_2F, wPokecenter2FSceneID
scene_var TRADE_CENTER, wTradeCenterSceneID
scene_var COLOSSEUM, wColosseumSceneID
scene_var TIME... |
Transynther/x86/_processed/NC/_st_zr_sm_/i3-7100_9_0xca_notsx.log_21829_1869.asm | ljhsiun2/medusa | 9 | 171641 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x9953, %rbx
add %r11, %r11
vmovups (%rbx), %ymm4
vextracti128 $1, %ymm4, %xmm4
vpextrq $1, %xmm4, %r13
nop
nop
nop
nop
inc %rbp
lea addresses_D_ht+0x17aab, %rsi
lea addresses_... |
src/rec.asm | Hacktix/gbctv | 14 | 89025 | SECTION "Recording", ROM0
;------------------------------------------------------------------------
; Waits for a HIGH IR signal to start recording signal data and storing
; it on the currently selected SRAM bank.
;------------------------------------------------------------------------
StartRecording::
; Disable ... |
grammar/env.g4 | cicorias/cpp-dotenv | 0 | 3559 | grammar dotenv;
env
: line_content (NL line_content)* EOF
;
// FIRST: SP, UNQUOTED_KEY_CHAR, '"', '\'', CS, NL, EOF
// FOLLOW: -
line_content
: SP* (key SP* EQ SP* value SP*)? comment?
;
// FIRST: SP, UNQUOTED_KEY_CHAR, '"', '\'', CS, 3
// FOLLOW: NL, EOF
key
: UNQUOTED_KEY
| '\''SINGLE_UNQUO... |
FVIEW.asm | AvixSoft/Avix-486 | 0 | 176192 | global mouse
global printf
global setdta
global ffile
group dgroup
section code
mouse:
push bp
mov bp,sp
mov ax,[bp+12]
int 33h
mov si,[bp+10]
mov [si],bx
mov si,[bp+8]
mov [si],cx
mov si,[bp+6]
mov [si],dx
pop bp
retf 8
printf:
push bp
mov bp,sp
mov ax,0a000h
mov fs,ax
lgs di,[bp+6]
mov dx,[bp+... |
libsrc/_DEVELOPMENT/arch/sms/vram/z80/asm_sms_memset_vram.asm | jpoikela/z88dk | 640 | 175720 | <filename>libsrc/_DEVELOPMENT/arch/sms/vram/z80/asm_sms_memset_vram.asm<gh_stars>100-1000
; ========================================================================
;
; void *sms_memset_vram(void *dst, unsigned char c, unsigned int n)
;
; memset VRAM; VRAM addresses are assumed to be stable.
;
; ======================... |
src/lumen-window.ads | darkestkhan/lumen | 8 | 24123 | <filename>src/lumen-window.ads
-- Lumen.Window -- Create and destroy native windows and associated OpenGL
-- rendering contexts
--
-- <NAME>, NiEstu, Phoenix AZ, Spring 2010
-- This code is covered by the ISC License:
--
-- Copyright © 2010, NiEstu
--
-- Permission to use, copy, modify, and/or distribute this softwar... |
src/skeleton_sound_engine.6502.asm | mrpopogod/nes-fun | 0 | 25144 | <filename>src/skeleton_sound_engine.6502.asm
; In order to be fully agnostic we split the vars into their own file and let this fall wherever the include puts us
; Make sure to include skeleton_sound_engine_vars.6502.asm
sound_init:
lda #$0F
sta $4015 ;enable Square 1, Square 2, Triangle and Noise channels
... |
programs/oeis/127/A127802.asm | neoneye/loda | 22 | 161737 | ; A127802: a(0) = 1, a(n) = 3*A036987(n), n>1.
; 1,3,0,3,0,0,0,3,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,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,3,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
mov $1,2
lpb $0
sub $0,1
pow $1,2
gcd $1,$0
div $0,2
lpe
sub $... |
src/main/scala/parsing/antlr/Graphics.g4 | Ryan-Git/LangImplPatterns | 0 | 481 | grammar Graphics;
file : command+ ;
command : 'line' 'from' point 'to' point ;
point: INT ',' INT ;
INT : '0'..'9'+ ;
WS : [ \r\t\n]+ -> skip ; |
as1.adb | twinbee/dekkerAda | 0 | 8600 | <gh_stars>0
---------------------------------------------------------------
-- Author: <NAME> ---
-- Class: CSC410 Burgess ---
-- Date: 09-01-04 Modified: 9-05-04 ---
-- Desc: Assignment 1:DEKKER's ALGORITHM ---
-- a simple implementation of ---
-- Dek... |
antlr-basics/src/main/java/com/poc/chapter_05_part01/Csv.g4 | cgonul/antlr-poc | 0 | 3240 | grammar Csv;
file : (row NL)* ;
row : ID (',' ID )* ;
ID : [(a-z|1-9)]+ ;
NL : '\r'? '\n' ;
WS : [ \t\r\n]+ -> skip ; |
lab_11_str/lab_11_str/DelSpace.asm | Winterpuma/bmstu_MDPL | 14 | 13829 | .386
.model flat, c
public DelSpace
.code
DelSpace:
push ebp
mov ebp, esp
push edi
mov edi, [ebp + 8] ; str
mov ebx, edi
mov eax, 0
mov ecx, 0
mov cx, -1 ; FFFF
mov al, ' ' ; our symbol to compare with
cld ; CF = 0 go right direction
repe scasb ; Fing byte != to AL in block of ECX bytes by adress ES:EDI ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/lto12_pkg.ads | best08618/asylo | 7 | 9163 | -- { dg-excess-errors "cannot generate code" }
package Lto12_Pkg is
type R (Kind : Boolean := False) is record
case Kind is
when True => I : Integer;
when others => null;
end case;
end record;
function F return R;
end Lto12_Pkg;
|
Cubical/Algebra/CommRing/Kernel.agda | thomas-lamiaux/cubical | 1 | 6445 | {-# OPTIONS --safe #-}
module Cubical.Algebra.CommRing.Kernel where
open import Cubical.Foundations.Prelude
open import Cubical.Algebra.CommRing.Base
open import Cubical.Algebra.CommRing.Ideal using (IdealsIn; Ideal→CommIdeal)
open import Cubical.Algebra.Ring.Kernel using () renaming (kernelIdeal to ringKernelIdeal)
... |
programs/oeis/039/A039701.asm | neoneye/loda | 22 | 170756 | <filename>programs/oeis/039/A039701.asm<gh_stars>10-100
; A039701: a(n) = n-th prime modulo 3.
; 2,0,2,1,2,1,2,1,2,2,1,1,2,1,2,2,2,1,1,2,1,1,2,2,1,2,1,2,1,2,1,2,2,1,2,1,1,1,2,2,2,1,2,1,2,1,1,1,2,1,2,2,1,2,2,2,2,1,1,2,1,2,1,2,1,2,1,1,2,1,2,2,1,1,1,2,2,1,2,1,2,1,2,1,1,2,2,1,2,1,2,2,1,2,1,2,2,2,1,1
seq $0,6005 ; The odd ... |
src/latin_utils/latin_utils-dictionary_package-parse_record_io.adb | spr93/whitakers-words | 204 | 30707 | -- 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... |
generated/natools-static_maps-web-simple_pages.adb | faelys/natools-web | 1 | 5588 | <filename>generated/natools-static_maps-web-simple_pages.adb
-- Generated at 2017-03-10 17:26:29 +0000 by Natools.Static_Hash_Maps
-- from src/natools-web-simple_pages-maps.sx
with Natools.Static_Maps.Web.Simple_Pages.Commands;
with Natools.Static_Maps.Web.Simple_Pages.Components;
package body Natools.Static_Maps.W... |
day02/day02.adb | thorstel/Advent-of-Code-2018 | 2 | 6190 | <gh_stars>1-10
with Ada.Text_IO;
with Ada.Containers.Generic_Array_Sort;
with Ada.Containers.Vectors;
use Ada.Text_IO;
procedure Day02 is
subtype Input_String is String (1 .. 26);
package String_Vectors is new Ada.Containers.Vectors (Index_Type => Natural,
Element_Type => Input_String);
procedure Str... |
base/ntos/ke/i386/spinlock.asm | npocmaka/Windows-Server-2003 | 17 | 17666 | TITLE "Spin Locks"
;++
;
; Copyright (c) 1989 Microsoft Corporation
;
; Module Name:
;
; spinlock.asm
;
; Abstract:
;
; This module implements the routines for acquiring and releasing
; spin locks.
;
; Author:
;
; <NAME> (bryanwi) 13 Dec 89
;
; Environment:
;
; Ke... |
SPC/spc.asm | Kannagi/Super-Kannagi-Sound | 11 | 84161 | <filename>SPC/spc.asm<gh_stars>10-100
.DEFINE SPCRAM $200
.DEFINE LKS_SPC_CONTROL $10
.DEFINE LKS_SPC_ADDR $11
.DEFINE LKS_SPC_DATA $12
.DEFINE LKS_SPC_PLAY $13
.DEFINE LKS_SPC_VOLUME $14
.DEFINE LKS_SPC_TICKS $15
.DEFINE LKS_SPC_RVOLUME $16
.DEFINE LKS_SPC_RDATA $17
.DEFINE LKS_SPC_DATA2 $18
.DEFINE LKS_SPC_BR... |
assembly_code/chp3_05.asm | Nabeegh-Ahmed/BelalHashmi-Assembly-Exercise-Solutions | 104 | 242963 | <reponame>Nabeegh-Ahmed/BelalHashmi-Assembly-Exercise-Solutions
;Binary Search
[org 0x0100]
jmp start1
data: db 1,2,3,4,5,6,7,8,9,10,11
start: db 0
end: db 10
key: db -1
start1: mov al,[key]
loop1: mov cl,[start]
cmp cl,[end]
ja end1 ;Checking if(start<=end), if not then jump to end1
m... |
alloy4fun_models/trashltl/models/16/2tcW9wcANStzK5S5C.als | Kaixi26/org.alloytools.alloy | 0 | 1776 | open main
pred id2tcW9wcANStzK5S5C_prop17 {
}
pred __repair { id2tcW9wcANStzK5S5C_prop17 }
check __repair { id2tcW9wcANStzK5S5C_prop17 <=> prop17o } |
Cubical/Data/NatPlusOne/Properties.agda | cmester0/cubical | 1 | 11510 | <reponame>cmester0/cubical
{-# OPTIONS --cubical --no-exact-split --safe #-}
module Cubical.Data.NatPlusOne.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Data.Nat
open import Cubical.Data.NatPlusOne.Base
1+Path : ℕ ≡ ℕ₊₁
1+Path = isoToPath (is... |
mc-sema/validator/x86_64/tests/IMUL64rri8.asm | randolphwong/mcsema | 2 | 7891 | BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_SF|FLAG_ZF|FLAG_AF|FLAG_PF
;TEST_FILE_META_END
; IMUL64rri8
mov ebx, 0x20000
mov ecx, 0x34343434
;TEST_BEGIN_RECORDING
imul ebx, ecx, 0xb
;TEST_END_RECORDING
|
ee/wman/drarr.asm | olifink/smsqe | 0 | 4634 | * Window Manager Draw Arrows V1.01 1986 <NAME> QJUMP
* 2002 <NAME>
*
* 2002-11-13 1.01 Allocated more space for pattern on stack (MK)
*
section wman
*
xdef wm_drupa draw up arrows
xdef wm_drdna draw down arrows
xdef wm_drlta draw left arrows
xdef wm_drrta draw right arrows
*
xref wm_ssclr set single c... |
sampleprj/adalib/src/exemple.adb | astyl/AcrobatomaticBuildSystem | 10 | 29660 | <reponame>astyl/AcrobatomaticBuildSystem
package body Example is
function Hello(i: in Integer) return Integer is
begin
return i+1;
end Hello;
end Example;
|
programs/oeis/227/A227582.asm | karttu/loda | 1 | 243204 | <gh_stars>1-10
; A227582: Expansion of (2+3*x+2*x^2+2*x^3+3*x^4+x^5-x^6)/(1-2*x+x^2-x^5+2*x^6-x^7).
; 2,7,14,23,35,50,67,86,107,131,158,187,218,251,287,326,367,410,455,503,554,607,662,719,779,842,907,974,1043,1115,1190,1267,1346,1427,1511,1598,1687,1778,1871,1967,2066,2167,2270,2375,2483,2594,2707,2822,2939
mov $1,$0
... |
Chapter1/#10.agda | CodaFi/HoTT-Exercises | 0 | 7223 | module #10 where
{-
Exercise 1.10. Show that the Ackermann function ack : N → N → N is definable using only
recN satisfying the following equations:
-}
open import Data.Nat
open import Relation.Binary.PropositionalEquality
recₙ : ∀{c}{C : Set c} → C → (ℕ → C → C) → ℕ → C
recₙ c₀ cₛ zero = c₀
recₙ c₀ cₛ (suc n) =... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr2.ads | best08618/asylo | 7 | 17923 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr2.ads
package discr2 is
procedure Dummy;
end discr2;
|
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-numaux.adb | orb-zhuchen/Orb | 0 | 3238 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
corpus/antlr4/training/VisualBasic6.g4 | antlr/groom | 408 | 3315 | <reponame>antlr/groom<gh_stars>100-1000
/*
* Copyright (C) 2016, <NAME> <<EMAIL>>
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-clause license. See the LICENSE file for details.
*/
/*
* Visual Basic 6.0 Grammar for ANTLR4
*
* This is an approximate grammar for ... |
template.scpt | GazimbeIsaac/Templates | 0 | 3390 | <reponame>GazimbeIsaac/Templates<filename>template.scpt
#!/usr/bin/env osascript
# vim:ts=4:sts=4:sw=4:et
#
# Author: <NAME>
# Date: 2020-06-13 20:47:12 +0100 (Sat, 13 Jun 2020)
#
# https://github.com/harisekhon/templates
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're we... |
programs/oeis/070/A070550.asm | karttu/loda | 0 | 21124 | ; A070550: a(n) = a(n-1) + a(n-3) + a(n-4), starting with a(0..3) = 1, 2, 2, 3.
; 1,2,2,3,6,10,15,24,40,65,104,168,273,442,714,1155,1870,3026,4895,7920,12816,20737,33552,54288,87841,142130,229970,372099,602070,974170,1576239,2550408,4126648,6677057,10803704,17480760,28284465,45765226,74049690,119814915,193864606,313679... |
oeis/078/A078318.asm | neoneye/loda-programs | 11 | 8925 | ; A078318: Sum of divisors of n*rad(n)+1, where rad=A007947 (squarefree kernel).
; Submitted by <NAME>
; 3,6,18,13,42,38,93,18,56,102,186,74,324,198,342,48,540,110,546,272,756,588,972,180,312,678,126,528,1266,972,1596,84,1980,1260,1842,256,2484,1842,2286,402,2613,2124,3534,1440,1281,2220,4536,307,660,672,3906,2016,5076... |
src/test/ref/bitmap-plotter.asm | jbrandwood/kickc | 2 | 165696 | // Commodore 64 PRG executable file
.file [name="bitmap-plotter.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUpstart(main)
.const BMM = $20
.const DEN... |
CPU/cpu_test/test_storage/ov_handler.asm | SilenceX12138/MIPS-Microsystems | 55 | 85527 | <filename>CPU/cpu_test/test_storage/ov_handler.asm
.text
li $t1,0
eret |
oeis/114/A114047.asm | neoneye/loda-programs | 11 | 8423 | ; A114047: x such that x^2 - 13*y^2 = 1.
; Submitted by <NAME>
; 1,649,842401,1093435849,1419278889601,1842222905266249,2391203911756701601,3103780835237293411849,4028705132934095091878401,5229256158767620191964752649,6787570465375238075075157060001,8810261234800900253827361899128649,11435712295201103154229840669911926... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.