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 |
|---|---|---|---|---|
src/bootloader/stage2/x86.asm | chibicitiberiu/nanobyte_os | 74 | 86844 | %macro x86_EnterRealMode 0
[bits 32]
jmp word 18h:.pmode16 ; 1 - jump to 16-bit protected mode segment
.pmode16:
[bits 16]
; 2 - disable protected mode bit in cr0
mov eax, cr0
and al, ~1
mov cr0, eax
; 3 - jump to real mode
jmp word 00h:.rmode
.rmode:
; 4 - setup segme... |
src/test/resources/misc/xml/Script.g4 | satokazuma/antlryaml | 0 | 5224 | grammar Script;
script : (stmt ';' | ';')* EOF;
stmt: mkp | mkc | rm | set;
mkp: 'mkp' elems (before)?;
mkc: 'mkc' expr (',' expr)* (before)? in;
rm: 'rm' elems (in)?;
set: 'set' assign (',' assign)* in;
elems: ELEM (',' ELEM)*;
before: 'before' ELEM;
in: 'in' ELEM;
expr: ELEM | assign;
assign: ELEM '=' VAL;... |
src/sprite_minotauro_sup.asm | fjpena/sword-of-ianna-msx2 | 43 | 247423 | <filename>src/sprite_minotauro_sup.asm
idle:
DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
DB 0,... |
alloy4fun_models/trashltl/models/15/JW22X9yEG6Rk5JMHQ.als | Kaixi26/org.alloytools.alloy | 0 | 2328 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idJW22X9yEG6Rk5JMHQ_prop16 {
all f:File | once f in Protected implies always f in Protected
}
pred __repair { idJW22X9yEG6Rk5JMHQ_prop16 }
check __repair { idJW22X9yEG6Rk5JMHQ_prop16 <=> prop16o } |
data/pokemon/base_stats/spheal.asm | AtmaBuster/pokeplat-gen2 | 6 | 20660 | db 0 ; species ID placeholder
db 70, 40, 50, 25, 55, 50
; hp atk def spd sat sdf
db ICE, WATER ; type
db 255 ; catch rate
db 75 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/spheal/front.dimensions"
db GROWTH_MEDIUM_SLOW ; ... |
src/Univalence-axiom.agda | nad/equality | 3 | 12148 | <reponame>nad/equality
------------------------------------------------------------------------
-- The univalence axiom
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
-- Partly based on Voevodsky's work on so-called univalent
-- foundations.
open import Eq... |
number/NumberParser.applescript | GitSyncApp/applescripts | 6 | 521 | <reponame>GitSyncApp/applescripts<filename>number/NumberParser.applescript<gh_stars>1-10
(*
* Returns a random int between fromNum and toNum
* Note: if any of the arguments are Text then cast it to Number first ("7" as Number)
*)
on random_number(from_number, to_number)
return random number from from_number to to_n... |
oeis/162/A162910.asm | neoneye/loda-programs | 11 | 11012 | <reponame>neoneye/loda-programs<filename>oeis/162/A162910.asm
; A162910: Denominators of Bird tree fractions.
; Submitted by <NAME>
; 1,2,1,3,3,1,2,5,4,4,5,2,1,3,3,8,7,5,7,7,5,7,8,3,3,1,2,5,4,4,5,13,11,9,12,9,6,10,11,11,10,6,9,12,9,11,13,5,4,4,5,2,1,3,3,8,7,5,7,7,5,7,8,21,18,14,19,16,11,17,19,14,13,7,11,17,13,15,18,18,... |
ADL/devices/stm32-rcc.ads | JCGobbi/Nucleo-STM32H743ZI | 0 | 6798 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- ... |
alloy4fun_models/trashltl/models/9/GXLBoeifY6SWBKKZE.als | Kaixi26/org.alloytools.alloy | 0 | 4116 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idGXLBoeifY6SWBKKZE_prop10 {
always (no Protected & Trash)
}
pred __repair { idGXLBoeifY6SWBKKZE_prop10 }
check __repair { idGXLBoeifY6SWBKKZE_prop10 <=> prop10o } |
examples/utils/sdl/sdl_sdl_cpuinfo_h.ads | Fabien-Chouteau/GESTE | 13 | 20765 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with SDL_SDL_stdinc_h;
package SDL_SDL_cpuinfo_h is
function SDL_HasRDTSC return SDL_SDL_stdinc_h.SDL_bool; -- ../include/SDL/SDL_cpuinfo.h:40
pragma Import (C, SDL_HasRDTSC, "SDL_HasRDTSC");
function SDL_HasMMX re... |
src/apsepp-test_reporter_class.ads | thierr26/ada-apsepp | 0 | 16971 | -- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Tags; use Ada.Tags;
limited with Apsepp.Test_Node_Class;
package Apsepp.Test_Reporter_Class is
type Test_Reporter_Interfa is limited interface;
type Test_Reporter_Ac... |
awa/src/awa-permissions.adb | My-Colaborations/ada-awa | 81 | 11613 | <reponame>My-Colaborations/ada-awa
-----------------------------------------------------------------------
-- awa-permissions -- Permissions module
-- Copyright (C) 2011, 2012, 2013, 2014, 2016, 2017, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
--... |
nv_sprite_raw_macs.asm | nealvis/nv_c64_util | 0 | 4724 | <gh_stars>0
//////////////////////////////////////////////////////////////////////////////
// nv_sprite_raw_macs.asm
// Copyright(c) 2021 <NAME>.
// License: MIT. See LICENSE file in root directory.
//////////////////////////////////////////////////////////////////////////////
// contains macros for sprites at the HW ... |
programs/oeis/162/A162562.asm | karttu/loda | 0 | 80797 | ; A162562: a(n) = ((5+sqrt(3))*(1+sqrt(3))^n + (5-sqrt(3))*(1-sqrt(3))^n)/2.
; 5,8,26,68,188,512,1400,3824,10448,28544,77984,213056,582080,1590272,4344704,11869952,32429312,88598528,242055680,661308416,1806728192,4936073216,13485602816,36843352064,100657909760,275002523648,751320866816,2052646780928,5607935295488,15321... |
_build/dispatcher/jmp_ippsGFpECAddPoint_e25c9d5a.asm | zyktrcn/ippcp | 1 | 18932 | <reponame>zyktrcn/ippcp
extern m7_ippsGFpECAddPoint:function
extern n8_ippsGFpECAddPoint:function
extern y8_ippsGFpECAddPoint:function
extern e9_ippsGFpECAddPoint:function
extern l9_ippsGFpECAddPoint:function
extern n0_ippsGFpECAddPoint:function
extern k0_ippsGFpECAddPoint:function
extern ippcpJumpIndexForMergedLibs
ex... |
sym.asm | Metadorius/ProjectPhobos | 2 | 22015 | %include "macros/setsym.inc"
; Memory
setcglob 0x007C8E17, new
setcglob 0x007CA090, memcpy
setcglob 0x007CA090, _memcpy
setcglob 0x00, memset
setcglob 0x00, _controlfp
; House
setcglob 0x00A8022C, HouseClassArray
;setcglob 0x00, HouseClassArray_Vector
setcglob 0x00A80238, HouseClassArray_Count
setcglob 0x00A83C9C, Ho... |
b2stest/spark_io.ads | lkujaw/ada-blake2 | 1 | 869 | -----------------------------------------------------------------------
-- Copyright 2012 Altran Praxis Limited --
-- Copyright 2021 <NAME> --
-- --
-- This file is part ... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_21829_2242.asm | ljhsiun2/medusa | 9 | 179083 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x4c9c, %rsi
lea addresses_WC_ht+0x6f38, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
xor %r9, %r9
mov $34, %rcx
rep movsl
nop
nop
nop
nop
nop
inc %rdx
lea addresses_UC_ht+0x9a8... |
programs/oeis/024/A024811.asm | neoneye/loda | 22 | 171158 | <reponame>neoneye/loda<gh_stars>10-100
; A024811: a(n) = floor(tan(m*Pi/2)), where m = 1 - 1/n.
; 0,1,1,2,3,3,4,5,5,6,6,7,8,8,9,10,10,11,12,12,13,13,14,15,15,16,17,17,18,19,19,20,20,21,22,22,23,24,24,25,26,26,27,27,28,29,29,30,31,31,32,33,33,34,35,35,36,36,37,38,38,39,40,40,41,42,42,43,43,44,45,45,46,47,47,48,49,49,50,... |
libsrc/target/zx81/zx81/chroma81/zx_pxy2aaddr.asm | ahjelm/z88dk | 640 | 25098 | ; uchar *zx_pxy2aaddr(uchar xcoord, uchar ycoord)
; CALLER linkage for function pointers
SECTION code_clib
PUBLIC zx_pxy2aaddr
PUBLIC _zx_pxy2aaddr
EXTERN asm_zx_pxy2aaddr
.zx_pxy2aaddr
._zx_pxy2aaddr
pop af
pop de
pop hl
push hl
push de
push af
ld h,e
jp asm_zx_pxy2aaddr
|
programs/oeis/120/A120743.asm | neoneye/loda | 22 | 243609 | <reponame>neoneye/loda<gh_stars>10-100
; A120743: a(n) = (1/2)*(1 + 3*i)^n + (1/2)*(1 - 3*i)^n where i = sqrt(-1).
; 1,-8,-26,28,316,352,-2456,-8432,7696,99712,122464,-752192,-2729024,2063872,31417984,42197248,-229785344,-881543168,534767104,9884965888,14422260736,-70005137408,-284232882176,131585609728,3105500041216,4... |
vp8/common/arm/armv6/recon_v6.asm | mrchapp/libvpx | 1 | 24157 | <reponame>mrchapp/libvpx
;
; Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS.... |
oeis/089/A089290.asm | neoneye/loda-programs | 11 | 169523 | ; A089290: Digital root of floor(Pi*10^n), Pi=3.14....
; Submitted by <NAME>(s2)
; 3,4,8,9,5,5,7,4,9,3,8,7,7,5,5,8,1,4,3,7,4,6,3,7,1,4,3,6,8,6,6,2,2,4,3,2,6,7,7,5,6,3,3,6,6,6,9,7,3,4,4,9,8,1,1,1,8,3,3,7,2,7,7,9,3,3,1,9,1,7,2,2,8,1,9,6,8,8,7,7,7,6,3,5,4,4,7,2,1,3,8,2,6,8,9,1,8,8,5,3
add $0,1
seq $0,59582 ; First differ... |
macros/wram.asm | manuelmartinezbosch/testing-gb | 0 | 12924 | sprite_oam_struct: MACRO
\1YCoord:: db
\1XCoord:: db
\1TileID:: db
\1Attributes:: db
ENDM
|
Module 1/3. FunWithStack/FunWithStack.asm | hoangcuongflp/SLAE | 47 | 169514 | ; FunWithStack.asm
; By Abatchy
;
; nasm -felf32 FunWithStack.asm && ld -o FunWithStack FunWithStack.o && gdb ./FunWithStack
; ---------------------------------------------------------------------------------------
global _start
section .text
_start:
mov eax, 0xb00b1e5 ; (。 ㅅ 。)
push ax ; (esp... |
src/lv-objx-switch.ads | Fabien-Chouteau/ada-lvlg | 3 | 25640 | with Lv.Style;
package Lv.Objx.Switch is
subtype Instance is Obj_T;
type Style_T is (Style_Bg,
Style_Indic,
Style_Knob_Off,
Style_Knob_On);
-- Create a switch objects
-- @param par pointer to an object, it will be the parent of the new switch... |
src/bitmap-memory_mapped.ads | ellamosi/Ada_BMP_Library | 0 | 20598 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- --
-- ... |
programs/oeis/254/A254729.asm | karttu/loda | 0 | 767 | <filename>programs/oeis/254/A254729.asm
; A254729: Number of numbers j + k*sqrt(2) of length n, where the length is the least number of steps to reach 0, the allowable steps being x -> x + 1 and x -> x*sqrt(2).
; 1,1,2,3,4,7,11,18,29,47,76,123,199,322,521,843,1364,2207,3571,5778,9349,15127,24476,39603,64079,103682,1677... |
alloy4fun_models/trashltl/models/1/LMK4aYjJtpM3hG8F5.als | Kaixi26/org.alloytools.alloy | 0 | 4797 | open main
pred idLMK4aYjJtpM3hG8F5_prop2 {
no File until some File
}
pred __repair { idLMK4aYjJtpM3hG8F5_prop2 }
check __repair { idLMK4aYjJtpM3hG8F5_prop2 <=> prop2o } |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c49022b.ada | best08618/asylo | 7 | 11984 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c49022b.ada
-- C49022B.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
-- unlimi... |
libsrc/target/nc100/txtinverseon.asm | jpoikela/z88dk | 640 | 174110 | <gh_stars>100-1000
SECTION code_clib
PUBLIC txtinverseon
PUBLIC _txtinverseon
.txtinverseon
._txtinverseon
jp 0xB848
|
1A/S5/PIM/projet/src/registre.adb | MOUDDENEHamza/ENSEEIHT | 4 | 26991 | <filename>1A/S5/PIM/projet/src/registre.adb<gh_stars>1-10
with Ada.Unchecked_Deallocation;
with Ada.Text_IO; use Ada.Text_IO;
with Calendar; use Calendar;
package body registre is
----------------------------------Constuctor--------------------------------
function Initialiser_Donnee (Nom : in Unbounded_S... |
acme/neo-layout.asm | silizium/c64_asm | 10 | 26847 | <gh_stars>1-10
;NEO-Layout für C64
;(C) 2005 <NAME> (<EMAIL>)
;unter GPL
;Alpha-Release 0.1
!to "neo-layout.prg"
!source <C64/BASIC2.a>
*=$0801
dest =$c000
ptr1 =$f7
ptr2 =$f9
zp_pkeydec =$028f
zp_keymap =$f5
k_keydec =$eb48
k_keytablen =$41
k_keytab1 =$eb81
k_keytab2 =$ebc2
k_keytab3 =$ec03
k_keytab4 =$ec78... |
tests/simple_site.adb | faelys/natools-web | 1 | 13652 | <gh_stars>1-10
------------------------------------------------------------------------------
-- Copyright (c) 2014-2017, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any ... |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_5582_1306.asm | ljhsiun2/medusa | 9 | 169615 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x12341, %rsi
lea addresses_UC_ht+0x7501, %rdi
nop
nop
nop
nop
cmp %r8, %r8
mov $75, %rcx
rep movsl
nop
nop
nop
nop
xor $29915, %rbp
lea addresses_D_ht+0x126e1, %rsi
lea address... |
programs/oeis/137/A137932.asm | neoneye/loda | 22 | 163928 | <filename>programs/oeis/137/A137932.asm<gh_stars>10-100
; A137932: Terms in an n X n spiral that do not lie on its principal diagonals.
; 0,0,0,4,8,16,24,36,48,64,80,100,120,144,168,196,224,256,288,324,360,400,440,484,528,576,624,676,728,784,840,900,960,1024,1088,1156,1224,1296,1368,1444,1520,1600,1680,1764,1848,1936,2... |
text/maps/pokemon_tower_7f.asm | etdv-thevoid/pokemon-rgb-enhanced | 9 | 9094 | _TowerRescueFujiText::
text "MR.FUJI: Heh? You"
line "came to save me?"
para "Thank you. But, I"
line "came here of my"
cont "own free will."
para "I came to calm"
line "the soul of"
cont "CUBONE's mother."
para "I think MAROWAK's"
line "spirit has gone"
cont "to the afterlife."
para "I must thank you"
... |
Assembler/lib/string.asm | Rohansi/LoonyVM | 1 | 98668 |
; void memset(void* ptr, byte value, int num)
memset:
push bp
mov bp, sp
push r1
push r2
push r3
mov r1, [bp + 8] ; ptr
mov r2, byte [bp + 12] ; value
mov r3, [bp + 16] ; num
@@:
cmp r3, r3
jz .return
dec r3
mov byte [r1], r2
inc r1
jmp @b
.return:
... |
release/src/router/gmp/source/mpn/x86/mod_1.asm | zhoutao0712/rtn11pb1 | 12 | 436 | dnl x86 mpn_mod_1 -- mpn by limb remainder.
dnl Copyright 1999, 2000, 2001, 2002, 2003, 2007 Free Software Foundation,
dnl Inc.
dnl
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
dnl modify it under the terms of the GNU Lesser General Publ... |
src/number/hamming-weight.asm | brgmnn/uob-cpu-simulator | 0 | 174573 | <filename>src/number/hamming-weight.asm
# calculates the hamming weight of an array of integers
# final result is in r0 and should be: 545
# always take
# IPC: 0.640124681213 ins/cycle (4518 instructions total; 7058 cycles total)
# Branch misprediction: 3.6315323295%
# dynamic local
# IPC: 0.619583104772 ins/cycle (... |
libsrc/_DEVELOPMENT/l/sccz80/8-gbz80/l_cm_de.asm | ahjelm/z88dk | 640 | 102447 |
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_cm_de
.l_cm_de
bit 7,d
ret z
ld a,d
cpl
ld d,a
ld a,e
cpl
ld e,a
inc de
ret
|
src/ScopesFrames/ScopesFrames.agda | metaborg/mj.agda | 10 | 17249 | open import Data.Nat
open import Data.Fin
open import Data.List
open import Data.List.Membership.Propositional
open import Data.List.Relation.Unary.All as All
open import Data.List.All.Properties.Extra
open import Data.Vec hiding (_∷ʳ_ ; _>>=_ ; init)
open import Data.Product
open import Relation.Binary.PropositionalEq... |
echo.asm | AlonYeroushalmi/Assignment_1 | 0 | 175930 |
_echo: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.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 ... |
modules/CaptureOneAppleScript/src/main/resources/it/tidalwave/bluemarine2/captureone/impl/applescript/Test.scpt | fabriziogiudici/bluemarine2-src | 3 | 4703 | <filename>modules/CaptureOneAppleScript/src/main/resources/it/tidalwave/bluemarine2/captureone/impl/applescript/Test.scpt
return "foobar"
|
dos_games/Ultimate Pong/gpfshower/gpfshower.asm | QAston/fasm-2006 | 0 | 10201 | <reponame>QAston/fasm-2006
format mz
;program do wyswietlania plikow gpf z rozjasnieniem i wyciemnieniem
;wersja kozystajaca z instrukcji movsd
heap 01000h
stack 500h
include 'loader.inc'
;fs= 0-based segment ;ds=es-data segnt cs=code segment gs=wolny
segment _code use32
code32:
alloc_dos:
mov [AErrorMsg],TMemor... |
Transynther/x86/_processed/US/_zr_/i3-7100_9_0xca_notsx.log_279_1616.asm | ljhsiun2/medusa | 9 | 18224 | <filename>Transynther/x86/_processed/US/_zr_/i3-7100_9_0xca_notsx.log_279_1616.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r14
push %r9
push %rax
push %rcx
push %rdi
// Store
lea addresses_RW+0x1a9d5, %rax
nop
nop
cmp %r9, %r9
mov $0x51525354... |
kernel/queue.asm | TheMachine02/Sorcery | 14 | 166299 | define QUEUE_DATA $00
define QUEUE_NEXT $01
define QUEUE_PREVIOUS $04
; queue data ;
define QUEUE_SIZE $04
define QUEUE_COUNT $00 ; marked as $FF = 0, you need to +1 if you want *physical* count
define QUEUE_CURRENT $01 ; pointer 24 bits
kqueue:
; all register are preserved
.insert_head:
; iy is node to inse... |
programs/oeis/131/A131269.asm | karttu/loda | 0 | 168970 | ; A131269: a(n) = 3*a(n-1) - 2*a(n-2) - a(n-3) + a(n-4) with n>3, a(0)=1, a(1)=2, a(2)=3, a(3)=6.
; 1,2,3,6,11,20,35,60,101,168,277,454,741,1206,1959,3178,5151,8344,13511,21872,35401,57292,92713,150026,242761,392810,635595,1028430,1664051,2692508,4356587,7049124,11405741,18454896,29860669,48315598,78176301,126491934,20... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-lists.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 30807 | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-lists.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
core/kernel_linux/simple_tests/exception_asm.asm | DynamoRIO/drk | 40 | 95008 | #include "asm_defines.asm"
START_FILE
DECLARE_FUNC(exception_main)
GLOBAL_LABEL(exception_main:)
mov rdi, rsp
inc rdi
mov rsi, HEX(2)
mov rbp, HEX(3)
/* mov rsp, HEX(4)*/
mov rbx, HEX(5)
mov rdx, HEX(6)
mov rcx, HEX(7)
mov rax, HEX(8)
... |
examples/reaction-diffusion.asm | ihh/bbcmicrobot-codec | 10 | 27674 | ;; General engine for reaction-diffusion models
;; Including file must define the following:
;; CHARS - a four-byte array of characters
;; RATE - a four-byte array of 255 * (probability of using alternate reaction), indexed by source state
;; REACT - a 16-byte array of reactions.
;; If source cell is SRC and target ce... |
1A/S5/PIM/tps/tp5/parenthesage.adb | MOUDDENEHamza/ENSEEIHT | 4 | 12430 | <filename>1A/S5/PIM/tps/tp5/parenthesage.adb
with Piles;
with Ada.Text_IO; use Ada.Text_IO;
-- with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
-- with Afficher_Un_Entier; use Afficher_Un_Entier;
procedure Parenthesage is
-- L'indice dans la chaîne Meule de l'élément Aiguille.
-- Si l'Aiguil... |
test/mat/vulkan-math-mat2x2-test.adb | zrmyers/VulkanAda | 1 | 4555 | <filename>test/mat/vulkan-math-mat2x2-test.adb
--------------------------------------------------------------------------------
-- MIT License
--
-- Copyright (c) 2021 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "S... |
oeis/152/A152687.asm | neoneye/loda-programs | 11 | 4684 | ; A152687: Partial products operator applied thrice to nonzero Fibonacci numbers.
; Submitted by <NAME>
; 1,1,2,24,8640,746496000,201231433728000000,3554168771933456302080000000000,139840535301953855934724122328694784000000000000000,674129921807822677705190163721626103970522196466131271680000000000000000000000,35437218... |
examples/signal.adb | ytomino/drake | 33 | 4291 | <filename>examples/signal.adb
-- stack trace must be shown with gnatbind -E
with Ada.Formatting;
with Ada.Unchecked_Conversion;
with Interfaces;
with System.Machine_Code;
with System.Storage_Elements;
procedure signal is
use type Interfaces.Unsigned_16;
Bad : exception;
CW : aliased Interfaces.Unsigned_16 := 0;
typ... |
3-mid/opengl/source/opengl-images.ads | charlie5/lace | 20 | 15642 | <filename>3-mid/opengl/source/opengl-images.ads
with
ada.Streams.Stream_IO;
package openGL.Images
--
-- Provides ability to create and manipulate images.
--
is
function fetch_Image (Stream : in Ada.Streams.Stream_IO.Stream_Access;
try_TGA : in Boolean) return openGL.Image;
end ope... |
programs/oeis/038/A038715.asm | karttu/loda | 1 | 166713 | ; A038715: a(n) = floor(n/4)*ceiling((n+2)/4).
; 0,0,0,0,2,2,2,3,6,6,6,8,12,12,12,15,20,20,20,24,30,30,30,35,42,42,42,48,56,56,56,63,72,72,72,80,90,90,90,99,110,110,110,120,132,132,132,143,156,156,156,168,182,182,182,195,210,210,210,224,240
mov $1,5
add $1,$0
div $1,4
mov $2,$0
div $2,4
mul $1,$2
|
Transynther/x86/_processed/US/_st_4k_sm_/i9-9900K_12_0xa0_notsx.log_3_1000.asm | ljhsiun2/medusa | 9 | 83668 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x10b06, %rsi
lea addresses_UC_ht+0x4b46, %rdi
clflush (%rsi)
nop
nop
nop
nop
cmp %r11, %r11
mov $40, %rcx
rep movsw
nop
nop
nop
nop
nop
xor %r11, %r11
lea addresses_UC_ht+0x3b58, %rsi
lea addresses_A_ht+0... |
programs/oeis/049/A049782.asm | neoneye/loda | 22 | 89240 | <reponame>neoneye/loda<gh_stars>10-100
; A049782: a(n) = (0! + 1! + ... + (n-1)!) mod n.
; 0,0,1,2,4,4,6,2,1,4,1,10,10,6,4,10,13,10,9,14,13,12,21,10,14,10,10,6,17,4,2,26,1,30,34,10,5,28,10,34,4,34,16,34,19,44,18,10,48,14,13,10,13,10,34,34,28,46,28,34,22,2,55,26,49,34,65,30,67,34,68,10,55,42,64,66,34,10,20,74,64,4,27,34... |
Structure/Operator/Vector/Equiv.agda | Lolirofle/stuff-in-agda | 6 | 1822 | module Structure.Operator.Vector.LinearMap.Equiv where
open import Functional
open import Function.Proofs
open import Logic.Predicate
import Lvl
open import Structure.Category
open import Structure.Function
open import Structure.Function.Multi
open import Structure.Operator.Properties
open import Structure.Operat... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a29003a.ada | best08618/asylo | 7 | 7446 | -- A29003A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
src/programs/add.asm | oddek/8-bit-Computer | 8 | 169510 | <filename>src/programs/add.asm<gh_stars>1-10
.org #$02 ; place following code at address 0x02
ldw xr inta ; load contents of address 001E into register X
ldw yr intb ; load contents of address 001F into register Y
add xr ; add contents of x and y register. Place result in x register
stw xr #$F0 ; store the conten... |
programs/oeis/344/A344815.asm | neoneye/loda | 22 | 81933 | ; A344815: a(n) = Sum_{k=1..n} floor(n/k) * 4^(k-1).
; 1,6,23,92,349,1394,5491,21944,87497,349902,1398479,5593892,22371109,89484074,357919803,1431678080,5726645377,22906581142,91626057879,366504227292,1466015859181,5864063418866,23456249463283,93824997852744,375299974563657,1501199898183502,6004799525619551,24019198102... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_174.asm | ljhsiun2/medusa | 9 | 172799 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_174.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1ed66, %rsi
lea addresses_D_ht+0x1c5ae, %rdi
clflush (%rsi)
nop
and %r9, %r9
mov $74, %rcx
rep movsl
nop
n... |
2nd Assignment/ASSEMBLY_2.asm | BeenCoding/Microprocessors-NTUA | 0 | 27784 | <reponame>BeenCoding/Microprocessors-NTUA
IN 10H
MVI D,00H ; Initiate D to zero.
LXI B,0064H ; 100ms.Initiate E to 75dec.
START: MVI E,4BH ; Because 75*(100ms+100ms) = 15s
LDA 2000H ; Reading from dip switch.
CMP D ; Compare A to previous value.
MOV H,A ; Save A to H.
JC MUST_FLICKER ; If C = ... |
test/Succeed/Issue1952.agda | alhassy/agda | 3 | 16211 | <filename>test/Succeed/Issue1952.agda
module _ where
record Structure : Set1 where
infixl 20 _×_
infix 8 _⟶_
infixl 20 _,_
infixr 40 _∘_
infix 5 _~_
field
Type : Set
_×_ : Type → Type → Type
_⟶_ : Type → Type → Set
_∘_ : ∀ {X Y Z} → Y ⟶ Z → X ⟶ Y → X ⟶ Z
_,_ : ∀ {X A B} → X ⟶ A →... |
programs/oeis/271/A271663.asm | jmorken/loda | 1 | 86555 | <reponame>jmorken/loda
; A271663: Convolution of nonzero squares (A000290) with nonzero pentagonal numbers (A000326).
; 1,9,41,131,336,742,1470,2682,4587,7447,11583,17381,25298,35868,49708,67524,90117,118389,153349,196119,247940,310178,384330,472030,575055,695331,834939,996121,1181286,1393016,1634072,1907400,2216137,25... |
asm/mips/progs/program6.asm | TomRegan/synedoche | 1 | 166263 | <gh_stars>1-10
##########################################################################
##Author : <NAME> <<EMAIL>> ##
##Last modified : 2011-07-22 ##
##Description : MIPS assembly program: Copies a portion of memory ##
## from... |
source/oasis/program-element_filters.ads | reznikmm/gela | 0 | 30849 | -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements;
package Program.Element_Filters is
pragma Pure;
function Is_Pragma
(Self : not null Program.Elements.Element_Access) return Boolean is
... |
oeis/317/A317759.asm | neoneye/loda-programs | 11 | 29558 | <filename>oeis/317/A317759.asm
; A317759: Number of nX2 0..1 arrays with every element unequal to 0, 1 or 2 horizontally, vertically or antidiagonally adjacent elements, with upper left element zero.
; Submitted by <NAME>
; 2,6,10,20,42,89,190,407,873,1874,4024,8642,18561,39866,85627,183917,395034,848492,1822474,391448... |
libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_sin.asm | meesokim/z88dk | 0 | 93525 |
; double __FASTCALL__ sin(double x)
SECTION code_fp_math48
PUBLIC cm48_sccz80_sin
EXTERN am48_sin
defc cm48_sccz80_sin = am48_sin
|
src/static/antlr4/grammars/ObjectLiteral.g4 | jlenoble/ecmascript-parser | 0 | 3755 | <reponame>jlenoble/ecmascript-parser<gh_stars>0
/* Source: ECMAScript® 2018 Language Specification - Annex A-2 */
grammar ObjectLiteral;
// ObjectLiteral[Yield, Await]:
// { }
// { PropertyDefinitionList[?Yield, ?Await] }
// { PropertyDefinitionList[?Yield, ?Await] , }
objectLiteral
: OpenBrace (propertyDefi... |
boot/uefi/a64/syscall.asm | Tiihala/Dancy | 11 | 22502 | <reponame>Tiihala/Dancy<gh_stars>10-100
;;
;; Copyright (c) 2019, 2020 <NAME>
;;
;; Permission to use, copy, modify, and/or distribute this software for any
;; purpose with or without fee is hereby granted, provided that the above
;; copyright notice and this permission notice appear in all copies.
;;
;; THE SOFTWARE I... |
go.adb | keean/Go-Board-Ada | 1 | 12163 | pragma Profile(Restricted);
pragma Restrictions (No_Abort_Statements);
pragma Restrictions (Max_Asynchronous_Select_Nesting => 0);
pragma Restrictions (No_Exceptions);
pragma Restrictions (No_Direct_Boolean_Operators);
with Ada.Text_IO;
use Ada.Text_IO;
with Ada.Characters.Latin_1;
use Ada.Characters.Latin_1;
with A... |
kernel.asm | SebastianBetancourt/proyuvos | 0 | 170772 | <reponame>SebastianBetancourt/proyuvos
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 ... |
libsrc/stdio/ansi/px4/f_ansi_dline.asm | grancier/z180 | 0 | 4242 | <reponame>grancier/z180<filename>libsrc/stdio/ansi/px4/f_ansi_dline.asm<gh_stars>0
;
; ANSI Video handling for the Epson PX4
; By <NAME> - Nov 2014
;
; Clean a text line
;
; in: A = text row number
;
;
; $Id: f_ansi_dline.asm,v 1.2 2016/06/12 16:06:43 dom Exp $
;
SECTION code_clib
PUBLIC ansi_del_line
EXT... |
test/Succeed/CumulCat.agda | shlevy/agda | 1,989 | 11289 | {-# OPTIONS --cumulativity --postfix-projections #-}
open import Agda.Primitive
open import Agda.Builtin.Nat
open import Agda.Builtin.Equality
variable
ℓ ℓ₁ ℓ₂ ℓ₃ : Level
A B C : Set ℓ
x y z : A
k l m n : Nat
record Σ {ℓ} (A : Set ℓ) (B : A → Set ℓ) : Set ℓ where
constructor _,_
field
fst : A
snd... |
oeis/020/A020837.asm | neoneye/loda-programs | 11 | 86357 | ; A020837: Decimal expansion of 1/sqrt(80) = sqrt(5)/20.
; 1,1,1,8,0,3,3,9,8,8,7,4,9,8,9,4,8,4,8,2,0,4,5,8,6,8,3,4,3,6,5,6,3,8,1,1,7,7,2,0,3,0,9,1,7,9,8,0,5,7,6,2,8,6,2,1,3,5,4,4,8,6,2,2,7,0,5,2,6,0,4,6,2,8,1,8,9,0,2,4,4,9,7,0,7,2,0,7,2,0,4,1,8,9,3,9,1,1,3,7
max $0,2
seq $0,1622 ; Decimal expansion of golden ratio phi... |
generated/natools-static_maps-web-tag_pages-t.ads | faelys/natools-web | 1 | 25726 | <reponame>faelys/natools-web
-- Generated at 2015-03-03 23:00:05 +0000 by Natools.Static_Hash_Maps
-- from src/natools-web-tag_pages-maps.sx
function Natools.Static_Maps.Web.Tag_Pages.T
return Boolean;
pragma Pure (Natools.Static_Maps.Web.Tag_Pages.T);
|
samples/separate_even.asm | SohamMalakar/Intel-8085 | 0 | 241127 |
MVI H, 0AH
LXI B, F100H
LXI D, F200H
LOOP:
LDAX B
RAR
JC ODD
RAL
STAX D
INX D
ODD: INX B
DCR H
JNZ LOOP
// RST 1
HLT
|
oeis/076/A076112.asm | neoneye/loda-programs | 11 | 92803 | <gh_stars>10-100
; A076112: Triangle (read by rows) in which the n-th row contains first n terms of n geometric progression with first term 1 and common ratio (n-1).
; 1,1,2,1,3,9,1,4,16,64,1,5,25,125,625,1,6,36,216,1296,7776,1,7,49,343,2401,16807,117649,1,8,64,512,4096,32768,262144,2097152,1,9,81,729,6561,59049,531441... |
Exemplos ADA/Determinante/Determinante.adb | wildeee/safADA | 0 | 9089 | With Ada.Text_IO; Use Ada.Text_IO;
Procedure Determinante is
type Real_Matrix is array (Integer range <>, Integer range <>) of Integer'Base;
matriz: Real_Matrix(1..3, 1..3);
diagonalPrincipal1: Integer;
diagonalPrincipal2: Integer;
diagonalPrincipal3: Integer;
diagonalPrincipalSoma: Integer;
diagonalSecundaria1... |
src/shaders/h264/ildb/saveNV12_16x4T.asm | tizenorg/platform.upstream.libva-intel-driver | 0 | 167647 | <gh_stars>0
/*
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
*/
// Module name: saveNV12_16x4T.asm
//
// Tra... |
hookflash-core/webRTC/webRTC_ios/third_party/libvpx/asm_enc_offsets.asm | ilin-in/OP | 1 | 240631 | @ This file was created from a .asm file
@ using the ads2gas_apple.pl script.
.set WIDE_REFERENCE, 0
.set ARCHITECTURE, 5
.set DO1STROUNDING, 0
.set vp8_block_coeff , 4
.set vp8_block_zbin , 20
.set vp8_block_round , 28
.set vp8_block_quant , 8
.set vp8_block_quant_fast , 12
.set vp8_block_zbin_extra , 32
.s... |
programs/oeis/172/A172170.asm | karttu/loda | 1 | 23336 | <gh_stars>1-10
; A172170: 1 followed by the duplicated entries of A090368.
; 1,1,1,3,3,5,5,7,7,3,3,11,11,13,13,3,3,17,17,19,19,3,3,23,23,5,5,3,3,29,29,31,31,3,3,5,5,37,37,3,3,41,41,43,43,3,3,47,47,7,7,3,3,53,53,5,5,3,3,59,59,61,61,3,3,5,5,67,67,3,3,71,71,73,73,3,3,7,7,79,79,3,3,83,83,5,5
sub $0,1
div $0,2
cal $0,90368... |
ffight/lcs/1p/9E.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 174402 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data
copyright zengfr site:http://github.com/zengfr/romhack
00A2C6 dbra D0, $a2c0
00A382 dbra D0, $a37c
00F438 rts [1p+9E]
copyright zengfr site:http://github.com/zengfr/romhack
|
tic-tac-toe.als | experimental-dustbin/alloy-models | 9 | 4038 | <filename>tic-tac-toe.als<gh_stars>1-10
// We are going to trace through states
open util/ordering[State]
// Rows of the board
enum Row { R1, R2, R3 }
// Columns of the board
enum Col { C1, C2, C3 }
// Players: X, O
enum Player { X, O }
// Board maps positions to marks by a player
sig Board { cells: Row -> Col -> P... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vfa1_1.adb | best08618/asylo | 7 | 6880 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vfa1_1.adb
-- { dg-do compile }
-- { dg-options "-fdump-tree-gimple" }
with VFA1_Pkg; use VFA1_Pkg;
procedure VFA1_1 is
Temp : Integer;
function F (I : Integer) return Integer is
begin
return I;
end;
function F2 return Integer is
begin
return... |
tests/failing-postcond/src/p4.adb | TUM-EI-RCS/StratoX | 12 | 11998 | package body p4 with SPARK_MODE is
-- minimalist evil: line 32 is missed silently, but post is obviosuly stupid
--function f1 (X : Integer) return Integer is (X) with Post => False;
-- this is more evil: Post has no failing VC
-- because a failing VC in the body shadows it
-- and line 32 is missed
fu... |
src/ada-core/src/linted-lock_free_stack.adb | mstewartgallus/linted | 0 | 27956 | -- Copyright 2017 <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 obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writi... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_987.asm | ljhsiun2/medusa | 9 | 240195 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xc830, %rsi
lea addresses_WT_ht+0x1875e, %rdi
nop
cmp %r12, %r12
mov $44, %rcx
rep movsq
nop
nop
nop
add $6684, %rdx
lea addresses_normal_ht+0x1c75e, %r10
nop
nop
add $49088,... |
programs/oeis/048/A048763.asm | karttu/loda | 0 | 18249 | <filename>programs/oeis/048/A048763.asm
; A048763: Smallest cube >= n.
; 0,1,8,8,8,8,8,8,8,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,125,125,125,125,125,125,125,125,125,125,125,125,125,125,125,1... |
src/GUI/date_select_window.ads | Fabien-Chouteau/coffee-clock | 7 | 14045 | <reponame>Fabien-Chouteau/coffee-clock
-------------------------------------------------------------------------------
-- --
-- Coffee Clock --
-- ... |
Library/Text/TextLine/tlSmallStorage.asm | steakknife/pcgeos | 504 | 7385 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: tlSmallStorage.asm
AUTHOR: <NAME>, Dec 26, 1991
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Descr... |
sub8bitl.asm | suriya-1403/Assemble-language | 0 | 97898 | code segment
assume cs:code
mov ax, 0000H
mov bx, 0000H
mov al,05h
mov bl,03h
sub al,bl
hlt
code ends
end |
libsrc/rex/syscall0.asm | andydansby/z88dk-mk2 | 1 | 17933 | ;
; System Call for REX6000
;
; $Id: syscall0.asm,v 1.3 2002/04/17 21:30:25 dom Exp $
XLIB syscall0
.syscall0
pop bc
pop hl ;parameter
push hl
push bc
ld ($c000),hl
rst $10
ld hl,($c00e)
ret
|
oeis/169/A169607.asm | neoneye/loda-programs | 11 | 167768 | ; A169607: 7*A000330(n).
; 0,7,35,98,210,385,637,980,1428,1995,2695,3542,4550,5733,7105,8680,10472,12495,14763,17290,20090,23177,26565,30268,34300,38675,43407,48510,53998,59885,66185,72912,80080,87703,95795,104370,113442,123025,133133,143780,154980,166747,179095,192038,205590,219765,234577,250040,266168,282975,300475,3... |
libsrc/_DEVELOPMENT/alloc/malloc/z80/asm_posix_memalign_unlocked.asm | jpoikela/z88dk | 640 | 169636 |
; ===============================================================
; Dec 2013
; ===============================================================
;
; int posix_memalign_unlocked(void **memptr, size_t alignment, size_t size)
;
; Attempt to allocate size bytes aligned to alignment from the
; thread's heap. Alignment must... |
.build/ada/asis-gela-elements-assoc.ads | faelys/gela-asis | 4 | 6761 |
------------------------------------------------------------------------------
-- Copyright (c) 2006-2013, <NAME>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.