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 |
|---|---|---|---|---|
Applications/VLC/audio volume/audio volume.applescript | looking-for-a-job/applescript-examples | 1 | 3158 | <filename>Applications/VLC/audio volume/audio volume.applescript
#!/usr/bin/osascript
tell application "VLC"
--set audio volume to 9999
--return audio volume
--set volume output volume 100
output volume of (get volume settings)
end tell
|
oddeven.asm | sirdangd/asm | 0 | 94098 | <reponame>sirdangd/asm
;odd even
;the value we are checking is in reg a
;reg b is 00h so that it can be compared to reg a each time to see if it is the same or not
;if reg a becomes negative, it will jump to the odd label and make reg c equal 0Fh
;if reg a becomes 0, it will jump to even making reg c 00h
;in the loop... |
user/bcachetest.asm | eric-qian-d/TCP | 0 | 27511 |
user/_bcachetest: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <createfile>:
exit(0);
}
void
createfile(char *file, int nblock)
{
0: bd010113 addi sp,sp,-1072
4: 42113423 sd ra,1064(sp)
8: 42813023 sd s0,1056(sp)
c: 40913c23 ... |
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_GetSprClr.asm | jpoikela/z88dk | 640 | 176301 | <reponame>jpoikela/z88dk
; void sp1_GetSprClr(uchar **sprsrc, struct sp1_ap *dest, uchar n)
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _sp1_GetSprClr
EXTERN asm_sp1_GetSprClr
_sp1_GetSprClr:
pop af
pop hl
pop de
pop bc
push bc
push de
push hl
push af
ld b,c
jp asm_sp1_GetS... |
src/aco-events.ads | jonashaggstrom/ada-canopen | 6 | 4999 | with Ada.Real_Time;
with ACO.Utils.Generic_Event;
with ACO.Messages;
with ACO.States;
with ACO.SDO_Sessions;
with ACO.OD_Types;
with ACO.Configuration;
package ACO.Events is
use ACO.Configuration;
type Handler_Event_Type is
(Tick,
Received_Message);
type Handler_Event_Data
(Event : Handler... |
src/sdl-inputs-joysticks.ads | Fabien-Chouteau/sdlada | 1 | 1136 | --------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising from the... |
rdos-validation-tools/cdl-parser/src/main/antlr4/CDL.g4 | vpandey-rms/RDOS | 58 | 7445 | <reponame>vpandey-rms/RDOS<gh_stars>10-100
// Contract Definition Language grammar, RIsk Data Open Standard version RDOS-1.0
grammar CDL;
cdl : contract EOF ;
// A CDL contract consists of the keyword 'Contract' followed by declarations and at least one cover. Other parts, such as cashflows, are optional.
contract :... |
src/tests/test_halfsiphash.adb | jhumphry/SPARK_SipHash | 5 | 4429 | -- Test_HalfSipHash
-- a short test program for a 32-bit friendly version of SipHash, the algorithm
-- described in "SipHash: a fast short-input PRF"
-- by <NAME> and <NAME>
-- Copyright (c) 2016, <NAME> - see LICENSE file for details
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_I... |
src/FOmegaInt/Kinding/Declarative/Equivalence.agda | Blaisorblade/f-omega-int-agda | 12 | 11175 | <reponame>Blaisorblade/f-omega-int-agda<gh_stars>10-100
------------------------------------------------------------------------
-- Equivalence of the two variants of declarative kinding of Fω with
-- interval kinds
------------------------------------------------------------------------
{-# OPTIONS --safe --without-K... |
Projetos/J-VMTranslator/bin/nasm/SimplePushConst.nasm | mariaeduardabicalho/Z01 | 2 | 12168 | ; 0 - PUSH constant 5
leaw $5, %A
movw %A, %S
leaw $SP, %A
movw (%A), %D
movw %D, %A
movw %S, (%A)
leaw $SP, %A
movw (%A), %A
incw %A
movw %A, %S
leaw $SP, %A
movw %S, (%A)
; 1 - PUSH constant 9
leaw $9, %A
movw %A, %S
leaw $SP, %A
movw (%A), %D
movw %D, %A
movw %S, (%A)
leaw $SP, %A
movw (%A), %A
incw %A
movw %A, %S
l... |
src/music/totaka-ft.asm | Xkeeper0/tcrf-birthday | 10 | 15944 | song_index_mus_totaka = 0
sfx_index_sfx_null = 0
song_list:
.dw _mus_totaka
sfx_list:
.dw _sfx_null
instrument_list:
.dw _Blong_0
.dw silent_1
_Blong_0:
.db 5,22,24,27,ARP_TYPE_ABSOLUTE
.db 8,7,7,6,6,5,5,4,4,3,3,2,2,1,1,0,ENV_STOP
.db 0,ENV_STOP
.db 128,64,DUTY_ENV_STOP
.db ENV_STOP
silent_1:
... |
ide/editor.asm | shikhin/wodscipe | 5 | 25949 | ; The editor.
; IN:
; BX -> 0x8000.
; AX -> 2
; DI -> 0
editor:
.loadsource:
lea bp, [bx + 2] ; Current start-of-line
mov dx, bp
add dx, [bx]
.rw_source:
push bx
.writeloop:
call rwsector
inc ax
add bx, 0x200
cmp bx, dx
jb .writeloop
pop bx
.mainloop:
; Input buffer.
mov di, 0x504
... |
8088/cga/lightpen/lightpen2.asm | reenigne/reenigne | 92 | 97313 | <reponame>reenigne/reenigne
%include "../../defaults_bin.asm"
initCGA 9
clear:
; Clear screen to white
mov ax,0xb800
mov es,ax
mov ds,ax
mov ax,0x0fdb
mov cx,80*25
xor di,di
cld
rep stosw
loopTop:
; Wait for strobe
mov dx,0x3da
waitLoop:
in al,dx
test al,2
jz waitLoop
; Read light p... |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver2/sfc/ys_w45.asm | prismotizm/gigaleak | 0 | 170907 | <reponame>prismotizm/gigaleak<gh_stars>0
Name: ys_w45.asm
Type: file
Size: 14550
Last-Modified: '2016-05-13T04:51:43Z'
SHA-1: 8637894E8ADEC8226AC2BB680591C05B476B2B1B
Description: null
|
Source/HBIOS/ctc.asm | vipoo/RomWBW | 1 | 24015 | ;___CTC________________________________________________________________________________________________________________
;
; Z80 CTC
;
; DISPLAY CONFIGURATION DETAILS
;______________________________________________________________________________________________________________________
;
CTC_DEFCFG .EQU %010100... |
lib/aflexnat/vstrings.adb | alvaromb/Compilemon | 1 | 15045 |
-- UNIT: generic package body of VSTRINGS
--
-- FILES: vstring_body.a in publiclib
-- related file is vstring_spec.a in publiclib
--
-- PURPOSE: An implementation of the abstract data type "variable-length
-- string."
--
-- DESCRIPTION: This package provides a private type VSTRING. VSTRING objects
... |
utils/hardware/serial2/term.asm | vbmacher/qsOS | 1 | 25224 | <gh_stars>1-10
model small
dosseg
INTNUM equ 0Ch ; COM1; COM2: 0Bh
OFFMASK equ 00010000b ; COM1; COM2: 00001000b
ONMASK equ not OFFMASK
UART_BASE equ 3F8h ; COM1; COM2: 2F8h
UART_RATE equ 12 ; 9600 bps, see table in this file
UART_PARAMS equ 00000011b ; 8n1, see table... |
oeis/339/A339576.asm | neoneye/loda-programs | 11 | 96922 | ; A339576: Row sums of triangle A236104.
; Submitted by <NAME>
; 1,4,10,17,29,41,59,74,101,121,151,179,215,245,295,326,374,423,477,519,591,641,707,767,844,904,1000,1056,1140,1234,1324,1387,1507,1587,1701,1794,1902,1992,2136,2226,2346,2476,2602,2692,2874,2984,3122,3246,3397
add $0,1
mov $2,$0
lpb $0
mov $3,$2
add $... |
Automaton/Deterministic/Finite.agda | Lolirofle/stuff-in-agda | 6 | 16729 | <filename>Automaton/Deterministic/Finite.agda
import Lvl
open import Structure.Setoid
open import Type
module Automaton.Deterministic.Finite where
open import Automaton.Deterministic
open import Data.Boolean
open import Data.Boolean.Stmt
open import Data.List renaming (∅ to ε ; _⊰_ to _·_)
open import Data.List.... |
programs/oeis/067/A067462.asm | neoneye/loda | 22 | 28930 | ; A067462: a(n) = (1! + 2! + ... + (n-1)!) mod n.
; 0,1,0,1,3,3,5,1,0,3,0,9,9,5,3,9,12,9,8,13,12,11,20,9,13,9,9,5,16,3,1,25,0,29,33,9,4,27,9,33,3,33,15,33,18,43,17,9,47,13,12,9,12,9,33,33,27,45,27,33,21,1,54,25,48,33,64,29,66,33,67,9,54,41,63,65,33,9,19,73,63,3,26,33,63,15,45,33,75,63,61,89,63,17,8,57,79,47,0,13
add $... |
laby_functions.ads | thieryw/labyrinth | 0 | 17829 | <filename>laby_functions.ads
package laby_functions is
type point is
record
x,y : float ;
end record ;
type node is private ;
type tree is access node ;
function maze_random(W,H : integer) return Tree ;
pr... |
MSDOS/Virus.MSDOS.Unknown.tboot.asm | fengjixuchui/Family | 3 | 91590 | ;This is a disassembly of Thunderbyte's anti-viral partition code.
;An org statement was not used because it appears that all offsets used
;herein are either relative or absolute, i.e. it just doesn't matter.
;This should be compiled as a binary image file, it *WILL NOT* create
;an executable file. This code is exact... |
TypeTheory/Common/Context.agda | hbasold/Sandbox | 0 | 13623 | <filename>TypeTheory/Common/Context.agda
module Common.Context where
import Level
open import Data.Nat as Nat
open import Data.List as List
import Level
open import Relation.Binary.PropositionalEquality as PE hiding ([_])
open import Relation.Binary -- using (Setoid; Rel; IsEquivalence)
open ≡-Reasoning
open import F... |
app/src/main/cpp/jzintv/event/event_diag.asm | jenergy/jzIntvImGui | 1 | 80291 | <filename>app/src/main/cpp/jzintv/event/event_diag.asm<gh_stars>1-10
;; ======================================================================== ;;
;; Event Diagnostics Program ;;
;; Uses EMU_LINK interface to query jzIntv for raw event queue data. ;;
;; ===========... |
TotalParserCombinators/Pointwise.agda | nad/parser-combinators | 1 | 2932 | ------------------------------------------------------------------------
-- Pointwise lifting of (binary) initial bag operators to parsers
------------------------------------------------------------------------
open import Data.List
open import Data.List.Membership.Propositional using (_∈_)
open import Data.List.Rela... |
a09.asm | Sahilsinggh/MP_SEM4 | 1 | 97082 | %macro print 2
mov rax,01;
mov rdi,01;
mov rsi,%1;
mov rdx,%2;
syscall;
%endmacro
%macro read 2
mov rax,00;
mov rdi,00;
mov rsi,%1;
mov rdx,%2;
syscall;
%endmacro
section .data
dash: db 10,"-------------------------------------------",10;
lenDash: equ $-dash;
resMsg: db "!... |
hexpose.asm | khansen/hexposure | 0 | 165369 | IDEAL
P386N
MODEL FLAT
STACK 1000h
DATASEG
_80x50 dw 04F01h
dw 05002h
dw 05504h
dw 08105h
dw 0BF06h
dw 01F07h
dw 04709h
dw 09C10h
dw 08E11h
dw 08F12h
... |
llvm-gcc-4.2-2.9/gcc/ada/sem_cat.ads | vidkidz/crossbridge | 1 | 5335 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
codec/encoder/core/asm/intra_pred_util.asm | TechSmith/openh264 | 1 | 2478 | <reponame>TechSmith/openh264
;*!
;* \copy
;* Copyright (c) 2009-2013, Cisco Systems
;* All rights reserved.
;*
;* Redistribution and use in source and binary forms, with or without
;* modification, are permitted provided that the following conditions
;* are met:
;*
;* * Redistributions of so... |
orka/src/orka/interface/orka-types.ads | onox/orka | 52 | 20015 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2016 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
-... |
programs/oeis/065/A065261.asm | jmorken/loda | 1 | 21734 | ; A065261: The siteswap sequence (the deltas p[i]-i, i in ]-inf,+inf[, folded from Z to N, mapping 0->1, 1->2, -1->3, 2->4, -2->5, etc.) for A065260.
; 1,1,1,2,5,3,2,4,9,5,3,6,13,7,4,8,17,9,5,10,21,11,6,12,25,13,7,14,29,15,8,16,33,17,9,18,37,19,10,20,41,21,11,22,45,23,12,24,49,25,13,26,53,27,14,28,57,29,15,30,61,31,16,... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34007s.ada | best08618/asylo | 7 | 6727 | -- C34007S.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... |
courses/fundamentals_of_ada/labs/solar_system/adv_240_tasking_protected_objects/src/solar_system-graphics.adb | AdaCore/training_material | 15 | 14191 | <filename>courses/fundamentals_of_ada/labs/solar_system/adv_240_tasking_protected_objects/src/solar_system-graphics.adb
package body Solar_System.Graphics is
procedure Draw_Body (Object : Body_Type; Canvas : Canvas_ID) is
begin
if Object.Visible then
Draw_Sphere
(Canvas => Canvas,
... |
org.alloytools.alloy.extra/extra/models/book/chapter2/addressBook2a.als | Kaixi26/org.alloytools.alloy | 527 | 364 | <reponame>Kaixi26/org.alloytools.alloy
module tour/addressBook2a ----- Page 18
abstract sig Target { }
sig Addr extends Target { }
abstract sig Name extends Target { }
sig Alias, Group extends Name { }
sig Book {
addr: Name->Target
}
pred show [b:Book] { some b.addr }
// This command generates an instance simil... |
grammars/TypescriptLexer.g4 | hatlafax/ELSE-grammar-compiler | 0 | 3126 | lexer grammar TypeScriptLexer;
channels { ERROR }
options {
superClass=TypeScriptLexerBase;
}
MultiLineComment: '/*' .*? '*/' -> channel(HIDDEN);
SingleLineComment: '//' ~[\r\n\u2028\u2029]* -> channel(HIDDEN);
RegularExpressionLiteral: '/' RegularExpressionFirstChar... |
programs/oeis/157/A157130.asm | neoneye/loda | 22 | 160576 | ; A157130: Partial sums of A128201.
; 1,4,8,13,20,29,40,53,68,84,101,120,141,164,189,216,245,276,309,344,380,417,456,497,540,585,632,681,732,785,840,897,956,1017,1080,1144,1209,1276,1345,1416,1489,1564,1641,1720,1801,1884,1969,2056,2145,2236,2329
lpb $0
mov $2,$0
sub $0,1
seq $2,128201 ; Union of positive square... |
LoLCustomSharp/asm/defines.asm | LoL-Fantome/lolcustomskin | 3 | 100305 | ; define offsets for payload data structure
[bits 32]
%define payload_org_open_ptr 0
%define payload_prefix_open_ptr 4
%define payload_org_free_ptr 8
%define payload_find_ret_addr 12
%define payload_hook_ret_addr 16
|
oeis/254/A254601.asm | neoneye/loda-programs | 11 | 160522 | <reponame>neoneye/loda-programs
; A254601: Numbers of n-length words on alphabet {0,1,...,6} with no subwords ii, where i is from {0,1,2}.
; Submitted by <NAME>(s2)
; 1,7,46,304,2008,13264,87616,578752,3822976,25252864,166809088,1101865984,7278432256,48078057472,317582073856,2097804673024,13857156333568,91534156693504,... |
programs/oeis/006/A006230.asm | jmorken/loda | 1 | 16552 | ; A006230: Bitriangular permutations.
; 1,13,73,301,1081,3613,11593,36301,111961,342013,1038313,3139501,9467641,28501213,85700233,257493901,773268121,2321377213,6967277353,20908123501,62736953401,188236026013,564758409673,1694375892301,5083329003481,15250389663613,45751974297193,137257533504301,411775821738361,12353339... |
oeis/041/A041154.asm | neoneye/loda-programs | 11 | 8194 | ; A041154: Numerators of continued fraction convergents to sqrt(87).
; Submitted by <NAME>
; 9,28,513,1567,28719,87724,1607751,4910977,90005337,274926988,5038691121,15391000351,282076697439,861621092668,15791256365463,48235390189057,884028279768489,2700320229494524,49489792410669921,151169697461504287,27705443467177470... |
code-examples/agda/chu/lens.agda | mstone/poly | 53 | 17187 | <reponame>mstone/poly
{-# OPTIONS --type-in-type #-}
module chu.lens where
open import prelude
open import functors
open import chu
open import poly.core
→∫ : Chu → ∫
→∫ (A⁺ , A⁻ ! Ω) = A⁺ , λ a⁺ → ∃ (Ω a⁺)
→Lens : {A B : Chu} → Chu[ A , B ] → ∫[ →∫ A , →∫ B ]
→Lens (f ↔ fᵗ ! †) a⁺ = f a⁺ , λ (b⁻ , fa⁺Ωb⁻) → f... |
ANTLRTestProjects/antbased/CodeFolding/grammar/Action.g4 | timboudreau/ANTLR4-Plugins-for-NetBeans | 1 | 7168 | grammar Action; // azerty
rule1 : 'a'
{
}
; |
grep.asm | Tookerton21/Xv6_OS | 0 | 11 |
_grep: file format elf32-i386
Disassembly of section .text:
00000000 <grep>:
char buf[1024];
int match(char*, char*);
void
grep(char *pattern, int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
int n, m;
char *p, *q;
... |
test/Fail/Issue2771.agda | cruhland/agda | 1,989 | 14390 | <filename>test/Fail/Issue2771.agda
data ⊤ : Set where tt : ⊤
postulate
IndexL : Set
Ordered : IndexL → Set
¬ho-shr-morph : IndexL → IndexL
pres-¬ord : ∀ ind → Ordered (¬ho-shr-morph ind)
¬ord-morph : ∀ ind → Ordered ind → Set
postulate tt' : ⊤
poo : ∀ ind → ¬ord-morph (¬ho-shr-morph in... |
test/Succeed/Issue3109.agda | alhassy/agda | 1 | 10528 | <filename>test/Succeed/Issue3109.agda
{-# OPTIONS --allow-unsolved-metas #-}
postulate
Nat : Set
Fin : Nat → Set
Foo : (n : Nat) → Fin n → Set
Bar : ∀ {n m} → Foo n m → Set
variable
n : Nat
m : Fin _
k : Foo _ m
l : Foo n m
open import Agda.Builtin.Equality
postulate
goal-type-error : Bar k
foo :... |
oeis/197/A197711.asm | neoneye/loda-programs | 11 | 163571 | ; A197711: Floor((n+1/n)^10)
; Submitted by <NAME>
; 1024,9536,169350,1922601,14455510,79525193,345716130,1253815679,3941971040,11046221254,28162516239,66354069277,146236468527,304356025989,602797997502,1143224193788,2086847748926,3682210047876,6303034667438,10498899284252,17061992477838,27113811835076,42216316373726,6... |
constants/battle_anim_constants.asm | Dev727/ancientplatinum | 28 | 170350 | <reponame>Dev727/ancientplatinum
; battle_anim_struct members (see macros/wram.asm)
const_def
const BATTLEANIMSTRUCT_INDEX
const BATTLEANIMSTRUCT_01
const BATTLEANIMSTRUCT_02
const BATTLEANIMSTRUCT_FRAMESET_ID
const BATTLEANIMSTRUCT_FUNCTION
const BATTLEANIMSTRUCT_PALETTE
const BATTLEANIMSTRUCT_TILEID
const BA... |
programs/oeis/215/A215229.asm | karttu/loda | 0 | 3927 | <filename>programs/oeis/215/A215229.asm
; A215229: Number of length-6 0..k arrays connected end-around, with no sequence of L<n elements immediately followed by itself (periodic "squarefree").
; 0,18,408,2940,12600,40110,105168,240408,496080,945450,1690920,2870868,4667208,7313670,11104800,16405680,23662368,33413058,462... |
agda/DsubReduced.agda | HuStmpHrrr/popl20-artifact | 1 | 7595 | {-# OPTIONS --without-K --safe #-}
-- This module defines an intermediate calculus that is set up in the D<: universe
-- which bridges F<:- and D<:. The goal here is purely technical - to simply reduce
-- duplication.
module DsubReduced where
open import Data.List as List
open import Data.List.All as All
open import ... |
test/unittest_drawrectangle.asm | muellevin/RARS_Game_of_Life | 1 | 241495 | # ___ ___ ___ ___ _ ___ ___ _____ _ _ ___ ___
# / __| __/ __| _ \ | | | __/ __|_ _| | | | _ \ __|
# | (__| _|\__ \ _/ | |__| _| (__ | | | |_| | / _|
# \___|___|___/_| |____|___\___| |_| \___/|_|_\___|
#
# Copyright 2021 <NAME>
.include "../src/constants_settings.asm"
la t0, settings
li t1, 256
... |
examples/outdated-and-incorrect/AIM6/Cat/Category.agda | asr/agda-kanso | 1 | 1180 | <reponame>asr/agda-kanso<gh_stars>1-10
module Category where
open import Logic.Equivalence
open import Logic.Relations
open Equivalence using () renaming (_==_ to eq)
record Cat : Set2 where
field
Obj : Set1
_─→_ : Obj -> Obj -> Set
id : {A : Obj} -> A ─→ A
_∘_ : {A B C : Obj} -> B... |
1997-fall/mp0/mp0.asm | ece291/machine-problems | 3 | 170189 | <reponame>ece291/machine-problems
PAGE 75, 132
TITLE MP0 Your Name current date
COMMENT *
This program illustrates a (very) basic assembly program and
the use of LIB291 input and output routines.
Put your name in the places where it says '<NAME>' and also
change the... |
raytracing/trace.asm | gp48k/lpfp | 17 | 161521 | ; Raytracer
; Input: B = y coordinate from top, C = x coordinate from left
; Output: flag C = light
; Start ray
TRACE: PUSH BC
LD A,C
CALL FBYTE
LD HL,$C700 ; -128
CALL FADD
LD (DX),HL
POP BC
LD A,B
CALL FBYTE
LD HL,$C680 ; -96
CALL FADD
LD (DY),HL
LD HL,$482C ; +300
LD (DZ),HL
LD HL,DX
LD B,3
CALL FLE... |
data/pokemon/base_stats/combee.asm | AtmaBuster/pokeplat-gen2 | 6 | 15885 | <reponame>AtmaBuster/pokeplat-gen2
db 0 ; species ID placeholder
db 30, 30, 42, 70, 30, 42
; hp atk def spd sat sdf
db BUG, FLYING ; type
db 120 ; catch rate
db 49 ; base exp
db HONEY, HONEY ; items
db GENDER_F12_5 ; gender ratio
db 15 ; step cycles to hatch
INCBIN "gfx/pokemon/combee/front.dim... |
example/src/clic_example.adb | reznikmm/clic | 9 | 21692 | with CLIC_Ex.Commands;
procedure Clic_Example is
begin
CLIC_Ex.Commands.Execute;
end Clic_Example;
|
alloy4fun_models/trashltl/models/17/mZ8T6roAcgNZDzvwu.als | Kaixi26/org.alloytools.alloy | 0 | 2227 | <filename>alloy4fun_models/trashltl/models/17/mZ8T6roAcgNZDzvwu.als<gh_stars>0
open main
pred idmZ8T6roAcgNZDzvwu_prop18 {
always all f: File | (f in Trash releases f not in Protected)
}
pred __repair { idmZ8T6roAcgNZDzvwu_prop18 }
check __repair { idmZ8T6roAcgNZDzvwu_prop18 <=> prop18o } |
src/fot/FOTC/Data/Stream/Equality/PropertiesATP.agda | asr/fotc | 11 | 13394 | <filename>src/fot/FOTC/Data/Stream/Equality/PropertiesATP.agda
------------------------------------------------------------------------------
-- Properties for the equality on streams
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS -... |
Sources/Globe_3d/models/skotknot.ads | ForYouEyesOnly/Space-Convoy | 1 | 17162 | pragma Warnings (Off);
pragma Style_Checks (Off);
-- VRML : [#VRML V1.0 ascii
-- ]
with GLOBE_3D;
package SkotKnot is
procedure Create (
object : in out GLOBE_3D.p_Object_3D;
scale : GLOBE_3D.Real;
centre : GLOBE_3D.Point_3D
);
end;
|
oeis/106/A106139.asm | neoneye/loda-programs | 11 | 175175 | ; A106139: Semiprimes (mod 3).
; Submitted by <NAME>
; 1,0,0,1,2,0,0,1,1,2,0,1,2,2,0,1,1,0,1,0,1,2,2,0,2,2,1,1,2,0,1,0,1,2,1,0,1,1,2,1,2,0,0,1,2,0,1,2,1,2,2,2,0,2,1,1,0,1,0,2,1,2,0,1,2,1,2,2,0,1,2,1,2,0,2,1,1,0,1,0,1,2,1,1,1,0,1,2,2,1,0,1,1,2,1,2,0,2,0,2
seq $0,1358 ; Semiprimes (or biprimes): products of two primes.
... |
programs/oeis/187/A187103.asm | neoneye/loda | 22 | 82751 | ; A187103: Maximum order of explicit Runge-Kutta method with n function evaluations in each step.
; 1,2,3,4,4,5,6,6,7,7,8
mov $1,$0
sub $1,2
mov $2,$0
bin $0,2
add $2,2
div $0,$2
sub $1,$0
mov $0,$1
add $0,3
mod $0,10
|
test/Fail/Relevance-subtyping-2.agda | cagix/agda | 1,989 | 862 | -- Subtyping is no longer supported for irrelevance.
f : {A B : Set} → (.A → B) → A → B
f g = λ .x → g x
|
Agda/02-natural-numbers.agda | tadejpetric/HoTT-Intro | 0 | 13991 | {-# OPTIONS --without-K --exact-split #-}
module 02-natural-numbers where
import 00-preamble
open 00-preamble public
-- Definition 2.2.3
id : {i : Level} {A : UU i} → A → A
id a = a
-- Definition 2.2.4
_∘_ :
{i j k : Level} {A : UU i} {B : UU j} {C : UU k} →
(B → C) → ((A → B) → (A → C))
(g ∘ f) a = g (f a)
d... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/access4.adb | best08618/asylo | 7 | 14884 | -- { dg-do run }
with access3; use access3;
procedure access4 is
Obj_IT : aliased T;
Obj_T2 : T2;
begin
Obj_T2.Op (Obj_IT'Access);
end;
|
Transynther/x86/_processed/AVXALIGN/_st_zr_un_sm_/i9-9900K_12_0xa0_notsx.log_21829_1587.asm | ljhsiun2/medusa | 9 | 91690 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xbbf7, %r8
nop
nop
nop
nop
cmp %rdx, %rdx
mov $0x6162636465666768, %rsi
movq %rsi, %xmm7
movups %xmm7, (%r8)
nop
nop
nop
add %rbx, %rbx
lea addresses_D_ht+0x7af7... |
erasure_code/gf_4vect_mad_sse.asm | leo-project/isa_l | 1 | 16711 | <gh_stars>1-10
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redis... |
libsrc/graphics/unplot_callee.asm | jpoikela/z88dk | 38 | 173791 | <reponame>jpoikela/z88dk
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by <NAME> - 30/9/98
;
;
; $Id: unplot_callee.asm $
;
; CALLER LINKAGE FOR FUNCTION POINTERS
; ----- void unplot(int x, int y)
SECTION code_graphics
... |
libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/asm_SMSlib_loadBGPalette.asm | jpoikela/z88dk | 640 | 4048 | <gh_stars>100-1000
; **************************************************
; SMSlib - C programming library for the SMS/GG
; ( part of devkitSMS - github.com/sverx/devkitSMS )
; **************************************************
INCLUDE "SMSlib_private.inc"
SECTION code_clib
SECTION code_SMSlib
PUBLIC asm_SMSlib_loadBG... |
agda/book/2015-Verified_Functional_programming_in_Agda-Stump/ial/z03-natural-numbers.agda | haroldcarr/learn-haskell-coq-ml-etc | 36 | 2321 | <reponame>haroldcarr/learn-haskell-coq-ml-etc<filename>agda/book/2015-Verified_Functional_programming_in_Agda-Stump/ial/z03-natural-numbers.agda
module z03-natural-numbers where
open import bool
open import bool-thms using (𝔹-contra)
open import eq
open import level
-- p 50
data ℕ : Set where
zero : ℕ
suc ... |
src/keyboard.asm | w1jtoo/monster-maze-3d | 0 | 170987 | <reponame>w1jtoo/monster-maze-3d
default_keyboard_handler: dw 0
keyboard_segment: dw 0
init_keyboard:
push es
push bx
push dx
;; getting the info about keyboard handler
mov ax, 0x3509
int 0x21
;; save old handler
mov [default_keyboard_handler... |
Asm4Kids/35diagonallines.asm | jacmoe/c64adventures | 17 | 84353 | <reponame>jacmoe/c64adventures
;****************************************
;* *
;* diagonal lines *
;* *
;****************************************
; 10 SYS (49152)
*=$0801
BYTE $0E, $08, $0A, $00, $9E, ... |
ada_gui-gnoga-gui-element-canvas.adb | jrcarter/Ada_GUI | 19 | 624 | -- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N O G A . ... |
Sem-4/COA LAB Programs/ASM-Projects/wordHunt.asm | rituraj-iter/ASSIGNMENTS | 10 | 92447 | ; by <NAME>, +923442230949
; 8086 Assembly, emu8086
data segment
; add your data here!
seed dw 2332h
rndnum dw 0
line db 0
column db 0
page_number db 0
word_1 db "ROBERTO$"
word_2 db "HOUSE$"
word_3 db "SCHOOL$"
word_4 db "COMPUTER$"
word_5 db ... |
source/numerics/x86_64/a-nusfge.adb | ytomino/drake | 33 | 2117 | <filename>source/numerics/x86_64/a-nusfge.adb
with Ada.Unchecked_Conversion;
package body Ada.Numerics.SFMT.Generating is
-- SSE2 version
type v4si is array (1 .. 4) of Unsigned_32;
for v4si'Alignment use 16;
pragma Machine_Attribute (v4si, "vector_type");
pragma Machine_Attribute (v4si, "may_alias");
... |
misc/mips/add.asm | crunchbang/Higer | 3 | 247830 | <reponame>crunchbang/Higer<gh_stars>1-10
main:
li $t1, 1
add $t0, $t1, 2
li $v0, 10
syscall
|
bb-runtimes/powerpc/gdbstub/gdbstub_io.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 20940 | <reponame>JCGobbi/Nucleo-STM32G474RE
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2010, AdaCore --
-- ... |
NASM/hello.asm | nhutnamhcmus/code | 1 | 94043 | <reponame>nhutnamhcmus/code<gh_stars>1-10
%include "io.inc"
extern _printf
extern _getch
section .data
tb db "Hello world", 0
section .text
global CMAIN
CMAIN:
;write your code here
;xuat tb
;printf("Hello world");
push tb
call _printf
add esp, 4
call _getch
xor ... |
list3/task3/a/src/bubble.adb | luk9400/nsi | 0 | 20809 | <filename>list3/task3/a/src/bubble.adb
package body Bubble with SPARK_Mode is
procedure Sort (A : in out Arr) is
Tmp : Integer;
begin
Outer: for I in reverse A'First .. A'Last - 1 loop
Inner: for J in A'First .. I loop
if A(J) > A(J + 1) then
Tmp := A(J);
A(J) := A(J + 1... |
programs/oeis/131/A131733.asm | neoneye/loda | 22 | 247446 | <filename>programs/oeis/131/A131733.asm
; A131733: Primes (A000040) - odds (A005408).
; 1,0,0,0,2,2,4,4,6,10,10,14,16,16,18,22,26,26,30,32,32,36,38,42,48,50,50,52,52,54,66,68,72,72,80,80,84,88,90,94,98,98,106,106,108,108,118,128,130,130,132,136,136,144,148,152,156,156,160,162,162,170
mov $1,$0
seq $0,40 ; The prime nu... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1207.asm | ljhsiun2/medusa | 9 | 5789 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x14366, %rax
nop
nop
nop
add $30615, %rbx
movl $0x61626364, (%rax)
nop
nop
nop
sub $35834, %rsi
lea addresses_UC_ht+0x49e2, %rsi
nop
nop
nop
add %rdx, %rdx
vmovups (%rsi), %ym... |
src/generated/tileset_bdf_h.ads | csb6/libtcod-ada | 0 | 24054 | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Strings;
limited with tileset_h;
package tileset_bdf_h is
-- BSD 3-Clause License
-- *
-- * Copyright © 2008-2021, Jice and the libtcod contributors.
-- * All rights reserved.
-- *
-- * Redistribution and u... |
programs/oeis/027/A027806.asm | neoneye/loda | 22 | 24900 | ; A027806: 30*(n+1)*C(n+4,10).
; 210,2640,17820,85800,330330,1081080,3123120,8168160,19691100,44341440,94225560,190466640,368588220,686439600,1235591280,2157381600,3665097150,6074125200,9842332500,15623407800,24336462150,37255818600,56125648800,83304936000,121949170200,176236220160,251644987440,355296738720,49637044380... |
Task/Comments/Ada/comments.ada | LaudateCorpus1/RosettaCodeData | 1 | 29561 | -- All Ada comments begin with "--" and extend to the end of the line
|
nondet/even-double-eo.agda | mihanus/curry-agda | 0 | 7113 | <reponame>mihanus/curry-agda
-- Proof of: ∀ (x : ND ℕ) → always (even (double (eo x))) ≡ tt
module even-double-eo where
open import bool
open import nat
open import eq
open import nat-thms
open import nondet
open import nondet-thms
open import functions
---------------------------------------------------------------... |
Cubical/ZCohomology/KcompPrelims.agda | ayberkt/cubical | 0 | 17115 | <filename>Cubical/ZCohomology/KcompPrelims.agda
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.ZCohomology.KcompPrelims where
open import Cubical.ZCohomology.Base
open import Cubical.Homotopy.Connected
open import Cubical.HITs.Hopf
open import Cubical.Homotopy.Freudenthal hiding (encode)
open import... |
peano.agda | alf239/tao | 0 | 5414 | <filename>peano.agda
module Peano where
open import IPL
data ℕ : Set where
zero : ℕ -- Axiom 2.1. 0 is a natural number
_++ : ℕ → ℕ -- Axiom 2.2. If n is a natural number, then n++ is also a natural number
data _≡_ : ℕ → ℕ → Set where
refl : {a : ℕ} → a ≡ a
axiom23 : {n : ℕ} → ¬ (zero ≡ (n ++))
... |
grammar/ZglLexer.g4 | zg-lang/antlr-zgl | 0 | 7765 | /** ANTLR4 lexer grammar for the Z Graph Language, ZGL. */
lexer grammar ZglLexer;
channels {
WS_CHAN,
COMMENT_CHAN,
CONTINUE_CHAN
}
/*
How does ANTLR decide which lexer rule to apply?
1. The primary goal is to match the lexer rule that recognizes the most input
characters.
2. If more than one lexer ... |
src/game.asm | freem/freem_pong | 1 | 165353 | <gh_stars>1-10
; game code (Main)
;==============================================================================;
; current status: get the game part working first before the damned menu system
;==============================================================================;
; shared defines
DEFAULT_GAME_MAX_SCORE = 5 ... |
adium/ASUnitTests/GetChatsAccount.applescript | sin-ivan/AdiumPipeEvent | 0 | 445 | <filename>adium/ASUnitTests/GetChatsAccount.applescript
global HandyAdiumScripts
on run
tell application "Adium"
set newChat to HandyAdiumScripts's makeNewChat()
if (get account of newChat) is not account (HandyAdiumScripts's defaultAccount) then
-- this tests both account's objectSpecifier and chat's account
... |
tests/expect/tests/task_switch_test.asm | brenden7158/v86 | 12,700 | 165617 | BITS 32
fadd
hlt
|
Test/random_int-ui.ads | jrcarter/Ada_GUI | 19 | 27785 | -- Ada_GUI version of Random_Int
--
-- Copyright (C) 2021 by PragmAda Software Engineering
--
-- Released under the terms of the 3-Clause BSD License. See https://opensource.org/licenses/BSD-3-Clause
--
-- The (application-specific) user interface
package Random_Int.UI is
type Event_ID is (Generate, Quit);
func... |
i.asm | martianworm17/college-assembly-files | 0 | 19655 | <reponame>martianworm17/college-assembly-files
.model small
.stack
.code
start:
; Start of the background
mov ah, 06h
mov bh, 250
mov ch, 00
mov cl, 00
mov dh, 32
mov dl, 80
int 10h
;Heart
mov ah, 06h
mov bh, 65
mov ch, 5
mov cl, 20
mov dh, 7
mov dl, 28
int 10h
mov ah, 06h
mov bh, 65
... |
oap-jpath/src/main/antlr4/JPath.g4 | oaplatform/oap-core | 9 | 31 | <gh_stars>1-10
grammar JPath;
@header {
package oap.jpath;
import java.util.List;
import java.lang.Number;
import java.util.ArrayList;
import oap.util.Pair;
import static oap.util.Pair.__;
}
expr returns [Expression expression]
: '${' {$expression = new Expression(IdentifierType.VARIABLE);} f=variableDeclaratorI... |
script.scpt | cloutiertyler/iTerm2MutliplePaneSSH | 0 | 881 | <filename>script.scpt
set hostnames to {"hostname1", "hostname2", "hostname3", "hostname4"}
-- launch "iTerm"
tell application "iTerm"
activate
-- ssh in split panes to my queue processor hosts
set myterm to create window with default profile
tell myterm
tell application "System Events" to k... |
programs/oeis/167/A167153.asm | neoneye/loda | 22 | 97950 | ; A167153: Numbers not appearing in A167152.
; 10,12,14,16,18,20,22,24,26,28,31,33,35,37,39,41,43,45,47,50,52,54,56,58,60,62,64,66,68,71,73,75,77,79,81,83,85,87,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,120,122,124,126,128,130,132,134,136
mov $3,$0
mov $4,1
trn $4,$0
mov $1,$4
lpb $0
sub $0,2
trn $0,6... |
programs/oeis/131/A131974.asm | jmorken/loda | 1 | 29724 | ; A131974: Period 8: repeat [1, 2, 3, 4, -5, -4, -3, -2].
; 1,2,3,4,-5,-4,-3,-2,1,2,3,4,-5,-4,-3,-2,1,2,3,4,-5,-4,-3,-2,1,2,3,4,-5,-4,-3,-2,1,2,3,4,-5,-4,-3,-2,1,2,3,4,-5,-4,-3,-2,1,2,3,4,-5,-4,-3,-2,1,2,3,4,-5,-4,-3,-2,1,2,3,4,-5,-4,-3,-2
mov $1,$0
lpb $0
sub $0,$1
mov $3,$0
sub $0,6
mov $2,$1
mov $1,2
ad... |
adium/ASUnitTests/GetWindowIndex.applescript | sin-ivan/AdiumPipeEvent | 0 | 1531 | <filename>adium/ASUnitTests/GetWindowIndex.applescript
global HandyAdiumScripts
on run
tell application "Adium"
if (get index of window 1) is not 1 then
--this is also indicative of a much larger problem
--check the sdef for an error with window's 'pidx' property
error
end
end tell
end run |
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_cyx2aaddr_callee.asm | teknoplop/z88dk | 0 | 17649 | <gh_stars>0
; void *zx_cyx2aaddr(uchar row, uchar col)
SECTION code_clib
SECTION code_arch
PUBLIC zx_cyx2aaddr_callee, l0_zx_cyx2aaddr_callee
EXTERN asm_zx_cyx2aaddr
zx_cyx2aaddr_callee:
pop af
pop hl
pop de
push af
l0_zx_cyx2aaddr_callee:
ld h,e
jp asm_zx_cyx2aaddr
|
maps/OreburghCity.asm | AtmaBuster/pokecrystal16-493-plus | 1 | 100799 | <gh_stars>1-10
object_const_def ; object_event constants
OreburghCity_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
OreburghCity_MapEvents:
db 0, 0 ; filler
db 5 ; warp events
warp_event 6, 5, OREBURGH_GATE_1F, 2
warp_event 34, 37, OREBURGH_MINE_B1F, 1
warp_event 35, 37, OREBURGH_MINE_B1F, 1
warp_eve... |
src/Numeric/Nat/GCD/Extended.agda | lclem/agda-prelude | 0 | 15428 | -- A certified implementation of the extended Euclidian algorithm,
-- which in addition to the gcd also computes the coefficients of
-- Bézout's identity. That is, integers x and y, such that
-- ax + by = gcd a b.
-- See https://en.wikipedia.org/wiki/Extended_Euclidean_algorithm
-- for details.
module Numeric.Nat.GCD... |
game-projects/Sonic2/Objects/TitleScreen/SonicAndTailsIn/SonicAndTailsIn.asm | wide-dot/thomson-to8-game-engine | 11 | 10348 | <reponame>wide-dot/thomson-to8-game-engine
; ---------------------------------------------------------------------------
; Object - SonicAndTailsIn
;
; Display Sonic And Tails In ... message
;
; input REG : [u] pointer to Object Status Table (OST)
; ---------
;
; --------------------------------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.