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 |
|---|---|---|---|---|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array8.adb | best08618/asylo | 7 | 27964 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array8.adb
-- { dg-do compile }
-- { dg-options "-O2" }
PROCEDURE Array8 IS
function ID (I : Integer) return Integer is
begin
return I;
end;
SUBTYPE STB IS INTEGER RANGE ID(-8) .. -5;
TYPE TB IS ARRAY (STB RANGE <>) OF INTE... |
data/pokemon/base_stats/hoenn/castform_snowy.asm | Dev727/ancientplatinum | 0 | 13843 | <reponame>Dev727/ancientplatinum<filename>data/pokemon/base_stats/hoenn/castform_snowy.asm<gh_stars>0
db 0 ; 351 DEX NO
db 70, 70, 70, 70, 70, 70
; hp atk def spd sat sdf
db ICE, ICE ; type
db 45 ; catch rate
db 145 ; base exp
db MYSTIC_WATER, MYSTIC_WATER ; items
db GENDER_F50 ; gender ratio
db 1... |
oeis/017/A017237.asm | neoneye/loda-programs | 11 | 88425 | ; A017237: a(n) = (9*n + 6)^5.
; 7776,759375,7962624,39135393,130691232,345025251,777600000,1564031349,2887174368,4984209207,8153726976,12762815625,19254145824,28153056843,40074642432,55730836701,75937500000,101621504799,133827821568,173726604657,222620278176,281950621875,353305857024,438427732293,539218609632,65774855... |
src/third_party/nasm/test/fpu.asm | Mr-Sheep/naiveproxy | 2,219 | 89807 | <reponame>Mr-Sheep/naiveproxy
;Testname=test; Arguments=-fbin -ofpu.bin; Files=stdout stderr fpu.bin
; relaxed encodings for FPU instructions, which NASM should support
; -----------------------------------------------------------------
%define void
%define reg_fpu0 st0
%define reg_fpu st1
; no operands instead of o... |
alloy4fun_models/trashltl/models/16/iW6ZLyKsjLmPuoQxW.als | Kaixi26/org.alloytools.alloy | 0 | 1342 | <filename>alloy4fun_models/trashltl/models/16/iW6ZLyKsjLmPuoQxW.als
open main
pred idiW6ZLyKsjLmPuoQxW_prop17 {
always all f:File | f in Trash implies after f in Trash
}
pred __repair { idiW6ZLyKsjLmPuoQxW_prop17 }
check __repair { idiW6ZLyKsjLmPuoQxW_prop17 <=> prop17o } |
alloy4fun_models/trashltl/models/16/7RHmrouNQGBbuCe2z.als | Kaixi26/org.alloytools.alloy | 0 | 3078 | <filename>alloy4fun_models/trashltl/models/16/7RHmrouNQGBbuCe2z.als
open main
pred id7RHmrouNQGBbuCe2z_prop17 {
always (all f:Trash | after no Trash&f)
}
pred __repair { id7RHmrouNQGBbuCe2z_prop17 }
check __repair { id7RHmrouNQGBbuCe2z_prop17 <=> prop17o } |
Scripts Pack Source Items/Scripts Pack/Dock/3D Glass or 2D Black (10.5 - 10.7.5).applescript | Phorofor/ScriptsPack.macOS | 1 | 409 | <filename>Scripts Pack Source Items/Scripts Pack/Dock/3D Glass or 2D Black (10.5 - 10.7.5).applescript<gh_stars>1-10
# Scripts Pack - Tweak various preference variables in macOS
# <Phorofor, https://github.com/Phorofor/>
-- Dock change to 2D or 3D Snow Leopard, works with OS X Lion
-- Change Dock to 3D or 2D
-- Versi... |
tests/subnormal-target/src/crash.ads | TUM-EI-RCS/StratoX | 12 | 1152 | with System;
package Crash is
procedure Last_Chance_Handler
(Source_Location : System.Address; Line : Integer);
pragma Export (C, Last_Chance_Handler,
"__gnat_last_chance_handler");
end Crash;
|
Transynther/x86/_processed/AVXALIGN/_ht_un_/i9-9900K_12_0xa0_notsx.log_21829_2.asm | ljhsiun2/medusa | 9 | 3029 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x723b, %r14
nop
nop
nop
nop
nop
cmp %r9, %r9
mov $0x6162636465666768, %r15
movq %r15, %xmm2
vmovups %ymm2, (%r14)
nop
nop
nop
nop
add %rax, ... |
T3/E3T2.asm | abphilip-vit/College3 | 2 | 247103 | ORG 0000H
MOV DPTR,#0200H
MOV R1, #0EH
MOV R0, #40H
ALLEN:CLR A
MOVC A,@A+DPTR
MOV @R0,A
INC DPTR
INC R0
DJNZ R1,ALLEN
MOV R0,#40H
MOV R1,#60H
MOV R3,#0EH
ALLEN2: CLR A
MOV A,@R0
MOV @R1,A
INC R1
INC R0
DJNZ R3,ALLEN2
HERE: SJMP HERE
ORG 0200H
DB "VIT UNIVERS... |
test/mat/vulkan-math-mat4x2-test.adb | zrmyers/VulkanAda | 1 | 24469 | <reponame>zrmyers/VulkanAda<gh_stars>1-10
--------------------------------------------------------------------------------
-- 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 "Softwa... |
tests/misc/256_files.asm | fengjixuchui/sjasmplus | 220 | 92956 | IFNDEF __ALREADY_INITIALIZED__ : DEFINE __ALREADY_INITIALIZED__
OUTPUT "256_files.bin"
x = 0
ENDIF
x = x+1 : DB x
|
src/definitions/defines.asm | Hacktix/gb-tictactoe | 8 | 80090 | ; Global Symbol Definitions
DEFAULT_DMG_PALETTE EQU %11100100
STACK_SIZE EQU $10
; Menu Symbol Definitions
MENU_1PLAYER_Y EQU 120
MENU_2PLAYER_Y EQU 136
MENU_FADEIN_TIMEOUT EQU 5
; Main Gameplay Symbol Definitions
GAMEPLAY_TILE_EMPTY EQU 8
CURSOR_BASE_POS_Y EQU 30
CURSOR_BASE_POS_X EQU... |
programs/oeis/173/A173536.asm | karttu/loda | 1 | 178492 | ; A173536: A173039(n) + A173259(n).
; 1,0,1,9,4,25,49,16,81,121,36,169,225,64,289,361,100,441,529,144,625,729,196,841,961,256,1089,1225,324,1369,1521,400,1681,1849,484,2025,2209,576,2401,2601,676,2809,3025,784,3249,3481,900,3721,3969,1024,4225,4489,1156,4761,5041,1296,5329
cal $0,265667 ; Permutation of nonnegative in... |
Task/Partial-function-application/Ada/partial-function-application.ada | LaudateCorpus1/RosettaCodeData | 1 | 9119 | with Ada.Text_IO;
procedure Partial_Function_Application is
type Sequence is array(Positive range <>) of Integer;
-- declare a function FS with a generic parameter F and a normal parameter S
generic
with function F(I: Integer) return Integer; -- generic parameter
function FS (S: Sequence) return Se... |
25-My-First-Shredding-Memory.size.asm | blueset/7bh-solutions | 0 | 28993 | -- 7 Billion Humans --
-- 25: My First Shredding Memory --
-- Size: 5/5 --
-- Speed: 140/134 --
mem2 = nearest shredder
a:
mem1 = nearest datacube
pickup mem1
giveto mem2
jump a
|
Definition/LogicalRelation/Properties/Conversion.agda | CoqHott/logrel-mltt | 2 | 5471 | <reponame>CoqHott/logrel-mltt
{-# OPTIONS --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Properties.Conversion {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped
open import Definition.Typed
open import Definition.Typed.RedSteps
open import Def... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstbus_h.ads | persan/A-gst | 1 | 779 | <filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstbus_h.ads
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib.Values;
with System;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstmessage_h;
with GStreamer.GST_Low_Level.gstreame... |
source/amf/uml/amf-internals-uml_operation_template_parameters.adb | svn2github/matreshka | 24 | 27873 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
home/fade.asm | Dev727/ancientplatinum | 28 | 177353 | ; Functions to fade the screen in and out.
RotateFourPalettesRight::
ldh a, [hCGB]
and a
jr z, .dmg
ld hl, IncGradGBPalTable_00
ld b, 4
jr RotatePalettesRight
.dmg
ld hl, IncGradGBPalTable_08
ld b, 4
jr RotatePalettesRight
RotateThreePalettesRight::
ldh a, [hCGB]
and a
jr z, .dmg
ld hl, IncGradGBPalTabl... |
Transynther/x86/_processed/P/_zr_un_/i3-7100_9_0x84_notsx.log_576_724.asm | ljhsiun2/medusa | 9 | 86361 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x727f, %rcx
nop
nop
nop
nop
add %r13, %r13
mov (%rcx), %rbp
nop
nop
nop
nop
nop
dec %r9
lea addresses_A_ht+0x1d5ed, %rdx
nop
nop
nop
cmp %rbx, %rbx
mov $0x6162636465... |
Appl/coop/FreeCell/freecell.asm | steakknife/pcgeos | 504 | 82016 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1993 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: freecell.asm
AUTHOR: <NAME>, July 8, 1993
ROUTINES:
Name Description
---- -----------
FreeCellProcessOpenApplication Initial han... |
Bootloader programming/hello.asm | suriya-1403/Assemble-language | 0 | 85153 | [BITS 16]
[ORG 0x7C00]
MOVE SI, helloString
CALL PrintString
JMP $
Printcharacter:
MOV AH,0x0E
MOV BH,0x00
MOV BL,0x07
INT 0x10
RET
PrintString:
next_character:
MOV AL,[SI]
INC SI
OR AL,AL
JZ exit_function
CALL Printcharacter
JMP next_character
exit_function:
RET
helloString: db 'Hello World!',0
TIMES 510 - ($-$$... |
programs/oeis/135/A135449.asm | karttu/loda | 0 | 13889 | ; A135449: Period 5: repeat 1, 9, -7, 3, 5.
; 1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1,9,-7,3,5,1
add $0,1
mov $1,16
mov $2,3
mov $3,4
lpb $0,1
sub $0,1
div... |
FormalAnalyzer/models/apps/PowerIsOut.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 2646 | module app_PowerIsOut
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_motionSensor
open cap_userInput
one sig app_PowerIsOut extends IoTApp {
motion1 : one cap_motionSensor,
phone1 : one cap_userInput,
} {
rules = r
//capabilities = motion1 + phone1
}
abstract sig cap_userInput_attr_pho... |
Appl/GeoCalc/Document/documentHead.asm | steakknife/pcgeos | 504 | 167902 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC/GEOS
MODULE: documentHead.asm<2>
FILE: documentHead.asm<2>
AUTHOR: <NAME>, <NAME>, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTO... |
oeis/092/A092476.asm | neoneye/loda-programs | 11 | 14632 | ; A092476: Numbers that are congruent to {1, 3, 9} mod 13.
; Submitted by <NAME>
; 1,3,9,14,16,22,27,29,35,40,42,48,53,55,61,66,68,74,79,81,87,92,94,100,105,107,113,118,120,126,131,133,139,144,146,152,157,159,165,170,172,178,183,185,191,196,198,204,209,211,217,222,224,230,235,237,243,248,250,256,261,263,269,274,276,282... |
prototyping/Luau/Value.agda | Tr4shh/Roblox-Luau | 0 | 10945 | module Luau.Value where
open import Agda.Builtin.Float using (Float)
open import Luau.Addr using (Addr)
open import Luau.Syntax using (Block; Expr; nil; addr; number)
open import Luau.Var using (Var)
data Value : Set where
nil : Value
addr : Addr → Value
number : Float → Value
val : ∀ {a} → Value → Expr a
val ... |
Structure/Categorical/Properties.agda | Lolirofle/stuff-in-agda | 6 | 4541 | module Structure.Categorical.Properties where
import Functional.Dependent as Fn
open import Lang.Instance
import Lvl
open import Logic
open import Logic.Predicate
open import Logic.Propositional
open import Structure.Setoid
import Structure.Categorical.Names as Names
import Structure.Operator.Names... |
libsrc/_DEVELOPMENT/string/c/sdcc_iy/strrev_fastcall.asm | meesokim/z88dk | 0 | 2270 |
; char *strrev_fastcall(char *s)
SECTION code_string
PUBLIC _strrev_fastcall
EXTERN asm_strrev
defc _strrev_fastcall = asm_strrev
|
cards/bn5/ChipTransmission/136-G001 LeaderR.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | 10 | 81979 | <filename>cards/bn5/ChipTransmission/136-G001 LeaderR.asm<gh_stars>1-10
.include "defaults_chip.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 2
card... |
source/boot/constants.asm | kaiserschmarrn0/takao | 0 | 166304 | %define kernelPhysicalOffset 0xFFFFFFFFC0000000
|
programs/oeis/195/A195046.asm | karttu/loda | 0 | 22969 | <filename>programs/oeis/195/A195046.asm<gh_stars>0
; A195046: Concentric 15-gonal numbers.
; 0,1,15,31,60,91,135,181,240,301,375,451,540,631,735,841,960,1081,1215,1351,1500,1651,1815,1981,2160,2341,2535,2731,2940,3151,3375,3601,3840,4081,4335,4591,4860,5131,5415,5701,6000,6301,6615,6931,7260,7591,7935,8281,8640,9001,93... |
tools/generator/meta.ads | reznikmm/gela | 0 | 25581 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package Meta is
pragma Pure;
end Meta; |
lab15/cases/potter.asm | Brant-Skywalker/ZJUI-ECE-120-SP21 | 0 | 84347 | ; sample test file for lab 14
.ORIG x5000
.FILL x40
.FILL x2E
.STRINGZ "poTTer."
.END
|
AMPS/code/Data.asm | NatsumiFox/AMPS-Sonic-3-Knuckles | 5 | 97532 | <reponame>NatsumiFox/AMPS-Sonic-3-Knuckles
; ===========================================================================
; ---------------------------------------------------------------------------
; Flags section. None of this is required, but I added it here to
; make it easier to debug built ROMS! If you would like... |
programs/oeis/132/A132226.asm | neoneye/loda | 22 | 240887 | ; A132226: Placement sequence for the dense normalized fractal sequence A132224.
; 1,2,3,2,5,4,3,2,9,8,7,6,5,4,3,2,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,33,32,31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,65,64,63,62,61,60,59,58,57,56,55,54,53,52,51,50,49,48,47,46,45,44,43,42,41,40... |
mappings/c11_ppc.als | graymalkin/memalloy | 0 | 1317 | open ../archs/exec_C[SE] as SW
open ../archs/exec_ppc[HE] as HW
/*
A C11-to-Power mapping.
*/
module c11_ppc[SE,HE]
pred apply_map[X:Exec_C, X':Exec_PPC, map:SE->HE] {
X.EV = SE
X'.EV = HE
// two SW events cannot be compiled to a single HW event
map in X.EV lone -> X'.EV
// HW reads/writes cannot... |
programs/oeis/008/A008599.asm | neoneye/loda | 22 | 19262 | ; A008599: Multiples of 17.
; 0,17,34,51,68,85,102,119,136,153,170,187,204,221,238,255,272,289,306,323,340,357,374,391,408,425,442,459,476,493,510,527,544,561,578,595,612,629,646,663,680,697,714,731,748,765,782,799,816,833,850,867,884,901,918,935,952,969,986,1003,1020,1037,1054,1071,1088,1105,1122,1139,1156,1173,1190,1... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c41203b.ada | best08618/asylo | 7 | 4458 | <reponame>best08618/asylo
-- C41203B.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contai... |
programs/oeis/115/A115364.asm | neoneye/loda | 22 | 179493 | ; A115364: a(n) = A000217(A001511(n)), where A001511 is one more than the 2-adic valuation of n, and A000217(n) is the n-th triangular number, binomial(n+1, 2).
; 1,3,1,6,1,3,1,10,1,3,1,6,1,3,1,15,1,3,1,6,1,3,1,10,1,3,1,6,1,3,1,21,1,3,1,6,1,3,1,10,1,3,1,6,1,3,1,15,1,3,1,6,1,3,1,10,1,3,1,6,1,3,1,28,1,3,1,6,1,3,1,10,1,3,... |
programs/oeis/034/A034387.asm | jmorken/loda | 1 | 92361 | ; A034387: Sum of primes <= n.
; 0,2,5,5,10,10,17,17,17,17,28,28,41,41,41,41,58,58,77,77,77,77,100,100,100,100,100,100,129,129,160,160,160,160,160,160,197,197,197,197,238,238,281,281,281,281,328,328,328,328,328,328,381,381,381,381,381,381,440,440,501,501,501,501,501,501,568,568,568,568,639,639,712,712,712,712,712,712,7... |
programs/oeis/143/A143901.asm | karttu/loda | 1 | 90131 | ; A143901: Rectangular array R by antidiagonals: R(m,n) = floor((m*n+1)/2).
; 1,1,1,2,2,2,2,3,3,2,3,4,5,4,3,3,5,6,6,5,3,4,6,8,8,8,6,4,4,7,9,10,10,9,7,4,5,8,11,12,13,12,11,8,5,5,9,12,14,15,15,14,12,9,5,6,10,14,16,18,18,18,16,14,10,6,6,11,15,18,20,21,21,20,18,15,11,6,7,12,17,20,23,24,25,24
cal $0,59036 ; In a triangle o... |
test/Fail/TermSplicing1.agda | cruhland/agda | 1,989 | 8056 | open import Common.Prelude
open import Common.Reflection
module TermSplicing1 where
x = unquote (give Set)
|
alloy4fun_models/trashltl/models/12/oz9keCq89FbgTtZhG.als | Kaixi26/org.alloytools.alloy | 0 | 1040 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idoz9keCq89FbgTtZhG_prop13 {
always some f : File | f in Trash implies once f not in Trash
}
pred __repair { idoz9keCq89FbgTtZhG_prop13 }
check __repair { idoz9keCq89FbgTtZhG_prop13 <=> prop13o } |
Lista2/Lista2/Parte2/Programa14.asm | GustavoLR548/ACII-GLR | 1 | 6340 | .data
TEMP: .word 51
FLAG: .word -2
.text
#Pegando o endereco base da data
main:
ori $t0,$zero,0x1001 # t0 = 1001 # Observacao: t0 eh o vetor
sll $t0,$t0,16 # t0 = t0 *= 2^16 = 10010000
addi $t1,$zero, 30 # t1 = 0 + 30
addi $t2,$zero, 50 # t2 = 0 + 50
lw $s0,0($t0) # Resgatar o valor em "0(t0)"
#Primeiro Teste do ... |
libsrc/_DEVELOPMENT/compress/aplib/z80/__aplib_getbit.asm | jpoikela/z88dk | 640 | 21862 | <reponame>jpoikela/z88dk
SECTION code_clib
SECTION code_compress_aplib
PUBLIC __aplib_getbit
EXTERN __aplib_var_bits
__aplib_getbit:
push bc
ld bc,(__aplib_var_bits)
rrc c
jr nc, l0
ld b,(hl)
inc hl
l0: ld a,c
and b
ld (__aplib_var_bits),bc
pop bc
ret
|
Cats/Category/Constructions/Exponential.agda | JLimperg/cats | 24 | 14189 | {-# OPTIONS --without-K --safe #-}
module Cats.Category.Constructions.Exponential where
open import Level
open import Cats.Category.Base
open import Cats.Category.Constructions.Product as Product using
(HasBinaryProducts)
open import Cats.Util.Conv
import Cats.Category.Constructions.Iso as Iso
import Cats.Category... |
source/rom30/r30_fadeLut.asm | evanbowman/Red | 5 | 22314 | SECTION "FADE_TO_WHITE_LUT", ROMX, BANK[30]
SprFadeToWhiteLut::
.blend_0::
DB $00,$00, $69,$72, $1A,$20, $03,$00,
DB $00,$00, $FF,$7F, $F8,$37, $5F,$19,
DB $00,$00, $B0,$61, $1A,$20, $03,$00,
DB $00,$00, $57,$73, $49,$2D, $21,$08,
DB $00,$00, $FF,$18, $49,$2D, $21,$08,
DB $00,$00, $00,$00, $00,$00, $00,$00,
DB $00,$0... |
sdk-6.5.16/tools/led/example/lm12pcx456501.asm | copslock/broadcom_cpri | 0 | 172307 | ;
;
;
; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
;
; Copyright 2007-2019 Broadcom Inc. All rights reserved.
;
;
; This is the default program for the 12 port 56501 based CX4 LM
; To start it, use the following commands from BCM... |
1-base/math/source/generic/pure/geometry/any_math-any_geometry.ads | charlie5/lace | 20 | 6613 | generic
package any_Math.any_Geometry
--
-- Provides a namespace and core types for geometry.
--
is
pragma Pure;
subtype Vertex_Id is Index;
type Vertex_Ids is array (Index range <>) of Vertex_Id;
subtype Triangle is Vertex_Ids (1 .. 3);
type Triangles is array (Index range <>) of Triangle;
... |
programs/oeis/132/A132297.asm | neoneye/loda | 22 | 82482 | ; A132297: Number of distinct Markov type classes of order 2 possible in binary strings of length n.
; 4,7,12,18,26,35,46,58,72,87,104,122,142,163,186,210,236,263,292
add $0,1
lpb $0
add $1,$0
cmp $2,0
mul $2,$0
sub $0,1
add $1,$2
lpe
add $1,2
mov $0,$1
|
oeis/206/A206248.asm | neoneye/loda-programs | 11 | 26008 | <reponame>neoneye/loda-programs
; A206248: Number of (n+1) X 2 0..3 arrays with every 2 X 2 subblock having zero permanent.
; 49,361,1600,9409,47089,258064,1343281,7198489,37945600,201895681,1068570721,5672499856,30061664689,159465247561,845443470400,4483691905729,23774527583569,126075439502224,668536407557041,35451386... |
linear_algebra/banded_lu.ads | jscparker/math_packages | 30 | 16185 | <reponame>jscparker/math_packages<gh_stars>10-100
---------------------------------------------------------------------------------
-- package Banded_LU, LU decomposition, equation solving for banded matrices
-- Copyright (C) 1995-2018 <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for... |
src/numerics-sparse_matrices-has_same_dimensions.adb | sciencylab/lagrangian-solver | 0 | 13717 | <gh_stars>0
separate (Numerics.Sparse_Matrices)
function Has_Same_Dimensions (Left, Right : in Sparse_Matrix) return Boolean is
begin
if Left.N_Row /= Right.N_Row or else Left.N_Col /= Right.N_Col then
return False;
end if;
return True;
end Has_Same_Dimensions;
|
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-nashfl.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 2410 | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-nashfl.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
snippets/asm_read/osm.asm | dejbug/protocasm | 0 | 7087 |
; osm.asm - Yet another *.osm.pbf files parser.
; <https://github.com/dejbug>
; format PE GUI 4.0
format PE console 4.0
include 'win32a.inc'
include 'debug.inc'
ERROR_HANDLE_EOF = 38
LANG_NEUTRAL = 0x00
SUBLANG_DEFAULT = 0x01
LANGID = (SUBLANG_DEFAULT shl 10) + LANG_NEUTRAL
; no section defined ... |
test/shrd.asm | killvxk/AssemblyLine | 147 | 246248 | <reponame>killvxk/AssemblyLine<filename>test/shrd.asm
SECTION .text
GLOBAL test
test:
shrd rax, rax, 0
shrd rax, rax, 1
shrd rax, rax, 2
shrd rax, rax, 3
shrd rax, rax, 4
shrd rax, rax, 5
shrd rax, rax, 6
shrd rax, rax, 7
shrd rax, rax, 8
shrd rax, rax, 9
shrd rax, rax, 10
shrd rax, rax, 11
shrd rax, rax, 12
shrd rax, ... |
2ndSemester/Operating Systems/Lab8/Built-in Macros/Lab8.asm | xairaven/kpi_labs | 0 | 173015 | ; Built-in macro
INIT MACRO ; Data segment initialization macro
MOV AX, data ; Initialization of register DS
MOV DS, AX ; with data segment address
XOR AX, AX ; Clear АХ
ENDM ; End of macro
EXIT_LAB MACRO ; Program completion macro
MOV AH, 4Ch ; Completion of the program ... |
oeis/167/A167008.asm | neoneye/loda-programs | 11 | 160175 | <reponame>neoneye/loda-programs
; A167008: a(n) = Sum_{k=0..n} C(n,k)^k.
; Submitted by <NAME>
; 1,2,4,14,106,1732,66634,5745700,1058905642,461715853196,461918527950694,989913403174541980,5009399946447021173140,60070720443204091719085184,1548154498059133199618813305334,92346622775540905956057053976278584,13452832504832... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto9_pkg2.ads | best08618/asylo | 7 | 23777 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto9_pkg2.ads<gh_stars>1-10
generic
Size : in Positive;
type Element_Type (<>) is private;
type Element_Ptr is access all Element_Type;
package Lto9_Pkg2 is
subtype Index is Positive range 1 .. (Size + 1);
type List_Array is array (Index) of... |
wallpaper-one/emulator/Assembler/octalmonitor.asm | paulscottrobson/assorted-archives | 0 | 241011 | ; ******************************************************************************************************************
;
; Octal Monitor with Display.
;
; ******************************************************************************************************************
AddressHigh = 0 ; 0x800 Add... |
libsrc/target/nc100/mcprintchar.asm | jpoikela/z88dk | 640 | 28325 | <reponame>jpoikela/z88dk
SECTION code_clib
PUBLIC mcprintchar
PUBLIC _mcprintchar
; Fastcall
._mcprintchar
.mcprintchar ld a, l
call 0xb851
ld hl, 0
ret c
dec hl
ret
|
src/fot/FOTC/Program/McCarthy91/McCarthy91.agda | asr/fotc | 11 | 16987 | ------------------------------------------------------------------------------
-- The McCarthy 91 function: A function with nested recursion
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS -... |
launcher/launcher.asm | nsn/vcsdev | 0 | 161537 | <gh_stars>0
; Lunar Launcher
; (c) 2018 <NAME>
;
;
; TODO
;
processor 6502
include "vcs.h"
include "macro.h"
;----------------------------
; Constants
;----------------------------
; ntsc constants
VBLANK_WAIT = 42
PLAY_SCANLINES = 160
; Game constants
PLAYER_SPEED = 300 ; subpixel speed, div by ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64105c.ada | best08618/asylo | 7 | 1027 | <reponame>best08618/asylo<gh_stars>1-10
-- C64105C.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and docume... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45632a.ada | best08618/asylo | 7 | 28165 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45632a.ada
-- C45632A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimi... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i3-7100_9_0x84_notsx.log_21829_2171.asm | ljhsiun2/medusa | 9 | 4601 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_ht_zr_/i3-7100_9_0x84_notsx.log_21829_2171.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x4457, %r8
nop
sub %r9, %r9
movb $0x61, (%r8)
n... |
oeis/011/A011922.asm | neoneye/loda-programs | 11 | 246914 | ; A011922: a(n) = 15*a(n-1) - 15*a(n-2) + a(n-3).
; Submitted by <NAME>
; 1,3,33,451,6273,87363,1216801,16947843,236052993,3287794051,45793063713,637815097923,8883618307201,123732841202883,1723376158533153,24003533378261251,334326091137124353,4656561742541479683,64857538304443591201,903348974519668797123,12582028104970... |
Library/Mailbox/VMStore/vmstoreManager.asm | steakknife/pcgeos | 504 | 97432 | <filename>Library/Mailbox/VMStore/vmstoreManager.asm<gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT: Clavin
MODULE: Intelligent VM Storage
FILE: vmstoreManager.asm
AUTHOR: <NAME>, Apr 14, 1994
... |
oeis/315/A315756.asm | neoneye/loda-programs | 11 | 97394 | <reponame>neoneye/loda-programs
; A315756: Coordination sequence Gal.6.637.6 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>
; 1,6,12,18,24,28,34,38,44,50,56,62,68,74,80,86,90,96,100,106,112,118,124,130,136,142,14... |
programs/oeis/283/A283508.asm | neoneye/loda | 22 | 104187 | <gh_stars>10-100
; A283508: Binary representation of the x-axis, from the origin to the right edge, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 643", based on the 5-celled von Neumann neighborhood.
; 1,10,101,1011,10111,101111,1011111,10111111,101111111,1011111111,10111111111,... |
programs/oeis/080/A080036.asm | karttu/loda | 0 | 18579 | ; A080036: a(n) = n + round(sqrt(2*n)) + 1.
; 1,3,5,6,8,9,10,12,13,14,15,17,18,19,20,21,23,24,25,26,27,28,30,31,32,33,34,35,36,38,39,40,41,42,43,44,45,47,48,49,50,51,52,53,54,55,57,58,59,60,61,62,63,64,65,66,68,69,70,71,72,73,74,75,76,77,78,80,81,82,83,84,85,86,87,88,89,90,91,93,94,95,96,97,98,99,100,101,102,103,104,10... |
tests/syntax_examples/src/other_basic_subprogram_calls.ads | TNO/Dependency_Graph_Extractor-Ada | 1 | 1502 | <gh_stars>1-10
package Other_Basic_Subprogram_Calls is
function Other_F1 return Integer;
procedure Other_P1;
end Other_Basic_Subprogram_Calls;
|
oeis/076/A076507.asm | neoneye/loda-programs | 11 | 25773 | ; A076507: Three people (P1, P2, P3) are in a circle and are saying Hello to each other. They start with P2 saying "Hello, Hello". Thereafter Pn says "Hello" for n times the total number of Hello's so far.
; 2,6,8,32,144,192,768,3456,4608,18432,82944,110592,442368,1990656,2654208,10616832,47775744,63700992,254803968,11... |
programs/oeis/266/A266733.asm | karttu/loda | 1 | 8745 | <reponame>karttu/loda
; A266733: a(n) = 21*binomial(n+6,7).
; 0,21,168,756,2520,6930,16632,36036,72072,135135,240240,408408,668304,1058148,1627920,2441880,3581424,5148297,7268184,10094700,13813800,18648630,24864840,32776380,42751800,55221075,70682976,89713008,112971936,141214920,175301280,216204912,265025376,322999677,... |
notes/agda-interface/OptionPragmaCommandLine.agda | asr/apia | 10 | 3809 | -- Testing how the pragmas are saved in the agda interface files (using
-- the program dump-agdai) when they are used from the command-line:
-- $ agda --no-termination-check OptionPragmaCommandLine.agda
-- 17 October 2012. Because the PragmaOption --no-termination-check
-- was used from the command-line it is *not* s... |
inst/scripts/create-new.applescript | gaborcsardi/keynote | 27 | 4059 |
on run argv
set thm to item 1 of argv
tell application "Keynote"
if thm = "-" then
make new document
else
make new document with properties ¬
{ document theme: theme thm }
end if
end tell
end run
|
praks1/kodu/kodu1.asm | Leonid-98/AVR_ASM | 0 | 95897 | ldi r16, 0xFF
out 0x01, r16
main_loop:
out 0x02, r16
inc r16
ldi r17, 0xFF
delay_loop:
nop
nop
dec r17
brne delay_loop
rjmp main_loop
// 2 + 3 + (5*255 - 1) = 1279
// outer + inner + delay_loop |
ejercicios6/prueba_calcular_maximo_y_posicion.adb | iyan22/AprendeAda | 0 | 21971 | <gh_stars>0
with Ada.Text_Io, Ada.Integer_Text_Io, Datos;
with Crear_Lista_Vacia, Ins, Esc, Calcular_Maximo_y_Posicion;
use Datos;
use Ada.Text_Io, Ada.Integer_Text_Io;
procedure Prueba_Calcular_Maximo_y_posicion is
Lis : Lista; -- variable del programa principal
Maximo, Posicion: Integer;
procedure Pe... |
test/in-development/profiler.asm | jfrech/Joy-Assembler | 0 | 28024 | <filename>test/in-development/profiler.asm
pragma_embed-profiler-output := true
mov 0
mov 1
profiler start, one instruction
nop
profiler stop, one instruction
profiler start, loop test
mov 4
loop:
dec
jnz @loop
profiler stop, loop test
hlt
|
alloy4fun_models/trainstlt/models/1/AhCBdkvvNarRnw26F.als | Kaixi26/org.alloytools.alloy | 0 | 5030 | open main
pred idAhCBdkvvNarRnw26F_prop2 {
eventually Signal = Green
}
pred __repair { idAhCBdkvvNarRnw26F_prop2 }
check __repair { idAhCBdkvvNarRnw26F_prop2 <=> prop2o } |
archs/exec_x86.als | graymalkin/memalloy | 0 | 1922 | <gh_stars>0
module exec_x86[E]
open exec_H[E]
sig Exec_X86 extends Exec_H {
LOCKED : set E, // atomic events
MFENCE : set E // memory fence
}{
MFENCE in F
// only RMWs can be locked
LOCKED in univ.atom + atom.univ
// the atom relation only relates locked instructions
atom in (LOCKED -> LOCKED)
}
... |
Cubical/Algebra/AbGroup/Instances/NProd.agda | thomas-lamiaux/cubical | 0 | 14757 | {-# OPTIONS --safe #-}
module Cubical.Algebra.AbGroup.Instances.NProd where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Nat using (ℕ)
open import Cubical.Algebra.Group
open import Cubical.Algebra.Group.Instances.NProd
open import Cubical.Algebra.AbGroup
private variable
ℓ : Level
open AbGrou... |
arch/ARM/Nordic/drivers/nrf52/nrf-tasks.ads | BaderKashkash/Ada_Drivers_Library | 1 | 18949 | <filename>arch/ARM/Nordic/drivers/nrf52/nrf-tasks.ads
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016-2020, AdaCore --
-- ... |
PJ Grammar/Identifiers.g4 | Diolor/PJ | 0 | 1895 | lexer grammar Identifiers;
// IDENTIFIERS (must appear after all keywords in the grammar)
Identifier
: JavaLetter JavaLetterOrDigit*
;
fragment
JavaLetter
: [a-zA-Z$_] // these are the "java letters" below 0xFF
| // covers all characters above 0xFF which are not a surrogate
~[\u0000-\u0... |
boot/print16.asm | kbrsh/arc | 39 | 99460 | <gh_stars>10-100
; 16 Bit Print
[bits 16]
; Print Function
print16:
pusha ; Push registers to stack
mov ah, 0x0e ; Switch to TTY Mode
; Printing Loop
print16Loop:
mov al, [bx] ; Set register to current character pointer to memory
cmp al, 0 ; Compare index to 0 to see if string ended
je print16End ; If strin... |
embedvm/tests/test_pointer.asm | tcr/avrvm | 2 | 173185 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Label(id='label1')
PushConstantV(value=2)
GlobalLoad16(nargs=1, popoffset=True, address=8)
PushConstantV(value=1)
GlobalLoad16(nargs=1, popoffset=True, address=8)
PushConstantV(value=0)
GlobalLoad16(nargs=1, popoffset=True, address=8)
PushConstantV(value=2)
GlobalLoadS8(nargs=... |
source/tasking/required/s-tadeca.ads | ytomino/drake | 33 | 14568 | <filename>source/tasking/required/s-tadeca.ads<gh_stars>10-100
pragma License (Unrestricted);
-- implementation unit required by compiler
with Ada.Calendar;
function System.Tasking.Async_Delays.Enqueue_Calendar (
T : Ada.Calendar.Time;
D : not null access Delay_Block)
return Boolean;
|
tests/messages-test_data-tests.adb | thindil/steamsky | 80 | 10046 | <gh_stars>10-100
-- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-- code intended to set up an... |
oeis/163/A163471.asm | neoneye/loda-programs | 11 | 166227 | ; A163471: a(n) = 10*a(n-1) - 22*a(n-2) for n > 1; a(0) = 3, a(1) = 18.
; Submitted by <NAME>(s1)
; 3,18,114,744,4932,32952,221016,1485216,9989808,67223328,452457504,3045661824,20502553152,138020971392,929153544576,6255074075136,42109362770688,283481998053888,1908413999583744,12847536038651904,86490252395676672,5822567... |
Assembler/AssemblyCode/LowLevel/FLAGS_SAVE_RESTORE.asm | KPU-RISC/KPU | 8 | 88661 | <gh_stars>1-10
; Set register D to "00000100"
SET A, "0000"
SET B, "0100"
SHL
MOV_ALU_C_TO_AB A
SHL
MOV_ALU_C_TO_AB A
SHL
MOV_ALU_C_TO_AB A
SHL
MOV_ALU_C_TO_AB A
OR
MOV_ALU_OUT D
; Set register E to "00000100"
SET A, "0000"
SET B, "0100"
SHL
MOV_ALU_C_TO_AB A
SHL
MOV_ALU_C_TO_AB A
SHL
MOV_ALU_C_TO_AB A
SHL
MOV_ALU_C_T... |
oeis/177/A177057.asm | neoneye/loda-programs | 11 | 247734 | <reponame>neoneye/loda-programs<filename>oeis/177/A177057.asm
; A177057: Decimal expansion of 7/6.
; Submitted by <NAME>
; 1,1,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6... |
Kernel/asm/interrupts.asm | mcornidez/TP2-SO | 0 | 169679 | GLOBAL _cli, _sti, picMasterMask, picSlaveMask, haltcpu, _hlt
GLOBAL _irq00Handler, _irq01Handler, _irq02Handler
GLOBAL _irq03Handler
GLOBAL _irq04Handler
GLOBAL _irq05Handler
GLOBAL _sysCallHandler
GLOBAL _exception0Handler
GLOBAL _exception6Handler
EXTERN irqDispatcher
EXTERN sysCallDispatcher
EXTERN ... |
programs/oeis/040/A040255.asm | karttu/loda | 1 | 177165 | <gh_stars>1-10
; A040255: Continued fraction for sqrt(272).
; 16,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32
sub $0,1
mod $0,2
mul $0,11
add $0,2
pow $0,2
mov $1,$0
div $1,11
mul... |
src/qweyboard/qweyboard-languages.ads | kqr/qweyboard | 33 | 16581 | <filename>src/qweyboard/qweyboard-languages.ads<gh_stars>10-100
with Unicode_Strings; use Unicode_Strings;
with Ada.Containers.Vectors;
with Ada.Containers.Ordered_Maps;
private with Logging;
package Qweyboard.Languages is
use Unbounded;
package Key_Vectors is new Ada.Containers.Vectors (Index_Type => Positi... |
src/infrastructure/infrastructure.adb | AdamSzerszen/Concurrency_v.2.0 | 0 | 4972 | <reponame>AdamSzerszen/Concurrency_v.2.0<gh_stars>0
with Ada.Text_IO; use Ada.Text_IO;
package body Infrastructure is
protected body Steering is
entry SetNumber(CorrectNumber: in SteeringNumber)
when OwnNumber = -1 is
begin
OwnNumber := CorrectNumber;
end;
entry Incoming(Cur... |
oeis/158/A158129.asm | neoneye/loda-programs | 11 | 140 | ; A158129: 100n^2 - 2n.
; 98,396,894,1592,2490,3588,4886,6384,8082,9980,12078,14376,16874,19572,22470,25568,28866,32364,36062,39960,44058,48356,52854,57552,62450,67548,72846,78344,84042,89940,96038,102336,108834,115532,122430,129528,136826,144324,152022,159920,168018,176316,184814,193512,202410,211508,220806,230304,240... |
audio/music/unusedsong.asm | opiter09/ASM-Machina | 1 | 14184 | Music_UnusedSong_Ch1::
tempo 144
volume 7, 7
vibrato 5, 1, 6
Music_UnusedSong_branch_a91b::
note_type 12, 1, 0
octave 6
note E_, 1
rest 1
octave 5
note B_, 1
rest 1
octave 6
note C#, 1
rest 1
octave 5
note B_, 1
octave 6
note E_, 1
rest 4
note E_, 2
rest 2
note D#, 1
rest 1
octave 5
note B_, 1
... |
3-mid/opengl/source/lean/light/opengl-light.ads | charlie5/lace | 20 | 15821 | <gh_stars>10-100
package openGL.Light
--
-- Models a light.
--
is
type Item is abstract tagged private;
function is_On (Self : in Item) return Boolean;
procedure is_On (Self : in out Item; Now : in Boolean := True);
function Site (Self : in Item) return openGL.Site;
procedur... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.