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 |
|---|---|---|---|---|
source/amf/dd/amf-internals-tables-di_metamodel-objects.adb | svn2github/matreshka | 24 | 24295 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
ada/core/agar-init.ads | charlesdaniels/libagar | 0 | 2200 | <reponame>charlesdaniels/libagar
------------------------------------------------------------------------------
-- AGAR CORE LIBRARY --
-- A G A R . I N I T --
-- S p e c ... |
testData/parse/agda/records.agda | dubinsky/intellij-dtlc | 30 | 4700 | <reponame>dubinsky/intellij-dtlc<filename>testData/parse/agda/records.agda
--
-- Created by Dependently-Typed Lambda Calculus on 2019-05-15
-- records
-- Author: ice10
--
{-# OPTIONS --without-K --safe #-}
record List (A : Set) : Set where
coinductive
field
head : A
tail : List A
open List
-- | Bisimulat... |
example/src/clic_ex-commands-tty.adb | alire-project/clic | 9 | 3108 | with CLIC.TTY; use CLIC.TTY;
with Ada.Text_IO; use Ada.Text_IO;
package body CLIC_Ex.Commands.TTY is
package TTY renames CLIC.TTY;
--------------------
-- Setup_Switches --
--------------------
overriding
procedure Setup_Switches
(Cmd : in out Instance;
Config : in out CLIC.Subcomman... |
src/firmware-tests/Platform/Smps/EnableDisable/IsEnabledAfterDisabledTest.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 173190 | <reponame>pete-restall/Cluck2Sesame-Prototype
#include "Platform.inc"
#include "FarCalls.inc"
#include "Timer0.inc"
#include "Smps.inc"
#include "TestFixture.inc"
radix decimal
IsEnabledAfterDisabledTest code
global testArrange
testArrange:
fcall initialiseTimer0
fcall initialiseSmps
fcall disableSmps
fca... |
src/SecondOrder/Metavariable.agda | cilinder/formaltt | 21 | 16339 | open import Agda.Primitive using (lzero; lsuc; _⊔_)
import SecondOrder.Arity
import SecondOrder.MContext
import SecondOrder.Signature
module SecondOrder.Metavariable
{ℓ}
{𝔸 : SecondOrder.Arity.Arity}
(Σ : SecondOrder.Signature.Signature ℓ 𝔸)
where
open SecondOrder.Signature.Signature Σ
open SecondOrde... |
terminal_batch_scripts/hello/Hello.g4 | SadraGoudarzdashti/IUSTCompiler | 3 | 1716 | // Define a grammar called Hello
// The same Hello world grammar inside grammars directory
grammar Hello;
s : 'hello' ID ; // match keyword hello followed by an identifier
ID : [a-zA-Z]+ ; // match lower-case identifiers
WS : [ \t\r\n]+ -> skip ; // skip spaces, tabs, newlines |
audio/music/surfingpikachu.asm | adhi-thirumala/EvoYellow | 16 | 82352 | Music_SurfingPikachu_Ch1::
tempo 117
volume 7, 7
duty 3
vibrato 8, 1, 4
notetype 12, 11, 3
octave 3
E_ 6
notetype 12, 11, 2
F# 2
notetype 12, 11, 3
E_ 6
notetype 12, 11, 2
F# 16
rest 2
notetype 12, 11, 3
E_ 6
notetype 12, 11, 2
A_ 2
notetype 12, 11, 3
E_ 6
notetype 12, 11, 2
A_ 14
notetype 12, 11... |
src/main/antlr/net/ninjacat/omg/omql/parser/Omql.g4 | uaraven/omg | 2 | 1022 | grammar Omql;
@header {
package net.ninjacat.omg.omql.parser;
}
filter
: sql_stmt EOF
;
sql_stmt
: select ';'*
;
operator
: '<'
| '<='
| '>'
| '>='
| '='
| '!='
| '<>'
| '~='
| K_IN
;
list
: '(' literal_value (',' literal_value)* ')'
;
expr
: field_name operator literal_value #condition
| ex... |
test/Fail/Issue4482.agda | shlevy/agda | 1,989 | 3938 | -- Andreas, 2020-03-20, issue #4482, reported by gallai
-- Precise range for unexpected implicit argument.
_ : Set → {A : Set} → {B : Set} → {C : Set} → Set
_ = λ { _ {B = B} {A = A} → {!!} }
-- Unexpected implicit argument
-- when checking the clause left hand side
-- .extendedlambda0 _ {B = B} {A = A}
-- ... |
boot/efi_entry.asm | spevans/hello-swift | 0 | 241872 | <gh_stars>0
;;; boot/efi_entry.asm
;;;
;;; Created by <NAME> on 06/02/2016.
;;; Copyright © 2016 <NAME>. All rights reserved.
;;;
;;; Entry point from the UEFI firmware. Calls boot/efi_main.c
;;; to setup the page tables and framebuffer then setups CR3
;;; and enters kernel at its correct virtual address
SECT... |
awa/plugins/awa-storages/src/awa-storages-stores-databases.adb | fuzzysloth/ada-awa | 81 | 12213 | -----------------------------------------------------------------------
-- awa-storages-stores-databases -- Database store
-- Copyright (C) 2012, 2015, 2016 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance ... |
P6/data_P6_2/cal_R_test1.asm | alxzzhou/BUAA_CO_2020 | 1 | 15360 | <filename>P6/data_P6_2/cal_R_test1.asm<gh_stars>1-10
lui $1,61993
ori $1,$1,6163
lui $2,26347
ori $2,$2,17106
lui $3,22851
ori $3,$3,65334
lui $4,61794
ori $4,$4,28939
lui $5,49020
ori $5,$5,37502
lui $6,56307
ori $6,$6,25349
mthi $1
mtlo $2
sec0:
nop
nop
nop
subu $4,$6,$2
sec1:
nop
nop
and $6,$5,$2
subu $6,$6,... |
tlsf/src/proof/test/util/tlsf-proof-test-util.ads | vasil-sd/ada-tlsf | 3 | 6789 | package TLSF.Proof.Test.Util with SPARK_Mode is
procedure Test_Util;
end TLSF.Proof.Test.Util;
|
BTA9.agda | luminousfennell/polybta | 1 | 11502 | <reponame>luminousfennell/polybta<gh_stars>1-10
module BTA9 where
----------------------------------------------
-- Preliminaries: Imports and List-utilities
----------------------------------------------
open import Data.Nat hiding (_<_;_⊔_;_*_;equal)
open import Data.Bool hiding (_∧_;_∨_)
open import Function us... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_check_gstconsistencychecker_h.ads | persan/A-gst | 1 | 10889 | <filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_check_gstconsistencychecker_h.ads
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstpad_h;
with System;
package GStreamer.GST_Low_Level.gstreame... |
oeis/165/A165972.asm | neoneye/loda-programs | 11 | 25650 | ; A165972: Nonprimes k such that the sum of the smallest and largest divisor of k is prime.
; Submitted by <NAME>(s1)
; 1,4,6,10,12,16,18,22,28,30,36,40,42,46,52,58,60,66,70,72,78,82,88,96,100,102,106,108,112,126,130,136,138,148,150,156,162,166,172,178,180,190,192,196,198,210,222,226,228,232,238,240,250,256,262,268,270... |
untested/ARM/nextPowerOf2.asm | GabrielRavier/Generic-Assembly-Samples | 0 | 12966 | <gh_stars>0
code32
format ELF
public _nextPowerOf2
public _nextPowerOf264
section '.text' executable align 16
_nextPowerOf2:
cmp r0, #0
beq .return1
sub r3, r0, #1
tst r3, r0
bxeq lr
mov r2, #0
.loop:
add r1, r2, #1
lsrs r0, r0, #1
and r2, r1, #0xFF
bne .loop
mov r0, #1
lsl r0,... |
oeis/021/A021365.asm | neoneye/loda-programs | 11 | 94972 | <gh_stars>10-100
; A021365: Decimal expansion of 1/361.
; 0,0,2,7,7,0,0,8,3,1,0,2,4,9,3,0,7,4,7,9,2,2,4,3,7,6,7,3,1,3,0,1,9,3,9,0,5,8,1,7,1,7,4,5,1,5,2,3,5,4,5,7,0,6,3,7,1,1,9,1,1,3,5,7,3,4,0,7,2,0,2,2,1,6,0,6,6,4,8,1,9,9,4,4,5,9,8,3,3,7,9,5,0,1,3,8,5,0,4
seq $0,173833 ; 10^n - 3.
div $0,361
mod $0,10
|
libsrc/target/x1/stdio/generic_console_ioctl.asm | Frodevan/z88dk | 640 | 13068 | <reponame>Frodevan/z88dk
MODULE generic_console_ioctl
PUBLIC generic_console_ioctl
SECTION code_clib
INCLUDE "ioctl.def"
EXTERN generic_console_cls
EXTERN generic_console_font32
EXTERN generic_console_udg32
EXTERN asm_load_charset
EXTERN __x1_mode
EXTERN __x1_pcg_mode
... |
programs/oeis/000/A000125.asm | karttu/loda | 1 | 176776 | <reponame>karttu/loda<filename>programs/oeis/000/A000125.asm
; A000125: Cake numbers: maximal number of pieces resulting from n planar cuts through a cube (or cake): C(n+1,3)+n+1.
; 1,2,4,8,15,26,42,64,93,130,176,232,299,378,470,576,697,834,988,1160,1351,1562,1794,2048,2325,2626,2952,3304,3683,4090,4526,4992,5489,6018,... |
tests/natools-s_expressions-parsers-tests.adb | faelys/natools | 0 | 16921 | <filename>tests/natools-s_expressions-parsers-tests.adb<gh_stars>0
------------------------------------------------------------------------------
-- Copyright (c) 2014-2017, <NAME> --
-- --
-- Permission to use, c... |
alloy4fun_models/trainstlt/models/1/M4qnFBBQQ6mSJpb9m.als | Kaixi26/org.alloytools.alloy | 0 | 1492 | open main
pred idM4qnFBBQQ6mSJpb9m_prop2 {
all g : Track.signal | eventually g = Green
}
pred __repair { idM4qnFBBQQ6mSJpb9m_prop2 }
check __repair { idM4qnFBBQQ6mSJpb9m_prop2 <=> prop2o } |
oeis/020/A020977.asm | neoneye/loda-programs | 11 | 9109 | <reponame>neoneye/loda-programs
; A020977: Expansion of 1/((1-8*x)*(1-9*x)*(1-11*x)).
; Submitted by <NAME>
; 1,28,525,8240,116921,1555428,19795525,244020280,2937425841,34724726828,404763120125,4666104381120,53319258206761,604990586218228,6825603208406325,76653180504610760,857610367436699681,9565794278591213628,1064304... |
programs/oeis/028/A028375.asm | karttu/loda | 1 | 4741 | ; A028375: Squares of (odd numbers not divisible by 5).
; 1,9,49,81,121,169,289,361,441,529,729,841,961,1089,1369,1521,1681,1849,2209,2401,2601,2809,3249,3481,3721,3969,4489,4761,5041,5329,5929,6241,6561,6889,7569,7921,8281,8649,9409,9801,10201,10609,11449,11881,12321,12769,13689,14161,14641,15129,16129,16641,17161,176... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0x84_notsx.log_21829_1219.asm | ljhsiun2/medusa | 9 | 22927 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x18fdf, %r8
clflush (%r8)
nop
nop
nop
dec %rbp
mov $0x6162636465666768, %r11
movq %r11, %xmm5
vmovups %ymm5, (%r8)
nop
nop
nop
and $63638, %r10
lea add... |
Types4.agda | pigworker/WhatRTypes4 | 11 | 2382 | <filename>Types4.agda
module Types4 where
open import Basics public
{-----------------------------------------------------------------------}
-- balanced search trees (based on my ICFP '14 paper
-- How to Keep Your Neighbours in Order
-- but the point here is to watch what the types buy us
{---... |
test/Fail/Issue279-4.agda | shlevy/agda | 1,989 | 3598 | <filename>test/Fail/Issue279-4.agda
module Issue279-4 where
module M (X : Set) where
data R : Set where
r : X → R
postulate
P Q : Set
open M P using (r)
shouldn't-check : M.R Q → Q
shouldn't-check (r q) = q
|
programs/oeis/204/A204125.asm | neoneye/loda | 22 | 23383 | <reponame>neoneye/loda
; A204125: Symmetric matrix based on f(i,j)=(i if i=j and 1 otherwise), by antidiagonals.
; 1,1,1,1,2,1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,1,1,1,1,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,6,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,7,1,1,1,1,1,1,1,1,1,1,1,1,1,1
lpb $0... |
programs/oeis/285/A285204.asm | neoneye/loda | 22 | 160934 | ; A285204: Row lengths of triangle A285202.
; 1,3,5,5,7,5,7,5,7,5,9,5,7,5,7,5,9,5,7,5,7,5,9,5,7,5,7,5,9,5,7,5,7,5,11,5,7,5,7,5,9,5,7,5,7,5,9,5,7,5,7,5,9,5,7,5,7,5,11,5,7,5,7,5,9,5,7,5,7,5,9,5,7,5,7,5,9,5,7,5,7,5,11,5,7,5,7,5,9,5,7
mov $2,$0
lpb $0
mov $0,$2
add $1,1
sub $0,$1
dif $2,$1
add $2,$1
sub $2,1
l... |
chapter_1/page_35/exercise_4/strcmp.asm | assaflevy/practical_reverse_engineering | 0 | 179952 | <reponame>assaflevy/practical_reverse_engineering
global _main
extern _printf
section .data
string_1: db 'The quick brown fox jump over the lazy dog', 0
string_2: db 'The quick brown fox jump over the lazy dog', 0
format: db 'strcmp() returned %d.', 10, 0
section .text
my_strcmp:
mov edi, [esp + 4]
mov esi, [esp ... |
alloy4fun_models/trashltl/models/5/dTRj8PZQWedg4GGmR.als | Kaixi26/org.alloytools.alloy | 0 | 5328 | open main
pred iddTRj8PZQWedg4GGmR_prop6 {
all f: File | once f in Trash implies always f in Trash
}
pred __repair { iddTRj8PZQWedg4GGmR_prop6 }
check __repair { iddTRj8PZQWedg4GGmR_prop6 <=> prop6o } |
programs/oeis/262/A262843.asm | neoneye/loda | 22 | 176761 | <filename>programs/oeis/262/A262843.asm
; A262843: Inverse Moebius transform of n^(n-1).
; 1,3,10,67,626,7788,117650,2097219,43046731,1000000628,25937424602,743008378540,23298085122482,793714773371796,29192926025391260,1152921504608944195,48661191875666868482,2185911559738739586477,104127350297911241532842,524288000000... |
src/q_sound.adb | jfuica/bingada | 4 | 11424 | --*****************************************************************************
--*
--* PROJECT: BingAda
--*
--* FILE: q_sound.asfml.adb
--*
--* AUTHOR: Manuel <mgrojo at github>
--*
--*****************************************************************************
-- External sound l... |
oeis/138/A138016.asm | neoneye/loda-programs | 11 | 95048 | ; A138016: Row sums of triangle A138015.
; 1,2,4,6,10,14,24,34,68,102,256,410,1284,2158,8072,13986
add $0,1
mov $3,$0
lpb $0
sub $2,$0
trn $2,$0
mul $2,$0
sub $0,1
add $2,$3
lpe
mov $0,$2
|
compute/Compute.g4 | craft095/sere | 0 | 388 | grammar Compute;
compute : (args += argDeclaration)* (lets += letDeclaration)* payload=expression ;
ident : ID ;
argDeclaration : name=ident TYPE_ANN type=ident ';' ;
letDeclaration : LET inner=assignment ';' ;
assignment
: name=ident ASSIGN body=expression # constAssign
| name=ident LPAREN (args +=... |
src/section-4-3/Graphics.g4 | geeeger/language-implementation-patterns-learning | 0 | 4864 | grammar Graphics;
file : command+ ;
command : 'line' 'from' point 'to' point ;
point : INT ',' INT ;
INT : [0-9]+ ;
WS : [ \t\r\n]+ -> skip ;
|
oeis/174/A174339.asm | neoneye/loda-programs | 11 | 84396 | <gh_stars>10-100
; A174339: a(n) = 109*n^2.
; 0,109,436,981,1744,2725,3924,5341,6976,8829,10900,13189,15696,18421,21364,24525,27904,31501,35316,39349,43600,48069,52756,57661,62784,68125,73684,79461,85456,91669,98100,104749,111616,118701,126004,133525,141264,149221,157396,165789,174400,183229,192276,201541,211024,220725... |
Transynther/x86/_processed/US/_st_4k_sm_/i7-7700_9_0x48.log_1_2261.asm | ljhsiun2/medusa | 9 | 80814 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1836b, %rsi
lea addresses_normal_ht+0x18657, %rdi
dec %rbx
mov $9, %rcx
rep movsb
nop
nop
nop
and $44615, %r10
lea addresses_UC_ht+0x17b2f, %rsi
lea addresses_... |
asg/asm/rdkafka_roundrobin_assignor.asm | asgkafka/librdkafka | 0 | 1144 | *PROCESS DUPALIAS
*
* Compiled by DCC Version 2.25.07 Mar 6 2021 08:51:07
* on Fri Apr 30 15:35:58 2021
*
WXTRN @@ZARCH#
*
*
*
* Code Section
*
@CODE ALIAS X'7CD9C4D2C1C6D2C16DD9D6E4D5C4D9D6C2C9D56DC1E2E2C9C7D5D6*
D9'
@CODE CSECT
@CODE AMODE ANY
@CODE RMODE ANY
@DATA ... |
oeis/286/A286910.asm | neoneye/loda-programs | 11 | 87916 | ; A286910: Number of independent vertex sets and vertex covers in the n-antiprism graph.
; Submitted by <NAME>
; 3,1,5,10,21,46,98,211,453,973,2090,4489,9642,20710,44483,95545,205221,440794,946781,2033590,4367946,9381907,20151389,43283149,92967834,199685521,428904338,921243214,1978737411,4250128177,9128846213,196078399... |
oeis/041/A041127.asm | neoneye/loda-programs | 11 | 163298 | ; A041127: Denominators of continued fraction convergents to sqrt(72).
; Submitted by <NAME>(s1.)
; 1,2,33,68,1121,2310,38081,78472,1293633,2665738,43945441,90556620,1492851361,3076259342,50713000833,104502261008,1722749176961,3550000614930,58522759015841,120595518646612,1988051057361633,4096697633369878,67535213191279... |
a/assembler_lc-3.asm | ozcanyarimdunya/FuckYouGithub | 0 | 105570 | <reponame>ozcanyarimdunya/FuckYouGithub
.ORIG x3000
LEA R0, FuckYouGithub
PUTS
FuckYouGithub .STRINGZ "Fuck You Github!\n"
|
Fire Alarm - Smoke Detector/assets/alarm_3.asm | sanils2002/ASSEMBLY-PROJECTS | 0 | 169504 | MVI A,98H
REPEAT: IN 60H
ANI 01H
JNZ SKIP
JMP REPEAT
SKIP: OUT 61H
HLT
|
libsrc/math/mbf32/c/sccz80/exp.asm | rjcorrig/z88dk | 0 | 102258 | <filename>libsrc/math/mbf32/c/sccz80/exp.asm
SECTION code_fp_mbf32
PUBLIC exp
EXTERN ___mbf32_setup_expgle
EXTERN ___mbf32_EXP
EXTERN ___mbf32_return
EXTERN msbios
exp:
call ___mbf32_setup_expgle
ld ix,___mbf32_EXP
call msbios
jp ___mbf32_return
|
data/mapHeaders/CeruleanPokecenter.asm | AmateurPanda92/pokemon-rby-dx | 9 | 94501 | CeruleanPokecenter_h:
db POKECENTER ; tileset
db CERULEAN_POKECENTER_HEIGHT, CERULEAN_POKECENTER_WIDTH ; dimensions (y, x)
dw CeruleanPokecenter_Blocks ; blocks
dw CeruleanPokecenter_TextPointers ; texts
dw CeruleanPokecenter_Script ; scripts
db 0 ; connections
dw CeruleanPokecenter_Object ; objects
|
oeis/004/A004658.asm | neoneye/loda-programs | 11 | 87510 | <reponame>neoneye/loda-programs
; A004658: Powers of 3 written in base 4.
; 1,3,21,123,1101,3303,23121,202023,1212201,10303203,32122221,223033323,2001233301,12011033103,102033231321,312233021223,2210031131001,13230220113003,113011321011021,1011101223033123,3033311001232101,21233133011022303,131032131033200121,111322311... |
source/textio/a-coteio.ads | ytomino/drake | 33 | 5233 | <filename>source/textio/a-coteio.ads
pragma License (Unrestricted);
with Ada.Numerics.Complex_Types;
with Ada.Text_IO.Complex_IO;
package Ada.Complex_Text_IO is new Text_IO.Complex_IO (Numerics.Complex_Types);
|
tools-src/gnu/gcc/gcc/ada/exp_ch6.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 11828 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
base/mvdm/vdd/hpscan/hpscan16.asm | npocmaka/Windows-Server-2003 | 17 | 16387 | <filename>base/mvdm/vdd/hpscan/hpscan16.asm
.MODEL small
;*************************************************
; Filename: hpscan16.asm
; Purpose: Stub DOS Device Driver. Pass device
; "HPSCAN" requests to the VDD, hpscan32.dll.
; Environment: MSDOS, Windows NT.
; (C) Hewlett-Packard Company 1993.
;************... |
day20/day20.adb | thorstel/Advent-of-Code-2018 | 2 | 10027 | <reponame>thorstel/Advent-of-Code-2018<gh_stars>1-10
with Ada.Text_IO; use Ada.Text_IO;
procedure Day20 is
type Position is record
X : Integer;
Y : Integer;
end record;
function Next_Pos (Pos : Position; Dir : Character) return Position is
begin
case Dir is
when 'N' => retur... |
programs/oeis/140/A140407.asm | neoneye/loda | 22 | 173888 | <reponame>neoneye/loda
; A140407: A000225 interleaved with A000051.
; 1,2,3,3,7,5,15,9,31,17,63,33,127,65,255,129,511,257,1023,513,2047,1025,4095,2049,8191,4097,16383,8193,32767,16385,65535,32769,131071,65537,262143,131073,524287,262145,1048575,524289,2097151,1048577,4194303,2097153,8388607,4194305,16777215,8388609,335... |
source/adam-subprogram.ads | charlie5/aIDE | 3 | 14248 | <reponame>charlie5/aIDE<gh_stars>1-10
with
AdaM.Entity,
AdaM.Block,
AdaM.Context,
AdaM.Parameter,
Ada.Containers.Vectors,
Ada.Streams;
package AdaM.Subprogram
is
type Item is new Entity.item with private;
-- View
--
type View is access all Item'Class;
procedure View_w... |
devices/devices-console.adb | SMerrony/dgemua | 2 | 19017 | <filename>devices/devices-console.adb
-- MIT License
-- Copyright (c) 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 ri... |
src/LKS/Fade.asm | Kannagi/LKS | 6 | 160154 | <filename>src/LKS/Fade.asm
LKS_Fade_in:
lda LKS_FADE.phase
cmp #0
beq +
rtl
+:
lda LKS_FADE.brg
sta INIDISP
ldy LKS_FADE.timer
cpy #2
bne +
ina
stz LKS_FADE.timer
bra ++
+:
inc LKS_FADE.timer
++:
cmp #$10
bne +
lda #$0F
sta INIDISP
inc LKS_FADE.phase
stz LKS_FADE.timer
rtl
+:... |
tools-src/gnu/gcc/gcc/ada/impunit.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 29581 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Rings/Ideals/Principal/Definition.agda | Smaug123/agdaproofs | 4 | 12847 | <gh_stars>1-10
{-# OPTIONS --safe --warning=error --without-K #-}
open import Setoids.Setoids
open import Rings.Definition
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
module Rings.Ideals.Principal.Definition {a b : _} {A : Set a} {S : Setoid {a} {b} A} {_+_ _*_ : A → A → A} (R : Ring S _+_ _*_) where
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr23_pkg.ads | best08618/asylo | 7 | 8137 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr23_pkg.ads
package Discr23_Pkg is
subtype Size_Range is Positive range 1 .. 256;
type Text (Size : Size_Range) is
record
Characters : String( 1.. Size);
end record;
function Get return Text;
end Discr23_Pkg;
|
private/sdktools/imagehlp/i386/chksum.asm | King0987654/windows2000 | 11 | 161775 | title "Compute Checksum"
;/*++
;
; Copyright (c) 1992 Microsoft Corporation
;
; Module Name:
;
; chksum.asm
;
; Abstract:
;
; This module implements a fucntion to compute the checksum of a buffer.
;
; Author:
;
; <NAME> (davec) 27-Jan-1992
;
; Environment:
;
; Any mode.
;
; Revisio... |
llvm-gcc-4.2-2.9/gcc/ada/exp_ch6.adb | vidkidz/crossbridge | 1 | 11727 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
src/Categories/Bicategory/Construction/1-Category.agda | MirceaS/agda-categories | 0 | 6133 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category
-- Lifts a 1-Category into a bicategory
module Categories.Bicategory.Construction.1-Category
{o ℓ e} b (C : Category o ℓ e) where
open import Level using (Lift; lift)
open import Data.Unit using (⊤; tt)
open import Data.Product using (uncurry)
ope... |
Scripts Pack Source Items/Scripts Pack/Finder/Xray Folders QuickLook (10.5 - 10.6.8).applescript | Phorofor/ScriptsPack.macOS | 1 | 624 | # Scripts Pack - Tweak various preference variables in macOS
# <Phorofor, https://github.com/Phorofor/>
# When Xray folders is used, using QuickLook in Finder will show a transparent folder icon with the icons of documents cycling. Does not work in OS X Lion (10.7)+ *)
-- Xray Folders for QuickLook
-- Versions compa... |
programs/oeis/268/A268741.asm | neoneye/loda | 22 | 89209 | <reponame>neoneye/loda<gh_stars>10-100
; A268741: a(n) = 2*a(n - 2) - a(n - 1) for n>1, a(0) = 4, a(1) = 5.
; 4,5,3,7,-1,15,-17,47,-81,175,-337,687,-1361,2735,-5457,10927,-21841,43695,-87377,174767,-349521,699055,-1398097,2796207,-5592401,11184815,-22369617,44739247,-89478481,178956975,-357913937,715827887,-1431655761... |
oeis/123/A123164.asm | neoneye/loda-programs | 11 | 95266 | ; A123164: Row sums of A123160.
; Submitted by <NAME>
; 1,2,8,38,192,1002,5336,28814,157184,864146,4780008,26572086,148321344,830764794,4666890936,26283115038,148348809216,838944980514,4752575891144,26964373486406,153196621856192,871460014012682,4962895187697048,28292329581548718,161439727075246592,921991641870126002,5... |
Labs/Lab_4/files-lab4/Factorial-surprise.asm | KrimReaper/IS1200 | 1 | 7338 | <filename>Labs/Lab_4/files-lab4/Factorial-surprise.asm<gh_stars>1-10
# Initialize
addi $a0, $zero, 5 # Change the immediate/3 to change function call argument
# Main factorial function
beq $a0, $zero, Zero # Guard for 0!
add $v0, $a0, $zero # Value out is initially the argument
add $a1, $a0, $zero
Factori... |
test/Succeed/Issue848.agda | shlevy/agda | 1,989 | 6641 | module Issue848 where
A : Set1
A = B module _ where
B : Set1
B = Set
C : Set1
C = B
D : Set1
D = E module _ where
E : Set1
E = Set
F : Set1
F = G module _ where
G : Set1
G = H module _ where
H : Set1
H = Set
|
VM/src/Linux/VPU/x86_64/organized/decoder.asm | ozdevguy/Ditto | 0 | 245710 | <reponame>ozdevguy/Ditto
#Decode the instruction.
ivpu_decoder_dispatch:
#If this is an immediate, unconditional branch, we can skip the decoding process and perform an immediate jump.
mov rbx, 0x400000 #Create a mask for the jump bit within the instruction.
test r15, rbx #Check the instruction's... |
Debug/uart.asm | polamagdygeo/uWave | 0 | 93645 | <gh_stars>0
;******************************************************************************
;* TI ARM C/C++ Codegen Unix v18.1.1.LTS *
;* Date/Time created: Fri Jul 3 20:08:26 2020 *
;*******************************************************************... |
src/wiki-parsers-html-entities.ads | jquorning/ada-wiki | 18 | 11338 | -- Generated by gen-ada-entities.pl latin1.ent symbol.ent special.ent
private package Wiki.Parsers.Html.Entities is
pragma Preelaborate;
AELIG_NAME : aliased constant String := "AElig";
AACUTE_NAME : aliased constant String := "Aacute";
ACIRC_NAME : aliased constant String := "Acirc";
AGRAVE_N... |
src/transition.asm | SlyryD/Beta-Quest | 1 | 14261 | <filename>src/transition.asm<gh_stars>1-10
.org 0x8009A2B0
.area (0x8009A340 - 0x8009A2B0), 0
//a0 = Global Context
//a1 = screen transition effect
addiu sp, sp, 0xFFE0
sw ra, 0x0014(sp)
sw a0, 0x0020(sp)
andi t0, a1, -2 //drop least significant bit so that we can test for 0x0E an... |
code/datastudio/src/org.opengauss.mppdbide.parser/src/org/opengauss/mppdbide/parser/grammar/PostgresLexer.g4 | opengauss-mirror/DataStudio | 0 | 5847 | <filename>code/datastudio/src/org.opengauss.mppdbide.parser/src/org/opengauss/mppdbide/parser/grammar/PostgresLexer.g4
lexer grammar PostgresLexer;
@header {
package org.opengauss.mppdbide.parser.grammar;
}
/* ordinary key words in alphabetical order */
ABORT_P : A B O R T;
ABSOLUTE_P : A B S O L U T E;
ACCESS : ... |
ejercicios4/rellenar_aula_1.adb | iyan22/AprendeAda | 0 | 1526 | <gh_stars>0
with copia_examenes;
use copia_examenes;
procedure rellenar_aula_1 (Aula_1: out T_Aula) is
begin
--Rellenar el aula_1 fila 1
-------------------------------
aula_1(1,1).Ocupada:=True;
Aula_1(1,1).Ident:=111;
Aula_1(1,1).Ex.Num_palabras_diferentes:=5;
--rellenando_las palabras y sus frecu... |
Irvine/Examples/ch11/MessageBox.asm | alieonsido/ASM_TESTING | 0 | 177233 | <reponame>alieonsido/ASM_TESTING<filename>Irvine/Examples/ch11/MessageBox.asm
; Demonstrate MessageBoxA (MessageBox.asm)
; Demonstration of the Windows API MessageBox function, using
; various icons and button configurations.
INCLUDE Irvine32.inc
.data
captionW BYTE "Warning",0
warningMsg BYTE "The curren... |
programs/oeis/070/A070451.asm | neoneye/loda | 22 | 273 | ; A070451: a(n) = n^2 mod 29.
; 0,1,4,9,16,25,7,20,6,23,13,5,28,24,22,22,24,28,5,13,23,6,20,7,25,16,9,4,1,0,1,4,9,16,25,7,20,6,23,13,5,28,24,22,22,24,28,5,13,23,6,20,7,25,16,9,4,1,0,1,4,9,16,25,7,20,6,23,13,5,28,24,22,22,24,28,5,13,23,6,20,7,25,16,9,4,1,0,1,4,9,16,25,7,20,6,23,13,5,28
pow $0,2
mod $0,29
|
include/sf-system-mutex.ads | Fabien-Chouteau/ASFML | 0 | 26346 | --//////////////////////////////////////////////////////////
-- SFML - Simple and Fast Multimedia Library
-- Copyright (C) 2007-2015 <NAME> (<EMAIL>)
-- This software is provided 'as-is', without any express or implied warranty.
-- In no event will the authors be held liable for any damages arising from the use of this... |
src/model/gen-database-model.ads | Letractively/ada-gen | 0 | 3426 | <reponame>Letractively/ada-gen<gh_stars>0
-----------------------------------------------------------------------
-- Gen.Database.Model -- Gen.Database.Model
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-sp... |
pro/pro5.2/kernel/kernel.asm | wangdehu/os | 3 | 82127 |
SELECTOR_KERNEL_CS equ 8
; 导入函数
extern cstart
extern exception_handler
extern spurious_irq
; 导入全局变量
extern gdt_ptr
extern idt_ptr
extern disp_pos
[SECTION .bss]
StackSpace resb 2 * 1024
StackTop: ; 栈顶
[section .text] ; 代码在此
global _start ; 导出 _start
global divide_error
global single_step_exception
global n... |
src/Subtyping.agda | boystrange/FairSubtypingAgda | 4 | 11629 | -- MIT License
-- Copyright (c) 2021 <NAME> and <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, mo... |
sharding-core/src/main/antlr4/imports/PostgreSQLAlterTable.g4 | FloodDragon/sharding-sphere | 0 | 361 | grammar PostgreSQLAlterTable;
import PostgreSQLKeyword, DataType, Keyword, PostgreSQLBase, BaseRule, Symbol;
alterTable
: alterTableNameWithAsterisk (alterTableActions | renameColumn | renameConstraint)
| alterTableNameExists renameTable
;
alterTableNameWithAsterisk
: ALTER TABLE (IF EXISTS)? ONL... |
mc-sema/validator/x86_64/tests/ADD_F64m.asm | randolphwong/mcsema | 2 | 245107 | BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; set up st0 to be 1.0
FLD1
;TEST_BEGIN_RECORDING
lea rdi, [rsp-08]
; 3.1415926 or there about
mov dword [rdi+00], 0x54442d18
mov dword [rdi+04], 0x400921fb
FADD qword [rdi]
mov rdi, 0
;TEST_END_RECORDING
|
oeis/052/A052735.asm | neoneye/loda-programs | 11 | 22035 | <reponame>neoneye/loda-programs
; A052735: E.g.f. (1-x -sqrt(1-2*x-3*x^2) )/2.
; Submitted by <NAME>
; 0,0,2,6,48,480,6480,105840,2056320,46085760,1172102400,33330528000,1048055500800,36104266598400,1352222474803200,54706557185280000,2377540306132992000,110466555918630912000,5464214679506558976000
mov $2,$0
seq $0,126... |
oeis/174/A174687.asm | neoneye/loda-programs | 11 | 6173 | ; A174687: Central coefficients T(2n,n) of the Catalan triangle A033184.
; Submitted by <NAME>(s3)
; 1,2,9,48,275,1638,9996,62016,389367,2466750,15737865,100975680,650872404,4211628008,27341497800,177996090624,1161588834303,7596549816030,49772989810635,326658445806000,2147042307851595,14130873926790390,9311584141289976... |
experiments/tests/remove.als | kaiyuanw/ASketch | 1 | 3290 | <filename>experiments/tests/remove.als
pred Test0{
some disj List0 : List | some disj Node0, Node1, Node2 : Node | some disj Object0, Object1, Object2 : Object {
List = List0
Node = Node0 + Node1 + Node2
Object = Object0 + Object1 + Object2
header = List0->Node0
header' = List0->Node0
elem = N... |
source/league/matreshka-cldr-collation_data.adb | svn2github/matreshka | 24 | 16551 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
data/mapObjects/cinnabarisland.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 162269 | CinnabarIslandObject:
db $43 ; border block
db $5 ; warps
db $3, $6, $1, MANSION_1
db $3, $12, $0, CINNABAR_GYM
db $9, $6, $0, CINNABAR_LAB_1
db $b, $b, $0, CINNABAR_POKECENTER
db $b, $f, $0, CINNABAR_MART
db $5 ; signs
db $5, $9, $3 ; CinnabarIslandText3
db $b, $10, $4 ; MartSignText
db $b, $c, $5 ; PokeC... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-cbmutr.adb | orb-zhuchen/Orb | 0 | 402 | <reponame>orb-zhuchen/Orb
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
source/amf/uml/amf-umldi-uml_diagrams-collections.ads | svn2github/matreshka | 24 | 25622 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c45201a.ada | best08618/asylo | 7 | 27419 | -- C45201A.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/070/A070455.asm | karttu/loda | 1 | 6751 | <reponame>karttu/loda<gh_stars>1-10
; A070455: a(n) = n^2 mod 33.
; 0,1,4,9,16,25,3,16,31,15,1,22,12,4,31,27,25,25,27,31,4,12,22,1,15,31,16,3,25,16,9,4,1,0,1,4,9,16,25,3,16,31,15,1,22,12,4,31,27,25,25,27,31,4,12,22,1,15,31,16,3,25,16,9,4,1,0,1,4,9,16,25,3,16,31,15,1,22,12,4,31,27,25,25,27,31,4,12,22,1,15,31,16,3,25,16,... |
parser/src/main/antlr4/i4gl/parser/I4GLParser.g4 | guillermomolina/graal-i4gl | 0 | 3980 | /*
* Based on https://github.com/antlr/grammars-v4/blob/master/informix/informix.g4
*/
parser grammar I4GLParser;
options {
tokenVocab = I4GLLexer;
}
module:
databaseDeclaration? globalsDeclaration? typeDeclarations? mainFunctionDefinition?
functionOrReportDefinitions? EOF;
identifier: keywordAsIdentifier | I... |
src/bin/cpu-visualizer/asm/addressing-modes.asm | gregtatum/cpu-6502-rs | 0 | 99119 | ; Immediate values use the values provided immediately
; after the instruction
immediate:
lda #$22 ; Load the value 0x22 into register a
; Implied values need no operands.
implied:
sec ; Set the clear bit.
; Relative addresses are only used for branching operations.
; They move the current pc 127 bytes forward, o... |
Transynther/x86/_processed/US/_st_sm_/i3-7100_9_0xca_notsx.log_21829_340.asm | ljhsiun2/medusa | 9 | 20912 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rdx
lea addresses_UC_ht+0x1208d, %r9
nop
nop
nop
nop
nop
sub $38605, %r8
mov $0x6162636465666768, %rdx
movq %rdx, (%r9)
add %r11, %r11
pop %rdx
pop %r9
pop %r8
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %... |
source/environment/machine-apple-darwin/s-progra.adb | ytomino/drake | 33 | 10631 | <gh_stars>10-100
with System.Zero_Terminated_Strings;
with C.mach_o.dyld;
with C.stdint;
package body System.Program is
use type C.signed_int;
use type C.stdint.uint32_t;
function Full_Name return String is
-- use proc_pidpath instead of NSGetExecutablePath?
Buffer_Length : aliased C.stdint.uint3... |
tools-src/gnu/gcc/gcc/ada/31soccon.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 30036 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
experiments/models/grade.als | saiema/ARepair | 5 | 4895 | abstract sig Person {}
sig Student extends Person {}
sig Professor extends Person {}
sig Class {
assistant_for: set Student,
instructor_of: one Professor
}
sig Assignment {
associated_with: one Class,
assigned_to: some Student
}
pred PolicyAllowsGrading(s: Person, a: Assignment) {
s in a.associated_with.assi... |
Transynther/x86/_processed/NONE/_ht_st_zr_un_/i7-7700_9_0x48.log_21008_250.asm | ljhsiun2/medusa | 9 | 29673 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x19c89, %rsi
lea addresses_A_ht+0x1c029, %rdi
inc %r10
mov $18, %rcx
rep movsb
nop
dec %r13
lea addresses_WC_ht+0x16bbd, %r9
nop
xor %rdi, %rdi
movb (%r9), %r13b
nop
nop
nop
n... |
oeis/077/A077881.asm | neoneye/loda-programs | 11 | 6082 | <gh_stars>10-100
; A077881: Expansion of (1-x)^(-1)/(1-2*x^2+2*x^3).
; Submitted by <NAME>
; 1,1,3,1,5,-3,9,-15,25,-47,81,-143,257,-447,801,-1407,2497,-4415,7809,-13823,24449,-43263,76545,-135423,239617,-423935,750081,-1327103,2348033,-4154367,7350273,-13004799,23009281,-40710143,72028161,-127438847,225476609,-39893401... |
src/Native/Runtime/amd64/CallingConventionConverterHelpers.asm | kouvel/corert | 3,223 | 243533 | ;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
;; -----------------------------------------------------------------------------------------------------------
;; #include "asmmacros.inc"
;; ----------------------------------------... |
src/cutscenes.asm | cout/sm_practice_hack | 0 | 247018 |
org $82EEE0
dw cutscenes_load_intro
if !FEATURE_PAL
org $8BB124
else
org $8BB240
endif
JSR cutscenes_load_ceres_arrival
org $8BF800
print pc, " cutscenes start"
cutscenes_load_intro:
{
LDA !sram_cutscenes : BIT !CUTSCENE_SKIP_INTRO : BEQ .keep_intro
LDA !sram_cutscenes : BIT !CUTSCENE_SKIP_CERES_A... |
programs/oeis/017/A017184.asm | neoneye/loda | 22 | 92042 | <reponame>neoneye/loda<filename>programs/oeis/017/A017184.asm
; A017184: (9n+1)^12.
; 1,1000000000000,2213314919066161,232218265089212416,6582952005840035281,89762301673555234816,766217865410400390625,4722366482869645213696,22902048046490258711521,92420056270299898187776,322475487413604782665681
mul $0,9
add $0,1
pow ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.