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 |
|---|---|---|---|---|
examples/outdated-and-incorrect/AIM6/Cat/lib/Logic/Base.agda | asr/agda-kanso | 1 | 2835 |
module Logic.Base where
infix 60 ¬_
infix 30 _/\_
infix 20 _\/_
data True : Set where
tt : True
data False : Set where
elim-False : {A : Set} -> False -> A
elim-False ()
data _/\_ (P Q : Set) : Set where
/\-I : P -> Q -> P /\ Q
data _\/_ (P Q : Set) : Set where
\/-IL : P -> P \/ Q
\/-IR : Q -> P \/ Q
el... |
ada/host.ads | rtoal/enhanced-dining-philosophers | 0 | 8322 | <reponame>rtoal/enhanced-dining-philosophers<filename>ada/host.ads
------------------------------------------------------------------------------
-- host.ads
--
-- This package defines the task for the host. The host allows the philoso-
-- phers to enter and leave the restaurant. It also keeps track ... |
sources/ippcp/asm_intel64/pcprij128decryptcbcpipee9as.asm | ymarkovitch/ipp-crypto | 0 | 81629 | ;===============================================================================
; Copyright 2015-2019 Intel Corporation
; All Rights Reserved.
;
; If this software was obtained under the Intel Simplified Software License,
; the following terms apply:
;
; The source code, information and material ("Material") co... |
CSE 341 Microprocessors/Lab Final/Task 2.asm | iamraufu/BRACU | 12 | 164251 | .MODEL SMALL
FINDGREATER MACRO X,Y,Z
MOV CL,X
MOV CH,Y
MOV BH,Z
CMP CL,CH
JG C1
JNG C2
C1:
CMP CL,BH
JG MAX_X
JNG MAX_Z
C2:
CMP CH,BH
JG MAX_Y
JNG MAX_Z
MAX_X:
MOV DL,CL
MOV AH,2
INT 21H
... |
Working Disassembly/Levels/ICZ/Misc Object Data/Map - Wall and Column.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 101725 | <filename>Working Disassembly/Levels/ICZ/Misc Object Data/Map - Wall and Column.asm
Map_3639C0: dc.w Frame_3639DC-Map_3639C0
dc.w Frame_363A3E-Map_3639C0
dc.w Frame_363AC4-Map_3639C0
dc.w Frame_363B1A-Map_3639C0
dc.w Frame_363B28-Map_3639C0
dc.w Frame_363B30-Map_3639C0
dc.w Frame_363B38-Map_3639C0
dc.w Fr... |
maps/OlivineLighthouse4F.asm | Dev727/ancientplatinum | 28 | 23954 | <filename>maps/OlivineLighthouse4F.asm
object_const_def ; object_event constants
const OLIVINELIGHTHOUSE4F_SAILOR
const OLIVINELIGHTHOUSE4F_LASS
OlivineLighthouse4F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
TrainerLassConnie:
trainer LASS, CONNIE1, EVENT_BEAT_LASS_CONNIE, LassConnie1SeenText, LassConni... |
test/Succeed/SizeInfinity.agda | shlevy/agda | 3 | 10860 | <filename>test/Succeed/SizeInfinity.agda
-- Andreas, 2016-02-21 issue 1862 reported by nad
-- {-# OPTIONS -v tc.decl:10 -v tc.def.where:10 -v tc.meta:10 -v tc.size.solve:100 #-}
open import Common.Size
data Nat (i : Size) : Set where
zero : Nat i
suc : (j : Size< i) (n : Nat j) → Nat i
id : ∀ i → Nat i → Nat i
... |
programs/oeis/189/A189676.asm | neoneye/loda | 22 | 97444 | ; A189676: a(n) = n + [nr/s] + [nt/s]; r=Pi/2, s=arcsin(3/5), t=arcsin(4/5).
; 4,8,14,18,24,28,34,38,42,48,52,58,62,68,72,78,82,86,92,96,102,106,112,116,122,126,130,136,140,146,150,156,160,164,170,174,180,184,190,194,200,204,208,214,218,224,228,234,238,244,248,252,258,262,268,272,278,282,288,292,296,302,306,312,316,322... |
source/amf/uml/amf-uml-call_behavior_actions.ads | svn2github/matreshka | 24 | 2733 | <filename>source/amf/uml/amf-uml-call_behavior_actions.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
lib/src/xr/x86/os2/xrnincls.asm | zanud/xds-2.60 | 53 | 102056 | .386p
; COPYRIGHT (c) 1995,99 XDS. All Rights Reserved.
; X2C_INCLs constant array
ifdef OS2
.model FLAT
endif
DGROUP group _DATA
public X2C_INCLs
public X2C_INCLs_HI
ifdef OS2
_DATA segment use32 dword public 'DA... |
programs/oeis/301/A301708.asm | karttu/loda | 0 | 3759 | ; A301708: Coordination sequence for node of type V1 in "krc" 2-D tiling (or net).
; 1,6,11,16,22,28,33,38,44,50,55,60,66,72,77,82,88,94,99,104,110,116,121,126,132,138,143,148,154,160,165,170,176,182,187,192,198,204,209,214,220,226,231,236,242,248,253,258,264,270,275,280,286,292,297,302,308,314,319,324,330,336,341,346,... |
tests/misc/sjio_cpp/sjio_coverage2.asm | fengjixuchui/sjasmplus | 220 | 23136 | DEVICE ZXSPECTRUM48
LUA
sj.get_word(0)
sj.get_word(0xFFFF)
sj.get_byte(0x2000)
sj.get_byte(0x20000)
ENDLUA
EMPTYTAP "sjio_coverage2_ignore.tap"
TAPOUT "sjio_coverage2_ignore.tap"
DS 0x8000,1
DS 0x8000,2
TAPEND
MACRO MacroWithoutENDM
|
lib/Haskell/RangedSetsProp/library.agda | ioanasv/agda2hs | 1 | 10364 | <reponame>ioanasv/agda2hs
module Haskell.RangedSetsProp.library where
open import Agda.Builtin.Equality
open import Agda.Builtin.Bool
open import Haskell.Prim
open import Haskell.Prim.Ord
open import Haskell.Prim.Bool
open import Haskell.Prim.Eq
open import Haskell.Prim.Int
open import Haskell.Prim.List
open import H... |
oeis/045/A045380.asm | neoneye/loda-programs | 11 | 96757 | <gh_stars>10-100
; A045380: Primes congruent to 2 mod 5.
; Submitted by <NAME>
; 2,7,17,37,47,67,97,107,127,137,157,167,197,227,257,277,307,317,337,347,367,397,457,467,487,547,557,577,587,607,617,647,677,727,757,787,797,827,857,877,887,907,937,947,967,977,997,1087,1097,1117,1187,1217,1237,1277,1297,1307,1327,1367,1427,... |
Assembly Microbenchmarks/sltuTest.asm | idn0971/HLS_Benchmarking | 0 | 246344 | li t0, 3
li t1, -1
sltu s6, t0 ,t1 |
lib/ncurses-6.1/Ada95/samples/sample-manifest.ads | Haransis/gpio-map | 11 | 6771 | ------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- --
-- ... |
source/amf/dd/amf-internals-tables-di_metamodel.adb | svn2github/matreshka | 24 | 4496 | <reponame>svn2github/matreshka<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
hash/sha1/sha1-x64.asm | jfehren/Crypto | 0 | 173235 | .file "sha1-x64.asm"
.macro LOAD off
movl \off+0x00(%rsi), %eax
movl \off+0x04(%rsi), %ebx
movl \off+0x08(%rsi), %ecx
movl \off+0x0C(%rsi), %edx
bswapl %eax
bswapl %ebx
bswapl %ecx
bswapl %edx
movl %eax, \off+0x00(%rsp)
movl %ebx, \off+0x04(%rsp)
movl %ecx, \off+0x08(%rsp)
movl %edx, \off+0x0C(%rsp)
.en... |
src/gl/interface/gl-immediate.ads | Roldak/OpenGLAda | 79 | 16341 | <filename>src/gl/interface/gl-immediate.ads
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with Ada.Finalization;
with GL.Types.Colors;
-- This package provides functions to directly insert vertices, colors, normals
-- etc. into the pipeline. Note that ... |
programs/oeis/281/A281234.asm | neoneye/loda | 22 | 168802 | <gh_stars>10-100
; A281234: Solutions y to the negative Pell equation y^2 = 72*x^2 - 288 with x,y >= 0.
; 0,48,288,1680,9792,57072,332640,1938768,11299968,65861040,383866272,2237336592,13040153280,76003583088,442981345248,2581884488400,15048325585152,87708069022512,511200088549920,2979492462277008,17365754685112128,101... |
Run.applescript | dragonee/iterm2-startenv | 1 | 709 | <filename>Run.applescript<gh_stars>1-10
ObjC.import('stdlib')
// get params
var _args = $.NSProcessInfo.processInfo.arguments
var argv = []
// drop 'osascript -l Javascript this.applescript'
for (var i = 4; i < _args.count; i++) {
argv.push(ObjC.unwrap(_args.objectAtIndex(i)))
}
if(argv.length < 1 && argv.lengt... |
programs/oeis/048/A048493.asm | karttu/loda | 1 | 14204 | ; A048493: a(n) = (n+1)*2^n - n.
; 1,3,10,29,76,187,442,1017,2296,5111,11254,24565,53236,114675,245746,524273,1114096,2359279,4980718,10485741,22020076,46137323,96468970,201326569,419430376,872415207,1811939302,3758096357,7784628196,16106127331,33285996514,68719476705,141733920736,292057776095,601295421406,123695058121... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2332.asm | ljhsiun2/medusa | 9 | 27592 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2332.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x178be, %r12
nop
nop
cmp %rdx, %rdx
mov $0x6162636465666768, %rcx
movq %rcx, (%r12)
... |
oeis/000/A000078.asm | neoneye/loda-programs | 11 | 28667 | <reponame>neoneye/loda-programs
; A000078: Tetranacci numbers: a(n) = a(n-1) + a(n-2) + a(n-3) + a(n-4) for n >= 4 with a(0) = a(1) = a(2) = 0 and a(3) = 1.
; Submitted by <NAME>
; 0,0,0,1,1,2,4,8,15,29,56,108,208,401,773,1490,2872,5536,10671,20569,39648,76424,147312,283953,547337,1055026,2033628,3919944,7555935,145645... |
src/17-promotion/Vector.agda | aavogt/wiwinwlh | 2,479 | 10303 | module Vector where
infixr 10 _∷_
data ℕ : Set where
zero : ℕ
suc : ℕ → ℕ
{-# BUILTIN NATURAL ℕ #-}
{-# BUILTIN ZERO zero #-}
{-# BUILTIN SUC suc #-}
infixl 6 _+_
_+_ : ℕ → ℕ → ℕ
0 + n = n
suc m + n = suc (m + n)
data Vec (A : Set) : ℕ → Set where
[] : Vec A 0
_∷_ : ∀ {n} → A → Vec A n → Vec ... |
src/002/my_pack.adb | xeenta/learning-ada | 0 | 9644 | <reponame>xeenta/learning-ada
package body My_Pack is
Internal_Value : Integer;
Count : Integer := 0;
function Get return Integer is (Internal_Value);
function Get_Count return Integer is (Count);
procedure Set (V : in Integer) is
begin
Internal_Value := V;
end Set;
begin... |
Application/AssemblyCode/working_and_tmp_asm_files/ghost1DrawGlyph.asm | t0ddpar0dy/Handmade_Pacman | 0 | 91951 |
Ghost1DRAW_GLYPH:
//MAKE ARI LOCATION ADDRESS IN r2
//ARI GHOST IS IN 12800
//LUI 200 AND ORI 0
LUI 200 r2
ORI 0 r2
//MAKE GHOST STATE ADDRESS IN r3
LUI 51 r3
ORI 145 r3
//load location of pacman INTO r0
LOAD r0 r2
//CHECK IF STATE UP0
drawUP0:
load r5 r3
CMPI 16 r5
BNE drawUP1 //else check if in state UP1
/... |
libsrc/_DEVELOPMENT/arch/sms/misc/z80/asm_sms_tiles_get_area.asm | jpoikela/z88dk | 640 | 85122 | <gh_stars>100-1000
; void sms_tiles_get_area(struct r_Rect8 *r, void *dst)
;
; Copy tile contents of a rectangular area in vram to memory
SECTION code_clib
SECTION code_arch
PUBLIC asm_sms_tiles_get_area
EXTERN asm_sms_cxy2saddr, asm_sms_memcpy_vram_to_mem
asm_sms_tiles_get_area:
; enter : de = void *dst
; ... |
test/asm/correct-line-number.asm | orbea/rgbds | 522 | 11843 | IF 0
"\
"
ELIF 1
WARN "Am I geting ahead of myself?"
ELSE
"\
"
ENDC
WARN "Hopefully not." |
alloy4fun_models/trainstlt/models/7/wH6jfst8zafdfd9ce.als | Kaixi26/org.alloytools.alloy | 0 | 3673 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idwH6jfst8zafdfd9ce_prop8 {
always (all t:Train | (some t.pos and some t.pos.signal and some t.pos.prox) and ((t.pos.signal) in (Signal-Green) implies (some t.pos') since eventually ((t.pos.signal) in Green)))
}
pred __repair { idwH6jfst8zafdfd9ce_prop8 }
ch... |
regtests/util-dates-tests.ads | RREE/ada-util | 60 | 16042 | -----------------------------------------------------------------------
-- util-dates-tests - Test for dates
-- Copyright (C) 2018, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
--... |
agda/course/2017-conor_mcbride_cs410/HC-Lec1.agda | haroldcarr/learn-haskell-coq-ml-etc | 36 | 5635 | <reponame>haroldcarr/learn-haskell-coq-ml-etc
module HC-Lec1 where
-- ==============================================================================
-- Lecture 1 : Programs and Proofs
-- https://www.youtube.com/watch?v=O4oczQry9Jw&t=1412s
------------------------------------------------------------------------------
... |
programs/oeis/008/A008860.asm | karttu/loda | 0 | 90853 | ; A008860: a(n) = Sum_{k=0..7} binomial(n,k).
; 1,2,4,8,16,32,64,128,255,502,968,1816,3302,5812,9908,16384,26333,41226,63004,94184,137980,198440,280600,390656,536155,726206,971712,1285624,1683218,2182396,2804012,3572224,4514873,5663890,7055732,8731848,10739176,13130672,15965872,19311488,23242039,27840518,33199096,39419... |
libsrc/stdio/ansi/g800/f_ansi_char_850.asm | rjcorrig/z88dk | 0 | 177535 | ;
; ANSI Video handling for the Sharp PC G-800 family
;
; <NAME> - 2017
; Original code by maruhiro, 2007
;
; set it up with:
; .__console_w = max columns
; .__console_h = max rows
;
; Display a char in location (__console_y),(__console_x)
; A=char to display
;
;
; $Id: f_ansi_char_850.asm $
;
SECTION code_clib
... |
src/PiCalculus/LinearTypeSystem/Algebras/Linear.agda | guilhermehas/typing-linear-pi | 26 | 16435 | {-# OPTIONS --safe --without-K #-}
open import Relation.Binary.PropositionalEquality using (_≡_; refl; cong; sym)
open import Relation.Nullary using (Dec; yes; no)
import Data.Bool as Bool
import Data.Empty as Empty
import Data.Unit as Unit
import Data.Sum as Sum
import Data.Product as Product
import Data.Nat as ℕ
im... |
emulator/src/ramen.asm | ashitani/TD4 | 0 | 94744 | <gh_stars>0
OUT 0b0111
LOOP1: ADD A,1
JNC LOOP1
LOOP2: ADD A,1
JNC LOOP2
OUT 0b0110
LOOP3: ADD A,1
JNC LOOP3
LOOP4: ADD A,1
JNC LOOP4
LOOP5: OUT 0b0000
OUT 0b0100
ADD A,1
JNC LOOP5
OUT 0b1000
HALT: JMP HALT
|
code/Forec/t40.asm | KongoHuster/assembly-exercise | 1 | 167304 | ;; last edit date: 2016/11/2
;; author: Forec
;; LICENSE
;; Copyright (c) 2015-2017, Forec <<EMAIL>>
;; Permission to use, copy, modify, and/or distribute this code for any
;; purpose with or without fee is hereby granted, provided that the above
;; copyright notice and this permission notice appear in all copies.
;;... |
src/CPCDiagRomCard.asm | SerErris/amstrad-diagnostics | 0 | 95716 | MODULE CPCDiagRomCard
@CPCDiagRomCardDisableLowerROM:
; Disable CPCDiagRomBoard lower ROM so system lower ROM is accessible
; CPCDiagRomBoard interprets bit7 of the dataword for the Upper ROM select byte.
; 0=enabled (default) 1=disabled. Any normal rom select operation will enable rom0 again.
;Deactivate Lower R... |
alloy4fun_models/trashltl/models/1/uCK5xTfbs8NDgXGpM.als | Kaixi26/org.alloytools.alloy | 0 | 1841 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred iduCK5xTfbs8NDgXGpM_prop2 {
no File
}
pred __repair { iduCK5xTfbs8NDgXGpM_prop2 }
check __repair { iduCK5xTfbs8NDgXGpM_prop2 <=> prop2o } |
oeis/081/A081805.asm | neoneye/loda-programs | 11 | 174689 | ; A081805: a(n) = n minus (largest prime power in n factorization); a(1) = 0.
; Submitted by <NAME>
; 0,0,0,0,0,3,0,0,0,5,0,8,0,7,10,0,0,9,0,15,14,11,0,16,0,13,0,21,0,25,0,0,22,17,28,27,0,19,26,32,0,35,0,33,36,23,0,32,0,25,34,39,0,27,44,48,38,29,0,55,0,31,54,0,52,55,0,51,46,63,0,63,0,37,50,57,66,65,0,64,0,41,0,77,68,43... |
software/obsolete/new-rom/ui_box.asm | Noah1989/micro-21 | 1 | 86318 | public ui_box_IX_fill_color_L_character_H
public ui_box_IX_calculate_absolute_position_DE
public ui_box_IX_toggle_visibility
include "ui.inc"
include "video_io.inc"
ui_box_IX_fill_color_L_character_H:
CALL ui_box_IX_calculate_absolute_position_DE
LD B, (IX+ui_box_width)
LD C, (IX+ui_box_height)
ui_box_IX_draw_loop... |
OpusEtAl/tools/src/makekeyn.asm | Computer-history-Museum/MS-Word-for-Windows-v1.1 | 2 | 24640 | <reponame>Computer-history-Museum/MS-Word-for-Windows-v1.1
.xlist
memC = 1
?PLM = 0
?WIN = 0
INCLUDE CMACROS.INC
.list
;=============================================================================
; CODE SEGMENT
;=============================================================================
sBegin CODE
assu... |
oeis/036/A036704.asm | neoneye/loda-programs | 11 | 95694 | <reponame>neoneye/loda-programs
; A036704: a(n)=number of Gaussian integers z=a+bi satisfying |z|<=n+1/2.
; Submitted by <NAME>
; 1,9,21,37,69,97,137,177,225,293,349,421,489,577,665,749,861,973,1085,1201,1313,1457,1597,1741,1885,2053,2217,2377,2561,2733,2933,3125,3313,3521,3745,3969,4197,4421,4669,4905,5169,5417,5681,5... |
evernote-backup.applescript | audy/evernote-backup | 9 | 4089 | <filename>evernote-backup.applescript
#!/usr/bin/env osascript
-- credit:
-- https://stackoverflow.com/questions/11939940/how-do-i-export-notes-from-evernote-using-applescript
-- https://superuser.com/questions/670893/get-path-of-parent-folder-of-script-location-applescript
-- this will delete and replace the notes ... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_12_1669.asm | ljhsiun2/medusa | 9 | 102986 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x11466, %rdi
nop
nop
nop
nop
nop
sub %rbx, %rbx
movb (%rdi), %r13b
sub %r8, %r8
lea addresses_A_ht+0x1dce6, %rcx
nop
nop
dec %r9
movb $0x61, (%rcx)
nop
nop
nop
xor $62201, %rdi
... |
examples/vector_cond_jump.asm | neoISAcpu/basicVM | 1 | 98883 | <reponame>neoISAcpu/basicVM
# this is a demonstration of a conditional vector jump
main:
const.i32.4 1, 4, 3, 4
const.i8 4
eq
const.a32.4 one, two, tree, four
jmp.con
quit
one:
const.i8 1
print
drop
quit
two:
const.i8 2
print
drop
qu... |
project.asm | HxnDev/Canon-War-Game-using-Assembly-Language | 6 | 13111 | <reponame>HxnDev/Canon-War-Game-using-Assembly-Language<gh_stars>1-10
;bulets zyada damage canon ka zyada krna damage player ka kam krna hy
.model small
.stack 100h
.386
.data
scor db "Score:$"
cman db "Robot$"
canon1 db "CannonA$"
canon2 db "CannonB$"
play db "PLAY$"
endd db "Game End$"
inst db "INSTRUCTI... |
oeis/185/A185963.asm | neoneye/loda-programs | 11 | 82056 | <reponame>neoneye/loda-programs
; A185963: Row sums of number triangle A185962.
; Submitted by <NAME>(s1.)
; 1,0,-2,-3,0,7,11,1,-24,-40,-7,82,145,37,-279,-524,-174,945,1888,767,-3185,-6783,-3244,10676,24301,13330,-35567,-86823,-53615,117672,309366,212101,-386224,-1099385,-827997,1255937,3896480,3197152,-4039199,-137733... |
testsuite/tests/NA17-007__EOL_at_EOF/asistant-funcenum.ads | AdaCore/style_checker | 2 | 4453 | <reponame>AdaCore/style_checker
------------------------------------------------------------------------------
-- --
-- ASIS Tester And iNTerpreter (ASIStant) COMPONENTS --
-- ... |
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_ScreenStr.asm | jpoikela/z88dk | 640 | 11509 | ; uint sp1_ScreenStr(uchar row, uchar col)
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _sp1_ScreenStr
EXTERN asm_sp1_ScreenStr
_sp1_ScreenStr:
ld hl,2
ld d,(hl)
inc hl
inc hl
ld e,(hl)
jp asm_sp1_ScreenStr
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_version.adb | best08618/asylo | 7 | 11337 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_version.adb
-- { dg-do run }
with GNAT.Compiler_Version;
procedure Test_Version is
package Vsn is new GNAT.Compiler_Version;
use Vsn;
X : constant String := Version;
begin
if X'Length = 78 then
-- 78 = Ver_Len_Max + Ver_Prefix'Length
-- ... |
src/Implicits/Resolution/Undecidable/Expressiveness.agda | metaborg/ts.agda | 4 | 8608 | open import Prelude hiding (id; Bool)
module Implicits.Resolution.Undecidable.Expressiveness where
open import Implicits.Syntax
open import Implicits.Substitutions
open import Extensions.ListFirst
open import Implicits.Resolution.Ambiguous.Resolution as A
open import Implicits.Resolution.Deterministic.Resolution as ... |
tools-src/gnu/gcc/gcc/ada/5fintman.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 25038 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
programs/oeis/229/A229439.asm | neoneye/loda | 22 | 100904 | ; A229439: Number of n X 2 0..2 arrays with horizontal differences mod 3 never 1, vertical differences mod 3 never -1, and rows and columns lexicographically nondecreasing.
; 4,7,13,25,47,84,142,228,350,517,739,1027,1393,1850,2412,3094,3912,4883,6025,7357,8899,10672,12698,15000,17602,20529,23807,27463,31525,36022,40984... |
programs/oeis/211/A211412.asm | karttu/loda | 1 | 243220 | <reponame>karttu/loda<filename>programs/oeis/211/A211412.asm
; A211412: a(n) = 4*n^4 + 1.
; 5,65,325,1025,2501,5185,9605,16385,26245,40001,58565,82945,114245,153665,202501,262145,334085,419905,521285,640001,777925,937025,1119365,1327105,1562501,1827905,2125765,2458625,2829125,3240001,3694085,4194305,4743685,5345345,600... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca.log_21829_406.asm | ljhsiun2/medusa | 9 | 170583 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xf16e, %rsi
lea addresses_WC_ht+0xcb6e, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
and %r12, %r12
mov $121, %rcx
rep movsl
nop
nop
nop
nop
add $33007, %r9
lea addresses_UC_ht+0x1242e, %r12... |
oeis/213/A213820.asm | neoneye/loda-programs | 11 | 20210 | ; A213820: Principal diagonal of the convolution array A213819.
; 2,18,60,140,270,462,728,1080,1530,2090,2772,3588,4550,5670,6960,8432,10098,11970,14060,16380,18942,21758,24840,28200,31850,35802,40068,44660,49590,54870,60512,66528,72930,79730,86940,94572,102638,111150,120120,129560,139482,149898,160820,172260,184230,19... |
oeis/334/A334670.asm | neoneye/loda-programs | 11 | 160599 | ; A334670: a(n) = (2*n+1)!! * (Sum_{k=1..n} 1/(2*k+1)).
; Submitted by <NAME>
; 0,1,8,71,744,9129,129072,2071215,37237680,741975345,16236211320,387182170935,9995788416600,277792140828825,8269430130712800,262542617405726175,8855805158351474400,316285840413064454625,11924219190760084593000,473245342972281190686375,197228... |
math_test.adb | kylelk/ada-examples | 1 | 15324 | with Ada.Text_IO, Ada.Integer_Text_IO;
use Ada;
procedure math_test is
num1 : Integer;
num2 : Integer;
sum : Integer;
begin
num1 := 3;
num2 := 5;
sum := num1 + num2;
Integer_Text_IO.put(sum);
end math_test;
|
MiniC/MiniC/MiniC.g4 | gordiig/Un_Compilers_Curs | 0 | 966 | grammar MiniC;
/*
* Parser Rules
*/
compilationUnit
: translationUnit? EOF
;
translationUnit
: externalDeclaration*
;
externalDeclaration
: declaration
| definition
;
declaration
: varDeclaration
| structDeclaration
;
definition
: functionDefinition
| varDefinition
... |
source/jni/u2/water/routines.asm | Falken42/SecondReality | 9 | 246045 | .MODEL large,PASCAL
.CODE
.386
; dx = Bground seg
; ax = pos seg
; si = pos ofs
; cx = font seg
; bx = font ofs
; Front scroll
Putrouts1 PROC FAR
PUBLIC Putrouts1
push ds
mov ... |
oeis/049/A049115.asm | neoneye/loda-programs | 11 | 27962 | ; A049115: a(n) is the number of iterations of the Euler phi function needed to reach a power of 2, when starting from n.
; 0,0,1,0,1,1,2,0,2,1,2,1,2,2,1,0,1,2,3,1,2,2,3,1,2,2,3,2,3,1,2,0,2,1,2,2,3,3,2,1,2,2,3,2,2,3,4,1,3,2,1,2,3,3,2,2,3,3,4,1,2,2,3,0,2,2,3,1,3,2,3,2,3,3,2,3,2,2,3,1,4,2,3,2,1,3,3,2,3,2,3,3,2,4,3,1,2,3,... |
tools/names.asm | mgr-inz-rafal/skakatory | 1 | 99473 | ; Pliterki translation table
; 'ł' - b(17)
; 'ę' - b(32)
; 'ó' - b(49)
; 'ś' - b(27)
; 'ż' - b(59)
; 'Ł' - b(28)
; 'Ż' - b(60)
opt h-
NAMES_MEN
dta d'Piotr ' ; 1
dta d'Krzysztof ' ; 2
dta d'Andrzej ' ; 3
dta d'Tomasz ' ; 4
dta d'Jan ' ; 5
dta d'Pawe'... |
alloy4fun_models/trashltl/models/3/JcJM9hYsvqu5GNwoD.als | Kaixi26/org.alloytools.alloy | 0 | 372 | open main
pred idJcJM9hYsvqu5GNwoD_prop4 {
some f: File | always( eventually f in Trash implies always f in Trash)
}
pred __repair { idJcJM9hYsvqu5GNwoD_prop4 }
check __repair { idJcJM9hYsvqu5GNwoD_prop4 <=> prop4o } |
oeis/020/A020658.asm | neoneye/loda-programs | 11 | 246811 | <reponame>neoneye/loda-programs
; A020658: Lexicographically earliest increasing sequence of positive numbers that contains no arithmetic progression of length 7.
; Submitted by <NAME>
; 1,2,3,4,5,6,8,9,10,11,12,13,15,16,17,18,19,20,22,23,24,25,26,27,29,30,31,32,33,34,36,37,38,39,40,41,50,51,52,53,54,55,57,58,59,60,61,... |
Library/Text/TextSelect/tslMain.asm | steakknife/pcgeos | 504 | 176344 | <filename>Library/Text/TextSelect/tslMain.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: tslMain.asm
AUTHOR: <NAME>, Oct 6, 1989
ROUTINES:
Name Description
---- -----------
T... |
target/cos_117/disasm/iop_overlay1/TDUMP.asm | jrrk2/cray-sim | 49 | 100572 | 0x0000 (0x000000) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0001 (0x000002) 0x292E- f:00024 d: 302 | OR[302] = A
0x0002 (0x000004) 0x1018- f:00010 d: 24 | A = 24 (0x0018)
0x0003 (0x000006) 0x2935- f:00024 d: 309 | OR[309] = A
... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca_notsx.log_2269_68.asm | ljhsiun2/medusa | 9 | 24318 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x71e6, %rsi
lea addresses_WC_ht+0x114a6, %rdi
nop
nop
xor $39632, %rax
mov $97, %rcx
rep movsl
dec %rbx
lea addresses_UC_ht+0x1a9d3, %r10
nop
nop
nop
and %rcx,... |
alloy4fun_models/trashltl/models/10/FwTyKteJWkt22PSJn.als | Kaixi26/org.alloytools.alloy | 0 | 4316 | open main
pred idFwTyKteJWkt22PSJn_prop11 {
not Protected & Protected' = File
}
pred __repair { idFwTyKteJWkt22PSJn_prop11 }
check __repair { idFwTyKteJWkt22PSJn_prop11 <=> prop11o } |
programs/oeis/218/A218828.asm | karttu/loda | 1 | 25899 | ; A218828: Reluctant sequence of reverse reluctant sequence A004736.
; 1,1,2,1,2,1,1,2,1,3,1,2,1,3,2,1,2,1,3,2,1,1,2,1,3,2,1,4,1,2,1,3,2,1,4,3,1,2,1,3,2,1,4,3,2,1,2,1,3,2,1,4,3,2,1,1,2,1,3,2,1,4,3,2,1,5,1,2,1,3,2,1,4,3,2,1,5,4,1,2,1,3,2,1,4,3,2,1,5,4,3,1,2,1,3,2,1,4,3,2,1,5,4,3,2,1,2,1,3,2,1,4,3,2,1,5,4,3,2,1,1,2,1,3,2... |
ffight/lcs/1p/80.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 165327 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data
copyright zengfr site:http://github.com/zengfr/romhack
004A3C jsr $1e20.w [1p+80]
009F86 move.b #$1, ($0,A4) [1p+80]
00A2C6 dbra D0, $a2c0
00A5C6 bne $a5de [1p+80]
copyright zengfr site:http://github.com/zengfr/romhack
|
tp/libs/asmlib/physseed64.asm | pg83/zm | 0 | 91732 | <reponame>pg83/zm<filename>tp/libs/asmlib/physseed64.asm
%include "defs.asm"
;************************* physseed64.asm **********************************
; Author: <NAME>
; Date created: 2010-08-03
; Last modified: 2013-09-13
; Source URL: www.agner.org/optimize
; Project: asmlib... |
user/zombie.asm | Vidhi1109/Modified-XV6 | 0 | 3703 |
user/_zombie: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
#include "kernel/stat.h"
#include "user/user.h"
int
main(void)
{
0: 1141 addi sp,sp,-16
2: e406 sd ra,8(sp)
4: e022 sd s0,0(sp)
6: 0800 ... |
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48.log_21829_721.asm | ljhsiun2/medusa | 9 | 94644 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xaa5a, %rsi
lea addresses_D_ht+0x14dba, %rdi
nop
nop
nop
nop
sub %r11, %r11
mov $57, %rcx
rep movsb
and %r9, %r9
lea addresses_D_ht+0x4e5a, %r14
clflush (%r14)
nop
sub %r11, %... |
programs/oeis/008/A008344.asm | neoneye/loda | 22 | 19072 | <reponame>neoneye/loda
; A008344: a(1)=0; thereafter a(n+1) = a(n) - n if a(n) >= n otherwise a(n+1) = a(n) + n.
; 0,1,3,0,4,9,3,10,2,11,1,12,0,13,27,12,28,11,29,10,30,9,31,8,32,7,33,6,34,5,35,4,36,3,37,2,38,1,39,0,40,81,39,82,38,83,37,84,36,85,35,86,34,87,33,88,32,89,31,90,30,91,29,92,28,93,27,94,26,95,25,96,24,97,23,... |
libsrc/_DEVELOPMENT/target/rc2014/driver/terminal/rc_01_input_siob/rc_01_input_siob_stdio_msg_flsh.asm | jpoikela/z88dk | 640 | 167223 | <gh_stars>100-1000
SECTION code_driver
SECTION code_driver_terminal_input
PUBLIC rc_01_input_siob_stdio_msg_flsh
EXTERN _siob_flush_Rx_di
EXTERN console_01_input_stdio_msg_flsh
rc_01_input_siob_stdio_msg_flsh:
; get rid of any pending chars in the siob buffer
call _siob_flush_Rx_di
jp console_01_input... |
Transynther/x86/_processed/AVXALIGN/_st_zr_4k_/i7-8650U_0xd2_notsx.log_21829_1288.asm | ljhsiun2/medusa | 9 | 164758 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x14ae6, %rsi
lea addresses_normal_ht+0xa486, %rdi
nop
nop
add $41053, %r9
mov $122, %rcx
rep movsl
nop
xor %r12, %r12
lea addresses_D_ht+0x1e396, %rsi
nop
nop
nop
cmp $29766, %r13
movups (%rsi), ... |
bootdict/x86/math.asm | ikysil/ikforth | 8 | 85926 | <gh_stars>1-10
;******************************************************************************
;
; math.asm
; IKForth
;
; Unlicense since 1999 by <NAME>
;
;******************************************************************************
; Integer math
;*****************************************************************... |
ManagedClient/Antlr/Pft1.g4 | amironov73/ManagedClient.4 | 3 | 5675 | //============================================================
// УПРОЩЕННАЯ ГРАММАТИКА ЯЗЫКА ФОРМАТИРОВАНИЯ ИРБИС
// грамматика для ANTLR 4.2
// Автор: <NAME>
// Версия: 0.0.18
//============================================================
grammar Pft;
// Стартовый символ
program
: statement* EOF
;
... |
alloy4fun_models/trashltl/models/8/tzE27AJcKM9oAzRsM.als | Kaixi26/org.alloytools.alloy | 0 | 5175 | <gh_stars>0
open main
pred idtzE27AJcKM9oAzRsM_prop9 {
all p : Protected | p not in Trash' and p.^link not in Trash'
}
pred __repair { idtzE27AJcKM9oAzRsM_prop9 }
check __repair { idtzE27AJcKM9oAzRsM_prop9 <=> prop9o } |
Ficha 6 - Tratamento de sequencias/5.asm | FEUP-MIEIC/MPCP | 0 | 21265 | include mpcp.inc
.data
msg BYTE "123456789", 0
output_error BYTE "The arguments are invalid!", 13,10,0
output BYTE "The string was shrinked with sucess! Result:", 13, 10, 0
.code
; proto
SHRINK_RIGTH PROTO C string:ptr byte, len:dword, n:dword
SHRINK_LEFT PROTO C string:ptr byte, len:dword, n:dword
TRIM... |
oeis/001/A001042.asm | neoneye/loda-programs | 11 | 7776 | <filename>oeis/001/A001042.asm
; A001042: a(n) = a(n-1)^2 - a(n-2)^2.
; Submitted by <NAME>
; 1,2,3,5,16,231,53105,2820087664,7952894429824835871,63248529811938901240357985099443351745,4000376523371723941902615329287219027543200136435757892789536976747706216384,1600301232874364098958665532014462958011944637653737218415... |
libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_iy/free_unlocked_fastcall.asm | meesokim/z88dk | 0 | 13734 | <filename>libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_iy/free_unlocked_fastcall.asm
; void free_unlocked_fastcall(void *p)
SECTION code_alloc_malloc
PUBLIC _free_unlocked_fastcall
_free_unlocked_fastcall:
INCLUDE "alloc/malloc/z80/asm_free_unlocked.asm"
|
programs/oeis/188/A188435.asm | karttu/loda | 0 | 9338 | ; A188435: Positions of 1 in A188433; complement of A188434.
; 1,3,4,6,7,8,9,11,12,14,15,16,17,19,20,21,22,24,25,27,28,29,30,32,33,35,36,37,38,40,41,42,43,45,46,48,49,50,51,53,54,55,56,58,59,61,62,63,64,66,67,69,70,71,72,74,75,76,77,79,80,82,83,84,85,87,88,90,91,92,93,95,96,97,98,100,101,103,104,105,106,108,109,110,111... |
Cubical/HITs/Truncation/Properties.agda | limemloh/cubical | 0 | 2116 | <reponame>limemloh/cubical
{-# OPTIONS --cubical --safe #-}
module Cubical.HITs.Truncation.Properties where
open import Cubical.HITs.Truncation.Base
open import Cubical.Data.Nat
open import Cubical.Data.NatMinusOne
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Founda... |
test/succeed/Issue561.agda | larrytheliquid/agda | 1 | 8844 |
module Issue561 where
open import Common.Prelude
open import Common.MAlonzo using ()
-- if I do not include this, I get compilation errors
-- MAlonzo/Code/Common/Prelude.hs:8:7:
-- Not in scope: type constructor or class `Common.FFI.Nat'
primitive
primIsDigit : Char → Bool
postulate
return : ∀ {A} → ... |
programs/oeis/024/A024082.asm | karttu/loda | 1 | 178573 | ; A024082: 7^n-n^7.
; 1,6,-79,-1844,-13983,-61318,-162287,0,3667649,35570638,272475249,1957839572,13805455393,96826261890,678117659345,4747390650568,33232662134145,232630103648534,1628412985690417,11398894291501404,79792265017612001
mov $1,7
pow $1,$0
pow $0,7
add $0,1
sub $1,$0
add $1,1
|
HoTT/Identity/Product.agda | michaelforney/hott | 0 | 2020 | {-# OPTIONS --without-K #-}
open import HoTT.Base
open import HoTT.Equivalence
module HoTT.Identity.Product where
open variables
private variable x y : A × B
_=×_ : A × B → A × B → 𝒰 _
x =× y = pr₁ x == pr₁ y × pr₂ x == pr₂ y
-- Theorem 2.6.2
=× : x == y ≃ x =× y
=× {x = _ , _} {_ , _} = let open Iso in iso→eqv λ ... |
libsrc/stdio/spc1000/generic_console_vpeek.asm | jpoikela/z88dk | 640 | 102751 |
; code_driver to ensure we don't page ourselves out
SECTION code_driver
PUBLIC generic_console_vpeek
EXTERN __spc1000_mode
EXTERN vpeek_MODE1
EXTERN vpeek_MODE2
EXTERN generic_console_calc_xypos
EXTERN __tms9918_console_vpeek
;Entry: c = x,
; b = y
; e = rawmode
;Exit: nc = suc... |
bb-runtimes/src/s-bbcpsp__x86_64.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 7279 | <filename>bb-runtimes/src/s-bbcpsp__x86_64.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
src/Parsers/XML/project_processor-parsers-xml_parsers-basic_parsers.adb | fintatarta/eugen | 0 | 724 | with XML_Utilities;
package body Project_Processor.Parsers.XML_Parsers.Basic_Parsers is
---------------
-- Expect_ID --
---------------
function Expect_ID (N : DOM.Core.Node;
Name : String := "label")
return EU_Projects.Dotted_Identifier
is
use XML_Ut... |
llvm-gcc-4.2-2.9/gcc/ada/errutil.ads | vidkidz/crossbridge | 1 | 24881 | <filename>llvm-gcc-4.2-2.9/gcc/ada/errutil.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
src/command_modules/azure-cli-monitor/azure/cli/command_modules/monitor/grammar/MetricAlertCondition.g4 | jfcoz/azure-cli | 0 | 2841 | <filename>src/command_modules/azure-cli-monitor/azure/cli/command_modules/monitor/grammar/MetricAlertCondition.g4
/* PARSER RULES */
grammar MetricAlertCondition ;
/* Main Rules */
expression : aggregation (namespace '.')* (QUOTE metric QUOTE WHITESPACE | metric) operator threshold (WHITESPACE dimensions)* ... |
Cubical/Algebra/CommRing/Instances/Pointwise.agda | thomas-lamiaux/cubical | 0 | 15536 | <reponame>thomas-lamiaux/cubical
{-# OPTIONS --safe #-}
module Cubical.Algebra.CommRing.Instances.Pointwise where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Algebra.CommRing.Base
private
variable
ℓ : Level
pointwiseRing : (X : Type ℓ) (R : CommRing ℓ) →... |
Cubical/HITs/Susp/LoopAdjunction.agda | FernandoLarrain/cubical | 1 | 2771 | <filename>Cubical/HITs/Susp/LoopAdjunction.agda
{- Adjunction between suspension and loop space (<NAME>, Oct. 2021)
Main results:
- Ω∙ : ℕ → Pointed ℓ → Pointed ℓ
- ΣΩAdjunction : ((X , x₀) : Pointed ℓ) (Y : Pointed ℓ') → (∙Susp X →∙ Y) ≃ ((X , x₀) →∙ Ω∙ 1 Y)
-}
{-# OPTIONS --safe #-}
module Cubical.HITs.Susp.LoopAdj... |
source/amf/uml/amf-internals-uml_operation_template_parameters.ads | svn2github/matreshka | 24 | 13681 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
Antlr/NumberRanges.g4 | fossabot/ManagedIrbis | 3 | 7318 | /* Интервалы чисел с префиксами.
*/
grammar NumberRanges;
program: item+ EOF;
item: range | one;
range: start=NUMBER MINUS stop=NUMBER;
one: NUMBER;
NUMBER: [0-9A-Za-zА-Яа-я/:_]+;
MINUS: '-';
DELIMITER: [ \t\r\n,;] -> skip;
|
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_fzx_tty_z88dk/zx_01_output_fzx_tty_z88dk_09_tab.asm | jpoikela/z88dk | 640 | 20097 |
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC zx_01_output_fzx_tty_z88dk_09_tab
EXTERN l_offset_ix_de, console_01_output_fzx_proc_linefeed
EXTERN console_01_output_fzx_proc_putchar_scroll
zx_01_output_fzx_tty_z88dk_09_tab:
; tab to next multiple of eight column
; should we be printing sp... |
msp430x2/mspgd-uart-peripheral.adb | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 28894 | with MSP430_SVD.USCI_A0_UART_MODE; use MSP430_SVD.USCI_A0_UART_MODE;
with MSP430_SVD.SPECIAL_FUNCTION; use MSP430_SVD.SPECIAL_FUNCTION;
package body MSPGD.UART.Peripheral is
procedure Init is
Baud_Rate_Div : constant UInt32 := UInt32 (Clock.Frequency) / Speed;
begin
USCI_A0_UART_MODE_Periph.UCA0CTL1... |
linux32/lesson21.asm | mashingan/notes-asmtutor | 1 | 92065 | format ELF executable 3
entry start
include 'procs.inc'
segment readable
msg db 'Seconds since 1 January 1970: ', 0h
segment readable executable
start:
mov eax, msg
call sprint
mov eax, 13 ; SYS_TIME (kernel opcode 13)
int 80h
call iprintLF
call quitProgram
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.