max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
src/grammar/playlist_lexer.g4 | IvanPysmenni/ANTLR_M3U8Parser | 0 | 3161 | <gh_stars>0
lexer grammar playlist_lexer;
ENTER_LABEL: HASHTAG 'EXTM3U';
EXTINFO_LABEL: HASHTAG 'EXTINF';
LETTER: [a-zA-Z\u0080-\u{10FFFF}];
NEWLINE: ('\r'? '\n' | '\r')+;
WHITE_SPACE: (' ' | '\t');
DIGIT: [0-9];
SPECIAL_SYMBOL: [!@$%^&*\\/];
DASH: [-];
COLON: [:];
COMMA: [,];
POINT: [.];
HASHTAG: [#]; |
src/reader.adb | STR-UPM/ToyOBDH | 1 | 22068 | <filename>src/reader.adb
-------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, Universidad Politécnica de Madrid --
-- ... |
src/main/antlr4/Sip.g4 | hemantsonu20/sip-parser-antlr | 1 | 2829 | <gh_stars>1-10
grammar Sip;
@header {
/**
* Copyright 2016 <NAME>
*
* 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... |
bios/mschar.asm | minblock/msdos | 0 | 165641 | ;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1981-1991
; * All Rights Reserved.
; */
page ,160
title mschar - character and clock devices
;
;----------------------------------------------------------------------------
;
; M013 : ... |
programs/oeis/004/A004957.asm | karttu/loda | 0 | 18920 | <filename>programs/oeis/004/A004957.asm
; A004957: a(n) = ceiling(n*phi^2), where phi is the golden ratio, A001622.
; 0,3,6,8,11,14,16,19,21,24,27,29,32,35,37,40,42,45,48,50,53,55,58,61,63,66,69,71,74,76,79,82,84,87,90,92,95,97,100,103,105,108,110,113,116,118,121,124,126,129,131,134,137,139,142,144,147,150,152,155,158,... |
src/include.asm | ViGrey/iss-nes | 23 | 17455 | <filename>src/include.asm<gh_stars>10-100
; Copyright (C) 2020, <NAME>
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
;
; 1. Redistributions of source code must retain the above copyright
; ... |
oeis/242/A242448.asm | neoneye/loda-programs | 11 | 167721 | <filename>oeis/242/A242448.asm<gh_stars>10-100
; A242448: Number of distinct linear polynomials b+c*x in row n of array generated as in Comments.
; Submitted by <NAME>
; 1,3,6,12,22,38,64,106,174,284,462,750,1216,1970,3190,5164,8358,13526,21888,35418,57310,92732,150046,242782,392832,635618
mov $5,1
lpb $0
sub $0,1
... |
oeis/061/A061369.asm | neoneye/loda-programs | 11 | 1950 | ; A061369: a(n) = smallest square in the arithmetic progression {nk+1 : k >= 0}.
; Submitted by <NAME>
; 4,9,4,9,16,25,36,9,64,81,100,25,144,169,16,49,256,289,324,81,64,441,484,25,576,625,676,169,784,121,900,225,100,1089,36,289,1296,1369,196,81,1600,169,1764,441,361,2025,2116,49,2304,2401,256,625,2704,2809,441
seq $0,... |
data/mapObjects/route3.asm | adhi-thirumala/EvoYellow | 16 | 10948 | <filename>data/mapObjects/route3.asm
Route3Object:
db $2c ; border block
db $0 ; warps
db $1 ; signs
db $9, $3b, $a ; Route3Text10
db $9 ; objects
object SPRITE_BLACK_HAIR_BOY_2, $39, $b, STAY, NONE, $1 ; person
object SPRITE_BUG_CATCHER, $a, $6, STAY, RIGHT, $2, OPP_BUG_CATCHER, $4
object SPRITE_BUG_CATCHER... |
examples/demo-grammar/tinyc/src/samples/sample_0_helloworld.asm | fossabot/FlyLab | 0 | 162120 | FUNC @main:
print "Hello world!"
push 0
ret ~
ENDFUNC
|
tier-1/xcb/source/thin/xcb-xcb_render_trapezoid_t.ads | charlie5/cBound | 2 | 18453 | -- This file is generated by SWIG. Please do not modify by hand.
--
with xcb.xcb_render_linefix_t;
with Interfaces.C;
with Interfaces.C.Pointers;
package xcb.xcb_render_trapezoid_t is
-- Item
--
type Item is record
top : aliased xcb.xcb_render_fixed_t;
bottom : aliased xcb.xcb_render_fixed_t;... |
oeis/007/A007706.asm | neoneye/loda-programs | 11 | 14572 | <reponame>neoneye/loda-programs
; A007706: a(n) = 1 + coefficient of x^n in Product_{k>=1} (1-x^k) (essentially the expansion of the Dedekind function eta(x)).
; Submitted by <NAME>
; 2,0,0,1,1,2,1,2,1,1,1,1,0,1,1,0,1,1,1,1,1,1,2,1,1,1,2,1,1,1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,... |
programs/oeis/201/A201874.asm | karttu/loda | 0 | 169228 | <gh_stars>0
; A201874: Number of zero-sum -n..n arrays of 3 elements with first and second differences also in -n..n.
; 3,5,15,21,27,47,57,67,97,111,125,165,183,201,251,273,295,355,381,407,477,507,537,617,651,685,775,813,851,951,993,1035,1145,1191,1237,1357,1407,1457,1587,1641,1695,1835,1893,1951,2101,2163,2225,2385,24... |
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xca.log_21829_649.asm | ljhsiun2/medusa | 9 | 90516 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1b2cb, %rsi
lea addresses_normal_ht+0xe56b, %rdi
nop
and %r8, %r8
mov $39, %rcx
rep movsw
nop
nop
nop
nop
nop
sub %r9, %r9
lea addresses_WT_ht+0x9c8b, %rsi
lea addresses_WC_ht+0x1d7... |
test/test.Array.splitb.asm | richRemer/atlatl | 0 | 244354 | global test_case
extern Array.splitb
extern Array.eachb
extern std.outb
extern std.outln
extern sys.error
%include "Array.inc"
section .text
test_case:
mov rax, test_array ; Array to split
mov rbx, 4 ; delimit with value 4
call Array.splitb ; split into two ... |
oeis/138/A138338.asm | neoneye/loda-programs | 11 | 2899 | <reponame>neoneye/loda-programs
; A138338: Primes of the form n^2+8.
; Submitted by <NAME>(w1)
; 17,89,233,449,1097,2609,3257,6569,7577,12329,13697,15137,16649,18233,19889,21617,23417,31337,35729,45377,47969,65033,77849,81233,99233,103049,106937,119033,123209,131777,159209,173897,216233,221849,227537
mov $1,9
mov $2,3... |
MSDOS/Virus.MSDOS.Unknown.v1385.asm | fengjixuchui/Family | 3 | 247312 | <reponame>fengjixuchui/Family
;-------------------------------------------------
; Virus
;
; dissasembled by <NAME> July 1991
;
; (C) Polish section of Virus Information Bank
;------------------------------------------------
0100 E97801 JMP 027B
; old INT 13h vector
0103 7A0F
0105 7000
;===============... |
src/main/antlr4/com/github/bohnman/squiggly/parser/antlr4/SquigglyExpression.g4 | jarpz/squiggly-java | 1 | 7480 | grammar SquigglyExpression;
// Parser Rules ---------------------------------------------------------------
parse
: expression_list EOF
;
expression_list
: expression (',' expression)*
;
expression
: negated_expression
| field_list (nested_expression|empty_nested_expression)
| dot_path (... |
examples/fib.asm | firemark/katp91 | 3 | 15027 | <gh_stars>1-10
main:
MOV R0 10; n value
CALL fib; result will be in R1
JMP lol
fib:
PUSH R0; save n
PUSH R2; save temp value
CMP R0 2
BRNC fib_continue; if R0 >= 2
MOV R1 R0; result
RJMP fib_finish
fib_continue:
SUB R0 1
CALL fib; R1 = F(R0-1)
MOV R2 R1
SUB R0 1
C... |
HW4 - 95542247/q3/Assignment4q3.g4 | SadraGoudarzdashti/IUSTCompiler | 0 | 5236 | <filename>HW4 - 95542247/q3/Assignment4q3.g4<gh_stars>0
grammar Assignment4q3;
@parser::members{
label_counter = 0
temp_counter = 0
def create_temp(self):
self.temp_counter += 1
return 'T' + str(self.temp_counter)
def remove_temp(self):
self.temp_counter -= 1
def get_temp(self):
return 'T' + str(self.t... |
oeis/010/A010811.asm | neoneye/loda-programs | 11 | 84736 | ; A010811: 23rd powers: a(n) = n^23.
; 0,1,8388608,94143178827,70368744177664,11920928955078125,789730223053602816,27368747340080916343,590295810358705651712,8862938119652501095929,100000000000000000000000,895430243255237372246531,6624737266949237011120128,41753905413413116367045797,229585692886981495482220544,11222741... |
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_21829_1200.asm | ljhsiun2/medusa | 9 | 177738 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1cc30, %rsi
lea addresses_normal_ht+0x1a630, %rdi
nop
nop
nop
nop
inc %rbp
mov $101, %rcx
rep movsq
nop
nop
nop
cmp %r14, %r14
lea addresses_A_ht+0x15fb0, %rsi
lea addresses_WT_ht+0xe73... |
oeis/021/A021079.asm | neoneye/loda-programs | 11 | 86860 | <gh_stars>10-100
; A021079: Expansion of 1/((1-x)(1-2x)(1-4x)(1-7x)).
; Submitted by <NAME>
; 1,14,133,1086,8253,60438,433861,3080462,21737485,152860422,1072817109,7520900478,52691034397,369016181366,2583829064677,18089666698734,126639120006189,886519652765670,6205820820773365,43441478752116830,304093283293728061,21286... |
comments.g4 | TheWrightGuy/UDG_YHack_2019 | 0 | 6590 | grammar comments;
ID : [a-z]A-Z+[a-z0-9A-Z ]* ; // match lower-case identifiers
WS : [ \r\n]+ -> skip ; // skip spaces, tabs, newlines
//NC : [a-zA-Z]+;
PARAM : '\t@param';
NAME : '\t@name';
AUTHOR : '\t@author';
RET : '\t@beturns';
program: feature_list;
feature_list... |
trabalho04/src/main/antlr4/com/mycompany/trabalho04/gramatica.g4 | caiosales35/LinguagemPortfolio | 0 | 5585 | <filename>trabalho04/src/main/antlr4/com/mycompany/trabalho04/gramatica.g4
grammar gramatica;
/* Iniciamos com palavras e simbolos reservados da linguagem; assim como
numeros inteiros/reais, condições para cadeias de
caracteres, comentarios, entre outros. */
/* Declarações apos a palavra "fragment" não geram t... |
appendix/tjson.g4 | komsomolskinari/tenshin.js | 17 | 1529 | <reponame>komsomolskinari/tenshin.js<filename>appendix/tjson.g4
grammar tjson;
tjson: value;
pair: STRING ('=>' | ':') value;
obj: '%[' ( pair (',' pair)*)? ']';
array: '[' ( value (',' value)*)? ']';
value: STRING | obj | array;
STRING: STRINGD | STRINGS | SPSTRING;
STRINGD: '"' .? '"';
STRINGS: '\'' .? '\'';
SPSTRIN... |
Transynther/x86/_processed/NONE/_ht_st_zr_un_/i7-7700_9_0x48.log_21829_1544.asm | ljhsiun2/medusa | 9 | 1254 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %rax
push %rbx
push %rcx
lea addresses_WT_ht+0x1523c, %r8
nop
nop
nop
nop
dec %r13
mov (%r8), %eax
nop
nop
nop
nop
nop
and %rcx, %rcx
lea addresses_UC_ht+0x78bc, %r12
clflush (%r12)
nop
nop
nop
nop
nop
and $41751, %rbx
movb $0x61, ... |
wayland_client_ada/src/wayland-api.ads | onox/wayland-ada | 5 | 21790 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2018 - 2019 <NAME> <<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/LICE... |
src/DSession.agda | peterthiemann/definitional-session | 9 | 12670 | <reponame>peterthiemann/definitional-session
module DSession where
open import Data.Bool
open import Data.Fin
open import Data.Empty
open import Data.List
open import Data.List.All
open import Data.Maybe hiding (All)
open import Data.Nat
open import Data.Product
open import Data.Sum
open import Data.Unit
open import F... |
programs/oeis/007/A007401.asm | neoneye/loda | 22 | 241188 | ; A007401: Add n-1 to n-th term of 'n appears n times' sequence (A002024).
; 1,3,4,6,7,8,10,11,12,13,15,16,17,18,19,21,22,23,24,25,26,28,29,30,31,32,33,34,36,37,38,39,40,41,42,43,45,46,47,48,49,50,51,52,53,55,56,57,58,59,60,61,62,63,64,66,67,68,69,70,71,72,73,74,75,76,78,79,80,81,82,83,84,85,86,87,88,89,91,92,93,94,95,... |
core.agda | hazelgrove/hazel-palette-agda | 4 | 9388 | <filename>core.agda
open import Nat
open import Prelude
open import List
open import contexts
module core where
-- types
data typ : Set where
b : typ
⦇·⦈ : typ
_==>_ : typ → typ → typ
_⊗_ : typ → typ → typ
-- arrow type constructors bind very tightly
infixr 25 _==>_
infixr 25 _⊗_
... |
src/asm/HelloWorld/HelloWorld.asm | fourstix/1802PixieVideoTTY | 1 | 80900 | <filename>src/asm/HelloWorld/HelloWorld.asm
; *******************************************************************************************
; HelloWorld - Write a message to the display using PutChar function
;
; Copyright (c) 2020 by <NAME>
;
; ****************************************************************************... |
CombinatoryLogic/Forest.agda | splintah/combinatory-logic | 1 | 10386 | module CombinatoryLogic.Forest where
open import Data.Product using (_,_)
open import Function using (_$_)
open import Mockingbird.Forest using (Forest)
open import CombinatoryLogic.Equality as Equality using (isEquivalence; cong)
open import CombinatoryLogic.Semantics as ⊢ using (_≈_)
open import CombinatoryLogic.Sy... |
chapter04/boot.asm | 12Tall/os | 0 | 176693 | <gh_stars>0
%include "FAT12.inc"
org 07c00h
FAT12Header LABEL_START, "12tall ", "VolLabel_11"
LABEL_START:
mov ax, cs
mov ds, ax
mov es, ax
Call DispStr ; 调用显示字符串例程
jmp $ ; 无限循环
DispStr:
mov ax, BootMessage
mov bp, ax ; ES:BP = 串地址
mov cx, 16 ; CX = 串长度
mov ax, 01301h ; AH = 13, AL = 01h
mov b... |
src/firmware-tests/Platform/Lcd/PutCharacters/PutCharacterTest.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 163483 | #include "Platform.inc"
#include "FarCalls.inc"
#include "Lcd.inc"
radix decimal
PutCharacterTest code
global testAct
testAct:
fcall putCharacter
return
end
|
misc/sram.asm | daid/rgbds-by-example | 11 | 14593 | <reponame>daid/rgbds-by-example<filename>misc/sram.asm
INCLUDE "hardware.inc"
SECTION "sram", SRAM
; Create a 1 byte variable
sByteVariable::
ds 1
; Create a 2 byte variable
sWordVariable::
ds 2
; Create a 16 byte buffer
sBuffer::
ds 16
.end::
SECTION "entry", ROM0[$100]
jp start
SECTION "cart_type", ROM0... |
Sources/Library/vectors_2d_n.ads | ForYouEyesOnly/Space-Convoy | 1 | 17544 | --
-- Jan & <NAME>, Australia, July 2011
--
with Vectors_xD_I; pragma Elaborate_All (Vectors_xD_I);
package Vectors_2D_N is
type xy_Coordinates is (x, y);
package Vectors_2Di is new Vectors_xD_I (Natural, xy_Coordinates);
subtype Vector_2D_N is Vectors_2Di.Vector_xD_I;
Zero_Vector_2D_N : constant Vect... |
programs/oeis/236/A236182.asm | jmorken/loda | 1 | 246433 | ; A236182: Sum of the sixth powers of the first n primes.
; 64,793,16418,134067,1905628,6732437,30870006,77915887,225951776,820775097,1708278778,4274005187,9024109428,15345472477,26124687806,48289048935,90469582576,141989956937,232448339106,360548623027,511882849316,754970304837,1081910678206,1578891969167,241186397409... |
examples/example2.asm | alshapton/Pyntel4004-CLI | 0 | 244017 | <reponame>alshapton/Pyntel4004-CLI
/ Example program
org rom
fff, = 9
ldm 2
ldm fff
fim 0p 180
src 0p
lbl, ldm 15
end
|
src/browserbox/clientInstall/addLocalMac.applescript | andypohl/kent | 171 | 2098 | <gh_stars>100-1000
# UCSC Browserbox install helper script
display dialog "UCSC Browserbox network config helper: This program adds an entry 'ucsc.local' to your network configuration (/etc/hosts) and directs port 1234 to it. To do this, you will need the adminstrator password"
do shell script "if grep -q ucsc.local /e... |
oeis/234/A234648.asm | neoneye/loda-programs | 11 | 175709 | ; A234648: Even sums of 2 consecutive odious numbers (A000069).
; Submitted by <NAME>
; 6,24,30,40,54,72,86,96,102,120,126,136,150,160,166,184,198,216,222,232,246,264,278,288,294,312,326,344,350,360,374,384,390,408,414,424,438,456,470,480,486,504,510,520,534,544,550,568,582,600,606,616,630,640,646,664,670,680,694,712,7... |
src/fltk-images-pixmaps.adb | micahwelf/FLTK-Ada | 1 | 17047 | <reponame>micahwelf/FLTK-Ada
with
Interfaces.C,
System;
use type
System.Address;
package body FLTK.Images.Pixmaps is
procedure free_fl_pixmap
(I : in System.Address);
pragma Import (C, free_fl_pixmap, "free_fl_pixmap");
pragma Inline (free_fl_pixmap);
function fl_pixmap_... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1712.asm | ljhsiun2/medusa | 9 | 99276 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1712.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r14
push %r8
push %rbx
push %rcx
// Faulty Load
lea addresses_PSE+0x1d241, %r11
clflush (%r11)
nop
nop
nop
nop
de... |
oeis/309/A309874.asm | neoneye/loda-programs | 11 | 165478 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A309874: a(n) = 2*n*Fibonacci(n-2) + (-1)^n + 1.
; Submitted by <NAME>
; 2,6,10,20,38,70,130,234,422,748,1322,2314,4034,6990,12066,20740,35534,60686,103362,175602,297662,503516,850130,1432850,2411138,4051350,6798010,11392244,19068662,31882198,53250562,88853754,148125014... |
old/dlc4/test/test1.asm | icefoxen/finished-dumblang | 0 | 95301 | <gh_stars>0
extern printIntC
extern printCharC
extern printNLC
global returnStuff
global isGreaterThan5
global isGreaterThan10
global addNums
global max
global recFact
global iterFact
global fib
global silliness
global main
; Start functionreturnStuff
returnStuff:
sub esp, 0x4
mov [esp], ebp
mov ebp, esp
... |
projects/batfish/src/main/antlr4/org/batfish/grammar/fortios/Fortios_zone.g4 | yrll/batfish-repair | 0 | 2018 | parser grammar Fortios_zone;
options {
tokenVocab = FortiosLexer;
}
cs_zone: ZONE newline csz_edit*;
csz
:
csz_edit
| csz_rename
;
csz_edit: EDIT zone_name newline csze* NEXT newline;
csz_rename: RENAME current_name = zone_name TO new_name = zone_name newline;
csze
:
(
SET (csz_set_singleton... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/r12.adb | best08618/asylo | 7 | 27232 | <reponame>best08618/asylo
-- { dg-do run }
with Init12; use Init12;
with Text_IO; use Text_IO;
with Dump;
procedure R12 is
function Get_Elem (A : Arr1) return Integer is
Tmp : Arr1 := A;
begin
return Tmp(1);
end;
procedure Set_Elem (A : access Arr1; I : Integer) is
Tmp : Arr1 := A.all;
begin
... |
lab01/xv6-master/wait_one.asm | ahchu1993/opsys | 0 | 25004 | <filename>lab01/xv6-master/wait_one.asm
_wait_one: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "fcntl.h"
#include "syscall.h"
#include "traps.h"
#include "memlayout.h"
int main(int argc, char ** argv){
0: 55 push %ebp
1: 89 e5 mov ... |
test/Fail/Issue3147.agda | shlevy/agda | 1,989 | 14299 | -- Andreas, 2018-06-30, issue #3147 reported by bafain
-- Pattern linearity ignored for as-patterns
-- {-# OPTIONS -v tc.lhs.top:30 #-}
-- {-# OPTIONS -v tc.lhs.linear:100 #-}
open import Agda.Builtin.Equality
open import Agda.Builtin.Nat
f : Nat → Nat
f zero = zero
f x@(suc x) = x -- rhs context:
... |
Src/debug.asm | slowcorners/Minimal-FORTH | 1 | 174686 | ; ----------------------------------------------------------------------
; TEMP DEBUG FUNCTIONS FOR BRINGING UP THE SYSTEM
;
DBG: DB 0
OUTC: DB 0
_LNYB: LDA OUTC
LSL
LSL
LSL
LSL
JPA _HNYB1
_HNYB: LDA OUTC
_HNYB1: LSR
LSR
LSR
... |
tests/tcl-lists-test_data-tests.adb | thindil/tashy2 | 2 | 5808 | <filename>tests/tcl-lists-test_data-tests.adb
-- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-... |
agda-stdlib/src/Data/Word/Properties.agda | DreamLinuxer/popl21-artifact | 5 | 14346 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties of operations on machine words
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Word.Properties where
import Data.Nat.Base as ℕ... |
src/Leftovers/Equality.agda | JoeyEremondi/AgdaLeftovers | 0 | 15344 | <reponame>JoeyEremondi/AgdaLeftovers<gh_stars>0
{-# OPTIONS --without-K -v 2 #-}
module Leftovers.Equality where
open import Leftovers.Utils
-- open import Leftovers.Leftovers
import Level as Level
-- open import Reflection
open import Reflection.Term
open import Reflection.Pattern as P
open import Reflection.TypeCh... |
oeis/269/A269788.asm | neoneye/loda-programs | 11 | 245862 | ; A269788: Primes p such that 2*p + 47 is a square.
; Submitted by <NAME>
; 17,37,61,89,157,197,241,397,457,521,661,1277,1381,1489,1601,2089,2221,2357,2789,3257,3761,4877,5077,5281,5701,6361,7057,7297,7541,7789,8297,8821,10781,11681,12301,13921,15289,15641,17837,18217,19381,19777,20177,21401
mov $1,10
mov $2,332202
lp... |
Library/Config/Pref/prefInitFile.asm | steakknife/pcgeos | 504 | 172337 | <filename>Library/Config/Pref/prefInitFile.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: prefInitFile.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTO... |
test/Fail/Issue2291-instance.agda | shlevy/agda | 1,989 | 4986 | <filename>test/Fail/Issue2291-instance.agda
-- Andreas, 2016-11-03, issue #2291 reported by Aerate
test = let {{_}} = _ in _
-- WAS: Internal error
-- NOW: Could not parse the left-hand side {{_}}
|
Src/serial.adb | SMerrony/dashera | 23 | 14157 | <reponame>SMerrony/dashera
-- Copyright ©2022 <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, ... |
doc/icfp20/code/Music.agda | halfaya/MusicTools | 28 | 6373 | <filename>doc/icfp20/code/Music.agda
{-# OPTIONS --without-K #-}
module Music where
open import Data.Nat using (ℕ; zero; suc; _+_; _*_)
open import Data.Integer using (ℤ; +_)
open import Data.List using (List; foldr; []; _∷_; reverse)
open import Data.Product using (_×_; _,_)
open import Data.Vec using (Ve... |
alloy4fun_models/trashltl/models/5/aWtAqSiuqfnLAardw.als | Kaixi26/org.alloytools.alloy | 0 | 938 | <filename>alloy4fun_models/trashltl/models/5/aWtAqSiuqfnLAardw.als
open main
pred idaWtAqSiuqfnLAardw_prop6 {
eventually always some Trash
}
pred __repair { idaWtAqSiuqfnLAardw_prop6 }
check __repair { idaWtAqSiuqfnLAardw_prop6 <=> prop6o } |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_832.asm | ljhsiun2/medusa | 9 | 178761 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x13ad0, %rsi
lea addresses_A_ht+0xb010, %rdi
nop
nop
nop
dec %rbp
mov $3, %rcx
rep movsq
nop
nop
nop
nop
nop
add $23731, %r13
lea addresses_WC_ht+... |
Numeral/Natural/Prime/Proofs/Representation.agda | Lolirofle/stuff-in-agda | 6 | 6178 | module Numeral.Natural.Prime.Proofs.Representation where
import Lvl
open import Data.Either as Either using ()
open import Data.Tuple as Tuple using ()
open import Functional
open import Function.Equals
open import Lang.Instance
open import Logic.Predicate
open import Logic.Propositional
open import Numeral.Coord... |
programs/oeis/184/A184009.asm | karttu/loda | 1 | 91150 | <filename>programs/oeis/184/A184009.asm
; A184009: n-1+ceiling((3/4)n^2); complement of A184008.
; 1,3,6,10,15,21,27,35,43,52,62,73,85,97,111,125,140,156,173,191,209,229,249,270,292,315,339,363,389,415,442,470,499,529,559,591,623,656,690,725,761,797,835,873,912,952,993,1035,1077,1121,1165,1210,1256,1303,1351,1399,1449,... |
extern/gnat_sdl/gnat_sdl/src/basetsd_h.ads | AdaCore/training_material | 15 | 24017 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Strings;
with Interfaces.C.Extensions;
with System;
package basetsd_h is
-- unsupported macro: SPOINTER_32 POINTER_SIGNED POINTER_32
-- unsupported macro: UPOINTER_32 POINTER_UNSIGNED POINTER_32
ADDRESS_TAG... |
src/fot/FOTC/Program/SortList/Properties/Totality/TreeATP.agda | asr/fotc | 11 | 6619 | ------------------------------------------------------------------------------
-- Totality properties respect to Tree
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphi... |
oeis/335/A335749.asm | neoneye/loda-programs | 11 | 11904 | <reponame>neoneye/loda-programs<filename>oeis/335/A335749.asm
; A335749: a(n) = n!*[x^n] exp(2*x)*(y*sinh(x*y) + cosh(x*y)) and y = sqrt(6).
; Submitted by <NAME>(s3)
; 1,8,34,152,676,3008,13384,59552,264976,1179008,5245984,23341952,103859776,462123008,2056211584,9149092352,40708792576,181133355008,805951005184,3586070... |
programs/oeis/034/A034007.asm | karttu/loda | 0 | 245576 | <reponame>karttu/loda<filename>programs/oeis/034/A034007.asm<gh_stars>0
; A034007: First differences of A045891.
; 1,0,2,4,9,20,44,96,208,448,960,2048,4352,9216,19456,40960,86016,180224,376832,786432,1638400,3407872,7077888,14680064,30408704,62914560,130023424,268435456,553648128,1140850688,2348810240,4831838208,993211... |
src/rosa/rosa-tasks.ads | kisom/rover-mk1 | 0 | 6690 | with Interfaces;
use Interfaces;
package ROSA.Tasks is
type States is (Running, Suspended, Waiting, Ready);
type Task_Status is (OK,
Not_Ready,
Not_Running);
type Tasking is private;
-- Initialise a new tasking structure.
procedure Create (Task_ID, Priority : in Unsigned_8; t : out Taski... |
ciphers/RSA.asm | FloydZ/Crypto-Hash | 11 | 100964 | <gh_stars>10-100
RSAKeyGen PROTO keySize:DWORD, pKey:DWORD, pupKey:DWORD, p:DWORD, q:DWORD, n:DWORD
RSAEncode PROTO pKey:DWORD, _n:DWORD, _m:DWORD, _c:DWORD
RSADecode PROTO e:DWORD, n:DWORD, _c:DWORD, m:DWORD
.code
RSAKeyGen proc keySize:DWORD, e:DWORD, d:DWORD, p:DWORD, q:DWORD, n:DWORD
LOCAL phi
mov eax, keySiz... |
source/s-stelfo.ads | ytomino/drake | 33 | 1612 | pragma License (Unrestricted);
-- extended unit
package System.Storage_Elements.Formatting is
-- The formatting functions Image and Value for System.Address.
pragma Pure;
subtype Address_String is String (1 .. (Standard'Address_Size + 3) / 4);
function Image (Value : Address) return Address_String;
f... |
state/idioms_for_state_transition.als | nowavailable/alloy_als_study | 0 | 2540 | module main
// Boundaryは、何らかの1次元の位置、つまり何らかの値を表す。
sig Boundary { val: one Int }
sig Entity {
some_field: one Boundary,
// 状態変化を表現することを目的に付加したフィールド
meta_identifier: one Int,
meta_state: one Int
}
fact {
/** meta_state は、-1か0しかない。つまり、事前と事後。*/
all e:Entity | e.meta_state = 0 or e.meta_state = -1
/**
I... |
oeis/158/A158551.asm | neoneye/loda-programs | 11 | 95403 | <reponame>neoneye/loda-programs
; A158551: a(n) = 26*n^2 - 1.
; Submitted by <NAME>
; 25,103,233,415,649,935,1273,1663,2105,2599,3145,3743,4393,5095,5849,6655,7513,8423,9385,10399,11465,12583,13753,14975,16249,17575,18953,20383,21865,23399,24985,26623,28313,30055,31849,33695,35593,37543,39545,41599,43705,45863,48073,50... |
antlr-editing-plugins/antlr-file-support/src/main/resources/org/nemesis/antlr/file/AntlrSample.g4 | timboudreau/ANTLR4-Plugins-for-NetBeans | 1 | 1414 | /*
* A license comment
*/
grammar AntlrSample;
@lexer::members { private void logStatus(String msg) {
System.out.println(msg + " mode " + modeNames[_mode] ": " + _input.getText(new Interval(_tokenStartCharIndex, _input.index()))); }
}}
// Handle several kinds of timestamp
timestampDecl : ( def? Colon ts=Timesta... |
agda-stdlib-0.9/src/Data/Integer/Multiplication/Properties.agda | qwe2/try-agda | 1 | 15091 | <filename>agda-stdlib-0.9/src/Data/Integer/Multiplication/Properties.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties related to multiplication of integers
------------------------------------------------------------------------
module Data.Int... |
core/lib/groups/Groups.agda | cmknapp/HoTT-Agda | 0 | 3449 |
{-# OPTIONS --without-K #-}
module lib.groups.Groups where
open import lib.groups.Homomorphisms public
open import lib.groups.Lift public
open import lib.groups.Unit public
open import lib.groups.PropSubgroup public
open import lib.groups.GroupProduct public
open import lib.groups.PullbackGroup public
open import li... |
programs/oeis/216/A216195.asm | karttu/loda | 0 | 245089 | <gh_stars>0
; A216195: Abelian complexity function of the period-doubling sequence (A096268).
; 2,2,3,2,3,3,3,2,3,3,4,3,4,3,3,2,3,3,4,3,4,4,4,3,4,4,4,3,4,3,3,2,3,3,4,3,4,4,4,3,4,4,5,4,5,4,4,3,4,4,5,4,5,4,4,3,4,4,4,3,4,3,3,2,3,3,4,3,4,4,4,3,4,4,5,4,5,4,4,3,4,4,5,4,5,5,5,4,5,5,5,4,5,4,4,3,4,4,5,4,5,5,5,4,5,5,5,4,5,4,4,3,... |
test/Fail/SyntaxForOperators.agda | cruhland/agda | 1,989 | 12348 | module SyntaxForOperators where
postulate _+_ : Set → Set → Set
syntax _+_ A B = A ⊎ B
|
oeis/196/A196532.asm | neoneye/loda-programs | 11 | 105365 | ; A196532: a(n) = (n+1)!*(H(n)+H(n+1)), where H(n) = Sum_{k=1..n} 1/k is the n-th harmonic number.
; Submitted by <NAME>
; 1,5,20,94,524,3408,25416,214128,2012832,20894400,237458880,2932968960,39126516480,560704273920,8591147712000,140160890419200,2425888391270400,44398288688947200,856727919929548800,173842509731143680... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/trunc_fastcall.asm | meesokim/z88dk | 0 | 22656 |
SECTION code_fp_math48
PUBLIC _trunc_fastcall
EXTERN cm48_sdccix_trunc_fastcall
defc _trunc_fastcall = cm48_sdccix_trunc_fastcall
|
Cubical/Data/Empty.agda | limemloh/cubical | 1 | 13203 | <gh_stars>1-10
{-# OPTIONS --cubical --safe #-}
module Cubical.Data.Empty where
open import Cubical.Data.Empty.Base public
open import Cubical.Data.Empty.Properties public
|
oeis/232/A232970.asm | neoneye/loda-programs | 11 | 8073 | ; A232970: Expansion of (1-3*x)/(1-5*x+3*x^2+x^3).
; Submitted by <NAME>(s1)
; 1,2,7,28,117,494,2091,8856,37513,158906,673135,2851444,12078909,51167078,216747219,918155952,3889371025,16475640050,69791931223,295643364940,1252365390981,5305104928862,22472785106427,95196245354568,403257766524697,1708227311453354,723616701... |
source/nls/a-envenc.adb | ytomino/drake | 33 | 10041 | <filename>source/nls/a-envenc.adb
package body Ada.Environment_Encoding is
-- implementation
function Is_Open (Object : Converter) return Boolean is
N_Object : System.Native_Environment_Encoding.Converter
renames Controlled.Reference (Object).all;
begin
return System.Native_Environment_... |
solutions/12 - Unzip/size-8_speed-7.asm | behrmann/7billionhumans | 45 | 95732 | -- 7 Billion Humans (2053) --
-- 12: Unzip --
-- Author: soerface
-- Size: 8
-- Speed: 7
comment 2
pickup c
a:
if nw == worker:
step s
drop
endif
if sw == worker or
w == wall:
step n
drop
endif
jump a
|
src/fsmaker-commands.ads | Fabien-Chouteau/fsmaker | 0 | 3187 | with CLIC.Subcommand;
private with Ada.Text_IO;
private with GNAT.OS_Lib;
private with CLIC.Subcommand.Instance;
private with CLIC.TTY;
private with FSmaker.Target;
package FSmaker.Commands is
procedure Set_Global_Switches
(Config : in out CLIC.Subcommand.Switches_Configuration);
procedure Execute;
f... |
Transynther/x86/_processed/AVXALIGN/_zr_un_/i7-7700_9_0x48_notsx.log_21829_1787.asm | ljhsiun2/medusa | 9 | 82355 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r14
push %r15
push %r8
push %rcx
push %rdi
// Store
lea addresses_WT+0x701e, %rdi
nop
cmp $24247, %r14
mov $0x5152535455565758, %r10
movq %r10, %xmm3
movups %xmm3, (%rdi)
nop
n... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_21829_742.asm | ljhsiun2/medusa | 9 | 25629 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_21829_742.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x17f9, %rdx
nop
nop
add $31211, %r9
mov $0x6162636465666768, %rbp
movq %rbp... |
Projects/PJZ2/Template/SectionData_PublicData.asm | jonathanbennett73/amiga-pjz-planet-disco-balls | 21 | 247046 | <reponame>jonathanbennett73/amiga-pjz-planet-disco-balls<filename>Projects/PJZ2/Template/SectionData_PublicData.asm
*****************************************************************************
* Included at the end of the code section (for (pc) data)
********************************************************************... |
libsrc/_DEVELOPMENT/adt/p_forward_list_alt/c/sdcc_iy/p_forward_list_alt_pop_front_fastcall.asm | meesokim/z88dk | 0 | 15161 | <filename>libsrc/_DEVELOPMENT/adt/p_forward_list_alt/c/sdcc_iy/p_forward_list_alt_pop_front_fastcall.asm
; void *p_forward_list_alt_pop_front_fastcall(p_forward_list_alt_t *list)
SECTION code_adt_p_forward_list_alt
PUBLIC _p_forward_list_alt_pop_front_fastcall
_p_forward_list_alt_pop_front_fastcall:
INCLUDE "ad... |
programs/oeis/007/A007423.asm | jmorken/loda | 1 | 29069 | ; A007423: mu(n) + 1, where mu is the Moebius function.
; 2,0,0,1,0,2,0,1,1,2,0,1,0,2,2,1,0,1,0,1,2,2,0,1,1,2,1,1,0,0,0,1,2,2,2,1,0,2,2,1,0,0,0,1,1,2,0,1,1,1,2,1,0,1,2,1,2,2,0,1,0,2,1,1,2,0,0,1,2,0,0,1,0,2,1,1,2,0,0,1,1,2,0,1,2,2,2,1,0,1,2,1,2,2,2,1,0,1,1,1,0,0,0,1,0,2,0,1,0,0,2,1,0,0,2,1,1,2,2,1,1,2,2,1,1,1,0,1,2,0,0,... |
programs/oeis/130/A130258.asm | jmorken/loda | 1 | 84335 | ; A130258: Partial sums of the 'upper' odd Fibonacci Inverse A130256.
; 0,0,2,5,8,11,15,19,23,27,31,35,39,43,48,53,58,63,68,73,78,83,88,93,98,103,108,113,118,123,128,133,138,143,148,154,160,166,172,178,184,190,196,202,208,214,220,226,232,238,244,250,256,262,268,274,280,286,292,298,304,310,316,322,328,334,340,346,352,35... |
programs/oeis/000/A000069.asm | neoneye/loda | 22 | 162533 | <filename>programs/oeis/000/A000069.asm
; A000069: Odious numbers: numbers with an odd number of 1's in their binary expansion.
; 1,2,4,7,8,11,13,14,16,19,21,22,25,26,28,31,32,35,37,38,41,42,44,47,49,50,52,55,56,59,61,62,64,67,69,70,73,74,76,79,81,82,84,87,88,91,93,94,97,98,100,103,104,107,109,110,112,115,117,118,121,1... |
programs/oeis/181/A181829.asm | neoneye/loda | 22 | 7724 | <filename>programs/oeis/181/A181829.asm
; A181829: a(n) = 4*A060819(n-2)*A060819(n+2).
; 0,-12,-4,-12,0,20,12,84,8,180,60,308,24,468,140,660,48,884,252,1140,80,1428,396,1748,120,2100,572,2484,168,2900,780,3348,224,3828,1020,4340,288,4884,1292,5460,360,6068,1596,6708,440,7380,1932,8084,528,8820,2300,9588,624,10388,2700,... |
libsrc/games/bit_click_mwr.asm | andydansby/z88dk-mk2 | 1 | 12904 | ; $Id: bit_click_mwr.asm,v 1.1 2008/03/31 17:16:18 stefano Exp $
;
; 1 bit sound library - version for "memory write" I/O architectures
;
; void bit_click();
;
; <NAME> - 31/03/2008
;
XLIB bit_click
INCLUDE "games/games.inc"
XREF snd_tick
.bit_click
ld a,(snd_tick)
xor snd... |
alloy4fun_models/trainstlt/models/2/mv6EtA6mkL4H6pY8R.als | Kaixi26/org.alloytools.alloy | 0 | 2581 | open main
pred idmv6EtA6mkL4H6pY8R_prop3 {
Train.pos' =Train.pos
}
pred __repair { idmv6EtA6mkL4H6pY8R_prop3 }
check __repair { idmv6EtA6mkL4H6pY8R_prop3 <=> prop3o } |
programs/oeis/214/A214392.asm | jmorken/loda | 1 | 247385 | ; A214392: If n mod 4 = 0 then a(n) = n/4, otherwise a(n) = n.
; 0,1,2,3,1,5,6,7,2,9,10,11,3,13,14,15,4,17,18,19,5,21,22,23,6,25,26,27,7,29,30,31,8,33,34,35,9,37,38,39,10,41,42,43,11,45,46,47,12,49,50,51,13,53,54,55,14,57,58,59,15,61,62,63,16,65,66,67,17,69,70,71,18,73,74,75,19,77,78,79,20,81,82,83,21,85,86,87,22,89,90... |
3-mid/impact/source/3d/collision/shapes/impact-d3-material.ads | charlie5/lace | 20 | 10363 | <filename>3-mid/impact/source/3d/collision/shapes/impact-d3-material.ads
package impact.d3.Material
--
-- Material class to be used by btMultimaterialTriangleMeshShape to store triangle properties.
--
-- Has public members so that materials can change due to world events.
--
is
type Item is
record
... |
app/test.agda | semenov-vladyslav/cry-agda | 0 | 8244 | <reponame>semenov-vladyslav/cry-agda
module test where
open import cry.gfp
open import cry.ec
{-
-- open import IO.Primitive
-- open import Foreign.Haskell
open import Agda.Builtin.List using (List; []; _∷_)
open import Agda.Builtin.Char using (Char) renaming (primCharToNat to toNat)
open import Agda.Builtin.String ... |
test/Fail/Issue610-4.agda | redfish64/autonomic-agda | 3 | 5116 | -- Andreas, 2012-04-18, bug reported by sanzhiyan
-- {-# OPTIONS -v tc.with:100 #-}
module Issue610-4 where
import Common.Level
open import Common.Equality
data ⊥ : Set where
record ⊤ : Set where
record A : Set₁ where
constructor set
field
.a : Set
.ack : A → Set
ack x = A.a x
hah : set ⊤ ≡ set ⊥
hah = ref... |
src/Bisimilarity.agda | nad/up-to | 0 | 8479 | ------------------------------------------------------------------------
-- A coinductive definition of (strong) bisimilarity
------------------------------------------------------------------------
{-# OPTIONS --sized-types #-}
open import Labelled-transition-system
module Bisimilarity {ℓ} (lts : LTS ℓ) where
open... |
src/cpu/modes.asm | InsaneMiner/tinyvale | 11 | 89771 | <filename>src/cpu/modes.asm
; BSD 3-Clause License
; Copyright (c) 2021, AtieP
; All rights reserved.
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
; 1. Redistributions of source code must retain the above copyright ... |
FormalAnalyzer/models/meta/cap_airQualitySensor.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 1688 |
// filename: cap_airQualitySensor.als
module cap_airQualitySensor
open IoTBottomUp
one sig cap_airQualitySensor extends Capability {}
{
attributes = cap_airQualitySensor_attr
}
abstract sig cap_airQualitySensor_attr extends Attribute {}
one sig cap_airQualitySensor_attr_airQuality extends cap_airQualitySensor_attr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.