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 |
|---|---|---|---|---|
test/Succeed/LevelMetaLeqZero.agda | cruhland/agda | 1,989 | 8132 | <gh_stars>1000+
-- Andreas, 2016-09-28, solve _ <= lzero.
-- {-# OPTIONS -v tc.conv.nat:40 #-}
open import Common.Level
data C : Set₁ where
c : Set _ → C -- This meta should be solved to lzero.
-- ERROR WAS:
-- Failed to solve the following constraints:
-- [0] lsuc _0 =< lsuc lzero
-- REASON:
-- Non-canonical ... |
P6/data_P6_2/cal_R_test14.asm | alxzzhou/BUAA_CO_2020 | 1 | 169867 | <reponame>alxzzhou/BUAA_CO_2020
lui $1,62327
ori $1,$1,30880
lui $2,19989
ori $2,$2,27231
lui $3,17034
ori $3,$3,50895
lui $4,60761
ori $4,$4,21602
lui $5,53183
ori $5,$5,54133
lui $6,1940
ori $6,$6,31066
mthi $1
mtlo $2
sec0:
nop
nop
nop
xor $2,$6,$2
sec1:
nop
nop
sltu $2,$2,$5
xor $4,$6,$2
sec2:
nop
nop
an... |
DragonQuestKeyPusher.applescript | yuishihara/DQ11AutoCasinoPlayer | 0 | 3898 | activate application "RemotePlay"
repeat while true
tell application "System Events"
key code 36
delay 0.4
end tell
end repeat
|
136/ada/greet2.adb | notdb/LC-Practice | 0 | 23456 | <reponame>notdb/LC-Practice<filename>136/ada/greet2.adb
with Ada.Text_IO; use Ada.Text_IO;
procedure Greet2 is
begin
loop
Put_Line ("Please enter your name: ");
declare
Name : String := Get_Line;
-- ^ Call to the Get_Line function
begin
exit when Name = "";
Put_line ("Hi " &... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_957.asm | ljhsiun2/medusa | 9 | 19349 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1e66b, %r9
nop
nop
nop
inc %r8
mov $0x6162636465666768, %rdi
movq %rdi, %xmm4
vmovups %ymm4, (%r9)
nop
nop
cmp %rdi, %rdi
lea addresses_D_ht+0xcfbf, ... |
test_64.asm | ValeryPiashchynski/asm_playground | 0 | 85847 | global start
section .text
start:
mov rax, 0x2000004 ; write
mov rdi, 1 ; stdout
mov rsi, msg
mov rdx, msg.len
syscall
mov rax, 0x2000001 ; exit
mov rdi, 0
syscall
section .data
msg: db "Hello, world!", 10
.len: equ $ - msg |
programs/oeis/138/A138033.asm | neoneye/loda | 22 | 23234 | ; A138033: a(n) = max_{ 1 <= i <= n-1 } min{ wt(i), wt(n-i) }, where wt() = A000120() is the binary weight function; a(1) = 0 by convention.
; 0,1,1,1,1,2,1,2,2,2,2,2,2,3,2,2,2,3,2,3,3,3,2,3,3,3,3,3,3,4,2,3,3,3,3,3,3,4,3,3,3,4,3,4,4,4,3,3,3,4,3,4,4,4,3,4,4,4,4,4,4,5,3,3,3,4,3,4,4,4,3,4,4,4,4,4,4,5,3,4,4,4,4,4,4,5,4,4,4... |
programs/oeis/337/A337110.asm | neoneye/loda | 22 | 102472 | <reponame>neoneye/loda<gh_stars>10-100
; A337110: Number of length three 1..n vectors that contain their geometric mean.
; 1,2,3,10,11,12,13,20,33,34,35,42,43,44,45,64,65,78,79,86,87,88,89,96,121,122,135,142,143,144,145,164,165,166,167,198,199,200,201,208,209,210,211,218,231,232,233,252,289,314,315,322,323,336,337,344,... |
test/Succeed/Issue2322.agda | alhassy/agda | 3 | 14337 | <filename>test/Succeed/Issue2322.agda
open import Agda.Builtin.Coinduction
open import Agda.Builtin.Equality
record Reveal_·_is_ {A : Set} {B : A → Set}
(f : (x : A) → B x) (x : A) (y : B x) :
Set where
constructor [_]
field eq : f x ≡ y
inspect : {A : Set} {B : A → Set}
... |
oeis/282/A282718.asm | neoneye/loda-programs | 11 | 102511 | <reponame>neoneye/loda-programs
; A282718: Satisfies the tribonacci recurrence: a(n) = a(n-1) + a(n-2) + a(n-3).
; Submitted by <NAME>
; 0,1,3,4,7,13,24,44,81,149,274,504,927,1705,3136,5768,10609,19513,35890,66012,121415,223317,410744,755476,1389537,2555757,4700770,8646064,15902591,29249425,53798080,98950096,181997601,... |
src/CF/Transform/Compile/Expressions.agda | ajrouvoet/jvm.agda | 6 | 1629 | {-# OPTIONS --safe --no-qualified-instances #-}
module CF.Transform.Compile.Expressions where
open import Function using (_∘_)
open import Level
open import Data.Unit
open import Data.Bool
open import Data.Product as P
open import Data.List as L hiding (null; [_])
open import Data.List.Membership.Propositional
open im... |
src/main/resources/project-templates/aws_web_server_blocks/src/@_project_name_@-web_blocks.adb | WinterAlexander/Ada-IntelliJ | 17 | 2252 |
with WBlocks.Widget_Counter;
package body @_Project_Name_@.Web_Blocks is
--------------------
-- Widget_Counter --
--------------------
procedure Widget_Counter
(Request : in Status.Data;
Context : not null access Web_Block.Context.Object;
Translations : in out ... |
code/dbconsent/src/dbconsent/PostgreSQLParser/PostgreSQLParser.g4 | georgeKon/enabling-personal-consent | 1 | 2344 | <reponame>georgeKon/enabling-personal-consent<gh_stars>1-10
// The MIT License
// Copyright 2018 <NAME>
// Copyright 2018 <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 r... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_330.asm | ljhsiun2/medusa | 9 | 26844 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_330.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x17bd2, %r15
nop
nop
add $42604, %r14
mov (%r15), %r13d
nop
nop
and %r13, %r13
lea addresses_UC... |
src/shaders/post_processing/gen5_6/nv12_load_save_nv12.asm | martin-kokos/intel-vaapi-driver | 192 | 90999 | // Module name: NV12_LOAD_SAVE_NV12
.kernel NV12_LOAD_SAVE_NV12
.code
#include "SetupVPKernel.asm"
#include "Multiple_Loop_Head.asm"
#include "NV12_Load_8x4.asm"
#include "PL8x4_Save_NV12.asm"
#include "Multiple_Loop.asm"
END_THREAD // End of Thread
.end_code
.end_kernel
// end of nv12_load_save_nv12.as... |
Snippets/Auto Save.applescript | rogues-gallery/applescript | 360 | 2119 |
tell application "Microsoft Word"
activate
tell application "System Events"
key code 1 using command down
return 600
end tell
end tell
|
1A/S6/Architecture/TPs/TP3_4/reverse_polish_notation.asm | MOUDDENEHamza/ENSEEIHT | 4 | 85231 | //-----------------------------------------------------------------------------------------
// Implements the reverse polish notation
//
// @author <NAME>
//-----------------------------------------------------------------------------------------
set 0x200, %r29 // Initialize the stack
set Exp... |
test/Hit.agda | mchristianl/synthetic-reals | 3 | 16550 | <reponame>mchristianl/synthetic-reals
{-# OPTIONS --cubical --no-import-sorts #-}
module Hit where
-- open import Cubical.Core.Everything
open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ)
-- open import Cubical.Foundations.Equiv.HalfAdjoint
-- open import Cubical.Data.Sigma.Properties
-- https://en.w... |
programs/oeis/010/A010733.asm | karttu/loda | 1 | 27238 | <filename>programs/oeis/010/A010733.asm
; A010733: Period 2: repeat (8,10).
; 8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10,8,10
mov $1,$0
mul $1,2
mod $1,4
add $1,8
|
pstl/src/main/antlr4/org/apache/spark/sql/catalyst/parser/pstl/PstlSqlBase.g4 | gridgentoo/PSTL | 0 | 2676 | <reponame>gridgentoo/PSTL<gh_stars>0
/*
* (c) Copyright [2018] Micro Focus or one of its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/... |
alloy4fun_models/trashltl/models/4/3cE2weNqJTa3fkcBt.als | Kaixi26/org.alloytools.alloy | 0 | 4705 | <gh_stars>0
open main
pred id3cE2weNqJTa3fkcBt_prop5 {
some f : File | eventually f in Trash
}
pred __repair { id3cE2weNqJTa3fkcBt_prop5 }
check __repair { id3cE2weNqJTa3fkcBt_prop5 <=> prop5o } |
libsrc/oz/ozserial/ozgetrxhandshaking.asm | jpoikela/z88dk | 640 | 22016 | ;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by <NAME>
; by <NAME> - Oct. 2003
;
; Serial libraries
; buffered serial input
;
; ------
; $Id: ozgetrxhandshaking.asm,v 1.3 2016-06-27 21:25:36 dom Exp $
;
SECTION code_clib
PUBLIC ozgetrxhandshaking
PUBLIC _ozgetrxhandshaking
EXTERN serial_... |
outros/inputCompare.asm | MarianaFRocha/Calculadora-Assembly | 0 | 83968 | sys_Exit equ 1 ;id codigos del sistema
extern printf
section .data
formatoChar: db '%c', 0AH,0
formatoDec: dq '%d', 0AH,0
formatoStr: db '%s', 0AH, 0
mayus: db "Convert MAYUS", 0AH,0
minus: db "Convert MINUS", 0AH,0
tipoCnvs: db "2",0x0A
section .bss
section .text
global main
_exit:
mov rax, 1 ... |
src/LibraBFT/Impl/Consensus/ConsensusTypes/Properties/QuorumCert.agda | LaudateCorpus1/bft-consensus-agda | 0 | 614 | <reponame>LaudateCorpus1/bft-consensus-agda
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2021, 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 LibraBFT.Base.Types
i... |
programs/oeis/020/A020544.asm | neoneye/loda | 22 | 9343 | ; A020544: Second Bernoulli polynomial evaluated at x=n! (multiplied by 6).
; 1,1,13,181,3313,85681,3106081,152379361,9753972481,790089189121,79009114867201,9560105293939201,1376655193941350401,232654728224433715201,45600326738788914892801,10260073516337350497792001,2626578820184244778524672001
seq $0,142 ; Factorial ... |
programs/oeis/062/A062561.asm | karttu/loda | 1 | 164441 | ; A062561: a(n) = 3*binomial(2*n, n-1).
; 0,3,12,45,168,630,2376,9009,34320,131274,503880,1939938,7488432,28973100,112326480,436268025,1697168160,6611884290,25792489800,100734001830,393847225200,1541374822260,6037849200240,23671113341850,92873098607328,364645980108900,1432653539627856,5632217624196324
mov $1,$0
sub $0... |
source/RunCommand/RunTerminalCommand.applescript | xinthink/PopClip-Extensions-1 | 1 | 3623 | tell application "Terminal"
activate
do script "{popclip text}"
end tell |
source/streams/a-teiona.ads | ytomino/drake | 33 | 8459 | <filename>source/streams/a-teiona.ads
pragma License (Unrestricted);
-- implementation unit
with Ada.Naked_Text_IO;
package Ada.Text_IO.Naked is
function Non_Controlled (File : File_Type)
return not null access Naked_Text_IO.Non_Controlled_File_Type;
pragma Inline (Non_Controlled); -- renamed
private
... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0xca_notsx.log_21829_432.asm | ljhsiun2/medusa | 9 | 90457 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1bc90, %r8
nop
nop
nop
nop
nop
and $6949, %rsi
movl $0x61626364, (%r8)
nop
nop
nop
dec %rcx
lea addresses_normal_ht+0xaa10, %r15
nop
nop
nop
and %rdi, %rdi
mov (%r15), %ebp
n... |
oeis/238/A238649.asm | neoneye/loda-programs | 11 | 19315 | ; A238649: Number of (n+2) X (3+2) 0..1 arrays with no element equal to all horizontal neighbors or equal to all vertical neighbors, and new values 0..1 introduced in row major order.
; Submitted by <NAME>
; 3,18,51,189,630,2187,7473,25692,88119,302511,1038144,3563151,12228903,41971050,144048471,494389041,1696791534,58... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array19.adb | best08618/asylo | 7 | 6479 | <reponame>best08618/asylo
-- { dg-do compile }
package body Array19 is
function N return Integer is
begin
return 1;
end;
type Array_Type is array (1 .. N) of Float;
type Enum is (One, Two);
type Rec (D : Enum := Enum'First) is record
case D is
when One => null;
when ... |
tut.fi/cpu.subsystem.test/core_example.setup/1.0/src/branchProgram.asm | berigei/ipxactexamplelib | 13 | 11998 | nop
set 4 1
set 3 0x7 @start
minus 3 4 @target
bne target
bra start
nop
nop
end |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c97201d.ada | best08618/asylo | 7 | 1186 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c97201d.ada
-- C97201D.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
-- unlimi... |
programs/oeis/259/A259225.asm | neoneye/loda | 22 | 5250 | ; A259225: Smallest oblong number greater than or equal to n.
; 0,2,2,6,6,6,6,12,12,12,12,12,12,20,20,20,20,20,20,20,20,30,30,30,30,30,30,30,30,30,30,42,42,42,42,42,42,42,42,42,42,42,42,56,56,56,56,56,56,56,56,56,56,56,56,56,56,72,72,72,72,72,72,72,72,72,72
lpb $0
add $2,2
trn $0,$2
add $1,$2
lpe
mov $0,$1
|
Engine/Sound/PlayDPCM8kHz.asm | wide-dot/thomson-to8-game-engine | 11 | 89454 | <filename>Engine/Sound/PlayDPCM8kHz.asm
* ---------------------------------------------------------------------------
* PlayDPCM8kHz
* -------------
* Subroutine to play a Delta PCM sample at 8kHz
* 6 bit DAC sample value is encoded as a 4bit lookup value in a delta table
* 125 cycles between 2 DAC samples
*
* No IRQ h... |
libxwidget/src/button.asm | ssebs/xos | 15 | 87815 |
;; xOS -- libxwidget 1
;; Copyright (c) 2017 by <NAME>.
use32
;
; typedef struct button_component
; {
; u8 id; // XWIDGET_CPNT_BUTTON
; u32 text; // pointer
; u16 x;
; u16 y;
; u8 reserved[247];
; } button_component;
;
; xwidget_create_button:
; Adds a button to the window
; In\ EAX = Window handle
; In\ CX/DX =... |
delay_prog.asm | kichMan/ATtinyDebugger | 0 | 160542 | /*
* delay_prog.asm
*
* Created: 05.07.2017 21:19:59
* Author: kich
*/
;******************************************
;*** Задержка с трехразрядным значением ***
; в данном случае в 1 сек.
;******************************************
.def Rz0 = r16
.def Rz1 = r17
.def Rz2 = r18
;*******************************... |
oeis/058/A058645.asm | neoneye/loda-programs | 11 | 23236 | ; A058645: a(n) = 2^(n-3)*n^2*(n+3).
; 0,1,10,54,224,800,2592,7840,22528,62208,166400,433664,1105920,2768896,6823936,16588800,39845888,94699520,222953472,520486912,1205862400,2774532096,6343884800,14422114304,32614907904,73400320000
mov $1,$0
lpb $0
add $0,1
add $2,$0
sub $0,2
mul $1,2
lpe
mul $1,$2
mov $0,$1
... |
oeis/040/A040211.asm | neoneye/loda-programs | 11 | 168052 | <gh_stars>10-100
; A040211: Continued fraction for sqrt(227).
; Submitted by <NAME>
; 15,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30,15,30
trn $0,1
mod $0,2
mul $0,15
add $0,15
|
src/tools.adb | Fabien-Chouteau/AGATE | 3 | 21655 | <reponame>Fabien-Chouteau/AGATE<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, <NAME> --
-- ... |
src/utilities/generic_linked_list.adb | SKNZ/BoiteMaker | 0 | 16158 | <gh_stars>0
with ada.unchecked_deallocation;
with ada.characters.latin_1;
use ada.characters.latin_1;
package body generic_linked_list is
-- Instanciation du deallocateur pour le pool d'access node_t
procedure node_unchecked_deallocation is new ada.unchecked_deallocation(node_t, node_ptr);
function creat... |
tests/src/simple_text.adb | Fabien-Chouteau/GESTE | 13 | 5724 |
with GESTE;
with GESTE.Text;
with Ada.Text_IO;
with Console_Char_Screen;
with GESTE_Fonts.FreeMono6pt7b;
procedure Simple_Text is
package Font_A renames GESTE_Fonts.FreeMono6pt7b;
package Console_Screen is new Console_Char_Screen
(Width => 42,
Height => 35,
Buffer_Size => 256,
... |
programs/oeis/126/A126446.asm | neoneye/loda | 22 | 243054 | ; A126446: Column 0 of triangle A126445; a(n) = binomial( binomial(n+2,3), n).
; 1,1,6,120,4845,324632,32468436,4529365776,840261910995,200063149171380,59473554359599446,21592914273609648996,9403538945961296957821,4838670732821812768919800,2904538537066424425438417800,2011833832070058843657188795040,1592750845170051165... |
FlaxVM/bin/Debug/Examples/BitShift.asm | DreamVB/FlaxVM | 0 | 170288 | # SHL SHR
#Bitshift left
PUSH 4
PUSH 2
SHL
SYS 3
call FuncCr
#Shift right
PUSH 4
PUSH 128
SHR
SYS 3
CALL FuncCr
HLT
FuncCr:
PUSH 10
SYS 4
POP
RET
|
Altair101/asm/programs/pPrintChars.asm | tigerfarm/arduino | 2 | 18286 | <reponame>tigerfarm/arduino<gh_stars>1-10
; --------------------------------------
; Print printable ASCII characters: pPrintChars.asm
;
; ASCII character set:
... |
Structure/Categorical/Names.agda | Lolirofle/stuff-in-agda | 6 | 15059 | module Structure.Categorical.Names where
import Lvl
open import Functional using (const ; swap)
open import Logic
open import Structure.Setoid
import Structure.Operator.Names as Names
import Structure.Relator.Names as Names
open import Type
private variable ℓₒ ℓₘ ℓₑ : Lvl.Level
private variable Obj : T... |
unittests/ASM/PrimaryGroup/2_D0_02.asm | cobalt2727/FEX | 628 | 84570 | <filename>unittests/ASM/PrimaryGroup/2_D0_02.asm
%ifdef CONFIG
{
"RegData": {
"RBX": "0x03",
"RCX": "0x02",
"RDX": "0x81",
"RSI": "0x00",
"R8": "0x0",
"R9": "0x0",
"R10": "0x0",
"R11": "0x1"
}
}
%endif
mov rbx, 0x01
mov rcx, 0x01
mov rdx, 0x40
mov rsi, 0x80
stc
rcl bl, 1
lahf
mov... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_180.asm | ljhsiun2/medusa | 9 | 166836 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xc8aa, %rdi
clflush (%rdi)
nop
nop
nop
nop
sub %rbx, %rbx
mov (%rdi), %r15d
nop
nop
nop
nop
nop
xor $15361, %r10
lea addresses_UC_ht+0x6442, %rsi
lea addresses_WT_ht+0x1720, %r... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_2895_1104.asm | ljhsiun2/medusa | 9 | 166364 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1adaa, %rbx
nop
nop
nop
inc %rcx
vmovups (%rbx), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $0, %xmm0, %r9
nop
nop
nop
nop
and $6888, %r14
lea addresses_UC_ht+... |
windows32/arraySearch.asm | joncardasis/Assembly-ArraySearch | 0 | 14500 | ; Program Name: Assignment 3 - Array Load and Search
; Programmer Name: <NAME>
; Description: Takes input for a collection of positive integers and stored them into an array of
; doublewords (maximum of 10 elements). Any number n<=0 can be used to stop reading input
; values for the array. Th... |
examples/simple-lib/Lib/Vec.agda | asr/agda-kanso | 1 | 5034 | <filename>examples/simple-lib/Lib/Vec.agda
module Lib.Vec where
open import Lib.Prelude
open import Lib.Nat
open import Lib.Fin
infixr 40 _::_ _++_
data Vec (A : Set) : Nat -> Set where
[] : Vec A 0
_::_ : forall {n} -> A -> Vec A n -> Vec A (suc n)
_++_ : {A : Set}{n m : Nat} -> Vec A n -> Vec A m -> Vec A ... |
ada_gui-gnoga-server-connection-common.ads | jrcarter/Ada_GUI | 19 | 25741 | <reponame>jrcarter/Ada_GUI
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1614.asm | ljhsiun2/medusa | 9 | 168250 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xbd6d, %rdx
clflush (%rdx)
nop
add %r8, %r8
movb $0x61, (%rdx)
nop
nop
nop
nop
dec %r10
lea addresses_UC_ht+0x8c45, %rsi
nop
nop
nop
and $41734, %... |
source/network-managers-tcp_v4.ads | reznikmm/network | 1 | 19418 | -- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package Network.Managers.TCP_V4 is
procedure Register (Manager : in out Network.Managers.Manager);
private
type Protocol is new Network.Managers.Protocol with rec... |
oeis/156/A156577.asm | neoneye/loda-programs | 11 | 242799 | ; A156577: a(2*n+2) = 10*a(2*n+1), a(2*n+1) = 10*a(2*n) - 9^n*A000108(n), a(0) = 1.
; Submitted by <NAME>
; 1,9,90,891,8910,88938,889380,8890155,88901550,888923646,8889236460,88889884542,888898845420,8888918303988,88889183039880,888889778505099,8888897785050990,88888916293698870,888889162936988700,8888889745731469482,8... |
programs/oeis/224/A224915.asm | jmorken/loda | 1 | 683 | ; A224915: a(n) = Sum_{k=0..n} n XOR k where XOR is the bitwise logical exclusive-or operator.
; 0,1,5,6,22,23,27,28,92,93,97,98,114,115,119,120,376,377,381,382,398,399,403,404,468,469,473,474,490,491,495,496,1520,1521,1525,1526,1542,1543,1547,1548,1612,1613,1617,1618,1634,1635,1639,1640,1896,1897,1901,1902,1918,1919,1... |
include/sf-graphics-text.adb | Fabien-Chouteau/ASFML | 0 | 27799 | <gh_stars>0
--//////////////////////////////////////////////////////////
-- //
-- // SFML - Simple and Fast Multimedia Library
-- // Copyright (C) 2007-2009 <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 ... |
FormalAnalyzer/models/meta/cap_mediaPlayback.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 4606 |
// filename: cap_mediaPlayback.als
module cap_mediaPlayback
open IoTBottomUp
one sig cap_mediaPlayback extends Capability {}
{
attributes = cap_mediaPlayback_attr
}
abstract sig cap_mediaPlayback_attr extends Attribute {}
one sig cap_mediaPlayback_attr_playbackStatus extends cap_mediaPlayback_attr {}
{
values ... |
programs/oeis/138/A138405.asm | neoneye/loda | 22 | 175124 | <gh_stars>10-100
; A138405: a(n) = prime(n)^5 - prime(n)^2.
; 28,234,3100,16758,160930,371124,1419568,2475738,6435814,20510308,28628190,69342588,115854520,147006594,229342798,418192684,714920818,844592580,1350120618,1804224310,2073066264,3077050158,3939033754,5584051528,8587330848,10510090300,11592730134,14025505858,15... |
libsrc/time/pc88/clock.asm | jpoikela/z88dk | 640 | 167640 | <reponame>jpoikela/z88dk
;
; PC-8801 clock()
;
; Stefano 2013
;
; ------
; $Id: clock.asm $
;
SECTION code_clib
PUBLIC clock
PUBLIC _clock
EXTERN FRAMES
.clock
._clock
ld hl,(FRAMES)
ld de,(FRAMES+2)
ret
|
PIC16-ASSEMBLY/39_comparators_LDR.asm | EnesMercan/PIC-MCU-Projects | 1 | 85916 | ; ra2 pinine bagli pot reference voltage olarak kullaniliyor
; ra0 pinine bagli ldr var
; ra1 pinine bagli pot bulunuyor
; ra0 ve ra1 pinlerinin gerilimleri (ra2 referansi ile) karsilastiriliyor
; rb6 daki led ra0 ve ra2 ayni olunca yanacak
; rb7 ledi ra1 ve ra2 ayni esit olunca yanar
LIST P=16F628A
LIST P = ... |
ParserMATLABHeader/MATLABHeaderParser.g4 | dullin/MATLAB-Header-Generator | 0 | 4940 | parser grammar MATLABHeaderParser;
options { tokenVocab=MATLABHeaderLexer;}
headerDecl:
m1Line
description?
syntax
inputs?
outputs?
example?
other?
also?
EOF
;
emptyLine:
COMMENT
;
m1Line:
COMMENT UNICODE_ID SEPARATOR restOfLine emptyLine?
;
description:
textLine+ em... |
programs/oeis/010/A010197.asm | karttu/loda | 0 | 28806 | <gh_stars>0
; A010197: Continued fraction for sqrt(138).
; 11,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1
mov $1,4
mov $2,$0
gcd $2,4
pow $1,$2
lpb $0,1
mov $0,1
mul $1,2
lpe
div $1,24
add $1,1
|
wireshark-2.0.13/epan/asm_utils_win32_x86.asm | mahrukhfida/mi | 0 | 169151 | ; asm_utils_win32_x86.asm
; Functions optionally implemented in assembler
;
; Wireshark - Network traffic analyzer
; By <NAME> <<EMAIL>>
; Copyright 1998 <NAME>
;
; This program is free software; you can redistribute it and/or
; modify it under the terms of the GNU General Public License
; as published by the Free Soft... |
oeis/021/A021239.asm | neoneye/loda-programs | 22 | 84448 | ; A021239: Decimal expansion of 1/235.
; 0,0,4,2,5,5,3,1,9,1,4,8,9,3,6,1,7,0,2,1,2,7,6,5,9,5,7,4,4,6,8,0,8,5,1,0,6,3,8,2,9,7,8,7,2,3,4,0,4,2,5,5,3,1,9,1,4,8,9,3,6,1,7,0,2,1,2,7,6,5,9,5,7,4,4,6,8,0,8,5,1,0,6,3,8,2,9,7,8,7,2,3,4,0,4,2,5,5,3
add $0,1
mov $2,1
lpb $0
sub $0,1
mul $2,10
lpe
div $2,235
mov $0,$2
mod $0,... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c85014b.ada | best08618/asylo | 7 | 4619 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c85014b.ada
-- C85014B.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
-- unlimi... |
test/Bugs/Issue4755b.agda | shlevy/agda | 1,989 | 1412 | <reponame>shlevy/agda
{-# OPTIONS --rewriting #-}
open import Agda.Builtin.Unit
open import Agda.Builtin.Equality
open import Agda.Builtin.Equality.Rewrite
data Box : Set → Set₁ where
box : (A : Set) → Box A
data D (A : Set) : Set₁ where
c : A → Box A → D A
postulate
any : {A : Set} → A
one : {A : Set} → D ... |
oeis/065/A065075.asm | neoneye/loda-programs | 11 | 12662 | ; A065075: Sum of digits of the sum of the preceding numbers.
; Submitted by Jon Maiga
; 1,1,2,4,8,7,5,10,11,13,8,7,14,10,2,4,8,7,5,10,11,13,8,16,14,19,11,13,8,7,14,10,11,13,8,7,5,10,11,13,17,16,14,10,11,13,8,16,14,19,20,13,8,16,14,19,20,13,8,16,14,19,20,22,17,16,14,19,20,13,17,16,14,19,20,13,17,16,14,19,20,4,8,7,5,10,... |
alloy4fun_models/trashltl/models/18/H6hbXdjMXpbyLNznP.als | Kaixi26/org.alloytools.alloy | 0 | 661 | open main
pred idH6hbXdjMXpbyLNznP_prop19 {
always all f: Protected | eventually f in Trash implies historically f in Protected
}
pred __repair { idH6hbXdjMXpbyLNznP_prop19 }
check __repair { idH6hbXdjMXpbyLNznP_prop19 <=> prop19o } |
tests/lr35902/LR35902_syntax_by_neo.asm | fengjixuchui/sjasmplus | 220 | 3662 | ;; Sharp LR35902 - various syntax variants provided by NEO SPECTRUMAN
;; https://zx-pk.ru/threads/30314-sjasmplus-ot-z00m.html?p=1028186&viewfull=1#post1028186
;; Syntax examples are from IDA (disassembler), bgb (emulator) and GameBoy CPU Manual
;; also cross-checked with http://www.pastraiser.com/cpu/gameboy/gameboy_o... |
programs/oeis/005/A005718.asm | karttu/loda | 1 | 29836 | ; A005718: Quadrinomial coefficients: C(2+n,n) + C(3+n,n) + C(4+n,n).
; 3,12,31,65,120,203,322,486,705,990,1353,1807,2366,3045,3860,4828,5967,7296,8835,10605,12628,14927,17526,20450,23725,27378,31437,35931,40890,46345,52328,58872,66011,73780,82215,91353,101232,111891,123370,135710,148953,163142,178321,194535,211830,230... |
archs/fences_as_relations/exec_H.als | mpardalos/memalloy | 20 | 2943 | <reponame>mpardalos/memalloy
module exec_H[E]
open exec[E]
sig Exec_H extends Exec {
}{
// there are no fence events (only fence relations)
no F
// control dependencies are defined differently in assembly
cd.sb in cd
}
pred is_fence_rel[fence_rel:E->E, sb:E->E] {
// Consistent with program order
fen... |
oeis/192/A192838.asm | neoneye/loda-programs | 11 | 161657 | ; A192838: Molecular topological indices of the prism graphs Y_n.
; Submitted by <NAME>(s2)
; 24,84,180,360,600,972,1428,2064,2808,3780,4884,6264,7800,9660,11700,14112,16728,19764,23028,26760,30744,35244,40020,45360,51000,57252,63828,71064,78648,86940,95604,105024,114840,125460,136500,148392,160728,173964,187668,202320... |
gcc-gcc-7_3_0-release/gcc/ada/sem_res.ads | best08618/asylo | 7 | 29773 | <reponame>best08618/asylo<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
libsrc/_DEVELOPMENT/adt/wv_priority_queue/c/sdcc_ix/wv_priority_queue_push_callee.asm | jpoikela/z88dk | 640 | 102978 | <filename>libsrc/_DEVELOPMENT/adt/wv_priority_queue/c/sdcc_ix/wv_priority_queue_push_callee.asm<gh_stars>100-1000
; int wv_priority_queue_push_callee(wv_priority_queue_t *q, void *item)
SECTION code_clib
SECTION code_adt_wv_priority_queue
PUBLIC _wv_priority_queue_push_callee, l0_wv_priority_queue_push_callee
EXTER... |
r5asm/test/module5.asm | walter-artica/r5asm | 0 | 86694 | .code
start:
mov R1, -4
mov R2, -8
mov R3, -12
loop:
ldw R0, R1, 0
stw R0, R1, 0
stw R0, R3, 0
bra start
|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_252.asm | ljhsiun2/medusa | 9 | 80843 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xc986, %r8
clflush (%r8)
dec %rsi
movw $0x6162, (%r8)
nop
nop
nop
sub %rax, %rax
lea addresses_WC_ht+0x5706, %r9
nop
sub %rdx, %rdx
vmovups (%r9), %ymm1
vextracti128 ... |
P6/data_P6_2/ALUTest36.asm | alxzzhou/BUAA_CO_2020 | 1 | 21857 | <filename>P6/data_P6_2/ALUTest36.asm
sllv $1,$3,$3
lb $1,11($0)
subu $3,$3,$3
sb $6,7($0)
ori $4,$4,48635
subu $5,$0,$3
addiu $4,$5,21771
sw $0,12($0)
lhu $3,10($0)
lw $6,4($0)
subu $6,$6,$3
subu $1,$4,$3
andi $4,$4,33306
addiu $3,$4,6516
addu $1,$0,$3
lb $6,2($0)
sltiu $4,$4,-24330
xor $3,$3,$3
slt $5,$6,$3
nor $0,$0,... |
src/Fragment/Equational/Model/Synthetic.agda | yallop/agda-fragment | 18 | 14292 | {-# OPTIONS --without-K --exact-split --safe #-}
open import Fragment.Equational.Theory
module Fragment.Equational.Model.Synthetic (Θ : Theory) where
open import Fragment.Algebra.Signature
open import Fragment.Algebra.Algebra (Σ Θ)
open import Fragment.Algebra.Free (Σ Θ)
open import Fragment.Algebra.Homomorphism (Σ ... |
src/loadPal.asm | LessNick/CLi-for-WildCommander | 8 | 93149 | ;---------------------------------------
; loadpal - loading palette
;---------------------------------------
loadGfxPal call loadPal
cp #00
jr nz,exitPal
push hl
ld a,gPalBank ; load Pal File
call setVideoPage
pop hl
ld de,gPalAddr ; сохраняем загруженную палитру
ld bc,512
ldir
... |
programs/oeis/020/A020696.asm | neoneye/loda | 22 | 99745 | ; A020696: Let a,b,c,...k be all divisors of n; a(n) = (a+1)*(b+1)*...*(k+1).
; 2,6,8,30,12,168,16,270,80,396,24,10920,28,720,768,4590,36,31920,40,41580,1408,1656,48,2457000,312,2268,2240,104400,60,5499648,64,151470,3264,3780,3456,76767600,76,4680,4480,15343020,84,19071360,88,372600,353280,6768,96,2046681000,800,525096... |
equates.asm | sixofdloc/netlib | 0 | 176832 | <reponame>sixofdloc/netlib<gh_stars>0
;kernal routines
ACPTR = $ffa5
CHKIN = $ffc6
CHKOUT = $ffc9
CHRIN = $ffcf
CHROUT = $ffd2
CIOUT = $ffa8
CLOSE = $ffc3
GETIN = $ffe4
CLALL = $ffe7
CLRCHN = $ffcc
LISTEN = $ffb1
OPEN = $ffc0
SECOND = $ff93
SETLFS = $ffba
SETNAM = $ffbd
TALK = $ffb4
TKSA =... |
oeis/099/A099156.asm | neoneye/loda-programs | 11 | 242038 | ; A099156: a(n) = 2^(n-1)*U(n-1, 2).
; Submitted by <NAME>
; 0,1,8,60,448,3344,24960,186304,1390592,10379520,77473792,578272256,4316282880,32217174016,240472260608,1794909388800,13397386067968,99999450988544,746406063636480,5571250705137664,41584381386555392
mov $1,1
lpb $0
sub $0,1
mul $2,2
add $1,$2
mul $1,2... |
libsrc/_DEVELOPMENT/font/font_8x8/_font_8x8_bbc_system.asm | Frodevan/z88dk | 640 | 1133 | SECTION rodata_font
SECTION rodata_font_8x8
PUBLIC _font_8x8_bbc_system
PUBLIC _font_8x8_bbc_system_end
_font_8x8_bbc_system:
IF __CPU_GBZ80__
INCLUDE "target/gb/fonts/lower.asm"
ENDIF
BINARY "font_8x8_bbc_system.bin"
_font_8x8_bbc_system_end:
|
programs/oeis/050/A050250.asm | neoneye/loda | 22 | 81641 | <filename>programs/oeis/050/A050250.asm
; A050250: Number of nonzero palindromes less than 10^n.
; 9,18,108,198,1098,1998,10998,19998,109998,199998,1099998,1999998,10999998,19999998,109999998,199999998,1099999998,1999999998,10999999998,19999999998,109999999998,199999999998,1099999999998,1999999999998,10999999999998,199... |
oeis/159/A159240.asm | neoneye/loda-programs | 11 | 13300 | ; A159240: Numerator of Hermite(n, 5/9).
; Submitted by <NAME>
; 1,10,-62,-3860,-8468,2416600,31025080,-2038684400,-55569284720,2086442135200,101884438473760,-2361191874286400,-205169988103104320,2538457122581718400,457472566170954881920,-1182495092305788512000,-1123483286718478248185600,-8169805587928178658752000,3012... |
test/asset/agda-stdlib-1.0/Category/Applicative/Predicate.agda | omega12345/agda-mode | 0 | 15797 | <filename>test/asset/agda-stdlib-1.0/Category/Applicative/Predicate.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Applicative functors on indexed sets (predicates)
------------------------------------------------------------------------
-- Note that cu... |
oeis/186/A186511.asm | neoneye/loda-programs | 11 | 15417 | ; A186511: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) after g(j) when f(i)=g(j), where f(i)=i^2 and g(j)=-4+5j^2. Complement of A186512.
; Submitted by <NAME>
; 2,3,4,6,7,8,10,11,13,14,16,17,18,20,21,23,24,26,27,28,30,31,33,34,36,37,39,40,42,43,44,46,47,49,50,52,53,55,56,57,59,60,62,63,65,66,68,69,70,... |
Library/Config/Toc/tocCategory.asm | steakknife/pcgeos | 504 | 8186 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: tocCategory.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
TocLockCategoryArray Return the cat... |
audio/sfx/vine_whip.asm | AmateurPanda92/pokemon-rby-dx | 9 | 5976 | SFX_Vine_Whip_Ch7:
noisenote 1, 12, 2, 51
noisenote 2, 15, 2, 33
noisenote 1, 14, 2, 51
noisenote 1, 12, 2, 50
noisenote 1, 9, 2, 18
noisenote 1, 11, 2, 49
noisenote 12, 9, 1, 16
noisenote 8, 15, 2, 65
endchannel
|
agda-stdlib/README/Nary.agda | DreamLinuxer/popl21-artifact | 5 | 11614 | <filename>agda-stdlib/README/Nary.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Examples showing how the generic n-ary operations the stdlib provides
-- can be used
------------------------------------------------------------------------
{-# OPTIONS --... |
Examples/ch05/RevStr.asm | satadriver/LiunuxOS | 0 | 7615 | TITLE Program Template (RevStr.asm)
; This program reverses a string.
; Last update: 1/28/02
INCLUDE Irvine32.inc
.data
aName BYTE "<NAME>",0
nameSize = ($ - aName) - 1
.code
main PROC
; Push the name on the stack.
mov ecx,nameSize
mov esi,0
L1: movzx eax,aName[esi] ; get character
... |
vga.asm | rakettitiede/octapentaveega | 18 | 422 | <filename>vga.asm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; 32 x 16 character VGA output with UART for Attiny85. ;;
;; ... |
source/distributed/a-proces.ads | ytomino/drake | 33 | 12117 | <reponame>ytomino/drake<gh_stars>10-100
pragma License (Unrestricted);
-- extended unit
with Ada.Command_Line;
with Ada.IO_Exceptions;
with Ada.Streams.Stream_IO.Standard_Files;
private with Ada.Finalization;
private with System.Native_Processes;
package Ada.Processes is
-- Spawning child processes.
type Comma... |
programs/oeis/168/A168675.asm | karttu/loda | 1 | 243119 | ; A168675: a(n) = n^8*(n + 1)/2.
; 0,1,384,13122,163840,1171875,5878656,23059204,75497472,215233605,550000000,1286153286,2794881024,5710115047,11068417920,20503125000,36507222016,62781816969,104689625472,169835630410,268800000000,416051452971,631072545664,939731823372,1375941427200,1983642578125,2819165371776,395401351... |
gfx/pokemon/mr__mime/anim_idle.asm | Dev727/ancientplatinum | 28 | 7399 | setrepeat 2
frame 0, 06
frame 6, 06
dorepeat 1
endanim
|
oeis/208/A208148.asm | neoneye/loda-programs | 11 | 14378 | <filename>oeis/208/A208148.asm
; A208148: Number of n state 1 dimensional radius-1 totalistic cellular automata.
; 1,16,2187,1048576,1220703125,2821109907456,11398895185373143,73786976294838206464,717897987691852588770249,10000000000000000000000000000,191943424957750480504146841291811,4922235242952026704037113243122008... |
src/howard16.asm | JoshRodd/HOWARD | 0 | 148 | <filename>src/howard16.asm<gh_stars>0
_TEXT segment para public 'CODE'
org 0
assume cs:_TEXT
assume es:nothing, ss:nothing, ds:nothing
howard16:
include howard16.inc
_TEXT ends
end howard16
|
prototyping/Luau/ResolveOverloads.agda | Libertus-Lab/luau | 1 | 4353 | <gh_stars>1-10
{-# OPTIONS --rewriting #-}
module Luau.ResolveOverloads where
open import FFI.Data.Either using (Left; Right)
open import Luau.Subtyping using (_<:_; _≮:_; Language; witness; scalar; unknown; never; function-ok)
open import Luau.Type using (Type ; _⇒_; _∩_; _∪_; unknown; never)
open import Luau.TypeSa... |
source/nodes/program-nodes-with_clauses.adb | optikos/oasis | 0 | 26813 | <filename>source/nodes/program-nodes-with_clauses.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.With_Clauses is
function Create
(Limited_Token : Program.Lex... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.