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 |
|---|---|---|---|---|
Games/banchorce/source/maingame.asm | CiaranGruber/Ti-84-Calculator | 1 | 246498 | <gh_stars>1-10
;---------------------------------------------------------------;
; ;
; Banchor ;
; Main Game Loop ;
; ... |
labs/code/play/src/S.g4 | parrt/cs652 | 110 | 1891 | <gh_stars>100-1000
grammar S;
code: stat+ ;
stat: 'return' expr ';'
| ID '=' expr ';'
;
expr: expr '*' expr
| expr '+' expr
| INT
| ID
;
INT : [0-9]+ ;
ID : [a-zA-Z]+ ;
WS : [ \r\n]+ -> skip ; |
tier-1/xcb/source/thin/xcb-xcb_render_create_radial_gradient_request_t.ads | charlie5/cBound | 2 | 23814 | -- This file is generated by SWIG. Please do not modify by hand.
--
with Interfaces;
with xcb.xcb_render_pointfix_t;
with Interfaces.C;
with Interfaces.C.Pointers;
package xcb.xcb_render_create_radial_gradient_request_t is
-- Item
--
type Item is record
major_opcode : aliased Interfaces.Unsigned_8;
... |
programs/oeis/098/A098971.asm | jmorken/loda | 1 | 92151 | ; A098971: a(0)=1; for n > 0, a(n)=a(floor(n/2))+2*a(floor(n/4)).
; 1,3,5,5,11,11,11,11,21,21,21,21,21,21,21,21,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,43,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,85,171,171,171,171,171
mov $1,4
lpb $0
div $0,2
mul $1,2
lpe
d... |
programs/oeis/010/A010691.asm | karttu/loda | 1 | 178047 | <filename>programs/oeis/010/A010691.asm<gh_stars>1-10
; A010691: Period 2: repeat (1,10).
; 1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,1... |
test/Succeed/IndexInference.agda | redfish64/autonomic-agda | 3 | 3358 | <filename>test/Succeed/IndexInference.agda
{-# OPTIONS -v tc.conv.irr:50 #-}
-- {-# OPTIONS -v tc.lhs.unify:50 #-}
module IndexInference where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
data Vec (A : Set) : Nat -> Set where
[] : Vec A zero
_::_ : {n : Nat} -> A -> Vec A n -> Vec A (suc n)
infixr 40 ... |
programs/oeis/231/A231680.asm | karttu/loda | 0 | 162704 | <reponame>karttu/loda
; A231680: a(n) = Sum_{i=0..n} digsum_8(i), where digsum_8(i) = A053829(i).
; 0,1,3,6,10,15,21,28,29,31,34,38,43,49,56,64,66,69,73,78,84,91,99,108,111,115,120,126,133,141,150,160,164,169,175,182,190,199,209,220,225,231,238,246,255,265,276,288,294,301,309,318,328,339,351,364,371,379,388,398,409,421... |
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_122_135.asm | ljhsiun2/medusa | 9 | 105510 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xe414, %r14
nop
nop
nop
nop
inc %r12
movw $0x6162, (%r14)
nop
nop
nop
xor $15417, %r13
lea addresses_A_ht+0xb83c, %rsi
lea addresses_WC_ht+0x158a8, %rdi
nop
nop
nop
nop
nop
a... |
4-high/gel/source/platform/sdl/gel-window-setup.ads | charlie5/lace | 20 | 8033 | <gh_stars>10-100
with
gel.Window.sdl;
package gel.Window.setup
renames gel.Window.sdl;
|
lapl.g4 | Lartu/LAPL | 4 | 6253 | grammar lapl;
// +-----------------------------------------+ //
// | Lexer Rules | //
// +-----------------------------------------+ //
MULTICOMMENT : '/*' .*? '*/' -> skip ;
MULTICOMMENTB : '#*' .*? '*#' -> skip ;
/*MULTICOMMENTALL : '/*' .*? EOF -> skip ;
MULTICOMMENTALLB: '/*' .*? ... |
alloy4fun_models/trashltl/models/11/axGqH2DkExeNKs27B.als | Kaixi26/org.alloytools.alloy | 0 | 2323 | <gh_stars>0
open main
pred idaxGqH2DkExeNKs27B_prop12 {
always all f:File | eventually f in Trash
}
pred __repair { idaxGqH2DkExeNKs27B_prop12 }
check __repair { idaxGqH2DkExeNKs27B_prop12 <=> prop12o } |
Driver/Socket/PPP/pppMain.asm | steakknife/pcgeos | 504 | 26137 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1995 -- All Rights Reserved
GEOWORKS CONFIDENTIAL
PROJECT: Socket
MODULE: PPP Driver
FILE: pppMain.asm
AUTHOR: <NAME>, Apr 19, 1995
ROUTINES:
Name Description
---- -----------
Socket... |
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/swap32.asm | gb-archive/really-old-stuff | 10 | 166246 | <reponame>gb-archive/really-old-stuff<filename>mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/swap32.asm
; Exchanges current DE HL with the
; ones in the stack
__SWAP32:
pop bc ; Return address
exx
pop hl ; exx'
pop de
exx
push de ; exx
push hl
exx ; exx '
push de
push hl
exx ; exx
pop ... |
src/API/protypo-api-callback_utilities.ads | fintatarta/protypo | 0 | 7689 | <gh_stars>0
with Protypo.Api.Engine_Values.Engine_Value_Vectors;
use Protypo.Api.Engine_Values;
package Protypo.Api.Callback_Utilities is
type Class_Array is array (Positive range <>) of Engine_Value_Class;
function Match_Signature (Parameters : Engine_Value_Vectors.Vector;
Signatu... |
RobSharper.Ros.MessageEssentials/RosType.g4 | jr-robotics/RobSharper.Ros.MessageEssentials | 2 | 1417 | grammar RosType;
/* ------------------------------------------------------------------ */
/* PARSER RULES */
/* ------------------------------------------------------------------ */
type_input
: type EOF
| array_type EOF
;
type
: built_in_type
... |
programs/oeis/119/A119690.asm | neoneye/loda | 22 | 79 | ; A119690: n! mod n*(n+1)/2.
; 0,2,0,4,0,6,0,0,0,10,0,12,0,0,0,16,0,18,0,0,0,22,0,0,0,0,0,28,0,30,0,0,0,0,0,36,0,0,0,40,0,42,0,0,0,46,0,0,0,0,0,52,0,0,0,0,0,58,0,60,0,0,0,0,0,66,0,0,0,70,0,72,0,0,0,0,0,78,0,0,0,82,0,0,0,0,0,88,0,0,0,0,0,0
lpb $0
add $0,1
mov $1,$0
seq $0,66247 ; Characteristic function of compos... |
programs/oeis/202/A202964.asm | jmorken/loda | 1 | 176236 | ; A202964: Number of arrays of 4 integers in -n..n with sum zero and adjacent elements differing in absolute value.
; 4,28,108,268,544,972,1576,2392,3456,4792,6436,8424,10780,13540,16740,20404,24568,29268,34528,40384,46872,54016,61852,70416,79732,89836,100764,112540,125200,138780,153304,168808,185328,202888,221524,2412... |
Formalization/PredicateLogic/Syntax.agda | Lolirofle/stuff-in-agda | 6 | 11634 | <reponame>Lolirofle/stuff-in-agda
open import Formalization.PredicateLogic.Signature
module Formalization.PredicateLogic.Syntax (𝔏 : Signature) where
open Signature(𝔏)
open import Data.ListSized
import Lvl
open import Functional using (_∘_ ; _∘₂_ ; swap)
open import Numeral.Finite
open import Numeral.Natural
o... |
Library/Config/Pref/prefTocList.asm | steakknife/pcgeos | 504 | 80426 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: prefTocList.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
... |
programs/oeis/145/A145910.asm | neoneye/loda | 22 | 245855 | <reponame>neoneye/loda
; A145910: a(n) = (1 + 3*n)*(4 + 3*n)/2.
; 2,14,35,65,104,152,209,275,350,434,527,629,740,860,989,1127,1274,1430,1595,1769,1952,2144,2345,2555,2774,3002,3239,3485,3740,4004,4277,4559,4850,5150,5459,5777,6104,6440,6785,7139,7502,7874
mul $0,3
add $0,3
bin $0,2
sub $0,1
|
iod/con2/pc16/palsprite.asm | olifink/smsqe | 0 | 172014 | ; QPC 16 bit sprite (mode 32) palette
;
; 2002-12-15 Added additional mode palettes (JG)
;
section driver
;
xdef pt_palsprite
xdef pt_pal16sprite
xdef pt_pal4sprite
xdef pt_pal2sprite
;
pt_palsprite
dc.w $0000,$0420,$0001,$0421,$0900,$0D20,$0901,$0D21
dc.w $0048,$0468,$0049,$0469,$0948,$0D68,$0949,$0D69
dc.w $... |
src/main/antlr4/org/n1qlite/N1ql.g4 | christoferwhite/n1qlite | 1 | 1453 | // Naming this grammar as 'N1ql'
grammar N1ql;
// Parser Rules
// High level Phrase recognition
dropPrimaryIndex: 'DROP' 'PRIMARY' 'INDEX' 'ON' namedKeyspaceRef indexUsing?;
lookupJoinPredicate: 'ON' 'PRIMARY'? 'KEYS' expr;
namedBucketRef: (poolName ':')? bucketName;
viewIndexStmt: (createV... |
prototyping/Luau/RuntimeError.agda | Tr4shh/Roblox-Luau | 0 | 9335 | module Luau.RuntimeError where
open import Agda.Builtin.Equality using (_≡_)
open import Luau.Heap using (Heap; _[_])
open import FFI.Data.Maybe using (just; nothing)
open import FFI.Data.String using (String)
open import Luau.Syntax using (Block; Expr; nil; var; addr; block_is_end; _$_; local_←_; return; done; _∙_; n... |
test/Succeed/Issue468.agda | shlevy/agda | 1,989 | 2982 | <gh_stars>1000+
module Issue468 where
data Unit : Set where
nothing : Unit
data Maybe (A : Set) : Set where
nothing : Maybe A
just : A → Maybe A
data P : (R : Set) → Maybe R → Set₁ where
p : (R : Set) (x : R) → P R (just x)
works : P Unit (just _)
works = p _ nothing
fails : Unit → P Unit (just _)
fails x ... |
programs/oeis/268/A268460.asm | karttu/loda | 0 | 164788 | ; A268460: Number of length-6 0..n arrays with no adjacent pair x,x+1 followed at any distance by x+1,x.
; 22,456,3146,13204,41526,108032,245626,504876,959414,1712056,2901642,4710596,7373206,11184624,16510586,23797852,33585366,46516136,63349834,84976116,112428662,146899936,189756666,242556044,307062646,385266072,479399... |
libpal/intel_64bit_systemv_nasm/read_ss.asm | mars-research/pal | 26 | 95837 | <reponame>mars-research/pal<filename>libpal/intel_64bit_systemv_nasm/read_ss.asm
bits 64
default rel
section .text
global pal_execute_read_ss
pal_execute_read_ss :
xor rax, rax
mov ax, ss
ret
|
lib/sse/aes128_ecb_by4_sse.asm | edtubbs/intel-ipsec-mb | 0 | 14877 | ;;
;; Copyright (c) 2019-2021, Intel Corporation
;;
;; 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,
;; this list of conditions and... |
src/libs/strings/strlen.asm | QFSW/2048x86_64 | 6 | 9866 | <reponame>QFSW/2048x86_64<filename>src/libs/strings/strlen.asm
PUBLIC strlen
.code
; gets the length of a string
; RCX = str
strlen PROC
MOV RAX, -1 ; length ctr
sloop:
INC RAX
MOV DL, [RCX + RAX]
CMP DL, 0
JNE sloop
RET
strlen ENDP
END |
sh.asm | asacela/xv6_cs153_Fall2020 | 0 | 93843 |
_sh: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return 0;
}
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %ebp
... |
alloy4fun_models/trashltl/models/11/zbuxyN4EbK5CTkYCa.als | Kaixi26/org.alloytools.alloy | 0 | 231 | open main
pred idzbuxyN4EbK5CTkYCa_prop12 {
eventually (all f:File | f in Trash and (f not in Trash) releases (f in Trash))
}
pred __repair { idzbuxyN4EbK5CTkYCa_prop12 }
check __repair { idzbuxyN4EbK5CTkYCa_prop12 <=> prop12o } |
programs/oeis/021/A021319.asm | karttu/loda | 1 | 99485 | ; A021319: Decimal expansion of 1/315.
; 0,0,3,1,7,4,6,0,3,1,7,4,6,0,3,1,7,4,6,0,3,1,7,4,6,0,3,1,7,4,6,0,3,1,7,4,6,0,3,1,7,4,6,0,3,1,7,4,6,0,3,1,7,4,6,0,3,1,7,4,6,0,3,1,7,4,6,0,3,1,7,4,6,0,3,1,7,4,6,0,3,1,7,4,6,0,3,1,7,4,6,0,3,1,7,4,6,0,3
sub $0,1
cal $0,20806 ; Decimal expansion of 1/7.
mov $1,$0
sub $1,1
|
oeis/017/A017786.asm | neoneye/loda-programs | 11 | 96088 | <filename>oeis/017/A017786.asm
; A017786: Binomial coefficients C(70,n).
; 1,70,2415,54740,916895,12103014,131115985,1198774720,9440350920,65033528560,396704524216,2163842859360,10638894058520,47465835030320,193253756909160,721480692460864,2480089880334220,7877932561061640,23196134763125940,63484158299081520,1618846036... |
lib/crt/classic/crt_section_standard.asm | geoffmcl/z88dk | 0 | 20246 | ; Classic Memory map and section setup
;
; This layout suits all the classic machines. Memory placement is
; affected by:
;
; CRT_MODEL: RAM/ROM configuration
; CRT_ORG_CODE: Where code starts executing from
; CRT_ORG_BSS: Where uninitialised global variables are placed
; CRT_ORG_GRAPHICS: Where graphics routines + v... |
programs/oeis/095/A095265.asm | karttu/loda | 0 | 85130 | ; A095265: A sequence generated from a 4th degree Pascal's Triangle polynomial.
; 1,22,103,284,605,1106,1827,2808,4089,5710,7711,10132,13013,16394,20315,24816,29937,35718,42199,49420,57421,66242,75923,86504,98025,110526,124047,138628,154309,171130,189131,208352,228833,250614,273735,298236
mov $1,$0
add $1,1
add $0,$1
... |
firmware/kernal/mmu.asm | QuorumComp/hc800 | 2 | 177546 | INCLUDE "lowlevel/hc800.i"
INCLUDE "mmu.i"
; ---------------------------------------------------------------------------
; -- Set default kernal MMU configurations
; --
SECTION "MmuInitialize",CODE
MmuInitialize:
pusha
ld de,.mmuDataLoad
ld f,.mmuDataLoadEnd-.mmuDataLoad
ld t,MMU_CFG_LOAD
jal intern... |
src/main/kotlin/io/kixi/kd/KDLexer.g4 | dleuck/Ki.Kotlin.KD | 2 | 6839 | lexer grammar KDLexer;
/**
* KD Lexer
*
* @author <NAME>
*/
channels {
WHITESPACE,
COMMENTS
}
NULL: 'null' | 'nil';
TRUE: 'true' | 'on';
FALSE: 'false' | 'off';
// Note: This requires a "protocol:/" at the beginning, which excludes URLs such as jar:file:/home/duke/duke.jar!
// The trainling':/' is neces... |
src/tcl-commands.adb | thindil/tashy2 | 2 | 27807 | <gh_stars>1-10
-- Copyright (c) 2020-2021 <NAME> <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by ap... |
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_16822_869.asm | ljhsiun2/medusa | 9 | 17391 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x2979, %r9
nop
and $30852, %r13
movb (%r9), %r12b
nop
inc %rbx
lea addresses_WC_ht+0x102f9, %rsi
lea addresses_WT_ht+0x1e479, %rdi
nop
nop
nop
nop
inc %r8
mov $3... |
2ndSemester/Operating Systems/Lab5/Lab5.asm | xairaven/kpi_labs | 0 | 105505 | <reponame>xairaven/kpi_labs
title Lab5.asm ; Title of program
.model SMALL ; Model of memory for exe file
.stack 100h ; Reserving memory for stack
code segment
assume CS:code, DS:data ; Linking label code with CS and label data with DS
begin: MOV AX, data ; Moving data to DS
MOV DS, AX... |
a-chzla1.ads | ytomino/gnat4drake | 0 | 6463 | <filename>a-chzla1.ads
pragma License (Unrestricted);
with Ada.Wide_Wide_Characters.Latin_1;
package Ada.Characters.Wide_Wide_Latin_1
renames Ada.Wide_Wide_Characters.Latin_1;
|
sound/sfxasm/4C.asm | NatsumiFox/Sonic-3-93-Nov-03 | 7 | 165073 | <reponame>NatsumiFox/Sonic-3-93-Nov-03
4C_Header:
sHeaderInit ; Z80 offset is $C460
sHeaderPatch 4C_Patches
sHeaderTick $01
sHeaderCh $01
sHeaderSFX $80, $05, 4C_FM5, $05, $00
4C_Patches:
; Patch $00
; $3C
; $00, $01, $01, $00, $1F, $12, $1A, $1F
; $10, $00, $1F, $00, $09, $13, $0A, $12
; $FF, $0F, $FF... |
newitems/general/hooks.asm | fcard/z3randomizer | 0 | 1288 | org $0089E2 ; Bank00.asm:1344 - LDA.b #$80 : STA $2115
JSL ExtraNMIUpdate
NOP
|
src/ascon128v11.ads | jhumphry/Ascon_SPARK | 1 | 15146 | <gh_stars>1-10
-- Ascon128v11
-- an instantiation of the Ascon-128 (v 1.1) variant of the Ascon Authenticated
-- Encryption Algorithm created by <NAME>, <NAME>,
-- <NAME> and <NAME>.
-- Copyright (c) 2016-2018, <NAME> - see LICENSE file for details
pragma SPARK_Mode(On);
with Ascon;
package Ascon128v11 is new Asco... |
src/Categories/Category/Construction/Core.agda | Trebor-Huang/agda-categories | 279 | 10300 | <filename>src/Categories/Category/Construction/Core.agda
{-# OPTIONS --without-K --safe #-}
open import Categories.Category
-- The core of a category.
-- See https://ncatlab.org/nlab/show/core
module Categories.Category.Construction.Core {o ℓ e} (𝒞 : Category o ℓ e) where
open import Level using (_⊔_)
open import ... |
unordnung_auch_assembler/asm/attiny13/IR-sensitive/tinyProg.asm | no-go/Blink_atmega328p | 0 | 17595 | <reponame>no-go/Blink_atmega328p
.include "myTiny13.h"
.equ TASTER,3
.equ LEDB,1
;irq Vector
.org 0x0000
rjmp RESET
nop
rjmp PCINT0
.org 0x0010
RESET:
sbi DDRB,LEDB ; output
cbi DDRB,TASTER ; input
ldi A,0b00100000 ; IRQ react on PCINT
out GIMSK,A
sbi PCMSK,TASTER ; set PCINT on TASTER IRQ
sei
... |
WDE.PacketViewer/Filtering/Antlr/Syntax.g4 | T1ti/WoWDatabaseEditor | 0 | 2086 | grammar Syntax;
options {
language=CSharp;
}
@parser::namespace { WDE.PacketViewer.Filtering.Antlr }
@lexer::namespace { WDE.PacketViewer.Filtering.Antlr }
expr
: '(' expr ')' # EParen
| expr ('in' | 'IN') expr # EIn
| ID '.' ID # EFieldValue
| ID '(' (expr ... |
programs/oeis/152/A152179.asm | neoneye/loda | 22 | 243070 | ; A152179: (n^2-2=A008865) mod 9. Period 9:repeat 8,2,7,5,5,7,2,8,7.
; 8,2,7,5,5,7,2,8,7,8,2,7,5,5,7,2,8,7,8,2,7,5,5,7,2,8,7,8,2,7,5,5,7,2,8,7,8,2,7,5,5,7,2,8,7,8,2,7,5,5,7,2,8,7
add $0,3
mov $2,$0
add $0,5
mul $0,$2
mod $0,9
add $0,2
|
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_1968.asm | ljhsiun2/medusa | 9 | 7954 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x17236, %rdx
cmp %rcx, %rcx
mov $0x6162636465666768, %rsi
movq %rsi, (%rdx)
nop
nop
dec %rdx
lea addresses_WC_ht+0xff3a, %rdi
nop
inc %r9
mov $0x61626364656667... |
programs/oeis/086/A086303.asm | jmorken/loda | 1 | 24240 | ; A086303: Numbers n such that n+15 is prime.
; 2,4,8,14,16,22,26,28,32,38,44,46,52,56,58,64,68,74,82,86,88,92,94,98,112,116,122,124,134,136,142,148,152,158,164,166,176,178,182,184,196,208,212,214,218,224,226,236,242,248,254,256,262,266,268,278,292,296
add $0,6
cal $0,40 ; The prime numbers.
mov $1,$0
div $1,2
sub $1,... |
test/fail/StronglyRigidOccurrence.agda | dagit/agda | 1 | 8006 | <gh_stars>1-10
{-# OPTIONS --allow-unsolved-metas #-}
-- The option is supplied to force a real error to pass the regression test.
module StronglyRigidOccurrence where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
data _≡_ {A : Set}(a : A) : A -> Set where
refl : a ≡ a
test : let X : Nat; X = _ in X ≡ suc ... |
oeis/244/A244755.asm | neoneye/loda-programs | 11 | 87427 | <reponame>neoneye/loda-programs
; A244755: a(n) = Sum_{k=0..n} C(n,k) * (1 + 3^k)^(n-k).
; Submitted by <NAME>
; 1,3,13,87,985,19563,697573,44195007,4985202865,987432857043,344306650353853,209169206074748967,222262777197258910345,409907753371580011362363,1317924525238880964004945813,7341603216747343890845790989967,7117... |
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/ldexp_callee.asm | witchcraft2001/z88dk | 640 | 91992 |
SECTION code_fp_math16
PUBLIC ldexpf16_callee
EXTERN cm16_sccz80_ldexp_callee
defc ldexpf16_callee = cm16_sccz80_ldexp_callee
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _ldexpf16_callee
EXTERN cm16_sdcc_ldexp_callee
defc _ldexpf16_callee = cm16_sdcc_ldexp_callee
ENDIF
|
oeis/042/A042911.asm | neoneye/loda-programs | 11 | 169236 | <gh_stars>10-100
; A042911: Denominators of continued fraction convergents to sqrt(987).
; Submitted by <NAME>(w3)
; 1,2,5,12,749,1510,3769,9048,564745,1138538,2841821,6822180,425816981,858456142,2142729265,5143914672,321065438929,647274792530,1615615023989,3878504840508,242082915135485,488044335111478,1218171585358441... |
programs/oeis/011/A011895.asm | karttu/loda | 1 | 162527 | ; A011895: a(n) = floor(n*(n-1)*(n-2)/13).
; 0,0,0,0,1,4,9,16,25,38,55,76,101,132,168,210,258,313,376,447,526,613,710,817,934,1061,1200,1350,1512,1686,1873,2074,2289,2518,2761,3020,3295,3586,3893,4218,4560,4920,5298,5695,6112,6549,7006,7483,7982,8503,9046,9611,10200,10812,11448,12108,12793,13504,14241,15004,15793,16610... |
oeis/141/A141752.asm | neoneye/loda-programs | 11 | 9154 | ; A141752: a(n) = Sum_{k=0..n} ( Fibonacci(2*k-1) + (n-k)*Fibonacci(2*k) ).
; 1,2,5,14,39,106,283,748,1967,5160,13521,35412,92725,242774,635609,1664066,4356603,11405758,29860687,78176320,204668291,535828572,1402817445,3672623784,9615053929,25172538026,65902560173,172535142518
mov $2,1
lpb $0
sub $0,1
add $1,$2
a... |
oeis/313/A313747.asm | neoneye/loda-programs | 11 | 27232 | ; A313747: Coordination sequence Gal.6.200.3 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,5,10,15,20,26,31,36,42,47,52,57,62,67,72,77,82,88,93,98,104,109,114,119,124,129,134,139,144,150,155,160,166,171,176,... |
src/Internals/protypo-parsing.ads | fintatarta/protypo | 0 | 17237 | <filename>src/Internals/protypo-parsing.ads
with Protypo.Scanning;
with Protypo.Code_Trees;
private
package Protypo.Parsing is
function Parse_Statement_Sequence (Input : in out Scanning.Token_List)
return Code_Trees.Parsed_Code;
function Parse_Expression (Input: in out Scan... |
Agda/Ag09.agda | Brethland/LEARNING-STUFF | 2 | 626 | <filename>Agda/Ag09.agda
module Ag09 where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; cong; cong-app)
open Eq.≡-Reasoning
open import Data.Nat using (ℕ; zero; suc; _+_)
open import Data.Nat.Properties using (+-comm)
_∘_ : ∀ {A B C : Set} → (B → C) → (A → B) → (A → C)
(g ∘ f) x = g ... |
Vba.Language/Vba.Grammars/Preprocessor.g4 | rossknudsen/Vba.Language | 20 | 3739 | <gh_stars>10-100
grammar Preprocessor;
import Common;
// Parser Rules
headerLine
: classHeaderLine
| moduleAttribute
;
classHeaderLine
: WS* Version WS+ FloatLiteral WS+ Class WS*
| WS* Begin WS*
| WS* MultiUse WS* EQ WS* IntegerLiteral WS* COMMENT?
| WS* End WS*
;
module... |
libsrc/osca/get_dir_name.asm | andydansby/z88dk-mk2 | 1 | 87662 | ;
; Old School Computer Architecture - interfacing FLOS
; <NAME>, 2012
;
; Get name of current directory
;
; $Id: get_dir_name.asm,v 1.2 2012/03/08 07:16:46 stefano Exp $
;
INCLUDE "flos.def"
XLIB get_dir_name
get_dir_name:
jp kjt_get_dir_name
|
Definition/Conversion/Lift.agda | CoqHott/logrel-mltt | 2 | 570 | <reponame>CoqHott/logrel-mltt<filename>Definition/Conversion/Lift.agda
{-# OPTIONS --safe #-}
module Definition.Conversion.Lift where
open import Definition.Untyped
open import Definition.Untyped.Properties
open import Definition.Typed
open import Definition.Typed.Weakening
open import Definition.Typed.Properties
ope... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_165_1762.asm | ljhsiun2/medusa | 9 | 162088 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1a3ad, %rsi
nop
nop
nop
nop
nop
add %r9, %r9
movb $0x61, (%rsi)
dec %rbx
lea addresses_UC_ht+0x19705, %r13
nop
nop
nop
nop
sub %rbx, %rbx
movups (%r13), %xmm5
vpextrq $0,... |
programs/oeis/037/A037461.asm | neoneye/loda | 22 | 163383 | <gh_stars>10-100
; A037461: a(n)=Sum{d(i)*7^i: i=0,1,...,m}, where Sum{d(i)*4^i: i=0,1,...,m} is the base 4 representation of n.
; 1,2,3,7,8,9,10,14,15,16,17,21,22,23,24,49,50,51,52,56,57,58,59,63,64,65,66,70,71,72,73,98,99,100,101,105,106,107,108,112,113,114,115,119,120,121,122,147,148,149,150,154,155,156,157,161,162,... |
theorems/cw/cohomology/FirstCohomologyGroup.agda | mikeshulman/HoTT-Agda | 0 | 15882 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import cohomology.Theory
open import cohomology.PtdMapSequence
open import groups.ExactSequence
open import groups.Exactness
open import groups.HomSequence
open import groups.KernelImageUniqueFactorization
open import cw.CW
module cw.cohomology.FirstCohom... |
libsrc/target/mz/stdio/generic_console.asm | Frodevan/z88dk | 640 | 94587 | <reponame>Frodevan/z88dk<filename>libsrc/target/mz/stdio/generic_console.asm
;
; Sharp colours
;
; 0 = black
; 1 = blue
; 2 = red
; 3 = purple
; 4 = green
; 5 = light blue
; 6 = yellow
; 7 = white
SECTION code_clib
PUBLIC generic_console_cls
PUBLIC generic_console_vpeek
PUBLIC generic_console_scrollup
... |
08/tests/test3/test3.asm | Savioor/nand2tetris2022-public | 0 | 178145 | <filename>08/tests/test3/test3.asm
//init SP
@256
D = A
@SP
M = D
//init LCL
@256
D = A
@LCL
M = D
//init ARG
@256
D = A
@ARG
M = D
// call Sys.init 0
// get ip
@RET_ADDR0
D = A
// push data in this order: RET LCL ARG THIS THAT
@SP
M = M + 1
A = M - 1
M = D
@LCL
D = M
@SP
M = M + 1
A = M - 1
M = D
@ARG
D = M
@SP
M = M ... |
agda/book/Programming_Language_Foundations_in_Agda/x08-747Quantifiers-completed.agda | haroldcarr/learn-haskell-coq-ml-etc | 36 | 11259 | <gh_stars>10-100
module 747Quantifiers where
-- Library
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl)
open import Data.Nat using (ℕ; zero; suc; _+_; _*_; _≤_; z≤n; s≤s) -- added ≤
open import Relation.Nullary using (¬_)
open import Data.Product using (_×_; proj₁; proj₂) renaming (_,_ to... |
oeis/202/A202831.asm | neoneye/loda-programs | 11 | 175789 | <filename>oeis/202/A202831.asm
; A202831: E.g.f.: exp(4*x/(1-5*x)) / sqrt(1-25*x^2).
; Submitted by <NAME>
; 1,4,81,1444,44521,1397124,58354321,2574344644,136043683281,7657406908804,489836445798001,33351743794661604,2504378700538997881,199445618093659242244,17189578072429077875121,1564487078400498014277124,152146464623... |
rustnes-dev/test_roms/test_apu_m/test_11.asm | w1n5t0n99/rustnes | 2 | 91 | ; TEST 01
; 2012 (c) JrezCorp Team
;
; ASM6502
;
.list
.inesprg 1 ; 1 PRG
.ineschr 1 ; 1 CHR
.inesmir 0 ; V-mirroring
.inesmap 0 ; 0-map (NMAP)
; MEMORY MAP
;
; 0x0000 - 0x04FF - arrays (0x0000-0x00FF - zero page, 0x0100-0x01FF - stack, 0x0200-0x02FF - sprite memmory)
; 0x0500 - 0x07FF - variables
; 0x0800 - 0x1F... |
05_exec/win32/exec32.asm | jacwil/nasm-on-windows | 13 | 10200 | [BITS 32]
GLOBAL _main
EXTERN _CloseHandle@4
EXTERN _CreateProcessA@40
EXTERN _ExitProcess@4
EXTERN _GetCommandLineA@0
EXTERN _GetLastError@0
EXTERN _GetStdHandle@4
EXTERN _WaitForSingleObject@8
EXTERN _WriteFile@20
SECTION .data
sUsage db 'USAGE: exec mycmd [cmdarg]...',10,'Executes the progr... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2527.asm | ljhsiun2/medusa | 9 | 94779 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x15e88, %r15
nop
nop
nop
nop
cmp %r14, %r14
mov $0x6162636465666768, %r10
movq %r10, %xmm5
movups %xmm5, (%r15)
nop
dec %r12
lea addresses_D_ht+0x1d878, %r14
n... |
src/apsepp-test_node_class-private_test_reporter.adb | thierr26/ada-apsepp | 0 | 16260 | <filename>src/apsepp-test_node_class-private_test_reporter.adb
-- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
package body Apsepp.Test_Node_Class.Private_Test_Reporter is
----------------------------------------------------------------------------
procedure Run_Instanc... |
tools-src/gnu/gcc/gcc/ada/i-os2lib.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 28354 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
programs/oeis/014/A014447.asm | karttu/loda | 0 | 102141 | <filename>programs/oeis/014/A014447.asm
; A014447: Odd Lucas numbers.
; 1,3,7,11,29,47,123,199,521,843,2207,3571,9349,15127,39603,64079,167761,271443,710647,1149851,3010349,4870847,12752043,20633239,54018521,87403803,228826127,370248451,969323029,1568397607,4106118243
mul $0,3
mov $1,1
mov $2,1
mov $4,-3
lpb $0,1
su... |
gcc-gcc-7_3_0-release/gcc/ada/a-strfix.ads | best08618/asylo | 7 | 28343 | <filename>gcc-gcc-7_3_0-release/gcc/ada/a-strfix.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
SOAS/Metatheory/Syntax.agda | JoeyEremondi/agda-soas | 0 | 12466 | <filename>SOAS/Metatheory/Syntax.agda
-- Syntax of a second-order language
module SOAS.Metatheory.Syntax {T : Set} where
open import SOAS.Families.Core {T}
open import SOAS.Families.Build
open import SOAS.Common
open import SOAS.Context
open import Categories.Object.Initial
open import SOAS.Construction.Structure
op... |
Working Disassembly/General/Sprites/Sonic/Map - Sonic Snowboarding.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 3530 | <filename>Working Disassembly/General/Sprites/Sonic/Map - Sonic Snowboarding.asm<gh_stars>1-10
Map_347E30: dc.w Frame_347E4A-Map_347E30
dc.w Frame_347E4C-Map_347E30
dc.w Frame_347E66-Map_347E30
dc.w Frame_347E80-Map_347E30
dc.w Frame_347E9A-Map_347E30
dc.w Frame_347EB4-Map_347E30
dc.w Frame_347ECE-Map_347E3... |
examples/asm/standard.asm | Nibble-Knowledge/label-replacer | 0 | 171521 | <gh_stars>0
INF BASE_ADDR
LOD N_[2]
|
src/parser/evaql/evaql_lexer.g4 | YT0828/eva | 0 | 1214 | <reponame>YT0828/eva<gh_stars>0
lexer grammar evaql_lexer;
channels { EVAQLCOMMENT, ERRORCHANNEL }
// SKIP
SPACE: [ \t\r\n]+ -> channel(HIDDEN);
SPEC_EVAQL_COMMENT: '/*!' .+? '*/' -> channel(EVAQLCOMMENT);
COMMENT_INPUT: '/*' .*? '*/' -> channe... |
arch/ARM/Nordic/drivers/nrf52/nrf-adc.adb | rocher/Ada_Drivers_Library | 192 | 9559 | ------------------------------------------------------------------------------
-- --
-- Copyright © AdaCore and other contributors, 2017-2020 --
-- See https://github.com/AdaCore/Ada_Drivers_Library/graphs/contributors --
-- f... |
programs/oeis/034/A034850.asm | neoneye/loda | 22 | 11808 | ; A034850: Triangular array formed by taking every other term of Pascal's triangle.
; 1,1,2,1,3,1,6,1,5,10,1,6,20,6,1,21,35,7,1,28,70,28,1,9,84,126,36,1,10,120,252,120,10,1,55,330,462,165,11,1,66,495,924,495,66,1,13,286,1287,1716,715,78,1,14,364,2002,3432,2002,364,14,1,105,1365,5005,6435,3003,455,15,1,120,1820,8008,128... |
examples/userdata_example.adb | jhumphry/aLua | 0 | 2923 | -- Userdata_Example
-- A example of using the Ada values in Lua via UserData values
-- Copyright (c) 2015, <NAME> - see LICENSE for terms
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Long_Float_Text_IO; use Ada.Long_Float_Text_IO;
with Lua; use Lua;
with Lua.Util; use Lua.Util;
with Example_Userdata;
use Example_Use... |
Assembly/OS/INPUT.asm | p-rivero/CESC16 | 2 | 246339 | <filename>Assembly/OS/INPUT.asm
; ========================
; Keyboard Input library
; ========================
#bank program
INPUT:
; Constants:
.ACK = 0x06
.RDY = 0x07
.BACKSPACE = 0x08
.TAB = 0x09
.ENTER = 0x0A
.PAGEUP = 0x0B
.PAGEDOWN = 0x0C
.HOME = 0x0D
.INSERT = 0x0E
; F1-F12 mapped to 0x0F-0x1A
.ESC = 0x1B
.... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca.log_21829_895.asm | ljhsiun2/medusa | 9 | 27665 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1b4b9, %r15
nop
add %rdi, %rdi
movw $0x6162, (%r15)
nop
nop
nop
nop
cmp %r8, %r8
lea addresses_A_ht+0xd789, %r8
nop
nop
nop
add $3523, %rsi
mov (%r8), %r10
sub %r15, %r15
lea... |
home/math.asm | opiter09/ASM-Machina | 1 | 170469 | ; function to do multiplication
; all values are big endian
; INPUT
; FF96-FF98 = multiplicand
; FF99 = multiplier
; OUTPUT
; FF95-FF98 = product
Multiply::
push hl
push bc
callfar _Multiply
pop bc
pop hl
ret
; function to do division
; all values are big endian
; INPUT
; FF95-FF98 = dividend
; FF99 = divisor
;... |
smart-rule/src/main/antlr4/org/smartdata/rule/parser/SmartRule.g4 | ZVampirEM77/SSM | 2 | 6055 | <reponame>ZVampirEM77/SSM
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2... |
src/Typed/LTLCRef.agda | laMudri/linear.agda | 34 | 14955 | module Typed.LTLCRef where
open import Data.List.Relation.Ternary.Interleaving.Propositional
open import Relation.Unary hiding (_∈_)
open import Relation.Unary.PredicateTransformer using (Pt)
open import Function
open import Category.Monad
open import Relation.Ternary.Separation
open import Relation.Ternary.Separati... |
third_party/codecs/xvidcore/src/bitstream/x86_asm/cbp_mmx.asm | Narflex/sagetv | 292 | 610 | ;/****************************************************************************
; *
; * XVID MPEG-4 VIDEO CODEC
; * - MMX CBP computation -
; *
; * Copyright (C) 2005 <NAME> <<EMAIL>>
; * 2001-2003 <NAME> <<EMAIL>>
; * 2002-2003 <NAME> <<EMAIL>>
; *
; * This program is free softwar... |
src/main/antlr4/org/verdictdb/parser/VerdictSQLLexer.g4 | zhengant/verdictdb | 0 | 4576 |
lexer grammar VerdictSQLLexer;
// Verdict Keywords
SIZE: S I Z E;
COLUMNS: C O L U M N S;
SHOW: S H O W;
UNIFORM: U N I F O R M;
FASTCONVERGE: F A S T C O N V E R G E;
SCRAMBLE: ... |
source/amf/ocl/amf-internals-tables-ocl_metamodel.adb | svn2github/matreshka | 24 | 7883 | <filename>source/amf/ocl/amf-internals-tables-ocl_metamodel.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
src/COM/OPTEST.asm | Erukaron/TONY | 0 | 20178 | <reponame>Erukaron/TONY<filename>src/COM/OPTEST.asm
mov al, 0x55
mov ah, 0xaa
mov ax, 0xaa00
mov bl, 0xaa
mov bh, 0x55
mov bx, 0x00aa
mov cl, [0x55aa]
mov ch, [0xaa55]
mov cx, [si]
mov dx, ax
mov dh, ah
mov dl, al |
Simulation/connection.ads | edgarsmdn/Aspen_Plus_Python | 0 | 10301 | <reponame>edgarsmdn/Aspen_Plus_Python<gh_stars>0
<AdbFile>
<GuidDictionary count="121">
<Guid value="e1bdaa8f-05fd-43bb-903e-d87749440aa9" int="0"/>
<Guid value="fb058446-e81c-4e84-a1c6-57d0a3202bbe" int="1"/>
<Guid value="149049bb-db00-453c-9f0a-ce5f829dfa6a" int="2"/>
<Guid value="6139ab55-36b8-4f11-b96... |
libsrc/graphics/point_callee.asm | jpoikela/z88dk | 38 | 167436 | <filename>libsrc/graphics/point_callee.asm
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by <NAME> - 30/9/98
;
;
; $Id: point_callee.asm $
;
; CALLER LINKAGE FOR FUNCTION POINTERS
; ----- void point(int x, int y)
;Result is true/fal... |
gcc-gcc-7_3_0-release/gcc/ada/g-io.adb | best08618/asylo | 7 | 4028 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
src/Internals/protypo-scanning.ads | fintatarta/protypo | 0 | 29232 | with Readable_Sequences.Generic_Sequences;
with Protypo.Tokens;
with Protypo.Api.Interpreters;
private package Protypo.Scanning is
type Token_Array is array (Positive range<>) of Tokens.Token;
package Token_Sequences is
new Readable_Sequences.Generic_Sequences (Element_Type => Tokens.Token,
... |
programs/oeis/281/A281381.asm | neoneye/loda | 22 | 170194 | ; A281381: a(n) = n*(n + 1)*(4*n + 5)/2.
; 0,9,39,102,210,375,609,924,1332,1845,2475,3234,4134,5187,6405,7800,9384,11169,13167,15390,17850,20559,23529,26772,30300,34125,38259,42714,47502,52635,58125,63984,70224,76857,83895,91350,99234,107559,116337,125580,135300,145509,156219,167442,179190,191475,204309,217704,231672,2... |
data/test-files/Prelude.agda | carlostome/martin | 0 | 4735 | <filename>data/test-files/Prelude.agda
module Prelude where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
{-# BUILTIN NATURAL Nat #-}
data _==_ {A : Set} (x : A) : A → Set where
refl : x == x
data Vec (A : Set) : Nat -> Set where
nil : Vec A 0
cons : forall {n} -> A -> Vec A n -> Vec A (suc n)
data Li... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1783.asm | ljhsiun2/medusa | 9 | 161834 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x2321, %rsi
lea addresses_A_ht+0x184e1, %rdi
xor $16697, %r12
mov $98, %rcx
rep movsl
nop
nop
nop
nop
xor $17121, %r8
lea addresses_WC_ht+0x1c221, %rsi
lea addresses_normal_ht+0xfe49, %... |
oeis/215/A215552.asm | neoneye/loda-programs | 11 | 82857 | <reponame>neoneye/loda-programs<filename>oeis/215/A215552.asm
; A215552: a(n) = binomial(8*n,n)*(6*n+1)/(7*n+1).
; Submitted by <NAME>
; 1,7,104,1748,31000,566618,10559208,199448964,3804949176,73143988775,1414591812920,27492340515912,536480138597624,10504551860174120,206284010045343000,4061109502392133464,8012631023471... |
programs/oeis/152/A152833.asm | jmorken/loda | 1 | 10644 | <reponame>jmorken/loda
; A152833: a(0) = -3; a(n) = n-a(n-1).
; -3,4,-2,5,-1,6,0,7,1,8,2,9,3,10,4,11,5,12,6,13,7,14,8,15,9,16,10,17,11,18,12,19,13,20,14,21,15,22,16,23,17,24,18,25,19,26,20,27,21,28,22,29,23,30,24,31,25,32,26,33,27,34,28,35,29,36,30,37,31,38,32,39,33,40,34
mov $3,$0
mod $0,2
mov $1,$3
sub $1,6
mov $2,$... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.