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 |
|---|---|---|---|---|
programs/oeis/128/A128863.asm | neoneye/loda | 22 | 101467 | <gh_stars>10-100
; A128863: a(0)=1. For n >= 1, a(n) = number of positive divisors of (n+a(n-1)).
; 1,2,3,4,4,3,3,4,6,4,4,4,5,6,6,4,6,2,6,3,2,2,8,2,4,2,6,4,6,4,4,4,9,8,8,2,4,2,8,2,8,3,6,3,2,2,10,4,6,4,8,2,8,2,8,6,4,2,12,2,4,4,8,2,8,2,6,2,8,4,4,6,8,5,2,4,10,4,4,2,4,4,4,4,8,4,12,6,4,4,4,4,12,8,8,2,6,2,9,12
add $0,1
mov ... |
programs/oeis/198/A198442.asm | neoneye/loda | 22 | 89106 | <reponame>neoneye/loda
; A198442: Number of sequences of n coin flips that win on the last flip, if the sequence of flips ends with (1,1,0) or (1,0,0).
; 0,0,2,3,6,8,12,15,20,24,30,35,42,48,56,63,72,80,90,99,110,120,132,143,156,168,182,195,210,224,240,255,272,288,306,323,342,360,380,399,420,440,462,483,506,528,552,575,... |
src/Univalence-axiom/Isomorphism-implies-equality.agda | nad/equality | 3 | 13499 | ------------------------------------------------------------------------
-- A large class of algebraic structures satisfies the property that
-- isomorphic instances of a structure are equal (assuming univalence)
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/gnatname.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 24707 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
library_dir_dir/system_library_unbundled/source/pc_mowse_.s.archive/pe_entry.asm | dancrossnyc/multics | 65 | 242744 | ; ***********************************************************
; * *
; * Copyright, (C) Honeywell Bull Inc., 1987 *
; * *
; * Copyright, (C) Honeywell Information Systems Inc., 1986 *
; * ... |
oeis/171/A171415.asm | neoneye/loda-programs | 11 | 178926 | ; A171415: a(n) = 99*a(n-1) - a(n-2); a(0) = 0, a(1) = 1.
; Submitted by <NAME>(s1.)
; 0,1,99,9800,970101,96030199,9506019600,940999910201,93149485090299,9220858024029400,912771794893820301,90355186836464180399,8944250725015060039200,885390466589654479700401
mov $1,1
lpb $0
sub $0,1
add $3,$1
add $2,$3
mov $1,... |
libsrc/_DEVELOPMENT/stdlib/z80/asm_strtof.asm | jpoikela/z88dk | 640 | 18255 | <filename>libsrc/_DEVELOPMENT/stdlib/z80/asm_strtof.asm
; ===============================================================
; Jun 2015
; ===============================================================
;
; float strtof(const char *nptr, char **endptr)
;
; Read float from string per C11.
;
; An alias for strtod() since t... |
src/Prelude/Int/Core.agda | L-TChen/agda-prelude | 111 | 13600 |
module Prelude.Int.Core where
open import Prelude.Unit
open import Prelude.Empty
open import Prelude.Nat
open import Prelude.Number
open import Prelude.Semiring
open import Prelude.Ord
open import Agda.Builtin.Int public
neg : Nat → Int
neg zero = pos zero
neg (suc n) = negsuc n
{-# INLINE neg #-}
-- Integers a... |
test/include/gmp-6.1.2/mpn/popcount.asm | kcpikkt/apa | 43 | 84631 | <filename>test/include/gmp-6.1.2/mpn/popcount.asm
dnl AMD64 mpn_popcount -- population count.
dnl Copyright 2008, 2010-2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of eith... |
programs/oeis/213/A213779.asm | karttu/loda | 0 | 166612 | <reponame>karttu/loda<gh_stars>0
; A213779: Principal diagonal of the convolution array A213778.
; 1,6,15,33,58,97,146,214,295,400,521,671,840,1043,1268,1532,1821,2154,2515,2925,3366,3861,4390,4978,5603,6292,7021,7819,8660,9575,10536,11576,12665,13838,15063,16377,17746,19209,20730,22350,24031,25816,27665,29623,31648,33... |
P6/data_P6/testpoint/testpoint52.asm | alxzzhou/BUAA_CO_2020 | 1 | 24475 | <reponame>alxzzhou/BUAA_CO_2020
ori $1, $0, 6
ori $2, $0, 2
ori $3, $0, 11
ori $4, $0, 3
sw $2, 0($0)
sw $3, 4($0)
sw $1, 8($0)
sw $4, 12($0)
sw $2, 16($0)
sw $4, 20($0)
sw $3, 24($0)
sw $1, 28($0)
sw $3, 32($0)
sw $4, 36($0)
sw $3, 40($0)
sw $3, 44($0)
sw $2, 48($0)
sw $1, 52($0)
sw $2, 56($0)
sw $2... |
oeis/016/A016237.asm | neoneye/loda-programs | 11 | 104592 | ; A016237: Expansion of 1/((1-x)(1-5x)(1-10x)).
; Submitted by <NAME>(s1)
; 1,16,191,2066,21441,218316,2202691,22124566,221733941,2219780816,22210015191,222161187066,2221917046441,22220696343316,222214592827691,2222184075249566,22222031487358941,222221268547905816,2222217453850640191,22222198380364312066
mov $2,1
lpb ... |
data/pokemon/base_stats/sinnoh/chatot.asm | Dev727/ancientplatinum | 0 | 160238 | db 0 ; 441 DEX NO
db 76, 65, 45, 91, 92, 42
; hp atk def spd sat sdf
db NORMAL, FLYING ; type
db 30 ; catch rate
db 107 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/sinnoh/chatot/front.... |
src/kernel/arch/i686/interrupt.asm | shadow-paw/bluemoon | 3 | 241746 | cpu P4
bits 32
%include "kernel.inc"
global idt_init, idt_set
extern INT_00, INT_01, INT_02, INT_03, INT_04, INT_05, INT_06, INT_07
extern INT_08, INT_0A, INT_0B, INT_0C, INT_0D, INT_0E, INT_0F
extern INT_10, INT_11, INT_12, INT_13
section .bss
; ----------------------------------------------
align 4096
idt ... |
programs/oeis/307/A307253.asm | karttu/loda | 0 | 175113 | ; A307253: Number of triangles larger than size=1 in a matchstick-made hexagon with side length n.
; 0,0,14,62,166,346,624,1020,1556,2252,3130,4210,5514,7062,8876,10976,13384,16120,19206,22662,26510,30770,35464,40612,46236,52356,58994,66170,73906,82222,91140,100680,110864,121712,133246,145486,158454,172170,186656,20193... |
alloy4fun_models/trashltl/models/18/BhXXHiYhAyDeF2gvv.als | Kaixi26/org.alloytools.alloy | 0 | 896 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idBhXXHiYhAyDeF2gvv_prop19 {
always (all f:File| f in Protected until f in Trash)
}
pred __repair { idBhXXHiYhAyDeF2gvv_prop19 }
check __repair { idBhXXHiYhAyDeF2gvv_prop19 <=> prop19o } |
src/Examples/Max.agda | larrytheliquid/dtgp | 9 | 8536 | <filename>src/Examples/Max.agda
module Examples.Max where
open import Data.Empty
open import Data.Bool
open import Data.Nat
open import Data.Product
open import Data.List hiding (sum)
open import Data.Vec hiding (init)
open import Relation.Nullary
open import Relation.Binary.PropositionalEquality
import DTGP
data Word... |
receiver/src/receiver.adb | damaki/dw1000-rssi-tester | 2 | 10158 | -------------------------------------------------------------------------------
-- Copyright (c) 2017 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- copy of this software and associated documentation files (the "Software"),
-- to deal in the Software without restriction, inc... |
programs/oeis/003/A003261.asm | neoneye/loda | 22 | 16407 | ; A003261: Woodall (or Riesel) numbers: n*2^n - 1.
; 1,7,23,63,159,383,895,2047,4607,10239,22527,49151,106495,229375,491519,1048575,2228223,4718591,9961471,20971519,44040191,92274687,192937983,402653183,838860799,1744830463,3623878655,7516192767,15569256447,32212254719,66571993087,137438953471,283467841535,584115552255... |
oeis/097/A097509.asm | neoneye/loda-programs | 11 | 86128 | ; A097509: a(n) is the number of times that n occurs as floor(k * sqrt(2)) - k.
; Submitted by <NAME>
; 3,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,3,2,2,3,2,3,2,2,3,2,3,2,3,2
seq $0,144611 ;... |
nasm/prime_test.asm | scoraig52/code | 2 | 87505 | // https://www.codewars.com/kata/5262119038c0985a5b00029f/solutions/nasm
|
oeis/055/A055868.asm | neoneye/loda-programs | 11 | 178491 | <reponame>neoneye/loda-programs
; A055868: Fifth column of triangle A055864.
; Submitted by <NAME>
; 0,0,0,0,625,9072,153664,2985984,65610000,1610510000,43717791744,1301153248512,42150011228416,1476840093750000,55662776156160000,2246042996417036288,96619713808095645696,4414553991933897025584
mov $1,$0
add $0,1
sub $1,... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64109f.ada | best08618/asylo | 7 | 26622 | <reponame>best08618/asylo<gh_stars>1-10
-- C64109F.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 docume... |
Source/Test/Case/HookSetSuccess/LoopJumpAssist.asm | samuelgr/Hookshot | 4 | 26304 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Hookshot
; General-purpose library for injecting DLLs and hooking function calls.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Authored by <NAME>
; Copyright (c) 2019-2021
;;;;;;;;;;;;;;;;;;;;;;;;;;;... |
src/regex-debug.ads | skordal/ada-regex | 2 | 30536 | <filename>src/regex-debug.ads<gh_stars>1-10
-- Ada regular expression library
-- (c) <NAME> 2020 <<EMAIL>>
-- Report bugs and issues on <https://github.com/skordal/ada-regex>
with Regex.State_Machines;
with Regex.Syntax_Trees;
package Regex.Debug is
-- Prints the parse tree for the regular expression:
proc... |
src/Categories/Category/Monoidal/Instance/Rels.agda | TOTBWF/agda-categories | 1 | 3563 | {-# OPTIONS --without-K --safe #-}
module Categories.Category.Monoidal.Instance.Rels where
-- The category of relations is cartesian and (by self-duality) co-cartesian.
-- Perhaps slightly counter-intuitively if you're used to categories which act
-- like Sets, the product acts on objects as the disjoint union.
open ... |
src/counters/protected_counters.ads | jhumphry/auto_counters | 5 | 29769 | -- protected_counters.ads
-- Task safe counters for use with smart_ptrs
-- Copyright (c) 2016, <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all cop... |
HU - Microprocessor Lab/Assignment 3/test.asm | imzaaat/assembly-projects | 1 | 81660 | .MODEL SMALL
.STACK 32
.DATA
PUBLIC DATAx
PUBLIC Result
DATAx DW 0ABCDh
Result DB ?
.CODE
EXTRN FindZeros:FAR
EXTRN FindOnes:FAR
EXTRN EvenOdd:FAR
CALL FindZeros
CALL Display
MOV AH, 0Eh
MOV AL, 0Ah
INT 10h
CALL FindOnes
CALL Display
MOV AH, 0Eh
MOV AL, 0Ah
INT 10h
CALL EvenOdd... |
Transynther/x86/_processed/P/_zr_/i7-8650U_0xd2.log_1_1140.asm | ljhsiun2/medusa | 9 | 173487 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/P/_zr_/i7-8650U_0xd2.log_1_1140.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xe7ff, %rbp
nop
dec %r12
mov (%rbp), %r11
nop
nop
nop
mfence
lea... |
DokuWikiLinksGrammar.g4 | elena19m/Doku2LaTeX | 0 | 6163 | <reponame>elena19m/Doku2LaTeX
/*
* Author: <NAME>
* Faculty of Automatic Control and Computer Science,
* University POLITHENICA of Bucharest
*/
/*
* This is a grammar for DokuWiki internal & external links
* Syntax:
* [[external_link]]
* [[internal_pagename]]
* [[link | Text]]
* [[some:namespaces]]
* [[synt... |
testdata/unit/bcd_add_sub_test.asm | tehmaze/mos65xx | 3 | 94839 | <reponame>tehmaze/mos65xx<filename>testdata/unit/bcd_add_sub_test.asm<gh_stars>1-10
; Tests from http://www.6502.org/tutorials/decimal_mode.html
;
; After the test, 0x87 0x91 0x29 0x27 0x34 0x73 0x41 0x46 0x05 should be on the stack
;
; Some CLC/SEC instructions are commented out to test that the carry is
; correctly ... |
go/GoLang.g4 | helipilot50/language-parsers | 4 | 693 | grammar GoLang;
@header {
package pl.project13.jo.antlr;
}
@members {
int WHITESPACE = 1;
int COMMENTS = 2;
}
sourceFile: packageDeclaration
importDeclaration*
funcDeclaration*;
packageDeclaration : PACKAGE Identifier
;
importDeclaration : IMPORT StringLiteral
... |
src/math.asm | Amjad50/rtc3test | 19 | 160692 | <reponame>Amjad50/rtc3test<gh_stars>10-100
Random:
; hRandomState = hRandomState * 73 + 29; returned in a
push hl
ldh a, [hRandomState]
ld l, a
add a, a
add a, a
add a, a
add a, l
add a, a
add a, a
add a, a
add a, l
add a, 29
pop hl
ldh [hRandomState], a
ret
Multiply:
; bc = b * c
; preserves all oth... |
oeis/053/A053138.asm | neoneye/loda-programs | 11 | 19333 | ; A053138: Binomial coefficients C(2*n+9,9).
; 1,55,715,5005,24310,92378,293930,817190,2042975,4686825,10015005,20160075,38567100,70607460,124403620,211915132,350343565,563921995,886163135,1362649145,2054455634,3042312350,4431613550,6358402050,8996462475,12565671261,17341763505,23667689815,31966749880,42757703560,56672... |
Cubical/Algebra/CommAlgebra/FPAlgebra.agda | gmagaf/cubical | 0 | 16573 | <reponame>gmagaf/cubical
{-
Finitely presented algebras.
An R-algebra A is finitely presented, if there merely is an exact sequence
of R-modules:
(f₁,⋯,fₘ) → R[X₁,⋯,Xₙ] → A → 0
(where f₁,⋯,fₘ ∈ R[X₁,⋯,Xₙ])
-}
{-# OPTIONS --safe #-}
module Cubical.Algebra.CommAlgebra.FPAlgebra where
open import Cubical.Fo... |
arch/x86/boot/loader.asm | 31core/illumi | 1 | 242723 | <gh_stars>1-10
;loader.asm
org 0x70000
KERNEL_ADDR equ 0x100000 ;内核地址
KERNEL_SIZE equ 65 ;内核大小(扇区)
[bits 16]
mov ax, 0x07e0
mov ds, ax
mov dword [0], 0 ;保留段
mov dword [4], 0
mov dword [8], 0x0000ffff ;4GB,可执行段
mov dword [12], 0x00cf9a00
mov dword [16], 0x0000ffff ;4GB,可读写段
mov dword [20], 0x... |
JSL.g4 | BenPH/antlr | 0 | 7261 | grammar JSL;
script: expr_sequence? EOF;
expr_sequence: expr ((';' expr) | ';')*;
expr:
func_call
| expr '[' (expr (',' expr)?)? ']'
| (func_call | paren_expr) ':' (name | func_call)
| expr ('++' | '--')
| <assoc = right> expr '^' expr
| ('-' | '!') expr
| expr '`'
| expr ('>>' | '>?') expr
| expr ('*' | '/... |
libsrc/_DEVELOPMENT/arch/cpm/c/sdcc_iy/cpm_bdos.asm | jpoikela/z88dk | 640 | 85239 | <reponame>jpoikela/z88dk
; int cpm_bdos(unsigned int func,unsigned int arg)
SECTION code_clib
SECTION code_arch
PUBLIC _cpm_bdos
EXTERN asm_cpm_bdos
_cpm_bdos:
pop af
pop bc
pop de
push de
push bc
push af
jp asm_cpm_bdos
|
oeis/172/A172117.asm | neoneye/loda-programs | 11 | 243710 | ; A172117: a(n) = n*(n+1)*(20*n-17)/6.
; Submitted by <NAME>(s1.)
; 0,1,23,86,210,415,721,1148,1716,2445,3355,4466,5798,7371,9205,11320,13736,16473,19551,22990,26810,31031,35673,40756,46300,52325,58851,65898,73486,81635,90365,99696,109648,120241,131495,143430,156066,169423,183521,198380,214020,230461,247723,265826,2847... |
libsrc/_DEVELOPMENT/adt/p_list/c/sccz80/p_list_insert_callee.asm | meesokim/z88dk | 0 | 92253 |
; void *p_list_insert(p_list_t *list, void *list_item, void *item)
SECTION code_adt_p_list
PUBLIC p_list_insert_callee
p_list_insert_callee:
pop af
pop de
pop hl
pop bc
push af
INCLUDE "adt/p_list/z80/asm_p_list_insert.asm"
|
tests/roms/roberto.asm | ValerioMerli/aiv_gb | 0 | 6946 | <reponame>ValerioMerli/aiv_gb
section "code", rom0
nop
nop
ld bc, var000
ld a, 17
ld [bc], a
ld h, b
ld l, c
ld d, [hl]
ld a, 22
add a, d
cp 39
jr z, success
halt
success:
ld e, d
halt
section "ram", wram0
var000:
ds 1 |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1982.asm | ljhsiun2/medusa | 9 | 15624 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xc42f, %rax
nop
nop
xor %r8, %r8
mov $0x6162636465666768, %rdx
movq %rdx, %xmm4
vmovups %ymm4, (%rax)
nop
nop
nop
nop
inc %r11
lea addresses_A_ht+0xfa0f, %r14
nop
no... |
scripts_br/save_screen.asm | hansbonini/smd_beyondoasis | 2 | 17262 | <filename>scripts_br/save_screen.asm<gh_stars>1-10
origin $003F4000
text_savescreen:
db "Novo Jogo"
db ENDSTRING |
Transynther/x86/_processed/NC/_ht_un_/i9-9900K_12_0xa0.log_21829_614.asm | ljhsiun2/medusa | 9 | 9844 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x14c6f, %r9
nop
nop
nop
and %rax, %rax
mov (%r9), %edi
nop
nop
nop
nop
cmp $61443, %r15
lea addresses_D_ht+0x11fdf, %r8
nop
and $15646, %r11
mov (%r8), %r9
nop
nop
nop... |
spinny.asm | somerandomdev49/Simple_ISA | 1 | 241444 | #!/usr/bin/sisa16_asm -run
.ZERO_STACK_POINTER: astp;popa;
section 0x40000;
:ascii_spinny:
..asciz:-\|/
.ascii_spinny_len:4
.ITER_REGION:3
..(ITER_REGION):
bytes 0,0,0,0;
.ld_iter: farllda %&@&%
.ld_iterb: farlldb %&@&%
.st_iter: farstla %&@&%
//..include"libc.hasm"
..include"libc_pre.hasm"
..(2):
..dinclude"... |
examples/racing/src/main.adb | Fabien-Chouteau/GESTE | 13 | 3278 | <filename>examples/racing/src/main.adb
with Game;
procedure Main is
begin
Game.Game_Loop;
end Main;
|
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_1895.asm | ljhsiun2/medusa | 9 | 166352 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_1895.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x195ab, %rbp
nop
nop
add %rcx, %rcx
mov $0x61626364656667... |
llvm-2.9/test/FrontendAda/global_constant.adb | DependableSystemsLab/Trident | 5 | 20842 | <reponame>DependableSystemsLab/Trident
-- RUN: %llvmgcc -S %s -I%p/Support
package body Global_Constant is
begin
raise An_Error;
end;
|
zendesk-talk-availability/zendesk-talk-available-phone.scpt | itsolver/automation | 1 | 55 | <filename>zendesk-talk-availability/zendesk-talk-available-phone.scpt
display notification with title "Zendesk Talk availability" subtitle "Set to phone"
do shell script "#!/bin/sh
#Your Zendesk URL has two parts: a subdomain name you chose when you set up your account, followed by zendesk.com (for example: mycompany.z... |
oeis/245/A245417.asm | neoneye/loda-programs | 11 | 2669 | <reponame>neoneye/loda-programs<filename>oeis/245/A245417.asm
; A245417: Number of nonnegative integers with property that their base 7/3 expansion (see A024640) has n digits.
; Submitted by <NAME>
; 7,14,28,70,161,378,882,2058,4802,11200,26138,60984,142296,332024,774725,1807694,4217948,9841881,22964389,53583572,125028... |
data/phone/text/wilton_overworld.asm | Dev727/ancientplatinum | 28 | 243061 | <reponame>Dev727/ancientplatinum
WiltonAskNumber1Text:
text "Eh, our battle was"
line "fun, I'd say…"
para "When I'm fishing,"
line "I sometimes snag"
para "items that people"
line "have dropped."
para "Do you want them?"
line "What's the number?"
done
WiltonAskNumber2Text:
text "If I snag an item"
line ... |
llvm-gcc-4.2-2.9/gcc/ada/styleg.ads | vidkidz/crossbridge | 1 | 16840 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
deleteMail.applescript | meconlen/deleteMail | 1 | 4046 | set accountList to {"Akamai"}
set folderList to {¬
{accountName:"Gmail", mailboxName:"INBOX/stuff", staleDays:14}, ¬
{accountName:"Gmail", mailboxName:"INBOX/things", staleDays:14}, ¬
}
set currentDate to current date
tell application "Mail"
repeat with curFolder in folderList
set curAccountName to the accountN... |
showVoxTrackInfo.applescript | tudorminator/search-on-youtube | 0 | 377 | <gh_stars>0
tell application "VOX"
-- set trackInfo to track & return & artist & " - " & album
set trackName to track
set trackArtist to artist
set trackAlbum to album
display notification trackAlbum with title trackName subtitle trackArtist
end tell |
shellcodes/32forkexecve.asm | therealdreg/drx_ptrace_shellcode_injector | 5 | 20323 | <reponame>therealdreg/drx_ptrace_shellcode_injector
; MIT License - Copyright 2020
; <NAME> aka Dreg - <EMAIL>
; -
; http://github.com/David-Reguera-Garcia-Dreg/ - http://www.fr33project.org/
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation f... |
helloworld.adb | crssnky/Ada | 0 | 22768 | <gh_stars>0
with Ada.Text_IO;
use Ada.Text_IO;
procedure helloworld is
begin
Put("Helloworld!");
end helloworld;
|
Driver/Video/VidCom/vidcomPutLine.asm | steakknife/pcgeos | 504 | 161861 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Video Drivers
FILE: vidcomPutLine.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
GBL VidPutLine Draw a bitmap scan lin... |
programs/oeis/290/A290721.asm | neoneye/loda | 22 | 167686 | ; A290721: a(n) = 4^n - n - 1.
; 2,13,60,251,1018,4089,16376,65527,262134,1048565,4194292,16777203,67108850,268435441,1073741808,4294967279,17179869166,68719476717,274877906924,1099511627755,4398046511082,17592186044393,70368744177640,281474976710631,1125899906842598
add $0,1
mov $1,4
pow $1,$0
sub $1,$0
sub $1,1
mov ... |
s1/sfx-original/SndC8 - Burning.asm | Cancer52/flamedriver | 9 | 244601 | SndC8_Burning_Header:
smpsHeaderStartSong 1
smpsHeaderVoice SndC8_Burning_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cPSG3, SndC8_Burning_PSG3, $00, $00
; PSG3 Data
SndC8_Burning_PSG3:
smpsPSGvoice $00
smpsPSGform $E7
dc.b nD3, $25
smpsStop
; Song seems to... |
tp/libs/asmlib/strspn64.asm | pg83/zm | 0 | 20194 | %include "defs.asm"
;************************* strspn64.asm ************************************
; Author: <NAME>
; Date created: 2011-07-19
; Last modified: 2011-07-19
; Description:
; Faster version of the standard strspn and strcspn functions:
; size_t A_strspn (const char * str, const ch... |
libsrc/math/daimath32/c/asm/___dai32_xasin.asm | ahjelm/z88dk | 640 | 245193 | <filename>libsrc/math/daimath32/c/asm/___dai32_xasin.asm
SECTION code_fp_dai32
PUBLIC ___dai32_xasin
EXTERN xasin
defc ___dai32_xasin = xasin
|
programs/oeis/142/A142241.asm | neoneye/loda | 22 | 160470 | <filename>programs/oeis/142/A142241.asm
; A142241: a(n) = 24*n + 14.
; 14,38,62,86,110,134,158,182,206,230,254,278,302,326,350,374,398,422,446,470,494,518,542,566,590,614,638,662,686,710,734,758,782,806,830,854,878,902,926,950,974,998,1022,1046,1070,1094,1118,1142,1166,1190,1214,1238,1262,1286,1310,1334,1358,1382,1406,... |
projects/08/FunctionCalls/StaticsTest/StaticsTest.asm | agrim334/nand2tetris | 0 | 170102 | @256
D=A
@R0
M=D
@RETSys.init0
D=A
@R0
A=M
M=D
@R0
M=M+1
@R1
D=M
@R0
A=M
M=D
@R0
M=M+1
@R2
D=M
@R0
A=M
M=D
@R0
M=M+1
@R3
D=M
@R0
A=M
M=D
@R0
M=M+1
@R4
D=M
@R0
A=M
M=D
@R0
M=M+1
@R0
D=M
@0
D=D-A
@5
D=D-A
@R2
M=D
@R0
D=M
@R1
M=D
@Sys.init
D;JMP
(RETSys.init0)
(Sys.init)
@6
D=A
@R0
A=M
M=D
@R0
M=M+1
@8
D=A
@R0
A... |
LEDandKeyTesting/device_support/F2806x_usDelay.asm | clough42/f28069m-experiments | 0 | 167438 | ;// TI File $Revision: /main/3 $
;// Checkin $Date: January 4, 2011 10:10:51 $
;//###########################################################################
;//
;// FILE: F2806x_usDelay.asm
;//
;// TITLE: Simple delay function
;//
;// DESCRIPTION:
;//
;// This is a simple delay function that can be used to inse... |
libsrc/_DEVELOPMENT/string/c/sccz80/strupr.asm | Frodevan/z88dk | 640 | 243251 | <reponame>Frodevan/z88dk
; char *strupr(char *s)
SECTION code_clib
SECTION code_string
PUBLIC strupr
EXTERN asm_strupr
defc strupr = asm_strupr
IF __CLASSIC && __CPU_GBZ80__
PUBLIC _strupr
_strupr:
ld hl,sp+2
ld a,(hl+)
ld h,(hl)
ld l,a
call asm_strupr
ld d,h
ld e,l
ret
ENDIF
; SDCC ... |
libsrc/_DEVELOPMENT/arch/zx/display/c/sdcc/zx_cxy2saddr_callee.asm | jpoikela/z88dk | 640 | 97781 |
; void *zx_cxy2saddr_callee(uchar x, uchar y)
SECTION code_clib
SECTION code_arch
PUBLIC _zx_cxy2saddr_callee
EXTERN asm_zx_cxy2saddr
_zx_cxy2saddr_callee:
pop hl
ex (sp),hl
jp asm_zx_cxy2saddr
|
programs/oeis/024/A024678.asm | neoneye/loda | 22 | 9424 | <reponame>neoneye/loda
; A024678: a(n) is the position of (prime(n+1) + prime(n+2))/2 in the ordered nonprimes.
; 2,3,5,7,9,11,13,17,20,23,27,29,31,35,40,43,46,50,52,55,59,63,69,74,76,78,80,82,90,98,102,105,110,115,118,123,127,131,136,139,144,149,151,153,159,170,177,179,181,185,188,193,200,205,210,213,216,220,222,227,2... |
oeis/330/A330505.asm | neoneye/loda-programs | 11 | 169178 | ; A330505: Expansion of e.g.f. Sum_{k>=1} arctanh(x^k).
; Submitted by <NAME>
; 1,2,8,24,144,960,5760,40320,524160,4354560,43545600,638668800,6706022400,99632332800,2092278988800,20922789888000,376610217984000,9247873130496000,128047474114560000,2919482409811968000,77852864261652480000
mov $2,$0
seq $0,2131 ; Sum of d... |
kernel/arch/riscv/trap.asm | tstree-oscomp2021/hecto-os | 2 | 26287 | # 我们将会用一个宏来用循环保存寄存器。这是必要的设置
.altmacro
.set REG_SIZE, 8 # 寄存器宽度对应的字节数
.set TRAP_FRAME_SIZE, 34 # TrapFrame 的大小
# 宏:将寄存器存到栈上
.macro SAVE_GP n
sd x\n, \n*8(sp)
.endm
# 宏:将寄存器从栈中取出
.macro LOAD_GP n
ld x\n, \n*8(sp)
.endm
.macro RESTORE_SYS_GP
.option push
.option norelax
1:
... |
gfx/pokemon/remoraid/anim.asm | Dev727/ancientplatinum | 28 | 245497 | <reponame>Dev727/ancientplatinum
frame 1, 05
frame 2, 10
frame 3, 10
endanim
|
src/fltk-widgets-menus.adb | micahwelf/FLTK-Ada | 1 | 24382 | <gh_stars>1-10
with
Interfaces.C.Strings,
Ada.Unchecked_Deallocation,
System;
use type
System.Address,
Interfaces.C.int,
Interfaces.C.unsigned_long,
Interfaces.C.Strings.chars_ptr;
package body FLTK.Widgets.Menus is
procedure menu_set_draw_hook
(W, D : in System.Addre... |
java-signature-antlr/src/main/antlr/Signature.g4 | viridiansoftware/java-signature-parser | 1 | 3573 | <gh_stars>1-10
//
// Copyright 2019 Viridian Software Ltd.
//
// 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 appl... |
alloy4fun_models/trashltl/models/16/eZ35RGd3fkQvRJYKo.als | Kaixi26/org.alloytools.alloy | 0 | 126 | open main
pred ideZ35RGd3fkQvRJYKo_prop17 {
all f: File |always f in Trash implies always f' not in File
}
pred __repair { ideZ35RGd3fkQvRJYKo_prop17 }
check __repair { ideZ35RGd3fkQvRJYKo_prop17 <=> prop17o } |
test/Succeed/PatternSynonymImports2.agda | shlevy/agda | 1,989 | 11103 | <reponame>shlevy/agda
module PatternSynonymImports2 where
open import PatternSynonyms hiding (test)
open import PatternSynonymImports
myzero' = z
myzero'' = myzero
list2 : List _
list2 = 1 ∷ []
test : ℕ → ℕ
test myzero = 0
test sz = 1
test (ss x) = x
|
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/rint.asm | jpoikela/z88dk | 640 | 100566 | <filename>libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/rint.asm
SECTION code_clib
SECTION code_fp_math48
PUBLIC _rint
EXTERN cm48_sdcciy_rint
defc _rint = cm48_sdcciy_rint
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_10232_1611.asm | ljhsiun2/medusa | 9 | 179551 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x12540, %rbp
clflush (%rbp)
nop
nop
nop
nop
inc %r14
mov (%rbp), %r13
nop
add $4344, %r14
lea addresses_WT_ht+0x18fb0, %rbx
nop
and $7757, %rsi
movw $0x6162, (%rbx)... |
test/Succeed/Issue892b.agda | redfish64/autonomic-agda | 0 | 8919 | <reponame>redfish64/autonomic-agda
-- {-# OPTIONS -v scope:20 #-}
module _ (X : Set) where
postulate
X₁ X₂ : Set
data D : Set where
d : D
module Q (x : D) where
module M1 (z : X₁) where
g = x
module M2 (y : D) (z : X₂) where
h = y
open M1 public
-- module Qd = Q d
-- This fails to ap... |
src/keystore-random.adb | thierr26/ada-keystore | 25 | 25798 | -----------------------------------------------------------------------
-- security-random -- Random numbers for nonce, secret keys, token generation
-- Copyright (C) 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except... |
POV/pov.asm | SREEHARIR/POV-Clock | 0 | 163832 | <gh_stars>0
_main:
;pov.c,17 :: void main(){
;pov.c,19 :: trisb=0;
CLRF TRISB+0
;pov.c,20 :: portb=0;
CLRF PORTB+0
;pov.c,21 :: TRISC.RC6 = 0x00; //TX pin set as output
BCF TRISC+0, 6
;pov.c,22 :: TRISC.RC7 = 0xFF; //RX pin set as input
BSF TRISC+0, 7
;pov.c,23 :: UAR... |
Library/GrObj/UI/uiHandleControl.asm | steakknife/pcgeos | 504 | 2803 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: uiHandleControl.asm
AUTHOR: <NAME>
METHODS:
Name Description
---- -----------
FUNCTIONS:
Scope Name Description
----- ---- ------... |
Categories/Functor.agda | p-pavel/categories | 1 | 8333 | {-# OPTIONS --universe-polymorphism #-}
module Categories.Functor where
open import Level
open import Relation.Binary using (IsEquivalence)
open import Relation.Binary.PropositionalEquality
using ()
renaming (_≡_ to _≣_)
open import Relation.Nullary using (¬_)
open import Data.Product using (Σ; _×_; ∃; proj₁)
open... |
drivers/pendulum_dae.adb | sciencylab/lagrangian-solver | 0 | 20592 | <reponame>sciencylab/lagrangian-solver
with Numerics, Ada.Text_IO, Chebyshev, Dense_AD, Dense_AD.Integrator;
use Numerics, Ada.Text_IO, Chebyshev;
procedure Pendulum_DAE is
use Int_IO, Real_IO, Real_Functions;
-----------------------------------------------
N : constant Nat := 2;
Nc : constant Nat := 1... |
smsq/sbas/cmptk.asm | olifink/smsqe | 0 | 99740 | <reponame>olifink/smsqe
; SBAS_CMPTK - SBASIC convert source to compiler tokens v1.01
;
; 2012-04-29 1.01 Fixed "for i=0 to a(0,0)" bug (MK)
section sbas
xdef sb_cmptk
xref sb_alwrk
xref sb_xpwrk
xref sb_cmneg
xref sb_setarr
xref sb_setpf
xref sb_ermess
xref sb_ernimp
include 'dev8_keys_err'
in... |
Hardware/SSD1289/SSD1289_DrawChar.asm | mr-sven/msp432p4111-hy32d-ssd1289-xpt2046 | 1 | 82243 | <gh_stars>1-10
; Copyright 2019 by <NAME>, see LICENSE.txt
;
; @file SSD1289_DrawChar.asm
;
; @brief draws the char data at the specified position
;
; @author <NAME>
; Contact: <EMAIL>
;typedef struct _SSD1289_Config
;{
; volatile uint16_t * dataOut; + 0
; volatile uint16_t * dataIn; + 4
; volatile uint16... |
programs/oeis/120/A120194.asm | neoneye/loda | 22 | 2032 | ; A120194: a(n) = ceiling( Sum_{i=1..n-1} a(i)/8 ), a(1)=1.
; 1,1,1,1,1,1,1,1,1,2,2,2,2,3,3,3,4,4,5,5,6,7,8,9,10,11,12,14,16,18,20,22,25,28,32,36,40,45,51,57,64,72,81,91,103,116,130,146,165,185,208,234,264,297,334,376,423,475,535,602,677,762,857,964,1084,1220,1372,1544
mov $3,$0
mov $5,2
lpb $5
mov $0,$3
sub $5,1
... |
oeis/038/A038665.asm | neoneye/loda-programs | 11 | 80483 | ; A038665: Convolution of A007054 (super ballot numbers) with A000984 (central binomial coefficients).
; Submitted by <NAME>(s1)
; 3,8,25,84,294,1056,3861,14300,53482,201552,764218,2912168,11143500,42791040,164812365,636438060,2463251010,9552774000,37112526990,144410649240,562724141460,2195581527360,8576490341250,33537... |
testsuite/tests/fat_driver/src/tc_fat_write.adb | adnio/Ada_Drivers_Library | 0 | 9238 | with Ada.Text_IO; use Ada.Text_IO;
with Test_Directories; use Test_Directories;
with File_Block_Drivers; use File_Block_Drivers;
with File_IO; use File_IO;
with Filesystem.FAT; use Filesystem.FAT;
with HAL.Filesystem;
with GNAT.MD5; use GNAT.MD5;
with Ada.Streams;
with Compare_Files;... |
oeis/133/A133480.asm | neoneye/loda-programs | 11 | 28118 | <filename>oeis/133/A133480.asm<gh_stars>10-100
; A133480: Left 3-step factorial (n,-3)!: a(n) = (-1)^n * A008544(n).
; 1,-2,10,-80,880,-12320,209440,-4188800,96342400,-2504902400,72642169600,-2324549427200,81359229952000,-3091650738176000,126757680265216000,-5577337931669504000,262134882788466688000,-131067441394233344... |
programs/oeis/138/A138693.asm | jmorken/loda | 1 | 102997 | <filename>programs/oeis/138/A138693.asm
; A138693: Numbers of the form 110 + p^2. (where p is a prime).
; 114,119,135,159,231,279,399,471,639,951,1071,1479,1791,1959,2319,2919,3591,3831,4599,5151,5439,6351,6999,8031,9519,10311,10719,11559,11991,12879,16239,17271,18879,19431,22311,22911,24759,26679,27999,30039
cal $0,6... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_20808_262.asm | ljhsiun2/medusa | 9 | 165712 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x19372, %r9
nop
nop
nop
nop
and $44283, %rbp
mov $0x6162636465666768, %r14
movq %r14, (%r9)
and $38369, %r9
lea addresses_A_ht+0x11372, %r11
xor $36637, %r14
movups (%r11), %xm... |
Transynther/x86/_processed/AVXALIGN/_st_sm_/i3-7100_9_0x84_notsx.log_21829_2552.asm | ljhsiun2/medusa | 9 | 88643 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %r9
push %rdi
lea addresses_WC_ht+0x185de, %r8
nop
nop
cmp $31111, %r9
mov (%r8), %rdi
nop
nop
nop
nop
xor $60559, %r13
pop %rdi
pop %r9
pop %r8
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %r14
push %r8
pu... |
src/open_weather_map-api-query.ads | Jellix/open_weather_map_api | 1 | 30652 | --------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Hocevar. See t... |
oeis/088/A088026.asm | neoneye/loda-programs | 11 | 104329 | <reponame>neoneye/loda-programs<filename>oeis/088/A088026.asm
; A088026: Number of "sets of even lists" for even n, cf. A000262.
; Submitted by <NAME>
; 1,2,36,1560,122640,15150240,2695049280,650948538240,204637027795200,81098021561356800,39516616693678924800,23204736106751520921600,16152539421202464036556800,131457163... |
src/Data/QuadTree/LensProofs/Valid-LensA.agda | JonathanBrouwer/research-project | 1 | 2165 | <reponame>JonathanBrouwer/research-project
-- {-# OPTIONS --show-implicit --show-irrelevant #-}
module Data.QuadTree.LensProofs.Valid-LensA where
open import Haskell.Prelude renaming (zero to Z; suc to S)
open import Data.Lens.Lens
open import Data.Logic
open import Data.QuadTree.InternalAgda
open import Agda.Primitiv... |
programs/oeis/083/A083413.asm | neoneye/loda | 22 | 172639 | <reponame>neoneye/loda<gh_stars>10-100
; A083413: a(n) = Sum_{d|n} d*2^(d-1) for n > 0.
; 0,1,5,13,37,81,209,449,1061,2317,5205,11265,24817,53249,115141,245853,525349,1114113,2361809,4980737,10490997,22020557,46148613,96468993,201352433,419430481,872468485,1811941645,3758211557,7784628225,16106378529,33285996545
mov $... |
libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/freopen_unlocked_callee.asm | meesokim/z88dk | 0 | 4342 | <reponame>meesokim/z88dk<filename>libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/freopen_unlocked_callee.asm
; FILE *freopen_unlocked_callee(char *filename, char *mode, FILE *stream)
SECTION code_stdio
PUBLIC _freopen_unlocked_callee, l0_freopen_unlocked_callee
EXTERN asm_freopen_unlocked
_freopen_unlocked_callee:
pop af... |
day27/harib24f/api/api010.asm | itiB/hariboteOS_30days | 1 | 168742 | <reponame>itiB/hariboteOS_30days
[CPU 486]
[BITS 32]
GLOBAL api_point
section .text
api_point: ; void api_point(int win, int x, int y, int col);
PUSH EDI
PUSH ESI
PUSH EBX
MOV EDX, 11
MOV EBX, [ESP + 16] ; win
MOV ESI, [ESP + 20] ; x
MOV ED... |
source/RASCAL-Heap.adb | bracke/Meaning | 0 | 14950 | <gh_stars>0
--------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
Driver/Video/VidCom/vidcomFont.asm | steakknife/pcgeos | 504 | 87356 | <filename>Driver/Video/VidCom/vidcomFont.asm<gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: video driver
FILE: vidcomFont.asm
AUTHOR: <NAME>, June 6th, 1989
ROUTINES:
Name ... |
programs/oeis/115/A115730.asm | karttu/loda | 1 | 164356 | ; A115730: a(n) = a(n-3)+A001654(n-1) with a(0)=0, a(1)=0 and a(2)=1.
; 0,0,1,2,6,16,42,110,289,756,1980,5184,13572,35532,93025,243542,637602,1669264,4370190,11441306,29953729,78419880,205305912,537497856,1407187656,3684065112,9645007681,25250957930,66107866110
cal $0,208176 ; a(n) = F(n+1)^2, if n>=0 is even (F=A0000... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.