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 |
|---|---|---|---|---|
source/coroutines.adb | reznikmm/coroutines | 3 | 10012 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with System.Address_To_Access_Conversions;
with Interfaces.C;
with Coroutines.Polling;
package body Coroutines is
-- void * create_stack (int si... |
libsrc/target/zx-common/graphics/pointxy_MODE6.asm | Frodevan/z88dk | 640 | 92442 | <filename>libsrc/target/zx-common/graphics/pointxy_MODE6.asm
;
; Plotting in Timex Hires mode
;
SECTION code_graphics
PUBLIC pointxy_MODE6
pointxy_MODE6:
defc NEEDpoint = 1
INCLUDE "pixel_MODE6.inc"
|
programs/oeis/095/A095819.asm | karttu/loda | 1 | 89850 | ; A095819: Tenth column (m=9) of (1,4)-Pascal triangle A095666.
; 4,37,190,715,2200,5863,14014,30745,62920,121550,223652,394706,671840,1107890,1776500,2778446,4249388,6369275,9373650,13567125,19339320,27183585,37718850,51714975,70122000,94103724,125076072,164750740
mov $1,$0
add $1,36
mov $2,4
add $2,$0
add $2,4
bin $... |
src/i-saxonsoc.ads | Irvise/Ada_SaxonSOC | 6 | 15240 | <reponame>Irvise/Ada_SaxonSOC<filename>src/i-saxonsoc.ads<gh_stars>1-10
-- Main SaxonSOC package
-- See https://github.com/SpinalHDL/SaxonSoc/blob/
-- bade201e38363030aab41dbec5565885a2f68dc3/bsp/radiona/ulx3s/smp/include/
-- soc.h#L64
-- with System;
package Interfaces.SaxonSOC is
pragma Preelaborate;
pr... |
sources/ippcp/asm_intel64/pcprc4m7as.asm | ntyukaev/ipp-crypto | 30 | 1694 | ;===============================================================================
; Copyright 2015-2020 Intel Corporation
;
; 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.apa... |
Properties/test/properties_test.adb | marcbejerano/ada-tools | 2 | 30709 | <filename>Properties/test/properties_test.adb
-- @(#)File: properties_test.adb
-- @(#)Last changed: Mar 18 2015 10:30:00
-- @(#)Purpose: Java properties file support
-- @(#)Author: <NAME> <<EMAIL>>
-- @(#)Copyright: Copyright (C) 2015, <NAME>, All Rights Reserved
-- @(#)Product: ... |
gcc-gcc-7_3_0-release/gcc/ada/debug.ads | best08618/asylo | 7 | 18613 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
audio.asm | adhi-thirumala/EvoYellow | 16 | 173468 | <reponame>adhi-thirumala/EvoYellow
INCLUDE "charmap.asm"
AUDIO_1 EQU $2
AUDIO_2 EQU $8
AUDIO_3 EQU $1f
AUDIO_4 EQU $20
PCM_1 EQU $21
PCM_2 EQU $22
PCM_3 EQU $23
PCM_4 EQU $24
PCM_5 EQU $25
PCM_6 EQU $31
PCM_7 EQU $32
PCM_8 EQU $33
PCM_9 EQU $34
PCM_10 EQU $35
PCM_11 EQU $36
PCM_12 EQU $37
PCM_13 EQU $38
GLOB... |
programs/oeis/337/A337336.asm | neoneye/loda | 22 | 176353 | ; A337336: a(n) = A048673(n^2).
; 1,5,13,41,25,113,61,365,313,221,85,1013,145,545,613,3281,181,2813,265,1985,1513,761,421,9113,1201,1301,7813,4901,481,5513,685,29525,2113,1625,2965,25313,841,2381,3613,17861,925,13613,1105,6845,15313,3785,1405,82013,7321,10805,4513,11705,1741,70313,4141,44105,6613,4325,1861,49613,2245,6... |
GccTest/src/bootloader/stage2/entry.asm | chibicitiberiu/nanobyte_experiments | 0 | 178744 | <filename>GccTest/src/bootloader/stage2/entry.asm<gh_stars>0
bits 16
section .entry
; c start
extern _start
; sections
extern __bss_start
extern __end
global entry
entry:
cli
; setup segments
mov ax, 0
mov ss, ax
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
; setup stack at 0xFF... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_4470_233.asm | ljhsiun2/medusa | 9 | 4561 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x8859, %r13
nop
nop
dec %rdi
mov (%r13), %esi
nop
nop
nop
add %rcx, %rcx
lea addresses_normal_ht+0x15d31, %r13
nop
nop
nop
nop
xor $44860, %rbp
... |
test/Succeed/Issue383b.agda | cruhland/agda | 1,989 | 10139 | -- Andreas, 2011-05-09
-- {-# OPTIONS -v tc.inj:40 -v tc.meta:30 #-}
module Issue383b where
postulate
Σ : (A : Set) → (A → Set) → Set
U : Set
El : U → Set
mutual
data Ctxt : Set where
_▻_ : (Γ : Ctxt) → (Env Γ → U) → Ctxt
Env : Ctxt → Set
Env (Γ ▻ σ) = Σ (Env Γ) λ γ → El (σ γ)
postulate
Δ : Ctx... |
Lehrjahr_4/Modul_121/traffic_lights.adm.asm | severinkaderli/gibb | 5 | 82368 | ; Ampelsteuerung
JMP Start ; Skip the data table
; Daten
DB 90 ; red/red
DB 98 ; red/red-orange
DB 84 ; red/green
DB 8C ; red/green-orange
DB 90 ; red/red
DB D0 ; red-orange/red
DB 30 ; green/red
DB 70 ; green-orange/red
; Long delay
Long:
MOV CL,10
CALL 60
JMP After
; Middle long delay
Middle:
MOV CL... |
MyGrammar.g4 | humberto-garza/stripled | 0 | 1394 | grammar MyGrammar;
//////////////////////////////////////////////////////////////////
programa:
SIZE
CTEI
CO
programa_1
EOF
;
programa_1:
MANUAL
SC
programa_2
bloque
|
AUTOMATICO
SC
;
programa_2:
varsS
|
/*epsilon*/
;
///////////////////////////////////... |
test/por.asm | killvxk/AssemblyLine | 147 | 99389 | <gh_stars>100-1000
SECTION .text
GLOBAL test
test:
por xmm0, xmm0
por xmm0, xmm1
por xmm0, xmm2
por xmm0, xmm3
por xmm0, xmm4
por xmm0, xmm5
por xmm0, xmm6
por xmm0, xmm7
por xmm1, xmm0
por xmm1, xmm1
por xmm1, xmm2
por xmm1, xmm3
por xmm1, xmm4
por xmm1, xmm5
por xmm1, xmm6
por xmm1, xmm7
por xmm2, xmm0
por xmm2, xmm1... |
src/Prelude/String.agda | lclem/agda-prelude | 0 | 1602 |
module Prelude.String where
open import Agda.Primitive
open import Prelude.Unit
open import Prelude.Char
open import Prelude.Bool
open import Prelude.Nat
open import Prelude.List
open import Prelude.Maybe
open import Prelude.Equality
open import Prelude.Equality.Unsafe
open import Prelude.Decidable
open import Prelud... |
RavenQueryParser/QueryParser.g4 | myarichuk/RavenQueryParser | 2 | 1489 | <reponame>myarichuk/RavenQueryParser<gh_stars>1-10
parser grammar QueryParser;
options { tokenVocab=QueryLexer; }
//note: query and patch are separate to prevent ambiguities
query: projectionFunctionClause* (documentQuery | graphQuery) EOF;
patch:
FROM
(querySourceClause | { NotifyErrorListeners(_input.Lt(-... |
Exam/2017-08/P4.agda | nicolabotta/DSLsofMath | 248 | 6104 | <reponame>nicolabotta/DSLsofMath
-- Problem 4: ``50 shades of continuity''
{-
C(f) = ∀ c : X. Cat(f,c)
Cat(f,c) = ∀ ε > 0. ∃ δ > 0. Q(f,c,ε,δ)
Q(f,c,ε,δ) = ∀ x : X. abs(x - c) < δ ⇒ abs(f x - f c) < ε
C'(f) = ∃ getδ : X -> RPos -> RPos. ∀ c : X. ∀ ε > 0. Q(f,c,ε,getδ c ε)
4a: Define UC(f):
U... |
pwnlib/shellcraft/templates/i386/cgc/cat.asm | DrKeineLust/pwntools | 8,966 | 105017 | <filename>pwnlib/shellcraft/templates/i386/cgc/cat.asm
<%
from pwnlib.shellcraft.i386.cgc import syscall
%>
<%page args="length, is_X, addr"/>
<%docstring>
Invokes the syscall allocate.
For more information, see:
https://github.com/CyberGrandChallenge/libcgc/blob/master/allocate.md
Arguments:
length(int): len... |
source/numerics/i-fortra.adb | ytomino/drake | 33 | 10986 | with System.UTF_Conversions;
package body Interfaces.Fortran is
use type System.UTF_Conversions.From_Status_Type;
use type System.UTF_Conversions.To_Status_Type;
use type System.UTF_Conversions.UCS_4;
function To_Fortran (
Item : Character;
Substitute : Character_Set := '?')
return Charac... |
src/render-text.ads | docandrew/troodon | 5 | 16895 | <filename>src/render-text.ads
with Freetype;
with Render.Fonts;
package Render.Text is
---------------------------------------------------------------------------
-- Render a string to the current OpenGL context
-- @param x X location of the text
-- @param y
-- @param windowW Width of the X window... |
src/isa/avx2/masm/log10_fma3.asm | jepler/aocl-libm-ose | 66 | 85999 | ;
; Copyright (C) 2008-2020 Advanced Micro Devices, Inc. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without modification,
; are permitted provided that the following conditions are met:
; 1. Redistributions of source code must retain the above copyright notice,
; this list... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca.log_21829_1365.asm | ljhsiun2/medusa | 9 | 83497 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x527b, %rdi
nop
nop
and %rdx, %rdx
movb $0x61, (%rdi)
mfence
lea addresses_D_ht+0x383b, %r14
lfence
mov $0x6162636465666768, %rdx
movq %rdx, (%r14)
nop
dec %r13
lea addresses_W... |
programs/oeis/008/A008731.asm | karttu/loda | 0 | 27757 | ; A008731: Molien series for 3-dimensional group [2, n] = *22n.
; 1,0,2,1,3,2,5,3,7,5,9,7,12,9,15,12,18,15,22,18,26,22,30,26,35,30,40,35,45,40,51,45,57,51,63,57,70,63,77,70,84,77,92,84,100,92,108,100,117,108,126,117,135,126,145,135,155,145,165,155,176,165,187
add $0,5
lpb $0,1
add $1,$2
trn $1,$0
trn $0,2
add ... |
Variables/CopyXX12ToScaled.asm | ped7g/EliteNext | 9 | 161675 | <reponame>ped7g/EliteNext<filename>Variables/CopyXX12ToScaled.asm
CopyXX12ToScaled:
CopyResultToScaled:
ldCopyByte XX12+0,UBnkXScaled ; xnormal lo
ldCopyByte XX12+2,UBnkYScaled ; ynormal lo
ldCopyByte XX12+4,UBnkZScaled ; znormal lo and leaves a holding zscaled normal
r... |
externals/mpir-3.0.0/mpn/x86w/divexact_by3c.asm | JaminChan/eos_win | 12 | 178945 | <gh_stars>10-100
; Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
;
; This file is part of the GNU MP Library.
;
; The GNU MP Library is free software; you can redistribute it and/or
; modify it under the terms of the GNU Lesser General Public License as
; published by the Free Software Foundation; e... |
programs/oeis/122/A122434.asm | jmorken/loda | 1 | 20228 | <reponame>jmorken/loda
; A122434: Expansion of (1+x)^3/(1+x+x^2).
; 1,2,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0
mov $2,2
sub $2,$0
mov $3,-1
lpb $0
mov $0,$2
add $2,3
trn $3,33
lpe
sub $0,$3
mov $1... |
oeis/106/A106349.asm | neoneye/loda-programs | 11 | 171252 | ; A106349: Primes indexed by semiprimes.
; Submitted by <NAME>
; 7,13,23,29,43,47,73,79,97,101,137,139,149,163,167,199,227,233,257,269,271,293,313,347,373,389,421,439,443,449,467,487,491,499,577,607,631,647,653,661,673,677,727,751,757,811,821,823,829,839,907,929,937,947,983,1009,1051,1061,1093,1103,1117,1181,1229,1231,... |
rom_src/menu_structure.asm | zxrepo/UzixLS.zx-sizif-xxs | 0 | 101899 | <reponame>zxrepo/UzixLS.zx-sizif-xxs
STRUCT MENU_T
addr DW
items DB
height DB
y_row DB
y_pixel DB
width DB
x DB
x_logo DB
ENDS
STRUCT MENUENTRY_T
text_addr DW
value_cb_addr DW
callback DW
reserved DW
ENDS
MACRO MENU_DEF width
MENU_T {
($+MENU_T)
(((.end-$)/MENUENTRY... |
data/pokemon/base_stats/rapidash.asm | AtmaBuster/pokeplat-gen2 | 6 | 171403 | <gh_stars>1-10
db 0 ; species ID placeholder
db 65, 100, 70, 105, 80, 80
; hp atk def spd sat sdf
db FIRE, FIRE ; type
db 60 ; catch rate
db 192 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/rapidash/front.dimensions"
db GROW... |
source/environment/machine-pc-linux-gnu/s-envblo.adb | ytomino/drake | 33 | 28435 | with C.unistd;
function System.Environment_Block return C.char_ptr_ptr is
begin
return C.unistd.environ;
end System.Environment_Block;
|
libsrc/_DEVELOPMENT/adt/wv_stack/c/sccz80/wv_stack_clear.asm | teknoplop/z88dk | 8 | 85363 | <gh_stars>1-10
; void wv_stack_clear(wv_stack_t *s)
SECTION code_clib
SECTION code_adt_wv_stack
PUBLIC wv_stack_clear
EXTERN asm_wv_stack_clear
defc wv_stack_clear = asm_wv_stack_clear
|
oeis/319/A319433.asm | neoneye/loda-programs | 11 | 19356 | ; A319433: Take Zeckendorf representation of n (A014417(n)), drop least significant bit, take inverse Zeckendorf representation.
; Submitted by <NAME>
; 1,2,2,3,3,4,5,5,6,7,7,8,8,9,10,10,11,11,12,13,13,14,15,15,16,16,17,18,18,19,20,20,21,21,22,23,23,24,24,25,26,26,27,28,28,29,29,30,31,31,32,32,33,34,34,35,36,36,37,37,3... |
src/wrapper.ads | Kurinkitos/Twizy-Security | 1 | 12990 | with perception_data_h; use perception_data_h;
with localization_data_h; use localization_data_h;
with speed_data_h; use speed_data_h;
with gpsModule;
with types; use types;
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Extensions;
with Interface_utils; use Interface_utils;
with converters; use converters;
pa... |
oeis/021/A021896.asm | neoneye/loda-programs | 11 | 161374 | <gh_stars>10-100
; A021896: Decimal expansion of 1/892.
; Submitted by Jon Maiga
; 0,0,1,1,2,1,0,7,6,2,3,3,1,8,3,8,5,6,5,0,2,2,4,2,1,5,2,4,6,6,3,6,7,7,1,3,0,0,4,4,8,4,3,0,4,9,3,2,7,3,5,4,2,6,0,0,8,9,6,8,6,0,9,8,6,5,4,7,0,8,5,2,0,1,7,9,3,7,2,1,9,7,3,0,9,4,1,7,0,4,0,3,5,8,7,4,4,3,9
seq $0,199685 ; a(n) = 5*10^n+1.
div $... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3601a.ada | best08618/asylo | 7 | 26541 | -- CE3601A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
oeis/267/A267779.asm | neoneye/loda-programs | 11 | 86984 | <reponame>neoneye/loda-programs
; A267779: Binary representation of the n-th iteration of the "Rule 211" elementary cellular automaton starting with a single ON (black) cell.
; Submitted by <NAME>(s3)
; 1,101,11001,1111101,111111001,11111111101,1111111111001,111111111111101,11111111111111001,1111111111111111101,1111111... |
MSDOS/Virus.MSDOS.Unknown.monograf.asm | fengjixuchui/Family | 3 | 81368 | <filename>MSDOS/Virus.MSDOS.Unknown.monograf.asm
; MONOGRAF.DRV -- Lotus Driver for Graphics on Monochrome Display
; ============
;
; (For use with Lotus 1-2-3 Version 1A)
;
; (C) Copyright <NAME>, 1985
CSEG Segment
Assume CS:CSEG
Org 0
Beginning dw Offset EndDriver,1,1,Offset Initialize
Org 18h... |
Definition/Conversion/Consequences/Completeness.agda | Vtec234/logrel-mltt | 0 | 10058 | {-# OPTIONS --without-K --safe #-}
module Definition.Conversion.Consequences.Completeness where
open import Definition.Untyped
open import Definition.Typed
open import Definition.Conversion
open import Definition.Conversion.EqRelInstance
open import Definition.LogicalRelation
open import Definition.LogicalRelation.S... |
wayang-commons/wayang-core/src/main/antlr4/org/apache/wayang/core/mathex/MathEx.g4 | berttty/incubator-wayang | 67 | 6195 | /*
* 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 ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_687.asm | ljhsiun2/medusa | 9 | 83111 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_687.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x17cec, %r15
clflush (%r15)
nop
nop
nop
nop
add $5401, %r8
mov $0x6162636465666768,... |
compiler/template/parser/TemplateLexer.g4 | jinge-design/jinge | 0 | 834 | <gh_stars>0
lexer grammar TemplateLexer;
COMMENT: '<!--' .*? '-->';
TAG_OPEN: '<' -> pushMode(TAG);
EXPR_START: '${' -> pushMode(EXPR);
TEXT: ('\\$' | ('$' ~'{') | ~[<$])+;
mode EXPR;
EXPR_END: '}' -> popMode;
EXPR_SEG:
DOUBLE_QUOTE_STRING | SINGLE_QUOTE_STRING | EXPR_TEXT
;
EXPR_TEXT: (~[`}])+;
TPL_STR_START: '... |
source/amf/mof/amf-internals-amf_uri_extents.ads | svn2github/matreshka | 24 | 14972 | <filename>source/amf/mof/amf-internals-amf_uri_extents.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
source/tasking/a-cuprqu.adb | ytomino/drake | 33 | 14909 | <filename>source/tasking/a-cuprqu.adb
package body Ada.Containers.Unbounded_Priority_Queues is
use type Implementation.Node_Access;
protected body Queue is
procedure Do_Dequeue (Element : out Queue_Interfaces.Element_Type);
procedure Do_Dequeue (Element : out Queue_Interfaces.Element_Type) is
... |
Ex5.agda | clarkdm/CS410 | 0 | 8398 | ------------------------------------------------------------------------------
-- CS410 Exercise 5
--
-- Given the overrunning of exercise 4, I've decided to shift the deadline
-- for exercise 5 back to the end of semester 2, so you can have a wee go
-- in the last week of semester 1, but then focus on your CS408 proje... |
programs/oeis/017/A017607.asm | neoneye/loda | 22 | 80890 | ; A017607: (12n+7)^3.
; 343,6859,29791,79507,166375,300763,493039,753571,1092727,1520875,2048383,2685619,3442951,4330747,5359375,6539203,7880599,9393931,11089567,12977875,15069223,17373979,19902511,22665187,25672375,28934443,32461759,36264691,40353607,44738875,49430863,54439939,59776471,65450827,71473375,77854483,84604... |
main.adb | zyron92/banana_tree_generator | 0 | 22148 | with Ada.Command_Line, Ada.Text_IO, Ada.Integer_Text_IO, Parseur, Traceur_Intermediaire, Traceur_Final;
use Ada.Command_Line, Ada.Text_IO, Ada.Integer_Text_IO, Parseur, Traceur_Intermediaire, Traceur_Final;
procedure Main is
Nombre_Sommets: Natural;
--Conversion des caractères 0,1 en format boolean
functi... |
test/all_tests/test_all.adb | charlie5/aShell | 11 | 13305 | with
Test_Ashell,
Test_Command_Error,
Test_Command_Output_To_String,
Test_Environment,
Test_Iterate_Directory,
Test_Piped_Processes,
Test_Pipeline_Error,
Test_Pipeline_Output,
Test_Pipe_Output_To_String,
Test_Wait_On_Process,
Ada.Text_IO;
procedure Test_All
is
... |
compiler/add.asm | mkenney/8bit-cpu | 2 | 85210 | # data is a $label plus a byte:
$d1 0x1C # hex 28
$d2 0b1110 # bin 14
LDAV $d1 # set register A to 28
LDXV $d2 # set register X to 14
ADDX # add register A (always) + register X, store result in register A (always)
OUTA # copy register A to the output register
|
3d/draw.asm | arbruijn/d1dos | 2 | 98302 | <reponame>arbruijn/d1dos
;THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
;SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
;END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
;ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USER... |
Commands/Miscellaneous Commands suite/system info/CPU speed of (get system info).applescript | looking-for-a-job/applescript-examples | 1 | 2273 | <filename>Commands/Miscellaneous Commands suite/system info/CPU speed of (get system info).applescript
#!/usr/bin/osascript
CPU speed of (get system info) |
test/Succeed/Erased-cubical/Cubical.agda | cagix/agda | 1,989 | 15135 | <filename>test/Succeed/Erased-cubical/Cubical.agda<gh_stars>1000+
{-# OPTIONS --safe --cubical #-}
module Erased-cubical.Cubical where
open import Agda.Builtin.Cubical.Path
data ∥_∥ (A : Set) : Set where
∣_∣ : A → ∥ A ∥
trivial : (x y : ∥ A ∥) → x ≡ y
data D′ : Set where
@0 c′ : D′
|
Ada/inc/Problem_08.ads | Tim-Tom/project-euler | 0 | 29495 | <gh_stars>0
package Problem_08 is
procedure Solve;
end Problem_08;
|
libsrc/_DEVELOPMENT/adt/bv_stack/c/sccz80/bv_stack_size.asm | meesokim/z88dk | 0 | 173116 |
; size_t bv_stack_size(bv_stack_t *s)
SECTION code_adt_bv_stack
PUBLIC bv_stack_size
defc bv_stack_size = asm_bv_stack_size
INCLUDE "adt/bv_stack/z80/asm_bv_stack_size.asm"
|
programs/oeis/305/A305747.asm | neoneye/loda | 22 | 175178 | <gh_stars>10-100
; A305747: Let c be the n-th composite number; then a(n) is the smallest divisor of c such that a(n) >= sqrt(c).
; 2,3,4,3,5,4,7,5,4,6,5,7,11,6,5,13,9,7,6,8,11,17,7,6,19,13,8,7,11,9,23,8,7,10,17,13,9,11,8,19,29,10,31,9,8,13,11,17,23,10,9,37,15,19,11,13,10,9,41,12,17,43,29,11,10,13,23,31,47,19,12,14,11,... |
oeis/202/A202064.asm | neoneye/loda-programs | 11 | 27255 | ; A202064: Triangle T(n,k), read by rows, given by (2, -1/2, 1/2, 0, 0, 0, 0, 0, 0, 0, ...) DELTA (0, 1/2, -1/2, 0, 0, 0, 0, 0, 0, 0, ...) where DELTA is the operator defined in A084938.
; Submitted by <NAME>
; 1,2,0,3,1,0,4,4,0,0,5,10,1,0,0,6,20,6,0,0,0,7,35,21,1,0,0,0,8,56,56,8,0,0,0,0,9,84,126,36,1,0,0,0,0,10,120,25... |
src/Categories/Functor/Monoidal/Symmetric.agda | TOTBWF/agda-categories | 0 | 16687 | <reponame>TOTBWF/agda-categories
{-# OPTIONS --without-K --safe #-}
open import Categories.Category.Monoidal.Structure
using (SymmetricMonoidalCategory)
module Categories.Functor.Monoidal.Symmetric {o o′ ℓ ℓ′ e e′}
(C : SymmetricMonoidalCategory o ℓ e) (D : SymmetricMonoidalCategory o′ ℓ′ e′)
where
open import... |
source/required/s-addima.ads | ytomino/drake | 33 | 23160 | pragma License (Unrestricted);
-- implementation unit required by compiler
with System.Storage_Elements.Formatting;
function System.Address_Image (A : Address)
return Storage_Elements.Formatting.Address_String;
pragma Pure (System.Address_Image);
pragma Inline (System.Address_Image);
|
programs/oeis/299/A299250.asm | karttu/loda | 0 | 163728 | ; A299250: Numbers congruent to {9, 11, 21, 29} mod 30.
; 9,11,21,29,39,41,51,59,69,71,81,89,99,101,111,119,129,131,141,149,159,161,171,179,189,191,201,209,219,221,231,239,249,251,261,269,279,281,291,299,309,311,321,329,339,341,351,359,369,371,381,389,399,401,411
mov $2,5
add $2,$0
mov $5,$0
add $0,$2
mov $3,$0
add $5... |
test/interaction/Issue2728-2.agda | cruhland/agda | 1,989 | 15410 | F : {_ : Set₁} → Set₁
F {A} = A
|
programs/oeis/008/A008488.asm | jmorken/loda | 1 | 86858 | <reponame>jmorken/loda
; A008488: Expansion of (1-x^6) / (1-x)^6.
; 1,6,21,56,126,252,461,786,1266,1946,2877,4116,5726,7776,10341,13502,17346,21966,27461,33936,41502,50276,60381,71946,85106,100002,116781,135596,156606,179976,205877,234486,265986,300566,338421,379752,424766,473676,526701,584066,646002,712746,784541,8616... |
oeis/027/A027789.asm | neoneye/loda-programs | 11 | 97426 | ; A027789: a(n) = 2*(n+1)*binomial(n+3,4).
; 4,30,120,350,840,1764,3360,5940,9900,15730,24024,35490,50960,71400,97920,131784,174420,227430,292600,371910,467544,581900,717600,877500,1064700,1282554,1534680,1824970,2157600,2537040,2968064,3455760,4005540,4623150,5314680,6086574,6945640,7899060,8954400,10119620,11403084,1... |
gbc_bios.asm | roukaour/disasm.py | 2 | 84040 | ; http://gbdev.gg8.se/wiki/articles/The_Cartridge_Header
; http://bgb.bircd.org/pandocs.htm#thecartridgeheader
; http://imrannazar.com/Gameboy-Z80-Opcode-Map
; http://pastraiser.com/cpu/gameboy/gameboy_opcodes.html
; http://gameboy.mongenel.com/dmg/opcodes.html
; http://gbdev.gg8.se/wiki/articles/CPU_Comparision_with_... |
programs/oeis/082/A082206.asm | neoneye/loda | 22 | 245818 | <filename>programs/oeis/082/A082206.asm<gh_stars>10-100
; A082206: Digit sum of A082205(n).
; 1,4,7,10,11,14,17,18,21,24,25,28,31,32,35,38,39,42,45,46,49,52,53,56,59,60,63,66,67,70,73,74,77,80,81,84,87,88,91,94,95,98,101,102,105,108,109,112,115,116,119,122,123,126,129,130,133,136,137,140,143,144
mul $0,7
mov $1,$0
lpb... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1804.asm | ljhsiun2/medusa | 9 | 89716 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xcd45, %r10
nop
nop
nop
nop
nop
and %r12, %r12
vmovups (%r10), %ymm4
vextracti128 $0, %ymm4, %xmm4
vpextrq $0, %xmm4, %rsi
nop
nop
nop
and %rbp, %rbp
lea addr... |
mc-sema/validator/x86_64/tests/AND16mr.asm | randolphwong/mcsema | 2 | 102294 | BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_AF
;TEST_FILE_META_END
; AND16mr
;TEST_BEGIN_RECORDING
lea rax, [rsp-0x4]
mov DWORD [rax], 0x5555
mov ebx, 0x7777
and WORD [rax], bx
mov eax, 0x0
;TEST_END_RECORDING
|
blst/build/win64/add_mod_256-x86_64.asm | vmx/lotus-blst | 9 | 13933 | OPTION DOTNAME
.text$ SEGMENT ALIGN(256) 'CODE'
PUBLIC add_mod_256
ALIGN 32
add_mod_256 PROC PUBLIC
DB 243,15,30,250
mov QWORD PTR[8+rsp],rdi ;WIN64 prologue
mov QWORD PTR[16+rsp],rsi
mov r11,rsp
$L$SEH_begin_add_mod_256::
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
mov rcx,r9
push rbp
push rbx
sub rsp,8
$L$... |
obj/user/badsegment.asm | SongBiu/JOS | 0 | 99128 |
obj/user/badsegment: file format elf32-i386
Disassembly of section .text:
00800020 <_start>:
// starts us running when we are initially loaded into a new environment.
.text
.globl _start
_start:
// See if we were started with arguments on the stack
cmpl $USTACKTOP, %esp
800020: 81 fc 00 e0 bf ee cmp ... |
2020 Fall E C E 252/HW08/HW08A/copy2.asm | jsswd888/2020_FALL_UW_MADISON | 0 | 18431 | <filename>2020 Fall E C E 252/HW08/HW08A/copy2.asm
; File name: copy2.asm
; Author:
; Description: copy a value from one memory location
; to another using LDR and STR
.ORIG x0200
START
LEA R0, ANIMALS ; get base address for ANIMALS array
; your code below
LDR R1, R0, #3
STR R1, R0, #8
... |
oeis/032/A032780.asm | neoneye/loda-programs | 11 | 90721 | ; A032780: a(n) = n(n+1)(n+2)...(n+8) / (n+(n+1)+(n+2)+...+(n+8)).
; Submitted by <NAME>(s3.)
; 0,8064,67200,316800,1108800,3203200,8072064,18345600,38438400,75398400,140025600,248312064,423259200,697132800,1114220800,1734163200,2635928064,3922512000,5726448000,8216208000,11603592000,16152200064,22187088000,30105712000... |
bb-runtimes/src/s-bbcppr__sparc.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 21680 | <reponame>JCGobbi/Nucleo-STM32G474RE<filename>bb-runtimes/src/s-bbcppr__sparc.adb<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS ... |
Source/HBIOS/sn76489.asm | vipoo/RomWBW | 0 | 20191 | ;======================================================================
; SN76489 sound driver
;
; WRITTEN BY: <NAME>
;======================================================================
;
; TODO:
; 1. PROVIDE SUPPORT FOR NOISE CHANNEL
; 2. DOES THIS WORK FOR FASTER CPUS? ONLY BEEN TESTED ON A Z80 7MHZ UNIT
... |
data/moves/tmhm_moves.asm | Dev727/ancientplatinum | 2 | 105051 | TMHMMoves:
; entries correspond to *_TMNUM enums (see constants/item_constants.asm)
; TMs
dw DYNAMICPUNCH
dw HEADBUTT
dw CURSE
dw ROLLOUT
dw ROAR
dw TOXIC
dw ZAP_CANNON
dw ROCK_SMASH
dw PSYCH_UP
dw HIDDEN_POWER
dw SUNNY_DAY
dw SWEET_SCENT
dw SNORE
dw BLIZZARD
dw HYPER_BEAM
dw ICY_WIND
dw PROTECT
dw RA... |
alloy4fun_models/trashltl/models/19/AhK8ajQRkgr844eq7.als | Kaixi26/org.alloytools.alloy | 0 | 3286 | open main
pred idAhK8ajQRkgr844eq7_prop20 {
always all t : Trash | (t in Trash) since (t in Protected)
}
pred __repair { idAhK8ajQRkgr844eq7_prop20 }
check __repair { idAhK8ajQRkgr844eq7_prop20 <=> prop20o } |
tests/011_NOP__PAUSE__HLT_-_opcodes_that_does_not_have_dst_and_src.asm | tpisto/pasm | 103 | 162529 | <reponame>tpisto/pasm
; name: NOP, PAUSE, HLT - opcodes that does not have dst and src.
; code: "90F390F4"
[bits 16]
nop
pause
hlt
|
source/tests/regions-run.adb | reznikmm/declarative-regions | 0 | 17269 | <reponame>reznikmm/declarative-regions<gh_stars>0
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Ada.Wide_Wide_Text_IO;
with Regions.Tests;
procedure Regions.Run is
begin
Regions.Tests.Test_Standard;
Ada.W... |
src/natools-web-simple_pages-multipages.adb | faelys/natools-web | 1 | 28416 | <reponame>faelys/natools-web<gh_stars>1-10
------------------------------------------------------------------------------
-- Copyright (c) 2019, <NAME> --
-- --
-- Permission to use, copy, modify, and distrib... |
base/mvdm/dos/v86/cmd/edlin/edlmes.asm | npocmaka/Windows-Server-2003 | 17 | 87602 | PAGE 60,132;
title EDLIN Messages
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;======================= START OF SPECIFICATIONS =========================
;
; MODULE NAME: EDLMES.SAL
;
... |
course_content/CSC258/Final Project/frogger.asm | Yorafa/Course-Note | 0 | 164149 | <gh_stars>0
#####################################################################
#
# CSC258H5S Winter 2022 Assembly Final Project
# University of Toronto, St. George
#
# Student: <NAME>, 10063370928
#
# Bitmap Display Configuration:
# - Unit width in pixels: 8
# - Unit height in pixels: 8
# - Display width in pixels: ... |
src/ships-crew.ads | thindil/steamsky | 80 | 11450 | <gh_stars>10-100
-- Copyright 2017-2021 <NAME>
--
-- This file is part of Steam Sky.
--
-- Steam Sky 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
-- (... |
programs/oeis/282/A282600.asm | jmorken/loda | 1 | 573 | <reponame>jmorken/loda<filename>programs/oeis/282/A282600.asm
; A282600: a(n) = Sum_(k=1..phi(n)) floor(d_k/2) where d_k are the totatives of n.
; 0,0,1,1,4,2,9,6,12,8,25,10,36,18,28,28,64,24,81,36,60,50,121,44,120,72,117,78,196,56,225,120,160,128,204,102,324,162,228,152,400,120,441,210,264,242,529,184,504,240,400,300,... |
edk2/ArmPkg/Library/ArmLib/ArmV7/ArmV7ArchTimerSupport.asm | awwiniot/Aw1689UEFI | 21 | 12620 | <gh_stars>10-100
//------------------------------------------------------------------------------
//
// 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
// which accompanies... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1167.asm | ljhsiun2/medusa | 9 | 173911 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1167.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x139fc, %r14
nop
nop
cmp $40730, %r11
mov $0x6162636465666768, %rbx
movq %rbx, %xmm6
vmovups ... |
FormalAnalyzer/models/apps/ModeButton.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 3654 | module app_ModeButton
open IoTBottomUp as base
open cap_location
open cap_switch
open cap_button
one sig app_ModeButton extends IoTApp {
heldSwitchOn : some cap_switch,
switchOff : some cap_switch,
heldSwitchOff : some cap_switch,
state : one cap_state,
button : one cap_button,
locatio... |
Week_7/17 - Week7_cmp.asm | iamruveyda/KBU-Mikro | 1 | 95009 | .model small
.data
.code
main proc
mov ax,1000H
mov bx,1000H
cmp ax,bx
endp
end main |
programs/oeis/062/A062970.asm | neoneye/loda | 22 | 104030 | <reponame>neoneye/loda
; A062970: a(n) = 1 + Sum_{j=1..n} j^j.
; 1,2,6,33,289,3414,50070,873613,17650829,405071318,10405071318,295716741929,9211817190185,312086923782438,11424093749340454,449317984130199829,18896062057839751445,846136323944176515622,40192544399240714091046,2018612200059554303215025,10687621220005955430... |
src/modules/tapemod.asm | freem/nesmon | 2 | 244693 | ;==============================================================================;
; nesmon/src/modules/tape.asm
; Cassette tape routines
;==============================================================================;
; This is entirely optional, though recommended if you have no other way of
; getting data out of the N... |
lib/am335x_sdk/ti/drv/usb/example/common/usb_arm_r5.asm | brandonbraun653/Apollo | 2 | 164560 | ;******************************************************************************
; @file usb_arm_r5.asm
;
; @brief
; Implementation file for the ARM R5 module CSL-FL.
;
; Contains the different control command and status query functions definitions
;
; \par
; ==================================================... |
kernel/regs.asm | iocoder/upcr | 0 | 17673 | <filename>kernel/regs.asm
;###############################################################################
;# FILE NAME: KERNEL/REGS.ASM
;# DESCRIPTION: DUMP CPU REGISTERS
;# AUTHOR: <NAME>.
;###############################################################################
;#
;# UPCR OPERATING SYSTEM FOR X86_64... |
src/PJ/flic386p/libsrc/fileio/doswrite.asm | AnimatorPro/Animator-Pro | 119 | 243492 | <gh_stars>100-1000
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
include errcodes.i
; pj_dwrite(int file_handle, char *buffer, int size)
; returns bytes actually written
public pj_dwrite
pj_dwrite proc near
pjwrite struc
pjw_savebp dd ?
pjw_ret dd ?
pjw_handle dd ?
pjw_b... |
.emacs.d/elpa/wisi-3.1.3/wisitoken-syntax_trees-lr_utils.adb | caqg/linux-home | 0 | 11786 | <filename>.emacs.d/elpa/wisi-3.1.3/wisitoken-syntax_trees-lr_utils.adb
-- Abstract :
--
-- See spec.
--
-- Copyright (C) 2019, 2020 <NAME> All Rights Reserved.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
... |
tools/xml2ayacc/encoding/encodings-unicode.adb | faelys/gela-asis | 4 | 30914 | <gh_stars>1-10
--------------------------------------------------------
-- E n c o d i n g s --
-- --
-- Tools for convertion strings between Unicode and --
-- national/vendor character sets. --
-- - ... |
Practica2/init.asm | alberto402/Practica-2-avanzada-EL_Mas_Cercano_Gana-Sistemas-Empotrados-Distribuidos | 2 | 24346 | <reponame>alberto402/Practica-2-avanzada-EL_Mas_Cercano_Gana-Sistemas-Empotrados-Distribuidos
.global start
.extern Main
.equ STACK, 0x0C7FF000
start:
LDR SP,=STACK
MOV FP,#0
MOV LR,PC
LDR PC,=Main
End:
B End
.end
|
programs/oeis/033/A033364.asm | neoneye/loda | 22 | 22150 | ; A033364: a(n) = floor(44/n).
; 44,22,14,11,8,7,6,5,4,4,4,3,3,3,2,2,2,2,2,2,2,2,1,1,1,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,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
add $0,1
mov $1,44
div $1,$0
mov $0,$1
|
tools-src/gnu/gcc/gcc/ada/a-strsea.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 23087 | ------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
src/shaders/post_processing/gen5_6/Core_Kernels/PL3_AVS_IEF_8x4.asm | tizenorg/platform.upstream.libva-intel-driver | 0 | 179070 | <reponame>tizenorg/platform.upstream.libva-intel-driver
/*
* All Video Processing kernels
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/e... |
code/6502/tests/tms/tms9918type.asm | visrealm/hbc-56 | 65 | 26980 | <filename>code/6502/tests/tms/tms9918type.asm
; Troy's HBC-56 - TMS9918 Console mode test
;
; Copyright (c) 2021 <NAME>
;
; This code is licensed under the MIT license
;
; https://github.com/visrealm/hbc-56
;
!src "hbc56kernel.inc"
hbc56Meta:
+setHbcMetaTitle "CONSOLE TEST"
rts
hbc56Main:
sei... |
oeis/124/A124442.asm | neoneye/loda-programs | 11 | 174312 | ; A124442: a(n) = Product_{ceiling(n/2) <= k <= n, gcd(k,n)=1} k.
; Submitted by <NAME>
; 1,1,2,3,12,5,120,35,280,63,30240,77,665280,1287,16016,19305,518918400,2431,17643225600,46189,14780480,1322685,28158588057600,96577,4317650168832,58503375,475931456000,75218625,3497296636753920000,215441,202843204931727360000,94670... |
source/nodes/program-nodes-number_declarations.ads | reznikmm/gela | 0 | 21795 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Defining_Identifiers;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Elements.Number_Declarations;
with Program.Eleme... |
programs/oeis/040/A040342.asm | neoneye/loda | 22 | 240493 | <reponame>neoneye/loda
; A040342: Continued fraction for sqrt(362).
; 19,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38
pow $1,$0
gcd $1,2
mul $1,19
mov $0,$1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.