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 |
|---|---|---|---|---|
schedule.applescript | zk4/omnifocus-scripts | 1 | 2450 | <filename>schedule.applescript
do shell script "source ~/.bash_profile && cd /Users/zk/git/pythonPrj/calendar/ && python3 ./once_main.py"
|
programs/oeis/002/A002309.asm | neoneye/loda | 22 | 438 | <reponame>neoneye/loda
; A002309: Sum of first n fourth powers of odd numbers.
; 1,82,707,3108,9669,24310,52871,103496,187017,317338,511819,791660,1182285,1713726,2421007,3344528,4530449,6031074,7905235,10218676,13044437,16463238,20563863,25443544,31208345,37973546,45864027,55014652,65570653,77688014,91533855,107286816... |
libsrc/graphics/mc1000/bkrestore.asm | jpoikela/z88dk | 640 | 3814 | <gh_stars>100-1000
;
; Fast background restore
;
; MC-1000 version
;
; $Id: bkrestore.asm $
;
SECTION smc_clib
PUBLIC bkrestore
PUBLIC _bkrestore
EXTERN bkpixeladdress
EXTERN pix_return
.bkrestore
._bkrestore
; __FASTCALL__ : sprite ptr in HL
push ix ;save callers
push hl
pop ix
ld h,(ix+2)
ld l... |
agda-stdlib/src/Category/Monad/Reader.agda | DreamLinuxer/popl21-artifact | 5 | 7673 | <filename>agda-stdlib/src/Category/Monad/Reader.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- The reader monad
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Level
module Catego... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_1198.asm | ljhsiun2/medusa | 9 | 80472 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1e38a, %rsi
xor %r10, %r10
mov $0x6162636465666768, %rdi
movq %rdi, %xmm6
vmovups %ymm6, (%rsi)
nop
nop
nop
nop
nop
sub %r12, %r12
lea addresses_A_ht+0x10d4a, %rcx
nop
cmp $4... |
programs/oeis/004/A004656.asm | neoneye/loda | 22 | 83717 | <reponame>neoneye/loda
; A004656: Powers of 3 written in base 2.
; 1,11,1001,11011,1010001,11110011,1011011001,100010001011,1100110100001,100110011100011,1110011010101001,101011001111111011,10000001101111110001,110000101001111010011,10010001111101101111001,110110101111001001101011,10100100001101011101000001,11110110010... |
alloy4fun_models/trashltl/models/4/gQ9K7kgvw4dKTtLMS.als | Kaixi26/org.alloytools.alloy | 0 | 4743 | open main
pred idgQ9K7kgvw4dKTtLMS_prop5 {
eventually no Trash
}
pred __repair { idgQ9K7kgvw4dKTtLMS_prop5 }
check __repair { idgQ9K7kgvw4dKTtLMS_prop5 <=> prop5o } |
Transynther/x86/_processed/NONE/_ht_zr_/i7-7700_9_0xca.log_21829_1257.asm | ljhsiun2/medusa | 9 | 10646 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_ht_zr_/i7-7700_9_0xca.log_21829_1257.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x8792, %rsi
lea addresses_WT_ht+0x133ca, %rdi
nop
nop
nop
xor $254... |
prog1.asm | mmend175/xv6_OS | 0 | 8050 | <gh_stars>0
_prog1: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
... |
src/cargo_menu.ads | Fabien-Chouteau/motherlode | 2 | 25269 | -- Motherlode
-- Copyright (c) 2020 <NAME>
package Cargo_Menu is
procedure Run;
end Cargo_Menu;
|
src/Nat/Wrapper.agda | nad/equality | 3 | 8950 | <reponame>nad/equality
------------------------------------------------------------------------
-- A wrapper that turns a representation of natural numbers (with a
-- unique representative for every number) into a representation that
-- computes roughly like the unary natural numbers (at least for some
-- operations)
-... |
release/src/router/gmp/source/mpn/x86_64/core2/aorsmul_1.asm | zhoutao0712/rtn11pb1 | 12 | 174891 | dnl x86-64 mpn_addmul_1 and mpn_submul_1, optimized for "Core 2".
dnl Copyright 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General... |
test/Fail/Issue2079.agda | shlevy/agda | 1,989 | 16830 |
data Cx (U : Set) : Set where
∅ : Cx U
_,_ : Cx U → U → Cx U
data _∈_ {U : Set} (A : U) : Cx U → Set where
top : ∀ {Γ} → A ∈ (Γ , A)
pop : ∀ {B Γ} → A ∈ Γ → A ∈ (Γ , B)
infixr 3 _⇒_
data Ty : Set where
ι : Ty
_⇒_ : Ty → Ty → Ty
□_ : Ty → Ty
infix 1 _⊢_
data _⊢_ : Cx Ty → Ty → Set where
var : ∀... |
src/asis/a4g-decl_sem.adb | My-Colaborations/dynamo | 15 | 30726 | <filename>src/asis/a4g-decl_sem.adb<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
programs/oeis/086/A086577.asm | neoneye/loda | 22 | 174875 | <reponame>neoneye/loda
; A086577: a(n) = 6*(10^n - 1).
; 0,54,594,5994,59994,599994,5999994,59999994,599999994,5999999994,59999999994,599999999994,5999999999994,59999999999994,599999999999994,5999999999999994,59999999999999994,599999999999999994,5999999999999999994,59999999999999999994,599999999999999999994
mov $1,10
... |
src/002/greetings.adb | xeenta/learning-ada | 0 | 3897 | <gh_stars>0
with Ada.Text_IO; use Ada.Text_IO;
package body Greetings is
procedure Swear (Greeting : String;
Speaker_Age : Person.Age := Person.Age'First) is
begin
if Speaker_Age >= Person.Adult_Age then
Put_Line ((if Greeting = Hello then Swear_Hello
... |
text/maps/route_6.asm | adhi-thirumala/EvoYellow | 16 | 240540 | <filename>text/maps/route_6.asm
_Route6BattleText1::
text "I'm doing this"
line "out of love."
cont "Leave me alone!"
done
_Route6EndBattleText1::
text "No,"
line "this can't be..."
prompt
_Route6AfterBattleText1::
text "My love will leave"
line "me in disgust."
done
_Route6BattleText2::
text "I'm trainin... |
programs/oeis/262/A262342.asm | jmorken/loda | 1 | 14183 | <reponame>jmorken/loda
; A262342: Area of Lewis Carroll's paradoxical F(2n+1) X F(2n+3) rectangle.
; 10,65,442,3026,20737,142130,974170,6677057,45765226,313679522,2149991425,14736260450,101003831722,692290561601,4745030099482,32522920134770,222915410843905,1527884955772562,10472279279564026,71778070001175617
add $0,3
... |
programs/oeis/053/A053404.asm | neoneye/loda | 22 | 23582 | <reponame>neoneye/loda<gh_stars>10-100
; A053404: Expansion of 1/((1+3*x)*(1-4*x)).
; 1,1,13,25,181,481,2653,8425,40261,141361,624493,2320825,9814741,37664641,155441533,607417225,2472715621,9761722321,39434309773,156574977625,629786694901,2508686426401,10066126765213,40170363882025,160963885064581,643008251648881,25745... |
bahamut/source/text.asm | higan-emu/bahamut-lagoon-translation-kit | 2 | 10909 | <reponame>higan-emu/bahamut-lagoon-translation-kit<gh_stars>1-10
//utility functions to build text strings for dynamic text rendering
//append macros output to the specified target string with X as an index
//emit functions output to their own variables
seek(codeCursor)
namespace append {
//X => target index
//Y ... |
lib/cryptlib/bn/bn-win32.asm | mtatton/qodem | 131 | 170482 | <reponame>mtatton/qodem
; Don't even think of reading this code
; It was automatically generated by bn-586.pl
; Which is a perl program used to generate the x86 assember for
; any of ELF, a.out, COFF, Win32, ...
; eric <<EMAIL>>
;
TITLE bn-586.asm
.386
.model FLAT
_TEXT$ SEGMENT PAGE 'CODE'
PUBLIC _bn_mu... |
awa/plugins/awa-storages/src/model/awa-storages-beans-factories.adb | fuzzysloth/ada-awa | 0 | 15447 | -----------------------------------------------------------------------
-- awa-storages-beans -- Storage Ada Beans
-- Copyright (C) 2012 <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 Licen... |
src/util/iterateur_mots.adb | SKNZ/BezierToSTL | 0 | 6200 | <reponame>SKNZ/BezierToSTL<gh_stars>0
package body Iterateur_Mots is
function Initialiser(
Chaine : String;
Separateur : Character)
return Iterateur_Mot
is
begin
return (Chaine => To_Unbounded_String(Chaine),
Curseur => 1,
Separateur => Separateur);
... |
test/antlrGrammar.g4 | ajalt/eece6083-compiler | 1 | 2856 | grammar antlrGrammar;
AND: '&';
THEN: 'then';
BEGIN: 'begin';
FLOAT: 'float';
RETURN: 'return';
GTE: '>=';
INTEGER: 'int';
LTE: '<=';
ELSE: 'else';
GLOBAL: 'global';
ASSIGN: ':=';
OUT: 'out';
IF: 'if';
IN: 'in';
NOT: 'not';
FALSE: 'false';
NOTEQUAL: '!=';
OPENBRACE: '{';
STRING: 'string';
CASE: 'case';
END: 'end';
FOR... |
examples/simple/let/let-output.agda | wenkokke/vehicle | 11 | 14806 | <reponame>wenkokke/vehicle
-- WARNING: This file was generated automatically by Vehicle
-- and should not be modified manually!
-- Metadata
-- - Agda version: 2.6.2
-- - AISEC version: 0.1.0.1
-- - Time generated: ???
{-# OPTIONS --allow-exec #-}
open import Vehicle
open import Data.Unit
module let-output where
... |
Working Disassembly/General/Sprites/Animals/Map - Animals 2.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 88629 | <reponame>TeamASM-Blur/Sonic-3-Blue-Balls-Edition<gh_stars>1-10
Map_2CED8: dc.w word_2CEE6-Map_2CED8
dc.w word_2CEEE-Map_2CED8
dc.w word_2CEDE-Map_2CED8
word_2CEDE: dc.w 1
dc.b $F4, 6, 0, 0, $FF, $F8
word_2CEE6: dc.w 1
dc.b $F8, 9, 0, 6, $FF, $F4
word_2CEEE: dc.w 1
dc.b $F8, 9, 0,... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1153.asm | ljhsiun2/medusa | 9 | 170134 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1a7a0, %rsi
nop
nop
nop
nop
inc %rbp
movl $0x61626364, (%rsi)
xor $2172, %r15
lea addresses_normal_ht+0xfc0, %r8
add %r11, %r11
mov $0x6162636465666768, %r15
movq %... |
_maps/obj46.asm | vladjester2020/Sonic1TMR | 0 | 162481 | <gh_stars>0
; ---------------------------------------------------------------------------
; Sprite mappings - solid blocks and blocks that fall from the ceiling (MZ)
; ---------------------------------------------------------------------------
dc.w byte_E906-Map_obj46
byte_E906: dc.b 1
dc.b $F0, $F, 0, 1, $F0
... |
src/Categories/Category/Complete/Properties.agda | laMudri/agda-categories | 0 | 11677 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category
module Categories.Category.Complete.Properties {o ℓ e} (C : Category o ℓ e) where
open import Level
open import Data.Product
open import Relation.Binary
open import Categories.Category.Complete
open import Categories.Category.Complete.Finitely
open ... |
fibonacci.asm | skhasibulalam/asm-intro-8086 | 0 | 23315 | <reponame>skhasibulalam/asm-intro-8086
CODE SEGMENT
ASSUME CS:CODE,DS:CODE
ORG 100H
MAIN: MOV AX,CS
MOV DS,AX
MOV AX,1
MOV BX,0
MOV DX,0
MOV CX,1
BARAO: MOV DX,AX; 1 2 3 5 8 13 21 34 ...
ADD AX,BX
MOV BX,DX
INC CX
CMP CX,8; find 8th Fibonacci term
JNE BAR... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c52104l.ada | best08618/asylo | 7 | 30866 | <reponame>best08618/asylo
-- C52104L.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
-- unlimited rights in the software and documentation contai... |
Modul 3/latih15.asm | hyuwah/fu-praktikum-smd | 0 | 19151 | <filename>Modul 3/latih15.asm<gh_stars>0
;--------------------------------------------------------------------
; Praktikum SMD 2015
; M.Wahyudin (140310120031)
;
; Name : LATIH15.ASM
; Desc : Menampilkan karakter A ke display matriks 7x5
; Input : -
; Output: Display matriks 7x5
;-------------------------------------... |
beafix_benchmarks/A4F-1B-ATR/CLASSROOM/classroom_inv1_1.als | Kaixi26/org.alloytools.alloy | 0 | 897 | <gh_stars>0
/* The registered persons. */
sig Person {
/* Each person tutors a set of persons. */
Tutors : set Person,
/* Each person teaches a set of classes. */
Teaches : set Class
}
/* The registered groups. */
sig Group {}
/* The registered classes. */
sig Class {
/* Each class has a set of persons assigne... |
src/drivers/cpu/common_ia86.asm | pwk4m1/TinyBIOS | 23 | 14516 | ; BSD 3-Clause License
;
; Copyright (c) 2020, k4m1 <<EMAIL>>
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; * Redistributions of source code must retain the above copyright notice,
; t... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-speche.ads | orb-zhuchen/Orb | 0 | 25050 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
programs/oeis/057/A057073.asm | neoneye/loda | 22 | 245907 | <reponame>neoneye/loda
; A057073: floor[11^11/n].
; 285311670611,142655835305,95103890203,71327917652,57062334122,47551945101,40758810087,35663958826,31701296734,28531167061,25937424601,23775972550,21947051585,20379405043,19020778040
add $0,1
mov $1,285311670611
div $1,$0
mov $0,$1
|
source/Curiota.popclipext/Curiota.applescript | cnstntn-kndrtv/PopClip-Extensions | 1,262 | 4437 | tell application "Curiota"
add note "{popclip text}" from URL "{popclip browser url}"
end tell
|
Task/Determine-if-a-string-is-numeric/AppleScript/determine-if-a-string-is-numeric-2.applescript | LaudateCorpus1/RosettaCodeData | 1 | 2365 | <reponame>LaudateCorpus1/RosettaCodeData
{false, false, false, true, true, true, true, false, false, false}
|
source/amf/uml/amf-internals-uml_regions.ads | svn2github/matreshka | 24 | 3321 | <reponame>svn2github/matreshka<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
boot/gdt.asm | patrickanguyen/patOS | 9 | 165400 | <filename>boot/gdt.asm
gdt_start:
gdt_null:
dd 0x0 ; 8 byte null descriptor
dd 0x0
gdt_code: ; The code segment descriptor
; 1st flags: Present 1, Privledge 00, Descriptor type 1
; type flags: Code 1, Conforming 0, readable 1, accessed 0
; 2nd flags: granularity 1, 32-bit default, 1, 64 0, avl, 0... |
constants/credits_constants.asm | Dev727/ancientplatinum | 28 | 93701 | ; CreditsStrings indexes (see data/credits_strings.asm)
const_def
const SATOSHI_TAJIRI
const JUNICHI_MASUDA
const TETSUYA_WATANABE
const SHIGEKI_MORIMOTO
const SOUSUKE_TAMADA
const TAKENORI_OOTA
const KEN_SUGIMORI
const MOTOFUMI_FUJIWARA
const ATSUKO_NISHIDA
const MUNEO_SAITO
const SATOSHI_OOTA
const RENA_... |
oeis/118/A118645.asm | neoneye/loda-programs | 11 | 177941 | ; A118645: Number of binary strings of length n such that there exist three consecutive digits where at least two of them are 1's.
; Submitted by <NAME>
; 0,0,1,4,10,23,51,109,228,471,964,1960,3967,8003,16107,32362,64941,130200,260866,522415,1045831,2093129,4188408,8379967,16764552,33535872,67081663,134177863,268377031... |
engine/items/print_item_description.asm | AtmaBuster/pokeplat-gen2 | 6 | 244787 | <reponame>AtmaBuster/pokeplat-gen2
PrintItemDescription:
; Print the description for item [wCurSpecies] at de.
push de
ld hl, ItemDescriptions
ld a, [wCurSpecies]
dec a
ld c, a
ld b, 0
add hl, bc
add hl, bc
ld e, [hl]
inc hl
ld d, [hl]
pop hl
jp PlaceString
INCLUDE "data/items/descriptions.asm"
|
source/binary/arithmetic.asm | paulscottrobson/BasicII | 0 | 12761 | ; *******************************************************************************************
; *******************************************************************************************
;
; Name : arithmetic.asm
; Purpose : Simple binary operators
; Date : 2nd June 2019
; Author : <EMAIL>
;
; **************... |
arithmethic_div.asm | tor4z/nasm_training | 0 | 83730 | <gh_stars>0
global _start
section .data
msg db 'The result is: '
msgLen equ $ - msg
section .bss
res resb 1
section .text
_start:
mov ax, '8' ; Put char in 16-bit ax
sub ax, '0' ; Convert char to number
mov bl, '4' ; Put char in 8-bit bl
sub bl, '0' ; convert char to number
div bl ; ax/bl
add al, '0' ... |
models/hol/sygus/let_benchmarks/array_sum.als | johnwickerson/alloystar | 2 | 4736 | <reponame>johnwickerson/alloystar
module array_sum<spec>
open util/integer as b
/**
* Common model for all array_sum benchmarks
*/
--------------------------------------------------------------------------------
-- AST Nodes
--------------------------------------------------------------------------------
abstract ... |
programs/oeis/220/A220096.asm | neoneye/loda | 22 | 94821 | <reponame>neoneye/loda
; A220096: a(1)=0, n-1 if n is prime, else largest proper divisor of n.
; 0,1,2,2,4,3,6,4,3,5,10,6,12,7,5,8,16,9,18,10,7,11,22,12,5,13,9,14,28,15,30,16,11,17,7,18,36,19,13,20,40,21,42,22,15,23,46,24,7,25,17,26,52,27,11,28,19,29,58,30,60,31,21,32,13,33,66,34,23,35,70,36,72,37,25,38,11,39,78,40,27,... |
programs/oeis/081/A081045.asm | neoneye/loda | 22 | 92357 | <filename>programs/oeis/081/A081045.asm
; A081045: 10th binomial transform of (1,9,0,0,0,0,0,.....).
; 1,19,280,3700,46000,550000,6400000,73000000,820000000,9100000000,100000000000,1090000000000,11800000000000,127000000000000,1360000000000000,14500000000000000,154000000000000000,1630000000000000000,17200000000000000000... |
pugixml/pugi_xml.ads | FROL256/ada-ray-tracer | 3 | 21764 | -- pugi_xml.ads - Fri Jun 10 21:47:48 2016
--
-- (c) <NAME> VE3WWG <EMAIL>
--
-- Protected under the following license:
-- GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999
with System, Ada.Finalization, Interfaces.C, Ada.Characters.Latin_1;
package Pugi_Xml is
type XML_Parse_Flags is
record
... |
asm/remove_optimization_for_freecam_pal.asm | Colt-Zero/spyro06-source | 0 | 177341 | .open "sys/main.dol"
; Free cam, credit goes to marius851000
.org 0x8034fde4
li r3, 1 ; 0434fde4 38600001
blr ; 0434fde8 4e800020
.org 0x803249b0
nop ; 043249b0 60000000
.close |
programs/oeis/036/A036578.asm | jmorken/loda | 1 | 85099 | <filename>programs/oeis/036/A036578.asm
; A036578: Ternary Thue-Morse sequence: closed under a->abc, b->ac, c->b.
; 1,0,2,1,2,0,1,0,2,0,1,2,1,0,2,1,2,0,1,2,1,0,2,0,1,0,2,1,2,0,1,0,2,0,1,2,1,0,2,0,1,0,2,1,2,0,1,2,1,0,2,1,2,0,1,0,2,0,1,2,1,0,2,1,2,0,1,2,1,0,2,0,1,0,2,1,2,0,1,2,1,0,2,1,2,0,1,0,2,0,1,2,1,0,2,0,1,0,2
cal $... |
src/arch/x86/lib/print.asm | Eytoue/PencilKernel | 3 | 242050 | <reponame>Eytoue/PencilKernel
TI_GDT equ 0
RPL0 equ 0
SELECTOR_VIDEO equ (0x0003<<3) + TI_GDT + RPL0
section .data
put_int_buffer dq 0 ; 定义8字节缓冲区用于数字到字符的转换
[bits 32]
section .text
;--------------------------------------------
;put_str 通过put_char来打印以0字符结尾的字符串
;--------------------------------------------... |
src/lv-area.ads | Fabien-Chouteau/ada-lvlg | 3 | 8041 | package Lv.Area is
Lv_Coord_Max : constant := (16383);
Lv_Coord_Min : constant := (-16384);
subtype Coord_T is Int16_T;
type Point_T is record
X : aliased Coord_T;
Y : aliased Coord_T;
end record;
pragma Convention (C_Pass_By_Copy, Point_T);
type Point_Array is array (Natural range ... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i3-7100_9_0xca_notsx.log_21829_1170.asm | ljhsiun2/medusa | 9 | 162184 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1d7a5, %r8
nop
nop
nop
nop
nop
sub %rcx, %rcx
vmovups (%r8), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $1, %xmm7, %rax
and %rbp, %rbp
lea addresses_A_ht+0x2798, %rsi
lea add... |
libsrc/_DEVELOPMENT/stdio/c/sccz80/freopen_unlocked.asm | jpoikela/z88dk | 640 | 174912 | <gh_stars>100-1000
; FILE *freopen_unlocked(char *filename, char *mode, FILE *stream)
SECTION code_clib
SECTION code_stdio
PUBLIC freopen_unlocked
EXTERN asm_freopen_unlocked
freopen_unlocked:
pop af
pop ix
pop de
pop hl
push hl
push de
push hl
push af
jp asm_freopen_unlocked
|
s3d/music-improved/GeneGZ2.asm | Cancer52/flamedriver | 9 | 99405 | Snd_GeneGZ2_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Snd_GeneGZ2_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $14
smpsHeaderDAC Snd_GeneGZ2_DAC
smpsHeaderFM Snd_GeneGZ2_FM1, $00, $11
smpsHeaderFM Snd_GeneGZ2_FM2, $00, $0B
smpsHeaderFM Snd_GeneGZ2_FM3, $F4, $1... |
programs/oeis/006/A006579.asm | karttu/loda | 0 | 245499 | ; A006579: Sum of gcd(n,k) for k = 1 to n-1.
; 0,1,2,4,4,9,6,12,12,17,10,28,12,25,30,32,16,45,18,52,44,41,22,76,40,49,54,76,28,105,30,80,72,65,82,132,36,73,86,140,40,153,42,124,144,89,46,192,84,145,114,148,52,189,134,204,128,113,58,300,60,121,210,192,160,249,66,196,156,281,70,348,72,145,250,220,196,297,78,352,216,161,8... |
programs/oeis/074/A074677.asm | neoneye/loda | 22 | 16054 | <reponame>neoneye/loda
; A074677: a(n) = Sum_{i = 0..floor(n/2)} (-1)^(i + floor(n/2)) F(2*i + e), where F = A000045 (Fibonacci numbers) and e = (1-(-1)^n)/2.
; 0,1,1,1,2,4,6,9,15,25,40,64,104,169,273,441,714,1156,1870,3025,4895,7921,12816,20736,33552,54289,87841,142129,229970,372100,602070,974169,1576239,2550409,41266... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1292.asm | ljhsiun2/medusa | 9 | 97592 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r9
push %rbp
push %rsi
// Faulty Load
lea addresses_WT+0xdc97, %r9
nop
nop
nop
nop
nop
and $7026, %r13
vmovups (%r9), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $1, %xmm5, %rbp
lea oracles, %r12
and $0... |
src/ada/src/route_aggregator_communication.adb | pat-rogers/OpenUxAS | 0 | 7507 | <reponame>pat-rogers/OpenUxAS
with AVTAS.LMCP.Types;
with UxAS.Common.String_Constant.Message_Group;
with Route_Aggregator_Message_Conversions; use Route_Aggregator_Message_Conversions;
package body Route_Aggregator_Communication is
----------------
-- Initialize --
----------------
procedure Initialize
... |
D.Programming-Language/10.AppleScript/new_or_visible_microsoft_edge.applescript | isshe/code-library | 5 | 2630 | <reponame>isshe/code-library<filename>D.Programming-Language/10.AppleScript/new_or_visible_microsoft_edge.applescript
on count_windows_on_current_space(process_name)
tell application "System Events"
tell process process_name
return count of windows
end tell
end tell
end count_windows_on_current_space
on new_o... |
tests/immediate.asm | Liqi1003/lc3_vscode | 2 | 3858 | <reponame>Liqi1003/lc3_vscode
.ORIG x3000
; TEST: Immediate value out of range
ADD R0, R0, #32
AND R1, R1, #16
ADD R2, R2, x1F
.END
|
zad2_24.asm | tomwisniewskiprv/ASM | 1 | 28941 | <reponame>tomwisniewskiprv/ASM
;worksheet 2
;exercise 24
%TITLE "Status bar at last row"
.8086
.MODEL small
MAINSTACK SEGMENT STACK
dw 1024 dup (?)
pointer label word
MAINSTACK ENDS
;-----------------------------;
; DATA SEGEMENT ;
;-----------------------------;
DATA SEGMENT
stars... |
common.applescript | mattimustang/iphotokeywordutilities | 0 | 4016 | <reponame>mattimustang/iphotokeywordutilities
(*
Copyright (c) 2005, 2006, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright no... |
programas/ensamblador/rotaciones.asm | AdolfoMX/La-Biblioteca | 0 | 242734 | <filename>programas/ensamblador/rotaciones.asm
; instrucciones de rotaciones para corregir digitos los mueve a la izquierda
;------------- Seccion de datos -------------
section .data
; declaracion de caracteres escape
ln db 10, 13
longln equ 2
section .bss
resultado1 resb 1 ; reserva de memoria
;-------... |
project/adl/examples/STM32F4_DISCO/simple_audio/src/main.adb | corentingay/ada_epita | 0 | 17287 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, AdaCore --
-- --
-- ... |
agda/List/Permutation/Alternative/Correctness.agda | bgbianchi/sorting | 6 | 9203 | module List.Permutation.Alternative.Correctness (A : Set) where
open import Data.List
open import List.Permutation.Alternative A renaming (_∼_ to _∼′_)
open import List.Permutation.Base A
open import List.Permutation.Base.Equivalence A
lemma-∼′-∼ : {xs ys : List A} → xs ∼′ ys → xs ∼ ys
lemma-∼′-∼ ∼refl = refl∼
lemma... |
test/interaction/Issue2347.agda | shlevy/agda | 1,989 | 2008 | <reponame>shlevy/agda
-- Andreas, 2016-12-20, issue #2347, reported by m0davis
-- Case splitting in extended lambda with instance argument
-- was printed wrongly
-- {-# OPTIONS -v interaction.case:100 #-}
-- {-# OPTIONS -v reify:100 #-}
-- {-# OPTIONS -v reify.clause:100 #-}
-- {-# OPTIONS -v extendedlambda:100 #-}
--... |
src/mem.asm | matanui159/gb_shmup | 1 | 179754 | section "mem",rom0
; ```
; mem_copy(start: BC, end: DE, dest: HL)
; destroy(A, BC, HL)
; ```
mem_copy::
ld a, [bc]
inc bc
ld [hl+], a
ld a, c
cp a, e
jr nz, mem_copy
ld a, b
cp a, d
jr nz, mem_copy
ret
; ```
; mem_fill(start: HL, end: BC, value: D)
; destroy(A, HL)
; ```
mem_fill::
ld ... |
programs/oeis/167/A167176.asm | karttu/loda | 1 | 245224 | <gh_stars>1-10
; A167176: n^3 mod 9.
; 0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8,0,1,8
mov $1,$0
mod $1,3
pow $1,3
|
source/RASCAL-WimpWindow.adb | bracke/Meaning | 0 | 30111 | <gh_stars>0
--------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
Library/Text/TextGraphic/textgraphicManager.asm | steakknife/pcgeos | 504 | 90037 | <gh_stars>100-1000
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Library/Text/TextAttr
FILE: textManager.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 9/17/91 Ini... |
src/kernel/irq/irq_handlers.asm | seshOS/kernel | 1 | 164046 | extern _ZN4sesh3irq10IRQHandlerEPNS_14InterruptFrameE
global __irq_stub
__irq_stub:
pusha
push ds
push es
push fs
push gs
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov eax, esp
push eax
call _ZN4sesh3irq10IRQHandlerEPNS_14InterruptFrameE
pop eax
pop gs
pop fs
pop es
pop ds
popa
add ... |
src/common/keccak-generic_parallel_xof.ads | damaki/libkeccak | 26 | 8635 | <filename>src/common/keccak-generic_parallel_xof.ads
-------------------------------------------------------------------------------
-- Copyright (c) 2019, <NAME>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the followi... |
programs/oeis/261/A261011.asm | jmorken/loda | 1 | 21490 | <reponame>jmorken/loda<gh_stars>1-10
; A261011: Positive integers n such that ceiling(n^(1/3)) divides n.
; 1,2,4,6,8,9,12,15,18,21,24,27,28,32,36,40,44,48,52,56,60,64,65,70,75,80,85,90,95,100,105,110,115,120,125,126,132,138,144,150,156,162,168,174,180,186,192,198,204,210,216,217,224,231,238,245,252,259,266,273,280,287... |
Applications/Google-Chrome/window/tab/close.applescript | looking-for-a-job/applescript-examples | 1 | 406 | <filename>Applications/Google-Chrome/window/tab/close.applescript<gh_stars>1-10
tell application "Google Chrome"
tell front window
tell front tab
close
end tell
end tell
end tell |
libsrc/_DEVELOPMENT/adt/p_forward_list_alt/z80/asm_p_forward_list_alt_next.asm | meesokim/z88dk | 0 | 6236 | <reponame>meesokim/z88dk
; ===============================================================
; Sep 2014
; ===============================================================
;
; void *p_forward_list_alt_next(void *item)
;
; Return next item in list.
;
; ===============================================================
SECTI... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-encstr.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 29068 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
libsrc/_DEVELOPMENT/arch/zx/tape/c/sdcc_iy/zx_tape_verify_block.asm | jpoikela/z88dk | 640 | 80850 | ; unsigned char zx_tape_verify_block(void *dst, unsigned int len, unsigned char type)
SECTION code_clib
SECTION code_arch
PUBLIC _zx_tape_verify_block
EXTERN l_zx_tape_verify_block_callee
_zx_tape_verify_block:
pop hl
pop bc
pop de
dec sp
pop af
push af
dec sp
push bc
push hl
... |
Ada95/samples/ncurses2-acs_and_scroll.adb | ystk/debian-ncurses | 0 | 10800 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- ... |
programs/oeis/135/A135620.asm | neoneye/loda | 22 | 4773 | ; A135620: a(n) = 2^(prime(n) - 2).
; 1,2,8,32,512,2048,32768,131072,2097152,134217728,536870912,34359738368,549755813888,2199023255552,35184372088832,2251799813685248,144115188075855872,576460752303423488,36893488147419103232,590295810358705651712,2361183241434822606848,151115727451828646838272,24178516392292583494123... |
oeis/133/A133532.asm | neoneye/loda-programs | 11 | 85414 | ; A133532: Sum of fifth powers of three consecutive primes.
; Submitted by <NAME>
; 3400,20175,180983,549151,1952201,4267249,10332299,29423591,55576643,118484257,213829309,332208601,492209651,794548943,1362464799,1977716093,2909645707,3998950759,5227426051,6954357343,9089168635
mov $3,3
mov $4,$0
lpb $3
mov $0,$4
... |
test/Succeed/Issue3541.agda | hborum/agda | 0 | 4197 | <reponame>hborum/agda<filename>test/Succeed/Issue3541.agda
-- Andreas, 2019-02-03, issue #3541:
-- Treat indices like parameters in positivity check.
data Works (A : Set) : Set where
nest : Works (Works A) → Works A
data Foo : Set → Set where
foo : ∀{A} → Foo (Foo A) → Foo A
-- Should pass.
|
tests/assembly/ASL.asm | danecreekphotography/6502ts | 0 | 242398 | ; Verifies ASL
.segment "VECTORS"
.word $eaea
.word init
.word $eaea
.segment "ZEROPAGE"
zp:
.byte %00100000
.byte %00100000
.code
init:
asl ; A will be %00100000
asl ; A will be %01000000 from last instruction
asl ; A will be %10000000 from last instruction
asl zp
... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21829_687.asm | ljhsiun2/medusa | 9 | 177964 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21829_687.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1435b, %r11
clflush (%r11)
nop
nop
nop
and $30042, %r14
movb $0x61, (%r11)
nop
cmp %rb... |
gcc-gcc-7_3_0-release/gcc/ada/s-exctab.adb | best08618/asylo | 7 | 16696 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
libsrc/rs232/cpc/sti/rs232_params.asm | meesokim/z88dk | 0 | 170084 | <filename>libsrc/rs232/cpc/sti/rs232_params.asm
;
; z88dk RS232 Function
;
; Amstrad CPC (STI) version
;
; unsigned char rs232_params(unsigned char param, unsigned char parity)
;
; Specify the serial interface parameters
;
; $Id: rs232_params.asm,v 1.3 2015/01/19 01:33:07 pauloscustodio Ex... |
oeis/070/A070216.asm | neoneye/loda-programs | 11 | 3429 | <reponame>neoneye/loda-programs<filename>oeis/070/A070216.asm
; A070216: Triangle T(n, k) = n^2 + k^2, 1 <= k <= n, read by rows.
; Submitted by <NAME>
; 2,5,8,10,13,18,17,20,25,32,26,29,34,41,50,37,40,45,52,61,72,50,53,58,65,74,85,98,65,68,73,80,89,100,113,128,82,85,90,97,106,117,130,145,162,101,104,109,116,125,136,14... |
programs/oeis/071/A071239.asm | karttu/loda | 0 | 167809 | <filename>programs/oeis/071/A071239.asm
; A071239: a(n) = n*(n+1)*(n^2+2)/6.
; 0,1,6,22,60,135,266,476,792,1245,1870,2706,3796,5187,6930,9080,11696,14841,18582,22990,28140,34111,40986,48852,57800,67925,79326,92106,106372,122235,139810,159216,180576,204017,229670,257670,288156,321271,357162,395980,437880,483021,531566,5... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1767.asm | ljhsiun2/medusa | 9 | 102086 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1f59, %r15
nop
nop
xor %r11, %r11
mov (%r15), %r14
nop
nop
nop
nop
and %r8, %r8
lea addresses_WT_ht+0xa2e9, %rsi
nop
nop
nop
nop
nop
inc %r12
mov (%rsi), %r11
nop
nop
nop
nop... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1725.asm | ljhsiun2/medusa | 9 | 11088 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x9179, %rsi
lea addresses_A_ht+0x159dd, %rdi
nop
nop
nop
add %r10, %r10
mov $123, %rcx
rep movsl
nop
nop
nop
nop
and $65436, %r8
lea addresses_normal_ht+0x13f9, %r9
nop
nop
nop... |
asm/boot_sect_main.asm | soragui/makeOS | 0 | 81536 |
[org 0x7C00]
mov bx, HELLO
call print
call print_nl
mov bx, GOODBYE
call print
call print_nl
; setup the stack
mov bp, 0x8000
mov sp, bp
mov bx, 0x9000
mov dh, 2 ; read 2 sectors
call disk_load
mov dx, [0x9000] ; retrieve the first loaded word, 0xDADA
call print_hex
call print_nl
mov dx, [0x9000 + 512]
call... |
Working Disassembly/General/Sprites/SS Entry/DPLC - Special Stage Entry Flash.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 10800 | DPLC_61BFA: dc.w word_61C02-DPLC_61BFA
dc.w word_61C0A-DPLC_61BFA
dc.w word_61C12-DPLC_61BFA
dc.w word_61C1C-DPLC_61BFA
word_61C02: dc.w 2
dc.w 2
dc.w $35
dc.w $90
word_61C0A: dc.w 2
dc.w $A3
dc.w $E7
dc.w $161
word_61C12: dc.w 3
dc.w $182
dc.w $1BB
dc.w $273
dc.w $2B1
word_61C1C: dc... |
programs/oeis/007/A007877.asm | neoneye/loda | 22 | 247615 | <reponame>neoneye/loda
; A007877: Period 4 zigzag sequence: repeat [0,1,2,1].
; 0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0,1,2,1,0
gcd $0,4
mod $0,4
|
programs/oeis/245/A245349.asm | neoneye/loda | 22 | 11646 | ; A245349: Sum of digits of n in fractional base 7/4.
; 0,1,2,3,4,5,6,4,5,6,7,8,9,10,5,6,7,8,9,10,11,9,10,11,12,13,14,15,7,8,9,10,11,12,13,11,12,13,14,15,16,17,12,13,14,15,16,17,18,7,8,9,10,11,12,13,11,12,13,14,15,16,17,12,13,14,15,16,17
lpb $0
add $1,530
lpb $0
dif $0,7
mul $0,4
lpe
sub $0,1
lpe
div $... |
ToolsRunner.Tests/Resources/multiboot.asm | pengwin/DotNetOS | 2 | 4087 | <gh_stars>1-10
use32
UMB_START = 0x00100000
org UMB_START
MB_MAGIC = 1BADB002h
MB_F_BOOTALIGNED = 1
MB_F_MEMINFO = (1 shl 1)
MB_F_VIDEOTABLE = (1 shl 2)
MB_F_USE_MBOFFSETS = (1 shl 16)
MB_FLAGS = MB_F_BOOTALIGNED or MB_F_MEMINFO or \
MB_F_USE_MBOFFSETS
MB_CHECKSUM = dword - (MB_MAGIC + MB_FLAGS)
VIDEO_MODE = 1 ;... |
alloy4fun_models/trashltl/models/5/zH2svvTdvcHQXtww7.als | Kaixi26/org.alloytools.alloy | 0 | 2622 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idzH2svvTdvcHQXtww7_prop6 {
all t : Trash | t in Trash since t in Trash
}
pred __repair { idzH2svvTdvcHQXtww7_prop6 }
check __repair { idzH2svvTdvcHQXtww7_prop6 <=> prop6o } |
oeis/214/A214830.asm | neoneye/loda-programs | 11 | 93092 | <filename>oeis/214/A214830.asm
; A214830: a(n) = a(n-1) + a(n-2) + a(n-3), with a(0) = 1, a(1) = a(2) = 8.
; Submitted by <NAME>(s2)
; 1,8,8,17,33,58,108,199,365,672,1236,2273,4181,7690,14144,26015,47849,88008,161872,297729,547609,1007210,1852548,3407367,6267125,11527040,21201532,38995697,71724269,131921498,242641464,4... |
oeis/206/A206565.asm | neoneye/loda-programs | 11 | 29851 | <filename>oeis/206/A206565.asm
; A206565: Expansion of 1/(1 - 37*x + x^2).
; Submitted by <NAME>(s3)
; 1,37,1368,50579,1870055,69141456,2556363817,94516319773,3494547467784,129203739988235,4777043832096911,176621418047597472,6530215423929009553,241441349267325755989,8926799707467123962040,330050147827016260839491,12202... |
Task/Extensible-prime-generator/Ada/extensible-prime-generator.ada | LaudateCorpus1/RosettaCodeData | 1 | 5027 | <reponame>LaudateCorpus1/RosettaCodeData
with Ada.Text_IO, Miller_Rabin;
procedure Prime_Gen is
type Num is range 0 .. 2**63-1; -- maximum for the gnat Ada compiler
MR_Iterations: constant Positive := 25;
-- the probability Pr[Is_Prime(N, MR_Iterations) = Probably_Prime]
-- is 1 for prime N and < 4**... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.