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 |
|---|---|---|---|---|
jvm_demo/java/expression/antlr/practice_myself/src/main/java/com/hwloser/simple/hello/demo/Hello.g4 | Hwloser/untitled | 0 | 4733 | <gh_stars>0
grammar Hello; // 定义一个名为 Hello 的语法
r : 'hello' ID ; // 匹配一个官架子为hello和紧随其后的标识符
name : ID 'SAYS';
ID : [a-z]+ ; // 匹配小写字母组成的标识符
WS : [ \t\r\n]+ -> skip; // 忽略 space、TAB、换行、\r(windows) |
programs/oeis/321/A321232.asm | neoneye/loda | 22 | 21557 | <reponame>neoneye/loda
; A321232: Length of n-th term of A321225.
; 1,1,1,3,2,4,4,4,5,6,6,6,8,7,9,9,9,10,11,11,11,13,12,14,14,14,15,16,16,16,18,17,19,19,19,20,21,21,21,23,22,24,24,24,25,26,26,26,28,27,29,29,29,30,31,31,31,33,32,34,34,34,35,36,36,36,38,37,39,39,39,40,41,41,41,43,42,44,44,44,45,46,46,46,48,47,49,49,49,50... |
test-programs/functions.asm | travcunn/sic_assembler | 2 | 80484 | COPY START 0 .copy the file form INPUT to OUTPUT
FIRST STL RETADR .Save Return address
LDB #LENGTH .establish base register
BASE LENGTH
CLOOP +JSUB RDREC .Read INPUT Record
LDA LENGTH .Test for EOF (Length = 0)
COMP #0
JEQ ENDFIL .Exit if EOF found
+JSUB WRREC .Write OUTPUT Record
J CLOOP .Loop
ENDFIL... |
libsrc/stdio/ansi/sprinter/f_ansi_bel.asm | jpoikela/z88dk | 640 | 18498 | ;
; Spectrum C Library
;
; ANSI Video handling for Sprinter
;
; BEL - chr(7) Beep it out
;
;
; <NAME> - Apr. 2000
;
;
; $Id: f_ansi_bel.asm,v 1.3 2016-06-12 16:06:43 dom Exp $
;
SECTION code_clib
PUBLIC ansi_BEL
.ansi_BEL
ret
|
src/converter/cvt_dec2string/test/_start.asm | nikAizuddin/lib80386 | 4 | 93791 | <filename>src/converter/cvt_dec2string/test/_start.asm
; 1 2 3 4 5 6 7
;234567890123456789012345678901234567890123456789012345678901234567890
;=====================================================================
;
; *** TEST ***
;
;-------... |
Max/min.asm | miguel2192/CSC211-Assembly | 0 | 244303 | <filename>Max/min.asm<gh_stars>0
########### max.asm ##############################
# <NAME> #
# max.asm #
# Description #
# Determines the max of two floating numbers #
# Program Logic ... |
arch/ARM/cortex_m/src/cm7/cortex_m_svd-dwt.ads | rocher/Ada_Drivers_Library | 192 | 14836 | <reponame>rocher/Ada_Drivers_Library
-- This spec has been automatically generated from cm7.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
-- Data Watchpoint Trace
package Cortex_M_SVD.DWT is
pragma Preelaborate;
---------------
-- Regist... |
contrib/osx/Tor_Uninstaller.applescript | cluesblues/Tor | 188 | 2920 | <filename>contrib/osx/Tor_Uninstaller.applescript
-- Tor Uninstaller.applescript
-- Tor Uninstaller
-- ===============================================================================
-- Tor Uninstaller is distributed under this license:
--
-- Copyright (c) 2005 <NAME> ( pgp key: <KEY> )
--
-- Redistribution and use i... |
dfttest.adb | adrianhoe/adadft | 0 | 14954 | <filename>dfttest.adb
--------------------------------------------------------------------------------
-- * Prog name dfttest.adb
-- * Project name dfttest
-- *
-- * Version 1.0
-- * Last update 11/9/08
-- *
-- * Created by <NAME> on 11/9/08.
-- * Copyright (c) 2008 AdaStar Informatics http://adastarinfor... |
sycadas/src/main/antlr/org/genevaers/sycadas/grammar/ExtractOutput.g4 | venkateshprasad123/wb | 3 | 4428 | <filename>sycadas/src/main/antlr/org/genevaers/sycadas/grammar/ExtractOutput.g4
grammar ExtractOutput;
/*
* Copyright Contributors to the GenevaERS Project.
* (c) Copyright IBM Corporation 2020.
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may ... |
oeis/154/A154549.asm | neoneye/loda-programs | 11 | 177049 | <filename>oeis/154/A154549.asm
; A154549: a(n) = 111111*n.
; 111111,222222,333333,444444,555555,666666,777777,888888,999999,1111110,1222221,1333332,1444443,1555554,1666665,1777776,1888887,1999998,2111109,2222220,2333331,2444442,2555553,2666664,2777775,2888886,2999997,3111108,3222219,3333330,3444441,3555552,3666663,3777... |
tests/mod.asm | mantal/AVM | 0 | 23030 | <reponame>mantal/AVM
push int32(2)
push int32(3)
mod
assert int32(1)
pop
push int8(5)
push int32(10)
mod
assert int32(0)
pop
push int16(3)
push int8(1)
mod
assert int32(1)
pop
exit
|
problems/021/a021.adb | melwyncarlo/ProjectEuler | 0 | 24228 | <filename>problems/021/a021.adb<gh_stars>0
with Ada.Integer_Text_IO;
-- Copyright 2021 <NAME>
procedure A021 is
use Ada.Integer_Text_IO;
Max_N : constant Integer := 10000 - 1;
Amicable_Numbers : array (Integer range 1 .. Max_N) of Integer :=
(others => 0);
Proper_Divisors_Sum_1 ... |
testbed/utils/iterm2-interactive.scpt | mami-project/spinbit-demo | 2 | 514 | <reponame>mami-project/spinbit-demo
on run argv
set boxes to {"client", "router", "server"}
set cmd to "env PATH=/usr/bin:/usr/local/bin make -C " & item 1 of argv
tell application "iTerm2"
create window with default profile
repeat with box in boxes
tell current session of current window
spl... |
source/asis/asis-text.adb | faelys/gela-asis | 4 | 14079 | ------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
programs/oeis/107/A107782.asm | jmorken/loda | 1 | 3195 | <filename>programs/oeis/107/A107782.asm<gh_stars>1-10
; A107782: In binary representation of n: (number of zeros) minus (number of blocks of contiguous zeros).
; 0,0,0,0,1,0,0,0,2,1,0,0,1,0,0,0,3,2,1,1,1,0,0,0,2,1,0,0,1,0,0,0,4,3,2,2,2,1,1,1,2,1,0,0,1,0,0,0,3,2,1,1,1,0,0,0,2,1,0,0,1,0,0,0,5,4,3,3,3,2,2,2,3,2,1,1,2,1,1,... |
base/atari/putchar.asm | zbyti/Mad-Pascal | 7 | 26 | <gh_stars>1-10
; unit GRAPH: InitGraph, PutPixel, LineTo
; unit S2: SetGraphMode
/*
PUT CHAR
Procedura wyprowadza znak na ekran na pozycji X/Y kursora okreslonej przez zmienne odpowiednio
COLCRS ($55-$56) i ROWCRS ($54). Zaklada sie, ze obowiazuja przy tym domyslne ustawienia OS-u,
to jest ekran j... |
OlderBasicILP/Indirect/Hilbert/Sequential.agda | mietek/hilbert-gentzen | 29 | 5382 | module OlderBasicILP.Indirect.Hilbert.Sequential where
open import OlderBasicILP.Indirect public
-- Derivations, as Hilbert-style combinator sequences.
mutual
data Tm : Set where
NIL : Tm
VAR : ℕ → Tm → Tm
MP : ℕ → ℕ → Tm → Tm
CI : Tm → Tm
CK : Tm → Tm
CS : Tm → Tm
NEC ... |
src/Projects/eu_projects-efforts.adb | fintatarta/eugen | 0 | 16565 | pragma Ada_2012;
with Tokenize.Token_Vectors;
with Ada.Strings.Fixed;
package body EU_Projects.Efforts is
-----------
-- Parse --
-----------
function Parse (Spec : String) return Effort_Maps.Map is
use Tokenize;
use Tokenize.Token_Vectors;
use EU_Projects.Nodes.Partners;
use Ada... |
GCD/gcd.asm | AbderrhmanAbdellatif/SysPro | 0 | 245455 | <reponame>AbderrhmanAbdellatif/SysPro
segment .text
global gcd
;int gcd(int n1,int n2)
gcd:
push ebp
mov ebp,esp
sub esp,4
mov edx,[ebp+12]; n2
mov ecx,[ebp+8] ; n1
while_:
cmp ecx,edx
jne ending
cmp ecx,edx
jl n2
sub ecx,edx
mov ecx,ecx
n2:... |
alloy4fun_models/trashltl/models/5/8Q4FjAoZjxJc72qjP.als | Kaixi26/org.alloytools.alloy | 0 | 4380 | open main
pred id8Q4FjAoZjxJc72qjP_prop6 {
all f : File { always (f in Trash implies always f in Trash) }
}
pred __repair { id8Q4FjAoZjxJc72qjP_prop6 }
check __repair { id8Q4FjAoZjxJc72qjP_prop6 <=> prop6o } |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1070.asm | ljhsiun2/medusa | 9 | 172210 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xaa25, %rax
nop
nop
nop
dec %rdx
and $0xffffffffffffffc0, %rax
movntdqa (%rax), %xmm7
vpextrq $0, %xmm7, %r15
nop
nop
nop
nop
and $4121, %rcx
lea addresses_D_ht+0xf7fd, %rsi
lea address... |
theorems/homotopy/EilenbergMacLane.agda | AntoineAllioux/HoTT-Agda | 294 | 17350 | <filename>theorems/homotopy/EilenbergMacLane.agda
{-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import homotopy.HSpace renaming (HSpaceStructure to HSS)
open import homotopy.Freudenthal
open import homotopy.IterSuspensionStable
open import homotopy.Pi2HSusp
open import homotopy.EM1HSpace
open import ho... |
agent/main.asm | jephthai/EvilVM | 141 | 171735 | <reponame>jephthai/EvilVM
BITS 64
default rel
global main
section .text
;;; ------------------------------------------------------------------------
;;; Definitions that describe and govern configuration of the Forth machine
;;; ------------------------------------------------------------------------
%define CELL ... |
oeis/106/A106565.asm | neoneye/loda-programs | 11 | 103333 | ; A106565: a(n) = 5*a(n-1) + 5*a(n-2) with a(0) = 0, a(1) = 5.
; Submitted by <NAME>
; 0,5,25,150,875,5125,30000,175625,1028125,6018750,35234375,206265625,1207500000,7068828125,41381640625,242252343750,1418169921875,8302111328125,48601406250000,284517587890625,1665594970703125
mov $3,1
lpb $0
sub $0,1
mov $2,$3
... |
data/jpred4/jp_batch_1613899824__bH_qzjB/jp_batch_1613899824__bH_qzjB.als | jonriege/predict-protein-structure | 0 | 4815 | <gh_stars>0
SILENT_MODE
BLOCK_FILE jp_batch_1613899824__bH_qzjB.concise.blc
MAX_NSEQ 882
MAX_INPUT_LEN 884
OUTPUT_FILE jp_batch_1613899824__bH_qzjB.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75
DEFINE_FONT 7 Helvetica REL 0... |
Driver/Socket/IRLAP/irlapUtil.asm | steakknife/pcgeos | 504 | 100148 | <reponame>steakknife/pcgeos<filename>Driver/Socket/IRLAP/irlapUtil.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: irlapUtil.asm
AUTHOR: <NAME>, Mar 28, 1994
METHODS:
Name Descrip... |
3-mid/opengl/source/opengl-renderer.adb | charlie5/lace-alire | 1 | 991 | <filename>3-mid/opengl/source/opengl-renderer.adb
with
GL,
GL.Binding,
openGL.Tasks,
interfaces.C;
package body openGL.Renderer
is
use GL,
interfaces.C;
procedure Background_is (Self : in out Item; Now : in openGL.Color;
Opacity... |
source/machine-pc-linux-gnu/s-stomap.ads | ytomino/drake | 33 | 5769 | pragma License (Unrestricted);
-- runtime unit specialized for Linux
package System.Storage_Map is
pragma Preelaborate;
function Load_Address return Address;
Growing_Down_Is_Preferred : constant Boolean := True; -- bias of mmap
end System.Storage_Map;
|
sounds.asm | picosonic/soundtest | 1 | 171858 | ; OS defines
INCLUDE "os.asm"
ORG &1200
.start
; Entry point
JSR sound_init
; Stop foreground code here (music will play from VBLANK event)
.stop
JMP stop
; Back to OS
RTS
.sound_init
{
; Define ENVELOPE
LDA #&08
LDX #envelope MOD 256
LDY #envelope DIV 256
JSR OSWORD
; Set up event handle... |
AdvWallpapers/SetDesktopPicture.applescript | skfarhat/adv-wallpapers | 2 | 3994 | tell application "System Events"
-- SET DESKTOP TO SPECIFIC PICTURE
tell current desktop
set picture rotation to 0 -- (0=off, 1=interval, 2=login, 3=sleep)
set picture to POSIX file "%@"
end tell
end tell |
Read_Str.asm | nasim-aust/AUST_CSE_2214_ASSEMBLY_LAB | 2 | 21206 | <reponame>nasim-aust/AUST_CSE_2214_ASSEMBLY_LAB
READ_STR PROC
PUSH AX
PUSH DI
CLD
XOR BX,BX
MOV AH,1
INT 21H
MOV AH,1
INT 21H
WHILE1:
CMP AL,0DH
JE END_WHILE1
CMP AL,8H
JNE ELSE1
DEC DI
DEC BX
JMP READ
ELSE1:
STOSB
INC BX
READ:
INT 21... |
weather.adb | BrentSeidel/WeatherProject | 0 | 20311 | <filename>weather.adb
--
-- Standard Ada packages
--
with Ada.Text_IO;
with Ada.Integer_Text_IO;
with Ada.Float_Text_IO;
with Ada.Calendar;
--
-- Other packages
--
with BBS.BBB.i2c;
with BBS.BBB.i2c.PCA9685;
with BBS.BBB.i2c.BME280;
with BBS.units;
with WeatherCommon;
procedure weather is
port : BBS.BBB.i2c.i2c_int... |
alloy4fun_models/trainstlt/models/5/45yKmhyZi98RQkJHo.als | Kaixi26/org.alloytools.alloy | 0 | 1115 | open main
pred id45yKmhyZi98RQkJHo_prop6 {
always some s : Signal | always s' != s
}
pred __repair { id45yKmhyZi98RQkJHo_prop6 }
check __repair { id45yKmhyZi98RQkJHo_prop6 <=> prop6o } |
src/wiki-helpers-parser.adb | jquorning/ada-wiki | 18 | 19279 | <reponame>jquorning/ada-wiki
-----------------------------------------------------------------------
-- wiki-helpers-parser -- Generic procedure for the wiki parser
-- Copyright (C) 2016, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not... |
electrum/src/main/resources/models/examples/algorithms/opt_spantree.als | haslab/Electrum | 29 | 336 | <reponame>haslab/Electrum
module examples/algorithms/opt_spantree
/*
* Direct specification of a distributed spanning tree algorithm
* over arbitrary network topologies
*
* Each process has a parent and a level, both of which are
* initally null. A distinct root node exists at which the
* algorithm starts. In th... |
programs/oeis/262/A262867.asm | karttu/loda | 0 | 168347 | <filename>programs/oeis/262/A262867.asm
; A262867: Total number of ON (black) cells after n iterations of the "Rule 153" elementary cellular automaton starting with a single ON (black) cell.
; 1,2,5,8,15,22,31,38,53,68,85,100,121,140,161,176,207,238,271,302,339,374,411,442,487,530,575,614,663,706,751,782,845,908,973,10... |
src/app/spat-version.ads | HeisenbugLtd/spat | 20 | 8794 | ------------------------------------------------------------------------------
-- 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... |
test/Fail/Issue260a.agda | shlevy/agda | 1,989 | 4987 | -- Module shadowing using generated modules for records and datatypes
module Issue260a where
module D where
data D : Set where
|
wof/lcs/enemy/A7.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 23676 | copyright zengfr site:http://github.com/zengfr/romhack
004052 move.b (A6,D0.w), ($a7,A0) [enemy+A0]
004058 rts [enemy+A7]
00490E bmi $4912 [enemy+A7]
005154 bmi $5158 [enemy+A7]
025B9C bpl $254a8 [enemy+A7]
0268A6 bpl $268d4 [enemy+A7]
026974 clr.b ($a7,A0) [enemy+C2]
026978 rts [enemy+A7]
0... |
src/Categories/Category/Monoidal/Reasoning.agda | bblfish/agda-categories | 5 | 117 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category using (Category)
open import Categories.Category.Monoidal using (Monoidal)
module Categories.Category.Monoidal.Reasoning {o ℓ e} {C : Category o ℓ e} (M : Monoidal C) where
open import Data.Product using (_,_)
open import Categories.Functor renaming... |
boards/native/src/filesystem-native.adb | rocher/Ada_Drivers_Library | 192 | 29915 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016-2017, AdaCore --
-- --
-- ... |
oeis/099/A099930.asm | neoneye/loda-programs | 11 | 95808 | <reponame>neoneye/loda-programs
; A099930: a(n) = Pell(n)*Pell(n-1)*Pell(n-2) / 10.
; Submitted by <NAME>
; 1,12,174,2436,34307,482664,6791772,95567064,1344731653,18921807828,266250046986,3746422451772,52716164405255,741772724044560,10437534301224120,146867252940711408,2066579075472320521
add $0,1
mov $2,4
mov $4,2
lp... |
CSE 341 Microprocessors/Lab Final/Task 6.asm | iamraufu/BRACU | 12 | 172625 | .MODEL SMALL
.STACK 100H
.DATA
X DB "ENTER A NUMBER: $"
.CODE
MAIN PROC
;iniitialize DS
MOV AX,@DATA
MOV DS,AX
;Code here
LEA DX,X
MOV AH,9
INT 21H ;display the string
MOV BX,1
MOV AH,1 ;user input taking start
INT 21H ;user input taking e... |
programs/oeis/258/A258632.asm | karttu/loda | 0 | 29639 | <reponame>karttu/loda<filename>programs/oeis/258/A258632.asm<gh_stars>0
; A258632: Number of length 1 1..(n+1) arrays with every leading partial sum divisible by 2, 3, 5 or 7
; 1,2,3,4,5,6,7,8,9,9,10,10,11,12,13,13,14,14,15,16,17,17,18,19,20,21,22,22,23,23,24,25,26,27,28,28,29,30,31,31,32,32,33,34,35,35,36,37,38,39,40,... |
ada/original_2008/ada-demos/winicon_callbacks.ads | auzkok/libagar | 286 | 25363 | with agar.core.event;
package winicon_callbacks is
package gui_event renames agar.core.event;
procedure quit (event : gui_event.event_access_t);
pragma convention (c, quit);
end winicon_callbacks;
|
oeis/142/A142231.asm | neoneye/loda-programs | 11 | 242132 | <gh_stars>10-100
; A142231: Primes congruent to 34 mod 41.
; Submitted by <NAME>(s4)
; 157,239,977,1223,1879,2207,2371,2617,2699,3109,3191,3847,3929,4093,4339,4421,4831,5077,5323,5569,5651,5897,6143,6389,6553,7127,7537,8111,8521,8849,9013,9341,9587,9833,10079,10243,11719,11801,12211,12457,12539,12703,13441,13523,13687,... |
ada_gui-gnoga-gui-element-multimedia.adb | jrcarter/Ada_GUI | 19 | 18116 | -- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N O G A . G U I... |
tests/src/hmac_tests.adb | AntonMeep/hmac | 0 | 9069 | <reponame>AntonMeep/hmac
with AUnit.Reporter.Text;
with AUnit.Run;
with AUnit.Test_Suites;
with HMAC_SHA1_Streams_Tests;
with HMAC_SHA2_Streams_Tests;
procedure HMAC_Tests is
function Suite return AUnit.Test_Suites.Access_Test_Suite;
procedure Runner is new AUnit.Run.Test_Runner (Suite);
Reporter : AUnit.R... |
programs/oeis/076/A076049.asm | karttu/loda | 1 | 9921 | <filename>programs/oeis/076/A076049.asm<gh_stars>1-10
; A076049: Numbers k such that the sum of the k-th triangular number and (k+2)-nd triangular number is a triangular number.
; 0,3,8,25,54,153,322,899,1884,5247,10988,30589,64050,178293,373318,1039175,2175864,6056763,12681872,35301409,73915374,205751697,430810378,119... |
oeis/081/A081893.asm | neoneye/loda-programs | 11 | 12634 | <reponame>neoneye/loda-programs
; A081893: Third binomial transform of C(n+2,2).
; Submitted by <NAME>
; 1,6,33,172,864,4224,20224,95232,442368,2031616,9240576,41680896,186646528,830472192,3674210304,16173236224,70866960384,309237645312,1344324763648,5823975653376,25151328485376,108301895335936,465093418549248,19923150... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1799.asm | ljhsiun2/medusa | 9 | 246897 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1c7ac, %r15
nop
nop
nop
sub $48164, %r10
mov (%r15), %r11w
nop
sub %rcx, %rcx
lea addresses_D_ht+0x2013, %rsi
lea addresses_WT_ht+0xc344, %rdi
nop
sub $61726, %rbx
mov $64, %... |
src/ada-libc/src/libc-time-gnu.ads | mstewartgallus/linted | 0 | 5041 | <reponame>mstewartgallus/linted<gh_stars>0
-- Copyright 2015 <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 requi... |
src/tests/rdrand.asm | microsoft/sca-fuzzer | 2 | 29491 | .intel_syntax noprefix
RDRAND rax
RDRAND rbx
RDRAND rcx
RDRAND rdx
RDRAND rsi
RDRAND rdi
RDRAND r13
RDRAND rax
RDRAND rbx
RDRAND rcx
RDRAND rdx
RDRAND rsi
RDRAND rdi
RDRAND r13
RDRAND rax
RDRAND rbx
RDRAND rcx
RDRAND rdx
RDRAND rsi
RDRAND rdi
RDRAND r13
RDRAND rax
RDRAND rbx
RDRAND rcx
RDRAND rdx
RDRAND rsi
RDRAND rdi
... |
data/pokemon/cries.asm | AtmaBuster/pokecrystal16-493-plus | 1 | 99118 | mon_cry: MACRO
if _NARG==3
; regular cry
; index, pitch, length
dw \1, \2, \3
else
assert _NARG==1
; sampled cry
db CRY_SAMPLED
dw \1
dw \1_End - \1
db BANK(\1)
endc
ENDM
PokemonCries::
; entries correspond to constants/pokemon_constants.asm
mon_cry CRY_BULBASAUR, $080, $081 ; BULBASAUR
mon_cry CRY_BULBASAUR... |
tests/tests/device/control_data_out/main.adb | JeremyGrosser/usb_embedded | 0 | 5679 | -- This test is check control data out with a fake class request
with USB_Testing; use USB_Testing;
with USB_Testing.UDC_Stub; use USB_Testing.UDC_Stub;
with USB_Testing.UDC_Scenarios;
with HAL; use HAL;
with USB; use USB;
with USB.Device; use USB.Device;
with USB.HAL.Device; use US... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_297_1541.asm | ljhsiun2/medusa | 9 | 98712 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_297_1541.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x60b5, %rsi
lea addresses_D_ht+0x4da1, %rdi
nop
nop
add $58054, %r11
mov $57, %rcx
rep movs... |
Task/Ordered-Partitions/Ada/ordered-partitions-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 29483 | <gh_stars>1-10
with Ada.Text_IO;
with Partitions;
procedure Main is
package Natural_IO is new Ada.Text_IO.Integer_IO (Natural);
Example_Partitions : Partitions.Partition_Sets.Set;
begin
Ada.Text_IO.Put_Line ("Partitions for (2, 0, 2):");
-- create partition
Example_Partitions := Partitions.Create_Partiti... |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver2/sfc/ys_w48.asm | prismotizm/gigaleak | 0 | 96254 | <reponame>prismotizm/gigaleak
Name: ys_w48.asm
Type: file
Size: 26780
Last-Modified: '2016-05-13T04:51:43Z'
SHA-1: 35D6FA96CBE4A48AEB8640FEA97AE91568735771
Description: null
|
unittests/ASM/REP/F3_BD_4.asm | cobalt2727/FEX | 628 | 82741 | %ifdef CONFIG
{
"RegData": {
"RAX": "0xFFFFFFFFFFFF0010",
"RBX": "0xFFFFFFFFFFFF0003",
"RCX": "0xFFFFFFFFFFFF0007",
"RDX": "0xFFFFFFFFFFFF000B",
"RSI": "0xFFFFFFFFFFFF000F",
"RDI": "0xFFFFFFFFFFFF0000",
"RBP": "0xFFFFFFFFFFFF0004",
"RSP": "0xFFFFFFFFFFFF0008",
"R8": "0xFFFFFFFFFFF... |
Kernel/source/multiboot.asm | MessiahAndrw/Perception | 56 | 101895 | <reponame>MessiahAndrw/Perception
; The multiboot header, must be the first file linked into the binary
[BITS 32]
[SECTION .mbhdr]
[EXTERN loadStart]
[EXTERN loadEnd]
[EXTERN bssEnd]
[EXTERN EntryPoint]
[GLOBAL MbHdr]
ALIGN 8
MbHdr:
dd 0xE85250D6 ; magic
dd 0 ; architecture
dd HdrEnd - MbHdr ; length
... |
data/mapHeaders/SilphCo4F.asm | AmateurPanda92/pokemon-rby-dx | 9 | 80321 | SilphCo4F_h:
db FACILITY ; tileset
db SILPH_CO_4F_HEIGHT, SILPH_CO_4F_WIDTH ; dimensions (y, x)
dw SilphCo4F_Blocks ; blocks
dw SilphCo4F_TextPointers ; texts
dw SilphCo4F_Script ; scripts
db 0 ; connections
dw SilphCo4F_Object ; objects
|
libsrc/_DEVELOPMENT/target/rc2014/driver/diskio/z80/asm_disk_ioctl.asm | UnivEngineer/z88dk | 4 | 169085 | SECTION code_driver
PUBLIC asm_disk_ioctl
EXTERN ide_drive_id
EXTERN ide_cache_flush
EXTERN ideBuffer
;------------------------------------------------------------------------------
; Routines that talk with the IDE drive, these should be called from diskio.h
; extern DRESULT disk_ioctl (BYTE pdrv, BYTE cmd, void* ... |
tools-src/gnu/gcc/gcc/ada/5rtpopsp.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 22951 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod<filename>tools-src/gnu/gcc/gcc/ada/5rtpopsp.adb
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS ... |
antlr/SolLexer.g4 | adhusson/solpp | 0 | 2590 | lexer grammar SolLexer;
fragment
LF: [\r\n] ;
fragment
ID_FRAG: [_a-zA-Z] [_a-zA-Z0-9]* ;
fragment
EOL_FRAG: LF | EOF ;
fragment
STRING_LITERAL_FRAG
: '"' (~[\r\n] | '\\"')*? '"'
| '\'' (~[\r\n] | '\\\'')*? '\'' ;
PP_LINE_BEGIN
: [\t ]* '//' [\t ]* '$' -> skip, pushMode(PP_LINE_MODE) ;
PP_BLOCK_BEGIN
: '/*' ... |
oeis/119/A119552.asm | neoneye/loda-programs | 11 | 102382 | <gh_stars>10-100
; A119552: Binomial(binomial(2*n,n)*n,n).
; Submitted by <NAME>
; 1,2,66,34220,250654530,26255517781752,40219012695854521452,915602638690858051785326904,313119156483427472599890586326722370,1620758891081732168210880572699959520551984700
mov $1,$0
mul $0,2
bin $0,$1
mul $0,$1
bin $0,$1
|
oeis/152/A152261.asm | neoneye/loda-programs | 11 | 177293 | ; A152261: a(n) = ((9 + sqrt(5))^n + (9 - sqrt(5))^n)/2.
; Submitted by <NAME>
; 1,9,86,864,9016,96624,1054016,11628864,129214336,1442064384,16136869376,180866755584,2029199527936,22779718078464,255815761289216,2873425129242624,32279654468386816,362653470608523264
mov $1,1
mov $3,1
lpb $0
sub $0,1
mov $2,$3
mul ... |
atari_st/xbtimer_simple.asm | michaelcmartin/bumbershoot | 20 | 89962 | <filename>atari_st/xbtimer_simple.asm
;;; ----------------------------------------------------------------------
;;; Programmable timer sample program for the Atari ST
;;; Written by <NAME>, 2021
;;; Based on C sample code by <NAME>, 1986
;;; ----------------------------------------------------------------------... |
programs/oeis/168/A168559.asm | neoneye/loda | 22 | 178934 | ; A168559: a(n) = n^2 + a(n-1), with a(1)=0.
; 0,4,13,29,54,90,139,203,284,384,505,649,818,1014,1239,1495,1784,2108,2469,2869,3310,3794,4323,4899,5524,6200,6929,7713,8554,9454,10415,11439,12528,13684,14909,16205,17574,19018,20539,22139,23820,25584,27433,29369,31394,33510,35719,38023,40424,42924,45525,48229,51038,53954,... |
Task/Ordered-words/Ada/ordered-words.ada | djgoku/RosettaCodeData | 0 | 20853 | with Ada.Containers.Indefinite_Vectors;
with Ada.Text_IO;
procedure Ordered_Words is
package Word_Vectors is new Ada.Containers.Indefinite_Vectors
(Index_Type => Positive, Element_Type => String);
function Is_Ordered (The_Word : String) return Boolean is
Highest_Character : Character := 'a';
begin... |
src/main/fragment/mos6502-common/pwuz1_derefidx_vbuyy=pwuz1_derefidx_vbuyy_plus_pwuc1_derefidx_vbuxx.asm | jbrandwood/kickc | 2 | 242389 | <gh_stars>1-10
lda ({z1}),y
clc
adc {c1},x
sta ({z1}),y
iny
lda ({z1}),y
adc {c1}+1,x
sta ({z1}),y
|
3-mid/opengl/source/platform/egl/opengl-display.ads | charlie5/lace | 20 | 28461 | <gh_stars>10-100
private
with
eGL;
package openGL.Display
--
-- Models an openGL display.
--
is
type Item is tagged private;
function Default return Item;
private
type Item is tagged
record
Thin : eGL.EGLDisplay;
Version_major,
Version_minor : ali... |
source/containers/a-cbtaan.adb | ytomino/drake | 33 | 24868 | -- reference:
-- http://www.geocities.jp/m_hiroi/light/pyalgo53.html
-- http://www.softpedia.com/get/Others/Home-Education/AA-Visual-2007.shtml
pragma Check_Policy (
Dump => Disable,
Dump_On_Removing => Disable,
Validate => Disable);
-- with Ada.Containers.Binary_Trees.Arne_Andersson.Debug;
with Ada.Unchec... |
programs/oeis/055/A055555.asm | neoneye/loda | 22 | 244064 | ; A055555: a(n) = n!*(n!+1)/2.
; 1,1,3,21,300,7260,259560,12703320,812871360,65841128640,6584096534400,796675481078400,114721266640780800,19387894024929830400,3800027228319587865600,855006126362753549184000,218881568348707987666944000,63256773252773762936322048000
seq $0,142 ; Factorial numbers: n! = 1*2*3*4*...*n (or... |
programs/oeis/199/A199411.asm | neoneye/loda | 22 | 24377 | ; A199411: 8*6^n+1.
; 9,49,289,1729,10369,62209,373249,2239489,13436929,80621569,483729409,2902376449,17414258689,104485552129,626913312769,3761479876609,22568879259649,135413275557889,812479653347329,4874877920083969,29249267520503809,175495605123022849,1052973630738137089,6317841784428822529,37907050706572935169,2274... |
physical_memory/memory.ads | SMerrony/dgemua | 2 | 18607 | <reponame>SMerrony/dgemua<filename>physical_memory/memory.ads<gh_stars>1-10
-- 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 restrictio... |
04-cubical-type-theory/material/ExerciseSession2.agda | tomdjong/EPIT-2020 | 0 | 4208 | {-# OPTIONS --cubical #-}
module ExerciseSession2 where
open import Part1
open import Part2
open import Part3
open import Part4
-- (* Construct a point if isContr A → Π (x y : A) . isContr (x = y) *)
isProp→isSet : isProp A → isSet A
isProp→isSet h a b p q j i =
hcomp (λ k → λ { (i = i0) → h a a k
... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-filatt.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 30035 | <reponame>djamal2727/Main-Bearing-Analytical-Model<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-filatt.ads
------------------------------------------------------------------------------
-- --
-- GNAT R... |
test/interaction/Issue2714.agda | cruhland/agda | 1,989 | 4726 | <filename>test/interaction/Issue2714.agda
-- Andreas, 2017-08-23, issue #2714
-- This file should compile from within the interaction mode
-- without warning about missing main function.
{-# OPTIONS --no-main #-}
|
Transynther/x86/_processed/NONE/_st_/i3-7100_9_0xca_notsx.log_21829_1762.asm | ljhsiun2/medusa | 9 | 246677 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xc938, %rsi
lea addresses_A_ht+0x54a8, %rdi
clflush (%rsi)
nop
sub %rax, %rax
mov $4, %rcx
rep movsq
nop
nop
nop
nop
nop
and $15655, %rdi
lea addresses_D_ht+0xa18, %rsi
lea addresses_UC... |
mat/src/events/mat-events-timelines.ads | stcarrez/mat | 7 | 8454 | <filename>mat/src/events/mat-events-timelines.ads
-----------------------------------------------------------------------
-- mat-events-timelines - Timelines
-- Copyright (C) 2015 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this fil... |
programs/oeis/213/A213163.asm | jmorken/loda | 1 | 5236 | <reponame>jmorken/loda
; A213163: Sequence of coefficients of x in marked mesh pattern generating function Q_{n,132}^(3,0,-,0)(x).
; 1,7,32,122,422,1376,4315,13165,39360,115860,336876,969792,2768917,7851187,22130912,62066126,173294930,481976480,1335880495,3691245145,10171349376,27957706152,76672984152,209839988352,5732... |
src/firmware/Platform/Arithmetic16/Multiply.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 163092 | #include "Platform.inc"
#include "GeneralPurposeRegisters.inc"
radix decimal
Arithmetic16 code
global mul16x16
mul16x16:
.safelySetBankFor RAA
clrf RAA
clrf RAB
clrf RAC
clrf RAD
bsf RAC, 7
mul16x16_1:
rrf RBC
rrf RBD
btfss STATUS, C
goto mul16x16_2
movf RBB, W
addwf RAB
movf RBA, W
btfsc STATUS, ... |
so/overlay/src/inicial.asm | bmnascimento/von-neumann-simulator | 0 | 9043 | ; PROGRAMA
@ 0
; CONFIGURA MONITOR
LD CONFIG
OS CFG_FILE
; CHAMA MONITOR PARA CARREGAR O OVERLAY
LD CALLOV
OS OV3
HM 0
; DADOS
CONFIG K 01
CALLOV K 02
CFG_FILE K 63 ; c
K 6F ; o
K 6E ; n
K 66 ; f
K ... |
examples/example_userdata.adb | jhumphry/aLua | 0 | 21232 | -- Example_Userdata
-- A simple example of an Ada type turned into a Lua userdata type
-- Copyright (c) 2015, <NAME> - see LICENSE for terms
with Ada.Text_IO;
package body Example_Userdata is
function Increment (L : Lua_State'Class) return Natural is
Object : constant access Child
:= Child_Userdata... |
oeis/291/A291456.asm | neoneye/loda-programs | 11 | 176842 | <reponame>neoneye/loda-programs<filename>oeis/291/A291456.asm
; A291456: a(n) = (n!)^6 * Sum_{i=1..n} 1/i^6.
; Submitted by <NAME>
; 0,1,65,47449,194397760,3037656102976,141727869124448256,16674281388691716870144,4371079210518164503303028736,2322975003299339366419974718488576,2322977286679362958150790503464960000000,41... |
src/6502x.asm | Chysn/wAx | 5 | 24436 | <gh_stars>1-10
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; wAx
; Extended Instruction Table
; (c)2020, <NAME>
;
; Release 1 - May 15, 2020
; Release 2 - May 24, 2020
; As... |
iod/con2/java8/sprite_drop.asm | olifink/smsqe | 0 | 17706 | ; Sprite dropping code V1.11 1985 <NAME>
; 2003 <NAME>
;
; 2003-02-11 1.10 Added alpha blending code (MK)
; 2005-03-27 1.11 Extension for empty (solid) mask (MK)
; 2013-04-28 1.12 xdef'd the aur2rgb_tab table (wl)
; 2020-02-07 1.13 faster code for long words, eliminated some dead code
;
; d0 s
... |
programs/oeis/175/A175191.asm | neoneye/loda | 22 | 85284 | <filename>programs/oeis/175/A175191.asm
; A175191: a(n) = the smallest positive integer such that (the n-th prime)+2*a(n) is composite.
; 1,3,2,1,2,1,2,1,1,2,1,1,2,1,1,1,2,1,1,2,1,1,1,1,1,2,1,2,1,1,1,1,2,1,2,1,1,1,1,1,2,1,2,1,2,1,1,1,2,1,1,2,1,1,1,1,2,1,1,2,1,1,1,2,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,2,1,2,1,1,1,1,1,2,1,1,... |
test/interaction/ElaborateGive.agda | shlevy/agda | 2 | 10428 | <reponame>shlevy/agda
module ElaborateGive where
open import Agda.Builtin.List
open import Agda.Builtin.Nat
open import Agda.Builtin.Reflection
open import Agda.Builtin.String
open import Agda.Builtin.Unit
five : Nat
five = {!!}
five' : Nat
five' = {!!}
five'' : Nat
five'' = {!!}
macro
addUnknown : Term → TC ⊤
... |
README/Unsafe.agda | nad/equality | 3 | 9471 | ------------------------------------------------------------------------
-- Modules that can (perhaps) not be type-checked in safe mode, and
-- do not use --sized-types
------------------------------------------------------------------------
{-# OPTIONS --without-K #-}
module README.Unsafe where
-- Strings.
import ... |
libsrc/_DEVELOPMENT/sound/bit/z80/asm_bit_fx/_bitfx_31.asm | jpoikela/z88dk | 640 | 97395 | <reponame>jpoikela/z88dk<filename>libsrc/_DEVELOPMENT/sound/bit/z80/asm_bit_fx/_bitfx_31.asm
SECTION code_clib
SECTION code_sound_bit
PUBLIC _bitfx_31
INCLUDE "config_private.inc"
EXTERN asm_bit_beep_raw
_bitfx_31:
; fx8 effect
ld b,1
fx8_1:
push bc
ld hl,2600
ld de,2
fx8_2:
push de
... |
oeis/104/A104555.asm | neoneye/loda-programs | 11 | 175277 | ; A104555: Expansion of x(1 - x)/(1 - x + x^2)^3.
; Submitted by <NAME>
; 0,1,2,0,-5,-7,0,12,15,0,-22,-26,0,35,40,0,-51,-57,0,70,77,0,-92,-100,0,117,126,0,-145,-155,0,176,187,0,-210,-222,0,247,260,0,-287,-301,0,330,345,0,-376,-392,0,425,442,0,-477,-495
mov $1,$0
add $0,2
bin $0,2
lpb $1
sub $1,1
add $2,$0
sub $0... |
delay.asm | wilsanph/gmsp430cpp | 0 | 97406 |
;===================
; delay_us(us)
;===================
; the register R12 has the parameter us
.global delay_us
delay_us
loop dec.w r12
jnz loop
nop
.end
;===================
; delay_ms(ms)
;===================
; the register R12 has the parameter ms
.global delay_ms
delay_ms
loop dec.w r12
jnz ... |
.emacs.d/elpa/ada-mode-5.3.1/gps_source/language.adb | caqg/linux-home | 0 | 20549 | <filename>.emacs.d/elpa/ada-mode-5.3.1/gps_source/language.adb
------------------------------------------------------------------------------
-- G P S --
-- --
-- ... |
oeis/024/A024907.asm | neoneye/loda-programs | 11 | 2387 | ; A024907: Numbers k such that 9*k - 7 is prime.
; Submitted by <NAME>
; 1,2,4,6,10,12,16,20,22,26,30,32,36,40,44,50,52,54,64,66,72,74,76,92,94,96,102,104,106,110,114,122,124,130,132,136,144,146,152,160,162,166,170,174,180,186,192,202,206,212,220,226,230,232,234,240,246,250,256,260,262,270,272,274,276,282,284,292,296,3... |
org.alloytools.alloy.core/src/main/resources/models/util/Untitled.als | clayness/AlloyOpt | 0 | 4344 | <reponame>clayness/AlloyOpt
sig Archietecture{
comps: Component
}
sig Component{}
pred example{
some Component
}
run example for 2
|
programs/oeis/069/A069205.asm | jmorken/loda | 1 | 3164 | <reponame>jmorken/loda
; A069205: a(n) = Sum_{k=1..n} 2^bigomega(k).
; 1,3,5,9,11,15,17,25,29,33,35,43,45,49,53,69,71,79,81,89,93,97,99,115,119,123,131,139,141,149,151,183,187,191,195,211,213,217,221,237,239,247,249,257,265,269,271,303,307,315,319,327,329,345,349,365,369,373,375,391,393,397,405,469,473,481,483,491,495,... |
libsrc/stdio/vg5k/getk.asm | RC2014Z80/z88dk | 8 | 179657 | ;
; Philips VG5000
;
; getkey() Wait for keypress
;
; Jun 2014 - Joaopa
;
;
; $Id: getk.asm,v 1.5 2016-06-16 19:40:21 dom Exp $
;
SECTION code_clib
PUBLIC getk
.getk
._getk
call $aa
IF STANDARDESCAPECHARS
cp 13
jr nz,not_return
ld a,10
.not_return
ENDIF
ld l,a
ld h,0
ret
|
3-mid/opengl/source/lean/text/private/opengl-glyphimpl.adb | charlie5/lace | 20 | 30457 | with
freetype_c.Binding,
freetype_c.FT_BBox,
freetype_c.FT_Vector;
package body openGL.GlyphImpl
is
-----------
-- Utility
--
function Bounds_of (glyth_Slot : in freetype_c.FT_GlyphSlot.item) return Bounds
is
use freetype_c.Binding;
bBox : aliased freetype_c.FT_BBox.i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.