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 |
|---|---|---|---|---|
libsrc/fcntl/dummy/close.asm | grancier/z180 | 0 | 7953 | ; Dummy function to keep rest of libs happy
;
; $Id: close.asm,v 1.5 2016/03/06 21:39:54 dom Exp $
;
SECTION code_clib
PUBLIC close
PUBLIC _close
.close
._close
ret
|
programs/oeis/084/A084857.asm | neoneye/loda | 22 | 8904 | <filename>programs/oeis/084/A084857.asm
; A084857: Inverse binomial transform of n^2*3^(n-1).
; 0,1,10,48,176,560,1632,4480,11776,29952,74240,180224,430080,1011712,2351104,5406720,12320768,27852800,62521344,139460608,309329920,682622976,1499463680,3279945728,7147094016,15518924800,33587986432
mov $1,2
mov $2,$0
mul $0... |
src/globals.adb | bracke/websitegenerator | 1 | 1761 | with Ada.Characters.Handling;
with Ada.Strings.Fixed;
with Ada.Strings;
package body Globals is
Environment_String : String :=
Ada.Characters.Handling.To_Upper (
Ada.Environment_Variables.Value ("OS", "linux"));
Unix_Lineending : constant String
:= String'(1 => ASCII.LF);
Windows_Line... |
Lab8/main8.asm | YuriySavchenko/Assembler | 0 | 88253 | format ELF executable 3
;============= invoke modules =============
include 'print.asm'
include 'longop.asm'
include 'module.asm'
;==========================================
entry start ; label of start program
;================= code ===================
segment readable executable
;=... |
examples/utils/sdl/sdl_sdl_opengl_h.ads | Fabien-Chouteau/GESTE | 13 | 19196 | <reponame>Fabien-Chouteau/GESTE
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with umingw_h;
with GL_gl_h;
with System;
package SDL_SDL_opengl_h is
-- unsupported macro: APIENTRYP APIENTRY *
-- unsupported macro: GLAPI extern
GL_GLEXT_VERSION : constant := ... |
archive/test/manual/etags/ada-src/etags-test-for.ada | RyanMcCarl/.emacs.d | 0 | 4587 | <filename>archive/test/manual/etags/ada-src/etags-test-for.ada
type LL_Task_Procedure_Access is access procedure (Arg : System.Address);
function Body_Required
(N : Node_Id) return Boolean is
begin
pragma Assert (False
or else NT (N).Nkind = N_Compilation_Unit);
return Flag13 (N);
... |
app/src/main/antlr/FLiteSharp.g4 | Rye-Catcher/FLiteSharp | 1 | 6638 | grammar FLiteSharp;
@header {
package io.antlr.gen;
}
/*
* Tokens (terminal)
*/
POW: '**';
MUL: '*';
DIV: '/';
ADD: '+';
SUB: '-';
LESSTHAN: '<';
LESSTHANOREQUAL: '<=';
GREATERTHAN: '>';
GREATERTHANOREQUAL: '>=';
EQUAL: '=';
NOTEQUAL: '<>';
OR: '||';
AND: '&&';
NOT: 'not';
TERNARYOP: '?';
ATTACH: '::';
CONC: '@'... |
src/usb-device-hid-joystick.adb | Fabien-Chouteau/usb_embedded | 14 | 25664 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018-2021, AdaCore --
-- --
-- ... |
src/libraries/Rewriters_Lib/src/rewriters_context_utils.adb | selroc/Renaissance-Ada | 1 | 5204 | <gh_stars>1-10
with Ada.Assertions; use Ada.Assertions;
package body Rewriters_Context_Utils is
function Combine_Contexts (C1, C2 : Ada_Node) return Ada_Node
is
begin
if Is_Reflexive_Ancestor (C1, C2)
then
return C1;
else
Assert (Check => Is_Reflexive_Ancestor (C2, C1),
... |
source/resolver/program-complete_contexts-case_statements.ads | reznikmm/gela | 0 | 13986 | -- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Cross_Reference_Updaters;
with Program.Elements.Case_Statements;
with Program.Interpretations;
package Program.Complete_Contexts.Case_Statements is
pragma... |
externals/skia/third_party/externals/yasm/source/patched-yasm/modules/parsers/tasm/tests/dup.asm | terrajobst/linux-packaging-skiasharp | 2,151 | 25957 | a db 10 dup(1)
|
pwnlib/shellcraft/templates/mips/linux/ftruncate.asm | IMULMUL/python3-pwntools | 325 | 172311 | <reponame>IMULMUL/python3-pwntools<filename>pwnlib/shellcraft/templates/mips/linux/ftruncate.asm
<%
from pwnlib.shellcraft.mips.linux import syscall
%>
<%page args="fd, length"/>
<%docstring>
Invokes the syscall ftruncate. See 'man 2 ftruncate' for more information.
Arguments:
fd(int): fd
length(off_t): l... |
src/main.adb | thomas070605/shoot-n-loot | 0 | 16802 | <gh_stars>0
-- Shoot'n'loot
-- Copyright (c) 2020 <NAME>
with Menus;
with Arith_64;
pragma Unreferenced (Arith_64);
procedure Main is
begin
Menus.Run;
end Main;
|
Asteroids/AsteroidsASM/softmath.asm | ragibson/FPGA-Asteroids | 5 | 1888 | # Implements fixed-point arithmetic with 6 bits for the decimal part and 10
# bits for the integer part (referred to as fp16_t).
#
# This effectively lets the game perform calculations on each pixel at the
# level of 64x64 subpixels.
#
# Integer and fixed-point multiplication/division are implemented in software.
#
# A... |
ffight/lcs/boss/44.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 241670 | copyright zengfr site:http://github.com/zengfr/romhack
007520 move.w A1, ($44,A3) [boss+40, enemy+40]
007524 rts [boss+44, enemy+44]
copyright zengfr site:http://github.com/zengfr/romhack
|
llvm-gcc-4.2-2.9/gcc/ada/s-osprim-mingw.adb | vidkidz/crossbridge | 1 | 2509 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
_build/dispatcher/jmp_ippsGFpECSetPointHashBackCompatible_aa97efb1.asm | zyktrcn/ippcp | 1 | 240916 | extern m7_ippsGFpECSetPointHashBackCompatible:function
extern n8_ippsGFpECSetPointHashBackCompatible:function
extern y8_ippsGFpECSetPointHashBackCompatible:function
extern e9_ippsGFpECSetPointHashBackCompatible:function
extern l9_ippsGFpECSetPointHashBackCompatible:function
extern n0_ippsGFpECSetPointHashBackCompatible... |
programs/oeis/268/A268228.asm | neoneye/loda | 22 | 179075 | ; A268228: a(n) = sum of digits of (2n + 1)^2.
; 1,9,7,13,9,4,16,9,19,10,9,16,13,18,13,16,18,10,19,9,16,22,9,13,7,9,19,10,18,16,13,27,13,25,18,10,19,18,25,13,18,31,16,27,19,19,27,16,22,18,4,16,9,19,19,9,25,13,27,13,16,18,19,19,18,16,31,18,31,16,27,19,10,18,7,13,18,13,25,18,19,28,18,34,22,18,31,16,18,10,19,27,16,31,18,2... |
book-01/Assembly/asm/avx-512/packed/avx512_p_vector_cross_product.asm | gfurtadoalmeida/study-assembly-x64 | 2 | 82004 | <gh_stars>1-10
; Indices for gather and scatter instructions.
;
; Vector array representation in memory:
; XYZ|XYZ|XYZ|XYZ
; V0 V1 V2 V3
;
; So, to access the vector V3 we need to access
; the locations 6, 7, 8.
; Using the gather indexes below, V3 would be:
; Index V3.X = idxGatherX[2] = 6
; Index V3.Y = idxGatherY... |
base/Kernel/Native/ix86/_ulldvrm.asm | sphinxlogic/Singularity-RDK-2.0 | 0 | 105020 | ;*******************************************************************************
;ulldvrm.asm - unsigned long divide and remainder routine
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;Purpose:
; defines the unsigned long divide and remainder routine
; __aulldvrm
;
;Revision Histor... |
oeis/038/A038629.asm | neoneye/loda-programs | 11 | 100810 | ; A038629: Convolution of Catalan numbers A000108 with Catalan numbers but C(0)=1 replaced by 3.
; 3,4,9,24,70,216,693,2288,7722,26520,92378,325584,1158924,4160240,15043725,54747360,200360130,736928280,2722540590,10098646800,37594507860,140415097680,526024740930,1976023374624,7441754696100,28091245875056,10626825706030... |
libsrc/balloc/ba_BlockCount.asm | meesokim/z88dk | 0 | 22673 | ; 05.2005 aralbrec
PUBLIC ba_BlockCount
EXTERN BABlockCount
.ba_BlockCount
call BABlockCount
ld l,c
ld h,b
ret
|
project_files/kernel.asm | ojasagg/XV6-Demand-Paging | 0 | 175666 | <gh_stars>0
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <... |
programs/oeis/013/A013824.asm | neoneye/loda | 22 | 98873 | <reponame>neoneye/loda
; A013824: a(n) = 2^(5*n + 3).
; 8,256,8192,262144,8388608,268435456,8589934592,274877906944,8796093022208,281474976710656,9007199254740992,288230376151711744,9223372036854775808,295147905179352825856,9444732965739290427392,302231454903657293676544,9671406556917033397649408,3094850098213450687247... |
Library/Kernel/Initfile/initfileC.asm | steakknife/pcgeos | 504 | 87837 | <reponame>steakknife/pcgeos<filename>Library/Kernel/Initfile/initfileC.asm
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Kernel/Initfile
FILE: initfileC.asm
REVISION HISTORY:
Name Date Descript... |
src/Sessions/Semantics/Process.agda | laMudri/linear.agda | 34 | 8438 | module Sessions.Semantics.Process where
open import Level
open import Size
open import Data.Nat
open import Data.Sum
open import Data.Product
open import Data.Unit
open import Data.Bool
open import Debug.Trace
open import Function
open import Relation.Unary hiding (Empty)
open import Relation.Unary.PredicateTransform... |
src/Eth/Prelude.agda | fredefox/ethambda-agda | 0 | 15960 | <filename>src/Eth/Prelude.agda
{-| A custom prelude -}
module Eth.Prelude where
import Prelude
import Prelude.Bool -- using (bool)
import Prelude.List -- using (intercalate)
import Prelude.Monad -- using ((>=>))
import Control.Monad.Identity -- using
import Control.Monad.Writer -- using
-- (MonadWriter, WriterT, Writ... |
programs/oeis/129/A129371.asm | neoneye/loda | 22 | 241487 | ; A129371: a(n)=sum{k=0..floor(n/2), (n-k)^2}.
; 0,1,5,13,29,50,86,126,190,255,355,451,595,728,924,1100,1356,1581,1905,2185,2585,2926,3410,3818,4394,4875,5551,6111,6895,7540,8440,9176,10200,11033,12189,13125,14421,15466,16910,18070
lpb $0
mov $2,$0
sub $0,1
seq $2,129370 ; a(n)=n^2-(n-1)^2*(1-(-1)^n)/8.
add $1... |
oeis/345/A345500.asm | neoneye/loda-programs | 11 | 161055 | <reponame>neoneye/loda-programs
; A345500: Numbers that are the sum of nine squares in three or more ways.
; Submitted by <NAME>
; 33,36,39,41,42,44,45,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,1... |
tests/syntax/bad/testfile-end-2.adb | xuedong/mini-ada | 0 | 598 | with Ada.Text_IO; use Ada.Text_IO;
procedure Test is
procedure P is begin x := 0; end Q;
begin P(0); end;
|
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_21829_539.asm | ljhsiun2/medusa | 9 | 23673 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1dd88, %r15
nop
nop
nop
nop
nop
dec %r9
mov $0x6162636465666768, %rdx
movq %rdx, %xmm7
and $0xffffffffffffffc0, %r15
vmovaps %ymm7, (%r15)
nop
nop
nop
nop
and %r12,... |
oeis/032/A032822.asm | neoneye/loda-programs | 11 | 245118 | <reponame>neoneye/loda-programs
; A032822: Numbers whose set of base-10 digits is {1,4}.
; Submitted by <NAME>
; 1,4,11,14,41,44,111,114,141,144,411,414,441,444,1111,1114,1141,1144,1411,1414,1441,1444,4111,4114,4141,4144,4411,4414,4441,4444,11111,11114,11141,11144,11411,11414,11441,11444,14111,14114,14141,14144,14411,1... |
src/hello/hello.asm | devcfei/bootstrap-x86 | 0 | 15450 | <gh_stars>0
%define org_start 7c00h
boot:
org org_start
mov ax, cs
mov ds, ax
mov es, ax
call screenClean
call stringPrint
jmp $
screenClean:
push bp
mov bp, sp
pusha
mov ah, 07h ; tells BIOS to scroll down window
mov al, 00h ; clear entire window
mov bh, 07h ; white on black
mov cx, 00h ; spec... |
ada-unchecked_deallocation.ads | mgrojo/adalib | 15 | 18751 | <gh_stars>10-100
-- Standard Ada library specification
-- Copyright (c) 2003-2018 <NAME> <<EMAIL>>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
... |
oeis/085/A085614.asm | neoneye/loda-programs | 11 | 2790 | <gh_stars>10-100
; A085614: Number of elementary arches of size n.
; Submitted by <NAME>
; 1,3,16,105,768,6006,49152,415701,3604480,31870410,286261248,2604681690,23957864448,222399744300,2080911654912,19604537460045,185813170126848,1770558814528770,16951376923852800,162984598242674670,1573087778533539840,15235884911048... |
game/data/menu_online_mode/anims.asm | sgadrat/super-tilt-bro | 91 | 95340 | <gh_stars>10-100
menu_online_mode_anim_cursor:
; Frame 1
ANIM_FRAME_BEGIN(8)
ANIM_SPRITE($fe, TILE_MENU_ONLINE_MODE_SPRITES_CORNER, $01, $fd)
ANIM_SPRITE($fe, TILE_MENU_ONLINE_MODE_SPRITES_CORNER, $41, $02)
ANIM_SPRITE($01, TILE_MENU_ONLINE_MODE_SPRITES_CORNER, $81, $fd)
ANIM_SPRITE($01, TILE_MENU_ONLINE_MODE_SPRITES_C... |
L1/TPs/0204-ASM/tp3/binaire2.asm | Tehcam/Studies | 0 | 170901 | ; Initialisation
In ; (0)
Store Mem[1] ; x (1)
Load 128 ; (2)
Store Mem[0] ; i (3)
; Si i=0 ?
; dans ts les cas, i est déjà dans l'Acc
CMP 0 ; (4)
JZ 23 ; alors le traitement est fini (5)
; sinon continuer
; Si x<i ?
CMP Mem[1] ; (6)
JC 17 ; alors afficher 0 (7)
Load 1 ; (8)
Out ; sinon afficher 1 (9)
Load Mem[1]... |
out/plus_petit.adb | FardaleM/metalang | 22 | 6357 | <reponame>FardaleM/metalang
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 plus_petit is
type stringptr is access all char_array;
procedure PInt(i : in Integer) is
begin
... |
oeis/214/A214954.asm | neoneye/loda-programs | 11 | 82666 | ; A214954: a(n) = 3*a(n-1) + 6*a(n-2) + a(n-3), with a(0) = 0, a(1) = 2, and a(2) = 7.
; Submitted by <NAME>(s4)
; 0,2,7,33,143,634,2793,12326,54370,239859,1058123,4667893,20592276,90842309,400748476,1767891558,7799007839,34405121341,151777302615,669561643730,2953753868221,13030408769658,57483311162030,253586139972259,... |
libsrc/_DEVELOPMENT/math/float/math16/c/sccz80/cm16_sccz80_asin.asm | ahjelm/z88dk | 640 | 179128 |
SECTION code_fp_math16
PUBLIC cm16_sccz80_asin
EXTERN cm16_sccz80_read1, asinf16
cm16_sccz80_asin:
call cm16_sccz80_read1
jp asinf16
|
projects/batfish/src/main/antlr4/org/batfish/grammar/cumulus_frr/CumulusFrr_routemap.g4 | nickgian/batfish | 0 | 1308 | parser grammar CumulusFrr_routemap;
import CumulusFrr_common;
options {
tokenVocab = CumulusFrrLexer;
}
s_routemap
:
ROUTE_MAP name = word action = line_action sequence =
route_map_sequence NEWLINE
(
rm_description
| rm_match
| rm_set
)*
;
rm_description
:
DESCRIPTION text = route_map_descri... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_703.asm | ljhsiun2/medusa | 9 | 96348 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_703.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x143c0, %rsi
lea addresses_A_ht+0x63c0, %rdi
nop
nop
nop
nop
sub %r13, %r13
mov $32, %rcx... |
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48_notsx.log_21829_417.asm | ljhsiun2/medusa | 9 | 6210 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_WC+0x133c8, %r14
nop
nop
and %r15, %r15
mov $0x5152535455565758, %r10
movq %r10, (%r14)
sub %r10, %r10
// REPMOV
lea address... |
experiments/test-suite/mutation-based/10/10/addr.als | kaiyuanw/AlloyFLCore | 1 | 3525 | <filename>experiments/test-suite/mutation-based/10/10/addr.als
pred test3 {
some disj Address0, Address1: Address {some disj Name0: Name {some disj Name0, Address0, Address1: Listing {some disj Book0: Book {
Address = Address0 + Address1
Name = Name0
Listing = Name0 + Address0 + Address1
Book = Book0
entry = Book0->Nam... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/join/Scene-j.asm | prismotizm/gigaleak | 0 | 104049 | Name: Scene-j.asm
Type: file
Size: 54978
Last-Modified: '1992-07-27T00:08:59Z'
SHA-1: 03DA739A95FDB82ED6A41E84B001DA294AD28A36
Description: null
|
oeis/015/A015217.asm | neoneye/loda-programs | 11 | 85449 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A015217: Sum of Gaussian binomial coefficients for q=24.
; Submitted by <NAME>
; 1,2,27,1204,375629,400208358,2991792531583,76486991418728216,13721923923633091909041,8419357054564884621321079882,36250698926534384563556930107015907,533815775315492783921121148190498865117... |
P5/P5_TestCode/P5_L1_testcase30/P5_L1_testcase30/mips30.asm | alxzzhou/BUAA_CO_2020 | 1 | 21220 | ori $t1,$t1,4
ori $t2,$t2,8
sw $t2,0($t1)
lw $t2,0($t1)
addu $t1,$t1,$t2
lw $t2,0($t1)
addu $t1,$t3,$t2
addu $t3,$t4,$t5
sw $t3,0($t1)
ori $t3,$t3,12
sw $t3,0($t2)
lw $t4,0($t2)
subu $1,$1,$1
ori $12,$12,5
ori $1,$1,16
addu $16,$12,$1
addu $18,$16,$1
sw $18,16($1) |
src/audio-wavefiles-read.adb | Ada-Audio/wavefiles | 10 | 14383 | ------------------------------------------------------------------------------
-- --
-- WAVEFILES --
-- --
-- ... |
TankZone/libTest.asm | dplassgit/games | 0 | 27278 | <reponame>dplassgit/games
incasm "libTrig.asm"
TEST_RADIUS=10 ; this is actually the diameter, shrug.
; For the center of the screen, start at 32768+12*40+19 = 33267, in hex 81f3
; For the lower left, start at 32768+20*40+5=33573, in hex 0x8325
POLAR_CENTER=$8325 ; 32768+19*40+7 ; $8325
testangle byte 0
;; Draw a ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2083.asm | ljhsiun2/medusa | 9 | 17052 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x19648, %rsi
nop
nop
sub $1166, %r13
movb $0x61, (%rsi)
cmp %r9, %r9
lea addresses_normal_ht+0x30dc, %r8
nop
nop
nop
and $14689, %r11
mov (%r8), %r... |
libsrc/graphics/ticalc/swapgfxbk.asm | andydansby/z88dk-mk2 | 1 | 243238 | <reponame>andydansby/z88dk-mk2
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Page the graphics bank in/out - used by all gfx functions
; Simply does a swap...
;
; TI calcs: Copy GRAPH MEM to LCD when finished.
; By <NAME> - Dec. 2000
;
;
; $Id... |
programs/oeis/055/A055679.asm | neoneye/loda | 22 | 2584 | ; A055679: Number of distinct prime factors of phi(n!).
; 0,0,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,6,6,6,6,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,13,13,13,13,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15
mov $2,$0
mov $4,$... |
Agda/univalent-hott/1-type-theory.agda | hemangandhi/HoTT-Intro | 0 | 9967 | <filename>Agda/univalent-hott/1-type-theory.agda
{-# OPTIONS --without-K --exact-split #-}
module 1-type-theory where
import 00-preamble
open 00-preamble public
-- Exercise 1.1 (From ../02-pi.agda)
_∘-1-1_ :
{i j k : Level} {A : UU i} {B : UU j} {C : UU k} →
(B → C) → ((A → B) → (A → C))
(g ∘-1-1 f) a = g (f a)
... |
asm/lfsr.asm | rodrigofegui/JVM | 1 | 103478 | ;-------------------------------------------------------------------------------
; Finalidade: Geração de números pseudo-aleatórios com o algoritmo
; LSFR de 24-bits
;-------------------------------------------------------------------------------
%include "asm_io.inc"
;--------------------------... |
data/jpred4/jp_batch_1613899824__KEwomat/jp_batch_1613899824__KEwomat.als | jonriege/predict-protein-structure | 0 | 3103 | SILENT_MODE
BLOCK_FILE jp_batch_1613899824__KEwomat.concise.blc
MAX_NSEQ 50
MAX_INPUT_LEN 50
OUTPUT_FILE jp_batch_1613899824__KEwomat.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75
DEFINE_FONT 7 Helvetica REL 0.6
DEFINE_FONT... |
programs/oeis/102/A102770.asm | neoneye/loda | 22 | 244282 | <filename>programs/oeis/102/A102770.asm<gh_stars>10-100
; A102770: (p*q - 1)/2 where p and q are consecutive odd primes.
; 7,17,38,71,110,161,218,333,449,573,758,881,1010,1245,1563,1799,2043,2378,2591,2883,3278,3693,4316,4898,5201,5510,5831,6158,7175,8318,8973,9521,10355,11249,11853,12795,13610,14445,15483,16199,17285,... |
agda/Data/List/Sugar.agda | oisdk/combinatorics-paper | 4 | 5212 | <reponame>oisdk/combinatorics-paper
{-# OPTIONS --cubical --safe #-}
module Data.List.Sugar where
open import Data.List.Base
open import Prelude
[_] : A → List A
[ x ] = x ∷ []
pure : A → List A
pure = [_]
_>>=_ : List A → (A → List B) → List B
_>>=_ = flip concatMap
_>>_ : List A → List B → List B
xs >> ys = xs ... |
agda-stdlib/src/Relation/Binary/Properties/Poset.agda | DreamLinuxer/popl21-artifact | 5 | 13306 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties satisfied by posets
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary
module Relation.Binary.Properties.Poset
... |
LabTask19Feb/task3.asm | forkkr/Assembly-Lab | 0 | 85302 | segment .data
ffmt: dq "First odd number: %lld",10,0
prr: dq "",10,0
sfmt: dq "Last odd number: %lld",10,0
ssfmt: dq "%lld",0
segment .bss
a: resq 255
b: resq 1
c: resq 1
d: resq 1
cnt: resq 2
now: resq 2
fst: resq 1
snd: resq 1
segment .text
global main
extern printf
extern scanf
main:
push RBP
xor r8 , r8
xor rc... |
libsrc/_DEVELOPMENT/target/sms/driver/terminal/sms_01_output_terminal/sms_01_output_terminal_oterm_msg_cls.asm | jpoikela/z88dk | 640 | 93343 | <filename>libsrc/_DEVELOPMENT/target/sms/driver/terminal/sms_01_output_terminal/sms_01_output_terminal_oterm_msg_cls.asm<gh_stars>100-1000
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC sms_01_output_terminal_oterm_msg_cls
EXTERN l_offset_ix_de, asm_sms_cls_wc
sms_01_output_terminal_oterm_msg_cls:
... |
test/agda/FRP/JS/Test/Bool.agda | agda/agda-frp-js | 63 | 11089 | <gh_stars>10-100
open import FRP.JS.String using ( _≟_ )
open import FRP.JS.Bool using ( Bool ; true ; false ; if_then_else_ ; _∧_ ; _∨_ ; not ; _xor_ )
open import FRP.JS.QUnit using ( TestSuite ; ok ; test ; _,_ )
module FRP.JS.Test.Bool where
tests : TestSuite
tests =
( test "true"
( ok "true" true )
, t... |
engine/playfieldRenderer/main.asm | laoo/TimePilot | 24 | 18494 |
prScreenWidth = 160
prScreenHeight = 96
prScreenWidthFonts = prScreenWidth/4
prScreenHeightFonts = prScreenHeight/8
;virtual screen coordinates
prScreenXMin = 128-(prScreenWidth/2)
prScreenXMax = 128+(prScreenWidth/2)
prScreenYMin = 128-(prScreenHeight/2)
prScreenYMax = 128+(prScreenHeight/2)
; object ... |
4-high/gel/source/gel-camera.adb | charlie5/lace-alire | 1 | 21603 | <reponame>charlie5/lace-alire
with
gel.Sprite,
openGL.Visual,
ada.unchecked_Deallocation;
package body gel.Camera
is
--------
-- Forge
--
procedure free (Self : in out View)
is
procedure deallocate is new ada.unchecked_Deallocation (Item'Class, View);
begin
Self.destroy;... |
programs/oeis/164/A164494.asm | neoneye/loda | 22 | 104885 | <filename>programs/oeis/164/A164494.asm<gh_stars>10-100
; A164494: Number of binary strings of length n with no substrings equal to 0010 0101 or 1010
; 13,23,40,70,123,216,379,665,1167,2048,3594,6307,11068,19423,34085,59815,104968,184206,323259,567280,995507,1746993,3065759,5380032,9441298,16568323,29075380,51023735,89... |
test/interaction/Issue2590.agda | alhassy/agda | 1 | 9259 | <gh_stars>1-10
-- Andreas, 2017-05-24, issue #2590
-- Making variables visible by case splitting in with-clauses
-- {-# OPTIONS -v interaction.case:20 #-}
-- {-# OPTIONS -v reify:100 #-}
-- {-# OPTIONS -v tc.display:100 #-}
open import Agda.Builtin.Nat
test1 : {x : Nat} → Nat
test1 with Set
... | q = {!.x!} -- C-c ... |
src/main/resources/project-templates/simple_ada_project/src/@_main_name_@.adb | WinterAlexander/Ada-IntelliJ | 17 | 6522 | procedure @_Main_Name_@ is
begin
-- Insert code here.
null;
end @_Main_Name_@;
|
programs/oeis/084/A084084.asm | karttu/loda | 0 | 245577 | ; A084084: Length of lists created by n substitutions k -> Range[0,1+Mod[k+1,3]] starting with {0}.
; 1,3,9,28,86,265,816,2513,7739,23833,73396,226030,696081,2143648,6601569,20330163,62608681,192809420,593775046,1828587033,5631308624,17342153393,53406819691,164471408185,506505428836,1559831901918
mul $0,2
add $0,1
mov... |
programs/oeis/132/A132141.asm | neoneye/loda | 22 | 177435 | <filename>programs/oeis/132/A132141.asm<gh_stars>10-100
; A132141: Numbers whose ternary representation begins with 1.
; 1,3,4,5,9,10,11,12,13,14,15,16,17,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106... |
docs/bugBounty2020/apps/proto-ota/signfile/ada/verifyfile.adb | mikkowus/BESSPIN-Tool-Suite | 0 | 9659 | <reponame>mikkowus/BESSPIN-Tool-Suite<gh_stars>0
with SPARKNaCl; use SPARKNaCl;
with SPARKNaCl.Sign; use SPARKNaCl.Sign;
with SPARKNaCl.Debug; use SPARKNaCl.Debug;
with Ada.Command_Line; use Ada.Command_Line;
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Streams; use Ada.Streams;
with ... |
src/sinks.ads | dshadrin/AProxy | 1 | 28632 | ----------------------------------------
-- Copyright (C) 2019 <NAME> --
-- All rights reserved. --
----------------------------------------
with Pal;
with Logging_Message;
with ConfigTree;
with Ada.Strings.Unbounded;
with Ada.Containers.Vectors;
package Sinks is
use all type Logging_Message.LogMess... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64104l.ada | best08618/asylo | 7 | 10191 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64104l.ada<gh_stars>1-10
-- C64104L.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 ... |
sources/ippcp/asm_intel64/pcpsm3u8as.asm | ntyukaev/ipp-crypto | 30 | 179286 | <reponame>ntyukaev/ipp-crypto
;===============================================================================
; Copyright 2015-2020 Intel Corporation
;
; 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 Lic... |
src/flashbake/plugins/current_track.scpt | jpenney/flashbake | 1 | 2343 | <gh_stars>1-10
if checkProcess("iTunes") then
tell application "iTunes"
if player state is playing then
set trck to current track
set title_text to (get name of trck)
set artist_text to (get artist of trck)
set album_text to (get album of trck)
set playpos to (get player position)
set displayTime t... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_riff_riff_ids_h.ads | persan/A-gst | 1 | 5128 | <gh_stars>1-10
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h;
with glib;
with glib.Values;
with System;
package GStreamer.GST_Low_Level.gstreamer_0_10_gst_riff_riff_ids_h is
-- unsupported macro: GS... |
src/util/oli/ri/lintfp.asm | olifink/qspread | 0 | 86310 | ;lint to fp 05/01-92 O.Fink
section utility
include win1_mac_oli
include win1_keys_qlv
xdef ut_lintfp ; long int to fp
;+++
; long integer to fp
;
; Entry Exit
; a1,a6 arithmetic stack pointe... |
Transynther/x86/_processed/US/_st_zr_/i3-7100_9_0x84_notsx.log_22_50.asm | ljhsiun2/medusa | 9 | 88572 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xa2aa, %rcx
nop
add $38086, %r8
movl $0x61626364, (%rcx)
nop
nop
nop
nop
nop
xor $10633, %r9
lea addresses_normal_ht+0x10b22, %rdi
clflush (%rdi)
nop
nop
nop
nop
xor $51575... |
demo/agda/FRP/JS/Demo/Hello.agda | agda/agda-frp-js | 63 | 9059 | <reponame>agda/agda-frp-js
open import FRP.JS.Behaviour using ( Beh ; [_] )
open import FRP.JS.DOM using ( DOM ; text )
open import FRP.JS.RSet using ( ⟦_⟧ )
module FRP.JS.Demo.Hello where
main : ∀ {w} → ⟦ Beh (DOM w) ⟧
main = text ["Hello, world."]
|
test/interaction/Issue4929.agda | andreas-roehler/agda | 0 | 10240 |
postulate
ANY : ∀{a}{A : Set a} → A
data Ty : Set where
_⇒_ : (a b : Ty) → Ty
data Tm : (b : Ty) → Set where
S : ∀{c a b} → Tm ((c ⇒ (a ⇒ b)) ⇒ ((c ⇒ a) ⇒ (c ⇒ b)))
_∙_ : ∀{a b} (t : Tm (a ⇒ b)) (u : Tm a) → Tm b
data _↦_ : ∀{a} (t t' : Tm a) → Set where
↦S : ∀{c a b} {t : Tm (c ⇒ (a ⇒ b))} {u : Tm (c ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b17a.ada | best08618/asylo | 7 | 28664 | -- C87B17A.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... |
test/Succeed/Issue3063.agda | shlevy/agda | 1,989 | 2782 | <gh_stars>1000+
postulate
I : Set
U : I → Set
El : ∀ {i} → U i → Set
infixr 4 _,_
record Σ (A : Set) (B : A → Set) : Set where
constructor _,_
field
proj₁ : A
proj₂ : B proj₁
open Σ
∃ : ∀ {A : Set} → (A → Set) → Set
∃ = Σ _
mutual
infixl 5 _▻_
data Ctxt : Set where
_▻_ : (Γ : Ctxt) →... |
oeis/007/A007572.asm | neoneye/loda-programs | 11 | 247854 | ; A007572: Generalization of the golden ratio (expansion of (5-13x)/((1+x)(1-4x))).
; Submitted by <NAME>(s4)
; 5,2,26,86,362,1430,5738,22934,91754,366998,1468010,5872022,23488106,93952406,375809642,1503238550,6012954218,24051816854,96207267434,384829069718,1539316278890,6157265115542,24629060462186
mov $1,10
mov $3,1... |
programs/oeis/147/A147656.asm | karttu/loda | 1 | 2307 | ; A147656: The arithmetic mean of the n-th and (n+1)-st cubes, rounded down.
; 0,4,17,45,94,170,279,427,620,864,1165,1529,1962,2470,3059,3735,4504,5372,6345,7429,8630,9954,11407,12995,14724,16600,18629,20817,23170,25694,28395,31279,34352,37620,41089,44765,48654,52762,57095,61659,66460,71504,76797,82345,88154,94230,1005... |
HeartSMD/firmware/Assembler/akl-port.asm | datoffy/SolderingTutorial | 91 | 167163 | ; AntiKippenLights-Mini
;=======================
; ATTiny2313 @ 1 MHz (internal R/C)
; ported from AntiKippenLights and removed the random number generator
;
; original code by <NAME>
; -> https://wiki.blinkenarea.org/bin/view/Blinkenarea/AntiKippenLights
; (KippenLights special edition with PIC1... |
programs/oeis/071/A071022.asm | karttu/loda | 1 | 101558 | <reponame>karttu/loda
; A071022: Triangle read by rows giving successive states of cellular automaton generated by "Rule 70" and by "Rule 198".
; 1,1,1,1,0,1,1,1,0,1,1,0,1,0,1,1,1,0,1,0,1,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,... |
tools/files/applib/contrib/ada/aplib.ads | nehalem501/gendev | 2,662 | 30455 | <gh_stars>1000+
--
-- aPLib compression library - the smaller the better :)
--
-- Ada binding for aplib.a
--
-- Copyright (c) 1998-2009 by <NAME> / Jibz
-- All Rights Reserved
--
-- http://www.ibsensoftware.com/
--
-- Ada binding by <NAME> - <EMAIL>, <EMAIL>
--
package aPLib is
-- Give the maximu... |
oeis/116/A116847.asm | neoneye/loda-programs | 11 | 9819 | <filename>oeis/116/A116847.asm
; A116847: Number of permutations of length n which avoid the patterns 123, 51432.
; Submitted by <NAME>
; 1,2,5,14,41,119,336,924,2492,6636,17536,46137,121095,317434,831571,2177734,5702191,14929519,39087182,102332996,267912946,701407172,1836310110,4807524929,12586266701,32951277474,86267... |
src/natools-web-error_pages.adb | faelys/natools-web | 1 | 8608 | ------------------------------------------------------------------------------
-- Copyright (c) 2014-2019, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
src/gnat/prj-env.ads | Letractively/ada-gen | 0 | 27809 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
yo.asm | charlesap/nasm-uefi | 3 | 4358 | <reponame>charlesap/nasm-uefi
bits 64
org 0x200000
section .header
DOS:
dd 0x00005a4d
times 14 dd 0
dd 0x00000080
times 16 dd 0
PECOFF:
dd `PE\0\0` ; sig
dw 0x8664 ; type
dw 3 ; sections
dd 0x5cba52f6 ; timestamp
dq 0 ; * symbol tab... |
SpriteVideo/demovideo.asm | peteri/stm8ldiscovery | 0 | 89125 | stm8/
.tab 0,8,16,60
#include "variables.inc"
#include "constants.inc"
#include "linerender.inc"
segment 'ram1'
videoticks.w ds.w 1
onscreen ds.b 1
temp ds.b 1
segment 'rom'
; Called every frame by the video code
; we just toggle an led and increment a counter for now.
.demo_video_frame.w
ldw y,videoticks
incw ... |
Ada95/samples/sample-function_key_setting.ads | arc-aosp/external_libncurses | 35 | 14047 | <filename>Ada95/samples/sample-function_key_setting.ads
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- ... |
examples/src/syncpub.adb | sonneveld/adazmq | 0 | 7339 | -- Synchronized publisher
with Ada.Command_Line;
with Ada.Text_IO;
with GNAT.Formatted_String;
with ZMQ;
procedure SyncPub is
use type GNAT.Formatted_String.Formatted_String;
Subscribers_Expected : constant := 10; -- We wait for 10 subscribers
function Main return Ada.Command_Line.Exit_Status
is
... |
non_regression/other_x64_macosx_10.o.asm | LRGH/plasmasm | 1 | 178091 | <reponame>LRGH/plasmasm
.section __TEXT,__text,regular,pure_instructions
.align 4, 0x90
.globl _main
_main:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $40, %rsp
leaq _handler(%rip), %rbx
movq %rbx, -24(%rbp)
movl $0, -12(%rbp)
movl $0, -16(%rbp)
leaq -24(%rbp... |
src/sparknacl-stream.ads | yannickmoy/SPARKNaCl | 76 | 17168 | with SPARKNaCl.Core; use SPARKNaCl.Core;
package SPARKNaCl.Stream
with Pure,
SPARK_Mode => On
is
-- Distinct from Bytes_32, but both inherit Equal,
-- Random_Bytes, and Sanitize primitive operations.
type HSalsa20_Nonce is new Bytes_24;
type Salsa20_Nonce is new Bytes_8;
--------------------... |
programs/oeis/141/A141685.asm | jmorken/loda | 1 | 91781 | ; A141685: a(1) = 1, a(n) = Sum_{k=1..n} (k mod 3) * a(n-k) for n >= 2.
; 1,1,3,5,12,25,54,116,249,535,1149,2468,5301,11386,24456,52529,112827,242341,520524,1118033,2401422,5158012,11078889,23796335,51112125,109783684,235804269,506483762,1087875984,2336647777,5018883507,10780055045,23154469836,49733463433,106822458150,... |
forktest.asm | Tookerton21/Xv6_OS | 0 | 100125 | <reponame>Tookerton21/Xv6_OS
_forktest: file format elf32-i386
Disassembly of section .text:
00000000 <printf>:
#define N 1000
void
printf(int fd, char *s, ...)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 08 sub $0x8,%esp
write(fd, s, s... |
src/splash/splash_video_ram.asm | 1888games/golf | 1 | 172714 | <filename>src/splash/splash_video_ram.asm
; Top-hole Golf
; Copyright 2020-2021 <NAME>
!byte 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,5,3,147,3,5,188,203,149,140,69,4,9,69,3,200,8
!byte 3,3,3,230,110,6,6,19,3,3,6,3,3,3,6,3,3,3,3,3,3,3,3,3,5,5,3,3,181,203,5,94,56,5,78,69,84,197,52,8
!byte 3,3,3,227,6,227,230... |
oeis/123/A123656.asm | neoneye/loda-programs | 11 | 105539 | <reponame>neoneye/loda-programs
; A123656: a(n) = 1 + n^4 + n^6.
; 3,81,811,4353,16251,47953,120051,266241,538003,1010001,1786203,3006721,4855371,7567953,11441251,16842753,24221091,34117201,47176203,64160001,85960603,113614161,148315731,191434753,244531251,309372753,387951931,482504961,595530603,729810001,888427203,107... |
4-high/gel/applet/tute/pong/1-basic_applet_window/launch_pong_tute.adb | charlie5/lace | 20 | 28616 | with
mmi.Window.setup,
mmi.Applet.gui_world,
mmi.Forge,
mmi.World,
mmi.Camera,
Physics;
pragma Unreferenced (mmi.Window.setup);
procedure launch_Pong_Tute
--
-- Basic pong game.
--
is
use mmi.Applet,
mmi.Applet.gui_world,
mmi.Math;
--- Applet
--
the_Applet :... |
livelit-reasoning-principles.agda | hazelgrove/hazel-palette-agda | 4 | 4867 | <gh_stars>1-10
open import Nat
open import Prelude
open import List
open import core
open import contexts
open import typed-expansion
open import lemmas-freevars
module livelit-reasoning-principles where
record reasoning-principles (Φ : livelitctx)
(Γ : tctx)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.