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 |
|---|---|---|---|---|
alloy/tp7/tube.als | motapinto/feup-mfes | 0 | 3658 | <gh_stars>0
/*
* Adapted from Exercise A.1.11 on page 236 of
* Software Abstractions, by <NAME>
*
* In this exercise, you'll write some constraints about a simplified version
* of the railway lines of the London Underground, or "tube". (You can find the
* real thing at http://tube.tfl.gov.uk/.) There are three li... |
src/sys/encoders/util-encoders.ads | RREE/ada-util | 60 | 22853 | -----------------------------------------------------------------------
-- util-encoders -- Encode/Decode streams and strings from one format to another
-- Copyright (C) 2009, 2010, 2011, 2012, 2016, 2017, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License"... |
libpal/intel_64bit_systemv_nasm/vmcall_kvm.asm | mars-research/pal | 26 | 169965 | bits 64
default rel
section .text
global pal_execute_vmcall_kvm
pal_execute_vmcall_kvm :
push rbx
mov rax, rdi
mov rbx, rsi
xchg rcx, rdx
mov rsi, r8
vmcall
pop rbx
ret
|
test/LaTeXAndHTML/succeed/Σ.agda | L-TChen/agda | 0 | 4198 | module Σ where
A : Set₁
A = Set
|
programs/oeis/014/A014038.asm | neoneye/loda | 22 | 8083 | <gh_stars>10-100
; A014038: Inverse of 29th cyclotomic polynomial.
; 1,-1,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,1,-1,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,1,-1,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,1,-1,0,0,0,0,0,0,0,0,0,0,0
sub $1,$0
mod $1,29
pow $1,$1
mov $0,$1
|
test/Fail/Issue3606.agda | shlevy/agda | 1,989 | 8466 |
postulate
A : Set
P : A → Set
record ΣAP : Set where
no-eta-equality
field
fst : A
snd : P fst
open ΣAP
test : (x : ΣAP) → P (fst x)
test x = snd {!!}
|
orka/src/orka/implementation/orka-cameras.adb | onox/orka | 52 | 16890 | <gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2017 onox <<EMAIL>>
--
-- 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/licen... |
src/decadriver.ads | SALLYPEMDAS/DW1000 | 9 | 23490 | <reponame>SALLYPEMDAS/DW1000
-------------------------------------------------------------------------------
-- Copyright (c) 2019 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- copy of this software and associated documentation files (the "Software"),
-- to deal in the Soft... |
programs/oeis/033/A033397.asm | neoneye/loda | 22 | 19902 | ; A033397: a(n) = floor(77/n).
; 77,38,25,19,15,12,11,9,8,7,7,6,5,5,5,4,4,4,4,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
add $0,1
mov $1,77
div $1,$0
mov $0,$1
|
source/TextEdit.popclipext/TextEdit.applescript | cnstntn-kndrtv/PopClip-Extensions | 1,262 | 2356 | <reponame>cnstntn-kndrtv/PopClip-Extensions
tell application "TextEdit"
activate
set theDocument to make new document
set text of theDocument to "{popclip text}"
end tell |
programs/oeis/289/A289721.asm | neoneye/loda | 22 | 166274 | ; A289721: Let a(0)=1. Then a(n) = sums of consecutive strings of positive integers of length 3*n, starting with the integer 2.
; 1,9,45,135,306,585,999,1575,2340,3321,4545,6039,7830,9945,12411,15255,18504,22185,26325,30951,36090,41769,48015,54855,62316,70425,79209,88695,98910,109881,121635,134199,147600,161865,177021,... |
src/fot/FOTC/Program/GCD/Total/CorrectnessProofI.agda | asr/fotc | 11 | 16795 | <filename>src/fot/FOTC/Program/GCD/Total/CorrectnessProofI.agda
------------------------------------------------------------------------------
-- The gcd program is correct
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-t... |
Structure/Setoid/Proofs.agda | Lolirofle/stuff-in-agda | 6 | 11809 | <filename>Structure/Setoid/Proofs.agda
module Structure.Setoid.Proofs where
import Lvl
open import Functional
open import Logic
open import Logic.Propositional
open import Structure.Setoid
open import Structure.Function
open import Structure.Relator.Equivalence
open import Structure.Relator.Properties
{-
module _ w... |
programs/oeis/335/A335063.asm | jmorken/loda | 1 | 2413 | <reponame>jmorken/loda
; A335063: a(n) = Sum_{k=0..n} (binomial(n,k) mod 2) * k.
; 0,1,2,6,4,10,12,28,8,18,20,44,24,52,56,120,16,34,36,76,40,84,88,184,48,100,104,216,112,232,240,496,32,66,68,140,72,148,152,312,80,164,168,344,176,360,368,752,96,196,200,408,208,424,432,880,224,456,464,944,480,976,992,2016,64,130,132,268,... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd1c03a.ada | best08618/asylo | 7 | 12263 | -- CD1C03A.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... |
Win32/Win32.Beagle/SMTPMessage.asm | fengjixuchui/Family | 3 | 96558 | ; Format e-mail message
; #########################################################################
.data
szSysDate db "ddd',' dd MMM yyyy ",0
szSysTime db "HH:mm:ss ",0
szTimeFmt db "%03i%02i",0
szTokens db " ",0
MsgHeade... |
learn-antlr/src/main/antlr/com/github/tt4g/learn/antlr/TripleUnderscoreLexer.g4 | tt4g/learn-antlr | 0 | 952 | /**
* Parse "___" ${IDENTIFIER} "___" pattern.
*/
lexer grammar TripleUnderscoreLexer;
import TripleUnderscoreTokenLexer;
// Ignore other pattern.
IGNORE : . -> skip ;
|
sbsext/tk2/mdv.asm | olifink/smsqe | 0 | 19825 | ; SBSEXT_TK2_MDV - Extended MDV driver. Reverse engineered by <NAME>
xdef mdv_init
xdef mdv_io
include 'dev8_keys_iod'
include 'dev8_keys_qdos_io'
include 'dev8_keys_qdos_ioa'
include 'dev8_keys_qdos_sms'
include 'dev8_keys_hdr'
include 'dev8_keys_err'
include 'dev8_keys_sbt'
include 'dev8_keys_sys'
includ... |
scripts for spotify/rotate.applescript | tincochan/Applescript_For_Spotify | 0 | 1020 | <reponame>tincochan/Applescript_For_Spotify
tell application "System Events"
set desktopList to a reference to every desktop
if ((count desktopList) > 1) then
set displayList to {}
repeat with x from 1 to (count desktopList)
set end of displayList to display name of item x of desktopList
end repea... |
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/___fssub.asm | jpoikela/z88dk | 0 | 161985 | <reponame>jpoikela/z88dk<gh_stars>0
SECTION code_fp_math32
PUBLIC ___fssub
EXTERN cm32_sdcc_fssub
defc ___fssub = cm32_sdcc_fssub
|
Examples.agda | elpinal/exsub-ccc | 3 | 4181 | module Examples where
open import Data.List using ([]; _∷_)
open import Data.Fin using () renaming (zero to fzero)
open import Relation.Binary using (Rel)
open import Level using () renaming (zero to lzero)
open import Syntax
open import Theory
module NatBool where
data Gr : Set where
nat : Gr
bool : Gr
... |
oeis/085/A085407.asm | neoneye/loda-programs | 11 | 95027 | <gh_stars>10-100
; A085407: Runs of zeros in binomial(3k+2,k+1)/(3k+2) modulo 2 (A085405).
; Submitted by <NAME>
; 1,1,3,1,5,1,1,11,1,1,3,1,21,1,1,3,1,5,1,1,43,1,1,3,1,5,1,1,11,1,1,3,1,85,1,1,3,1,5,1,1,11,1,1,3,1,21,1,1,3,1,5,1,1,171,1,1,3,1,5,1,1,11,1,1,3,1,21,1,1,3,1,5,1,1,43,1,1,3,1,5,1,1,11,1,1,3,1,341,1,1,3,1,5,1,... |
UniDB/Morph/Sub.agda | skeuchel/unidb-agda | 0 | 15878 | <gh_stars>0
module UniDB.Morph.Sub where
open import UniDB.Spec
open import UniDB.Morph.Depth
--------------------------------------------------------------------------------
data Single (T : STX) : MOR where
single : {γ : Dom} (t : T γ) → Single T (suc γ) γ
instance
iLkSingle : {T : STX} {{vrT : Vr T}} → Lk T... |
programs/oeis/036/A036296.asm | karttu/loda | 1 | 171985 | ; A036296: Denominator of Sum i/2^i, i=1..n.
; 1,2,1,8,8,32,8,128,128,512,256,2048,2048,8192,1024,32768,32768,131072,65536,524288,524288,2097152,524288,8388608,8388608,33554432,16777216,134217728,134217728,536870912,33554432,2147483648,2147483648,8589934592,4294967296,34359738368,34359738368,137438953472,34359738368,54... |
src/RdpTests/DisplayListAquaBox.asm | bryanperris/cor64 | 38 | 80398 | // https://github.com/PeterLemon/N64
endian msb
arch n64.rdp
include "LIB/N64.INC" // Include N64 Definitions
include "LIB/N64_GFX.INC" // Include Graphics Macros
align(8) // Align 64-Bit
Set_Scissor 0<<2,0<<2, 0,0, 320<<2,240<<2 // Set Scissor: XH 0.0,YH 0.0, Scissor Field Enable Off,Field Off, XL 320.0,YL 240.0
S... |
lib/intcode-op.ads | jweese/Ada_Vent_19 | 1 | 7834 | <reponame>jweese/Ada_Vent_19<filename>lib/intcode-op.ads<gh_stars>1-10
with Memory;
package Intcode.Op is
type Code is (
Add,
Mul,
Get,
Put,
Jnz,
Jz,
Lt,
Eq,
Mrb,
Halt
);
type Parameter_Mode is (Position, Immediate, Relative);
type Parameter_List... |
src/Data/Graph/Path/Finite.agda | kcsmnt0/graph | 0 | 16459 | <reponame>kcsmnt0/graph
open import Data.Graph
module Data.Graph.Path.Finite {ℓᵥ ℓₑ} (g : FiniteGraph ℓᵥ ℓₑ) where
open import Category.Monad
open import Data.Bool as Bool
open import Data.Graph.Path.Cut g hiding (_∈_)
open import Data.List as List hiding (_∷ʳ_)
open import Data.List.Any as Any
open import Data.List.... |
chapter03/pmtest1.asm | 12Tall/os | 0 | 174855 | <reponame>12Tall/os<gh_stars>0
%include "pm.inc" ; constant, macro
%include "func.inc"
org 07c00h
jmp LABEL_BIGIN ; 4 bytes
section .gdt ; GDT section, allocate memory space only
; ======================================================================
; --------------------------------------------------------------... |
Multiprocessor-Communication/MC B/Bcomp3.asm | xfrings/8051-Experiments | 0 | 16269 | <filename>Multiprocessor-Communication/MC B/Bcomp3.asm
;ASTER 02/03/2009 2135
;TO BE ASSEMBLED IN KEIL MICROVISION V3.60
;ARTIFICIAL INTELLIGENCE
;MICROCOMPUTER B
;REV 0 LAST UPDATED 04/03/2009 1610
;-----------------------------------------------------------------------------------------------------------
;SET THE A... |
lib/kernel/print.asm | Elio-yang/EOS | 0 | 94386 | ;/*
; * print.asm
; *
; * Created by ElioYang on 2022/1/28.
; * Email: <EMAIL>
; *
; * MIT License
; * Copyright (c) 2021 Elio-yang
; *
; */
TI_GDT equ 0
RPL0 equ 0
SELECTOR_VIDEO equ (0x0003<<3) + TI_GDT + RPL0
; TODO
; fix color property while print
; put_char(ch,color)
; color can be defined as macros
; shou... |
Ada/program.adb | yangyangisyou/GildedRose-Refactoring-Kata | 2,201 | 2324 | <reponame>yangyangisyou/GildedRose-Refactoring-Kata<gh_stars>1000+
with Ada.Text_IO;
use Ada.Text_IO;
with Items;
use Items;
with Ada.Strings.Unbounded;
use Ada.Strings.Unbounded;
with Gilded_Rose;
use Gilded_Rose;
procedure Program is
Things : Item_Vecs.Vector;
begin
Things.Append(New_Item =>
(Name => To_U... |
neio/src/main/grammar/DocumentLexer.g4 | FlashYoshi/neio | 0 | 2629 | /*
[The BSD License]
Copyright (c) 2012 <NAME> and <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditio... |
source/sql/oci/matreshka-internals-sql_drivers-oracle-databases.ads | svn2github/matreshka | 24 | 30719 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
old/run7.asm | ZornsLemma/blinkenlights | 0 | 92630 | org &70
guard &90
.led_group_count
equb 0
.vsync_count
equb 0
.SFTODOTHING \ SFTODO: RENAME inverse_raster_row OR SIMILAR
equb 0
.screen_ptr
equw 0
.tmp_y
equb 0
org &2000
guard &7c00
\ TODO: IS THE VSYNC-Y INTERRUPT STUFF USEFUL IN MODE 7? MAYBE, BUT THINK ABOUT IT.
led_... |
tests/all_inst.asm | Chysn/wAx | 5 | 173059 | ; 6502 Test Program
;
; All 6502 Instructions
; Add 6502 Addressing Modes
;
; When assembled, it should match the binary pattern
; in all_inst.obj
*=$1c00
c: adc #$00
adc $10
adc $20,x
adc $3030
adc $4040,x
adc $5050,y
adc ($60,x)
adc ($70),y
and #$80
and $90
and $10,x
and ... |
samples/x86-linux/open-read-write.asm | hpolloni/shellnoob | 492 | 26993 | <reponame>hpolloni/shellnoob<gh_stars>100-1000
.section .text
jmp fplabel
afterfplabel:
pop %ebx
mov %ebx, %eax
add $0xb, %eax # pointer to X
xor %ecx, %ecx
movb %cl, (%eax)
xor %ecx, %ecx
xor %edx, %edx
xor %eax, %eax
movb $0x5, %al
int $0x80 # open('/etc/secret', 0, 0) = fd
mov %ebx, %ecx
mov %eax, %eb... |
programs/oeis/179/A179571.asm | jmorken/loda | 1 | 161047 | ; A179571: Number of permutations of 1..n+4 with the number moved left exceeding the number moved right by n.
; 31,66,134,267,529,1048,2080,4137,8243,16446,32842,65623,131173,262260,524420,1048725,2097319,4194490,8388814,16777443,33554681,67109136,134218024,268435777,536871259,1073742198,2147484050,4294967727,858993505... |
hex-modular_unit_test.ads | annexi-strayline/ASAP-HEX | 1 | 5230 | ------------------------------------------------------------------------------
-- --
-- Generic HEX String Handling Package --
-- --
-- -... |
oeis/327/A327440.asm | neoneye/loda-programs | 11 | 20737 | ; A327440: a(n) = floor(3*n/10).
; Submitted by <NAME>
; 0,0,0,0,1,1,1,2,2,2,3,3,3,3,4,4,4,5,5,5,6,6,6,6,7,7,7,8,8,8,9,9,9,9,10,10,10,11,11,11,12,12,12,12,13,13,13,14,14,14,15,15,15,15,16,16,16,17,17,17,18,18,18,18,19,19,19,20,20,20,21,21,21,21,22,22,22,23
mul $0,36
div $0,120
|
src/Group.agda | nad/equality | 3 | 838 | ------------------------------------------------------------------------
-- Groups
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Equality
module Group
{e⁺} (eq : ∀ {a p} → Equality-with-J a p e⁺) where
open Derived-definitions-and-propertie... |
src/exceptions-stub/gdnative-exceptions.adb | persan/gdnative_ada | 10 | 24433 | <gh_stars>1-10
package body GDNative.Exceptions is
-- Here I should probably allow the library user to specify handlers for exceptions
-- (crash report dialog?)
procedure Put_Warning (Message : in Wide_String) is null;
procedure Put_Error (Occurrence : in Ada.Exceptions.Exception_Occurrence) is null;
... |
alloy4fun_models/trashltl/models/10/ke985bD6fvXAC8JBE.als | Kaixi26/org.alloytools.alloy | 0 | 3125 | open main
pred idke985bD6fvXAC8JBE_prop11 {
always all f : File | f not in Protected implies after f in Protected'
}
pred __repair { idke985bD6fvXAC8JBE_prop11 }
check __repair { idke985bD6fvXAC8JBE_prop11 <=> prop11o } |
test/asset/agda-stdlib-1.0/Data/String.agda | omega12345/agda-mode | 0 | 4826 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Strings
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.String where
open import Data.Vec as Vec using (Vec)
open import Data.Char as Cha... |
alloy4fun_models/trashltl/models/9/ba32kDT9NNBrLPQTi.als | Kaixi26/org.alloytools.alloy | 0 | 2043 | <gh_stars>0
open main
pred idba32kDT9NNBrLPQTi_prop10 {
always all f:Protected | always f in Protected
}
pred __repair { idba32kDT9NNBrLPQTi_prop10 }
check __repair { idba32kDT9NNBrLPQTi_prop10 <=> prop10o } |
source/function/graphics/rcolor.asm | mega65dev/rom-assembler | 0 | 167916 | ; ********************************************************************************************
; ********************************************************************************************
;
; Name : rcolor.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated : 4th Jan 2021
; Authors : <NAME>
;
; ******... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_251.asm | ljhsiun2/medusa | 9 | 7568 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xe5bd, %rax
nop
nop
nop
nop
cmp $16340, %r9
movups (%rax), %xmm0
vpextrq $0, %xmm0, %r14
xor $56411, %r9
lea addresses_UC_ht+0xf84d, %rsi
lea addresses_A_ht+0xe501, %rdi
nop
nop
nop
nop... |
ffight/lcs/1p/87.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 7546 | copyright zengfr site:http://github.com/zengfr/romhack
001AD6 abcd -(A3), -(A1) [1p+87]
copyright zengfr site:http://github.com/zengfr/romhack
|
ejercicios4/escribir_aula_act.adb | iyan22/AprendeAda | 0 | 7328 | <reponame>iyan22/AprendeAda<gh_stars>0
with Ada.Text_IO, Ada.Integer_Text_IO, copia_examenes;
use copia_examenes;
use Ada.Text_Io, Ada.Integer_Text_Io;
procedure Escribir_aula_act(aula_act: in T_Aula) is
begin
New_Line;
Put_line("----------------------------------------------------------------------");
... |
programs/oeis/040/A040869.asm | neoneye/loda | 22 | 88188 | ; A040869: Continued fraction for sqrt(899).
; 29,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58,1,58
mov $1,$0
cmp $0,0
sub $1,$0
gcd $1,2
add $1,27
add $0,$1
mul $0,$1
sub $0,783
|
agda/Data/Empty/Base.agda | oisdk/masters-thesis | 4 | 13493 | <filename>agda/Data/Empty/Base.agda
{-# OPTIONS --cubical --safe #-}
module Data.Empty.Base where
open import Cubical.Data.Empty
using (⊥; isProp⊥)
public
open import Level
infix 4.5 ¬_
¬_ : Type a → Type a
¬ A = A → ⊥
⊥-elim : ⊥ → A
⊥-elim ()
|
mips/mips_cc/16-1.asm | ping58972/Computer-Organization-Architecture | 0 | 240134 | <filename>mips/mips_cc/16-1.asm
## MIPS Assignment #2
## Ch16-1.asm
## Program to calculate: (12+97+133+82+236)/5
.data
b1: .byte 12
b2: .byte 97
b3: .byte 133
b4: .byte 82
b5: .byte 236
.text
main:
ori $7,$0,0x5 # Initialize 5 for division later on
lui $8,0x... |
tests/optimize_config/auto_counters_tests_config.ads | jhumphry/auto_counters | 5 | 7847 | <filename>tests/optimize_config/auto_counters_tests_config.ads
-- auto_counters_tests_config.ads
-- Configuration for Unit tests for Auto_Counters
-- Configuration for optimized builds
-- Copyright (c) 2016, <NAME> - see LICENSE file for details
package Auto_Counters_Tests_Config is
pragma Pure;
Assertions_En... |
libsrc/target/zx/if1/if1_bytecount.asm | ahjelm/z88dk | 640 | 24907 | ;
; ZX IF1 & Microdrive functions
;
; Get the record counter from the FP
; int if1_bytecount (long fp);
;
; in: DEHL: LONG FILE PTR
; out: record number
;
;
; $Id: if1_bytecount.asm $
;
SECTION code_clib
PUBLIC if1_bytecount
PUBLIC _if1_bytecount
if1_bytecount:
_if1_bytecou... |
algebra/4-the-natural-numbers.agda | aronerben/agda-playground | 0 | 15343 | module 4-the-natural-numbers where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; cong; sym)
open Eq.≡-Reasoning using (begin_; _≡⟨⟩_; step-≡; _∎)
open import Data.Nat using (ℕ; zero; suc; _+_; _*_; ⌊_/2⌋)
-- 4)
--sum-to-n : ℕ → ℕ
--sum-to-n n = sum (upTo (suc n))
open import Data.Nat.Pr... |
src/ada/src/utils/bounded_dynamic_arrays.adb | VVCAS-Sean/OpenUxAS | 88 | 9209 | <gh_stars>10-100
package body Bounded_Dynamic_Arrays is
-----------
-- Clear --
-----------
procedure Clear (This : out Sequence) is
begin
This.Current_Length := 0;
This.Content := (others => Default_Value);
end Clear;
-------------------
-- Null_Sequence --
-------------------... |
Transynther/x86/_processed/NC/_st_zr_sm_/i3-7100_9_0xca_notsx.log_21829_262.asm | ljhsiun2/medusa | 9 | 246613 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x14c28, %r14
cmp %r10, %r10
vmovups (%r14), %ymm1
vextracti128 $0, %ymm1, %xmm1
vpextrq $0, %xmm1, %r11
nop
nop
nop
dec %r13
lea addresses_WT_ht+0xfbe8, %r8
... |
programs/oeis/072/A072261.asm | jmorken/loda | 1 | 169936 | <reponame>jmorken/loda<filename>programs/oeis/072/A072261.asm<gh_stars>1-10
; A072261: a(n) = 4*a(n-1) + 1, a(1)=7.
; 7,29,117,469,1877,7509,30037,120149,480597,1922389,7689557,30758229,123032917,492131669,1968526677,7874106709,31496426837,125985707349,503942829397,2015771317589,8063085270357,32252341081429,12900936432... |
3-mid/impact/source/3d/collision/narrowphase/impact-d3-manifold.adb | charlie5/lace | 20 | 711 | <filename>3-mid/impact/source/3d/collision/narrowphase/impact-d3-manifold.adb
with impact.d3.Vector;
package body impact.d3.Manifold
is
-- --- Containers
-- --
--
-- function Length (Self : in Vector) return ada.Containers.Count_Type
-- is
-- begin
-- return vectors.Vector (Self).Leng... |
test/Fail/SafeFlagPrimTrustMe.agda | redfish64/autonomic-agda | 1 | 8496 | module SafeFlagPrimTrustMe where
-- Cannot make an example with the correct type signature for
-- primTrustMe since it requires postulated universe level builtins,
-- which --safe flag will reject.
private
primitive
primTrustMe : Set
|
programs/oeis/103/A103627.asm | neoneye/loda | 22 | 80863 | <reponame>neoneye/loda
; A103627: Let S(n) = {n,1,n}; sequence gives concatenation S(0), S(1), S(2), ...
; 0,1,0,1,1,1,2,1,2,3,1,3,4,1,4,5,1,5,6,1,6,7,1,7,8,1,8,9,1,9,10,1,10,11,1,11,12,1,12,13,1,13,14,1,14,15,1,15,16,1,16,17,1,17,18,1,18,19,1,19,20,1,20,21,1,21,22,1,22,23,1,23,24,1,24,25,1,25,26,1,26,27,1,27,28,1,28,2... |
alloy4fun_models/trashltl/models/9/4rHs2AmEG6N4fYeqX.als | Kaixi26/org.alloytools.alloy | 0 | 1934 | <gh_stars>0
open main
pred id4rHs2AmEG6N4fYeqX_prop10 {
after all f : File | once f in Protected implies f in Protected
}
pred __repair { id4rHs2AmEG6N4fYeqX_prop10 }
check __repair { id4rHs2AmEG6N4fYeqX_prop10 <=> prop10o } |
anticrashhook/src/shims.asm | gibbed/JC4AnticrashHook | 4 | 172745 | wrapper_load PROTO C
.CODE
shim_crash PROC
int 3
nop; nop; nop; nop; nop; nop; nop
shim_crash ENDP
MAKE_SHIM macro name, ordinal
.DATA
PUBLIC shim_p_&name&
shim_p_&name& QWORD shim_crash
ENDM
INCLUDE shims.inc
PURGE MAKE_SHIM
MAKE_SHIM macro name, ordinal
.CODE
shim_l_&name& PROC
push r11
p... |
src/io/clr.asm | fourstix/Elfos-utils | 3 | 94012 | ; -------------------------------------------------------------------
; Simple program to clear the display screen (Ansi or non-Ansi)
; Copyright 2020 by <NAME>
; -------------------------------------------------------------------
; Based on software written by <NAME>
; Thanks to the author for making this code availab... |
src/sparkzumo.adb | yannickmoy/SPARKZumo | 6 | 22200 | <reponame>yannickmoy/SPARKZumo
pragma SPARK_Mode;
with Interfaces.C; use Interfaces.C;
with Sparkduino; use Sparkduino;
package body SPARKZumo is
Stop : constant := 0;
Sample_Rate : constant := 500;
procedure RISC_Test
is
Arr : Sensor_Array;
begin
loop
Zumo_Pushbutton.W... |
source/torrent-downloaders.ads | reznikmm/torrent | 4 | 21411 | <filename>source/torrent-downloaders.ads<gh_stars>1-10
-- Copyright (c) 2019-2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Containers.Ordered_Maps;
with Ada.Containers.Vectors;
with Ada.Finalization;
with... |
src/rom_512.asm | ka6sox/icestick_6502 | 0 | 27393 | ; rom_512.asm
; 6502 assembly in acme syntax for for tst_6502.
; <NAME> 03-02-19
; some fixed addresses in the design
tst_ram = $0000
tst_gpio = $1000
acia_ctl = $2000
acia_dat = $2001
tst_rom = $fe00
cpu_nmi = $fffa
cpu_reset = $fffc
cpu_irq = $fffe
; some variables
led_bits = tst_ram
dly_cnt = tst_ram... |
alloy4fun_models/trashltl/models/5/tXnLk9ctQtFZFZMvF.als | Kaixi26/org.alloytools.alloy | 0 | 4113 | <filename>alloy4fun_models/trashltl/models/5/tXnLk9ctQtFZFZMvF.als
open main
pred idtXnLk9ctQtFZFZMvF_prop6 {
all f:File | always f in Trash implies always f in Trash
}
pred __repair { idtXnLk9ctQtFZFZMvF_prop6 }
check __repair { idtXnLk9ctQtFZFZMvF_prop6 <=> prop6o } |
3-mid/physics/implement/c_math/source/thin/c_math_c-vector_2.ads | charlie5/lace | 20 | 11844 | -- This file is generated by SWIG. Please do *not* modify by hand.
--
with Interfaces.C;
package c_math_c.Vector_2 is
-- Item
--
type Item is record
x : aliased c_math_c.Real;
y : aliased c_math_c.Real;
end record;
-- Items
--
type Items is
array (Interfaces.C.size_t range <>) ... |
tools-src/gnu/gcc/gcc/ada/s-memory.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 25193 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
grammar/Nyar.g4 | ggssh/silly_pl0 | 1 | 4418 | <reponame>ggssh/silly_pl0
grammar Nyar;
import Lexer;
compUnit: (decl | funcDef)* EOF;// 编译单元
decl: constDecl | varDecl;// 声明
constDecl: CONST INT constDef (COMMA constDef)* SEMICOLON;// 常量声明
constDef:
IDENTIFIER ASSIGN expr
| IDENTIFIER LBRACK (expr)? RBRACK ASSIGN LBRACE expr (
COMMA expr
)* RBRACE;
varDecl: I... |
ioq3/build/release-js-js/missionpack/game/g_missile.asm | RawTechnique/quake-port | 1 | 5124 | <gh_stars>1-10
export G_BounceMissile
code
proc G_BounceMissile 48 12
ADDRFP4 0
ADDRFP4 0
INDIRP4
ASGNP4
ADDRFP4 4
ADDRFP4 4
INDIRP4
ASGNP4
ADDRLP4 16
ADDRGP4 level+36
INDIRI4
CVIF4 4
ADDRGP4 level+32
INDIRI4
ADDRGP4 level+36
INDIRI4
SUBI4
CVIF4 4
ADDRFP4 4
INDIRP4
CNSTI4 8
ADDP4
INDIRF4
MULF4
ADDF4
CVFI4 4
ASGNI4
ADDR... |
source/directories/machine-apple-darwin/a-hifina.adb | ytomino/drake | 33 | 3456 | with Ada.Exception_Identification.From_Here;
package body Ada.Hierarchical_File_Names is
use Exception_Identification.From_Here;
function Parent_Directory_Name (
Level : Positive)
return String;
function Parent_Directory_Name (
Level : Positive)
return String is
begin
return R... |
lab_11/01-buttonclick/main.asm | ak-karimzai/asm | 0 | 364 | ; Name : buttonclick.asm
;
; Build : nasm -felf64 -o buttonclick.o -l buttonclick.lst buttonclick.asm
; ld -s -m elf_x86_64 buttonclick.o -o buttonclick -lc --dynamic-linker /lib64/ld-linux-x86-64.so.2 `pkg-config --libs gtk+-2.0`
; Description : events and signals intro
;
; Remark : run... |
cv/cvlibrar.asm | DigitalMars/optlink | 28 | 163376 | <gh_stars>10-100
TITLE CVLIBRAR - Copyright (c) SLR Systems 1994
INCLUDE MACROS
INCLUDE LIBRARY
INCLUDE IO_STRUC
PUBLIC CV_LIBRARIES
.DATA
EXTERNDEF CV_TEMP_RECORD:BYTE
EXTERNDEF MAX_LIBNUM:DWORD,CURNMOD_NUMBER:DWORD,CV_LIBRARY_TYPE:DWORD,BYTES_SO_FAR:DWORD
EXTERNDEF FIRST_CV_LIB_GINDEX:DWORD
... |
src/Ninu.Emulator.Tests/Cpu/TestFiles/stores.6502.asm | jorgy343/Ninu | 0 | 246543 | <filename>src/Ninu.Emulator.Tests/Cpu/TestFiles/stores.6502.asm
.include "..\..\..\Cpu\TestFiles\std.6502.asm"
; These tests do not currently purposefully test flags. All tests that have offset addressing modes
; are designed to wrap around to a new page to test buggy wrapping behavior where applicable.
* = $00... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_1850_1101.asm | ljhsiun2/medusa | 9 | 95475 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1da70, %rsi
lea addresses_UC_ht+0x15970, %rdi
sub %r14, %r14
mov $30, %rcx
rep movsq
nop
nop
and $17772, %r10
lea addresses_A_ht+0x1dc70, %rsi
lea addresses_normal_ht+0x13270,... |
AirMessage/AppleScript/AppleScriptSource/FaceTime/handleIncomingCall.applescript | ryanspecter/airmessage-server-next | 23 | 4201 | --Accepts or rejects a pending incoming call
on main(accept)
tell application "System Events"
--Make sure the notification exists
if not (exists group 1 of UI element 1 of scroll area 1 of window 1 of application process "NotificationCenter") then
return false
end if
--Get the first notification
set no... |
Cubical/Categories/Instances/DistLattice.agda | FernandoLarrain/cubical | 1 | 14632 | {-# OPTIONS --safe #-}
module Cubical.Categories.Instances.DistLattice where
open import Cubical.Foundations.Prelude
open import Cubical.Algebra.DistLattice
open import Cubical.Categories.Category
open import Cubical.Categories.Instances.Lattice
open Category
DistLatticeCategory : ∀ {ℓ} (L : DistLattice ℓ) → Categ... |
Prueba PPI/PRUEBA PPI.asm | alfreedom/Z80-ASM-Programs | 0 | 28539 | <reponame>alfreedom/Z80-ASM-Programs
LD A,080h
OUT (03h),A
LD A,0FFh
CICLO: OUT (00h),A
OUT (01h),A
OUT (02h),A
JP CICLO |
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/printi16.asm | gb-archive/really-old-stuff | 10 | 2211 | #include once <printnum.asm>
#include once <div16.asm>
#include once <neg16.asm>
#include once <attr.asm>
__PRINTI16: ; Prints a 16bits signed in HL
; Converts 16 to 32 bits
PROC
LOCAL __PRINTU_LOOP
ld a, h
or a
jp p, __PRINTU16
call __PRINT_MINUS
call __NEGHL
__PRINTU16:
ld b, 0
__PRINTU_LOOP:
ld a, ... |
src/css-core-groups.ads | stcarrez/ada-css | 3 | 24199 | -----------------------------------------------------------------------
-- css-core-groups -- CSS rule to represent a group of CSS rules
-- Copyright (C) 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complianc... |
nasm/assgnment1/p2.asm | codingneverends/assembly | 0 | 175701 | section .data
msg1 :db 'Enter your name : ',9
l1 : equ $-msg1
section .bss
name : resb 1
l : resb 1
section .text
global _start:
_start:
mov eax, 4
mov ebx, 1
mov ecx, msg1
mov edx, l1
int 80h
mov eax, 3
mov ebx, 0
mov ecx, name
mov edx, l
int 80h
mov eax, 4
mov ebx, 1
mov ecx, name
mov edx, l
int 8... |
Mail To Things.scpt | phuna/EmailsToThings | 4 | 692 | --
-- Properties to be adjusted:
--
-- Here we specify if we want tot truncate the message (1) or not (0)
property truncateMsg : 1
-- in case we truncate, specify the length (number of chars)
property truncateLength : 500
-- here set a due date offset in number of days
-- eg. 1 ==> Due date Today + 1, i.e. Tomorrow
-... |
libsrc/z80_crt0s/r2k/sccz80/l_mult.asm | jpoikela/z88dk | 38 | 240646 |
SECTION code_crt0_sccz80
PUBLIC l_mult
; Entry: hl = value1
; de = value2
; Exit: hl = value1 * value2
.l_mult
ld c,l
ld b,h
defb 0xf7 ; mul : hlbc = bc * de
ld l,c
ld h,b
ret
|
src/GBA.Input.ads | 98devin/ada-gba-dev | 7 | 9804 | -- Copyright (c) 2021 <NAME>
-- zlib License -- see LICENSE for details.
with GBA.Memory.IO_Registers;
package GBA.Input is
type Key is
( A_Button
, B_Button
, Select_Button
, Start_Button
, Right_Direction
, Left_Direction
, Up_Direction
, Down_Direction
, Left_Shoulder
, ... |
examples/stm32f0/dma/main.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 1979 | with STM32GD.Board; use STM32GD.Board;
with STM32GD.USART; use STM32GD.USART;
procedure Main is
RX_Buffer : USART_Data (1 .. 16);
RX_Count : Natural;
begin
Init;
LED.Set;
while True loop
USART.DMA_Receive (10, RX_Buffer, RX_Count);
LED.Toggle;
if RX_Count > 0 then
USART.DMA_... |
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0.log_21829_1741.asm | ljhsiun2/medusa | 9 | 102504 | <filename>Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0.log_21829_1741.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1c736, %r12
nop
nop
nop
nop
nop
add $30021, %rdi
movl $0x61626364, (%r12)
nop... |
examples/zfp/systick/monotonic_counter.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 12009 | <filename>examples/zfp/systick/monotonic_counter.ads
with Interfaces; use Interfaces;
package Monotonic_Counter is
Counter : Unsigned_32;
Overflow : Boolean;
procedure Reset;
end Monotonic_Counter;
|
oeis/132/A132384.asm | neoneye/loda-programs | 11 | 28331 | <filename>oeis/132/A132384.asm
; A132384: a(n) = Sum_{ k <= n, k is not an i-th power with i >= 2} k.
; Submitted by <NAME>
; 1,3,6,6,11,17,24,24,24,34,45,57,70,84,99,99,116,134,153,173,194,216,239,263,263,289,289,317,346,376,407,407,440,474,509,509,546,584,623,663,704,746,789,833,878,924,971,1019,1019,1069,1120,1172,1... |
source/variable.asm | paulscottrobson/Basic65816 | 0 | 21412 | <reponame>paulscottrobson/Basic65816
; *******************************************************************************************
; *******************************************************************************************
;
; Name : variable.asm
; Purpose : Expression Evaluation
; Date : 7th June 2019
; Auth... |
source/league/league-pretty_printers.ads | svn2github/matreshka | 24 | 29268 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
programs/oeis/104/A104099.asm | neoneye/loda | 22 | 91560 | ; A104099: n * (10n^2 - 6n + 1), or n*A087348(n).
; 0,5,58,219,548,1105,1950,3143,4744,6813,9410,12595,16428,20969,26278,32415,39440,47413,56394,66443,77620,89985,103598,118519,134808,152525,171730,192483,214844,238873,264630,292175,321568,352869,386138,421435
mov $2,$0
mul $0,4
add $0,$2
mov $1,$0
bin $0,3
mul $0,12
... |
Groups/Subgroups/Normal/Lemmas.agda | Smaug123/agdaproofs | 4 | 4446 | <gh_stars>1-10
{-# OPTIONS --safe --warning=error --without-K #-}
open import Groups.Definition
open import Setoids.Setoids
open import Sets.EquivalenceRelations
open import Groups.Homomorphisms.Definition
open import Groups.Homomorphisms.Lemmas
open import Groups.Subgroups.Definition
open import Groups.Lemmas
open im... |
ejercicios3/ordenar_por_insercion.adb | iyan22/AprendeAda | 0 | 10112 | <filename>ejercicios3/ordenar_por_insercion.adb
with datos;
use datos;
with Buscar_Posicion_De_Insercion, Desplazar_Una_Posicion_A_La_Derecha;
procedure Ordenar_Por_Insercion (L : in Lista_Enteros; L_Ordenada : out Lista_Enteros) is
-- pre:
-- post: L_ordenada contiene los valores de L en orden ascendente
p... |
src/drivers/zumo_motors.ads | yannickmoy/SPARKZumo | 6 | 3760 | <filename>src/drivers/zumo_motors.ads
pragma SPARK_Mode;
with Types; use Types;
-- @summary
-- Control for the robot's motors
--
-- @description
-- This package exposes on interface to control the robot's motors
--
package Zumo_Motors is
-- True if the package has been init'd
Initd : Boolean := False;
... |
sdk-6.5.20/tools/led/example/knigget.asm | copslock/broadcom_cpri | 0 | 98185 | ;
; $Id: knigget.asm,v 1.2 2011/04/12 09:05:29 sraj Exp $
;
; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
;
; Copyright 2007-2020 Broadcom Inc. All rights reserved.
;
; This is the default program for the Black Knight.
; To start ... |
tests/bank_simple/4.asm | NullMember/customasm | 414 | 98184 | <reponame>NullMember/customasm
#ruledef test
{
loop => 0x5555 @ $`16
}
#bankdef test
{
#addr 0x8000
#outp 8 * 0x0000
}
loop
loop
loop
loop
; = 0x55558000
; = 0x55558004
; = 0x55558008
; = 0x5555800c |
Windows/Visual Studio/MinMax/MinMax/CalcMinMax.asm | leonhad/masm | 9 | 86671 | <gh_stars>1-10
.686
.model flat, c
.const
r4_MinFloat dword 0ff7fffffh
r4_MaxFloat dword 7f7fffffh
.code
CalcMinMax proc
push ebp
mov ebp, esp
xor eax, eax
mov edx, [ebp+8] ; edx = a
mov ecx, [ebp+12] ; ecx = n
test ecx, ecx
jle Done ; jump to Done if n <= 0
fld [r4_MinFloat] ; initial min value
f... |
Task/Executable-library/Ada/executable-library-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 9852 | with Ada.Text_IO, Parameter, Hailstones;
procedure Hailstone is
-- if Parameter.X > 0, the length of Hailstone(Parameter.X)
-- is computed and written into Parameter.Y
-- if Parameter.X = 0, Hailstone(27) and N <= 100_000 with maximal
-- Hailstone(N) are computed and printed.
procedure Show_Sequence(N... |
alloy4fun_models/trashltl/models/1/uGgLnNr3sPt3oAg3D.als | Kaixi26/org.alloytools.alloy | 0 | 4076 | <gh_stars>0
open main
pred iduGgLnNr3sPt3oAg3D_prop2 {
always after some File
}
pred __repair { iduGgLnNr3sPt3oAg3D_prop2 }
check __repair { iduGgLnNr3sPt3oAg3D_prop2 <=> prop2o } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.