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 |
|---|---|---|---|---|
oeis/134/A134095.asm | neoneye/loda-programs | 11 | 26551 | ; A134095: E.g.f.: A(x) = 1/(1 - LambertW(-x)^2).
; Submitted by <NAME>
; 1,0,2,12,120,1480,22320,396564,8118656,188185680,4871980800,139342178140,4363291266048,148470651659928,5455056815237120,215238256785814500,9077047768435752960,407449611073696325536,19396232794530856894464,976025303642559490903980,5176536777077279... |
scripts/set_label_by_number.applescript | Bilalh/Media2 | 1 | 101 | #!/usr/bin/env osascript
on run argv
set theColourChoice to item 1 of argv as string
set thePath to item 2 of argv as string
set file_alias to the POSIX file thePath as alias
tell application "Finder"
set the label index of file_alias to theColourChoice
end tell
end run |
example/ROS/map/map_color.als | chongliujlu/ColorfulAlloy | 0 | 5199 | module Map
open meta
/**
* ➀: Add "RViz", "Map_server", "Location_perfect_Match" sensor node and a "Node Agrob_Planner" node
* ➁: Add safe control (add "Node Safety_controller_Filter" node)
* ➂: Represent the cases that either feature ➀ or feature ➁ is selected
*/
fact FM{
➀➁ some none ➁➀
//feature ➂ is the disj... |
Cubical/Data/SumFin/Base.agda | limemloh/cubical | 0 | 15328 | {-# OPTIONS --cubical --safe #-}
module Cubical.Data.SumFin.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Empty using (⊥; ⊥-elim) public
open import Cubical.Data.Unit using (tt) renaming (Unit to ⊤) public
open import Cubical.Data.Sum using (_⊎_; inl; inr) public
open import Cubical.Dat... |
CTL/Modalities/AF.agda | Aerate/condatis | 1 | 9542 | <filename>CTL/Modalities/AF.agda
module CTL.Modalities.AF where
open import FStream.Core
open import Library
-- Certainly sometime : s₀ ⊧ φ ⇔ ∀ s₀ R s₁ R ... ∃ i . sᵢ ⊧ φ
-- TODO Unclear whether this needs sizes
data AF' {ℓ₁ ℓ₂} {C : Container ℓ₁}
(props : FStream' C (Set ℓ₂)) : Set (ℓ₁ ⊔ ℓ₂) where
alreadyA : ... |
programs/oeis/269/A269495.asm | neoneye/loda | 22 | 25828 | <reponame>neoneye/loda
; A269495: Number of length-4 0..n arrays with no repeated value differing from the previous repeated value by one.
; 14,77,250,617,1286,2389,4082,6545,9982,14621,20714,28537,38390,50597,65506,83489,104942,130285,159962,194441,234214,279797,331730,390577,456926,531389,614602,707225,809942,923461,... |
src/Language/Language.g4 | Vitor-Xavier/CalculationEngine | 0 | 3207 | grammar Language;
/* Lexical rules */
COMMENT: '//' .+? ('\n'|EOF) -> skip;
WS: [ \r\t\u000C\n]+ -> skip;
IF : 'se' ;
ELSE : 'senao';
SWITCH: 'parametro';
CASE: 'caso';
DEFAULT: 'padrao';
WHILE: 'enquanto';
BREAK: 'parar';
AND : '&&';
OR : '||';
NOT : '!';
TRUE : 'true' ;
FALSE : 'false' ... |
source/asis/spec/ada-strings-unbounded.ads | faelys/gela-asis | 4 | 4273 | ------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
scripts/.opera-refresh.applescript | andrewp-as-is/mac-opera | 0 | 254 | <filename>scripts/.opera-refresh.applescript
#!/usr/bin/osascript
on run argv
try
set _APP_TIMEOUT to 5
if ("OPERA_TIMEOUT" is in system attribute) then
set _APP_TIMEOUT to (system attribute "OPERA_TIMEOUT") as integer
end if
with timeout of _APP_TIMEOUT seconds
repeat with _url in argv
... |
SOAS/Syntax/Arguments.agda | JoeyEremondi/agda-soas | 39 | 2871 |
-- Interpretation of signature arities
module SOAS.Syntax.Arguments {T : Set} where
open import SOAS.Common
open import SOAS.Context {T}
open import SOAS.Variable
open import SOAS.Families.Core {T}
open import Data.List.Base using ([] ; _∷_ ; List)
open import Data.Product
open import Data.Unit
-- List of arities a... |
arch/ARM/STM32/driversWB55x/stm32-gpio.ads | morbos/Ada_Drivers_Library | 2 | 1725 | <filename>arch/ARM/STM32/driversWB55x/stm32-gpio.ads
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- ... |
programs/oeis/138/A138690.asm | neoneye/loda | 22 | 82887 | ; A138690: Numbers of the form 56+p^2 (where p is a prime).
; 60,65,81,105,177,225,345,417,585,897,1017,1425,1737,1905,2265,2865,3537,3777,4545,5097,5385,6297,6945,7977,9465,10257,10665,11505,11937,12825,16185,17217,18825,19377,22257,22857,24705,26625,27945,29985
seq $0,6005 ; The odd prime numbers together with 1.
po... |
oeis/105/A105137.asm | neoneye/loda-programs | 11 | 93905 | ; A105137: Numbers n such that 128n+65 is prime.
; Submitted by <NAME>
; 1,3,4,9,12,16,21,24,33,36,37,42,43,46,49,54,58,61,66,67,72,79,81,88,93,94,102,103,106,112,114,123,124,126,138,148,154,157,163,166,168,177,186,187,196,198,199,201,204,207,211,213,214,219,231,232,238,252,256,262,264,268,276,277,282,288,289,291,292,3... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_33.asm | ljhsiun2/medusa | 9 | 14580 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r8
push %rdi
push %rsi
// Faulty Load
lea addresses_RW+0x1d4e7, %rsi
nop
nop
sub $14921, %r8
movups (%rsi), %xmm4
vpextrq $0, %xmm4, %rdi
lea oracles, %r10
and $0xff, %rdi
shlq $12, %rdi
mov (%r10,%rdi,... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_1784.asm | ljhsiun2/medusa | 9 | 87980 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xf213, %r12
nop
nop
nop
nop
add %rdi, %rdi
mov $0x6162636465666768, %rcx
movq %rcx, (%r12)
cmp %r10, %r10
lea addresses_WT_ht+0x14a0b, %r11
nop
... |
src/main/antlr4/metric/extractor/c/CLexer.g4 | multilang-depends/code-metric | 1 | 2297 | /*
[The "BSD licence"]
Copyright (c) 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:
1. Redistributions of source code must retain the above copyright
notice, this list of conditio... |
programs/oeis/040/A040675.asm | karttu/loda | 0 | 27739 | ; A040675: Continued fraction for sqrt(702).
; 26,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52,2,52
mov $1,13
lpb $0,1
mod $0,2
mul $1,2
lpe
gcd $1,$0
mul $1,2
|
common/exepack.asm | DigitalMars/optlink | 28 | 162195 | <filename>common/exepack.asm<gh_stars>10-100
TITLE EXEPACK - Copyright (c) SLR Systems 1994
INCLUDE MACROS
INCLUDE SEGMENTS
INCLUDE SEGMSYMS
PUBLIC OS2_EXEPACK,OS2PACK_INIT,OS2_EXEPACK_FLUSH
.DATA
EXTERNDEF EXETABLE:DWORD,EXEPACK_LIMIT:DWORD,PACK_REPT_COUNT:DWORD,LAST_SEG_OS2_NUMBER:DWORD
EXTERNDEF... |
oeis/266/A266844.asm | neoneye/loda-programs | 11 | 3908 | <filename>oeis/266/A266844.asm
; A266844: Binary representation of the n-th iteration of the "Rule 70" elementary cellular automaton starting with a single ON (black) cell.
; Submitted by <NAME>
; 1,110,10100,1101000,101010000,11010100000,1010101000000,110101010000000,10101010100000000,1101010101000000000,1010101010100... |
ejercicios6/posicion.adb | iyan22/AprendeAda | 0 | 5116 | with Datos;
use Datos;
function Posicion ( L : Lista; Num : Integer ) return Natural is
-- pre:
-- post: el resultado es la posicion de la primera aparicion de Num,
-- caso de que Num pertenezca a L, y cero en otro caso
LCopia : Lista;
Found : Boolean;
Pos, PosDev : Integer;
begin
LCopia := L... |
Cubical/Data/Fin/Arithmetic.agda | thomas-lamiaux/cubical | 1 | 1018 | <reponame>thomas-lamiaux/cubical
{-# OPTIONS --cubical --safe #-}
module Cubical.Data.Fin.Arithmetic where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Nat
open import Cubical.Data.Nat.Mod
open import Cubical.Data.Nat.Order
open import Cubical.Data.Fin
open import Cubical.Data.Sigma
infixl 6 _+ₘ_ ... |
src/protocol/ieee802154-mac.adb | damaki/keyless-entry | 0 | 19951 | -------------------------------------------------------------------------------
-- Copyright (c) 2019 <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, inc... |
include/sf-system-sleep.ads | Fabien-Chouteau/ASFML | 0 | 27658 | <reponame>Fabien-Chouteau/ASFML
--//////////////////////////////////////////////////////////
-- SFML - Simple and Fast Multimedia Library
-- Copyright (C) 2007-2015 <NAME> (<EMAIL>)
-- This software is provided 'as-is', without any express or implied warranty.
-- In no event will the authors be held liable for any dama... |
andmore-core/plugins/installer/resources/openInputMac.scpt | androidworx/andworx | 2 | 2575 | do shell script "cp /etc/launchd.conf /tmp/launchd.conf"
|
arch/ARM/RP/svd/rp2040/rp_svd-psm.ads | morbos/Ada_Drivers_Library | 2 | 17559 | <filename>arch/ARM/RP/svd/rp2040/rp_svd-psm.ads
-- Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
--
-- SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from rp2040.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
... |
mips2.asm | Energy0124/MIPS-CSCI3120-WA2 | 0 | 9045 | <reponame>Energy0124/MIPS-CSCI3120-WA2<gh_stars>0
# Assume the address of B[] is stored at $sp+4
#debug
#.data
# suppose the first element in the array denotes the size of the array
# list: .word 14, 14, 12, 13, 5, 9, 11, 3, 6, 7, 10, 2, 4, 8, 1
#list: .word 3, 3, 2, 1
#.text
# TODO: Insert code to set up parameter... |
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0_notsx.log_9_1110.asm | ljhsiun2/medusa | 9 | 18209 | <filename>Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0_notsx.log_9_1110.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %r9
push %rax
push %rcx
lea addresses_normal_ht+0x6019, %rax
nop
nop
nop
nop
cmp $31429, %r14
movb $0x61, (%rax)
and %r10, %r10
lea addresses_A_ht+... |
src/net/meisen/dissertation/impl/parser/query/generated/QueryGrammar.g4 | seimonq/dis-timeintervaldataanalyzer-master | 6 | 5909 | /*
* This is the grammar defined to understand a properitary query
* used to retrieve data from the TidaSystem. The code generation
* is not triggered automatically and therefore the generated code
* might not be "synced" to this file content.
*/
grammar QueryGrammar;
/*
* This is my first grammar, therefore I a... |
programs/oeis/008/A008778.asm | karttu/loda | 1 | 82498 | <filename>programs/oeis/008/A008778.asm
; A008778: a(n) = (n+1)*(n^2 +8*n +6)/6. Number of n-dimensional partitions of 4. Number of terms in 4th derivative of a function composed with itself n times.
; 1,5,13,26,45,71,105,148,201,265,341,430,533,651,785,936,1105,1293,1501,1730,1981,2255,2553,2876,3225,3601,4005,4438,49... |
oeis/305/A305739.asm | neoneye/loda-programs | 11 | 100126 | <gh_stars>10-100
; A305739: a(n) = n!*T(n) - 1, where T(n) is the n-th triangular number.
; 0,5,35,239,1799,15119,141119,1451519,16329599,199583999,2634508799,37362124799,566658892799,9153720575999,156920924159999,2845499424767999,54420176498687999,1094805903679487999,23112569077678079999,510909421717094399999
add $0,... |
test/Fail/Issue4637.agda | cruhland/agda | 1,989 | 8057 | <gh_stars>1000+
-- Andreas, 2020-05-08, issue #4637
-- Print record pattern (in with-function) in termination error.
-- {-# OPTIONS -v reify:60 #-}
record R : Set where
pattern; inductive
field foo : R
postulate
bar : R → R
test : R → R
test r with bar r
test r | record { foo = x } with bar x
test r | record ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1854.asm | ljhsiun2/medusa | 9 | 93984 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1eb77, %r15
nop
nop
nop
dec %r8
movups (%r15), %xmm6
vpextrq $1, %xmm6, %rbp
nop
nop
and %r8, %r8
lea addresses_D_ht+0x1142b, %rsi
lea addresses_normal_ht+0x1632b, %rdi
nop
nop
nop
cmp... |
Numeral/Natural/Oper/Proofs/Rewrite.agda | Lolirofle/stuff-in-agda | 6 | 11001 | <reponame>Lolirofle/stuff-in-agda<filename>Numeral/Natural/Oper/Proofs/Rewrite.agda
module Numeral.Natural.Oper.Proofs.Rewrite where
import Lvl
open import Numeral.Natural
open import Numeral.Natural.Oper
open import Numeral.Natural.Induction
open import Relator.Equals
open import Relator.Equals.Proofs
open import Syn... |
test/Succeed/OmegaInOmega.agda | cruhland/agda | 1,989 | 14563 | {-# OPTIONS --omega-in-omega #-}
open import Agda.Primitive
test : Setω
test = Setω
record R : Setω where
field
A : ∀ {ℓ} → Set ℓ
data Type : Setω where
el : ∀ {ℓ} → Set ℓ → Type
|
Transynther/x86/_processed/NONE/_ht_zr_/i7-7700_9_0x48.log_21829_236.asm | ljhsiun2/medusa | 9 | 13357 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x2d38, %rsi
lea addresses_D_ht+0x16538, %rdi
nop
nop
add %r15, %r15
mov $52, %rcx
rep movsw
and $4142, %r9
lea addresses_normal_ht+0x538, %rsi
lea addresses_D_h... |
query_lang/antlr_grammar.g4 | nikitavlaev/formal-languages | 0 | 7050 | <reponame>nikitavlaev/formal-languages<filename>query_lang/antlr_grammar.g4
grammar antlr_grammar;
script : (stmt ';')* EOF ;
stmt : 'connect' '"' STRING '"'
| STRING ':' pattern
| 'select' qobject 'from' graph
;
graph : graph 'intersect' rgr
| rgr
;
rgr : 'grammar'
| '[' pattern ']'... |
src/main/fragment/mos6502-common/pwuz1_derefidx_vbuyy_neq_vwuc1_then_la1.asm | jbrandwood/kickc | 2 | 102750 | <gh_stars>1-10
lda ({z1}),y
cmp #<{c1}
bne {la1}
iny
lda ({z1}),y
cmp #>{c1}
bne {la1}
|
core.asm | Sweetnow/mips-pipeline-cpu | 2 | 18081 | .text
j __main
j __interrupt
j __exception
__main:
# reset sp
addi $sp, $zero, 0x800
# reset digits
addi $27, $zero, 1
addi $28, $zero, 0x0000
# reset timer
lui $t8, 0x4000 # $t8: timer base addr
sw $zero, 0x0008($t8)
lui $t9, 0xffff # TH -50000
addi $t9, $t9, 0xb3f8
sw $t9, 0($t8)
ori $t9, $t9, 0xffff
sw $t9,... |
programs/oeis/155/A155596.asm | karttu/loda | 0 | 167678 | <filename>programs/oeis/155/A155596.asm
; A155596: a(n) = 5^n - 2^n + 1^n.
; 1,4,22,118,610,3094,15562,77998,390370,1952614,9764602,48826078,244136530,1220694934,6103499242,30517545358,152587825090,762939322054,3814697003482,19073485803838,95367430592050,476837156105974
mov $2,7
mov $3,$0
lpb $3,1
mul $1,5
mul $2,... |
tools-src/gnu/gcc/gcc/ada/4vcalend.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 19652 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- ... |
Structure/Relator/Equivalence/Proofs.agda | Lolirofle/stuff-in-agda | 6 | 2414 | <filename>Structure/Relator/Equivalence/Proofs.agda
module Structure.Relator.Equivalence.Proofs where
import Lvl
open import Functional
open import Structure.Relator.Equivalence
open import Structure.Relator.Properties.Proofs
open import Type
private variable ℓ : Lvl.Level
private variable T A B : Type{ℓ}
privat... |
middleware/src/utils/logging.adb | rocher/Ada_Drivers_Library | 192 | 28712 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, AdaCore --
-- --
-- ... |
oeis/045/A045502.asm | neoneye/loda-programs | 11 | 26810 | ; A045502: Numbers k such that 2*k+1 and 3*k+1 are squares.
; Submitted by <NAME>
; 0,40,3960,388080,38027920,3726348120,365144087880,35780394264160,3506113493799840,343563341998120200,33665701402321979800,3298895174085555900240,323258061358982156243760,31675991118006165755988280,3103923871503245261930607720,3041528634... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1250.asm | ljhsiun2/medusa | 9 | 1216 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x4c49, %rsi
lea addresses_UC_ht+0x1cbfa, %rdi
nop
nop
add %rdx, %rdx
mov $58, %rcx
rep movsl
nop
nop
nop
nop
nop
and %rax, %rax
lea addresses_UC_ht+0x1e949, %rbp
nop
nop
nop
n... |
src/spread/macro.asm | olifink/qspread | 0 | 167456 | * Spreadsheet 17/03-92
* - macro operation
section prog
include win1_keys_wman
include win1_keys_wwork
include win1_keys_wstatus
include win1_keys_qdos_pt
include win1_keys_sys
include win1_keys_qdos_sms
include win1_spread_keys
include win1_mac_oli
xdef mcr_user
xdef mc... |
data/mapHeaders/SilphCo8F.asm | AmateurPanda92/pokemon-rby-dx | 9 | 10074 | <gh_stars>1-10
SilphCo8F_h:
db FACILITY ; tileset
db SILPH_CO_8F_HEIGHT, SILPH_CO_8F_WIDTH ; dimensions (y, x)
dw SilphCo8F_Blocks ; blocks
dw SilphCo8F_TextPointers ; texts
dw SilphCo8F_Script ; scripts
db 0 ; connections
dw SilphCo8F_Object ; objects
|
src/spread/filter/import.asm | olifink/qspread | 0 | 94900 | <reponame>olifink/qspread<gh_stars>0
; Psion Import Filter 1993 <NAME>
;
section prog
include win1_keys_err
include win1_mac_oli
include win1_spread_file_format_keys
da_inch equ $00 ;input channel id
da_ouch equ $04 ;output channel id
da_col equ $08 ;number of columns
da_row equ $0a ;number of rows
d... |
unix-x64/adler32.asm | mazoti/adler32 | 0 | 90632 | ; int adler32(char* buffer, int len);
global adler32
section .text
adler32:
test rsi,rsi ; check for empty buffer
jnz continue
mov rax,1
ret
continue:
; rdi == start buffer address
add rsi,rdi ; rsi == end buffer address
; rax == adler32 final value
mov r8,1... |
ExPathInduction.agda | guillaumebrunerie/JamesConstruction | 5 | 3099 | <reponame>guillaumebrunerie/JamesConstruction<filename>ExPathInduction.agda
{-# OPTIONS --without-K --rewriting #-}
open import PathInduction using (Type; _==_; idp; Square; !; _∙_; Coh; path-induction)
module ExPathInduction {i} where
{-<excoh>-}
coh : {A : Type i} {a : A} →
Coh ({b : A} (p : a == b)
... |
out/recordtest.adb | FardaleM/metalang | 22 | 26206 |
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure recordtest is
type stringptr is access all char_array;
procedure PInt(i : in Integer) is
begin
String'Write (Text_Streams.... |
oeis/183/A183188.asm | neoneye/loda-programs | 11 | 13619 | ; A183188: a(n) = 3*a(n-1) + a(n-3) with a(0)=1, a(1)=2, a(2)=6.
; Submitted by <NAME>
; 1,2,6,19,59,183,568,1763,5472,16984,52715,163617,507835,1576220,4892277,15184666,47130218,146282931,454033459,1409230595,4373974716,13575957607,42137103416,130785284964,405931812499,1259932540913,3910582907703,12137680535608
mov $... |
source/s-llinty.ads | ytomino/drake | 33 | 20966 | <reponame>ytomino/drake
pragma License (Unrestricted);
-- implementation unit
package System.Long_Long_Integer_Types is
pragma Pure;
-- Word size types
type Word_Integer is range
-(2 ** (Standard'Word_Size - 1)) .. 2 ** (Standard'Word_Size - 1) - 1;
for Word_Integer'Size use Standard'Word_Size;
... |
programs/oeis/006/A006338.asm | neoneye/loda | 22 | 95751 | <filename>programs/oeis/006/A006338.asm
; A006338: An "eta-sequence": floor((n+1)*sqrt(2) + 1/2) - floor(n*sqrt(2) + 1/2).
; 2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1... |
src/arch/i686/load_page_directory.asm | miklhh/os4 | 3 | 98083 | <reponame>miklhh/os4<filename>src/arch/i686/load_page_directory.asm
;
; Part of OS4, load_page_directory
; Author: <NAME>, miklhh
;
global load_page_directory
load_page_directory:
push eax
mov eax, [esp+8] ; Parameter address.
mov cr3, eax
pop eax
ret
|
alloy4fun_models/trashltl/models/17/jew2y7BRWzWadgQyB.als | Kaixi26/org.alloytools.alloy | 0 | 3753 | <gh_stars>0
open main
pred idjew2y7BRWzWadgQyB_prop18 {
eventually (all f:Protected | f in Trash-Protected triggered f not in Protected)
}
pred __repair { idjew2y7BRWzWadgQyB_prop18 }
check __repair { idjew2y7BRWzWadgQyB_prop18 <=> prop18o } |
programs/oeis/059/A059410.asm | karttu/loda | 1 | 99151 | ; A059410: J_n(9) (see A059379).
; 0,6,72,702,6480,58806,530712,4780782,43040160,387400806,3486725352,31380882462,282429005040,2541864234006,22876787671992,205891117745742,1853020145805120,16677181570526406
mov $2,3
pow $2,$0
mov $1,$2
sub $1,1
mul $1,$2
|
libsrc/target/rc2014/stdio/fputc_cons_acia.asm | UnivEngineer/z88dk | 1 | 15333 |
INCLUDE "_DEVELOPMENT/target/rc2014/config_rc2014-8085_private.inc"
SECTION code_driver
SECTION code_driver_character_output
PUBLIC fputc_cons_acia
EXTERN aciaTxCount, aciaTxIn, aciaTxBuffer
EXTERN aciaControl
.fputc_cons_acia
; enter : (sp+2) = char to output
;
; modifies : af, de, hl
ld a,(ac... |
Kernel Storage.asm | zk2013/newborn | 0 | 167084 | ; ******************************************************
; Name: Kernel Storage
; Author: <NAME>
; Version: 0.1
; Date: 16.02.2008 20:40:07
; last Update: 17.02.2008 13:42:45
; Forensic Lockdown Software
; (C) 2008 Vienna Computer Products
; This include file contains ... |
common/csubs.asm | DigitalMars/optlink | 28 | 18996 | <filename>common/csubs.asm
TITLE CSUBS - Copyright (c) SLR Systems 1994
INCLUDE MACROS
if fg_slrpack
INCLUDE SLR32
PUBLIC SLR_MOVER
.DATA
EXTERNDEF SLR_INBUF_LIMIT:DWORD,SLR_BYTES_LEFT:DWORD,SLR_INPUT_PTR_OFFSET:DWORD,SLR_INPUT_PTR_BASE:DWORD
.CODE PASS2_TEXT
EXTERNDEF CONVERT_SUBBX_TO_EAX:PROC... |
Monads/CatofAdj/TermAdjObj.agda | jmchapman/Relative-Monads | 21 | 1101 | <filename>Monads/CatofAdj/TermAdjObj.agda
open import Categories
open import Monads
module Monads.CatofAdj.TermAdjObj {a b}{C : Cat {a}{b}}(M : Monad C) where
open import Library
open import Functors
open import Naturals
open import Adjunctions
open import Monads.CatofAdj M
open import Categories.Terminal
open import... |
src/vm/arm/PInvokeStubs.asm | CyberSys/coreclr-mono | 10 | 94688 | <filename>src/vm/arm/PInvokeStubs.asm<gh_stars>1-10
;
; Copyright (c) Microsoft. All rights reserved.
; Licensed under the MIT license. See LICENSE file in the project root for full license information.
;
;; ==++==
;;
;;
;; ==--==
#include "ksarm.h"
#include "asmconstants.h"
#include "asmmacros.h"
IMPORT Var... |
src/lib/hello_world.asm | battlelinegames/nes-hello-world | 10 | 246024 | <reponame>battlelinegames/nes-hello-world
; this code will be called from the nmi
.macro printf_nmi STRING, XPOS, YPOS ; 32, 128
.local ROW
.local COL
.local BYTE_OFFSET_HI
.local BYTE_OFFSET_LO
ROW = YPOS / 8 ; 128 / 8 = 16
COL = XPOS / 8 ; 32 / 8 = 4
BYTE_OFFSET_HI = (ROW... |
applescript/keyboard.applescript | jstart/chrisdev | 0 | 129 | <reponame>jstart/chrisdev
-- Configure the keyboard:
-- better repeat rates
-- make the function keys the default
tell application "System Preferences"
set current pane to pane "com.apple.preference.keyboard"
end tell
tell application "System Events"
tell tab group 1 of window "Keyboard" of process "System Preferen... |
external/source/shellcode/bsd/ia32/single_reverse_libinject.asm | madhavarao-yejarla/VoIP | 35 | 88396 | <reponame>madhavarao-yejarla/VoIP
BITS 32
section .text
global main
main:
push byte 0x61
pop eax
cdq
push edx
inc edx
push edx
inc edx
push edx
push dword 0x0100007f
int 0x80
xchg eax, ebp
push word 0xffff
push dx
mov esi, esp
push byte 0x10
push esi
push ebp
push byte 0x6... |
src/CopyLinkFromOutlook.applescript | lineker/outlook-links-for-macOS | 0 | 1630 | tell application "Microsoft Outlook"
set selectedMessages to selected objects
if selectedMessages is {} then
display notification "Please select a message in Outlook before running the script!"
else
set messageId to id of item 1 of selectedMessages
set messageSubject to the subject of item 1 of selectedMes... |
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_char_32/zx_01_output_char_32_iterm_msg_bell.asm | meesokim/z88dk | 0 | 29374 |
INCLUDE "clib_target_cfg.asm"
SECTION code_fcntl
PUBLIC zx_01_output_char_32_iterm_msg_bell
EXTERN asm_bit_beep_raw_di
zx_01_output_char_32_iterm_msg_bell:
bit 1,(ix+7)
ret z ; if signal bell is disabled
push ix
ld hl,#((__clock_freq / 600) - 236) / 8 ; 600 Hz tone
ld d... |
intf/src/main/antlr4/imports/MonsoonPrimitivesParser.g4 | groupon/monsoon | 32 | 3466 | /*
* Copyright (c) 2016, 2017, Groupon, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of co... |
programs/oeis/072/A072176.asm | neoneye/loda | 22 | 9583 | <reponame>neoneye/loda<gh_stars>10-100
; A072176: Unimodal analog of Fibonacci numbers: a(n+1) = Sum_{k=0..floor(n/2)} A071922(n-k,k).
; 1,1,2,3,5,9,16,30,56,106,201,382,727,1384,2636,5021,9565,18222,34715,66137,126001,240052,457338,871304,1659978,3162533,6025150,11478911,21869232,41664520,79377833,151227961,288114394,... |
src/spread/init.asm | olifink/qspread | 0 | 2272 | <gh_stars>0
* Spreadsheet 29/11-91
* - main control
*
section prog
include win1_keys_qdos_sms
include win1_keys_sys
include win1_mac_oli
include win1_keys_err
include win1_spread_keys
include win1_keys_wstatus
xdef kill,rep_error,jobstart
xref cfg_colmn,cfg_rows,cfg_cwdt
xre... |
Library/Chart/Axis/axisEC.asm | steakknife/pcgeos | 504 | 22741 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Chart Library
FILE: axisEC.asm
AUTHOR: <NAME>
METHODS:
Name Description
---- -----------
FUNCTIONS:
Scope Name Description
----- ---- --... |
gcc-gcc-7_3_0-release/gcc/ada/s-tassta.adb | best08618/asylo | 7 | 4913 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
PMOO/ADA/LAB2/PARTE_1/crear_sublista_4primos.ads | usainzg/EHU | 0 | 16968 | with Es_Primo;
with Listas;
procedure Crear_Sublista_4Primos is new Listas.Crear_Sublista(Cuantos => 4, Filtro => Es_Primo); |
reo-interpreter/src/main/antlr4/nl/cwi/reo/interpret/P.g4 | kasperdokter/Reo-compiler | 9 | 5910 | grammar P;
import Tokens;
/*
* This is a grammar for predicate semantics. The current compiler
* does not use this grammar.
*/
p : '#P' p_form ;
p_form : '(' p_form ')' #p_brackets
| 'forall' p_var p_form #p_forall
| 'exists' p_var p_form #p_exists
| '!' p_form ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/alignment1.ads | best08618/asylo | 7 | 3977 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/alignment1.ads
-- { dg-do compile }
package Alignment1 is
S : Natural := 20;
pragma Volatile (S);
type Block is array (1 .. S) of Integer;
for Block'Alignment use 128;
B : Block;
end;
|
test/assembly/st_word.asm | megis7/riscy | 4 | 86235 | <gh_stars>1-10
.data
val: .word 0x12345678 0x456789ab
.text
main:
la x1, val
li x2, 0xDEADBABA
li x3, 0x8BADF00D
sw x2, 0(x1)
sw x3, 4(x1)
addi x1, x1, 8
sw x3, 0(x1)
addi x1, x1, -8
lw x4, 0(x1)
lw x5, 4(x1)
lw x6, 8(x1)
halt: beq x0, x0, halt
|
ASM/src/chus_in_logic.asm | SenpaiGFM/OoT-Randomizer | 0 | 82526 | ; 0x00E2D714 (bombchu bowling hook)
logic_chus__bowling_lady_1:
; Change Bowling Alley check to Bombchus or Bomb Bag (Part 1)
lw at, BOMBCHUS_IN_LOGIC
beq at, r0, @@logic_chus_false
nop
@@logic_chus_true:
lb t7, lo(0x8011A64C)(t7)
li t8, 0x09; Bombchus
beq t7, t8, @@re... |
programs/oeis/082/A082908.asm | jmorken/loda | 1 | 12940 | ; A082908: Largest value of gcd(2^n, binomial(n,j)) with j=0..n-1; maximal value of largest power of 2 dividing binomial(n,j) in the n-th row of Pascal's triangle.
; 1,1,2,1,4,2,4,1,8,4,8,2,8,4,8,1,16,8,16,4,16,8,16,2,16,8,16,4,16,8,16,1,32,16,32,8,32,16,32,4,32,16,32,8,32,16,32,2,32,16,32,8,32,16,32,4,32,16,32,8,32,16... |
Irvine/Examples/ch14/Hello.asm | alieonsido/ASM_TESTING | 0 | 242416 | ; Hello World Program (Hello.asm)
.MODEL small
.STACK 100h
.386
.data
message BYTE "Hello, world!",0dh,0ah
.code
main PROC
mov ax,@data ; initialize DS
mov ds,ax
mov ah,40h ; write to file/device
mov bx,1 ; output handle
mov cx,SIZEOF message ; number of bytes
mov dx,OFFSET message ; addr ... |
asm/6502/test/keyb.asm | rampa069/clc88 | 1 | 12299 | icl '../os/symbols.asm'
org BOOTADDR
lda #0
ldy #0
ldx #OS_SET_VIDEO_MODE
jsr OS_CALL
next_frame:
lda FRAMECOUNT
wait:
cmp FRAMECOUNT
beq wait
jsr keybscan
jmp next_frame
keybscan:
mwa DISPLAY_START VRAM_TO_RAM
jsr lib_vram_to_ram
lda #0
sta KSTAT
sta SCREENPOS
next_reg:
ldy KS... |
MSDOS/Virus.MSDOS.Unknown.nekorb.asm | fengjixuchui/Family | 3 | 104175 | <reponame>fengjixuchui/Family
; ------------------------------------------------------------------------- ;
; Nekorb v1.5 coded by KilJaeden of the Codebreakers 1998 ;
; ------------------------------------------------------------------------- ;
; Description: `-------------------| Started: 10/06/98 |... |
gfx/pokemon/slowking/anim_idle.asm | Dev727/ancientplatinum | 28 | 242970 | <filename>gfx/pokemon/slowking/anim_idle.asm
frame 1, 07
frame 2, 50
endanim
|
programs/oeis/014/A014017.asm | neoneye/loda | 22 | 5980 | ; A014017: Inverse of 8th cyclotomic polynomial.
; 1,0,0,0,-1,0,0,0,1,0,0,0,-1,0,0,0,1,0,0,0,-1,0,0,0,1,0,0,0,-1,0,0,0,1,0,0,0,-1,0,0,0,1,0,0,0,-1,0,0,0,1,0,0,0,-1,0,0,0,1,0,0,0,-1,0,0,0,1,0,0,0,-1,0,0,0,1,0,0,0,-1,0,0,0,1,0,0,0,-1,0,0,0,1,0,0,0,-1,0,0,0,1,0,0,0
lpb $0
mod $0,8
lpe
lpb $0
sub $1,$0
dif $0,4
ad... |
src/util/sprite/mouse.asm | olifink/qspread | 0 | 102761 | ;Sprite source code generated with EASYSOURCE 1991 <NAME> Software
;**************************************************************************
; -> asm_spr_ <- 1992 Jun 13 12:43:09
section sprite
xdef mes_mous
mes_mous
sp1
dc.w $0100,$0000 ;form, time/adaption
... |
Bin/darwin/openprefs.scpt | hickinbottoms/slimserver | 2 | 3648 | <filename>Bin/darwin/openprefs.scpt
tell application "System Preferences"
set current pane to pane id "com.slimdevices.slim"
activate
end tell
|
projects/batfish/src/main/antlr4/org/batfish/grammar/f5_bigip_structured/F5BigipStructured_net.g4 | loftwah/batfish | 0 | 5568 | parser grammar F5BigipStructured_net;
import
F5BigipStructured_common, F5BigipStructured_bgp, F5BigipStructured_prefix_list, F5BigipStructured_route_map;
options {
tokenVocab = F5BigipStructuredLexer;
}
bundle_speed
:
FORTY_G
| ONE_HUNDRED_G
;
net_interface
:
INTERFACE name = word BRACE_LEFT
(
NEWLINE... |
libsrc/target/sv8000/stdio/generic_console.asm | Frodevan/z88dk | 640 | 240441 | ;
; SV-8000 supports 16x32 screen + 256x192?
SECTION code_clib
PUBLIC generic_console_cls
PUBLIC generic_console_scrollup
PUBLIC generic_console_printc
PUBLIC generic_console_set_ink
PUBLIC generic_console_set_paper
PUBLIC generic... |
grammar/goscript.g4 | lw396285v/expr_go | 5 | 1880 | grammar goscript;
TYPEDEF: 'type';
MESSAGE: 'message';
ENUM: 'enum';
MAP: 'map';
ONEOF: 'oneof';
NEW: 'new';
// basic type name
UINT32: 'uint32';
UINT64: 'uint64';
INT32: 'int32';
INT64: 'int64';
FLOAT32: 'float32';
FLOAT64: 'float64';
STRING: 'string';
BYTES: 'bytes';
BOOL: 'bool';
UINT8: 'uint8';
CHAN: 'chan';
ANY:... |
examples/asm_3/int1ch.asm | amindlost/dos32a | 5 | 169971 | <reponame>amindlost/dos32a
;
; Copyright (C) 1996-2002 Supernar Systems, Ltd. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are
; met:
;
; 1. Redistributions of source code must retain the abov... |
LM/Aula5/Lista3/ex7.asm | Kw-Vinicius/Linguagem-de-Montagem- | 0 | 95233 | <filename>LM/Aula5/Lista3/ex7.asm
;--------------------------------------------------------------------------------------------
;7. Faça um programa que inverta um frase. O programa deve tomar como entrada uma
;“string” contendo um frase e deve exibir a frase invertida. Por exemplo, para a entrada
;“ Isto é uma frase ... |
maps/CopycatsHouse2F.asm | Dev727/ancientplatinum | 28 | 8447 | object_const_def ; object_event constants
const COPYCATSHOUSE2F_COPYCAT1 ; if player is male
const COPYCATSHOUSE2F_DODRIO
const COPYCATSHOUSE2F_FAIRYDOLL ; lost item
const COPYCATSHOUSE2F_MONSTERDOLL
const COPYCATSHOUSE2F_BIRDDOLL
const COPYCATSHOUSE2F_COPYCAT2 ; if player is female
CopycatsHouse2F_MapScripts:
... |
programs/oeis/004/A004482.asm | karttu/loda | 0 | 94500 | <gh_stars>0
; A004482: Tersum n + 1 (answer recorded in base 10).
; 1,2,0,4,5,3,7,8,6,10,11,9,13,14,12,16,17,15,19,20,18,22,23,21,25,26,24,28,29,27,31,32,30,34,35,33,37,38,36,40,41,39,43,44,42,46,47,45,49,50,48,52,53,51,55,56,54,58,59,57,61,62
mov $1,$0
mul $0,2
sub $0,1
mod $0,3
mov $2,$0
lpb $2,1
add $1,3
trn $2... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i9-9900K_12_0xa0.log_8_1359.asm | ljhsiun2/medusa | 9 | 101568 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i9-9900K_12_0xa0.log_8_1359.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x4e62, %r14
nop
nop
and $45091, %r11
movl $... |
archive/agda-1/UnifyMgu.agda | m0davis/oscar | 0 | 9953 |
module UnifyMgu where
open import UnifyTerm
open import Data.Product using (∃; _,_)
open import Data.Maybe using (Maybe; just; nothing)
open import Category.Monad using (RawMonad)
import Level
open RawMonad (Data.Maybe.monad {Level.zero})
amgu : ∀ {m} (s t : Term m) (acc : ∃ (AList m)) -> Maybe (∃ (AList m))
amgu l... |
test/Fail/Issue3491.agda | shlevy/agda | 1,989 | 4625 |
data _≡_ {ℓ}{A : Set ℓ} (x : A) : A → Set ℓ where
refl : x ≡ x
record Box (B : Set) : Set₁ where
constructor box
field
unbox : B
open Box public
=box :{B : Set}{Γ₀ Γ₁ : Box B} → _≡_ {A = B} (unbox Γ₀) (unbox Γ₁) → Γ₀ ≡ Γ₁
=box {b} {box unbox} {box .unbox} refl = ?
-- WAS: internal error at src/full/Agda... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic5.ads | best08618/asylo | 7 | 8122 | with Unchecked_Conversion;
package Atomic5 is
type Byte is mod 2 ** 8;
for Byte'Size use 8;
type Unsigned_32 is mod 2 ** 32;
for Unsigned_32'Size use 32;
type R is record
A,B,C,D : Byte;
end record;
for R'Alignment use 4;
pragma Atomic (R);
function Conv is new Unchecked_Conversion (R, Unsign... |
src/main.adb | zdimension/tdinfo302 | 0 | 16790 | <filename>src/main.adb
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
procedure Main is
function Est_Bissextile (Annee : Integer) return Boolean is
begin
return (Annee Mod 4 = 0 And Annee Mod 100 /= 0) Or Annee Mod 400 = 0;
end Est_Bissextile;
Annee : Int... |
release/src/router/gmp/source/mpn/x86/mul_basecase.asm | zhoutao0712/rtn11pb1 | 184 | 172444 | <gh_stars>100-1000
dnl x86 mpn_mul_basecase -- Multiply two limb vectors and store the result
dnl in a third limb vector.
dnl Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software
dnl Foundation, Inc.
dnl
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can... |
engine/start_menu.asm | ISSOtm/Aevilia-GB | 53 | 88849 | <reponame>ISSOtm/Aevilia-GB
SECTION "Start menu", ROMX
; If this isn't a power of two things will probably fail. Hard.
INTERLEAVE_SPEED equ 8
; Value at which it should end (mov -> fix) or start (fix -> mov)
INTERLEAVE_LAST equ $C0
InterleaveFromMovableToFixed::
ld hl, rNR51 ; L/R connectors
xor a
... |
mc-sema/validator/x86/tests/FDIVR_F64m.asm | randolphwong/mcsema | 2 | 169546 | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_FPU_C1|FLAG_FPU_PE
;TEST_FILE_META_END
; set up st0 to be 3.141593
FLDPI
FLD1
;TEST_BEGIN_RECORDING
lea edi, [esp-08]
FSTP qword [edi]
FDIVR qword [edi]
mov edi, 0
;TEST_END_RECORDING
|
std/macros.asm | SuperFola/project-E | 16 | 241845 | <filename>std/macros.asm
%ifndef proj_e_macros_asm
%define proj_e_macros_asm
; --------------------------
; Strings
; --------------------------
%macro print 1
push si
mov si, %1
call proj_e_print
pop si
%endmacro
%macro printhex 1
mov ax, %1
call proj_e_print_hex
%endmacro
%... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.