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 |
|---|---|---|---|---|
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/rint_fastcall.asm | meesokim/z88dk | 0 | 27549 |
SECTION code_fp_math48
PUBLIC _rint_fastcall
EXTERN cm48_sdccix_rint_fastcall
defc _rint_fastcall = cm48_sdccix_rint_fastcall
|
gfx/pokemon/unown_y/anim.asm | Dev727/ancientplatinum | 28 | 97425 | frame 0, 06
frame 3, 24
frame 0, 06
setrepeat 3
frame 1, 05
frame 2, 05
dorepeat 4
endanim
|
programs/oeis/160/A160094.asm | jmorken/loda | 1 | 6304 | <gh_stars>1-10
; A160094: 1 + the number of trailing zeros in n (A122840).
; 1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,2,1,1... |
src/guard_mode_patch2.asm | mvdhout1992/ts-patches | 33 | 94360 | <reponame>mvdhout1992/ts-patches<gh_stars>10-100
%include "TiberianSun.inc"
%include "macros/patch.inc"
%include "macros/datatypes.inc"
;; Units in Area Guard mode will revert to regular Guard mode when you press S
@SET 0x00494ABC, { cmp dword eax, 2 } ; ABSTRACT_AIRCRAFT
@LJZ 0x00494ABF, 0x00495110 ; jump o... |
tools/src/gid/gid-buffering.adb | stcarrez/hestia | 2 | 4713 | <filename>tools/src/gid/gid-buffering.adb
with Ada.IO_Exceptions;
package body GID.Buffering is
procedure Fill_Buffer(b: in out Input_buffer);
-- ^ Spec here to avoid warning by 'Get_Byte' below (GNAT 2009):
-- warning: call to subprogram with no separate spec prevents inlining
procedure Fill_Buffer(... |
programs/oeis/057/A057040.asm | neoneye/loda | 22 | 351 | <reponame>neoneye/loda
; A057040: Let R(i,j) be the rectangle with antidiagonals 1; 2,3; 4,5,6; ...; each k is an R(i(k),j(k)) and A057040(n)=i(F(n)), where F(n) is the n-th Fibonacci number.
; 1,1,1,2,2,2,3,6,6,10,11,8,2,26,15,41,1,28,86,95,68,133,216,8,334,115,167,605,638,635,649,1568,1393,2511,1805,5436,3092,2108,41... |
flame32-libs/gfx/gfx_fonts.asm | drako0812/flame32 | 2 | 168485 | __gfx_font1:
#d8 0x00, 0x00, 0x7c, 0x44, 0x44, 0x44, 0x44, 0x44
#d8 0x7e, 0x81, 0xa5, 0x81, 0xbd, 0x99, 0x81, 0x7e
#d8 0x7e, 0xff, 0xdb, 0xff, 0xc3, 0xe7, 0xff, 0x7e
#d8 0x6c, 0xfe, 0xfe, 0xfe, 0x7c, 0x38, 0x10, 0x00
#d8 0x10, 0x38, 0x7c, 0xfe, 0x7c, 0x38, 0x10, 0x00
#d8 0x18, 0x18, 0x66, 0x66, ... |
archive/agda-3/src/Test/Test3.agda | m0davis/oscar | 0 | 16461 | <reponame>m0davis/oscar<gh_stars>0
{-# OPTIONS --allow-unsolved-metas #-} -- FIXME
open import Everything
module Test.Test3 where
module _
{𝔬₁ 𝔯₁ ℓ₁ 𝔬₂ 𝔯₂ ℓ₂}
where
postulate instance functor : Functor 𝔬₁ 𝔯₁ ℓ₁ 𝔬₂ 𝔯₂ ℓ₂
open Functor ⦃ … ⦄
test : asInstance `IsFunctor $ {!Transextensiona... |
programs/oeis/037/A037634.asm | karttu/loda | 1 | 246038 | ; A037634: Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,3.
; 2,13,81,488,2929,17577,105464,632785,3796713,22780280,136681681,820090089,4920540536,29523243217,177139459305,1062836755832,6377020534993,38262123209961,229572739259768,1377436435558609
cal $0,33142 ; Base-6... |
oeis/316/A316725.asm | neoneye/loda-programs | 11 | 20673 | <filename>oeis/316/A316725.asm<gh_stars>10-100
; A316725: Generalized 27-gonal (or icosiheptagonal) numbers: m*(25*m - 23)/2 with m = 0, +1, -1, +2, -2, +3, -3, ...
; 0,1,24,27,73,78,147,154,246,255,370,381,519,532,693,708,892,909,1116,1135,1365,1386,1639,1662,1938,1963,2262,2289,2611,2640,2985,3016,3384,3417,3808,3843... |
GPPlayer/FFmpeg/libavcodec/x86/fpel.asm | gpr321/GPPlayer | 1 | 83499 | ;******************************************************************************
;* SIMD-optimized fullpel functions
;* Copyright (c) 2008 <NAME>
;* Copyright (c) 2003-2013 <NAME>
;* Copyright (c) 2013 <NAME>
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* modify it un... |
programs/oeis/120/A120181.asm | neoneye/loda | 22 | 22506 | ; A120181: a(1)=4; a(n)=floor((27+sum(a(1) to a(n-1)))/6).
; 4,5,6,7,8,9,11,12,14,17,20,23,27,31,36,42,49,58,67,78,91,107,124,145,169,197,230,269,313,366,427,498,581,678,791,922,1076,1255,1465,1709
mov $2,1
lpb $0
sub $0,1
add $2,$1
mov $1,6
add $1,$2
div $1,6
add $2,4
lpe
add $1,4
mov $0,$1
|
src/main/fragment/mos6502-common/_deref_pwuz1=_dec__deref_pwuz1.asm | jbrandwood/kickc | 2 | 25225 | ldy #0
lda ({z1}),y
sec
sbc #1
sta ({z1}),y
iny
lda ({z1}),y
sbc #0
sta ({z1}),y
|
Transynther/x86/_processed/AVXALIGN/_st_4k_sm_/i7-7700_9_0x48.log_8869_47.asm | ljhsiun2/medusa | 9 | 244723 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x5251, %r9
nop
sub $26963, %r13
mov $0x6162636465666768, %r8
movq %r8, %xmm1
movups %xmm1, (%r9)
nop
add $12758, %r9
lea addresses_A_ht+0x86d1, %r13
nop
nop
xor $59520, %rdi
mov... |
kernel/kernel.asm | tanmay-pro/modified-xv6 | 0 | 170602 |
kernel/kernel: file format elf64-littleriscv
Disassembly of section .text:
0000000080000000 <_entry>:
80000000: 00009117 auipc sp,0x9
80000004: 18010113 addi sp,sp,384 # 80009180 <stack0>
80000008: 6505 lui a0,0x1
8000000a: f14025f3 csrr a1,mhartid
... |
test_programs/hello.asm | mfkiwl/QNICE-FPGA-hyperRAM | 53 | 25874 | ; Classical "Hello World!" example for getting started coding
; QNICE assembler using the native toolchain: First, it prints "Hello World!"
; and then it counts from 1 to 10 and prints "Count #x", where x is decimal
; and goes from 1 to 10. So besides the simple "Hello World!" printing, this
; example also shows how to... |
oeis/345/A345487.asm | neoneye/loda-programs | 11 | 102559 | ; A345487: Numbers that are the sum of seven squares in ten or more ways.
; Submitted by <NAME>
; 70,79,82,85,87,88,90,91,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,1... |
pal_ram_tests.asm | jwestfall69/ddragon-diag | 0 | 101584 | <gh_stars>0
include "ddragon.inc"
include "ddragon_diag.inc"
include "error_codes.inc"
include "macros.inc"
global auto_pal_ram_tests
global manual_pal_ram_tests
global STR_PAL_RAM_TESTS
section text
; palette ram (red/green)
auto_pal_ram_tests:
ldd #PAL_RAM_START
std g_mt_mem_start_address
ldd #PAL_RA... |
src/asis/asis-text.ads | My-Colaborations/dynamo | 15 | 15767 | <reponame>My-Colaborations/dynamo
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT INTERFACE COMPONENTS --
-- ... |
Zish.g4 | tlocke/zish | 15 | 6023 | // Zish ANTLR v4 Grammar
grammar Zish;
start
: element EOF
;
element
: key
| list_type
| map_type
| NULL
;
key
: BOOL
| TIMESTAMP
| INTEGER
| DECIMAL
| STRING
| BLOB
;
list_type
: LIST_START element (COMMA element)* COMMA? LIST_FINISH
| LIST_START LIS... |
src/boot/print_util_pm.asm | Sage-of-Mirrors/gOS | 1 | 174056 | [bits 32]
; Constants
VRAM equ 0xB8000
print_string_pm:
pusha
mov edx, VRAM ; This is the location of video memory, which is in text mode by default.
print_string_pm_loop:
mov al, [ebx] ; Store character to al
mov ah, 0x0f ; Store attributes to ah (0x0f is white foreground, black background)
cmp al, 0 ;... |
hackvm/testdata/StaticTest.asm | nobishino/gocode | 0 | 92025 | <reponame>nobishino/gocode<filename>hackvm/testdata/StaticTest.asm
// push constant 111
@111
D=A
@SP
A=M
M=D
@SP
M=M+1
// push constant 333
@333
D=A
@SP
A=M
M=D
@SP
M=M+1
// push constant 888
@888
D=A
@SP
A=M
M=D
@SP
M=M+1
// pop static 8
@SP
M=M-1
A=M
D=M
@StaticTest.8
M=D
// pop static 3
@SP
M=M-1
A=M
D=M
@StaticTest... |
alloy4fun_models/trashltl/models/3/BiE3qoonDPZxf2XT6.als | Kaixi26/org.alloytools.alloy | 0 | 3469 | <filename>alloy4fun_models/trashltl/models/3/BiE3qoonDPZxf2XT6.als
open main
pred idBiE3qoonDPZxf2XT6_prop4 {
some f: File | always eventually f in Trash since f not in Protected
}
pred __repair { idBiE3qoonDPZxf2XT6_prop4 }
check __repair { idBiE3qoonDPZxf2XT6_prop4 <=> prop4o } |
alloy4fun_models/trashltl/models/8/K6CgpWxJoqXJbDAcK.als | Kaixi26/org.alloytools.alloy | 0 | 740 | open main
pred idK6CgpWxJoqXJbDAcK_prop9 {
all f: File | once f in Protected implies always f not in Trash
}
pred __repair { idK6CgpWxJoqXJbDAcK_prop9 }
check __repair { idK6CgpWxJoqXJbDAcK_prop9 <=> prop9o } |
src/docs/01/03/exam.asm | fujiawei-dev/assembly-notes | 1 | 21210 | <reponame>fujiawei-dev/assembly-notes
mov ax, 0x3f
add bx, ax
add cx, ax |
libsrc/math/z88math/deq.asm | meesokim/z88dk | 0 | 23360 | <reponame>meesokim/z88dk
;
; Z88dk Z88 Maths Library
;
;
; $Id: deq.asm,v 1.3 2015/01/21 10:56:30 stefano Exp $
PUBLIC deq
EXTERN fsetup
EXTERN stkequcmp
INCLUDE "fpp.def"
; TOS != FA?
.deq
call fsetup
fpp(FP_EQ)
jp stkequcmp
|
oeis/184/A184387.asm | neoneye/loda-programs | 11 | 161740 | ; A184387: a(n) = sum of numbers from 1 to sigma(n), where sigma(n) = A000203(n).
; Submitted by <NAME>(w1)
; 1,6,10,28,21,78,36,120,91,171,78,406,105,300,300,496,171,780,210,903,528,666,300,1830,496,903,820,1596,465,2628,528,2016,1176,1485,1176,4186,741,1830,1596,4095,903,4656,990,3570,3081,2628,1176,7750,1653,4371,26... |
oeis/077/A077235.asm | neoneye/loda-programs | 11 | 243905 | <reponame>neoneye/loda-programs<filename>oeis/077/A077235.asm
; A077235: Bisection (odd part) of Chebyshev sequence with Diophantine property.
; 5,16,59,220,821,3064,11435,42676,159269,594400,2218331,8278924,30897365,115310536,430344779,1606068580,5993929541,22369649584,83484668795,311569025596,1162791433589,4339596708... |
1581/64tass/utl.asm | silverdr/assembly | 23 | 172638 | ;***************************
;** **
;** 1573 UTILITY **
;** **
;** * * * * * * * * * * * **
;** U0 n B = slow/fast **
;** serial **
;** U0 n S = int. dos **
;** U0 n R = retries **
;** U0 n T = signature **
;** U0 n V = verify **
;... |
Applications/Skype/HiDefSkypeStatus.applescript | looking-for-a-job/applescript-examples | 1 | 4577 | -- HiDef Skype Status
-- Copyright (c) 2011-2012 <NAME>. All rights reserved.
--
-- This script works as follows:
-- If you're online and not on a call, then the script toggles status between "Online" and "Away".
-- If you're online and a call is ringing in, then the script answers the call, sets your status to "DND"... |
ParallelProgramming-2/rgr/part2/main.adb | smithros/kpi-stuff | 21 | 6653 | -- Parallel and Distributed Computing
-- RGR. Ada Rendezvous
-- Task: Z = X*(MA*MS) + min(Q)*(R*MF)
-- <NAME> IO-71
with Ada.Text_IO, Ada.Integer_text_iO, Ada.Synchronous_Task_Control, Data;
use Ada.Text_IO, Ada.Integer_text_iO, Ada.Synchronous_Task_Control;
with Ada.Real_Time;
use Ada.Real_Time;
proce... |
tests/tk-winfo-test_data-tests.adb | thindil/tashy2 | 2 | 20762 | -- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-- code intended to set up and tear down the t... |
oeis/016/A016774.asm | neoneye/loda-programs | 11 | 12310 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A016774: a(n) = (3*n)^10.
; 0,59049,60466176,3486784401,61917364224,576650390625,3570467226624,16679880978201,63403380965376,205891132094649,590490000000000,1531578985264449,3656158440062976,8140406085191601,17080198121677824,34050628916015625,64925062108545024,11904242... |
orka/src/orka/implementation/orka-rendering-drawing.adb | onox/orka | 52 | 14498 | -- 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://www.apache.org/licenses/LICENSE-2.0
-... |
oeis/014/A014255.asm | neoneye/loda-programs | 11 | 20060 | <reponame>neoneye/loda-programs<filename>oeis/014/A014255.asm
; A014255: Expansion of (1+2*x+3*x^2)/((1-x)*(1-x^2)^2).
; 1,3,8,12,21,27,40,48,65,75,96,108,133,147,176,192,225,243,280,300,341,363,408,432,481,507,560,588,645,675,736,768,833,867,936,972,1045,1083,1160,1200,1281,1323,1408,1452,1541,1587,1680,1728,1825,1875... |
FormalAnalyzer/models/apps/NotifyIfLeftUnlocked.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 1231 | <gh_stars>0
module app_NotifyIfLeftUnlocked
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_userInput
open cap_lock
open cap_contactSensor
one sig app_NotifyIfLeftUnlocked extends IoTApp {
aLock : one cap_lock,
openSensor : one cap_contactSensor,
lockIfClosed : one cap_userInput,
state : ... |
oeis/294/A294566.asm | neoneye/loda-programs | 11 | 168751 | <reponame>neoneye/loda-programs
; A294566: a(n) is the smallest positive integer of length (distance from origin) n in the Cayley graph of the integers generated by all powers of 5.
; 1,2,3,8,13,38,63,188,313,938,1563,4688,7813,23438,39063,117188,195313,585938,976563,2929688,4882813,14648438,24414063,73242188,122070313... |
test/jzas/integration/include1.asm | scoffey/jz80sim | 1 | 24131 | include include2.asm
mac1: macro
ld a, 1
mac2
endm
|
src/Projects/eu_projects-nodes-action_nodes.adb | fintatarta/eugen | 0 | 4461 | <reponame>fintatarta/eugen
-- with Symbolic_Identifiers;
package body EU_Projects.Nodes.Action_Nodes is
use Times.Time_Expressions;
function Var_Begin (Item : Action_Node) return Symbolic_Instant
is (Variable (Join (Dotted_Identifier (Item.Label), Event_Names.Begin_Name)));
function Var_End (Item : Acti... |
store_sum_and_carry.asm | sekharkaredla/8085 | 1 | 14531 | <gh_stars>1-10
;add numbers from 2000 to 2005 and store in 3000,store carry in 3001
STC ;CY=1
CMC ;complement carry flag
MVI C,06H
MVI A,00H
MVI B,00H
LXI H,2000H
zone:
ADD M
JNC next
INR B
next:
INX H
DCR C
JNZ zone
STA 3000H
MOV A,B
STA 3001H
RST 1
|
pause.asm | unlink2/nesrpg | 5 | 98905 | <reponame>unlink2/nesrpg
; the pause menu init tries to be as
; small as possible as to not disrupt gameplay states
; side effects:
; disables sprites, disables sprite updating, switches to nt1
; changes update routines from gameplay to menu
; changes gamemode from game to pause
init_pause_menu:
lda game_fla... |
2-low/neural/source/private/neural-set.adb | charlie5/lace | 20 | 5570 | <reponame>charlie5/lace
with neural.Privvy;
with fann_c.Binding;
with Interfaces.C;
with Fann_C.Pointers;
package body Neural.Set
is
use neural.Privvy,
fann_c.Binding,
Interfaces;
function to_Set (the_Patterns : in Patterns_view) return Set
is
the_Set : Set;
procedure fill_Fann (... |
Library/Gadgets/UI/uiStopwatch.asm | steakknife/pcgeos | 504 | 97659 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
PROJECT: Interface Gadgets
MODULE: Stopwatch
FILE: uiStopwatch.asm
AUTHOR: <NAME>, Jul 8, 1994
ROUTINES:
Name Description
---- -----------
... |
ladspa/examples/delays.adb | Lucretia/aplug | 2 | 22915 | <reponame>Lucretia/aplug
-- with Ada.Text_IO; use Ada.Text_IO;
with Ada.Unchecked_Conversion;
with Ada.Unchecked_Deallocation;
with Interfaces;
with Interfaces.C.Pointers;
with System;
package body Delays is
use type LADSPA.Data;
use type LADSPA.Data_Ptr;
use type LADSPA.Handles;
type Buffers is array (C.... |
src/extraction.adb | TNO/Dependency_Graph_Extractor-Ada | 0 | 256 | <gh_stars>0
with Ada.Exceptions;
with Ada.Strings.Equal_Case_Insensitive;
with Ada.Text_IO;
with Extraction.Bodies_For_Decls;
with Extraction.Bodies_For_Entries;
with Extraction.Decls;
with Extraction.Deferred_Constants;
with Extraction.Derived_Type_Defs;
with Extraction.Direct_Calls;
with Extraction.File_System;
with ... |
libsrc/_DEVELOPMENT/arch/zx/esxdos/c/sdcc_ix/esxdos_f_read_callee.asm | jpoikela/z88dk | 640 | 83258 | <reponame>jpoikela/z88dk
; int esxdos_f_read(uchar handle, void *dst, size_t nbyte)
SECTION code_clib
SECTION code_esxdos
PUBLIC _esxdos_f_read_callee
PUBLIC l0_esxdos_f_read_callee
EXTERN asm_esxdos_f_read
_esxdos_f_read_callee:
pop de
dec sp
pop af
pop hl
pop bc
push de
l0_esxdos_f_read_cal... |
linear_algebra/givens_qr_method.ads | jscparker/math_packages | 30 | 2777 | generic
type Real is digits <>;
type Index is range <>;
type A_Matrix is array(Index, Index) of Real;
package Givens_QR_Method is
subtype C_Index is Index;
subtype R_Index is Index;
function Identity return A_Matrix;
-- Input matrix A (in Upper Hessenberg form) and also matrix Q.
--
-... |
llvm-gcc-4.2-2.9/gcc/ada/s-osprim-unix.adb | vidkidz/crossbridge | 1 | 3948 | <reponame>vidkidz/crossbridge
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
programs/oeis/060/A060899.asm | karttu/loda | 0 | 4446 | ; A060899: Number of walks of length n on square lattice, starting at origin, staying on points with x+y >= 0.
; 1,2,8,24,96,320,1280,4480,17920,64512,258048,946176,3784704,14057472,56229888,210862080,843448320,3186360320,12745441280,48432676864,193730707456,739699064832,2958796259328,11342052327424,45368209309696,1744... |
programs/oeis/004/A004351.asm | neoneye/loda | 22 | 163257 | <filename>programs/oeis/004/A004351.asm
; A004351: Binomial coefficient C(5*n,n-9).
; 1,50,1485,34220,677040,12103014,201359550,3176716400,48124511370,706252528630,10104934117421,141629804643600,1951641934005400,26515202245096950,355964264416391940,4730523156632595024
mov $1,$0
add $0,9
mul $0,5
bin $0,$1
|
1-base/lace/applet/demo/event/distributed/source/chat.ads | charlie5/lace | 20 | 766 | <filename>1-base/lace/applet/demo/event/distributed/source/chat.ads
package Chat
--
-- Provides a namespace for the chat family.
--
is
pragma Pure;
end Chat;
|
src/fot/PA/Axiomatic/Standard/Base.agda | asr/fotc | 11 | 4960 | <reponame>asr/fotc
------------------------------------------------------------------------------
-- Axiomatic Peano arithmetic base
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-univ... |
alloy4fun_models/trashltl/models/9/4J39mmPiSYQNRBbC9.als | Kaixi26/org.alloytools.alloy | 0 | 3504 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id4J39mmPiSYQNRBbC9_prop10 {
always (Protected in Protected)
}
pred __repair { id4J39mmPiSYQNRBbC9_prop10 }
check __repair { id4J39mmPiSYQNRBbC9_prop10 <=> prop10o } |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48_notsx.log_21829_549.asm | ljhsiun2/medusa | 9 | 173253 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1366e, %rbp
nop
nop
nop
add $41269, %r9
movw $0x6162, (%rbp)
nop
nop
nop
add %rdi, %rdi
lea addresses_normal_ht+0x69ce, %rsi
inc %r14
mov $0x6162636465666768, %r13
movq %r13,... |
programs/oeis/274/A274638.asm | karttu/loda | 0 | 26521 | <reponame>karttu/loda
; A274638: Main diagonal of A274637.
; 0,0,3,5,15,27,63,119,255,495,1023,2015,4095,8127,16383,32639,65535,130815,262143,523775,1048575,2096127,4194303,8386559,16777215,33550335,67108863,134209535,268435455,536854527,1073741823,2147450879,4294967295,8589869055,17179869183,34359607295,68719476735,13... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/very_large_value.adb | ouankou/rose | 488 | 10192 | procedure Very_Large_Value is
begin
if 16#2B.20000000000000000000000000000000000000000#E1 > 0.1 then
null;
end if;
end Very_Large_Value;
|
2A/S7/SysConc/TP/TP6/lr.ads | MOUDDENEHamza/ENSEEIHT | 4 | 8147 | <filename>2A/S7/SysConc/TP/TP6/lr.ads
package LR is
end LR; |
deBruijn/Substitution/Data/Application/Application.agda | nad/dependently-typed-syntax | 5 | 3201 | ------------------------------------------------------------------------
-- Application of substitutions
------------------------------------------------------------------------
open import Data.Universe.Indexed
module deBruijn.Substitution.Data.Application.Application
{i u e} {Uni : IndexedUniverse i u e} where
i... |
alloy4fun_models/trashltl/models/11/uSc6tnhdZ9aFXH3Ro.als | Kaixi26/org.alloytools.alloy | 0 | 3204 | open main
pred iduSc6tnhdZ9aFXH3Ro_prop12 {
always( some f: File | f not in Trash and eventually f in Trash and after always f in Trash)
}
pred __repair { iduSc6tnhdZ9aFXH3Ro_prop12 }
check __repair { iduSc6tnhdZ9aFXH3Ro_prop12 <=> prop12o } |
Data/Num/Bijective/Properties.agda | banacorn/numeral | 1 | 4135 | <gh_stars>1-10
module Data.Num.Bijective.Properties where
open import Data.Num.Bijective
open import Data.Nat
open import Data.Nat.DM
open import Data.Nat.Properties
open import Data.Nat.Properties.Simple
open import Data.Nat.Properties.Extra
open import Data.Fin as Fin using (Fin)
open import Data... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1375.asm | ljhsiun2/medusa | 9 | 100636 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x6d9, %rsi
lea addresses_WT_ht+0x16ad, %rdi
clflush (%rsi)
nop
sub %r13, %r13
mov $32, %rcx
rep movsl
nop
nop
nop
xor $4257, %rbx
lea addresses_UC_h... |
programs/oeis/102/A102686.asm | neoneye/loda | 22 | 168820 | ; A102686: Numbers k such that 11*k + 3 is prime.
; 0,4,10,14,16,20,28,38,40,44,46,56,58,68,70,76,80,88,100,110,116,118,124,130,136,140,146,154,158,170,184,194,200,206,214,220,224,238,244,248,250,254,256,278,280,296,304,308,310,314,334,350,356,364,368,370,376,388,394,404,410,430,436,446,448,464,478,490,494,500,506,508,... |
regtests/keystore_harness.adb | thierr26/ada-keystore | 25 | 14516 | -----------------------------------------------------------------------
-- Keystore-test -- Unit tests
-- Copyright (C) 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 with the License.
-- You may ob... |
sav/includes/macros.asm | zzazzdzz/fools2019 | 12 | 84821 | ; *** macros.asm
; A bunch of macro definitions.
text EQUS "db TEXTBOX_START_MARKER," ; Start writing text.
next EQUS "db $F2," ; Move a line down.
para EQUS "db $F3," ; Start a new paragraph.
cont EQUS "db $F1," ; Scroll to the next line.
done EQUS "db $0" ; End a text box.
wait EQUS "db $F4,0"
tx_buf: ... |
test/Succeed/NoQualifiedInstances-Import.agda | shlevy/agda | 1,989 | 8128 | <filename>test/Succeed/NoQualifiedInstances-Import.agda<gh_stars>1000+
{-# OPTIONS --no-qualified-instances #-}
module NoQualifiedInstances-Import where
open import NoQualifiedInstances.Import.A as A
postulate
f : {{A.I}} → A.I
test : A.I
test = f
|
libsrc/target/zx/stdio/generic_console_ioctl.asm | ahjelm/z88dk | 640 | 7268 |
MODULE generic_console_ioctl
PUBLIC generic_console_ioctl
SECTION code_driver
INCLUDE "ioctl.def"
EXTERN generic_console_cls
EXTERN __zx_32col_font
EXTERN __zx_64col_font
EXTERN __zx_32col_udgs
EXTERN __zx_screenmode
EXTERN __console_w
EXTERN __zx_mode0_console_w
... |
vpnrwth.scpt | christheswiss/applescripts | 1 | 1165 | <filename>vpnrwth.scpt
tell application "System Events"
tell current location of network preferences
set VPNservice to service "VPNRWTH"
if VPNservice exists then
if current configuration of VPNservice is not connected then
connect VPNservice
repeat while (current configuration of VPNservice is not conn... |
src/implementation/cl_gl/cl-api-cl_gl.ads | flyx/OpenCLAda | 8 | 21779 | --------------------------------------------------------------------------------
-- Copyright (c) 2013, <NAME> <<EMAIL>>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice... |
mc-sema/validator/x86/tests/SUB16rm.asm | randolphwong/mcsema | 2 | 83175 | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_OF
;TEST_FILE_META_END
; SUB16rm
;TEST_BEGIN_RECORDING
lea ecx, [esp-0x4]
mov DWORD [ecx], 0xc8
mov edx, 0x3
sub dx, WORD [ecx]
mov ecx, [ecx]
;TEST_END_RECORDING
|
thread/switch_to.asm | linxin8/os | 3 | 82010 | [bits 32]
section .text
global switch_to
switch_to:
;栈中此处是返回地址
push esi
push edi
push ebx
push ebp
mov eax, [esp + 20] ; 得到栈中的参数cur, cur = [esp+20]
mov [eax], esp ; 保存栈顶指针esp. task_struct的self_kstack字段,
; self_kstack在task_struct中的偏移为0,
; 所以直接往thread开头处存4字节便可。
;--... |
libsrc/target/vz/stdio/conio_vars.asm | Frodevan/z88dk | 640 | 169218 | SECTION bss_clib
PUBLIC __vz200_mode
PUBLIC __MODE1_attr
__vz200_mode: defb 0
SECTION data_clib
__MODE1_attr: defb @11000000,@00000000
|
oeis/092/A092092.asm | neoneye/loda-programs | 11 | 10218 | ; A092092: Back and Forth Summant S(n, _3): a(n) = Sum_{i=0..floor(2n/3)} (n-3i).
; 1,1,0,3,2,0,5,3,0,7,4,0,9,5,0,11,6,0,13,7,0,15,8,0,17,9,0,19,10,0,21,11,0,23,12,0,25,13,0,27,14,0,29,15,0,31,16,0,33,17,0,35,18,0,37,19,0,39,20,0,41,21,0,43,22,0,45,23,0,47,24,0,49,25,0,51,26,0,53,27,0,55,28,0,57,29,0,59,30,0,61,31,0,63... |
_anim/obj0C.asm | NatsumiFox/AMPS-Sonic-1-2005 | 2 | 86246 | <filename>_anim/obj0C.asm
; ---------------------------------------------------------------------------
; Animation script - flapping door (LZ)
; ---------------------------------------------------------------------------
dc.w byte_113E6-Ani_obj0C
dc.w byte_113EC-Ani_obj0C
byte_113E6: dc.b 3, 0, 1, 2, $FE, 1
byte_1... |
test/interaction/Issue2447/M.agda | cruhland/agda | 1,989 | 3063 | <reponame>cruhland/agda
module Issue2447.M where
|
src/wiki-nodes-lists.ads | jquorning/ada-wiki | 18 | 21244 | <reponame>jquorning/ada-wiki<filename>src/wiki-nodes-lists.ads
-----------------------------------------------------------------------
-- wiki-nodes-lists -- Wiki Document Internal representation
-- Copyright (C) 2016, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (... |
src/Utilities/tokenize-token_vectors.ads | fintatarta/eugen | 0 | 10913 | <filename>src/Utilities/tokenize-token_vectors.ads
with Ada.Containers.Indefinite_Vectors;
package Tokenize.Token_Vectors is
package String_Vectors is
new Ada.Containers.Indefinite_Vectors (Index_Type => Positive,
Element_Type => String);
subtype Vecto... |
kv-avm-memories.adb | davidkristola/vole | 4 | 5350 | <reponame>davidkristola/vole
with Ada.Unchecked_Deallocation;
with kv.avm.Tuples;
package body kv.avm.Memories is
use Interfaces;
use kv.avm.Registers;
Last_Used_ID : Natural := 0;
type Register_Array_Reference_Counter_Type is
record
ID : Positive;
Count : Natural := 0;
... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2767.asm | ljhsiun2/medusa | 9 | 105151 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x4072, %rbx
nop
and %r13, %r13
movw $0x6162, (%rbx)
nop
nop
nop
nop
and %rdi, %rdi
lea addresses_normal_ht+0x15c02, %r11
nop
nop
nop
cmp $33... |
oeis/236/A236403.asm | neoneye/loda-programs | 11 | 166870 | ; A236403: Numbers not in A236402.
; Submitted by <NAME>
; 11,12,13,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,37,38,39,41,42,43,44,45,46,47,48,49,51,52,53,54,55,56,57,58,59,61,62,63,64,65,66,67,68,69,71,72,73,74,75,76,77,78,79,81,82,83,84,85,86,87,88,89,91,92,93,94,95,96,97,98,99,111,112,113,114,11... |
src/asis/asis-data_decomposition-set_get.ads | My-Colaborations/dynamo | 15 | 29707 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
Cubical/Structures/Relational/Pointed.agda | dan-iel-lee/cubical | 0 | 16048 | {-
Pointed structure: X ↦ X
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Structures.Relational.Pointed where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Structure
open import Cubical.... |
programs/oeis/067/A067187.asm | neoneye/loda | 22 | 243569 | ; A067187: Numbers that can be expressed as the sum of two primes in exactly one way.
; 4,5,6,7,8,9,12,13,15,19,21,25,31,33,39,43,45,49,55,61,63,69,73,75,81,85,91,99,103,105,109,111,115,129,133,139,141,151,153,159,165,169,175,181,183,193,195,199,201,213,225,229,231,235,241,243,253,259,265,271
mov $1,$0
sub $0,6
max $0... |
source/slim-run.adb | reznikmm/slimp | 0 | 15788 | <reponame>reznikmm/slimp
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Exceptions;
with Ada.Streams;
with Ada.Text_IO;
with GNAT.Sockets;
with League.Application;
with League.Strings;
wi... |
Testcases/unsafeAddress.asm | 5ayam5/COL216-A4 | 0 | 92626 | main:
addi $t1, $t1, 1000
sw $t1, 1000
lw $t0, 1000
lw $s1, 0($t0)
addi $t0, $t0, 4
lw $s3, 0($t0)
|
Userland/SampleCodeModule/asm/sleep.asm | Estebank94/ClicOSNapEdition | 0 | 175640 | <filename>Userland/SampleCodeModule/asm/sleep.asm
GLOBAL sleep
SECTION .text
sleep:
push rbp
mov rbp,rsp
push rax
push rbx
push rcx
push rdx
mov rax, 100
mov rbx, rdi
;mov rcx, rsi
int 80h
pop rdx
pop rcx
pop rbx
pop rax
mov rsp,rbp
pop rbp
ret
|
examples/hello_world_request_reply/src/primes-primenumberreplier.ads | persan/dds-requestreply | 0 | 6240 | <gh_stars>0
with Primes.PrimeNumberRequest_DataReader;
with Primes.PrimeNumberReply_DataWriter;
with DDS.Request_Reply.Replier.Typed_Replier_Generic;
package Primes.PrimeNumberReplier is new DDS.Request_Reply.Replier.Typed_Replier_Generic
(Request_DataReader => Primes.PrimeNumberRequest_DataReader,
Reply_DataWrite... |
src/SlimShader.Tests/Shaders/Sdk/Direct3D11/HDRToneMappingCS11/PSApproach_PS.asm | tgjones/slimshader | 125 | 28781 | //
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714
//
//
///
// Resource Bindings:
//
// Name Type Format Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// PointSampler sampler NA ... |
programs/oeis/127/A127511.asm | jmorken/loda | 1 | 178923 | <gh_stars>1-10
; A127511: a(n) = mu(n) * 2^(n-1).
; 1,-2,-4,0,-16,32,-64,0,0,512,-1024,0,-4096,8192,16384,0,-65536,0,-262144,0,1048576,2097152,-4194304,0,0,33554432,0,0,-268435456,-536870912,-1073741824,0,4294967296,8589934592,17179869184,0,-68719476736,137438953472,274877906944,0,-1099511627776
mov $1,$0
cal $0,8683 ... |
generic_unbounded_array.adb | jrcarter/Ada_GUI | 19 | 22423 | -- --
-- package Copyright (c) <NAME> --
-- Generic_Unbounded_Array Luebeck --
-- Implementation Spring, 2002 --
-- ... |
src/main/antlr4/Language.g4 | cevrard-unamur/slip-compiler | 0 | 5817 | grammar Language;
import LanguageWords;
prog: mapImport (globalVariable|funct)* mainFunction EOF #program
;
mapImport: IMPORT QUOTE MAPFILE QUOTE #mapImportation
;
mainFunction: M... |
src/ada/src/utils/unit_conversion_utilities.adb | VVCAS-Sean/OpenUxAS | 88 | 16936 | with Ada.Numerics.Generic_Elementary_Functions;
package body Unit_Conversion_Utilities is
package Real_Elementary_Fuctions is new Ada.Numerics.Generic_Elementary_Functions (Real);
----------------
-- Initialize --
----------------
procedure Initialize
(This : out Unit_Converter;
... |
Numbers/Integers/Integers.agda | Smaug123/agdaproofs | 4 | 3135 | {-# OPTIONS --safe --warning=error --without-K #-}
open import Numbers.Naturals.Definition
open import Numbers.Integers.Definition
open import Numbers.Integers.Addition
open import Numbers.Integers.Multiplication
open import Numbers.Integers.Order
open import Groups.Definition
module Numbers.Integers.Integers where
... |
programs/oeis/144/A144720.asm | karttu/loda | 0 | 82189 | ; A144720: a(0) = 2, a(1) = 3, a(n) = 4 * a(n-1) - a(n-2).
; 2,3,10,37,138,515,1922,7173,26770,99907,372858,1391525,5193242,19381443,72332530,269948677,1007462178,3759900035,14032137962,52368651813,195442469290,729401225347,2722162432098,10159248503045
mov $1,2
mov $2,3
lpb $0,1
sub $0,1
add $2,$1
add $2,$1
ad... |
Tools/unix/lzsa/asm/6502/decompress_small_v2.asm | davidknoll/RomWBW | 194 | 243219 | ; -----------------------------------------------------------------------------
; Decompress raw LZSA2 block.
; Create one with lzsa -r -f2 <original_file> <compressed_file>
;
; in:
; * LZSA_SRC_LO and LZSA_SRC_HI contain the compressed raw block address
; * LZSA_DST_LO and LZSA_DST_HI contain the destination buffer ad... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_805.asm | ljhsiun2/medusa | 9 | 25587 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xabff, %rsi
lea addresses_D_ht+0x3fbf, %rdi
nop
nop
nop
and %rdx, %rdx
mov $94, %rcx
rep movsw
nop
nop
add $41255, %rsi
lea addresses_D_ht+0x139ff, %r13
nop
nop
add %r8, %r8
mo... |
Type Theory/notes-04-thursday.agda | FoxySeta/mgs-2021 | 0 | 10571 | -- notes-04-thursday.agda
open import mylib
{-
Infinite datastructure
- streams, Stream A
0 ,1 , 2 ,3 ,4, ... : Stream ℕ
1, 1 , 2, 3 ,5 ,..
2, 3, 5, 7, 11,..
duality, categorical mirror
_×_ (products) and _⊎_ (coproducts, sums)
Inductive datatypes: finite datastructures
Coinductive datatypes: Stre... |
oeis/052/A052685.asm | neoneye/loda-programs | 11 | 10517 | <reponame>neoneye/loda-programs
; A052685: E.g.f. (1-x^2)/(1-x-2x^2+x^4).
; Submitted by <NAME>
; 1,1,4,24,168,1680,18720,252000,3830400,65681280,1251936000,26225337600,599710003200,14851444608000,396138155212800,11320537003776000,345079573622784000,11176410365632512000
mov $2,$0
seq $0,52535 ; Expansion of (1-x)*(1+x... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1954.asm | ljhsiun2/medusa | 9 | 96407 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %r9
push %rax
push %rbp
push %rdx
// Store
lea addresses_normal+0x1846b, %rax
sub %r14, %r14
mov $0x5152535455565758, %r9
movq %r9, %xmm7
vmovups %ymm7, (%rax)
nop... |
r00t3r.x86-32.asm | brightprogrammer/r2wars-bots | 0 | 25823 | ; fill gprs with config values
; edx - low mem bound
; ecx - max mem bound
; program start
start:
mov ecx, 0x400; max mem loc bound = 0x400 or 1024 bytes
mov edx, 0x0; beginning of mem loc
; search and fill loop
; strategy :
; loop through memory space
; check if the value at given mem address is 0
; if it's zero... |
.emacs.d/elpa/wisi-2.1.1/wisitoken-generate.adb | caqg/linux-home | 0 | 26781 | <filename>.emacs.d/elpa/wisi-2.1.1/wisitoken-generate.adb
-- Abstract :
--
-- See spec.
--
-- Copyright (C) 2018, 2019 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Softwa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.