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 |
|---|---|---|---|---|
test/Succeed/Issue2018b.agda | shlevy/agda | 1,989 | 6918 | <filename>test/Succeed/Issue2018b.agda
module _ {A : Set} where
postulate B : Set
postulate
H : {A : Set} → Set
test-H : Set
test-H = H {A = B}
record R {A : Set} : Set where
constructor rc
field f : A
test-R : Set
test-R = R {A = B}
test-f : ∀ B → R {A = B} → B
test-f B = R.f {A = B}
module N {A : Set} w... |
src/STLCRef/SemanticsLB.agda | metaborg/mj.agda | 10 | 7347 | <gh_stars>1-10
module STLCRef.SemanticsLB where
-- This file contains a definitional interpreter for STLC+Ref as
-- described in Section 3 of the paper. The interpreter operates with
-- the notion of monadic bind described in Section 3.3 of the paper;
-- see `Semantics.agda` for the version of the interpreter of STLC... |
programs/oeis/296/A296070.asm | karttu/loda | 0 | 3382 | ; A296070: Partial sums of A296069.
; 0,2,3,8,5,12,7,16,9,20,11,24,13,28,15,32,17,36,19,40,21,44,23,48,25,52,27,56,29,60,31,64,33,68,35,72,37,76,39,80,41,84,43,88,45,92,47,96,49,100,51,104,53,108,55,112,57,116,59,120
mov $1,1
add $$1,$0
lpb $0,1
sub $$3,2
add $$0,$$0
lpe
add $$3,$1
sub $1,$$0
|
oeis/349/A349859.asm | neoneye/loda-programs | 11 | 6992 | <reponame>neoneye/loda-programs
; A349859: Expansion of Sum_{k>=0} k * x^k/(1 + k^2 * x).
; Submitted by <NAME>
; 0,1,1,-4,8,57,-771,4168,22504,-943255,13349105,-48905364,-3284972544,117005181841,-2071095992867,-2153841382168,1791029813641424,-79511121545541327,1867021096818903489,8850156160819959100,-35925821417323007... |
antlr/Broken.g4 | TeamBreak/Broken-lang | 0 | 7634 | /**
* MIT License
*
* Copyright (c) 2017 TeamBreak
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modi... |
test/Succeed/Issue586.agda | cruhland/agda | 1,989 | 15933 | <gh_stars>1000+
-- Run this test case in safe mode
-- {-# OPTIONS --safe #-} -- does not parse (2012-03-12 Andreas)
module Issue586 where
Foo : Set1
Foo = Set
|
programs/oeis/145/A145064.asm | neoneye/loda | 22 | 243624 | ; A145064: Reduced numerators of the first convergent to the cube root of n using the recursion x = (2*x+n/x^2)/3.
; 2,1,4,5,2,7,8,3,10,11,4,13,14,5,16,17,6,19,20,7,22,23,8,25,26,9,28,29,10,31,32,11,34,35,12,37,38,13,40,41,14,43,44,15,46,47,16,49,50,17,52,53,18,55,56,19,58,59,20,61,62,21,64,65,22,67,68,23,70,71,24,73,7... |
Lens/Composition.agda | oisdk/agda-playground | 6 | 3125 | <reponame>oisdk/agda-playground
{-# OPTIONS --cubical --safe #-}
module Lens.Composition where
open import Prelude
open import Lens.Definition
open import Lens.Operators
infixr 9 _⋯_
_⋯_ : Lens A B → Lens B C → Lens A C
fst (ab ⋯ bc) xs = ac
where
ab-xs : LensPart _ _
ab-xs = fst ab xs
bc-ys : LensPart _ _
... |
Source Codes Testing/count1.asm | aravindvnair99/emu8086 | 11 | 11503 | .model small
.stack
.data
num db 45h
.code
.startup
mov bl,00h
mov al,num
mov cx,0008h
loop1: rcl al,1
jnb exit
inc bl
exit: loop loop1
.exit
End
|
oeis/347/A347286.asm | neoneye/loda-programs | 11 | 167202 | ; A347286: a(n) is n minus the number of odd divisors of n.
; Submitted by <NAME>(s2)
; 0,1,1,3,3,4,5,7,6,8,9,10,11,12,11,15,15,15,17,18,17,20,21,22,22,24,23,26,27,26,29,31,29,32,31,33,35,36,35,38,39,38,41,42,39,44,45,46,46,47,47,50,51,50,51,54,53,56,57,56,59,60,57,63,61,62,65,66,65,66
max $2,$0
seq $0,1227 ; Number o... |
programs/oeis/244/A244630.asm | karttu/loda | 1 | 241362 | ; A244630: a(n) = 17*n^2.
; 0,17,68,153,272,425,612,833,1088,1377,1700,2057,2448,2873,3332,3825,4352,4913,5508,6137,6800,7497,8228,8993,9792,10625,11492,12393,13328,14297,15300,16337,17408,18513,19652,20825,22032,23273,24548,25857,27200,28577,29988,31433,32912,34425,35972,37553,39168,40817,42500,44217,45968,47753,49572... |
programs/oeis/194/A194882.asm | neoneye/loda | 22 | 163580 | ; A194882: Write n = C(i,4)+C(j,3)+C(k,2)+C(l,1) with i>j>k>l>=0; sequence gives i values.
; 3,4,4,4,4,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8
mov $1,3
mov $2,3
lpb $0
... |
alloy4fun_models/trashltl/models/5/Be2jHtbPir9SrQdpi.als | Kaixi26/org.alloytools.alloy | 0 | 1488 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idBe2jHtbPir9SrQdpi_prop6 {
always (all f:File&Trash | f in Trash)
}
pred __repair { idBe2jHtbPir9SrQdpi_prop6 }
check __repair { idBe2jHtbPir9SrQdpi_prop6 <=> prop6o } |
tests/my_tests.ads | ray2501/AdaAugeas | 0 | 25113 | <reponame>ray2501/AdaAugeas<gh_stars>0
with Ahven.Framework;
package My_Tests is
type Test is new Ahven.Framework.Test_Case with null record;
procedure Initialize (T : in out Test);
procedure INIT_TEST;
procedure CLOSE_TEST;
procedure SET_TEST;
procedure GET_TEST;
procedure GET_SET;
procedure ... |
third_party/universal-ctags/ctags/Units/parser-ada.r/ada-expression-function-with-generic.d/input.adb | f110/wing | 1 | 16075 | procedure My_Package is
generic
type Unsigned_Type is range <>;
package Generic_Integer_Images is
function Digit_To_Character (X : Unsigned_Type) return Character;
end Generic_Integer_Images;
package body Generic_Integer_Images is
function Digit_To_Character (X : Unsigned_Type) return Character is... |
nasm assembly/assignment 5/modif_qs.asm | AI-Factor-y/NASM-library | 0 | 176575 |
section .data
msg1 : db 'debug here --',10
l1 : equ $-msg1
msg2 : db 'Enter your string : '
l2 : equ $-msg2
msg3 : db 'Enter your substring : ',
l3 : equ $-msg3
msg4 : db 'modified string is : '
l4: equ $-msg4
msg5 : db 'msg 5 here',10
l5: equ $-msg5
space:db ' '
newline:db '',10
section .bss
... |
tools-src/gnu/gcc/gcc/ada/sinput-l.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 2280 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
PRG/objects/2-3Exit.asm | narfman0/smb3_pp1 | 0 | 7510 | .byte $00 ; Unknown purpose
.byte OBJ_ENDLEVELCARD, $18, $15
.byte $FF ; Terminator
|
programs/oeis/130/A130667.asm | neoneye/loda | 22 | 165167 | ; A130667: a(1) = 1; a(n) = max{ 5*a(k) + a(n-k) | 1 <= k <= n/2 } for n > 1.
; 1,6,11,36,41,66,91,216,221,246,271,396,421,546,671,1296,1301,1326,1351,1476,1501,1626,1751,2376,2401,2526,2651,3276,3401,4026,4651,7776,7781,7806,7831,7956,7981,8106,8231,8856,8881,9006,9131,9756,9881,10506,11131,14256,14281,14406,14531,151... |
programs/oeis/316/A316458.asm | karttu/loda | 1 | 26648 | <reponame>karttu/loda
; A316458: Expansion of 60*x*(1 + 4*x + x^2) / (1 - x)^5.
; 60,540,2160,6000,13500,26460,47040,77760,121500,181500,261360,365040,496860,661500,864000,1109760,1404540,1754460,2166000,2646000,3201660,3840540,4570560,5400000,6337500,7392060,8573040,9890160,11353500,12973500,14760960,16727040,18883260... |
engine/engine/main.asm | neomura/atmega328p-cartridge | 0 | 15424 | .include "m328Pdef.inc"
.dseg
.include "engine/utilities/declarations/index.asm"
.include "engine/audio/declarations/index.asm"
.include "engine/video/declarations/index.asm"
.include "engine/interrupt/declarations/index.asm"
.include "engine/pads/declarations/index.asm"
.include "engine/main-loop/declarations/index.... |
programs/oeis/308/A308137.asm | karttu/loda | 1 | 24810 | ; A308137: Number of (undirected) Hamiltonian paths on the n-prism graph.
; 30,72,130,228,350,528,738,1020,1342,1752,2210,2772,3390,4128,4930,5868,6878,8040,9282,10692,12190,13872,15650,17628,19710,22008,24418,27060,29822,32832,35970,39372,42910,46728,50690,54948,59358,64080,68962,74172,79550,85272,91170,97428,103870,1... |
fiat-amd64/73.26_ratio11656_seed1973146713415797_mul_p256.asm | dderjoel/fiat-crypto | 491 | 91770 | <filename>fiat-amd64/73.26_ratio11656_seed1973146713415797_mul_p256.asm<gh_stars>100-1000
SECTION .text
GLOBAL mul_p256
mul_p256:
sub rsp, 0xd0 ; last 0x30 (6) for Caller - save regs
mov [ rsp + 0xa0 ], rbx; saving to stack
mov [ rsp + 0xa8 ], rbp; saving to stack
mov [ rsp + 0xb0 ], r12; saving to stack
mov [ rsp + ... |
alloy4fun_models/trashltl/models/9/QRbF5fhYA6nB4YMCb.als | Kaixi26/org.alloytools.alloy | 0 | 41 | <filename>alloy4fun_models/trashltl/models/9/QRbF5fhYA6nB4YMCb.als
open main
pred idQRbF5fhYA6nB4YMCb_prop10 {
all f:File | always (f in Protected implies (always f in Protected))
}
pred __repair { idQRbF5fhYA6nB4YMCb_prop10 }
check __repair { idQRbF5fhYA6nB4YMCb_prop10 <=> prop10o } |
src/Brainfuck/brainfuck.adb | jedb/esoteric | 5 | 7083 |
with Ada.Text_IO;
with Ada.Direct_IO;
with Ada.Command_Line;
procedure Brainfuck is
package CL renames Ada.Command_Line;
package Text_IO renames Ada.Text_IO;
package Direct_IO is new Ada.Direct_IO(Character);
use type Direct_IO.Count;
type Cell is mod 256;
type Tape_Position is mod 500... |
code/S01E05/asm/02_ini_end.asm | fcatrin/bitabit | 2 | 8352 |
ini = 40000
chars = 960
ptr = 202
len = 204
org $2000
start
lda #<ini
sta ptr
lda #>ini
sta ptr+1
lda #<chars
sta len
lda #>chars
sta len+1
ldy #0
loop lda 53770
sta (ptr),y
inc ... |
tlsf/src/tlsf-block-types.ads | vasil-sd/ada-tlsf | 3 | 15621 | <gh_stars>1-10
with System;
with Interfaces;
with TLSF.Config;
package TLSF.Block.Types with SPARK_Mode, Pure, Preelaborate is
use TLSF.Config;
use Interfaces;
type Size is new Natural range 0 .. 2 ** Max_Block_Size_Log2-1
with Size => Max_Block_Size_Log2;
type Size_Bits is mod 2**Size'Size;
... |
test/p49.asm | slcz/hummingbird | 0 | 171872 | #include "hi.asm"
prolog
odata = 0xff0
ctrl = 0xff1
idata = 0xff1
main:
ld state eq jc 2f
li(1 << 5)
jmp 3f
2: lh 0
3:
st ctrl
ld state
not
st state
li(18)
st wait
1:
asr
asr
ld wait
addi (-1)
st wait
ne
jc 1b
jmp main
state: 0
wait: 0
|
programs/oeis/166/A166147.asm | karttu/loda | 1 | 160560 | <filename>programs/oeis/166/A166147.asm<gh_stars>1-10
; A166147: a(n) = 4n^2 + 4n - 7.
; 1,17,41,73,113,161,217,281,353,433,521,617,721,833,953,1081,1217,1361,1513,1673,1841,2017,2201,2393,2593,2801,3017,3241,3473,3713,3961,4217,4481,4753,5033,5321,5617,5921,6233,6553,6881,7217,7561,7913,8273,8641,9017,9401,9793,10193,... |
oeis/048/A048498.asm | neoneye/loda-programs | 11 | 93789 | <filename>oeis/048/A048498.asm
; A048498: 2^(n-1)*(5n-8)+5.
; 1,2,9,33,101,277,709,1733,4101,9477,21509,48133,106501,233477,507909,1097733,2359301,5046277,10747909,22806533,48234501,101711877,213909509,448790533,939524101,1962934277,4093640709,8522825733,17716740101,36775657477,76235669509,157840048133,326417514501,674... |
src/Microsoft Outlook/Add message(s) and attachments to DEVONthink.applescript | kotfu/DEVONthink-scripts | 16 | 1427 | <gh_stars>10-100
-- Install in ~/Library/Scripts/Applications/Microsoft Outlook
-- Import selected Microsoft Outlook messages & attachments to DEVONthink Pro.
-- Created by <NAME> on Mon Mar 05 2012.
-- Copyright (c) 2012-2015. All rights reserved.
-- TODO this script breaks if the Outlook appointment reminder window ... |
libsrc/psg/vt2/ay_vt2_init.asm | Frodevan/z88dk | 640 | 246250 | <filename>libsrc/psg/vt2/ay_vt2_init.asm
IF !__CPU_INTEL__ && !__CPU_GBZ80__
SECTION code_psg
PUBLIC ay_vt2_init
PUBLIC _ay_vt2_init
EXTERN asm_VT_INIT
ay_vt2_init:
_ay_vt2_init:
push ix
push iy
call asm_VT_INIT
pop iy
pop ix
ret
ENDIF
|
arch/ARM/RP/svd/rp2040/rp_svd-io_bank0.ads | morbos/Ada_Drivers_Library | 2 | 2530 | -- Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
--
-- SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from rp2040.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package RP_SVD.IO_BANK0 is
pragma Preelabora... |
source/league/ucd/matreshka-internals-unicode-ucd-core_00a9.ads | svn2github/matreshka | 24 | 3580 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
alloy4fun_models/trashltl/models/7/7wvvei66hQSjhDaHK.als | Kaixi26/org.alloytools.alloy | 0 | 4679 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id7wvvei66hQSjhDaHK_prop8 {
all l : File.link | eventually l in Trash
}
pred __repair { id7wvvei66hQSjhDaHK_prop8 }
check __repair { id7wvvei66hQSjhDaHK_prop8 <=> prop8o } |
Structure/Real/Limit.agda | Lolirofle/stuff-in-agda | 6 | 3836 | module Limit where
-- Statement that the limit of the function f at point l exists (and its value is L)
-- This is expressed by converting the standard (ε,δ)-limit definition to Skolem normal form (TODO: ...I think? Is this correct?
record Lim (f : ℝ → ℝ) (p : ℝ) (L : ℝ) : Stmt where
field
δ : ℝ₊ → ℝ₊ -... |
src/pygamer-screen.adb | Fabien-Chouteau/pygamer-simulator | 1 | 14777 | <filename>src/pygamer-screen.adb
with Ada.Text_IO; use Ada.Text_IO;
with HAL; use HAL;
with Interfaces.C; use Interfaces.C;
with Ada.Unchecked_Conversion;
with System;
with sf.Graphics.RenderWindow; use sf.Graphics.RenderWindow;
with Sf.Graphics.Color; use Sf.Graphics.Color;
with Sf; use Sf;
with Sf.Graphics.Texture... |
programs/oeis/047/A047290.asm | karttu/loda | 1 | 92017 | ; A047290: Numbers that are congruent to {1, 4, 6} mod 7.
; 1,4,6,8,11,13,15,18,20,22,25,27,29,32,34,36,39,41,43,46,48,50,53,55,57,60,62,64,67,69,71,74,76,78,81,83,85,88,90,92,95,97,99,102,104,106,109,111,113,116,118,120,123,125,127,130,132,134,137,139,141,144,146,148,151,153,155,158,160,162,165,167,169,172,174,176,179... |
project/src/servo_controller.adb | Stykk-Gruppen/rts-project | 2 | 11858 | <filename>project/src/servo_controller.adb<gh_stars>1-10
package body Servo_Controller is
------------
-- Engine --
------------
task body Engine is
begin
loop
case Engine_Servo.Current_Direction is
when Forward =>
Servo.Write(1600, Engine_Servo.Pin);
... |
oeis/298/A298881.asm | neoneye/loda-programs | 11 | 17826 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A298881: a(0) = 0; for n>0, a(n) = 6*n!.
; 0,6,12,36,144,720,4320,30240,241920,2177280,21772800,239500800,2874009600,37362124800,523069747200,7846046208000,125536739328000,2134124568576000,38414242234368000,729870602452992000,14597412049059840000,306545653030256640000,6... |
bb-runtimes/examples/tms570-leds/src/driver.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 21530 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- ... |
init.asm | phung001/xv6_lab2_mark | 0 | 241504 |
_init: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
char *argv[] = { "sh", 0 };
int
main(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 20 sub $0x20,%esp
int... |
oeis/287/A287335.asm | neoneye/loda-programs | 11 | 11969 | ; A287335: Nonnegative numbers k such that 3*k + 2 is a cube.
; 2,41,170,443,914,1637,2666,4055,5858,8129,10922,14291,18290,22973,28394,34607,41666,49625,58538,68459,79442,91541,104810,119303,135074,152177,170666,190595,212018,234989,259562,285791,313730,343433,374954,408347,443666,480965,520298,561719,605282,651041,69... |
programs/oeis/070/A070395.asm | karttu/loda | 0 | 97827 | <gh_stars>0
; A070395: a(n) = 6^n mod 19.
; 1,6,17,7,4,5,11,9,16,1,6,17,7,4,5,11,9,16,1,6,17,7,4,5,11,9,16,1,6,17,7,4,5,11,9,16,1,6,17,7,4,5,11,9,16,1,6,17,7,4,5,11,9,16,1,6,17,7,4,5,11,9,16,1,6,17,7,4,5,11,9,16,1,6,17,7,4,5,11,9,16,1,6,17,7,4,5,11,9,16,1,6,17,7,4,5,11,9,16,1,6,17,7,4,5,11,9,16,1,6,17,7,4,5,11,9,16,1,6... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1237.asm | ljhsiun2/medusa | 9 | 169969 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x10235, %r9
nop
nop
nop
nop
nop
and $26525, %rdi
mov $0x6162636465666768, %rax
movq %rax, %xmm7
movups %xmm7, (%r9)
nop
nop
nop
nop
xor $1124, %r9
lea addresses_WT_ht+0x6d75, %... |
src/igzip/init_stream.asm | robinmoussu/fastzip | 2 | 14327 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; The MIT License
;
; Copyright (c) 2014 Intel Corporation
;
; Permission is hereby granted, free of charge, to any person
; obtaining a copy of this software and associated documentation
; files (the "Software"), to deal in the Software... |
programs/oeis/118/A118277.asm | jmorken/loda | 1 | 25752 | <filename>programs/oeis/118/A118277.asm<gh_stars>1-10
; A118277: Generalized 9-gonal (or enneagonal) numbers: m*(7*m - 5)/2 with m = 0, 1, -1, 2, -2, 3, -3, ...
; 0,1,6,9,19,24,39,46,66,75,100,111,141,154,189,204,244,261,306,325,375,396,451,474,534,559,624,651,721,750,825,856,936,969,1054,1089,1179,1216,1311,1350,1450,... |
src/ewok-sched.adb | mfkiwl/ewok-kernel-security-OS | 65 | 27099 | --
-- 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... |
dosshell/shell/critical.asm | minblock/msdos | 0 | 88234 | ;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;;; This is the critical error handler.
;;; It is really dumb--all critical errors are Failed
;;; It is up to the Int21 caller to figure out what went... |
references/SAM-like.g4 | wevrem/wren | 5 | 5864 | <filename>references/SAM-like.g4<gh_stars>1-10
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
grammar SAM-like;
|
tools/configure/configure-tests-gprbuild.adb | svn2github/matreshka | 24 | 4705 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
space-antlr/src/main/antlr4/org/jkcsoft/space/antlr/g4/SpaceLexer.g4 | jimcoles/space | 0 | 5304 | /* Space Lexer Grammar */
lexer grammar SpaceLexer;
//@header {
// package org.jkcsoft.space.antlr.g4;
//}
//
// -------------------------------- Lexer Rules Section ------------------------------------
//
// Lexer rules match character sequences (the small things) to generate Tokens.
// Parser Rules then match p... |
source/vampire-forms-mobile.adb | ytomino/vampire | 1 | 28679 | <reponame>ytomino/vampire
-- The Village of Vampire by YT, このソースコードはNYSLです
with Ada.Strings.Functions;
with Ada.Environment_Encoding.Names;
with Ada.Environment_Encoding.Encoding_Streams;
package body Vampire.Forms.Mobile is
use type Villages.Village_State;
Encoding : constant Ada.Environment_Encoding.Encoding_Id :... |
libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sccz80/tshc_cls_pix.asm | jpoikela/z88dk | 38 | 163488 | ; void tshc_cls_pix(unsigned char pix)
SECTION code_clib
SECTION code_arch
PUBLIC tshc_cls_pix
EXTERN asm_tshc_cls_pix
defc tshc_cls_pix = asm_tshc_cls_pix
|
oeis/193/A193608.asm | neoneye/loda-programs | 11 | 103153 | <reponame>neoneye/loda-programs
; A193608: The consecutive squares of numbers multiplied by their next consecutive integer.
; 15,52,125,246,427,680,1017,1450,1991,2652,3445,4382,5475,6736,8177,9810,11647,13700,15981,18502,21275,24312,27625,31226,35127,39340,43877,48750,53971,59552,65505,71842,78575,85716,93277,101270,1... |
Z80/WinAPE/Conditionals.asm | leonhad/masm | 9 | 87929 | ORG &8000
; Option 0 - Add, 1 - Sub
LD A, (&9000)
LD BC, (&9001)
CP 0
JR z, MathAdd
CP 1
JR z, MathSub
CP 2
JR z, MathMult
CP 3
JR z, MathDiv
XOR A
SaveResult:
LD (&9003), A
RET
MathSub:
LD A, C
SUB B
JR SaveResult
MathAdd:
LD A, C
ADD B
JR SaveResult
MathMult:
LD A, B
CP 0
JR z, SaveResult... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-os_lib.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 14675 | <reponame>djamal2727/Main-Bearing-Analytical-Model
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
programs/oeis/236/A236348.asm | neoneye/loda | 22 | 160844 | <filename>programs/oeis/236/A236348.asm
; A236348: Expansion of (1 - x + 2*x^2 + x^3) / ((1 - x) * (1 - x^3)) in powers of x.
; 1,0,2,4,3,5,7,6,8,10,9,11,13,12,14,16,15,17,19,18,20,22,21,23,25,24,26,28,27,29,31,30,32,34,33,35,37,36,38,40,39,41,43,42,44,46,45,47,49,48,50,52,51,53,55,54,56,58,57,59,61,60,62,64,63,65,67,6... |
programs/oeis/016/A016233.asm | neoneye/loda | 22 | 95749 | ; A016233: Expansion of 1/((1-x)(1-5x)(1-8x)).
; 1,14,143,1300,11181,93354,766363,6228560,50316761,404975494,3252010983,26077123020,208922159941,1672903158434,13390854662003,107164984268680,857510609012721,6861038546418174,54893076742927423
lpb $0
mov $2,$0
sub $0,1
seq $2,16162 ; Expansion of 1/((1-5x)(1-8x)).
... |
Engine Hacks/Skill System/Teq Skills/FE8-Capture/FE8-Capture/Stat_Getters/Spd_Getter.asm | sme23/MekkahRestrictedHackComp1 | 0 | 240089 | .thumb
.org 0x0
@new spd getter; bxed to from 19210
push {r4-r5,r14}
mov r4,r0
ldr r1,Get_Equipped_Weapon
mov r14,r1
.short 0xF800
ldr r1,Get_Weapon_Spd_Bonus
mov r14,r1
.short 0xF800
mov r5,r0
ldrb r0,[r4,#0x16]
add r5,r0
ldr r0,[r4,#0xC]
mov r1,#0x10
tst r0,r1
beq CheckCapture
lsr r5,#0x1
b GoBack @... |
test-suite/programs/unit/xor_0x05.asm | ocus/TinyASM_Haskell | 0 | 13231 | 0:MOV [0] 7
3: XOR [0] 15
6:DPRINT [0]
8 :HALT
|
WEEK-6/10.asm | ShruKin/Microprocessor-and-Microcontroller-Lab | 0 | 16052 | LXI H,9000
MVI C,03 // 3 numbers
MVI B,00 // negetive nos
MVI E,00 // zeros
MVI D,00 // positive nos
LOOP: MOV A,M
CPI 00
JZ ZERO
ANI 80
JNZ NEG
INR D
JMP LAST
ZERO: INR E
JMP LAST
NEG: INR B
LAST: INX H
DCR C
JNZ LOOP
LXI H,9010
MOV M,B
... |
src/Termination.agda | nad/chi | 2 | 14513 | <filename>src/Termination.agda
------------------------------------------------------------------------
-- The "terminates" relation
------------------------------------------------------------------------
open import Atom
module Termination (atoms : χ-atoms) where
open import Equality.Propositional
open import Logi... |
src/extraction-project_files.adb | TNO/Dependency_Graph_Extractor-Ada | 0 | 29108 | <gh_stars>0
with Extraction.Node_Edge_Types;
package body Extraction.Project_Files is
use type GPR.Project_Type;
procedure Extract_Nodes
(Project : GPR.Project_Type; Graph : Graph_Operations.Graph_Context)
is
begin
Graph.Write_Node (Project);
Graph.Write_Node (Project.Project_Path);
e... |
benchmark/benchmark_v64.adb | skill-lang/skillAdaTestSuite | 1 | 22336 | with Byte_Writer;
with Byte_Reader;
package body Benchmark_V64 is
procedure Write (N : Long; File_Name : String) is
Output_File : ASS_IO.File_Type;
Output_Stream : ASS_IO.Stream_Access;
begin
ASS_IO.Create (Output_File, ASS_IO.Out_File, File_Name);
Output_Stream := ASS_IO.Stream (Output_... |
src/Prelude/Bool/Properties.agda | t-more/agda-prelude | 111 | 16347 | <filename>src/Prelude/Bool/Properties.agda
module Prelude.Bool.Properties where
open import Prelude.Equality
open import Prelude.Bool
open import Prelude.Decidable
open import Prelude.Empty
open import Prelude.Variables
de-morg-neg-conj : (a b : Bool) → not (a && b) ≡ (not a || not b)
de-morg-neg-conj true true = re... |
programs/oeis/157/A157618.asm | jmorken/loda | 1 | 5027 | <filename>programs/oeis/157/A157618.asm<gh_stars>1-10
; A157618: a(n) = 625*n^2 - 886*n + 314.
; 53,1042,3281,6770,11509,17498,24737,33226,42965,53954,66193,79682,94421,110410,127649,146138,165877,186866,209105,232594,257333,283322,310561,339050,368789,399778,432017,465506,500245,536234,573473,611962,651701,692690,7349... |
programs/oeis/180/A180358.asm | karttu/loda | 0 | 98795 | ; A180358: n^8+8n
; 0,9,272,6585,65568,390665,1679664,5764857,16777280,43046793,100000080,214358969,429981792,815730825,1475789168,2562890745,4294967424,6975757577,11019960720,16983563193,25600000160,37822859529,54875873712
mov $1,$0
pow $1,8
lpb $0,1
sub $0,1
add $1,8
lpe
|
5font/disk/disk_load_all.asm | SwordYork/slef | 8 | 243382 | ;load DH sectors to MEM ES:BX
[bits 16]
RCYLS equ 1
disk_load:
pusha
mov ah, 0x02 ;read flag
mov al, dh ;number of sectors
mov ch, 0x00 ;cylinder 0
mov dh, 0x00 ;pointer 0
mov cl, 0x02 ;sector 2 (start from 1)
int 0x13 ;interrupt
jc disk_error
;cmp dh, al ;al is actul read, but how to restore dh?... |
VirtualMachine/Win32/UnitTests/Conditionals/test27_iseq_Boolean.asm | ObjectPascalInterpreter/BookPart_3 | 8 | 86610 | # Test27 - IsEq Test
pushi 3
pushi 3
isEq
halt |
Transynther/x86/_processed/NONE/_zr_xt_/i9-9900K_12_0xa0_notsx.log_21829_829.asm | ljhsiun2/medusa | 9 | 24396 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xf453, %rdi
nop
nop
nop
cmp %r10, %r10
movl $0x61626364, (%rdi)
nop
nop
nop
nop
and %rbp, %rbp
lea addresses_A_ht+0x3f53, %rsi
lea addresses_A_ht+0x15cd3, %rdi
nop
nop
add $10... |
oeis/264/A264751.asm | neoneye/loda-programs | 11 | 105379 | <reponame>neoneye/loda-programs
; A264751: Triangle read by rows: T(n,k) is the number of sequences of k <= n throws of an n-sided die (with faces numbered 1, 2, ..., n) in which the sum of the throws first reaches or exceeds n on the k-th throw.
; Submitted by <NAME>
; 1,1,2,1,5,3,1,9,11,4,1,14,26,19,5,1,20,50,55,29,6... |
src/org/sosy_lab/cpachecker/util/ltl/LtlGrammarParser.g4 | melkishengue/cpachecker | 0 | 146 | /*
* CPAchecker is a tool for configurable software verification.
* This file is part of CPAchecker.
*
* Copyright (C) 2007-2018 <NAME>
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... |
hints.asm | neilbaldwin/Pulsar | 11 | 92592 | <filename>hints.asm<gh_stars>10-100
hintTextA: .incbin "nametables/hintA.bin"
hintTextB: .incbin "nametables/hintB.bin"
hintTextC: .incbin "nametables/hintC.bin"
hintTextD: .incbin "nametables/hintD.bin"
hintTextE: .incbin "nametables/hintE.bin"
hintTextF: .incbin "nametables/hintF.bin"
hintTextG: .incbin "nametables/h... |
oeis/332/A332880.asm | neoneye/loda-programs | 11 | 24312 | <reponame>neoneye/loda-programs
; A332880: If n = Product (p_j^k_j) then a(n) = numerator of Product (1 + 1/p_j).
; Submitted by <NAME>
; 1,3,4,3,6,2,8,3,4,9,12,2,14,12,8,3,18,2,20,9,32,18,24,2,6,21,4,12,30,12,32,3,16,27,48,2,38,30,56,9,42,16,44,18,8,36,48,2,8,9,24,21,54,2,72,12,80,45,60,12,62,48,32,3,84,24,68,27,32,72... |
test/Fail/Issue4120-loop.agda | shlevy/agda | 1,989 | 2342 | {-# OPTIONS --prop --show-irrelevant #-}
open import Agda.Builtin.Equality
postulate
A : Set
P : Prop
f : P → A
g : A → P
{-# TERMINATING #-}
loop : A → A
loop y = loop y
mutual
X : A
X = _
test : ∀ y → X ≡ f (g (loop y))
test y = refl
-- The occurs check should not try to normalize the argument `... |
3-mid/impact/source/2d/orbs/impact-d2-orbs.ads | charlie5/lace | 20 | 18721 | <reponame>charlie5/lace<gh_stars>10-100
package Impact.d2.Orbs
--
-- A cut-down port of the Box2D physics engine, using only spheres.
--
-- For experiments with GPU and Ada task acceleration.
--
is
pragma Pure;
private
procedure dummy;
end Impact.d2.Orbs;
|
examples/SummerSchool07/Solutions/Problem3.agda | shlevy/agda | 1,989 | 14557 |
module Problem3 where
open import Problem1
open import Problem2
data Fin : Nat -> Set where
fzero : {n : Nat} -> Fin (suc n)
fsuc : {n : Nat} -> Fin n -> Fin (suc n)
data False : Set where
-- 3.1
empty : Fin zero -> False
empty ()
-- 3.2
_!_ : {A : Set}{n : Nat} -> Vec A n -> Fin n -> A
ε ! ()
(x ► ... |
programs/oeis/093/A093137.asm | neoneye/loda | 22 | 161950 | <gh_stars>10-100
; A093137: Expansion of (1-7*x)/((1-x)(1-10*x)).
; 1,4,34,334,3334,33334,333334,3333334,33333334,333333334,3333333334,33333333334,333333333334,3333333333334,33333333333334,333333333333334,3333333333333334,33333333333333334,333333333333333334,3333333333333333334,33333333333333333334,33333333333333333333... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_418.asm | ljhsiun2/medusa | 9 | 89236 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_418.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x7d1a, %r9
nop
nop
nop
nop
and %rsi, %rsi
mov (%r9), %r11w
dec %r9
lea addresses_A_ht+0x166a2, %rsi
lea... |
external/source/shellcode/windows/x86/src/block/block_recv.asm | waynearmorize/drivesploit | 9 | 11176 | <filename>external/source/shellcode/windows/x86/src/block/block_recv.asm<gh_stars>1-10
;-----------------------------------------------------------------------------;
; Author: <NAME> (stephen_fewer[at]harmonysecurity[dot]com)
; Compatible: Windows 7, 2008, Vista, 2003, XP, 2000, NT4
; Version: 1.0 (24 July 2009)
;----... |
RMonads.agda | jmchapman/Relative-Monads | 21 | 11069 | <gh_stars>10-100
module RMonads where
open import Library
open import Categories
open import Functors
record RMonad {a b c d}{C : Cat {a}{b}}{D : Cat {c}{d}}(J : Fun C D) :
Set (a ⊔ b ⊔ c ⊔ d) where
constructor rmonad
open Cat
open Fun
field T : Obj C → Obj D
η : ∀{X} → Hom D (OMap J X) (T ... |
src/boot/text/puts.asm | richgieg/RichOS | 5 | 17157 | ;//////////////////////////////////////////////////////////////////////////////;
;/// void puts(const char * s, int offset) ///;
;//////////////////////////////////////////////////////////////////////////////;
; Label for procedure.
puts:
;////////////////////////////////////////////... |
src/gen/cups-bits_socket_h.ads | persan/a-cups | 0 | 25340 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with CUPS.bits_sockaddr_h;
with System;
with CUPS.unistd_h;
limited with CUPS.bits_uio_h;
with CUPS.sys_types_h;
private package CUPS.bits_socket_h is
PF_UNSPEC : constant := 0; -- bits/socket.h:41
PF_LOCAL : constant := 1; --... |
programs/oeis/011/A011894.asm | karttu/loda | 1 | 84692 | ; A011894: a(n) = floor(n(n-1)(n-2)/12).
; 0,0,0,0,2,5,10,17,28,42,60,82,110,143,182,227,280,340,408,484,570,665,770,885,1012,1150,1300,1462,1638,1827,2030,2247,2480,2728,2992,3272,3570,3885,4218,4569,4940,5330,5740,6170,6622,7095,7590,8107,8648,9212,9800,10412,11050,11713,12402,13117,13860,14630,15428,16254,17110,1799... |
programs/oeis/175/A175078.asm | neoneye/loda | 22 | 22317 | ; A175078: Number of iterations of {r mod (max prime p < r)} needed to reach 1 or 2 starting at r = n.
; 0,0,1,1,1,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,2,2,2,2,1,1,1,1,2,2,2,2,1,1,2,2,1,1,1,1,2,2,1,1,2,2,2,2,1,1,2,2,2,2,1,1,1,1,2,2,2,2,1,1,2,2,1,1,1,1,2,2,2,2,1,1,2,2,1,1,2,2,2,2,1,1,2,2,2,2,2,2,1,1,2
trn $0,1
seq $... |
programs/oeis/019/A019745.asm | neoneye/loda | 22 | 29592 | ; A019745: Decimal expansion of e/8.
; 3,3,9,7,8,5,2,2,8,5,5,7,3,8,0,6,5,4,4,2,0,0,3,5,9,3,3,9,1,9,0,8,2,8,1,2,2,1,9,6,5,5,8,8,6,7,1,2,4,9,4,9,4,6,8,7,0,8,7,0,9,5,3,4,6,5,5,0,9,5,7,8,7,9,4,1,9,3,4,4,9,3,2,1,4,2,2,7,7,2,3,1,5,6,4,5,8,0,3,4
add $0,1
mov $3,$0
mul $3,5
lpb $3
sub $2,2
mul $2,$3
add $1,$2
mov $5,$... |
test/fail/NoTerminationCheckPositivity.agda | larrytheliquid/agda | 1 | 13845 | -- Andreas, 2013-03-20
-- Without termination checking disabled, the positivity checker
-- will throw an error.
module NoTerminationCheckPositivity where
open import Common.Level
module M {a}{A : Set a}(K : A → A → A) where
-- F fails the termination check
F : A → A
F X = K X (F X)
K : Set → Set → Set
K X Y =... |
pypy/lang/gameboy/rom/rom6/rom6.asm | camillobruni/pygirl | 12 | 17947 | <reponame>camillobruni/pygirl
; ==========================================================================
; ROM6
; ==========================================================================
; First we includ the Gameboy Hardware Definitions
; into our assembly file, so that we get some nice
; constants and macr... |
source/resolver/program-resolve_standard.adb | reznikmm/gela | 0 | 22804 | -- SPDX-FileCopyrightText: 2019-2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Element_Vector_Factories;
with Program.Element_Vectors;
with Program.Element_Visitors;
with Program.Elements.Component_Definitions;
with Program.Elements... |
source/strings/a-strcom.ads | ytomino/drake | 33 | 1306 | <reponame>ytomino/drake
pragma License (Unrestricted);
-- extended unit
package Ada.Strings.Composites is
-- Unicode composite character handling.
pragma Preelaborate;
type Class is range 0 .. 255;
for Class'Size use Standard'Storage_Unit;
function Combining_Class (Item : Wide_Wide_Character) return ... |
tools/test_ast.adb | aeszter/lox-spark | 6 | 25582 | with Ada.Text_IO;
with Ast_Printers;
with Exprs; use Exprs;
with Tokens; use Tokens;
procedure Test_Ast with SPARK_Mode => Off is
Test_Expr, U, N, G, F : Expr_Handle;
begin
Create_Num_Literal (123, N);
Create_Unary (New_Token (T_MINUS, "-", 1), N, U);
Create_Float_Literal (45.67, F);
Create_Grouping (F,... |
testcode/mp0test.asm | tanishq-dubey/lc3processor | 0 | 22875 | ORIGIN 4x0000
;; Refer to the LC-3b manual for the operation of each
;; instruction. (LDR, STR, ADD, AND, NOT, BR)
SEGMENT CodeSegment:
;; R0 is assumed to contain zero, because of the construction
;; of the register file. (After reset, all registers contain
;; zero.)
;; Note that the commen... |
tests/cl_test-platform.adb | flyx/OpenCLAda | 8 | 25088 | <reponame>flyx/OpenCLAda
--------------------------------------------------------------------------------
-- Copyright (c) 2013, <NAME> <<EMAIL>>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice a... |
programs/oeis/135/A135704.asm | neoneye/loda | 22 | 171395 | <gh_stars>10-100
; A135704: a(n) = 7*n^2 + 4*n + 1.
; 4,1,12,37,76,129,196,277,372,481,604,741,892,1057,1236,1429,1636,1857,2092,2341,2604,2881,3172,3477,3796,4129,4476,4837,5212,5601,6004,6421,6852,7297,7756,8229,8716,9217,9732,10261,10804,11361,11932,12517,13116,13729,14356,14997,15652,16321,17004,17701,18412,19137,1... |
oeis/061/A061787.asm | neoneye/loda-programs | 11 | 167033 | ; A061787: a(n) = Sum_{k=1..n} (2k-1)^(2k-1).
; Submitted by <NAME>
; 1,28,3153,826696,388247185,285699917796,303160806510049,438197051187369424,827678458937524133601,1979247334119251113257580,5844566265720101772494382001,20886312566113632136127527292568,88838728282578636866026660974558193,44351532697132034858511565728... |
password.adb | Lucretia/password | 0 | 16990 | -- Simple password generator
-- <NAME>
-- 23/01/10
with Ada.Command_Line;
with Ada.Text_IO;
with Ada.Numerics.Discrete_Random;
with Ada.Characters.Latin_1;
procedure Password is
package L1 renames Ada.Characters.Latin_1;
package Random_Char is new Ada.Numerics.Discrete_Random (Character);
Gen : Random_Char... |
Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-7700_9_0xca.log_21829_1552.asm | ljhsiun2/medusa | 9 | 17217 | <filename>Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-7700_9_0xca.log_21829_1552.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %rax
push %rbx
push %rcx
push %rsi
lea addresses_A_ht+0x5872, %r14
nop
nop
nop
nop
cmp $21279, %r10
mov (%r14), %rbx
nop
nop
nop
nop
add %r11, %r11
lea ... |
python_src/tools/sprite_barbaro_4.asm | fjpena/sword-of-ianna-msx2 | 43 | 10750 | dummyspace: ds 5376
barbaro_idle_espada_axe:
DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
DB 0, 0, 96, 10, 96, 0, 0, 0, 0, 0, 0, 0
DB 0, 6, 176, 122, 170, 6, 0, 0, 0, 0, 0, 0
DB 0, 182, 123, 171, 167, 6, 112, 119, 119, 0, 0, 0
DB 0,... |
libsrc/graphics/undrawto.asm | jpoikela/z88dk | 38 | 170023 | ;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by <NAME> - 30/9/98
;
;
; $Id: undrawto.asm $
;
; CALLER LINKAGE FOR FUNCTION POINTERS
; ----- void undrawto(int x2, int y2)
SECTION code_graphics
PUBLIC undrawto
PUBLIC ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.