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 |
|---|---|---|---|---|
Logging/test/loggertest.adb | marcbejerano/ada-tools | 2 | 20021 | <filename>Logging/test/loggertest.adb
with Logging.Logger; use Logging.Logger;
with Logging.Level; use Logging.Level;
with Logging.Event; use Logging.Event;
with GNAT.Source_Info;
procedure LoggerTest is
myLogger : Logger_Ptr;
begin
Init_Logging("logger.properties");
myLog... |
Irvine/Examples/ch07/32 bit/ASCII_add.asm | alieonsido/ASM_TESTING | 0 | 102579 | ; ASCII Addition (ASCII_add.asm)
; This program performs ASCII arithmetic on digit strings having
; implied fixed decimal points.
INCLUDE Irvine32.inc
DECIMAL_OFFSET = 5 ; offset from right of string
.data
decimal_one BYTE "100123456789765" ; 1001234567.89765
decimal_two BYTE "9004020765... |
programs/oeis/165/A165367.asm | karttu/loda | 0 | 169368 | ; A165367: Trisection a(n) = A026741(3n + 2).
; 1,5,4,11,7,17,10,23,13,29,16,35,19,41,22,47,25,53,28,59,31,65,34,71,37,77,40,83,43,89,46,95,49,101,52,107,55,113,58,119,61,125,64,131,67,137,70,143,73,149,76,155,79,161,82,167,85,173,88,179,91,185,94,191,97,197
mov $1,$0
mul $1,3
add $1,2
mov $2,$0
gcd $2,2
div $1,$2
|
npc_pc.ads | Spohn/LegendOfZelba | 2 | 26670 | <filename>npc_pc.ads<gh_stars>1-10
package NPC_PC is
-------------------------------
-- Name: <NAME>
-- <NAME>
-- Hero and enemy stats package
-------------------------------
type HeroClass is private;
Type EnemyClass is private;
--Set hero x,y coordinates
procedure SetHeroCoord(... |
03-bootsector-memory/boot_sec_memory.asm | mukeshtiwari/LearningOS | 2 | 100771 | mov ah, 0x0e ;; two byte instruction b4 0e
;; This is wrong becuase we are accessing the memory address and printing it
mov al, '1' ;; assembled code b0 31 again two bytes
int 0x10 ;; cd 10 two byte
mov al, the_secret ;; two bytes again, but this one is bit tricky because
int 0x10 ;; cd 10
;; This one right b... |
programs/oeis/104/A104887.asm | neoneye/loda | 22 | 94081 | <filename>programs/oeis/104/A104887.asm
; A104887: Triangle T(n,k) = (n-k+1)th prime, read by rows.
; 2,3,2,5,3,2,7,5,3,2,11,7,5,3,2,13,11,7,5,3,2,17,13,11,7,5,3,2,19,17,13,11,7,5,3,2,23,19,17,13,11,7,5,3,2,29,23,19,17,13,11,7,5,3,2,31,29,23,19,17,13,11,7,5,3,2,37,31,29,23,19,17,13,11,7,5,3,2,41,37,31,29,23,19,17,13,11... |
case-studies/performance/verification/alloy/ppc/tests/podrwposwr001.als | uwplse/memsynth | 19 | 637 | <reponame>uwplse/memsynth<filename>case-studies/performance/verification/alloy/ppc/tests/podrwposwr001.als
module tests/podrwposwr001
open program
open model
/**
PPC podrwposwr001
"Fre SyncdWW Rfe DpdR PodRW PosWR Fre SyncdWW Rfe DpdR PodRW PosWR"
Cycle=Fre SyncdWW Rfe DpdR PodRW PosWR Fre SyncdWW Rfe DpdR PodRW PosW... |
alloy4fun_models/trashltl/models/1/LFTo7D6P48saKdk3C.als | Kaixi26/org.alloytools.alloy | 0 | 307 | <gh_stars>0
open main
pred idLFTo7D6P48saKdk3C_prop2 {
some File'
}
pred __repair { idLFTo7D6P48saKdk3C_prop2 }
check __repair { idLFTo7D6P48saKdk3C_prop2 <=> prop2o } |
models/tests/test56.als | transclosure/Amalgam | 4 | 4702 | <filename>models/tests/test56.als
module tests/test
sig A { f: A }
sig B { f: B }
sig C in A+B { g: f } // Should give an ambiguity error
|
release/src/router/gmp/source/mpn/alpha/divrem_2.asm | zhoutao0712/rtn11pb1 | 184 | 177360 | dnl Alpha mpn_divrem_2 -- Divide an mpn number by a normalized 2-limb number.
dnl Copyright 2007, 2008 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General Publi... |
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciy_acosh.asm | meesokim/z88dk | 0 | 163958 | <filename>libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciy_acosh.asm
; float acosh(float x)
SECTION code_fp_math48
PUBLIC cm48_sdcciy_acosh
EXTERN cm48_sdcciy_acosh_fastcall
cm48_sdcciy_acosh:
pop af
pop hl
pop de
push de
push hl
push af
jp cm48_sdcciy_acosh_fastcall
|
utils/matrix3x3.adb | Lucretia/old_nehe_ada95 | 0 | 16955 | ---------------------------------------------------------------------------------
-- Copyright 2004-2005 © <NAME>
--
-- This code is to be used for tutorial purposes only.
-- You may not redistribute this code in any form without my express permission.
-------------------------------------------------------------------... |
codigo/capitulo 42/pantalla.asm | Nabucodonosor-editorial/ensamblador-x86 | 2 | 178595 | <filename>codigo/capitulo 42/pantalla.asm<gh_stars>1-10
segment .data
texto db " ----------- texto ------------ "
lontexto equ $-texto
clr db 0x1b, "[33;40m", 0x1b,"[2J", 0x1b,"[5;20f"
; el 0x1b indica que los caracteres enviados a la pantalla no
; seran impresos sino ejecutados
; se establece el col... |
src/Coding.agda | nad/chi | 2 | 16972 | ------------------------------------------------------------------------
-- Encoders and decoders
------------------------------------------------------------------------
open import Atom
module Coding (atoms : χ-atoms) where
open import Equality.Propositional
open import Prelude hiding (const)
open import Tactic.By... |
dev/ansi/ioctl.asm | minblock/msdos | 0 | 5906 | PAGE ,132
TITLE ANSI Generic IOCTL Code
;******************************************************************************
; Change Log:
; Date Who # Description
; -------- --- --- ------------------------------------------------------
; 06/29/90 MKS C04 Bug#1150. Video 7 Fastwrite VGA has proble... |
Source/stackak.asm | AAKMakes/ASM-projects | 0 | 24556 | ;
; Comment
;
; === STACK SEGMENT ===
MyStack segment stack
DB 64 dup('12345678')
MyStack endS
; === DATA SEGMENT ===
MyData segment
; --- Declare your variables here ---
prompt1 DB "ENTER NUM>$"
MyData endS
MyCode segment
Assume CS:Mycode,DS:MyData
;Includes go here
include CONIO.inc
;End of includes
Main ... |
programs/oeis/245/A245624.asm | karttu/loda | 0 | 175689 | <gh_stars>0
; A245624: Sequence of distinct least positive numbers such that the average of the first n terms is a cube.
; 1,15,8,84,27,249,64,552,125,1035,216,1740,343,2709,512,3984,729,5607,1000,7620,1331,10065,1728,12984,2197,16419,2744,20412,3375,25005,4096,30240,4913,36159,5832,42804,6859,50217,8000,58440,9261,675... |
programs/oeis/118/A118616.asm | neoneye/loda | 22 | 241037 | <reponame>neoneye/loda
; A118616: Start with 1 and repeatedly reverse the digits and add 29 to get the next term.
; 1,30,32,52,54,74,76,96,98,118,840,77,106,630,65,85,87,107,730,66,95,88,117,740,76,96,98,118,840,77,106,630,65,85,87,107,730,66,95,88,117,740,76,96,98,118,840,77,106,630,65,85,87,107,730,66,95,88,117,740,7... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_54.asm | ljhsiun2/medusa | 9 | 6582 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x162b3, %rbx
cmp $44234, %rsi
mov (%rbx), %r10
nop
nop
add $26371, %rbx
lea addresses_WT_ht+0x1da01, %rsi
lea addresses_D_ht+0xc001, %rdi
sub %r13, ... |
alloy4fun_models/trashltl/models/5/8fvoMsEZupzDgRwqR.als | Kaixi26/org.alloytools.alloy | 0 | 1329 | <filename>alloy4fun_models/trashltl/models/5/8fvoMsEZupzDgRwqR.als
open main
pred id8fvoMsEZupzDgRwqR_prop6 {
all f:Trash | always f in Trash'
}
pred __repair { id8fvoMsEZupzDgRwqR_prop6 }
check __repair { id8fvoMsEZupzDgRwqR_prop6 <=> prop6o } |
aosvs/aosvs-file_management.adb | SMerrony/dgemua | 2 | 23713 | -- MIT License
-- Copyright (c) 2021 <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 Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, p... |
src/Tactic/By/Path.agda | nad/equality | 3 | 289 | ------------------------------------------------------------------------
-- Some tactics aimed at making equational reasoning proofs more
-- readable for path equality
------------------------------------------------------------------------
{-# OPTIONS --erased-cubical --safe #-}
module Tactic.By.Path where
import A... |
src/util-serialize-contexts.adb | Letractively/ada-util | 60 | 23753 | -----------------------------------------------------------------------
-- util-serialize-contexts -- Contexts for serialization framework
-- Copyright (C) 2010, 2011 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in c... |
tools-src/gnu/gcc/gcc/ada/a-strfix.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 3625 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
project/adl/arch/ARM/STM32/drivers/dsi/stm32-dsi.adb | corentingay/ada_epita | 2 | 23050 | <reponame>corentingay/ada_epita<filename>project/adl/arch/ARM/STM32/drivers/dsi/stm32-dsi.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore ... |
Resources/All Scripts/Bundled Scripts/Scripts/shell.scpt | bathtub/IRC.app | 2 | 3601 | <reponame>bathtub/IRC.app
-- Portions of this AppleScript may incorporate work from 3rd
-- parties. These portions of code are noted. All other work is
-- Copyright © 2010 — 2013 Codeux Software. See README
-- for full license information.
on irccmd(cmd, destinationChannel)
if destinationChannel is equal to "" th... |
_build/dispatcher/jmp_ippsHMAC_Pack_2af6597d.asm | zyktrcn/ippcp | 1 | 23704 | extern m7_ippsHMAC_Pack:function
extern n8_ippsHMAC_Pack:function
extern y8_ippsHMAC_Pack:function
extern e9_ippsHMAC_Pack:function
extern l9_ippsHMAC_Pack:function
extern n0_ippsHMAC_Pack:function
extern k0_ippsHMAC_Pack:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
segment .data
align 8
... |
src/API/protypo-api-engine_values-enumerated_records.adb | fintatarta/protypo | 0 | 21143 | <filename>src/API/protypo-api-engine_values-enumerated_records.adb
pragma Ada_2012;
with Ada.Characters.Handling;
with Ada.Strings.Fixed;
package body Protypo.Api.Engine_Values.Enumerated_Records is
-----------
-- To_Id --
-----------
function To_Id (X : Field_Name) return ID
is
use Ada.Character... |
Lab Work/5th-semester/assembly-language/book/CH-09/TIME.asm | akazad13/bsc-academic-work | 0 | 24198 | <filename>Lab Work/5th-semester/assembly-language/book/CH-09/TIME.asm<gh_stars>0
.MODEL SMALL
.STACK 100H
.DATA
ILLI_MSG DB 0AH,'ILLIGAL INPUT',0AH,'$'
OVER DB 0AH,'OVERFLOW!',0AH,'$'
MSG1 DB 0AH,'ENTER TIME IN SECOND',0AH,'$'
MSG2 DB 0AH,'OUTPUT: ','$'
.CODE
MAIN PROC
MOV AX,@DATA ;initializing data segment
MOV ... |
DEVONthink/References from Bookends.applescript | samvtran/AppleScripts | 0 | 1606 | <filename>DEVONthink/References from Bookends.applescript<gh_stars>0
#@osa-lang:AppleScript
(*
Import Bookends references as rtf documents. This script features a few different behaviors from the
built-in "References from Bookends..." script:
- Database and group path are customizable from this script
- The referen... |
source/prop_links.adb | jquorning/CELLE | 0 | 16037 |
with Configs;
package body Prop_Links is
procedure Append (Prop_List : in out List;
Config : in Configs.Config_Access)
is
begin
Propagation_Lists.Append (Prop_List, Config_Access (Config));
end Append;
procedure Delete (Prop_List : in out List)
is
begin
... |
test/interaction/Issue3650.agda | cruhland/agda | 1,989 | 3518 | <reponame>cruhland/agda
data Tm : Set where
tzero : Tm
tsucc : Tm → Tm
tdiff : Tm → Tm → Tm
variable
m n n' : Tm
data NotZero : Tm → Set where
nzsucc : NotZero (tsucc n)
nzdiff : NotZero (tdiff m n)
data Equal : Tm → Tm → Set where
esucc : NotZero n → Equal (tsucc (tdiff tzero n)) n
ediff : Equal n ... |
src/read_preflop.adb | Hamster-Furtif/JeremyPlusPlus | 0 | 24294 | with utils, ada.Text_IO; use utils, Ada.Text_IO;
package body read_preflop is
Function Get_Winning_Chance (card1 : T_card; card2 : T_card) return Float is
x,y : Integer;
Begin
if get_colour(card1) = get_colour(card2) then
y := integer'Min(get_rank(card1),get_rank(card2));
x := integ... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_21829_1747.asm | ljhsiun2/medusa | 9 | 91797 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x178c5, %rsi
lea addresses_UC_ht+0x3145, %rdi
clflush (%rdi)
nop
add $23341, %r12
mov $97, %rcx
rep movsq
nop
nop
nop
nop
nop
xor %rdi, %rdi
lea addresses_UC_ht+0xd181, ... |
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48_notsx.log_21829_1949.asm | ljhsiun2/medusa | 9 | 247614 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1e050, %rsi
lea addresses_D_ht+0x1b850, %rdi
nop
nop
nop
nop
and $35431, %rbp
mov $49, %rcx
rep movsl
nop
nop
xor %rcx, %rcx
lea addresses_A_ht+0x89d0, %rsi
lea addresses_UC_... |
src/kernel/asm/process/thread.asm | Krzem5/Assembly-64Bit_Uefi_Kernel | 4 | 13472 | <reponame>Krzem5/Assembly-64Bit_Uefi_Kernel
bits 64
global asm_clear_thread_data
asm_clear_thread_data:
push rdi
xor rax, rax
mov rdi, rcx
mov rcx, (__C_THREAD_DATA_STRUCT_SIZE__ / __C_SIZEOF_UINT64_T__)
rep stosq
pop rdi
ret
|
test/interaction/Imports/Issue5357-C.agda | cagix/agda | 1,989 | 15861 | module Imports.Issue5357-C where
import Imports.Issue5357-D
|
kmath-ast/reference/ArithmeticsEvaluator.g4 | therealansh/kmath | 34 | 6813 | grammar ArithmeticsEvaluator;
fragment DIGIT: '0'..'9';
fragment LETTER: 'a'..'z';
fragment CAPITAL_LETTER: 'A'..'Z';
fragment UNDERSCORE: '_';
ID: (LETTER | UNDERSCORE | CAPITAL_LETTER) (LETTER | UNDERSCORE | DIGIT | CAPITAL_LETTER)*;
NUM: (DIGIT | '.')+ ([eE] [-+]? DIGIT+)?;
MUL: '*';
DIV: '/';
PLUS: '+';
MINUS: '-... |
src/information.ads | kraileth/ravenadm | 18 | 2286 | <filename>src/information.ads
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
private with Ada.Characters.Latin_1;
private with Definitions;
package Information is
procedure display_usage;
procedure display_unknown_command (first_word : String);
proce... |
alloy4fun_models/trashltl/models/5/PHCiLgNmrcXBdQukx.als | Kaixi26/org.alloytools.alloy | 0 | 4588 | <filename>alloy4fun_models/trashltl/models/5/PHCiLgNmrcXBdQukx.als
open main
pred idPHCiLgNmrcXBdQukx_prop6 {
once some f : Trash | once f in Trash implies always f in Trash
}
pred __repair { idPHCiLgNmrcXBdQukx_prop6 }
check __repair { idPHCiLgNmrcXBdQukx_prop6 <=> prop6o } |
graph.als | experimental-dustbin/alloy-models | 9 | 3488 | // Basic acyclic graphs with node and edge attributes. My goal is to leverage this
// for creating an encryption key hierarchy and prove some properties for these
// hierarchies so that I can point to the model when people start arguing about
// proper ways to manage keys and what can be safely done with keys.
open ut... |
CHAR_POS.asm | CodexLink/8086_ASM_DOSBOX_Examples | 0 | 162073 | ; Character Positioning via Manipulation — CHAR_POS.asm
; Copyright (c) 2021 <NAME>
; This code is licensed under MIT license. (see LICENSE for details)
.MODEL TINY
.DATA
STRING DB "Stressed!", 0DH, 0AH, "$" ; Concatenate New Line and Carriage Return.
.CODE
MAIN PROC
MOV AX, @DATA ; Move .data to AX Regi... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/make.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 29496 | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/make.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
resources/patches/movegelevs.asm | Yoshimaster96/Superstar-Editor-YI | 2 | 26358 | <reponame>Yoshimaster96/Superstar-Editor-YI
;Allow sprite data to be located in extended region
org $01B09A
jmp.w SetSpriteDataPointer
padbyte $FF
pad $01B0AD
;Allow level names to be located in extended region
org $00C789
jml.l SetLevelNameDataPointer
padbyte $FF
pad $00C795
;Allow level messages to be located in ex... |
source/amf/uml/amf-uml-activity_final_nodes-collections.ads | svn2github/matreshka | 24 | 7116 | <filename>source/amf/uml/amf-uml-activity_final_nodes-collections.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
Irvine/Examples/ch03/64 bit/AddTwoSum_64.asm | alieonsido/ASM_TESTING | 0 | 21466 | <filename>Irvine/Examples/ch03/64 bit/AddTwoSum_64.asm
; AddTwoSum_64.asm - Chapter 3 example.
ExitProcess proto
.data
sum qword 0
.code
main proc
mov rax,5
add rax,6
mov sum,rax
mov ecx,0
call ExitProcess
main endp
end
|
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-stchop.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 14955 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
ga_common/mouse_manager.ads | rogermc2/GA_Ada | 3 | 11671 | <reponame>rogermc2/GA_Ada<filename>ga_common/mouse_manager.ads<gh_stars>1-10
package Mouse_Manager is
procedure Mouse_Button (Button : Integer; State : Integer; X, Y : Integer);
end Mouse_Manager;
|
tools/gap8-openocd/src/jtag/drivers/OpenULINK/src/USBJmpTb.a51 | knmcguire/gap_sdk | 2 | 28291 | <reponame>knmcguire/gap_sdk
;--------------------------------------------------------------------------;
; Copyright (C) 2011-2013 by <NAME> ;
; <<EMAIL>> ;
; ;
; This program is free ... |
src/neuralnet.ads | sebsgit/textproc | 0 | 1858 | <filename>src/neuralnet.ads<gh_stars>0
with Ada.Containers.Vectors; use Ada.Containers;
with MathUtils;
package NeuralNet is
pragma Assertion_Policy (Pre => Check,
Post => Check,
Type_Invariant => Check);
type Activator is (RELU, LOGISTIC);
type LossFun... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_730.asm | ljhsiun2/medusa | 9 | 11674 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1923b, %r10
nop
nop
nop
nop
nop
xor $64443, %r12
mov $0x6162636465666768, %rsi
movq %rsi, %xmm3
movups %xmm3, (%r10)
dec %rcx
lea addresses_D_ht+0x1... |
WangShuang_book/p277.asm | SmirnovKol/Learning_x86_assembly_language | 1 | 178074 | assume cs:code
stack segment
db 20 dup (0)
stack ends
code segment
start: mov ax, stack
mov ss, ax
mov sp, 20
mov ax, 0b800h
mov es, ax
mov ah, 'a'
mov di, 160*12+40*2
s: mov es:[di], ah
mov byte ptr es:[di+1], 10011010b
call delay
inc ah
cmp ah, 'z'
jna s
mov ax, 4c00h
int 21h
delay: ;run... |
programs/oeis/158/A158405.asm | neoneye/loda | 22 | 101659 | <filename>programs/oeis/158/A158405.asm<gh_stars>10-100
; A158405: Triangle T(n,m) = 1+2*m of odd numbers read along rows, 0<=m<n.
; 1,1,3,1,3,5,1,3,5,7,1,3,5,7,9,1,3,5,7,9,11,1,3,5,7,9,11,13,1,3,5,7,9,11,13,15,1,3,5,7,9,11,13,15,17,1,3,5,7,9,11,13,15,17,19,1,3,5,7,9,11,13,15,17,19,21,1,3,5,7,9,11,13,15,17,19,21,23,1,3... |
lua-userdata.ads | jhumphry/aLua | 0 | 12378 | <filename>lua-userdata.ads
-- Lua.Userdata
-- Adding Ada objects of a specified tagged type to the Lua environment
-- Copyright (c) 2015, <NAME> - see LICENSE for terms
generic
type T is abstract tagged limited private;
package Lua.Userdata is
type Access_Userdata is not null access all T;
type Access_Userd... |
examples/shared/hello_world_tasking/src/driver.adb | rocher/Ada_Drivers_Library | 192 | 16939 | <filename>examples/shared/hello_world_tasking/src/driver.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- ... |
Rings/Primes/Definition.agda | Smaug123/agdaproofs | 4 | 16243 | <reponame>Smaug123/agdaproofs
{-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Setoids.Setoids
open import Rings.Definition
open import Rings.IntegralDomains.Definition
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
module Rings.Primes.Definition {a b : _} {A : S... |
tools/uaflex/automatons-output.adb | faelys/gela-asis | 4 | 26203 | ------------------------------------------------------------------------------
-- <NAME> A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
src/graphics.asm | indigodarkwolf/x16-spiral | 1 | 9958 | <reponame>indigodarkwolf/x16-spiral<gh_stars>1-10
.ifndef GRAPHICS_ASM
GRAPHICS_ASM=1
.include "debug.inc"
.include "vera.inc"
GRAPHICS_TABLES_BANK = $02
Gfx_palette_decrement_table = $A000
Gfx_palette = $A100
Gfx_palette_gb = $A100
Gfx_palette_gb_0 = $A100
Gfx_palette_gb_1 ... |
src/natools-web-render_default.adb | faelys/natools-web | 1 | 10295 |
-- Copyright (c) 2015, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose with or without fee is hereby granted, provided that the above --
-- copyrig... |
src/dbase.ads | zenharris/ada-bbs | 2 | 10282 | with gnatcoll.SQL.Postgres; use gnatcoll.SQL.Postgres;
with gnatcoll.SQL.Exec; use gnatcoll.SQL.Exec;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package Dbase is
-- pragma Pure (Message);
Version : constant String := "0.0.1";
DB : Database_Connection;
DB_Background : Databas... |
HyperFalse.agda | oisdk/agda-playground | 6 | 13782 | {-# OPTIONS --cubical #-}
module HyperFalse where
open import Prelude hiding (false)
{-# NO_POSITIVITY_CHECK #-}
record _↬_ (A : Type a) (B : Type b) : Type (a ℓ⊔ b) where
inductive; constructor hyp
field invoke : (B ↬ A) → B
open _↬_
yes? : ⊥ ↬ ⊥
yes? .invoke h = h .invoke h
no! : (⊥ ↬ ⊥) → ⊥
no! h = h .invo... |
src/backends/cupcake-backends-cairo.ads | skordal/cupcake | 2 | 20000 | <reponame>skordal/cupcake
-- The Cupcake GUI Toolkit
-- (c) <NAME> 2012 <<EMAIL>>
-- Report bugs and issues on <http://github.com/skordal/cupcake/issues>
-- vim:ts=3:sw=3:et:si:sta
with Cupcake.Colors;
with Cupcake.Primitives;
package Cupcake.Backends.Cairo is
-- Cairo backend type:
type Cairo_Backend is ... |
2005-spring/mp3/mp3.asm | ece291/machine-problems | 3 | 16773 | ; MP3 - Your Name - Today's Date
;
; Simple snake game
; Written by <NAME>
; Forward all questions to webboard
;
; This mp has the following objectives:
; 1) Understand how queues and similar data structures are done in assembly
; 2) Understand how to load/ unload interrupts and service them
; 3) Understand how to load... |
libsrc/_DEVELOPMENT/adt/b_array/c/sdcc_iy/b_array_size_fastcall.asm | teknoplop/z88dk | 8 | 85021 | <gh_stars>1-10
; size_t b_array_size_fastcall(b_array_t *a)
SECTION code_clib
SECTION code_adt_b_array
PUBLIC _b_array_size
EXTERN asm_b_array_size
defc _b_array_size_fastcall = asm_b_array_size
|
mc-sema/validator/x86/tests/FCMOVU.asm | randolphwong/mcsema | 2 | 245124 | <gh_stars>1-10
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
FLDPI
FLD1
;SET PF
MOV EAX, 0x3
CMP EAX, 0
;TEST_BEGIN_RECORDING
fcmovu st0, st1
;TEST_END_RECORDING
|
Driver/Net/Comm/slip.asm | steakknife/pcgeos | 504 | 173729 | <filename>Driver/Net/Comm/slip.asm<gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Communication Driver
FILE: slip.asm
AUTHOR: <NAME> 4/92
ROUTINES:
Name Description
----... |
data/pokemon/base_stats/sinnoh/probopass.asm | Dev727/ancientplatinum | 0 | 29686 | <reponame>Dev727/ancientplatinum
db 0 ; 476 DEX NO
db 60, 55, 145, 40, 75, 150
; hp atk def spd sat sdf
db ROCK, STEEL ; type
db 60 ; catch rate
db 198 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "... |
programs/oeis/143/A143299.asm | karttu/loda | 1 | 167131 | <gh_stars>1-10
; A143299: Number of terms in the Zeckendorf representation of every number in row n of the Wythoff array.
; 1,2,2,2,3,2,3,3,2,3,3,3,4,2,3,3,3,4,3,4,4,2,3,3,3,4,3,4,4,3,4,4,4,5,2,3,3,3,4,3,4,4,3,4,4,4,5,3,4,4,4,5,4,5,5,2,3,3,3,4,3,4,4,3,4,4,4,5,3,4,4,4,5,4,5,5,3,4,4,4,5,4,5,5,4,5,5,5,6,2,3,3,3,4,3,4,4,3,... |
programs/oeis/305/A305267.asm | neoneye/loda | 22 | 164838 | ; A305267: a(n) = 68*2^n + 358.
; 426,494,630,902,1446,2534,4710,9062,17766,35174,69990,139622,278886,557414,1114470,2228582,4456806,8913254,17826150,35651942,71303526,142606694,285213030,570425702,1140851046,2281701734,4563403110,9126805862,18253611366,36507222374,73014444390,146028888422
mov $1,2
pow $1,$0
sub $1,1
... |
archive/agda-1/UnifyFin.agda | m0davis/oscar | 0 | 16570 | <reponame>m0davis/oscar
module UnifyFin where
open import Data.Fin using (Fin; suc; zero)
open import Data.Nat using (ℕ; suc; zero)
open import Relation.Binary.PropositionalEquality using (_≡_; refl; cong₂; cong; sym; trans)
open import Function using (_∘_)
open import Relation.Nullary using (¬_; Dec; yes; no)
open i... |
Test/show_all.adb | jrcarter/Ada_GUI | 19 | 25176 | <reponame>jrcarter/Ada_GUI
-- A program to show all of the Ada_GUI widgets
-- An Ada_GUI demo program
--
-- Copyright (C) 2021 by PragmAda Software Ebgineering
-- Released under the terms of the BSD 3-Clause license; see https://opensource.org/licenses
--
with Ada.Characters.Latin_1;
with Ada.Strings.Unbounded;
with Ad... |
test/Succeed/Issue331.agda | cruhland/agda | 1,989 | 12536 | <reponame>cruhland/agda
-- 2010-10-15
module Issue331 where
record ⊤ : Set where
constructor tt
data Wrap (I : Set) : Set where
wrap : I → Wrap I
data B (I : Set) : Wrap I → Set₁ where
b₁ : ∀ i → B I (wrap i)
b₂ : {w : Wrap I} → B I w → B I w
b₃ : (X : Set){w : Wrap I}(f : X → B I w) → B I w
ok : B ⊤ (wr... |
src/fltk-widgets-valuators-dials-fill.adb | micahwelf/FLTK-Ada | 1 | 21577 |
with
Interfaces.C.Strings,
System;
use type
System.Address;
package body FLTK.Widgets.Valuators.Dials.Fill is
procedure fill_dial_set_draw_hook
(W, D : in System.Address);
pragma Import (C, fill_dial_set_draw_hook, "fill_dial_set_draw_hook");
pragma Inline (fill_dial_set_draw... |
memsim-master/src/memory.adb | strenkml/EE368 | 0 | 6287 | <filename>memsim-master/src/memory.adb
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Characters.Latin_1;
with Ada.Unchecked_Deallocation;
with Device; use Device;
with Memory.Container; use Memory.Container;
with Memory.Split; use Memory.Split;
with Memory.Transform; use Memory.Transform;
package bod... |
cmstack/test/matlab/Cymbol.g4 | he-actlab/cdstack | 0 | 4012 | <gh_stars>0
/** Simple statically-typed programming language with functions and variables
* taken from "Language Implementation Patterns" book.
*/
grammar Cymbol;
file: (functionDecl | varDecl)+ ;
varDecl
: type ID ('=' expr)? ';'
;
type: 'float' | 'int' | 'void' ; // user-defined types
functionDecl... |
programs/oeis/293/A293552.asm | karttu/loda | 0 | 19004 | <reponame>karttu/loda<gh_stars>0
; A293552: a(n) is the least integer k such that k/Fibonacci(n) > 1/4.
; 0,1,1,1,1,2,2,4,6,9,14,23,36,59,95,153,247,400,646,1046,1692,2737,4428,7165,11592,18757,30349,49105,79453,128558,208010,336568,544578,881145,1425722,2306867,3732588,6039455,9772043,15811497,25583539,41395036,669785... |
Task/Permutation-test/Ada/permutation-test-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 11831 | <filename>Task/Permutation-test/Ada/permutation-test-3.ada
package body Iterate_Subsets is
function First return Subset is
S: Subset;
begin
for I in S'Range loop
S(I) := I;
end loop;
return S;
end First;
procedure Next(S: in out Subset) is
I: Natural := S'Last;
be... |
libsrc/graphics/g800/pointxy.asm | jpoikela/z88dk | 640 | 172203 | <reponame>jpoikela/z88dk
SECTION code_clib
PUBLIC pointxy
EXTERN sety
EXTERN setx
EXTERN getpat
pointxy:
; in: hl=x,y
; out: fZ
push bc
call sety
call getpat
call setx
in a,(0x41) ;dummy read
in a,(0x41) ;read data
and b
pop bc
... |
programs/oeis/323/A323220.asm | jmorken/loda | 1 | 100550 | ; A323220: a(n) = n*(n + 5)*(n + 7)*(n + 10)/24 + 1.
; 1,23,64,131,232,376,573,834,1171,1597,2126,2773,3554,4486,5587,6876,8373,10099,12076,14327,16876,19748,22969,26566,30567,35001,39898,45289,51206,57682,64751,72448,80809,89871,99672,110251,121648,133904,147061,161162,176251
mov $15,$0
mov $17,$0
add $17,1
lpb $17
... |
programs/dependent-1.asm | Michael-JB/superscalar-processor | 0 | 100899 | start: addi r0 r9 1
addi r1 r0 1
addi r2 r1 1
addi r3 r2 1
addi r4 r3 1
addi r5 r4 1
addi r6 r5 1
addi r7 r6 1
addi r8 r7 1
addi r9 r8 1
addi r0 r9 1
addi r1 r0 1
addi r2 r1 1
addi r3 r2 1
addi r4 r3 1
addi r5 r4 1
... |
Modules/Module3/4_Decisions/decision3.asm | hackettccp/CSCI213 | 0 | 168131 | <reponame>hackettccp/CSCI213
#Demonstrates a decision structure
#Run and look at the $t2, $t3 and $t4 registers
.text
li $t0, 9 #Loads 9 into $t0
li $t1, 9 #Loads 9 into $t1
bgt $t0, $t1, path1
blt $t0, $t1, path2
addi $t4, $t4, 1 #Adds 1 to $t4
j done
path1:
addi $t2, $t2, 1 #Adds 1 to $t2
j don... |
programs/oeis/053/A053837.asm | jmorken/loda | 1 | 6881 | ; A053837: Sum of digits of n modulo 10.
; 0,1,2,3,4,5,6,7,8,9,1,2,3,4,5,6,7,8,9,0,2,3,4,5,6,7,8,9,0,1,3,4,5,6,7,8,9,0,1,2,4,5,6,7,8,9,0,1,2,3,5,6,7,8,9,0,1,2,3,4,6,7,8,9,0,1,2,3,4,5,7,8,9,0,1,2,3,4,5,6,8,9,0,1,2,3,4,5,6,7,9,0,1,2,3,4,5,6,7,8,1,2,3,4,5
lpb $0
add $1,$0
div $0,10
mod $1,10
lpe
|
examples/performance/performance_test_scpu.asm | tralf-strues/potter-tongue-x86 | 4 | 101045 | call :love
hlt
; ==================================================
; love
;
; params:
; vars: n, i
; ==================================================
love:
push 0
pop [rax+2]
push 0
pop [rax+3]
WHILE_0:
push [rax+3]
push 1e+06
jbe :COMPARISON_0
push 0
jmp :COMPARISON_END_0
COMPARISON_0:
push 1
COMPARISON_END_0... |
libsrc/_DEVELOPMENT/adt/p_forward_list/c/sdcc_iy/p_forward_list_pop_front_fastcall.asm | meesokim/z88dk | 0 | 18374 | <gh_stars>0
; void *p_forward_list_pop_front_fastcall(p_forward_list_t *list)
SECTION code_adt_p_forward_list
PUBLIC _p_forward_list_pop_front_fastcall
defc _p_forward_list_pop_front_fastcall = asm_p_forward_list_pop_front
INCLUDE "adt/p_forward_list/z80/asm_p_forward_list_pop_front.asm"
|
alloy4fun_models/trashltl/models/11/rYFNpRxBrcHoBXf5u.als | Kaixi26/org.alloytools.alloy | 0 | 4622 | <gh_stars>0
open main
pred idrYFNpRxBrcHoBXf5u_prop12 {
some f:File | eventually f in Trash implies eventually always f in Trash
}
pred __repair { idrYFNpRxBrcHoBXf5u_prop12 }
check __repair { idrYFNpRxBrcHoBXf5u_prop12 <=> prop12o } |
source/sets.ads | jquorning/CELLE | 0 | 5503 | <gh_stars>0
--
--
--
generic
type Index_Type is (<>);
package Sets is
type Set_Type is private;
Null_Set : constant Set_Type;
procedure Set_Range (First : in Index_Type;
Last : in Index_Type);
-- All sets will be of size N
-- Set the set size
function Set_New return S... |
dcf/src/dcf-zip-compress-deflate.ads | onox/dcf-ada | 5 | 2208 | -- SPDX-License-Identifier: MIT
--
-- Copyright (c) 2011 - 2018 <NAME>
-- SWITZERLAND
--
-- 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 limita... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca.log_21829_58.asm | ljhsiun2/medusa | 9 | 174072 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x31f2, %rdi
nop
dec %rax
vmovups (%rdi), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $0, %xmm0, %rbx
nop
nop
nop
and %rdi, %rdi
lea addresses_WT_ht+0xf921, %rsi
... |
hello.adb | bangyen/hello | 0 | 16615 | <gh_stars>0
with Ada.Text_IO;use Ada.Text_IO
procedure Hello is
begin
Put_Line("hello");
end Hello;
|
3-mid/opengl/source/lean/renderer/opengl-culler-frustum.ads | charlie5/lace | 20 | 29394 | <reponame>charlie5/lace<gh_stars>10-100
with
ada.unchecked_Conversion;
package openGL.Culler.frustum
--
-- Provides a frustrum culler.
--
is
type Item is new Culler.Item with private;
type View is access all Item'Class;
---------
--- Forge
--
procedure define (Self : in out Item);
------... |
programs/oeis/001/A001971.asm | karttu/loda | 1 | 26595 | ; A001971: Nearest integer to n^2/8.
; 0,0,1,1,2,3,5,6,8,10,13,15,18,21,25,28,32,36,41,45,50,55,61,66,72,78,85,91,98,105,113,120,128,136,145,153,162,171,181,190,200,210,221,231,242,253,265,276,288,300,313,325,338,351,365,378,392,406,421,435,450,465,481,496,512,528,545,561,578,595,613,630,648,666,685,703,722,741,761,780... |
oeis/098/A098329.asm | neoneye/loda-programs | 11 | 172072 | ; A098329: Expansion of 1/(1-2x-31x^2)^(1/2).
; Submitted by <NAME>
; 1,1,17,49,481,2081,16241,85457,600769,3489601,23391697,143000177,938797729,5897385313,38397492017,244866166289,1590355308929,10231490804353,66456634775441,429898281869489,2795449543782241,18150017431150241,118194927388259057,769438418283309649,501819... |
45/runtime/crt/chkstk.asm | minblock/msdos | 0 | 11594 | <reponame>minblock/msdos
page ,132
title chkstk - C stack checking routine
;***
;chkstk.asm - C stack checking routine
;
; Copyright (c) 1985-1988 Microsoft Corporation, All Rights Reserved
;
;Purpose:
; Provides support for automatic stack checking in C procedures
; when stack checking is enabled.
;
;***************... |
oeis/145/A145593.asm | neoneye/loda-programs | 11 | 3362 | <filename>oeis/145/A145593.asm<gh_stars>10-100
; A145593: Inverse binomial transform of A144472.
; Submitted by <NAME>
; -1,3,4,-7,24,-47,104,-207,424,-847,1704,-3407,6824,-13647,27304,-54607,109224,-218447,436904,-873807,1747624,-3495247,6990504,-13981007,27962024,-55924047,111848104,-223696207,447392424,-894784847
m... |
Antlr/Pft.g4 | fossabot/ManagedIrbis | 3 | 3173 | <filename>Antlr/Pft.g4
//============================================================
// УПРОЩЕННАЯ ГРАММАТИКА ЯЗЫКА ФОРМАТИРОВАНИЯ ИРБИС
// грамматика для ANTLR 4.2
// Автор: <NAME>
// Версия: 0.2.26
//============================================================
grammar Pft;
// Стартовый символ
program : p... |
src/test/resources/data/potests/test62.asm | cpcitor/mdlz80optimizer | 36 | 6127 | ; Test: some SDCC case
ld a,(var1)
ld (var2),a
ld a,(var1+1)
ld iy,var2
ld (iy+1),a
sra (iy+1)
rr (iy)
sra (iy+1)
rr (iy)
sra (iy+1)
rr (iy)
loop:
jr loop
var1: dw 0
var2: dw 0 |
oeis/093/A093083.asm | neoneye/loda-programs | 11 | 2980 | ; A093083: Partial sums of digits of decimal expansion of golden ratio phi.
; Submitted by <NAME>
; 1,7,8,16,16,19,22,31,39,47,54,58,67,75,84,88,96,100,108,110,110,114,119,127,133,141,144,148,151,157,162,168,171,179,180,181,188,195,197,197,200,200,209,210,217,226,234,234,239,246,252,254,262,268,270,271
mov $5,$0
add $... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_375.asm | ljhsiun2/medusa | 9 | 178016 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %r9
push %rdx
push %rsi
lea addresses_WT_ht+0x16e6b, %r11
nop
nop
nop
xor %r12, %r12
movw $0x6162, (%r11)
nop
nop
nop
nop
cmp %rsi, %rsi
lea addresses_UC_ht+0x1ea9, %r9
nop
nop
sub $26783, %r10
mov (%r9),... |
alloy4fun_models/trashltl/models/11/ptZgT2jt4qfDSoWzk.als | Kaixi26/org.alloytools.alloy | 0 | 1091 | <gh_stars>0
open main
pred idptZgT2jt4qfDSoWzk_prop12 {
one f : File |always( eventually f in Trash)
}
pred __repair { idptZgT2jt4qfDSoWzk_prop12 }
check __repair { idptZgT2jt4qfDSoWzk_prop12 <=> prop12o } |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_1031.asm | ljhsiun2/medusa | 9 | 246290 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xd63d, %rsi
lea addresses_WC_ht+0x11a4c, %rdi
clflush (%rdi)
nop
nop
xor %r9, %r9
mov $125, %rcx
rep movsl
cmp %rdi, %rdi
lea addresses_normal_ht+0x1b772, %r13
nop
nop
nop
inc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.