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/fltk-images-rgb-pnm.ads | micahwelf/FLTK-Ada | 1 | 24853 | <filename>src/fltk-images-rgb-pnm.ads
package FLTK.Images.RGB.PNM is
type PNM_Image is new RGB_Image with private;
type PNM_Image_Reference (Data : not null access PNM_Image'Class) is limited null record
with Implicit_Dereference => Data;
package Forge is
function Create
... |
libsrc/oz/emu/ozgfx/ozgetpoint.asm | andydansby/z88dk-mk2 | 1 | 163857 | ;
; OZ-7xx DK emulation layer for Z88DK
; by <NAME> - Oct. 2003
;
; int ozgetpoint(int x, int y);
;
; ------
; $Id: ozgetpoint.asm,v 1.1 2003/10/29 11:37:11 stefano Exp $
;
XLIB ozgetpoint
LIB pointxy
LIB swapgfxbk
.ozgetpoint
ld ix,0
add ix,sp
ld l,(ix+2)
ld h,(ix+4)
... |
tools-src/gnu/gcc/gcc/ada/ttypes.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 2242 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
oeis/212/A212058.asm | neoneye/loda-programs | 11 | 2362 | ; A212058: Number of (w,x,y,z) with all terms in {1,...,n} and w>=x*y*z.
; Submitted by <NAME>(w3)
; 0,1,5,12,25,41,66,94,132,176,229,285,359,436,522,617,727,840,971,1105,1257,1418,1588,1761,1964,2173,2391,2619,2865,3114,3390,3669,3969,4278,4596,4923,5286,5652,6027,6411,6825,7242,7686,8133,8598
mov $1,$0
mov $3,$0
add... |
_build/dispatcher/jmp_ippsGFpECGetPoint_003eee43.asm | zyktrcn/ippcp | 1 | 14464 | extern m7_ippsGFpECGetPoint:function
extern n8_ippsGFpECGetPoint:function
extern y8_ippsGFpECGetPoint:function
extern e9_ippsGFpECGetPoint:function
extern l9_ippsGFpECGetPoint:function
extern n0_ippsGFpECGetPoint:function
extern k0_ippsGFpECGetPoint:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:funct... |
programs/oeis/116/A116725.asm | neoneye/loda | 22 | 161176 | ; A116725: Number of permutations of length n which avoid the patterns 132, 3421, 4231.
; 1,2,5,12,26,52,99,184,340,632,1189,2268,4382,8556,16839,33328,66216,131888,263113,525428,1049906,2098692,4196075,8390632,16779516,33557032,67111789,134221004,268439110,536874972,1073746319,2147488608,4294972752,8589940576,17179875... |
libsrc/_DEVELOPMENT/adt/b_vector/c/sccz80/b_vector_append_block.asm | teknoplop/z88dk | 8 | 87357 |
; void *b_vector_append_block(b_vector_t *v, size_t n)
SECTION code_clib
SECTION code_adt_b_vector
PUBLIC b_vector_append_block
EXTERN asm_b_vector_append_block
b_vector_append_block:
pop af
pop de
pop hl
push hl
push de
push af
jp asm_b_vector_append_block
|
programs/oeis/152/A152106.asm | neoneye/loda | 22 | 24317 | ; A152106: a(n) = (11^n + 7^n)/2.
; 1,9,85,837,8521,88929,944605,10155357,110061841,1199150649,13109949925,143644498677,1576134831961,17309800577169,190214028328045,2090997865462797,22991481397070881,252839829506640489
mov $1,7
pow $1,$0
mov $2,11
pow $2,$0
add $1,$2
mov $0,$1
div $0,2
|
programs/oeis/284/A284446.asm | neoneye/loda | 22 | 83477 | ; A284446: Sum_{d|n, d = 5 mod 7} d.
; 0,0,0,0,5,0,0,0,0,5,0,12,0,0,5,0,0,0,19,5,0,0,0,12,5,26,0,0,0,5,0,0,33,0,5,12,0,19,0,45,0,0,0,0,5,0,47,12,0,5,0,26,0,54,5,0,19,0,0,17,61,0,0,0,5,33,0,68,0,5,0,12,0,0,80,19,0,26,0,45,0,82,0,12,5,0,0,0,89,5,0,0,0,47,24,108,0,0,33,5
add $0,1
mov $2,$0
mov $0,211907
lpb $0
sub $0,5... |
source/nodes/program-nodes-allocators.adb | reznikmm/gela | 0 | 6712 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Allocators is
function Create
(New_Token : not null Program.Lexical_Elements
.Lexical_Element_Access;
Left_Brac... |
Source/Levels/L0901.asm | AbePralle/FGB | 0 | 15800 | <gh_stars>0
; L0901.asm
; Generated 01.03.1980 by mlevel
; Modified 01.03.1980 by <NAME>
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
HFENCE_INDEX EQU 35
VFENCE_INDEX EQU 39
VAR_HFENCE EQU 0
VAR_VFENCE EQU 1
;---------------------------------------------------------------------
SECTION "Level0901Section",R... |
Cubical/HITs/Nullification/Base.agda | borsiemir/cubical | 0 | 6021 | {-# OPTIONS --cubical --safe #-}
module Cubical.HITs.Nullification.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.PathSplitEquiv
open isPathSplitEquiv
isNull : ∀ {ℓ ℓ'} (S : Type ℓ) (A : Type ℓ') → Type (ℓ-max ℓ ℓ')
isNull S A = isPathSplitE... |
libsrc/stdio/__scanf_handle_f.asm | dikdom/z88dk | 1 | 173488 |
MODULE __scanf_handle_f
SECTION code_clib
IF ! __CPU_INTEL__
PUBLIC __scanf_handle_f
EXTERN __scanf_common_start
EXTERN scanf_exit
EXTERN __scanf_ungetchar
EXTERN __scanf_getchar
EXTERN scanf_loop
EXTERN __scanf_check_sign
EXTERN atof
EXTERN l_cmp
EXTERN a... |
Cubical/Structures/Function.agda | dan-iel-lee/cubical | 0 | 13170 | {-
Functions between structures S and T: X ↦ S X → T X
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Structures.Function where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Function
open import Cubical.Foundations.Isomorphism
open... |
theorems/cohomology/DisjointlyPointedSet.agda | timjb/HoTT-Agda | 294 | 14458 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import homotopy.Bouquet
open import homotopy.DisjointlyPointedSet
open import cohomology.Theory
module cohomology.DisjointlyPointedSet {i} (OT : OrdinaryTheory i) where
open OrdinaryTheory OT
open import cohomology.Bouquet OT
module _ (X : Ptd i)
... |
Agda/Ag12.agda | Brethland/LEARNING-STUFF | 2 | 12660 | <reponame>Brethland/LEARNING-STUFF
module Ag12 where
import Relation.Binary.PropositionalEquality as Eq
open Eq
open import Data.Nat using (ℕ; zero; suc; _+_; _*_)
open import Relation.Nullary using (¬_)
open import Data.Product using (_×_; proj₁; proj₂) renaming (_,_ to ⟨_,_⟩)
open import Data.Sum using (_⊎_; inj₁; i... |
programs/oeis/001/A001911.asm | jmorken/loda | 1 | 171617 | ; A001911: a(n) = Fibonacci(n+3) - 2.
; 0,1,3,6,11,19,32,53,87,142,231,375,608,985,1595,2582,4179,6763,10944,17709,28655,46366,75023,121391,196416,317809,514227,832038,1346267,2178307,3524576,5702885,9227463,14930350,24157815,39088167,63245984,102334153,165580139,267914294,433494435,701408731,1134903168,1836311901,2971... |
dowload_manager/src/aws-resources-streams-pipes.ads | persan/AWS-producer-experiments | 2 | 19419 | pragma Ada_2012;
with AWS.Resources.Streams.Memory;
with GNAT.Semaphores;
with System;
with Ada.Finalization;
package AWS.Resources.Streams.Pipes is
use AWS.Resources.Streams.Memory;
type Stream_Type is new Streams.Memory.Stream_Type with private;
procedure Append
(Resource : in out Stream_Type;
... |
theorems/groups/CoefficientExtensionality.agda | timjb/HoTT-Agda | 0 | 7206 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
module groups.CoefficientExtensionality where
module _ {i} {A : Type i} (dec : has-dec-eq A) where
Word-coef : Word A → (A → ℤ)
Word-coef nil a = 0
Word-coef (inl a' :: w) a with dec a' a
Word-coef (inl a' :: w) a | inl a'=a = succ $ Word-coef w a
W... |
Cubical/Data/Sigma/Properties.agda | cmester0/cubical | 1 | 15265 | <filename>Cubical/Data/Sigma/Properties.agda
{-
Basic properties about Σ-types
- Characterization of equality in Σ-types using transport ([pathSigma≡sigmaPath])
-}
{-# OPTIONS --cubical --safe #-}
module Cubical.Data.Sigma.Properties where
open import Cubical.Data.Sigma.Base
open import Cubical.Core.Everything
op... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cumulus_nclu/CumulusNclu_stp.g4 | zabrewer/batfish | 763 | 945 | parser grammar CumulusNclu_stp;
import CumulusNclu_common;
options {
tokenVocab = CumulusNcluLexer;
}
// Spanning tree options that apply to interfaces and bonds
stp_common
:
STP
(
stp_bpduguard
| stp_portadminedge
| stp_portautoedge
| stp_portbpdufilter
| stp_portnetwork
| stp_portrest... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_1732.asm | ljhsiun2/medusa | 9 | 89864 | <filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_1732.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x168a0, %rsi
lea addresses_A_ht+0x8940, %rdi
nop
nop
nop
nop
cmp $35805, %rbp
mov $17, %rc... |
sway-core/tests/ir_to_asm/strings_in_storage.asm | FuelLabs/sway | 75 | 168655 | .program:
ji i4
noop
DATA_SECTION_OFFSET[0..32]
DATA_SECTION_OFFSET[32..64]
lw $ds $is 1
add $$ds $$ds $is
lw $r1 $fp i73 ; load input function selector
lw $r0 data_3 ; load fn selector for comparison
eq $r0 $r1 $r0 ; function selector comparison
jnzi $r0 i14 ... |
gcc-gcc-7_3_0-release/gcc/ada/g-alleve.adb | best08618/asylo | 7 | 6998 | <filename>gcc-gcc-7_3_0-release/gcc/ada/g-alleve.adb<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_204.asm | ljhsiun2/medusa | 9 | 81901 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1a989, %rax
nop
nop
xor %rdx, %rdx
movb (%rax), %r12b
nop
nop
nop
add %r12, %r12
lea addresses_WC_ht+0x185e9, %r9
nop
xor $62686, %rdx
mov $0x6162636465666768, %rcx
movq ... |
day18/tests/day-test.adb | jwarwick/aoc_2020 | 3 | 4211 | <gh_stars>1-10
with AUnit.Assertions; use AUnit.Assertions;
package body Day.Test is
procedure Test_Part1 (T : in out AUnit.Test_Cases.Test_Case'Class) is
pragma Unreferenced (T);
t1 : constant Long_Integer := eval_string("1 + 2 * 3 + 4 * 5 + 6");
t2 : constant Long_Integer := eval_string("1 + (2 * 3) +... |
data/ouagadougou.asm | BlockoS/up-kos | 1 | 85729 | ; Song Ouagadougou in Lightweight format.
; Generated by Arkos Tracker 2.
Ouagadougou_SongStart:
defb "ATLW" ; Format marker (LightWeight).
defb 0 ; Format version.
defw Ouagadougou_FmInstrumentTable
defw Ouagadougou_ArpeggioTable
defw Ouagadougou_PitchTable
; Table of the Subsongs.
defw Ouagadougou_Su... |
programs/oeis/055/A055585.asm | karttu/loda | 1 | 7760 | ; A055585: Second column of triangle A055584.
; 1,6,25,88,280,832,2352,6400,16896,43520,109824,272384,665600,1605632,3829760,9043968,21168128,49152000,113311744,259522560,590872576,1337982976,3014656000,6761218048,15099494400,33587986432,74440507392
mov $1,$0
mov $2,2
add $2,$0
mov $0,2
pow $0,$1
add $1,8
pow $2,2
sub... |
programs/oeis/268/A268414.asm | jmorken/loda | 1 | 4467 | <gh_stars>1-10
; A268414: a(n) = 5*a(n - 1) - 2*n for n>0, a(0) = 1.
; 1,3,11,49,237,1175,5863,29301,146489,732427,3662115,18310553,91552741,457763679,2288818367,11444091805,57220458993,286102294931,1430511474619,7152557373057,35762786865245,178813934326183,894069671630871,4470348358154309
mov $2,$0
mov $4,2
lpb $0
... |
coco.g4 | JaMort/CoCo | 0 | 2761 | <filename>coco.g4<gh_stars>0
grammar coco;
/* Compiler-compiler */
start : dtd+=dataTypeDef+ EOF ;
// definition of an algebraic data type
dataTypeDef : 'DATA'
name=ID 'WITH' fun=JAVACODE '=' as=alternatives ';' ;
// alternatives of an algebraic data type and concrete syntax for it.
alternatives : as+=alternat... |
roses.asm | yarneo/alonandyarden-os-ass2 | 0 | 83768 | <gh_stars>0
_roses: file format elf32-i386
Disassembly of section .text:
00000000 <charCat>:
}
}
void
charCat(char* str, char c) {
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
char* point = str;
while((*point) != '\0') {
3: 8b 45 08 mov ... |
oeis/121/A121958.asm | neoneye/loda-programs | 11 | 170126 | ; A121958: Quadratic n^2-n-1 functional matrix Markov of the A001053 type.
; Submitted by <NAME>
; 0,1,1,6,67,1279,37158,1524757,83898793,5958339060,530376075133,57816950528557,7574550895316100,1174113205724524057,212522064787034170417,44418285653695866141210,10616182793298099041919607,2877029955269438536226354707,8775... |
Tests/yasm-regression/rdrand.asm | 13xforever/x86-assembly-textmate-bundle | 69 | 161774 | [bits 64]
rdrand cx ; out: 66 0f c7 f1
rdrand ecx ; out: 0f c7 f1
rdrand rcx ; out: 48 0f c7 f1
|
progress.applescript | rinchen/fesc | 0 | 3567 | <filename>progress.applescript<gh_stars>0
on opened theObject
-- we are starting up the first time
call method "registerDefaultObjects:forKeys:" with parameters {{"Macintosh HD:Applications:freenet:", "Macintosh HD:Applications:entropy:", "Macintosh HD:Applications:samizdat:"}, {"location", "entropy", "samizdat"}}
t... |
game/logic/game_states/transitions/transitions.asm | benoitryder/super-tilt-bro | 0 | 4320 | <reponame>benoitryder/super-tilt-bro<filename>game/logic/game_states/transitions/transitions.asm
state_transition_id:
.byt STATE_TRANSITION(GAME_STATE_TITLE, GAME_STATE_MODE_SELECTION)
.byt STATE_TRANSITION(GAME_STATE_MODE_SELECTION, GAME_STATE_TITLE)
.byt STATE_TRANSITION(GAME_STATE_MODE_SELECTION, GAME_STATE_CONFI... |
Quark.g4 | alanbato/quark | 4 | 5751 | grammar Quark;
@header {
from Compiler import Compiler
c = Compiler()
quadruples = None
func_directory = None
type_directory = None
constants = None
}
ID:[a-z][a-zA-Z0-9_]*;
TYPE_ID: [A-Z][a-zA-Z0-9_]*;
CONST_I: [0-9]+;
CONST_F: [0-9]+ [.][0-9]+;
STRING: ["].*? ["];
SPACE: [\t\r\f\n ]+ -> skip;
function:
'def' ID {... |
src/Formula.g4 | constcut/spreadsheet_cpp | 0 | 4051 | grammar Formula;
main
: expr EOF
;
expr
: '(' expr ')' # Parens
| (ADD | SUB) expr # UnaryOp
| expr (MUL | DIV) expr # BinaryOp
| expr (ADD | SUB) expr # BinaryOp
| CELL # Cell
| NUMBER # Literal
;
// number literals cannot be signed, or else 1-2 would be lexed as [1] [-2]
... |
Task/Percentage-difference-between-images/Ada/percentage-difference-between-images-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 3570 | function "-" (Left, Right : Pixel) return Count is
begin
return (Left.R - Right.R) + (Left.G - Left.G) + (Left.B - Right.B);
end "-";
|
136/ada/greet_5a_reverse.adb | notdb/LC-Practice | 0 | 24906 | with Ada.Text_IO; use Ada.Text_IO;
procedure Greet_5a_Reverse is
begin
for I in reverse 1 .. 5 loop
Put_Line ("Hello, World!" & Integer'Image (I));
end loop;
end Greet_5a_Reverse; |
programs/oeis/175/A175604.asm | neoneye/loda | 22 | 167441 | <filename>programs/oeis/175/A175604.asm<gh_stars>10-100
; A175604: a(n) = 8*(10^n-7).
; 24,744,7944,79944,799944,7999944,79999944,799999944,7999999944,79999999944,799999999944,7999999999944,79999999999944,799999999999944,7999999999999944,79999999999999944,799999999999999944,7999999999999999944,79999999999999999944,7999... |
src/numerics-sparse_matrices-remove_duplicates.adb | sciencylab/lagrangian-solver | 0 | 3614 | <gh_stars>0
separate (Numerics.Sparse_Matrices)
procedure Remove_Duplicates (Mat : in out Sparse_Matrix) is
N, Iter : Pos := 0;
J : Int_Array (1 .. Nat (Mat.P.Length)) := (others => 0);
I : Int_Array (1 .. Pos (Mat.I.Length));
X : Real_Vector (1 .. Pos (Mat.X.Length));
begin
for K in 1 .. Nat (Mat.P.L... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/addr6.adb | best08618/asylo | 7 | 21738 | <gh_stars>1-10
-- { dg-do compile }
procedure Addr6 is
type Byte is mod 2**8;
type Byte_Arr1 is array (Positive range <>) of Byte;
for Byte_Arr1'Alignment use 4;
type Byte_Arr2 is array (Positive range <>) of Byte;
function Length return Natural is
begin
return 1;
end;
function Empty ... |
programs/oeis/004/A004930.asm | karttu/loda | 1 | 241516 | <reponame>karttu/loda
; A004930: Floor of n*phi^15, where phi is the golden ratio, A001622.
; 0,1364,2728,4092,5456,6820,8184,9548,10912,12276,13640,15004,16368,17732,19096,20460,21824,23188,24552,25916,27280,28644,30008,31372,32736,34100,35464,36828,38192
mov $1,$0
mul $1,1364
|
coverage/IN_CTS/0570-COVERAGE-constant-folding-1830-2496/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 0 | 27360 | ; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 95
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %76
OpExecutionMode %4 OriginUp... |
list_iface/src/lists-fixed.adb | gerr135/ada_gems | 6 | 24371 | package body Lists.fixed is
overriding
function List_Constant_Reference (Container : aliased in List; Position : Cursor) return Constant_Reference_Type is
CR : Constant_Reference_Type(Container.data(Position.Index)'Access);
begin
return CR;
end;
overriding
function List_Const... |
Automaton/Pushdown.agda | Lolirofle/stuff-in-agda | 6 | 11541 | <reponame>Lolirofle/stuff-in-agda<gh_stars>1-10
module Automaton.Pushdown where
|
smsq/sbas/turbo.asm | olifink/smsqe | 0 | 174818 | <gh_stars>0
; Turbo Patch(es) 1993 <NAME>
section uq
xdef sb_pturbo
xref sb_litem
include 'dev8_keys_qdos_sms'
include 'dev8_keys_sys'
include 'dev8_keys_sbasic'
include 'dev8_keys_68000'
sbpt_name dc.w 13,'BASIC_POINTER'
sbpt_code moveq #sms.info,d0 ; get SB vars via SuperBASIC base
trap... |
lemmas/saatana-crypto-lemmas.ads | HeisenbugLtd/Saatana | 10 | 19032 | <gh_stars>1-10
------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam H... |
agda/hott/topology/theorems.agda | piyush-kurur/hott | 0 | 6327 | <reponame>piyush-kurur/hott
module hott.topology.theorems where
open import hott.topology
open import hott.topology.loopspace.theorems public
|
oeis/121/A121289.asm | neoneye/loda-programs | 11 | 2481 | <reponame>neoneye/loda-programs
; A121289: a(n) = n/(largest triangular number dividing n).
; Submitted by <NAME>
; 0,1,2,1,4,5,1,7,8,3,1,11,2,13,14,1,16,17,3,19,2,1,22,23,4,25,26,9,1,29,2,31,32,11,34,35,1,37,38,13,4,41,2,43,44,1,46,47,8,49,5,17,52,53,9,1,2,19,58,59,4,61,62,3,64,65,1,67,68,23,7,71,2,73,74,5,76,77,1,79,... |
A01/input2.asm | HeptaDecane/SPOSL_SEM6 | 0 | 101646 | START 100
A DS 3
L1 MOVER AREG B
ADD AREG C
MOVEM BREG ='10'
LTORG
C DC '5'
B DC '19'
END |
g-catiio.ads | ytomino/gnat4drake | 0 | 12937 | <filename>g-catiio.ads
pragma License (Unrestricted);
package GNAT.Calendar.Time_IO is
type Picture_String is new String;
ISO_Date : constant Picture_String := "%Y-%m-%d";
function Image (Date : Ada.Calendar.Time; Picture : Picture_String)
return String;
function Value (Date : String) return Ada.C... |
hello_world_alternative.asm | badcf00d/BIOS-helloworld | 0 | 82541 | <reponame>badcf00d/BIOS-helloworld<gh_stars>0
; Example to print hello world to the screen from the BIOS
;
; Can be used with:
; nasm -f bin hello_world_alternative.asm -o hello_world.img
; qemu-system-x86_64 -hda hello_world.img
;
bits 16
org 0x7c00
msg: db "Hello world"
msglen equ $-msg
mov ah, 0x13 ... |
pgada-database.ads | io7m/coreland-postgres-ada | 1 | 16069 | ------------------------------------------------------------------------------
-- --
-- P G A D A . D A T A B A S E --
-- --
-- ... |
Application Support/BBEdit/Packages/dStyle.bbpackage/Contents/Scripts/Selection/Text bigger.applescript | bhdicaire/bbeditSetup | 0 | 4176 | <gh_stars>0
tell application "BBEdit"
local dfs
set dfs to display font size of text window 1
set dfs to dfs + 1
set display font size of text window 1 to dfs
end tell |
source/utility/astack.asm | paulscottrobson/lean | 2 | 168827 | <reponame>paulscottrobson/lean
; ******************************************************************************
; ******************************************************************************
;
; Name : astack.asm
; Purpose : Utility routines for compiler stack
; Author : <NAME> (<EMAIL>)
; Created : 27th Oct... |
fio.nasm | fasync/Syndicate | 1 | 17449 | ;; Copyright (c) 2020, <NAME>
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;; 1. Redistributions of source code must retain the above copyright
;; notice, this list of conditions... |
ffight/lcs/boss/3F.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 246278 | copyright zengfr site:http://github.com/zengfr/romhack
003CDE move.b #$3, ($3f,A3) [boss+3C]
003CE4 sub.w D5, ($18,A3) [boss+3F]
007340 move.b ($b,A2), ($3f,A3) [boss+16, enemy+16]
007346 bmi $746c [boss+3F, enemy+3F]
03ED34 move.b #$4, ($3,A6) [boss+3F]
copyright zengfr site:http://github.com/zengfr/rom... |
source/amf/uml/amf-standard_profile_l2-sources-collections.ads | svn2github/matreshka | 24 | 8435 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
base/mvdm/wow16/drivers/comm/ibmcom1.asm | npocmaka/Windows-Server-2003 | 17 | 8974 | <filename>base/mvdm/wow16/drivers/comm/ibmcom1.asm
page
;---------------------------Module-Header-------------------------------;
; Module Name: IBMCOM1.ASM
;
; Copyright (c) Microsoft Corporation 1985-1990. All Rights Reserved.
;
;----------------------------Private-Routine----------------------------;
;
; ... |
source/miscellany/indexing.asm | paulscottrobson/rpl-32 | 0 | 86729 | <gh_stars>0
; ******************************************************************************
; ******************************************************************************
;
; Name : indexing.asm
; Purpose : Handle array indexing / subscripts
; Author : <NAME> (<EMAIL>)
; Created : 4th October 2019
;
; *****... |
src/fltk-widgets-groups-tiled.adb | micahwelf/FLTK-Ada | 1 | 26572 |
with
Interfaces.C,
System;
use type
System.Address;
package body FLTK.Widgets.Groups.Tiled is
procedure tile_set_draw_hook
(W, D : in System.Address);
pragma Import (C, tile_set_draw_hook, "tile_set_draw_hook");
pragma Inline (tile_set_draw_hook);
procedure tile_set_hand... |
oeis/084/A084947.asm | neoneye/loda-programs | 11 | 162456 | ; A084947: a(n) = Product_{i=0..n-1} (7*i+2).
; 1,2,18,288,6624,198720,7352640,323516160,16499324160,956960801280,62202452083200,4478576549990400,353807547449241600,30427449080634777600,2829752764499034316800,282975276449903431680000,30278354580139667189760000,3451732422135922059632640000,417659623078446569215549440000... |
xv6/grep.asm | suriya-1403/suriya-s-XV6 | 2 | 170334 | <filename>xv6/grep.asm
_grep: file format elf32-i386
Disassembly of section .text:
00000000 <grep>:
char buf[1024];
int match(char*, char*);
void
grep(char *pattern, int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
in... |
Library/Chart/CGrObj/cgrobjSpline.asm | steakknife/pcgeos | 504 | 101465 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: cgrobjSpline.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- -----... |
scripts/chrometabs2markdown.scpt | eloypnd/dropbox | 0 | 4379 | <filename>scripts/chrometabs2markdown.scpt
(* Copy all open tabs from the Google Chrome windows that have focus
*
* @param targetWindow -- chrome window to copy tabs
*
* version: 0.2
* author: <NAME> <<EMAIL>>
* license: MIT
*)
on run (arg)
set targetWindow to 1 -- default window is 1
if arg's length is 1 the... |
libsrc/_DEVELOPMENT/sound/bit/c/sdcc_iy/bit_play_fastcall.asm | meesokim/z88dk | 0 | 96160 |
; char *bit_play_fastcall(char *melody)
SECTION code_sound_bit
PUBLIC _bit_play_fastcall
EXTERN asm_bit_play
defc _bit_play_fastcall = asm_bit_play
|
oeis/141/A141975.asm | neoneye/loda-programs | 11 | 160151 | <filename>oeis/141/A141975.asm
; A141975: Primes congruent to 25 mod 28.
; Submitted by <NAME>
; 53,109,137,193,277,389,557,613,641,809,977,1033,1061,1117,1201,1229,1453,1481,1621,1733,1789,1873,1901,2069,2153,2237,2293,2377,2657,2713,2741,2797,2909,3049,3217,3301,3329,3413,3469,3581,3637,3833,3889,3917,4001,4057,4253,... |
src/main/antlr4/imports/Declarations.g4 | Yucukof/edu-antlr4-toy-parser-to-nbc | 0 | 7732 | grammar Declarations;
import Instructions
, Types
, Words;
varDecl: varType ';'
;
fctDecl: ID AS FUNCTION '(' (varType (',' varType)* )? ')' ':' (scalar | VOID)
(DECLARE LOCAL varDecl+)?
DO instruction*
(RETURN (expression | VOID))?
DONE
;
varType: ID AS type
; |
hacks/images/m6502/sflake.asm | MBrassey/xscreensaver_BlueMatrix | 2 | 13410 | ;; <NAME> 01-December-2008
;; Snowflakes
;; Main loop Count
lda #7
sta $f
;; pattern number
lda #0
sta $10
;;Cells
lda #$00
sta $4
lda #$10
sta $5
;;Tmp
lda #$00
sta $6
lda #$11
sta $7
;;Init Cells Buffer
;;------------------------------------------------------------
ldy #$ff
initCells:
lda #0
sta ($4),y
sta ($6),... |
source/modules/basic/expressions/number/sgn.asm | paulscottrobson/mega-basic | 3 | 23426 | ; *******************************************************************************************
; *******************************************************************************************
;
; Name : sgn.asm
; Purpose : Sgn( unary function
; Date : 22nd August 2019
; Review : 1st September 2019
; Author : <NAM... |
programs/oeis/280/A280173.asm | neoneye/loda | 22 | 12897 | ; A280173: a(0) = 1, a(n+1) = 2*a(n) + periodic sequence of length 2: repeat [5, -4].
; 1,7,10,25,46,97,190,385,766,1537,3070,6145,12286,24577,49150,98305,196606,393217,786430,1572865,3145726,6291457,12582910,25165825,50331646,100663297,201326590,402653185,805306366,1610612737,3221225470,6442450945,12884901886,25769803... |
src/demo-atmospheres.ads | onox/orka-demo | 3 | 24099 | <filename>src/demo-atmospheres.ads<gh_stars>1-10
with Orka.Features.Atmosphere.Earth;
with Orka.Features.Atmosphere.Rendering;
with Orka.Resources.Locations;
with Orka.Behaviors;
with Orka.Cameras;
with Orka.Rendering.Programs.Modules;
with Planets;
package Demo.Atmospheres is
type Atmosphere is tagged limited pr... |
oeis/085/A085744.asm | neoneye/loda-programs | 11 | 247098 | ; A085744: a(n) = A000217(n^3) - n^3.
; 0,0,28,351,2016,7750,23220,58653,130816,265356,499500,885115,1492128,2412306,3763396,5693625,8386560,12066328,17003196,23519511,31996000,42878430,56684628,74011861,95544576,122062500,154449100,193700403,240934176,297399466,364486500,443736945,536854528,645716016,772382556,9191113... |
Categories/Product/Projections.agda | copumpkin/categories | 98 | 17005 | <reponame>copumpkin/categories
{-# OPTIONS --universe-polymorphism #-}
open import Level
open import Categories.Category
open import Categories.Product
module Categories.Product.Projections
{o ℓ e o′ ℓ′ e′}
(C : Category o ℓ e)
(D : Category o′ ℓ′ e′)
where
open import Categories.Functor
open import... |
FormalAnalyzer/models/meta/cap_audioMute.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 2443 | <reponame>Mohannadcse/IoTCOM_BehavioralRuleExtractor
// filename: cap_audioMute.als
module cap_audioMute
open IoTBottomUp
one sig cap_audioMute extends Capability {}
{
attributes = cap_audioMute_attr
}
abstract sig cap_audioMute_attr extends Attribute {}
one sig cap_audioMute_attr_mute extends cap_audioMute_attr {... |
libsrc/_DEVELOPMENT/math/integer/z80_zxn/l_z80_zxn_mulu_32_16x16.asm | rjcorrig/z88dk | 0 | 174085 | <reponame>rjcorrig/z88dk
; 2018 <NAME>
SECTION code_clib
SECTION code_math
PUBLIC l_z80_zxn_mulu_32_16x16
l_z80_zxn_mulu_32_16x16:
; multiplication of two 16-bit numbers into a 32-bit product
;
; enter : de = 16-bit multiplicand = y
; hl = 16-bit multiplicand = x
;
; exit : dehl = 32-bit ... |
kernel/src/spinlock.asm | Stoozy/osdev | 0 | 100453 | global acquire_lock
global release_lock
extern print_spin_wait
acquire_lock:
lock bts dword [rdi], 0
jc .spin_wait
ret
.spin_wait:
call print_spin_wait
test dword [rdi], 1
jnz .spin_wait
release_lock:
mov dword [rdi], 0
ret
|
specification_scanner.ads | annexi-strayline/AURA | 13 | 20634 | ------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- ... |
programs/oeis/129/A129953.asm | neoneye/loda | 22 | 4341 | ; A129953: First differences of A129952.
; 0,1,4,10,24,56,128,288,640,1408,3072,6656,14336,30720,65536,139264,294912,622592,1310720,2752512,5767168,12058624,25165824,52428800,109051904,226492416,469762048,973078528,2013265920,4160749568,8589934592,17716740096,36507222016,75161927680,154618822656,317827579904,6528350289... |
a/applescript.scpt | ozcanyarimdunya/FuckYouGithub | 0 | 91 | display dialog "Fuck You Github"
|
oeis/280/A280014.asm | neoneye/loda-programs | 11 | 172727 | <reponame>neoneye/loda-programs<filename>oeis/280/A280014.asm
; A280014: Numbers m == +- 2 (mod 10) but not m == 2 (mod 6).
; Submitted by <NAME>
; 12,18,22,28,42,48,52,58,72,78,82,88,102,108,112,118,132,138,142,148,162,168,172,178,192,198,202,208,222,228,232,238,252,258,262,268,282,288,292,298,312,318,322,328,342,348,... |
src/fixed_pointers.asm | pwk4m1/TinyBIOS | 23 | 93624 | ; BSD 3-Clause License
;
; Copyright (c) 2019, k4m1 <<EMAIL>>
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; * Redistributions of source code must retain the above copyright notice,
; t... |
programs/oeis/194/A194825.asm | neoneye/loda | 22 | 171648 | ; A194825: Digital roots of the nonzero 9-gonal (nonagonal) numbers.
; 1,9,6,1,3,3,1,6,9,1,9,6,1,3,3,1,6,9,1,9,6,1,3,3,1,6,9,1,9,6,1,3,3,1,6,9,1,9,6,1,3,3,1,6,9,1,9,6,1,3,3,1,6,9,1,9,6,1,3,3,1,6,9,1,9,6,1,3,3,1,6,9,1,9,6,1,3,3,1,6,9,1,9,6,1,3
pow $0,2
mul $0,1331
mod $0,9
add $0,1
|
programs/oeis/017/A017742.asm | neoneye/loda | 22 | 1916 | ; A017742: Binomial coefficients C(n,78).
; 1,79,3160,85320,1749060,29034396,406481544,4935847320,53060358690,512916800670,4513667845896,36519676207704,273897571557780,1917283000904460,12599288291657880,78115587408278856,458929076023638279,2564603660132096265,13677886187371180080,69829208430263393040,342163121308290625... |
symbex-parse.adb | io7m/coreland-symbex | 1 | 10472 | with Interfaces;
use type Interfaces.Unsigned_32;
package body Symbex.Parse is
package body Internal is
function Get_Data (Node : in Node_t)
return UBW_Strings.Unbounded_Wide_String is
begin
case Node.Kind is
when Node_Symbol => return Node.Name;
when Node_String => return Node... |
Assignment-1/fibonacci.asm | sameermuhd/CS311-Computer-Architecture-Lab | 0 | 15568 | <reponame>sameermuhd/CS311-Computer-Architecture-Lab
.data
n:
10
.text
main:
load %x0, $n, %x6 ;x6 = n
addi %x0, 0, %x3 ;x3 = 0 [F0]
addi %x0, 1, %x4 ;x4 = 1 [F1]
addi %x0, 0, %x5 ;x5 = index i = 0
addi %x0, 65535, %x8 ;starting address x8 = 65535 = 2^16 -1
addi %x0, 0, %x10 ;stores 0
addi %x0, 1, %x11 ;store... |
alloy4fun_models/trashltl/models/4/AmpMtMsf8qiLqDfqs.als | Kaixi26/org.alloytools.alloy | 0 | 4510 | <gh_stars>0
open main
pred idAmpMtMsf8qiLqDfqs_prop5 {
eventually some f:File | File' = File - f
}
pred __repair { idAmpMtMsf8qiLqDfqs_prop5 }
check __repair { idAmpMtMsf8qiLqDfqs_prop5 <=> prop5o } |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_1535.asm | ljhsiun2/medusa | 9 | 18810 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x5ca2, %r12
nop
nop
nop
cmp %rsi, %rsi
movl $0x61626364, (%r12)
nop
nop
nop
cmp %r12, %r12
lea addresses_WC_ht+0x12727, %rax
nop
nop
no... |
programs/oeis/192/A192736.asm | karttu/loda | 0 | 178941 | <reponame>karttu/loda<gh_stars>0
; A192736: Right edge of the triangle in A033291.
; 1,4,12,28,50,84,133,192,270,370,484,624,793,980,1200,1456,1734,2052,2413,2800,3234,3718,4232,4800,5425,6084,6804,7588,8410,9300,10261,11264,12342,13498,14700,15984,17353,18772,20280,21880,23534,25284,27133,29040
add $0,2
mov $1,$0
mov... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_242.asm | ljhsiun2/medusa | 9 | 176418 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rbx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x17a2c, %rsi
nop
nop
nop
nop
cmp $7993, %r14
and $0xffffffffffffffc0, %rsi
vmovaps (%rsi), %ymm1
vextracti128 $0, %ymm1, %xmm1
vpextrq $1, %xmm1, %rdx
nop
nop
nop
xor $2325, %rbx
lea add... |
oeis/037/A037739.asm | neoneye/loda-programs | 11 | 16382 | <gh_stars>10-100
; A037739: Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,3,0.
; Submitted by <NAME>
; 2,13,81,486,2918,17509,105057,630342,3782054,22692325,136153953,816923718,4901542310,29409253861,176455523169,1058733139014,6352398834086,38114393004517,22868635802710... |
lib/Haskell/Prim/Maybe.agda | ioanasv/agda2hs | 1 | 4342 | <filename>lib/Haskell/Prim/Maybe.agda
module Haskell.Prim.Maybe where
open import Agda.Builtin.List public
open import Haskell.Prim
open import Haskell.Prim.List
--------------------------------------------------
-- Maybe
data Maybe {ℓ} (a : Set ℓ) : Set ℓ where
Nothing : Maybe a
Just : a -> Maybe a
maybe ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/alignment6.adb | best08618/asylo | 7 | 13196 | -- { dg-do compile }
-- { dg-options "-gnatws -fdump-tree-gimple" }
procedure Alignment6 is
type MY_REC is
record
A1 : INTEGER range -3 .. 3 ; -- symmetric
A2 : BOOLEAN ;
A3 : INTEGER range 0 .. 15 ; -- positive
A4 : INTEGER range 10 .. 100 ; -- arbitrary
A5 : BOOLEAN ; --5... |
tests/window/main.adb | Fabien-Chouteau/ASFML | 0 | 28212 | <reponame>Fabien-Chouteau/ASFML
with Ada.Text_IO; use Ada.Text_IO;
with Sf.Window.Window; use Sf, Sf.Window, Sf.Window.Window;
with Sf.Window.VideoMode; use Sf.Window.VideoMode;
with Sf.Window.Event; use Sf.Window.Event;
with Sf.Window.Keyboard; use Sf.Window.Keyboard;
with Sf.Window.Clipboard;
with Sf.... |
pixy/src/host/pantilt_in_ada/specs/x86_64_linux_gnu_bits_types_h.ads | GambuzX/Pixy-SIW | 1 | 2611 | --
-- Copyright (c) 2015, <NAME> <<EMAIL>>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above copyright
-- notice and this permission notice appear in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT... |
lib/Runtime/Library/amd64/JavascriptFunctionA.asm | Taritsyn/ChakraCore | 8,664 | 247229 | ;-------------------------------------------------------------------------------------------------------
; Copyright (C) Microsoft. All rights reserved.
; Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
;-------------------------------------------------------------... |
Mockingbird/Problems/Chapter18.agda | splintah/combinatory-logic | 1 | 13872 | <filename>Mockingbird/Problems/Chapter18.agda
open import Mockingbird.Forest using (Forest)
import Mockingbird.Forest.Birds as Birds
-- The Master Forest
module Mockingbird.Problems.Chapter18 {b ℓ} (forest : Forest {b} {ℓ})
⦃ _ : Birds.HasStarling forest ⦄
... |
vm/grammar/TLexer.g4 | verbum-lang/verbum-language | 0 | 6962 |
/*
** Copyright (c) 2022, the Verbum project authors. Please see the AUTHORS file
** for details. All rights reserved. Use of this source code is governed by a
** BSD-style license that can be found in the LICENSE file.
**
** In principio erat Verbum et Verbum erat apud Deum et Deus erat Verbum - John 1
**
** Gramáti... |
unittests/ASM/H0F38/66_1E.asm | cobalt2727/FEX | 628 | 80895 | %ifdef CONFIG
{
"RegData": {
"XMM0": ["0x0", "0x0"],
"XMM1": ["0x0000000100000001", "0x0000000100000001"],
"XMM2": ["0x0000000100000001", "0x0000000100000001"],
"XMM3": ["0x0000000100000000", "0x0000000100000001"]
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x0000000000000000
mov [rdx + 8 * 0], rax
mo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.