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 |
|---|---|---|---|---|
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/asin.asm | gb-archive/really-old-stuff | 10 | 176042 | #include once <stackf.asm>
ASIN: ; Computes ASIN using ROM FP-CALC
call __FPSTACK_PUSH
rst 28h ; ROM CALC
defb 22h ; ASIN
defb 38h ; END CALC
jp __FPSTACK_POP
|
src/002/separated.adb | xeenta/learning-ada | 0 | 27374 | package body Separated is
procedure Watch_Me is separate;
function Look_Out return Float is (5.0);
end Separated;
|
source/containers/a-cogeso.ads | ytomino/drake | 33 | 29654 | pragma License (Unrestricted);
-- Ada 2012
generic
type Index_Type is (<>);
with function Before (Left, Right : Index_Type) return Boolean;
with procedure Swap (Left, Right : Index_Type);
procedure Ada.Containers.Generic_Sort (First, Last : Index_Type'Base);
pragma Pure (Ada.Containers.Generic_Sort);
|
Universe/spawn_new_ship.asm | ped7g/EliteNext | 9 | 86744 | <filename>Universe/spawn_new_ship.asm<gh_stars>1-10
.NW1 \ found Room, a FRIN(X) that is still empty. Allowed to add ship, type is in T.
20 32 37 JSR &3732 \ GINF \ Get INFo pointer for slot X from UNIV
A5 D1 LDA &D1 \ T \ the ship type
30 52 BMI NW2 \ Pl... |
oeis/001/A001287.asm | neoneye/loda-programs | 11 | 1777 | ; A001287: a(n) = binomial coefficient C(n,10).
; 1,11,66,286,1001,3003,8008,19448,43758,92378,184756,352716,646646,1144066,1961256,3268760,5311735,8436285,13123110,20030010,30045015,44352165,64512240,92561040,131128140,183579396,254186856,348330136,472733756,635745396,847660528,1121099408,1471442973,1917334783,2481256... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1722.asm | ljhsiun2/medusa | 9 | 178378 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1722.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xd437, %rax
inc %r15
movl $0x61626364, (%rax)
nop
inc %r15
lea ... |
src/untyped-spans.agda | xoltar/cedille | 0 | 2712 | <reponame>xoltar/cedille<gh_stars>0
import cedille-options
open import general-util
module untyped-spans (options : cedille-options.options) {F : Set → Set} {{monadF : monad F}} where
open import lib
open import ctxt
open import cedille-types
open import spans options {F}
open import syntax-util
open import to-string... |
atari/rainbow/rainbow.asm | JonathanGzzBen/c-study | 0 | 170672 | processor 6502
include "vcs.h"
include "macro.h"
seg code
org $F000
Start:
CLEAN_START ; macro to safely clear memory and TIA
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Start a new frame by turning on VBLANK and VSYNC
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;... |
base/mvdm/wow16/mmsystem/mmtask/mmtask.asm | npocmaka/Windows-Server-2003 | 17 | 81040 | <reponame>npocmaka/Windows-Server-2003
PAGE 58,132
;*****************************************************************************
TITLE MMTASK.ASM - Windows MultiMedia Systems Task Stub
;*****************************************************************************
;
; Copyright (C) Microsoft Corporation 1985-199... |
programs/oeis/047/A047308.asm | karttu/loda | 1 | 378 | ; A047308: Numbers that are congruent to {0, 3, 4, 5, 6} mod 7.
; 0,3,4,5,6,7,10,11,12,13,14,17,18,19,20,21,24,25,26,27,28,31,32,33,34,35,38,39,40,41,42,45,46,47,48,49,52,53,54,55,56,59,60,61,62,63,66,67,68,69,70,73,74,75,76,77
mov $1,$0
add $1,4
div $1,5
mul $1,2
add $1,$0
|
archive/agda-1/UnifyMguCorrectG.agda | m0davis/oscar | 0 | 13977 | open import Relation.Binary using (IsDecEquivalence)
open import Agda.Builtin.Equality
module UnifyMguCorrectG (FunctionName : Set) ⦃ isDecEquivalenceA : IsDecEquivalence (_≡_ {A = FunctionName}) ⦄ (PredicateName VariableName : Set) where
open import UnifyTermF FunctionName
open import UnifyMguF FunctionName
open im... |
examples/shared/hello_world_blinky/src/control.ads | webgeeks/Ada_Drivers_Library | 0 | 13117 | <filename>examples/shared/hello_world_blinky/src/control.ads<gh_stars>0
with STM32.Board; use STM32.Board;
with HAL; use HAL;
with STM32.GPIO; use STM32.GPIO;
with STM32.Device; use STM32.Device;
with Ada.Real_Time; use Ada.Real_Time;
with STM32.Timers; use STM32.Timers;
with STM32.PWM; use STM32.... |
asm/Cumulative-Countdown.asm | hixio-mh/hrm-cpu | 24 | 176583 | -- HUMAN RESOURCE MACHINE PROGRAM --
a:
INBOX
JUMPZ d
COPYTO 0
COPYTO 1
b:
BUMPDN 0
JUMPZ c
ADD 1
COPYTO 1
JUMP b
c:
COPYFROM 1
d:
OUTBOX
JUMP a
DEFINE LABEL 0
<KEY>;
DEFINE LABEL 1
<KEY>
<KEY>
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_14_566.asm | ljhsiun2/medusa | 9 | 27179 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1af78, %r14
nop
nop
nop
nop
nop
xor $33542, %r13
mov (%r14), %rcx
sub %rsi, %rsi
lea addresses_D_ht+0xd778, %rdx
xor %r14, %r14
movl $0x61626364, (%rdx)
xor $56836, %r8
l... |
llvm-gcc-4.2-2.9/gcc/ada/sem_attr.adb | vidkidz/crossbridge | 1 | 27683 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
oeis/010/A010063.asm | neoneye/loda-programs | 11 | 164317 | <reponame>neoneye/loda-programs
; A010063: a(n+1) = a(n) + sum of digits in base 3 representation of a(n), with a(0) = 1.
; Submitted by <NAME>(s2)
; 1,2,4,6,8,12,14,18,20,24,28,30,32,36,38,42,46,50,56,60,64,68,74,80,88,92,96,100,104,110,114,118,122,128,134,142,148,154,160,168,172,176,182,188,196,202,208,214,222,228,23... |
grammar/SV3_1aParser.g4 | bsp13/Surelog | 0 | 1897 | /*
Copyright 2019 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... |
programs/oeis/152/A152135.asm | karttu/loda | 1 | 24487 | <gh_stars>1-10
; A152135: Maximal length of rook tour on an n X n+4 board.
; 12,36,74,134,216,328,470,650,868,1132,1442,1806,2224,2704,3246,3858,4540,5300,6138,7062,8072,9176,10374,11674,13076,14588,16210,17950,19808,21792,23902,26146,28524,31044,33706,36518,39480,42600,45878,49322,52932,56716,60674,64814,69136,73648,7... |
oeis/253/A253629.asm | neoneye/loda-programs | 11 | 90465 | ; A253629: Multiplicative function defined for prime powers by a(p^e) = p^(e-1)(p+1) if p > 2 and a(2^e) = 2^(e-1).
; Submitted by <NAME>
; 1,1,4,2,6,4,8,4,12,6,12,8,14,8,24,8,18,12,20,12,32,12,24,16,30,14,36,16,30,24,32,16,48,18,48,24,38,20,56,24,42,32,44,24,72,24,48,32,56,30,72,28,54,36,72,32,80,30,60,48,62,32,96,32,... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2429.asm | ljhsiun2/medusa | 9 | 246233 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2429.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rax
push %rbp
push %rcx
push %rdx
push %rsi
lea addresses_UC_ht+0x13f4f, %rax
and %r14, %r14
mov (%rax), %bp
xor %rsi, %rsi
lea addresses_D_ht+0x18d... |
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sccz80/SMS_loadSpritePaletteHalfBrightness.asm | jpoikela/z88dk | 640 | 101565 | ; void SMS_loadSpritePaletteHalfBrightness(void *palette)
SECTION code_clib
SECTION code_SMSlib
PUBLIC SMS_loadSpritePaletteHalfBrightness
EXTERN asm_SMSlib_loadSpritePaletteHalfBrightness
defc SMS_loadSpritePaletteHalfBrightness = asm_SMSlib_loadSpritePaletteHalfBrightness
|
libsrc/graphics/__gfx_coords4.asm | jpoikela/z88dk | 38 | 245837 | <gh_stars>10-100
SECTION bss_graphics
PUBLIC __gfx_coords
__gfx_coords: defw 0
defw 0
|
src/Numeric/Nat/Modulo.agda | t-more/agda-prelude | 111 | 16012 | <gh_stars>100-1000
-- Integers modulo N
module Numeric.Nat.Modulo where
open import Prelude
open import Numeric.Nat.DivMod
open import Tactic.Nat
data IntMod (n : Nat) : Set where
modn : ∀ k → k < n → IntMod n
{-# DISPLAY modn k (LessNat.diff _ refl) = k #-}
negIntMod : ∀ {n} → IntMod n → IntMod n
negIntMod (mod... |
itunes-playlist.applescript | marcw/itunes | 1 | 1196 | (* Creates smart playlists of media added by dates. *)
(* Works with iTunes 11 *)
on createSmartPlaylist(start_y, start_m)
set end_m to 1 + start_m
set end_y to start_y
if (end_m = 13) then
set end_m to 1
set end_y to end_y + 1
end if
tell application "iTunes" to activate
tell application "System Events"... |
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0.log_21829_385.asm | ljhsiun2/medusa | 9 | 91533 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1b1cd, %rsi
lea addresses_A_ht+0x73f5, %rdi
xor %rdx, %rdx
mov $70, %rcx
rep movsw
nop
xor %r14, %r14
lea addresses_D_ht+0x938d, %rax
nop
nop
and %r13, %r13
... |
Driver/IFS/DOS/Common/dosFormat.asm | steakknife/pcgeos | 504 | 24571 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: DOS Common IFS Code
MODULE: Disk Formatting
FILE: dosFormat.asm
AUTHOR: <NAME>, Oct 31, 1991
ROUTINES:
Name Description
---- -----------... |
KMP.asm | chenxiaoquan233/KMP-on-x86-ASM | 0 | 104098 | <reponame>chenxiaoquan233/KMP-on-x86-ASM
;#########################################################;
; ;
; @description : KMP inplementation, find str_a in str_b ;
; @author : XQChen ;
; @email : <EMAIL> ... |
alloy4fun_models/trashltl/models/4/jQdxXrYh4cS4NW2cn.als | Kaixi26/org.alloytools.alloy | 0 | 4051 | open main
pred idjQdxXrYh4cS4NW2cn_prop5 {
no File & Trash and eventually some File & Trash
}
pred __repair { idjQdxXrYh4cS4NW2cn_prop5 }
check __repair { idjQdxXrYh4cS4NW2cn_prop5 <=> prop5o } |
programs/oeis/011/A011888.asm | jmorken/loda | 1 | 26646 | <gh_stars>1-10
; A011888: Partial sums of A011863.
; 0,1,6,22,61,142,292,548,958,1583,2498,3794,5579,7980,11144,15240,20460,27021,35166,45166,57321,71962,89452,110188,134602,163163,196378,234794,278999,329624,387344,452880
mov $2,$0
lpb $0
lpb $0
add $3,$0
sub $0,1
lpe
sub $2,1
lpb $3
add $1,$3
... |
programs/oeis/047/A047618.asm | karttu/loda | 1 | 92413 | ; A047618: Numbers that are congruent to {0, 2, 5} mod 8.
; 0,2,5,8,10,13,16,18,21,24,26,29,32,34,37,40,42,45,48,50,53,56,58,61,64,66,69,72,74,77,80,82,85,88,90,93,96,98,101,104,106,109,112,114,117,120,122,125,128,130,133,136,138,141,144,146,149,152,154,157,160,162,165,168,170,173,176,178,181,184,186,189,192,194,197,20... |
src/Experiments/StrongMonad.agda | metaborg/mj.agda | 10 | 373 | {-# OPTIONS --allow-unsolved-metas #-}
open import Level
open import Relation.Unary using (Pred)
open import Data.Product hiding (swap; curry)
open import Data.List
open import Data.List.Relation.Unary.All as All
open import Data.List.Relation.Unary.Any
open import Data.List.Membership.Propositional
open import Data.L... |
day30/apilib/alloca.asm | itiB/hariboteOS_30days | 1 | 3319 | <filename>day30/apilib/alloca.asm
[CPU 486]
[BITS 32]
GLOBAL __alloca
section .text
__alloca:
ADD EAX, -4
SUB ESP, EAX
JMP DWORD [ESP + EAX] ; RETの代わり
|
src/glfw/v2/glfw-events-keys.adb | Roldak/OpenGLAda | 0 | 2432 | <gh_stars>0
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with Glfw.API;
with Glfw.Enums;
package body Glfw.Events.Keys is
function Name (Query : Key) return String is
begin
case Query is
when 32 .. 256 => return (1 => Character'Va... |
test/Fail/PatternSynonymNoParse.agda | shlevy/agda | 1,989 | 8380 | <reponame>shlevy/agda
module PatternSynonymNoParse where
pattern f x = a b
|
projects/batfish/src/main/antlr4/org/batfish/vendor/a10/grammar/A10_ip_access_list.g4 | ton31337/batfish | 1 | 1967 | parser grammar A10_ip_access_list;
import A10_common;
options {
tokenVocab = A10Lexer;
}
si_access_list: ACCESS_LIST access_list_name NEWLINE sial_rule_definition*;
sial_rule_definition
:
sialr_action sialr_protocol
source = access_list_address
destination = access_list_address (dest_range = access_list... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1818.asm | ljhsiun2/medusa | 9 | 98328 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x3bb, %r9
nop
nop
nop
sub %rbx, %rbx
mov $0x6162636465666768, %rax
movq %rax, %xmm0
vmovups %ymm0, (%r9)
nop
cmp %rdx, %rdx
lea addresses_A_ht+0x110bb, %rsi
nop
nop
n... |
libsrc/_DEVELOPMENT/arch/zx/misc/c/sdcc_ix/zx_scroll_wc_up_attr_callee.asm | jpoikela/z88dk | 640 | 85350 | <reponame>jpoikela/z88dk
; void zx_scroll_wc_up_attr_callee(struct r_Rect8 *r, uchar rows, uchar attr)
SECTION code_clib
SECTION code_arch
PUBLIC _zx_scroll_wc_up_attr_callee, l0_zx_scroll_wc_up_attr_callee
EXTERN asm0_zx_scroll_wc_up_attr
_zx_scroll_wc_up_attr_callee:
pop hl
pop bc
ex (sp),hl
l0_zx_scro... |
oeis/262/A262543.asm | neoneye/loda-programs | 11 | 19294 | <gh_stars>10-100
; A262543: Number of rooted asymmetrical polyenoids of type U_n* having n edges.
; 0,2,4,10,28,84,264,858,2860,9724,33592,117572,416024,1485800,5348880,19389690,70715340,259289580,955277400,3534526380,13128240840,48932534040,182965127280,686119227300,2579808294648,9723892802904,36734706144304,139067101... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_657.asm | ljhsiun2/medusa | 9 | 20198 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x97a3, %rbx
nop
nop
nop
nop
and %rsi, %rsi
mov $0x6162636465666768, %r10
movq %r10, %xmm5
movups %xmm5, (%rbx)
nop
nop
and %r10, %r10
lea addresses_... |
src/lang/stemmer-serbian.adb | stcarrez/ada-stemmer | 3 | 30221 | <reponame>stcarrez/ada-stemmer
-- Generated by Snowball 2.2.0 - https://snowballstem.org/
package body Stemmer.Serbian 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 ... |
src/link_to_cpp/LinkToCpp.asm | AaronWharton/custom-process | 0 | 245870 | ; assembly process (LinkToCpp.asm)
.586
.model flat,stdcall ; .model flat,C is also OK.
; C++ functions
displayMessage PROTO C
displayResult PROTO C, value:DWORD
LOOP_TIME = 10 ; loop time
.data
intVal DWORD ? ; get the value and save the result
.code
;-------------------------------------... |
programs/oeis/072/A072674.asm | neoneye/loda | 22 | 88233 | ; A072674: 3^n+2*2^n-3.
; 0,4,14,40,110,304,854,2440,7070,20704,61094,181240,539630,1610704,4815734,14414440,43177790,129402304,387944774,1163310040,3488881550,10464547504,31389448214,94159956040,282463090910,847355718304
mov $2,$0
add $0,1
mov $1,3
pow $1,$2
mov $3,2
pow $3,$0
add $1,$3
sub $1,3
mov $0,$1
|
spotify_util/toggle_repeat.applescript | n04ln/AYUNiS.nvim | 1 | 3449 | <filename>spotify_util/toggle_repeat.applescript
#!/usr/bin/osascript
tell application "Spotify"
if repeating then
set repeating to false
else
set repeating to true
end if
end tell
|
oeis/016/A016276.asm | neoneye/loda-programs | 11 | 17053 | ; A016276: Expansion of 1/((1-2x)(1-3x)(1-7x)).
; Submitted by <NAME>
; 1,12,103,786,5713,40656,286651,2012862,14109205,98822460,691932319,4844053578,33909961177,237374494824,1661635779907,11631493440534,81420583092829,569944468808148,3989612443394215
mov $1,1
mov $2,1
mov $3,2
lpb $0
sub $0,1
mul $1,7
mul $3,3
... |
Week_10/14 - loope.asm | iamruveyda/KBU-Mikro | 1 | 166691 | .model small
.data
.code
.STARTUP
main proc
MOV AX,1000H ;
MOV DS,AX ;set data segment register
MOV [1686H],55H ;set memory related data
MOV [1684H],55H ;set memory related data
MOV [1682H],55H ;set memory related data
MOV [1680H],55H ;set memory related data
mov ... |
cards/bn5/ItemCards/136-E001 Mom's Allowance.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | 10 | 176528 | .include "defaults_item.asm"
table_file_jp equ "exe5-utf8.tbl"
table_file_en equ "bn5-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252424A // BRBJ
game_code_2 equ 0x42524245 // BRBE
game_code_3 equ 0x42524250 // BRBP
card_type equ 0
card_id equ 1
card_no equ "001"
card_sub equ "Item Card 001"
card_sub_x... |
RegoAntlr/RegoLexer.g4 | loicmiller/policy-verification | 0 | 7161 | lexer grammar RegoLexer;
/*
* Lexer Rules
*/
// Fragments for keywords
fragment A : ('A'|'a') ;
fragment S : ('S'|'s') ;
fragment D : ('D'|'d') ;
fragment E : ('E'|'e') ;
fragment F : ('F'|'f') ;
fragment U : ('U'|'u') ;
fragment L : ('L'|'l') ;
fragmen... |
src/FRP/LTL/ISet/Empty.agda | agda/agda-frp-ltl | 21 | 16507 | <filename>src/FRP/LTL/ISet/Empty.agda
open import Data.Product using ( _,_ )
open import Data.Empty using ( ⊥ )
open import FRP.LTL.ISet.Core using ( ISet ; [_] ; _,_ )
module FRP.LTL.ISet.Empty where
F : ISet
F = [ (λ i → ⊥) , (λ i j i~j → λ ()) , (λ i j i⊑j → λ ()) ]
|
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_1255.asm | ljhsiun2/medusa | 9 | 163027 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %rax
push %rdx
lea addresses_WC_ht+0x1e243, %r11
clflush (%r11)
add %rax, %rax
mov $0x6162636465666768, %rdx
movq %rdx, %xmm7
vmovups %ymm7, (%r11)
inc %r8
pop %rdx
pop %rax
pop %r8
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push... |
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_ix/sp1_GetUpdateStruct_callee.asm | teknoplop/z88dk | 8 | 9319 | <filename>libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_ix/sp1_GetUpdateStruct_callee.asm
; struct sp1_update *sp1_GetUpdateStruct(uchar row, uchar col)
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _sp1_GetUpdateStruct_callee
EXTERN asm_sp1_GetUpdateStruct
_sp1_GetUpdateStruct:
pop af
pop hl
pop de
push af
... |
library/fmGUI_ManageSecurity/fmGUI_ManageSecurity_AccessRecord_GetFieldPriv.applescript | NYHTC/applescript-fm-helper | 1 | 3787 | -- fmGUI_ManageSecurity_AccessRecord_GetFieldPriv({})
-- <NAME>, NYHTC
-- get the field-level access for the currently opened table of manage security
(*
HISTORY:
1.0 - 2017-07-06 ( eshagdar ):created
REQUIRES:
fmGUI_AppFrontMost
*)
on run
fmGUI_ManageSecurity_AccessRecord_GetFieldPriv({})
end run
-----------... |
src/fot/LTC-PCF/Loop.agda | asr/fotc | 11 | 16529 | <filename>src/fot/LTC-PCF/Loop.agda
------------------------------------------------------------------------------
-- A looping (error) combinator
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPT... |
oeis/277/A277614.asm | neoneye/loda-programs | 11 | 92776 | <gh_stars>10-100
; A277614: a(n) is the coefficient of x^n/n! in exp(x + n*x^2/2).
; Submitted by <NAME>(s2)
; 1,1,3,10,73,426,4951,41308,658785,7149628,144963451,1937124696,47660873833,756536698360,21888570052623,402400189738576,13384439813823361,279666289640774928,10512823691028429235,246061359639756047008,103148433... |
oeis/291/A291463.asm | neoneye/loda-programs | 11 | 6491 | <filename>oeis/291/A291463.asm
; A291463: a(n) is the product of n-th prime number with the distance to the next prime.
; Submitted by <NAME>
; 2,6,10,28,22,52,34,76,138,58,186,148,82,172,282,318,118,366,268,142,438,316,498,712,388,202,412,214,436,1582,508,786,274,1390,298,906,942,652,1002,1038,358,1810,382,772,394,238... |
ada/src/avtas/lmcp/avtas-lmcp-types.ads | joffreyhuguet/LmcpGen | 0 | 9904 | <reponame>joffreyhuguet/LmcpGen<gh_stars>0
with Interfaces; use Interfaces;
package avtas.lmcp.types is
-- C/C++ compatible integer types
type UInt16_t is new Interfaces.Unsigned_16;
type UInt32_t is new Interfaces.Unsigned_32;
type Int16_t is new Interfaces.Integer_16;
type Int32_t is new Interface... |
agda/List/Permutation/Alternative.agda | bgbianchi/sorting | 6 | 14442 | <reponame>bgbianchi/sorting
module List.Permutation.Alternative (A : Set) where
open import Data.List
data _∼_ : List A → List A → Set where
∼refl : {xs : List A}
→ xs ∼ xs
∼trans : {xs ys zs : List A}
→ xs ∼ ys
→ ys ∼ zs
→ xs ∼ zs
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/varsize3_pkg1.ads | best08618/asylo | 7 | 20514 | <gh_stars>1-10
with Varsize3_Pkg2;
with Varsize3_Pkg3;
package Varsize3_Pkg1 is
type Arr is array (Positive range 1 .. Varsize3_Pkg2.Last_Index) of Boolean;
package My_G is new Varsize3_Pkg3 (Arr);
type Object is new My_G.Object;
end Varsize3_Pkg1;
|
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/sample1/Mrotmat.asm | prismotizm/gigaleak | 0 | 165321 | Name: Mrotmat.asm
Type: file
Size: 7793
Last-Modified: '1992-09-24T02:23:51Z'
SHA-1: D913F1DE189433C08D61CED79DAA6BE4E0E6F476
Description: null
|
src/fot/GroupTheory/PropertiesATP.agda | asr/fotc | 11 | 10616 | ------------------------------------------------------------------------------
-- Group theory properties
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# O... |
agda-stdlib-0.9/src/Relation/Binary/PropositionalEquality.agda | qwe2/try-agda | 1 | 16140 | <gh_stars>1-10
------------------------------------------------------------------------
-- The Agda standard library
--
-- Propositional (intensional) equality
------------------------------------------------------------------------
module Relation.Binary.PropositionalEquality where
open import Function
open import F... |
src/geste-maths.adb | Fabien-Chouteau/GESTE | 13 | 1475 | ------------------------------------------------------------------------------
-- --
-- GESTE --
-- --
-- ... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_9_3.asm | ljhsiun2/medusa | 9 | 171911 | <filename>Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_9_3.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x229e, %rsi
lea addresses_normal_ht+0x2baa, %rdi
nop
nop
nop
nop
and %rax, %rax
mov $60, %rcx
rep ... |
Transynther/x86/_processed/US/_ht_/i9-9900K_12_0xca_notsx.log_4_1578.asm | ljhsiun2/medusa | 9 | 16238 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1df36, %rsi
lea addresses_D_ht+0x15d16, %rdi
nop
nop
and %rdx, %rdx
mov $20, %rcx
rep movsb
nop
nop
inc %r12
lea addresses_A_ht+0x8d7a, %r9
cmp $42967, %r12
mov $0x6162636465666768... |
dictionary_package.adb | ddugovic/words | 4 | 22940 | <filename>dictionary_package.adb<gh_stars>1-10
with STRINGS_PACKAGE; use STRINGS_PACKAGE;
with INFLECTIONS_PACKAGE; use INFLECTIONS_PACKAGE;
pragma ELABORATE(INFLECTIONS_PACKAGE);
package body DICTIONARY_PACKAGE is
use STEM_KEY_TYPE_IO;
use TEXT_IO;
MNPC_IO_DEFAULT_WIDTH : constant NATURAL := 6;
NUMERA... |
List 04/ex 2e (print array).asm | LeonardoSanBenitez/Assembly-exercises | 0 | 12899 | <filename>List 04/ex 2e (print array).asm
.data
Sseparator: .asciiz ", "
SlineBreak: .asciiz "\n"
.text
main:
## debug init
addi $t0, $zero, 8
addi $t1, $zero, 5
addi $t2, $zero, 1
addi $t3, $zero, 3
addi $t4, $zero, 2
addi $t5, $zero, 20
addi $t6, $zero, 7
addi $t7, $zero, 666
sw $t0, 0 ($gp)
sw $t1, 4 (... |
snapgear_linux/lib/libgmp/mpn/x86/k7/mul_1.asm | impedimentToProgress/UCI-BlueChip | 0 | 99204 | <filename>snapgear_linux/lib/libgmp/mpn/x86/k7/mul_1.asm
# AMD K7 mpn_mul_1 -- mpn by limb multiply.
#
# K7: 3.4 cycles/limb (at 16 limbs/loop).
# Copyright (C) 1999, 2000 Free Software Foundation, Inc.
#
# This file is part of the GNU MP Library.
#
# The GNU MP Library is free software; you can redistribute it and/o... |
src/drivers/sercom_u2201/sam-sercom-i2c.ads | Fabien-Chouteau/samd51-hal | 1 | 30152 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2020, AdaCore --
-- --
-- ... |
vendor/stdlib/src/Data/Product/Record.agda | isabella232/Lemmachine | 56 | 655 | ------------------------------------------------------------------------
-- Products implemented using records
------------------------------------------------------------------------
-- It it ever becomes convenient to pattern match on records I might
-- make this the default implementation of products.
module Data.... |
test/Succeed/Issue1944-poly-record.agda | pthariensflame/agda | 3 | 13084 | -- Parameter arguments of overloaded projection applications
-- should not be skipped!
record R A : Set where
field f : A → A
open R
record S A : Set where
field f : A → A
open S
r : ∀{A} → R A
f r x = x
test : ∀{A : Set} → A → A
test a = f r a
|
tools-src/gnu/gcc/gcc/ada/i-os2thr.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 21167 | <filename>tools-src/gnu/gcc/gcc/ada/i-os2thr.ads<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
Task/Handle-a-signal/Ada/handle-a-signal-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 1902 | with Ada.Interrupts; use Ada.Interrupts;
with Ada.Interrupts.Names; use Ada.Interrupts.Names;
package Sigint_Handler is
protected Handler is
entry Wait;
procedure Handle;
pragma Interrupt_Handler(Handle);
pragma Attach_Handler(Handle, Sigint);
private
Call_Count : Natural := 0... |
src/tcg-maps.adb | Fabien-Chouteau/tiled-code-gen | 1 | 26767 | <reponame>Fabien-Chouteau/tiled-code-gen
------------------------------------------------------------------------------
-- --
-- tiled-code-gen --
-- ... |
src/main/antlr/org/zavodnikov/antlr4/brackets/Brackets.g4 | dzavodnikov/ANTLR4 | 3 | 7103 | grammar Brackets;
@header {
package org.zavodnikov.antlr4.brackets;
}
r : e+
;
e : e e
| '(' e ')'
| '[' e ']'
| '()'
| '[]'
;
WS : [ \t\r\n]+ -> skip
;
|
src/asis/a4g-stand.adb | My-Colaborations/dynamo | 15 | 4852 | <reponame>My-Colaborations/dynamo
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
qsort_demo.adb | M1nified/Ada-Samples | 0 | 17781 | -- przykłady: pakiet, select w zasdaniu, access do zadania jako parametr wywołania
with Qsort;
with Ada.Text_Io;
use Qsort,Ada.Text_Io;
procedure Qsort_demo is
Arr1 : vector := (1,6,2,67,3);
Arr1_ptr : vector_ptr;
begin
Arr1_ptr := new vector(Arr1'range);
Put_Line(Integer'Image(Arr1'Length));
Put_Line(Integ... |
programs/oeis/105/A105955.asm | neoneye/loda | 22 | 161787 | ; A105955: a(n) = Fibonacci(n) mod 11.
; 0,1,1,2,3,5,8,2,10,1,0,1,1,2,3,5,8,2,10,1,0,1,1,2,3,5,8,2,10,1,0,1,1,2,3,5,8,2,10,1,0,1,1,2,3,5,8,2,10,1,0,1,1,2,3,5,8,2,10,1,0,1,1,2,3,5,8,2,10,1,0,1,1,2,3,5,8,2,10,1,0,1,1,2,3,5,8,2,10,1,0,1,1,2,3,5,8,2,10,1
mod $0,10
seq $0,45 ; Fibonacci numbers: F(n) = F(n-1) + F(n-2) with... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/stack_usage1_pkg.ads | best08618/asylo | 7 | 18112 | <reponame>best08618/asylo<gh_stars>1-10
package Stack_Usage1_Pkg is
function Ident_Int (X : Integer) return Integer;
type R is
record
C0, C1, C2, C3, C4, C5, C6, C7, C8, C9 : Integer;
end record;
procedure My_Proc (X : R);
end Stack_Usage1_Pkg;
|
programs/oeis/039/A039112.asm | neoneye/loda | 22 | 101963 | ; A039112: Numbers whose base-10 representation has the same number of 0's and 1's.
; 2,3,4,5,6,7,8,9,10,22,23,24,25,26,27,28,29,32,33,34,35,36,37,38,39,42,43,44,45,46,47,48,49,52,53,54,55,56,57,58,59,62,63,64,65,66,67,68,69,72,73,74,75,76,77,78,79,82,83,84,85,86,87,88,89,92,93,94,95,96
mov $1,$0
mov $2,$0
lpb $2
ad... |
libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_push_back.asm | jpoikela/z88dk | 640 | 28992 |
; size_t b_array_push_back(b_array_t *a, int c)
SECTION code_clib
SECTION code_adt_b_array
PUBLIC b_array_push_back
EXTERN b_array_append
defc b_array_push_back = b_array_append
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _b_array_push_back
defc _b_array_push_back = b_array_push_back
ENDIF
|
fluidcore/main.asm | bushy555/ZX-Spectrum-1-Bit-Routines | 59 | 177573 | <reponame>bushy555/ZX-Spectrum-1-Bit-Routines<gh_stars>10-100
;fluidcore
;4 channel wavetable player for the zx spectrum beeper
;by utz 03'2016
NMOS EQU 1
CMOS EQU 2
IF Z80=NMOS ;values for NMOS Z80
pon equ #18fe
poff equ 0
seta equ #af ;xor a
ENDIF
IF Z80=CMOS ;values for CMOS Z80
pon equ #00fe
poff equ #1... |
awa/plugins/awa-sysadmin/src/awa-sysadmin-filters.ads | twdroeger/ada-awa | 81 | 13866 | -----------------------------------------------------------------------
-- awa-users-filters -- Specific filters for authentication and key verification
-- Copyright (C) 2011, 2012, 2015, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not... |
Asteroids/AsteroidsASM/main.asm | ragibson/FPGA-Asteroids | 5 | 161208 | .include "constants.asm"
.data DATA_START
x: .word FP_HALF_XRES
y: .word FP_HALF_YRES
degrees: .word 0
vx: .word 0
vy: .word 0
w_press: .word 0
s_held: .word 0
sound_timeout: .word 0
# Eight {x, y, degrees, vx, vy, vd, size} structs
asteroids:
.word F... |
src/STLC/Kovacs/Completeness.agda | mietek/coquand-kovacs | 0 | 16207 | <gh_stars>0
module STLC.Kovacs.Completeness where
open import STLC.Kovacs.Normalisation public
open import STLC.Kovacs.Convertibility public
--------------------------------------------------------------------------------
-- (_≈_)
infix 3 _≫_
_≫_ : ∀ {A Γ} → Γ ⊢ A → Γ ⊩ A → Set
_≫_ {⎵} {Γ} M N = M ∼ embⁿᶠ N
... |
programs/oeis/188/A188510.asm | jmorken/loda | 1 | 178990 | ; A188510: Expansion of x*(1 + x^2)/(1 + x^4) in powers of x.
; 0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,0,1,0,-1,0,-1,0,1,... |
Automator Run.applescript | p2made/P2-RIP | 0 | 199 | <reponame>p2made/P2-RIP
on run {input, parameters}
(* Your script goes here *)
return input
end run |
programs/oeis/168/A168376.asm | neoneye/loda | 22 | 99435 | ; A168376: a(n) = (14*n - 7*(-1)^n - 9)/4.
; 3,3,10,10,17,17,24,24,31,31,38,38,45,45,52,52,59,59,66,66,73,73,80,80,87,87,94,94,101,101,108,108,115,115,122,122,129,129,136,136,143,143,150,150,157,157,164,164,171,171,178,178,185,185,192,192,199,199,206,206,213,213,220,220,227,227,234,234,241,241,248,248,255,255,262,262,2... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/case_optimization2.adb | best08618/asylo | 7 | 18819 | -- PR ada/43106
-- Testcase by <NAME> <<EMAIL>>
-- { dg-do run }
-- { dg-options "-O" }
with Case_Optimization_Pkg2; use Case_Optimization_Pkg2;
procedure Case_Optimization2 is
Radar : Radar_T;
begin
Radar.Sensor_Type := radcmb;
Initialize (Radar);
end;
|
alloy4fun_models/trainstlt/models/8/e5wbNykhnxyzBZmFi.als | Kaixi26/org.alloytools.alloy | 0 | 4059 | <gh_stars>0
open main
pred ide5wbNykhnxyzBZmFi_prop9 {
all t:Train | eventually ( some t.pos & Entry) and before no t.pos
}
pred __repair { ide5wbNykhnxyzBZmFi_prop9 }
check __repair { ide5wbNykhnxyzBZmFi_prop9 <=> prop9o } |
test/succeed/PartiallyAppliedConstructorInIndex.agda | larrytheliquid/agda | 0 | 10162 | <filename>test/succeed/PartiallyAppliedConstructorInIndex.agda
module PartiallyAppliedConstructorInIndex where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
plus : Nat -> Nat -> Nat
data D : (Nat -> Nat) -> Set where
c : D suc
d : (x : Nat) -> D (plus x)
e : D (\ x -> suc x)
f : D suc -> Nat
f c = ze... |
programs/oeis/063/A063482.asm | neoneye/loda | 22 | 81623 | <gh_stars>10-100
; A063482: p(n) * last digit of p(n) where p(n) is n-th prime.
; 4,9,25,49,11,39,119,171,69,261,31,259,41,129,329,159,531,61,469,71,219,711,249,801,679,101,309,749,981,339,889,131,959,1251,1341,151,1099,489,1169,519,1611,181,191,579,1379,1791,211,669,1589,2061,699,2151,241,251,1799,789,2421,271,1939,28... |
memsim-master/src/benchmark-tree.ads | strenkml/EE368 | 0 | 8102 |
package Benchmark.Tree is
type Tree_Type is new Benchmark_Type with private;
function Create_Tree return Benchmark_Pointer;
overriding
procedure Set_Argument(benchmark : in out Tree_Type;
arg : in String);
overriding
procedure Run(benchmark : in Tree_Type);
... |
gcc-gcc-7_3_0-release/gcc/ada/a-rbtgbk.adb | best08618/asylo | 7 | 13691 | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
src/condor_tests/cmd_status-af_orig_first_test.ads | sridish123/htcondor | 217 | 14644 | AcceptedWhileDraining = false
Activity = "Idle"
AddressV1 = "{[ p=\"primary\"; a=\"10.0.0.3\"; port=36347; n=\"Internet\"; alias=\"gthain.localdomain\"; spid=\"startd_888024_2e07\"; noUDP=true; ], [ p=\"IPv4\"; a=\"10.0.0.3\"; port=36347; n=\"Internet\"; alias=\"gthain.localdomain\"; spid=\"startd_888024_2e07\"; noUDP=... |
src/setupscreen.asm | hackneyc/CastleEscape | 2 | 95604 | extern _cls
extern _coinTables
extern _currentTileMap
extern _scrollReset
extern _setCurrentTileMap
extern currentCoinTable
extern currentEggTable
extern currentHeartTable
extern currentSpiderTable
extern display2BCD
exter... |
Hoare.agda | iwilare/imp-semantics | 6 | 6096 | open import Data.Nat using ()
open import Data.Bool using (true; false)
open import Data.Product using (_×_; _,_)
open import Data.String using (String; _≟_)
open import Data.Empty using ()
open import Level using (suc; _⊔_)
open import Relation.Nullary using (yes; no)
open import Relation.Nullary.Decidable u... |
code/Forec/t5.asm | KongoHuster/assembly-exercise | 1 | 9167 | ;; last edit date: 2016/10/24
;; 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.
;... |
projects/batfish/src/main/antlr4/org/batfish/vendor/a10/grammar/A10Lexer.g4 | Ashlippers/batfish | 0 | 2279 | lexer grammar A10Lexer;
options {
superClass = 'A10BaseLexer';
}
tokens {
QUOTED_TEXT,
RBA_LINE,
RBA_TAIL,
WORD,
WORD_SEPARATOR
}
// A10 keywords
ACTIVE: 'active';
ADDRESS: 'address';
DISABLE: 'disable';
DESCRIPTION: 'description' -> pushMode(M_Word);
DO_AUTO_RECOVERY: 'do-auto-recovery';
ENABLE: 'enabl... |
libsrc/_DEVELOPMENT/math/float/math16/c/sdcc/cm16_sdcc_ceil.asm | Frodevan/z88dk | 640 | 88701 | <filename>libsrc/_DEVELOPMENT/math/float/math16/c/sdcc/cm16_sdcc_ceil.asm
SECTION code_fp_math16
PUBLIC cm16_sdcc_ceil
EXTERN cm16_sdcc_read1
EXTERN asm_f16_ceil
.cm16_sdcc_ceil
call cm16_sdcc_read1
jp asm_f16_ceil
|
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-traceb.adb | orb-zhuchen/Orb | 0 | 17457 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
boot/32b.asm | DriesCode/bootloaders | 6 | 164641 | <gh_stars>1-10
load_kernel: ; Routine to load 32 bit mode kernel
mov bx, 0x7fff
mov ah, 02h
mov al, 0x1
mov ch, 0x0
mov cl, 0x4
mov dh, 0x0
mov dl, [0x7C24]
int 13h
jc dsk_error
cmp al, 0x1
jne dsk_error
xor ax, ax ; Reset driver
int 13h
cli ; Clear BIOS interrupts
lgdt [gdt_descriptor] ; Load GDT
; Turn up f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.