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 |
|---|---|---|---|---|
src/Processors/project_processor-processors-processor_tables.ads | fintatarta/eugen | 0 | 27661 | with Plugins.Tables;
package Project_Processor.Processors.Processor_Tables is
new Plugins.Tables (Root_Plugin_Type => Abstract_Processor,
Plugin_Parameters => Processor_Parameter,
Plugin_ID => Processor_ID,
Constructor => Create);
|
src/Queue/Truncated.agda | nad/equality | 3 | 16625 | ------------------------------------------------------------------------
-- Truncated queues: any two queues representing the same sequence are
-- equal, and things are set up so that at compile-time (but not at
-- run-time) some queue operations compute in roughly the same way as
-- the corresponding list operations
-... |
libsrc/target/c128/playzb4sid.asm | jpoikela/z88dk | 640 | 176917 | <filename>libsrc/target/c128/playzb4sid.asm
;
;Based on the SG C Tools 1.7
;(C) 1993 <NAME>
;
;$Id: playzb4sid.asm,v 1.5 2016-06-16 21:13:07 dom Exp $
;
; extern void __LIB__ playzb4sid(uchar *SamStart, ushort SamLen);
; play 4 bit pulse wave encoded data using sid master volume
SECTION code_clib
PUBLIC play... |
grammar/sav/ImportClass.g4 | PSSTools/py-pss-parser | 1 | 2416 | /****************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses thi... |
programs/oeis/281/A281023.asm | neoneye/loda | 22 | 9643 | ; A281023: Partial sums of A067392.
; 0,2,5,11,16,31,38,58,76,111,122,176,189,252,312,384,401,518,537,667,772,915,938,1142,1217,1412,1547,1785,1814,2159,2190,2462,2693,3016,3226,3676,3713,4112,4424,4924,4965,5616,5659,6209,6704,7279,7326,8118,8314
lpb $0
mov $2,$0
sub $0,1
seq $2,67392 ; Sum of numbers <= n whic... |
boilerplate.DOS.asm | jon-str/ASM_BOILERPLATE | 0 | 105410 | ; ------------------------------------------------------------------------------------
; BOILER PLATE
; FOR : 8086 / MS-DOS
; BY : JON-STR
; ON : 3-19-2018
; ------------------------------------------------------------------------------------
; COMPILER SETTINGS
[CPU 8086]
[BITS 16]
; COM ORIGIN
org ... |
oeis/082/A082459.asm | neoneye/loda-programs | 11 | 97006 | ; A082459: Multiply by 1, add 1, multiply by 2, add 2, etc.
; Submitted by <NAME>(s4)
; -1,-1,0,0,2,6,9,36,40,200,205,1230,1236,8652,8659,69272,69280,623520,623529,6235290,6235300,68588300,68588311,823059732,823059744,10699776672,10699776685,149796873590,149796873604,2246953104060,2246953104075,35951249665200,359512496... |
docs/asm/tst-global.asm | lugovskovp/TrafficLight13 | 10 | 94892 |
./Release/tst-global.elf: file format elf32-avr
Disassembly of section .text:
00000000 <__vectors>:
0: 09 c0 rjmp .+18 ; 0x14 <__ctors_end>
2: 16 c0 rjmp .+44 ; 0x30 <__bad_interrupt>
4: 15 c0 rjmp .+42 ; 0x30 <__bad_interrupt>
6: 14 c0 rjmp .+40 ; 0x3... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_ide_browser_callee.asm | bahmanrafatjoo/z88dk | 0 | 162544 | ; unsigned char esx_ide_browser(uint8_t browsercaps, void *filetypes, char *help, char *dst_sfn, char *dst_lfn)
SECTION code_esxdos
PUBLIC _esx_ide_browser_callee
EXTERN asm_esx_ide_browser
_esx_ide_browser_callee:
pop af
pop de
pop bc
pop hl
pop ix
exx
pop bc
push af
ld a,c
exx
... |
data/maps/objects/SilphCo7F.asm | opiter09/ASM-Machina | 1 | 20279 | SilphCo7F_Object:
db $2e ; border block
def_warps
warp 16, 0, 1, SILPH_CO_8F
warp 22, 0, 0, SILPH_CO_6F
warp 18, 0, 0, SILPH_CO_ELEVATOR
warp 5, 7, 3, SILPH_CO_11F
warp 5, 3, 8, SILPH_CO_3F
warp 21, 15, 3, SILPH_CO_5F
def_signs
def_objects
object SPRITE_SILPH_WORKER, 1, 5, STAY, NONE, 1 ; person
o... |
oeis/129/A129294.asm | neoneye/loda-programs | 11 | 14652 | ; A129294: Number of divisors of n^3 - 1 that are not greater than n.
; Submitted by <NAME>
; 1,2,2,3,2,4,2,5,3,5,2,7,2,4,7,5,3,6,2,6,6,6,2,13,4,4,4,8,4,10,3,6,5,6,5,14,2,6,5,8,3,10,3,8,10,5,3,16,3,9,5,9,2,11,5,8,7,4,3,20,2,5,9,11,4,18,4,6,5,8,3,14,5,4,8,6,4,17,2,21,5,6,3,16,6,10,8,8,2,14,5,9,7,6,5,16,3,6,15,9
add $0,... |
tests/macros/end_in_if_dup_macro_include.i.asm | cizo2000/sjasmplus | 220 | 8302 | <gh_stars>100-1000
MACRO test_end x?
DUP 3
IF 0 < x?
END
ENDIF
halt
EDUP
ENDM
|
ftm/qxy_hell.asm | zeta0134/bhop | 4 | 171504 | <reponame>zeta0134/bhop<gh_stars>1-10
; Dn-FamiTracker exported music data: qxy_arp_interactions.0cc
;
; Module header
.word ft_song_list
.word ft_instrument_list
.word ft_sample_list
.word ft_samples
.word ft_groove_list
.byte 0 ; flags
.word 3600 ; NTSC speed
.word 3000 ; PAL speed
; Instrument pointer list... |
alloy4fun_models/trashltl/models/13/kREWhbFSiix6PdywD.als | Kaixi26/org.alloytools.alloy | 0 | 4467 | <filename>alloy4fun_models/trashltl/models/13/kREWhbFSiix6PdywD.als<gh_stars>0
open main
pred idkREWhbFSiix6PdywD_prop14 {
Protected in Trash implies Protected' not in Trash
}
pred __repair { idkREWhbFSiix6PdywD_prop14 }
check __repair { idkREWhbFSiix6PdywD_prop14 <=> prop14o } |
utils/get_photo_info.applescript | scanner/osxphotos | 656 | 3863 | -- Displays UUID and other info about selected photos
-- Useful for debugging with osxphotos
tell application "Photos"
activate
set theDelimiter to ";"
set theBackup to AppleScript's text item delimiters
-- Set the new delimiter
set AppleScript's text item delimiters to theDelimiter
set theResults to sele... |
src/tom/library/sl/ada/environmentpackage.adb | rewriting/tom | 36 | 15827 | with Ada.Text_IO, Ada.Characters.Latin_1, VisitableIntrospectorPackage, VisitablePackage;
use Ada.Text_IO, Ada.Characters.Latin_1, VisitableIntrospectorPackage, VisitablePackage;
package body EnvironmentPackage is
--private
procedure makeEnvironment(env: in out Environment; len: Integer ; intro: IntrospectorPtr) i... |
appload/nappload.asm | DigitalMars/optlink | 28 | 81717 | <reponame>DigitalMars/optlink
TITLE OPTLOAD - Copyright (c) 1993 SLR Systems
INCLUDE MACROS
INCLUDE newexe.inc ;* Macros & constants
keep_read_only EQU 0
.286
PUBLIC __SLRLOAD
__SLRLOAD = 9999h
; SOFT EXTF GLOBALALLOC,GLOBALREALLOC,GLOBALFREE,PATCHCODEHANDLE,GLOBALDOSALLOC
; SOFT EXTF GETPROCADDRESS,... |
bin/Alloy/models/cloudnet/TOSCA.als | ORANGE-XFM/Cloudnet-TOSCA-toolbox | 21 | 2083 | <reponame>ORANGE-XFM/Cloudnet-TOSCA-toolbox
/******************************************************************************
*
* Software Name : Cloudnet TOSCA toolbox
* Version: 1.0
* SPDX-FileCopyrightText: Copyright (c) 2020 Orange
* SPDX-License-Identifier: Apache-2.0
*
* This software is distributed under th... |
programs/oeis/008/A008260.asm | neoneye/loda | 22 | 93019 | ; A008260: Coordination sequence for Paracelsian.
; 1,4,10,21,37,57,81,109,142,180,222,268,318,373,433,497,565,637,714,796,882,972,1066,1165,1269,1377,1489,1605,1726,1852,1982,2116,2254,2397,2545,2697,2853,3013,3178,3348,3522,3700,3882,4069,4261,4457,4657,4861,5070,5284,5502,5724,5950,6181,6417,6657,6901,7149,7402,7660... |
libsrc/algorithm/AStarSearch/astar_PathLength.asm | andydansby/z88dk-mk2 | 1 | 15310 | <gh_stars>1-10
; uint __FASTCALL__ astar_PathLength(struct astar_path *p)
; return the length of the path
; 01.2007 aralbrec
XLIB astar_PathLength
; enter : hl = struct astar_path *
; exit : hl = path length
; uses : af, bc, de, hl
.astar_PathLength
ld bc,3
ld d,b
ld e,b
.loop
ld a,h
or l
... |
libsrc/fcntl/nc100/write.asm | meesokim/z88dk | 0 | 3529 | <reponame>meesokim/z88dk<gh_stars>0
;
; Write a file on an Amstrad NC100
;
PUBLIC write
.write pop ix
pop de
pop hl
pop bc
push bc
push hl
push de
push ix
ld a, b
or c
call nz, 0xB8AB
ld h, b
ld l, c
ret
|
oeis/189/A189801.asm | neoneye/loda-programs | 11 | 4054 | <filename>oeis/189/A189801.asm
; A189801: a(n) = 6*a(n-1) + 9*a(n-2), with a(0)=0, a(1)=1.
; Submitted by <NAME>
; 0,1,6,45,324,2349,17010,123201,892296,6462585,46806174,339000309,2455257420,17782547301,128792600586,932798529225,6755924580624,48930734246769,354387726706230,2566702968458301,18589707351105876,13463857082... |
ciphers/blowfish.asm | FloydZ/Crypto-Hash | 11 | 20654 | <gh_stars>10-100
comment *
Blowfish implementation. Fixed version !
Algo : BLOWFISH
Block : 8 bytes
Rounds : 16
Key : max. 56 bytes (448 b)
push lPass ;password length in bytes
push offset Pass ;password ptr
call Blowfish_SetKey
push offset plain ;data to encrypt ptr
push offset encrypted_buf ;destination... |
programs/oeis/010/A010727.asm | neoneye/loda | 22 | 91281 | ; A010727: Constant sequence: the all 7's sequence.
; 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7
mov $0,7
|
Applications/iTunes/get-volume.applescript | looking-for-a-job/applescript-examples | 1 | 1094 | #!/usr/bin/osascript
on get_volume()
tell application "iTunes" to return sound volume
end get_volume
get_volume() |
src/util/sprite/f_f5.asm | olifink/qspread | 0 | 13832 | <reponame>olifink/qspread<gh_stars>0
;Sprite source code generated with EASYSOURCE 1991 <NAME> Software
;**************************************************************************
; -> asm_spr_ <- 1992 Jun 13 12:45:08
section sprite
xdef mes_f5
mes_f5
sp1
dc.w $0100,$0000 ... |
3-mid/opengl/source/platform/egl/private/thin/egl.ads | charlie5/lace | 20 | 12998 | with
Interfaces.C,
System;
package eGL
is
use Interfaces;
---------
-- Types
--
subtype void_Ptr is System.Address;
subtype Display is System.Address;
subtype NativeWindowType is Interfaces.C.unsigned_long;
subtype NativePixmapType is Interfaces.C.unsigned_long;
... |
sharding-core/src/main/antlr4/imports/BaseRule.g4 | fifadxj/sharding-sphere | 0 | 1625 | grammar BaseRule;
import DataType, Keyword, Symbol;
ID:
(BQ_?[a-zA-Z_$][a-zA-Z0-9_$]* BQ_? DOT)? (BQ_?[a-zA-Z_$][a-zA-Z0-9_$]* BQ_?)
| [a-zA-Z_$0-9]+ DOT_ASTERISK
;
schemaName
: ID
;
databaseName
: ID
;
domainName
: ID
;
tableName
: ID
;
columnName... |
resources/osascripts/Quit.scpt | liamparkeruk/spotify-freemium | 0 | 3467 | <filename>resources/osascripts/Quit.scpt
tell application "Spotify" to quit
|
src/Human/Maybe.agda | MaisaMilena/JuiceMaker | 6 | 9123 | <reponame>MaisaMilena/JuiceMaker<gh_stars>1-10
module Human.Maybe where
data Maybe (A : Set) : Set where
just : A -> Maybe A
nothing : Maybe A
|
Laboratorio/Relatorio_08/Resposta Rel_08/prog15.asm | 0Augusto/hello-world | 1 | 240832 | # Variaveis associadas aos registradores:
# endBase -> $16
# i -> $17
# soma -> $18
.text
.globl main
main:
addi $8, $0, 0x1001 # t0 = 0x00001001
sll $16, $8, 0x10 # endBase = 0x10010000
addi $10, $0, 0x64 # i = 100
do:
sll $8, $17, 0x2 # i = i * 4
add $8, $8, $16 # t0 = i * 4 + endBase
sll $9, $17... |
libsrc/stdio/vfprintf.asm | jpoikela/z88dk | 0 | 240472 | <reponame>jpoikela/z88dk<gh_stars>0
; int vfprintf(FILE *fp, unsigned char *fmt,void *ap)
MODULE vfprintf
SECTION code_clib
PUBLIC vfprintf
EXTERN fputc_callee
EXTERN asm_printf
; Cores have signature (in __smallc)
; int vfprintf1(FILE *fp, void (*output_fn)(FILE *fp,int c), int sccz80, unsigned char *fm... |
examples/kernel.asm | michalmalik/pvm | 2 | 166987 | <reponame>michalmalik/pvm<gh_stars>1-10
JMP start
#include "devices.asm"
#include "memory.asm"
#include "ivt.asm"
:init_kernel
JTR build_ivt
RET
:start
JTR init_kernel
STO D,0x8
STO C,0xF00D
STO X,0x1000
STO B,SYSCALL_WRITE_MEM
INT IVT_SYSCALL |
src/tools/dups.adb | spr93/whitakers-words | 204 | 6624 | <filename>src/tools/dups.adb
-- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is Cop... |
IV Semester/Microprocessor_Lab/5B_Display_Left_To_Right/5B.asm | ckraju/CSE-Lab-Manual | 2 | 4132 | .MODEL SMALL
.DATA
PA EQU 0D800H
PB EQU 0D801H
PC EQU 0D802H
CW EQU 0D803H
NUM DW 0FFFFH ;16 bit intput number taken
TABLE DB 0C0H, 0F9H, 0A4H, 0B0H, 99H, 92H, 82H, 0F8H, 80H, 90H ; 0 1 2 3 .... 9 numbers
LIST DB 0FFH, 0FFH, 0FFH, 0FFH, ? , ? , ? , ? , ? , 0FFH, 0FFH, 0FFH, 0FFH
.CODE
MOV AX,@DATA
MOV DS,AX
MOV ... |
Sources/Globe_3d/globe_3d-random_extrusions.ads | ForYouEyesOnly/Space-Convoy | 1 | 6160 | <reponame>ForYouEyesOnly/Space-Convoy<gh_stars>1-10
------------------------------------------------------------------------------
-- File : GLOBE_3D - Random_extrusions.ads
-- Description : Algorithm to generate a Sci - Fi - style extruded surface
-- Date / Version : 14 - May - 2006
-- ... |
smsq/gold/driver/most.asm | olifink/smsqe | 0 | 176873 | ; base area SMSQ GOLD Drivers
section header
xref smsq_end
header_base
dc.l gl_most-header_base ; length of header
dc.l 0 ; module length unknown
dc.l smsq_end-gl_most ; loaded length
dc.l 0 ; checksum
dc.l 0 ; always select
dc.b 1 ; 1 level down
dc.b 0
dc.w smsq_name-*
smsq_name
dc.w 17,'S... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_922.asm | ljhsiun2/medusa | 9 | 27407 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r9
push %rbx
push %rcx
push %rdi
lea addresses_WC_ht+0xf086, %rbx
and %r10, %r10
movb (%rbx), %cl
cmp %r10, %r10
lea addresses_WT_ht+0x6ec8, %r9
nop
nop
nop
nop
inc %r15
mov (%r9), %r12
nop
nop
and %r10, %r10
lea addresses_W... |
programs/oeis/198/A198954.asm | karttu/loda | 0 | 105441 | ; A198954: Expansion of the rotational partition function for a heteronuclear diatomic molecule.
; 1,3,0,5,0,0,7,0,0,0,9,0,0,0,0,11,0,0,0,0,0,13,0,0,0,0,0,0,15,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,0,19,0,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,23,0,0,0,0,0,0,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,27,0,0,0,0,0,0,0,0,0,0,0,0,0,29... |
Levels/Pachinko/Misc Object Data/Map - Item Orb.asm | NatsumiFox/AMPS-Sonic-3-Knuckles | 5 | 247702 | <reponame>NatsumiFox/AMPS-Sonic-3-Knuckles
Map_PachinkoItemOrb_:dc.w word_4A29E-Map_PachinkoItemOrb_
dc.w word_4A2A6-Map_PachinkoItemOrb_
dc.w word_4A2AE-Map_PachinkoItemOrb_
dc.w word_4A2B6-Map_PachinkoItemOrb_
dc.w word_4A2BE-Map_PachinkoItemOrb_
word_4A29E: dc.w 1 ; DATA XREF: ROM:0004A294o
dc.b $F8, ... |
oeis/045/A045342.asm | neoneye/loda-programs | 11 | 21134 | ; A045342: Primes congruent to {1, 2, 3} mod 7.
; Submitted by <NAME>
; 2,3,17,23,29,31,37,43,59,71,73,79,101,107,113,127,149,157,163,191,197,199,211,227,233,239,241,269,281,283,311,317,331,337,353,359,367,373,379,401,409,421,443,449,457,463,479,491,499,521,541,547,563,569,577,617,619,631,647,653,659,661,673,701,709,74... |
Assembler/AssemblyCode/TTL/MOV16_J.asm | KPU-RISC/KPU | 8 | 240343 | MOV XL, 11111110b
MOV XH, 0x00
MOV J, X
; Initialize the D and E register
MOV E, [J]
MOV D, 00000001b
; Add both values
ADD E, D
DATA 0000000011111110b, 00000001b |
server/src/qasm/antlr/QasmLexer.g4 | stjordanis/qiskit-vscode | 6 | 1341 | /**
* @license
*
* Copyright (c) 2018, IBM.
*
* This source code is licensed under the Apache License, Version 2.0 found in
* the LICENSE.txt file in the root directory of this source tree.
*/
lexer grammar QasmLexer;
Comment: '//' ~[\r\n]* -> skip;
WhiteSpace: [ \t\n\r] -> skip;
Real: [0-9]+'.'[0-9]+;
Int: ... |
10.0.14393-sp0-windows-10-rs1-1607/amd64/ssdt_sysenter.asm | rmusser01/windows-syscall-table | 6 | 5063 | <reponame>rmusser01/windows-syscall-table
; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; ssdt asm stub for 10.0.14393-sp0-windows-10-rs1-1607 amd64
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG64 __stdcall NtAccessCheck( ULONG64 arg_01 , ULONG64 arg_02 , ULONG64 arg_03 , ... |
notes/FOT/FOTC/UnguardedCorecursion/Alter/PropertiesATP.agda | asr/fotc | 11 | 11348 | ------------------------------------------------------------------------------
-- Properties of the alter list
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
... |
src/main/fragment/mos6502-common/vwum1_lt_vbuxx_then_la1.asm | jbrandwood/kickc | 2 | 26168 | lda {m1}+1
bne !+
stx $ff
lda {m1}
cmp $ff
bcc {la1}
!:
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48011a.ada | best08618/asylo | 7 | 22303 | <reponame>best08618/asylo<gh_stars>1-10
-- C48011A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and docume... |
Applications/Safari/front window/front window's tabs.applescript | looking-for-a-job/applescript-examples | 1 | 2015 | <gh_stars>1-10
#!/usr/bin/osascript
tell application "Safari"
front window's tabs as list --gets all open tabs
end tell
|
examples/factorial.asm | paulbarbu/cpu-emu | 2 | 172686 | ;################################################################################
;#### Fisier Test 2 - Factorial
;################################################################################
.data
.code
jmp START ; salt la start cod
;--------------------------------------------------------------------------------... |
test/Succeed/TerminationInductionInduction.agda | shlevy/agda | 1,989 | 1661 | <reponame>shlevy/agda
-- Andreas, 2018-08-14, re issue #1558
-- Termination checking functions over inductive-inductive types
-- {-# OPTIONS -v term:40 #-}
mutual
data Cxt : Set where
ε : Cxt
_,_ : (Γ : Cxt) (A : Ty Γ) → Cxt
data Ty : (Γ : Cxt) → Set where
u : ∀ Γ → Ty Γ
Π : ∀ Γ (A : Ty... |
tests/tzgesvd.adb | leo-brewin/ada-lapack | 5 | 8790 | with Ada.Text_IO;
with Ada.Text_IO.Complex_IO;
with Ada.Numerics.Generic_Real_Arrays;
with Ada.Numerics.Generic_Complex_Types;
with Ada.Numerics.Generic_Complex_Arrays;
with Ada.Numerics.Generic_Elementary_Functions;
with Ada.Numerics.Generic_Complex_Elementary_Functions;
with Ada_Lapack;
use Ada.Text_IO;
procedure ... |
oeis/346/A346597.asm | neoneye/loda-programs | 11 | 28527 | <reponame>neoneye/loda-programs
; A346597: Partial sums of A019554.
; 1,3,6,8,13,19,26,30,33,43,54,60,73,87,102,106,123,129,148,158,179,201,224,236,241,267,276,290,319,349,380,388,421,455,490,496,533,571,610,630,671,713,756,778,793,839,886,898,905,915,966,992,1045,1063,1118,1146,1203,1261,1320,1350,1411,1473,1494,1502,... |
MODULE2/1-exit_shellcode/exit2/exit2.asm | wetw0rk/SLAE | 18 | 2643 | ; Executable name : exit2
; Designed OS : Linux (32-bit)
; Author : wetw0rk
; Version : 1.0
; Created Following : SLAE
; Description : An example of exit shellcode, without NULL bytes
;
; Build using these commands:
; nasm -f elf32 -o exit2.o exit2.asm
; ld -o ex... |
3-mid/opengl/source/lean/geometry/opengl-primitive.adb | charlie5/lace | 20 | 28742 | with
openGL.Tasks,
GL.Binding,
ada.unchecked_Deallocation;
package body openGL.Primitive
is
---------
-- Forge
--
procedure define (Self : in out Item; Kind : in facet_Kind)
is
begin
Self.facet_Kind := Kind;
end define;
procedure free (Self : in out View)
is
... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1619.asm | ljhsiun2/medusa | 9 | 170829 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1619.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x15d15, %r12
nop
nop
nop
nop
nop
cmp %r14, %r14
vmo... |
alloy4fun_models/trashltl/models/5/uz9nuLbhu8Srqi2q6.als | Kaixi26/org.alloytools.alloy | 0 | 3474 | open main
pred iduz9nuLbhu8Srqi2q6_prop6 {
all f : File | f in Trash and always f in Trash'
}
pred __repair { iduz9nuLbhu8Srqi2q6_prop6 }
check __repair { iduz9nuLbhu8Srqi2q6_prop6 <=> prop6o } |
archs/amd_gpu.als | graymalkin/memalloy | 20 | 2472 | /********************************************************/
/* Executions on a GPU */
/********************************************************/
open util/relation
module amd_gpu
sig Loc {}
sig Val {}
one sig Zero extends Val {}
abstract sig Hygiene, Freshness {}
one sig CLEAN, DIRTY e... |
programs/oeis/168/A168283.asm | neoneye/loda | 22 | 21025 | ; A168283: a(n) = (10*n - 5*(-1)^n - 3)/4.
; 3,3,8,8,13,13,18,18,23,23,28,28,33,33,38,38,43,43,48,48,53,53,58,58,63,63,68,68,73,73,78,78,83,83,88,88,93,93,98,98,103,103,108,108,113,113,118,118,123,123,128,128,133,133,138,138,143,143,148,148,153,153,158,158,163,163,168,168,173,173,178,178,183,183,188,188,193,193,198,198... |
libsrc/target/z1013/games/joystick.asm | dikdom/z88dk | 1 | 12615 |
SECTION code_clib
PUBLIC joystick
PUBLIC _joystick
EXTERN getk
joystick:
_joystick:
ld a,l
ld c,$20
cp 1
jr z,read_stick
ld c,$40
cp 2
jr z,read_stick
cp 3
jr nz,no_stick_qaop
INCLUDE "games/joystick_qaop.as1"
no_stick_qaop:
c... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/sf2/irq.asm | prismotizm/gigaleak | 0 | 84684 | Name: irq.asm
Type: file
Size: 20693
Last-Modified: '1993-01-07T04:42:29Z'
SHA-1: 5CBE792D4A8F930907063527509B12CC68D4FCEE
Description: null
|
oeis/014/A014437.asm | neoneye/loda-programs | 11 | 100404 | <reponame>neoneye/loda-programs
; A014437: Odd Fibonacci numbers.
; Submitted by <NAME>(s1)
; 1,1,3,5,13,21,55,89,233,377,987,1597,4181,6765,17711,28657,75025,121393,317811,514229,1346269,2178309,5702887,9227465,24157817,39088169,102334155,165580141,433494437,701408733,1836311903,2971215073,7778742049,12586269025,32951... |
1-base/math/source/generic/pure/algebra/any_math-any_algebra.ads | charlie5/lace | 20 | 13190 | generic
package any_Math.any_Algebra
is
pragma Pure;
pragma Optimize (Time);
end any_Math.any_Algebra;
|
agda-stdlib/README/Text/Tabular.agda | DreamLinuxer/popl21-artifact | 5 | 3903 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Examples of printing list and vec-based tables
------------------------------------------------------------------------
{-# OPTIONS --safe --without-K #-}
module README.Text.Tabular where
open import Function.... |
alloy4fun_models/trainstlt/models/2/qoA596Jg5jNYfw3Rr.als | Kaixi26/org.alloytools.alloy | 0 | 2245 | open main
pred idqoA596Jg5jNYfw3Rr_prop3 {
always no Green
}
pred __repair { idqoA596Jg5jNYfw3Rr_prop3 }
check __repair { idqoA596Jg5jNYfw3Rr_prop3 <=> prop3o } |
tests/nasm/fscale.asm | brenden7158/v86 | 12,700 | 162938 | <reponame>brenden7158/v86
global _start
%include "header.inc"
fldpi
fldpi
fscale
%include "footer.inc"
|
packer/bitnax/sfx.asm | d23/bitfire | 27 | 94822 | <gh_stars>10-100
!cpu 6510
.lz_sector = ($10000 - (.bitnax_packed_size)) & $ff00
.decruncher = $0020
.bitnax_decrunch_offset = .bitnax_decruncher_start - .bitnax_code_start - $20
BITNAX_SIZE_HI = .bitnax_size_hi - .bitnax_code_start + 2
BITNAX_SIZE_LO = .bitnax_size_lo - .bitnax_code_start + 2
BITNAX_DATA_... |
src/asm_x86/x86/flushbf.asm | JINGCW/go_decompose | 0 | 162191 |
;.model small,stdcall
include flushbf.inc
.model small,stdcall
.code
FlushBuffer PROC
;flush the standard input buffer.
;receives: nothing. returns: nothing
.data
onebyte db ?
.code
; pusha
push ax
push bx
push cx
push dx
push di
l1:
mov ah,3fh ;read file/device
mov bx,0 ;keyboard hand... |
oeis/145/A145921.asm | neoneye/loda-programs | 11 | 98948 | <reponame>neoneye/loda-programs
; A145921: Numerator of n*B(n,1+1/n), where B(.,.) is the Beta Function.
; Submitted by <NAME>
; 1,8,81,2048,15625,6718464,5764801,2147483648,31381059609,64000000000000,3138428376721,2218611106740436992,3937376385699289,1115112108958398021632,39903080760955810546875,604462909807314587353... |
Aurora/Aurora/x64/Debug/user64.asm | manaskamal/aurora-xeneva | 8 | 90276 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC ?tss@@3PEAU_tss@@EA ; tss
_BSS SEGMENT
?tss@@3PEAU_tss@@EA DQ 01H DUP (?) ; tss
_BSS ENDS
CONST SEGMENT
$SG2837 DB 'Syscalled occured', 0aH, 00H
ORG $+5
$SG2838 DB 'L... |
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_94_1562.asm | ljhsiun2/medusa | 9 | 84059 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r13
push %r8
push %rsi
// Faulty Load
lea addresses_US+0x420f, %rsi
nop
nop
nop
nop
nop
xor %r10, %r10
movb (%rsi), %r8b
lea oracles, %rsi
and $0xff, %r8
shlq $12, %r8
mov (%rsi,%r8,1), %r8
po... |
libsrc/oz/oztime/ozday.asm | grancier/z180 | 0 | 13926 | ;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by <NAME>
; by <NAME> - Oct. 2003
;
;
; clock functions
;
; unsigned ozday()
;
;
; ------
; $Id: ozday.asm,v 1.3 2016/06/27 21:25:36 dom Exp $
;
SECTION code_clib
PUBLIC ozday
PUBLIC _ozday
EXTERN Compute
ozday:
_ozday:
ld c,38h
... |
resources/scripts/api/detectify.ads | Elon143/Amass | 7,053 | 26430 | -- Copyright 2021 <NAME>. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local json = require("json")
name = "Detectify"
type = "api"
function start()
set_rate_limit(1)
end
function check()
local c
local cfg = datasrc_config()
i... |
Applescript/Water_Toggle.applescript | dustindmiller/QTableTop | 1 | 4656 | tell application id "com.figure53.QLab.4" to tell front workspace
set contentName to "Water"
set mapNameList to (q number of cues of cue (contentName & "s"))
set activeMap to q name of cue (contentName & " Toggle")
set newTarg to (choose from list mapNameList with title ("Toggle " & contentName) with prompt ("Selec... |
test/Succeed/RepeatedCase.agda | asr/eagda | 1 | 3465 | <reponame>asr/eagda<filename>test/Succeed/RepeatedCase.agda
{-# OPTIONS -v treeless:20 #-}
module _ where
data N : Set where
zero : N
suc : N → N
_+_ : N → N → N
zero + n = n
suc m + n = suc (m + n)
record P A B : Set where
constructor _,_
field fst : A
snd : B
open P
{-# INLINE fst #-}
{-# INLINE ... |
programs/oeis/316/A316319.asm | karttu/loda | 0 | 15520 | ; A316319: Coordination sequence for a trivalent node in a chamfered version of the 3^6 triangular tiling of the plane.
; 1,3,7,14,25,38,51,63,75,87,99,111,123,135,147,159,171,183,195,207,219,231,243,255,267,279,291,303,315,327,339,351,363,375,387,399,411,423,435,447,459,471,483,495,507,519,531,543,555,567,579,591,603,... |
src/Sigma.agda | vituscze/HoTT-lectures | 0 | 16690 | {-# OPTIONS --without-K #-}
module Sigma {a b} {A : Set a} {B : A → Set b} where
open import Equivalence
open import Types
-- Projections for the positive sigma.
π₁′ : (p : Σ′ A B) → A
π₁′ p = split (λ _ → A) (λ a _ → a) p
π₂′ : (p : Σ′ A B) → B (π₁′ p)
π₂′ p = split (λ p → B (π₁′ p)) (λ _ b → b) p
-- Induction pri... |
src/cups.ads | persan/a-cups | 0 | 3268 | <reponame>persan/a-cups
package CUPS is
type Job_Id is new Natural;
Cups_Error : exception;
end CUPS;
|
boot/k.asm | DriesCode/bootloaders | 6 | 7231 | <reponame>DriesCode/bootloaders
bits 32
;org 0x7fff
[extern kmain]
global _start
_start:
; Jump to kernel
call kmain
hlt
|
oeis/021/A021617.asm | neoneye/loda-programs | 11 | 2080 | <reponame>neoneye/loda-programs
; A021617: Decimal expansion of 1/613.
; Submitted by Jon Maiga
; 0,0,1,6,3,1,3,2,1,3,7,0,3,0,9,9,5,1,0,6,0,3,5,8,8,9,0,7,0,1,4,6,8,1,8,9,2,3,3,2,7,8,9,5,5,9,5,4,3,2,3,0,0,1,6,3,1,3,2,1,3,7,0,3,0,9,9,5,1,0,6,0,3,5,8,8,9,0,7,0,1,4,6,8,1,8,9,2,3,3,2,7,8,9,5,5,9,5,4
add $0,1
mov $1,10
pow ... |
Thesis/DeriveCorrect.agda | inc-lc/ilc-agda | 10 | 6947 | module Thesis.DeriveCorrect where
open import Thesis.Lang
open import Thesis.Changes
open import Thesis.LangChanges
open import Thesis.Derive
open import Relation.Binary.PropositionalEquality
open import Theorem.Groups-Nehemiah
fromtoDeriveConst : ∀ {τ : Type} (c : Const τ) →
ch ⟦ c ⟧ΔConst from ⟦ c ⟧Const to ⟦ c... |
eval.asm | vipoo/bbcbasic-z80 | 2 | 25855 | <filename>eval.asm
; TITLE BBC BASIC (C) R.T.RUSSELL 1987
;
;BBC BASIC INTERPRETER - Z80 VERSION
;EXPRESSION EVALUATION & ARITHMETIC MODULE - "EVAL"
;(C) COPYRIGHT R.T.RUSSELL 1984
;VERSION 2.3, 07-05-1984
;Modified to use external FPP, 01-03-1987
;VERSION 3.0, 08-03-1987
;INSTR bug fixed, 30-09-1992
;
;BINARY FLOATI... |
output/out/main.asm | elseyf/gb8 | 16 | 1547 | ;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.7.1 #10455 (MINGW64)
;--------------------------------------------------------
.module main
.optsdcc -mgbz80
;--------------------------------------------------------
; Public vari... |
Win32/Win32.Carume/Win32.Carume.asm | fengjixuchui/Family | 3 | 9803 | <filename>Win32/Win32.Carume/Win32.Carume.asm
;
; W32.Carume
;
; Written by RadiatioN @ XERO VX and hacking group in February-March 2006
;
; THIS FILE HAS NO COPYRIGHTS! I AM NOT RESPONSIBLE FOR ANY DAMAGE WITH THAT CODE!
;
; Compile with masm 8.2
;
; greetings to vBx and SkyOut
;
; What does this Code?
; ... |
cc4x86/tests/regressive/asm_listings/while__optimize.asm | artyompal/C-compiler | 4 | 179716 | <gh_stars>1-10
.686
.model flat
.xmm
.code
_test proc
push ebp
mov ebp,esp
sub esp,12
push edi
push esi
mov edi,0
label0000:
mov eax,edi
inc edi
cmp eax,10
jge label0001
jmp... |
smsq/qd/trap3.asm | olifink/smsqe | 0 | 178543 | <filename>smsq/qd/trap3.asm
* QDOS Trap #3 Emulation V2.00 1986 <NAME> QJUMP
*
section qd
*
xdef qd_trap3
xdef trp3_cinvi
xref io_ckchn
xref sms_cjid
xref sms_rte
xref shd_schd
*
include dev8_keys_err
include dev8_keys_sys
include dev8_keys_iod
include dev8_keys_jcbq
include dev8_keys_revbin
includ... |
3-mid/opengl/source/lean/light/opengl-light-directional.adb | charlie5/lace | 20 | 30388 | <filename>3-mid/opengl/source/lean/light/opengl-light-directional.adb
with
openGL.conversions;
package body openGL.Light.directional
is
procedure inverse_view_Transform_is (Self : in out Item; Now : in Matrix_3x3)
is
use linear_Algebra;
begin
Self.Direction := Now * Normalised (Self... |
test/asset/agda-stdlib-1.0/Data/Container/Membership.agda | omega12345/agda-mode | 5 | 2486 | <filename>test/asset/agda-stdlib-1.0/Data/Container/Membership.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Membership for containers
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module D... |
programs/oeis/061/A061239.asm | neoneye/loda | 22 | 105350 | ; A061239: Prime numbers == 4 (mod 9).
; 13,31,67,103,139,157,193,211,229,283,337,373,409,463,499,571,607,643,661,733,751,769,787,823,859,877,967,1021,1039,1093,1129,1201,1237,1291,1327,1381,1399,1453,1471,1489,1543,1579,1597,1669,1723,1741,1759,1777,1831,1867,1993,2011,2029,2083,2137,2281,2371,2389,2551,2659,2677,2713... |
Ada/problem_6/problem_6.adb | PyllrNL/Project_Euler_Solutions | 0 | 15859 | <reponame>PyllrNL/Project_Euler_Solutions<gh_stars>0
package body Problem_6 is
function Solution_1 return Int64 is
Sum_Of_Squares : Int64 := 0;
Sum : Int64 := 0;
begin
for I in 1 .. 100 loop
Sum_Of_Squares := Sum_Of_Squares + Int64(I*I);
Sum := Sum + Int64(I);
... |
programs/oeis/218/A218034.asm | jmorken/loda | 1 | 13462 | <reponame>jmorken/loda
; A218034: Number of ways to seat 4 types of people in n labeled seats around a circle such that no two adjacent people are of the same type.
; 1,4,12,24,84,240,732,2184,6564,19680,59052,177144,531444,1594320,4782972,14348904,43046724,129140160,387420492,1162261464,3486784404,10460353200,31381059... |
source/features/string.asm | feliposz/FelipOS | 0 | 3596 | <filename>source/features/string.asm<gh_stars>0
; ==========================================================
; os_string_strincmp -- See if two strings match up to set number of chars
; IN: SI = string one, DI = string two, CL = chars to check
; OUT: carry set if same, clear if different
os_string_strincmp:
pusha
... |
programs/oeis/105/A105073.asm | karttu/loda | 0 | 27754 | ; A105073: Define a(1)=0, a(2)=2 then a(n) = 3*a(n-1) - a(n-2), a(n+1) = 3*a(n)-a(n-1) and a(n+2) = 3*a(n+1) - a(n) + 2.
; 0,2,6,16,44,116,304,798,2090,5472,14328,37512,98208,257114,673134,1762288,4613732,12078908,31622992,82790070,216747218,567451584,1485607536,3889371024,10182505536,26658145586,69791931222,1827176480... |
oeis/349/A349852.asm | neoneye/loda-programs | 11 | 165745 | <filename>oeis/349/A349852.asm<gh_stars>10-100
; A349852: Expansion of Sum_{k>=0} k * x^k/(1 + k * x).
; Submitted by <NAME>(s3)
; 0,1,1,0,2,1,-5,20,-28,-47,525,-2056,3902,9633,-129033,664364,-1837904,-2388687,67004697,-478198544,1994889946,-1669470783,-56929813933,615188040196,-3794477505572,12028579019537,50780206473... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0.log_21829_1881.asm | ljhsiun2/medusa | 9 | 171982 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1261c, %rcx
nop
nop
nop
inc %r12
mov $0x6162636465666768, %r10
movq %r10, %xmm5
vmovups %ymm5, (%rcx)
nop
nop
nop
sub %r15, %r15
lea addresses_UC_ht+0x2226, %rsi
lea addresses... |
Driver/Printer/DotMatrix/Epmx9/epmx9Dialog.asm | steakknife/pcgeos | 504 | 162442 |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: print drivers
FILE: epmx9Dialog.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Dat... |
book-01/Assembly/asm/avx-2/scalar/avx2_s_flagless_instructions.asm | gfurtadoalmeida/study-assembly-x64 | 2 | 10927 | <reponame>gfurtadoalmeida/study-assembly-x64
.code
; uint64_t AVX2_Scalar_Flagless_Multiply_UInt_(uint32_t a, uint32_t b, uint64_t flags[2])
AVX2_Scalar_Flagless_Multiply_UInt_ proc
; Save original flags
pushfq
pop rax
mov qword ptr [r8], rax
; Multiply the source operand (rcx) with rdx.
; Stores the low half of the... |
ada-containers-bounded_doubly_linked_lists.ads | mgrojo/adalib | 15 | 30010 | <gh_stars>10-100
-- Standard Ada library specification
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
-- SPDX-License-Identifier: BSD-3-Clause and... |
libsrc/target/c128/stdio/ansi/f_ansi_cls.asm | ahjelm/z88dk | 640 | 18537 | ;
; ANSI Video handling for the Commodore 128 (Z80 mode)
; By <NAME> - 22/08/2001
;
; CLS - Clear the screen
;
;
; $Id: f_ansi_cls.asm $
;
SECTION code_clib
PUBLIC ansi_cls
EXTERN __c128_paper
.ansi_cls
ld hl,$2000 ; Text
ld d,h
ld e,l
inc de
ld bc,1023
ld (hl),32
ldir
ld hl,$1000 ; Color attributes
... |
uti/setstat.asm | olifink/smsqe | 0 | 80418 | <reponame>olifink/smsqe<filename>uti/setstat.asm
; Set list of statuses to pre-defined or the same status
; 1994 <NAME> V0.00
include dev8_keys_wstatus
include dev8_keys_wwork
section utility
xdef ut_slstat ; set list of statuses
xdef ut_ssstat ; set same statuses
;+++
; Set list of statuses. To save s... |
programs/oeis/178/A178166.asm | neoneye/loda | 22 | 5444 | ; A178166: 10^a(n) Pascal triangle, where a(n) = A007318(n).
; 10,10,10,10,100,10,10,1000,1000,10,10,10000,1000000,10000,10,10,100000,10000000000,10000000000,100000,10,10,1000000,1000000000000000,100000000000000000000,1000000000000000,1000000,10,10,10000000,1000000000000000000000
seq $0,7318 ; Pascal's triangle read b... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.