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 |
|---|---|---|---|---|
alloy4fun_models/trashltl/models/7/HpeRXzdmYS7M6CFMf.als | Kaixi26/org.alloytools.alloy | 0 | 377 | <filename>alloy4fun_models/trashltl/models/7/HpeRXzdmYS7M6CFMf.als
open main
pred idHpeRXzdmYS7M6CFMf_prop8 {
eventually(all f1,f2:File | f1->f2 in link implies eventually f1 in Trash)
}
pred __repair { idHpeRXzdmYS7M6CFMf_prop8 }
check __repair { idHpeRXzdmYS7M6CFMf_prop8 <=> prop8o } |
oeis/158/A158954.asm | neoneye/loda-programs | 11 | 19423 | <reponame>neoneye/loda-programs
; A158954: Numerator of Hermite(n, 1/4).
; Submitted by <NAME>(s2)
; 1,1,-7,-23,145,881,-4919,-47207,228257,3249505,-13184999,-273145399,887134513,27109092817,-65152896535,-3101371292039,4716976292161,401692501673153,-239816274060743,-58083536514994775,-21631462857761839,9271734379541402... |
ip_lookup/unix/inet-ip-lookup.adb | annexi-strayline/ASAP-INET | 0 | 30489 | ------------------------------------------------------------------------------
-- --
-- Internet Protocol Suite Package --
-- --
-- -... |
Others/ringBufferTest.asm | LeonardoSanBenitez/Assembly-exercises | 0 | 86226 | .include "init.asm"
.include "ringbuffer.asm"
alloc_ringbuffer(rb0)
.text 0x00410000
#-------------------------------
# empty 20(sp)
# ra 16(sp)
# s1 12(sp)
# s0 8(sp)
# a1 4(sp)
# a0 0(sp)
#-------------------------------
main:
addi $sp, $sp, -24
sw $s0, 8($sp)
sw $s1, 12($... |
src/base/log/util-log-appenders-files.ads | RREE/ada-util | 60 | 29042 | -----------------------------------------------------------------------
-- util-log-appenders-files -- File log appenders
-- Copyright (C) 2001 - 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with t... |
programs/oeis/284/A284850.asm | jmorken/loda | 1 | 162575 | <gh_stars>1-10
; A284850: a(n) = 4^n - 3^n - n.
; 0,5,34,171,776,3361,14190,58967,242452,989517,4017146,16245763,65514528,263652473,1059392902,4251920559,17050729004,68332056229,273715645458,1096024843355,4387586157880,17560804984785,70274600998814,281192547174151,1125052618233156,4501057761542141
mov $4,$0
sub $0,1
m... |
Relation/Binary/Equivalence/PropTruncated.agda | oisdk/agda-playground | 6 | 12323 | {-# OPTIONS --cubical --safe --prop #-}
module Relation.Binary.Equivalence.PropTruncated where
open import Prelude
open import Relation.Nullary.Stable
infix 4 _≐_
data _≐_ {a} {A : Type a} (x y : A) : Prop a where
∣_∣ : x ≡ y → x ≐ y
data ∙⊥ : Prop where
private
variable
x y z : A
rerel : ∙⊥ → ⊥
rerel ()
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vect10.adb | best08618/asylo | 7 | 2329 | -- { dg-do compile }
-- { dg-options "-w" }
package body Vect10 is
procedure Add_Mul (X : in out Unit; Y, Z : in Unit) is
begin
X := X + Y * Z;
end;
pragma Inline_Always (Add_Mul);
procedure Proc
(F : in Rec_Vector;
First_Index : in Natural;
Last_Index : in Natural;
... |
libsrc/oz/memcpy.asm | dex4er/deb-z88dk | 1 | 13055 | ;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by <NAME>
; by <NAME> - Oct. 2003
;
;
; memory copy routine
; memcpy(dest,src,count)
;
;
; ------
; $Id: memcpy.asm,v 1.1 2003/10/29 13:03:05 stefano Exp $
;
XLIB memcpy
;
;blkcpy:
memcpy:
pop hl
ld (retva... |
uP8085/div_bytes.asm | pankajpatro703/uP8086 | 0 | 12937 | ;Division of 2 bytes
jmp START
num1: DB 41H ;dividend
num2: DB 1AH ;divisor
result: DB 00H,00H ;quotient & remainder
START: lda num2
mvi c,00H ;clear quotient
cmp c ;check if division by zero
jz ERR ;skip calculation if divison by zero
mov b,a ;get divisor(n)
lda num1 ;get dividend(m)
LOOP: cmp b ;check if... |
mac_osx/shortcuts.applescript | HustLion/HustLionToolkit | 0 | 1140 | <reponame>HustLion/HustLionToolkit
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.keyboard"
reveal anchor "shortcutsTab" of pane id "com.apple.preference.keyboard"
-- Incase the window is not opened instantly
delay 1
end tell
tell application "System Events"
tell app... |
test/Fail/Issue1886-omitted-not-in-scope.agda | cruhland/agda | 1,989 | 767 | <filename>test/Fail/Issue1886-omitted-not-in-scope.agda
-- Andreas, 2016-12-30, issue #1886, reported by nad
--
-- Omitted hidden parameters are not in scope.
postulate
A : Set
P : A → Set
data D {a} (X : P a) : Set₁
data D X where
c : P a → D _
-- Expected error:
--
-- Not in scope: a
|
DOS-asm/b91enc.asm | matoken/basE91 | 1 | 94351 | ; basE91 encoder for DOS
;
; Copyright (c) 2005-2006 <NAME>
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; - Redistributions of source code must retain the above copyright notice,
;... |
test/Succeed/HORewritingInParametrizedModule.agda | alhassy/agda | 3 | 16298 | {-# OPTIONS --rewriting #-}
open import Agda.Builtin.Equality
postulate _↦_ : ∀ {a} {A : Set a} → A → A → Set
{-# BUILTIN REWRITE _↦_ #-}
postulate
T : (Set → Set → Set) → Set
T₀ : Set
module _ (F : Set → Set) where
postulate rew : T (λ X Y → F X) ↦ T₀
{-# REWRITE rew #-}
test : T (λ X Y → F X) ≡ T₀
... |
oeis/142/A142127.asm | neoneye/loda-programs | 11 | 18999 | ; A142127: Primes congruent to 18 mod 37.
; Submitted by <NAME>
; 277,499,647,1091,1609,1831,1979,2053,2423,2719,3089,3163,3533,3607,4051,4273,4421,4643,5087,5309,5531,5827,6197,6271,6863,7159,7307,7529,7603,8269,8713,8861,9157,9601,9749,10193,10267,10711,10859,11821,11969,12043,12413,12487,13523,13597,13967,14411,1463... |
oeis/163/A163610.asm | neoneye/loda-programs | 11 | 97727 | ; A163610: a(n) = ((5 + 2*sqrt(2))*(4 + sqrt(2))^n + (5 - 2*sqrt(2))*(4 - sqrt(2))^n)/2.
; Submitted by <NAME>
; 5,24,122,640,3412,18336,98920,534656,2892368,15653760,84736928,458742784,2483625280,13446603264,72802072192,394164131840,2134084044032,11554374506496,62557819435520,338701312393216,1833801027048448,992858984... |
tools/scitools/conf/understand/ada/ada12/g-trasym.ads | brucegua/moocos | 1 | 3576 | <reponame>brucegua/moocos<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
gfx/pokemon/rattata/anim_idle.asm | Dev727/ancientplatinum | 28 | 241447 | setrepeat 3
frame 0, 05
frame 4, 05
dorepeat 1
endanim
|
0x05-libasm/7-puts.asm | alzheimeer/holbertonschool-system_linux | 1 | 86379 | BITS 64
global asm_puts
extern asm_strlen
section .text
;rax(rdi, rsi, rdx, r10, r8, r9)
asm_puts:
call asm_strlen
push rsi ; Store values of $rsi and $rdx
push rdx
mov rdx, rax ; Pass length
mov rax, 1 ; Write syscall
mo... |
source/features/mouse.asm | informer2016/MichalOS | 0 | 96326 | <gh_stars>0
; MikeOS Mouse Library
; Created by <NAME>
; Version 1.1.1
; Based on the TachyonOS Mouse Driver/API
; Copyright (C) <NAME> 2013
; Email: <EMAIL>
; This program is licence under the GNU General Public Licence, version 3
; See 'mouse_LICENSE' for details
; Define the mouse insta... |
src/Projects/eu_projects-node_tables.ads | fintatarta/eugen | 0 | 16138 | with Ada.Containers.Ordered_Maps;
with EU_Projects.Nodes;
package EU_Projects.Node_Tables is
type Node_Table is tagged private
with Constant_Indexing => Element;
type Table_Ref (D : access Node_Table) is tagged limited null record
with Implicit_Dereference => D;
function Contains (T : Node_Tabl... |
src/cobs.adb | Fabien-Chouteau/COBS | 0 | 17225 | <filename>src/cobs.adb<gh_stars>0
package body COBS is
-------------------------
-- Max_Encoding_Length --
-------------------------
function Max_Encoding_Length (Data_Len : Storage_Count)
return Storage_Count
is
begin
return Data_Len + (Data_Len / 254) + (if (... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_aux.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 11264 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_char_32_tty_z88dk/zx_01_output_char_32_tty_z88dk_08_backspace.asm | meesokim/z88dk | 0 | 86183 |
SECTION code_fcntl
PUBLIC zx_01_output_char_32_tty_z88dk_08_backspace
EXTERN zx_01_output_char_32_tty_z88dk_28_left
defc zx_01_output_char_32_tty_z88dk_08_backspace = zx_01_output_char_32_tty_z88dk_28_left
|
libsrc/video/tms9918/gen_setwrt.asm | jpoikela/z88dk | 640 | 1202 | ;
; z88dk library: Generic VDP support code
;
; $Id: gen_setwrt.asm,v 1.3 2016-06-16 19:30:25 dom Exp $
;
SECTION code_clib
PUBLIC SETWRT
PUBLIC _SETWRT
EXTERN l_tms9918_disable_interrupts
EXTERN l_tms9918_enable_interrupts
INCLUDE "video/tms9918/vdp.inc"
;==============================================... |
oeis/128/A128621.asm | neoneye/loda-programs | 11 | 29343 | <reponame>neoneye/loda-programs<filename>oeis/128/A128621.asm
; A128621: A127648 * A128174.
; Submitted by <NAME>
; 1,0,2,3,0,3,0,4,0,4,5,0,5,0,5,0,6,0,6,0,6,7,0,7,0,7,0,7,0,8,0,8,0,8,0,8,9,0,9,0,9,0,9,0,9,0,10,0,10,0,10,0,10,0,10
mov $2,1
lpb $0
mov $1,$0
mod $1,2
add $2,1
sub $0,$2
add $0,1
mul $1,$2
lpe... |
test/assembler/ret/data/program.asm | jfitz/virtual-processor | 0 | 24062 | <reponame>jfitz/virtual-processor
message: STRING "Hello, world!"
MAIN: PUSH BYTE message
CALL print_s
CALL print_nl
EXIT
address: BYTE 0
print_s: POP BYTE @address
loop: PUSH BYTE @@address
FLAGS BYTE
ZERO RET
OUT
INC BYTE @address
JUMP loop
newline: BYTE 10
print_nl: PUSH BYTE @newline
OUT
RET
|
Cubical/Algebra/DistLattice/Base.agda | lpw25/cubical | 0 | 11025 | <filename>Cubical/Algebra/DistLattice/Base.agda
{-# OPTIONS --safe #-}
module Cubical.Algebra.DistLattice.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Equiv.HalfAdjoint
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Is... |
programs/oeis/064/A064616.asm | neoneye/loda | 22 | 169080 | <reponame>neoneye/loda
; A064616: (10^n-1)*(91/81)-n*10^n/9.
; 9,89,789,6789,56789,456789,3456789,23456789,123456789,123456789,-9876543211,-209876543211,-3209876543211,-43209876543211,-543209876543211,-6543209876543211,-76543209876543211,-876543209876543211,-9876543209876543211,-109876543209876543211,-12098765432098765... |
src/event_device.adb | onox/evdev-ada | 2 | 27898 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2021 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://www.apache.org/licenses/LICENSE-2.0
-... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_136_1655.asm | ljhsiun2/medusa | 9 | 10516 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rcx
push %rdx
push %rsi
lea addresses_D_ht+0x182b1, %rsi
add %rdx, %rdx
and $0xffffffffffffffc0, %rsi
vmovntdqa (%rsi), %ymm7
vextracti128 $0, %ymm7, %xmm7
vpextrq $0, %xmm7, %rcx
nop
nop
sub %r15, %r15
pop %rsi
pop %rdx
pop %rcx
pop %r15
ret
... |
Test/Cases/4.fail.g4 | studentmain/SempredTranslation | 0 | 1833 | <gh_stars>0
grammar g;
@lexer::member{
// not supported
}
L: 'L';
p: L; |
programs/oeis/167/A167176.asm | neoneye/loda | 22 | 166979 | <reponame>neoneye/loda<gh_stars>10-100
; A167176: n^3 mod 9.
; 0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0
mod $0,3
pow $0,3
|
src/test/resources/framework_specifications/TestSpecificationFactoryDetailsParser.g4 | google/polymorphicDSL | 3 | 4330 | parser grammar TestSpecificationFactoryDetailsParser ;
import GherkinCommonParser;
options {tokenVocab=TestSpecificationFactoryDetailsLexer ; }
givenSpecificTestSpecificationFactory : GIVEN_SPECIFIC_TEST_SPECIFICATION_FACTORY textInDoubleQuotesEnd ;
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_212_1516.asm | ljhsiun2/medusa | 9 | 175812 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xdda7, %rsi
lea addresses_D_ht+0x17967, %rdi
nop
nop
nop
xor $32838, %r14
mov $70, %rcx
rep movsl
nop
nop
nop
inc %r13
lea addresses_D_... |
kv-avm-transactions-basic.adb | davidkristola/vole | 4 | 20921 | with Ada.Tags;
with kv.avm.Control;
package body kv.avm.Transactions.Basic is
Sequence_Number : Natural := 0;
----------------------------------------------------------------------------
procedure Initialize
(Self : in out Close_Connections_Type) is
begin
Sequence_Number := Sequence_Number +... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1886.asm | ljhsiun2/medusa | 9 | 171020 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x15dd5, %r15
nop
nop
nop
inc %rcx
and $0xffffffffffffffc0, %r15
vmovntdqa (%r15), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $0, %xmm0, %r9
nop
nop
nop
xor $62... |
rainbow.asm | sinipelto/atari2600 | 0 | 81548 | ;;;;;;;;;;;;;;;;; Initialization ;;;;;;;;;;;;;;;;;;;
PROCESSOR 6502 ; MOS 6502/6507
INCLUDE "vcs.h"
INCLUDE "macro.h"
SEG CODE
ORG $F000
Start:
CLEAN_START ; macro to clean regs & memory
LDA #2 ; A = 2 => Start bit
LDY #0 ; Y = 0 => Stop bit
;;;;;;;;;;;; Start new... |
oeis/336/A336337.asm | neoneye/loda-programs | 11 | 174619 | <gh_stars>10-100
; A336337: Total number of records over all length n ternary words (words on alphabet {0,1,2}).
; Submitted by <NAME>(s2)
; 0,3,12,41,132,413,1272,3881,11772,35573,107232,322721,970212,2914733,8752392,26273561,78853452,236625893,710008752,2130288401,6391389492,19175217053,57527748312,172587439241,51777... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1004.asm | ljhsiun2/medusa | 9 | 82914 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xe795, %r14
nop
nop
add %r15, %r15
mov $0x6162636465666768, %rcx
movq %rcx, %xmm0
vmovups %ymm0, (%r14)
nop
nop
nop
nop
add $42325, %r15
lea addresses_UC_ht+0x... |
programs/oeis/212/A212291.asm | neoneye/loda | 22 | 11117 | ; A212291: Number of permutations of n elements with at most one fixed point.
; 1,1,1,5,17,89,529,3709,29665,266993,2669921,29369141,352429681,4581585865,64142202097,962133031469,15394128503489,261700184559329,4710603322067905,89501463119290213,1790029262385804241,37590614510101889081,826993519222241559761,190208509421... |
PIM/Projet/src/google_naive.ads | Hathoute/ENSEEIHT | 1 | 17879 | with Types; use Types;
with Vecteur;
generic
type T_Precision is digits<>;
Taille: Integer;
MaxIterations: Integer;
Alpha: T_Precision;
package Google_Naive is
type T_Google is limited private;
package Vecteur_Precision is
new Vecteur (T_Precision);
-- Initialiser la matrice Google.
... |
spaceship/src/utils.adb | kndtime/ada-spaceship | 0 | 17902 | package body Utils is
function I (F : Float) return Integer
is (Integer (F));
end Utils;
|
src/util/icon/blend.asm | olifink/qspread | 0 | 242213 | <reponame>olifink/qspread
* Sprite blend
*
* Mode 4
* +|-----------------+
* -ggg ggg wwwww-
* |g g g w |
* |gg ggg w |
* |g g g w |
* |g ggg w w w|
* | www |
* | w |
* | |
* |rr rrrr rr rrrr |
* | |
* |rrr rr rrrrr rr |
* | ww|
* |rrrr rrr rr rrr ww|
* | ww|
* | wwwwww... |
awa/plugins/awa-wikis/src/awa-wikis-modules.adb | twdroeger/ada-awa | 81 | 27504 | -----------------------------------------------------------------------
-- awa-wikis-modules -- Module wikis
-- Copyright (C) 2015, 2016, 2017, 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance wi... |
test/asset/agda-stdlib-1.0/Relation/Binary/Properties/MeetSemilattice.agda | omega12345/agda-mode | 0 | 5861 | <gh_stars>0
------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties satisfied by meet semilattices
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary.Lattice
module Rela... |
src/main/antlr4/com/github/arsegg/Expression.g4 | Arsegg/ArsenicTau | 0 | 5922 | grammar Expression;
program: expression EOF;
expression: <assoc=right> left=expression operator=POWER right=expression # BinaryOperator
| left=expression operator=(TIMES | SLASH) right=expression # BinaryOperator
| left=expression operator=(PLUS | MINUS) right=expression # BinaryOperator
| LEFT_PAREN expre... |
src/Categories/Object/Kernel.agda | FintanH/agda-categories | 0 | 16768 | <gh_stars>0
{-# OPTIONS --without-K --safe #-}
open import Categories.Category
open import Categories.Object.Zero
-- Kernels of morphisms.
-- https://ncatlab.org/nlab/show/kernel
module Categories.Object.Kernel {o ℓ e} {𝒞 : Category o ℓ e} (zero : Zero 𝒞) where
open import Level using (_⊔_)
open import Categories... |
src/platform/x86_pc/boot/bootloader.asm | KristianJerpetjon/IncludeOS | 1 | 161066 | ;; This file is a part of the IncludeOS unikernel - www.includeos.org
;;
;; Copyright 2015 Oslo and Akershus University College of Applied Sciences
;; and <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 ... |
src/z80asm/t/data/ops_r2k_ok.asm | jpoikela/z88dk | 0 | 173022 | ld b, 0 ;; 0000: 06 00
ld b, 85 ;; 0002: 06 55
ld b, 170 ;; 0004: 06 AA
ld b, 255 ;; 0006: 06 FF
ld c, 0 ;; 0008: 0E 00
ld c, 85 ;; 000A: 0E 55
ld c, 170 ;; 000C: 0E AA
ld c, 255 ;; 000E: 0E FF
... |
src/ada/src/services/spark/afrl-cmasi-automationresponse-spark_boundary.adb | VVCAS-Sean/OpenUxAS | 88 | 6088 | package body AFRL.CMASI.AutomationResponse.SPARK_Boundary with SPARK_Mode => Off is
--------------------
-- Get_WaypointEntity_Set --
--------------------
function Get_WaypointEntity_Set
(Response : AutomationResponse) return Int64_Set
is
L : constant Vect_MissionCommand_Acc_Acc := Response.... |
src/mainmenu.adb | Kidev/DemoAdaPhysics2D | 5 | 773 | <reponame>Kidev/DemoAdaPhysics2D<gh_stars>1-10
with HAL.Touch_Panel; use HAL.Touch_Panel;
with HAL.Bitmap; use HAL.Bitmap;
with STM32.Board; use STM32.Board;
with AdaPhysics2DDemo;
with STM32.User_Button; use STM32;
with BMP_Fonts;
with LCD_Std_Out;
with Utils;
package body MainMenu is
procedure ShowMainMenu is
... |
oeis/332/A332049.asm | neoneye/loda-programs | 11 | 166073 | ; A332049: a(n) = (1/2) * Sum_{d|n, d > 1} d * phi(d).
; Submitted by <NAME>
; 0,1,3,5,10,10,21,21,30,31,55,38,78,64,73,85,136,91,171,115,150,166,253,150,260,235,273,236,406,220,465,341,388,409,451,335,666,514,549,451,820,451,903,610,640,760,1081,598,1050,781,955,863,1378,820,1165,924,1200,1219,1711,808,1830,1396,1311,... |
oeis/160/A160190.asm | neoneye/loda-programs | 11 | 92527 | ; A160190: Prime terms multiplied by Fibonacci terms (omitting first two terms of Fibonacci sequence)
; Submitted by <NAME>(s2)
; 4,9,25,56,143,273,578,1045,2047,4176,7223,13949,25010,42441,75059,136952,246679,412665,733382,1257481,2091961,3663072,6227075,10803977,19052546,32098911,52965587,89028280,146743321,246148917... |
optests/sbcs.asm | joeldipops/SuperTestBoy | 1 | 81389 | <reponame>joeldipops/SuperTestBoy
INCLUDE "utils.asm"
; with C=0
resetFlags
ld A, 0
sbc A
; AF=$00xx ZNHC=1100
resetFlags
ld A, 2
sbc A
; AF=$00xx ZNHC=1100
resetFlags
ld A, 2
ld B, 0
sbc B
; AF=02xx BC=00xx ZNHC=0100
resetFlags
ld B, 2
sbc B
; AF=... |
oeis/160/A160056.asm | neoneye/loda-programs | 11 | 4312 | <filename>oeis/160/A160056.asm
; A160056: Decimal expansion of (107+42*sqrt(2))/89.
; Submitted by <NAME>
; 1,8,6,9,6,2,8,8,7,2,1,3,1,1,2,3,5,0,6,1,7,6,0,7,7,8,2,4,9,0,7,9,4,7,4,0,7,8,6,4,3,3,9,5,3,6,6,9,4,7,3,9,5,4,0,1,5,0,7,9,2,6,8,5,3,4,3,9,4,1,1,6,9,6,1,1,3,3,1,4,1,1,5,9,2,3,1,7,7,1,2,8,2,8,7,7,4,6,7,4
bin $1,$0
m... |
maps/CinnabarPokecenter1F.asm | Dev727/ancientplatinum | 28 | 168201 | <reponame>Dev727/ancientplatinum
object_const_def ; object_event constants
const CINNABARPOKECENTER1F_NURSE
const CINNABARPOKECENTER1F_COOLTRAINER_F
const CINNABARPOKECENTER1F_FISHER
CinnabarPokecenter1F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
CinnabarPokecenter1FNurseScript:
jumpstd pokecenternurse... |
tutorial/src/factorial.adb | Blady-Com/Gate3 | 1 | 23478 | <reponame>Blady-Com/Gate3
------------------------------------------------------------------------------
-- --
-- File generated by gate3 --
-- Glade3 original file : /usr/local/src-2019/gate3_05/t... |
oeis/124/A124999.asm | neoneye/loda-programs | 11 | 161829 | ; A124999: Number of base 5 circular n-digit numbers with adjacent digits differing by 3 or less.
; Submitted by <NAME>(s2)
; 1,5,23,101,467,2165,10055,46709,216995,1008101,4683383,21757829,101081459,469599317,2181641639,10135364501,47086382915,218751625157,1016265649367,4721317472933,21934066839827,101900219778101,473... |
PRG/levels/Desert/W2HBA.asm | narfman0/smb3_pp1 | 0 | 244796 | <reponame>narfman0/smb3_pp1
; Original address was $B1F6
; World 2 Boomerang/Fire Bro
.word $0000 ; Alternate level layout
.word $0000 ; Alternate object layout
.byte LEVEL1_SIZE_01 | LEVEL1_YSTART_180
.byte LEVEL2_BGPAL_01 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_09 | LEVEL3_VSCROLL_LOCKED
.byt... |
kernel/krn_entry.asm | VrncQuentin/FOS | 1 | 179429 | ;; Allows us to make sure we properly enter Kernel.
[bits 32]
[extern main]
call main
jmp $
|
programs/oeis/138/A138229.asm | jmorken/loda | 1 | 24638 | <reponame>jmorken/loda<filename>programs/oeis/138/A138229.asm
; A138229: Expansion of (1-x)/(1-2x+6x^2).
; 1,1,-4,-14,-4,76,176,-104,-1264,-1904,3776,18976,15296,-83264,-258304,-17024,1515776,3133696,-2827264,-24456704,-31949824,82840576,357380096,217716736,-1708847104,-4723994624,805093376,29954154496,55077748736,-695... |
src/ada/src/uxas-common-configuration_manager.adb | pat-rogers/OpenUxAS | 0 | 399 | -- see C:\AFRL_mentorship\OpenUxAS\src\Utilities\UxAS_ConfigurationManager.cpp
with String_Utils; use String_Utils;
with Ada.Strings.Fixed;
with Input_Sources.Strings;
with Input_Sources.File;
with DOM.Readers;
with DOM.Core.Documents;
with DOM.Core.Nodes;
with Sax.Encodings;
with DOM.Core.Elements;
with UxAS.Comm... |
programs/oeis/101/A101553.asm | karttu/loda | 0 | 98140 | <reponame>karttu/loda
; A101553: A modular recurrence.
; 1,5,15,75,225,1125,3375,16875,50625,253125,759375,3796875,11390625,56953125,170859375,854296875,2562890625,12814453125,38443359375,192216796875,576650390625,2883251953125,8649755859375,43248779296875,129746337890625,648731689453125,1946195068359375
add $0,1
cal ... |
bin/JWASM/Samples/Mixed232.asm | Abd-Beltaji/ASMEMU | 3 | 97334 |
;--- 32-bit mixed-language sample.
;--- Main program is assembly, and CRT functions can be used.
;--- 1. Using MS VC
;--- assemble: jwasm -coff Mixed232.asm
;--- link: link Mixed232.obj \msvc\lib\libc.lib /out:Mixed2.exe
;--- 2. Using Digital Mars C++
;--- assemble: jwasm -DDMC Mixed232.asm
;--- link: ... |
OldBasicILP/Syntax/Projection.agda | mietek/hilbert-gentzen | 29 | 17336 | module OldBasicILP.Syntax.Projection where
open import Common.UntypedContext public
import OldBasicILP.UntypedSyntax.ClosedHilbertSequential as CHS
import OldBasicILP.UntypedSyntax.ClosedHilbert as CH
-- Projection of types and derivations to a form parametrised by a closed, untyped representation of syntax.
modul... |
Numeral/Finite/Equiv.agda | Lolirofle/stuff-in-agda | 6 | 9300 | <reponame>Lolirofle/stuff-in-agda<gh_stars>1-10
module Numeral.Finite.Equiv where
open import Numeral.Finite
open import Relator.Equals.Proofs.Equiv
open import Structure.Setoid
instance
𝕟-equiv : ∀{n} → Equiv(𝕟(n))
𝕟-equiv = [≡]-equiv
|
middleware/src/command_line/command_line.adb | rocher/Ada_Drivers_Library | 192 | 13739 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017-2018, AdaCore --
-- --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_902.asm | ljhsiun2/medusa | 9 | 246267 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_902.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xf554, %rsi
lea addresses_A_ht+0x14174, %rdi
nop
nop
nop
nop
nop
and $43392, %rdx
mov $122, ... |
FormalAnalyzer/models/apps/ID16SleepingModeChange+.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 989 | module app_ID16SleepingModeChange
open IoTBottomUp as base
open cap_location
open cap_switch
one sig app_ID16SleepingModeChange extends IoTApp {
theSwitch : one cap_switch,
location : one cap_location,
HomeDay : one cap_location_attr_mode_val,
AwayDay : one cap_location_attr_mode_val,
HomeN... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_912.asm | ljhsiun2/medusa | 9 | 85669 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
lea addresses_WT_ht+0x3b42, %r9
nop
nop
nop
nop
nop
xor $21493, %r15
mov $0x6162636465666768, %rax
movq %rax, (%r9)
nop
nop
sub %r11, %r11
lea addresses_normal_ht+0x17866, %rcx
cmp... |
archive/agda-1/DelayMishMash.agda | m0davis/oscar | 0 | 16571 | <gh_stars>0
module DelayMishMash where
open import Level --public
using (Level) renaming (zero to lzero; suc to lsuc)
open import Size public
open import Prelude.Monad renaming (Monad to RawMonad)
--open import Category.Monad public
-- using (RawMonad; module RawMonad)
open import Data.Empty --pub... |
tests/tests/device/no_status_out_zlp/main.adb | JeremyGrosser/usb_embedded | 0 | 8150 |
-- Some UDC will skip the Status_Out ZLP if a new setup request is received
-- quickly. This test checks that the Device Stack can handle it.
with USB_Testing; use USB_Testing;
with USB_Testing.UDC_Stub; use USB_Testing.UDC_Stub;
with USB_Testing.UDC_Scenarios;
with HAL; use HAL;
with USB.HAL.De... |
Applications/Firefox/windows/properties of first window.applescript | looking-for-a-job/applescript-examples | 1 | 1490 | <reponame>looking-for-a-job/applescript-examples
#!/usr/bin/osascript
tell application "Firefox"
properties of first window
end tell
|
src/mods/tsclient/disable_intro_movie.asm | mvdhout1992/ts-patches | 33 | 104607 | <filename>src/mods/tsclient/disable_intro_movie.asm
%include "macros/patch.inc"
; The game is hardcoded to display INTRO.VQA before loading the mission in some cases
; This hack disables the behaviour
@SET 0x006FE164, {db "B"}
|
data/trainers/pic_pointers_money.asm | opiter09/ASM-Machina | 1 | 102404 | <filename>data/trainers/pic_pointers_money.asm
pic_money: MACRO
dw \1
bcd3 \2
ENDM
TrainerPicAndMoneyPointers::
table_width 5, TrainerPicAndMoneyPointers
; pic pointer, base reward money
; money received after battle = base money × level of highest-level enemy mon
pic_money YoungsterPic, 1500
pic_money BugCa... |
src/Ada/syscalls/ewok-syscalls-cfg.adb | wookey-project/ewok-legacy | 0 | 23951 | <filename>src/Ada/syscalls/ewok-syscalls-cfg.adb
--
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You m... |
testcases/driver_connections/pgsql/connect.adb | jrmarino/AdaBase | 30 | 12301 | -- Used for all testcases for PostgreSQL driver
-- Modify connection parameters as necessary
package body Connect is
procedure connect_database is
begin
DR.basic_connect (database => "adabase_examples",
username => "adabaser",
password => "<PASSWORD>",
... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2172.asm | ljhsiun2/medusa | 9 | 104301 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x18aab, %rsi
lea addresses_UC_ht+0x126dd, %rdi
nop
cmp $5698, %r13
mov $89, %rcx
rep movsl
and %r10, %r10
lea addresses_A_ht+0x80ad, %rsi
lea addresses_normal_ht+0x16e61, %rdi
nop
nop
n... |
tools-src/gnu/gcc/gcc/ada/a-stwise.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 12350 | <filename>tools-src/gnu/gcc/gcc/ada/a-stwise.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
alloy4fun_models/trashltl/models/13/zbNXRELL2v6LSKf9v.als | Kaixi26/org.alloytools.alloy | 0 | 4624 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idzbNXRELL2v6LSKf9v_prop14 {
always all f:Trash | f in Protected and f not in Protected'
}
pred __repair { idzbNXRELL2v6LSKf9v_prop14 }
check __repair { idzbNXRELL2v6LSKf9v_prop14 <=> prop14o } |
pwnlib/shellcraft/templates/i386/linux/findpeerstager.asm | IMULMUL/python3-pwntools | 325 | 4329 | <% from pwnlib.shellcraft import common %>
<% from pwnlib.shellcraft.i386 import linux %>
<%docstring>
Findpeer recvsize stager
Args:
port, the port given to findpeer (defaults to any)
</%docstring>
<%page args="port=None"/>
${linux.findpeer(port)}
${linux.recvsize('esi', 'ecx')}
${linux.stager('ebx', 'ecx')}
|
agda-stdlib-0.9/README/Case.agda | qwe2/try-agda | 1 | 4138 | <reponame>qwe2/try-agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Examples showing how the case expressions can be used
------------------------------------------------------------------------
module README.Case where
open import Data.Fin hiding (pre... |
oeis/081/A081539.asm | neoneye/loda-programs | 11 | 245294 | ; A081539: Triangle read by rows in which the n-th row contains the n numbers in increasing order formed by the concatenation of first n-1 numbers. (The digits of the numbers with 2 or more digits are taken as one entity.) First row is taken to be 0.
; Submitted by <NAME>(s1)
; 0,1,2,12,13,23,123,124,134,234,1234,1235,... |
solutions/10 - Emergency Escapades/size-9_speed-203.asm | michaelgundlach/7billionhumans | 45 | 84707 | -- 7 Billion Humans (2087) --
-- 10: Emergency Escapades --
-- Author: landfillbaby
-- Size: 9
-- Speed: 203
a:
if c != datacube or
c == 4:
step w
endif
if c == 1:
step n
endif
if c == 2:
step e
endif
if c == 3:
step s
endif
jump a
|
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_MoveSprPix.asm | meesokim/z88dk | 0 | 179544 | <reponame>meesokim/z88dk<gh_stars>0
; void sp1_MoveSprPix(struct sp1_ss *s, struct sp1_Rect *clip, uchar *frame, uint x, uint y)
SECTION code_temp_sp1
PUBLIC _sp1_MoveSprPix
_sp1_MoveSprPix:
pop af
exx
pop ix
pop bc
exx
pop hl
pop de
pop bc
push bc
push de
push hl
exx
push... |
programs/oeis/008/A008672.asm | neoneye/loda | 22 | 14749 | ; A008672: Expansion of 1/((1-x)*(1-x^3)*(1-x^5)).
; 1,1,1,2,2,3,4,4,5,6,7,8,9,10,11,13,14,15,17,18,20,22,23,25,27,29,31,33,35,37,40,42,44,47,49,52,55,57,60,63,66,69,72,75,78,82,85,88,92,95,99,103,106,110,114,118,122,126,130,134,139,143,147,152,156,161,166,170,175,180,185,190,195,200,205,211,216,221,227,232,238,244,249... |
aunit/aunit-run.adb | btmalone/alog | 0 | 1291 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
src/sprite_dalgurak.asm | fjpena/sword-of-ianna-msx2 | 43 | 12522 | <filename>src/sprite_dalgurak.asm
idle:
DB 0, 0, 0, 16, 22, 161, 1, 161, 97, 1, 0, 0
DB 0, 0, 0, 16, 107, 87, 26, 167, 183, 1, 0, 0
DB 0, 16, 1, 0, 177, 87, 83, 170, 23, 0, 0, 0
DB 0, 16, 22, 1, 16, 167, 51, 53, 1, 16, 0, 0
DB 0, 0,... |
libsrc/target/vz/stdio/vpeek_MODE1.asm | Frodevan/z88dk | 640 | 160366 | <reponame>Frodevan/z88dk<gh_stars>100-1000
SECTION code_clib
PUBLIC vpeek_MODE1
EXTERN vpeek_screendollar
EXTERN base_graphics
;Entry: c = x,
; b = y
; e = rawmode
;Exit: nc = success
; a = character,
; c = failure
vpeek_MODE1:
ld ... |
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sdcc/___h2sint.asm | Frodevan/z88dk | 0 | 26601 |
SECTION code_fp_math16
PUBLIC ___h2sint
PUBLIC _f16_i16_f16
EXTERN cm16_sdcc___h2sint
defc ___h2sint = cm16_sdcc___h2sint
defc _f16_i16_f16 = cm16_sdcc___h2sint
|
misc/cpcacid_src/cpcacid_modetrig.asm | floooh/yakc | 106 | 7630 | ;; (c) Copyright <NAME> 2015-2016
;; This code is part of the Arnold emulator distribution.
;; This code is free to distribute without modification
;; this copyright header must be retained.
org &4000
scr_set_mode equ &bc0e
txt_output equ &bb5a
scr_set_border equ &bc38
km_wait_char equ &bb06
start:
ld a,2
call scr_s... |
Task/Metered-concurrency/Ada/metered-concurrency-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 12760 | package body Semaphores is
------------------------
-- Counting_Semaphore --
------------------------
protected body Counting_Semaphore is
-------------
-- Acquire --
-------------
entry Acquire when Lock_Count < Max is
begin
Lock_Count := Lock_Count + 1;
end... |
demos/math.adb | daveshields/AdaEd | 3 | 11696 | PACKAGE BODY math IS
-- body of Math function package, which interfaces to the Ultrix
-- math library. Normally we could interface our Ada math functions
-- directly to the corresponding C functions, but this is not possible
-- because the C functions deal only with double-precision float
-- quantities and A... |
Jumble.agda | pigworker/InteriorDesign | 6 | 13291 | <filename>Jumble.agda
module Jumble where
open import Basics
swap : {I J : Set} -> I * J -> J * I
swap (i , j) = j , i
_+L_ : {X : Set} -> List X -> List X -> List X
[] +L ys = ys
(x ,- xs) +L ys = x ,- (xs +L ys)
infixr 4 _+L_
catNatural : {X Y : Set}(f : X -> Y)(xs xs' : List X) ->
(list f xs +L list f xs') == ... |
bindings/stdlib/Light/Implementation/Standard/Data/These.agda | zamfofex/lightlib | 1 | 5959 | <reponame>zamfofex/lightlib
{-# OPTIONS --omega-in-omega --no-termination-check --overlapping-instances #-}
module Light.Implementation.Standard.Data.These where
open import Light.Library.Data.These using (Library ; Dependencies)
instance dependencies : Dependencies
dependencies = record {}
instance library : Libra... |
examples/sieve.asm | dalehumby/d8 | 0 | 5691 | ; Implement Sieve of Eratosthenes
; https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes
; Start with an array of numbers between 2..MAX, filter out all non-primes
; Left with an array like [2, 3, 0, 5, 0, 7, 0, 0, 0, 11, 0, 13, ..., 23]
.reset Start
.define MAX 23 ; Highest number to test
.de... |
test/Succeed/Issue473.agda | redfish64/autonomic-agda | 3 | 8924 |
module Issue473 where
record _×_ A B : Set where
constructor _,_
field
fst : A
snd : B
open _×_
data Nat : Set where
zero : Nat
suc : Nat → Nat
data Zero : Nat → Set where
zero : Zero zero
data Zero₂ : Nat → Nat → Set where
zero : Zero₂ zero zero
f₁ : (p : Nat × Nat) → Zero₂ (fst p) (snd p) ... |
xv6-l/pecho.asm | xsuler/osPlayground | 0 | 167318 | <filename>xv6-l/pecho.asm
_pecho: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl ... |
games/HomeLand/Banner.asm | BttrDrgn/GC-Translation | 1 | 178852 | //Kind of a pointless file but ill keep it
// Banner Text
Text($49A0D7F8, "HomeLand") ; fill 24 // Title Text (32 Bytes)
Text($49A0D838, "HomeLand") ; fill 56 // Long Title Text (64 Bytes)
Text($49A0D8B8, "Adventures in a magical world, let's solve the mystery & incident.") ; fill 62 // Description Text (128 Bytes) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.