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 |
|---|---|---|---|---|
Bill_Cravener/calender/calendar.asm | AlexRogalskiy/Masm | 0 | 92358 | ; ####################################################
; <NAME> 5/15/2003
; ####################################################
.486
.model flat,stdcall
option casemap:none ; case sensitive
; ####################################################
include \masm32\include\windows... |
src/arm_math_types_h.ads | JeremyGrosser/arm_cmsis_dsp | 0 | 15545 | <reponame>JeremyGrosser/arm_cmsis_dsp<filename>src/arm_math_types_h.ads
pragma Ada_2012;
pragma Style_Checks (Off);
pragma Warnings ("U");
with Interfaces.C; use Interfaces.C;
with sys_ustdint_h;
package arm_math_types_h is
-- unsupported macro: LOW_OPTIMIZATION_ENTER __attribute__(( optimize("-O1") ))
-- un... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_rtsp_gstrtsptransport_h.ads | persan/A-gst | 1 | 2081 | <gh_stars>1-10
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib;
with glib.Values;
with System;
with System;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtsp_gstrtspdefs_h;
package GStreamer.GST_Low_Level.gstreamer_0_10_gst_rtsp_gstrtsptr... |
oeis/015/A015210.asm | neoneye/loda-programs | 11 | 83726 | <reponame>neoneye/loda-programs
; A015210: Sum of Gaussian binomial coefficients for q=19.
; Submitted by <NAME>
; 1,2,22,764,152404,99869288,377566978168,4699193672889776,337505849373783995536,79809726992391397235470112,108909145140488785290568540059232,489318942025571053898957586140666992064,1268685549243702342554659... |
orka/src/orka/interface/orka-loops.ads | onox/orka | 52 | 19372 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2017 onox <<EMAIL>>
--
-- 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
-... |
lab1/example2.g4 | hmatalonga/ats-labs | 0 | 398 | grammar example2;
g : a=NUM '+' b=NUM
{ System.out.println("g=" + $a.text + " + " + $b.text); }
;
NUM : [0-9]+ ;
NEWLINE : [\r\n]+ ; |
programs/oeis/265/A265227.asm | neoneye/loda | 22 | 171300 | <reponame>neoneye/loda
; A265227: Nonnegative m for which k*floor(m^2/9) = floor(k*m^2/9), with 2 < k < 9.
; 0,1,3,6,8,9,10,12,15,17,18,19,21,24,26,27,28,30,33,35,36,37,39,42,44,45,46,48,51,53,54,55,57,60,62,63,64,66,69,71,72,73,75,78,80,81,82,84,87,89,90,91,93,96,98,99,100,102,105,107,108,109,111,114,116,117,118,120,1... |
Library/Bitmap/bitmap.asm | steakknife/pcgeos | 504 | 97942 | <gh_stars>100-1000
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1991, 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Bitmap
FILE: bitmap.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Jon 1/91 Initial Version
DE... |
src/ada/src/common/uxas-common.ads | VVCAS-Sean/OpenUxAS | 88 | 3638 | <gh_stars>10-100
package UxAS.Common is
end UxAS.Common;
|
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2.log_2506_1365.asm | ljhsiun2/medusa | 9 | 18884 | <filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2.log_2506_1365.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1c9f2, %rsi
lea addresses_WC_ht+0x3f2, %rdi
nop
nop
nop
xor $26166, %r11
mov $90, %rcx
r... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_2_974.asm | ljhsiun2/medusa | 9 | 170606 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x13da, %rcx
clflush (%rcx)
nop
nop
nop
nop
inc %r15
mov (%rcx), %dx
nop
nop
nop
and $39079, %rbx
lea addresses_UC_ht+0xda0a, %r13
nop
nop
cmp %r11, %r1... |
BinaryTree.asm | almeidagustavo/AssemblyBinaryTree | 0 | 89123 | #-----IMPLEMENTACAO DE UMA ARVORE BINÁRIA-----
.data
.align 0
#reserva espaco para uma string de 0s e 1s
buffer: .space 17
#labels responsaveis pela interface
inicio: .asciiz "\n\nEscolha uma opcao (1 a 5)\n"
opcoes: .asciiz "1. Insercao \n 2. Remover \n 3. Busca \n 4. Visualizacao \n 5. Fim"
newline: .asciiz "... |
programs/oeis/133/A133953.asm | jmorken/loda | 1 | 97734 | ; A133953: A second integer solution:d=2;h=1; A 4 X 4 vector Markov of a game matrix MA and an anti- game matrix MB such that game_valueMa+game_ValueMB =0 and the score is the sum of the vector out put of the Markov: MA={{0,1},{1,d}}; MB={{1/h,0},(2 - d + 1/h + h),h}}; Characteristic Polynomial is: -1 + 4 x^2 - 4 x^3 +... |
Algebra/SemiringLiterals.agda | oisdk/agda-playground | 6 | 11804 | <reponame>oisdk/agda-playground
{-# OPTIONS --cubical --safe #-}
open import Algebra
module Algebra.SemiringLiterals {r} (rng : Semiring r) where
open Semiring rng
open import Literals.Number
open import Data.Nat.Literals
open import Data.Unit
import Data.Unit.UniversePolymorphic as Poly
open import Data.Nat.DivMod... |
src/sm/multiworld.asm | PJBoy/alttp_sm_combo_randomizer_rom | 31 | 245760 | ; SM Multiworld support
;
;
; Implement auto-saving on death as a temporary measure to prevent lost items
; Game state 15h (Samus ran out of health, black out surroundings) ;;;
; JSL $9BB3A7[$9B:B3A7]
; org $C2DD7E ; $82DD7E
; jsl sm_mw_autosave
org $C28BB3
jsl sm_mw_hook_main_game
org $C09490
jsl sm_mw_c... |
programs/oeis/130/A130657.asm | neoneye/loda | 22 | 100567 | <reponame>neoneye/loda
; A130657: Periodic (7 terms) 1 1 1 1 0 0 0.
; 1,1,1,1,0,0,0,1,1,1,1,0,0,0,1,1,1,1,0,0,0,1,1,1,1,0,0,0
mod $0,7
div $0,4
pow $1,$0
mov $0,$1
|
Task/Break-OO-privacy/Ada/break-oo-privacy-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 14403 | package OO_Privacy is
type Confidential_Stuff is tagged private;
subtype Password_Type is String(1 .. 8);
private
type Confidential_Stuff is tagged record
Password: Password_Type := "<PASSWORD>!"; -- the "secret"
end record;
end OO_Privacy;
|
projects/batfish/src/main/antlr4/org/batfish/grammar/arista/Arista_cvx.g4 | yrll/batfish-repair | 1 | 4420 | parser grammar Arista_cvx;
import Legacy_common;
options {
tokenVocab = AristaLexer;
}
s_cvx
:
CVX NEWLINE
(
cvx_no
| cvx_null
| cvx_service
)*
;
cvx_no
:
NO cvx_no_null
;
cvx_no_null
:
(
PEER
| SHUTDOWN
| SOURCE_INTERFACE
| SSL
) null_rest_of_line
;
cvx_null
:
(
H... |
source/web/tools/wsdl2ada/wsdl-iterators.ads | svn2github/matreshka | 24 | 15258 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
programs/oeis/022/A022348.asm | neoneye/loda | 22 | 100460 | <gh_stars>10-100
; A022348: Fibonacci sequence beginning 0, 14.
; 0,14,14,28,42,70,112,182,294,476,770,1246,2016,3262,5278,8540,13818,22358,36176,58534,94710,153244,247954,401198,649152,1050350,1699502,2749852,4449354,7199206,11648560,18847766,30496326,49344092,79840418,129184510,209024928,338209438,547234366,885443804... |
programs/oeis/258/A258321.asm | neoneye/loda | 22 | 161072 | ; A258321: a(n) = Fibonacci(n) + n*Lucas(n).
; 0,2,7,14,31,60,116,216,397,718,1285,2278,4008,7006,12179,21070,36299,62304,106588,181812,309305,524942,888977,1502474,2534736,4269050,7178911,12054926,20215927,33859908,56646980,94667088,158045413,263604046,439272349,731390830,1216800504,2022843094,3360432683,5578716622,92... |
prototyping/pixracer/src/lib/mystrings.ads | TUM-EI-RCS/StratoX | 12 | 16548 | <gh_stars>10-100
-- Project: Strato
-- System: Stratosphere Balloon Flight Controller
-- Author: <NAME> (<EMAIL>)
-- @summary String functions
package MyStrings with SPARK_Mode is
function Is_AlNum (c : Character) return Boolean;
-- is the given character alphanumeric?
function Strip_Non_Alphanum (s : ... |
Mods/Bayonetta2_HighLOD/patch_gameplayTweaks.asm | RedHalted/cemu_graphic_packs | 1 | 15401 | [Bayo2USv0_GP]
moduleMatches = 0xAF5D1A85
.origin = codecave
#Value is scalable in v5 - 100 default, 200 twice the high LOD culling distance
0x100AA3A8 = .float 200.0
#0x1014F804 = .float 3.0
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/renaming7.adb | best08618/asylo | 7 | 9981 | <reponame>best08618/asylo<gh_stars>1-10
-- { dg-do compile }
-- { dg-options "-O" }
with Renaming7_Pkg; use Renaming7_Pkg;
with System;
procedure Renaming7 is
C : constant System.Address := A'Address;
D : System.Address renames C;
begin
null;
end;
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pointer_variable_bounds.ads | best08618/asylo | 7 | 28313 | with pointer_variable_bounds_q; use pointer_variable_bounds_q;
package pointer_variable_bounds is
type HALF_INTEGER is range -32768 .. 32767;
subtype HALF_NATURAL is HALF_INTEGER range 0 .. 32767;
MAX_COMPS : constant HALF_NATURAL := HALF_NATURAL(A_MAX_COMPS);
subtype COMP_POINTER_TYPE is HALF_NATURAL range ... |
test/asset/agda-stdlib-1.0/Data/Rational/Base.agda | omega12345/agda-mode | 0 | 16052 | <filename>test/asset/agda-stdlib-1.0/Data/Rational/Base.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Rational numbers
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Rational.Bas... |
libsrc/ctype/isspace.asm | dex4er/deb-z88dk | 1 | 80069 | ;
; Small C z88 Character functions
; Written by <NAME> <<EMAIL>>
; 22 August 1998
;
; $Id: isspace.asm,v 1.3 2006/12/31 21:44:58 aralbrec Exp $
;
XLIB isspace
; FASTCALL
.isspace
ld a,l
ld hl,1
cp 32 ; space
ret z
cp 7 ; tab
ret z
cp 10 ... |
alloy4fun_models/trashltl/models/7/DvCsx9oEGEN3CK85K.als | Kaixi26/org.alloytools.alloy | 0 | 4824 | open main
pred idDvCsx9oEGEN3CK85K_prop8 {
eventually all l: File.link | l in Trash
}
pred __repair { idDvCsx9oEGEN3CK85K_prop8 }
check __repair { idDvCsx9oEGEN3CK85K_prop8 <=> prop8o } |
libsrc/_DEVELOPMENT/arch/zx/esxdos/c/sdcc_iy/esxdos_f_sync.asm | jpoikela/z88dk | 640 | 167719 | <filename>libsrc/_DEVELOPMENT/arch/zx/esxdos/c/sdcc_iy/esxdos_f_sync.asm
; int esxdos_f_sync(uchar handle)
SECTION code_clib
SECTION code_esxdos
PUBLIC _esxdos_f_sync
EXTERN _esxdos_f_sync_fastcall
_esxdos_f_sync:
pop af
pop hl
push hl
push af
jp _esxdos_f_sync_fastcall
|
src/spat-entity_line.ads | yannickmoy/spat | 0 | 29295 | ------------------------------------------------------------------------------
-- 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,
-- as published by Sam Hocevar. See the... |
continuity.agda | hazelgrove/hazelnut-dynamics-agda | 16 | 14290 | <gh_stars>10-100
open import Nat
open import Prelude
open import core
open import contexts
open import progress
open import preservation
open import elaborability
open import typed-elaboration
module continuity where
-- we take the sensibilty theorem as a postulate; for a proof, refer to
-- the POPL17 mechanizati... |
tools/validate/matrix float multiplication/code.asm | jayaraj-poroor/verticalthings | 2 | 99241 | <gh_stars>1-10
00002178 <main>:
main():
/home/arduino/Desktop/analysis/compare/matrix float multiplication/code.c:18
2178: b5f0 push {r4, r5, r6, r7, lr}
217a: b085 sub sp, #20
/home/arduino/Desktop/analysis/compare/matrix float multiplication/code.c:19
2180: 2400 movs r4, #0
2182: 4b1... |
test/Compiler/simple/Issue2123.agda | cruhland/agda | 1,989 | 5001 | module _ where
open import Agda.Builtin.Nat
open import Agda.Builtin.String
open import Common.IO
open import Common.Unit
data ⊥ : Set where
record Pair : Set where
constructor _,_
field fst snd : String
open Pair
record ERing : Set where
constructor ering
field divRem : (⊥ → ⊥) → Pair
open ERing
eRing :... |
Cubical/Algebra/Group/EilenbergMacLane/WedgeConnectivity.agda | thomas-lamiaux/cubical | 1 | 4689 | {-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Algebra.Group.EilenbergMacLane.WedgeConnectivity where
open import Cubical.Algebra.Group.EilenbergMacLane.Base
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Algebra.Group.Base
open import Cubi... |
iod/con2/q68/disp_size.asm | olifink/smsqe | 0 | 171729 | ; Q68 set display size 1.00
; based on
; Q40 set display size 2000 <NAME>
section con
xdef cn_disp_size
xref cn_disp_clear
include 'dev8_keys_q68'
include 'dev8_keys_qlhw'
include 'dev8_keys_sys'
include 'dev8_keys_con'
include 'dev8_mac_assert'
;+++
; Set size and colour depth according to D6 a... |
StructurallyRecursiveDescentParsing/Simplified.agda | nad/parser-combinators | 1 | 6880 | <gh_stars>1-10
------------------------------------------------------------------------
-- A simplified parser type
------------------------------------------------------------------------
module StructurallyRecursiveDescentParsing.Simplified where
open import Category.Monad
open import Codata.Musical.Notation
open i... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1277.asm | ljhsiun2/medusa | 9 | 28820 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1277.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1497a, %rbp
nop
nop
nop
inc %rax
movb (%rbp), %... |
programs/oeis/120/A120151.asm | neoneye/loda | 22 | 26905 | ; A120151: a(1)=5; a(n)=floor((15+sum(a(1) to a(n-1)))/3).
; 5,6,8,11,15,20,26,35,47,62,83,111,148,197,263,350,467,623,830,1107,1476,1968,2624,3499,4665,6220,8293,11058,14744,19658,26211,34948,46597,62130,82840,110453,147271,196361,261815,349086
mov $1,1
mov $2,1
lpb $0
sub $0,1
add $2,$1
mov $1,6
add $1,$2
... |
Cubical/Foundations/Pointed/Properties.agda | L-TChen/cubical | 0 | 11758 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Foundations.Pointed.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Pointed.Base
open import Cubical.Foundations.Function
open import Cubical.Foundations.GroupoidLaws
open import Cubical.Foundations.Isomorphism
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization7.ads | best08618/asylo | 7 | 14038 | with Loop_Optimization7_Pkg; use Loop_Optimization7_Pkg;
package Loop_Optimization7 is
type Arr is array (1..8) of Rec;
function Conv (A : Arr) return Arr;
end Loop_Optimization7;
|
programs/oeis/181/A181762.asm | neoneye/loda | 22 | 88730 | <reponame>neoneye/loda
; A181762: a(n) = n/2 if n is even, otherwise 3n+5.
; 0,8,1,14,2,20,3,26,4,32,5,38,6,44,7,50,8,56,9,62,10,68,11,74,12,80,13,86,14,92,15,98,16,104,17,110,18,116,19,122,20,128,21,134,22,140,23,146,24,152,25,158,26,164,27,170,28,176,29,182,30,188,31,194,32,200,33,206,34,212,35,218,36,224,37,230,38,2... |
BootloaderCommonPkg/Library/IppCryptoLib/auth/X64/pcpsha512m7as.nasm | kokweich/slimbootloader | 1 | 92839 | <filename>BootloaderCommonPkg/Library/IppCryptoLib/auth/X64/pcpsha512m7as.nasm
;===============================================================================
; Copyright 2015-2020 Intel Corporation
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance wit... |
libsrc/_DEVELOPMENT/target/vgl/driver/character/vgl_00_output_char.asm | jpoikela/z88dk | 38 | 241013 | <filename>libsrc/_DEVELOPMENT/target/vgl/driver/character/vgl_00_output_char.asm<gh_stars>10-100
;
;
;@FIXME: This implementation is not usable (just a proof-of-concept). Use the terminal driver instead.
;
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; vgl_00_output_char ;;;;;;;;;;;;;;;;;;;;;;;;;;... |
oeis/135/A135368.asm | neoneye/loda-programs | 11 | 103502 | <reponame>neoneye/loda-programs
; A135368: a(n) = (nextprime(12*n) - previousprime(12*n))/2.
; Submitted by <NAME>
; 1,3,3,3,1,1,3,4,1,7,3,5,3,3,1,1,6,6,1,1,3,3,3,5,7,1,7,3,1,4,3,3,4,4,1,1,3,4,6,4,4,3,6,9,9,5,3,3,3,1,3,6,5,3,1,6,4,5,4,4,3,4,3,4,7,5,6,5,1,7,7,7,7,10,10,4,5,4,3,7,3,4,3,6,1,1,5,5,3,9,1,3,4,3,11,1,4,5,3,4
... |
libsrc/_DEVELOPMENT/adt/bv_priority_queue/c/sdcc_iy/bv_priority_queue_clear.asm | jpoikela/z88dk | 640 | 12746 |
; void bv_priority_queue_clear(bv_priority_queue_t *q)
SECTION code_clib
SECTION code_adt_bv_priority_queue
PUBLIC _bv_priority_queue_clear
EXTERN _ba_priority_queue_clear
defc _bv_priority_queue_clear = _ba_priority_queue_clear
|
programs/oeis/341/A341544.asm | neoneye/loda | 22 | 173263 | ; A341544: a(n) = sqrt( Product_{j=1..n} Product_{k=1..4} (4*sin((2*j-1)*Pi/(2*n))^2 + 4*sin((2*k-1)*Pi/4)^2) ).
; 36,256,2916,38416,527076,7311616,101727396,1416468496,19727326116,274760478976,3826898412516,53301739046416,742397156205156,10340257357947136,144021201787572516,2005956552488017936,27939370476391960356,389... |
install/common/dublbuf.asm | minblock/msdos | 0 | 25628 | ;****************************************************************************
;
; (C) Copyright MICROSOFT Corp., 1991
;
; Title: dsufastd.asm - Detection code entry point for WDCtrl drive
; validation
;
; Version: 1.00
;
; Date: 05-FEB-1991
;
; Author: MC
;
;--------... |
programs/oeis/117/A117665.asm | karttu/loda | 1 | 96539 | <filename>programs/oeis/117/A117665.asm
; A117665: n times the n-th n-gonal number.
; 0,2,6,24,80,210,462,896,1584,2610,4070,6072,8736,12194,16590,22080,28832,37026,46854,58520,72240,88242,106766,128064,152400,180050,211302,246456,285824,329730,378510,432512,492096,557634,629510,708120,793872
mov $1,$0
bin $0,2
pow $0... |
Transynther/x86/_processed/NONE/_ht_zr_un_/i7-7700_9_0x48.log_16_2019.asm | ljhsiun2/medusa | 9 | 11074 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x19ee2, %rbx
nop
nop
nop
cmp $62386, %r11
movl $0x61626364, (%rbx)
xor $3007, %rbx
lea addresses_A_ht+0x547a, %r9
nop
nop
cmp $25439, %rdi
mov $0x6162... |
alloy4fun_models/trashltl/models/11/Dn7oWioMHDT25xNeD.als | Kaixi26/org.alloytools.alloy | 0 | 2671 | open main
pred idDn7oWioMHDT25xNeD_prop12 {
always all f:File | eventually f in Trash && historically f not in Trash
}
pred __repair { idDn7oWioMHDT25xNeD_prop12 }
check __repair { idDn7oWioMHDT25xNeD_prop12 <=> prop12o } |
src/memory.asm | MarioSieg/Utilitiy-Routines | 1 | 171682 | .extern printf
.data
x: .quad 0xABC
fmt: .asciz "X = %llx\n"
.text
.globl main
print:
pushq %rbp
movq %rsp, %rbp
movq $fmt, %rdi
movq (x), %rsi
xorl %eax, %eax
callq printf
movq %rbp, %rsp
popq %rbp
retq
main:
pushq %rbp
movq %rsp, %rbp
callq print
movq $0xFFF... |
tests/dispatch-units/test/main.adb | TUM-EI-RCS/StratoX | 12 | 24100 | <reponame>TUM-EI-RCS/StratoX<filename>tests/dispatch-units/test/main.adb
with Units; use Units;
with Ulog; use Ulog;
with Ulog.GPS; use Ulog.Gps;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Tags;
with Interfaces;
-- Rules for conversion in OO programming:
-- 1. SPECIFIC TYPES: only up-cast (towards ancestors/base) p... |
std/arr.asm | mossx-dev/Mycore | 0 | 99889 | ;; Author: <NAME>
;; Date: 14-Oct-21
%ifndef _Mycelium_std_arr_
%define _Mycelium_std_arr_
%include "std/exception.asm"
%include "std/type.asm"
%include "std/mem.asm"
;; Array archtecure
;; [memory size, user size, data type, data, data, etc...]
;;
;; Array vs. List
;; Similarities:
... |
P2/factorial.asm | Snake52996/Buaa-CO-2020Autumn | 2 | 92470 | .data
result:.space 4000
.macro printInteger(%val)
li $v0,1
add $a0,%val,$zero
syscall
.end_macro
.text
li $t0,1
sw $t0,result($zero)
li $s0,4
li $s2,10
li $v0,5
syscall
add $s1,$v0,$zero
li $t0,1
calculateOuterLoop:
li $t1,0
li $t3,0
calculateInnerLoop:
lw $t2,result($t1)
mul $t2,$t2,$t0
ad... |
Task/Command-line-arguments/AppleScript/command-line-arguments.applescript | LaudateCorpus1/RosettaCodeData | 1 | 872 | <gh_stars>1-10
#!/usr/bin/env osascript
-- Print first argument
on run argv
return (item 1 of argv)
end run
|
C51/RtxTiny2/SourceCode/os_clear_signal.a51 | AllRoundeer/Keil | 0 | 162051 | <reponame>AllRoundeer/Keil<gh_stars>0
;------------------------------------------------------------------------------
; This file is part of the RTX-51 TINY Real-Time Operating System Package
; Copyright <NAME> GmbH and Keil Software, Inc. 1991 - 2002
;----------------------------------------------------------------... |
programs/oeis/166/A166150.asm | karttu/loda | 1 | 160967 | <gh_stars>1-10
; A166150: a(n) = 5n^2 + 5n - 9.
; 1,21,51,91,141,201,271,351,441,541,651,771,901,1041,1191,1351,1521,1701,1891,2091,2301,2521,2751,2991,3241,3501,3771,4051,4341,4641,4951,5271,5601,5941,6291,6651,7021,7401,7791,8191,8601,9021,9451,9891,10341,10801,11271,11751,12241,12741,13251,13771,14301,14841,15391,15... |
src/game_over.asm | hgwood/blox86 | 3 | 105104 | <reponame>hgwood/blox86
%assign game_over_display_left_x 68
%assign game_over_display_y 4
game_over:
mov dh, game_over_display_y
mov dl, game_over_display_left_x
mov al, 'G'
call print_char_at
inc dl
mov al, 'A'
call print_char_at
inc dl
mov al, 'M'
call print_char_at
inc dl
mov al, 'E'
call... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1489.asm | ljhsiun2/medusa | 9 | 15853 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1489.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1ec39, %r12
and $5392, %r9
movb $0x61, (%r12)
nop
nop
xor %r11, %r11
lea... |
data/pokemon/dex_entries/turban.asm | AtmaBuster/pokeplat-gen2 | 6 | 14078 | db "CONICAL@" ; species name
db "Despite appearing"
next "to have no limbs,"
next "this #MON is"
page "able to throw the"
next "weight of its body"
next "around with force.@"
|
1-base/lace/source/text/lace-text-cursor.ads | charlie5/lace | 20 | 22255 | package lace.text.Cursor
--
-- Provides a cursor for traversing and interrogating text.
--
is
type Item is tagged private;
-- Forge
--
function First (of_Text : access constant Text.item) return Cursor.item;
-- Attributes
--
function Length (Self : in Item) return Natural;
--
-- Returns... |
verilog_langserver/verilog_parser/grammar/WorkspaceSymbols.g4 | eirikpre/verilog-langserver | 1 | 3018 | grammar WorkspaceSymbols;
import LexerRules;
source : declaration* EOF;
declaration:
module_declaration
| interface_declaration
| program_declaration
| package_declaration
| package_item
| config_declaration
| udp_declaration
// | .+? This severely hurts performance!
... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/generic_function_renaming_declaration.ads | ouankou/rose | 488 | 3316 | package generic_function_renaming_declaration is
generic
function test(X : Integer) return Integer ;
generic function newtest renames test;
end generic_function_renaming_declaration;
|
hello-world/macro.asm | RossRKK/c64-tests | 0 | 29417 | print .macro ;start macro def
lda #<tx ;lo-byte of tx
ldy #>tx ;hi-byte of tx
jsr $ab1e ;print it
jmp end
tx .null "@1" ;@1 is replaced by a textual argument
end .endm ;end macro def
*=$1000
#print "hello, world!"
jmp loop
loop jmp loop
|
spring semester 2 course/operatin_system_labs/lab_4/proc_input.asm | andrwnv/study-progs | 4 | 92772 | <filename>spring semester 2 course/operatin_system_labs/lab_4/proc_input.asm
public input_proc
data segment para public 'data'
text db 'Input two number w/o space:$'
new_line db 13, 10, '$'
data ends
code segment para public 'code'
assume cs:code, ds:data
input_start:
input_proc proc ne... |
programs/oeis/282/A282123.asm | neoneye/loda | 22 | 15477 | ; A282123: Decimal representation of the x-axis, from the left edge to the origin, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 430", based on the 5-celled von Neumann neighborhood.
; 1,3,6,15,26,63,106,255,426,1023,1706,4095,6826,16383,27306,65535,109226,262143,436906,1048575,... |
programs/oeis/167/A167371.asm | neoneye/loda | 22 | 101480 | <reponame>neoneye/loda<gh_stars>10-100
; A167371: Triangle, read by rows, given by [0,1,-1,0,0,0,0,0,0,0,0,...] DELTA [1,0,-1,1,0,0,0,0,0,0,0,...] where DELTA is the operator defined in A084938.
; 1,0,1,0,1,1,0,0,1,1,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0... |
programs/oeis/190/A190365.asm | neoneye/loda | 22 | 178007 | ; A190365: n + [n*r/s] + [n*t/s] + [n*u/s]; r=sqrt(2), s=1/r, t=sqrt(3), u=1/t.
; 5,11,18,24,31,36,43,49,56,62,67,74,80,87,93,100,105,112,118,124,131,136,143,149,156,162,169,174,181,187,193,200,205,212,218,225,231,238,243,249,256,262,269,274,281,287,294,300,307,312,318,325,331,338,343,350,356,363,369,374,381,387,394,40... |
oeis/338/A338246.asm | neoneye/loda-programs | 11 | 242250 | ; A338246: Nonpositive values in A117966, in order of appearance and negated.
; Submitted by <NAME>
; 0,1,3,2,4,9,8,10,6,5,7,12,11,13,27,26,28,24,23,25,30,29,31,18,17,19,15,14,16,21,20,22,36,35,37,33,32,34,39,38,40,81,80,82,78,77,79,84,83,85,72,71,73,69,68,70,75,74,76,90,89,91,87,86,88,93,92,94,54,53,55,51,50,52,57,56,... |
programs/oeis/204/A204189.asm | karttu/loda | 1 | 85929 | ; A204189: <NAME>'s 26 primes in arithmetic progression.
; 43142746595714191,48425980631694091,53709214667673991,58992448703653891,64275682739633791
mov $2,$0
lpb $2,1
add $1,5283234035979900
sub $2,1
lpe
add $1,43142746595714191
|
tests/input.asm | adityaxdiwakar/ocamlc-3 | 1 | 96713 | <gh_stars>1-10
.ORIG x3000
; with three registers
ADD R4, R0, R2
AND R3, R5, R4 ; both ADD and AND work
AND R3, R7, R2
; with two registers and immediate
LABEL:
ADD R2, R5, #12
AND R1, R1, x9
; not
NOT R3, R4
; branching
BRn 12
BR x... |
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_117_1559.asm | ljhsiun2/medusa | 9 | 163750 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x176aa, %r12
nop
sub $49531, %rdi
movw $0x6162, (%r12)
nop
nop
nop
inc %rdx
lea addresses_UC_ht+0x18dda, %rsi
nop
nop
nop
nop
nop
xor %r13, %r13
movb (%rsi), %r10b
inc %r12
le... |
NASM/helloworld.asm | TravorLZH/various-code | 0 | 176677 | BITS 32
global _main
extern _printf
section .text
_main:
push msg
call _printf
add esp,4
ret
section .data
msg: db 'Hello world',10,0
|
libsrc/_DEVELOPMENT/string/c/sdcc_iy/memchr.asm | jpoikela/z88dk | 640 | 88041 |
; void *memchr(const void *s, int c, size_t n)
SECTION code_clib
SECTION code_string
PUBLIC _memchr
EXTERN l0_memchr_callee
_memchr:
pop af
pop hl
pop de
pop bc
push bc
push de
push hl
push af
jp l0_memchr_callee
|
boot/boot.asm | BernieGurs/MonkOS | 132 | 21368 | <gh_stars>100-1000
;=============================================================================
; @file boot.asm
;
; A first-stage boot loader suitable for an El Torito ISO 9660 cdrom
; image.
;
; The first-stage boot loader is responsible for accessing the CDROM to locate
; and launch the second-stage boot loader (c... |
boot/setup.asm | Cassidy/mks | 1 | 16220 | <gh_stars>1-10
;; Program: setup.asm
;; Purpose: 设置好保护模式的环境,跳转到保护模式。
;; Date: 2011-3-9 19:42
;; Author: mofaph <<EMAIL>>
jmp short setup_start
RAM_size_addr equ 0x90000 ; 段基址
RAM_size_offset equ 0x0000 ; 段偏移
msg_ARDS: db "BaseAddrH... |
hmRB.src/hmRB/Release/.NETFramework,Version=v4.0.AssemblyAttributes.asm | komiyamma/hm_ironruby | 0 | 179022 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27048.0
; Generated by VC++ for Common Language Runtime
.file "G:\repogitory\hm_ironruby\hmRB.src\hmRB\Release\.NETFramework,Version=v4.0.AssemblyAttributes.cpp"
|
test/Fail/EmptyInductiveRecord.agda | cruhland/agda | 1,989 | 4026 | {-# OPTIONS --copatterns #-}
module EmptyInductiveRecord where
mutual
data E : Set where
e : F -> E
record F : Set where
inductive
constructor c
field f : E
open F
data ⊥ : Set where
elim : E → ⊥
elim (e (c x)) = elim x
mutual
empty : E
empty = e empty?
empty? : F
f empty? = empty
a... |
target/cos_117/disasm/iop_overlay1/TEX.asm | jrrk2/cray-sim | 49 | 19282 | <reponame>jrrk2/cray-sim<gh_stars>10-100
0x0000 (0x000000) 0x2118- f:00020 d: 280 | A = OR[280]
0x0001 (0x000002) 0x1443- f:00012 d: 67 | A = A + 67 (0x0043)
0x0002 (0x000004) 0x291B- f:00024 d: 283 | OR[283] = A
0x0003 (0x000006) 0x0400- f:00002... |
programs/oeis/033/A033040.asm | karttu/loda | 0 | 83394 | <filename>programs/oeis/033/A033040.asm
; A033040: Numbers all of whose base 15 digits are odd.
; 1,3,5,7,9,11,13,16,18,20,22,24,26,28,46,48,50,52,54,56,58,76,78,80,82,84,86,88,106,108,110,112,114,116,118,136,138,140,142,144,146,148,166,168,170,172,174,176,178,196,198,200,202,204
mov $5,1
mov $6,$0
lpb $0,1
sub $0,6... |
Email Merge to Contacts.applescript | craibuc/applescript-email-merge | 2 | 83 | -- --------------------------------------------------------------------------------
-- Author: <NAME> <<EMAIL>>
-- Created: 2013-09-07
-- Purpose: Send a personalize email message to each Contact in the selected OS X Address Book group or Outlook Category
-- Installation:
-- 1) Drag bundle (Email Merge to Contacts.s... |
alloy4fun_models/trainstlt/models/1/Lki5N5psGRpji39a5.als | Kaixi26/org.alloytools.alloy | 0 | 1554 | <filename>alloy4fun_models/trainstlt/models/1/Lki5N5psGRpji39a5.als
open main
pred idLki5N5psGRpji39a5_prop2 {
eventually all s: Signal | s in Green
}
pred __repair { idLki5N5psGRpji39a5_prop2 }
check __repair { idLki5N5psGRpji39a5_prop2 <=> prop2o } |
MSDOS/Virus.MSDOS.Unknown.vclquake.asm | fengjixuchui/Family | 3 | 244882 | <reponame>fengjixuchui/Family
; -----------------------------------------------------------------------------
; QUAKE.ASM
; Created with Nowhere Man's Virus Creation Laboratory v1.00
;
; Heavily modified VCL and Original Code by the best Bleeding Edge virus
; writer: Night Breeze. See you all in fuckin' HELL!
;
; This... |
ATTRSCRL.asm | CodexLink/8086_ASM_DOSBOX_Examples | 0 | 92089 | <reponame>CodexLink/8086_ASM_DOSBOX_Examples
; Attribute Render with Scrolling — ATTRSCRL.asm
; Copyright (c) 2021 <NAME>
; This code is licensed under MIT license. (see LICENSE for details)
.MODEL TINY
.CODE
MOV AX, 0B800H ; It is an address for the VGA card text mode.
MOV ES, AX ; Let Extra Segment Register holds... |
xnu-asm-demos/empty.asm | sinetek/trifles | 0 | 82665 | <filename>xnu-asm-demos/empty.asm
; /usr/local/bin/nasm -f macho64 64.asm && ld -macosx_version_min 10.7.0 -lSystem -o 64 64.o && ./64
# simple program that exits straightaway.
global start
section .text
start:
mov rax, 0x2000001 ; exit
mov rdi, 0
syscall
|
agda/List/Order/Bounded/Properties.agda | bgbianchi/sorting | 6 | 8949 | module List.Order.Bounded.Properties {A : Set}
(_≤_ : A → A → Set)
(trans≤ : {x y z : A} → x ≤ y → y ≤ z → x ≤ z) where
open import Bound.Total A
open import Bound.Total.Order _≤_
open import Bound.Total.Order.Properties _≤_ trans≤
open import Data.List
open import List.Order.B... |
libsrc/graphics/mc1000/swapgfxbk.asm | jpoikela/z88dk | 640 | 160323 | <reponame>jpoikela/z88dk
;
; 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.5 2017-01-02 22:57:58 aralbrec Exp $
;
SECTION code_clib
PUBLIC swapgfxbk
... |
programs/oeis/085/A085482.asm | neoneye/loda | 22 | 176266 | ; A085482: Product of three solutions of the Diophantine equation x^2 - y^2 = z^3.
; 54,13824,354294,3538944,21093750,90699264,311299254,905969664,2324522934,5400000000,11575379574,23219011584,44049458934,79692609024,138396093750,231928233984,376690901814,595077871104,917112404214
add $0,1
pow $0,8
mul $0,54
|
data/phone/text/kenji_overworld.asm | Dev727/ancientplatinum | 28 | 28175 | KenjiAskNumber1Text:
text "Our battle was"
line "remarkable!"
para "I wish for some-"
line "thing to remember"
cont "you by!"
para "Perhaps your phone"
line "number will do?"
para "My training makes"
line "it impossible to"
cont "chat much, but…"
done
KenjiAskNumber2Text:
text "My training makes"
line ... |
1571/64tass/vects.asm | silverdr/assembly | 23 | 89320 |
*=$ffe6
.word format
.word trnoff
ublock .word ublkrd
.word ublkwt
.word $0500 ; links to buffer #2
.word $0503
.word $0506
.word $0509
.word $050c
.word $050f
*=$fffa
.word nnmi
... |
programs/oeis/094/A094820.asm | jmorken/loda | 1 | 84425 | <gh_stars>1-10
; A094820: Partial sums of A038548.
; 1,2,3,5,6,8,9,11,13,15,16,19,20,22,24,27,28,31,32,35,37,39,40,44,46,48,50,53,54,58,59,62,64,66,68,73,74,76,78,82,83,87,88,91,94,96,97,102,104,107,109,112,113,117,119,123,125,127,128,134,135,137,140,144,146,150,151,154,156,160,161,167,168,170,173,176,178,182,183,188,1... |
source/quickAdd.applescript | 465499642/bookends-tools | 1 | 102 | #!/usr/bin/osascript
tell application "System Events"
keystroke "c" using command down
tell application "Bookends"
activate
delay 0.1
end tell
tell application "System Events"
keystroke "n" using {command down, control down}
delay 0.6
keystroke "v" using command down
delay 0.1
keystroke return --c... |
src/azure-cli/azure/cli/command_modules/monitor/grammar/metric_alert/MetricAlertCondition.g4 | xaliciayang/azure-cli | 7 | 1028 | /* PARSER RULES */
grammar MetricAlertCondition ;
/* Main Rules */
expression : aggregation (namespace '.')* (QUOTE metric QUOTE WHITESPACE | metric) operator (threshold | dynamics) (WHITESPACE dimensions)* NEWLINE* ;
aggregation : WORD WHITESPACE ;
namespace : (NUMBER | WORD | '/' | '.'... |
src/Shaders/Sdk/Direct3D11/DynamicShaderLinkage11/DynamicShaderLinkage11_PS.asm | tgjones/slimshader-cpp | 20 | 93204 | <gh_stars>10-100
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// interfaces $ThisPointer
// {
//
// interface iBaseLight g_abstractAmbientLighting;// Offset: 1 Size: 1
// interface iBaseLight g_abstractDirectLighting;// Offset: 2 Size: 1
//... |
landlib/rtl/sysdeps/gramado/i386/_exit.asm | RC0D3/gramado | 609 | 19859 | <filename>landlib/rtl/sysdeps/gramado/i386/_exit.asm
;; exit in nasm assembly i386
[bits 32]
extern __SYS_exit
global __exit
__exit:
mov eax, dword [__SYS_exit]
int 0x80
.hang:
pause
jmp .hang
|
java-vtl-parser/src/main/antlr4/no/ssb/vtl/parser/VTL.g4 | hadrienk/java-vtl | 3 | 2501 | /*-
* ========================LICENSE_START=================================
* Java VTL
* %%
* Copyright (C) 2016 - 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
*
... |
src/Equality/Propositional/Cubical.agda | nad/equality | 3 | 2757 | <reponame>nad/equality<gh_stars>1-10
------------------------------------------------------------------------
-- Propositional equality, with some extra bells and whistles
-- definable in Cubical Agda
------------------------------------------------------------------------
{-# OPTIONS --erased-cubical --safe #-}
modu... |
lib/aflexnat/main_body.ads | alvaromb/Compilemon | 1 | 20446 | <filename>lib/aflexnat/main_body.ads
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- This software was developed by <NAME> of the Arcadia project
-- at the University of California, Irvine.
--
-- Redistribution and use in source and binary forms are permitted
-- provided tha... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/debug2.ads | best08618/asylo | 7 | 8978 | <reponame>best08618/asylo
package Debug2 is
procedure Proc;
end Debug2;
|
src/main/g8/src/main/antlr4/$grammar$Parser.g4 | navicore/antlr4.g8 | 0 | 6160 | parser grammar $grammar$Parser;
options { tokenVocab=$grammar$Lexer; }
expr: NUMBER operation NUMBER;
operation: (ADD | SUB | MUL | DIV);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.