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 |
|---|---|---|---|---|
programs/oeis/159/A159938.asm | karttu/loda | 0 | 102762 | <reponame>karttu/loda
; A159938: The number of homogeneous trisubstituted linear alkanes.
; 2,6,16,36,70,122,196,296,426,590,792,1036,1326,1666,2060,2512,3026,3606,4256,4980,5782,6666,7636,8696,9850,11102,12456,13916,15486,17170,18972,20896,22946,25126,27440,29892,32486
mul $0,2
mov $1,2
mov $2,2
lpb $0,1
add $2,$0
... |
src/giza-widget-composite.adb | Fabien-Chouteau/Giza | 7 | 29438 | <filename>src/giza-widget-composite.adb<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- Giza --
-- ... |
tests/typing/bad/testfile-return-5.adb | xuedong/mini-ada | 0 | 6106 | <reponame>xuedong/mini-ada<filename>tests/typing/bad/testfile-return-5.adb
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is begin return 0; end;
|
libsrc/abc80/abc_inv.asm | andydansby/z88dk-mk2 | 1 | 93142 | <filename>libsrc/abc80/abc_inv.asm
;
; ABC80 Graphics Functions
;
; xorg () -- invert graphics on screen
;
; routine found in "grafik.asm"
; by <NAME> - 1986-03-13 22.58.30
;
; imported by <NAME> - 29/12/2006 :o)
;
;
; $Id: abc_inv.asm,v 1.1 2007/10/31 16:15:36 stefano Exp $
;
XLIB abc_inv
... |
Examples/ch07/Multiply.asm | satadriver/LiunuxOS | 0 | 91126 | <gh_stars>0
TITLE Multiplication Examples (Multiply.asm)
; Exmples of both signed and unsigned multiplication.
INCLUDE Irvine16.inc
.code
main PROC
mov ax,@data
mov ds,ax
mov ax,255
mov bx,255
imul bx
;Example 1
mov al,5h
mov bl,10h
mul bl ; CF = 0
;Example 2
.data
... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_dist.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 23560 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
mgblib/src/serial/SerialSendByte.asm | jbshelton/CGB_APU_Tester | 2 | 6980 | IF !DEF(INC_SerialSendByte)
INC_SerialSendByte = 1
; Send a byte over the serial connection as master.
; Waits until the send has completed.
;
; @param a the value to send
; @destroys af
SerialSendByte::
ldh [rSB], a
ld a, $81
ldh [rSC],a
.loop:
ldh a, [rSC]
bit 7, a
jr nz, .loop
ret
END... |
audio/sfx/super_effective.asm | AmateurPanda92/pokemon-rby-dx | 9 | 103026 | <gh_stars>1-10
SFX_Super_Effective_Ch7:
noisenote 4, 15, 1, 52
noisenote 15, 15, 2, 100
endchannel
|
Task/Pick-random-element/AppleScript/pick-random-element.applescript | LaudateCorpus1/RosettaCodeData | 1 | 1639 | <reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Pick-random-element/AppleScript/pick-random-element.applescript
get some item of [1, "two", pi, "4", 5 > 4, 5 + 1, Sunday]
|
test/Fail/Issue3007.agda | cruhland/agda | 1,989 | 9505 | -- Andreas, 2018-03-23: issue #3007, reported by Fabian
-- An broken identifier followed by a comment and then the end of the file
-- caused an internal error during error reporting.
--
-- Should fail without internal error.
postulate _-- This is the end of the file!
|
data/mapHeaders/ssanne8.asm | adhi-thirumala/EvoYellow | 16 | 170886 | <filename>data/mapHeaders/ssanne8.asm
SSAnne8_h:
db SHIP ; tileset
db SS_ANNE_8_HEIGHT, SS_ANNE_8_WIDTH ; dimensions (y, x)
dw SSAnne8Blocks, SSAnne8TextPointers, SSAnne8Script ; blocks, texts, scripts
db $00 ; connections
dw SSAnne8Object ; objects
|
src/main/antlr/Generators.g4 | definiti/definiti-test | 0 | 4286 | <filename>src/main/antlr/Generators.g4
grammar Generators;
BOOLEAN : 'true' | 'false';
NUMBER : [0-9]+('.'[0-9]+)?;
STRING : '"' ( '\\"' | . )*? '"';
GENERATOR : 'generator';
IDENTIFIER : [a-zA-Z0-9]+;
generators: generator*;
generator: GENERATOR name=IDENTIFIER generics? parameters ':' type;
... |
audio/sfx/ss_anne_horn_3.asm | opiter09/ASM-Machina | 1 | 105564 | <gh_stars>1-10
SFX_SS_Anne_Horn_3_Ch5:
duty_cycle 2
square_note 15, 15, 0, 1280
square_note 4, 0, 0, 0
square_note 15, 15, 0, 1280
square_note 15, 15, 0, 1280
square_note 15, 15, 0, 1280
square_note 15, 15, 0, 1280
square_note 15, 15, 2, 1280
sound_ret
SFX_SS_Anne_Horn_3_Ch6:
duty_cycle 3
square_note 15, 1... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/loop_optimization1_pkg.adb | best08618/asylo | 7 | 27373 | package body Loop_Optimization1_Pkg is
type Unconstrained_Array_Type
is array (Index_Type range <>) of Element_Type;
procedure Local (UA : in out Unconstrained_Array_Type) is
begin
null;
end;
procedure Proc (CA : in out Constrained_Array_Type) is
begin
Local (Unconstrained_Array_Type (CA));
... |
src/zmq-sockets-typed_generic.ads | persan/zeromq-Ada | 33 | 20656 | <filename>src/zmq-sockets-typed_generic.ads
-------------------------------------------------------------------------------
-- --
-- 0MQ Ada-binding --
-- ... |
libsrc/_DEVELOPMENT/math/float/math48/lm/z80/asm_dfix32u.asm | jpoikela/z88dk | 640 | 103136 |
SECTION code_clib
SECTION code_fp_math48
PUBLIC asm_dfix32u
EXTERN am48_dfix32u
defc asm_dfix32u = am48_dfix32u
|
Data/Boolean/Proofs.agda | Lolirofle/stuff-in-agda | 6 | 14207 | <filename>Data/Boolean/Proofs.agda
module Data.Boolean.Proofs where
import Lvl
open import Data
open import Data.Boolean
import Data.Boolean.Operators
open Data.Boolean.Operators.Logic using (_⊼_ ; _⊽_ ; _⊕_)
open Data.Boolean.Operators.Programming
open import Data.Either as Either using (_‖_ ;... |
src/texaco.adb | zenharris/ada-bbs | 2 | 10523 | <filename>src/texaco.adb
package body Texaco is
-- c :Key_Code;
-- Ch : Character;
-- Current_Char : Column_Position := 1;
function GetKey (win1 : Window := Standard_Window) return Key_Code is
Inkey : Key_Code;
begin
Inkey := Get_Keystroke(win1);
return (Inkey);
exception
... |
applet/aide/source/editors/aide-editor-of_record_type.adb | charlie5/aIDE | 3 | 30772 | <filename>applet/aide/source/editors/aide-editor-of_record_type.adb
with
aIDE.Editor.of_record_component,
aIDE.GUI,
AdaM.record_Component,
glib.Error,
gtk.Builder,
gtk.Handlers;
with Ada.Text_IO; use Ada.Text_IO;
package body aIDE.Editor.of_record_type
is
use Gtk.Builder,
G... |
libsrc/target/z88/sendmail.asm | jpoikela/z88dk | 640 | 21451 | ;
; Small C+ Runtime Library
;
; Z88 Application functions
;
; *** Z88 SPECIFIC FUNCTION - probably no equiv for your machine! ***
;
; 11/4/99
;
; Send Mail
;
; int sendmail(char *type, char *info, int length)
;
; Returns 0 on failure, number of bytes present on success
... |
experiments/test-suite/mutation-based/10/10/balancedBST.als | kaiyuanw/AlloyFLCore | 1 | 735 | pred test85 {
some disj BinaryTree0: BinaryTree {some disj Node0, Node1, Node2: Node {
BinaryTree = BinaryTree0
root = BinaryTree0->Node2
Node = Node0 + Node1 + Node2
left = Node0->Node1 + Node2->Node0
right = Node2->Node1
elem = Node0->7 + Node1->6 + Node2->5
}}
}
run test85 for 4 expect 0
pred test14 {
some disj Bina... |
test/Succeed/Issue3399.agda | caryoscelus/agda | 0 | 3447 | <gh_stars>0
{-# OPTIONS --cubical #-}
module _ where
open import Agda.Primitive.Cubical renaming (primINeg to ~_; primIMax to _∨_; primIMin to _∧_)
open import Agda.Builtin.Cubical.Path
open import Agda.Builtin.Cubical.Sub
open import Agda.Builtin.Cubical.Sub using () renaming (Sub to _[_↦_]; primSubOut to ouc)
open im... |
test/Fail/Issue1209-3.agda | shlevy/agda | 1,989 | 3149 | <filename>test/Fail/Issue1209-3.agda
-- This combination should not be allowed:
{-# OPTIONS --safe --guardedness --sized-types #-}
-- note that `--safe` turns off `--guardedness` and `--sized-types`,
-- hence `--guardedness --sized-types --safe` works, but does not
-- mean the above combination
|
src/siphash.adb | jhumphry/SPARK_SipHash | 5 | 4878 | <filename>src/siphash.adb
-- SipHash
-- an Ada implementation of the algorithm described in
-- "SipHash: a fast short-input PRF"
-- by <NAME> and <NAME>
-- Copyright (c) 2015, <NAME> - see LICENSE file for details
with System;
package body SipHash with
SPARK_Mode,
Refined_State => (Initial_Hash_State => Initial_Stat... |
test/asset/agda-stdlib-1.0/Data/AVL/Sets.agda | omega12345/agda-mode | 0 | 16948 | <filename>test/asset/agda-stdlib-1.0/Data/AVL/Sets.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Finite sets, based on AVL trees
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Re... |
oeis/081/A081518.asm | neoneye/loda-programs | 11 | 2600 | <filename>oeis/081/A081518.asm<gh_stars>10-100
; A081518: Final term in row n of A081520.
; Submitted by <NAME>
; 1,2,6,6,20,8,42,14,24,15,110,16,156,22,30,30,272,26,342,32,48,38,506,34,120,46,78,48,812,39,930,62,81,62,110,52,1332,70,99,65,1640,57,1806,78,95,86,2162,70,336,82,135,94,2756,80,198,96,152,110,3422,81,3660,... |
src/main/fragment/mos6502-common/vwsm1_ge_vwsc1_then_la1.asm | jbrandwood/kickc | 2 | 5100 | <filename>src/main/fragment/mos6502-common/vwsm1_ge_vwsc1_then_la1.asm
lda {m1}
cmp #<{c1}
lda {m1}+1
sbc #>{c1}
bvc !+
eor #$80
!:
bpl {la1}
|
thesisExamples/Bias.agda | JoeyEremondi/lambda-pi-constraint | 16 | 7758 | {-# OPTIONS --type-in-type #-}
module Bias where
open import AgdaPrelude
myFun : (a : Set) -> a -> a -> a -> a
myFun a x y z = x
--myApp1 = myFun _ Zero Zero (Nil Nat)
myApp2 = myFun _ (Nil Nat) Zero Zero
|
source/amf/uml/amf-internals-uml_includes.ads | svn2github/matreshka | 24 | 19369 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
test/interaction/Issue2051.agda | cruhland/agda | 1,989 | 10827 | <reponame>cruhland/agda<filename>test/interaction/Issue2051.agda
-- Andreas, 2016-06-20 issue #2051
-- Try to preserve rhs when splitting a clause
data D : Set where
d : D
c : D → D
-- A simple RHS that should be preserved by splitting:
con : (x : D) → D
con x = c {!x!} -- C-c C-c
-- More delicate, a meta vari... |
Codes/Chapter05/P06/P05-06.asm | ar-ekt/Dandamudi-Assembly-Solutions | 8 | 163975 | %INCLUDE "lib.h"
global _start
section .data
prompt_msg db "Please input a string: ", 10, 0
reverse_msg db "String in reverse order: ", 10, 0
endl db 10, 0
section .bss
string resb 41
section .code
_start:
puts prompt_msg
fgets string, 41
push string ; push pointer to string onto ... |
oeis/142/A142792.asm | neoneye/loda-programs | 11 | 27038 | <filename>oeis/142/A142792.asm
; A142792: Primes congruent to 31 mod 60.
; Submitted by <NAME>(s3)
; 31,151,211,271,331,571,631,691,751,811,991,1051,1171,1231,1291,1471,1531,1831,1951,2011,2131,2251,2311,2371,2551,2671,2731,2791,2851,2971,3271,3331,3391,3511,3571,3631,3691,3931,4051,4111,4231,4591,4651,4831,4951,5011,5... |
source/gameFlow.asm | lvcabral/retaliate64 | 65 | 173426 | <reponame>lvcabral/retaliate64
;===============================================================================
; gameFlow.asm - Game Flow Control
;
; Copyright (C) 2017,2018 <NAME> - <https://lvcabral.com>
;
; Distributed under the MIT software license, see the accompanying
; file LICENSE or https://opensource.org... |
src/Sym_Expr/test/test-solving.adb | fintatarta/eugen | 0 | 6873 | with Test_Report; use Test_Report;
with Symbolic_Expressions.Solving;
with Ada.Strings.Unbounded;
procedure Test.Solving is
use Ada.Strings.Unbounded;
function "+" (X : String) return Unbounded_String
renames To_Unbounded_String;
function "+" (X : Unbounded_String)... |
Old Programmes/8085/Memory Copy/memcpy.asm | illuminati-inc-2020/school | 0 | 175769 | <filename>Old Programmes/8085/Memory Copy/memcpy.asm
LXI H,0100H ;0100H<-INPUT
MOV C,M ;C<-COUNTER
INX H
LXI D,0200H ;0200H<-OUTPUT
LOOP: MOV A,M
XCHG
MOV M,A
XCHG
INX H
INX D
DCR C
JNZ LOOP
HLT |
stringtemplate/STLexer.g4 | ChristianWulf/grammars-v4 | 4 | 6893 | /* [The "BSD license"]
* Copyright (c) 2011-2014 <NAME>
* Copyright (c) 2015 <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:
* 1. Redistributions of source code must retain the ... |
oeis/017/A017260.asm | neoneye/loda-programs | 11 | 97524 | ; A017260: a(n) = (9*n + 8)^4.
; 4096,83521,456976,1500625,3748096,7890481,14776336,25411681,40960000,62742241,92236816,131079601,181063936,244140625,322417936,418161601,533794816,671898241,835210000,1026625681,1249198336,1506138481,1800814096,2136750625,2517630976,2947295521,3429742096,3969126001,4569760000,5236114321... |
src/Categories/Enriched/Category.agda | MirceaS/agda-categories | 0 | 8078 | <filename>src/Categories/Enriched/Category.agda
{-# OPTIONS --without-K --safe #-}
-- Enriched category over a Monoidal category V
open import Categories.Category
using (categoryHelper) renaming (Category to Setoid-Category)
open import Categories.Category.Monoidal using (Monoidal)
module Categories.Enriched.Categ... |
Cubical/Categories/TypesOfCategories/TypeCategory.agda | Edlyr/cubical | 0 | 7015 | {-# OPTIONS --cubical --no-import-sorts --postfix-projections --safe #-}
module Cubical.Categories.TypesOfCategories.TypeCategory where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Equiv
open import Cubical.Data.Sigma
import Cubical.Functions.Fibratio... |
libsrc/_DEVELOPMENT/l/z80/longlong/l_inc_64_dehldehl.asm | jpoikela/z88dk | 640 | 94281 | <reponame>jpoikela/z88dk
SECTION code_clib
SECTION code_l
PUBLIC l_inc_64_dehldehl, l0_inc_64_dehldehl
l_inc_64_dehldehl:
; increment 64-bit value
;
; enter : dehl'dehl = 32 bit number
;
; exit : dehl'dehl += 1
;
; uses : f, de, hl, de', hl'
inc l
ret nz
l0_inc_64_dehldehl:
inc h
... |
source/macros.adb | jquorning/CELLE | 0 | 19015 | <filename>source/macros.adb
--
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
with Ada.Conta... |
HW3/fibonacci.asm | CodyKelly-UCD/CSCI-2525 | 0 | 160838 | TITLE fibonacci.asm
COMMENT !
Completes the following:
a. fib(n) for n = 2, 3, ..., 10 using an array of the appropriate
size and type. Declares a value for fib(0) and fib(1), but all
remaining elements are calculated by the program.
b. After the array is filled with required values, the program
... |
ch10/RowSum.asm | William0Friend/my_masm | 0 | 98633 | TITLE Row Sum Calculation (RowSumMacro.asm)
Comment !
Tests the mCalc_row_sum macro.
!
INCLUDE Irvine32.inc
;------------------------------------------------------------
mCalc_row_sum MACRO index, arrayOffset, rowSize, eltType
; Calculates the sum of a row in a two-dimensional array.
;
; Re... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34009a.ada | best08618/asylo | 7 | 28862 | <reponame>best08618/asylo
-- C34009A.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... |
programs/oeis/213/A213480.asm | neoneye/loda | 22 | 170177 | <filename>programs/oeis/213/A213480.asm<gh_stars>10-100
; A213480: Number of (w,x,y) with all terms in {0,...,n} and |w-x|+|x-y| != w+x+y.
; 0,4,16,46,95,175,285,439,634,886,1190,1564,2001,2521,3115,3805,4580,5464,6444,7546,8755,10099,11561,13171,14910,16810,18850,21064,23429,25981,28695,31609,34696,37996,41480,45190,4... |
dino/lcs/enemy/3.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 240050 | copyright zengfr site:http://github.com/zengfr/romhack
0359A4 move.b #$e, ($3,A6)
0359AA move.w #$38, ($84,A6) [enemy+ 3, enemy+3]
03DE20 move.b #$13, ($3,A6)
03DE26 move.w #$4c, ($84,A6) [enemy+ 3, enemy+3]
03DE38 move.b #$12, ($3,A6)
03DE3E move.w #$48, ($84,A6) [enemy+ 3, enemy+3]
045800 move.b #$9,... |
projects/07/MemoryAccess/PointerTest/PointerTest.asm | skatsuta/nand2tetris | 1 | 12104 | // ../MemoryAccess/PointerTest/PointerTest.vm
@3030
D=A
@SP
A=M
M=D
@SP
AM=M+1
@0
D=A
@R3
AD=D+A
@R13
M=D
@SP
AM=M-1
D=M
@R13
A=M
M=D
@3040
D=A
@SP
A=M
M=D
@SP
AM=M+1
@1
D=A
@R3
AD=D+A
@R13
M=D
@SP
AM=M-1
D=M
@R13
A=M
M=D
@32
D=A
@SP
A=M
M=D
@SP
AM=M+1
@2
D=A
@THIS
AD=D+M
@R13
M=D
@SP
AM=M-1
D=M
@R13
A=M
M=D
@46
D=A
@S... |
aula_14/semaforo/semaforo.asm | Descomplica-ADS/ACS-XXI | 9 | 5844 | Start:
MOV AL, 84;
OUT 01;
MOV CL, 3
L1:
DEC CL
JNZ L1
MOV AL, 88;
OUT 01;
MOV AL, 30;
OUT 01;
MOV CL, 3
L2:
DEC CL
JNZ L2
MOV AL, 50;
OUT 01;
JMP Start
END
|
programs/oeis/261/A261424.asm | neoneye/loda | 22 | 245508 | <reponame>neoneye/loda
; A261424: Difference between n and the largest palindrome <= n.
; 0,0,0,0,0,0,0,0,0,0,1,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,0
mov $1,$0
seq $1,2614... |
data/moves/always_hit.asm | AtmaBuster/pokeplat-gen2 | 6 | 240064 | AlwaysHitEffects:
db EFFECT_ALWAYS_HIT
db EFFECT_VITAL_THROW
db EFFECT_TRUMP_CARD
db -1
|
euler2.adb | kimtg/euler-ada | 7 | 28577 | <filename>euler2.adb
with ada.text_io;
use ada.text_io;
procedure euler2 is
a, b : integer := 1;
s : integer := 0;
begin
loop
declare
c : integer := a + b;
begin
exit when c > 4000000;
if c mod 2 = 0 then
s := s + c;
end if;
a := b;
b := c;
end;
end loop;
put_line(in... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/package_with_body.adb | sourceryinstitute/rose-sourcery-institute | 1 | 5859 | <filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/package_with_body.adb
package body Package_With_Body is
procedure Procedure_To_Require_Body is
begin
null;
end Procedure_To_Require_Body;
end Package_With_Body;
|
drivers/mspgd-drivers.ads | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 17820 | package MSPGD.Drivers is
pragma Pure;
end MSPGD.Drivers;
|
Firmware/Libraries/STM8_SelfTest_Library/src/stm8_stl_fullRam_IAR.asm | SergeiSOficial/AESTOUS_STM8 | 0 | 27171 | <reponame>SergeiSOficial/AESTOUS_STM8<filename>Firmware/Libraries/STM8_SelfTest_Library/src/stm8_stl_fullRam_IAR.asm<gh_stars>0
;******************* (C) COPYRIGHT 2017 STMicroelectronics ********************
; File Name : stm8_stl_fullRam_IAR.s
; Description : This file contains the RAM functional test ... |
data/pokemon/base_stats/elekid.asm | AtmaBuster/pokeplat-gen2 | 6 | 83973 | db 0 ; species ID placeholder
db 45, 63, 37, 95, 65, 55
; hp atk def spd sat sdf
db ELECTRIC, ELECTRIC ; type
db 45 ; catch rate
db 106 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F25 ; gender ratio
db 25 ; step cycles to hatch
INCBIN "gfx/pokemon/elekid/front.dimensions"
db GROWTH_MEDIUM... |
Assembly Works 2/TASK_1_Lab_2.asm | AhmadVakil/Assembly-C_Micro-Controller | 0 | 10794 | <gh_stars>0
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
; 1DT301, Computer Technology I
; Date: 2016-09-29
; Author:
; <NAME>
;
;
; Lab number: 2
; Title: How to use the PORTs. Digital input/output. Subroutine call.
;
; Hardware: STK600, CPU ATmega2560
;
; Function: Switch between ring cou... |
source/tabula-users.adb | ytomino/vampire | 1 | 5484 | -- The Village of Vampire by YT, このソースコードはNYSLです
with Crypto.MD5;
package body Tabula.Users is
pragma Compile_Time_Error (
Password_Digest'Length /= Crypto.MD5.Fingerprint'Length,
"length of MD5 /= 16");
pragma Compile_Time_Error (
Password_Digest_Image'Length /= Crypto.MD5.Message_Digest'Length,
"image l... |
oeis/026/A026033.asm | neoneye/loda-programs | 11 | 20334 | ; A026033: C(4n,n) - C(4n,n-4).
; Submitted by <NAME>
; 1,4,28,220,1819,15484,134320,1180764,10482340,93766288,843822148,7631018564,69291185474,631334484200,5769124912320,52851389067420,485242722376524,4463782855666480,41133265444555120
mov $2,4
mul $2,$0
mov $1,$2
bin $1,$0
sub $0,4
bin $2,$0
sub $1,$2
mov $0,$1
|
src/firmware/Platform/Lcd/Initialise.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 16233 | #define __CLUCK2SESAME_PLATFORM_LCD_INITIALISE_ASM
#include "Platform.inc"
#include "TailCalls.inc"
#include "InitialisationChain.inc"
#include "Lcd.inc"
#include "States.inc"
radix decimal
extern INITIALISE_AFTER_LCD
Lcd code
global initialiseLcd
initialiseLcd:
.safelySetBankFor enableLcdCount
clrf ena... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_227.asm | ljhsiun2/medusa | 9 | 241787 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xfc10, %r12
nop
nop
nop
nop
sub $53296, %rbp
mov $0x6162636465666768, %rcx
movq %rcx, %xmm6
vmovups %ymm6, (%r12)
nop
nop
and %r12, %r12
lea addresses_normal_ht+0x1ebf0, %rsi
lea addre... |
data/pokemon/base_stats/hippopotas.asm | TastySnax12/pokecrystal16-493-plus | 2 | 14156 | <filename>data/pokemon/base_stats/hippopotas.asm
db 0 ; species ID placeholder
db 68, 72, 78, 32, 38, 42
; hp atk def spd sat sdf
db GROUND, GROUND ; type
db 140 ; catch rate
db 66 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 30 ; step cycles to hatc... |
src/Data/PropFormula/Theorems/Classical.agda | jonaprieto/agda-prop | 13 | 10007 | <reponame>jonaprieto/agda-prop<filename>src/Data/PropFormula/Theorems/Classical.agda
------------------------------------------------------------------------------
-- Agda-Prop Library.
-- Classical Propositional Logic.
------------------------------------------------------------------------------
open import Data.Nat... |
computer-architecture/labs/exam-petru.asm | vampy/university | 6 | 21002 | ; Read from the keyboard a number composed of multiple digits
; and do the sum of all the digits and write the result into a file
assume cs:code, ds:data
data segment
msg db 'Name of the file: $'
mnr db 'Enter the number: $'
mNrLen db 12
lNr db ?
nr db 12 dup (?)
maxFileName db 12
lFileName... |
programs/oeis/066/A066604.asm | neoneye/loda | 22 | 164852 | ; A066604: a(n) = 6^n mod n.
; 0,0,0,0,1,0,6,0,0,6,6,0,6,8,6,0,6,0,6,16,6,14,6,0,1,10,0,8,6,6,6,0,18,2,6,0,6,36,21,16,6,36,6,20,36,36,6,0,48,26,12,48,6,0,21,8,45,36,6,36,6,36,27,0,41,60,6,4,9,36,6,0,6,36,51,4,41,12,6,16,0,36,6,36,41,36,42,48,6,36,20,8,30,36,81,0,6,50,90,76
add $0,1
mov $1,1
mov $2,$0
lpb $0
sub $0,1... |
commands/system/move-downloads-to-trash.applescript | tanaynistala/script-commands | 3,305 | 791 | #!/usr/bin/osascript
# Required parameters:
# @raycast.author Jax0rz
# @authorURL https://github.com/Jax0rz
# @raycast.schemaVersion 1
# @raycast.title Move Downloads to Trash
# @raycast.mode silent
# @raycast.packageName System
# @raycast.needsConfirmation true
# Optional parameters:
# @raycast.icon images/move-down... |
Data/Boolean/Operators.agda | Lolirofle/stuff-in-agda | 6 | 12849 | module Data.Boolean.Operators where
open import Data.Boolean
-- Definition of boolean operators with conventions from logic
module Logic where
infixl 1005 _∧_
infixl 1004 _∨_ _⊕_
infixl 1003 _⟵_ _⟷_ _⟶_
_∧_ : Bool → Bool → Bool
_∧_ 𝑇 𝑇 = 𝑇
_∧_ 𝐹 𝑇 = 𝐹
_∧_ 𝑇 𝐹 = 𝐹
_∧_ 𝐹 𝐹 = 𝐹
_∨_ : Bool... |
src/vc-compat-entry.asm | mumurik/xyzzy | 7 | 89664 | .model flat
.data
VCVER = PLATVER / 10
;
; VC10 + Windows 2000 SP4 Update Rollup 1
;
EXTRN _xyzzySetDllDirectoryA@4:PROC
EXTRN _xyzzyGetNativeSystemInfo@4:PROC
EXTERNDEF __imp__SetDllDirectoryA@4:DWORD
EXTERNDEF __imp__GetNativeSystemInfo@4:DWORD
__imp__SetDllDirectoryA@4 dd _xyzzySetDllDirectoryA@4
__imp__GetN... |
libsrc/target/micro8085/drv/uart_putc.asm | UnivEngineer/z88dk | 4 | 104340 | ;-------------------------------------------------------------------------
; Native terminal i/o functionality for micro8085_cilb
; Functions below assumes support for INTEL 8085 "undocumented" opcodes
SECTION code_clib
EXTERN puartd
EXTERN puartc
PUBLIC _uart_putc
;--------------... |
programs/oeis/033/A033627.asm | neoneye/loda | 22 | 12273 | ; A033627: 0-additive sequence: not the sum of any previous pair.
; 1,2,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58,61,64,67,70,73,76,79,82,85,88,91,94,97,100,103,106,109,112,115,118,121,124,127,130,133,136,139,142,145,148,151,154,157,160,163,166,169,172,175,178,181,184,187,190,193,196,199,202,205,208,211,21... |
middle.asm | hamedmiir/Synchronized-xv6 | 0 | 247067 |
_middle: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#define O_CREATE 0x200
int
main(int argc, char* argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 ... |
oeis/295/A295725.asm | neoneye/loda-programs | 11 | 24725 | ; A295725: a(n) = a(n-1) + 3*a(n-2) -2*a(n-3) - 2*a(n-4), where a(0) = 0, a(1) = 0, a(2) = -1, a(3) = 1.
; Submitted by <NAME>
; 0,0,-1,1,-2,3,-3,8,-3,21,2,55,25,144,105,377,354,987,1085,2584,3157,6765,8898,17711,24561,46368,66833,121393,180034,317811,481461,832040,1280733,2178309,3393506,5702887,8965321,14930352,23633... |
source/amf/uml/amf-uml-interface_realizations.ads | svn2github/matreshka | 24 | 24556 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
src/test/resources/data/potests/test43.asm | cpcitor/mdlz80optimizer | 36 | 81302 | ; test to check potential optimizations
EXPTBL: equ $fcc1
org $4000
ld hl, EXPTBL
inc l
inc l
inc l
inc l
ld a, (hl)
push af
inc sp
inc l
ld (hl), a
ld hl, 0
ld a,1
ret |
Cubical/Algebra/NatSolver/Solver.agda | FernandoLarrain/cubical | 1 | 853 | <filename>Cubical/Algebra/NatSolver/Solver.agda
{-# OPTIONS --safe #-}
module Cubical.Algebra.NatSolver.Solver where
open import Cubical.Foundations.Prelude
open import Cubical.Data.FinData
open import Cubical.Data.Nat
open import Cubical.Data.Nat.Order using (zero-≤)
open import Cubical.Data.Vec.Base
open import Cub... |
Cubical/Homotopy/Loopspace.agda | rnarkk/cubical | 0 | 16277 | <reponame>rnarkk/cubical
{-# OPTIONS --safe #-}
module Cubical.Homotopy.Loopspace where
open import Cubical.Core.Everything
open import Cubical.Data.Nat
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Pointed
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.GroupoidLaw... |
programs/oeis/298/A298360.asm | neoneye/loda | 22 | 92467 | <filename>programs/oeis/298/A298360.asm
; A298360: Numbers congruent to {3, 7, 13, 27} mod 30.
; 3,7,13,27,33,37,43,57,63,67,73,87,93,97,103,117,123,127,133,147,153,157,163,177,183,187,193,207,213,217,223,237,243,247,253,267,273,277,283,297,303,307,313,327,333,337,343,357,363,367,373,387,393,397,403
seq $0,112652 ; a(... |
examples/tts_example_a.ads | rocher/TTS-Runtime-Ravenscar | 2 | 3551 | <reponame>rocher/TTS-Runtime-Ravenscar
package TTS_Example_A is
procedure Main;
end TTS_Example_A;
|
runtime/ravenscar-sfp-stm32f427/bsp/setup_pll.adb | TUM-EI-RCS/StratoX | 12 | 19608 | <reponame>TUM-EI-RCS/StratoX
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
tests/exec/syracuse.adb | xuedong/mini-ada | 0 | 22142 | with Ada.Text_IO; use Ada.Text_IO;
procedure Syracuse is
procedure PrintInt(N: Integer) is
C: Integer := N rem 10;
begin
if N > 9 then PrintInt(N / 10); end if;
Put(Character'Val(48 + C));
end;
procedure syracuse(max : integer) is
i : integer;
procedure length is
v,... |
src/data/lib/prim/Agda/Builtin/Sigma.agda | bennn/agda | 0 | 13974 | {-# OPTIONS --without-K #-}
module Agda.Builtin.Sigma where
open import Agda.Primitive
record Σ {a b} (A : Set a) (B : A → Set b) : Set (a ⊔ b) where
constructor _,_
field
fst : A
snd : B fst
open Σ public
infixr 4 _,_
{-# BUILTIN SIGMA Σ #-}
|
grammar/WebIDLLexer.g4 | raefko/idl2js | 6 | 6804 | <reponame>raefko/idl2js<filename>grammar/WebIDLLexer.g4
lexer grammar WebIDLLexer;
channels { ERROR }
WHITESPACE: [\t\n\r ]+ -> channel(HIDDEN);
COMMENT: ('//'~[\n\r]*|'/*'(.|'\n')*?'*/')+ -> channel(HIDDEN);
EQUAL_SYMBOL: ... |
programs/oeis/255/A255744.asm | jmorken/loda | 1 | 98979 | ; A255744: a(1) = 1; for n > 1, a(n) = 10*9^(A000120(n-1)-1).
; 1,10,10,90,10,90,90,810,10,90,90,810,90,810,810,7290,10,90,90,810,90,810,810,7290,90,810,810,7290,810,7290,7290,65610,10,90,90,810,90,810,810,7290,90,810,810,7290,810,7290,7290,65610,90,810,810,7290,810,7290,7290,65610,810,7290,7290,65610,7290,65610,65610,... |
oeis/106/A106270.asm | neoneye/loda-programs | 11 | 520 | <reponame>neoneye/loda-programs
; A106270: Inverse of number triangle A106268; triangle T(n,k), 0 <= k <= n.
; Submitted by <NAME>(w1)
; 1,-1,1,-2,-1,1,-5,-2,-1,1,-14,-5,-2,-1,1,-42,-14,-5,-2,-1,1,-132,-42,-14,-5,-2,-1,1,-429,-132,-42,-14,-5,-2,-1,1,-1430,-429,-132,-42,-14,-5,-2,-1,1,-4862,-1430,-429,-132,-42,-14,-5,-2... |
programs/oeis/157/A157786.asm | karttu/loda | 1 | 104462 | ; A157786: a(n) = 27225*n^2 - 15248*n + 2135.
; 14112,80539,201416,376743,606520,890747,1229424,1622551,2070128,2572155,3128632,3739559,4404936,5124763,5899040,6727767,7610944,8548571,9540648,10587175,11688152,12843579,14053456,15317783,16636560,18009787,19437464,20919591,22456168,24047195,25692672,27392599,29146976,30... |
NULLTerminatingBytes/nullTerminatingBytes.asm | slowy07/learnAsm | 1 | 14928 | ; compile
; nasm -f elf nullTerminatingBytes.asm
; link (64 bit system require elf_i386) ld -m elf_i386 nullTerminatingBytes.o -o nullTerminatingBytes
%include 'function.asm'
SECTION .data
msg1 db 'this print will be output', 0Ah, 0h
msg2 db 'this is how recycle in nasm', 0Ah. 0h
SECTION .text
global _start... |
Task/Knuths-algorithm-S/Ada/knuths-algorithm-s-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 20331 | <reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10
with S_Of_N_Creator, Ada.Text_IO;
procedure Test_S_Of_N is
Repetitions: constant Positive := 100_000;
type D_10 is range 0 .. 9;
-- the instantiation of the generic package S_Of_N_Creator generates
-- a package with the desired functionality
packa... |
Task/Numeric-error-propagation/Ada/numeric-error-propagation-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 23217 | generic
type Real is digits <>;
with function Sqrt(X: Real) return Real;
with function "**"(X: Real; Y: Real) return Real;
package Approximation is
type Number is private;
-- create an approximation
function Approx(Value: Real; Sigma: Real) return Number;
-- unary operations and conversion Real ... |
Chapter 3/3.1 - The IDT/bootloader/protected_mode/gdt.asm | gmarino2048/64bit-os-tutorial | 87 | 84231 | ;
; Long Mode
;
; gdt.asm
;
;
; Define the Flat Mode Configuration Global Descriptor Table (GDT)
; The flat mode table allows us to read and write code anywhere, without restriction
;
align 4
gdt_64_start:
; Define the null sector for the 64 bit gdt
; Null sector is required for memory integrity check
gdt_64_null:
... |
Exemplos ADA/Fatorial/Fatorial.adb | wildeee/safADA | 0 | 28387 | With Ada.Text_IO; Use Ada.Text_IO;
Procedure Fatorial is
numero: Integer;
fatorial: Integer := 1;
-- Leitura String
function Get_String return String is
Line : String (1 .. 1_000);
Last : Natural;
begin
Get_Line (Line, Last);
return Line (1 .. Last);
end Get_String;
-- Leitura Integer
function Get_In... |
programs/oeis/164/A164090.asm | neoneye/loda | 22 | 103845 | <filename>programs/oeis/164/A164090.asm
; A164090: a(n) = 2*a(n-2) for n > 2; a(1) = 2, a(2) = 3.
; 2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576,32768,49152,65536,98304,131072,196608,262144,393216,524288,786432,1048576,1572864,2097152,3145728,4194304,629145... |
bits/src/shift/axiom/logic_left/bitoperations-shift-axiom-logic_left.adb | vasil-sd/ada-tlsf | 3 | 7428 | <reponame>vasil-sd/ada-tlsf<gh_stars>1-10
package body BitOperations.Shift.Axiom.Logic_Left
with SPARK_Mode => Off is
-----------------------------------------------------
-- Axiom_Shift_Left_Is_Eq_Multiplying_By_Power_Of2 --
-----------------------------------------------------
procedure Equal_Mult_By_Po... |
oeis/133/A133443.asm | neoneye/loda-programs | 11 | 84758 | <reponame>neoneye/loda-programs<filename>oeis/133/A133443.asm
; A133443: a(n) = Sum_{k=0..n} C(n,floor(k/2))*(-1)^k*3^(n-k).
; Submitted by <NAME>
; 1,2,8,24,84,272,920,3040,10180,33840,112968,376224,1254696,4181088,13939248,46459584,154873860,516229040,1720795880,5735921440,19119861304,63732624672,212442552528,7081409... |
intro/intro.agda | KMx404/selfev.agda | 2 | 10358 | <reponame>KMx404/selfev.agda<filename>intro/intro.agda<gh_stars>1-10
-- Let's play with agda.
-- Am i having fun doing this? @KMx404
module intro where --load the file with C-c - like that
data Bool: Set where
true : Bool
false : Bool
data Empty: Set Empty
Empty : Empty -- I'm gonna leave this here. Movin... |
gcc-gcc-7_3_0-release/gcc/ada/get_targ.ads | best08618/asylo | 7 | 14034 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/ada/get_targ.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
Soundness/agda/Prelude.agda | halfaya/Music | 1 | 9199 | {-# OPTIONS --without-K --safe --erased-cubical --no-import-sorts #-}
module Prelude where
open import Agda.Primitive renaming (Set to Type) public
open import Agda.Builtin.Reflection hiding (Type) renaming (primQNameEquality to _==_) public
open import Reflection using (_>>=_) public
open import Agda.Builtin.String... |
src/Tactic/Reflection/Quote/Class.agda | L-TChen/agda-prelude | 111 | 4365 | <reponame>L-TChen/agda-prelude<gh_stars>100-1000
module Tactic.Reflection.Quote.Class where
open import Builtin.Reflection
record Quotable {a} (A : Set a) : Set a where
field
` : A → Term
open Quotable {{...}} public
|
src/kernel/entry.asm | martinszeltins/vertex | 0 | 103603 | ; Some constants used for multiboot header
; No need to understand, they are just a bunch of flags and magic values for the bootloader to find and recognize it as a multibootkernel
MBALIGN equ 1<<0
MEMINFO equ 1<<1
FLAGS equ MBALIGN | MEMINFO
MAGIC equ 0x1BADB002
CHECKSUM equ -(MAGIC + FLAGS)... |
libsrc/_DEVELOPMENT/l/sccz80/8-8080/l_div_u.asm | ahjelm/z88dk | 640 | 176465 |
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_div_u
; HL = DE / HL, DE = DE % HL
l_div_u:
LD bc,hl ; store divisor to bc
LD hl,0 ; clear remainder
XOR a ; clear carry
LD a,17 ; load loop counter
PUSH af
ccduv1:
LD a,e... |
Cubical/Algebra/Polynomials/Multivariate/EquivCarac/Polyn-nPoly.agda | guilhermehas/cubical | 1 | 1388 | <filename>Cubical/Algebra/Polynomials/Multivariate/EquivCarac/Polyn-nPoly.agda
{-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Algebra.Polynomials.Multivariate.EquivCarac.Polyn-nPoly where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Data.Nat... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca.log_21829_115.asm | ljhsiun2/medusa | 9 | 21397 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x11ec2, %r12
nop
nop
nop
xor %rax, %rax
movw $0x6162, (%r12)
xor $10219, %r12
lea addresses_WT_ht+0x1ac30, %r13
nop
nop
nop
sub %rbx, %rbx
movb (%r13), %r10b
nop
cm... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.