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 |
|---|---|---|---|---|
stm32f3/stm32gd-clocks-tree.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 25697 | with STM32_SVD; use STM32_SVD;
with STM32_SVD.RCC; use STM32_SVD.RCC;
with HAL;
package body STM32GD.CLOCKS.TREE is
procedure Init is
RCC : RCC_Peripheral renames RCC_Periph;
begin
if PLL_Source = HSE_Input then
RCC.CR.HSEON := 1;
while RCC.CR.HSERDY = 0 loop
null;
end loop;
end if;
RCC.... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca.log_289_567.asm | ljhsiun2/medusa | 9 | 21877 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1129f, %rsi
lea addresses_D_ht+0x1a61b, %rdi
nop
nop
nop
nop
nop
and $5940, %rbp
mov $48, %rcx
rep movsw
nop
nop
and %rax, %rax
lea addresses_WC_ht+0xbe9f, %rax
cmp $58293, %r15
mov (%r... |
tools-src/gnu/gcc/gcc/ada/exp_ch7.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 12964 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
programs/oeis/141/A141015.asm | neoneye/loda | 22 | 170729 | ; A141015: a(0) = 0, a(1) = 1, a(2) = 2; for n > 2, a(n) = a(n-1) + 2*a(n-2) + a(n-3).
; 0,1,2,4,9,19,41,88,189,406,872,1873,4023,8641,18560,39865,85626,183916,395033,848491,1822473,3914488,8407925,18059374,38789712,83316385,178955183,384377665,825604416,1773314929,3808901426,8181135700,17572253481,37743426307,81069068... |
commands/apps/deepl/deepl-app-translate.applescript | grzegorzkrukowski/script-commands | 1 | 980 | #!/usr/bin/osascript
# Dependency: This script requires DeepL to be installed: https://deepl.com/app
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title DeepL App Translate
# @raycast.mode silent
# Optional parameters:
# @raycast.icon images/deepl.png
# @raycast.argument1 { "type": "text", "placeholde... |
grammar/tiny/recursion/modle/main.asm | bishop986/CompileConstruction | 2 | 1902 | <reponame>bishop986/CompileConstruction<gh_stars>1-10
; Author: bishop986 @copyright
; Introduction:
; code modle
section .data
errorMsg1: db "[ERROR] Data Format Error, Exit process", 0ah, 0
msgLen1: equ $-errorMsg1
section .text
global _start
_start:
nop
nop
call _exit
.errorread:
xor rax, rax
xor rbx, r... |
TRAIN/TRAIN_CHAR/vett.asm | mich2k/CE_LAB | 0 | 247054 | <gh_stars>0
.586
.model flat
.code
_spazi proc
push ebp
mov ebp,esp
push esi
push edi
push ebx
mov ebx, dword ptr[ebp+8] ; arr
mov edi, 0
mov esi, 0
ciclo:
mov al, byte ptr [ebx+esi]
cmp al, 0
je fine
cmp al, 32
je found
inc esi
jmp ciclo
; bh 4 bit mov bh, 1
; bl 8 bit mov bl, 44
; bx 16 bit
; ebx 32 bit ca... |
src/demo3.asm | vbguyny/c64kernel | 2 | 164156 | <reponame>vbguyny/c64kernel
incasm "kernel.hdr"
;incasm "kernel.asm"
main
@loop
jsr console.clear$
lda #color.white$
sta console.setcharactercolor.color$
jsr console.setcharactercolor$
lda #<title
sta console.writestr.straddress$
lda #>title
sta consol... |
source/options.ads | jquorning/CELLE | 0 | 26285 | <reponame>jquorning/CELLE<gh_stars>0
--
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
with ... |
libsrc/ctype/ispunct.asm | grancier/z180 | 0 | 166656 | ;
; Small C z88 Character functions
; Written by <NAME> <<EMAIL>>
;
; 1/3/99 djm
;
; Hurrah, this is our first table for our isxxx routines!
;
; $Id: ispunct.asm,v 1.7 2016/03/06 21:41:15 dom Exp $
;
SECTION code_clib
PUBLIC _ispunct
PUBLIC ispunct
EXTERN asm_ispunct
; FASTCALL
._ispunct
.ispunct
ld a,l... |
stack_storage.ads | jrcarter/Ada_GUI | 19 | 18694 | <reponame>jrcarter/Ada_GUI
-- --
-- package Stack_Storage Copyright (c) <NAME> --
-- Interface Luebeck --
-- Winter, 2003 --
-- ... |
src/boot/printf.asm | wsngamerz/wsn_os | 1 | 14308 | ; output string to screen
printf:
pusha
; loop through the si register one char at a time and output the char
str_loop:
mov al, [si]
cmp al, 0
jne print_char
popa
ret
; 'method' to output the char
print_char:
mov ah, 0x0e
int 0x10
... |
asmFiles/subroutine_div.asm | hythzz/MIPS-Processor | 0 | 26202 | <filename>asmFiles/subroutine_div.asm
# registers a0-1,v0-1,t0
# a0 = Numerator
# a1 = Denominator
# v0 = Quotient
# v1 = Remainder
#-divide(N=$a0,D=$a1) returns (Q=$v0,R=$v1)--------
divide: # setup frame
push $ra # saved return address
push $a0 # saved register
push $a1 ... |
engine/display_text_id_init.asm | AmateurPanda92/pokemon-rby-dx | 9 | 100881 | ; function that performs initialization for DisplayTextID
DisplayTextIDInit:
xor a
ld [wListMenuID], a
ld a, [wAutoTextBoxDrawingControl]
bit 0, a
jr nz, .skipDrawingTextBoxBorder
ld a, [hSpriteIndexOrTextID] ; text ID (or sprite ID)
and a
jr nz, .notStartMenu
; if text ID is 0 (i.e. the start menu)
; Note that... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_1186.asm | ljhsiun2/medusa | 9 | 85995 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x11c65, %r12
nop
nop
add %rax, %rax
movups (%r12), %xmm4
vpextrq $0, %xmm4, %rdi
nop
nop
nop
nop
add %r10, %r10
lea addresses_A_ht+0xf665, %r8
nop
no... |
sample/obj/release/Sample.asm | Marakusa/neptyne | 0 | 29795 | section .data
section .text
global _start
_start:
call _main
mov eax, 1
mov ebx, 0
int 80h
_main:
push rbp
mov rbp, rsp
mov eax, 112
mov DWORD [rbp-4], eax
mov eax, DWORD [rbp-4]
mov DWORD [rbp-8], eax
mov eax, DWORD [rbp-8]
mov ecx, eax
mov eax, 4
mov ebx, 1
mov edx, 4
int 80h
mov eax, DWORD [rbp-... |
awa/plugins/awa-images/src/awa-images-services.adb | fuzzysloth/ada-awa | 0 | 18464 | -----------------------------------------------------------------------
-- awa-images-services -- Image service
-- Copyright (C) 2012, 2013, 2015, 2016 <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 ... |
Kernel/asm/interrupts.asm | luciatorrusio/Arqui--TPE | 0 | 29479 |
GLOBAL _cli
GLOBAL _sti
GLOBAL picMasterMask
GLOBAL picSlaveMask
GLOBAL haltcpu
GLOBAL _hlt
GLOBAL _irq00Handler
GLOBAL _irq01Handler
GLOBAL _irq02Handler
GLOBAL _irq03Handler
GLOBAL _irq04Handler
GLOBAL _irq05Handler
GLOBAL _irq80Handler
GLOBAL _irq81Handler
GLOBAL _irq82Handler
GLOBAL _irq83Handler
GLOBAL _irq85H... |
kernel/asm/isr.asm | avdgrinten/echidnaOS | 0 | 160139 | global handler_simple
global handler_code
global handler_irq_pic0
global handler_irq_pic1
global handler_div0
global irq0_handler
global keyboard_isr
global syscall
global ts_enable
global read_stat
global write_stat
extern keyboard_handler
extern task_switch
extern except_div0
extern set_PIC0_mask
extern get_PIC0_m... |
Applications/Safari/windows/test.applescript | looking-for-a-job/applescript-examples | 1 | 1286 | #!/usr/bin/osascript
tell application "Safari"
URL of every tab of window 1
end tell
|
Data/ShipModelEquates.asm | ped7g/EliteNext | 0 | 102259 | <filename>Data/ShipModelEquates.asm
ScoopDebrisOffset equ 0 ; hull byte#0 high nibble is scoop info, lower nibble is debris spin info
MissileLockLoOffset equ 1
MissileLockHiOffset equ 2
EdgeAddyOffset equ 3
LineX4Offset equ 5
GunVertexOffset equ 6
ExplosionCtOffs... |
assembler/tests/t_403/t_403.asm | paulscottrobson/RCA-Cosmac-VIP-III | 1 | 160524 | <reponame>paulscottrobson/RCA-Cosmac-VIP-III<filename>assembler/tests/t_403/t_403.asm
cpu ppc403
page 0
include stddef60
org 0x1000
mtdcr 10,r5
mtbear r5
mfdcr r5,10
mfbesr r5
wrtee r10
wrteei 1
bdnzl 0x10
bdz... |
programs/oeis/315/A315211.asm | karttu/loda | 0 | 88287 | <reponame>karttu/loda<gh_stars>0
; A315211: Coordination sequence Gal.3.20.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,6,10,14,20,26,30,34,40,46,50,54,60,66,70,74,80,86,90,94,100,106,110,114,120,126,130,134,140,146,150,154,16... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2696.asm | ljhsiun2/medusa | 9 | 90003 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1dc1b, %rdi
nop
nop
nop
and %r12, %r12
mov (%rdi), %edx
nop
nop
xor $12078, %rsi
pop %rsi
pop %rdx
pop %rdi
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r15
push %r9
push %rbp
push %rcx
push %rdi
pu... |
src/gnat/mlib-utl.adb | My-Colaborations/dynamo | 15 | 19099 | <reponame>My-Colaborations/dynamo
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
src/util/spat-unique_ids.ads | HeisenbugLtd/spat | 20 | 18371 | <filename>src/util/spat-unique_ids.ads
------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-... |
programs/oeis/016/A016262.asm | neoneye/loda | 22 | 89038 | ; A016262: Expansion of 1/((1-x)(1-9x)(1-11x)).
; 1,21,322,4362,55363,675423,8027524,93683604,1078947205,12304267305,139269572806,1567268992926,17557692150727,195994212714867,2181672731375368,24230027568735528,268614950968549129,2973526290066165309,32877645655436942410,363173810392188482610
lpb $0
mov $2,$0
sub $0... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1237.asm | ljhsiun2/medusa | 9 | 80255 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x18baf, %rbx
add %r10, %r10
movl $0x61626364, (%rbx)
nop
nop
and %rcx, %rcx
lea addresses_UC_ht+0xd5b3, %r8
nop
nop
inc %rsi
movw $0x6162, (%r8)
nop
nop
xor $14946, %rsi
lea a... |
src/boot/stage2/start.asm | cjsmeele/RikaiOS | 8 | 10658 | ;; Copyright 2019 <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
;;
;; https://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writ... |
programs/oeis/099/A099467.asm | neoneye/loda | 22 | 22851 | <reponame>neoneye/loda
; A099467: a(1) = a(2) = 1; for n > 2, a(n) is the smallest number > a(n-1) which is not the sum of 2 consecutive elements of the sequence.
; 1,1,3,5,6,7,9,10,12,14,15,17,18,20,21,23,24,25,27,28,30,31,33,34,36,37,39,40,42,43,45,46,48,50,51,53,54,56,57,59,60,62,63,65,66,68,69,71,72,74,75,77,78,80,... |
source/oasis/program-elements-subtype_declarations.ads | reznikmm/gela | 0 | 4535 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Declarations;
with Program.Lexical_Elements;
with Program.Elements.Defining_Identifiers;
with Program.Elements.Subtype_Indications;
with Program.Elem... |
test/fail/ATPBadHint2.agda | asr/eagda | 1 | 13473 | -- An ATP hint must be used with functions.
-- This error is detected by TypeChecking.Rules.Decl.
module ATPBadHint2 where
data Bool : Set where
false true : Bool
{-# ATP hint Bool #-}
|
src/tests/imagetests.adb | sebsgit/textproc | 0 | 28903 | with AUnit.Assertions; use AUnit.Assertions;
with PixelArray; use PixelArray;
with ImageThresholds;
with ImageIO;
package body ImageTests is
procedure Register_Tests (T: in out ImageTest) is
use AUnit.Test_Cases.Registration;
begin
Register_Routine(T, testPixelArray'Access, "pixel array");
Re... |
oeis/038/A038555.asm | neoneye/loda-programs | 11 | 20650 | <gh_stars>10-100
; A038555: Derivative of n in base 3.
; Submitted by <NAME>
; 0,0,0,1,2,0,2,0,1,3,4,5,7,8,6,2,0,1,6,7,8,1,2,0,5,3,4,9,10,11,13,14,12,17,15,16,21,22,23,25,26,24,20,18,19,6,7,8,1,2,0,5,3,4,18,19,20,22,23,21,26,24,25,3,4,5,7,8,6,2,0,1,15,16,17,10,11,9,14,12,13,27,28,29,31,32,30,35,33,34,39,40,41,43,44,42,... |
source/xml.ads | ytomino/xml-ada | 0 | 24422 | <reponame>ytomino/xml-ada<filename>source/xml.ads
with Ada.IO_Exceptions;
private with Ada.Finalization;
private with C.libxml.encoding;
private with C.libxml.xmlerror;
private with C.libxml.xmlreader;
private with C.libxml.xmlwriter;
package XML is
pragma Preelaborate;
pragma Linker_Options ("-lxml2");
function V... |
agda/EquationalTheory.agda | ryanakca/strong-normalization | 32 | 12142 | <filename>agda/EquationalTheory.agda
module EquationalTheory where
open import Library
open import Syntax
open import RenamingAndSubstitution
-- Single collapsing substitution.
sub1 : ∀{Γ σ τ} → Tm Γ σ → Tm (Γ , σ) τ → Tm Γ τ
sub1 {Γ}{σ}{τ} u t = sub (subId , u) t
-- Typed β-η-equality.
data _≡βη_ {Γ : Cxt} : ∀{σ}... |
include/pthread_h.ads | docandrew/troodon | 5 | 20482 | <reponame>docandrew/troodon
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with System;
with bits_pthreadtypes_h;
limited with bits_types_struct_timespec_h;
with bits_types_clockid_t_h;
with stddef_h;
limited with bits_types_struct_sched_param_h;
limited with bits_cpu_set_h;
limited w... |
programs/oeis/005/A005095.asm | jmorken/loda | 1 | 247071 | <reponame>jmorken/loda
; A005095: a(n) = n! + n.
; 1,2,4,9,28,125,726,5047,40328,362889,3628810,39916811,479001612,6227020813,87178291214,1307674368015,20922789888016,355687428096017,6402373705728018
mov $1,$0
cal $1,142
add $1,$0
|
Task/Call-a-function/Ada/call-a-function-4.ada | LaudateCorpus1/RosettaCodeData | 1 | 27089 | <reponame>LaudateCorpus1/RosettaCodeData
function H (Int: Integer;
Fun: not null access function (X: Integer; Y: Integer)
return Integer);
return Integer;
...
X := H(A, F'Access) -- assuming X and A are Integers, and F is a function
-- taking two Integers and ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/unc.adb | best08618/asylo | 7 | 22692 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/unc.adb<gh_stars>1-10
-- { dg-do compile }
with Ada.Streams.Stream_IO; use Ada.Streams.Stream_IO;
procedure Unc is
type Arr is array (1..4) of integer;
type Bytes is array (positive range <>) of Character;
type Buffer (D : Boolean := False) is record
... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-graphs.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 26381 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
tests/applescript/alfred.bundler.applescript | shawnrice/alfred-bundler | 9 | 2070 | --# Current Alfred-Bundler version
property BUNDLER_VERSION : "devel"
--# Path to Alfred-Bundler's root directory
on get_bundler_dir()
return (POSIX path of (path to home folder as text)) & "Library/Application Support/Alfred 2/Workflow Data/alfred.bundler-" & BUNDLER_VERSION
end get_bundler_dir
--# Path to Alfred-Bun... |
src/util/icon/asm_compress.asm | olifink/qspread | 0 | 20026 | <reponame>olifink/qspread
* Sprite compress
*
* Mode 4
* +---|----------------+
* - wwwwwwwwww -
* | wwwwwwwwwwwwwwww |
* |rrrrrrrrr wwwwwwww |
* |r r r rrrww |
* |r ww r r rwwr |
* |r rr wwrrr |
* |r w ww r rrrww |
* |r r rwwr |
* |r www w r wwrrr |
* |r r rrrww |
* |r w... |
memsim-master/src/memory-transform-shift.adb | strenkml/EE368 | 0 | 17474 | <filename>memsim-master/src/memory-transform-shift.adb
with Device; use Device;
with Memory.Container; use Memory.Container;
package body Memory.Transform.Shift is
function Create_Shift return Shift_Pointer is
result : constant Shift_Pointer := new Shift_Type;
begin
return result;
en... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_947.asm | ljhsiun2/medusa | 9 | 25890 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1087d, %r8
inc %r14
movb $0x61, (%r8)
nop
nop
nop
nop
nop
cmp %r14, %r14
lea addresses_D_ht+0x1e0fd, %rdx
nop
sub $64420, %rbx... |
src/hdl/mk3/simulation/sim_asm/test_asmz80/z80_chipram.asm | dominicbeesley/blitter-vhdl-6502 | 5 | 104084 | .area CODE (CON, ABS)
.globl font_data
handle_res: di
ld sp, 0x3000
; enable local jim
ld a,#0xD1
ld (0xFCFF),a
ld a,#0xFC
ld (0xFCFE),a
ld a,#0xFE
ld (0xFCFD),a
ld a,(0xFCFF)
out (0x8F), a
in a, (0x8F)
; cls
ld hl, 0xB000
ld de, 0xB001
ld a, 0
ld (hl),a
ld bc, 0x4000-1
ld... |
contrib/gnu/gdb/dist/gdb/testsuite/gdb.ada/mi_var_union/bar.adb | TheSledgeHammer/2.11BSD | 3 | 18481 | -- Copyright 2018-2020 Free Software Foundation, Inc.
--
-- 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.
--
-- ... |
kernel/a20.asm | jpbottaro/minios | 2 | 9440 | <filename>kernel/a20.asm
BITS 16
%include "macrosmodoreal.mac"
section .text
habilitando: db 'Habilitando A20........'
habilitando_len equ $ - habilitando
deshabilitando: db 'Desabilitando A20......'
deshabilitando_len equ $ - deshabilitando
checkeando: db 'Checkeando A20.........'
checkeando_len equ $ - checkeando... |
oeis/189/A189739.asm | neoneye/loda-programs | 11 | 104881 | <filename>oeis/189/A189739.asm
; A189739: a(1)=3, a(2)=5, a(n)=3a(n-1) + 5a(n-2)
; Submitted by <NAME>
; 3,5,30,115,495,2060,8655,36265,152070,637535,2672955,11206540,46984395,196985885,825879630,3462568315,14517103095,60864150860,255177968055,1069854658465,4485453815670,18805634739335,78844173296355,330560693585740,1... |
tests/inchexstr/9.asm | NullMember/customasm | 414 | 14214 | #d inchexstr("data1.txt", "data2.txt") ; error: wrong |
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0_notsx.log_21829_1294.asm | ljhsiun2/medusa | 9 | 172972 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xe781, %r9
dec %rbx
mov (%r9), %esi
nop
sub $22776, %r8
lea addresses_WT_ht+0xa41, %r12
clflush (%r12)
inc %r8
movb (%r12), %r13b
nop
no... |
test/sub.asm | cryptoptusenix/assemblyline | 0 | 7215 | SECTION .text
GLOBAL test
test:
sub r11, r10
sub rsp, 0x138
sub rsp, 0x48
sub rsp, 0x50
sub rsp, 0x80 |
programs/oeis/155/A155640.asm | neoneye/loda | 22 | 172211 | <filename>programs/oeis/155/A155640.asm
; A155640: a(n) = 7^n - 5^n + 1^n.
; 1,3,25,219,1777,13683,102025,745419,5374177,38400483,272709625,1928498619,13597146577,95668307283,672119557225,4717043931819,33080342678977,231867574534083,1624598900644825,11379821699045019,79696898865971377,558069026925080883
mov $1,7
pow $... |
oeis/019/A019693.asm | neoneye/loda-programs | 11 | 164332 | <gh_stars>10-100
; A019693: Decimal expansion of 2*Pi/3.
; Submitted by <NAME>
; 2,0,9,4,3,9,5,1,0,2,3,9,3,1,9,5,4,9,2,3,0,8,4,2,8,9,2,2,1,8,6,3,3,5,2,5,6,1,3,1,4,4,6,2,6,6,2,5,0,0,7,0,5,4,7,3,1,6,6,2,9,7,2,8,2,0,5,2,1,0,9,3,7,5,2,4,1,3,9,3,3,2,4,1,8,6,8,9,8,8,3,5,6,1,4,1,1,3,7,8
mov $1,1
mov $2,1
mov $3,$0
mul $3,5
l... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_2572.asm | ljhsiun2/medusa | 9 | 165389 | <filename>Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_2572.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1b106, %r13
nop
nop
nop
nop
nop
cmp %rsi, %rsi
mov $0x6162636465666768, %rdx
movq %rdx, %... |
oeis/173/A173279.asm | neoneye/loda-programs | 11 | 177619 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A173279: Irregular triangle read by rows: M(n,k) = (n-2*k)!, k=0..floor(n/2).
; Submitted by <NAME>
; 1,1,2,1,6,1,24,2,1,120,6,1,720,24,2,1,5040,120,6,1,40320,720,24,2,1,362880,5040,120,6,1,3628800,40320,720,24,2,1,39916800,362880,5040,120,6,1,479001600,3628800,40320,72... |
proofs/Classes.agda | samuelhklumpers/strong-vector | 0 | 16137 | module Classes where
open import Agda.Primitive
open import Agda.Builtin.Equality
open import Relation.Binary.PropositionalEquality.Core
open ≡-Reasoning
id : ∀ {ℓ} {A : Set ℓ} → A → A
id x = x
_$_ : ∀ {ℓ} {A B : Set ℓ} → (A → B) → A → B
_$_ = id
_∘_ : ∀ {ℓ} {A B C : Set ℓ} → (B → C) → (A → B) → A → C
f ∘ g = λ ... |
ProcessingLexer.g4 | gagik/ppprocessing | 0 | 6274 | <filename>ProcessingLexer.g4<gh_stars>0
/*
Derived from Processing preprocessor code by <NAME> and <NAME>.
Copyright (c) 2021 <NAME>
*/
lexer grammar ProcessingLexer;
import JavaLexer;
// // add color literal notations for
// // #ff5522
// HEX_COLOR_LITERAL
// : '#' HEX_COLOR_VALUE
// ;
HEX_COLOR_VALUE: HEX_DIGI... |
usertests.asm | Nehoray-Marziano/XV6-Scheduling-Policies | 0 | 244596 |
_usertests: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return randstate;
}
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... |
Assembly Code/String/2(b).asm | Jaggesher/LabWork | 1 | 19812 | <reponame>Jaggesher/LabWork<filename>Assembly Code/String/2(b).asm
;2(b)
;Name: <NAME>
;Roll: 14025423
.MODEL SMALL
.STACK 100H
.DATA
MSG1 DB "Please Input a String=$"
MSG2 DB 0DH,0AH,"The Longest Sub Sequence IS:=$"
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
MOV AH,9;String Out
LEA DX,MSG1
INT 2... |
target/cos_117/disasm/iop_overlay1/ISPDRV.asm | jrrk2/cray-sim | 49 | 100950 | 0x0000 (0x000000) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0001 (0x000002) 0x291D- f:00024 d: 285 | OR[285] = A
0x0002 (0x000004) 0x3118- f:00030 d: 280 | A = (OR[280])
0x0003 (0x000006) 0x0808- f:00004 d: 8 | A = A > 8 (0x0008)
... |
oeis/297/A297446.asm | neoneye/loda-programs | 11 | 87034 | <filename>oeis/297/A297446.asm
; A297446: a(1) = 1; a(n) = (2^n - 1)*((3^n - 1)/(2^n - 1) mod 1), n >= 2. Unreduced numerators of fractional parts of (3^n - 1)/(2^n - 1).
; Submitted by <NAME>
; 1,2,5,5,25,35,27,185,264,737,1104,3185,5268,15515,29727,55760,35227,235277,441474,272525,1861165,3478865,6231072,1899170,5672... |
src/lab-code/howmany/src/main.adb | hannesb0/rtpl18 | 0 | 25776 | with Ada.Numerics.Generic_Elementary_Functions;
procedure main with SPARK_Mode is
-- user-defined float type
type Meters is new Float range 0.0 .. 1_000_000.0;
-- instantiate generic package for my type
package Meter_Functions is new Ada.Numerics.Generic_Elementary_Functions (Meters);
use Meter_Func... |
prod-cons.asm | zzddhhtjzz/xv6 | 0 | 85584 | <reponame>zzddhhtjzz/xv6<filename>prod-cons.asm
_prod-cons: file format elf32-i386
Disassembly of section .text:
00000000 <put>:
mpthread_mutex_t mutex;
mpthread_cond_t empty;
mpthread_cond_t full;
void put(int value){
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
buff... |
alloy4fun_models/trainstlt/models/2/x6DdzCStZ73SduoCY.als | Kaixi26/org.alloytools.alloy | 0 | 201 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idx6DdzCStZ73SduoCY_prop3 {
all t,tt:Track | t->tt in prox implies always t->tt in prox
}
pred __repair { idx6DdzCStZ73SduoCY_prop3 }
check __repair { idx6DdzCStZ73SduoCY_prop3 <=> prop3o } |
test/Succeed/Issue259c.agda | cruhland/agda | 1,989 | 313 | {- This example used to fail but after the point-free evaluation fix
it seems to work #-}
module Issue259c where
postulate
A : Set
a : A
b : ({x : A} → A) → A
C : A → Set
d : {x : A} → A
d {x} = a
e : A
e = b (λ {x} → d {x})
F : C e → Set₁
F _ with Set
F _ | _ = Set
|
demo/tutorial/game_maps.adb | csb6/libtcod-ada | 0 | 11161 | <filename>demo/tutorial/game_maps.adb
with Libtcod.Color, Libtcod.Maps.FOV;
package body Game_Maps is
dark_wall : constant Color.RGB_Color := Color.make_RGB_color(0, 0, 100);
dark_ground : constant Color.RGB_Color := Color.make_RGB_color(50, 50, 150);
light_wall : constant Color.RGB_Color := Color.make_RGB_c... |
src/Channel.agda | peterthiemann/definitional-session | 9 | 914 | module Channel where
open import Data.Bool hiding (_≤_)
open import Data.Fin hiding (_≤_)
open import Data.List hiding (map)
open import Data.Maybe
open import Data.Nat
open import Data.Nat.Properties
open import Data.Product hiding (map)
open import Relation.Binary.PropositionalEquality
open import Typing
open impor... |
oeis/182/A182230.asm | neoneye/loda-programs | 11 | 160360 | ; A182230: a(n) = a(n-1)+floor(a(n-2)/4) with a(0)=3, a(1)=4.
; 3,4,4,5,6,7,8,9,11,13,15,18,21,25,30,36,43,52,62,75,90,108,130,157,189,228,275,332,400,483,583,703,848,1023,1235,1490,1798,2170,2619,3161,3815,4605,5558,6709,8098,9775,11799,14242,17191,20751,25048,30235,36497,44055,53179,64192,77486,93534,112905,136288,16... |
exercises/x86-64-assembly-1-a/x86_64_assembly_1_a.asm | ErikSchierboom/research_experiment_1 | 0 | 241799 | <filename>exercises/x86-64-assembly-1-a/x86_64_assembly_1_a.asm
section .text
global str_isalpha
str_isalpha:
; Provide your implementation here
ret
|
bb-runtimes/src/s-bbsumu__8641d.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 4270 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
src/ada/src/uxas-comms-lmcp_net_client-service-automation_request_validation-spark.adb | pat-rogers/OpenUxAS | 0 | 18073 | <reponame>pat-rogers/OpenUxAS
with Bounded_Dynamic_Strings;
with afrl.cmasi.KeyValuePair; use afrl.cmasi.KeyValuePair;
with Ada.Strings.Unbounded;
with afrl.cmasi.AutomationResponse; use afrl.cmasi.AutomationResponse;
package body UxAS.Comms.LMCP_Net_Client.Service.Automation_Request_Validation.SPARK with SPARK... |
alloy4fun_models/trashltl/models/7/6za4n2GXeYwciDE28.als | Kaixi26/org.alloytools.alloy | 0 | 790 | <filename>alloy4fun_models/trashltl/models/7/6za4n2GXeYwciDE28.als<gh_stars>0
open main
pred id6za4n2GXeYwciDE28_prop8 {
eventually ( some f1,f2 : File | f1->f2 in link implies f1 in Trash )
}
pred __repair { id6za4n2GXeYwciDE28_prop8 }
check __repair { id6za4n2GXeYwciDE28_prop8 <=> prop8o } |
programs/oeis/189/A189631.asm | neoneye/loda | 22 | 167478 | ; A189631: Partial sums of A189628.
; 0,0,1,1,1,2,2,3,3,3,3,4,4,4,5,5,6,6,6,6,7,7,8,8,8,8,9,9,9,10,10,10,11,11,12,12,12,12,13,13,13,14,14,15,15,15,15,16,16,17,17,17,17,18,18,18,19,19,19,20,20,21,21,21,21,22,22,23,23,23,23,24,24,24,25,25,25,26,26,27,27,27
mov $2,$0
mov $3,$0
lpb $2
mov $0,$3
sub $2,1
sub $0,$2
... |
oeis/020/A020108.asm | neoneye/loda-programs | 11 | 170827 | ; A020108: Ceiling of GAMMA(n+1/10)/GAMMA(1/10).
; Submitted by <NAME>
; 1,1,1,1,1,3,15,92,649,5253,47802,482797,5359036,64844333,849460757,11977396666,180858689642,2911824903230,49792205845229,901238925798639,17213663482753994,345994636003355265,7300486819670796088
mov $2,$0
cmp $2,0
add $0,$2
seq $0,20063 ; Integer ... |
game-projects/Sonic2/Objects/SpecialStage/HalfPipe/HalfPipe.asm | wide-dot/thomson-to8-game-engine | 11 | 101414 | <reponame>wide-dot/thomson-to8-game-engine<filename>game-projects/Sonic2/Objects/SpecialStage/HalfPipe/HalfPipe.asm
; ---------------------------------------------------------------------------
; Object - Special Stage
;
; input REG : [u] pointer to Object Status Table (OST)
; ---------
;
; Two objects in one to reduce... |
src/main/antlr/org/hibernate/query/sqm/hql/internal/antlr/HqlParser.g4 | hibernate/hibernate-semantic-query | 9 | 3422 | <filename>src/main/antlr/org/hibernate/query/sqm/hql/internal/antlr/HqlParser.g4
parser grammar HqlParser;
options {
tokenVocab=HqlLexer;
}
@header {
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in t... |
src/numerics-sparse_matrices-cumulative_sum.adb | sciencylab/lagrangian-solver | 0 | 9454 | separate (Numerics.Sparse_Matrices)
-- function Cumulative_Sum (Item : in Int_Array) return Int_Array is
-- Result : Int_Array (Item'Range);
-- Tmp : Int := 1;
-- begin
-- for I in Item'Range loop
-- Result (I) := Tmp;
-- Tmp := Tmp + Item (I);
-- end loop;
-- return Result;
-- ... |
source/asis/asis-gela-overloads-walk.ads | faelys/gela-asis | 4 | 15685 | <filename>source/asis/asis-gela-overloads-walk.ads
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http... |
libsrc/_DEVELOPMENT/l/sdcc/___muluint2ulong_callee.asm | dikdom/z88dk | 0 | 5046 | <filename>libsrc/_DEVELOPMENT/l/sdcc/___muluint2ulong_callee.asm
SECTION code_clib
SECTION code_l_sdcc
PUBLIC ___muluint2ulong_callee
EXTERN l_mulu_32_16x16
___muluint2ulong_callee:
; 16-bit multiplication, 32-bit result
;
; enter : stack = multiplicand, multiplicand, ret
;
; exit : dehl = product
... |
oeis/021/A021549.asm | neoneye/loda-programs | 11 | 6257 | ; A021549: Decimal expansion of 1/545.
; Submitted by Jon Maiga
; 0,0,1,8,3,4,8,6,2,3,8,5,3,2,1,1,0,0,9,1,7,4,3,1,1,9,2,6,6,0,5,5,0,4,5,8,7,1,5,5,9,6,3,3,0,2,7,5,2,2,9,3,5,7,7,9,8,1,6,5,1,3,7,6,1,4,6,7,8,8,9,9,0,8,2,5,6,8,8,0,7,3,3,9,4,4,9,5,4,1,2,8,4,4,0,3,6,6,9
seq $0,199689 ; 8*10^n+1
div $0,436
mod $0,10
|
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_702.asm | ljhsiun2/medusa | 9 | 24010 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xa080, %rsi
lea addresses_normal_ht+0x10c50, %rdi
and %r11, %r11
mov $85, %rcx
rep movsw
nop
nop
cmp %rcx, %rcx
lea addresses_WT_ht+0x1a100, %rsi
lea addresses_D_ht+0xd2e0, %r... |
tests/z80test-1.0/src/testmacros.asm | PhylumChordata/chips-test | 674 | 84376 | ; Macros for defining the test vectors.
;
; Copyright (C) 2012 <NAME> (<EMAIL>)
;
; This source code is released under the MIT license, see included license.txt.
macro db8 b7,b6,b5,b4,b3,b2,b1,b0
db (b7<<7)|(b6<<6)|(b5<<5)|(b4<<4)|(b3<<3)|(b2<<2)|(b1<<1)|b0
endm
... |
libsrc/ace/ace_freemem.asm | andydansby/z88dk-mk2 | 1 | 101797 | <reponame>andydansby/z88dk-mk2<filename>libsrc/ace/ace_freemem.asm
;
; Jupiter ACE specific routines
; by <NAME>, 31/05/2010
;
; unsigned int ace_freemem();
;
; This function returns the free memory size
;
; $Id: ace_freemem.asm,v 1.1 2010/05/31 08:29:06 stefano Exp $
;
XLIB ace_freemem
ace_freemem:
ld hl,($3C3B) ... |
oeis/076/A076149.asm | neoneye/loda-programs | 11 | 83911 | <reponame>neoneye/loda-programs
; A076149: Expansion of x^2(3+2x)/(1-x-5x^2-3x^3).
; Submitted by <NAME>
; 0,3,5,20,54,169,499,1506,4508,13535,40593,121792,365362,1096101,3288287,9864878,29594616,88783867,266351581,799054764,2397164270,7191492833,21574478475,64723435450,194170306324,582510918999
mov $1,1
lpb $0
sub ... |
programs/oeis/080/A080538.asm | neoneye/loda | 22 | 29837 | ; A080538: Number of neutrons in longest known radioactive decay series ending with Lead 207 ("actinium series"), reversed.
; 125,126,128,129,131,132,134,136,138,139,141,143,145,147,149,151,153,155,157,159,161
mul $0,-2
add $0,256
mov $1,50176
div $1,$0
sub $1,71
mov $0,$1
|
programs/oeis/204/A204160.asm | karttu/loda | 0 | 244997 | ; A204160: Symmetric matrix based on f(i,j)=(3i-2 if i=j and = 0 otherwise), by antidiagonals.
; 1,1,1,1,4,1,1,1,1,1,1,1,7,1,1,1,1,1,1,1,1,1,1,1,10,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,13,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,16,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,19,1,1,1,1,1,1,1,1,1,1,1,1
lpb $0,1
add $1,4
su... |
oeis/285/A285309.asm | neoneye/loda-programs | 11 | 21849 | <filename>oeis/285/A285309.asm
; A285309: Sum of nonsquare divisors of n.
; Submitted by <NAME>
; 0,2,3,2,5,11,7,10,3,17,11,23,13,23,23,10,17,29,19,37,31,35,23,55,5,41,30,51,29,71,31,42,47,53,47,41,37,59,55,85,41,95,43,79,68,71,47,103,7,67,71,93,53,110,71,115,79,89,59,163,61,95,94,42,83,143,67,121,95,143,71,145,73,113,... |
Sources/Swarm/swarm_configuration.ads | ForYouEyesOnly/Space-Convoy | 1 | 27958 | <filename>Sources/Swarm/swarm_configuration.ads<gh_stars>1-10
--
-- Jan & <NAME>, Australia, July 2011
--
with Ada.Numerics; use Ada.Numerics;
with Ada.Real_Time; use Ada.Real_Time;
with Graphics_Configuration; use Graphics_Configuration;
with Real_Type; use Real_Type;
with Swarm_Config... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_515.asm | ljhsiun2/medusa | 9 | 163192 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x5893, %rsi
nop
nop
nop
nop
nop
inc %r14
movl $0x61626364, (%rsi)
nop
nop
nop
nop
inc %r9
lea addresses_A_ht+0x17bf3, %r14
nop
nop
xor %rbp, %rbp
vmovups (%r14), %ymm0
vextrac... |
data/mapHeaders/daycarem.asm | adhi-thirumala/EvoYellow | 16 | 94662 | <reponame>adhi-thirumala/EvoYellow
DayCareM_h:
db HOUSE ; tileset
db DAYCAREM_HEIGHT, DAYCAREM_WIDTH ; dimensions (y, x)
dw DayCareMBlocks, DayCareMTextPointers, DayCareMScript ; blocks, texts, scripts
db $00 ; connections
dw DayCareMObject ; objects
|
source/strings/a-sbwsfm.ads | ytomino/drake | 33 | 25500 | pragma License (Unrestricted);
-- extended unit
with Ada.Strings.Wide_Functions.Maps;
package Ada.Strings.Bounded_Wide_Strings.Functions.Maps is
new Generic_Maps (Wide_Functions.Maps);
pragma Preelaborate (Ada.Strings.Bounded_Wide_Strings.Functions.Maps);
|
alloy4fun_models/trashltl/models/5/Dga4tJv8cA5TtRD9c.als | Kaixi26/org.alloytools.alloy | 0 | 196 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idDga4tJv8cA5TtRD9c_prop6 {
all f:Trash | always f in Trash'
}
pred __repair { idDga4tJv8cA5TtRD9c_prop6 }
check __repair { idDga4tJv8cA5TtRD9c_prop6 <=> prop6o } |
Categories/Support/FinSet.agda | copumpkin/categories | 98 | 7953 | <gh_stars>10-100
{-# OPTIONS --universe-polymorphism #-}
module Support.FinSet where
open import Support
open import Support.Nat
unbound : ∀ {n} (m : Fin n) → ℕ
unbound zero = zero
unbound {suc n} (suc y) = suc (unbound {n} y)
.Fin-is-bounded : ∀ (n : ℕ) (m : Fin n) → (unbound m < n)
Fin-is-bounded .(suc n) (zero {n... |
graphwalker-dsl/src/main/antlr4/org/graphwalker/dsl/yed/YEdVertexParser.g4 | bilred/graphwalker-project | 0 | 5320 | <reponame>bilred/graphwalker-project
parser grammar YEdVertexParser;
options {
tokenVocab=YEdLabelLexer;
}
parse
locals [java.util.Set<String> fields = new java.util.HashSet<String>();]
: start
| field* EOF
;
field
: {!$parse::fields.contains("names")}? names {$parse::fields.add("names");}
| {!$parse::fields.... |
ManagedDll/Release/.NETFramework,Version=v4.0.AssemblyAttributes.asm | TheodorLindberg/Mindstorm-controller | 0 | 82618 | <filename>ManagedDll/Release/.NETFramework,Version=v4.0.AssemblyAttributes.asm
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.14.26428.1
; Generated by VC++ for Common Language Runtime
.file "C:\Users\Theodor\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cpp"
|
programs/oeis/156/A156660.asm | karttu/loda | 0 | 3834 | ; A156660: Characteristic function of Sophie Germain primes.
; 0,0,1,1,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,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,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0... |
org.alloytools.alloy.extra/extra/models/book/appendixA/phones.als | Kaixi26/org.alloytools.alloy | 527 | 4392 | module appendixA/phones
sig Phone {
requests: set Phone,
connects: lone Phone
}
|
install/scripts/lock.scpt | CoderVikas/mindotfiles | 0 | 951 | #!/usr/bin/osascript
activate application "Keychain Access"
tell application "System Events"
keystroke "," using command down
tell process "Keychain Access"
click checkbox "Show keychain status in menu bar" of tab group 1 of window 1
delay 10
end tell
end tell
tell application "Keychain Access"
quit
end tell
|
oeis/111/A111052.asm | neoneye/loda-programs | 11 | 102801 | <filename>oeis/111/A111052.asm
; A111052: Numbers n such that 3*n^2 + 4 is prime.
; Submitted by <NAME>
; 1,3,5,7,11,19,21,25,31,33,37,39,45,49,53,73,75,77,81,89,91,93,107,115,119,129,131,135,137,145,157,185,187,193,203,205,207,213,215,221,227,229,231,249,259,261,263,271,283,291,297,299,301,317,325,327,331,343,345,357,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.