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
actions/clearqueue.applescript
52Sarah/play-song
80
2538
<filename>actions/clearqueue.applescript<gh_stars>10-100 -- clears workflow queue in Music.app -- on loadConfig() return (load script POSIX file (do shell script "bash resources/compile-config.sh")) end loadConfig on run query set config to loadConfig() clearQueue() of config end run
libpal/intel_64bit_systemv_nasm/wrmsr.asm
mars-research/pal
26
179448
<filename>libpal/intel_64bit_systemv_nasm/wrmsr.asm<gh_stars>10-100 bits 64 default rel section .text global pal_execute_wrmsr pal_execute_wrmsr : mov rax, rsi mov rdx, rsi shr rdx, 32 mov rcx, rdi wrmsr ret
ada-assignment/adaptive_quad.ads
PeterYHChen/nyu-pl-assignments
0
89
generic with function f(x:float) return float; package Adaptive_Quad is function AQuad(a, b, eps: float) return float; end Adaptive_Quad;
ada/euler4.adb
procrastiraptor/euler
1
9029
with Ada.Integer_Text_IO; with Is_Palindrome; procedure Euler4 is function String_Palindrome is new Is_Palindrome(Character, Positive, String); Prod, Max: Integer := 0; begin for I in Integer range 100 .. 999 loop for J in Integer range I .. 999 loop Prod := I * J; if Prod > Max and S...
programs/oeis/001/A001333.asm
jmorken/loda
1
240893
<reponame>jmorken/loda ; A001333: Numerators of continued fraction convergents to sqrt(2). ; 1,1,3,7,17,41,99,239,577,1393,3363,8119,19601,47321,114243,275807,665857,1607521,3880899,9369319,22619537,54608393,131836323,318281039,768398401,1855077841,4478554083,10812186007,26102926097,63018038201,152139002499,36729604319...
4rth-Sem-Ise/Microprocessors -X86-/hardware/rollingmsg.asm
mvnsia/4th_Sem_Ise
0
99466
<reponame>mvnsia/4th_Sem_Ise assume cs:code,ds:data data segment pa equ 20a0h pb equ 20a1h pc equ 20a2h cr equ 20a3h msg db 0d1h,0ffh,0ffh,0ffh,061h,0ffh,0ffh,0ffh,0e3h,0ffh,0ffh,0ffh,031h,0ffh data ends code segment start: mov ax,data mov ds,ax mov dx,cr mov al,80h out dx,al rpt: m...
libsrc/_DEVELOPMENT/temp/sp1/zx/tiles/asm_sp1_ScreenAttr.asm
meesokim/z88dk
0
16819
<gh_stars>0 ; uchar sp1_ScreenAttr(uchar row, uchar col) ; 02.2006 aralbrec, Sprite Pack v3.0 ; sinclair spectrum version SECTION code_temp_sp1 PUBLIC asm_sp1_ScreenAttr EXTERN asm_sp1_GetUpdateStruct asm_sp1_ScreenAttr: ; Return colour at background coord given. ; ; enter : d = row coord ; e = col coord ;...
Day-36/lodsb_stosb.asm
MasumBhai/50-Day-challenge-with-Assembly-Language
1
12312
<reponame>MasumBhai/50-Day-challenge-with-Assembly-Language .model small .stack 100h include 'emu8086.inc' .data n_line db 0ah,0dh,"$" str1 db 'ABC' str2 db 3 dup(?) .code main proc mov ax,@data mov ds,ax mov cx,3 @str_loop: lodsb add al,3 stosb loop @str_l...
src/gl/generated/gl-api-singles.ads
Roldak/OpenGLAda
79
8168
-- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" -- Autogenerated by Generate, do not edit package GL.API.Singles is pragma Preelaborate; Uniform1 : T33; Uniform1v : T34; Uniform2 : T35; Uniform2v : T36; Uniform3 : T37; Uniform3v : T38;...
src/classify.agda
xoltar/cedille
0
4812
<gh_stars>0 import cedille-options open import general-util module classify (options : cedille-options.options) {mF : Set → Set} {{_ : monad mF}} where open import lib open import cedille-types open import constants open import conversion open import ctxt open import is-free open import lift open import rename open i...
arch/ARM/Nordic/svd/nrf52/nrf_svd-temp.ads
rocher/Ada_Drivers_Library
192
16580
<filename>arch/ARM/Nordic/svd/nrf52/nrf_svd-temp.ads -- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA -- -- 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 ...
t1005.asm
zhangyuesai/8086-asm-learning-code
1
24465
assume cs:code stack segment dw 8 dup (0) stack ends code segment start: mov ax,stack mov ss,ax mov sp,16 mov ds,ax mov ax,0 call word ptr ds:[0eh] inc ax inc ax inc ax mov ax,4c00h int 21h code ends end start
Library/SpecUI/CommonUI/CItem/citemItem.asm
steakknife/pcgeos
504
21458
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1992-1994. All rights reserved. GEOWORKS CONFIDENTIAL PROJECT: PC MODULE: CommonUI/CItem (common code for specific UIs) FILE: citemItem.asm ROUTINES: Name Description ---- ----------- RE...
alloy4fun_models/trainstlt/models/4/eNiizB6bJHAKC7ZmX.als
Kaixi26/org.alloytools.alloy
0
4716
open main pred ideNiizB6bJHAKC7ZmX_prop5 { } pred __repair { ideNiizB6bJHAKC7ZmX_prop5 } check __repair { ideNiizB6bJHAKC7ZmX_prop5 <=> prop5o }
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_10_440.asm
ljhsiun2/medusa
9
490
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r14 push %rcx push %rdi push %rsi lea addresses_D_ht+0x11a29, %rsi lea addresses_D_ht+0xb409, %rdi nop nop nop nop dec %r10 mov $83, %rcx rep movsb nop nop nop nop nop xor $31080, %r11 lea addresses_normal_ht+0x1ce23, %rdi nop nop nop inc ...
c2000/C2000Ware_1_00_06_00/libraries/dsp/FPU/c28/source/vector/iabs_SP_CV_TMU0.asm
ramok/Themis_ForHPSDR
0
91981
<gh_stars>0 ;;############################################################################# ;;! \file source/vector/iabs_SP_CV_2_TMU0.asm ;;! ;;! \brief C-Callable inverse absolute value of an even length complex vector. ;;! \author <NAME> ;;! \date 06/21/13 ;; ;; HISTORY: ;; 06/21/13 - original (<NAME>) ;; ;; DES...
agda/TreeSort/Impl2.agda
bgbianchi/sorting
6
3386
<reponame>bgbianchi/sorting open import Relation.Binary.Core module TreeSort.Impl2 {A : Set} (_≤_ : A → A → Set) (tot≤ : Total _≤_) where open import BBSTree _≤_ open import Bound.Total A open import Bound.Total.Order _≤_ open import Data.List open import Data.Sum insert : {x :...
FASM/x64/console_calc_call.asm
secana/Assembler-Examples
8
168428
format PE64 console entry start include 'win64a.inc' section '.idata' import data readable writable library kernel32, 'kernel32.dll', \ msvcrt, 'MSVCRT.DLL' import kernel32, \ ExitProcess, 'ExitProcess' import msvcrt, \ printf, 'printf', \ scanf, 'scanf' se...
libsrc/target/zx-common/graphics/pointxy_MODE64.asm
Frodevan/z88dk
640
20554
<reponame>Frodevan/z88dk<gh_stars>100-1000 ; ; Plotting in tilemap mode ; IF FORzxn SECTION code_graphics PUBLIC pointxy_MODE64 pointxy_MODE64: defc NEEDpoint = 1 INCLUDE "pixel_MODE64.inc" ENDIF
oeis/048/A048590.asm
neoneye/loda-programs
11
102577
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A048590: Pisot sequence L(8,9). ; Submitted by <NAME> ; 8,9,11,14,18,24,32,43,58,79,108,148,203,279,384,529,729,1005,1386,1912,2638,3640,5023,6932,9567,13204,18224,25153,34717,47918,66139,91289,126003,173918,240054,331340,457340,631255,871306,1202643,1659980,2291232,316...
oeis/202/A202835.asm
neoneye/loda-programs
11
22802
; A202835: E.g.f.: exp(9*x/(1-2*x)) / sqrt(1-4*x^2). ; Submitted by <NAME>(s1) ; 1,9,121,2025,40401,927369,24000201,689220009,21710549025,743187098889,27441452694681,1086166287819369,45846179189949681,2054407698719865225,97357866191666622441,4862830945258077841449,255239441235423753980481,14040944744510973314880009 mo...
programs/oeis/302/A302390.asm
neoneye/loda
22
94173
; A302390: Triameter of the n-cube-connected cycle graph. ; 13,20,25,32,36,44,48,56,60,68,72,80,84,92,96,104,108,116,120,128,132,140,144,152,156,164,168,176,180,188,192,200,204,212,216,224,228,236,240,248,252,260,264,272,276,284,288,296,300,308,312,320,324,332,336 mov $4,$0 mov $6,$0 bin $0,3 mod $6,2 mov $1,$6 mov $5...
archive/agda-2/Oscar/Category/Functor.agda
m0davis/oscar
0
15522
<reponame>m0davis/oscar module Oscar.Category.Functor where open import Oscar.Category.Setoid open import Oscar.Category.Category open import Oscar.Category.Semifunctor open import Oscar.Level record Categories 𝔬₁ 𝔪₁ 𝔮₁ 𝔬₂ 𝔪₂ 𝔮₂ : Set (lsuc (𝔬₁ ⊔ 𝔪₁ ⊔ 𝔮₁ ⊔ 𝔬₂ ⊔ 𝔪₂ ⊔ 𝔮₂)) where constructor _,_ field ...
programs/oeis/332/A332116.asm
neoneye/loda
22
103645
<filename>programs/oeis/332/A332116.asm ; A332116: a(n) = (10^(2n+1)-1)/9 + 5*10^n. ; 6,161,11611,1116111,111161111,11111611111,1111116111111,111111161111111,11111111611111111,1111111116111111111,111111111161111111111,11111111111611111111111,1111111111116111111111111,111111111111161111111111111,111111111111116111111111...
runtime/s-ttssup.ads
rocher/TTS-Runtime-Ravenscar
2
29885
with System.BB.Threads; package System.TTS_Support is pragma Preelaborate (TTS_Support); procedure Hold (T : System.BB.Threads.Thread_Id; Check_Protected_Action : Boolean := False); procedure Continue (T : System.BB.Threads.Thread_Id); function Is_Held (T : System.BB.Threads.Thread_Id)...
setSeedX.asm
ansumanpalo/xv6-the_project
0
1673
_setSeedX: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" 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 ...
Numeral/Natural/Combinatorics.agda
Lolirofle/stuff-in-agda
6
7871
module Numeral.Natural.Combinatorics where open import Numeral.Natural open import Numeral.Natural.Oper -- Counting combinations. -- `𝑐𝐶 n k` is the number of ways one can pick `k` number of distinct objects from a set of `n` number of distinct objects. -- Equivalently, it is the number of `k`-sized subsets of an `...
src/plugins/yanlr/YAML.g4
kerschy/libelektra
0
3246
parser grammar YAML; options { tokenVocab=YAML; } yaml : STREAM_START (child | comment*) STREAM_END EOF ; child : comment* (value | map | sequence) comment* ; value : scalar ; scalar : PLAIN_SCALAR | SINGLE_QUOTED_SCALAR | DOUBLE_QUOTED_SCALAR ; map : MAP_START pairs MAP_END ; pairs : pair+ ;...
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48.log_21_2567.asm
ljhsiun2/medusa
9
173218
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x11cf3, %rdx nop nop nop nop and %r13, %r13 movl $0x61626364, (%rdx) nop nop nop nop nop cmp %rbx, %rbx lea addresses_D_ht+0x3f3, %rsi lea addresses_D_ht+0x101f3, %rdi nop nop...
core.asm
paulmooreparks/Tortilla
4
7687
; This file contains the code for the kernel LABEL core_os_core AUTO LABEL core_os_key_input AUTO LABEL core_os_print_reg AUTO LABEL core_os_puts AUTO LABEL core_os_putchar AUTO LABEL core_os_shut_down AUTO LA...
notes.applescript
droposhado/apple-notes-exporter
0
2358
<gh_stars>0 -- https://www.macosxautomation.com/applescript/notes/04.html -- https://github.com/robertgaal/notes-export -- https://github.com/panicsteve/notes-import -- https://github.com/ayman/emacs-applenotes/blob/master/applenotes.el based on applenotes--get-notes-list -- https://gist.githubusercontent.com/drewdiver...
programs/oeis/014/A014284.asm
neoneye/loda
22
97770
; A014284: Partial sums of primes, if 1 is regarded as a prime (as it was until quite recently, see A008578). ; 1,3,6,11,18,29,42,59,78,101,130,161,198,239,282,329,382,441,502,569,640,713,792,875,964,1061,1162,1265,1372,1481,1594,1721,1852,1989,2128,2277,2428,2585,2748,2915,3088,3267,3448,3639,3832,4029,4228,4439,4662,...
programs/oeis/250/A250870.asm
neoneye/loda
22
80407
; A250870: Number of (n+1) X (1+1) 0..3 arrays with nondecreasing x(i,j)-x(i,j-1) in the i direction and nondecreasing x(i,j)+x(i-1,j) in the j direction. ; 90,440,2002,8736,37130,155080,640002,2619056,10653370,43144920,174174002,701478976,2820264810,11324105960,45425564002,182089676496,729520967450,2921570654200,11696...
src/MLib/DFS/ViaInjection.agda
bch29/agda-matrices
0
2284
<reponame>bch29/agda-matrices open import MLib.Prelude.FromStdlib open import Relation.Binary using (Rel; _Respects₂_; IsStrictTotalOrder) open FE using (Π) module MLib.Prelude.DFS.ViaInjection {v v′ e} (V-setoid : Setoid v v′) (E : Rel (Setoid.Carrier V-setoid) e) (E-subst : E Respects₂ (Setoid._≈_ V-setoid))...
source/oasis/program-elements-task_body_stubs.ads
optikos/oasis
0
25127
-- 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.Elements.Aspect_Specificati...
antlr/java/04-cmdline-results/CmdLine.g4
flange/drift-dev
2
2615
grammar CmdLine; script : cmd';'* ; cmd : name '=' service ; service: binary args* ; name : ID_S ; binary : ID_B ; args : ID_S | FILE ; ID_S : [a-z]+ ; ID_B : [A-Z][a-z]+ ; FILE : ID_S '.' ID_S; WS : [ \t\r\n]+ -> skip ;
apps/nrf24_modem/modem.adb
ekoeppen/STM32_Generic_Ada_Drivers
1
14115
<filename>apps/nrf24_modem/modem.adb with Interfaces; use Interfaces; with STM32GD.Board; use STM32GD.Board; with STM32_SVD; use STM32_SVD; with Host_Message; package body Modem is RX_Address : constant Radio.Address_Type := (16#00#, 16#F0#, 16#F0#, 16#F0#, 16#F0#); Channel : constant Radio.Channel_Type := 70; ...
alloy4fun_models/trashltl/models/4/qtX4jTR3rDiqaE3pw.als
Kaixi26/org.alloytools.alloy
0
4798
open main pred idqtX4jTR3rDiqaE3pw_prop5 { eventually some Trash } pred __repair { idqtX4jTR3rDiqaE3pw_prop5 } check __repair { idqtX4jTR3rDiqaE3pw_prop5 <=> prop5o }
tools-src/gnu/gcc/gcc/ada/s-finroo.ads
enfoTek/tomato.linksys.e2000.nvram-mod
80
16908
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
pkg/language/grammar/Klang.g4
devtron-labs/inception
1
6361
<reponame>devtron-labs/inception<gh_stars>1-10 grammar Klang; parse : block EOF ; block : stat* ; stat : assignment | json_edit_fn | json_delete_fn | yaml_edit_fn | yaml_delete_fn | kube_json_delete_fn | kube_json_edit_fn | kube_yaml_delete_fn | kube_yaml_edit_fn | if_stat | while_stat | sleep_fn ...
programs/oeis/086/A086162.asm
jmorken/loda
1
603
; A086162: Number of monomial ideals in two variables x, y that are Artinian, integrally closed, of colength n and contain x^3. ; 1,1,2,3,3,5,5,5,7,8,8,11,11,11,14,15,15,19,19,19,23,24,24,29,29,29,34,35,35,41,41,41,47,48,48,55,55,55,62,63,63,71,71,71,79,80,80,89,89,89,98,99,99,109,109,109,119,120,120,131,131,131,142,14...
chat_client_2.adb
cborao/Ada-P4-chat
0
19428
--PRÁCTICA 4: <NAME> (Chat_Client_2) with Handlers; with Ada.Text_IO; with Chat_Messages; with Lower_Layer_UDP; with Ada.Command_Line; with Ada.Strings.Unbounded; procedure Chat_Client_2 is package ATI renames Ada.Text_IO; package CM renames Chat_Messages; package LLU renames Lower_Layer_UDP; package A...
Task/Hofstadter-Figure-Figure-sequences/Ada/hofstadter-figure-figure-sequences-3.ada
LaudateCorpus1/RosettaCodeData
1
8058
with Ada.Text_IO, Hofstadter_Figure_Figure; procedure Test_HSS is use Hofstadter_Figure_Figure; A: array(1 .. 1000) of Boolean := (others => False); J: Positive; begin for I in 1 .. 10 loop Ada.Text_IO.Put(Integer'Image(FFR(I))); end loop; Ada.Text_IO.New_Line; for I in 1 .. 40 loop ...
Library/GrObj/Attr/attrArrays.asm
steakknife/pcgeos
504
86364
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: UI FILE: attrArrays.asm AUTHOR: <NAME>, Nov 15, 1989 REVISION HISTORY: Name Date Description ---- ---- ----------- Steve 11/15/89 Initia...
lime-loader/src/main/antlr/LimedocLexer.g4
Dschoordsch/gluecodium
1
1486
<reponame>Dschoordsch/gluecodium /* * Copyright (C) 2016-2019 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
include/display.asm
ZaidMade/AlchemyQuest
0
94528
<reponame>ZaidMade/AlchemyQuest IF !DEF(DISPLAY_ASM) DISPLAY_ASM SET 1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; !!!! TODO !!!! ; -Feb 11, 2021- ; ; Figure out how to clean up this code and do the fade in/out a...
src/Categories/Morphism/Isomorphism.agda
MirceaS/agda-categories
0
1258
<filename>src/Categories/Morphism/Isomorphism.agda {-# OPTIONS --without-K --safe #-} open import Categories.Category -- Mainly *properties* of isomorphisms, and a lot of other things too -- TODO: split things up more semantically? module Categories.Morphism.Isomorphism {o ℓ e} (𝒞 : Category o ℓ e) where open impo...
aunit/aunit-reporter-gnattest.ads
btmalone/alog
0
11675
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
programs/oeis/017/A017803.asm
neoneye/loda
22
16127
; A017803: Binomial coefficients C(87,n). ; 1,87,3741,105995,2225895,36949857,504981379,5843355957,58433559570,512916800670,4000751045226,28005257316582,177366629671686,1023269017336650,5408707663065150,26322377293583730,118450697821126785,494705855605882455,1923856105133987325,6986635329170796075,23754560119180706655,...
Graphics/Font/SysDefault.asm
jaredwhitney/os3
5
2486
<filename>Graphics/Font/SysDefault.asm Font.order : db 'A', 'a', 'B', 'b', 'C', 'c', 'D', 'd', 'E', 'e', 'F', 'f', 'G', 'g' db 'H', 'h', 'I', 'i', 'J', 'j', 'K', 'k', 'L', 'l', 'M', 'm', 'N', 'n', 'O', 'o' db 'P', 'p', 'Q', 'q', 'R', 'r', 'S', 's', 'T', 't', 'U', 'u', 'V', 'v', 'W', 'w' db 'X', 'x', 'Y', 'y', 'Z', 'z',...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_67.asm
ljhsiun2/medusa
9
1112
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0xf57b, %rax nop nop nop nop sub %r9, %r9 mov $0x6162636465666768, %r13 movq %r13, (%rax) nop nop nop nop dec %r11 lea addresses_D_ht+0xbabb, %rsi lea addresses_WC_ht+0x39fb, %r...
oeis/311/A311481.asm
neoneye/loda-programs
11
2128
<reponame>neoneye/loda-programs<filename>oeis/311/A311481.asm ; A311481: Coordination sequence Gal.6.219.2 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> ; 1,4,8,12,17,21,27,31,36,40,44,48,52,56,60,65,69,75,79,84...
Transynther/x86/_processed/NC/_st_zr_un_/i7-8650U_0xd2.log_4670_669.asm
ljhsiun2/medusa
9
168330
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r15 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1cc15, %r9 nop nop nop nop and $12598, %r10 mov (%r9), %r11 cmp %rax, %rax lea addresses_UC_ht+0x5e45, %r15 nop nop nop nop and %rbp, %rbp and $0xffffffff...
alloy4fun_models/trashltl/models/5/BxKXQFpa2FowGoBn4.als
Kaixi26/org.alloytools.alloy
0
1673
<reponame>Kaixi26/org.alloytools.alloy open main pred idBxKXQFpa2FowGoBn4_prop6 { all f:File | (f in Trash) triggered (f in Trash) } pred __repair { idBxKXQFpa2FowGoBn4_prop6 } check __repair { idBxKXQFpa2FowGoBn4_prop6 <=> prop6o }
gi_01/src/wa2.adb
gerr135/gnat_bugs
0
24715
pragma Ada_2012; with Ada.Text_IO; package body wa2 is procedure Set_Smth (AB : in out Abstract_Base'Class; smth : Integer) is use Ada.Text_IO; begin Put_Line(" Set_smth(" & smth'img & ")"); -- never gets here declare R : Repr := AB.ToRepr; begin R.smth...
stdlib-exts/Class/Show.agda
WhatisRT/meta-cedille
35
6361
module Class.Show where open import Data.String using (String) record Show {a} (A : Set a) : Set a where field show : A -> String open Show {{...}} public
iod/con2/ptr/setup.asm
olifink/smsqe
0
160383
<reponame>olifink/smsqe ; Standard Pointer Setup V2.01  2000 <NAME> section driver xdef pt_setup xref pt_init xref pt_installu xref cn_procv ; d1 c screen size ; d2 c colour depth ; d3 c driver mode ; d4 c colour depth to install (=d2 install, <>d2 do not install) pt_setup jsr pt_init ; initialise pt...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1034.asm
ljhsiun2/medusa
9
172294
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x6feb, %r15 nop nop nop nop inc %rbp movw $0x6162, (%r15) dec %rdx lea addresses_WC_ht+0x16f2b, %r8 nop nop nop nop nop sub %r9, %r9 mov (%r8), %eax nop...
programs/oeis/099/A099923.asm
neoneye/loda
22
244458
; A099923: Fourth powers of Lucas numbers A000032. ; 16,1,81,256,2401,14641,104976,707281,4879681,33362176,228886641,1568239201,10750371856,73680216481,505022001201,3461445366016,23725169980801,162614549665681,1114577187760656,7639424429247601,52361397313124641,358890347609579776,2459871059916916881,1686020700907293408...
programs/oeis/080/A080926.asm
karttu/loda
1
89519
<reponame>karttu/loda ; A080926: Partial sums of A080925. ; 0,1,6,19,60,181,546,1639,4920,14761,44286,132859,398580,1195741,3587226,10761679,32285040,96855121,290565366,871696099,2615088300,7845264901,23535794706,70607384119,211822152360,635466457081,1906399371246,5719198113739,17157594341220,51472783023661,15441834907...
Multidimensional/Data/NNat/Base.agda
wrrnhttn/agda-cubical-multidimensional
0
343
<filename>Multidimensional/Data/NNat/Base.agda {-# OPTIONS --cubical #-} module Multidimensional.Data.NNat.Base where open import Cubical.Foundations.Prelude open import Cubical.Data.Unit open import Cubical.Data.Nat open import Cubical.Data.Prod open import Cubical.Data.Bool open import Cubical.Relation.Nullary o...
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstcaps_h.ads
persan/A-gst
1
17860
<reponame>persan/A-gst pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with glib; with glib.Values; with System; with glib; -- limited with GStreamer.GST_Low_Level.glib_2_0_glib_garray_h; with Interfaces.C.Strings; limited with GStreamer.GST_Low_Level.gstreamer_...
Transynther/x86/_processed/NONE/_ht_st_zr_un_/i7-8650U_0xd2.log_461_1685.asm
ljhsiun2/medusa
9
22333
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x61f9, %rsi lea addresses_WC_ht+0x5259, %rdi nop nop nop nop nop dec %rdx mov $76, %rcx rep movsw nop nop nop xor $28348, %rax lea addresses_WC_ht+0x15939, %r12 clflush (%r12) nop ...
e0701.asm
zhangyuesai/8086-asm-learning-code
1
98567
<reponame>zhangyuesai/8086-asm-learning-code assume cs:codesg data segment ; 0000h: ; year array db '1975','1976','1977','1978','1979','1980','1981','1982','1983' db '1984','1985','1986','1987','1988','1989','1990','1991','1992' db '1993','1994','1995' ; 0054h: ; income array dd 16,22,382,1356,2390,8000,16000,2448...
programs/oeis/140/A140758.asm
karttu/loda
1
246658
<filename>programs/oeis/140/A140758.asm ; A140758: Floor(n*Pi/2). ; 0,1,3,4,6,7,9,10,12,14,15,17,18,20,21,23,25,26,28,29,31,32,34,36,37,39,40,42,43,45,47,48,50,51,53,54,56,58,59,61,62,64,65,67,69,70,72,73,75,76,78,80,81,83,84,86,87,89,91,92,94,95,97,98,100,102,103,105 mov $1,399 mul $1,$0 div $1,254
Source/ALL/Utils/Exception.agda
heades/Agda-LLS
3
10593
module Utils.Exception where {-# IMPORT Utils.Exception #-} open import Utils.HaskellTypes data Either (A : Set) (B : Set) : Set where Left : A → Either A B Right : B → Either A B {-# COMPILED_DATA Either Either Left Right #-} right : ∀{X A : Set} → A → Either X A right x = Right x error : ∀{X A : Set} → X → ...
19_SEGNO_ARRAY.asm
aleattene/lc2-exams
0
101167
; ************ DESCRIZIONE SOTTOPROGRAMMA ************ Il seguente sottoprogramma denominato SEGNO_ARRAY riceve: - nei registri R0 e R1 gli indirizzi rispettivamente della prima e dell’ultima cella di una zona di memoria contenente l’array I di numeri interi in complemento a due; - nel registro R2 l’indirizzo della p...
programs/oeis/085/A085636.asm
jmorken/loda
1
179882
; A085636: Erroneous version of A046142. ; 1,7,33,185,553,1233,2321,3913,6105,8993,12673,17241,22793,29425,37233,46313,56761,68673,82145,97273,114153,132881,153553,176265,201113,228193,257601,289433,323785,360753,400433,442921,488313,536705 mul $0,4 lpb $0 sub $0,1 trn $0,4 mov $2,$0 add $0,2 div $0,2 add ...
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_657.asm
ljhsiun2/medusa
9
85562
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %rbx push %rsi lea addresses_WC_ht+0x1656d, %r13 nop nop nop nop cmp $47150, %r8 mov $0x6162636465666768, %rsi movq %rsi, (%r13) nop sub %r8, %r8 lea addresses_A_ht+0x67d1, %r13 clflush (%r13) nop cmp $24692, %rbx m...
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_21829_2334.asm
ljhsiun2/medusa
9
101018
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_A_ht+0x12905, %rsi lea addresses_WT_ht+0x68b1, %rdi sub $15201, %r10 mov $6, %rcx rep movsl nop nop nop inc %r10 lea addresses_normal_ht+0x13f05, %rsi lea addresses_normal_ht+0x11d05,...
applescripts/CoB/open commit in GitHub.scpt
adagios/dotfiles
2
2727
<reponame>adagios/dotfiles<filename>applescripts/CoB/open commit in GitHub.scpt -- set browser_ to "_Firefox latest release" set browser_ to "Google Chrome" set commit_ to the clipboard as text set msg to ("Opening commit \"" & commit_ & "\" on GitHub. Choose Project:") set projs to {"Genesis", "UserM", "ConfM", "Rec...
alloy4fun_models/trashltl/models/19/bkbcd36PemWFYYLqq.als
Kaixi26/org.alloytools.alloy
0
5242
open main pred idbkbcd36PemWFYYLqq_prop20 { always all f : File | f in Trash since f in File - Protected } pred __repair { idbkbcd36PemWFYYLqq_prop20 } check __repair { idbkbcd36PemWFYYLqq_prop20 <=> prop20o }
programs/oeis/002/A002276.asm
neoneye/loda
22
241966
; A002276: a(n) = 2*(10^n - 1)/9. ; 0,2,22,222,2222,22222,222222,2222222,22222222,222222222,2222222222,22222222222,222222222222,2222222222222,22222222222222,222222222222222,2222222222222222,22222222222222222,222222222222222222,2222222222222222222,22222222222222222222,222222222222222222222,2222222222222222222222,2222222...
tests/Arithmetic/Sum_of_n_8b.asm
ZubinGou/8086-emulator
39
11968
NAME Arithmetic TITLE Sum_of_n_8b ; Test Passed assume ds:data,cs:code data segment a db 1,2,3,4,5,6,7,8,9,10 data ends code segment start: mov ax,data mov ds,ax mov cl,10 lea bx,a mov ah,00 mov al,00 l1: add al,by...
tests/incbinstr/6.asm
NullMember/customasm
0
11827
#d incbinstr("unk" @ 0xffff) ; error: not found
ada_lexical_parser.adb
annexi-strayline/AURA
13
9940
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
programs/oeis/173/A173316.asm
karttu/loda
0
168845
; A173316: 6*n! - 1. ; 5,5,11,35,143,719,4319,30239,241919,2177279,21772799,239500799,2874009599,37362124799,523069747199,7846046207999,125536739327999,2134124568575999 gcd $1,$0 fac $1 mul $1,6 sub $1,1
arch/ARM/STM32/driversL0/stm32-gpio.adb
morbos/Ada_Drivers_Library
2
29851
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2017, AdaCore -- -- -- -- ...
demo/tutorial/components.ads
csb6/libtcod-ada
0
21925
<reponame>csb6/libtcod-ada package Components is -- Stats type Health is range 0 .. 1000; type Defense is range 0 .. 25; end Components;
programs/oeis/158/A158657.asm
neoneye/loda
22
243071
; A158657: a(n) = 784*n^2 - 28. ; 756,3108,7028,12516,19572,28196,38388,50148,63476,78372,94836,112868,132468,153636,176372,200676,226548,253988,282996,313572,345716,379428,414708,451556,489972,529956,571508,614628,659316,705572,753396,802788,853748,906276,960372,1016036,1073268,1132068,1192436,1254372,1317876,1382948,...
Cubical/HITs/GroupoidQuotients/Properties.agda
Schippmunk/cubical
0
9334
{- Groupoid quotients: -} {-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.HITs.GroupoidQuotients.Properties where open import Cubical.HITs.GroupoidQuotients.Base open import Cubical.Core.Everything open import Cubical.Foundations.Prelude open import Cubical.Foundations.Isomorphism open import Cu...
Task/Execute-a-Markov-algorithm/Ada/execute-a-markov-algorithm-1.ada
LaudateCorpus1/RosettaCodeData
1
19263
<filename>Task/Execute-a-Markov-algorithm/Ada/execute-a-markov-algorithm-1.ada<gh_stars>1-10 with Ada.Strings.Unbounded; package Markov is use Ada.Strings.Unbounded; type Ruleset (Length : Natural) is private; type String_Array is array (Positive range <>) of Unbounded_String; function Parse (S : String_Ar...
src/arch/risc-v/include/interrupt.asm
QRWells/Hammer-OS
0
25929
.altmacro # register has 8 bytes length .set REG_SIZE, 8 # context size is 34 * 8 bytes .set CONTEXT_SIZE, 34 # macros for saving registers .macro SAVE reg, offset sd \reg, \offset*8(sp) .endm .macro SAVE_N n SAVE x\n, \n .endm # macros for restoring registers .macro LOAD reg, offset ld \reg, \o...
test/Succeed/QuoteTerm.agda
pnlph/agda
0
5589
module QuoteTerm where open import Common.Reflection open import Common.Prelude renaming (Nat to ℕ; module Nat to ℕ) data _≡_ {a}{A : Set a}(x : A) : A → Set where refl : x ≡ x test₁ : quoteTerm (λ {A : Set} (x : A) → x) ≡ lam hidden (abs "A" (lam visible (abs "x" (var 0 [])))) test₁ = refl -- Local var...
data/maps/objects/SilphCo8F.asm
opiter09/ASM-Machina
1
96045
SilphCo8F_Object: db $2e ; border block def_warps warp 16, 0, 1, SILPH_CO_9F warp 14, 0, 0, SILPH_CO_7F warp 18, 0, 0, SILPH_CO_ELEVATOR warp 3, 11, 6, SILPH_CO_8F warp 3, 15, 4, SILPH_CO_2F warp 11, 5, 5, SILPH_CO_2F warp 11, 9, 3, SILPH_CO_8F def_signs def_objects object SPRITE_SILPH_WORKER, 4, ...
ALL_ROTATIONS.asm
sekharkaredla/8085
1
165619
<gh_stars>1-10 LDA 4000 RLC STA 5000 RAL STA 5001 RRC STA 5002 RAR STA 5003 RST 1
src/kernel/arch/x86/registers.nasm
fossabot/metta
32
164796
; ; Part of Metta OS. Check https://atta-metta.net for latest version. ; ; Copyright 2007 - 2017, <NAME> <<EMAIL>> ; ; Distributed under the Boost Software License, Version 1.0. ; (See file LICENSE_1_0.txt or a copy at http://www.boost.org/LICENSE_1_0.txt) ; ; Provides functions to read/write registers on the X86 archi...
Transynther/x86/_processed/P/_zr_/i3-7100_9_0x84_notsx.log_2_1386.asm
ljhsiun2/medusa
9
245135
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x19bb, %r14 nop nop sub %rax, %rax movb (%r14), %dl nop nop nop nop xor $44074, %r8 lea addresses_UC_ht+0x113b0, %rsi lea addresses_WT_ht+0x14e30, %rdi nop nop nop nop nop sub ...
oeis/006/A006695.asm
neoneye/loda-programs
11
177630
; A006695: a(2n)=2*a(2n-2)^2-1, a(2n+1)=2a(2n)-1, a(0)=2. ; Submitted by <NAME> ; 2,3,7,13,97,193,18817,37633,708158977,1416317953,1002978273411373057,2005956546822746113,2011930833870518011412817828051050497,4023861667741036022825635656102100993,8095731360557835890888779535060256832479295062749579257164654370487894017...
Lambda/Substitution/TwoSemantics.agda
nad/codata
1
16231
<filename>Lambda/Substitution/TwoSemantics.agda ------------------------------------------------------------------------ -- The two big-step semantics given by <NAME> Grall in "Coinductive -- big-step operational semantics" ------------------------------------------------------------------------ module Lambda.Substitu...
src/boot.asm
Magical-Chicken/simple-x86-kernel
0
164864
# multiboot config and setup .set ALIGN, 1 << 0 # align modules on page boundaries .set MEMINFO, 1 << 1 # provide memory map .set FLAGS, ALIGN | MEMINFO # flags .set MAGIC, 0x1BADB002 # header magic .set CHECKSUM, -(MAGIC + FLAGS) # checksum to prove multi .sect...
src/main/fragment/mos6502-common/_deref_qvoc1=_deref_qvoc1_plus_vwum1.asm
jbrandwood/kickc
2
164583
clc lda {c1} adc {m1} sta {c1} lda {c1}+1 adc {m1}+1 sta {c1}+1
tests/src/trendy_terminal-lines-tests.ads
pyjarrett/archaic_terminal
3
1935
with Trendy_Test; package Trendy_Terminal.Lines.Tests is function All_Tests return Trendy_Test.Test_Group; end Trendy_Terminal.Lines.Tests;
oeis/158/A158494.asm
neoneye/loda-programs
11
3358
; A158494: Boundary area of the T-square fractal. ; Submitted by <NAME> ; 4,24,80,248,768,2360,7200,21848,66048,199160,599520,1802648,5416128,16264760,48827040,146546648,439771008,1319575160,3959249760,11878797848,35638490688,106919666360,320767387680,962318940248,2886990375168,8661038234360,25983248920800,779500151978...
programs/oeis/322/A322981.asm
jmorken/loda
1
82031
<gh_stars>1-10 ; A322981: If n is the k-th prime power > 1, a(n) = k, otherwise a(n) = 0. ; 0,1,2,3,4,0,5,6,7,0,8,0,9,0,0,10,11,0,12,0,0,0,13,0,14,0,15,0,16,0,17,18,0,0,0,0,19,0,0,0,20,0,21,0,0,0,22,0,23,0,0,0,24,0,0,0,0,0,25,0,26,0,0,27,0,0,28,0,0,0,29,0,30,0,0,0,0,0,31,0,32,0,33,0,0,0,0,0,34,0,0,0,0,0,0,0,35,0,0,0,36...
agda/tests/compileCoreLibrary.agda
piyush-kurur/hott
0
14244
<gh_stars>0 {-# OPTIONS --without-K #-} module tests.compileCoreLibrary where open import hott.core open import hott.core.theorems open import hott.topology open import hott.topology.theorems open import io.placeholder main : IO Unit main = dummyMain
DL_ODD.asm
CallMeMengMeng/ASSEMBLY-LANGUAGE
0
95934
; EXTRACT FROM <THE PRINCIPLE OF MICROCOMPUTER> TEXTBOOK. ; IF DL STORES ODD NUMBER, SET AL 0, OTHERWISE SET AL -1 CODE SEGMENT ASSUME CS:CODE START: MOV DL,01H TEST DL,01H ; TEST WILL 'AND' TWO OPRAS BIT TO BIT, AND THE ; LAST BIT OF ODD NUMBER IS 1, 'AND' 01H EQUALS ; TO 01H(!=0) WHICH ME...
zombie.asm
bhavesh01shukla/Modified-XV-6
0
172196
<reponame>bhavesh01shukla/Modified-XV-6 _zombie: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(void) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0...
src/main/fragment/mos6502-common/pbum1_derefidx_vbuc1=vbuaa.asm
jbrandwood/kickc
2
177156
<filename>src/main/fragment/mos6502-common/pbum1_derefidx_vbuc1=vbuaa.asm ldy {m1} sty $fe ldy {m1}+1 sty $ff ldy #{c1} sta ($fe),y
archive/agda-1/TermIsomorphism.agda
m0davis/oscar
0
8480
module TermIsomorphism where open import OscarPrelude open import Term open import VariableName open import FunctionName open import Arity open import Vector open import Data.Fin using (fromℕ ; toℕ ) renaming (raise to raiseFin) open import Unify using (i ; leaf ; _fork_) renaming (Term to STerm ; AList to SAList) ...