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 |
|---|---|---|---|---|
_incObj/5C Pylon.asm | kodishmediacenter/msu-md-sonic | 9 | 179770 | <reponame>kodishmediacenter/msu-md-sonic
; ---------------------------------------------------------------------------
; Object 5C - metal pylons in foreground (SLZ)
; ---------------------------------------------------------------------------
Pylon:
moveq #0,d0
move.b obRoutine(a0),d0
move.w Pyl_Index(pc,d0.w),... |
bb-runtimes/arm/stm32/stm32f0xx/stm32f0x8/svd/i-stm32-rcc.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 6221 | <reponame>JCGobbi/Nucleo-STM32G474RE<filename>bb-runtimes/arm/stm32/stm32f0xx/stm32f0x8/svd/i-stm32-rcc.ads<gh_stars>0
--
-- Copyright (C) 2020, AdaCore
--
-- This spec has been automatically generated from STM32F0x8.svd
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package Interfaces.STM32.RCC is
p... |
programs/oeis/022/A022339.asm | neoneye/loda | 22 | 14948 | <reponame>neoneye/loda
; A022339: Index of 3^n within sequence of numbers of form 3^i*5^j.
; 1,2,4,7,10,14,19,24,30,37,44,52,61,70,80,91,102,114,127,140,154,169,185,201,218,236,254,273,293,313,334,356,378,401,425,449,474,500,526,553,581,609,638,668,699,730,762,795,828,862,897,932,968,1005,1042,1080,1119
mov $3,$0
mov ... |
source/oasis/program-elements-derived_record_extensions.ads | reznikmm/gela | 0 | 7978 | <reponame>reznikmm/gela<filename>source/oasis/program-elements-derived_record_extensions.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Type_Definitions;
with Program.Lexical_Elements;
with Pr... |
Tek2/ASM/MinilibC/src/strcmp.asm | PhilippeDeSousa/EpitechBundle | 1 | 103992 | <reponame>PhilippeDeSousa/EpitechBundle<filename>Tek2/ASM/MinilibC/src/strcmp.asm
section .text
global strcmp:function
strcmp:
mov rcx, 0
loop:
mov bl, [rdi + rcx]
mov dl, [rsi + rcx]
cmp bl, 0
je end
cmp bl, dl
jne end
inc rcx
jmp loop
end:
sub bl, dl
movsx rax, bl
ret
|
ugbc/src/hw/ef936x/cls.asm | spotlessmind1975/ugbasic | 10 | 172587 | <filename>ugbc/src/hw/ef936x/cls.asm<gh_stars>1-10
; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021-2022 <... |
dv3/msd16/drent.asm | olifink/smsqe | 0 | 177918 | <gh_stars>0
; DV3 MSDOS Format Fetch Directory Entry V3.01 2017 <NAME>
; based on
; DV3 MSDOS Format Fetch Directory Entry V3.00 1993 <NAME>
section dv3
xdef msd_drent
xdef msd_drefile
xdef msd_dre2
xref dv3_drloc
xref dv3_fbloc
xref msd_drlen
include 'dev8_keys_dos'
include 'dev8_keys_err'... |
test/Succeed/Issue964.agda | shlevy/agda | 1,989 | 14128 | <gh_stars>1000+
-- Andreas, 2016-08-04, issue #964
-- Allow open metas and interaction points in imported files
-- {-# OPTIONS -v import:100 #-}
-- {-# OPTIONS -v meta.postulate:20 #-}
-- {-# OPTIONS -v tc.conv.level:50 #-}
open import Common.Level
open import Common.Equality
postulate something : Set₁
open import ... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-8650U_0xd2_notsx.log_25_663.asm | ljhsiun2/medusa | 9 | 96260 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x16ab8, %rsi
lea addresses_WT_ht+0x9bb8, %rdi
nop
nop
nop
nop
nop
cmp %r10, %r10
mov $26, %rcx
rep movsl
nop
nop
nop
and $23758, %rdx
lea addresses_UC_ht+0x78b8, %rsi
xor %r14... |
code_snippets/skeleton.asm | smirzaei/systems-programming-class | 0 | 26923 | ; Stack
stk segment
dw 64 dup(?)
stk ends
; Data
dts segment
dts ends
; Code
cds segment
assume cs:cds,ss:stk,ds:dts
main proc far
mov ax,dts
mov ds,ax
exit: ; terminate the program
mov ah,4ch
int 21h
main endp
cds ends
end ... |
drivers/auto_differentiation-dynamics.adb | sciencylab/lagrangian-solver | 0 | 11492 | with Numerics, Ada.Text_IO, Auto_Differentiation.Integrator;
use Numerics, Ada.Text_IO, Auto_Differentiation.Integrator;
procedure Auto_Differentiation.Dynamics is
use Real_IO, Int_IO;
-- Set Up Parameters -----------------
Control : Control_Type := (N => 2, Dt => 1.0, Eps => 1.0e-10, Err => 1.0, K => 9);
... |
compiled/prime.asm | GGN-2015/Coffee | 1 | 14190 | STACKSG SEGMENT STACK
GLOBAL_BUILTIN_GETS_BUF DW 129 DUP(0)
GLOBAL_BUILTIN_GETS_CHARCOUNT DW 1 DUP(0)
DW 16254 DUP(0)
STACKSG ENDS
CODESG SEGMENT
ASSUME CS:CODESG, DS:STACKSG, SS:STACKSG
FUNC_isprime: ; localVar: 2, arguCnt: 1
PUSH BP
MOV BP, SP
SUB SP, 4
MOV AX, [BP+4]
MOV... |
misc/mips/add2.asm | crunchbang/Higer | 3 | 173251 | main:
#Read 1st number
li $v0, 5
syscall
move $t1, $v0
#Read 2nd number
li $v0, 5
syscall
move $t2, $v0
#Add the numbers
add $t0, $t1, $t2
#Print the sum
move $a0, $t0
li $v0, 1
syscall
#Exit
li $v0, 10
syscall
... |
src/compiling/ANTLR/grammar/ConfigurationSourceText.g4 | jecassis/VSCode-SystemVerilog | 75 | 7220 | grammar ConfigurationSourceText;
import InterfaceItems;
config_declaration : 'config' config_identifier ';' ( local_parameter_declaration ';' )* design_statement
( config_rule_statement )* 'endconfig' ( ':' config_identifier )? ;
design_statement : 'design' ( ( library_identifier '.' )? cell_identifier )* ';' ;
co... |
src/natools-smaz.adb | faelys/natools | 0 | 6233 | ------------------------------------------------------------------------------
-- Copyright (c) 2016-2017, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
notes/FOT/FOTC/Program/Nest/ConversionRulesATP.agda | asr/fotc | 11 | 16156 | ------------------------------------------------------------------------------
-- Conversion rules for the nest function
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymor... |
awa/regtests/awa-events-services-tests.ads | fuzzysloth/ada-awa | 0 | 17135 | -----------------------------------------------------------------------
-- events-tests -- Unit tests for AWA events
-- Copyright (C) 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
... |
utils/line_segment.ads | Lucretia/old_nehe_ada95 | 0 | 7793 | ---------------------------------------------------------------------------------
-- 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.
-------------------------------------------------------------------... |
exercises/app3.asm | amirshnll/assembly-exercises | 4 | 87014 |
include io.h
cr equ 10
lf equ 13
number_no equ 10
.model small
.Stack 200h
.Data
prompt db cr, lf, "Enter a number: ",0
num_str db 7 dup(?)
new_line db cr, lf, 0
arr dw number_no dup(?)
.Code
Main proc
mov ax, @Data
mov ds, ax
;----------------... |
oeis/160/A160207.asm | neoneye/loda-programs | 0 | 245857 | ; A160207: Decimal expansion of (907+210*sqrt(2))/857.
; Submitted by <NAME>(w4)
; 1,4,0,4,8,8,3,1,3,6,6,3,7,5,1,4,5,3,9,3,7,9,6,4,3,6,7,8,0,4,4,3,8,3,4,2,6,4,8,7,3,1,7,4,9,5,7,1,6,6,3,8,3,8,4,3,2,5,6,7,4,1,4,8,1,6,5,7,5,7,0,8,3,4,0,3,7,8,3,5,2,1,7,7,1,9,7,3,6,0,8,1,7,8,3,0,1,9,0,2
bin $1,$0
mov $2,2
mov $3,$0
mul $3,... |
source/image/required/s-imgboo.ads | ytomino/drake | 33 | 27108 | <reponame>ytomino/drake
pragma License (Unrestricted);
-- implementation unit required by compiler
package System.Img_Bool is
pragma Pure;
-- required for Boolean'Image by compiler (s-imgboo.ads)
procedure Image_Boolean (
V : Boolean;
S : in out String;
P : out Natural);
end System.Img_Bo... |
ee/hxt/doex.asm | olifink/smsqe | 0 | 170480 | ; Procedure to execute programs V2.01 1990 <NAME> QJUMP
;
; 2006-03-27 2.01 Use system specific delay (MK)
section hotkey
xdef hxt_thing
xdef hxt_doex
xref hxt_go
xref hxt_mkxt
xref hk_do
xref hxt_prmx
xref gu_hkuse
xref gu_hkfre
xref gu_rchp
xref gu_exdelay
xref gu_pause
include 'dev8_keys... |
data/mapHeaders/seafoamislands4.asm | adhi-thirumala/EvoYellow | 16 | 245948 | <filename>data/mapHeaders/seafoamislands4.asm
SeafoamIslands4_h:
db CAVERN ; tileset
db SEAFOAM_ISLANDS_4_HEIGHT, SEAFOAM_ISLANDS_4_WIDTH ; dimensions (y, x)
dw SeafoamIslands4Blocks, SeafoamIslands4TextPointers, SeafoamIslands4Script ; blocks, texts, scripts
db $00 ; connections
dw SeafoamIslands4Object ; objects... |
scripts/route8.asm | adhi-thirumala/EvoYellow | 0 | 240649 | <filename>scripts/route8.asm
Route8Script:
call EnableAutoTextBoxDrawing
ld hl, Route8TrainerHeaders
ld de, Route8ScriptPointers
ld a, [wRoute8CurScript]
call ExecuteCurMapScriptInTable
ld [wRoute8CurScript], a
ret
Route8ScriptPointers:
dw CheckFightingMapTrainers
dw DisplayEnemyTrainerTextAndStartBattle
dw ... |
tools/yasm/tests/nasm/string.asm | fasttr-org/ftr | 0 | 240438 | mov eax, 'hi'
mov eax, 'hehe'
mov eax, 'hello'
mov eax, ''
db 0,0,0
db 'hi"'
db "hi\"
db "hi\n"
|
src/Data/Lens/Lens.agda | JonathanBrouwer/research-project | 1 | 14277 | <filename>src/Data/Lens/Lens.agda
module Data.Lens.Lens where
open import Haskell.Prelude
{-# FOREIGN AGDA2HS
{-# LANGUAGE Rank2Types #-}
#-}
---- Functors
-- The const functor, for which fmap does not change its value
data Const (a : Set) (b : Set) : Set where
CConst : a -> Const a b
getConst : {a : Set} {b : ... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-imde32.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 10138 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
src/interfaces/adabase-interfaces-connection.ads | jrmarino/AdaBase | 30 | 13918 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
with AdaBase.Statement;
package AdaBase.Interfaces.Connection is
type iConnection is interface;
package AS renames AdaBase.Statement;
-- Autocommit
procedure setAutoCommit (conn : out iConnectio... |
itunes/firstscript.applescript | pahoughton/pah-misc-applescript | 0 | 3185 | <filename>itunes/firstscript.applescript
#!/usr/bin/osascript
tell application "iTunes"
tell track id 40652
--location
played date
end tell
end tell
|
programs/oeis/108/A108173.asm | jmorken/loda | 1 | 170950 | <reponame>jmorken/loda<filename>programs/oeis/108/A108173.asm
; A108173: Let beta = A058265. Sequence gives a(n) = 1 + ceiling((n-1)*beta^2).
; 1,5,8,12,15,18,22,25,29,32,35,39,42,45,49,52,56,59,62,66,69,73,76,79,83,86,89,93,96,100,103,106,110,113,117,120,123,127,130,133,137,140,144,147,150,154,157,160,164,167,171,174,... |
src/switch/h2io.a51 | microchip-ung/SparX-III_Unmanaged | 0 | 5529 | ;Copyright (c) 2004-2020 Microchip Technology Inc. and its subsidiaries.
;SPDX-License-Identifier: MIT
$NOMOD51
$INCLUDE (REG52.INC)
$INCLUDE (hwconf.inc)
NAME H2IO
$IF (USE_PI = 1)
EXTRN CODE (_pi_write, _pi_read)
$ELSE
$IF (USE_SI = 1)
EXTRN CODE (_spi_write, _spi_read)
$ENDIF
$ENDIF
PUBLIC _... |
scripts/osx-mouse-speed.scpt | ramrom/rams_dot_files | 2 | 1294 | #/usr/bin/osascript
on run (trackingValue)
--Open and activate System Preferences
tell application "System Preferences" to activate
--Attempt to change settings using System Events
tell application "System Events"
tell process "System Preferences"
try
delay 1
--Open the "Mouse" pan... |
library/fmGUI_ManageLayouts/fmGUI_ManageLayouts_LayoutListFocus.applescript | NYHTC/applescript-fm-helper | 1 | 4281 | <filename>library/fmGUI_ManageLayouts/fmGUI_ManageLayouts_LayoutListFocus.applescript
-- fmGUI_ManageLayouts_LayoutListFocus(prefs)
-- <NAME>, NYHTC
-- open Manage Layouts
(*
HISTORY:
1.2 - 2017-11-20 ( eshagdar ): make sure we're talking to the correct window - there may be several windows 'in front of' the manage ... |
src/main/antlr4/org/xqdoc/XQueryParser.g4 | lcahlander/xqdoc | 12 | 6848 | <filename>src/main/antlr4/org/xqdoc/XQueryParser.g4<gh_stars>10-100
parser grammar XQueryParser;
options {
tokenVocab=XQueryLexer;
}
// Mostly taken from http://www.w3.org/TR/xquery/#id-grammar, with some
// simplifications:
//
// 1. The parser itself doesn't really enforce ws:explicit except for some easy
... |
oeis/081/A081201.asm | neoneye/loda-programs | 11 | 176893 | ; A081201: 7th binomial transform of (0,1,0,1,0,1,....), A000035.
; 0,1,14,148,1400,12496,107744,908608,7548800,62070016,506637824,4113568768,33271347200,268347559936,2159841173504,17357093552128,139326933401600,1117436577120256,8956419276406784,71752914167922688,574632673083392000,4600717543107198976,36827677295497969... |
src/scheme_test.adb | Irvise/Ada_Scheme_Example | 7 | 3719 | <reponame>Irvise/Ada_Scheme_Example<filename>src/scheme_test.adb
package body Scheme_Test is
function Hello_Ada(Num : Int) return Int is
Len : Int;
begin
Len := Num;
Len := Len + 1;
Put_Line ("Hello Scheme, from Ada.");
Put_Line ("The number passed is: " & Num'Image);
-- Can we call Scheme ... |
zos/old/print16.asm | zzh8829/OSPP | 0 | 179164 | <reponame>zzh8829/OSPP
[bits 16]
; print char from al
printChar:
mov ah, 0x0e ; enable print mode
int 0x10 ; print interrupt
ret
; print new line
printEndl:
mov al, 0
stosb
mov al, 0x0d ; vertical tab
call printChar
mov al, 0x0a ; new line
call printChar
ret
; print string from... |
thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/testtimer.adb | Lucretia/old_nehe_ada95 | 0 | 8639 |
-- ----------------------------------------------------------------- --
-- --
-- This is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU General Public --
-- License as published by the ... |
src/ui/maps-ui-commands.adb | thindil/steamsky | 80 | 20757 | <reponame>thindil/steamsky<gh_stars>10-100
-- Copyright (c) 2020-2021 <NAME> <<EMAIL>>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your optio... |
main/setup_native/scripts/osx_install_patch.applescript | Grosskopf/openoffice | 679 | 4688 | <reponame>Grosskopf/openoffice<filename>main/setup_native/scripts/osx_install_patch.applescript
(*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ... |
commons-jsymbol/src/main/java/io/onedev/commons/jsymbol/less/LessLexer.g4 | mhoffrog/onedev-commons | 1 | 803 | /*
[The "MIT License"]
Copyright (c) 2014 <NAME>
All rights reserved.
*/
lexer grammar LessLexer;
Identifier
: (('_' | 'a'..'z'| 'A'..'Z' | '\u0100'..'\ufffe' | '0'..'9' | INTERPOLATION)
('_' | '-' | 'a'..'z'| 'A'..'Z' | '\u0100'..'\ufffe' | '0'..'9' | INTERPOLATION)*
| '-' ('_' | 'a'..'z'| 'A'..'Z' | '\u0100'... |
TotekanReader/TotekanReaderLib/TestGrammer.g4 | doga-cganime/PlayAnimationImporter | 0 | 3607 | grammar TestGrammer;
/*
* Parser Rules
*/
r : 'hello' ID ;
/*
* Lexer Rules
*/
ID : [a-z]+ ;
WS : [ \r\t\n]+ -> skip ;
|
src/sensors-conversions.ads | Ada-bindings-project/a-lmsensors | 0 | 14857 | <reponame>Ada-bindings-project/a-lmsensors<gh_stars>0
with Interfaces.C.Strings;
with Sensors.LibSensors.Sensors_Sensors_H;
private package Sensors.Conversions is
function Convert_Up (Source : Sensors.LibSensors.Sensors_Sensors_H.Sensors_Bus_Id) return Bus_Id;
function Convert_Up (Source : Sensors.LibSensors.Sen... |
src/notify-notification.adb | VitalijBondarenko/notifyada | 0 | 27750 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- Copyright (c) 2014-2021 <NAME> <<EMAIL>> --
-- --
----------------... |
sources/google_creuse_lente.adb | theurt/PageRank | 0 | 6458 | <reponame>theurt/PageRank
with Ada.Unchecked_Deallocation;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
package body google_creuse_lente is
-- Permet de libérer des pointeurs
procedure Free is
new Ada.Unchecked_Deallocation (T_Cellule, T_Vecteur_Creux);
procedure I... |
test/Fail/Issue1863.agda | hborum/agda | 2 | 1000 | <filename>test/Fail/Issue1863.agda
-- Jesper, 2017-08-13: This test case now fails since instantiation
-- of metavariables during case splitting was disabled (see #2621).
{-# OPTIONS --allow-unsolved-metas #-}
record ⊤ : Set where
constructor tt
data I : Set where
i : ⊤ → I
data D : I → Set where
d : D (i tt)... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_11.asm | ljhsiun2/medusa | 9 | 94491 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %rsi
lea addresses_A_ht+0x245, %r10
nop
nop
nop
nop
xor $21201, %r13
movw $0x6162, (%r10)
nop
nop
lfence
pop %rsi
pop %r13
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %r15
push %r8
push %rbp
push %rdx
push %rsi
//... |
main.als | H4315-INSA-LYON/Software-quality | 0 | 4470 | <reponame>H4315-INSA-LYON/Software-quality
// ordering du temps
open util/ordering[Time]
// on utilise le framework integer pour faire des operations sur les entiers
open util/integer
// ----------------------------------- CONSTANTES --------------------------------------------
let tailleGrille = 2 // l... |
3-mid/impact/source/3d/math/impact-d3-aabb_util.ads | charlie5/lace | 20 | 30228 | <reponame>charlie5/lace<gh_stars>10-100
with Interfaces;
package impact.d3.aabb_Util
--
--
--
is
use Math;
type Signs is array (1 .. 3) of interfaces.unsigned_32;
subtype Bounds is Vector_3_array (1 .. 2);
procedure Transform_Aabb (halfExtents : in math.Vector_3;
... |
tools/scitools/conf/understand/ada/ada95/s-imgdec.ads | brucegua/moocos | 1 | 5797 | ------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
cc.scpt | jessealter/clear-n-close | 0 | 3956 | on textualcmd(inputString, destinationChannel)
return "/close " & destinationChannel & "\n" & "/raw privmsg *status ClearBuffer " & destinationChannel
end textualcmd |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1852.asm | ljhsiun2/medusa | 9 | 15157 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x14746, %rsi
lea addresses_WC_ht+0x1c546, %rdi
cmp %rax, %rax
mov $35, %rcx
rep movsb
nop
nop
inc %r14
lea addresses_WT_ht+0x18f46, %rsi
lea addresses_WC_ht+0xef46, %rdi
clflu... |
lib/svi_crt0.asm | andydansby/z88dk-mk2 | 1 | 83135 | ; Spectravideo SVI CRT0 stub
;
; <NAME> - Apr. 2001
;
; $Id: svi_crt0.asm,v 1.10 2009/06/22 21:20:05 dom Exp $
;
MODULE svi_crt0
;
; Initially include the zcc_opt.def file to find out lots of lovely
; information about what we should do..
;
INCLUDE "zcc_opt.def"
;... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2318.asm | ljhsiun2/medusa | 9 | 24804 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rax
push %rbp
push %rcx
lea addresses_WC_ht+0xdcc4, %rbp
clflush (%rbp)
nop
nop
and $36696, %rax
mov (%rbp), %r11
nop
nop
xor $34919, %r8
lea addresses_D_ht+0xf39, %rcx
nop
nop
nop
nop
nop
cmp %r11, %r... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/enum_derived_type.adb | ouankou/rose | 488 | 2882 | <reponame>ouankou/rose<filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/enum_derived_type.adb
procedure Enum_Derived_Type is
type Rainbow is (Red, Orange, Yellow, Green, Blue, Indigo, Violet);
type ColdColors is new Rainbow range Blue .. Violet;
BlueColor : ColdColors := Blue;
begin
... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_118_1589.asm | ljhsiun2/medusa | 9 | 247566 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xaaa8, %rsi
lea addresses_WT_ht+0x568, %rdi
nop
inc %r10
mov $60, %rcx
rep movsb
nop
nop
nop
cmp $35945, %rdx
lea addresses_WT_ht+0x15668, %rsi
lea addresses_UC_ht+0xe568... |
test/interaction/Error-in-imported-module/M.agda | np/agda-git-experiment | 1 | 14600 | module M where
Foo : Set
Foo = Set
|
src/common/ascon.ads | damaki/libkeccak | 26 | 25429 | -------------------------------------------------------------------------------
-- Copyright (c) 2019, <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:
-- * Redistributions of s... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gsttypefind_h.ads | persan/A-gst | 1 | 7251 | pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib.Values;
with System;
with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h;
with glib;
with Interfaces.C.Strings;
limited wi... |
gcc-gcc-7_3_0-release/gcc/ada/fname-sf.adb | best08618/asylo | 7 | 10506 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
5_KTMT_HN/self-learn/hello/hello.asm | SummerSad/HCMUS-Lectures | 8 | 7419 | <reponame>SummerSad/HCMUS-Lectures
section .data ; declaring constants
msg db "Hello world", 10 ; 10 is newline
section .text ; for code
global _start
_start:
; write(1, msg, 13)
mov rax, 1 ; system call 1 is write
mov rdi, 1 ; 1 is stdout
mov rsi, m... |
Task/Arithmetic-geometric-mean/Ada/arithmetic-geometric-mean.ada | LaudateCorpus1/RosettaCodeData | 1 | 17030 | with Ada.Text_IO, Ada.Numerics.Generic_Elementary_Functions;
procedure Arith_Geom_Mean is
type Num is digits 18; -- the largest value gnat/gcc allows
package N_IO is new Ada.Text_IO.Float_IO(Num);
package Math is new Ada.Numerics.Generic_Elementary_Functions(Num);
function AGM(A, G: Num) return Num is
... |
zerepoch-metatheory/test/AddInteger.agda | Quantum-One-DLT/zerepoch | 0 | 15884 | <reponame>Quantum-One-DLT/zerepoch<gh_stars>0
module test.AddInteger where
open import Type
open import Declarative
open import Builtin
open import Builtin.Constant.Type
open import Builtin.Constant.Term Ctx⋆ Kind * # _⊢⋆_ con size⋆
open import Agda.Builtin.Sigma
-- zerepoch/zerepoch-core/test/data/addInteger.plc
ad... |
libsrc/_DEVELOPMENT/stdio/c/sdcc_iy/clearerr_unlocked_fastcall.asm | meesokim/z88dk | 0 | 8035 |
; void clearerr_unlocked_fastcall(FILE *stream)
SECTION code_stdio
PUBLIC _clearerr_unlocked_fastcall
EXTERN asm_clearerr_unlocked
_clearerr_unlocked_fastcall:
push hl
pop ix
jp asm_clearerr_unlocked
|
oeis/021/A021096.asm | neoneye/loda-programs | 11 | 179113 | ; A021096: Decimal expansion of 1/92.
; 0,1,0,8,6,9,5,6,5,2,1,7,3,9,1,3,0,4,3,4,7,8,2,6,0,8,6,9,5,6,5,2,1,7,3,9,1,3,0,4,3,4,7,8,2,6,0,8,6,9,5,6,5,2,1,7,3,9,1,3,0,4,3,4,7,8,2,6,0,8,6,9,5,6,5,2,1,7,3,9,1,3,0,4,3,4,7,8,2,6,0,8,6,9,5,6,5,2,1
seq $0,199685 ; a(n) = 5*10^n+1.
div $0,46
mod $0,10
|
programs/oeis/056/A056120.asm | jmorken/loda | 1 | 27621 | <reponame>jmorken/loda
; A056120: a(n) = (3^3)*4^(n-3) with a(0)=1, a(1)=1 and a(2)=7.
; 1,1,7,27,108,432,1728,6912,27648,110592,442368,1769472,7077888,28311552,113246208,452984832,1811939328,7247757312,28991029248,115964116992,463856467968,1855425871872
mov $1,3
lpb $0
sub $0,1
mul $1,2
lpe
mov $2,$1
mul $1,2
mul... |
iod/con2/sprite/cf1.asm | olifink/smsqe | 0 | 244140 | * Sprite cf1
*
* Mode 4
* +|----------+
* - gg ggg g -
* |g g gg |
* |g g g |
* |g gg g |
* |g g g |
* |g g g |
* | gg g ggg|
* +|----------+
*
section sprite
xdef sp_cf1
xref sp_zero
sp_cf1
dc.w $0100,$0000
dc.w 11,7,0,0
dc.l sc4_cf1-*
dc.l sp_zero-*
dc.l 0
sc4_cf1
dc.w $6E00,$4000
dc.w ... |
Programs/src/cmd.asm | royprocell/GoldOS16 | 4 | 98045 | <filename>Programs/src/cmd.asm
;<NAME>
;7/7/2016
;GoldOS CLI
;Features:
;help - lists commands
;cls - clears screen
;cd - change directory
;dir - list contents of folder
;del - delete file
;ren - rename file
;copy - copy file
;size - returns size of file
;time - returns current time
;ver - returns version of GoldOS
;e... |
presentation-karaoke.scpt | skotcarruth/presentation-karaoke-keynote | 0 | 3279 | <gh_stars>0
set tdelay to 20 -- seconds -- the length of time each card is shown.
tell application "Keynote"
activate
tell the front document
repeat with i in my mixIndexes(count slides)
set the current slide to slide i
delay tdelay
end repeat
end tell
end tell
on mixIndexes(n)
set l ... |
oeis/245/A245392.asm | neoneye/loda-programs | 11 | 13429 | ; A245392: Sum_{k, k|n} 2^(k-1) + Sum_{1<=k<=n, gcd(k,n)=1} 2^(k-1).
; Submitted by <NAME>(s2)
; 2,4,8,16,32,56,128,224,480,856,2048,3200,8192,13656,29920,54752,131072,202104,524288,857952,1939168,3495256,8388608,12918016,33013248,55924056,124631008,222655840,536870912,809850488,2147483648,3579172320,7974270688,1431655... |
programs/oeis/194/A194102.asm | neoneye/loda | 22 | 176211 | ; A194102: a(n) = Sum_{j=1..n} floor(j*sqrt(2)); n-th partial sum of Beatty sequence for sqrt(2).
; 1,3,7,12,19,27,36,47,59,73,88,104,122,141,162,184,208,233,259,287,316,347,379,412,447,483,521,560,601,643,686,731,777,825,874,924,976,1029,1084,1140,1197,1256,1316,1378,1441,1506,1572,1639,1708,1778,1850,1923,1997,2073,2... |
Ada/src/Problem_35.adb | Tim-Tom/project-euler | 0 | 7558 | <filename>Ada/src/Problem_35.adb<gh_stars>0
with Ada.Integer_Text_IO;
with Ada.Text_IO;
with Ada.Containers.Ordered_Sets;
with PrimeUtilities;
package body Problem_35 is
package IO renames Ada.Text_IO;
package I_IO renames Ada.Integer_Text_IO;
subtype One_Million is Integer range 1 .. 1_000_000;
package Mil... |
Library/ConView/Main/mainContentPointer.asm | steakknife/pcgeos | 504 | 170933 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: Condo viewer
MODULE: main - view and text
FILE: mainContentPointer.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Na... |
Task/Collections/Ada/collections-3.ada | mullikine/RosettaCodeData | 1 | 18131 | procedure Array_Collection is
type Array_Type is array (positive range <>) of Integer; -- may be indexed with any positive
-- Integer value
A : Array_Type(1 .. 3); -- creates an array of three integers, indexed from 1 to 3
begin
A (1) := 3;
A (... |
src/JVM/Printer/Jasmin.agda | ajrouvoet/jvm.agda | 6 | 11338 | {-# OPTIONS --safe #-}
module JVM.Printer.Jasmin where
open import Function
open import Data.Nat
open import Data.Integer
open import Data.Nat.Show as NatShow
open import Data.String as S using (String)
open import Data.List as List
open import JVM.Types
open import JVM.Builtins
sep : List (List String) → List Strin... |
source/sjlj/c-unwind_pe.ads | ytomino/drake | 33 | 10324 | -- unwind-pe.h is a part of gcc, not in runtime libraries.
pragma License (GPL); -- and "GCC Runtime Library Exception"
with C.stdlib;
with C.unwind;
package C.unwind_pe is
pragma Preelaborate;
procedure gxx_abort
renames stdlib.C_abort;
DW_EH_PE_absptr : constant := 16#00#;
DW_EH_PE_omit : constan... |
alloy4fun_models/trashltl/models/17/MGQajoopaa2fnHhcD.als | Kaixi26/org.alloytools.alloy | 0 | 774 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idMGQajoopaa2fnHhcD_prop18 {
always all p: Protected | always p not in Protected implies before p in Trash
}
pred __repair { idMGQajoopaa2fnHhcD_prop18 }
check __repair { idMGQajoopaa2fnHhcD_prop18 <=> prop18o } |
grammars/SeedPython.g4 | aha-001/SeedLang | 0 | 2766 | <reponame>aha-001/SeedLang
/**
* Copyright 2021-2022 The SeedV Lab.
*
* 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 requ... |
E2/E2(3)/E2.a51 | JDong-chen/51singleChipC_Experiment_Code | 0 | 22074 | <reponame>JDong-chen/51singleChipC_Experiment_Code
org 0000H
ajmp main
org 30H
main: mov P3, #00000010B
mov P0, #00000001B
lcall delay
mov P0, #00000010B
lcall delay
mov P0, #00000100B
lcall delay
mov P0, #00001000B
lcall delay
mov P0, #000... |
programs/oeis/131/A131098.asm | karttu/loda | 1 | 95957 | ; A131098: Partial sums of A151798.
; 1,3,7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,83,87,91,95,99,103,107,111,115,119,123,127,131,135,139,143,147,151,155,159,163,167,171,175,179,183,187,191,195,199,203,207,211,215,219,223,227,231,235,239,243,247,251,255,259,263,267,271,275,279,283,287,291,295,299,303,307... |
Resources/All Scripts/Bundled Scripts/Scripts/moti.scpt | bathtub/IRC.app | 2 | 3696 | -- "moti" is a script by Noah "Brisk" Darville-Jennings (http://www.noahdj.ca/).
on irccmd(moti, destinationChannel)
if destinationChannel is equal to "" then
return "/debug Invalid destination channel."
end if
if moti is equal to "fistu" then
return "し(*・∀・)/♡\(・∀・*) BRO FISTU"
else if moti is equal to "ang... |
src/core/asm/x86/inst_0x0ff0.asm | Hiroshi123/bin_tools | 0 | 15112 |
default rel
section .text
global _0x0ff0_lddqu
global _0x0ff1_psllw
global _0x0ff2_pslld
global _0x0ff3_psllq
global _0x0ff4_pmuludq
global _0x0ff5_pmaddwd
global _0x0ff6_psadbw
global _0x0ff7_maskmov
global _0x0ff8_psubb
global _0x0ff9_psubw
global _0x0ffa_psubd
global _0x0ffb_psubq
global _0x0ffc_... |
test/Fail/Issue2369.agda | cruhland/agda | 1,989 | 12958 | -- Andreas, 2016-12-30 test case for #2369
-- {-# OPTIONS --allow-unsolved-metas #-}
-- {-# OPTIONS -v scope.import:20 #-}
module Issue2369 where
import Issue2369.OpenIP
-- Error is:
-- Module cannot be imported since it has open interaction points
-- (consider adding {-# OPTIONS --allow-unsolved-metas #-} to this... |
memsim-master/src/parser-parse_perfect_prefetch.adb | strenkml/EE368 | 0 | 8681 |
with Memory.Perfect_Prefetch;
separate (Parser)
procedure Parse_Perfect_Prefetch(parser : in out Parser_Type;
result : out Memory_Pointer) is
mem : Memory_Pointer := null;
begin
Parse_Memory(parser, mem);
if mem = null then
Raise_Error(parser, "memory not set in... |
programs/oeis/010/A010982.asm | neoneye/loda | 22 | 12782 | <gh_stars>10-100
; A010982: Binomial coefficient C(n,29).
; 1,30,465,4960,40920,278256,1623160,8347680,38608020,163011640,635745396,2311801440,7898654920,25518731280,78378960360,229911617056,646626422970,1749695026860,4568648125690,11541847896480,28277527346376,67327446062800,156077261327400,352870329957600,77925531198... |
programs/oeis/052/A052548.asm | neoneye/loda | 22 | 242484 | <filename>programs/oeis/052/A052548.asm
; A052548: a(n) = 2^n + 2.
; 3,4,6,10,18,34,66,130,258,514,1026,2050,4098,8194,16386,32770,65538,131074,262146,524290,1048578,2097154,4194306,8388610,16777218,33554434,67108866,134217730,268435458,536870914,1073741826,2147483650,4294967298,8589934594,17179869186,34359738370,68719... |
programs/oeis/184/A184654.asm | karttu/loda | 1 | 97664 | ; A184654: floor(n*sqrt(3)-2/3); complement of A184655.
; 1,2,4,6,7,9,11,13,14,16,18,20,21,23,25,27,28,30,32,33,35,37,39,40,42,44,46,47,49,51,53,54,56,58,59,61,63,65,66,68,70,72,73,75,77,79,80,82,84,85,87,89,91,92,94,96,98,99,101,103,104,106,108,110,111,113,115,117,118,120,122,124,125,127,129,130,132,134,136,137,139,14... |
consoles/microvision/src/idata.asm | tcr/paxconsola | 6 | 94425 |
; *******************************************************************************************************************************************************************
;
; Memory Usage
;
; ****************************************************************************************************************... |
oeis/345/A345013.asm | neoneye/loda-programs | 11 | 16606 | <reponame>neoneye/loda-programs
; A345013: Triangle read by rows, related to clusters of type D.
; Submitted by <NAME>
; 1,4,3,15,20,6,56,105,60,10,210,504,420,140,15,792,2310,2520,1260,280,21,3003,10296,13860,9240,3150,504,28,11440,45045,72072,60060,27720,6930,840,36
lpb $0
add $1,1
sub $0,$1
lpe
mov $2,$1
mul $2... |
_build/dispatcher/jmp_ippsGFpECInitStd224r1_b533be36.asm | zyktrcn/ippcp | 1 | 20000 | <reponame>zyktrcn/ippcp
extern m7_ippsGFpECInitStd224r1:function
extern n8_ippsGFpECInitStd224r1:function
extern y8_ippsGFpECInitStd224r1:function
extern e9_ippsGFpECInitStd224r1:function
extern l9_ippsGFpECInitStd224r1:function
extern n0_ippsGFpECInitStd224r1:function
extern k0_ippsGFpECInitStd224r1:function
extern ip... |
programs/oeis/132/A132009.asm | neoneye/loda | 22 | 94187 | <reponame>neoneye/loda
; A132009: a(1) = 1; for n>=2, a(n) = n-th positive integer which is coprime to the largest prime divisor of n.
; 1,3,4,7,6,8,8,15,13,12,12,17,14,16,18,31,18,26,20,24,24,24,24,35,31,28,40,32,30,37,32,63,36,36,40,53,38,40,42,49,42,48,44,48,56,48,48,71,57,62,54,56,54,80,60,65,60,60,60,74,62,64,73,1... |
sqlite/SQLiteModifier.applescript | GitSyncApp/applescripts | 6 | 1474 | property ScriptLoader : load script alias ((path to scripts folder from user domain as text) & "file:ScriptLoader.scpt") --prerequisite for loading .applescript files
property SQLiteParser : my ScriptLoader's load_script(alias ((path to scripts folder from user domain as text) & "sqlite:SQLiteParser.applescript"))
prop... |
TP_modulation_STUDENT_ADS2016_wrk/workspace.ads | Kzel/Antenna_Design | 0 | 25781 | <reponame>Kzel/Antenna_Design
<ADSWorkspace Revision="23" Version="100">
<Workspace Name="">
<Cell Name="TP_modulation_STUDENT_2012_lib:DUC_AMUFAMUFA" />
<Cell Name="TP_modulation_STUDENT_2012_lib:SDC_AMFA" />
<Ael Name="save_project_state.ael" />
<Dataset Name="BlueTooth_AMFA.ds" />... |
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciy_pow_callee.asm | meesokim/z88dk | 0 | 173651 |
; float pow(float x, float y) __z88dk_callee
SECTION code_fp_math48
PUBLIC cm48_sdcciy_pow_callee, l0_cm48_sdcciy_pow_callee
EXTERN am48_pow, cm48_sdcciyp_dcallee2, cm48_sdcciyp_m482d
cm48_sdcciy_pow_callee:
call cm48_sdcciyp_dcallee2
; AC'= y
; AC = x
l0_cm48_sdcciy_pow_callee:
exx
call ... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_17578_354.asm | ljhsiun2/medusa | 9 | 99866 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1d8a0, %rsi
lea addresses_UC_ht+0x19a73, %rdi
nop
nop
nop
nop
nop
add %r15, %r15
mov $54, %rcx
rep movsl
nop
nop
nop
sub %r12, %r12
lea addresses_A_... |
experiment08/INT_CLK_TEST.asm | EmilyClaire/space_invader | 0 | 173353 | .CSEG
.ORG 0x10 ; program starts here
SEI
divide: MOV R1, 0x03;Inputs data from address 0x99
BRN divide
.CSEG
.ORG 0x3FF
ISR: RETID
|
project-two/test/sim1.asm | aryan-gupta/ECGR3183 | 0 | 246755 | <filename>project-two/test/sim1.asm
Set R1, #30.0 --angle of inclined plane
--convert to radians
Set R2, #3.14159265 --pi
Fmul R1, R1, R2
Set R2, #180.0
Fdiv R1, R1, R2
--compute equation
Cos R2, R1
Set R3, #0.4
FMul R2, R2, R3
Sin R1, R1
Fadd R1, R1, R2
Set R2, #100.0 --mass of crate
Fmul R1, R1, R2
Set R2, #9.81 --ac... |
src/fileurl_to_posix.applescript | inureyes/copy-paths-to-clipboard | 86 | 3093 | <gh_stars>10-100
-- set q to "file:///Users/franz/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.79AA6A1F-DEB4-44B0-8ADC-837BAA98B9A9/copyallpaths_main.py, file:///Users/franz/Library/Application Support/"
on run(q)
set theTargets to {}
set oldItemDelimiters to text item deli... |
src/Implicits/Resolution/Undecidable/Resolution.agda | metaborg/ts.agda | 4 | 2492 | <filename>src/Implicits/Resolution/Undecidable/Resolution.agda
{-# OPTIONS --no-positivity-check #-}
open import Prelude
module Implicits.Resolution.Undecidable.Resolution where
open import Data.Fin.Substitution
open import Implicits.Syntax
open import Implicits.Syntax.MetaType
open import Implicits.Substitutions
ope... |
tools/scitools/conf/understand/ada/ada12/i-cpp.ads | brucegua/moocos | 1 | 4132 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.