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 |
|---|---|---|---|---|
oeis/142/A142235.asm | neoneye/loda-programs | 11 | 243174 | <gh_stars>10-100
; A142235: Primes congruent to 38 mod 41.
; Submitted by <NAME>
; 79,571,653,1063,1637,1801,2129,2293,2539,2621,3359,3769,3851,4261,4507,4999,5081,5573,5737,6229,6311,6803,6967,7213,7459,7541,7951,8443,8689,9181,10247,10657,10739,10903,11149,11887,11969,12379,12953,13691,14347,14593,15331,15413,15823,1... |
day13/src/day.adb | jwarwick/aoc_2020 | 3 | 11745 | -- AoC 2020, Day 13
with Ada.Text_IO;
with GNAT.String_Split;
use GNAT;
package body Day is
package TIO renames Ada.Text_IO;
function load_file(filename : in String) return Schedule is
file : TIO.File_Type;
earliest : Long_Long_Integer;
departs : Depart_Vectors.Vector := Empty_Vector;
offsets : De... |
programs/oeis/112/A112652.asm | jmorken/loda | 1 | 24356 | <reponame>jmorken/loda<gh_stars>1-10
; A112652: a(n) squared is congruent to a(n) (mod 12).
; 0,1,4,9,12,13,16,21,24,25,28,33,36,37,40,45,48,49,52,57,60,61,64,69,72,73,76,81,84,85,88,93,96,97,100,105,108,109,112,117,120,121,124,129,132,133,136,141,144,145,148,153,156,157,160,165,168,169,172,177,180,181,184,189,192,193,... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-regist.adb | orb-zhuchen/Orb | 0 | 7860 | <filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-regist.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2310.asm | ljhsiun2/medusa | 9 | 16446 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x296b, %r11
clflush (%r11)
and $64393, %r10
movb $0x61, (%r11)
nop
nop
dec %rdi
lea addresses_D_ht+0x1d567, %rsi
lea addresses_normal_ht+0x1ee23, %rdi
nop
nop
nop
sub %rbp, %... |
src/ptrace_binding/asm_generic_posix_types_h.ads | mgrojo/smk | 10 | 26668 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Strings;
package asm_generic_posix_types_h is
-- SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
-- * This file is generally used by user-level software, so you need to
-- * be a little careful about n... |
Categories/Fam.agda | copumpkin/categories | 98 | 11450 | module Categories.Fam where
open import Level
open import Relation.Binary using (Rel)
import Relation.Binary.HeterogeneousEquality as Het
open Het using (_≅_) renaming (refl to ≣-refl)
open import Categories.Support.PropositionalEquality
open import Categories.Category
module Fam {a b : Level} where
record Fam : ... |
libsrc/_DEVELOPMENT/EXAMPLES/zx/demo_sp1/BlackStar/src/playfx.asm | jpoikela/z88dk | 640 | 172838 | <reponame>jpoikela/z88dk
SECTION code_user
PUBLIC _playfx
_playfx:
; void playfx(unsigned int fx)
; fastcall linkage
; fastcall linkage means
; hl = fx
add hl,hl
ld bc,sfxData
add hl,bc
ld a,(hl)
inc hl
ld h,(hl)
ld l,a
; zsdcc needs ix preserved
push ix
; The Z88DK libr... |
maps/RedsHouse1F.asm | zavytar/pokecolorless | 0 | 24008 | object_const_def ; object_event constants
const REDSHOUSE1F_REDS_MOM
RedsHouse1F_MapScripts:
db 1 ; scene scripts
scene_script .DummyScene
db 0 ; callbacks
.DummyScene:
end
RedsMom:
faceplayer
opentext
writetext RedsMomText1
waitbutton
closetext
end
RedsHouse1FTV:
jumptext RedsHouse1FTVText
RedsHouse... |
HimemSX.asm | Baron-von-Riedesel/HimemSX | 22 | 84260 |
;--- HimemSX, XMM able to manage up to 1 TB memory.
;--- assembly time parameters
DRIVER_VER equ 300h+52h
VERSIONSTR equ <'3.52'>
INTERFACE_VER equ 350h
lf equ 10
ifndef NUMHANDLES
NUMHANDLES equ 48 ;std 48, default number of handles
endif
MAXHANDLES equ 128 ;std 128, max. number... |
src/svd/sam_svd-pdec.ads | Fabien-Chouteau/samd51-hal | 1 | 14775 | <gh_stars>1-10
pragma Style_Checks (Off);
-- This spec has been automatically generated from ATSAMD51G19A.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package SAM_SVD.PDEC is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Operation Mode
type CT... |
Transynther/x86/_processed/NONE/_ht_zr_/i9-9900K_12_0xca.log_21829_1820.asm | ljhsiun2/medusa | 9 | 169888 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_ht_zr_/i9-9900K_12_0xca.log_21829_1820.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xc12a, %r13
nop
sub %r14, %r14
movb $0x61, (%r13)
nop
nop
xor %r1... |
libsrc/oz/ozdetectmodel.asm | grancier/z180 | 0 | 98066 | ;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by <NAME>
; by <NAME> - Oct. 2003
;
;
; Detect the OZ model
;
;; ozmodel:
;;
;; bit 0: 0 if 700/730 and 1 if 750/770
;; bit 1: 0 if <770 and 1 if 770
;; bit 2: 0 if 7xxPC and 1 if 7xxM
;
; ------
; $Id: ozdetectmodel.asm,v 1.3 2016/06/27 21:25:36... |
interrupts/int_timing_halt_dmg_mode/main.asm | AntonioND/gbc-hw-tests | 6 | 84860 |
INCLUDE "hardware.inc"
INCLUDE "header.inc"
SECTION "var",BSS
ram_ptr: DS 2
repeat_loop: DS 1
SECTION "Main",HOME
;--------------------------------------------------------------------------
;- Main() -
;-----------------------------------------... |
alloy4fun_models/trashltl/models/1/3Nq6XGeiEp67G5N6K.als | Kaixi26/org.alloytools.alloy | 0 | 1322 | open main
pred id3Nq6XGeiEp67G5N6K_prop2 {
no File implies eventually some File
}
pred __repair { id3Nq6XGeiEp67G5N6K_prop2 }
check __repair { id3Nq6XGeiEp67G5N6K_prop2 <=> prop2o } |
programs/oeis/270/A270742.asm | neoneye/loda | 22 | 86690 | ; A270742: Binary expansion of C = (1/2)*(3/4)*(7/8)*(15/16)... .
; 0,1,0,0,1,0,0,1,1,1,1,0,1,1,1,0,0,0,0,0,0,1,0,0,0,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
mov $2,$0
lpb $0
mov $0,$2
add $1,1
sub $2,$1... |
old/Homotopy/ConnectedSuspension.agda | timjb/HoTT-Agda | 294 | 7788 | {-# OPTIONS --without-K #-}
open import Base
open import Homotopy.Truncation
open import Homotopy.Connected
open import Spaces.Suspension
open import Homotopy.PushoutDef
import Homotopy.PushoutUP as PushoutUP
-- In this file I prove that if [A] is n-connected and its (n+1)-truncation is
-- inhabited, then [suspension... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1389.asm | ljhsiun2/medusa | 9 | 11149 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x65c7, %rsi
lea addresses_WT_ht+0x7cc7, %rdi
nop
dec %rbx
mov $80, %rcx
rep movsw
nop
nop
nop
nop
nop
cmp %r15, %r15
lea addresses_WT_ht+0x7797, %r13
xor $13500, %r9
movl $0x61626364, (%... |
src/Topology.agda | shinji-kono/zf-in-agda | 5 | 12928 | <filename>src/Topology.agda
open import Level
open import Ordinals
module Topology {n : Level } (O : Ordinals {n}) where
open import zf
open import logic
open _∧_
open _∨_
open Bool
import OD
open import Relation.Nullary
open import Data.Empty
open import Relation.Binary.Core
open import Relation.Binary.Proposit... |
1A/S5/PIM/tps/pr2/ensembles_tableau.adb | MOUDDENEHamza/ENSEEIHT | 4 | 24016 | <reponame>MOUDDENEHamza/ENSEEIHT<filename>1A/S5/PIM/tps/pr2/ensembles_tableau.adb
-- Implantation du module Ensembles.
package body Ensembles_Tableau is
procedure Initialiser (Ensemble : out T_Ensemble) is
begin
Ensemble.Taille := 0;
end Initialiser;
procedure Detruire (Ensemble : in out T_E... |
simple2.adb | spacekookie/learn_ada | 1 | 9975 | with Ada.Text_IO;
use Ada.Text_IO;
procedure UglyForm is
begin
Put("Good form ");
Put("can aid in ");
Put ("understanding a program,");
New_Line;
Put("and bad form ");
Put("can make a program ");
Put("unreadable.");
New_Line;
end UglyForm;
-- Result of exec... |
Assembler/test cases/TwoOperand.asm | MuhanadAtef/32-bit-risc-pipelined-processor | 0 | 81650 | # all numbers in hex format
# we always start by reset signal
#this is a commented line
.ORG 0 #this means the the following line would be at address 0 , and this is the reset address
10
#you should ignore empty lines
.ORG 2 #this is the interrupt address
100
.ORG 10
in R1 #add 5 in R1
in R2 #add ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/concat1_pkg.adb | best08618/asylo | 7 | 1182 | package body Concat1_Pkg is
function Ident (I : Integer) return Integer is begin return I; end;
end Concat1_Pkg;
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic7_1.adb | best08618/asylo | 7 | 6461 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic7_1.adb
-- { dg-do run }
with Atomic7_Pkg2; use Atomic7_Pkg2;
procedure Atomic7_1 is
I : Integer := Stamp;
pragma Atomic (I);
J : Integer := Stamp;
begin
if I /= 1 then
raise Program_Error;
end if;
end;
|
P6/data_P6_2/ALUTest25.asm | alxzzhou/BUAA_CO_2020 | 1 | 170061 | <reponame>alxzzhou/BUAA_CO_2020
lh $3,10($0)
xor $3,$3,$3
lhu $0,4($0)
subu $5,$3,$3
nor $6,$4,$3
or $3,$4,$3
sb $6,6($0)
subu $3,$1,$3
srlv $4,$3,$3
subu $0,$4,$3
addiu $4,$3,10600
srl $3,$3,28
sb $4,10($0)
sll $3,$3,0
andi $5,$5,23343
lhu $4,6($0)
sw $0,12($0)
lb $0,3($0)
or $4,$4,$3
sh $1,6($0)
or $1,$4,$3
srlv $3,$... |
alloy4fun_models/trashltl/models/5/sGMXbF7R3CGJvK29f.als | Kaixi26/org.alloytools.alloy | 0 | 5026 | <filename>alloy4fun_models/trashltl/models/5/sGMXbF7R3CGJvK29f.als<gh_stars>0
open main
pred idsGMXbF7R3CGJvK29f_prop6 {
all t : Trash | always t in Trash
}
pred __repair { idsGMXbF7R3CGJvK29f_prop6 }
check __repair { idsGMXbF7R3CGJvK29f_prop6 <=> prop6o } |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48_notsx.log_21829_1221.asm | ljhsiun2/medusa | 9 | 104269 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
// Store
lea addresses_A+0xb39e, %r8
nop
nop
nop
nop
nop
cmp $22008, %r14
movb $0x51, (%r8)
nop
inc %r10
// REPMOV
lea addresses_normal+0x1d8ee, %rsi
lea addr... |
src/game_logic/logic.asm | jonasbantunes/tictactoe-gb | 0 | 86346 | <reponame>jonasbantunes/tictactoe-gb
SECTION "Game logic", ROM0
PlayerTurn
call TurnOffLCD
call RenderTurnP1
call ShowCursor
call TurnOnLCD
call EnableVBlank
call EnableTimerInt
.lockup
ei
call WaitVblank
di
ld a, [joybuttons]
ld b, a
ld a, [joyhold]
cpl
and a, b... |
hello.asm | JesusCrie/MoreOrLessAssembly | 4 | 10922 | global main
extern printf
section .text ; code section
main:
lea rdi, qword [hello] ; pointer string
mov eax, 0
call printf
section .rodata ; read only section (constant)
hello db "<NAME>", 0x0a, 0x00 |
examples/can_utils/print_can_frame.ads | glencornell/ada-socketcan | 2 | 28771 | <reponame>glencornell/ada-socketcan<gh_stars>1-10
-- MIT License
--
-- Copyright (c) 2021 <NAME> <<EMAIL>>
--
-- 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... |
libsrc/_DEVELOPMENT/alloc/obstack/c/sdcc_iy/obstack_alloc_callee.asm | meesokim/z88dk | 0 | 103568 |
; void *obstack_alloc_callee(struct obstack *ob, size_t size)
SECTION code_alloc_obstack
PUBLIC _obstack_alloc_callee
_obstack_alloc_callee:
pop af
pop hl
pop bc
push af
INCLUDE "alloc/obstack/z80/asm_obstack_alloc.asm"
|
Appl/Term/FSM/fsmMakeTables.asm | steakknife/pcgeos | 504 | 12787 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: FSM
FILE: makeTables.asm
AUTHOR: <NAME>, September 18, 1989
METHODS:
Name Description
---- -----------
REVISION HISTORY:
Name Date D... |
FinderNewFile/Scripts/finderNewFile.scpt | heartbleeded/finderNewFile | 2 | 3553 | tell application "Finder" to make new file at (the target of the front window) as alias
|
archive/agda-1/Binding.agda | m0davis/oscar | 0 | 6757 | <reponame>m0davis/oscar<filename>archive/agda-1/Binding.agda
module Binding where
open import Agda.Primitive
data Freer {ℓ} (F : Set ℓ → Set (lsuc ℓ)) (A : Set (lsuc ℓ)) : Set (lsuc ℓ) where
pure : A → Freer F A
free : ∀ {a : Set ℓ} → (a → Freer F A) → F a → Freer F A
|
0400/bare.asm | 20chan/asm-adventures | 0 | 171550 | use32
inc eax
inc eax
dec eax
inc eax |
chat_server_2.adb | cborao/Ada-P4-chat | 0 | 26611 |
--PRÁCTICA 4: <NAME> (chat_server_2)
with Handlers;
with Ada.Text_IO;
with Ada.Calendar;
with Chat_Messages;
with Ordered_Maps_G;
with Chat_Procedures;
with Lower_Layer_UDP;
with Ada.Command_Line;
with Ada.Strings.Unbounded;
procedure Chat_Server_2 is
package ATI renames Ada.Text_IO;
package CM renam... |
oeis/142/A142357.asm | neoneye/loda-programs | 11 | 177790 | ; A142357: Primes congruent to 6 mod 47.
; Submitted by <NAME>(w3)
; 53,241,523,617,1087,1181,1933,2027,2309,2591,3061,3343,3719,3907,4001,4283,5693,5881,6163,6257,7103,7573,7949,8231,8419,8513,9547,9829,9923,10111,10487,10957,11239,11897,12743,14153,14341,14717,15187,16033,16127,16691,16879,17443,18289,18947,19417,196... |
oeis/078/A078322.asm | neoneye/loda-programs | 11 | 162387 | ; A078322: a(n) = rad(n*rad(n)+1), where rad = A007947 (squarefree kernel).
; Submitted by <NAME>(s2)
; 2,5,10,3,26,37,10,17,14,101,122,73,170,197,226,33,290,109,362,201,442,485,530,145,42,677,82,393,842,901,962,65,1090,1157,1226,217,1370,85,1522,401,58,1765,370,969,26,2117,2210,17,86,501,2602,1353,2810,65,3026,785,130... |
programs/oeis/049/A049294.asm | karttu/loda | 0 | 9209 | ; A049294: Number of subgroups of index 3 in free group of rank n+1.
; 1,13,97,625,3841,23233,139777,839425,5038081,30231553,181395457,1088385025,6530334721,39182057473,235092443137,1410554855425,8463329525761,50779977940993,304679869218817,1828079218458625
mov $2,$0
mov $3,2
lpb $2,1
mul $3,3
add $1,$3
mul $1,2... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_2394.asm | ljhsiun2/medusa | 9 | 11942 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xe8fa, %rbp
nop
nop
nop
nop
nop
and %r11, %r11
mov (%rbp), %cx
xor %rbp, %rbp
lea addresses_WT_ht+0x15aba, %rsi
lea addresses_WT_ht+0x1ad3a, %rdi
clflush (%rsi)
clflush (%rdi)
nop
nop
... |
source/slim-messages-stat.ads | reznikmm/slimp | 0 | 16555 | <reponame>reznikmm/slimp
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package Slim.Messages.STAT is
type STAT_Message is new Message with private;
subtype Event_Kind is String (1 .. 4);
... |
ipa/src/main/resources/antlr4/ca/phon/ipa/parser/UnicodeIPA.g4 | phon-ca/phon | 27 | 2809 | /*
* Copyright (C) 2012-2021 <NAME> & <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 a... |
oeis/326/A326501.asm | neoneye/loda-programs | 11 | 160045 | <filename>oeis/326/A326501.asm
; A326501: a(n) = Sum_{k=0..n} (-k)^k.
; 1,0,4,-23,233,-2892,43764,-779779,15997437,-371423052,9628576948,-275683093663,8640417354593,-294234689237660,10817772136320356,-427076118244539019,18019667955465012597,-809220593930871751580,38537187481365665823844,-1939882468178947923300135,10291... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/sf2/bank8.asm | prismotizm/gigaleak | 0 | 83755 | Name: bank8.asm
Type: file
Size: 425
Last-Modified: '1993-01-07T04:42:27Z'
SHA-1: FEA2294D942FEC43DDE3C46B5F9FA5964493502C
Description: null
|
programs/oeis/017/A017163.asm | neoneye/loda | 22 | 22023 | <reponame>neoneye/loda
; A017163: a(n) = (9*n)^3.
; 0,729,5832,19683,46656,91125,157464,250047,373248,531441,729000,970299,1259712,1601613,2000376,2460375,2985984,3581577,4251528,5000211,5832000,6751269,7762392,8869743,10077696,11390625,12812904,14348907,16003008,17779581,19683000,21717639,23887872,26198073,28652616,31... |
sharding-core/sharding-core-parse/sharding-core-parse-postgresql/src/main/antlr4/imports/postgresql/Keyword.g4 | EvanDylan/incubator-shardingsphere | 1 | 6490 | <reponame>EvanDylan/incubator-shardingsphere<filename>sharding-core/sharding-core-parse/sharding-core-parse-postgresql/src/main/antlr4/imports/postgresql/Keyword.g4<gh_stars>1-10
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed ... |
Sets/BoolSet.agda | Lolirofle/stuff-in-agda | 6 | 1821 | <filename>Sets/BoolSet.agda
module Sets.BoolSet {ℓ ℓₑ} where
import Lvl
open import Data.Boolean
import Data.Boolean.Operators
open Data.Boolean.Operators.Logic using (_⟶_ ; _⟵_)
open Data.Boolean.Operators.Programming hiding (_==_)
open import Data.Boolean.Stmt
open import Data.Boolean.Proofs
... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/aspects.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 30099 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Scripts Pack Source Items/Scripts Pack/Core Components/Disk Image Checksum Verify (10.3).applescript | Phorofor/ScriptsPack.macOS | 1 | 2620 | <reponame>Phorofor/ScriptsPack.macOS<filename>Scripts Pack Source Items/Scripts Pack/Core Components/Disk Image Checksum Verify (10.3).applescript
# Scripts Pack - Tweak various preference variables in macOS
# <Phorofor, https://github.com/Phorofor/>
set MacVer to do shell script "sw_vers -productVersion"
set Sdescri... |
src/tom/library/sl/ada/muvarstrategy.adb | rewriting/tom | 36 | 29862 | with VisitFailurePackage, VisitablePackage, EnvironmentPackage;
use VisitFailurePackage, VisitablePackage, EnvironmentPackage;
with Ada.Text_IO; use Ada.Text_IO;
package body MuVarStrategy is
----------------------------------------------------------------------------
-- Object implementation
--------------------... |
source/machine-pc-freebsd/s-saalsi.adb | ytomino/drake | 33 | 12867 | with C.malloc_np;
function System.System_Allocators.Allocated_Size (
Storage_Address : Address)
return Storage_Elements.Storage_Count
is
pragma Suppress (All_Checks);
begin
return Storage_Elements.Storage_Offset (
C.malloc_np.malloc_usable_size (C.void_const_ptr (Storage_Address)));
end System.System_... |
agda-stdlib/src/Relation/Binary/Indexed/Homogeneous/Structures.agda | DreamLinuxer/popl21-artifact | 5 | 5455 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Homogeneously-indexed binary relations
------------------------------------------------------------------------
-- The contents of this module should be accessed via
-- `Relation.Binary.Indexed.Homogeneous`.
{-... |
src/fltk-widgets-groups-text_displays-text_editors.adb | micahwelf/FLTK-Ada | 1 | 2476 | <filename>src/fltk-widgets-groups-text_displays-text_editors.adb<gh_stars>1-10
with
FLTK.Event,
Interfaces.C,
System;
use type
Interfaces.C.unsigned_long,
System.Address;
package body FLTK.Widgets.Groups.Text_Displays.Text_Editors is
procedure text_editor_set_draw_hook
(W, D ... |
Cubical/HITs/ListedFiniteSet/Properties.agda | mchristianl/cubical | 0 | 8237 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.ListedFiniteSet.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.HITs.ListedFiniteSet.Base
private
variable
A : Type₀
_++_ : ∀ (xs ys : LFSet A) → LFSet A
[] ++ ys = ys
(x ∷ xs) ++ ys... |
3-mid/physics/interface/source/physics-forge.ads | charlie5/lace | 20 | 19212 | <reponame>charlie5/lace
with
physics.Space;
package physics.Forge
--
-- Provides constructors for physics classes.
--
is
type Real_view is access all math.Real;
----------
--- Space
--
function new_Space (Kind : in space_Kind) return Space.view;
end physics.Forge;
|
Comp_Stats_Unit_test.adb | salmoni/CompStats_Statistics_Ada | 0 | 6116 | <gh_stars>0
with Ada.Text_IO, Ada.Integer_Text_IO, Ada.Float_Text_IO;
use Ada.Text_IO, Ada.Integer_Text_IO, Ada.Float_Text_IO;
with CompStats_Statistics;
use CompStats_Statistics;
procedure Comp_Stats_Unit_test is
Values: CompStats_Statistics.Values_Array(1..20);
Values2 : CompStats_Statistics.Values_Array... |
src/joypad.asm | NEPETAISCUTE/simon-gameboy | 1 | 90064 | <filename>src/joypad.asm
INCLUDE "src/lib/hardware.inc"
JOYPADMASK EQU %00001111
SECTION "Joypad", ROM0
;;ReadJoypad
;;a, b and f are trashed
;;returns the status of the joypad 1 into [wJoypad1]
ReadJoypad::
ld a, P1F_GET_DPAD
ldh [rP1], a
ldh a, [rP1]
ldh a, [rP1]
ldh a, [rP1]
ldh a, [rP1]
ldh a, [rP... |
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2_notsx.log_1061_879.asm | ljhsiun2/medusa | 9 | 103268 | .global s_prepare_buffers
s_prepare_buffers:
push %r8
push %rbx
push %rcx
push %rdi
lea addresses_A_ht+0x13a3, %rbx
nop
nop
nop
nop
cmp $27660, %r8
mov (%rbx), %di
dec %rcx
pop %rdi
pop %rcx
pop %rbx
pop %r8
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r15
push %rbx
push %rcx
push %rdi
push %... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-bignum.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 7260 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
oeis/114/A114688.asm | neoneye/loda-programs | 11 | 163435 | ; A114688: Expansion of (1 +3*x -x^2)/((1-x^2)*(1-2*x-x^2)); a Pellian-related sequence.
; Submitted by <NAME>(s1)
; 1,5,11,30,71,175,421,1020,2461,5945,14351,34650,83651,201955,487561,1177080,2841721,6860525,16562771,39986070,96534911,233055895,562646701,1358349300,3279345301,7917039905,19113425111,46143890130,1114012... |
ohmin.g4 | ypid/opening_hours_grammar | 4 | 5636 | <reponame>ypid/opening_hours_grammar<gh_stars>1-10
grammar ohmin;
// Basic elements
// Trivial stuff, prefixed with 'c' and should never change during grammar development
// Note: case SENSITIVE
// Note: order is important (hold "Ctrl" to inspect how input steam was tolenized in IDEA)
c247string : '24/7';
... |
programs/oeis/166/A166946.asm | neoneye/loda | 22 | 27216 | <gh_stars>10-100
; A166946: a(n) = 1 if n is a rounded multiple of Phi (1.618033989...), the larger golden ratio value; else a(n) = 0
; 1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,... |
etude/etude17.als | nishio/learning_alloy | 1 | 3493 | <reponame>nishio/learning_alloy<filename>etude/etude17.als
open util/ordering[Time]
open named_man_ja [Man]
open named_woman_ja [Woman]
sig Time {
event: lone Event
}
fact {
no first.event
all t: Time - first {one t.event}
}
abstract sig Person {
state: State -> Time,
partner: Person -> Time,
parent_bio: set P... |
scripts/saffronhouse2.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 176675 | <filename>scripts/saffronhouse2.asm
SaffronHouse2Script:
jp EnableAutoTextBoxDrawing
SaffronHouse2TextPointers:
dw SaffronHouse2Text1
SaffronHouse2Text1:
TX_ASM
CheckEvent EVENT_GOT_TM29
jr nz, .explain
ld hl, TM29PreReceiveText
call PrintText
lb bc, TM_29, 1
call GiveItem
jr nc, .BagFull
ld hl, ReceivedTM... |
programs/oeis/065/A065881.asm | jmorken/loda | 1 | 3930 | <filename>programs/oeis/065/A065881.asm<gh_stars>1-10
; A065881: Ultimate modulo 10: right-hand nonzero digit of n.
; 1,2,3,4,5,6,7,8,9,1,1,2,3,4,5,6,7,8,9,2,1,2,3,4,5,6,7,8,9,3,1,2,3,4,5,6,7,8,9,4,1,2,3,4,5,6,7,8,9,5,1,2,3,4,5,6,7,8,9,6,1,2,3,4,5,6,7,8,9,7,1,2,3,4,5,6,7,8,9,8,1,2,3,4,5,6,7,8,9,9,1,2,3,4,5,6,7,8,9,1,1,... |
sigint_handler.ads | evilspacepirate/iris | 0 | 19189 | <gh_stars>0
-----------------------------------------------------------
-- --
-- SIGINT_HANDLER PACKAGE --
-- --
-- Copyright (c) 2017, <NAME> --
-- ... |
src/vulkan-math/vulkan-math-ivec3.ads | zrmyers/VulkanAda | 1 | 1157 | --------------------------------------------------------------------------------
-- MIT License
--
-- Copyright (c) 2020 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without r... |
main.adb | thieryw/snake_array_impl | 0 | 1467 | with snake_functions,snake_types,ada.calendar,display,ada.text_io ;
use ada.text_io,ada.calendar ;
procedure main is
s : snake_types.Snake ;
dir : snake_types.Snake_direction:=snake_types.LEFT ;
has_new_user_input: boolean;
user_requested_direction : snake_types.Snake_direction ;
... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1895.asm | ljhsiun2/medusa | 9 | 10975 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x18307, %rsi
nop
nop
sub %r12, %r12
movb $0x61, (%rsi)
nop
nop
cmp $20394, %rcx
lea addresses_WT_ht+0x3e07, %rsi
lea addresses_WT_ht+0x15307, %rdi
nop
cmp %r13, %r13
mov ... |
utilities/GetDisplayResolution.applescript | RobTrew/txtquery-tools | 69 | 2003 | -- properties persist across sessions in compiled .scpt files
-- so subsequent runs will be faster
property pX : missing value
property pY : missing value
on run {}
displayResoln()
end run
on displayResoln()
if (pX is missing value) or (pY is missing value) then
set {dlm, my text item delimiters} to {my text ite... |
PongTestLED.asm | ParsaHejabi/MicroProcessor-Pong | 0 | 88454 | .MODEL SMALL
.STACK 64
.DATA
UPPER_WALL_START_ROW DW 30
UPPER_WALL_START_COL DW 20
UPPER_WALL_END_ROW DW 35
UPPER_WALL_END_COL DW 280
LEFT_WALL_START_ROW DW 35
LEFT_WALL_START_COL DW 20
LEFT_WALL_END_ROW DW 190
LEFT_WALL_END_COL DW 25
LOWER_WALL_START_ROW DW 185
LOWER_WALL_STA... |
platforms/m3/pre_v12/compiled_prog_vlsipool/haltRX/SRAM_test_0.asm | lab11/M-ulator | 19 | 243441 | <reponame>lab11/M-ulator
SRAM_test_0/SRAM_test_0.elf: file format elf32-littlearm
Disassembly of section .text:
00000000 <hang-0x90>:
0: 00002000 .word 0x00002000
4: 000000a1 .word 0x000000a1
...
1c: 00000090 .word 0x00000090
20: 00000090 .word 0x00000090
24: 00000090 .word 0x00000090
28: 00... |
llvm-gcc-4.2-2.9/gcc/ada/gnatname.adb | vidkidz/crossbridge | 1 | 21584 | <reponame>vidkidz/crossbridge
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
programs/oeis/152/A152556.asm | neoneye/loda | 22 | 246403 | ; A152556: a(n) = 2*(2*n+2)^floor((n-1)/2).
; 1,2,2,16,20,288,392,8192,11664,320000,468512,15925248,23762752,963780608,1458000000,68719476736,105046700288,5642219814912,8695584276992,524288000000000,813342767698944,54394721876836352,84841494965553152,6232805962420322304,9765625000000000000,781754012972500385792,1229575... |
examples/demo-grammar/tinyc/src/samples/sample_1_io.asm | fossabot/FlyLab | 0 | 13916 | <reponame>fossabot/FlyLab
FUNC @main:
var n
readint "Please input an integer: "
pop n
push n
print "Your input number is: %d"
push 0
ret ~
ENDFUNC
|
test/Succeed/Issue2603.agda | shlevy/agda | 1,989 | 15409 | -- Andreas, 2017-06-14, issue #2603
-- reported by rfindler, shrunk test case by Ulf
-- {-# OPTIONS -v tc.conv:40 -v tc.conv.atom:50 -v tc:80 -v tc.meta.assign:70 #-}
{-# OPTIONS --allow-unsolved-metas #-}
open import Agda.Builtin.Equality
data List (A : Set) : Set where
[] : List A
postulate
Signal : Set
dat... |
data/maps/headers/VermilionPokecenter.asm | opiter09/ASM-Machina | 1 | 104361 | <gh_stars>1-10
map_header VermilionPokecenter, VERMILION_POKECENTER, POKECENTER, 0
end_map_header
|
src/main/antlr/TinyScript.g4 | jacobsimpson/tinyscript | 4 | 7250 | grammar TinyScript;
options
{
language = Java;
}
@header {
package jacob.simpson.tinyscript.grammar;
}
program
:
| ( COMMENT | printStatement | declarationStatement | assignmentStatement )*
;
printStatement
: PRINT
| PRINT STRING
| PRINT IDENTIFIER
;
declarationStatement... |
Cubical/Data/List/FinData.agda | thomas-lamiaux/cubical | 1 | 16237 | {-# OPTIONS --safe #-}
module Cubical.Data.List.FinData where
open import Cubical.Foundations.Prelude
open import Cubical.Data.List
open import Cubical.Data.FinData
variable
ℓ : Level
A : Type ℓ
-- copy-paste from agda-stdlib
lookup : ∀ (xs : List A) → Fin (length xs) → A
lookup (x ∷ xs) zero = x
lookup (x ∷ ... |
oeis/156/A156270.asm | neoneye/loda-programs | 11 | 25876 | <filename>oeis/156/A156270.asm
; A156270: a(n) = 8^n*Catalan(n).
; Submitted by <NAME>(s1)
; 1,8,128,2560,57344,1376256,34603008,899678208,23991418880,652566593536,18034567675904,504967894925312,14294475794808832,408413594137395200,11762311511156981760,341107033823552471040,9952299339793060331520,2919341139672631030579... |
llvm-gcc-4.2-2.9/gcc/ada/a-wtenau.ads | vidkidz/crossbridge | 1 | 13187 | <reponame>vidkidz/crossbridge
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
src/GBA.Timers.ads | 98devin/ada-gba-dev | 7 | 21095 | <gh_stars>1-10
-- Copyright (c) 2021 <NAME>
-- zlib License -- see LICENSE for details.
with Interfaces;
use Interfaces;
with GBA.Memory.IO_Registers;
use GBA.Memory.IO_Registers;
package GBA.Timers is
subtype Timer_Value is Unsigned_16;
type Timer_Scale is
( x1
, x64
, x256
, x1024
);
... |
extensions/ts-parser/src/main/antlr/TypeScriptParser.g4 | raghav-deepsource/doov | 55 | 3998 | parser grammar TypeScriptParser;
import JavaScriptParser;
options {
tokenVocab=TypeScriptLexer;
superClass=JavaScriptBaseParser;
}
//
// A.1 Types
//
// - typeParams:
typeParameters: '<' typeParameterList '>';
typeParameterList: typeParameter (',' typeParameter)*;
typeParameter: bindingIdentifier const... |
programs/oeis/211/A211617.asm | jmorken/loda | 1 | 160073 | ; A211617: Number of ordered triples (w,x,y) with all terms in {-n,...-1,1,...,n} and 2w+x+y>0.
; 0,3,30,101,244,479,834,1329,1992,2843,3910,5213,6780,8631,10794,13289,16144,19379,23022,27093,31620,36623,42130,48161,54744,61899,69654,78029,87052,96743,107130,118233,130080,142691,156094,170309,185364,201279,218082,23579... |
tools/files/applib/src/64bit/sdepack.asm | nehalem501/gendev | 2,662 | 9510 | ;;
;; aPLib compression library - the smaller the better :)
;;
;; fasm 64-bit safe assembler wrapper for aP_depack_asm_safe
;;
;; Copyright (c) 1998-2014 <NAME>
;; All Rights Reserved
;;
;; http://www.ibsensoftware.com/
;;
format MS64 COFF
public aPsafe_depack
extrn aP_depack_asm_safe
extrn aP_crc3... |
tests/covered/E.agda | andrejtokarcik/agda-semantics | 3 | 4139 | <filename>tests/covered/E.agda
module E where
t : Set -> Set
t x = x
|
Terminal Status Bar App/open_terminal_tab.applescript | allen-garvey/open-in-terminal-tab-app | 1 | 513 | try
tell application "Finder" to set current_directory to quoted form of POSIX path of (target of window 1 as alias)
tell application "Terminal"
activate
-- based on http://apple.stackexchange.com/questions/15317/how-can-i-write-a-script-to-open-multiple-terminal-tabs-and-execute-code-in-them
-- Get a window th... |
src/natools-s_expressions.ads | faelys/natools | 0 | 21910 | ------------------------------------------------------------------------------
-- Copyright (c) 2013-2014, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_231.asm | ljhsiun2/medusa | 9 | 95154 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_231.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x106a9, %r10
nop
and $56128, %rbx
mov $0x6162636465666768, %r13
movq %r13,... |
mpmclab/week 1/apj3.asm | apurvjain9999/Microprocessor-8085 | 0 | 178632 | LDA 5000H
MOV B,A
LDA 5002H
ADD B
MOV C,A
SUB B
MOV B,A
MOV A,C
SUB B
STA 5002H
MOV A,B
STA 5000H
hlt |
oeis/131/A131473.asm | neoneye/loda-programs | 11 | 90703 | <reponame>neoneye/loda-programs<filename>oeis/131/A131473.asm
; A131473: a(n) = n^6 - n.
; 0,0,62,726,4092,15620,46650,117642,262136,531432,999990,1771550,2985972,4826796,7529522,11390610,16777200,24137552,34012206,47045862,63999980,85766100,113379882,148035866,191102952,244140600,308915750,387420462,481890276,59482329... |
kv-avm-warrants.ads | davidkristola/vole | 4 | 5404 | with Ada.Finalization;
with kv.avm.Control;
limited with kv.avm.Instances;
package kv.avm.Warrants is
type Warrant_Type is new Ada.Finalization.Controlled with private;
overriding procedure Initialize (Self : in out Warrant_Type);
overriding procedure Adjust (Self : in out Warrant_Type);
overriding ... |
kernel.asm | jakiki6/simpleOS | 5 | 87800 | <reponame>jakiki6/simpleOS
org 0x0000
start:
call setup_check
call setup_handler
call setup_sched
call setup_threads
call setup_drivers
mov si, strings.welcome
call print_string
call panic
%include "lib.asm"
%include "sched.asm"
%include "check.asm"
%include "handler.asm"
%include "threads.asm"
%include "dr... |
test/Fail/Issue2944.agda | cruhland/agda | 1,989 | 3431 | <gh_stars>1000+
module _ where
open import Agda.Primitive
open import Agda.Builtin.List
open import Agda.Builtin.Nat hiding (_==_)
open import Agda.Builtin.Equality
open import Agda.Builtin.Unit
open import Agda.Builtin.Bool
infix -1 _,_
record _×_ {a b} (A : Set a) (B : Set b) : Set (a ⊔ b) where
constructor _,_
... |
prototyping/Properties/TypeNormalization.agda | Libertus-Lab/luau | 1 | 8513 | {-# OPTIONS --rewriting #-}
module Properties.TypeNormalization where
open import Luau.Type using (Type; Scalar; nil; number; string; boolean; never; unknown; _⇒_; _∪_; _∩_)
open import Luau.Subtyping using (Tree; Language; ¬Language; function; scalar; unknown; left; right; function-ok₁; function-ok₂; function-err; f... |
oeis/035/A035287.asm | neoneye/loda-programs | 11 | 29184 | ; A035287: Number of ways to place a non-attacking white and black rook on n X n chessboard.
; 0,4,36,144,400,900,1764,3136,5184,8100,12100,17424,24336,33124,44100,57600,73984,93636,116964,144400,176400,213444,256036,304704,360000,422500,492804,571536,659344,756900,864900,984064,1115136,1258884,1416100,1587600,1774224,... |
objc/one-step-processing/ObjectiveCPreprocessorParser.g4 | ChristianWulf/grammars-v4 | 0 | 6915 | /*
Objective-C Preprocessor grammar.
The MIT License (MIT).
Copyright (c) 2016, <NAME> (<EMAIL>).
Copyright (c) 2016, <NAME> (<EMAIL>).
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 rest... |
oeis/021/A021414.asm | neoneye/loda-programs | 11 | 104170 | ; A021414: Expansion of 1/((1-x)(1-3x)(1-5x)(1-6x)).
; Submitted by <NAME>
; 1,15,148,1218,9079,63693,429346,2815296,18097717,114645531,718257904,4461736734,27532164115,169004094729,1033087293022,6293858904732,38239893731473,231823257614487,1402859602945900,8476759647362490,51158573262786991,308441532160312005,18580997... |
Working Disassembly/General/Sprites/Robotnik/Map - Eggrobo.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 164071 | <filename>Working Disassembly/General/Sprites/Robotnik/Map - Eggrobo.asm<gh_stars>1-10
; Eggrobo mappings
dc.w word_184F44-Map_EggRobo
dc.w word_184F46-Map_EggRobo
dc.w word_184F60-Map_EggRobo
dc.w word_184F6E-Map_EggRobo
dc.w word_184F8E-Map_EggRobo
dc.w word_184F96-Map_EggRobo
dc.w word_184F9E-Map_EggRo... |
programs/oeis/182/A182255.asm | karttu/loda | 1 | 22228 | ; A182255: 81n^2 - 2247n + 15383.
; 15383,13217,11213,9371,7691,6173,4817,3623,2591,1721,1013,467,83,-139,-199,-97,167,593,1181,1931,2843,3917,5153,6551,8111,9833,11717,13763,15971,18341,20873,23567,26423,29441,32621,35963,39467,43133,46961,50951,55103
sub $0,5
mov $1,2
mov $3,$0
sub $3,9
add $1,$3
sub $1,11
mul $1,21... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.