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 |
|---|---|---|---|---|
_build/dispatcher/jmp_ippsGFpECPublicKey_7cc0eb97.asm | zyktrcn/ippcp | 1 | 24998 | <filename>_build/dispatcher/jmp_ippsGFpECPublicKey_7cc0eb97.asm
extern m7_ippsGFpECPublicKey:function
extern n8_ippsGFpECPublicKey:function
extern y8_ippsGFpECPublicKey:function
extern e9_ippsGFpECPublicKey:function
extern l9_ippsGFpECPublicKey:function
extern n0_ippsGFpECPublicKey:function
extern k0_ippsGFpECPublicKey... |
memsim-master/src/memory-transform-eor.ads | strenkml/EE368 | 0 | 29276 |
package Memory.Transform.EOR is
type EOR_Type is new Transform_Type with private;
type EOR_Pointer is access all EOR_Type'Class;
function Create_EOR return EOR_Pointer;
function Random_EOR(next : access Memory_Type'Class;
generator : Distribution_Type;
... |
assembly_code/chp7_05.asm | Nabeegh-Ahmed/BelalHashmi-Assembly-Exercise-Solutions | 104 | 179522 | ;Virtual Window on the Screen
[org 0x0100]
jmp start
character: dw 'H'
;top, left, bottom, right, current row, current column, normal attribute, cursor attribute
address: dw 0, 20, 10 , 70, 10, 25, 07, 10000111b
start: ;call clrscr
push word [character]
push address
call vir... |
source/Crinkler/modules/old/import10.asm | Vertver/Crinkler | 739 | 173549 | <reponame>Vertver/Crinkler<gh_stars>100-1000
;; -*- tab-width: 4 -*-
bits 32
global _Import
extern __imp__LoadLibraryA@4
extern _ImageBase
extern _DLLNames
extern _ImportList
; Format of DLL names:
; For each DLL
; Zero-terminated DLL name (omitted for kernel32)
; byte: Number of hash-entries... |
test/agda-ocaml/Golden/Factorial.agda | agda/agda-ocaml | 48 | 15109 | <reponame>agda/agda-ocaml
module Golden.Factorial where
open import Agda.Builtin.Nat
fac : Nat -> Nat
fac 0 = 1
fac (suc n) = suc n * fac n
a = fac 0
b = fac 10
|
gcc-gcc-7_3_0-release/gcc/ada/switch.adb | best08618/asylo | 7 | 820 | <reponame>best08618/asylo
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
programs/oeis/093/A093350.asm | neoneye/loda | 22 | 166973 | ; A093350: Primes congruent to 6 mod 13.
; 19,71,97,149,227,331,383,409,461,487,617,643,773,877,929,1033,1163,1319,1423,1553,1579,1657,1709,1787,2099,2203,2281,2333,2411,2437,2593,2671,2749,2801,2879,2957,3061,3191,3217,3347,3373,3529,3581,3607,3659,3919,4049,4127,4153,4231,4283,4517,4621,4673,4751,4933,5011,5167,5297,... |
weathercommon.adb | BrentSeidel/WeatherProject | 0 | 22384 | package body WeatherCommon is
procedure show_temp(servo: BBS.BBB.i2c.PCA9685.PS9685_ptr; temp : BBS.units.temp_c) is
servo_value : float := float((temp - temp_min)/(temp_max - temp_min));
error : integer;
begin
if (servo_value < 0.0)
then
servo_value := 0.0;
servo.set_ful... |
deps/subhook/test/foo_64.asm | ziggi/samp-plugin-jit | 0 | 94480 | <filename>deps/subhook/test/foo_64.asm
extern puts
global foo
section .text
message:
db 'foo() called', 0
foo:
nop
push message
call puts
add esp, 8
ret
|
theorems/homotopy/PropJoinProp.agda | mikeshulman/HoTT-Agda | 0 | 11673 | <gh_stars>0
{-# OPTIONS --without-K --rewriting #-}
open import HoTT
{- Proof that if [A] and [B] are two propositions, then so is [A * B]. -}
module homotopy.PropJoinProp
{i} {A : Type i} (pA : is-prop A)
{j} {B : Type j} (pB : is-prop B) where
contr-left : (a : A) → is-contr (A * B)
contr-left a = left a , Pu... |
experiments/test-suite/mutation-based/10/1/addr.als | kaiyuanw/AlloyFLCore | 1 | 5250 | pred test15 {
some disj Address0: Address {some disj Name0, Name1: Name {some disj Name0, Address0, Name1: Listing {some disj Book0, Book1, Book2: Book {
Address = Address0
Name = Name0 + Name1
Listing = Name0 + Address0 + Name1
Book = Book0 + Book1 + Book2
entry = Book0->Name0 + Book0->Name1 + Book1->Name0 + Book1->Na... |
Exp7_8259_Interrupt/Exp7_1_8259_Interrupt.asm | LiamSho/assembly_language_course | 0 | 176350 | <reponame>LiamSho/assembly_language_course
SSTACK SEGMENT STACK
DW 32 DUP(?)
SSTACK ENDS
CODE SEGMENT
ASSUME CS:CODE
START:
PUSH DS
MOV AX, 0000H
MOV DS, AX
MOV AX, OFFSET MIR7 ;取中断入口地址
MOV SI, 003CH ;中断矢量地址
MOV [SI], AX ;填IRQ7的偏移矢量
MOV AX, CS ;段地址
MOV SI, 003EH
MOV [SI], AX ;填IRQ7的段地址矢量
CL... |
oeis/131/A131601.asm | neoneye/loda-programs | 11 | 97754 | ; A131601: The number of different configurations of an n-block of a shift space with k symbols where each symbol but the first must appear isolated and separated from others by an block of length at least m made of first symbol. Here k=49 and m=2.
; Submitted by <NAME>
; 49,97,145,2497,7153,14113,133969,477313,1154737... |
src/main/fragment/mos6502-common/_stackpushstruct_1_=vssm1.asm | jbrandwood/kickc | 2 | 9009 | <reponame>jbrandwood/kickc<filename>src/main/fragment/mos6502-common/_stackpushstruct_1_=vssm1.asm<gh_stars>1-10
lda {m1}
pha |
src/Control/Exception/Primitive.agda | ilya-fiveisky/agda-exceptions | 0 | 1440 | <reponame>ilya-fiveisky/agda-exceptions
module Control.Exception.Primitive where
open import IO.Primitive
postulate
bracket : ∀ {a b c} {A : Set a} {B : Set b} {C : Set c} → IO A → (A → IO B) → (A → IO C) → IO C
{-# IMPORT Control.Exception #-}
{-# COMPILED bracket (\_ _ _ _ _ _ -> Control.Exception.bracket) #-}
|
programs/oeis/017/A017661.asm | neoneye/loda | 22 | 15123 | ; A017661: (12n+11)^9.
; 2357947691,1801152661463,78815638671875,1119130473102767,8662995818654939,45848500718449031,186940255267540403,630249409724609375,1838459212420154507,4785448563124474679
mul $0,12
add $0,11
pow $0,9
|
ugbc/src/hw/gtia/text_at_graphic.asm | spotlessmind1975/ugbasic | 10 | 101533 | <reponame>spotlessmind1975/ugbasic
; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021-2022 <NAME> (<EMAIL>)
... |
src/c64/init.asm | puzzud/retroleague | 4 | 165566 | .import _Init
.import _LoadFile
.import _CHARSET
.import _UpdateInput
.import _InitializeVideo
.import _ProcessMusic
.importzp _MusicStatus
.autoimport on
.importzp sp, sreg, regsave, regbank
.importzp tmp1, tmp2, tmp3, tmp4, ptr1, ptr2, ptr3, ptr4
.macpack longbranch
.importzp sp
.import __BSS_START__, __BSS_... |
src/main/antlr4/com/github/haixing_hu/criteria/parser/sql/Criterion.g4 | Haixing-Hu/criteria | 2 | 6407 | /******************************************************************************
*
* Copyright (c) 2014 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache... |
oeis/129/A129090.asm | neoneye/loda-programs | 11 | 11656 | <filename>oeis/129/A129090.asm
; A129090: a(1)=1; a(n) = gcd(a(n-1), n) + lcm(a(n-1), n).
; Submitted by <NAME>
; 1,3,6,14,71,427,434,1738,15643,156431,156442,938654,12202503,170835043,2562525646,20500205170,348503487891,2091020927349,39729397619632,198646988098164,1390528916687151,30591636167117323,703607631843698430
... |
src/Web/Semantic/Everything.agda | agda/agda-web-semantic | 9 | 13483 | <gh_stars>1-10
-- A module which imports every Web.Semantic module.
module Web.Semantic.Everything where
import Web.Semantic.DL.ABox
import Web.Semantic.DL.ABox.Interp
import Web.Semantic.DL.ABox.Interp.Meet
import Web.Semantic.DL.ABox.Interp.Morphism
import Web.Semantic.DL.ABox.Model
import Web.Semantic.DL.ABox.Skol... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_276.asm | ljhsiun2/medusa | 9 | 91917 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1b454, %rsi
lea addresses_UC_ht+0x8454, %rdi
nop
cmp %r12, %r12
mov $72, %rcx
rep movsb
nop
sub $53960, %r9
lea addresses_UC_ht+0x171d4, %rsi
lea addresses_D_ht... |
oeis/281/A281858.asm | neoneye/loda-programs | 11 | 29624 | <reponame>neoneye/loda-programs
; A281858: Curious cubic identities based on the Armstrong number 370.
; Submitted by <NAME>(s3)
; 370,336700,333667000,333366670000,333336666700000,333333666667000000,333333366666670000000,333333336666666700000000,333333333666666667000000000,333333333366666666670000000000,33333333333666... |
programs/oeis/004/A004920.asm | karttu/loda | 1 | 3033 | ; A004920: Floor of n*phi^5, where phi is the golden ratio, A001622.
; 0,11,22,33,44,55,66,77,88,99,110,121,133,144,155,166,177,188,199,210,221,232,243,255,266,277,288,299,310,321,332,343,354,365,377,388,399,410,421,432,443,454,465,476,487
mov $3,$0
mul $0,7
div $0,79
add $0,6
mov $1,1
mul $1,$0
sub $1,6
mov $2,$3
mul... |
alloy4fun_models/trashltl/models/12/uBMEX9FJi6StphQuz.als | Kaixi26/org.alloytools.alloy | 0 | 3076 | <filename>alloy4fun_models/trashltl/models/12/uBMEX9FJi6StphQuz.als
open main
pred iduBMEX9FJi6StphQuz_prop13 {
some f : File | f in Trash implies once f not in Trash
}
pred __repair { iduBMEX9FJi6StphQuz_prop13 }
check __repair { iduBMEX9FJi6StphQuz_prop13 <=> prop13o } |
src/sdl_display.ads | Fabien-Chouteau/ada-voxel-space | 4 | 28566 | with Interfaces; use Interfaces;
generic
Screen_Width : Natural;
Screen_Height : Natural;
package SDL_Display is
subtype SDL_Pixel is Unsigned_16;
function Rendering return Boolean;
procedure Start_Render
with Pre => not Rendering,
Post => Rendering;
procedure Draw_Vertical_Line ... |
source/slim-read_file.adb | reznikmm/slimp | 0 | 3552 | <gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Streams.Stream_IO;
with Ada.Text_IO;
with Slim.Messages;
with Slim.Messages.grfe;
with Slim.Messages.grfg;
with Slim.Messages.grf... |
benchmark/ac/AC.agda | asr/agda-kanso | 1 | 6256 | <filename>benchmark/ac/AC.agda
{-# OPTIONS --no-termination-check #-}
module AC where
import Nat
import Bool
import List
import Fin
import Logic
import Vec
import EqProof
open Nat hiding (_<_) renaming (_==_ to _=Nat=_)
open Bool
open List hiding (module Eq)
open Fin renaming (_==_ to _=Fin=_)
open Logic
open Vec
i... |
tests/bfp-006-cvttofix.asm | mtalexander/hyperion | 187 | 83926 | <reponame>mtalexander/hyperion<filename>tests/bfp-006-cvttofix.asm
TITLE 'bfp-006-cvttofix.asm: Test IEEE Convert To Fixed (int-32)'
***********************************************************************
*
*Testcase IEEE CONVERT TO FIXED 32
* Test case capability includes ieee exceptions trappable and
* otherwise... |
release/src/router/gmp/source/mpn/x86/udiv.asm | zhoutao0712/rtn11pb1 | 184 | 81707 | <filename>release/src/router/gmp/source/mpn/x86/udiv.asm
dnl x86 mpn_udiv_qrnnd -- 2 by 1 limb division
dnl Copyright 1999, 2000, 2002 Free Software Foundation, Inc.
dnl
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
dnl modify it under the... |
src/Categories/Category/Monoidal/Instance/Setoids.agda | MirceaS/agda-categories | 0 | 12384 | <reponame>MirceaS/agda-categories
{-# OPTIONS --without-K --safe #-}
module Categories.Category.Monoidal.Instance.Setoids where
open import Level
open import Data.Product
open import Data.Product.Relation.Binary.Pointwise.NonDependent
open import Function.Equality
open import Relation.Binary using (Setoid)
open impo... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_21829_1863.asm | ljhsiun2/medusa | 9 | 241471 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1f7f, %rcx
nop
nop
nop
nop
nop
dec %r15
mov $0x6162636465666768, %rdi
movq %rdi, (%rcx)
nop
nop
xor %rcx, %rcx
lea addresses_A_ht+0x193c9, %rdi
clf... |
inst/scripts/get-slide-contents.applescript | gaborcsardi/keynote | 27 | 2458 |
on run argv
set out to "["
set cnt to 0
tell document id (item 1 of argv) of application "Keynote"
tell slide (item 2 of argv as number)
-- add title item if visible
if title showing then
set tit to my jsonrecord(default title item, ¬
... |
scripts/Create Bookmark from Current Tab in Safari Directly.applescript | ddeville/spillo-applescript | 67 | 3837 | <filename>scripts/Create Bookmark from Current Tab in Safari Directly.applescript
(*
*)
tell application "Safari"
if current tab of front window exists then
set current_tab to current tab of front window
set js_script to "
var selection = window.getSelection().toString();
if (!selection) {
var m... |
Application Support/BBEdit/Scripts/Eval/Open in Excel.applescript | bhdicaire/bbeditSetup | 0 | 4690 | tell application "BBEdit"
set filename to file of front window
end tell
tell application "/Applications/Microsoft Office 2011/Microsoft Excel.app"
activate
open filename
end tell |
asm/first_asm/exit.asm | dmike16/study-notes | 0 | 6615 | ; Program: exit
;
; Input no
;
; Output: only set the exit code. ($? into the shell)
;
segment .text
global _start
_start:
mov eax,1 ; 1 is the exit syscall number
mov ebx,5 ; the status value to return
int 0x80 ; execute a syscall
|
Ada/src/fakelib/fakedsp-protected_buffers.adb | fintatarta/fakedsp | 0 | 22028 | <filename>Ada/src/fakelib/fakedsp-protected_buffers.adb
pragma Ada_2012;
pragma Assertion_Policy (disable);
package body Fakedsp.Protected_Buffers is
------------------
-- State_Buffer --
------------------
protected body State_Buffer is
---------
-- Set --
---------
procedure S... |
programs/oeis/015/A015559.asm | neoneye/loda | 22 | 102833 | <gh_stars>10-100
; A015559: Expansion of x/(1 - 7*x - 3*x^2).
; 0,1,7,52,385,2851,21112,156337,1157695,8572876,63483217,470101147,3481157680,25778407201,190892323447,1413581485732,10467747370465,77514976050451,574008074464552,4250601449403217,31476234369216175,233085444932722876,1726026817636708657,12781444058255129227... |
S5/AO/Assembler/String/inverserChaine.asm | Momellouky/S5 | 1 | 11579 | ; multi-segment executable file template.
data segment
str dw "chaineInverser$"
ends
stack segment
dw 128 dup(0)
ends
code segment
start:
; set segment registers:
mov ax, data
mov ds, ax
mov es, ax
;mov dx, offset str
mov cx, 0
mov si, 0
;mov dx, offset str
em... |
fizzbuzz.applescript | KiYOKing/fizzbuzz | 0 | 2843 | -- FizzBuzzを返す関数の定義 --- (*1)
on fizzbuzz(i)
if i mod 15 is 0 then
return "FizzBuzz"
else if i mod 3 is 0 then
return "Fizz"
else if i mod 5 is 0 then
return "Buzz"
else
return i as string
end if
end fizzbuzz
-- 100回fizzbuzz関数を呼び出す --- (*2)
set res to ""
repeat with i... |
base/boot/tftplib/i386/xsum.asm | npocmaka/Windows-Server-2003 | 17 | 245022 | <reponame>npocmaka/Windows-Server-2003
include xsum.x86
|
src/hyperion-monitoring-modules.adb | stcarrez/hyperion | 0 | 21115 | <reponame>stcarrez/hyperion
-----------------------------------------------------------------------
-- hyperion-monitoring-modules -- Module monitoring
-- Copyright (C) 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exce... |
data/trainers/class_names.asm | AtmaBuster/pokeplat-gen2 | 6 | 25320 | TrainerClassNames::
; entries correspond to trainer classes (see constants/trainer_constants.asm)
db "LEADER@"
db "LEADER@"
db "LEADER@"
db "LEADER@"
db "LEADER@"
db "LEADER@"
db "LEADER@"
db "LEADER@"
db "RIVAL@"
db "#MON PROF.@"
db "ELITE FOUR@"
db "ELITE FOUR@"
db "ELITE FOUR@"
db "ELITE FOUR@"
db "<P... |
Data/Binary/Isomorphism.agda | oisdk/agda-playground | 6 | 6280 | {-# OPTIONS --cubical --safe --postfix-projections #-}
module Data.Binary.Isomorphism where
open import Data.Binary.Definition
open import Data.Binary.Conversion
open import Data.Binary.Increment
open import Prelude
import Data.Nat as ℕ
inc-suc : ∀ x → ⟦ inc x ⇓⟧ ≡ suc ⟦ x ⇓⟧
inc-suc 0ᵇ i = 1
inc-suc (1ᵇ x) i = ... |
programs/oeis/028/A028430.asm | neoneye/loda | 22 | 16800 | ; A028430: Clog sequence in base 9. Right to left concatenation of n, int(log_9(n)), int(log_9(int(log_9(n)))),... in base9.
; 1,2,3,4,5,6,7,8,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136... |
source/pkgsrc/devel/florist/patches/patch-posix-signals.adb | Scottx86-64/dotfiles-1 | 1 | 8157 | <gh_stars>1-10
$NetBSD: patch-posix-signals.adb,v 1.5 2014/04/30 16:27:04 marino Exp $
Fix style check violation for GNAT 4.9
--- posix-signals.adb.orig 2012-05-10 13:32:11.000000000 +0000
+++ posix-signals.adb
@@ -340,16 +340,18 @@ package body POSIX.Signals is
begin
for Sig in Signal loop
if ... |
oldstuff/z80 ASM/test/test.asm | bcherry/bcherry | 3 | 92444 | <gh_stars>1-10
#include "ti86asm.inc"
.org _asm_exec_ram
nop
jp ProgStart
.dw 0
.dw ShellTitle
ShellTitle:
.db "New Assembly Program",0
ProgStart:
.end
|
src/norx_definitions.ads | jhumphry/SPARK_NORX | 9 | 15726 | -- NORX_Definitions
-- Some type / subtype definitions in common use in the NORX code.
-- As some uses of these types are in generic parameters, it is not possible
-- to hide them.
-- Copyright (c) 2016, <NAME> - see LICENSE file for details
pragma Restrictions(No_Implementation_Attributes,
No_Imp... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21829_915.asm | ljhsiun2/medusa | 9 | 22230 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x7cc9, %r13
nop
nop
cmp %rbx, %rbx
mov $0x6162636465666768, %rbp
movq %rbp, %xmm5
and $0xffffffffffffffc0, %r13
movaps %xmm5, (%r13)
nop
add $16157, %rax
lea addresses_UC_ht+... |
src/modules/engines/gl_common/shader/font_frag_s3c6410.asm | tizenorg/framework.uifw.evas | 1 | 6465 | #-------------------------------------------------
# ORION - OpenGL ES 2.0 Shading Language Compiler
# SAMSUNG INDIA SOFTWARE OPERATIONS PVT. LTD.
# Compiler Version : v04.00.09
# Release Date : 19.01.2009
# FIMG VERSION : FIMGv1.5
# Optimizer Options : -O --nolodcalc
#------------------------------... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_2133.asm | ljhsiun2/medusa | 9 | 95729 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r8
push %r9
push %rbp
push %rdx
// Faulty Load
lea addresses_WT+0x27ac, %r10
nop
nop
nop
nop
nop
sub %rbp, %rbp
mov (%r10), %dx
lea oracles, %rbp
and $0xff, %rdx
shlq $12, %rdx
mov (%rbp,%rdx,1), %rdx
p... |
♠ Spades/8 - Ada.ada | LoyaltyGamer72/Programmers-Playing-Cards | 80 | 30545 | <filename>♠ Spades/8 - Ada.ada
type Card is record
Rank : Integer;
Suit : String (1 .. 8);
end record;
This_Card : Card := (8, "spades "); |
Cubical/Categories/Adjoint.agda | Edlyr/cubical | 0 | 7198 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Categories.Adjoint where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Sigma
open import Cubical.Categories.Category
open import Cubical.Categories.Functor
open import Cubical.Categories.NaturalTransformation
open import Cubical.Foun... |
45/beef/cw/kernel/krun.asm | minblock/msdos | 0 | 177000 | ;*
;* COW : Character Oriented Windows
;*
;* krun.asm : Run/Exec
TITLE KRUN - Kernel RUN
include kernel.inc
include galloc.inc
ifdef Exec_Alternate
include krun2.asm ;* REVIEW -- integrate better !!
else ; Use this file
.xlist
include pbi.inc
.list
;---------------------------------------------------------... |
programs/oeis/166/A166060.asm | karttu/loda | 0 | 92861 | ; A166060: 4*3^n - 3*2^n.
; 1,6,24,84,276,876,2724,8364,25476,77196,233124,702444,2113476,6352716,19082724,57297324,171990276,516167436,1548895524,4647473004,13943991876,41835121356,125511655524,376547549484,1129667814276,3389053774476,10167261986724,30501987286764,91506364513476,274519898846796,823561307153124,2470687... |
examples/AssemblerFuck.asm | JStearsman/hello-worlds | 81 | 176637 | <reponame>JStearsman/hello-worlds
ADD 8
UNTIL 0
MOV RIGHT, P
ADD 4
UNTIL 0
MOV RIGHT, P
ADD 2
MOV RIGHT, P
ADD 3
MOV RIGHT, P
ADD 3
MOV RIGHT, P
ADD 1
MOV LEFT, P
MOV LEFT, P
MOV LEFT, P
MOV LEFT, P
SUB 1
END
MOV RIGHT, P
ADD 1
MOV RIGHT, P
ADD 1
MOV RIGHT, P
SUB 1
MOV RIGHT, P
MOV... |
4.0.x/LongVarHUD/HudUpdate_LongHudSupport.asm | chronosv2/NESMaker_Public_Code_Repository | 6 | 8706 | ;Addition to support "Long HUD" Items
LDA LongHudVar
STA hudElementTilesToLoad
LDA #$00
STA hudElementTilesMax
;End Addition
;;; So what does this stuff do?
;;; You can only update one HUD item at a time per frame.
;;; If you set both HUD bits to 1 and give this second variable, when the first HUD update completes... |
src/open_weather_map-api-service-weather.ads | Jellix/open_weather_map_api | 1 | 18635 | <reponame>Jellix/open_weather_map_api
--------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
... |
anims_zx.asm | jorgicor/altair | 0 | 4423 | ; ----------------------------------------------------------------------------
; Altair, CIDLESA's 1981 arcade game remade for the ZX Spectrum and
; Amstrad CPC.
; ----------------------------------------------------------------------------
ashot_am .db 2
.dw shot_it0, WHITE
.dw shot_it1, WHITE
fire_am .db 2
.dw... |
libsrc/_DEVELOPMENT/alloc/obstack/c/sdcc_iy/obstack_alloc_callee.asm | jpoikela/z88dk | 640 | 85407 |
; void *obstack_alloc_callee(struct obstack *ob, size_t size)
SECTION code_clib
SECTION code_alloc_obstack
PUBLIC _obstack_alloc_callee
EXTERN asm_obstack_alloc
_obstack_alloc_callee:
pop af
pop hl
pop bc
push af
jp asm_obstack_alloc
|
macros/scripts/audio.asm | AtmaBuster/pokeoctober | 1 | 164912 | channel_count: MACRO
assert 0 < (\1) && (\1) <= NUM_MUSIC_CHANS, \
"channel_count must be 1-{d:NUM_MUSIC_CHANS}"
_num_channels = \1 - 1
ENDM
channel: MACRO
assert 0 < (\1) && (\1) <= NUM_CHANNELS, \
"channel id must be 1-{d:NUM_CHANNELS}"
dn (_num_channels << 2), \1 - 1 ; channel id
dw \2 ; address
_num_channe... |
rom/src/sgb_border.asm | Gegel85/GBCGoogleMaps | 0 | 103395 | DATA_PART_1::
db $5D, $08, $00, $0B, $8C, $D0, $F4, $60, $00, $00, $00, $00, $00, $00, $00
DATA_PART_2::
db $52, $08, $00, $0B, $A9, $E7, $9F, $01, $C0, $7E, $E8, $E8, $E8, $E8, $E0
DATA_PART_3::
db $47, $08, $00, $0B, $C4, $D0, $16, $A5, $CB, $C9, $05, $D0, $10, $A2, $28
DATA_PART_4::
db $3C, $08, $00, $0B, $F0, $... |
archive/agda-3/src/Test/ProblemWithLevelZero.agda | m0davis/oscar | 0 | 5498 | {-# OPTIONS --allow-unsolved-metas #-}
open import Everything
module Test.ProblemWithLevelZero where
module _ (𝔓 : Ø₀) where
open Substitunction 𝔓
open Term 𝔓
fails : ∀ {m n} (f : Substitunction m n) → Substitunction m n
fails f = transitivity f ε -- FIXME
refl-works : ∀ {m} → Substitunction m m
re... |
tests/tk-toplevel-toplevel_create_options_test_data.ads | thindil/tashy2 | 2 | 3142 | <reponame>thindil/tashy2
-- 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 Tk.TopLevel.T... |
src/main/antlr4/mx/infotec/dads/kukulkan/grammar/kukulkan.g4 | dads-software-brotherhood/kukulkan-grammar | 0 | 5935 | <reponame>dads-software-brotherhood/kukulkan-grammar
/*
[The "BSD licence"]
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... |
oeis/143/A143254.asm | neoneye/loda-programs | 11 | 176325 | <reponame>neoneye/loda-programs
; A143254: Triangle read by rows, T(n,k) = (4n-3)*(4k-3); 1<=k<=n.
; Submitted by <NAME>
; 1,5,25,9,45,81,13,65,117,169,17,85,153,221,289,21,105,189,273,357,441,25,125,225,325,425,525,625,29,145,261,377,493,609,725,841,33,165,297,429,561,693,825,957,1089,37,185,333,481,629,777,925,1073,1... |
programs/oeis/173/A173013.asm | neoneye/loda | 22 | 175067 | <gh_stars>10-100
; A173013: a(1) = 1, for n >= 2; a(n) = the smallest number h such that sigma(h) = A000203(h) = a(n-1) + 3, a(n) = 0 if no such number exists.
; 1,3,5,7,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2
mul $0,2
mov $1,$0
add $0,2
sub $1,3
lpb $1
mod $1,... |
Miparcer.g4 | kevin12cama/compiladores-e-interpretes-P1 | 1 | 204 | parser grammar Miparcer;
options{
tokenVocab=Miscaner;}
program : singleCommand;
command : singleCommand ( Pyc singleCommand)*;
singleCommand :
Identifier ( Dpig expression
| expression )
| IF expression Then singleCommand (
Else singleCommand )*
... |
programs/oeis/340/A340627.asm | neoneye/loda | 22 | 11066 | ; A340627: a(n) = (11*2^n - 2*(-1)^n)/3 for n >= 0.
; 3,8,14,30,58,118,234,470,938,1878,3754,7510,15018,30038,60074,120150,240298,480598,961194,1922390,3844778,7689558,15379114,30758230,61516458,123032918,246065834,492131670,984263338,1968526678,3937053354,7874106710,15748213418,31496426838
mov $1,3
lpb $0
sub $0,1
... |
programs/oeis/154/A154383.asm | karttu/loda | 0 | 172826 | ; A154383: Powers of 4 at even indices, two times powers of 4 at odd indices.
; 1,0,4,2,16,8,64,32,256,128,1024,512,4096,2048,16384,8192,65536,32768,262144,131072,1048576,524288,4194304,2097152,16777216,8388608,67108864,33554432,268435456,134217728,1073741824,536870912,4294967296,2147483648,17179869184,8589934592,68719... |
oeis/338/A338854.asm | neoneye/loda-programs | 11 | 178456 | ; A338854: Product of the nonzero digits of (n written in base 4).
; Submitted by <NAME>(m3)
; 1,1,2,3,1,1,2,3,2,2,4,6,3,3,6,9,1,1,2,3,1,1,2,3,2,2,4,6,3,3,6,9,2,2,4,6,2,2,4,6,4,4,8,12,6,6,12,18,3,3,6,9,3,3,6,9,6,6,12,18,9,9,18,27,1,1,2,3,1,1,2,3,2,2,4,6,3,3,6,9,1
seq $0,7090 ; Numbers in base 4.
seq $0,51801 ; Product... |
oeis/086/A086352.asm | neoneye/loda-programs | 11 | 161346 | ; A086352: Main diagonal of square array A086350.
; Submitted by <NAME>
; 1,2,10,74,740,9354,143144,2573586,53180944,1242078802,32358633632,930370449370,29264294868544,999646208968666,36852747307934336,1458402092927302178,61665517131334975744,2774522039432235946914
mov $1,$0
mov $2,1
mov $3,1
lpb $0
sub $0,1
mov $... |
programs/oeis/313/A313682.asm | neoneye/loda | 22 | 100438 | <reponame>neoneye/loda<filename>programs/oeis/313/A313682.asm
; A313682: Coordination sequence Gal.5.55.4 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,10,15,19,23,27,31,36,41,46,51,56,61,65,69,73,77,82,87,92,97,102,107,111,115... |
programs/Music.asm | TheLogicMaster/lm8 | 10 | 132 | ; Music player --- Run the fetch_songs.sh script to generate the song binaries before assembling
; Set buzzer pin (Arduino 2) to output mode
ldr $2,B
out {arduino_output},B
; Setup timer 0 for note duration
ldr {centiseconds},A
out {timer_unit_0},A
; Load song address
lda song
str... |
oeis/099/A099483.asm | neoneye/loda-programs | 11 | 241117 | <reponame>neoneye/loda-programs<filename>oeis/099/A099483.asm<gh_stars>10-100
; A099483: A Fibonacci convolution.
; Submitted by <NAME>
; 0,1,3,7,18,48,126,329,861,2255,5904,15456,40464,105937,277347,726103,1900962,4976784,13029390,34111385,89304765,233802911,612103968,1602508992,4195423008,10983760033,28755857091,7528... |
agda/book/2015-Verified_Functional_programming_in_Agda-Stump/ial/z01-fp-with-booleans.agda | haroldcarr/learn-haskell-coq-ml-etc | 36 | 12219 | module z01-fp-with-booleans where
open import bool
{-
data 𝔹 : Set where
tt : 𝔹
ff : 𝔹
˜_ : 𝔹 → 𝔹
˜ tt = ff
˜ ff = tt
if_then_else_ : ∀ {ℓ} {A : Set ℓ} → 𝔹 → A → A → A
if tt then t else f = t
if ff then t else f = f
-}
-- load / type-check file
-- C-c, C-l
-- check type of expression
-- C-c, C-d ; then ... |
15/1/src/main.adb | Heziode/aoc-ada-2021 | 3 | 1493 | with Ada.Containers.Hashed_Maps,
Ada.Execution_Time,
Ada.Integer_Text_IO,
Ada.Long_Long_Integer_Text_IO,
Ada.Real_Time,
Ada.Text_IO;
with Utils,
Dijkstra;
procedure Main is
use Ada.Execution_Time,
Ada.Real_Time,
Ada.Text_IO;
use Utils;
Nb_Tiles : constant := 1;
... |
ffight/lcs/boss/0.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 23365 | copyright zengfr site:http://github.com/zengfr/romhack
0061C0 move.w ($2,A3), D2 [boss+0, container+ 0, enemy+ 0]
copyright zengfr site:http://github.com/zengfr/romhack
|
oeis/307/A307005.asm | neoneye/loda-programs | 11 | 27261 | ; A307005: Expansion of e.g.f. (2*exp(x)-2*x-x^2)/(2-2*x-x^2).
; Submitted by <NAME>
; 1,1,3,13,71,486,3982,38081,416145,5116222,69888746,1050168417,17214678241,305703953660,5846391071172,119794781201881,2618283427770737,60802908515558346,1495049717728972990,38803241993010963977,1060124286228724147641,30411290829335509... |
exercises/02-classroom.als | xbreu/formal-methods | 0 | 425 | <reponame>xbreu/formal-methods
/// First-order logic revision exercises based on a simple model of a classroom
/// management system.
///
/// The model has 5 unary predicates (sets), Person, Student, Teacher, Group
/// and Class, Student and Teacher a sub-set of Person. There are two binary
/// predicates, Tutors a sub... |
Cubical/Reflection/RecordEquiv.agda | bijan2005/univalent-foundations | 0 | 5778 | <reponame>bijan2005/univalent-foundations
{-
Reflection-based tools for converting between iterated record types, particularly between
record types and iterated Σ-types.
See end of file for examples.
-}
{-# OPTIONS --cubical --no-exact-split --safe #-}
module Cubical.Reflection.RecordEquiv where
open import C... |
demos/SicDemos/hanoi/hanoi.asm | roycrippen/sicxe | 0 | 84191 | <reponame>roycrippen/sicxe<filename>demos/SicDemos/hanoi/hanoi.asm
Hanoi START 0
first JSUB stackinit
LDA =10
LDS =C'ACB'
JSUB hanoi
. death end
death J death
. Solves Towers of Hanoi puzzle
. Input: A - disk count, S - pegs conf $1$2$3 (src d... |
specs/ada/server/ike/tkmrpc-operation_handlers-ike-isa_auth.ads | DrenfongWong/tkm-rpc | 0 | 27603 | with Tkmrpc.Request;
with Tkmrpc.Response;
package Tkmrpc.Operation_Handlers.Ike.Isa_Auth is
procedure Handle (Req : Request.Data_Type; Res : out Response.Data_Type);
-- Handler for the isa_auth operation.
end Tkmrpc.Operation_Handlers.Ike.Isa_Auth;
|
Transynther/x86/_processed/AVXALIGN/_zr_un_/i7-7700_9_0x48_notsx.log_21829_1448.asm | ljhsiun2/medusa | 9 | 103499 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %rdx
lea addresses_A_ht+0xbb47, %r15
nop
nop
nop
xor %r13, %r13
mov (%r15), %rdx
nop
nop
nop
add %r10, %r10
pop %rdx
pop %r15
pop %r13
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r15
push %r8
push %r9
pu... |
src/tom/engine/parser/antlr4/TomIslandLexer.g4 | rewriting/tom | 36 | 4517 | /*
*
* TOM - To One Matching Compiler
*
* Copyright (c) 2016-2017, Universite de Lorraine
* Nancy, France.
*
* 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 2 of the Li... |
oeis/160/A160295.asm | neoneye/loda-programs | 11 | 1817 | <gh_stars>10-100
; A160295: Numerator of Hermite(n, 17/30).
; Submitted by <NAME>
; 1,17,-161,-18037,-89279,30948857,727008319,-71202772477,-3500523336959,196821084188897,17523077945895199,-587802553769818117,-96731879246268143039,1529691843170459400137,591886254924566446580479,425007721743735371005043,-398800708947118... |
src/005/animals.ads | xeenta/learning-ada | 0 | 24581 | package Animals is
type Animal is abstract tagged private;
function Legs
(A : Animal) return Natural;
function Wings
(A : Animal) return Natural;
procedure Add_Wings (A : in out Animal;
N : Positive);
procedure Add_Legs (A : in out Animal;
N : Positive);
private
... |
Task/Equilibrium-index/AppleScript/equilibrium-index.applescript | LaudateCorpus1/RosettaCodeData | 1 | 3721 | -- equilibriumIndices :: [Int] -> [Int]
on equilibriumIndices(xs)
script balancedPair
on |λ|(a, pair, i)
set {x, y} to pair
if x = y then
{i - 1} & a
else
a
end if
end |λ|
end script
script plus
on |λ|(... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0x84_notsx.log_21829_526.asm | ljhsiun2/medusa | 9 | 98696 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x6d6e, %rcx
nop
sub $57975, %r14
movups (%rcx), %xmm1
vpextrq $0, %xmm1, %rbp
nop
nop
nop
nop
xor $6757, %r9
lea addresses_normal_ht+0x11ee, %rsi
lea addresses_no... |
oeis/002/A002739.asm | neoneye/loda-programs | 11 | 5561 | <filename>oeis/002/A002739.asm
; A002739: a(n) = ((2*n-1)! /(2*n!*(n-2)!))*((n^3-3*n^2+2*n+2)/(n^2-1)).
; Submitted by <NAME>
; 1,10,91,651,4026,22737,120835,615043,3031678,14578928,68747966,319075550,1461581460,6621579135,29718121635,132302508195,584868588150,2569600678260,11227927978410,48822435838410,21137046329022... |
GradeAlloc.asm | CallMeMengMeng/ASSEMBLY-LANGUAGE | 0 | 1013 | <filename>GradeAlloc.asm<gh_stars>0
; ALLOCATE THE GRADES OF 12 STUDENTS TO SIX SECTIONS: <60, 60-69, 70-79, 80-89, 90-99, 100
DATA SEGMENT
TABLE DB 76,69,82,90,54,42,59,68,71,86,91,100 ; STORE GRADES OF TWELVE STUDENTS
S10 DB (0) ; STORE THE NUMBER OF STUDENTS WHOSE GRADE IS 100
S9 DB (0) ; STORE THE NUM... |
src/ada-core/src/linted-tagged_accessors.ads | mstewartgallus/linted | 0 | 799 | -- Copyright 2017 <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writi... |
Cubical/Categories/NaturalTransformation.agda | dan-iel-lee/cubical | 0 | 5858 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Categories.NaturalTransformation where
open import Cubical.Categories.NaturalTransformation.Base public
open import Cubical.Categories.NaturalTransformation.Properties public
|
programs/oeis/010/A010884.asm | neoneye/loda | 22 | 25328 | ; A010884: Simple periodic sequence: repeat 1,2,3,4,5.
; 1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1
mod $0,5
add $0,1
|
programs/oeis/105/A105337.asm | karttu/loda | 1 | 103523 | ; A105337: a(n) = n*(n+1)/2 mod 256.
; 0,1,3,6,10,15,21,28,36,45,55,66,78,91,105,120,136,153,171,190,210,231,253,20,44,69,95,122,150,179,209,240,16,49,83,118,154,191,229,12,52,93,135,178,222,11,57,104,152,201,251,46,98,151,205,4,60,117,175,234,38,99
mov $1,$0
pow $0,2
add $1,5
add $1,$0
div $1,2
mod $1,256
sub $1,2
|
alloy4fun_models/trashltl/models/10/M5scCMiShnzaL5F58.als | Kaixi26/org.alloytools.alloy | 0 | 2249 | <gh_stars>0
open main
pred idM5scCMiShnzaL5F58_prop11 {
File - Protected in Protected'
}
pred __repair { idM5scCMiShnzaL5F58_prop11 }
check __repair { idM5scCMiShnzaL5F58_prop11 <=> prop11o } |
safari.applescript | Kriechi/osx-application-backups | 0 | 4354 | <filename>safari.applescript<gh_stars>0
#!/usr/bin/osascript
# https://github.com/thepoch/iCloudBackup.git
on run argv
try
set filepath to item 1 of argv
on error
return "path required as first argument"
end try
try
set filename to item 2 of argv
on error
return "filename required as second... |
arch/RISC-V/SiFive/drivers/gpio0/sifive-gpio.ads | rocher/Ada_Drivers_Library | 192 | 15640 | <reponame>rocher/Ada_Drivers_Library
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017-2019, AdaCore --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_3101.asm | ljhsiun2/medusa | 9 | 103245 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
// Store
lea addresses_WC+0x13215, %rdi
nop
nop
nop
nop
cmp %rcx, %rcx
movb $0x51, (%rdi)
nop
nop
nop
and $25427, %r8
// Load
lea addresses_WT+0xfa15, %rbp
nop... |
src/Categories/GlobularSet.agda | Trebor-Huang/agda-categories | 279 | 9929 | <filename>src/Categories/GlobularSet.agda
{-# OPTIONS --without-K --safe #-}
module Categories.GlobularSet where
-- Globular sets are defined in a Categorical context, but
-- should they be inside the Categories hierarchy?
open import Level
open import Data.Unit using (⊤)
open import Relation.Binary.PropositionalEqua... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.