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
programs/oeis/083/A083330.asm
jmorken/loda
1
6811
<gh_stars>1-10 ; A083330: a(n) = (3*4^n - 2*3^n + 2^n)/2. ; 1,4,17,73,311,1309,5447,22453,91871,373789,1514327,6115333,24636431,99073069,397878407,1596280213,6399436991,25640729149,102691925687,411154861093,1645781181551,6586610462029,26356900104167 mov $1,1 mov $3,6 lpb $0 sub $0,1 add $4,$3 mov $2,$4 mul $2,...
AKVIDE v 0.2/Templates/NASM/Demo.asm
KvanTTT/Draft-Projects
0
96800
<gh_stars>0 org 100h segment .text ;--------------------------------------------------------------------------------- ; insert code here main: mov dx, s mov ah, 9 int 21h mov ah, 10h int 16h call quit quit: mov AX, 4C00H int 21h ret ;------------------------------------------------------------------...
Cubical/HITs/GroupoidTruncation.agda
dan-iel-lee/cubical
0
13172
<reponame>dan-iel-lee/cubical {-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.HITs.GroupoidTruncation where open import Cubical.HITs.GroupoidTruncation.Base public open import Cubical.HITs.GroupoidTruncation.Properties public
setup.scpt
nafeu/nafoodle.io
1
3160
<reponame>nafeu/nafoodle.io tell application "iTerm2" tell current window create tab with profile "default" end tell tell first session of current tab of current window write text "cd ~/Development/github/nafoodle.io && subl ." write text "subl $(git diff --name-only HEAD~ HEAD)" write text "less...
trie.agda
rfindler/ial
29
3676
<gh_stars>10-100 module trie where open import string open import maybe open import trie-core public open import empty trie-lookup : ∀{A : Set} → trie A → string → maybe A trie-lookup t s = trie-lookup-h t (string-to-𝕃char s) trie-insert : ∀{A : Set} → trie A → string → A → trie A trie-insert t s x = trie-insert-h ...
src/tests/ascon128_demo.adb
jhumphry/Ascon_SPARK
1
9202
<filename>src/tests/ascon128_demo.adb -- Ascon_Demo -- Copyright (c) 2016-2018, <NAME> - see LICENSE file for details with Ada.Text_IO; use Ada.Text_IO; with System.Storage_Elements; use System.Storage_Elements; with Ascon.Utils; with Ascon128v12; use Ascon128v12; procedure Ascon128_Demo is package Ascon128v12...
json/src/tools/pretty_print.adb
onox/json-ada
28
14373
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2020 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 -...
CS61/cs61_labs/lab-5-Kuzame/lab05_ex1.asm
Kuzame/CS61
1
178997
;================================================= ; Name: <NAME> ; Email: <EMAIL> ; ; Lab: lab 4 ; Lab section: 24 ; TA: <NAME> ; ;================================================= .orig x3000 ;------------ ;Instruction ;------------ LD R2, ptr LD R3, start LD R4, size Loop ; STR R3, R2, #0 AD...
oeis/205/A205249.asm
neoneye/loda-programs
11
172773
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A205249: Number of (n+1) X 3 0..1 arrays with the number of clockwise edge increases in every 2 X 2 subblock the same. ; 40,168,752,3416,15568,71000,323856,1477272,6738640,30738648,140215952,639602456,2917580368,13308696920,60708323856,276924225432,1263204479440,5762173...
src/camera/pixy/src/misc/gcc/m0/Release/frame_m0.asm
wowHollis/SmartCart
0
167850
1 .syntax unified 2 .cpu cortex-m0 3 .fpu softvfp 4 .eabi_attribute 20, 1 5 .eabi_attribute 21, 1 6 .eabi_attribute 23, 3 7 .eabi_attribute 24, 1 8 .eabi_attribute 25, 1 9 ...
source/directories/a-direct.adb
ytomino/drake
33
4141
<filename>source/directories/a-direct.adb with Ada.Calendar.Naked; with Ada.Unchecked_Conversion; with Ada.Unchecked_Deallocation; with System.Form_Parameters; with System.Storage_Elements; package body Ada.Directories is use type System.Native_Directories.File_Kind; use type System.Native_Directories.Searching.H...
8088/cga/levels/levels.asm
reenigne/reenigne
92
81745
<filename>8088/cga/levels/levels.asm %include "../../defaults_bin.asm" mov ax,4 int 0x10 mov ax,0xb800 mov es,ax xor di,di cld xor ax,ax mov cx,0x2000 rep stosw mov dx,0x3d4 mov ax,0x1000 out dx,ax mov ax,0x1004 out dx,ax mov al,0 loopTop: mov dx,0x3d9 out dx,al push ax mov ...
fnstenv.asm
SYANiDE-/VulnServer
0
98220
<gh_stars>0 section .text global _start _start: ;; https://armoredcode.com/blog/backflip-into-the-stack/ ; EIP into ECX fldz ; Push +0.0 onto the FPU register stack. fnstenv [esp-12] ; If we want to align the information about the EIP ;, to be found at the very beginning of the stack, we ;, kin...
test/Fail/IrrelevantMatchRefl.agda
shlevy/agda
1,989
9845
-- Andreas, 2011-10-04, transcription of <NAME>'s post on the Agda list {-# OPTIONS --experimental-irrelevance #-} module IrrelevantMatchRefl where import Common.Level open import Common.Equality hiding (subst) -- irrelevant subst should be rejected, because it suggests -- that the equality proof is irrelevant also f...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_address2.adb
best08618/asylo
7
22245
-- { dg-do compile } -- { dg-options "-O" } with System, Ada.Unchecked_Conversion; with System.Storage_Elements; use System.Storage_Elements; procedure Loop_Address2 is type Ptr is access all Integer; function To_Ptr is new Ada.Unchecked_Conversion (System.Address, Ptr); function F (BM : System.Address; I : ...
user/nettests.asm
eric-qian-d/TCP
0
163404
<gh_stars>0 user/_nettests: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <decode_qname>: } // Decode a DNS name static void decode_qname(char *qn) { 0: 1141 addi sp,sp,-16 2: e422 sd s0,8(sp) 4: 0800 addi s0,sp,16 while(...
oeis/002/A002383.asm
neoneye/loda-programs
11
175529
; A002383: Primes of form n^2 + n + 1. ; Submitted by <NAME> ; 3,7,13,31,43,73,157,211,241,307,421,463,601,757,1123,1483,1723,2551,2971,3307,3541,3907,4423,4831,5113,5701,6007,6163,6481,8011,8191,9901,10303,11131,12211,12433,13807,14281,17293,19183,20023,20593,21757,22651,23563,24181,26083,26407,27061,28057,28393,30103...
tune/blas/gemm/CASES/objs/ATL_dJIK30x30x30TN30x30x0_a1_b1.asm
kevleyski/math-atlas
0
102823
; Automatically Tuned Linear Algebra Software v3.10.3 ; (C) Copyright 2001 <NAME> ; ; 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 retai...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1155.asm
ljhsiun2/medusa
9
26871
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x6e33, %rcx nop nop sub %r8, %r8 mov (%rcx), %r13w nop nop nop add $45731, %rdx lea addresses_WC_ht+0x194b, %rsi lea addresses_normal_ht+0x11e33, %rdi nop nop nop nop sub %rax...
oeis/321/A321483.asm
neoneye/loda-programs
11
25497
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A321483: a(n) = 7*2^n + (-1)^n. ; Submitted by <NAME>(s4) ; 8,13,29,55,113,223,449,895,1793,3583,7169,14335,28673,57343,114689,229375,458753,917503,1835009,3670015,7340033,14680063,29360129,58720255,117440513,234881023,469762049,939524095,1879048193,3758096383,751619276...
oeis/089/A089581.asm
neoneye/loda-programs
11
160968
; A089581: a(n) = prime(2*n-1)*prime(2*n). ; 6,35,143,323,667,1147,1763,2491,3599,4757,5767,7387,9797,11021,12317,16637,19043,22499,25591,28891,32399,36863,39203,47053,51983,55687,60491,67591,72899,77837,82919,95477,99221,111547,121103,126727,136891,145157,154433,164009,176399,186623,194477,205193,213443,223693,239117,...
Numeral/Natural/Oper/Comparisons.agda
Lolirofle/stuff-in-agda
6
9924
<gh_stars>1-10 module Numeral.Natural.Oper.Comparisons where import Lvl open import Data.Boolean import Data.Boolean.Operators open Data.Boolean.Operators.Programming open import Numeral.Natural open import Numeral.Sign ℕbool : Bool → ℕ ℕbool = if_then 1 else 0 -- Compare _⋚?_ : ℕ → ℕ → (−|0|+) 𝟎 ...
Ada/inc/Problem_64.ads
Tim-Tom/project-euler
0
3303
<filename>Ada/inc/Problem_64.ads package Problem_64 is procedure Solve; end Problem_64;
src/kernel/x86_64/userspace_test.asm
nothotscott/VisualOS
28
93672
<gh_stars>10-100 SECTION .text ALIGN 4096 GLOBAL test_userspace test_userspace: ; Stack test push 0x80 push 0x123 pop rax pop rax cmp rax, 0x80 jne 0x0 ; Text output syscall test mov rax, 1 mov rdi, 1 mov rsi, test_userspace_data1 mov rdx, 17 syscall jmp $ ; Exit syscall test mov rax, 60 mo...
oeis/229/A229968.asm
neoneye/loda-programs
11
15559
; A229968: Numbers not divisible by 3 or 11. ; Submitted by <NAME> ; 1,2,4,5,7,8,10,13,14,16,17,19,20,23,25,26,28,29,31,32,34,35,37,38,40,41,43,46,47,49,50,52,53,56,58,59,61,62,64,65,67,68,70,71,73,74,76,79,80,82,83,85,86,89,91,92,94,95,97,98,100,101,103,104,106,107,109,112,113,115,116,118,119,122,124,125,127,128,130,1...
libsrc/_DEVELOPMENT/adt/b_vector/c/sdcc_iy/b_vector_erase.asm
jpoikela/z88dk
640
90548
<filename>libsrc/_DEVELOPMENT/adt/b_vector/c/sdcc_iy/b_vector_erase.asm ; size_t b_vector_erase(b_vector_t *v, size_t idx) SECTION code_clib SECTION code_adt_b_vector PUBLIC _b_vector_erase EXTERN _b_array_erase defc _b_vector_erase = _b_array_erase
test/python/isolationtest/parser/specParser.g4
faizol/babelfish_extensions
115
39
parser grammar specParser; options {tokenVocab=specLexer;} parse: testspec EOF; testspec : setup* teardown? session+ permutation*; setup: SETUP SQLBLOCK; teardown: TEARDOWN SQLBLOCK; session: SESSION ID setup? step+ teardown?; step: STEP ID SQLBLOCK; pstep: ID (OPEN_BRKT blockers CLOSE_BRKT)?; blockers: (AST | ...
alloy4fun_models/trashltl/models/9/dRzjErqvbqP34t65a.als
Kaixi26/org.alloytools.alloy
0
4518
open main pred iddRzjErqvbqP34t65a_prop10 { always all f:File | f in Protected implies f in Protected } pred __repair { iddRzjErqvbqP34t65a_prop10 } check __repair { iddRzjErqvbqP34t65a_prop10 <=> prop10o }
Final Assignment CSE331/Solution/2.asm
afra-tech/CSE331L-Section-1-Fall20-NSU
0
171819
<reponame>afra-tech/CSE331L-Section-1-Fall20-NSU .MODEL SMALL .STACK 100H OUTPUT MACRO MSG LEA DX,MSG MOV AH,9 INT 21H ENDM INPUT MACRO MOV AH,1 INT 21H ENDM .DATA STRING DB "abcdefghijklmnopqrstuvwx...
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1196.asm
ljhsiun2/medusa
9
15377
<filename>Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1196.asm .global s_prepare_buffers s_prepare_buffers: push %r14 push %rax push %rcx lea addresses_UC_ht+0x1e23c, %r14 nop nop nop nop inc %rcx mov (%r14), %ax nop nop nop nop nop xor $43093, %rcx pop %rcx pop %rax pop %r14 ret .global s_...
Scripts/AppleScript/Start One Hour Timer.applescript
ghartnett/MenubarCountdown
75
1087
-- Start a one hour timer tell application "Menubar Countdown" set hours to 1 set minutes to 0 set seconds to 0 start timer end tell
source/textio/a-teioed.ads
ytomino/drake
33
15030
<reponame>ytomino/drake<gh_stars>10-100 pragma License (Unrestricted); package Ada.Text_IO.Editing is type Picture is private; function Valid ( Pic_String : String; Blank_When_Zero : Boolean := False) return Boolean; function To_Picture ( Pic_String : String; Blank_When_Zero : ...
adamova.asm
hajzer/asm-basic-examples
0
3618
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; Nacitajte z klavesnice retazec znakov ukonceny znakom "noveho ; riadku".Nech slovo je postupnost znakov medzi dvoma ; znakmi"medzera".Urcte pocet slov, v ktorych sucet ASCII kodov ; znakov je vacsi ako 100.Pocet vytlacte desiatkovo. ; ; A...
programs/oeis/155/A155095.asm
neoneye/loda
22
101709
; A155095: Numbers k such that k^2 == -1 (mod 17). ; 4,13,21,30,38,47,55,64,72,81,89,98,106,115,123,132,140,149,157,166,174,183,191,200,208,217,225,234,242,251,259,268,276,285,293,302,310,319,327,336,344,353,361,370,378,387,395,404,412,421,429,438,446,455,463,472,480,489,497,506,514,523,531,540,548,557,565,574,582,591,...
programs/oeis/251/A251758.asm
karttu/loda
1
164020
; A251758: Let n>=2 be a positive integer with divisors 1 = d_1 < d_2 < ... < d_k = n, and s = d_1*d_2 + d_2*d_3 + ... + d_(k-1)*d_k. The sequence lists the values a(n) = floor(n^2/s). ; 2,3,1,5,1,7,1,2,1,11,1,13,1,2,1,17,1,19,1,2,1,23,1,4,1,2,1,29,1,31,1,2,1,4,1,37,1,2,1,41,1,43,1,2,1,47,1,6,1,2,1,53,1,4,1,2,1,59,1,61...
45/runtime/rt/rtseg.asm
minblock/msdos
0
160616
TITLE RTSEG - Segment ordering for the BASIC runtime ;*** ;RTSEG.ASM - Segment ordering for the BASIC runtime ; ; Copyright <C> 1987, Microsoft Corporation ; ;Purpose: ; This module contains the segment ordering for the BASIC ; runtime module. ; ;************************************************************************...
atari/cleanmem/cleanmem.asm
JonathanGzzBen/c-study
0
81265
processor 6502 seg code org $F000 ; Define the code origin at $F000 Start: sei ; Disable interrupts cld ; Disable the BCD decimal math mode ldx #$FF ; Load the X register with #$FF txs ; Transfer the X register to the (S)tack pointer ;;...
loader/fixed_loader_x86.asm
AntiRootkit/Amber
461
17406
;#==================================================# ;# x86 Fixed Address Reflective Stub (no relocation)# ;# Author: <NAME> <<EMAIL>> # ;# Version: 2.0 # ;#==================================================# [BITS 32] [ORG 0] call start ; Get the ad...
FinderSyncExtension/Scripts/vscode.scpt
Musk66/FinderGo-Modify
6
4458
<filename>FinderSyncExtension/Scripts/vscode.scpt tell application "Finder" set cwd to POSIX path of ((target of front Finder window) as text) do shell script "open -a Visual\\ Studio\\ Code " & quoted form of cwd end tell
data/pokemon/base_stats/dragonite.asm
opiter09/ASM-Machina
1
242051
db DEX_DRAGONITE ; pokedex id db 91, 134, 95, 80, 100 ; hp atk def spd spc db DRAGON, FLYING ; type db 45 ; catch rate db 218 ; base exp INCBIN "gfx/pokemon/front/dragonite.pic", 0, 1 ; sprite dimensions dw DragonitePicFront, DragonitePicBack db WRAP, LEER, THUNDER_WAVE, AGILITY ; level 1 learnset...
src/agda/FRP/JS/Model.agda
agda/agda-frp-js
63
10721
<filename>src/agda/FRP/JS/Model.agda open import FRP.JS.Level using ( Level ; _⊔_ ) renaming ( zero to o ; suc to ↑ ) open import FRP.JS.Time using ( Time ; _≤_ ; _<_ ) open import FRP.JS.Bool using ( Bool ; true ; false ; not ; _≟_ ) open import FRP.JS.True using ( True ; tt ) module FRP.JS.Model where -- This mode...
programs/oeis/014/A014979.asm
neoneye/loda
22
244862
<reponame>neoneye/loda<gh_stars>10-100 ; A014979: Numbers that are both triangular and pentagonal. ; 0,1,210,40755,7906276,1533776805,297544793910,57722156241751,11197800766105800,2172315626468283465,421418033734080886426,81752926228785223683195,15859646270350599313653420 mul $0,2 trn $0,1 seq $0,157089 ; Consider all...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1930.asm
ljhsiun2/medusa
9
16996
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r14 push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi // Load lea addresses_PSE+0xa0f9, %r8 nop nop nop sub %r14, %r14 mov (%r8), %bx nop nop add $62330, %r9 // Load lea addresses_WC+0x1f2f9, %r14 nop ad...
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/zel_bgwt.asm
prismotizm/gigaleak
0
104066
Name: zel_bgwt.asm Type: file Size: 294883 Last-Modified: '2016-05-13T04:36:32Z' SHA-1: 03C4E56F31703339D41679A7829FFCFA6B7876B0 Description: null
src/rules_process.asm
mvdhout1992/ts-patches
33
175328
; ; Implementation of RulesClass::Process in ASM to allow additional section loading. ; ; Author: CCHyper (13.01.2020) ; %include "macros/patch.inc" %include "macros/datatypes.inc" %include "macros/string.inc" %include "TiberianSun.inc" sstring str_INI_Weapons, "Weapons" %define INIClass_EntryCount 0x004DC6A0 %defin...
main.asm
svatoun/dcc-fndecoder
0
5295
<gh_stars>0 ; original File = dcc_func_wagon.HEX processor 12F629 #include "p12f629.inc" __config 0x3FC4 ; _CPD_OFF & _CP_OFF & _BODEN_ON & _MCLRE_OFF & _PWRTE_ON & _WDT_OFF ; & _INTRC_OSC_NOCLKOUT ; EEPROM-Data Org 0x2100 DE 0x03, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x1E, 0x0D ; ........ ...
misc/Utilities.agda
yurrriq/parser-combinators
7
14886
<filename>misc/Utilities.agda ------------------------------------------------------------------------ -- Some types and functions used by several parser variants ------------------------------------------------------------------------ module Utilities where open import Data.Product open import Data.List open import ...
xcode_toggleImplAndTests.scpt
takasek/XCJumpToTests
26
464
<reponame>takasek/XCJumpToTests #!/usr/bin/osascript use AppleScript version "2.4" # Yosemite or later use scripting additions use framework "Foundation" on run tell application "Xcode" # Xcodeで表示中のファイルの情報を取得 set projectPath to path of active workspace document set projectFolder to characters 1 thru -((offset ...
projects/batfish/src/main/antlr4/org/batfish/grammar/f5_bigip_structured/F5BigipStructured_common.g4
loftwah/batfish
0
4732
parser grammar F5BigipStructured_common; options { tokenVocab = F5BigipStructuredLexer; } bracket_list : BRACKET_LEFT ( u_word | u_word_list )+ BRACKET_RIGHT ; empty_list : BRACE_LEFT BRACE_RIGHT ; list : empty_list | word_list | u_list ; /* An unrecognized fragment of syntax. When used, MU...
ECE263/Homework/Assignment-3.asm
Reiuiji/UmassdPortfolio
3
99760
<gh_stars>1-10 ;<NAME>: Assignment 3 ; export symbols XDEF Entry, _Startup ;export 'Entry' symbol ABSENTRY Entry ;for absolute assembly: mark this as entry point ;Memory Locations ROMStart EQU $C000 ;absoolute address to place code/constant data STRT_ADR EQU $8000 BYTE_SIZE EQU $8002 LA...
src/Data/QuadTree/Implementation/DataLenses.agda
JonathanBrouwer/research-project
1
6438
<reponame>JonathanBrouwer/research-project module Data.QuadTree.Implementation.DataLenses where open import Haskell.Prelude renaming (zero to Z; suc to S) open import Data.Lens.Lens open import Data.Logic open import Data.QuadTree.Implementation.PropDepthRelation open import Data.QuadTree.Implementation.Definition ope...
scripts/ViridianSchoolHouse.asm
opiter09/ASM-Machina
1
96060
ViridianSchoolHouse_Script: jp EnableAutoTextBoxDrawing ViridianSchoolHouse_TextPointers: dw SchoolText1 dw SchoolText2 SchoolText1: text_far _SchoolText1 text_end SchoolText2: text_far _SchoolText2 text_end
src/lambda.adb
ebolar/Unbounded
0
9757
<filename>src/lambda.adb -- Lambda Calculus interpreter -- --------------------------- -- Parses and reduces Lamdba Calculus statements. -- -- Source: -- lambda - [This file] definitions and helper functions -- lambda_REPL - REPL and command line parsers -- lambda_parser - parse tree generator -- lambda_red...
tpantlr2-code/code/debug/DOT.g4
cgonul/antlr-poc
10
7390
/** Derived from http://www.graphviz.org/doc/info/lang.html. Comments pulled from spec. has some ambig on digraph structs { node [shape=plaintext] struct1 [label=<<i>foo</i>>]; struct1 [label=<&epsilon;>]; struct2 [label=< <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0"> <TR><TD PORT="f0">one</...
old/Structure/Logic/Constructive/Functions.agda
Lolirofle/stuff-in-agda
6
9298
import Lvl open import Type module Structure.Logic.Constructive.Functions {ℓₒ} (Domain : Type{ℓₒ}) where private module Meta where open import Numeral.Finite public open import Numeral.Natural public -- The type of a function. Functions on the domain in the meta-logic. Functio...
programs/oeis/016/A016971.asm
karttu/loda
1
98703
; A016971: a(n) = (6*n + 5)^3. ; 125,1331,4913,12167,24389,42875,68921,103823,148877,205379,274625,357911,456533,571787,704969,857375,1030301,1225043,1442897,1685159,1953125,2248091,2571353,2924207,3307949,3723875,4173281,4657463,5177717,5735339,6331625,6967871,7645373,8365427,9129329,9938375,10793861,11697083,12649337...
coverage/IN_CTS/0439-COVERAGE-nir-opt-constant-folding-238-340-nir-range-analysis-866/work/variant/1_spirv_asm/shader.frag.asm
asuonpaa/ShaderTests
0
81149
; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 10 ; Bound: 188 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %4 "main" %12 %186 OpExecutionMode %4 Or...
test/Fail/RecordPattern2.agda
shlevy/agda
1,989
15707
postulate A : Set record R : Set where field f : A record S : Set where field g : A test : R → A test record{g = a} = a
models/tests/test65a.als
transclosure/Amalgam
4
785
<gh_stars>1-10 module tests/test open util/time one sig Light { brightness: dynamic[Int] } let b = Light.brightness pred incr [t, t': Time] { b.t' = b.t + 1 t' = t.next } pred decr [t, t': Time] { b.t' = b.t - 1 t' = t.next } pred incrThenReturnOld [out: Int, t,t': Time] { out = b.t b.t' =...
grammar/YAML.g4
omry/addax
0
419
<gh_stars>0 /** Grammars always start with a grammar header. This grammar is called * ArrayInit and must match the filename: ArrayInit.g4 */ grammar YAML; // Comments starting with /// are copied from the YAML 1.2 reference https://yaml.org/spec/1.2/spec.htm. tokens { INDENT, DEDENT } //=============== Par...
test/include/gmp-6.1.2/mpn/mul_1.asm
kcpikkt/apa
43
20106
<reponame>kcpikkt/apa<filename>test/include/gmp-6.1.2/mpn/mul_1.asm dnl AMD64 mpn_mul_1 optimised for Intel Broadwell. dnl Copyright 2015 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the...
source/nodes/program-nodes-if_expressions.ads
reznikmm/gela
0
7900
<filename>source/nodes/program-nodes-if_expressions.ads -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Elsif_Paths; with Program.E...
programs/oeis/048/A048644.asm
neoneye/loda
22
12882
<reponame>neoneye/loda ; A048644: Differences between partial sums of Gray code (A048641) and triangular numbers (A000217). ; 0,0,1,0,2,4,3,0,4,8,13,16,14,12,7,0,8,16,25,32,42,52,59,64,60,56,53,48,38,28,15,0,16,32,49,64,82,100,115,128,148,168,189,208,222,236,247,256,248,240,233,224,218,212,203,192,172,152,133,112,86,60...
jetbrick-template/src/main/antlr4/jetbrick/template/runtime/parser/grammer/JetTemplateLexer.g4
LeoAugust19/jetbrick-template-2x
392
5643
<filename>jetbrick-template/src/main/antlr4/jetbrick/template/runtime/parser/grammer/JetTemplateLexer.g4<gh_stars>100-1000 /** * Copyright 2013-2014 <NAME>, Shanghai, China. All rights reserved. * * Author: <NAME> * Email: <EMAIL> * WebURL: https://github.com/subchen * * Licensed under the Apache License,...
src/model/jason-projects-models.adb
stcarrez/jason
2
10063
<reponame>stcarrez/jason<gh_stars>1-10 ----------------------------------------------------------------------- -- Jason.Projects.Models -- Jason.Projects.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package...
Examples/ch11/Console1.asm
satadriver/LiunuxOS
0
169535
<gh_stars>0 TITLE Win32 Console Example #1 (Console1.asm) ; This program calls the following Win32 Console functions: ; GetStdHandle, ExitProcess, WriteConsole ; Last update: 1/20/02 INCLUDE Irvine32.inc .data endl EQU <0dh,0ah> ; end of line sequence message \ BYTE "-----------------...
typedef_dsl.g4
jamiepenney/typedef
3
2268
<reponame>jamiepenney/typedef grammar typedef_dsl; /* * Parser */ statements : literal_statement+ EOF ; literal_statement : VARIABLE_NAME VARIABLE_NAME_SEPERATOR phrase END_OF_STATEMENT ; phrase : (type_decl WS* value) #valuePhrase | (STRUCT struct_members) #structPhrase ; // type definitions type_decl :...
libsrc/_DEVELOPMENT/arch/zx/nirvanap/c/sdcc/NIRVANAP_printC.asm
teknoplop/z88dk
0
161253
; ---------------------------------------------------------------- ; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by <NAME> ; ; See "nirvana+.h" for further details ; ---------------------------------------------------------------- ; void NIRVANAP_printC(unsigned int ch, unsigned char *attrs, unsigned int lin, unsign...
test/fail/Issue755.agda
larrytheliquid/agda
1
6341
module Issue755 where open import Common.Prelude renaming (Nat to ℕ) open import Common.Equality abstract foo : ℕ → ℕ foo x = zero bar : foo zero ≡ foo (suc zero) → foo zero ≡ foo (suc zero) bar refl = refl -- 0 != 1 of type ℕ -- when checking that the pattern refl has type -- foo zero ≡ foo (suc zero)
libsrc/spectrum/zx_printer.asm
dex4er/deb-z88dk
1
168285
; ; ZX Spectrum specific routines ; by <NAME>, 14/09/2006 ; ; int zx_printer(); ; ; The result is: ; - 1 (true) if the ZX printer is connected ; - 0 (false) otherwise ; ; $Id: zx_printer.asm,v 1.1 2006/12/01 16:58:30 stefano Exp $ ; XLIB zx_printer zx_printer: ld hl,0 in a,($fb) bit 6,a ret n...
alloy4fun_models/trashltl/models/9/odmCnSvEWgrnAazbs.als
Kaixi26/org.alloytools.alloy
0
1298
<reponame>Kaixi26/org.alloytools.alloy<gh_stars>0 open main pred idodmCnSvEWgrnAazbs_prop10 { always (all f:Protected | f in Protected) } pred __repair { idodmCnSvEWgrnAazbs_prop10 } check __repair { idodmCnSvEWgrnAazbs_prop10 <=> prop10o }
programs/oeis/168/A168667.asm
neoneye/loda
22
241057
; A168667: a(n) = n^7*(n^10 + 1)/2. ; 0,1,65600,64571175,8589942784,381469765625,8463329862336,116315257405375,1125899907891200,8338590852224769,50000000005000000,252723514259390471,1109305553388134400,4325207959722043225,15245673364718304704,49263062667932109375,147573952589810630656,413620130943373551425,109295577986...
arbitrary-log.ads
joewing/arbitrary
0
9308
-------------------------------------------------------------------------- -- Arbitrary Precision Math Library: Logarithmic Functions -- <NAME> 20020320 <> 20020327 -------------------------------------------------------------------------- package Arbitrary.Log is function Exp(a : Arbitrary_Type) return Arbitrary_Ty...
sources/ippcp/asm_ia32/pcpaesgcmtable2kv8as.asm
idesai/ipp-crypto
1
13239
<reponame>idesai/ipp-crypto ;=============================================================================== ; Copyright 2014-2018 Intel Corporation ; All Rights Reserved. ; ; If this software was obtained under the Intel Simplified Software License, ; the following terms apply: ; ; The source code, information a...
src/test01/src/main.adb
hannesb0/rtpl18
0
16450
-- Task 2 of RTPL WS17/18 -- Team members: <NAME>. and <NAME>. with Ada.Text_IO; use Ada.Text_IO; with Ada.Characters.Handling; -- For detecting ENTER key -- User defined packages with counting; use counting; with convert; use convert; with calculate; use calculate; with myTasks; use myTasks; with dice; use dice;...
oeis/127/A127239.asm
neoneye/loda-programs
11
175437
<reponame>neoneye/loda-programs<filename>oeis/127/A127239.asm ; A127239: Central coefficients of Thue-Morse binomial triangle A127236. ; 1,1,0,0,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,0,1,1,1,1,0,1,1,1,0,0,1,0,0,0,0,0,1,1,0,0,0,1,0,0,0,1,0,0,0,1,0,1,0,1,1,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,0,1,1,1,1,0,0,1...
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sccz80/tshc_aaddr2px.asm
jpoikela/z88dk
38
160946
<reponame>jpoikela/z88dk ; uchar tshc_aaddr2px(void *aaddr) SECTION code_clib SECTION code_arch PUBLIC tshc_aaddr2px EXTERN zx_saddr2px defc tshc_aaddr2px = zx_saddr2px
data/pokemon/dex_entries/exeggutor.asm
AtmaBuster/pokeplat-gen2
6
26199
<gh_stars>1-10 db "COCONUT@" ; species name db "Living in a good" next "environment makes" next "it grow lots of" page "heads. A head that" next "drops off becomes" next "an EXEGGCUTE.@"
Grammar/rasm.g4
Tjakka5/RiSC-CPU
0
1069
grammar Rasm; file: (line | NL)*; statement: keyword (arg? arg? arg?) | (special_keyword arg); labelDef: LABEL NL? statement+; line: (statement | labelDef) COMMENT? NL?; keyword: 'add' | 'addi' | 'nand' | 'lui' | 'sw' | 'lw' | 'beq' | 'jalr' | 'nop' | 'halt' | 'lli' | 'movi'; special_keyword: '.fill' | '.space'; a...
src/pyfx/model/common/jsonpath/JSONPath.g4
cielong/pyfx
9
6021
/* JSONPath grammar */ grammar JSONPath; jsonpath: ROOT (expression)* EOF ; expression: singleDotExpression | doubleDotExpression ; // only limited double dot expression supported doubleDotExpression: DOUBLE_DOT field | DOUBLE_DOT bracketField ; si...
oeis/335/A335025.asm
neoneye/loda-programs
11
170337
; A335025: Largest side lengths of almost-equilateral Heronian triangles. ; 5,15,53,195,725,2703,10085,37635,140453,524175,1956245,7300803,27246965,101687055,379501253,1416317955,5285770565,19726764303,73621286645,274758382275,1025412242453,3826890587535,14282150107685,53301709843203,198924689265125,742397047217295,277...
libsrc/_DEVELOPMENT/inttypes/c/sccz80/_imaxdiv__callee.asm
jpoikela/z88dk
640
11367
<reponame>jpoikela/z88dk ; void _imaxdiv_(imaxdiv_t *md, intmax_t numer, intmax_t denom) SECTION code_clib SECTION code_inttypes PUBLIC _imaxdiv__callee EXTERN _ldiv__callee defc _imaxdiv__callee = _ldiv__callee
programs/oeis/061/A061776.asm
jmorken/loda
1
242140
; A061776: Start with a single triangle; at n-th generation add a triangle at each vertex, allowing triangles to overlap; sequence gives number of triangles in n-th generation. ; 1,3,6,12,18,30,42,66,90,138,186,282,378,570,762,1146,1530,2298,3066,4602,6138,9210,12282,18426,24570,36858,49146,73722,98298,147450,196602,29...
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/printstr.asm
gb-archive/really-old-stuff
10
6108
#include once <print.asm> #include once <sposn.asm> #include once <attr.asm> #include once <free.asm> ; PRINT command routine ; Prints string pointed by HL PRINT_STR: __PRINTSTR: ; __FASTCALL__ Entry to print_string PROC LOCAL __PRINT_STR_LOOP LOCAL __PRINT_STR_END ld d, a ; Saves A reg (Flag) f...
Confuser.Core/Project/PatternParser.g4
lysep-corp/ConfuserEx-LSREMAKE
9
7546
parser grammar PatternParser; options { tokenVocab=PatternLexer; } pattern : function | pattern AND pattern | pattern OR pattern | NOT pattern | PAREN_OPEN pattern PAREN_CLOSE; function : declTypeFunction | fullNameFunction | hasAttrFunction | inheritsFuncti...
src/MJ/Examples/DynDispatch.agda
metaborg/mj.agda
10
8952
<reponame>metaborg/mj.agda module MJ.Examples.DynDispatch where open import Prelude import Data.Vec.All as Vec∀ open import Data.Star open import Data.Bool open import Data.List open import Data.List.Any open import Data.List.Membership.Propositional open import Data.List.All hiding (lookup) open import Data.Product h...
test/Succeed/ReduceDefs.agda
shlevy/agda
0
83
open import Agda.Builtin.Unit open import Agda.Builtin.Nat open import Agda.Builtin.List open import Agda.Builtin.Reflection renaming (bindTC to _>>=_) open import Agda.Builtin.Equality macro macro₁ : Term -> TC ⊤ macro₁ goal = do u ← quoteTC ((1 + 2) - 3) u' ← onlyReduceDefs (quote _+_ ∷ []) (normalise...
awa/src/model/awa-events-models.ads
Letractively/ada-awa
0
7381
----------------------------------------------------------------------- -- AWA.Events.Models -- AWA.Events.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-spec.xhtml -- Ada Generator: https://ada-gen....
FictionTools/z88dk/libsrc/target/svi/stdio/generic_console.asm
polluks/Puddle-BuildTools
38
95530
; SVI console driver ; ; Supports: ; Mode 0: VDP 32x24 ; Mode 10: SVI806 80x24 ; SECTION code_clib PUBLIC generic_console_cls PUBLIC generic_console_scrollup PUBLIC generic_console_printc PUBLIC generic_console_set_ink PUBLIC generic_console_set_pape...
etude/etude9.als
nishio/learning_alloy
1
159
// combinator logic abstract sig Bird{ apply: Bird -> Bird } one sig K extends Bird{} one sig S extends Bird{} fact { all x, y: Bird | K.apply.x.apply.y = x all x, y, z: Bird { S.apply.x.apply.y.apply.z = x.apply.z.apply.(y.apply.z) } } /* pred equal(f, g: Bird){ f in g.same_birds and g in f.same_bi...
src/cobs-queue-encoder.ads
Fabien-Chouteau/COBS
0
29789
<gh_stars>0 -- This unit provides a COBS encoder using lock-free BipBuffer (BBqueue). with BBqueue; package COBS.Queue.Encoder with Preelaborate is Min_Buf_Size : constant := 255; subtype Buffer_Size is BBqueue.Buffer_Size range 2 * Min_Buf_Size .. BBqueue.Buffer_Size'Last; -- The idea behind...
programs/oeis/186/A186316.asm
karttu/loda
1
16427
<filename>programs/oeis/186/A186316.asm<gh_stars>1-10 ; A186316: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f and g are the squares and hexagonal numbers. Complement of A186315. ; 2,4,6,9,11,14,16,18,21,23,26,28,31,33,35,38,40,43,45,47,50,52,55,57,60,62,64,67,69,72,74...
src/framework/aunit-suite_builders_generic.adb
persan/AUnit-addons
0
19901
with Ada.Strings.Fixed; with AUnit.Test_Caller; package body AUnit.Suite_Builders_Generic is package Caller is new AUnit.Test_Caller (Fixture); Package_Name : constant String := GNAT.Source_Info.Enclosing_Entity; Separator : constant String := " : "; -- -- The separator for suite and test names. ...
proglangs-learning/Agda/sv20/assign2/SetTheory/Subset.agda
helq/old_code
0
13160
<filename>proglangs-learning/Agda/sv20/assign2/SetTheory/Subset.agda -- Properties involving susbets and membership -- between sets. module sv20.assign2.SetTheory.Subset where open import sv20.assign2.SetTheory.Logic open import sv20.assign2.SetTheory.ZAxioms memberEq : (x y z : 𝓢) → x ∈ y ∧ y ≡ z → x ∈ z memberEq ...
bin/JWASM/Samples/Win32_6w.asm
Abd-Beltaji/ASMEMU
3
173321
<gh_stars>1-10 ;--- sample how to use Unicode in assembly ;--- similar to Win32_6.asm, but uses the WinInc include files ;--- assemble the ANSI version: jwasm -coff Win32_6w.ASM ;--- assemble the UNICODE version: jwasm -coff -DUNICODE Win32_6w.ASM ;--- link: ;--- MS Link: link /subsystem:console Win32_6w.OBJ kerne...
test/Fail/Issue676.agda
cruhland/agda
1,989
232
module Issue676 where data Bool : Set where true false : Bool data ⊥ : Set where data Silly A : Set where [_] : A → Silly A fail : ⊥ → Silly A -- This shouldn't be projection-like since the second clause won't reduce. unsillify : ∀ {A} → Silly A → A unsillify [ x ] = x unsillify (fail ()) data _≡_ {A : Set...
antlr-plugin/src/test/resources/org/nemesis/antlrformatting/grammarfile/golden/TestFive-0-golden.g4
timboudreau/ANTLR4-Plugins-for-NetBeans
1
3574
parser grammar TestFive; options { tokenVocab=TestFour; } word : Word;
programs/oeis/326/A326186.asm
jmorken/loda
1
88372
; A326186: a(n) = n - A057521(n), where A057521 gives the powerful part of n. ; 0,1,2,0,4,5,6,0,0,9,10,8,12,13,14,0,16,9,18,16,20,21,22,16,0,25,0,24,28,29,30,0,32,33,34,0,36,37,38,32,40,41,42,40,36,45,46,32,0,25,50,48,52,27,54,48,56,57,58,56,60,61,54,0,64,65,66,64,68,69,70,0,72,73,50,72,76,77,78,64,0,81,82,80,84,85,86,...
programs/oeis/291/A291011.asm
jmorken/loda
1
99727
; A291011: p-INVERT of (1,1,1,1,1,...), where p(S) = (1 - S)^2 (1 - 2 S). ; 4,15,52,172,552,1736,5384,16536,50440,153112,463176,1397720,4210568,12668568,38083528,114414424,343587336,1031482904,3095956040,9291013848,27879595144,83652416920,250985562312,753015407192,2259167856392,6777755227416,20333785775944,610024310696...
Task/Self-referential-sequence/Ada/self-referential-sequence.ada
LaudateCorpus1/RosettaCodeData
1
10413
with Ada.Text_IO; use Ada.Text_IO; with Ada.Containers.Vectors; procedure SelfRef is subtype Seed is Natural range 0 .. 1_000_000; subtype Num is Natural range 0 .. 10; type NumList is array (0 .. 10) of Num; package IO is new Ada.Text_IO.Integer_IO (Natural); package DVect is new Ada.Containers.Vectors ...