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 |
|---|---|---|---|---|
agda/Data/MoreNatProp.agda | florence/esterel-calculus | 3 | 7410 | module Data.MoreNatProp where
open import Relation.Binary.PropositionalEquality
using (_≡_ ; refl ; cong)
open import Data.Nat as Nat
using (ℕ ; suc ; zero ; _≤′_ ; _≤_ ; _+_ ; s≤s ; z≤n ; ≤′-refl ;
≤′-step ; _⊔_)
open import Data.Nat.Properties as NatP
using (≤⇒≤′ ; ≤′⇒≤ ; m≤m+n ; s≤′s ; ≤-stepsˡ ; ≤⇒... |
src/z3/multiworld.asm | PJBoy/alttp_sm_combo_randomizer_rom | 31 | 2606 | <filename>src/z3/multiworld.asm
; ALTTP Multiworld support
;
org $f81000
; Lookup item in ALTTP table and replace as needed, return as 8-bit A
alttp_multiworld_replace_item:
lsr !MULTIWORLD_SWAP : bcs .exit ; If !MULTIWORLD_SWAP is set, skip one item swap
CMP.b #$20 : BEQ .exit ; Crystal
... |
programs/oeis/131/A131061.asm | karttu/loda | 1 | 89385 | ; A131061: Triangle read by rows: T(n,k) = 4*binomial(n,k) - 3 for 0 <= k <= n.
; 1,1,1,1,5,1,1,9,9,1,1,13,21,13,1,1,17,37,37,17,1,1,21,57,77,57,21,1,1,25,81,137,137,81,25,1,1,29,109,221,277,221,109,29,1,1,33,141,333,501,501,333,141,33,1,1,37,177,477,837,1005,837,477,177,37,1,1,41,217,657,1317,1845,1845,1317,657,217,4... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca.log_21829_1679.asm | ljhsiun2/medusa | 9 | 96674 | <filename>Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca.log_21829_1679.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x165f, %rsi
lea addresses_WC_ht+0x46b7, %rdi
dec %r10
mov $63, %rcx
rep ... |
Transynther/x86/_processed/NC/_st_zr_sm_/i9-9900K_12_0xca_notsx.log_21829_1184.asm | ljhsiun2/medusa | 9 | 100773 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x9819, %r11
nop
nop
add %rax, %rax
vmovups (%r11), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpextrq $0, %xmm2, %r10
nop
nop
nop
nop
dec %r13
lea addresses_WT_ht+0xe1ad, ... |
source/main/lace-run.adb | reznikmm/lace | 0 | 28534 | <reponame>reznikmm/lace
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Ada.Characters.Conversions;
with Ada.Command_Line;
with Ada.Text_IO;
with Ada.Wide_Wide_Text_IO;
with LLVM.Core;
with Program.Compilations;
... |
3-mid/impact/source/2d/orbs/collision/shapes/impact-d2-orbs-shape.adb | charlie5/lace | 20 | 14686 | <reponame>charlie5/lace
with impact.d2.Math;
package body impact.d2.orbs.Shape
is
function to_Circle (Radius : in float_math.Real) return Shape.item
is
begin
return (m_radius => Radius);
end to_Circle;
function Clone (Self : in Item) return Shape.item
is
begin
return Self;
end... |
LoopStatement.asm | akshithsriram/Hack-Computer | 0 | 245361 | // Implementation of a Loop Statement in the Hack Machine Language
// Calculates the sum of all numbers in the sequence [start, stop] with step size 'inc'
// sum = start + (start + inc) + (start + 2*inc) + .. (till end is reached)
// e.g. start = 1, inc = 2 calculates the sum 1 + 3 + 5 + ... + 99
// Equivale... |
src/sys/encoders/util-encoders-sha256.ads | RREE/ada-util | 60 | 25318 | -----------------------------------------------------------------------
-- util-encoders-sha256 -- Compute SHA-256 hash
-- Copyright (C) 2017, 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance wit... |
workshop/tests/src/shared.ads | TNO/Rejuvenation-Ada | 1 | 28517 | <gh_stars>1-10
with Libadalang.Analysis; use Libadalang.Analysis;
package Shared is
function Nr_Of_Parameters (S_S : Subp_Spec) return Integer;
function Is_Part_Of_Subp_Def (S_S : Subp_Spec) return Boolean;
function Inside_Private_Part (Node : Ada_Node'Class) return Boolean;
end Shared;
|
ada/client/src/lmcp-client.adb | joffreyhuguet/LmcpGen | 0 | 18148 | with Ada.Text_IO; use Ada.Text_IO;
with ZMQ.Sockets;
with ZMQ.Contexts;
with ZMQ.Messages;
procedure LMCP.Client is
Ctx : ZMQ.Contexts.Context;
Sub : ZMQ.Sockets.Socket;
begin
Ctx.Set_number_of_IO_threads (1);
Sub.Initialize (Ctx, ZMQ.Sockets.SUB);
-- LmcpObjectNetworkPublishPullBridge
-- 'Addres... |
programs/oeis/300/A300659.asm | neoneye/loda | 22 | 1652 | ; A300659: Product of digits of n!.
; 1,1,2,6,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
pow $0,2
div $0,2
mov $2,$0
mov $0,6
sub $2,5
div $0,$2
sub $1,$0
add $1,10
mod $1,10
mov $0,$1
|
04-cubical-type-theory/material/Part3.agda | williamdemeo/EPIT-2020 | 1 | 11965 | <reponame>williamdemeo/EPIT-2020
{-
Part 3: Univalence and the SIP
• Univalence from ua and uaβ
• Transporting with ua
• The SIP as a consequence of ua
-}
{-# OPTIONS --cubical #-}
module Part3 where
open import Cubical.Core.Glue public
using ( Glue ; glue ; unglue ; lineToEquiv )
open import Cubical.Foundations... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto9.adb | best08618/asylo | 7 | 5785 | -- { dg-do run }
-- { dg-options "-flto" { target lto } }
with Lto9_Pkg1; use Lto9_Pkg1;
procedure Lto9 is
begin
District_Subscription_Lists.Put
(List => District_01_Subscribers,
Elem_Ptr => New_Subscriber_01'Access,
Location => 1);
end;
|
parser/src/main/antlr/com/github/bjansen/pebble/parser/PebbleLexer.g4 | froth/pebble-intellij | 0 | 6667 | <filename>parser/src/main/antlr/com/github/bjansen/pebble/parser/PebbleLexer.g4
lexer grammar PebbleLexer;
@members {
private java.util.Queue<Token> queue = new java.util.LinkedList<Token>();
private boolean inStringInterpolation = false;
private int openingBracesCount = 0;
protected Token customNextToken() {
re... |
src/osascripts/file-mode-operations.applescript | jokajak/ki | 83 | 3953 | <reponame>jokajak/ki<filename>src/osascripts/file-mode-operations.applescript
-- AppleScript template for various file mode operations
-- `operation` - the operation name
-- `filePath1` - a string path to a file that will operated on
-- `filePath2` - a secondary string file path necessary for some operations
set operat... |
uuids-version_1-throttled_ts.adb | annexi-strayline/ASAP-UUIDs | 0 | 16926 | <filename>uuids-version_1-throttled_ts.adb
------------------------------------------------------------------------------
-- --
-- Common UUID Handling Package --
-- - RFC 4122 Imp... |
data/pokemon/dex_entries/munchlax.asm | AtmaBuster/pokeplat-gen2 | 6 | 13405 | db "BIG EATER@" ; species name
db "It conceals food"
next "under the long fur"
next "on its body. It"
page "carts around this"
next "food stash and"
next "swallows it whole.@"
|
pmap.adb | M1nified/Ada-Samples | 0 | 3148 | <filename>pmap.adb
with Ada.Text_Io;
use Ada.Text_Io;
package body PMap is
task body pmap_apply is
value : Integer;
Func : func_type;
begin
accept PortIn(ValIn : in Integer; FuncIn : in not null func_type) do
value := ValIn;
Func := FuncIn;
end PortIn;
value := Func(value);
Put_Line(Integer'Imag... |
host/stm32gd-gpio-polled.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 28215 | <filename>host/stm32gd-gpio-polled.adb
package body STM32GD.GPIO.Polled is
T : Boolean;
procedure Wait_For_Trigger is
begin
while Pin.Is_Set loop
null;
end loop;
T := True;
end Wait_For_Trigger;
procedure Clear_Trigger is
begin
T := False;
end Clear_Trigger;
... |
src/Stack.agda | mietek/imla2017 | 17 | 3205 | module Stack where
open import Prelude public
-- Stacks, or snoc-lists.
data Stack (X : Set) : Set where
∅ : Stack X
_,_ : Stack X → X → Stack X
-- Stack membership, or de Bruijn indices.
module _ {X : Set} where
infix 3 _∈_
data _∈_ (A : X) : Stack X → Set where
top : ∀ {Γ} → A ∈ Γ , A
pop :... |
base/addressing/assembly.asm | imsouza/low-level-programming | 0 | 81691 | <filename>base/addressing/assembly.asm
bits 64
global assembly
assembly:
mov rbx, 5
mov rcx, 10
lea eax, [rcx + rbx*2 + 5]
ret |
engine/battle/move_effects/sketch.asm | genterz/pokecross | 28 | 11294 | BattleCommand_Sketch:
; sketch
call ClearLastMove
; Don't sketch during a link battle
ld a, [wLinkMode]
and a
jr z, .not_linked
call AnimateFailedMove
jp PrintNothingHappened
.not_linked
; If the opponent has a substitute up, fail.
call CheckSubstituteOpp
jp nz, .fail
; If the opponent is transformed, fail.
... |
programs/oeis/244/A244633.asm | neoneye/loda | 22 | 172985 | <gh_stars>10-100
; A244633: a(n) = 26*n^2.
; 0,26,104,234,416,650,936,1274,1664,2106,2600,3146,3744,4394,5096,5850,6656,7514,8424,9386,10400,11466,12584,13754,14976,16250,17576,18954,20384,21866,23400,24986,26624,28314,30056,31850,33696,35594,37544,39546,41600,43706,45864,48074,50336,52650,55016,57434,59904,62426,65000... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca.log_21829_590.asm | ljhsiun2/medusa | 9 | 13243 | <filename>Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca.log_21829_590.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %rax
push %rbx
push %rcx
push %rdx
lea addresses_UC_ht+0x1b976, %rax
xor %rbx, %rbx
mov $0x6162636465666768, %r10
movq %r10, %xmm7
and $0xffffffffffffffc0, %rax
movntdq %... |
programs/oeis/010/A010385.asm | neoneye/loda | 22 | 103339 | ; A010385: Squares mod 23.
; 0,1,2,3,4,6,8,9,12,13,16,18
mov $3,$0
add $3,1
mov $7,$0
lpb $3
mov $0,$7
sub $3,1
sub $0,$3
mov $9,2
mov $10,0
mov $11,$0
lpb $9
mov $0,$11
mov $4,0
sub $9,1
add $0,$9
sub $0,1
mul $0,2
sub $0,4
lpb $0
add $2,$0
sub $0,1
trn ... |
language/src/main/antlr4/com/guillermomolina/lazylanguage/parser/LazyLanguageLexer.g4 | guillermomolina/lazylanguage | 0 | 5777 |
lexer grammar LazyLanguageLexer;
BREAK: 'break';
CONTINUE: 'continue';
DEBUGGER: 'debugger';
ELSE: 'else';
FUNCTION: 'function';
IF: 'if';
RETURN: 'return';
WHILE: 'while';
LPAREN: '(';
RPAREN: ')';
LBRACK: '[';
RBRACK: ']';
LCURLY: '{';
RCURLY: '}';
COMMA: ',';
DOT: '.';
COLON: ':';
SEMI: ';';
OR: '||';
AND: '&&'... |
Structure/Operator/Ring/Homomorphism.agda | Lolirofle/stuff-in-agda | 6 | 15395 | module Structure.Operator.Ring.Homomorphism where
import Lvl
open import Logic
open import Logic.Predicate
open import Structure.Function
open import Structure.Function.Multi
open import Structure.Setoid
open import Structure.Operator.Ring
open import Type
record Homomorphism
{ℓ₁ ℓ₂ ℓₑ₁ ℓₑ₂}
{X : Type{ℓ₁}} ⦃... |
04 - Machine Language/Mult.asm | AmrDeveloper/Nand2Tetris | 2 | 19728 | <filename>04 - Machine Language/Mult.asm
// 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/Mult.asm
// Multiplies R0 and R1 and stores the result in R2.
// (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respecti... |
Type/Properties/Singleton.agda | Lolirofle/stuff-in-agda | 6 | 10457 | <filename>Type/Properties/Singleton.agda
module Type.Properties.Singleton {ℓ ℓₑ} where
import Lvl
open import Lang.Instance
open import Structure.Setoid
open import Type
-- A type is a singleton type when it has exactly one inhabitant (there is only one object with this type).
-- In other words: There is an uniq... |
src/libriscv.ads | Fabien-Chouteau/libriscv | 0 | 16443 | <reponame>Fabien-Chouteau/libriscv
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2019, <NAME> --
-- ... |
src/third_party/nasm/test/br3109604.asm | Mr-Sheep/naiveproxy | 2,219 | 240279 | <reponame>Mr-Sheep/naiveproxy<filename>src/third_party/nasm/test/br3109604.asm
;Testname=unoptimized; Arguments=-O0 -fbin -obr3109604.bin; Files=stdout stderr br3109604.bin
;Testname=optimized; Arguments=-Ox -fbin -obr3109604.bin; Files=stdout stderr br3109604.bin
bits 64
b0: vmovd xmm2, [rdx+r9]
e0:
section .d... |
Resources/All Scripts/Bundled Scripts/Scripts/slap.scpt | bathtub/IRC.app | 2 | 3296 | <reponame>bathtub/IRC.app
-- Portions of this AppleScript may incorporate work from 3rd
-- parties. These portions of code are noted. All other work is
-- Copyright © 2010 — 2013 Codeux Software. See README
-- for full license information.
on irccmd(user, destinationChannel)
if destinationChannel is equal to "" t... |
bucket_4C/AdaBrowse/patches/patch-ad-driver.adb | jrmarino/ravensource | 17 | 30896 | <reponame>jrmarino/ravensource
--- ad-driver.adb.orig 2021-09-04 15:38:31 UTC
+++ ad-driver.adb
@@ -470,6 +470,7 @@ package body AD.Driver is
AIC.Set_File_Name
(AIC.Subprogram_Index, Canonical (S (S'First + 2 .. S'Last)));
elsif S = "-P" then
+ Error ("-P is ... |
source/grammar/qasm3Parser.g4 | QISKit/qiskit-openqasm | 0 | 5738 | <reponame>QISKit/qiskit-openqasm<filename>source/grammar/qasm3Parser.g4
parser grammar qasm3Parser;
options {
tokenVocab = qasm3Lexer;
}
program: version? statement* EOF;
version: OPENQASM VersionSpecifier SEMICOLON;
// A statement is any valid single statement of an OpenQASM 3 program, with the
// exception of ... |
tools/scitools/conf/understand/ada/ada83/standard83.ads | brucegua/moocos | 1 | 1024 | --******************************************************************************
--
-- package STANDARD
--
--******************************************************************************
package STANDARD is
-- This is the Digital Equipment Corporation VAX/VMS version of the
-- Ada standard and system packages.
ty... |
date.asm | joeofportland/project4-3 | 0 | 12900 |
_date: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "user.h"
#include "date.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 57 push %edi
4: 56 push %es... |
programs/oeis/323/A323170.asm | neoneye/loda | 22 | 244106 | <gh_stars>10-100
; A323170: a(n) = 1 if (2*phi(n)) < n, 0 otherwise, where phi is Euler totient function (A000010).
; 0,0,0,0,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1
m... |
line.asm | peckhamdata/cgl-6502 | 4 | 175126 | steep: .byte $00
x0: .byte $01
y0: .byte $02
x1: .byte $0a
y1: .byte $0e
delta_x: .byte $00
delta_y: .byte $00
error: .byte $00
y: .byte $00
y_step: .byte $00
xtmp: .byte $00
line_delay: .byte $0c
line_delay_inner: .byte $ff
plot_line: txa
... |
src/ada/src/uxas-messages-lmcptask-uniqueautomationrequest-spark_boundary.ads | pat-rogers/OpenUxAS | 0 | 8686 | <reponame>pat-rogers/OpenUxAS<filename>src/ada/src/uxas-messages-lmcptask-uniqueautomationrequest-spark_boundary.ads
with Common_Formal_Containers; use Common_Formal_Containers;
with afrl.cmasi.AutomationRequest.SPARK_Boundary; use afrl.cmasi.AutomationRequest.SPARK_Boundary;
with afrl.impact.ImpactAutomationRequest; u... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc1311b.ada | best08618/asylo | 7 | 12944 | <gh_stars>1-10
-- CC1311B.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.... |
LAB 4/Lab4Task1.asm | smellycattt/Microprocessor-Programming | 1 | 9922 | <reponame>smellycattt/Microprocessor-Programming
.Model Tiny
.386
.DATA
FILE DB 'ABCD.txt',0
MYNAME DB 'Shivankit'
NEWLINE DB 0DH, 0AH
IDNO DB '2015A7PS076P'
NEWLINE2 DB 0DH, 0AH
.CODE
.Startup
;CREATING THE FILE
MOV AH, 3CH
LEA DX, FILE
MOV CL, 2;
INT 21H
;OPENING THE FILE
LEA ... |
examples/outdated-and-incorrect/iird/LF.agda | asr/agda-kanso | 1 | 3014 |
module LF where
data Zero : Set where
record One : Set where
★ : One
★ = record {}
One-elim : (C : One -> Set) -> C ★ -> (a : One) -> C a
One-elim C h _ = h
One-elim₁ : (C : One -> Set1) -> C ★ -> (a : One) -> C a
One-elim₁ C h _ = h
-- data One' : Set1 where
-- ★' : One'
data Two : Set where
★₀ : Two
★₁ ... |
xt_lite_tft/test1/SW/BIOSLITE2MB_BRAM/BootLoader/bootstrap.asm | yomboprime/zxuno-addons | 3 | 83567 | ; This file is part of the Next186 SoC PC project
; http://opencores.org/project,next186
; Filename: bootstrap.asm
; Description: Part of the Next186 SoC PC project, bootstrap "ROM" code (RAM initialized with cache)
; Version 1.0
; Creation date: Jun2013
; Author: <NAME>
; e-mail: <EMAIL>
; -------------... |
llvm-gcc-4.2-2.9/gcc/ada/s-wchstw.adb | vidkidz/crossbridge | 1 | 4632 | <filename>llvm-gcc-4.2-2.9/gcc/ada/s-wchstw.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
Modules/Module2/4_LogicalOperations/logicalops_rformat.asm | hackettccp/CSCI213 | 0 | 95207 | <filename>Modules/Module2/4_LogicalOperations/logicalops_rformat.asm
#Performs logical operations
#Run and look at the $t0, $t1, $t2, $t3, $t4, $t5 registers
li $t0, 0xad #Loads the constant 0xad (10101101) to $t0
li $t1, 0x1e #Loads the constant 0x1e (00011110) to $t1
and $t2, $t0, $t1 #$t2 = $t0 AND $t1
# $t0 =... |
server-core/src/main/java/io/onedev/server/buildspec/job/retrycondition/RetryCondition.g4 | sasaie/onedev | 7,137 | 2721 | <gh_stars>1000+
grammar RetryCondition;
condition
: WS* (criteria|Never) WS* EOF
;
criteria
: criteriaField=Quoted WS+ operator=IsEmpty #FieldOperatorCriteria
| criteriaField=Quoted WS+ operator=(Contains|Is) WS+ criteriaValue=Quoted #FieldOperatorValueCriteria
| criteria WS+ And WS+ criteria #And... |
snes/axelay/second-boss-behavior.asm | bskari/speedrun | 1 | 27959 | ; Second boss behavior assembly
; 15c7 stores the 2nd boss's current action:
; 3 - loading offscreen
; 7 - loading offscreen
; 8 - standing up, chained
; 9 - walking backward after being unchained
; #$0a/11 - step 1?
; #$0b/12 - step?
; #$0f/15 - laser
; #$12/18 - step 2?
; #$13/19 - machine gun
; #$15/21 - firing bull... |
src/Sym_Expr/symbolic_expressions.ads | fintatarta/eugen | 0 | 29534 | <gh_stars>0
----------------------------------------------------------------------------
-- Symbolic Expressions (symexpr)
--
-- Copyright (C) 2012, <NAME>
--
-- This file is part of symexpr.
--
-- symexpr is free software: you can redistribute it and/or modify
-- it under the te... |
fret-electron/app/parser/Requirement.g4 | xerebz/fret | 0 | 1247 | <reponame>xerebz/fret<gh_stars>0
// *****************************************************************************
// Notices:
//
// Copyright � 2019 United States Government as represented by the Administrator
// of the National Aeronautics and Space Administration. All Rights Reserved.
//
// Disclaimers
//
// No Warr... |
demo1/xercise.adb | MatrixMike/AdaDemo1 | 1 | 3438 | with Ada.Text_IO;
use Ada.Text_IO;
--with xample1;
--use xample1;
package body xample1 is
procedure xercise is
begin
xample.SayWelcome(1);
end xercise;
end xample1;
|
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/___fs2sint_callee.asm | jpoikela/z88dk | 640 | 241427 |
SECTION code_clib
SECTION code_fp_math48
PUBLIC ___fs2sint_callee
EXTERN cm48_sdcciyp_ds2sint_callee
defc ___fs2sint_callee = cm48_sdcciyp_ds2sint_callee
|
libsrc/_DEVELOPMENT/math/float/math32/lm32/z80/asm__dtoa_sgnabs.asm | jpoikela/z88dk | 640 | 95260 |
SECTION code_clib
SECTION code_fp_math32
PUBLIC __dtoa_sgnabs
EXTERN m32__dtoa_sgnabs
; enter : x = dehl' = floating point number
;
; exit : dehl' = |x|
; a = sgn(x) = 1 if negative, 0 otherwise
;
; uses : af
DEFC __dtoa_sgnabs = m32__dtoa_sgnabs ; enter stack = ret
... |
libsrc/spectrum/display/zx_saddr2px.asm | meesokim/z88dk | 0 | 246857 | ; uint zx_saddr2px(void *pixeladdr, uchar mask)
; CALLER linkage for function pointers
PUBLIC zx_saddr2px
EXTERN zx_saddr2px_callee
EXTERN ASMDISP_ZX_SADDR2PX_CALLEE
.zx_saddr2px
pop af
pop de
pop hl
push hl
push de
push af
ld a,e
jp zx_saddr2px_callee + ASMDISP_ZX_SADDR2PX_CALLEE
|
src/bbqueue.adb | skade/bbqueue-spark | 8 | 30513 | -- with Ada.Text_IO; use Ada.Text_IO;
with Atomic; use Atomic;
package body BBqueue
with SPARK_Mode => On
is
-----------
-- Grant --
-----------
procedure Grant (This : in out Offsets_Only;
G : in out Write_Grant;
Size : Count)
is
Read, Write, Start :... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1506.asm | ljhsiun2/medusa | 9 | 161844 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x6672, %rsi
lea addresses_WC_ht+0x876e, %rdi
nop
nop
nop
nop
nop
add %r11, %r11
mov $101, %rcx
rep movsb
sub $20289, %rbx
lea addresses_A_ht+0x10a32, %rax
sub ... |
Transynther/x86/_processed/NC/_st_zr_un_sm_/i9-9900K_12_0xca.log_21829_1593.asm | ljhsiun2/medusa | 9 | 8997 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x19220, %r11
clflush (%r11)
nop
xor $41293, %r15
mov $0x6162636465666768, %r8
movq %r8, %xmm3
movups %xmm3, (%r11)
xor %rbx, %rbx
lea addresses_UC_ht+0x17a81, %r... |
src/FluentTranslate.Parser/grammars/FluentParser.g4 | emphasis87/FluentTranslate | 0 | 1263 | parser grammar FluentParser;
options {
tokenVocab = FluentLexer;
contextSuperClass = FluentTranslate.Parser.FluentParserContext;
}
/*
* Parser Rules
*/
resource : entry* EOF ;
entry : ( term | message | comment | emptyLine ) ;
comment : COMMENT_OPEN COMMENT NL? ;
term : TERM record expressionLis... |
mat/src/mat-consoles.adb | stcarrez/mat | 7 | 27562 | -----------------------------------------------------------------------
-- mat-consoles - Console interface
-- Copyright (C) 2014, 2015 <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.
-- ... |
Transynther/x86/_processed/P/_zr_/i7-7700_9_0x48_notsx.log_1540_809.asm | ljhsiun2/medusa | 9 | 162600 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x9395, %rsi
lea addresses_WT_ht+0x1e065, %rdi
nop
nop
nop
nop
nop
cmp %rdx, %rdx
mov $51, %rcx
rep movsw
nop
nop
nop
nop
nop
xor %rbp, %rbp
lea addresses_... |
src/fot/FOTC/Program/ABP/CorrectnessProofATP.agda | asr/fotc | 11 | 6896 | <reponame>asr/fotc<filename>src/fot/FOTC/Program/ABP/CorrectnessProofATP.agda
------------------------------------------------------------------------------
-- The alternating bit protocol (ABP) is correct
------------------------------------------------------------------------------
{-# OPTIONS --exact-split ... |
source/sql/mysql/matreshka-internals-sql_drivers-mysql-queries.adb | svn2github/matreshka | 24 | 17454 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
src/main/fragment/mos6502-common/_stackidxbool_vbuc1=vbom1.asm | jbrandwood/kickc | 2 | 163351 | <filename>src/main/fragment/mos6502-common/_stackidxbool_vbuc1=vbom1.asm
tsx
lda {m1}
sta STACK_BASE+{c1},x |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_3343_545.asm | ljhsiun2/medusa | 9 | 88400 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %rsi
lea addresses_A_ht+0xb20a, %r15
nop
nop
nop
cmp %r12, %r12
mov (%r15), %esi
nop
nop
xor $15306, %rsi
pop %rsi
pop %r15
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %rax
push %rbx
push %rcx
push %rdi
// St... |
Task/Flatten-a-list/Ada/flatten-a-list-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 3251 | <gh_stars>1-10
with Ada.Strings.Unbounded;
package body Nestable_Lists is
procedure Append (L : in out List; E : Element_Type) is
begin
if L = null then
L := new Node (Kind => Data_Node);
L.Data := E;
else
Append (L.Next, E);
end if;
end Append;
procedure Appe... |
asg/asm/rdkafka_queue.asm | asgkafka/librdkafka | 0 | 28745 | *PROCESS DUPALIAS
*
* Compiled by DCC Version 2.25.07 Mar 6 2021 08:51:07
* on Fri Apr 30 15:35:54 2021
*
WXTRN @@ZARCH#
*
*
*
* Code Section
*
@CODE ALIAS X'7CD9C4D2C1C6D2C16DD8E4C5E4C5'
@CODE CSECT
@CODE AMODE ANY
@CODE RMODE ANY
@DATA ALIAS X'7C998492818692816D98A485A485'
writ... |
programs/oeis/099/A099359.asm | karttu/loda | 1 | 166372 | <filename>programs/oeis/099/A099359.asm
; A099359: a(n) = (2^n + 1)^3 - 2.
; 6,25,123,727,4911,35935,274623,2146687,16974591,135005695,1076890623,8602523647,68769820671,549957165055,4398851866623,35187593412607,281487861809151,2251851353686015,18014604668698623
mov $1,2
pow $1,$0
add $1,1
pow $1,3
sub $1,2
|
18. TRIANGLE.asm | rng70/Assembly-Programming | 0 | 13783 | ; PRINT A TRIANGLE OF NUMBER
; 1
; 1 2
; 1 2 3
; 1 2 3 4
; 1 2 3 4 5
; 1 2 3 4 5 6
; 1 2 3 4 5 6 7
; 1 2 3 4 5 6 7 8
; 1 2 3 4 5 6 7 8 9
.MODEL SMALL
.STACK 100H
.DATA
MSG DB ' $'
.CODE
MAIN PROC
; INITIALIZATION
MOV AX, @DATA
... |
Commands/Clipboard Commands suite/the clipboard/the clipboard.applescript | looking-for-a-job/applescript-examples | 1 | 4084 | #!/usr/bin/osascript
the clipboard |
src/main.adb | psyomn/ash | 11 | 12470 | <reponame>psyomn/ash
-- Copyright 2019 <NAME> (psyomn)
--
-- 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 required by ap... |
Calculadora.asm | AbrahamRH/Calculadora_ASM | 0 | 28433 | <filename>Calculadora.asm
; Autor: <NAME>
; Fecha de termino: 01/02/21
; Descripción: Este programa realiza operaciones aritmeéticas básicas tales como
; La suma, resta, división y multiplicación de números enteros.
; Es programa recibe los valores a operar por el teclado y se muestran los res... |
oeis/275/A275906.asm | neoneye/loda-programs | 11 | 165448 | <reponame>neoneye/loda-programs
; A275906: Expansion of (1+x+x^2) / (1-4*x-4*x^2-x^3).
; Submitted by <NAME>
; 1,5,25,121,589,2865,13937,67797,329801,1604329,7804317,37964385,184679137,898378405,4370194553,21258970969,103415040493,503066240401,2447184094545,11904416380277,57909468139689,281702722174409,1370353177636669... |
oeis/346/A346629.asm | neoneye/loda-programs | 11 | 165613 | ; A346629: Number of n-digit positive integers that are the product of two integers ending with 2.
; 1,4,45,450,4500,45000,450000,4500000,45000000,450000000,4500000000,45000000000,450000000000,4500000000000,45000000000000,450000000000000,4500000000000000,45000000000000000,450000000000000000,4500000000000000000,45000000... |
src/kernel/drivers/soc/timer0_dseg.asm | rostislav-nikitin/socOS | 1 | 177074 | .dseg
timer0_static_instance: .BYTE SZ_ST_TIMER0 |
linear_algebra/crout_lu_tst_1.adb | jscparker/math_packages | 30 | 8436 | <gh_stars>10-100
-- Test LU decomposition on a real valued square matrix.
with Ada.Numerics.Generic_elementary_functions;
with Crout_LU;
with Text_IO; use Text_IO;
with Test_Matrices;
procedure crout_lu_tst_1 is
type Real is digits 15;
type Index is range 0..69;
Starting_Index : constant Index := Index'F... |
FloatingPointTests/all_instr/all.asm | sajjadahmed677/azadi-verify | 2 | 100826 | li t0, 55
li t1, 210
li s0, 0x10000000
fcvt.s.w f0,t0
fcvt.s.w f1,t1
fsw f0, 08(s0)
fsw f1, 12(s0)
fcvt.w.s t2,f0
fcvt.w.s t3,f1
sw t2, 08(s0)
sw t3, 12(s0)
add t3, t0,t1
sw t3, 80(s0)
flw f0, 08(s0)
flw f1, 12(s0)
fadd.s f2,f0,f1
fsw f2, 16(s0)
fmadd.s f4,f0,f1,f2
fsw f4, 20(s0)
flw f5, 08(s0)
flw f6, 12(s0)
f... |
text/maps/pokemon_tower_4f.asm | adhi-thirumala/EvoYellow | 16 | 80419 | _PokemonTower4BattleText1::
text "GHOST! No!"
line "Kwaaah!"
done
_PokemonTower4EndBattleText1::
text "Where"
line "is the GHOST?"
prompt
_PokemonTower4AfterBattleText1::
text "I must have been"
line "dreaming..."
done
_PokemonTower4BattleText2::
text "Be cursed with"
line "me! Kwaaah!"
done
_PokemonTow... |
apps/bootloader/memory.adb | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 8564 | package body Memory is
function "+" (Addr : Flash_Memory_Range; Offset : Unsigned_16) return Flash_Memory_Range is
begin
return Flash_Memory_Range (Unsigned_16 (Addr) + Offset);
end "+";
end Memory;
|
src/x86/tables.asm | negge/rav1e | 0 | 102725 | <filename>src/x86/tables.asm<gh_stars>0
; Copyright (c) 2019-2020, The rav1e contributors. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LIC... |
oldstuff/tigcc/PolySnd/sources/statique/Sample_voice1.asm | bcherry/bcherry | 3 | 245623 | section ".data"
xdef pSnd_Sample_voice1
pSnd_Sample_voice1:
move.w d0,wav_sample_voice1
rts |
programs/oeis/030/A030004.asm | neoneye/loda | 22 | 244252 | ; A030004: (prime(n)-1)(prime(n)-3)(prime(n)-5)/48.
; 0,0,1,10,20,56,84,165,364,455,816,1140,1330,1771,2600,3654,4060,5456,6545,7140,9139,10660,13244,17296,19600,20825,23426,24804,27720,39711,43680,50116,52394,64824,67525,76076,85320,91881,102340,113564,117480,138415,142880,152096,156849,187460,221815,234136,240464,253... |
alloy4fun_models/trashltl/models/4/cNYA6qDCjGJvGbPAk.als | Kaixi26/org.alloytools.alloy | 0 | 1155 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idcNYA6qDCjGJvGbPAk_prop5 {
eventually File' = File-Trash
}
pred __repair { idcNYA6qDCjGJvGbPAk_prop5 }
check __repair { idcNYA6qDCjGJvGbPAk_prop5 <=> prop5o } |
agda/PLRTree/Heap.agda | bgbianchi/sorting | 6 | 17519 | <filename>agda/PLRTree/Heap.agda
module PLRTree.Heap {A : Set}(_≤_ : A → A → Set) where
open import PLRTree {A}
data _≤*_ : A → PLRTree → Set where
lf≤* : (x : A)
→ x ≤* leaf
nd≤* : {t : Tag}{x y : A}{l r : PLRTree}
→ x ≤ y
→ x ≤* l
→ x... |
src/asis/a4g-contt.adb | My-Colaborations/dynamo | 15 | 30516 | ------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
oeis/066/A066635.asm | neoneye/loda-programs | 11 | 179405 | <gh_stars>10-100
; A066635: Distance from n to closest square different from n.
; Submitted by <NAME>(s2)
; 1,1,1,3,1,2,2,1,5,1,2,3,3,2,1,7,1,2,3,4,4,3,2,1,9,1,2,3,4,5,5,4,3,2,1,11,1,2,3,4,5,6,6,5,4,3,2,1,13,1,2,3,4,5,6,7,7,6,5,4,3,2,1,15,1,2,3,4,5,6,7,8,8,7,6,5,4,3,2,1,17,1,2,3,4,5,6,7,8,9,9,8,7,6,5,4,3,2,1,19
trn $0... |
usr/init.asm | AnvithShetty10/xv6_rpi3_port | 1 | 170894 | <reponame>AnvithShetty10/xv6_rpi3_port
_init: file format elf32-littlearm
Disassembly of section .text:
00000000 <main>:
0: e92d4800 push {fp, lr}
4: e28db004 add fp, sp, #4
8: e24dd008 sub sp, sp, #8
c: e59f00cc ldr r0, [pc, #204] ; e0 <main+0xe0>
10: e3a01002 mov r1, #2
... |
constants/type_constants.asm | AtmaBuster/pokeplat-gen2 | 6 | 162999 | <reponame>AtmaBuster/pokeplat-gen2
; TypeNames indexes (see data/types/names.asm)
; also used in:
; - PokedexTypeSearchConversionTable (see data/types/search_types.asm)
; - PokedexTypeSearchStrings (see data/types/search_strings.asm)
; - TypeMatchups (see data/types/type_matchups.asm)
; - TypeBoostItems (see data/types... |
programs/oeis/127/A127736.asm | neoneye/loda | 22 | 163562 | <reponame>neoneye/loda
; A127736: a(n) = n*(n^2+2*n-1)/2.
; 1,7,21,46,85,141,217,316,441,595,781,1002,1261,1561,1905,2296,2737,3231,3781,4390,5061,5797,6601,7476,8425,9451,10557,11746,13021,14385,15841,17392,19041,20791,22645,24606,26677,28861,31161,33580,36121,38787,41581,44506,47565,50761,54097,57576,61201,64975,6890... |
programs/oeis/280/A280304.asm | karttu/loda | 1 | 86032 | <gh_stars>1-10
; A280304: a(n) = 3*n*(n^2 + 3*n + 4).
; 0,24,84,198,384,660,1044,1554,2208,3024,4020,5214,6624,8268,10164,12330,14784,17544,20628,24054,27840,32004,36564,41538,46944,52800,59124,65934,73248,81084,89460,98394,107904,118008,128724,140070,152064,164724,178068,192114,206880,222384,238644,255678,273504,29214... |
src/lib/filterexpressions/FilterExpressionSyntax.g4 | sttpshark/cppapi | 0 | 4613 | //******************************************************************************************************
// FilterExpressionSyntax.g4 - Gbtc
//
// Copyright © 2019, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. S... |
oeis/095/A095836.asm | neoneye/loda-programs | 11 | 17601 | <gh_stars>10-100
; A095836: Triangle read by rows: T(n,k) = k^((n-k)^2), n>=1, 1<=k<=n.
; Submitted by <NAME>(s4)
; 1,1,1,1,2,1,1,16,3,1,1,512,81,4,1,1,65536,19683,256,5,1,1,33554432,43046721,262144,625,6,1,1,68719476736,847288609443,4294967296,1953125,1296,7,1,1,562949953421312,150094635296999121,1125899906842624
lpb... |
programs/oeis/017/A017439.asm | neoneye/loda | 22 | 242884 | ; A017439: a(n) = (11*n + 4)^3.
; 64,3375,17576,50653,110592,205379,343000,531441,778688,1092727,1481544,1953125,2515456,3176523,3944312,4826809,5832000,6967871,8242408,9663597,11239424,12977875,14886936,16974593,19248832,21717639,24389000,27270901,30371328,33698267,37259704,41063625,45118016,49430863,54010152,58863869... |
ecdsa128/gfp.asm | FloydZ/Crypto-Hash | 11 | 28327 | <filename>ecdsa128/gfp.asm
.686p
.mmx
;.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
PUBLIC __mod
PUBLIC __c
addmod PROTO :DWORD, :DWORD, :DWORD
adduintmod PROTO :DWORD, :DWORD, :DWORD
compare PROTO :DWORD, :DWORD
comparezero PROTO :DWORD
compareone PROTO :DWORD
converth2bmod PRO... |
asm/main.asm | mlndz28/selector-623 | 0 | 83307 | <filename>asm/main.asm
;******************************************************************
;* Main routine
;******************************************************************
org $2000
lds #STACK
jsr HW_INIT
jsr INIT
loc
loop_c`:
jsr MODO_CONFIG
tst NumVueltas
beq loop_c`
loop_m`:
brset PTH,... |
Cubical/HITs/James/Inductive.agda | thomas-lamiaux/cubical | 1 | 2601 | {-
The Inductive Version of James Construction
This file contains:
- An inductive family 𝕁, and its direct colimit is equivalence to James;
(<NAME>, Feb. 2022)
- The family 𝕁 can be iteratively constructed as pushouts;
- Special cases of 𝕁 n for n = 0, 1 and 2;
- Connectivity of inclusion maps.
This f... |
tools-src/gnu/gcc/gcc/ada/xnmake.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 10622 | ------------------------------------------------------------------------------
-- --
-- GNAT SYSTEM UTILITIES --
-- --
-- ... |
test/Succeed/Issue2752.agda | shlevy/agda | 2 | 4427 | <filename>test/Succeed/Issue2752.agda
-- Andreas, 2017-10-04, issue #2752, report and test case by nad
--
-- Problem was: instance does not distribute into mutual blocks.
open import Agda.Builtin.List
open import Agda.Builtin.Size
mutual
data Rose (i : Size) (A : Set) : Set where
node : List (Rose′ i A) → Rose... |
bin/JWASM/Samples/Linux3.asm | Abd-Beltaji/ASMEMU | 3 | 16140 | <filename>bin/JWASM/Samples/Linux3.asm<gh_stars>1-10
; rudimentary "hello world" for Xwindows
; translated from a nasm sample supplied by <NAME>.
; LD is used as linker, since WLINK doesn't know how to use shared objects.
;
; 1. assemble: jwasm -elf -Fo=Linux3.o Linux3.asm
; 2. link with LD: ld -s -o Linux3 Li... |
Numeral/Matrix.agda | Lolirofle/stuff-in-agda | 6 | 5814 | module Numeral.Matrix where
import Lvl
open import Syntax.Number
open import Data
open import Data.Boolean
open import Data.Tuple as Tuple using (_⨯_ ; _,_)
open import Functional using (const)
open import Numeral.Finite
open import Numeral.Finite.Bound
open import Numeral.Finite.Oper
open import Numeral.Finite.O... |
generate_key.adb | doug16rogers/solitaire | 1 | 22929 | <filename>generate_key.adb
with Solitaire_Operations.Text_Representation;
with Ada.Text_IO;
use Ada;
procedure Generate_Key is
Deck : Solitaire_Operations.Deck_List := Solitaire_Operations.Standard_Deck;
begin -- Generate_Key
Solitaire_Operations.Shuffle (Deck => Deck);
Output : for I in Deck'range loop
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.