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 |
|---|---|---|---|---|
programs/oeis/186/A186289.asm | neoneye/loda | 22 | 178218 | ; A186289: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f and g are the squares and pentagonal numbers. Complement of A186289.
; 2,4,6,8,10,13,15,17,19,22,24,26,28,30,33,35,37,39,42,44,46,48,50,53,55,57,59,62,64,66,68,70,73,75,77,79,82,84,86,88,91,93,95,97,99,102,104,10... |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_231_1821.asm | ljhsiun2/medusa | 9 | 15900 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xeff2, %r8
nop
nop
nop
nop
xor %rbp, %rbp
mov (%r8), %r9w
nop
nop
nop
nop
sub $53122, %rdi
lea addresses_WT_ht+0x4742, %r8
nop
nop
nop
nop
nop
and $35318, %rsi
mov $0x616263646... |
programs/oeis/317/A317408.asm | neoneye/loda | 22 | 244134 | <gh_stars>10-100
; A317408: a(n) = n * Fibonacci(2n).
; 0,1,6,24,84,275,864,2639,7896,23256,67650,194821,556416,1578109,4449354,12480600,34852944,96949079,268746336,742675211,2046683100,5626200216,15430992126,42235173769,115380647424,314656725625,856733282574,2329224424344,6323840144076,17147315166491,46440262677600,12... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca_notsx.log_12_1347.asm | ljhsiun2/medusa | 9 | 9391 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %r15
push %r8
push %r9
push %rax
push %rbx
push %rdi
// Load
mov $0x927, %r8
nop
and %rdi, %rdi
mov (%r8), %bx
nop
nop
nop
nop
cmp %r9, %r9
// Store
mov $0x267, %r15
nop
cm... |
oeis/049/A049069.asm | neoneye/loda-programs | 11 | 244173 | <filename>oeis/049/A049069.asm
; A049069: Array T read by antidiagonals: T(k,n) = k*n*2^(n-1) + 1, n >= 0, k >= 1.
; Submitted by Jon Maiga
; 1,1,2,1,3,5,1,4,9,13,1,5,13,25,33,1,6,17,37,65,81,1,7,21,49,97,161,193,1,8,25,61,129,241,385,449,1,9,29,73,161,321,577,897,1025,1,10,33,85,193,401,769,1345,2049,2305,1,11,37,97,2... |
.emacs.d/elpa/ada-mode-7.1.4/gpr_re2c_c.ads | caqg/linux-home | 0 | 12624 | <reponame>caqg/linux-home
-- generated parser support file.
-- command line: wisitoken-bnf-generate.exe --generate LR1 Ada_Emacs re2c PROCESS gpr.wy
--
-- Copyright (C) 2013 - 2020 Free Software Foundation, Inc.
-- This program is free software; you can redistribute it and/or
-- modify it under the terms of the... |
src/riscv32/agate-arch-riscv.ads | Fabien-Chouteau/AGATE | 3 | 29277 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018, <NAME> --
-- --
-- Redistrib... |
arguments.asm | thursilverio/yasm_assembly_linux | 0 | 173210 | ; Author: <NAME>
; Data: 11 / 02 / 2021
; Compile with: yasm -f elf32 -o arguments.o arguments.asm
; Link with: ld -m elf_i386 arguments.o -o arguments
; Execute as: ./arguments "Hello, my name is Arthur" "大家好,我叫宋致" "Здравствуйте, меня зовут Артур"
%include 'string_include.asm'
global _start
section .text
_start:
... |
programs/oeis/025/A025793.asm | neoneye/loda | 22 | 6054 | ; A025793: Expansion of 1/((1-x)(1-x^10)(1-x^11)).
; 1,1,1,1,1,1,1,1,1,1,2,3,3,3,3,3,3,3,3,3,4,5,6,6,6,6,6,6,6,6,7,8,9,10,10,10,10,10,10,10,11,12,13,14,15,15,15,15,15,15,16,17,18,19,20,21,21,21,21,21,22,23,24,25,26
mov $2,$0
add $2,1
mov $5,$0
lpb $2
mov $0,$5
sub $2,1
sub $0,$2
mov $4,3
lpb $0
div $0,10... |
src/caches-tests.ads | HeisenbugLtd/cache-sim | 0 | 6864 | ------------------------------------------------------------------------------
-- Copyright (C) 2012-2020 by Heisenbug Ltd.
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Hocevar. See the LICE... |
source/newBibTeX2.applescript | II-H/bookends-tools | 76 | 3171 | set originalT to (time of (current date))
set groupName to "Last 100"
set outFile to ((path to desktop from user domain) as string) & "Biblio.bib"
-- tell application "Bookends"
-- tell front library window
-- ignoring case
-- if groupName is equal to "all" then
-- set myGroup to group all
-- set pubsLis... |
g-decstr.ads | ytomino/gnat4drake | 0 | 6729 | pragma License (Unrestricted);
with System.WCh_Con;
generic
Encoding_Method : System.WCh_Con.WC_Encoding_Method;
package GNAT.Decode_String is
pragma Pure;
procedure Decode_Wide_Character (
Input : String;
Ptr : in out Natural;
Result : out Wide_Character);
procedure Decode_Wide_Wide_Cha... |
oeis/034/A034381.asm | neoneye/loda-programs | 11 | 178283 | <reponame>neoneye/loda-programs
; A034381: Number of labeled cyclic groups.
; Submitted by <NAME>
; 1,2,3,12,30,360,840,10080,60480,907200,3991680,119750400,518918400,14529715200,163459296000,2615348736000,22230464256000,1067062284288000,6758061133824000,304112751022080000
mov $3,$0
seq $0,58161 ; Number of labeled cy... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43205d.ada | best08618/asylo | 7 | 10185 | <reponame>best08618/asylo<gh_stars>1-10
-- C43205D.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 docume... |
libsrc/stdio/ansi/vg5k/f_ansi_scrollup.asm | meesokim/z88dk | 0 | 160795 | ;
; ANSI Video handling for the Philips VG-5000
;
; Handles colors
;
; Scrollup
;
; <NAME> - 2014
;
; $Id: f_ansi_scrollup.asm,v 1.2 2015/01/19 01:33:19 pauloscustodio Exp $
;
PUBLIC ansi_SCROLLUP
EXTERN aquarius_attr
.ansi_SCROLLUP
ret
|
Task/Primality-by-trial-division/Ada/primality-by-trial-division-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 10710 | with Prime_Numbers;
procedure Test_Prime is
package Integer_Numbers is new
Prime_Numbers (Natural, 0, 1, 2);
use Integer_Numbers;
begin
if Is_Prime(12) or (not Is_Prime(13)) then
raise Program_Error with "Test_Prime failed!";
end if;
end Test_Prime;
|
Lens Exif - 35mm - Leica Leitz Wetzlar Summaron 35mm f2.8.scpt | subotic/lens-exif-scripts | 3 | 2830 | <filename>Lens Exif - 35mm - Leica Leitz Wetzlar Summaron 35mm f2.8.scpt
set lens to "<NAME>lar Summaron 35mm f2.8"
set focalLength to "35 mm"
set defaultAperture to 2.8
set maxAperture to 2.8
set theRespondedAperture to the text returned of ¬
(display dialog ¬
"What's the aperture value?" default answer defaultApe... |
programs/oeis/284/A284678.asm | karttu/loda | 0 | 244740 | <reponame>karttu/loda
; A284678: Positions of 0 in A284677; complement of A284679.
; 2,6,10,14,19,23,27,32,36,40,45,49,53,57,62,66,70,75,79,83,88,92,96,100,105,109,113,118,122,126,131,135,139,143,148,152,156,161,165,169,174,178,182,187,191,195,199,204,208,212,217,221,225,230,234,238,242,247,251,255,260,264,268,273,277,... |
programs/oeis/087/A087323.asm | karttu/loda | 0 | 17060 | <filename>programs/oeis/087/A087323.asm
; A087323: a(n) = (n+1) * 2^n - 1.
; 0,3,11,31,79,191,447,1023,2303,5119,11263,24575,53247,114687,245759,524287,1114111,2359295,4980735,10485759,22020095,46137343,96468991,201326591,419430399,872415231,1811939327,3758096383,7784628223,16106127359,33285996543,68719476735,141733920... |
Lab-5/Q1.asm | Kaiser784/CO-lab-Submissions | 3 | 162614 | global _start
section .text
;<======= Printing an integer =========>
print_integer:
mov ebx, 10
div ebx ;dividing the number in eax to get remainder
add edx, '0' ;converting the remainder to ascii
push edx ;pushing the remainder to stack
xor... |
src/horizontalScroller.asm | JohnHoder/vicious_dll_injector | 2 | 81350 | <gh_stars>1-10
; =====================================================
; Vicious DLL Injector, ver.1.0
; © <NAME> (HardC0re, JohnHoder), 2015-2017
; =====================================================
; Horizontal scroller
.const
;================================ scroll horizontal==========================... |
alloy4fun_models/trashltl/models/7/ST3gjdSJpSmzsowir.als | Kaixi26/org.alloytools.alloy | 0 | 4381 | <gh_stars>0
open main
pred idST3gjdSJpSmzsowir_prop8 {
eventually all f: File| f.link in Trash
}
pred __repair { idST3gjdSJpSmzsowir_prop8 }
check __repair { idST3gjdSJpSmzsowir_prop8 <=> prop8o } |
Application Services/AppLauncher.applescript | rogues-gallery/applescript | 360 | 4469 | <reponame>rogues-gallery/applescript<filename>Application Services/AppLauncher.applescript
(*
## Instructions:
Open Applications
1. Enter the name of the application you would like to launch.
2. Press "Go" or the enter button on your keyboard
3. Be amazed as your application probably launches
Close Applications
1. En... |
programs/oeis/010/A010014.asm | karttu/loda | 1 | 98086 | <filename>programs/oeis/010/A010014.asm<gh_stars>1-10
; A010014: a(0) = 1, a(n) = 24*n^2 + 2 for n>0.
; 1,26,98,218,386,602,866,1178,1538,1946,2402,2906,3458,4058,4706,5402,6146,6938,7778,8666,9602,10586,11618,12698,13826,15002,16226,17498,18818,20186,21602,23066,24578,26138,27746,29402,31106,32858,34658,36506,38402,40... |
ada/core/agar-object.ads | charlesdaniels/libagar | 0 | 27707 | ------------------------------------------------------------------------------
-- AGAR CORE LIBRARY --
-- A G A R . O B J E C T --
-- S p e c --
----... |
programs/oeis/126/A126271.asm | neoneye/loda | 22 | 99837 | <filename>programs/oeis/126/A126271.asm
; A126271: a(n) = order of Galois group of the polynomial P(x) + n if P(x) + n (after dividing by the gcd of its coefficients) is irreducible, otherwise a(n) = 0, where P(x) = 128*x^8 - 256*x^6 + 160*x^4 - 32*x^2 + 1.
; 32,32,16,32,32,32,32,32,32,16,32,32,32,16,32,32,32,32,32,32,... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1557.asm | ljhsiun2/medusa | 9 | 15335 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %rax
push %rbp
push %rbx
push %rdx
lea addresses_A_ht+0x171bb, %r15
nop
nop
nop
nop
nop
xor %r8, %r8
mov (%r15), %eax
nop
nop
nop
nop
and %r13, %r13
lea addresses_A_ht+0x176db, %rdx
xor $33256, %rax
mov $0x6162636465666768, %rbx
movq %rbx, %... |
libsrc/_DEVELOPMENT/arch/sms/misc/c/sccz80/sms_scroll_wc_up.asm | jpoikela/z88dk | 640 | 2780 | ; void sms_scroll_wc_up(struct r_Rect8 *r, uchar rows, uint bgnd_char)
SECTION code_clib
SECTION code_arch
PUBLIC sms_scroll_wc_up
EXTERN asm_sms_scroll_wc_up
sms_scroll_wc_up:
pop af
pop hl
pop de
pop ix
push hl
push de
push hl
push af
jp asm_sms_scroll_wc_up
|
programs/oeis/047/A047441.asm | karttu/loda | 1 | 246565 | ; A047441: Numbers that are congruent to {0, 2, 5, 6} mod 8.
; 0,2,5,6,8,10,13,14,16,18,21,22,24,26,29,30,32,34,37,38,40,42,45,46,48,50,53,54,56,58,61,62,64,66,69,70,72,74,77,78,80,82,85,86,88,90,93,94,96,98,101,102,104,106,109,110,112,114,117,118,120,122,125
mov $1,$0
add $0,21
mod $0,4
mul $1,6
add $1,$0
div $1,3
|
programs/oeis/127/A127884.asm | neoneye/loda | 22 | 16654 | ; A127884: a(n) = floor(Fibonacci(n)/n).
; 1,0,0,0,1,1,1,2,3,5,8,12,17,26,40,61,93,143,220,338,521,805,1245,1932,3001,4668,7274,11350,17732,27734,43428,68072,106805,167731,263641,414732,652913,1028636,1621691,2558353,4038540,6378911,10081265,15941107,25220070,39919823,63217341,100156812,158749837,251725380,399313942,63... |
uuu/src/apps/xgs_test/xgs_test.asm | ekscrypto/Unununium | 7 | 81038 | <reponame>ekscrypto/Unununium
; $Header: /cvsroot/uuu/uuu/src/apps/xgs_test/xgs_test.asm,v 1.11 2001/10/26 21:39:22 daboy Exp $
[bits 32]
; -----------------------------------
; options
;===================... |
programs/oeis/158/A158643.asm | karttu/loda | 1 | 8507 | ; A158643: a(n) = 676*n^2 + 26.
; 26,702,2730,6110,10842,16926,24362,33150,43290,54782,67626,81822,97370,114270,132522,152126,173082,195390,219050,244062,270426,298142,327210,357630,389402,422526,457002,492830,530010,568542,608426,649662,692250,736190,781482,828126,876122,925470,976170,1028222,1081626,1136382,1192490,1... |
Appl/GeoFile/DocAsm/docButtn.asm | steakknife/pcgeos | 504 | 13060 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: GeoFile
MODULE: Document
FILE: documentTitledButton.asm
AUTHOR: <NAME>, Dec 3, 1990
REVISION HISTORY:
Name Date Desc... |
Univalence/Obsolete/BimonoidalCategory.agda | JacquesCarette/pi-dual | 14 | 14438 | <reponame>JacquesCarette/pi-dual
{-# OPTIONS --without-K #-}
module BimonoidalCategory where
open import Level
open import Categories.Category
open import Categories.Monoidal
open import Categories.Monoidal.Braided
open import Categories.NaturalIsomorphism
open import Categories.NaturalTransformation using (id; _∘₁_... |
programs/oeis/049/A049651.asm | neoneye/loda | 22 | 97713 | ; A049651: a(n) = (F(3*n+1) - 1)/2, where F=A000045 (the Fibonacci sequence).
; 0,1,6,27,116,493,2090,8855,37512,158905,673134,2851443,12078908,51167077,216747218,918155951,3889371024,16475640049,69791931222,295643364939,1252365390980,5305104928861,22472785106426,95196245354567,403257766524696,1708227311453353,72361670... |
src/room_hiscores/room_hiscores.asm | tbsp/Adjustris | 11 | 84733 | <gh_stars>10-100
;******************************************************************************
;*
;* Adjustris - Block dropping puzzle game for Gameboy
;*
;* Written in 2017 by <NAME> (tbsp) <EMAIL>
;*
;* To the extent possible under law, the author(s) have dedicated all copyright
;* and related and neighboring ri... |
programs/oeis/076/A076821.asm | neoneye/loda | 22 | 21395 | ; A076821: Squares of the differences between consecutive primes.
; 1,4,4,16,4,16,4,16,36,4,36,16,4,16,36,36,4,36,16,4,36,16,36,64,16,4,16,4,16,196,16,36,4,100,4,36,36,16,36,36,4,100,4,16,4,144,144,16,4,16,36,4,100,36,36,36,4,36,16,4,100,196,16,4,16,196,36,100,4,16,36,64,36,36,16,36,64,16,64,100,4,100,4,36,16,36,64,16,... |
src/tests/shapedatabasetest.adb | sebsgit/textproc | 0 | 6505 | <filename>src/tests/shapedatabasetest.adb
with AUnit.Assertions; use AUnit.Assertions;
with Ada.Containers; use Ada.Containers;
with Ada.Text_IO;
with Interfaces.C.Strings;
with ImageIO;
with PixelArray;
with ShapeDatabase;
with Morphology;
with ImageFilters;
with ImageRegions;
with ImageThresholds;
with HistogramDesc... |
programs/oeis/069/A069553.asm | karttu/loda | 1 | 174853 | ; A069553: Define S(k) to be the sequence of divisors and multiples of k, e.g. S(1) = 1,2,3,4,5... S(2) = 1,2,4,6,8,10,... S(10) = 1,2,5,10,20,30,40,50,...; a(n) = n-th term of the n-th sequence S(n).
; 1,2,6,8,20,18,42,40,63,70,110,84,156,154,180,192,272,234,342,300,378,418,506,408,575,598,648,644,812,690,930,864,990,... |
common/packsegs.asm | DigitalMars/optlink | 28 | 19524 | TITLE PACKSEGS - Copyright (c) 1994 SLR Systems
INCLUDE MACROS
INCLUDE SEGMENTS
INCLUDE GROUPS
if fg_segm
INCLUDE SEGMSYMS
endif
PUBLIC PACK_SEGMENTS
.DATA
EXTERNDEF SEGMENT_COUNT:DWORD,ZERO_LENGTH_SEGMENTS:DWORD,PACKCODE:DWORD,PACKDATA:DWORD,PACK_DEFAULT_SIZE:DWORD
EXTERNDEF FIRST_SEGMENT_GINDEX... |
source/nodes/program-nodes-with_clauses.ads | reznikmm/gela | 0 | 8055 | <gh_stars>0
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Elements.With_Clauses;
with Program.Element_Visitors;
package Program.Nodes.Wit... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/show_deques_priority.adb | best08618/asylo | 7 | 28005 | -- { dg-do compile }
with Deques;
procedure Show_Deques_Priority is
use Deques;
PD : aliased P_Deque := Create;
begin
PD.Pop;
end Show_Deques_Priority;
|
src/LibraBFT/Impl/IO/OBM/Start.agda | LaudateCorpus1/bft-consensus-agda | 0 | 16957 | <reponame>LaudateCorpus1/bft-consensus-agda
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Impl.Consens... |
tools/scitools/conf/understand/ada/ada05/a-calari.ads | brucegua/moocos | 1 | 3294 | <filename>tools/scitools/conf/understand/ada/ada05/a-calari.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
macos/chrome/current-song.scpt | atsuya/google-music-control | 5 | 86 | set theFolder to POSIX path of ((the path to me as text) & "::")
set Controller to run script ("script s" & return & (read alias (POSIX file (theFolder & "/lib/controller.scpt")) as «class utf8») & return & "end script " & return & "return s")
set currentTrack to Controller's getCurrentSong()
try
set output to quot... |
programs/oeis/001/A001738.asm | neoneye/loda | 22 | 101034 | <filename>programs/oeis/001/A001738.asm<gh_stars>10-100
; A001738: Squares written in base 3.
; 0,1,11,100,121,221,1100,1211,2101,10000,10201,11111,12100,20021,21021,22100,100111,101201,110000,111101,112211,121100,122221,201121,210100,212011,221001,1000000,1002001,1011011,1020100,1022121,1101221,1111100,1120211,1200101... |
04. Interfacing/01. Square Wave.asm | nitrece/microprocessor-laboratory | 0 | 166081 | mvi a, 80h
out 0Fh
mvi a, 0FFh
loop:
out 0Ch
out 0Dh
out 0Eh
cma
jmp loop
|
programs/oeis/033/A033428.asm | karttu/loda | 1 | 242689 | ; A033428: a(n) = 3*n^2.
; 0,3,12,27,48,75,108,147,192,243,300,363,432,507,588,675,768,867,972,1083,1200,1323,1452,1587,1728,1875,2028,2187,2352,2523,2700,2883,3072,3267,3468,3675,3888,4107,4332,4563,4800,5043,5292,5547,5808,6075,6348,6627,6912,7203,7500,7803,8112,8427,8748,9075,9408,9747,10092,10443,10800,11163,11532,... |
tests/parsing/parentheses_parsing.asm | fengjixuchui/sjasmplus | 220 | 28598 | <reponame>fengjixuchui/sjasmplus
; during working on advent-of-code 2020 as sjasmplus scripts, I have run into
; insufficient syntax error reporting
; AFTER FIX: the while is not executed even once, only syntax error is reported
DEVICE ZXSPECTRUMNEXT
counter = 1
WHILE (counter < 2)) || (counter < 4)
... |
test/Succeed/Issue1973.agda | cruhland/agda | 1,989 | 15216 | <gh_stars>1000+
-- Andreas, 2016-05-13 Issue 1973 reported by Nisse
-- Problems with parameters to overloaded projections
-- {-# OPTIONS -v tc.proj.amb:100 #-}
-- {-# OPTIONS -v tc.deftype:100 #-}
record R₁ : Set₁ where
field
f : Set
open R₁ public
postulate
F : ∀ {a} → Set a → Set a
module M (_ : Set₁) wh... |
casks/spectacle/config.scpt | cloudyparts/dotfiles | 1 | 600 | <reponame>cloudyparts/dotfiles<filename>casks/spectacle/config.scpt
#!/usr/bin/env osascript
tell application "System Events" to make new login item with properties { path: "/Applications/Spectacle.app", name: "Spectacle.app", hidden: false }
|
Cubical/HITs/Modulo/FinEquiv.agda | dan-iel-lee/cubical | 0 | 7985 | <filename>Cubical/HITs/Modulo/FinEquiv.agda
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.Modulo.FinEquiv where
open import Cubical.Foundations.Function
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Prelude
open import Cubical.Data.Fin
open import Cubical.Data.N... |
test/Succeed/Issue1963.agda | alhassy/agda | 3 | 2143 | -- <NAME> - July 2016, implementing postfix projections
module Issue1963 where
module Prod where
record Σ (A : Set) (B : A → Set) : Set where
field fst : A
snd : B fst
open Σ
test : ∀{A} → A → Σ A λ _ → A
test = λ where
x .fst → x
x .snd → x
module Stream where
record Stream (A : ... |
programs/oeis/114/A114986.asm | jmorken/loda | 1 | 88004 | ; A114986: Characteristic function of (A000201 prefixed with 0).
; 1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0
mov $3,$0
mov $5,2
lpb $5
mov $0,$3
su... |
extern/game_support/src/backends/pure_sdl_gnat_sdl/display-basic.adb | AdaCore/training_material | 15 | 25691 | <reponame>AdaCore/training_material<filename>extern/game_support/src/backends/pure_sdl_gnat_sdl/display-basic.adb<gh_stars>10-100
-----------------------------------------------------------------------
-- Ada Labs --
-- ... |
programs/oeis/184/A184550.asm | karttu/loda | 0 | 17631 | <filename>programs/oeis/184/A184550.asm
; A184550: Super-birthdays (falling on the same weekday), version 2 (birth within 1 and 2 years after a February 29).
; 0,6,11,17,28,34,39,45,56,62,67,73,84,90,95,101,112,118,123,129,140,146,151,157,168,174,179,185,196,202,207,213,224,230,235,241,252,258,263,269,280,286,291,297,3... |
lib/i386/wipe.asm | xumia/SymCrypt | 170 | 12374 | ;
; Wipe.asm
;
; Copyright (c) Microsoft Corporation. Licensed under the MIT license.
;
TITLE wipe.asm
.686
.xmm
_TEXT SEGMENT PARA PUBLIC USE32 'CODE'
ASSUME CS:_TEXT, DS:FLAT, SS:FLAT
PUBLIC @SymCryptWipeAsm@8
;VOID
;SYMCRYPT_CALL
;SymCryptWipe( _... |
Transynther/x86/_processed/US/_st_4k_/i7-8650U_0xd2.log_640_1355.asm | ljhsiun2/medusa | 9 | 86516 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x282, %r15
nop
nop
nop
nop
xor $17187, %rdi
mov $0x6162636465666768, %r14
movq %r14, (%r15)
sub %r9, %r9
lea addresses_UC_ht+0xb702, %r15
nop
nop
xor %rsi, %rsi
... |
extern/gnat_sdl/gnat_sdl2/src/pmmintrin_h.ads | AdaCore/training_material | 15 | 28193 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package pmmintrin_h is
-- Copyright (C) 2003-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 L... |
examples/vector_min_max.asm | tomasz-herman/PseudoAssemblerEmulator | 3 | 160924 | ;PROGRAM DO WYZNACZANIA MINIMALNEGO I MAKSYMALNEGO ELEMENTU Z 16-ELEMENTOWEGO WEKTORA
JEDEN: DC INTEGER(1)
ROZMIAR: DC INTEGER(16)
MAXVALUE: DC INTEGER(1000)
SEPARATOR: DC CHAR(';')
NEWLINE: DC CHAR('\n')
WEKTOR: DS 16*INTEGER
MIN: DS INTEGER
MAX: DS ... |
BasicIS4/Metatheory/Gentzen-BasicKripkeAlechina.agda | mietek/hilbert-gentzen | 29 | 6543 | module BasicIS4.Metatheory.Gentzen-BasicKripkeAlechina where
open import BasicIS4.Syntax.Gentzen public
open import BasicIS4.Semantics.BasicKripkeAlechina public
-- Soundness with respect to all models, or evaluation.
mutual
eval : ∀ {A Γ} → Γ ⊢ A → Γ ⊨ A
eval (var i) γ = lookup i γ
eval (lam t) ... |
de.bildschirmarbeiter.aem.toolbox.main/src/main/deploy/package/macosx/AEM Toolbox-dmg-setup.scpt | joerg-wille/osgi-javafx-app | 1 | 1669 | tell application "Finder"
tell disk "AEM Toolbox"
open
set current view of container window to icon view
set toolbar visible of container window to false
set statusbar visible of container window to false
-- 600x400
set the bounds of container window to {400, 100, 1000, 500}
set _viewOptions... |
source/s-folifl.ads | ytomino/drake | 33 | 6347 | <gh_stars>10-100
pragma License (Unrestricted);
-- implementation unit
package System.Formatting.Literals.Float is
pragma Pure;
-- parsing Ada-form literals of real types
procedure Get_Literal (
Item : String;
Last : out Natural;
Result : out Long_Long_Float;
Error : out Boolean);
... |
programs/oeis/185/A185375.asm | neoneye/loda | 22 | 5408 | ; A185375: a(n) = n*(n-1)*(2*n+1)*(2*n-1)*(2*n-3)*(10*n-17)/90.
; 0,0,1,91,966,5082,18447,53053,129948,282948,562989,1043119,1824130,3040830,4868955,7532721,11313016,16556232,23683737,33201987,45713278,61927138,82672359,108909669,141745044,182443660,232444485,293375511,367069626,455581126,561202867,686484057,834248688,... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1737.asm | ljhsiun2/medusa | 9 | 104190 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x18789, %rbp
sub %r13, %r13
movb (%rbp), %r12b
nop
nop
nop
cmp $7382, %rcx
lea addresses_A_ht+0x6537, %rsi
lea addresses_normal_ht+0x12b89, %rdi
nop
nop
and $3110, %rbx
mov $9... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_786.asm | ljhsiun2/medusa | 9 | 96583 | <filename>Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_786.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xe251, %rsi
lea addresses_normal_ht+0x18f0d, %rdi
nop
nop
nop
and %rax, %rax
mov $10... |
oeis/259/A259217.asm | neoneye/loda-programs | 11 | 172338 | <reponame>neoneye/loda-programs
; A259217: Number of (n+1) X (3+1) 0..1 arrays with each 2 X 2 subblock having clockwise pattern 0000 0011 or 0101.
; Submitted by <NAME>
; 24,40,66,112,192,334,588,1048,1890,3448,6360,11854,22308,42352,81042,156160,302736,589966,1154844,2269096,4472514,8838760,17505576,34732942,69015732... |
src/grammars/Enca.g4 | CorvusPrudens/Enca | 0 | 1762 | <filename>src/grammars/Enca.g4
grammar Enca;
parse : statement*;
statement : instruction # statInstr
| data # statData
| label # statLab
;
instruction : mnemonic # instr
| mnemonic operands # instrOper
... |
programs/oeis/269/A269468.asm | jmorken/loda | 1 | 10954 | ; A269468: Number of length-4 0..n arrays with no repeated value equal to the previous repeated value.
; 10,66,228,580,1230,2310,3976,6408,9810,14410,20460,28236,38038,50190,65040,82960,104346,129618,159220,193620,233310,278806,330648,389400,455650,530010,613116,705628,808230,921630,1046560,1183776,1334058
mov $1,$0
a... |
src/unbounded_sequential_stacks.ads | mgrojo/qt5ada | 5 | 3417 | <reponame>mgrojo/qt5ada<filename>src/unbounded_sequential_stacks.ads<gh_stars>1-10
--
-- This library is free software; you can redistribute it and/or modify
-- it under the terms of the GNU Library General Public License as
-- published by the Free Software Foundation; either version 3 of the
-- License; or (a... |
CallConventions/6186/function-not-compiled.asm | Unshifted1337/AssemblyExercises | 0 | 173653 | int f(int* a, unsigned b) {
extern int g(int x);
int index = g(a[2*b + 1]);
return a[index + b];
}
|
unit_names.adb | annexi-strayline/AURA | 13 | 24251 | <reponame>annexi-strayline/AURA
------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implem... |
operonparser/src/main/antlr4/io/operon/parser/Operon.g4 | operon-io/operon-lang | 0 | 2322 | grammar Operon;
//
// License: https://operon.io/operon-license
//
import OperonBase;
operon
: import_stmt?
from?
exception_stmt?
(function_stmt | let_stmt | bind_value_expr)*
select
;
|
src/Quotient/Families-of-equivalence-classes.agda | nad/equality | 3 | 5802 | <filename>src/Quotient/Families-of-equivalence-classes.agda<gh_stars>1-10
------------------------------------------------------------------------
-- Quotients, defined as families of equivalence classes
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
-- Par... |
awa/plugins/awa-questions/src/awa-questions-modules.ads | twdroeger/ada-awa | 81 | 2492 | <reponame>twdroeger/ada-awa<filename>awa/plugins/awa-questions/src/awa-questions-modules.ads<gh_stars>10-100
-----------------------------------------------------------------------
-- awa-questions-modules -- Module questions
-- Copyright (C) 2012, 2013, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed und... |
oeis/179/A179611.asm | neoneye/loda-programs | 11 | 179048 | ; A179611: Eight white kings and one red king on a 3 X 3 chessboard. G.f.: (1+2*x)/(1 - 2*x - 8*x^2 - 4*x^3).
; Submitted by <NAME>(s4)
; 1,4,16,68,280,1168,4848,20160,83776,348224,1447296,6015488,25002240,103917568,431915008,1795179520,7461349376,31011794944,128895102976,535729963008,2226667929600,9254755975168,384657... |
ga_lib/src/e3ga_utilities.ads | rogermc2/GA_Ada | 3 | 20227 | <filename>ga_lib/src/e3ga_utilities.ads
with GA_Maths;
with Multivectors; use Multivectors;
package E3GA_Utilities is
-- special exp() for 3D bivectors
function exp (BV : Bivector) return Rotor;
-- special log() for 3D rotors
function log (R : Rotor) return Bivector;
procedure Print_Rotor (Name : St... |
src/test/ref/printf-18.asm | jbrandwood/kickc | 2 | 5627 | // Tests snprintf function call rewriting
// Test snprintf() and printf() in the same file
// Commodore 64 PRG executable file
.file [name="printf-18.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data ... |
libsrc/_DEVELOPMENT/adt/wa_priority_queue/c/sccz80/wa_priority_queue_pop.asm | jpoikela/z88dk | 640 | 9329 | <filename>libsrc/_DEVELOPMENT/adt/wa_priority_queue/c/sccz80/wa_priority_queue_pop.asm
; void *wa_priority_queue_pop(wa_priority_queue_t *q)
SECTION code_clib
SECTION code_adt_wa_priority_queue
PUBLIC wa_priority_queue_pop
EXTERN asm_wa_priority_queue_pop
defc wa_priority_queue_pop = asm_wa_priority_queue_pop
; S... |
programs/oeis/211/A211199.asm | neoneye/loda | 22 | 162943 | ; A211199: Sum of the 16th powers of the decimal digits of n.
; 0,1,65536,43046721,4294967296,152587890625,2821109907456,33232930569601,281474976710656,1853020188851841,1,2,65537,43046722,4294967297,152587890626,2821109907457,33232930569602,281474976710657,1853020188851842,65536,65537,131072,43112257
lpb $0
mov $2,$... |
samples/vsx_mem.c.power8_gcc-7.asm | seiko2plus/vsx_mem_test | 0 | 161963 |
/test/samples/vsx_mem.c.power8_gcc-7.o: file format elf64-powerpcle
Disassembly of section .text:
0000000000000000 <INTRIN_schar>:
0: 00 00 26 2c cmpdi r6,0
4: 20 00 82 4d beqlr
8: 00 00 20 39 li r9,0
c: 00 00 42 60 ori r2,r2,0
10: 99 4e 04 7c lxvd2x vs32,r4,r9
14: 99 4e 25 7... |
src/asf-beans-requests.ads | jquorning/ada-asf | 12 | 10501 | -----------------------------------------------------------------------
-- asf-beans-requests -- Bean giving access to the request object
-- Copyright (C) 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complian... |
bomu/bomu-gerbers-pcbway/bomu-In3_Cu_SIG2.g4 | Surfndez/bomu-hardware | 10 | 7324 | G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,(5.99.0-8645-g8b3dea7107)*
G04 #@! TF.CreationDate,2021-02-11T22:48:24-08:00*
G04 #@! TF.ProjectId,bomu,626f6d75-2e6b-4696-9361-645f70636258,rev?*
G04 #@! TF.SameCoordinates,PX7de9b10PY86ff218*
G04 #@! TF.FileFunction,Copper,L4,Inr*
G04 #@! TF.FilePolarity,Positive*
%FSLAX46Y4... |
oeis/008/A008502.asm | neoneye/loda-programs | 11 | 165288 | <gh_stars>10-100
; A008502: 8-dimensional centered tetrahedral numbers.
; 1,10,55,220,715,2002,5005,11440,24310,48619,92368,167905,293710,496705,815188,1302499,2031535,3100240,4638205,6814522,9847045,14013220,19662655,27231610,37259596,50408281,67482910,89456455,117496720,152996635,197607982,253278805,322294765,4073247... |
Task/Image-convolution/Ada/image-convolution-2.ada | mullikine/RosettaCodeData | 1 | 11750 | <filename>Task/Image-convolution/Ada/image-convolution-2.ada
type Kernel_3x3 is array (-1..1, -1..1) of Float_Luminance;
procedure Filter (Picture : in out Image; K : Kernel_3x3) is
function Get (I, J : Integer) return Float_Pixel is
pragma Inline (Get);
begin
if I in Picture'Range (1) and then J in ... |
db-schema2omnigraffle.applescript | cmittendorf/db-schema2omnigraffle | 7 | 3359 | (*
Copyright (c) 2008, <NAME> <<EMAIL>>
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, this
list ofconditions and the following ... |
Projects/PJZ2/Framework/Depack/nrv2r_Depack.asm | jonathanbennett73/amiga-pjz-planet-disco-balls | 21 | 89669 | <filename>Projects/PJZ2/Framework/Depack/nrv2r_Depack.asm
; nrv2r decompression in 68000 assembly
; by ross
;
; They are both in-place, but differ in the memory layout:
; - forward in memory (nrv2s, standard) : slightly faster, but requires data to be loaded at the end of the buffer
; - backward in memory (nrv2r, rever... |
Library/Text/TextSearchSp/tssMethodSpell.asm | steakknife/pcgeos | 504 | 242524 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: UI
MODULE: Text
FILE: textMethodSpell.asm
AUTHOR: <NAME>, Mar 29, 1991
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Descri... |
applet/aide/source/editors/aide-editor-of_context.ads | charlie5/aIDE | 3 | 10625 | <reponame>charlie5/aIDE<gh_stars>1-10
with
AdaM.Context,
gtk.Widget;
private
with
gtk.Label,
gtk.Frame,
gtk.Box;
package aIDE.Editor.of_context
is
type Item is new Editor.item with private;
type View is access all Item'Class;
package Forge
is
function to_context_Editor (... |
book-01/Assembly/asm/avx-512/packed/avx512_p_matrix_vector_multiplication_float.asm | gfurtadoalmeida/study-assembly-x64 | 2 | 16840 | <reponame>gfurtadoalmeida/study-assembly-x64
ConstVals segment readonly align(64) 'const'
; Indices for matrix permutations
MatPerm0 dword 0, 4, 8, 12, 0, 4, 8, 12, 0, 4, 8, 12, 0, 4, 8, 12
MatPerm1 dword 1, 5, 9, 13, 1, 5, 9, 13, 1, 5, 9, 13, 1, 5, 9, 13
MatPerm2 dword 2, 6, 10, 14, 2, 6, 10, 14, 2, 6, 10, 14, 2, ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1354.asm | ljhsiun2/medusa | 9 | 5804 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x14ebc, %rcx
clflush (%rcx)
nop
nop
nop
nop
nop
sub %r13, %r13
movb (%rcx), %bl
inc %rsi
lea addresses_UC_ht+0x1b6bc, %rsi
lea addresses_UC_ht+0x6e24, %rdi
and $10374, %r11
mo... |
source/image/required/s-valdec.adb | ytomino/drake | 33 | 11803 | with System.Formatting.Literals.Float;
with System.Value_Errors;
package body System.Val_Dec is
function Value_Decimal (Str : String; Scale : Integer) return Integer is
Last : Natural := Str'First - 1;
Result : Long_Long_Float;
Error : Boolean;
begin
Formatting.Literals.Float.Get_Literal ... |
source/actions.ads | jquorning/CELLE | 0 | 11734 | <filename>source/actions.ads
--
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
--------------... |
src/asf-components-html-lists.adb | jquorning/ada-asf | 12 | 6734 | -----------------------------------------------------------------------
-- html.lists -- List of items
-- Copyright (C) 2009, 2010, 2013, 2014 <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 Licen... |
Export Papers Collections.applescript | moffat/applescript | 0 | 327 | <gh_stars>0
tell application id "com.mekentosj.papers3"
-- returns all (manual & smart) collections as scriptable objects
set CollectionList to every collection item
-- change the folder below to a folder that exists in your machine
set FolderBase to "/Users/USERNAME/Desktop/PapersBib/"
repeat with CollectionIte... |
Container.agda | oisdk/agda-playground | 6 | 15049 | <reponame>oisdk/agda-playground
{-# OPTIONS --safe --cubical #-}
module Container where
open import Prelude
Container : (s p : Level) → Type (ℓsuc (s ℓ⊔ p))
Container s p = Σ[ Shape ⦂ Type s ] × (Shape → Type p)
⟦_⟧ : ∀ {s p ℓ} → Container s p → Set ℓ → Set (s ℓ⊔ p ℓ⊔ ℓ)
⟦ S , P ⟧ X = Σ[ s ⦂ S ] × (P s → X)
cmap :... |
src/Lens/Non-dependent/Higher/Capriotti.agda | nad/dependent-lenses | 3 | 11959 | <filename>src/Lens/Non-dependent/Higher/Capriotti.agda
------------------------------------------------------------------------
-- <NAME>'s variant of higher lenses
------------------------------------------------------------------------
{-# OPTIONS --cubical #-}
import Equality.Path as P
module Lens.Non-dependent.H... |
Userland/shell/asm/int80.asm | rociodellasala/TPE_Arqui | 0 | 16695 | <filename>Userland/shell/asm/int80.asm<gh_stars>0
section .text
GLOBAL int80
; -----------------------------------------------------------------------------
; Enables Userland function to make system calls to the Kernel
; Parameters:
; Depends on the command invoked.
; ------------------------------------------------... |
alloy4fun_models/trashltl/models/10/58gce8rNede9MEfv9.als | Kaixi26/org.alloytools.alloy | 0 | 2199 | open main
pred id58gce8rNede9MEfv9_prop11 {
always Protected' = File-Protected
}
pred __repair { id58gce8rNede9MEfv9_prop11 }
check __repair { id58gce8rNede9MEfv9_prop11 <=> prop11o } |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_21829_2254.asm | ljhsiun2/medusa | 9 | 13159 | <filename>Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_21829_2254.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x13323, %r8
and $15131, %rsi
vmovups (%r8), %ymm2
vextracti128 $1, %ymm2, %xmm2
vpextrq $0, %xmm2, %r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.