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/Categories/Category/Monoidal/Interchange.agda | Trebor-Huang/agda-categories | 279 | 12861 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category using (Category; module Commutation)
-- The "four middle interchange" for monoidal categories.
--
-- Aka the "interchange law" or "exchange law" (though those terms are
-- more comonly used in the more general context of composition in
-- 2-categories... |
alloy4fun_models/trainstlt/models/2/J7XDrjEnvGXx5A3fh.als | Kaixi26/org.alloytools.alloy | 0 | 5131 | open main
pred idJ7XDrjEnvGXx5A3fh_prop3 {
one Train.pos
}
pred __repair { idJ7XDrjEnvGXx5A3fh_prop3 }
check __repair { idJ7XDrjEnvGXx5A3fh_prop3 <=> prop3o } |
PRG/levels/Fortress/W5Tower1.asm | narfman0/smb3_pp1 | 0 | 5142 | <reponame>narfman0/smb3_pp1
; Original address was $B475
; World 5 "Sand castle" first part
.word W5T2L ; Alternate level layout
.word W5T2O ; Alternate object layout
.byte LEVEL1_SIZE_03 | LEVEL1_YSTART_170
.byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_13 | LEVEL3_VSCROLL_LOCKED... |
24Oct2019/lab12.asm | candh/8086-programs | 0 | 90535 | .model small
.stack 100h
.code
main proc
mov ax, @data
mov ds, ax
mov ah, 9
lea dx, msg1
int 21h
mov ah, 1
int 21h
mov cl, al
mov ah, 9
lea dx, msg2
int 21h
mov ah, 2
mov dl, '1'
int 21h
; doing the actual math ... |
oeis/131/A131115.asm | neoneye/loda-programs | 11 | 9692 | <gh_stars>10-100
; A131115: Triangle read by rows: T(n,k) = 7*binomial(n,k) for 1 <= k <= n with T(n,n) = 1 for n >= 0.
; Submitted by <NAME>(s2)
; 1,7,1,7,14,1,7,21,21,1,7,28,42,28,1,7,35,70,70,35,1,7,42,105,140,105,42,1,7,49,147,245,245,147,49,1,7,56,196,392,490,392,196,56,1,7,63,252,588,882,882,588,252,63,1,7,70,315... |
ESEMPI/Es_outNum_ext.asm | Porchetta/py-pdp8-tk | 8 | 177138 | <gh_stars>1-10
ORG 100
LDA NUM
STA X
BSA DIV
LDA Q
CMA
INC
STA NUM
BSA PRINT
LDA TMP
STA Y
LDA R
STA X
CLA
STA Q
STA R
BSA DIV
LDA Q
SPA
LDA INITH
STA HEAD
BUN PRINTR
HLT
PRINTR, LDA R
CMA
INC
STA NUM
BSA PRINT
HLT
// Print -----
PRINT, DEC 0
INITP, LDA HEAD I
ADD DIFF
ADD NUM
SZA
BUN AFT
BUN FINEP
AFT, LDA HE... |
test/Fail/Issue2788a.agda | cruhland/agda | 1,989 | 8550 | module _ where
{-# BUILTIN INTERVAL I #-}
|
libsrc/osca/change_dir.asm | meesokim/z88dk | 0 | 172404 | <gh_stars>0
;
; Old School Computer Architecture - interfacing FLOS
; <NAME>, 2011
;
; Enter in current directory entry
;
; $Id: change_dir.asm,v 1.2 2015/01/19 01:33:00 pauloscustodio Exp $
;
INCLUDE "flos.def"
PUBLIC change_dir
EXTERN flos_err
change_dir:
call kjt_change_dir
jp flos_err
|
object-handle-generic_unbounded_array.adb | jrcarter/Ada_GUI | 19 | 28439 | -- --
-- package Copyright (c) <NAME> --
-- Object.Handle.Unbounded_Array Luebeck --
-- Implementation Spring, 2003 --
-- ... |
exercises/4_inputs.asm | Catherine22/Assembly | 0 | 91584 | <gh_stars>0
section .data
userMsg db "Please enter a number (5 digits max): "
lenUserMsg equ $-userMsg
dispMsg db "You have entered: "
lenDispMsg equ $-dispMsg
;The bss section is used for declaring variables
section .bss ;uninitialised data
num resb 5
;The text section is used for keeping the ... |
programs/oeis/070/A070597.asm | karttu/loda | 1 | 27300 | ; A070597: Duplicate of A070474.
; 0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3
mov $1,$0
pow $1,7
mod $1,12
|
libsrc/_DEVELOPMENT/compress/zx7/c/sdcc_iy/dzx7_mega_callee.asm | meesokim/z88dk | 0 | 25585 | <gh_stars>0
; void dzx7_mega_callee(void *src, void *dst)
SECTION code_compress_zx7
PUBLIC _dzx7_mega_callee
EXTERN asm_dzx7_mega
_dzx7_mega_callee:
pop af
pop hl
pop de
push af
jp asm_dzx7_mega
|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_959.asm | ljhsiun2/medusa | 9 | 7189 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r14
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x8a49, %r11
clflush (%r11)
nop
dec %r12
mov (%r11), %r14
nop
add $2747, %r10
lea addresses_D_ht+0x1d389, %rsi
lea addresses_normal_ht+0x48d9, %rdi
no... |
Project4/Sandbox/reset.asm | orrinjelo/virtual-machine | 0 | 243499 | ; GLOBALS ===========================================================
SIZE .INT 7
cnt .INT 0
tenth .INT 0
c .BYT 0
.BYT 0
.BYT 0
.BYT 0
.BYT 0
.BYT 0
.BYT 0
data .INT 0
flag ... |
oeis/316/A316137.asm | neoneye/loda-programs | 11 | 9459 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A316137: Decimal expansion of the least x such that 1/x + 1/(x+2) + 1/(x+4) = 1.
; Submitted by <NAME>
; 3,4,8,9,2,8,8,5,7,1,8,1,0,0,7,8,7,6,2,7,9,2,9,3,6,5,3,0,4,5,4,8,4,9,2,4,1,1,6,8,0,6,5,8,3,9,4,8,2,9,9,3,1,1,5,5,3,6,5,6,6,4,5,5,1,7,0,6,7,4,9,3,4,1,4,2,6,1,6,4,1,9,3... |
src/us/parr/bookish/parse/BookishLexer.g4 | pietroppeter/bookish | 0 | 7235 | lexer grammar BookishLexer;
BOOK : '<book ' -> pushMode(XML_MODE) ;
ARTICLE : '<article' -> pushMode(XML_MODE) ;
CHAPTER : '<chapter ' -> pushMode(XML_MODE) ;
SECTION : '<section ' -> pushMode(XML_MODE) ;
SUBSECTION : '<subsection ' -> pushMode(XML_MODE) ;
SUBSUBSECTION: '<subsubsection ' -> pushMode(XML_M... |
test/Fail/Polarity-pragma-for-defined-name.agda | pthariensflame/agda | 3 | 185 | A : Set₁
A = Set
{-# POLARITY A #-}
|
programs/oeis/250/A250120.asm | karttu/loda | 0 | 11283 | ; A250120: Coordination sequence for planar net 3.3.3.3.6 (also called the fsz net).
; 1,5,9,15,19,24,29,33,39,43,48,53,57,63,67,72,77,81,87,91,96,101,105,111,115,120,125,129,135,139,144,149,153,159,163,168,173,177,183,187,192,197,201,207,211,216,221,225,231,235,240,245,249,255,259,264,269,273,279,283,288,293,297,303,3... |
programs/oeis/037/A037592.asm | karttu/loda | 1 | 166507 | ; A037592: Base-6 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,3.
; 1,6,39,235,1410,8463,50779,304674,1828047,10968283,65809698,394858191,2369149147,14214894882,85289369295,511736215771,3070417294626,18422503767759,110535022606555,663210135639330,3979260813835983
cal $0,3314... |
Driver/IFS/RFSD/rfsd.asm | steakknife/pcgeos | 504 | 171351 | <filename>Driver/IFS/RFSD/rfsd.asm<gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: RFS (Remote File System) Driver
FILE: rfsd.asm
AUTHOR: <NAME> 4/92
ROUTINES:
Name Descrip... |
applescripts/itune.scpt | calvinqc/dotfiles | 2 | 4158 | <filename>applescripts/itune.scpt<gh_stars>1-10
(* Get the current song from iTunes or Spotify *)
if application "iTunes" is running then
tell application "iTunes"
set theName to name of the current track
set theArtist to artist of the current track
try
return "♫ " & theName & " - " & theArtist
... |
oeis/025/A025986.asm | neoneye/loda-programs | 11 | 22805 | ; A025986: Expansion of 1/((1-2x)(1-5x)(1-6x)(1-7x)).
; Submitted by <NAME>
; 1,20,257,2704,25389,221676,1841449,14758568,115171397,880623172,6627177921,49248518592,362296167325,2643446894108,19158543110873,138087153497176,990728497913973,7081081591668084
mov $1,1
mov $2,$0
mov $3,$0
lpb $2
mov $0,$3
sub $2,1
su... |
C/Mips(Assembly)_C/Lab3/Ex3_1b.asm | paulolima18/ProgrammingMesh | 3 | 90 | <reponame>paulolima18/ProgrammingMesh<gh_stars>1-10
#0 - 0x00111111 - 0x3f
#1 - 0x00000110 - 0x06
#2 - 0x00101011 -
#3 - 0x00000000
#4 - 0x00000000
#5 - 0x00000000
#6 - 0x00000000
#7 - 0x00000000
#8 - 0x01111111
#9 - 0x00000000 |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1196.asm | ljhsiun2/medusa | 9 | 84210 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1d4bb, %rsi
lea addresses_WT_ht+0x355d, %rdi
nop
nop
mfence
mov $25, %rcx
rep movsq
nop
nop
nop
sub %r10, %r10
lea addresses_UC_ht+0xaa1e, %rbp
nop
nop
xor $6636, %r15
mo... |
examples_rp2040/src/delay_provider.ads | hgrodriguez/eeprom_i2c_examples | 0 | 24425 | <reponame>hgrodriguez/eeprom_i2c_examples
-----------------------------------------------------------------------------
-- Delay provider for the write cycle for the EEPROM
--
-- Copyright 2022 (C) <NAME>
--
-- SPDX-License-Identifier: BSD-3-Clause
--
package Delay_Provider is
procedure Delay_MS (MS : Integer);
... |
src/domains/rules/grammar/Rules.g4 | grzesiek110/teststory | 10 | 7547 | grammar Rules;
// Parser rules
model:
line*;
line:
(sectionLine | emptyLine | ruleDefinition | commentLine | emptyLine );
emptyLine:
WS? EOL;
sectionLine:
WS? (GIVEN | WHEN | THEN) ~EOL*;
ruleDefinition:
commentLine*
ruleLine;
commentLine:
WS? commentText endOfLine;
commentText:
~... |
alloy4fun_models/trashltl/models/16/By9wjBcvHL9QQThTC.als | Kaixi26/org.alloytools.alloy | 0 | 2272 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idBy9wjBcvHL9QQThTC_prop17 {
always File' = File - Trash
}
pred __repair { idBy9wjBcvHL9QQThTC_prop17 }
check __repair { idBy9wjBcvHL9QQThTC_prop17 <=> prop17o } |
test/Succeed/Issue3982.agda | shlevy/agda | 1,989 | 2098 | <filename>test/Succeed/Issue3982.agda
-- Reported by <NAME> in Issue #3960.
open import Agda.Builtin.Unit
open import Agda.Primitive
id : ∀ {a} (A : Set a) → A → A
id _ a = a
apply : ∀ {a b} {A : Set a} {B : Set b} → A → (A → B) → B
apply = λ x f → f x
postulate
P : ∀ {a} {A : Set a} → A → A → Set a
Q : ∀ {ℓ} → ... |
test/Common/Product.agda | KDr2/agda | 0 | 14145 | <gh_stars>0
{-# OPTIONS --cubical-compatible #-}
module Common.Product where
open import Common.Level
infixr 4 _,_ _,′_
infixr 2 _×_
------------------------------------------------------------------------
-- Definition
record Σ {a b} (A : Set a) (B : A → Set b) : Set (a ⊔ b) where
constructor _,_
field
pro... |
test/asset/agda-stdlib-1.0/Codata/Stream.agda | omega12345/agda-mode | 0 | 4491 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- The Stream type and some operations
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe --sized-types #-}
module Codata.Stream where
open import Size
open im... |
boot/boot.asm | uchan-nos/bitnos | 0 | 93067 | <reponame>uchan-nos/bitnos<gh_stars>0
; 640x 480, 16bit
VESA2_MODE1 equ 0x114
VESA2_MODE2 equ 0x114
VESA2_MODE3 equ 0x111
; 4bit 8bit 15bit 16bit 24/32bit
;320x 200 0x10d 0x10e 0x10f
;640x 400 0x100
;640x 480 (VGA) 0x101 0x110 0x111 0x112
;800x 600 0x102 0x103 0x113 0x114 0x115
;1024x 768 0x104 0x105 ... |
test/unit/src/test_decoders.adb | onox/opus-ada | 2 | 9706 | <filename>test/unit/src/test_decoders.adb
-- Copyright (c) 2014 onox <<EMAIL>>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all copies.
--
-- THE SOFT... |
oeis/137/A137886.asm | neoneye/loda-programs | 11 | 10673 | <gh_stars>10-100
; A137886: Number of (directed) Hamiltonian paths in the n-crown graph.
; Submitted by <NAME>
; 12,144,3840,138240,6804000,436504320,35417088000,3546005299200,429451518988800,61883150757120000,10463789706751180800,2051763183437532364800,461802751261297205760000,118254166096501129863168000,3418326994552... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_4577_734.asm | ljhsiun2/medusa | 9 | 84846 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xb3ea, %rsi
lea addresses_normal_ht+0x8e5e, %rdi
clflush (%rdi)
nop
xor %r15, %r15
mov $108, %rcx
rep movsl
nop
nop
nop
nop
dec %rbx
lea addresses_WC... |
astro_turret_4_data.asm | nealvis/astroblast | 0 | 86955 | //////////////////////////////////////////////////////////////////////////////
// astro_turret_4_data.asm
// Copyright(c) 2021 <NAME>.
// License: MIT. See LICENSE file in root directory.
//////////////////////////////////////////////////////////////////////////////
// file contains the data for turret 4 frames as they... |
programs/oeis/120/A120521.asm | jmorken/loda | 1 | 246404 | ; A120521: a(n) = min{j : A120510(j) = n}.
; 1,5,6,7,12,13,14,15,17,18,19,20,22,23,24,25,31,32,33,34,36,37,38,39,41,42,43,44,46,47,48,49,52,53,54,55,57,58,59,60,62,63,64,65,67,68,69,70,73,74
mov $1,1
lpb $0
add $1,$0
div $0,4
add $1,3
lpe
|
pdf2keynote/applescripts/create_empty_slide.scpt | majorpb/pdf2keynote | 9 | 2412 | <gh_stars>1-10
tell application "Keynote"
tell the front document
make new slide
end
end tell
|
tests/utilities_test_suite.ads | skordal/ada-regex | 2 | 18271 | <filename>tests/utilities_test_suite.ads
-- Ada regular expression library
-- (c) <NAME> 2020 <<EMAIL>>
-- Report bugs and issues on <https://github.com/skordal/ada-regex>
with AUnit.Test_Suites;
package Utilities_Test_Suite is
-- Creates the test suite for the Regex utility packages:
function Test_Suite r... |
focusMenu.applescript | rcmdnk/AppleScript | 11 | 648 | <reponame>rcmdnk/AppleScript<filename>focusMenu.applescript
tell application "System Events" to tell (process 1 where frontmost is true)
click menu bar item 2 of menu bar 1
end tell
|
Kernel/asm/interrupts.asm | srosati/TPE_ARQUI | 0 | 3490 | GLOBAL _irq0handler
GLOBAL _irq1handler
GLOBAL _syscallhandler
GLOBAL _cli
GLOBAL _sti
GLOBAL picMasterMask
GLOBAL picSlaveMask
EXTERN irqDispatcher
EXTERN clearScreen
EXTERN getChar
EXTERN putChar
EXTERN getTime
EXTERN drawPixel
EXTERN setInterval
EXTERN stopInterval
EXTERN getScreenDimentions
EXTERN getMem
EXTERN ge... |
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-rtc.ads | morbos/Ada_Drivers_Library | 2 | 455 | -- Copyright 2016-2019 NXP
-- All rights reserved.SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from LPC55S6x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package NXP_SVD.RTC is
pragma Preelaborate;
... |
src/plugin_canberra.ads | onox/weechat-canberra | 1 | 14512 | <reponame>onox/weechat-canberra<gh_stars>1-10
package Plugin_Canberra is
pragma Elaborate_Body;
end Plugin_Canberra;
|
Working Disassembly/Levels/DEZ/Misc Object Data/Map - Energy Bridge Curved.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 0 | 16336 | Map_48038: dc.w word_48040-Map_48038
dc.w word_48054-Map_48038
dc.w word_48068-Map_48038
dc.w word_4807C-Map_48038
word_48040: dc.w 3
dc.b $20, 0, 0, 8, $FF, $C4
dc.b $1F, 0, 0, 8, 0, 4
dc.b 1, 0, 0, 8, 0, $35
word_48054: dc.w 3
dc.b $20, 0, 0, 8, $FF, $D4
dc.b $1... |
examples/F303K8/Cfg_GPIO.asm | MightyPork/stm32-asm-examples | 12 | 89546 | <gh_stars>10-100
;;;-------------------------------------------------
;; Configure GPIO - PA5 as output (LED)
;;
Cfg_GPIO PROC
PUSH {R0-R2, LR}
; Enable GPIO clocks
LDR R2, =RCC_AHBENR ; AHBENR address
LDR R1, [R2]
LDR R0, =RCC_AHBENR_IOPAEN ; strange bit names, only on F303
... |
oeis/024/A024054.asm | neoneye/loda-programs | 11 | 25611 | ; A024054: a(n) = 5^n - n^5.
; 1,4,-7,-118,-399,0,7849,61318,357857,1894076,9665625,48667074,243891793,1220331832,6102977801,30516818750,152586842049,762938033268,3814695376057,19073483852026,95367428440625,476837154119024,2384185785861993,11920928948641782,59604644767428001,298023223867187500,1490116119372884249,74505... |
programs/oeis/285/A285958.asm | neoneye/loda | 22 | 169187 | <reponame>neoneye/loda
; A285958: Positions of 0 in A285957; complement of A285959.
; 1,3,4,5,7,8,9,11,12,13,14,16,17,19,20,21,23,24,25,27,28,30,31,32,33,35,36,37,39,40,41,43,44,45,46,48,49,51,52,53,54,56,57,58,60,61,62,64,65,67,68,69,71,72,73,75,76,77,78,80,81,83,84,85,87,88,89,91,92,94,95,96,97,99,100,101,103,104,105... |
programs/oeis/219/A219621.asm | karttu/loda | 0 | 99563 | <gh_stars>0
; A219621: Number of n X 2 arrays of the minimum value of corresponding elements and their horizontal or antidiagonal neighbors in a random, but sorted with lexicographically nondecreasing rows and columns, 0..2 n X 2 array.
; 3,11,27,56,105,183,301,472,711,1035,1463,2016,2717,3591,4665,5968,7531,9387,11571... |
main.asm | rkbrooks/6502clock | 0 | 163288 | <reponame>rkbrooks/6502clock
; Nixie clock code - <NAME> / <EMAIL>
; see www.hack.net/nixie
; This is all written in very simple, linear 6502 assembly. It's designed to be very readable, and
; is therefore inefficient, but who cares? There's lots of kids now who don't know 6502 assembly!
; Timekeeping ram is a... |
programs/oeis/024/A024868.asm | neoneye/loda | 22 | 95766 | ; A024868: a(n) = 2*(n+1) + 3*n + ... + (k+1)*(n+2-k), where k = [ n/2 ].
; 6,8,22,27,52,61,100,114,170,190,266,293,392,427,552,596,750,804,990,1055,1276,1353,1612,1702,2002,2106,2450,2569,2960,3095,3536,3688,4182,4352,4902,5091,5700,5909,6580,6810,7546,7798,8602,8877,9752,10051,11000,11324,12350,12700,13806,14183,1537... |
programs/oeis/183/A183984.asm | neoneye/loda | 22 | 15714 | <filename>programs/oeis/183/A183984.asm
; A183984: 1/4 the number of (n+1) X 8 binary arrays with all 2 X 2 subblock sums the same.
; 81,83,86,92,102,122,158,230,366,638,1166,2222,4302,8462,16718,33230,66126,131918,263246,525902,1050702,2100302,4198478,8394830,16785486,33566798,67125326,134242382,268468302,536920142,10... |
PIM/TP3_Sous_Programmes/ecrire_entier.adb | Hathoute/ENSEEIHT | 1 | 28971 | -- Score PIXAL le 07/10/2020 à 16:23 : 100%
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Ada.Float_Text_IO; use Ada.Float_Text_IO;
procedure Ecrire_Entier is
function Puissance_Iteratif (Nombre: in Float ; Exposant : in Integer) return Float with
Pre => E... |
tools/css-printer.ads | stcarrez/ada-css | 3 | 7465 | <filename>tools/css-printer.ads
-----------------------------------------------------------------------
-- css-printer -- CSS printer tools
-- Copyright (C) 2017, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in ... |
oeis/076/A076338.asm | neoneye/loda-programs | 11 | 246417 | <reponame>neoneye/loda-programs
; A076338: a(n) = 512*n + 1.
; 1,513,1025,1537,2049,2561,3073,3585,4097,4609,5121,5633,6145,6657,7169,7681,8193,8705,9217,9729,10241,10753,11265,11777,12289,12801,13313,13825,14337,14849,15361,15873,16385,16897,17409,17921,18433,18945,19457,19969,20481,20993,21505,22017,22529,23041,23553... |
oeis/269/A269556.asm | neoneye/loda-programs | 11 | 101309 | <filename>oeis/269/A269556.asm
; A269556: Expansion of (-7*x^2 + 148*x - 5)/(x^3 - 99*x^2 + 99*x - 1).
; Submitted by <NAME>
; 5,347,33865,3318287,325158125,31862177827,3122168268785,305940628162967,29979059391701845,2937641879758617707,287858925156952833305,28207237023501619046047,2764021369378001713679165,27084588696... |
runner.adb | zerodois-bcc/SEL0632-2019 | 0 | 26996 | -- Simple root file runner for FPGA tests using VHDL on low-level and Ada in High-level.
-- <NAME> - ICMC/USP - March, 2019.
With text_IO; Use text_IO;
With Ada.Integer_Text_IO; Use Ada.Integer_Text_IO;
Procedure runner is
state: string(1..50);
enable: boolean;
stream: boolean(0..7);
buffer: integer;
... |
oeis/018/A018906.asm | neoneye/loda-programs | 11 | 26027 | ; A018906: Define the Shallit sequence S(a_0,a_1) by a_{n+2} is the least integer > a_{n+1}^2/a_n for n >= 0. This is S(2,6).
; Submitted by <NAME>
; 2,6,19,61,196,630,2026,6516,20957,67403,216786,697242,2242518,7212542,23197479,74609345,239963764,771788146,2482278709,7983677414,25677658524,82586271099,265619708576,854... |
perfComp.asm | tgv2002/xv6-OS-modified | 0 | 101243 | <gh_stars>0
_perfComp: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
while(wait() != -1);
}
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 ... |
mc-sema/validator/x86_64/tests/LEAVE.asm | randolphwong/mcsema | 2 | 86017 | <filename>mc-sema/validator/x86_64/tests/LEAVE.asm
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; LEAVE
enter 0x8, 0x1
mov rdi, rsp
mov rbx, [rsp]
mov rax, rbp
;TEST_BEGIN_RECORDING
leave
;TEST_END_RECORDING
mov rsp, rdi
mov [rsp], rbx
... |
oeis/001/A001900.asm | neoneye/loda-programs | 11 | 1071 | <reponame>neoneye/loda-programs<filename>oeis/001/A001900.asm
; A001900: Successive numerators of Wallis's approximation to Pi/2 (unreduced).
; Submitted by <NAME>(s3)
; 1,2,4,16,64,384,2304,18432,147456,1474560,14745600,176947200,2123366400,29727129600,416179814400,6658877030400,106542032486400,1917756584755200,345196... |
oeis/111/A111281.asm | neoneye/loda-programs | 11 | 168089 | <gh_stars>10-100
; A111281: Number of permutations avoiding the patterns {2413,2431,4213,3412,3421,4231,4321,4312}; number of strong sorting class based on 2413.
; Submitted by <NAME>(s2)
; 1,1,2,6,16,40,100,252,636,1604,4044,10196,25708,64820,163436,412084,1039020,2619764,6605420,16654772,41993004,105880308,266964460,... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_173.asm | ljhsiun2/medusa | 9 | 10923 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_173.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x82fd, %rsi
lea addresses_normal_ht+0x733d, %rdi
nop
nop
nop
nop
dec %r9
mov $43, %rcx
rep movsl
nop
n... |
core/lib/types/Modality.agda | timjb/HoTT-Agda | 294 | 5151 | <gh_stars>100-1000
{-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.NType2
open import lib.types.Sigma
module lib.types.Modality where
-- Where to put this? Or maybe there's
-- a simpler proof from some library function?
!ᵈ-inv-l-out : ∀ {ℓ} {A : Type ℓ} {P : A → Type ℓ}
{a₀ ... |
game/logic/game_states/stage_selection_screen.asm | pompshuffle/super-tilt-bro | 2 | 172884 | <gh_stars>1-10
init_stage_selection_screen:
.(
; This state only use the generic data bank
SWITCH_BANK(#DATA_BANK_NUMBER)
; Construct nt buffers for palettes
lda #<palette_stage_selection
sta tmpfield1
lda #>palette_stage_selection
sta tmpfield2
jsr construct_palettes_nt_buffer
; Copy background from PRG-rom... |
Library/Trans/Graphics/Bitmap/Ico/Import/importMain.asm | steakknife/pcgeos | 504 | 88999 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: importMain.asm
AUTHOR: <NAME>, May 29, 1993
ROUTINES:
Name Description
---- -----------
GLB TransImport perform import of an I... |
alloy4fun_models/trashltl/models/4/fkXwyvMwsr6yp5nLM.als | Kaixi26/org.alloytools.alloy | 0 | 4950 | <gh_stars>0
open main
pred idfkXwyvMwsr6yp5nLM_prop5 {
eventually (some f : File | f not in File)
}
pred __repair { idfkXwyvMwsr6yp5nLM_prop5 }
check __repair { idfkXwyvMwsr6yp5nLM_prop5 <=> prop5o } |
lib/mem/_fn.asm | locodarwin/xc-basic3 | 11 | 12892 | <gh_stars>10-100
; XC=BASIC memory functions
; DECLARE FUNCTION PEEK AS BYTE (address AS WORD) SHARED STATIC INLINE
MAC F_peek_word ; @push @pull
IF !FPULL
pla
sta .l + 2
pla
sta .l + 1
ELSE
sta .l + 1
sty .l + 2
ENDIF
.l lda $FFFF
IF !FPUSH
pha
ENDIF
ENDM |
test/Succeed/Issue1346Import.agda | shlevy/agda | 1,989 | 14641 | -- Andreas, 2019-08-17, issue #1346
open import Issue1346
-- Repeating the definitions of Issue1346.agda
private
test₁ : List⁺ Bool
test₁ = true ∷ false ∷ [] -- mixing _∷_ of _×_ and List
test₂ : ∀{A : Set} → A → List A × List⁺ A × List⁺ A
test₂ a = [] , a ∷ [] , a ∷ a ∷ [] -- mixing _,_ and _∷_ of _×_
|
oeis/246/A246437.asm | neoneye/loda-programs | 11 | 177081 | ; A246437: Expansion of (1/2)*(1/(x+1)+1/(sqrt(-3*x^2-2*x+1))).
; Submitted by <NAME>
; 1,0,2,3,10,25,71,196,554,1569,4477,12826,36895,106470,308114,893803,2598314,7567465,22076405,64498426,188689685,552675364,1620567764,4756614061,13974168191,41088418150,120906613076,356035078101,1049120176954,3093337815409,9126012883... |
source/TextWrangler.popclipext/textwrangler.applescript | cnstntn-kndrtv/PopClip-Extensions | 1,262 | 3490 | <gh_stars>1000+
tell application "TextWrangler"
activate
make new text document with properties {contents:"{popclip text}"}
end tell |
Library/Chart/CObject/cobjectDual.asm | steakknife/pcgeos | 504 | 14879 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: cobjectDual.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Des... |
base/ntos/ke/amd64/intsup.asm | npocmaka/Windows-Server-2003 | 17 | 19067 | TITLE "Interrupt Object Support Routines"
;++
;
; Copyright (c) 2000 Microsoft Corporation
;
; Module Name:
;
; intsup.asm
;
; Abstract:
;
; This module implements the platform specific code to support interrupt
; objects. It contains the interrupt dispatch code and the code template
; ... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2_notsx.log_624_484.asm | ljhsiun2/medusa | 9 | 6825 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2_notsx.log_624_484.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %r8
push %rax
push %rbx
push %rdx
lea addresses_A_ht+0xd1d8, %rax
nop
nop
nop
sub %r15, %r15
mov $0x616263646566676... |
source/receiver/main/locations.ads | reznikmm/gps-tracker | 0 | 24293 | -- SPDX-FileCopyrightText: 2022 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Bluetooth;
with Ada.Streams;
with Ada.Unchecked_Conversion;
package Locations is
-- Location and navigation profile allows these characteristics:
type Chara... |
tests/tk-labelframe-label_frame_create_options_test_data.ads | thindil/tashy2 | 2 | 10884 | -- This package is intended to set up and tear down the test environment.
-- Once created by GNATtest, this package will never be overwritten
-- automatically. Contents of this package can be modified in any way
-- except for sections surrounded by a 'read only' marker.
with Tk.Labelframe.Label_Frame_Options_Test... |
externals/mpir-3.0.0/mpn/x86_64w/k8/sumdiff_n.asm | JaminChan/eos_win | 12 | 8670 | <reponame>JaminChan/eos_win
; PROLOGUE(mpn_sumdiff_n)
; Version 1.0.4
;
; Copyright 2008 <NAME>
;
; Windows Conversion Copyright 2008 <NAME>
;
; This file is part of the MPIR Library.
;
; The MPIR Library is free software; you can redistribute it and/or modify
; it under the terms of the GNU Lesser General Publi... |
alloy4fun_models/trashltl/models/3/DfxzKF7gbPyAkaXbP.als | Kaixi26/org.alloytools.alloy | 0 | 994 | <filename>alloy4fun_models/trashltl/models/3/DfxzKF7gbPyAkaXbP.als
open main
pred idDfxzKF7gbPyAkaXbP_prop4 {
some f:File | f not in Trash implies eventually f in Trash
}
pred __repair { idDfxzKF7gbPyAkaXbP_prop4 }
check __repair { idDfxzKF7gbPyAkaXbP_prop4 <=> prop4o } |
oeis/284/A284521.asm | neoneye/loda-programs | 11 | 94409 | <gh_stars>10-100
; A284521: Sum of largest prime power factors of numbers <= n.
; Submitted by <NAME>
; 1,3,6,10,15,18,25,33,42,47,58,62,75,82,87,103,120,129,148,153,160,171,194,202,227,240,267,274,303,308,339,371,382,399,406,415,452,471,484,492,533,540,583,594,603,626,673,689,738,763,780,793,846,873,884,892,911,940,99... |
kernel/sys/smp_asm.asm | NineSilver/Oxyb | 2 | 87411 | <gh_stars>1-10
%define SMP_TRAMPOLINE_BASE 0x1000
%define SMP_TRAMPOLINE_FLAG 0x500
%define SMP_TRAMPOLINE_PML4 0x510
%define SMP_TRAMPOLINE_GDT 0x520
%define SMP_TRAMPOLINE_IDT 0x530
%define SMP_TRAMPOLINE_STACK 0x540
%define SMP_TRAMPOLINE_JUMP 0x550
section .data
global smp_trampoline_start
smp_trampoline_start:
... |
oeis/117/A117972.asm | neoneye/loda-programs | 11 | 16636 | ; A117972: Numerator of zeta'(-2n), n >= 0.
; Submitted by <NAME>
; 1,-1,3,-45,315,-14175,467775,-42567525,638512875,-97692469875,9280784638125,-2143861251406875,147926426347074375,-48076088562799171875,9086380738369043484375,-3952575621190533915703125,122529844256906551386796875,-68739242628124575327993046875,21652861... |
src/Data/FingerTree/Split/Structures.agda | oisdk/agda-indexed-fingertree | 1 | 2381 | {-# OPTIONS --without-K --safe #-}
open import Algebra
open import Relation.Unary
open import Relation.Binary hiding (Decidable)
module Data.FingerTree.Split.Structures
{r m}
(ℳ : Monoid r m)
{s}
{ℙ : Pred (Monoid.Carrier ℳ) s}
(ℙ-resp : ℙ Respects (Monoid._≈_ ℳ))
(ℙ? : Decidable ℙ)
where
open import R... |
test/Succeed/SplitPropRecord.agda | shlevy/agda | 1,989 | 13047 | <gh_stars>1000+
{-# OPTIONS --prop #-}
open import Agda.Primitive
record LiftP {ℓ ℓ'}(A : Prop ℓ) : Prop (ℓ ⊔ ℓ') where
constructor liftP
field
unliftP : A
open LiftP public
unliftP' : {ℓ ℓ' ℓ'' : Level} {A : Prop ℓ}{B : Set ℓ''}(f : A → B) → LiftP {ℓ}{ℓ'} A → B
unliftP' f (liftP x) = f x
|
alloy4fun_models/trashltl/models/9/CxqBDY9Wq7z7t6AFh.als | Kaixi26/org.alloytools.alloy | 0 | 4748 | <gh_stars>0
open main
pred idCxqBDY9Wq7z7t6AFh_prop10 {
always all p: Protected | always (p in Protected)
}
pred __repair { idCxqBDY9Wq7z7t6AFh_prop10 }
check __repair { idCxqBDY9Wq7z7t6AFh_prop10 <=> prop10o } |
programs/oeis/022/A022345.asm | neoneye/loda | 22 | 164452 | <reponame>neoneye/loda
; A022345: Fibonacci sequence beginning 0, 11.
; 0,11,11,22,33,55,88,143,231,374,605,979,1584,2563,4147,6710,10857,17567,28424,45991,74415,120406,194821,315227,510048,825275,1335323,2160598,3495921,5656519,9152440,14808959,23961399,38770358,62731757,101502115,164233872,265735987,429969859,6957058... |
examples/versions.adb | ytomino/gmp-ada | 4 | 3813 | <reponame>ytomino/gmp-ada<gh_stars>1-10
with Ada.Text_IO;
with GMP;
with MPFR;
with MPC;
procedure versions is
begin
Ada.Text_IO.Put_Line ("GMP: " & GMP.Version);
Ada.Text_IO.Put_Line ("MPFR: " & MPFR.Version);
Ada.Text_IO.Put_Line ("MPC: " & MPC.Version);
end versions;
|
Applications/iTunes/fadeout.applescript | looking-for-a-job/applescript-examples | 1 | 954 | <filename>Applications/iTunes/fadeout.applescript
#!/usr/bin/osascript
on is_running(appname)
tell application "System Events" to return (count of (processes whose name is appname)) > 0
end is_running
on get_volume()
tell application "iTunes" to return sound volume
end get_volume
on iTunes_state() #{playing, pause... |
Engine/SpecLexer.g4 | kaby76/Piggy | 31 | 4801 | lexer grammar SpecLexer;
channels
{
COMMENTS_CHANNEL
}
SINGLE_LINE_DOC_COMMENT
: '///' InputCharacter* -> channel(COMMENTS_CHANNEL)
;
DELIMITED_DOC_COMMENT
: '/**' .*? '*/' -> channel(COMMENTS_CHANNEL)
;
SINGLE_LINE_COMMENT
: '//' InputCharacter* -> channel(COMMENTS_CHANNEL)
;
DELIMITED_... |
awa/plugins/awa-mail/src/awa-mail-beans.ads | My-Colaborations/ada-awa | 81 | 29157 | <filename>awa/plugins/awa-mail/src/awa-mail-beans.ads<gh_stars>10-100
-----------------------------------------------------------------------
-- awa-mail-beans -- Beans for mail module
-- Copyright (C) 2012, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "Licens... |
programs/oeis/040/A040247.asm | jmorken/loda | 1 | 94809 | <filename>programs/oeis/040/A040247.asm
; A040247: Continued fraction for sqrt(264).
; 16,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32
pow $0,4
mov $1,$0
trn $0,4
sub $0,4
gcd $1,... |
Cubical/Categories/Monoidal/Strict/Monoid.agda | thomas-lamiaux/cubical | 1 | 16336 | <filename>Cubical/Categories/Monoidal/Strict/Monoid.agda
-- Internal monoid in a strict monoidal category
{-# OPTIONS --safe #-}
open import Cubical.Categories.Category.Base
open import Cubical.Categories.Monoidal.Base
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Prelude
open import Cubical.... |
oeis/192/A192849.asm | neoneye/loda-programs | 11 | 103785 | <filename>oeis/192/A192849.asm
; A192849: Molecular topological indices of the triangular graphs.
; 0,0,24,240,1080,3360,8400,18144,35280,63360,106920,171600,264264,393120,567840,799680,1101600,1488384,1976760,2585520,3335640,4250400,5355504,6679200,8252400,10108800,12285000,14820624,17758440,21144480,25028160,29462400... |
old/Test.agda | Lolirofle/stuff-in-agda | 6 | 3834 | <filename>old/Test.agda
module Test where
import Lvl
{- TODO: Unsolved metas
module NumAndDivisionProofs where
open import Functional
open import Logic.Propositional{Lvl.𝟎}
open import Logic.Convenience{Lvl.𝟎}
open import Numeral.Natural
open import Numeral.Natural.Oper
open import Numeral.Natural.Relat... |
Examples/Lambda/Lambda.agda | LcicC/inference-systems-agda | 3 | 6304 | <reponame>LcicC/inference-systems-agda<gh_stars>1-10
--------------------------------------------------------------------------------
-- This is part of Agda Inference Systems
open import Data.Nat
open import Data.Fin
module Examples.Lambda.Lambda where
{- Terms & Values -}
data Term (n : ℕ) : Set where
var ... |
picoctf/EasyRsa/yafu-master/arith/mod64.asm | beninato8/ctfs | 0 | 81909 |
BITS 64
global mod_64
mod_64:
mov rax, rcx
mov rcx, rdx
xor rdx, rdx
div rcx
mov rax, rdx
ret
|
programs/oeis/335/A335048.asm | jmorken/loda | 1 | 244494 | ; A335048: Minimum sum of primes (see Comments).
; 0,3,8,13,22,31,44,57,74,91,112,133,158,183,212,241,274,307,344,381,422,463,508,553,602,651,704,757,814,871,932,993,1058,1123,1192,1261,1334,1407,1484,1561,1642,1723,1808,1893,1982,2071,2164,2257,2354,2451,2552
mov $1,2
add $1,$0
mul $1,$0
lpb $0
sub $1,$0
gcd $0,2... |
Fora de Aula/double.asm | marinisz/Assembly | 0 | 21715 | <reponame>marinisz/Assembly
.data
myDouble: .double 7.202
zeroDouble: .double 0.0
.text
ldc1 $f2, myDouble
ldc1 $f0, zeroDouble
li $v0,3
add.d $f12, $f2, $f0
syscall |
chat_messages.ads | cborao/Ada-P2 | 0 | 14463 | <filename>chat_messages.ads
--PRÁCTICA 2: <NAME> (chat_messages)
package Chat_Messages is
type Message_Type is (Init, Writer, Server, Collection_Request, Collection_Data, Ban, Shutdown);
end Chat_Messages;
|
char counter(DOS)/main.asm | E011011101001/Homeworks | 6 | 25193 | assume cs:code, ss:stack, ds:data
include io.inc
include debug.inc
include malloc.inc
include list.inc
stack segment stack
dw 03fh dup(?)
stack ends
data segment
msg db 81 dup(?)
len db 0
prompt db 'please input a sentence ending with an enter:', 0
data ends
code segment
start proc far
mov bp... |
programs/oeis/128/A128961.asm | neoneye/loda | 22 | 244793 | ; A128961: a(n) = (n^3 - n)*3^n.
; 0,54,648,4860,29160,153090,734832,3306744,14171760,58458510,233834040,911952756,3482001432,13057505370,48212327520,175630621680,632270238048,2252462723046,7949868434280,27824539519980,96653663595720,333455139405234,1143274763675088,3897527603437800,13217702307310800,44609745287173950,... |
oeis/291/A291229.asm | neoneye/loda-programs | 11 | 19439 | <filename>oeis/291/A291229.asm
; A291229: p-INVERT of (0,1,0,1,0,1,...), where p(S) = (1 - S)(1 - 2 S).
; Submitted by <NAME>
; 3,7,18,45,111,272,663,1611,3906,9457,22875,55296,133611,322751,779490,1882341,4545159,10974256,26496255,63970947,154444914,372871721,900206067,2173312512,5246877459,12667142455,30581283762,738... |
x86_64/IntegerArithmetic/IntegerArithmetic_.asm | brucexia1/x86assembly | 1 | 7708 | <filename>x86_64/IntegerArithmetic/IntegerArithmetic_.asm<gh_stars>1-10
section .text
;========================================================================================
; --Register-----|--Callee Save--|----------------------------Description----------------
; | %rax | | 函数返回值寄存器;也用于id... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.