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 |
|---|---|---|---|---|
programs/oeis/049/A049068.asm | neoneye/loda | 22 | 92401 | ; A049068: Complement of quarter-squares (A002620).
; 3,5,7,8,10,11,13,14,15,17,18,19,21,22,23,24,26,27,28,29,31,32,33,34,35,37,38,39,40,41,43,44,45,46,47,48,50,51,52,53,54,55,57,58,59,60,61,62,63,65,66,67,68,69,70,71,73,74,75,76,77,78,79,80,82,83,84,85,86,87,88,89,91,92,93,94,95,96,97,98,99,101,102,103,104,105,106,107... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_m_getdrv.asm | Toysoft/z88dk | 0 | 12442 | <gh_stars>0
; unsigned char esx_m_getdrv(void)
SECTION code_esxdos
PUBLIC esx_m_getdrv
EXTERN asm_esx_m_getdrv
defc esx_m_getdrv = asm_esx_m_getdrv
|
test/asset/agda-stdlib-1.0/Data/Vec/All/Properties.agda | omega12345/agda-mode | 0 | 2132 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED. Please use
-- Data.Vec.Relation.Unary.All.Properties directly.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.... |
boot/print_32.asm | PhylumChordata/guess-the-number | 3 | 160574 | <gh_stars>1-10
[bits 32] ; using 32-bit protected mode
VIDEO_MEMORY equ 0xb8000
WHITE_OB_BLACK equ 0x0f ; color bytes
print_string_pm:
pusha
mov edx, VIDEO_MEMORY
print_string_pm_loop:
mov al, [ebx] ; address of char
mov ah, WHITE_OB_BLACK
cmp al, 0 ; check if end of string
je print_string_p... |
source/xml/sax/matreshka-internals-xml-symbol_tables.adb | svn2github/matreshka | 24 | 6700 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
Transynther/x86/_processed/NONE/_ht_st_zr_un_xt_/i7-7700_9_0x48.log_21829_1007.asm | ljhsiun2/medusa | 9 | 4480 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xa59, %rsi
lea addresses_D_ht+0x8519, %rdi
nop
nop
nop
nop
add $15115, %r10
mov $20, %rcx
rep movsl
add $28646, %rcx
lea addresses_WC_ht+0x13bf1, %rsi
lea addresses_A_ht+0x12... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1708.asm | ljhsiun2/medusa | 9 | 177792 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x18158, %rsi
lea addresses_UC_ht+0x18624, %rdi
nop
nop
nop
sub $16420, %r10
mov $79, %rcx
rep movsq
nop
nop
nop
nop
nop
cmp $17692, %r15
lea addresses_A_ht+0x1... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_972.asm | ljhsiun2/medusa | 9 | 7478 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xe13, %r14
add $12677, %rsi
and $0xffffffffffffffc0, %r14
vmovaps (%r14), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $0, %xmm5, %rdx
nop
nop
nop
nop
and %rcx, %rcx
lea addre... |
codes/assembly/step/ch08/eatsyscall.asm | zhoujiagen/learning-system-programming | 0 | 3977 | <gh_stars>0
; An example of call Linux system call
SECTION .data
EatMsg: db "Eat at Joe's!", 10, "Ten million files can't ALL be wrong!", 10
EatLen: equ $-EatMsg
SECTION .text
global _start
_start:
mov eax, 4
mov ebx, 1
mov ecx, EatMsg
mov edx, EatLen
int 80H
mov eax, 1
mov ebx, 0
int... |
org.alloytools.alloy.diff/misc/inheritance/extends1v2.als | jringert/alloy-diff | 1 | 1172 | <filename>org.alloytools.alloy.diff/misc/inheritance/extends1v2.als
sig A {
f1 : some A
}
sig B extends A {
}
run {}
|
asmlib/system.nasm | fengjixuchui/napoca | 170 | 1875 | <reponame>fengjixuchui/napoca
;
; Copyright (c) 2020 Bitdefender
; SPDX-License-Identifier: Apache-2.0
;
%ifndef _SYSTEM_YASM_
%define _SYSTEM_YASM_
%include "macros.nasm"
%include "if.nasm"
%include "struct.nasm"
%ifdef DOC_FILE
system.nasm - Contains generic definitions of data types, data structures and macro... |
getTrack.scpt | yamachaaan/gst_itunes | 0 | 2332 | <filename>getTrack.scpt
#!/usr/bin/osascript
if application "iTunes" is running
tell application "iTunes"
if (player state as string) is "playing" then
set nowPlaying to "♫ "
else
set nowPlaying to ""
end if
set trackName to name of current track
return trackName
end tell
else
... |
libsrc/input/excali64/in_Inkey.asm | jpoikela/z88dk | 640 | 16474 | <gh_stars>100-1000
; uint in_Inkey(void)
; 03.2019 suborb
; Read current state of keyboard but only return
; keypress if a single key is pressed.
SECTION code_clib
PUBLIC in_Inkey
PUBLIC _in_Inkey
EXTERN in_keytranstbl
EXTERN in_rowtable
EXTERN l_push_di
EXTERN l_pop_ei
INCLUDE "target/cpm/def/excali64.def"
; exit ... |
source/textio/a-ztinio.ads | ytomino/drake | 33 | 25063 | <filename>source/textio/a-ztinio.ads
pragma License (Unrestricted);
-- separated and auto-loaded by compiler
private generic
type Num is range <>;
package Ada.Wide_Wide_Text_IO.Integer_IO is
Default_Width : Field := Num'Width;
Default_Base : Number_Base := 10;
-- procedure Get (
-- File : File_Type; -- ... |
smsq/atari/disptype.asm | olifink/smsqe | 0 | 164178 | <reponame>olifink/smsqe
; ATARI determine display hardware type 1993 <NAME>
section init
xdef at_disptype
xref gu_exvt
include 'dev8_keys_atari'
include 'dev8_keys_atari_tt'
include 'dev8_keys_68000'
include 'dev8_keys_sys'
include 'dev8_smsq_smsq_config_keys'
include 'dev8_smsq_smsq_base_keys'
;... |
src/lib/math/floor.asm | germix/sanos | 57 | 24269 | ;-----------------------------------------------------------------------------
; floor.asm - floating point floor
; Ported from <NAME>'s free C Runtime Library
;-----------------------------------------------------------------------------
SECTION .text
global floor
glo... |
programs/oeis/211/A211905.asm | jmorken/loda | 1 | 24138 | ; A211905: Number of lower triangular n X n arrays colored with integers 0 upwards introduced in row major order, with no element equal to any horizontal or vertical neighbor, and containing the value n(n+1)/2-2.
; 0,2,10,34,86,181,337,575,919,1396,2036,2872,3940,5279,6931,8941,11357,14230,17614,21566,26146,31417,37445... |
src/print.asm | MachineThing/DOS_Demo | 0 | 102431 | <filename>src/print.asm
[bits 16]
section .text
global _puts
_puts:
mov si,bx
mov bx, 0007h ; DisplayPage 0, GraphicsColor 7 (white)
jmp .fetch
.print:
mov ah, 0eh ; Write character to TTY
int 10h
.fetch:
lodsb ; Read a character from si and puts it into al
test al, al ; Is al == 0?
... |
oap-server/oal-grammar/src/main/antlr4/org/apache/skywalking/oal/rt/grammar/OALParser.g4 | McrhDG/skywalking | 0 | 2816 | <filename>oap-server/oal-grammar/src/main/antlr4/org/apache/skywalking/oal/rt/grammar/OALParser.g4
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* T... |
Bank_H/3_startinit.asm | ndf-zz/fv1testing | 0 | 244383 | ; FV-1 Testing
;
; Program: Prepare Test 4
;
or 0x7fffff
skp RUN,main
wrax REG0,1.0
main: wrax DACL,0.0
ldax REG0
wrax DACR,0.0
|
Base/Prod.agda | DDOtten/M-types | 0 | 777 | <filename>Base/Prod.agda
{-# OPTIONS --without-K #-}
open import M-types.Base.Core
module M-types.Base.Prod where
∏ : (X : Ty ℓ₀) → (Y : X → Ty ℓ₁) → Ty (ℓ-max ℓ₀ ℓ₁)
∏ X Y = (x : X) → Y x
∏-syntax : (X : Ty ℓ₀) → (Y : X → Ty ℓ₁) → Ty (ℓ-max ℓ₀ ℓ₁)
∏-syntax = ∏
infix 2 ∏-syntax
syntax ∏-sy... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd5013a.ada | best08618/asylo | 7 | 19239 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd5013a.ada
-- CD5013A.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... |
agda/MorePropAlgebra/Properties/Group.agda | mchristianl/synthetic-reals | 3 | 10719 | <reponame>mchristianl/synthetic-reals
{-# OPTIONS --cubical --no-import-sorts #-}
open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc)
open import Function.Base using (_∋_)
import Cubical.Algebra.Group as Std
-- import Cubical.Structures.Group.Properties
open import MorePropAlgebra.Bun... |
Structure/Real/Continuity.agda | Lolirofle/stuff-in-agda | 6 | 14452 | <reponame>Lolirofle/stuff-in-agda
-- TODO: Move these to stuff related to metric spaces
module Continuity where
open Limit
-- Statement that the point x of function f is a continous point
ContinuousPoint : (ℝ → ℝ) → ℝ → Stmt
ContinuousPoint f(x) = (⦃ limit : Lim f(x) ⦄ → (lim f(x)⦃ limit ⦄ ≡ f(x)))
-- Stat... |
tools-src/gnu/gcc/gcc/ada/prj-com.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 6008 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Projects/HideDesktop/HideDesktop/HideDesktop.asm | Zalexanninev15/ALP | 0 | 83955 | ; License: https://github.com/Zalexanninev15/ALP/blob/main/LICENSE
format PE GUI 4.0
entry start
include 'includes\win32a.inc'
section '.data' data readable writeable
szProg db 'ProgMan',0
section '.code' code readable executable
start:
invoke FindWindow,szProg,NULL
invoke GetWindow,eax,GW_... |
lxc/tests/test64.nasm | g-w1/piston | 0 | 81412 | <reponame>g-w1/piston
SECTION .data
good: db "good", 0x0a, 0x0
txtlen: equ $ - good
SECTION .text
GLOBAL _start
_start:
;sys_write
mov rax, 1
mov rdi, 1
mov rsi, good
mov rdx, txtlen
syscall
;sys_exit
mov rax, 60
mov rdi, 0
syscall
|
src/DualTail1.agda | peterthiemann/dual-session | 1 | 12512 | module DualTail1 where
open import Data.Nat
open import Data.Fin using (Fin; zero; suc)
open import Data.Product
open import Function using (id; _∘_)
open import Relation.Binary.PropositionalEquality using (_≡_; refl)
open import Types.Direction
open import Types.IND1 as IND hiding (GType; Type; SType; _≈_; _≈'_)
... |
test/Fail/Issue2935.agda | shlevy/agda | 1,989 | 13961 | module Issue2935 where
data ℕ : Set where
zero : ℕ
suc : ℕ → ℕ
bad : ℕ → ℕ
bad zero = zero
bad suc = zero
|
demo-falling.asm | billyrayvalentine/asm68k-megadrive-demo-falling | 1 | 95365 | /*
* demo-falling.asm
* Written for use with GNU AS
* Copyright © 2020 <NAME> <github.com/billyrayvalentine>
* 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 COPYING file for more ... |
resources/scripts/api/threatminer.ads | Elon143/Amass | 7,053 | 14249 | <reponame>Elon143/Amass<gh_stars>1000+
-- Copyright 2020-2021 <NAME>. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local url = require("url")
local json = require("json")
name = "ThreatMiner"
type = "api"
function start()
set_rate_limit(8)... |
ejercicios6/calcular_maximo_y_posicion.adb | iyan22/AprendeAda | 0 | 18804 | <gh_stars>0
with Datos;
use Datos;
procedure Calcular_Maximo_Y_Posicion ( L : in Lista; Max, Pos_Max : out Integer ) is
-- pre:
-- post: Max contendra el mayor valor de L y Pos_max su posicion
-- Si L es vacia entonces Pos_Max vale cero
LCopia : Lista;
Pos : Integer;
begin
LCopia := L;
Max := 0... |
oeis/079/A079322.asm | neoneye/loda-programs | 11 | 166063 | <reponame>neoneye/loda-programs<filename>oeis/079/A079322.asm
; A079322: Composite numbers of the form 1^1 * 2^2 * 3^3 * 4^4 * ... * n^n + 11.
; Submitted by <NAME>
; 12,15,119,27659,86400011,4031078400011,3319766398771200011,55696437941726556979200011,21577941222941856209168026828800011,2157794122294185620916802682880... |
src/utils.adb | thindil/steamsky | 80 | 28136 | <reponame>thindil/steamsky
-- Copyright 2017-2021 <NAME>
--
-- This file is part of Steam Sky.
--
-- Steam Sky 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 3 of the License, ... |
test/asset/agda-stdlib-1.0/Data/Vec/Categorical.agda | omega12345/agda-mode | 0 | 6853 | <reponame>omega12345/agda-mode<gh_stars>0
------------------------------------------------------------------------
-- The Agda standard library
--
-- A categorical view of Vec
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Vec.Categorical {a n} ... |
oeis/066/A066268.asm | neoneye/loda-programs | 11 | 4159 | <filename>oeis/066/A066268.asm
; A066268: Product of first n primorials - 1.
; Submitted by <NAME>
; 1,11,359,75599,174635999,5244319079999,2677277333530799999,25968760179275365451999999,5793445238736255798985527239999999,37481813439427687898244906452608585199999999,75173708743728381515646680049111774647578640759999999... |
source/mpc-root_c.adb | ytomino/gmp-ada | 4 | 922 | with MPFR.Root_FR.Inside;
with System;
with C.mpfr;
with C.string;
package body MPC.Root_C is
use type C.signed_int;
procedure memcpy (dst, src : System.Address; n : C.size_t)
with Import, Convention => Intrinsic, External_Name => "__builtin_memcpy";
-- implementation
function Re (X : MP_Complex) return MPF... |
src/curve.adb | alkhimey/Ada_Curve | 5 | 28225 | -- The MIT License (MIT)
--
-- Copyright (c) 2015-2017 <EMAIL>
--
-- 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 u... |
Relator/Category.agda | Lolirofle/stuff-in-agda | 6 | 10458 | <gh_stars>1-10
module Relator.Category where
open import Data
open import Data.Tuple
import Lvl
open import Structure.Categorical.Properties
open import Structure.Category
open import Structure.Operator
open import Type
private variable ℓ : Lvl.Level
|
Basic/Compiler/Test.agda | AndrasKovacs/SemanticsWithApplications | 8 | 12135 |
module Basic.Compiler.Test where
open import Basic.AST
open import Basic.Compiler.Code
open import Basic.Compiler.Machine
open import Basic.BigStep
open import Data.Fin
open import Data.Nat
open import Data.Vec
open import Data.Product
open import Data.Bool
open import Data.List
open Basic.BigStep.Fac
{- Just a sa... |
alloy4fun_models/trashltl/models/13/GFxzFCGzj3tQTTbFP.als | Kaixi26/org.alloytools.alloy | 0 | 123 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idGFxzFCGzj3tQTTbFP_prop14 {
all f:File | f in Protected&Trash implies after (f in Trash-Protected)
}
pred __repair { idGFxzFCGzj3tQTTbFP_prop14 }
check __repair { idGFxzFCGzj3tQTTbFP_prop14 <=> prop14o } |
a51test/(02)LJMP_a16.a51 | Aimini/51cpu | 0 | 10489 | ;LJMP addr16
LJMP 0x10
cseg at 0x10
mov a,#1
LJMP 0xFF00
cseg at 0xF0
mov a,#0xFF
LJMP 0x10
cseg at 0xff00
mov a,#0xF
LJMP 0xFFFB
cseg at 0xFFFB
mov a,#0xF0
LJMP 0xF0
|
src/L/Data/Bool.agda | borszag/smallib | 0 | 8066 | <reponame>borszag/smallib
module L.Data.Bool where
-- Reexport definitions
open import L.Data.Bool.Core public
open import L.Data.Bool.Properties public
-- Functions on Bools
infix 7 not_
infixr 6 _∧_
infixr 5 _∨_ _xor_
not_ : Bool → Bool
not x = if (λ _ → Bool) ff tt x
_∧_ : Bool → Bool → Bool
x ∧ y = if (λ _ → B... |
bot/src/main/antlr4/co/edu/javeriana/bot/Bot.g4 | imalready/Bot_LenguajesP | 0 | 3566 | grammar Bot;
@header {
import org.jpavlich.bot.*;
import java.util.Map;
import java.util.HashMap;
import co.edu.javeriana.bot.ast.*;
}
@parser::members {
private Bot bot;
public BotParser(TokenStream input, Bot bot) {
this(input);
this.bot = bot;
}
Map<String, Object> symbolTable = new HashMap<String, Obj... |
alloy4fun_models/trainstlt/models/6/dkHGCXPEySQtPBx68.als | Kaixi26/org.alloytools.alloy | 0 | 1414 | open main
pred iddkHGCXPEySQtPBx68_prop7 {
all t : Train | always (eventually t.pos not in Entry)
}
pred __repair { iddkHGCXPEySQtPBx68_prop7 }
check __repair { iddkHGCXPEySQtPBx68_prop7 <=> prop7o } |
homotopy/SuspAdjointLoop.agda | danbornside/HoTT-Agda | 0 | 1519 | <filename>homotopy/SuspAdjointLoop.agda
{-# OPTIONS --without-K #-}
open import HoTT
module homotopy.SuspAdjointLoop where
module SuspAdjointLoop {i j} (X : Ptd i) (Y : Ptd j) where
private
A = fst X; a₀ = snd X
B = fst Y; b₀ = snd Y
R : {b : B}
→ Σ (Suspension A → B) (λ h → h (north A) == b)
→... |
examples/functions_example.adb | jhumphry/aLua | 0 | 22662 | <reponame>jhumphry/aLua
-- Functions_Example
-- A example of using the Ada 2012 interface to Lua for functions / closures etc
-- Copyright (c) 2015, <NAME> - see LICENSE for terms
with Ada.IO_Exceptions;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Long_Float_Text_IO; use Ada.Long_Float_Text_IO;
with Ada.Characters.La... |
src/main/fragment/mos6502-common/vwum1=pwuz2_derefidx_vbuyy_ror_8.asm | jbrandwood/kickc | 2 | 164027 | lda #0
sta {m1}+1
iny
lda ({z2}),y
sta {m1} |
src/keystore-passwords-keys.adb | thierr26/ada-keystore | 25 | 9591 | <reponame>thierr26/ada-keystore<filename>src/keystore-passwords-keys.adb<gh_stars>10-100
-----------------------------------------------------------------------
-- keystore-passwords-keys -- Key provider
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0... |
Structure/Category/CoMonad.agda | Lolirofle/stuff-in-agda | 6 | 13131 | open import Structure.Setoid
open import Structure.Category
open import Type
module Structure.Category.CoMonad
{ℓₒ ℓₘ ℓₑ}
{cat : CategoryObject{ℓₒ}{ℓₘ}{ℓₑ}}
where
import Function.Equals
open Function.Equals.Dependent
open import Functional.Dependent using () renaming (_∘_ to _∘ᶠⁿ_)
import Lvl
o... |
programs/oeis/017/A017730.asm | neoneye/loda | 22 | 84566 | ; A017730: Binomial coefficients C(n,66).
; 1,67,2278,52394,916895,13019909,156238908,1629348612,15071474661,125595622175,954526728530,6681687099710,43430966148115,263926640438545,1508152231077400,8144022047817960,41738112995067045,203780198740621455,950974260789566790,4254358535111219850,18293741700978245355,757883584... |
oeis/133/A133479.asm | neoneye/loda-programs | 11 | 21611 | <gh_stars>10-100
; A133479: a(n) = a(n-1) + 8*a(n-2) for n >= 2, a(0)=1, a(1)=2.
; Submitted by <NAME>(s4)
; 1,2,10,26,106,314,1162,3674,12970,42362,146122,485018,1653994,5534138,18766090,63039194,213167914,717481466,2422824778,8162676506,27545274730,92846686778,313208884618,1055982378842,3561653455786
mov $1,1
mov $3... |
Task/Pointers-and-references/Ada/pointers-and-references-8.ada | LaudateCorpus1/RosettaCodeData | 1 | 2235 | <reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10
type Container is array (Positive range <>) of Element;
for Item of Container loop
Do_Something(Item);
end loop;
|
smsq/sms/injb.asm | olifink/smsqe | 0 | 13430 | ; Get information on a job V2.00 1986 <NAME> QJUMP
section sms
xdef sms_injb ; information on job
xdef sms_nxjb ; next job in tree
xref sms_ckjx ; check job exists
xref sms_ckid ; check job id
... |
examples/main2.adb | jorge-real/TTS | 1 | 17132 | <reponame>jorge-real/TTS
with TTS_Example2;
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Real_Time;
with Ada.Text_IO; use Ada.Text_IO;
procedure Main2 is
begin
TTS_Example2.Main;
delay until Ada.Real_Time.Time_Last;
exception
when E : others =>
Put_Line (Exception_Message (E));
end Main2;
|
libsrc/games/zxvgs/joystick.asm | grancier/z180 | 0 | 25404 | <reponame>grancier/z180
;
; Game device library for the ZX Spectrum
; <NAME> - 20/8/2001
;
; $Id: joystick.asm,v 1.5 2016/06/16 20:23:52 dom Exp $
;
INCLUDE "zxvgs.def"
SECTION code_clib
PUBLIC joystick
PUBLIC _joystick
.joystick
._joystick
;__FASTALL__ : joystick no. in HL
ld a,l
c... |
pwnlib/shellcraft/templates/mips/linux/listen.asm | DrKeineLust/pwntools | 8,966 | 7128 | <reponame>DrKeineLust/pwntools
<%
from pwnlib.shellcraft import mips
from pwnlib.util.net import sockaddr
%>
<% from socket import htons %>
<%page args="port, network='ipv4'"/>
<%docstring>
listen(port,network)
Listens on a TCP port, accept a client and leave his socket in $s0.
Port is the TCP por... |
source/core/lace.ads | reznikmm/lace | 0 | 26815 | <reponame>reznikmm/lace<filename>source/core/lace.ads
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package Lace is
pragma Pure;
end Lace; |
mapping.g4 | fhir-ru/built-test | 0 | 4350 | /**
* Define a grammar called FhirMapper
*/
grammar FhirMapper;
@header {
package com.cognitive.utilities;
}
// starting point for parsing a mapping file
mappingUnit
:
keyMap conceptMap* keyUses+ (keyImports)* group
;
keyMap
:
'map' structureMap '=' quotedString
;
keyUses
:
'uses' structureD... |
Task/Rate-counter/Ada/rate-counter.ada | LaudateCorpus1/RosettaCodeData | 1 | 12845 | <filename>Task/Rate-counter/Ada/rate-counter.ada
with System; use System;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Calendar; use Ada.Calendar;
with Ada.Unchecked_Deallocation; use Ada;
with Interfaces;
procedure Rate_Counter is
pragma Priority (Max_Priority);
... |
arch/ARM/STM32/svd/stm32wl5x_cm0/stm32_svd-rcc.ads | morbos/Ada_Drivers_Library | 2 | 21484 | <gh_stars>1-10
-- This spec has been automatically generated from STM32WL5x_CM0P.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.RCC is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CR... |
programs/oeis/168/A168462.asm | neoneye/loda | 22 | 103495 | <filename>programs/oeis/168/A168462.asm
; A168462: a(n) = n^5*(n^8 + 1)/2.
; 0,1,4112,797283,33554944,610353125,6530350896,48444513607,274877923328,1270932943689,5000000050000,17261356152491,53496602813952,151437553481773,396857386895984,973097534559375,2251799814209536,4952289017162897,10411482433780368,21026491732366... |
2-low/neural/source/neural-forge.adb | charlie5/lace | 20 | 11657 | with ada.unchecked_Deallocation;
with Ada.Sequential_IO;
with Ada.Text_IO;
package body Neural.Forge
--
--
--
is
type Signals_view is access all Signals;
procedure free is new ada.unchecked_Deallocation (Signals, Signals_view);
-- Pattern
--
procedure Destroy (Self : in out Patt... |
programs/oeis/070/A070098.asm | neoneye/loda | 22 | 10191 | ; A070098: Number of integer triangles with perimeter n which are acute and isosceles.
; 0,0,1,0,1,1,1,1,2,2,2,2,3,2,3,3,4,3,4,4,4,4,5,4,5,5,6,5,6,6,6,6,7,7,7,7,8,7,8,8,8,8,9,9,9,9,10,9,10,10,11,10,11,11,11,11,12,12,12,12,13,12,13,13,13,13,14,14,14,14,15,14,15,15,16,15,16,16,16,16,17,16,17,17,18,17,18,18,18,18,19,19,19... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_756.asm | ljhsiun2/medusa | 9 | 88796 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r15
push %r8
push %r9
push %rbx
push %rsi
// Store
lea addresses_normal+0x149cf, %rbx
nop
nop
and %r10, %r10
mov $0x5152535455565758, %r15
movq %r15, %xmm0
movups %xmm0, (%rbx)... |
multimedia/mythtv-core.25/files/Myth_Frontend.applescript | telotortium/macports-ports | 0 | 2193 | <filename>multimedia/mythtv-core.25/files/Myth_Frontend.applescript
(* Applescript to run 'Unix' version of mythfronted
For use with MacPorts install of Myth
Author: <NAME>, ctreleaven at cogeco.ca
Version: 0.25.0
Modified: 2012May15
2012Nov20 -- handle 'thread not shut down error' on exit, add --quiet to p... |
source/amf/mof/amf-internals-tables-amf_types.ads | svn2github/matreshka | 24 | 19082 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
alloy4fun_models/trashltl/models/16/H6f5Zsn3NHW9gKmF9.als | Kaixi26/org.alloytools.alloy | 0 | 4208 | open main
pred idH6f5Zsn3NHW9gKmF9_prop17 {
all f: File |always f in Trash implies always f' not in File and f' not in Trash
}
pred __repair { idH6f5Zsn3NHW9gKmF9_prop17 }
check __repair { idH6f5Zsn3NHW9gKmF9_prop17 <=> prop17o } |
unit_tests/static-tests/common/memory.oob3.error.asm | undisbeliever/untech-engine | 34 | 27378 | <gh_stars>10-100
// Allocate block outside the ROM_SIZE area
define MEMORY_MAP = HIROM
define ROM_SIZE = 16
include "../../../src/common/memory.inc"
createDataBlock(data, 0xe00000, 0xe0ffff) // ERROR
|
ada-tags.ads | mgrojo/adalib | 15 | 19986 | <reponame>mgrojo/adalib<gh_stars>10-100
-- Standard Ada library specification
-- Copyright (c) 2003-2018 <NAME> <<EMAIL>>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1... |
test/Succeed/Issue4166.agda | cagix/agda | 1,989 | 15405 | <filename>test/Succeed/Issue4166.agda
open import Agda.Builtin.Bool
open import Issue4166.Import {b = true} as A′
it : ⦃ Bool ⦄ → Bool
it ⦃ b ⦄ = b
b : Bool
b = it
|
8088/demo/cga/span/asm/halfsine.asm | reenigne/reenigne | 92 | 241570 | <reponame>reenigne/reenigne<filename>8088/demo/cga/span/asm/halfsine.asm
halfSine:
dw 0x0000, 0x0000, 0x0000, 0x0001, 0x0001, 0x0001, 0x0002, 0x0002
dw 0x0003, 0x0003, 0x0003, 0x0004, 0x0004, 0x0005, 0x0005, 0x0005
dw 0x0006, 0x0006, 0x0007, 0x0007, 0x0007, 0x0008, 0x0008, 0x0009
dw 0x0009, 0x0009, 0x000a, 0x00... |
llvm-gcc-4.2-2.9/gcc/ada/g-alvety.ads | vidkidz/crossbridge | 1 | 18791 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
sk/sfx/44.asm | Cancer52/flamedriver | 9 | 22787 | Sound_44_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Sound_44_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cFM5, Sound_44_FM5, $EE, $00
; FM5 Data
Sound_44_FM5:
smpsSetvoice $00
smpsModSet $03, $01, $32, $2B
dc.b nB2, $20
smpsStop
Sound_44_Voices:
; Voice... |
Transynther/x86/_processed/AVXALIGN/_st_zr_un_sm_/i9-9900K_12_0xa0_notsx.log_253_1049.asm | ljhsiun2/medusa | 9 | 94400 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x61bd, %rsi
lea addresses_A_ht+0x13822, %rdi
xor %rbp, %rbp
mov $78, %rcx
rep movsl
and %rdx, %rdx
lea addresses_normal_ht+0xfd5d, %rsi
lea addresses_WT_ht+0x5... |
scripts/code_cc__rasterize_horiz_line.asm | artyompal/C-compiler | 4 | 174615 | <filename>scripts/code_cc__rasterize_horiz_line.asm
__rasterize_horiz_line proc
push ebp
mov ebp,esp
sub esp,64
push edi
push esi
push ebx
movss xmm7,dword ptr [ebp+32]
movss xmm6,dword ptr [ebp+28]
movss xmm5,dwo... |
llvm-gcc-4.2-2.9/gcc/ada/sem_warn.adb | vidkidz/crossbridge | 1 | 11953 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
src/asf-components.ads | My-Colaborations/ada-asf | 0 | 3647 | -----------------------------------------------------------------------
-- components -- Component tree
-- Copyright (C) 2009, 2010, 2011 <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.
-... |
src/01-Clean-Memory/cleanmem.asm | HudsonSchumaker/Atari-2600 | 0 | 27302 | ; <NAME>
; SchumakerTeam Lab
processor 6502
seg code
org $F000 ; define the code origin at $F000
Start:
sei ; disable interrupts
cld ; disable the BCD decimal math mode
ldx #$FF ; loads the X register with #$FF
txs ; transfer X register to ... |
src/Capability.agda | d-plaindoux/colca | 2 | 6355 | <filename>src/Capability.agda
module Capability where
open import Relation.Nullary
using (yes; no)
open import Data.List
using (List; []; [_]; _∷_; _++_)
open import Data.String
using (String; _≟_)
open import Relation.Binary.PropositionalEquality
using (_≢_; refl; _≡_)
-- Local modules -------... |
programs/oeis/007/A007291.asm | neoneye/loda | 22 | 86939 | ; A007291: Series expansion for rectilinear polymers on square lattice.
; 7,63,254,710,1605,3157,5628,9324,14595,21835,31482,44018,59969,79905,104440,134232,169983,212439,262390,320670,388157,465773,554484,655300,769275,897507,1041138,1201354,1379385
mov $3,$0
add $3,1
mov $7,$0
lpb $3
mov $0,$7
sub $3,1
sub $0,... |
src/main/antlr4/FilterTokens.g4 | adrianiacobghiula/spring-filter | 109 | 1429 | lexer grammar FilterTokens;
LIKE: '~';
EQUAL: ':';
NOT_EQUAL: '!';
GREATER_THAN: '>';
GREATER_THAN_OR_EQUAL: '>:';
LESS_THAN: '<';
LESS_THAN_OR_EQUAL: '<:';
AND: 'AND' | 'and';
OR: 'OR' | 'or';
NOT: 'NOT' | 'not';
IN: 'IN' | 'in';
IS_NULL: 'IS NULL' | 'is null';
IS_NOT_NULL: 'IS NOT NULL' | 'is not null';
IS_EMPTY:... |
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/antlr4/imports/mysql/Symbol.g4 | qq5132834/shardingsphere-4-1-1 | 0 | 5888 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
oeis/181/A181894.asm | neoneye/loda-programs | 11 | 18437 | <reponame>neoneye/loda-programs
; A181894: Sum of factors from A050376 in Fermi-Dirac representation of n.
; Submitted by <NAME>
; 0,2,3,4,5,5,7,6,9,7,11,7,13,9,8,16,17,11,19,9,10,13,23,9,25,15,12,11,29,10,31,18,14,19,12,13,37,21,16,11,41,12,43,15,14,25,47,19,49,27,20,17,53,14,16,13,22,31,59,12,61,33,16,20,18,16,67,21,... |
data/maps/headers/Museum1F.asm | opiter09/ASM-Machina | 1 | 80205 | <filename>data/maps/headers/Museum1F.asm
map_header Museum1F, MUSEUM_1F, MUSEUM, 0
end_map_header
|
win32/VC10/Win32/libxml2_Release/xmlwriter.asm | txwizard/libxml2_x64_and_ARM | 0 | 246706 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1
TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\xmlwriter.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM _xmlMalloc:DWORD
CO... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_322.asm | ljhsiun2/medusa | 9 | 170162 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x14035, %rsi
lea addresses_UC_ht+0x9835, %rdi
nop
cmp %r11, %r11
mov $52, %rcx
rep movsb
nop
nop
nop
nop
xor %rbx, %rbx
lea addresses_WT_ht+0x1b71e, %rsi
lea addresses_WT_ht+0x1302d, %... |
Structure/Category/Categories.agda | Lolirofle/stuff-in-agda | 6 | 15489 | module Structure.Category.Categories where
open import Data
open import Data.Proofs
open import Functional
open import Logic
import Lvl
import Relator.Equals as Eq
open import Structure.Setoid
open import Structure.Category
open import Structure.Categorical.Proofs
open import Structure.Categorical.Properties... |
with-actions/StringLexer.g4 | sepp2k/antlr4-string-interpolation-examples | 5 | 6726 | lexer grammar StringLexer;
@members {
int nesting = 0;
}
IDENTIFIER: [a-zA-Z_][a-zA-Z0-9_]* ;
DQUOTE: '"' -> pushMode(IN_STRING);
LPAR: '(' {
nesting++;
pushMode(DEFAULT_MODE);
};
RPAR: ')' {
if (nesting > 0) {
nesting--;
popMode();
}
};
mode IN_STRING;
TEXT: ~[\\"]+ ;
BACKSLASH... |
programs/oeis/033/A033572.asm | jmorken/loda | 1 | 652 | ; A033572: a(n) = (2*n+1)*(7*n+1).
; 1,24,75,154,261,396,559,750,969,1216,1491,1794,2125,2484,2871,3286,3729,4200,4699,5226,5781,6364,6975,7614,8281,8976,9699,10450,11229,12036,12871,13734,14625,15544,16491,17466,18469,19500,20559,21646,22761,23904,25075,26274,27501,28756,30039,31350,32689,34056,35451,36874,38325,39804... |
programs/oeis/321/A321257.asm | karttu/loda | 0 | 12569 | <filename>programs/oeis/321/A321257.asm<gh_stars>0
; A321257: Start with an equilateral triangle, and repeatedly append along the triangles of the previous step equilateral triangles with half their side length that do not overlap with any prior triangle; a(n) gives the number of triangles appended at n-th step.
; 1,6,... |
demo/pow/mult.asm | AndreasMadsen/talk-benchmaking-nodejs-with-statistics | 0 | 23665 | <reponame>AndreasMadsen/talk-benchmaking-nodejs-with-statistics<filename>demo/pow/mult.asm
--- FUNCTION SOURCE (benchmark) id{0,0} ---
() {
var sum = 0;
for (var i = 0; i < 1000000; i++) {
sum += i * i;
}
return sum;
}
--- END ---
--- Raw source ---
() {
var sum = 0;
for (var i = 0; i < 1000000; i++) {
... |
out/ocaml01.adb | FardaleM/metalang | 22 | 14872 | <reponame>FardaleM/metalang
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure ocaml01 is
type stringptr is access all char_array;
function foo return Integer is
begin
for i... |
V850E2M/CubeSuite+/cpu_a.asm | EmbeddedInsights/uC-CPU | 17 | 91701 | <filename>V850E2M/CubeSuite+/cpu_a.asm
;********************************************************************************************************
; uC/CPU
; CPU CONFIGURATION & PORT LAYER
;
; Copyright 2004-2021 Silicon L... |
src/MJ/LexicalScope.agda | metaborg/mj.agda | 10 | 10901 | open import Prelude
open import MJ.Classtable.Core
module MJ.LexicalScope c where
open import Data.List
open import Data.List.Membership.Propositional
open import MJ.Types
Ctx : Set
Ctx = List (Ty c)
Var : Ctx → Ty c → Set
Var Γ a = a ∈ Γ
_+local_ : Ctx → Ty c → Ctx
_+local_ Γ a = a ∷ Γ
|
Win32/Win32.Zotob/Cback.asm | fengjixuchui/Family | 3 | 97195 | <reponame>fengjixuchui/Family<filename>Win32/Win32.Zotob/Cback.asm
CPU 386
[BITS 32]
section .rdata
CBACK_HOST DB 'wmchar.undo.it',0
section .text execute
%xdefine CBACK_TIMEOUT ((8*60)*1000) ;8 min.
%xdefine CBACK_CHK_CONN (10*1000) ;10 sec.
%xdefine CBACK_PORT 54322
@Cback:
mov ebp, esp
... |
data/pokemon/base_stats/taillow.asm | TastySnax12/pokecrystal16-493-plus | 2 | 95438 | db 0 ; species ID placeholder
db 40, 55, 30, 85, 30, 30
; hp atk def spd sat sdf
db NORMAL, FLYING ; type
db 200 ; catch rate
db 59 ; base exp
db NO_ITEM, BERRY ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 15 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/taillow/fr... |
test/Fail/Issue1560.agda | redfish64/autonomic-agda | 3 | 2472 | <filename>test/Fail/Issue1560.agda
-- Andreas, 2015-06-11, issue reported by <NAME>
-- Ulf, 2015-09-23:
-- This test was still taking 12s, which is annoyingly much.
-- I commented out a few of the constructors to bring it down
-- to 2s. With agda-2.4.2 it checks in 18s, which should be long
-- enough to notice.... |
src/ado-queries-loaders.adb | My-Colaborations/ada-ado | 0 | 6969 | <gh_stars>0
-----------------------------------------------------------------------
-- ado-queries-loaders -- Loader for Database Queries
-- Copyright (C) 2011, 2012, 2013, 2014, 2017, 2018, 2019, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- yo... |
src/main.adb | jklmnn/esp8266-ada-example | 6 | 330 | <reponame>jklmnn/esp8266-ada-example
with Componolit.Runtime.Debug;
procedure Main
is
procedure Delay_Ms(Ms : Natural) with
Import,
Convention => C,
External_Name => "delayMicroseconds";
function Message return String;
function Message return String
is
begin
return "Make with... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.