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/033/A033131.asm | neoneye/loda | 22 | 80362 | <reponame>neoneye/loda<gh_stars>10-100
; A033131: Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,0.
; 1,5,20,81,325,1300,5201,20805,83220,332881,1331525,5326100,21304401,85217605,340870420,1363481681,5453926725,21815706900,87262827601,349051310405,1396205241620,558482096... |
oeis/138/A138332.asm | neoneye/loda-programs | 11 | 15951 | <filename>oeis/138/A138332.asm<gh_stars>10-100
; A138332: C(n+7, 7)*(n+4)*(-1)^(n+1)*16.
; -64,640,-3456,13440,-42240,114048,-274560,604032,-1235520,2379520,-4356352,7637760,-12899328,21085440,-33488640,51845376,-78450240,116290944,-169206400,242070400,-341003520,473616000,-649284480,879465600,-1178049600
mov $1,-8
mo... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_check_gstbufferstraw_h.ads | persan/A-gst | 1 | 11271 | pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstpad_h;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h;
package G... |
gcc-gcc-7_3_0-release/gcc/ada/a-ngcoar.adb | best08618/asylo | 7 | 4374 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Classes/script/script/set x of sub1 of main to 88.applescript | looking-for-a-job/applescript-examples | 1 | 4083 | #!/usr/bin/osascript
run script "beep 3"
run script "beep 3" in "AppleScript"
script foo
property x : 5
end script
script foo2
property parent : foo
end script
set foo2's x to 2
x of foo
--> 2
on new_sub_foo()
script sub_foo
property x : 5
end script
end new_sub_foo
script main_foo
property sub1 : new_sub_... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_util.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 17366 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
test/Fail/Issue121.agda | cruhland/agda | 1,989 | 6201 |
module Issue121 where
bad : Set → Set
bad A = A → A
data Bool : Set where
true : Bool
false : Bool
F : Bool → Set → Set
F true = bad
F false = λ A → A
data D : Set where
nop : (b : Bool) → F b D → D
|
arch/ARM/STM32/svd/stm32f7x9/stm32_svd-mdios.ads | rocher/Ada_Drivers_Library | 192 | 19122 | -- This spec has been automatically generated from STM32F7x9.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.MDIOS is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype MDIOS_CR_PORT_ADDRES... |
programs/oeis/154/A154533.asm | neoneye/loda | 22 | 247066 | <gh_stars>10-100
; A154533: Number of constants of the form a^3*u + b*c*v, where a, b, c are linear, u of order n-3 and v of order n-2.
; 10,9,10,13,18,25,34,45,58,73,90,109,130,153,178,205,234,265,298,333,370,409,450,493,538,585,634,685,738,793,850,909,970,1033,1098,1165,1234,1305,1378,1453,1530,1609,1690,1773,1858,19... |
src/ldlc-algo/ldlc-algo-nosingle.agda | kcaliban/ldlc | 0 | 5848 | -- {-# OPTIONS --show-implicit #-} -- in case of emergency
module ldlc-algo-nosingle where
open import Data.Nat renaming (_+_ to _+ᴺ_ ; _≤_ to _≤ᴺ_ ; _≥_ to _≥ᴺ_ ; _<_ to _<ᴺ_ ; _>_ to _>ᴺ_ ; _≟_ to _≟ᴺ_)
open import Data.Nat.Properties renaming (_<?_ to _<ᴺ?_)
open import Data.Integer renaming (_+_ to _+ᶻ_ ; _≤_ to _... |
Lab Assessment Submission/Lab Assessment 1/LA1_1731201.asm | sakibsadmanshajib/CSE331L-Section-1-Fall20-NSU | 0 | 173571 | ; ADD 3 integers using only AX register and save the value in AX register
org 100h
MOV AX, 00
ADD AX, 05
ADD AX, 09
ADD AX, 03
ret |
programs/oeis/070/A070338.asm | neoneye/loda | 22 | 4476 | ; A070338: a(n) = 2^n mod 33.
; 1,2,4,8,16,32,31,29,25,17,1,2,4,8,16,32,31,29,25,17,1,2,4,8,16,32,31,29,25,17,1,2,4,8,16,32,31,29,25,17,1,2,4,8,16,32,31,29,25,17,1,2,4,8,16,32,31,29,25,17,1,2,4,8,16,32,31,29,25,17,1,2,4,8,16,32,31,29,25,17,1,2,4,8,16,32,31,29,25,17,1,2,4,8,16,32,31,29,25,17
mov $1,1
mov $2,$0
lpb $2
... |
test/Succeed/PrimSeq.agda | shlevy/agda | 1,989 | 9650 | <filename>test/Succeed/PrimSeq.agda
module _ where
open import Common.Prelude
open import Common.Equality
primitive
primForce : ∀ {a b} {A : Set a} {B : A → Set b} (x : A) → (∀ x → B x) → B x
primForceLemma : ∀ {a b} {A : Set a} {B : A → Set b} (x : A) (f : ∀ x → B x) → primForce x f ≡ f x
force = primForc... |
oeis/081/A081194.asm | neoneye/loda-programs | 11 | 13649 | ; A081194: a(n) = 8*a(n-1) -15*a(n-2), a(0)=1, a(1)=16.
; Submitted by <NAME>
; 1,16,113,664,3617,18976,97553,495784,2502977,12587056,63151793,316408504,1583991137,7925801536,39646545233,198285338824,991584532097,4958396174416,24793401413873,123971268694744,619869128349857,3099383996377696,15497035045773713,77485520420... |
programs/oeis/037/A037491.asm | karttu/loda | 0 | 100949 | ; A037491: Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 2,1.
; 2,13,80,481,2888,17329,103976,623857,3743144,22458865,134753192,808519153,4851114920,29106689521,174640137128,1047840822769,6287044936616,37722269619697,226333617718184,1358001706309105
mov $1,6
lpb $0,1
sub... |
libsrc/target/lm80c/stdio/getk.asm | ahjelm/z88dk | 640 | 245215 |
SECTION code_clib
PUBLIC getk
PUBLIC _getk
EXTERN LASTKEYPRSD
.getk
._getk
ld h,0
ld a,(LASTKEYPRSD)
ld l,a
IF STANDARDESCAPECHARS
cp 13
jr nz,not_return
ld l,10
.not_return
ENDIF
xor a
ld (LASTKEYPRSD),a
ret
|
x64.asm | tandasat/ksm | 6 | 162942 | ; Copyright (c) 2015-2016, tandasat. All rights reserved . Original initialization code
; Copyright (C) 2015-2016, asamy, improvements and added support for IDT #VE handling, and optimized some operations
EXTERN vcpu_handle_exit : PROC
EXTERN vcpu_handle_fail : PROC
EXTERN vcpu_dump_regs : PROC
EXTERN vcpu_subverted :... |
src/toml.ads | pmderodat/ada-toml | 19 | 26998 | <reponame>pmderodat/ada-toml<filename>src/toml.ads
with Ada.Finalization;
with Ada.Strings.Unbounded;
with Interfaces;
package TOML with Preelaborate is
pragma Warnings (Off);
use type Ada.Strings.Unbounded.Unbounded_String;
pragma Warnings (On);
Version : constant String := "0.1";
-- Version for th... |
source/slim-players.adb | reznikmm/slimp | 0 | 21015 | <reponame>reznikmm/slimp<gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Streams;
with Ada.Streams.Stream_IO;
with Ada.Unchecked_Deallocation;
with Ada.Wide_Wide_Text_IO;
with Int... |
src/SyntaxMap.agda | andrejbauer/dependent-type-theory-syntax | 7 | 11892 | <reponame>andrejbauer/dependent-type-theory-syntax<filename>src/SyntaxMap.agda
open import Level
import Categories.Category
open import Relation.Binary.PropositionalEquality using (_≡_; refl; sym; trans; subst; cong)
open import Syntax
open import Renaming
open import Substitution
open import Instantiation
module Syn... |
z80-parser/generated/Z80.g4 | mcchatman8009/z80-core | 0 | 2823 | grammar Z80;
program:
statement*
;
statement:
label? (instruction )? comment? EOL |
EOL
;
instruction:
byteLoadCommand |
wordLoadCommand |
exchagneAndBlockTransfrerCommand |
arithmeticCommand |
arithmeticControlCommand |
wordArithemeticCommand |
rotateCommand |
bitManipulati... |
tests/generic-unit/src/mission.ads | TUM-EI-RCS/StratoX | 12 | 28043 | <reponame>TUM-EI-RCS/StratoX
with Generic_Unit;
package Mission with SPARK_Mode is
package New_Unit is new Generic_Unit(Index_Type => Integer,
Element_Type => Float);
use New_Unit;
-- the mission can only go forward
type Mission_State_Type is (
UNKNOWN,
... |
oeis/021/A021129.asm | neoneye/loda-programs | 11 | 95187 | ; A021129: Expansion of 1/((1-x)(1-2x)(1-5x)(1-8x)).
; Submitted by <NAME>
; 1,16,175,1650,14481,122316,1010995,8250550,66817861,538611216,4329233415,34735589850,278393339641,2229689837716,17850234337435,142865452943550,1143241514899821,9147521576217816,73188119895363055,585544695592055650,4684556246884298401,374774433... |
programs/oeis/180/A180354.asm | neoneye/loda | 22 | 178261 | ; A180354: a(n) = n^4 + 4*n.
; 0,5,24,93,272,645,1320,2429,4128,6597,10040,14685,20784,28613,38472,50685,65600,83589,105048,130397,160080,194565,234344,279933,331872,390725,457080,531549,614768,707397,810120,923645,1048704,1186053
mov $1,$0
pow $1,3
add $1,4
mul $0,$1
|
equality.agda | HoTT/M-types | 27 | 3132 | <reponame>HoTT/M-types<filename>equality.agda
{-# OPTIONS --without-K #-}
module equality where
open import equality.core public
open import equality.reasoning public
open import equality.groupoid public
open import equality.calculus public
open import equality.inspect public
|
applet/aide/source/aide.ads | charlie5/aIDE | 3 | 20979 | private
with
AdaM.Subprogram,
AdaM.a_Package,
AdaM.Environment;
package aIDE
is
procedure start;
procedure stop;
private
-- the_Environ : AdaM.Environment.item;
all_Apps : AdaM.Subprogram.vector;
the_selected_App : AdaM.Subprogram.view;
procedure build_Project;
... |
Library/Spool/Lib/libManager.asm | steakknife/pcgeos | 504 | 103787 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: System Spooler
FILE: libManager.asm
AUTHOR: <NAME>, 9 March 1990
REVISION HISTORY:
Name Date Description
---- ----... |
tools/ayacc/src/verbose_file.adb | svn2github/matreshka | 24 | 9518 | <gh_stars>10-100
-- $Header: /cf/ua/arcadia/alex-ayacc/ayacc/src/RCS/verbose_file_body.a,v 1.1 88/08/08 14:44:42 arcadia Exp $
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- The primary authors of ayacc were <NAME> and <NAME>.
-- Enhancements were made by <NAME>.
--... |
test/epic/tests/String.agda | asr/agda-kanso | 1 | 1879 | module tests.String where
open import Prelude.IO
open import Prelude.List
open import Prelude.String
open import Prelude.Unit
testString : String
testString = "To boldly go where no man gone before"
printList : forall {A} -> (A -> IO Unit) -> List A -> IO Unit
printList p [] = return unit
printList p (x :: xs) =
... |
Task/Loops-For-with-a-specified-step/Ada/loops-for-with-a-specified-step-3.ada | djgoku/RosettaCodeData | 0 | 16486 | <gh_stars>0
for Value in 3 .. 12 loop
if Value mod 3 = 0 then
put(Value, 0);
put(", ")
end if;
end loop;
put("what's a word that rhymes with ""twelve""?");
|
kill.asm | zoharit/OS_SystemCalls-Scheduling | 0 | 13867 |
_kill: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char **argv)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 56 push %esi
4: 53 push %ebx... |
programs/oeis/295/A295869.asm | karttu/loda | 1 | 28605 | ; A295869: Numbers not divisible by 2, 3 or 5 (A007775) with digital root 8.
; 17,53,71,89,107,143,161,179,197,233,251,269,287,323,341,359,377,413,431,449,467,503,521,539,557,593,611,629,647,683,701,719,737,773,791,809,827,863,881,899,917,953,971,989,1007,1043,1061,1079,1097,1133,1151,1169,1187,1223,1241,1259,1277,1313... |
qpu/simple4.asm | doctorseus/rpi-opengl-sandbox | 2 | 81494 | .include "vc4.qinc"
.func vpm_wr_setup(stride, horiz, laned, size, addr)
0x00000000 | (stride & 0x3f) << 12 | (horiz & 0x1) << 11 | (laned & 0x1) << 10 | (size & 0x3) << 8 | (addr & 0xff)
.endf
.func dma_wr_setup(units, depth, laned, horiz, vpmbase, modew)
0x80000000 | (units & 0x7f) << 23 | (depth & 0x7f) <<... |
oeis/159/A159242.asm | neoneye/loda-programs | 11 | 21799 | ; A159242: Numerator of Hermite(n, 7/9).
; Submitted by <NAME>
; 1,14,34,-4060,-73364,1603784,81877816,-412588624,-98625684080,-846044720416,131951621302816,3217915145313344,-190086977127231296,-8916844722270378880,275487347718163805056,24080226698163512570624,-332311081180848870297344,-67068302738171708767220224,-2377... |
oeis/064/A064008.asm | neoneye/loda-programs | 11 | 166479 | <reponame>neoneye/loda-programs
; A064008: a(n) = (10^n - 1)/9*prime(n).
; Submitted by <NAME>(s1)
; 2,33,555,7777,122221,1444443,18888887,211111109,2555555553,32222222219,344444444441,4111111111107,45555555555551,477777777777773,5222222222222217,58888888888888883,655555555555555549,6777777777777777771,7444444444444444... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_887.asm | ljhsiun2/medusa | 9 | 168396 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
// REPMOV
lea addresses_A+0x1ff19, %rsi
lea addresses_WT+0x1b5b9, %rdi
nop
nop
nop
nop
sub %rdx, %rdx
mov $20, %rcx
rep movsw
nop
nop
cmp %rax, %rax... |
commands/system/toggle-flip-screen.template.applescript | daviddzhou/script-commands | 3,305 | 172 | <gh_stars>1000+
#!/usr/bin/osascript
# How to use this script?
# It's a template which needs further setup. Duplicate the file,
# remove `.template.` from the filename,
# Replace all instances of <display> with the name of your monitor.
# Monitor name can be seen by open System Preferences → Display,
# and... |
source/main/commands/system/list.asm | paulscottrobson/6502-basic | 3 | 245308 | <filename>source/main/commands/system/list.asm
; ************************************************************************************************
; ************************************************************************************************
;
; Name: list.asm
; Purpose: LIST command
; Created: 7th March 2021
; ... |
programs/oeis/002/A002054.asm | neoneye/loda | 22 | 27644 | <gh_stars>10-100
; A002054: Binomial coefficient C(2n+1, n-1).
; 1,5,21,84,330,1287,5005,19448,75582,293930,1144066,4457400,17383860,67863915,265182525,1037158320,4059928950,15905368710,62359143990,244662670200,960566918220,3773655750150,14833897694226,58343356817424,229591913401900,903936161908052,3560597348629860,140... |
libsrc/_DEVELOPMENT/stdlib/z80/__strtod_special_form.asm | meesokim/z88dk | 0 | 98690 |
SECTION code_stdlib
PUBLIC __strtod_special_form
EXTERN __dtoa_infinity_s, __dtoa_nan_s, asm_nan_b
EXTERN asm_strncasecmp, derror_pinfnc, derror_einval_zc
; supplied by math library: asm_nan_b, derror_pinfnc, derror_einval_zc
__strtod_special_form:
; de = original char *
; hl = char *
push de ... |
src/test/ref/inline-function-print.asm | jbrandwood/kickc | 2 | 162267 | <reponame>jbrandwood/kickc
// TEst inlining a slightly complex print function (containing a loop)
// Commodore 64 PRG executable file
.file [name="inline-function-print.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d... |
Task/Program-termination/AppleScript/program-termination-2.applescript | mullikine/RosettaCodeData | 1 | 3773 | <filename>Task/Program-termination/AppleScript/program-termination-2.applescript
on run
f()
display dialog "This message will never be displayed."
end run
on f()
error
end f
|
tests/sjasmplus_regressions/macro.asm | cizo2000/sjasmplus | 220 | 104952 | <filename>tests/sjasmplus_regressions/macro.asm
device zxspectrum128
org #8000
MACRO WAVEOUT reg, data
LD A,reg
OUT (7EH),A
LD A,data
OUT (7FH),A
ENDM
WAVEOUT 2,17
|
src/Command_Line/line_parsers-receivers-enumeration_receivers.ads | fintatarta/eugen | 0 | 391 | --
-- This package provides handlers for enumerative types. Since the
-- type is not fixed in advance, the package needs to be generic.
--
generic
type Value_Type is (<>);
package Line_Parsers.Receivers.Enumeration_Receivers is
type Receiver_Type is new Abstract_Parameter_Handler with private;
function Is_S... |
agda/Codata/Stream.agda | oisdk/combinatorics-paper | 0 | 9248 | {-# OPTIONS --cubical --safe #-}
module Codata.Stream where
open import Prelude
open import Data.List using (List; _∷_; [])
open import Data.List.Kleene
import Data.List.Kleene.Membership as Kleene
open import Data.Fin
Stream : Type a → Type a
Stream A = ℕ → A
infixr 5 _∈_
_∈_ : A → Stream A → Type _
x ∈ xs = fiber... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c2/c2a001a.ada | best08618/asylo | 7 | 4272 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c2/c2a001a.ada
-- C2A001A.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
-- unlimi... |
third_party/codecs/xvidcore/src/image/x86_asm/interpolate8x8_3dn.asm | Narflex/sagetv | 292 | 101351 | <reponame>Narflex/sagetv
;/*****************************************************************************
; *
; * XVID MPEG-4 VIDEO CODEC
; * - 3dnow 8x8 block-based halfpel interpolation -
; *
; * Copyright(C) 2001 <NAME> <<EMAIL>>
; * 2002-2008 <NAME> <<EMAIL>>
; * 2002 <NAME> <<EMAIL>>
... |
test/Succeed/Issue1530.agda | shlevy/agda | 1,989 | 3936 | <filename>test/Succeed/Issue1530.agda
-- {-# OPTIONS --show-implicit #-}
-- {-# OPTIONS -v term:20 -v term.function:30 #-}
-- Andreas, 2015-05-31, issue reported by <NAME>
module Issue1530 {A : Set}(_<=_ : A -> A -> Set) where
open import Common.List
open import Issue1530.Bound _<=_
data OList : Bound -> Set where
... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_270.asm | ljhsiun2/medusa | 9 | 166565 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1bd90, %rsi
lea addresses_A_ht+0x15037, %rdi
nop
nop
nop
nop
add %r10, %r10
mov $126, %rcx
rep movsl
nop
nop
xor %r13, %r13
lea addresses_UC_ht+0x47bf, %rax
nop
nop
nop
nop
... |
theorems/cohomology/ExactPairIso.agda | cmknapp/HoTT-Agda | 0 | 12968 | <reponame>cmknapp/HoTT-Agda
{-# OPTIONS --without-K #-}
open import HoTT
open import cohomology.Exactness
module cohomology.ExactPairIso where
{- An exact sequence 0 → G → H → 0 implies that G == H -}
module _ {i} {G H K L : Group i} {φ : H →ᴳ K}
(ex : is-exact-seq (G ⟨ cst-hom ⟩→ H ⟨ φ ⟩→ K ⟨ cst-hom ⟩→ L ⊣|)) w... |
oeis/178/A178748.asm | neoneye/loda-programs | 11 | 167046 | ; A178748: Total number of '1' bits in the terms of 'rows' of A178746.
; Submitted by <NAME>
; 1,2,7,14,37,80,187,410,913,1988,4327,9326,20029,42776,91027,192962,407785,859244,1805887,3786518,7922581,16544192,34486507,71769194,149130817,309446420,641262487,1327264190,2744006893,5666970728,11691855427,24099538706,496307... |
gfx/pokemon/sinnoh/yanmega/anim_idle.asm | Dev727/ancientplatinum | 28 | 23865 | <reponame>Dev727/ancientplatinum<filename>gfx/pokemon/sinnoh/yanmega/anim_idle.asm
setrepeat 3
frame 0, 05
frame 5, 05
dorepeat 1
setrepeat 2
frame 0, 05
frame 4, 05
dorepeat 5
endanim
|
programs/oeis/108/A108187.asm | neoneye/loda | 22 | 247484 | ; A108187: Numbers n such that 11*n - 5 is prime.
; 2,6,8,12,14,18,26,32,42,44,48,62,68,72,74,78,84,86,96,102,114,126,132,144,146,152,158,162,176,182,188,194,204,216,218,222,224,228,236,242,252,254,258,284,288,294,296,306,314,324,326,336,344,348,354,356,366,378,384,386,398,408,414,422,428,438,452,456,462,464,474,476,48... |
programs/oeis/133/A133072.asm | jmorken/loda | 1 | 167373 | ; A133072: a(n) = n^5 + n^3 - n^2.
; 0,1,36,261,1072,3225,7956,17101,33216,59697,100900,162261,250416,373321,540372,762525,1052416,1424481,1895076,2482597,3207600,4092921,5163796,6447981,7975872,9780625,11898276,14367861,17231536,20534697,24326100,28657981,33586176,39170241,45473572,52563525,60511536,69393241,79288596,... |
lab5/somma_ricorsiva/main.asm | samdsk/lab_arch2 | 0 | 177818 | .data
arr: .word 1 2 3 4 5 6
n: .word 6
.text
.globl main
main: la $a0 arr
lw $a1 n
jal S
move $a0 $v0
li $v0 1
syscall
li $v0 10
syscall |
programs/oeis/090/A090529.asm | neoneye/loda | 22 | 245525 | <filename>programs/oeis/090/A090529.asm
; A090529: a(n) is the smallest m such that n <= m!.
; 1,1,2,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
sub $0,1
mov $1,2
lpb $0... |
programs/oeis/156/A156856.asm | karttu/loda | 1 | 161309 | ; A156856: 2025*n^2 + n.
; 2026,8102,18228,32404,50630,72906,99232,129608,164034,202510,245036,291612,342238,396914,455640,518416,585242,656118,731044,810020,893046,980122,1071248,1166424,1265650,1368926,1476252,1587628,1703054,1822530,1946056,2073632,2205258,2340934,2480660,2624436,2772262,2924138,3080064,3240040,3404... |
Cubical/HITs/SetTruncation/Properties.agda | knrafto/cubical | 0 | 16043 | {-
This file contains:
- Properties of set truncations
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.SetTruncation.Properties where
open import Cubical.HITs.SetTruncation.Base
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundation... |
programs/oeis/110/A110286.asm | neoneye/loda | 22 | 3240 | <filename>programs/oeis/110/A110286.asm
; A110286: a(n) = 15*2^n.
; 15,30,60,120,240,480,960,1920,3840,7680,15360,30720,61440,122880,245760,491520,983040,1966080,3932160,7864320,15728640,31457280,62914560,125829120,251658240,503316480,1006632960,2013265920,4026531840,8053063680,16106127360,32212254720,64424509440,12884... |
pwnlib/shellcraft/templates/mips/android/sh.asm | zaratec/pwntools | 5 | 96618 | <filename>pwnlib/shellcraft/templates/mips/android/sh.asm
<% from pwnlib.shellcraft import mips %>
<%docstring>Execute /bin/sh</%docstring>
${mips.push(0)}
${mips.pushstr('sh')}
${mips.mov('$a1','$sp')}}
${mips.pushstr('/system/bin//sh')}
${mips.syscall('SYS_execve', '$sp', '$a1', 0)}
|
src/ada-core/src/linted-update.ads | mstewartgallus/linted | 0 | 27411 | <reponame>mstewartgallus/linted
-- Copyright 2015,2016 <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by... |
Transynther/x86/_processed/NC/_zr_un_/i9-9900K_12_0xa0.log_2542_1452.asm | ljhsiun2/medusa | 9 | 15661 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r13
push %r15
push %r8
push %rdx
push %rsi
// Store
lea addresses_WC+0x13b30, %r11
nop
nop
nop
sub %rdx, %rdx
mov $0x5152535455565758, %r8
movq %r8, %xmm2
movups %xmm2, (%r11)
... |
antlr-basics/src/main/java/com/poc/chapter_08_part02/gen/JSONForXmlConversion.g4 | cgonul/antlr-poc | 0 | 6904 | grammar JSONForXmlConversion;
json: object
| array
;
object
: '{' pair (',' pair)* '}' # AnObject
| '{' '}' # EmptyObject
;
array
: '[' value (',' value)* ']' # ArrayOfValues
| '[' ']' # EmptyArray
;
pair: STRING ':' value ;
... |
Transynther/x86/_processed/AVXALIGN/_st_sm_/i3-7100_9_0x84_notsx.log_21829_487.asm | ljhsiun2/medusa | 9 | 15099 | <filename>Transynther/x86/_processed/AVXALIGN/_st_sm_/i3-7100_9_0x84_notsx.log_21829_487.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x8e34, %r12
nop
nop
nop
nop
cmp %rbx, %rbx
mov $0x6162636465666768, %rdi
movq %rdi... |
benchmark/benchmark_s_number.ads | skill-lang/skillAdaTestSuite | 1 | 28624 | <reponame>skill-lang/skillAdaTestSuite
with Number.Api;
package Benchmark_S_Number is
procedure Create (N : Integer; File_Name : String);
procedure Write (N : Integer; File_Name : String);
procedure Read (N : Integer; File_Name : String);
procedure Reset (N : Integer; File_Name : String);
end Benchmark_S... |
Type Theory/exercises-03-wednesday.agda | FoxySeta/mgs-2021 | 0 | 14580 | <reponame>FoxySeta/mgs-2021
-- exercises-03-wednesday.agda
open import mylib
{-
Part 1 : Recursion via patterns
Define the following functions using pattern matching and structural
recursion on the natural numbers.
-}
-- Define a function even that determines wether its input is even.
even : ℕ → Bool
{-
eve... |
tools-src/gnu/gcc/gcc/ada/g-debuti.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 6588 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
programs/oeis/081/A081913.asm | jmorken/loda | 1 | 165172 | ; A081913: a(n) = 2^n*(n^3 - 3n^2 + 2n + 48)/48.
; 1,2,4,9,24,72,224,688,2048,5888,16384,44288,116736,301056,761856,1896448,4653056,11272192,27000832,64028672,150470656,350748672,811597824,1865416704,4261412864,9680453632,21877489664,49207574528,110192754688,245752659968,545997717504,1208764858368,2667174690816,5866925... |
src/gl/implementation/gl-window.adb | Roldak/OpenGLAda | 79 | 7338 | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with GL.API;
with GL.Enums.Getter;
package body GL.Window is
procedure Set_Viewport (X, Y : Int; Width, Height : Size) is
begin
GL.API.Viewport (X, Y, Width, Height);
Raise_Exception_On_Op... |
Task/Greatest-subsequential-sum/Ada/greatest-subsequential-sum.ada | LaudateCorpus1/RosettaCodeData | 1 | 26499 | <filename>Task/Greatest-subsequential-sum/Ada/greatest-subsequential-sum.ada
with Ada.Text_Io; use Ada.Text_Io;
procedure Max_Subarray is
type Int_Array is array (Positive range <>) of Integer;
Empty_Error : Exception;
function Max(Item : Int_Array) return Int_Array is
Start : Positive;
Finis : Po... |
test/Fail/NotationDoesNotUseAllBinders.agda | cruhland/agda | 1,989 | 2190 | -- Andreas, 2014-09-23
syntax bla (λ x → e) = blub e
-- Should trigger error:
-- malformed syntax declaration: syntax must use binding holes exactly once
|
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_4_510.asm | ljhsiun2/medusa | 9 | 843 | <filename>Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_4_510.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r15
push %r8
push %rbp
push %rbx
push %rdi
// Store
lea addresses_normal+0x5423, %r8
nop
nop
nop
nop
nop
sub %rbp, %rbp
mo... |
test/Fail/Issue756a.agda | shlevy/agda | 1,989 | 584 | <filename>test/Fail/Issue756a.agda
module Issue756a where
data Nat : Set where
zero : Nat
suc : Nat → Nat
data T : Nat → Set where
[_] : ∀ n → T n
bad : ∀ n → T n → Nat
bad .zero [ zero ] = zero
bad .(suc (let x = n in x)) [ suc n ] = zero
|
test/Succeed/Issue2257b.agda | shlevy/agda | 3 | 3973 | -- Andreas, 2016-10-14, issue #2257, reported by m0davis
-- Bisected by Nisse.
{-# OPTIONS --allow-unsolved-metas #-}
-- {-# OPTIONS -v tc.ip:20 #-}
-- {-# OPTIONS -v tc:20 #-}
record R (A : Set) : Set₁ where
field
a : A
F : ∀ {f} → Set
foo : Set
foo = ∀ {f} → {!!}
field
bar : Set
|
test/Fail/Issue1428a.agda | hborum/agda | 3 | 10859 | -- Andreas, 2015-03-16
open import Common.Size
open import Common.Prelude
-- Note: the assumption of pred is absurd,
-- but still should not make Agda loop.
module _ (pred : ∀ i → Size< i) where
data D (i : Size) : Set where
wrap : (j : Size< i) → D i
loop : ∀ i → D i → ⊥
loop i (wrap j) = loop j (wrap (pred j))... |
source/estado_casillero.ads | pdibez/mundo-aspiradora | 0 | 20866 | package estado_casillero is
type t_estado_casillero is (Limpio,Sucio);
function random_estado return t_estado_casillero;
procedure put_estado_casillero (c : in t_estado_casillero);
end estado_casillero;
|
programs/oeis/140/A140976.asm | neoneye/loda | 22 | 1392 | ; A140976: Period length 10: repeat 8, 8, 6, 6, 4, 4, 2, 2, 0, 0.
; 8,8,6,6,4,4,2,2,0,0,8,8,6,6,4,4,2,2,0,0,8,8,6,6,4,4,2,2,0,0,8,8,6,6,4,4,2,2,0,0,8,8,6,6,4,4,2,2,0,0,8,8,6,6,4,4,2,2,0,0,8,8,6,6,4,4,2,2,0,0,8,8,6,6,4,4,2,2,0,0,8,8,6,6,4,4,2,2,0,0
div $0,2
mod $0,5
sub $0,4
sub $1,$0
mul $1,2
mov $0,$1
|
src/offmt_lib-fmt_data-unsigned_generic.adb | Fabien-Chouteau/offmt-tool | 0 | 29979 | with Ada.Text_IO;
with Ada.Strings.Fixed;
with System.Storage_Elements; use System.Storage_Elements;
package body Offmt_Lib.Fmt_Data.Unsigned_Generic is
Size_In_Bytes : constant Natural := T'Size / 8;
package T_IO is new Ada.Text_IO.Modular_IO (T);
function Image (Val : T; Kind : Format_Kind) return String... |
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciy_log10_fastcall.asm | jpoikela/z88dk | 640 | 92844 | <filename>libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciy_log10_fastcall.asm
; float log10(float x) __z88dk_fastcall
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sdcciy_log10_fastcall
EXTERN cm48_sdcciyp_dx2m48, am48_log10, cm48_sdcciyp_m482d
cm48_sdcciy_log10_fastcall:
call cm48_sdcciyp_dx... |
orka/src/gl/interface/gl-objects-queries.ads | onox/orka | 52 | 299 | <reponame>onox/orka<gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2016 onox <<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://w... |
programs/oeis/081/A081848.asm | karttu/loda | 0 | 9083 | <reponame>karttu/loda<gh_stars>0
; A081848: Number of numbers with property that their base 3/2 expansion (see A024629) has n digits.
; 3,3,3,6,9,12,18,27,42,63,93,141,210,315,474,711,1065,1599,2397,3597,5394,8091,12138,18207,27309,40965,61446,92169,138255,207381,311073,466608,699912,1049868,1574802,2362203,3543306,531... |
src/score.asm | laamella-gad/moon-train | 1 | 82115 | <filename>src/score.asm
; Handles a 3-byte BCD score that can be added to,
; and a 3-byte BCD high score that can be set.
SCORE .byte 0,0,0
HIGH_SCORE .byte $34,$12,0
SCORE_ADD .byte 0,$01,0
.section zp
SCORE_COMPARE .addr ?
.send
.section zp
SCOR... |
Math/NumberTheory/Fibonacci/Nat/Properties.agda | rei1024/agda-misc | 3 | 3280 | <reponame>rei1024/agda-misc<filename>Math/NumberTheory/Fibonacci/Nat/Properties.agda
-- Properties of Fibonacci nunmbers
{-# OPTIONS --without-K --safe #-}
module Math.NumberTheory.Fibonacci.Nat.Properties where
-- agda-stdlib
open import Data.Unit using (tt)
open import Data.Sum
open import Data.Nat
open import Dat... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0xca_notsx.log_2098_430.asm | ljhsiun2/medusa | 9 | 92799 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xf119, %rsi
lea addresses_A_ht+0xf879, %rdi
nop
nop
nop
nop
cmp %r11, %r11
mov $47, %rcx
rep movsb
nop
nop
nop
nop
nop
sub %rdx, %rdx
lea addresses_A_ht+0x1d789, %r12
inc %rcx... |
alloy4fun_models/trashltl/models/11/taGDgPsQvSGxrgzy9.als | Kaixi26/org.alloytools.alloy | 0 | 5006 | open main
pred idtaGDgPsQvSGxrgzy9_prop12 {
eventually (some f : File - Trash | f in Trash implies always f in Trash)
}
pred __repair { idtaGDgPsQvSGxrgzy9_prop12 }
check __repair { idtaGDgPsQvSGxrgzy9_prop12 <=> prop12o } |
GauInt/Base.agda | onestruggler/EucDomain | 0 | 3965 | <filename>GauInt/Base.agda
-- This file gives the definition of Gaussian Integers, and common
-- operations on them.
{-# OPTIONS --without-K --safe #-}
module GauInt.Base where
open import Data.Bool using (Bool ; true ; false ; T ; not ; _∧_)
open import Data.Nat using (ℕ ; _≡ᵇ_)
open import Data.Integer renaming (... |
Cubical/Structures/Rng.agda | cmester0/cubical | 1 | 4059 | <reponame>cmester0/cubical
{-# OPTIONS --cubical --safe #-}
module Cubical.Structures.Rng where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.HLevels
open import Cubical.Data.Sigma
open import Cubical.Foundations.SIP renaming (SNS-PathP to SNS)
open im... |
Transynther/x86/_processed/US/_ht_zr_/i9-9900K_12_0xa0.log_21829_1256.asm | ljhsiun2/medusa | 9 | 4834 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x3d3f, %rsi
nop
nop
nop
nop
nop
cmp $45858, %r10
movb $0x61, (%rsi)
nop
nop
nop
nop
and %r15, %r15
lea addresses_WC_ht+0x4bff, %rsi
lea addr... |
CS218/summer17/Assignment02/ast02mn.asm | 3SUM/monalisa | 5 | 16815 | <gh_stars>1-10
; Must include:
; <NAME>
; Assignment #2
; Section #1002
; -----
; Write a simple assembly language program to compute the following formulas:
; bAns1 = bVar1 + bvar2
; bAns2 = bVar1 - bvar2
; wAns1 = wVar1 + wvar2
; wAns2 = wVar1 - wvar2
; dAns1 = dVar1 + dVar2
; dAns2 = dVar1 - dVar2
;... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_11_907.asm | ljhsiun2/medusa | 9 | 242935 | <filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_11_907.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xdfff, %r12
nop
inc %r14
movb (%r12), %r13b
nop
nop
inc %r12
lea addresses_UC_ht+0xe013, %... |
puzzle_14/src/puzzle_14.adb | AdaForge/Advent_of_Code_2020 | 0 | 29504 | procedure Puzzle_14 is
begin
null;
end Puzzle_14;
|
oeis/220/A220662.asm | neoneye/loda-programs | 11 | 166003 | ; A220662: Irregular table: row n (n>=1) consists of A084556(n) copies of A130664(n).
; Submitted by <NAME>
; 1,2,2,4,4,6,6,6,9,9,9,12,12,12,15,15,15,18,18,18,21,21,21,24,24,24,24,28,28,28,28,32,32,32,32,36,36,36,36,40,40,40,40,44,44,44,44,48,48,48,48,52,52,52,52,56,56,56,56,60,60,60,60,64,64,64,64,68,68,68,68,72,72,72... |
source/amf/dd/amf-internals-tables-dd_attribute_mappings.ads | svn2github/matreshka | 24 | 7008 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_10147_415.asm | ljhsiun2/medusa | 9 | 3467 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_10147_415.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x195c7, %rsi
nop
mfence
movw $0x6162, (%rsi)
nop
nop
sub %rsi, %rsi
lea addresses_UC_ht... |
WIP/list-all-ids.applescript | Rolias/applescripts | 1 | 3550 | <filename>WIP/list-all-ids.applescript
tell application "System Preferences"
activate
set the current pane to pane "com.apple.preference.displays"
-- set myIds to the id of every pane
-- set myAnchors to anchors of current pane
end tell
tell application "System Events"
tell process "System Preferences"
... |
src/yeison_multi.adb | mosteo/yeison | 6 | 13516 | <reponame>mosteo/yeison<filename>src/yeison_multi.adb
pragma Ada_2012;
package body Yeison_Multi is
------------
-- To_Int --
------------
function To_Int (Img : String) return Scalar is
begin
return raise Program_Error with "Unimplemented function To_Int";
end To_Int;
------------
-- T... |
server/src/main/antlr4/org/eclipse/lsp/cobol/core/parser/CobolPreprocessorLexer.g4 | Nurkambay/che-che4z-lsp-for-cobol | 0 | 4289 | <filename>server/src/main/antlr4/org/eclipse/lsp/cobol/core/parser/CobolPreprocessorLexer.g4
/*
* Copyright (c) 2020 Broadcom.
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/NES_Ver2/us_asm/zel_rmdt9.asm | prismotizm/gigaleak | 0 | 28263 | <reponame>prismotizm/gigaleak
Name: zel_rmdt9.asm
Type: file
Size: 372216
Last-Modified: '2016-05-13T04:27:09Z'
SHA-1: 4BB516EC6C8E35EFAE542C643A2BDA4FDEAC261C
Description: null
|
design2.asm | catbro666/assembly-course-design2 | 0 | 21964 | assume cs:code, ss:stack, ds:data
stack segment
dw 64 dup(0)
stack ends
data segment
mes db 'fail to write to floppy!', 0
data ends
code segment
; 任务程序引导部分(1个扇区512字节)
; 功能: 将任务程序的主体部分读入内存
; 第一个扇区由BIOS读入内存0:7c00h处
boot:
; 从第二个扇区开始读取到0:7e00h处
; 然后跳转到任务程序主体部分task
mov ax, 0
mov es, ax
mov b... |
CODE/ELECTRONIC_SCALE/ADC_Handler.asm | ZSAIm/-_STM8S- | 1 | 8679 | <filename>CODE/ELECTRONIC_SCALE/ADC_Handler.asm
stm8/
#include "ADC_Handler.inc"
INTEL
segment 'rom'
;***********************************************************
;name : ADC_Sub_Sum
;fun :
;params :
; IN : X = ADC_STORE + ADC_PTR(NEXT|MAX|MIN)
; OUT : NULL
;**************... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.