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 |
|---|---|---|---|---|
oeis/106/A106192.asm | neoneye/loda-programs | 11 | 90124 | ; A106192: Expansion of sqrt(1-4x)/(1-x^2).
; Submitted by <NAME>
; 1,-2,-1,-6,-11,-34,-95,-298,-953,-3158,-10677,-36750,-128249,-452774,-1614049,-5801654,-21003739,-76516994,-280293319,-1031794394,-3814819699,-14160035234,-52747353739,-197125162514,-738866581039,-2776933457162,-10462759383943
lpb $0
mov $2,$0
sub... |
patches/remove_optimization_for_freecam_ntsc.asm | marius851000/asmpatch | 1 | 105015 | ; Free cam, credit goes to marius851000, NTSC translation by <NAME>(<NAME>)
.org 0x8034f59c
li r3, 1 ; 0434f59c 38600001
blr ; 0434f5a0 4e800020
.org 0x80324168
nop ; 04324168 60000000
|
Task/Optional-parameters/AppleScript/optional-parameters-2.applescript | LaudateCorpus1/RosettaCodeData | 1 | 2151 | -- Another sort function.
script sort_colex
on sort(table, column, reverse)
-- Implement colexicographic Sorting process here.
return table
end sort
end script
-- Populate a table (list) with data.
set table to {{1,2},{3,4}}
sortTable({sequence:table, ordering:sort_lexicographic, column:1, reverse:false})
sortT... |
programs/oeis/087/A087627.asm | karttu/loda | 0 | 172763 | <filename>programs/oeis/087/A087627.asm
; A087627: Count ...n,2n,2n...
; 1,2,2,2,4,4,3,6,6,4,8,8,5,10,10,6,12,12,7,14,14,8,16,16,9,18,18,10,20,20,11,22,22,12,24,24,13,26,26,14,28,28,15,30,30,16,32,32,17,34,34,18,36,36,19,38,38,20,40,40,21,42,42,22,44,44,23,46,46,24,48,48,25,50,50
mov $5,$0
add $0,1
mov $1,1
mov $2,$0
... |
arch/ARM/STM32/driversL5/stm32-mpu.adb | morbos/Ada_Drivers_Library | 2 | 23726 | with System;
package body STM32.MPU is
type RLAR_Overlay
(As_32Bit : Boolean := False)
is record
case As_32Bit is
when False =>
Val : HAL.UInt32;
when True =>
Reg : MPU_RLAR_Register;
end case;
end record
with Unchecked_Union, Size => 32;
pr... |
src/main/antlr/net/alexjeffery/hierarchies/parser/Hierarchies.g4 | alexj136/hierarchies | 0 | 6950 | grammar Hierarchies;
@parser::header {
import net.alexjeffery.hierarchies.syntax.Declaration;
import net.alexjeffery.hierarchies.syntax.Option;
import net.alexjeffery.hierarchies.syntax.Field;
}
declarations returns [List<Declaration> out]
: declaration ds=declarations { $out = $ds.out; $out.add(0, $d... |
aux/2600/line_test/source.asm | 6502ts/6502.ts | 49 | 161343 | <gh_stars>10-100
; thin red line by <NAME>
processor 6502
include ../vcs.h
SEG.U VARS
ORG $80
NusizCopies ds 1
FrameCounter ds 1
WidthStart ds 1
Color0 ds 1
Color0Pre ds 1
Color1 ds 1
Color1Pre ds 1
ColorBk ds 1
SEG CODE
org $F000
Start
SEI
CLD
LDX #$FF
TXS
LDA #0
ClearMem
STA 0,X
D... |
src/win32/775.asm | amindlost/wdosx | 7 | 178963 | ; ############################################################################
; ## WDOSX DOS Extender Copyright (c) 1996, 1999, <NAME> ##
; ## ##
; ## Released under the terms of the WDOSX license agreement. ##
; ###########... |
oeis/091/A091949.asm | neoneye/loda-programs | 11 | 240243 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A091949: a(n) = A087659(n) mod 2.
; Submitted by <NAME>(s4)
; 1,0,1,1,1,1,0,0,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,0,1,0,1,1,1,1,0,0,1,0,1,1,1,1,0,0,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,0,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,0,1,0,1,1,1,0,1,1,1,0,1,1,1,1,0,0,1,0,1,1,1,1,0,0,1,0,1,1
mov $3,... |
SOAS/Families/Delta.agda | JoeyEremondi/agda-soas | 39 | 16553 |
-- Context extension of presheaves
module SOAS.Families.Delta {T : Set} where
open import SOAS.Common
open import SOAS.Context
open import SOAS.Variable
open import SOAS.Sorting
open import SOAS.Construction.Structure
open import SOAS.Families.Core {T}
-- | General context extension by a context Θ
module Unsorted ... |
Support/Examples/Builds/qmake/mysqlversion/mysqlversion.asm | agguro/linux-nasm | 6 | 85537 | ;name: mysqlversion.asm
;
;description:
; example to show the use of external libraries.
; This example gets the mysql client version and make full
; use of libc functions.
; to succesfully build and run you need to install libmysqlclient-dev
; with: sudo apt install libmysqlclient-dev
bits 64
%include "../mysqlversi... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1170.asm | ljhsiun2/medusa | 9 | 21160 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xd2f0, %rsi
lea addresses_A_ht+0x7f0, %rdi
nop
add $39051, %r15
mov $58, %rcx
rep movsw
nop
nop
nop
inc %r11
lea addresses_UC_ht+0x1168, %r15
nop
nop
nop
nop
inc %rax
mov $0x6162636465... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization22.adb | best08618/asylo | 7 | 30599 | <gh_stars>1-10
-- { dg-do compile }
-- { dg-options "-O -fdump-tree-optimized" }
pragma Overflow_Mode (Minimized);
package body Loop_Optimization22 is
procedure Foo (X : Discrim_Type) is
H : array (1 .. Integer (X.Count) + 1) of Float;
begin
for I in 1 .. X.Count loop
H (Integer(I) + 1):= 0... |
sound/sfxasm/A7.asm | NatsumiFox/Sonic-3-93-Nov-03 | 7 | 80556 | A7_Header:
sHeaderInit ; Z80 offset is $D42D
sHeaderPatch A7_Patches
sHeaderTick $01
sHeaderCh $01
sHeaderSFX $80, $05, A7_FM5, $B0, $04
A7_FM5:
sPatFM $00
ssModZ80 $02, $01, $0B, $D5
dc.b nF4, $06
saVolFM $09
dc.b nF4, $3A
sStop
A7_Patches:
; Patch $00
; $D2
; $11, $92, $6F, $0F, $19, $1D, $1C,... |
languages/ada/echo.adb | sergev/vak-opensource | 34 | 335 | <gh_stars>10-100
--
-- echo [string ...]
--
-- Write arguments to the standard output
--
-- The echo utility writes any specified operands, separated by single blank
-- (`` '') characters and followed by a newline (``\n'') character, to the
-- standard output.
--
with Ada.Command_Line;
with Ada.Text_IO;
use Ada;
proce... |
experiments/beep/hardware.asm | daltonmatos/avrgcc-mixed-with-avrasm2 | 2 | 101135 | <filename>experiments/beep/hardware.asm
#define lcd_cs1 portd, 5
#define lcd_res portd, 6
#define lcd_a0 portd, 7
#define lcd_scl portd, 4
#define lcd_si portd, 1
#define LedOn sbi portb, 3
#define LedOff cbi portb, 3
#define LedToggle sbi pinb, 3
#define BuzzerOn sbi portb, 1
#define BuzzerOff ... |
Code/VGMPlay/vgmplay.asm | QuinnPainter/6502Computer | 0 | 20499 | <reponame>QuinnPainter/6502Computer<filename>Code/VGMPlay/vgmplay.asm<gh_stars>0
include viaInfo.asm
include biosFunctions.asm
include qsdosFunctions.asm
org $2000
lda #'S'
sta $7
lda #'O'
sta $8
lda #'N'
sta $9
lda #'G'
sta $A
lda #' '
sta $B
lda #' '
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/constant1_pkg.ads | best08618/asylo | 7 | 3514 | <reponame>best08618/asylo
package Constant1_Pkg is
type Id_T is mod Natural'Last + 1;
type Timer_Id_T is tagged record
Id : Id_T := Id_T'Last;
end record;
Null_Timer_Id : constant Timer_Id_T := (Id => Id_T'Last - 1);
end Constant1_Pkg;
|
oeis/096/A096285.asm | neoneye/loda-programs | 11 | 244800 | ; A096285: Denominator of the ratio of the preceding two terms.
; Submitted by <NAME>
; 1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1
div $0,2
mod $0,3
mod $0,2
add $0,1
|
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2.log_93_942.asm | ljhsiun2/medusa | 9 | 18156 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x12ed1, %rsi
lea addresses_normal_ht+0x13611, %rdi
nop
cmp $27171, %r8
mov $34, %rcx
rep movsl
nop
nop
xor %r15, %r15
pop %rsi
pop %rdi
pop %rcx
pop %r8
pop %r15
ret
.global s_faulty_load
s_faulty... |
3d/points.asm | arbruijn/d1dos | 2 | 7855 | ;THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
;SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
;END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
;ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
;IN USING, DISPLAYING, ... |
cs264/project4/project4.asm | taylorthurlow/school-code | 0 | 178392 | <filename>cs264/project4/project4.asm<gh_stars>0
# Who: <NAME>
# What: project4.asm
# Why: Practicing usage of the stack
# When: 30 May 2017
# How: Prompts for integers, stores them in the stack sorted, and finally
# prints them in order.
.data
prompt_quantity: .asciiz "Please enter the desired number of inte... |
programs/oeis/133/A133819.asm | karttu/loda | 0 | 96902 | ; A133819: Triangle whose rows are sequences of increasing squares: 1; 1,4; 1,4,9; ... .
; 1,1,4,1,4,9,1,4,9,16,1,4,9,16,25,1,4,9,16,25,36,1,4,9,16,25,36,49,1,4,9,16,25,36,49,64,1,4,9,16,25,36,49,64,81,1,4,9,16,25,36,49,64,81,100,1,4,9,16,25,36,49,64,81,100,121,1,4,9,16,25,36,49,64,81,100,121,144,1,4,9,16,25,36,49,64,8... |
alloy4fun_models/trashltl/models/18/ayJAzjpagy5B3CmXy.als | Kaixi26/org.alloytools.alloy | 0 | 5289 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idayJAzjpagy5B3CmXy_prop19 {
always (all f:File | f in Protected until f in Trash)
}
pred __repair { idayJAzjpagy5B3CmXy_prop19 }
check __repair { idayJAzjpagy5B3CmXy_prop19 <=> prop19o } |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_2987_1740.asm | ljhsiun2/medusa | 9 | 243660 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r8
push %rax
push %rbp
push %rbx
lea addresses_A_ht+0x13c99, %r11
nop
and %rax, %rax
vmovups (%r11), %ymm5
vextracti128 $1, %ymm5, %xmm5
vpextrq $0, %xmm5, %r8
nop
nop
nop
nop
nop
dec %rbp
lea addresses_WC_ht+0x13521, %r10
s... |
my_lib.asm | genesis152/CriptareHemmingASM | 0 | 168957 |
.data
;DB - 1 byte
;DW - 2 bytes
;DD - 4 bytes
;EAX - 4 bytes
;AX - 2 bytes
;AL,AM - 1 bytes
;int - 4 bytes
;char - 1 byte
;v DD 0 dup(32)
format_intreg DB "%d",0
format_test DB "-%d-",0
format1 DB 10,13,"%d %d %d",0
intreg DD 0
new_line DB 10,0
sir_verif1 DD 3, 5, 7, 9,11,13,15,17,19,21... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem_smem.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 20680 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
oeis/165/A165406.asm | neoneye/loda-programs | 11 | 8100 | <reponame>neoneye/loda-programs
; A165406: Sequence A165404 shown in binary, or equivalently, sequence A163901 in quaternary base.
; Submitted by <NAME>
; 0,1,100,110,111,10000,10010,10011,11000,11001,11100,11110,11111,1000000,1000010,1000011,1001000,1001001,1001100,1001110,1001111,1100000,1100001,1100100,1100110,11001... |
insertionSort_iter.asm | rec0de/RO18 | 0 | 87526 | .data:
array: 1337, 42, 84, 7, 443, 80, 8080, 22, 1998
.text:
j main
main:
# Find array start and end addresses and store in $t8 / $t9
la $t8, array
add $v0, $t8, $0 # Array start address is result start addr
add $t9, $0, $t8
fndloop:
addi $t9, $t9, 4
lw $t0, 0($t9)
bne $t0, $0, fndloop
# Load array length into $a0
... |
oeis/260/A260655.asm | neoneye/loda-programs | 11 | 179607 | ; A260655: a(n) = 4*36^n*Gamma(n+3/2)/(sqrt(Pi)*(n+2)!).
; Submitted by <NAME>(s1)
; 1,18,405,10206,275562,7794468,227988189,6839645670,209293157502,6507114533244,204974107797186,6527636971387308,209816902651734900,6798067645916210760,221786956948016376045,7279830704529008107830,240234413249457267558390,796566738669253... |
Lab2/test_create_vector_data.adb | albinjal/ada_basic | 3 | 19068 | <filename>Lab2/test_create_vector_data.adb
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Create_Vector_Data;
procedure Test_Create_Vector_Data is
type Test_Data_Rec is
record
Xa, Ya, Za, Xb, Yb, Zb : Integer;
L, Vy_Min, Vy_Max, Vz_Min, Vz... |
oeis/189/A189052.asm | neoneye/loda-programs | 11 | 12343 | ; A189052: a(n) is the number of inversions in all compositions of n.
; 0,0,0,1,4,14,42,118,314,806,2010,4902,11738,27686,64474,148518,338906,767014,1723354,3847206,8539098,18854950,41438170,90682406,197675994,429372454,929582042,2006430758,4318579674,9270965286,19854281690,42422744102,90452806618,192478164006,40881725... |
source/base/incr-nodes-ultra_roots.adb | reznikmm/increment | 5 | 20303 | <filename>source/base/incr-nodes-ultra_roots.adb
-- Copyright (c) 2015-2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Incr.Nodes.Joints;
package body Incr.Nodes.Ultra_Roots is
-----------
-- Arity --
... |
programs/oeis/076/A076454.asm | karttu/loda | 1 | 83814 | ; A076454: Sum of numbers that can be written as t*n + u*(n+1) for nonnegative integers t,u in exactly one way.
; 1,21,102,310,735,1491,2716,4572,7245,10945,15906,22386,30667,41055,53880,69496,88281,110637,136990,167790,203511,244651,291732,345300,405925,474201,550746,636202,731235,836535,952816,1080816,1221297,1375045... |
test/Succeed/WarningNoGuardedness.agda | cruhland/agda | 1,989 | 9587 | -- Agda should warn if a coinductive record is declared but neither
-- --guardedness nor --sized-types is enabled.
record R : Set where
coinductive
field
r : R
|
TP4/Alf.g4 | UPB-FILS-ALF/TP | 0 | 4445 | grammar Alf;
/* Parser */
start : statements
;
statements : statement NEWLINE* statements
| statement NEWLINE*
;
statement : declaration ';'
;
declaration : VARIABLE EQUAL INT_VALUE
;
/* Lexer */
NEWLINE ... |
scripts/lib/+date.applescript | ChristoferK/AppleScriptive | 32 | 2562 | #!/usr/bin/osascript
--------------------------------------------------------------------------------
# pnam: +DATE
# nmxt: .applescript
# pDSC: Date and time handlers
--------------------------------------------------------------------------------
# sown: CK
# ascd: 2018-09-06
# asmo: 2019-05-10
---------------------... |
src/mysql/mysql-mysql.ads | My-Colaborations/ada-ado | 0 | 8202 | <filename>src/mysql/mysql-mysql.ads<gh_stars>0
-----------------------------------------------------------------------
-- ADO Mysql Database -- MySQL Database connections
-- Copyright (C) 2009, 2010, 2015 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... |
programs/oeis/005/A005171.asm | neoneye/loda | 22 | 97650 | <filename>programs/oeis/005/A005171.asm
; A005171: Characteristic function of nonprimes: 0 if n is prime, else 1.
; 1,0,0,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1
seq... |
oeis/115/A115607.asm | neoneye/loda-programs | 11 | 98213 | <filename>oeis/115/A115607.asm
; A115607: Sum of odd divisors of n times (-1)^(n+1).
; Submitted by <NAME>
; 1,-1,4,-1,6,-4,8,-1,13,-6,12,-4,14,-8,24,-1,18,-13,20,-6,32,-12,24,-4,31,-14,40,-8,30,-24,32,-1,48,-18,48,-13,38,-20,56,-6,42,-32,44,-12,78,-24,48,-4,57,-31,72,-14,54,-40,72,-8,80,-30,60,-24,62,-32,104,-1,84,-48... |
src/SingleSorted/UniversalInterpretation.agda | cilinder/formaltt | 21 | 4966 | open import SingleSorted.AlgebraicTheory
import SingleSorted.Interpretation as Interpretation
import SingleSorted.SyntacticCategory as SyntacticCategory
import SingleSorted.Substitution as Substitution
module SingleSorted.UniversalInterpretation
{ℓt}
{Σ : Signature}
(T : Theory ℓt Σ) where
open Theory T
o... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_2785.asm | ljhsiun2/medusa | 9 | 243249 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1276c, %rsi
lea addresses_D_ht+0xafb8, %rdi
clflush (%rsi)
nop
nop
nop
add %r8, %r8
mov $85, %rcx
rep movsw
nop
nop
nop
cmp %r10, %r10
lea addresses_WC_ht+0x1... |
lab02/ex03/Calculatorv2.g4 | BlasphemyCoder/Compilers | 3 | 2746 | <gh_stars>1-10
grammar Calculatorv2;
@header {import java.util.*;}
program: stat* EOF;
stat:
expr NEWLINE {
System.out.println($expr.res);
}
| NEWLINE;
expr
returns[double res=0]:
e1 = expr op = ('*' | '/') e2 = expr {
switch($op.text) {
case "*":
$res = $e1.res * $e2.res... |
models/tests/test77b.als | transclosure/Amalgam | 4 | 5146 | <filename>models/tests/test77b.als
module tests/test
open util/relation as a
open util/relation as a
run { } expect 1
|
programs/oeis/228/A228569.asm | neoneye/loda | 22 | 162158 | ; A228569: Binomial transform of A006497.
; 2,5,19,80,343,1475,6346,27305,117487,505520,2175139,9359135,40270258,173273885,745558651,3207971600,13803182047,59391995435,255550431034,1099576168865,4731229551223,20357419249520,87593407593931,376894780221095,1621693678323682
mov $1,1
mov $2,2
lpb $0
sub $0,1
add $1,$2... |
alloy4fun_models/trashltl/models/15/LHm23wzFsGByvHB8H.als | Kaixi26/org.alloytools.alloy | 0 | 1167 | open main
pred idLHm23wzFsGByvHB8H_prop16 {
all f:File | f in Protected implies historically f in Protected
}
pred __repair { idLHm23wzFsGByvHB8H_prop16 }
check __repair { idLHm23wzFsGByvHB8H_prop16 <=> prop16o } |
core/src/main/antlr/de/lhankedev/modelpool/antlr/ModelPool.g4 | lhanke-dev/magicmodel | 0 | 3201 | grammar ModelPool;
@header {
package de.lhankedev.modelpool.antlr;
}
modeldefinition:
modelDeclaration
namespace?
objectDefinition*;
modelDeclaration:
MODEL COLON modelName NEWLINE+;
modelName:
IDENTIFIER;
namespace:
NAMESPACE COLON qualifiedName NEWLINE+;
objectDefinition:
(objectPare... |
tools-src/gnu/gcc/gcc/ada/s-pooglo.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 4732 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
src/isr_wrapper.asm | jvns/puddle | 122 | 29168 | <reponame>jvns/puddle
use32
global int_handler_kbd_wrapper
align 4
extern _interrupt_handler_kbd
int_handler_kbd_wrapper:
pushad
mov ax, 0x08
mov gs, ax
call _interrupt_handler_kbd
popad
iret
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_450.asm | ljhsiun2/medusa | 9 | 25295 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r15
push %rax
push %rbp
push %rcx
// Store
lea addresses_A+0xcb78, %rcx
xor $16504, %rax
movl $0x51525354, (%rcx)
nop
nop
cmp %rcx, %rcx
// Faulty Load
lea addresses_WT+0x3429, %r10
nop
nop
nop
nop
nop... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_pbutils_missing_plugins_h.ads | persan/A-gst | 1 | 11742 | <reponame>persan/A-gst
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h;
with glib;
with glib.Values;
with System;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstmessage_h;
limited wi... |
src/ada/selecttime.adb | kevin-chalmers/cpa-lang-shootout | 2 | 7391 | <reponame>kevin-chalmers/cpa-lang-shootout
with Ada.Text_IO;
use Ada.Text_IO;
with Ada.Integer_Text_IO;
use Ada.Integer_Text_IO;
with Ada.Text_IO.Text_Streams;
use Ada.Text_IO.Text_Streams;
with Ada.Text_IO.Unbounded_IO;
use Ada.Text_IO.Unbounded_IO;
with Ada.Real_Time;
use Ada.Real_Time;
procedure SelectTime is
Iter... |
kernel/arch/leaf.asm | TheMachine02/Sorcery | 14 | 175528 | leaf:
.program:
sysdef _execve
.execve:
; .BINARY_PATH: hl
; .BIN_ENVP: de
; .BIN_ARGV: bc
push de
push bc
call kvfs.inode_get_lock
pop bc
pop de
ret c
; check if the inode is executable
ld a, (iy+KERNEL_VFS_INODE_FLAGS)
ld l, a
and a, KERNEL_VFS_TYPE_MASK
ld a, ENOEXEC
jp nz, kvfs.inode_atomic_write_err... |
examples/low-level/spartan_aes/aes-x86_64.asm | SwampertX/FStar | 2,231 | 5843 | .code
ALIGN 16
KeyExpansionStdcall proc
movdqu xmm1, xmmword ptr [rcx + 0]
movdqu xmmword ptr [rdx + 0], xmm1
aeskeygenassist xmm2, xmm1, 1
pshufd xmm2, xmm2, 255
vpslldq xmm3, xmm1, 4
pxor xmm1, xmm3
vpslldq xmm3, xmm1, 4
pxor xmm1, xmm3
vpslldq xmm3, xmm1, 4
pxor xmm1, xmm3
pxor xmm1, xmm2
mov... |
libsrc/c128/restorecia.asm | meesokim/z88dk | 0 | 84715 | ;
; Keyboard routines for the Commodore 128 (Z80 mode)
; By <NAME> - 27/08/2001
;
; getk() Read key status
;
; $Id: restorecia.asm,v 1.2 2015/01/19 01:32:42 pauloscustodio Exp $
;
PUBLIC restorecia
EXTERN SaveA
.restorecia
; restore CIA registers
ld bc,$D02F
ld a,7
out (c),a
ld bc,$DC00+2 ;cia1+ciaDataDir... |
oeis/341/A341413.asm | neoneye/loda-programs | 11 | 17397 | ; A341413: a(n) = (Sum_{k=1..7} k^n) mod n.
; Submitted by <NAME>
; 0,0,1,0,3,2,0,4,1,0,6,8,2,0,4,4,11,14,9,16,7,8,5,20,8,10,1,0,28,20,28,4,25,4,14,32,28,26,4,36,28,20,28,12,28,2,28,20,0,0,19,48,28,32,34,28,43,24,28,56,28,16,28,4,18,20,28,52,25,0,28,68,28,66,19,40
add $0,1
mov $2,$0
seq $0,1554 ; 1^n + 2^n + ... + 7^n... |
oeis/131/A131751.asm | neoneye/loda-programs | 11 | 3984 | ; A131751: Numbers that are both centered triangular and centered pentagonal.
; 1,31,1891,117181,7263301,450207451,27905598631,1729696907641,107213302675081,6645495068947351,411913480972060651,25531990325198812981,1582571486681354344141,98093900183918770523731
seq $0,253654 ; Indices of pentagonal numbers (A000326) wh... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3810a.ada | best08618/asylo | 7 | 12943 | -- CE3810A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b32a.ada | best08618/asylo | 7 | 29406 | -- C87B32A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
13_RTOSDemo/RL78_RL78G14_FPB_Renesas_e2studio_CS+/src/FreeRTOS_Demo/Full_Demo/RegTest.asm | NoMaY-jp/FreeRTOS_examples_for_Renesas_R_CPUs | 4 | 26316 | <gh_stars>1-10
;/*
; * FreeRTOS V202012.00
; * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
; *
; * 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 r... |
cx2t/src/claw/wani/language/parser/Claw.g4 | peclatj/claw-compiler | 0 | 3398 | <reponame>peclatj/claw-compiler<gh_stars>0
/*
* This file is released under terms of BSD license
* See LICENSE file for more information
*/
/**
* ANTLR 4 Grammar file for the CLAW directive language.
*
* @author clementval
*/
grammar Claw;
@header
{
/*
* This file is released under terms of BSD license
* See... |
test/interaction/Issue1232/List.agda | cruhland/agda | 1,989 | 5000 |
module Issue1232.List where
import Issue1232.Nat
|
source/tokeniser/keyword/esc.asm | mega65dev/rom-assembler | 0 | 26968 | <filename>source/tokeniser/keyword/esc.asm
; ********************************************************************************************
; ********************************************************************************************
;
; Name : esc.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated : 4th ... |
user/initcode.asm | eric-qian-d/TCP | 1 | 100132 |
user/initcode.o: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <start>:
#include "syscall.h"
# exec(init, argv)
.globl start
start:
la a0, init
0: 00000517 auipc a0,0x0
4: 00050513 mv a0,a0
la a1, argv
8: 00000597 auipc a1,0x... |
alloy4fun_models/trashltl/models/11/adFi4qq7TgNhcj3g4.als | Kaixi26/org.alloytools.alloy | 0 | 4030 | <filename>alloy4fun_models/trashltl/models/11/adFi4qq7TgNhcj3g4.als
open main
pred idadFi4qq7TgNhcj3g4_prop12 {
eventually some f : Trash | after eventually f not in Trash or f in Trash
}
pred __repair { idadFi4qq7TgNhcj3g4_prop12 }
check __repair { idadFi4qq7TgNhcj3g4_prop12 <=> prop12o } |
programs/oeis/088/A088378.asm | karttu/loda | 1 | 81645 | ; A088378: (Smallest prime-factor of n)^3.
; 1,8,27,8,125,8,343,8,27,8,1331,8,2197,8,27,8,4913,8,6859,8,27,8,12167,8,125,8,27,8,24389,8,29791,8,27,8,125,8,50653,8,27,8,68921,8,79507,8,27,8,103823,8,343,8,27,8,148877,8,125,8,27,8,205379,8,226981,8,27,8,125,8,300763,8,27,8,357911,8,389017,8,27,8,343,8,493039,8,27,8,57178... |
programs/oeis/154/A154609.asm | neoneye/loda | 22 | 87724 | <reponame>neoneye/loda<filename>programs/oeis/154/A154609.asm
; A154609: a(n) = 13*n + 5.
; 5,18,31,44,57,70,83,96,109,122,135,148,161,174,187,200,213,226,239,252,265,278,291,304,317,330,343,356,369,382,395,408,421,434,447,460,473,486,499,512,525,538,551,564,577,590,603,616,629,642,655,668,681,694,707,720,733,746,759,7... |
oeis/063/A063081.asm | neoneye/loda-programs | 11 | 173180 | <filename>oeis/063/A063081.asm
; A063081: Dimension of the space of weight 2n cusp forms for Gamma_0( 13 ).
; Submitted by <NAME>(s2)
; 0,3,5,7,9,13,13,17,19,21,23,27,27,31,33,35,37,41,41,45,47,49,51,55,55,59,61,63,65,69,69,73,75,77,79,83,83,87,89,91,93,97,97,101,103,105,107,111,111,115
mov $1,$0
mul $0,7
mul $1,7
div... |
Sources/lcd_module/Name_LCD_Module.asm | billhhh/hcs12_relocatable_asm | 0 | 8456 | <reponame>billhhh/hcs12_relocatable_asm<gh_stars>0
;Author: <NAME>
;Date: 11/20/2016/
;Module file
INCLUDE 'mc9s12dp256.inc'
XDEF DELAY
XDEF DISPLAY
XREF DATWRT4
XREF COMWRT4
R1 EQU $1001
R2 EQU $1002
R3 EQU $1003
R4 EQU $1004... |
libsrc/math/genmath/rshift_noaf.asm | andydansby/z88dk-mk2 | 1 | 17464 | ;
; Z88dk Generic Floating Point Math Library
;
; Shift c ix de b right by a
;
; $Id: rshift_noaf.asm,v 1.1 2012/04/17 16:37:46 stefano Exp $:
XLIB rshift
XDEF rsh8
.RSHIFT LD B,0
.RSH2 SUB 8
JR C,RSH4 ;c => 7 or fewer shifts remain
LD B,E ;shift c ix de b... |
ada/hello.adb | bemafred/hello-world | 0 | 8325 | <reponame>bemafred/hello-world
with Ada.Text_IO; use Ada.Text_IO;
procedure Hello is
begin
Put_Line ("ADA says: Hello, world!");
end Hello;
|
src/main/fragment/mos6502-common/pwuz1_derefidx_vbuyy=pwuz2.asm | jbrandwood/kickc | 2 | 98132 | <reponame>jbrandwood/kickc
sty $ff
ldy #1
lda ({z2}),y
pha
dey
lda ({z2}),y
ldy $ff
sta ({z1}),y
iny
pla
sta ({z1}),y |
zxims.asm | jorgicor/altair | 0 | 1459 | ; ----------------------------------------------------------------------------
; Altair, CIDLESA's 1981 arcade game remade for the ZX Spectrum and
; Amstrad CPC.
; ----------------------------------------------------------------------------
; Shot.
shot00 .db 1, 4
.db %11000000
.db %11000000
.db %11000000
.db %11... |
oeis/054/A054770.asm | neoneye/loda-programs | 11 | 171503 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A054770: Numbers that are not the sum of distinct Lucas numbers 1,3,4,7,11 ... (A000204).
; Submitted by <NAME>(w4)
; 2,6,9,13,17,20,24,27,31,35,38,42,46,49,53,56,60,64,67,71,74,78,82,85,89,93,96,100,103,107,111,114,118,122,125,129,132,136,140,143,147,150,154,158,161,16... |
release/src/router/nettle/x86/arcfour-crypt.asm | ghsecuritylab/Toastman-Tinc | 34 | 7783 | C nettle, low-level cryptographics library
C
C Copyright (C) 2004, <NAME>
C
C The nettle library is free software; you can redistribute it and/or modify
C it under the terms of the GNU Lesser General Public License as published by
C the Free Software Foundation; either version 2.1 of the License, or (at your
C optio... |
itest/src/test2/grammar1.g4 | lolgab/mill-antlr | 3 | 6560 | <filename>itest/src/test2/grammar1.g4
grammar grammar1;
root: 'test';
|
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/pcr/sprite.asm | prismotizm/gigaleak | 0 | 21488 | Name: sprite.asm
Type: file
Size: 17649
Last-Modified: '1992-12-16T08:43:10Z'
SHA-1: 1E3779DD1D80F43B91A41F1AA1594A051C6DDDF2
Description: null
|
test/Fail/Issue4995-UnderappliedConstructor.agda | cruhland/agda | 1,989 | 867 | <reponame>cruhland/agda
open import Agda.Builtin.Equality
data ⊥ : Set where
cong : {A B : Set} (f : A → B) {x y : A} → x ≡ y → f x ≡ f y
cong f refl = refl
postulate
funExt : ∀ {A B : Set} {f g : A → B}
→ (∀ x → f x ≡ g x) → f ≡ g
data D : Set where
c1 : D → ⊥ → D
c2 : (⊥ → D) → D
cycle : ∀ {n} → c... |
lab4(work).asm | L2jLiga/assembler | 0 | 80798 | <filename>lab4(work).asm<gh_stars>0
Dseg segment
outStr1 db "Input first string: $"
outStr2 db "Input second string: $"
outRez db "Result string: $"
str1 db 30,?,30 dup(?)
str2 db 30,?,30 dup(?)
strREZ db 30 dup(?)
Dseg ends
include coollibheader.inc
; Inp... |
programs/oeis/147/A147685.asm | karttu/loda | 0 | 1283 | <reponame>karttu/loda<gh_stars>0
; A147685: Squares and centered square numbers interleaved.
; 0,1,1,5,4,13,9,25,16,41,25,61,36,85,49,113,64,145,81,181,100,221,121,265,144,313,169,365,196,421,225,481,256,545,289,613,324,685,361,761,400,841,441,925,484,1013,529,1105,576,1201,625,1301,676,1405,729,1513,784,1625,841,1741,... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_3_304.asm | ljhsiun2/medusa | 9 | 161091 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xd45e, %rsi
lea addresses_WC_ht+0x14b5e, %rdi
nop
cmp %r9, %r9
mov $61, %rcx
rep movsb
nop
nop
add %rsi, %rsi
lea addresses_D_ht+0x1c2b6, %rsi
nop
xor $18331, %r13
mov $0x6162636465666768, %rax
mo... |
src/frontend/Experimental_Ada_ROSE_Connection/parser/a_nodes/source/a_nodes_h-support.ads | ouankou/rose | 488 | 6149 | <gh_stars>100-1000
package a_nodes_h.Support is
-- Records written in good Ada style should already have default values for
-- their components. a_nodes_h.ads is generated from C, so this package
-- supplies constant records for safe initialization.
package ICE renames Interfaces.C.Extensions;
package I... |
notes/FOT/FOTC/Data/Colist/TypeSL.agda | asr/fotc | 11 | 4350 | ------------------------------------------------------------------------------
-- We could not define the FOTC colists using the Agda machinery for
-- co-inductive types.
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-typ... |
uw2/call-eop-setInterfaceMode.asm | JohnGlassmyer/UltimaHacks | 68 | 175620 | %include "../UltimaPatcher.asm"
%include "include/uw2.asm"
%include "include/uw2-eop.asm"
defineAddress 112, 0x02DF, setInterfaceMode_proc
defineAddress 112, 0x031A, setInterfaceMode_endp
%include "../uw1/call-eop-setInterfaceMode.asm"
|
programs/oeis/118/A118614.asm | neoneye/loda | 22 | 242275 | <gh_stars>10-100
; A118614: Start with 1 and repeatedly reverse the digits and add 28 to get the next term.
; 1,29,120,49,122,249,970,107,729,955,587,813,346,671,204,430,62,54,73,65,84,76,95,87,106,629,954,487,812,246,670,104,429,952,287,810,46,92,57,103,329,951,187,809,936,667,794,525,553,383,411,142,269,990,127,749
... |
arch/x86/src/cpu/isr/interrupt.asm | 0x1C1B/jatos | 1 | 240733 | bits 32
section .text
extern isr_prehandler
%macro EXC_CODELESS 1
global isr%1
isr%1:
cli
push 0x00 ; Dummy error code
push %1 ; Interrupt number
jmp isr_prehandler ; Call first stage interrupt handler
%endmacro
%macro EXC_CODE 1
global isr%1
isr%1:
cli
; Erro... |
src/latin_utils/latin_utils-inflections_package-quality_record_io.adb | spr93/whitakers-words | 204 | 12618 | <reponame>spr93/whitakers-words
-- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is ... |
data/mapHeaders/PewterGym.asm | AmateurPanda92/pokemon-rby-dx | 9 | 90905 | <gh_stars>1-10
PewterGym_h:
db GYM ; tileset
db PEWTER_GYM_HEIGHT, PEWTER_GYM_WIDTH ; dimensions (y, x)
dw PewterGym_Blocks ; blocks
dw PewterGym_TextPointers ; texts
dw PewterGym_Script ; scripts
db 0 ; connections
dw PewterGym_Object ; objects
|
programs/oeis/070/A070460.asm | karttu/loda | 1 | 20463 | <filename>programs/oeis/070/A070460.asm
; A070460: a(n) = n^2 mod 38.
; 0,1,4,9,16,25,36,11,26,5,24,7,30,17,6,35,28,23,20,19,20,23,28,35,6,17,30,7,24,5,26,11,36,25,16,9,4,1,0,1,4,9,16,25,36,11,26,5,24,7,30,17,6,35,28,23,20,19,20,23,28,35,6,17,30,7,24,5,26,11,36,25,16,9,4,1,0,1,4,9,16,25,36,11,26,5,24,7,30,17,6,35,28,23... |
codigo/x86/MASM/hola.asm | AlainPlusPlus/assembly-course | 0 | 242719 | ;
; Copyright (c) 2021 Alain (@AlainPlusPlus)
;
; Programa básico de "hello, world!" en español.
;
.data
hello db '¡Hola, mundo!'
helloLen equ $- hello
.code
_start:
mov eax, 4
mov ebx, 1
lea ecx, hello ;carga dirección efectiva (Load Effective Address)
mov edx, helloLen
int 80h
mov e... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/simpleada-io.ads | ouankou/rose | 488 | 6434 | <reponame>ouankou/rose<gh_stars>100-1000
package SimpleAda.IO is
procedure Put_Line(Item: in String);
end SimpleAda.IO;
|
oeis/349/A349371.asm | loda-lang/loda-programs | 11 | 24235 | <reponame>loda-lang/loda-programs
; A349371: Inverse Möbius transform of Kimberling's paraphrases (A003602).
; Submitted by <NAME>(w2)
; 1,2,3,3,4,6,5,4,8,8,7,9,8,10,14,5,10,16,11,12,18,14,13,12,17,16,22,15,16,28,17,6,26,20,26,24,20,22,30,16,22,36,23,21,42,26,25,15,30,34,38,24,28,44,38,20,42,32,31,42,32,34,55,7,44,52,3... |
src/aw60/introduction/PROG2.asm | cpjobling/eg-151-microcontrollers | 0 | 19002 |
;Set-up programme for AW60 demo board
;This file contains the instructions needed to set up an assembly language programme.
;All the instructions are used to define variables and input/output devices in the
;microcontroller. So far, there are no instructions for the intended application!
;**********************... |
oeis/113/A113012.asm | neoneye/loda-programs | 11 | 29156 | ; A113012: Numerators of convergents to 1 + 2/(3 + 4/(5 + 6/(7 + ...))).
; Submitted by <NAME>
; 1,5,29,233,2329,27949,78257,6260561,112690097,2253801941,49583642701,47600296993,30940193045449,866325405272573,25989762158177189,831672389061670049,5655372245619356333,1017967004211484139941,38682746160036397317757,1547309... |
programs/oeis/101/A101213.asm | neoneye/loda | 22 | 100981 | ; A101213: a(n) = n * (n+1)^2 * (n+2)^3.
; 0,108,1152,6000,21600,61740,150528,326592,648000,1197900,2090880,3480048,5564832,8599500,12902400,18865920,26967168,37779372,51984000,70383600,93915360,123665388,160883712,207000000,263640000,332642700
sub $2,$0
add $0,2
mul $2,$0
pow $0,2
bin $2,2
mul $0,$2
div $0,6
mul $0,1... |
programs/oeis/003/A003878.asm | jmorken/loda | 1 | 163584 | ; A003878: n^4+(9/2)*n^3+n^2-(9/2)*n+1.
; 1,3,48,199,543,1191,2278,3963,6429,9883,14556,20703,28603,38559,50898,65971,84153,105843,131464,161463,196311,236503,282558,335019,394453,461451,536628,620623,714099,817743
mov $12,$0
mov $14,$0
add $14,1
lpb $14
clr $0,12
mov $0,$12
sub $14,1
sub $0,$14
mov $9,$0
... |
CodeExecution/Invoke-ReflectivePEInjection_Resources/Shellcode/x64/ExitThread.asm | g-goessel/PowerSploit | 9,233 | 22043 | [SECTION .text]
global _start
_start:
; Set a var to 1, let PS known exe is exiting
mov rbx, 0x4141414141414141
mov [rbx], byte 0x01
; Call exitthread instead of exitprocess
sub rsp, 0xc0
and sp, 0xFFf0 ; Needed for stack alignment
mov rbx, 0x4141414141414141
call rbx
|
oeis/248/A248188.asm | neoneye/loda-programs | 11 | 103961 | ; A248188: Numbers k such that A248186(k+1) = A248186(k) + 1.
; Submitted by <NAME>
; 4,5,7,8,10,11,12,14,15,17,18,20,21,23,24,25,27,28,30,31,33,34,36,37,38,40,41,43,44,46,47,49,50,51,53,54,56,57,59,60,62,63,64,66,67,69,70,72,73,74,76,77,79,80,82,83,85,86,87,89,90,92,93,95,96,98,99,100,102,103,105,106,108,109,111,112,1... |
src/C/nss/nss-3.16.1/nss/lib/freebl/mpi/hppatch.adb | GaloisInc/hacrypto | 34 | 274 | #/bin/sh
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# script to change the system id in an object file from PA-RISC 2.0 to 1.1
adb -w $1 << EOF
?m 0 -1 0
0x0?X
... |
meassure_acceleration.adb | oysteinlondal/Inverted-Pendulum | 0 | 15808 | package body Meassure_Acceleration is
procedure Retrieve_Acceleration (Acc_X, Acc_y : out Float) is
begin
--if Imu.Acc.Read.Available() not true then
-- raise Acc_Not_Available ;
--end if;
--Imu.acc.read(data);
X_Coordinate := 9.8;
Y_Coordinate := 0.0;
Acc_X := X_Coordi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.