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 |
|---|---|---|---|---|
alloy4fun_models/trashltl/models/3/huTu9vqKb3xyi4tha.als | Kaixi26/org.alloytools.alloy | 0 | 4308 | <filename>alloy4fun_models/trashltl/models/3/huTu9vqKb3xyi4tha.als
open main
pred idhuTu9vqKb3xyi4tha_prop4 {
always some f : File - Trash | eventually f in Trash
}
pred __repair { idhuTu9vqKb3xyi4tha_prop4 }
check __repair { idhuTu9vqKb3xyi4tha_prop4 <=> prop4o } |
branch16_test/branch16_immediate_test.asm | nealvis/nv_c64_util_test | 0 | 21787 | //////////////////////////////////////////////////////////////////////////////
// branch16_immediate_test.asm
// Copyright(c) 2021 <NAME>.
// License: MIT. See LICENSE file in root directory.
//////////////////////////////////////////////////////////////////////////////
// This program demonstrates and tests the 16 bit... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45523a.ada | best08618/asylo | 7 | 15266 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45523a.ada
-- C45523A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimi... |
src/Chat.g4 | amorygalili/antlr4-example | 0 | 4288 | grammar Chat;
/**
* Parser Rules
*/
chat : line+ EOF ;
line : name command message NEWLINE ;
name : WORD WHITESPACE ;
command : (SAYS | SHOUTS) ':' WHITESPACE ;
message : (emoticon | link | color | mention | WORD | WHITESPACE)+ ;
emoticon : ':' '-'? ')'
| ':' '-'? '(' ;
link : '[' TEXT ']' '(' TEXT '... |
alloy4fun_models/trashltl/models/5/9bs97Gt6AjnaMLbQF.als | Kaixi26/org.alloytools.alloy | 0 | 2524 | open main
pred id9bs97Gt6AjnaMLbQF_prop6 {
always all p : File | always p in Trash since p in Trash
}
pred __repair { id9bs97Gt6AjnaMLbQF_prop6 }
check __repair { id9bs97Gt6AjnaMLbQF_prop6 <=> prop6o } |
linear_algebra/givens_qr.ads | jscparker/math_packages | 30 | 6497 | <filename>linear_algebra/givens_qr.ads
--------------------------------------------------------------------------
-- package Givens_QR, QR decomposition using Givens rotations
-- Copyright (C) 2008-2018 <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee... |
programs/oeis/276/A276677.asm | jmorken/loda | 1 | 82301 | ; A276677: Number of squares added at the n-th generation of a symmetric (with 45-degree angles), non-overlapping Pythagoras tree.
; 1,2,4,8,16,28,48,76,120,180,272,396,584,836,1216,1724,2488,3508,5040,7084,10152,14244,20384,28572,40856,57236,81808,114572,163720,229252,327552,458620,655224,917364,1310576,1834860,262128... |
oeis/087/A087088.asm | neoneye/loda-programs | 11 | 26898 | <gh_stars>10-100
; A087088: Positive ruler-type fractal sequence with 1's in every third position.
; 1,2,3,1,4,2,1,5,3,1,2,6,1,4,2,1,3,7,1,2,5,1,3,2,1,4,8,1,2,3,1,6,2,1,4,3,1,2,5,1,9,2,1,3,4,1,2,7,1,3,2,1,5,4,1,2,3,1,6,2,1,10,3,1,2,4,1,5,2,1,3,8,1,2,4,1,3,2,1,6,5,1,2,3,1,4,2,1,7,3,1,2,11,1,4,2,1,3,5,1
lpb $0
add $2,... |
P6/data_P6_2/MDTest86.asm | alxzzhou/BUAA_CO_2020 | 1 | 170743 | ori $ra,$ra,0xf
sb $0,13($0)
mult $0,$0
ori $5,$2,55683
mfhi $1
sb $4,9($0)
divu $1,$ra
addu $4,$5,$3
mthi $3
srav $0,$0,$0
mtlo $1
ori $4,$2,33721
addu $4,$4,$4
lb $5,13($0)
ori $5,$5,34281
addiu $0,$4,19802
addiu $4,$1,-12725
divu $2,$ra
mthi $5
div $0,$ra
sll $4,$1,5
mfhi $1
multu $6,$6
mtlo $3
mflo $0
div $2,$ra
mu... |
alloy4fun_models/trashltl/models/17/c5JRBQLeKP9oYTWzw.als | Kaixi26/org.alloytools.alloy | 0 | 4096 | open main
pred idc5JRBQLeKP9oYTWzw_prop18 {
always (all f : File | f in Protected triggered f in Trash)
}
pred __repair { idc5JRBQLeKP9oYTWzw_prop18 }
check __repair { idc5JRBQLeKP9oYTWzw_prop18 <=> prop18o } |
programs/oeis/124/A124355.asm | jmorken/loda | 1 | 90664 | ; A124355: Number of (directed) Hamiltonian cycles on the complete graph K_n.
; 0,0,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368000,20922789888000,355687428096000,6402373705728000
gcd $1,$0
cal $1,142
div $1,2
mul $1,2
|
Driver/Printer/PrintCom/Graphics/graphicsPrintSwathNike.asm | steakknife/pcgeos | 504 | 12286 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1994 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Dedicated WPs
FILE: graphicsPrintSwathNike.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY... |
SVD2ada/svd/stm32_svd-opamp.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 28940 | <reponame>JCGobbi/Nucleo-STM32G474RE<gh_stars>0
pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32G474xx.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.OPAMP is
pragma Preelaborate;
---------------
-- Registers --
--------------... |
src/main/fragment/mos6502-common/vdum1=vdum2_ror_1.asm | jbrandwood/kickc | 2 | 19354 | <filename>src/main/fragment/mos6502-common/vdum1=vdum2_ror_1.asm<gh_stars>1-10
lda {m2}+3
lsr
sta {m1}+3
lda {m2}+2
ror
sta {m1}+2
lda {m2}+1
ror
sta {m1}+1
lda {m2}
ror
sta {m1} |
tools-src/gnu/gcc/gcc/ada/prj-ext.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 18867 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
Cubical/HITs/InfNat.agda | dan-iel-lee/cubical | 0 | 4569 | {-# OPTIONS --cubical --no-import-sorts --no-exact-split --safe #-}
module Cubical.HITs.InfNat where
open import Cubical.HITs.InfNat.Base public
open import Cubical.HITs.InfNat.Properties public
|
src.tests/cups-tests.ads | persan/a-cups | 0 | 751 | private package Cups.Tests is
end Cups.Tests;
|
geo3x3.ads | yrm006/Geo3x3 | 23 | 4696 | <reponame>yrm006/Geo3x3
package Geo3x3 is
function Encode (PLat: in Long_Float; PLng: in Long_Float; Level: in Integer) return String;
type WGS84 is record
Lat : Long_Float;
Lng : Long_Float;
Level : Integer;
Unit : Long_Float;
end record;
function Decode (Code: in String) ret... |
oeis/153/A153062.asm | neoneye/loda-programs | 11 | 25338 | ; A153062: a(0)=1, a(n)=a(n-1)^2-n^2.
; Submitted by <NAME>
; 1,0,-4,7,33,1064,1132060,1281559843551,1642395632602463596289537,2697463413991646582332856337058890220473935674288,7276308869823469318922107258255539214217660183827400648026742290333726278585952350082821224306844,529446707690716933789227388460341461005858626... |
data/test_stx.asm | colinw7/C6502 | 0 | 245079 | <gh_stars>0
LDX #$44
OUT X
STX $00
OUT X
LDX #$21
OUT X
LDX $00
OUT X
|
oeis/159/A159549.asm | neoneye/loda-programs | 11 | 241416 | ; A159549: Decimal expansion of (201+20*sqrt(2))/199.
; Submitted by <NAME>
; 1,1,5,2,1,8,2,2,6,7,5,7,5,1,8,5,4,3,2,0,4,0,3,7,0,7,2,6,0,5,1,2,2,5,9,3,7,5,4,4,6,9,0,6,4,0,7,4,1,4,0,1,8,1,6,3,9,9,6,6,6,3,0,5,3,2,5,7,0,1,7,5,6,6,2,9,3,5,7,4,9,1,3,4,1,7,4,7,4,9,0,8,8,7,2,0,0,1,5,8
bin $1,$0
mov $2,2
mov $3,$0
mul $3,4
lpb... |
contaPariInLista.asm | edoardottt/Asm_mars_examples | 21 | 101515 | <reponame>edoardottt/Asm_mars_examples
# CONTA QUANTI VALORI CON INDICI PARI CI SONO NELLA LISTA
.data
richiesta: .asciiz "inserire la lunghezza del vettore ed inserire i valori(max 20)\n"
vettore: .space 21
N: .word 0
.text
li $v0,4
la $a0,richiesta
syscall
li $v0,5
syscall
sw $v0,N
move $t0,$v0
addi $t9,$t9,1
riempi:... |
oeis/302/A302255.asm | neoneye/loda-programs | 11 | 91664 | ; A302255: Total domination number of the n-antiprism graph.
; Submitted by <NAME>(s3)
; 0,1,2,2,3,4,4,4,5,6,6,7,8,8,8,9,10,10,11,12,12,12,13,14,14,15,16,16,16,17,18,18,19,20,20,20,21,22,22,23,24,24,24,25,26,26,27,28,28,28,29,30,30,31,32,32,32,33,34,34,35,36,36,36,37,38,38,39,40,40,40,41
mov $3,$0
mov $4,$0
div $4,7
s... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3704c.ada | best08618/asylo | 7 | 3720 | -- CE3704C.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... |
src/Prelude/Erased.agda | t-more/agda-prelude | 111 | 2969 | <reponame>t-more/agda-prelude
module Prelude.Erased where
data [erased]-is-only-for-printing : Set where
[erased] : [erased]-is-only-for-printing
|
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver2/sfc/ys_ench.asm | prismotizm/gigaleak | 0 | 103317 | <reponame>prismotizm/gigaleak
Name: ys_ench.asm
Type: file
Size: 528642
Last-Modified: '2016-05-13T04:51:45Z'
SHA-1: D83F23EF9E05414258AF555A82E6EA411087C37C
Description: null
|
programs/oeis/228/A228261.asm | jmorken/loda | 1 | 246360 | <filename>programs/oeis/228/A228261.asm
; A228261: Number of third differences of arrays of length 5 of numbers in 0..n.
; 31,143,319,565,881,1267,1723,2249,2845,3511,4247,5053,5929,6875,7891,8977,10133,11359,12655,14021,15457,16963,18539,20185,21901,23687,25543,27469,29465,31531,33667,35873,38149,40495,42911,45397,479... |
3-mid/opengl/source/lean/buffer/opengl-buffer-indices.ads | charlie5/lace | 20 | 9230 | <reponame>charlie5/lace
with
openGL.Buffer.general;
package openGL.Buffer.indices is new openGL.Buffer.general (base_Object => Buffer.element_array_Object,
Index => long_Index_t,
Eleme... |
programs/oeis/118/A118640.asm | neoneye/loda | 22 | 4831 | <filename>programs/oeis/118/A118640.asm
; A118640: Result of left concatenation of the next Roman-numeral symbol.
; 1,6,16,66,166,666,1666,6666,16666,66666,166666,666666
lpb $0
mov $2,$0
sub $0,1
seq $2,268100 ; a(n) = 2^((n-1) mod 2)*5*10^floor((n-1)/2).
add $1,$2
add $1,$2
lpe
div $1,2
add $1,1
mov $0,$1
|
emuboot/src/vendorcode/amd/agesa/f15tn/Proc/CPU/cahalt64.asm | leetobin/firebrick | 9 | 89841 | <reponame>leetobin/firebrick<gh_stars>1-10
;/**
; * @file
; *
; * Agesa pre-memory miscellaneous support, including ap halt loop.
; *
; * @xrefitem bom "File Content Label" "Release Content"
; * @e project: AGESA
; * @e sub-project: CPU
; * @e \$Revision: 10071 $ @e \$Date: 2008-12-16 18:03:04 -0600 (Tue, 16 De... |
experiments/test-suite/mutation-based/20/8/fullTree.als | kaiyuanw/AlloyFLCore | 1 | 77 | <reponame>kaiyuanw/AlloyFLCore<filename>experiments/test-suite/mutation-based/20/8/fullTree.als
pred test36 {
some disj Node0, Node1: Node {
Node = Node0 + Node1
left = Node1->Node0 + Node1->Node1
no right
}
}
run test36 for 3 expect 0
pred test29 {
some disj Node0: Node {
Node = Node0
no left
no right
makeFull[]
}
}
r... |
programs/oeis/036/A036496.asm | neoneye/loda | 22 | 83006 | ; A036496: Number of lines that intersect the first n points on a spiral on a triangular lattice. The spiral starts at (0,0), goes to (1,0) and (1/2, sqrt(3)/2) and continues counterclockwise.
; 0,3,5,6,7,8,9,9,10,11,11,12,12,13,13,14,14,15,15,15,16,16,17,17,17,18,18,18,19,19,19,20,20,20,21,21,21,21,22,22,22,23,23,23,2... |
a2-reverse/reverse.nasm | thombles/slae | 0 | 23124 | <filename>a2-reverse/reverse.nasm
; reverse.nasm - A TCP Reverse Shell
; Assignment 2 of SLAE32 course
; 2018-06-27 <NAME>
; Compile with remote IP address and port in network byte order, e.g. 127.1.1.1:4444
; nasm -f elf32 -o reverse.o -DREMOTE_IP=0x0101017f -DREMOTE_PORT=0x5c11 reverse.nasm
global _start
... |
test/asset/agda-stdlib-1.0/Data/Nat/Base.agda | omega12345/agda-mode | 0 | 2209 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Natural numbers, basic types and operations
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Nat.Base where
open import Level using (0ℓ)
o... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1625.asm | ljhsiun2/medusa | 9 | 12493 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x6292, %r11
nop
nop
add %rdi, %rdi
movw $0x6162, (%r11)
sub %r12, %r12
lea addresses_normal_ht+0xb2a0, %rsi
lea addresses_A_ht+0xc4a0, %rdi
nop
and %r8, %r8
mov $66, %rcx
rep m... |
data/tilesets/radio_tower_collision.asm | AtmaBuster/pokeplat-gen2 | 6 | 8775 | tilecoll 01, 01, 01, 01 ; 00
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 01
tilecoll FLOOR, FLOOR, FLOOR, WARP_CARPET_DOWN ; 02
tilecoll FLOOR, WALL, WARP_CARPET_DOWN, WALL ; 03
tilecoll WALL, WALL, FLOOR, FLOOR ; 04
tilecoll FLOOR, FLOOR, WARP_CARPET_DOWN, WARP_CARPET_DOWN ; 05
tilecoll WALL, WALL, WALL, WALL ; 06
t... |
antlr4/src/main/java/com/tinygao/antlr4/starter/ArrayInit.g4 | tiny-gao/build-up | 2 | 1713 | grammar ArrayInit;
init : '{' value (',' value)* '}' ; // must match at least one value
value : init
| INT
;
INT : [0-9]+ ; // Define token INT as one or more digits
WS : [ \t\r\n]+ -> skip ; |
source/xml/sax/matreshka-internals-xml-attributes.ads | svn2github/matreshka | 24 | 15978 | <reponame>svn2github/matreshka<filename>source/xml/sax/matreshka-internals-xml-attributes.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project ... |
dsl/antlr/Expr/Expr.g4 | y2ghost/study | 0 | 3971 | grammar Expr;
import Common;
prog: stat+;
stat: expr NEWLINE
| ID '=' expr NEWLINE
| NEWLINE
;
expr: expr ('*'|'/') expr
| expr ('+'|'-') expr
| INT
| ID
| '(' expr ')'
;
|
programs/oeis/060/A060904.asm | karttu/loda | 1 | 177796 | <gh_stars>1-10
; A060904: Largest power of 5 that divides n.
; 1,1,1,1,5,1,1,1,1,5,1,1,1,1,5,1,1,1,1,5,1,1,1,1,25,1,1,1,1,5,1,1,1,1,5,1,1,1,1,5,1,1,1,1,5,1,1,1,1,25,1,1,1,1,5,1,1,1,1,5,1,1,1,1,5,1,1,1,1,5,1,1,1,1,25,1,1,1,1,5,1,1,1,1,5,1,1,1,1,5,1,1,1,1,5,1,1,1,1,25,1,1,1,1,5,1,1,1,1,5,1,1,1,1,5,1,1,1,1,5,1,1,1,1,125,1... |
legend-engine-language-pure-grammar/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/graphFetchTree/GraphFetchTreeParserGrammar.g4 | dave-wathen/legend-engine | 32 | 3969 | parser grammar GraphFetchTreeParserGrammar;
import CoreParserGrammar;
options
{
tokenVocab = GraphFetchTreeLexerGrammar;
}
// -------------------------------------- IDENTIFIER --------------------------------------
identifier: VALID_STRING | STRING
;
// -------------------------------... |
Cubical/DStructures/Base.agda | Schippmunk/cubical | 0 | 6228 | <gh_stars>0
-- Displayed SIP
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.DStructures.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Equiv.Properties
open import Cubical.Foundations.Function
open import Cubical.Foundations.H... |
examples/pxScene2d/external/libnode-v6.9.0/deps/openssl/asm/x86-win32-masm/sha/sha256-586.asm | madanagopaltcomcast/pxCore | 5,964 | 21786 | <reponame>madanagopaltcomcast/pxCore
TITLE sha512-586.asm
IF @Version LT 800
ECHO MASM version 8.00 or later is strongly recommended.
ENDIF
.686
.XMM
IF @Version LT 800
XMMWORD STRUCT 16
DQ 2 dup (?)
XMMWORD ENDS
ENDIF
.MODEL FLAT
OPTION DOTNAME
IF @Version LT 800
.text$ SEGMENT PAGE 'CODE'
ELSE
.text$ SEGMENT ALIGN(6... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c85007e.ada | best08618/asylo | 7 | 16499 | -- C85007E.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... |
1571/64tass/romtblsf.asm | silverdr/assembly | 23 | 177367 | <filename>1571/64tass/romtblsf.asm
dirtrk .byte 18 ; directory track #
bamsiz .byte 4 ; # bytes/track in bam
mapoff .byte 4 ; offset of bam in sector
dsknam .byte $90 ; offset of disk name in bam sector
;
; command search table
cmdtbl .text 'VIDMBUP&CRSN'
; validate-dir init-drive... |
src/globals.ads | bracke/websitegenerator | 1 | 26146 | <gh_stars>1-10
with Ada.Containers.Indefinite_Hashed_Maps;
with Ada.Strings.Hash;
with Ada.Environment_Variables;
with Ada.Text_IO;
with Ada.Strings.Unbounded;
package Globals is
pragma Elaborate_Body;
use Ada.Strings.Unbounded;
Blueprint_Folder_Name : constant String := "blueprints";
Blueprint_Defa... |
softwares/FIB.asm | FerrisChi/minisys-3 | 0 | 247537 | <filename>softwares/FIB.asm
.data 0x0
FIB: .word 0x00000000:35
.text 0x0
start:
sw $0, FIB($0)
ori $t0, $0, 4
ori $t1, $0, 1
sw $t1, FIB($t0)
ori $t0, $0, 8
j test
loop:
addi $t3, $t0, -8
lw $v0, FIB($t3)
addi $t3, $t3, 4
lw $v1, FIB($t3)
add $t1, $v0, $v1
sw $t1, FIB($t0)
addi $t0, $t0, 4
test:
slti $t... |
refresh_browser.scpt | apomarinov/learn | 0 | 2898 | <reponame>apomarinov/learn
# requires fswatch
# run:
# fswatch -0 ./resources | xargs -0 -n1 -I{} osascript refresh_browser.scpt DOMAIN_NAME
on run argv
tell application "Google Chrome" to reload (tabs of window 1 whose URL contains item 1 of argv)
end run |
src/pgcd.adb | zdimension/tdinfo302 | 0 | 3124 | <filename>src/pgcd.adb
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
procedure pgcd is
function PGCD_Euclide (a : Integer; b : Integer) return Integer is
p : Integer := a;
q : Integer := b;
r : Integer;
begin
while q /= 0 loop
... |
fe/fe-core/src/main/java/com/starrocks/sql/parser/StarRocksLex.g4 | zombee0/starrocks | 0 | 6579 | // This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited.
lexer grammar StarRocksLex;
@parser::members {public static long sqlMode;}
tokens {
CONCAT
}
ADD: 'ADD';
ADMIN: 'ADMIN';
AFTER: 'AFTER';
AGGREGATE: 'AGGREGATE';
ALL: 'ALL';
ALTER: 'ALTER';
ANALYZE: 'ANALYZE';
AND: '... |
src/_for_debug_purposes/apsepp-debug_trace_class.ads | thierr26/ada-apsepp | 0 | 1355 | <reponame>thierr26/ada-apsepp<gh_stars>0
-- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Calendar.Time_Zones; use Ada.Calendar.Time_Zones;
private with Apsepp.Calendar;
package Apsepp.Debug_Trace_Class is
type Debu... |
src/main/deploy/package/macosx/FXRadio-dmg-setup.scpt | Joseph5610/fxradio-main | 3 | 38 | <filename>src/main/deploy/package/macosx/FXRadio-dmg-setup.scpt
tell application "Finder"
tell disk "FXRadio"
open
set current view of container window to icon view
set toolbar visible of container window to false
set statusbar visible of container window to false
-- size of window should match s... |
libsrc/zxmath/minusfa.asm | dex4er/deb-z88dk | 1 | 81514 | ;
;
; ZX Maths Routines
;
; 8/1/03 - <NAME>
;
; $Id: minusfa.asm,v 1.1 2003/03/24 09:17:40 stefano Exp $
;
; Negate a floating point number
;
; Strangely the generic minusfa function doesn't do the job for me !
; I had to write this small function, but this means that probably
; this FP format d... |
source/zlib.adb | ytomino/zlib-ada | 0 | 13285 | <gh_stars>0
with Ada.Unchecked_Conversion;
with System;
with C.string;
package body zlib is
use type C.signed_int;
use type C.size_t;
type unsigned_char_array is
array (C.size_t range <>) of aliased C.unsigned_char
with Convention => C;
pragma Suppress_Initialization (unsigned_char_array);
-- C.unsigned_char... |
tools-src/gnu/gcc/gcc/ada/lib-util.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 21284 | <filename>tools-src/gnu/gcc/gcc/ada/lib-util.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
1571/64tass/scrtch.asm | silverdr/assembly | 23 | 242355 | <filename>1571/64tass/scrtch.asm
; scratch file(s)
scrtch jsr fs1set ; set up for 1 stream
jsr alldrs
jsr optsch
lda #0
sta r0 ; used as file count
jsr ffst
bmi sc30
sc15 jsr tstchn ; is it active ?
bcc sc25 ; yes - don't scrat... |
connect-file-pulse-expression/src/main/antlr4/io/streamthoughts/kafka/connect/filepulse/expression/parser/antlr4/ScELLexer.g4 | rmoff/kafka-connect-file-pulse | 0 | 2603 | lexer grammar ScELLexer;
Literal
: StringLiteral
| NullLiteral
| IntegerLiteral
| BooleanLiteral
;
StringLiteral
: '\'' (EscapeSeq | .)+? '\''
;
fragment EscapeSeq
: UniCharacterLiteral
| EscapedIdentifier
;
fragment EscapedIdentifier
: '\\' ('t' | 'b' | 'r' | 'n' | '\'' | '"' | '\\... |
oeis/311/A311634.asm | neoneye/loda-programs | 11 | 97812 | <filename>oeis/311/A311634.asm
; A311634: Coordination sequence Gal.6.233.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,8,12,18,24,30,36,40,44,48,52,56,60,66,72,78,84,88,92,96,100,104,108,114,120,126,132... |
src/test/resources/MIPS/Assembly/Linking Across Files/test1/partb.asm | ParkerTenBroeck/Retargetable-Assembler | 1 | 163138 | .org 0
start:
add $4, $2, $4
.global "label"
.ref "anotherSubFunc"
main:
add $4, $4, $4
jal anotherSubFunc
.org 0x20
label:
;some function
add $4, $4, $5
j main |
Formalization/ClassicalPropositionalLogic/Syntax.agda | Lolirofle/stuff-in-agda | 6 | 13510 | <filename>Formalization/ClassicalPropositionalLogic/Syntax.agda
module Formalization.ClassicalPropositionalLogic.Syntax where
import Lvl
open import Functional
open import Sets.PredicateSet using (PredSet)
open import Type
private variable ℓₚ ℓ : Lvl.Level
module _ (P : Type{ℓₚ}) where
-- Formulas.
-- Induc... |
Cubical/Relation/Binary/Fiberwise.agda | Schippmunk/cubical | 0 | 1513 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Relation.Binary.Fiberwise where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
open import Cubical.Data.Sigma
open import Cubical.Relation.Binary.Base
private
variable
... |
regtests/keystore-tests.adb | My-Colaborations/ada-keystore | 0 | 9896 | -----------------------------------------------------------------------
-- keystore-tests -- Tests for akt command
-- Copyright (C) 2019, 2020 <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 Licen... |
ImgAnnealing/src/problem.ads | kochab/simulatedannealing-ada | 0 | 23552 | <filename>ImgAnnealing/src/problem.ads
with Bitmaps.RGB;
with Simulated_Annealing;
generic
type Image_Access is access Bitmaps.RGB.Image;
package Problem is
subtype Direction is Integer range -1 .. 1;
type State is record
Img : Image_Access;
E : Long_Integer;
X, Y : Natural;
... |
Language/HelloWorld.applescript | Guuh137/Hacktoberfest | 7 | 2832 | <filename>Language/HelloWorld.applescript<gh_stars>1-10
say "Hello, world!"
|
programs/oeis/215/A215097.asm | neoneye/loda | 22 | 3569 | ; A215097: a(n) = n^3 - a(n-2) for n >= 2 and a(0)=0, a(1)=1.
; 0,1,8,26,56,99,160,244,352,485,648,846,1080,1351,1664,2024,2432,2889,3400,3970,4600,5291,6048,6876,7776,8749,9800,10934,12152,13455,14848,16336,17920,19601,21384,23274,25272,27379,29600,31940,34400,36981,39688,42526
mov $3,$0
mov $4,$0
lpb $3
mov $0,$4
... |
oeis/035/A035746.asm | neoneye/loda-programs | 11 | 169886 | ; A035746: Coordination sequence for C_9 lattice.
; Submitted by <NAME>(w2)
; 1,162,4482,53154,374274,1854882,7159170,22952610,63821826,158611106,360027522,758497698,1501390338,2818849698,5057616258,8724341922,14540038146,23507426466,36993091970,56826471330,85417838082,125897578914,182279185794,259648519842,36438203392... |
src/spread/rows.asm | olifink/qspread | 0 | 3486 | ; QSpread Gird command
; - Insert rows
include win1_mac_oli
include win1_keys_wwork
include win1_spread_keys
section prog
xdef act_insr,act_delr
;+++
; delete rows
;
; Entry Exit
; d5 col|row of position
;---
act_delr subr d4/a5
move.l d5,d1 ; d5.w = Pos. of row where to start
xjsr acc_selr ; select ro... |
test/Fail/AbstractModuleMacro.agda | redfish64/autonomic-agda | 3 | 2044 | module AbstractModuleMacro where
import Common.Issue481Parametrized as P
abstract
module M = P Set
|
source/interfaces/i-cobol.ads | ytomino/drake | 33 | 18402 | <filename>source/interfaces/i-cobol.ads
pragma License (Unrestricted);
package Interfaces.COBOL is
pragma Preelaborate;
-- Types and operations for internal data representations
type Floating is new Float; -- implementation-defined
type Long_Floating is new Long_Float; -- implementation-defined
type ... |
ordinary/runge_8th_order_demo_1.adb | jscparker/math_packages | 30 | 23375 | <gh_stars>10-100
with Runge_8th;
with Text_IO; use Text_IO;
with Sinu;
with Ada.Numerics.Generic_Elementary_Functions;
procedure runge_8th_order_demo_1 is
type Real is digits 15;
package Sinusoid is new Sinu (Real);
use Sinusoid;
package Sin_Integrate is new
Runge_8th (Real, Dyn_Index, Dynamical_... |
oeis/329/A329145.asm | neoneye/loda-programs | 11 | 165418 | ; A329145: Number of non-necklace compositions of n.
; Submitted by <NAME>(w3)
; 0,0,1,3,9,19,45,93,197,405,837,1697,3465,7011,14193,28653,57825,116471,234549,471801,948697,1906407,3829581,7689357,15435033,30973005,62137797,124630149,249922665,501078345,1004468157,2013263853,4034666121,8084640465
mov $3,$0
seq $0,8965... |
src/res/events/main.asm | Xeyler/gb-hello-world | 0 | 174723 | SECTION "main event", ROM0
main_event::
db STATE_LOADING_SCENE
db BANK(scene1)
dw scene1
db 25
db 25
db STATE_DIALOGUE
db STATE_PLAYING
|
tests/natools-smaz_tests.adb | faelys/natools | 0 | 7984 | <gh_stars>0
------------------------------------------------------------------------------
-- Copyright (c) 2015-2017, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --... |
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sdcc/tshr_saddrpright_callee.asm | jpoikela/z88dk | 640 | 9140 | <filename>libsrc/_DEVELOPMENT/arch/ts2068/display/c/sdcc/tshr_saddrpright_callee.asm<gh_stars>100-1000
; void *tshr_saddrpright(void *saddr, uchar bitmask)
SECTION code_clib
SECTION code_arch
PUBLIC _tshr_saddrpright_callee
EXTERN asm_tshr_saddrpright
_tshr_saddrpright_callee:
pop af
pop hl
dec sp
pop ... |
programs/oeis/022/A022286.asm | karttu/loda | 1 | 104377 | ; A022286: a(n) = n*(29*n - 1)/2.
; 0,14,57,129,230,360,519,707,924,1170,1445,1749,2082,2444,2835,3255,3704,4182,4689,5225,5790,6384,7007,7659,8340,9050,9789,10557,11354,12180,13035,13919,14832,15774,16745,17745,18774,19832,20919,22035,23180,24354,25557,26789,28050,29340,30659,32007,33384,34790,36225,37689,39182,40704,... |
src/main/antlr4/com/twineworks/tweakflow/grammar/TweakFlowParser.g4 | gitter-badger/tweakflow | 1 | 4324 | <reponame>gitter-badger/tweakflow<gh_stars>1-10
parser grammar TweakFlowParser;
options {
tokenVocab=TweakFlowLexer;
}
unit
: module # moduleUnit
| interactive # interactiveUnit
;
// interactive shell
interactive
: 'interactive' interactiveSection* EOF
;
interactiveSection
: 'in_scope' refer... |
programs/oeis/017/A017418.asm | neoneye/loda | 22 | 166861 | <reponame>neoneye/loda<filename>programs/oeis/017/A017418.asm
; A017418: (11n+2)^6.
; 64,4826809,191102976,1838265625,9474296896,34296447249,98867482624,243087455521,531441000000,1061520150601,1973822685184,3462825991689,5789336458816,9294114390625,14412774445056
mul $0,11
add $0,2
pow $0,6
|
boot/lib/func_read_floppy.asm | holloway87/learning-os-development | 0 | 162638 | <filename>boot/lib/func_read_floppy.asm
; This function also needs the func_print.asm
; reads data from a floppy disk
; drive number has to be in dl (0 indexed)
; cylinder will always be the first one
; track number will always be the first one
; start sector in cl (1 indexed)
; number of sectors to read from the star... |
tests/rule_assert/2.asm | NullMember/customasm | 414 | 103543 | #ruledef test
{
ld {x} =>
{
assert(x < 0x10)
0x55 @ x`8
}
}
ld -0x20 ; = 0x55e0 |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_11761_1309.asm | ljhsiun2/medusa | 9 | 84024 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1bb9f, %rsi
lea addresses_normal_ht+0xcfdf, %rdi
nop
nop
nop
nop
nop
sub $31668, %rbx
mov $100, %rcx
rep movsw
nop
nop
and %rdx, %rdx
lea addresses_WC_ht+0x1ccdf, %rsi
lea addresses_W... |
programs/oeis/115/A115953.asm | karttu/loda | 0 | 161433 | ; A115953: Periodic {1,-1,0,0,1,-2,1,0,0,-1,1,-1}.
; 1,-1,0,0,1,-2,1,0,0,-1,1,-1,1,-1,0,0,1,-2,1,0,0,-1,1,-1,1,-1,0,0,1,-2,1,0,0,-1,1,-1,1,-1,0,0,1,-2,1,0,0,-1,1,-1,1,-1,0,0,1,-2,1,0,0,-1,1,-1,1,-1,0,0,1,-2,1,0,0,-1,1,-1
sub $0,5
gcd $0,12
pow $0,2
mul $0,28
mov $1,2
mov $2,7
lpb $0,1
div $0,$2
sub $1,1
lpe
mul $1... |
programs/oeis/006/A006918.asm | karttu/loda | 0 | 164893 | <reponame>karttu/loda
; A006918: a(n) = binomial(n+3, 3)/4, n odd; n(n+2)(n+4)/24, n even.
; 0,1,2,5,8,14,20,30,40,55,70,91,112,140,168,204,240,285,330,385,440,506,572,650,728,819,910,1015,1120,1240,1360,1496,1632,1785,1938,2109,2280,2470,2660,2870,3080,3311,3542,3795,4048,4324,4600,4900,5200,5525,5850,6201,6552,6930,7... |
mbr.asm | Zenol/kos | 0 | 165631 | [BITS 16]
[ORG 0x0]
%define KERN_SEG_START 0x100
%define NB_BLOCKS 42
jmp mbr
%include "putstr.asm"
mbr:
; copy drive number
mov [bootdrive], dl
; set segment starting at 0x07C0
mov ax, 0x07C0
mov ds, ax
mov es, ax
mov ax, 0x8000
mov ss, ax
mov sp, 0xF000
; display a msg
mov si, load_msg
call putstr
; l... |
Transynther/x86/_processed/US/_st_zr_/i7-8650U_0xd2.log_2666_271.asm | ljhsiun2/medusa | 9 | 8323 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/US/_st_zr_/i7-8650U_0xd2.log_2666_271.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xb8f7, %r11
nop
nop
nop
xor %r9, %r9
movl $0x6162636... |
programs/oeis/075/A075881.asm | neoneye/loda | 22 | 12637 | <gh_stars>10-100
; A075881: a(n) = the sum of the prime factors of Sum_{i=1..n} prime(i).
; 2,5,7,17,9,41,31,18,7,46,7,197,26,281,43,130,18,170,73,74,91,120,44,110,60,46,81,460,44,62,50,620,80,712,571,812,38,108,80,10,96,386,126,1280,74,1412,326,138,62,67,114,26,71,2030,3171,71,239,230,3711,7699,322,336,622,8893,4605,1... |
awa/plugins/awa-workspaces/src/awa-workspaces-beans.ads | fuzzysloth/ada-awa | 81 | 22144 | -----------------------------------------------------------------------
-- awa-workspaces-beans -- Beans for module workspaces
-- Copyright (C) 2011, 2012, 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complia... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sizetype2.adb | best08618/asylo | 7 | 21432 | <gh_stars>1-10
-- { dg-do run }
procedure Sizetype2 is
function Ident_Int (X : Integer) return Integer is
begin
return X;
end;
type A is array (Integer range <>) of Boolean;
subtype T1 is A (Ident_Int (- 6) .. Ident_Int (Integer'Last - 4));
subtype T2 is A (- 6 .. Ident_Int (Integer'Last - 4));
su... |
data/maps/headers/PewterPokecenter.asm | opiter09/ASM-Machina | 1 | 170001 | <reponame>opiter09/ASM-Machina
map_header PewterPokecenter, PEWTER_POKECENTER, POKECENTER, 0
end_map_header
|
libsrc/_DEVELOPMENT/adt/p_queue/c/sccz80/p_queue_front.asm | meesokim/z88dk | 0 | 84072 | <reponame>meesokim/z88dk<gh_stars>0
; void *p_queue_front(p_queue_t *q)
SECTION code_adt_p_queue
PUBLIC p_queue_front
defc p_queue_front = asm_p_queue_front
INCLUDE "adt/p_queue/z80/asm_p_queue_front.asm"
|
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/___fs2sint_callee.asm | ahjelm/z88dk | 640 | 4590 |
SECTION code_fp_am9511
PUBLIC ___fs2sint_callee
EXTERN cam32_sdcc___fs2sint_callee
defc ___fs2sint_callee = cam32_sdcc___fs2sint_callee
|
pb2000/enc_bl.asm | wowczarek/pbnet | 1 | 243807 | <gh_stars>1-10
; Copyright (c) 2021, <NAME>
; All rights reserved.
; BSD 2-clause licence - see LICENSE in the top directory
; base/org are meaningless in inline code, but keep the compiler happy
BASE: EQU &H7000
START here
ORG BASE
here:
; encode a block of data using the escapeless encoding.
gre IX, $22 ; ... |
programs/oeis/228/A228293.asm | neoneye/loda | 22 | 99083 | <reponame>neoneye/loda<gh_stars>10-100
; A228293: a(n) = Sum_{k=1..9} n^k.
; 0,9,1022,29523,349524,2441405,12093234,47079207,153391688,435848049,1111111110,2593742459,5628851292,11488207653,22250358074,41189313615,73300775184,125999618777,210027483918,340614792099,538947368420,833994048909,1264758228162,1883023236983,2... |
Test/Cases/6.Dart.g4 | studentmain/SempredTranslation | 0 | 3294 | grammar g;
L: 'L' {this.L(1, 2.3, 'a', '\u86E4', null, true, false);};
p: L; |
libsrc/_DEVELOPMENT/stdlib/c/sdcc_ix/_strtoi__callee.asm | meesokim/z88dk | 0 | 25653 | <gh_stars>0
; int _strtoi__callee(const char *nptr, char **endptr, int base)
SECTION code_stdlib
PUBLIC __strtoi__callee
EXTERN asm__strtoi
__strtoi_:
pop af
pop hl
pop de
pop bc
push af
jp asm__strtoi
|
contrib/DDL.g4 | leoprover/ddl2thf | 0 | 7460 | <reponame>leoprover/ddl2thf<filename>contrib/DDL.g4
grammar DDL;
@header {
package leo.modules.parsers.ddl;
}
fragment Non_zero_numeric : [1-9];
fragment Numeric : [0-9];
fragment Lower_alpha : [a-z];
fragment Upper_alpha : [A-Z];
fragment Alpha_numeric : Lower_alpha | Upper_alpha | Numeric | '_';
Integer : '0' | ... |
source/a-float.adb | ytomino/drake | 33 | 23517 | with System.Long_Long_Float_Types;
package body Ada.Float is
pragma Suppress (All_Checks);
function Infinity return Float_Type is
begin
if Float_Type'Digits <= Standard.Float'Digits then
declare
function inff return Standard.Float
with Import,
Conven... |
source/numerics/a-nllrar.ads | ytomino/drake | 33 | 19944 | pragma License (Unrestricted);
with Ada.Numerics.Generic_Real_Arrays;
package Ada.Numerics.Long_Long_Real_Arrays is
new Generic_Real_Arrays (Long_Long_Float);
pragma Pure (Ada.Numerics.Long_Long_Real_Arrays);
|
awa/regtests/awa-wikis-parsers-tests.adb | Letractively/ada-awa | 0 | 6375 | -----------------------------------------------------------------------
-- awa-wikis-parsers-tests -- Unit tests for wiki parsing
-- Copyright (C) 2011, 2012, 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in comp... |
agda/InsertSort/Impl1/Correctness/Order.agda | bgbianchi/sorting | 6 | 2066 | open import Relation.Binary.Core
module InsertSort.Impl1.Correctness.Order {A : Set}
(_≤_ : A → A → Set)
(tot≤ : Total _≤_) where
open import Data.List
open import Data.Sum
open import InsertSort.Impl1 _≤_ tot≤
open import List.Sorted _≤_
lemma-insert-sorted : {xs : List A}(x : A... |
base/agda/Base/Prelude/Bool.agda | FreeProving/free-compiler | 36 | 10094 | <gh_stars>10-100
module Base.Prelude.Bool where
open import Data.Bool using (Bool; true; false; if_then_else_) renaming (_∧_ to _∧ᵖ_; _∨_ to _∨ᵖ_; not to notᵖ)
open import Base.Free using (Free; pure; _>>=_)
𝔹 : (Shape : Set) → (Shape → Set) → Set
𝔹 _ _ = Bool
True : ∀ {S P} → Free S P (𝔹 S P)
True = pure true
F... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.