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 |
|---|---|---|---|---|
src/natools-web-escapes-filters.adb | faelys/natools-web | 1 | 18334 | ------------------------------------------------------------------------------
-- Copyright (c) 2015, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
alloy4fun_models/trashltl/models/10/WK9Qo2oGbrWDosq6t.als | Kaixi26/org.alloytools.alloy | 0 | 4803 | <filename>alloy4fun_models/trashltl/models/10/WK9Qo2oGbrWDosq6t.als<gh_stars>0
open main
pred idWK9Qo2oGbrWDosq6t_prop11 {
Protected + Trash = Protected'
}
pred __repair { idWK9Qo2oGbrWDosq6t_prop11 }
check __repair { idWK9Qo2oGbrWDosq6t_prop11 <=> prop11o } |
cipher/aes/aes-x86.asm | jfehren/Crypto | 0 | 26590 | <filename>cipher/aes/aes-x86.asm<gh_stars>0
.file "aes-x86.asm"
.macro AES_LOAD a, b, c, d, src, key
movl 0x0(\src),\a
movl 0x4(\src),\b
movl 0x8(\src),\c
movl 0xC(\src),\d
xorl 0x0(\key),\a
xorl 0x4(\key),\b
xorl 0x8(\key),\c
xorl 0xC(\key),\d
.endm
.macro AES_STORE a, b, c, d, key, dst
xorl 0x0(\key),... |
programs/oeis/055/A055642.asm | neoneye/loda | 22 | 101234 | <filename>programs/oeis/055/A055642.asm
; A055642: Number of digits in decimal expansion of n.
; 1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
div $0,10
lpb $0
div... |
maps/RuinsOfAlphAerodactylWordRoom.asm | Dev727/ancientplatinum | 28 | 175854 | RuinsOfAlphAerodactylWordRoom_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
RuinsOfAlphAerodactylWordRoom_MapEvents:
db 0, 0 ; filler
db 3 ; warp events
warp_event 9, 5, RUINS_OF_ALPH_AERODACTYL_ITEM_ROOM, 3
warp_event 10, 5, RUINS_OF_ALPH_AERODACTYL_ITEM_ROOM, 4
warp_event 17, 11, RUINS_OF_ALPH_INNER_... |
devices/devices-magtape6026.ads | SMerrony/dgemua | 2 | 13142 | -- MIT License
-- Copyright (c) 2021 <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 use, copy, modify, merge, p... |
Kernel/asm/interrupts.asm | Flacugf/TPE-ARQUI | 0 | 174478 | ;
; interrups.asm
;
;
GLOBAL _cli
GLOBAL _sti
GLOBAL picMasterMask
GLOBAL picSlaveMask
GLOBAL int80Handler
GLOBAL keyboardHandler
GLOBAL timerTickHandler
GLOBAL _lidt
GLOBAL haltcpu
GLOBAL networkHandler
EXTERN int80HandlerC
EXTERN keyboardHandlerC
EXTERN timerTickHandlerC
EXTERN networkHandlerC
%macro pushall 0
p... |
oeis/158/A158751.asm | neoneye/loda-programs | 11 | 28710 | <reponame>neoneye/loda-programs<filename>oeis/158/A158751.asm
; A158751: a(n) = Hermite(n, 22).
; Submitted by <NAME>
; 1,44,1934,84920,3724876,163215184,7144219336,312387068576,13645011946640,595382332554944,25951212417378016,1129945699713533824,49146684114213171904,2135335404232254752000,92676943999249666618496,40179... |
ada/outcomes.adb | octonion/recursion | 8 | 14616 | <gh_stars>1-10
with ada.text_io;
procedure outcomes is
type stack is array (0..9) of integer;
deck : stack;
d, p, n : integer;
function partitions(cards: in out stack; subtotal: integer) return integer is
m, total : integer;
begin
m := 0;
-- hit
for i in integer range 0 .. 9 loo... |
kernel/devices/video/psf_inc.asm | DamieFC/cozen | 2 | 85243 | <reponame>DamieFC/cozen
global fb_font
section .data
align 8
fb_font:
incbin "../kernel/devices/video/terminus.psf"
|
inetcore/mshtml/src/core/cdutil/amd64/thunks.asm | npocmaka/Windows-Server-2003 | 17 | 933 | ;----------------------------------------------------------------------------
;
; File: thunks.asm
;
; Contains: Assembly code for the AMD64. Implements the dynamic vtable stuff
; and the tearoff code.
;
;----------------------------------------------------------------------------
include ksamd6... |
Data/Binary/PerformanceTests/Addition.agda | oisdk/agda-playground | 6 | 8279 | <filename>Data/Binary/PerformanceTests/Addition.agda
{-# OPTIONS --cubical --safe #-}
module Data.Binary.PerformanceTests.Addition where
open import Prelude
open import Data.Binary.Definition
open import Data.Binary.Addition using (_+_)
sum-r : 𝔹 → ℕ → 𝔹
sum-r′ : 𝔹 → ℕ → 𝔹
sum-r′ x zero = x
sum-r′ x (suc n) ... |
programs/oeis/036/A036500.asm | neoneye/loda | 22 | 93631 | ; A036500: Number of inequivalent cyclic Hadamard difference sets with parameters (2^n-1, 2^(n-1)-1, 2^(n-2)-1).
; 1,1,1,1,2,2,6,4,5,10
mov $1,8
trn $1,$0
dif $1,2
trn $0,$1
dif $0,2
add $0,1
|
ada/original_2008/ada-gui/agar-gui-window.ads | auzkok/libagar | 286 | 19256 | with agar.gui.surface;
with agar.gui.widget;
with agar.gui.types;
package agar.gui.window is
use type c.unsigned;
use type agar.gui.types.window_flags_t;
subtype window_t is agar.gui.types.window_t;
subtype window_access_t is agar.gui.types.window_access_t;
--
-- constants
--
caption_max : constant... |
tool/test/org/antlr/v4/test/Java-LR.g4 | metadave/antlr4 | 0 | 2435 | /*
[The "BSD licence"]
Copyright (c) 2007-2008 <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 con... |
kernel/syscall/x64/syscall_user_low-x64.asm | martin-hughes/project_azalea | 13 | 3437 | <reponame>martin-hughes/project_azalea
[BITS 64]
; Project Azalea system call user interface.
; All system calls are basically the same - put the system call number in to RAX, swap RCX into R10 and then do the
; call.
%macro GENERIC_SYSCALL 2
GLOBAL %2
%2:
mov rax, %1
mov r10, rcx
syscall
ret
%endmacro
; Th... |
oeis/172/A172362.asm | neoneye/loda-programs | 11 | 88952 | <reponame>neoneye/loda-programs<filename>oeis/172/A172362.asm
; A172362: a(n) = binomial(n+10, 10)*3^n.
; 1,33,594,7722,81081,729729,5837832,42532776,287096238,1818276174,10909657044,62482581252,343654196886,1824010737318,9380626649064,46903133245320,228652774570935,1089463220014455,5084161693400790,23280108806624670,1... |
PW_explorer/Input_Parsers/Clingo_Parser/Antlr_Files/Clingo.g4 | idaks/PW-explorer | 15 | 4723 | <gh_stars>10-100
grammar Clingo;
options {
language = Python3;
}
//Parser Rules:
clingoOutput: (pw)* OPTIMUM_FOUND? summary ;
pw: 'Answer:' TEXT (fact)* 'Optimization:'? TEXT? ;
fact: TEXT ('(' fact_content ')')? ;
fact_content: ((fact_text|fact) ',')* (fact_text|fact) ;
fact_text: TEXT ;
summary: mo... |
alloy4fun_models/trainstlt/models/4/zLeTDYPdH8b8QBiin.als | Kaixi26/org.alloytools.alloy | 0 | 2956 | <gh_stars>0
open main
pred idzLeTDYPdH8b8QBiin_prop5 {
always (all t:Train|(one t.pos:> Exit => no t.pos'))
always (all t:Train| (one t.pos and some t.pos.prox => t.pos' in t.pos.prox ) )
always (all t:Train| (no t.pos.prox and one t.pos:> Track-Exit) => (no t.pos' or t.pos'=t.pos) )
}
pred __repair ... |
src/security-auth-oauth-facebook.ads | jquorning/ada-security | 19 | 27218 | -----------------------------------------------------------------------
-- security-auth-oauth-facebook -- Facebook OAuth based authentication
-- Copyright (C) 2013, 2014 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except ... |
fixedsrc/mmap.ads | bhayward93/Ada-Traffic-Light-Sim | 0 | 12325 | <reponame>bhayward93/Ada-Traffic-Light-Sim<filename>fixedsrc/mmap.ads
with System;
package MMap is
function Get_MMAP_RW return System.Address;
procedure Close_MMAP;
end MMap;
|
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_1713.asm | ljhsiun2/medusa | 9 | 3039 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x89dc, %rdx
xor $8214, %r11
mov $0x6162636465666768, %r8
movq %r8, %xmm1
and $0xffffffffffffffc0, %rdx
vmovaps %ymm1, (%rdx)
nop
nop
nop
nop
dec ... |
program/fibonacci.asm | doowzs/BuggyOS | 7 | 171554 | <reponame>doowzs/BuggyOS
sub $v0, $v0, $v0
sub $v1, $v1, $v1
addi $v0, $v0, 1
addi $v1, $v1, 1
fibb:
sw $v0, 0x10000000
add $v0, $v0, $v1
lw $v1, 0x10000000
j fibb
|
oeis/287/A287898.asm | neoneye/loda-programs | 11 | 13208 | <gh_stars>10-100
; A287898: Number of ways to go up and down n stairs, with fewer than 4 stairs at a time, stepping on each stair at least once.
; Submitted by <NAME>
; 1,3,9,27,79,233,687,2025,5969,17595,51865,152883,450655,1328401,3915743,11542481,34023905,100292659,295633833,871443275,2568763439,7571973753,223199947... |
programs/oeis/066/A066983.asm | neoneye/loda | 22 | 85515 | <filename>programs/oeis/066/A066983.asm<gh_stars>10-100
; A066983: a(n+2) = a(n+1) + a(n) + (-1)^n, with a(1) = a(2) = 1.
; 1,1,1,3,3,7,9,17,25,43,67,111,177,289,465,755,1219,1975,3193,5169,8361,13531,21891,35423,57313,92737,150049,242787,392835,635623,1028457,1664081,2692537,4356619,7049155,11405775,18454929,29860705,... |
programs/oeis/020/A020821.asm | karttu/loda | 1 | 95386 | <gh_stars>1-10
; A020821: Decimal expansion of 1/8.
; 1,2,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
pow $0,2
mov $6,$0
add $6,1
clr $1,$6
add $1,$6
|
programs/oeis/000/A000910.asm | karttu/loda | 1 | 174493 | ; A000910: 5*C(n,6).
; 0,0,0,0,0,0,5,35,140,420,1050,2310,4620,8580,15015,25025,40040,61880,92820,135660,193800,271320,373065,504735,672980,885500,1151150,1480050,1883700,2375100,2968875,3681405,4530960,5537840,6724520,8115800,9738960,11623920,13803405,16313115,19191900,22481940,26228930,30482270,35295260,40725300,4683... |
a6-polymorphic/shadow-poly/shadow-poly.nasm | thombles/slae | 0 | 98106 | ; Polymorphic equivalent
; for chmod 666 /etc/shadow shellcode
; Original at: http://shell-storm.org/shellcode/files/shellcode-355.php
; (Version in comments at the top)
; 2018-07-14 SLAE-1294 assignment 6
section .text
global _start
_start:
xor ecx,ecx
; Put "/etc/shadow" (null-terminated) on the stack
mov eax,... |
src/dpila.ads | SGDavid2719/ED-Empresa_de_Trenes | 0 | 11850 | generic
type elem is private; -- generico
package dpila is
type pila is limited private; -- evitas asignacion y comparacion de igualdad/desigualdad
mal_uso: exception;
espacio_desbordado: exception; --overflow
procedure pvacia(p: out pila);
procedure empila(p: in out pila; x: in elem);
procedure ... |
agda/Number/Instances/Int.agda | mchristianl/synthetic-reals | 3 | 2971 | <reponame>mchristianl/synthetic-reals
{-# OPTIONS --cubical --no-import-sorts #-}
module Number.Instances.Int where
open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero)
open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc)
open import Cubical.Foundations.Log... |
oeis/315/A315052.asm | neoneye/loda-programs | 11 | 167037 | <gh_stars>10-100
; A315052: Coordination sequence Gal.6.338.3 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,9,15,20,24,30,34,39,45,49,54,59,63,69,74,78,84,88,93,99,103,108,113,117,123,128,132,138,142,147,153,157,162,167,171,177... |
source/oasis/program-element_iterators.adb | reznikmm/gela | 0 | 29305 | -- SPDX-FileCopyrightText: 2019-2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Element_Vectors;
package body Program.Element_Iterators is
package Internal is
function Get
(Parent : Program.Elements.Element_Access... |
projects/batfish/src/main/antlr4/org/batfish/grammar/palo_alto/PaloAlto_network.g4 | netarch/batfish | 0 | 6069 | parser grammar PaloAlto_network;
import PaloAlto_common;
options {
tokenVocab = PaloAltoLexer;
}
cp_authentication
:
AUTHENTICATION
(
MD5
| NONE
| SHA1
| SHA256
| SHA384
| SHA512
)
;
cp_dh_group
:
DH_GROUP
(
GROUP1
| GROUP2
... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cumulus_frr/CumulusFrr_ospf.g4 | rdmershon/batfish | 1 | 7165 | <reponame>rdmershon/batfish
parser grammar CumulusFrr_ospf;
import CumulusFrr_common;
options {
tokenVocab = CumulusFrrLexer;
}
s_router_ospf
:
ROUTER OSPF NEWLINE
(
ro_log_adj_changes
| ro_no
| ro_passive_interface
| ro_router_id
| ro_redistribute
)*
;
ro_log_adj_changes
:
LOG_ADJACEN... |
source/amf/utp/amf-internals-tables-utp_metamodel.adb | svn2github/matreshka | 24 | 18057 | <filename>source/amf/utp/amf-internals-tables-utp_metamodel.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
programs/oeis/152/A152896.asm | neoneye/loda | 22 | 177968 | ; A152896: a=b=c=0;c(n)=c+n+a;b(n)=b+n+c;a(n)=a+n+b.
; 0,3,15,55,183,588,1865,5887,18550,58414,183904,578936,1822459,5736946,18059358,56849069,178955165,563332829,1773314909,5582216334,17572253459,55315679765,174128175040,548137914348,1725482812062
lpb $0
sub $0,1
add $3,3
add $4,$3
add $1,$4
add $2,$4
add... |
Ada/DataStructures/Containers/generic_stack.ads | egustafson/sandbox | 2 | 5756 | <filename>Ada/DataStructures/Containers/generic_stack.ads
generic
type Element_Type is private;
package Generic_Stack is
type T is limited private;
procedure Push( Stack: in out T; Element: in Element_Type );
procedure Pop( Stack: in out T; Element: out Element_Type );
procedure Peek( Stack: in o... |
oeis/164/A164455.asm | neoneye/loda-programs | 11 | 101498 | ; A164455: Number of binary strings of length n with no substrings equal to 0001 0011 or 0111
; Submitted by <NAME>
; 13,22,36,56,89,138,212,328,501,766,1172,1784,2721,4146,6308,9608,14621,22246,33860,51512,78377,119258,181428,276040,419973,638926,972084,1478904,2249969,3423106,5207812,7923080,12054061,18338742,2790026... |
examples/SPARK2005/packages/polypaver-long_floats.ads | michalkonecny/polypaver | 1 | 19520 | <reponame>michalkonecny/polypaver<filename>examples/SPARK2005/packages/polypaver-long_floats.ads
--# inherit PolyPaver.Exact;
package PolyPaver.Long_Floats is
--# function Is_Range(Variable : Long_Float; Min : Long_Float; Max : Long_Float) return Boolean;
function Eps_Abs return Long_Float;
function Eps... |
snake_functions.adb | thieryw/snake_array_impl | 0 | 3811 | with snake_types,ada.text_io,ada.integer_text_io,ada.float_text_io,display,nt_console, ada.calendar,ada.numerics.discrete_random ;
use ada.text_io,snake_types ;
package body snake_functions is
function get_user_controls_default return snake_types.User_Controls.Map is
user_controls_default: sn... |
Numeral/CoordinateVector.agda | Lolirofle/stuff-in-agda | 6 | 4176 | <reponame>Lolirofle/stuff-in-agda<gh_stars>1-10
module Numeral.CoordinateVector where
import Lvl
open import Data.Boolean
open import Functional
open import Lang.Instance
open import Numeral.Finite
open import Numeral.Finite.Bound
open import Numeral.Finite.Oper
open import Numeral.Finite.Oper.Comparisons
open im... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/root.ads | best08618/asylo | 7 | 26875 | <reponame>best08618/asylo<gh_stars>1-10
package Root is
type Buffer_Type is array (Positive range <>) of Natural;
type Root_Type (First : Natural) is abstract tagged record
Buffer_Root : Buffer_Type (1 .. First);
end record;
end Root;
|
wc.asm | trinadh724/xv-6-Modified- | 0 | 90448 | <gh_stars>0
_wc: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "%d %d %d %s\n", l, w, c, name);
}
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(... |
programs/oeis/070/A070910.asm | neoneye/loda | 22 | 98312 | ; A070910: Decimal expansion of BesselI(0,2).
; 2,2,7,9,5,8,5,3,0,2,3,3,6,0,6,7,2,6,7,4,3,7,2,0,4,4,4,0,8,1,1,5,3,3,3,5,3,2,8,5,8,4,1,1,0,2,7,8,5,4,5,9,0,5,4,0,7,0,8,3,9,7,5,1,6,6,4,3,0,5,3,4,3,2,3,2,6,7,6,3,4,2,7,2,9,5,1,7,0,8,8,5,5,6,4,8,5,8,9,8
mov $1,1
mov $2,1
mov $3,$0
mul $3,5
mov $4,$0
lpb $3
mul $2,$3
mov... |
game-projects/Zedda/GameMode/LostWoods/MainEngine.asm | wide-dot/thomson-to8-game-engine | 11 | 96530 | <reponame>wide-dot/thomson-to8-game-engine<gh_stars>10-100
opt c,ct
********************************************************************************
* Game Engine (TO8 Thomson) - <NAME> 2020-2021
* ------------------------------------------------------------------------------
*
*
****************************... |
src/seq1.asm | tomellericcardo/AssemblyExercises | 0 | 14857 |
.orig x3000
AND R0, R0, #0
ADD R0, R0, #6
JSR SEQ1
AND R0, R0, #0
ADD R0, R0, #2
JSR SEQ1
AND R0, R0, #0
ADD R0, R0, #-4
JSR SEQ1
TRAP x25
SEQ1 ST R1, st_r1 ; salvo il contenuto di R1
ST R2, st_r2 ; salvo il contenuto di R2
ST R3, st_r3 ; salvo il contenuto di R3
AND R3, R3, #0 ; azzero R3
AND R0, ... |
Patches/Multiplayer_Hack/ASM/stage_music.asm | abitalive/SuperSmashBros | 4 | 84659 | // Random stage music
constant TrackLast(0x80500001) // Last track variable location
origin 0x077C08
base 0x800FC408
jal RandomMusic
nop
pullvar pc, origin
scope RandomMusic: {
addiu sp, -0x18
sw ra, 0x14 (sp)
lua(t0, ScreenCurrent)
lbu t0, ScreenCurrent (t0) // Mode
lli t1, 0x01
beq t0, t1, Original //... |
programs/oeis/046/A046670.asm | jmorken/loda | 1 | 86632 | ; A046670: Partial sums of A006530.
; 1,3,6,8,13,16,23,25,28,33,44,47,60,67,72,74,91,94,113,118,125,136,159,162,167,180,183,190,219,224,255,257,268,285,292,295,332,351,364,369,410,417,460,471,476,499,546,549,556,561,578,591,644,647,658,665,684,713,772,777,838,869,876,878,891,902,969,986,1009,1016,1087,1090,1163,1200,12... |
code/CommAssocLemmas.agda | DSLsofMath/ValiantAgda | 3 | 3589 | <reponame>DSLsofMath/ValiantAgda
open import Level
open import Data.Product
open import Relation.Binary using (Setoid; _Preserves₂_⟶_⟶_)
open import Algebra.Structures
module CommAssocLemmas (A : Set) (_≈_ : A -> A -> Set) (_+_ : A -> A -> A) (zer : A)
(isCommMon : IsCommutativeMonoid _≈_ _+_ zer) where
SA... |
oeis/031/A031138.asm | neoneye/loda-programs | 11 | 81007 | ; A031138: Numbers k such that 1^5 + 2^5 + ... + k^5 is a square.
; Submitted by <NAME>(s1)
; 1,13,133,1321,13081,129493,1281853,12689041,125608561,1243396573,12308357173,121840175161,1206093394441,11939093769253,118184844298093,1169909349211681,11580908647818721,114639177128975533,1134810862641936613,11233469449290390... |
libsrc/games/msx/joystick.asm | RC2014Z80/z88dk | 8 | 171208 | <reponame>RC2014Z80/z88dk
;
; Game device library for the MSX
; <NAME> - 3/12/2007
;
; $Id: joystick.asm,v 1.9 2016-06-16 20:23:51 dom Exp $
;
SECTION code_clib
PUBLIC joystick
PUBLIC _joystick
EXTERN msxbios
IF FORmsx
INCLUDE "msx.def"
ELSE
INCLUDE "svi.def... |
audio/sfx/swap_3.asm | opiter09/ASM-Machina | 1 | 26145 | SFX_Swap_3_Ch5:
duty_cycle 2
square_note 8, 14, 1, 1856
sound_ret
SFX_Swap_3_Ch6:
duty_cycle 2
square_note 2, 0, 8, 0
square_note 8, 11, 1, 1857
sound_ret
|
programs/oeis/048/A048514.asm | karttu/loda | 0 | 359 | <gh_stars>0
; A048514: a(n) = T(0,n)+T(1,n-1)+...+T(n,0), array T given by A048505.
; 1,3,13,54,190,587,1659,4412,11244,27785,67089,159106,371930,859159,1964855,4454968,10025240,22411221,49804909,110097630,242217766,530575683,1157623603,2516577524,5452589700,11777599457
mov $37,$0
mov $39,$0
add $39,1
lpb $39,1
clr ... |
Module 2/5. ExecveMulArgs/ExecveMulArgs.asm | hoangcuongflp/SLAE | 47 | 92167 | <gh_stars>10-100
; "/bin/bashX-cX/bin/dateXAAAABBBBCCCCNNNN"
; /bin/bash | offset: 0 | length: 9
; X (null byte) | offset: 9 | length: 1
; -c | offset: 10 | length: 2
; X (null byte) | offset: 12 | length: 1
; /bin/date | offset: 13 | length: 9
; X (null byte) | offset: 22 | length: ... |
DeclaringVariables/DeclaringVariables/Main.asm | ryancollins-dev/Assembly | 0 | 1759 | <reponame>ryancollins-dev/Assembly<filename>DeclaringVariables/DeclaringVariables/Main.asm
; Program Description: Declairing Variables
; Author: R
; Creation Date: 2020-12-15
; Revisions: 1
; Date: 2020-12-15
.386
.model flat
.data
num1 dword 11111111h
num2 dword 10101010h
ans dword 0
.code
start proc
mov eax,num1... |
Transynther/x86/_processed/NONE/_ht_zr_un_/i7-7700_9_0x48.log_16259_338.asm | ljhsiun2/medusa | 9 | 162016 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xf6a7, %rsi
lea addresses_D_ht+0xaba7, %rdi
nop
nop
sub %r11, %r11
mov $119, %rcx
rep movsl
nop
cmp $30290, %rbx
lea addresses_UC_ht+0x18fe7, %r12
nop
inc %r15
mov (%r12), %ebx
nop
cmp... |
awa/plugins/awa-questions/regtests/awa-questions-modules-tests.ads | fuzzysloth/ada-awa | 81 | 7485 | <reponame>fuzzysloth/ada-awa<filename>awa/plugins/awa-questions/regtests/awa-questions-modules-tests.ads<gh_stars>10-100
-----------------------------------------------------------------------
-- awa-questions-modules-tests -- Unit tests for question service
-- Copyright (C) 2013 <NAME>
-- Written by <NAME> (<EMAIL>... |
nasm-8086-assembly-course/0x06-menu/menu.asm | ailtonbsj/buffer-overflow-studies | 0 | 14163 | <reponame>ailtonbsj/buffer-overflow-studies
%include 'lib.inc'
section .data
bar db '+-------------+',LF,NULL
tit db '| Calculadora |',LF,NULL
obVal1 db 'Valor 1: ',NULL
obVal2 db 'Valor 2: ',NULL
opc1 db LF,'1. Adicionar',LF,NULL
opc2 db '2. Subtrair',LF,NULL
opc3 db '3. Multiplicar',LF,NU... |
oeis/142/A142250.asm | neoneye/loda-programs | 11 | 4445 | ; A142250: Primes congruent to 1 mod 43.
; Submitted by <NAME>
; 173,431,947,1033,1291,1549,1721,1979,2237,2753,3011,3527,3613,4129,4817,4903,5333,5419,5591,5849,6451,6709,6967,7741,8171,8429,9203,9461,9547,9719,10321,10837,11353,11783,12041,13159,13331,13417,13933,14449,14621,14879,15137,15739,16427,16943,17029,18061,... |
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sccz80/log_fastcall.asm | Frodevan/z88dk | 640 | 19692 | <gh_stars>100-1000
SECTION code_fp_math32
PUBLIC log_fastcall
EXTERN _m32_logf
defc log_fastcall = _m32_logf
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _log_fastcall
defc _log_fastcall = _m32_logf
ENDIF
|
Script-Development/Text-Utilities/Search-with-Regex.applescript | boisy/AppleScripts | 116 | 3366 | -- @description
-- search text using regular expression
--
-- @param $thePattern - regex pattern
-- @param $theString - string to be searcched
-- @param $n - capturing group
-- @return - search result
--
on SearchWithRegEx(thePattern, theString, n)
set theNSString to current application's NSString's stringWithString:t... |
test/succeed/AnonymousModule.agda | masondesu/agda | 1 | 13757 | <gh_stars>1-10
module _ where
A : Set₁
A = Set |
src/vulkan-math/vulkan-math-relational.ads | zrmyers/VulkanAda | 1 | 5007 | <reponame>zrmyers/VulkanAda
--------------------------------------------------------------------------------
-- 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
... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnarl/s-tasque.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 8819 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
src/boot/loader.asm | jarijokinen/jos | 0 | 81492 | ; loader.asm - Kernel loader for JOS
; Copyright (C) 2018 <NAME>
section .text
global _start
bits 16
_start:
lgdt [gdt32]
mov eax, cr0 ; Enable protected mode
or al, 1
mov cr0, eax
jmp 0x0008:protected_mode
bits 32
protected_mode:
mov ax, 0x0010 ; Reload segment registers
mov... |
session_02/03-rwmemoria/rwmemoria.asm | DigiOhhh/LabArchitettura2-2017-2018 | 1 | 8319 | .data
A: .space 400 # vettore con 100 elementi
B: .space 400 # vettore con 100 elementi
C: .space 4 # intero a 32 bit
i: .space 4 # intero a 32 bit
.text
.globl main
main:
# Inizializzazione registri indirizzi
la $s0, A
la $s1, B
la $s2, C
la $s3, i
# Inizializzazione valori (i=3, C=2)
addi $t0, $... |
source/boot.asm | mynameispyo/InpyoOS | 0 | 171134 | <filename>source/boot.asm
BITS 16
org 4000h
disk_buffer equ 2000h
jmp start
jmp reset_unreal ; Required by os_load_file (some BIOSes like to destroy cr0!?)
start:
cli ; Clear interrupts
mov ax, 0
mov ss, ax ; Set stack segment and pointer
mov sp, 0FFFEh
sti ; Restore interrupts
cld ... |
libsrc/_DEVELOPMENT/stdlib/z80/asm_bsearch.asm | meesokim/z88dk | 0 | 17466 |
; ===============================================================
; Dec 2013
; ===============================================================
;
; void *bsearch(const void *key, const void *base,
; size_t nmemb, size_t size,
; int (*compar)(const void *, const void *))
;
; Perform a binary... |
alloy4fun_models/trashltl/models/11/AuRh3t8nqWw6kF4rx.als | Kaixi26/org.alloytools.alloy | 0 | 3182 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idAuRh3t8nqWw6kF4rx_prop12 {
eventually always some f:File | f not in Trash implies f in Trash'
}
pred __repair { idAuRh3t8nqWw6kF4rx_prop12 }
check __repair { idAuRh3t8nqWw6kF4rx_prop12 <=> prop12o } |
source/tools/ToolUnitTests/sse-ref_intel64.asm | ganboing/pintool | 1 | 80846 | <reponame>ganboing/pintool
; BEGIN_LEGAL
; Intel Open Source License
;
; Copyright (c) 2002-2016 Intel Corporation. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are
; met:
;
; Redistributio... |
tmp1/c55x-sim2/foo/Debug/csl_mmcsd_intr_example.asm | jwestmoreland/eZdsp-DBG-sim | 1 | 165378 | <reponame>jwestmoreland/eZdsp-DBG-sim
;*******************************************************************************
;* TMS320C55x C/C++ Codegen PC v4.4.1 *
;* Date/Time created: Sat Sep 29 23:08:57 2018 *
;**************************************... |
test/Succeed/DataPolarity.agda | shlevy/agda | 1,989 | 11826 | -- 2012-02-13 Andreas: testing correct polarity of data types
-- sized types are the only source of subtyping, I think...
-- {-# OPTIONS -v tc.polarity.set:10 #-}
-- {-# OPTIONS -v tc.size.solve:20 #-}
{-# OPTIONS --show-implicit #-}
{-# OPTIONS --sized-types #-}
module DataPolarity where
open import Common.Size
dat... |
Palmtree.Math.Core.Implements/vs_build/x64_Debug/pmc_bitwiseand.asm | rougemeilland/Palmtree.Math.Core.Implements | 0 | 15959 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
msvcjmc SEGMENT
__7B7A869E_ctype@h DB 01H
__457DD326_basetsd@h DB 01H
__4384A2D9_corecrt_memcpy_s@h DB 01H
__4E51A221_corecrt_wstring@h DB 01H
__2140C079_string@h DB 01H
__1887E5... |
oeis/141/A141982.asm | neoneye/loda-programs | 11 | 98065 | ; A141982: Primes congruent to 6 mod 29.
; Submitted by <NAME>
; 151,383,499,557,673,1021,1427,1543,1601,1949,2239,2297,2819,3109,3167,3457,3631,3863,4153,4211,4327,4733,5023,5081,5197,6067,6299,6473,6763,7459,7517,7691,8039,8329,8387,8677,9199,9257,9431,9547,9721,10069,10243,10301,10939,11113,11171,11287,11519,11867,1... |
inmemantlr-api/src/test/resources/inmemantlr/Logic.g4 | dafei1288/inmemantlr | 0 | 3077 | grammar Logic;
rule_set : expression EOF ;
conclusion : IDENTIFIER ;
expression
: not expression
| expression and expression
| expression or expression
| expression implies expression
| LPAREN expression RPAREN
| atom;
atom : IDENTIFIER;
not : 'not';
and : 'and' ;
or : 'or' ;
xor : 'xor';
implies : 'implies'... |
externals/mpir-3.0.0/mpn/x86_64w/k8/k10/karaadd.asm | JaminChan/eos_win | 12 | 167319 | <filename>externals/mpir-3.0.0/mpn/x86_64w/k8/k10/karaadd.asm
; PROLOGUE(mpn_karaadd)
; mpn_karaadd
;
; Copyright 2011 The Code Cavern
;
; Windows Conversion Copyright 2008 <NAME>
;
; This file is part of the MPIR Library.
;
; The MPIR Library is free software; you can redistribute it an... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_2035.asm | ljhsiun2/medusa | 9 | 242684 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1d770, %rsi
lea addresses_normal_ht+0xeef0, %rdi
nop
nop
sub $2694, %rbx
mov $125, %rcx
rep movsw
nop
nop
and %r8, %r8
lea addresses_WT_ht+0x17dd0, %r10
nop
inc ... |
test-resources/SimpleInterFileAssociation/Class2.ads | hergin/ada2fuml | 0 | 14001 | <filename>test-resources/SimpleInterFileAssociation/Class2.ads
with Class1; use Class1;
package Class2 is
type Class3 is record
someClass1 : Class1.Class1;
end record;
end Class2; |
src/vm/amd64/UMThunkStub.asm | mans0954/debian-dotnet-coreclr | 6 | 27903 | ; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
; ==++==
;
;
; ==--==
include <AsmMacros.inc>
include AsmConstants.inc
gfHostConfig equ ?... |
programs/oeis/131/A131378.asm | neoneye/loda | 22 | 177451 | ; A131378: Starting with 0, the sequence a(n) changes from 0 to 1 or back when the next number n is a prime.
; 0,0,1,0,0,1,1,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,1,1,1,1,1,1,0,0,1,1,1,1,1,1,0,0,0,0,1,1,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,1,1,0,0,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1
trn $0,1... |
source/a-undesu.adb | ytomino/drake | 33 | 2037 | procedure Ada.Unchecked_Deallocate_Subpool (
Subpool : in out System.Storage_Pools.Subpools.Subpool_Handle)
is
pragma Suppress (All_Checks);
begin
System.Storage_Pools.Subpools.Unchecked_Deallocate_Subpool (Subpool);
end Ada.Unchecked_Deallocate_Subpool;
|
examples/timeout/main.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 27146 | with Ada.Real_Time; use Ada.Real_Time;
with STM32GD.Board; use STM32GD.Board;
with STM32GD.SysTick; use STM32GD.SysTick;
with Timeout;
procedure Main is
T : Time;
begin
Init;
LED.Set;
loop
Timeout.Start (T, Milliseconds (200));
while not Timeout.Timed_Out (T)
loop
null;
end... |
projet_wrk/workspace.ads | Kzel/Antenna_Design | 0 | 23367 | <ADSWorkspace Revision="1" Version="100">
<Workspace Name="">
<Library Name="ads_standard_layers" />
<Library Name="ads_schematic_layers" />
<Library Name="empro_standard_layers" />
<Library Name="ads_builtin" />
<Library Name="ads_standard_layers_ic" />
<Library Name... |
programs/oeis/287/A287197.asm | neoneye/loda | 22 | 166303 | <reponame>neoneye/loda
; A287197: Decimal representation of the diagonal from the corner to the origin of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 259", based on the 5-celled von Neumann neighborhood.
; 1,3,1,12,1,60,1,252,1,1020,1,4092,1,16380,1,65532,1,262140,1,1048572,1,419... |
solutions/13 - Injection Sites 2/size-9_speed-201.asm | michaelgundlach/7billionhumans | 45 | 7702 | <reponame>michaelgundlach/7billionhumans
-- 7 Billion Humans (2056) --
-- 13: Injection Sites 2 --
-- Author: ansvonwa
-- Size: 9
-- Speed: 201
pickup s
a:
if e == wall or
w == wall:
step s
endif
if w == datacube or
c == datacube:
drop
step e
else:
step w
endif
jump a |
agda-stdlib/src/Relation/Nullary/Decidable.agda | DreamLinuxer/popl21-artifact | 5 | 7250 | <filename>agda-stdlib/src/Relation/Nullary/Decidable.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Operations on and properties of decidable relations
------------------------------------------------------------------------
{-# OPTIONS --without-K --sa... |
programs/oeis/136/A136797.asm | neoneye/loda | 22 | 166624 | <reponame>neoneye/loda
; A136797: Number of labeled marked trees with n nodes.
; 2,8,96,2048,64000,2654208,137682944,8589934592,626913312768,52428800000000,4944974716076032,519400496868360192,60134924074807721984,7609328110443312447488,1044855521280000000000000,154742504910672534362390528,24588026787102364507838611456,... |
src/asf-parts.ads | jquorning/ada-asf | 12 | 555 | -----------------------------------------------------------------------
-- asf-parts -- ASF Parts
-- Copyright (C) 2011, 2012, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You... |
sample1.asm | jmacIndy/cpu | 0 | 11342 | // this is sample input for assembler
.CONSTANT
ADD1 2
ADD2 0x07
LOOPSIZE 0x0A
.DATA
RES1
RES2
COUNTER
.CODE
SET0 ADD1 // use variables for this addition
SET1 ADD2
ADD
STOR RES1
PRT RES1
CALL SUB1
HALT
SUB1 SET0 0x04 // use literals for this addition
... |
unicode_extended/UnicodeTest_GUI/UnicodeTest_GUI.asm | AlexRogalskiy/Masm | 0 | 242907 | <gh_stars>0
;-----------------------------------------------------------------;
; This advanced example shows how to use the Unicode macros ;
; to display some formulas (MAXWELL). ;
; The used font is <Lucida Sans Unicode>. According to ;
; Microsoft's Internet site, the equ... |
T5/E5T1.asm | abphilip-vit/College3 | 2 | 169181 | <reponame>abphilip-vit/College3
ORG 000H
MOV DPTR,#300H
MOV R0,#10
LOOP:CLR A
MOVC A,@A+DPTR
ADD A,R2
DA A
JNC NEXT
INC R3
NEXT:INC DPTR
MOV R2,A
DJNZ R0,LOOP
HERE:SJMP HERE
ORG 300H
DB 22H,43H,23H,34H,31H,77H,91H,33H,43H,07H
END |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca_notsx.log_17477_1291.asm | ljhsiun2/medusa | 9 | 8028 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x12abf, %r13
nop
nop
nop
nop
dec %rbx
movb (%r13), %r12b
nop
nop
nop
nop
and %r8, %r8
lea addresses_A_ht+0x70f, %rsi
nop
nop
inc %r14
mov $0x6162636465666768, %rbx
m... |
source/uaflex/generated/parser.adb | svn2github/matreshka | 24 | 28187 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
src/test/ref/test-multiply-16bit.asm | jbrandwood/kickc | 2 | 175531 | // Test the fast multiplication library
/// @file
/// A lightweight library for printing on the C64.
///
/// Printing with this library is done by calling print_ function for each element
// Commodore 64 PRG executable file
.file [name="test-multiply-16bit.prg", type="prg", segments="Program"]
.segmentdef Program [se... |
Lab_2/Task_6.a51 | DeeptimaanB/8051_Programs | 0 | 25088 | ;Write an 8051 ASM program to perform division on 8-bit numbers present in data memory address location 33H & 34H and
;store the result in 35H (Reminder) & 36H (Quotient).
ORG 0000H
MOV A,33H
MOV B,34H
DIV AB
MOV 35H,B
MOV 36H,A
END ;<NAME> |
oeis/328/A328355.asm | neoneye/loda-programs | 11 | 19967 | ; A328355: Let S be any integer in the range 36 <= S <= 44. Sequence has the property that a(n)*S is the sum of all positive integers whose decimal expansion has <= n digits and uses eight distinct nonzero digits d1,d2,d3,d4,d5,d6,d7,d8 such that d1+d2+d3+d4+d5+d6+d7+d8=S.
; 0,1,89,7193,576025,46086681,3686971929,29495... |
micro_lab/8085/BubbleSort.asm | prodicus/dabble | 0 | 86210 | <reponame>prodicus/dabble
LXI H, 5000
MOV C,M
DCR C
DO : MOV D,C
LXI H, 5001
B: MOV A,M
INX H
CMP M
JC SKIP
MOV B,M
MOV M,A
DCX H
MOV M,B
INX H
SKIP: DCR D
JNZ B
DCR C
JNZ DO
HLT |
pkgs/tools/yasm/src/modules/parsers/gas/tests/bin/gas-set.asm | manggoguy/parsec-modified | 64 | 174096 | <filename>pkgs/tools/yasm/src/modules/parsers/gas/tests/bin/gas-set.asm
.set foo,5
.byte foo
|
asm/test.asm | Zenith80/initial_emulator | 9 | 8082 | jp start
start:
; tests:
;ld r, n
;out (n), a
;ld r, r'
ld a, 12
ld b, 0
out (4), a
ld b, 12
ld a, 0
ld a, b
out (4), a
; tests:
;ld dd, nn
;ld r, (hl)
ld a, 91
out (4), a
ld a, 1
ld hl, t1
ld a, (hl)
out (4), a
; tests:
;ld a, (bc)
ld a, 12
out (4), a
ld bc, t2
ld a, (bc)
out (4), a
; test... |
src/addr.asm | mzxrules/z64-dual | 0 | 91136 | <reponame>mzxrules/z64-dual<filename>src/addr.asm
PI_DRAM_ADDR_REG equ 0xA4600000
PI_CART_ADDR_REG equ 0xA4600004
PI_RD_LEN_REG equ 0xA4600008
PI_WR_LEN_REG equ 0xA460000C
PI_STATUS_REG equ 0xA4600010
.definelabel osInvalICache, 0x800041A0
.definelabel osInvalDCache, 0x80004250
.definelabel osWritebackDCache, 0x800034... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.