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 |
|---|---|---|---|---|
test/asset/agda-stdlib-1.0/Data/Container/Indexed/WithK.agda | omega12345/agda-mode | 5 | 17063 | <filename>test/asset/agda-stdlib-1.0/Data/Container/Indexed/WithK.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Some code related to indexed containers that uses heterogeneous
-- equality
-----------------------------------------------------------------... |
spring semester 2 course/operatin_system_labs/lab_4/proc_output.asm | andrwnv/study-progs | 4 | 245162 | public output_proc
data segment para public 'data'
text db 'Input two number w/o space:$'
new_line db 13, 10, '$'
data ends
code segment para public 'code'
assume cs:code, ds:data
input_start:
output_proc proc near
push bp
mov bp, sp
mov ax, [bp+4]
... |
programs/oeis/085/A085409.asm | karttu/loda | 1 | 161285 | ; A085409: Sum of three solutions of the Diophantine equation x^2 - y^2 = z^3.
; 0,12,84,270,624,1200,2052,3234,4800,6804,9300,12342,15984,20280,25284,31050,37632,45084,53460,62814,73200,84672,97284,111090,126144,142500,160212,179334,199920,222024,245700,271002,297984,326700,357204,389550
mov $1,$0
mul $1,3
mul $0,$1
... |
src/data_const.asm | maziac/dezogif | 2 | 11326 | <filename>src/data_const.asm
;===========================================================================
; data.asm
;
; All volatile data is defined here.
;
; Note: The area does not need to be copied. i.e. is initialized on the fly.
;===========================================================================
; The... |
oeis/087/A087076.asm | neoneye/loda-programs | 11 | 16084 | <reponame>neoneye/loda-programs
; A087076: Sums of the squares of the elements in the subsets of the integers 1 to n.
; Submitted by <NAME>
; 0,1,10,56,240,880,2912,8960,26112,72960,197120,518144,1331200,3354624,8314880,20316160,49020928,116981760,276430848,647495680,1504706560,3471835136,7958691840,18136170496,4110417... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2508.asm | ljhsiun2/medusa | 9 | 17939 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1884b, %rsi
nop
xor $60732, %r9
and $0xffffffffffffffc0, %rsi
vmovntdqa (%rsi), %ymm3
vextracti128 $1, %ymm3, %xmm3
vpextrq $0, %xmm3, ... |
oeis/288/A288516.asm | neoneye/loda-programs | 11 | 170699 | ; A288516: Number of (undirected) paths in the ladder graph P_2 X P_n.
; 1,12,49,146,373,872,1929,4118,8589,17644,35889,72538,146021,293200,587801,1177278,2356541,4715412,9433537,18870210,37744021,75492152,150988969,301983206,603972333,1207951292,2415909969,4831828138,9663665349,19327340704,38654692409,77309396878,1546... |
src/Prelude/List/Relations/Permutation.agda | t-more/agda-prelude | 0 | 12375 | module Prelude.List.Relations.Permutation where
open import Prelude.List.Base
open import Prelude.List.Relations.Any
data Permutation {a} {A : Set a} : List A → List A → Set a where
[] : Permutation [] []
_∷_ : ∀ {x xs ys} (i : x ∈ ys) → Permutation xs (deleteIx ys i) →
Permutation (x ∷ xs) ys
|
programs/oeis/020/A020986.asm | neoneye/loda | 22 | 10638 | <reponame>neoneye/loda<filename>programs/oeis/020/A020986.asm
; A020986: a(n) = n-th partial sum of Golay-Rudin-Shapiro sequence A020985.
; 1,2,3,2,3,4,3,4,5,6,7,6,5,4,5,4,5,6,7,6,7,8,7,8,7,6,5,6,7,8,7,8,9,10,11,10,11,12,11,12,13,14,15,14,13,12,13,12,11,10,9,10,9,8,9,8,9,10,11,10,9,8,9,8,9,10,11,10,11,12,11,12,13,14,15... |
src/results/adabase-results-sets.adb | jrmarino/AdaBase | 30 | 12855 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
with Ada.Characters.Handling;
package body AdaBase.Results.Sets is
package ACH renames Ada.Characters.Handling;
--------------
-- column --
--------------
function column (row : Datarow; inde... |
oeis/017/A017166.asm | neoneye/loda-programs | 11 | 29907 | <gh_stars>10-100
; A017166: a(n) = (9*n)^6.
; 0,531441,34012224,387420489,2176782336,8303765625,24794911296,62523502209,139314069504,282429536481,531441000000,941480149401,1586874322944,2565164201769,4001504141376,6053445140625,8916100448256,12827693806929,18075490334784,25002110044521,34012224000000,45579633110361,602... |
examples/asm-32/int_math.asm | patrickf2000/upl | 0 | 84608 | .intel_syntax noprefix
.data
.bss
.text
.extern puts
.extern printf
.extern exit
.extern fflush
.extern input_int
.extern print_int
.global main
main:
push ebp
mov ebp, esp
sub esp, 48
mov DWORD PTR [ebp-8], 10
mov DWORD PTR [ebp-12], 5
mov eax, [ebp-8]
add eax, [ebp-12]
mov DWORD PTR[ebp-16], e... |
test/emul/002-nop.asm | phillid/toy-cpu-assembler | 0 | 94493 | ; POST $1 = 0x0
; POST $2 = 0x0
; POST $3 = 0x0
; POST $4 = 0x0
; POST $5 = 0x0
; POST $6 = 0x0
nop
|
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-chepoo.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 21383 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
rails.adb | AfroMetal/concurrent-railroad-ada | 0 | 12192 | <gh_stars>0
--
-- <NAME> 221454
--
package body Rails is
protected body Track is
function Get_Id return Integer is
begin
return Id;
end Get_Id;
function Get_Type return Track_Type is
begin
return Typee;
end Get_Type;
entry Get_Lock(S... |
core/lib/types/Unit.agda | mikeshulman/HoTT-Agda | 0 | 14063 | {-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.types.Paths
module lib.types.Unit where
pattern tt = unit
⊙Unit : Ptd₀
⊙Unit = ⊙[ Unit , unit ]
abstract
-- Unit is contractible
Unit-is-contr : is-contr Unit
Unit-is-contr = (unit , λ y → idp)
Unit-is-prop : is-prop Unit
Uni... |
Driver/Socket/TCPIP/tcpipLink.asm | steakknife/pcgeos | 504 | 164633 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
GEOWORKS CONFIDENTIAL
PROJECT: Socket
MODULE: TCP/IP Driver
FILE: tcpipLink.asm
AUTHOR: <NAME>, <NAME>, 1994
ROUTINES:
Name Description
---- ... |
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sccz80/round.asm | jpoikela/z88dk | 0 | 85227 |
SECTION code_fp_math32
PUBLIC round
EXTERN cm32_sccz80_round
defc round = cm32_sccz80_round
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _round
defc _round = round
ENDIF
|
programs/oeis/063/A063732.asm | neoneye/loda | 22 | 22897 | <filename>programs/oeis/063/A063732.asm
; A063732: Numbers n such that Lucas representation of n excludes L_0 = 2.
; 0,1,3,4,5,7,8,10,11,12,14,15,16,18,19,21,22,23,25,26,28,29,30,32,33,34,36,37,39,40,41,43,44,45,47,48,50,51,52,54,55,57,58,59,61,62,63,65,66,68,69,70,72,73,75,76,77,79,80,81,83,84,86,87,88,90
mul $0,2
mo... |
T1.asm | matprado/Calculadora_Assembly | 0 | 8963 | #Trabalho 1 de Organização e Arquitetura de Computadores.
#O objetivo desse trabalho é fazer um programa em Assembly MIPS que simule uma calculadora com
#determinadas operações.
#Convenção: argumentos para os procedimentos sempre ficam entre os registradores $a0, ..., $a3(ou $f.. para valores flutuantes)
# e retorno ... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/join/Object.asm | prismotizm/gigaleak | 0 | 91447 | <filename>other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/join/Object.asm
Name: Object.asm
Type: file
Size: 21179
Last-Modified: '1992-11-18T01:48:24Z'
SHA-1: 090EDF701B6F46B8B7A37C9A8D850ABF035EFF69
Description: null
|
Ada/inc/Problem_36.ads | Tim-Tom/project-euler | 0 | 16305 | package Problem_36 is
procedure Solve;
end Problem_36;
|
oeis/138/A138401.asm | neoneye/loda-programs | 11 | 10219 | ; A138401: a(n) = prime(n)^4 - prime(n).
; 14,78,620,2394,14630,28548,83504,130302,279818,707252,923490,1874124,2825720,3418758,4879634,7890428,12117302,13845780,20151054,25411610,28398168,38950002,47458238,62742152,88529184,104060300,112550778,131079494,141158052,163047248,260144514,294499790,352275224,373300902,49288... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-cforse.adb | orb-zhuchen/Orb | 0 | 22609 | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
programs/oeis/037/A037281.asm | neoneye/loda | 22 | 80464 | ; A037281: Number of iterations of transformation in A037280 needed to reach 1 or a prime, or -1 if no such number exists.
; 0,0,0,1,0,1,0,1,1,2,0
mov $1,$0
dif $0,2
div $1,2
dif $1,2
add $1,2
div $0,$1
|
plurals/plural.g4 | fighterlyt/t | 8 | 656 | <reponame>fighterlyt/t
grammar plural;
// 关于复数表达式的官方描述:
// https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html#index-specifying-plural-form-in-a-PO-file
// plural 表达式是 C 语法的表达式,但不允许负数出现,而且只能出现整数,变量只允许 n。可以有空白,但不能反斜杠换行。
// 生成 Go 代码的命令 (在本目录下执行): antlr4 -Dlanguage=Go plural.g4 -o parser
start: exp;... |
Definition/LogicalRelation/Substitution/MaybeEmbed.agda | CoqHott/logrel-mltt | 2 | 9391 | {-# OPTIONS --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Substitution.MaybeEmbed {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped
open import Definition.LogicalRelation
open import Definition.LogicalRelation.Irrelevance
open import Definiti... |
s-ficobl.adb | ytomino/gnat4drake | 0 | 28178 | <gh_stars>0
package body System.File_Control_Block is
function Stream (File : AFCB_Ptr) return Interfaces.C_Streams.FILEs is
begin
raise Program_Error; -- FILE * is not used in drake
return Stream (File);
end Stream;
end System.File_Control_Block;
|
src/skill-types.ads | skill-lang/adaCommon | 0 | 29378 | -- ___ _ ___ _ _ --
-- / __| |/ (_) | | Common SKilL implementation --
-- \__ \ ' <| | | |__ API types for skill types --
-- |___/_|\_\_|_|____| by: <NAME>, <NAME> --
-- ... |
programs/oeis/057/A057070.asm | karttu/loda | 1 | 175461 | ; A057070: floor[8^8/n].
; 16777216,8388608,5592405,4194304,3355443,2796202,2396745,2097152,1864135,1677721,1525201,1398101,1290555,1198372,1118481,1048576,986895,932067,883011,838860,798915,762600,729444,699050,671088,645277
add $0,1
mov $1,16777216
div $1,$0
|
BasicIS4/Metatheory/DyadicGentzenSpinalNormalForm-HereditarySubstitution.agda | mietek/hilbert-gentzen | 29 | 13400 | <reponame>mietek/hilbert-gentzen
module BasicIS4.Metatheory.DyadicGentzenSpinalNormalForm-HereditarySubstitution where
open import BasicIS4.Syntax.DyadicGentzenSpinalNormalForm public
-- Hereditary substitution and reduction.
mutual
[_≔_]ⁿᶠ_ : ∀ {A B Γ Δ} → (i : A ∈ Γ) → Γ ∖ i ⁏ Δ ⊢ⁿᶠ A → Γ ⁏ Δ ⊢ⁿᶠ B → Γ ∖ i ⁏ Δ ... |
Cubical/Foundations/Equiv/Properties.agda | howsiyu/cubical | 0 | 17034 | <filename>Cubical/Foundations/Equiv/Properties.agda
{-
A couple of general facts about equivalences:
- if f is an equivalence then (cong f) is an equivalence ([equivCong])
- if f is an equivalence then pre- and postcomposition with f are equivalences ([preCompEquiv], [postCompEquiv])
- if f is an equivalence then (Σ[... |
extern/gnat_sdl/gnat_sdl2/src/sdl_messagebox_h.ads | AdaCore/training_material | 15 | 16638 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with SDL_stdinc_h;
with Interfaces.C.Strings;
limited with SDL_video_h;
package SDL_messagebox_h is
-- Simple DirectMedia Layer
-- Copyright (C) 1997-2018 <NAME> <<EMAIL>>
-- This software is provided 'as-is', without any expre... |
45/qb/ir/context.asm | minblock/msdos | 0 | 161386 | <reponame>minblock/msdos<gh_stars>0
TITLE context.asm - context manager
;***
;context.asm - context manager for the Quick Basic Interpreter
;
; Copyright <C> 1986, 1987 Microsoft Corporation
;
;Purpose:
; - Creation and Deletion of entries in the Module and Procedure Register Set
; tables.
; - Swapping mo... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c54a42b.ada | best08618/asylo | 7 | 12746 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c54a42b.ada
-- C54A42B.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. Governmen... |
lab7/src/5/src/boot/mbr.asm | YatSenOS/YatSenOS-Tutorial-Volume-1 | 400 | 21399 | %include "boot.inc"
org 0x7c00
[bits 16]
xor ax, ax ; eax = 0
; 初始化段寄存器, 段地址全部设为0
mov ds, ax
mov ss, ax
mov es, ax
mov fs, ax
mov gs, ax
; 初始化栈指针
mov sp, 0x7c00
mov ax, LOADER_START_SECTOR
mov cx, LOADER_SECTOR_COUNT
mov bx, LOADER_START_ADDRESS
load_bootloader:
push ax
push bx
call asm_read_hard... |
arch/ARM/STM32/svd/stm32f103/stm32_svd-wwdg.ads | morbos/Ada_Drivers_Library | 2 | 29999 | <reponame>morbos/Ada_Drivers_Library
-- This spec has been automatically generated from STM32F103.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.WWDG is
pragma Preelaborate;
---------------
-- Registers --
------------... |
access_types.adb | charlesincharge/Intro_to_Ada | 0 | 25786 | -- Example adapted from "Ada Crash Course"
with Ada.Unchecked_Deallocation;
-- Declaring access types (similar application to pointers)
-- Often times, an "out" variable will suffice
procedure Access_Types is
type Integer_Access is access all Integer;
Int_P : Integer_Access; -- initializes to null
-- P1 =... |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_21829_1422.asm | ljhsiun2/medusa | 9 | 99089 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xb2ea, %r8
nop
nop
nop
nop
dec %r15
vmovups (%r8), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $0, %xmm5, %rdi
nop
nop
xor $38794, %r15
lea addresses_UC_ht+0x18412, %r13
nop
nop
nop
nop
... |
oeis/024/A024647.asm | neoneye/loda-programs | 11 | 242946 | ; A024647: n written in fractional base 8/5.
; Submitted by <NAME>
; 0,1,2,3,4,5,6,7,50,51,52,53,54,55,56,57,520,521,522,523,524,525,526,527,570,571,572,573,574,575,576,577,5240,5241,5242,5243,5244,5245,5246,5247,5710,5711,5712,5713,5714,5715,5716,5717,5760,5761,5762,5763,5764,5765
mov $3,1
lpb $0
mov $2,$0
div $0... |
Library/SpecUI/CommonUI/CButton/copenButtonCommon.asm | steakknife/pcgeos | 504 | 17196 | COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: CommonUI/COpen (gadgets code common to all specific UIs)
FILE: copenButtonCommon.asm
ROUTINES:
Name Description
---- ------------
INT OLB... |
bitwise-trie.asm | andrestorino/computer-organization | 0 | 166009 | # SSC-0112 - Organização de Computadores Digitais
#
# Implementação de uma Bitwise Trie em Assembly MIPS
#
# Alunos:
# <NAME> - 9442688
# <NAME> - 9292970
# <NAME> - ...
# <NAME> - ...
#
# Montado e executado utilizando MARS
#
# USO DE REGISTRADORES
# ╔═════════════╦══════════════════════... |
resources/scripts/scrape/searchcode.ads | wisdark/amass | 2 | 5626 | -- Copyright 2021 <NAME>. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
name = "Searchcode"
type = "scrape"
function start()
set_rate_limit(2)
end
function vertical(ctx, domain)
for i=0,20 do
local page, err = request(ctx, {url=... |
examples/stm32f1/bootloader/bootloader.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 12167 | <reponame>ekoeppen/STM32_Generic_Ada_Drivers<filename>examples/stm32f1/bootloader/bootloader.adb<gh_stars>1-10
with System.Machine_Code; use System.Machine_Code;
with System; use System;
with Interfaces; use Interfaces;
with STM32_SVD; use STM32_SVD;
with Flash;
with STM32GD.Board;
package body Bootloader is
Line ... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_21829_239.asm | ljhsiun2/medusa | 9 | 92389 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x15e22, %rsi
lea addresses_D_ht+0x14b22, %rdi
clflush (%rdi)
inc %rbp
mov $113, %rcx
rep movsb
nop
nop
nop
nop
nop
sub %r13, %r13
lea addresses_normal_ht+0x10822... |
programs/oeis/021/A021136.asm | karttu/loda | 0 | 3968 | <reponame>karttu/loda
; A021136: Decimal expansion of 1/132.
; 0,0,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7,5,7
lpb $0,1
mod $0,2
add $1,1
mul $1,7
sub $1,$0
su... |
programs/oeis/204/A204269.asm | neoneye/loda | 22 | 103440 | <gh_stars>10-100
; A204269: Symmetric matrix: f(i,j)=floor[(i+j+2)/4]-floor[(i+j)/4], by (constant) antidiagonals.
; 1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,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,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
se... |
Cubical/Data/Sigma/Properties.agda | Edlyr/cubical | 0 | 3951 | <reponame>Edlyr/cubical
{-
Basic properties about Σ-types
- Action of Σ on functions ([map-fst], [map-snd])
- Characterization of equality in Σ-types using dependent paths ([ΣPath{Iso,≃,≡}PathΣ], [Σ≡Prop])
- Proof that discrete types are closed under Σ ([discreteΣ])
- Commutativity and associativity ([Σ-swap-*, Σ-ass... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/gnatlink.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 3146 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
programs/oeis/108/A108598.asm | neoneye/loda | 22 | 166461 | ; A108598: Floor(n*((5+sqrt(5))/4)).
; 1,3,5,7,9,10,12,14,16,18,19,21,23,25,27,28,30,32,34,36,37,39,41,43,45,47,48,50,52,54,56,57,59,61,63,65,66,68,70,72,74,75,77,79,81,83,85,86,88,90,92,94,95,97,99,101,103,104,106,108,110,112,113,115,117,119,121
mov $1,$0
add $1,1
seq $1,276881 ; Sums-complement of the Beatty sequenc... |
projects/project2_lc3_symbol_table_python/p1.asm | pegurnee/2015-01-341 | 0 | 172547 | <reponame>pegurnee/2015-01-341
.ORIG x1000
LD R2, A
LD R3, B
ADD R4, R2, R3
ST R4, ANS
HALT
ANS .FILL X0000
A .FILL X0001
B .FILL X0002
C .STRINGZ "answer"
D .BLKW 5
E .FILL X0003
.END
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr26.ads | best08618/asylo | 7 | 2770 | <gh_stars>1-10
with Discr26_Pkg;
package Discr26 is
type T1 (D : Integer) is record
case D is
when 1 => I : Integer;
when others => null;
end case;
end record;
type My_T1 is new T1 (Discr26_Pkg.N);
procedure Proc;
end Discr26;
|
programs/oeis/336/A336649.asm | neoneye/loda | 22 | 16564 | <reponame>neoneye/loda
; A336649: Sum of divisors of A336651(n) (odd part of n divided by its largest squarefree divisor).
; 1,1,1,1,1,1,1,1,4,1,1,1,1,1,1,1,1,4,1,1,1,1,1,1,6,1,13,1,1,1,1,1,1,1,1,4,1,1,1,1,1,1,1,1,4,1,1,1,8,6,1,1,1,13,1,1,1,1,1,1,1,1,4,1,1,1,1,1,1,1,1,4,1,1,6,1,1,1,1,1,40,1,1,1,1,1,1,1,1,4,1,1,1,1,1,1,... |
src/ether-forms.ads | Lucretia/ether | 4 | 22095 | <reponame>Lucretia/ether
-- -*- Mode: Ada -*-
-- Filename : ether-forms.ads
-- Description : Abstraction around the form data returned from the SCGI client (HTTP server).
-- Author : <NAME>
-- Created On : Tue May 1 13:10:29 2012
with GNAT.Sockets;
with Unicode... |
arch/ARM/STM32/svd/stm32l0x3/stm32_svd-stk.ads | morbos/Ada_Drivers_Library | 2 | 15738 | <reponame>morbos/Ada_Drivers_Library<gh_stars>1-10
-- This spec has been automatically generated from STM32L0x3.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.STK is
pragma Preelaborate;
---------------
-- Registers --
... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_479.asm | ljhsiun2/medusa | 9 | 12529 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %rax
push %rdi
lea addresses_UC_ht+0x1beec, %r14
nop
nop
nop
nop
nop
mfence
mov $0x6162636465666768, %rdi
movq %rdi, (%r14)
nop
nop
add $36246, %r15
pop %rdi
pop %rax
pop %r15
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r15... |
Source/Levels/L1011.asm | AbePralle/FGB | 0 | 15538 | <gh_stars>0
; L1011.asm
; Generated 04.26.2001 by mlevel
; Modified 04.26.2001 by <NAME>
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
STATE_DEFUSED EQU 2
;---------------------------------------------------------------------
SECTION "Level1011Section",ROMX
;------------------------------------------------... |
src/main/antlr/org/softlang/megal/grammar/Megal.g4 | lukashaertel/megal-vm | 0 | 5270 | <filename>src/main/antlr/org/softlang/megal/grammar/Megal.g4
grammar Megal;
import JSON;
// Tokens that describe increase and decrease of indentation
tokens { INDENT, DEDENT }
// Setup the imports for the Denter Helper
@lexer::header {
import com.yuvalshavit.antlr4.DenterHelper;
import static org.softlang.megal.g... |
libsrc/target/bondwell/ioctl/generic_console_scrollup.asm | ahjelm/z88dk | 640 | 99146 |
SECTION code_graphics
PUBLIC generic_console_scrollup
EXTERN swapgfxbk
EXTERN swapgfxbk1
EXTERN clsgraph
EXTERN CONSOLE_ROWS
EXTERN CONSOLE_COLUMNS
defc DISPLAY = 0xF800
defc pagein = swapgfxbk
defc pageout = swapgfxbk1
... |
audio/sfx/cry02_3.asm | adhi-thirumala/EvoYellow | 16 | 243193 | <filename>audio/sfx/cry02_3.asm
SFX_Cry02_3_Ch1:
duty 0
unknownsfx0x20 8, 245, 128, 4
unknownsfx0x20 2, 225, 224, 5
unknownsfx0x20 8, 209, 220, 5
endchannel
SFX_Cry02_3_Ch2:
dutycycle 165
unknownsfx0x20 7, 149, 65, 4
unknownsfx0x20 2, 129, 33, 5
unknownsfx0x20 8, 97, 26, 5
SFX_Cry02_3_Ch3:
endchannel
|
1-base/lace/applet/demo/event/distributed/source/chat-client-local.adb | charlie5/lace | 20 | 29887 | <filename>1-base/lace/applet/demo/event/distributed/source/chat-client-local.adb
with
chat.Registrar,
lace.Response,
lace.Observer,
lace.Event.utility,
system.RPC,
ada.Exceptions,
ada.Text_IO;
package body chat.Client.local
is
-- Utility
--
function "+" (From : in unbounde... |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver1/sfc/ys_w28.asm | prismotizm/gigaleak | 0 | 177701 | Name: ys_w28.asm
Type: file
Size: 22387
Last-Modified: '2016-05-13T04:51:15Z'
SHA-1: 3BD7EAA78A150060440791826313F6333462AB4F
Description: null
|
audio/sfx/cry25_3.asm | opiter09/ASM-Machina | 1 | 243530 | <reponame>opiter09/ASM-Machina<gh_stars>1-10
SFX_Cry25_3_Ch5:
duty_cycle_pattern 2, 2, 1, 1
square_note 6, 15, 4, 1856
square_note 15, 14, 3, 1840
square_note 4, 15, 4, 1856
square_note 5, 11, 3, 1864
square_note 8, 13, 1, 1872
sound_ret
SFX_Cry25_3_Ch6:
duty_cycle_pattern 1, 3, 1, 3
square_note 6, 12, 3, 18... |
elena_lang/src30/asm/x32/core_vm.asm | bencz/cpu-simulator | 2 | 6142 | <reponame>bencz/cpu-simulator<gh_stars>1-10
// --- System Core API --
define NEWFRAME 10014h
define INIT_ET 10015h
define ENDFRAME 10016h
define RESTORE_ET 10017h
define OPENFRAME 10019h
define CLOSEFRAME 1001Ah
rstructure core_vm'dll_name
db 101 // e
db 108 /... |
test/Fail/Imports/Issue958.agda | cruhland/agda | 1,989 | 14917 |
module Imports.Issue958 where
postulate FunctorOps : Set
module FunctorOps (ops : FunctorOps) where
postulate map : Set
postulate IsFunctor : Set
module IsFunctor (fun : IsFunctor) where
postulate ops : FunctorOps
open FunctorOps ops public
|
test/include/gmp-6.1.2/mpn/cnd_sub_n.asm | kcpikkt/apa | 43 | 19455 | dnl AMD64 mpn_cnd_add_n, mpn_cnd_sub_n
dnl Copyright 2011-2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public License as pub... |
src/main/resources/g.g4 | Dastamn/antlr-compiler | 0 | 4017 | grammar g;
/*parser*/
axiom: importLib* MODIFIER? 'class_SJ' CLASS_NAME L_BR declaration* mainBlock? R_BR EOF;
importLib: 'import' lib SEMI_COLON+;
lib: LIBRARY | ID;
declaration: VAR_TYPE idList SEMI_COLON+;
idList: ID (COMA ID)*;
mainBlock: 'main_SJ' instBlock;
instBlock: L_BR instruction* R_BR;
instruction: (affec... |
test/asset/agda-stdlib-1.0/Data/AVL/Value.agda | omega12345/agda-mode | 5 | 10429 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Values for AVL trees
-- Values must respect the underlying equivalence on keys
-----------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Bin... |
tools-src/gnu/gcc/gcc/ada/a-comlin.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 16711 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
apps/breakfast/pde_fw/toast/examples/Assembly (CCE)/msp430x24x_tb_07.asm | tp-freeforall/breakfast | 1 | 163995 | <filename>apps/breakfast/pde_fw/toast/examples/Assembly (CCE)/msp430x24x_tb_07.asm
;******************************************************************************
; MSP430F249 Demo - Timer_B, PWM TB1-6, Up Mode, DCO SMCLK
;
; Description: This program generates six PWM outputs on P4.1-6 using
; Timer_B configure... |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_573_1194.asm | ljhsiun2/medusa | 9 | 179552 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rdi
lea addresses_A_ht+0xb1d0, %r12
clflush (%r12)
inc %r13
vmovups (%r12), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq $0, %xmm6, %r8
nop
sub %rdi, %rdi
pop %rdi
pop %r8
pop %r13
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push ... |
oeis/277/A277369.asm | neoneye/loda-programs | 11 | 94861 | ; A277369: a(0) = 5, a(1) = 8; for n>1, a(n) = 2*a(n-1) + a(n-2).
; Submitted by <NAME>
; 5,8,21,50,121,292,705,1702,4109,9920,23949,57818,139585,336988,813561,1964110,4741781,11447672,27637125,66721922,161080969,388883860,938848689,2266581238,5472011165,13210603568,31893218301,76997040170,185887298641,448771637452,108... |
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/null_pointer_deref2.adb | TUDSSL/TICS | 7 | 16838 | <reponame>TUDSSL/TICS
-- { dg-do run }
-- { dg-options "-gnatp" }
-- This test requires architecture- and OS-specific support code for unwinding
-- through signal frames (typically located in *-unwind.h) to pass. Feel free
-- to disable it if this code hasn't been implemented yet.
procedure Null_Pointer_Deref2 is
... |
Transynther/x86/_processed/NONE/_zr_xt_/i9-9900K_12_0xa0_notsx.log_21829_61.asm | ljhsiun2/medusa | 9 | 84929 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x147dd, %r14
cmp %r15, %r15
and $0xffffffffffffffc0, %r14
vmovntdqa (%r14), %ymm2
vextracti128 $1, %ymm2, %xmm2
vpextrq $1, %xmm2, %r13
nop
nop
nop
nop
xor %rdi, %rdi
lea add... |
test/interaction/CompilationWarnings.agda | shlevy/agda | 1,989 | 12784 | -- See also test/Succeed/InlineCompiled.agda
module _ where
id : {A : Set} → A → A
id x = x
{-# INLINE id #-}
-- this is pointless and should generate a warning in the info buffer
{-# COMPILE GHC id = \ _ x -> x #-}
|
src/src/c/borlandc/dpmi32/peek.asm | amindlost/wdosx | 7 | 170460 | .386
.model flat,C
PUBLIC peek
PUBLIC peekb
.code
peek proc near
push ds
mov ds,[esp+4]
mov edx,[esp+8]
mov eax,[edx]
pop ds
ret
peek endp
peekb proc near
push ds
mov ds,[esp+4]
mov edx,[esp+8]
sub eax,eax
mov al,[edx]
pop ds
ret
peekb endp
end
|
data/pokemon/base_stats/magikarp.asm | Dev727/ancientplatinum | 2 | 11456 | db 0 ; species ID placeholder
db 20, 10, 55, 80, 15, 20
; hp atk def spd sat sdf
db WATER, WATER ; type
db 255 ; catch rate
db 20 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 5 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/magikarp/fr... |
as4.adb | twinbee/djikstrasStabilizing | 0 | 12133 | <filename>as4.adb
----------------------------csc410/prog4/as4.adb----------------------------
-- Author: <NAME>
-- Class: CSC410 Burgess
-- Date: 10-05-04 Modified: 10-17-04
-- Due: 10-12-04
-- Desc: Assignment 4: DJIKSTRA'S STABILIZING ALGORITHM
--
-- a nonproduction implementation of
-- DJIKSTRA's algor... |
chap15/ex36/no_unroll_reduce.asm | JamesType/optimization-manual | 374 | 173606 | <reponame>JamesType/optimization-manual
;
; Copyright (C) 2021 by Intel Corporation
;
; Permission to use, copy, modify, and/or distribute this software for any
; purpose with or without fee is hereby granted.
;
; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
; REGARD TO THIS SOFTWARE IN... |
components/src/touch_panel/ft5336/ft5336.ads | rocher/Ada_Drivers_Library | 192 | 17594 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- --
-- ... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1528.asm | ljhsiun2/medusa | 9 | 242026 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x14fee, %rax
nop
nop
nop
nop
add $6520, %r9
movb $0x61, (%rax)
nop
nop
nop
nop
xor $20153, %rbp
lea addresses_normal_ht+0xfc6e, %rsi
lea addresses_WT_ht+0x63c, %rdi
nop
nop
and ... |
alloy4fun_models/trashltl/models/10/Zc8oDSDxwtvZsMd7Y.als | Kaixi26/org.alloytools.alloy | 0 | 1336 | open main
pred idZc8oDSDxwtvZsMd7Y_prop11 {
(File - Protected) in Protected'
}
pred __repair { idZc8oDSDxwtvZsMd7Y_prop11 }
check __repair { idZc8oDSDxwtvZsMd7Y_prop11 <=> prop11o } |
grammars/JsonPath2Lexer.g4 | Open-MBEE/text2text | 0 | 2818 | <filename>grammars/JsonPath2Lexer.g4<gh_stars>0
lexer grammar JsonPath2Lexer;
STRING : '"' (~'\\' | '\\' ~'\n')*? '"'; // STRING adapted from <NAME>, https://stackoverflow.com/questions/23799285/parsing-quoted-string-with-escape-chars
QUESTION : '?' ;
OPENROUND : '(' ;
CLOSEROUND : ')' ;
WILDCARD :... |
Ficheiros assembly (TP's e Testes)/ex15a-folha4.asm | pemesteves/mpcp-1718 | 0 | 23132 | include mpcp.inc
;; declaracoes de dados (variaveis globais)
.data
;; seccao de codigo principal
.code
recinv PROC USES edi esi SEQ: PTR SDWORD, N: DWORD
mov edi, SEQ
mov esi, edi
dec N
mov eax, N
sal eax, 2
add esi, eax
.WHILE edi < esi
mov eax, [edi]
mov edi, [esi]
mov esi, eax
... |
programs/oeis/263/A263941.asm | jmorken/loda | 1 | 173040 | ; A263941: Minimal most likely sum for a roll of n 8-sided dice.
; 1,9,13,18,22,27,31,36,40,45,49,54,58,63,67,72,76,81,85,90,94,99,103,108,112,117,121,126,130,135,139,144,148,153,157,162,166,171,175,180,184,189,193,198,202,207,211,216,220,225
mov $2,$0
mul $0,8
sub $0,1
mov $1,1
add $2,$0
div $2,2
lpb $0
mov $0,2
... |
oeis/022/A022000.asm | neoneye/loda-programs | 11 | 91682 | ; A022000: Expansion of 1/((1-x)(1-4x)(1-11x)(1-12x)).
; Submitted by <NAME>
; 1,28,533,8648,128889,1824276,24950461,333078016,4367420897,56484732044,722650676709,9164986526904,115404823162825,1444532800672132,17990818115880077,223110488408176112,2756753247818503473,33954740252852825340,417067597195198493365,5110529022... |
add.ads | gonma95/RealTimeSystem_CarDistrations | 0 | 14551 | <filename>add.ads
package add is
procedure Background;
end add;
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization3_pkg.adb | best08618/asylo | 7 | 16998 | package body Loop_Optimization3_Pkg is
function F (n : Integer) return Integer is
begin
return n;
end;
end Loop_Optimization3_Pkg;
|
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/p3dos_edrv_from_pdrv.asm | jpoikela/z88dk | 640 | 24237 | ; unsigned char p3dos_edrv_from_pdrv(unsigned char pdrv)
SECTION code_esxdos
PUBLIC p3dos_edrv_from_pdrv
EXTERN asm_p3dos_edrv_from_pdrv
defc p3dos_edrv_from_pdrv = asm_p3dos_edrv_from_pdrv
|
awa/plugins/awa-workspaces/src/model/awa-workspaces-models.ads | My-Colaborations/ada-awa | 81 | 6818 | <filename>awa/plugins/awa-workspaces/src/model/awa-workspaces-models.ads
-----------------------------------------------------------------------
-- AWA.Workspaces.Models -- AWA.Workspaces.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Temp... |
ANTLR_Project/src/MiniC.g4 | SeokBA/Compiler_Term | 0 | 425 | grammar MiniC;
@header {
package generated;
}
program : decl+ ;
decl : var_decl
| fun_decl ;
var_decl : type_spec IDENT ';'
| type_spec IDENT '=' LITERAL ';'
| type_spec IDENT '[' LITERAL ']' ';' ;
type_spec : VOID
| INT ;
fun_decl : type_spec IDENT '(' params ')' compound_stmt ;
params : pa... |
Task/Multisplit/Ada/multisplit.ada | LaudateCorpus1/RosettaCodeData | 1 | 25302 | <filename>Task/Multisplit/Ada/multisplit.ada
with Ada.Containers.Indefinite_Doubly_Linked_Lists;
with Ada.Text_IO;
procedure Multisplit is
package String_Lists is new Ada.Containers.Indefinite_Doubly_Linked_Lists
(Element_Type => String);
use type String_Lists.Cursor;
function Split
(Source : S... |
edk2/ArmPkg/Library/CompilerIntrinsicsLib/Arm/memmove.asm | awwiniot/Aw1689UEFI | 21 | 6890 | <reponame>awwiniot/Aw1689UEFI
//------------------------------------------------------------------------------
//
// Copyright (c) 2011, ARM Limited. All rights reserved.
//
// This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License
// whic... |
Task/Address-of-a-variable/Ada/address-of-a-variable-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 11955 | <reponame>LaudateCorpus1/RosettaCodeData
The_Address : System.Address;
I : Integer;
The_Address := I'Address;
|
agda-stdlib/src/Algebra/Structures.agda | DreamLinuxer/popl21-artifact | 5 | 16074 | <reponame>DreamLinuxer/popl21-artifact
------------------------------------------------------------------------
-- The Agda standard library
--
-- Some algebraic structures (not packed up with sets, operations,
-- etc.)
------------------------------------------------------------------------
-- The contents of this mo... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35502m.ada | best08618/asylo | 7 | 11753 | <gh_stars>1-10
-- C35502M.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.... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/overriding_ops_p.ads | best08618/asylo | 7 | 24260 | package overriding_ops_p is
subtype Name_Type is String (1 .. 30);
type Device is synchronized interface;
-- Base type of devices
procedure Set_Name (Object : in out Device; Name : Name_Type)
is abstract;
-- Set the name of the Device
end overriding_ops_p;
|
test/succeed/CopatternTrailingImplicit.agda | larrytheliquid/agda | 0 | 13456 | <filename>test/succeed/CopatternTrailingImplicit.agda
{-# OPTIONS --copatterns --sized-types #-}
-- {-# OPTIONS -v tc.size.solve:30 #-}
-- {-# OPTIONS -v term:40 -v term.proj:60 --show-implicit #-}
-- Andreas, 2013-10-01 Make sure trailing implicit insertion
-- works with copatterns
module CopatternTrailingImplicit whe... |
programs/oeis/189/A189887.asm | neoneye/loda | 22 | 167004 | ; A189887: Dimension of homogeneous component of degree n in x in the Malcev-Poisson superalgebra S^tilde(M).
; 1,1,2,3,4,6,9,11,12,14,17,19,20,22,25,27,28,30,33,35,36,38,41,43,44,46,49,51,52,54,57,59,60,62,65,67,68,70,73,75,76,78,81,83,84,86,89,91,92,94,97,99,100,102,105,107,108,110,113,115,116,118,121,123,124,126,129... |
complete-progress.agda | hazelgrove/hazelnut-dynamics-agda | 16 | 5808 | <reponame>hazelgrove/hazelnut-dynamics-agda
open import Nat
open import Prelude
open import core
open import contexts
open import progress
open import htype-decidable
open import lemmas-complete
module complete-progress where
-- as in progress, we define a datatype for the possible outcomes of
-- progress for re... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.