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 |
|---|---|---|---|---|
alloy4fun_models/trashltl/models/16/bG7DdcDXycuGkjZCx.als | Kaixi26/org.alloytools.alloy | 0 | 324 | <gh_stars>0
open main
pred idbG7DdcDXycuGkjZCx_prop17 {
all f: File |always (eventually f in Trash) implies after File' = File-f
}
pred __repair { idbG7DdcDXycuGkjZCx_prop17 }
check __repair { idbG7DdcDXycuGkjZCx_prop17 <=> prop17o } |
tests/tashy2-test_data-tests.adb | thindil/tashy2 | 2 | 25109 | -- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-- code intended to set up and tear down the t... |
alloy4fun_models/trashltl/models/9/NciNXggczjmNimeSY.als | Kaixi26/org.alloytools.alloy | 0 | 4408 | open main
pred idNciNXggczjmNimeSY_prop10 {
always all f:File | f in Protected implies after always f in Protected
}
pred __repair { idNciNXggczjmNimeSY_prop10 }
check __repair { idNciNXggczjmNimeSY_prop10 <=> prop10o } |
programs/oeis/017/A017643.asm | neoneye/loda | 22 | 29263 | <reponame>neoneye/loda<filename>programs/oeis/017/A017643.asm
; A017643: a(n) = (12n+10)^3.
; 1000,10648,39304,97336,195112,343000,551368,830584,1191016,1643032,2197000,2863288,3652264,4574296,5639752,6859000,8242408,9800344,11543176,13481272,15625000,17984728,20570824,23393656,26463592,29791000,33386248,37259704
mul ... |
src/Control/Bug-Loop.agda | andreasabel/cubical | 0 | 7214 | <filename>src/Control/Bug-Loop.agda
{-# OPTIONS --copatterns #-}
{-# OPTIONS -v tc.constr.findInScope:15 #-}
-- One-place functors (decorations) on Set
module Control.Bug-Loop where
open import Function using (id; _∘_)
open import Relation.Binary.PropositionalEquality
open ≡-Reasoning
open import Control.Functor
o... |
oeis/041/A041422.asm | neoneye/loda-programs | 11 | 97308 | ; A041422: Numerators of continued fraction convergents to sqrt(227).
; Submitted by <NAME>
; 15,226,6795,102151,3071325,46172026,1388232105,20869653601,627477840135,9433037255626,283618595508915,4263711969889351,128194977692189445,1927188377352731026,57943846298274120225,871084882851464534401,26190490331842210152255,3... |
programs/oeis/163/A163817.asm | jmorken/loda | 1 | 18161 | ; A163817: Expansion of (1 - x^2) * (1 - x^5) / ((1 - x) * (1 - x^6)) in powers of x.
; 1,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-1,0,1,0,0,0,-... |
source/protocol/lsp.ads | reznikmm/ada_lsp | 11 | 6773 | -- Copyright (c) 2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package LSP is
pragma Pure;
end LSP;
|
oeis/142/A142894.asm | neoneye/loda-programs | 11 | 8730 | <reponame>neoneye/loda-programs<filename>oeis/142/A142894.asm
; A142894: Primes congruent to 10 mod 63.
; Submitted by <NAME>
; 73,199,577,829,1459,2089,2341,2467,2593,2719,2971,3727,3853,4231,4357,4483,4861,4987,5113,5743,5869,6121,6247,6373,7129,7507,7759,8011,8263,8389,8641,8893,9397,9649,9901,10531,10657,10909,1116... |
doc/grammar/PetalParser.g4 | NekoGoddessAlyx/Petal | 0 | 4403 | parser grammar PetalParser;
options { tokenVocab = PetalLexer; language = Java; }
// file
file : ( NL* topLevelDeclaration )* EOF ;
topLevelDeclaration
: functionDeclaration
| classDeclaration
;
// declaration
declaration
: variableDeclaration
| functionDeclaration
| classDeclaration
|... |
oeis/233/A233123.asm | neoneye/loda-programs | 11 | 15685 | <reponame>neoneye/loda-programs
; A233123: Number of n X 2 0..5 arrays with no element x(i,j) adjacent to itself or value 5-x(i,j) horizontally or vertically, top left element zero, and 1 appearing before 2 3 and 4, and 2 appearing before 3 in row major order (unlabelled 6-colorings with no clashing color pairs).
; 1,8... |
awa/plugins/awa-storages/src/awa-storages-stores.ads | fuzzysloth/ada-awa | 81 | 7632 | -----------------------------------------------------------------------
-- awa-storages-stores -- The storage interface
-- 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 Licens... |
programs/oeis/196/A196126.asm | karttu/loda | 0 | 15647 | ; A196126: Let A = {(x,y): x, y positive natural numbers and y <= x <= y^2}. a(n) is the cardinality of the subset {(x,y) in A such that x <= n}.
; 1,2,4,7,10,14,19,25,32,39,47,56,66,77,89,102,115,129,144,160,177,195,214,234,255,276,298,321,345,370,396,423,451,480,510,541,572,604,637,671
mov $2,$0
mov $3,3
mov $4,$0
... |
oeis/350/A350108.asm | neoneye/loda-programs | 11 | 90815 | <reponame>neoneye/loda-programs
; A350108: a(n) = Sum_{k=1..n} k * floor(n/k)^3.
; Submitted by <NAME>
; 1,10,32,87,153,309,443,722,1005,1443,1785,2605,3087,3951,4875,6154,6988,8809,9855,12057,13853,16001,17543,21347,23478,26484,29440,33696,36162,41994,44816,50351,54755,59909,64577,73524,77558,84002,90142,100072,105034... |
cemu/examples/arm_sys_exec_bin_sh.asm | MatejKastak/cemu | 823 | 5969 | <filename>cemu/examples/arm_sys_exec_bin_sh.asm
#
# ARM sys_exec("/bin/sh") shellcode
#
# @_hugsy_
#
ldr r0, ="nib/"
str r0, [sp]
ldr r0, ="hs//"
str r0, [sp, 4]
mov r0, sp
mov r1, 0
mov r2, 0
mov r7, __NR_SYS_execve
svc 0
wfi
|
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca_notsx.log_10494_1239.asm | ljhsiun2/medusa | 9 | 86388 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x19d37, %r9
clflush (%r9)
nop
nop
nop
dec %rax
mov $0x6162636465666768, %r15
movq %r15, (%r9)
nop
nop
sub %rbx, %rbx
lea addresses_WT_ht+0x45b7, %r9
nop
nop
add %r8, %r8
mov $0x... |
programs/oeis/130/A130727.asm | karttu/loda | 0 | 7897 | <filename>programs/oeis/130/A130727.asm<gh_stars>0
; A130727: List of triples 2n+1, 2n+3, 2n+2.
; 1,3,2,3,5,4,5,7,6,7,9,8,9,11,10,11,13,12,13,15,14,15,17,16,17,19,18,19,21,20,21,23,22,23,25,24,25,27,26,27,29,28,29,31,30,31,33,32,33,35,34,35,37,36,37,39,38,39,41,40,41,43,42,43,45,44,45,47,46,47,49,48,49,51
add $0,2
mov... |
programs/oeis/099/A099062.asm | karttu/loda | 1 | 95735 | ; A099062: A bisection of A000960.
; 3,13,27,49,79,109,147,207,253,307,387,459,529,613,709,807,927,1009,1111,1261,1359,1483,1693,1807,1933,2161,2269,2479,2703,2799,3019,3199,3421,3619,3841,4083,4249,4603,4783,5067,5293,5547,5767,6109,6387,6589
mul $0,2
add $0,1
mov $1,$0
cal $1,278484 ; Main diagonal of A278482.
div $... |
audio/music/sinnohwildbattle.asm | AtmaBuster/pokeplat-gen2 | 6 | 23439 | Music_SinnohWildBattle:
channel_count 3
channel 1, Music_SinnohWildBattle_Ch1
channel 2, Music_SinnohWildBattle_Ch2
channel 3, Music_SinnohWildBattle_Ch3
Music_SinnohWildBattle_Ch1_sub_0:
octave 5
note E_, 2
octave 4
note A_, 2
note B_, 2
note E_, 2
note G_, 2
note D_, 2
note E_, 2
note C_, 2
note D_, 2... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/align_check.adb | best08618/asylo | 7 | 23770 | -- { dg-do run }
with System;
procedure align_check is
N_Allocated_Buffers : Natural := 0;
--
function New_Buffer (N_Bytes : Natural) return System.Address is
begin
N_Allocated_Buffers := N_Allocated_Buffers + 1;
return System.Null_Address;
end;
--
Buffer_Address : consta... |
programs/oeis/178/A178742.asm | neoneye/loda | 22 | 167906 | <reponame>neoneye/loda<gh_stars>10-100
; A178742: Partial sums of floor(2^n/9).
; 0,0,0,0,1,4,11,25,53,109,222,449,904,1814,3634,7274,14555,29118,58245,116499,233007,466023,932056,1864123,3728258,7456528,14913068,29826148,59652309,119304632,238609279,477218573,954437161,1908874337,3817748690,7635497397,15270994812,3054... |
mac/app-scripts/url of Chrome.scpt | albertz/foreground_app_info | 2 | 1501 | tell application "Google Chrome"
if the (count of windows) is not 0 then
set weburl to URL of active tab of front window
end if
end tell
return weburl
|
Palmtree.Math.Core.Implements/vs_build/x86_Debug/pmc_bitwiseor.asm | rougemeilland/Palmtree.Math.Core.Implements | 0 | 243518 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
TITLE Z:\Sources\Lunor\Repos\rougemeilland\Palmtree.Math.Core.Implements\Palmtree.Math.Core.Implements\pmc_bitwiseor.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
msvcjmc SEGMENT
__7B7A869E_ctyp... |
k0/src/arch/x64/_x64.asm | nebulaeonline/nebulae | 29 | 174323 | <filename>k0/src/arch/x64/_x64.asm
; Copyright (c) 2003-2018 RCH3 (<EMAIL>)
; Copyright (c) 2019 Nebulae Foundation, LLC. All rights reserved.
; Copyright (c) 2006, Intel Corporation. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that... |
oeis/086/A086192.asm | neoneye/loda-programs | 11 | 247857 | ; A086192: Tribonacci numbers that start with first three squares.
; Submitted by <NAME>(s1)
; 1,4,9,14,27,50,91,168,309,568,1045,1922,3535,6502,11959,21996,40457,74412,136865,251734,463011,851610,1566355,2880976,5298941,9746272,17926189,32971402,60643863,111541454,205156719,377342036,694040209
mov $1,1
mov $2,2
mov $... |
libsrc/_DEVELOPMENT/alloc/obstack/z80/asm_obstack_grow.asm | meesokim/z88dk | 0 | 173583 | <reponame>meesokim/z88dk
; ===============================================================
; Dec 2013
; ===============================================================
;
; int obstack_grow(struct obstack *ob, void *data, size_t size)
;
; Grow the current object by appending size bytes read from
; address data.
;
; ==... |
programs/oeis/098/A098298.asm | neoneye/loda | 22 | 29181 | ; A098298: Member r=13 of the family of Chebyshev sequences S_r(n) defined in A092184.
; 0,1,13,144,1573,17161,187200,2042041,22275253,242985744,2650567933,28913261521,315395308800,3440435135281,37529391179293,409382867836944,4465682155027093,48713120837461081,531378647057044800,5796451996790031721,63229593317633304133... |
projects/batfish/src/main/antlr4/org/batfish/grammar/f5_bigip_structured/F5BigipStructured_route_map.g4 | loftwah/batfish | 0 | 3001 | parser grammar F5BigipStructured_route_map;
import F5BigipStructured_common;
options {
tokenVocab = F5BigipStructuredLexer;
}
nr_route_map
:
ROUTE_MAP name = word BRACE_LEFT
(
NEWLINE
(
nrr_entries
| nrr_route_domain
| unrecognized
)*
)? BRACE_RIGHT NEWLINE
;
nrr_entries
:
EN... |
templates/vc.asm | RV8V/asm-code | 1 | 8042 | .global _start
.data
s: .ascii "testing string\n\0"
len = . - s
.text
_start:
mov $s, %r8
movb $'a', 4(%r8)
mov $1, %rax
mov $1, %rdi
mov $s, %rsi
mov $len, %rdx
syscall
mov $60, %rax
mov $0, %rdi
syscall
|
src/sprite_minotauro_inf.asm | fjpena/sword-of-ianna-msx2 | 43 | 27655 | <reponame>fjpena/sword-of-ianna-msx2
idle:
DB 145, 85, 170, 41, 34, 136, 18, 151, 121, 17, 18, 0
DB 16, 89, 170, 25, 34, 130, 18, 17, 17, 17, 18, 0
DB 16, 89, 154, 17, 17, 33, 17, 71, 120, 17, 17, 1
DB 16, 89, 154, 17, 17, 17, 17, 22, 129, 17, 17, 23
DB 16, ... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_7559_2.asm | ljhsiun2/medusa | 9 | 165959 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x13c09, %rsi
lea addresses_normal_ht+0x44c9, %rdi
xor %rax, %rax
mov $36, %rcx
rep movsw
nop
nop
nop
nop
nop
add $49382, %rdi
lea addresses_D_ht+0x9fe9, %rbx
nop
nop
inc... |
init.asm | unagi11/xv6 | 0 | 89550 |
_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
... |
source/compiler/compiler-field_descriptors.ads | mgrojo/protobuf | 12 | 11632 | -- MIT License
--
-- Copyright (c) 2020 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- copy of this software and associated documentation files (the "Software"),
-- to deal in the Software without restriction, including without limitation
-- the rights to use, copy, modify... |
src/Fragment/Algebra/Homomorphism/Base.agda | yallop/agda-fragment | 18 | 13684 | <reponame>yallop/agda-fragment
{-# OPTIONS --without-K --exact-split --safe #-}
open import Fragment.Algebra.Signature
module Fragment.Algebra.Homomorphism.Base (Σ : Signature) where
open import Fragment.Algebra.Algebra Σ
open import Fragment.Algebra.Homomorphism.Definitions Σ
open import Fragment.Setoid.Morphism a... |
src/hypro/parser/antlr4-cif/InputOutput.g4 | hypro/hypro | 22 | 1169 | <gh_stars>10-100
/*exported from CIF3 Sytax*/
grammar InputOutput;
import Expressions;
optIoDecls: ioDecls*;
ioDecls: svgFile
| svgCopy
| svgMove
| svgOut
| svgIn
| printFile
| print;
svgFile: 'svgFile' stringToken ';';
optSvgFile: ('file' stringToken)?;
svgCopy: 'svgCopy' 'id' expression optSvgCopyPre optSv... |
data/pokemon/dex_entries/rampardos.asm | AtmaBuster/pokeplat-gen2 | 6 | 166986 | db "HEAD BUTT@" ; species name
db "Its skull can"
next "withstand impacts"
next "of any magnitude."
page "As a result, its"
next "brain never gets a"
next "chance to grow.@"
|
ffight/lcs/1p/54.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 162400 | <filename>ffight/lcs/1p/54.asm<gh_stars>1-10
copyright zengfr site:http://github.com/zengfr/romhack
00307C ext.l D0 [1p+54, boss+54, weapon+54]
00A2C6 dbra D0, $a2c0
00A32C clr.w ($54,A4)
00A330 clr.w ($56,A4)
00A97C move.w #$fa00, ($54,A6)
00A982 move.w #$48, ($56,A6) [1p+54]
00AB8A move.w #$600... |
proglangs-learning/Agda/sv20/assign2/Second_old2.agda | helq/old_code | 0 | 17112 | module sv20.assign2.Second_old2 where
-- ------------------------------------------------------------------------
open import Relation.Binary.PropositionalEquality using (_≡_; refl; sym; trans; cong)
open import Data.Nat using (ℕ; zero; suc; _+_)
open import Data.Nat.Properties using (≡-decSetoid)
open import Data.Lis... |
Bootloader/Stage2/Filesystem.asm | Archlisk/fos2 | 0 | 13386 | %include "BIOS_Drive.asm"
[BITS 16]
struc FS_VolumeDescriptor
fsvd_signature resb 8
fsvd_version_major resb 1
fsvd_version_minor resb 1
fsvd_vol_name resb 24
fsvd_os_name resb 16
fsvd_block_size resb 4
fsvd_vol_start_lba resb 8
fsvd_vol_end_lba resb 8
fsvd_root_dir_block resb 8
FSVD_SIZE equ $
ends... |
add8bit.asm | suriya-1403/Assemble-language | 0 | 240396 | code segment
assume cs:code
mov ax, 0000H
mov bx, 0000H
mov al,05h
mov bl,03h
add al,bl
hlt
code ends
end |
Transynther/x86/_processed/NC/_ht_zr_un_/i9-9900K_12_0xa0.log_21829_322.asm | ljhsiun2/medusa | 9 | 100320 | <filename>Transynther/x86/_processed/NC/_ht_zr_un_/i9-9900K_12_0xa0.log_21829_322.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x60d6, %r10
cmp $22183, %rcx
mov (%r10), %rsi
nop
nop
add %rcx, %rcx
lea addresses_D_ht+0x5796... |
block-2/pp/block2/cc/ll/If.g4 | tcoenraad/compiler-construction | 1 | 2097 | <filename>block-2/pp/block2/cc/ll/If.g4<gh_stars>1-10
lexer grammar If;
@header{package pp.block2.cc.ll;}
IF : 'if' ;
THEN : 'then' ;
COND : 'cond' ;
ELSE : 'else' ;
ASSIGN : 'assign' ;
// ignore whitespace
WS : [ \t\n\r] -> skip;
// everything else is a typo
TYPO : (~(' ' | '\t' | '\n' | '\r'))+;
|
source/Cosmos.Core.DebugStub/TracerEntry.asm | Geramy/Cosmos | 207 | 18117 | ; Generated at 6/14/2016 12:11:29 PM
DebugStub_TracerEntry:
cli
Pushad
mov dword [DebugStub_PushAllPtr], ESP
mov dword [DebugStub_CallerEBP], EBP
mov dword EBP, ESP
add dword EBP, 0x20
mov dword EAX, [EBP]
add dword EBP, 0xC
mov dword [DebugStub_CallerESP], EBP
mov dword EBX, EAX
MOV EAX, DR6
and dword EAX, 0x4000
c... |
uuu/src/cells/io/mouse/microsoft/microsoft.asm | ekscrypto/Unununium | 7 | 244763 | <reponame>ekscrypto/Unununium<filename>uuu/src/cells/io/mouse/microsoft/microsoft.asm
;====----------------------------------------------------------------------====
; Microsoft Serial Compatible Mouse Driver (c)2001 <NAME>
; MSLogitech Driver Cell Distributed under BSD License
;====---------------------... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2541.asm | ljhsiun2/medusa | 9 | 81099 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2541.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x15a71, %rsi
lea addresses_A_ht+0x2551, %rdi
nop
and %r10, %r10
mov $124, %rcx
rep movs... |
oeis/054/A054877.asm | neoneye/loda-programs | 11 | 241168 | ; A054877: Closed walks of length n along the edges of a pentagon based at a vertex.
; Submitted by <NAME>
; 1,0,2,0,6,2,20,14,70,72,254,330,948,1430,3614,6008,13990,24786,54740,101118,215766,409640,854702,1652090,3396916,6643782,13530350,26667864,53971350,106914242,215492564,428292590,860941798,1714834440,3441074654,6... |
notes/FOT/FOTC/Data/Nat/AddPartialRightIdentity.agda | asr/fotc | 11 | 203 | ------------------------------------------------------------------------------
-- Reasoning partially about functions
------------------------------------------------------------------------------
{-# OPTIONS --allow-unsolved-metas #-}
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types ... |
copper/copper_asm/jump-example.asm | dcliche/Xosera | 24 | 178168 | <gh_stars>10-100
; A slightly less basic example of using copper assembler, including
; skip and jmp instructions. In this example, instead of waiting for
; specific line positions, we use conditional logic and direct jumps
; to decide what color to set.
;
; Copyright (c) 2021 <NAME> - https://github.com/roscopeco
;
; ... |
tests/polymorphism/src/generic_sensor.ads | TUM-EI-RCS/StratoX | 12 | 6846 | <reponame>TUM-EI-RCS/StratoX<gh_stars>10-100
-- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: <NAME> (<EMAIL>)
-- <NAME> (<EMAIL>)
-- with Ada.Real_Time;
with Generic_Signal;
-- those are required for LSP
wit... |
py2.asm | lestersantos/Assembly2019 | 0 | 86315 | ;UNIVERSIDAD DE <NAME>
;FACULTAD DE INGENIERIA
;ARQUITECTURA DE COMPUTADORAS Y ENSAMBLADORES 1
;PROYECTO
;<NAME>
;201504510
ORG 100h
;--------------- MY MACROS --------------------
%macro print 1 ;this macro will print to screen
push ax
push dx
mov dx, %1 ;refers to the first parameter to the macro call
mov... |
setoid-cats/Relation/Relation.agda | heades/AUGL | 0 | 1421 | module Relation.Relation where
open import Level renaming (suc to lsuc)
open import Data.Product
-- Partial equivalence relations.
record ParRel {l l' : Level}{A : Set l}(R : A → A → Set l') : Set (l ⊔ l') where
field
symPf : ∀{x y} → R x y → R y x
transPf : ∀{x y z} → R x y → R y z → R x z
-- (Total) eq... |
oeis/334/A334854.asm | neoneye/loda-programs | 11 | 90163 | <filename>oeis/334/A334854.asm
; A334854: E.g.f. A(x) satisfies: A(x) = arctan(x * exp(A(x))).
; Submitted by <NAME>(w3)
; 1,2,7,32,149,240,-12725,-378880,-8550135,-178474240,-3550577425,-65428992000,-985800819875,-4641229465600,548638404441075,36708748623872000,1716785996161588625,69798035394846720000,2571598453132219... |
src/grammars/Post.g4 | CorvusPrudens/Cp | 0 | 5807 | <filename>src/grammars/Post.g4<gh_stars>0
grammar Post;
import Corax;
// Technically, these shouldn't be present after the
// precompiler runs, but this makes testing easy
PRECOMPILER : '#' .*? [\n\r] -> skip;
WHITESPACE : [ \t\n\r] -> skip; |
programs/oeis/026/A026599.asm | neoneye/loda | 22 | 16633 | <reponame>neoneye/loda<filename>programs/oeis/026/A026599.asm<gh_stars>10-100
; A026599: a(n) = Sum_{0<=j<=2*i, 0<=i<=n} A026584(i,j).
; 1,3,9,23,61,155,401,1023,2629,6723,17241,44135,113101,289643,742049,1900623,4868821,12471315,31946601,81831863,209618269,536945723,1375418801,3523201695,9024876901,23117683683,5921719... |
ASM_minilibc_2018/src/strcasecmp.asm | ltabis/epitech-projects | 0 | 20276 | <filename>ASM_minilibc_2018/src/strcasecmp.asm
bits 64 ; set architecture
global strcasecmp:function ; export strcasecmp
;; RDI RSI arguments
strcasecmp:
xor R8, R8 ; set char container to null
xor R9, R9 ; set char container to null
xor R... |
sys/stats.nasm | DerickEddington/cabna | 0 | 160259 | <gh_stars>0
bits 64
default rel
%include "cabna/sys/conv.nasm"
global print_stats
global used_max
global in_use
extern threads_strucs
extern thread_aligned_size
extern printf
section .text
proc print_stats:
; Print collected statistics for each thread, and print the totals of all
; threads. Called direc... |
oeis/083/A083694.asm | neoneye/loda-programs | 11 | 175546 | ; A083694: a(n)= 2*A002532(n).
; Submitted by <NAME>
; 0,2,4,18,56,202,684,2378,8176,28242,97364,335938,1158696,3997082,13787644,47560698,164059616,565922722,1952143524,6733900658,23228518936,80126541162,276395677004,953424059818,3288826504656
mov $3,1
lpb $0
sub $0,1
mov $2,$3
mul $2,6
add $3,$1
add $1,$2
l... |
Driver/Mouse/PS2/ps2.asm | steakknife/pcgeos | 504 | 245485 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: MOUSE DRIVER -- Any Mouse in IBM PS/2 port
FILE: ps2.asm
AUTHOR: <NAME>, September 29, 1989
ROUTINES:
Name Description
---- -----------
M... |
util/menus/yesno.asm | olifink/smsqe | 0 | 243787 | <gh_stars>0
; yes/no selection 1991 <NAME> V001
section utility
include dev8_keys_thg
include dev8_mac_xref
include dev8_keys_menu
xdef mu_yesno
;+++
; This routine pops up a menu, displays a message and waits for a yes or
; no user selection.
;
; Entry Exit
; D0.l error, 0 or +1 for ESC
; D1.l ori... |
programs/oeis/191/A191489.asm | karttu/loda | 1 | 174215 | ; A191489: Number of compositions of even natural numbers into 6 parts <= n.
; 1,32,365,2048,7813,23328,58825,131072,265721,500000,885781,1492992,2413405,3764768,5695313,8388608,12068785,17006112,23522941,32000000,42883061,56689952,74017945,95551488,122070313,154457888,193710245,240945152,297411661,364500000,443751841,... |
libsrc/enterprise/exos_reset_font.asm | RC2014Z80/z88dk | 8 | 101370 | ;
; Enterprise 64/128 specific routines
; by <NAME>, 2011
;
; exos_reset_font();
;
;
; $Id: exos_reset_font.asm,v 1.4 2016-06-19 20:17:32 dom Exp $
;
SECTION code_clib
PUBLIC exos_reset_font
PUBLIC _exos_reset_font
INCLUDE "enterprise.def"
exos_reset_font:
_exos_reset_font:
; __FASTCALL_
ld a,l ; c... |
contrib/ayacc/src/ayacc_file_names.ads | faelys/gela-asis | 4 | 17589 | <filename>contrib/ayacc/src/ayacc_file_names.ads
-- $Header: /cf/ua/arcadia/alex-ayacc/ayacc/src/RCS/file_names.a,v 1.2 88/11/28 13:38:59 arcadia Exp $
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- The primary authors of ayacc were <NAME> and <NAME>.
-- Enhancement... |
sw/552tests/rand_simple/t_3_jal.asm | JPShen-UWM/ThreadKraken | 1 | 28334 | // seed 3
jal 4 // icount 0
nop // icount 1
nop // icount 2
jal 10 // icount 3
nop // icount 4
nop // icount 5
nop // icount 6
nop // icount 7
nop // icount 8
jal 20 // icount 9
nop // icount 10
nop // icount 11
nop // icount 12
nop // icount 13
nop // icount 14
nop // icount 15
nop // icount 16
nop // icount 17
nop //... |
Cubical/Data/SumFin.agda | limemloh/cubical | 0 | 8565 | <filename>Cubical/Data/SumFin.agda
{-# OPTIONS --cubical --safe #-}
module Cubical.Data.SumFin where
open import Cubical.Data.SumFin.Base public
|
test/Fail/Sections-14.agda | shlevy/agda | 1,989 | 5321 | <reponame>shlevy/agda
∙_ : Set₁ → Set₁
∙ X = X
Foo : Set
Foo = ∙ Set
|
archive/agda-3/src/Oscar/Class/HasEquivalence.agda | m0davis/oscar | 0 | 2109 | <gh_stars>0
open import Oscar.Prelude
open import Oscar.Class
open import Oscar.Class.IsEquivalence
open import Oscar.Data.𝟙
module Oscar.Class.HasEquivalence where
module _
{𝔬} (𝔒 : Ø 𝔬) ℓ
where
𝔥asEquivalence : Rℭlass 𝟙
𝔥asEquivalence = ∁ (𝔒 → 𝔒 → Ø ℓ) IsEquivalence
open Rℭlass 𝔥asEquivalence u... |
oeis/072/A072262.asm | neoneye/loda-programs | 11 | 97939 | <gh_stars>10-100
; A072262: a(n) = 4*a(n-1) + 1, a(1)=11.
; 11,45,181,725,2901,11605,46421,185685,742741,2970965,11883861,47535445,190141781,760567125,3042268501,12169074005,48676296021,194705184085,778820736341,3115282945365,12461131781461,49844527125845,199378108503381,797512434013525,3190049736054101,127601989442164... |
thirdparty/ffmpeg/libavcodec/x86/lossless_videoencdsp.asm | yashrajsingh1998/ApraPipes1 | 2,151 | 161430 | ;************************************************************************
;* SIMD-optimized lossless video encoding functions
;* Copyright (c) 2000, 2001 <NAME>
;* Copyright (c) 2002-2004 <NAME> <<EMAIL>>
;*
;* MMX optimization by <NAME> <<EMAIL>>
;* Conversion to NASM format by Tiancheng "<NAME> <<EMAIL>>
;*
;* This f... |
boards/feather_wb55/src/stm32-board.ads | morbos/Ada_Drivers_Library | 2 | 18227 | <filename>boards/feather_wb55/src/stm32-board.ads
with STM32.Device; use STM32.Device;
with STM32.GPIO; use STM32.GPIO;
package STM32.Board is
pragma Elaborate_Body;
subtype User_LED is GPIO_Point;
Red_LED : User_LED renames PB2;
LCH_LED : User_LED renames PB2;
procedure Initialize_Board;
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/warn6.adb | best08618/asylo | 7 | 12244 | -- { dg-do compile }
-- { dg-options "-O2" }
with Unchecked_Conversion;
with System;
package body Warn6 is
function Conv is new Unchecked_Conversion (System.Address, Q_T);
procedure Dummy is begin null; end;
end Warn6;
|
deBruijn/Substitution/Data/Application/Application222.agda | nad/dependently-typed-syntax | 5 | 7841 | ------------------------------------------------------------------------
-- Lemmas related to application of substitutions
------------------------------------------------------------------------
open import Data.Universe.Indexed
module deBruijn.Substitution.Data.Application.Application222
{i u e} {Uni : IndexedUni... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/noreturn1.adb | best08618/asylo | 7 | 1691 | -- { dg-do compile }
package body Noreturn1 is
procedure Error (E : in Exception_Occurrence) is
Occurrence_Message : constant String := Exception_Message (E);
begin
if Occurrence_Message = "$" then
raise Program_Error;
else
raise Constraint_Error;
end if;
end;
end N... |
sources/md/markdown-common_patterns.ads | reznikmm/markdown | 0 | 18195 | <gh_stars>0
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with League.Regexps;
with League.Strings;
package Markdown.Common_Patterns is
Blank_Pattern : constant League.Regexps.Regexp_Pattern :=
League.Reg... |
programs/oeis/007/A007598.asm | karttu/loda | 0 | 103496 | ; A007598: Squared Fibonacci numbers: F(n)^2 where F = A000045.
; 0,1,1,4,9,25,64,169,441,1156,3025,7921,20736,54289,142129,372100,974169,2550409,6677056,17480761,45765225,119814916,313679521,821223649,2149991424,5628750625,14736260449,38580030724,101003831721,264431464441,692290561600,1812440220361,4745030099481,12422... |
vbox/src/VBox/Runtime/common/math/RTUInt128MulByU64.asm | Nurzamal/rest_api_docker | 0 | 17771 | <reponame>Nurzamal/rest_api_docker
; $Id: RTUInt128MulByU64.asm 69219 2017-10-24 15:01:30Z vboxsync $
;; @file
; IPRT - RTUInt128MulByU64 - AMD64 implementation.
;
;
; Copyright (C) 2006-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org... |
src/examples/fill_ram_demo.asm | glitchland/DLW-2 | 0 | 93912 | <reponame>glitchland/DLW-2
add D, 255, D
LOOP: add B, 1, B
add D, 1, D
sub C, 1, C
store B, #C
store B, #D
jump LOOP |
drivers/henon_heiles.adb | sciencylab/lagrangian-solver | 0 | 914 | <reponame>sciencylab/lagrangian-solver
with Numerics, Ada.Text_IO, Chebyshev, Dense_AD, Dense_AD.Integrator;
use Numerics, Ada.Text_IO, Chebyshev;
procedure Henon_Heiles is
use Int_IO, Real_IO, Real_Functions;
N : constant Nat := 2;
K : constant Nat := 13;
package AD_Package is new Dense_AD (2 * N);
... |
Appl/FileMgrs/CommonDesktop/CUtil/cutilFileOpLow.asm | steakknife/pcgeos | 504 | 85476 | <reponame>steakknife/pcgeos<filename>Appl/FileMgrs/CommonDesktop/CUtil/cutilFileOpLow.asm
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Desktop/Util
FILE: cutilFileOpLow.asm
ROUTINES:
INT CopyMo... |
src-checkers/ada_toml_decode.adb | pmderodat/ada-toml | 19 | 22950 | -- Test program. Read bytes on the standard input as a TOML document.
--
-- If it's a valid TOML document, parse it and emit on the standard output a
-- JSON representation of it.
--
-- If it's not a valid TOML document, print an error message on the standard
-- output.
with Ada.Command_Line;
with Ada.Strings.UTF... |
programs/oeis/217/A217831.asm | neoneye/loda | 22 | 95685 | <reponame>neoneye/loda
; A217831: Triangle read by rows: label the entries T(0,0), T(1,0), T(0,1), T(2,0), T(1,1), T(0,2), T(3,0), ... Then T(n,k)=T(k,n), T(0,0)=0, T(1,0)=1, and for n>1, T(n,0)=0 and T(n,in+j)=T(n-j,j) (i,j >= 0, not both 0).
; 0,1,1,0,1,0,0,1,1,0,0,1,0,1,0,0,1,1,1,1,0,0,1,0,0,0,1,0,0,1,1,1,1,1,1,0,0,... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/alignment13.adb | best08618/asylo | 7 | 13714 | -- { dg-do run }
-- { dg-options "-gnatws" }
procedure Alignment13 is
type Rec is record
I1 : aliased Short_Integer;
I2 : Integer;
end record;
for Rec use record
I1 at 0 range 0 .. 15;
end record;
R : Rec;
begin
if R.I2'Bit_Position /= 32 then
raise Program_Error;
end if;
end;
|
CPU/cpu_test/test_storage/test6_sw_R.asm | SilenceX12138/MIPS-Microsystems | 55 | 6865 | <gh_stars>10-100
ori $2,$0,1
ori $3,$0,3
addu $1,$2,$3
sw $2,-4($1)
ori $4,$0,9394
ori $5,$0,7337
addu $6,$4,$5
sw $6,4($0)
ori $8,$0,5
ori $9,$0,3
addu $7,$8,$9
nop
sw $7,0($7)
ori $11,$0,7
ori $12,$0,5
addu $10,$11,$12
nop
nop
sw $10,0($10) |
programs/oeis/069/A069010.asm | neoneye/loda | 22 | 84928 | <gh_stars>10-100
; A069010: Number of runs of 1's in binary representation of n.
; 0,1,1,1,1,2,1,1,1,2,2,2,1,2,1,1,1,2,2,2,2,3,2,2,1,2,2,2,1,2,1,1,1,2,2,2,2,3,2,2,2,3,3,3,2,3,2,2,1,2,2,2,2,3,2,2,1,2,2,2,1,2,1,1,1,2,2,2,2,3,2,2,2,3,3,3,2,3,2,2,2,3,3,3,3,4,3,3,2,3,3,3,2,3,2,2,1,2,2,2
lpb $0,3
add $1,$0
mod $1,2
ad... |
programs/oeis/141/A141726.asm | karttu/loda | 1 | 98709 | ; A141726: Sawtooth with period length 9: repeat 8, 7, 6, 5, 4, 3, 2, 1, 0.
; 8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3
mod $0,9
sub $1,$0
add $1,8
|
DivideEtImpera.agda | NAMEhzj/Divide-and-Conquer-in-Agda | 0 | 979 | <filename>DivideEtImpera.agda
{-# OPTIONS --no-universe-polymorphism #-}
open import Induction.WellFounded as WF
open import Data.Product
open import Relation.Binary.Core
open import Relation.Unary as U using (Decidable)
open import Relation.Nullary
import Level as L using (zero)
module DivideEtImpera where
{-- Thi... |
programs/oeis/244/A244728.asm | neoneye/loda | 22 | 105029 | <reponame>neoneye/loda
; A244728: a(n) = 9*n^3.
; 0,9,72,243,576,1125,1944,3087,4608,6561,9000,11979,15552,19773,24696,30375,36864,44217,52488,61731,72000,83349,95832,109503,124416,140625,158184,177147,197568,219501,243000,268119,294912,323433,353736,385875,419904,455877,493848,533871,576000,620289,666792,715563,766656... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_ch6.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 26208 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
source/asis/spec/annex_c/ada-interrupts.ads | faelys/gela-asis | 4 | 213 | ------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
src/rejuvenation-parameters.ads | TNO/Rejuvenation-Ada | 1 | 9787 | package Rejuvenation.Parameters is
function Param_Expressions
(Nm : Libadalang.Analysis.Name) return Param_Actual_Array with
Pre => not Nm.Is_Null and then Nm.P_Is_Call;
-- Returns the list of Param Expressions of a function call
-- including the default expressions for unspecified paramete... |
oeis/028/A028910.asm | neoneye/loda-programs | 11 | 240846 | ; A028910: Arrange digits of 2^n in descending order.
; Submitted by <NAME>(r1)
; 1,2,4,8,61,32,64,821,652,521,4210,8420,9640,9821,86431,87632,66553,732110,644221,885422,8765410,9752210,9444310,8888630,77766211,55443332,88766410,877432211,866554432,987653210,8774432110,8876444321,9997664422,9998855432,99887764111,98876... |
bugs/bug10.ada | daveshields/AdaEd | 3 | 8188 | <gh_stars>1-10
procedure main is
aft : integer := 1;
s, str : string(1..3);
begin
s := "abc";
str((aft)..3) := s(1..3);
end;
|
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48_notsx.log_26_1553.asm | ljhsiun2/medusa | 9 | 15659 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %rbp
push %rdi
push %rdx
lea addresses_UC_ht+0xd782, %rdi
nop
nop
nop
and %rbp, %rbp
mov $0x6162636465666768, %rdx
movq %rdx, (%rdi)
cmp $55285, %rbp
pop %rdx
pop %rdi
pop %rbp
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r14
p... |
programs/oeis/299/A299283.asm | neoneye/loda | 22 | 245290 | ; A299283: Coordination sequence for "svh" 3D uniform tiling.
; 1,7,22,48,84,130,186,253,330,417,514,622,740,868,1006,1155,1314,1483,1662,1852,2052,2262,2482,2713,2954,3205,3466,3738,4020,4312,4614,4927,5250,5583,5926,6280,6644,7018,7402,7797,8202,8617,9042,9478,9924,10380,10846,11323,11810,12307,12814,13332,13860,1439... |
Day-16/my_solution_of_problem-2.asm | MasumBhai/50-Day-challenge-with-Assembly-Language | 1 | 99594 | ;id - 201914044
;i tried to implement this (prime number between 1 to 10):
;for (int i=1;i<=10;i++){
; int ctr=0;
; for(int j=2;j<=(i-1);j++){
; if(i%j == 0){
; ctr++;
; break;
; }
; }
; if(ctr == 0 && i != 1){
; printf("%d",i);
; }
;}
;Somehow couldn't succeed
.model small
.stack 100h
include 'emu8086.inc'... |
app/hack/cross_wait.asm | USN484259/COFUOS | 1 | 87865 | [bits 64]
get_thread equ 0x0100
wait_for equ 0x0134
create_thread equ 0x0120
exit_process equ 0x0210
section .text
main:
mov eax,get_thread
syscall
mov r8d,eax
mov rdx,waiter
xor r9,r9
mov eax,create_thread
syscall
shr rax,32
xor ecx,ecx
mov edx,eax
mov r8,rcx
mov r9,rcx
mov eax,wait_for
syscall
mov edx,eax
mov e... |
applescripts/play-genre.applescript | Tyilo/play-song | 0 | 1759 | -- plays selected genre in iTunes --
-- load workflow configuration
set config to load script POSIX file ((do shell script "pwd") & "/config.scpt")
-- plays all songs by the given genre
on playGenre(genreName)
global config
createWorkflowPlaylist() of config
disableShuffle() of config
set genreName to decodeXm... |
src/Generic/Test/Data/Vec.agda | turion/Generic | 30 | 12076 | <reponame>turion/Generic<gh_stars>10-100
module Generic.Test.Data.Vec where
open import Generic.Main
import Data.Vec as Vec
infixr 5 _∷ᵥ_
Vec : ∀ {α} -> Set α -> ℕ -> Set α
Vec = readData Vec.Vec
-- []ᵥ : ∀ {α} {A : Set α} -> Vec A 0
pattern []ᵥ = #₀ lrefl
-- _∷ᵥ_ : ∀ {n α} {A : Set α} -> A -> Vec A n -> Vec A (s... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_284.asm | ljhsiun2/medusa | 9 | 13267 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1246f, %r9
nop
nop
nop
add %r11, %r11
movw $0x6162, (%r9)
nop
nop
nop
and $58631, %rbp
lea addresses_normal_ht+0xaf7f, %rcx
clflush (%rcx)
nop
nop
xor... |
arch/ARM/STM32/driver_demos/demo_crc/src/demo_crc.adb | rocher/Ada_Drivers_Library | 192 | 20939 | <gh_stars>100-1000
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, AdaCore --
-- ... |
src/datatype-util.agda | zmthy/cedille | 0 | 11029 | module datatype-util where
open import constants
open import ctxt
open import syntax-util
open import general-util
open import type-util
open import cedille-types
open import subst
open import rename
open import free-vars
{-# TERMINATING #-}
decompose-arrows : ctxt → type → params × type
decompose-arrows Γ (TpAbs me x... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.