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 |
|---|---|---|---|---|
src/main/fragment/mos6502-common/_deref_pwsz1_eq_0_then_la1.asm | jbrandwood/kickc | 2 | 24850 | ldy #0
lda ({z1}),y
iny
ora ({z1}),y
beq {la1} |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_341.asm | ljhsiun2/medusa | 9 | 83029 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x4908, %r14
clflush (%r14)
nop
nop
nop
nop
xor $49705, %r13
movb (%r14), %r8b
nop
nop
add %rbp, %rbp
lea addresses_A_ht+0xd998, %rsi
lea addresse... |
oeis/087/A087208.asm | neoneye/loda-programs | 11 | 6873 | <filename>oeis/087/A087208.asm<gh_stars>10-100
; A087208: Expansion of e.g.f.: exp(x)/(1-x^2).
; Submitted by <NAME>(s2.)
; 1,1,3,7,37,141,1111,5923,62217,426457,5599531,46910271,739138093,7318002277,134523132927,1536780478171,32285551902481,418004290062513,9879378882159187,142957467201379447,3754163975220491061,600421... |
Practica11/Practica11/Practica11_BRAu.asm | Pedejeca135/ELECTRONICA-B_UASLP | 1 | 178389 | <reponame>Pedejeca135/ELECTRONICA-B_UASLP
/*
* Practica11_BRAu.asm
*
* Created: 6/1/2020 10:16:17 AM
* Author: pjco9
*/
.def config = r16
.def puertoB = r17
.def puertoC = r18
.def puertoD = r19
.org 0x00
jmp reset
.org 0x0024
jmp USART_RX
.org 0x100
reset:
//USART/
ldi config,0b1001_0000
sts UCSR0B,config... |
oeis/313/A313053.asm | neoneye/loda-programs | 11 | 161470 | <filename>oeis/313/A313053.asm
; A313053: Coordination sequence Gal.5.114.1 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>(s2.)
; 1,4,9,14,18,23,28,32,37,42,46,50,55,60,64,69,74,78,83,88,92,96,101,106,110,115,120... |
src/Data/ByteString/Primitive.agda | semenov-vladyslav/bytes-agda | 0 | 4835 | <filename>src/Data/ByteString/Primitive.agda
{-# OPTIONS --without-K #-}
module Data.ByteString.Primitive where
open import Data.Word8.Primitive using (Word8)
open import Data.Nat using (ℕ; _<_)
open import Data.Colist using (Colist)
open import Data.List using (List; length)
open import Agda.Builtin.String using (St... |
ch15/ch15-core-ex02.asm | Sunrisepeak/x86-Assembly-Real-To-Protected_Mode | 1 | 176445 | <gh_stars>1-10
;代码清单15-1
;文件名:c15_core.asm
;文件说明:保护模式微型核心程序
;创建日期:2011-11-19 21:40
;以下常量定义部分。内核的大部分内容都应当固定
user_app_address equ 0x08 ; logic-sector
core_code_seg_sel equ 0x38 ;内核代码段选择子
core_data_seg_sel equ 0x30 ... |
obj/main.asm | wojciech-graj/GB-Solitaire | 4 | 171323 | ;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.0 #12072 (Linux)
;--------------------------------------------------------
.module main
.optsdcc -mgbz80
;--------------------------------------------------------
; Public variables in t... |
programs/oeis/274/A274682.asm | neoneye/loda | 22 | 29252 | ; A274682: Numbers n such that 8*n-1 is a triangular number.
; 2,7,29,44,88,113,179,214,302,347,457,512,644,709,863,938,1114,1199,1397,1492,1712,1817,2059,2174,2438,2563,2849,2984,3292,3437,3767,3922,4274,4439,4813,4988,5384,5569,5987,6182,6622,6827,7289,7504,7988,8213,8719,8954,9482,9727,10277,10532,11104,11369,11963,... |
programs/oeis/227/A227625.asm | neoneye/loda | 22 | 171246 | <reponame>neoneye/loda<filename>programs/oeis/227/A227625.asm
; A227625: Indicator sequence of primes p > 3: k = p mod 6, if k = 5 then a(n) = -1, if k = 1 then a(n) = 1 else a(n) = 0, a(2) = -1, a(3) = 1.
; 0,-1,1,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,0,0,0,0,-1,0,1,0,0,0,0,0,1,0,0,0,-1,0,1,0,0,0,-1,0,0,0,0,0,... |
alloy4fun_models/trashltl/models/5/FzLAE8oSNLgrCEgKK.als | Kaixi26/org.alloytools.alloy | 0 | 197 | open main
pred idFzLAE8oSNLgrCEgKK_prop6 {
always ((some File) implies (always File in File))
}
pred __repair { idFzLAE8oSNLgrCEgKK_prop6 }
check __repair { idFzLAE8oSNLgrCEgKK_prop6 <=> prop6o } |
programs/oeis/248/A248076.asm | neoneye/loda | 22 | 27825 | <reponame>neoneye/loda
; A248076: Partial sums of the sum of the 5th powers of the divisors of n: Sum_{i=1..n} sigma_5(i).
; 1,34,278,1335,4461,12513,29321,63146,122439,225597,386649,644557,1015851,1570515,2333259,3415660,4835518,6792187,9268287,12572469,16673621,21988337,28424681,36677981,46446732,58699434,73107634,90... |
libsrc/_DEVELOPMENT/math/float/math48/z80/am48_dconst_inf.asm | meesokim/z88dk | 0 | 167266 |
SECTION code_fp_math48
PUBLIC am48_dconst_inf, am48_dconst_pinf, am48_dconst_minf
am48_dconst_inf:
; set AC = +-inf depending on sign
bit 7,b
jr nz, am48_dconst_minf
am48_dconst_pinf:
; set AC = +inf
ld bc,$7fff
join:
ld e,c
ld d,c
ld h,c
ld l,c
ret
am48_dconst_minf:
... |
findNote.applescript | hadret/alfred-search-notes-app | 0 | 24 | #!/usr/bin/osascript
on alfred_script(argv)
tell application "Notes"
set noteRefs to a reference to every note in default account
repeat with noteRef in noteRefs
if name of noteRef contains argv then
show noteRef
activate
exit repeat
end if
end repeat
end tell
end alfred_script
|
programs/oeis/198/A198796.asm | neoneye/loda | 22 | 101537 | ; A198796: 3*6^n-1.
; 2,17,107,647,3887,23327,139967,839807,5038847,30233087,181398527,1088391167,6530347007,39182082047,235092492287,1410554953727,8463329722367,50779978334207,304679870005247,1828079220031487,10968475320188927,65810851921133567,394865111526801407,2369190669160808447,14215144014964850687,85290864089789... |
compareWalkers.asm | arturosalazar/xv6-public | 0 | 14404 | <filename>compareWalkers.asm
_compareWalkers: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 ... |
tools/xml2ayacc/encoding/encodings-read.ads | faelys/gela-asis | 4 | 28477 | --------------------------------------------------------
-- E n c o d i n g s --
-- --
-- Tools for convertion strings between Unicode and --
-- national/vendor character sets. --
-- - - - - - - - - -... |
programs/oeis/267/A267938.asm | neoneye/loda | 22 | 17982 | ; A267938: Decimal representation of the n-th iteration of the "Rule 251" elementary cellular automaton starting with a single ON (black) cell.
; 1,5,31,127,511,2047,8191,32767,131071,524287,2097151,8388607,33554431,134217727,536870911,2147483647,8589934591,34359738367,137438953471,549755813887,2199023255551,8796093022... |
test/Succeed/Issue2814.agda | cagix/agda | 1,989 | 8049 | <reponame>cagix/agda<filename>test/Succeed/Issue2814.agda
-- Issue #2814 reported by tomjack on 2017-10-18
{-# OPTIONS --cubical --rewriting --confluence-check #-}
-- prelude stolen from Saizan/cubical-demo
open import Agda.Primitive.Cubical public
open import Agda.Builtin.Cubical.Path
Path = _≡_
refl : ∀ {ℓ} {A :... |
src/rename_utf8.template.applescript | hyperbora/mac-renaming-file | 1 | 3691 | on adding folder items to theAttachedFolder after receiving theNewItems
tell application "Finder"
set all_files to every item of theNewItems as list
repeat with index from 1 to the count of all_files
set this_file to item index of all_files
set this_file_name to name of (info for this_file)
set this_file_... |
Userland/SampleCodeModule/asm/mainLib.asm | JuanOriana/TPE_ARQUI | 0 | 81684 |
GLOBAL reader
GLOBAL writer
GLOBAL scClear
GLOBAL timeInfo
GLOBAL chFont
GLOBAL drawFig
GLOBAL getMem
GLOBAL getRegs
GLOBAL writeAtPos
GLOBAL timer
GLOBAL opCodeExc
GLOBAL keyBinder
GLOBAL pureMalloc
GLOBAL pureFree
GLOBAL pureMemDump
; read - lee de un fd determinado
; IN- RDI - FD
; RSI - Buffer
; RDX - size
... |
src/derive.agda | shinji-kono/automaton-in-agda | 0 | 1523 | {-# OPTIONS --allow-unsolved-metas #-}
open import Relation.Binary.PropositionalEquality hiding ( [_] )
open import Relation.Nullary using (¬_; Dec; yes; no)
open import Data.List hiding ( [_] )
open import finiteSet
module derive ( Σ : Set) ( fin : FiniteSet Σ ) ( eq? : (x y : Σ) → Dec (x ≡ y)) where
-- open import... |
oeis/053/A053203.asm | neoneye/loda-programs | 11 | 244169 | ; A053203: Pascal's triangle (excluding first, last three elements of each row) read by rows, row n read mod n.
; Submitted by <NAME>
; 2,0,0,0,6,0,3,0,0,3,0,0,2,0,0,0,0,0,0,0,0,4,3,0,0,0,3,4,0,0,0,0,0,0,0,0,0,7,0,7,2,7,0,7,0,5,0,3,10,0,0,10,3,0,5,0,12,0,8,0,6,0,8,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,6,0,0,2,0,0,6,0,0,... |
oeis/037/A037698.asm | neoneye/loda-programs | 11 | 105384 | <filename>oeis/037/A037698.asm
; A037698: Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,3,0.
; Submitted by <NAME>
; 1,9,66,462,3235,22647,158532,1109724,7768069,54376485,380635398,2664447786,18651134503,130557941523,913905590664,6397339134648,44781373942537,31346961759... |
barrier.adb | philipbjorge/Parallel-Elliptic-Partial-Differential-Equation-Solver | 1 | 30684 | <reponame>philipbjorge/Parallel-Elliptic-Partial-Differential-Equation-Solver
-- <NAME>
-- Simple barrier using protected types that
-- waits on a certain number of entrants
package body Barrier is
protected body Barrier_Type is
entry Here when not leave is begin
count := count + 1;
if coun... |
programs/oeis/186/A186157.asm | neoneye/loda | 22 | 26591 | ; A186157: Rank of 2n^2 when {i^3: i>=1} and {2j^2: j>=1} are jointly ranked with i^3 before 2j^2 when i^3=2j^2. Complement of A186156.
; 2,4,5,7,8,10,11,13,14,15,17,18,19,21,22,24,25,26,27,29,30,31,33,34,35,37,38,39,40,42,43,44,45,47,48,49,50,52,53,54,55,57,58,59,60,62,63,64,65,67,68,69,70,72,73,74,75,76,78,79,80,81,... |
set up finder windows.applescript | AlexanderGalen/applescripts | 3 | 140 | <reponame>AlexanderGalen/applescripts
set path1 to "HOM_Shortrun:~HOM Archive Jobs:" as alias
set path2 to "HOM_Shortrun:~HOM Active Jobs:" as alias
set path3 to "Macintosh HD:Users:Maggie:Documents:Temp PDFs:" as alias
set path4 to "ART DEPARTMENT-NEW:Proofs-Shortrun:" as alias
set window1 to ""
set window2 to ""
se... |
examples/src/rtreq.adb | sonneveld/adazmq | 0 | 25824 | <gh_stars>0
-- ROUTER-to-REQ example
with Ada.Command_Line;
with Ada.Real_Time;
with Ada.Text_IO;
with GNAT.Formatted_String;
with ZMQ;
with ZHelper;
use type GNAT.Formatted_String.Formatted_String;
use type Ada.Real_Time.Time_Span;
procedure RTReq is
Nbr_Workers : constant := 10;
Work_Time_Span : constant ... |
src/portscan-ops.adb | Qrbaker/synth | 263 | 22433 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Ada.Numerics.Discrete_Random;
with GNAT.String_Split;
with PortScan.Buildcycle.Pkgsrc;
with PortScan.Buildcycle.Ports;
with Replicant.Platform;
with Signals;
with Unix;
package body PortScan.Ops is
packag... |
smsq/qpc/mouse.asm | olifink/smsqe | 0 | 27418 | ; QPC Mouse Routines v1.01 2006 <NAME>
;
; 2006-03-08 1.01 Does horizontal wheel scroll if CTRL is pressed (MK)
section driver
xdef mouse_init
xref pt_button3
xref ioq_pbyt
include 'dev8_smsq_qpc_keys'
include 'dev8_keys_con'
include 'dev8_keys_iod'
include 'dev8_keys_sys'
include 'dev8_keys_qdos... |
oeis/042/A042387.asm | neoneye/loda-programs | 11 | 28471 | ; A042387: Denominators of continued fraction convergents to sqrt(720).
; Submitted by <NAME>
; 1,1,5,6,317,323,1609,1932,102073,104005,518093,622098,32867189,33489287,166824337,200313624,10583132785,10783446409,53716918421,64500364830,3407735889581,3472236254411,17296680907225,20768917161636,1097280373312297,111804929... |
bb-runtimes/runtimes/zfp-stm32g474/gnat/s-maccod.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 28772 | <filename>bb-runtimes/runtimes/zfp-stm32g474/gnat/s-maccod.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
tools/druss-commands-devices.adb | stcarrez/bbox-ada-api | 2 | 30137 | <gh_stars>1-10
-----------------------------------------------------------------------
-- druss-commands-devices -- Print information about the devices
-- Copyright (C) 2017, 2018, 2019, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not ... |
alloy4fun_models/trashltl/models/11/j7Ywt3tqwHMTowXWt.als | Kaixi26/org.alloytools.alloy | 0 | 17 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idj7Ywt3tqwHMTowXWt_prop12 {
some f: File | eventually f in Trash and after always f in Trash
}
pred __repair { idj7Ywt3tqwHMTowXWt_prop12 }
check __repair { idj7Ywt3tqwHMTowXWt_prop12 <=> prop12o } |
agc/agc.g4 | augustand/grammars-v4 | 0 | 2639 | /*
BSD License
Copyright (c) 2013, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the fo... |
src/compiling/ANTLR/grammar/Strings.g4 | jecassis/VSCode-SystemVerilog | 75 | 5343 | <reponame>jecassis/VSCode-SystemVerilog
grammar Strings;
import Attributes;
string_literal : STRING_LITERAL ;
|
tools-src/gnu/gcc/gcc/ada/5vinterr.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 18961 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
source/league/ucd/matreshka-internals-unicode-ucd-core_016b.ads | svn2github/matreshka | 24 | 21422 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
rtas/examples/example1.ads | erlingrj/ktc | 0 | 22826 | package Example1 is
procedure Sense ;
procedure Handle_Deadline;
end Example1;
|
sound/musicasm/Competition Menu.asm | NatsumiFox/Sonic-3-93-Nov-03 | 7 | 1966 | CompetitionMenu_Header:
sHeaderInit ; Z80 offset is $CCB8
sHeaderPatch CompetitionMenu_Patches
sHeaderCh $06, $03
sHeaderTempo $01, $25
sHeaderDAC CompetitionMenu_DAC
sHeaderFM CompetitionMenu_FM1, $18, $12
sHeaderFM CompetitionMenu_FM2, $0C, $19
sHeaderFM CompetitionMenu_FM3, $0C, $19
sHeaderFM Competiti... |
programs/oeis/212/A212972.asm | neoneye/loda | 22 | 2667 | ; A212972: Number of (w,x,y) with all terms in {0,...,n} and w<floor((x+y)/3)).
; 1,8,24,53,100,168,261,384,540,733,968,1248,1577,1960,2400,2901,3468,4104,4813,5600,6468,7421,8464,9600,10833,12168,13608,15157,16820,18600,20501,22528,24684,26973,29400,31968,34681,37544,40560,43733
add $0,2
mov $1,$0
sub $0,1
bin $1,2
m... |
oeis/094/A094649.asm | neoneye/loda-programs | 11 | 17431 | ; A094649: An accelerator sequence for Catalan's constant.
; Submitted by <NAME>(s4)
; 4,1,7,4,19,16,58,64,187,247,622,925,2110,3394,7252,12289,25147,44116,87727,157492,307294,560200,1079371,1987891,3798310,7043041,13382818,24927430,47191492,88165105,166501903,311686804,587670811,1101562312,2074699234,3892357744,732566... |
programs/oeis/017/A017137.asm | karttu/loda | 1 | 169691 | ; A017137: a(n) = 8*n+6.
; 6,14,22,30,38,46,54,62,70,78,86,94,102,110,118,126,134,142,150,158,166,174,182,190,198,206,214,222,230,238,246,254,262,270,278,286,294,302,310,318,326,334,342,350,358,366,374,382,390,398,406,414,422,430,438,446,454,462,470,478,486,494,502,510,518,526,534,542,550,558,566,574,582,590,598,606,61... |
test/Succeed/Issue1431.agda | cruhland/agda | 1,989 | 6311 | <gh_stars>1000+
postulate
A : Set
P : A → Set
a : A
T : Set → Set
proj : (X : Set) → T X → X
t : T (∀ {x} → P x)
-- Checking target types first would prematurely solve the underscore
-- with `P a` instead of the correct `∀ {x} → P x`
fail : P a
fail = proj _ t
|
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_1_326.asm | ljhsiun2/medusa | 9 | 9064 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rbx
push %rcx
lea addresses_normal_ht+0x15085, %r11
nop
nop
nop
nop
add $4601, %r15
movb $0x61, (%r11)
xor $2836, %rbx
pop %rcx
pop %rbx
pop %r15
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r1... |
programs/oeis/268/A268581.asm | karttu/loda | 1 | 179190 | <reponame>karttu/loda<gh_stars>1-10
; A268581: a(n) = 2*n^2 + 8*n + 5.
; 5,15,29,47,69,95,125,159,197,239,285,335,389,447,509,575,645,719,797,879,965,1055,1149,1247,1349,1455,1565,1679,1797,1919,2045,2175,2309,2447,2589,2735,2885,3039,3197,3359,3525,3695,3869,4047,4229,4415,4605
mov $1,$0
add $1,2
pow $1,2
mul $1,2
su... |
oeis/135/A135984.asm | neoneye/loda-programs | 11 | 883 | ; A135984: a(n) = 24(prime(n))+7.
; Submitted by <NAME>
; 55,79,127,175,271,319,415,463,559,703,751,895,991,1039,1135,1279,1423,1471,1615,1711,1759,1903,1999,2143,2335,2431,2479,2575,2623,2719,3055,3151,3295,3343,3583,3631,3775,3919,4015,4159,4303,4351,4591,4639,4735
mul $0,2
trn $0,1
seq $0,173919 ; Numbers that are ... |
programs/oeis/176/A176805.asm | neoneye/loda | 22 | 177969 | ; A176805: a(n) = 3^n + 3*n + 1.
; 2,7,16,37,94,259,748,2209,6586,19711,59080,177181,531478,1594363,4783012,14348953,43046770,129140215,387420544,1162261525,3486784462,10460353267,31381059676,94143178897,282429536554,847288609519,2541865828408,7625597485069,22876792455046,68630377364971,205891132094740,617673396284041,... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gsttask_h.ads | persan/A-gst | 1 | 17021 | <filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gsttask_h.ads
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with System;
-- limited -- with GStreamer.GST_Low_Level.glib_2_0_glib_gthread_h;
with glib;
with glib.Values;
with System;
with GStreamer.... |
Transynther/x86/_processed/AVXALIGN/_ht_st_zr_un_/i7-7700_9_0x48.log_21829_735.asm | ljhsiun2/medusa | 9 | 179357 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1435, %rsi
nop
nop
xor $13419, %r11
mov (%rsi), %r12
nop
nop
nop
nop
nop
cmp $24094, %r13
lea addresses_normal_ht+0x16335, %rsi
lea a... |
sources/flac-crc.adb | HeisenbugLtd/flac-ada | 5 | 19075 | ------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>)
--
-- 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... |
oeis/140/A140529.asm | neoneye/loda-programs | 11 | 94768 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A140529: a(n) = 6*4^n - 1.
; 5,23,95,383,1535,6143,24575,98303,393215,1572863,6291455,25165823,100663295,402653183,1610612735,6442450943,25769803775,103079215103,412316860415,1649267441663,6597069766655,26388279066623,105553116266495,422212465065983,1688849860263935,675... |
Scripts Pack Source Items/Scripts Pack/Finder/Finder Animations.applescript | Phorofor/ScriptsPack.macOS | 1 | 1164 | <reponame>Phorofor/ScriptsPack.macOS
# Scripts Pack - Tweak various preference variables in macOS
# <Phorofor, https://github.com/Phorofor/>
-- Finder Animations
-- Preference Identifier: com.apple.Finder
-- Preference Keys: DisableAllAnimations
-- Preference location: ~/Library/Preferences/com.apple.finder.plist
-- ... |
programs/oeis/093/A093149.asm | neoneye/loda | 22 | 3351 | <reponame>neoneye/loda
; A093149: a(1) = 4; a(n) = (n^(n+1)+2*n-3)/(n-1) for n > 1.
; 4,9,42,343,3908,55989,960802,19173963,435848052,11111111113,313842837674,9726655034463,328114698808276,11966776581370173,469172025408063618,19676527011956855059,878942778254232811940,41660902667961039785745,2088331858752553232964202
... |
libsrc/input/spectrum/in_GetKey.asm | andydansby/z88dk-mk2 | 1 | 177958 | <filename>libsrc/input/spectrum/in_GetKey.asm
; uint in_GetKey(void)
; 09.2005 aralbrec
; Scans the keyboard and returns an ascii code representing a
; single keypress. Operates as a state machine. First
; it debounces a key by ignoring it until a minimum time
; "_in_KeyDebounce" (byte) has passed. The key will be ... |
alloy4fun_models/trainstlt/models/5/Ej2yvyaxQvK2tkNYB.als | Kaixi26/org.alloytools.alloy | 0 | 3417 | <gh_stars>0
open main
pred idEj2yvyaxQvK2tkNYB_prop6 {
all s : Signal | always s != s'
}
pred __repair { idEj2yvyaxQvK2tkNYB_prop6 }
check __repair { idEj2yvyaxQvK2tkNYB_prop6 <=> prop6o } |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt9_pkg.ads | best08618/asylo | 7 | 768 | package Opt9_Pkg is
N : integer := 15;
end Opt9_Pkg;
|
src/ada/src/uxas-comms-lmcp_object_message_sender_pipes.adb | pat-rogers/OpenUxAS | 0 | 6241 | <gh_stars>0
-- see OpenUxAS\src\Communications\LmcpObjectMessageSenderPipe.cpp
with UxAS.Comms.Transport.ZeroMQ_Socket_Configurations;
with UxAS.Common.String_Constant.Lmcp_Network_Socket_Address;
use UxAS.Common.String_Constant.Lmcp_Network_Socket_Address;
with UxAS.Common.String_Constant.Content_Type;
with UxAS.Co... |
oeis/187/A187327.asm | neoneye/loda-programs | 11 | 92739 | <gh_stars>10-100
; A187327: Floor(n/5)+floor(2n/5)+floor(3n/5).
; Submitted by <NAME>(s3)
; 0,0,1,2,3,6,6,7,8,9,12,12,13,14,15,18,18,19,20,21,24,24,25,26,27,30,30,31,32,33,36,36,37,38,39,42,42,43,44,45,48,48,49,50,51,54,54,55,56,57,60,60,61,62,63,66,66,67,68,69,72,72,73,74,75,78,78,79,80,81,84,84,85,86,87,90,90,91,92,9... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_21318_1406.asm | ljhsiun2/medusa | 9 | 99242 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1de7, %r8
nop
nop
nop
nop
nop
inc %r11
mov (%r8), %r9d
nop
nop
nop
nop
add %r10, %r10
lea addresses_A_ht+0x1e45f, %rcx
nop
sub %r15, %r15
m... |
TotalParserCombinators/Simplification.agda | nad/parser-combinators | 1 | 2746 | ------------------------------------------------------------------------
-- Simplification of parsers
------------------------------------------------------------------------
module TotalParserCombinators.Simplification where
open import Algebra
open import Codata.Musical.Notation
open import Data.List using (List; [... |
examples/ada/Sum.adb | Jack840517/CompilerExplorer | 2 | 14391 | -- This pragma will remove the warning produced by the default
-- CE filename and the procedure name differing,
-- see : https://gcc.gnu.org/onlinedocs/gcc-8.2.0/gnat_rm/Pragma-Source_005fFile_005fName.html#Pragma-Source_005fFile_005fName
-- pragma Source_File_Name (Sum, Body_File_Name => "example.adb");
procedure Sum... |
src/TemporalOps/Linear.agda | DimaSamoz/temporal-type-systems | 4 | 15914 | <reponame>DimaSamoz/temporal-type-systems<filename>src/TemporalOps/Linear.agda
{-# OPTIONS --allow-unsolved-metas #-}
module TemporalOps.Linear where
open import CategoryTheory.Instances.Reactive
open import CategoryTheory.Functor
open import CategoryTheory.CartesianStrength
open import CategoryTheory.NatTrans
open i... |
alloy4fun_models/trashltl/models/5/Xaoqew7CohLW55CQL.als | Kaixi26/org.alloytools.alloy | 0 | 4976 | open main
pred idXaoqew7CohLW55CQL_prop6 {
no Trash or all f : File | (f in Trash) since (f in Trash)
}
pred __repair { idXaoqew7CohLW55CQL_prop6 }
check __repair { idXaoqew7CohLW55CQL_prop6 <=> prop6o } |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_25_1506.asm | ljhsiun2/medusa | 9 | 29390 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1b56e, %rsi
lea addresses_WT_ht+0xa2da, %rdi
nop
nop
nop
cmp %r11, %r11
mov $14, %rcx
rep movsw
nop
nop
add %rdi, %rdi
lea addresses_D_ht+0x276e, %r11
nop
and $22130, %rcx
movw $0x616... |
memsim-master/src/memory-cache.adb | strenkml/EE368 | 0 | 18012 |
with Ada.Unchecked_Deallocation;
with Ada.Assertions; use Ada.Assertions;
with Device; use Device;
with BRAM;
with CACTI;
with Random_Enum;
package body Memory.Cache is
MIN_LINE_COUNT : constant := 16;
procedure Free is
new Ada.Unchecked_Deallocation(Cache_Data, Cache_Data_Pointer);
function... |
reference_asm/battle_escape.asm | tashiww/maten_tools | 1 | 100520 | ; ########################################################################################
; # Generated by the active disassembly feature of the Exodus emulation platform
;
; # escape from battle routine
;
; # Creation Date: 2021-1-5 19:29:40
; # Analysis Region: 0x0000BED2 - 0x0000C0xx
; ###########################... |
4.8.ReverseString.asm | souzaitor/Assembly | 0 | 961 | TITLE Reverse String
;--------------------
; Autor: <NAME>
; Data: 15/07/2021
;
; Capítulo 4 Exercício 8
; Descrição: Este programa usa a instrução LOOP com endereçamento indireto que copia uma string de
; origem para destino, invertendo a ordem dos caracteres no processo
;--------------------
INCLUDE Irvi... |
asm/kernel/basic/exec.asm | majacQ/retroputer | 58 | 160725 | .segment __current__ kmemmap.basic.code-start .append {
#
# EXEC is responsible for evaluating the line at D,X
#
# @param [D, X]: PTR to crunched line (either direct or run mode works)
# @returns DL: 0 if no error, or an error number if one occurred
#
#######################################... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_8751_344.asm | ljhsiun2/medusa | 9 | 171430 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xbc63, %rsi
lea addresses_normal_ht+0xce3, %rdi
nop
sub $52380, %r12
mov $117, %rcx
rep movsq
nop
add $44669, %r10
lea addresses_normal_ht+0x1063, %rsi
lea addresses_no... |
test/Fail/Issue2650.agda | shlevy/agda | 1,989 | 15408 | <filename>test/Fail/Issue2650.agda
{-# OPTIONS --cubical #-}
module _ where
module _ where
open import Agda.Primitive.Cubical public
open import Agda.Builtin.Cubical.Path public
refl : ∀ {a} {A : Set a} {x : A} → x ≡ x
refl {x = x} = \ _ → x
-- Here there's no solution for H, pattern unification will try
--... |
programs/oeis/089/A089361.asm | neoneye/loda | 22 | 21250 | ; A089361: Numbers of pairs (i, j), i, j > 1, such that i^j <= n.
; 0,0,0,1,1,1,1,2,3,3,3,3,3,3,3,5,5,5,5,5,5,5,5,5,6,6,7,7,7,7,7,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,16
... |
programs/oeis/233/A233775.asm | neoneye/loda | 22 | 9875 | <filename>programs/oeis/233/A233775.asm
; A233775: Number of vertices in the n-th row of the Sierpinski gasket (cf. A047999).
; 1,2,3,4,5,4,6,8,9,4,6,8,10,8,12,16,17,4,6,8,10,8,12,16,18,8,12,16,20,16,24,32,33,4,6,8,10,8,12,16,18,8,12,16,20,16,24,32,34,8,12,16,20,16,24,32,36,16,24,32,40,32,48,64,65,4,6,8,10,8,12,16,18,8... |
source/oasis/program-elements-protected_body_declarations.ads | optikos/oasis | 0 | 20807 | <reponame>optikos/oasis
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Declarations;
with Program.Lexical_Elements;
with Program.Elements.Defining_Identifiers;
with Program.Ele... |
Codes/Chapter06/P10/P06-10.asm | ar-ekt/Dandamudi-Assembly-Solutions | 8 | 1527 | global _start
extern ExitProcess
%INCLUDE "lib.h"
%macro geti 0
fgets buffer, 15
a2i 15, buffer
%endmacro
%macro puti 1
i2a DWORD %1, buffer
puts buffer
%endmacro
section .data
MAX_ROW EQU 12
MAX_COL EQU 15
NEWLINE db 10, 0
TAB db 9, 0
MSG_ROW_INPUT db "Enter matrix number o... |
src/main/antlr/Graphql.g4 | Sparow199/graphql-java | 5,355 | 7326 | <gh_stars>1000+
grammar Graphql;
import GraphqlSDL, GraphqlOperation, GraphqlCommon;
@header {
package graphql.parser.antlr;
}
@lexer::members {
public boolean isDigit(int c) {
return c >= '0' && c <= '9';
}
public boolean isNameStart(int c) {
return '_' == c ||
(c >= 'A' && ... |
models/tests/test25.als | transclosure/Amalgam | 4 | 3002 | module tests/test // Bugpost by <NAME>
// The correct behavior
// is to generate an error message (saying recursion not supported).
sig S {}
pred p { p }
run p
|
src/fsmaker-target-littlefs.adb | Fabien-Chouteau/fsmaker | 0 | 12912 | <filename>src/fsmaker-target-littlefs.adb
with Ada.Unchecked_Deallocation;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with GNAT.Source_Info;
with System;
with Interfaces; use Interfaces;
with Interfaces.C; use Interfaces.C;
with Simple_Logging;
with Littlefs; use Littlefs;
package body FSmaker.Target... |
agda/Syntax.agda | ryanakca/strong-normalization | 32 | 11252 | <gh_stars>10-100
-- Syntax: Types, terms and contexts.
module Syntax where
open import Library
infixr 6 _⇒_
infixr 4 _,_
-- Types and contexts.
data Ty : Set where
★ : Ty
_⇒_ : (a b : Ty) → Ty
data Cxt : Set where
ε : Cxt
_,_ : (Γ : Cxt) (a : Ty) → Cxt
-- Variables and terms.
data Var : (Γ : Cxt) (a ... |
Src/Ant32/Tests/ant32/arith/shr.asm | geoffthorpe/ant-architecture | 0 | 82941 | <gh_stars>0
#@tests shr
|
agda-stdlib-0.9/src/Data/List/Properties.agda | qwe2/try-agda | 1 | 2474 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- List-related properties
------------------------------------------------------------------------
-- Note that the lemmas below could be generalised to work with other
-- equalities than _≡_.
module Data.List.Pr... |
src/ada/src/afrl-impact-impactautomationrequest-spark_boundary.adb | pat-rogers/OpenUxAS | 0 | 4168 | <reponame>pat-rogers/OpenUxAS<filename>src/ada/src/afrl-impact-impactautomationrequest-spark_boundary.adb
package body afrl.impact.ImpactAutomationRequest.SPARK_Boundary with SPARK_Mode => Off is
--------------------------------------
-- Get_EntityList_From_TrialRequest --
------------------------------------... |
alloy4fun_models/trashltl/models/4/yzRDXBSyYFmEYwtrq.als | Kaixi26/org.alloytools.alloy | 0 | 4310 | <filename>alloy4fun_models/trashltl/models/4/yzRDXBSyYFmEYwtrq.als
open main
pred idyzRDXBSyYFmEYwtrq_prop5 {
some f: File | eventually always f not in File since f in Trash
}
pred __repair { idyzRDXBSyYFmEYwtrq_prop5 }
check __repair { idyzRDXBSyYFmEYwtrq_prop5 <=> prop5o } |
atari_st/scale.asm | michaelcmartin/bumbershoot | 20 | 174120 | <reponame>michaelcmartin/bumbershoot
text
hz_200 equ $04ba
;; Save original sound state in d6.
move.w #7,-(sp)
clr.w -(sp)
move.w #28,-(sp)
trap #14
addq.l #6,sp
move.l d0,d6
move.w #16,d0 ; Channel A uses envelope
move.w #8,d1
bsr sndreg
move.w #18,d0 ; 4 second decay period
move.w #11,d1
bsr sndr... |
01-Tooling/01-simple-script.applescript | Rolias/discover-applescript | 0 | 1111 | tell application "System Preferences"
activate
set the current pane to pane "Displays"
end tell |
Code/game-demo/brik.asm | ElectronicsTinkerer/PIC16-VIDEO | 1 | 80841 | <gh_stars>1-10
;
; PIC16F84A VIDEO Flappy Block Game
; <NAME> 2021
;
processor 16F84A ; Define processor
#include <xc.inc>
; CONFIG
CONFIG FOSC = HS ; Oscillator Selection bits (HS oscillator)
CONFIG WDTE = OFF ; Watchdog Timer (WDT disabled)
CONFIG PWRTE = OFF ... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-alleve__hard.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 61 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
3-mid/impact/source/3d/math/impact-d3-transform.ads | charlie5/lace | 20 | 17050 | <reponame>charlie5/lace
package impact.d3.Transform
--
-- The impact.d3.Transform class supports rigid transforms with only translation and rotation and no scaling/shear.
--
-- It can be used in combination with impact.d3.Vector, impact.d3.Quaternion and impact.d3.Matrix linear algebra classes.
--
is
use Math;
... |
tools-src/gnu/gcc/gcc/ada/g-dirope.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 15891 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
programs/oeis/026/A026337.asm | neoneye/loda | 22 | 247100 | ; A026337: a(n) = 4^n*(4^n - 1)/2.
; 0,6,120,2016,32640,523776,8386560,134209536,2147450880,34359607296,549755289600,8796090925056,140737479966720,2251799780130816,36028796884746240,576460751766552576,9223372034707292160,147573952581086478336,2361183241400462868480,37778931862819722756096,604462909806764831539200,96714... |
dropin/src/yaml-destination-c_handler.ads | robdaemon/AdaYaml | 32 | 772 | -- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
with System;
with Yaml.C;
package Yaml.Destination.C_Handler is
type Instance is new Destination.Instance with private;
function As_Destination (Handler : Yaml.C.Write_Handler;
... |
ccc_filter.scpt | ericbjones/alfredchimeflows | 5 | 2752 | set q to "{query}"
on convertListToString(theList, theDelimiter)
set AppleScript's text item delimiters to theDelimiter
set theString to theList as string
set AppleScript's text item delimiters to ""
return theString
end convertListToString
tell application "System Events"
tell application process "Amazon Chime"
... |
CP/Session3.agda | banacorn/bidirectional | 2 | 1094 | <reponame>banacorn/bidirectional
open import Relation.Binary using (Decidable; Setoid; DecSetoid)
open import Level
module CP.Session3 {a} {b} (ChanDecSetoid : DecSetoid zero a) (TypeDecSetoid : DecSetoid zero b) where
module TS = DecSetoid TypeDecSetoid
Type : Set
Type = DecSetoid.Carrier TypeDecSetoid
open De... |
programs/oeis/172/A172416.asm | neoneye/loda | 22 | 86058 | ; A172416: a(n) = 5*2^n/9 + 1/4 + (-1)^n*(n/6 + 7/36).
; 1,1,3,4,10,17,37,70,144,283,571,1136,2278,4549,9105,18202,36412,72815,145639,291268,582546,1165081,2330173,4660334,9320680,18641347,37282707,74565400,149130814,298261613,596523241,1193046466,2386092948,4772185879,9544371775,19088743532,38177487082,76354974145,152... |
hdes-dialect/hdes-ast/src/main/antlr4/imports/DecisionTableParser.g4 | the-wrench-io/hdes-parent | 1 | 2378 | parser grammar DecisionTableParser;
options { tokenVocab = HdesLexer; }
import TypeDefParser, ExpressionParser;
decisionTableUnit: simpleTypeName headers '{' hitPolicy '}';
hitPolicy: matchingPolicy | mappingPolicy;
matchingPolicy: (FIND_FIRST | FIND_ALL) '(' '{' whenThenRules* '}' ')';
whenThenRules: WHEN whenRules... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-osinte__vxworks.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 11565 | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-osinte__vxworks.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS ... |
alloy4fun_models/trashltl/models/11/feAqeidonnHemeEiG.als | Kaixi26/org.alloytools.alloy | 0 | 3341 | open main
pred idfeAqeidonnHemeEiG_prop12 {
eventually always all f:File | f in Trash implies always f in Trash'
}
pred __repair { idfeAqeidonnHemeEiG_prop12 }
check __repair { idfeAqeidonnHemeEiG_prop12 <=> prop12o } |
lib/target/z88/classic/init_far.asm | jpoikela/z88dk | 640 | 174916 | <filename>lib/target/z88/classic/init_far.asm
; Startup code for far memory model
; 31/3/00 GWL
; 21/5/00 Modified for more flexible CF-compatible structure arrangement
;
init_far:
IF DEFINED_far_mmset
ld a,MM_S1+MM_FIX
ELSE
ld a,MM_S1
ENDIF
ld (farmemspec),a ; initialise farmemspec
ld hl,1+(farheapsz/256)
ld (... |
grammar/Guarded.g4 | slmtnm/guarded | 0 | 4044 | grammar Guarded;
// Tokens
SEP: ';';
WHITESPACE: [ \r\n\t]+ -> skip;
NUMBER : [0-9]+('.'[0-9]*)?;
TRUE: 'True';
FALSE: 'False';
LOCAL_VARIABLE: 'local';
ID : [a-zA-Z_][0-9a-zA-Z_]*;
MUL: '*';
DIV: '/';
ADD: '+';
SUB: '-';
GT: '>';
LT: '<';
GE: '>=';
LE: '<=';
EQ: '==';
NEQ: '!=';
AND: '&&';
OR: '||';
NEG: '~';
IMPL: '... |
hal/gdt.asm | flex1988/bingos | 6 | 240838 | <filename>hal/gdt.asm
[GLOBAL gdt_flush]
gdt_flush:
mov eax, [esp+4]
lgdt [eax]
mov ax,0x10
mov ds,ax
mov es,ax
mov fs,ax
mov gs,ax
mov ss,ax
jmp 0x08:.flush
.flush:
ret
[GLOBAL idt_flush]
idt_flush:
mov eax, [esp+4]
lidt [eax]
ret
[GLOBAL tss_flush]
tss_flush:
mov ax, 0x2B
ltr ax
ret
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.