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 |
|---|---|---|---|---|
wof/lcs/enemy/33.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 11975 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data<gh_stars>1-10
copyright zengfr site:http://github.com/zengfr/romhack
0252F8 ble $25312 [enemy+33]
0252FE jsr $1426.w [enemy+33]
0255F4 move.b ($33,A0), D0 [enemy+32]
0255F8 beq $25606 [enemy+33]
026AE4 move.b ($33,A0), D0 [enemy+32]
... |
programs/oeis/222/A222591.asm | jmorken/loda | 1 | 6390 | <filename>programs/oeis/222/A222591.asm
; A222591: Numerators of (n*(n - 3)/6) + 1, arising as the maximum possible number of triple lines for an n element set.
; 1,5,8,4,17,23,10,38,47,19,68,80,31,107,122,46,155,173,64,212,233,85,278,302,109,353,380,136,437,467,166,530,563,199,632,668,235,743,782,274,863,905,316,992,1... |
oeis/051/A051452.asm | neoneye/loda-programs | 11 | 18426 | <reponame>neoneye/loda-programs<filename>oeis/051/A051452.asm
; A051452: a(n) = 1 + lcm(1..k) where k is the n-th prime power A000961(n).
; Submitted by <NAME>
; 2,3,7,13,61,421,841,2521,27721,360361,720721,12252241,232792561,5354228881,26771144401,80313433201,2329089562801,72201776446801,144403552893601,53429314570632... |
F0xC_LINUX/include/util/printString.asm | Pusty/F0xC | 0 | 10402 | <reponame>Pusty/F0xC
%ifndef PRINT_STR
%define PRINT_STR
;2 args (string addr, len)
;example push string \ push 8 \ call printString
;std_addr = ADDR TEMP STORAGE
;str_tmp = 16 byte reserved
;std_handle = STD OUTPUT HANDLE
printString:
pop dword [std_addr] ;this is apparently the address, so let's just save it ... |
testbed/pgm3.asm | findhamza/Compilers | 0 | 4419 | %include "IOSR.asm"
global _start
section .data
section .bss
somevar RESW 1
othervar RESW 1
ans RESW 1
temp0 RESW 1
temp1 RESW 1
section .txt
_start:
call PrintString
call GetAnInteger
mov ax, [ReadInt]
mov [somevar], ax
call PrintString
call GetAnInteger
mov ax, [ReadInt]
mov [othervar], ax
m... |
src/ada-core/src/linted-controls.ads | mstewartgallus/linted | 0 | 9383 | <reponame>mstewartgallus/linted<gh_stars>0
-- Copyright 2015,2016 <NAME>
--
-- 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 ... |
Appl/Term/File/fileLocal.asm | steakknife/pcgeos | 504 | 90342 | <filename>Appl/Term/File/fileLocal.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: File
FILE: fileLocal.asm
AUTHOR: <NAME>, December 12, 1989
METHODS:
Name Description
---- ----------... |
programs/oeis/236/A236283.asm | karttu/loda | 0 | 240715 | <reponame>karttu/loda
; A236283: The number of orbits of triples of {1,2,...,n} under the action of the dihedral group of order 2n.
; 1,4,5,10,13,20,25,34,41,52,61,74,85,100,113,130,145,164,181,202,221,244,265,290,313,340,365,394,421,452,481,514,545,580,613,650,685,724,761,802,841,884,925,970,1013,1060,1105,1154,1201,1... |
libsrc/_DEVELOPMENT/math/float/am9511/lam32/z80/asm_dmulpow10.asm | ahjelm/z88dk | 640 | 168703 | <reponame>ahjelm/z88dk
SECTION code_clib
SECTION code_fp_am9511
PUBLIC asm_dmulpow10
EXTERN asm_am9511_float8, asm_am9511_fmul_callee
EXTERN _am9511_exp10
; multiply DEHL' by a power of ten
; DEHL' *= 10^(A)
;
; enter : DEHL'= float x
; A = signed char
;
; exit : success
;
; ... |
echo.asm | ansumanpalo/xv6-the_project | 0 | 172852 | <gh_stars>0
_echo: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
... |
unused/develop/obj/scene_0_actors.asm | pau-tomas/gbvm | 33 | 15976 | <reponame>pau-tomas/gbvm<filename>unused/develop/obj/scene_0_actors.asm<gh_stars>10-100
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.4 #12246 (Mac OS X x86_64)
;--------------------------------------------------------
.module scene_0_... |
memsim-master/src/memory-option.ads | strenkml/EE368 | 0 | 18829 |
package Memory.Option is
type Option_Type is new Memory_Type with private;
type Option_Pointer is access all Option_Type'Class;
function Create_Option return Option_Pointer;
function Clone(mem : Option_Type) return Memory_Pointer;
procedure Permute(mem : in out Option_Type;
... |
pinot-common/src/main/antlr4/com/linkedin/pinot/pql/parsers/PQL2.g4 | TomMD/pinot | 0 | 2272 | <gh_stars>0
/**
* Copyright (C) 2014-2016 LinkedIn Corp. (<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 r... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1276.asm | ljhsiun2/medusa | 9 | 170368 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1493a, %rsi
lea addresses_UC_ht+0xe706, %rdi
nop
nop
nop
xor $50298, %r10
mov $21, %rcx
rep movsl
nop
add %rbx, %rbx
lea addresses_WC_ht+0x12086, %rsi
lea addresses_UC_ht+0x1... |
src/shaders/h264/mc/scoreboard_MBAFF.asm | tizenorg/platform.upstream.libva-intel-driver | 0 | 245638 | <reponame>tizenorg/platform.upstream.libva-intel-driver<gh_stars>0
/*
* Dependency control scoreboard kernel for MBAFF frame
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
... |
programs/oeis/011/A011862.asm | karttu/loda | 1 | 170801 | ; A011862: a(n) = floor(n*(n-1)/9).
; 0,0,0,0,1,2,3,4,6,8,10,12,14,17,20,23,26,30,34,38,42,46,51,56,61,66,72,78,84,90,96,103,110,117,124,132,140,148,156,164,173,182,191,200,210,220,230,240,250,261,272,283,294,306,318,330,342,354,367,380,393,406,420
bin $0,2
mov $1,$0
add $1,$0
div $1,9
|
PRG/objects/1-3.asm | narfman0/smb3_pp1 | 0 | 170486 | .byte $01 ; Unknown purpose
.byte OBJ_GREENTROOPA, $0D, $19
.byte OBJ_BOOMERANGBRO, $15, $18
.byte OBJ_REDTROOPA, $27, $14
.byte OBJ_GREENTROOPA, $32, $18
.byte OBJ_GOOMBA, $3A, $19
.byte OBJ_PARAGOOMBA, $42, $19
.byte OBJ_PARAGOOMBA, $4A, $19
.byte OBJ_BOOMERANGBRO, $57, $17
.byte OBJ_GOOMBA, $65, $19
.byt... |
tools/scitools/conf/understand/ada/ada05/s-bb.ads | brucegua/moocos | 1 | 23355 | <filename>tools/scitools/conf/understand/ada/ada05/s-bb.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
oeis/347/A347737.asm | neoneye/loda-programs | 11 | 20523 | <filename>oeis/347/A347737.asm
; A347737: Zero together with the partial sums of A238005.
; Submitted by <NAME>
; 0,0,0,0,1,1,2,3,5,5,7,9,11,13,15,16,20,23,25,28,31,33,37,41,45,48,52,54,59,64,67,72,78,81,86,89,94,100,106,110,116,122,126,132,138,141,148,155,162,168,174,179,186,193,198,204,212,218,226,234,240,248,256,260... |
llvm-gcc-4.2-2.9/gcc/ada/makeutl.ads | vidkidz/crossbridge | 1 | 21984 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Task/Sieve-of-Eratosthenes/AppleScript/sieve-of-eratosthenes.applescript | LaudateCorpus1/RosettaCodeData | 1 | 4074 | <reponame>LaudateCorpus1/RosettaCodeData
to sieve(N)
script
on array()
set L to {}
repeat with i from 1 to N
set end of L to i
end repeat
L
end array
end script
set L to result's array()
set item 1 of L to false
repeat with x in L
repeat with y in L
try
if (x < y ^ 2) then ... |
source/image/required/s-widllu.ads | ytomino/drake | 33 | 30192 | pragma License (Unrestricted);
-- implementation unit required by compiler
with System.Unsigned_Types;
package System.Wid_LLU is
pragma Pure;
-- required for Modular'Width by compiler (s-widllu.ads)
function Width_Long_Long_Unsigned (
Lo, Hi : Unsigned_Types.Long_Long_Unsigned)
return Natural;
... |
SOAS/Families/Isomorphism.agda | JoeyEremondi/agda-soas | 39 | 10805 |
-- Isomorphism of indexed families
module SOAS.Families.Isomorphism {T} where
open import SOAS.Common
open import SOAS.Context {T}
open import SOAS.Families.Core {T}
open import Categories.Morphism 𝔽amilies public using ()
renaming ( _≅_ to _≅ₘ_ ; module ≅ to ≅ₘ ; ≅-setoid to ≅ₘ-setoid)
-- Isomorphism betw... |
test/Succeed/Issue1774.agda | shlevy/agda | 1,989 | 16256 | <reponame>shlevy/agda
-- 2016-01-14 Andreas, issue reported by <NAME>
open import Common.Equality
module _ {K : Set} where
record Map : Set where
field
unmap : K
record _∉_ (k : K) (m : Map) : Set where
field
un∉ : Map.unmap m ≡ k
pattern ∉∅ = record { un∉ = refl }
not-here : ∀ {k : K} {m : Map} (k∉m ... |
alloy4fun_models/trashltl/models/17/pTXL6Dsz2YHLe2zoa.als | Kaixi26/org.alloytools.alloy | 0 | 128 | open main
pred idpTXL6Dsz2YHLe2zoa_prop18 {
all f : Protected | always (f in Trash' => f not in Protected' or f in Trash => f not in Protected)
}
pred __repair { idpTXL6Dsz2YHLe2zoa_prop18 }
check __repair { idpTXL6Dsz2YHLe2zoa_prop18 <=> prop18o } |
src/gen/cups-cups_adminutil_h.ads | persan/a-cups | 0 | 28552 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Strings;
limited with CUPS.stdio_h;
with Interfaces.C_Streams;
with System;
with CUPS.cups_cups_h;
private package CUPS.cups_adminutil_h is
CUPS_SERVER_DEBUG_LOGGING : aliased constant String := "_debug_logging" & A... |
Cubical/DStructures/Structures/Category.agda | Schippmunk/cubical | 0 | 6843 |
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.DStructures.Structures.Category where
open import Cubical.Foundations.Prelude
open import Cubical.DStructures.Base
open import Cubical.DStructures.Meta.Properties
open import Cubical.Categories.Category renaming (isUnivalent to isUnivalentCat)
priva... |
source/web/tools/wsdl2ada/wsdl-parsers-soap.adb | svn2github/matreshka | 24 | 22082 | <filename>source/web/tools/wsdl2ada/wsdl-parsers-soap.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
programs/oeis/158/A158595.asm | karttu/loda | 1 | 172649 | <reponame>karttu/loda<gh_stars>1-10
; A158595: a(n) = 361*n^2 - 19.
; 342,1425,3230,5757,9006,12977,17670,23085,29222,36081,43662,51965,60990,70737,81206,92397,104310,116945,130302,144381,159182,174705,190950,207917,225606,244017,263150,283005,303582,324881,346902,369645,393110,417297,442206,467837,494190,521265,549062... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_349.asm | ljhsiun2/medusa | 9 | 160901 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x15787, %r15
nop
nop
nop
nop
nop
add %r10, %r10
movb $0x61, (%r15)
nop
nop
and %r10, %r10
lea addresses_UC_ht+0x7f87, %rbp
nop
sub $5896, %r12
movl $0x6162... |
Cubical/Homotopy/Group/Pi4S3/Summary.agda | FernandoLarrain/cubical | 1 | 3920 | <filename>Cubical/Homotopy/Group/Pi4S3/Summary.agda
{-
This file contains a summary of what remains for π₄(S³) ≡ ℤ/2ℤ to be proved.
See the module π₄S³ at the end of this file.
-}
{-# OPTIONS --safe #-}
module Cubical.Homotopy.Group.Pi4S3.Summary where
open import Cubical.Foundations.Prelude
open import Cubical.Fo... |
Applescript/Target.applescript | dustindmiller/QTableTop | 1 | 756 | <filename>Applescript/Target.applescript<gh_stars>1-10
tell application id "com.figure53.QLab.4" to tell front workspace
if cue "ALL PARTY" is not running and cue "ALL NPCs" is not running then
display dialog "No Active Tokens" with title "Target Token for Movement" with icon 2 buttons "OK" default button "OK" givin... |
AKVIDE v 0.2/Programs/1-Timer.asm | KvanTTT/Draft-Projects | 0 | 28545 | <gh_stars>0
org 100h
segment .txt
main:
mov dx, str
mov ah, 9
int 21h
mov ah, 10h
int 16h
cmp al, 27
je quit
cmp al, 48
jb main
cmp al, 57
ja main
call show_real_time
jmp main
show_real_time:
mov ah, 02h
int 1ah
mov al, ch ;hour
call print_digit
mov al, ':'
int 29h
mov al,... |
Definition/Typed/EqRelInstance.agda | loic-p/logrel-mltt | 0 | 9960 | {-# OPTIONS --without-K --safe #-}
module Definition.Typed.EqRelInstance where
open import Definition.Untyped
open import Definition.Typed
open import Definition.Typed.Weakening
open import Definition.Typed.Reduction
open import Definition.Typed.EqualityRelation
open import Tools.Function
-- Judgmental instance of... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca.log_21829_28.asm | ljhsiun2/medusa | 9 | 100472 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x19415, %r12
clflush (%r12)
nop
nop
nop
and $14331, %rbx
mov $0x6162636465666768, %rdi
movq %rdi, %xmm3
movups %xmm3, (%r12)
nop
nop
nop
nop
and $55634, %r10
lea addresses_UC_h... |
answers.asm | retcon85/segle | 0 | 28987 | public answers
answers:
db "CIGAR"
db "REBUT"
db "SISSY"
db "HUMPH"
db "AWAKE"
db "BLUSH"
db "FOCAL"
db "EVADE"
db "NAVAL"
db "SERVE"
db "HEATH... |
programs/oeis/313/A313613.asm | karttu/loda | 0 | 16558 | ; A313613: Coordination sequence Gal.4.72.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.
; 1,5,10,14,20,24,29,34,39,44,48,54,58,63,68,73,78,82,88,92,97,102,107,112,116,122,126,131,136,141,146,150,156,160,165,170,175,180,184,190,194,... |
FormalAnalyzer/models/meta/cap_tamperAlert.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 238 |
// filename: cap_tamperAlert.als
module cap_tamperAlert
open IoTBottomUp
one sig cap_tamperAlert extends Capability {}
{
attributes = cap_tamperAlert_attr
}
abstract sig cap_tamperAlert_attr extends Attribute {}
one sig cap_tamperAlert_attr_tamper extends cap_tamperAlert_attr {}
{
values = cap_tamperAlert_attr... |
src/agda/FRP/JS/RSet.agda | agda/agda-frp-js | 63 | 14030 | <filename>src/agda/FRP/JS/RSet.agda
open import FRP.JS.Time.Core using ( Time )
module FRP.JS.RSet where
infixr 1 _⇒_
RSet : Set₁
RSet = Time → Set
_⇒_ : RSet → RSet → RSet
(A ⇒ B) t = A t → B t
⟨_⟩ : Set → RSet
⟨ A ⟩ t = A
⟦_⟧ : RSet → Set
⟦ A ⟧ = ∀ {t} → A t
|
src/arbre_genealogique.ads | GauBen/Arbre-Genealogique | 1 | 8220 | with Ada.Strings.Bounded;
with Graphe;
with Registre;
with Date; use Date;
package Arbre_Genealogique is
Relation_Existante : exception;
-- Documentation : https://en.wikibooks.org/wiki/Ada_Programming/Strings
package Sb is new Ada.Strings.Bounded.Generic_Bounded_Length (Max => 1023);
subtype T_Etiquette... |
programs/oeis/000/A000539.asm | karttu/loda | 0 | 166140 | ; A000539: Sum of 5th powers: 0^5 + 1^5 + 2^5 + ... + n^5.
; 0,1,33,276,1300,4425,12201,29008,61776,120825,220825,381876,630708,1002001,1539825,2299200,3347776,4767633,6657201,9133300,12333300,16417401,21571033,28007376,35970000,45735625,57617001,71965908,89176276,109687425,133987425,162616576,196171008,235306401,28074... |
sample_mixer/mixer_demo.asm | mikedailly/mod_player | 16 | 179588 | ;
; Sample Mixer demo
; By <NAME>, (c) Copyright 2020 all rights reserved.
;
; Please see the readme for license details
;
opt Z80 ; Set Z80 mode
opt ZXNEXTREG
include "includes.asm"
MixerVolumeBank equ 16
SampleBank equ 1... |
libsrc/_DEVELOPMENT/adt/w_array/c/sccz80/w_array_insert_n_callee.asm | jpoikela/z88dk | 640 | 98505 |
; size_t w_array_insert_n(w_array_t *a, size_t idx, size_t n, void *item)
SECTION code_clib
SECTION code_adt_w_array
PUBLIC w_array_insert_n_callee
EXTERN asm_w_array_insert_n
w_array_insert_n_callee:
pop hl
pop af
pop de
pop bc
ex (sp),hl
jp asm_w_array_insert_n
; SDCC bridge for Classic
I... |
test/epic/Prelude/Nat.agda | redfish64/autonomic-agda | 0 | 13181 | <gh_stars>0
module Prelude.Nat where
open import Prelude.Bool
data Nat : Set where
Z : Nat
S : Nat -> Nat
{-# BUILTIN NATURAL Nat #-}
infixl 30 _+_
_+_ : Nat -> Nat -> Nat
Z + m = m
S n + m = S (n + m)
{-# BUILTIN NATPLUS _+_ #-}
_*_ : Nat -> Nat -> Nat
Z * m = Z
S n * m = (n * m) + m
{-# BUILTIN NATTIM... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_563.asm | ljhsiun2/medusa | 9 | 178117 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x2090, %rsi
lea addresses_WT_ht+0x3ad0, %rdi
nop
add $35562, %r10
mov $25, %rcx
rep movsq
nop
nop
nop
nop
and $62615, %r11
lea addresses_D_ht+0x106d0, %r14
nop
nop
add $52025,... |
src/linearmap.asm | JoeyCluett/game-jam-beat-the-boredom | 0 | 247123 |
global linearmap
section .bss
section .data
section .text
align 16
linearmap:
;
; x : xmm0
; x_begin : xmm1
; x_end : xmm2
; y_begin : xmm3
; y_end : xmm4
;
; result : xmm0
;
; output = y_begin + ((y_end - y_begin) / (x_end - x_begin)) * (x - x_begin)
;
;... |
test-klc3/issue_detection/ret_in_main.asm | liuzikai/klc3 | 0 | 178274 | <gh_stars>0
; This program have an improper RET in main
; KLC3 is expected to detect and give warning of ERR_RET_IN_MAIN_CODE
; 2020.07.31 by liuzikai
.ORIG x3000
MAIN
LEA R0, MAIN_ENTER_OUTPUT
PUTS
JSR SUB1
LEA R0, MAIN_RET_OUTPUT
PUTS
RET ; <-- improer use of RET, which will JMP back to PUT... |
LAB4/q2C.asm | Avigdor-Kolonimus/ASM | 0 | 103790 | dseg segment
N1 DB ?,?,?,? ;first number
N2 DB ?,?,?,? ;second number
N3 DB ?,?,?,? ;answer number
MESSErr DB 0Ah,0Dh,"input is not correct",0Ah,0Dh, '$' ;error message
Number1 DB "Enter first number",0Ah,0Dh, '$' ;request message
Number2 DB 0Ah,0Dh,"Enter second number",0Ah,0Dh, '$' ;request mess... |
NASM Hacking/shellcodes/spawnshell/spawnshell.asm | CosasDePuma/Aesthetic-Programming | 2 | 165243 | ; _________________
; // \\
; || HOW TO COMPILE IT ||
; \\_________________//
;
; -------- x86 ---------
; nasm -f elf spawnshell.asm
; ld -s -o spawnshell.elf spawnshell.asm
;
; ----- Always x86 -----
; nasm -f elf spawnshell.asm
; ld -m elf_i386 -s -o spawnshell.elf spawnshell.o
;
; __________... |
src/tk/tk-frame.ads | thindil/tashy2 | 2 | 11709 | -- Copyright (c) 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 applicable law or agre... |
src/adventofcode-file_line_readers.adb | persan/advent-of-code-2020 | 0 | 446 | pragma Ada_2012;
package body Adventofcode.File_Line_Readers is
use Ada.Text_IO;
----------------
-- Read_Lines --
----------------
function Read_Lines (From_Path : String) return File_Reader is
begin
return Ret : File_Reader do
Ada.Text_IO.Open (Ret.F, In_File, From_Path);
end r... |
oeis/327/A327904.asm | neoneye/loda-programs | 11 | 25489 | <reponame>neoneye/loda-programs
; A327904: Number of labeled simple graphs with vertices {1..n} such that every edge has a different sum.
; Submitted by <NAME>
; 1,1,2,8,48,432,5184,82944,1658880,41472000,1244160000,44789760000,1881169920000,92177326080000,5161930260480000,330363536670720000,23786174640291840000,192668... |
programs/oeis/286/A286585.asm | neoneye/loda | 22 | 23736 | ; A286585: a(n) = A053735(A048673(n)).
; 1,2,1,3,2,4,2,4,3,3,3,5,1,5,2,5,2,4,2,4,2,4,3,6,5,6,3,6,4,7,3,6,3,3,3,5,3,5,5,5,4,3,4,5,4,6,1,7,5,6,4,7,2,8,4,7,4,5,3,8,4,4,4,7,4,6,2,4,5,6,3,6,4,6,5,6,4,6,4,6,7,5,3,4,5,7,6,6,5,5,4,7,3,8,1,8,5,6,3,7
seq $0,48673 ; Permutation of natural numbers: a(n) = (A003961(n)+1) / 2 [wher... |
programs/oeis/021/A021179.asm | jmorken/loda | 1 | 92391 | ; A021179: Decimal expansion of 1/175.
; 0,0,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5
mov $2,1
lpb $0
add $2,$0
add $0,2
sub $2,$0
mov $3,$0
cal $3,21256 ; ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a83a06a.ada | best08618/asylo | 7 | 26411 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a83a06a.ada
-- A83A06A.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
-- unlimit... |
programs/oeis/103/A103639.asm | neoneye/loda | 22 | 242186 | <filename>programs/oeis/103/A103639.asm
; A103639: a(n) = Product_{i=1..2n} 2*i+1.
; 1,15,945,135135,34459425,13749310575,7905853580625,6190283353629375,6332659870762850625,8200794532637891559375,13113070457687988603440625,25373791335626257947657609375,58435841445947272053455474390625,1579520794283954763604901472778593... |
libsrc/_DEVELOPMENT/arch/zx/nirvanap/c/sdcc/NIRVANAP_printC_callee.asm | teknoplop/z88dk | 0 | 102661 | <reponame>teknoplop/z88dk
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by <NAME>
;
; See "nirvana+.h" for further details
; ----------------------------------------------------------------
; void NIRVANAP_printC(unsigned int ch, unsigned char *attrs... |
test/asset/agda-stdlib-1.0/Data/These/Categorical/Left/Base.agda | omega12345/agda-mode | 0 | 4310 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Base definitions for the left-biased universe-sensitive functor and
-- monad instances for These.
--
-- To minimize the universe level of the RawFunctor, we require that
-- elements of B are "lifted" to a copy of... |
test/succeed/TerminationWithTwoConstructors.agda | asr/agda-kanso | 1 | 7240 | <reponame>asr/agda-kanso
{-# OPTIONS --termination-depth=2 #-}
module TerminationWithTwoConstructors where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
f : Nat -> Nat
f zero = zero
f (suc zero) = zero
f (suc (suc n)) with zero
... | m = f (suc n)
{- internal represenation
f : Nat -> Nat
f zero = zero
f (s... |
programs/oeis/182/A182097.asm | jmorken/loda | 1 | 19258 | ; A182097: Expansion of 1/(1-x^2-x^3).
; 1,0,1,1,1,2,2,3,4,5,7,9,12,16,21,28,37,49,65,86,114,151,200,265,351,465,616,816,1081,1432,1897,2513,3329,4410,5842,7739,10252,13581,17991,23833,31572,41824,55405,73396,97229,128801,170625,226030,299426,396655,525456,696081,922111,1221537,1618192,2143648,2839729,3761840,4983377,6... |
demos/random.ada | daveshields/AdaEd | 3 | 6192 |
----------------------------------------------------------------------
--
-- Random Number Generator
--
-- written by
--
-- <NAME>
--
-- Ada Project
-- Courant Institute
-- New York University
-- ... |
examples/compiler/main.agda | shlevy/agda | 1,989 | 17363 | <reponame>shlevy/agda
module main where
open import Not-named-according-to-the-Haskell-lexical-syntax
main = return Not-named-according-to-the-Haskell-lexical-syntax.unit
-- The following code once triggered an MAlonzo bug resulting in the
-- error message "Panic: ... no such name main.M.d".
module M where
data D... |
Groups/FirstIsomorphismTheorem.agda | Smaug123/agdaproofs | 4 | 1028 | <filename>Groups/FirstIsomorphismTheorem.agda
{-# OPTIONS --safe --warning=error --without-K #-}
open import Groups.Definition
open import Setoids.Setoids
open import LogicalFormulae
open import Sets.EquivalenceRelations
open import Groups.Homomorphisms.Definition
open import Groups.Homomorphisms.Lemmas
open import Gr... |
libsrc/rect/RIntersectIval8.asm | meesokim/z88dk | 0 | 178084 |
; Rectangle, Intervals and Points
; 05.2006 aralbrec
PUBLIC RIntersectIval8
; Returns the intersection of two 8-bit intervals.
; Since intervals can wrap across the 0-255 boundary,
; the result of the intersection can be the empty
; interval (no intersection), a single interval or
; two intervals. This routine will... |
oeis/221/A221905.asm | neoneye/loda-programs | 11 | 88734 | <filename>oeis/221/A221905.asm
; A221905: 3^n + 3*n.
; 1,6,15,36,93,258,747,2208,6585,19710,59079,177180,531477,1594362,4783011,14348952,43046769,129140214,387420543,1162261524,3486784461,10460353266,31381059675,94143178896,282429536553,847288609518,2541865828407,7625597485068,22876792455045,68630377364970,205891132094... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_2768_677.asm | ljhsiun2/medusa | 9 | 241434 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1e892, %r15
nop
nop
nop
nop
and %rcx, %rcx
movl $0x61626364, (%r15)
nop
nop
nop
nop
inc %r12
lea addresses_WT_ht+0x136f2, %r13
xor $4077, %rsi
movl... |
3-mid/opengl/source/lean/opengl-camera.ads | charlie5/lace | 20 | 25550 | with
openGL.Culler.frustum,
openGL.Impostorer,
openGL.Frustum,
openGL.Visual,
openGL.Surface,
openGL.Renderer.lean;
package openGL.Camera
--
-- Simulates a camera.
--
is
type Item is tagged limited private;
type View is access all Camera.item'Class;
---------
-- Forge
--... |
bits/src/shift/bitoperations-shift.adb | vasil-sd/ada-tlsf | 3 | 25729 | pragma Ada_2012;
with Interfaces; use Interfaces;
package body BitOperations.Shift with SPARK_Mode => Off is
-----------------
-- Logic_Right --
-----------------
function Logic_Right (Value : Modular; Amount : Natural) return Modular is
(case Modular'Size is
when 1 .. 8 => Modular (Shi... |
ACH2034/mips-assembly/array.asm | vitormrts/si-each-usp | 1 | 164052 | ########## VECTOR
.text
.globl main
main:
li $a0,0 # inicia o total
la $a1,$vetor # aponta para o vetor
la $a2,0 # inicia o contador
loop:
ld $a3,($a1) # carrega o valor apontado pelo a1 para dentro do $a3
... |
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0xca.log_21829_252.asm | ljhsiun2/medusa | 9 | 1497 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x14470, %rbx
nop
nop
nop
xor $2161, %rdx
mov (%rbx), %r14d
nop
nop
nop
nop
nop
xor $16215, %r12
lea addresses_WT_ht+0xdc90, %r11
no... |
oeis/015/A015183.asm | neoneye/loda-programs | 11 | 18902 | <gh_stars>10-100
; A015183: Sum of (Gaussian) q-binomial coefficients for q=-16.
; Submitted by <NAME>
; 1,2,-13,484,54229,31827398,-56799627337,533861499881896,15248101644637051801,2292948178255678956694922,-1047836980355690810689170063493,2521121088203661718431826043956531564,18433748144879610463916823544633620321231... |
TotalParserCombinators/Derivative/Definition.agda | nad/parser-combinators | 1 | 3374 | <gh_stars>1-10
------------------------------------------------------------------------
-- Brzozowski-style derivatives of parsers
------------------------------------------------------------------------
module TotalParserCombinators.Derivative.Definition where
open import Category.Monad
open import Codata.Musical.No... |
Week_7/14 - Week7_dec_1.asm | iamruveyda/KBU-Mikro | 1 | 20215 | <reponame>iamruveyda/KBU-Mikro<gh_stars>1-10
.model small
.data
.code
main proc
mov ax,1010H
dec al
endp
end main |
ASM/src/timers.asm | Edos512/OoT-RandomizerNoER | 344 | 179008 | <gh_stars>100-1000
disable_trade_timers:
sw r0, 0x753C(at) ; displaced
lbu at, DISABLE_TIMERS
beqz at, @@return
la at, GLOBAL_CONTEXT
lhu at, 0x1D2C(at)
andi at, at, 0x00C0 ; temp switch flags 0x16 & 0x17
bnez at, @@return ; don't disable timers during collapse seq... |
untested/x64/mulStuff.asm | GabrielRavier/Generic-Assembly-Samples | 0 | 3228 | global _isMulOk
global _saturatedMul
segment .text align=16
_isMulOk:
test esi, esi
je .return1
test edi, edi
je .return1
mov eax, edi
mul esi
setno al
ret
align 16
.return1:
mov eax, 1
ret
align 16
_saturatedMul:
test esi, esi
je .doMul
test edi, edi
je .doMul
mov eax, edi
mul e... |
gcc-gcc-7_3_0-release/gcc/ada/exp_sel.adb | best08618/asylo | 7 | 12986 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/ada/exp_sel.adb<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS ... |
programs/oeis/327/A327917.asm | neoneye/loda | 22 | 244404 | ; A327917: Triangle T read by rows: T(k, n) = A(k-n, k) with the array A(k, n) = F(2*k+n) = A000045(2*k+n), for k >= 0 and n >= 0.
; 0,1,1,3,2,1,8,5,3,2,21,13,8,5,3,55,34,21,13,8,5,144,89,55,34,21,13,8,377,233,144,89,55,34,21,13,987,610,377,233,144,89,55,34,21,2584,1597,987,610,377,233,144,89,55,34,6765,4181,2584,1597,... |
drivers/drivers-rfm69.ads | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 1455 | <reponame>ekoeppen/MSP430_Generic_Ada_Drivers
with Drivers.Text_IO;
with HAL;
generic
with package Chip_Select is new HAL.Pin (<>);
with package IRQ is new HAL.Pin (<>);
with package SPI is new HAL.SPI (<>);
AES_Enabled : Boolean := False;
Packet_Size : Unsigned_8 := 64;
Frequency : Unsigned_32;
pa... |
oeis/128/A128174.asm | neoneye/loda-programs | 11 | 241682 | ; A128174: Transform, (1,0,1,...) in every column.
; Submitted by <NAME>(m3)
; 1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0
lpb $0
add $1,1
sub $0,$1
lpe
sub $1... |
programs/oeis/116/A116568.asm | neoneye/loda | 22 | 97523 | <filename>programs/oeis/116/A116568.asm
; A116568: Difference between n and the absolute value of the difference between number of nonprimes not exceeding n and number of primes not exceeding n.
; 0,2,2,4,4,6,6,8,8,8,10,10,12,12,12,12,14,14,16,16,16,16,18,18,18,18,18,18,20,20,22,22,22,22,22,22,24,24,24,24,26,26,28,28,2... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/round.asm | meesokim/z88dk | 0 | 29683 | <gh_stars>0
SECTION code_fp_math48
PUBLIC _round
EXTERN cm48_sdcciy_round
defc _round = cm48_sdcciy_round
|
Palmtree.Math.Core.Implements/vs_build/x86_Release/pmc_equals.asm | rougemeilland/Palmtree.Math.Core.Implements | 0 | 21095 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
TITLE Z:\Sources\Lunor\Repos\rougemeilland\Palmtree.Math.Core.Implements\Palmtree.Math.Core.Implements\pmc_equals.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
PUBLIC _Initialize_Equals
PUBLIC _P... |
src/z80asm/dev/z80asm_lib/adc_hl_hl.asm | jg1uaa/z88dk | 2 | 164148 | ; Substitute for the z80 adc hl,hl instruction
; CPU Min T Max T
; 8080 110 110
; 8085 111 111
; gbz80 84 84
; r2k 4 4
; z180 10 10
; z80 15 15
; z80n 15 15
SECTION code_crt0_sccz80
PUBLIC __z80asm__adc_hl_hl
__z80asm__adc_hl_hl:
push de
IF __CPU_INTEL... |
src/logic.asm | rondnelson99/vcs-raycast | 0 | 1214 | .include "defines.asm"
DoLogic:
; Enable VBLANK again
lda #2
sta VBLANK
; 30 lines of overscan
ldx #30
LVOver sta WSYNC
dex
bne LVOver
; Enable VBLANK (disable output)
lda #2
sta VBLANK
; At the beginning of the frame we set the VSYNC bit...
lda #2
sta VSYNC
; And hold it on for 3 scanlines...
sta ... |
examples/hello-world/hello-world.asm | egeldenhuys/cos284 | 2 | 11320 | <gh_stars>1-10
segment .data
hello_string: db "Hello World!", 0x0a ; 0x0a is a new line character
hello_string_len: equ $ - hello_string ; $ is here
segment .text
global _start
_start:
mov eax,1 ; sys_write
mov edi,1 ; std out
mov edx,hello_string_len ; The number of characters
lea rsi,[hello... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0xca_notsx.log_21829_1245.asm | ljhsiun2/medusa | 9 | 98674 | <filename>Transynther/x86/_processed/NC/_zr_/i3-7100_9_0xca_notsx.log_21829_1245.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xa522, %rsi
lea addresses_WC_ht+0xd73e, %rdi
nop
nop
sub $3163, %r13
mov $4, %rcx
rep movsb... |
src/third_party/nasm/travis/test/br978756.asm | Mr-Sheep/naiveproxy | 2,219 | 97107 | <gh_stars>1000+
[bits 64]
movntdqa xmm1, oword [rsi]
movlpd xmm2, qword [rdi]
movlpd xmm2, [rdi]
movlpd qword [rdi], xmm2
movlpd [rdi], xmm2
|
applet/aide/source/editors/aide-editor-of_object.adb | charlie5/aIDE | 3 | 15060 | with
aIDE.GUI,
glib.Error,
gtk.Builder,
gtk.Handlers;
with Ada.Text_IO; use Ada.Text_IO;
package body aIDE.Editor.of_object
is
use Gtk.Builder,
Glib,
glib.Error;
function on_name_Entry_leave (the_Entry : access Gtk_Entry_Record'Class;
... |
src/main/antlr4/fr/bananasmoothii/scriptcommands/core/antlr4parsing/Permission.g4 | bananasmoothii/ScriptCommands | 5 | 6369 | /*
* Copyright 2020 ScriptCommands
*
* 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 applica... |
os.asm | HUSKI3/Yokai | 0 | 240366 | <reponame>HUSKI3/Yokai
[bits 16]
[org 0x7c00]
bootloader_entry:
xor ax,ax
mov ds,ax
mov es,ax
mov ah, 0x02
mov al, 0x10
mov dl, 0x80
mov ch, 0
mov dh, 0
mov cl, 2
mov bx, kernel_entry
int 0x13
cli
cld
jmp kernel_entry
times (510 - ($ - $$)) db 0x00
dw 0xAA55
kernel_entry:
call ... |
programs/oeis/290/A290114.asm | neoneye/loda | 22 | 19980 | ; A290114: Decimal representation of the diagonal from the origin to the corner of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 643", based on the 5-celled von Neumann neighborhood.
; 1,3,5,11,23,47,95,191,383,767,1535,3071,6143,12287,24575,49151,98303,196607,393215,786431,1572863... |
test/succeed/InstanceArguments.agda | larrytheliquid/agda | 0 | 15729 | module InstanceArguments where
postulate A₁ A₂ B : Set
f₁ : {{a : A₁}} → B
f₂ : {{a : A₂}} → B
a₁ : A₁
-- resolve from signature
test₁ : B
test₁ = f₁
-- resolve from context
test₂ : {{a : A₂}} → B
test₂ = f₂
postulate F : Set → Set
fA₁ : F A₁
fA₂ : F A₂
f₃... |
oeis/125/A125026.asm | neoneye/loda-programs | 11 | 240226 | <filename>oeis/125/A125026.asm
; A125026: Triangle read by rows: T(n,k) = k*binomial(n,k) + binomial(n-1,k) (1 <= k <= n).
; Submitted by <NAME>
; 1,3,2,5,7,3,7,15,13,4,9,26,34,21,5,11,40,70,65,31,6,13,57,125,155,111,43,7,15,77,203,315,301,175,57,8,17,100,308,574,686,532,260,73,9,19,126,444,966,1386,1344,876,369,91,10,... |
DE2Botv3Fall16/InterruptsExample.asm | DE5Amigos/CleanDE2Project | 0 | 16030 | <gh_stars>0
; InterruptsExample.asm
; Created by <NAME>
; (no copyright applied; edit freely, no attribution necessary)
; This program does basic initialization of the DE2Bot
; and provides an example of SCOMP's interrupt system.
; Section labels are for clarity only.
;***********************************************... |
legend-engine-language-pure-dsl-data-space/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/DataSpaceParserGrammar.g4 | dave-wathen/legend-engine | 32 | 2108 | parser grammar DataSpaceParserGrammar;
import CoreParserGrammar;
options
{
tokenVocab = DataSpaceLexerGrammar;
}
// -------------------------------------- IDENTIFIER --------------------------------------
identifier: VALID_STRING | STRING
| STEREOTYPES | TAGS
... |
libsrc/_DEVELOPMENT/error/z80/_errno.asm | jpoikela/z88dk | 640 | 170895 |
SECTION bss_clib
SECTION bss_error
PUBLIC _errno
_errno: defw 0
|
libsrc/_DEVELOPMENT/arch/zx/display/c/sdcc_iy/zx_saddr2cy_fastcall.asm | meesokim/z88dk | 0 | 82650 | <reponame>meesokim/z88dk
; uint zx_saddr2cy_fastcall(void *saddr)
SECTION code_arch
PUBLIC _zx_saddr2cy_fastcall
_zx_saddr2cy_fastcall:
INCLUDE "arch/zx/display/z80/asm_zx_saddr2cy.asm"
|
programs/oeis/219/A219839.asm | neoneye/loda | 22 | 176167 | <reponame>neoneye/loda
; A219839: a(n) is the number of odd integers in 2..(n-1) that have a common factor (other than 1) with n.
; 0,0,0,0,0,1,0,0,1,1,0,2,0,1,3,0,0,3,0,2,4,1,0,4,2,1,4,2,0,7,0,0,6,1,5,6,0,1,7,4,0,9,0,2,10,1,0,8,3,5,9,2,0,9,7,4,10,1,0,14,0,1,13,0,8,13,0,2,12,11,0,12,0,1,17,2,8,15,0,8,13,1,0,18,10,1,15,... |
ftdoc url scheme and FTCopyAsURL/FTCopyAsURL.applescript | derekvan/txtquery-tools | 1 | 2177 | property pTitle : "Copy FT selection as ftdoc:// url"
property pVer : "0.02"
property pAuthor : "<NAME>"
property pDescription : "
Copies the selected text in FoldingText as an ftdoc:// URL
linking back to the current document, filter state,
and (if still identifiable by nodepath, search string or line number), s... |
programs/oeis/128/A128219.asm | neoneye/loda | 22 | 27177 | <reponame>neoneye/loda
; A128219: A000012 * A127701. a(1) = 1, a(2) = 2, a(3) = 2; by rows, n-1 terms of 2, 3, 4...followed by "n".
; 1,2,2,2,3,3,2,3,4,4,2,3,4,5,5,2,3,4,5,6,6,2,3,4,5,6,7,7,2,3,4,5,6,7,8,8,2,3,4,5,6,7,8,9,9,2,3,4,5,6,7,8,9,10,10,2,3,4,5,6,7,8,9,10,11,11,2,3,4,5,6,7,8,9,10,11,12,12,2,3,4,5,6
lpb $0
a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.