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 |
|---|---|---|---|---|
oeis/133/A133680.asm | neoneye/loda-programs | 11 | 164060 | ; A133680: a(n)=8*a(n-1)+72*a(n-2) for n>=3, a(0)=1, a(1)=8, a(2)=128 .
; Submitted by <NAME>
; 1,8,128,1600,22016,291328,3915776,52301824,700350464,9368535040,125373513728,1677522632704,22447074050048,300358221955072,4019055107244032,53778232838717440,719597830431309824,9628815407838134272,128841567053759381504,172400... |
HW4-Ramtin/3Code/MJavaParser.g4 | ramtin-ehsani/IUSTCompiler | 0 | 6917 | parser grammar MJavaParser;
options { tokenVocab=MJavaLex; }
@parser::members {
temp_counter = 0
goto_counter = 0
def create_goto(self):
self.goto_counter += 1
return 'L' + str(self.goto_counter)
def create_temp(self):
self.temp_counter += 1
return 'T' + str(self.temp_counter)
def remove_temp(self):
... |
unittests/ASM/X87_F64/D9_E8_F64.asm | Seas0/FEX | 0 | 23129 | %ifdef CONFIG
{
"RegData": {
"RAX": ["0x3ff0000000000000"]
},
"Env": { "FEX_X87REDUCEDPRECISION" : "1" }
}
%endif
mov rcx, 0xe0000000
fld1
fst qword [rcx]
mov rax, [rcx]
hlt
|
248b/aMAZEing/maze.asm | 42Bastian/lynx_hacking | 12 | 29926 | ***************
* Maze249
* 1 byte free.
****************
include <includes/hardware.inc>
include <macros/suzy.mac>
include <macros/help.mac>
IFD LNX
USE_BKPT equ 0
ELSE
USE_BKPT equ 0
ENDIF
MACRO HANDY_BRKPT
nbkpt set nbkpt+1
IF USE_BKPT = 1
cpx $5aa5
dc.b $... |
3rdparty/openssl/intel-sgx-ssl/Windows/sgx/libsgx_tsgxssl/_alloca.asm | mrragava/ragava_openenclave_6 | 0 | 163009 | ;
; Copyright (C) 2011-2017 Intel Corporation. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
;
; * Redistributions of source code must retain the above copyright
; notice, this list of con... |
grammar/Evans.g4 | ivtikhon/wadjet | 8 | 3771 | /*
* Evans grammar
* Copyright (c) 2019 <NAME>
*/
grammar Evans;
codeFile
: classDeclaration+ mainDeclaration?
;
classDeclaration
: CLASS ID '{' classBody '}'
;
classBody
: attributeList? stateList?
goalList? constructorList?
functionList? predicateList? operator... |
llvm-gcc-4.2-2.9/gcc/ada/sem_ch9.ads | vidkidz/crossbridge | 1 | 17172 | <reponame>vidkidz/crossbridge<filename>llvm-gcc-4.2-2.9/gcc/ada/sem_ch9.ads<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS ... |
oeis/113/A113841.asm | neoneye/loda-programs | 11 | 94056 | <reponame>neoneye/loda-programs
; A113841: a(n) = a(n-1) + 2^A047240(n) for n>1, a(1)=1.
; 1,3,7,71,199,455,4551,12743,29127,291271,815559,1864135,18641351,52195783,119304647,1193046471,3340530119,7635497415,76354974151,213793927623,488671834567,4886718345671,13682811367879,31274997412295,312749974122951,87569992754426... |
programs/oeis/132/A132171.asm | jmorken/loda | 1 | 90460 | ; A132171: 3^n repeated 3^n times.
; 1,3,3,3,9,9,9,9,9,9,9,9,9,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81... |
Library/Text/TextStorage/tsEnum.asm | steakknife/pcgeos | 504 | 17013 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: tsEnum.asm
AUTHOR: <NAME>, 5/8/92
ROUTINES:
Name Description
---- -----------
EnumTextReference Enumerate a text reference
REVI... |
src/main/antlr4/poussecafe/source/emil/parser/Emil.g4 | pousse-cafe/pousse-cafe-source | 0 | 2738 | grammar Emil;
process : header consumptions ;
header : 'process' (NAME | '*') ;
NAME : [a-zA-Z] [a-zA-Z0-9]* ;
consumptions : consumption* ;
consumption :
commandConsumption
| eventConsumption
;
commandConsumption : command '->' messageConsumptions ;
command : NAME '?' ;
messageConsumptions :
si... |
Cubical/Structures/Monoid.agda | cmester0/cubical | 1 | 6427 | <filename>Cubical/Structures/Monoid.agda
{-# OPTIONS --cubical --safe #-}
module Cubical.Structures.Monoid where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.HLevels
open import Cubical.Data.Sigma
open import Cubical.Foundations.SIP renaming (SNS-PathP ... |
Function/Injective/Base.agda | oisdk/agda-playground | 6 | 1642 | <reponame>oisdk/agda-playground
{-# OPTIONS --cubical --safe --postfix-projections #-}
module Function.Injective.Base where
open import Level
open import Path
open import Data.Sigma
Injective : (A → B) → Type _
Injective f = ∀ x y → (f⟨x⟩≡f⟨y⟩ : f x ≡ f y) → x ≡ y
infixr 0 _↣_
_↣_ : Type a → Type b → Type (a ℓ⊔ b)
... |
src/shaders/post_processing/gen5_6/Common/PL8x4_Save_IMC3.asm | tizenorg/platform.upstream.libva-intel-driver | 0 | 81576 | /*
* All Video Processing kernels
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
*/
// Module name: PL8x4_Save_IMC3.... |
avrsh/bin/Release/test6.asm | andresarmento/avrsim | 1 | 175703 | <gh_stars>1-10
.org 0x2000
LDI R20, 0
test: INC R20
RJMP test
NOP
|
dump-windows.applescript | nishiuramakoto/macos-remap.py | 0 | 2168 |
on original()
tell application "System Events"
repeat with theProcess in processes
if not background only of theProcess then
tell theProcess
set processName to name
set theWindows to windows
end tell
set wi... |
Arhitectura Sistemelor Calcul (ASC)/MIPS - Probleme/Tutoriat 1/Suma_Gauss_modificata.asm | DLarisa/FMI-Materials-BachelorDegree | 4 | 81284 | #Suma 1+2+3+...+n=?
#Presupunem acum ca citim n de la tastatura
.data #zona pentru declararea datelor
s: .word 0 #int s=0 --- unde vom pune suma
.text #codul programului
main:
li $v0, 5 #cin>>int --- int se gaseste in v0
syscall
move $t2, $v0 #t2=n=v0=val citita de la consola
... |
test/asset/agda-stdlib-1.0/Relation/Binary/Construct/Add/Extrema/Equality.agda | omega12345/agda-mode | 5 | 10086 | <reponame>omega12345/agda-mode<filename>test/asset/agda-stdlib-1.0/Relation/Binary/Construct/Add/Extrema/Equality.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- A pointwise lifting of a relation to incorporate new extrema.
-------------------------------... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1015.asm | ljhsiun2/medusa | 9 | 5922 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1015.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x14786, %rsi
lea addresses_WT_ht+0x148d4, %rdi
nop
nop
nop
dec %r1... |
tests/regex_test.adb | skordal/ada-regex | 2 | 23412 | <gh_stars>1-10
-- Ada regular expression library
-- (c) <NAME> 2020 <<EMAIL>>
-- Report bugs and issues on <https://github.com/skordal/ada-regex>
with AUnit.Run;
with AUnit.Reporter.Text;
with Regex_Test_Suite;
with Utilities_Test_Suite;
procedure Regex_Test is
procedure Regex_Test_Runner is new AUnit.Run.Test... |
src/grammars/Exp.g4 | wilgnne/exp-lang | 0 | 3116 | grammar Exp;
/*---------------- PARSER INTERNALS ----------------*/
@parser::header {
import compileTime, { updateStack } from '../utils/CompileTime.js';
import { programHeader, programFooter } from '../utils/program.js';
import { mainHeader, mainFooter } from '../utils/main.js';
import {
defHeader,
defFooter,... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc1226b.ada | best08618/asylo | 7 | 4417 | -- CC1226B.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
programs/oeis/016/A016817.asm | neoneye/loda | 22 | 178913 | <filename>programs/oeis/016/A016817.asm
; A016817: a(n) = (4n+1)^5.
; 1,3125,59049,371293,1419857,4084101,9765625,20511149,39135393,69343957,115856201,184528125,282475249,418195493,601692057,844596301,1160290625,1564031349,2073071593,2706784157,3486784401,4437053125,5584059449,6956883693,8587340257
mov $1,4
mul $1,$0
... |
libsrc/nc100/txtwrchar.asm | meesokim/z88dk | 0 | 5582 | <reponame>meesokim/z88dk<filename>libsrc/nc100/txtwrchar.asm
PUBLIC txtwrchar
; fastcall so in HL!
.txtwrchar
ld a, l
jp 0xB83C
|
bb-runtimes/src/s-bbbosu__zynqmpr5.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 22388 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
oeis/152/A152551.asm | neoneye/loda-programs | 11 | 94636 | ; A152551: a(n) = (2*n+1)^floor((n-1)/2).
; 1,1,1,7,9,121,169,3375,4913,130321,194481,6436343,9765625,387420489,594823321,27512614111,42618442977,2251875390625,3512479453921,208728361158759,327381934393961,21611482313284249,34050628916015625,2472159215084012303,3909821048582988049,309629344375621415601,4912589042567261... |
src/spi.adb | 0xA1/pi-spi | 0 | 5674 | -- --
-- Copyright (c) 2015, <NAME> --
-- --
-- Permission to use, copy, modify, and/or distribute this software for any --
-... |
oeis/052/A052907.asm | neoneye/loda-programs | 11 | 243623 | <reponame>neoneye/loda-programs
; A052907: Expansion of 1/(1 - 2*x^2 - 2*x^3).
; Submitted by <NAME>
; 1,0,2,2,4,8,12,24,40,72,128,224,400,704,1248,2208,3904,6912,12224,21632,38272,67712,119808,211968,375040,663552,1174016,2077184,3675136,6502400,11504640,20355072,36014080,63719424,112738304,199467008,352915456,6244106... |
oeis/293/A293547.asm | neoneye/loda-programs | 11 | 164137 | ; A293547: a(n) is the integer k that minimizes |k/Fibonacci(n) - 2/3|.
; Submitted by <NAME>(m1)
; 0,1,1,1,2,3,5,9,14,23,37,59,96,155,251,407,658,1065,1723,2787,4510,7297,11807,19105,30912,50017,80929,130945,211874,342819,554693,897513,1452206,2349719,3801925,6151643,9953568,16105211,26058779,42163991,68222770,1103867... |
alloy4fun_models/trashltl/models/17/CcMt7AYPASmTL7FRv.als | Kaixi26/org.alloytools.alloy | 0 | 1852 | open main
pred idCcMt7AYPASmTL7FRv_prop18 {
always (all f : File | f in Protected triggered f in Trash)
}
pred __repair { idCcMt7AYPASmTL7FRv_prop18 }
check __repair { idCcMt7AYPASmTL7FRv_prop18 <=> prop18o } |
Examples/ch10/Struct1.asm | satadriver/LiunuxOS_t | 0 | 245170 | TITLE Intro to STRUCT (Struct1.asm)
; This program demonstrates the STRUC directive.
; 32-bit version.
; Last update: 8/13/01.
INCLUDE Irvine32.inc
COORD STRUCT
X WORD ?
Y WORD ?
COORD ENDS
typEmployee STRUCT
Idnum BYTE 9 DUP(0)
Lastname BYTE 30 DUP(0)
Years WORD 0
SalaryHistory DWORD 10... |
Driver/Printer/PScript/Zoomer/pscriptzDriverInfo.asm | steakknife/pcgeos | 504 | 164988 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: PostScript printer driver
FILE: pscriptzDriverInfo.asm
AUTHOR: <NAME>, 15 May 1990
REVISION HISTORY:
Name Date Description
---- -... |
arch/ARM/STM32/svd/stm32f46_79x/stm32_svd-quadspi.ads | rocher/Ada_Drivers_Library | 192 | 19569 | -- This spec has been automatically generated from STM32F46_79x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.QUADSPI is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CR_FTHRES_Field... |
lib/3d/culling.asm | bitshifters/teletextr | 8 | 2968 |
;----------------------------------------------------------------------------------------------------------
; perform hidden surface removal for the current model
;----------------------------------------------------------------------------------------------------------
; inputs -
; prior to calling this routine, ... |
src/stat-interrupt/stat-int-ncmBE.asm | c-sp/age-test-roms | 0 | 97742 | ; Verified:
; 2021-10-21 pass: CPU CGB E - CPU-CGB-06
; 2021-10-21 pass: CPU CGB B - CPU-CGB-02
; 2021-10-21 fail: DMG-CPU C (blob) - DMG-CPU-08
;
INCLUDE "hardware.inc"
DEF CART_COMPATIBILITY EQU CART_COMPATIBLE_DMG
DEF CART_REQUIRES_NON_CGB_MODE EQU 1
INCLUDE "stat-interrupt/stat-int.inc"
|
widgets/current-track.applescript | zweck/ubersicht-widgets | 5 | 436 | set info to ""
-- Set our list of players
set apps to {"iTunes", "Spotify"}
try
set songname to (do shell script "/usr/local/bin/mpc current --format=%title%")
set songartist to do shell script "/usr/local/bin/mpc current --format=%artist%"
on error e
--
end try
-- Loop over that list
repeat with musicApp in apps
... |
python_src/other/export/screen_3_3.asm | fjpena/sword-of-ianna-msx2 | 43 | 100085 | <reponame>fjpena/sword-of-ianna-msx2
org $0000
; Object types
OBJECT_NONE EQU 0
OBJECT_SWITCH EQU 1
OBJECT_DOOR EQU 2
OBJECT_DOOR_DESTROY EQU 3
OBJECT_FLOOR_DESTROY EQU 4
OBJECT_WALL_DESTROY EQU 5
OBJECT_BOX_LEFT EQU 6
OBJECT_BOX_RIGHT EQU 7
OBJECT_JAR EQU 8
OBJECT_TELEPORTER EQU 9
; Pickable object types
OBJECT_KE... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_431.asm | ljhsiun2/medusa | 9 | 26245 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r8
push %r9
push %rbx
push %rdi
push %rdx
// Load
lea addresses_D+0xa4af, %r9
nop
nop
and %r13, %r13
movups (%r9), %xmm5
vpextrq $1, %xmm5, %rdx
add %r9, %r9
// Faulty Load
lea addresses_D+0xa4af, %rbx... |
IlliParser.g4 | benrkia/Illi | 0 | 5301 | <reponame>benrkia/Illi
parser grammar IlliParser;
options {
tokenVocab = IlliLexer;
}
source
: declaration* EOF
;
//
// Statements
//
declaration
: varDeclarations
| statement
;
varDeclarations
: VAR varDeclaration ( COMMA varDeclaration )* ';'
;
varDeclaration
: Identifie... |
oeis/145/A145563.asm | neoneye/loda-programs | 11 | 172497 | ; A145563: a(0)=0 and a(n+1) = 3*a(n) + 2^(n+2).
; 0,4,20,76,260,844,2660,8236,25220,76684,232100,700396,2109380,6344524,19066340,57264556,171924740,516036364,1548633380,4646948716,13942943300,41833024204,125507461220,376539160876,1129651037060,3389020220044,10167194877860,30501853069036,91506096078020,274519361975884,... |
src/Data/List/At.agda | metaborg/mj.agda | 10 | 3120 | <reponame>metaborg/mj.agda
module Data.List.At where
open import Data.Nat
open import Data.List
open import Data.List.Relation.Unary.All hiding (map; lookup; _[_]=_)
open import Data.List.Relation.Unary.Any hiding (map; lookup)
open import Data.List.Membership.Propositional
open import Data.List.Relation.Binary.Pointw... |
runtime/sources/arm/memcmp.asm | wdv4758h/Yeppp- | 30 | 25551 | /*
* Yeppp! library runtime infrastructure
*
* This file is part of Yeppp! library and licensed under MIT license.
* See runtime/LICENSE.txt for details.
*
*/
.include "common.inc"
.syntax unified
BEGIN_ARM_FUNCTION memcmp
.arch armv5t
TST r2, r2
BEQ .return_zero
.compare_byte:... |
examples/outdated-and-incorrect/cat/Adjoint.agda | asr/agda-kanso | 1 | 6511 |
module Adjoint where
import Category
import Functor
open Category
open Functor using (Functor)
module Adj where
open Functor.Projections using (Map; map)
data _⊢_ {ℂ ⅅ : Cat}(F : Functor ℂ ⅅ)(G : Functor ⅅ ℂ) : Set1 where
adjunction :
(_* : {X : Obj ℂ}{Y : Obj ⅅ} -> Map F X ─→ Y -> X ─→ Map G Y)
... |
src/main/antlr4/com/twineworks/tweakflow/grammar/TweakFlowLexer.g4 | gitter-badger/tweakflow | 1 | 2792 | lexer grammar TweakFlowLexer;
@lexer::header
{
import java.util.Stack;
}
channels {
WS, COMMENTS
}
@lexer::members
{
private int stringLevel;
private Stack<Integer> curlyLevels = new Stack<Integer>();
}
// keywords
INTERACTIVE: 'interactive';
IN_SCOPE: 'in_scope';
GLOBAL: 'global';
MODULE: 'module';
IMPOR... |
Documentation/Code/echo.asm | geoffthorpe/ant-architecture | 0 | 7075 | <reponame>geoffthorpe/ant-architecture<gh_stars>0
# $Id: echo.asm,v 1.2 2000/11/22 00:29:59 ellard Exp $
#
# <NAME> - 11/10/96
#
# Echos input.
#
# See cat.asm for the same basic program, coded
# in a slightly different style.
#
# Register usage:
#
# r2 - holds each character read in.
# r3 - address of $print.
#
lc r... |
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/Mix/assy-support-ia32.asm | ArthasZhang007/15418FinalProject | 0 | 164436 | ;
; Copyright (C) 2008-2012 Intel Corporation.
; SPDX-License-Identifier: MIT
;
.686
.xmm
.model flat,c
.CODE
ALIGN 4
mix_fp_save PROC
mov ecx, DWORD PTR[esp+4]
fxsave BYTE PTR [ecx]
emms
ret
mix_fp_save ENDP
.CODE
ALIGN 4
mix_fp_restore PROC
mov ecx, DWORD PTR[esp+4]
fxrstor BYTE PTR [ecx]
ret
mi... |
hott/level/closure/core.agda | HoTT/M-types | 27 | 7868 | {-# OPTIONS --without-K #-}
module hott.level.closure.core where
open import level
open import decidable
open import equality
open import function.isomorphism.core
-- open import function.isomorphism.properties
open import sum
open import hott.level.core
open import hott.equivalence.core
open import hott.univalence
op... |
scripts/switch_input_language.scpt | p-becker/dotfiles | 1 | 1787 | <reponame>p-becker/dotfiles<filename>scripts/switch_input_language.scpt
tell application "System Events"
key code 111
end tell
|
test/Succeed/Issue1914.agda | shlevy/agda | 3 | 12294 | <reponame>shlevy/agda
{-# OPTIONS -v tc.size:100 #-}
-- {-# OPTIONS -v tc.meta:100 #-}
open import Common.Size using (Size; Size<_)
postulate
A : Set
record R (i₀ : Size) (x : A) : Set where
coinductive
field
force : (j : Size< i₀) → R j x
postulate
P : (A → Set) → Set
f : (Q : A → Set) (x : A) {{ c :... |
Ada/inc/Problem_38.ads | Tim-Tom/project-euler | 0 | 18141 | package Problem_38 is
procedure Solve;
end Problem_38;
|
oeis/210/A210497.asm | neoneye/loda-programs | 11 | 96812 | ; A210497: 2*prime(n+1) - prime(n).
; Submitted by <NAME>(s1)
; 4,7,9,15,15,21,21,27,35,33,43,45,45,51,59,65,63,73,75,75,85,87,95,105,105,105,111,111,117,141,135,143,141,159,153,163,169,171,179,185,183,201,195,201,201,223,235,231,231,237,245,243,261,263,269,275,273,283,285,285,303,321,315,315,321,345,343,357,351,357,36... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_11802_67.asm | ljhsiun2/medusa | 9 | 4429 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x10f70, %rsi
lea addresses_D_ht+0x1dd70, %rdi
cmp %r15, %r15
mov $15, %rcx
rep movsw
nop
nop
nop
nop
cmp %r10, %r10
lea addresses_D_ht+0xec70, %r8
nop
nop
nop
add %rbx, %rbx
and $0xffff... |
src/ada/src/services/atbb/assignment_tree_branch_bound_communication.ads | VVCAS-Sean/OpenUxAS | 88 | 24696 | with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Common; use Common;
with LMCP_Messages; use LMCP_Messages;
private with UxAS.Comms.LMCP_Object_Message_Sender_Pipes;
-- Package only concerned with message passing. It defines its own state,
-- named Mailbox here, which is not mixed ... |
win32/lm32_lcc.asm | ystk/debian-zip | 157 | 2727 | <filename>win32/lm32_lcc.asm
;===========================================================================
; Copyright (c) 1990-1999 Info-ZIP. All rights reserved.
;
; See the accompanying file LICENSE, version 1999-Oct-05 or later
; (the contents of which are also included in zip.h) for terms of use.
; If, for some re... |
oeis/207/A207167.asm | neoneye/loda-programs | 11 | 240776 | ; A207167: Number of n X 6 0..1 arrays avoiding 0 0 0 and 1 0 1 horizontally and 0 0 1 and 1 0 1 vertically.
; Submitted by <NAME>(s2)
; 19,361,1482,3952,8455,15789,26866,42712,64467,93385,130834,178296,237367,309757,397290,501904,625651,770697,939322,1133920,1356999,1611181,1899202,2223912,2588275,2995369,3448386,3950... |
Transynther/x86/_processed/NONE/_st_/i3-7100_9_0x84_notsx.log_21829_1624.asm | ljhsiun2/medusa | 9 | 101208 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x12e96, %rbx
nop
nop
and %r9, %r9
movl $0x61626364, (%rbx)
sub $514, %r8
lea addresses_WT_ht+0x742a, %r10
and $62605, %r8
mov $0x6162636465666768, %r11
movq %r11, %xmm7
vmovups... |
Finder/Copy-Path-as-Alias.applescript | boisy/AppleScripts | 116 | 3633 | <reponame>boisy/AppleScripts
use AppleScript version "2.4" -- Yosemite (10.10) or later
use framework "Foundation"
use scripting additions
-- classes, constants, and enums used
property NSString : a reference to current application's NSString
tell application "Finder" to set thePath to POSIX path of (selection as ali... |
MySource/29-jmp grater lerg or 0.asm | mdabdullahibnaharun/Assembly-Language | 0 | 85549 |
; You may customize this and other start-up templates;
; The location of this template is c:\emu8086\inc\0_com_template.txt
org 100h
.model small
.stack 100h
.data
msg1 db 10,13,"Enter Number: $"
msg2 db 10,13,"Number is Positive$"
msg3 db 10,13,"Number Is Negative$"
msg4 db 10,... |
prototyping/Examples/Type.agda | Tr4shh/Roblox-Luau | 0 | 5013 | module Examples.Type where
open import Agda.Builtin.Equality using (_≡_; refl)
open import FFI.Data.String using (_++_)
open import Luau.Type using (nil; _∪_; _∩_; _⇒_)
open import Luau.Type.ToString using (typeToString)
ex1 : typeToString(nil) ≡ "nil"
ex1 = refl
ex2 : typeToString(nil ⇒ nil) ≡ "(nil) -> nil"
ex2 = ... |
3-mid/physics/interface/source/physics-joint.ads | charlie5/lace | 20 | 8339 | with
physics.Object,
lace.Any;
package physics.Joint
--
-- Provides an interface for physics joints.
--
is
type Item is limited interface
and lace.Any.limited_item;
type View is access all Item'Class;
use Math;
type Degree_of_freedom is range 1 .. 6;
procedure destruct ... |
alloy4fun_models/trashltl/models/5/8tppbx3iPobJ9C39F.als | Kaixi26/org.alloytools.alloy | 0 | 2601 | <filename>alloy4fun_models/trashltl/models/5/8tppbx3iPobJ9C39F.als
open main
pred id8tppbx3iPobJ9C39F_prop6 {
all f: File | always (f in Trash since f in Trash)
}
pred __repair { id8tppbx3iPobJ9C39F_prop6 }
check __repair { id8tppbx3iPobJ9C39F_prop6 <=> prop6o } |
src/security-oauth-clients.adb | jquorning/ada-security | 19 | 28871 | <filename>src/security-oauth-clients.adb
-----------------------------------------------------------------------
-- security-oauth-clients -- OAuth Client Security
-- Copyright (C) 2012, 2013, 2017, 2018, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License")... |
src/Text/Printf.agda | lclem/agda-prelude | 0 | 5424 |
module Text.Printf where
open import Prelude hiding (parseNat)
open import Builtin.Float
private
data Padding : Set where
noPad : Padding
lPad rPad : Nat → Padding
record Flags : Set where
field
padding : Padding
padChar : Char
alternate : Bool
precision : Maybe Nat
... |
1571/64tass/lccfmt1.asm | silverdr/assembly | 23 | 178781 | ;
fmtvar = $620 ; put format vars in jump buffer
cnt = fmtvar
num = fmtvar+1
trys = fmtvar+3
tral = fmtvar+4
dtrck = fmtvar+6
remdr = fmtvar+7
sect = fmtvar+8
;
;
;
;* format routine for lcc
;*
;*
;*
;
;
;
code
formt lda ftnum ; test if formatting begun
bp... |
books_and_notes/professional_courses/Assembly_language_and_programming/sources/汇编语言程序设计教程第四版/codes/6_11.asm | gxw1/review_the_national_post-graduate_entrance_examination | 640 | 167856 | STACK SEGMENT PARA STACK 'STACK'
DW 64 DUP (?)
STACK ENDS
DATA SEGMENT
N DB 8
FUNCN DW ?
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,SS:STACK,DS:DATA
MAIN PROC FAR
START: PUSH DS
MOV AX,0
PUSH AX
MOV AX,DATA
MOV DS,AX
PUSH ... |
alloy4fun_models/trainstlt/models/4/3q9sKPwcQxa5oowHX.als | Kaixi26/org.alloytools.alloy | 0 | 4959 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id3q9sKPwcQxa5oowHX_prop5 {
always all t: Train | (t'.pos in t.prox) or (t.pos in Exit implies Train' = Train -t)
}
pred __repair { id3q9sKPwcQxa5oowHX_prop5 }
check __repair { id3q9sKPwcQxa5oowHX_prop5 <=> prop5o } |
oeis/111/A111500.asm | neoneye/loda-programs | 11 | 82011 | <reponame>neoneye/loda-programs
; A111500: Number of squares in an n X n grid of squares with diagonals.
; 1,10,31,72,137,234,367,544,769,1050,1391,1800,2281,2842,3487,4224,5057,5994,7039,8200,9481,10890,12431,14112,15937,17914,20047,22344,24809,27450,30271,33280,36481,39882,43487,47304,51337,55594,60079,64800,69761,74... |
src/posix_to_hfs.applescript | inureyes/copy-paths-to-clipboard | 86 | 195 | <filename>src/posix_to_hfs.applescript
-- Copy All Paths to Clipboard
-- Workflow For Alfred 2
-- <NAME> 2014
-- MIT license.
on run(q)
set theTargets to {}
set oldItemDelimiters to text item delimiters
set text item delimiters to ", "
set qList to every text item of (q as text)
set text item delimiters to o... |
programs/oeis/164/A164559.asm | karttu/loda | 1 | 28197 | <gh_stars>1-10
; A164559: a(n) = 6^n/3 - 1.
; 1,11,71,431,2591,15551,93311,559871,3359231,20155391,120932351,725594111,4353564671,26121388031,156728328191,940369969151,5642219814911,33853318889471,203119913336831,1218719480020991,7312316880125951
mov $1,6
pow $1,$0
mul $1,2
sub $1,1
|
test/Succeed/fol-theorems/NestedAxioms/C.agda | asr/apia | 10 | 6875 | ------------------------------------------------------------------------------
-- Testing nested axioms
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPT... |
P6/data_P6_2/MDTest12.asm | alxzzhou/BUAA_CO_2020 | 1 | 173229 | <reponame>alxzzhou/BUAA_CO_2020<gh_stars>1-10
ori $ra,$ra,0xf
div $1,$ra
divu $4,$ra
div $2,$ra
addiu $5,$3,2517
addu $6,$2,$5
srav $4,$1,$5
mthi $3
addu $5,$2,$2
divu $3,$ra
addu $4,$4,$4
ori $4,$5,53600
mthi $4
div $0,$ra
addu $4,$2,$4
div $4,$ra
addiu $0,$4,8215
addiu $2,$4,21658
mthi $3
mtlo $0
ori $4,$4,55876
addi... |
benchmark/cwf/Chain.agda | shlevy/agda | 1,989 | 3511 | <filename>benchmark/cwf/Chain.agda
module Chain
{U : Set}(T : U -> Set)
(_==_ : {a b : U} -> T a -> T b -> Set)
(refl : {a : U}(x : T a) -> x == x)
(trans : {a b c : U}(x : T a)(y : T b)(z : T c) -> x == y -> y == z -> x == z)
where
infix 30 _∼_
infix 3 proof_
infixl 2 _≡_by_
infix 1 _qed
data _∼_ {a b : U... |
GQLParser.g4 | cangfengzhs/gql-grammar | 0 | 5658 | <filename>GQLParser.g4
parser grammar GQLParser;
options {
tokenVocab = GQLLexer;
}
root: requests? EOF;
requests: (gqlRequest P_SEMI | emptyRequest)* (
gqlRequest P_SEMI?
)
| emptyRequest;
emptyRequest: P_SEMI;
/* Section 6 */
// Section 6.1 <GQL-request>
gqlRequest: requestParameterSet? gqlProgram;
// Sect... |
Practicas/Practica_08/codigoFuente/P8.asm | CodeRevenge/Proyecto-seminario-traductores-i | 0 | 167120 | <filename>Practicas/Practica_08/codigoFuente/P8.asm<gh_stars>0
E1 EQU 50
ORG $4000
E5 EQU 15
JMP E1
JMP $E1
JMP ,X
JMP 10,Y
JMP -10,Y
JMP 16,SP
JMP -16,SP
JMP 255,SP
JMP 65535,SP
E4 END |
oeis/343/A343785.asm | neoneye/loda-programs | 11 | 162555 | <filename>oeis/343/A343785.asm<gh_stars>10-100
; A343785: a(n) is completely multiplicative with a(p^e) = (-1)^e if p == 2 (mod 3) and a(p^e) = 1 otherwise.
; Submitted by <NAME>(s3)
; 1,-1,1,1,-1,-1,1,-1,1,1,-1,1,1,-1,-1,1,-1,-1,1,-1,1,1,-1,-1,1,-1,1,1,-1,1,1,-1,-1,1,-1,1,1,-1,1,1,-1,-1,1,-1,-1,1,-1,1,1,-1,-1,1,-1,-1,... |
music/Refresh.applescript | casey/local | 18 | 2000 | <gh_stars>10-100
property my_title : "Refresh"
tell application "Music"
repeat with aTrack in selection
try
refresh aTrack
end try
end repeat
end tell
|
winxp_sp3/trun/pop_calc/winexec/calc_winexec.nasm | danf42/vulnserver | 0 | 2125 | [BITS 32]
global _start
section .text
_start:
xor edx, edx ; zero out edx
push edx ; push null byte onto stack
push 0x6578652e ; push '.exe' onto stack
push 0x636c6163 ; push 'calc' onto stack
mov ebx, esp ; save stack pointer
inc edx ; add 1 for SW_SHOWNORMAL
push edx ; push SW_SH... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_44.asm | ljhsiun2/medusa | 9 | 241249 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1290a, %r9
nop
nop
nop
cmp $3989, %r11
mov (%r9), %rcx
nop
nop
sub $64682, %rsi
lea addresses_WC_ht+0xed2a, %rcx
and $39205, %rbp
movw $0x6162, (%rcx)
cmp %rcx, %rcx
lea a... |
Definition/Typed/Consequences/TypeUnicity.agda | CoqHott/logrel-mltt | 2 | 4695 | {-# OPTIONS --safe #-}
module Definition.Typed.Consequences.TypeUnicity where
open import Definition.Untyped hiding (U≢ℕ; U≢Π; U≢ne; ℕ≢Π; ℕ≢ne; Π≢ne; U≢Empty; ℕ≢Empty; Empty≢Π; Empty≢ne)
open import Definition.Untyped.Properties using (subst-Univ-either)
open import Definition.Typed
open import Definition.Typed.Prope... |
examples/powers-of-two/powers-of-two.r.asm | sdsmdg/RISC-processor | 43 | 164658 | <gh_stars>10-100
; (C) 2017, <NAME>
; This content is licensed under 'MIT License'
; Simple program for RISC-Processor
; This program display powers of two starting from 2^0
;
; Technical details
; > Display buffer starts from 0x000003F7 and ends at 0x000003FF (inclusive)
; > DB(Display buffer) is 4x4 bytes (32x4 = ... |
iod/nul/cnam.asm | olifink/smsqe | 0 | 26314 | <reponame>olifink/smsqe<gh_stars>0
; Setup name of NUL Channel V2.00 1996 <NAME>
section nul
xdef nul_cnam
xref nul_name
xref nul_parm
include 'dev8_keys_err'
include 'dev8_iod_nul_data'
include 'dev8_mac_assert'
;+++
; Set up nul channel name in (a1)
;---
nul_cnam
move.w d2,d4
subq.w #5,d4 ; s... |
misc/project-backup.asm | TAbdiukov/AVR-monorail | 0 | 101984 | <reponame>TAbdiukov/AVR-monorail
;FINAL
.include "m2560def.inc"
.def temp =r21
.def row =r17
.def col =r18
.def mask =r19
.def temp2 =r20
.def count_letter =r22 ;multiple times
.def push_flag=r23 ;whether any button has pushed
.def letter_num = r24 ;maximum number
.def finish_input_flag =r25 ;0 is push... |
oeis/137/A137693.asm | neoneye/loda-programs | 11 | 179334 | <reponame>neoneye/loda-programs
; A137693: Numbers n such that 3n^2-n = 6k^2-2k for some integer k>0.
; 7,7887,9101399,10503006367,12120460245927,13987000620793199,16140986595935105527,18626684544708490984767,21495177823607002661315399,24805416581757936362666985487,28625429240170834955515039936407,330337205377405617807... |
programs/oeis/258/A258588.asm | karttu/loda | 0 | 89619 | <reponame>karttu/loda
; A258588: Minimal most likely sum for a roll of n 10-sided dice.
; 1,11,16,22,27,33,38,44,49,55,60,66,71,77,82,88,93,99,104,110,115,121,126,132,137,143,148,154,159,165,170,176,181,187,192,198,203,209,214,220,225,231,236,242,247,253,258,264,269,275
mul $0,11
sub $0,1
div $0,2
lpb $0,1
add $0,5
... |
code/4/t1.asm | GeekHades1/AssemblyCode | 1 | 81427 | assume cs:codesg
codesg segment
mov ax, 2000H ; 这里注意要加H,不然就会被认为是十进制的数
; 与debug底下不大相同
mov ss, ax
mov sp, 0
add sp, 10
pop ax
pop bx
push ax
push bx
pop ax
pop bx
mov ax, 4c00H
int 21H
codesg ends
end |
startup.asm | tpo/one_million_hellos | 0 | 14818 | ;; exit immediately
section .text
global _start ;must be declared for linker (ld)
_start: ;tell linker entry point
_exit:
mov eax,1 ;system call number (sys_exit)
mov ebx,0 ... |
test/link/section-union/split-data.asm | orbea/rgbds | 522 | 175905 | <filename>test/link/section-union/split-data.asm<gh_stars>100-1000
IF !DEF(SECOND)
DATA equs "ds 1\ndb $aa"
ELSE
DATA equs "db $bb\nds 1"
ENDC
SECTION UNION "mutually-overlaid data", ROM0
DATA
PURGE DATA
|
flame32-bios-banks.asm | drako0812/flame32 | 2 | 243321 | <filename>flame32-bios-banks.asm
#include "flame32.asm"
#bankdef "bios"
{
#addr 0x000000
#size 0x100000
#outp 0x000000
#fill
}
#bankdef "stack"
{
#addr 0x100000
#size 0x100000
#outp 0x100000
#fill
}
#bankdef "gfx"
{
#addr 0x200000
#size 0x100000
#outp 0x200000
#fill
}
... |
Part 8 - How To Do Magic With Hypervisor!/Hypervisor From Scratch/MyHypervisorDriver/AsmVmexitHandler.asm | avboy1337/Hypervisor-From-Scratch | 808 | 240242 | PUBLIC AsmVmexitHandler
EXTERN VmxVmexitHandler:PROC
EXTERN VmxVmresume:PROC
EXTERN HvReturnStackPointerForVmxoff:PROC
EXTERN HvReturnInstructionPointerForVmxoff:PROC
.code _text
;------------------------------------------------------------------------
AsmVmexitHandler PROC
push 0 ; we migh... |
src/latin_utils/latin_utils-strings_package.ads | spr93/whitakers-words | 204 | 3033 | -- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is Copyrighted
-- (c). Permission i... |
src/interrupts.asm | JL2210/ramdump | 0 | 4593 | <filename>src/interrupts.asm
; Copyright 2020 <NAME>
;
; This file is part of RAMDump.
;
; RAMDump is licensed under the MIT license; for more details,
; see the file LICENSE in the root of this repository.
INCLUDE "addrs.inc"
SECTION "interrupts", ROM0[$0040]
vblank:
reti
ds 8 - (@ - vblank)
lcd_stat:
reti
ds 8 ... |
programs/oeis/283/A283394.asm | karttu/loda | 1 | 176801 | <gh_stars>1-10
; A283394: a(n) = 3*n*(3*n + 7)/2 + 4.
; 4,19,43,76,118,169,229,298,376,463,559,664,778,901,1033,1174,1324,1483,1651,1828,2014,2209,2413,2626,2848,3079,3319,3568,3826,4093,4369,4654,4948,5251,5563,5884,6214,6553,6901,7258,7624,7999,8383,8776,9178,9589,10009,10438,10876,11323,11779,12244,12718,13201,13693... |
oeis/290/A290442.asm | neoneye/loda-programs | 11 | 170081 | ; A290442: a(n) = Catalan(n-1)*Motzkin(n).
; Submitted by <NAME>
; 1,2,8,45,294,2142,16764,138567,1194050,10638056,97383208,911829646,8702182020,84418698600,830606179680,8274230277615,83330214144930,847407871749780,8692682350690800,89868901315880610,935699342853054780,9805180025713805460,103353379063190310600,109529596... |
Keyboard-Maestro/Renumber-Macro-Prefix-Numbers.applescript | boisy/AppleScripts | 116 | 3529 | use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
try
tell application "Keyboard Maestro"
set dialogResult to display dialog ¬
"Enter the starting number or click clear to remove number prefix." default answer 0 ¬
with title "Renumber Macro Prefix Numbers" buttons {"Cancel"... |
patches/screaming_wings/disasm/patched_screaming_wings_block_4.asm | fcatrin/a8tools | 3 | 18745 | <filename>patches/screaming_wings/disasm/patched_screaming_wings_block_4.asm<gh_stars>1-10
; BLOCK 4 patched_screaming_wings.xex
org $1500
L_1500 lda ENEMY_MOV_TYPE
bne L_153C
lda #$28
sta ENEMY_Y
sta $0625
... |
smsq/gold/ser/rx.asm | olifink/smsqe | 0 | 161585 | <reponame>olifink/smsqe
; Gold Card SER receive V2.03 1994 <NAME>
section ser
xdef ser_rx
xref iob_room
xref iob_eof
xref iob_pbyt
xref ql_hcmdn
xref ql_hcmdr
include 'dev8_keys_par'
include 'dev8_keys_k'
include 'dev8_mac_assert'
include 'dev8_smsq_smsq_base_keys'
;+++
; SER receive
;
; d0 c s ... |
src/iter/fibonacci.adb | shintakezou/adaplayground | 0 | 15856 | <filename>src/iter/fibonacci.adb<gh_stars>0
with Ada.Text_IO;
package body Fibonacci is
function Has_Element (Pos : Fibo_Cur) return Boolean is
(Pos.Cur <= Natural'Last - Pos.Prev and Pos.Prev > 0);
overriding
function First (O : Fibo_Forward) return Fibo_Cur is
((Cur => 1, Prev => 1));
... |
oeis/033/A033893.asm | neoneye/loda-programs | 11 | 29899 | ; A033893: Sort then Add!.
; Submitted by <NAME>
; 3,6,12,24,48,96,165,321,444,888,1776,3453,6798,13587,27165,39732,63111,74247,98724,123513,235848,470436,504903,508362,531930,545289,790878,868767,1536555,2892111,4004400,4004844,4049292,4273791,5508570,5564148
mov $1,3
lpb $0
sub $0,1
seq $1,70196 ; a(n)=n plus th... |
oeis/163/A163403.asm | neoneye/loda-programs | 11 | 166880 | ; A163403: a(n) = 2*a(n-2) for n > 2; a(1) = 1, a(2) = 2.
; 1,2,2,4,4,8,8,16,16,32,32,64,64,128,128,256,256,512,512,1024,1024,2048,2048,4096,4096,8192,8192,16384,16384,32768,32768,65536,65536,131072,131072,262144,262144,524288,524288,1048576,1048576,2097152,2097152,4194304,4194304,8388608,8388608,16777216,16777216,3355... |
programs/oeis/071/A071991.asm | neoneye/loda | 22 | 14863 | <reponame>neoneye/loda
; A071991: a(1) = a(2) = 1; a(n) = a(floor(n/3)) + a(n - floor(n/3)).
; 1,1,2,3,4,4,5,5,6,7,7,8,9,10,11,11,12,12,13,14,15,16,16,16,17,17,18,19,20,21,22,23,23,23,23,24,25,25,26,27,28,29,30,31,32,33,34,34,34,34,35,35,36,36,37,37,38,39,40,41,42,43,44,45,46,47,48,49,49,50,50,50,50
mov $1,$0
seq $1,7... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.