max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
src/main/kotlin/craicoverflow89/kraql/queries/KraQLQuery.g4 | CraicOverflow89/KraQL | 0 | 4895 | grammar KraQLQuery;
@header
{
import craicoverflow89.kraql.components.*;
import java.lang.StringBuffer;
import java.util.HashMap;
}
// Parser Rules
query returns [KraQLQuery result]
: (
queryCreateTable {$result = $queryCreateTable.result;}
|
queryDeleteFrom {$result ... |
sources/ippcp/asm_ia32/pcpsha1nias.asm | ymarkovitch/ipp-crypto | 0 | 97985 | <gh_stars>0
;===============================================================================
; Copyright 2014-2019 Intel Corporation
; All Rights Reserved.
;
; If this software was obtained under the Intel Simplified Software License,
; the following terms apply:
;
; The source code, information and material ("M... |
Ficha 5 - Programacao mista C++ & Assembly/2a.asm | FEUP-MIEIC/MPCP | 0 | 243138 | <filename>Ficha 5 - Programacao mista C++ & Assembly/2a.asm
;; Funcao 2 em linguagem assembly
;; Valor de retorno: nenhum
.686
.model flat, C
.code
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Aumentar a intensidade da cor somando uma constante K às componentes
;;;;;;;;;;;;;;;;;;;;;;;... |
programs/oeis/029/A029024.asm | neoneye/loda | 22 | 241322 | <reponame>neoneye/loda<filename>programs/oeis/029/A029024.asm
; A029024: Expansion of 1/((1-x)(1-x^2)(1-x^7)(1-x^12)).
; 1,1,2,2,3,3,4,5,6,7,8,9,11,12,15,16,19,20,23,25,28,31,34,37,41,44,49,52,58,61,67,71,77,82,88,94,101,107,115,121,130,136,146,153,163,171,181,190,201,211,223,233,246
lpb $0
mov $2,$0
sub $0,2
se... |
programs/oeis/011/A011941.asm | karttu/loda | 1 | 168851 | <reponame>karttu/loda
; A011941: a(n) = floor(n*(n-1)*(n-2)*(n-3)/31).
; 0,0,0,0,0,3,11,27,54,97,162,255,383,553,774,1056,1409,1842,2369,3000,3750,4633,5663,6855,8226,9793,11574,13587,15851,18387,21216,24360,27840,31680,35904,40536,45603,51131,57147,63678,70753,78402,86655,95543,105097,115350,126336,138089,150642,16403... |
src/siphash-discrete.ads | jhumphry/SPARK_SipHash | 5 | 8432 | <reponame>jhumphry/SPARK_SipHash
-- SipHash.Discrete
-- Implementing SipHash over a generic (relatively small) discrete type
-- Copyright (c) 2015, <NAME> - see LICENSE file for details
-- This generic function will calculate SipHash over arrays such as the standard
-- String type, a discrete type indexed by an integ... |
UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmInit.nasm | d9930239/EDK2 | 0 | 177423 | <filename>UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmmInit.nasm
;------------------------------------------------------------------------------ ;
; Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions o... |
source/oasis/program.ads | optikos/oasis | 0 | 5102 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package Program is
pragma Pure (Program);
subtype Text is Wide_Wide_String;
-- Representation of program text
end Program;
|
external/source/shellcode/windows/msf2/win32_stage_winexec.asm | madhavarao-yejarla/VoIP | 35 | 81013 | <filename>external/source/shellcode/windows/msf2/win32_stage_winexec.asm<gh_stars>10-100
; Title: Win32 Socket Initialization
; Platforms: Windows NT 4.0, Windows 2000, Windows XP, Windows 2003
; Author: <EMAIL>[<EMAIL>
[BITS 32]
%include "win32_stage_api.asm"
jmp short GetCMD
WinExec:
... |
oeis/288/A288870.asm | neoneye/loda-programs | 11 | 86170 | ; A288870: Triangle T from array A(k,n) = (2*k+1)*2^n + 1, k >=0, n >= 0 read by downwards antidiagonals.
; Submitted by <NAME>
; 2,3,4,5,7,6,9,13,11,8,17,25,21,15,10,33,49,41,29,19,12,65,97,81,57,37,23,14,129,193,161,113,73,45,27,16,257,385,321,225,145,89,53,31,18,513,769,641,449,289,177,105,61,35,20,1025,1537,1281,89... |
src/00/random.asm | KnightOS/kernel | 251 | 84732 | <gh_stars>100-1000
initRandom:
push hl
push de
push af
setBankA(0x04) ; filesystem, probably pretty unpredictable
ld hl, 0x4010
ld de, random_seed
ld a, r \ add a, (hl) \ ld l, a \ ld (de), a \ inc de
ld a, r \ add a, (hl) \ ld l, a \ ld (de), a \ inc de
ld... |
oeis/194/A194130.asm | neoneye/loda-programs | 11 | 160263 | <gh_stars>10-100
; A194130: a(n) = n!/gcd(n,3).
; Submitted by <NAME>(s4)
; 1,2,2,24,120,240,5040,40320,120960,3628800,39916800,159667200,6227020800,87178291200,435891456000,20922789888000,355687428096000,2134124568576000,121645100408832000,2432902008176640000,17030314057236480000,1124000727777607680000
add $0,1
mov $... |
Appl/Bindery/Document/documentHdrFtr.asm | steakknife/pcgeos | 504 | 166058 | <gh_stars>100-1000
COMMENT @----------------------------------------------------------------------
Copyright (c) Geoworks 1992-1994 -- All Rights Reserved
PROJECT: GEOS
MODULE: Studio
FILE: documentHdrFtr.asm
ROUTINES:
Name Description
---- -----------
METHODS:
Name Description
---- -----... |
libsrc/stdio/__printf_handle_B.asm | Toysoft/z88dk | 8 | 21664 | <filename>libsrc/stdio/__printf_handle_B.asm
MODULE __printf_handle_B
SECTION code_clib
PUBLIC __printf_handle_B
EXTERN __printf_number
__printf_handle_B:
ld c,0 ;unsigned
ld (ix-9),2
res 1,(ix-4) ;disable '+' flag
jp __printf_number
|
src/main-logic.asm | jhm-ciberman/calculator-asm | 2 | 11772 | <reponame>jhm-ciberman/calculator-asm<gh_stars>1-10
;-----------------------------------------------
; Arquitectura de Computadores I
;
; Calculadora en Postfijo
;-----------------------------------------------
; + los dos valores al tope de la pila, los retira y luego apila el resultado.
; - resta los valores al to... |
programs/oeis/135/A135087.asm | jmorken/loda | 1 | 162936 | <gh_stars>1-10
; A135087: 2*A134058 - A000012 as infinite lower triangular matrices.
; 1,3,3,3,7,3,3,11,11,3,3,15,23,15,3,3,19,39,39,19,3,3,23,59,79,59,23,3,3,27,83,139,139,83,27,3,3,31,111,223,279,223,111,31,3,3,35,143,335,503,503,335,143,35,3
mov $2,1
trn $2,$0
cal $0,109128 ; Triangle read by rows: T(n,k) = T(n-1,k... |
programs/oeis/027/A027779.asm | karttu/loda | 1 | 16629 | ; A027779: a(n) = 3*(n+1)*C(n+2,6).
; 15,126,588,2016,5670,13860,30492,61776,117117,210210,360360,594048,946764,1465128,2209320,3255840,4700619,6662502,9287124,12751200,17267250,23088780,30515940,39901680,51658425
add $0,6
mov $1,$0
bin $0,6
sub $1,1
mul $1,$0
mul $1,3
|
oeis/054/A054413.asm | neoneye/loda-programs | 11 | 1867 | ; A054413: a(n) = 7*a(n-1) + a(n-2), with a(0)=1 and a(1)=7.
; Submitted by <NAME>
; 1,7,50,357,2549,18200,129949,927843,6624850,47301793,337737401,2411463600,17217982601,122937341807,877779375250,6267392968557,44749530155149,319514104054600,2281348258537349,16288951913816043,116304011655249650,830417033500563593,59292... |
SpriteVideo/main.asm | peteri/stm8ldiscovery | 0 | 9477 | stm8/
.tab 0,8,16,60
#include "mapping.inc"
#include "constants.inc"
#include "stm8l152c6.inc"
#include "boardsetup.inc"
#include "variables.inc"
#include "videosync.inc"
#include "linerender.inc"
#include "demovideo.inc"
stack_start.w EQU $stack_segment_start
stack_end.w EQU $stack_segment_end
segment 'rom'
... |
Ada95/src/terminal_interface-curses-termcap.ads | CandyROM/external_libncurses | 1,167 | 17610 | ------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding --
-- --
-- ... |
programs/oeis/059/A059403.asm | neoneye/loda | 22 | 17507 | ; A059403: Quarter-squared applied twice.
; 0,0,0,1,4,9,20,36,64,100,156,225,324,441,600,784,1024,1296,1640,2025,2500,3025,3660,4356,5184,6084,7140,8281,9604,11025,12656,14400,16384,18496,20880,23409,26244,29241,32580,36100,40000,44100,48620,53361,58564,64009,69960,76176,82944,90000,97656,105625,114244,123201,132860,14... |
lib/include/clear_regs.asm | jkivilin/intel-ipsec-mb | 1 | 178444 | ;;
;; Copyright (c) 2019-2022, Intel Corporation
;;
;; 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... |
programs/oeis/024/A024005.asm | karttu/loda | 1 | 363 | ; A024005: a(n) = 1 - n^7.
; 1,0,-127,-2186,-16383,-78124,-279935,-823542,-2097151,-4782968,-9999999,-19487170,-35831807,-62748516,-105413503,-170859374,-268435455,-410338672,-612220031,-893871738,-1279999999,-1801088540,-2494357887,-3404825446,-4586471423,-6103515624,-8031810175,-10460353202,-13492928511,-17249876308,... |
container/m/level.agda | HoTT/M-types | 27 | 14367 | <filename>container/m/level.agda
module container.m.level where
open import level
open import sum
open import equality.core
open import equality.calculus
open import function.core
open import function.isomorphism
open import function.extensionality
open import sets.unit
open import sets.nat.core
open import hott.level... |
source/tools/InlinedFuncsOpt/inlined_funcs_ia32.asm | NVSL/CSE141pp-Tool-Moneta-Pin | 17 | 15296 | <filename>source/tools/InlinedFuncsOpt/inlined_funcs_ia32.asm
PUBLIC IfProc1
PUBLIC IfProc2
PUBLIC IfProc3
PUBLIC IfProc4
PUBLIC IfProc5
PUBLIC IfProc6
.686
.model flat, c
.XMM
.data
extern globVal:dword
.code
IfProc1 PROC
mov edx, 1
xor eax, eax
cmp edx, ecx
setz al
ret
IfProc1 END... |
src/GBA.BIOS.Extended_Interface.adb | 98devin/ada-gba-dev | 7 | 6995 | <reponame>98devin/ada-gba-dev
-- Copyright (c) 2021 <NAME>
-- zlib License -- see LICENSE for details.
with System;
with Ada.Unchecked_Conversion;
package body GBA.BIOS.Extended_Interface is
procedure Register_RAM_Reset
( Clear_External_WRAM
, Clear_Internal_WRAM
, Clear_Palette
, Clear_VRAM
... |
src/ui/bases-schoolui.adb | thindil/steamsky | 80 | 5881 | <reponame>thindil/steamsky<filename>src/ui/bases-schoolui.adb
-- Copyright (c) 2020-2021 <NAME> <<EMAIL>>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, o... |
src/native/third_party/isa-l/igzip/huffman.asm | eshelmarc/noobaa-core | 178 | 168910 | <reponame>eshelmarc/noobaa-core
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are m... |
programs/oeis/193/A193356.asm | neoneye/loda | 22 | 96565 | ; A193356: If n is even then 0, otherwise n.
; 1,0,3,0,5,0,7,0,9,0,11,0,13,0,15,0,17,0,19,0,21,0,23,0,25,0,27,0,29,0,31,0,33,0,35,0,37,0,39,0,41,0,43,0,45,0,47,0,49,0,51,0,53,0,55,0,57,0,59,0,61,0,63,0,65,0,67,0,69,0,71,0,73,0,75,0,77,0,79,0,81,0,83,0,85,0,87,0,89,0,91,0,93,0,95,0,97,0,99,0
mov $1,-2
bin $1,$0
max $1,... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/task1.ads | best08618/asylo | 7 | 25699 | -- { dg-do compile }
-- { dg-options "-gnatct" }
package Task1 is
type Cable_Task_1 (C : Boolean) is limited private;
type Cable_Rec is limited record
Tsk_1 : Cable_Task_1 (C => False);
end record;
private
task type Cable_Task_1 (C : Boolean) is
end Cable_Task_1;
end Task1;
|
src/util-strings-builders.ads | Letractively/ada-util | 0 | 25958 | <reponame>Letractively/ada-util
-----------------------------------------------------------------------
-- Util-strings-builders -- Set of strings
-- Copyright (C) 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except i... |
data/sample/TrainASM/2F6ZfVCQRi3vrwcj4zxL.asm | dsp-uga/Team-Marianne-p2 | 0 | 241005 | <reponame>dsp-uga/Team-Marianne-p2
HEADER:10000000 ;
HEADER:10000000 ; +-------------------------------------------------------------------------+
HEADER:10000000 ; | This file has been generated by The Interactive Disassembler (IDA) |
HEADER:10000000 ; | Copyright (c) 2013 Hex-Rays, ... |
src/myun/AST/Myun.g4 | DavidWz/Myun-Lang | 0 | 6865 | <gh_stars>0
grammar Myun;
/* A compilation unit consists of a function definition part and a script part. */
compileUnit
: funcDef* script EOF
;
/* A block is a series of statements, possibly with a break or return at the end. */
block: statement* (funcReturn | loopBreak)?;
/* A script has a name and code ... |
test/Succeed/Issue3519.agda | cruhland/agda | 1,989 | 12879 |
open import Agda.Primitive
open import Agda.Builtin.Sigma
variable
ℓ₁ ℓ₂ : Level
is-universal-element : {X : Set ℓ₁} {A : X → Set ℓ₂} → Σ X A → Set (ℓ₁ ⊔ ℓ₂)
is-universal-element {ℓ₁} {ℓ₂} {X} {A} (x , a) = ∀ y → A y
fails : {X : Set ℓ₁} {A : X → Set ℓ₂} (x : X) (a : A x)
→ is-universal-element {A = _} (x ,... |
oeis/208/A208950.asm | neoneye/loda-programs | 11 | 15786 | <reponame>neoneye/loda-programs
; A208950: a(4*n) = n*(16*n^2-1)/3, a(2*n+1) = n*(n+1)*(2*n+1)/6, a(4*n+2) = (4*n+1)*(4*n+2)*(4*n+3)/6.
; 0,0,1,1,5,5,35,14,42,30,165,55,143,91,455,140,340,204,969,285,665,385,1771,506,1150,650,2925,819,1827,1015,4495,1240,2728,1496,6545,1785,3885,2109,9139,2470,5330,2870,12341,3311,7095... |
oeis/072/A072365.asm | neoneye/loda-programs | 11 | 84408 | <reponame>neoneye/loda-programs
; A072365: Decimal expansion of (1/3)^(1/3).
; Submitted by <NAME>
; 6,9,3,3,6,1,2,7,4,3,5,0,6,3,4,7,0,4,8,4,3,3,5,2,2,7,4,7,8,5,9,6,1,7,9,5,4,4,5,9,3,5,1,1,3,4,5,7,7,5,4,0,3,6,5,6,5,8,6,3,6,9,3,4,0,0,0,3,5,4,3,7,1,3,2,4,2,2,9,2,4,5,3,5,3,5,2,2,1,2,2,6,3,5,8,5,8,2,8,9
add $0,1
mov $2,1
... |
TypeTheory/FibDataTypes/Shallow.agda | hbasold/Sandbox | 0 | 10942 | <reponame>hbasold/Sandbox
module Shallow where
open import Level using (_⊔_) renaming (suc to lsuc)
open import Function
open import Data.Unit
open import Data.Empty
open import Data.Product
open import Data.Sum
open import Data.Nat hiding (_⊔_)
open import Data.Fin
open import Relation.Binary.PropositionalEquality as... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_290.asm | ljhsiun2/medusa | 9 | 83989 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rax
push %rbx
push %rsi
lea addresses_WC_ht+0x1293b, %r15
nop
sub $28764, %rax
mov $0x6162636465666768, %rbx
movq %rbx, %xmm1
movups %xmm1, (%r15)
xor %rsi, %rsi
pop %rsi
pop %rbx
pop %rax
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r10
push ... |
programs/oeis/075/A075411.asm | neoneye/loda | 22 | 86110 | <filename>programs/oeis/075/A075411.asm<gh_stars>10-100
; A075411: Squares of A002276.
; 0,4,484,49284,4937284,493817284,49382617284,4938270617284,493827150617284,49382715950617284,4938271603950617284,493827160483950617284,49382716049283950617284,4938271604937283950617284,493827160493817283950617284,4938271604938261728... |
prototyping/pixracer/src/modules/led_manager.ads | TUM-EI-RCS/StratoX | 12 | 15952 | <gh_stars>10-100
-- LED-Library by <NAME> (<EMAIL>) Date:2_015-05-20
--
-- Description:
-- Portable LED Library that features switching, blinking and morse (non-blocking)
--
-- Setup:
-- To port the lib to your system, simply overwrite the 2 functions LED_HAL_init
-- and LED_HAL_set in the .cpp file and adjust... |
scripts/silphco6.asm | adhi-thirumala/EvoYellow | 16 | 169957 | SilphCo6Script:
call SilphCo6Script_1a1bf
call EnableAutoTextBoxDrawing
ld hl, SilphCo6TrainerHeaders
ld de, SilphCo6ScriptPointers
ld a, [wSilphCo6CurScript]
call ExecuteCurMapScriptInTable
ld [wSilphCo6CurScript], a
ret
SilphCo6Script_1a1bf:
ld hl, wCurrentMapScriptFlags
bit 5, [hl]
res 5, [hl]
ret z
ld... |
testSched.asm | LongLeonardoLe/xv6 | 0 | 11429 |
_testSched: file format elf32-i386
Disassembly of section .text:
00000000 <countForever>:
#define PrioCount 7
#define numChildren 10
void
countForever(int i)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
int j, p, rc;
... |
test/Fail/Errors/RequiredOption/SchematicPropositionalSymbols.agda | asr/apia | 10 | 2302 | ------------------------------------------------------------------------------
-- Testing the --schematic-propositional-symbols option
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-un... |
Cubical/HITs/EilenbergMacLane1/Base.agda | thomas-lamiaux/cubical | 0 | 14491 | <filename>Cubical/HITs/EilenbergMacLane1/Base.agda
{-
This file contains:
- The first Eilenberg–Mac Lane type as a HIT
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.EilenbergMacLane1.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.GroupoidLaws
renamin... |
progress.adb | annexi-strayline/AURA | 13 | 15072 | ------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- ... |
Binding_Zstandard/zstandard-functions.adb | jrmarino/zstd-ada | 13 | 22919 | <filename>Binding_Zstandard/zstandard-functions.adb
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Ada.Directories;
with Ada.Direct_IO;
package body Zstandard.Functions is
package DIR renames Ada.Directories;
--------------------
-- Zstd_Versi... |
Formalization/ClassicalPropositionalLogic/SequentCalculus.agda | Lolirofle/stuff-in-agda | 6 | 16092 | open import Type
open import Logic.Classical as Logic using (Classical)
open import Logic.Predicate as Logic using ()
module Formalization.ClassicalPropositionalLogic.SequentCalculus ⦃ classical : ∀{ℓ} → Logic.∀ₗ(Classical{ℓ}) ⦄ where
import Lvl
open import Data
open import Data.Boolean
import Data.Boolean.... |
symbolinen_konekieli/Ratol_msdos/vrtjono.asm | tkukka/VariousContent | 0 | 168393 | <filename>symbolinen_konekieli/Ratol_msdos/vrtjono.asm
;RaTol Symbolinen konekieli: Harjoitus 4, tehtävä 4
;Tero Kukka IY96A
;Tiedosto: vrtjono.asm
;Luotu 13.4.1998
include a:makrot.txt
;Aliohjelma _vrt_jono:
;Parametrit: 1. siirros tutkittav... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_962.asm | ljhsiun2/medusa | 9 | 170267 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1eda7, %rcx
add %rsi, %rsi
movb $0x61, (%rcx)
nop
nop
nop
dec %r12
lea addresses_D_ht+0x7407, %rax
nop
nop
nop
nop
add %rcx, %rcx
mov (%rax), %si
nop... |
oeis/074/A074110.asm | neoneye/loda-programs | 11 | 246551 | <gh_stars>10-100
; A074110: Largest n-digit squarefree number.
; Submitted by <NAME>
; 7,97,998,9998,99998,999997,9999998,99999998,999999998,9999999998,99999999998,999999999998,9999999999998,99999999999998,999999999999998,9999999999999998,99999999999999998,999999999999999998
mov $1,1
mov $2,1
mov $3,$0
add $0,1
mul $3... |
tests/linker/reloc-09-X86_64_GOTPCREL/main.asm | StackDoubleFlow/elfkit | 198 | 4161 | <filename>tests/linker/reloc-09-X86_64_GOTPCREL/main.asm<gh_stars>100-1000
extern msg2;
section .text
global _start
_start:
mov rsi, [rel msg2 wrt ..got]
mov rax, 1
mov rdi, 1
mov rsi, [rel msg2 wrt ..got]
mov rdx, 43
syscall
mov rax, 60
mov rdi, 10
sys... |
oeis/041/A041371.asm | neoneye/loda-programs | 11 | 247168 | ; A041371: Denominators of continued fraction convergents to sqrt(200).
; 1,7,197,1386,39005,274421,7722793,54333972,1529074009,10757852035,302748930989,2130000368958,59942759261813,421729315201649,11868363584907985,83500274409557544,2349876047052519217,16532632603777192063,465263588952813896981,3273377755273474470930,... |
Ada/DataStructures/AVLTree/generic_avl_tree.ads | egustafson/sandbox | 2 | 765 | with Ada.Text_IO;
use Ada.Text_IO;
generic
type Element_Type is private;
with function Less_Than( Left, Right : in Element_Type ) return Boolean;
with function Greater_Than( Left, Right : in Element_Type ) return Boolean;
with procedure Put( Item: in Element_Type );
package Generic_AVL_Tree is
typ... |
programs/oeis/178/A178596.asm | jmorken/loda | 1 | 171175 | <filename>programs/oeis/178/A178596.asm
; A178596: Records in A039996.
; 1,2,3,4,5,6,8,10,11,12,13,14,16,17,18,19,20,21,23,25,26,27,28,29
add $0,1
mov $1,$0
lpb $0
sub $0,3
add $1,1
mov $2,$0
sub $0,7
sub $2,3
mov $3,$2
trn $3,2
trn $2,$3
trn $0,$2
add $1,$2
lpe
sub $1,1
|
oeis/253/A253707.asm | neoneye/loda-programs | 11 | 179007 | <reponame>neoneye/loda-programs
; A253707: Numbers M(n) which are the number of terms in the sums of consecutive cubed integers equaling a squared integer, b^3 + (b+1)^3 + ... + (b+M-1)^3 = c^2, for a first term b(n) being an odd squared integer (A016754).
; Submitted by <NAME>(s2.)
; 17,98,291,644,1205,2022,3143,4616,... |
arch/ARM/Nordic/drivers/nrf51-uart.adb | adnio/Ada_Drivers_Library | 0 | 24532 | <reponame>adnio/Ada_Drivers_Library
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018, AdaCore and other contributors --
-- ... |
src/geste-sprite.adb | Fabien-Chouteau/GESTE | 13 | 18732 | ------------------------------------------------------------------------------
-- --
-- GESTE --
-- --
-- ... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/pkgrename.ads | ouankou/rose | 488 | 24872 | <filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/pkgrename.ads<gh_stars>100-1000
with Ada.Calendar;
package pkgrename is
package AC renames Ada.Calendar;
end pkgrename;
|
adatutor/adatu401.ada | qunying/AdaTutor | 8 | 20019 | <filename>adatutor/adatu401.ada
-- ADATU401.ADA Ver. 4.01 2001-SEP-10 Copyright 1988-2001 <NAME>
--
-- SOFTWARE INNOVATIONS TECHNOLOGY www.adatutor.com
-- 1083 <NAME>
-- PALM BAY FL 32905-4706 <EMAIL>
--
-- (321) 951-0233
--
--
-- This code is written in Ada 83 and will compile... |
source/rom7/r7_fadeLut.asm | evanbowman/Red | 5 | 169419 |
;;; $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
;;;
;;; ASM Source code for Red GBC, by <NAME>, 2021
;;;
;;;
;;; The following licence covers the source code included in this file. The
;;; game's characters and artwork belong to <NAME>, and should not be used
;;; without permission.
;;... |
programs/oeis/046/A046184.asm | neoneye/loda | 22 | 84921 | <gh_stars>10-100
; A046184: Indices of octagonal numbers which are also square.
; 1,9,121,1681,23409,326041,4541161,63250209,880961761,12270214441,170902040409,2380358351281,33154114877521,461777249934009,6431727384198601,89582406128846401,1247721958419651009,17378525011746267721,242051628206028097081,33713442698726470... |
programs/oeis/195/A195234.asm | karttu/loda | 0 | 88650 | ; A195234: Number of lower triangles of a 4 X 4 0..n array with each element differing from all of its diagonal, vertical, antidiagonal and horizontal neighbors by one or less.
; 1024,3151,5428,7705,9982,12259,14536,16813,19090,21367,23644,25921,28198,30475,32752,35029,37306,39583,41860,44137,46414,48691,50968,53245,55... |
alloy4fun_models/trainstlt/models/2/AWQCKBfgG4qGraTbt.als | Kaixi26/org.alloytools.alloy | 0 | 3831 | open main
pred idAWQCKBfgG4qGraTbt_prop3 {
all t : Train | always t.pos in Entry
}
pred __repair { idAWQCKBfgG4qGraTbt_prop3 }
check __repair { idAWQCKBfgG4qGraTbt_prop3 <=> prop3o } |
programs/oeis/343/A343794.asm | neoneye/loda | 22 | 4667 | ; A343794: Numbers k such that 630*k + 315 is not an abundant number (A005101).
; 53,54,56,63,65,68,69,74,75,78,81,83,86,89,90,95,96,98,99,105,111,113,114,116,119,120,125,128,131,134,135,138,140,141,146,153,155,156,158,165,168,173,174,176,179,183,186,189,191,194,198,200,204,209,210,215,216,219,221,224,228,230,231,233,2... |
test/interaction/SplitPreserveInstanceProjection.agda | cruhland/agda | 1,989 | 407 | <reponame>cruhland/agda
record R (A : Set) : Set where
field
f : A → A
open R {{...}}
test : {A : Set} → R A
f {{test}} = {!!}
|
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_6623_1315.asm | ljhsiun2/medusa | 9 | 26382 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x17724, %rcx
inc %r12
mov $0x6162636465666768, %rsi
movq %rsi, (%rcx)
nop
nop
nop
nop
inc %r10
lea addresses_UC_ht+0x8aa4, %rsi
lea addresses_normal_ht+0xe034, %rdi
clflu... |
libsrc/_DEVELOPMENT/sound/bit/z80/asm_bit_beepfx/_bfx_11.asm | meesokim/z88dk | 0 | 27800 |
; BeepFX sound effect by shiru
; http://shiru.untergrund.net
SECTION rodata_sound_bit
PUBLIC _bfx_11
_bfx_11:
; Fat_beep_3
defb 1 ;tone
defw 2000,10,400,0,63104
defb 0
|
maps/Route16Gate.asm | Dev727/ancientplatinum | 28 | 28512 | object_const_def ; object_event constants
const ROUTE16GATE_OFFICER
Route16Gate_MapScripts:
db 1 ; scene scripts
scene_script .DummyScene ; SCENE_DEFAULT
db 0 ; callbacks
.DummyScene:
end
Route16GateOfficerScript:
jumptextfaceplayer Route16GateOfficerText
Route16GateBicycleCheck:
checkitem BICYCLE
iffalse... |
oeis/222/A222941.asm | neoneye/loda-programs | 11 | 12690 | ; A222941: Number of nX3 0..4 arrays with no element equal to another at a city block distance of exactly two, and new values 0..4 introduced in row major order
; Submitted by <NAME>(s2)
; 3,33,420,5880,82320,1152480,16134720,225886080,3162405120,44273671680,619831403520,8677639649280,121486955089920,1700817371258880,2... |
libsrc/_DEVELOPMENT/adt/p_queue/c/sccz80/p_queue_pop.asm | meesokim/z88dk | 0 | 87542 |
; void *p_queue_pop(p_queue_t *q)
SECTION code_adt_p_queue
PUBLIC p_queue_pop
defc p_queue_pop = asm_p_queue_pop
INCLUDE "adt/p_queue/z80/asm_p_queue_pop.asm"
|
oeis/334/A334578.asm | neoneye/loda-programs | 11 | 13996 | <gh_stars>10-100
; A334578: Double subfactorials: a(n) = (-1)^floor(n/2) * n!! * Sum_{i=0..floor(n/2)} (-1)^i/(n-2*i)!!.
; Submitted by <NAME>(s1)
; 1,1,1,2,5,11,29,76,233,685,2329,7534,27949,97943,391285,1469144,6260561,24975449,112690097,474533530,2253801941,9965204131,49583642701,229199695012,1190007424825,572999237... |
smsq/qpc/dv3e.asm | olifink/smsqe | 0 | 161938 | ; SMSQ/E for QPC built in DV3 drivers
section header
xref smsq_end
xref.l dv3_vers
header_base
dc.l dv3_base-header_base ; length of header
dc.l 0 ; module length unknown
dc.l smsq_end-dv3_base ; loaded length
dc.l 0 ; checksum
dc.l 0 ; always select
dc.b 1 ; 1 level down
dc.b 0
dc.w smsq_na... |
assembler/tests/t_80c382/t_80c382.asm | paulscottrobson/RCA-Cosmac-VIP-III | 0 | 166533 | <filename>assembler/tests/t_80c382/t_80c382.asm<gh_stars>0
cpu 80C382
idl ; different opcode
halt ; different opcode than for 80C39
jni $ ; different opcode
dec @r0 ; new addressing mode for instruction
dec @r1 ; new addressing mode for instruction
djnz @r0,$ ; new addressing mode for instruction
djnz @r1,... |
src/gui.ads | Fabien-Chouteau/coffee-clock | 7 | 15480 | <reponame>Fabien-Chouteau/coffee-clock
-------------------------------------------------------------------------------
-- --
-- Coffee Clock --
-- ... |
c6ers/interlnk/paragon/lib/pstrlen.asm | minblock/msdos | 0 | 96899 | ;***
;* $Workfile: pstrlen.asm $
;* $Revision: 1.2 $
;* $Author: <NAME> $
;* $Date: 06 Sep 1990 14:49:40 $
;*
;* pstrlen.asm <NAME> May 12, 1988
;*
;* String length function using pascal calling conventions
;*
% .MODEL memmodel
IF @CodeSize
.CODE PARAGO... |
test/Succeed/Issue3358.agda | cruhland/agda | 1,989 | 16028 | <reponame>cruhland/agda
open import Agda.Builtin.Equality
record IsGroup (G : Set) : Set where
field _∙_ : G → G → G
open IsGroup ⦃ ... ⦄
record Group : Set₁ where
field G : Set
⦃ IsG ⦄ : IsGroup G
open Group using () renaming (G to [_])
variable
G : Group
postulate
works : ∀ {G} → (x : [ G... |
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48_notsx.log_21829_338.asm | ljhsiun2/medusa | 9 | 174657 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %rax
push %rbp
push %rdi
lea addresses_WT_ht+0x15b47, %rax
clflush (%rax)
nop
nop
nop
dec %r12
mov (%rax), %rbp
nop
nop
nop
nop
cmp %rdi, %rdi
pop %rdi
pop %rbp
pop %rax
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r14
push ... |
oeis/164/A164705.asm | neoneye/loda-programs | 11 | 169083 | ; A164705: T(n,k)=Binomial(2n-k,n)*2^(k-1) for n>=1,0<=k<=n
; Submitted by <NAME>
; 1,1,3,3,2,10,10,8,4,35,35,30,20,8,126,126,112,84,48,16,462,462,420,336,224,112,32,1716,1716,1584,1320,960,576,256,64,6435,6435,6006,5148,3960,2640,1440,576,128,24310,24310,22880,20020,16016,11440,7040,3520,1280
add $0,1
seq $0,276418 ;... |
programs/oeis/064/A064995.asm | jmorken/loda | 1 | 104544 | ; A064995: A Beatty sequence from Khintchine's constant (A002210).
; 2,4,7,9,12,14,17,19,22,24,27,29,31,34,36,39,41,44,46,49,51,54,56,59,61,63,66,68,71,73,76,78,81,83,86,88,90,93,95,98,100,103,105,108,110,113,115,118,120,122,125,127,130,132,135,137,140,142,145,147,149,152
mov $2,2
mov $5,$0
add $0,1
lpb $0
sub $0,1
... |
boards/stm32_common/stm32f469disco/audio.adb | rocher/Ada_Drivers_Library | 192 | 13374 | <filename>boards/stm32_common/stm32f469disco/audio.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- ... |
libsrc/_DEVELOPMENT/math/float/math48/lm/z80/asm_dconst_1.asm | meesokim/z88dk | 0 | 164142 |
SECTION code_fp_math48
PUBLIC asm_dconst_1
EXTERN am48_dconst_1
defc asm_dconst_1 = am48_dconst_1
|
programs/oeis/099/A099156.asm | jmorken/loda | 1 | 96766 | <reponame>jmorken/loda
; A099156: a(n) = 2^(n-1)*U(n-1, 2).
; 0,1,8,60,448,3344,24960,186304,1390592,10379520,77473792,578272256,4316282880,32217174016,240472260608,1794909388800,13397386067968,99999450988544,746406063636480,5571250705137664,41584381386555392
mov $1,$0
add $1,$0
mov $0,$1
cmp $1,2
mov $2,1
lpb $0
su... |
oeis/042/A042566.asm | neoneye/loda-programs | 11 | 28037 | ; A042566: Numerators of continued fraction convergents to sqrt(812).
; Submitted by <NAME>
; 28,57,3220,6497,367052,740601,41840708,84422017,4769473660,9623369337,543678156532,1096979682401,61974540370988,125046060424377,7064553924136100,14254153908696577,805297172811144412,1624848499530985401,91796813146546326868,185... |
sha1_mb/sha1_multibinary.asm | intelkevinputnam/isa-l_crypto | 178 | 85987 | <reponame>intelkevinputnam/isa-l_crypto<filename>sha1_mb/sha1_multibinary.asm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted p... |
oeis/145/A145666.asm | neoneye/loda-programs | 11 | 247767 | ; A145666: a(n) = numerator of polynomial of genus 1 and level n for m = 7 : A[1,n](7).
; Submitted by <NAME>
; 0,7,105,2219,31087,1088129,2538991,17772957,248821433,15675750559,21946050833,1689845914645,11828921402977,1076431847676451,7535022933740305,263725802680934699,3692161237533130831
mul $0,2
mov $1,41
lpb $0
... |
basic_associations/one_to_many.als | nowavailable/alloy_als_study | 0 | 3084 | module one_to_many
sig Dad {
son: set Son
}
sig Son {
dad: one Dad
}
fact RelDadSon {
// 相互的な参照には必須
// 「"父を持つ子"の、親子関係を反転させると、それは"子を持つ父"に等しい」
Dad <: son = ~(Son <: dad)
}
run {} //for 5
|
src/stm32-can.ads | damaki/EVB1000 | 0 | 8201 | <filename>src/stm32-can.ads
-- This spec has been automatically generated from STM32F105xx.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
with System;
package STM32.CAN is
pragma Preelaborate;
---------------
-- Registers --
---------------
----------------------
-- CAN_MCR_Regi... |
programs/oeis/151/A151976.asm | neoneye/loda | 22 | 178791 | ; A151976: Minimal recursive sequence beginning with 5 similar to N with respect to property of integer to be or not to be in A079523.
; 5,6,8,10,13,14,17,18,21,22,24,26,29,30,32,34,37,38,40,42,45,46,49,50,53,54,56,58,61
add $0,1
seq $0,160217 ; Minimal increasing sequence with a(1)=3 and the property that a(n) and n ... |
resources/scripts/scrape/pkey.ads | Elon143/Amass | 7,053 | 28967 | -- 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.
local url = require("url")
name = "PKey"
type = "scrape"
function start()
set_rate_limit(1)
end
function vertical(ctx, domain)
local params = {
['zone']=do... |
orka_plugin_gltf/src/orka-gltf-meshes.adb | onox/orka | 52 | 17088 | <reponame>onox/orka<gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2017 onox <<EMAIL>>
--
-- 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://w... |
programs/oeis/026/A026383.asm | neoneye/loda | 0 | 173029 | <reponame>neoneye/loda
; A026383: a(n) = 5*a(n-2), starting 1,2.
; 1,2,5,10,25,50,125,250,625,1250,3125,6250,15625,31250,78125,156250,390625,781250,1953125,3906250,9765625,19531250,48828125,97656250,244140625,488281250,1220703125,2441406250,6103515625,12207031250
mov $1,4
lpb $0
sub $0,2
mul $1,5
lpe
add $0,1
lpb ... |
sw/example/hex_viewer/main.asm | matejpolj/neorv32 | 0 | 8786 | <filename>sw/example/hex_viewer/main.asm
main.elf: file format elf32-littleriscv
Disassembly of section .text:
00000000 <_start>:
0: 00000037 lui zero,0x0
00000004 <__crt0_pointer_init>:
4: 80002117 auipc sp,0x80002
8: ff810113 addi sp,sp,-8 # 80001ffc <__ctr0... |
programs/oeis/017/A017235.asm | karttu/loda | 1 | 4928 | ; A017235: a(n) = (9*n + 6)^3.
; 216,3375,13824,35937,74088,132651,216000,328509,474552,658503,884736,1157625,1481544,1860867,2299968,2803221,3375000,4019679,4741632,5545233,6434856,7414875,8489664,9663597,10941048,12326391,13824000,15438249,17173512,19034163,21024576,23149125,25412184,27818127,30371328,33076161,359370... |
src/yeison_experiments.ads | mosteo/yeison | 6 | 12697 | <reponame>mosteo/yeison
package Yeison_Experiments is
-- Test the use of several function profiles with a single aspect
type List is tagged private with
Aggregate =>
(Empty => Empty,
Add_Unnamed => Append);
function Empty return List is (null record);
procedure Append (L : in out Li... |
src/Haskell/Modules/RWS.agda | LaudateCorpus1/bft-consensus-agda | 0 | 8833 | {- 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
-}
-- RWS monad implementation, and functionality for proving properties a... |
Miscellaneous/associative-side.agda | Lolirofle/stuff-in-agda | 6 | 9828 | <filename>Miscellaneous/associative-side.agda<gh_stars>1-10
module Miscellaneous.associative-side where
private variable T : Set
private variable _▫_ : T → T → T
private variable id : T
data _≡_ {ℓ}{T : Set(ℓ)} : T → T → Set(ℓ) where
[≡]-intro : ∀{x : T} → (x ≡ x)
Associativity : (T → T → T) → Set
Associativity(_▫... |
src/Dodo/Binary/Trichotomous.agda | sourcedennis/agda-dodo | 0 | 15339 | <filename>src/Dodo/Binary/Trichotomous.agda
{-# OPTIONS --without-K --safe #-}
module Dodo.Binary.Trichotomous where
-- Stdlib imports
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; _≢_; refl; cong; subst; subst₂) renaming (sym to ≡-sym)
open import Level using (Level)
open import Function usi... |
main64/kernel/idt/idt.asm | KlausAschenbrenner/KAOS | 1 | 177782 | [BITS 64]
[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
; Produce a new Stack Frame
push rbp
... |
programs/oeis/153/A153797.asm | neoneye/loda | 22 | 102966 | ; A153797: 7 times octagonal numbers: a(n) = 7*n*(3*n-2).
; 0,7,56,147,280,455,672,931,1232,1575,1960,2387,2856,3367,3920,4515,5152,5831,6552,7315,8120,8967,9856,10787,11760,12775,13832,14931,16072,17255,18480,19747,21056,22407,23800,25235,26712,28231,29792,31395,33040,34727,36456,38227,40040,41895,43792,45731,47712,49... |
source/amf/uml/amf-uml-generalizations.ads | svn2github/matreshka | 24 | 21805 | <reponame>svn2github/matreshka<filename>source/amf/uml/amf-uml-generalizations.ads<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.