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 |
|---|---|---|---|---|
bench/vpermilpd.asm | dsprenkels/curve13318-haswell | 1 | 9147 | ; Benchmarks for some shuffling ops
;
; Author: <NAME> <<EMAIL>>
%include "bench.asm"
_bench1_name: db `vpermilpd_vpextrq\0`
_bench2_name: db `vpermilpd_vpermilpd\0`
align 8, db 0
_bench_fns_arr:
dq vpermilpd_vpextrq, vpermilpd_vpermilpd
_bench_names_arr:
dq _bench1_name, _bench2_name
_bench_fns: dq _bench_fns_arr... |
src/Section9.agda | mietek/coquand | 4 | 3468 | <filename>src/Section9.agda
module Section9 where
open import Section8 public
-- 9. A decision algorithm for terms
-- =================================
--
-- The reduction defined above can be used for deciding if two well-typed terms are convertible
-- with each other or not: reduce the terms and check if the resul... |
Transynther/x86/_processed/AVXALIGN/_ht_/i7-7700_9_0x48.log_21829_2809.asm | ljhsiun2/medusa | 9 | 29608 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1078a, %r10
nop
nop
and $33175, %rcx
mov $0x6162636465666768, %rax
movq %rax, %xmm3
vmovups %ymm3, (%r10)
nop
nop
nop
nop
xor $41705, %r15
lea addresses_normal... |
FormalAnalyzer/models/apps/Offafter.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 3902 | module app_Offafter
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_switch
one sig app_Offafter extends IoTApp {
switch1 : one cap_switch,
state : one cap_state,
} {
rules = r
//capabilities = switch1 + state
}
one sig cap_state extends cap_runIn {} {
attributes = cap_state_attr + ca... |
oeis/075/A075924.asm | neoneye/loda-programs | 11 | 7637 | ; A075924: Fifth column of triangle A075502.
; Submitted by <NAME>
; 1,105,6860,360150,16689351,714717675,29027537770,1135995214200,43285014073301,1617172212901245,59536438207963080,2167526889938878650,78241359077417918851,2805721220626405336815,100098458195602131838790
mov $2,7
pow $2,$0
seq $0,481 ; Stirling numbers... |
src/Maybe.agda | nad/equality | 3 | 10196 | <reponame>nad/equality
------------------------------------------------------------------------
-- Some definitions related to and properties of the Maybe type
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Equality
module Maybe
{reflexive} (... |
programs/oeis/156/A156854.asm | neoneye/loda | 22 | 95988 | ; A156854: 2025n^2 - 3401n + 1428.
; 52,2726,9450,20224,35048,53922,76846,103820,134844,169918,209042,252216,299440,350714,406038,465412,528836,596310,667834,743408,823032,906706,994430,1086204,1182028,1281902,1385826,1493800,1605824,1721898,1842022,1966196,2094420,2226694,2363018,2503392,2647816,2796290,2948814,310538... |
programs/oeis/114/A114182.asm | karttu/loda | 0 | 97089 | ; A114182: F(4n) - 2n - 1 where F(n) = Fibonacci numbers. Also, the floor of the log base phi of sequence A090162 (phi = (1+Sqrt(5))/2).
; 0,16,137,978,6754,46355,317796,2178292,14930333,102334134,701408710,4807526951,32951280072,225851433688,1548008755889,10610209857690,72723460248106,498454011879227,3416454622906668,... |
include/hardware.asm | ZoomTen/rc4-gameboy | 0 | 13585 | <reponame>ZoomTen/rc4-gameboy<gh_stars>0
; ===========================================================================
; GAMEBOY HARDWARE CONSTANTS
; From http://nocash.emubase.de/pandocs.htm
; ===========================================================================
; ===============================================... |
programs/oeis/132/A132295.asm | karttu/loda | 0 | 101547 | ; A132295: Sum of the nonsquare numbers not larger than n.
; 0,2,5,5,10,16,23,31,31,41,52,64,77,91,106,106,123,141,160,180,201,223,246,270,270,296,323,351,380,410,441,473,506,540,575,575,612,650,689,729,770,812,855,899,944,990,1037,1085,1085,1135,1186,1238,1291,1345
mov $6,$0
mov $7,$0
lpb $6,1
mov $0,$7
sub $6,1
... |
test/interaction/Issue639.agda | shlevy/agda | 1,989 | 4376 | <filename>test/interaction/Issue639.agda
module Issue639 where
postulate A : Set
|
oeis/186/A186245.asm | neoneye/loda-programs | 11 | 90737 | <reponame>neoneye/loda-programs
; A186245: a(n) = binomial(n^2, 2*n).
; 1,84,12870,3268760,1251677700,675248872536,488526937079580,456703981505085600,535983370403809682970,771629762387959506903300,1337261858854117218288723600,2746379593275133584459064976784,6596095888094645606758451183394760,183177460842641699677296254... |
programs/oeis/194/A194272.asm | karttu/loda | 1 | 10613 | ; A194272: Array T(n,k) with 6 columns read by rows in which row n lists 3*n-2, 3*n-1, 3*n, 3*n, 3*n, 3*n.
; 1,2,3,3,3,3,4,5,6,6,6,6,7,8,9,9,9,9,10,11,12,12,12,12,13,14,15,15,15,15,16,17,18,18,18,18,19,20,21,21,21,21,22,23,24,24,24,24,25,26,27,27,27,27,28,29,30,30,30,30,31,32,33,33,33,33,34,35,36,36,36,36,37,38,39,39,3... |
ada_lists/src/lists-vectors.adb | gerr135/ada_gems | 6 | 29169 | -- with Ada.Text_IO; use Ada.Text_IO;
package body Lists.Vectors is
overriding
function Element_Constant_Reference (Container : aliased in List; Index : Index_Type) return Constant_Reference_Type is
VCR : ACV.Constant_Reference_Type := ACV.Vector(Container).Constant_Reference(Index);
CR : Cons... |
src/generated/tileset_render_h.ads | csb6/libtcod-ada | 0 | 16941 | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
limited with tileset_h;
limited with console_h;
with System;
with error_h;
package tileset_render_h is
-- BSD 3-Clause License
-- *
-- * Copyright © 2008-2021, Jice and the libtcod contributors.
-- * All rights reserved.
-- *
... |
scripts/ec2.scpt | franz1981/mqperf | 95 | 4273 | <reponame>franz1981/mqperf<filename>scripts/ec2.scpt
#!/usr/bin/osascript
on run argv
if application "iTerm" is running then
tell application "iTerm"
tell application "System Events" to keystroke "t" using command down
tell current tab of current window
select
tell current session
split horizontally... |
tools.adb | gonma95/RealTimeSystem_CarDistrations | 0 | 12818 |
with Kernel.Serial_Output; use Kernel.Serial_Output;
with Ada.Real_Time; use Ada.Real_Time;
--use type Ada.Real_Time.Time_Span;
--with System; use System;
with Workload;
--with Kernel.Peripherals; use Kernel.Peripherals;
--use type Kernel.Peripherals.UART_Channel;
package body tools is
-----------------... |
bb-runtimes/examples/monitor/common/console.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 23026 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- ... |
unused/develop/obj/background_0_map.asm | pau-tomas/gbvm | 33 | 87994 | <gh_stars>10-100
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.4 #12246 (Mac OS X x86_64)
;--------------------------------------------------------
.module background_0_map
.optsdcc -mgbz80
;-----------------------------------------... |
firmware/coreboot/3rdparty/libhwbase/ada/posix/hw-file.adb | fabiojna02/OpenCellular | 1 | 18533 | --
-- Copyright (C) 2017 <NAME> <<EMAIL>>
--
-- This program 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 2 of the License, or
-- (at your option) any later version.
--
-- This program is d... |
Numeral/Finite/Category.agda | Lolirofle/stuff-in-agda | 6 | 383 | <gh_stars>1-10
module Numeral.Finite.Category where
open import Functional
import Lvl
open import Numeral.Finite
open import Numeral.Natural
open import Type
open import Syntax.Function
-- Equality category on the type of finite natural numbers.
module _ where
open import Relator.Equals
open import Relator.E... |
programs/oeis/302/A302048.asm | neoneye/loda | 22 | 92683 | ; A302048: a(n) = 1 if n = p^2 for some prime p, otherwise 0. Characteristic function of squares of primes (A001248).
; 0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
... |
Graphics/Image/Tools.asm | jaredwhitney/os3 | 5 | 23407 | <reponame>jaredwhitney/os3<gh_stars>1-10
Image.copy : ; eax = source, ebx = dest, cx = width, dx = height
pusha
push dword [bstor]
mov [bstor], ebx
Image.wupdate.loop0 :
push cx
Image.wupdate.loop1 :
push eax
mov eax, [eax]
;cmp byte [Image_checkChange], 0xFF
; jne Image.wupdate.nobother
;t... |
arch/ARM/cortex_m/src/cache/cortex_m-cache.adb | adnio/Ada_Drivers_Library | 2 | 24487 |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- --
-- ... |
src/bayes_functions_h.ads | JeremyGrosser/arm_cmsis_dsp | 0 | 613 | pragma Ada_2012;
pragma Style_Checks (Off);
pragma Warnings ("U");
with Interfaces.C; use Interfaces.C;
with sys_ustdint_h;
with arm_math_types_h;
package bayes_functions_h is
type arm_gaussian_naive_bayes_instance_f32 is record
vectorDimension : aliased sys_ustdint_h.uint32_t; -- ../CMSIS_5/CMSIS/DSP/Incl... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-nbnbin__gmp.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 14120 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
Numbers/Modulo/Addition.agda | Smaug123/agdaproofs | 4 | 12328 | <filename>Numbers/Modulo/Addition.agda
{-# OPTIONS --safe --warning=error --without-K #-}
-- These are explicitly with-K, because we currently encode an element of Zn as
-- a natural together with a proof that it is small.
open import LogicalFormulae
open import Numbers.Naturals.Semiring
open import Numbers.Naturals.O... |
libsrc/_DEVELOPMENT/adt/w_vector/c/sccz80/w_vector_clear.asm | teknoplop/z88dk | 8 | 246177 |
; void w_vector_clear(w_vector_t *v)
SECTION code_clib
SECTION code_adt_w_vector
PUBLIC w_vector_clear
EXTERN asm_w_vector_clear
defc w_vector_clear = asm_w_vector_clear
|
programs/oeis/017/A017017.asm | neoneye/loda | 22 | 167681 | ; A017017: a(n) = 7n+3.
; 3,10,17,24,31,38,45,52,59,66,73,80,87,94,101,108,115,122,129,136,143,150,157,164,171,178,185,192,199,206,213,220,227,234,241,248,255,262,269,276,283,290,297,304,311,318,325,332,339,346,353,360,367,374,381,388,395,402,409,416,423,430,437,444,451,458,465,472,479,486,493,500,507,514,521,528,535,5... |
programs/oeis/235/A235700.asm | neoneye/loda | 22 | 173582 | ; A235700: a(n+1) = a(n) + (a(n) mod 5), a(1)=1.
; 1,2,4,8,11,12,14,18,21,22,24,28,31,32,34,38,41,42,44,48,51,52,54,58,61,62,64,68,71,72,74,78,81,82,84,88,91,92,94,98,101,102,104,108,111,112,114,118,121,122,124,128,131,132,134,138,141,142,144,148,151,152,154,158,161,162,164,168,171,172,174,178,181,182,184,188,191
mov ... |
alloy4fun_models/trainstlt/models/4/JshM6adtqt7jw8u2H.als | Kaixi26/org.alloytools.alloy | 0 | 765 | open main
pred idJshM6adtqt7jw8u2H_prop5 {
always all t: Train | no t.pos & Exit implies t.pos' in t.pos + t.pos.prox
}
pred __repair { idJshM6adtqt7jw8u2H_prop5 }
check __repair { idJshM6adtqt7jw8u2H_prop5 <=> prop5o } |
SLIDE_Keys04.asm | XlogicX/CactusCon2017 | 2 | 96933 | <reponame>XlogicX/CactusCon2017<gh_stars>1-10
%include 'textmode.h'
call draw_border
mov di, 160 * 2 + 8 ;where to place cursor
mov si, line01 ;fetch the text
mov ah, 0x0A ;color
call slide_line
mov di, 160 * 4 + 16 ;where to place cursor
mov si, line02 ;fetch the text
mov ah, 0x0E ;color
call slide_l... |
tests/src/main_buffer.adb | skade/bbqueue-spark | 8 | 14514 | <reponame>skade/bbqueue-spark
with Ada.Text_IO; use Ada.Text_IO;
with System.Storage_Elements; use System.Storage_Elements;
with BBqueue;
with BBqueue.Buffers;
with System; use System;
procedure Main_Buffer
with SPARK_Mode
is
use type BBqueue.Result_Kind;
Q : aliased BBqueue.Buffers.Buffer (35);
procedure ... |
oeis/346/A346688.asm | neoneye/loda-programs | 11 | 20317 | <reponame>neoneye/loda-programs<filename>oeis/346/A346688.asm
; A346688: Replace 4^k with (-1)^k in base-4 expansion of n.
; Submitted by <NAME>
; 0,1,2,3,-1,0,1,2,-2,-1,0,1,-3,-2,-1,0,1,2,3,4,0,1,2,3,-1,0,1,2,-2,-1,0,1,2,3,4,5,1,2,3,4,0,1,2,3,-1,0,1,2,3,4,5,6,2,3,4,5,1,2,3,4,0,1,2,3,-1,0,1,2,-2,-1,0,1,-3,-2,-1,0,-4,-3... |
libsrc/_DEVELOPMENT/math/float/math16/c/sdcc/cm16_sdcc___h2sint_callee.asm | Frodevan/z88dk | 640 | 5437 |
SECTION code_fp_math16
PUBLIC cm16_sdcc___h2sint_callee
PUBLIC cm16_sdcc___h2schar_callee
PUBLIC cm16_sdcc___h2sint_fastcall
PUBLIC cm16_sdcc___h2schar_fastcall
EXTERN cm16_sdcc_read1_callee
EXTERN asm_f24_f16
EXTERN asm_i16_f24
.cm16_sdcc___h2sint_callee
.cm16_sdcc___h2schar_callee
call cm16_sdcc_read1_callee... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_scil.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 25818 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
alloy4fun_models/trashltl/models/4/opML5jHZNxnCGXEg6.als | Kaixi26/org.alloytools.alloy | 0 | 4135 | open main
pred idopML5jHZNxnCGXEg6_prop5 {
eventually some f:File | f not in File
}
pred __repair { idopML5jHZNxnCGXEg6_prop5 }
check __repair { idopML5jHZNxnCGXEg6_prop5 <=> prop5o } |
applet/aide/source/palettes/aide-palette-of_exceptions_subpackages.adb | charlie5/aIDE | 3 | 12935 | <filename>applet/aide/source/palettes/aide-palette-of_exceptions_subpackages.adb
-- with Ada.Text_IO; use Ada.Text_IO;
with Glib; use Glib;
with Glib.Error; use Glib.Error;
with Glib.Object; use Glib.Object;
with Gtk.Box; use Gtk.Box;
with Gtk.Builder; ... |
samples/encrypt.adb | RREE/ada-util | 60 | 19802 | <filename>samples/encrypt.adb
-----------------------------------------------------------------------
-- encrypt -- Encrypt file using Util.Streams.AES
-- Copyright (C) 2019, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use th... |
oeis/127/A127367.asm | neoneye/loda-programs | 11 | 160933 | <reponame>neoneye/loda-programs
; A127367: Inverse permutation to A127366.
; Submitted by <NAME>
; 0,2,1,5,3,7,4,10,6,12,8,14,9,17,11,19,13,21,15,23,16,26,18,28,20,30,22,32,24,34,25,37,27,39,29,41,31,43,33,45,35,47,36,50,38,52,40,54,42,56,44,58,46,60,48,62,49,65,51,67,53,69,55,71,57,73,59,75,61,77,63,79,64,82,66,84,68,... |
test/Succeed/Issue3776.agda | shlevy/agda | 1,989 | 3155 | <filename>test/Succeed/Issue3776.agda
{-# OPTIONS --allow-unsolved-metas #-}
open import Agda.Builtin.Unit
open import Agda.Builtin.Equality
data Unit : Set where unit : Unit
A : Unit → Set
A unit = ⊤
postulate
a b : (u : Unit) → A u
mutual
_X : Unit
_X = {!unit!}
test : a _X ≡ b _X
test = refl
|
driver_scripts/safari_navigation.scpt | eti-p-doray/chrome_safari_power | 0 | 1739 | <reponame>eti-p-doray/chrome_safari_power
tell application "Safari"
-- If Safari is already started then just bring
-- it to the forefront otherwise open it.
if it is running then
reopen
else
activate
reopen
end if
if it is running then
activate
set w to first wi... |
alloy4fun_models/trashltl/models/10/bm6b83yckqd2pafKA.als | Kaixi26/org.alloytools.alloy | 0 | 2157 | open main
pred idbm6b83yckqd2pafKA_prop11 {
always all f:File | f in Protected'
}
pred __repair { idbm6b83yckqd2pafKA_prop11 }
check __repair { idbm6b83yckqd2pafKA_prop11 <=> prop11o } |
procs2.adb | MatrixMike/AdaDemo1 | 1 | 11993 | <reponame>MatrixMike/AdaDemo1<filename>procs2.adb<gh_stars>1-10
with Ada.Text_IO;
use Ada.Text_IO;
procedure procs2 is
procedure forLoop --
is --(vari :Natural) is
begin
for i in 1..10 loop
Put_Line ("Iteration: ");
--Put(i);
-- Ada.Text_IO.Put_Line;
end loop;
-- Put_Line(vari);
-- Var... |
programs/oeis/326/A326657.asm | jmorken/loda | 1 | 91450 | <reponame>jmorken/loda
; A326657: a(n) = 4*floor(n/2) + ceiling((n-1)^2/2).
; 1,0,5,6,13,16,25,30,41,48,61,70,85,96,113,126,145,160,181,198,221,240,265,286,313,336,365,390,421,448,481,510,545,576,613,646,685,720,761,798,841,880,925,966,1013,1056,1105,1150,1201,1248,1301,1350,1405,1456,1513,1566,1625,1680,1741,1798,1861... |
libtool/src/gmp-6.1.2/mpn/x86_64/k8/mulmid_basecase.asm | kroggen/aergo | 1,602 | 15601 | <reponame>kroggen/aergo
dnl AMD64 mpn_mulmid_basecase
dnl Contributed by <NAME>.
dnl Copyright 2011, 2012 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl *... |
test-lib/src/Test.agda | phile314/agda-build | 0 | 12 | <reponame>phile314/agda-build<gh_stars>0
module Test where
open import Agda.Primitive
f : Level -> Level
f x = x
|
programs/oeis/118/A118512.asm | neoneye/loda | 22 | 83338 | <reponame>neoneye/loda<gh_stars>10-100
; A118512: Define sequence S_m by: initial term = m, reverse digits and add 1 to get next term. Entry shows S_11. This reaches a cycle of length 9 in 18 steps.
; 11,12,22,23,33,34,44,45,55,56,66,67,77,78,88,89,99,100,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,2,3,4,5,6,7,8,9,10,2,3,4,5... |
src/asf-components-widgets-likes.ads | Letractively/ada-asf | 0 | 21329 | -----------------------------------------------------------------------
-- components-widgets-likes -- Social Likes Components
-- 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 with the... |
date/timezone.applescript | adriannier/applescript-functions | 7 | 3114 | return timezone()
on timezone()
(* Returns the system’s current timezone as tz database name *)
tell (do shell script "/usr/bin/readlink /etc/localtime")
tell contents
return word -2 & "/" & word -1
end tell
end tell
end timezone |
_maps/obj14.asm | NatsumiFox/AMPS-Sonic-1-2005 | 2 | 177867 | ; ---------------------------------------------------------------------------
; Sprite mappings - lava balls (MZ, SLZ)
; ---------------------------------------------------------------------------
dc.w byte_B37A-Map_obj14
dc.w byte_B380-Map_obj14
dc.w byte_B386-Map_obj14
dc.w byte_B38C-Map_obj14
dc.w byte_B39... |
data/maps/headers/RockTunnel1F.asm | opiter09/ASM-Machina | 1 | 165071 | <reponame>opiter09/ASM-Machina<filename>data/maps/headers/RockTunnel1F.asm
map_header RockTunnel1F, ROCK_TUNNEL_1F, CAVERN, 0
end_map_header
|
filtros/smoothing_asm.asm | partu18/edge_detection_algorithm_SIMD | 0 | 160627 | <gh_stars>0
global smoothing_asm
section .data
smooth1: DB 0x2, 0x4, 0x5, 0x4, 0x2, 0x2, 0x4, 0x5, 0x4, 0x2, 0x2, 0x4, 0x5, 0x4, 0x2, 0x0
smooth2: DB 0x4, 0x9, 0xC, 0x9, 0x4, 0x4, 0x9, 0xC, 0x9, 0x4, 0x4, 0x9, 0xC, 0x9, 0x4, 0x0
smooth3: DB 0x5, 0xC, 0xF, 0xC, 0x5, 0x5, 0xC, 0xF, 0xC, 0x5, 0x5, 0xC, 0xF, 0xC, 0x5, 0x... |
oeis/244/A244465.asm | neoneye/loda-programs | 11 | 24637 | ; A244465: Expansion of f(-x^3, -x^5) in powers of x where f() is Ramanujan's two-variable theta function.
; Submitted by <NAME>(s4)
; 1,0,0,-1,0,-1,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0... |
Cubical/Algebra/Magma/Construct/Free.agda | bijan2005/univalent-foundations | 0 | 11595 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
open import Cubical.Core.Everything
open import Cubical.Foundations.HLevels
module Cubical.Algebra.Magma.Construct.Free {ℓ} (Aˢ : hSet ℓ) where
open import Cubical.Foundations.Prelude
open import Cubical.Algebra.Magma
open import Cubical.Data.Empty.Polymorphic
open... |
programs/oeis/017/A017779.asm | neoneye/loda | 22 | 81248 | <gh_stars>10-100
; A017779: Binomial coefficients C(63,n).
; 1,63,1953,39711,595665,7028847,67945521,553270671,3872894697,23667689815,127805525001,615790256823,2668424446233,10468434365991,37387265592825,122131734269895,366395202809685,1012974972473835,2588713818544245,6131164307078475,13488561475572645,276194354023630... |
scripts/spotify-read-info.applescript | epochblue/annoy-a-tron | 63 | 2840 | <reponame>epochblue/annoy-a-tron
#!/usr/bin/env osascript
tell application "Spotify"
set playerState to player state as string
if (playerState is equal to "playing") then
set currentTrack to name of current track as string
set currentArtist to artist of current track as string
pause
... |
src/presets/cm_presets_lowleg.asm | spannerisms/lttphack | 6 | 26870 | ;===================================================================================================
; PRESET DATA HEADER
;===================================================================================================
presetheader_lowleg:
dw presetSRAM_lowleg ; location of SRAM
dw presetpersistent_lowleg ; l... |
antlr4/A2.g4 | davidkellis/pegparser | 15 | 4996 | <gh_stars>10-100
grammar A2;
a : 'a' a | a 'a' | 'a'; |
ch07/32 bit/BinToAsc.asm | William0Friend/my_masm | 0 | 10204 | ; Binary to ASCII (BinToAsc.asm)
; This program converts a 32-bit binary integer to ASCII.
INCLUDE Irvine32.inc
.data
binVal DWORD 1234ABCDh ; sample binary value
buffer BYTE 32 dup(0),0
.code
main PROC
mov eax,binVal ; EAX = binary integer
mov esi,OFFSET buffer ; point to the ... |
src/bintoasc-base16.adb | jhumphry/Ada_BinToAsc | 0 | 12841 | <gh_stars>0
-- BinToAsc.Base16
-- Binary data to ASCII codecs - Base16 codec as in RFC4648
-- Copyright (c) 2015, <NAME> - see LICENSE file for details
with Ada.Characters.Handling;
package body BinToAsc.Base16 is
use Ada.Characters.Handling;
Reverse_Alphabet : constant Reverse_Alphabet_Lookup
:= Make_R... |
concerto_player/concerto_player.asm | biermanncarl/cx16-concerto | 4 | 7138 | ; Copyright 2021 <NAME>
; This file contains the interface to a music player. It plays back linear
; data in RAM using the Concerto synth engine.
; The data format is detailed in "specifications.md".
; If you include this file, you do NOT need to include "concerto_synth.asm"
; BUT you still must include "synth_zerop... |
operating_sys/init.asm | jasper-lov/waterville_os | 0 | 7343 | <reponame>jasper-lov/waterville_os<gh_stars>0
_init: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
char *argv[] = { "sh", 0 };
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc push -0x4(... |
opengl-view.adb | io7m/coreland-opengl-ada | 1 | 251 | <filename>opengl-view.adb
with OpenGL.Thin;
package body OpenGL.View is
--
-- Viewport specification.
--
procedure Depth_Range
(Near : in OpenGL.Types.Clamped_Double_t;
Far : in OpenGL.Types.Clamped_Double_t) is
begin
Thin.Depth_Range
(Near_Value => Thin.Double_t (Near),
Far_Valu... |
scripts/Route11Gate2F.asm | opiter09/ASM-Machina | 1 | 241748 | Route11Gate2F_Script:
jp DisableAutoTextBoxDrawing
Route11Gate2F_TextPointers:
dw Route11GateUpstairsText1
dw Route11GateUpstairsText2
dw Route11GateUpstairsText3
dw Route11GateUpstairsText4
Route11GateUpstairsText1:
text_asm
xor a ; TRADE_FOR_TERRY
ld [wWhichTrade], a
predef DoInGameTradeDialogue
Route11Gat... |
procedures/sum.asm | urandu/assembly-language | 0 | 16184 | section .text
global _start ;must be declared for using gcc
_start: ;tell linker entry point
mov ecx,'4'
sub ecx, '0'
mov edx, '5'
sub edx, '0'
call sum ;call sum procedure
mov [res], eax
mov ecx, msg
mov edx, len
mov ebx,1 ;file desc... |
oeis/139/A139287.asm | neoneye/loda-programs | 11 | 15451 | <filename>oeis/139/A139287.asm
; A139287: 2^(2p - 1) - 1, where p is prime.
; 7,31,511,8191,2097151,33554431,8589934591,137438953471,35184372088831,144115188075855871,2305843009213693951,9444732965739290427391,2417851639229258349412351,38685626227668133590597631,9903520314283042199192993791,4056481920730334084789450257... |
libsrc/_DEVELOPMENT/adt/w_vector/c/sccz80/w_vector_insert.asm | jpoikela/z88dk | 640 | 100417 | <reponame>jpoikela/z88dk<filename>libsrc/_DEVELOPMENT/adt/w_vector/c/sccz80/w_vector_insert.asm
; size_t w_vector_insert(w_vector_t *v, size_t idx, void *item)
SECTION code_clib
SECTION code_adt_w_vector
PUBLIC w_vector_insert
EXTERN asm_w_vector_insert
w_vector_insert:
pop af
pop de
pop bc
pop hl
... |
programs/oeis/241/A241170.asm | karttu/loda | 0 | 98420 | <reponame>karttu/loda<filename>programs/oeis/241/A241170.asm
; A241170: Steffensen's bracket function [n,n-3].
; 6,25,67,145,275,476,770,1182,1740,2475,3421,4615,6097,7910,10100,12716,15810,19437,23655,28525,34111,40480,47702,55850,65000,75231,86625,99267,113245,128650,145576,164120,184382,206465,230475,256521,284715,3... |
libs/Libmy/ASM/src/asm_tolower.asm | DarkyZShadow/my_printf | 0 | 99109 | ;
; char asm_tolower(char c);
;
BITS 64
SECTION .text
GLOBAL asm_tolower
asm_tolower:
CMP DIL, 65 ; 'A' char
JL _end
CMP DIL, 90 ; 'Z' char
JG _end
ADD DIL, 32 ; 'a' - 'A'
_end:
MOVZX RAX, DIL ; Return counter
RET
|
inst/scripts/set-text-item.applescript | gaborcsardi/keynote | 27 | 3144 |
on run argv
tell document id (item 1 of argv) of application "Keynote"
tell slide (item 2 of argv as number)
set what to (item 3 of argv)
if (what = "default title item") then
set the object text of the default title item to (item 4 of argv)
else if (what ... |
oeis/021/A021727.asm | neoneye/loda-programs | 11 | 90858 | ; A021727: Decimal expansion of 1/723.
; Submitted by <NAME>(s4.)
; 0,0,1,3,8,3,1,2,5,8,6,4,4,5,3,6,6,5,2,8,3,5,4,0,8,0,2,2,1,3,0,0,1,3,8,3,1,2,5,8,6,4,4,5,3,6,6,5,2,8,3,5,4,0,8,0,2,2,1,3,0,0,1,3,8,3,1,2,5,8,6,4,4,5,3,6,6,5,2,8,3,5,4,0,8,0,2,2,1,3,0,0,1,3,8,3,1,2,5
add $0,1
mov $2,10
pow $2,$0
mov $0,$2
div $0,723
mod... |
Task/Factors-of-an-integer/AppleScript/factors-of-an-integer-1.applescript | LaudateCorpus1/RosettaCodeData | 1 | 2857 | <filename>Task/Factors-of-an-integer/AppleScript/factors-of-an-integer-1.applescript
-- integerFactors :: Int -> [Int]
on integerFactors(n)
if n = 1 then
{1}
else
set realRoot to n ^ (1 / 2)
set intRoot to realRoot as integer
set blnPerfectSquare to intRoot = realRoot
--... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_21829_458.asm | ljhsiun2/medusa | 9 | 172582 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1a37, %r13
clflush (%r13)
nop
nop
cmp $29925, %rbx
movb $0x61, (%r13)
nop
nop
xor $480, %r10
lea addresses_UC_ht+0xb207, %r10
cmp %rbx,... |
projects/04/mult/mult.asm | iamarshsingh/nand2tetris | 0 | 29977 | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by <NAME> Schocken, MIT Press.
// File name: projects/04/Mult.asm
// Multiplies R0 and R1 and stores the result in R2.
// (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.)
// Put your code here.
... |
tools/mgrep-printer.ads | stcarrez/ada-mail | 2 | 6586 | -----------------------------------------------------------------------
-- mgrep-printer -- Print mail grep results
-- Copyright (C) 2020 <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.
-... |
Src/Ant8/Tests/aa8/basic/05_mul_1.asm | geoffthorpe/ant-architecture | 0 | 11841 | <reponame>geoffthorpe/ant-architecture
# $Id: 05_mul_1.asm,v 1.3 2001/03/22 00:38:59 ellard Exp $
#
# Copyright 1999-2001 by the President and Fellows of Harvard College.
# See LICENSE.txt for license information.
#
#@ tests mul
# OK
lc r2, -100
lc r3, 100
mul r4, r2, r3
add r5, r1, r0
mul r6, r3, r2
add r7, r... |
src/monad-instances.agda | xoltar/cedille | 0 | 11384 | <filename>src/monad-instances.agda
module monad-instances where
open import lib
open import general-util
instance
IO-monad : monad IO
IO-monad = record {returnM = return; bindM = _>>=_}
instance
id-monad : monad id
id-monad = record {returnM = id; bindM = λ a f → f a}
|
simd/x86_64/jquanti-avx2.asm | Nusantara-ROM/android_external_libjpeg-turbo | 3,710 | 85609 | ;
; jquanti.asm - sample data conversion and quantization (64-bit AVX2)
;
; Copyright 2009 <NAME> <<EMAIL>> for Cendio AB
; Copyright (C) 2009, 2016, 2018, <NAME>.
; Copyright (C) 2016, <NAME>.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distr... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/boolean_expr1.ads | best08618/asylo | 7 | 13668 | package Boolean_Expr1 is
function S (V : in Long_Float) return String;
end Boolean_Expr1;
|
src/main.adb | reznikmm/mount_photos | 1 | 2212 | -- Copyright (c) 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Text_IO;
with Ada.Wide_Wide_Text_IO;
with AWS.Client;
with AWS.Messages;
with AWS.Response;
with AWS.URL;
with AWS.Headers;
with League.Appl... |
include/bits_types_time_t_h.ads | docandrew/troodon | 5 | 10347 | <gh_stars>1-10
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with bits_types_h;
package bits_types_time_t_h is
-- Returned by `time'.
subtype time_t is bits_types_h.uu_time_t; -- /usr/include/bits/types/time_t.h:7
end bits_types_time_t_h;
|
Agda/univalent-hott/encode-decode.agda | hemangandhi/HoTT-Intro | 0 | 11858 | {-# OPTIONS --without-K --exact-split #-}
module encode-decode where
import 05-identity-types
open 05-identity-types public
record Lift {i j : Level} (A : UU i) : UU (i ⊔ j) where
field
raise : A
module Coprod where
code-left : {i j : Level} {A : UU i} {B : UU j} → A → (coprod A B) → (UU i)
code-left a₀ (... |
awa/samples/src/model/atlas-reviews-models.ads | Letractively/ada-awa | 0 | 10528 | -----------------------------------------------------------------------
-- Atlas.Reviews.Models -- Atlas.Reviews.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-spec.xhtml
-- Ada Generator: https://ad... |
kv-avm-routers.ads | davidkristola/vole | 4 | 13311 | with Ada.Containers.Doubly_Linked_Lists;
with Interfaces;
with kv.Ref_Counting_Mixin;
with kv.avm.Control;
with kv.avm.Messages;
with kv.avm.Executables;
with kv.avm.Actor_References;
with kv.avm.Tuples;
with kv.avm.Actor_References.Sets;
with kv.avm.Affiliates;
package kv.avm.Routers is
type Router_Type is tagge... |
ch2/hello_world.asm | abhinav-upadhyay/low_level_programming | 0 | 166703 | <gh_stars>0
global _start
section .data
message: db 'hello, world', 10
section .text
_start:
mov rax, 1
mov rdi, 1
mov rsi, message
mov rdx, 14
syscall
mov rax, 60
xor rdi, rdi
syscall
|
source/nodes/program-nodes-unconstrained_array_types.ads | optikos/oasis | 0 | 17023 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Elements.Component_Definitions;
with Program.Elements.Unconstrained_Arra... |
oeis/036/A036085.asm | neoneye/loda-programs | 11 | 15699 | ; A036085: Centered cube numbers: (n+1)^7 + n^7.
; 1,129,2315,18571,94509,358061,1103479,2920695,6880121,14782969,29487171,55318979,98580325,168162021,276272879,439294831,678774129,1022558705,1506091771,2173871739,3081088541,4295446429,5899183335,7991296871,10689987049,14135325801,18492163379,23953281715,30742804821,39... |
src/base/events/util-events-channels.adb | RREE/ada-util | 60 | 1347 | -----------------------------------------------------------------------
-- util-events-channel -- Event Channels
-- Copyright (C) 2001, 2002, 2003, 2009, 2010, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in com... |
Working Disassembly/General/Sprites/Shields/Map - Invincibility.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 0 | 240849 | dc.w word_18AFC-Map_Invincibility
dc.w word_18AFE-Map_Invincibility
dc.w word_18B06-Map_Invincibility
dc.w word_18B0E-Map_Invincibility
dc.w word_18B16-Map_Invincibility
dc.w word_18B1E-Map_Invincibility
dc.w word_18B26-Map_Invincibility
dc.w word_18B2E-Map_Invincibility
dc.w word_18B36-Map_Invincibil... |
egghunter.nasm | danf42/sigaction_egghunter | 0 | 101666 | global _start
section .text
_start:
cld ; clear the direction flag
IncPage:
or cx, 0xfff ; Align page address
IncAddr:
inc ecx ; Go to next address
push byte 0x43 ; syscall for sigaction()
pop eax
int 0x80 ; call sigaction(... |
oeis/138/A138269.asm | neoneye/loda-programs | 11 | 969 | <filename>oeis/138/A138269.asm
; A138269: a(n+1) is the Hankel transform of C(n)+C(n+2), where C(n)=A000108(n).
; Submitted by <NAME>
; 1,3,12,53,231,1000,4329,18747,81188,351597,1522639,6594000,28556241,123666803,535556412,2319302053,10044062391,43497219000,188370799289,815766130347,3532789487188,15299239691997
lpb $... |
oeis/227/A227438.asm | neoneye/loda-programs | 11 | 179677 | <reponame>neoneye/loda-programs
; A227438: Number of n X 2 0,1 arrays indicating 2 X 2 subblocks of some larger (n+1) X 3 binary array having two adjacent 1's and two adjacent 0's.
; Submitted by <NAME>
; 4,16,62,240,932,3620,14056,54576,211912,822832,3194960,12405648,48169664,187037120,726243040,2819915904,10949400256... |
src/text.asm | Amjad50/rtc3test | 19 | 81016 | PassFailResult:
; loads a PASS/FAIL result based on carry (and preserves carry)
push af
ld hl, PassString
jr nc, .ok
ld hl, FailString
.ok
ld de, hTestResult
rst Print
ld a, "@"
ld [de], a
pop af
ret
PassString:
db "PASS@"
FailString:
db "FAIL@"
FailedRegistersResult:
; in: a: bit pattern indicating fa... |
intellij/src/midmod/pal/antlr4/Pal.g4 | jakobehmsen/midmod | 0 | 6908 | /*
Pal: Pattern Action Language
*/
grammar Pal;
script: scriptElement*;
scriptElement: defineNameAndParams | define | action;
defineNameAndParams: name=ID OPEN_PAR (pattern (COMMA pattern)*)? CLOSE_PAR EQUALS action;
define: (name=ID EQUALS)? pattern EQUALS_GREATER action;
pattern: pattern1 (repeatPattern=ELLIPSIS)? ... |
programs/oeis/179/A179298.asm | neoneye/loda | 22 | 7986 | ; A179298: a(n)=n^3-(n-1)^3-(n-2)^3-...-1.
; 1,7,18,28,25,-9,-98,-272,-567,-1025,-1694,-2628,-3887,-5537,-7650,-10304,-13583,-17577,-22382,-28100,-34839,-42713,-51842,-62352,-74375,-88049,-103518,-120932,-140447,-162225,-186434,-213248,-242847,-275417
mov $1,$0
bin $0,2
mov $4,$1
mov $1,50
mov $3,$0
sub $3,3
lpb $1
... |
Library/Kernel/Graphics/graphicsBitmapString.asm | steakknife/pcgeos | 504 | 174732 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: KLib Graphics
FILE: graphicsBitmapString.asm
AUTHOR: <NAME>, 5 April 1990
ROUTINES:
Name Description
---- -----------
... |
src/pygamer.ads | Fabien-Chouteau/pygamer-simulator | 1 | 14202 | <gh_stars>1-10
private with sf.Graphics;
private with sf.Graphics.Image;
private with Sf;
private with HAL;
package PyGamer is
pragma Elaborate_Body;
private
Screen_Width : constant := 160;
Screen_Height : constant := 128;
Frame_Buffer : array (0 .. (Screen_Width * Screen_Height * 4) - 1) of
aliase... |
ordinary/predictor_2_demo_2.adb | jscparker/math_packages | 30 | 4322 |
with Predictor_2;
with Text_IO; use Text_IO;
with Orbit_2;
procedure predictor_2_demo_2 is
type Real is digits 15;
package One_Electron_Atom is new Orbit_2 (Real);
use One_Electron_Atom;
package Orb_Integrate is new
Predictor_2 (Real, Dyn_Index, Dynamical_Variable, F, "*", "+", "-");
use Orb_... |
software/minol/source/commands/if.asm | paulscottrobson/retrochallenge-jan-2016 | 0 | 14004 | <filename>software/minol/source/commands/if.asm
; ****************************************************************************************************************
; ****************************************************************************************************************
;
; IF command
;
; ***********... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.