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/234/A234787.asm | neoneye/loda-programs | 11 | 96335 | ; A234787: Cubes (with at least two digits) that become squares when their rightmost digit is removed.
; 1000,64000,729000,4096000,15625000,46656000,117649000,262144000,531441000,1000000000,1771561000,2985984000,4826809000,7529536000,11390625000,16777216000,24137569000,34012224000,47045881000,64000000000,85766121000,11... |
Search and Sort/Merge Sort.asm | MrR0B0T777/MIPS_Programming | 0 | 86117 | <reponame>MrR0B0T777/MIPS_Programming<gh_stars>0
.data
array: .word 1 2 3 6 4
arraySize: .word 5
c: .word 0:100
.text
main:
la $a0, array
addi $a1, $0, 0
addi $a2, $0, 4
jal mergesort
jal Print #print array
li $v0, 10
syscall
mergesort:
blt $a1, $a2, ret
addi $sp, $sp, -16
sw $ra, 12($sp)
sw $a1, 8($sp)
sw $a2, 4... |
libsrc/stdio/__printf_handle_ll.asm | ahjelm/z88dk | 640 | 86093 | <filename>libsrc/stdio/__printf_handle_ll.asm
IF !__CPU_INTEL__ && !__CPU_GBZ80__
MODULE __printf_handle_ll
SECTION code_clib
PUBLIC __printf_handle_ll
EXTERN __printf_format_table64
EXTERN __printf_format_search_loop
; Entry: hl = fmt
; de = ap
; ix = printf context
__printf_handle_ll... |
case-studies/performance/verification/alloy/ppc/tests/bclwdww010.als | uwplse/memsynth | 19 | 3383 | module tests/bclwdww010
open program
open model
/**
PPC bclwdww010
"DpsR Fre LwSyncdWW Wse LwSyncdWW Rfe"
Cycle=DpsR Fre LwSyncdWW Wse LwSyncdWW Rfe
Relax=BCLwSyncdWW
Safe=Fre Wse LwSyncdWW DpsR
{
0:r2=y; 0:r4=x;
1:r2=x; 1:r4=y;
2:r2=y;
}
P0 | P1 | P2 ;
li r1,2 | li r1,2 | l... |
programs/oeis/201/A201004.asm | neoneye/loda | 0 | 165940 | <filename>programs/oeis/201/A201004.asm
; A201004: Triangular numbers, T(m), that are five-quarters of another triangular number; T(m) such that 4*T(m) = 5*T(k) for some k.
; 0,45,14535,4680270,1507032450,485259768675,156252138480945,50312703331095660,16200534220474321620,5216521706289400466025,167970378889096647573847... |
libsrc/adt/stack/adt_StackPeek.asm | jpoikela/z88dk | 640 | 23803 | ; void __FASTCALL__ *adt_StackPeek(struct adt_Stack *s)
; 09.2005, 11.2006 aralbrec
SECTION code_clib
PUBLIC adt_StackPeek
PUBLIC _adt_StackPeek
; return the item at the top of the stack
; but don't pop it!
;
; enter: HL = struct adt_Stack *
; exit : HL = item at top of stack or 0 if stack empty
.adt_StackPeek
._adt... |
Language/language4.asm | Unshifted1337/AssemblyExercises | 0 | 89170 | <reponame>Unshifted1337/AssemblyExercises
f4:
subq $40, %rsp
movl $1, (%rsp)
movl $0, 16(%rsp)
.L2:
leaq 16(%rsp), %rsi
movq %rsp, %rdi
call callfunc
movl 16(%rsp), %eax
cmpl %eax, (%rsp)
jne .L2
addq $40, %rsp
r... |
Cats/Limit.agda | JLimperg/cats | 24 | 2669 | <filename>Cats/Limit.agda
{-# OPTIONS --without-K --safe #-}
module Cats.Limit where
open import Level
open import Cats.Category.Base
open import Cats.Category.Cones as Cones using
(Cone ; Cones ; ConesF ; cone-iso→obj-iso)
open import Cats.Category.Constructions.Terminal using (HasTerminal)
open import Cats.Catego... |
Source/display.ads | XMoose25X/Advanced-Dungeon-Assault | 1 | 25398 | <reponame>XMoose25X/Advanced-Dungeon-Assault<gh_stars>1-10
package display is
--IMPORTANT: This function must be called before any other functions
--This Initializes the package for use
procedure Initialize(width, height : Integer);
--The color type consists of 4 ANSI codes in series [ 0 ; 27 ; 37 ; 40 m
--A cod... |
proglangs-learning/Agda/plfa-exercises/part1/Decidable.agda | helq/old_code | 0 | 7724 | <filename>proglangs-learning/Agda/plfa-exercises/part1/Decidable.agda
module plfa-exercises.part1.Decidable where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; sym; cong)
open Eq.≡-Reasoning
open import Data.Nat using (ℕ; zero; suc; pred)
open import Data.Product using (_×_) renaming (_,... |
source/league/matreshka-internals-settings-ini_managers-paths__posix.adb | svn2github/matreshka | 24 | 19878 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
libsrc/_DEVELOPMENT/adt/b_vector/c/sccz80/b_vector_resize_callee.asm | teknoplop/z88dk | 8 | 16696 |
; int b_vector_resize(b_vector_t *v, size_t n)
SECTION code_clib
SECTION code_adt_b_vector
PUBLIC b_vector_resize_callee
EXTERN asm_b_vector_resize
b_vector_resize_callee:
pop hl
pop de
ex (sp),hl
jp asm_b_vector_resize
|
Ada/gnat/hw.adb | egustafson/sandbox | 2 | 28144 | <filename>Ada/gnat/hw.adb
with TEXT_IO; use TEXT_IO;
procedure HW is
task HELLO;
task WORLD is
entry PRINT_NOW;
end WORLD;
-- --
-- End of type declairations. --
-- --
task body HELLO is
begin
PUT("Hello, ");
WORLD.PRINT_NOW;
end HELLO;
... |
programs/oeis/090/A090417.asm | jmorken/loda | 1 | 167082 | ; A090417: Primes of the form floor(2*Pi*n/(e*log(n))).
; 7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281
add $0,3
cal $0,40 ; The prime numbers.
mov $1,$0
|
oeis/241/A241606.asm | neoneye/loda-programs | 11 | 243967 | <filename>oeis/241/A241606.asm
; A241606: A linear divisibility sequence of the fourth order related to A003779.
; Submitted by <NAME>
; 1,11,95,781,6336,51205,413351,3335651,26915305,217172736,1752296281,14138673395,114079985111,920471087701,7426955448000,59925473898301,483517428660911,3901330906652795,314784575140912... |
src/gen-commands-docs.adb | Letractively/ada-gen | 0 | 13707 | -----------------------------------------------------------------------
-- gen-commands-docs -- Extract and generate documentation for the project
-- Copyright (C) 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in... |
out/Sum/Signature.agda | JoeyEremondi/agda-soas | 39 | 6914 | {-
This second-order signature was created from the following second-order syntax description:
syntax Sum | S
type
_⊕_ : 2-ary | l30
term
inl : α -> α ⊕ β
inr : β -> α ⊕ β
case : α ⊕ β α.γ β.γ -> γ
theory
(lβ) a : α f : α.γ g : β.γ |> case (inl(a), x.f[x], y.g[y]) = f[a]
(rβ) b : β f... |
sample_tests/basic.asm | NullOsama/SIC-Assembler | 0 | 243893 | COPY START 1000
FIRST STL RETADR
CLOOP JSUB RDREC
LDA LENGTH
COMP ZERO
JEQ ENDFIL
JSUB WRREC
J CLOOP
ENDFIL LDA EOF
STA BUFFER
LDA THREE
STA LENGTH
JSUB WRREC
LDL RETADR
RSUB
EOF BYTE C'EOF'
THREE WORD 3
ZERO WORD 0
RETADR RESW 1
LENGTH RESW 1
BUFFER RESB 4096
RDREC LDX ZERO
LDA ZERO
RLOOP TD INPUT
JEQ ... |
Cubical/Structures/Constant.agda | RobertHarper/cubical | 0 | 5428 | <filename>Cubical/Structures/Constant.agda
{-
Constant structure: _ ↦ A
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Structures.Constant where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.SIP
private
variable
ℓ ℓ' : Leve... |
gfx/pokemon/charmeleon/anim.asm | Dev727/ancientplatinum | 28 | 9505 | <filename>gfx/pokemon/charmeleon/anim.asm
frame 3, 08
frame 2, 08
frame 3, 08
frame 2, 08
frame 1, 15
frame 3, 08
frame 4, 30
endanim
|
src/input/input_xy.asm | furrtek/GB303 | 90 | 160840 | <reponame>furrtek/GB303<gh_stars>10-100
input_xy:
call playstop
ld a,(JOYP_CURRENT) ;Select ?
bit 2,a
ret nz
ld a,(HWOK_ADC) ;No controls if pots are OK
or a
ret nz
ld a,(JOYP_ACTIVE)
bit 4,a
jr z,+
ld a,(CUTOFFSET)
cp 96-1
jr ... |
src/sdl-events-keyboards.adb | Fabien-Chouteau/sdlada | 89 | 30077 | <gh_stars>10-100
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- ... |
src/servlet-routes-servlets-rest.ads | My-Colaborations/ada-servlet | 6 | 21856 | <reponame>My-Colaborations/ada-servlet<gh_stars>1-10
-----------------------------------------------------------------------
-- servlet-reoutes-servlets-rest -- Route for the REST API
-- Copyright (C) 2016 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
--... |
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_saddr2aaddr.asm | meesokim/z88dk | 0 | 173139 | <filename>libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_saddr2aaddr.asm
; void *zx_saddr2aaddr(void *saddr)
SECTION code_arch
PUBLIC zx_saddr2aaddr
zx_saddr2aaddr:
INCLUDE "arch/zx/display/z80/asm_zx_saddr2aaddr.asm"
|
programs/oeis/057/A057037.asm | karttu/loda | 0 | 168732 | <gh_stars>0
; A057037: Let R(i,j) be the rectangle with antidiagonals 1; 2,3; 4,5,6; ...; each k is an R(i(k),j(k)) and A057037(n)=j(2n-1).
; 1,1,2,4,2,5,3,1,5,3,1,6,4,2,8,6,4,2,9,7,5,3,1,9,7,5,3,1,10,8,6,4,2,12,10,8,6,4,2,13,11,9,7,5,3,1,13,11,9,7,5,3,1,14,12,10,8,6,4,2,16,14,12,10,8,6,4,2,17,15,13,11,9,7,5,3,1,17,15,... |
programs/oeis/010/A010986.asm | karttu/loda | 1 | 245921 | ; A010986: Binomial coefficient C(n,33).
; 1,34,595,7140,66045,501942,3262623,18643560,95548245,445891810,1917334783,7669339132,28760021745,101766230790,341643774795,1093260079344,3348108992991,9847379391150,27900908274925,76360380541900,202355008436035,520341450264090,1300853625660225,3167295784216200,7522327487513475... |
a05/a05A.asm | Sahilsinggh/MP_SEM4 | 1 | 166238 | global fileDescriptor,char,buffer,lenText;
extern _TextCount;
%include "macro.asm"
section .data
dash: db 10,"----------------------------------------------------------",10;
lenDash: equ $-dash;
reqFile: db "Enter File Name (with extension): ";
lenReqFile: equ $-reqFile;
reqChar: db "Enter Chara... |
data/tilesets/ledge_tiles.asm | opiter09/ASM-Machina | 1 | 102461 | <reponame>opiter09/ASM-Machina
LedgeTiles:
; player direction, tile player standing on, ledge tile, input required
db SPRITE_FACING_DOWN, $2C, $37, D_DOWN
db SPRITE_FACING_DOWN, $39, $36, D_DOWN
db SPRITE_FACING_DOWN, $39, $37, D_DOWN
db SPRITE_FACING_LEFT, $2C, $27, D_LEFT
db SPRITE_FACING_LEFT, $39, $27, D... |
tools/configure/configure-rtl_version.adb | svn2github/matreshka | 24 | 29516 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
src/dovado_rtl/antlr/old_grammars/SysVerilogHDL.g4 | DavideConficconi/dovado | 12 | 5718 | <reponame>DavideConficconi/dovado<gh_stars>10-100
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License.
//*******************************************************************/
// * Company: Microsoft Corporation */ * Engineer: <NAME> */ * */ * Revision: */ *
// Revision 0.1.0 - In... |
Trash/test/Fold.g4 | studentmain/AntlrVSIX | 67 | 5257 | <filename>Trash/test/Fold.g4
grammar A;
s : a ;
a : e ( ';' e )+ ;
e : e '*' e | INT ;
SEMI : ';' ;
MUL : '*' ;
INT : [0-9]+ ;
WS : [ \t\n]+ -> skip ;
|
src/main/resources/project-templates/aws_web_server_blocks/src/@_project_name_@-ajax.adb | WinterAlexander/Ada-IntelliJ | 17 | 21020 |
with AWS.Utils;
with WBlocks.Widget_Counter;
package body @_Project_Name_@.Ajax is
use AWS;
use AWS.Services;
------------------
-- Onclick_Incr --
------------------
procedure Onclick_Incr
(Request : in Status.Data;
Context : not null access Web_Block.Context.O... |
alloy4fun_models/trainstlt/models/4/hEhaeHs2CkvFnZAwP.als | Kaixi26/org.alloytools.alloy | 0 | 3889 | <filename>alloy4fun_models/trainstlt/models/4/hEhaeHs2CkvFnZAwP.als
open main
pred idhEhaeHs2CkvFnZAwP_prop5 {
all t:Train| {
always (t.pos in Exit implies no t.pos')
}
}
pred __repair { idhEhaeHs2CkvFnZAwP_prop5 }
check __repair { idhEhaeHs2CkvFnZAwP_prop5 <=> prop5o } |
src/game.asm | Pentacour/viruslqp79_msx | 4 | 5491 | <filename>src/game.asm
MODULE MGAME
K_MAX_CONTINUES_FOR_GOOD_ENDING EQU 3
;===========================================
;::SHOW_INTRO
;===========================================
SHOW_INTRO
CALL LOAD_INTRO
CALL PLAYER_OFF
... |
dv3/fd/pcf/p2ms.asm | olifink/smsqe | 0 | 17476 | <reponame>olifink/smsqe<gh_stars>0
; DV3 PC Compatible Pause 2 ms 2000 <NAME>
section dv3
xdef fd_p2ms ; pause 2 ms
xref.l fdc_stat
include 'dev8_dv3_keys'
include 'dev8_dv3_fd_keys'
;+++
; Pause 2 ms
;
; all registers preserved
;
;---
fd_p2ms
fp2.reg reg d0/a0
movem.l fp2.reg,-(sp)
lea fd... |
software/hal/boards/components/MS5611/ms5611-driver.ads | TUM-EI-RCS/StratoX | 12 | 28869 | -- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: <NAME> (<EMAIL>)
-- <NAME> (<EMAIL>)
with Units;
-- @summary Driver for the Barometer MS5611-01BA03
package MS5611.Driver with SPARK_Mode,
Abstract_State => (State, C... |
src/PJ/flic386p/libsrc/gluecode/convclk.asm | AnimatorPro/Animator-Pro | 119 | 104205 | ;*****************************************************************************
;* CONVCLK.ASM - Code to convert clock values between milliseconds and jiffies
;*****************************************************************************
include stdmacro.i
_DATA segment
clockscale dd (256*1000)/70
SHIFTSCA... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_2574_369.asm | ljhsiun2/medusa | 9 | 102562 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x143cd, %r10
nop
nop
nop
nop
nop
cmp $18692, %r14
mov (%r10), %di
nop
nop
nop
nop
nop
and $26313, %r14
lea addresses_A_ht+0x15f9f, %rsi
lea addresses_UC_ht+0xd997, %rdi
clflus... |
data/jpred4/jp_batch_1613899824__ncAp6aK/jp_batch_1613899824__ncAp6aK.als | jonriege/predict-protein-structure | 0 | 4418 | SILENT_MODE
BLOCK_FILE jp_batch_1613899824__ncAp6aK.concise.blc
MAX_NSEQ 813
MAX_INPUT_LEN 815
OUTPUT_FILE jp_batch_1613899824__ncAp6aK.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75
DEFINE_FONT 7 Helvetica REL 0.6
DEFINE_FO... |
externals/mpir-3.0.0/mpn/x86_64w/k8/addlsh_n.asm | JaminChan/eos_win | 12 | 173695 | ; PROLOGUE(mpn_addlsh_n)
; Copyright 2009 <NAME>
;
; Windows Conversion Copyright 2008 <NAME>
;
; This file is part of the MPIR Library.
;
; The MPIR Library is free software; you can redistribute it and/or modify
; it under the terms of the GNU Lesser General Public License as published
; by the Free Software F... |
notes/papers/fossacs-2012/Examples.agda | asr/fotc | 11 | 13395 | <filename>notes/papers/fossacs-2012/Examples.agda
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --without-K #-}
module Examples where
data _∨_ (A B : Set) : Set where
inl : A → A ∨ B
inr : B → A ∨ B
post... |
nicolai/thesis/HHHUU-ComplicatedTypes.agda | nicolaikraus/HoTT-Agda | 1 | 9910 | <gh_stars>1-10
{-# OPTIONS --without-K #-}
{- Here, we derive our main theorem: there is a type in the n-th universe
that is not an n-type, implying the n-th universe is not n-truncated.
The n-th universe restricted to n-types is hence a 'strict' n-type.
For this, we first derive local-global looping in a mod... |
oeis/090/A090115.asm | neoneye/loda-programs | 11 | 13148 | ; A090115: a(n)=Product[p(n)-j, j=1..n]/n!=A090114(n)/n!.
; 1,1,4,15,252,924,11440,43758,497420,13123110,54627300,1251677700,12033222880,52860229080,511738760544,10363194502115,197548686920970,925029565741050,17302625882942400,161884603662657876
mov $2,$0
seq $0,40 ; The prime numbers.
sub $0,1
add $2,1
bin $0,$2
|
oeis/213/A213772.asm | neoneye/loda-programs | 11 | 245132 | ; A213772: Principal diagonal of the convolution array A213771.
; 1,11,42,106,215,381,616,932,1341,1855,2486,3246,4147,5201,6420,7816,9401,11187,13186,15410,17871,20581,23552,26796,30325,34151,38286,42742,47531,52665,58156,64016,70257,76891,83930,91386,99271,107597,116376,125620,135341,145551,156262,167486,179235,19152... |
programs/oeis/051/A051869.asm | karttu/loda | 1 | 83638 | ; A051869: 17-gonal (or heptadecagonal) numbers: n*(15*n-13)/2.
; 0,1,17,48,94,155,231,322,428,549,685,836,1002,1183,1379,1590,1816,2057,2313,2584,2870,3171,3487,3818,4164,4525,4901,5292,5698,6119,6555,7006,7472,7953,8449,8960,9486,10027,10583,11154,11740,12341,12957,13588,14234,14895,15571,16262,16968,17689,18425,1917... |
aes_mbr/boot.asm | DavidBuchanan314/cursed-code | 3 | 93594 | BITS 16
ORG 0x7c00
start:
cli
xor ax, ax
mov ds, ax
mov es, ax
mov fs, ax
mov ss, ax
mov gs, ax ; TODO: these might not all be needed, could save some bytes maybe
xor bx, bx
mov sp, 0x7c00
; what osdev says to do to enable SSE
mov eax, cr0
and ax, 0xfffb
or ax, 0x2
mov cr0, eax
mov eax, cr4
or ax, 3 ... |
1-base/math/source/generic/pure/geometry/trigonometry/any_math-any_fast_trigonometry.ads | charlie5/lace | 20 | 6676 | with
cached_Trigonometry;
generic
package any_math.any_fast_Trigonometry
is
package Default is new cached_Trigonometry (Float_type => any_Math.Real,
slot_Count => 10_000);
end any_math.any_fast_Trigonometry;
|
programs/oeis/100/A100886.asm | jmorken/loda | 1 | 163724 | <gh_stars>1-10
; A100886: Expansion of x*(1+3*x+2*x^2)/((1+x+x^2)*(1-x-x^2)).
; 0,1,3,3,5,10,14,23,39,61,99,162,260,421,683,1103,1785,2890,4674,7563,12239,19801,32039,51842,83880,135721,219603,355323,574925,930250,1505174,2435423,3940599,6376021,10316619,16692642,27009260,43701901,70711163,114413063,185124225,299537290... |
Task/Shell-one-liner/Ada/shell-one-liner.ada | LaudateCorpus1/RosettaCodeData | 1 | 6219 | echo 'with Ada.text_IO; use Ada.text_IO; procedure X is begin Put("Hello!"); end X;' > x.adb; gnatmake x; ./x; rm x.adb x.ali x.o x
|
src/connections/adabase-connection-base-mysql.ads | jrmarino/AdaBase | 30 | 16435 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
with AdaBase.Interfaces.Connection;
with AdaBase.Bindings.MySQL;
with Ada.Exceptions;
package AdaBase.Connection.Base.MySQL is
package AIC renames AdaBase.Interfaces.Connection;
package ABM renames AdaBa... |
2 Year/2015 Pattern/MPL/Assignment 7.asm | bhushanasati25/College | 4 | 22111 | <filename>2 Year/2015 Pattern/MPL/Assignment 7.asm
;Write X86 program to sort the list of integers in ;ascending/descending order.
;Read the input from the text file and write the sorted data back ;to the same text file using bubble sort
section .data
fname db 'a.txt',0
msg1 db 'File opened Sucessfully',0xa
len1... |
My Codes/Lab_1/Lab1.asm | jahinmahbub/CSE331L_Section_7_Summer_2020_NSU | 0 | 9174 |
; You may customize this and other start-up templates;
; The location of this template is c:\emu8086\inc\0_com_template.txt
org 100h ; #include<stdio.h>
;Variable declaration
;A DB 10; int a = 10 Data Type: Define Byte (8 bits of space)
;B DW 15; int b = 15 Data Type: Define word (16 Bits of space)
;K EQU 10; ... |
oeis/099/A099072.asm | neoneye/loda-programs | 11 | 246880 | ; A099072: First differences of A000960, divided by 2.
; Submitted by <NAME>
; 1,2,3,3,4,6,5,7,8,6,9,12,7,17,13,8,15,18,9,21,19,6,30,11,24,19,23,18,30,27,22,18,42,11,30,42,9,39,36,30,19,56,6,48,57,13,44,46,17,45,69,13,41,49,56,27,85,18,30,84,26,64,26,64,47,54,45,94,17,36,85,60,23,79,98
mov $2,$0
mov $4,2
lpb $4
mov ... |
testsuite/ubic/output/ncurses_4.asm | alexgarzao/UOP | 0 | 90971 | <reponame>alexgarzao/UOP
.constant_pool
.const 0 string [start]
.const 1 string [constructor]
.const 2 string [main_win]
.const 3 string [perfil_win]
.const 4 string [ncurses.initscr]
.const 5 string [ncurses.refresh]
.const 6 int [17]
.const 7 int [80]
.const 8 int ... |
benchmark/benchmark_graph_1.adb | skill-lang/skillAdaTestSuite | 1 | 12598 | with Ada.Numerics.Discrete_Random;
with Ada.Text_IO;
with Ada.Unchecked_Deallocation;
with Hashing;
with Graph_1.Api;
package body Benchmark_Graph_1 is
package Skill renames Graph_1.Api;
use Graph_1;
use Skill;
type State_Type is access Skill_State;
State : State_Type;
procedure Create (N : Integ... |
Patches/Multiplayer_Hack/ASM/menu_music.asm | abitalive/SuperSmashBros | 4 | 100814 | // Menu music
constant SramTrackMenu(0x7F00) // Menu track variable SRAM location
constant TrackMenu(0x80500002) // Menu track variable location
origin 0x050038
base 0x800D4658
jal MenuMusicRead
origin 0x0500A8
base 0x800D46C8
jal MenuMusicInit
// Boot
origin 0x11DAAC
base 0x80132B1C
jal MenuMusic
// Back from 1P/... |
examples/receive/receive_example.adb | SALLYPEMDAS/DW1000 | 9 | 26119 | -------------------------------------------------------------------------------
-- Copyright (c) 2016 <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... |
alloy4fun_models/trainstlt/models/4/DMdMBNFmH3ggB8RNB.als | Kaixi26/org.alloytools.alloy | 0 | 717 | open main
pred idDMdMBNFmH3ggB8RNB_prop5 {
all t : Train | some (t.pos & Exit) implies Train' = (Train - t) else( t.pos' in t.pos.prox)
}
pred __repair { idDMdMBNFmH3ggB8RNB_prop5 }
check __repair { idDMdMBNFmH3ggB8RNB_prop5 <=> prop5o } |
src/sdl-events-touches.ads | Fabien-Chouteau/sdlada | 1 | 13682 | <filename>src/sdl-events-touches.ads
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable... |
programs/oeis/130/A130974.asm | neoneye/loda | 22 | 25491 | ; A130974: Period 6: repeat [1, 1, 1, 3, 3, 3].
; 1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3,3,3,1,1,1,3
div $0,3
mov $1,3
pow $1,$0
mod $1,8
mov $0,$1
|
programs/oeis/184/A184624.asm | karttu/loda | 0 | 176397 | <reponame>karttu/loda
; A184624: a(n) = floor(n*r +h), where r=sqrt(2), h=-1/4; complement of A184619.
; 1,2,3,5,6,8,9,11,12,13,15,16,18,19,20,22,23,25,26,28,29,30,32,33,35,36,37,39,40,42,43,45,46,47,49,50,52,53,54,56,57,59,60,61,63,64,66,67,69,70,71,73,74,76,77,78,80,81,83,84,86,87,88,90,91,93,94,95,97,98,100,101,102,... |
src/antlr/FasmLexer.g4 | common-config-bot/fasm | 6 | 7024 | // Copyright 2017-2022 F4PGA Authors
//
// 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 agreed... |
programs/oeis/084/A084104.asm | jmorken/loda | 1 | 84766 | ; A084104: A period 6 sequence.
; 1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7
mod $0,6
lpb $0
mul $0,4
mod $0,5
lpe
mov $1,$0
mul $1,3
add $1,1
|
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0.log_21829_1313.asm | ljhsiun2/medusa | 9 | 19758 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1b645, %rsi
lea addresses_WC_ht+0x7495, %rdi
nop
nop
add $33879, %rbp
mov $71, %rcx
rep movsw
nop
nop
nop
nop
nop
add $60903, %r14
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %r14
r... |
smsq/qpc/ip/io.asm | olifink/smsqe | 0 | 241807 | <reponame>olifink/smsqe
; IP IO routines V1.00 2004 <NAME>
section ip
xdef ip_io
xref io_ckchn
include 'dev8_keys_err'
include 'dev8_keys_socket'
include 'dev8_smsq_qpc_keys'
include 'dev8_smsq_qpc_ip_data'
ip_io
move.l a0,-(sp)
; cmp.l #ip.accept,d0
; beq.s ip_chan1
; cmp.l #ip.dup,d0
; ... |
oeis/142/A142526.asm | neoneye/loda-programs | 11 | 3077 | <gh_stars>10-100
; A142526: Primes congruent to 41 mod 52.
; Submitted by <NAME>
; 41,197,353,457,509,613,769,821,977,1237,1289,1549,1601,1861,1913,2017,2069,2381,2693,2797,2953,3109,3733,3889,4201,4253,4357,4409,4513,4721,4877,5189,5449,5501,5657,5813,6073,6229,7321,7477,7529,7789,7841,8101,8933,9349,9661,9817,9973,10... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/NES_Ver2/us_asm/zel_dmap.asm | prismotizm/gigaleak | 0 | 87491 | <filename>other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/NES_Ver2/us_asm/zel_dmap.asm<gh_stars>0
Name: zel_dmap.asm
Type: file
Size: 90418
Last-Modified: '2016-05-13T04:27:09Z'
SHA-1: 634E4118EB117FC1FC465552D4935DE088CE504F
Description: null
|
src/data.ads | Rassol/AdaSem | 0 | 23189 | <gh_stars>0
-- Specification of class called data
-- This class is generic type class
generic
n:Integer; -- Parametr used in class
p:Integer;
package data is
--Declaration of private types
type Vector is private;
type Matrix is private;
--Input Vector from keyboard
procedure Vector_I... |
Send Info.applescript | EnglishLFC/Omnifocus | 0 | 114 | <reponame>EnglishLFC/Omnifocus
(*
Script that takes clipboard text and makes an OmniFocus task to send that info to a person.
Puts the task in Miscellaneous
Gives it the context Email
Sets a due date in 2 days from now
Blame: <NAME> <EMAIL>
*)
set theProject to "Miscellaneous"
set theTaskTitle to "Send information to ... |
src/tk/tk-winfo.adb | thindil/tashy2 | 2 | 11309 | -- 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... |
srcs/vm/svm.asm | gamozolabs/falkervisor_grilled_cheese | 145 | 162760 | <reponame>gamozolabs/falkervisor_grilled_cheese<filename>srcs/vm/svm.asm
[bits 64]
section .text
struc vm
.host_vmcb: resq 1
.vmcb: resq 1
.host_vmcb_pa: resq 1
.vmcb_pa: resq 1
.host_xsave: resq 1
.xsave: resq 1
endstruc
struc gprs
.rax: resq 1
.rbx: resq 1
.rcx: resq 1
.rdx: resq 1
.rdi... |
programs/oeis/133/A133891.asm | karttu/loda | 1 | 12160 | <reponame>karttu/loda<gh_stars>1-10
; A133891: Binomial(n+p,n) mod p, where p=12.
; 1,1,7,11,8,8,0,0,6,2,2,2,4,4,4,0,3,3,9,9,0,0,0,0,0,0,0,4,4,4,8,8,5,9,3,3,8,8,8,4,10,10,6,6,0,0,0,0,3,3,9,9,0,0,4,4,4,8,8,8,0,0,0,8,5,5,7,7,4,0,0,0,6,6,6,6,0,0,0,0,3,7,1,1,8,8,8,0,0,0,8,8,8,4,4,4,9,9,3,3,0,0,0,0
mov $1,$0
add $1,12
bin ... |
Ada95/samples/sample-menu_demo-handler.adb | arc-aosp/external_libncurses | 35 | 30158 | ------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- --
-- ... |
libsrc/msx/msx_noblank.asm | RC2014Z80/z88dk | 8 | 162349 | ;
; MSX specific routines
; by <NAME>, 30/11/2007
;
; void msx_noblank();
;
; Enable screen
;
; $Id: msx_noblank.asm,v 1.5 2016-06-16 19:30:25 dom Exp $
;
SECTION code_clib
PUBLIC msx_noblank
PUBLIC _msx_noblank
EXTERN msxbios
INCLUDE "msxbios.def"
msx_noblank:
_msx_noblank:
push ix
ld ix,ENASC... |
Cubical/Algebra/CommAlgebra/FreeCommAlgebra/Properties.agda | howsiyu/cubical | 0 | 11386 | {-# OPTIONS --safe #-}
module Cubical.Algebra.CommAlgebra.FreeCommAlgebra.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Structure
open import Cubical.Fou... |
programs/oeis/177/A177018.asm | jmorken/loda | 1 | 9764 | ; A177018: a(n) is the smallest integer >= a(n-1) such that a(n) + A067076(n) + n-1 is an odd prime.
; 3,3,3,4,4,5,5,6,8,8,10,11,11,12,14,16,16,18,19,19,21,22,24,27,28,28,29,29,30,36,37,39,39,43,43,45,47,48,50,52,52,56,56,57,57,62,67,68,68,69,71,71,75,77,79,81,81,83,84,84,88,94,95,95,96,102,104,108,108,109,111,114,116,... |
src/generate-offset-tiles.asm | santiontanon/triton | 41 | 90100 | ;-----------------------------------------------
; inputs:
; - base_tiles are uncompressed in "buffer"
; - tile type offsets uncompressed in "tileTypeBuffers"
generate_offset_tiles:
; 1) calculate base tile pattern and attribute pointers and put them in IX and IY
ld ix,buffer
ld l,(ix)
inc ix
ld h,(ix)
inc ix
ld... |
programs/oeis/170/A170792.asm | neoneye/loda | 22 | 17190 | <gh_stars>10-100
; A170792: a(n) = n^9*(n^10 + 1)/2.
; 0,1,262400,581140575,137439084544,9536744140625,304679875044096,5699447612863375,72057594105036800,675425859030206289,5000000000500000000,30579545225386246991,159739999687891353600,730960145193025305025,2988151979484787721984,11084189100284724609375,377789318629915... |
hmi_sdk/hmi_sdk/Tools/ffmpeg-2.6.2/libavcodec/x86/h264_weight.asm | APCVSRepo/android_packet | 4 | 91945 | <reponame>APCVSRepo/android_packet
;*****************************************************************************
;* SSE2-optimized weighted prediction code
;*****************************************************************************
;* Copyright (c) 2004-2005 <NAME>, <NAME>
;* Copyright (C) 2010 <NAME> <<EMAIL>>... |
programs/oeis/289/A289721.asm | karttu/loda | 0 | 83022 | ; A289721: Let a(0)=1. Then a(n) = sums of consecutive strings of positive integers of length 3*n, starting with the integer 2.
; 1,9,45,135,306,585,999,1575,2340,3321,4545,6039,7830,9945,12411,15255,18504,22185,26325,30951,36090,41769,48015,54855,62316,70425,79209,88695,98910,109881,121635,134199,147600,161865,177021,... |
alloy4fun_models/trashltl/models/11/2nwXkQWCBzstRRMM7.als | Kaixi26/org.alloytools.alloy | 0 | 1771 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id2nwXkQWCBzstRRMM7_prop12 {
always (eventually File in Trash)
}
pred __repair { id2nwXkQWCBzstRRMM7_prop12 }
check __repair { id2nwXkQWCBzstRRMM7_prop12 <=> prop12o } |
lemmas-progress-checks.agda | hazelgrove/hazelnut-agda | 0 | 12033 | open import Nat
open import Prelude
open import dynamics-core
module lemmas-progress-checks where
-- boxed values don't have an instruction transition
boxedval-not-trans : ∀{d d'} → d boxedval → d →> d' → ⊥
boxedval-not-trans (BVVal VNum) ()
boxedval-not-trans (BVVal VLam) ()
boxedval-not-trans (BVArrCast x ... |
List 01/ex 07 (buble sort).asm | LeonardoSanBenitez/Assembly-exercises | 0 | 86252 | <reponame>LeonardoSanBenitez/Assembly-exercises
# Title: Exercice 07
# Author: <NAME>
# Brief: Buble sort in an integer array, in crescent order (the order can be easily changed in code)
# Varibles map
# s0 (i) = outer counter
# s1 (j) = inner counter
# s2 (n) = array size
# s3 = array addr
# Pseudo code C
# for (i=4; ... |
bin/grab-mail-link.scpt | andrewsardone/dotfiles | 16 | 2351 | <filename>bin/grab-mail-link.scpt
#!/usr/bin/env osascript
-- https://thesweetsetup.com/working-email-urls-macos/
tell application "Mail"
set selectedMessages to selection
set theMessage to item 1 of selectedMessages
set messageid to message id of theMessage
-- Make URL (must use URL-encoded values for... |
library/fmGUI_Menus/fmGUI_ClickMenuItem.applescript | NYHTC/applescript-fm-helper | 1 | 3789 | -- fmGUI_ClickMenuItem({menuItemRef:null, waitForMenuAvailable: null})
-- <NAME>, NYHTC
-- click on a menu item in FileMaker
(*
HISTORY:
1.1 - 2017-11-06 ( eshagdar ): we should not wait for the menu item to be available since clicking it may disable it ( e.g. manage DB ). Instead, briefly delay, then exit.
1.0 - 2... |
oeis/178/A178301.asm | neoneye/loda-programs | 11 | 18974 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A178301: Triangle T(n,k) = binomial(n,k)*binomial(n+k+1,n+1) read by rows, 0 <= k <= n.
; Submitted by <NAME>
; 1,1,3,1,8,10,1,15,45,35,1,24,126,224,126,1,35,280,840,1050,462,1,48,540,2400,4950,4752,1716,1,63,945,5775,17325,27027,21021,6435,1,80,1540,12320,50050,112112,... |
source/amf/uml/amf-uml-operations.ads | svn2github/matreshka | 24 | 22655 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
src/ada-pulse/src/pulse-proplist.ads | mstewartgallus/linted | 0 | 22459 | <filename>src/ada-pulse/src/pulse-proplist.ads
-- Copyright 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 r... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_16872_497.asm | ljhsiun2/medusa | 9 | 3105 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_16872_497.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rax
push %rdx
lea addresses_normal_ht+0x7cb8, %r11
nop
nop
xor %rax, %rax
mov (%r11), %r9w
nop
nop
nop
sub %rdx, %rdx
lea addresses_... |
examples/arinc653-sampling/sample-ada/cpu/pr1/main.adb | ana/pok | 0 | 15909 | <gh_stars>0
-- POK header
--
-- The following file is a part of the POK project. Any modification should
-- be made according to the POK licence. You CANNOT use this file or a part
-- of a file for your own project.
--
-- For more information on the POK licence, please see our LICENCE FILE... |
tests/src/Safe_Alloc/sa_arrays_tests.adb | mhatzl/spark_unbound | 8 | 2163 | with Spark_Unbound.Safe_Alloc;
with AUnit.Assertions; use AUnit.Assertions;
with Ada.Exceptions;
package body SA_Arrays_Tests is
procedure TestAlloc_WithForcingStorageError_ResultNullReturned(T : in out Test_Fixture)
is
type Array_Type is array (Integer range <>) of Integer;
type Array_Acc is access... |
base/boot/SingLdrArm/common/memset.asm | sphinxlogic/Singularity-RDK-2.0 | 0 | 102882 | ;
; void *
; memset( void *dest, int c, size_t count );
;
; The memset function sets the first count bytes of
; dest to the character c (value).
;
OPT 2 ; disable listing
INCLUDE kxarm.inc
OPT 1 ; reenable listing
value RN R1 ; int c
count RN R2
dest RN R3
tem... |
oeis/330/A330170.asm | neoneye/loda-programs | 11 | 29244 | ; A330170: a(n) = 2^n + 3^n + 6^n - 1.
; Submitted by <NAME>(s3)
; 10,48,250,1392,8050,47448,282250,1686432,10097890,60526248,362976250,2177317872,13062296530,78368963448,470199366250,2821153019712,16926788715970,101560344351048,609360902796250,3656161927895952,21936961102828210,131621735227521048,789730317205170250,47... |
oeis/275/A275541.asm | neoneye/loda-programs | 11 | 84086 | ; A275541: (n)! + (n + 1)!!/(n + 1) - 2
; Submitted by <NAME>
; 0,0,1,6,25,126,733,5086,40423,363262,3629743,39920638,479011993,6227066878,87178426333,1307675013118,20922791915023,355687438417918,6402373740187423,121645100594626558,2432902008831369073
mov $1,1
mov $2,1
lpb $0
mul $1,$0
add $3,$0
sub $0,2
sub $... |
programs/oeis/267/A267208.asm | karttu/loda | 0 | 90806 | <reponame>karttu/loda<gh_stars>0
; A267208: Middle column of the "Rule 109" elementary cellular automaton starting with a single ON (black) cell.
; 1,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,1,0,1,... |
base/Kernel/Native/arm/cyclecounter.asm | sphinxlogic/Singularity-RDK-2.0 | 0 | 20130 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Microsoft Research Singularity ARM Bootstrap
;;;
;;;
|defining ?g_GetCycleCount@Class_Microsoft_Singularity_Isal_Isa@@SA_KXZ| EQU 1
|defining ?g_EnableCycleCounter@Class_Microsoft_Singularity_Isal_Isa@@SAXXZ| EQU 1
... |
non_regression/switch_x86_macosx.o.asm | LRGH/plasmasm | 1 | 87382 | <gh_stars>1-10
.macosx_version_min 10, 10
.section __TEXT,__text,regular,pure_instructions
.align 4, 0x90
.globl _PyToken_OneChar
_PyToken_OneChar:
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %ecx
cmpl $93, %ecx
jg L0000001C
L0000000B:
cmpl $57, %ecx
jg L0000002D
L000... |
programs/oeis/087/A087165.asm | karttu/loda | 0 | 10678 | <reponame>karttu/loda
; A087165: a(n)=1 when n == 1 (mod 4), otherwise a(n) = a(n - ceiling(n/4)) + 1. Removing all the 1's results in the original sequence with every term incremented by 1.
; 1,2,3,4,1,5,2,6,1,3,7,2,1,4,8,3,1,2,5,9,1,4,2,3,1,6,10,2,1,5,3,4,1,2,7,11,1,3,2,6,1,4,5,2,1,3,8,12,1,2,4,3,1,7,2,5,1,6,3,2,1,4,... |
lib/Explore/Fin.agda | crypto-agda/explore | 2 | 1788 | {-# OPTIONS --without-K #-}
open import Data.Nat
open import Data.Two
open import Data.Zero
open import Data.Fin.NP
open import Type
open import Function
open import Relation.Binary.PropositionalEquality.NP
import Explore.Universe.Base
open import Explore.Core
open import Explore.Zero
open import Explore.One
open impo... |
programs/oeis/010/A010955.asm | jmorken/loda | 1 | 10845 | <filename>programs/oeis/010/A010955.asm
; A010955: Binomial coefficient C(39,n).
; 1,39,741,9139,82251,575757,3262623,15380937,61523748,211915132,635745396,1676056044,3910797436,8122425444,15084504396,25140840660,37711260990,51021117810,62359143990,68923264410,68923264410,62359143990,51021117810,37711260990
mov $1,39
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.