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 |
|---|---|---|---|---|
libsrc/_DEVELOPMENT/adt/wv_stack/c/sccz80/wv_stack_reserve.asm | jpoikela/z88dk | 640 | 80307 | <filename>libsrc/_DEVELOPMENT/adt/wv_stack/c/sccz80/wv_stack_reserve.asm
; int wv_stack_reserve(wv_stack_t *s, size_t n)
SECTION code_clib
SECTION code_adt_wv_stack
PUBLIC wv_stack_reserve
EXTERN w_vector_reserve
defc wv_stack_reserve = w_vector_reserve
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _wv_stack_rese... |
programs/oeis/038/A038845.asm | jmorken/loda | 1 | 95588 | ; A038845: 3-fold convolution of A000302 (powers of 4).
; 1,12,96,640,3840,21504,114688,589824,2949120,14417920,69206016,327155712,1526726656,7046430720,32212254720,146028888064,657129996288,2937757630464,13056700579840,57724360458240,253987186016256,1112705767309312,4855443348258816
add $0,2
mov $3,4
pow $3,$0
bin $0... |
programs/oeis/272/A272100.asm | karttu/loda | 1 | 93098 | ; A272100: Integers n that are the sum of three nonzero squares while n*(n+1) is not.
; 12,19,44,51,76,83,108,115,140,147,172,179,204,211,236,243,268,275,300,307,332,339,364,371,396,403,428,435,460,467,492,499,524,531,556,563,588,595,620,627,652,659,684,691,716,723,748,755,780,787,812,819,844,851,876,883,908,915,940,94... |
programs/oeis/168/A168122.asm | neoneye/loda | 22 | 244739 | ; A168122: n^2*(n^4+1)/2.
; 0,1,34,369,2056,7825,23346,58849,131104,265761,500050,885841,1493064,2413489,3764866,5695425,8388736,12068929,17006274,23523121,32000200,42883281,56690194,74018209,95551776,122070625,154458226,193710609,240945544,297412081,364500450,443752321,536871424,645734529,772402786,919133425,108839181... |
head/contrib/gcc/config/rs6000/tramp.asm | dplbsd/soc2013 | 4 | 80658 | <reponame>dplbsd/soc2013<filename>head/contrib/gcc/config/rs6000/tramp.asm
/* Special support for trampolines
*
* Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
* Written By <NAME>
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Pu... |
src/net-protos-dispatchers.adb | stcarrez/ada-enet | 16 | 28995 | -----------------------------------------------------------------------
-- net-protos-dispatchers -- Network protocol dispatchers
-- Copyright (C) 2016, 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance... |
src/public/src/FM7/util/T77ToRS232C/bioshook_small.asm | rothberg-cmu/rothberg-run | 1 | 246850 | <reponame>rothberg-cmu/rothberg-run
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
DEF_BRIDGE_OFFSET EQU $0
BIOS_HOOK ; Typical way of handling I/O can bd
; LDA #$FD
; TFR A,DP
; and then use direct-page access.
; But, it takes 4 bytes.
; If I use U register, I can set #$FD00 to U... |
sh.asm | dylsugar/cs461_hw5 | 0 | 161377 | <reponame>dylsugar/cs461_hw5
_sh: file format elf64-x86-64
Disassembly of section .text:
0000000000001000 <runcmd>:
struct cmd *parsecmd(char*);
// Execute cmd. Never returns.
void
runcmd(struct cmd *cmd)
{
1000: f3 0f 1e fa endbr64
1004: 55 push %rbp
1005: 48 89 e5... |
resources/imp.asm | dgtized/redwall | 0 | 171934 | ;redcode-94
;name Imp
;author <NAME>
imp: mov $0, $1
end imp
|
examples/ex.asm | Nibble-Knowledge/cpu-assembler | 0 | 11591 | INF
PINF
BLERG 0b110
HOOP 0o11
BADR 0x40
EPINF
DSEC datastart
DNUM 0x2
DSIZE 0x3
EINF
LOD hello
LOD isitmeyourelookingfor
datastart:
hello: .data 3 0x2
isitmeyourelookingfor: .data 3 0x2
|
test/fail/Issue659.agda | dagit/agda | 1 | 6049 | <filename>test/fail/Issue659.agda
-- {-# OPTIONS --show-implicit #-}
-- {-# OPTIONS -v tc.meta:50 -v tc.conv:20 -v tc.conv.type:50 #-}
module Issue659 where
postulate
Level : Set
lzero : Level
lsuc : Level → Level
_⊔_ : Level → Level → Level
{-# BUILTIN LEVEL Level #-}
{-# BUILTIN LEVELZERO lzero #-}
{... |
src/Consistency.agda | andreasabel/ipl | 19 | 5969 | <filename>src/Consistency.agda
-- Logical consistency of IPL
open import Library
module Consistency (Base : Set) where
import Formulas ; open module Form = Formulas Base
import Derivations ; open module Der = Derivations Base
import NfModelMonad; open module NfM = NfModelMonad Base
open Normalization caseT... |
test/Common/Size.agda | redfish64/autonomic-agda | 4 | 15561 | <reponame>redfish64/autonomic-agda
------------------------------------------------------------------------
-- From the Agda standard library
--
-- Sizes for Agda's sized types
------------------------------------------------------------------------
module Common.Size where
open import Agda.Builtin.Size public renami... |
oeis/227/A227881.asm | neoneye/loda-programs | 11 | 173485 | ; A227881: Sum of digits of 17^n.
; 1,8,19,17,19,35,37,35,55,71,55,62,64,80,91,80,109,98,91,98,82,116,136,143,109,152,163,152,145,152,172,170,172,170,208,215,199,197,226,233,217,206,271,224,244,242,253,287,244,305,271,269,298,305,325,314,307,350,307,332,334,296,352,359,334,350,334,314,388,404,433,386,379,377,424,431,42... |
source/required/s-secsta.adb | ytomino/drake | 33 | 26410 | with System.Runtime_Context;
package body System.Secondary_Stack is
pragma Suppress (All_Checks);
use type Storage_Elements.Storage_Offset;
type Unsigned is mod 2 ** Integer'Size;
function clz (X : Unsigned) return Unsigned
with Import, Convention => Intrinsic, External_Name => "__builtin_clz";
... |
data/sprites/map_objects.asm | Dev727/ancientplatinum | 28 | 16410 | SpriteMovementData::
; entries correspond to SPRITEMOVEDATA_* constants
; SPRITEMOVEDATA_00
db SPRITEMOVEFN_00 ; movement function
db DOWN ; facing
db OBJECT_ACTION_STAND ; action
db WONT_DELETE ; flags1
db 0 ; flags2
db 0 ; palette flags
; SPRITEMOVEDATA_STILL
db SPRITEMOVEFN_STANDING ; movement function
db ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_43_1904.asm | ljhsiun2/medusa | 9 | 90158 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xf682, %r10
nop
nop
nop
xor $27193, %r11
mov (%r10), %rcx
nop
nop
nop
nop
cmp $60841, %rdi
lea addresses_WT_ht+0x1b38, %rbx
clflush (%rbx)
nop
and $35462, %rsi
mov (%rbx), %r... |
test/asset/agda-stdlib-1.0/Codata/Covec/Categorical.agda | omega12345/agda-mode | 5 | 1003 | <reponame>omega12345/agda-mode
------------------------------------------------------------------------
-- The Agda standard library
--
-- A categorical view of Covec
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe --sized-types #-}
module Codata.Covec.Categoric... |
oeis/142/A142021.asm | neoneye/loda-programs | 11 | 242341 | ; A142021: Primes congruent to 17 mod 31.
; Submitted by <NAME>
; 17,79,389,761,823,947,1009,1319,1381,1567,1753,1877,2063,2311,2621,2683,3613,3923,4357,4481,4729,5039,5101,5659,5783,6217,6899,6961,7333,7457,7643,7829,8263,8387,8573,8821,9007,9689,10061,10247,10433,10867,11177,11239,11549,12107,12479,12541,13037,13099,... |
src/fot/FOL/README.agda | asr/fotc | 11 | 11265 | ------------------------------------------------------------------------------
-- First-order logic
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS... |
programs/oeis/011/A011851.asm | karttu/loda | 1 | 242372 | ; A011851: a(n) = floor(binomial(n,5)/5).
; 0,0,0,0,0,0,1,4,11,25,50,92,158,257,400,600,873,1237,1713,2325,3100,4069,5266,6729,8500,10626,13156,16146,19656,23751,28501,33982,40275,47467,55651,64926,75398,87179,100388,115151,131601,149879,170133,192519,217201,244351,274150,306787,342460,381376,423752,469812,519792,57393... |
P6/data_P6_2/cal_R_test38.asm | alxzzhou/BUAA_CO_2020 | 1 | 176711 | lui $1,16233
ori $1,$1,64024
lui $2,27571
ori $2,$2,2583
lui $3,3371
ori $3,$3,46713
lui $4,9598
ori $4,$4,3820
lui $5,49697
ori $5,$5,19145
lui $6,5253
ori $6,$6,16253
mthi $1
mtlo $2
sec0:
nop
nop
nop
xor $3,$6,$2
sec1:
nop
nop
subu $6,$4,$3
xor $3,$6,$2
sec2:
nop
nop
slti $6,$1,25562
xor $2,$6,$2
sec3:
... |
ada/original_2008/ada-gui/agar-gui-widget-scrollbar.adb | auzkok/libagar | 286 | 7020 | package body agar.gui.widget.scrollbar is
use type c.int;
package cbinds is
procedure set_size
(scrollbar : scrollbar_access_t;
size : c.int);
pragma import (c, set_size, "agar_gui_widget_scrollbar_set_size");
function get_size (scrollbar : scrollbar_access_t) return c.int;
pra... |
tools/scitools/conf/understand/ada/ada05/a-exctra.ads | brucegua/moocos | 1 | 18841 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
test/asset/agda-stdlib-1.0/Relation/Binary/Reasoning/PartialOrder.agda | omega12345/agda-mode | 5 | 541 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Convenient syntax for "equational reasoning" using a partial order
------------------------------------------------------------------------
-- Example uses:
--
-- u≤x : u ≤ x
-- u≤x = begin
-- u ≈⟨ u... |
base/mvdm/dos/v86/cmd/edlin/edlequ.asm | npocmaka/Windows-Server-2003 | 17 | 18187 | page 60,132 ;
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
.xlist
include version.inc
include DOSSYM.INC
include EDLSTDSW.INC
.list
;======================= START OF SPECIFI... |
fiat-amd64/67.75_ratio11130_seed3548740702652650_mul_curve25519.asm | dderjoel/fiat-crypto | 491 | 102514 | <reponame>dderjoel/fiat-crypto
SECTION .text
GLOBAL mul_curve25519
mul_curve25519:
sub rsp, 0x48 ; last 0x30 (6) for Caller - save regs
mov [ rsp + 0x18 ], rbx; saving to stack
mov [ rsp + 0x20 ], rbp; saving to stack
mov [ rsp + 0x28 ], r12; saving to stack
mov [ rsp + 0x30 ], r13; saving to stack
mov [ rsp + 0x38 ]... |
alloy4fun_models/trashltl/models/9/kJ8JRptcLyXTnfFA5.als | Kaixi26/org.alloytools.alloy | 0 | 1580 | open main
pred idkJ8JRptcLyXTnfFA5_prop10 {
always all f:Protected | always f in Protected
}
pred __repair { idkJ8JRptcLyXTnfFA5_prop10 }
check __repair { idkJ8JRptcLyXTnfFA5_prop10 <=> prop10o } |
same-origin-policy/src/model/analysis.als | cfbolz/500lines | 2 | 2516 | <filename>same-origin-policy/src/model/analysis.als
/**
* analysis.als
* End-to-end analysis of security properties
*/
module analysis
open flow
// General security properties
sig TrustedModule, MaliciousModule in DataflowModule {}
sig CriticalData, MaliciousData in Data {}
// No malicious module should be... |
twap-parser/src/main/antlr/by/overpass/twap/parser/Twine.g4 | overpas/twine-plugin | 0 | 3674 | <filename>twap-parser/src/main/antlr/by/overpass/twap/parser/Twine.g4<gh_stars>0
grammar Twine;
@header{
package by.overpass.twap.parser;
}
twine
:
section+
;
section
:
section_title label+
;
section_title
:
'[[' identifier ']]'
;
label
:
label_title translation+ com... |
modules/core/1bpp - Generate Table 2.asm | vladikcomper/md-modules | 9 | 23614 |
; ===============================================================
; ---------------------------------------------------------------
; Subroutine to generate 1bpp decode table
; ---------------------------------------------------------------
; INPUT:
; a1 Address for the generated table
; d4 .w Pixel index for bit #... |
libsrc/stdio/ansi/bee/f_ansi_scrollup.asm | jpoikela/z88dk | 640 | 101501 | ;
; ANSI Video handling for the the MicroBEE
;
; <NAME> - 2016
;
; Handles colors referring to current PAPER/INK/etc. settings
;
; Scrollup
;
;
; $Id: f_ansi_scrollup.asm,v 1.2 2016-11-17 09:39:03 stefano Exp $
;
SECTION code_clib
PUBLIC ansi_SCROLLUP
EXTERN generic_console_scrollup
defc ansi_SCROLLUP =... |
code/src/main/antlr/bad.g4 | marcpawl/gradleantlrbug | 0 | 5972 | <reponame>marcpawl/gradleantlrbug<filename>code/src/main/antlr/bad.g4<gh_stars>0
something that should cause an antlr failure
|
boot/stage2/GDT.asm | arushsharma24/KSOS | 87 | 91541 | ;GDT part
;global gdt_descriptor
null_segment:
dd 0
dd 0
code_segment:
dw 0xffff ;limit
dw 0 ;starting address
db 0
db 10011010b ;present|privilage 0|S=codedata or traps|1=code|0=not conforming|Readable|Accessed (some debug)
db 11001111b ;Granularity|32 bit code|is64?|Userbit|segment limit 4 more bits
d... |
Driver/Printer/PrintCom/Color/Correct/correctLexTran.asm | steakknife/pcgeos | 504 | 95657 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Printer Drivers
FILE: correctLexTran.asm
AUTHOR: <NAME>, April 26 1995
REVISION HISTORY:
Name Date Description
---- ---- -----------
Dave 0... |
gyak/gyak1-2/signof.adb | balintsoos/LearnAda | 0 | 29983 | with Ada.Integer_Text_IO;
use Ada.Integer_Text_IO;
with Ada.Text_IO;
use Ada.Text_IO;
with Mat; -- use Mat;
procedure signOf is
N : Integer;
begin
Get( N );
Put( Mat.signof(N));
end signOf;
|
Practice/Assignments assembly class/13.asm | WardunIslam/CSE331L_Section_7_Summer_2020_NSU | 0 | 169325 | <reponame>WardunIslam/CSE331L_Section_7_Summer_2020_NSU
; You may customize this and other start-up templates;
; The location of this template is c:\emu8086\inc\0_com_template.txt
org 100h
L1: NOP
L2: MOV AX, 0F000H
MOV DS, AX
MOV BX, 0FFFFH
MOV DS:[BX], 0FFH
MOV BL, DS:[BX]
MOV AL, 00H
... |
programs/oeis/028/A028994.asm | karttu/loda | 1 | 162140 | ; A028994: Even 10-gonal (or decagonal) numbers.
; 0,10,52,126,232,370,540,742,976,1242,1540,1870,2232,2626,3052,3510,4000,4522,5076,5662,6280,6930,7612,8326,9072,9850,10660,11502,12376,13282,14220,15190,16192,17226,18292,19390,20520,21682,22876,24102,25360,26650,27972,29326,30712,32130,33580,35062,36576,38122,39700,41... |
src/Dodo/Binary/Flip.agda | sourcedennis/agda-dodo | 0 | 6675 | {-# OPTIONS --without-K --safe #-}
module Dodo.Binary.Flip where
-- Stdlib imports
open import Level using (Level; _⊔_)
open import Function.Base using (flip)
open import Relation.Binary using (Rel; REL)
open import Relation.Binary using (Symmetric)
-- Local imports
open import Dodo.Binary.Equality
-- # Operations
... |
src/tools/diffdict.adb | spr93/whitakers-words | 204 | 5607 | <gh_stars>100-1000
-- 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
-... |
alloy4fun_models/trashltl/models/11/8LB8dF8g85LjQpCGh.als | Kaixi26/org.alloytools.alloy | 0 | 1141 | <reponame>Kaixi26/org.alloytools.alloy<filename>alloy4fun_models/trashltl/models/11/8LB8dF8g85LjQpCGh.als
open main
pred id8LB8dF8g85LjQpCGh_prop12 {
eventually all f:File | f in Trash implies always f in Trash'
}
pred __repair { id8LB8dF8g85LjQpCGh_prop12 }
check __repair { id8LB8dF8g85LjQpCGh_prop12 <=> prop... |
cse341/assembly.asm | cosmicray001/academic | 2 | 101760 | <gh_stars>1-10
; I/O with correct sun out
.MODEL SMALL
.STACK 100H
.DATA
A DB ?
B DB ?
.CODE
MAIN PROC
MOV AX, @DATA
MOV DS, AX
MOV AH, 1
INT 21H
MOV A, AL
SUB A, 48
INT 21H
MOV B, AL
SUB B, 48
... |
libsrc/_DEVELOPMENT/arch/zx/display/z80/asm_zx_pxy2saddr.asm | jpoikela/z88dk | 640 | 11537 | <filename>libsrc/_DEVELOPMENT/arch/zx/display/z80/asm_zx_pxy2saddr.asm
; ===============================================================
; Jun 2007
; ===============================================================
;
; void *zx_pxy2saddr(uchar x, uchar y)
;
; Screen address of byte containing pixel at coordinate x, y.
... |
lib/sse/sha512_one_block_sse.asm | dalekzhangdong/intel-ipsec-mb | 1 | 105041 | ;;
;; Copyright (c) 2012-2020, Intel Corporation
;;
;; 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 conditions and... |
base/ntos/rtl/amd64/movemem.asm | npocmaka/Windows-Server-2003 | 17 | 178326 | <filename>base/ntos/rtl/amd64/movemem.asm<gh_stars>10-100
title "Memory functions"
;++
;
; Copyright (c) 2000 Microsoft Corporation
;
; Module Name:
;
; movemem.asm
;
; Abstract:
;
; This module implements functions to fill, copy , and compare blocks of
; memory.
;
; Author:
;
; <NAME>... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_8_673.asm | ljhsiun2/medusa | 9 | 161953 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1d424, %r14
nop
nop
nop
add %rdi, %rdi
mov (%r14), %r15w
nop
nop
add %rbx, %rbx
lea addresses_WC_ht+0xc10c, %rdx
nop
nop
nop
nop
add $28246, %r13
vmovups (%rdx), %y... |
src/asm/hello.asm | Bigsby/hellolanguages | 0 | 81543 | ; Define variables in the data section
SECTION .DATA
hello: db 'Hello world!',10
helloLen: equ $-hello
; Code goes in the text section
SECTION .TEXT
GLOBAL _start
_start:
mov eax,4 ; 'write' system call = 4
mov ebx,1 ; file descriptor 1 = STDOUT
mov ecx,hello ; str... |
src/004/t_inv.adb | xeenta/learning-ada | 0 | 27176 | <gh_stars>0
with Ada.Text_IO; use Ada.Text_IO;
procedure T_Inv is
package Internal is
type Unknown is private with
Type_Invariant => Isnt_Bad_Luck (Unknown);
function Isnt_Bad_Luck
(S : Unknown) return Boolean;
procedure Assign (S : out Unknown;
... |
programs/oeis/120/A120147.asm | karttu/loda | 0 | 12421 | ; A120147: a(1)=23; a(n)=floor((47+sum(a(1) to a(n-1)))/2).
; 23,35,52,78,117,176,264,396,594,891,1336,2004,3006,4509,6764,10146,15219,22828,34242,51363,77045,115567,173351,260026,390039,585059,877588,1316382,1974573,2961860,4442790,6664185,9996277,14994416
add $0,1
mov $3,5
lpb $0,1
mov $2,2
sub $2,$0
sub $0,1
... |
src/rejuvenation-simple_factory.ads | TNO/Rejuvenation-Ada | 0 | 29412 | with Ada.Containers.Vectors;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Text_IO; use Ada.Text_IO;
package Rejuvenation.Simple_Factory is
package Analysis_Units is new Ada.Containers.Vectors
(Positive, Analysis_Unit);
package Unbounded_Strings is new Ada.Containers.Vectors
... |
tools/scitools/sample/mahjongg/screen.adb | brucegua/moocos | 1 | 28852 | <filename>tools/scitools/sample/mahjongg/screen.adb
WITH Text_IO; USE Text_IO;
PACKAGE BODY Screen IS
-- Implementation of package SCREEN
PACKAGE My_Int_IO IS NEW Text_IO.Integer_IO(INTEGER);
PROCEDURE Beep IS
BEGIN
Text_IO.Put (Item => ASCII.BEL);
END Beep;
PROCEDURE ClearScreen IS
... |
third_party/codecs/xvidcore/src/motion/x86_asm/sad_xmm.asm | Narflex/sagetv | 292 | 7518 | <gh_stars>100-1000
;/****************************************************************************
; *
; * XVID MPEG-4 VIDEO CODEC
; * - K7 optimized SAD operators -
; *
; * Copyright(C) 2001 <NAME> <<EMAIL>>
; * 2001-2008 <NAME> <<EMAIL>>
; * 2002 <NAME> <<EMAIL>>
; *
; * This program is... |
weakening.agda | hazelgrove/hazelnut-dynamics-agda | 16 | 8360 | <reponame>hazelgrove/hazelnut-dynamics-agda<filename>weakening.agda
open import Nat
open import Prelude
open import core
open import contexts
open import lemmas-disjointness
open import exchange
-- this module contains all the proofs of different weakening structural
-- properties that we use for the hypothetical judg... |
src/shaders/post_processing/gen5_6/Common/PL8x4_Save_NV12.asm | tizenorg/platform.upstream.libva-intel-driver | 0 | 245815 | <filename>src/shaders/post_processing/gen5_6/Common/PL8x4_Save_NV12.asm
/*
* 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.opensourc... |
alloy4fun_models/trainstlt/models/7/98AmQjMYQpv82X7RS.als | Kaixi26/org.alloytools.alloy | 0 | 3282 | open main
pred id98AmQjMYQpv82X7RS_prop8 {
always ( all tk:Track | some tk.signal and (tk.signal in Green) implies ( #pos.tk' = #pos.tk ) )
}
pred __repair { id98AmQjMYQpv82X7RS_prop8 }
check __repair { id98AmQjMYQpv82X7RS_prop8 <=> prop8o } |
base/mvdm/dos/v86/dev/keyboard/kdfdv.asm | npocmaka/Windows-Server-2003 | 17 | 177161 | <reponame>npocmaka/Windows-Server-2003<filename>base/mvdm/dos/v86/dev/keyboard/kdfdv.asm
PAGE ,132
TITLE PC DOS 3.3 Keyboard Definition File
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; PC DOS 3.3 - NLS Support - Keyboard Defintion File
;; (c) Copyright IBM Corp 198?,...
;;
;; This file... |
gtkada_backend/example/main.adb | Fabien-Chouteau/Giza | 7 | 5622 | with Giza.Timers; use Giza.Timers;
with Ada.Real_Time; use Ada.Real_Time;
with Timer_Callback;
use Timer_Callback;
with Giza.Windows; use Giza.Windows;
with Screen_Interface; use Screen_Interface;
with Giza.Widgets.Text; use Giza.Widgets.Text;
with Giza.GUI; use Giza.GUI;
with Giza.Colors; use Giza.Colors;
with Giza.Gr... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_14708_1822.asm | ljhsiun2/medusa | 9 | 84592 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xba4b, %r8
nop
nop
nop
and %rdi, %rdi
and $0xffffffffffffffc0, %r8
vmovntdqa (%r8), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $1, %xmm5, %rcx
nop
nop
nop
and $3... |
tmp1/c55x-sim2/foo/Debug/tasks_sysStk.asm | jwestmoreland/eZdsp-DBG-sim | 1 | 20880 | ;*******************************************************************************
;* TMS320C55x C/C++ Codegen PC v4.4.1 *
;* Date/Time created: Sat Oct 06 06:38:33 2018 *
;****************************************************************************... |
data/baseStats_original/jynx.asm | adhi-thirumala/EvoYellow | 16 | 89351 | <filename>data/baseStats_original/jynx.asm<gh_stars>10-100
db DEX_JYNX ; pokedex id
db 65 ; base hp
db 50 ; base attack
db 35 ; base defense
db 95 ; base speed
db 95 ; base special
db ICE ; species type 1
db PSYCHIC ; species type 2
db 45 ; catch rate
db 137 ; base exp yield
INCBIN "pic/ymon/jynx.pic",0,1 ; 66, sprite ... |
lib/src/os/Linux/startup/xstartx.asm | zanud/xds-2.60 | 21 | 91652 | <gh_stars>10-100
; COPYRIGHT (c) 1997 xTech Ltd. All Rights Reserved.
; COPYRIGHT (c) 2002, 2003 Excelsior LLC. All Rights Reserved.
;
; PE DLL initialization/termination routine
cpu 386
bits 32
section .data use32 public align=4 public 'DATA'
myHandle: ... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/while_loop_statement.adb | ouankou/rose | 488 | 7593 | <gh_stars>100-1000
procedure While_Loop_Statement is
begin
while True loop
null;
end loop;
end While_Loop_Statement;
|
alloy4fun_models/trashltl/models/11/EsFt3yWwPtnzyHPJS.als | Kaixi26/org.alloytools.alloy | 0 | 2100 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idEsFt3yWwPtnzyHPJS_prop12 {
some f:File | eventually f in Trash implies always f in Trash
}
pred __repair { idEsFt3yWwPtnzyHPJS_prop12 }
check __repair { idEsFt3yWwPtnzyHPJS_prop12 <=> prop12o } |
src/test/ref/cstyle-decl-var-multiple.asm | jbrandwood/kickc | 2 | 166380 | <gh_stars>1-10
// Test legal definition of multiple local variables with the same name
// Commodore 64 PRG executable file
.file [name="cstyle-decl-var-multiple.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segme... |
linear_algebra/jacobi_eigen.ads | jscparker/math_packages | 30 | 17865 | <filename>linear_algebra/jacobi_eigen.ads
--------------------------------------------------------------------------
-- package Jacobi_Eigen, Jacobi iterative eigen-decomposition
-- Copyright (C) 2008-2018 <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without ... |
libsrc/_DEVELOPMENT/adt/ba_stack/c/sccz80/ba_stack_top.asm | jpoikela/z88dk | 640 | 160685 |
; int ba_stack_top(ba_stack_t *s)
SECTION code_clib
SECTION code_adt_ba_stack
PUBLIC ba_stack_top
EXTERN asm_ba_stack_top
defc ba_stack_top = asm_ba_stack_top
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _ba_stack_top
defc _ba_stack_top = ba_stack_top
ENDIF
|
programs/oeis/226/A226276.asm | neoneye/loda | 22 | 61 | ; A226276: Period 4: repeat [8, 4, 4, 4].
; 8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4,8,4,4,4
mod $0,4
pow $1,$0
mul $1,4
add $1,4
mov $0,$1
|
test/Succeed/Issue1652-3.agda | KDr2/agda | 0 | 10042 | <filename>test/Succeed/Issue1652-3.agda
{- Example by <NAME>, 17-11-2015 -}
{-# OPTIONS --rewriting --cubical-compatible #-}
open import Agda.Primitive
postulate
_↦_ : ∀ {i} {A : Set i} → A → A → Set i
idr : ∀ {i} {A : Set i} {a : A} → a ↦ a
{-# BUILTIN REWRITE _↦_ #-}
infixr 3 _==_
data _==_ {i} {A : Set i} (... |
commands/media/spotify/spotify-now-playing-url.applescript | jdmcd/script-commands | 0 | 2813 | #!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Copy Current Playing Song URL
# @raycast.mode silent
# Optional parameters:
# @raycast.icon images/spotify-logo.png
# @raycast.packageName Spotify
# Documentation:
# @raycast.author <NAME>
# @raycast.authorURL https://github.com/j... |
programs/oeis/301/A301684.asm | neoneye/loda | 0 | 241874 | <reponame>neoneye/loda
; A301684: Coordination sequence for node of type V2 in "krg" 2-D tiling (or net).
; 1,4,8,12,18,22,28,34,36,42,48,50,56,62,64,70,76,78,84,90,92,98,104,106,112,118,120,126,132,134,140,146,148,154,160,162,168,174,176,182,188,190,196,202,204,210,216,218,224,230,232,238,244,246,252,258,260,266,272,2... |
programs/oeis/199/A199555.asm | neoneye/loda | 22 | 165127 | ; A199555: 7*8^n+1.
; 8,57,449,3585,28673,229377,1835009,14680065,117440513,939524097,7516192769,60129542145,481036337153,3848290697217,30786325577729,246290604621825,1970324836974593,15762598695796737,126100789566373889,1008806316530991105,8070450532247928833,64563604257983430657,516508834063867445249,4132070672510939... |
benchmark/agda-ocaml/Fold0.agda | agda/agda-ocaml | 48 | 11344 | <reponame>agda/agda-ocaml<gh_stars>10-100
module Fold where
open import Prelude
myfold : {ac b : Set} -> (ac -> b -> ac) -> ac -> List b -> ac
#ifdef strict
myfold = foldl!
#else
myfold = foldl
#endif
|
src/aco-od.adb | jonashaggstrom/ada-canopen | 0 | 25712 | with ACO.OD_Types.Entries;
with Ada.Tags;
with Interfaces;
package body ACO.OD is
use ACO.OD_Types.Entries;
use Interfaces;
function Object
(This : Object_Dictionary'Class;
Index : Object_Index)
return Object_Ref
is
(This.Objects (This.Index_Map (Index)));
function Object_E... |
orka_simd/src/x86/generic/orka-simd-sse-singles-arithmetic.adb | onox/orka | 52 | 21609 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2016 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
-... |
bb-runtimes/arm/sam/samv71/svd/i-sam.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 432 | <gh_stars>0
--
-- Copyright (C) 2019, AdaCore
--
-- This spec has been automatically generated from ATSAMV71Q21.svd
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
-- Microchip ATSAMV71Q21 Microcontroller
package Interfaces.SAM is
pragma Preelaborate;
pragma No_Elaboration_Code_All;
----------... |
programs/oeis/173/A173235.asm | neoneye/loda | 22 | 167103 | <filename>programs/oeis/173/A173235.asm
; A173235: a(n) = n^(n-1) + n - 1.
; 1,3,11,67,629,7781,117655,2097159,43046729,1000000009,25937424611,743008370699,23298085122493,793714773254157,29192926025390639,1152921504606846991,48661191875666868497,2185911559738696531985,104127350297911241532859
mov $2,1
add $2,$0
pow $2... |
internal/grammar/AnnotationGrammar.g4 | speechly/nlu-rule-parser | 21 | 4724 | grammar AnnotationGrammar;
/*
* Parser Rules
*/
annotation : utterance+ EOF ;
utterance : (reply)+ END*;
reply : WHITESPACE* intent_name (text | entity)+ ;
text : (WORD | WHITESPACE)+ ;
entity : entity_value entity_name ;
entity_value : OPEN_SB text CLOSE_SB ;
entity_name : OPEN_PAREN WORD CL... |
FinalProject.asm | abdukarima/Comp.-Arch-Org-project.- | 1 | 83332 | .data
w: .asciiz "w"
r: .asciiz "r"
bigr: .asciiz "R"
bigw: .asciiz "W"
rowOne: .asciiz "row 1: "
columnOne: .asciiz "column 1: "
rowTwo: .asciiz "row 2: "
columnTwo: .asciiz "column 2: "
wrongColor: .asciiz "error: (r1,c1) either has wrong color or no game piece \n"
impossible: .asciiz "error: illegal move or jum... |
data/pokemon/dex_entries/ninetales.asm | AtmaBuster/pokeplat-gen2 | 6 | 171688 | <filename>data/pokemon/dex_entries/ninetales.asm
db "FOX@" ; species name
db "It is said to live"
next "a thousand years,"
next "and each of its"
page "tails is loaded"
next "with supernatural"
next "powers.@"
|
3-mid/impact/source/3d/math/impact-d3-vector.adb | charlie5/lace | 20 | 13188 | with impact.d3.min_max;
-- with math; --.Algebra.linear.d3;
package body impact.d3.Vector
--
--
--
is
function x (Self : in Vector_3) return Real
is
begin
return Self (1);
end x;
function y (Self : in Vector_3) return Real
is
begin
return Self (2);
end y;
function z (Sel... |
tests/modules/dirModule_basics.asm | fengjixuchui/sjasmplus | 220 | 170269 | <gh_stars>100-1000
OPT --syntax=abfw
MODULE module1
Fn1: ret
MODULE nestedModule
; check labels composing after MODULE
.localWithoutNonLocal1:
Fn1.n: ldir
.local1:
@GlobalLabel1:
.localAfterGlobal1: ; should be <modules>.Global... according to docs (a bit illogical)
... |
src/TP4/Calculette.g4 | hanzopgp/TPLanguageTheory | 0 | 6749 | <filename>src/TP4/Calculette.g4
grammar Calculette;
@parser::members {
private int evalexpr (int x, String op, int y) {
if ( op.equals("*") ){
return x * y;
} else if ( op.equals("/") ){
return x / y;
} else if ( op.equals("+") ){
return x + y;
}... |
oeis/075/A075140.asm | neoneye/loda-programs | 11 | 82804 | ; A075140: Denominator of the generalized harmonic number H(n,5,2).
; Submitted by <NAME>
; 2,14,84,1428,15708,141372,1130976,41846112,5978016,280966752,3652567776,69398787744,2151362420064,144141282144288,144141282144288,1008988975010016,41368547975410656,1199687891286909024
add $0,1
mov $1,1
mov $2,1
lpb $0
sub $0... |
oeis/252/A252631.asm | neoneye/loda-programs | 11 | 247062 | <gh_stars>10-100
; A252631: Numbers n such that the heptagonal number H(n) is equal to the sum of the hexagonal numbers X(m), X(m+1), X(m+2) and X(m+3) for some m.
; Submitted by <NAME>
; 92,29524,9506540,3061076260,985657049084,317378508728692,102194894153589644,32906438538947136580,10595771014646824389020,34118053602... |
src/FRP/LTL/RSet.agda | agda/agda-frp-ltl | 21 | 5357 | module FRP.LTL.RSet where
open import FRP.LTL.RSet.Core public using ( RSet ; ⟨_⟩ ; ⟦_⟧ )
-- Propositional logic
open import FRP.LTL.RSet.Unit public using ( T )
open import FRP.LTL.RSet.Empty public using ( F )
open import FRP.LTL.RSet.Product public using ( _∧_ ; fst ; snd ; _&&&_ )
open import FRP.LTL.RSet.Sum pu... |
binary-diagnostic/binary_ascii_to_int64.asm | schuler-henry/snp-assembler | 0 | 95871 | <filename>binary-diagnostic/binary_ascii_to_int64.asm
;----------------------------------------------------------------------------
; binary_ascii_to_int64.asm - convert ascii binary to integer
;----------------------------------------------------------------------------
;
; DHBW Ravensburg - <NAME>
;
; Vorlesung Syste... |
source/xml/sax/xml-sax-simple_readers-scanner-actions.adb | svn2github/matreshka | 24 | 15794 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
oap-template/src/main/antlr4/TemplateGrammarExpression.g4 | juangentile/oap | 0 | 737 | parser grammar TemplateGrammarExpression;
options {
language=Java;
tokenVocab=TemplateLexerExpression;
superClass = TemplateGrammarAdaptor;
}
@header {
package oap.template;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
}
@parser::members {
public Temp... |
test/Succeed/Shadow.agda | shlevy/agda | 1,989 | 4469 | <filename>test/Succeed/Shadow.agda
-- Shadowing is allowed.
module Shadow where
module M (A : Set) where
id : Set -> Set
id A = A
|
programs/oeis/054/A054008.asm | neoneye/loda | 22 | 18493 | ; A054008: n read modulo (number of divisors of n).
; 0,0,1,1,1,2,1,0,0,2,1,0,1,2,3,1,1,0,1,2,1,2,1,0,1,2,3,4,1,6,1,2,1,2,3,0,1,2,3,0,1,2,1,2,3,2,1,8,1,2,3,4,1,6,3,0,1,2,1,0,1,2,3,1,1,2,1,2,1,6,1,0,1,2,3,4,1,6,1,0,1,2,1,0,1,2,3,0,1,6,3,2,1,2,3,0,1,2,3,1
mov $1,$0
add $0,1
seq $1,5 ; d(n) (also called tau(n) or sigma_0... |
oeis/017/A017719.asm | neoneye/loda-programs | 11 | 13970 | ; A017719: Binomial coefficients C(n,55).
; 1,56,1596,30856,455126,5461512,55525372,491796152,3872894697,27540584512,179013799328,1074082795968,5996962277488,31368725759168,154603005527328,721480692460864,3201570572795084,13559593014190944,54991682779774384,214178132931752864,803167998494073240,2906703232645217440,1017... |
experiments/test-suite/mutation-based/10/9/nqueens.als | kaiyuanw/AlloyFLCore | 1 | 1667 | <filename>experiments/test-suite/mutation-based/10/9/nqueens.als<gh_stars>1-10
pred test62 {
some disj Queen0, Queen1, Queen2: Queen {
Queen = Queen0 + Queen1 + Queen2
row = Queen0->7 + Queen1->6 + Queen2->5
col = Queen0->2 + Queen1->2 + Queen2->2
}
}
run test62 for 4 expect 0
pred test36 {
some disj Queen0, Queen1, Qu... |
lib/am335x_sdk/ti/drv/pruss/example/apps/sorte/firmware/src/slave/sync.asm | brandonbraun653/Apollo | 2 | 29617 | ; Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
;
; 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... |
sbsext/ut/parn.asm | olifink/smsqe | 0 | 169122 | <gh_stars>0
* Check number of parameters 1985 <NAME> QJUMP
*
section utils
*
xdef ut_parn check d1/8 parameters
xdef ut_par0 check none
xdef ut_par1 check one
xdef ut_par2 check two
*
include dev8_sbsext_ext_keys
*
ut_par... |
Cubical/HITs/RPn/Base.agda | borsiemir/cubical | 0 | 4818 | {-
A defintion of the real projective spaces following:
[BR17] <NAME>, <NAME>, The real projective spaces in homotopy type theory.
(2017) https://arxiv.org/abs/1704.05770
-}
{-# OPTIONS --cubical --safe #-}
module Cubical.HITs.RPn.Base where
open import Cubical.Foundations.Prelude
open import Cubic... |
data/pokemon/base_stats/sinnoh/mime_jr.asm | Dev727/ancientplatinum | 0 | 17017 | <reponame>Dev727/ancientplatinum
db 0 ; 439 DEX NO
db 20, 25, 45, 60, 70, 90
; hp atk def spd sat sdf
db PSYCHIC, PSYCHIC ; type
db 145 ; catch rate
db 78 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 25 ; step cycles to hatch
db 5 ; unknown 2
INCBI... |
oeis/019/A019618.asm | neoneye/loda-programs | 11 | 99413 | ; A019618: Expansion of 1/((1-4*x)*(1-7*x)*(1-10*x)).
; Submitted by <NAME>
; 1,21,303,3745,42711,464961,4918663,51086385,524227671,5336085601,54018566823,544793838225,5480212349431,55028108373441,551863246323783,5529708675105265,55374624529091991,554289026917064481,5546689809273133543,55493495148326663505,555121131971... |
oeis/237/A237872.asm | neoneye/loda-programs | 11 | 92509 | ; A237872: Numerator of Sum_{i=1..n} n^i/i.
; Submitted by <NAME>
; 1,4,33,292,10085,48756,2827293,257063528,13779684369,70889442280,72634140523901,314690934778068,140915129117772841,5533416685634616884,251767541303505518145,55644156684309383260624,7481965178603932789388755,197615257214234578768279728,12865281289979788... |
Layer3Sprites/sprite_routines.asm | ped7g/EliteNext | 0 | 243473 |
galactic_cursor_sprite equ 0
galactic_cursor_sprite1 equ galactic_cursor_sprite+1
galactic_cursor_sprite2 equ galactic_cursor_sprite1+2
galactic_hyper_sprite equ galactic_cursor_sprite2+1
galactic_hyper_sprite1 equ galactic_hyper_sprite+1
galactic_hyper_sprite2 equ galactic_hyper_sprite1+1
... |
etude/etude6.als | nishio/learning_alloy | 1 | 3437 | <reponame>nishio/learning_alloy<filename>etude/etude6.als
open named_man_ja [Man]
open named_woman_ja [Woman]
//open util/ordering[Event]
abstract sig Person {
events: set Event,
states: some State
}
abstract sig Man extends Person {
}
abstract sig Woman extends Person {
}
abstract sig State {
}
sig Married ext... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.