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 |
|---|---|---|---|---|
s3/music/Knuckles.asm | Cancer52/flamedriver | 9 | 11981 | <filename>s3/music/Knuckles.asm
Snd_Knux_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Snd_Knux_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $43
smpsHeaderDAC Snd_Knux_DAC
smpsHeaderFM Snd_Knux_FM1, $C2, $03
smpsHeaderFM Snd_Knux_FM2, $E0, $18
smpsHeaderFM Snd_Knu... |
programs/oeis/304/A304995.asm | jmorken/loda | 1 | 160419 | ; A304995: Expansion of (1 + 6*x + 6*x^2 + 6*x^3 + x^4 + 6*x^5)/((1 - x)*(1 + x^4)).
; 1,7,13,19,19,19,13,7,7,7,13,19,19,19,13,7,7,7,13,19,19,19,13,7,7,7,13,19,19,19,13,7,7,7,13,19,19,19,13,7,7,7,13,19,19,19,13,7,7,7,13,19,19,19,13,7,7,7,13,19,19,19,13,7,7,7,13,19,19,19,13,7,7,7,13,19,19,19
add $0,4
lpb $0
mod $0,8
... |
programs/oeis/196/A196288.asm | karttu/loda | 1 | 246185 | <filename>programs/oeis/196/A196288.asm
; A196288: n^8 + n.
; 0,2,258,6564,65540,390630,1679622,5764808,16777224,43046730,100000010,214358892,429981708,815730734,1475789070,2562890640,4294967312,6975757458,11019960594,16983563060,25600000020,37822859382,54875873558,78310985304,110075314200,152587890650,208827064602,282... |
libsrc/_DEVELOPMENT/target/zxn/driver/terminal/tshr_01_output_char_128/tshr_01_output_char_128_oterm_msg_cls.asm | jpoikela/z88dk | 640 | 242849 | SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC tshr_01_output_char_128_oterm_msg_cls
EXTERN asm_tshr_cls_wc_pix
EXTERN zx_01_output_char_64_proc_stack_window_32
tshr_01_output_char_128_oterm_msg_cls:
call zx_01_output_char_64_proc_stack_window_32
; stack = window *
push ix
ld ix... |
sw/552tests/inst_tests/jalr_18.asm | JPShen-UWM/ThreadKraken | 1 | 244644 | <reponame>JPShen-UWM/ThreadKraken
// Original test: ./neel/hw4/problem6/jalr_0.asm
// Author: neel
// Test source code follows
//Tests jalr
//branches to inst lbi r3,30
lbi r1,255
lbi r2,6
jalr r2,2
lbi r3,20
lbi r3,30
halt
|
src/aco-generic_entry_types.adb | osannolik/ada-canopen | 6 | 1577 | <reponame>osannolik/ada-canopen
with Ada.Unchecked_Conversion;
with ACO.Utils.Byte_Order;
package body ACO.Generic_Entry_Types is
use ACO.Utils.Byte_Order;
function Swap (X : Byte_Array) return Byte_Array is
(Byte_Array (Swap_Bus (Octets (X))))
with Inline;
function Read (This : Entry_Type) return ... |
FreeRTOS/portable/CCS/c28x/porASM.asm | kayws426/freertos_c28x | 2 | 240839 | <reponame>kayws426/freertos_c28x
;-------------------------------------------------------------------------------------------------
; Author: <NAME>, <EMAIL>
; Modified by: <NAME>, <EMAIL>;
;
; This file follows the FreeRTOS distribution license.
;
; FreeRTOS is free software; you can redistribute it and/or modify it u... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/ger_msge0.asm | prismotizm/gigaleak | 0 | 23041 | Name: ger_msge0.asm
Type: file
Size: 67083
Last-Modified: '2016-05-13T04:23:03Z'
SHA-1: 5E88C55C11BBA1203C073C038E8DA2CAAAA3301C
Description: null
|
oeis/018/A018091.asm | neoneye/loda-programs | 11 | 247419 | <gh_stars>10-100
; A018091: Expansion of 1/((1-3x)(1-9x)(1-11x)).
; Submitted by <NAME>
; 1,23,370,5150,66451,819413,9810340,115087100,1330524901,15216894803,172615989910,1945847389850,21827965327351,243920416546193,2717439768299080,30200674142257400,334986945826585801,3709872176577373583,41033735895102897850,453397372... |
examples/consoleExamples/helloWorld.agda | agda/ooAgda | 23 | 16613 | <filename>examples/consoleExamples/helloWorld.agda
module consoleExamples.helloWorld where
open import ConsoleLib
main : ConsoleProg
main = run (WriteString "Hello World")
|
archive/agda-1/Exegesis.agda | m0davis/oscar | 0 | 16036 | {-# OPTIONS --show-implicit #-}
module Exegesis where
module Superclasses where
open import Agda.Primitive
open import Agda.Builtin.Equality
record Semigroup (A : Set) : Set where
field
_∙_ : A → A → A
assoc : ∀ x y z → (x ∙ y) ∙ z ≡ x ∙ (y ∙ z)
cong : ∀ w x y z → w ≡ y → x ≡ z → w ∙ x ≡ ... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_16625_1881.asm | ljhsiun2/medusa | 9 | 167653 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1dfe7, %rdi
nop
sub $10472, %r13
movups (%rdi), %xmm2
vpextrq $0, %xmm2, %rbp
nop
nop
inc %rsi
lea addresses_WT_ht+0x8f03, %rsi
lea addresses_normal_ht+0xfe03, %rdi
no... |
oeis/108/A108546.asm | neoneye/loda-programs | 11 | 9200 | <filename>oeis/108/A108546.asm
; A108546: Lexicographically earliest permutation of primes such that for n>1 forms 4*k+1 and 4*k+3 alternate.
; Submitted by <NAME>
; 2,3,5,7,13,11,17,19,29,23,37,31,41,43,53,47,61,59,73,67,89,71,97,79,101,83,109,103,113,107,137,127,149,131,157,139,173,151,181,163,193,167,197,179,229,191... |
levels/lvl2_meta.asm | cppchriscpp/waddles-the-duck | 0 | 102367 | <reponame>cppchriscpp/waddles-the-duck
; Predictable format... start_dimension, flag x position, 2 emtpy bytes, level data
.byte DIMENSION_PLAIN, 131, 0, 0
; compressed ids, compressed level
.word lvl2_compressed_ids, lvl2_compressed, lvl2_sprites |
Everything/Safe.agda | Smaug123/agdaproofs | 4 | 15485 | <filename>Everything/Safe.agda
{-# OPTIONS --warning=error --safe --without-K #-}
-- This file contains everything that can be compiled in --safe mode.
open import Numbers.Naturals.Naturals
open import Numbers.Naturals.Division
open import Numbers.BinaryNaturals.Definition
open import Numbers.BinaryNaturals.Multiplic... |
programs/oeis/172/A172200.asm | neoneye/loda | 22 | 92112 | <gh_stars>10-100
; A172200: Number of ways to place 2 nonattacking amazons (superqueens) on an n X n board
; 0,0,0,20,92,260,580,1120,1960,3192,4920,7260,10340,14300,19292,25480,33040,42160,53040,65892,80940,98420,118580,141680,167992,197800,231400,269100,311220,358092,410060,467480,530720,600160,676192,759220,849660,9... |
oeis/142/A142983.asm | neoneye/loda-programs | 11 | 81665 | ; A142983: a(1) = 1, a(2) = 2, a(n+2) = 2*a(n+1) + (n+1)*(n+2)*a(n).
; Submitted by <NAME>
; 1,2,10,44,288,1896,15888,137952,1419840,15255360,186693120,2387093760,33898314240,502247692800,8123141376000,136785729024000,2483065912320000,46822564905984000,942853671825408000,19678282007924736000,435355106182520832000,99620... |
out/PropLog/Signature.agda | JoeyEremondi/agda-soas | 39 | 12334 | <filename>out/PropLog/Signature.agda
{-
This second-order signature was created from the following second-order syntax description:
syntax PropLog | PR
type
* : 0-ary
term
false : * | ⊥
or : * * -> * | _∨_ l20
true : * | ⊤
and : * * -> * | _∧_ l30
not : * -> * | ¬_ r50
theory
(⊥U∨ᴸ) ... |
programs/oeis/309/A309335.asm | karttu/loda | 1 | 82845 | <reponame>karttu/loda
; A309335: a(n) = n^3 if n odd, 7*n^3/8 if n even.
; 0,1,7,27,56,125,189,343,448,729,875,1331,1512,2197,2401,3375,3584,4913,5103,6859,7000,9261,9317,12167,12096,15625,15379,19683,19208,24389,23625,29791,28672,35937,34391,42875,40824,50653,48013,59319,56000,68921,64827,79507,74536,91125
pow $0,3
m... |
llvm-gcc-4.2-2.9/gcc/ada/s-traceb.ads | vidkidz/crossbridge | 1 | 10641 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
libsrc/math/zxmath/cos.asm | meesokim/z88dk | 0 | 95277 | <filename>libsrc/math/zxmath/cos.asm
;
;
; ZX Maths Routines
;
; 8/12/02 - <NAME>
;
; $Id: cos.asm,v 1.3 2015/01/19 01:32:56 pauloscustodio Exp $
;
;double cos(double)
;Number in FA..
IF FORzx
INCLUDE "zxfp.def"
ELSE
INCLUDE "81fp.def"
ENDIF
PUBLIC cos
EX... |
programs/oeis/036/A036488.asm | karttu/loda | 0 | 2005 | ; A036488: Nearest integer to n^(5/2).
; 0,1,6,16,32,56,88,130,181,243,316,401,499,609,733,871,1024,1192,1375,1574,1789,2021,2270,2537,2822,3125,3447,3788,4149,4529,4930,5351,5793,6256,6741,7247,7776,8327,8901,9499,10119,10764,11432,12125,12842,13584,14351,15144,15963,16807,17678,18575,19499,20450,21428,22434,23468,245... |
libsrc/psg/tiki100/get_psg.asm | teknoplop/z88dk | 0 | 177287 | ;
; TIKI-100 specific routines
; by <NAME>, Fall 2015
;
; int get_psg(int reg);
;
; Get a PSG register.
;
;
; $Id: get_psg.asm,v 1.1 2015/09/25 14:56:01 stefano Exp $
;
PUBLIC get_psg
get_psg:
LD BC,$16
OUT (C),l
LD c,$17
in a,(C)
ld l,a
ret
|
oeis/348/A348987.asm | neoneye/loda-programs | 11 | 166016 | <reponame>neoneye/loda-programs<filename>oeis/348/A348987.asm
; A348987: a(n) = gcd(sigma(n), A332994(n)).
; Submitted by <NAME>
; 1,3,4,7,6,3,8,15,13,1,12,1,14,1,1,31,18,3,20,3,1,1,24,3,31,1,40,7,30,3,32,63,1,1,1,1,38,1,1,5,42,3,44,3,2,1,48,1,57,3,1,1,54,3,1,1,1,1,60,1,62,1,4,127,1,3,68,3,1,1,72,3,74,1,2,1,1,3,80,3,12... |
c/brazo_robotico/brazo_robotico.asm | joseluis8906/tests | 0 | 165924 | <gh_stars>0
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.5.0 #9253 (Jun 20 2015) (Linux)
; This file was generated Sat Jun 18 09:07:58 2016
;--------------------------------------------------------
; PIC16 port for the Microchip 16-bit c... |
programs/oeis/087/A087739.asm | karttu/loda | 0 | 245978 | <filename>programs/oeis/087/A087739.asm
; A087739: a(1)=1; a(2)=2; for n>2 a(n) satisfies a(S(n))=n and a(k)=n-1 for S(n-1)< k <S(n) where S(n)=a(1)+a(2)+...+a(n).
; 1,2,2,2,3,3,4,4,4,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,9,10,10,10,10,10,11,11,11,11,11,12,12,12,12,12,12,13,13,13,13,13,13,14,14,14,14,14,14,15,15,15,15,... |
library/fmGUI_FMATools/fmGUI_ScriptDebugger_Close.applescript | NYHTC/applescript-fm-helper | 1 | 510 | -- fmGUI_ScriptDebugger_Close()
-- <NAME>, NYHTC
-- Closes FileMaker's Script Debugger window
(*
HISTORY:
2020-03-04 ( dshockley ): First created.
REQUIRES:
fmGUI_AppFrontMost
*)
on run
fmGUI_ScriptDebugger_Close()
end run
--------------------
-- START OF CODE
--------------------
on fmGUI_ScriptDebugger_C... |
gcc-gcc-7_3_0-release/gcc/ada/s-memcop.ads | best08618/asylo | 7 | 5322 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
src/CDecl.g4 | hetuo/cdicl | 0 | 5041 | grammar CDecl;
declaration
: typename declarator ';'
;
typename
: 'void'
| 'float'
| 'int'
| ID
;
declarator
: declarator '[' ']' # Array // right operators have highest precedence
| declarator '(' ')' # Func
| '*' declarator # Pointer
| '(' declarator ')' ... |
time.asm | prakhar987/xv6-system-calls | 5 | 163392 | <gh_stars>1-10
_time: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
#include "fs.h"
int main (int argc,char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pu... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35503h.ada | best08618/asylo | 7 | 7605 | <reponame>best08618/asylo
-- C35503H.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contai... |
ada/original_2008/ada-gui/agar-gui-point.ads | auzkok/libagar | 286 | 27724 | <filename>ada/original_2008/ada-gui/agar-gui-point.ads
package agar.gui.point is
type point_t is record
x : c.int;
y : c.int;
end record;
type point_access_t is access all point_t;
pragma convention (c, point_t);
pragma convention (c, point_access_t);
end agar.gui.point;
|
src/kernel/interrupts/idt.asm | MetaColon/Melvix | 0 | 20086 | <filename>src/kernel/interrupts/idt.asm
; IDT loader
global idt_load
extern idtp
idt_load:
lidt [idtp]
ret |
src/tests/neuralnettests.adb | sebsgit/textproc | 0 | 3172 | <filename>src/tests/neuralnettests.adb
with AUnit.Assertions; use AUnit.Assertions;
with Ada.Text_IO;
with Ada.Containers; use Ada.Containers;
with Ada.Numerics.Float_Random;
with NeuralNet;
with MathUtils;
use MathUtils.Float_Vec;
package body NeuralNetTests is
procedure Register_Tests (T: in out TestCase) is
... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_130.asm | ljhsiun2/medusa | 9 | 96838 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xea99, %rsi
lea addresses_WC_ht+0x1d4a9, %rdi
nop
nop
nop
nop
nop
add $2167, %rax
mov $101, %rcx
rep movsl
nop
nop
nop
nop
add %r12, %r12
lea addresse... |
libsrc/video/hd44780/asm_lcd_get_vram_addr.asm | ahjelm/z88dk | 640 | 93772 | <gh_stars>100-1000
SECTION code_driver
PUBLIC asm_lcd_get_vram_addr
EXTERN LCD_VRAM
EXTERN CONSOLE_ROWS
EXTERN CONSOLE_COLUMNS
; Get the address of the char location in the VRAM
; Entry: c = x
; b = y
; Exit: hl = vram address
;
; Preserves: de
asm_lcd_get_vram_addr:
push de
ld hl,LCD_VRAM - CONSOLE_COLUM... |
programs/oeis/213/A213247.asm | neoneye/loda | 22 | 171719 | <reponame>neoneye/loda<filename>programs/oeis/213/A213247.asm
; A213247: Number of nonzero elements in GF(2^n) that are 11th powers.
; 1,3,7,15,31,63,127,255,511,93,2047,4095,8191,16383,32767,65535,131071,262143,524287,95325,2097151,4194303,8388607,16777215,33554431,67108863,134217727,268435455,536870911,97612893,21474... |
data/pokemon/dex_entries/swalot.asm | AtmaBuster/pokeplat-gen2 | 6 | 29101 | <gh_stars>1-10
db "<NAME>@" ; species name
db "It gulps anything"
next "that fits in its"
next "mouth. Its special"
page "enzymes can"
next "dissolve almost"
next "anything.@"
|
test/Fail/Issue2487.agda | cruhland/agda | 1,989 | 15865 | <reponame>cruhland/agda
module Issue2487 where
open import Issue2487.b
|
src/main/antlr/parser/rd/NameList.g4 | hengxin/tpdsl | 0 | 2159 | grammar NameList;
@header {
package parser.rd;
}
// [a, [b, c], d]
list : '[' elements ']' ;
elements : element (',' element)* ;
element : NAME
| list
;
LBRACK : '[' ;
RBRACK : ']' ;
COMMA : ',' ;
NAME : [a-zA-Z]+ ;
WS : [ \t\n\r]+ -> skip ; |
src/skill-containers-arrays.adb | skill-lang/adaCommon | 0 | 23349 | <gh_stars>0
-- ___ _ ___ _ _ --
-- / __| |/ (_) | | Common SKilL implementation --
-- \__ \ ' <| | | |__ skills vector container implementation --
-- |___/_|\_\_|_|____| by: <NAME>, <NAME> --
... |
regtests/keystore-files-tests.ads | thierr26/ada-keystore | 0 | 18889 | <filename>regtests/keystore-files-tests.ads
-----------------------------------------------------------------------
-- keystore-files-tests -- Tests for keystore files
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not us... |
win32/VC10/Win32/libxml2_Release/HTMLparser.asm | txwizard/libxml2_x64_and_ARM | 0 | 91999 | <filename>win32/VC10/Win32/libxml2_Release/HTMLparser.asm
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1
TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\HTMLparser.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRT
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic6_8.adb | best08618/asylo | 7 | 7611 | -- { dg-do compile }
-- { dg-options "-fdump-tree-gimple" }
with Atomic6_Pkg; use Atomic6_Pkg;
procedure Atomic6_8 is
Ptr : Int_Ptr := new Int;
Temp : Integer;
begin
Ptr.all := Counter1;
Counter1 := Ptr.all;
Ptr.all := Int(Timer1);
Timer1 := Integer(Ptr.all);
Temp := Integer(Ptr.all);
Ptr.all := I... |
programs/oeis/188/A188085.asm | jmorken/loda | 1 | 15941 | <reponame>jmorken/loda<gh_stars>1-10
; A188085: Positions of 1 in A188083; complement of A188084.
; 1,4,5,8,9,12,15,16,19,20,23,24,27,30,31,34,35,38,39,42,45,46,49,50,53,56,57,60,61,64,65,68,71,72,75,76,79,80,83,86,87,90,91,94,95,98,101,102,105,106,109,112,113,116,117,120,121,124,127,128,131,132,135,136,139,142,143,146... |
data/pokemon/dex_entries/shinx.asm | AtmaBuster/pokeplat-gen2 | 6 | 82978 | <reponame>AtmaBuster/pokeplat-gen2
db "FLASH@" ; species name
db "The extension and"
next "contraction of its"
next "muscles generates"
page "electricity. When"
next "in trouble, SHINX"
next "will glow.@"
|
u7si/include/u7si-segments.asm | JohnGlassmyer/UltimaHacks | 68 | 164965 | ; SI.EXE (0xBC440 bytes)
; segments.asm generated by UltimaPatcher on 20180908
; https://github.com/JohnGlassmyer/UltimaHacks
defineSegment 0, 0x0000, 0x0000
defineSegment 1, 0x0008, 0x0434
defineSegment 2, 0x0010, 0x043B
defineSegment 3, 0x0018, 0x0530
defineSegment 4, 0x0020, 0x060F
defineSegment 5, 0x002... |
Lab_3/2.5.asm | Opty1337/CO | 0 | 2658 | loop:
lw $12, 0($1) ; $12 = A[i]
dmul $12, $12, $9 ; $12 *= $9 ;; $12 = A[i] * mult
daddi $5, $5, 1 ; i++
daddi $1, $1, 8 ; A += 8
bne $6, $5, loop ; Exit loop if i == N
dadd $9, $9, $12 ; $9 += $12 ;; mult += A[i] * mult
sw $9, mult($0) ... |
Bin/darwin/itartwork.scpt | Blackfiction/slimserver | 647 | 1071 | <reponame>Blackfiction/slimserver<filename>Bin/darwin/itartwork.scpt<gh_stars>100-1000
#!/usr/bin/osascript
-- Export downloaded iTunes artwork to a given folder
-- ./itartwork.osa /path/to/folder
-- Notes:
-- AppleScript doesn't have any way of printing to stdout, so there is no output from this program
-- until it ... |
Task/Man-or-boy-test/Ada/man-or-boy-test-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 28175 | <gh_stars>1-10
with Ada.Text_IO;
use Ada.Text_IO;
procedure Man_Or_Boy is
function Zero return Integer is ( 0);
function One return Integer is ( 1);
function Neg return Integer is (-1);
function A (K: Integer;
X1, X2, X3, X4, X5: access function return Integer) return Integer is
M : I... |
archive/agda-3/src/Oscar/Class/Quadricity.agda | m0davis/oscar | 0 | 11471 | <reponame>m0davis/oscar<filename>archive/agda-3/src/Oscar/Class/Quadricity.agda
open import Oscar.Prelude
open import Oscar.Class
module Oscar.Class.Quadricity where
module Quadricity
{𝔞} {𝔄 : Ø 𝔞}
{𝔟} {𝔅 : Ø 𝔟}
{ℓ} (_↦_ : 𝔅 → 𝔅 → Ø ℓ) (let infix 4 _↦_; _↦_ = _↦_)
(_∧_ : 𝔅 → 𝔅 → 𝔅) (let infixr 15 ... |
Source/Levels/L0214.asm | AbePralle/FGB | 0 | 3672 | <reponame>AbePralle/FGB
; L0214.asm skippy's prison
; Generated 07.09.2000 by mlevel
; Modified 07.09.2000 by <NAME>
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
SECTION "Level0214Section",ROMX
;-----------------------------------------... |
bug-reports/unit-inline/src/main.adb | TUM-EI-RCS/StratoX | 12 | 19770 | <gh_stars>10-100
with Mission;
procedure main is
begin
Mission.run_Mission;
end main;
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/volatile7.adb | best08618/asylo | 7 | 4387 | -- { dg-do compile }
-- { dg-options "-O2 -fdump-tree-optimized" }
function Volatile7 return Integer is
type Vol is new Integer;
pragma Volatile (Vol);
type R is record
X : Vol := 0;
end record;
V : R;
begin
for J in 1 .. 10 loop
V.X := V.X + 1;
end loop;
return Integer (V.X);
... |
source/required/s-pack13.ads | ytomino/drake | 33 | 25172 | pragma License (Unrestricted);
-- implementation unit required by compiler
with System.Packed_Arrays;
package System.Pack_13 is
pragma Preelaborate;
-- It can not be Pure, subprograms would become __attribute__((const)).
type Bits_13 is mod 2 ** 13;
for Bits_13'Size use 13;
package Indexing is new... |
tools-src/gnu/gcc/gcc/ada/5stpopse.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 8258 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
alloy/tp9/graphs.als | motapinto/feup-mfes | 0 | 3632 | /*
Each node as a set of outgoing edges, representing a directed graph without multiple edged.
*/
sig Node {
adj : set Node
}
/*
The graph is undirected, ie, edges are symmetric.
http://mathworld.wolfram.com/UndirectedGraph.html
*/
pred undirected {
// adj = ~adj
all n1, n2: Node | n1 in n2.adj implies n2 in n1.... |
PMOO/ADA/LAB2/PARTE_2/es_primo.adb | usainzg/EHU | 0 | 941 | <gh_stars>0
with Suma_Divisores_Propios;
function Es_Primo(N: Integer) return Boolean is
begin
if Suma_Divisores_Propios(N) = 1 then
return True;
end if;
return False;
end Es_Primo; |
tools/akt-commands-list.adb | thierr26/ada-keystore | 25 | 20802 | <filename>tools/akt-commands-list.adb
-----------------------------------------------------------------------
-- akt-commands-list -- List content of keystore
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this fi... |
src/debug.ads | eyeonechi/invalid-behaviour-conservative-analysis | 0 | 29212 | <gh_stars>0
-- contains debug functions for printing things
package Debug with SPARK_Mode is
-- print a string
procedure Put(Item : in String) with
Global => null;
-- print a string and add a new line
procedure Put_Line(Item : in String) with
Global => null;
-- print an integer (with n... |
agda/Number/Instances/QuoQ/Instance.agda | mchristianl/synthetic-reals | 3 | 2088 | {-# OPTIONS --cubical --no-import-sorts #-}
module Number.Instances.QuoQ.Instance where
open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero)
open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc)
open import Cubical.Foundations.Logic renaming (inl to inlᵖ; i... |
alloy4fun_models/trashltl/models/3/34xYtTLtnbgbLS8c9.als | Kaixi26/org.alloytools.alloy | 0 | 193 | <filename>alloy4fun_models/trashltl/models/3/34xYtTLtnbgbLS8c9.als
open main
pred id34xYtTLtnbgbLS8c9_prop4 {
some f: File | (always f not in Protected) implies eventually f in Trash
}
pred __repair { id34xYtTLtnbgbLS8c9_prop4 }
check __repair { id34xYtTLtnbgbLS8c9_prop4 <=> prop4o } |
8085_programming/PROGS/5_memadd.asm | SayanGhoshBDA/code-backup | 16 | 16984 | ; Program to show the use of the memory
; change the contents of the memory before
; check the reset condition
LDA 0005H ; load the contents of memory addr 0005H to A
MOV B,A ; Move the contents of A to B
LDA 0006H ; A have the contents of the addr 0006H
ADD B ; Add B with A
STA 000BH ; store the result to memory lo... |
oeis/195/A195178.asm | neoneye/loda-programs | 11 | 80996 | ; A195178: a(n) = 4*n - floor(2*n*sqrt(2)).
; 0,2,3,4,5,6,8,9,10,11,12,13,15,16,17,18,19,20,22,23,24,25,26,27,29,30,31,32,33,34,36,37,38,39,40,42,43,44,45,46,47,49,50,51,52,53,54,56,57,58,59,60,61,63,64,65,66,67,68,70,71,72,73,74,75,77,78,79,80,81,83,84,85,86,87,88,90,91,92,93,94,95,97,98,99,100,101,102,104,105,106,107... |
Type/Cubical/Quotient.agda | Lolirofle/stuff-in-agda | 6 | 9209 | {-# OPTIONS --cubical #-}
module Type.Cubical.Quotient where
open import Functional
import Lvl
open import Structure.Type.Identity
open import Type.Cubical
open import Type.Cubical.Path.Equality
open import Type
open import Syntax.Function
private variable ℓ ℓₗ : Lvl.Level
private variable T A B : Type{ℓ}
priva... |
programs/oeis/083/A083878.asm | jmorken/loda | 1 | 245922 | ; A083878: a(0)=1, a(1)=3, a(n)=6a(n-1)-7a(n-2), n>=2.
; 1,3,11,45,193,843,3707,16341,72097,318195,1404491,6199581,27366049,120799227,533233019,2353803525,10390190017,45864515427,202455762443,893682966669,3944907462913,17413664010795,76867631824379
mov $2,$0
add $2,1
mov $5,$0
lpb $2
mov $0,$5
sub $2,1
sub $0,$2... |
Task/Same-Fringe/Ada/same-fringe-1.ada | mullikine/RosettaCodeData | 1 | 5201 | <filename>Task/Same-Fringe/Ada/same-fringe-1.ada
generic
type Data is private;
package Bin_Trees is
type Tree_Type is private;
function Empty(Tree: Tree_Type) return Boolean;
function Left (Tree: Tree_Type) return Tree_Type;
function Right(Tree: Tree_Type) return Tree_Type;
function Item (Tree: Tree... |
source/league/league-iris.adb | svn2github/matreshka | 24 | 25221 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
Transynther/x86/_processed/US/_zr_un_/i3-7100_9_0x84_notsx.log_21829_1593.asm | ljhsiun2/medusa | 9 | 13412 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %rbp
push %rbx
push %rdx
lea addresses_normal_ht+0xd07b, %rbp
nop
nop
nop
nop
xor $34460, %rdx
mov $0x6162636465666768, %r12
movq %r12, %xmm2
vmovups %ymm2, (%rbp)
nop
nop
nop
nop
and %rbp, %rbp
lea addresses_WT_ht... |
programs/oeis/008/A008601.asm | karttu/loda | 0 | 170401 | ; A008601: Multiples of 19.
; 0,19,38,57,76,95,114,133,152,171,190,209,228,247,266,285,304,323,342,361,380,399,418,437,456,475,494,513,532,551,570,589,608,627,646,665,684,703,722,741,760,779,798,817,836,855,874,893,912,931,950,969,988,1007,1026,1045,1064,1083,1102,1121,1140,1159,1178,1197,1216,1235,1254,1273,1292,1311,... |
latin_file_names.adb | ddugovic/words | 4 | 13887 | <reponame>ddugovic/words
package body LATIN_FILE_NAMES is
function ADD_FILE_NAME_EXTENSION(NAME, EXTENSION : STRING) return STRING is
-- This is the version that creates a DOS file name
-- One that has a name, a '.', and an extension no longer than 3 characters
-- Arbitarily, we also truncate the NAME ... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_audio_multichannel_h.ads | persan/A-gst | 1 | 730 | <reponame>persan/A-gst<filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_audio_multichannel_h.ads<gh_stars>1-10
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_gststructure_h;
with glib;
with glib.... |
boards/stm32f769_discovery/src/sdcard.ads | morbos/Ada_Drivers_Library | 2 | 27868 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- --
-- ... |
oeis/175/A175567.asm | neoneye/loda-programs | 11 | 3477 | <filename>oeis/175/A175567.asm
; A175567: (n!)^2 modulo n(n+1)/2.
; Submitted by <NAME>
; 0,1,0,6,0,15,0,0,0,45,0,66,0,0,0,120,0,153,0,0,0,231,0,0,0,0,0,378,0,435,0,0,0,0,0,630,0,0,0,780,0,861,0,0,0,1035,0,0,0,0,0,1326,0,0,0,0,0,1653,0,1770,0,0,0,0,0,2145,0,0,0,2415,0,2556,0,0,0,0,0,3003,0,0,0,3321,0,0,0,0,0,3828,0,0,0... |
oeis/055/A055555.asm | neoneye/loda-programs | 11 | 169478 | <reponame>neoneye/loda-programs
; A055555: a(n) = n!*(n!+1)/2.
; Submitted by <NAME>
; 1,1,3,21,300,7260,259560,12703320,812871360,65841128640,6584096534400,796675481078400,114721266640780800,19387894024929830400,3800027228319587865600,855006126362753549184000,218881568348707987666944000,63256773252773762936322048000
... |
PiQ/Properties.agda | DreamLinuxer/popl21-artifact | 5 | 9275 | <reponame>DreamLinuxer/popl21-artifact<filename>PiQ/Properties.agda
module PiQ.Properties where
open import Data.Empty
open import Data.Unit hiding (_≟_)
open import Data.Sum
open import Data.Product
open import Data.Maybe
open import Data.Maybe.Properties
open import Data.Nat hiding (_≟_)
open import Data.Nat.Inductio... |
pwnlib/shellcraft/templates/thumb/linux/bindsh.asm | kristoff3r/pwntools | 1 | 13801 | <filename>pwnlib/shellcraft/templates/thumb/linux/bindsh.asm
<% from pwnlib.shellcraft.thumb.linux import listen, dupsh%>
<% from pwnlib import constants %>
<% from socket import htons %>
<%page args="port, network='ipv4'"/>
<%docstring>
bindsh(port,network)
Listens on a TCP port and spawns a shell for the fir... |
Examples/ch13/Keybd.asm | satadriver/LiunuxOS | 0 | 5925 | <gh_stars>0
TITLE Buffered Keyboard Input (Keybd.asm)
; Test function 3Fh, read from file or device
; with the keyboard. Flush the buffer.
; Last update: 11/4/01
INCLUDE Irvine16.inc
.data
firstName BYTE 15 DUP(?),0
lastName BYTE 30 DUP(?),0
.code
main PROC
mov ax,@data
mov ds,ax
... |
Transynther/x86/_processed/US/_ht_zr_/i7-7700_9_0xca.log_21829_656.asm | ljhsiun2/medusa | 9 | 20474 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1a73d, %rsi
lea addresses_A_ht+0xf399, %rdi
clflush (%rsi)
nop
nop
nop
nop
sub %rbp, %rbp
mov $43, %rcx
rep movsq
nop
and %r13, %r13
lea addresses_WC_ht+0x674e, %rcx
nop
nop
... |
source/asis/spec/annex_d/ada-asynchronous_task_control.ads | faelys/gela-asis | 4 | 5304 | <filename>source/asis/spec/annex_d/ada-asynchronous_task_control.ads
------------------------------------------------------------------------------
-- 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 --
-- ... |
rom/example/score_hex.asm | novoru/GBR | 0 | 247666 | <gh_stars>0
; -----------------------------------------------------------------------------
; Example: Game score in hexadecimal
; -----------------------------------------------------------------------------
; Font comes from ZX Spectrum - https://en.wikipedia.org/wiki/ZX_Spectrum_character_set
; More examples by tmk ... |
alloy4fun_models/trainstlt/models/3/3YLDRnZzNNxxeqmfZ.als | Kaixi26/org.alloytools.alloy | 0 | 2667 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id3YLDRnZzNNxxeqmfZ_prop4 {
}
pred __repair { id3YLDRnZzNNxxeqmfZ_prop4 }
check __repair { id3YLDRnZzNNxxeqmfZ_prop4 <=> prop4o } |
libsrc/gfx/narrow/draw.asm | ahjelm/z88dk | 640 | 27292 | ; ----- void draw(int x, int y, int x2, int y2)
IF !__CPU_INTEL__ & !__CPU_GBZ80__
SECTION code_graphics
PUBLIC draw
PUBLIC _draw
EXTERN asm_draw
.draw
._draw
push ix
ld ix,2
add ix,sp
ld l,(ix+6) ;y0
ld h,(ix+8) ;x0
ld e,(ix+2) ... |
SpriteBuilder/Resources/OpenPaths.scpt | andykorth/SpriteBuilder | 365 | 4596 | <filename>SpriteBuilder/Resources/OpenPaths.scpt<gh_stars>100-1000
on openPathInApplication(anApplicationName, aPath)
tell application anApplicationName
open aPath
activate
end tell
end openPathInApplication
|
Task/Arena-storage-pool/Ada/arena-storage-pool-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 20554 | <filename>Task/Arena-storage-pool/Ada/arena-storage-pool-2.ada<gh_stars>1-10
with System.Storage_Elements; use System.Storage_Elements;
with System.Storage_Pools; use System.Storage_Pools;
package Arena_Pools is
type Arena (Size : Storage_Count) is new Root_Storage_Pool with private;
overriding
proced... |
PRG/levels/Under/BigQ7.asm | narfman0/smb3_pp1 | 0 | 174517 | ; Original address was $B5E2
; World 7's Big [?] block area
.word $0000 ; Alternate level layout
.word $0000 ; Alternate object layout
.byte LEVEL1_SIZE_08 | LEVEL1_YSTART_170
.byte LEVEL2_BGPAL_03 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_03 | LEVEL3_VSCROLL_FREE
.byte LEVEL4_BGBANK_INDEX(3) | L... |
tools/scitools/conf/understand/ada/ada05/s-scaval.ads | brucegua/moocos | 1 | 15744 | <reponame>brucegua/moocos
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
oeis/162/A162213.asm | neoneye/loda-programs | 11 | 176621 | ; A162213: a(n) = the smallest positive multiple of n with exactly n digits when written in binary.
; 1,2,6,8,20,36,70,128,261,520,1034,2052,4108,8204,16395,32768,65552,131076,262162,524300,1048593,2097172,4194326,8388624,16777225,33554456,67108878,134217748,268435484,536870940,1073741854,2147483648,4294967325,85899346... |
src/MJ/Classtable/Code.agda | metaborg/mj.agda | 10 | 16630 | <reponame>metaborg/mj.agda
open import MJ.Types
import MJ.Classtable.Core as Core
module MJ.Classtable.Code {c}(Ct : Core.Classtable c) where
open import Prelude
open import Data.Maybe as Maybe using (Maybe; just; nothing)
open import Data.Star as Star
open import Data.List
open import Data.List.Relation.Unary.All hi... |
oeis/112/A112476.asm | neoneye/loda-programs | 11 | 163265 | ; A112476: Diagonal sums of Riordan array (1/(1+x),x(1+x)/(1-x)).
; Submitted by <NAME>
; 1,-1,2,0,3,3,8,12,25,43,82,148,275,503,928,1704,3137,5767,10610,19512,35891,66011,121416,223316,410745,755475,1389538,2555756,4700771,8646063,15902592,29249424,53798081,98950095,181997602,334745776,615693475,1132436851,2082876104,... |
base/mvdm/dos/v86/doskrnl/dos/exepatch.asm | npocmaka/Windows-Server-2003 | 17 | 176234 |
;** EXEPATCH.ASM
;
; Contains the foll:
;
; - code to find and overlay buggy unpack code
; - new code to be overlayed on buggy unpack code
; - old code sequence to identify buggy unpack code
;
; Revision history:
;
; Created: 5/14/90
;
;
;
;---------------------------------------------------------... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-elaall.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 10406 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
c64testprgs/rasterIRQ.asm | irmen/ksim65 | 8 | 11846 |
*=$0801
.word (+), 2005
.null $9e, format("%d", start)
+ .word 0
* = 2084
start
sei
lda #$7f
sta $dc0d
and $d011
sta $d011
lda #123
sta $d012
lda #<irq
sta $0314
lda #>irq
sta $0315
lda #1
sta $d01a
cli
rts
irq
inc $0400
asl $d019
jmp $ea31
|
programs/oeis/315/A315763.asm | karttu/loda | 0 | 28025 | <filename>programs/oeis/315/A315763.asm
; A315763: Coordination sequence Gal.6.628.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,6,12,18,24,29,35,41,46,52,58,64,70,76,82,88,94,99,105,111,116,122,128,134,140,146,152,158,164,169,... |
alloy4fun_models/trashltl/models/9/zCdmyEmbxY6ScCceY.als | Kaixi26/org.alloytools.alloy | 0 | 887 | open main
pred idzCdmyEmbxY6ScCceY_prop10 {
always all f:File | f in Protected implies f in Protected
}
pred __repair { idzCdmyEmbxY6ScCceY_prop10 }
check __repair { idzCdmyEmbxY6ScCceY_prop10 <=> prop10o } |
test_data/ligador_carregador/teste_B.asm | Perruci/sb20172 | 0 | 172935 | <filename>test_data/ligador_carregador/teste_B.asm
mod_b: begin
section text
public mod_b
public y
x: extern
fim: extern
result: extern
load x
add y
mult dois
store result
jmp fim
section data
dois: const 2
y: space
end
|
src/sound-alsa.adb | sparre/ALSA-binding | 4 | 4569 | -- The Beer-Ware License (revision 42)
--
-- <NAME> <<EMAIL>> wrote this. As long as you
-- retain this notice you can do whatever you want with this stuff. If we meet
-- some day, and you think this stuff is worth it, you can buy me a beer in
-- return.
--
-- <NAME>
package body Sound.ALSA is
function Signed... |
stressfs.asm | hprem991/System-Call | 1 | 161468 |
_stressfs: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "fs.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
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 ... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1141.asm | ljhsiun2/medusa | 9 | 3557 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r15
push %r9
push %rax
// Faulty Load
mov $0x21df4d00000004e3, %r9
nop
nop
nop
nop
nop
and $16626, %r15
mov (%r9), %r11
lea oracles, %rax
and $0xff, %r11
shlq $12, %r11
mov (%rax,%r11,1), %r11
pop %rax
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/source_ref2.adb | best08618/asylo | 7 | 8164 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/source_ref2.adb
pragma Source_Reference (1, "p2.adb");
procedure Source_Ref2 is
pragma Source_Reference (2, "p2.adb");
begin
null;
end;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.