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 |
|---|---|---|---|---|
data/pokemon/base_stats/numel.asm | AtmaBuster/pokeplat-gen2 | 6 | 99453 | <gh_stars>1-10
db 0 ; species ID placeholder
db 60, 60, 40, 35, 65, 45
; hp atk def spd sat sdf
db FIRE, GROUND ; type
db 255 ; catch rate
db 88 ; base exp
db ICE_BERRY, ICE_BERRY ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/numel/front.dimensions"
db G... |
programs/oeis/024/A024501.asm | neoneye/loda | 22 | 179339 | <gh_stars>10-100
; A024501: [ C(4n,2n)/C(4n,n) ].
; 1,1,2,4,7,11,20,33,57,96,162,274,462,780,1317,2223,3751,6329,10680,18021,30409,51312,86584,146103,246538,416013,701993,1184566,1998882,3372999,5691754,9604549,16207222,27348969,46150243,77876717,131414064
sub $1,$0
mov $2,$0
sub $2,$1
sub $1,1
bin $1,$2
bin $2,$0
div... |
.emacs.d/elpa/wisi-3.0.1/wisitoken-productions.adb | caqg/linux-home | 0 | 21674 | -- Abstract :
--
-- See spec.
--
-- Copyright (C) 2018 Free Software Foundation, Inc.
--
-- This file is part of the WisiToken package.
--
-- The WisiToken package is free software; you can redistribute it
-- and/or modify it under terms of the GNU General Public License as
-- published by the Free Software Foun... |
Compare.asm | Mohamed-94/Group-of-Assembly-Programs-Samples--8086-85-Processors-family- | 16 | 102251 | <filename>Compare.asm
.MODEL SMALL
.STACK 100H
.DATA
printCh dw '?'
MSGS DB 0DH,0AH,'Start Time is $'
Hs DB '?'
Ms DB '?'
Scs DB '?'
HSs DB '?'
MSGe DB 0DH,0AH,'Finish Time is $'
He DB '?'
Me DB '?'
Se DB '?'
HSe DB '?'
MSGR DB 0DH,0AH,'Run Time is $'
.CODE
MAIN PROC
;initialization
MOV AX , @DATA
... |
test/asset/agda-stdlib-1.0/Data/Product/Categorical/Left/Base.agda | omega12345/agda-mode | 5 | 14431 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Base definitions for the left-biased universe-sensitive functor and
-- monad instances for the Product type.
--
-- To minimize the universe level of the RawFunctor, we require that
-- elements of B are "lifted" t... |
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_21829_2913.asm | ljhsiun2/medusa | 9 | 19614 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x33a9, %r8
nop
nop
inc %rbp
movb $0x61, (%r8)
nop
nop
nop
and %r11, %r11
lea addresses_A_ht+0x3a9, %rbx
nop
nop
nop
nop
dec %rcx
mov $0x6162636465666768, %r15
movq %r1... |
src/natools-getopt_long.adb | faelys/natools | 0 | 17408 | ------------------------------------------------------------------------------
-- Copyright (c) 2011, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
programs/oeis/027/A027484.asm | karttu/loda | 1 | 82057 | ; A027484: n(n^4-1)/2.
; 15,120,510,1560,3885,8400,16380,29520,49995,80520,124410,185640,268905,379680,524280,709920,944775,1238040,1599990,2042040,2576805,3218160,3981300,4882800,5940675,7174440,8605170,10255560,12149985,14314560,16777200,19567680,22717695,26260920,30233070,34671960,39617565,45112080,51199980,57928080... |
Transynther/x86/_processed/AVXALIGN/_st_sm_/i3-7100_9_0x84_notsx.log_21829_2231.asm | ljhsiun2/medusa | 9 | 10836 | <filename>Transynther/x86/_processed/AVXALIGN/_st_sm_/i3-7100_9_0x84_notsx.log_21829_2231.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1c9f, %rbx
nop
sub $36814, %r12
mov (%rbx), %ax
nop
nop
sub %rsi, %rsi
lea addres... |
libsrc/gfx/wide/w_point.asm | ahjelm/z88dk | 640 | 90546 | <reponame>ahjelm/z88dk
; ----- int point(int x, int y)
;Result is true/false
SECTION code_graphics
PUBLIC point
PUBLIC _point
EXTERN asm_point
.point
._point
pop bc
pop de ; y
pop hl ; x
push hl
push de
push bc
jp asm_point
|
software/hal/hal/src/hal-touch_panel.ads | TUM-EI-RCS/StratoX | 12 | 17556 | package HAL.Touch_Panel is
type TP_Touch_State is record
X : Natural;
Y : Natural;
Weight : Natural;
end record;
type Swap_State is new UInt3;
Invert_X : constant Swap_State;
Invert_Y : constant Swap_State;
Swap_XY : constant Swap_State;
subtype Touch_Identifier is ... |
Parser_Tools/test/src/text-suite.ads | robdaemon/AdaYaml | 32 | 23242 | <gh_stars>10-100
-- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
with AUnit.Test_Suites;
package Text.Suite is
function Suite return AUnit.Test_Suites.Access_Test_Suite;
end Text.Suite;
|
test/LibSucceed/CoInf.agda | andreasabel/agda-with-old-branches | 3 | 7235 | module CoInf where
open import Coinduction
-- Check that ∞ can be used as an "expression".
test : Set → Set
test = ∞
|
BFFPlug.agda | jvoigtlaender/bidiragda | 0 | 15537 | <filename>BFFPlug.agda
open import Level using () renaming (zero to ℓ₀)
open import Relation.Binary using (DecSetoid)
module BFFPlug (A : DecSetoid ℓ₀ ℓ₀) where
open import Data.Nat using (ℕ ; _≟_ ; _+_ ; zero ; suc ; ⌈_/2⌉)
open import Data.Maybe using (Maybe ; just ; nothing)
open import Data.Vec using (Vec)
open i... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce2104c.ada | best08618/asylo | 7 | 1804 | -- CE2104C.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
examples/fpu.adb | ytomino/drake | 33 | 9408 | <filename>examples/fpu.adb
with Ada.Formatting;
with Interfaces;
with System.Machine_Code;
procedure fpu is
use type Interfaces.Unsigned_16;
CW : aliased Interfaces.Unsigned_16 := 0;
begin
System.Machine_Code.Asm ("fstcw (%0)",
Inputs => System.Address'Asm_Input ("r", CW'Address),
Volatile => True);
declare
f... |
source/image/required/s-fore.adb | ytomino/drake | 33 | 21068 | <gh_stars>10-100
with System.Formatting.Float;
package body System.Fore is
function Fore (Lo, Hi : Long_Long_Float) return Natural is
begin
return Formatting.Float.Fore_Digits_Width (Lo, Hi) + 1; -- including sign
end Fore;
end System.Fore;
|
include/sf-graphics-vertexarray.ads | Fabien-Chouteau/ASFML | 0 | 29050 | <filename>include/sf-graphics-vertexarray.ads
--//////////////////////////////////////////////////////////
-- SFML - Simple and Fast Multimedia Library
-- Copyright (C) 2007-2015 <NAME> (<EMAIL>)
-- This software is provided 'as-is', without any express or implied warranty.
-- In no event will the authors be held liabl... |
scripts/track/finder.tmpl.scpt | randybias/itunes-client | 1 | 2881 | <filename>scripts/track/finder.tmpl.scpt<gh_stars>1-10
tell application "iTunes"
set specified_tracks to (every track #{whose} #{conditions})
set json to "["
repeat with specified_track in specified_tracks
set props to {}
set end of props to "{"
set end of props to ("\"persistent_id\":\"" & persistent... |
projects/batfish/src/main/antlr4/org/batfish/grammar/palo_alto/PaloAltoParser.g4 | nickgian/batfish | 0 | 4655 | parser grammar PaloAltoParser;
/* This is only needed if parser grammar is spread across files */
import
PaloAlto_address,
PaloAlto_address_group,
PaloAlto_application,
PaloAlto_application_filter,
PaloAlto_common,
PaloAlto_deviceconfig,
PaloAlto_interface,
PaloAlto_network,
PaloAlt... |
Regex.g4 | DazeDC/regex-parser | 0 | 555 | grammar Regex;
@header {
package it.unicam.cs.cmp.parser.generated;
}
expr
:
union EOF # unionEOF
;
union
:
union PLUS concat # unionMatch
| concat # unionConcat
;
concat
:
concat kleene # concatMatch
| kleene # concatKleene
;
kleene
:
term KLEENE # kleeneMatch
| term # kleeneTerm
;
term
:
LETTER # te... |
lib/isa-l/erasure_code/gf_vect_mad_avx2.asm | fossabot/7bgzf | 1 | 90647 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 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:
; * Redistributions of so... |
VisualRust.Project/Module.g4 | dlsteuer/VisualRust | 0 | 6162 | <reponame>dlsteuer/VisualRust<filename>VisualRust.Project/Module.g4<gh_stars>0
/*
* Very simple module parsing grammar.
* Works like rustc --dep-info, but handles broken files.
*/
grammar Module;
PUB : 'pub';
MOD : 'mod';
LBRACE : '{' ;
RBRACE : '}' ;
SEMI : ';... |
programs/oeis/179/A179894.asm | jmorken/loda | 1 | 4802 | ; A179894: Given the series (1, 2, 1, 2, 1, 2, ...), let (1 + 2x + x^2 + 2x^3 + ...) * (1 + 2x^2 + x^3 + 2x^4 + ...) = (1 + 2x + 3x^2 + 7x^3 + ...)
; 1,2,3,7,7,12,11,17,15,22,19,27,23,32,27,37,31,42,35,47,39,52,43,57,47,62,51,67,55,72,59,77,63,82,67,87,71,92,75,97,79,102,83,107,87,112,91,117,95,122,99,127,103,132,107,1... |
notes/FOT/FOTC/Data/Nat/Stream/PropertiesI.agda | asr/fotc | 11 | 14018 | <reponame>asr/fotc<gh_stars>10-100
------------------------------------------------------------------------------
-- Properties of streams of total natural numbers
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types ... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-chahan.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 23734 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
src/rp2040_zfp.ads | hgrodriguez/rp2040_zfp | 0 | 11358 | package Rp2040_Zfp is
end Rp2040_Zfp;
|
test/Fail/TabsInPragmas.agda | cruhland/agda | 1,989 | 4898 | {-# OPTIONS --type-in-type #-}
module TabsInPragmas where
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1322.asm | ljhsiun2/medusa | 9 | 96096 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1322.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x893b, %rsi
lea addresses_WT_ht+0x1abb, %rdi
nop
nop
nop
nop
xor $43098... |
oeis/240/A240847.asm | neoneye/loda-programs | 11 | 8221 | ; A240847: a(n) = 2*a(n-1) + a(n-2) - 2*a(n-3) - a(n-4) for n>3, a(0)=a(1)=a(3)=0, a(2)=1.
; Submitted by <NAME>
; 0,0,1,0,1,0,0,-2,-5,-12,-25,-50,-96,-180,-331,-600,-1075,-1908,-3360,-5878,-10225,-17700,-30509,-52390,-89664,-153000,-260375,-442032,-748775,-1265832,-2136000,-3598250,-6052061,-10164540,-17048641,-285594... |
test/interaction/Issue2076.agda | hborum/agda | 3 | 4840 | <reponame>hborum/agda<gh_stars>1-10
-- Andrea(s), 2016-07-06, issue #2076 reported by Andrea
-- This is to test printing of extended lambdas
-- {-# OPTIONS -v tc.cc:60 -v tc.term.exlam:100 -v reify.clause:60 #-}
postulate
A : Set
_,_ : A → A → A
data Unit : Set where
true : Unit
bar : (p : A) (q : A) → Unit →... |
libsrc/_DEVELOPMENT/math/float/math48/z80/core/mm48__comser.asm | jpoikela/z88dk | 640 | 167617 |
SECTION code_clib
SECTION code_fp_math48
PUBLIC mm48__comser
EXTERN mm48_equal, mm48_fpmul, mm48__calcs
mm48__comser:
; enter : a = loop count
; AC' = X
;
; exit : AC' = result
; AC = X
;
; uses : af, bc, de, hl, af', bc', de', hl'
;COMSER udregner en potensraekke af formen:
;T=X*((((X^2+K1)*... |
src/Categories/Category/Instance/SingletonSet.agda | MirceaS/agda-categories | 0 | 16379 | {-# OPTIONS --without-K --safe #-}
open import Level
-- This is really a degenerate version of Categories.Category.Instance.One
-- Here SingletonSet is not given an explicit name, it is an alias for Lift o ⊤
module Categories.Category.Instance.SingletonSet where
open import Data.Unit using (⊤; tt)
open import Relati... |
OSSOURCE/numcnvrt.asm | mooseman/smallOS | 3 | 100297 | <gh_stars>1-10
; MMURTL Operating System Source Code
; Written by <NAME>
; This code is released to the public domain.
; "Share and enjoy....." ;)
.DATA
.INCLUDE MOSEDF.INC
;=============================================================================
.CODE
;============================... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35503l.ada | best08618/asylo | 7 | 12926 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35503l.ada
-- C35503L.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimi... |
next_level/demosrc/s_itwilllead.asm | viznut/demoscene | 14 | 244224 | ;,; lyrics_itwillleadus .withinpagefrom=lyrics
;,; <- lyrics
!byte $21,$29,$1d ; IT
!byte $07 ; 'LL
!byte $51,$19,$1d ; (L)EAD ; was 71
!byte $3a,$34 ; US
!byte $59,$1d,$46 ; TO ; was 49
!byte $4a,$46,$40,$89 ; OUR ; was 09
!byte $1b,$2a,$40 ; PRO
!byte $28,$41,$24,$19,$1d ; MISED
!byte $39,$43,$51 ... |
3-mid/impact/source/3d/collision/dispatch/impact-d3-collision-algorithm-activating.ads | charlie5/lace | 20 | 11878 | with impact.d3.collision.Algorithm,
impact.d3.Object,
impact.d3.Dispatcher,
impact.d3.collision.manifold_Result;
package impact.d3.collision.Algorithm.activating
--
-- This class is not enabled yet (work-in-progress) to more aggressively activate objects.
--
is
type Item is abstract new impact.... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/modular3_pkg.ads | best08618/asylo | 7 | 28587 | package Modular3_Pkg is
type Int16_T is range -32768 .. 32767;
for Int16_T'Size use 16;
for Int16_T'Alignment use 1;
type Mod16_T is mod 2 ** 16;
for Mod16_T'Size use 16;
for Mod16_T'Alignment use 1;
end Modular3_Pkg;
|
libsrc/_DEVELOPMENT/adt/b_vector/c/sdcc_iy/b_vector_reserve_callee.asm | jpoikela/z88dk | 640 | 177805 | <reponame>jpoikela/z88dk<gh_stars>100-1000
; int b_vector_reserve_callee(b_vector_t *v, size_t n)
SECTION code_clib
SECTION code_adt_b_vector
PUBLIC _b_vector_reserve_callee
EXTERN asm_b_vector_reserve
_b_vector_reserve_callee:
pop af
pop hl
pop bc
push af
jp asm_b_vector_reserve
|
build/inputs/riverCrossing.als | shmorcel/Alloy_GNU_Bison_Parser | 0 | 466 | <gh_stars>0
abstract sig Object { eats : disj set Object,
location : dynamic Location }
one sig Farmer, Fox, Chicken, Grain extends Object {}
abstract sig Location {}
one sig Near, Far extends Location {}
fact eating { eats = (Fox -> Chicken) + (Chicken -> Grain) }
action cross {
some o: Object - Farmer, fl: Loc... |
oeis/186/A186314.asm | neoneye/loda-programs | 11 | 82201 | <filename>oeis/186/A186314.asm
; A186314: Number of ternary strings of length n which contain 01.
; Submitted by <NAME>
; 0,0,1,6,26,99,352,1200,3977,12918,41338,130779,410048,1276512,3950929,12170598,37343834,114209811,348332320,1059927312,3218870105,9758944470,29544747706,89335651851,269843267456,814337329344,2455598... |
Src/Ant32/Tests/ant32/comp/eq-null-super-comp-14.autotest.asm | geoffthorpe/ant-architecture | 0 | 85422 | lc r4, 0x00000080
lc r5, 0x00013d79
eq r6, r4, r5
halt
#@expected values
#r4 = 0x00000080
#r5 = 0x00013d79
#r6 = 0x00000000
#pc = -2147483628
#e0 = 0
#e1 = 0
#e2 = 0
#e3 = 0
|
Src/Pc/Compiler/Antlr/PParser.g4 | cristicmf/P | 0 | 585 | <gh_stars>0
parser grammar PParser;
options { tokenVocab=PLexer; }
// A small overview of ANTLRs parser rules:
//
// Parser rules begin with a lower case letter, lexer rules begin
// with an Uppercase letter. To create a parser rule, write the name
// followed by a colon (:) and then a list of alternatives, separate... |
src/test/resources/testData/parse/live_samples/class_name_case.scpt | stigger/AppleScript-IDEA | 18 | 1647 | <reponame>stigger/AppleScript-IDEA
set ffolder to choose folder
tell application "Finder"
set fileNames to (get the name of every file of ffolder)
set theItems to selection
repeat with itemRef in theItems
set end of fileNames to name of itemRef
end repeat
set fileNames to fileNames as Unicode text
set f... |
Appl/Startup/CommonStartup/CMain/cmainStartupRoomTrigger.asm | steakknife/pcgeos | 504 | 13560 | COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: welcome
FILE: cmainStartupRoomTrigger.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 12/89 Initial version
DESCRIP... |
awa/src/model/awa-audits-models.adb | twdroeger/ada-awa | 0 | 24331 | <gh_stars>0
-----------------------------------------------------------------------
-- AWA.Audits.Models -- AWA.Audits.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-body.xhtml
-- Ada Generator: http... |
tests/typing/bad/testfile-unique-1.adb | xuedong/mini-ada | 0 | 20468 | <filename>tests/typing/bad/testfile-unique-1.adb
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is
type T is record A: Integer; end record;
T: Integer;
begin
New_Line;
end;
|
generated/simple_webapps-commands-upload_servers.ads | faelys/simple-webapps | 1 | 20414 | <gh_stars>1-10
-- Generated at 2014-07-02 17:53:59 +0000 by Natools.Static_Hash_Maps
-- from src/simple_webapps-upload_servers-commands.sx
package Simple_Webapps.Commands.Upload_Servers is
pragma Pure;
type Config_Command is
(Config_Error,
Set_Storage_File,
Set_Directory,
Set_Error_Temp... |
Task/Terminal-control-Inverse-video/Ada/terminal-control-inverse-video.ada | LaudateCorpus1/RosettaCodeData | 1 | 8331 | <reponame>LaudateCorpus1/RosettaCodeData
with Ada.Text_IO; use Ada.Text_IO;
procedure Reverse_Video is
Rev_Video : String := Ascii.ESC & "[7m";
Norm_Video : String := Ascii.ESC & "[m";
begin
Put (Rev_Video & "Reversed");
Put (Norm_Video & " Normal");
end Reverse_Video;
|
tools-src/gnu/gcc/gcc/ada/g-trasym.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 5223 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
printing_vertically/icalc.asm | noahabe/playing_with_assembly | 0 | 93950 | <filename>printing_vertically/icalc.asm<gh_stars>0
; icalc.asm
extern printf
section .data
bstring db "10111101011",10,0
abit db "%d",10,0
section .bss
section .text
global main
main:
mov rbx,bstring
xor rsi,rsi
xor r15,r15
bloop:
mov byte r15b, [rbx]
sub r15,48
mov rdi,abit
mov rsi,r15
m... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/storage.ads | best08618/asylo | 7 | 4564 | <gh_stars>1-10
-- { dg-do compile }
with System.Pool_Global;
package Storage is
x1: System.Pool_Global.Unbounded_No_Reclaim_Pool;
type T1 is access integer;
for T1'Storage_Pool use (x1); -- { dg-error "must be a variable" }
type T2 is access Integer;
for T2'Storage_Pool use x1;
end Storage;
|
programs/oeis/056/A056577.asm | neoneye/loda | 22 | 82851 | ; A056577: Difference between 3^n and highest power of 2 less than or equal to 3^n.
; 0,1,1,11,17,115,217,139,2465,3299,26281,46075,7153,545747,588665,5960299,9492289,62031299,118985033,88519643,1339300753,1870418611,14201190425,25423702091,7551629537,297532795555,342842572777,3227550973883,5284606410545,33446005276051... |
error/Debugger.asm | NatsumiFox/AMPS | 20 | 84607 |
; ===============================================================
; ---------------------------------------------------------------
; Error handling and debugging modules
; 2016-2017, Vladikcomper
; ---------------------------------------------------------------
; Debugging macros definitions file
; ------------------... |
openkore-master/plugins/needs-review/Obsolete/legacy/ropp/trunk/src/call16/func_56.asm | phuchduong/ro_restart_bot | 0 | 103990 | ; OpenKore - Padded Packet Emulator.
;
; This program is free software; you can redistribute it and/or
; modify it under the terms of the GNU General Public License
; as published by the Free Software Foundation; either version 2
; of the License, or (at your option) any later version.
;
; This program is distributed i... |
docs/antora/modules/ROOT/pages/nand2tetris/projects/04/fill/Fill.asm | peacetrue/learn-nand2tetris | 0 | 92810 | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by <NAME> Schocken, MIT Press.
// File name: projects/04/Fill.asm
// Runs an infinite loop that listens to the keyboard input.
// When a key is pressed (any key), the program blackens the screen,
// i.e. writes "black" i... |
source/amf/mof/amf-internals-elements.adb | svn2github/matreshka | 24 | 1125 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
Scripts/NewTerminalWindow.scpt | rxhanson/Charmstone-Community | 3 | 3886 | <filename>Scripts/NewTerminalWindow.scpt
tell application "Terminal"
activate
tell application "System Events"
keystroke "n" using command down
end tell
end tell
|
specs/ada/server/ike/tkmrpc-operation_handlers-ike-tkm_limits.adb | DrenfongWong/tkm-rpc | 0 | 12033 | <filename>specs/ada/server/ike/tkmrpc-operation_handlers-ike-tkm_limits.adb
with Tkmrpc.Servers.Ike;
with Tkmrpc.Response.Ike.Tkm_Limits.Convert;
package body Tkmrpc.Operation_Handlers.Ike.Tkm_Limits is
-------------------------------------------------------------------------
procedure Handle (Req : Request.Da... |
tools-src/gnu/gcc/gcc/ada/4wintnam.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 8777 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
projects/batfish/src/main/antlr4/org/batfish/grammar/arista/Arista_mlag.g4 | adiapel/batfish | 0 | 6577 | parser grammar Arista_mlag;
import Legacy_common;
options {
tokenVocab = AristaLexer;
}
eos_mlag_domain
:
DOMAIN_ID id = variable NEWLINE
;
eos_mlag_local_interface
:
LOCAL_INTERFACE iface = variable NEWLINE
;
eos_mlag_peer_address
:
PEER_ADDRESS HEARTBEAT? ip = IP_ADDRESS NEWLINE
;
eos_mlag_peer_lin... |
programs/oeis/135/A135680.asm | neoneye/loda | 22 | 13984 | ; A135680: a(n) = n if n = 1 or if n is prime. Otherwise, n = 4 if n is even and n = 5 if n is odd.
; 1,2,3,4,5,4,7,4,5,4,11,4,13,4,5,4,17,4,19,4,5,4,23,4,5,4,5,4,29,4,31,4,5,4,5,4,37,4,5,4,41,4,43,4,5,4,47,4,5,4,5,4,53,4,5,4,5,4,59,4,61,4,5,4,5,4,67,4,5,4,71,4,73,4,5,4,5,4,79,4,5,4,83,4,5,4,5,4,89,4,5,4,5,4,5,4,97,4,5... |
ga_lib/src/c3ga_utilities.adb | rogermc2/GA_Ada | 3 | 25264 |
-- with Interfaces;
with Ada.Numerics;
with Ada.Text_IO; use Ada.Text_IO;
with Blade;
with Blade_Types;
with C3GA;
with E3GA;
with GA_Utilities;
with Metric;
-- with Multivector_Type;
package body C3GA_Utilities is
epsilon : constant Float := 10.0 ** (-6);
-- Multivector function exp is implemented in... |
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_137_883.asm | ljhsiun2/medusa | 9 | 169812 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x6b5f, %rsi
lea addresses_A_ht+0x14945, %rdi
nop
nop
nop
nop
add %rax, %rax
mov $74, %rcx
rep movsb
nop
nop
dec %rbx
lea addresses_WT_ht+0x17cb5, %rax
nop
nop
nop
nop
xor $149... |
projects/batfish/src/org/batfish/grammar/routing_table/nxos/NxosRoutingTableParser.g4 | gaberger/batfish | 1 | 1231 | parser grammar NxosRoutingTableParser;
options {
superClass = 'org.batfish.grammar.BatfishParser';
tokenVocab = NxosRoutingTableLexer;
}
@header {
package org.batfish.grammar.routing_table.nxos;
}
@members {
}
double_quoted_string
:
DOUBLE_QUOTE ID? DOUBLE_QUOTE
;
interface_name
:
~COMMA+
;
network
:... |
src/fltk-widgets-groups-input_choices.ads | micahwelf/FLTK-Ada | 1 | 19881 | <filename>src/fltk-widgets-groups-input_choices.ads
with
FLTK.Widgets.Inputs,
FLTK.Widgets.Menus.Menu_Buttons;
package FLTK.Widgets.Groups.Input_Choices is
type Input_Choice is new Group with private;
type Input_Choice_Reference (Data : not null access Input_Choice'Class) is
limited null... |
sources/acme.ads | reznikmm/acme-ada | 3 | 10263 | <reponame>reznikmm/acme-ada
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with League.JSON.Objects;
with League.Strings;
with League.String_Vectors;
with League.Stream_Element_Vectors;
with League.Calendars;
packa... |
src/intel/tools/tests/gen5/else.asm | SoftReaper/Mesa-Renoir-deb | 0 | 91451 | else(8) Jump: 86 Pop: 1 { align1 switch };
else(16) Jump: 86 Pop: 1 { align1 switch };
else(8) Jump: 14 Pop: 1 { align16 switch };
|
programs/oeis/043/A043543.asm | neoneye/loda | 22 | 104144 | ; A043543: Number of distinct base-16 digits of n.
; 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2
mov $1,2
mov $3,1
mov $4,8
lpb $0
mov $2,1
add $2,$0
mov $0,0
mov $1,$4
mul ... |
Tejas-Simulator/PIN/pin-2.14/source/tools/Regvalue/doXsave_intel64.asm | markoshorro/tejas_knl | 17 | 245893 | PUBLIC DoXsave
extern xsaveArea:qword
.code
; void DoXsave();
; This function calls xsave and stores the FP state in the given dst area.
; The caller is expected to allocate enough space for the xsave area.
; The function expects the given dst pointer to be properly aligned for the xsave instruction.
DoXsave PROC
... |
ioctl/IomSetPtrPos.asm | osfree-project/FamilyAPI | 1 | 14660 | ;--------------------------------------------------------
; Category 7 Function 59 Set pointer screen position
;--------------------------------------------------------
;
;Purpose
;Specifies/Replaces the Pointer Position
;Parameter Packet Format
;Fie Id
;Row Position
;Column Position
;Data Packet Format
;None
;Row Posi... |
skype-to-online.applescript | rmehner/workflow | 2 | 1320 | <reponame>rmehner/workflow
tell application "System Events" to set SkypeIsRunning to (count of (every process whose name is "Skype")) > 0
if SkypeIsRunning then
tell application "Skype"
send command "SET USERSTATUS ONLINE" script name "SETSKYPESTATUSTOONLINE"
end tell
end if
|
libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc___fs2sint_callee.asm | dikdom/z88dk | 1 | 98053 | <filename>libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc___fs2sint_callee.asm
SECTION code_fp_am9511
PUBLIC cam32_sdcc___fs2sint_callee
PUBLIC cam32_sdcc___fs2schar_callee
EXTERN asm_am9511_f2sint
EXTERN asm_sdcc_read1_callee
.cam32_sdcc___fs2sint_callee
.cam32_sdcc___fs2schar_callee
call asm_sdcc_read1... |
asm/Lcd_I2C_Lib.asm | JON95Git/ICCP | 1 | 23279 |
_Lcd_I2C_Cmd:
;Lcd_I2C_Lib.c,41 :: void Lcd_I2C_Cmd(char out_char)
;Lcd_I2C_Lib.c,46 :: I2C_byte = out_char & 0xF0;
MOVLW 240
ANDWF FARG_Lcd_I2C_Cmd_out_char+0, 0
MOVWF Lcd_I2C_Cmd_I2C_byte_L0+0
;Lcd_I2C_Lib.c,48 :: I2C1_Start();
CALL _I2C1_Start+0, 0
;Lcd_I2C_Lib.c,49 :... |
dos/DosGetMachineMode.asm | osfree-project/FamilyAPI | 1 | 162740 | <reponame>osfree-project/FamilyAPI<gh_stars>1-10
;/*!
; @file
;
; @ingroup fapi
;
; @brief DosGetMachineMode DOS wrapper
;
; @param MACHINEMODE pointer to BYTE, which will contain mode
;
; @return NO_ERROR
;
; (c) osFree Project 2018, <http://www.osFree.org>
; for licence see licence.txt in root dire... |
danagy/mcmpa.asm | DW0RKiN/Floating-point-Library-for-Z80 | 12 | 83229 | if not defined MCMPA
; Warning: must be included before first use!
; Compare two numbers in absolute value.
; Input: reg1_hi, reg1_lo, reg2_hi, reg2_lo
; Output: set flags for abs(reg1)-abs(reg2)
; Pollutes: AF
; Use: MCMPA B,C,D,E ; flags for abs(BC)-abs(DE)
MCMPA MACRO reg1_hi, reg1_lo, reg2_hi, reg2_l... |
programs/oeis/319/A319390.asm | neoneye/loda | 22 | 4263 | <filename>programs/oeis/319/A319390.asm
; A319390: a(n) = a(n-1) + 2*a(n-2) - 2*a(n-3) - a(n-4) + a(n-5), a(0)=1, a(1)=2, a(2)=3, a(3)=6, a(4)=8.
; 1,2,3,6,8,13,16,23,27,36,41,52,58,71,78,93,101,118,127,146,156,177,188,211,223,248,261,288,302,331,346,377,393,426,443,478,496,533,552,591,611,652,673,716,738,783,806,853,8... |
zos/old/disk.asm | zzh8829/OSPP | 0 | 242561 | <filename>zos/old/disk.asm
; load dh sectors to es:bx from drive dl
loadDisk:
push dx
mov ah, 0x02
mov al, dh
mov ch, 0x00
mov dh, 0x00
mov cl, 0x2
int 0x13
jc loadDiskError
pop dx
cmp dh,al
jne loadDiskError
ret
; Error
loadDiskError:
mov si, MSG_DISK_LOAD_ERROR
call printString16
jmp $
MSG_DIS... |
src/ado-drivers-dialects.ads | Letractively/ada-ado | 0 | 16877 | <reponame>Letractively/ada-ado
-----------------------------------------------------------------------
-- ADO Dialects -- Driver support for basic SQL Generation
-- Copyright (C) 2010, 2011, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may ... |
programs/oeis/171/A171442.asm | neoneye/loda | 22 | 162768 | ; A171442: Expansion of (1+x)^7/(1-x).
; 1,8,29,64,99,120,127,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128
lpb $0
mov $2,7
bin $2,$0
sub $0,1
add $1,$2
lpe
add $1,1
mov $0,... |
src/curve25519_add.ads | joffreyhuguet/curve25519-spark2014 | 4 | 8439 | <filename>src/curve25519_add.ads
with Big_Integers; use Big_Integers;
with Types; use Types;
with Conversion; use Conversion;
package Curve25519_Add with
SPARK_Mode
is
function Add (X, Y : Integer_255) return Integer_255 with
Pre => All_In_Range (X, Y, Min_Add, Max_Add),
Post => +Add'Result = (+X) + (+... |
scripts/flux-hour.scpt | ramrom/rams_dot_files | 2 | 4660 | <reponame>ramrom/rams_dot_files<filename>scripts/flux-hour.scpt<gh_stars>1-10
#!/usr/bin/osascript
-- see https://stackoverflow.com/questions/16492839/applescript-on-clicking-menu-bar-item-via-gui-script
-- tell application "System Events" to tell process "Flux" */
-- tell menu bar item 1 of menu bar 2 */
-- ... |
oeis/213/A213667.asm | neoneye/loda-programs | 11 | 86789 | <gh_stars>10-100
; A213667: Number of dominating subsets with k vertices in all the graphs G(n) (n>=1) obtained by taking n copies of the path P_3 and identifying one of their endpoints (a star with n branches of length 2).
; 1,6,16,40,98,238,576,1392,3362,8118,19600,47320,114242,275806,665856,1607520,3880898,9369318,2... |
src/index.agda | ice1k/Theorems | 1 | 17497 | <reponame>ice1k/Theorems<filename>src/index.agda
module index where
-- natural numbers
--- additions
import Nats.Add.Assoc
using (nat-add-assoc) -- associative law
import Nats.Add.Comm
using (nat-add-comm) -- commutative law
import Nats.Add.Invert
using (nat-add-invert) -- a + a == b + b implies a == b
using (... |
maps/PewterCity.asm | Trap-Master/spacworld97-thingy | 0 | 29257 | object_const_def ; object_event constants
const PEWTERCITY_COOLTRAINER_F
const PEWTERCITY_BUG_CATCHER
const PEWTERCITY_GRAMPS
const PEWTERCITY_FRUIT_TREE1
const PEWTERCITY_FRUIT_TREE2
PewterCity_MapScripts:
db 0 ; scene scripts
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
setflag ENGI... |
alloy4fun_models/trashltl/models/10/DSy5TznP8oGQnHgzJ.als | Kaixi26/org.alloytools.alloy | 0 | 2248 | open main
pred idDSy5TznP8oGQnHgzJ_prop11 {
all f : File | f not in Protected and after f in Protected
}
pred __repair { idDSy5TznP8oGQnHgzJ_prop11 }
check __repair { idDSy5TznP8oGQnHgzJ_prop11 <=> prop11o } |
wof/lcs/base/4BE.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 88338 | copyright zengfr site:http://github.com/zengfr/romhack
001648 move.w A0, -(A4) [base+328]
00164A move.w A4, ($328,A5) [base+4BE]
0084C6 tst.b (A0) [base+4BE]
009240 tst.b (A1) [base+4BE]
copyright zengfr site:http://github.com/zengfr/romhack
|
test/Succeed/Issue1726.agda | cruhland/agda | 1,989 | 8308 | <filename>test/Succeed/Issue1726.agda
postulate
U V W X Y Z : Set
u : U
v : V
w : W
x : X
y : Y
z : Z
module Top (u : U) where
module A (v : V) where
module M (w : W) where
module O (x : X) where
postulate O : X
postulate O : X
module B (y : Y) where
open A public
module Tes... |
transpiler/grammar/AuthnFlow.g4 | jgomer2001/flowless | 0 | 2598 | <filename>transpiler/grammar/AuthnFlow.g4<gh_stars>0
grammar AuthnFlow;
/*
* Fix for Python-like indentation tokens. See https://github.com/yshavit/antlr-denter
*/
tokens { INDENT, DEDENT }
@lexer::header {
import com.yuvalshavit.antlr4.DenterHelper;
}
@lexer::members {
private final DenterHelper denter = Den... |
Chapter_7/Program 7.2/x86_64/Program_7.2_NASM.asm | chen150182055/Assembly | 272 | 22806 | ; Program 7.2
; SCAS - NASM (64-bit)
; Copyright (c) 2019 Hall & Slonka
SECTION .data
src: DB "Test sentence",0
lenSrc: EQU ($ - src)
search: DB "s"
SECTION .text
global _main
_main:
xor rax, rax
mov al, [rel search]
lea rdi, [rel src]
mov rcx, lenSrc
cld
repne scasb
; after SCAS, test for success
jnz notfound
; f... |
alloy4fun_models/trashltl/models/11/hh6wkq57tXxQqXrRF.als | Kaixi26/org.alloytools.alloy | 0 | 4339 | <gh_stars>0
open main
pred idhh6wkq57tXxQqXrRF_prop12 {
some t : Trash | after t not in Trash
}
pred __repair { idhh6wkq57tXxQqXrRF_prop12 }
check __repair { idhh6wkq57tXxQqXrRF_prop12 <=> prop12o } |
oeis/111/A111059.asm | neoneye/loda-programs | 11 | 162697 | <gh_stars>10-100
; A111059: Product{k=1 to n} (A005117(k)), the product of the first n squarefree positive integers.
; Submitted by <NAME>
; 1,2,6,30,180,1260,12600,138600,1801800,25225200,378378000,6432426000,122216094000,2566537974000,56463835428000,1298668214844000,33765373585944000,979195833992376000,29375875019771... |
source/nodes/program-nodes-subtype_declarations.adb | reznikmm/gela | 0 | 26347 | <filename>source/nodes/program-nodes-subtype_declarations.adb<gh_stars>0
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Subtype_Declarations is
function Create
(Subtype_Token : n... |
oeis/074/A074580.asm | neoneye/loda-programs | 11 | 7955 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A074580: a(n) = 7^n + 8^n + 9^n.
; Submitted by <NAME>
; 3,24,194,1584,13058,108624,911234,7703664,65588738,561991824,4843001474,41948320944,364990300418,3188510652624,27953062038914,245823065693424,2167728096132098,19161612027339024,169737447404391554,15063658009342211... |
8088/cga/artifact/artifact.asm | reenigne/reenigne | 92 | 8138 | <gh_stars>10-100
%include "../../defaults_bin.asm"
; Set graphics mode
mov ax,6
int 0x10
mov al,0x1a
mov dx,0x3d8
out dx,al
mov al,0x0f
mov dx,0x3d9
out dx,al
; Draw pattern in graphics memory
mov ax,0xb800
mov es,ax
screenLoop:
mov di,0
cld
rowLoop:
mov cx,200
lineLoop:
push c... |
parsers/src/main/goslin/SumFormula.g4 | lifs-tools/jg | 4 | 4472 | ////////////////////////////////////////////////////////////////////////////////
// MIT License
//
// Copyright (c) the authors (listed in global LICENSE file)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to ... |
programs/oeis/074/A074501.asm | karttu/loda | 1 | 5319 | ; A074501: a(n) = 1^n + 2^n + 5^n.
; 3,8,30,134,642,3158,15690,78254,390882,1953638,9766650,48830174,244144722,1220711318,6103532010,30517610894,152587956162,762939584198,3814697527770,19073486852414,95367432689202,476837160300278
mov $1,5
pow $1,$0
mov $2,2
pow $2,$0
add $1,$2
add $1,1
|
oeis/110/A110129.asm | neoneye/loda-programs | 11 | 173181 | <filename>oeis/110/A110129.asm
; A110129: Central coefficients of a scaled Legendre triangle.
; Submitted by <NAME>
; 1,2,22,504,16966,752800,41492284,2734083968,209681631814,18348172005888,1804161160185748,196945525458761728,23633625832975567644,3092337510752711057408,438161926888980929318584
mov $4,$0
add $0,2
lpb $... |
Cubical/Data/FinSet/Base.agda | howsiyu/cubical | 0 | 12717 | {-
Definition of finite sets
There are may different formulations of finite sets in constructive mathematics,
and we will use Bishop finiteness as is usually called in the literature.
-}
{-# OPTIONS --safe #-}
module Cubical.Data.FinSet.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundat... |
lib/libc.asm | untoxa/RGBDK | 1 | 164103 |
SECTION "LibC", ROM0
_printf::
ret
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.