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 |
|---|---|---|---|---|
Transynther/x86/_processed/NC/_ht_zr_/i7-8650U_0xd2.log_15843_938.asm | ljhsiun2/medusa | 9 | 2938 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x6f15, %rsi
lea addresses_WT_ht+0x18f79, %rdi
clflush (%rsi)
add $51399, %r12
mov $31, %rcx
rep movsw
nop
nop
nop
nop
add %rsi, %rsi
lea addresses_WT_ht+0xfe, %rcx
clflush (%rcx)
nop
nop
nop
... |
libsrc/_DEVELOPMENT/input/sms/z80/asm_in_wait_key.asm | jpoikela/z88dk | 640 | 20204 | ; ===============================================================
; Apr 2014
; ===============================================================
;
; void in_wait_key(void)
;
; Busy wait until a key is pressed.
;
; ===============================================================
SECTION code_clib
SECTION code_input
PUBL... |
libsrc/_DEVELOPMENT/arch/sms/PSGlib/c/sccz80/PSGStop.asm | jpoikela/z88dk | 38 | 168967 | <reponame>jpoikela/z88dk
; void PSGStop(void)
SECTION code_clib
SECTION code_PSGlib
PUBLIC PSGStop
EXTERN asm_PSGlib_Stop
defc PSGStop = asm_PSGlib_Stop
|
src/entdlr/parser/grammar/JavadocParser.g4 | tstraus/entdlr | 0 | 467 | <reponame>tstraus/entdlr<gh_stars>0
parser grammar JavadocParser;
options { tokenVocab=JavadocLexer; }
documentation
: EOF
| JAVADOC_START skipWhitespace* documentationContent JAVADOC_END EOF
| skipWhitespace* documentationContent EOF
;
documentationContent
: description skipWhitespace*
| skipWhitespace* tagS... |
sav/template/maps/final_pre/credits.asm | zzazzdzz/fools2019 | 12 | 91708 | <gh_stars>10-100
; credits
StartCredits:
xor a
ldh [hMapAnims], a
ld bc, 32
ld de, $c900
ld hl, LoadFrontPicRoutine
call CopyBytes
ld bc, 32
ld de, $c930
ld hl, AnimateFrontPicRoutine
call CopyBytes
ld bc, 64
ld de, $c960
ld hl, CreditsFinalRoutine
call CopyBytes... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_207.asm | ljhsiun2/medusa | 9 | 14509 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_207.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x8f8f, %rax
nop
nop
nop
nop
nop
inc %r10
movb (%rax), %r11b
nop
cmp $35702, %ra... |
Test-files/Amrstrong.asm | anchittandon/Implementation-of-a-5-stage-RISC-processor | 1 | 171215 | .main:
mov r0, 371
mov r1,0
mov r2,r0
mov r5,0
b check
loop:
mod r3,r2,10
mul r4,r3, r3
mul r4,r4,r3
add r5, r5,r4
div r2,r2,0x000A
b check
check:
cmp r2, 0
bgt loop
beq end
end:
cmp r5,r0
beq return
b final
return:
mov r1,1
final:
b ... |
programs/oeis/176/A176889.asm | karttu/loda | 0 | 168770 | <reponame>karttu/loda
; A176889: a(2*k-1)=1, a(2*k)=2*k^2 (definition by <NAME>, see References).
; 1,2,1,8,1,18,1,32,1,50,1,72,1,98,1,128,1,162,1,200,1,242,1,288,1,338,1,392,1,450,1,512,1,578,1,648,1,722,1,800,1,882,1,968,1,1058,1,1152,1,1250,1,1352,1,1458,1,1568,1,1682,1,1800,1,1922,1,2048,1,2178,1,2312,1,2450,1,2592... |
models/tests/test32.als | transclosure/Amalgam | 4 | 4701 | <filename>models/tests/test32.als
module tests/test32
open tests/test32a as a
open tests/test32b as b
sig MAIN extends A { }
run {}
|
source/mpc-generic_c.ads | ytomino/gmp-ada | 4 | 10630 | with MPFR.Generic_FR;
with MPC.Root_C;
generic
with package Real_FR is new MPFR.Generic_FR (others => <>);
with package Imaginary_FR is new MPFR.Generic_FR (others => <>);
package MPC.Generic_C is
pragma Preelaborate;
function Rounding return MPC.Rounding;
pragma Inline (Rounding);
type MP_Complex is
new ... |
programs/oeis/010/A010972.asm | karttu/loda | 1 | 240049 | ; A010972: a(n) = binomial(n,19).
; 1,20,210,1540,8855,42504,177100,657800,2220075,6906900,20030010,54627300,141120525,347373600,818809200,1855967520,4059928950,8597496600,17672631900,35345263800,68923264410,131282408400,244662670200,446775310800,800472431850,1408831480056,2438362177020,4154246671960,6973199770790,1154... |
Transynther/x86/_processed/US/_st_sm_/i7-7700_9_0x48_notsx.log_21829_1945.asm | ljhsiun2/medusa | 9 | 22381 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1e863, %rsi
lea addresses_A_ht+0x1cff, %rdi
nop
nop
nop
nop
xor $55971, %r11
mov $99, %rcx
rep movsb
nop
nop
and %r8, %r8
lea addresses_D_ht+0x146d3... |
oeis/119/A119959.asm | neoneye/loda-programs | 11 | 26462 | ; A119959: p^2-p+1 central polygonal numbers with prime indices A002061(prime(n)).
; Submitted by <NAME>
; 3,7,21,43,111,157,273,343,507,813,931,1333,1641,1807,2163,2757,3423,3661,4423,4971,5257,6163,6807,7833,9313,10101,10507,11343,11773,12657,16003,17031,18633,19183,22053,22651,24493,26407,27723,29757,31863
seq $0,4... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_242.asm | ljhsiun2/medusa | 9 | 17969 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x11fbf, %r14
nop
inc %r11
mov $0x6162636465666768, %r12
movq %r12, (%r14)
add $16040, %r12
lea addresses_A_ht+0x1cba7, %rdi
nop
xor $44165, %rbx
mov $0x6162636465666768, %r15... |
Lab1/Preliminary_Work/preLIMProblem1.asm | zeynepCankara/Computer_Organization_Labs | 3 | 162167 | <gh_stars>1-10
# <NAME> -- 20/02/2019
# prelimReport.asm -- Solutions for the Preliminary Report before Lab1
# Registers used:
# $t0: base address of the array
# $t1 size of the array
# $t2 index of the array
# $t5 swapping
# $t6 swapping
## Text Section ##
.globl __start
.text
__start:
# prompt the task on scree... |
alloy4fun_models/trashltl/models/17/XPJNBRrpryRCDnbhD.als | Kaixi26/org.alloytools.alloy | 0 | 1587 | open main
pred idXPJNBRrpryRCDnbhD_prop18 {
all p: Protected | always p not in Protected implies before p in Trash
}
pred __repair { idXPJNBRrpryRCDnbhD_prop18 }
check __repair { idXPJNBRrpryRCDnbhD_prop18 <=> prop18o } |
list-simplifier.agda | rfindler/ial | 29 | 13414 | <filename>list-simplifier.agda
module list-simplifier where
open import level
open import bool
open import functions
open import eq
open import empty
open import level
open import list
open import list-thms
open import nat
open import neq
open import product
open import product-thms
data 𝕃ʳ : Set → Set lone where
... |
src/lithium-photo_process.ads | faelys/lithium3 | 1 | 9067 | ------------------------------------------------------------------------------
-- Copyright (c) 2019, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1746.asm | ljhsiun2/medusa | 9 | 98870 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %rbp
push %rbx
lea addresses_UC_ht+0xc336, %rbp
and %r13, %r13
mov (%rbp), %bx
nop
nop
nop
and %r10, %r10
pop %rbx
pop %rbp
pop %r13
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r13
push %r14
push %r... |
tests/shared/glfw2_backend/gl_test-display_backend.adb | Roldak/OpenGLAda | 0 | 12174 | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with Glfw.Display;
with Glfw.Events.Keys;
package body GL_Test.Display_Backend is
procedure Init renames Glfw.Init;
procedure Open_Window (Width, Height : Natural; Depth_Bits : Natural := 0) is
be... |
test/Fail/RecursiveRecordNeedsInductionDeclaration.agda | cruhland/agda | 1,989 | 5923 | <filename>test/Fail/RecursiveRecordNeedsInductionDeclaration.agda
-- {-# OPTIONS -v tc.pos:10 #-}
-- Andreas, 2014-07-04
record R (A : Set) : Set where
field f : R A
-- Should complain about missing 'inductive' or 'coinductive'.
|
programs/oeis/308/A308084.asm | karttu/loda | 1 | 9902 | <filename>programs/oeis/308/A308084.asm
; A308084: a(n) = n*(n-1)*d(n)/4, where d(n)=A000005(n) is the number of divisors of n.
; 0,1,3,9,10,30,21,56,54,90,55,198,78,182,210,300,136,459,171,570,420,462,253,1104,450,650,702,1134,406,1740,465,1488,1056,1122,1190,2835,666,1406,1482,3120,820,3444,903,2838,2970,2070,1081,56... |
kernel.asm | nandakrishna75/xv6-public | 0 | 94411 |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
# E... |
build/gnat/rts/common/adainclude/memory.ads | Lucretia/bare_bones | 70 | 482 | <gh_stars>10-100
-- -*- Mode: Ada -*-
-- Filename : memory.ads
-- Description : Memory routines.
-- Author : <NAME>
-- Created On : Thur Nov 17 15:04:08 2016
-- Licence : See LICENCE in the root directory.
with System;
package Memory is
function Cop... |
oeis/006/A006621.asm | neoneye/loda-programs | 11 | 29829 | <gh_stars>10-100
; A006621: Zarankiewicz's problem k_3(n,n+1).
; Submitted by <NAME>
; 11,17,23,30,38,46,55,65,75,87
sub $0,1
mul $0,2
add $0,16
pow $0,2
div $0,11
mul $0,2
sub $0,34
div $0,2
add $0,11
|
libsrc/_DEVELOPMENT/arch/sms/vram/c/sccz80/sms_copy_mem_to_vram_unsafe_callee.asm | jpoikela/z88dk | 640 | 95832 | ; void sms_copy_mem_to_vram_unsafe(void *src, unsigned int n)
SECTION code_clib
SECTION code_crt_common
PUBLIC sms_copy_mem_to_vram_unsafe_callee
EXTERN asm_sms_copy_mem_to_vram_unsafe
sms_copy_mem_to_vram_unsafe_callee:
pop hl
pop bc
ex (sp),hl
jp asm_sms_copy_mem_to_vram_unsafe
|
examples/AIM6/Path/Vec.agda | asr/agda-kanso | 1 | 2572 | <filename>examples/AIM6/Path/Vec.agda
module Vec where
open import Star
open import Nat
data Step (A : Set) : Nat -> Nat -> Set where
step : (x : A){n : Nat} -> Step A (suc n) n
Vec : (A : Set) -> Nat -> Set
Vec A n = Star (Step A) n zero
[] : {A : Set} -> Vec A zero
[] = ε
_::_ : {A : Set}{n : Nat} -> A -> Vec... |
oeis/208/A208296.asm | neoneye/loda-programs | 11 | 11408 | ; A208296: Smallest positive nontrivial odd solution of the congruence x^2 == 1 (mod A001748(n+2)), n >= 1.
; Submitted by <NAME>
; 11,13,23,25,35,37,47,59,61,73,83,85,95,107,119,121,133,143,145,157,167,179,193,203,205,215,217,227,253,263,275,277,299,301,313,325,335,347,359,361,383,385,395,397,421,445,455,457,467,479,4... |
programs/oeis/090/A090995.asm | karttu/loda | 0 | 28154 | <reponame>karttu/loda
; A090995: Number of meaningful differential operations of the n-th order on the space R^10.
; 10,18,32,58,104,188,338,610,1098,1980,3566,6428,11580,20870,37602,67762,122096,220018,396448,714388,1287266,2319594,4179738,7531660,13571542,24455124,44066548,79405254,143083226,257827186,464588384,83715... |
hello-world-prog.agda | avieor/agda-demos | 0 | 14746 | {-# OPTIONS --guardedness #-}
module hello-world-prog where
open import IO
main : Main
main = run (putStrLn "Hello, World!")
|
behavior-engine/src/main/antlr4/lab/cadl/analysis/behavior/grammar/Behavior.g4 | liruixpc11/saf-java | 0 | 5133 | <gh_stars>0
grammar Behavior;
// model output
modelOutput: modelId '(' ID (',' ID)* ')'
| modelId;
modelId: ID;
// behavior expression
behavior: ID # StateBehavior
| '(' behavior ')' behaviorConstraint? # ConstraintBehavior
| NEGATION behav... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0x84_notsx.log_21829_890.asm | ljhsiun2/medusa | 9 | 173477 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x946c, %rsi
lea addresses_WT_ht+0xa784, %rdi
clflush (%rdi)
nop
nop
nop
nop
inc %r12
mov $77, %rcx
rep movsw
nop
cmp %r12, %r12
lea addresses_A_ht+0x158ac, %rs... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_652.asm | ljhsiun2/medusa | 9 | 172565 | <filename>Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_652.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x19901, %r10
nop
nop
nop
add %rdx, %rdx
mov $0x6162636465666768, %rbp
movq %rbp, %xm... |
oeis/349/A349660.asm | neoneye/loda-programs | 11 | 96420 | ; A349660: Numbers which are the sum of a prime and the square of the next prime.
; Submitted by <NAME>
; 11,28,54,128,180,302,378,548,864,990,1400,1718,1890,2252,2856,3534,3780,4550,5108,5400,6314,6968,8004,9498,10298,10710,11552,11988,12878,16242,17288,18900,19458,22340,22950,24800,26726,28052,30096,32214,32940,36662... |
3-mid/opengl/source/lean/model/opengl-model-billboard-textured.adb | charlie5/lace-alire | 1 | 8589 | <filename>3-mid/opengl/source/lean/model/opengl-model-billboard-textured.adb
with
openGL.Primitive.indexed,
openGL.Geometry.textured,
openGL.io,
ada.unchecked_Deallocation;
package body openGL.Model.billboard.textured
is
---------
--- Forge
--
package body Forge
is
function ... |
src/Selective/Examples/Fibonacci.agda | Zalastax/thesis | 1 | 16696 | module Selective.Examples.Fibonacci where
open import Selective.ActorMonad
open import Prelude
open import Debug
open import Data.Nat.Show using (show)
data End : Set where
END : End
ℕ-message : MessageType
ℕ-message = [ ValueType ℕ ]ˡ
End-message : MessageType
End-message = [ ValueType End ]ˡ
... |
src/bb_pico_bsp-i2c.adb | Fabien-Chouteau/bb_pico_bsp | 0 | 23681 | with RP.Device;
with RP.I2C_Master;
with RP.GPIO;
with Pico;
package body BB_Pico_Bsp.I2C is
I2C_Port : RP.I2C_Master.I2C_Master_Port renames RP.Device.I2C_0;
I2C_SDA : RP.GPIO.GPIO_Point renames Pico.GP4;
I2C_SCL : RP.GPIO.GPIO_Point renames Pico.GP5;
procedure Initialize;
----------------
-- ... |
_build/dispatcher/jmp_ippsGFpGetInfo_4b72be1c.asm | zyktrcn/ippcp | 1 | 246427 | extern m7_ippsGFpGetInfo:function
extern n8_ippsGFpGetInfo:function
extern y8_ippsGFpGetInfo:function
extern e9_ippsGFpGetInfo:function
extern l9_ippsGFpGetInfo:function
extern n0_ippsGFpGetInfo:function
extern k0_ippsGFpGetInfo:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
segment .data
a... |
Library/Mailbox/Outbox/outboxProgress.asm | steakknife/pcgeos | 504 | 29919 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT: Clavin
MODULE: Outbox
FILE: outboxProgress.asm
AUTHOR: <NAME>, May 13, 1994
ROUTINES:
Name Description
---- -----------
R... |
programs/oeis/169/A169825.asm | neoneye/loda | 22 | 243442 | ; A169825: Multiples of 420.
; 0,420,840,1260,1680,2100,2520,2940,3360,3780,4200,4620,5040,5460,5880,6300,6720,7140,7560,7980,8400,8820,9240,9660,10080,10500,10920,11340,11760,12180,12600,13020,13440,13860,14280,14700,15120,15540,15960,16380,16800
mul $0,420
|
4-high/gel/applet/demo/distributed/gel_demo_client.ads | charlie5/lace | 20 | 6481 | <gh_stars>10-100
package gel_demo_Client
--
-- Provides a client.
--
is
task Item
is
entry start;
end Item;
end gel_demo_Client;
|
source/nodes/program-nodes-parameter_specifications.ads | reznikmm/gela | 0 | 29510 | <gh_stars>0
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Defining_Identifiers;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Elements.Parameter_Specifications;
w... |
programs/oeis/005/A005857.asm | karttu/loda | 0 | 96037 | ; A005857: The coding-theoretic function A(n,12,7).
; 1,1,1,1,1,1,2,2,2,2,2,3,3,3,3,4,4,4,5,5,6,8
add $0,1
lpb $0,1
add $0,$1
sub $0,5
trn $0,1
add $1,1
mov $2,$0
lpe
add $1,$2
add $1,$2
|
alloy4fun_models/trashltl/models/11/hK59jnYbjZm4MQnEE.als | Kaixi26/org.alloytools.alloy | 0 | 4439 | open main
pred idhK59jnYbjZm4MQnEE_prop12 {
always all f:File | eventually f in Trash implies always f in Trash
}
pred __repair { idhK59jnYbjZm4MQnEE_prop12 }
check __repair { idhK59jnYbjZm4MQnEE_prop12 <=> prop12o } |
pkgs/tools/yasm/src/modules/objfmts/bin/tests/float-err.asm | manggoguy/parsec-modified | 2,151 | 100985 | ; Tests illegal float handling
db 1.2
dw 3.14e500
dd 5.12e100000
dq 3.141592653589793e-158105
dt 5653894745.318293470142875104710284019245e-1999
db -1.5
dw -5593824513450897123075109385109385019324871093470134710984.34981
dd -47102940.46710358135703124751034875109875103294510984019324
dq -45102571092751092341095.58275... |
project/src/cartridge_hpp.ads | corentingay/ada_epita | 0 | 22491 | <filename>project/src/cartridge_hpp.ads
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with word_operations_hpp;
with Interfaces.C.Extensions;
package cartridge_hpp is
-- We use this method to change the currently running game.
-- The gameboy should not be running while calling ... |
Issue5789.agda | sseefried/agda | 1 | 8371 | <filename>Issue5789.agda
open import Agda.Builtin.List
open import Agda.Builtin.Reflection
open import Agda.Builtin.Unit
postulate
A B : Set
@0 a : A
tac : Term → TC ⊤
tac = unify (def (quote a) [])
postulate
f : {@0 @(tactic tac) x : A} → B
test : B
test = f
|
masm/lesson04/lesson04.asm | neozhou2009/nehe-opengl | 177 | 25052 | <filename>masm/lesson04/lesson04.asm
; include file for Masm32 (and nasm/tasm)
; could be find at hardcode site :
; http://bizarrecreations.webjump.com
.586p
.MODEL FLAT,STDCALL
option casemap:none
include \masm32\include\windows.inc
include \masm32\include\ogl\gl.def
include \masm32\include\ogl\glu.def
includelib \ma... |
src/02-writingtext.asm | ARAJAMOMO5/MICE | 0 | 29188 | <reponame>ARAJAMOMO5/MICE
; =====================================================
; To assemble and run:
; nasm -felf64 02-writingtext.asm -o 02-writingtext.o
; ld 02-writingtext.o -o 02-writingtext
; ./02-writingtext
; =====================================================
%include "include/consts.inc"
%include "inclu... |
programs/oeis/299/A299260.asm | neoneye/loda | 22 | 20894 | <filename>programs/oeis/299/A299260.asm
; A299260: Partial sums of A299254.
; 1,8,29,74,153,275,450,687,996,1387,1869,2452,3145,3958,4901,5983,7214,8603,10160,11895,13817,15936,18261,20802,23569,26571,29818,33319,37084,41123,45445,50060,54977,60206,65757,71639,77862,84435,91368,98671,106353,114424,122893,131770,141065,... |
programs/oeis/292/A292051.asm | karttu/loda | 0 | 25348 | ; A292051: Wiener index of the n X n black bishop graph.
; 0,1,14,42,124,251,506,852,1432,2165,3270,4606,6484,8687,11634,15016,19376,24297,30462,37330,45740,55011,66154,78332,92744,108381,126646,146342,169092,193495,221410,251216,285024,320977,361454,404346,452316,502987,559322,618660
mov $4,$0
mov $5,$0
lpb $4,1
mo... |
programs/oeis/171/A171714.asm | karttu/loda | 1 | 21246 | ; A171714: a(n) = ceiling((n+1)^4/2).
; 1,8,41,128,313,648,1201,2048,3281,5000,7321,10368,14281,19208,25313,32768,41761,52488,65161,80000,97241,117128,139921,165888,195313,228488,265721,307328,353641,405000,461761,524288,592961,668168,750313,839808,937081,1042568,1156721,1280000,1412881,1555848,1709401,1874048,2050313,... |
oeis/079/A079277.asm | neoneye/loda-programs | 11 | 28096 | <filename>oeis/079/A079277.asm<gh_stars>10-100
; A079277: Largest integer k < n such that any prime factor of k is also a prime factor of n.
; Submitted by <NAME>(s3)
; 1,1,2,1,4,1,4,3,8,1,9,1,8,9,8,1,16,1,16,9,16,1,18,5,16,9,16,1,27,1,16,27,32,25,32,1,32,27,32,1,36,1,32,27,32,1,36,7,40,27,32,1,48,25,49,27,32,1,54,1,32... |
programs/oeis/096/A096603.asm | neoneye/loda | 22 | 2304 | ; A096603: Numbers occurring twice in A096607.
; 1,2,4,5,8,9,11,13,16,17,19,21,23,25,27,29,32,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,64,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,99,101,103,105,107,109,111,113,115,117,119,121,123,125,128,129
mul $0,2
mov $2,$0
lpb $0
sub $0,1
div $0,2
add $1,$2
d... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1818.asm | ljhsiun2/medusa | 9 | 241244 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x93f, %rax
and $46816, %rsi
movb (%rax), %dl
nop
nop
nop
nop
nop
sub $4298, %r9
lea addresses_A_ht+0x7554, %rsi
lea addresses_WT_ht+0xaf3f, %rdi
and %r8, %r8
mo... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/real_typedecl.ads | ouankou/rose | 488 | 13217 | package Real_Typedecl is
type FloatT is digits 10;
IndianaPi : FloatT := 3.2;
end Real_Typedecl;
|
tests/testsuite-2.15/ascii-src/cputiming.asm | meesokim/chips-test | 330 | 12926 |
*= $0801
.byte $4c,$14,$08,$00,$97
turboass = 780
.text "780"
.byte $2c,$30,$3a,$9e,$32,$30
.byte $37,$33,$00,$00,$00
lda #1
sta turboass
jmp main
print
.block
pla
sta print0+1
pla
... |
parser/src/main/antlr/GyroParser.g4 | alexkarezin/gyro | 136 | 1579 | <reponame>alexkarezin/gyro<gh_stars>100-1000
/*
* Copyright 2019, Perfect Sense, Inc.
*
* 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... |
lib/gatearray.asm | sikorama/still_scrolling | 0 | 99239 | ; GATE ARRAY
; REGISTRES GATE ARRAY
GA_PORT_H EQU #7F ; Les valeurs 78 a 7f sont valides pour outi par ex
GA_PORT EQU #7F00
GA_SELECT_COL EQU #00
GA_SELECT_COLOR EQU #00
GA_SELECT_BORDER EQU #10
GA_SET_COL EQU #40
GA_SET_COLOR EQU #40
GA_SET_MODE EQU #8C
MACRO GA_SET_INK INK,COL
... |
source/Controller_Dummy.ads | bracke/Meaning | 0 | 17465 | with RASCAL.OS; use RASCAL.OS;
package Controller_Dummy is
type TEL_Dummy is new Toolbox_UserEventListener(16#59#,-1,-1) with null record;
--
-- This does nothing.
--
procedure Handle (The : in TEL_Dummy);
end Controller_Dummy;
|
stress/gf_stress.adb | yannickmoy/SPARKNaCl | 76 | 21950 | with SPARKNaCl.Tests;
procedure GF_Stress
is
begin
SPARKNaCl.Tests.GF_Stress;
end GF_Stress;
|
source/decoration.ads | jquorning/WeDo | 1 | 21708 | --
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
with Status;
package Decoration is
us... |
editor/fast.asm | dvorka/naaga | 1 | 2647 | <reponame>dvorka/naaga
.386
IDEAL
MODEL SMALL, C
CODESEG
PUBLIC C SlowShow320x200 ; to be seen in other modules
;- macros -----------------------------------------------------------------------------
MACRO NORMALIZE_POINTER sg, off
... |
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/prot3_pkg.ads | TUDSSL/TICS | 7 | 2249 | package Prot3_Pkg is
type Rec is record
V1 : Short_Integer;
V2 : Short_Integer;
end record with Volatile_Full_Access;
protected type Prot is
procedure Foo (J : Short_Integer);
private
Val : Rec;
end Prot;
P : Prot;
end Prot3_Pkg;
|
child_processes-path_searching.ads | annexi-strayline/AURA | 13 | 19102 | ------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- ... |
src/fltk-widgets-inputs-outputs.adb | micahwelf/FLTK-Ada | 1 | 21251 | <reponame>micahwelf/FLTK-Ada<gh_stars>1-10
with
Interfaces.C.Strings,
System;
use type
System.Address;
package body FLTK.Widgets.Inputs.Outputs is
procedure output_set_draw_hook
(W, D : in System.Address);
pragma Import (C, output_set_draw_hook, "output_set_draw_hook");
pragm... |
tests/natools-cron-tests.adb | faelys/natools | 0 | 26558 | ------------------------------------------------------------------------------
-- Copyright (c) 2014-2017, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
AlgorithmsFromTheBook/xorshift.asm | MateoParrado/AlgorithmsFromTheBook | 0 | 166785 | PUBLIC asm_xorshift
.386
.model flat, c
.code
;--------------------------------------------------------
asm_xorshift PROC
;
; Function that generates a pseudorandom number
; using a the xorshift method, a type of linear
; feedback shift register. Note that the numbers
; do not appear fully random, and are not usabl... |
basic/src/commands/run.asm | paulscottrobson/eris | 13 | 1419 | ; *****************************************************************************
; *****************************************************************************
;
; Name: run.asm
; Purpose: Run program
; Created: 3rd March 2020
; Reviewed: 17th March 2020
; Author: <NAME> (<EMAIL>)
;
; **************************... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt11.ads | best08618/asylo | 7 | 2752 | package Opt11 is
type String_Ptr is access constant String;
type Form_Type is (Qualified, Unqualified);
type Rec is record
N1, N2, N3 : Natural;
Fixed : String_Ptr;
Form : Form_Type;
Is_Local : Boolean := True;
end record;
pragma Pack (Rec);
procedure Proc;
end Opt11;
|
3-mid/physics/interface/source/motor/physics-motor-spring-angular.ads | charlie5/lace | 20 | 4641 |
with Math;
package physics.Motor.spring.angular is
-- a spring which operates in 3 degrees of rotational motion to keep a Solid in a desired attitude.
use type math.Real;
type Item is new physics.Motor.spring.item with
record
desiredForward : math.Vector_3 := (0.0, 0.0, -1.0); -- the M... |
runtime/ravenscar-sfp-stm32f427/common/i-bit_types.ads | TUM-EI-RCS/StratoX | 12 | 6632 | <filename>runtime/ravenscar-sfp-stm32f427/common/i-bit_types.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
programs/oeis/241/A241751.asm | neoneye/loda | 22 | 163891 | ; A241751: a(n) = n^2 + 16.
; 16,17,20,25,32,41,52,65,80,97,116,137,160,185,212,241,272,305,340,377,416,457,500,545,592,641,692,745,800,857,916,977,1040,1105,1172,1241,1312,1385,1460,1537,1616,1697,1780,1865,1952,2041,2132,2225,2320,2417,2516,2617,2720,2825,2932,3041,3152,3265,3380,3497,3616,3737,3860,3985,4112,4241,43... |
LC/Subst/Var.agda | banacorn/bidirectional | 2 | 2390 | module LC.Subst.Var where
open import Data.Nat
open import Data.Nat.Properties
open import Relation.Nullary
--------------------------------------------------------------------------------
-- variable binding
data Binding : ℕ → ℕ → Set where
Free : ∀ {n x} → (n≤x : n ≤ x) → Binding n x
Bound : ∀ {n x} → (n>x... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_1_867.asm | ljhsiun2/medusa | 9 | 243942 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1c1a6, %r15
lfence
mov $0x6162636465666768, %r12
movq %r12, %xmm6
vmovups %ymm6, (%r15)
nop
sub %r14, %r14
lea addresses_D_ht+0x2626, %rsi
lea addresses_normal_ht+0xe5a6, %rdi
nop
nop... |
alloy4fun_models/trashltl/models/17/TfxSPxmuhnZMqT6vY.als | Kaixi26/org.alloytools.alloy | 0 | 2255 | open main
pred idTfxSPxmuhnZMqT6vY_prop18 {
always Protected & Protected' not in Trash'
}
pred __repair { idTfxSPxmuhnZMqT6vY_prop18 }
check __repair { idTfxSPxmuhnZMqT6vY_prop18 <=> prop18o } |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_696.asm | ljhsiun2/medusa | 9 | 80099 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_696.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x136df, %rsi
lea addresses_WC_ht+0x126a7, %rdi
clflush (%rsi)
nop
nop
nop
add %r8, %r8
mov $114, %rc... |
examples/GUIgeneric/GUIModel.agda | stephanadls/state-dependent-gui | 2 | 998 |
module GUIgeneric.GUIModel where
open import GUIgeneric.Prelude renaming (inj₁ to secondButton; inj₂ to firstButton; WxColor to Color) hiding (IOInterfaceˢ)
open import GUIgeneric.GUIDefinitions renaming (add to add'; add' to add) --; ComponentEls to Frame)
open import GUIgeneric.GUI
open import GUIgeneric.GUIExampl... |
programs/oeis/194/A194148.asm | neoneye/loda | 22 | 168169 | <reponame>neoneye/loda<filename>programs/oeis/194/A194148.asm
; A194148: Sum_{j=1..n} floor(j*(1/2 + sqrt(2))); n-th partial sum of Beatty sequence for 1/2 + sqrt(2).
; 1,4,9,16,25,36,49,64,81,100,121,143,167,193,221,251,283,317,353,391,431,473,517,562,609,658,709,762,817,874,933,994,1057,1122,1188,1256,1326,1398,1472,... |
src/main/antlr4/pl/dzielins42/dice/DiceNotation.g4 | dzielins42/dice-notation-parser | 0 | 1805 | <filename>src/main/antlr4/pl/dzielins42/dice/DiceNotation.g4
grammar DiceNotation;
@parser::members {
private java.util.Random _random = new java.util.Random();
public static int eval(String expression) {
ANTLRInputStream in = new ANTLRInputStream(expression);
DiceNotationLexer lexer = new Di... |
src/Partiality-monad/Inductive.agda | nad/partiality-monad | 2 | 5207 | ------------------------------------------------------------------------
-- A quotient inductive-inductive definition of the partiality monad
------------------------------------------------------------------------
{-# OPTIONS --erased-cubical --safe #-}
module Partiality-monad.Inductive where
import Equality.Path a... |
AnyBoolean.agda | larrytheliquid/bahug-april2010 | 0 | 4927 | <reponame>larrytheliquid/bahug-april2010<filename>AnyBoolean.agda
module AnyBoolean where
open import Data.Bool
open import Data.Nat
open import Data.List hiding (any)
open import Relation.Binary.PropositionalEquality
even : ℕ → Bool
even zero = true
even (suc zero) = false
even (suc (suc n)) = even n
test-6-even : e... |
Transynther/x86/_processed/NONE/_ht_st_zr_un_/i7-7700_9_0x48.log_21829_2178.asm | ljhsiun2/medusa | 9 | 80955 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x11b6e, %rcx
nop
nop
nop
nop
nop
dec %r9
movl $0x61626364, (%rcx)
nop
and $31369, %r8
lea addresses_WC_ht+0x9076, %rsi
lea addresses_A_ht+0x1d3dc, %rdi
nop
add %rbx, %rbx
mov $... |
TasteModel/blsclient/blsclient.adb | ESROCOS/control-mc_watchdog | 0 | 20289 | -- This file was generated automatically: DO NOT MODIFY IT !
with System.IO;
use System.IO;
with Ada.Unchecked_Conversion;
with Ada.Numerics.Generic_Elementary_Functions;
with Base_Types;
use Base_Types;
with TASTE_ExtendedTypes;
use TASTE_ExtendedTypes;
with TASTE_BasicTypes;
use TASTE_BasicTypes;
with UserDefs_Bas... |
Microprocessor lab/Factorial/macro1.nasm | IamVaibhavsar/Second_Year_Lab_Assignments | 34 | 17287 | %macro fopen 1
mov rax,2
mov rdi,%1
mov rsi,2
mov rdx,0777o
syscall
%endmacro
%macro fread 3
mov rax,0
mov rdi,%1
mov rsi,%2
mov rdx,%3
syscall
%endmacro
%macro fwrite 3
mov rax,1
mov rdi,%1
mov rsi,%2
mov rdx,%3
syscall
%endmacro
%macro fclose 1
mov rax,3
mov rdi,%1
syscall
%endmacro
%macro fdelete 1... |
programs/oeis/207/A207021.asm | neoneye/loda | 22 | 178430 | ; A207021: Number of nX5 0..1 arrays avoiding 0 0 0 and 0 1 1 horizontally and 0 0 1 and 1 0 1 vertically
; 13,169,624,1586,3315,6123,10374,16484,24921,36205,50908,69654,93119,122031,157170,199368,249509,308529,377416,457210,549003,653939,773214,908076,1059825,1229813,1419444,1630174,1863511,2121015,2404298,2715024,305... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2712.asm | ljhsiun2/medusa | 9 | 21847 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xe95f, %r8
nop
inc %r12
movb (%r8), %r9b
nop
nop
nop
and $61596, %r14
lea addresses_UC_ht+0x757d, %rsi
lea addresses_WT_ht+0x537d, %rdi
nop
nop
nop
nop
and $48237, %r9
mov $76, %rcx
rep ... |
src/fltk-widgets-groups-color_choosers.adb | micahwelf/FLTK-Ada | 1 | 22701 | <gh_stars>1-10
with
Interfaces.C,
System;
use type
Interfaces.C.int,
System.Address;
package body FLTK.Widgets.Groups.Color_Choosers is
procedure color_chooser_set_draw_hook
(W, D : in System.Address);
pragma Import (C, color_chooser_set_draw_hook, "color_chooser_set_draw_hoo... |
Cubical/Data/Unit/Properties.agda | RobertHarper/cubical | 0 | 12723 | <gh_stars>0
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.Unit.Properties where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Data.Nat
open import Cubical.Data.Unit.Base
open import Cubical.Data.Prod.Ba... |
reports/00_orig.combine.asm | arnaudroger/re2j-benchmark | 0 | 4894 | # JMH version: 1.19
# VM version: JDK 1.8.0_131, VM 25.131-b11
# VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java
# VM options: <none>
# Warmup: 20 iterations, 1 s each
# Measurement: 20 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput... |
C/bloco2/b2_01/Hello.g4 | pedromonteiro01/2semestre | 0 | 5013 | grammar Hello;
content: (greetings | bye)+;
id: ID+;
greetings: 'hello' ID;
bye: 'adeus' ID;
ID: [a-zA-Z]+;
WS: [ \t\r\n]+ -> skip; |
src/raspio-gpio-encoder.adb | TamaMcGlinn/ada_raspio | 1 | 23715 | <reponame>TamaMcGlinn/ada_raspio<filename>src/raspio-gpio-encoder.adb<gh_stars>1-10
package body Raspio.GPIO.Encoder is
function Create
(Pin_A : Pin_ID_Type; Pin_B : Pin_ID_Type;
Internal_Resistor : Internal_Resistor_Type) return Encoder_Type
is
First_Pin : constant Pin_Type :=
... |
Transynther/x86/_processed/US/_ht_zr_/i7-7700_9_0x48.log_21829_861.asm | ljhsiun2/medusa | 9 | 245997 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1e799, %rsi
lea addresses_normal_ht+0x13979, %rdi
nop
nop
nop
sub %r11, %r11
mov $38, %rcx
rep movsl
nop
nop
nop
nop
nop
sub $21823, %rcx
lea addresses_normal_ht+0xe650, %rs... |
programs/oeis/271/A271320.asm | neoneye/loda | 22 | 80772 | ; A271320: Number of prime factors, with multiplicity, of the n-th n-gonal number (A060354).
; 1,2,4,2,3,5,5,3,3,3,7,2,3,5,6,3,4,4,6,3,3,5,6,3,4,5,9,2,5,4,7,4,4,4,7,2,4,9,7,3,4,3,7,4,3,5,7,3,5,4,7,2,6,6,6,4,3,3,9,4,3,7,8,3,4,4,7,4,4,6,8,2,4,6,7,3,4,4,8,6,4,4,8,4,3,6,6,3,5,4,15,4,4,5,10,2,4,5,7,2
mov $2,$0
add $0,1
pow... |
alloy4fun_models/trashltl/models/7/byzXLZtZcP5ChDZfp.als | Kaixi26/org.alloytools.alloy | 0 | 3119 | open main
pred idbyzXLZtZcP5ChDZfp_prop8 {
always all f:File | eventually f.link in Trash
}
pred __repair { idbyzXLZtZcP5ChDZfp_prop8 }
check __repair { idbyzXLZtZcP5ChDZfp_prop8 <=> prop8o } |
source/jni/u2/hard/ba.asm | Falken42/SecondReality | 9 | 163461 | text_wa SEGMENT para public 'CODE'
ASSUME cs:text_wa
.386
LOCALS
NUM equ 2048
public _rows,_dotxyz
_rows dw 200 dup(0)
dw 4 dup(64000)
_dotxyz dw NUM dup(0,32767,0,0,100h,0)
;dotmode=1: x,y,xa,ya,bytes:color/count,last
public _sin1024
include sin1024.inc
public _dodots
_dodots PROC FAR
push... |
Task/Towers-of-Hanoi/AppleScript/towers-of-hanoi.applescript | LaudateCorpus1/RosettaCodeData | 1 | 1148 | <reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Towers-of-Hanoi/AppleScript/towers-of-hanoi.applescript
-- hanoi :: Int -> (String, String, String) -> [(String, String)]
on hanoi(n, abc)
script go
on |λ|(n, {x, y, z})
if n > 0 then
|λ|(n - 1, {x, z, y}) & ¬
... |
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_5653_371.asm | ljhsiun2/medusa | 9 | 26899 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1764a, %rdx
nop
nop
nop
xor %r13, %r13
mov $0x6162636465666768, %r15
movq %r15, (%rdx)
nop
nop
nop
nop
dec %r11
lea addresses_A_ht+0x576a, %rsi
lea addresses_WC_ht+0x3ca... |
oeis/109/A109065.asm | neoneye/loda-programs | 11 | 247568 | ; A109065: Numerator of the fraction due in month n of the total interest for a one-year installment loan based on the Rule of 78s (each denominator is 78).
; Submitted by <NAME>
; 12,11,10,9,8,7,6,5,4,3,2,1
sub $0,12
mul $0,-1
|
test/interaction/Issue3879.agda | shlevy/agda | 1,989 | 5743 | <reponame>shlevy/agda
module Issue3879 where
open import Issue3879.Fin using (Fin ; zero ; suc)
open import Agda.Builtin.Nat using (Nat ; zero ; suc)
foo : Nat → Nat → Nat
foo zero m = {!!}
foo (suc n) m = {!!}
-- WAS: case-splitting on m produces Issue3879.Fin.0F patterns
-- WANT: unqualified 0F is not in scope:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.