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 |
|---|---|---|---|---|
src/Auto/Example/TypeClasses.agda | wenkokke/AutoInAgda | 22 | 8606 | <gh_stars>10-100
open import Auto
open import Function using (const)
open import Data.Bool using (Bool; true; false)
open import Data.Bool.Show as Bool using ()
open import Data.List using (_∷_; [])
open import Data.Maybe
open import Data.Nat using (ℕ; suc; zero)
open import Data.Nat.Show as Nat using ()
open import Da... |
project.asm | itaybnv/FINAL-MISSION | 0 | 83960 | ;------------------------------------------
; PURPOSE : assembly project FINAL MISSION
; SYSTEM : Turbo Assembler Ideal Mode
; AUTHOR : <NAME>
;------------------------------------------
IDEAL
MODEL small
MACRO HORIZONTAL_LINE x1,y1,x2,y2,color
local L1
mov cx,[x2]
sub cx,[x1] ; get the le... |
alloy4fun_models/trashltl/models/0/25NYYDNszY6rMrnrt.als | Kaixi26/org.alloytools.alloy | 0 | 1959 | <gh_stars>0
open main
pred id25NYYDNszY6rMrnrt_prop1 {
before all f:File | f in Protected
}
pred __repair { id25NYYDNszY6rMrnrt_prop1 }
check __repair { id25NYYDNszY6rMrnrt_prop1 <=> prop1o }
|
programs/oeis/021/A021070.asm | neoneye/loda | 22 | 99069 | ; A021070: Decimal expansion of 1/66.
; 0,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5,1,5
sub $0,1
mod $0,2
mov $1,5
pow $1,$0
mov $0,$1
|
13_01_Random/Libs/Constants.asm | phaze101/C64-Bedtime-Coding-Public | 0 | 177977 | <reponame>phaze101/C64-Bedtime-Coding-Public<gh_stars>0
;============================================================================
; C64 Bedtime Coding
; Copyright (c) by Phaze101
; eMail - <EMAIL>
; website - https://www.phaze101.com
; MIT License - https://choosealicense.com/licenses/mit/
;=======================... |
alloy4fun_models/trashltl/models/1/nCkQNqnDXWGsjKn9G.als | Kaixi26/org.alloytools.alloy | 0 | 3321 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idnCkQNqnDXWGsjKn9G_prop2 {
some File
}
pred __repair { idnCkQNqnDXWGsjKn9G_prop2 }
check __repair { idnCkQNqnDXWGsjKn9G_prop2 <=> prop2o } |
src/boot/stage2/real.asm | Nax/Fragments | 2 | 103331 | <filename>src/boot/stage2/real.asm
;
; Copyright (c) 2019, <NAME>
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copyright notice, this... |
agda-stdlib/src/Codata/Cowriter.agda | DreamLinuxer/popl21-artifact | 5 | 13664 | <filename>agda-stdlib/src/Codata/Cowriter.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- The Cowriter type and some operations
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe --sized-types #-}
-- ... |
data/pokemon/base_stats/carnivine.asm | TastySnax12/pokecrystal16-493-plus | 2 | 164144 | db 0 ; species ID placeholder
db 74, 100, 72, 46, 90, 72
; hp atk def spd sat sdf
db GRASS, GRASS ; type
db 200 ; catch rate
db 159 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 25 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/carnivine... |
libsrc/graphics/p2000/clsgraph.asm | meesokim/z88dk | 0 | 86957 | ;
; Philips P2000 Graphics Functions
;
; cls () -- clear screen
;
; <NAME> - Apr 2014
;
;
; $Id: clsgraph.asm,v 1.2 2015/01/19 01:32:50 pauloscustodio Exp $
;
PUBLIC cleargraphics
EXTERN base_graphics
.cleargraphics
; ld a,12
; call $60C0 ; cls
ld hl,(base_graphics)
... |
Categories/CoProducts.agda | jmchapman/Relative-Monads | 21 | 14012 | module Categories.CoProducts where
open import Data.Sum hiding ([_,_])
open import Library hiding (_+_ ; _,_)
open import Categories
record CoProd {l m}(C : Cat {l}{m}) : Set (m ⊔ l) where
open Cat C
field _+_ : Obj -> Obj -> Obj
inl : ∀{A B} -> Hom A (A + B)
inr : ∀{A B} -> Hom B (A + B)
... |
programs/oeis/058/A058919.asm | karttu/loda | 1 | 169431 | <gh_stars>1-10
; A058919: a(n) = n^4/2 - n^3 + 3n^2/2 - n + 1.
; 1,1,5,25,85,221,481,925,1625,2665,4141,6161,8845,12325,16745,22261,29041,37265,47125,58825,72581,88621,107185,128525,152905,180601,211901,247105,286525,330485,379321,433381,493025,558625,630565,709241,795061,888445,989825,1099645,1218361,1346441,1484365,1... |
HlslDecompiler.Tests/ShaderAssembly/ps_float4_construct2.asm | TBirdSoars/HlslDecompiler | 0 | 170100 | ps_3_0
def c0, 1, 0, 2, 0
dcl_texcoord v0.xy
dcl_texcoord1 v1.zw
mad oC0, v0.xxxy, c0.xyyx, c0.yyxy
mad oC1, v0.xxxy, c0.yyxx, c0.yxyy
mad oC2, v0.x, c0.yyyx, c0.yxzy
mov oC3.xy, v0.xy
mov oC3.zw, v1.xy
|
suokif/SUOKIF.g4 | augustand/grammars-v4 | 0 | 3560 |
/*
[The "BSD licence"]
Copyright (c) 2014 <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 above copyright
notice, this list of conditi... |
PRG/objects/D320.asm | narfman0/smb3_pp1 | 0 | 247404 | .byte $00 ; Unknown purpose
.byte OBJ_THWOMP, $3E, $12
.byte OBJ_ROTODISCCLOCKWISE, $45, $15
.byte OBJ_THWOMP, $4B, $12
.byte $FF ; Terminator
|
libs/CPC_V1_SimplePalette.asm | CurlyPaul/cpc-z80-twisting-tower | 2 | 244291 | <reponame>CurlyPaul/cpc-z80-twisting-tower
;;********************************************************************************************
;; Originally based an example at http://www.cpcwiki.eu/index.php/Programming An_example_loader
;;************************************************************************************... |
Library/Kernel/Win/winManager.asm | steakknife/pcgeos | 504 | 179760 | COMMENT }-------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Windowing system
FILE: winManager.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Jim 5/88... Initial version
Doug 10/12/8... |
libsrc/_DEVELOPMENT/adt/b_vector/c/sdcc_iy/b_vector_pop_back_fastcall.asm | jpoikela/z88dk | 640 | 95269 |
; int b_vector_pop_back_fastcall(b_vector_t *v)
SECTION code_clib
SECTION code_adt_b_vector
PUBLIC _b_vector_pop_back_fastcall
EXTERN _b_array_pop_back_fastcall
defc _b_vector_pop_back_fastcall = _b_array_pop_back_fastcall
|
programs/oeis/209/A209646.asm | neoneye/loda | 22 | 84936 | <reponame>neoneye/loda
; A209646: Number of n X 4 0..1 arrays avoiding 0 0 1 and 1 0 0 horizontally and 0 0 1 and 1 0 1 vertically.
; 9,81,270,630,1215,2079,3276,4860,6885,9405,12474,16146,20475,25515,31320,37944,45441,53865,63270,73710,85239,97911,111780,126900,143325,161109,180306,200970,223155,246915,272304,299376,3... |
src/Circle.agda | nad/equality | 3 | 4436 | <filename>src/Circle.agda
------------------------------------------------------------------------
-- The "circle"
------------------------------------------------------------------------
{-# OPTIONS --erased-cubical --safe #-}
-- Partly following the HoTT book.
-- The module is parametrised by a notion of equality.... |
test/src/test_keyboard_window.ads | Fabien-Chouteau/Giza | 7 | 17255 | with Basic_Test_Window; use Basic_Test_Window;
with Giza.Widget.Keyboards;
package Test_Keyboard_Window is
type Keyboard_Window is new Test_Window with private;
type Keyboard_Window_Ref is access all Keyboard_Window;
overriding
procedure On_Init (This : in out Keyboard_Window);
overriding
procedure ... |
programs/oeis/135/A135668.asm | neoneye/loda | 22 | 19723 | ; A135668: a(n) = ceiling(n + sqrt(n)).
; 2,4,5,6,8,9,10,11,12,14,15,16,17,18,19,20,22,23,24,25,26,27,28,29,30,32,33,34,35,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,92,93,94,95,96,97,98,99,100,101,102,103,1... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/renaming7_pkg.ads | best08618/asylo | 7 | 28048 | <gh_stars>1-10
package Renaming7_Pkg is
A : Integer;
end Renaming7_Pkg;
|
Sources/Globe_3d/glut_2d.ads | ForYouEyesOnly/Space-Convoy | 1 | 26583 | -- Some 2D GL utility functions based on GL, GLUT
with GL;
package GLUT_2D is
----------
-- Text --
----------
type Font_type is (
Screen_9_by_15,
Screen_8_by_13,
Times_Roman_10,
Times_Roman_24,
Helvetica_10,
Helvetica_12,
Helvetica_18
);
procedure Text_Out... |
zombie.asm | vishal-pathare/xv6-public | 0 | 101638 | <reponame>vishal-pathare/xv6-public
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%... |
src/CategoryTheory/Monad.agda | DimaSamoz/temporal-type-systems | 4 | 9051 | <gh_stars>1-10
{- Type class for monads. -}
module CategoryTheory.Monad where
open import CategoryTheory.Categories
open import CategoryTheory.Functor
open import CategoryTheory.NatTrans
-- A monad on a category
record Monad {n} (ℂ : Category n) : Set (lsuc n) where
open Category ℂ
field
-- Underlyin... |
ada/src/afrl/cmasi/afrl-cmasi-keepinzone.adb | joffreyhuguet/LmcpGen | 0 | 16071 | package body afrl.cmasi.keepInZone is
function getFullLmcpTypeName(this : KeepInZone) return String is ("afrl.cmasi.keepInZone.KeepInZone");
function getLmcpTypeName(this : KeepInZone) return String is ("KeepInZone");
function getLmcpType (this : KeepInZone) return UInt32_t is (CmasiEnum'Pos(KEEPINZONE_ENUM... |
models/tests/test61.als | transclosure/Amalgam | 4 | 3035 | <reponame>transclosure/Amalgam
module tests/test
open util/ordering[A] as ao
open util/ordering[B] as bo
open util/seqrel[A] as ro
sig A, B {}
run {C.next} // this line should complain about "C not found", and should complain only once (rather than 4 times!)
|
source/runtime/pb_support-internal.ads | mgrojo/protobuf | 12 | 1802 | <reponame>mgrojo/protobuf<filename>source/runtime/pb_support-internal.ads<gh_stars>10-100
-- MIT License
--
-- Copyright (c) 2020 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- copy of this software and associated documentation files (the "Software"),
-- to deal in the Soft... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0xca_notsx.log_21829_82.asm | ljhsiun2/medusa | 9 | 2762 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1927b, %rsi
lea addresses_A_ht+0x93bb, %rdi
nop
nop
add %r11, %r11
mov $42, %rcx
rep movsq
nop
nop
nop
nop
nop
lfence
lea addresses_WT_ht+0x16aab, %rsi
lea addresses_WT_ht+0x1c42b,... |
source/calendar/machine-w64-mingw32/s-nareti.adb | ytomino/drake | 33 | 19728 | <filename>source/calendar/machine-w64-mingw32/s-nareti.adb
with System.Native_Time;
with C.winbase;
with C.windef;
package body System.Native_Real_Time is
use type C.windef.WINBOOL;
use type C.winnt.LONGLONG;
subtype Positive_LONGLONG is
C.winnt.LONGLONG range 1 .. C.winnt.LONGLONG'Last;
Performance... |
oeis/258/A258278.asm | neoneye/loda-programs | 11 | 86314 | ; A258278: Expansion of f(-x, -x^5)^2 in powers of x where f(,) is Ramanujan's general theta function.
; Submitted by <NAME>
; 1,-2,1,0,0,-2,2,0,2,-2,1,0,0,-2,0,0,3,-2,0,0,0,-4,2,0,2,0,2,0,0,-2,0,0,1,-2,2,0,0,-2,2,0,2,-4,1,0,0,-2,0,0,2,-2,0,0,0,0,2,0,4,-2,0,0,0,-4,0,0,2,-2,3,0,0,0,2,0,2,-4,0,0,0,-2,0,0,1,-2,0,0,0,-2,4,... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-envvar.adb | orb-zhuchen/Orb | 0 | 19956 | <reponame>orb-zhuchen/Orb<filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-envvar.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS ... |
programs/oeis/213/A213510.asm | karttu/loda | 0 | 102546 | <filename>programs/oeis/213/A213510.asm
; A213510: The sequence N(n) arising in the enumeration of balanced ternary trees.
; 1,3,5,7,10,13,16,19,22,25,28,31,34,38,42,46,50,54,58,62,66,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142,147,152,157,162,167,172,177,182,187,192
mov $6,$0
lpb $0,1
add $1... |
src/midi.adb | JeremyGrosser/the_grid | 0 | 2575 | with Ada.Unchecked_Conversion;
with USB.Device.MIDI;
with USB.Device;
with RP.Device;
with Sound;
with HAL;
package body MIDI is
USB_Stack : USB.Device.USB_Device_Stack (Max_Classes => 1);
USB_MIDI : aliased USB.Device.MIDI.Default_MIDI_Class
(TX_Buffer_Size => 64,
RX_Buffer_Size => 64);
type C... |
kernel/arch/i386/interrupts.asm | jarlostensen/jos | 5 | 167788 | <reponame>jarlostensen/jos
[bits 32]
section .text
%include "arch/i386/macros.inc"
; =====================================================================================
; IDT
; the idt descriptor
extern _idt_desc
; load the _idt table
global _k_load_idt:function
_k_load_idt:
mov eax, dword _i... |
unit_tests/colour_test_cases.ads | alire-project/sdlada | 0 | 9569 | <reponame>alire-project/sdlada<filename>unit_tests/colour_test_cases.ads<gh_stars>0
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2014-2015 <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warrant... |
state/state_transition_3.als | nowavailable/alloy_als_study | 0 | 664 | /*------------------------------------------------------------
* 値オブジェクト(とイベント)
*------------------------------------------------------------*/
enum Password {correct, incorrect}
some sig UserAccount {
password: one correct
}
sig Session {
whose: disj one UserAccount
}
sig Visitor {
signIn: disj lone Sessio... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_5571_205.asm | ljhsiun2/medusa | 9 | 29969 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_5571_205.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r15
push %r9
push %rax
push %rbx
push %rdx
// Load
lea addresses_normal+0x132e9, %rdx
nop
and %r9, %r9
movups (%rdx), %xmm5
vpex... |
stm32f1/stm32f103xx/svd/stm32_svd-dbg.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 22183 | <filename>stm32f1/stm32f103xx/svd/stm32_svd-dbg.ads
-- This spec has been automatically generated from STM32F103.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.DBG is
pragma Preelaborate;
---------------
-- Registers --
--------... |
src/FLA/Data/VectorList.agda | turion/functional-linear-algebra | 21 | 14022 | {-# OPTIONS --without-K --safe #-}
open import Level using (Level)
open import Data.List using (List; sum) renaming ([] to []ᴸ; _∷_ to _∷ᴸ_)
open import Data.Nat using (ℕ; _+_; zero; suc)
open import Data.Vec using (Vec; _++_; take; drop) renaming ([] to []ⱽ; _∷_ to _∷ⱽ_)
open import Data.Product as Prod using (∃; ∃₂... |
programs/oeis/027/A027801.asm | neoneye/loda | 22 | 167609 | <reponame>neoneye/loda
; A027801: a(n) = 5*(n+1)*binomial(n+4,5)/2.
; 5,45,210,700,1890,4410,9240,17820,32175,55055,90090,141960,216580,321300,465120,658920,915705,1250865,1682450,2231460,2922150,3782350,4843800,6142500,7719075,9619155,11893770,14599760,17800200,21564840,25970560,31101840,37051245,43919925,51818130,608... |
alloy4fun_models/trashltl/models/17/YFpBSPD7XWfWpqgox.als | Kaixi26/org.alloytools.alloy | 0 | 3514 | <filename>alloy4fun_models/trashltl/models/17/YFpBSPD7XWfWpqgox.als
open main
pred idYFpBSPD7XWfWpqgox_prop18 {
always (all f:Protected | f in Trash implies f not in Protected)
}
pred __repair { idYFpBSPD7XWfWpqgox_prop18 }
check __repair { idYFpBSPD7XWfWpqgox_prop18 <=> prop18o } |
programs/oeis/006/A006222.asm | neoneye/loda | 22 | 21444 | ; A006222: 11*n^2 + 11*n + 3.
; 3,25,69,135,223,333,465,619,795,993,1213,1455,1719,2005,2313,2643,2995,3369,3765,4183,4623,5085,5569,6075,6603,7153,7725,8319,8935,9573,10233,10915,11619,12345,13093,13863,14655,15469,16305,17163,18043,18945,19869,20815,21783,22773,23785,24819,25875,26953,28053,29175,30319,31485,32673,33... |
programs/oeis/094/A094793.asm | neoneye/loda | 22 | 85721 | ; A094793: a(n) = (1/n!)*A001688(n).
; 9,53,181,465,1001,1909,3333,5441,8425,12501,17909,24913,33801,44885,58501,75009,94793,118261,145845,178001,215209,257973,306821,362305,425001,495509,574453,662481,760265,868501,987909,1119233,1263241
sub $2,$0
add $0,2
mul $2,$0
bin $0,2
pow $0,2
sub $0,$2
sub $0,1
mul $0,4
add $... |
libsrc/_DEVELOPMENT/sound/bit/z80/asm_bit_beepfx/_bfx_51.asm | meesokim/z88dk | 0 | 25010 |
; BeepFX sound effect by shiru
; http://shiru.untergrund.net
SECTION rodata_sound_bit
PUBLIC _bfx_51
_bfx_51:
; Gulp
defb 1 ;tone
defw 50,200,500,65516,128
defb 0
|
src/main/fragment/mos6502-common/vbuxx_neq_pbum1_derefidx_vbuyy_then_la1.asm | jbrandwood/kickc | 2 | 12235 | stx $fd
lda {m1}
sta $fe
lda {m1}+1
sta $ff
lda ($fe),y
cmp $fd
bne {la1} |
Cubical/HITs/Susp.agda | limemloh/cubical | 0 | 4734 | <reponame>limemloh/cubical
{-# OPTIONS --cubical --safe #-}
module Cubical.HITs.Susp where
open import Cubical.HITs.Susp.Base public
-- open import Cubical.HITs.Susp.Properties public
|
src/Fragment/Examples/Semigroup/Arith/Reasoning.agda | yallop/agda-fragment | 18 | 15288 | {-# OPTIONS --without-K --safe #-}
module Fragment.Examples.Semigroup.Arith.Reasoning where
open import Fragment.Examples.Semigroup.Arith.Base
+-direct : ∀ {m n} → (m + 2) + (3 + n) ≡ m + (5 + n)
+-direct {m} {n} = begin
(m + 2) + (3 + n)
≡⟨ fragment SemigroupFrex +-semigroup ⟩
m + (5 + n)
∎
open import... |
DiscourseLib.applescript | alldritt/AppleScriptLibraries | 41 | 2839 | use AppleScript version "2.4" -- Yosemite (10.10) or later
use framework "Foundation"
use scripting additions
-- Public Discourse Configuration
property APIDOMAIN : missing value -- "https://forum.domain.com"
property APIKEY : missing value -- "your Discourse API key"
property APIUSER : missing value -- "your Discours... |
programs/oeis/058/A058031.asm | karttu/loda | 1 | 22468 | ; A058031: a(n) = n^4 - 2*n^3 + 3*n^2 - 2*n + 1, the Alexander polynomial for reef and granny knots.
; 1,1,9,49,169,441,961,1849,3249,5329,8281,12321,17689,24649,33489,44521,58081,74529,94249,117649,145161,177241,214369,257049,305809,361201,423801,494209,573049,660969,758641,866761,986049,1117249,1261129,1418481,159012... |
oscomp/build/asm/execve.asm | wei-huan/MyOS | 2 | 170382 | <reponame>wei-huan/MyOS<filename>oscomp/build/asm/execve.asm
/home/weihuan/Documents/testsuits-for-oskernel-preliminary/riscv-syscalls-testing/user/build/riscv64/execve: file format elf64-littleriscv
Disassembly of section .text:
0000000000001000 <_start>:
.section .text.entry
.globl _start
_start:
mv a0, s... |
programs/oeis/082/A082569.asm | neoneye/loda | 22 | 10404 | ; A082569: a(1)=2; a(n)=ceiling(n*(a(n-1)-1/a(n-1))).
; 2,3,8,32,160,960,6720,53760,483840,4838400,53222400,638668800,8302694400,116237721600,1743565824000,27897053184000,474249904128000,8536498274304000,162193467211776000,3243869344235520000
mov $1,1
add $1,$0
seq $1,142 ; Factorial numbers: n! = 1*2*3*4*...*n (order... |
Pruebas/prueba.adb | Arles96/PCompiladores | 0 | 15200 | <reponame>Arles96/PCompiladores
procedure Hello is
C, D: INTEGER := 0;
begin
C := 1;
D := 4 / 2;
put(D);
end Hello; |
Data/List/Kleene.agda | oisdk/agda-kleene-lists | 0 | 13744 | <reponame>oisdk/agda-kleene-lists
{-# OPTIONS --without-K --safe #-}
module Data.List.Kleene where
open import Data.List.Kleene.Base public
|
bb-runtimes/x86_64/src/i-x86_64-ns16550.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 14753 | <filename>bb-runtimes/x86_64/src/i-x86_64-ns16550.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
software/obsolete/new-rom/listing.asm | Noah1989/micro-21 | 1 | 20744 | public listing_IX_seek_line_BC
public listing_IX_read_line_eof_Z
extern error
include "listing.inc"
listing_IX_seek_line_BC:
LD L, (IX+listing_seek_line_BC)
LD H, (IX+listing_seek_line_BC+1)
JP (HL)
listing_IX_read_line_eof_Z:
LD L, (IX+listing_read_line_eof_Z)
LD H, (IX+listing_read_line_eof_Z+1)
JP (HL)
|
Engine/Graphics/ClearInterlacedDataMemory.asm | wide-dot/thomson-to8-game-engine | 11 | 96437 | ********************************************************************************
* Clear memory in data area
* !!! IRQ should be disabled !!!
*
* input REG : [x] color for 4 pixels
********************************************************************************
ClearInterlacedEvenDataMemory
ldb #$18
... |
core/src/main/antlr4/TxnParser.g4 | e257-fi/tackler | 0 | 7508 | /*
* Copyright 2016-2019 E257.FI
*
* 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
programs/oeis/027/A027778.asm | neoneye/loda | 22 | 179220 | <reponame>neoneye/loda
; A027778: a(n) = 5*(n+1)*binomial(n+2, 5)/2.
; 10,75,315,980,2520,5670,11550,21780,38610,65065,105105,163800,247520,364140,523260,736440,1017450,1382535,1850695,2443980,3187800,4111250,5247450,6633900,8312850,10331685,12743325,15606640,18986880
mov $1,$0
add $0,5
bin $0,$1
add $1,4
mul $0,$1
di... |
triton-compiler/src/main/antlr4/org/bw/tl/antlr/Grammar.g4 | BradleyWood/Triton-Lang | 3 | 574 | grammar Grammar;
file
: NL* (packageDef NL*)? imp* NL* topLevelStatement* NL* EOF
;
script
: NL* (packageDef NL*)? imp* NL* (scriptStatement semi)* (scriptStatement semi?)? NL* EOF
;
scriptStatement
: statement
| functionDef
| varDef
;
topLevelStatement
: (
functionDef
) ... |
hacking-date/HackingDate.scpt | RainySummerLuo/OpenHappyHackingCalendar-Python | 50 | 4035 | set now to current date
set y to text -4 thru -1 of ("0000" & (year of now))
set m to text -2 thru -1 of ("00" & ((month of now) as integer))
set d to text -2 thru -1 of ("00" & (day of now))
y & "-" & m & "-" & d |
notes/fixed-points/PolynomialFunctors.agda | asr/fotc | 11 | 5551 | {-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --without-K #-}
module PolynomialFunctors where
-- From: <NAME>. Dependently typed programming in Agda. In Koopman
-- et al., editors. Advanced Functional Program... |
Assembler/Monitor.asm | techno-sorcery/CPU-16 | 3 | 161614 | <reponame>techno-sorcery/CPU-16<filename>Assembler/Monitor.asm
;ATLAS Machine Code Monitor
;Definitions
ORG $FFFF
dw $E000
org $FD00
.splash
dw 'ATLAS Machine Code Monitor 16\n(c)2021 ATLAS Digital Systems\, <NAME>\n\n\0'
.prompt
dw '>> \0'
.syntaxError
dw 'Syntax error\n\0'
.hexTable
dw '0123456789ABCDEF\0'
.a... |
libtool/src/gmp-6.1.2/mpn/x86_64/coreisbr/addmul_2.asm | kroggen/aergo | 1,602 | 925 | dnl AMD64 mpn_addmul_2 optimised for Intel Sandy Bridge.
dnl Contributed to the GNU project by <NAME>.
dnl Copyright 2003-2005, 2007, 2008, 2011-2013 Free Software Foundation, Inc.
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 modify
dnl... |
src/PJ/poco/callglue/pococall.asm | AnimatorPro/Animator-Pro | 119 | 163088 |
EXTRN postack_to_cstack:WORD
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
;(return type) poco_call_cfunc(void *stack_descriptor, void *poco_stack,
; int cstack_size, FUNC cvector );
; A raft of symbols for different data types. Maybe not needed if casts
; do t... |
audio/music/titlescreen.asm | pokeachromicdevs/pokeoctober | 1 | 99562 | Music_TitleScreen:
musicheader 4, 1, title2_3_Ch1
musicheader 1, 2, title2_3_Ch2
musicheader 1, 3, title2_3_Ch3
musicheader 1, 4, title2_3_Ch4
; include group.def
;bank3d group G_MUSIC4
;
;; title2_3
;
;; Converting on Fri Jul 30 19:00:35 1999
;
;; by ver 1.01
;
; public mustitle3
;mustitle3:
;----------... |
cards/bn4/ModCards/134-D022 Charge WideSht1 (0E).asm | RockmanEXEZone/MMBN-Mod-Card-Kit | 10 | 166028 | <filename>cards/bn4/ModCards/134-D022 Charge WideSht1 (0E).asm
.include "defaults_mod.asm"
table_file_jp equ "exe4-utf8.tbl"
table_file_en equ "bn4-utf8.tbl"
game_code_len equ 3
game_code equ 0x4234574A // B4WJ
game_code_2 equ 0x42345745 // B4WE
game_code_3 equ 0x42345750 // B4WP
card_type equ 1
card_id equ ... |
ada-containers-indefinite_multiway_trees.ads | mgrojo/adalib | 15 | 10801 | -- Standard Ada library specification
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
-- SPDX-License-Identifier: BSD-3-Clause and LicenseRef-AdaRe... |
Scrip.Compiler/Scrip.g4 | dotn8/scrip | 0 | 5917 | <reponame>dotn8/scrip
grammar Scrip;
paragraphs : paragraph (PARAGRAPH_SEP+ paragraph)*;
PARAGRAPH_SEP : '\r\n';
paragraph : block*?;
block : text
| codeBlock
| italics | bold | underline | strike... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_115_1797.asm | ljhsiun2/medusa | 9 | 91442 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x9712, %r15
nop
and %r11, %r11
movl $0x61626364, (%r15)
nop
nop
xor %rbp, %rbp
lea addresses_D_ht+0x173aa, %rsi
lea addresses_D_ht+0x5e32, %rdi
clflush (%rdi)
nop
nop
cmp %r11... |
erl.Oracle.TnsNames/ANTLR/TnsNamesParser.g4 | espenrl/TnsNames | 6 | 3175 | parser grammar TnsNamesParser;
options
{
tokenVocab = TnsNamesLexer;
}
configuration_file : ( parameter )*
;
parameter : keyword EQUALS parameterValue;
parameterValue : scalar=value #scalarParameterValue
| LEFT_PAREN valueList+=value ( COMMA valueList+=value )* RIGHT_PAREN #valueList... |
ASM/src/song_fix.asm | ActuallyAdasi/OoT-Randomizer | 289 | 165824 | ;==================================================================================================
; Fixes songs in certain scenes to allow for various song learning function to properly play
; through their scripts.
;=================================================================================================... |
test/pipeline_output/test_pipeline_output.adb | charlie5/aShell | 11 | 18967 | with
Shell.Commands,
Ada.Text_IO;
procedure Test_Pipeline_Output
is
use Ada.Text_IO;
begin
Put_Line ("Begin 'Pipeline_Output' test.");
New_Line (2);
declare
use Shell,
Shell.Commands,
Shell.Commands.Forge;
Commands : Command_Array := To_Commands ("ps -A | grep ... |
programs/oeis/265/A265029.asm | karttu/loda | 0 | 18507 | ; A265029: First differences of A264619.
; 6,14,10,42,20,14,20,146,40,28,40,22,40,28,40,546,80,56,80,44,80,56,80,38,80,56,80,44,80,56,80,2114,160,112,160,88,160,112,160,76,160,112,160,88,160,112,160,70,160,112,160,88,160,112,160,76,160,112,160,88,160,112,160,8322,320,224,320,176,320,224,320,152,320,224,320,176,320,224,... |
src/tests/ahven/ahven-text_runner.adb | RREE/ada-util | 60 | 19841 | <reponame>RREE/ada-util
--
-- Copyright (c) 2007-2009 <NAME> <<EMAIL>>
--
-- Permission to use, copy, modify, and distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all copies.
--
-- THE SOFTWARE IS PROVIDED... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_268.asm | ljhsiun2/medusa | 9 | 27507 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_268.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r13
push %r15
push %rdi
// Faulty Load
lea addresses_D+0x5d3c, %r10
clflush (%r10)
nop
nop
and %r15, %r15
... |
src/Projects/eu_projects-times-time_expressions.adb | fintatarta/eugen | 0 | 7670 | -- with Ada.Text_IO; use Ada.Text_IO;
package body EU_Projects.Times.Time_Expressions is
-------------
-- Extract --
-------------
function Extract (X : Symbolic_Instant_Array) return Time_Expr.Expression_Array
is
Result : Time_Expr.Expression_Array (X'Range);
begin
for I in X'Range lo... |
levelmovedata.asm | encukou/ti83-dex | 1 | 174357 | DEFINE P5LEVELMOVEDATA, SPACE=ROM
SEGMENT P5LEVELMOVEDATA
extern _Green
extern _DrawPkName
extern _Red
extern _Select
extern _Move
extern _LoadPic
extern _LPicBank1
extern _DrawMoveName
extern _DrawMoveName_AlignRight
extern _MoveList
extern _LoadLevelMoves
public LoadLevelMoves
public ... |
programs/oeis/083/A083713.asm | karttu/loda | 1 | 86938 | <reponame>karttu/loda
; A083713: a(n) = (8^n - 1)*3/7.
; 0,3,27,219,1755,14043,112347,898779,7190235,57521883,460175067,3681400539,29451204315,235609634523,1884877076187,15079016609499,120632132875995,965057063007963,7720456504063707,61763652032509659
mov $1,8
pow $1,$0
div $1,7
mul $1,3
|
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0xca_notsx.log_335_1111.asm | ljhsiun2/medusa | 9 | 22850 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xd547, %rsi
lea addresses_WT_ht+0x1cdd7, %rdi
nop
nop
nop
nop
xor $3391, %r14
mov $100, %rcx
rep movsq
nop
nop
nop
nop
inc %r10
lea addresses_UC_ht+0x1a2d7, %r13
nop
sub $13614... |
oeis/104/A104588.asm | neoneye/loda-programs | 11 | 90594 | ; A104588: Product of primes less than or equal to sqrt(n).
; Submitted by <NAME>
; 1,1,1,2,2,2,2,2,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210,210
add $0,1
seq $0,196 ; Integ... |
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_21829_491.asm | ljhsiun2/medusa | 9 | 89909 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_21829_491.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xd3b2, %rsi
add $18612, %rax
movups (%rsi), %xmm4
vpextrq $1, %xmm4... |
src/util/sprite/cursor.asm | olifink/qspread | 0 | 246611 | ;Sprite source code generated with EASYSOURCE 1991 <NAME> Software
;**************************************************************************
; -> asm_spr_ <- 1992 Jun 13 12:42:56
section sprite
xdef mes_curs
mes_curs
sp1
dc.w $0100,$0000 ;form, time/adaption
... |
src/lang/stemmer-basque.adb | stcarrez/ada-stemmer | 3 | 1774 | <gh_stars>1-10
-- Generated by Snowball 2.2.0 - https://snowballstem.org/
package body Stemmer.Basque is
pragma Style_Checks ("-mr");
pragma Warnings (Off, "*variable*is never read and never assigned*");
pragma Warnings (Off, "*mode could be*instead of*");
pragma Warnings (Off, "*formal parameter.*is not... |
data/pokemon/base_stats/venonat.asm | AtmaBuster/pokeplat-gen2 | 6 | 88225 | <filename>data/pokemon/base_stats/venonat.asm
db 0 ; species ID placeholder
db 60, 55, 50, 45, 40, 55
; hp atk def spd sat sdf
db BUG, POISON ; type
db 190 ; catch rate
db 75 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/ven... |
regtests/security-oauth-servers-tests.ads | jquorning/ada-security | 19 | 11940 | -----------------------------------------------------------------------
-- Security-oauth-servers-tests - Unit tests for server side OAuth
-- Copyright (C) 2017, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in c... |
Library/Ruler/uiRulerTypeControl.asm | steakknife/pcgeos | 504 | 105148 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: uirtctrl.asm
AUTHOR: <NAME>
METHODS:
Name Description
---- -----------
FUNCTIONS:
Scope Name Description... |
tools-src/gnu/gcc/gcc/ada/sem_maps.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 24365 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Build/Interpreters/beebOzmoo/asm/vmem.asm | polluks/Puddle-BuildTools | 38 | 27830 |
!ifndef ACORN {
!ifdef ALLRAM {
vmem_cache_cnt !byte 0 ; current execution cache
vmem_cache_index !fill cache_pages + 1, 0
}
}
!ifndef VMEM {
; Non-virtual memory
!ifndef ALLRAM {
read_byte_at_z_address
read_byte_at_z_address_for_z_pc
; Subroutine: Read the contents of a byte address in the Z-machine
... |
programs/oeis/000/A000540.asm | karttu/loda | 0 | 27981 | ; A000540: Sum of 6th powers: 0^6 + 1^6 + 2^6 + ... + n^6.
; 0,1,65,794,4890,20515,67171,184820,446964,978405,1978405,3749966,6735950,11562759,19092295,30482920,47260136,71397705,105409929,152455810,216455810,302221931,415601835,563637724,754740700,998881325,1307797101,1695217590,2177107894,2771931215,3500931215,438843... |
programs/oeis/202/A202238.asm | neoneye/loda | 22 | 177581 | ; A202238: Characteristic function of positive integers not prime and not a power of 2.
; 0,0,0,0,0,1,0,0,1,1,0,1,0,1,1,0,0,1,0,1,1,1,0,1,1,1,1,1,0,1,0,0,1,1,1,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,0,1,0,1,1,0,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1
mov $2,$0
lpb $0
sub $0,1
... |
test-resources/ExamplesFromRoy/globals_example3.ads | hergin/ada2fuml | 0 | 19999 | with Globals_Example1;
package Globals_Example3 is
type Record3 is record
I_Attribute : Globals_Example1.Itype;
end record;
function Unrelated (The_I : Globals_Example1.Itype)
return Globals_Example1.Itype;
end Globals_Example3;
|
test/Succeed/Issue3554.agda | cruhland/agda | 1,989 | 13525 | <reponame>cruhland/agda
open import Agda.Builtin.Bool
open import Agda.Builtin.Nat
open import Agda.Builtin.Equality
_^_ : Nat → Nat → Nat
x ^ zero = 1
x ^ suc y = x * (x ^ y)
data Enum : Set where
makeEnum : (size : Nat) → (variants : Nat) →
.{{ _ : (variants < size) ≡ true }} → Enum
five : Enum
fiv... |
src/servlet-streams.adb | My-Colaborations/ada-servlet | 6 | 4019 | <gh_stars>1-10
-----------------------------------------------------------------------
-- Servlet.Streams -- Print streams for servlets
-- Copyright (C) 2010, 2011, 2012, 2013, 2018, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use ... |
Section11_Templates/Introduction_To_Templates/Introduction_To_Templates/Debug/Source.asm | AlvinToh/Complete-Modern-C- | 1 | 247121 | <reponame>AlvinToh/Complete-Modern-C-
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.25.28614.0
TITLE C:\Users\User\Desktop\Alvin_Personal_Projects\Coding_Languages\Complete-Modern-C\Section11_Templates\Introduction_To_Templates\Introduction_To_Templates\Source.cpp
.686P
.XMM
include listing.... |
oeis/001/A001533.asm | neoneye/loda-programs | 11 | 6242 | ; A001533: (8n+1)(8n+7).
; 7,135,391,775,1287,1927,2695,3591,4615,5767,7047,8455,9991,11655,13447,15367,17415,19591,21895,24327,26887,29575,32391,35335,38407,41607,44935,48391,51975,55687,59527,63495,67591,71815,76167,80647,85255,89991,94855,99847,104967,110215,115591,121095,126727,132487,138375,144391,150535,156807,16... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2417.asm | ljhsiun2/medusa | 9 | 95986 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x710, %rsi
lea addresses_UC_ht+0xc828, %rdi
clflush (%rsi)
nop
nop
add $48904, %rbx
mov $24, %rcx
rep movsb
nop
sub $4087, %r12
lea addresses_UC_ht+0x5f63, %r15
nop
nop
nop
nop... |
cmd/chkdsk/spawn.asm | minblock/msdos | 0 | 5227 | TITLE SPAWN - procedures to spawn another program before exiting
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1993
; * All Rights Reserved.
; */
page ,132
.xlist
include chkseg.inc
include chkmacro.inc
INCLUDE SYSCALL.INC
INCLUDE PATHMAC.INC
... |
src/Container/Tree-sort.agda | nad/equality | 3 | 8510 | <reponame>nad/equality
------------------------------------------------------------------------
-- An implementation of tree sort, formally proved to return a
-- permutation of the input
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Equality
op... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.