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 |
|---|---|---|---|---|
src/sys/encoders/util-encoders-hmac-sha256.adb | RREE/ada-util | 60 | 14828 | -----------------------------------------------------------------------
-- util-encoders-hmac-sha1 -- Compute HMAC-SHA256 authentication code
-- Copyright (C) 2017, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except i... |
cursor.asm | rene0/asmstuff | 0 | 24885 | ; Copyright (c) 1997-2000 <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:
; 1. Redistributions of source code must retain the above copyright
; notice, this list of conditions and... |
src/hide-decode_generic.adb | persan/midnightsun-ctf-LoveLacedLetter | 0 | 25119 | procedure Hide.Decode_generic is
use all type Posix.C_String;
Source_File :constant String:= Posix.Get_Line;
begin
Put_Line (Decode ((+Source_File)));
end;
|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1205.asm | ljhsiun2/medusa | 9 | 89553 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r15
push %rax
push %rbp
push %rsi
lea addresses_WC_ht+0x18ae6, %r12
clflush (%r12)
sub $42621, %r15
mov (%r12), %r10d
nop
nop
sub $4502, %r13
lea addresses_normal_ht+0x1a406, %rax
nop
nop
nop
nop
nop
cmp $12693, %r13
mov (%rax), %rsi
nop
c... |
tools/yasm/tests/nasm/jumps.asm | fasttr-org/ftr | 0 | 174600 | <gh_stars>0
[BITS 16]
label:
jmp 1
jmp +1
jmp -1
jmp label
nop
je $$+1
je $+1
je $-1
je label
|
oeis/124/A124860.asm | neoneye/loda-programs | 11 | 171272 | ; A124860: A Jacobsthal-Pascal triangle.
; Submitted by <NAME>
; 1,1,1,3,6,3,5,15,15,5,11,44,66,44,11,21,105,210,210,105,21,43,258,645,860,645,258,43,85,595,1785,2975,2975,1785,595,85,171,1368,4788,9576,11970,9576,4788,1368,171,341,3069,12276,28644
lpb $0
add $2,1
sub $0,$2
mov $1,2
lpe
pow $1,$2
div $1,3
mul $1... |
1-base/math/source/generic/any_math.adb | charlie5/lace-alire | 1 | 11445 | with
ada.Characters.latin_1;
package body any_Math
is
use ada.Containers;
-----------
-- Integers
--
procedure increment (Self : in out Integer; By : in Integer := 1)
is
begin
Self := Self + By;
end increment;
procedure decrement (Self : in out Integer; By : in Integer := ... |
Comparison of Languages/Code/Assembly/Main.asm | KyleErwin/Assembly | 0 | 174926 | <gh_stars>0
segment .data
hello: db "The quick brown fox jumps over the lazy dog.",0x0a
segment .text
global _start
_start:
mov eax,1
mov edi,1
mov edx, 45 ; The number of characters
lea rsi,[hello]
syscall
mov eax,60
xor edi, edi
syscall |
sk/sfx/AB.asm | Cancer52/flamedriver | 9 | 242152 | Sound_AB_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Sound_AB_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cFM5, Sound_AB_FM5, $00, $00
; FM5 Data
Sound_AB_FM5:
smpsSpindashRev
smpsSetvoice $00
smpsModSet $01, $01, $1A, $01
dc.b nC5, $18, smpsNoAttack
smp... |
src/decls-d_atribut.ads | alvaromb/Compilemon | 1 | 18577 | -- DECLS-D_ATRIBUT.ads
-- Paquet de declaracions d'atributs
with Decls.Dgenerals,
Decls.D_Taula_De_Noms,
Decls.Dtnode,
Decls.Dtdesc;
use Decls.Dgenerals,
Decls.D_Taula_De_Noms,
Decls.Dtnode,
Decls.Dtdesc;
package Decls.D_Atribut is
type Atribut (T : Tipus_Atr... |
T1/T1/out/production/T1/t1/Lua.g4 | renatasarmet/compiladorLexicoSintatico | 0 | 3793 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
grammar Lua;
@members (
public static String grupo="<<606723, , >>";
)*
/*PALAVRAS RESERVADAS*/
PalavraReservada:'and' | 'break' | 'do' | 'else' | 'elseif' | 'end' | 'false' |
'for' | 'function' |... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/ancestor_type.ads | best08618/asylo | 7 | 17682 | <reponame>best08618/asylo
package Ancestor_Type is
type T is tagged private;
package B is
function make return T;
end B;
private
type T is tagged record
n: Natural;
end record;
end Ancestor_Type;
|
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_970.asm | ljhsiun2/medusa | 9 | 177490 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1cbd6, %r12
clflush (%r12)
and $13724, %r13
and $0xffffffffffffffc0, %r12
vmovaps (%r12), %ymm4
vextracti128 $1, %ymm4, %xmm4
vpextrq $0, %xmm4, %r11
nop
nop
add %rax, %rax
l... |
programs/oeis/184/A184580.asm | neoneye/loda | 22 | 20221 | ; A184580: a(n) = floor((n-1/4)*sqrt(2)), complement of A184581.
; 1,2,3,5,6,8,9,10,12,13,15,16,18,19,20,22,23,25,26,27,29,30,32,33,35,36,37,39,40,42,43,44,46,47,49,50,51,53,54,56,57,59,60,61,63,64,66,67,68,70,71,73,74,76,77,78,80,81,83,84,85,87,88,90,91,92,94,95,97,98,100,101,102,104,105,107,108,109,111,112,114,115,11... |
share/vpn/disconnect-from-vpn.template.applescript | codemonkey800/arch-config | 2 | 3723 | <filename>share/vpn/disconnect-from-vpn.template.applescript
tell application "System Events"
tell current location of network preferences
set vpn to service "${SERVICE}"
if exists vpn then disconnect vpn
end tell
end tell
|
libsrc/rex/graphics/pixaddr.asm | meesokim/z88dk | 0 | 176248 | <reponame>meesokim/z88dk<filename>libsrc/rex/graphics/pixaddr.asm
;
; written by <NAME>
;
; $Id: pixaddr.asm,v 1.3 2015/01/19 01:33:06 pauloscustodio Exp $
PUBLIC pixaddr
;
; LCD memory pixel addres
; ASM - entry point
;
; i/p : D=x E=y
; uses : AF,BC,HL,DE
; o/p : HL=LCD memory byte address C=pixel bit
.pixaddr
... |
Models/Car System module/CarSystem004/CarSystem004Functions.asm | fmselab/ABZ2020CaseStudyInAsmeta | 0 | 87758 | <gh_stars>0
//Ground model of Adaptive Exterior Light and Speed Control System
//Direction Blinking
//Hazard warning light
//from ELS-1 to ELS-13
module CarSystem004Functions
import ../../StandardLibrary
import CarSystem004Domains
import ../CarSystem002/CarSystem002Functions
export *
signature:
// FUNCTIONS
monito... |
dos/cga_comp.asm | michaelcmartin/bumbershoot | 20 | 242565 | ;;; CGALORES.ASM - Demonstration of the 160x100x16 mode on CGA systems.
;;; by <NAME>, 2015, for the Bumbershoot Software blog
;;; This code is BSD-licensed; see the repository's general license
;;; for details
;;; This was written for the Netwide Assembler (www.nasm.us)
;;; To assemble, put this and cgalores.dat in ... |
exercises/practice/resistor-color/.meta/example.asm | jonboland/x86-64-assembly | 21 | 84869 | default rel
section .rodata
black: db "black", 0
brown: db "brown", 0
red: db "red", 0
orange: db "orange", 0
yellow: db "yellow", 0
green: db "green", 0
blue: db "blue", 0
violet: db "violet", 0
grey: db "grey", 0
white: db "white", 0
color_array:
dq black
dq brown
dq red
dq orange
dq yellow
dq green
dq blue
dq viol... |
mappings/c11_ppc.als | mpardalos/memalloy | 20 | 2030 | open ../archs/exec_C[SE] as SW
open ../archs/exec_ppc[HE] as HW
/*
A C11-to-Power mapping.
*/
module c11_ppc[SE,HE]
pred apply_map[X:Exec_C, X':Exec_PPC, map:SE->HE] {
X.EV = SE
X'.EV = HE
// two SW events cannot be compiled to a single HW event
map in X.EV lone -> X'.EV
// HW reads/writes cann... |
LibraBFT/Concrete/Intermediate.agda | cwjnkins/bft-consensus-agda | 0 | 12644 | <gh_stars>0
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
-- This module defines an intermediate (between an implement... |
source/Pas2.asm | bootrino/gpascal | 0 | 7174 | ************************************************
2 * PASCAL COMPILER
3 * for Commodore 64
4 * PART 2
5 * Authors: <NAME> & <NAME>
6 * SYM $9000
********************************... |
libsrc/stdio/ansi/ticalc/f_ansi_dline.asm | jpoikela/z88dk | 8 | 19061 | ;
; ANSI Video handling for the TI calculators
; By <NAME> - Dec. 2000
;
; Clean a text line
;
; in: A = text row number
;
;
; $Id: f_ansi_dline.asm,v 1.6 2016-06-12 16:06:43 dom Exp $
;
INCLUDE "stdio/ansi/ticalc/ticalc.inc"
SECTION code_clib
PUBLIC ansi_del_line
EXTERN base_graphics
EXTERN cpygraph
... |
oeis/011/A011973.asm | neoneye/loda-programs | 11 | 86630 | ; A011973: Triangle of numbers {binomial(n-k, k), n >= 0, 0 <= k <= floor(n/2)}; or, triangle of coefficients of (one version of) Fibonacci polynomials.
; Submitted by <NAME>
; 1,1,1,1,1,2,1,3,1,1,4,3,1,5,6,1,1,6,10,4,1,7,15,10,1,1,8,21,20,5,1,9,28,35,15,1,1,10,36,56,35,6,1,11,45,84,70,21,1,1,12,55,120,126,56,7,1,13,66... |
src/static/antlr4/grammars/FormalParameter.g4 | jlenoble/ecmascript-parser | 0 | 5052 | /* Source: ECMAScript® 2018 Language Specification - Annex A-4 */
grammar FormalParameter;
// UniqueFormalParameters[Yield, Await]:
// FormalParameters[?Yield, ?Await]
uniqueFormalParameters
: formalParameters
;
// FormalParameters[Yield, Await]:
// [empty]
// FunctionRestParameter[?Yield, ?Await]
// For... |
Calculator.asm | AmirHadifar/Assembly-Calculator | 0 | 96120 |
data segment
make_dot db 0
x_dot_index db 0
y_dot_index db 0
x_float_count db 0
y_float_count db 0
_TEN dw 10d
x dw 0
y dw 0
buffer db 6 dup(0),'$'
lenth dw 0
operand1 db 0
operand2 db 0
key db 0
of db 0
ng db 0
xsighn db 0
ysighn db 0
;------------------------------... |
routines/math/multiplication.asm | undisbeliever/snesdev-common | 3 | 247907 | ;; Multiplication routines
;; -----------------------
;;
;; included by `routines/math.s`
.code
.A8
.A16
ROUTINE Multiply_U8Y_U8X_UY
PHP
SEP #$30
.I16
STY WRMPYA
STX WRMPYB
; Wait 8 Cycles
REP #$10 ; 3
.A16
PLP ; 4
LDY RDMPY ; 1 instruction fetch
RTS
; Must not use mathTmp1-4
; Does not use X
.A8
... |
Windows/Visual Studio/MmxShift/MmxShift/MmxShifter.asm | leonhad/masm | 9 | 242004 | .MODEL flat, c
.CODE
MmxShifter PROC
push ebp
mov ebp, esp
xor eax, eax
mov edx, [ebp+16] ; edx = shift_op
cmp edx, ShiftOpTableCount
jae BadShiftOp ; invalid operation
mov eax, 1 ; set success return code
movq mm0, [ebp+8] ; loads a
movd mm1, dword ptr[ebp+20] ; load count into low dword
jmp ... |
ruby-antlr-hash-2-json/src/main/antlr/ua/k/co/play/rah2j/LibExpr.g4 | msangel/playground | 0 | 5132 | grammar LibExpr; // Rename to distinguish from original
import CommonLexerRules; // includes all rules from CommonLexerRules.g4
/** The start rule; begin parsing here. */
prog: stat+ ;
stat: expr NEWLINE
| ID '=' expr NEWLINE
| NEWLINE
;
expr: expr ('*'|'/') expr
| expr ('+'|'-') expr
| INT
| ID
| '(' expr ')'
;
|
tests/game-test_data-tests-attributes_container.ads | thindil/steamsky | 80 | 3790 | package Game.Test_Data.Tests.Attributes_Container is
end Game.Test_Data.Tests.Attributes_Container;
|
theorems/stash/modalities/gbm/GbmUtil.agda | timjb/HoTT-Agda | 294 | 14818 | <reponame>timjb/HoTT-Agda
{-# OPTIONS --without-K --rewriting #-}
open import HoTT
module stash.modalities.gbm.GbmUtil where
BM-Relation : ∀ {ℓ} (M : Modality ℓ) {A : Type ℓ} {B : Type ℓ} (Q : A → B → Type ℓ) → Type ℓ
BM-Relation M {A} {B} Q =
{a₀ : A} {b₀ : B} (q₀ : Q a₀ b₀)
{a₁ : A} (q₁ : Q a₁ b₀)
... |
libsrc/_DEVELOPMENT/adt/wv_priority_queue/c/sdcc_iy/wv_priority_queue_empty_fastcall.asm | meesokim/z88dk | 0 | 19385 |
; int wv_priority_queue_empty_fastcall(wv_priority_queue_t *q)
SECTION code_adt_wv_priority_queue
PUBLIC _wv_priority_queue_empty_fastcall
defc _wv_priority_queue_empty_fastcall = asm_wv_priority_queue_empty
INCLUDE "adt/wv_priority_queue/z80/asm_wv_priority_queue_empty.asm"
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pak.ads | best08618/asylo | 7 | 2835 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pak.ads
with Ada.Finalization;
package Pak is
type T is new Ada.Finalization.Controlled with null record;
procedure Initialize (X : in out T);
procedure Finalize (X : in out T);
procedure Assign (X : out T'Class);
end Pak;
|
src/ada/src/services/spark/common.ads | manthonyaiello/OpenUxAS | 0 | 9917 | <reponame>manthonyaiello/OpenUxAS
with Ada.Containers.Functional_Vectors;
with Ada.Containers.Functional_Sets;
with Ada.Containers.Functional_Maps;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Interfaces;
package Common with SPARK_Mode is
type UInt32 is new Interfaces.Unsigned_32;
ty... |
texmap/john.asm | osgcc/descent-pc | 3 | 16903 | <gh_stars>1-10
;THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
;SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
;END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
;ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
;IN ... |
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_fzx/zx_01_output_fzx_iterm_msg_readline_end.asm | jpoikela/z88dk | 640 | 96755 |
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC zx_01_output_fzx_iterm_msg_readline_end
EXTERN console_01_output_fzx_iterm_msg_readline_end
zx_01_output_fzx_iterm_msg_readline_end:
; input terminal has completed editing
; can use: af, bc, de, hl, ix
ld a,(ix+37) ; a = pixel ... |
programs/oeis/166/A166810.asm | neoneye/loda | 22 | 240499 | ; A166810: Number of n X 6 1..2 arrays containing at least one of each value, all equal values connected, rows considered as a single number in nondecreasing order, and columns considered as a single number in nondecreasing order.
; 5,26,82,208,460,922,1714,3001,5003,8006,12374,18562,27130,38758,54262,74611,100945,1345... |
programs/oeis/198/A198479.asm | neoneye/loda | 22 | 241704 | <reponame>neoneye/loda
; A198479: 10^n*n^10.
; 0,10,102400,59049000,10485760000,976562500000,60466176000000,2824752490000000,107374182400000000,3486784401000000000,100000000000000000000,2593742460100000000000,61917364224000000000000,1378584918490000000000000,28925465497600000000000000,576650390625000000000000000,109951... |
kernel/firmware/vbe.asm | ssebs/xos | 15 | 27846 |
;; xOS32
;; Copyright (C) 2016-2017 by <NAME>.
use16
VBE_BUFFER_SIZE = 0x1000000 ; maximum buffer size is 16 MB
VBE_PHYSICAL_BUFFER = 0xD0000000
VBE_BACK_BUFFER = VBE_PHYSICAL_BUFFER + VBE_BUFFER_SIZE
; default width/height when EDID is unavailable or unusable
DEFAULT_WIDTH = 800
DEFAULT_HEIGHT = 600
alig... |
programs/oeis/109/A109622.asm | jmorken/loda | 1 | 26227 | ; A109622: Number of different isotemporal classes of diasters with n peripheral edges.
; 1,1,4,7,15,23,38,53,77,101,136,171,219,267,330,393,473,553,652,751,871,991,1134,1277,1445,1613,1808,2003,2227,2451,2706,2961,3249,3537,3860,4183,4543,4903,5302,5701,6141,6581,7064,7547,8075,8603
mov $1,1
mov $2,$0
mov $6,1
lpb $2... |
src/blueprint.ads | bracke/websitegenerator | 1 | 5253 | <gh_stars>1-10
with Ada.Directories; use Ada.Directories;
package Blueprint is
type Action is (Write, Delete, DryRun);
function Get_Blueprint_Folder return String;
procedure Process_File
(Target : String; Search_Item : Directory_Entry_Type; Todo : Action);
procedure Parse_Content (Source_File : S... |
library.applescript | tangledhelix/breaktime-workflow | 2 | 830 | -- Determine whether Do Not Disturb is enabled in Notification Center
on dnd_is_enabled()
tell application "System Events"
tell application process "SystemUIServer"
if exists menu bar item "Notification Center, Do Not Disturb enabled" of menu bar 2 then
return true
el... |
libsrc/zx81/scrolldowntxt.asm | grancier/z180 | 0 | 22833 | <reponame>grancier/z180<filename>libsrc/zx81/scrolldowntxt.asm
;
; ZX81 libraries - Stefano
;
;----------------------------------------------------------------
;
; $Id: scrolldowntxt.asm,v 1.6 2016/06/26 20:32:08 dom Exp $
;
;----------------------------------------------------------------
; Text scrolldown.
;---------... |
06-ilinux-fat-fs/boot.asm | weimanzhou/ilinux | 0 | 15435 | ; int 10h / ah = 0x13 document http://www.ablmcc.edu.hk/~scy/CIT/8086_bios_and_dos_interrupts.htm#int10h_13h
; define _BOOT_DEBUG_
%ifdef _BOOT_DEBUG_
org 0x0100 ; 调试状态,做成 .com 文件,可调试
%else
org 0x7c00 ; Boot 状态,BIOS将把 bootector
; 加载到 0:7c00 处并开始执行
%endif
jmp short LABEL_START
nop
BS_OEMName DB '--... |
cards/bn5/ModCards/136-B033 ProtoMan.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | 10 | 81638 | .include "defaults_mod.asm"
table_file_jp equ "exe5-utf8.tbl"
table_file_en equ "bn5-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252424A // BRBJ
game_code_2 equ 0x42524245 // BRBE
game_code_3 equ 0x42524250 // BRBP
card_type equ 1
card_id equ 83
card_no equ "083"
card_sub equ "Mod Card 083"
card_sub_x ... |
oeis/152/A152494.asm | neoneye/loda-programs | 11 | 245017 | <reponame>neoneye/loda-programs
; A152494: 1/3 of the number of permutations of 2 indistinguishable copies of 1..n with exactly 2 local maxima.
; Submitted by <NAME>
; 0,1,19,235,2539,26119,263863,2648107,26513875,265250287,2652876847,26530008499,265304159371,2653054879735,26530591844071,265306057146811,265306101628422... |
fix/fix.asm | arbruijn/d1dos | 2 | 168075 | ;THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
;SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
;END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
;ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
;IN USING, DISPLAYING, ... |
Testcases/rand.asm | 5ayam5/COL216-A4 | 0 | 163590 | <reponame>5ayam5/COL216-A4
lw $t0, 1004($zero)
lw $t0, 2000($zero)
sw $t2, 1100($zero)
lw $t2, 1104($zero)
lw $t0, 1100($zero)
|
rts/gcc-9/adainclude/a-except.adb | letsbyteit/build-avr-ada-toolchain | 7 | 13720 | <reponame>letsbyteit/build-avr-ada-toolchain
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
Lists/Definition.agda | Smaug123/agdaproofs | 4 | 7778 | <reponame>Smaug123/agdaproofs
{-# OPTIONS --safe --warning=error --without-K #-}
module Lists.Definition where
data List {a : _} (A : Set a) : Set a where
[] : List A
_::_ : (x : A) (xs : List A) → List A
infixr 10 _::_
{-# BUILTIN LIST List #-}
[_] : {a : _} {A : Set a} → (a : A) → List A
[ a ] = a :: []
_++_... |
oeis/255/A255817.asm | neoneye/loda-programs | 11 | 15049 | <filename>oeis/255/A255817.asm
; A255817: Parity of A000788, which is the total number of ones in 0..n in binary.
; Submitted by <NAME>(s2)
; 0,1,0,0,1,1,1,0,1,1,1,0,0,1,0,0,1,1,1,0,0,1,0,0,0,1,0,0,1,1,1,0,1,1,1,0,0,1,0,0,0,1,0,0,1,1,1,0,0,1,0,0,1,1,1,0,1,1,1,0,0,1,0,0,1,1,1,0,0,1,0,0,0,1,0,0,1,1,1,0,0,1,0,0,1,1,1,0,1,... |
data/hidden_objects.asm | adhi-thirumala/EvoYellow | 16 | 163819 | <reponame>adhi-thirumala/EvoYellow
HiddenObjectMaps:
dbw SILPH_CO_11F, SilphCo11FHiddenObjects
dbw SILPH_CO_5F, SilphCo5FHiddenObjects
dbw SILPH_CO_9F, SilphCo9FHiddenObjects
dbw MANSION_2, Mansion2HiddenObjects
dbw MANSION_3, Mansion3HiddenObjects
dbw MAN... |
orka/src/orka/implementation/orka-smart_pointers.adb | onox/orka | 52 | 1569 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2018 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/licenses/LICENSE-2.0
-... |
ada/original_2008/ada-gui/agar-gui-widget-tlist.ads | auzkok/libagar | 286 | 2768 | with agar.core.event;
with agar.core.event_types;
with agar.core.tail_queue;
with agar.core.timeout;
with agar.core.types;
with agar.gui.surface;
with agar.gui.widget.label;
with agar.gui.widget.menu;
with agar.gui.widget.scrollbar;
with agar.gui.window;
package agar.gui.widget.tlist is
use type c.unsigned;
type... |
Stm8Invaders/asm/spritedata.asm | peteri/Invaders | 0 | 100188 | <reponame>peteri/Invaders<gh_stars>0
stm8/
;=============================================
; Generated file from the WPF invaders
; Contains pre-shifted sprites.
;=============================================
segment 'rom'
.alien_moving_y_data.w
dc.b 16 ; width
dc.w %0000000000000000 ;image 0 shift 0
dc.w %0000000... |
source/.milestone2/bootload.asm | diwangs/IF2230_GhettoOS | 0 | 2760 | <filename>source/.milestone2/bootload.asm
;bootload.asm
;<NAME>, 2007
;
;This is a simple bootloader that loads and executes a kernel at sector 3
bits 16
KSEG equ 0x1000 ;kernel goes into memory at 0x10000
KSIZE equ 15 ;kernel is at most 10 sectors (and probably less)
KSTART equ 1 ;kernel lives at sector 3 (makes ... |
src/fltk-widgets-groups-text_displays.ads | micahwelf/FLTK-Ada | 1 | 16513 |
with
FLTK.Text_Buffers;
private with
Interfaces.C,
System.Address_To_Access_Conversions;
package FLTK.Widgets.Groups.Text_Displays is
type Text_Display is new Group with private;
type Text_Display_Reference (Data : not null access Text_Display'Class) is
limited null record with Imp... |
tests/function_simple/err_result_size_larger1.asm | dommilosz/customasm | 0 | 16454 | #fn add1(value) => value + 1
#d8 add1(0xffff) ; error: larger |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_11_2553.asm | ljhsiun2/medusa | 9 | 175637 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_11_2553.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x175dc, %r10
nop
nop
nop
nop
cmp $45643, %rax
movb (%r10), %r9b
nop
nop
nop
nop
nop
xor ... |
Cubical/Algebra/Matrix.agda | dolio/cubical | 0 | 15518 | {-# OPTIONS --safe #-}
module Cubical.Algebra.Matrix where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Structure
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Univalence
open import ... |
src/apsepp-test_event_class.ads | thierr26/ada-apsepp | 0 | 19778 | <filename>src/apsepp-test_event_class.ads<gh_stars>0
-- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Calendar; use Ada.Calendar;
with Ada.Tags; use Ada.Tags;
with Apsepp.Calendar; use Apsep... |
z80/game.asm | qccoders/TicTacToe | 4 | 20132 | NewGame:
ld a,0
call FillBoard
ld ix,GameState
ld (ix+0),0
ld (ix+1),0
ld (ix+2),0
call PlayGame
ld hl,PlayAgain
call Println
ld hl,Choice
call Readln
ld ix,NoString
call StringEqual
cp 1
ret z
jr NewGame
;in: hl, the address of userput
;out: a = 0,1,2 for the first row or column found, 9 if there's ... |
PRG/objects/5-2Under.asm | narfman0/smb3_pp1 | 0 | 96278 | .byte $01 ; Unknown purpose
.byte OBJ_GREENTROOPA, $0F, $10
.byte OBJ_GREENTROOPA, $07, $10
.byte OBJ_GREENTROOPA, $0E, $20
.byte $FF ; Terminator
|
tools-src/gnu/gcc/gcc/ada/5otaprop.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 2660 | ------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
programs/oeis/117/A117188.asm | jmorken/loda | 1 | 245728 | ; A117188: Expansion of (1-x^2)/(1+x^2+x^4).
; 1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,1,0,-2,0,1,0,... |
testsuite/ubivm/output/expr_real_9.asm | alexgarzao/UOP | 0 | 81591 | .constant_pool
.const 0 string [start]
.const 1 string [constructor]
.const 2 string [2.0 - 1.0=]
.const 3 real [2.000000]
.const 4 real [1.000000]
.const 5 int [2]
.const 6 string [io.writeln]
.const 7 string [2.0 * 7=]
.const 8 int [7]
.const 9 string [2.0 *... |
prototype/command-response/View.agda | stevana/haarss | 1 | 182 | module View where
open import Data.Unit
open import Data.Char
open import Data.Maybe
open import Data.Container.Indexed
open import Signature
open import Model
open import IO.Primitive
------------------------------------------------------------------------
postulate
view : Model → IO ⊤
data VtyEvent : Set where... |
Build Tools/MacLand Script Builder.applescript | freegeek-pdx/macOS-Testing-and-Deployment-Scripts | 0 | 3960 | <gh_stars>0
--
-- MIT License
--
-- Copyright (c) 2021 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
-- to deal in the Software without restriction, including without limitation the rights to use, copy, mod... |
include/sf-config.ads | danva994/ASFML-1.6 | 1 | 13795 | <filename>include/sf-config.ads<gh_stars>1-10
-- ////////////////////////////////////////////////////////////
-- //
-- // SFML - Simple and Fast Multimedia Library
-- // Copyright (C) 2007-2009 <NAME> (<EMAIL>)
-- //
-- // This software is provided 'as-is', without any express or implied warranty.
-- // In no event wil... |
Programas Ada95/bloquesError.ada | mendoza/mini-ada95 | 0 | 3596 | ------ BLOQUES - ERRORES
procedure Hello is
a: Integer;
b: Float := 2.0 ;
c: Boolean := false;
function uno(a,b:out Boolean; x,y :in Integer) return Boolean is
begin
if x < 19 or x > 89 then
return False;
else
return a;
end... |
PRG/levels/Ice/6-4.asm | narfman0/smb3_pp1 | 0 | 11216 | <gh_stars>0
; Original address was $B625
.word W604_CoinHeavL ; Alternate level layout
.word W604_CoinHeavO ; Alternate object layout
.byte LEVEL1_SIZE_11 | LEVEL1_YSTART_170
.byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_13 | LEVEL3_VSCROLL_LOCKLOW | LEVEL3_PIPENOTEXIT
.byte LE... |
source/nodes/program-nodes-signed_integer_types.adb | reznikmm/gela | 0 | 5450 | <reponame>reznikmm/gela
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Signed_Integer_Types is
function Create
(Range_Token : not null Program.Lexical_Elements
.Lexical_... |
src/_test/helpers/apsepp-test_node_class-runner_sequential-w_slave_nodes-create.adb | thierr26/ada-apsepp | 0 | 26084 | <gh_stars>0
-- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Apsepp.Test_Node_Class.Runner_Sequential.Create;
function Apsepp.Test_Node_Class.Runner_Sequential.W_Slave_Nodes.Create
(Root_Node_Access : Test_Node_Access;
Test_Reporter_Instance_Access : Test... |
Ada/src/Problem_72.adb | Tim-Tom/project-euler | 0 | 14605 | <gh_stars>0
with Ada.Text_IO;
with PrimeUtilities;
package body Problem_72 is
package IO renames Ada.Text_IO;
subtype One_Million is Long_Integer range 1 .. 1_000_000;
package Million_Primes is new PrimeUtilities(One_Million);
-- From Farey Sequence Wikipedia Page:
-- Using the fact that |F1| = 2, we ca... |
src/Data/QuadTree/LensProofs/Valid-LensWrappedTree.agda | JonathanBrouwer/research-project | 1 | 3485 | module Data.QuadTree.LensProofs.Valid-LensWrappedTree where
open import Haskell.Prelude renaming (zero to Z; suc to S)
open import Data.Lens.Lens
open import Data.Logic
open import Data.QuadTree.InternalAgda
open import Agda.Primitive
open import Data.Lens.Proofs.LensLaws
open import Data.Lens.Proofs.LensPostulates
op... |
text/maps/PewterGym_2.asm | AmateurPanda92/pokemon-rby-dx | 9 | 176798 | _PewterGymText_5c4a3::
text "There are all"
line "kinds of trainers"
cont "in the world!"
para "You appear to be"
line "very gifted as a"
cont "#MON trainer!"
para "Go to the GYM in"
line "CERULEAN and test"
cont "your abilities!"
done
_TM34PreReceiveText::
text "Wait! Take this"
line "with you!"
done
... |
Transynther/x86/_processed/NONE/_ht_zr_un_/i3-7100_9_0x84_notsx.log_102_1738.asm | ljhsiun2/medusa | 9 | 1808 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1129, %rdi
nop
nop
nop
nop
cmp $47910, %r10
movb (%rdi), %r13b
nop
nop
inc %r15
lea addresses_D_ht+0xeec9, %rbp
nop
nop
and %r13, %r13
movw $0x6162... |
programs/oeis/091/A091596.asm | neoneye/loda | 22 | 27663 | ; A091596: Expansion of x(1-2x^2)/(1-x-2x^2)^2.
; 0,1,2,5,12,27,62,137,304,663,1442,3109,6676,14259,30342,64321,135928,286415,601962,1262173,2640860,5514731,11495502,23923065,49710272,103148807,213754162,442421397,914668964,1888990243,3897285142
mov $5,2
mov $10,$0
lpb $5
mov $0,$10
sub $5,1
add $0,$5
sub $0,1... |
programs/oeis/120/A120849.asm | karttu/loda | 1 | 8519 | ; A120849: 5n+3^n-2^n.
; 0,6,15,34,85,236,695,2094,6345,19216,58075,175154,527405,1586196,4766655,14316214,42981265,129009176,387158435,1161737274,3485735925,10458256156,31376865415,94134790334,282412759385,847255055136,2541798719595,7625463267394,22876524019645,68629840494116,205890058352975,617671248800454,1853015893... |
aosvs/aosvs-process.adb | SMerrony/dgemua | 2 | 20181 | <filename>aosvs/aosvs-process.adb
-- MIT License
-- Copyright (c) 2021 <NAME>
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights... |
1-base/lace/source/events/concrete/lace-observer-instant.ads | charlie5/lace-alire | 1 | 14230 | with
lace.make_Observer,
lace.Any;
private
with
ada.Strings.unbounded;
package lace.Observer.instant
--
-- Provides a concrete instant event observer.
--
is
type Item is limited new Any.limited_item
and Observer .item with private;
type View is access all Item'Class;
... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_544.asm | ljhsiun2/medusa | 9 | 85522 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_544.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r14
push %rbp
push %rbx
push %rcx
// Faulty Load
lea addresses_WC+0x269b, %r11
nop
nop
nop
nop
inc %rbp
movups (%r11... |
programs/oeis/130/A130328.asm | jmorken/loda | 1 | 162911 | ; A130328: Triangle of differences between powers of 2, read by rows.
; 1,3,2,7,6,4,15,14,12,8,31,30,28,24,16,63,62,60,56,48,32,127,126,124,120,112,96,64,255,254,252,248,240,224,192,128,511,510,508,504,496,480,448,384,256
mov $2,$0
mov $0,2
add $2,2
pow $0,$2
mov $2,2
lpb $0
mul $2,2
mov $3,3
sub $3,$0
sub $0,... |
oeis/010/A010768.asm | neoneye/loda-programs | 11 | 88265 | ; A010768: Decimal expansion of 6th root of 2.
; Submitted by <NAME>(w1)
; 1,1,2,2,4,6,2,0,4,8,3,0,9,3,7,2,9,8,1,4,3,3,5,3,3,0,4,9,6,7,9,1,7,9,5,1,6,2,3,2,4,1,1,1,1,0,6,1,3,9,8,6,7,5,3,4,4,0,4,0,9,5,4,5,8,8,2,9,0,4,0,0,5,5,6,5,8,6,1,2,4,7,0,8,7,9,2,3,2,2,7,1,1,2,5,0,9,0,8,0
mov $3,$0
mul $3,3
lpb $3
add $2,1
add $... |
Task/Verify-distribution-uniformity-Chi-squared-test/Ada/verify-distribution-uniformity-chi-squared-test-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 12278 | package Chi_Square is
type Flt is digits 18;
type Bins_Type is array(Positive range <>) of Natural;
function Distance(Bins: Bins_Type) return Flt;
end Chi_Square;
|
programs/oeis/071/A071875.asm | jmorken/loda | 1 | 13302 | <reponame>jmorken/loda
; A071875: Decimal expansion of the eighth (of 10) decimal selvage number; the n-th digit of a decimal selvage number, x, is equal to the tenths digit of n*x.
; 7,4,2,9,7,4,2,9,6,4,1,9,6,4,1,8,6,3,1,8,6,3,0,8,5,3,0,8,5,2,0,7,5,2,0,7,4,2,9,7,4,2,9,6,4,1,9,6,4,1,8,6,3,1,8,6,3,0,8,5,3,0,8,5,2,0,7,5,... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/mak.lzh/mak/kart-check.asm | prismotizm/gigaleak | 0 | 80377 | Name: kart-check.asm
Type: file
Size: 1042
Last-Modified: '1992-07-01T00:26:43Z'
SHA-1: 3530A4B23023A1312D22DB17BC2749DD6C79D4B1
Description: null
|
_tests/trull/Gold/KeywordFun.g4 | kaby76/Domemtech.Trash | 16 | 3502 | <reponame>kaby76/Domemtech.Trash
grammar KeywordFun;
a : 'abc';
b : 'def';
A : [aA] [bB] [cC];
B : [dD] [eE] [fF];
C : 'uvw' 'xyz'?;
D : 'uvw' 'xyz'+;
|
test/Succeed/Issue616.agda | shlevy/agda | 3 | 184 |
module Issue616 where
open import Common.Coinduction
const : ∀ {a b}{A : Set a}{B : Set b} → A → B → A
const x _ = x
-- The recursive call should be ignored by the termination checker,
-- since ♭ is a projection function and shouldn't store its implicit
-- arguments.
contrived : Set₁
contrived = ♭ {A = const _ cont... |
non_regression/other_x86_linux_9.s.asm | LRGH/plasmasm | 1 | 178422 | .file "deflate.c"
.section .rodata
.align 32
.globl deflate_copyright
.type deflate_copyright, @object
deflate_copyright:
.string " deflate 1.2.8 Copyright 1995-2013 <NAME> and <NAME> "
.size deflate_copyright, 68
# ----------------------
.align 32
.local configuration_table
.type configuration_table, @... |
Transynther/x86/_processed/NC/_st_zr_sm_/i7-7700_9_0xca.log_21829_1727.asm | ljhsiun2/medusa | 9 | 165645 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x6bb7, %rsi
nop
and %rbx, %rbx
vmovups (%rsi), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $1, %xmm0, %r15
nop
nop
nop
nop
xor %r8, %r8
lea addre... |
grammar/MmLexer.g4 | anterokangas/mmjs | 0 | 6232 | <filename>grammar/MmLexer.g4
lexer grammar MmLexer ;
Comment : '(*' .*? '*)' -> skip ;
WS : [ \t\r\n]+ -> skip ;
CommandStart : '(' -> pushMode(CommandMode) ;
Text : ~('\'' | '"' | '(' | ')')+ ;
mode CommandMode;
CommandWS : WS -> skip ;
Role : 'Role' -> mode(RoleCommandMode) ;
mode RoleCommandMode ;
RoleCommandWS... |
programs/oeis/053/A053209.asm | karttu/loda | 1 | 164163 | <gh_stars>1-10
; A053209: Row sums of A051598.
; 1,5,14,32,68,140,284,572,1148,2300,4604,9212,18428,36860,73724,147452,294908,589820,1179644,2359292,4718588,9437180,18874364,37748732,75497468,150994940,301989884,603979772,1207959548,2415919100,4831838204,9663676412,19327352828,38654705660,77309411324,154618822652,30923... |
programs/oeis/171/A171182.asm | karttu/loda | 1 | 6060 | <filename>programs/oeis/171/A171182.asm
; A171182: Period 6: repeat [0, 1, 1, 1, 0, 2].
; 0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1,1,0,2,0,1,1
add $0,1
gcd $0,6
l... |
oeis/033/A033672.asm | neoneye/loda-programs | 11 | 161680 | <filename>oeis/033/A033672.asm
; A033672: Trajectory of 69 under map x->x + (x-with-digits-reversed).
; Submitted by <NAME>
; 69,165,726,1353,4884,9768,18447,92928,175857,934428,1758867,9447438,17794887,96644658,182289327,906271608,1712444217,8836886388,17673772776,85401510447,159803020905,668823329856,1327746658722,36... |
core/lib/Equivalences.agda | cmknapp/HoTT-Agda | 0 | 9599 | {-# OPTIONS --without-K #-}
open import lib.Base
open import lib.PathGroupoid
open import lib.PathFunctor
open import lib.NType
module lib.Equivalences where
{-
We use the half-adjoint definition of equivalences (but this fact should be
invisible to the user of the library). The constructor of the type of
equivalenc... |
test/Succeed/Issue695.agda | hborum/agda | 2 | 3558 | <filename>test/Succeed/Issue695.agda
module _ where
data Sigma (A : Set)(B : A → Set) : Set where
_,_ : (x : A) → B x → Sigma A B
record Top : Set where
_o_ : {A B : Set}{C : Set1} →
(f : B → C) → (g : A → B) → (A → C)
f o g = \ x → f (g x)
mutual
data U : Set where
top : U
sig : (X : U) → (T X ... |
programs/oeis/034/A034856.asm | karttu/loda | 1 | 165608 | ; A034856: a(n) = binomial(n+1, 2) + n - 1 = n*(n + 3)/2 - 1.
; 1,4,8,13,19,26,34,43,53,64,76,89,103,118,134,151,169,188,208,229,251,274,298,323,349,376,404,433,463,494,526,559,593,628,664,701,739,778,818,859,901,944,988,1033,1079,1126,1174,1223,1273,1324,1376,1429,1483,1538,1594,1651,1709,1768,1828,1889,1951,2014,2078... |
programs/oeis/021/A021277.asm | karttu/loda | 0 | 87087 | ; A021277: Decimal expansion of 1/273.
; 0,0,3,6,6,3,0,0,3,6,6,3,0,0,3,6,6,3,0,0,3,6,6,3,0,0,3,6,6,3,0,0,3,6,6,3,0,0,3,6,6,3,0,0,3,6,6,3,0,0,3,6,6,3,0,0,3,6,6,3,0,0,3,6,6,3,0,0,3,6,6,3,0,0,3,6,6,3,0,0,3,6,6,3,0,0,3,6,6,3,0,0,3,6,6,3,0,0,3
add $0,46079
lpb $0,1
add $0,1
mul $0,5
mod $0,6
lpe
mov $1,$0
mul $1,3
|
agda/Algebra/Construct/Free/Semilattice/Relation/Unary.agda | oisdk/combinatorics-paper | 6 | 11079 | {-# OPTIONS --cubical --safe #-}
module Algebra.Construct.Free.Semilattice.Relation.Unary where
open import Algebra.Construct.Free.Semilattice.Relation.Unary.All.Def public
open import Algebra.Construct.Free.Semilattice.Relation.Unary.All.Dec public
open import Algebra.Construct.Free.Semilattice.Relation.Unary.All.Pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.