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/049/A049854.asm | jmorken/loda | 1 | 3262 | <gh_stars>1-10
; A049854: a(n)=Sum{a(k): k=0,1,2,...,n-3,n-1}; a(n-2) is not a summand; 2 initial terms required.
; 1,3,3,4,8,15,26,45,79,139,244,428,751,1318,2313,4059,7123,12500,21936,38495,67554,118549,208039,365083,640676,1124308,1973023,3462414,6076113,10662835,18711971,32837220,57625304,101125359
mov $3,3
lpb $0... |
src/snails.asm | Legend-of-iPhoenix/Attack-of-the-Snails | 3 | 166673 | <filename>src/snails.asm
.nolist
#include "ti84pce.inc"
#define dw .dw ; convpng -> compiler compatibility
#define db .db
; text width information
_text_title_width .equ 170
_text_play_width .equ 42
_text_exit_width .equ 31
_text_credits_width .equ 159
; snail positions
snailStart .equ pixelShadow + 1
snailD... |
src/Implicits/Resolution/Embedding.agda | metaborg/ts.agda | 4 | 4526 | <filename>src/Implicits/Resolution/Embedding.agda
module Implicits.Resolution.Embedding where
open import Prelude
open import Data.Vec
open import Data.List as List hiding (map)
open import Implicits.Syntax
open import SystemF.Everything as F using ()
⟦_⟧tp← : ∀ {ν} → F.Type ν → Type ν
⟦ F.tc x ⟧tp← = simpl (tc x)
... |
src/spawn_manager-client.adb | persan/spawn-manager | 1 | 28124 | with GNAT.Sockets; use GNAT.Sockets;
with GNAT.Random_Numbers;
with Ada.Directories; use Ada.Directories;
with Ada.Command_Line;
with GNAT.IO;
package body Spawn_Manager.Client is
Initialized : Boolean := False;
Address : Sock_Addr_Type;
Socket : Socket_Type;
Server : Socket_Type;
Channel ... |
gfx/pokemon/mareep/anim.asm | Dev727/ancientplatinum | 28 | 165835 | <reponame>Dev727/ancientplatinum<gh_stars>10-100
frame 1, 08
frame 0, 07
frame 1, 05
setrepeat 2
frame 0, 06
frame 2, 06
dorepeat 4
endanim
|
tools/scitools/conf/understand/ada/ada12/g-io_aux.ads | brucegua/moocos | 1 | 6989 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
unused/Membership-equality.agda | Zalastax/singly-typed-actors | 1 | 3277 | <reponame>Zalastax/singly-typed-actors
module Membership-equality where
import Membership-old
open import Relation.Binary.PropositionalEquality as PropEq
open import Data.List
open import Data.List.Any
open import Relation.Binary
import Relation.Binary.InducedPreorders as Ind
open import Function.Related as Related hi... |
src/Projects/eu_projects.adb | fintatarta/eugen | 0 | 30365 | <filename>src/Projects/eu_projects.adb
pragma Ada_2012;
with Tokenize.Token_Vectors;
with Ada.Text_IO; use Ada.Text_IO;
package body EU_Projects is
function Verbose_To_ID (X : String) return Dotted_Identifier
is
begin
Put_Line ("TT(" & X & ")" & Is_Valid_ID (X)'Image);
return To_Bounded_String (X)... |
s1/sfx-original/SndB5 - Ring.asm | Cancer52/flamedriver | 9 | 242317 | <reponame>Cancer52/flamedriver<gh_stars>1-10
SndB5_Ring_Header:
smpsHeaderStartSong 1
smpsHeaderVoice SndB5_Ring_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cFM5, SndB5_Ring_FM5, $00, $05
; FM5 Data
SndB5_Ring_FM5:
smpsSetvoice $00
smpsPan panRight, $00
d... |
test/interaction/Issue2437.agda | cruhland/agda | 1,989 | 3241 | -- Andreas, 2017-01-27, issue #2437
-- Polarity checker turns Nonvariant to Unused arg in types,
-- thus, reducing them.
-- However, this should not happen without need.
-- We wish to preserve the types as much as possible.
-- {-# OPTIONS -v 20 #-}
-- {-# OPTIONS -v tc.polarity:30 #-}
-- {-# OPTIONS -v tc.decl:30 #-}
... |
MIPS/exercise08.asm | nhutnamhcmus/code | 1 | 169751 | # @created by <NAME>
# @ vn.hcmus.fit.sv18120061.computerarchitecture.mips
# Nhap mo so nguyen n, tinh tong tu 1 den n
.data
tb1: .asciiz "Nhap vao mot so: "
tb2: .asciiz "Tong tu 1 den "
tb3: .asciiz " la: "
.text
# Xuat tb1
li $v0, 4
la $a0, tb1
syscall
addi $v0, $zero, 5
syscall
# Luu v0 vao s0
add $s0, $... |
src/orig/dds-request_reply-connext_c_untyped_impl.ads | alexcamposruiz/dds-requestreply | 0 | 12606 | <filename>src/orig/dds-request_reply-connext_c_untyped_impl.ads
with DDS.DataReader;
with DDS.DataWriter;
with DDS.ReadCondition;
with DDS.WaitSet;
with DDS.Request_Reply.Untypedcommon;
package DDS.Request_Reply.connext_c_untyped_impl is
use Untypedcommon;
function RTI_Connext_EntityUntypedImpl_Wait_For_Sampl... |
programs/oeis/021/A021837.asm | neoneye/loda | 22 | 89995 | ; A021837: Decimal expansion of 1/833.
; 0,0,1,2,0,0,4,8,0,1,9,2,0,7,6,8,3,0,7,3,2,2,9,2,9,1,7,1,6,6,8,6,6,7,4,6,6,9,8,6,7,9,4,7,1,7,8,8,7,1,5,4,8,6,1,9,4,4,7,7,7,9,1,1,1,6,4,4,6,5,7,8,6,3,1,4,5,2,5,8,1,0,3,2,4,1,2,9,6,5,1,8,6,0,7,4,4,2,9
add $0,1
mov $1,10
pow $1,$0
sub $1,6
mul $1,6
div $1,17
add $1,4
div $1,294
mod... |
data/github.com/geekcomputers/Applescript/29e1e61bf4be9112eb7786c63c42286f48c68247/sync_bento.applescript | ajnavarro/language-dataset | 9 | 2708 | <reponame>ajnavarro/language-dataset
# Script Name : sync_bento
# Author : <NAME>
# Created : 13th February 2013
# Last Modified : 21st June 2013
# Version : 1.1
# Modifications : 1.1 - 21/06/13 - CR - added a coouple of lines for it to hide bento, wait while I sync then close bento and switch off the wifi ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd4051c.ada | best08618/asylo | 7 | 2709 | -- CD4051C.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/157/A157770.asm | neoneye/loda | 22 | 3990 | <filename>programs/oeis/157/A157770.asm
; A157770: 1482401250n^2 - 2134548900n + 768398401.
; 116250751,2428905601,7706362951,15948622801,27155685151,41327550001,58464217351,78565687201,101631959551,127663034401,156658911751,188619591601,223545073951,261435358801,302290446151,346110336001,392895028351,442644523201,4953... |
awa/plugins/awa-storages/regtests/awa-storages-tests.adb | My-Colaborations/ada-awa | 0 | 15341 | -----------------------------------------------------------------------
-- awa-storages-tests -- Unit tests for storages module
-- Copyright (C) 2018, 2019, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compli... |
testutil/ahven/ahven.ads | Letractively/ada-util | 60 | 2381 | <filename>testutil/ahven/ahven.ads
-- Ahven Unit Test Library
--
-- Copyright (c) 2007-2009 <NAME> <<EMAIL>>
--
-- Permission to use, copy, modify, and distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all ... |
programs/oeis/134/A134057.asm | karttu/loda | 1 | 175463 | <filename>programs/oeis/134/A134057.asm
; A134057: a(n) = binomial(2^n-1,2).
; 0,0,3,21,105,465,1953,8001,32385,130305,522753,2094081,8382465,33542145,134193153,536821761,2147385345,8589737985,34359345153,137438167041,549754241025,2199020109825,8796086730753,35184359505921,140737463189505,562949903089665,22517997130219... |
oeis/091/A091914.asm | neoneye/loda-programs | 11 | 246823 | ; A091914: a(n) = 2*a(n-1) + 12*a(n-2).
; Submitted by <NAME>(s3)
; 1,2,16,56,304,1280,6208,27776,130048,593408,2747392,12615680,58200064,267788288,1233977344,5681414144,26170556416,120518082560,555082842112,2556382674944,11773759455232,54224111009792,249733335482368,1150156003082240,5297112031952896,24396096100892672,... |
src/audio-riff-wav-formats-standard_channel_configurations.adb | Ada-Audio/wavefiles | 10 | 25357 | <filename>src/audio-riff-wav-formats-standard_channel_configurations.adb
------------------------------------------------------------------------------
-- --
-- AUDIO / RIFF / WAV --
-- ... |
alloy4fun_models/trashltl/models/1/GuxsvSQLqL6z5TjBY.als | Kaixi26/org.alloytools.alloy | 0 | 79 | open main
pred idGuxsvSQLqL6z5TjBY_prop2 {
before no File
}
pred __repair { idGuxsvSQLqL6z5TjBY_prop2 }
check __repair { idGuxsvSQLqL6z5TjBY_prop2 <=> prop2o } |
oeis/033/A033276.asm | neoneye/loda-programs | 11 | 2615 | <gh_stars>10-100
; A033276: Number of diagonal dissections of an n-gon into 4 regions.
; Submitted by <NAME>(s1)
; 0,14,84,300,825,1925,4004,7644,13650,23100,37400,58344,88179,129675,186200,261800,361284,490314,655500,864500,1126125,1450449,1848924,2334500,2921750,3627000,4468464,5466384,6643175,8023575,9634800,1150670... |
test/antlr-java/mybatis-enhanced/src/main/resources/grammar/HashLexer.g4 | xhd2015/through-layers | 0 | 2566 | lexer grammar HashLexer;
//HASH : '#' ;
DOLLAR : '$' ; |
Projects/04/Mult.asm | sunandagupta/nand2tetris | 0 | 171775 | <filename>Projects/04/Mult.asm
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by <NAME> Schocken, MIT Press.
// File name: projects/04/Mult.asm
// Multiplies R0 and R1 and stores the result in R2.
// (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.)
//
... |
Cameras/ResidentEvil2/InjectableGenericCameraSystem/Interceptor.asm | ghostinthecamera/InjectableGenericCameraSystem | 623 | 26789 | ;////////////////////////////////////////////////////////////////////////////////////////////////////////
;// Part of Injectable Generic Camera System
;// Copyright(c) 2019, <NAME>
;// All rights reserved.
;// https://github.com/FransBouma/InjectableGenericCameraSystem
;//
;// Redistribution and use in source and binar... |
src/etl.lib/extractor/CSV.g4 | dataventure-io/etl-tool | 0 | 6078 | <gh_stars>0
grammar CSV;
csvFile: row+ ;
row : field (',' field)* '\r'? '\n' ;
field
: TEXT
| STRING
|
;
TEXT : ~[,\n\r"]+ ;
STRING : '"' ('""'|~'"')* '"' ; // quote-quote is an escaped quote
|
agda/course/2017-conor_mcbride_cs410/CS410-17-master/lectures/Lec1Start.agda | haroldcarr/learn-haskell-coq-ml-etc | 36 | 15377 | module Lec1Start where
-- the -- mark introduces a "comment to end of line"
------------------------------------------------------------------------------
-- some basic "logical" types
------------------------------------------------------------------------------
data Zero : Set where
-- to give a value in a data... |
programs/oeis/000/A000129.asm | karttu/loda | 0 | 21826 | ; A000129: Pell numbers: a(0) = 0, a(1) = 1; for n > 1, a(n) = 2*a(n-1) + a(n-2).
; 0,1,2,5,12,29,70,169,408,985,2378,5741,13860,33461,80782,195025,470832,1136689,2744210,6625109,15994428,38613965,93222358,225058681,543339720,1311738121,3166815962,7645370045,18457556052,44560482149,107578520350,259717522849,62701356604... |
6502/mcs/VForth35/old/mcstest2.asm | forth-ev/VolksForth | 24 | 96267 | <gh_stars>10-100
.P816
.ORG $4000
S1: SEI
SEP #$30
SEC
XCE
S2:
LDA #'a'
loop:
CLC
XCE
REP #$30
CLI
JSL $E063
NOP
NOP
NOP
SEI
SEP #$30
SEC
XCE
CLC
ADC #1
CMP #'z'+1
BNE loop
CLC
XCE
REP #$30
CLI
LDA #$0D
.BYT 00
JSL $E063
NOP
NOP
NOP
DEC count
LDA count
cmp #... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_506.asm | ljhsiun2/medusa | 9 | 24857 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1db8, %rsi
lea addresses_normal_ht+0x13f18, %rdi
nop
cmp %r12, %r12
mov $68, %rcx
rep movsq
nop
nop
nop
nop
nop
sub $58023, %rsi
lea addresses_UC_ht+0x180b6, %rbx
add %rdi, %rdi
mov (... |
assembly/lab5/src/5-2/cal.asm | sabertazimi/hust-lab | 29 | 650 | .386
.model flat, c
.code
public cal
cal proc table: dword, num: dword
push eax
push ebx
push ecx
push edx
push esi
push edi
mov edi, table
xor ebx, ebx
xor ecx, ecx
cal_loop:
cmp ecx, num
jge cal_finish
mov eax, ss:[edi + ebx + 12] ; chinese
mov edx, ss:... |
stm32f1/stm32f103xx/svd/stm32_svd-usb_otg_fs.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 3140 | -- This spec has been automatically generated from STM32F103.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.USB_OTG_FS is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype FS_DCFG_DSPD_Field is STM... |
gdb/testsuite/gdb.ada/local-enum/local.adb | greyblue9/binutils-gdb | 1 | 16947 | <reponame>greyblue9/binutils-gdb<gh_stars>1-10
-- Copyright 2021 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c85006d.ada | best08618/asylo | 7 | 14203 | -- C85006D.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... |
source/features/icons.asm | shoaib-jamal/MichalOS | 14 | 12354 | ; ==================================================================
; MichalOS Icons
; ==================================================================
bomblogo db 9, 16
db 00000000b, 00000000b, 00000000b, 00000000b, 00000000b, 00100000b, 00000000b, 01100000b, 00000000b
db 00000000b, 00000000b, 00000... |
runtime/utility3.asm | paulscottrobson/amoral | 3 | 175384 | ; *******************************************************************************************
; *******************************************************************************************
;
; File: utility3.asm
; Date: 16th November 2020
; Purpose: More Utility routines for ... |
testsuite/tests-lexers.ads | reznikmm/increment | 5 | 21909 | -- Copyright (c) 2015-2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Incr.Lexers.Batch_Lexers.Generic_Lexers;
with Matreshka.Internals.Unicode;
package Tests.Lexers is
package Tables is
use Incr.Lexe... |
examples/typeclass.adb | ytomino/drake | 33 | 11587 | <gh_stars>10-100
procedure typeclass is
begin
case Integer'Type_Class is
when others => null;
end case;
end;
|
data/mapHeaders/unknowndungeon2.asm | adhi-thirumala/EvoYellow | 16 | 160770 | UnknownDungeon2_h:
db CAVERN ; tileset
db UNKNOWN_DUNGEON_2_HEIGHT, UNKNOWN_DUNGEON_2_WIDTH ; dimensions (y, x)
dw UnknownDungeon2Blocks, UnknownDungeon2TextPointers, UnknownDungeon2Script ; blocks, texts, scripts
db $00 ; connections
dw UnknownDungeon2Object ; objects
|
src/test/ref/comparison-rewriting-pointer.asm | jbrandwood/kickc | 2 | 87857 | <filename>src/test/ref/comparison-rewriting-pointer.asm
// Test rewriting of constant comparisons for pointers
// Commodore 64 PRG executable file
.file [name="comparison-rewriting-pointer.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segment... |
src/construct_conversion_array.adb | joffreyhuguet/curve25519-spark2014 | 4 | 1852 | package body Construct_Conversion_Array with
SPARK_Mode
is
----------------------
-- Conversion_Array --
----------------------
function Conversion_Array return Conversion_Array_Type is
Conversion_Array : Conversion_Array_Type := (others => Zero);
begin
for J in Product_Index_Type loop
... |
test/asset/agda-stdlib-1.0/Data/Bin.agda | omega12345/agda-mode | 0 | 13741 | <gh_stars>0
------------------------------------------------------------------------
-- The Agda standard library
--
-- A binary representation of natural numbers
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Bin where
open import Data.Nat as ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_357.asm | ljhsiun2/medusa | 9 | 19764 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %rax
push %rbp
push %rbx
push %rcx
lea addresses_WC_ht+0x1c452, %r10
nop
nop
nop
nop
sub %r8, %r8
movl $0x61626364, (%r10)
nop
nop
nop
nop
cmp %rbx, %rbx
lea addresses_A_ht+0xa0ea, %rbp
nop
nop
dec %rcx
mov (%rbp), %rax
nop
nop
sub %r10, %r1... |
oeis/228/A228901.asm | neoneye/loda-programs | 11 | 85636 | <gh_stars>10-100
; A228901: Column 1 of triangle A228900.
; Submitted by <NAME>(s1)
; 1,3,15,155,2685,65517,2063205,79715229,3653521179,193876702019,11696128639195,790788563411431,59238930606369007,4870881096635599567,436176889680415116607,42256722956163045301807,4403938204071514872757477,491317594015782152377769725,5... |
FormalAnalyzer/models/meta/cap_musicPlayer.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 2360 |
// filename: cap_musicPlayer.als
module cap_musicPlayer
open IoTBottomUp
one sig cap_musicPlayer extends Capability {}
{
attributes = cap_musicPlayer_attr
}
abstract sig cap_musicPlayer_attr extends Attribute {}
one sig cap_musicPlayer_attr_level extends cap_musicPlayer_attr {}
{
values = cap_musicPlayer_attr_leve... |
programs/oeis/317/A317613.asm | karttu/loda | 0 | 90856 | ; A317613: Permutation of the nonnegative integers: lodumo_4 of A047247.
; 2,3,0,1,4,5,6,7,10,11,8,9,12,13,14,15,18,19,16,17,20,21,22,23,26,27,24,25,28,29,30,31,34,35,32,33,36,37,38,39,42,43,40,41,44,45,46,47,50,51,48,49,52,53,54,55,58,59,56,57,60,61,62,63,66,67,64,65,68,69,70,71,74,75,72,73,76,77,78,79,82,83,80,81,84,... |
source/web-ui-widgets-buttons-pushs.adb | godunko/adawebui | 2 | 20007 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
orka/src/orka/implementation/orka-inputs-joysticks-sequences.adb | onox/orka | 52 | 13294 | <reponame>onox/orka<gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2019 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://w... |
alloy4fun_models/trashltl/models/1/EPtJtZeaZMQcGkfu8.als | Kaixi26/org.alloytools.alloy | 0 | 1516 | open main
pred idEPtJtZeaZMQcGkfu8_prop2 {
historically no File
}
pred __repair { idEPtJtZeaZMQcGkfu8_prop2 }
check __repair { idEPtJtZeaZMQcGkfu8_prop2 <=> prop2o } |
Source/ALL/Languages/FILL/Syntax.agda | heades/Agda-LLS | 3 | 2741 | <reponame>heades/Agda-LLS
module Languages.FILL.Syntax where
open import level
open import bool
open import nat
open import unit
open import empty
open import list
open import eq
open import sum
open import Utils.HaskellTypes
open import Utils.HaskellFunctions
open import Languages.FILL.TypeSyntax
True : Set
True = ... |
p2/xv6/grep.asm | szhu0513/-xv6-New-System-Call---Screenshot | 0 | 173707 | <filename>p2/xv6/grep.asm
_grep: file format elf32-i386
Disassembly of section .text:
00000000 <matchstar>:
return 0;
}
// matchstar: search for c*re at beginning of text
int matchstar(int c, char *re, char *text)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 57... |
config/raycast/scripts/open_finder_from_iterm.applescript | japanese-goblinn/DotfilesPlusPlus | 0 | 4357 | <gh_stars>0
#!/usr/bin/osascript
# @raycast.schemaVersion 1
# @raycast.icon 📟
# @raycast.title Open Current iTerm Directory in Finder
# @raycast.packageName Utils
# @raycast.mode silent
tell application "iTerm"
tell the current session of current window
write text "open -a Finder ./"
end tell
end tell
|
kernel/src/interrupts/syscall.asm | Tangent-Project/Tangent-OS | 6 | 8782 | <filename>kernel/src/interrupts/syscall.asm
extern syscall_handler
global syscall_gate
%macro pushall 0
push eax
push ecx
push ebx
push edx
push edi
push esi
push ebp
%endmacro
%macro popall 0
pop ebp
pop esi
pop edi
pop edx
pop ebx
pop ecx
pop eax
%endmacro
syscall_gate:
cli
... |
Klient/yatzy_graphics_package.ads | albinjal/Ada_Project | 4 | 14960 | with Klient_assets_package; use Klient_assets_package;
--graphics
package Yatzy_graphics_package is
--remove after tests
--type Protocoll_Type is
-- array(1..15) of Integer;
procedure update_protocoll(X_Start, Y_Start: in Integer; prot1, prot2: in Protocoll_Type; Which_Protocoll_Or_Both: in Integer; Other_C... |
examples/outdated-and-incorrect/iird/Proof/Setup.agda | asr/agda-kanso | 1 | 8168 | <filename>examples/outdated-and-incorrect/iird/Proof/Setup.agda
module Proof.Setup where
import LF
import IIRD
import IIRDr
import DefinitionalEquality
import Identity
open LF
open IIRD
open IIRDr
open DefinitionalEquality
open Identity
-- Given a code for a general IIRD we should give a code for a restricted IIRD.... |
data/items/guard_drink_items.asm | opiter09/ASM-Machina | 1 | 93258 | GuardDrinksList:
db FRESH_WATER
db SODA_POP
db LEMONADE
db 0 ; end
|
helloworld/macros_system.asm | yevgeniy-logachev/nesdev | 1 | 242468 | PPUInit .macro
LDA #%10010000 ; enable NMI, sprites from Pattern Table 0, background from Pattern Table 1
STA $2000
LDA #%00011110 ; enable sprites, enable background, no clipping on left side
STA $2001
.endm
; Wait for vertical blanking
VBlankWait .macro
VWait\@:
BIT $2002
BPL VWait\@
.endm
|
03_types/practica_3-suma_filas.adb | hbarrientosg/cs-mp | 0 | 728 | separate(practica_3)
--Esta es la funcion que suma los elementos de la columna de una matriz y los guarda en un vector
function Suma_Filas(M:Matriz) return Vector is
v:vector(M'range(2));
begin
for i in M'Range(2) loop
v(I):=m(1,i);--en el vector guardo el primer elemento de la columna la matriz
for j in 2..M'last l... |
thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/threadwin.adb | Lucretia/old_nehe_ada95 | 0 | 29922 |
-- ----------------------------------------------------------------- --
-- --
-- This is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU General Public --
-- License as published by the ... |
source/web/spikedog/core/matreshka-servlet_http_responses.adb | svn2github/matreshka | 24 | 23114 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
programs/oeis/074/A074149.asm | karttu/loda | 1 | 11757 | <reponame>karttu/loda
; A074149: Sum of terms in each group in A074147.
; 1,6,15,36,65,114,175,264,369,510,671,876,1105,1386,1695,2064,2465,2934,3439,4020,4641,5346,6095,6936,7825,8814,9855,11004,12209,13530,14911,16416,17985,19686,21455,23364,25345,27474,29679,32040,34481,37086,39775,42636,45585,48714,51935,55344,5884... |
gfx.asm | ISSOtm/Aevilia-GB | 53 | 179974 |
INCLUDE "macros.asm"
INCLUDE "constants.asm"
INCLUDE "gfx/routines.asm"
INCLUDE "gfx/palettes.asm"
INCLUDE "gfx/tiles.asm"
INCLUDE "gfx/font.asm"
|
Windows/FastFind8.asm | clayne/FastExtrema | 6 | 1590 | <reponame>clayne/FastExtrema
; /*******************************************************************
; *
; * Author: <NAME>
; * <EMAIL>
; * https://github.com/komrad36
; *
; * Last updated Mar 12, 2021
; *******************************************************************/
_TEXT$FastFind8 SEGMENT ALIGN(64)
... |
Versao_05_2013/Exemplos/Hello.asm | joaolucasp/Evil-Square | 1 | 3373 | <reponame>joaolucasp/Evil-Square
; Hello World - Escreve mensagem armazenada na memoria na tela
; ------- TABELA DE CORES -------
; adicione ao caracter para Selecionar a cor correspondente
; 0 branco 0000
; 255 marrom 0001
; 512 verde 0010
; 768 oliva 0011
; 1024 azul marinho 0100
; 1280 ro... |
test/interaction/Issue4835/ModB.agda | shlevy/agda | 1,989 | 14909 | module Issue4835.ModB where
data B : Set where
b : B -> B
|
agda-stdlib/src/Relation/Binary/Bundles.agda | DreamLinuxer/popl21-artifact | 5 | 197 | <reponame>DreamLinuxer/popl21-artifact
------------------------------------------------------------------------
-- The Agda standard library
--
-- Bundles for homogeneous binary relations
------------------------------------------------------------------------
-- The contents of this module should be accessed via `Rel... |
src/macro.asm | onslaught-demogroup/ons_paddo_music_disk | 0 | 101651 | <reponame>onslaught-demogroup/ons_paddo_music_disk
.macro ldaStaMany(value, address, quantity, step){
lda #value
.for(var i=0;i<quantity;i+=step){
sta address + i
}
}
|
alloy4fun_models/trashltl/models/9/jKRBReGEM8z5GNuwX.als | Kaixi26/org.alloytools.alloy | 0 | 2505 | <filename>alloy4fun_models/trashltl/models/9/jKRBReGEM8z5GNuwX.als
open main
pred idjKRBReGEM8z5GNuwX_prop10 {
always all f:File | f in Protected implies after always f in Protected
}
pred __repair { idjKRBReGEM8z5GNuwX_prop10 }
check __repair { idjKRBReGEM8z5GNuwX_prop10 <=> prop10o } |
src/day-5/adventofcode-day_5.ads | persan/advent-of-code-2020 | 0 | 5576 | <gh_stars>0
-- --- Day 5: Binary Boarding ---
--
-- You board your plane only to discover a new problem: you dropped your boarding pass!
-- You aren't sure which seat is yours, and all of the flight attendants are busy with
-- the flood of people that suddenly made it through passport control.
--
-- You write a qu... |
src/kernel/scheduler/usermode_helper.asm | martinszeltins/vertex | 0 | 25609 | global switch_to_user
switch_to_user:
; Turn off interrupts
; Setup data segment(remember, a selector is an offset into the gdt table, user data is the 4th segment(counting from 0), so cs = 4 * 8 = 24 = 0x20, 0x20+3(rpl) = 0x23)
mov ax, 0x23
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
p... |
libsrc/_DEVELOPMENT/adt/wa_priority_queue/c/sccz80/wa_priority_queue_data.asm | jpoikela/z88dk | 640 | 8038 | <filename>libsrc/_DEVELOPMENT/adt/wa_priority_queue/c/sccz80/wa_priority_queue_data.asm
; void *wa_priority_queue_data(wa_priority_queue_t *q)
SECTION code_clib
SECTION code_adt_wa_priority_queue
PUBLIC wa_priority_queue_data
EXTERN asm_wa_priority_queue_data
defc wa_priority_queue_data = asm_wa_priority_queue_dat... |
bossaliases.als | blockchainhelppro/Bitcoin-Escrow-Application | 0 | 239 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; bossaliases.als
;;;; Last updated: 06/15/18
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; This function will pick a
; random boss type
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
get... |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_4265_2084.asm | ljhsiun2/medusa | 9 | 171347 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x17b6f, %r9
nop
add $21053, %r10
movl $0x61626364, (%r9)
and %r9, %r9
lea addresses_UC_ht+0xa36f, %rsi
lea addresses_D_ht+0x112d7, %rdi
nop
inc %r15
mov $109, %... |
src/graphml_writers.adb | TNO/Dependency_Graph_Extractor-Ada | 0 | 28455 | <filename>src/graphml_writers.adb
pragma Assertion_Policy (Check);
with Ada.Strings.Fixed;
package body GraphML_Writers is
package S_F renames Ada.Strings.Fixed;
use type S_U.Unbounded_String;
function "+" (Str : String) return S_U.Unbounded_String is
(S_U.To_Unbounded_String (Str));
NODE_TAG : c... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c97112a.ada | best08618/asylo | 7 | 25392 | <reponame>best08618/asylo
-- C97112A.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 contai... |
programs/oeis/269/A269777.asm | karttu/loda | 0 | 15674 | ; A269777: Number of length-5 0..n arrays with every repeated value unequal to the previous repeated value plus one mod n+1.
; 24,222,984,3060,7680,16674,32592,58824,99720,160710,248424,370812,537264,758730,1047840,1419024,1888632,2475054,3198840,4082820,5152224,6434802,7960944,9763800,11879400,14346774,17208072,205086... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_1701.asm | ljhsiun2/medusa | 9 | 19569 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r15
push %rax
push %rdi
push %rdx
lea addresses_UC_ht+0x1e6d0, %rdi
nop
nop
add $62061, %r10
movups (%rdi), %xmm4
vpextrq $1, %xmm4, %rax
nop
nop
nop
nop
sub %rdx, %rdx
lea addresses_D_ht+0x46f8, %r11
nop
nop
sub %r12, %r12
... |
oeis/218/A218991.asm | neoneye/loda-programs | 11 | 29812 | ; A218991: Power floor sequence of 3+sqrt(10).
; Submitted by <NAME>(s4)
; 6,36,221,1361,8386,51676,318441,1962321,12092366,74516516,459191461,2829665281,17437183146,107452764156,662153768081,4080375372641,25144406003926,154946811396196,954825274381101,5883898457682801,36258216020477906,223433194580550236,1376857383503... |
main/Coequalizers/Definition.agda | awswan/nielsenschreier-hott | 0 | 8081 | <gh_stars>0
{-# OPTIONS --without-K --exact-split --rewriting #-}
open import lib.Basics
open import lib.PathOver
open import lib.PathGroupoid
open import lib.types.Pushout
open import lib.types.Span
open import lib.types.Coproduct
open import lib.types.Sigma
open import Graphs.Definition hiding (π₀ ; π₁)
open impor... |
src/buffer_package.ads | MorganPeterson/avi-editor | 0 | 25053 | package Buffer_Package is
NONE : Integer := Integer'Size - 1;
type Pos is record
L : Integer;
C : Integer;
end record;
type Tag is record
P1 : Pos;
P2 : Pos;
V : Integer;
end record;
type Tag_Type is (
VIRTCURS,
HIGHLIGHT,
BLOCK,
TAG_MAX);
... |
src/Ada/ewok-dma-interfaces.adb | wookey-project/ewok-legacy | 0 | 21998 | --
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <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... |
unix/inet-internal-unix_sockets.adb | annexi-strayline/ASAP-INET | 0 | 6198 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- Internet Protocol Suite Package --
-- ... |
programs/oeis/219/A219788.asm | jmorken/loda | 1 | 21439 | <reponame>jmorken/loda
; A219788: Consider the succession rule (x, y, z) -> (z, y+z, x+y+z). Sequence gives z values starting at (0, 1, 2).
; 2,3,8,17,39,87,196,440,989,2222,4993,11219,25209,56644,127278,285991,642616,1443945,3244515,7290359,16381288,36808420,82707769,185842670,417584689,938304279,2108350577,4737420744... |
src/main/antlr4/RuleSet.g4 | dassana-io/rule-engine | 2 | 2419 | grammar RuleSet;
options {
language = Java;
}
@header { //parser
package app.dassana.rules;
import app.dassana.rules.RuleSetListener;
import app.dassana.rules.RuleSetParser;
}
rule_set : single_rule (NEWLINE single_rule)* EOF ;
single_rule : logical_expr RULECOMMENT? ;
logical_expr : LPAREN logical_... |
oeis/037/A037494.asm | neoneye/loda-programs | 11 | 98677 | <reponame>neoneye/loda-programs
; A037494: Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 2,1.
; Submitted by <NAME>(s2)
; 2,19,173,1558,14024,126217,1135955,10223596,92012366,828111295,7453001657,67077014914,603693134228,5433238208053,48899143872479,440092294852312,39608306... |
ruby-antlr-hash-2-json/src/main/antlr/ua/k/co/play/rah2j/Enum.g4 | msangel/playground | 0 | 6388 | grammar Enum;
@parser::members {public static boolean java5;}
prog: ( stat
| enumDecl
)+
;
stat: id '=' expr ';' {System.out.println($id.text+"="+$expr.text);} ;
expr
: id
| INT
;
enumDecl
: {java5}? 'enum' name=id '{' id (',' id)* '}'
{System.out.println("e... |
tests/exec/put.adb | xuedong/mini-ada | 0 | 8571 | <reponame>xuedong/mini-ada
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is
begin
Put('A');
New_Line;
end;
|
Install Focus PF Search Field.applescript | sptim/Focus-PF-Search-Field | 1 | 1589 | <reponame>sptim/Focus-PF-Search-Field<filename>Install Focus PF Search Field.applescript
(*
Save as Application / Script Bundle
Include payload.kmmacros and payload.zip in Resources
payload.zip contains
- Library/Scripts/Applications/Path Finder/Focus PF Search Field.scpt
- Library/Services/Focus PF Search Fiel... |
programs/oeis/228/A228698.asm | neoneye/loda | 22 | 98871 | <reponame>neoneye/loda
; A228698: a(n) = 8*Product{i=1..n} p(i) - 1, where p(i) = i-th odd prime.
; 7,23,119,839,9239,120119,2042039,38798759,892371479,25878772919,802241960519,29682952539239,1217001054108839,52331045326680119,2459559130353965639,130356633908760178919,7691041400616850556279,469153525437627883933079,314... |
firmware/coreboot/3rdparty/libgfxinit/common/haswell/hw-gfx-gma-connectors-ddi-buffers.adb | fabiojna02/OpenCellular | 1 | 14459 | --
-- Copyright (C) 2017 secunet Security Networks AG
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- This ... |
2019/Compiladores1/trabalhos/T2/src/trabalho2/Luazinha.g4 | LorhanSohaky/UFSCar | 1 | 7735 | grammar Luazinha;
programa : trecho
;
trecho : (comando ';'?)* (ultimocomando ';'?)?
;
bloco : trecho
;
comando : listavar '=' listaexp #comandoAtribuicao
| chamadadefuncao #comandoChamadaDeFuncao
| 'do' bloco 'end' #comandoDo
| 'while' exp 'do' bloco 'end' #comando... |
source/containers/a-cgarso.ads | ytomino/drake | 33 | 17367 | <gh_stars>10-100
pragma License (Unrestricted);
generic
type Index_Type is (<>);
type Element_Type is private;
type Array_Type is array (Index_Type range <>) of Element_Type;
with function "<" (Left, Right : Element_Type) return Boolean is <>;
procedure Ada.Containers.Generic_Array_Sort (Container : in out ... |
citeproc-java/grammars/InternalPage.g4 | StefanHagel/citeproc-java | 0 | 7722 | <filename>citeproc-java/grammars/InternalPage.g4
// Copyright 2013 <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
//
// Unless... |
src/test/resources/data/potests/test25.asm | cpcitor/mdlz80optimizer | 36 | 8217 | ; Test case: see if macro expansions with labels work as expected (notice that the code generated by this will be garbage, but it's ok, it's just a test)
mymacro: macro ?basemacro
base: ?basemacro
or a
jr z,macrolabel2
macrolabel1:
ld b,1
jr macrolabel3
macrolabel2:
ld b,2
macrolabel3:
ld a,(base.data)
endm
... |
oeis/062/A062283.asm | neoneye/loda-programs | 11 | 26364 | <filename>oeis/062/A062283.asm
; A062283: Table by antidiagonals of floor[ n^k / k^n ].
; Submitted by <NAME>(w2)
; 1,0,2,0,1,3,0,0,1,4,0,1,1,1,5,0,1,1,0,0,6,0,1,1,1,0,0,7,0,2,3,1,0,0,0,8,0,4,6,3,1,0,0,0,9,0,6,12,6,2,0,0,0,0,10,0,10,27,16,4,1,0,0,0,0,11,0,16,59,39,11,2,0,0,0,0,0,12,0,28,133,104,33,6,1,0,0,0,0,0,13,0,48... |
programs/oeis/082/A082863.asm | neoneye/loda | 22 | 18951 | ; A082863: Number of distinct prime factors of n^2-1.
; 1,1,2,2,2,2,2,2,2,3,2,3,3,2,3,2,2,3,3,3,3,3,2,3,2,3,2,4,2,3,3,2,4,3,3,3,3,3,3,4,2,4,3,3,3,3,2,3,3,3,3,3,3,3,4,3,3,4,2,4,3,2,4,3,3,4,3,4,3,4,2,3,3,3,4,4,3,4,2,3,2,4,3,4,4,3,3,4,3,4,4,3,4,3,3,3,3,3,3,4
add $0,2
pow $0,2
sub $0,2
seq $0,1221 ; Number of distinct pri... |
orka/src/orka/implementation/egl/orka-contexts-egl.adb | onox/orka | 52 | 1307 | -- 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
-... |
orka/src/orka/implementation/orka-simulation_jobs.adb | onox/orka | 52 | 22205 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2018 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
-... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_569.asm | ljhsiun2/medusa | 9 | 243185 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xd935, %rsi
lea addresses_UC_ht+0x1903d, %rdi
inc %rdx
mov $60, %rcx
rep movsq
nop
nop
nop
nop
cmp %r14, %r14
lea addresses_normal_ht+0x1cc85, %rsi
lea addresses_normal_h... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.