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 |
|---|---|---|---|---|
1-base/math/source/generic/pure/algebra/any_math-any_algebra-any_linear.ads | charlie5/lace | 20 | 7331 | generic
package any_Math.any_Algebra.any_linear
is
pragma Pure;
----------
-- Vector
--
function Norm_squared (Self : in Vector) return Real; -- Length squared.
function Normalised (Self : in Vector) return Vector;
procedure Normalise (Self : in out Vector);
funct... |
oeis/141/A141722.asm | neoneye/loda-programs | 11 | 17495 | <gh_stars>10-100
; A141722: a(n) = 8*4^n - 7.
; 1,25,121,505,2041,8185,32761,131065,524281,2097145,8388601,33554425,134217721,536870905,2147483641,8589934585,34359738361,137438953465,549755813881,2199023255545,8796093022201,35184372088825,140737488355321,562949953421305,2251799813685241,9007199254740985,360287970189639... |
programs/oeis/122/A122760.asm | karttu/loda | 0 | 244315 | <filename>programs/oeis/122/A122760.asm
; A122760: Triangle read by rows: t(n,m) = 2*3^m*(n mod 2).
; 0,2,6,0,0,0,2,6,18,54,0,0,0,0,0,2,6,18,54,162,486,0,0,0,0,0,0,0,2,6,18,54,162,486,1458,4374,0,0,0,0,0,0,0,0,0,2,6,18,54,162,486,1458,4374,13122,39366,0,0,0,0,0,0,0,0,0,0,0
lpb $0,1
add $2,4
sub $0,$2
sub $0,1
lp... |
ada/original_2008/ada-gui/agar-gui-widget-box.ads | auzkok/libagar | 286 | 6454 | <filename>ada/original_2008/ada-gui/agar-gui-widget-box.ads
package agar.gui.widget.box is
use type c.unsigned;
type type_t is (BOX_HORIZ, BOX_VERT);
for type_t use (BOX_HORIZ => 0, BOX_VERT => 1);
for type_t'size use c.unsigned'size;
pragma convention (c, type_t);
type flags_t is new c.unsigned;
BOX... |
Transynther/x86/_processed/US/_ht_zr_un_/i9-9900K_12_0xca_notsx.log_183_1284.asm | ljhsiun2/medusa | 9 | 20351 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r15
push %r8
push %r9
push %rbx
push %rdi
// Store
lea addresses_PSE+0x1f2e8, %r14
nop
nop
sub %r15, %r15
mov $0x5152535455565758, %r11
movq %r11, %xmm0
vmovups %ymm0, (%r14)
nop
nop
sub %r14, %r14
// ... |
engine.asm | ISSOtm/Aevilia-GB | 53 | 10571 | <reponame>ISSOtm/Aevilia-GB
INCLUDE "macros.asm"
INCLUDE "constants.asm"
INCLUDE "engine/animations.asm"
INCLUDE "engine/debug_menus.asm"
INCLUDE "engine/credits.asm"
INCLUDE "engine/error_handler.asm"
INCLUDE "engine/intro_cutscene.asm"
INCLUDE "engine/save.asm"
INCLUDE "engine/start_menu.asm"
INCLUDE "en... |
oeis/081/A081903.asm | neoneye/loda-programs | 11 | 17593 | ; A081903: A sequence related to binomial(n+5, 5).
; Submitted by <NAME>
; 1,10,85,660,4830,33876,230030,1522400,9866375,62828750,394146875,2440812500,14944687500,90590625000,544242187500,3243437500000,19189111328125,112777832031250,658804931640625,3827075195312500,22117736816406250,127216186523437500,72848052978515625... |
libsrc/_DEVELOPMENT/string/c/sccz80/strset_callee.asm | Frodevan/z88dk | 640 | 169204 |
; char* strset(char *s, int c)
SECTION code_clib
SECTION code_string
PUBLIC strset_callee
EXTERN asm_strset
strset_callee:
IF __CPU_GBZ80__
pop bc
pop de
pop hl
push bc
call asm_strset
ld d,h
ld e,l
ret
ELSE
pop hl
pop de
ex (sp),hl
jp asm_strset
ENDIF
; SDCC bridge for Cl... |
libsrc/input/spectrum/INMouseKemp.asm | andydansby/z88dk-mk2 | 1 | 105439 | ; Read Kempston Mouse
; 08.2003 aralbrec
; based on <NAME>'s Kempston Mouse
; driver for Spectrum Basic (2003)
XLIB INMouseKemp
XREF _in_KempcoordX, _in_KempcoordY
XREF _in_KemprawX, _in_KemprawY
; exit : C = button state 000000RL active high
; B = X coordinate (0..255)
; A = Y coordinate (0..191)
; us... |
test/jzas/sintactic/valid/success38.asm | scoffey/jz80sim | 1 | 83867 | aseg
org 3000h
start0: jp start
transponer: ld (aux), BC
ld (aux+2), DE
ld (aux+4), IX
ld (aux+6), IY ; resguarda los registros
pop DE ; levanta dir de ret
pop IX ; IX = matriz
pop BC ; B = cant columnas, C = basura
push DE ; restaura dir de ret
push AF ; resguarda AF
ld D, 0... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_12034_1327.asm | ljhsiun2/medusa | 9 | 263 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x105b1, %rsi
lea addresses_A_ht+0x191b1, %rdi
nop
nop
nop
and %r15, %r15
mov $8, %rcx
rep movsq
nop
nop
nop
nop
sub $18206, %r12
lea addresses_A_ht+0x16cc4, %rs... |
oeis/062/A062159.asm | neoneye/loda-programs | 11 | 13418 | <reponame>neoneye/loda-programs
; A062159: a(n) = n^5 - n^4 + n^3 - n^2 + n - 1.
; -1,0,21,182,819,2604,6665,14706,29127,53144,90909,147630,229691,344772,501969,711914,986895,1340976,1790117,2352294,3047619,3898460,4929561,6168162,7644119,9390024,11441325,13836446,16616907,19827444,23516129,27734490,32537631,37984352,4... |
libsrc/_DEVELOPMENT/adt/p_forward_list_alt/z80/asm_p_forward_list_alt_front.asm | jpoikela/z88dk | 640 | 91969 | <reponame>jpoikela/z88dk
; ===============================================================
; Dec 2013
; ===============================================================
;
; void *p_forward_list_alt_front(p_forward_list_alt_t *list)
;
; Return item at front of list without removing it from the list.
;
; ===============... |
src/bootc/mbr.asm | devcfei/bootstrap-x86 | 0 | 104225 | %define org_start 7c00h
boot:
org org_start
jmp start
;******************************************************************************
; GDT MANUAL
;******************************************************************************
; GDT is an 8 byte QWORD value that describes properties for the descriptor.... |
extern/gnat_sdl/gnat_sdl2/src/intrin_impl_h.ads | AdaCore/training_material | 15 | 22299 | <reponame>AdaCore/training_material<gh_stars>10-100
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package intrin_impl_h is
--*
-- * This file has no copyright assigned and is placed in the Public Domain.
-- * This file is part of the mingw-w64 runtime package.
-- * No warra... |
programs/oeis/208/A208064.asm | jmorken/loda | 1 | 27155 | ; A208064: Number of n X 3 0..1 arrays avoiding 0 0 0 and 1 1 1 horizontally and 0 0 1 and 0 1 1 vertically.
; 6,36,72,144,216,324,432,576,720,900,1080,1296,1512,1764,2016,2304,2592,2916,3240,3600,3960,4356,4752,5184,5616,6084,6552,7056,7560,8100,8640,9216,9792,10404,11016,11664,12312,12996,13680,14400,15120,15876,1663... |
Interpreter.agda | mb64/cubical-free-monads | 1 | 10357 | {-# OPTIONS --cubical --safe #-}
module Interpreter where
open import Function.Base using (_$_)
open import FreeReader
-- Runs it in the reader monad
runFree : ∀ {R A} → R → FreeReader R A → A
runFree r (Pure x) = x
runFree r (Bind x f) = runFree r $ f $ runFree r x
runFree r Ask = r
-- Since it's so simple, all the... |
alloy4fun_models/trashltl/models/9/gzmK2zyjetyCjYCTk.als | Kaixi26/org.alloytools.alloy | 0 | 5177 | open main
pred idgzmK2zyjetyCjYCTk_prop10 {
always all p: File | always (once p in Protected implies always p in Protected)
}
pred __repair { idgzmK2zyjetyCjYCTk_prop10 }
check __repair { idgzmK2zyjetyCjYCTk_prop10 <=> prop10o } |
program/keyboard.asm | doowzs/BuggyOS | 7 | 27358 | <filename>program/keyboard.asm
_init:
xor $k0, $k0, $k0
xor $k1, $k1, $k1
xor $s0, $s0, $s0
addi $k0, $k0, 0x10000000
addi $k1, $k1, 0x10000118
addi $s0, $s0, 0x0000000d # ENTER KEY
j _read
_read:
lw $a0, 0x100020D0 # read this key
lw $t0, 0x100020D4 # load last key
sw $a0, 0x100020D4 # save this key
beq $a0, $zero, _... |
orka/src/gl/implementation/gl-runtime_loading.adb | onox/orka | 52 | 7033 | <reponame>onox/orka<filename>orka/src/gl/implementation/gl-runtime_loading.adb
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2013 <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 obtain... |
gcc-gcc-7_3_0-release/gcc/ada/a-stuten.adb | best08618/asylo | 7 | 7727 | <reponame>best08618/asylo<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
ayacc/src/alsys_dos/lalrs.ada | irion7/aflex-ayacc-mirror | 1 | 13424 | -- $Header: /cf/ua/arcadia/alex-ayacc/ayacc/src/RCS/lalr_symbol_info.a,v 1.1 88/08/08 13:45:45 arcadia Exp $
--***************************************************************************
-- This file is subject to the Arcadia License Agreement.
--
-- (see notice in ayacc.a)
--
--*******... |
library/files/fileNameFromPath.applescript | NYHTC/applescript-fm-helper | 1 | 2340 | <filename>library/files/fileNameFromPath.applescript
-- fileNameFromPath({filePath:null, pathDelim:null})
-- <NAME>
-- Gets the file name from the path.
(*
HISTORY:
1.0 - first created.
*)
on run
fileNameFromPath({filePath:"/my/fake/path/someFile.txt", pathDelim:"/"})
end run
--------------------
-- START OF ... |
CommandLine/CommandLine.g4 | Butjok/CommandLine | 29 | 217 | <filename>CommandLine/CommandLine.g4
grammar CommandLine;
input: value? EOF;
value
: Identifier value* #command
| Null #null
| (True | False) #boolean
| Integer #integer
| Real #real
| String #string
| LeftParenthesis value RightParenthesis #parenthesis
| operator=(Minus | Exclamation |... |
Admin Tools/connect/connect.applescript | smaddock/BlueSkyConnect | 38 | 2074 | global serverAddr
on set_server()
set serverLoc to path to resource "server.txt" in bundle (path to me)
set serverPos to POSIX path of serverLoc
set serverAddr to do shell script "cat " & the quoted form of serverPos
end set_server
on open location this_URL
set_server()
-- When the link is clicked in thewebpage... |
programs/oeis/011/A011896.asm | neoneye/loda | 22 | 165819 | ; A011896: [ n(n-1)(n-2)/14 ].
; 0,0,0,0,1,4,8,15,24,36,51,70,94,122,156,195,240,291,349,415,488,570,660,759,867,985,1114,1253,1404,1566,1740,1926,2125,2338,2564,2805,3060,3330,3615,3916,4234,4568,4920,5289,5676,6081,6505,6949,7412,7896
bin $0,3
mul $0,3
div $0,7
|
MainCode/hello.asm | kirito71/xv6 | 0 | 104976 |
_hello: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "types.h"
#include "stat.h"
#include "user.h"
int main(int argc, char *argv[]){
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ec... |
commands/apps/spotify/play-spotify.applescript | rborn/script-commands | 0 | 4276 | <reponame>rborn/script-commands
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Play Spotify
# @raycast.mode compact
# Optional parameters:
# @raycast.icon images/logo.png
# @raycast.packageName Spotify
# Documentation:
# @raycast.description Play Spotify
# @raycast.author <NA... |
demo-sharding/src/main/java/com/demo/sharding/advance/hello.g4 | qiub649691422/springboot-integration | 2 | 6601 | <reponame>qiub649691422/springboot-integration<gh_stars>1-10
grammar hello;
r: 'hello' ID;
ID: [0-9]+;
WS: [\t\r\n]->skip; |
programs/oeis/156/A156635.asm | karttu/loda | 1 | 170966 | <reponame>karttu/loda<gh_stars>1-10
; A156635: 144*n^2 - n.
; 143,574,1293,2300,3595,5178,7049,9208,11655,14390,17413,20724,24323,28210,32385,36848,41599,46638,51965,57580,63483,69674,76153,82920,89975,97318,104949,112868,121075,129570,138353,147424,156783,166430,176365,186588,197099,207898,218985,230360,242023,253974,... |
canonical-boxed-forms.agda | hazelgrove/hazelnut-agda | 0 | 15341 | <gh_stars>0
open import Nat
open import Prelude
open import contexts
open import dynamics-core
open import canonical-value-forms
module canonical-boxed-forms where
canonical-boxed-forms-num : ∀{Δ d} →
Δ , ∅ ⊢ d :: num →
d boxedval →
... |
Praktikum2-1.asm | maxwellscode/mips | 0 | 175137 | <gh_stars>0
.text
.globl ___start
___start:
la $s0,ThisText
forEveryCharacterInString:
lb $t0,0($s0)
beq $t0,$zero,EndOfFile
addi $sp,$sp,-1 # Decrement stack pointer by 1
sb $t0,0($sp) # Save character to stack
addi $s0,$s0,1
j forEveryCharacterInString
EndOfFile:
#print text from stack
add... |
demo/adainclude/memory_set.adb | e3l6/SSMDev | 0 | 11408 | <gh_stars>0
with Ada.Unchecked_Conversion;
package body Memory_Set is
------------
-- memset --
------------
function Memset (M : Address; C : int; Size : size_t) return Address is
subtype Mem_Array is char_array (size_t);
type Mem_Ptr is access Mem_Array;
function To_Memptr is
... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_1129_479.asm | ljhsiun2/medusa | 9 | 102914 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x14691, %rsi
lea addresses_normal_ht+0x63d1, %rdi
nop
nop
and $65189, %r14
mov $83, %rcx
rep movsl
add %rbx, %rbx
lea addresses_normal_ht+0x8ab1, %rsi
lea addresses_WT_ht+0x11... |
programs/oeis/168/A168103.asm | neoneye/loda | 22 | 160032 | <filename>programs/oeis/168/A168103.asm<gh_stars>10-100
; A168103: a(n) = sum of natural numbers m such that n - 4 <= m <= n + 4.
; 10,15,21,28,36,45,54,63,72,81,90,99,108,117,126,135,144,153,162,171,180,189,198,207,216,225,234,243,252,261,270,279,288,297,306,315,324,333,342,351,360,369,378,387,396,405,414,423,432,441,... |
char.agda | logicshan/IAL | 0 | 8314 | <filename>char.agda
module char where
open import bool
open import nat
open import eq
open import product
open import product-thms
----------------------------------------------------------------------
-- datatypes
----------------------------------------------------------------------
postulate
char : Set
{-# BUI... |
programs/oeis/070/A070699.asm | karttu/loda | 1 | 89381 | ; A070699: a(n) = n^7 mod 17.
; 0,1,9,11,13,10,14,12,15,2,5,3,7,4,6,8,16,0,1,9,11,13,10,14,12,15,2,5,3,7,4,6,8,16,0,1,9,11,13,10,14,12,15,2,5,3,7,4,6,8,16,0,1,9,11,13,10,14,12,15,2,5,3,7,4,6,8,16,0,1,9,11,13,10,14,12,15,2,5,3,7,4,6,8,16,0,1,9,11,13,10,14,12,15,2,5,3,7,4,6,8,16,0,1,9,11,13,10,14,12,15,2,5,3,7,4,6,8,16,0... |
kill.asm | snowman789/xv6_scheduler | 0 | 177291 |
_kill: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char **argv)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 ... |
programs/oeis/240/A240443.asm | neoneye/loda | 22 | 179407 | <filename>programs/oeis/240/A240443.asm<gh_stars>10-100
; A240443: Maximal number of points that can be placed on an n X n square grid so that no four of them are vertices of a square with any orientation.
; 1,3,6,10,15,21,27,34,42,50
mov $1,3
mul $1,$0
add $1,16
mul $1,$0
add $1,16
add $1,$0
div $1,8
sub $1,1
mov $0,... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_21829_237.asm | ljhsiun2/medusa | 9 | 179636 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x19208, %r15
nop
nop
nop
and $24342, %rbp
movb (%r15), %bl
mfence
lea addresses_normal_ht+0xf8b4, %rsi
lea addresses_A_ht+0xe2e8, %rdi
clflush (%rsi)
nop
nop
nop
nop
sub %... |
oeis/241/A241478.asm | neoneye/loda-programs | 11 | 240900 | <gh_stars>10-100
; A241478: a(n) = 4^n*(n/4 + binomial(n-1/2, -1/2)).
; Submitted by <NAME>(s4)
; 1,3,14,68,326,1532,7068,32104,143942,638444,2806196,12239768,53035804,228504408,979640696,4181649360,17780949574,75348050252,318312780612,1341015321784,5635404667700,23628002057736,98861122208008,412853709749168,1721097463... |
oeis/041/A041880.asm | neoneye/loda-programs | 11 | 242406 | ; A041880: Numerators of continued fraction convergents to sqrt(462).
; Submitted by <NAME>(w1)
; 21,43,1827,3697,157101,317899,13508859,27335617,1161604773,2350545163,99884501619,202119548401,8588905534461,17379930617323,738545991462027,1494471913541377,63506366360199861,128507204633941099,5460808960985726019,11050125... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_f_chdir.asm | Toysoft/z88dk | 0 | 87089 | ; unsigned char esx_f_chdir(unsigned char *pathname)
SECTION code_esxdos
PUBLIC esx_f_chdir
EXTERN asm_esx_f_chdir
defc esx_f_chdir = asm_esx_f_chdir
|
File and Folder Actions/OpenFileWhenConnected.applescript | rogues-gallery/applescript | 360 | 3660 | --- open a file when you regain an internet connection on your computer
--- the script will stay open and ping google until a connection has been established
set _choisir to button returned of (display dialog "Choose a file to open when you regain an internet connection" with icon note buttons {"OK", "Nevermind"} def... |
cs61/lab_template.asm | bmoya217/ucr | 0 | 242686 | <filename>cs61/lab_template.asm
;===============================================================================
; Name: <NAME>
; Username: <EMAIL>
;
; Lab: lab 9.1
; Lab section: 021
; TA: <NAME>
;
;===============================================================================
.Orig x3000
;Instructions
LD R6, POIN... |
test/asset/Test.agda | erydo/agda-mode | 58 | 5972 | <filename>test/asset/Test.agda
{-# OPTIONS --without-K #-}
module Test where
open import Level
infixl 4 _≡_
data _≡_ {a} {A : Set a} (x : A) : A → Set a where
refl : x ≡ x
J : {a b : Level} (A : Set a) (C : (x y : A) → x ≡ y → Set b)
→ ((x : A) → C x x refl)
→ (x y : A) (P : x ≡ y)
→ C x y P
J A C b ... |
rtas/examples/example1.adb | erlingrj/ktc | 0 | 25937 | <filename>rtas/examples/example1.adb<gh_stars>0
with Ada.Text_Io; use Ada.Text_Io;
package body Example1 is
procedure Sense is
begin
for I in Integer range 1 .. 1000000000 loop
Put("");
end loop;
Put_Line ("Sense end");
end Sense;
procedure Handle_Deadline is
begin
Put_Line ("Deadline Ov... |
programs/oeis/053/A053638.asm | neoneye/loda | 22 | 87561 | ; A053638: a(n) = ceiling(2^n/n).
; 2,2,3,4,7,11,19,32,57,103,187,342,631,1171,2185,4096,7711,14564,27595,52429,99865,190651,364723,699051,1342178,2581111,4971027,9586981,18512791,35791395,69273667,134217728,260301049,505290271,981706811,1908874354,3714566311,7233629131,14096302921,27487790695,53634713551,104715393122,... |
libsrc/_DEVELOPMENT/math/float/math32/lm32/z80/asm_dneg.asm | jpoikela/z88dk | 640 | 161764 | <filename>libsrc/_DEVELOPMENT/math/float/math32/lm32/z80/asm_dneg.asm<gh_stars>100-1000
; float _negf (float number) __z88dk_fastcall
SECTION code_clib
SECTION code_fp_math32
PUBLIC asm_dneg
EXTERN m32_fsneg
; negate DEHL'
;
; enter : DEHL'= double x
;
; exit : DEHL'= -x
;
; uses :
.asm_dn... |
src/getters/getter-file.adb | python36/0xfa | 0 | 23329 | package body getter.file is
procedure close is
begin
ada.text_io.close(current_ptr.all);
free(current_ptr);
files_stack.delete_last;
if not files_stack_t.is_empty(files_stack) then
current_ptr := files_stack_t.last_element(files_stack).descriptor;
current_line := files_stack_t.last_eleme... |
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sdcc/SMS_updateSpritePosition_callee.asm | jpoikela/z88dk | 640 | 93510 | <gh_stars>100-1000
; void SMS_updateSpritePosition(signed char sprite, unsigned char x, unsigned char y)
SECTION code_clib
SECTION code_SMSlib
PUBLIC _SMS_updateSpritePosition_callee
EXTERN asm_SMSlib_updateSpritePosition
_SMS_updateSpritePosition_callee:
pop hl
pop de
ld c,d
dec sp
ex (sp),hl
ld... |
programs/oeis/048/A048508.asm | neoneye/loda | 22 | 85427 | <gh_stars>10-100
; A048508: a(n) = T(3,n), array T given by A048505.
; 1,17,58,160,408,1000,2392,5624,13048,29944,68088,153592,344056,765944,1695736,3735544,8191992,17891320,38928376,84410360,182452216,393215992,845152248,1811939320,3875536888,8271167480,17616076792,37446746104,79456894968,168309030904,355945414648,751... |
vbox/src/VBox/Runtime/common/time/timesupA.asm | Nurzamal/rest_api_docker | 0 | 170394 | <filename>vbox/src/VBox/Runtime/common/time/timesupA.asm<gh_stars>0
; $Id: timesupA.asm 69219 2017-10-24 15:01:30Z vboxsync $
;; @file
; IPRT - Time using SUPLib, the Assembly Implementation.
;
;
; Copyright (C) 2006-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available ... |
Semana 14/FlujoCaja/FlujoCaja.g4 | ItsJavito/Repo-LP-Ulima-601 | 0 | 7307 | <filename>Semana 14/FlujoCaja/FlujoCaja.g4
grammar FlujoCaja;
// Seccion 1 : Gramatica libre de contexto
@parser::members{
int montoCaja = 0;
}
root: apertura operacion* EOF
{
System.out.println("\n\nEl monto final es : " + montoCaja);
};
apertura : MONTO FIN_SENTENCIA
{
montoCaja = In... |
out/Lens/Syntax.agda | JoeyEremondi/agda-soas | 39 | 11004 | {-
This second-order term syntax was created from the following second-order syntax description:
syntax Lens | L
type
S : 0-ary
A : 0-ary
term
get : S -> A
put : S A -> S
theory
(PG) s : S a : A |> get (put (s, a)) = a
(GP) s : S |> put (s, get(s)) = s
(PP) s : S a b : A |> put ... |
samples/client/petstore/ada/src/samples.ads | matthias-schoeneich/swagger-codegen | 2 | 21297 | <reponame>matthias-schoeneich/swagger-codegen<gh_stars>1-10
package Samples is
end Samples; |
programs/oeis/101/A101870.asm | karttu/loda | 0 | 104229 | ; A101870: Row 3 of A101866.
; 13,26,34,47,60,68,81,89,102,115,123,136,149,157,170,178,191,204,212,225,233,246,259,267,280,293,301,314,322,335,348,356,369,382,390,403,411,424,437,445,458,466,479,492,500,513,526,534,547,555,568,581,589,602,610,623
mov $3,$0
mov $7,$0
add $7,1
lpb $7,1
mov $0,$3
sub $7,1
sub $0,$7... |
scripts/safarizonesecrethouse.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 169054 | <reponame>etdv-thevoid/pokemon-rgb-enhanced<filename>scripts/safarizonesecrethouse.asm<gh_stars>1-10
SafariZoneSecretHouseScript:
jp EnableAutoTextBoxDrawing
SafariZoneSecretHouseTextPointers:
dw SafariZoneSecretHouseText1
SafariZoneSecretHouseText1:
TX_ASM
CheckEvent EVENT_GOT_HM03
jr nz, .asm_20a9b
ld hl, Saf... |
oeis/289/A289212.asm | neoneye/loda-programs | 11 | 105154 | ; A289212: a(n) = n! * Laguerre(n,-6).
; Submitted by <NAME>
; 1,7,62,654,7944,108696,1649232,27422352,495057024,9631281024,200682406656,4455296877312,104921038236672,2610989435003904,68430995893131264,1883330926998829056,54286270223002140672,1635031821385383247872,51347572582353094508544,1678195310912318891556864,5698... |
dv3/dv3/usep.asm | olifink/smsqe | 0 | 170855 | ; DV3 USE (prc interface) V3.00 1986 <NAME> QJUMP
section exten
xdef dv3_usep
include 'dev8_dv3_keys'
include 'dev8_keys_err'
;+++
; This is the model of the procedure RAM_USE, FLP_USE etc.
;
; XXX_USE yyy or XXX_USE
;
; a1 c p parameter list
; a2 c p thing linkage
;
; status return standard
;---
dv3... |
programs/oeis/088/A088578.asm | neoneye/loda | 22 | 28900 | ; A088578: a(n) = n*x^n + (n-1)*x^(n-1) + . . . + x + 1 for x=2.
; 1,3,11,35,99,259,643,1539,3587,8195,18435,40963,90115,196611,425987,917507,1966083,4194307,8912899,18874371,39845891,83886083,176160771,369098755,771751939,1610612739,3355443203,6979321859,14495514627,30064771075,62277025795,128849018883,266287972355,54... |
src/HasTrace.agda | boystrange/FairSubtypingAgda | 4 | 4002 | <reponame>boystrange/FairSubtypingAgda
-- MIT License
-- Copyright (c) 2021 <NAME> and <NAME>
-- Permission is hereby granted, free of charge, to any person
-- obtaining a copy of this software and associated documentation
-- files (the "Software"), to deal in the Software without
-- restriction, including without li... |
alloy4fun_models/trainstlt/models/5/aB2NLTmBSDS9tWGMp.als | Kaixi26/org.alloytools.alloy | 0 | 5262 | open main
pred idaB2NLTmBSDS9tWGMp_prop6 {
always all s : Signal | always (s in Green implies s' not in Green) or
always (s not in Green implies s' in Green)
}
pred __repair { idaB2NLTmBSDS9tWGMp_prop6 }
check __repair { idaB2NLTmBSDS9tWGMp_prop6 <=> prop6o } |
test/Fail/Issue1023-MaskNonData.agda | KDr2/agda | 0 | 5584 | -- Andreas, 2014-01-10
-- Code by <NAME> and <NAME> and folks from the Coq-club
{-# OPTIONS --cubical-compatible #-}
-- An empty type.
data Zero : Set where
-- A unit type as W-type.
mutual
data WOne : Set where wrap : FOne -> WOne
FOne = Zero -> WOne
-- Type equality.
data _<->_ (X : Set) : Set -> Set₁ wher... |
core/x86/fixed_stub.asm | mshafiqsb/Amber | 0 | 12817 | ; x86 Reflective Stub Fixed (No relocation)
; Author: <NAME> <<EMAIL>>
; Version: 1.0
;
;#- stub.asm ------------------------------
; ESI = &PE
; RBP = &api.asm
; EBX = image_base
; STACK[0] = address_of_entry
; STACK[1] = image_base
[BITS 32]
[ORG 0]
cld
call stub ; ...
PE:
incbin "Mem.map" ... |
oeis/088/A088955.asm | neoneye/loda-programs | 11 | 175311 | <reponame>neoneye/loda-programs<filename>oeis/088/A088955.asm
; A088955: Primes of the form 60*n + 1.
; Submitted by <NAME>
; 61,181,241,421,541,601,661,1021,1201,1321,1381,1621,1741,1801,1861,2161,2221,2281,2341,2521,3001,3061,3121,3181,3301,3361,3541,4021,4201,4261,4441,4561,4621,4801,4861,5101,5281,5521,5581,5641,57... |
45/runtime/rt/hexoct.asm | minblock/msdos | 0 | 15779 | TITLE HEXOCT - OCT, HEX functions
;***
; HEXOCT - OCT, HEX functions
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
;
; BASIC Syntax mapping to included runtime entry points:
;
;
; - HEX$ Function - calls B$FHEX with 4-byte integer parm.
;
; v$ = HEX$(n)
; |
; B$FHEX
;
;
; - OCT$ Function - calls... |
software/modules/estimator.ads | TUM-EI-RCS/StratoX | 12 | 25643 | -- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
-- Module: Estimator
--
-- Authors: <NAME> (<EMAIL>)
--
-- Description: Estimates state data like orientation and velocity
--
-- ToDo:
-- [ ] Implementation
with Units; use Units;
with Units.Ve... |
old/old 2/kernel.asm | Mishin870/MOS | 1 | 171391 | <reponame>Mishin870/MOS<gh_stars>1-10
NEWLLEN = 5
org 500h ;этот сектор будет загружаться по адресу 0000:0500h
message:
mov ax, 0002h ;очищаем экран
int 10h
xor dx, dx ;Курсор в 0
mov dh, 1 ;Начальная линия - 1
call SetCursorPos
mov bp, title
mov cx, 24
call PrintMes
inc dh
call SetCursorPos
mov ... |
.build/ada/asis-gela-elements-def_names.adb | faelys/gela-asis | 4 | 18267 |
------------------------------------------------------------------------------
-- Copyright (c) 2006-2013, <NAME>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributio... |
src/logging.ads | kqr/qweyboard | 33 | 11062 | <filename>src/logging.ads
with Unicode_Strings; use Unicode_Strings;
with Ada.Task_Termination;
with Ada.Task_Identification;
with Ada.Exceptions;
package Logging is
type Verbosity_Level is (Log_Error, Log_Warning, Log_Info, Log_Chatty);
task Log is
entry Set_Verbosity
(User_Verbosity : Verbosi... |
Experiment/Applicative.agda | rei1024/agda-misc | 3 | 16706 | -- Applicative with law
{-# OPTIONS --without-K --safe #-}
module Experiment.Applicative where
open import Data.Product as Prod
open import Data.Unit
open import Function.Base
open import Relation.Binary.PropositionalEquality
record Functor (F : Set → Set) : Set₁ where
field
fmap : ∀ {A B} → (A → B) → F A →... |
SysCore/Kernel/Debug/DebugDisplay.asm | pmache/heinanos | 0 | 104272 | <filename>SysCore/Kernel/Debug/DebugDisplay.asm<gh_stars>0
; Listing generated by Microsoft (R) Optimizing Compiler Version 14.00.50727.42
TITLE c:\Documents and Settings\Michael\Desktop\bte_lighter\Demos\Demo_8_new\SysCore\Kernel\DebugDisplay.cpp
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB LIBCMT
INC... |
libsrc/_DEVELOPMENT/string/z80/asm_strrev.asm | meesokim/z88dk | 0 | 13654 | <reponame>meesokim/z88dk
; ===============================================================
; Dec 2013
; ===============================================================
;
; char *strrev(char *s)
;
; Reverse string in place.
;
; ===============================================================
SECTION code_string
PUBLI... |
bootmgr/stage2/io.asm | avdgrinten/windozz | 1 | 98664 |
; The Windozz Project
; Copyright (C) 2018-2019 by the Windozz authors.
bits 16
print:
pusha
.loop:
lodsb
cmp al, 0
je .done
cmp al, 10
je .newline
mov ah, 0x0E
int 0x10
jmp .loop
.newline:
mov ah, 0x0E
mov al, 13
int 0x10
mov ah, 0x0E
mov al, 10
int 0x10... |
src/sets/nat/ordering/leq/alternative.agda | pcapriotti/agda-base | 20 | 3577 | module sets.nat.ordering.leq.alternative where
open import equality.core
open import equality.calculus
open import function.isomorphism
open import hott.equivalence.logical
open import hott.level.core
open import hott.level.sets
open import sets.nat.core
open import sets.nat.properties
open import sets.nat.ordering.le... |
Transynther/x86/_processed/US/_ht_/i9-9900K_12_0xca.log_21829_225.asm | ljhsiun2/medusa | 9 | 2562 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x9268, %rdi
nop
nop
nop
cmp %r8, %r8
vmovups (%rdi), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $0, %xmm3, %r9
nop
nop
add %r12, %r12
lea addresses_A_ht+0xd7e8, %rax
... |
Testing Scripts/Hard Drive Test/Source/Extract Info from DriveDx Report.applescript | freegeek-pdx/macOS-Testing-and-Deployment-Scripts | 0 | 4674 | <filename>Testing Scripts/Hard Drive Test/Source/Extract Info from DriveDx Report.applescript
-- By: <NAME>
-- For: MacLand @ Free Geek
--
-- MIT License
--
-- Copyright (c) 2021 Free Geek
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation fi... |
oeis/109/A109940.asm | neoneye/loda-programs | 11 | 99622 | <reponame>neoneye/loda-programs
; A109940: Largest k-digit multiple of n where k is the number of digits in n.
; Submitted by <NAME>(s1)
; 9,8,9,8,5,6,7,8,9,90,99,96,91,98,90,96,85,90,95,80,84,88,92,96,75,78,81,84,87,90,93,96,99,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,50,51,52,53,54,55,56,57,58,59,60,61,62,63,6... |
Cubical/Algebra/Group/Construct/Opposite.agda | bijan2005/univalent-foundations | 0 | 12730 | <reponame>bijan2005/univalent-foundations
{-# OPTIONS --cubical --no-import-sorts --safe #-}
open import Cubical.Core.Everything
open import Cubical.Algebra.Group
module Cubical.Algebra.Group.Construct.Opposite {ℓ} (G : Group ℓ) where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Prod using (_,_)
... |
src/sub/r1_init.asm | Iambian/VANISH | 1 | 160821 | <gh_stars>1-10
.ASSUME ADL=1
systemInit:
POP HL \ POP DE \ PUSH DE \ PUSH HL ;GET PRGMPTR IN DE
PUSH IX \ LD A,MB \ PUSH AF
LD A,(rom0_base_adr>>16)&$FF \ LD MB,A
LD.SIS SP,$FFF0
LD (_sistk+1),SP
PUSH DE
CALL screenInit ;INIT LCD EMULATION
LD HL,ramStart ;\
LD BC,$8000 ; > RESET RAM TO A... |
source/numerics/a-nummt1.ads | ytomino/drake | 33 | 30270 | <gh_stars>10-100
pragma License (Unrestricted); -- BSD 3-Clause
-- translated unit from MT19937
--
-- A C-program for MT19937, with initialization improved 2002/1/26.
-- Coded by <NAME> and <NAME>.
--
-- Before using, initialize the state by using init_genrand(seed)
-- or init_by_array(init_key, key_length).
--
--... |
src/main/fragment/mos6502-common/vwum1=pwuz2_derefidx_vbuyy_plus_1.asm | jbrandwood/kickc | 2 | 11100 | <gh_stars>1-10
clc
lda ({z2}),y
adc #1
sta {m1}
iny
lda ({z2}),y
adc #0
sta {m1}+1
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3413b.ada | best08618/asylo | 7 | 5825 | -- CE3413B.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 documentation contained herein.
-- Unlimit... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2.log_30_1690.asm | ljhsiun2/medusa | 9 | 6831 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x15684, %rcx
nop
nop
nop
nop
nop
sub %rax, %rax
mov (%rcx), %edi
nop
cmp $36651, %rdx
lea addresses_UC_ht+0x1a285, %rsi
nop
nop
nop
nop
and $30916, %rax
movups (%rsi), %xmm4
vp... |
oeis/104/A104721.asm | neoneye/loda-programs | 11 | 244886 | ; A104721: Expansion of (1+x)^2/(1-4*x^2).
; 1,2,5,8,20,32,80,128,320,512,1280,2048,5120,8192,20480,32768,81920,131072,327680,524288,1310720,2097152,5242880,8388608,20971520,33554432,83886080,134217728,335544320,536870912,1342177280,2147483648,5368709120,8589934592,21474836480,34359738368,85899345920,137438953472,34359... |
oeis/119/A119580.asm | neoneye/loda-programs | 11 | 11455 | ; A119580: (n^2+n^3)*(binomial(2*n,n)).
; Submitted by <NAME>(s2)
; 0,4,72,720,5600,37800,232848,1345344,7413120,39382200,203231600,1024287264,5062180032,24607819600,117942804000,558423072000,2615901857280,12139419556440,55866532906800,255192804636000
mov $1,$0
add $0,1
mul $1,2
bin $1,$0
mul $1,$0
bin $0,2
mul $1,$0
... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-cgarso.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 16672 | <reponame>JCGobbi/Nucleo-STM32G474RE<filename>bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-cgarso.ads
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS ... |
libsrc/_DEVELOPMENT/math/integer/small/l_small_divu_64_64x8.asm | jpoikela/z88dk | 640 | 9 | <reponame>jpoikela/z88dk
; 2016 aralbrec
SECTION code_clib
SECTION code_math
PUBLIC l_small_divu_64_64x8
PUBLIC l0_small_divu_64_64x8
EXTERN error_llmc, error_divide_by_zero_mc
l_small_divu_64_64x8:
; unsigned division of a 64-bit number
; by an 8-bit number
;
; enter : dehl'dehl = 64-bit dividend
... |
systembuffering.asm | pureforwhite/SystemBuffering | 0 | 21640 | <reponame>pureforwhite/SystemBuffering
;Author:<NAME>
;PURPOSE: use BUFFERED I/O with permissions, proper checks for return statements,
; and learns about the circular buffer all the proper words that match up are then written to a file
; called results.txt
section .data
; system commands
SYSTEM_... |
AAOSL/Abstract/Advancement.agda | VictorCMiraldo/aaosl-agda | 1 | 9547 | {- Formal verification of authenticated append-only skiplists in Agda, version 1.0.
Copyright (c) 2020 Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import Data.Unit.NonEta
open import Data.Empty
open import Data... |
oeis/126/A126930.asm | neoneye/loda-programs | 11 | 178955 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A126930: Inverse binomial transform of A005043.
; 1,-1,2,-3,6,-10,20,-35,70,-126,252,-462,924,-1716,3432,-6435,12870,-24310,48620,-92378,184756,-352716,705432,-1352078,2704156,-5200300,10400600,-20058300,40116600,-77558760,155117520,-300540195,601080390,-1166803110,2333... |
src/qweyboard/qweyboard-languages-parser.ads | kqr/qweyboard | 33 | 26077 | <gh_stars>10-100
private with Unicode_Strings;
private with Ada.Finalization;
private with Logging;
package Qweyboard.Languages.Parser is
-- <language spec> ::= <section> *
-- <section> ::= '.' <section type>
-- <section type> ::= <substitutions> | <keys>
-- <substitutions> ::= <... |
tests/mobs-protomobrecord_test_data-protomobrecord_tests.ads | thindil/steamsky | 80 | 12790 | <gh_stars>10-100
-- This package has been generated automatically by GNATtest.
-- Do not edit any part of it, see GNATtest documentation for more details.
-- begin read only
with GNATtest_Generated;
package Mobs.ProtoMobRecord_Test_Data.ProtoMobRecord_Tests is
type Test_ProtoMobRecord is new GNATtest_Generated... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_60.asm | ljhsiun2/medusa | 9 | 246915 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x14b5c, %r11
clflush (%r11)
nop
nop
xor $7968, %r13
movw $0x6162, (%r11)
nop
nop
nop
inc %rbp
lea addresses_UC_ht+0xea5c, %rsi
lea addresses_normal_ht+0x14bdc, %rdi
nop
nop
x... |
project/adl/components/src/io_expander/MCP23xxx/mcp23x08.adb | corentingay/ada_epita | 2 | 28962 | <reponame>corentingay/ada_epita
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- ... |
oeis/097/A097769.asm | neoneye/loda-programs | 11 | 161424 | ; A097769: Pell equation solutions (12*a(n))^2 - 145*b(n)^2 = -1 with b(n):=A097770(n), n >= 0.
; Submitted by <NAME>
; 1,579,334661,193433479,111804216201,64622643530699,37351776156527821,21589261995829549839,12478556081813323279121,7212583826026105025782099,4168860972887006891578774101,2409594429744863957227505648279... |
source/tasking/a-astaco.ads | ytomino/drake | 33 | 16031 | <reponame>ytomino/drake<filename>source/tasking/a-astaco.ads<gh_stars>10-100
pragma License (Unrestricted);
-- with Ada.Task_Identification;
package Ada.Asynchronous_Task_Control is
pragma Preelaborate;
-- procedure Hold (T : Task_Identification.Task_Id);
-- procedure Continue (T : Task_Identification.Task_Id);
... |
AppleScript/openQnA.scpt | jgstew/tools | 17 | 4617 | <gh_stars>10-100
-- http://www-01.ibm.com/support/docview.wss?uid=swg21506026
-- https://github.com/jgstew/tools/blob/master/bash/openQnA.sh
-- http://alvinalexander.com/blog/post/mac-os-x/applescript-use-comments
tell application "Terminal"
if not (exists window 1) then reopen
activate
do script "/Library/BESAgent/... |
sk/music-optimized/LBZ2.asm | Cancer52/flamedriver | 9 | 102426 | <gh_stars>1-10
Snd_LBZ2_Header:
smpsHeaderStartSong 3, 1
smpsHeaderVoice Snd_LBZ_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $2F
smpsHeaderDAC Snd_LBZ2_DAC
smpsHeaderFM Snd_LBZ2_FM1, $00, $0C
smpsHeaderFM Snd_LBZ2_FM2, $0C, $08
smpsHeaderFM Snd_LBZ2_FM3, $00, $0C... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.