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/218/A218690.asm | neoneye/loda-programs | 11 | 178850 | ; A218690: Sum_{k=0..n} C(n,k)^4*C(n+k,k)^2.
; Submitted by <NAME>
; 1,5,181,9797,616501,45778505,3678753205,314352091205,28154344881205,2612340741982505,249415797821914681,24374175871569953225,2428502737999745059381,245952659136011117909897,25260608441078125508484181,2626023605592369669830217797,2759010678962767431657... |
examples/outdated-and-incorrect/tactics/bool/Bool.agda | cruhland/agda | 1,989 | 16928 |
module Bool where
data Bool : Set where
false : Bool
true : Bool
data IsTrue : Bool -> Set where
isTrue : IsTrue true
open import Vec
open import All
allEnvs : {n : Nat} -> List (Vec Bool n)
allEnvs {zero } = ε :: []
allEnvs {suc n} = map (_►_ false) allEnvs ++ map (_►_ true) allEnvs
∈++left : {A : Set}{x ... |
asm/remove_optimization_for_freecam_ntsc.asm | Colt-Zero/spyro06-source | 0 | 18235 | <reponame>Colt-Zero/spyro06-source
.open "sys/main.dol"
; Free cam, credit goes to marius851000, NTSC translation by <NAME>(<NAME>)
.org 0x8034f59c
li r3, 1 ; 0434f59c 38600001
blr ; 0434f5a0 4e800020
.org 0x80324168
nop ; 04324168 60000000
.close |
regtests/servlet_harness.adb | My-Colaborations/ada-servlet | 6 | 17628 | -----------------------------------------------------------------------
-- servlet_harness -- Ada Servlet unit tests
-- Copyright (C) 2009, 2010, 2015, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance ... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-calcon.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 5796 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
src/System/IO/Transducers/Weight.agda | ilya-fiveisky/agda-system-io | 10 | 16895 | open import Coinduction using ( ♯_ )
open import Data.Natural using ( Natural ; # ; _+_ )
open import Data.Strict using ( Strict ; ! )
open import System.IO.Transducers.Session using ( I ; Σ ; ⟨_⟩ )
open import System.IO.Transducers.Lazy using ( _⇒_ ; inp ; out ; done )
module System.IO.Transducers.Weight where
-- We... |
specs/ada/server/ike/tkmrpc-operation_handlers-ike-tkm_version.adb | DrenfongWong/tkm-rpc | 0 | 7168 | with Tkmrpc.Servers.Ike;
with Tkmrpc.Response.Ike.Tkm_Version.Convert;
package body Tkmrpc.Operation_Handlers.Ike.Tkm_Version is
-------------------------------------------------------------------------
procedure Handle (Req : Request.Data_Type; Res : out Response.Data_Type) is
pragma Unreferenced (Req);... |
src/gen-commands-page.ads | My-Colaborations/dynamo | 15 | 22099 | <reponame>My-Colaborations/dynamo<gh_stars>10-100
-----------------------------------------------------------------------
-- gen-commands-page -- Page creation command for dynamo
-- Copyright (C) 2011, 2017, 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "... |
05/5-b/5-b blackwhitescreen.asm | AbstractXan/ComputerSystemDesignLab | 0 | 242041 | @SCREEN
D=A
@addr
M=D
@256
D=A
@n
M=D
@32
D=A
@m
M=D
@row
M=0
@21845
D=A
@oddrow
M=D
@32767
D=A
@evenrow
M=D
@10923
D=A
@evenrow
M=M+D
@i
M=0
(OUTLOOP)
@i
D=M
@n
D=D-M
@ENDOUT
D;JGE
@row
D=M
@EVENROW
D;JEQ
@oddrow
D=M
@current
M=D
@row
M=0
@ROWSTART
0;JMP
(EVENROW)
@evenrow
D=M
@curre... |
src/dds-request_reply-replier-impl.ads | persan/dds-requestreply | 0 | 6019 | with DDS.Request_Reply.Impl;
private package DDS.Request_Reply.Replier.Impl is
type Ref is limited new DDS.Request_Reply.Impl.Ref and DDS.Request_Reply.Replier.Ref with record
null;
end record;
type Ref_Access is access all Ref;
procedure Wait_For_Requests
(Self : not null access Ref;
... |
bios/sysinit2.asm | minblock/msdos | 0 | 242371 | <filename>bios/sysinit2.asm
page ,160
;
; Microsoft Confidential
; Copyright (C) Microsoft Corporation 1981-1991
; All Rights Reserved.
;
title bios system initialization
;
; Multiple configuration block support Created 16-Mar-1992 by JeffPar
;
; Summary:
;
; The procedure "organize" c... |
oeis/003/A003076.asm | neoneye/loda-programs | 11 | 26746 | ; A003076: n-th digit after decimal point of square root of n.
; Submitted by <NAME>
; 0,0,1,2,0,6,9,3,2,0,1,5,7,9,4,6,0,4,6,2,1,8,6,3,8,0,0,4,2,4,8,5,9,9,0,4,0,0,3,2,1,2,4,3,9,8,9,0,1,0,4,3,4,3,5,7,0,8,4,3,7,7,5,7,0,6,2,6,0,5,7,0,0,3,6,4,3,0,2,5,9,0,3,8,8,8,4,0,1,8,5,4,7,3,9,6,0,7,0,2
mov $2,1
mov $3,$0
add $3,8
mov ... |
Core/third_party/JavaScriptCore/jit/JITStubsMSVC64.asm | InfiniteSynthesis/lynx-native | 677 | 164048 | ;/*
; Copyright (C) 2014 Apple 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:
; 1. Redistributions of source code must retain the above copyright
; notice, this list of conditions and the... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca.log_21829_1530.asm | ljhsiun2/medusa | 9 | 162621 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1c4d7, %rcx
nop
cmp %r9, %r9
movups (%rcx), %xmm6
vpextrq $1, %xmm6, %r8
nop
nop
nop
nop
and %r11, %r11
lea addresses_WC_ht+0x9117, %r13
nop
nop
nop
inc %rsi
movups (%r13), %xm... |
oeis/007/A007987.asm | neoneye/loda-programs | 11 | 91412 | ; A007987: Number of irreducible words of length 2n in the free group with generators x,y such that the total degree of x and the total degree of y both equal zero.
; Submitted by <NAME>
; 1,0,8,40,312,2240,17280,134568,1071000,8627872,70302888,577920200,4786740112,39899052960,334391846048,2815803070920,23809393390680,... |
oeis/061/A061167.asm | neoneye/loda-programs | 11 | 9332 | ; A061167: a(n) = n^5 - n.
; 0,0,30,240,1020,3120,7770,16800,32760,59040,99990,161040,248820,371280,537810,759360,1048560,1419840,1889550,2476080,3199980,4084080,5153610,6436320,7962600,9765600,11881350,14348880,17210340,20511120,24299970,28629120,33554400,39135360,45435390,52521840,60466140,69343920,79235130,90224160,... |
programs/oeis/153/A153192.asm | karttu/loda | 1 | 172009 | <filename>programs/oeis/153/A153192.asm
; A153192: Numbers such that the numerator of floor(sqrt(n))/n, when reduced to its lowest terms, is equal to 2.
; 5,7,18,22,39,45,68,76,105,115,150,162,203,217,264,280,333,351,410,430,495,517,588,612,689,715,798,826,915,945,1040,1072,1173,1207,1314,1350,1463,1501,1620,1660,1785,... |
src/test/resources/asm/dhrystoneO3C.asm | cbrune/VexRiscv | 1,524 | 15797 | <filename>src/test/resources/asm/dhrystoneO3C.asm
build/dhrystone.elf: file format elf32-littleriscv
Disassembly of section .vector:
80000000 <crtStart>:
.global crtStart
.global main
.global irqCallback
crtStart:
j crtInit
80000000: a8ad j 8000007a <crtInit>
nop
80000002: 0001 ... |
src/Tactic/Cong.agda | L-TChen/agda-prelude | 111 | 4182 | <reponame>L-TChen/agda-prelude<gh_stars>100-1000
-- A tactic that applies congruence and symmetry of equality proofs.
-- Given a hole and a lemma it tries (in order)
-- - refl
-- - lemma
-- - sym lemma
-- - f $≡ X₁ *≡ .. *≡ Xₙ and recurses on Xᵢ
-- if the goal is f us ≡ f vs
-- Hidden and instance argum... |
libsrc/_DEVELOPMENT/stdio/z80/asm_ftell.asm | jpoikela/z88dk | 640 | 172388 |
; ===============================================================
; Jan 2014
; ===============================================================
;
; unsigned long ftell(FILE *stream)
;
; Return current file position.
;
; ===============================================================
INCLUDE "config_private.inc"
SECT... |
AlgorithmsFromTheBook/arithmeticExpressionInterpreter.asm | MateoParrado/AlgorithmsFromTheBook | 0 | 102884 | PUBLIC asm_arithmetic_expression_calculator
.386
.model flat, c
.code
;helper proc to the one below, defines the operators as special charachters -1 : -4 to be used by the tokenizer and parser
tokenize PROC
.IF byte ptr [eax] == '*'
mov ebx, -1
.ELSEIF byte ptr [eax] == '/'
mov ebx, -2
.ELSEIF byte ptr [eax]... |
programs/oeis/047/A047521.asm | karttu/loda | 1 | 29316 | <reponame>karttu/loda
; A047521: Numbers that are congruent to {0, 7} mod 8.
; 0,7,8,15,16,23,24,31,32,39,40,47,48,55,56,63,64,71,72,79,80,87,88,95,96,103,104,111,112,119,120,127,128,135,136,143,144,151,152,159,160,167,168,175,176,183,184,191,192,199,200,207,208,215,216,223,224,231,232
mov $1,$0
add $1,1
div $1,2
mul ... |
grammar/sav/PSS.g4 | PSSTools/py-pss-parser | 1 | 7281 | <reponame>PSSTools/py-pss-parser<gh_stars>1-10
/****************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regar... |
alloy4fun_models/trashltl/models/13/DWsbt7uoxgyERtetK.als | Kaixi26/org.alloytools.alloy | 0 | 2722 | open main
pred idDWsbt7uoxgyERtetK_prop14 {
all f : Trash | always (after f not in Protected)
}
pred __repair { idDWsbt7uoxgyERtetK_prop14 }
check __repair { idDWsbt7uoxgyERtetK_prop14 <=> prop14o } |
test/interaction/Issue957.agda | KDr2/agda | 0 | 955 | -- {-# OPTIONS -v impossible:100 -v tc.lhs.imp:100 #-}
-- {-# OPTIONS -v impossible:100 -v tc.cover:20 #-}
-- {-# OPTIONS --copatterns #-} -- Andreas, 2015-08-26 on by default.
module Issue957 where
open import Common.Equality
record _×_ (A B : Set) : Set where
constructor _,_
field
fst : A
snd : B
open _... |
message/generation/swift-mt-generation/repository/SR2018/grammars/SwiftMtParser_MT510.g4 | Yanick-Salzmann/message-converter-c | 0 | 7001 | <reponame>Yanick-Salzmann/message-converter-c
grammar SwiftMtParser_MT510;
@lexer::header {
#include "repository/ISwiftMtParser.h"
#include "SwiftMtMessage.pb.h"
#include <vector>
#include <string>
#include "BaseErrorListener.h"
}
@parser::header {
#include "repository/ISwiftMtParser.h"
#include "SwiftMtMessage.pb.h"... |
programs/oeis/119/A119581.asm | karttu/loda | 1 | 172321 | ; A119581: (2*n+n^2)*(binomial(2*n,n))/2.
; 0,3,24,150,840,4410,22176,108108,514800,2406690,11085360,50438388,227149104,1014058500,4493059200,19777483800,86555576160,376877404530,1633524354000,7051380128100,30326236340400,129989276677260
mov $1,$0
mov $6,$0
mul $0,2
mul $1,$6
add $1,$0
mov $3,$0
bin $3,$6
mov $4,$1
ad... |
test/NatTactic.agda | L-TChen/agda-prelude | 111 | 9399 | module NatTactic where
module _ where
open import Agda.Builtin.Nat
open import Agda.Builtin.List
-- n .. 1
downFrom : Nat → List Nat
downFrom zero = []
downFrom (suc n) = suc n ∷ downFrom n
module AgdaPreludeTest where
open import Prelude
open import Tactic.Nat
-- All tactics ... |
tier-1/gmp/source/gmp-discrete.ads | charlie5/cBound | 2 | 21551 |
private with GMP_c.mpz_t;
package GMP.discrete
--
--
--
is
type Integer is private;
-- forge
--
function to_Integer return Integer;
function to_Integer (From : long_long_Integer) return Integer;
function to_Integer (From : discrete.Integer) return Integer;
... |
notes/thesis/report/CombiningProofs/CommAddGlobalHints.agda | asr/fotc | 11 | 11430 | <gh_stars>10-100
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --without-K #-}
module CombiningProofs.CommAddGlobalHints where
open import PA.Axiomatic.Standard.Base
+-leftIdentity : ∀ n → zero + n ≡ n
+-lef... |
_build/dispatcher/jmp_ippsRSAEncrypt_PKCSv15_cc10ed28.asm | zyktrcn/ippcp | 1 | 241556 | extern m7_ippsRSAEncrypt_PKCSv15:function
extern n8_ippsRSAEncrypt_PKCSv15:function
extern y8_ippsRSAEncrypt_PKCSv15:function
extern e9_ippsRSAEncrypt_PKCSv15:function
extern l9_ippsRSAEncrypt_PKCSv15:function
extern n0_ippsRSAEncrypt_PKCSv15:function
extern k0_ippsRSAEncrypt_PKCSv15:function
extern ippcpJumpIndexForMe... |
Transynther/x86/_processed/AVXALIGN/_ht_st_zr_un_/i9-9900K_12_0xca.log_21829_1623.asm | ljhsiun2/medusa | 9 | 242656 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x6702, %r10
nop
nop
inc %r14
mov (%r10), %r8d
nop
nop
sub $22352, %rax
lea addresses_A_ht+0x17cf2, %r11
cmp $42409, %rax
mov $0x6162636465666768, %r12
movq %r12, %xm... |
Chapter1/#9.agda | CodaFi/HoTT-Exercises | 0 | 11132 | <reponame>CodaFi/HoTT-Exercises
module #9 where
{-
Define the type family Fin : N → U mentioned at the end of §1.3, and the dependent
function fmax : ∏(n:N) Fin(n + 1) mentioned in §1.4.
-}
open import Data.Nat
data Fin : ℕ → Set where
FZ : {n : ℕ} → Fin (suc n)
FS : {n : ℕ} → Fin n → Fin (suc n)
fmax : (n ... |
src/libriscv-except.ads | Fabien-Chouteau/libriscv | 0 | 28611 | <reponame>Fabien-Chouteau/libriscv
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2019, <NAME> --
-- ... |
src/grammar/mcbLexer.g4 | boon4681/mcb | 3 | 207 | lexer grammar mcbLexer;
import UnicodeClasses;
/*START HEADER GENERATED BY G4GEN*/
tokens {
COMMANDS
}
/*END HEADER GENERATED BY G4GEN*/
Comment: '//' ~[\r\n]* -> channel(HIDDEN);
WS: [\u0020\u0009\u000C] -> channel(HIDDEN);
NL: '\n' | '\r' '\n'?;
fragment Hidden: Comment | WS;
// OPERATIONS
DOT: '.';
COMMA: ',... |
src/LibraBFT/Impl/Handle/InitProperties.agda | LaudateCorpus1/bft-consensus-agda | 0 | 5111 | <reponame>LaudateCorpus1/bft-consensus-agda<gh_stars>0
{- 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 Dijkstra.E... |
so/overlay/src/test.asm | bmnascimento/von-neumann-simulator | 0 | 24442 | <gh_stars>0
; comentario
@ 10
os fff
hm
#
|
Main.asm | DevEd2/JetpackDude | 4 | 102924 | ; ================================================================
; Jetpack Dude - a Game Boy game by DevEd
; ================================================================
; Debug flag
; If set to 1, enable debugging features.
DebugFlag set 1
; ================================================================
; P... |
libsrc/z80_crt0s/z80/sccz80/l_long_and.asm | jpoikela/z88dk | 38 | 101561 | ; Z88 Small C+ Run Time Library
; Long functions
;
SECTION code_crt0_sccz80
PUBLIC l_long_and
; primary = dehl
; stack = secondary, ret
; 90 cycles
.l_long_and
pop ix
pop bc
ld a,c
and l
ld l,a
ld a,b
and h
ld h,a
pop bc
ld a,c
and e
ld e,a
... |
oeis/196/A196678.asm | neoneye/loda-programs | 11 | 92092 | <reponame>neoneye/loda-programs
; A196678: a(n) = 5*binomial(4*n+5,n)/(4*n+5).
; Submitted by <NAME>
; 1,5,30,200,1425,10626,81900,647280,5217300,42724825,354465254,2973052680,25168220350,214762810500,1845308367000,15951899986272,138638564739180,1210677947695620,10617706139119000,93477423115076000,825846068580413265,73... |
Install_iTunes_12.6_in_High_Sierra.scpt | b0gdanw/iTunes | 0 | 3897 | --Script to install iTunes 12.6.5.3 in macOS High Sierra, along iTunes 12.8.2
--Download iTunes 12.6.5.3 dmg from https://support.apple.com/kb/HT208079
set theDMG to choose file with prompt "Please select iTunes dmg file:" of type {"dmg"}
do shell script "hdiutil mount " & quoted form of POSIX path of theDMG
do shell ... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_1568.asm | ljhsiun2/medusa | 9 | 6519 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r9
push %rax
push %rbx
lea addresses_A_ht+0xc14, %rax
nop
nop
nop
add %r9, %r9
movb $0x61, (%rax)
add $8719, %rbx
pop %rbx
pop %rax
pop %r9
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r8
push %r9
push %rbp
push %rcx
push %... |
master/gr_common/core/utility/T4_src/checksum/rx/cksum_rx_little.asm | tarosay/v2wrbbfirm | 0 | 246246 | .ifdef __RX
.SECTION P,CODE
.glb __cksum
.else
.file "cksum_rx_little.asm"
.section .text.ck
.global __cksum
.endif
__cksum: ; function: _cksum
.ifdef __RX
.stack __cksum=4
.else
;uint16 _cksum(uchar *data, uint16 nbytes, uint16 sum0);
and #0ffffh,... |
src/resources/music_main.asm | h1romas4/z88dk-msx-template | 5 | 93237 | <gh_stars>1-10
; license:MIT License
; copyright-holders:<NAME>
_music_main:
DB 0
DW _music_main_trk1
DW _music_main_trk2
DW $0000
_music_main_trk1:
DB 201, %10, 200, 15 , 52 , 7 , 200, 0 , 0 , 7 , 200, 15 , 52 , 7 , 200, 0
DB 0 , 7 , 200, 15 , 52 , 7 , 200, 0 , 0 , 7 , 200, 15 ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1030.asm | ljhsiun2/medusa | 9 | 4662 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x152ed, %r12
nop
add $45369, %rax
mov $0x6162636465666768, %r13
movq %r13, (%r12)
nop
add %r14, %r14
lea addresses_normal_ht+0x1d71d, %r12
nop
nop
nop
inc %... |
bin/AppleMailLoadRemoteImages.scpt | jduprey/dotfiles | 0 | 2715 | tell application "Mail"
try
if first window is window of front message viewer then
my messageViewer()
else
my regularmessage()
end if
on error theError
my regularmessage()
end try
end tell
on messageViewer()
tell application "System Events" to tell process "Mail"
set mainWindow to the first window
... |
source/image/required/s-valuns.ads | ytomino/drake | 33 | 7512 | <reponame>ytomino/drake<filename>source/image/required/s-valuns.ads<gh_stars>10-100
pragma License (Unrestricted);
-- implementation unit required by compiler
with System.Unsigned_Types;
package System.Val_Uns is
pragma Pure;
-- required for Modular'Value by compiler (s-valuns.ads)
function Value_Unsigned (... |
programs/oeis/275/A275151.asm | jmorken/loda | 1 | 28007 | <reponame>jmorken/loda
; A275151: a(1) = 8; a(n) = 3*a(n-1) + 2*sqrt(2*a(n-1)*(a(n-1)-7)) - 7 for n > 1.
; 8,25,128,729,4232,24649,143648,837225,4879688,28440889,165765632,966152889,5631151688,32820757225,191293391648,1114939592649,6498344164232,37875125392729,220752408192128,1286639323760025,7499083534368008,437078618... |
oeis/140/A140584.asm | neoneye/loda-programs | 11 | 11991 | ; A140584: Row sums of A140583.
; 1,3,5,6,9,10,13,12,15,18,21,20,25,26
mov $1,$0
mov $2,$0
seq $2,171462 ; Number of hands a bartender needs to have in order to win at the blind bartender's problem with n glasses in a cycle.
add $1,$2
mov $0,$1
add $0,1
|
Sample/Cpu/Pentium/CpuIo/RuntimeDxe/Ia32/CpuIoAccess.asm | bitcrystal/edk | 14 | 102692 | <reponame>bitcrystal/edk<filename>Sample/Cpu/Pentium/CpuIo/RuntimeDxe/Ia32/CpuIoAccess.asm
title CpuIoAccess.asm
;------------------------------------------------------------------------------
;*
;* Copyright (c) 2005, Intel Corporation
;* All rights rese... |
oeis/022/A022357.asm | neoneye/loda-programs | 11 | 6663 | <reponame>neoneye/loda-programs
; A022357: Fibonacci sequence beginning 0, 23.
; Submitted by <NAME>
; 0,23,23,46,69,115,184,299,483,782,1265,2047,3312,5359,8671,14030,22701,36731,59432,96163,155595,251758,407353,659111,1066464,1725575,2792039,4517614,7309653,11827267,19136920,30964187,50101107,81065294,131166401,21223... |
src/swagger-streams-forms.adb | jquorning/swagger-ada | 17 | 20572 | -----------------------------------------------------------------------
-- swagger-streams-forms -- x-www-form-urlencoded streams
-- Copyright (C) 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with ... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2.log_113_205.asm | ljhsiun2/medusa | 9 | 160239 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r14
push %r9
push %rax
push %rcx
push %rdx
// Store
lea addresses_WC+0x8cec, %r10
nop
sub $61857, %r12
mov $0x5152535455565758, %rcx
movq %rcx, %xmm1
movups %xmm1, (%r10)
nop
nop
nop
nop
cmp $33050, %r1... |
oeis/190/A190970.asm | neoneye/loda-programs | 11 | 166996 | <reponame>neoneye/loda-programs
; A190970: a(n) = 5*a(n-1) - 9*a(n-2), with a(0)=0, a(1)=1.
; Submitted by <NAME>
; 0,1,5,16,35,31,-160,-1079,-3955,-10064,-14725,16951,217280,933841,2713685,5163856,1396115,-39494129,-210035680,-694731239,-1583335075,-1664094224,5929544555,44624570791,169756952960,447163627681,708005561... |
libtool/src/gmp-6.1.2/mpn/x86/k6/gcd_1.asm | kroggen/aergo | 278 | 22926 | dnl AMD K6 mpn_gcd_1 -- mpn by 1 gcd.
dnl Copyright 2000-2002, 2004, 2014 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public Lic... |
programs/oeis/056/A056738.asm | neoneye/loda | 22 | 172844 | ; A056738: Positions where 2's occur in A056731.
; 1,4,8,13,20,28,37,47,59,72,86,101,117,135,154,174,195,217,240,264,290,317,345,374,404,435,467,500,535,571,608,646,685,725,766,808,851,896,942,989,1037,1086,1136,1187,1239,1292,1346,1402,1459,1517,1576,1636
mov $1,$0
mul $0,2
add $1,1
seq $1,109592 ; Sequence and first... |
AAAAnimation/utils.asm | nlouo/AAAAnimation | 17 | 10071 | <reponame>nlouo/AAAAnimation<filename>AAAAnimation/utils.asm
wait_until_smaller PROTO
; arguments
; xmm0: REAL4 a REAL4 variable need to be compared
; rdx: SQWORD PTR a SQWORD pointer which value be pointed would increase
; this procedure would block the thread until the condition is fulfilled
; Caution: it may cause t... |
13.BcdtoBinary.asm | tamim87/Assembly-Samples | 0 | 87859 | ;bcd to binary
org 100h
mov al,num1
mov bl,04h
call bcdToBinary ;calling the function bcdToBinary
mov num2,al
jmp done
bcdToBinary proc near
pushf ;pushing flag values to stack
push ax ;pushing ax values to stack
push bx ;pushing bx va... |
programs/oeis/178/A178672.asm | karttu/loda | 1 | 94088 | <reponame>karttu/loda
; A178672: a(n) = 6^n - 6.
; 0,30,210,1290,7770,46650,279930,1679610,10077690,60466170,362797050,2176782330,13060694010,78364164090,470184984570,2821109907450,16926659444730,101559956668410,609359740010490,3656158440062970,21936950640377850
mov $1,6
pow $1,$0
div $1,5
mul $1,30
|
test/Succeed/BuiltinAmbiguousConstructor.agda | asr/eagda | 1 | 7036 | <reponame>asr/eagda<gh_stars>1-10
-- Andreas, 2017-09-09
-- Builtin constructors may be ambiguous / overloaded.
data Semmel : Set where
false : Semmel
data Bool : Set where
true : Bool
false : Bool
{-# BUILTIN BOOL Bool #-}
{-# BUILTIN TRUE true #-}
{-# BUILTIN FALSE false #-} -- This is accepted.
data B... |
Transynther/x86/_processed/NC/_ht_zr_un_/i3-7100_9_0xca_notsx.log_5214_968.asm | ljhsiun2/medusa | 9 | 175761 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1e91a, %rsi
lea addresses_A_ht+0x7dfd, %rdi
clflush (%rdi)
nop
xor $59718, %r13
mov $15, %rcx
rep movsq
nop
nop
nop
nop
nop
xor %r9, %r9
lea addresses_A_ht+0x173ce, %... |
src/canvas.asm | rodriados/pacman-x86 | 1 | 103682 | ; Pacman-x86: a Pacman implementation in pure x86 assembly.
; @file The game's canvas renderer and manager.
; @author <NAME> <<EMAIL>>
; @copyright 2021-present <NAME>
bits 64
%use fp
%include "debug.inc"
%include "color.inc"
%include "opengl.inc"
%include "window.inc"
extern game.DrawFrameCallback
extern window
gl... |
HoTT/Identity/Unit.agda | michaelforney/hott | 0 | 8233 | <reponame>michaelforney/hott<gh_stars>0
{-# OPTIONS --without-K #-}
open import HoTT.Base
open import HoTT.Equivalence
module HoTT.Identity.Unit where
open variables
=𝟏-equiv : {x y : 𝟏 {i}} → (x == y) ≃ 𝟏 {j}
=𝟏-equiv {i} {j} {★} {★} = f , qinv→isequiv (g , η , ε)
where
f : {x y : 𝟏} → x == y → 𝟏 {j}
... |
Things3/OpenAndComplete.applescript | nickdominguez/Applescripts | 0 | 2384 | <reponame>nickdominguez/Applescripts<filename>Things3/OpenAndComplete.applescript
on run
tell application "Things3"
repeat with todo in selected to dos
set completion date of todo to (current date)
set theNotes to notes of todo
repeat with todoParagraph in paragraphs of theNotes
if todoParagraph contains ... |
syslinux/memdisk/memdisk_iso_512.asm | TooDumbForAName/modern-boot-floppy | 0 | 160871 | <gh_stars>0
[map all memdisk_iso_512.map]
%define EDD 1
%define ELTORITO 1
%define SECTORSIZE_LG2 9 ; log2(sector size)
%include "memdisk.inc"
|
Counter with display/Display_SRC.asm | bardia-p/ARM-Processor-Simulator | 0 | 245137 | <reponame>bardia-p/ARM-Processor-Simulator
EQU breakpoint, #0xFFFFFFFF
EQU endOfStack, #0x800
B Main
; All I/O addresses are predefined by the Debugger:
IOswitchAddress DCD #0x80000200 ; Address to query the Switch IO component
IOhexControlAddress DCD #0x80000300 ; Address to toggle the Hex Dis... |
OpenBrowser/OpenBraveIncognito.applescript | SaiWebApps/AppleScriptUtils | 3 | 37 | tell application "System Events" to set listOfProcesses to (name of every process where background only is false)
if "Brave Browser" is not in listOfProcesses then
tell application "Brave Browser"
close windows
make new window with properties {mode:"incognito"}
tell application "System Events" to keystroke "f" u... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1841.asm | ljhsiun2/medusa | 9 | 242558 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r8
push %r9
push %rax
push %rdi
lea addresses_WC_ht+0x13f0e, %rdi
add %r11, %r11
movl $0x61626364, (%rdi)
nop
nop
nop
dec %rdi
lea addresses_UC_ht+0x1310e, %r8
nop
nop
mfence
mov $0x6162636465666768, %r9
movq %r9, %xmm6
vmovups %ymm6, (%r8... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_2246.asm | ljhsiun2/medusa | 9 | 88139 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rax
push %rcx
push %rdi
lea addresses_UC_ht+0x16665, %r13
nop
lfence
mov $0x6162636465666768, %r14
movq %r14, %xmm7
movups %xmm7, (%r13)
nop
xor $55875, %r12
lea addresses_WT_ht+0x11a65, %rcx
nop
nop
nop
nop
nop
cmp %r14, %r14
mov $0x61626... |
Cubical/Data/Bool/Base.agda | limemloh/cubical | 0 | 416 | {-# OPTIONS --cubical --safe #-}
module Cubical.Data.Bool.Base where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Data.Empty
open import Cubical.Relation.Nullary
open import Cubical.Relation.Nullary.DecidableEq
-- Obtain the booleans
open import Agda.Builtin.Bool ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_4.asm | ljhsiun2/medusa | 9 | 97341 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x12b9a, %r8
nop
nop
nop
sub $34892, %r10
movl $0x61626364, (%r8)
nop
nop
nop
nop
nop
cmp $23113, %r8
lea addresses_D_ht+0xd39a, %r12
nop
nop
and %r9, %r9
movb $0x61, (%r12)
and... |
c2000/C2000Ware_1_00_06_00/libraries/dsp/FixedPoint/c28/source/CFFT32_mag.asm | ramok/Themis_ForHPSDR | 0 | 244271 | <gh_stars>0
;;#############################################################################
;;! \file source/CFFT32_mag.asm
;;!
;;! \brief Magnitude function for the complex FFT
;;!
;;! \date Nov 2, 2010
;;!
;;
;; Group: C2000
;; Target Family: C28x
;;
;;##############################################... |
Homework/HW2.asm | Ping6666/Assembly-Language-Projects | 4 | 81115 | <gh_stars>1-10
TITLE Homework02 (Student ID:)
INCLUDE Irvine32.inc
.data
ChStrs BYTE " "
BYTE " **** "
BYTE " * "
BYTE " * "
BYTE " **** "
BYTE " * "
BYTE " * "
BYTE " **** "
BitStrs BYTE 8 dup(?)
.code
change PROC USES ecx ; store ecx in stack
mov... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_73_356.asm | ljhsiun2/medusa | 9 | 4440 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x11fd9, %rsi
lea addresses_A_ht+0x107c1, %rdi
clflush (%rdi)
and %r9, %r9
mov $19, %rcx
rep movsb
add $298, %r13
lea addresses_WC_ht+0x1c49, %rsi
lea addresses_UC_ht+0x7e, %rdi... |
sources/ippcp/asm_intel64/pcprij128cmace9as.asm | ntyukaev/ipp-crypto | 30 | 95799 | ;===============================================================================
; Copyright 2018-2020 Intel Corporation
;
; 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.apa... |
_build/dispatcher/jmp_ippsARCFourUnpack_f0624d84.asm | zyktrcn/ippcp | 1 | 160392 | extern m7_ippsARCFourUnpack:function
extern n8_ippsARCFourUnpack:function
extern y8_ippsARCFourUnpack:function
extern e9_ippsARCFourUnpack:function
extern l9_ippsARCFourUnpack:function
extern n0_ippsARCFourUnpack:function
extern k0_ippsARCFourUnpack:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:funct... |
programs/oeis/010/A010961.asm | jmorken/loda | 1 | 24652 | ; A010961: Binomial coefficient C(45,n).
; 1,45,990,14190,148995,1221759,8145060,45379620,215553195,886163135,3190187286,10150595910,28760021745,73006209045,166871334960,344867425584,646626422970,1103068603890,1715884494940,2438362177020,3169870830126,3773655750150
mov $1,45
bin $1,$0
|
src/Partiality-monad/Coinductive/Alternative.agda | nad/partiality-monad | 2 | 7918 | ------------------------------------------------------------------------
-- An alternative definition of the partiality monad: a variant of the
-- delay monad quotiented by a notion of weak bisimilarity
------------------------------------------------------------------------
{-# OPTIONS --erased-cubical --sized-types ... |
programs/oeis/302/A302302.asm | karttu/loda | 1 | 172917 | <filename>programs/oeis/302/A302302.asm
; A302302: Number of triples (i,j,k) such that i+j+k > 0 with -n <= i,j,k <= n.
; 0,10,53,153,334,620,1035,1603,2348,3294,4465,5885,7578,9568,11879,14535,17560,20978,24813,29089,33830,39060,44803,51083,57924,65350,73385,82053,91378,101384,112095,123535,135728,148698,162469,177065... |
sources/ippcp/asm_intel64/pcprij128encryptctrpipee9as.asm | idesai/ipp-crypto | 1 | 178292 | ;===============================================================================
; Copyright 2015-2018 Intel Corporation
; All Rights Reserved.
;
; If this software was obtained under the Intel Simplified Software License,
; the following terms apply:
;
; The source code, information and material ("Material") co... |
boot/config.asm | Drip-startup/pidi-os | 41 | 177195 | <filename>boot/config.asm<gh_stars>10-100
KERNEL_SIZE db 33 ; ammount of sectors in which the kernel is located
STACK_OFFSET db 9000
KERNEL_OFFSET equ 0x1000
MSG_REAL_MODE db "Started in 16-bit Real Mode", 0
MSG_PROT_MODE db "Landed in 32-bit Protected Mode", 0
MSG_LOAD_KERNEL db "Loading kernel into memory...", 0
MSG_... |
programs/oeis/089/A089026.asm | neoneye/loda | 22 | 20012 | ; A089026: a(n) = n if n is a prime, otherwise a(n) = 1.
; 1,2,3,1,5,1,7,1,1,1,11,1,13,1,1,1,17,1,19,1,1,1,23,1,1,1,1,1,29,1,31,1,1,1,1,1,37,1,1,1,41,1,43,1,1,1,47,1,1,1,1,1,53,1,1,1,1,1,59,1,61,1,1,1,1,1,67,1,1,1,71,1,73,1,1,1,1,1,79,1,1,1,83,1,1,1,1,1,89,1,1,1,1,1,1,1,97,1,1,1
mov $1,$0
seq $1,80339 ; Characteristic... |
iconset_generator.scpt | tenqyu/icon-generator-ios | 0 | 3638 | (* Script for creating App Icon Images:
icon_16x16.png
icon_16x16@2x.png
icon_32x32.png
icon_32x32@2x.png
icon_128x128.png
icon_128x128@2x.png
icon_256x256.png
icon_256x256@2x.png
icon_512x512.png
icon_512x512@2x.png
Author: <NAME> @ Tenqyu 2015
License: Feel free to use it, modify it and spread it.
Complaints: > /de... |
examples/src/examples-text_rewrites.adb | TNO/Rejuvenation-Ada | 1 | 9189 | <gh_stars>1-10
with Ada.Text_IO; use Ada.Text_IO;
with Libadalang.Analysis; use Libadalang.Analysis;
with Libadalang.Common; use Libadalang.Common;
with Rejuvenation; use Rejuvenation;
with Rejuvenation.Factory; use Rejuvenation.Factory;
with Rejuvenation.Finder; ... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca.log_21829_355.asm | ljhsiun2/medusa | 9 | 15838 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1923f, %r13
nop
nop
nop
nop
nop
inc %r15
mov (%r13), %r11
nop
xor $56523, %r13
lea addresses_D_ht+0xcbef, %rdx
nop
and $54509, %r8
mov (%rdx), %r12w
nop
and %r13, %... |
Driver/Socket/IRLAP/irlapInitExit.asm | steakknife/pcgeos | 504 | 13182 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: intialization routines for IRLAP
FILE: irlapInitExit.asm
AUTHOR: <NAME>, Apr 15, 1994
REVISION HISTORY:
Name Date Description
---- ---- -------... |
libsrc/spectrum/zx_multiface.asm | dex4er/deb-z88dk | 1 | 27420 | ;
; ZX Spectrum specific routines
; by <NAME>, 14/09/2006
;
; int zx_multiface();
;
; The result is:
; - 1 (true) if the MultiFace is connected
; - 0 (false) otherwise
;
; $Id: zx_multiface.asm,v 1.1 2006/12/01 16:58:30 stefano Exp $
;
XLIB zx_multiface
zx_multiface:
ld hl,0
in a,($bf)
in a,($9... |
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0xca_notsx.log_810_1810.asm | ljhsiun2/medusa | 9 | 246131 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x17c17, %r15
nop
nop
and $3500, %r13
mov (%r15), %r10d
nop
nop
and %rbx, %rbx
lea addresses_WT_ht+0x17, %rsi
lea addresses_normal_ht+0x3218, %rdi
nop
nop
sub %r15, %r15
mov $2... |
x86/SeeTest.asm | lantonov/asm | 150 | 166594 | ;// Test whether see(m) >= value.
;int see_test(Pos *pos, Move m, int value)
;{
; if (type_of_m(m) == CASTLING)
; return 0 >= value;
;
; Square from = from_sq(m), to = to_sq(m);
; Bitboard occ = pieces();
;
; int swap = PieceValue[MG][piece_on(to)] - value;
; if (type_of_m(m) == ENPASSANT) {
; assert(pos_stm... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2.log_723_932.asm | ljhsiun2/medusa | 9 | 98473 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x10aea, %r8
nop
nop
nop
nop
nop
dec %r11
movw $0x6162, (%r8)
nop
nop
nop
sub $16725, %rcx
lea addresses_WC_ht+0xb2ea, %rax
nop
nop
nop
nop
nop
add $3915, %rdx
mov $0x6162636465... |
programs/oeis/168/A168125.asm | neoneye/loda | 22 | 93570 | <filename>programs/oeis/168/A168125.asm
; A168125: a(n) = n^2*(n^7+1)/2.
; 0,1,258,9846,131080,976575,5038866,20176828,67108896,193710285,500000050,1178973906,2579890248,5302249771,10330523490,19221679800,34359738496,59293938393,99179645346,161343849070,256000000200,397140023511,603634609138,900576330996,1320903770400,... |
oeis/267/A267898.asm | neoneye/loda-programs | 11 | 81760 | ; A267898: a(n) = prime(n)! + prime(n).
; 4,9,125,5047,39916811,6227020813,355687428096017,121645100408832019,25852016738884976640023,8841761993739701954543616000029,8222838654177922817725562880000031,13763753091226345046315979581580902400000037
seq $0,40 ; The prime numbers.
add $1,$0
seq $0,142 ; Factorial numbers: ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1395.asm | ljhsiun2/medusa | 9 | 13739 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x9e98, %rdi
nop
nop
nop
nop
xor $53683, %r10
movb $0x61, (%rdi)
nop
nop
nop
nop
xor $29896, %rax
lea addresses_WC_ht+0x1ab98, %rsi
lea addresses_D_ht+0x110c8, %rdi
nop
nop
in... |
parsers-multiline_source-text_io.adb | jrcarter/Ada_GUI | 19 | 10424 | <filename>parsers-multiline_source-text_io.adb
-- --
-- package Copyright (c) <NAME> --
-- Parsers.Multiline_Source.Text_IO Luebeck --
-- Implementation Winter, 200... |
pwnlib/shellcraft/templates/arm/linux/exit.asm | IMULMUL/python3-pwntools | 325 | 12571 | <%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="status"/>
<%docstring>
Invokes the syscall exit. See 'man 2 exit' for more information.
Arguments:
status(int): status
</%docstring>
${syscall('SYS_exit', status)}
|
user/set_priority.asm | tanmay-pro/modified-xv6 | 0 | 91562 | <reponame>tanmay-pro/modified-xv6<filename>user/set_priority.asm
user/_set_priority: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
#include "kernel/stat.h"
#include "user/user.h"
#include "kernel/fcntl.h"
int main(int argc, char **argv)
{
0: 1101 addi s... |
verify/alfy/2_simple/sum.alfy.asm | alexandruradovici/alf-alfy-asm-public | 0 | 11337 |
; script
start:
; asm
readnumber r2
; x: r3
set r3 0
store r3 r2
; asm
readnumber r2
; y: r3
set r3 4
store r3 r2
; attribution
; expression +
; x: r3
set r3 0
load r3 r3
; y: r4
se... |
src/Syntax.agda | andrejbauer/dependent-type-theory-syntax | 7 | 14286 | <reponame>andrejbauer/dependent-type-theory-syntax<gh_stars>1-10
open import Agda.Primitive using (lzero; lsuc; _⊔_; Level)
open import Relation.Binary.PropositionalEquality using (_≡_; refl; subst)
open import Relation.Binary using (Setoid)
-- A formalization of raw syntax
module Syntax where
-- Syntactic classes... |
src/main/antlr/ClassSchedulingParser.g4 | wijayaerick/dsl-class-scheduler | 0 | 5237 | parser grammar ClassSchedulingParser;
options {tokenVocab=ClassSchedulingLexer;}
key
: WORD;
value
: (WORD)+ | (map)+;
map
: key COLON value;
line
: (TAB)* map;
createParam
: line+;
// Course
createCourse
: COURSE COLON createParam;
// Class
createClass
: CLASS COLON createParam;
// Classroom
crea... |
programs/oeis/126/A126564.asm | karttu/loda | 0 | 16921 | <reponame>karttu/loda
; A126564: Floor( sin(n)*cos(n) ).
; 0,0,-1,-1,0,-1,-1,0,-1,-1,0,-1,-1,0,0,-1,0,0,-1,0,0,-1,0,0,-1,-1,0,-1,-1,0,-1,-1,0,-1,-1,0,0,-1,0,0,-1,0,0,-1,0,0,-1,-1,0,-1,-1,0,-1,-1,0,-1,-1,0,0,-1,0,0,-1,0,0,-1,0,0,-1,-1,0,-1,-1,0,-1,-1,0,-1,-1,0,0,-1,0,0,-1,0,0,-1,0,0,-1,-1,0,-1,-1,0,-1,-1,0,-1,-1,0,0
mo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.