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 |
|---|---|---|---|---|
oeis/004/A004983.asm | neoneye/loda-programs | 11 | 160334 | <reponame>neoneye/loda-programs
; A004983: a(n) = (2^n/n!) * Product_{k=0..n-1} (4*k - 3).
; Submitted by <NAME>(s4)
; 1,-6,-6,-20,-90,-468,-2652,-15912,-99450,-640900,-4229940,-28455960,-194449060,-1346185800,-9423300600,-66591324240,-474463185210,-3404971093860,-24591457900100,-178611641590200,-1303864983608460,-9561... |
libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/asm_SMSlib_finalizeSprites.asm | jpoikela/z88dk | 640 | 83335 | ; **************************************************
; SMSlib - C programming library for the SMS/GG
; ( part of devkitSMS - github.com/sverx/devkitSMS )
; **************************************************
INCLUDE "SMSlib_private.inc"
SECTION code_clib
SECTION code_SMSlib
PUBLIC asm_SMSlib_finalizeSprites
EXTERN _... |
libsrc/math/daimath32/c/asm/___dai32_xln.asm | ahjelm/z88dk | 640 | 95524 | <filename>libsrc/math/daimath32/c/asm/___dai32_xln.asm
SECTION code_fp_dai32
PUBLIC ___dai32_xln
EXTERN xln
defc ___dai32_xln = xln
|
programs/oeis/335/A335439.asm | jmorken/loda | 1 | 92859 | ; A335439: a(n) = n*(n-1)/2 + 2^(n-1) - 1.
; 0,2,6,13,25,46,84,155,291,556,1078,2113,4173,8282,16488,32887,65671,131224,262314,524477,1048785,2097382,4194556,8388883,16777515,33554756,67109214,134218105,268435861,536871346,1073742288,2147484143,4294967823,8589935152,17179869778,34359738997,68719477401,137438954174,2748... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/dynamic_bound.adb | best08618/asylo | 7 | 26664 | -- { dg-do compile }
-- { dg-options "-gnato" }
procedure Dynamic_Bound is
procedure Define (Count : Integer) is
type Count_T is new Integer range 0 .. Count * 1000;
type Obj_T is record
Count : Count_T;
end record;
type T is access Obj_T ;
procedure Create (S : in out T) is
begin
... |
grep.asm | willtran98/MIT_xv6 | 0 | 82947 | <gh_stars>0
_grep: file format elf32-i386
Disassembly of section .text:
00000000 <matchstar>:
return 0;
}
// matchstar: search for c*re at beginning of text
int matchstar(int c, char *re, char *text)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 57 ... |
oeis/030/A030631.asm | neoneye/loda-programs | 11 | 11519 | ; A030631: Numbers with 13 divisors.
; Submitted by <NAME>
; 4096,531441,244140625,13841287201,3138428376721,23298085122481,582622237229761,2213314919066161,21914624432020321,353814783205469041,787662783788549761,6582952005840035281,22563490300366186081,39959630797262576401,116191483108948578241,491258904256726154641,1... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/z11_char0.asm | prismotizm/gigaleak | 0 | 5600 | <reponame>prismotizm/gigaleak<filename>other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/z11_char0.asm<gh_stars>0
Name: z11_char0.asm
Type: file
Size: 109786
Last-Modified: '2016-05-13T04:23:03Z'
SHA-1: F55283280B463784FB5E4A340B83AAB5856BD0A5
Description: null
|
Lists/SortList.agda | Smaug123/agdaproofs | 4 | 927 | <reponame>Smaug123/agdaproofs<gh_stars>1-10
{-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Numbers.Naturals.Definition
open import Numbers.Naturals.Order
open import Numbers.Naturals.Naturals -- for length
open import Lists.Lists
open import Orders.Partial.Definition
open im... |
programs/oeis/326/A326658.asm | karttu/loda | 1 | 22643 | <reponame>karttu/loda<filename>programs/oeis/326/A326658.asm
; A326658: a(n) = 6*floor(n/2) + ceiling((n-1)^2/2).
; 1,0,7,8,17,20,31,36,49,56,71,80,97,108,127,140,161,176,199,216,241,260,287,308,337,360,391,416,449,476,511,540,577,608,647,680,721,756,799,836,881,920,967,1008,1057,1100,1151,1196,1249,1296,1351,1400,1457... |
lib/server-core/src/main/antlr4/org/apache/olingo/server/core/uri/antlr/UriParser.g4 | mtaal/olingo-odata4-jpa | 0 | 4407 | <reponame>mtaal/olingo-odata4-jpa
/*******************************************************************************
* 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 ... |
oeis/066/A066343.asm | neoneye/loda-programs | 11 | 4492 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A066343: Beatty sequence for log_2(10).
; Submitted by <NAME>
; 3,6,9,13,16,19,23,26,29,33,36,39,43,46,49,53,56,59,63,66,69,73,76,79,83,86,89,93,96,99,102,106,109,112,116,119,122,126,129,132,136,139,142,146,149,152,156,159,162,166,169,172,176,179,182,186,189,192,195,199... |
examples/object_hierarchy/labels.adb | glencornell/ada-object-framework | 0 | 852 | <gh_stars>0
with Ada.Text_Io;
with Ada.Strings.Unbounded;
package body Labels is
procedure Paint_Event (This : in out Label'Class) is
begin
Ada.Text_Io.Put_Line("Labels.Paint_Event() called");
Ada.Text_Io.Put_Line(" Label_Text = """ & Ada.Strings.Unbounded.To_String(This.Label_Text.Get) & """");... |
sources/int.asm | gpont/TSU_ASM | 0 | 99953 | <reponame>gpont/TSU_ASM
global change_int
section .text
change_int:
; r8 = x / 100 * 100
mov rax, rdi
mov rbx, 100
xor rdx, rdx
div rbx
mul rbx
mov r8, rax
; r8 += x % 10 * 10
mov rax, rdi ; rax = x
mov rbx, 10
xor rdx, rdx
idiv rbx
mov rax, rdx
mul rbx
add r8, rax
; r8 += x % 100 ... |
2A/S7/SysConc/TP/TP6/b__lr-main.ads | MOUDDENEHamza/ENSEEIHT | 4 | 26394 | pragma Ada_95;
pragma Warnings (Off);
with System;
package ada_main is
gnat_argc : Integer;
gnat_argv : System.Address;
gnat_envp : System.Address;
pragma Import (C, gnat_argc);
pragma Import (C, gnat_argv);
pragma Import (C, gnat_envp);
gnat_exit_status : Integer;
pragma Import (C, gnat_exit... |
programs/Desktop: Show.applescript | Strajk/setup | 50 | 146 | do shell script "defaults delete com.apple.finder CreateDesktop;killall Finder" |
target/cos_117/disasm/iop_overlay1/STUBPR.asm | jrrk2/cray-sim | 49 | 96768 | 0x0000 (0x000000) 0x1800-0x0000 f:00014 d: 0 | A = 0 (0x0000)
0x0002 (0x000004) 0x2919- f:00024 d: 281 | OR[281] = A
0x0003 (0x000006) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0004 (0x000008) 0x2927- f:00024 d: 295 | OR[295] = A
... |
Transynther/x86/_processed/NONE/_ht_st_zr_un_/i7-8650U_0xd2.log_7342_1584.asm | ljhsiun2/medusa | 9 | 82008 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1ba6f, %r10
clflush (%r10)
nop
nop
nop
cmp %r8, %r8
mov $0x6162636465666768, %rdx
movq %rdx, (%r10)
nop
nop
nop
nop
cmp $20040, %r13
lea addresses_UC_ht+0x1b4d3, %rdx
nop
nop... |
oeis/173/A173102.asm | neoneye/loda-programs | 11 | 80809 | <gh_stars>10-100
; A173102: Number of partitions x + y = z with {x,y,z} in {1,2,3,..,3n} and z > y >= x.
; 2,9,20,36,56,81,110,144,182,225,272,324,380,441,506,576,650,729,812,900,992,1089,1190,1296,1406,1521,1640,1764,1892,2025,2162,2304,2450,2601,2756,2916,3080,3249,3422,3600,3782,3969,4160,4356,4556,4761,4970,5184,54... |
src/main/antlr/org/antlr/jetbrains/sample/parser/SampleLanguage.g4 | educationwarehouse/jetbrains-plugin-sample | 0 | 117 | /** A simple language for use with this sample plugin.
* It's C-like but without semicolons. Symbol resolution semantics are
* C-like: resolve symbol in current scope. If not in this scope, ask
* enclosing scope to resolve (recurse up tree until no more scopes or found).
* Forward refs allowed for functions but... |
gcc-gcc-7_3_0-release/gcc/ada/s-mmap.ads | best08618/asylo | 7 | 19667 | <filename>gcc-gcc-7_3_0-release/gcc/ada/s-mmap.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_time_stamp.adb | best08618/asylo | 7 | 523 | -- { dg-do run }
with GNAT.Time_Stamp;
use GNAT.Time_Stamp;
procedure test_time_stamp is
S : constant String := Current_Time;
function NN (S : String) return Boolean is
begin
for J in S'Range loop
if S (J) not in '0' .. '9' then
return True;
end if;
end loop;
... |
type-assignment-unicity.agda | hazelgrove/hazelnut-agda | 0 | 1864 | <filename>type-assignment-unicity.agda
open import Nat
open import Prelude
open import dynamics-core
open import contexts
module type-assignment-unicity where
-- type assignment only assigns one type
type-assignment-unicity : {Γ : tctx} {d : ihexp} {τ' τ : htyp} {Δ : hctx} →
Δ , Γ ⊢ d... |
tests/test build script and options/opt syntax/syntax_b.asm | fengjixuchui/sjasmplus | 220 | 96641 | <filename>tests/test build script and options/opt syntax/syntax_b.asm
; Thorough tests for memory accessing instructions with --syntax=b
; default bracket syntax (relaxed one)
OPT reset --zxnext --syntax=a
; 3x OK: val, mem, mem
ld a,0 : ld a,(1) : ld a,[2]
; 2x OK: val, val, ---
ld b,3 : ld... |
programs/oeis/000/A000918.asm | neoneye/loda | 22 | 29196 | <gh_stars>10-100
; A000918: a(n) = 2^n - 2.
; -1,0,2,6,14,30,62,126,254,510,1022,2046,4094,8190,16382,32766,65534,131070,262142,524286,1048574,2097150,4194302,8388606,16777214,33554430,67108862,134217726,268435454,536870910,1073741822,2147483646,4294967294,8589934590,17179869182,34359738366,68719476734,137438953470,274... |
src/game.asm | drwuro/teleporter64 | 3 | 529 |
str_lost
!scr "you failed"
!byte $FF
str_won
!scr "congratulations!"
!byte $FF
str_skills1
!scr "you have great"
!byte $FF
str_skills2
!scr "teleportation skills"
!byte $FF
str_attempts
!scr "total number of attempts: "
!byte $FF
str_attempts99
!scr "it took you ov... |
ada-assertions.ads | mgrojo/adalib | 15 | 18376 | <reponame>mgrojo/adalib<gh_stars>10-100
-- Standard Ada library specification
-- Copyright (c) 2003-2018 <NAME> <<EMAIL>>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1... |
soundness/ProofUtilities.agda | frelindb/agsyHOL | 17 | 12759 | module ProofUtilities where
-- open import Data.Nat hiding (_>_)
open import StdLibStuff
open import Syntax
open import FSC
mutual
hn-left-i : {n : ℕ} {Γ-t : Ctx n} {Γ : FSC-Ctx n Γ-t} {α β : Type n} (m : ℕ) (S : Form Γ-t β → Form Γ-t α) (F : Form Γ-t β) (G : Form Γ-t α) → Γ ⊢ α ∋ S (headNorm m F) ↔ G → Γ ⊢ α ∋ S... |
programs/oeis/267/A267582.asm | neoneye/loda | 22 | 163783 | <gh_stars>10-100
; A267582: Number of ON (black) cells in the n-th iteration of the "Rule 167" elementary cellular automaton starting with a single ON (black) cell.
; 1,2,3,5,5,9,9,11,9,17,17,19,17,23,21,23,17,33,33,35,33,39,37,39,33,47,45,47,41,51,45,47,33,65,65,67,65,71,69,71,65,79,77,79,73,83,77,79,65,95,93,95,89,99... |
main.adb | Dioxylin/ada_shopping_tally | 0 | 28402 | <reponame>Dioxylin/ada_shopping_tally
with Ada.Text_IO; use Ada.Text_IO;
-- Item\tQuantity\tPrice\tTaxable[\tTax]
procedure Main is
type Money_Type is delta 0.01 range -1_000_000_000.0 .. 1_000_000_000.0;
for Money_Type'Small use 0.0001;
subtype Tax_Type is Money_Type range 0.0 .. 1.0;
subtype Quantity_Type is ... |
experiments/test-suite/mutation-based/100/sll.als | kaiyuanw/AlloyFLCore | 1 | 4670 | <gh_stars>1-10
pred test9 {
some disj List0, List1: List {some disj Node0, Node1, Node2: Node {
List = List0 + List1
header = List0->Node2 + List1->Node1
Node = Node0 + Node1 + Node2
link = Node0->Node1 + Node1->Node1
}}
}
run test9 for 3 expect 1
pred test6 {
some disj List0, List1: List {some disj Node0, Node1, Node2... |
libsrc/_DEVELOPMENT/adt/p_list/c/sccz80/p_list_back.asm | meesokim/z88dk | 0 | 19959 | <reponame>meesokim/z88dk
; void *p_list_back(p_list_t *list)
SECTION code_adt_p_list
PUBLIC p_list_back
p_list_back:
INCLUDE "adt/p_list/z80/asm_p_list_back.asm"
|
libsrc/_DEVELOPMENT/math/float/math48/z80/am48_acos.asm | meesokim/z88dk | 0 | 25046 | <reponame>meesokim/z88dk<filename>libsrc/_DEVELOPMENT/math/float/math48/z80/am48_acos.asm<gh_stars>0
; double acos(double x)
SECTION code_fp_math48
PUBLIC am48_acos
EXTERN am48_asin, am48_dconst_pi, am48_dsub, am48_dpopret
am48_acos:
; arccos
; AC' = acos(AC')
;
; enter : AC' = double x
;
; exit... |
src/arch/x86_64/crti.asm | KristianJerpetjon/IncludeOS | 1 | 99711 | global _init
global _fini
section .init
_init:
push rbp
mov rbp, rsp
section .fini
_fini:
push rbp
mov rbp, rsp
|
src/Categories/Object/Duality.agda | bblfish/agda-categories | 5 | 15366 | <reponame>bblfish/agda-categories
{-# OPTIONS --without-K --safe #-}
open import Categories.Category
-- Properties relating Initial and Terminal Objects,
-- and Product / Coproduct via op
module Categories.Object.Duality {o ℓ e} (C : Category o ℓ e) where
open Category C
open import Level
open import Relation.Binar... |
Transynther/x86/_processed/NONE/_un_/i9-9900K_12_0xa0.log_21829_485.asm | ljhsiun2/medusa | 9 | 81693 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1401c, %r12
and $30714, %r14
mov $0x6162636465666768, %r13
movq %r13, %xmm6
movups %xmm6, (%r12)
nop
nop
nop
nop
nop
cmp %r15, %r15
lea addresses_UC_ht+0xadf8, %rsi
lea addre... |
src/PJ/fileio/dossetdr.asm | AnimatorPro/Animator-Pro | 119 | 88432 | <reponame>AnimatorPro/Animator-Pro
EXTRN pj_dget_err:word
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
include errcodes.i
public lo_dos_set_drive
;int lo_dos_set_drive(int drive); /* 0 = A: 1 = B: .. */
; returns 0 if ok < 0 if error */
; Unfortunately (due to bug in Phar ... |
programs/oeis/250/A250354.asm | jmorken/loda | 1 | 15382 | <filename>programs/oeis/250/A250354.asm
; A250354: Number of length 5 arrays x(i), i=1..5 with x(i) in i..i+n and no value appearing more than 2 times.
; 32,216,888,2724,6900,15186,30072,54888,93924,152550,237336,356172,518388,734874,1018200,1382736,1844772,2422638,3136824,4010100,5067636,6337122,7848888,9636024,117345... |
Palmtree.Math.Core.Sint/vs_build/x64_Release/dllmain.asm | rougemeilland/Palmtree.Math.Core.Sint | 0 | 513 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
include listing.inc
INCLUDELIB OLDNAMES
PUBLIC DllMain
; COMDAT pdata
pdata SEGMENT
$pdata$DllMain DD imagerel $LN22@DllMain
DD imagerel $LN22@DllMain+107
DD imagerel $unwind$DllMain
; COMDAT xdata
xdata SEGMENT
$unwind$DllMain DD 0104... |
linux64/lesson05.asm | mashingan/notes-asmtutor | 1 | 20098 | format ELF64 executable 3
entry start
segment readable writeable
msg db 'Hello the brave to the isekai!', 0Ah, 0
msgf db 'Adapt to the new environment with FASM.', 0Ah, 0
segment readable executable
start:
mov rax, msg
call sprint
mov rax, msgf
call sprint
call quitProgram
include 'proc... |
Cubical/HITs/Modulo.agda | limemloh/cubical | 0 | 13350 | <filename>Cubical/HITs/Modulo.agda
{-# OPTIONS --cubical --safe #-}
module Cubical.HITs.Modulo where
open import Cubical.HITs.Modulo.Base public
open import Cubical.HITs.Modulo.Properties public
|
programs/oeis/135/A135984.asm | neoneye/loda | 22 | 13270 | <filename>programs/oeis/135/A135984.asm<gh_stars>10-100
; A135984: a(n) = 24(prime(n))+7.
; 55,79,127,175,271,319,415,463,559,703,751,895,991,1039,1135,1279,1423,1471,1615,1711,1759,1903,1999,2143,2335,2431,2479,2575,2623,2719,3055,3151,3295,3343,3583,3631,3775,3919,4015,4159,4303,4351,4591,4639,4735
seq $0,6005 ; The... |
TestData/multiple_results.asm | robertmuth/Cwerg | 171 | 97759 | <reponame>robertmuth/Cwerg
# demonstrates multiple return values
# ========================================
# function with 5 return values
.fun multi NORMAL [U32 U32 U32 U32 U32] = [U32 U32]
.reg U32 [a b add sub mul div mod]
.bbl start
poparg a
poparg b
add add = a b
sub sub = a b
mul mul = a b... |
src/asis/a4g-knd_conv.ads | My-Colaborations/dynamo | 15 | 7972 | <reponame>My-Colaborations/dynamo<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
ADA_RC_Car/src/sensor_behind.adb | Intelligente-sanntidssystemer/Ada-prosjekt | 0 | 3606 | <gh_stars>0
with NRF52_DK.Time;
with HAL; use HAL;
with NRF52_DK.IOs;
package body sensor_behind is
--Declaration of the PinIDs and type of the variables
TrigPin : NRF52_DK.IOs.Pin_Id := 12;
EchoPin : NRF52_DK.IOs.Pin_Id := 11;
CurrentTime : NRF52_DK.Time.Time_Ms;
Duration_Result : Durat... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_302.asm | ljhsiun2/medusa | 9 | 102765 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xc09d, %rbx
clflush (%rbx)
nop
nop
nop
nop
nop
xor %r14, %r14
movb (%rbx), %r13b
nop
nop
nop
and $27859, %rcx
lea addresses_normal_ht+0x18d9d, %rsi
lea addresse... |
boards/stm32f469_discovery/src/framebuffer_otm8009a.ads | morbos/Ada_Drivers_Library | 2 | 11164 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- --
-- ... |
programs/oeis/213/A213832.asm | karttu/loda | 1 | 102553 | <reponame>karttu/loda<gh_stars>1-10
; A213832: Principal diagonal of the convolution array A213831.
; 1,19,78,202,415,741,1204,1828,2637,3655,4906,6414,8203,10297,12720,15496,18649,22203,26182,30610,35511,40909,46828,53292,60325,67951,76194,85078,94627,104865,115816,127504,139953,153187,167230,182106,197839,214453,2319... |
tests/data_unsized/6.asm | NullMember/customasm | 414 | 84862 | <reponame>NullMember/customasm<gh_stars>100-1000
#d (0x12 + 0x34)`16 ; = 0x0046 |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_NES/N_F_asm/zel_code.asm | prismotizm/gigaleak | 0 | 81363 | <reponame>prismotizm/gigaleak<filename>other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_NES/N_F_asm/zel_code.asm
Name: zel_code.asm
Type: file
Size: 18646
Last-Modified: '2016-05-13T04:22:15Z'
SHA-1: A6425ABB9DEB17C66A619E2351C0A3E56BEF5D8B
Description: null
|
programs/oeis/218/A218470.asm | neoneye/loda | 22 | 89045 | ; A218470: Partial sums of floor(n/9).
; 0,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,11,13,15,17,19,21,23,25,27,30,33,36,39,42,45,48,51,54,58,62,66,70,74,78,82,86,90,95,100,105,110,115,120,125,130,135,141,147,153,159,165,171,177,183,189,196,203,210,217,224,231,238,245,252,260,268,276,284,292,300,308,316,324,333,342,351,360,369... |
s1/sfx-original/SndCF - Signpost.asm | Cancer52/flamedriver | 9 | 162994 | <gh_stars>1-10
SndCF_Signpost_Header:
smpsHeaderStartSong 1
smpsHeaderVoice SndCF_Signpost_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $02
smpsHeaderSFXChannel cFM4, SndCF_Signpost_FM4, $27, $03
smpsHeaderSFXChannel cFM5, SndCF_Signpost_FM5, $27, $00
; FM4 Data
SndCF_Signpost_FM4:
dc.b nRst, $04
; ... |
binaryToDecimal.asm | darrenyip/MipsCode | 0 | 7099 | li $v0, 5 #get user input
syscall
move $t0, $v0
li $t1, 2147483648 # mask 1000.....000000
li $t2, 31 # counter for all 16 digits binary numbers
li $t4, 1 #just an integer nummber 1
Loop:
and $t3, $t1, $t0 # save the number into t3
beq $t3, $zero, print #if t3 == zero print 0
addi $a0, $t4, 0 # else pr... |
hott/equivalence/alternative.agda | HoTT/M-types | 27 | 16903 | <filename>hott/equivalence/alternative.agda
{-# OPTIONS --without-K #-}
open import function.extensionality.core
module hott.equivalence.alternative where
open import sum
open import equality.core
open import equality.calculus
open import function.core
open import function.extensionality.proof
open import function.is... |
libsrc/video/vdm/stdio/generic_console.asm | UnivEngineer/z88dk | 1 | 24189 |
SECTION code_clib
PUBLIC generic_console_cls
PUBLIC generic_console_vpeek
PUBLIC generic_console_printc
PUBLIC generic_console_scrollup
PUBLIC generic_console_ioctl
PUBLIC generic_console_set_ink
PUBLIC generic_console_set_paper
PUBL... |
test/Succeed/Issue1701b.agda | cruhland/agda | 1,989 | 13528 | <reponame>cruhland/agda<filename>test/Succeed/Issue1701b.agda
-- Andreas, 2015-11-10, issue reported by <NAME>
-- {-# OPTIONS -v scope.mod.inst:30 #-}
-- {-# OPTIONS -v tc.mod.check:10 -v tc.mod.apply:80 -v impossible:10 #-}
postulate
A : Set
a : A
module Id (A : Set) (a : A) where
x = a
module ModParamsToLoos... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-conca2.adb | orb-zhuchen/Orb | 0 | 26042 | <reponame>orb-zhuchen/Orb<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
awa/src/awa-commands-info.adb | My-Colaborations/ada-awa | 81 | 955 | <gh_stars>10-100
-----------------------------------------------------------------------
-- akt-commands-info -- Info command to describe the current configuration
-- Copyright (C) 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use th... |
programs/oeis/077/A077071.asm | neoneye/loda | 22 | 161054 | <gh_stars>10-100
; A077071: Row sums of A077070.
; 0,2,8,16,30,46,66,88,118,150,186,224,268,314,364,416,478,542,610,680,756,834,916,1000,1092,1186,1284,1384,1490,1598,1710,1824,1950,2078,2210,2344,2484,2626,2772,2920,3076,3234,3396,3560,3730,3902,4078,4256
lpb $0
mov $2,$0
sub $0,1
lpb $2
add $1,$2
div $... |
P6/data_P6_2/cal_R_test28.asm | alxzzhou/BUAA_CO_2020 | 1 | 12198 | lui $1,48726
ori $1,$1,63412
lui $2,20710
ori $2,$2,54310
lui $3,42262
ori $3,$3,46307
lui $4,6671
ori $4,$4,12379
lui $5,28632
ori $5,$5,13576
lui $6,49409
ori $6,$6,53768
mthi $1
mtlo $2
sec0:
nop
nop
nop
and $4,$6,$2
sec1:
nop
nop
xor $2,$5,$2
and $4,$6,$2
sec2:
nop
nop
xori $2,$6,48988
and $5,$6,$2
sec3... |
oeis/173/A173856.asm | neoneye/loda-programs | 11 | 994 | <gh_stars>10-100
; A173856: Expansion of 10/9 in base phi.
; Submitted by <NAME>(s2)
; 1,0,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0
pow $1,$0
mov $2,$0
pow $0,2
div... |
oeis/014/A014633.asm | neoneye/loda-programs | 11 | 240850 | ; A014633: Even pentagonal numbers.
; Submitted by <NAME>(s1.)
; 0,12,22,70,92,176,210,330,376,532,590,782,852,1080,1162,1426,1520,1820,1926,2262,2380,2752,2882,3290,3432,3876,4030,4510,4676,5192,5370,5922,6112,6700,6902,7526,7740,8400,8626,9322,9560,10292,10542,11310,11572,12376,12650,13490,13776,14652,14950,15862,161... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/fmax.asm | jpoikela/z88dk | 640 | 91947 |
SECTION code_clib
SECTION code_fp_math48
PUBLIC _fmax
EXTERN cm48_sdcciy_fmax
defc _fmax = cm48_sdcciy_fmax
|
test/bugs/fixed/HiddenLambda.agda | alhassy/agda | 3 | 7234 | <filename>test/bugs/fixed/HiddenLambda.agda
module HiddenLambda where
postulate
A : Set
T : A -> Set
H : Set
H = {x : A} -> T x -> T x
-- H doesn't reduce when checking the body of h
h : H
h = \tx -> tx
|
oeis/319/A319650.asm | neoneye/loda-programs | 11 | 92621 | <filename>oeis/319/A319650.asm<gh_stars>10-100
; A319650: a(n) = A073138(n) - n.
; Submitted by <NAME>
; 0,0,0,0,0,1,0,0,0,3,2,3,0,1,0,0,0,7,6,9,4,7,6,7,0,3,2,3,0,1,0,0,0,15,14,21,12,19,18,21,8,15,14,17,12,15,14,15,0,7,6,9,4,7,6,7,0,3,2,3,0,1,0,0,0,31,30,45,28,43,42,49,24,39,38,45,36,43,42,45,16,31,30,37,28,35,34,37,24... |
alloy4fun_models/trashltl/models/11/4YuLX6hk8nSgEq4sA.als | Kaixi26/org.alloytools.alloy | 0 | 4567 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id4YuLX6hk8nSgEq4sA_prop12 {
eventually some f: File | eventually f in Trash
}
pred __repair { id4YuLX6hk8nSgEq4sA_prop12 }
check __repair { id4YuLX6hk8nSgEq4sA_prop12 <=> prop12o } |
oeis/000/A000782.asm | neoneye/loda-programs | 11 | 25492 | ; A000782: a(n) = 2*Catalan(n) - Catalan(n-1).
; 1,3,8,23,70,222,726,2431,8294,28730,100776,357238,1277788,4605980,16715250,61020495,223931910,825632610,3056887680,11360977650,42368413620,158498860260,594636663660,2236748680998,8433988655580,31872759742852,120699748759856,457962352584716,1740736481552376,66277307875332... |
oeis/178/A178626.asm | neoneye/loda-programs | 11 | 9695 | <filename>oeis/178/A178626.asm
; A178626: Convolution of Pell(n) and 10^n.
; Submitted by <NAME>
; 1,12,125,1262,12649,126560,1265769,12658098,126581965,1265822028,12658226021,126582274070,1265822774161,12658227822392,126582278418945,1265822784660282,12658227847739509,126582278480139300,1265822784808018109,126582278480... |
oeis/031/A031167.asm | neoneye/loda-programs | 11 | 175723 | <gh_stars>10-100
; A031167: a(n) = prime(n+5) - prime(n).
; Submitted by <NAME>(w2)
; 11,14,14,16,18,18,20,22,20,18,22,22,20,24,24,20,20,22,22,26,28,24,24,20,16,26,28,30,30,36,24,26,26,28,24,28,24,28,26,24,20,30,32,34,32,34,28,18,24,28,30,30,30,26,24,20,24,36,34,32,34,38,30,36,36,36,28,30,26,30,30,30,30,28,30,36,32,34,... |
oeis/184/A184012.asm | neoneye/loda-programs | 11 | 18594 | <filename>oeis/184/A184012.asm
; A184012: n + floor(sqrt(5n-4)); complement of A184013.
; 2,4,6,8,9,11,12,14,15,16,18,19,20,22,23,24,26,27,28,29,31,32,33,34,36,37,38,39,40,42,43,44,45,46,48,49,50,51,52,54,55,56,57,58,59,61,62,63,64,65,66,68,69,70,71,72,73,74,76,77,78,79,80,81,82,84,85,86,87,88,89,90,92,93,94,95,96,97,9... |
macros.asm | jeremylive/Shared_Code | 0 | 163281 |
;;ESPACIO DE MACROS
;;;MACRO DE EXPLICITO A STRBIN
%macro IntToBin 2
push eax
push ebx
push ecx
push edx
mov eax, %1
mov ebx, [eax]
mov ecx, 31
xor edx, edx
%%while:
dec ecx
cmp ecx, 0
je %%salir
ror ebx , 1
jc %%inicio
jmp while
%%inicio:
push eax
mov eax, %2
mov [eax + e... |
source/amf/uml/amf-uml-dependencies.ads | svn2github/matreshka | 24 | 9285 | <filename>source/amf/uml/amf-uml-dependencies.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
programs/oeis/028/A028425.asm | karttu/loda | 0 | 171253 | ; A028425: Clog sequence in base 4. Right to left concatenation of n, int(log_4(n)), int(log_4(int(log_4(n)))), ... in base 4.
; 1,2,3,20,21,22,23,24,25,26,27,28,29,30,31,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,1... |
src/boot.asm | charpointer/maikuro | 2 | 95668 | %define kernel_virt_offset 0xffffffff80000000
;; Multiboot shit
MBALIGN equ 1 << 0 ;; align loaded modules on page boundaries
MEMINFO equ 1 << 1 ;; provide memory map
FLAGS equ MBALIGN | MEMINFO ;; multiboot 'flag' field
MAGIC equ 0x1BADB002 ;; magic number
CHECKSUM equ -(M... |
Cubical/Relation/Binary/Construct/StrictToNonStrict.agda | bijan2005/univalent-foundations | 0 | 5440 | <filename>Cubical/Relation/Binary/Construct/StrictToNonStrict.agda
{-# OPTIONS --cubical --no-import-sorts --safe #-}
open import Cubical.Core.Everything
open import Cubical.Relation.Binary
module Cubical.Relation.Binary.Construct.StrictToNonStrict
{a ℓ} {A : Type a}
(_<_ : Rel A ℓ)
where
open import Cubical.F... |
src/Implicits/Resolution/Ambiguous/SystemFEquiv.agda | metaborg/ts.agda | 4 | 10192 | module Implicits.Resolution.Ambiguous.SystemFEquiv where
open import Prelude
open import Function.Equivalence using (_⇔_; equivalence)
open import Data.List.Properties
open import Relation.Binary.HeterogeneousEquality as H using ()
open import Data.Vec.Properties as VP using ()
open import Data.Vec hiding ([_])
open ... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_2660.asm | ljhsiun2/medusa | 9 | 22473 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_2660.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xc39e, %rbp
cmp %rdi, %rdi
movups (%rbp), %xmm4
vpextrq $1, %xmm4, %rsi
nop
sub %rsi, %rsi
lea a... |
src/chips/QSound.asm | sharksym/vgmplay-sharksym | 6 | 179116 | <filename>src/chips/QSound.asm
;
; VGM QSound chip
;
QSound: MACRO
super: Chip QSound_name, Header.qSoundClock, System_Return
ENDM
; ix = this
; iy = header
QSound_Construct: equ Chip_Construct
; jp Chip_Construct
; ix = this
QSound_Destruct: equ Chip_Destruct
; jp Chip_Destruct
;
SECTION RAM
QSound_instance: QS... |
src/main/fragment/mos6502-common/vdum1=vduc1_plus_vwum2.asm | jbrandwood/kickc | 2 | 161980 | lda {m2}
clc
adc #<{c1}
sta {m1}
lda {m2}+1
adc #>{c1}
sta {m1}+1
lda #0
adc #<{c1}>>$10
sta {m1}+2
lda #0
adc #>{c1}>>$10
sta {m1}+3
|
components/src/range_sensor/VL53L0X/vl53l0x.ads | morbos/Ada_Drivers_Library | 2 | 1275 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, AdaCore --
-- --
-- ... |
src/PiCalculus/Syntax/Properties.agda | guilhermehas/typing-linear-pi | 26 | 7274 | <gh_stars>10-100
{-# OPTIONS --safe --without-K #-}
open import Relation.Binary.PropositionalEquality using (_≡_; _≢_; refl; sym; cong; cong₂; subst; trans)
open import Relation.Nullary.Decidable using (True; from-yes)
open import Relation.Nullary.Negation using (¬?; contradiction)
open Relation.Binary.PropositionalEq... |
test/deligatingsample/A.asm | tos-kamiya/agec2 | 1 | 175473 | Compiled from "Deligating.java"
class A {
A();
Code:
0: aload_0
1: invokespecial #1 // Method java/lang/Object."<init>":()V
4: return
LineNumberTable:
line 1: 0
public void foo();
Code:
0: getstatic #2 // Field java/... |
module/mpc-be/SRC/src/ExtLib/VirtualDub/Kasumi/source/a_stretchrgb_point.asm | 1aq/PBox | 0 | 95618 | <reponame>1aq/PBox
segment .text
struc scaleinfo
.dst resd 1
.src resd 1
.xaccum resd 1
.xfracinc resd 1
.xintinc resd 1
.count resd 1
endstruc
global _vdasm_resize_point32
_vdasm_resize_point32:
push ebp
push edi
push esi
push ebx
mov eax, [esp+4+16]
mov ebx, [eax+scaleinfo.xaccum]
mov ... |
sw/552tests/inst_tests/jal_2.asm | JPShen-UWM/ThreadKraken | 1 | 9347 | // Original test: ./bolanows/hw4/problem6/jal_2.asm
// Author: bolanows
// Test source code follows
//Basically does no jump at all
JAL 0 // Should just increment to the next PC
Nop
Halt
|
UpTo-Properties/NaturalTransFacts.agda | hbasold/Sandbox | 0 | 10487 | <filename>UpTo-Properties/NaturalTransFacts.agda
module NaturalTransFacts where
open import Level
open import Categories.Support.Equivalence
open import Categories.Category
open import Categories.Functor
open import Categories.NaturalTransformation
renaming (id to natId; _≡_ to _≡N_; setoid to natSetoid)
hiding (_... |
Image Processing Scripts/Crop/Crop to Letterbox Format.applescript | bbelyeu/applescripts | 12 | 2245 | <gh_stars>10-100
set this_file to choose file
try
tell application "Image Events"
-- start the Image Events application
launch
-- open the image file
set this_image to open this_file
-- get dimensions of the image
copy dimensions of this_image to {W, H}
-- determine the letterbox area
set crop_W to W
... |
Tests/yasm-regression/arithsmall.asm | 13xforever/x86-assembly-textmate-bundle | 69 | 174434 | <reponame>13xforever/x86-assembly-textmate-bundle
[bits 32]
and eax, 3584 ; out: 25 00 0e 00 00
and eax, 35 ; out: 83 e0 23
and eax, strict dword 3584 ; out: 25 00 0e 00 00
and eax, strict dword 35 ; out: 25 23 00 00 00
and eax, strict byte 3584 ; out: 83 e0 00
and eax, strict byte 35 ; out: 83 e0 23
and ebx,... |
praks5/yl3.asm | Leonid-98/AVR_ASM | 0 | 242996 | <reponame>Leonid-98/AVR_ASM<gh_stars>0
jmp main
.org 0x22 // Timer/Counter1 Compare Match A
jmp timer_interrupt
.org 0x4C
main:
// Stack init
ldi r16, low(RAMEND)
ldi r17, high(RAMEND)
out SPL, r16
out SPH, r17
// Timer init (PWM, phase and frequency Correct), 1024 prescaler
ldi r16, (1<<WGM10) | (0<<WGM11)
l... |
Ada95/samples/ncurses2-menu_test.adb | ProtonAOSP-platina/android_external_libncurses | 269 | 28635 | ------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- --
-- ... |
programs/oeis/057/A057074.asm | neoneye/loda | 22 | 101844 | <gh_stars>10-100
; A057074: floor[12^12/n].
; 8916100448256,4458050224128,2972033482752,2229025112064,1783220089651,1486016741376,1273728635465,1114512556032,990677827584,891610044825,810554586205,743008370688,685853880635,636864317732,594406696550
add $0,1
mov $1,8916100448256
div $1,$0
mov $0,$1
|
alloy4fun_models/trashltl/models/13/7tqnnGZk9EJLLFYjk.als | Kaixi26/org.alloytools.alloy | 0 | 3998 | <gh_stars>0
open main
pred id7tqnnGZk9EJLLFYjk_prop14 {
always all f:File | f in Trash implies f in Protected'
}
pred __repair { id7tqnnGZk9EJLLFYjk_prop14 }
check __repair { id7tqnnGZk9EJLLFYjk_prop14 <=> prop14o } |
src/convtest/measure_units.ads | shintakezou/adaplayground | 0 | 3459 | with Converters;
-- @summary
-- Units used in aviation, operations among them and conversion
-- factors.
--
-- @description
-- Measure_Units provides all you can need to play with
-- units used in aviation, except that this is a lie because
-- this is a test, so you won't find anything really useful
-- here.
... |
data/sprites/facings.asm | opiter09/ASM-Machina | 1 | 17607 | <gh_stars>1-10
SpriteFacingAndAnimationTable:
; This table is used for overworld sprites $1-$9.
dw .StandingDown, .NormalOAM ; facing down, walk animation frame 0
dw .WalkingDown, .NormalOAM ; facing down, walk animation frame 1
dw .StandingDown, .NormalOAM ; facing down, walk animation frame 2
dw .WalkingDown,... |
LAB 2/Lab2Task_1.asm | smellycattt/Microprocessor-Programming | 1 | 9288 | <reponame>smellycattt/Microprocessor-Programming
.model tiny
.486
.data
dat1 dd 45678902h,78076788h,9008123ah,345678abh,12345678h
max1 dd ?
.code
.startup
lea si,dat1
mov cx,5
lodsd
x1: cmp eax,[si]
jae x2
mov eax,[si]
x2: add si,4
loop x1
mov max1,eax
.exit
end |
wtfx/samples/whitenoise-v2.asm | bushy555/ZX-Spectrum-1-Bit-Routines | 59 | 9422 |
db 136,136,0,204,136,204,204,204,0,136,0,204,204,0,0,0
db 204,204,204,204,204,0,0,0,0,204,0,204,204,204,0,0
db 136,136,136,204,204,136,204,0,0,0,0,0,204,204,204,204
db 204,204,204,136,0,0,136,136,0,204,136,136,204,0,204,136
db 0,136,204,0,0,204,204,204,0,0,0,0,136,0,0,204
db 0,0,204,136,204,136,0,0,204,136,136,2... |
oeis/321/A321663.asm | neoneye/loda-programs | 11 | 15799 | ; A321663: a(n) = prime(n)^prime(n+2).
; Submitted by <NAME>
; 32,2187,48828125,96889010407,505447028499293771,1461920290375446110677,19967568900859523802559065713,12129821994589221844500501021364910179,1635170022196481349560959748587682926364327,1284475787728524720826927656893473276744000042113841709
mov $2,$0
add $0... |
programs/oeis/325/A325689.asm | karttu/loda | 0 | 2235 | ; A325689: Number of length-3 compositions of n such that no part is the sum of the other two.
; 0,0,0,1,0,6,4,15,12,28,24,45,40,66,60,91,84,120,112,153,144,190,180,231,220,276,264,325,312,378,364,435,420,496,480,561,544,630,612,703,684,780,760,861,840,946,924,1035,1012,1128,1104,1225,1200,1326,1300,1431
mov $1,$0
mov... |
wof/lcs/base/2CC.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 90743 | copyright zengfr site:http://github.com/zengfr/romhack
0029B2 move.w D1, ($6,A4)
002A24 move.w ($6,PC,D0.w), D2 [base+28C, base+2AC, base+2CC]
002A8A move.b #$c, ($d,A4) [base+28C, base+2AC, base+2CC]
002AAE move.b #$c, ($d,A4) [base+28C, base+2AC, base+2CC]
002BC2 move.b #$c, ($d,A4) [base+28C, base+2AC, b... |
ch02/2_power_11.asm | zzb610/asm-learn | 0 | 167684 | ASSUME cs:code
code SEGMENT
mov ax, 2
mov cx, 11
s: add ax, ax
loop s
mov ax, 4c00H
code ENDS
END |
src/Web/URI.agda | agda/agda-web-uri | 1 | 15094 | <reponame>agda/agda-web-uri
open import Data.Bool using ( Bool ; true ; false ; _∨_ )
open import Data.List.Primitive using ( #List ; [] ; _∷_ )
open import Data.Maybe using ( Maybe ; just ; nothing )
open import Data.Maybe.Primitive using ( #Maybe ; just ; nothing )
open import Data.String using ( String )
open import... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.