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 |
|---|---|---|---|---|
agda-stdlib/src/Data/List/Membership/Propositional/Properties/WithK.agda | DreamLinuxer/popl21-artifact | 5 | 10605 | <filename>agda-stdlib/src/Data/List/Membership/Propositional/Properties/WithK.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties related to propositional list membership, that rely on
-- the K rule
-------------------------------------------------... |
mc-sema/validator/x86/tests/RCL16ri.asm | randolphwong/mcsema | 2 | 21760 | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_OF
;TEST_FILE_META_END
; RCL16ri
mov cx, 0x545
;TEST_BEGIN_RECORDING
rcl cx, 0x8
;TEST_END_RECORDING
|
src/wfc.ads | 98devin/ada-wfc | 9 | 4070 |
generic
type Element_Type is private;
-- The type of picture elements within the input.
type Element_Matrix is
array (Natural range <>, Natural range <>) of Element_Type;
-- The array type we'll take as input and provide as output.
-- We treat these as a toroidal surface which infinitely tiles.
with ... |
oeis/174/A174325.asm | neoneye/loda-programs | 11 | 18701 | ; A174325: Trisection A061037(3*n-2) of the Balmer spectrum numerators extended to negative indices.
; 0,-3,3,45,6,165,63,357,30,621,195,957,72,1365,399,1845,132,2397,675,3021,210,3717,1023,4485,306,5325,1443,6237,420,7221,1935,8277,552,9405,2499,10605,702,11877,3135,13221,870,14637,3843,16125,1056,17685,4623,19317,126... |
3-mid/physics/implement/box2d/source/thin/box2d_c-joint_cursor.ads | charlie5/lace | 20 | 2534 | <filename>3-mid/physics/implement/box2d/source/thin/box2d_c-joint_cursor.ads
-- This file is generated by SWIG. Please do *not* modify by hand.
--
with interfaces.C;
package box2d_c.joint_Cursor is
-- Item
--
type Item is
record
Joint : access box2d_c.b2Joint;
end record;
-- Items
... |
source/gmp-z.ads | ytomino/gmp-ada | 4 | 30445 | <filename>source/gmp-z.ads<gh_stars>1-10
private with Ada.Finalization;
private with Ada.Streams;
package GMP.Z is
pragma Preelaborate;
type MP_Integer is private;
-- conversions
function To_MP_Integer (X : Long_Long_Integer) return MP_Integer;
-- formatting
function Image (Value : MP_Integer; Base : Nu... |
book-01/Assembly/asm/avx/packed/avx_p_y_permute_float.asm | gfurtadoalmeida/study-assembly-x64 | 2 | 166882 | <reponame>gfurtadoalmeida/study-assembly-x64
.code
; void AVX_Packed_Y_Permute_Float_(YmmVal * src, YmmVal * des, YmmVal * indexes)
AVX_Packed_Y_Permute_Float_ proc
vmovaps ymm0, ymmword ptr [rcx] ; src
vmovdqa ymm1, ymmword ptr [r8] ; indexes
; Rearrange the items in src according to the indexes control.
vpermps ym... |
token.asm | mossx-dev/Mycore | 0 | 246477 | <reponame>mossx-dev/Mycore
;; Author: <NAME>
;; Date: 21-Oct-21
%ifndef _mycelium_token_
%define _mycelium_token_
%include "std/sys.asm"
%include "std/str.asm"
%include "std/tuple.asm"
section .data
token#binary#math#plus#code: equ 0x0
token#binary#math#plus#cstr: db "+", 0
tok... |
programs/oeis/327/A327625.asm | karttu/loda | 0 | 166967 | ; A327625: Expansion of Sum_{k>=0} x^(3^k) / (1 - x^(3^k))^2.
; 1,2,4,4,5,8,7,8,13,10,11,16,13,14,20,16,17,26,19,20,28,22,23,32,25,26,40,28,29,40,31,32,44,34,35,52,37,38,52,40,41,56,43,44,65,46,47,64,49,50,68,52,53,80,55,56,76,58,59,80,61,62,91,64,65,88,67,68,92,70,71,104,73,74,100,76,77,104,79,80,121,82,83,112,85,86,1... |
lib/controller.scpt | atsuya/youtube-playlist-control | 1 | 3051 | <reponame>atsuya/youtube-playlist-control
on control(direction)
set code to "
var direction = " & direction & ";
var event = new MouseEvent('click', { 'view': window, 'bubbles': true, 'cancelable': true });
var classNames = {
'next': ['yt-uix-button-icon-watch-appbar-play-next', 'yt-uix-button-icon... |
libsrc/_DEVELOPMENT/adt/wv_priority_queue/c/sccz80/wv_priority_queue_resize_callee.asm | teknoplop/z88dk | 8 | 97913 |
; int wv_priority_queue_resize(wv_priority_queue_t *q, size_t n)
SECTION code_clib
SECTION code_adt_wv_priority_queue
PUBLIC wv_priority_queue_resize_callee
EXTERN wa_priority_queue_resize_callee
defc wv_priority_queue_resize_callee = wa_priority_queue_resize_callee
|
FinderSyncExtension/Scripts/newFile.scpt | Musk66/FinderGo-Modify | 6 | 166 | <filename>FinderSyncExtension/Scripts/newFile.scpt
tell application "Finder"
make new file at (the target of the front window) as alias
end tell
|
util/thg/entry.asm | olifink/smsqe | 0 | 89530 | * Entry point for thing manipulation v0.00 Feb 1988 J.R.Oakley QJUMP
*
section thing
*
include 'dev8_keys_err'
include 'dev8_keys_68000'
include 'dev8_keys_qdos_sms'
include 'dev8_keys_qdos_ioa'
*
xref th_lthg
xref th_rthg
xref th_uthg
xref th_fthg
xref th_zthg
xref th_nthg
xref th_nthu
*
xdef th_entr... |
programs/oeis/017/A017403.asm | neoneye/loda | 22 | 176421 | ; A017403: (11n+1)^3.
; 1,1728,12167,39304,91125,175616,300763,474552,704969,1000000,1367631,1815848,2352637,2985984,3723875,4574296,5545233,6644672,7880599,9261000,10793861,12487168,14348907,16387064
mul $0,11
add $0,1
pow $0,3
|
AppleScript/Mute.scpt | KombinatAeppaeraet/mute-macbook-microphone-in-style | 0 | 3235 | set volume input volume 0
tell application "System Events"
tell appearance preferences
set dark mode to true
end tell
end tell
display notification "Off" with title "Mic"
|
multimedia/mythtv-core.25/files/Myth_Filldatabase.applescript | telotortium/macports-ports | 0 | 3176 | <gh_stars>0
(* Applescript to run 'Unix' version of mythfilldatabase
For use with MacPorts install of Myth
Author: <NAME>, ctreleaven at cogeco.ca
Myth Version: 0.25.0
Modified: 2012May17
*)
property MFDappPath : "@PREFIX@/bin/mythfilldatabase"
property MFDlogArg : "--logpath @MYTHTVLOGDIR@"
property MFDlogLevel : "... |
software/pcx86/bdsrc/test/sleep.asm | fatman2021/basicdos | 59 | 244985 | ;
; BASIC-DOS Sleep Tests
;
; @author <NAME> <<EMAIL>>
; @copyright (c) 2020-2021 <NAME>
; @license MIT <https://basicdos.com/LICENSE.txt>
;
; This file is part of PCjs, a computer emulation software project at pcjs.org
;
include macros.inc
include dosapi.inc
CODE SEGMENT
org 100h
ASSUM... |
Modules/Module4/FloatingPoint/doublecompare.asm | hackettccp/CSCI213 | 0 | 85996 | #Demonstrates comparing double precision floating point numbers
.text
l.d $f0, double1 #Loads double1 into $f0
l.d $f2, double2 #Loads double2 into $f2
c.le.d $f0, $f2 #Compares $f0 (double1) <= $f2 (double2)
bc1t lessthanorequal #Branch to lessthanorequal if condition code is true (1)
bc1f greaterth... |
test/Fail/HoTTCompatibleWithSizeBasedTerminationMaximeDenes.agda | redfish64/autonomic-agda | 1 | 11951 | <filename>test/Fail/HoTTCompatibleWithSizeBasedTerminationMaximeDenes.agda
-- Andreas, 2014-01-08, following <NAME> 2014-01-06
-- This file demonstrates that size-based termination does
-- not lead to incompatibility with HoTT.
{-# OPTIONS --sized-types #-}
open import Common.Size
open import Common.Equality
data E... |
src/adder.asm | earaujoassis/machos-assembly | 1 | 86714 | global _main
default rel
section .text
_main:
mov rax, 0x02000004 ; SYS_write setup (SYS_write at 4 bits offset from 0x02000000)
mov rdi, 1 ; SYS_write use STDOUT
mov rsi, warning_msg ; SYS_write argument
mov rdx, 33 ; SYS_write argument size (... |
src/main/antlr4-grammars/PropFormulaParser.g4 | RiccardoDeMasellis/FLLOAT | 9 | 454 | grammar PropFormulaParser;
@header{
package antlr4_generated;
}
propositionalFormula
: doubleImplicationProp
;
doubleImplicationProp
: implicationProp (DOUBLEIMPLY implicationProp)*
;
implicationProp
: orProp (IMPLY orProp)*
;
orProp
: andProp (OR andProp)*
;
andProp
: notP... |
movies_file.g4 | MakotoE/cs320-worksheet-6 | 0 | 4094 | <gh_stars>0
grammar movies_file;
r : value;
value
: object
| array
| NUMBER
| STRING;
object : '{' pair (',' pair)* '}';
pair : STRING ':' value;
array : '[' value (',' value)* ']';
NUMBER : [-]?[0-9]*[.]?[0-9]+;
STRING : ["]~["\r\n]*?["];
WS : [ \t\r\n]+ -> skip; |
test/gameboy/slidshow/main.asm | gb-archive/asmotor | 0 | 172138 | ;***************************************************************************
;*
;* MAIN.ASM - Standard ROM-image header
;*
;* All fields left to zero since RGBFix does a nice job of filling them in
;* in for us...
;*
;***************************************************************************
IMPORT UserMain... |
acceptance_test_lib.ads | oysteinlondal/Inverted-Pendulum | 0 | 20498 | with Ada.Real_Time; use Ada.Real_Time;
with Exception_Declarations; use Exception_Declarations;
package Acceptance_Test_Lib is
procedure Acceptance_Test(Max, Min, Value : in Float; Computation_Time, Max_Computation_Time: in Ada.Real_Time.Time_Span; Count : in Integer);
end Acceptance_Test_Lib; |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_225.asm | ljhsiun2/medusa | 9 | 245957 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_225.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x124cf, %rsi
lea addresses_normal_ht+0x18a7f, %rdi
nop
nop
nop
sub %rdx, %rdx
mov $54, %r... |
test/asset/agda-stdlib-1.0/Data/List/Relation/Binary/Sublist/DecSetoid.agda | omega12345/agda-mode | 5 | 12661 | <filename>test/asset/agda-stdlib-1.0/Data/List/Relation/Binary/Sublist/DecSetoid.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- An inductive definition of the sublist relation with respect to a
-- setoid which is decidable. This is a generalisation of wh... |
segments/applemusic.scpt | devanlooches/tmux-config | 0 | 2925 | tell application "System Events"
set process_list to (name of every process)
end tell
if process_list contains "Music" then
tell application "Music"
if player state is playing then
set track_name to name of current track
set artist_name to artist of current track
set now_playing to artist_name & " - " & tr... |
src/main/java/com/kulics/feel/antlr/FeelLexer.g4 | kulics-works/feel-jvm | 3 | 863 | lexer grammar FeelLexer;
Arrow: '->';
FatArrow: '=>';
EqualEqual: '==';
LessEqual: '<=';
GreaterEqual: '>=';
NotEqual: '<>';
AndAnd: '&&';
OrOr: '||';
Dot: '.';
Comma: ',';
Equal: '=';
Less: '<';
Greater: '>';
Semi: ';';
Colon: ':';
LeftParen: '(';
RightParen: ')';
LeftBrace: '{';
RightBrace: '}';
LeftBrack: '['... |
CodeExecution/Invoke-ReflectivePEInjection_Resources/Shellcode/x64/CallDllMain.asm | g-goessel/PowerSploit | 9,233 | 28208 | [SECTION .text]
global _start
_start:
; Get stack setup
push rbx
mov rbx, rsp
and sp, 0xff00
; Call DllMain
mov rcx, 0x4141414141414141 ; DLLHandle, set by PowerShell
mov rdx, 0x1 ; PROCESS_ATTACH
mov r8, 0x0 ; NULL
mov rax, 0x4141414141414141 ; Address of DllMain, set by PS
call rax
; Fix stack
mov... |
libsrc/_DEVELOPMENT/arch/zx/display/c/sdcc_iy/zx_aaddr2cx_fastcall.asm | meesokim/z88dk | 0 | 97023 |
; uint zx_aaddr2cx_fastcall(void *attraddr)
SECTION code_arch
PUBLIC _zx_aaddr2cx_fastcall
_zx_aaddr2cx_fastcall:
INCLUDE "arch/zx/display/z80/asm_zx_aaddr2cx.asm"
|
MCDRICORSIVO.asm | edoardottt/Asm_mars_examples | 21 | 167128 | # MCD TRA DUE INTERI POSITIVI RICORSIVO
.data
richiesta: .asciiz "inserire due valori x ed y interi positivi\n"
.text
li $v0,4
la $a0,richiesta
syscall
li $v0,5
syscall
move $s0,$v0 #X
li $v0,5
syscall
move $s1,$v0 #Y
jal mcd
li $v0,1
syscall
li $v0,10
syscall
mcd:
subi $sp,$sp,12
sw $ra,0($sp)
sw $s0,4(... |
Library/Breadbox/X10DRVR/X10init.asm | steakknife/pcgeos | 504 | 92263 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Breadbox Computer 1995 -- All Rights Reserved
PROJECT: Breadbox Home Automation
FILE: X10Init.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
X10I... |
test/Fail/Issue3810a.agda | cruhland/agda | 1,989 | 11197 | <filename>test/Fail/Issue3810a.agda
{-# OPTIONS --rewriting --confluence-check #-}
open import Agda.Builtin.Equality
open import Agda.Builtin.Equality.Rewrite
postulate
A : Set
a b : A
f : A → A
rew₁ : f a ≡ b
rew₂ : f ≡ λ _ → a
{-# REWRITE rew₁ #-}
{-# REWRITE rew₂ #-}
|
src/Const.agda | nad/equality | 3 | 5133 | <reponame>nad/equality
------------------------------------------------------------------------
-- Some properties related to the const function
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Equality
module Const
{reflexive} (eq : ∀ {a p} → ... |
test/Succeed/Issue4615-missing-reduce.agda | shlevy/agda | 1,989 | 16178 | <gh_stars>1000+
open import Agda.Primitive
open import Agda.Builtin.Nat
Type : (i : Level) -> Set (lsuc i)
Type i = Set i
postulate
P : (i : Level) (A : Type i) → A → Type i
postulate
lemma : (a : Nat) -> P _ _ a
|
kernel/arch/x86_64/util.asm | feliwir/benny | 3 | 26356 | <filename>kernel/arch/x86_64/util.asm<gh_stars>1-10
.global loadGDT
.section .text
loadGDT:
# Save the current stack pointer on the stack to push later
popq %rax
pushq %rsp
# push ss
pushq $0x10
# push rsp
pushq 8(%rsp)
pushfq
# push cs
pushq $0x08
# push eip back on
... |
src/apsepp.ads | thierr26/ada-apsepp | 0 | 9654 | -- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
package Apsepp is
pragma Pure (Apsepp);
end Apsepp;
|
abnf/Abnf.g4 | Cmejia/grammars-v4 | 1 | 6185 | /*
BSD License
Copyright (c) 2013, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions... |
General/Sprites/Tails/Anim - Tails Tail.asm | NatsumiFox/AMPS-Sonic-3-Knuckles | 5 | 4929 | dc.w AniTails_Tail00-AniTails_Tail
dc.w AniTails_Tail01-AniTails_Tail
dc.w AniTails_Tail02-AniTails_Tail
dc.w AniTails_Tail03-AniTails_Tail
dc.w AniTails_Tail04-AniTails_Tail
dc.w AniTails_Tail05-AniTails_Tail
dc.w AniTails_Tail06-AniTails_Tail
dc.w AniTails_Tail07-AniTails_Tail
dc.w AniTails_Tail08-A... |
src/main/antlr/com/yok/parser/Yok.g4 | ALoTron/yolol-minifier | 3 | 5862 | <filename>src/main/antlr/com/yok/parser/Yok.g4
grammar Yok;
@header
{
package com.yok.parser;
}
/*
Changes:
Statements seperated by ';'
Added parentheses / curvy brackets to ifStatement
Arguments for functions now need parentheses ('cos(42)')
Factorial is now a prefixOperator and functoin ('fa... |
src/Line_Array/src/line_arrays-classified.ads | fintatarta/eugen | 0 | 21168 | with Ada.Containers.Indefinite_Vectors;
generic
type Classified_Line (<>) is private;
type Classifier_Type (<>) is private;
with function Classify (Classifier : Classifier_Type;
Line : String) return Classified_Line is <> ;
with function Is_To_Be_Ignored (Line : Classifie... |
Transynther/x86/_processed/AVXALIGN/_zr_un_/i3-7100_9_0x84_notsx.log_543_1694.asm | ljhsiun2/medusa | 9 | 88801 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r9
push %rbp
push %rbx
push %rcx
lea addresses_UC_ht+0x1430a, %r10
nop
nop
nop
add %rbx, %rbx
movl $0x61626364, (%r10)
nop
nop
nop
nop
nop
sub $38541, %r13
lea addresses_normal_ht+0x15e1a, %rcx
nop
nop
add $39955, %rbp
mov $0x6162636465666... |
Lab 1 - Moving and Complementing Values/lab21.asm | SathyasriS27/ARM7-Thumb-Programming | 0 | 28485 | <reponame>SathyasriS27/ARM7-Thumb-Programming
AREA ADD, CODE, READONLY
ENTRY
MOV R0, #0X00000003
MOV R1, #0X00000004
ADD R2, R0, R1
UP B UP
END |
programs/oeis/184/A184552.asm | neoneye/loda | 22 | 80139 | ; A184552: Super-birthdays (falling on the same weekday), version 4 (birth in the year preceding a February 29).
; 0,5,11,22,28,33,39,50,56,61,67,78,84,89,95,106,112,117,123,134,140,145,151,162,168,173,179,190,196,201,207,218,224,229,235,246,252,257,263,274,280,285,291,302,308,313,319,330,336,341,347,358,364,369,375,38... |
mac0412/seminario/exemplo/cor_da_tela/programa.asm | rulojuka/listas | 0 | 23969 | ;==LoRom== ; We'll get to HiRom some other time.
.MEMORYMAP ; Begin describing the system architecture.
SLOTSIZE $8000 ; The slot is $8000 bytes in size. More details on slots later.
DEFAULTSLOT 0
SLOT 0 $8000 ; Defines Slot 0's starting address.
.ENDME ... |
programs/oeis/132/A132222.asm | karttu/loda | 1 | 2244 | <reponame>karttu/loda
; A132222: Beatty sequence 1+2*floor(n*Pi/2), which contains infinitely many primes.
; 1,3,7,9,13,15,19,21,25,29,31,35,37,41,43,47,51,53,57,59,63,65,69,73,75,79,81,85,87,91,95,97,101,103,107,109,113,117,119,123,125,129,131,135,139,141,145,147,151,153,157,161,163,167,169,173,175,179,183,185,189
mo... |
AzureMXChip/MXCHIPAZ3166/core/lib/threadx/ports/c667x/ccs/src/tx_timer_interrupt.asm | Logicalis/eugenio-devices | 0 | 169638 | <filename>AzureMXChip/MXCHIPAZ3166/core/lib/threadx/ports/c667x/ccs/src/tx_timer_interrupt.asm
;/**************************************************************************/
;/* */
;/* Copyright (c) Microsoft Corporation. All rights reserved. ... |
packages/external/libmpg123-1.22.x/src/asm_nasm/synth_sse_accurate.asm | sezero/SDL2-OS2 | 2 | 242636 | <filename>packages/external/libmpg123-1.22.x/src/asm_nasm/synth_sse_accurate.asm
; 1 "synth_sse_accurate.S"
; 1 "<built-in>"
; 1 "<command line>"
; 1 "synth_sse_accurate.S"
; 9 "synth_sse_accurate.S"
; 1 "mangle.h" 1
; 13 "mangle.h"
; 1 "config.h" 1
; 14 "mangle.h" 2
; 1 "intsym.h" 1
; 15 "mangle.h" 2
; 10 ... |
Lab Assessment Submission/Lab 1/ASSESMENT 2.asm | FahimuzzamanShaurav/CSE331L-Section-10-Fall20-NSU | 0 | 21297 |
; You may customize this and other start-up templates;
; The location of this template is c:\emu8086\inc\0_com_template.txt
org 100h ;#INCLUDE<STDIO.H>
;INT MAIN (){
MOV AX, 02 ; INT A=2;
MOV BX, 03
; INT B=3;
ADD AX, BX ; INT C = A+B;
... |
alloy4fun_models/trashltl/models/5/y5bJXPNCe3wyhcurx.als | Kaixi26/org.alloytools.alloy | 0 | 939 | <filename>alloy4fun_models/trashltl/models/5/y5bJXPNCe3wyhcurx.als<gh_stars>0
open main
pred idy5bJXPNCe3wyhcurx_prop6 {
all f:File | always (f in Trash implies (after f in Trash))
}
pred __repair { idy5bJXPNCe3wyhcurx_prop6 }
check __repair { idy5bJXPNCe3wyhcurx_prop6 <=> prop6o } |
basic_constraint/composite_unique_key.als | nowavailable/alloy_als_study | 0 | 4366 | <filename>basic_constraint/composite_unique_key.als
module composite_unique_constraint
/**
* 複合ユニーク制約の実現。(単独ユニークフィールドとの共存)
*/
/*
sig Entity_0 {
disj pkey: one Int
}
*/
sig Entity_1 {
field_a: one Int,
field_b: one Int
}
fact {
all e,e':Entity_1 |
e != e' => e.field_a -> e.field_a != e'.field_a -> e'.field... |
programs/oeis/004/A004155.asm | neoneye/loda | 22 | 12538 | ; A004155: Sum of digits of n-th odd number.
; 1,3,5,7,9,2,4,6,8,10,3,5,7,9,11,4,6,8,10,12,5,7,9,11,13,6,8,10,12,14,7,9,11,13,15,8,10,12,14,16,9,11,13,15,17,10,12,14,16,18,2,4,6,8,10,3,5,7,9,11,4,6,8,10,12,5,7,9,11,13,6,8,10,12,14,7,9,11,13,15,8,10,12,14,16,9,11,13,15,17,10,12,14,16,18,11,13,15,17,19
mul $0,2
lpb $0
... |
programs/oeis/181/A181716.asm | neoneye/loda | 22 | 16961 | <filename>programs/oeis/181/A181716.asm
; A181716: a(n) = a(n-1) + a(n-2) + (-1)^n, with a(0)=0 and a(1)=1.
; 0,1,2,2,5,6,12,17,30,46,77,122,200,321,522,842,1365,2206,3572,5777,9350,15126,24477,39602,64080,103681,167762,271442,439205,710646,1149852,1860497,3010350,4870846,7881197,12752042,20633240,33385281,54018522,874... |
src/lib/math/sin.asm | germix/sanos | 57 | 93822 | <gh_stars>10-100
;-----------------------------------------------------------------------------
; sin.asm - floating point sine
; Ported from <NAME>'s free C Runtime Library
;-----------------------------------------------------------------------------
SECTION .text
global sin
... |
core/lib/types/EilenbergMacLane1.agda | AntoineAllioux/HoTT-Agda | 294 | 1488 | {-# OPTIONS --without-K --rewriting #-}
module lib.types.EilenbergMacLane1 where
open import lib.types.EilenbergMacLane1.Core public
open import lib.types.EilenbergMacLane1.Recursion public
open import lib.types.EilenbergMacLane1.DoubleElim public
open import lib.types.EilenbergMacLane1.DoublePathElim public
open imp... |
test/fail/Imports/Test.agda | asr/agda-kanso | 1 | 5880 | {-# OPTIONS --universe-polymorphism #-}
module Imports.Test where
open import Imports.Level
record Foo (ℓ : Level) : Set ℓ where
|
splash.asm | peter-mount/teletextc64 | 1 | 8614 | <filename>splash.asm<gh_stars>1-10
; **********************************************************************
; Splash loading page
; 1K for holding screen chars for refresh
;
; Copyright 2021 <NAME>
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance wi... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2447.asm | ljhsiun2/medusa | 9 | 3881 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xc42e, %rsi
lea addresses_WT_ht+0xf2c, %rdi
nop
nop
and $20065, %r15
mov $5, %rcx
rep movsq
nop
nop
sub %rax, %rax
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r15
ret
.global s_faulty_load
s_faulty_load:... |
oeis/043/A043119.asm | neoneye/loda-programs | 11 | 29508 | <filename>oeis/043/A043119.asm<gh_stars>10-100
; A043119: Numbers k such that 0 and 4 occur juxtaposed in the base-6 representation of k but not of k-1.
; Submitted by <NAME>
; 24,40,60,76,96,112,132,144,168,184,204,220,240,256,276,292,312,328,348,360,384,400,420,436,456,472,492,508,528,544,564,576,600,616,636,652,672,... |
oeis/020/A020114.asm | neoneye/loda-programs | 11 | 27972 | ; A020114: Ceiling of GAMMA(n+1/9)/GAMMA(1/9).
; Submitted by <NAME>
; 1,1,1,1,1,4,18,105,741,6006,54718,553254,6147264,74450194,976124761,13774204959,208143541602,3353423725802,57380805974820,1039230152655058,19860842917407766,399423618672311730
mov $1,1
mov $3,1
lpb $0
mov $2,$0
sub $0,1
mul $2,18
sub $2,16
... |
src/main/antlr/TextTemplateColorizeLexer.g4 | mikecargal/texttemplate-editor | 0 | 3790 | lexer grammar TextTemplateColorizeLexer;
COMMENT: '//' ~[\n]*;
SLASH_STAR_COMMENT: '/*' .*? '*/' ->type(COMMENT);
SLASHSTAR: '/*';
TICK_COMMENT: [ \t]* '`' [ \t]* '//' ~[\n]* ('\n' [ \t]* '//' ~[\n]*)* '\n' [ \t]* ->type(TICK);
TICK: '`' [ \t]* EOF;
TEXT: ~[{/`]+ ;
TICK_TEXT: '`' ->type(TEXT);
LBRACE: '{' -> pushMod... |
src/Categories/Functor/Instance/StrictCore.agda | MirceaS/agda-categories | 0 | 14065 | {-# OPTIONS --without-K --safe #-}
module Categories.Functor.Instance.StrictCore where
-- The 'strict' core functor (from StrictCats to StrictGroupoids).
-- This is the right-adjoint of the forgetful functor from
-- StrictGroupoids to StrictCats
-- (see Categories.Functor.Adjoint.Instance.StrictCore)
open import Dat... |
Task/Pointers-and-references/Ada/pointers-and-references-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 5969 | <filename>Task/Pointers-and-references/Ada/pointers-and-references-2.ada<gh_stars>1-10
type Safe_Int_Access is not null access Integer;
|
src/test/cpp/raw/deleg/build/deleg.asm | cbrune/VexRiscv | 1,524 | 179696 |
build/deleg.elf: file format elf32-littleriscv
Disassembly of section .crt_section:
80000000 <_start>:
80000000: 00100e93 li t4,1
80000004: 00001097 auipc ra,0x1
80000008: a3c08093 addi ra,ra,-1476 # 80000a40 <mtrap>
8000000c: 30509073 csrw mtvec,ra
80000010: 00001097 ... |
gcc-gcc-7_3_0-release/gcc/ada/a-cforse.ads | best08618/asylo | 7 | 14325 | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
3-mid/impact/source/2d/dynamics/contacts/impact-d2-contact-polygon_circle.ads | charlie5/lace | 20 | 1389 | <filename>3-mid/impact/source/2d/dynamics/contacts/impact-d2-contact-polygon_circle.ads
package impact.d2.Contact.polygon_circle
--
--
--
is
type b2PolygonAndCircleContact is new b2Contact with null record;
type View is access all b2PolygonAndCircleContact'Class;
overriding procedure E... |
programs/oeis/002/A002738.asm | neoneye/loda | 22 | 166802 | <filename>programs/oeis/002/A002738.asm
; A002738: Coefficients for extrapolation.
; 3,60,630,5040,34650,216216,1261260,7001280,37413090,193993800,981608628,4867480800,23728968900,114011377200,540972351000,2538963567360,11802213457650,54396360988200,248812984520100,1130341536324000,5103492036502860,22913637714910800
m... |
data/pokemon/base_stats/grimer.asm | opiter09/ASM-Machina | 1 | 242112 | db DEX_GRIMER ; pokedex id
db 80, 80, 50, 25, 40
; hp atk def spd spc
db POISON, POISON ; type
db 190 ; catch rate
db 90 ; base exp
INCBIN "gfx/pokemon/front/grimer.pic", 0, 1 ; sprite dimensions
dw GrimerPicFront, GrimerPicBack
db POUND, DISABLE, NO_MOVE, NO_MOVE ; level 1 learnset
db GROWTH_M... |
source/asis/spec/ada-containers-doubly_linked_lists.ads | faelys/gela-asis | 4 | 25997 | <filename>source/asis/spec/ada-containers-doubly_linked_lists.ads<gh_stars>1-10
------------------------------------------------------------------------------
-- 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 --
-- ... |
main64/kernel/gdt/gdt.asm | KlausAschenbrenner/KAOS | 1 | 88429 | <reponame>KlausAschenbrenner/KAOS
[GLOBAL GdtFlush]
; Loads the GDT table
GdtFlush:
cli
; The first function parameter is provided in the RDI register on the x64 architecture
; RDI points to the variable _gdtPointer (defined in the C code)
lgdt [rdi]
; Load the TSS
mov ax, 0x2b ; This is the ... |
src/fltk-widgets-clocks.ads | micahwelf/FLTK-Ada | 1 | 30248 |
package FLTK.Widgets.Clocks is
type Clock is new Widget with private;
type Clock_Reference (Data : not null access Clock'Class) is limited null record
with Implicit_Dereference => Data;
subtype Hour is Integer range 0 .. 23;
subtype Minute is Integer range 0 .. 59;
subtype Second is In... |
source/league/arch/x86_generic/matreshka-internals-strings-handlers-x86_utilities.adb | svn2github/matreshka | 24 | 9625 | <filename>source/league/arch/x86_generic/matreshka-internals-strings-handlers-x86_utilities.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project ... |
programs/oeis/306/A306696.asm | neoneye/loda | 22 | 175834 | ; A306696: Lexicographically earliest sequence of nonnegative terms such that for any n > 0 and k > 0, if a(n) >= a(n+k), then a(n+2*k) <> a(n+k).
; 0,0,1,0,1,1,2,0,2,1,3,1,2,2,3,0,3,2,4,1,3,3,4,1,4,2,5,2,4,3,5,0,5,3,6,2,4,4,6,1,5,3,7,3,5,4,6,1,6,4,7,2,5,5,7,2,6,4,8,3,6,5,7,0,7,5,8,3,6,6,8,2,7,4,9,4,7,6,8,1,8,5,9,3,7,7... |
org.alloytools.alloy.core/src/test/resources/oldInts.als | cesarcorne/org.alloytools.alloy | 0 | 2417 | <gh_stars>0
open util/int8bits
sig OldNum {
field : Int
}
/*
pred prueba[a: A, b: A]{
eq[a.field,b]
}
*/
pred prueba[a: OldNum, b: OldNum]{
eq[a.field, b.field]
}
run prueba |
alloy4fun_models/trashltl/models/7/ZQD4BpwKEYiBEEG6E.als | Kaixi26/org.alloytools.alloy | 0 | 4354 | <filename>alloy4fun_models/trashltl/models/7/ZQD4BpwKEYiBEEG6E.als
open main
pred idZQD4BpwKEYiBEEG6E_prop8 {
( some f1,f2 : File | f1->f2 in link implies eventually f2 in Trash )
}
pred __repair { idZQD4BpwKEYiBEEG6E_prop8 }
check __repair { idZQD4BpwKEYiBEEG6E_prop8 <=> prop8o } |
test/Succeed/Issue2908.agda | cruhland/agda | 1,989 | 1926 | <gh_stars>1000+
open import Agda.Builtin.Nat
open import Agda.Builtin.Strict
foo : Nat → Nat
foo n = primForce (n + n) (λ _ → 0)
-- Don't get rid of the seq!
|
alloy4fun_models/trashltl/models/11/RkvoggWsJEhwBzG9f.als | Kaixi26/org.alloytools.alloy | 0 | 603 | <filename>alloy4fun_models/trashltl/models/11/RkvoggWsJEhwBzG9f.als<gh_stars>0
open main
pred idRkvoggWsJEhwBzG9f_prop12 {
always all f: File | f in Trash releases f not in Trash
}
pred __repair { idRkvoggWsJEhwBzG9f_prop12 }
check __repair { idRkvoggWsJEhwBzG9f_prop12 <=> prop12o } |
Assignment 4/ReverseArr.asm | wstern1234/COMSC-260 | 0 | 173789 | <reponame>wstern1234/COMSC-260<gh_stars>0
; ReverseArr.asm - reverses the elements of an integer numArr in place
INCLUDE Irvine32.inc
.386
.model flat, stdcall
.stack 4096
ExitProcess PROTO, dwExitCode:DWORD
.data
numArr DWORD 1, 5, 6, 8, 0Ah, 1Bh, 1Eh, 22h, 2Ah, 32h
count BYTE LENGTHOF numArr -1
... |
generated/natools-s_expressions-printers-pretty-config-commands.ads | faelys/natools | 0 | 21320 | -- Generated at 2014-06-02 19:12:04 +0000 by Natools.Static_Hash_Maps
-- from ../src/natools-s_expressions-printers-pretty-config-commands.sx
private package Natools.S_Expressions.Printers.Pretty.Config.Commands is
pragma Preelaborate;
type Main_Command is
(Set_Char_Encoding,
Set_Fallback,
Se... |
out/affect.adb | FardaleM/metalang | 22 | 8697 |
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure affect is
type stringptr is access all char_array;
procedure PInt(i : in Integer) is
begin
String'Write (Text_Streams.Stre... |
models/util/ternary.als | transclosure/Amalgam | 4 | 878 | module util/ternary
/*
* Utilities for some common operations and constraints
* on ternary relations. The keyword 'univ' represents the
* top-level type, which all other types implicitly extend.
* Therefore, all the functions and predicates in this model
* may be applied to ternary relations of any type.
*
* au... |
data/github.com/Lord-Kamina/Deluge-Magnet-Handler/d14f5e7b446050763bb2584e8091eb66c894d088/Magnet Handler.applescript | ajnavarro/language-dataset | 93 | 2138 | <reponame>ajnavarro/language-dataset
on quit
try
tell application "System Events" to tell process "Deluge"
activate
set frontmost to true
windows where title contains "Add Torrents"
if result is not {} then perform action "AXRaise" of item 1 of result
end tell
end try
end quit
on open location this_U... |
_incObj/79 Lamppost.asm | kodishmediacenter/msu-md-sonic | 9 | 960 | <reponame>kodishmediacenter/msu-md-sonic<filename>_incObj/79 Lamppost.asm
; ---------------------------------------------------------------------------
; Object 79 - lamppost
; ---------------------------------------------------------------------------
Lamppost:
moveq #0,d0
move.b obRoutine(a0),d0
move.w Lamp_In... |
utils/obb.ads | Lucretia/old_nehe_ada95 | 0 | 15886 | ---------------------------------------------------------------------------------
-- Copyright 2004-2005 © <NAME>
--
-- This code is to be used for tutorial purposes only.
-- You may not redistribute this code in any form without my express permission.
-------------------------------------------------------------------... |
test/Common/Maybe.agda | KDr2/agda | 0 | 12012 | {-# OPTIONS --cubical-compatible #-}
module Common.Maybe where
data Maybe {a} (A : Set a) : Set a where
nothing : Maybe A
just : A → Maybe A
|
programs/oeis/283/A283833.asm | neoneye/loda | 22 | 81239 | ; A283833: For t >= 0, if 2^t + t - 3 <= n <= 2^t + t - 1 then a(n) = 2^t - 1, while if 2^t + t - 1 < n < 2^(t+1) + t - 3 then a(n) = 2^(t+1) + t - 2 - n.
; 1,1,1,3,3,3,2,1,7,7,7,6,5,4,3,2,1,15,15,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,31,31,31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2... |
Lista 3/mips5.asm | AtilaAssuncao/MIPS-AP2 | 0 | 89263 | .data
message: .asciiz "Fim da Execução"
space: .asciiz ", "
.text
main:
addi $t0,$zero,0
loop:
bgt $t0,9,exit
addi $t0,$t0,1
li $v0, 5 # chama função para ler
syscall
la $t7, ($v0) # carrega o inteiro lido em $t7
add $t1,$t1,$t7
j loop
exit:
jal... |
ke_mode/winnt/ntke_cpprtl/eh/table_based/_arm/eh_invoke_funclet.arm.asm | 133a/project_ntke_cpprtl | 12 | 81107 | ;/////////////////////////////////////////////////////////////////////////////
;//// copyright (c) 2012-2017 project_ntke_cpprtl
;//// mailto:<EMAIL>
;//// license: the MIT license
;/////////////////////////////////////////////////////////////////////////////
#include <ksarm.h>
; r0 void* (... |
oeis/000/A000082.asm | neoneye/loda-programs | 11 | 174644 | <filename>oeis/000/A000082.asm<gh_stars>10-100
; A000082: a(n) = n^2*Product_{p|n} (1 + 1/p).
; Submitted by <NAME>
; 1,6,12,24,30,72,56,96,108,180,132,288,182,336,360,384,306,648,380,720,672,792,552,1152,750,1092,972,1344,870,2160,992,1536,1584,1836,1680,2592,1406,2280,2184,2880,1722,4032,1892,3168,3240,3312,2256,4608... |
data/phone/text/alan_callee.asm | Dev727/ancientplatinum | 28 | 168625 | UnknownText_0x1b659d:
text "Yup, it's @"
text_ram wStringBuffer3
text "!"
para "Is this <PLAY_G>?"
line "Good morning!"
done
UnknownText_0x1b65c7:
text "Yup, it's @"
text_ram wStringBuffer3
text "!"
para "Is that <PLAY_G>?"
done
UnknownText_0x1b65e3:
text "Yup, it's @"
text_ram wStringBuffer3
text "!"... |
tests/bfp-003-loadfpi.asm | mtalexander/hyperion | 187 | 171584 | <gh_stars>100-1000
TITLE 'bfp-003-loadfpi.asm: Test IEEE Load FP Integer'
***********************************************************************
*
*Testcase IEEE LOAD FP INTEGER
* Test case capability includes IEEE exceptions trappable and
* otherwise. Test results, FPCR flags, and any DXC are saved for all
* t... |
src/main/java/uk/nhs/digital/mait/tkwx/tk/internalservices/testautomation/parser/AutotestLexer.g4 | nhsdigitalmait/TKW-x | 0 | 2773 | /*
Copyright 2012-13 <NAME> <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... |
hiress2_lsysteem.asm | visy/c64demo2017 | 0 | 9035 | <gh_stars>0
//
// Switch bank in VIC-II
//
// Args:
// bank: bank number to switch to. Valid values: 0-3.
//
.macro SwitchVICBank(bank) {
//
// The VIC-II chip can only access 16K bytes at a time. In order to
// have it access all of the 64K available, we have to tell it to look
// at one of four ban... |
oeis/060/A060553.asm | neoneye/loda-programs | 11 | 10140 | ; A060553: a(n) is the number of distinct (modulo geometric D3-operations) patterns which can be formed by an equilateral triangular arrangement of closely packed black and white cells satisfying the local matching rule of Pascal's triangle modulo 2, where n is the number of cells in each edge of the arrangement. The m... |
src/examples/Rejuvenation_Workshop/src/math.adb | selroc/Renaissance-Ada | 1 | 13767 | package body Math is
procedure Temp (x : Integer)
is
Square : constant Integer := x * x;
begin
pragma Unreferenced (Square);
end Temp;
end Math;
|
intro.adb | Spohn/LegendOfZelba | 2 | 22065 | with ada.text_io;
use ada.text_io;
package body intro is
-------------------------------
-- Name: <NAME>
-- <NAME>
-- Game Intro Package
-------------------------------
--Read in and display title page
procedure title_page(file:in file_type) is
char:character;
begin
while not end_of_file(file... |
FormalAnalyzer/models/apps/IlluminatedResponsetoUnexpectedVisitors.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 4531 | module app_IlluminatedResponsetoUnexpectedVisitors
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_motionSensor
open cap_switch
open cap_switch
open cap_switch
open cap_switch
one sig app_IlluminatedResponsetoUnexpectedVisitors extends IoTApp {
motion : one cap_motionSensor,
switch1 : one ca... |
lab/island/Island4.g4 | rewriting/tom | 36 | 6261 | grammar Island4;
start : (island|.)*? ;
island : MATCH LBRACE (trule)* RBRACE ;
trule : ID ARROW block ;
block : LBRACE (island|.)*? RBRACE ;
MATCH : '%match()' ;
LBRACE : '{' ;
RBRACE : '}' ;
ARROW : '->' ;
ID : [a-zA-Z] [a-zA-Z0-9]* ;
WS : [ \r\t\n]+ -> skip ;
ANY : . ;
|
programs/oeis/005/A005009.asm | neoneye/loda | 22 | 22672 | ; A005009: a(n) = 7*2^n.
; 7,14,28,56,112,224,448,896,1792,3584,7168,14336,28672,57344,114688,229376,458752,917504,1835008,3670016,7340032,14680064,29360128,58720256,117440512,234881024,469762048,939524096,1879048192,3758096384,7516192768,15032385536,30064771072,60129542144,120259084288,240518168576,481036337152,962072... |
asm/echo.asm | foxxy777/leros | 40 | 105465 | //
// Just echo characters received from the UART
//
nop // first instruction is not executed
start:
in 0 // check rdrf
and 2
nop // one delay slot
brz start
in 1 // read received character
store r0
loop:
in 0 // check tdre
and 1
nop // one delay slot
brz loop
load r0
out 1
branch start
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.