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 |
|---|---|---|---|---|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_386.asm | ljhsiun2/medusa | 9 | 29329 | .global s_prepare_buffers
s_prepare_buffers:
push %rax
push %rbp
push %rdx
push %rsi
lea addresses_WC_ht+0xd194, %rbp
nop
nop
xor %rdx, %rdx
movb (%rbp), %al
nop
cmp %rsi, %rsi
pop %rsi
pop %rdx
pop %rbp
pop %rax
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %r15
push %r8
push %rax
push %rbp
push %rbx
pu... |
test/Succeed/Issue1596.agda | shlevy/agda | 3 | 3971 | -- Andreas, 2015-06-28
-- {-# OPTIONS -v tc.polarity:20 #-}
open import Common.Size
-- List should be monotone in both arguments
-- (even as phantom type).
data List (i : Size) (A : Set) : Set where
[] : List i A
castL : ∀{i A} → List i A → List ∞ A
castL x = x
castLL : ∀{i A} → List i (List i A) → List ∞ (List... |
programs/oeis/215/A215885.asm | neoneye/loda | 22 | 771 | ; A215885: a(n) = 3*a(n-1) - a(n-3), with a(0) = 3, a(1) = 3, and a(2) = 9.
; 3,3,9,24,69,198,570,1641,4725,13605,39174,112797,324786,935184,2692755,7753479,22325253,64283004,185095533,532961346,1534601034,4418707569,12723161361,36634883049,105485941578,303734663373,874569107070,2518221379632,7250929475523,208782193194... |
oeis/142/A142375.asm | neoneye/loda-programs | 11 | 161068 | <reponame>neoneye/loda-programs<filename>oeis/142/A142375.asm
; A142375: Primes congruent to 24 mod 47.
; Submitted by <NAME>
; 71,353,541,823,1481,1669,1951,2609,2797,3079,3361,3643,4019,4583,5147,5711,7027,7121,7309,7591,7873,8719,9001,9283,9377,9941,10223,11069,11257,11351,11633,11821,12197,12479,13043,13513,14923,1... |
sound/sfxasm/45.asm | NatsumiFox/Sonic-3-93-Nov-03 | 7 | 7383 | <filename>sound/sfxasm/45.asm
45_Header:
sHeaderInit ; Z80 offset is $C377
sHeaderPatch 45_Patches
sHeaderTick $01
sHeaderCh $01
sHeaderSFX $80, $05, 45_FM5, $00, $05
45_FM5:
sPatFM $00
dc.b nEb3, $1B
sStop
45_Patches:
; Patch $00
; $03
; $32, $04, $70, $03, $1F, $1F, $1F, $1F
; $00, $00, $00, $00,... |
Engines/Win32/Morpher.a.asm | Mingzhi5/MalwareRepository | 0 | 168083 | <reponame>Mingzhi5/MalwareRepository
.386
.model flat, stdcall
option casemap :none
include \MASM32\INCLUDE\windows.inc
include \MASM32\INCLUDE\kernel32.inc
include \MASM32\INCLUDE\user32.inc
includelib \MASM32\LIB\kernel32.lib
includelib \MASM32\LIB\user32.lib
_OPCODE struct
dwOldAddress dd ?
dwNewAdd... |
Program04/Prog04.asm | jasarsoft/asm-example | 1 | 177092 | ;Zadatak 4: Program treba da stampa tekst iz memorije. Duzina teksta je proizvoljna,
; kraj teksta je oznacena sa ASCII karakterom, koji ne moze da bude ni
; slovo ni broj, na primjer 0.
Prog04 Segment ;definicija segmenta
assume CS:Prog04, DS:Prog04 ;pocetak CS i DS se... |
agda/Syntax.agda | ThiBen/catt | 11 | 10356 | {-# OPTIONS --without-K --rewriting #-}
open import Prelude
module Syntax where
data Con : (n : ℕ) → Set
Ctx : Set
Ctx = Σ ℕ Con
data Ty : Ctx → Set
data Tm : {Γ : Ctx} (A : Ty Γ) → Set
data Sub : Ctx → Ctx → Set
𝔻 : (n : ℕ) → Con n
dangling : {n : ℕ} (Γ : Con n) → Sub ... |
course-project/course-project-PSpiceFiles/SCHEMATIC1/SCHEMATIC1.als | nikolaystanishev/tu-te | 0 | 1571 | <filename>course-project/course-project-PSpiceFiles/SCHEMATIC1/SCHEMATIC1.als
.ALIASES
R_R4 R4(1=0 2=N02037 ) CN @COURSE-PROJECT.SCHEMATIC1(sch_1):INS2053<EMAIL>.Normal(chips)
R_R2 R2(1=N02037 2=N01955 ) CN @COURSE-PROJECT.SCHEMATIC1(sch_1):INS1991@<EMAIL>.R.Normal(chips)
R_R5 R5(1=N... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/NES_Ver2/us_asm/zel_data0.asm | prismotizm/gigaleak | 0 | 174421 | <reponame>prismotizm/gigaleak
Name: zel_data0.asm
Type: file
Size: 136380
Last-Modified: '2016-05-13T04:27:09Z'
SHA-1: C76FE1929BCBBDF0FDC579AC9574BDE60207CFF9
Description: null
|
cps-path-parser/src/main/antlr4/org/onap/cps/cpspath/parser/antlr4/CpsPath.g4 | npal02/cps | 2 | 3169 | <reponame>npal02/cps<gh_stars>1-10
/*
* ============LICENSE_START=======================================================
* Copyright (C) 2021 Nordix Foundation
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* ... |
tests/openssl.adb | Componolit/libsparkcrypto | 30 | 15394 | -------------------------------------------------------------------------------
-- This file is part of libsparkcrypto.
--
-- Copyright (C) 2010, <NAME>
-- Copyright (C) 2010, secunet Security Networks AG
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- ... |
Rings/UniqueFactorisationDomains/Lemmas.agda | Smaug123/agdaproofs | 4 | 10714 | {-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Setoids.Setoids
open import Rings.Definition
open import Rings.IntegralDomains.Definition
open import Vectors
open import Numbers.Naturals.Semiring
open import Numbers.Naturals.Order
open import Numbers.Naturals.Definition
open ... |
alloy4fun_models/trashltl/models/11/N4c3LZ3DqZeBuqZgH.als | Kaixi26/org.alloytools.alloy | 0 | 4060 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idN4c3LZ3DqZeBuqZgH_prop12 {
eventually some t : Trash | after t not in Trash
}
pred __repair { idN4c3LZ3DqZeBuqZgH_prop12 }
check __repair { idN4c3LZ3DqZeBuqZgH_prop12 <=> prop12o } |
SVD2ada/svd/stm32_svd-iwdg.ads | JCGobbi/Nucleo-STM32H743ZI | 0 | 12920 | pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32H743x.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.IWDG is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype KR_KEY_Field is HAL.UInt16;
-- ... |
src/LKS/Printf.asm | Kannagi/LKS | 6 | 89455 |
LKS_printfs:
lda #$20
clc
adc LKS.printpal
sta MEM_TEMP
lda $0000,y
-:
cmp #$20
beq +
sec
sbc #64
sta LKS_BUF_BG3+0,x
lda MEM_TEMP
sta LKS_BUF_BG3+1,x
bra ++
+:
lda #0
sta LKS_BUF_BG3+0,x
sta LKS_BUF_BG3+1,x
++:
inx
inx
iny
lda $00,y
cmp #0
bne -
rt... |
Modelsim_codes/riscv32_sim1.asm | Chen-yu-Zheng/2021SpringCOE-WHU | 0 | 165772 | <reponame>Chen-yu-Zheng/2021SpringCOE-WHU<filename>Modelsim_codes/riscv32_sim1.asm
# Test the RISC-V processor in simulation
# 待验证:lui, auipc, addi
# 待验证: sb, sh, sw, lb, lh, lw, lbu, lhu
# 本测试只验证单条指令的功能,不考察转发和冒险检测的功能,所以在相关指令之间添加了足够多的nop指令
# Assembly Description
main: lui x5, 0xF1F2F #x5寄存器的高20位设置为0xF1F2F
... |
.emacs.d/elpa/wisi-3.1.3/sal-gen_unbounded_definite_vectors-gen_comparable.adb | caqg/linux-home | 0 | 26296 | <reponame>caqg/linux-home
-- Abstract :
--
-- See spec.
--
-- Copyright (C) 2018 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Software Foundation; either versio... |
oeis/016/A016762.asm | neoneye/loda-programs | 11 | 169913 | <gh_stars>10-100
; A016762: a(n) = (2*n + 1)^10.
; 1,59049,9765625,282475249,3486784401,25937424601,137858491849,576650390625,2015993900449,6131066257801,16679880978201,41426511213649,95367431640625,205891132094649,420707233300201,819628286980801,1531578985264449,2758547353515625,4808584372417849,8140406085191601,13422... |
programs/oeis/142/A142039.asm | neoneye/loda | 22 | 3391 | ; A142039: Primes congruent to 11 mod 32.
; 11,43,107,139,331,491,523,587,619,683,811,907,971,1163,1259,1291,1451,1483,1579,1867,1931,2027,2251,2347,2411,2539,2699,2731,3019,3083,3307,3371,3467,3499,3659,3691,3851,3947,4139,4363,4523,4651,5003,5099,5227,5323,5387,5419,5483,5867,6091,6379,6571,6763,6827,7019,7211,7243,7... |
rm.asm | priyasun19/xv6 | 0 | 240960 | <reponame>priyasun19/xv6
_rm: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
... |
llvm-2.9/test/FrontendAda/Support/element_copy.ads | DependableSystemsLab/Trident | 5 | 21929 | package Element_Copy is
type SmallInt is range 1 .. 4;
type SmallStr is array (SmallInt range <>) of Character;
type VariableSizedField (D : SmallInt := 2) is record
S : SmallStr (1 .. D) := "Hi";
end record;
function F return VariableSizedField;
end;
|
src/isa/avx2/masm/vrs4_logf_fma3.asm | jepler/aocl-libm-ose | 66 | 86911 | <filename>src/isa/avx2/masm/vrs4_logf_fma3.asm
;
; Copyright (C) 2008-2020 Advanced Micro Devices, 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 retai... |
agda-stdlib/src/Text/Tabular/List.agda | DreamLinuxer/popl21-artifact | 5 | 4758 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Fancy display functions for List-based tables
------------------------------------------------------------------------
{-# OPTIONS --safe --without-K #-}
module Text.Tabular.List where
open import Data.String ... |
kernel.asm | shruti512/xv6 | 0 | 10944 | <reponame>shruti512/xv6<gh_stars>0
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 ... |
programs/oeis/022/A022097.asm | jmorken/loda | 1 | 99157 | <filename>programs/oeis/022/A022097.asm
; A022097: Fibonacci sequence beginning 1, 7.
; 1,7,8,15,23,38,61,99,160,259,419,678,1097,1775,2872,4647,7519,12166,19685,31851,51536,83387,134923,218310,353233,571543,924776,1496319,2421095,3917414,6338509,10255923,16594432,26850355,43444787,70295142,113739929
mov $1,1
mov $3,1... |
oeis/153/A153184.asm | neoneye/loda-programs | 11 | 98430 | <gh_stars>10-100
; A153184: Numbers n such that 3*n-2 is not prime.
; Submitted by <NAME>(s2)
; 1,2,4,6,8,9,10,12,14,16,17,18,19,20,22,24,26,28,29,30,31,32,34,36,38,39,40,41,42,44,45,46,48,49,50,52,54,56,57,58,59,60,62,63,64,66,68,69,70,72,73,74,76,78,79,80,82,83,84,85,86,87,88,89,90,92,94,96,97,98,99,100,101,102,104,1... |
alloy4fun_models/trashltl/models/11/d9q6hhvCxMt86S6ig.als | Kaixi26/org.alloytools.alloy | 0 | 1166 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idd9q6hhvCxMt86S6ig_prop12 {
always all f: File | eventually f in Trash
}
pred __repair { idd9q6hhvCxMt86S6ig_prop12 }
check __repair { idd9q6hhvCxMt86S6ig_prop12 <=> prop12o } |
tests/tk-labelframe-label_frame_create_options_test_data.adb | thindil/tashy2 | 2 | 6843 | <filename>tests/tk-labelframe-label_frame_create_options_test_data.adb
-- This package is intended to set up and tear down the test environment.
-- Once created by GNATtest, this package will never be overwritten
-- automatically. Contents of this package can be modified in any way
-- except for sections surrounde... |
Scripts Pack Source Items/Scripts Pack/Core Components/Disable Dashboard.applescript | Phorofor/ScriptsPack.macOS | 1 | 2850 | # Scripts Pack - Tweak various preference variables in macOS
# <Phorofor, https://github.com/Phorofor/>
-- Prevents the Dashboard from being able to run if disabled, Dashboard widgets take up RAM, this is useful for disabling it on computers with limited hardware
-- Disable Dashboard
-- Versions compatible: Tiger (10... |
programs/oeis/189/A189669.asm | neoneye/loda | 22 | 172634 | ; A189669: Positions of 0 in A189668; complement of A189679.
; 1,3,5,6,7,9,11,12,13,15,16,18,19,21,23,24,25,27,29,30,31,33,34,36,37,39,41,42,43,45,46,48,50,51,52,54,55,57,59,60,61,63,65,66,67,69,70,72,73,75,77,78,79,81,83,84,85,87,88,90,91,93,95,96,97,99,100,102,104,105,106,108,109,111,113,114,115,117,119,120,121,123,1... |
oeis/132/A132792.asm | neoneye/loda-programs | 11 | 20040 | ; A132792: The infinitesimal Lah matrix: generator of unsigned A111596.
; Submitted by <NAME>
; 0,0,0,0,2,0,0,0,6,0,0,0,0,12,0,0,0,0,0,20,0,0,0,0,0,0,30,0,0,0,0,0,0,0,42,0,0,0,0,0,0,0,0,56,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0,0,0,90,0,0,0,0,0,0,0,0,0,0,0,110,0
mov $2,$0
lpb $0
mov $0,$2
add $1,1
add $3,3
trn $... |
software/profi/net-tools/src/pqdos/browser/player/vortex-processor.asm | andykarpov/karabas-pro | 26 | 172463 | <filename>software/profi/net-tools/src/pqdos/browser/player/vortex-processor.asm
MODULE VortexProcessor
play:
call Console.waitForKeyUp
ld hl, message : call DialogBox.msgNoWait
ld hl, outputBuffer : call VTPL.INIT
.loop
halt : di : call VTPL.PLAY : ei
xor a : in a, (#fe) : cpl : and 31 : jp ... |
src/Categories/Functor/Groupoid.agda | Trebor-Huang/agda-categories | 279 | 15495 | <reponame>Trebor-Huang/agda-categories<filename>src/Categories/Functor/Groupoid.agda
{-# OPTIONS --without-K --safe #-}
module Categories.Functor.Groupoid where
open import Level
open import Categories.Category
open import Categories.Category.Groupoid using (Groupoid; IsGroupoid)
open import Categories.Functor
impor... |
src/test/ref/c64dtv-8bppcharstretch.asm | jbrandwood/kickc | 2 | 247690 | // C64DTV 8bpp charmode stretcher
/// @file
/// C64 DTV version 2 Registers and Constants
///
/// Sources
/// (J) https://www.c64-wiki.com/wiki/C64DTV_Programming_Guide
/// (H) http://dtvhacking.cbm8bit.com/dtv_wiki/images/d/d9/Dtv_registers_full.txt
// Commodore 64 PRG executable file
.file [name="c64dtv-8bppcharstr... |
programs/oeis/223/A223544.asm | neoneye/loda | 22 | 247591 | ; A223544: Triangle T(n,k), 0 < k <= n, T(n,1) = n - 1, T(n,k) = T(n,k-1) + n; read by rows.
; 0,1,3,2,5,8,3,7,11,15,4,9,14,19,24,5,11,17,23,29,35,6,13,20,27,34,41,48,7,15,23,31,39,47,55,63,8,17,26,35,44,53,62,71,80,9,19,29,39,49,59,69,79,89,99,10,21,32,43,54,65,76,87,98,109,120,11,23,35,47,59,71,83,95,107,119,131,143,... |
oeis/111/A111805.asm | neoneye/loda-programs | 11 | 177999 | <filename>oeis/111/A111805.asm
; A111805: Number triangle T(n,k)=binomial(2(n+k),4k).
; Submitted by <NAME>
; 1,1,1,1,15,1,1,70,45,1,1,210,495,91,1,1,495,3003,1820,153,1,1,1001,12870,18564,4845,231,1,1,1820,43758,125970,74613,10626,325,1,1,3060,125970,646646,735471,230230,20475,435,1,1,4845,319770,2704156,5311735
lpb ... |
oeis/340/A340709.asm | neoneye/loda-programs | 11 | 10756 | <reponame>neoneye/loda-programs
; A340709: Let k = n/2+floor(n/4) if n is even, otherwise (3n+1)/2; then a(n) = A093545(k).
; 0,1,2,3,5,4,7,6,10,8,12,9,15,11,17,13,20,14,22,16,25,18,27,19,30,21,32,23,35,24,37,26,40,28,42,29,45,31,47,33,50,34,52,36,55,38,57,39,60,41,62,43,65,44,67,46,70,48,72,49,75,51,77,53,80,54,82,56,... |
sample/Expr.g4 | 3013216027/gant | 0 | 7360 | grammar Expr;
cao: (expr NEWLINE)*;
expr: expr ('*'|'/') expr | expr ('+'|'-') expr | INT | '(' expr ')' ;
NEWLINE : [\t\r\n]+ ;
INT : [0-9]+ ;
|
oeis/021/A021918.asm | neoneye/loda-programs | 11 | 3138 | <gh_stars>10-100
; A021918: Decimal expansion of 1/914.
; Submitted by Jon Maiga
; 0,0,1,0,9,4,0,9,1,9,0,3,7,1,9,9,1,2,4,7,2,6,4,7,7,0,2,4,0,7,0,0,2,1,8,8,1,8,3,8,0,7,4,3,9,8,2,4,9,4,5,2,9,5,4,0,4,8,1,4,0,0,4,3,7,6,3,6,7,6,1,4,8,7,9,6,4,9,8,9,0,5,9,0,8,0,9,6,2,8,0,0,8,7,5,2,7,3,5
seq $0,199685 ; a(n) = 5*10^n+1.
div $... |
day24/src/day.adb | jwarwick/aoc_2020 | 3 | 20907 | -- AoC 2020, Day 24
with Ada.Text_IO;
with Ada.Containers.Hashed_Sets;
use Ada.Containers;
package body Day is
package TIO renames Ada.Text_IO;
type Hex is record
x, y, z : Integer;
end record;
function hex_hash(h : in Hex) return Hash_Type is
v : constant Long_Integer := Long_Integer((h.x * 103) + (... |
test/Fail/Issue1346.agda | cruhland/agda | 1,989 | 1232 | <filename>test/Fail/Issue1346.agda
postulate
A B C : Set
module M where
infixl 4 _+_
infixl 6 _*_
postulate
_+_ _*_ : Set → Set → Set
T : Set
T = A + B * C
open M renaming (_*_ to infix 2 _*_)
test : T → A + B * C
test x = x -- should use the updated fixity when printing the value of T !
|
test/runtime/TestGrammar.g4 | josejulio/antlr4ts | 486 | 7177 | grammar TestGrammar;
compilationUnit
locals [
symbols: string[] = ["empty"]
]
: {console.log($symbols);} member* EOF
;
member
: 'data' {console.log($compilationUnit::symbols);}
{$compilationUnit::symbols = ["full"];}
;
WS : [ \t]+;
|
Task/Pangram-checker/Ada/pangram-checker.ada | djgoku/RosettaCodeData | 1 | 4345 | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Maps; use Ada.Strings.Maps;
with Ada.Characters.Handling; use Ada.Characters.Handling;
procedure pangram is
function ispangram(txt: String) return Boolean is
lowtxt : String := To_Lower(txt);
letset,txtset : Character_Set;
begin
letset := To_Set("abcdefghijk... |
core/src/main/antlr/edu/illinois/cs/cs125/jeed/antlr/kotlin/KotlinLexer.g4 | Fleex255/jeed | 0 | 2875 | /**
* Kotlin lexical grammar in ANTLR4 notation
*/
lexer grammar KotlinLexer;
import UnicodeClasses;
// SECTION: lexicalGeneral
ShebangLine
: '#!' ~[\r\n]*
;
DelimitedComment
: '/*' ( DelimitedComment | . )*? '*/'
-> channel(1)
;
LineComment
: '//' ~[\r\n]*
-> channel(1)
;
W... |
src/main/antlr/info/iconmaster/typhon/antlr/Typhon.g4 | TyphonLang/Typhon | 4 | 2305 | grammar Typhon;
root: tnDecls+=decl* EOF;
decl:
tnDoc=DOC_COMMENT? tnAnnots+=annotation* tnRetType=types tnName=WORD tnTemplate=templateDecls? '(' tnArgs=paramsDecl ')' ('=>' tnExprForm=exprs | '{' tnBlockForm+=stat* '}' | tnStubForm=';') #methodDecl
| tnDoc=DOC_COMMENT? tnType=type tnNames+=paramName (',' t... |
generated/natools-static_maps-web-list_templates.adb | faelys/natools-web | 1 | 3658 | -- Generated at 2015-08-01 13:43:50 +0000 by Natools.Static_Hash_Maps
-- from src/natools-web-list_templates-maps.sx
with Natools.Static_Maps.Web.List_Templates.Commands;
package body Natools.Static_Maps.Web.List_Templates is
function To_Command (Key : String) return Command is
N : constant Natural
... |
Transynther/x86/_processed/NC/_ht_zr_/i3-7100_9_0x84_notsx.log_21829_580.asm | ljhsiun2/medusa | 9 | 19822 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x17d2f, %rsi
lea addresses_D_ht+0xb8f, %rdi
clflush (%rsi)
nop
nop
nop
nop
and $1292, %rbx
mov $54, %rcx
rep movsl
dec %r8
lea addresses_UC_ht+0x4537, %r15
nop
nop
sub $23819,... |
programs/oeis/229/A229447.asm | jmorken/loda | 1 | 177489 | <reponame>jmorken/loda
; A229447: Number of 4 X n 0..2 arrays with horizontal differences mod 3 never 1, vertical differences mod 3 never -1, and rows and columns lexicographically nondecreasing.
; 12,25,53,109,212,387,665,1083,1684,2517,3637,5105,6988,9359,12297,15887,20220,25393,31509,38677,47012,56635,67673,80259,94... |
examples/direct/test_mul.asm | hughperkins/toy_proc | 4 | 82861 | # mul
li x1 1111
li x2 222
outr x1
outr x2
mul x3, x1, x2
outr x3
halt
|
programs/oeis/211/A211275.asm | neoneye/loda | 22 | 28508 | ; A211275: Number of integer pairs (x,y) such that 0 < x <= y <= n and x*y <= floor(n/2).
; 0,1,1,2,2,3,3,5,5,6,6,8,8,9,9,11,11,13,13,15,15,16,16,19,19,20,20,22,22,24,24,27,27,28,28,31,31,32,32,35,35,37,37,39,39,40,40,44,44,46,46,48,48,50,50,53,53,54,54,58,58,59,59,62,62,64,64,66,66,68,68
mov $2,$0
mov $3,$0
lpb $2
... |
core/zxload.asm | freemanix/zxemul | 4 | 99010 |
; ZX Spectrum emulator
; Instructions fetching
; (c) Freeman, August 2000, Prague
; -----------------------------------------------------------------------------
AirFlags MACRO
test RegA, RegA
ClearFlags flgHPN, flgSZ
mov al, RegIFF
and al, mskIFF2
or RegF, al
ENDM
; ----------------------------... |
data/pokemon/dex_entries/wailmer.asm | AtmaBuster/pokeplat-gen2 | 6 | 169559 | db "BALL WHALE@" ; species name
db "It bounces"
next "playfully like a"
next "ball. The more"
page "seawater it"
next "swallows, the"
next "higher it bounces.@"
|
Old Programmes/8085/Square Root/SQRT_16.asm | illuminati-inc-2020/school | 0 | 3219 | <gh_stars>0
;Square root of a 16 bit number
;Input : 00A0H, 00A1H
;Output : 00B0H
LHLD 00A0H
MVI C, 00H
LXI D, 0001H
LOOP: MOV A, L
SUB E
MOV L, A
MOV A, H
SBB D
MOV H, A
INX D
INX D
INR C
MOV A, D
CMP H
JC LOOP ;if D<H continue
JNZ END ;if D>H break
MOV A, E
CMP L
JC LOOP ;if D=H and E<L continu... |
gcc-gcc-7_3_0-release/gcc/ada/sem_aggr.adb | best08618/asylo | 7 | 21525 | <filename>gcc-gcc-7_3_0-release/gcc/ada/sem_aggr.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-cppexc.ads | orb-zhuchen/Orb | 0 | 8205 | <filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-cppexc.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
Transynther/x86/_processed/P/_zr_/i9-9900K_12_0xa0_notsx.log_19588_194.asm | ljhsiun2/medusa | 9 | 175873 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x12eab, %rsi
lea addresses_WC_ht+0x287f, %rdi
nop
nop
nop
and %rax, %rax
mov $67, %rcx
rep movsb
nop
nop
nop
nop
nop
sub %r13, %r13
lea addresses_UC_ht+0xb22b, %r15
nop
nop
no... |
libsrc/target/pencil2/games/joystick.asm | Frodevan/z88dk | 640 | 178387 | <reponame>Frodevan/z88dk<gh_stars>100-1000
SECTION code_clib
PUBLIC joystick
PUBLIC _joystick
EXTERN joystick_inkey
defc joystick = joystick_inkey
defc _joystick = joystick_inkey
|
Cubical/Homotopy/WedgeConnectivity.agda | dan-iel-lee/cubical | 0 | 11392 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Homotopy.WedgeConnectivity where
open import Cubical.Foundations.Everything
open import Cubical.Data.HomotopyGroup
open import Cubical.Data.Nat
open import Cubical.Data.Sigma
open import Cubical.HITs.Nullification
open import Cubical.HITs.Susp
open impo... |
Ada/inc/Problem_20.ads | Tim-Tom/project-euler | 0 | 14881 | package Problem_20 is
procedure Solve;
end Problem_20;
|
oeis/017/A017121.asm | neoneye/loda-programs | 11 | 168363 | ; A017121: a(n) = (8*n + 4)^9.
; 262144,5159780352,512000000000,10578455953408,101559956668416,618121839509504,2779905883635712,10077696000000000,31087100296429568,84590643846578176,208215748530929664,472161363286556672,1000000000000000000,1999004627104432128,3802961274698203136,6930988311686938624,12166492167065567232... |
BuildButton/Scripting/run_in_terminal.scpt | ayoy/the-build-button-osx | 1 | 185 | <filename>BuildButton/Scripting/run_in_terminal.scpt
#!/usr/bin/osascript
on runInTerminal(command)
tell application "Terminal"
activate
set newTab to do script(command)
end tell
return newTab
end runSimple
|
test/Fail/Issue796o.agda | shlevy/agda | 1,989 | 8540 | <filename>test/Fail/Issue796o.agda
-- {-# OPTIONS -v tc:10 -v tc.inj:100 #-}
-- 2013-02-18 reported by rotsor
module Issue796o where
data U : Set where
a b : U
data A : Set where
data B : Set where
abstract
A' B' : Set
A' = A
B' = B -- fails if changed to A. Should always fail.
[_] : U → Set
[_] a = A'
... |
programs/oeis/016/A016188.asm | neoneye/loda | 22 | 26035 | <gh_stars>10-100
; A016188: Expansion of 1/((1-8x)*(1-12x)).
; 1,20,304,4160,54016,680960,8433664,103301120,1256390656,15210905600,183604609024,2211845242880,26610862391296,319880104509440,3842959300624384,46150695979581440,554089826731687936
add $0,1
mov $1,12
pow $1,$0
mov $2,8
pow $2,$0
sub $1,$2
div $1,4
mov $0,$1... |
test/fail/Abstract.agda | np/agda-git-experiment | 1 | 12655 | <gh_stars>1-10
module Abstract where
data Bool : Set where
true false : Bool
not : Bool → Bool
not true = false
not false = true
abstract
Answer : Set
Answer = Bool
yes : Answer
yes = true
no : Answer
no = false
data _≡_ {A : Set}(x : A) : A → Set where
refl : x ≡ x
data Box : Set where
[_] :... |
Task/Random-numbers/Ada/random-numbers.ada | LaudateCorpus1/RosettaCodeData | 1 | 24506 | <gh_stars>1-10
with Ada.Numerics; use Ada.Numerics;
with Ada.Numerics.Float_Random; use Ada.Numerics.Float_Random;
with Ada.Numerics.Elementary_Functions; use Ada.Numerics.Elementary_Functions;
procedure Normal_Random is
function Normal_Distribution
( Seed : Generator;
... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_515.asm | ljhsiun2/medusa | 9 | 95899 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xe36a, %r14
dec %r15
mov $0x6162636465666768, %rsi
movq %rsi, %xmm5
vmovups %ymm5, (%r14)
nop
nop
nop
nop
and %rbx, %rbx
lea addresses_normal_ht+0xa72a, %rsi
lea addresses_UC_ht+0x71aa,... |
tests/cross-assemblers/kickass/init.asm | shazz/shazzam | 0 | 13699 | <reponame>shazz/shazzam
.segment InitSegment
nop
nop
nop
|
QuickSort.asm | vominhtrieu/MIPS_Exercises | 0 | 173208 | .data
arrSize: .word 0
arr: .space 4000 #4000 bytes can contains 1000 word elements
inputFile: .asciiz "input_sort.txt"
outputFile: .asciiz "output_sort.txt"
inputBuffer: .space 20000
outputBuffer: .space 20000
.text
.globl main
main:
jal readFile
#Read number of elements
la $a0, inputBuffer
jal charToInt
addi $... |
Cubical/HITs/SetCoequalizer/Properties.agda | thomas-lamiaux/cubical | 0 | 11041 | {-
This file contains:
- the coequalizer of sets as a HIT as performed in https://1lab.dev/Data.Set.Coequaliser.html
-}
{-# OPTIONS --safe #-}
module Cubical.HITs.SetCoequalizer.Properties where
open import Cubical.HITs.SetCoequalizer.Base
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLe... |
forktest.asm | Nehoray-Marziano/XV6-Scheduling-Policies | 0 | 17877 |
_forktest: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "fork test OK\n");
}
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push... |
dos/DosGetModule.asm | osfree-project/FamilyAPI | 1 | 179643 | <reponame>osfree-project/FamilyAPI<filename>dos/DosGetModule.asm
;*** get a NE module handle
extern GETMODULEHANDLE:far
public DOSGETMODHANDLE
_TEXT segment byte public 'CODE'
szDll:
db ".DLL",0
;int DosGetModHandle(szModuleName, lpHandle);
DOSGETMODHANDLE proc far
push BP
... |
fruta.asm | lestersantos/Assembly2019 | 0 | 172422 | ; Comando para ensamblar: #nasm fruta.asm -o fruta.com
; Presionar tecla para finalizar
;======================================================================|
; M A I N |
;======================================================================|
ORG 100h
mov ah,00h ;modo video
mov al,13h ;3... |
programs/oeis/057/A057960.asm | karttu/loda | 0 | 241770 | <reponame>karttu/loda
; A057960: Number of base 5 n-digit numbers with adjacent digits differing by one or less.
; 1,2,5,13,35,95,259,707,1931,5275,14411,39371,107563,293867,802859,2193451,5992619,16372139,44729515,122203307,333865643,912137899,2492007083,6808289963,18600594091,50817768107,138836724395,379308985003,103... |
Appl/NInFnt/ninfntList.asm | steakknife/pcgeos | 504 | 6207 | <reponame>steakknife/pcgeos<filename>Appl/NInFnt/ninfntList.asm<gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Nimbus Font Installation
FILE: ninfntList.asm
AUTHOR: <NAME>
REVISIO... |
src/macos/sms/send_sms.scpt | Justintime50/os-scripting | 4 | 3792 | <filename>src/macos/sms/send_sms.scpt
# Send an SMS from your Mac
# Usage: osascript send_imessage.scpt +1555555555 "Hello, here is a message."
on run {targetBuddyPhone, targetMessage}
tell application "Messages"
set targetService to 1st service whose service type = SMS
set targetBuddy to buddy tar... |
oeis/052/A052544.asm | neoneye/loda-programs | 11 | 80192 | <reponame>neoneye/loda-programs<filename>oeis/052/A052544.asm
; A052544: Expansion of (1-x)^2/(1 - 4*x + 3*x^2 - x^3).
; 1,2,6,19,60,189,595,1873,5896,18560,58425,183916,578949,1822473,5736961,18059374,56849086,178955183,563332848,1773314929,5582216355,17572253481,55315679788,174128175064,548137914373,1725482812088,543... |
oeis/344/A344006.asm | neoneye/loda-programs | 11 | 19085 | <filename>oeis/344/A344006.asm
; A344006: a(n) = m*(m+1)/n, where A344005(n) is the smallest number m such that n divides m*(m+1).
; Submitted by Jon Maiga
; 2,1,2,3,4,1,6,7,8,2,10,1,12,3,2,15,16,4,18,1,2,5,22,3,24,6,26,2,28,1,30,31,4,8,6,2,36,9,4,6,40,1,42,3,2,11,46,5,48,12,6,3,52,13,2,1,6,14,58,4,60,15,12,63,10,2,66,... |
alloy4fun_models/trashltl/models/4/Rm86ecJMyrEqSEAQB.als | Kaixi26/org.alloytools.alloy | 0 | 2478 | open main
pred idRm86ecJMyrEqSEAQB_prop5 {
some f:File | (eventually f in Trash)
}
pred __repair { idRm86ecJMyrEqSEAQB_prop5 }
check __repair { idRm86ecJMyrEqSEAQB_prop5 <=> prop5o } |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_680.asm | ljhsiun2/medusa | 9 | 178687 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1cac7, %rdx
nop
cmp $61828, %r10
mov $0x6162636465666768, %r8
movq %r8, (%rdx)
nop
nop
nop
sub $62427, %r11
lea addresses_D_ht+0x455b, %rdi
nop
nop
nop
nop
xor $28472, %rsi
m... |
oeis/240/A240721.asm | neoneye/loda-programs | 11 | 24686 | ; A240721: Expansion of -(4*x+sqrt(1-8*x)-1)/(sqrt(1-8*x)*(4*x^2+x)+8*x^2-x).
; Submitted by <NAME>
; 1,7,49,351,2561,18943,141569,1066495,8085505,61616127,471556097,3621830655,27902803969,215530668031,1668644405249,12944666918911,100598145875969,783027553697791,6103529011806209,47636654222999551,372225072921837569,291... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/esx_dos_catalog_next_fastcall.asm | jpoikela/z88dk | 640 | 9810 | ; unsigned char esx_dos_catalog_next(struct esx_cat *cat)
SECTION code_esxdos
PUBLIC _esx_dos_catalog_next_fastcall
EXTERN asm_esx_dos_catalog_next
_esx_dos_catalog_next_fastcall:
push iy
call asm_esx_dos_catalog_next
pop iy
ret
|
resources/scripts/api/zoomeye.ads | shelld3v/Amass | 1 | 2332 | -- Copyright 2017 <NAME>. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local json = require("json")
name = "ZoomEye"
type = "api"
function start()
setratelimit(3)
end
function check()
local c
local cfg = datasrc_config()
if cf... |
problems/046/a046.adb | melwyncarlo/ProjectEuler | 0 | 26774 | <filename>problems/046/a046.adb
with Ada.Text_IO;
with Ada.Integer_Text_IO;
with Ada.Numerics.Elementary_Functions;
-- Copyright 2021 <NAME>
procedure A046 is
use Ada.Text_IO;
use Ada.Integer_Text_IO;
use Ada.Numerics.Elementary_Functions;
-- File Reference: http://www.naturalnumbers.org/primes.html
... |
programs/oeis/097/A097723.asm | neoneye/loda | 22 | 3423 | ; A097723: One fourth of sum of divisors of 4n+3.
; 1,2,3,6,5,6,10,8,12,14,11,12,18,18,15,26,17,18,31,20,21,30,28,30,39,26,27,38,36,36,42,32,33,60,35,42,57,38,48,54,41,42,65,62,45,62,54,48,84,50,60,78,53,66,74,56,57,96,72,60,91,70,63,108,76,66,90,68,93,104,71,84,98,90,84,102,77,78,156,90,90,110,83,102,114,100,87,140,10... |
src/ado-caches.adb | My-Colaborations/ada-ado | 0 | 3061 | -----------------------------------------------------------------------
-- ado-cache -- Simple cache management
-- Copyright (C) 2017 <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 the License.
-- Y... |
gfx/pokemon/wingull/anim.asm | Ebernacher90/pokecrystal-allworld | 0 | 102818 | frame 1, 04
setrepeat 3
frame 2, 12
frame 3, 08
dorepeat 2
frame 2, 10
endanim
|
test/Succeed/Issue4721.agda | cagix/agda | 1,989 | 14822 | {-# OPTIONS --rewriting --allow-unsolved-metas #-}
open import Agda.Builtin.Equality
open import Agda.Builtin.Equality.Rewrite
postulate
I : Set
A : I → Set
HEq : (i0 i1 : I) → A i0 → A i1 → Set
HEq-on-refl : (i : I) (a0 a1 : A i) → HEq i i a0 a1 ≡ I
{-# REWRITE HEq-on-refl #-}
record Con : Set where
field... |
gfx/pokemon/girafarig/anim_idle.asm | Dev727/ancientplatinum | 28 | 103503 | <filename>gfx/pokemon/girafarig/anim_idle.asm
frame 5, 16
frame 3, 16
endanim
|
subprojects/kernel/src/arch/i386/tss.asm | SlumberousForests/octOs | 9 | 13092 | tss_entry:
dd 0x00000000 ; prev_tss: unused
dd 0x00000000 ; esp0: the stack pointer which needs to be loaded when kernel mode is entered
dd 0x00000010 ; ss0: the kernel stack segment (the data segment in the GDT)
dd 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ; i won't use the rest of the TSS
... |
libsrc/_DEVELOPMENT/l/sccz80/crt0/l_ult.asm | jpoikela/z88dk | 640 | 167757 | ; Z88 Small C+ Run time Library
; Moved functions over to proper libdefs
; To make startup code smaller and neater!
;
; 6/9/98 djm
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_ult
EXTERN l_compare_result
l_ult:
ld a,d
cp h
jp nz, l_compare_result
ld a,e
cp l
jp l_compare_resul... |
test/Fail/Issue5706.agda | KDr2/agda | 1,989 | 3604 | -- Andreas, 2021-12-22, issue #5706 reported by Trebor-Huang
-- In Agda <= 2.6.2.1, Int overflow can be exploited.
-- Basically just a modified version of Russell's paradox found at
-- http://liamoc.net/posts/2015-09-10-girards-paradox.html.
-- -- This 64bit Int overflow got us Set:Set.
-- WTF : Set₀
-- WTF = Set₁₈₄₄... |
libsrc/target/homelab2/input/in_keytranstbl.asm | Frodevan/z88dk | 640 | 7880 |
; This table translates key presses into ascii codes.
; Also used by 'GetKey' and 'LookupKey'. An effort has been made for
; this key translation table to emulate a PC keyboard with the 'CTRL' key
SECTION rodata_clib
PUBLIC in_keytranstbl
; Homelab 2 table
.in_keytranstbl
; Line 0 contains shift
defb ' ', 11, ... |
src/dnscatcher/dns/processor/rdata/dnscatcher-dns-processor-rdata-unknown_parser.ads | DNSCatcher/DNSCatcher | 4 | 27876 | <reponame>DNSCatcher/DNSCatcher
-- Copyright 2019 <NAME> <<EMAIL>>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to
-- deal in the Software without restriction, including without limitation the
-- rights to use... |
extern/gnat_sdl/gnat_sdl2/src/sdl_h.ads | AdaCore/training_material | 15 | 2296 | <filename>extern/gnat_sdl/gnat_sdl2/src/sdl_h.ads
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with SDL_stdinc_h;
package SDL_h is
SDL_INIT_TIMER : constant := 16#00000001#; -- ..\SDL2_tmp\SDL.h:77
SDL_INIT_AUDIO : constant := 16#00000010#; -- ..\SDL2_tmp\SDL.h:78
SDL... |
tests/typing/good/testfile-assign-3.adb | xuedong/mini-ada | 0 | 28932 | with Ada.Text_IO; use Ada.Text_IO;
procedure Test is
procedure P(X: in out Integer) is begin new_line; end;
type r is record a: integer; end record;
function f return access r is begin return new r; end;
begin
P(f.a);
end;
|
test/Succeed/Issue498.agda | shlevy/agda | 1,989 | 4630 | <filename>test/Succeed/Issue498.agda
-- Issue498: Underapplied projection-like functions did not evaluate correctly.
module Issue498 where
data ⊤ : Set where
tt : ⊤
data C : ⊤ → Set where
c : C tt
data C₂ : ⊤ → ⊤ → Set where
c : C₂ tt tt
module NoParams where
f₁ : ∀ a → C a → ⊤
f₁ a x = tt
f₁′ : ∀ a →... |
srv_conn.ads | byllgrim/iictl | 0 | 15913 | with Ada.Directories;
with Ada.Strings.Unbounded;
with Iictl;
with Posix;
with Util;
package Srv_Conn is
-- TODO rename Server_Reconnection or something?
procedure Reconnect_Servers (Irc_Dir : in String; Nick : in String);
procedure Maintain_Connection
(Dir_Ent : in Ada.Directories.Directory_Entry_... |
oeis/019/A019752.asm | neoneye/loda-programs | 11 | 90689 | ; A019752: G.f.: 1/((1-4x)(1-11x)(1-12x)).
; Submitted by <NAME>
; 1,27,505,8115,120241,1695387,23126185,308127555,4034342881,52117311147,666165944665,8442335850195,106239836635921,1329127977509307,16546285315207945,205119670292296035,2533642759410327361,31197987005034321867,383112856942345668025,4693461425284297785075... |
src/com/etk/parser/SELECT.g4 | ilucin/relsem-bridge-backend | 1 | 7485 | grammar SELECT;
selectStmnt :
'SELECT' querySpecification ;
querySpecification:
(setQuantifier)? selectList tableExpression ;
setQuantifier :
'DISTINCT'
| 'ALL' ;
selectList:
'*'
| derivedColumn (',' derivedColumn)* ;
derivedColumn:
columnName (asClause)? ;
asClause:
'AS' columnName ;
t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.