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 |
|---|---|---|---|---|
Micrium-Probe-TargetCode-410/Micrium/Software/uC-CPU/ARM-Cortex-M0/RealView/cpu_a.asm | cos12a/GPUTFT | 0 | 19376 | ;********************************************************************************************************
; uC/CPU
; CPU CONFIGURATION & PORT LAYER
;
; (c) Copyright 2004-2015; Micrium, Inc.; Weston, FL
;
; ... |
scroll.asm | NotExactlySiev/psychofloat | 1 | 101527 | <gh_stars>1-10
UpdateScroll: subroutine
; scrolls if the character passes a threshhold distance from the bottom or top of the screen
lda #SCREEN_HEIGHT-SCROLL_THOLD
cmp py0
bcc .scrolldown
lda py0
cmp #SCROLL_THOLD
bcc .scrollup
jmp .scrollover
.scrolldown
... |
src/99-devRoom/enterprise-baron-to-corneria.asm | chaoshades/snes-ffci | 0 | 27466 | org $00CD4D ; Routine to hack
LDX #$A698 ; Corneria's landing zone
STX $1721 ; Place the airship at the landing zone
skip 2 ; Skip to $00CD55
STA $1720 ; Make the airship visible |
src/main.asm | gb-archive/waveform-gb | 0 | 245003 | INCLUDE "constants.asm"
KNOB_BASE_TILE EQU 0
KNOB_TRACK_TILE EQU 1
KNOB_LEFT_TILE EQU 2
KNOB_RIGHT_TILE EQU 3
KNOB_BOTH_TILE EQU 4
KNOB_START_X EQU 2
KNOB_START_Y EQU 1
NUM_COLUMNS EQU WAVE_SIZE
NUM_ROWS EQU 1 << BITS_PER_WAVE_SAMPLE
KNOB_HEIGHT EQU 1
KNOB_WIDTH EQU 5
NUMBER_X EQU (KNOB_S... |
src/Generic/Lib/Data/Sum.agda | turion/Generic | 0 | 5251 | module Generic.Lib.Data.Sum where
open import Data.Sum hiding (swap) renaming (map to smap) hiding (map₁; map₂) public
|
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-wwdt.ads | morbos/Ada_Drivers_Library | 2 | 11691 | -- Copyright 2016-2019 NXP
-- All rights reserved.SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from LPC55S6x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package NXP_SVD.WWDT is
pragma Preelaborate;
... |
java-lib/src/main/antlr4/DSLexer.g4 | kjetijor/wf-proxy | 0 | 1469 | lexer grammar DSLexer;
EQ
: '='
;
NEQ
: '!='
;
IpV4Address
: Octet '.' Octet '.' Octet '.' Octet
;
MinusSign
: '-'
;
PlusSign
: '+'
;
IpV6Address
: ('::')? ((Segment ':') | (Segment '::'))+ (Segment | (Segment '::'))
| '::'
| '::' Segment ('::')?
| ('::')? Segment '::'
| ('::')? ((... |
runtime/commands.asm | paulscottrobson/amoral | 3 | 84893 | <reponame>paulscottrobson/amoral
; *******************************************************************************************
; *******************************************************************************************
;
; File: commands.asm
; Date: 13th November 2020
; Purpose: ... |
wasp_spotify_bindings/tests/sample_applescript.scpt | danthelion/wasp | 2 | 2367 | <filename>wasp_spotify_bindings/tests/sample_applescript.scpt
set one to 1
set two to 2
set answer to one + two
return answer |
programs/oeis/134/A134115.asm | neoneye/loda | 22 | 25318 | ; A134115: Powers of 9 written backwards and sorted.
; 1,9,18,927,1656,94095,144135,9692874,12764034,984024783,1044876843,90695018313,184635924282,9238285681452,16945429767822,946490231198502,1481588810203581,96566699618177661,121999692536490051
mul $0,2
mov $1,-3
pow $1,$0
seq $1,4086 ; Read n backwards (referred to ... |
alloy4fun_models/trashltl/models/15/9uXpeQWR6simrdW7f.als | Kaixi26/org.alloytools.alloy | 0 | 3922 | open main
pred id9uXpeQWR6simrdW7f_prop16 {
always Protected = Protected'
}
pred __repair { id9uXpeQWR6simrdW7f_prop16 }
check __repair { id9uXpeQWR6simrdW7f_prop16 <=> prop16o } |
PL0.g4 | ashleypackard/compiler-design-project | 0 | 3366 | <filename>PL0.g4
grammar PL0;
program
: block DOT
;
block
: consts? vars? procedure* statement
;
consts
: CONST Ident CASSIGN Number (COMMA Ident CASSIGN Number)* SEMIC
;
vars
: VAR Ident (COMMA Ident)* SEMIC
;
procedure
: PROCEDURE Ident SEMIC block SEMIC
;
statement
: Ident ASSIGN expressi... |
6502DotNet/Examples/vcs/backgroundcycle.asm | Yttrmin/CSharpTo2600 | 7 | 87788 | .cpu "6502"
.target "flat"
* = $F000
BackgroundColor = $80
VSYNC = $00
VBLANK = $01
WSYNC = $02
COLUBK = $09
TIM64T = $296
INTIM = $284
Start
SEI
CLD
LDX #$FF
TXS
LDA #0
ClearMem
STA 0,X
DEX
BNE ClearMem
MainLoop
LDA #%00000010
STA VSYNC
STA WSYNC
STA WSYNC
STA WSYNC
LDA #43
STA TIM64T
LDA #0
STA ... |
asm/arrays/primeNumbers.asm | IronHeart7334/AssemblyPrograms | 0 | 92459 | <gh_stars>0
; general comments
; There are many ways to determine prime numbers. Below is a design for one way to find the first 100 primes.
; Write an Assembly Language program that stores the primes in an array of doublewords primeArray.
; <NAME>'s example:
; prime[0] := 2 {first prime number}
; pr... |
Sources/Globe_3d/globe_3d-collision_detection.ads | ForYouEyesOnly/Space-Convoy | 1 | 24128 | pragma Warnings (Off);
pragma Style_Checks (Off);
-------------------------------------------------------------------------
-- GLOBE_3D.Collision_detection
--
-- Copyright (c) <NAME> 1999 .. 2008
-- SWITZERLAND
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- ... |
externals/mpir-3.0.0/mpn/x86/rshift.asm | JaminChan/eos_win | 1 | 244292 | <reponame>JaminChan/eos_win
dnl x86 mpn_rshift -- mpn right shift.
dnl Copyright 1992, 1994, 1996, 1999, 2000, 2001, 2002 Free Software
dnl Foundation, Inc.
dnl
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or
dnl modify it under the terms o... |
test/asset/agda-stdlib-1.0/Relation/Binary/Construct/Add/Extrema/Strict.agda | omega12345/agda-mode | 0 | 607 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- The lifting of a strict order to incorporate new extrema
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
-- This module is designed to be used with
--... |
programs/oeis/017/A017733.asm | neoneye/loda | 22 | 89554 | ; A017733: Binomial coefficients C(n,69).
; 1,70,2485,59640,1088430,16108764,201359550,2186189400,21042072975,182364632450,1440680596355,10477677064400,70724320184700,446107250395800,2644778698775100,14810760713140560,78682166288559225,398039194165652550,1923856105133987325,8910491434304783400,39651686882656286130,1699... |
oeis/185/A185455.asm | neoneye/loda-programs | 0 | 95195 | <reponame>neoneye/loda-programs
; A185455: Trajectory of 7 under repeated application of the map in A185452.
; Submitted by <NAME>(w1)
; 7,18,9,23,58,29,73,183,458,229,573,1433,3583,8958,4479,11198,5599,13998,6999,17498,8749,21873,54683,136708,68354,34177,85443,213608,106804,53402,26701,66753,166883,417208,208604,10430... |
test/Succeed/Issue1983.agda | shlevy/agda | 1,989 | 12440 | <reponame>shlevy/agda
open import Agda.Builtin.Nat
record C (A : Set) : Set where
module M (X : Set) where
module Ci = C {{...}}
module CiNat = M.Ci Nat -- error: The module M.Ci is not parameterized...
|
audio/sfx/cry22_2.asm | opiter09/ASM-Machina | 1 | 178735 | <gh_stars>1-10
SFX_Cry22_2_Ch5:
duty_cycle_pattern 0, 1, 0, 1
square_note 2, 3, -5, 897
square_note 7, 15, 5, 1537
square_note 1, 12, 2, 1153
square_note 8, 9, 1, 897
sound_ret
SFX_Cry22_2_Ch6:
duty_cycle_pattern 3, 2, 3, 2
square_note 2, 3, -6, 1456
square_note 7, 13, 5, 1885
square_note 1, 11, 2, 1712
sq... |
programs/oeis/055/A055952.asm | neoneye/loda | 22 | 14123 | ; A055952: n + reversal of base 6 digits of n (written in base 10).
; 0,2,4,6,8,10,7,14,21,28,35,42,14,21,28,35,42,49,21,28,35,42,49,56,28,35,42,49,56,63,35,42,49,56,63,70,37,74,111,148,185,222,49,86,123,160,197,234,61,98,135,172,209,246,73,110,147,184,221,258,85,122,159,196,233,270,97,134,171,208,245,282,74,111,148,18... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_4428_1267.asm | ljhsiun2/medusa | 9 | 174506 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xf111, %rbp
inc %r12
mov (%rbp), %r15
nop
nop
nop
nop
add $13587, %rdx
lea addresses_WT_ht+0x1e767, %rsi
lea addresses_D_ht+0xb467, %rdi
xor %r12, %r12
mov $73, %rcx
rep ... |
Ada/exception/error.adb | egustafson/sandbox | 2 | 1209 | with Ada.Text_IO, Ada.Integer_Text_IO;
use Ada.Text_IO, Ada.Integer_Text_IO;
procedure Error is
-- Note: If Constrained_Integer is constrained to 0
-- .. Integer'Last then Constraint_Error is raised when
-- Result1 is calculated. It appears to me that the
-- boundry check is occurring after the calculat... |
src/tests/shapedatabasetest.ads | sebsgit/textproc | 0 | 30481 | <filename>src/tests/shapedatabasetest.ads
with AUnit; use AUnit;
with AUnit.Test_Cases; use AUnit.Test_Cases;
--TODO: add tests for histogram data
--TODO: add importing the training_set data
package ShapeDatabaseTest is
type TestCase is new AUnit.Test_Cases.Test_Case with null record;
procedure Register_Tests(T... |
src/main/antlr/Brucelang.g4 | rodya-mirov/Brucelang | 1 | 2096 | grammar Brucelang;
@header {
package io.rodyamirov.brucelang.lexparse;
}
program
: (stmt)* EOF
;
stmt
: blockStmt # blockStmtBranch
| fnDef # fnDefBranch
| varDef # varDefBranch
| returnStmt # returnStmtBranch
| doStmt # doStmtBranch
| ... |
tests/tk-image-photo-photo_options_test_data.adb | thindil/tashy2 | 2 | 28814 | -- This package is intended to set up and tear down the test environment.
-- Once created by GNATtest, this package will never be overwritten
-- automatically. Contents of this package can be modified in any way
-- except for sections surrounded by a 'read only' marker.
package body Tk.Image.Photo.Photo_Options_T... |
oeis/322/A322303.asm | neoneye/loda-programs | 11 | 165749 | ; A322303: a(n) = Fibonacci(semiprime(n)).
; Submitted by <NAME>
; 3,8,34,55,377,610,10946,17711,75025,121393,3524578,5702887,9227465,39088169,63245986,1836311903,7778742049,20365011074,139583862445,365435296162,591286729879,4052739537881,17167680177565,117669030460994,1304969544928657,5527939700884757
seq $0,1358 ; S... |
test/movq.asm | killvxk/AssemblyLine | 147 | 12302 | SECTION .text
GLOBAL test
test:
movq xmm0, rax
movq xmm0, rcx
movq xmm0, rdx
movq xmm0, rbx
movq xmm0, rsp
movq xmm0, rbp
movq xmm0, rsi
movq xmm0, rdi
movq xmm0, r8
movq xmm0, r9
movq xmm0, r10
movq xmm0, r11
movq xmm0, r12
movq xmm0, r13
movq xmm0, r14
movq xmm0, r15
movq xmm1, rax
movq xmm1, rcx
movq xmm1, rdx
mov... |
moveerase.agda | hazelgrove/hazelnut-agda | 0 | 16135 | <gh_stars>0
open import Nat
open import Prelude
open import List
open import judgemental-erase
open import lemmas-matching
open import statics-core
open import synth-unicity
module moveerase where
-- type actions don't change the term other than moving the cursor
-- around
moveeraset : {t t' : ztyp} {δ : directi... |
oeis/079/A079504.asm | neoneye/loda-programs | 11 | 164274 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A079504: a(n) = 8*n^3*((2*n-1)^2 - 4*n + 4).
; 0,8,320,3672,18944,65000,174528,397880,806912,1498824,2600000,4269848,6704640,10141352,14861504,21195000,29523968,40286600,53980992,71168984,92480000,118614888,150349760,188539832,234123264,288125000,351660608,425940120,512... |
stone/testcases/cmp.asm | yutopp/sekki | 6 | 2043 | <reponame>yutopp/sekki<filename>stone/testcases/cmp.asm
bits 64
cmp cl, 0x0
cmp rcx, [rbp-32]
cmp dl, al
cmp rax, 0xff
cmp rax, 8
cmp rax, 0xffffffff
cmp rcx, rsi
cmp rax, -1
cmp rax,0x80
cmp al, byte [rbp-0x20]
|
src/tp1.adb | zdimension/tdinfo302 | 0 | 8542 | with Ada.Text_IO; use Ada.Text_IO;
procedure tp1 is
-- conversion en majuscule
function Maju (c : Character) return Character is
begin
if c in 'a'..'z' then -- si minuscule
return Character'Val(Character'Pos(c) - 32); -- on décale de 32
else
return c; -- on change ri... |
PrimarSql/Antlr/PrimarSqlLexer.g4 | ScriptBox99/chequer-PrimarSql | 5 | 3965 | lexer grammar PrimarSqlLexer;
channels { PRIMARSQLCOMMENT, ERRORCHANNEL }
// SKIP
SPACE: [ \t\r\n]+ -> channel(HIDDEN);
SPEC_MYSQL_COMMENT: '/*!' .+? '*/' -> channel(PRIMARSQLCOMMENT);
COMMENT_INPUT: '/*' .*? '*/' -> channel(HIDDEN);
LINE_COMMEN... |
libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_init.asm | teknoplop/z88dk | 8 | 101835 |
; b_array_t *b_array_init(void *p, void *data, size_t capacity)
SECTION code_clib
SECTION code_adt_b_array
PUBLIC b_array_init
EXTERN asm_b_array_init
b_array_init:
pop af
pop bc
pop de
pop hl
push hl
push de
push bc
push af
jp asm_b_array_init
|
oeis/077/A077597.asm | neoneye/loda-programs | 11 | 4411 | <reponame>neoneye/loda-programs<filename>oeis/077/A077597.asm
; A077597: Coefficient of x in the n-th Moebius polynomial (A074586), M(n,x), which satisfies M(n,-1)=mu(n) the Moebius function of n.
; Submitted by <NAME>(s4)
; 0,2,4,7,9,13,15,19,22,26,28,34,36,40,44,49,51,57,59,65,69,73,75,83,86,90,94,100,102,110,112,118... |
src/load.asm | furrtek/GB303 | 90 | 179885 | loadpattern:
ld a,(HWOK_EE)
or a
ret z ;No EE operation if EE boot check failed
ld a,(SAVECURPATTSLOT)
cp MAX_PATTERNS
ret nc ;Sanity check
ld b,a ;00000000 aAAAAAAA
rrca ;0aAAAAAA A0000000
and $80
ld (EEW... |
addcarry1.asm | rvgarg/microprocessor_programs | 0 | 101930 | <filename>addcarry1.asm
mvi c,3eh
mvi a,0ffh
adc c
hlt |
lib/tgbl_keyboard.asm | trexxet/tgbl | 14 | 2472 | ; TGBL keyboard routines
; Keystroke handlers switcher, enabled by default
%define KBD_HANDLERS_ENABLED 1
%define KBD_HANDLERS_DISABLED 0
tgbl_kbd_handlers_enable db KBD_HANDLERS_ENABLED
; Keystroke handlers table pointer
tgbl_kbd_table equ 0x6b52 ; 0x7c00 - 4096 bytes stack - 2 * 0x87
; Enable/disable keystroke hand... |
ioctl/Cat05.asm | osfree-project/FamilyAPI | 1 | 94738 | ;/*!
; @file
;
; @ingroup fapi
;
; @brief DosDevIOCtl Category 5 Functions
;
; (c) osFree Project 2021, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author <NAME... |
oeis/028/A028065.asm | neoneye/loda-programs | 11 | 82629 | <filename>oeis/028/A028065.asm
; A028065: Expansion of 1/((1-3x)(1-5x)(1-8x)(1-10x)).
; Submitted by <NAME>
; 1,26,437,6058,75525,882258,9876613,107390426,1143865349,12003195490,124572616389,1282173260394,13113918930373,133479729281522,1353536864252165,13685361486439162,138053939020888197
mov $1,1
mov $2,$0
mov $3,$0
... |
oeis/040/A040894.asm | neoneye/loda-programs | 11 | 168856 | ; A040894: Continued fraction for sqrt(925).
; Submitted by <NAME>(s3)
; 30,2,2,2,2,60,2,2,2,2,60,2,2,2,2,60,2,2,2,2,60,2,2,2,2,60,2,2,2,2,60,2,2,2,2,60,2,2,2,2,60,2,2,2,2,60,2,2,2,2,60,2,2,2,2,60,2,2,2,2,60,2,2,2,2,60,2,2,2,2,60,2,2,2,2,60,2,2,2,2,60,2,2,2,2
mov $4,$0
add $0,5
gcd $0,$4
mov $2,$0
lpb $2
div $0,4
... |
library/fmGUI_ManageDatabase/fmGUI_ManageDb_GoToTab.applescript | NYHTC/applescript-fm-helper | 1 | 4480 | -- fmGUI_ManageDb_GoToTab({tabName:null})
-- <NAME>, NYHTC
-- Go to the "Fields" tab of manage database
(*
HISTORY:
1.1 - 2018-05-02 ( eshagdar ): keep trying to click tab until it changes ( relationship graph can take a bit to load ).
1.0.1 - 2018-04-30 ( eshagdar ): updated error message
1.0 - 2016-06-30 ( eshag... |
source/asis/spec/ada-numerics-float_random.ads | faelys/gela-asis | 4 | 30374 | <reponame>faelys/gela-asis<filename>source/asis/spec/ada-numerics-float_random.ads<gh_stars>1-10
------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada com... |
gfx/pokemon/wobbuffet/anim_idle.asm | Dev727/ancientplatinum | 28 | 240322 | <reponame>Dev727/ancientplatinum<gh_stars>10-100
frame 0, 30
endanim
|
src/grammar/tattoo.g4 | chris-koch-penn/tattoo-lang | 0 | 4976 | grammar tattoo;
prog: expression_list;
expression_list:
expression terminator
| expression_list expression terminator
| terminator;
expression:
function_definition
| function_inline_call
| require_block
| if_statement
| unless_statement
| rvalue
| return_statement
| while_statement
| for_statement
| pir... |
unittests/ASM/Multiblock/ReachableInvalidCode.asm | cobalt2727/FEX | 628 | 95060 | %ifdef CONFIG
{
"Match": "All",
"RegData": {
"RAX": "0x20"
}
}
%endif
mov rax, 0
cmp rax, 0
jz finish
; multiblock should gracefully handle these invalid ops
db 0xf, 0x3B ; invalid opcode here
finish:
mov rax, 32
hlt |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c36205l.ada | best08618/asylo | 7 | 30614 | <reponame>best08618/asylo
-- C36205L.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 contai... |
PRG/levels/Ice/6-2.asm | narfman0/smb3_pp1 | 0 | 245650 | ; Original address was $B14C
; 6-2
.word W602_EndL ; Alternate level layout
.word W602_EndO ; Alternate object layout
.byte LEVEL1_SIZE_09 | LEVEL1_YSTART_140
.byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 | LEVEL2_UNUSEDFLAG
.byte LEVEL3_TILESET_12 | LEVEL3_VSCROLL_LOCKLOW | LEVEL3_PIPENOTEXIT
.byte... |
oeis/305/A305471.asm | neoneye/loda-programs | 11 | 160460 | ; A305471: a(0) = 1, a(1) = 3, a(n) = 3*n*a(n-1) - a(n-2).
; Submitted by <NAME>
; 1,3,17,150,1783,26595,476927,9988872,239256001,6449923155,193258438649,6371078552262,229165569442783,8931086129716275,374876451878640767,16860509248409118240,808929567471759034753,41238547431811301654163,2226072631750338530290049,1268449... |
programs/oeis/321/A321999.asm | jmorken/loda | 1 | 171647 | <gh_stars>1-10
; A321999: Sum of digits of n minus the number of digits of n.
; 0,0,1,2,3,4,5,6,7,8,-1,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,9,1,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,11,3,4,5,6,7,8,9,10,11,12,4,5,6,7,8,9,10,11,12,13,5,6,7,8,9,10,11,12,13,14,6,7,8,9,10,11,12,13,14,15,7
lpb $0
mov $2,$0
div $0,10
mo... |
Driver/Mouse/AbsGen/absgen.asm | steakknife/pcgeos | 504 | 96285 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Mouse Driver -- Absolute Generic Mouse Device-dependent routines
FILE: absgen.asm
AUTHOR: <NAME>, Jul 16, 1991
ROUTINES:
Name ... |
src/random.ads | JeremyGrosser/the_grid | 0 | 24416 | <filename>src/random.ads<gh_stars>0
with HAL; use HAL;
package Random is
function Next
return UInt16;
function In_Range
(First, Last : Natural)
return Natural;
end Random;
|
programming-languages/ada/aa.adb | robertwenquan/nyu-course-assignment | 1 | 16491 | with Ada.Numerics.Elementary_Functions;
use Ada.Numerics.Elementary_Functions;
procedure Quadratic_Equation
(A, B, C : Float; -- By default it is "in".
R1, R2 : out Float;
Valid : out Boolean)
is
Z : Float;
begin
Z := B**2 - 4.0 * A * C;
if Z < 0.0 or A = 0.0 then
Valid := False; -... |
prototyping/Luau/Var.agda | TheGreatSageEqualToHeaven/luau | 1 | 16001 | <filename>prototyping/Luau/Var.agda
module Luau.Var where
open import Agda.Builtin.Bool using (true; false)
open import Agda.Builtin.Equality using (_≡_)
open import Agda.Builtin.String using (String; primStringEquality)
open import Agda.Builtin.TrustMe using (primTrustMe)
open import Properties.Dec using (Dec; yes; n... |
Agda/ideals.agda | UlrikBuchholtz/HoTT-Intro | 333 | 8884 | {-# OPTIONS --without-K --exact-split #-}
module ideals where
import abelian-subgroups
import rings
open abelian-subgroups public
open rings public
{- Subsets of rings -}
subset-Ring :
(l : Level) {l1 : Level} (R : Ring l1) → UU ((lsuc l) ⊔ l1)
subset-Ring l R = type-Ring R → UU-Prop l
is-set-subset-Ring :
(l ... |
15-Shred-Lines.speed.size.asm | blueset/7bh-solutions | 0 | 166670 | -- 7 Billion Humans --
-- 15: <NAME> --
-- Size: 9/10 --
-- Speed: 24/25 --
a:
b:
step n
if n != datacube:
jump b
endif
pickup n
c:
step s
if s == shredder:
giveto s
jump a
endif
jump c
|
extra/msg_passing-whiteboard.adb | HeisenbugLtd/msg_passing | 0 | 7433 | ------------------------------------------------------------------------
-- Copyright (C) 2010-2020 by Heisenbug Ltd. (<EMAIL>)
--
-- This work is free. You can redistribute it and/or modify it under
-- the terms of the Do What The Fuck You Want To Public License,
-- Version 2, as published by Sam Hocevar. See the ... |
src/boot/stagetwo.asm | yotam5/SmollOs | 0 | 92292 | ORG 0x7e00
[BITS 16]
mov [loader_drivenum], dl
;; Set up vbe info structure
xor ax, ax
mov es, ax
mov ah, 4Fh
mov di, vbe_info_block
int 10h
cmp ax, 4Fh
jne error
mov ax, word [vbe_info_block.video_mode_pointer]
mov [offset], ax
mov ax, word [vbe_info_block.video_mode_... |
src/util/liste_generique.adb | SKNZ/BezierToSTL | 0 | 2536 | with Ada.Unchecked_Deallocation;
package body Liste_Generique is
procedure Liberer is new Ada.Unchecked_Deallocation(Cellule, Pointeur);
procedure Vider(L : in out Liste) is
Cour : Pointeur := L.Debut;
Next : Pointeur;
begin
while Cour /= null loop
Next := Cour.Suivant... |
programs/oeis/144/A144606.asm | jmorken/loda | 1 | 175403 | <gh_stars>1-10
; A144606: Christoffel word of slope 8/11.
; 0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1
mov $3,2
mov $6,$0
lpb $3
mov $0,$6
sub $3,1
... |
source/hash/a-szbzha.adb | ytomino/drake | 33 | 29329 | with Ada.Strings.Wide_Wide_Hash;
function Ada.Strings.Wide_Wide_Bounded.Wide_Wide_Hash (
Key : Bounded.Bounded_Wide_Wide_String)
return Containers.Hash_Type is
begin
return Strings.Wide_Wide_Hash (Key.Element (1 .. Key.Length));
end Ada.Strings.Wide_Wide_Bounded.Wide_Wide_Hash;
|
programs/oeis/332/A332023.asm | neoneye/loda | 22 | 102299 | <gh_stars>10-100
; A332023: T(n, k) = binomial(n+2, 3) + binomial(k+1, 2) + binomial(k, 1). Triangle read by rows, T(n, k) for 0 <= k <= n.
; 0,1,3,4,6,9,10,12,15,19,20,22,25,29,34,35,37,40,44,49,55,56,58,61,65,70,76,83,84,86,89,93,98,104,111,119,120,122,125,129,134,140,147,155,164,165,167,170,174,179,185,192,200,209,2... |
include/defines.asm | untoxa/RGBDK | 1 | 18806 |
; First, let's include libraries
INCLUDE "hardware.inc/hardware.inc"
rev_Check_hardware_inc 3.0
INCLUDE "rgbds-structs/structs.asm"
; A couple more hardware defines
NB_SPRITES equ 40
; I generally discourage the use of pseudo-instructions for a variety of reasons,
; but this one includes a label, and manually ... |
tools/scitools/conf/understand/ada/ada05/g-flocon.ads | brucegua/moocos | 1 | 13747 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
software/hal/boards/pixhawk/hil/hil-uart.adb | TUM-EI-RCS/StratoX | 12 | 20560 | -- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: <NAME> (<EMAIL>)
pragma SPARK_Mode (Off);
with STM32.USARTs;
with STM32.Device;
with HIL.Config;
with Ada.Interrupts; use Ada.Interrupts;
with Ada.Interrupts.Names; use Ada.In... |
audio/music/unused/Eterna Forest.asm | AtmaBuster/pokeplat-gen2-old | 2 | 101042 | <filename>audio/music/unused/Eterna Forest.asm
Music_TitleScreen:
dbw $C0, Music_TitleScreen_Ch1
dbw $01, Music_TitleScreen_Ch2
dbw $02, Music_TitleScreen_Ch3
dbw $03, Music_TitleScreen_Ch4
Music_TitleScreen_Ch1:
tempo $88
volume $77
notetype $C, $82
dutycycle 0
octave 5
note __, 1
note B_, 5
intensity $72... |
host/stm32gd-gpio-polled.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 16687 | <filename>host/stm32gd-gpio-polled.ads<gh_stars>1-10
with STM32GD.GPIO.Pin;
generic
with package Pin is new STM32GD.GPIO.Pin (<>);
package STM32GD.GPIO.Polled is
pragma Preelaborate;
procedure Configure_Trigger (Event : Boolean := False; Rising : Boolean := False; Falling : Boolean := False);
procedure... |
PMOO/EXAMEN/1617O/Centro_Mensajeria.adb | usainzg/EHU | 0 | 14073 | package body Centro_Mensajeria is
LEnvios: Lista_Envios.Lista;
Nombre: String(1..4);
Ubicacion: String(1..4);
procedure Localizar_Envios_Cercanos(Geo: in GeoLoc.Geo; out LCer: Lista_Envios.Lista) is
LAux: Lista_Envios.Lista;
EnvAux: Envios.Envio;
GeoAux: GeoLoc.Geo;
begin
Listas... |
openSafariTabInChrome/OpenSafariTabInChrome.lbaction/Contents/Scripts/default.scpt | chrisfsmith/launchbar | 3 | 4540 | <reponame>chrisfsmith/launchbar<filename>openSafariTabInChrome/OpenSafariTabInChrome.lbaction/Contents/Scripts/default.scpt
--
-- opens current Safari tab in Google Chrome
-- forked from https://gist.github.com/3153606
-- which was forked from https://gist.github.com/3151932
--
property theURL : ""
if is_running("Safa... |
src/asis/asis-data_decomposition-debug.ads | My-Colaborations/dynamo | 15 | 9470 | <filename>src/asis/asis-data_decomposition-debug.ads
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
old/Mathematical/Numeral/Real.agda | Lolirofle/stuff-in-agda | 6 | 7522 | module Numeral.Real where
open import Data.Tuple
open import Logic
import Lvl
open import Numeral.Natural
open import Numeral.Natural.Oper
open import Numeral.Rational
open import Numeral.Rational.Oper
open import Relator.Equals
open import Type
open import Type.Quotient
-- TODO: This will not work, but it is th... |
theorems/homotopy/DisjointlyPointedSet.agda | mikeshulman/HoTT-Agda | 0 | 795 | <filename>theorems/homotopy/DisjointlyPointedSet.agda
{-# OPTIONS --without-K --rewriting #-}
open import HoTT
{-
Various lemmas that will be used in cohomology.DisjointlyPointedSet.
Many of them, for example the choice lemma about coproducts, should be
put into core/.
-}
module homotopy.DisjointlyPointedSet where
... |
src/spopera.asm | samuelhorwitz/spaceopera | 0 | 27022 | ;---------------------------------------------------------------------------------------------------
;SPACE OPERA
;A game by <NAME> (N19081895) - 2008
;With thanks to <NAME> for some code.
;---------------------------------------------------------------------------------------------------
jmp start ;Jum... |
ls.asm | adrianna157/CS444-Lab5-Mutexes | 0 | 15605 |
_ls: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
close(fd);
}
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 57 push %edi
4: 56 push %esi
5: 53 ... |
alloy4fun_models/trainstlt/models/2/yT4iE3jWrGtqwJb26.als | Kaixi26/org.alloytools.alloy | 0 | 4240 | open main
pred idyT4iE3jWrGtqwJb26_prop3 {
all t : Train | always t.pos in Entry or always t.pos in Exit
}
pred __repair { idyT4iE3jWrGtqwJb26_prop3 }
check __repair { idyT4iE3jWrGtqwJb26_prop3 <=> prop3o } |
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/Mix/assy-support-intel64.asm | ArthasZhang007/15418FinalProject | 0 | 80740 | ;
; Copyright (C) 2008-2012 Intel Corporation.
; SPDX-License-Identifier: MIT
;
.CODE
ALIGN 4
mix_fp_save PROC
fxsave BYTE PTR [rcx]
emms
ret
mix_fp_save ENDP
.CODE
ALIGN 4
mix_fp_restore PROC
fxrstor BYTE PTR [rcx]
ret
mix_fp_restore ENDP
END
|
programs/oeis/154/A154295.asm | karttu/loda | 1 | 85116 | <reponame>karttu/loda
; A154295: a(n) = 81*n^2 - 90*n + 26.
; 26,17,170,485,962,1601,2402,3365,4490,5777,7226,8837,10610,12545,14642,16901,19322,21905,24650,27557,30626,33857,37250,40805,44522,48401,52442,56645,61010,65537,70226,75077,80090,85265,90602,96101,101762,107585,113570,119717,126026,132497,139130,145925,15288... |
Driver/Video/Dumb/VidMem/Clr4/clr4Tables.asm | steakknife/pcgeos | 504 | 177354 |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Video driver
FILE: clr4Tables.asm
AUTHOR: <NAME>
REVISION HISTORY:
Name Date Description
---- ---- -----------
jad 12/91 initial version
... |
samples/xmlrd.adb | RREE/ada-util | 60 | 1562 | -----------------------------------------------------------------------
-- xrds -- XRDS parser example
-- Copyright (C) 2010, 2011 <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.
-... |
test/patest_toomanysines/src/patest_toomanysines.adb | ficorax/PortAudioAda | 2 | 1480 | with Ada.Float_Text_IO; use Ada.Float_Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Ada.Text_IO; use Ada.Text_IO;
with System;
with PortAudioAda; use PortAudioAda;
with PaTest_TooManySines_Types; use PaTest_TooManySines_Types;
with PaTest_TooManySines_Callbacks; use PaTest_TooManySines_Callbacks;
... |
bb-runtimes/examples/monitor/net/netproto.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 6623 | <reponame>JCGobbi/Nucleo-STM32G474RE
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- ... |
test/Succeed/Issue739.agda | redfish64/autonomic-agda | 3 | 14945 | <filename>test/Succeed/Issue739.agda
module Issue739 where
record ⊤ : Set where
constructor tt
record Σ (A : Set) (B : A → Set) : Set where
constructor _,_
field
fst : A
snd : B fst
uncurry : {A : Set} {B : A → Set} →
((x : A) → B x → Set) →
Σ A B → Set
uncurry f (x , y) = f x y
d... |
src/JVM/Syntax/Bytecode/Printer.agda | ajrouvoet/jvm.agda | 6 | 14094 | <filename>src/JVM/Syntax/Bytecode/Printer.agda
{-# OPTIONS --no-qualified-instances #-}
open import Data.List
open import Relation.Unary
open import Relation.Ternary.Core
open import Relation.Ternary.Structures
open import Relation.Ternary.Structures.Syntax
import JVM.Printer.Printer as Printer
import JVM.Model as Mod... |
Assignment 4/SwitchUpperLower.asm | wstern1234/COMSC-260 | 0 | 172001 | ; SwitchUpperLower.asm - exchanges the upper and lower words in a doubleword variable named three
INCLUDE Irvine32.inc
.386
.model flat, stdcall
.stack 4096
ExitProcess PROTO, dwExitCode:DWORD
.data
three DWORD "w x",0
.code
main PROC
mov ecx, three
mov ax, WORD PTR three
mov bx,... |
alloy4fun_models/trashltl/models/1/EbGhTiJ3t34bu3D9a.als | Kaixi26/org.alloytools.alloy | 0 | 3936 | open main
pred idEbGhTiJ3t34bu3D9a_prop2 {
some File since ( historically no File )
}
pred __repair { idEbGhTiJ3t34bu3D9a_prop2 }
check __repair { idEbGhTiJ3t34bu3D9a_prop2 <=> prop2o } |
src/scripts/list.applescript | maaslalani/reminders | 2 | 848 | <reponame>maaslalani/reminders<filename>src/scripts/list.applescript
tell application "Reminders"
return name of reminders in lists "Reminders" whose completed is false
quit
end tell
|
oeis/078/A078313.asm | neoneye/loda-programs | 0 | 104925 | ; A078313: Number of distinct prime factors of n*rad(n)+1, where rad=A007947 (squarefree kernel).
; Submitted by <NAME>(w3)
; 1,1,2,1,2,1,2,1,2,1,2,1,3,1,2,2,3,1,2,2,3,2,3,2,3,1,2,2,2,2,3,2,3,2,2,2,3,2,2,1,2,2,3,3,2,2,4,1,2,2,2,3,3,2,3,2,3,2,2,1,2,2,2,2,2,1,3,2,2,2,2,1,4,1,2,2,3,2,2,2,2,2,4,1,2,2,3,2,3,2,3,3,3,1,2,1,3,... |
Tools/unix/lzsa/asm/6502/decompress_faster_v1.asm | davidknoll/RomWBW | 194 | 20498 | ; ***************************************************************************
; ***************************************************************************
;
; lzsa1_6502.s
;
; NMOS 6502 decompressor for data stored in <NAME>'s LZSA1 format.
;
; This code is written for the ACME assembler.
;
; Optional code is presente... |
impl/src/test/resources/patterns/CompCodes.asm | jeslie/hack-assembler | 1 | 161778 | // mnemonic // 111 A comp 000 000
0 // 0 101010
1 // 0 111111
-1 // 0 111010
D // 0 001100
A // 0 110000
!D // 0 001101
!A // 0 110001
-D // 0 001111
-A // 0 110011
D+1 // 0 011111
... |
oeis/065/A065705.asm | neoneye/loda-programs | 11 | 3094 | ; A065705: a(n) = Lucas(10*n).
; 2,123,15127,1860498,228826127,28143753123,3461452808002,425730551631123,52361396397820127,6440026026380244498,792070839848372253127,97418273275323406890123,11981655542024930675232002,1473646213395791149646646123,181246502592140286475862241127,22291846172619859445381409012498,27417158327... |
base/mvdm/dos/v86/redir/resident.asm | npocmaka/Windows-Server-2003 | 17 | 11522 | page ,132
if 0
/*++
Copyright (c) 1991 Microsoft Corporation
Module Name:
resident.asm
Abstract:
This module contains the resident code part of the stub redir TSR for NT
VDM net support. The routines contained herein are the 2f handler and the
API support routines:
Mu... |
specs/ada/server/ees/tkmrpc-operation_handlers-ees-esa_acquire.adb | DrenfongWong/tkm-rpc | 0 | 15338 | <reponame>DrenfongWong/tkm-rpc
with Tkmrpc.Servers.Ees;
with Tkmrpc.Results;
with Tkmrpc.Request.Ees.Esa_Acquire.Convert;
with Tkmrpc.Response.Ees.Esa_Acquire.Convert;
package body Tkmrpc.Operation_Handlers.Ees.Esa_Acquire is
-------------------------------------------------------------------------
procedure H... |
programs/oeis/114/A114091.asm | jmorken/loda | 1 | 94099 | ; A114091: Number of partitions of n into parts that are distinct mod 3.
; 1,1,2,2,2,4,3,3,7,4,4,11,5,5,16,6,6,22,7,7,29,8,8,37,9,9,46,10,10,56,11,11,67,12,12,79,13,13,92,14,14,106,15,15,121,16,16,137,17,17,154,18,18,172,19,19,191,20,20,211,21,21,232,22,22,254,23,23,277,24,24,301,25,25,326,26,26,352,27,27,379,28,28,407... |
AutoChessServer/Dependencies/concurrentqueue/benchmarks/tbb/intel64-masm/atomic_support.asm | 908760230/MyAutoChess | 0 | 93268 | ; Copyright 2005-2014 Intel Corporation. All Rights Reserved.
;
; This file is part of Threading Building Blocks. Threading Building Blocks is free software;
; you can redistribute it and/or modify it under the terms of the GNU General Public License
; version 2 as published by the Free Software Foundation. ... |
private/windows/shell/accesory/cardfile/indos2.asm | King0987654/windows2000 | 11 | 90434 | title indos2.asm
;************************************************************************/
;* */
;* Windows Cardfile - Written by <NAME> */
;* (c) Copyright Microsoft Corp. 1985, 1991 - All Rights Reserved */
;* ... |
src/sfx.asm | santiontanon/talesofpopolon-ext | 4 | 19913 | SFX_fire_arrow:
db 4,#00,5,#04 ;; frequency
db 10,#10 ;; volume
db 11,#00,12,#10 ;; envelope frequency
db 13 + MUSIC_CMD_TIME_STEP_FLAG,#09 ;; shape of the envelope
; db 7,#b8 ;; sets channels to wave
db MUSIC_CMD_SKIP
db 4,#00,5 + MUSIC_CMD_TIME_STEP_FLAG,#08 ;; frequen... |
oeis/001/A001018.asm | neoneye/loda-programs | 11 | 101767 | ; A001018: Powers of 8: a(n) = 8^n.
; 1,8,64,512,4096,32768,262144,2097152,16777216,134217728,1073741824,8589934592,68719476736,549755813888,4398046511104,35184372088832,281474976710656,2251799813685248,18014398509481984,144115188075855872,1152921504606846976,9223372036854775808,73786976294838206464,5902958103587056517... |
libsrc/_DEVELOPMENT/adt/b_array/c/sdcc_iy/b_array_data_fastcall.asm | meesokim/z88dk | 0 | 965 |
; void *b_array_data_fastcall(b_array_t *a)
SECTION code_adt_b_array
PUBLIC _b_array_data_fastcall
defc _b_array_data_fastcall = asm_b_array_data
INCLUDE "adt/b_array/z80/asm_b_array_data.asm"
|
gfx/pokemon/gloom/anim_idle.asm | Dev727/ancientplatinum | 28 | 14820 | <gh_stars>10-100
setrepeat 2
frame 0, 10
frame 5, 10
dorepeat 1
endanim
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.