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 |
|---|---|---|---|---|
llvm-gcc-4.2-2.9/gcc/ada/sem_elim.ads | vidkidz/crossbridge | 1 | 25649 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
codigo/capitulo 32/for.asm | Nabucodonosor-editorial/ensamblador-x86 | 2 | 83845 | <filename>codigo/capitulo 32/for.asm
segment .data
textosuma db 0xA,0xD,"El resultado de la sumatoria es: "
lentextosuma equ $- textosuma
saltodelinea db 0xA,0xD
lensaltodelinea equ $- saltodelinea
segment .bss
sumatoria resb 1
section .text
global _start
_start:
mov eax, 0 ;sera nuestro acum... |
programs/oeis/134/A134919.asm | neoneye/loda | 22 | 24912 | <reponame>neoneye/loda
; A134919: Floor(n^(5/3)).
; 1,3,6,10,14,19,25,32,38,46,54,62,71,81,91,101,112,123,135,147,159,172,186,199,213,228,243,258,273,289,305,322,339,356,374,392,410,429,448,467,487,507,527,548,569,590,612,633,656,678,701,724,747,771,795,819,844,869,894,919,945,971,997,1024,1050,1077,1105,1132,1160,1188... |
basico/le_caracter.asm | sergiolmm/LM | 0 | 161941 | .MODEL small
.STACK 100h
.DATA
mensagem DB 'Digite algo', 13, 10,'$'
buffer BYTE 100 DUP(0)
.CODE
mov ax,@data
mov ds,ax
mov dx, OFFSET mensagem ; escreve uma frase na tela
mov ah,9 ; a frase deve terminar com $
int 21h ; funcao ah=9 da int 21h
... |
programs/oeis/028/A028724.asm | neoneye/loda | 22 | 82005 | ; A028724: a(n) = (1/2)*floor(n/2)*floor((n-1)/2)*floor((n-2)/2).
; 0,0,0,0,1,2,6,9,18,24,40,50,75,90,126,147,196,224,288,324,405,450,550,605,726,792,936,1014,1183,1274,1470,1575,1800,1920,2176,2312,2601,2754,3078,3249,3610,3800,4200,4410,4851,5082,5566,5819,6348,6624,7200,7500,8125,8450,9126,9477,10206,10584,11368,117... |
statics-all.agda | hazelgrove/hazelnut-agda | 0 | 15340 | <reponame>hazelgrove/hazelnut-agda
-- basic stuff: core definitions, etc
open import statics-core
open import statics-checks
open import judgemental-erase
open import moveerase
open import examples
-- first wave theorems
open import sensibility
open import aasubsume-min
open import determinism
-- second wave theorems... |
programs/oeis/120/A120171.asm | karttu/loda | 0 | 2777 | ; A120171: a(1)=2; a(n)=floor((11+sum(a(1) to a(n-1)))/5).
; 2,2,3,3,4,5,6,7,8,10,12,14,17,20,24,29,35,42,50,60,72,87,104,125,150,180,216,259,311,373,448,537,645,774,929,1114,1337,1605,1926,2311,2773,3328,3993,4792,5750,6900,8280,9936,11923,14308,17170,20604,24724,29669
add $0,1
mov $2,$0
mov $3,1
lpb $2,1
mov $0,$3... |
Cubical/Foundations/HoTT-UF.agda | limemloh/cubical | 0 | 13066 | <filename>Cubical/Foundations/HoTT-UF.agda
{-
This is a HoTT-UF core library based on cubical type theory, where the
cubical machinery is hidden, using the HoTT Book terminology and
notation.
The point is that function extensionality, propositional truncation
and univalence compute (an example is given below).
For t... |
branch8_test/branch8_immed_y_test.asm | nealvis/nv_c64_util_test | 0 | 170335 | //////////////////////////////////////////////////////////////////////////////
// branch8_immed_y_test.asm
// Copyright(c) 2021 <NAME>.
// License: MIT. See LICENSE file in root directory.
//////////////////////////////////////////////////////////////////////////////
// This program demonstrates and tests the 8bit bran... |
atlatl/zstr.asm | richRemer/atlatl | 0 | 242547 | <reponame>richRemer/atlatl
global zstr.len
global zstr.lenq
global zstr.eachq
%include "util.inc"
section .text
; zstr.len(RAX) => RAX
; calculate length of null-terminated string
zstr.len: ; zstr.len(ptr) => length
prsv rcx, rdi ; preserve
mov rdi, rax ; beginning of ... |
programs/oeis/047/A047518.asm | karttu/loda | 1 | 168125 | ; A047518: Numbers that are congruent to {2, 3, 4, 6, 7} mod 8.
; 2,3,4,6,7,10,11,12,14,15,18,19,20,22,23,26,27,28,30,31,34,35,36,38,39,42,43,44,46,47,50,51,52,54,55,58,59,60,62,63,66,67,68,70,71,74,75,76,78,79,82,83,84,86,87,90,91,92,94,95,98,99,100,102,103,106,107,108,110,111,114,115,116,118,119,122,123,124,126,127,1... |
Template_project/main.a51 | kissa96/Ultimate-8051-ASM-template-project | 0 | 98560 | <filename>Template_project/main.a51
/*
MIT License
Copyright (c) 2021 <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 limitation the rights
to use, co... |
src/gl/implementation/gl-enums.ads | Roldak/OpenGLAda | 79 | 20337 | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with GL.Toggles;
with GL.Low_Level;
private package GL.Enums is
pragma Preelaborate;
type Attribute_Mask is record
Depth_Buffer : Boolean;
Stencil_Buffer : Boolean;
Color_Buffer ... |
programs/oeis/339/A339370.asm | neoneye/loda | 22 | 247746 | ; A339370: a(n) = Sum_{k=1..floor(n/2)} (n-k) * floor((n-k)/k).
; 0,1,4,11,19,36,50,76,102,138,165,227,262,318,381,460,510,614,672,791,889,990,1064,1249,1353,1477,1610,1790,1891,2133,2244,2455,2626,2798,2983,3312,3452,3649,3857,4198,4356,4715,4883,5190,5514,5763,5949,6446,6686,7045
mov $6,2
lpb $6
add $2,3
gcd $6,... |
test/rv32f_test12.asm | kojad666/Vulcan | 102 | 1269 | <filename>test/rv32f_test12.asm
addi x10, x0, 10
addi x11, x0, 5
addi x12, x0, 6
addi x13, x0, 2
fcvt.s.w f0, x10
fcvt.s.w f1, x11
fcvt.s.w f2, x12
fcvt.s.w f3, x13
fdiv.s f20, f1, f0 # f20 = 0.5
fdiv.s f21, f2, f0 # f21 = 0.6
fdiv.s f22, f2, f1 # f22 = 1.2
fadd.s f23, f20, f21 # f23 = 1.1
fadd.s f23, f23, f23 # f23 =... |
Day-14/Intro_To_Procedure.asm | MasumBhai/50-Day-challenge-with-Assembly-Language | 1 | 94283 | <filename>Day-14/Intro_To_Procedure.asm
;Day 14 Date-24 april,2021
;in every code - i will try to use $ for procedure and @ for label
;To call a procedure - call procedure_name
;To create procedure - procedure_name proc
;N.B - ret must be used every end of procedure
.model small
.stack 100h
include... |
oeis/153/A153884.asm | neoneye/loda-programs | 11 | 163083 | ; A153884: a(n) = ((7 + sqrt(5))^n - (7 - sqrt(5))^n)/(2*sqrt(5)).
; Submitted by <NAME>
; 1,14,152,1512,14480,136192,1269568,11781504,109080064,1008734720,9322763264,86134358016,795679428608,7349600247808,67884508610560,627000709644288,5791091556155392,53487250561826816,494013479394738176,4562749686805954560,421419025... |
programs/oeis/047/A047532.asm | karttu/loda | 0 | 102313 | <reponame>karttu/loda<gh_stars>0
; A047532: Numbers that are congruent to {0, 2, 3, 7} mod 8.
; 0,2,3,7,8,10,11,15,16,18,19,23,24,26,27,31,32,34,35,39,40,42,43,47,48,50,51,55,56,58,59,63,64,66,67,71,72,74,75,79,80,82,83,87,88,90,91,95,96,98,99,103,104,106,107,111,112,114,115,119,120,122,123
add $0,5
lpb $0,1
mov $1,... |
dv3/atari/fd/select.asm | olifink/smsqe | 0 | 170585 | ; DV3 Atari Floppy Disk Select Drive 1998 <NAME>
section fd
xdef fd_select ; select drive (and side)
xdef fd_reset ; reset / reselect (null)
xdef fd_selside ; select drive / side
xdef fd_selside0 ; select drive / side 0
xdef fd_newdensity ; re-select with new density
xdef fd_deselect ; deselect
xr... |
libsrc/math/daimath32/c/asm/___dai32_xexp.asm | ahjelm/z88dk | 640 | 84699 | <filename>libsrc/math/daimath32/c/asm/___dai32_xexp.asm<gh_stars>100-1000
SECTION code_fp_dai32
PUBLIC ___dai32_xexp
EXTERN xexp
defc ___dai32_xexp = xexp
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_621.asm | ljhsiun2/medusa | 9 | 29994 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x18679, %rdi
nop
nop
nop
nop
add $20680, %rbp
mov $0x6162636465666768, %rcx
movq %rcx, (%rdi)
nop
nop
nop
sub $52165, %rdi
lea addresses_UC_ht+0xc529, %rsi
lea addre... |
test/Succeed/Issue2203.agda | cruhland/agda | 1,989 | 1589 | <reponame>cruhland/agda<filename>test/Succeed/Issue2203.agda
open import Agda.Builtin.List
open import Agda.Builtin.Reflection
open import Agda.Builtin.Unit
open import Agda.Builtin.Nat
-- setup
infixl 5 _>>=_
_>>=_ = bindTC
defToTerm : Name → Definition → List (Arg Term) → Term
defToTerm _ (function cs) as = pat-l... |
programs/oeis/092/A092521.asm | neoneye/loda | 22 | 29443 | ; A092521: a(n) = 8*a(n-1) - 8*a(n-2) + a(n-3).
; 1,8,56,385,2640,18096,124033,850136,5826920,39938305,273741216,1876250208,12860010241,88143821480,604146740120,4140883359361,28382036775408,194533374068496,1333351581704065,9138927697859960,62639142303315656,429335068425349633,2942706336674131776,20169609288293572800,13... |
src/kernel/tss.asm | bbworld1/egg-kernel | 8 | 90467 | ; TSS code
; The TSS itself is created in C (tss.c)
%include "constants.asm"
; Symbols
GLOBAL installTSS
; Make CPU aware of the TSS
; For some godawful reason, on x86 the LTR instruction takes a selector,
; ...so a GDT entry has to be reserved for the TSS.
installTSS:
mov ax, TSS_SEG
ltr ax
ret |
src/stars/tests/tests/preprocess/eqvTest.asm | kevintmcdonnell/stars | 9 | 104888 | .data
.eqv word "hello"
.asciiz word
.asciiz " word " # word
.text
main:
li $t0, 0
li $v0, 30
li $a0, 0x10010000
li $a1, 0x10010010
syscall |
test/interaction/Issue641.agda | cruhland/agda | 1,989 | 2443 | <filename>test/interaction/Issue641.agda
module Issue641 where
Foo : Set
Foo = Set
|
tests/testdata/tbuilder-in-23-bad.asm | roycrippen/sicxe | 0 | 97907 | test START 0
EXTDEF foo
foo +ADD #10
EXTREF baz
EXTDEF foo, bar, bar, baz . warning: duplicate export, error: export imported
END test
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_475_1338.asm | ljhsiun2/medusa | 9 | 8136 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x15b2b, %rbx
nop
add $10812, %r10
mov (%rbx), %eax
nop
nop
xor %r14, %r14
lea addresses_D_ht+0x1302b, %r15
nop
nop
nop
nop
cmp %r14, %r14
mov (%r15), %ecx
nop
nop
n... |
oeis/133/A133326.asm | neoneye/loda-programs | 11 | 88244 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A133326: Numbers n such that 2*n^2 + 41 is a square.
; Submitted by <NAME>(s1)
; 2,8,20,50,118,292,688,1702,4010,9920,23372,57818,136222,336988,793960,1964110,4627538,11447672,26971268,66721922,157200070,388883860,916229152,2266581238,5340174842,13210603568,31124819900,... |
oeis/205/A205824.asm | neoneye/loda-programs | 11 | 19946 | ; A205824: (3n)!/[3n*n!*(n+1)!]
; Submitted by <NAME>
; 1,10,280,13860,1009008,98017920,11972188800,1766895530400,306261891936000,61040779261862400,13761921142674432000,3464298995338621440000,963455812901426718720000,293441113300834537758720000
mov $2,$0
seq $0,319578 ; a(n) = (1/3)*(n+2)^2*(3*n+3)!/(n+2)!^3.
lpb $2
... |
libsrc/math/genmath/sin.asm | andydansby/z88dk-mk2 | 1 | 173890 | ; Small C+ Maths Routines
;
; transcendental floating point routines
;
XLIB sin
LIB hlsub
LIB hladd
LIB addhalf
LIB evenpol
LIB floor
LIB pushfa
LIB ldfabc
LIB fsub
LIB sgn
... |
source/asis/asis-gela-replace.adb | faelys/gela-asis | 4 | 25218 | ------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
programs/oeis/239/A239031.asm | jmorken/loda | 1 | 16316 | ; A239031: Number of 4 X n 0..2 arrays with no element equal to the sum of elements to its left or one plus the sum of the elements above it, modulo 3.
; 4,11,28,59,110,189,306,473,704,1015,1424,1951,2618,3449,4470,5709,7196,8963,11044,13475,16294,19541,23258,27489,32280,37679,43736,50503,58034,66385,75614,85781,96948,... |
test/subtest.asm | nagydani/lpfp | 17 | 3205 | ; Iterate through all values of HL >= DE and check FSUBP
ORG $C000
DI
EXX
PUSH HL
LD HL,0
LD E,L
LD D,H
LOOP: PUSH HL
PUSH DE
CALL FSUBP
LD C,L
LD B,H
POP DE
POP HL
PUSH HL
PUSH BC
PUSH DE
EX DE,HL
CALL STKFP
POP DE
PUSH DE
CALL STKFP
POP DE
POP BC
PUSH DE
PUSH BC
RST $28
DEFB $03,$38
CALL ... |
file_system/hfsPathForParent.applescript | adriannier/applescript-functions | 7 | 1936 | (*
Returns the HFS path of the parent for the specified path
*)
hfsPathForParent(path to me as text)
on hfsPathForParent(anyPath)
-- Convert path to text
set anyPath to anyPath as text
-- Remove quotes
if anyPath starts with "'" and anyPath ends with "'" then
set anyPath to text 2 thru -2 of anyPath
end i... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_289.asm | ljhsiun2/medusa | 9 | 81605 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_289.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xab7e, %rsi
lea addresses_D_ht+0x3e4e, %rdi
nop
add %rax, %rax
mov $74, %rcx
rep movsl
sub $49... |
hookflash-core/webRTC/webRTC_ios/third_party/libvpx/source/config/mac/ia32/asm_enc_offsets.asm | ilin-in/OP | 1 | 173636 | vp8_block_coeff EQU 4
vp8_block_zbin EQU 20
vp8_block_round EQU 28
vp8_block_quant EQU 8
vp8_block_quant_fast EQU 12
vp8_block_zbin_extra EQU 32
vp8_block_zrun_zbin_boost EQU 24
vp8_block_quant_shift EQU 16
vp8_blockd_qcoeff EQU 0
vp8_blockd_dequant EQU 12
vp8_blockd_dqcoeff EQU 4
vp8_blockd_eob EQU 20
vp8_block_base_s... |
src/io.asm | vzwGrey/meiji-os | 2 | 665 | ; ---
;
; This file contains various subroutines for interacting with the screen
; as well as reading input from it.
;
; The print subroutines are in a separate file (print.asm) so they can be loaded
; by the first stage of the bootloader without having to load everything else with it.
;
; ---
%define KEY_BACKSPACE 0x... |
alloy4fun_models/trashltl/models/10/t5FQYc9cwFPghWosH.als | Kaixi26/org.alloytools.alloy | 0 | 4963 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idt5FQYc9cwFPghWosH_prop11 {
after File in Protected
}
pred __repair { idt5FQYc9cwFPghWosH_prop11 }
check __repair { idt5FQYc9cwFPghWosH_prop11 <=> prop11o } |
oeis/160/A160140.asm | neoneye/loda-programs | 11 | 9383 | <reponame>neoneye/loda-programs
; A160140: Numerator of Hermite(n, 13/27).
; Submitted by <NAME>
; 1,26,-782,-96148,920620,584671256,8490132856,-4893960693232,-213893273952368,51521932403096480,4146277783283481376,-643386552071776162624,-83226053442166654536512,9092813725551462723320192,1813879773807164800891373440,-13... |
libsrc/_DEVELOPMENT/math/float/math16/c/sdcc/cm16_sdcc___lt.asm | ahjelm/z88dk | 640 | 4657 |
SECTION code_fp_math16
PUBLIC cm16_sdcc___lt
EXTERN cm16_sdcc_readr
EXTERN asm_f16_compare
; Entry: stack: half right, half left, ret
.cm16_sdcc___lt
call asm_f16_compare
ret C
dec hl
ret
|
somma_vettore_di_float.asm | lorenzocamilli/assembly-mips-esercizi | 0 | 99635 | #Programma MIPS hce crea un vettore di float presi input
#calcola la somma degli elementi inseriti e stampa il vettore
.text
.globl main
main:
la $a0, s1
li $v0, 4 #messaggio per l'utente
syscall
li $v0, 5
syscall #prende in input la lunghezza del vettore
move $t0, $v0
ciclo:
mul $t2, $t1, 4 #moltiplica per... |
Lab2/Lab2 Solution/supporting_files/Solution Programs/descending.asm | Smile040501/Processor_Simulator_for_ToyRISC_ISA | 1 | 86547 | .data
a:
70
80
40
20
10
30
50
60
n:
8
.text
main:
load %x0, $n, %x3
subi %x0, 1, %x30
addi %x0, 1, %x4
loop1:
beq %x3, %x4, success1
subi %x4, 1, %x5
load %x4, $a, %x6
loop2:
beq %x5, %30, success2
load %x5, $a, %x7
beq %x7, %x6, success2
bgt %x7, %x6, success2
addi %x5, 1, %x8
store %x7, $a, %x8... |
a3.agda | felixwellen/adventOfCode | 0 | 13746 | <reponame>felixwellen/adventOfCode<filename>a3.agda
{-
Day 3, 1st part
-}
module a3 where
open import Agda.Builtin.IO using (IO)
open import Agda.Builtin.Unit using (⊤)
open import Agda.Builtin.String using (String; primShowNat)
open import Agda.Builtin.Equality
open import Data.Nat
open import Data.Bool
open impor... |
src/tools/page2htm.adb | spr93/whitakers-words | 204 | 22411 | <gh_stars>100-1000
-- 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 Copyrighted
-... |
src/firmware-tests/Platform/Motor/Initialisation/FlagsTest.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 88482 | #include "Platform.inc"
#include "FarCalls.inc"
#include "Motor.inc"
#include "TestFixture.inc"
radix decimal
FlagsTest code
global testArrange
testArrange:
testAct:
fcall initialiseMotor
testAssert:
banksel motorFlags
.aliasLiteralForAssert (1 << MOTOR_FLAG_PREVENT_OVERLOAD), _b
.assert "motorFlags == _... |
oeis/296/A296612.asm | neoneye/loda-programs | 11 | 160586 | ; A296612: Square array read by antidiagonals upwards: T(n,k) equals k times the number of compositions (ordered partitions) of n, with n >= 0 and k >= 1.
; Submitted by <NAME>
; 1,1,2,2,2,3,4,4,3,4,8,8,6,4,5,16,16,12,8,5,6,32,32,24,16,10,6,7,64,64,48,32,20,12,7,8,128,128,96,64,40,24,14,8,9,256,256,192,128,80,48,28,16,... |
papers/unraveling-recursion/code/src/Compilation/Term.agda | AriFordsham/plutus | 1,299 | 8972 | <gh_stars>1000+
module Compilation.Term where
open import Context
open import Type.Core
open import Type.NbE
import Term.Core as Core
open import Compilation.Data
open import Compilation.Encode.Core
open import Function
open import Data.Empty
open import Data.Sum.Base
open import Data.List.Base as List
infix 3 _⊢_
... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_97_1162.asm | ljhsiun2/medusa | 9 | 23499 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x81d1, %rsi
nop
add $52210, %r12
mov (%rsi), %r11d
nop
sub $19116, %r12
lea addresses_normal_ht+0x48f2, %r8
nop
nop
nop
nop
sub %r10, %r10
mov (%r8), %si
no... |
oeis/139/A139104.asm | neoneye/loda-programs | 11 | 162983 | ; A139104: Numbers whose binary representation shows the distribution of prime numbers up to the n-th prime, using "0" for primes and "1" for nonprime numbers.
; Submitted by <NAME>(s4)
; 2,4,18,74,1198,4794,76718,306874,4909998,314239934,1256959738,80445423294,1287126772718,5148507090874,82376113453998,527207126105593... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_7307_64.asm | ljhsiun2/medusa | 9 | 6226 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x2548, %rsi
lea addresses_normal_ht+0x8c48, %rdi
clflush (%rsi)
clflush (%rdi)
nop
and %rbp, %rbp
mov $82, %rcx
rep movsq
nop
nop
nop
and $51973, %rax
lea addres... |
03_types/practica_3-mayor.adb | hbarrientosg/cs-mp | 0 | 2459 | separate(practica_3)
function Mayor(V:Vector) return TMayor is
Mayor:tMayor;
begin
mayor.elemento:=V(1);--inicializo la variable mayor con el primer elemento
mayor.posi:=1;
for i in 2..v'last loop
if v(i)>mayor.elemento then
mayor.elemento:=v(i);--busco si otro elemento del vector es mayor y si lo es
mayor.... |
scripts/reset_sentry.scpt | eshioji/omibot | 0 | 1535 | <filename>scripts/reset_sentry.scpt
tell application "iSentry"
quit
end tell
delay 5
tell application "iSentry" to activate
|
oeis/001/A001961.asm | neoneye/loda-programs | 11 | 80371 | ; A001961: A Beatty sequence: floor(n * (sqrt(5) - 1)).
; Submitted by <NAME>
; 1,2,3,4,6,7,8,9,11,12,13,14,16,17,18,19,21,22,23,24,25,27,28,29,30,32,33,34,35,37,38,39,40,42,43,44,45,46,48,49,50,51,53,54,55,56,58,59,60,61,63,64,65,66,67,69,70,71,72,74,75,76,77,79,80,81,82,84,85,86,87,88,90,91,92,93,95,96,97,98,100,101,... |
alloy4fun_models/trashltl/models/10/vrN8yPcnBcobSX7uE.als | Kaixi26/org.alloytools.alloy | 0 | 65 | <gh_stars>0
open main
pred idvrN8yPcnBcobSX7uE_prop11 {
all f : File - Protected | always (after f in Protected)
}
pred __repair { idvrN8yPcnBcobSX7uE_prop11 }
check __repair { idvrN8yPcnBcobSX7uE_prop11 <=> prop11o } |
Cubical/Structures/InftyMagma.agda | borsiemir/cubical | 0 | 5182 | {-# OPTIONS --cubical --safe #-}
module Cubical.Structures.InftyMagma where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.FunExtEquiv
open import Cubical.Foundations.SIP renaming (SNS-PathP to SNS)
private
variable
ℓ ℓ' ℓ'' : Level
-- ∞-Magmas wi... |
computer engeneering/ARQ1/T1/soma.asm | kehwhyn/PUC-RS | 0 | 18121 | <gh_stars>0
###############################################################################################
# Exemplo de programa em linguagem de montagem do MIPS : Manipulando vetores
# Autor: <NAME>
# Fun��o: Este programa soma o valor de uma constante (const) a cada elemento do vetor array
##########################... |
oeis/248/A248591.asm | neoneye/loda-programs | 11 | 97183 | ; A248591: Numerators of the (simplified) rationals n*2^(n - 1)/(n - 1)! .
; Submitted by <NAME>
; 1,4,6,16,10,8,28,64,2,8,44,32,52,16,8,256,34,8,76,32,4,16,184,128,4,16,8,64,232,32,496,1024,2,8,4,32,148,16,8,128,164,16,344,64,8,32,752,512,4,16,8,64,424,32,16,256,8,32,944,128,976,64,32,4096,2
mov $1,1
mov $3,1
lpb $0
... |
password_encode.adb | micahwelf/Password_Encode | 0 | 7069 | with Ada.Strings,
Ada.Strings.UTF_Encoding,
Ada.Strings.UTF_Encoding.Wide_Strings,
Ada.Wide_Text_IO;
use Ada.Strings.UTF_Encoding;
package body Password_Encode is
--
--
package body Base64 is
--
procedure Decode(Source : in String;
Target : out Byte... |
programs/oeis/055/A055259.asm | neoneye/loda | 22 | 14278 | ; A055259: Sums of two powers of 8.
; 2,9,16,65,72,128,513,520,576,1024,4097,4104,4160,4608,8192,32769,32776,32832,33280,36864,65536,262145,262152,262208,262656,266240,294912,524288,2097153,2097160,2097216,2097664,2101248,2129920,2359296,4194304,16777217,16777224,16777280,16777728,16781312,16809984,17039360,18874368,33... |
Engine Hacks/Skill System/Teq Skills/FE8-Nullify/Normal_Effectiveness.asm | sme23/MekkahRestrictedHackComp1 | 1 | 178401 | .thumb
@called at 16C00
@r3=item, r4=defender, r5=item table
@r2 is expected to be class id and r3 should be item id (currently is)
.equ NullifyID, SkillTester+4
push {r14}
mov r0,#0xFF
and r0,r3
mov r1,#0x24
mul r0,r1
add r6,r0,r5
ldr r0,[r6,#0x10] @effectiveness pointer
cmp r0,#0
beq RetFalse
mov r0,r4
l... |
programs/oeis/340/A340461.asm | neoneye/loda | 22 | 174874 | ; A340461: a(n) = 2*sigma(phi(n)) - n.
; 1,0,3,2,9,0,17,6,15,4,25,2,43,10,15,14,45,6,59,10,35,14,49,6,59,30,51,28,83,0,113,30,51,28,85,20,145,40,81,22,139,14,149,40,75,26,97,14,143,34,75,68,143,24,125,64,125,54,121,2,275,82,119,62,183,18,221,58,99
mov $1,$0
seq $1,62402 ; a(n) = sigma(phi(n)).
mul $1,2
sub $1,$0
mov $... |
Vivid/libv/windows_x64/console.asm | lehtojo/v | 3 | 97862 | <reponame>lehtojo/v
#analyze
.intel_syntax noprefix
.extern GetStdHandle
.extern WriteFile
.extern ReadConsoleA
# rcx: Address
# rdx: Length
.global _V14internal_printPhx
_V14internal_printPhx:
push rbx
push rsi
sub rsp, 56
mov rbx, rcx # Save the address
mov rsi, rdx # Save the length
mov rcx, -11
call GetStdHandle... |
test/asset/agda-stdlib-1.0/Data/List/Relation/Ternary/Interleaving/Properties.agda | omega12345/agda-mode | 0 | 13175 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties of general interleavings
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.List.Relation.Ternary.Interleaving.Properties where
o... |
45/beef/drv/kbd/src/tables5.asm | minblock/msdos | 0 | 15831 | ;*
;* CW : Character Windows Drivers
;*
;* tables5.asm : OS/2 tables for key lookup
;*****************************************************************************
;* Adapted from PM "atvkey.asm"
;* Copyright (C) 1987 by Microsoft Inc.
;* Adaptations include:
;* change to old windows VK names
;* compact everything ... |
programs/oeis/058/A058321.asm | neoneye/loda | 22 | 25023 | ; A058321: Number of x such that phi(x) = 2^n.
; 2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,... |
usertests.asm | johnhhyang/os2 | 0 | 25439 | <reponame>johnhhyang/os2
_usertests: file format elf32-i386
Disassembly of section .text:
00000000 <iputtest>:
int stdout = 1;
// does chdir() call iput(p->cwd) in a transaction?
void
iputtest(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 1... |
text/maps/bruno.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 161495 | _BrunoBeforeBattleText::
text "I am BRUNO of"
line "the ELITE FOUR!"
para "Through rigorous"
line "training, people"
cont "and #MON can"
cont "become stronger!"
para "I've weight"
line "trained with"
cont "my #MON!"
para $52, "!"
para "We will grind you"
line "down with our"
cont "superior power!"
pa... |
src/risi_script-types-identifier-scope_package.ads | OneWingedShark/Risi | 1 | 29282 | Pragma Ada_2012;
Pragma Wide_Character_Encoding( UTF8 );
with
Ada.Containers.Indefinite_Vectors;
Package Risi_Script.Types.Identifier.Scope_Package is
new Ada.Containers.Indefinite_Vectors(
Index_Type => Positive,
Element_Type => Identifier,
"=" => "="
);
|
oeis/264/A264722.asm | neoneye/loda-programs | 11 | 163340 | ; A264722: Composite numbers that are less than the average of their closest flanking primes.
; Submitted by <NAME>
; 8,14,20,24,25,32,33,38,44,48,49,54,55,62,63,68,74,75,80,84,85,90,91,92,98,104,110,114,115,116,117,118,119,128,132,133,140,141,142,143,152,153,158,159,164,168,169,174,175,182,183,184,185,194,200,201,202,... |
extern/gnat_sdl/gnat_sdl2/src/stdint_h.ads | AdaCore/training_material | 15 | 14346 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Extensions;
package stdint_h is
INT8_MIN : constant := (-128); -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdint.h:76
INT16_MIN : constant := (-32768); -- d:\install\gpl2018\x86_64-pc-mingw32\include\std... |
FreeBSD/secure/lib/libcrypto/Makefile.asm | TigerBSD/FreeBSD-Custom-ThinkPad | 4 | 92248 | <reponame>TigerBSD/FreeBSD-Custom-ThinkPad<gh_stars>1-10
# $FreeBSD$
# Use this to help generate the asm *.S files after an import. It is not
# perfect by any means, but does what is needed.
# Do a 'make -f Makefile.asm all' and it will generate *.S. Move them
# to the arch subdir, and correct any exposed paths and $... |
Ada/src/Problem_44.adb | Tim-Tom/project-euler | 0 | 15213 | <reponame>Tim-Tom/project-euler<filename>Ada/src/Problem_44.adb<gh_stars>0
with Ada.Text_IO;
with Ada.Containers.Ordered_Sets;
with Ada.Containers.Doubly_Linked_Lists;
package body Problem_44 is
package IO renames Ada.Text_IO;
package Positive_Set is new Ada.Containers.Ordered_Sets(Element_Type => Positive);
p... |
programs/oeis/193/A193462.asm | neoneye/loda | 22 | 87473 | ; A193462: Sum of the distinct prime divisors of n^2+1.
; 0,2,5,7,17,15,37,7,18,43,101,63,34,24,197,115,257,36,18,183,401,32,102,60,577,315,677,80,162,423,70,52,46,116,102,615,1297,144,22,763,1601,31,358,44,162,1015,102,37,466,1203,102,1303,546,288,2917,108,3137,20,678,1743,290,1863,774,404,258,2115,4357,456,42,2383,42... |
libsrc/stdio/conio/wherex.asm | jpoikela/z88dk | 0 | 89080 | <reponame>jpoikela/z88dk
; void wherex()
; 09.2017 stefano
SECTION code_clib
PUBLIC wherex
PUBLIC _wherex
EXTERN __console_x
.wherex
._wherex
ld a,(__console_x)
ld l,a
ld h,0
ret
|
Cubical/ZCohomology/Groups/KleinBottle.agda | LuuBluum/cubical | 0 | 3614 | <gh_stars>0
{-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.ZCohomology.Groups.KleinBottle where
open import Cubical.ZCohomology.Base
open import Cubical.ZCohomology.GroupStructure
open import Cubical.ZCohomology.Properties
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.... |
Structure/Real/Abs.agda | Lolirofle/stuff-in-agda | 6 | 13790 | <reponame>Lolirofle/stuff-in-agda
open import Logic.Classical
open import Structure.Real
module Structure.Real.Abs {ℓ₁ ℓ₂ ℓₑ} {R} ⦃ R-equiv ⦄ (_+_) (_⋅_) (_≤_) ⦃ classical : ∀{ℓ}{P} → Classical{ℓ}(P) ⦄ ⦃ reals : RealTheory{ℓ₁}{ℓₑ}{ℓ₂} {R} ⦃ R-equiv ⦄ (_+_)(_⋅_)(_≤_) ⦄ where
open RealTheory(reals)
open import Data.Boo... |
src/lv-objx-calendar.ads | Fabien-Chouteau/ada-lvlg | 3 | 10987 | with System;
with Lv.Style;
package Lv.Objx.Calendar is
subtype Instance is Obj_T;
type Date_T is record
Year : aliased Uint16_T;
Month : aliased Int8_T;
Day : aliased Int8_T;
end record;
pragma Convention (C_Pass_By_Copy, Date_T);
type Style_T is
(Style_BG, -- Also th... |
data/jpred4/jp_batch_1613899824__LalA5_b/jp_batch_1613899824__LalA5_b.als | jonriege/predict-protein-structure | 0 | 4698 | SILENT_MODE
BLOCK_FILE jp_batch_1613899824__LalA5_b.concise.blc
MAX_NSEQ 761
MAX_INPUT_LEN 763
OUTPUT_FILE jp_batch_1613899824__LalA5_b.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75
DEFINE_FONT 7 Helvetica REL 0.6
DEFINE_FO... |
libsrc/_DEVELOPMENT/l/sdcc/__mulint.asm | meesokim/z88dk | 0 | 13958 |
SECTION code_l_sdcc
PUBLIC __mulint
EXTERN l_mulu_16_16x16
__mulint:
; 16-bit multiplication, LSW 16-bit result
;
; enter : stack = multiplicand, multiplicand, ret
;
; exit : hl = product
pop af
pop hl
pop de
push de
push hl
push af
jp l_mulu_16_16x16
|
programs/oeis/068/A068639.asm | neoneye/loda | 22 | 27874 | <filename>programs/oeis/068/A068639.asm
; A068639: a(0) = 0, a(n) = a(n-1) + (-1)^p(n) for n >= 1, where p(n) = highest power of 2 dividing n.
; 0,1,0,1,2,3,2,3,2,3,2,3,4,5,4,5,6,7,6,7,8,9,8,9,8,9,8,9,10,11,10,11,10,11,10,11,12,13,12,13,12,13,12,13,14,15,14,15,16,17,16,17,18,19,18,19,18,19,18,19,20,21,20,21,22,23,22,23... |
Resources/All Scripts/Sandbox Exceptions/Scripts/apps.scpt | bathtub/IRC.app | 2 | 2683 | <filename>Resources/All Scripts/Sandbox Exceptions/Scripts/apps.scpt
-- Portions of this AppleScript may incorporate work from 3rd
-- parties. These portions of code are noted. All other work is
-- Copyright © 2010 — 2013 Codeux Software. See README
-- for full license information.
on irccmd(inputData, destination... |
query-lang/src/main/antlr/PropagateQueryExpression.g4 | lunar-logan/propagate | 0 | 2285 | grammar PropagateQueryExpression;
import PropagateQueryLexerRules;
prog: expr;
expr: ID op=('=' | '!=') TEXT # assign
| expr op=('AND' | 'OR') expr # andOr
| '(' expr ')' # parens
;
EQ: '=';
NEQ: '!=';
AND: 'AND';
OR: 'OR';
|
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_559.asm | ljhsiun2/medusa | 9 | 3069 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xc713, %rdx
nop
nop
nop
nop
dec %rbp
movl $0x61626364, (%rdx)
nop
nop
nop
inc %rcx
lea addresses_UC_ht+0x1da13, %rax
nop
nop
nop
nop
add $13193, %rdx
movb $0x61, (%r... |
01 hello_world/hello_world.asm | sigseg5/play-with-nasm | 0 | 166892 | section .text
global _start
_start:
mov edx, msglen
mov ecx, msg
mov ebx, 1 ; STDOUT file descriptor
mov eax, 4 ; sys_write syscall number
; interrupt and call for Linux kernel.
; The kernel is notified about which system call the program wants to make, by examining the value in the register %eax
; ... |
src/parameters.ads | jfouquart/synth | 263 | 30032 | <filename>src/parameters.ads
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with JohnnyText;
with Config;
with Definitions; use Definitions;
package Parameters is
package JT renames JohnnyText;
live_system : constant String := "LiveSystem";
no_c... |
generated/natools-static_maps-s_expressions-templates-dates-t.ads | faelys/natools | 0 | 23187 | -- Generated at 2015-06-24 18:19:13 +0000 by Natools.Static_Hash_Maps
-- from src/natools-s_expressions-templates-dates-maps.sx
function Natools.Static_Maps.S_Expressions.Templates.Dates.T
return Boolean;
pragma Pure (Natools.Static_Maps.S_Expressions.Templates.Dates.T);
|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1802.asm | ljhsiun2/medusa | 9 | 243103 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x15cbf, %r15
nop
nop
nop
add $8916, %r9
mov $0x6162636465666768, %rsi
movq %rsi, (%r15)
nop
nop
and $62563, %rbp
lea addresses_WT_ht+0xa0bf, %rsi
lea addresses_WT_ht+0x1c93b, %... |
src/Examples/Sorting/Comparable.agda | jonsterling/agda-calf | 29 | 15064 | {-# OPTIONS --prop --rewriting #-}
open import Calf.CostMonoid
open import Data.Nat using (ℕ)
module Examples.Sorting.Comparable
(costMonoid : CostMonoid) (fromℕ : ℕ → CostMonoid.ℂ costMonoid) where
open CostMonoid costMonoid using (ℂ)
open import Calf costMonoid
open import Calf.Types.Bool
open import Calf.Types... |
source/machine-w64-mingw32/s-sysall.ads | ytomino/drake | 33 | 12402 | pragma License (Unrestricted);
-- runtime unit specialized for Windows
with System.Storage_Elements;
package System.System_Allocators is
pragma Preelaborate;
-- heap
function Allocate (
Size : Storage_Elements.Storage_Count)
return Address; -- Null_Address if it failed
function Allocate (
... |
laturi/loader64.asm | temisu/BR4096 | 8 | 168888 | <reponame>temisu/BR4096
; Copyright (C) <NAME>
; x86-64
bits 64
section .text
struc nlist
.stri resd 1
.type resb 1
.sect resb 1
.desc resw 1
.addr resq 1
endstruc
struc m_header
.magic resd 1
.cputype resd 1
.cpusubtype resd 1
.filetype resd 1
.ncmds resd 1
.sizeofcmds resd 1
.flags resd 1
.reserved resd ... |
Structure/Logic/Constructive/BoundedPredicate.agda | Lolirofle/stuff-in-agda | 6 | 14027 | import Lvl
open import Type
module Structure.Logic.Constructive.BoundedPredicate
{ℓₗ} {Formula : Type{ℓₗ}}
{ℓₘₗ} (Proof : Formula → Type{ℓₘₗ})
{ℓₚ} {Predicate : Type{ℓₚ}}
{ℓₒ} {Domain : Type{ℓₒ}}
(_$_ : Predicate → (x : Domain) → ∀{B : Domain → Formula} → Proof(B(x)) → Formula)
where
import L... |
programs/oeis/334/A334614.asm | neoneye/loda | 22 | 92274 | ; A334614: a(n) = pi(prime(n) - n) + n, where pi is the prime counting function.
; 1,2,4,6,8,10,11,13,15,18,19,21,22,24,26,28,30,32,34,35,36,38,40,42,45,47,48,50,51,53,55,57,60,61,65,66,67,68,70,72,74,76,77,79,81,82,85,88,89,91,93,94,95,99,101,102,104,105,106,107,108,112,116,117
mov $2,$0
seq $0,40 ; The prime numbers... |
oeis/212/A212329.asm | neoneye/loda-programs | 11 | 247837 | <reponame>neoneye/loda-programs
; A212329: Expansion of x*(5+x)/(1-7*x+7*x^2-x^3).
; Submitted by <NAME>
; 0,5,36,217,1272,7421,43260,252145,1469616,8565557,49923732,290976841,1695937320,9884647085,57611945196,335787024097,1957110199392,11406874172261,66484134834180,387497934832825,2258503474162776,13163522910143837,76... |
programs/oeis/037/A037591.asm | karttu/loda | 1 | 247916 | ; A037591: Base-5 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,3.
; 1,5,28,141,705,3528,17641,88205,441028,2205141,11025705,55128528,275642641,1378213205,6891066028,34455330141,172276650705,861383253528,4306916267641,21534581338205,107672906691028,538364533455141
cal $0,3755... |
_build/dispatcher/jmp_ippsHMACInit_rmf_b5ea6d7e.asm | zyktrcn/ippcp | 1 | 90731 | extern m7_ippsHMACInit_rmf:function
extern n8_ippsHMACInit_rmf:function
extern y8_ippsHMACInit_rmf:function
extern e9_ippsHMACInit_rmf:function
extern l9_ippsHMACInit_rmf:function
extern n0_ippsHMACInit_rmf:function
extern k0_ippsHMACInit_rmf:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
s... |
utils/runJS.applescript | christopherpickering/RunInIndesign | 21 | 741 | on run params
set myScript to item 1 of params
set myPort to item 2 of params
set paraNR to count params
if paraNR > 2 then
set myVer to item 3 of params
else
set myVer to false
end if
if myVer is not false then
set appN to "Adobe Indesign " & replace_chars(myVer)
else
if exists application "Adobe In... |
oeis/049/A049683.asm | neoneye/loda-programs | 11 | 240556 | <filename>oeis/049/A049683.asm
; A049683: a(n) = (Lucas(6*n) - 2)/16.
; 0,1,20,361,6480,116281,2086580,37442161,671872320,12056259601,216340800500,3882078149401,69661065888720,1250017107847561,22430646875367380,402501626648765281,7222598632802407680,129604273763794572961,2325654329115499905620,41732173650315203728201,7... |
programs/oeis/027/A027784.asm | neoneye/loda | 22 | 12889 | ; A027784: a(n) = 11*(n+1)*binomial(n+2,11)/2.
; 55,726,5148,26026,105105,360360,1089088,2975544,7482618,17551820,38798760,81477396,163601438,315762216,588376800,1062347000,1864418985,3188915730,5327982660,8713054350,13970931975,21998673840,34062462720,51926743440,78021243300,115655019480,169288446096,244876085608,3502... |
lib.asm | ryanneph/Jai-Code-Interop | 0 | 164012 | section .text
; Adding the "global" statement exports this symbol so the function can be
; located and linked with.
global asm_add
; edi - a (s32)
; esi - b (s32)
; return a + b;
asm_add:
mov eax,edi
add eax,esi
ret
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.