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 |
|---|---|---|---|---|
libsrc/graphics/msx/surface/surface_pixladdr.asm | andydansby/z88dk-mk2 | 1 | 168843 | ;
; MSX extension for "GFX - a small graphics library" by Jannone
;
XLIB surface_pixeladdress
XREF base_graphics
INCLUDE "graphics/grafix.inc"
;
; $Id: surface_pixladdr.asm,v 1.3 2009/05/21 06:58:11 stefano Exp $
;
; ******************************************************************
;
; Get absolute pixel add... |
src/fsmaker.ads | Fabien-Chouteau/fsmaker | 0 | 7742 | with AAA.Strings;
with Ada.Strings.Unbounded;
with Ada.Containers.Vectors;
package FSmaker is
function Valid_Path_Char (C : Character) return Boolean
is (C in '/' | 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' |
' ' | '-' | '_' | '.');
function Valid_Target_Path (Str : String) return Boolean
is (Str... |
text/joinList.applescript | adriannier/applescript-functions | 7 | 3270 | (*
Joins a list using the specified delimiter
*)
log joinList({1, 2, 3, 4, 5}, ASCII character 10)
log joinList({1, 2, 3, 4, 5}, false)
on joinList(aList, aDelimiter)
if aDelimiter is false then set aDelimiter to ""
set prvDlmt to text item delimiters
set text item delimiters to aDelimiter
set aList to aL... |
Transynther/x86/_processed/AVXALIGN/_ht_/i7-7700_9_0xca_notsx.log_1_42.asm | ljhsiun2/medusa | 9 | 171723 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_ht_/i7-7700_9_0xca_notsx.log_1_42.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xaac6, %rdx
clflush (%rdx)
nop
nop
dec %r9
movw $0x6162, (%rd... |
text/intro.asm | ISSOtm/Aevilia-GB | 53 | 178154 |
SECTION "Intro map text strings", ROMX
set_text_prefix IntroNPC
dname "FRIENDLY NPC"
dline 0, "Hi! It's rare to"
dline 1, "see someone here!"
dline 2, "My name is Jo"
set_text_prefix IntroBoyGirl
dline 0, "BEFORE YOU CAN"
dline 1, "EMBARK ON THIS"
dline 2, "ADVENTURE..."
dline 3, "I MUS... |
src/babel-files-queues.ads | stcarrez/babel | 1 | 22360 | <filename>src/babel-files-queues.ads
-----------------------------------------------------------------------
-- bkp-files -- File and directories
-- Copyright (C) 2014 Stephane.Carrez
-- Written by Stephane.Carrez (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use th... |
demo/agda/FRP/JS/Demo/HRef.agda | agda/agda-frp-js | 63 | 3414 | open import FRP.JS.Behaviour using ( Beh ; [_] )
open import FRP.JS.DOM using ( DOM ; element ; attr ; text ; _++_ )
open import FRP.JS.RSet using ( ⟦_⟧ )
module FRP.JS.Demo.HRef where
main : ∀ {w} → ⟦ Beh (DOM w) ⟧
main = element ("a")
( attr "href" ["http://bell-labs.com/"] ++
text ["A hyperlink."] )
|
internal/lua-internal.ads | jhumphry/aLua | 0 | 12318 | <filename>internal/lua-internal.ads
-- Lua.Internal
-- Contains the raw interfaces with the Lua library written in C
-- Generated from lua.h and then manually tidied up
-- Copyright (c) 2015, <NAME>
-- Derived from the original Lua work
-- Copyright (C) 1994-2015 Lua.org, PUC-Rio.
-- See LICENSE for details
with In... |
oeis/069/A069477.asm | neoneye/loda-programs | 11 | 17621 | ; A069477: a(n) = 60*n^2 + 180*n + 150.
; Submitted by <NAME>
; 390,750,1230,1830,2550,3390,4350,5430,6630,7950,9390,10950,12630,14430,16350,18390,20550,22830,25230,27750,30390,33150,36030,39030,42150,45390,48750,52230,55830,59550,63390,67350,71430,75630,79950,84390,88950,93630,98430,103350,108390,113550,118830,124230,... |
programs/oeis/175/A175605.asm | karttu/loda | 1 | 6959 | ; A175605: a(n) = concatenation of n^3 with itself.
; 11,88,2727,6464,125125,216216,343343,512512,729729,10001000,13311331,17281728,21972197,27442744,33753375,40964096,49134913,58325832,68596859,80008000,92619261,1064810648,1216712167,1382413824,1562515625,1757617576,1968319683,2195221952,2438924389,2700027000,29791297... |
oeis/255/A255919.asm | neoneye/loda-programs | 11 | 102681 | <gh_stars>10-100
; A255919: Gray code of Fibonacci(n).
; Submitted by <NAME>
; 0,1,1,3,2,7,12,11,31,51,44,117,216,157,453,851,566,1315,3860,6271,5979,16291,26552,22537,61360,112537,79657,229603,439754,275695,715580,2019251,3253127,3089427,8160916,13281965,9582952,29937989,58607677,36145651,85311918
mod $0,53
seq $0,45... |
src/_test/harness/apsepp_test_harness.ads | thierr26/ada-apsepp | 0 | 30414 | <gh_stars>0
-- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
private with Apsepp.Test_Reporter_Class.Instant_Standard,
Apsepp_Test_Suite;
package Apsepp_Test_Harness is
procedure Apsepp_Test_Procedure;
private
use Apsepp.Test_Reporter_Class.Instant_Standar... |
ada-numerics-float_random.ads | mgrojo/adalib | 15 | 10714 | -- Standard Ada library specification
-- Copyright (c) 2003-2018 <NAME> <<EMAIL>>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
-- SPDX-License-... |
arch/ARM/Nordic/drivers/nrf_common/nrf-rtc.ads | rocher/Ada_Drivers_Library | 192 | 10014 | <filename>arch/ARM/Nordic/drivers/nrf_common/nrf-rtc.ads
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016-2020, AdaCore --
-- ... |
src/ftable.asm | jasonmel/jasonmel-os | 0 | 12267 | ; label_name
label0 db "System", 0x00, " "
label1 db "User", 0x00, " "
label2 db "BRASS", 0x00, " "
label3 db "", 0x00, " "
label4 db "", 0x00, " "
label5 db "", 0x00, " "
label6 db "", 0x00, " "
label7 db "", 0x00, " "
label8 db "", 0x00, " "
label9 db "", 0x00, " ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr1.ads | best08618/asylo | 7 | 8791 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr1.ads
package discr1 is
type R is (One, Two);
type C_Type (Kind : R) is
record
case Kind is
when One =>
Name : Integer;
when Two =>
Designator : String (1 .. 40);
end case;
end record;
for C_Type use reco... |
english_support_package.adb | ddugovic/words | 4 | 11275 | <gh_stars>1-10
package body ENGLISH_SUPPORT_PACKAGE is
--use EWDS_DIRECT_IO;
use TEXT_IO;
package body EWDS_RECORD_IO is
package INTEGER_IO is new TEXT_IO.INTEGER_IO(INTEGER);
use PART_OF_SPEECH_TYPE_IO;
use FREQUENCY_TYPE_IO;
use TEXT_IO;
use INTEGER_IO;
SPACER : CHARACTER := ' ';... |
programs/oeis/045/A045534.asm | neoneye/loda | 22 | 16765 | ; A045534: Number of squarefree self-avoiding walks in 2 dimensions.
; 1,4,8,16,16,16,16,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mov $3,$0
mul $0,6
sub $0,3
mul $0,2
mov $1,2
lpb $0
mov $2,$3
cmp $2... |
ANTLRTestProjects/freeform/GrammarsAdhoc/grammar/com/foo/MarkdownLexer.g4 | timboudreau/ANTLR4-Plugins-for-NetBeans | 1 | 4187 | lexer grammar MarkdownLexer;
import basics;
@members {
private int indentDepth;
private int lastIndentChange;
private boolean updateIndentDepth() {
int indents = 0;
loop: for(int spaces=0, i=-1;; i--) {
int val = _input.LA(i);
if (val == CharStream.EOF) {
indents = 0;
b... |
text/maps/pewter_house_2.asm | adhi-thirumala/EvoYellow | 16 | 22467 | _PewterHouse2Text1::
text "#MON learn new"
line "techniques as"
cont "they grow!"
para "But, some moves"
line "must be taught by"
cont "the trainer!"
done
_PewterHouse2Text2::
text "#MON become"
line "easier to catch"
cont "when they are"
cont "hurt or asleep!"
para "But, it's not a"
line "sure thing!"
... |
programs/oeis/040/A040302.asm | jmorken/loda | 1 | 18503 | <reponame>jmorken/loda<filename>programs/oeis/040/A040302.asm<gh_stars>1-10
; A040302: Continued fraction for sqrt(320).
; 17,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1,34,1,7,1
mov $3,... |
combat.asm | m4rquee/combat_lm | 0 | 87586 | <filename>combat.asm<gh_stars>0
.386
.model flat, stdcall
option casemap :none
include combat.inc
.data
;Estruturas dos jogadores:
player1 player <MAX_LIFE, 7, <IMG_SIZE, WIN_HT / 2, <0, 0>>>
player2 player <MAX_LIFE, 3, <WIN_WD - IMG_SIZE, WIN_HT / 2, <0, 0>>>
isShooting pair <0, 0> ;Indica se cada ... |
src/posix.adb | persan/midnightsun-ctf-LoveLacedLetter | 0 | 6134 | package body Posix is
procedure Open
(File : in out Posix.File;
File_Name : in C_String;
Flags : in O_FLag;
S_Flags : in S_FLag)
is
begin
File.My_File_Descriptor := Px_Thin.Open (File_Name, Flags, S_Flags);
File.My_Is_Open := File.My_File_Desc... |
oeis/078/A078007.asm | neoneye/loda-programs | 11 | 22490 | <gh_stars>10-100
; A078007: Expansion of (1-x)/(1-x-2*x^2-x^3).
; Submitted by <NAME>
; 1,0,2,3,7,15,32,69,148,318,683,1467,3151,6768,14537,31224,67066,144051,309407,664575,1427440,3065997,6585452,14144886,30381787,65257011,140165471,301061280,646649233,1388937264,2983297010,6407820771,13763352055,29562290607,634968154... |
PJ Grammar/annotations.g4 | Diolor/PJ | 0 | 2996 | <reponame>Diolor/PJ
parser grammar annotations;
annotationTypeDeclaration
: atRule interfaceRule identifierRule annotationTypeBody
;
annotationTypeBody
: '{' (annotationTypeElementDeclaration)* '}'
;
annotationTypeElementDeclaration
: modifier* annotationTypeElementRest
| ';' // thi... |
programs/oeis/039/A039271.asm | neoneye/loda | 22 | 4714 | <reponame>neoneye/loda
; A039271: Numbers whose base-12 representation has the same number of 8's and 11's.
; 0,1,2,3,4,5,6,7,9,10,12,13,14,15,16,17,18,19,21,22,24,25,26,27,28,29,30,31,33,34,36,37,38,39,40,41,42,43,45,46,48,49,50,51,52,53,54,55,57,58,60,61,62,63,64,65,66,67,69,70,72,73,74,75,76,77,78,79,81,82
seq $0,3... |
src/ewok-exti.adb | PThierry/ewok-kernel | 65 | 25819 | <filename>src/ewok-exti.adb
--
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - Arnauld Michelizza
-- - <NAME>
-- - <NAME>
-- - <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtai... |
source/oasis/program-elements-ordinary_fixed_point_types.ads | optikos/oasis | 0 | 5662 | <gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Type_Definitions;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Elements.Real_Range_... |
libsrc/math/daimath32/c/sccz80/acos.asm | ahjelm/z88dk | 640 | 20267 |
SECTION code_fp_dai32
PUBLIC acos
EXTERN ___dai32_setup_single
EXTERN ___dai32_xacos
EXTERN ___dai32_return
acos:
call ___dai32_setup_single
call ___dai32_xacos
jp ___dai32_return
|
oeis/341/A341104.asm | neoneye/loda-programs | 11 | 89180 | <reponame>neoneye/loda-programs
; A341104: a(n) = [x^n] (x - 1)^4/((1 - 2*x)*(x^2 - 3*x + 1)).
; Submitted by <NAME>
; 1,1,4,11,30,81,217,578,1533,4053,10690,28145,74001,194370,510133,1338077,3508194,9194697,24092281,63114914,165317997,432970149,1133854594,2969117921,7774547745,20356622466,53299513957,139550308013,3653... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_21829_1276.asm | ljhsiun2/medusa | 9 | 103451 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xedae, %rdi
nop
nop
cmp %r15, %r15
movl $0x61626364, (%rdi)
inc %rdx
lea addresses_WC_ht+0x1d59e, %rax
add $13085, %rcx
mov $0x6162636465666768, %r9
movq %r9, %xmm4
movups %xmm... |
src/kernel/_start.asm | Nax/Fragments | 2 | 174331 | <gh_stars>1-10
; 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:
;
; 1. Redistributions of source code must retain the above copyright notice, this
; list of conditio... |
tools/generator/meta-run.adb | optikos/oasis | 0 | 21801 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with League.Application;
with League.String_Vectors;
with Meta.Classes;
with Meta.Read;
with Meta.Writes;
procedure Meta.Run is
Class_List : Meta.... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_21829_2533.asm | ljhsiun2/medusa | 9 | 90376 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1ad34, %rax
nop
nop
nop
nop
dec %r15
movl $0x61626364, (%rax)
nop
nop
nop
sub %r11, %r11
lea addresses_WT_ht+0x1b374, %rcx
clflush (%rcx)
sub %r11,... |
test/Compiler/simple/Erased-cubical.agda | KDr2/agda | 1 | 479 | <filename>test/Compiler/simple/Erased-cubical.agda
-- Possible improvements:
-- * Parts of the code are not reachable from main.
-- * The following primitives are not used at all: primPOr, primComp,
-- primHComp, prim^glueU and prim^unglueU.
{-# OPTIONS --erased-cubical --save-metas #-}
-- The code from Agda.Builti... |
nat-division-basic.agda | heades/AUGL | 0 | 5247 | <reponame>heades/AUGL
{- The following code gives the basic idea of division by repeated
subtraction. We have to ask Agda not to check termination of this
function, because it is not structurally terminating. The versions
in nat-division.agda and nat-division-wf.agda correct this problem,
and can be judge... |
source/asis/spec/annex_d/ada-dispatching-edf.ads | faelys/gela-asis | 4 | 20879 | <filename>source/asis/spec/annex_d/ada-dispatching-edf.ads<gh_stars>1-10
------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- ... |
toggle_proxies.scpt | Kaceykaso/AppleScripts | 0 | 1557 | <gh_stars>0
--Declare variables for status messages
global outStr1, outStr2
--Toggle function
on toggle_proxy()
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.network"
end tell
tell application "System Events"
get properties
tell process "System Preferences"
... |
src/asf-components-core-views.ads | Letractively/ada-asf | 0 | 7787 | <filename>src/asf-components-core-views.ads
-----------------------------------------------------------------------
-- components-core-views -- ASF View Components
-- Copyright (C) 2009, 2010, 2011, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... |
tests/src/cobs_tests.ads | damaki/cobs | 1 | 6850 | <reponame>damaki/cobs<filename>tests/src/cobs_tests.ads
-------------------------------------------------------------------------------
-- Copyright (c) 2020 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- copy of this software and associated documentation files (the "Software... |
Transynther/x86/_processed/NC/_st_zr_un_sm_/i7-7700_9_0xca.log_21829_1126.asm | ljhsiun2/medusa | 9 | 4890 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1a231, %r9
nop
nop
nop
nop
nop
sub $36343, %rax
movb (%r9), %r12b
dec %r13
lea addresses_UC_ht+0x100c5, %rsi
lea addresses_WC_ht+0x19c05, %rdi
nop
nop
nop
nop
and %r9, %r9
mo... |
test/hack_programs/KeyboardTest.asm | mbalestrini/hack_soc | 1 | 7323 | // ............................................
// program: OS_0.asm
// ............................................
@256 // bootstrap code
D=A
@SP
M=D
@Sys.init
D=A
@R13
M=D
D=0
@R14
M=D
@Sys.init_RETURN_0 // global call
D=A
(GLOBAL_CALL)
@SP
A=M
M=D
@SP
M=M+1
@LCL
D=M
@SP
A=M
M=D
@SP
M=M+1... |
src/asm/lprt.asm | fourstix/Elfos-print | 0 | 247435 | <filename>src/asm/lprt.asm
; ******************************************************************************
; Lprt - Load the printer driver
;
; Copyright (c) 2021 by <NAME>
;
; ******************************************************************************
; Based on code written by <NAME>
; Original copyright notice:... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1031.asm | ljhsiun2/medusa | 9 | 14529 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1a400, %r9
nop
nop
nop
nop
and %rbx, %rbx
vmovups (%r9), %ymm4
vextracti128 $1, %ymm4, %xmm4
vpextrq $0, %xmm4, %rdx
nop
sub %r12, %r12
lea addresses_WT_ht+0x516, %rsi
lea ad... |
programs/oeis/033/A033312.asm | neoneye/loda | 22 | 13378 | ; A033312: a(n) = n! - 1.
; 0,0,1,5,23,119,719,5039,40319,362879,3628799,39916799,479001599,6227020799,87178291199,1307674367999,20922789887999,355687428095999,6402373705727999,121645100408831999,2432902008176639999,51090942171709439999,1124000727777607679999,25852016738884976639999,620448401733239439359999,15511210043... |
llvm-gcc-4.2-2.9/gcc/ada/g-comver.adb | vidkidz/crossbridge | 1 | 21601 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
xv6-pdx/p5-test.asm | budiwa/CS333 | 0 | 22536 |
_p5-test: file format elf32-i386
Disassembly of section .text:
00000000 <canRun>:
#include "stat.h"
#include "p5-test.h"
static int
canRun(char *name)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 38 sub $0x38,%esp
int rc, uid, ... |
examples/simple_producer.adb | Latence-Technologies/Kafka-Ada | 0 | 16771 | with Ada.Text_IO;
with GNAT.Sockets;
with Interfaces;
with Kafka;
with Kafka.Config;
with Kafka.Topic;
with System;
--
-- Basic Kafka producer
--
procedure Simple_Producer is
Config : Kafka.Config_Type;
Handle : Kafka.Handle_Type;
Topic : Kafka.Topic_Type;
begin
Ada.Text_IO.Put_Line("Kafka version: " ... |
Structure/Operator/SetAlgebra.agda | Lolirofle/stuff-in-agda | 6 | 10999 | <reponame>Lolirofle/stuff-in-agda
open import Type
module Structure.Operator.SetAlgebra {ℓ} (S : Type{ℓ}) where
import Lvl
open import Functional
open import Logic
open import Logic.Propositional
open import Relator.Equals
open import Relator.Equals.Proofs
open import Structure.Operator.Properties
open import St... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-thread__ae653.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 10984 | <reponame>djamal2727/Main-Bearing-Analytical-Model
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
simd/x86_64/jquantf-sse2.asm | t-head-aosp/platform-external-libjpeg-turbo | 3,597 | 93150 | ;
; jquantf.asm - sample data conversion and quantization (64-bit SSE & SSE2)
;
; Copyright 2009 <NAME> <<EMAIL>> for Cendio AB
; Copyright (C) 2009, 2016, <NAME>.
; Copyright (C) 2018, <NAME>.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distr... |
source/tasking/required/s-tasren.adb | ytomino/drake | 33 | 27241 | <gh_stars>10-100
with Ada.Exception_Identification.From_Here;
with Ada.Exceptions.Finally;
with Ada.Unchecked_Conversion;
with System.Address_To_Named_Access_Conversions;
with System.Soft_Links;
with System.Synchronous_Objects.Abortable;
with System.Tasks;
package body System.Tasking.Rendezvous is
use Ada.Exception_... |
src/adacar-sensor_proximidad.ads | Asier98/AdaCar | 0 | 6465 | package AdaCar.Sensor_Proximidad is
function Leer_Entrada_Sensor return Unidades_Distancia;
end AdaCar.Sensor_Proximidad;
|
programs/oeis/300/A300850.asm | karttu/loda | 1 | 161112 | ; A300850: Number of 6-cycles in the n-odd graph.
; 0,0,10,105,840,5775,36036,210210,1166880,6235515,32332300,163601438,811246800,3954828150,19001896200,90162058500,423160594560,1967035576275,9066060164700,41468830753350,188390256054000,850582006083810,3818939619151800,17058982348359900
sub $0,1
cal $0,2738 ; Coeffici... |
scripts/.finder-comment.applescript | looking-for-a-job/mac-finder.py | 7 | 2833 | <gh_stars>1-10
#!/usr/bin/env oascript
on run argv
set _posix_file to POSIX file (item 1 of argv)
if count of argv is 1 then
tell application "Finder"
set _comment to comment of (_posix_file as alias)
if (_comment is not "") then
return _comment
end if
end tell
else
set _com... |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_133_1322.asm | ljhsiun2/medusa | 9 | 89179 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_133_1322.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xcfc, %r8
nop
nop
nop
nop
and %r12, %r... |
10:25/lab5.asm | stevenyu113228/NTUST_asm_homework | 0 | 81454 | <gh_stars>0
.MODEL SMALL
.DATA
array db 12h, 11h, 99h, 28h, 70h, 16h
index1 db 6
count1 db ?
.STACK 100H
.code
MAIN PROC
mov ax,@DATA
mov ds,ax
xor ax,ax
xor bx,bx
xor cx,cx
xor bp,bp
mov cl,index1
LOOP1:
mov count1,cl
mov cl,count1
LOOP2:
xor bx,bx
mov bl,count1
... |
sw/552tests/inst_tests/bltz_0.asm | JPShen-UWM/ThreadKraken | 1 | 164162 | // Original test: ./neel/hw4/problem6/bltz_0.asm
// Author: neel
// Test source code follows
//Tests bltz when register < 0
//branches to inst lbi r2,30
lbi r1,255
bltz r1,2
lbi r2,20
lbi r2,30
halt
|
lab5_7.asm | danialdunson/Microcontrollers | 0 | 87806 | ;******************************************************************************
; File name: lab5_7.asm
; Author: <NAME>
; Last Modified On: 12 Mar 2021
; Purpose: write to the i/o port by writing to a specific range in memory
;******************************************************************************
... |
oeis/189/A189670.asm | neoneye/loda-programs | 11 | 241053 | ; A189670: Positions of 1 in A189668; complement of A189669.
; Submitted by <NAME>
; 2,4,8,10,14,17,20,22,26,28,32,35,38,40,44,47,49,53,56,58,62,64,68,71,74,76,80,82,86,89,92,94,98,101,103,107,110,112,116,118,122,125,128,130,134,137,139,143,145,149,152,155,157,161,164,166,170,172,176,179,182,184,188,190,194,197,200,202... |
base.core/src/main/java/eapli/base/antlr/tarefaAutomatica/ScriptValidacaoTarefasAutomaticas.g4 | joaosorio23/LAPR4 | 0 | 107 | grammar ScriptValidacaoTarefasAutomaticas;
start: 'START' '{' script '}' 'END';
script: chamar_funcao+;
operacao_matematica:
inteiro OPERADOR_COMPARAR inteiro |inteiro;
chamar_funcao: sendEmail | changeNIF | changeTelephoneNumber | xml | verificacaoIf;
xml: 'consultar' cod_produto=INTEIRO ';'#consultar
| 'c... |
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccix_sinh_fastcall.asm | jpoikela/z88dk | 640 | 90451 | <reponame>jpoikela/z88dk
; float sinh(float x) __z88dk_fastcall
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sdccix_sinh_fastcall
EXTERN cm48_sdccixp_dx2m48, am48_sinh, cm48_sdccixp_m482d
cm48_sdccix_sinh_fastcall:
call cm48_sdccixp_dx2m48
call am48_sinh
jp cm48_sdccixp_m482d
|
programs/oeis/142/A142090.asm | neoneye/loda | 22 | 81540 | <reponame>neoneye/loda
; A142090: Primes congruent to 22 mod 35.
; 127,197,337,547,617,757,827,967,1597,1667,1877,2017,2087,2297,2437,2647,2857,2927,3067,3137,3347,3557,3697,3767,3907,4327,4397,4817,4957,5167,5237,5657,5867,6007,6217,6287,6427,6637,6917,7057,7127,7477,7547,7687,7757,8317,8387,8527,8597,8737,8807,9157,9... |
src/cocount.ads | xiashuangxi/coconut | 0 | 21785 | package Cocount is
procedure Main;
end Cocount;
|
buf_hb.asm | tonypdmtr/buffalo | 1 | 27781 | ;*******************************************************************************
;* Language : Motorola/Freescale/NXP 68HC11 Assembly Language (aspisys.com/ASM11)
;*******************************************************************************
; Buffalo for the Handy Board
; Optimized and modified for ASM11 by <NAME> ... |
oeis/076/A076973.asm | neoneye/loda-programs | 11 | 241270 | <gh_stars>10-100
; A076973: Starting with 2, largest prime divisor of the sum of all previous terms.
; Submitted by <NAME>(s1)
; 2,2,2,3,3,3,5,5,5,5,7,7,7,7,7,7,11,11,11,11,11,11,13,13,13,13,13,13,17,17,17,17,17,17,19,19,19,19,19,19,23,23,23,23,23,23,23,23,23,23,29,29,29,29,29,29,29,29,31,31,31,31,31,31,31,31,37,37,37,... |
src/gen-artifacts-distribs-merges.adb | My-Colaborations/dynamo | 0 | 11472 | -----------------------------------------------------------------------
-- gen-artifacts-distribs-merges -- Web file merge
-- Copyright (C) 2020 <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 Lic... |
source/asis/asis-iterator.adb | faelys/gela-asis | 4 | 7503 | <filename>source/asis/asis-iterator.adb
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada... |
u7-common/patch-eop-openableItemForKey.asm | JohnGlassmyer/UltimaHacks | 68 | 170988 | ; Selects an item (party member, backpack of party member, or spellbook)
; corresponding to the specified key-code.
;
; Initially inspired by the ability in Ultima VI to select a party member,
; in multiple contexts, by pressing a number key.
[bits 16]
startPatch EXE_LENGTH, eop-openableItemForKey
%assign Key... |
non_regression/zero_x86_linux.o.asm | LRGH/plasmasm | 1 | 170200 | .file "b3.c"
.data
.globl A
.type A, @object
A:
.byte 2
.size A, 1
# ----------------------
.bss
.globl B
.type B, @object
B:
.zero 1
.size B, 1
# ----------------------
.data
.LD00000001:
.byte 0
# ----------------------
.align 2
.globl C
.type C, @object
C:
.value 3
.size C, 2
# --------------------... |
src/main/antlr4/io/github/mbarkley/rollens/antlr/CommandLexer.g4 | mbarkley/modus-rollens | 0 | 2529 | lexer grammar CommandLexer;
WHITESPACE : [ \t\r\n]+ -> channel(HIDDEN);
NUMBER : [0-9]+;
// Dice modifiers
TNUM : 't' VALUE;
FNUM : 'f' VALUE;
ENUM : 'e' VALUE;
IENUM : 'ie' VALUE;
KNUM : 'k' VALUE;
KLNUM : 'kl' VALUE;
DNUM : 'd' VALUE;
RNUM : 'r' VALUE;
IRNUM : 'ir' VALUE;
// Arithmetic symbols
TIMES : '*'... |
util/Macro.asm | sidebog7/ZXWargame | 1 | 4631 | <reponame>sidebog7/ZXWargame
;-------------------------------------------------------------------
;Usage: ADD_A_TO_HL Response: HL=HL+A
MACRO ADD_A_TO_HL
add a,l
ld l,a
jr nc, $+3
inc h
ENDM
|
source/asis/spec/ada-calendar.ads | faelys/gela-asis | 4 | 24713 | <filename>source/asis/spec/ada-calendar.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 --
-- http://gela... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_321_220.asm | ljhsiun2/medusa | 9 | 178472 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1027c, %rsi
lea addresses_normal_ht+0x217c, %rdi
nop
nop
nop
nop
nop
sub %r13, %r13
mov $42, %rcx
rep movsl
cmp %r15, %r15
lea addresses_A_ht+0xcbd3... |
3-mid/opengl/source/lean/geometry/colored_textured/opengl-program-colored_textured.ads | charlie5/lace | 20 | 13200 | <reponame>charlie5/lace<filename>3-mid/opengl/source/lean/geometry/colored_textured/opengl-program-colored_textured.ads
package openGL.Program.colored_textured
--
-- Provides a program for colored, textured GL vertices.
--
is
type Item is new openGL.Program.item with null record;
type View is access all Item'Cl... |
oeis/158/A158729.asm | neoneye/loda-programs | 11 | 98289 | <gh_stars>10-100
; A158729: a(n) = 1156*n^2 - 34.
; Submitted by <NAME>
; 1122,4590,10370,18462,28866,41582,56610,73950,93602,115566,139842,166430,195330,226542,260066,295902,334050,374510,417282,462366,509762,559470,611490,665822,722466,781422,842690,906270,972162,1040366,1110882,1183710,1258850,1336302,1416066,149814... |
programs/oeis/312/A312927.asm | karttu/loda | 0 | 20798 | ; A312927: Coordination sequence Gal.6.149.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,4,9,13,18,22,26,30,35,39,44,48,52,57,61,66,70,74,78,83,87,92,96,100,105,109,114,118,122,126,131,135,140,144,148,153,157,162,166,170,174,17... |
test/ctestc/src/ctestc_types.ads | ficorax/PortAudioAda | 2 | 14676 | <filename>test/ctestc/src/ctestc_types.ads
with Ada.Numerics;
with PortAudioAda; use PortAudioAda;
package Ctestc_Types is
Pi : constant := Ada.Numerics.Pi;
Two_Pi : constant := Pi * 2.0;
Default_Buffer_Size : constant := 32;
type Float_Array
is array (Natural range <>... |
programs/oeis/133/A133479.asm | neoneye/loda | 22 | 29161 | <reponame>neoneye/loda
; A133479: a(n) = a(n-1) + 8*a(n-2) for n >= 2, a(0)=1, a(1)=2.
; 1,2,10,26,106,314,1162,3674,12970,42362,146122,485018,1653994,5534138,18766090,63039194,213167914,717481466,2422824778,8162676506,27545274730,92846686778,313208884618,1055982378842,3561653455786
mov $1,1
mov $2,$0
mov $3,$0
sub $3... |
U9200/CardFiles/Source/reader_test.asm | sboydlns/univacemulators | 2 | 3892 | <filename>U9200/CardFiles/Source/reader_test.asm
***********************************************************
*
* Card reader tester
*
***********************************************************
CRTS START 0
USING *,0
EXTRN READ Reader I/O entry ... |
programs/oeis/090/A090585.asm | karttu/loda | 1 | 10037 | <gh_stars>1-10
; A090585: Numerator of (Sum_{k=1..n} k) / (Product_{k=1..n} k).
; 1,3,1,5,1,7,1,1,1,11,1,13,1,1,1,17,1,19,1,1,1,23,1,1,1,1,1,29,1,31,1,1,1,1,1,37,1,1,1,41,1,43,1,1,1,47,1,1,1,1,1,53,1,1,1,1,1,59,1,61,1,1,1,1,1,67,1,1,1,71,1,73,1,1,1,1,1,79,1,1,1,83,1
mov $2,1
add $2,$0
mov $0,$2
mov $1,$2
cal $0,10051 ... |
oeis/185/A185780.asm | neoneye/loda-programs | 11 | 13995 | <gh_stars>10-100
; A185780: Array T(n,k) = k*(n*k-n+1), by antidiagonals.
; Submitted by <NAME>
; 1,4,1,9,6,1,16,15,8,1,25,28,21,10,1,36,45,40,27,12,1,49,66,65,52,33,14,1,64,91,96,85,64,39,16,1,81,120,133,126,105,76,45,18,1,100,153,176,175,156,125,88,51,20,1,121,190,225,232,217,186,145,100,57,22,1,144,231,280,297,288,2... |
src/Util/Lemmas.agda | LaudateCorpus1/bft-consensus-agda | 0 | 6777 | <gh_stars>0
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import Level using (0ℓ)
open import Util.Prelude
-- T... |
CSC 323/Assignments/Assignment 2/G6P2.asm | Anthony91501/uwp-2022-spring | 4 | 23888 | <gh_stars>1-10
TITLE RPN Stack Calculator (G6P2.asm) ; OF DOOM(ED GRADES)
; CSC 323 - Group 6 - Assignment 2: RPN Stack Calculator
; Author: <NAME>, <EMAIL>
; Author: <NAME>, <EMAIL>
; Author: <NAME>, <EMAIL>
; Author: <NAME>, <EMAIL>
; This program simulates an RPN calculator using a stack with limited
; size of ... |
src/ada/src/services/arv/automation_request_validator.ads | VVCAS-Sean/OpenUxAS | 88 | 3974 | <filename>src/ada/src/services/arv/automation_request_validator.ads
with Ada.Containers.Formal_Doubly_Linked_Lists;
with Ada.Containers.Formal_Hashed_Maps;
with Ada.Containers.Functional_Maps;
with Ada.Containers; use all type Ada.Containers.Count_Type;
with Ada.Strings.Unbounded; ... |
programs/oeis/087/A087088.asm | karttu/loda | 0 | 13643 | ; A087088: Positive ruler-type fractal sequence with 1's in every third position.
; 1,2,3,1,4,2,1,5,3,1,2,6,1,4,2,1,3,7,1,2,5,1,3,2,1,4,8,1,2,3,1,6,2,1,4,3,1,2,5,1,9,2,1,3,4,1,2,7,1,3,2,1,5,4,1,2,3,1,6,2,1,10,3,1,2,4,1,5,2,1,3,8,1,2,4,1,3,2,1,6,5,1,2,3,1,4,2,1,7,3,1,2,11,1,4,2,1,3,5,1,2,6,1,3,2,1,4,9,1,2,3,1,5,2,1,4,3,... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-busorg.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 5775 | <reponame>djamal2727/Main-Bearing-Analytical-Model
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
Quack.asm | L1FE0FJ4Y/tiny_vm | 0 | 26332 |
.class $Main:Obj
.method bad_init
.local n_reps,rep
const 0
store rep
const 3
store n_reps
cond_4:
load n_reps
load rep
call Obj:less
jump_if loop_5
jump endloop_6
loop_5:
jump cond_4
endloop_6:
const nothing
return 0
.method $constructor
const nothing
return 0 |
tests/vice-tests/VIC20/split-tests/lightpen/lightpen.asm | PhylumChordata/chips-test | 330 | 3408 | ;**************************************************************************
;*
;* FILE lightpen.asm
;* Copyright (c) 2010 <NAME> <<EMAIL>>
;* Written by <NAME> <<EMAIL>>
;*
;* DESCRIPTION
;*
;******
processor 6502
TEST_NAME eqm "LIGHTPEN"
ifconst HARD_NTSC
TEST_REVISION eqm "R01N"
else
TEST_REVISION eqm "R01"
en... |
src/test/ref/struct-2.asm | jbrandwood/kickc | 2 | 242040 | // Minimal struct - two instances being copied (using assignment)
// Commodore 64 PRG executable file
.file [name="struct-2.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segme... |
libtool/src/gmp-6.1.2/mpn/sparc64/sec_tabselect.asm | kroggen/aergo | 1,602 | 89462 | dnl SPARC v9 mpn_sec_tabselect.
dnl Contributed to the GNU project by <NAME> and <NAME>.
dnl Copyright 2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl ... |
src/aof-core-generic_signals.ads | glencornell/ada-object-framework | 0 | 15741 | <gh_stars>0
-- Copyright (C) 2020 <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 option) any later version.
--
-- ... |
tools/scitools/conf/understand/ada/ada05/g-memdum.ads | brucegua/moocos | 1 | 12798 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_1_335.asm | ljhsiun2/medusa | 9 | 11092 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x166d, %r11
nop
xor %r15, %r15
mov (%r11), %rbp
nop
nop
xor %r8, %r8
lea addresses_UC_ht+0x3a6d, %rbp
nop
inc %rcx
mov $0x6162636465666768, %rsi
movq %rsi, %xmm4
vmovups %ymm4,... |
src/org/jabc/parser/grammar/AbcNotationLexer.g4 | EverydaySpice/jabc | 4 | 4913 | lexer grammar AbcNotationLexer;
// standard data types:
INT: [0-9]+;
NEWLINE: '\r' ? '\n';
WS: ('\t' | ' ')+;
// skip all tokens that are not \r or \n (New lines)
COMMENT: '%' ~[\r\n]* {System.out.println("lc > " + getText());} NEWLINE->skip;
// data storage symbols in the header.
// if the is a string following the ... |
base/mvdm/wow16/win87em/emdoc.asm | npocmaka/Windows-Server-2003 | 17 | 92277 |
;
;
; Copyright (C) Microsoft Corporation, 1986
;
; This Module contains Proprietary Information of Microsoft
; Corporation and should be treated as Confidential.
;
subttl emdoc.asm - Documentation
page
;--------------------------------------------------------------------
;
; WARNING - This may not be accu... |
middleware/src/utils/logging_with_priority.adb | rocher/Ada_Drivers_Library | 192 | 14379 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, AdaCore --
-- --
-- ... |
pregenerated/tmp/x86-mont-win32n.asm | solid-rs/ring | 9 | 5281 | <reponame>solid-rs/ring
; This file is generated from a similarly-named Perl script in the BoringSSL
; source tree. Do not edit by hand.
%ifdef BORINGSSL_PREFIX
%include "boringssl_prefix_symbols_nasm.inc"
%endif
%ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
$@fea... |
src/Categories/Diagram/Colimit.agda | MirceaS/agda-categories | 0 | 14758 | <filename>src/Categories/Diagram/Colimit.agda
{-# OPTIONS --without-K --safe #-}
open import Categories.Category
open import Categories.Functor hiding (id)
-- Coimit of a Cocone over a Functor F : J → C
module Categories.Diagram.Colimit
{o ℓ e} {o′ ℓ′ e′} {C : Category o ℓ e} {J : Category o′ ℓ′ e′} (F : Functor J ... |
testcode/haha_yes.asm | tanishq-dubey/lc3processor | 0 | 162975 | ORIGIN 4x0000
ADD R1, R1, 3
BRp TAKEN
NOT R6, R6
NOT R7, R7
NOT R5, R5
NOT R4, R4
NOT R3, R3
NOT R2, R2
TAKEN:
ADD R4, R4, 1
ADD R3, R3, 1
BRnzp TAKEN
NOT R1, R1
NOT R2, R2
SEGMENT CodeSegment:
ONE: DATA2 4x0001
TWO: DATA2 4x0002
NEGTWO: DATA2 4xFFFE
TEMP1: DATA2 4x0001
GOOD: DATA2 4x600D
BADD: DATA2 4xBA... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.