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 |
|---|---|---|---|---|
src/Categories/Category/Complete/Properties.agda | turion/agda-categories | 5 | 9025 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category
module Categories.Category.Complete.Properties {o ℓ e} (C : Category o ℓ e) where
open import Level
open import Data.Product
open import Relation.Binary
open import Categories.Category.Complete
open import Categories.Category.Complete.Finitely
open ... |
assembler/test/half_screen_red_test.asm | dbajgoric/ARSC | 3 | 98030 | <filename>assembler/test/half_screen_red_test.asm<gh_stars>1-10
LDX WORD_COUNT,1
LOOP:
TIX LOOP_END,1
STX TMP,1
LDA TMP
TCA
STA TMP
LDA PX_COLOR
WWD {0} TMP
BRU LOOP
LOOP_END:
HLT
TMP BSS 1
VAR BSS 1
WORD_COUNT BSC -30720
PX_COLOR BSC 18724 // Binary 0100 1001 0010 0100 (red for each of... |
experiments/test-suite/mutation-based/10/3/balancedBST.als | kaiyuanw/AlloyFLCore | 1 | 4450 | pred test7 {
some disj BinaryTree0: BinaryTree {some disj Node0, Node1, Node2: Node {
BinaryTree = BinaryTree0
root = BinaryTree0->Node2
Node = Node0 + Node1 + Node2
left = Node0->Node1 + Node2->Node0
no right
elem = Node0->7 + Node1->3 + Node2->2
}}
}
run test7 for 4 expect 1
pred test99 {
some disj BinaryTree0: Binar... |
Sparkz/src/SparkzParser.g4 | CalebABG/Eva-ElegantMarkup | 0 | 4124 | parser grammar SparkzParser;
options {
tokenVocab=SparkzLexer;
}
/*
Parser rules
*/
/* Start grammar rule! */
sparkz
: elementDeclaration* EOF
;
elementDeclaration
: elementNormalDeclaration # normalElement
| elementCompactDeclaration # compactElement
| elementCom... |
pkgs/tools/yasm/src/modules/dbgfmts/dwarf2/tests/passwin64/dwarfwin64_testhd.asm | manggoguy/parsec-modified | 2,151 | 178541 | .file "test_hd.c"
.section .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
.section .debug_info,"",@progbits
.Ldebug_info0:
.section .debug_line,"",@progbits
.Ldebug_line0:
.text
.Ltext0:
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Usage: %s <file>\n"
.LC1:
.string "rb"
.LC2:
.string "Could not open `... |
source/extension/option_x16/video/textdraw.asm | paulscottrobson/6502-basic | 3 | 23297 | <reponame>paulscottrobson/6502-basic<filename>source/extension/option_x16/video/textdraw.asm
; ************************************************************************************************
; ************************************************************************************************
;
; Name: textdraw.asm
; P... |
Pi-/Dir.agda | DreamLinuxer/popl21-artifact | 5 | 16315 | <filename>Pi-/Dir.agda
module Pi-.Dir where
open import Relation.Binary.PropositionalEquality
data Dir : Set where
◁ : Dir
▷ : Dir
-ᵈⁱʳ_ : Dir → Dir
-ᵈⁱʳ ▷ = ◁
-ᵈⁱʳ ◁ = ▷
_×ᵈⁱʳ_ : Dir → Dir → Dir
◁ ×ᵈⁱʳ ◁ = ▷
◁ ×ᵈⁱʳ ▷ = ◁
▷ ×ᵈⁱʳ ◁ = ◁
▷ ×ᵈⁱʳ ▷ = ▷
identˡᵈⁱʳ : ∀ d → ▷ ×ᵈⁱʳ d ≡ d
identˡᵈⁱʳ ◁ = refl
identˡᵈⁱʳ ▷ = ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c93004f.ada | best08618/asylo | 7 | 4283 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c93004f.ada<gh_stars>1-10
-- C93004F.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 ... |
test/annotation/test_annotation-append.adb | skill-lang/skillAdaTestSuite | 1 | 28619 | <gh_stars>1-10
with Ada.Text_IO;
package body Test_Annotation.Append is
File_Name : constant String := "tmp/test-append-annotation.sf";
procedure Initialize (T : in out Test) is
begin
Set_Name (T, "Test_Annotation.Append");
Ahven.Framework.Add_Test_Routine (T, Append_Test_1'Access, "append test ... |
lab14/lab14.asm | Brant-Skywalker/ZJUI-ECE-120-SP21 | 0 | 17211 | ; This program takes 1 ASCII value as the character to print to the monitor using a large font
; and another 2 ACSII values as input to specify the pixels in the picture of the font.
; To achieve this, this program first calculates the starting address that contains the
; first pixel in the first row of the character t... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/NES_Ver2/us_asm/zel_int0.asm | prismotizm/gigaleak | 0 | 1861 | Name: zel_int0.asm
Type: file
Size: 4887
Last-Modified: '2016-05-13T04:27:09Z'
SHA-1: 958ADDD6F2C52ACDFB91C5D11F90285E7C22238A
Description: null
|
src/servlet-rest-definition.ads | My-Colaborations/ada-servlet | 6 | 1095 | -----------------------------------------------------------------------
-- servlet-rest-definition -- REST API Definition
-- Copyright (C) 2016 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the Lice... |
monkey.asm | jhsie007/xv6 | 0 | 175837 |
_monkey: file format elf32-i386
Disassembly of section .text:
00001000 <init_qs>:
void init_qs(struct queues *);
void add_qs(struct queues *, int);
int empty_qs(struct queues *);
int pop_qs(struct queues *);
void init_qs(struct queues *q){
1000: 55 push %ebp
1001: 89 e5 ... |
programs/oeis/013/A013835.asm | neoneye/loda | 22 | 103833 | <reponame>neoneye/loda
; A013835: a(n) = 5^(5*n + 2).
; 25,78125,244140625,762939453125,2384185791015625,7450580596923828125,23283064365386962890625,72759576141834259033203125,227373675443232059478759765625,710542735760100185871124267578125
mul $0,5
add $0,2
mov $1,5
pow $1,$0
mov $0,$1
|
daily-bear-note.scpt | derindutz/daily-bear-note | 0 | 1804 | <gh_stars>0
open location "bear://x-callback-url/create?title=" & date string of (current date) & "&text=* &tags=daily-notes"
|
oeis/001/A001053.asm | neoneye/loda-programs | 11 | 7622 | <filename>oeis/001/A001053.asm
; A001053: a(n+1) = n*a(n) + a(n-1) with a(0)=1, a(1)=0.
; Submitted by <NAME>(s1)
; 1,0,1,2,7,30,157,972,6961,56660,516901,5225670,57999271,701216922,9173819257,129134686520,1946194117057,31268240559432,533506283627401,9634381345852650,183586751854827751,3681369418442407670,7749234453914... |
Task/Reduced-row-echelon-form/Ada/reduced-row-echelon-form-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 6325 | with Matrices;
with Ada.Text_IO;
procedure Main is
package Float_IO is new Ada.Text_IO.Float_IO (Float);
package Float_Matrices is new Matrices (
Element_Type => Float,
Zero => 0.0);
procedure Print_Matrix (Matrix : in Float_Matrices.Matrix) is
begin
for Row in Matrix'Range (1) loop
... |
oeis/097/A097297.asm | neoneye/loda-programs | 11 | 83021 | ; A097297: Seventh column (m=6) of (1,6)-Pascal triangle A096956.
; Submitted by <NAME>(l1)
; 6,37,133,364,840,1722,3234,5676,9438,15015,23023,34216,49504,69972,96900,131784,176358,232617,302841,389620,495880,624910,780390,966420,1187550,1448811,1755747,2114448,2531584,3014440,3570952,4209744
mov $1,$0
add $0,5
bin $0... |
core/src/main/java/com/dnt/itl/grammar/ITL.g4 | deepnighttwo/inmem-transfer-language | 5 | 5035 | grammar ITL ;
import LiteralVars;
ql : select from (where)?;
select : SELECT propsSel (COMMA propsSel)*;
from : FROM fromSource=ID (AS fromAlias=ID)?;
where : WHERE boolExpr;
// prop part
propsSel : propVar (AS ID)?;
propVar : propFullName ... |
src/full/Agda/TypeChecking/Lock.agda | jappeace/agda | 0 | 1845 | <reponame>jappeace/agda<gh_stars>0
module Agda.TypeChecking.Lock where
|
alloy4fun_models/trainstlt/models/4/xE3tfX2Ard2QvxQwS.als | Kaixi26/org.alloytools.alloy | 0 | 2955 | <filename>alloy4fun_models/trainstlt/models/4/xE3tfX2Ard2QvxQwS.als<gh_stars>0
open main
pred idxE3tfX2Ard2QvxQwS_prop5 {
all t:Train| {
always (t.pos in Exit implies no t.pos')
always (t.pos in Track-Exit implies t.pos' in t.pos.prox )
}
}
pred __repair { idxE3tfX2Ard2QvxQwS_prop5 }
check __repair { idx... |
oeis/174/A174333.asm | neoneye/loda-programs | 11 | 18791 | <gh_stars>10-100
; A174333: 61*n^2.
; 0,61,244,549,976,1525,2196,2989,3904,4941,6100,7381,8784,10309,11956,13725,15616,17629,19764,22021,24400,26901,29524,32269,35136,38125,41236,44469,47824,51301,54900,58621,62464,66429,70516,74725,79056,83509,88084,92781,97600,102541,107604,112789,118096,123525,129076,134749,140544,1... |
source/amf/uml/amf-uml-extension_ends.ads | svn2github/matreshka | 24 | 22607 | <filename>source/amf/uml/amf-uml-extension_ends.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
doublesprite.asm | DChristianson/atari-vcs-samples | 0 | 170211 | ; adapted from <NAME>'s bigmove.asm
; https://www.biglist.com/lists/stella/archives/199803/msg00201.html
; http://www.qotile.net/minidig/tricks.html
processor 6502
include vcs.h
; TIA (Stella) write-only registers
;
Vsync equ $00
Vblank equ $01
Wsync equ $02
Rsync equ $03
Nusiz0 equ $04
Nusiz1 ... |
Cubical/Algebra/Group/Properties.agda | thomas-lamiaux/cubical | 0 | 13637 | {-# OPTIONS --safe #-}
module Cubical.Algebra.Group.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Structure
open import Cubical.Foundations.GroupoidLaws hiding (assoc)
open import Cubical.Data.Sigma
open import Cubical.Algebra.Semigrou... |
programs/streamplay/wavefile2.asm | chaos4ever/chaos-old | 0 | 81211 | global wavefile2, wavefile2_end
wavefile2:
incbin "wavefile2.wav"
wavefile2_end: |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce2111f.ada | best08618/asylo | 7 | 8756 | -- CE2111F.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 contained herein.
-- Unlimit... |
tests/grammars/Whitespace.g4 | vglavnyy/grammarinator | 1 | 6765 | <reponame>vglavnyy/grammarinator<gh_stars>1-10
/*
* Copyright (c) 2017 <NAME>, <NAME>.
*
* Licensed under the BSD 3-Clause License
* <LICENSE.rst or https://opensource.org/licenses/BSD-3-Clause>.
* This file may not be copied, modified, or distributed except
* according to those terms.
*/
/*
* This test checks... |
Groups/Orders/Partial/Definition.agda | Smaug123/agdaproofs | 4 | 11723 | {-# OPTIONS --safe --warning=error --without-K #-}
open import Groups.Definition
open import Setoids.Orders.Partial.Definition
open import Setoids.Setoids
open import Functions.Definition
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
module Groups.Orders.Partial.Definition {n m : _} {A : Set n} {S : Set... |
Task/Assertions/Ada/assertions-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 24221 | pragma Assert (A = 42, "Oops!");
|
source/web/fastcgi/fastcgi-replies.adb | svn2github/matreshka | 24 | 8666 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
Library/SpecUI/CommonUI/CSpec/cspecTextEdit.asm | steakknife/pcgeos | 504 | 8829 | <reponame>steakknife/pcgeos
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: CommonUI/CSpec
FILE: cspecTextEdit.asm
ROUTINES:
Name Description
---- -----------
GLB OLBuildTextEdit Conver... |
oeis/101/A101202.asm | neoneye/loda-programs | 11 | 164956 | <filename>oeis/101/A101202.asm<gh_stars>10-100
; A101202: Multiples of 142857.
; 142857,285714,428571,571428,714285,857142,999999,1142856,1285713,1428570,1571427,1714284,1857141,1999998,2142855,2285712,2428569,2571426,2714283,2857140,2999997,3142854,3285711,3428568,3571425,3714282,3857139,3999996,4142853,4285710,442856... |
oeis/017/A017073.asm | neoneye/loda-programs | 11 | 104283 | <gh_stars>10-100
; A017073: a(n) = (8*n)^9.
; 0,134217728,68719476736,2641807540224,35184372088832,262144000000000,1352605460594688,5416169448144896,18014398509481984,51998697814228992,134217728000000000,316478381828866048,692533995824480256,1423311812421484544,2773078757450186752,5159780352000000000,922337203685477580... |
tools-src/gnu/gcc/gcc/ada/a-tiocst.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 23836 | ------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_571.asm | ljhsiun2/medusa | 9 | 171219 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x79ce, %r10
nop
xor $65031, %rbp
mov $0x6162636465666768, %r8
movq %r8, %xmm4
and $0xffffffffffffffc0, %r10
movaps %xmm4, (%r10)
sub %r11, %r11
lea addresses_WC_ht+0xf4be, %rsi... |
agda-stdlib/src/Data/Vec/Bounded/Base.agda | DreamLinuxer/popl21-artifact | 5 | 9373 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Bounded vectors, basic types and operations
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Vec.Bounded.Base where
open import Level usin... |
oeis/168/A168378.asm | neoneye/loda-programs | 11 | 89499 | ; A168378: a(n) = 3 + 8*floor(n/2).
; Submitted by <NAME>
; 3,11,11,19,19,27,27,35,35,43,43,51,51,59,59,67,67,75,75,83,83,91,91,99,99,107,107,115,115,123,123,131,131,139,139,147,147,155,155,163,163,171,171,179,179,187,187,195,195,203,203,211,211,219,219,227,227,235,235,243,243,251,251,259,259,267,267,275,275,283,283,29... |
software/hal/boards/components/MPU6000/mpu6000-driver.adb | TUM-EI-RCS/StratoX | 12 | 21292 |
with MPU6000.Register; use MPU6000.Register;
with Ada.Unchecked_Conversion;
--with Config.Software;
package body MPU6000.Driver with SPARK_Mode,
Refined_State => (State => Is_Init)
is
READ_FLAG : constant Byte := Byte( 2#1000_0000# );
-- Public procedures and functions
------------------
--... |
src/adacar.adb | Asier98/AdaCar | 0 | 9693 | pragma Ada_2012;
package body AdaCar is
---------
-- "*" --
---------
function "*"
(A : Unidades_AI; Distancia : Unidades_Distancia)
return Unidades_Distancia
is
Valor_Distancia: Unidades_Distancia;
begin
Valor_Distancia:= Unidades_Distancia(A)*Distancia;
return Valor_Di... |
alloy4fun_models/trashltl/models/18/ybkFCPHN8m6H8MPJN.als | Kaixi26/org.alloytools.alloy | 0 | 362 | open main
pred idybkFCPHN8m6H8MPJN_prop19 {
all f : Protected | f not in Trash until f in Trash
}
pred __repair { idybkFCPHN8m6H8MPJN_prop19 }
check __repair { idybkFCPHN8m6H8MPJN_prop19 <=> prop19o } |
Application Support/BBEdit/Scripts/Latex/Insert Latex Environment.applescript | bhdicaire/bbeditSetup | 0 | 4120 | <reponame>bhdicaire/bbeditSetup
try
set dialogResult to display dialog "Which environment?" default answer "" with title "Insert Latex environment" buttons {"Cancel", "Insert"} default button "Insert" cancel button "Cancel"
on error
return
end try
set environmentName to text returned of dialogResult
tell applicatio... |
dv3/msd/load.asm | olifink/smsqe | 0 | 22967 | <gh_stars>0
; DV3 MSDOS Scatter Load V3.00 1993 <NAME>
section dv3
xdef msd_ld3
xdef msd_ld4
include 'dev8_keys_hdr'
include 'dev8_dv3_keys'
include 'dev8_keys_err'
;+++
; DV3 MSDOS Scatter Load
;
; d1 c u 0 on first entry
; ... |
doc/antlrHDDL.g4 | galvusdamor/pandaPIparser | 6 | 6606 | grammar antlrHDDL;
/**
* Created by <NAME>, Ulm University (<EMAIL>)
* and <NAME>, Ulm University (<EMAIL>) [some refactoring & additions]
*
* - This file contains the grammar for the ANTLR parser generator
* - It describes an extension of the Planning Domain Definition Language to describe hierarchical
* plan... |
C/BiosLib/memcmp.asm | p-k-p/SysToolsLib | 232 | 171542 | page ,132
TITLE C library emulation, not relying on MS-DOS.
;*****************************************************************************;
; ;
; FILE NAME: memcmp.asm ;
; ;
; DESCRIPTION: Compare the contents of two blocks of memory ;
; ;
; NO... |
oeis/153/A153235.asm | neoneye/loda-programs | 0 | 160758 | <gh_stars>0
; A153235: Numbers n such that 8*n+7 is not prime.
; Submitted by <NAME>(w2)
; 1,4,6,7,10,11,13,14,16,17,19,21,22,25,26,28,30,31,34,35,36,37,39,40,41,42,43,46,48,49,50,51,52,55,56,58,61,63,64,65,66,67,68,69,70,71,72,73,76,77,79,81,82,83,84,85,86,87,88,91,94,95,96,97,98,99,100,101,103,105,106,108,109,111,112... |
oeis/016/A016006.asm | neoneye/loda-programs | 11 | 99106 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A016006: a(n) = (tau(n^10)+9)/10.
; Submitted by <NAME>
; 1,2,2,3,2,13,2,4,3,13,2,24,2,13,13,5,2,24,2,24,13,13,2,35,3,13,4,24,2,134,2,6,13,13,13,45,2,13,13,35,2,134,2,24,24,13,2,46,3,24,13,24,2,35,13,35,13,13,2,255,2,13,24,7,13,134,2,24,13,134,2,66,2,13,24,24,13,134,2,4... |
Thesis/FunBigStepSILR2.agda | inc-lc/ilc-agda | 10 | 13919 | -- Step-indexed logical relations based on functional big-step semantics.
--
-- Goal for now: just prove the fundamental theorem of logical relations,
-- relating a term to itself in a different environments.
--
-- But to betray the eventual goal, I can also relate integer values with a
-- change in the relation witnes... |
src/fiber_asm_x86_win32.asm | rsmmr/fiber | 56 | 83945 | .MODEL flat, C
.CODE
PUBLIC fiber_asm_switch
PUBLIC fiber_asm_invoke
PUBLIC fiber_asm_exec_on_stack
fiber_asm_switch PROC
mov edx, [esp+4]
mov ecx, [esp+8]
mov [edx+0], esp
mov esp, [ecx+0]
mov [edx+4], ebp
mov ebp, [ecx+4]
mov [edx+8], ebx
mov ebx, [ecx+8]
mov [edx+12], edi
mov edi, [ecx+12]
mo... |
awa/plugins/awa-wikis/regtests/awa-wikis-tests.adb | twdroeger/ada-awa | 0 | 7220 | <filename>awa/plugins/awa-wikis/regtests/awa-wikis-tests.adb<gh_stars>0
-----------------------------------------------------------------------
-- awa-wikis-tests -- Unit tests for wikis module
-- Copyright (C) 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (th... |
software/hal/hal/src/hal-uart.ads | TUM-EI-RCS/StratoX | 12 | 20399 | <reponame>TUM-EI-RCS/StratoX<gh_stars>10-100
package HAL.UART is
type UART_Status is
(Ok,
Err_Error,
Err_Timeout,
Busy);
type UART_Data_Size is
(Data_Size_8b,
Data_Size_9b);
type UART_Data_8b is array (Natural range <>) of Byte;
type UART_Data_9b is array (Natural range <... |
oeis/198/A198392.asm | neoneye/loda-programs | 11 | 7541 | <filename>oeis/198/A198392.asm
; A198392: a(n) = (6*n*(3*n+7)+(2*n+13)*(-1)^n+3)/16 + 1.
; Submitted by <NAME>(s2)
; 2,4,12,18,31,41,59,73,96,114,142,164,197,223,261,291,334,368,416,454,507,549,607,653,716,766,834,888,961,1019,1097,1159,1242,1308,1396,1466,1559,1633,1731,1809,1912,1994,2102,2188,2301,2391,2509,2603,272... |
source/amf/mof/cmof/amf-internals-cmof_named_elements.adb | svn2github/matreshka | 24 | 12156 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
bios_fdc_30/disk_params.asm | ncb85/NCB85V2-BIOS | 4 | 175990 | ;------------------------------------------------------------------------------
; DEFW spt ;Number of 128-byte records per track
; DEFB bsh ;Block shift. 3 => 1k, 4 => 2k, 5 => 4k....
; DEFB blm ;Block mask. 7 => 1k, 0Fh => 2k, 1Fh => 4k...
; DEFB exm ;Extent mask, see later
; DEFW dsm ;(no. of blocks on the disc)... |
maps/OreburghPokemonCenter1F.asm | AtmaBuster/pokeplat-gen2 | 6 | 12630 | <filename>maps/OreburghPokemonCenter1F.asm
object_const_def ; object_event constants
OreburghPokemonCenter1F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
OreburghPokemonCenter1F_NurseScript:
jumpstd pokecenternurse
OreburghPokemonCenter1F_PCGirlScript:
jumptextfaceplayer .Text
.Text:
text "Switch on the ... |
programs/oeis/108/A108514.asm | neoneye/loda | 22 | 177391 | ; A108514: If n is a power of 2, a(n)=n; otherwise a(n) = (p-1)*n/p where p = smallest odd prime divisor of n.
; 1,2,2,4,4,4,6,8,6,8,10,8,12,12,10,16,16,12,18,16,14,20,22,16,20,24,18,24,28,20,30,32,22,32,28,24,36,36,26,32,40,28,42,40,30,44,46,32,42,40,34,48,52,36,44,48,38,56,58,40,60,60,42,64,52,44,66,64,46,56,70,48,72... |
programs/oeis/194/A194275.asm | karttu/loda | 1 | 93836 | <reponame>karttu/loda
; A194275: Concentric pentagonal numbers of the second kind: a(n) = floor(5*n*(n+1)/6).
; 0,1,5,10,16,25,35,46,60,75,91,110,130,151,175,200,226,255,285,316,350,385,421,460,500,541,585,630,676,725,775,826,880,935,991,1050,1110,1171,1235,1300,1366,1435,1505,1576,1650,1725,1801,1880,1960,2041,2125,22... |
source/RASCAL-ToolboxWritableField.ads | bracke/Meaning | 0 | 9726 | <reponame>bracke/Meaning
--------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
src/svd/sam_svd-icm.ads | Fabien-Chouteau/samd51-hal | 1 | 17025 | <reponame>Fabien-Chouteau/samd51-hal
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.ICM is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype ... |
src/rom.asm | Amjad50/rtc3test | 19 | 92084 | <filename>src/rom.asm
VERSION EQU 4
INCLUDE "hardware.asm"
INCLUDE "charmap.asm"
INCLUDE "macros.asm"
INCLUDE "tmacros.asm"
hTestResult EQU $ff80
hRandomState EQU $fffe
SECTION "Header", ROM0[0]
INCLUDE "header.asm"
SECTION "Main", ROM0[$150]
INCLUDE "main.asm"
INCLUDE "font.asm"
INCLUDE "math.asm"
INCLUDE "joypa... |
programs/oeis/063/A063116.asm | neoneye/loda | 22 | 13706 | <filename>programs/oeis/063/A063116.asm
; A063116: Dimension of the space of weight 2n cusp forms for Gamma_0( 48 ).
; 3,18,34,50,66,82,98,114,130,146,162,178,194,210,226,242,258,274,290,306,322,338,354,370,386,402,418,434,450,466,482,498,514,530,546,562,578,594,610,626,642,658,674,690,706,722,738,754,770,786
mul $0,1... |
Dave/Structures/Definitions.agda | DavidStahl97/formal-proofs | 0 | 9100 | <filename>Dave/Structures/Definitions.agda
module Dave.Structures.Definitions where
open import Dave.Equality public
op₁ : Set → Set
op₁ A = A → A
op₂ : Set → Set
op₂ A = A → A → A
associative : {A : Set} → op₂ A → Set
associative _·_ = ∀ m n p → (m · n) · p ≡ m · (n · p)
commutative... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_1956_1896.asm | ljhsiun2/medusa | 9 | 92750 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x4211, %r15
nop
nop
nop
xor $42038, %rbp
movb (%r15), %r14b
and %rdi, %rdi
lea addresses_normal_ht+0x1b211, %rsi
lea addresses_A_ht+0x8251, %rdi
nop
nop
nop
sub %r12, %r12
mov... |
compiler/ifcc.g4 | KenzaB27/PLD-COMP-H4242 | 0 | 5446 | grammar ifcc;
axiom: program;
program: elements+;
elements: function ;
function: TYPE 'main' '()' block;
block: '{' codelines '}';
codelines: codeline*;
codeline:
instructionLine # CodeLine_InstructionLine
| structure # CodeLine_Structure;
blockOrLine:
block # BlockImplementation
| instructionLine # In... |
main.scpt | Lesterrry/Studio-Attic | 0 | 1210 | (*
Studio Attic v0.1.8
Cassette-recording tool
****************************************************************
COPYRIGHT LESTERRRY, 2021
*)
property gaplength : 3
display dialog "Welcome to Studio Attic!
Select tape length" default answer "" with title "Studio Attic" buttons {"60 min", "90 min", "From field"}
if th... |
source/base/incr-nodes.adb | reznikmm/increment | 5 | 143 | <gh_stars>1-10
-- Copyright (c) 2015-2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Incr.Nodes.Tokens;
package body Incr.Nodes is
To_Diff : constant array (Boolean) of Integer :=
(False => -1, True =... |
tricks_package.ads | ddugovic/words | 4 | 9367 | <reponame>ddugovic/words
with DICTIONARY_PACKAGE; use DICTIONARY_PACKAGE;
package TRICKS_PACKAGE is
procedure SYNCOPE(W : STRING;
PA : in out PARSE_ARRAY; PA_LAST : in out INTEGER);
procedure TRY_TRICKS(W : STRING;
PA : in out PARSE_ARRAY; PA_LAST ... |
Irvine/Examples/ch08/32 bit/ModSum32_traditional/ModSum/_arrysum.asm | alieonsido/ASM_TESTING | 0 | 4881 | ; ArraySum Procedure (_arrysum.asm)
INCLUDE Irvine32.inc
.code
ArraySum PROC
;
; Calculates the sum of an array of 32-bit integers.
; Receives:
; ptrArray ; pointer to array
; arraySize ; size of array (DWORD)
; Returns: EAX = sum
;-----------------------------------------------------
ptrArray EQU [ebp... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/deref_test.adb | ouankou/rose | 488 | 21862 | <reponame>ouankou/rose
procedure deref_test is
type PString is access String;
a,b : String (1 .. 3);
res : String := "a";
PtrArr: array(1 .. 2) of PString;
function "<"(x,y: in String) return PString is
begin
return PtrArr(1);
end "<";
begin
PtrArr(1) := new String'("<");
PtrArr(2) := new... |
LibraBFT/Concrete/Obligations/PreferredRound.agda | cwjnkins/bft-consensus-agda | 0 | 8082 | <reponame>cwjnkins/bft-consensus-agda<filename>LibraBFT/Concrete/Obligations/PreferredRound.agda
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.or... |
assignment-2/revshell.nasm | jasperla/slae64 | 0 | 178454 | ; SLAE64 assignment 2
; by <NAME>
; Student ID: SLAE64-1614
global _start
%define SYS_WRITE 1
%define SYS_DUP2 33
%define SYS_SOCKET 41
%define SYS_EXECVE 59
%define SYS_CONNECT 42
section .text
_start:
; Start by opening a socket(2)
; syscall:
; socket: 41 on Linux/x86_64
; arguments:
; %rdi: AF_INET = 2
; %... |
test/link/uninit5/module2.asm | nigelperks/BasicAssembler | 0 | 21251 | <reponame>nigelperks/BasicAssembler
IDEAL
SEGMENT CODE2
ASSUME CS:GROUP2
subroutine:
mov ax, 4
mov si, OFFSET data2
ret
ENDS CODE2
SEGMENT UDATA2 UNINIT
data2 DD ?
ENDS UDATA2
GROUP GROUP2 CODE2,UDATA2
END
|
lang/italian/ptab.asm | olifink/smsqe | 0 | 85730 | ; Text for printer aborted
section language
xdef met_ptab
met_ptab dc.b 0,23,'******* TERMINATO *******'
end
|
src/coreclr/nativeaot/Runtime/arm/StubDispatch.asm | Miizukii/runtimelab | 0 | 164764 | ;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
#include "AsmMacros.h"
TEXTAREA
#ifdef FEATURE_CACHED_INTERFACE_DISPATCH
EXTERN RhpCidResolve
EXTERN RhpUniversalTransition_DebugStepTailCall
;; Macro that g... |
tests/natools-string_slice_tests.adb | faelys/natools | 0 | 5592 | <filename>tests/natools-string_slice_tests.adb
------------------------------------------------------------------------------
-- Copyright (c) 2013-2017, <NAME> --
-- --
-- Permission to use, copy, modify, and dis... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_disp.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 30150 | <reponame>djamal2727/Main-Bearing-Analytical-Model
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
samples/a8/pasintro/msx/player.asm | zbyti/Mad-Pascal | 1 | 9857 |
; opt f+
STEREOMODE equ 0
icl 'intro.feat'
icl 'rmt_player.a65'
|
libsrc/_DEVELOPMENT/adt/p_forward_list_alt/c/sdcc_iy/p_forward_list_alt_init_fastcall.asm | meesokim/z88dk | 0 | 83337 | <filename>libsrc/_DEVELOPMENT/adt/p_forward_list_alt/c/sdcc_iy/p_forward_list_alt_init_fastcall.asm
; void p_forward_list_alt_init_fastcall(void *p)
SECTION code_adt_p_forward_list_alt
PUBLIC _p_forward_list_alt_init_fastcall
_p_forward_list_alt_init_fastcall:
INCLUDE "adt/p_forward_list_alt/z80/asm_p_forward_l... |
src/aco-utils-ds-generic_protected_queue.adb | jonashaggstrom/ada-canopen | 6 | 15423 | package body ACO.Utils.DS.Generic_Protected_Queue is
procedure Put_Blocking
(This : in out Protected_Queue;
Item : in Item_Type)
is
Success : Boolean;
begin
This.Buffer.Put (Item, Success);
if not Success then
Ada.Synchronous_Task_Control.Suspend_Until_True (This.N... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_6679_1727.asm | ljhsiun2/medusa | 9 | 7437 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_6679_1727.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rcx
push %rdi
lea addresses_normal_ht+0x5c93, %r15
nop
nop
add $60763, %r8
mov (%r15), %rcx
nop
nop
nop
nop
dec %rdi
pop %rdi
pop %rcx
pop %r8
pop %r15
ret
.glo... |
alloy4fun_models/trashltl/models/15/szabirgcd6m4tQjzi.als | Kaixi26/org.alloytools.alloy | 0 | 4627 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idszabirgcd6m4tQjzi_prop16 {
all f : File | f in Protected implies always f in Protected
}
pred __repair { idszabirgcd6m4tQjzi_prop16 }
check __repair { idszabirgcd6m4tQjzi_prop16 <=> prop16o } |
lab_05/readnum.asm | MrLIVB/BMSTU_MDPL | 0 | 95952 | EXTRN num: word
EXTRN num_str: byte
DSEG SEGMENT para public 'DATA'
inp_num db'Input number: ', '$'
DSEG ENDS
CSEG SEGMENT para public 'code'
assume CS:CSEG, DS:DSEG
str_to_int:
mov dl, 0ah
mov ah, 02
int 21h
lea dx, inp_num
mov ah, 09
int 21h
lea dx, num_str
mov ah, 0Ah
int 21h
xor ax, ax
mov cl, 4
m... |
libpal/intel_64bit_systemv_nasm/write_cr2.asm | mars-research/pal | 26 | 848 | <reponame>mars-research/pal
bits 64
default rel
section .text
global pal_execute_write_cr2
pal_execute_write_cr2 :
mov cr2, rdi
ret
|
Win32/Win32.Cichosz/Win32.Cichosz.asm | fengjixuchui/Family | 3 | 88003 | ;============================================================
;=== Win32.Cichosz virus. Coded by Necronomikon[ShadowvX] ===
;============================================================
;Virusname: Win32.Cichosz
;Author: Necronomikon
;Date:26-12-00
;Features: - Worming: It checks all drives and if it have access... |
programs/oeis/301/A301697.asm | neoneye/loda | 22 | 13186 | <reponame>neoneye/loda<filename>programs/oeis/301/A301697.asm
; A301697: Coordination sequence for node of type V2 in "krj" 2-D tiling (or net).
; 1,5,10,16,22,27,32,37,42,48,54,59,64,69,74,80,86,91,96,101,106,112,118,123,128,133,138,144,150,155,160,165,170,176,182,187,192,197,202,208,214,219,224,229,234,240,246,251,25... |
Exams/Test2_2013_2014/Library.als | pemesteves/MFES_2021 | 0 | 4158 | sig Title {}
sig Person{}
sig Proceeding {
editors: set Person,
titlepr : one Title,
papers: set Paper
}
sig Paper {
titlepe: Title,
authors: set Person
}
sig Library {
proceedings: set Proceeding
}
fact proceedingEditor {
all p: Proceeding | some p.editors
}
fun removeFromEditor[l: Li... |
programs/oeis/165/A165826.asm | jmorken/loda | 1 | 90107 | ; A165826: Totally multiplicative sequence with a(p) = 5.
; 1,5,5,25,5,25,5,125,25,25,5,125,5,25,25,625,5,125,5,125,25,25,5,625,25,25,125,125,5,125,5,3125,25,25,25,625,5,25,25,625,5,125,5,125,125,25,5,3125,25,125,25,125,5,625,25,625,25,25,5,625,5,25,125,15625,25,125,5,125,25,125,5,3125,5,25,125,125,25,125,5,3125,625,25... |
lch/last_chance_handler.adb | JeremyGrosser/synack_misc | 0 | 8243 | <gh_stars>0
--
-- Copyright 2021 (C) <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: BSD-3-Clause
--
with System.Machine_Code;
with Serial_Console;
package body Last_Chance_Handler is
Port : HAL.UART.Any_UART_Port := null;
procedure Initialize
(UART : not null HAL.UART.Any_UART_Port)
is
begin
... |
src/main/resources/project-templates/aws_web_server_blocks/src/@_project_name_@-dispatchers.ads | WinterAlexander/Ada-IntelliJ | 17 | 25507 |
with AWS.Config;
with AWS.Response;
with AWS.Services.Dispatchers.URI;
with AWS.Status;
package @_Project_Name_@.Dispatchers is
use AWS;
procedure Initialize (Web_Config : in Config.Object);
-- Initialize state in this package depending on the HTTP configuration.
-- For example it sets the web root fo... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1023.asm | ljhsiun2/medusa | 9 | 247539 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %r8
push %rbx
push %rcx
lea addresses_normal_ht+0x9664, %rcx
nop
nop
cmp $26844, %r15
movb $0x61, (%rcx)
nop
nop
nop
nop
add $29720, %r13
lea addresses_WT_ht+0xeed6, %r10
nop
nop
nop
add %r14, %r14
mov $0x6162636465666768, %r8
mov... |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver0/sfc/ys_demo_1.asm | prismotizm/gigaleak | 0 | 166875 | Name: ys_demo_1.asm
Type: file
Size: 29099
Last-Modified: '2016-05-13T04:50:34Z'
SHA-1: 2E334316B729F66933B1AB250765F14575EDD258
Description: null
|
middleware/src/command_line/command_line-filesystem.adb | rocher/Ada_Drivers_Library | 192 | 10898 | <reponame>rocher/Ada_Drivers_Library<filename>middleware/src/command_line/command_line-filesystem.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, AdaCore ... |
8085 Microprocessor/Assignment 3/sol2.asm | neeladripal/bcse-lab | 0 | 19337 | LXI H,21FF
MOV B,M ; store value of N in register B to use as counter
LXI H,2100 ; set up HL to start checking the numbers from 2501H
LXI D,0000 ; clear DE to store the sum
LOOP: MOV A,M ; copy contents of HL pair into accumulator
ANI 81 ; logical AND 10000001 and contents of accum... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2412.asm | ljhsiun2/medusa | 9 | 101508 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r9
push %rbp
push %rcx
push %rsi
lea addresses_WC_ht+0x7da8, %r9
clflush (%r9)
nop
nop
nop
nop
add $25970, %rbp
vmovups (%r9), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $0, %xmm5, %rcx
nop
nop
nop
nop
nop
cmp $22446, %rsi
lea addresses_D... |
3-mid/impact/source/3d/collision/broadphase/impact-d3-collision-proxy.ads | charlie5/lace | 20 | 7953 | limited
with impact.d3.collision.Algorithm;
package impact.d3.collision.Proxy
--
-- The impact.d3.collision.Proxy is the main class that can be used with the Bullet broadphases.
--
-- It stores collision shape type information, collision filter information and a client object, typically a impact.d3.Object or impac... |
tools/hmac-pinentry.adb | faelys/natools | 0 | 29056 | ------------------------------------------------------------------------------
-- Copyright (c) 2014, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
Transynther/x86/_processed/NC/_ht_st_zr_un_/i7-7700_9_0x48_notsx.log_21829_1522.asm | ljhsiun2/medusa | 9 | 82799 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x16aa7, %rbp
nop
nop
nop
nop
nop
cmp $23823, %r8
vmovups (%rbp), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq $1, %xmm6, %rsi
nop
nop
nop
nop
xor %rsi, %rsi
lea addresses_norma... |
PIM/TD1_Algorithmique/drone.adb | Hathoute/ENSEEIHT | 1 | 5823 | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
-- Piloter un drone au moyen d'un menu textuel.
procedure Drone is
Demarrage: Boolean; -- True si le drone est demarré
Altitude: Integer; -- Valeur de l'altitude
Choix: Character; --... |
Univalence/Obsolete/SubstLemmas.agda | JacquesCarette/pi-dual | 14 | 4765 | {-# OPTIONS --without-K #-}
module SubstLemmas where
open import Level using (Level)
open import Relation.Binary.PropositionalEquality
using (_≡_; refl; sym; trans; subst; cong₂)
open import Data.Nat using (ℕ; _+_; _*_)
------------------------------------------------------------------------------
-- Lemmas about ... |
AlloyModel.als | dhananjaymehta/FileManagementSystemAlloy | 0 | 4446 | <gh_stars>0
/*
CIS771 - Extra Credit
<NAME> and <NAME>
F I L E M A N A G E M E N T S Y S T E M
-- This model include the Alloy model for FMS and also include the test to check the implementation.
*/
//==============================================
// F I L E M A N A G E M E N T S Y S T E M : Basic Framewo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.