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 |
|---|---|---|---|---|
stage2/16/time.asm | tkchia/biefircate | 24 | 89922 | <gh_stars>10-100
; Copyright (c) 2021 <NAME>
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are
; met:
;
; * Redistributions of source code must retain the above copyright
; notice, this list of conditions and the followi... |
LibraBFT/ImplShared/Util/Dijkstra/EitherD.agda | oracle/bft-consensus-agda | 4 | 16340 | {- 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 LibraBFT.Prelude
module LibraBFT.ImplShared.Util.Dijkstra.... |
src/bin/cpu-visualizer/asm/fill-zero-page.asm | gregtatum/cpu-6502-rs | 0 | 93141 | ; Fill the zero page with incrementing vlues.
lda #$22
root:
sta $00,x
adc #1
inx
jmp root
|
dv3/qlsd/addfd.asm | olifink/smsqe | 0 | 11939 | ; DV3 Add Format Dependent Vector V3.00 1992 <NAME>
; for qlsd : don't use DV3 thing "create" one address returned in D7
section dv3
xdef dv3_addfd
xref gu_thuse
xref gu_thfre
xref gu_achpp
xref gu_rchp
include 'dev8_dv3_keys'
include 'dev8_mac_assert'
;+++
; This is the routine that is used to add on... |
Working Disassembly/Levels/MHZ/Misc Object Data/Map - Mushroom Cap.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 169960 | dc.w word_3E206-Map_MHZMushroomCap
dc.w word_3E214-Map_MHZMushroomCap
dc.w word_3E222-Map_MHZMushroomCap
dc.w word_3E230-Map_MHZMushroomCap
word_3E206: dc.w 2 ; DATA XREF: ROM:0003E1FEo
dc.b $E3, $F, 0, 0, $FF, $E0
dc.b $E3, $F, 0, $10, 0, 0
word_3E214: dc.w 2 ; DATA XREF: ROM:0003E1FEo
... |
non_regression/other_x64_linux_2.att.s.asm | LRGH/plasmasm | 1 | 171217 | <gh_stars>1-10
.file "arith2.c"
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "t_INT-->long assignment"
.LC2:
.string "panic: set_optimize"
.LC3:
.string "t_INT-->ulong assignment"
.LC7:
.string "mallocing NULL object"
.LC12:
.string "Too large primelimit"
.LC13:
.string "lg()"
.LC14:
.string "... |
sources/md/markdown-common_patterns.adb | reznikmm/markdown | 0 | 24593 | -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with League.String_Vectors;
package body Markdown.Common_Patterns is
Link_Destination : constant Wide_Wide_String := "\<([^\<\>\\]|\\.)*\>";
Link_Destination_P... |
oeis/016/A016858.asm | neoneye/loda-programs | 11 | 3909 | <filename>oeis/016/A016858.asm
; A016858: (5n)^10.
; 0,9765625,10000000000,576650390625,10240000000000,95367431640625,590490000000000,2758547353515625,10485760000000000,34050628916015625,97656250000000000,253295162119140625,604661760000000000,1346274334462890625,2824752490000000000,5631351470947265625,10737418240000000... |
boot1/gdt.asm | hyfloac/Kernel | 0 | 13389 | <filename>boot1/gdt.asm
gdt_start:
dq 0
gdt_code:
dw 0xFFFF ; Limit Low
dw 0x0000 ; Base Low
db 0x00 ; Base Middle
db 10011010b ; Access Byte
; [Pr] Present - 1 (Valid)
; [Privl] Privilege - 00 (Ring 0)
; [S] D... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-libm.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 25684 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
oeis/175/A175322.asm | neoneye/loda-programs | 11 | 244679 | <filename>oeis/175/A175322.asm<gh_stars>10-100
; A175322: a(n) = A053141(n)*A001109(n+1) = Sum_{k=A053141(n)+1..A001109(n+1)-1} k.
; Submitted by <NAME>(s1)
; 12,490,17136,584988,19889100,675741430,22955884992,779827644120,26491203224556,899921193951778,30570830043692400,1038508304094967860,35278711531352926572,1198437... |
programs/oeis/005/A005032.asm | neoneye/loda | 22 | 82287 | <reponame>neoneye/loda
; A005032: a(n) = 7*3^n.
; 7,21,63,189,567,1701,5103,15309,45927,137781,413343,1240029,3720087,11160261,33480783,100442349,301327047,903981141,2711943423,8135830269,24407490807,73222472421,219667417263,659002251789,1977006755367,5931020266101,17793060798303,53379182394909,160137547184727,48041264... |
oeis/026/A026064.asm | neoneye/loda-programs | 11 | 14598 | ; A026064: a(n) = (d(n)-r(n))/2, where d = A026063 and r is the periodic sequence with fundamental period (1,1,0,1).
; Submitted by <NAME>
; 35,59,90,127,172,225,287,357,437,527,628,739,862,997,1145,1305,1479,1667,1870,2087,2320,2569,2835,3117,3417,3735,4072,4427,4802,5197,5613,6049,6507,6987,7490,8015,8564,9137,9735,1... |
Sources/Library/vectors_2d_p.ads | ForYouEyesOnly/Space-Convoy | 1 | 14071 | --
-- Jan & <NAME>, Australia, July 2011
--
with Vectors_xD_I; pragma Elaborate_All (Vectors_xD_I);
package Vectors_2D_P is
type xy_Coordinates is (x, y);
package Vectors_2Di is new Vectors_xD_I (Positive, xy_Coordinates);
subtype Vector_2D_P is Vectors_2Di.Vector_xD_I;
Zero_Vector_2D_P : constant Vec... |
alloy4fun_models/trainstlt/models/2/8uKf8K62XMTwPsSh6.als | Kaixi26/org.alloytools.alloy | 0 | 2844 | <gh_stars>0
open main
pred id8uKf8K62XMTwPsSh6_prop3 {
always all t : Train | always lone t.pos
}
pred __repair { id8uKf8K62XMTwPsSh6_prop3 }
check __repair { id8uKf8K62XMTwPsSh6_prop3 <=> prop3o } |
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/DALStatement.g4 | angelbi/shardingsphere | 0 | 2563 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
test/test_alu.asm | kjkszpj/arch8 | 1 | 15678 | nop
nop
mov a0, #42
mov a1, #33
mov a2, #0
add a2, a0
add a2, a1
mov a2, #0
add a2, a0
sub a2, a1
mov a2, #0
add a2, a0
mov @a1, a1
mov a2, @a1
adc a2, @a1
mov a2, #0
add a2, a0
asr a2
mov a2, #0
add a2, a0
or a2, #10
st a2, 7E20h
inc 7E20h
ld a2, 7E20h
|
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_578_122.asm | ljhsiun2/medusa | 9 | 177259 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x19adf, %r12
nop
nop
nop
nop
nop
cmp %r9, %r9
mov $0x6162636465666768, %r14
movq %r14, %xmm2
movups %xmm2, (%r12)
nop
nop
nop
cmp %rdi, %rdi
lea addresses_WT_ht+0x1ced... |
old/Logic/Convenience.agda | Lolirofle/stuff-in-agda | 6 | 2966 | <filename>old/Logic/Convenience.agda
module Logic.Convenience {ℓ} where
import Lvl
open import Data.Tuple as Tuple using (_⨯_ ; _,_)
open import Functional
open import Logic.Propositional{ℓ}
open import Type
record [⇒]-proof (Proof : Stmt → Stmt → Type{ℓ}) : Type{Lvl.𝐒(ℓ)} where
infixl 10 _⇒_
infixr 10 _⇐_
... |
Structure/Operator/Group.agda | Lolirofle/stuff-in-agda | 6 | 3137 | <filename>Structure/Operator/Group.agda
module Structure.Operator.Group where
import Lvl
open import Logic
open import Logic.IntroInstances
open import Logic.Predicate
open import Structure.Setoid
open import Structure.Function
open import Structure.Operator.Monoid using (Monoid)
open import Structure.Operator.Pr... |
src/fot/FOTC/Program/ABP/PropertiesI.agda | asr/fotc | 11 | 204 | <reponame>asr/fotc<filename>src/fot/FOTC/Program/ABP/PropertiesI.agda
------------------------------------------------------------------------------
-- Common properties for the alternating bit protocol
------------------------------------------------------------------------------
{-# OPTIONS --exact-split ... |
Foundation/Library/RuntimeDxe/EfiRuntimeLib/x64/RuntimeLibAsm.asm | bitcrystal/edk | 14 | 86108 | ;------------------------------------------------------------------------------
;
; Copyright (c) 2007, Intel Corporation
; All rights reserved. This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. Th... |
data/baseStats_weird/exeggutor_alola.asm | longlostsoul/EvoYellow | 16 | 16468 | <gh_stars>10-100
db DEX_EXEGGUTOR ; pokedex id
db 95 ; base hp
db 95 ; base attack
db 85 ; base defense
db 55 ; base speed
db 125 ; base special
db GRASS ; species type 1
db DRAGON ; species type 2
db SUPER_POTION ; catch rate
db 212 ; base exp yield
INCBIN "pic/ymon/exeggutor.pic",0,1 ; 77, sprite dimensions
dw Exeggu... |
programs/oeis/212/A212838.asm | karttu/loda | 0 | 243880 | <gh_stars>0
; A212838: Number of 0..n arrays of length 5 with 0 never adjacent to n.
; 2,99,634,2309,6306,14407,29114,53769,92674,151211,235962,354829,517154,733839,1017466,1382417,1844994,2423539,3138554,4012821,5071522,6342359,7855674,9644569,11745026,14196027,17039674,20321309,24089634,28396831,33298682,38854689,451... |
test/Succeed/Issue3291.agda | cruhland/agda | 1,989 | 4559 | <filename>test/Succeed/Issue3291.agda
module _ where
open import Agda.Primitive
open import Agda.Builtin.Equality
open import Agda.Builtin.Nat
variable
ℓ : Level
A B C : Set ℓ
infixr 1 _×_ _,_
record _×_ {ℓ₁ ℓ₂} (A : Set ℓ₁) (B : Set ℓ₂) : Set (ℓ₁ ⊔ ℓ₂) where
constructor _,_
field
fst : A
snd : B
m... |
oeis/288/A288380.asm | neoneye/loda-programs | 11 | 91326 | <filename>oeis/288/A288380.asm<gh_stars>10-100
; A288380: a(n) = 3*a(n-1) - 3*a(n-2) + 3*a(n-3) - 3*a(n-4) + a(n-5) for n >= 1, where a(0) = 2, a(1) = 4, a(2) = 7. a(3) = 11, a(4) = 20.
; Submitted by <NAME>
; 2,4,7,11,20,38,70,130,245,461,866,1630,3070,5780,10883,20495,38596,72682,136874,257762,485417,914137,1721506,3... |
rts/src/a-except.ads | Lucretia/tamp2 | 7 | 11707 | <gh_stars>1-10
with System;
package Ada.Exceptions is
pragma Preelaborate (Exceptions);
type Exception_Id is private;
pragma Preelaborable_Initialization (Exception_Id);
Null_Id : constant Exception_Id;
procedure Raise_Exception
(E : Exception_Id;
Message : String := "");
pragma N... |
oeis/099/A099566.asm | neoneye/loda-programs | 11 | 84158 | ; A099566: A099565(n)/n.
; Submitted by <NAME>(s2)
; 1,2,6,6,30,30,30,240,240,240,240,240,3120,3120,3120,3120,3120,3120,3120,3120,65520,65520,65520,65520,65520,65520,65520,65520,65520,65520,65520,65520,65520
add $0,1
mov $1,1
mov $2,1
mov $3,1
lpb $0
sub $0,$2
add $4,$2
mul $1,$4
mov $2,$3
mov $3,$4
lpe
mov ... |
ffmpeg-3.2.5/libavcodec/x86/hevc_deblock.asm | huyu0415/FFmpeg | 3,645 | 161026 | <reponame>huyu0415/FFmpeg
;*****************************************************************************
;* SSE2-optimized HEVC deblocking code
;*****************************************************************************
;* Copyright (C) 2013 VTT
;*
;* Authors: <NAME> <<EMAIL>>
;*
;* This file is part of FFmpeg.
;*
;... |
Irvine/Examples/ch09/32 bit/Compare.asm | alieonsido/ASM_TESTING | 0 | 166648 | ; Comparing Strings (Compare.asm)
; This program tests the Str_compare procedure,
; which compares two null-terminated strings.
INCLUDE Irvine32.inc
Str_compare PROTO,
string1:PTR BYTE,
string2:PTR BYTE
.data
string_1 BYTE "ABCDEFG",0
string_2 BYTE "ABCDEFG",0
string_3 BYTE 0
string_4 BYTE 0
.... |
lib/mode7_sprites.asm | bitshifters/teletextr | 8 | 22742 | \\ MODE 7 Sprite routines
\\ 6502 source file
\\ Relies on tables in mode7_plot_pixel.asm
\ ******************************************************************
\ * Fast small masked sprite plot routine
\ *
\ * .mode7_sprites_plot_centred
\ * .mode7_sprites_plot_masked
\ *
\ * Call with X = pixel x-coordinate, Y = pixel... |
programs/oeis/187/A187741.asm | neoneye/loda | 22 | 101685 | ; A187741: G.f.: Sum_{n>=0} (1 + n*x)^n * x^n / (1 + x + n*x^2)^n.
; 1,1,1,2,3,6,12,24,60,120,360,720,2520,5040,20160,40320,181440,362880,1814400,3628800,19958400,39916800,239500800,479001600,3113510400,6227020800,43589145600,87178291200,653837184000,1307674368000,10461394944000,20922789888000
mov $1,$0
sub $0,1
gcd $... |
src/sym3n.agda | shinji-kono/Galois | 1 | 2760 | <reponame>shinji-kono/Galois<gh_stars>1-10
open import Level hiding ( suc ; zero )
open import Algebra
module sym3n where
open import Symmetric
open import Data.Unit
open import Function.Inverse as Inverse using (_↔_; Inverse; _InverseOf_)
open import Function
open import Data.Nat hiding (_⊔_) -- using (ℕ; suc; zero)... |
src/renderer.adb | Kidev/DemoAdaPhysics2D | 5 | 10382 | <filename>src/renderer.adb<gh_stars>1-10
with STM32.Board; use STM32.Board;
with Circles; use Circles;
with Rectangles; use Rectangles;
package body Renderer is
procedure Render(W : in out World; Cue : VisualCue)
is
begin
RenderList(W.GetEnvironments);
RenderList(W.GetEntities, Cue.Selected);
... |
unordnung_auch_assembler/asm/attiny13/blinker-16bit-Counter.asm | no-go/Blink_atmega328p | 0 | 6318 | <gh_stars>0
.include "myTiny13.h"
Main:
sbi DDRB, 4
Bittoggle:
ldi A, 0b00010000
in B, PINB
eor A, B
out PORTB, A
ldi XH, 255 ; X := 128k
ldi XL, 255
Loop:
sbiw X, 1 ; X = X-1
breq Bittoggle
rjmp Loop
|
src/StateSizedIO/GUI/WxGraphicsLibLevel3.agda | stephanadls/state-dependent-gui | 2 | 279 | <gh_stars>1-10
--{-# OPTIONS --allow-unsolved-metas #-}
module StateSizedIO.GUI.WxGraphicsLibLevel3 where
open import StateSizedIO.GUI.Prelude
data GuiLev1Command : Set where
putStrLn : String → GuiLev1Command
createFrame : GuiLev1Command
addButton : Frame → Button → GuiLev1Command
createTextCt... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0xca_notsx.log_21829_172.asm | ljhsiun2/medusa | 9 | 165297 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x6d18, %r10
nop
and %rcx, %rcx
mov (%r10), %esi
sub $3876, %r11
lea addresses_UC_ht+0x8518, %rsi
nop
nop
nop
nop
nop
xor $845, %r13
movl $0x61626364, (%rsi)
nop... |
day09/tests/day-test.adb | jwarwick/aoc_2020 | 3 | 21006 | with AUnit.Assertions; use AUnit.Assertions;
package body Day.Test is
procedure Test_Part1 (T : in out AUnit.Test_Cases.Test_Case'Class) is
pragma Unreferenced (T);
v : constant XMAS_Vector.Vector := load_file("test1.txt");
invalid : constant Long_Integer := first_invalid(v, 5);
begin
Ass... |
Appl/GeoCalc/Document/documentMessages.asm | steakknife/pcgeos | 504 | 1991 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: documentMessages.asm
AUTHOR: <NAME>, May 28, 1991
METHODS:
Name Description
---- -----------
REVISION HISTORY:
Name Date Desc... |
2011400_NguyenTuanKiet_Lab1/bt5.asm | alumica/KTMT | 0 | 96686 | <reponame>alumica/KTMT
.model small
.stack 100h
.data
tb1 db "Nhap ky tu thu nhat: $"
tb2 db 0Dh, 0Ah, "Nhap ky tu thu hai: $"
tb3 db 0Dh, 0Ah, "Ky tu tong: $"
kt1 db ?
kt2 db ?
.code
main proc
mov ax, @data
mov ds, ax
lea dx, tb1
mov ah,... |
alloy4fun_models/trashltl/models/9/jnKqkf5ohooaD68Qa.als | Kaixi26/org.alloytools.alloy | 0 | 2313 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idjnKqkf5ohooaD68Qa_prop10 {
always all p: Protected | always p in Protected
}
pred __repair { idjnKqkf5ohooaD68Qa_prop10 }
check __repair { idjnKqkf5ohooaD68Qa_prop10 <=> prop10o } |
programs/oeis/259/A259044.asm | neoneye/loda | 22 | 105397 | ; A259044: Period 8 sequence [ 0, 1, 0, 1, 1, 1, 0, 1, ...].
; 0,1,0,1,1,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,1,1,0,1,0,1,0,1,1,1,0
dif $0,4
mod $0,2
|
pwnlib/shellcraft/templates/arm/setregs.asm | mtdcr/pwntools | 7 | 26282 | <reponame>mtdcr/pwntools
<%
from pwnlib.regsort import regsort
from pwnlib.constants import Constant, eval
from pwnlib.shellcraft import registers
from pwnlib.shellcraft.arm import mov
%>
<%page args="reg_context, stack_allowed = True"/>
<%docstring>
Sets multiple registers, taking any register dependencies int... |
codigo/capitulo 39/archivo_lectura.asm | Nabucodonosor-editorial/ensamblador-x86 | 2 | 98869 | segment .data
MsgError db "se produjo un error",0xA,0xD ;mensaje en caso de
; existir un error al crear el archivo los numeros
; hexadecimales son equivalentes a los numeros decimales
; 10 y 13 los cuales permiten el salto de linea
lon equ $ -MsgError
MsgExito db "archivo abie... |
ldos/src/hdd_loader.asm | arnaud-carre/ldos | 21 | 16766 | <reponame>arnaud-carre/ldos
;---------------------------------------------------------
;
; LDOS (Leonard Demo Operating System)
; AMIGA version
; Written by Leonard/Oxygene
; https://github.com/arnaud-carre/ldos
;
; Hard Disk Drive boot loader
;
;---------------------------------------------------------
_LVOAvailMem ... |
bench.asm | 715209/lc3-vm | 0 | 168233 | <reponame>715209/lc3-vm<filename>bench.asm
.Orig x3000
INIT_CODE
LEA R6, #-1
ADD R5, R6, #0
ADD R6, R6, R6
ADD R6, R6, R6
ADD R6, R6, R5
ADD R6, R6, #-1
ADD R5, R5, R5
ADD R5, R6, #0
LD R4, GLOBAL_DATA_POINTER
GLOBAL_DATA_POINTER .FILL GLOBAL_DATA_START
ADD R6, R6, #-2
STR R7, R6, #0
ADD R6, R6, #-1
STR R5, R6, #0
AD... |
Task/Return-multiple-values/Ada/return-multiple-values.ada | LaudateCorpus1/RosettaCodeData | 1 | 19905 | <filename>Task/Return-multiple-values/Ada/return-multiple-values.ada
with Ada.Text_IO; use Ada.Text_IO;
procedure MultiReturn is
procedure SumAndDiff (x, y : Integer; sum, diff : out Integer) is begin
sum := x + y;
diff := x - y;
end SumAndDiff;
inta : Integer := 5;
intb : Integer := 3;
thesu... |
oeis/206/A206492.asm | neoneye/loda-programs | 11 | 10400 | ; A206492: Sums of rows of the sequence of triangles with nonnegative integers and row widths defined by A004738.
; Submitted by <NAME>(s4)
; 0,3,3,9,21,19,11,25,45,74,66,49,26,55,90,134,190,170,138,97,50,103,162,230,310,405,365,310,243,167,85,173,267,370,485,615,763,693,605,502,387,263,133,269,411,562,725,903,1099,131... |
main/kernel/IDT/idt.asm | KlausAschenbrenner/KAOS | 1 | 12292 | <filename>main/kernel/IDT/idt.asm
[bits 32]
[extern IsrHandler]
; Needed that the C code can call the Assembler function "IdtFlush"
[GLOBAL IdtFlush]
[GLOBAL RaiseInterrupt]
; The following macro emits the ISR assembly routine
%macro ISR_NOERRORCODE 1
[GLOBAL Isr%1]
Isr%1:
cli
push byte 0
... |
src/ada-core/src/linted-sched.adb | mstewartgallus/linted | 0 | 15523 | <filename>src/ada-core/src/linted-sched.adb
-- 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 requ... |
oeis/067/A067491.asm | neoneye/loda-programs | 11 | 247637 | <reponame>neoneye/loda-programs<filename>oeis/067/A067491.asm
; A067491: Powers of 5 with initial digit 1.
; Submitted by <NAME>
; 1,125,15625,1953125,1220703125,152587890625,19073486328125,11920928955078125,1490116119384765625,186264514923095703125,116415321826934814453125,14551915228366851806640625,181898940354585647... |
oeis/120/A120864.asm | neoneye/loda-programs | 11 | 85270 | <reponame>neoneye/loda-programs<filename>oeis/120/A120864.asm
; A120864: a(n) is the number j for which there exists a unique pair (j,k) of positive integers such that (j + k + 1)^2 - 4*k = 12*n^2.
; Submitted by <NAME>
; 2,3,2,12,11,8,3,23,18,11,2,32,23,12,50,39,26,11,59,44,27,8,66,47,26,3,71,48,23,99,74,47,18,104,75,... |
language/abc.g4 | Quanscendence/braynai | 0 | 53 | grammar abc;
/* command:
Grammar change: java org.antlr.v4.Tool -Dlanguage=Python3 -visitor .\abc.g4
Corresponding Code update: abc_lang_visitor.py
Execute: python main.py
Ensure: pip install -r vatsas_requirements.txt # or requirements.txt
Also install antlr from antlr.org
Link reference: https://tomassetti.me/antl... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_147.asm | ljhsiun2/medusa | 9 | 174541 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x17315, %rsi
lea addresses_A_ht+0x2895, %rdi
nop
nop
nop
nop
nop
sub %r13, %r13
mov $82, %rcx
rep movsb
nop
nop
nop
nop
xor $60461, %rbp
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %r13
ret
.global s_fau... |
boot/macros.asm | suncloudsmoon/Simple-Cpp-Kernel | 1 | 86115 | <reponame>suncloudsmoon/Simple-Cpp-Kernel<gh_stars>1-10
;
; Copyright (c) 2022, suncloudsmoon and the Simple-Cpp-Kernel contributors.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c41404a.ada | best08618/asylo | 7 | 6603 | <gh_stars>1-10
-- C41404A.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.... |
Common/print.asm | Martin-H1/6502 | 3 | 12008 | ; -----------------------------------------------------------------------------
; Print related functions that are platform independant, unlike console I/O
; which is platform dependant.
; <NAME> <<EMAIL>>
; -----------------------------------------------------------------------------
.scope
;
; Aliases
;
;
; Data s... |
library/fmGUI_Menus/fmGUI_MenuItemAvailable.applescript | NYHTC/applescript-fm-helper | 1 | 163 | -- fmGUI_MenuItemAvailable({menuItemRef:null})
-- <NAME>, NYHTC
-- return if the specified menu item available.
(*
HISTORY:
2020-03-04 ( dshockley ): Standardized version.
1.1 - 2017-11-06 ( eshagdar ): this handler should an if the menu is available right now, waiting should happen in another handler. try block a... |
programs/oeis/081/A081436.asm | karttu/loda | 1 | 169578 | ; A081436: Diagonal in array of n-gonal numbers A081422.
; 1,7,24,58,115,201,322,484,693,955,1276,1662,2119,2653,3270,3976,4777,5679,6688,7810,9051,10417,11914,13548,15325,17251,19332,21574,23983,26565,29326,32272,35409,38743,42280,46026,49987,54169,58578,63220,68101,73227,78604,84238,90135,96301,102742,109464,116473,1... |
test/smartalign64.asm | bitwiseworks/nasm-os2 | 3 | 96745 | <filename>test/smartalign64.asm
;Testname=test; Arguments=-fbin -osmartalign64.bin; Files=stdout stderr smartalign64.bin
%use smartalign
bits 64
alignmode nop, 32
add ax,ax
align 32
alignmode generic, 32
add ax,ax
align 32
alignmode k7, 32
add ax,ax
align 32
alignmode k8, 32
add ax,... |
components/src/screen/lcd/lcd_hd44780-pcf8574.adb | RREE/Ada_Drivers_Library | 0 | 9421 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2022, AdaCore --
-- ... |
programs/oeis/158/A158593.asm | karttu/loda | 1 | 247508 | ; A158593: a(n) = 38*n^2 + 1.
; 1,39,153,343,609,951,1369,1863,2433,3079,3801,4599,5473,6423,7449,8551,9729,10983,12313,13719,15201,16759,18393,20103,21889,23751,25689,27703,29793,31959,34201,36519,38913,41383,43929,46551,49249,52023,54873,57799,60801,63879,67033,70263,73569,76951,80409,83943,87553,91239,95001,98839,10... |
oeis/017/A017500.asm | neoneye/loda-programs | 11 | 15142 | <reponame>neoneye/loda-programs
; A017500: a(n) = (11*n + 9)^4.
; 6561,160000,923521,3111696,7890481,16777216,31640625,54700816,88529281,136048896,200533921,285610000,395254161,533794816,705911761,916636176,1171350625,1475789056,1836036801,2258530576,2750058481,3317760000,3969126001,4711998736,5554571841,6505390336,757... |
memsim-master/src/histograms.ads | strenkml/EE368 | 0 | 8583 |
with Ada.Containers.Ordered_Maps;
use Ada.Containers;
generic
type Key_Type is (<>);
package Histograms is
type Histogram_Type is tagged private;
procedure Reset(hist : in out Histogram_Type);
procedure Increment(hist : in out Histogram_Type;
key : in Key_Type);
procedur... |
cis341/lab1/addition.asm | zayadur/edu.syr | 0 | 95891 | # Program: Add two numbers received from input
.data
Prompt1: .asciiz "\nPlease type in the first number:\n"
Prompt2: .asciiz "\nPlease type in the second number:\n"
Result_MSG: .asciiz "\nThe answer is:\n"
.text
main:
## Get first number from user, put into $t0.
la $a0, Prompt1
li $v0, 4
syscal... |
asm/switchToPm.asm | rstevenn/LainOS | 2 | 90323 | ; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHET... |
oeis/022/A022354.asm | neoneye/loda-programs | 11 | 87200 | <gh_stars>10-100
; A022354: Fibonacci sequence beginning 0, 20.
; Submitted by <NAME>
; 0,20,20,40,60,100,160,260,420,680,1100,1780,2880,4660,7540,12200,19740,31940,51680,83620,135300,218920,354220,573140,927360,1500500,2427860,3928360,6356220,10284580,16640800,26925380,43566180,70491560,114057740,184549300,298607040,4... |
libsrc/_DEVELOPMENT/l/sccz80/crt0_long/l_long_sub.asm | jpoikela/z88dk | 640 | 169287 | ; Z88 Small C+ Run Time Library
; Long functions
;
; djm 21/2/99
; The old routine is fubarred! Written a new one now..but
; I'm mystified!
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_long_sub
l_long_sub:
; compute A - B
;
; dehl = B
; stack = A, ret
pop ix
... |
programs/oeis/005/A005970.asm | neoneye/loda | 22 | 17450 | ; A005970: Partial sums of squares of Lucas numbers.
; 1,10,26,75,196,520,1361,3570,9346,24475,64076,167760,439201,1149850,3010346,7881195,20633236,54018520,141422321,370248450,969323026,2537720635,6643838876,17393796000,45537549121,119218851370,312119004986,817138163595,2139295485796,5600748293800,14662949395601,38388... |
src/libraries/Rewriters_Lib/src/rewriters_sequence_utils.ads | Fabien-Chouteau/Renaissance-Ada | 1 | 21028 | with Libadalang.Analysis; use Libadalang.Analysis;
with Libadalang.Common; use Libadalang.Common;
with Rejuvenation.Navigation; use Rejuvenation.Navigation;
with Rewriters_Sequence; use Rewriters_Sequence;
package Rewriters_Sequence_Utils is
function Rewrite (RS : Rewriters_Se... |
source/uaflex/uaflex-nodes.adb | svn2github/matreshka | 24 | 16858 | <filename>source/uaflex/uaflex-nodes.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
tools/uaflex/automatons-minimize.adb | faelys/gela-asis | 4 | 13062 | <filename>tools/uaflex/automatons-minimize.adb
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://g... |
Test/ZXSP/tzx.asm | sparks-c16/zasm | 43 | 89303 | <filename>Test/ZXSP/tzx.asm
#!/usr/local/bin/zasm -o original/
#target tzx
; sync bytes:
headerflag: equ 0
dataflag: equ 0xff
; some Basic tokens:
tCLEAR equ $FD ; token CLEAR
tLOAD equ $EF ; token LOAD
tCODE equ $AF ; token CODE
tPRINT equ $F5 ; token PRINT
tRANDOMIZE ... |
source/runtime/pb_support-memory_streams.adb | mgrojo/protobuf | 12 | 8616 | <reponame>mgrojo/protobuf<gh_stars>10-100
-- MIT License
--
-- 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"),
-- to deal in the Software without restriction, including without limi... |
programs/oeis/176/A176961.asm | jmorken/loda | 1 | 26960 | ; A176961: a(n) = (3*2^(n+1) - 8 - (-2)^n)/6.
; 1,2,8,12,36,52,148,212,596,852,2388,3412,9556,13652,38228,54612,152916,218452,611668,873812,2446676,3495252,9786708,13981012,39146836,55924052,156587348,223696212,626349396,894784852,2505397588,3579139412,10021590356,14316557652,40086361428,57266230612,160345445716,229064... |
alloy4fun_models/trashltl/models/9/ntozswcdmXmzssEkS.als | Kaixi26/org.alloytools.alloy | 0 | 1243 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idntozswcdmXmzssEkS_prop10 {
always (all f:Protected | always f in Protected)
}
pred __repair { idntozswcdmXmzssEkS_prop10 }
check __repair { idntozswcdmXmzssEkS_prop10 <=> prop10o } |
src/common/trendy_terminal-completions.adb | pyjarrett/archaic_terminal | 3 | 4316 | <reponame>pyjarrett/archaic_terminal
-------------------------------------------------------------------------------
-- Copyright 2021, The Trendy Terminal Developers (see AUTHORS file)
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License... |
oeis/132/A132954.asm | neoneye/loda-programs | 11 | 176847 | ; A132954: Period 6: repeat [1, 2, 4, -1, -2, -4].
; Submitted by <NAME>
; 1,2,4,-1,-2,-4,1,2,4,-1,-2,-4,1,2,4,-1,-2,-4,1,2,4,-1,-2,-4,1,2,4,-1,-2,-4,1,2,4,-1,-2,-4,1,2,4,-1,-2,-4,1,2,4,-1,-2,-4,1,2,4,-1,-2,-4,1,2,4,-1,-2,-4,1,2,4,-1,-2,-4,1,2,4,-1,-2,-4,1,2
mod $0,6
mov $2,2
pow $2,$0
dif $2,-8
mov $0,$2
|
thesisExamples/TooManyArgs.agda | JoeyEremondi/lambda-pi-constraint | 16 | 36 | <filename>thesisExamples/TooManyArgs.agda
{-# OPTIONS --type-in-type #-}
module TooManyArgs where
open import AgdaPrelude
myFun : (a : Set) -> a -> a -> a
myFun a x y = x
myApp = myFun _ Zero Zero Zero Zero
|
programs/oeis/118/A118266.asm | neoneye/loda | 22 | 104133 | <filename>programs/oeis/118/A118266.asm
; A118266: Coefficient of q^n in (1-q)^5/(1-5q); dimensions of the enveloping algebra of the derived free Lie algebra on 5 letters.
; 1,0,10,40,205,1024,5120,25600,128000,640000,3200000,16000000,80000000,400000000,2000000000,10000000000,50000000000,250000000000,1250000000000,6250... |
Definition/LogicalRelation/Substitution/Weakening.agda | CoqHott/logrel-mltt | 2 | 5385 | {-# OPTIONS --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Substitution.Weakening {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped
open import Definition.Untyped.Properties
open import Definition.LogicalRelation
open import Definition.Logical... |
libsrc/_DEVELOPMENT/adt/p_forward_list_alt/c/sccz80/p_forward_list_alt_size.asm | teknoplop/z88dk | 8 | 91399 |
; size_t p_forward_list_alt_size(p_forward_list_alt_t *list)
SECTION code_clib
SECTION code_adt_p_forward_list_alt
PUBLIC p_forward_list_alt_size
EXTERN asm_p_forward_list_alt_size
defc p_forward_list_alt_size = asm_p_forward_list_alt_size
|
jsurfer-core/src/main/resources/JsonPath.g4 | mthaak/JsonSurfer | 0 | 5088 | grammar JsonPath;
@header {
package org.jsfr.json.compiler;
}
path: '$' relativePath* filter? EOF;
relativePath: searchChild|search|index|indexes|slicing|childNode|childrenNode|anyChild|anyIndex|any;
searchChild: '..' KEY;
search: '..' ;
anyChild: '.*' ;
anyIndex: '[*]' ;
any: '*' ;
index: '[' NUM ']';
indexes: '[' N... |
FinMap.agda | jvoigtlaender/bidiragda | 0 | 11676 | <filename>FinMap.agda
module FinMap where
open import Level using () renaming (zero to ℓ₀)
open import Data.Nat using (ℕ ; zero ; suc)
open import Data.Maybe using (Maybe ; just ; nothing ; maybe′)
open import Data.Fin using (Fin ; zero ; suc)
open import Data.Fin.Properties using (_≟_)
open import Data.Vec using (Vec... |
programs/oeis/171/A171965.asm | jmorken/loda | 1 | 14120 | <filename>programs/oeis/171/A171965.asm
; A171965: Partial sums of floor(n^2/6) (A056827).
; 0,0,0,1,3,7,13,21,31,44,60,80,104,132,164,201,243,291,345,405,471,544,624,712,808,912,1024,1145,1275,1415,1565,1725,1895,2076,2268,2472,2688,2916,3156,3409,3675,3955,4249,4557,4879,5216,5568,5936,6320,6720,7136,7569,8019,8487,8... |
codes/low-level/ch05/macro_local_labels.asm | zhoujiagen/learning-system-programming | 0 | 15983 | %macro mymacro 0
%%labelname:
%%labelname:
%endmacro
mymacro
mymacro
mymacro |
alloy4fun_models/trainstlt/models/3/FnpXH5dhd6fFHQidr.als | Kaixi26/org.alloytools.alloy | 0 | 434 | <filename>alloy4fun_models/trainstlt/models/3/FnpXH5dhd6fFHQidr.als
open main
pred idFnpXH5dhd6fFHQidr_prop4 {
always all disj t1,t2:Train | t1.pos!=t2.pos
}
pred __repair { idFnpXH5dhd6fFHQidr_prop4 }
check __repair { idFnpXH5dhd6fFHQidr_prop4 <=> prop4o } |
metatile.asm | AleffCorrea/BrickBreaker | 4 | 170157 | ;metatile.asm
TILE_BORDER = 31
TILE_EMPTY = 0
TILE_SOLIDIFIER = 1
TILE_TARGET = 2
TILE_RUBBLE = 3
TILE_DAMAGEDBRICK = 4
TILE_BRICK = 5
TILE_GLASSSHARDS = 6
TILE_BROKENGLASSWARE = 7
TILE_GLASSWARE = 8
TILE_BROKENGLASSPANEL = 9
TILE_GLASSPANEL = 10
TILE_METALSHARDS = 11
TILE_DAMAGEDMETALBRICK = 12
TILE_METALBRICK = ... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-valuer.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 16115 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_551.asm | ljhsiun2/medusa | 9 | 21319 | <reponame>ljhsiun2/medusa
.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_normal_ht+0x142d2, %rsi
lea addresses_A_ht+0x7722, %rdi
nop
cmp %r8, %r8
mov $37, %rcx
rep movsq
nop
nop
nop
nop
nop
xor %r12, %r12
lea addresses_WC_ht+0xf9... |
oeis/004/A004488.asm | neoneye/loda-programs | 11 | 247392 | ; A004488: Tersum n + n.
; Submitted by Jon Maiga
; 0,2,1,6,8,7,3,5,4,18,20,19,24,26,25,21,23,22,9,11,10,15,17,16,12,14,13,54,56,55,60,62,61,57,59,58,72,74,73,78,80,79,75,77,76,63,65,64,69,71,70,66,68,67,27,29,28,33,35,34,30,32,31,45,47,46,51,53,52,48,50,49,36,38,37,42,44,43,39,41,40,162,164,163,168,170,169,165,167,166... |
Task/Stack-traces/Ada/stack-traces.ada | djgoku/RosettaCodeData | 0 | 12804 | with Ada.Text_IO; use Ada.Text_IO;
with GNAT.Traceback; use GNAT.Traceback;
with GNAT.Traceback.Symbolic; use GNAT.Traceback.Symbolic;
procedure Test_Stack_Trace is
procedure Call_Stack is
Trace : Tracebacks_Array (1..1_000);
Length : Natural;
begin
Call_Chain (Trace, L... |
src/gl/implementation/gl-objects-queries.adb | Roldak/OpenGLAda | 79 | 5186 | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with GL.API;
package body GL.Objects.Queries is
procedure Begin_Query (Target : GL.Low_Level.Enums.Query_Param;
Object : Query_Object) is
begin
API.Begin_Query (Target... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_371.asm | ljhsiun2/medusa | 9 | 13088 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1d249, %rax
nop
and %r8, %r8
vmovups (%rax), %ymm0
vextracti128 $0, %ymm0, %xmm0
vpextrq $1, %xmm0, %rbp
nop
nop
nop
nop
add $42858, %r9
lea addresses_D_ht+0x9d19, %... |
kernel.asm | chen-cohen/xv6_2 | 0 | 80687 |
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 0f in $0xf,%al
8010000c <entry>:... |
Sources/Globe_3d/objects/globe_3d-impostor-simple.adb | ForYouEyesOnly/Space-Convoy | 1 | 7663 | <reponame>ForYouEyesOnly/Space-Convoy
pragma Warnings (Off);
pragma Style_Checks (Off);
with GLOBE_3D.Textures,
GLOBE_3D.Math;
with glut.Windows; use glut.Windows;
with GL.Errors;
with GLU;
package body GLOBE_3D.Impostor.Simple is
package G3DT renames GLOBE_3D.Textures;
package G3DM renames ... |
oeis/028/A028225.asm | neoneye/loda-programs | 11 | 175508 | <reponame>neoneye/loda-programs
; A028225: Expansion of 1/((1-7x)(1-9x)(1-10x)(1-11x)).
; Submitted by <NAME>
; 1,37,860,16070,263991,3983007,56583850,768771040,10093501781,129000877577,1613435099640,19826334683610,240097655804371,2872253241385747,34007147715912230,399112139110865780
mov $1,1
mov $2,$0
mov $3,$0
lpb $... |
ScrollModus/_code/World0Code/layerCodeLevel.asm | kosmonautdnb/TheLandsOfZador | 0 | 104793 | <filename>ScrollModus/_code/World0Code/layerCodeLevel.asm<gh_stars>0
;-----------------------------------------------------
; x tells if it should be activated or deactivated
;-----------------------------------------------------
LAYER0FUNC SUBROUTINE
rts
LAYER1FUNC SUBROUTINE
rts
LAYER2FUNC SUBROUTINE
rts
LAYER3... |
Structure/Operator/Vector/Subspace.agda | Lolirofle/stuff-in-agda | 6 | 8193 | import Lvl
open import Structure.Operator.Vector
open import Structure.Setoid
open import Type
module Structure.Operator.Vector.Subspace
{ℓᵥ ℓₛ ℓᵥₑ ℓₛₑ}
{V : Type{ℓᵥ}} ⦃ equiv-V : Equiv{ℓᵥₑ}(V) ⦄
{S : Type{ℓₛ}} ⦃ equiv-S : Equiv{ℓₛₑ}(S) ⦄
{_+ᵥ_ : V → V → V}
{_⋅ₛᵥ_ : S → V → V}
{_+ₛ_ _⋅ₛ_ : S → S → S}
... |
src/commands-destroy.adb | GLADORG/glad-cli | 0 | 289 | <reponame>GLADORG/glad-cli
with Ada.Containers; use Ada.Containers;
with Ada.Directories; use Ada.Directories;
with Blueprint; use Blueprint;
with AAA.Strings; use AAA.Strings;
with Ada.Command_Line;
with Ada.Text_IO;
with Templates_Parser;
with CLIC.TTY;
with Filesystem;
with Commands;
package body Command... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.