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 |
|---|---|---|---|---|
tools-src/gnu/binutils/gas/testsuite/gasp/mri/irp.asm | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 28343 | <gh_stars>10-100
irp param,arg1,arg2,arg3
dc.l param
endr
end quit
|
src/Similarity/Equational-reasoning-instances.agda | nad/up-to | 0 | 2708 | ------------------------------------------------------------------------
-- "Equational" reasoning combinator setup
------------------------------------------------------------------------
{-# OPTIONS --sized-types #-}
open import Prelude.Size
open import Labelled-transition-system
module Similarity.Equational-reas... |
components/src/screen/pcd8544/pcd8544.adb | rocher/Ada_Drivers_Library | 192 | 29860 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2020, AdaCore --
-- --
-- ... |
src/macros.asm | cout/sm_practice_hack | 15 | 870 | <gh_stars>10-100
macro ppu_off()
LDA #$80 : STA $2100 : STA $13
STZ $420C : LDA $9B : PHA : STZ $9B
STZ $4200
endmacro
macro ppu_on()
LDA #$A1 : STA $4200
LDA #$0F : STA $13 : STA $2100
PLA : STA $9B : STA $420C
endmacro
macro a8()
sep #$20
endmacro
macro a16()
rep #$20
endmacro
macr... |
oeis/245/A245920.asm | neoneye/loda-programs | 11 | 174685 | <filename>oeis/245/A245920.asm<gh_stars>10-100
; A245920: Limit-reverse of the (2,1)-version of the infinite Fibonacci word A014675 with first term as initial block.
; Submitted by <NAME>
; 2,1,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,2,1,2,1,2,2,1,2,1,2,... |
src/licensing_raw.ads | mosteo/licensing | 0 | 16359 | package Licensing_Raw with Preelaborate is
type Licenses is (
AFL_3_0,
AGPL_3_0,
Apache_2_0,
Artistic_2_0,
BSD_2_Clause,
BSD_3_Clause_Clear,
BSD_3_Clause,
BSL_1_0,
CC0_1_0,
CC_BY_4_0,
CC_BY_SA_4_0,
ECL_2_0,
EPL_1_0,
EPL_2_0,
E... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/logb.asm | jpoikela/z88dk | 640 | 14139 |
SECTION code_clib
SECTION code_fp_math48
PUBLIC logb
EXTERN cm48_sccz80_logb
defc logb = cm48_sccz80_logb
|
gcc-gcc-7_3_0-release/gcc/ada/prj-strt.adb | best08618/asylo | 7 | 19125 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
clearUpNextEither.applescript | Bilalh/Scripts | 0 | 1887 | # <NAME>
# Clears the up next queue
# a itunes window or the mini player has to be visable
tell application "System Events"
tell process "iTunes"
set isMini to false
local upNextButton
if title of window 1 is "MiniPlayer" then
set upNextButton to (first button of window 1 whose description is "show up next")... |
llvm-gcc-4.2-2.9/gcc/ada/prj-tree.ads | vidkidz/crossbridge | 1 | 12897 | <filename>llvm-gcc-4.2-2.9/gcc/ada/prj-tree.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
build_gnu/binutils/gdb/testsuite/gdb.ada/unc_arr_ptr_in_var_rec/foo.adb | jed-frey/e200-gcc | 1 | 30845 | -- Copyright 2012-2014 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- ... |
tlsf/src/old/tlsf-bitmaps.ads | vasil-sd/ada-tlsf | 3 | 12391 | <filename>tlsf/src/old/tlsf-bitmaps.ads
with Bits;
with TLSF.Config;
with TLSF.Mem_Block_Size;
use TLSF.Config;
use TLSF.Mem_Block_Size;
private package TLSF.Bitmaps
with SPARK_Mode is
type First_Level_Index is range SL_Index_Count_Log2 .. FL_Index_Max;
type Second_Level_Index is range 0 .. SL_Index_Count - 1;
... |
library/text parsing/patternCount.applescript | NYHTC/applescript-fm-helper | 1 | 960 | -- patternCount({sourceTEXT:"", searchString:"", considerCase:""})
-- <NAME>, http://www.danshockley.com
-- Returns a count of the number of times searchString appears in sourceTEXT (can choose to not consider case).
(*
HISTORY:
1.2 - default is to consider case.
1.1 - changed result variable name.
1.0 - first cr... |
oeis/094/A094303.asm | neoneye/loda-programs | 11 | 167591 | ; A094303: a(1) = 1, a(2) = 2, and a(n+1) = a(n) * sum of all previous terms up to a(n-1) for n >= 2.
; Submitted by <NAME>
; 1,2,2,6,30,330,13530,5019630,69777876630,351229105131280530,24509789089304573335878465330,8608552999157278550998626549630446732052243030,210993818376468802695338859585511727362673276231266487027... |
bddisasm_test/basic/basic1_64.asm | andreaswimmer/bddisasm | 675 | 172156 | <gh_stars>100-1000
bits 64
; Arithemtic.
add al, bl
add al, sil
add al, [rbx]
add [ebx], al
add al, [ebx]
add [ebx], al
add al, 0x10
add ax, bx
add ax, r11w
add ax, [rbx]
add [ebx], ax
add ax, [ebx]
add ... |
programs/oeis/155/A155965.asm | karttu/loda | 1 | 168461 | <filename>programs/oeis/155/A155965.asm
; A155965: a(n) = n*(n^2+4).
; 0,5,16,39,80,145,240,371,544,765,1040,1375,1776,2249,2800,3435,4160,4981,5904,6935,8080,9345,10736,12259,13920,15725,17680,19791,22064,24505,27120,29915,32896,36069,39440,43015,46800,50801,55024,59475,64160,69085,74256,79679,85360,91305,97520,104011... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_video_gstbasevideoencoder_h.ads | persan/A-gst | 1 | 16330 | pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with System;
with glib;
with glib.Values;
with System;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_video_gstbasevideocodec_h;
with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h;
-- limited with GStreamer.... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca.log_21829_508.asm | ljhsiun2/medusa | 9 | 246949 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x8fc7, %rsi
lea addresses_D_ht+0x1b547, %rdi
clflush (%rdi)
nop
nop
nop
nop
and $49505, %rbp
mov $64, %rcx
rep movsq
nop
nop
nop
nop
xor %r13, %r13
lea addres... |
source/parser/program-nodes-proxy_associations.ads | reznikmm/gela | 0 | 15461 | <gh_stars>0
-- SPDX-FileCopyrightText: 2020-2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Element_Vectors;
with Program.Element_Visitors;
with Program.Elements.Discriminant_Associations;
with Program.Elements.Expressions;
with Prog... |
src/SessionType.agda | boystrange/FairSubtypingAgda | 4 | 7352 | <gh_stars>1-10
-- MIT License
-- Copyright (c) 2021 <NAME> and <NAME>
-- Permission is hereby granted, free of charge, to any person
-- obtaining a copy of this software and associated documentation
-- files (the "Software"), to deal in the Software without
-- restriction, including without limitation the rights to u... |
oeis/021/A021076.asm | neoneye/loda-programs | 11 | 81532 | ; A021076: Expansion of 1/((1-x)(1-2x)(1-4x)(1-6x)).
; Submitted by <NAME>
; 1,13,113,833,5649,36561,230161,1424401,8720657,53021969,320925969,1936736529,11665150225,70169841937,421734846737,2533272326417,15211087073553,91312335163665,548057262395665,3289076581077265,19737391515373841,118436077212078353,710663375760199... |
Strings and Arrays/Dynamic Array Sum.asm | MrR0B0T777/MIPS_Programming | 0 | 241630 | <reponame>MrR0B0T777/MIPS_Programming
.data
p1: .asciiz "Enter N: "
p2: .asciiz "Enter a number: "
res: .asciiz "Sum is: "
.text
main:
la $a0, p1
li $v0, 4
syscall
li $v0, 5
syscall
move $t0, $v0
move $t2, $v0
addi $t7, $zero, 4
mul $a0, $v0, $t7
li $v0, 9
syscall
move $t1, $v0
move $t3, $v0
inpLoop:
beq $t0, $ze... |
src/lib/fopen.asm | zys1310992814/BookOSv0.2 | 3 | 24687 | <reponame>zys1310992814/BookOSv0.2
[bits 32]
[section .text]
INT_VECTOR_SYS_CALL equ 0x80
_NR_FOPEN EQU 10
global fopen
fopen:
mov eax, _NR_FOPEN
mov ebx, [esp + 4]
mov ecx, [esp + 8]
int INT_VECTOR_SYS_CALL
ret |
Driver/Net/NW/nwSemLow.asm | steakknife/pcgeos | 504 | 167638 | <reponame>steakknife/pcgeos
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC/GEOS
MODULE: NetWare Driver
FILE: semLow.asm (low-level NetSem code)
REVISION HISTORY:
Name Date Description
---- ---- ----------... |
payloads/x64/src/block/block_api_direct.asm | pythonone/MS17-010 | 96 | 243304 | ;
; Windows x64 Direct Export API Call
;
; Author: <NAME> <<EMAIL>> (@zerosum0x0)
; Copyright: (c) 2017 RiskSense, Inc.
; License: Apache 2.0
;
; Based on Stephen Fewer's direct API calls
;
; Arguments: RAX = module pointer
; rcx, rdx, r8, r9, stack = normal function call params
; R11D = hash
;
; ... |
oeis/013/A013787.asm | neoneye/loda-programs | 11 | 241365 | <filename>oeis/013/A013787.asm
; A013787: a(n) = 7^(4*n + 3).
; 343,823543,1977326743,4747561509943,11398895185373143,27368747340080916343,65712362363534280139543,157775382034845806615042743,378818692265664781682717625943,909543680129861140820205019889143,2183814375991796599109312252753832343,52433383167563036344614587... |
programs/oeis/020/A020989.asm | neoneye/loda | 22 | 244288 | <gh_stars>10-100
; A020989: a(n) = (5*4^n - 2)/3.
; 1,6,26,106,426,1706,6826,27306,109226,436906,1747626,6990506,27962026,111848106,447392426,1789569706,7158278826,28633115306,114532461226,458129844906,1832519379626,7330077518506,29320310074026,117281240296106,469124961184426,1876499844737706,7505999378950826,300239975... |
programs/oeis/198/A198765.asm | neoneye/loda | 22 | 100418 | <filename>programs/oeis/198/A198765.asm
; A198765: 7*5^n-1.
; 6,34,174,874,4374,21874,109374,546874,2734374,13671874,68359374,341796874,1708984374,8544921874,42724609374,213623046874,1068115234374,5340576171874,26702880859374,133514404296874,667572021484374,3337860107421874,16689300537109374,83446502685546874,417232513... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-except.adb | orb-zhuchen/Orb | 0 | 9890 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
roms/tests/ppu/ppu_read_buffer/source/filler/cpu.asm | MrKOSMOS/ANESE | 349 | 12903 | section .bss
tsc_diff resd 2
mycount resd 1
irq0counter resw 1
section .data
irq8addr dw 8*4, 0
section .text
pitvalue EQU 11
pitrate EQU 108471
; pitvalue * pitrate = 1234DDh
; _fastcall double CPUinfo(void);
; Measures and returns CPU speed in Hz
_CPUinfo:
push es
cli
m... |
cpm2/RomWBW/Source/HBIOS/acia.asm | grancier/z180 | 0 | 171547 | ;
;==================================================================================================
; ACIA DRIVER (SERIAL PORT)
;==================================================================================================
;
; SETUP PARAMETER WORD:
; +-------+---+-------------------+ +---+---+-----------... |
source/files.adb | jquorning/WeDo | 1 | 29245 | <filename>source/files.adb<gh_stars>1-10
pragma License (Restricted);
--
-- Copyright (C) 2020 <NAME> All Rights Reserved.
--
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself a... |
src/idts.asm | MrVillagerGamer/DevLinux | 0 | 80299 | IRQ_BASE equ 0x20
INTN dw 0
global load_idt
extern int_handle
%macro irq_entry_handler 1
global irq_entry_handler%1
irq_entry_handler%1:
mov word [INTN], %1
add word [INTN], IRQ_BASE
pushad
push word [INTN]
push esp
call int_handle
pop eax
pop word [INTN]
popad
iret
%endmacro
%macro in... |
src/Algebra/Structures/Field.agda | felko/linear-algebra | 15 | 11789 | <filename>src/Algebra/Structures/Field.agda
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary using (Rel)
module Algebra.Structures.Field
{a ℓ} {A : Set a}
(_≈_ : Rel A ℓ)
where
open import Algebra.Linear.Core
open import Relation.Nullary using (¬_)
open import Algebra.Structures _≈_
open import... |
src/none_h.ads | JeremyGrosser/arm_cmsis_dsp | 0 | 30289 | <reponame>JeremyGrosser/arm_cmsis_dsp
pragma Ada_2012;
pragma Style_Checks (Off);
pragma Warnings ("U");
with Interfaces.C; use Interfaces.C;
with arm_math_types_h;
package none_h is
-- arg-macro: procedure multAcc_32x32_keep32_R (a, x, y)
-- a := (q31_t) (((((q63_t) a) << 32) + ((q63_t) x * y) + 16#800000... |
UnbiasedCategory.agda | mroman42/unbiased-category-agda | 1 | 2515 | <filename>UnbiasedCategory.agda
{-# OPTIONS --without-K --type-in-type #-}
module UnbiasedCategory where
open import Agda.Builtin.Equality
module TypedLists where
data TypedList (index : Set) (type : index -> index -> Set) : index -> index -> Set where
empty : {a : index} -> TypedList index type a a
fby : ... |
projects/04/fill/Fill.asm | azaslavsky/nand2tetris | 0 | 160466 | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by <NAME>, MIT Press.
// File name: projects/04/Fill.asm
// Runs an infinite loop that listens to the keyboard input.
// When a key is pressed (any key), the program blackens the screen,
// i.e. writes "black" in ... |
cmd/development.scpt | qld-gov-au/emergency-services | 0 | 1824 | <gh_stars>0
open -a Terminal.app ./cmd/scpt/serve.scpt |
oeis/091/A091032.asm | neoneye/loda-programs | 11 | 103890 | <filename>oeis/091/A091032.asm<gh_stars>10-100
; A091032: Second column (k=3) of array A090438 ((4,2)-Stirling2) divided by 8.
; Submitted by <NAME>
; 1,60,5040,604800,99792000,21794572800,6102480384000,2134124568576000,912338253066240000,468333636574003200000,284372184127734743040000,201645730563302817792000000,165147... |
src/vulkan-math/numerics/vulkan-math-numerics.ads | zrmyers/VulkanAda | 1 | 17105 | --------------------------------------------------------------------------------
-- MIT License
--
-- Copyright (c) 2020 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without r... |
src/ui/table.adb | thindil/steamsky | 80 | 4719 | <filename>src/ui/table.adb
-- Copyright (c) 2021 <NAME> <<EMAIL>>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.... |
source/Evernote/EvernoteAddNote.applescript | whtsky/PopClip-Extensions | 3 | 2962 | <filename>source/Evernote/EvernoteAddNote.applescript
tell application id "com.evernote.Evernote"
activate
if length of "{popclip html}" > 0 then
set theNote to create note with html "{popclip html}"
else
set theNote to create note with text "{popclip text}"
end if
if length of "{popclip browser url}" > 0 then... |
_maps/obj6A.asm | NatsumiFox/AMPS-Sonic-1-2005 | 2 | 14601 | ; ---------------------------------------------------------------------------
; Sprite mappings - ground saws and pizza cutters (SBZ)
; ---------------------------------------------------------------------------
dc.w byte_15BA0-Map_obj6A, byte_15BC4-Map_obj6A
dc.w byte_15BE8-Map_obj6A, byte_15BFD-Map_obj6A
byte_15B... |
Cubical/HITs/GroupoidQuotients/Properties.agda | thomas-lamiaux/cubical | 1 | 12150 | {-
Groupoid quotients:
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.GroupoidQuotients.Properties where
open import Cubical.HITs.GroupoidQuotients.Base
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cu... |
game-mod/characters/kiki/ai.asm | benoitryder/super-tilt-bro | 0 | 28474 | <reponame>benoitryder/super-tilt-bro
kiki_ai_action_special_neutral:
AI_ACTION_STEP(CONTROLLER_INPUT_SPECIAL, 0)
AI_ACTION_END_STEPS
kiki_ai_attack_selector:
.(
; Do not try to attack in incapacited states, it would ruin ai reactivity after such states
lda player_b_state
cmp #KIKI_STATE_CRASHING
beq end
jmp ai_a... |
source/asis/asis-implementation.adb | faelys/gela-asis | 4 | 13469 | ------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
programs/oeis/131/A131714.asm | jmorken/loda | 1 | 1988 | ; A131714: Period 6: repeat [1, -2, 2, -1, 2, -2].
; 1,-2,2,-1,2,-2,1,-2,2,-1,2,-2,1,-2,2,-1,2,-2,1,-2,2,-1,2,-2,1,-2,2,-1,2,-2,1,-2,2,-1,2,-2,1,-2,2,-1,2,-2,1,-2,2,-1,2,-2,1,-2,2,-1,2,-2,1,-2,2,-1,2,-2,1,-2,2,-1,2,-2,1,-2,2,-1,2,-2,1,-2
pow $0,2
mov $1,2
mov $2,5
lpb $0
sub $0,1
sub $2,$1
sub $1,9
add $1,$2
l... |
agda/Data/Empty/Base.agda | oisdk/combinatorics-paper | 0 | 14761 | <filename>agda/Data/Empty/Base.agda
{-# OPTIONS --cubical --safe #-}
module Data.Empty.Base where
open import Cubical.Data.Empty using (⊥; ⊥-elim; isProp⊥) public
open import Level
infix 4.5 ¬_
¬_ : Type a → Type a
¬ A = A → ⊥
|
src/aco-utils-generic_event.adb | jonashaggstrom/ada-canopen | 6 | 21160 | package body ACO.Utils.Generic_Event is
function Events_Waiting
(This : Queued_Event_Publisher)
return Natural
is
begin
return This.Queue.Count;
end Events_Waiting;
procedure Put
(This : in out Queued_Event_Publisher;
Data : in Item_Type)
is
Success : Boolea... |
symbolinen_konekieli/Linux/kuudes_sse_32.asm | tkukka/VariousContent | 0 | 165294 | BITS 32
metodi EQU 1
SECTION .rodata
vakio_pii dq 3.141592654 ;const double pii = 3.14...
SECTION .text
EXTERN set_method
... |
test/Fail/BadForcedIrrelevance.agda | alhassy/agda | 1 | 9612 | <gh_stars>1-10
open import Agda.Builtin.Nat
data V : (n : Nat) → Set where
cons : (n : Nat) → V (suc n)
-- ^ this n is forced
-- v and this n is marked shape irrelevant
g : ..(n : Nat) → V n → Nat
g _ (cons n) = n
-- ^ so we can't return n here, since we're really
-- returning ... |
consoles/odyssey2/src/hello.asm | tcr/paxconsola | 6 | 102991 | <reponame>tcr/paxconsola
include "g7000.h"
org 0400h
jmp selectgame
jmp irq
jmp timer
jmp vsyncirq
jmp start
jmp soundirq
timer:
retr ; timer interrupts are discussed later
start:
call gfxoff ... |
alloy4fun_models/trashltl/models/7/PHXXEGFsJ3KLEvNeC.als | Kaixi26/org.alloytools.alloy | 0 | 3501 | open main
pred idPHXXEGFsJ3KLEvNeC_prop8 {
always(after eventually File.link in Trash)
}
pred __repair { idPHXXEGFsJ3KLEvNeC_prop8 }
check __repair { idPHXXEGFsJ3KLEvNeC_prop8 <=> prop8o } |
programs/oeis/066/A066023.asm | karttu/loda | 0 | 91976 | ; A066023: (a(n)^7+1)/(n^7+1) is the smallest integer > 1.
; 3,8,27,64,125,216,343,512,729,1000,1331,1728,2197,2744,3375,4096,4913,5832,6859,8000,9261,10648,12167,13824,15625,17576,19683,21952,24389,27000,29791,32768,35937,39304,42875,46656,50653,54872,59319,64000,68921,74088,79507,85184,91125,97336,103823,110592,11764... |
src/main/antlr4/com/github/anilople/dog/frontend/Formatter.g4 | Anilople/Dog | 0 | 2243 | <reponame>Anilople/Dog<gh_stars>0
/*
code formatter
格式化代码使用
为了和原有的语法隔离和保留注释代码
所以新建了这个文件
和原有的语法区分开
*/
grammar Formatter;
import Name;
formatters
: word*
| EOF
;
word
: '('
| ')'
| '->'
| '['
| ']'
| '{'
| '}'
| name
| comment
... |
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/strarraycpy.asm | gb-archive/really-old-stuff | 10 | 4679 | <reponame>gb-archive/really-old-stuff<filename>mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/strarraycpy.asm
; (K)opyleft - by <NAME> (a.k.a. Boriel)
; 2009 - This is Free OpenSource BSD code
; vim: et:ts=4:sw=4
; Copies a vector of strings from one place to another
; reallocating strings of the destiny ... |
8bit2shift.asm | adey99/8085asmcodes | 0 | 242847 | //SHIFT AN 8-BIT NUMBER LEFT BY 2 BITS
//The number to be shifted is stored in C050
//Answer is stored in C051
LDA C050
ADD A //this cannot be achived by RLC
ADD A
STA C051
HLT
//EXAMPLE-> C050=15
//A... |
oeis/078/A078989.asm | neoneye/loda-programs | 11 | 10691 | <gh_stars>10-100
; A078989: Chebyshev sequence with Diophantine property.
; Submitted by <NAME>(s2)
; 1,67,4421,291719,19249033,1270144459,83810285261,5530208682767,364909962777361,24078527334623059,1588817894122344533,104837902484740116119,6917712746098725319321,456464203340031130959067,30119719707695955917979101,1987... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/esx_f_sync.asm | jpoikela/z88dk | 640 | 22653 | ; unsigned char esx_f_sync(unsigned char handle)
SECTION code_esxdos
PUBLIC _esx_f_sync
EXTERN asm_esx_f_sync
_esx_f_sync:
pop af
pop hl
push hl
push af
jp asm_esx_f_sync
|
libsrc/graphics/bee/div5.asm | jpoikela/z88dk | 640 | 160019 | ;
; High Resolution library for the MicroBee
; Version for the 8x11 PCG paged font (640x275)
;
; Written by <NAME>, November 2016
;
;
; Divide by five lookup table
; useful to switch the PCG bank every 5 columns (port $1C)
;
;
; $Id: div5.asm,v 1.1 2016-11-21 11:18:38 stefano Exp $
;
SECTION rodata_clib
PUBLIC div... |
programs/oeis/090/A090990.asm | neoneye/loda | 22 | 90935 | <reponame>neoneye/loda<filename>programs/oeis/090/A090990.asm
; A090990: Number of meaningful differential operations of the n-th order on the space R^5.
; 5,9,16,29,52,94,169,305,549,990,1783,3214,5790,10435,18801,33881,61048,110009,198224,357194,643633,1159797,2089869,3765830,6785771,12227562,22033274,39702627,715416... |
libsrc/graphics/mc1000/swapgfxbk.asm | meesokim/z88dk | 0 | 104698 | <gh_stars>0
;
; Page the graphics bank in/out - used by all gfx functions
; Doesn't really page on the MC-1000, but we hang the interrupts,
; just in case they become critical.
;
;
; $Id: swapgfxbk.asm,v 1.3 2015/01/19 01:32:49 pauloscustodio Exp $
;
PUBLIC swapgfxbk
EXTERN pixeladdress
PUBLIC ... |
test/asset/agda-stdlib-1.0/Data/List/Relation/Binary/Sublist/Setoid/Properties.agda | omega12345/agda-mode | 0 | 13358 | -----------------------------------------------------------------------
-- The Agda standard library
--
-- Properties of the setoid sublist relation
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary using (Setoid; _⇒_; _Preserves_⟶_... |
PROGS/burbuja.asm | carlos-santiago-2017/HC12-MicrocontrollerNotes | 0 | 94841 | <filename>PROGS/burbuja.asm<gh_stars>0
ORG $0000
TAMANO EQU $6001
ARRAY EQU $6002 ;16 BITS
BANINT EQU $6004
INICIO LDX ARRAY
LDY ARRAY
INY
CDAB TAMANO
DECB
CLR BANINT
ORDENA LDAA 0... |
cat.asm | MarcosZornitta/xv6-marcoszornitta | 0 | 169892 | <reponame>MarcosZornitta/xv6-marcoszornitta
_cat: formato do arquivo elf32-i386
Desmontagem da seção .text:
00000000 <main>:
}
}
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)
... |
antlr4/RatingEngine.g4 | allianz/CalculusPrime-PnC | 6 | 1374 | <filename>antlr4/RatingEngine.g4
// Copyright 2019 Association for the promotion of open - source insurance software and for the establishment of open interface standards in the insurance industry
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance ... |
formal_specification.als | fala-cidadao/formal-specification | 0 | 4211 | <reponame>fala-cidadao/formal-specification
module falaCidadao
------------------------------------------------------------------------------------------
--------------- Fala, Cidadão! ---------------
--------------------------------------------------------------------------... |
FFI/IO.agda | Lolirofle/stuff-in-agda | 6 | 15121 | <filename>FFI/IO.agda
module FFI.IO where
import Lvl
open import Data
open import String
open import Type
postulate IO : ∀{a} → Type{a} → Type{a}
{-# BUILTIN IO IO #-}
{-# FOREIGN GHC type AgdaIO a b = IO b #-}
{-# COMPILE GHC IO = type AgdaIO #-}
{-# FOREIGN GHC import qualified Data.Text.IO #-}
postulate pri... |
Driver/Video/Dumb/Simp2Bit/simp2bitEscTab.asm | steakknife/pcgeos | 504 | 179562 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1996. All rights reserved.
GEOWORKS CONFIDENTIAL
PROJECT: PC GEOS
MODULE: Simp2Bit video driver
FILE: simp2bitEscTab.asm
AUTHOR: <NAME>, Oct 7, 1996
ROUTINES:
Name Description
---- --------... |
software/hal/boards/common/hil/hil-spi.ads | TUM-EI-RCS/StratoX | 12 | 6788 | -- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: <NAME> (<EMAIL>)
with HIL.Devices;
-- @summary
-- Target-independent specification for HIL of SPI
package HIL.SPI with
Spark_Mode => On
-- Abstract_State => Deselect
is... |
Sorular/03.asm | iamruveyda/KBU-Mikro | 1 | 6263 | <filename>Sorular/03.asm<gh_stars>1-10
.model small
.data
.code
main proc
;initialize the memory and registers
MOV AX,2000H ;
MOV DS,AX ;set data segment register
MOV [0059H],0000H ;set memory related data
MOV [0058H],0003H ... |
roms/virtual-disk/stringformat.asm | teknoman117/ts-3100-kvm-emulator | 1 | 7346 | <reponame>teknoman117/ts-3100-kvm-emulator
section .text
; convert (un)signed dword to string with arbitrary output precision
; arguments:
; eax - dword to convert
; es:edi - pointer to memory
; returns:
; edi - incremented by characters written
; modifies:
; eax
; ecx
; edi
put_dec_dword_signed:
; bai... |
04-Long-Distance-Delivery.speed.size.asm | blueset/7bh-solutions | 0 | 24783 | -- 7 Billion Humans --
-- 04: Long Distance Delivery --
-- Size: 4/4 --
-- Speed: 6/7 --
step e
pickup c
a:
step e
jump a
|
001-099/02/2.applescript | lunixbochs/project-euler | 6 | 787 | set a to 0
set b to 1
set total to 0
repeat while b is less than 4000000
if (b mod 2 equals 0) then
set total to total + b
end
set tmp to a
set a to b
set b to b + tmp
end repeat
total
|
day18-ada/src/Calculate1.adb | xclemence/adventofcode2020 | 1 | 27190 | <filename>day18-ada/src/Calculate1.adb
package body Calculate1 is
procedure Update_Result(Value: NaturalDouble;
Result: in out NaturalDouble;
Operation: OperationMethod) is
begin
if Result = -1 then
Result := Value;
else
Result ... |
data/mapObjects/cinnabarmart.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 165409 | <reponame>etdv-thevoid/pokemon-rgb-enhanced
CinnabarMartObject:
db $0 ; border block
db $2 ; warps
db $7, $3, $4, $ff
db $7, $4, $4, $ff
db $0 ; signs
db $3 ; objects
object SPRITE_MART_GUY, $0, $5, STAY, RIGHT, $1 ; person
object SPRITE_BRUNETTE_GIRL, $6, $2, STAY, NONE, $2 ; person
object SPRITE_OAK_AIDE,... |
src/main/antlr4/com/navelplace/jsemver/antlr/NPM.g4 | BrianDeacon/JSemver | 0 | 1689 | grammar NPM;
union
: intersection (OR intersection)*
;
intersection
: (operatorClause | dashClause)+
;
dashClause
: version ARROW version
;
operatorClause:
operator? version
;
version
: major (DOT minor (DOT patch (DASH preRelease (PLUS build)?)?)?)?
;
major: VERSION_ELEMENT ;
minor: VERSION_E... |
oeis/071/A071353.asm | neoneye/loda-programs | 11 | 247850 | <gh_stars>10-100
; A071353: First term of the continued fraction expansion of (3/2)^n.
; Submitted by <NAME>
; 2,4,2,16,1,2,11,1,2,1,2,1,1,1,1,1,3,1,1,3,1,1,1,8,5,1,7,1,25,16,1,1,1,1,1,2,1,1,1,3,2,1,1,1,3,1,1,2,7,4,3,2,4,1,3,1,3,1,1,1,2,10,1,2,4,1,4,2,1,3,2,14,9,6,1,11,1,1,2,1,1,2,6,1,12,1,1,2,1,2,19,12,8,1,89,59,1,3,1... |
16-print-array/print-array.asm | gashev/assembly-examples | 1 | 16330 | <reponame>gashev/assembly-examples
extern exit
extern printf
SECTION .data
format: db '%d', 10, 0
SECTION .bss
index: resb 4
SECTION .text
GLOBAL _start
_start:
; Store array 23, 54, 67, 134, 65, 10, 19, 12
mov rbp, rsp
sub rsp, 32
mov dword [rbp - 32], 23
mov dword [rbp - 28], 54
... |
example/src/example.adb | Fabien-Chouteau/offmt-tool | 0 | 7870 | <filename>example/src/example.adb
with Offmt; use Offmt;
procedure Example is
X : constant Integer := 42;
pragma Unreferenced (X);
Str : constant String := "lol";
begin
Offmt.Log ("Test X: {u32:X}");
Offmt.Log ("Test X + 1: {u32:X + 1}");
Log ("Test X * 10: {u32:X * 10}");
Log ("Test hex: 0x{xu3... |
third_party/antlr_grammars_v4/gtin/gtin.g4 | mikhan808/rsyntaxtextarea-antlr4-extension | 4 | 3769 | /*
BSD License
Copyright (c) 2017, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the fo... |
src/main/java/com/cyberthinkers/tools/generate/GenScalaFacadesFromTypescript.g4 | cyberthinkers/typescript-to-scala-js-facade | 18 | 7027 | /*
ANTLR4 grammar taken from TypeScript Documentation:
https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md
https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md#3.2.7
https://www.typescriptlang.org/docs/tutorial.html
https://basarat.gitbooks.io/typescript/content/
https://github.com/Microsof... |
test/fail/WithoutK4.agda | asr/agda-kanso | 1 | 12211 | <filename>test/fail/WithoutK4.agda
{-# OPTIONS --without-K #-}
module WithoutK4 where
data _≡_ {A : Set} (x : A) : A → Set where
refl : x ≡ x
foo : (f : {A : Set} → A → A) {A : Set} (x y : A) →
x ≡ f y → f y ≡ x
foo f .(f y) y refl = refl
|
libsrc/strings/strcat_callee.asm | andydansby/z88dk-mk2 | 1 | 7837 | <filename>libsrc/strings/strcat_callee.asm
; char __CALLEE__ *strcat_callee(char *dst, char *src)
; copy src to end of dst
; 12.2006 aralbrec
XLIB strcat_callee
XDEF ASMDISP_STRCAT_CALLEE
LIB rcmx_cpir
.strcat_callee
pop hl
pop de
ex (sp),hl
; enter : de = char *src
; hl = char *dst
... |
libtool/src/gmp-6.1.2/mpn/x86/divrem_2.asm | kroggen/aergo | 1,602 | 240841 | dnl x86 mpn_divrem_2 -- Divide an mpn number by a normalized 2-limb number.
dnl Copyright 2007, 2008 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 GN... |
Ada95/samples/ncurses2-util.ads | ProtonAOSP-platina/android_external_libncurses | 269 | 7557 | <filename>Ada95/samples/ncurses2-util.ads
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- ... |
0x07.asm | 0xdea/xorpd-solutions | 53 | 102785 | ;
; $Id: 0x07.asm,v 1.1.1.1 2016/03/27 08:40:12 raptor Exp $
;
; 0x07 explanation - from xchg rax,rax by <EMAIL>
; Copyright (c) 2016 <NAME> <<EMAIL>>
;
; This snippet sets rax with its initial value, in a way
; similar to the previous snippet 0x06. The following C
; code performs the same calculations:
;
; #include <s... |
programs/oeis/135/A135287.asm | neoneye/loda | 22 | 22530 | <reponame>neoneye/loda
; A135287: a(0)=1; for n > 0, a(n) = a(n-1)+n if a(n-1) is odd, else a(n) = a(n-1)/2.
; 1,2,1,4,2,1,7,14,7,16,8,4,2,1,15,30,15,32,16,8,4,2,1,24,12,6,3,30,15,44,22,11,43,76,38,19,55,92,46,23,63,104,52,26,13,58,29,76,38,19,69,120,60,30,15,70,35,92,46,23,83,144,72,36,18,9,75,142,71,140,70,35,107,180... |
test/Compiler/with-stdlib/DivMod.agda | guilhermehas/agda | 0 | 12021 | module DivMod where
open import IO
open import Data.Nat
open import Data.Nat.DivMod
open import Codata.Musical.Notation
open import Data.String.Base
open import Data.Fin.Base using (toℕ)
open import Level using (0ℓ)
g : ℕ
g = 7 div 5
k : ℕ
k = toℕ (7 mod 5)
showNat : ℕ → String
showNat zero = "Z"
showNat (suc x) = ... |
inc/scripts_portuguese.asm | hansbonini/-SMD-Phantasy-Star-3 | 1 | 2291 | ; ==========================================================
; Main Game Script Area
;
; The text block to load and display is determined by the value in the "script_offset" RAM location.
; The offset is simply the GameScript location + the value present in the "script_offset".
;
; Here's some explanation about what da... |
CSES/Introductory_Problems/weird_algorithm.asm | eyangch/competitive-programming | 14 | 98770 | section .bss
buffer: resb 64
outbuff: resb 3500
N: resb 8
tmp1: resb 8
currpos: resb 8
outlen: resb 8
section .text
atoi:
xor rax, rax
xor rcx, rcx
.pre:
mov cl, [rdx]
inc rdx
cmp rcx, '0'
jb .pre
cmp rcx, '9'
ja .pre
dec rdx
... |
tests/tcl-commands-test_data-tests-argv_pointer-test_data.ads | thindil/tashy2 | 2 | 1696 | -- 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 surrounded by a 'read only' marker.
with Interfaces.C.Pointers.Test_Data;
with ... |
lib/vgcplayer_bass.asm | kieranhj/vgm-player-bbc | 3 | 175128 | ;******************************************************************
; 6502 BBC Micro Compressed VGM (VGC) Music Player
; By <NAME>
; https://github.com/simondotm/vgm-player-bbc
; https://github.com/simondotm/vgm-packer
;******************************************************************
;-------------------------------... |
ASM/src/init.asm | phixtyseven/OoT-Randomizer | 2 | 26761 | init:
addiu sp, sp, -0x18
sw ra, 0x10 (sp)
jal c_init
nop
; Displaced code
lui v0, 0x8012
addiu v0, v0, 0xD2A0
addiu t6, r0, 0x0140
lui at, 0x8010
sw t6, 0xE500 (at)
lw ra, 0x10 (sp)
jr ra
addiu sp, sp, 0x18
|
sources/md/markdown-inline_parsers-autolinks.adb | reznikmm/markdown | 0 | 7937 | <reponame>reznikmm/markdown<filename>sources/md/markdown-inline_parsers-autolinks.adb<gh_stars>0
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with League.Regexps;
package body Markdown.Inline_Parsers.Autolinks is... |
Mac Installer/Scripts/Tools.applescript | olafwrieden/mac-installer | 0 | 3917 | --
-- Tools.applescript
-- Mac Installer
--
-- Created by <NAME> on 06/11/17.
-- Copyright © 2018 <NAME>. All rights reserved.
--
script Tools
property parent : class "NSObject"
-- Dock Reset
on resetDock_()
try
set resetDockConfirmed to button returned of (display dialog ... |
programs/oeis/287/A287426.asm | neoneye/loda | 22 | 22005 | <reponame>neoneye/loda<filename>programs/oeis/287/A287426.asm<gh_stars>10-100
; A287426: Number of connected induced subgraphs in the n-sun graph.
; 3,14,47,164,577,2046,7275,25896,92213,328402,1169599,4165564,14835849,52838630,188187539,670239824,2387094493,8501763066,30279478119,107841960420,384084837425,136793843303... |
Source/Kernel/BootLoad/Intel/Fpu.asm | collinsmichael/spartan | 16 | 92947 |
; compile with fasm.exe: (https://flatassembler.net/)
; fasm Intel.asm Intel.obj
;
; this is a dumping ground for privileged opcodes
; which cannot be inlined with a msvc compiler
format ms coff
section '.text' code readable executable
public _finit
_finit: finit
ret
publ... |
test/fixtures/command-line-arguments/AppleScript.applescript | blakeembrey/node-language-command | 2 | 4075 | on run argv
do shell script "echo " & item 1 of argv
end run
|
Commands/User Interaction suite/display/display dialog/default answer/default answer.applescript | looking-for-a-job/applescript-examples | 1 | 3190 | <reponame>looking-for-a-job/applescript-examples<filename>Commands/User Interaction suite/display/display dialog/default answer/default answer.applescript<gh_stars>1-10
#!/usr/bin/osascript
-- display dialog "title" (no input)
display dialog "title" default answer "answer"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.