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 |
|---|---|---|---|---|
unittests/32Bit_ASM/PrimaryGroup/5_FF_02_2.asm | cobalt2727/FEX | 628 | 12326 | <gh_stars>100-1000
%ifdef CONFIG
{
"RegData": {
"RAX": "0x41424344"
},
"Mode": "32BIT"
}
%endif
mov edi, 0xe0000000
lea esp, [edi + 8 * 4]
mov eax, 0x41424344
mov [edi + 8 * 0], eax
mov eax, 0x51525354
mov [edi + 8 * 1], eax
mov eax, 0
db 0xFF
db 0x15
dd .jmp_data
jmp .end
.call_tgt:
mov eax, [edi + 8 * 0... |
Control Statements/tell/iCal/properties.applescript | looking-for-a-job/applescript-examples | 1 | 777 | <gh_stars>1-10
#!/usr/loca/bin/osascript
tell application "iCal"
properties
end tell |
tools/parser_transformer/parser_generator.adb | svn2github/matreshka | 24 | 30591 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
programs/oeis/094/A094421.asm | karttu/loda | 1 | 97488 | ; A094421: a(n) = n * (6*n^2 + 6*n + 1).
; 13,74,219,484,905,1518,2359,3464,4869,6610,8723,11244,14209,17654,21615,26128,31229,36954,43339,50420,58233,66814,76199,86424,97525,109538,122499,136444,151409,167430,184543,202784,222189,242794
mov $1,$0
pow $1,3
mul $1,6
add $1,13
mov $2,$0
mul $2,31
add $1,$2
mov $3,$0
mul... |
src/servlet-rest-definition.adb | My-Colaborations/ada-servlet | 6 | 20082 | -----------------------------------------------------------------------
-- servlet-rest -- REST Support
-- Copyright (C) 2016 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may o... |
programs/oeis/306/A306277.asm | neoneye/loda | 22 | 22071 | <reponame>neoneye/loda<gh_stars>10-100
; A306277: Numbers congruent to 1 or 8 mod 10.
; 1,8,11,18,21,28,31,38,41,48,51,58,61,68,71,78,81,88,91,98,101,108,111,118,121,128,131,138,141,148,151,158,161,168,171,178,181,188,191,198,201,208,211,218,221,228,231,238,241,248,251,258,261,268,271,278,281,288,291,298,301,308,311,31... |
iod/con2/q40ql/mblock.asm | olifink/smsqe | 0 | 174659 | <gh_stars>0
; Move area (generalised PAN/SCROLL) V2.01 <NAME>
; <NAME>
; 2.01 FD REMOVED REFERENCES TO MOVEP for Q60/Q40
; 2.02 added pt_cmbblk (wl)
section con
;
xref cn_maskl
xref cn_maskr
;
xdef cn_mblock
xdef pt_mblock
xdef pt_cmbblk
;
; d1 c size of section to move
; d2 c old origin in source ... |
specs/ada/common/tkmrpc-response-ike-isa_create-convert.ads | DrenfongWong/tkm-rpc | 0 | 25313 | with Ada.Unchecked_Conversion;
package Tkmrpc.Response.Ike.Isa_Create.Convert is
function To_Response is new Ada.Unchecked_Conversion (
Source => Isa_Create.Response_Type,
Target => Response.Data_Type);
function From_Response is new Ada.Unchecked_Conversion (
Source => Response.Data_Type,
... |
oeis/034/A034956.asm | neoneye/loda-programs | 11 | 170152 | ; A034956: Divide natural numbers in groups with prime(n) elements and add together.
; Submitted by <NAME>
; 3,12,40,98,253,455,850,1292,2047,3335,4495,6623,8938,11180,14335,18815,24249,28731,35845,42884,49348,59408,69139,81791,98164,112211,124939,141026,155434,173681,210439,233966,263040,286062,328098,355152,393442,43... |
src/asf-components-widgets-tabs.ads | jquorning/ada-asf | 12 | 14700 | -----------------------------------------------------------------------
-- components-widgets-tabs -- Tab views, tabs and accordion
-- Copyright (C) 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance wit... |
programs/oeis/164/A164549.asm | jmorken/loda | 1 | 9462 | ; A164549: a(n) = 4*a(n-1)+2*a(n-2) for n > 1; a(0) = 1, a(1) = 6.
; 1,6,26,116,516,2296,10216,45456,202256,899936,4004256,17816896,79276096,352738176,1569504896,6983495936,31072993536,138258966016,615181851136,2737245336576,12179345048576,54191870867456,241126173566976,1072888436002816,4773806091145216
mov $1,1
mov $... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_66.asm | ljhsiun2/medusa | 9 | 166004 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x17cc2, %rsi
lea addresses_D_ht+0x11e14, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
dec %r12
mov $117, %rcx
rep movsq
nop
sub $59751, %rax
lea addresses_normal_ht+0xd2c2, %rsi
no... |
programs/oeis/247/A247619.asm | neoneye/loda | 22 | 9680 | <reponame>neoneye/loda
; A247619: Start with a single pentagon; at n-th generation add a pentagon at each expandable vertex; a(n) is the sum of all label values at n-th generation. (See comment for construction rules.)
; 1,6,16,36,66,116,186,296,446,676,986,1456,2086,3036,4306,6216,8766,12596,17706,25376,35606,50956,71... |
oeis/197/A197699.asm | neoneye/loda-programs | 11 | 97087 | ; A197699: Decimal expansion of Pi/(6 + Pi).
; Submitted by <NAME>
; 3,4,3,6,5,9,2,2,5,7,6,4,7,9,3,5,8,5,8,8,3,1,8,6,3,7,4,8,9,3,5,7,2,7,9,1,8,3,2,7,8,4,6,7,7,6,5,0,2,2,4,8,1,6,7,3,0,3,6,1,0,1,4,6,5,3,9,6,5,5,4,2,7,9,7,9,3,0,7,3,7,0,5,9,0,8,8,7,0,3,4,1,7,9,0,1,5,5,4
add $0,1
mov $2,1
mov $3,$0
mul $3,5
lpb $3
mul $1... |
test/Succeed/Issue3536.agda | shlevy/agda | 2 | 5454 | <filename>test/Succeed/Issue3536.agda
-- Issue 3536 reported by <NAME>
-- The problem was that the Treeless compiler reruns the clause
-- compiler, but without the split tree from the coverage
-- checker. However, the split tree is necessary to direct the clause
-- compiler.
data Unit : Set where
true : Unit
record... |
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_MoveSprPix_callee.asm | jpoikela/z88dk | 640 | 172904 | ; void sp1_MoveSprPix(struct sp1_ss *s, struct sp1_Rect *clip, uchar *frame, uint x, uint y)
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _sp1_MoveSprPix_callee, l0_sp1_MoveSprPix_callee
EXTERN asm_sp1_MoveSprPix
_sp1_MoveSprPix_callee:
pop af
pop ix
exx
pop bc
exx
pop hl
pop de
pop bc
... |
uuu/src/cells/thread/strontium/strontium.asm | ekscrypto/Unununium | 7 | 1833 | ;; $Header: /cvsroot/uuu/uuu/src/cells/thread/strontium/strontium.asm,v 2.6 2002/01/04 18:44:42 lukas2000 Exp $
;;
;; strontium ][ thread engine
;; Copyright 2001 <NAME>
;; based on original strontium by <NAME>
;;
;; known issues:
;; -------------
;; scheduling is a simple rotation with no reguard to priority
;; yield_... |
source/kernel.asm | feliposz/FelipOS | 0 | 92296 | <gh_stars>0
bits 16
%define OS_VERSION '0.0.1'
%define API_VERSION 17
disk_buffer equ 24576 ; 8k disk buffer located after OS code and before 32k (user space)
user_space equ 32768
jmp kernel_start ; 0000h
jmp os_print_string ; 0003h
jmp os_move_cursor ... |
test/epic/Prelude/Bot.agda | redfish64/autonomic-agda | 0 | 8670 | module Prelude.Bot where
data Bot : Set where
magic : ∀{A : Set} -> Bot -> A
magic ()
|
models/hol/sygus/bitvector_benchmarks/parity-aig-d1.als | johnwickerson/alloystar | 2 | 4582 | <reponame>johnwickerson/alloystar
module parity_aig_d1
open parity[spec]
--------------------------------------------------------------------------------
-- Specification
-- (https://github.com/rishabhs/sygus-comp14/blob/master/benchmarks/bitvector-benchmarks/parity-AIG-d1.sl)
----------------------------------------... |
test/Fail/Issue2127.agda | shlevy/agda | 1,989 | 13704 | -- Andreas, 2016-08-02 issue #2127 reported by petercommand
data Test : Set₁ where
field
A : Set
B : Set -- second field necessary to trigger internal error
-- WAS: internal error
-- Should give proper error
|
libsrc/gfx/portable/w_plot.asm | Frodevan/z88dk | 640 | 91272 | <reponame>Frodevan/z88dk<gh_stars>100-1000
SECTION code_graphics
PUBLIC plot
PUBLIC _plot
PUBLIC plot_callee
PUBLIC _plot_callee
PUBLIC asm_plot
EXTERN w_plotpixel
; int plot(int x, int y) __smallc;
plot:
_plot:
ld hl,sp+2
ld e,(hl) ;y
inc hl
ld d,(hl)
inc hl
ld a,(hl) ;x
inc hl
ld h,(hl)
ld l,a
... |
Example-02.agda | ashinkarov/agda-extractor | 1 | 8344 | <gh_stars>1-10
{-# OPTIONS --show-implicit --verbose=tc.reconstruct:50 #-}
open import ExtractSac as ES using ()
open import Extract (ES.kompile-fun)
open import Data.Nat
open import Data.List as L using (List; []; _∷_)
open import Data.Vec as V using (Vec; []; _∷_)
open import Data.Fin using (Fin; zero; suc; #_)
ope... |
asm_sources/callback.asm | 11philip22/Mapping-Injection | 314 | 100507 | ;C:\fasm\fasm.exe callback.asm callback.bin
;python bin2cbuffer.py callback.bin callback
use64
mov rdx, 0x7fffffffffff ; address of the global variable flag to check thread creation
;check if thread never run
cmp byte [rdx], 0
je callback_start
;avoid recursions
jmp restore_execution
;here starts the callback part ... |
libsrc/enterprise/exos_system_reset.asm | andydansby/z88dk-mk2 | 1 | 100853 | <reponame>andydansby/z88dk-mk2
;
; Enterprise 64/128 specific routines
; by <NAME>, 2011
;
; exos_system_reset();
;
;
; $Id: exos_system_reset.asm,v 1.2 2011/03/15 14:34:08 stefano Exp $
;
XLIB exos_system_reset
exos_system_reset:
ld c,l
rst 30h
defb 0
ret
|
programs/oeis/171/A171820.asm | neoneye/loda | 22 | 161540 | <gh_stars>10-100
; A171820: Numbers n such that the n-th prime is of the form 3k + 1/2 +- 1/2.
; 2,4,6,8,11,12,14,18,19,21,22,25,27,29,31,34,36,37,38,42,44,46,47,48,50,53,58,59,61,63,65,67,68,70,73,74,75,78,80,82,84,85,88,90,93,95,99,100,101,105,106,110,111,112,114,115,117,121,122,125,127,129,130,131,133
seq $0,177965... |
ugbc/src/hw/gtia/put_image.asm | spotlessmind1975/ugbasic | 10 | 167538 | <gh_stars>1-10
; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021-2022 <NAME> (<EMAIL>)
; *
; * Licensed u... |
src/igzip/hufftables_sam.asm | robinmoussu/fastzip | 2 | 16514 | <reponame>robinmoussu/fastzip<filename>src/igzip/hufftables_sam.asm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; The MIT License
;
; Copyright (c) 2014 Intel Corporation
;
; Permission is hereby granted, free of charge, to any person
; obtaining a copy of this software and associ... |
alarm.applescript | roberthuttinger/Apple-TV-Alarm-Clock | 1 | 3349 | set AppleTVName to "Bedroom Apple TV"
set PlaylistName to "Alarm"
activate application "iTunes"
delay 0.2
tell application "System Events"
tell application "iTunes"
set visible of front browser window to true
set the view of the front browser window to playlist PlaylistName
end tell
delay 0.2
tell window ... |
antlr/MasciiParser.g4 | arikast/mascii-source | 4 | 7209 | // the mascii 2.0 grammar
parser grammar MasciiParser;
options { tokenVocab=MasciiLexer; }
music: (SPACE|NEWLINE)* bars (SPACE|newline)* EOF;
metainfo: (SPACE|NEWLINE)* OPEN_META M_NEWLINE* headers M_NEWLINE* CLOSE_META (SPACE|NEWLINE)* ;
headers: ... |
customschedule.scpt | siliconninja/customschedule | 0 | 3000 | <gh_stars>0
-- Copyright (c) 2017 siliconninja
-- This repository and its files are licensed under the the MIT License.
-- READ THIS: This only works if your school has a calendar (that you can subscribe to via iCal or Google Calendars which you can download as an iCal file)
-- **You must run this script FIRST before ... |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_21829_347.asm | ljhsiun2/medusa | 9 | 13358 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x3acb, %rcx
nop
nop
nop
nop
sub $14999, %rbx
movl $0x61626364, (%rcx)
sub $12299, %r10
lea addresses_A_ht+0x92c7, %r8
nop
nop... |
programs/oeis/167/A167371.asm | karttu/loda | 0 | 160293 | ; A167371: Triangle, read by rows, given by [0,1,-1,0,0,0,0,0,0,0,0,...] DELTA [1,0,-1,1,0,0,0,0,0,0,0,...] where DELTA is the operator defined in A084938.
; 1,0,1,0,1,1,0,0,1,1,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,... |
polynomial/clenshaw/chebychev_tst_1.adb | jscparker/math_packages | 30 | 11203 |
with Clenshaw;
with Chebychev;
with gauss_quadrature_61;
with chebychev_quadrature;
with Text_IO; use Text_IO;
with Ada.Numerics.Generic_Elementary_Functions;
-- Use data structure in Chebychev to instantiate Clenshaw, and make
-- Chebychev polynomials of the 2nd kind.
-- Chebychev polynomials should be normalized ... |
src/shaders/h264/ildb/load_Cur_UV_Right_Most_2x8.asm | tizenorg/platform.upstream.libva-intel-driver | 0 | 105181 | /*
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
*/
// Module Name: Load_Cur_UV_Right_Most_2X8.Asm
#if defi... |
alloy4fun_models/trashltl/models/15/aE6bcGs845Yw552Tv.als | Kaixi26/org.alloytools.alloy | 0 | 1041 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idaE6bcGs845Yw552Tv_prop16 {
always Protected'= Protected
}
pred __repair { idaE6bcGs845Yw552Tv_prop16 }
check __repair { idaE6bcGs845Yw552Tv_prop16 <=> prop16o } |
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/atan.asm | Frodevan/z88dk | 640 | 241093 | <filename>libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/atan.asm
SECTION code_fp_math32
PUBLIC _atan
EXTERN cm32_sdcc_atan
defc _atan = cm32_sdcc_atan
|
libsrc/gfx/narrow/c_respixel.asm | Frodevan/z88dk | 38 | 10056 | <filename>libsrc/gfx/narrow/c_respixel.asm
;
; Generic pseudo graphics routines for text-only platforms
;
; Reset pixel at (x,y) coordinate.
SECTION code_graphics
PUBLIC c_respixel
defc NEEDunplot = 1
.c_respixel
INCLUDE "c_pixel.inc"
|
List.g4 | talisonfc/dsl-list | 0 | 349 | grammar List;
programa : comando+ EOF;
comando : NOME '=' exp # expresion
| 'print' exp # show
;
exp : exp '.' exp # expNested
| exp '+' exp # expSum
| NOME # name
| lista # collection
| INT # int
| 'false' # fals... |
src/main/antlr/GaiaSdk.g4 | leftshiftone/gaia-sdk | 0 | 5654 | /*
* Lexer Rules
*/
grammar GaiaSdk;
COLON : ':';
CURLY_LEFT : '{';
CURLY_RIGHT : '}';
ROUND_LEFT : '(';
ROUND_RIGHT : ')';
SQUARE_LEFT : '[';
SQUARE_RIGHT : ']';
QUESTION_MARK : '?';
COMMA : ',';
AT : '@';
DEPRECATED : 'deprecat... |
lang/src/main/antlr4/org/kaazing/k3po/lang/regex/Regex.g4 | jfallows/k3po | 0 | 2 | <reponame>jfallows/k3po<gh_stars>0
grammar Regex;
literal
: regex=pattern
;
pattern
: expression
;
expression
: sequence ( '|' sequence )*
;
sequence
: '^'? group+ '$'?
;
group
: PatternNonGroup
| group0
;
group0
: LeftParen groupN RightParenWithOptionalPatternQuantifiers
;
groupN
: ... |
programs/oeis/066/A066587.asm | karttu/loda | 1 | 27383 | <filename>programs/oeis/066/A066587.asm
; A066587: Duplicate of A047621.
; 3,5,11,13,19,21,27,29,35,37,43,45,51,53,59,61,67,69,75,77,83,85,91,93
mov $1,$0
mod $0,2
mul $1,2
sub $1,$0
mul $1,2
add $1,3
|
oeis/048/A048580.asm | neoneye/loda-programs | 11 | 17605 | <gh_stars>10-100
; A048580: Pisot sequence L(3,10).
; 3,10,34,116,396,1352,4616,15760,53808,183712,627232,2141504,7311552,24963200,85229696,290992384,993510144,3392055808,11581202944,39540700160,135000394752,460920178688,1573679925248,5372879343616,18344157523968,62630871408640,213835170586624,730078939529216,249264541... |
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/compile.adb | Lucretia/old_nehe_ada95 | 0 | 28656 | <reponame>Lucretia/old_nehe_ada95<filename>thirdparty/adasdl/thin/adasdl/AdaSDL/binding/compile.adb
pragma Warnings (Off);
with SDL;
with SDL.RWops;
with SDL.Types;
with SDL.Mutex;
with SDL.Video;
with SDL.Active;
with SDL.Keysym;
with SDL.Keyboard;
with SDL.Mouse;
with SDL.Joystick;
with SDL.Events;
with SDL.Error;
w... |
data/mapHeaders/celadonmart4.asm | adhi-thirumala/EvoYellow | 16 | 26781 | <filename>data/mapHeaders/celadonmart4.asm<gh_stars>10-100
CeladonMart4_h:
db LOBBY ; tileset
db CELADON_MART_4_HEIGHT, CELADON_MART_4_WIDTH ; dimensions (y, x)
dw CeladonMart4Blocks, CeladonMart4TextPointers, CeladonMart4Script ; blocks, texts, scripts
db $00 ; connections
dw CeladonMart4Object ; objects
|
src/fot/PA/Axiomatic/Mendelson/PropertiesATP.agda | asr/fotc | 11 | 9281 | <reponame>asr/fotc
------------------------------------------------------------------------------
-- PA properties
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism ... |
programs/oeis/090/A090570.asm | neoneye/loda | 22 | 173815 | <filename>programs/oeis/090/A090570.asm
; A090570: Numbers that are congruent to {0, 1} mod 9.
; 0,1,9,10,18,19,27,28,36,37,45,46,54,55,63,64,72,73,81,82,90,91,99,100,108,109,117,118,126,127,135,136,144,145,153,154,162,163,171,172,180,181,189,190,198,199,207,208,216,217,225,226
mov $1,$0
div $1,2
mul $1,7
add $0,$1
|
oeis/180/A180145.asm | neoneye/loda-programs | 11 | 81201 | ; A180145: Eight rooks and one berserker on a 3 X 3 chessboard. G.f.: (1 - 3*x^2)/(1 - 4*x - 3*x^2 + 6*x^3).
; Submitted by <NAME>
; 1,4,16,70,304,1330,5812,25414,111112,485818,2124124,9287278,40606576,177543394,776269636,3394069270,14839825624,64883892490,283690631212,1240375248574,5423269532992,23712060090418,1036757... |
out/euler40.adb | Melyodas/metalang | 22 | 26290 | <gh_stars>10-100
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure euler40 is
type stringptr is access all char_array;
procedure PString(s : stringptr) is
begin
String'Writ... |
Applescript/Music_Toggle.applescript | dustindmiller/QTableTop | 1 | 1565 | <filename>Applescript/Music_Toggle.applescript
tell application id "com.figure53.QLab.4" to tell front workspace
set musicList to (q number of cues of cue "Music Playlists")
set activePlaylist to (q name of cue "Music Toggle")
set newTarg to (choose from list musicList with title "Music Playlist" with prompt "Select... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt23.ads | best08618/asylo | 7 | 3232 | <reponame>best08618/asylo
with Opt23_Pkg; use Opt23_Pkg;
package Opt23 is
procedure Proc (Driver : Rec);
end Opt23;
|
src/careers.adb | thindil/steamsky | 80 | 22652 | -- Copyright 2018-2021 <NAME>
--
-- This file is part of Steam Sky.
--
-- Steam Sky is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) a... |
source/tests/regions-tests.adb | reznikmm/declarative-regions | 0 | 16533 |
with Regions.Contexts;
with Regions.Entities.Packages;
with Regions.Environments.Factories;
package body Regions.Tests is
procedure Symbol_Exists
(Region : Regions.Region'Class;
Symbol : Regions.Symbols.Symbol;
Expect : Boolean)
is
Has_Symbol : Boolean := False;
begin
for X in R... |
agda/Relation/Nullary/Decidable/Logic.agda | oisdk/combinatorics-paper | 4 | 8692 | {-# OPTIONS --cubical --safe --postfix-projections #-}
module Relation.Nullary.Decidable.Logic where
open import Prelude
open import Data.Sum
infixl 7 _&&_
_&&_ : Dec A → Dec B → Dec (A × B)
(x && y) .does = x .does and y .does
(yes x && yes y) .why = ofʸ (x , y)
(yes x && no y) .why = ofⁿ (y ∘ snd)
(no x && y) ... |
sensibility.agda | hazelgrove/hazelnut-agda | 0 | 2216 | open import Nat
open import Prelude
open import binders-disjoint-checks
open import judgemental-erase
open import lemmas-matching
open import moveerase
open import statics-core
open import synth-unicity
module sensibility where
mutual
-- if an action transforms a zexp in a synthetic posistion to another zexp,
... |
programs/oeis/103/A103831.asm | karttu/loda | 1 | 242491 | <gh_stars>1-10
; A103831: For even n, a(n) = n*(n+1), for odd n, a(n) = 2*n + 1.
; 0,3,6,7,20,11,42,15,72,19,110,23,156,27,210,31,272,35,342,39,420,43,506,47,600,51,702,55,812,59,930,63,1056,67,1190,71,1332,75,1482,79,1640,83,1806,87,1980,91,2162,95,2352,99,2550,103,2756,107,2970,111,3192,115,3422,119,3660,123,3906,127... |
src/spi_master_itsybitsy.ads | hgrodriguez/spi_two_devices | 0 | 24809 | --===========================================================================
--
-- This package is the master configuration for the ItsyBitsy
-- use cases:
-- 3: Master ItsyBitsy -> Slave Pico
-- 4: Master ItsyBitsy -> Slave ItsyBitsy
--
--============================================================... |
Cubical/Core/Everything.agda | dan-iel-lee/cubical | 0 | 10238 | <reponame>dan-iel-lee/cubical
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Core.Everything where
-- Basic primitives (some are from Agda.Primitive)
open import Cubical.Core.Primitives public
-- Definition of equivalences and Glue types
open import Cubical.Core.Glue public
-- Definition of cubica... |
macOS/login_items.applescript | darenas31415/dotfiles | 0 | 1581 | <filename>macOS/login_items.applescript
# "¬" charachter tells osascript that the line continues
set login_item_list to {¬
"Dropbox",¬
"Spectacle"¬
}
tell application "System Events" to delete every login item
repeat with login_item in login_item_list
tell application "System Events"
make login i... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1282.asm | ljhsiun2/medusa | 9 | 103394 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1282.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1e854, %rsi
lea addresses_A_ht+0x3054, %rdi
nop
nop
nop
nop
inc %rdx
mov $67, %rcx
rep movsw
nop
nop
... |
4-high/gel/applet/demo/sprite/mixed_joints/launch_mixed_joints.adb | charlie5/lace-alire | 1 | 3689 | <filename>4-high/gel/applet/demo/sprite/mixed_joints/launch_mixed_joints.adb
with
gel.Window.sdl,
gel.Applet.gui_world,
gel.Forge,
gel.Sprite,
gel.hinge_Joint,
gel.ball_Joint,
gel.cone_twist_Joint,
gel.slider_Joint,
gel.any_Joint,
openGL.Palette;
pragma unreferenced (... |
source/streams/a-storio.ads | ytomino/drake | 33 | 21568 | pragma License (Unrestricted);
with Ada.IO_Exceptions;
with System.Storage_Elements;
generic
type Element_Type is private;
package Ada.Storage_IO is
pragma Preelaborate;
Buffer_Size : constant System.Storage_Elements.Storage_Count :=
Element_Type'Max_Size_In_Storage_Elements; -- implementation-defined
... |
programs/oeis/303/A303590.asm | neoneye/loda | 22 | 1613 | <gh_stars>10-100
; A303590: Floor(n*beta)-1, where 1/alpha+1/beta=1, alpha being the number with continued fraction expansion [1;1,2,3,4,5,...] (A247844).
; 1,3,6,8,11,13,16,18,20,23,25,28,30,33,35,37,40,42,45,47,50,52,54,57,59,62,64,67,69,71,74,76,79,81,84,86,89,91,93,96,98,101,103,106,108,110,113,115,118,120,123,125,... |
Engine Hacks/Strmag/Strmag/Str Mag Split/Unit Viewer/Unit Viewer.asm | sme23/Christmas2 | 3 | 12126 | .thumb
.org 0x0
push {r14}
ldr r6,[r4]
ldr r6,[r6] @char data
ldr r0,MagGetter
mov r14,r0
mov r0,r6
.short 0xF800
ldr r1,[r6,#0x4]
ldrb r1,[r1,#0x4]
lsl r1,#0x2
ldr r2,MagClassTable
add r2,r1
ldrb r2,[r2,#0x2]
mov r1,#0x2
cmp r0,r2
bne NoGlowyMag
mov r1,#0x4
NoGlowyMag:
mov r2,r0
ldr r0,ProcessMag
mov ... |
Type/Cubical/Univalence.agda | Lolirofle/stuff-in-agda | 6 | 9641 | <reponame>Lolirofle/stuff-in-agda<filename>Type/Cubical/Univalence.agda
{-# OPTIONS --cubical #-}
module Type.Cubical.Univalence where
open import Function.Axioms
open import Functional
open import Logic.Predicate
open import Logic.Propositional
import Lvl
open import Structure.Function.Domain using (intro ; Inv... |
oeis/321/A321233.asm | neoneye/loda-programs | 11 | 90984 | ; A321233: a(n) is the number of reflectable bases of the root system of type D_n.
; Submitted by <NAME>
; 0,4,128,4992,241664,14131200,972521472,77138231296,6935178903552,697359579217920,77576992194560000,9461629052252061696,1255632936007234486272,180144800985155488448512,27786422394606966747955200,4585649599904345055... |
alloy4fun_models/trashltl/models/3/m9HZE2fZt9WwXrsGe.als | Kaixi26/org.alloytools.alloy | 0 | 4377 | <gh_stars>0
open main
pred idm9HZE2fZt9WwXrsGe_prop4 {
some f: File | eventually f in Trash
}
pred __repair { idm9HZE2fZt9WwXrsGe_prop4 }
check __repair { idm9HZE2fZt9WwXrsGe_prop4 <=> prop4o } |
oeis/267/A267443.asm | neoneye/loda-programs | 11 | 15207 | ; A267443: Binary representation of the middle column of the "Rule 129" elementary cellular automaton starting with a single ON (black) cell.
; Submitted by <NAME>
; 1,10,101,1010,10101,101011,1010111,10101110,101011101,1010111011,10101110111,101011101111,1010111011111,10101110111111,101011101111111,1010111011111110,10... |
programs/oeis/135/A135673.asm | jmorken/loda | 1 | 244359 | ; A135673: Ceiling(n + n^(2/3)).
; 2,4,6,7,8,10,11,12,14,15,16,18,19,20,22,23,24,25,27,28,29,30,32,33,34,35,36,38,39,40,41,43,44,45,46,47,49,50,51,52,53,55,56,57,58,59,61,62,63,64,65,66,68,69,70,71,72,73,75,76,77,78,79,80,82,83,84,85,86,87,89,90,91,92,93,94,96,97,98,99,100,101,103,104,105,106,107,108,109,111,112,113,11... |
lab4/example_e_1.asm | 0000Blaze/Microprocess | 0 | 173245 | <filename>lab4/example_e_1.asm
# ORG 8050
MVI A,80
OUT 43
MVI A,FF
LXI H,8080
PCHL
HLT
# ORG 8080
DCR A
OUT 42
JMP 8080
|
3-mid/opengl/source/lean/geometry/opengl-primitive-non_indexed.ads | charlie5/lace | 20 | 25490 | package openGL.Primitive.non_indexed
--
-- Provides a class for non-indexed openGL primitives.
--
is
type Item is limited new Primitive.item with private;
subtype Class is Item'Class;
type View is access all Item'Class;
type Views is array (Index_t range <>) of View;
---------
-- Forge... |
programs/oeis/093/A093033.asm | neoneye/loda | 22 | 93172 | ; A093033: Number of interior balls in a truncated octahedral arrangement.
; 6,79,314,807,1654,2951,4794,7279,10502,14559,19546,25559,32694,41047,50714,61791,74374,88559,104442,122119,141686,163239,186874,212687,240774,271231,304154,339639,377782,418679,462426,509119,558854,611727,667834,727271,790134,856519,926522,100... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/allocators.adb | ouankou/rose | 488 | 22091 | <filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/allocators.adb
procedure Extension_Aggregate is
type Parent is tagged
record
C1 : Float;
C2 : Float;
end record;
type Extension is new Parent with
record
C3 : Float;
C4 : Float;
... |
src/trainingdata.ads | sebsgit/textproc | 0 | 28202 | <reponame>sebsgit/textproc<filename>src/trainingdata.ads
with MathUtils;
with NNClassifier;
with DataBatch;
with PixelArray;
with Ada.Strings.Unbounded;
package TrainingData is
pragma Elaborate_Body;
pragma Assertion_Policy (Pre => Check,
Post => Check,
Ty... |
oeis/164/A164123.asm | neoneye/loda-programs | 11 | 27848 | <gh_stars>10-100
; A164123: Partial sums of A162436.
; Submitted by <NAME>(s1)
; 1,4,7,16,25,52,79,160,241,484,727,1456,2185,4372,6559,13120,19681,39364,59047,118096,177145,354292,531439,1062880,1594321,3188644,4782967,9565936,14348905,28697812,43046719,86093440,129140161,258280324,387420487,774840976,1162261465,232452... |
programs/oeis/133/A133463.asm | jmorken/loda | 1 | 8788 | ; A133463: Partial sums of the sequence that starts with 2 and is followed by A111575.
; 2,3,4,5,6,9,12,15,18,27,36,45,54,81,108,135,162,243,324,405,486,729,972,1215,1458,2187,2916,3645,4374,6561,8748,10935,13122,19683,26244,32805,39366,59049,78732,98415,118098,177147,236196,295245,354294
mov $2,$0
add $2,1
mov $6,$0
... |
dcf/src/dcf-streams-calendar.adb | onox/dcf-ada | 5 | 25932 | <filename>dcf/src/dcf-streams-calendar.adb
package body DCF.Streams.Calendar is
procedure Set_Time (S : out Root_Zipstream_Type'Class; Modification_Time : Ada.Calendar.Time) is
begin
Set_Time (S, Calendar.Convert (Modification_Time));
end Set_Time;
function Get_Time (S : in Root_Zipstream_Type'Class... |
examples/fib2.asm | shockkolate/shk-asm | 0 | 414 | <reponame>shockkolate/shk-asm
LOD $1, fib_digit
CAL fib
STO #1:#0, $0 ; stdout
DIE
; in: fib digit
; out: result
fib:
MOV $0, #0 ; term 1
MOV $0x10, #1 ; term 2
MOV $0x11, #0 ; loop counter
.loop:
STO #1:#0, $0 ; stdout
ADD $0x12, $0, $0x10
MOV $0, $0x1... |
Cubical/Structures/Group/Morphism.agda | RobertHarper/cubical | 0 | 1773 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Structures.Group.Morphism where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Structures.Group.Base
private
variable
ℓ ℓ' : Level
-- The following definition of GroupHom and GroupEquiv are lev... |
extern/gnat_sdl/gnat_sdl2/src/mmintrin_h.ads | AdaCore/training_material | 15 | 22053 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package mmintrin_h is
-- Copyright (C) 2002-2017 Free Software Foundation, Inc.
-- This file is part of GCC.
-- GCC is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public Li... |
vpnconnect.applescript | christianv/dotfiles | 1 | 2447 | set appname to "Pulse Secure"
tell application appname
if it is not running then
activate
end if
end tell
tell application "System Events"
tell process "Pulse Secure"
set frontmost to true
click menu item "Connect" of menu of menu item "Connections" of menu "File" of menu bar 1
delay 2
keystroke "push"
... |
libsrc/_DEVELOPMENT/math/float/am9511/lam32/z80/asm__dtoa_base10.asm | ahjelm/z88dk | 640 | 246578 | <reponame>ahjelm/z88dk<filename>libsrc/_DEVELOPMENT/math/float/am9511/lam32/z80/asm__dtoa_base10.asm
SECTION code_clib
SECTION code_fp_am9511
PUBLIC __dtoa_base10
EXTERN asm_am9511__dtoa_base10
defc __dtoa_base10 = asm_am9511__dtoa_base10
|
source/numerics/a-nuflra.ads | ytomino/drake | 33 | 16147 | <filename>source/numerics/a-nuflra.ads
pragma License (Unrestricted);
with Ada.Numerics.MT19937;
package Ada.Numerics.Float_Random is
-- Basic facilities
-- type Generator is limited private;
subtype Generator is MT19937.Generator;
subtype Uniformly_Distributed is Float range 0.0 .. 1.0;
function Rando... |
TIS100/TisLang.g4 | embix/TIS100 | 11 | 1208 | <filename>TIS100/TisLang.g4
grammar TisLang;
options {
language=CSharp3;
}
@lexer::namespace{TisLang}
@parser::namespace{TisLang}
program : expression*;
expression : label
| instruction
| EOL
;
label : SYMBOL ':' EOL;
instruction : SYMBOL argumentList EOL;
argumentList : (arg... |
examples/unique_ptr_example.adb | jhumphry/auto_counters | 5 | 10880 | -- unique_ptr_example.adb
-- An example of using the Unique_Ptr types
-- Copyright (c) 2016, <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all copie... |
include/interfaces_cpp.strings.ads | zackboll/interfaces.cpp | 0 | 9836 | -- BSD 2-Clause License
--
-- Copyright (c) 2017, <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,
-- thi... |
controls.asm | bplaat/win32asm | 2 | 87801 | ; controls.asm - An pure 32-bit and 64-bit win32 assembly GUI controls program
; Made by <NAME> (https://bastiaan.ml/)
; 32-bit: nasm -f bin controls.asm -o controls-x86.exe && ./controls-x86
; 64-bit: nasm -DWIN64 -f bin controls.asm -o controls-x64.exe && ./controls-x64
%include "libwindows.inc"
hea... |
oeis/135/A135261.asm | neoneye/loda-programs | 11 | 243571 | <filename>oeis/135/A135261.asm
; A135261: a(n) = 3*A131090(n) - A131090(n+1).
; Submitted by <NAME>
; -1,3,-1,2,-1,5,6,17,27,58,111,229,454,913,1819,3642,7279,14565,29126,58257,116507,233018,466031,932069,1864134,3728273,7456539,14913082,29826159,59652325,119304646,238609297,477218587,954437178,1908874351,3817748709,76... |
non_regression/switch_x64_macosx_7.o.asm | LRGH/plasmasm | 1 | 240782 | <filename>non_regression/switch_x64_macosx_7.o.asm
.macosx_version_min 10, 13
.section __TEXT,__text,regular,pure_instructions
.align 4, 0x90
.globl _xalloc_die
_xalloc_die:
pushq %rbp
movq %rsp, %rbp
leaq LC00001F30(%rip), %rdx
leaq LC00001F33(%rip), %rcx
xorl %edi, %edi
xorl ... |
tools/scitools/conf/understand/ada/ada12/a-tasatt.ads | brucegua/moocos | 1 | 14227 | <filename>tools/scitools/conf/understand/ada/ada12/a-tasatt.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
oeis/135/A135400.asm | neoneye/loda-programs | 11 | 161118 | ; A135400: a(n) = (4*n^4 - 4*n^3 - n^2 + 3*n)/2.
; 1,17,108,382,995,2151,4102,7148,11637,17965,26576,37962,52663,71267,94410,122776,157097,198153,246772,303830,370251,447007,535118,635652,749725,878501,1023192,1185058,1365407,1565595,1787026,2031152,2299473,2593537,2914940,3265326,3646387,4059863,4507542,4991260,551290... |
alloy4fun_models/trashltl/models/10/ZkPT9GLoims9AernE.als | Kaixi26/org.alloytools.alloy | 0 | 3181 | open main
pred idZkPT9GLoims9AernE_prop11 {
always Protected' = (File - Protected)
}
pred __repair { idZkPT9GLoims9AernE_prop11 }
check __repair { idZkPT9GLoims9AernE_prop11 <=> prop11o } |
Kernal64/asm/examples/fractal.asm | abbruzze/kernal64 | 92 | 176147 | // ===========================================================================
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
// Bitmap Fractal Example for Kick Assembler adapted for k64ass
//---------------... |
tools-src/gnu/gcc/gcc/ada/s-stratt.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 24658 | <filename>tools-src/gnu/gcc/gcc/ada/s-stratt.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- ... |
src/asis/a4g-cu_info2.ads | My-Colaborations/dynamo | 15 | 1922 | <filename>src/asis/a4g-cu_info2.ads
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
Library/Mailbox/Inbox/inboxApplicationList.asm | steakknife/pcgeos | 504 | 4164 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT:
MODULE:
FILE: inboxApplicationList.asm
AUTHOR: <NAME>, Jun 3, 1994
ROUTINES:
Name Description
---- -----------
REVISION HISTORY... |
source/streams/a-nateio.ads | ytomino/drake | 33 | 3469 | pragma License (Unrestricted);
-- implementation unit
with Ada.IO_Exceptions;
with Ada.IO_Modes;
with Ada.Streams.Naked_Stream_IO.Standard_Files;
with System.Native_IO;
with System.Native_Text_IO;
package Ada.Naked_Text_IO is
-- the parameter Form
Default_Form : constant System.Native_Text_IO.Packed_Form := (... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_429.asm | ljhsiun2/medusa | 9 | 171813 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x111ca, %r12
sub $27353, %r13
movb (%r12), %dl
nop
nop
nop
nop
dec %rsi
lea addresses_normal_ht+0x1576a, %rsi
lea addresses_WC_ht+0x1a432, %rdi
cmp %rbx, %rbx
mov $101, %r... |
src/are-installer-merges.ads | stcarrez/resource-embedder | 7 | 6750 | -----------------------------------------------------------------------
-- are-installer-merges -- Web file merge
-- Copyright (C) 2020, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the Licens... |
Transynther/x86/_processed/NONE/_st_zr_/i7-8650U_0xd2_notsx.log_922_73.asm | ljhsiun2/medusa | 9 | 125 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xd3a6, %rsi
lea addresses_WC_ht+0xbfa6, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
inc %rax
mov $80, %rcx
rep movsb
nop
nop
nop
mfence
lea addresses_normal_ht+0xcda6, %rsi
lea addresses_WT... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.