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 |
|---|---|---|---|---|
antlrv4-grammar/CTE.g4 | kstenerud/concise-encoding | 168 | 5914 | // Copyright 2021 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, distribute... |
programs/oeis/177/A177228.asm | karttu/loda | 1 | 18088 | <reponame>karttu/loda<filename>programs/oeis/177/A177228.asm
; A177228: A combinatorial differential triangle sequence:q=3;t=1/q;f(t,n)=d^n/dt^n*(t/(1+t); c(t.n,m)=(1/(1+t)*f(n,t)/(f(t,m)*f(t,(n-m))
; 3,3,3,3,-2,3,3,-3,-3,3,3,-4,-6,-4,3,3,-5,-10,-10,-5,3,3,-6,-15,-20,-15,-6,3,3,-7,-21,-35,-35,-21,-7,3,3,-8,-28,-56,-70,... |
oeis/194/A194475.asm | neoneye/loda-programs | 11 | 97092 | <reponame>neoneye/loda-programs
; A194475: Number of ways to arrange 3 indistinguishable points on an n X n X n triangular grid so that no three points are in the same row or diagonal.
; Submitted by <NAME>
; 0,1,17,105,410,1225,3066,6762,13560,25245,44275,73931,118482,183365,275380,402900,576096,807177,1110645,1503565... |
game/logic/game_states/game/game_logic.asm | pompshuffle/super-tilt-bro | 2 | 103184 | init_game_state:
.(
.(
; Clear background of nametable 2
jsr clear_bg_bot_left
; Store characters' tiles in CHR
ldx #0
jsr place_character_ppu_tiles
ldx #1
jsr place_character_ppu_tiles
ldx #0
jsr place_character_ppu_illustrations
ldx #1
jsr place_character_ppu_illustrations
; Ensure game st... |
programs/oeis/152/A152993.asm | neoneye/loda | 22 | 162339 | <reponame>neoneye/loda
; A152993: a(n) = n - d(n) - pi(n) + 1.
; 1,0,0,0,1,0,2,1,3,3,5,2,6,5,6,6,9,6,10,7,10,11,13,8,14,14,15,14,18,13,19,16,19,20,21,17,24,23,24,21,27,22,28,25,26,29,31,24,32,30,33,32,36,31,36,33,38,39,41,32,42,41,40,40,44,41,47,44,47,44,50,41,51,50,49,50,53,50,56,49,55,57,59,50,59,60,61,58,64,55,64,63... |
samplecode/hello.asm | adamedx/jabba | 0 | 1180 | <gh_stars>0
.globl main
.data
hello: .asciiz "Hello, world"
endl: .asciiz "\n"
.text
main:
#
# println("Hello, world");
#
li $v0,4 # system call code for PRINT_STR
la $a0,hello # get address of string to print
syscall # print string
li $v0,4 # system call code for PRINT_STR
la $a0,endl ... |
linear_algebra/tridiagonal.adb | jscparker/math_packages | 30 | 29767 |
---------------------------------------------------------------------------
-- package body Tridiagonal, symmetric matrix tridiagonalization
-- Copyright (C) 2018 <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the ab... |
programs/oeis/196/A196792.asm | neoneye/loda | 22 | 11512 | ; A196792: a(n)=T(10,n), array T given by A047848.
; 1,2,15,184,2381,30942,402235,5229044,67977561,883708282,11488207655,149346699504,1941507093541,25239592216022,328114698808275,4265491084507564,55451384098598321,720867993281778162,9371283912663116095,121826690864620509224,1583746981240066619901,2058871075612086605870... |
regtests/keystore-properties-tests.adb | stcarrez/ada-keystore | 25 | 24525 | <reponame>stcarrez/ada-keystore
-----------------------------------------------------------------------
-- keystore-properties-tests -- Tests for Keystore.Properties
-- Copyright (C) 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use ... |
Lab_Task/lab 3.asm | WardunIslam/CSE331L_Section_7_Summer_2020_NSU | 0 | 96684 | <reponame>WardunIslam/CSE331L_Section_7_Summer_2020_NSU
DATA SEGMENT
MSG1 DB "Hello World$"
MSG2 DB "Assembly LAnguage CSE331$"
START:
MOV AX, DATA
MOV DS, AX
LEA DX, MSG1
MOV AH, 9
INT 21H
LEA DX, MSG2
MOV AH, 9
INT 21H
MOV AH, 4cH
INT 21H
... |
output/assembleurtrue.asm | jodorganistaca/Projet_SI | 0 | 240651 | AFC 1 5
COP 20 1
AFC 2 5
INF 3 20 2
JMF 3 11
AFC 4 2
AFC 5 2
MUL 6 4 5
COP 20 6
JMP 37
AFC 7 5
SUP 8 20 7
JMF 8 29
AFC 9 2
EQU 10 20 9
JMF 10 20
AFC 11 3
COP 20 11
JMP 26
AFC 12 2
SUP 13 20 12
JMF 13 26
AFC 14 4
COP 20 14
JMP 26
AFC 15 0
COP 20 15
JMP 37
AFC 16 5 ... |
programs/oeis/083/A083065.asm | neoneye/loda | 22 | 180 | <filename>programs/oeis/083/A083065.asm
; A083065: 4th row of number array A083064.
; 1,4,19,94,469,2344,11719,58594,292969,1464844,7324219,36621094,183105469,915527344,4577636719,22888183594,114440917969,572204589844,2861022949219,14305114746094,71525573730469,357627868652344,1788139343261719,8940696716308594,44703483... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/mak/kart-calc.asm | prismotizm/gigaleak | 0 | 22330 | Name: kart-calc.asm
Type: file
Size: 23387
Last-Modified: '1992-08-31T05:35:23Z'
SHA-1: 43C93F029D67B583F45F2F22137AE6BE9E3EE868
Description: null
|
programs/oeis/324/A324964.asm | neoneye/loda | 22 | 172375 | ; A324964: a(n) = A000139(n) mod 2; Characteristic function of odd fibbinary numbers (A022341).
; 0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mov $1,1
lpb $0
mul... |
src/main/resources/project-templates/microbit_example/src/display.ads | WinterAlexander/Ada-IntelliJ | 17 | 10119 | ------------------------------------------------------------------------------
-- Copyright (C) 2018, AdaCore --
-- --
-- This is free software; you can redistribute it and/or modify it under --
-- t... |
ee/hot/go.asm | olifink/smsqe | 0 | 172783 | ; Procedure to start HOTKEY V2.00 1988 <NAME> QJUMP
section hotkey
xdef hot_go
xref hot_thus
xref hot_thfr
xref hk_cjob
;+++
; Start the hotkey job
;---
hot_go
jsr hot_thus ; use thing
bne.s hg_rts
jsr hk_... |
diolan-plus2-toad5/fw/boot_asm.asm | nyholku/TOAD4 | 0 | 91305 | <reponame>nyholku/TOAD4
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; BootLoader. ;;
;; Copyright (C) 2007 Diolan ( http://www.diolan.com ) ;;
;; ... |
src/ini-parameters.ads | SSOCsoft/Log_Reporter | 0 | 27604 | <reponame>SSOCsoft/Log_Reporter
With
INI.Read_INI;
Package INI.Parameters is
Parameters : INI.Instance renames Read_INI("Parameters.ini");
End INI.Parameters;
|
scripts/notes-to-json.applescript | jbriales/lifelogger | 26 | 3675 | <filename>scripts/notes-to-json.applescript
#!/usr/bin/osascript
-- Dump notes from Notes.app to a json file as a list of objects.
-- Pass 1 argument - the filename to write the json notes into.
on run argv
set argc to 0
try
set argc to (count of argv)
end try
if argc is not 1
error 1... |
programs/oeis/074/A074225.asm | neoneye/loda | 22 | 173418 | <reponame>neoneye/loda
; A074225: a(n) = n * Sum_{d|n} d*2^(d-1).
; 1,10,39,148,405,1254,3143,8488,20853,52050,123915,297804,692237,1611974,3687795,8405584,18939921,42512562,94634003,209819940,462431697,1015269486,2218786839,4832458392,10485762025,22684180610,48922424415,105229923596,225754218525,483191355870,103186589... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/set_in_pproc.adb | best08618/asylo | 7 | 21590 | -- { dg-do compile }
with Ada.Containers.Ordered_Sets;
procedure Set_In_Pproc is
protected type Ptype is
procedure Pproc;
end;
protected body Ptype is
procedure Pproc is
package Sets is
new Ada.Containers.Ordered_Sets (Element_Type => Integer);
begin
null;... |
oeis/015/A015562.asm | neoneye/loda-programs | 11 | 167878 | <reponame>neoneye/loda-programs
; A015562: Expansion of x/(1 - 7*x - 5*x^2).
; Submitted by <NAME>
; 0,1,7,54,413,3161,24192,185149,1417003,10844766,82998377,635212469,4861479168,37206416521,284752311487,2179298263014,16678849398533,127648437104801,976933306726272,7476775332607909,57222093861886723,437938533696246606,3... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_20_326.asm | ljhsiun2/medusa | 9 | 97339 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x19c93, %r15
nop
add $16962, %r9
movb (%r15), %r12b
nop
nop
nop
nop
nop
sub %rdi, %rdi
lea addresses_UC_ht+0xac93, %r10
nop
nop
nop
inc %r12
mov (%r10... |
src/Parse/GeneratedParser.g4 | Naios/swy | 19 | 2714 |
/**
Copyright(c) 2016 - 2017 <NAME> <denis.blank at outlook dot com>
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
Unless required by ... |
helloos/Kernel/kernel.pic.asm | kbu1564/HelloOS | 15 | 86836 | ; I/O Port 함수
;
; o port byte
_out_port_byte:
push edx
out dx, al
pop edx
ret
; o port word
_out_port_word:
out dx, ax
ret
; i port byte
_in_port_byte:
push edx
mov dh, 0
in al, dx
pop edx
ret
; i port word
_in_port_word:
in ax, dx
ret
; PIC 관련 Master와 Slave를 초기화 ... |
programs/oeis/023/A023531.asm | jmorken/loda | 1 | 165083 | ; A023531: a(n) = 1 if n is of the form m(m+3)/2, otherwise 0.
; 1,0,1,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
mul $0,2
add $0,1
mov $2,4
lpb $0
sub $0,$2
add $2,2... |
.emacs.d/elpa/wisi-3.1.3/wisitoken-bnf-generate_utils.ads | caqg/linux-home | 0 | 23337 | -- Abstract :
--
-- Utilities for translating input file structures to WisiToken
-- structures needed for LALR.Generate.
--
-- Copyright (C) 2014, 2015, 2017 - 2020 Free Software Foundation, Inc.
--
-- The WisiToken package is free software; you can redistribute it
-- and/or modify it under terms of the GNU Gener... |
gfx/pokemon/raticate/anim.asm | Dev727/ancientplatinum | 28 | 164277 | frame 2, 24
setrepeat 2
frame 0, 04
frame 1, 04
dorepeat 2
endanim
|
src/ExecBlock/win-X86_Stub.asm | ufo2011/QBDI | 1 | 20078 | <gh_stars>1-10
; This file is part of QBDI.
;
; Copyright 2017 Quarkslab
;
; 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
;
; Unless required... |
libsrc/stdio/z9001/conio_vars.asm | jpoikela/z88dk | 640 | 8118 | <filename>libsrc/stdio/z9001/conio_vars.asm
;
; Shared variables between the VT100 and VT52 engines
MODULE conio_vars
SECTION data_clib
PUBLIC __z9001_attr
.__z9001_attr defb $70 ; White on Black
|
bb-runtimes/src/s-bbcppr__ppc.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 1617 | <reponame>JCGobbi/Nucleo-STM32G474RE
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
asm/6502/os/6502os.asm | rampa069/clc88 | 1 | 29122 | <filename>asm/6502/os/6502os.asm
icl 'symbols.asm'
CHARSET_SIZE = $0400
PALETTE_SIZE = $0200
VRAM_CHARSET = VRAM
VRAM_PAL_ATARI = VRAM + CHARSET_SIZE
VRAM_PAL_ZX = VRAM_PAL_ATARI + PALETTE_SIZE
VRAM_SCREEN = VRAM_PAL_ZX + PALETTE_SIZE
TEXT_SCREEN_SIZE = 40*24
TEXT_SCREEN_SIZE_WIDE = 20*24
TEXT_SCR... |
Save Namebadge GP.applescript | AlexanderGalen/applescripts | 3 | 3525 | tell application "QuarkXPress"
tell document 1
set tool mode to drag mode
--saves first so later we can close without saving
save
set docPath to file path as string
set finishedPDFName to characters 1 thru ((length of docPath) - 4) of docPath & ".pdf" as string
end tell
set activeSpace to active layout s... |
20/main.adb | Zeyu-Li/advent-of-code-2021 | 1 | 11867 | <reponame>Zeyu-Li/advent-of-code-2021
-- run with `gnat make 20.adb && ./20`
with Ada.Text_IO;
with Ada.Integer_Text_IO;
with Ada.Strings;
with Ada.Strings.Fixed;
use Ada.Text_IO;
use Ada.Integer_Text_IO;
use Ada.Strings;
use Ada.Strings.Fixed;
procedure Main is
Fp : File_Type;
File_Name : constant St... |
programs/oeis/194/A194886.asm | karttu/loda | 1 | 90328 | <filename>programs/oeis/194/A194886.asm
; A194886: Units' digits of the nonzero decagonal numbers.
; 1,0,7,2,5,6,5,2,7,0,1,0,7,2,5,6,5,2,7,0,1,0,7,2,5,6,5,2,7,0,1,0,7,2,5,6,5,2,7,0,1,0,7,2,5,6,5,2,7,0,1,0,7,2,5,6,5,2,7,0,1,0,7,2,5,6,5,2,7,0,1,0,7,2,5,6,5,2,7,0,1,0,7,2,5,6
pow $0,2
mov $1,$0
add $1,7
mul $1,9
mod $1,10... |
tools/scitools/conf/understand/ada/ada95/a-wticio.ads | brucegua/moocos | 1 | 13810 | ------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
test/Fail/Issue2467.agda | cruhland/agda | 1,989 | 3768 | <reponame>cruhland/agda
-- Andreas, 2017-02-20, issue #2467
-- Proper error on missing BUILTIN REWRITE
{-# OPTIONS --rewriting #-}
postulate A : Set
{-# REWRITE A #-}
-- Should fail with error like
|
Driver/Printer/Fax/CComRem/ccomremPDL.asm | steakknife/pcgeos | 504 | 86933 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1993 -- All Rights Reserved
PROJECT:
MODULE:
FILE: ccomremPDL.asm
AUTHOR: <NAME>, Sep 28, 1993
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:... |
ada/euler1.adb | procrastiraptor/euler | 1 | 27466 | with Ada.Integer_Text_IO;
procedure Euler1 is
Sum: Integer := 0;
begin
for I in Integer range 1 .. 999 loop
if I mod 3 = 0 or I mod 5 = 0 then
Sum := Sum + I;
end if;
end loop;
Ada.Integer_Text_IO.Put(Sum);
end Euler1;
|
source/amf/uml/amf-umldi-uml_stereotype_property_value_labels.ads | svn2github/matreshka | 24 | 18730 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
grammar/WebIDLParser.g4 | raefko/idl2js | 6 | 4071 | <reponame>raefko/idl2js
parser grammar WebIDLParser;
options { tokenVocab=WebIDLLexer; }
webIDL
: definitions? EOF
;
definitions
: extendedDefinition+
;
extendedDefinition
: extendedAttributeList? definition
;
definition
: callbackOrInterfaceOrMixin
| namespace
| partial
| ... |
src/ordt/parse/grammars/ExtParms.g4 | prdwivedi/open-register-design-tool | 157 | 5725 | <filename>src/ordt/parse/grammars/ExtParms.g4<gh_stars>100-1000
// External parameter file grammar
//
// Copyright (c) 2016 Juniper Networks, Inc. All rights reserved.
grammar ExtParms;
import CommonExtParms;
@header {
package ordt.parse.parameters;
} |
TinyC/ch15/c02-hello-macro-nasm/hello.nasm | zh921/TinyC | 0 | 103043 | <gh_stars>0
%include "macro.inc"
print "Hello world!"
print "Hello again!"
exit 0
|
asm/prch.asm | pedroreissantos/pepe | 0 | 84144 | <reponame>pedroreissantos/pepe
; PEPE gerado por 'lcc' (IST: prs 2005)
; 'rl' serve como frame-pointer e 'r0' como acumulador
; os registos 'r1' a 'r10' sao preservados nas chamadas
PLACE 0
CALL main
SWE 240 ; exit(code in r0)
; global main
; TEXT
main: ; ncalls=1
PUSH r8
PUSH r9
PUSH r10
PUSH rl
MOV rl, sp
SUB sp, 2
M... |
test/Succeed/Issue2255.agda | cruhland/agda | 1,989 | 14469 | <reponame>cruhland/agda<gh_stars>1000+
open import Agda.Builtin.Equality
open import Agda.Builtin.Nat
foo : Nat → (Nat → Nat) → Nat
foo zero f = f zero
foo (suc n) f = foo n λ n → f (suc n)
fsuc : (Nat → Nat) → Nat → Nat
fsuc f n = f (suc n)
foo' : Nat → (Nat → Nat) → Nat
foo' zero f = f zero
foo' (suc n) f =... |
language/src/main/antlr4/com/guillermomolina/lazyscript/parser/LazyScriptParser.g4 | guillermomolina/lazyscript | 0 | 4745 | /*
* Copyright (c) 2012, 2018, <NAME>. All rights reserved. DO NOT ALTER OR REMOVE
* COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
*
* Subject to the condition set forth below, permission is hereby granted to any person obtaining a
* copy of this software, assoc... |
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sccz80/mul2_fastcall.asm | ahjelm/z88dk | 640 | 179656 |
SECTION code_fp_am9511
PUBLIC mul2_fastcall
EXTERN asm_am9511_fmul2_fastcall
defc mul2_fastcall = asm_am9511_fmul2_fastcall
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _mul2_fastcall
defc _mul2_fastcall = asm_am9511_fmul2_fastcall
ENDIF
|
programs/oeis/141/A141325.asm | karttu/loda | 0 | 14002 | <filename>programs/oeis/141/A141325.asm
; A141325: a(n) = A000045(n) + A131531(n+3).
; 1,1,1,1,3,5,9,13,21,33,55,89,145,233,377,609,987,1597,2585,4181,6765,10945,17711,28657,46369,75025,121393,196417,317811,514229,832041,1346269,2178309,3524577,5702887,9227465,14930353,24157817,39088169,63245985,102334155,165580141,267... |
c/01-10-pretty/main.asm | willbr/gameboy-tests | 0 | 103628 | ;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.0.0 #11528 (MINGW64)
;--------------------------------------------------------
.module main
.optsdcc -mgbz80
;--------------------------------------------------------
; Public variables in... |
test/link/uninit1/module1.asm | nigelperks/BasicAssembler | 0 | 171145 | IDEAL
ASSUME CS:MAIN,DS:UDATA
SEGMENT MAIN
ORG 100h
ENDS MAIN
SEGMENT UDATA UNINIT PUBLIC
EXTRN _bill: WORD
ENDS UDATA
SEGMENT MAIN
start:
mov ax, [_fred]
mov dx, [_bill]
mov si, OFFSET _fred
mov di, OFFSET _bill
int 20h
ENDS MAIN
SEGMENT UDATA UNINIT PUBLIC
_fred DW ?
ENDS UDATA
END start
|
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-exextr.adb | orb-zhuchen/Orb | 0 | 20376 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
algorithms/election/ringlead.als | c-luu/alloy-specs | 89 | 672 | <reponame>c-luu/alloy-specs
/*
* Model of leader election on a ring
*
* Each process has a unique ID, IDs are ordered.
* The algorithm elects the process with the highest
* ID the leader, as follows. First, each process
* sends its own ID to its right neighbor.
* Then, whenever a process receives an ID, if the
... |
data/mapObjects/ceruleancity.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 161688 | <reponame>etdv-thevoid/pokemon-rgb-enhanced
CeruleanCityObject:
db $f ; border block
db $a ; warps
db $b, $1b, $0, TRASHED_HOUSE
db $f, $f, $0, CERULEAN_HOUSE_1
db $11, $13, $0, CERULEAN_POKECENTER
db $13, $1e, $0, CERULEAN_GYM
db $19, $d, $0, BIKE_SHOP
db $19, $19, $0, CERULEAN_MART
db $b, $4, $0, UNKNOWN_DU... |
orka/src/orka/implementation/orka-cameras-look_from_cameras.adb | onox/orka | 52 | 14805 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2017 onox <<EMAIL>>
--
-- 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
-... |
src/TemporalOps/Common/Other.agda | DimaSamoz/temporal-type-systems | 4 | 7519 | <reponame>DimaSamoz/temporal-type-systems
{- Other common operations and lemmas. -}
module TemporalOps.Common.Other where
open import Relation.Binary.HeterogeneousEquality as ≅ hiding (inspect)
open import Relation.Binary.PropositionalEquality hiding (inspect)
-- Time indexing (for clarity, synonym of function appl... |
prototyping/Luau/OpSem.agda | FreakingBarbarians/luau | 1 | 3310 | <gh_stars>1-10
module Luau.OpSem where
open import Agda.Builtin.Equality using (_≡_)
open import FFI.Data.Maybe using (just)
open import Luau.Heap using (Heap; _≡_⊕_↦_; lookup; function_⟨_⟩_end)
open import Luau.Substitution using (_[_/_]ᴮ)
open import Luau.Syntax using (Expr; Stat; Block; nil; addr; var; function⟨_⟩_... |
release/src/router/gmp/source/mpn/alpha/lshift.asm | zhoutao0712/rtn11pb1 | 12 | 241908 | <reponame>zhoutao0712/rtn11pb1
dnl Alpha mpn_lshift -- Shift a number left.
dnl Copyright 1994, 1995, 2000, 2002, 2003 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Less... |
library/fmGUI_ManageDatabase/fmGUI_ManageDb_ListOfTableNames.applescript | NYHTC/applescript-fm-helper | 1 | 3769 | <gh_stars>1-10
-- fmGUI_ManageDb_ListOfTableNames({stayOpen:false})
-- <NAME>, NYHTC
-- Return a list of FileMaker table names.
(*
HISTORY:
1.2.1 - 2017-11-02 ( eshagdar ): narrowed scope of sysEvents. added stayOpen param.
1.2 - ONLY return tables that are in FileMaker (no SQL shadow tables)
1.1 -
1.0 - created... |
Source/Levels/L0212.asm | AbePralle/FGB | 0 | 94881 | <gh_stars>0
; L0212.asm
; Generated 08.31.2000 by mlevel
; Modified 08.31.2000 by <NAME>
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
SECTION "Level0212Section",ROMX
;---------------------------------------------------------------------
... |
Binding_Zstandard/zstandard-functions-streaming_decompression.ads | jrmarino/zstd-ada | 13 | 22011 | <gh_stars>10-100
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Ada.Streams;
package Zstandard.Functions.Streaming_Decompression is
package STR renames Ada.Streams;
Output_container_size : constant Thin.IC.size_t := Thin.ZSTD_DStreamOutSize;
s... |
llvm-gcc-4.2-2.9/gcc/ada/s-taenca.adb | vidkidz/crossbridge | 1 | 11026 | <filename>llvm-gcc-4.2-2.9/gcc/ada/s-taenca.adb<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
libsrc/_DEVELOPMENT/target/yaz180/device/asci/c/asci0_getc.asm | jpoikela/z88dk | 640 | 240182 | SECTION code_driver
PUBLIC _asci0_getc
EXTERN asm_asci0_getc
defc _asci0_getc = asm_asci0_getc
EXTERN asm_asci0_need
defc NEED = asm_asci0_need
|
vu_meter.asm | wojciech-gancza/vu-meter | 0 | 170656 | ;-------------------------------------------------------------------------------
.include "m32adef.inc" ; ATMega32
;-------------------------------------------------------------------------------
; Register usage:
; R0 - value to be displayed at left bar - cleared after displaying
; R1 - value to be displayed a... |
tests/symbol_label_nested/5.asm | NullMember/customasm | 414 | 90569 | #ruledef test
{
ld {x} => 0x55 @ x`8
}
; referencing symbols at levels above
global1:
.local1_1:
..local2_1:
...local3_1:
ld global1 ; = 0x5500
ld .local1_1 ; = 0x5500
ld ..local2_1 ; = 0x5500
ld ...local3_1 ; = 0x5500
..local2_2:
...local3_1:
ld global1 ; = 0x5500
ld .local1_1 ; = 0x5500
... |
programs/oeis/131/A131421.asm | jmorken/loda | 1 | 164511 | <filename>programs/oeis/131/A131421.asm
; A131421: Triangle read by rows (n>=1, 1<=k<=n): T(n,k) = 2*(n+k) - 3.
; 1,3,5,5,7,9,7,9,11,13,9,11,13,15,17,11,13,15,17,19,21,13,15,17,19,21,23,25,15,17,19,21,23,25,27,29,17,19,21,23,25,27,29,31,33,19,21,23,25,27,29,31,33,35,37,21,23,25,27,29,31,33,35,37,39,41,23,25,27,29,31,33... |
src/calculation/test.asm | emm035/tommysulo | 0 | 247706 | ADD R1 1 4
SUB R0 R1 1
ADD R2 R1 R0
ADD R1 2 4 |
programs/oeis/158/A158370.asm | karttu/loda | 1 | 86573 | <filename>programs/oeis/158/A158370.asm
; A158370: 576n + 1.
; 577,1153,1729,2305,2881,3457,4033,4609,5185,5761,6337,6913,7489,8065,8641,9217,9793,10369,10945,11521,12097,12673,13249,13825,14401,14977,15553,16129,16705,17281,17857,18433,19009,19585,20161,20737,21313,21889,22465,23041,23617,24193,24769,25345,25921,26497... |
src/kernel.asm | AlessandroSangiuliano/Uros-microkerkel | 3 | 1063 | <reponame>AlessandroSangiuliano/Uros-microkerkel
[BITS 32]
global _start
extern kernel_main
CODE_SEG equ 0x08
DATA_SEG equ 0x10
_start:
mov ax, DATA_SEG
mov es, ax
mov ds, ax
mov fs, ax
mov ss, ax
mov gs, ax
mov ebp, 0x00200000
mov esp, ebp
;enable a20 line
in al, 0x92
or... |
Task/Sorting-algorithms-Merge-sort/Ada/sorting-algorithms-merge-sort-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 26016 | <gh_stars>1-10
package body Mergesort is
-----------
-- Merge --
-----------
function Merge(Left, Right : Collection_Type) return Collection_Type is
Result : Collection_Type(Left'First..Right'Last);
Left_Index : Index_Type := Left'First;
Right_Index : Index_Type := Right'First;
Res... |
oeis/189/A189154.asm | neoneye/loda-programs | 11 | 13861 | ; A189154: Number of n X 2 binary arrays without the pattern 0 0 1 1 diagonally, vertically or horizontally
; 4,16,64,225,784,2704,9216,31329,106276,360000,1218816,4124961,13957696,47224384,159769600,540516001,1828588644,6186137104,20927672896,70798034241,239508444816,810252019600,2741064339456,9272956793409,3137019282... |
test/asset/agda-stdlib-1.0/Data/Maybe/Categorical.agda | omega12345/agda-mode | 0 | 3870 | <gh_stars>0
------------------------------------------------------------------------
-- The Agda standard library
--
-- A categorical view of Maybe
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Maybe.Categorical where
open import Data.Maybe.Ba... |
tests-antlr4/src/main/resources/grammar/Hello.g4 | f1194361820/tests | 0 | 3243 | grammar Hello;
import basic, operation;
program: statement+ ;
statement: expr NEWLINE
| ID '=' expr NEWLINE
| NEWLINE
;
expr: ID
| INT
| '(' expr ')'
| expr UNARY_OPERATION
| expr BINARY_OPERATION expr
;
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/size_attribute1_pkg2.adb | best08618/asylo | 7 | 13896 | package body Size_Attribute1_Pkg2 is
procedure Proc is
I : Integer := T'Size;
begin
null;
end;
end Size_Attribute1_Pkg2;
|
programs/oeis/049/A049072.asm | neoneye/loda | 22 | 85745 | ; A049072: Expansion of 1/(1 - 3*x + 4*x^2).
; 1,3,5,3,-11,-45,-91,-93,85,627,1541,2115,181,-7917,-24475,-41757,-27371,84915,364229,753027,802165,-605613,-5025499,-12654045,-17860139,-2964237,62547845,199500483,348310069,246928275,-652455451,-2945079453,-6225416555,-6895931853,4213870661,40225339395,103820535541,150560... |
grammars/CIF2Lexer.g4 | Sylvan-Materials/cifio | 0 | 2323 | lexer grammar CIF2Lexer;
Magic_Code = '#\#CIF_2.0' ;
Data_Token : [Dd] [Aa] [Tt] [Aa] '_';
Save_Token : [Ss] [Aa] [Vv] [Ee] '_';
Loop_Token : [Ll] [Oo] [Oo] [Pp] '_' ;
Global_Token : [Gg] [Ll] [Oo] [Bb] [Aa] [Ll] '_' ;
Stop_Token : [Ss] [Tt] [Oo] [Pp] '_' ;
WSpace : ( Inline_WSpace | Line_Term ) WSpace_Any;
WSp... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1800.asm | ljhsiun2/medusa | 9 | 241055 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x13bce, %r8
nop
and $6942, %r10
mov $0x6162636465666768, %rax
movq %rax, %xmm5
and $0xffffffffffffffc0, %r8
vmovntdq %ymm5, (%r8)
nop
nop
nop
nop
add $27593, %rax
lea addresses_A_ht+0x16... |
programs/oeis/189/A189674.asm | neoneye/loda | 22 | 13053 | <filename>programs/oeis/189/A189674.asm
; A189674: Partial sums of A189673.
; 0,1,1,2,3,3,3,4,4,5,6,6,7,8,8,8,9,9,9,10,10,11,12,12,12,13,13,14,15,15,16,17,17,17,18,18,19,20,20,21,22,22,22,23,23,23,24,24,25,26,26,26,27,27,27,28,28,29,30,30,30,31,31,32,33,33,34,35,35,35,36,36,36,37,37,38,39,39,39,40,40
mov $1,$0
lpb $1
... |
oeis/276/A276666.asm | neoneye/loda-programs | 11 | 177344 | <reponame>neoneye/loda-programs
; A276666: a(n) = (n-1)*Catalan(n).
; -1,0,2,10,42,168,660,2574,10010,38896,151164,587860,2288132,8914800,34767720,135727830,530365050,2074316640,8119857900,31810737420,124718287980,489325340400,1921133836440,7547311500300,29667795388452,116686713634848,459183826803800,1807872323816104,7... |
x86/TimeMng.asm | lucabrivio/asmFish-fasmg | 1 | 179603 |
remaining:
; in: ebx us
; r8d ply (preserved)
; r9d type
; out: time
mov edi, dword[limits.time+4*rbx]
mov esi, dword[limits.incr+4*rbx]
mov edx, dword[options.moveOverhead]
mov ecx, dword[limits.movestogo]
xor eax, eax
... |
source/xml/sax/matreshka-internals-sax_locators.ads | svn2github/matreshka | 24 | 15044 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
smsq/gold/ser/rxen.asm | olifink/smsqe | 0 | 8117 | ; SER receive enable / disable V2.00 1994 <NAME>
section ser
xdef ser_rxen
xdef ser_iopr
xdef ser_rxdi
xref iob_room
xref ql_hcmdn
include 'dev8_keys_k'
include 'dev8_mac_assert'
include 'dev8_keys_par'
include 'dev8_keys_sys'
include 'dev8_keys_buf'
;+++
; SER input operation
;
; a3 c p SER link... |
arch/x86/boot/boot1.asm | Augustu/mOS | 0 | 178771 | org 0x0
bits 16
jmp main
Print:
lodsb
or al, al
jz PrintDone
mov ah, 0eh
int 10h
jmp Print
PrintDone:
ret
main:
cli
push cs
pop ds
mov si, Msg
... |
projects/batfish/src/main/antlr4/org/batfish/grammar/arista/AristaLexer.g4 | adiapel/batfish | 0 | 7268 | <gh_stars>0
lexer grammar AristaLexer;
options {
superClass = 'org.batfish.grammar.arista.parsing.AristaBaseLexer';
}
tokens {
BANNER_DELIMITER_EOS,
BANNER_BODY,
HEX_FRAGMENT,
IS_LOCAL,
ISO_ADDRESS,
PAREN_LEFT_LITERAL,
PAREN_RIGHT_LITERAL,
PASSWORD_SEED,
PIPE,
QUOTED_TEXT,
RAW_TEXT... |
README.agda | nad/dependently-typed-syntax | 5 | 7411 | ------------------------------------------------------------------------
-- A library for working with dependently typed syntax
-- <NAME>
------------------------------------------------------------------------
-- This library is leaning heavily on two of Conor McBride's papers:
--
-- * Type-Preserving Renaming and Su... |
examples/ada-help-binary/src/resources.ads | stcarrez/resource-embedder | 7 | 9979 | <reponame>stcarrez/resource-embedder<gh_stars>1-10
package Resources is
end Resources; |
programs/oeis/166/A166931.asm | neoneye/loda | 22 | 3766 | <reponame>neoneye/loda
; A166931: Numbers n with property that n mod k is k-1 for all k = 2..9.
; 2519,5039,7559,10079,12599,15119,17639,20159,22679,25199,27719,30239,32759,35279,37799,40319,42839,45359,47879,50399,52919,55439,57959,60479,62999,65519,68039,70559,73079,75599,78119,80639,83159,85679,88199,90719,93239,957... |
programs/oeis/132/A132688.asm | neoneye/loda | 22 | 91862 | ; A132688: a(n) = binomial(2^n + 3*n, n).
; 1,5,45,680,20475,1533939,350161812,280384608504,847073824772175,9894081531608130857,446730013630787463700695,77328499046923986969058944720,50891283683781760304442885961988100
mov $1,$0
mul $1,3
mov $2,2
pow $2,$0
add $1,$2
bin $1,$0
mov $0,$1
|
oeis/284/A284964.asm | neoneye/loda-programs | 11 | 240934 | ; A284964: Numbers with digits 3 and 9 only.
; Submitted by <NAME>
; 3,9,33,39,93,99,333,339,393,399,933,939,993,999,3333,3339,3393,3399,3933,3939,3993,3999,9333,9339,9393,9399,9933,9939,9993,9999,33333,33339,33393,33399,33933,33939,33993,33999,39333,39339,39393,39399,39933,39939
add $0,1
mov $2,1
lpb $0
mov $3,$0
... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i3-7100_9_0xca_notsx.log_21829_627.asm | ljhsiun2/medusa | 9 | 247868 | <filename>Transynther/x86/_processed/AVXALIGN/_ht_zr_/i3-7100_9_0xca_notsx.log_21829_627.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rcx
push %rdx
lea addresses_normal_ht+0x12ec6, %r9
nop
nop
nop
nop
xor $3401, %rcx
mov $0x6162636465666768, %r11
movq %r11, %xmm0
and... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1461.asm | ljhsiun2/medusa | 9 | 172569 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x19d21, %rsi
lea addresses_A_ht+0x3621, %rdi
nop
and %r9, %r9
mov $44, %rcx
rep movsw
nop
nop
nop
nop
inc %r10
lea addresses_WT_ht+0x105c7, %rbp
nop
nop
and $31518, %rax
mov $0x616263646... |
Admin Tools/temporary client/temporary client.applescript | smaddock/BlueSkyConnect | 38 | 992 | global sshPid
global itsGone
on run
set adminLoc to path to resource "blueskyclient.pub" in bundle (path to me)
set adminPos to POSIX path of adminLoc
--do we need to turn on SSH and Screen Sharing?
set sshState to do shell script "netstat -an | grep '*.22';exit 0"
set vncState to do shell script "cat /Library... |
bug-reports/const-unit-argument/src/units-navigation.adb | TUM-EI-RCS/StratoX | 12 | 7910 | <filename>bug-reports/const-unit-argument/src/units-navigation.adb
with Units; use Units;
package body Units.Navigation with SPARK_Mode is
function foo return Heading_Type is
result : Angle_Type;
-- SPARK GPL 2016: everything okay.
-- SPARK Pro 18.0w: error with DEGREE 360; remove "constant" and... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0.log_4_546.asm | ljhsiun2/medusa | 9 | 103764 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %rax
push %rbx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xc39c, %rbx
nop
cmp $54382, %rsi
movups (%rbx), %xmm5
vpextrq $1, %xmm5, %rdi
nop
nop
sub %r10, %r10
lea addresses_WT_ht+0x41d0, %rax
nop
nop
nop
add %r10, %r... |
oeis/140/A140354.asm | neoneye/loda-programs | 11 | 100286 | <reponame>neoneye/loda-programs
; A140354: a(n) = binomial(n+9,9)*2^n.
; 1,20,220,1760,11440,64064,320320,1464320,6223360,24893440,94595072,343982080,1203937280,4074864640,13388840960,42844291072,133888409600,409541017600,1228623052800,3621204787200,10501493882880,30004268236800,84557483212800,235290388070400,647048567... |
oeis/015/A015482.asm | neoneye/loda-programs | 11 | 171809 | <gh_stars>10-100
; A015482: q-Fibonacci numbers for q=10.
; Submitted by <NAME>
; 0,1,10,1001,1001010,10010101001,1001010101101010,1001010101111020101001,10010101011111202020111101010,1001010101111121203021211212020101001,1001010101111121213031312223131303021111101010,100101010111112121313141323324241514141322213120201... |
libsrc/sprites/software/sp1/ts2068hr/tiles/sp1_PrintAtInv.asm | ahjelm/z88dk | 640 | 4092 | ; void sp1_PrintAtInv(uchar row, uchar col, uint tile)
; CALLER linkage for function pointers
SECTION code_sprite_sp1
PUBLIC sp1_PrintAtInv
EXTERN sp1_PrintAtInv_callee
EXTERN ASMDISP_SP1_PRINTATINV_CALLEE
.sp1_PrintAtInv
ld hl,2
add hl,sp
ld c,(hl)
inc hl
ld b,(hl)
inc hl
ld e,(hl)
inc hl
... |
programs/oeis/193/A193832.asm | jmorken/loda | 1 | 104237 | ; A193832: Irregular triangle read by rows in which row n lists 2n-1 copies of 2n-1 and n copies of 2n, for n >= 1.
; 1,2,3,3,3,4,4,5,5,5,5,5,6,6,6,7,7,7,7,7,7,7,8,8,8,8,9,9,9,9,9,9,9,9,9,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,15,15,... |
src/asf-lifecycles-validation.ads | jquorning/ada-asf | 12 | 6580 | <filename>src/asf-lifecycles-validation.ads
-----------------------------------------------------------------------
-- asf-lifecycles-validation -- Validation phase
-- Copyright (C) 2010 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use t... |
next_level/demosrc/s_itwasnicetoknowyou.asm | viznut/demoscene | 14 | 10502 | <gh_stars>10-100
;,; lyrics_itwasnicetoknowyou .withinpagefrom=lyrics
;,; <- lyrics
!byte $31,$19,$1d ; IT
!byte $26,$30,$14,$09 ; WAS
!byte $22,$2a,$21,$24 ; NICE
!byte $29,$1d,$36 ; TO
!byte $22,$30,$36 ; KNOW
!byte $21,$06 ; YOU
!byte $06,$09,$89
!byte $31,$19,$1d ; IT
!byte $26,$30,$14 ; WAS
!by... |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_7765_953.asm | ljhsiun2/medusa | 9 | 3359 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_7765_953.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r14
push %r8
push %rax
push %rbx
// Faulty Load
lea addresses_WC+0xc0c5, %rax
nop
nop
nop
nop
nop
dec %r12
movntdqa (%rax),... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.