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/main/antlr/ScenarioParser.g4 | fujaba/fulibScenarios | 1 | 4135 | parser grammar ScenarioParser;
options { tokenVocab = ScenarioLexer; }
// =============== Scenarios ===============
file: scenario* EOF;
scenario: header sentence*;
header: H1 HEADLINE_TEXT HEADLINE_END;
// --------------- Sentences ---------------
actor: WE | THE? name;
sentence: simpleSentences sentenceEnd
... |
example/5_initpacc.asm | ndf-zz/fv1build | 3 | 83242 | <gh_stars>1-10
; FV-1 Testing Bank
;
; Check behaviour of FV-1 against documentation
;
; Program 5 : PACC Init Val
;
; Expected output: 0.0
skp RUN,output
wrlx REG0,0.0 ; copy PACC into ACC
wrax REG1,0.0
output: ldax REG1
wrax DACL,0.0 ; output stored value
|
examples/1.dpd-with file.applescript | doekman/ASPashua | 1 | 3581 | <reponame>doekman/ASPashua
-- The following line is needed to use ASPashua
use script "ASPashua"
-- When you don't have any "use" statements, the following is included automatically.
-- When including ASPashua, you need to add this when using standard things
-- like "display alert" or "path to me"
use scripting additi... |
examples/AIM6/RegExp/talk/Prelude.agda | asr/agda-kanso | 1 | 6259 | <gh_stars>1-10
------------------------------------------------------------------------
-- Small prelude
------------------------------------------------------------------------
module Prelude where
infixl 6 _+_
infixr 5 _∷_ _++_
infixr 3 _∨_
infix 2 ¬_
--------------------------------------------------------------... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/alignment3.adb | best08618/asylo | 7 | 5533 | <gh_stars>1-10
-- { dg-do compile }
with System, Ada.Unchecked_Conversion;
procedure alignment3 is
type Value_Type (Is_Short : Boolean) is record
case Is_Short is
when True => V : Natural;
when others => A, B : Natural;
end case;
end record;
type Link_Type (Short_Values... |
oeis/347/A347399.asm | neoneye/loda-programs | 11 | 95554 | <filename>oeis/347/A347399.asm
; A347399: a(n) = A347398(n^n).
; Submitted by <NAME>
; 1,5,28,261,3126,46688,823544,16777477,387420517,10000003386,285311670612,8916117272416,302875106592254,11112006826381820,437893890380862528,18446744073726329093,827240261886336764178,39346408075296925042857
mov $4,$0
add $0,1
mov $2... |
Sources/Graphics/models.ads | ForYouEyesOnly/Space-Convoy | 1 | 28647 | <reponame>ForYouEyesOnly/Space-Convoy
--
-- Jan & <NAME>, Australia, July 2011
--
with GLOBE_3D;
package Models is
pragma Elaborate_Body;
type Model_Name is (Spaceship, Sphere);
-- type Model_Name is (Arrow,
-- Cube,
-- Duck,
-- Plan... |
Task/Atomic-updates/Ada/atomic-updates.ada | mullikine/RosettaCodeData | 1 | 19713 | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Numerics.Discrete_Random;
procedure Test_Updates is
type Bucket_Index is range 1..13;
package Random_Index is new Ada.Numerics.Discrete_Random (Bucket_Index);
use Random_Index;
type Buckets is array (Bucket_Index) of Natural;
protected type Safe_Buckets is
... |
src/natools-web-escapes.ads | faelys/natools-web | 1 | 7595 | ------------------------------------------------------------------------------
-- Copyright (c) 2015, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
agda/Relation/Nullary/Discrete.agda | oisdk/combinatorics-paper | 4 | 6792 | <reponame>oisdk/combinatorics-paper<filename>agda/Relation/Nullary/Discrete.agda
{-# OPTIONS --cubical --safe #-}
module Relation.Nullary.Discrete where
open import Relation.Nullary.Discrete.Base public
|
Ada/inc/Heap.ads | Tim-Tom/project-euler | 0 | 18331 | private with Ada.Containers.Vectors;
generic
type Element_Type is private;
with function "<=" (Left, Right : in Element_Type) return Boolean is <>;
package Heap is
pragma Remote_Types;
type Heap is private;
Empty_Heap : constant Heap;
procedure Insert(hp : in out Heap;
e... |
Plugin64/main_text_asm.asm | matanki-saito/EU4dll | 483 | 164056 | <filename>Plugin64/main_text_asm.asm
EXTERN mainTextProc1ReturnAddress: QWORD
EXTERN mainTextProc2ReturnAddress: QWORD
EXTERN mainTextProc2BufferAddress: QWORD
EXTERN mainTextProc3ReturnAddress1: QWORD
EXTERN mainTextProc3ReturnAddress2: QWORD
EXTERN mainTextProc4ReturnAddress: QWORD
ESCAPE_SEQ_1 = 10h
ESCAPE_SEQ_2 = ... |
externals/mpir-3.0.0/mpn/x86/pentium4/copyd.asm | JaminChan/eos_win | 1 | 17936 | <reponame>JaminChan/eos_win
dnl Pentium-4 mpn_copyd -- copy limb vector, decrementing.
dnl
dnl Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
dnl
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or
dnl modify it under the terms of the... |
examples/SPARK2005/sqrt/src/sqrt.adb | michalkonecny/polypaver | 1 | 25041 | with PolyPaver.Floats;
package body Example is
function Sqrt (X : in Float) return Float
is
R,S : Float;
begin
S := X;
R := PolyPaver.Floats.Add(PolyPaver.Floats.Multiply(0.5,X),0.5);
while R /= s loop
--# assert R in -0.25*X**2+X .. 0.25*X**2+1.0 ;
S := r;
R := PolyPaver.Floats.Multiply(0.5,
... |
src/ada/src/comms/uxas-comms-lmcp_object_message_receiver_pipes.adb | VVCAS-Sean/OpenUxAS | 88 | 2282 | <gh_stars>10-100
with ZMQ.Sockets;
with AVTAS.LMCP.Factory;
with UxAS.Comms.Transport.ZeroMQ_Socket_Configurations;
use UxAS.Comms.Transport.ZeroMQ_Socket_Configurations;
with UxAS.Comms.Transport.Network_Name;
with UxAS.Common.String_Constant.Lmcp_Network_Socket_Address;
use UxAS.Common.String_Constant.Lmcp_Netwo... |
gyak/gyak1-2/mat.adb | balintsoos/LearnAda | 0 | 3559 | package body Mat is
function Lnko ( A, B : Positive ) return Positive is
X: Positive := A;
Y: Positive := B;
begin
while X /= Y loop
if X > Y then
X := X - Y;
else
Y := Y - X;
end if;
end loop;
return X;
end Lnko;
function Fa... |
HoTT/Identity/NaturalNumber.agda | michaelforney/hott | 0 | 90 | {-# OPTIONS --without-K #-}
open import HoTT.Base
open import HoTT.Equivalence
open import HoTT.Identity
module HoTT.Identity.NaturalNumber where
private variable m n : ℕ
_=ℕ_ : ℕ → ℕ → 𝒰₀
zero =ℕ zero = 𝟏
zero =ℕ (succ _) = 𝟎
succ _ =ℕ zero = 𝟎
succ m =ℕ succ n = m =ℕ n
private
r : (n : ℕ) → n =ℕ n
r zero ... |
bb-runtimes/runtimes/zfp-stm32g474/gnat/a-tags.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 4353 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_526.asm | ljhsiun2/medusa | 9 | 80536 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x16c86, %rdi
nop
dec %r13
mov (%rdi), %r12w
nop
nop
nop
sub %r15, %r15
lea addresses_A_ht+0xb286, %rax
nop
nop
nop
nop
nop
inc %rsi
vmovups (%rax), %ymm4
vextracti128 $0, %ymm... |
src/apricotos.asm | drdanick/apricot-os | 0 | 22912 | <reponame>drdanick/apricot-os<gh_stars>0
; asmsyntax=apricos
; ===================================
; == ==
; == ApricotOS Standard Header ==
; == ==
; == Revision 1 ==
; == ==
; == (C) 2014-17 <NAME> ==
; ==... |
src/security-auth-oauth-googleplus.adb | jquorning/ada-security | 19 | 27362 | <reponame>jquorning/ada-security<filename>src/security-auth-oauth-googleplus.adb
-----------------------------------------------------------------------
-- security-auth-oauth-googleplus -- Google+ OAuth based authentication
-- Copyright (C) 2013, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the ... |
programs/oeis/059/A059270.asm | karttu/loda | 1 | 5167 | ; A059270: Numbers which are both the sum of n+1 consecutive integers and the sum of the n immediately higher consecutive integers.
; 0,3,15,42,90,165,273,420,612,855,1155,1518,1950,2457,3045,3720,4488,5355,6327,7410,8610,9933,11385,12972,14700,16575,18603,20790,23142,25665,28365,31248,34320,37587,41055,44730,48618,527... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto19_pkg1.adb | best08618/asylo | 7 | 13498 | package body Lto19_Pkg1 is
procedure Proc (R : Rec) is begin null; end;
end Lto19_Pkg1;
|
programs/oeis/054/A054896.asm | neoneye/loda | 22 | 87798 | ; A054896: a(n) = Sum_{k>0} floor(n/7^k).
; 0,0,0,0,0,0,0,1,1,1,1,1,1,1,2,2,2,2,2,2,2,3,3,3,3,3,3,3,4,4,4,4,4,4,4,5,5,5,5,5,5,5,6,6,6,6,6,6,6,8,8,8,8,8,8,8,9,9,9,9,9,9,9,10,10,10,10,10,10,10,11,11,11,11,11,11,11,12,12,12,12,12,12,12,13,13,13,13,13,13,13,14,14,14,14,14,14,14,16,16
div $0,7
lpb $0
add $1,$0
div $0,7... |
DOI-or-ISBN 2 BibTeX.popclipext/Alfred-add-to-bibtex.applescript | chrisgrieser/alfred-bibtex-citation-picker | 14 | 2072 | tell application id "com.runningwithcrayons.Alfred" to run trigger "add-doi-to-library" in workflow "de.chris-grieser.alfred-bibtex-citation-picker" with argument "{popclip text}"
|
source/calendar/required/a-retide.ads | ytomino/drake | 33 | 19043 | <reponame>ytomino/drake<gh_stars>10-100
pragma License (Unrestricted);
-- implementation unit required by compiler
private package Ada.Real_Time.Delays is
-- required for delay until statement by compiler (a-retide.ads)
procedure Delay_Until (T : Time);
-- required by compiler (a-retide.ads)
-- for se... |
19-20-2/1/0/gepi-kod/alma.nasm | balihb/java-gyak | 0 | 169268 | 00000000 7F45 jg 0x47
00000002 4C dec sp
00000003 46 inc si
00000004 0201 add al,[bx+di]
00000006 0100 add [bx+si],ax
00000008 0000 add [bx+si],al
0000000A 0000 add [bx+si],al
0000000C 0000 add [bx+si],al... |
Cubical/Algebra/CommAlgebra/FPAlgebra.agda | howsiyu/cubical | 0 | 3445 | <filename>Cubical/Algebra/CommAlgebra/FPAlgebra.agda
{-
Finitely presented algebras.
An R-algebra A is finitely presented, if there merely is an exact sequence
of R-modules:
(a₁,⋯,aₘ) → R[X₁,⋯,Xₙ] → A → 0
-}
{-# OPTIONS --safe #-}
module Cubical.Algebra.CommAlgebra.FPAlgebra where
open import Cubical.Foundat... |
bb-runtimes/src/s-bbpara__leon.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 5180 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
Source/Levels/L0711.asm | AbePralle/FGB | 0 | 91325 | ; L0711.asm Space Station Apocalypse Exterior
; Generated 04.25.2001 by mlevel
; Modified 04.25.2001 by <NAME>
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
SECTION "Level0711Section",ROMX
;------------------------------------------------... |
opengl-buffer_object.ads | io7m/coreland-opengl-ada | 1 | 6804 | <gh_stars>1-10
with OpenGL.Thin;
with System;
generic
type Element_Type is private;
type Index_Type is range <>;
type Array_Type is array (Index_Type range <>) of aliased Element_Type;
package OpenGL.Buffer_Object is
type Buffer_t is new Thin.Unsigned_Integer_t;
type Buffer_Array_t is array (Natu... |
src/data/lib/prim/Agda/Builtin/Cubical/Id.agda | alhassy/agda | 1 | 11523 | {-# OPTIONS --cubical #-}
module Agda.Builtin.Cubical.Id where
open import Agda.Primitive.Cubical
open import Agda.Builtin.Cubical.Path
postulate
Id : ∀ {ℓ} {A : Set ℓ} → A → A → Set ℓ
{-# BUILTIN ID Id #-}
{-# BUILTIN CONID conid #-}
primitive
primDepIMin : _
primI... |
hello_world.asm | TralahM/explore_asm | 2 | 169104 | <reponame>TralahM/explore_asm
[bits 16] ; tell assembler that working in real mode(16 bit mode)
[org 0x7c00] ; organize from 0x7C00 memory location where BIOS will load us
start: ; start label from where our code starts
xor ax,ax ; set ax register to 0
mov ds,ax ... |
bahamut/source/combat-hdma.asm | higan-emu/bahamut-lagoon-translation-kit | 2 | 2814 | namespace combat {
seek(codeCursor)
//there is a bug in S-CPU A where DMAs can fail if the last HDMA transfer had
//targeted BBADx=$00. this bug triggered on the experience screen after combat.
//this mitigation works by moving the HDMA to $21ff+$2100 instead.
//there is a second bug where writes to $2100 latch on th... |
oeis/028/A028038.asm | neoneye/loda-programs | 11 | 175027 | <gh_stars>10-100
; A028038: Expansion of 1/((1-3x)(1-4x)(1-7x)(1-8x)).
; Submitted by <NAME>
; 1,22,311,3608,37485,363594,3368947,30231916,265060169,2283904766,19419219183,163405866624,1363677239653,11304693716338,93205539717419,765024499566932,6255874320057537,50996811157171110
mov $1,1
mov $2,$0
mov $3,$0
lpb $2
m... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_785.asm | ljhsiun2/medusa | 9 | 96884 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1d0cf, %rdx
nop
nop
nop
nop
mfence
vmovups (%rdx), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $1, %xmm5, %r11
nop
nop
nop
and %r13, %r13
lea addresses_A_ht+0x158f, %rsi
lea addresses_... |
engine/events/shuckle.asm | Dev727/ancientplatinum | 6 | 91943 | <reponame>Dev727/ancientplatinum
MANIA_OT_ID EQU 00518
GiveShuckle:
; Adding to the party.
xor a
ld [wMonType], a
; Level 15 Shuckle.
ld hl, SHUCKLE
call GetPokemonIDFromIndex
ld [wCurPartySpecies], a
ld a, 15
ld [wCurPartyLevel], a
predef TryAddMonToParty
jr nc, .NotGiven
; Caught data.
ld b, 0
farcall ... |
parsers-generic_source.ads | jrcarter/Ada_GUI | 19 | 28500 | <gh_stars>10-100
-- --
-- package Copyright (c) <NAME> --
-- Parsers.Generic_Source Luebeck --
-- Interface Winter, 2004 --
-- ... |
symbolinen_konekieli/Ratol_msdos/teht33.asm | tkukka/VariousContent | 0 | 98995 | <filename>symbolinen_konekieli/Ratol_msdos/teht33.asm
;RaTol Symbolinen konekieli: Harjoitus 3, tehtävä 3
;Tero Kukka IY96A
;Tiedosto: teht33.asm Versio 1.1
;Luotu 18.4.1998
include a:makrot.txt
;Ohjelman kuvaus:
;Pinoon tallennetaan AX-rekisterin sisältö heksa... |
progs/ANISPL/ani.asm | alienwithin/0x88 | 20 | 165095 | <filename>progs/ANISPL/ani.asm
.586
.model flat, stdcall
option casemap :none
include inc\windows.inc
include inc\user32.inc
include inc\kernel32.inc
include inc\msvcrt.inc
includelib lib\user32.lib
includelib lib\kernel32.lib
includelib lib\msvcrt.lib
W... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_609.asm | ljhsiun2/medusa | 9 | 91435 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_609.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1cdca, %rdi
nop
nop
nop
nop
nop
and $57922, %rdx
mov (%rdi), %r9
nop
nop
and %rdx, %rdx
lea add... |
projects/Links_Awakening_gb.windfish/disassembly/bank_04.asm | jverkoey/awaken | 68 | 20774 | <filename>projects/Links_Awakening_gb.windfish/disassembly/bank_04.asm
SECTION "ROM Bank 04", ROMX[$4000], BANK[$04]
toc_04_4000:
ld hl, $C200
add hl, bc
ld a, [hl]
add a, $08
ld [hl], a
ret
db $CD, $0E, $38, $CD, $12, $3F, $21, $B0
db $C2, $09, $7E, $C7
dw JumpTable_... |
src/framework/aunit-test_cases-simple_main_generic.ads | persan/AUnit-addons | 0 | 17501 | <reponame>persan/AUnit-addons<gh_stars>0
-- ----------------------------------------------------------------------------
--
-- The intent of this unit is to provide a simple main program that runs
-- one Test_Case.
-- The procedure is intended to be instansiated as a childern to
-- the package containing the test_... |
programs/oeis/046/A046729.asm | neoneye/loda | 22 | 98296 | ; A046729: Expansion of 4x/((1+x)(1-6x+x^2)).
; 0,4,20,120,696,4060,23660,137904,803760,4684660,27304196,159140520,927538920,5406093004,31509019100,183648021600,1070379110496,6238626641380,36361380737780,211929657785304,1235216565974040
mov $1,1
mov $2,1
lpb $0
sub $0,1
add $1,$2
add $2,$1
add $2,$1
add $1,$... |
Logic/Predicate/Multi.agda | Lolirofle/stuff-in-agda | 6 | 5389 | <reponame>Lolirofle/stuff-in-agda<gh_stars>1-10
module Logic.Predicate.Multi where
open import Data.Tuple.RaiseTypeᵣ
open import Function.Multi
open import Function.Multi.Functions
open import Numeral.Natural
open import Logic.Predicate
open import Logic
-- Universal quantification of multiple variables.
-- Example:
... |
oeis/201/A201786.asm | neoneye/loda-programs | 11 | 165727 | <reponame>neoneye/loda-programs
; A201786: Primes of the form 5*k^2 - 4.
; Submitted by <NAME>
; 41,241,401,601,1801,3121,4201,4801,5441,6121,6841,9241,13001,15121,17401,19841,21121,22441,23801,26641,29641,32801,45121,47041,51001,57241,63841,75641,78121,91121,96601,99401,102241,108041,114001,117041,120121,156641,160201... |
cmd/graphics/grload3.asm | minblock/msdos | 0 | 5193 | <filename>cmd/graphics/grload3.asm
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1988 - 1991
; * All Rights Reserved.
; */
;************************************************************
;**
;** NAME: Support for HP PCL printers a... |
src/applescript/media/search genius.applescript | dnnsmnstrr/HydroTouch | 3 | 1572 | <gh_stars>1-10
--@Felipeforerome Adapted from the iTunes Song.Link widget
----GET SPOTIFY LINK----
try
if application "Spotify" is running then
tell application "Spotify"
try
set theTrack to name of the current track
set theArtist to artist of the current track
end try
end tell
else
return ""
en... |
src/ado-dialects.adb | My-Colaborations/ada-ado | 0 | 2382 | -----------------------------------------------------------------------
-- ADO Dialects -- Driver support for basic SQL Generation
-- Copyright (C) 2010, 2011, 2012, 2015, 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this ... |
1A/S5/PIM/tps/pr2/scenario_chainage.adb | MOUDDENEHamza/ENSEEIHT | 4 | 27131 | <gh_stars>1-10
with Ensembles_Chainage;
with Ada.Text_IO; use Ada.Text_IO;
procedure Scenario_Chainage is
-- Instancier le paquetage Ensembles_Chainage pour avoir un Ensemble
-- d'entiers
package Ensembles_Entiers is
new Ensembles_Chainage (T_Element => Integer);
use Ensembles_Entiers;
-- Déf... |
programs/oeis/115/A115384.asm | jmorken/loda | 1 | 169009 | <gh_stars>1-10
; A115384: Partial sums of Thue-Morse numbers A010060.
; 0,1,2,2,3,3,3,4,5,5,5,6,6,7,8,8,9,9,9,10,10,11,12,12,12,13,14,14,15,15,15,16,17,17,17,18,18,19,20,20,20,21,22,22,23,23,23,24,24,25,26,26,27,27,27,28,29,29,29,30,30,31,32,32,33,33,33,34,34,35,36,36,36,37,38,38,39,39,39,40,40,41,42,42,43,43,43,44,45,... |
src/Categories/Category/Instance/Properties/Setoids.agda | MirceaS/agda-categories | 0 | 1436 | {-# OPTIONS --without-K --safe #-}
module Categories.Category.Instance.Properties.Setoids where
open import Level
open import Data.Product using (Σ; proj₁; proj₂; _,_; Σ-syntax; _×_; -,_)
open import Function.Equality using (Π)
open import Relation.Binary using (Setoid; Preorder; Rel)
open import Relation.Binary.Prop... |
programs/oeis/158/A158071.asm | neoneye/loda | 22 | 21605 | ; A158071: a(n) = 64*n + 1.
; 65,129,193,257,321,385,449,513,577,641,705,769,833,897,961,1025,1089,1153,1217,1281,1345,1409,1473,1537,1601,1665,1729,1793,1857,1921,1985,2049,2113,2177,2241,2305,2369,2433,2497,2561,2625,2689,2753,2817,2881,2945,3009,3073,3137,3201,3265,3329,3393,3457,3521,3585,3649,3713,3777,3841,3905,3... |
alloy4fun_models/trashltl/models/13/TtxjZqhRvrdGLqm9k.als | Kaixi26/org.alloytools.alloy | 0 | 4032 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idTtxjZqhRvrdGLqm9k_prop14 {
always all f:File | f in Trash implies f in Protected' and not f in Trash'
}
pred __repair { idTtxjZqhRvrdGLqm9k_prop14 }
check __repair { idTtxjZqhRvrdGLqm9k_prop14 <=> prop14o } |
programs/oeis/062/A062876.asm | neoneye/loda | 22 | 28591 | <reponame>neoneye/loda
; A062876: Numbers of lattice points corresponding to incrementally largest circle radii in A062875.
; 4,12,20,28,44,52,68,76,92,116,124,148,164,172,188,212,236,244,268,284,292,316,332,356,388,404,412,428,436,452,508,524,548,556,596,604,628,652,668,692,716,724,764,772,788,796,844,892,908,916,932,... |
alloy4fun_models/trashltl/models/4/HruoCi8sNAkdzZHoD.als | Kaixi26/org.alloytools.alloy | 0 | 737 | <gh_stars>0
open main
pred idHruoCi8sNAkdzZHoD_prop5 {
eventually some f:File | File' = File - f
}
pred __repair { idHruoCi8sNAkdzZHoD_prop5 }
check __repair { idHruoCi8sNAkdzZHoD_prop5 <=> prop5o } |
archs/exec_arm7.als | graymalkin/memalloy | 0 | 754 | module exec_arm7[E]
open exec_H[E]
sig Exec_Arm7 extends Exec_H {
ISB, DMBST, DMBLD, DMB : set E
}{
ISB + DMBST + DMBLD + DMB in F
disj[ISB, DMBST + DMBLD]
DMB = DMBST & DMBLD
}
one sig rm_ISB extends PTag {}
one sig rm_DMBST extends PTag {}
one sig rm_DMBLD extends PTag {}
one sig rm_DMB extends PTag {}
fun... |
llvm-gcc-4.2-2.9/gcc/ada/a-interr.ads | vidkidz/crossbridge | 1 | 22641 | <reponame>vidkidz/crossbridge
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
FASM/x32/console_add_call.asm | secana/Assembler-Examples | 8 | 200 | <reponame>secana/Assembler-Examples
format PE console
entry start
include 'win32a.inc'
section '.idata' import data readable writeable
library kernel32, 'kernel32.dll', \
msvcrt, 'MSVCRT.DLL'
import kernel32, \
ExitProcess, 'ExitProcess'
import msvcrt, \
printf, 'printf', \
... |
oeis/111/A111139.asm | neoneye/loda-programs | 11 | 21243 | ; A111139: a(n) = n!*Sum_{k=0..n} Fibonacci(k)/k!.
; Submitted by <NAME>
; 0,1,3,11,47,240,1448,10149,81213,730951,7309565,80405304,964863792,12543229529,175605213783,2634078207355,42145251318667,716469272418936,12896446903543432,245032491167329389,4900649823346594545,102913646290278496391,2264100218386126938313,520743... |
odin-core/src/main/antlr4/com/purplepip/odin/music/notation/NaturalScore.g4 | ianhomer/odin | 6 | 7656 | /**
* EasyFlow ANTLR grammar
* Example : C#5/q, B4, A4, G#4
*/
grammar NaturalScore;
WHITESPACE : [ \t]+ -> skip ;
COMMA : [,]+ -> skip ;
SLASH: [/];
NEWLINE: [\n\r];
LETTER: [A-G];
ACCIDENTAL : [#bn];
OCTAVE : [0-9];
DURATION: [/][hq8];
composition : (line)+;
line: NEWLINE* measure+ NEWLINE*;
measure: notes+;
n... |
src/Dodo/Unary/Intersection.agda | sourcedennis/agda-dodo | 0 | 10499 | {-# OPTIONS --without-K --safe #-}
module Dodo.Unary.Intersection where
-- Stdlib imports
import Relation.Binary.PropositionalEquality as Eq
open Eq using (refl; _≡_)
open import Level using (Level; _⊔_)
open import Function using (_∘₂_)
open import Data.Product using (_×_; _,_; swap; proj₁; proj₂)
open import Relati... |
oeis/143/A143581.asm | neoneye/loda-programs | 11 | 104136 | ; A143581: Numerators of coefficient of x^(n+1/2) in the series expansion of the haversine.
; Submitted by <NAME>(s4)
; 2,1,3,5,35,63,231,143,6435,12155,46189,88179,676039,1300075,5014575,9694845,100180065,116680311,2268783825,1472719325,34461632205,67282234305,17534158031,514589420475,8061900920775,5267108601573
mov ... |
oeis/030/A030003.asm | neoneye/loda-programs | 11 | 8032 | ; A030003: (prime(n)-3)(prime(n)-5)(prime(n)-7)/48.
; Submitted by <NAME>(s1)
; 0,0,0,4,10,35,56,120,286,364,680,969,1140,1540,2300,3276,3654,4960,5984,6545,8436,9880,12341,16215,18424,19600,22100,23426,26235,37820,41664,47905,50116,62196,64824,73150,82160,88560,98770,109736,113564,134044,138415,147440,152096,182104,21... |
dino/lcs/base/645.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 102492 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data
copyright zengfr site:http://github.com/zengfr/romhack
00B06C move.b ($1,A4), D0
00B070 move.w ($6,PC,D0.w), D0 [base+639, base+645, base+651]
00B0F0 move.b #$2, ($1,A4)
00B0F6 bsr $b050 [base+639, base+645, base+651]
00B204 move.b #$4, (... |
programs/oeis/076/A076435.asm | neoneye/loda | 22 | 164828 | <gh_stars>10-100
; A076435: Number of strongly regular simple graphs on n nodes.
; 1,2,2,4,3,6,2,6,5,8
mov $3,$0
mul $3,7
pow $3,2
mul $0,$3
mov $1,$3
lpb $0
sub $0,1
mov $2,$1
add $1,$0
trn $0,3
mod $2,84
add $2,1
sub $3,$2
lpe
mov $0,$3
add $0,1
mod $0,10
add $0,10
mod $0,10
|
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_ch8.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 1270 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
src/PJ/picdrive/tiff/unlzw.asm | AnimatorPro/Animator-Pro | 119 | 87843 | ; Set your editor tabsize to 8 for this file!
;****************************************************************************
; UNLZW.ASM - Decompress TIFF type-5 data (LZW encoded).
; (386 protected mode version).
;****************************************************************************
_DATA segment wor... |
programs/oeis/033/A033591.asm | neoneye/loda | 22 | 170106 | <filename>programs/oeis/033/A033591.asm
; A033591: a(n) = (2*n+1)*(3*n+1)*(4*n+1).
; 1,60,315,910,1989,3696,6175,9570,14025,19684,26691,35190,45325,57240,71079,86986,105105,125580,148555,174174,202581,233920,268335,305970,346969,391476,439635,491590,547485,607464,671671,740250,813345,891100,973659,1061166,1153765,12516... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_621.asm | ljhsiun2/medusa | 9 | 168368 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x83dc, %r14
nop
nop
nop
nop
cmp %rax, %rax
mov $0x6162636465666768, %rbp
movq %rbp, %xmm6
vmovups %ymm6, (%r14)
nop
nop
nop
and %r11, %r11
lea addresses_W... |
programs/oeis/132/A132078.asm | neoneye/loda | 22 | 14233 | <filename>programs/oeis/132/A132078.asm<gh_stars>10-100
; A132078: Multiply previous term by 6 and reverse.
; 1,6,63,873,8325,5994,46953,817182,2903094,46581471,628884972,2389033773,83620243341,640064127105,362674830483,8982898406712,27204409379835,10972654622361,66143772953856,631327736268693,8512167146697873,83278108... |
MiParser.g4 | Baxi19/test | 3 | 1526 | parser grammar MiParser;
options {
tokenVocab = MiScanner;
}
program
: singleCommand #programAST;
command : singleCommand (PyCOMA singleCommand)* #commandAST;
singleCommand
:
ident ASIGN expression ... |
sources/ippcp/asm_ia32/pcpmontreductionv8as.asm | dongbinghua/ipp-crypto | 233 | 162605 | ;===============================================================================
; Copyright 2014-2021 Intel Corporation
;
; 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.apa... |
programs/oeis/135/A135400.asm | karttu/loda | 1 | 244098 | <filename>programs/oeis/135/A135400.asm
; A135400: a(n) = (4*n^4 - 4*n^3 - n^2 + 3*n)/2.
; 1,17,108,382,995,2151,4102,7148,11637,17965,26576,37962,52663,71267,94410,122776,157097,198153,246772,303830,370251,447007,535118,635652,749725,878501,1023192,1185058,1365407,1565595,1787026,2031152,2299473,2593537,2914940,326532... |
source/image/required/s-fore.ads | ytomino/drake | 33 | 20240 | <reponame>ytomino/drake
pragma License (Unrestricted);
-- implementation unit required by compiler
package System.Fore is
pragma Pure;
-- required for Fixed'Fore by compiler (s-fore.ads)
function Fore (Lo, Hi : Long_Long_Float) return Natural;
end System.Fore;
|
kernel/kernel.asm | airaShrestha/xv6Modification | 0 | 11274 |
kernel/kernel: file format elf64-littleriscv
Disassembly of section .text:
0000000080000000 <_entry>:
80000000: 00009117 auipc sp,0x9
80000004: 96013103 ld sp,-1696(sp) # 80008960 <_GLOBAL_OFFSET_TABLE_+0x8>
80000008: 6505 lui a0,0x1
8000000a: f14025f3 ... |
oeis/310/A310469.asm | neoneye/loda-programs | 11 | 99328 | <filename>oeis/310/A310469.asm
; A310469: Coordination sequence Gal.5.141.1 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,4,10,15,21,25,29,35,40,46,50,54,60,65,71,75,79,85,90,96,100,104,110,115,121,125,129,1... |
Task/Call-a-function/Ada/call-a-function-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 5802 | type Integer_Array is array (Positive range <>) of Integer;
function Sum(A: Integer_Array) return Integer is
S: Integer := 0;
begin
for I in A'Range loop
S := S + A(I);
end loop;
return S;
end Sum;
...
A := Sum((1,2,3)); -- A = 6
B := Sum((1,2,3,4)); -- B = 10
|
Forecast.lbaction/Contents/Scripts/current.applescript | marcomasser/launchbar-prenagha | 0 | 4307 | --
-- Location Helper free on Mac App Store
-- http://www.mousedown.net/mouseware/LocationHelper.html
--
-- NOTE: This is the text AppleScript, the LaunchBar action Info.plist refers to
-- a **COMPILED** .scpt version of this script. You can compile this text AppleScript
-- into .scpt using command line osacompile or b... |
engine/battle/sliding_intro.asm | Dev727/ancientplatinum | 28 | 8585 | <reponame>Dev727/ancientplatinum<filename>engine/battle/sliding_intro.asm
BattleIntroSlidingPics:
ldh a, [rSVBK]
push af
ld a, BANK(wLYOverrides)
ldh [rSVBK], a
call .subfunction1
ld a, LOW(rSCX)
ldh [hLCDCPointer], a
call .subfunction2
xor a
ldh [hLCDCPointer], a
pop af
ldh [rSVBK], a
ret
.subfunction1
... |
28-speed.asm | yuwanzeon/human-resource-machine-solutions | 1 | 6478 | -- HUMAN RESOURCE MACHINE PROGRAM --
a:
b:
c:
d:
e:
f:
INBOX
COPYTO 0
INBOX
COPYTO 1
INBOX
COPYTO 2
SUB 1
JUMPN i
COPYFROM 1
SUB 0
JUMPN g
COPYFROM 0
OUTBOX
COPYFROM 1
OUTBOX
COPYFROM 2
OUTBOX
JUMP e
g:
... |
programs/oeis/196/A196289.asm | neoneye/loda | 22 | 170345 | <reponame>neoneye/loda
; A196289: n^9 - n.
; 0,0,510,19680,262140,1953120,10077690,40353600,134217720,387420480,999999990,2357947680,5159780340,10604499360,20661046770,38443359360,68719476720,118587876480,198359290350,322687697760,511999999980,794280046560,1207269217770,1801152661440,2641807540200,3814697265600,5429503... |
autovectorization-tests/results/msvc19.28.29333-avx512/count.asm | clayne/toys | 0 | 99502 | <filename>autovectorization-tests/results/msvc19.28.29333-avx512/count.asm
_v$ = 8 ; size = 4
unsigned int count_epi32(std::vector<int,std::allocator<int> > const &) PROC ; count_epi32, COMDAT
mov ecx, DWORD PTR _v$[esp-4]
mov eax, 42 ... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_670.asm | ljhsiun2/medusa | 9 | 96473 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x11a41, %rbx
nop
nop
nop
nop
mfence
mov (%rbx), %rsi
nop
and %rbp, %rbp
lea addresses_A_ht+0xf1c1, %rsi
lea addresses_WC_ht+0x9741, %rdi
nop
nop
nop
nop
nop
lfence
mov $109, %... |
programs/oeis/051/A051033.asm | karttu/loda | 1 | 161758 | <reponame>karttu/loda
; A051033: a(n) = binomial(n, floor(n/3)).
; 1,1,1,3,4,5,15,21,28,84,120,165,495,715,1001,3003,4368,6188,18564,27132,38760,116280,170544,245157,735471,1081575,1562275,4686825,6906900,10015005,30045015,44352165,64512240,193536720,286097760
mov $1,$0
div $0,3
bin $1,$0
|
test/Succeed/Issue4585.agda | shlevy/agda | 1,989 | 5242 | <filename>test/Succeed/Issue4585.agda
open import Agda.Builtin.Unit
open import Agda.Builtin.List
open import Agda.Builtin.Reflection
id : ∀ {a} {A : Set a} → A → A
id x = x
macro
my-macro : Term → TC ⊤
my-macro goal = bindTC
(getType (quote id))
λ idType → bindTC
(reduce idType)
λ _ → returnT... |
boards/stm32f469_discovery/src/stm32-board.adb | morbos/Ada_Drivers_Library | 2 | 23203 | <filename>boards/stm32f469_discovery/src/stm32-board.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- ... |
awa/src/awa-commands-stop.adb | stcarrez/ada-awa | 81 | 5654 | <reponame>stcarrez/ada-awa
-----------------------------------------------------------------------
-- awa-commands-stop -- Command to stop the web server
-- Copyright (C) 2020, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this f... |
oeis/076/A076690.asm | neoneye/loda-programs | 11 | 17398 | ; A076690: Nearest integer to average of the smallest and largest prime factors of n (0.5 is rounded to 1).
; Submitted by <NAME>
; 2,3,2,5,3,7,2,3,4,11,3,13,5,4,2,17,3,19,4,5,7,23,3,5,8,3,5,29,4,31,2,7,10,6,3,37,11,8,4,41,5,43,7,4,13,47,3,7,4,10,8,53,3,8,5,11,16,59,4,61,17,5,2,9,7,67,10,13,5,71,3,73,20,4,11,9,8,79,4,3... |
test/Succeed/Issue2639.agda | shlevy/agda | 2 | 16968 | <reponame>shlevy/agda
-- Andreas, 2017-07-11, issue #2639 reported by nad
--
-- Unsolvable size constraints were added to the constraint set
-- each time the size solver ran. This lead to exponentially
-- many size constraints.
-- {-# OPTIONS -v tc.size.solve:40 #-}
module Issue2639 (A : Set) where
open import Agda... |
programs/oeis/024/A024702.asm | neoneye/loda | 22 | 85589 | ; A024702: a(n) = (prime(n)^2 - 1)/24.
; 1,2,5,7,12,15,22,35,40,57,70,77,92,117,145,155,187,210,222,260,287,330,392,425,442,477,495,532,672,715,782,805,925,950,1027,1107,1162,1247,1335,1365,1520,1552,1617,1650,1855,2072,2147,2185,2262,2380,2420,2625,2752,2882,3015,3060,3197,3290,3337,3577,3927,4030,4082,4187,4565,4732,... |
Driver/Printer/PrintCom/Buffer/bufferOkiSendOutput.asm | steakknife/pcgeos | 504 | 27827 | <gh_stars>100-1000
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Oki Microline buffer routines
FILE: bufferOkiSendOutput.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- ---------... |
src/ado-utils-serialize.ads | My-Colaborations/ada-ado | 0 | 9877 | <filename>src/ado-utils-serialize.ads
-----------------------------------------------------------------------
-- ado-utils-serialize -- Utility operations for JSON/XML serialization
-- Copyright (C) 2016, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License")... |
programs/oeis/108/A108587.asm | jmorken/loda | 1 | 99788 | ; A108587: Floor(n/(1-sin(1))).
; 6,12,18,25,31,37,44,50,56,63,69,75,82,88,94,100,107,113,119,126,132,138,145,151,157,164,170,176,182,189,195,201,208,214,220,227,233,239,246,252,258,264,271,277,283,290,296,302,309,315,321,328,334,340,346
mov $2,$0
mul $0,4
trn $0,8
mul $0,2
lpb $0
sub $0,25
trn $0,1
add $3,1
lpe... |
Cubical/Structures/Maybe.agda | dan-iel-lee/cubical | 0 | 1943 | <filename>Cubical/Structures/Maybe.agda
{-
Maybe structure: X ↦ Maybe (S X)
-}
{-# OPTIONS --cubical --no-import-sorts --no-exact-split --safe #-}
module Cubical.Structures.Maybe where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Function
open import... |
runtime/ravenscar-sfp-stm32f427/gnarl-common/s-bbthre.adb | TUM-EI-RCS/StratoX | 12 | 13722 | <reponame>TUM-EI-RCS/StratoX
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
oeis/086/A086937.asm | neoneye/loda-programs | 11 | 17889 | ; A086937: Number of distinct zeros of x^2-x-1 mod prime(n).
; Submitted by <NAME>(s1.)
; 0,0,1,0,2,0,0,2,0,2,2,0,2,0,0,0,2,2,0,2,0,2,0,2,0,2,0,0,2,0,0,2,0,2,2,2,0,0,0,0,2,2,2,0,0,2,2,0,0,2,0,2,2,2,0,0,2,2,0,2,0,0,0,2,0,0,2,0,0,2,0,2,0,0,2,0,2,0,2,2,2,2,2,0,2,0,2,0,2,0,0,2,0,2,2,0,2,2,0,2
seq $0,40 ; The prime numbers... |
learn-assembly/asm102/asm102-01.asm | hailehong95/Practice-Coding | 0 | 15125 | <filename>learn-assembly/asm102/asm102-01.asm
; asm102-01: Nhap vao mot ky tu, Xuat ra ky tu do
.model small
.stack 100h
.data
.code
mov ah,1 ; Goi ham 1: Ham nhap du lieu
int 21h
mov dl,al
mov ah,2 ; Goi ham 2: Ham xuat du lieu
int 21h
end
; Ham 1 cua ngat 21 luu du lieu nhap vao tha... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_964.asm | ljhsiun2/medusa | 9 | 88976 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x183ce, %rsi
lea addresses_D_ht+0x1620e, %rdi
sub $24293, %r15
mov $84, %rcx
rep movsb
nop
nop
nop
nop
nop
and $40960, %r13
lea addresses_D_ht+0x12e66, %rsi
lea addresses_WC_ht+0x1aa2a,... |
Univalence/OldUnivalence/Eval.agda | JacquesCarette/pi-dual | 14 | 4431 | module Eval where
open import Data.Empty
open import Data.Unit
open import Data.Unit.Core
open import Data.Nat renaming (_⊔_ to _⊔ℕ_)
open import Data.Sum renaming (map to _⊎→_)
open import Data.Product renaming (map to _×→_)
open import Data.Vec
open import Relation.Binary.PropositionalEquality
open import FT -- Fin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.