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/033/A033567.asm | karttu/loda | 1 | 104536 | <gh_stars>1-10
; A033567: a(n) = (2*n-1)*(4*n-1).
; 1,3,21,55,105,171,253,351,465,595,741,903,1081,1275,1485,1711,1953,2211,2485,2775,3081,3403,3741,4095,4465,4851,5253,5671,6105,6555,7021,7503,8001,8515,9045,9591,10153,10731,11325,11935,12561,13203,13861,14535,15225,15931,16653,17391,18145,18915,19701,20503,21321,2215... |
src/imagefilters.ads | sebsgit/textproc | 0 | 20563 | <filename>src/imagefilters.ads
with PixelArray;
package ImageFilters is
type Kernel is array (Natural range <>) of Float;
function generateKernel(size: Positive; sigma: Float) return Kernel;
function gaussian(image: PixelArray.ImagePlane; size: Positive; sigma: Float) return PixelArray.ImagePlane;
end ImageF... |
alloy4fun_models/trainstlt/models/8/xQ7ScDyCesEk4Peiz.als | Kaixi26/org.alloytools.alloy | 0 | 4027 | open main
pred idxQ7ScDyCesEk4Peiz_prop9 {
always ( all t:Train | some Track implies eventually (some t.pos :> Entry) )
}
pred __repair { idxQ7ScDyCesEk4Peiz_prop9 }
check __repair { idxQ7ScDyCesEk4Peiz_prop9 <=> prop9o } |
src/printf.asm | MarioSieg/Utilitiy-Routines | 1 | 96175 | <reponame>MarioSieg/Utilitiy-Routines<filename>src/printf.asm
.extern printf
.data
msg: .asciz "Hey!"
fmt: .asciz "The string is: %s\n"
fmt2: .asciz "X is: %lld\n"
fmt3: .asciz "PI is: %f\n"
val: .quad 123456789
pi: .double 3.1415
.text
.globl main
main:
pushq %rbp # prologue
movq %rsp, %rbp # p... |
Appl/GeoCalc/Main/mainInit.asm | steakknife/pcgeos | 504 | 102935 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Init
FILE: mainInit.asm
AUTHOR: <NAME>, Feb 19, 1990
ROUTINES:
Name Description
---- -----------
GeoCalcOpenApplication MSG_GEN_PROCESS_O... |
lab02/lab2/boat.asm | ahchu1993/opsys | 0 | 244099 | <reponame>ahchu1993/opsys
_boat: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
void CannibalArrives();
void RowBoat();
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $... |
data/jpred4/jp_batch_1613899824__TnwHgxO/jp_batch_1613899824__TnwHgxO.als | jonriege/predict-protein-structure | 0 | 5162 | SILENT_MODE
BLOCK_FILE jp_batch_1613899824__TnwHgxO.concise.blc
MAX_NSEQ 355
MAX_INPUT_LEN 357
OUTPUT_FILE jp_batch_1613899824__TnwHgxO.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75
DEFINE_FONT 7 Helvetica REL 0.6
DEFINE_FO... |
src/servlet-rest-operation.ads | My-Colaborations/ada-servlet | 6 | 6930 | -----------------------------------------------------------------------
-- servlet-rest-operation -- REST API Operation Definition
-- Copyright (C) 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with... |
oeis/120/A120293.asm | neoneye/loda-programs | 11 | 168091 | <reponame>neoneye/loda-programs
; A120293: Absolute value of numerator of determinant of n X n matrix with M(i,j) = (i+1)/(i+2) if i=j otherwise 1.
; Submitted by <NAME>
; 2,1,11,17,1,1,41,17,31,37,29,101,29,1,149,167,31,103,227,83,1,37,107,347,1,67,431,461,41,131,557,197,313,331,233,67,97,1,857,1,157,1,1031,359,281,29... |
programs/oeis/309/A309294.asm | karttu/loda | 0 | 105119 | ; A309294: (1/2) times the sum of the elements of all subsets of [n] whose sum is divisible by two.
; 0,0,1,6,20,60,168,448,1152,2880,7040,16896,39936,93184,215040,491520,1114112,2506752,5603328,12451840,27525120,60555264,132644864,289406976,629145600,1363148800,2944401408,6341787648,13623099392,29192355840,62411243520... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_4212_305.asm | ljhsiun2/medusa | 9 | 94692 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %r9
push %rdi
lea addresses_normal_ht+0x3c07, %r8
nop
cmp $35589, %r10
vmovups (%r8), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq $1, %xmm6, %rdi
nop
nop
nop
nop
nop
xor $33261, %r9
pop %rdi
pop %r9
pop %r8
pop %r10
ret
.global s_f... |
Assembly/Project/Variables.asm | Myself086/Project-Nested | 338 | 90307 |
// Dummy constant to bypass an assembler bug
.def Zero 0x00
// ---------------------------------------------------------------------------
// Page summary (LoROM banks; 00-3f, 80-bf)
//*00 = NES RAM range
// 01 = "
//*02 = "
//*03 = "
//*04 = "
//*05 = "
//*06 = "
//*07 = "
// 08 = Extended RAM fo... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_case.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 32 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
ada_time.adb | micahwelf/ada_launch | 0 | 28222 | <gh_stars>0
with Ada.Text_IO;
with Ada.Streams;
with Ada.Characters.Latin_1;
with Ada.Text_IO.Text_Streams;
with Ada.Streams.Stream_IO;
with Ada.Calendar;
with Ada.Calendar.Time_Zones;
with Ada.Calendar.Formatting;
with Ada.Command_Line;
with GNAT.Calendar.Time_IO;
with GNAT.Regpat;
with GNAT.Formatted_String;
with Ada... |
agda-stdlib-0.9/src/Function/LeftInverse.agda | qwe2/try-agda | 1 | 901 | <reponame>qwe2/try-agda<filename>agda-stdlib-0.9/src/Function/LeftInverse.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Left inverses
------------------------------------------------------------------------
module Function.LeftInverse where
open impor... |
FormalAnalyzer/models/meta/cap_rapidCooling.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 1452 | <filename>FormalAnalyzer/models/meta/cap_rapidCooling.als
// filename: cap_rapidCooling.als
module cap_rapidCooling
open IoTBottomUp
one sig cap_rapidCooling extends Capability {}
{
attributes = cap_rapidCooling_attr
}
abstract sig cap_rapidCooling_attr extends Attribute {}
one sig cap_rapidCooling_attr_rapidCooli... |
programs/oeis/187/A187180.asm | neoneye/loda | 22 | 89152 | <reponame>neoneye/loda<filename>programs/oeis/187/A187180.asm
; A187180: Parse the infinite string 0101010101... into distinct phrases 0, 1, 01, 010, 10, ...; a(n) = length of n-th phrase.
; 1,1,2,3,2,3,4,5,4,5,6,7,6,7,8,9,8,9,10,11,10,11,12,13,12,13,14,15,14,15,16,17,16,17,18,19,18,19,20,21,20,21,22,23,22,23,24,25,24,... |
programs/oeis/140/A140788.asm | karttu/loda | 1 | 241470 | ; A140788: a(n) = 6*4^n + 2.
; 8,26,98,386,1538,6146,24578,98306,393218,1572866,6291458,25165826,100663298,402653186,1610612738,6442450946,25769803778,103079215106,412316860418,1649267441666,6597069766658,26388279066626,105553116266498,422212465065986,1688849860263938,6755399441055746
mov $1,4
pow $1,$0
mul $1,6
add $... |
ioq3/build/release-js-js/baseq3/ui/ui_playersettings.asm | RawTechnique/quake-port | 1 | 19047 | data
align 4
LABELV gamecodetoui
byte 4 4
byte 4 2
byte 4 3
byte 4 0
byte 4 5
byte 4 1
byte 4 6
align 4
LABELV uitogamecode
byte 4 4
byte 4 6
byte 4 2
byte 4 3
byte 4 1
byte 4 5
byte 4 7
align 4
LABELV handicap_items
address $69
address $70
address $71
address $72
address $73
address $74
address $75
address $76
address... |
Applications/Terminal/window/tab/selected tab.applescript | looking-for-a-job/applescript-examples | 1 | 506 | <filename>Applications/Terminal/window/tab/selected tab.applescript<gh_stars>1-10
tell application "Terminal"
tell front window
get properties of selected tab
end tell
end tell |
MSDOS/Virus.MSDOS.Unknown.satnlh.asm | fengjixuchui/Family | 3 | 2222 | <gh_stars>1-10
; Virus
; Satan's Little Helper-C
;This version:
;Searches current directory for non-infected com files, if any found
;it will become infected!
;This virus has a routine which self-destructs itself and uninfects
;the file.
assume cs:code
.286
code segment "code"
org 0100h
start proc
jmp v_start ;... |
.bin/iterm.scpt | Croxed/dotfiles | 2 | 891 | tell application "iTerm2"
create window with default profile
end tell
|
src/el-functions-namespaces.ads | jquorning/ada-el | 6 | 8225 | -----------------------------------------------------------------------
-- el-functions-namespaces -- Namespace function mapper
-- Copyright (C) 2011, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance w... |
source/slim-menu_commands-play_file_commands.ads | reznikmm/slimp | 0 | 20099 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Slim.Players;
with League.String_Vectors;
with League.Strings;
package Slim.Menu_Commands.Play_File_Commands is
type Play_File_Command
(... |
tests/syntax_examples/src/basic_declaration.adb | TNO/Dependency_Graph_Extractor-Ada | 1 | 24104 | <reponame>TNO/Dependency_Graph_Extractor-Ada
package body Basic_Declaration is
task body Type_Declaration_Name_5 is
Cons_3 : constant := 42;
begin
null;
end Type_Declaration_Name_5;
protected body Type_Declaration_Name_6 is
entry Entry_Declaration_Name(for Entry_Index_Specification_Na... |
src/src/c/borlandc/dpmi32/dosext.asm | amindlost/wdosx | 7 | 26353 | .386
.model flat,C
PUBLIC dosexterr
include dpmi32.inc
EXTRN __WDOSXRmRegs:RmCallStruc
.code
dosexterr proc near
push ebx
push edi
mov __WDOSXRmRegs._ah,59h
mov __WDOSXRmRegs._bx,0
sub ecx,ecx
lea edi,__WDOSXRmRegs
mov bl,21h
mov eax,300h
int 31h
pop edi
pop ebx
mov edx,[esp+4]
mov eax,__WDOSXRmRe... |
src/Parser/Mxstar.g4 | XunZhiyang/Mxstar-Compiler | 1 | 646 | <gh_stars>1-10
grammar Mxstar;
@header {
package Parser;
}
program
: programFragment*
;
programFragment
: functionDeclaration
| classDeclaration
| varDeclaration
;
classDeclaration
: 'class' Identifier '{' (varDeclaration | functionDeclaration | constructorDeclaration)* '}' ';'... |
tests/ships-test_data-tests-proto_crew_container.ads | thindil/steamsky | 80 | 3293 | <reponame>thindil/steamsky<gh_stars>10-100
package Ships.Test_Data.Tests.Proto_Crew_Container is
end Ships.Test_Data.Tests.Proto_Crew_Container;
|
paplj/src/main/antlr/com/virtlink/paplj/syntax/PapljAntlrLexer.g4 | Virtlink/aesi | 1 | 1705 | lexer grammar PapljAntlrLexer;
@header {
package com.virtlink.paplj.syntax;
}
channels {
WHITESPACE,
COMMENTS
}
PROGRAM : 'program';
RUN : 'run';
IMPORT : 'import';
CLASS : 'class';
EXTENDS : 'extends';
IF : 'if';
ELSE : 'else';
LET : 'let';
IN : 'in... |
ffight/lcs/enemy/A0.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 24360 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data
copyright zengfr site:http://github.com/zengfr/romhack
009ACA dbra D5, $9ac8
022AEA move.l #$10000, ($a4,A6) [enemy+A0, enemy+A2]
022B40 move.l #$10000, ($a4,A6) [enemy+A0, enemy+A2]
022B70 move.l #$cc00, ($a4,A6) [enemy+A0, enemy+A2]
02ADCC... |
tools-src/gnu/gcc/gcc/ada/a-ngelfu.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 959 | ------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
oeis/133/A133534.asm | neoneye/loda-programs | 11 | 2781 | <filename>oeis/133/A133534.asm
; A133534: Sum of third powers of two consecutive primes.
; Submitted by <NAME>(s2)
; 35,152,468,1674,3528,7110,11772,19026,36556,54180,80444,119574,148428,183330,252700,354256,432360,527744,658674,746928,882056,1064826,1276756,1617642,1942974,2123028,2317770,2520072,2737926,3491280,42964... |
oeis/115/A115359.asm | neoneye/loda-programs | 11 | 84271 | ; A115359: Matrix (1,x)-(x,x^2) in Riordan array notation.
; Submitted by <NAME>
; 1,-1,1,0,0,1,0,-1,0,1,0,0,0,0,1,0,0,-1,0,0,1,0,0,0,0,0,0,1,0,0,0,-1,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,-1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,-1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,-1,0,0
seq $0,54531 ; Triangular arr... |
models/tests/test39.als | transclosure/Amalgam | 4 | 567 | module tests/test
open util/ternary as ut
sig A {x:A->A, y:A->A, z:A->A}
sig D {}
pred example {
dom[x]!=mid[x]
mid[x]!=ran[x]
select12[x]!=select23[y]
select12[x]!=select13[z]
flip12[x]!=flip13[y]
flip12[x]!=flip23[z]
}
run example for 3 but exactly 0 D
run example for 3 but exactly 5 D
run example fo... |
oeis/005/A005251.asm | neoneye/loda-programs | 11 | 24288 | ; A005251: a(0) = 0, a(1) = a(2) = a(3) = 1; thereafter, a(n) = a(n-1) + a(n-2) + a(n-4).
; Submitted by <NAME>(s1.)
; 0,1,1,1,2,4,7,12,21,37,65,114,200,351,616,1081,1897,3329,5842,10252,17991,31572,55405,97229,170625,299426,525456,922111,1618192,2839729,4983377,8745217,15346786,26931732,47261895,82938844,145547525,255... |
test/Fail/Issue2892.agda | cruhland/agda | 1,989 | 7290 | <gh_stars>1000+
open import Agda.Builtin.Equality
test : (A : Set) (x y : A) → x ≡ y → Set
test A .y y refl with A
test A .y y refl | X = ?
-- Jesper, 2018-12-03, issue #2892:
-- Error message is:
-- Ill-typed pattern after with abstraction: y
-- (perhaps you can replace it by `_`?)
-- when checking that t... |
src/arch/i686/task/task.asm | miklhh/os4 | 3 | 171954 | ;
; Part of OS4, task.asm
; Author: <NAME>, miklhh
;
; Task switch routine.
; C prototype:
; -- void task_switch(uintptr_t* new_stack, uintptr_t* old_stack)
; This routine is to be called by an interrupt routine starting with the 'pusha'
; instruction and ending with the 'popa' instruction.
global task_switch
task_... |
adium/ASUnitTests/GetServiceName.applescript | sin-ivan/AdiumPipeEvent | 0 | 1429 | <reponame>sin-ivan/AdiumPipeEvent
global HandyAdiumScripts
on run
tell application "Adium"
if (get name of service "AIM") is not "AIM" then error
end tell
end run |
source/oasis/program-elements-discrete_ranges.ads | reznikmm/gela | 0 | 28489 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Element_Vectors;
with Program.Elements.Definitions;
package Program.Elements.Discrete_Ranges is
pragma Pure (Program.Elements.Discrete_Ranges);
type ... |
source/lexer/program-scanned_rule_handlers.ads | reznikmm/gela | 0 | 23199 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
limited with Program.Scanners;
with Program.Scanner_Destinations;
with Program.Scanner_States;
package Program.Scanned_Rule_Handlers is
pragma Pure;
type Handler i... |
oeis/227/A227139.asm | neoneye/loda-programs | 11 | 177247 | <reponame>neoneye/loda-programs
; A227139: Chebyshev S-polynomial evaluated at x = 48.
; Submitted by <NAME>(s4)
; 1,48,2303,110496,5301505,254361744,12204062207,585540624192,28093745899009,1347914262528240,64671790855456511,3102898046799384288,148874434455514989313,7142869955817920102736,342708883444804649942015
mov ... |
test/same-dest.asm | kspalaiologos/asmbf | 67 | 15776 | txt "abcd"
rcl r1, r1
out r1
|
smsq/qpc/spp/par.asm | olifink/smsqe | 0 | 104226 | ; QPC PAR device definition V2.10 1999 <NAME>
; 2000 <NAME>
section spp
xdef qpc_pardef
xref gu_achpp
include 'dev8_keys_serparprt'
include 'dev8_smsq_qpc_keys'
include 'dev8_mac_vecx'
include 'dev8_mac_assert'
;+++
; PAR driver definition
;
;---
qpc_pardef
vec qpd_check
vec qpd_vector
vec qpd_pre... |
programs/oeis/200/A200746.asm | neoneye/loda | 22 | 29620 | <gh_stars>10-100
; A200746: Completely multiplicative function with a(prime(k)) = prime(k)*prime(k-1), a(2) = 2.
; 1,2,6,4,15,12,35,8,36,30,77,24,143,70,90,16,221,72,323,60,210,154,437,48,225,286,216,140,667,180,899,32,462,442,525,144,1147,646,858,120,1517,420,1763,308,540,874,2021,96,1225,450,1326,572,2491,432,1155,28... |
tlsf/src/proof/model/tlsf-proof-model-context.ads | vasil-sd/ada-tlsf | 3 | 8160 | with TLSF.Block.Types;
with TLSF.Context;
with TLSF.Proof.Model.Block;
package TLSF.Proof.Model.Context with
SPARK_Mode,
Ghost,
Abstract_State => (State)
is
package BT renames TLSF.Block.Types;
package TC renames TLSF.Context;
package MB renames TLSF.Proof.Model.Block;
use type BT.Address;
use typ... |
libsrc/_DEVELOPMENT/z80/c/sccz80/im2_append_generic_callback.asm | meesokim/z88dk | 0 | 25860 |
; void im2_append_generic_callback(uint8_t vector, void *callback)
SECTION code_z80
PUBLIC im2_append_generic_callback
EXTERN asm_im2_append_generic_callback
im2_append_generic_callback:
pop af
pop de
pop hl
push hl
push de
push af
jp asm_im2_append_generic_callback
|
apps/hello5.asm | yosswi414/HariboteOS_USB | 0 | 166904 | [BITS 32]
GLOBAL HariMain
[SECTION .text]
HariMain:
MOV EDX, 2
MOV EBX, msg
INT 0x40
MOV EDX, 4
INT 0x40
[SECTION .data]
msg:
DB "hello, world", 0x0a, 0 |
programs/oeis/031/A031347.asm | karttu/loda | 0 | 15665 | ; A031347: Multiplicative digital root of n (keep multiplying digits of n until reaching a single digit).
; 0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,2,4,6,8,0,2,4,6,8,0,3,6,9,2,5,8,2,8,4,0,4,8,2,6,0,8,6,6,8,0,5,0,5,0,0,0,5,0,0,0,6,2,8,8,0,8,8,6,0,0,7,4,2,6,5,8,8,0,8,0,8,6,8,6,0,6,0,8,4,0,9,8,4,8,0,0,8,4,8,0,0,0,0,0,0,... |
source/interfaces/i-cwiwst.ads | ytomino/drake | 33 | 1190 | pragma License (Unrestricted);
-- extended unit
with Interfaces.C.Generic_Strings;
with Interfaces.C.WChar_Pointers;
package Interfaces.C.Wide_WStrings is
new Generic_Strings (
Character_Type => Wide_Character,
String_Type => Wide_String,
Element => wchar_t,
Element_Array => wchar_array,
... |
Transynther/x86/_processed/NONE/_un_/i9-9900K_12_0xa0.log_9_580.asm | ljhsiun2/medusa | 9 | 16199 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
lea addresses_D_ht+0xedcd, %r14
nop
add $26953, %r15
mov (%r14), %r13d
nop
nop
nop
nop
nop
xor %r15, %r15
pop %r15
pop %r14
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r9
push %rax
push %rbx
push %rdi
pu... |
examples/SPARK2005/packages/polypaver-floats.adb | michalkonecny/polypaver | 1 | 21338 | <filename>examples/SPARK2005/packages/polypaver-floats.adb
with Ada.Numerics,
Ada.Numerics.Elementary_Functions;
package body PolyPaver.Floats is
function Eps_Abs return Float is
begin
return 0.5**126;
end Eps_Abs;
function Eps_Rel return Float is
begin
return 0.5**22;
end Eps_Rel;
... |
Task/Globally-replace-text-in-several-files/Ada/globally-replace-text-in-several-files.ada | LaudateCorpus1/RosettaCodeData | 1 | 10177 | <filename>Task/Globally-replace-text-in-several-files/Ada/globally-replace-text-in-several-files.ada
with Ada.Strings.Unbounded, Ada.Text_IO, Ada.Command_Line, Ada.Directories;
procedure Global_Replace is
subtype U_String is Ada.Strings.Unbounded.Unbounded_String;
function "+"(S: String) return U_String renames... |
alloy4fun_models/trashltl/models/3/3rqLrkDZx3NRiBRaY.als | Kaixi26/org.alloytools.alloy | 0 | 3060 | open main
pred id3rqLrkDZx3NRiBRaY_prop4 {
some f:File | eventually f in Trash
}
pred __repair { id3rqLrkDZx3NRiBRaY_prop4 }
check __repair { id3rqLrkDZx3NRiBRaY_prop4 <=> prop4o } |
unit_tests/tests/metasprite.asm | undisbeliever/snesdev-common | 3 | 83963 | <reponame>undisbeliever/snesdev-common
.include "routines/metasprite.h"
; prevent compilation error
.export _MetaSprite_VBlank__Called = 1
.A8
.I16
PAGE_ROUTINE MetaSprite_1
Text_SetColor 4
Text_PrintStringLn "Meta Sprite Tests"
Text_NewLine
MetaSprite_Init
JSR Test_MetaSprite_ProcessSprite
JSR Test_MetaSpri... |
tests/tk-frame-frame_options_test_data.ads | thindil/tashy2 | 2 | 9551 | <filename>tests/tk-frame-frame_options_test_data.ads
-- This package is intended to set up and tear down the test environment.
-- Once created by GNATtest, this package will never be overwritten
-- automatically. Contents of this package can be modified in any way
-- except for sections surrounded by a 'read only'... |
Programs/Program15.asm | trivedi-vatsal/8085-programs | 2 | 170078 |
;Add the contents of memory locations 200h and 2001h and place the result in the memory locations 2002h 2003h.
LXI H,2000H ;HL Points 2000H
MOV A,M ;Get the first operand
INX H ;HL points to 2001H
ADD M ;Add second operand
INX H ;HL points to 2002H
MOV M,A ;Store lower byte of result at 2002H
... |
programs/oeis/074/A074068.asm | karttu/loda | 0 | 171387 | <reponame>karttu/loda
; A074068: Zigzag modulo 7.
; 1,2,3,10,9,8,7,6,5,4,17,16,15,14,13,12,11,24,23,22,21,20,19,18,31,30,29,28,27,26,25,38,37,36,35,34,33,32,45,44,43,42,41,40,39,52,51,50,49,48,47,46,59,58,57,56,55,54,53,66,65,64,63,62,61,60,73,72,71
mov $3,$0
add $3,1
mov $0,$3
lpb $0,1
sub $0,7
mov $2,$0
lpe
mov ... |
src/MC6840-PLAY/MC6840-PLAY.asm | kuninet/K65-SBC | 0 | 829 | ;
; MC6840 PLAY
; Universal Minitor for 6502
;
CPU 6502
TARGET: EQU "6502"
;
;;; Functions
low function x,(x & 255)
high function x,(x >> 8)
;
STROUT EQU $FF98
PT0 EQU $28
;
; MC6840 PTM Address
;
ORG $8030
PTM_CR13 RMB 1
PTM_CR2 RMB 1
PTM_MSBT1 RMB 1
PTM_T1LSB RMB 1
PTM_MSBT2 RMB 1
... |
agda/Enumeration.agda | mchristianl/synthetic-reals | 3 | 7604 | <filename>agda/Enumeration.agda<gh_stars>1-10
{-# OPTIONS --cubical --no-import-sorts --allow-unsolved-metas #-}
open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc)
open import Cubical.Relation.Nullary.Base -- ¬_
open import Cubical.Relation.Binary.Base -- Rel
open import Cubical.Data.... |
Proxy/version.asm | XionsProphecy-Software/MelonLoader | 1 | 170358 | <filename>Proxy/version.asm
ifdef RAX
.code
extern version_OriginalFuncs:QWORD
GetFileVersionInfoA proc
jmp QWORD ptr version_OriginalFuncs[0 * 8]
GetFileVersionInfoA endp
GetFileVersionInfoByHandle proc
jmp QWORD ptr version_OriginalFuncs[1 * 8]
GetFileVersionInfoByHandle endp
GetFileVersionInfoExA ... |
programs/oeis/016/A016996.asm | neoneye/loda | 22 | 86821 | <gh_stars>10-100
; A016996: a(n) = (7*n + 1)^4.
; 1,4096,50625,234256,707281,1679616,3418801,6250000,10556001,16777216,25411681,37015056,52200625,71639296,96059601,126247696,163047361,207360000,260144641,322417936,395254161,479785216,577200625,688747536,815730721,959512576,1121513121,1303210000,1506138481,1731891456,19... |
test/Fail/ClashingModuleImport.agda | shlevy/agda | 1,989 | 12003 | <reponame>shlevy/agda
-- Andreas, 2014-09-01 restored this test case
module ClashingModuleImport where
module M where
open import Imports.Module public
|
programs/oeis/101/A101304.asm | neoneye/loda | 22 | 3500 | <reponame>neoneye/loda<gh_stars>10-100
; A101304: a(n) = 2^(prime(n) + 1) + 1.
; 9,17,65,257,4097,16385,262145,1048577,16777217,1073741825,4294967297,274877906945,4398046511105,17592186044417,281474976710657,18014398509481985,1152921504606846977,4611686018427387905,295147905179352825857,4722366482869645213697
seq $0,4... |
src/libraries/Rewriters_Lib/src/predefined_rewriters.ads | Fabien-Chouteau/Renaissance-Ada | 0 | 14349 | <gh_stars>0
with Libadalang.Analysis; use Libadalang.Analysis;
with Libadalang.Common; use Libadalang.Common;
with Rejuvenation.Match_Patterns; use Rejuvenation.Match_Patterns;
with Rejuvenation.Patterns; use Rejuvenation.Patterns;
with Placeholder_Relations; use Placeholder_Relations;
... |
src/tileset14x16_0.asm | dma-homebrew/dhgr | 4 | 23603 | ;-----------------------------------------------------------------------------
; <NAME> - 2021
;-----------------------------------------------------------------------------
; Sample tiles
;-----------------------------------------------------------------------------
; Just a copy of the built-in tiles
.org $6000
... |
programs/oeis/254/A254627.asm | karttu/loda | 0 | 164300 | ; A254627: Indices of centered pentagonal numbers (A005891) that are also triangular numbers (A000217).
; 1,2,11,28,189,494,3383,8856,60697,158906,1089155,2851444,19544085,51167078,350704367,918155952,6293134513,16475640050,112925716859,295643364940,2026369768941,5305104928862,36361730124071,95196245354568,652484772464... |
Serializer/Fin.agda | mathijsb/generic-in-agda | 6 | 6043 | module Serializer.Fin where
open import Data.Fin hiding (_+_)
open import Data.Nat
open import Function using (_∘_ ; _$_ ; _∋_ ; id ; const)
open import Function.Bijection
open import Relation.Binary.PropositionalEquality using (_≡_ ; refl ; cong ; setoid )
open import Serializer
instance
serializerFin : ∀ {n} -> ... |
workflow/select.applescript | thepratik/alfred4-youtube-control | 0 | 4210 | <gh_stars>0
# Available argv:
# - missing value: return json as ScriptFilter
# - long: id of `CrTb` to select and return message if have
on run argv
# Prepare loader
set Loader to init(path to me as text) of (load script POSIX path of ((path to me as text) & "::") & "loader.scpt")
set selector to init(Loader... |
programs/oeis/047/A047357.asm | jmorken/loda | 1 | 29285 | <filename>programs/oeis/047/A047357.asm
; A047357: Numbers that are congruent to {0, 1, 3} mod 7.
; 0,1,3,7,8,10,14,15,17,21,22,24,28,29,31,35,36,38,42,43,45,49,50,52,56,57,59,63,64,66,70,71,73,77,78,80,84,85,87,91,92,94,98,99,101,105,106,108,112,113,115,119,120,122,126,127,129,133,134,136,140
mov $3,$0
add $3,1
mov $... |
agda-stdlib/src/Data/List/Relation/Binary/Sublist/Propositional/Disjoint.agda | DreamLinuxer/popl21-artifact | 5 | 6060 | <reponame>DreamLinuxer/popl21-artifact<filename>agda-stdlib/src/Data/List/Relation/Binary/Sublist/Propositional/Disjoint.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Sublist-related properties
-----------------------------------------------------------... |
Snippets/Get Keychain Password for Service.applescript | rogues-gallery/applescript | 360 | 301 | -- lightly modified version of script from https://apps.inspira.io/bluesense/en/applescript/
on getPassword(keychainItemName)
local password
set password to do shell script ("/usr/bin/security 2>&1 >/dev/null find-generic-password -gl " & quoted form of keychainItemName & " | cut -c 11-99 | sed 's/\"//g'")
if passw... |
sharding-core/src/main/antlr4/imports/OracleCreateTable.g4 | shaojie925/incubator-shardingsphere | 0 | 364 | grammar OracleCreateTable;
import OracleKeyword, Keyword, DataType, OracleCreateIndex, OracleTableBase, OracleBase, BaseRule, Symbol;
createTable
: CREATE (GLOBAL TEMPORARY)? TABLE tableName relationalTable
;
relationalTable
: (LP_ relationalProperties RP_)? (ON COMMIT (DELETE | PRESERVE) ROWS)? tabl... |
project1/src/main/antlr/CalculatorGrammarParser.g4 | emilyding0601/CSE373-SU18 | 0 | 7724 | parser grammar CalculatorGrammarParser;
options {
tokenVocab=CalculatorGrammarLexer;
}
program
: (statements+=statement)* EOF
;
statement
: varName=IDENTIFIER ASSIGN expr=addExpr LINE_BREAK # assignStmt
| expr=addExpr LINE_BREAK # exprStmt
;
addExpr
: left=... |
sharding-parser/src/main/antlr4/imports/SQLStatement.g4 | yangyuxin325/workshop20200415 | 0 | 1226 |
grammar SQLStatement;
import Symbol, Keyword, Literals;
use
: USE schemaName
;
schemaName
: identifier
;
insert
: INSERT INTO? tableName columnNames? VALUE assignmentValues
;
select
: SELECT selectColumnNames fromClause? whereClause?
;
selectColumnNames
: columnName (C... |
Gas/Dos/GC/Oxygen.asm | Gabidal/GAS_Pack | 1 | 98565 | <gh_stars>1-10
;THE GAS COMPILER READER TO TAKE AND MAKE THE TOKENS!
Lexer:
mov si, word oxSave[0]
getByte oxyString, buffer+si, ';'
pop si
mov oxSave[0], si
find Yw, oxyString, '('
jne noParenthesis
;GET PARENTHESIS
find Yw, oxyString, '('
je parenthesi
jne nonoParentheis
pare... |
awa/samples/src/atlas-microblog-modules.ads | Letractively/ada-awa | 7 | 25828 | -----------------------------------------------------------------------
-- atlas-microblog-modules -- Module microblog
-- Copyright (C) 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License... |
oeis/114/A114647.asm | neoneye/loda-programs | 11 | 1730 | <reponame>neoneye/loda-programs
; A114647: Expansion of (3 -4*x -3*x^2)/((1-x^2)*(1-2*x-x^2)); a Pellian-related sequence.
; Submitted by <NAME>
; 3,2,7,12,31,70,171,408,987,2378,5743,13860,33463,80782,195027,470832,1136691,2744210,6625111,15994428,38613967,93222358,225058683,543339720,1311738123,3166815962,7645370047,... |
Transynther/x86/_processed/US/_st_4k_/i7-7700_9_0x48_notsx.log_39_530.asm | ljhsiun2/medusa | 9 | 179837 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x9370, %r12
nop
nop
nop
nop
nop
sub %r8, %r8
mov (%r12), %r13w
nop
and $61042, %rdi
lea addresses_WT_ht+0x10f72, %rsi
lea addresses_normal_ht+0x8932, %rdi
nop
nop
nop
nop
dec %... |
1A/S5/PIM/projet/src/arbre_binaire.adb | MOUDDENEHamza/ENSEEIHT | 4 | 420 | <filename>1A/S5/PIM/projet/src/arbre_binaire.adb
--------------------------------------------------------------------------------
-- Fichier : arbre_binaire.adb
-- Auteur : <NAME> & <NAME>
-- Objectif : Implantation du module Arbre_Binaire.
-- Créé : <NAME> 25 2019
-------------------------------------------... |
oeis/180/A180664.asm | neoneye/loda-programs | 11 | 94221 | ; A180664: Golden Triangle sums: a(n) = a(n-1) + A001654(n+1) with a(0)=0.
; Submitted by <NAME>
; 0,2,8,23,63,167,440,1154,3024,7919,20735,54287,142128,372098,974168,2550407,6677055,17480759,45765224,119814914,313679520,821223647,2149991423,5628750623,14736260448,38580030722,101003831720
mov $2,1
mov $3,$0
mov $4,1
l... |
anteater/main.asm | bushy555/ZX-Spectrum-1-Bit-Routines | 59 | 17862 | ;AntEater - ZX Spectrum beeper engine
;by utz 08'2014
org #8000
init
di
ld hl,musicdata
ld (OrderPntr),hl
call readOrder
jr z,init
xor a
out (#fe),a
ld hl,#2758 ;restore alternative HL to default value
exx
ei
ret
;***************************************************************************... |
libsrc/_DEVELOPMENT/string/c/sdcc_iy/strlwr_fastcall.asm | jpoikela/z88dk | 640 | 163271 | <filename>libsrc/_DEVELOPMENT/string/c/sdcc_iy/strlwr_fastcall.asm
; char *strlwr_fastcall(char *s)
SECTION code_clib
SECTION code_string
PUBLIC _strlwr_fastcall
EXTERN asm_strlwr
defc _strlwr_fastcall = asm_strlwr
|
test/Fail/Issue4401.agda | shlevy/agda | 1,989 | 2882 | <gh_stars>1000+
{-# OPTIONS --cumulativity #-}
open import Agda.Builtin.Equality
mutual
_X : (Set → Set) → Set₁ → Set
_X f x = _
test : (f : Set₁ → Set) (x : Set₁) → _X f x ≡ f x
test f x = refl
Set' : Set
Set' = _X (λ X → X) Set
|
TP3/Alf.g4 | UPB-FILS-ALF/TP | 0 | 3433 | grammar Alf;
prog:;
NEWLINE : ([\r\n]+);
INT : ([0-9]+);
/* Exercice 5 */
WORD : ([A-Za-z]+);
PONCTUATION : ([,.?!:;']+);
WS : ([ ]+); |
duel-soundfx.asm | LeifBloomquist/ArtilleryDuel | 1 | 27516 | ; Sound Effects
;------------------------------------------------------------------------------
; Setup - clear sound chip and set maximum volume!
SOUND_SETUP
ldx #$00
txa
SETUP1
sta $d400,x
inx
cpx #$19
bne SETUP1
lda #$0f
sta $d418
rts
;---------------------------------------------------------... |
data/pokemon/evos_attacks_sinnoh.asm | AtmaBuster/pokeplat-gen2 | 6 | 11009 | <reponame>AtmaBuster/pokeplat-gen2<filename>data/pokemon/evos_attacks_sinnoh.asm<gh_stars>1-10
SECTION "Evolutions and Attacks 4", ROMX
EvosAttacksPointers4::
dw TurtwigEvosAttacks
dw GrotleEvosAttacks
dw TorterraEvosAttacks
dw ChimcharEvosAttacks
dw MonfernoEvosAttacks
dw InfernapeEvosAttacks
dw PiplupEvosAtta... |
test/Fail/non-theorems/Issue1/Functions.agda | asr/apia | 10 | 7409 | <gh_stars>1-10
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --without-K #-}
-- From the technical manual of TPTP
-- (http://www.cs.miami.edu/~tptp/TPTP/TR/TPTPTR.shtml)
-- ... variables start with upper case... |
src/test/ada/except.ads | cproc/genode-world | 2 | 13163 | <gh_stars>1-10
package Except
is
Test_Exception : exception;
procedure Do_Something;
procedure Do_Sth_2;
end Except;
|
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_21829_3115.asm | ljhsiun2/medusa | 9 | 164123 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1ea9, %r15
nop
nop
nop
nop
inc %r8
movups (%r15), %xmm7
vpextrq $0, %xmm7, %r14
nop
nop
nop
nop
xor $35980, %r11
lea addresses_WT_ht+0x... |
init.asm | eastclo/OS_3 | 0 | 2655 |
_init: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
char *argv[] = { "sh", 0 };
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %ebp
... |
libsrc/_DEVELOPMENT/stdio/z80/input_helpers/__stdio_scanf_lo.asm | meesokim/z88dk | 0 | 100156 | <gh_stars>0
SECTION code_stdio
PUBLIC __stdio_scanf_lo
EXTERN __stdio_scanf_sm_octal, __stdio_scanf_number_head
EXTERN l_inc_sp, asm_strtoul, __stdio_scanf_number_tail_long
__stdio_scanf_lo:
; %lo converter called from vfscanf()
;
; enter : ix = FILE *
; de = void *buffer
; bc = fiel... |
src/samples/basic-interrupts.asm | bberak/6502-flappy-bird | 0 | 164824 | !to "build/basic-interrupts.bin"
;;;;;;;;;;;;;;;;
;;;; Offset ;;;;
;;;;;;;;;;;;;;;;
*=$8000
;;;;;;;;;;;;;;
;;;; Data ;;;;
;;;;;;;;;;;;;;
year_1:
!word 1955
year_2
!word 1956
year_3
!word 1982
;;;;;;;;;;;;;;;;;;;
;;;; Variables ;;;;
;;;;;;;;;;;;;;;;;;;
PORTB = $6000
PORTA = $6001
DDRB = $6002
DDRA = $6003
E ... |
test/Succeed/Issue4032.agda | KDr2/agda | 0 | 2541 | {-# OPTIONS --cubical-compatible --rewriting --confluence-check #-}
open import Agda.Primitive using (Level; _⊔_; Setω; lzero; lsuc)
module Issue4032 where
infix 4 _≡_
data _≡_ {ℓ : Level} {A : Set ℓ} (a : A) : A → Set ℓ where
refl : a ≡ a
{-# BUILTIN REWRITE _≡_ #-}
run : ∀ {ℓ} {A B : Set ℓ} → A ≡ B → A → B
ru... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_elab.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 27465 | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_elab.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
gdb/testsuite/gdb.ada/sub_variant/subv.adb | greyblue9/binutils-gdb | 1 | 22971 | -- Copyright 2020-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
-- (at your option) any later version.
--
-- ... |
test/Succeed/Issue140.agda | alhassy/agda | 3 | 12122 | <filename>test/Succeed/Issue140.agda
open import Agda.Builtin.Coinduction
open import Agda.Builtin.Nat
open import Agda.Builtin.List
open import Agda.Builtin.Equality
data Colist (A : Set) : Set where
[] : Colist A
_∷_ : A → ∞ (Colist A) → Colist A
from : Nat → Colist Nat
from n = let sn = suc n in n ∷ ♯ (from s... |
example/src/clic_ex-commands.adb | alire-project/clic | 9 | 11036 | with AAA.Strings;
with CLIC.TTY;
with CLIC.User_Input;
with CLIC.Config.Load;
with CLIC_Ex.Commands.TTY;
with CLIC_Ex.Commands.User_Input;
with CLIC_Ex.Commands.Switches_And_Args;
with CLIC_Ex.Commands.Double_Dash;
with CLIC_Ex.Commands.Topics.Example;
with CLIC_Ex.Commands.Config;
with CLIC_Ex.Commands.Subsub;
pack... |
oeis/164/A164001.asm | neoneye/loda-programs | 11 | 245654 | ; A164001: Spiral of triangles around a hexagon.
; 1,2,3,4,5,7,9,12,16,21,28,37,49,65,86,114,151,200,265,351,465,616,816,1081,1432,1897,2513,3329,4410,5842,7739,10252,13581,17991,23833,31572,41824,55405,73396,97229,128801,170625,226030,299426,396655,525456,696081,922111,1221537,1618192,2143648,2839729,3761840,4983377,6... |
oeis/021/A021094.asm | neoneye/loda-programs | 11 | 104518 | ; A021094: Expansion of 1/((1-x)(1-2x)(1-4x)(1-11x)).
; Submitted by <NAME>
; 1,18,233,2718,30549,338706,3736561,41145606,452775917,4981233114,54796358409,602771123214,6630527086405,72935976891042,802296461596577,8825263940808342,97077914802006813,1067857108634797290,11746428378234183865,129210712893582725790,142131784... |
src/firmware-tests/Ui/States/NextStateWaitsForButtonPressTestFixture.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 7061 | #include "Mcu.inc"
#include "FarCalls.inc"
#include "Ui.inc"
#include "../UiStates.inc"
#include "../../Platform/Lcd/IsLcdIdleStub.inc"
#include "TestFixture.inc"
radix decimal
extern testAct
udata
global initialIsLcdIdle
global initialUiState
global expectUiButtonEventBaseStateChanges
global expectedUi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.