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 |
|---|---|---|---|---|
oeis/054/A054443.asm | neoneye/loda-programs | 11 | 245742 | ; A054443: Third convolution of A001405 (central binomial numbers).
; Submitted by <NAME>
; 1,4,14,40,109,276,682,1624,3810,8744,19868,44496,98941,217780,476786,1036024,2241814,4823160,10342180,22076080,46994386,99673224,210923364,445000560,937051684,1968204496,4127285688
add $0,4
mov $3,$0
seq $0,152548 ; Sum of squa... |
chapter13/tuo-zhan-shi-yan.asm | bgst009/AssemblyLanguage | 0 | 243994 | ;
assume cs:code
code segment
start:
call clear_screen
;int 1
mov bx,0
mov ax,30
sub cx,1
mov ax,4c00h
int 21h
;==============================
clear_screen:
push ax
push bx
push cx
push dx
push ds
push es
push si
push di
clear_screen_bg:
mov bx,0b80... |
applescript/DND.scpt | trashpandas/scripts | 1 | 120 | <reponame>trashpandas/scripts
# Script created for use with <NAME>'s Do Not Disturb application
# https://objective-see.com/products/dnd.html
# This script sends out an email from the default account in Mail.app
# It waits 3 minutes to capture all monitor logs before attaching the log to your email
# This allows you t... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_2666_696.asm | ljhsiun2/medusa | 9 | 161823 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1bef7, %rsi
nop
nop
nop
nop
nop
inc %r13
mov (%rsi), %r12w
nop
nop
xor %r12, %r12
lea addresses_D_ht+0x11a17, %rdi
and $32107, %rbp
mo... |
extern/gnat_sdl/gnat_sdl/src/stdlib_h.ads | AdaCore/training_material | 15 | 8284 | <reponame>AdaCore/training_material
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with umingw_h;
with Interfaces.C.Strings;
with System;
with Interfaces.C.Extensions;
package stdlib_h is
EXIT_SUCCESS : constant := 0; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7... |
src/kvflyweights/kvflyweights.ads | jhumphry/auto_counters | 5 | 10168 | <filename>src/kvflyweights/kvflyweights.ads
-- kvflyweights.ads
-- A package for ensuring resources are not duplicated in a manner similar
-- to the C++ Boost flyweight classes.
-- Copyright (c) 2016, <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee i... |
Classes/date/time string of/time string of (current date).applescript | looking-for-a-job/applescript-examples | 1 | 3716 | #!/usr/bin/osascript
time string of (current date) |
GELL/Cbenchmarks/ben.adb | c-jullien/lelisp | 13 | 30195 | :r -float 32 -symbol 4 -string 5 -cons 24 -heap 512
|
common/cextdef.asm | DigitalMars/optlink | 28 | 179804 | <reponame>DigitalMars/optlink<gh_stars>10-100
TITLE CEXTDEF - Copyright (c) 1988-94 by SLR Systems
INCLUDE MACROS
INCLUDE SYMBOLS
INCLUDE CDDATA
PUBLIC CEXTDEF
;
; FOR FIXUPPS THAT REFERENCE COMDEFS...
;
.DATA
EXTERNDEF COMDAT_FLAGS:BYTE
EXTERNDEF END_OF_RECORD:DWORD,BUFFER_OFFSET:DWORD
EXTERN... |
programs/oeis/021/A021642.asm | neoneye/loda | 22 | 5656 | ; A021642: Decimal expansion of 1/638.
; 0,0,1,5,6,7,3,9,8,1,1,9,1,2,2,2,5,7,0,5,3,2,9,1,5,3,6,0,5,0,1,5,6,7,3,9,8,1,1,9,1,2,2,2,5,7,0,5,3,2,9,1,5,3,6,0,5,0,1,5,6,7,3,9,8,1,1,9,1,2,2,2,5,7,0,5,3,2,9,1,5,3,6,0,5,0,1,5,6,7,3,9,8,1,1,9,1,2,2
add $0,1
mov $1,10
pow $1,$0
mul $1,5
div $1,3190
mod $1,10
mov $0,$1
|
programs/oeis/011/A011658.asm | neoneye/loda | 22 | 26203 | ; A011658: Period 5: repeat [0, 0, 0, 1, 1]; also expansion of 1/(x^4 + x^3 + x^2 + x + 1) (mod 2).
; 0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,0
mod $0,5
div $0,3
|
Task/Identity-matrix/Ada/identity-matrix-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 21923 | type Matrix is array(Positive Range <>, Positive Range <>) of Integer;
mat : Matrix(1..5,1..5) := (others => (others => 0));
-- then after the declarative section:
for i in mat'Range(1) loop mat(i,i) := 1; end loop;
|
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_21829_1052.asm | ljhsiun2/medusa | 9 | 81276 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xf36c, %rdi
nop
nop
nop
nop
and $25759, %rcx
mov (%rdi), %r9
nop
nop
nop
nop
nop
and %r12, %r12
lea addresses_WT_ht+0xc8b4, %rsi
lea addresses_D_ht+0x18c10, %rdi
clflush (%rdi)
nop
nop
nop
no... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca_notsx.log_21829_859.asm | ljhsiun2/medusa | 9 | 83686 | .global s_prepare_buffers
s_prepare_buffers:
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xf18a, %rbp
nop
nop
nop
nop
nop
inc %r8
mov (%rbp), %esi
nop
nop
add $11751, %rbx
lea addresses_WT_ht+0x11dfa, %rsi
lea addresses_WT_ht+0x85ca, %rdi
nop
cmp $9001, %rbp
mov $15, %rc... |
eBindings/uuid/gnatcoll-uuid.adb | persan/zeromq-Ada | 33 | 6235 | <filename>eBindings/uuid/gnatcoll-uuid.adb
with System;
package body gnatcoll.uuid is
use Interfaces.C;
package bits_types_h is
type uu_timer_t is new System.Address; -- types.h:161:27
end bits_types_h;
package bits_time_h is
CLOCKS_PER_SEC : constant := 1000000; -- time.h:34
CLOCK... |
other.7z/SFC.7z/SFC/ソースデータ/srd13-SFCマリオコレクション/export/mario-z/linkp/mario_n3/mn_hp_mr3bgd4.asm | prismotizm/gigaleak | 0 | 10465 | <gh_stars>0
Name: mn_hp_mr3bgd4.asm
Type: file
Size: 131038
Last-Modified: '1993-08-25T07:21:24Z'
SHA-1: 18FC73E3EBE1D7D8F1C9F5D07DE9CFE1D386986C
Description: null
|
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_46_1532.asm | ljhsiun2/medusa | 9 | 173444 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xa576, %rdi
nop
nop
nop
sub %r12, %r12
mov (%rdi), %r10d
nop
nop
nop
nop
nop
sub %r14, %r14
lea addresses_A_ht+0x1b006, %rdx
nop
and %r14, %r14
movw $0x6162, (%rdx)
dec %r10
le... |
src/gl/interface/gl-raster.ads | Roldak/OpenGLAda | 79 | 17233 | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with GL.Types;
package GL.Raster is
-- Obsolete as of OpenGL 3. Supplied here to support some older 3rd party
-- functionality like Bitmap and Pixmap fonts of FTGL
use GL.Types;
use GL.Types.Dou... |
test/Fail/Issue5251-1.agda | cagix/agda | 1,989 | 10128 | <filename>test/Fail/Issue5251-1.agda
_ : @ω Set → Set₁
_ = λ (@0 _) → Set
|
Task/LZW-compression/Ada/lzw-compression-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 29211 | <reponame>LaudateCorpus1/RosettaCodeData<filename>Task/LZW-compression/Ada/lzw-compression-2.ada<gh_stars>1-10
with Ada.Containers.Ordered_Maps;
with Ada.Strings.Unbounded;
package body LZW is
package UStrings renames Ada.Strings.Unbounded;
use type UStrings.Unbounded_String;
--------------
-- Compress --... |
data/jpred4/jp_batch_1613899824__MXRfQLt/jp_batch_1613899824__MXRfQLt.als | jonriege/predict-protein-structure | 0 | 1890 | <filename>data/jpred4/jp_batch_1613899824__MXRfQLt/jp_batch_1613899824__MXRfQLt.als
SILENT_MODE
BLOCK_FILE jp_batch_1613899824__MXRfQLt.concise.blc
MAX_NSEQ 943
MAX_INPUT_LEN 945
OUTPUT_FILE jp_batch_1613899824__MXRfQLt.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAUL... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/gnat_cuda.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 9879 | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/gnat_cuda.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
test/Succeed/Issue679u.agda | cruhland/agda | 1,989 | 16744 | -- <NAME>, 2016-06-01, discussing issue #679
-- {-# OPTIONS -v tc.with.strip:20 #-}
postulate anything : {A : Set} → A
data Ty : Set where
_=>_ : (a b : Ty) → Ty
⟦_⟧ : Ty → Set
⟦ a => b ⟧ = ⟦ a ⟧ → ⟦ b ⟧
eq : (a : Ty) → ⟦ a ⟧ → ⟦ a ⟧ → Set
eq (a => b) f g = ∀ {x y : ⟦ a ⟧} → eq a x y → eq b (f x) (g y)
bad : (a ... |
s1/sfx-original/SndCD - Switch.asm | Cancer52/flamedriver | 9 | 11864 | <gh_stars>1-10
SndCD_Switch_Header:
smpsHeaderStartSong 1
smpsHeaderVoice SndCD_Switch_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cPSG3, SndCD_Switch_PSG3, $00, $00
; PSG3 Data
SndCD_Switch_PSG3:
dc.b nBb4, $02
smpsStop
; Song seems to not use any FM voices
SndCD_Switch_Vo... |
programs/oeis/112/A112421.asm | karttu/loda | 1 | 93457 | <reponame>karttu/loda<gh_stars>1-10
; A112421: Number of 6 element subsets of {1,2,3,...,n} for which the sum-set has 12 elements.
; 2,4,6,8,10,12,16,20,24,28,32,36,42,48,54,60,66,72,80,88,96,104,112,120,130,140,150,160,170,180,192,204,216,228,240,252,266,280,294,308,322,336,352,368,384,400,416,432,450,468,486,504,522,... |
Numeral/Natural/Relation/Order.agda | Lolirofle/stuff-in-agda | 6 | 8877 | <filename>Numeral/Natural/Relation/Order.agda
module Numeral.Natural.Relation.Order where
import Lvl
open import Functional
open import Logic
open import Logic.Propositional
open import Logic.Predicate
open import Numeral.Natural
open import Numeral.Natural.Oper
open import Relator.Equals
open import Relator.Equals.Pr... |
university/language-concepts-labs/9/ada/bubble_test.adb | honno/code-solutions | 0 | 10143 | <gh_stars>0
with Ada.Text_IO;
use Ada.Text_IO;
with Bubble;
use Bubble;
with Ada.Task_Identification;
use Ada.Task_Identification;
procedure Bubble_Test is
A, B, C, D : Integer;
begin
Put_Line("Starting");
State.Set_All(5,1,3,1);
State.Wait_Until_Sorted(A,B,C,D);
Put_Line("Done");
Abort_Task (C... |
programs/oeis/157/A157824.asm | jmorken/loda | 1 | 91636 | ; A157824: 3600n^2 - 6751n + 3165.
; 14,4063,15312,33761,59410,92259,132308,179557,234006,295655,364504,440553,523802,614251,711900,816749,928798,1048047,1174496,1308145,1448994,1597043,1752292,1914741,2084390,2261239,2445288,2636537,2834986,3040635,3253484,3473533,3700782,3935231,4176880,4425729,4681778,4945027,521547... |
src/open_weather_map-api-service-group.adb | Jellix/open_weather_map_api | 1 | 21046 | --------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Hocevar. See t... |
middleware/src/BLE/bluetooth_low_energy-beacon.adb | rocher/Ada_Drivers_Library | 192 | 30056 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- --
-- ... |
MSDOS/Virus.MSDOS.Unknown.guerilla.asm | fengjixuchui/Family | 3 | 27820 | ;
; <NAME>
; Memory resident polymorphic DOS .EXE infector
; Brute Force Full Stealth (BFFS)
; Designed to spread fast and avoid detection-nondestructive & no payload
; Requires 386 or above and MS-DOS 5.0 or above
;
; Disclaimer:
; This file is only for educational purposes. The author takes absolutely
; no respon... |
src/test/antlr/csv/CSV.g4 | psyco4j/projects | 0 | 4 | <gh_stars>0
grammar CSV;
@header {
package csv;
}
file returns [List<List<String>> data]
@init {$data = new ArrayList<List<String>>();}
: (row {$data.add($row.list);})+ EOF
;
row returns [List<String> list]
@init {$list = new ArrayList<String>();}
: a=value {$list.add($a.val);} (Comma b=value {$lis... |
libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_data.asm | teknoplop/z88dk | 8 | 83759 | <reponame>teknoplop/z88dk<gh_stars>1-10
; void *b_array_data(b_array_t *a)
SECTION code_clib
SECTION code_adt_b_array
PUBLIC b_array_data
EXTERN asm_b_array_data
defc b_array_data = asm_b_array_data
|
elfheader.asm | tx-hybris/launch-hybris | 0 | 16168 | <reponame>tx-hybris/launch-hybris<gh_stars>0
;
; elfheader.asm
; to be included at top of a nasm-source file for calling nasm with "-f bin"
; <NAME> www.tuxad.com, 08/2009
;
BITS 32
org 0x08048000
;org 0x0804802C
ehdr: ; Elf32_Ehdr
... |
orka/src/orka/implementation/orka-algorithms-prefix_sums.adb | onox/orka | 52 | 30498 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2018 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://www.apache.org/licenses/LICENSE-2.0
-... |
strcopy.asm | udhos/asm | 0 | 82580 | <filename>strcopy.asm
; nasm -felf64 strcopy.asm && ld strcopy.o && ./a.out
global _start
section .text
_start:
; strcopy
;
mov rdi, buffer
mov rsi, message
xor rdx, rdx ; store size in RDX
copy_loop:
mov cl, [rsi]
... |
volec.adb | davidkristola/vole | 4 | 7617 | -- This file is freely given to the Public Domain.
--
with Ada.Command_Line; use Ada.Command_Line;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Streams.Stream_IO;
with Vole_Tokens;
with kv.avm.Vole_Lex;
with Vole_Lex_IO;
with kv.avm.vole_parser;
with kv.avm.vole_tree;
with kv.av... |
src/day-24/adventofcode-day_24.ads | persan/advent-of-code-2020 | 0 | 8850 | package Adventofcode.Day_24 is
end Adventofcode.Day_24;
|
test/asset/agda-stdlib-1.0/Data/Maybe/Properties.agda | omega12345/agda-mode | 0 | 15336 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Maybe-related properties
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Maybe.Properties where
open import Algebra
import Algebra.Struct... |
oeis/155/A155557.asm | neoneye/loda-programs | 11 | 19214 | <gh_stars>10-100
; A155557: A proximate-prime polynomial sequence generated by 2*n^2 - 2*n + 53089.
; 53089,53093,53101,53113,53129,53149,53173,53201,53233,53269,53309,53353,53401,53453,53509,53569,53633,53701,53773,53849,53929,54013,54101,54193,54289,54389,54493,54601,54713,54829,54949,55073,55201,55333,55469,55609,55... |
oeis/135/A135854.asm | neoneye/loda-programs | 11 | 28504 | ; A135854: a(n) = (n+1)*(2^n+1) for n > 0 with a(0)=1.
; Submitted by <NAME>(s2)
; 1,6,15,36,85,198,455,1032,2313,5130,11275,24588,53261,114702,245775,524304,1114129,2359314,4980755,10485780,22020117,46137366,96469015,201326616,419430425,872415258,1811939355,3758096412,7784628253,16106127390,33285996575,68719476768,141... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_21829_615.asm | ljhsiun2/medusa | 9 | 164035 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x218d, %r9
nop
nop
nop
nop
nop
and $42565, %rcx
movw $0x6162, (%r9)
nop
nop
nop
nop
nop
cmp %r12, %r12
lea addresses_normal_ht+0x1e4ff, %rsi
lea addresses_WC_ht+0x1d1fb, %rdi
clflush (%rdi)
nop
s... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_2223_25.asm | ljhsiun2/medusa | 9 | 23434 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r8
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdx
// Store
lea addresses_PSE+0x98a9, %rdx
nop
dec %rbp
movl $0x51525354, (%rdx)
nop
nop
nop
xor $7053, %rcx
// Store
mov $0x5af7080000000769, %r9
nop
cmp $10082,... |
Categories/Category/Construction/Models.agda | elpinal/exsub-ccc | 3 | 2177 | <reponame>elpinal/exsub-ccc
open import Categories.Category
open import Categories.Category.CartesianClosed
open import Theory
module Categories.Category.Construction.Models
{ℓ₁ ℓ₂ ℓ₃}
(Th : Theory.Theory ℓ₁ ℓ₂ ℓ₃)
{o ℓ e}
(𝒞 : Category o ℓ e)
(cartesianClosed : CartesianClosed 𝒞)
where
open import C... |
src/isa/avx2/masm/sin_fma3.asm | jepler/aocl-libm-ose | 66 | 5609 | ;
; 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... |
Assembly/HelloWorld.asm | carlosvilela/Testes-C- | 0 | 92856 | <reponame>carlosvilela/Testes-C-<gh_stars>0
org 100h
mov dx, offset msg1
mov ah, 09h
int 21h
mov dx, offset msg2
mov ah, 09h
int 21h
ret
msg1 db "Hello World",0ah, 0dh, "$"
msg2 db "welcome $"
|
src/apsepp-generic_shared_instance.adb | thierr26/ada-apsepp | 0 | 7991 | <filename>src/apsepp-generic_shared_instance.adb
-- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Ada.Unchecked_Deallocation;
package body Apsepp.Generic_Shared_Instance is
----------------------------------------------------------------------------
procedure Unl_C... |
agda/Cardinality/Infinite/Split.agda | oisdk/combinatorics-paper | 0 | 17396 | {-# OPTIONS --cubical --safe #-}
module Cardinality.Infinite.Split where
open import Prelude
open import Data.List.Kleene
open import Data.Fin
import Data.Nat as ℕ
open import Data.Nat using (_+_)
open import Cubical.Data.Sigma.Properties
open import Cubical.Foundations.Prelude using (J)
import Data.List.Kleene.Membe... |
libsrc/target/fp1100/stdio/conio_vars.asm | Frodevan/z88dk | 640 | 84910 |
MODULE conio_vars
SECTION data_clib
PUBLIC __fp1100_mode
PUBLIC __fp1100_lores_graphics
PUBLIC __fp1100_attr
__fp1100_mode: defb 0
__fp1100_lores_graphics:
defw 0
__fp1100_attr: defb 0x07
defb 0x00
|
programs/oeis/131/A131711.asm | karttu/loda | 1 | 14043 | <reponame>karttu/loda
; A131711: Period 12: repeat 0, 1, 2, 5, 2, 9, 0, 9, 8, 5, 8, 1.
; 0,1,2,5,2,9,0,9,8,5,8,1,0,1,2,5,2,9,0,9,8,5,8,1,0,1,2,5,2,9,0,9,8,5,8,1,0,1,2,5,2,9,0,9,8,5,8,1
cal $0,129 ; Pell numbers: a(0) = 0, a(1) = 1; for n > 1, a(n) = 2*a(n-1) + a(n-2).
mod $0,10
mov $1,$0
|
programs/oeis/083/A083392.asm | neoneye/loda | 22 | 167101 | <filename>programs/oeis/083/A083392.asm
; A083392: Alternating partial sums of A000217.
; 0,-1,2,-4,6,-9,12,-16,20,-25,30,-36,42,-49,56,-64,72,-81,90,-100,110,-121,132,-144,156,-169,182,-196,210,-225,240,-256,272,-289,306,-324,342,-361,380,-400,420,-441,462,-484,506,-529,552,-576,600,-625,650,-676,702,-729,756,-784,812... |
tools/spt-generator/src/com/ibm/ai4code/parser/cpp_multi/CPP14_lexer_common.g4 | yingkitw/Project_CodeNet | 1,156 | 4387 | <reponame>yingkitw/Project_CodeNet<gh_stars>1000+
lexer grammar CPP14_lexer_common;
/* GJ20: covered by new Directive; see below.
MultiLineMacro:
'#' (~[\n]*? '\\' '\r'? '\n')+ ~ [\n]+ -> channel (HIDDEN);
*/
/* GJ20: covered by new Directive; see below.
Directive: '#' ~ [\n]* -> channel (HIDDEN);
*/
// GJ20... |
libsrc/z88/fdstdio/fdfputs.asm | meesokim/z88dk | 0 | 176144 | ;
; Small C z88 File functions
; Written by <NAME> <<EMAIL>>
; 22 August 1998 ** UNTESTED **
;
; *** THIS IS A Z88 SPECIFIC ROUTINE!!! ***
;
; Few little bugs sorted out 13/10/98
INCLUDE "fileio.def"
INCLUDE "stdio.def"
INCLUDE "libdefs.def"
PUBLIC fd... |
awa/plugins/awa-jobs/src/awa-jobs-modules.adb | stcarrez/ada-awa | 81 | 10287 | <gh_stars>10-100
-----------------------------------------------------------------------
-- awa-jobs-modules -- Job module
-- Copyright (C) 2012, 2013, 2020, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compl... |
src/main/antlr4/org/ASUX/language/antlr4/YAMLANTLR4Lexer.g4 | org-asux/org.ASUX.language.ANTLR4 | 0 | 5055 | <reponame>org-asux/org.ASUX.language.ANTLR4
lexer grammar YAMLANTLR4Lexer ;
// ==================================
// Imported Grammar Files
// See how @ https://www.antlr.org/api/maven-plugin/latest/examples/import.html
// place your import grammars in the directory: src/main/antlr4/imports
// ====================... |
asm/bitcount.asm | GabrielRavier/Generic-Assembly-Samples | 0 | 245382 | global @ASM_bitcount@4
extern _getInstructionSet
segment .data align=16
actualASM_bitcountPtr dd actualASM_bitcountGetPtr
segment .text align=16
%define result eax
%define number ecx
%define temp edx
actualASM_bitcountNoPopcnt:
mov result, number
mov temp, result
shr result, 1 ; S... |
src/util-texts-formats.ads | Letractively/ada-util | 60 | 4018 | <gh_stars>10-100
-----------------------------------------------------------------------
-- Util-texts-formats -- Text Format ala Java MessageFormat
-- Copyright (C) 2001, 2002, 2003, 2009, 2010, 2011, 2012, 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "Licens... |
oeis/065/A065653.asm | neoneye/loda-programs | 11 | 171887 | ; A065653: a(0) = 0, a(1) = 1, a(n) = a(n-2)*a(n-2) + 2 for n > 1.
; 0,1,2,3,6,11,38,123,1446,15131,2090918,228947163,4371938082726,52416803445748571,19113842599189892819591078,2747521283470239265968814548542043,365338978906606237729724396156395693696687137202086,75488732031219508719243561400574890339963738733035125923... |
programs/oeis/046/A046161.asm | jmorken/loda | 1 | 10065 | ; A046161: a(n) = denominator of binomial(2n,n)/4^n.
; 1,2,8,16,128,256,1024,2048,32768,65536,262144,524288,4194304,8388608,33554432,67108864,2147483648,4294967296,17179869184,34359738368,274877906944,549755813888,2199023255552,4398046511104,70368744177664,140737488355328,562949953421312,1125899906842624,90071992547409... |
sqlc/src/main/antlr4/de/loteslab/mmm/lang/MacroParser.g4 | Lotes/mysql-meta-modeling | 0 | 1958 | <reponame>Lotes/mysql-meta-modeling<filename>sqlc/src/main/antlr4/de/loteslab/mmm/lang/MacroParser.g4<gh_stars>0
parser grammar MacroParser;
options { tokenVocab=MacroLexer; }
start: HASH (importing | define);
expression: expr=conditionalExpression;
conditionalExpression
: condition=logicalOrExpression (QUEST... |
test/Fail/Issue3233.agda | shlevy/agda | 1,989 | 14044 | <filename>test/Fail/Issue3233.agda
A : Set
B : Set₁
B = Set
C : Set
|
arch/ARM/STM32/svd/stm32l151/stm32_svd-rcc.ads | morbos/Ada_Drivers_Library | 2 | 14949 | -- This spec has been automatically generated from STM32L151.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.RCC is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- CR_RTCPRE array
type CR... |
oeis/068/A068795.asm | neoneye/loda-programs | 11 | 247835 | ; A068795: In prime factorization of n replace all primes with the greatest prime factor of n; a(1)=1.
; Submitted by <NAME>
; 1,2,3,4,5,9,7,8,9,25,11,27,13,49,25,16,17,27,19,125,49,121,23,81,25,169,27,343,29,125,31,32,121,289,49,81,37,361,169,625,41,343,43,1331,125,529,47,243,49,125,289,2197,53,81,121
add $0,1
lpb $0... |
uebung6/u6a7.asm | Sebb767/rechnerarchitektur | 1 | 241155 | <reponame>Sebb767/rechnerarchitektur<gh_stars>1-10
section .text
extern printf
global main
main:
mov eax, 1 ; info descriptor descriptor
cpuid
push eax
mov eax, 0 ; cpu name
cpuid
mov [storage], ebx
mov [storage+4], edx
mov [storage+8], ecx
push storage
push format
call printf
end:
; exit
mov eax, 1 ... |
tests/optimizer/E010.asm | neoneye/loda | 22 | 161084 | ; in
mov $1,3
lpb $0,2
lpb $0,2
add $1,5
lpe
lpe
mov $2,4
lpb $0,2
lpb $0,3
add $1,3
lpe
lpe
; out
mov $1,3
lpb $0,2
add $1,5
lpe
mov $2,4
lpb $0,2
lpb $0,3
add $1,3
lpe
lpe
|
src/core/external/jpeg-6bx/jfdctfst.asm | miahmie/krkrz | 4 | 173063 | ;
; jfdctfst.asm - fast integer FDCT (non-SIMD)
;
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; This file should be assembled with NASM (Netwide Assembler),
; can *not* be assembled with Microsoft'... |
libtool/src/gmp-6.1.2/mpn/x86_64/nano/dive_1.asm | kroggen/aergo | 1,602 | 11049 | dnl AMD64 mpn_divexact_1 -- mpn by limb exact division.
dnl Copyright 2001, 2002, 2004-2006, 2010-2012 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 ... |
oeis/192/A192941.asm | neoneye/loda-programs | 11 | 83837 | <reponame>neoneye/loda-programs
; A192941: Constant term of the reduction by x^2 -> x+1 of the polynomial p(n,x)=(2x+1)(2x+2)...(2x+n).
; Submitted by <NAME>(w4)
; 1,1,6,38,276,2276,21032,215336,2419824,29611120,391950240,5579965600,85018056640,1380373170880,23792373137280,433881469662080,8346202841391360,1688947620646... |
asm/mips/progs/program3.asm | TomRegan/synedoche | 1 | 85096 | ##########################################################################
##Author : <NAME> <<EMAIL>> ##
##Last modified : 2011-07-21 ##
##Description : MIPS assembly program: Calculates factorial ##
## iteratively ... |
Transynther/x86/_processed/AVXALIGN/_st_zr_un_/i9-9900K_12_0xa0.log_21829_1580.asm | ljhsiun2/medusa | 9 | 10549 | <filename>Transynther/x86/_processed/AVXALIGN/_st_zr_un_/i9-9900K_12_0xa0.log_21829_1580.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x8d14, %rbx
nop
cmp %rbp, %rbp
movl $0x61626364, (%rbx)
nop
nop
nop... |
programs/oeis/227/A227804.asm | karttu/loda | 0 | 172552 | ; A227804: a(1) = greatest k such that H(k) - H(8) < H(8) - H(4); a(2) = greatest k such that H(k) - H(a(1)) < H(a(1)) - H(8), and for n > 2, a(n) = greatest k such that H(k) - H(a(n-1) > H(a(n-1)) - H(a(n-2)), where H = harmonic number.
; 15,27,48,85,150,264,464,815,1431,2512,4409,7738,13580,23832,41823,73395,128800,2... |
src/avr/assignment-8/8-A-AVR.asm | klaussinani/microcomputer-assembly | 9 | 92967 | <reponame>klaussinani/microcomputer-assembly<filename>src/avr/assignment-8/8-A-AVR.asm
include "m16def.inc"
.cseg
.org 0
.def temp = r16
.def temp2 = r17
.def temp3 = r18
.def temp4 = r19
.def res0 = r20
.def res1 = r21
.def res2 = r22
.def res3 = r23
.def result = r24
reset:
ldi temp,low(RAMEND) ;initialize ... |
oeis/054/A054088.asm | neoneye/loda-programs | 11 | 165395 | <gh_stars>10-100
; A054088: a(n) = A054086(3n); also a bisection of A003511.
; 2,5,8,10,13,16,19,21,24,27,30,32,35,38,40,43,46,49,51,54,57,60,62,65,68,71,73,76,79,81,84,87,90,92,95,98,101,103,106,109,112,114,117,120,122,125,128,131,133,136,139,142,144,147,150
mul $0,2
add $0,1
mov $2,$0
add $0,28
mul $0,3
sub $0,$2
mu... |
alloy4fun_models/trashltl/models/7/9QthAyGb2aaZAsci6.als | Kaixi26/org.alloytools.alloy | 0 | 475 | <gh_stars>0
open main
pred id9QthAyGb2aaZAsci6_prop8 {
eventually all l: File.link | l in Trash
}
pred __repair { id9QthAyGb2aaZAsci6_prop8 }
check __repair { id9QthAyGb2aaZAsci6_prop8 <=> prop8o } |
programs/oeis/082/A082311.asm | karttu/loda | 1 | 95953 | ; A082311: A Jacobsthal sequence trisection.
; 1,5,43,341,2731,21845,174763,1398101,11184811,89478485,715827883,5726623061,45812984491,366503875925,2932031007403,23456248059221,187649984473771,1501199875790165,12009599006321323
mov $2,8
pow $2,$0
mov $1,$2
div $1,3
mul $1,2
add $1,1
|
programs/oeis/259/A259552.asm | karttu/loda | 1 | 176364 | ; A259552: a(n) = (1/4)*n^4 - (1/2)*n^3 + (3/4)*n^2 - (1/2)*n + 41.
; 41,43,53,83,151,281,503,853,1373,2111,3121,4463,6203,8413,11171,14561,18673,23603,29453,36331,44351,53633,64303,76493,90341,105991,123593,143303,165283,189701,216731,246553,279353,315323,354661,397571,444263,494953
add $0,1
bin $0,2
add $0,1
bin $0,... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce2104a.ada | best08618/asylo | 7 | 17076 | <reponame>best08618/asylo
-- CE2104A.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 contai... |
src/state-mission.asm | santiontanon/triton | 41 | 177495 | <gh_stars>10-100
general_sprites:
db 17*8-1,27,8,COLOR_RED
db 17*8,31,12,COLOR_LIGHT_RED
mission_cutscene_0_text: ; when a mission fails
db TEXT_M_CUTSCENE_0_1_BANK, #f0, TEXT_M_CUTSCENE_0_1_IDX
db TEXT_M_CUTSCENE_0_2_BANK, #f0, TEXT_M_CUTSCENE_0_2_IDX
db TEXT_M_CUTSCENE_0_3_BANK, #f0, TEXT_M_CUTSCENE_0_3_IDX
db... |
oeis/135/A135675.asm | neoneye/loda-programs | 11 | 8187 | <reponame>neoneye/loda-programs
; A135675: a(n) = ceiling(n^(4/3) - n).
; 0,1,2,3,4,5,7,8,10,12,14,16,18,20,22,25,27,30,32,35,37,40,43,46,49,52,54,58,61,64,67,70,73,77,80,83,87,90,94,97,101,104,108,112,116,119,123,127,131,135,139,143,147,151,155,159,163,167,171,175,180,184,188,192,197,201,206,210,215,219,223,228,233,23... |
legacy/LinkedList/Properties.agda | banacorn/numeral | 1 | 5523 | <reponame>banacorn/numeral
module LinkedList.Properties where
open import LinkedList
open import Data.Nat
open import Data.Nat.Properties.Simple
open import Relation.Nullary.Decidable using (False)
open import Relation.Binary.PropositionalEquality as PropEq
using (_≡_; _≢_; refl; cong; cong₂; trans; sym; inspect)... |
Debug/event_groups.asm | polamagdygeo/uWave | 0 | 80457 | ;******************************************************************************
;* TI ARM C/C++ Codegen Unix v18.1.1.LTS *
;* Date/Time created: Fri Jul 3 20:08:22 2020 *
;******************************************************************************
... |
init.asm | shahendahamdy/xv6-threads | 0 | 84471 |
_init: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
char *argv[] = { "sh", 0 };
int
main(void)
{
0: f3 0f 1e fb endbr32
4: 8d 4c 24 04 lea 0x4(%esp),%ecx
8: 83 e4 f0 and $0xfffffff0,%esp
b: ff 71 fc pushl -0x4(%ecx)
... |
x264-stable/common/x86/const-a.asm | charliesome/x264-dev | 35 | 18775 | <reponame>charliesome/x264-dev
;*****************************************************************************
;* const-a.asm: x86 global constants
;*****************************************************************************
;* Copyright (C) 2010-2019 x264 project
;*
;* Authors: <NAME> <<EMAIL>>
;* <NAME> <<E... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/mpiuse.ads | ouankou/rose | 488 | 8467 | <filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/mpiuse.ads
with MPI;
package MPIUse is
flag : MPI.Errorcode_Type := MPI.Errorcode_Type(-2);
end MPIUse;
|
src/duart.asm | adolf01/P65_Testing | 0 | 177844 | <gh_stars>0
.include "macros_65C02.inc65"
.zeropage
tmpstack: .res 1
ptr1: .res 1
;
; File generated by cc65 v 2.19 - Git a861d84
;
.fopt compiler,"cc65 v 2.19 - Git a861d84"
.setcpu "65C02"
.smart on
.autoimport on
.case on
.debuginfo off
.macpack longbranch
.export _duart_init
.export _duart_putc... |
test/Fail/Issue1321.agda | alhassy/agda | 3 | 1079 | <reponame>alhassy/agda
-- Reported by fredrik.forsberg, Oct 21, 2014
-- The following code gives an internal error
-- "An internal error has occurred. Please report this as a bug.
-- Location of the error: src/full/Agda/TypeChecking/InstanceArguments.hs:269"
-- on Agda head, since "n ≠ zero" is not expanded.
open im... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3601a.ada | best08618/asylo | 7 | 9507 | -- CC3601A.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... |
Sources/Globe_3d/globe_3d-textures.adb | ForYouEyesOnly/Space-Convoy | 1 | 7844 | with GL, GL.IO, UnZip.Streams;
with Ada.Characters.Handling; use Ada.Characters.Handling;
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Strings.Fixed; use Ada.Strings, Ada.Strings.Fixed;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.U... |
awa/regtests/awa-users-services-tests.adb | twdroeger/ada-awa | 81 | 28007 | -----------------------------------------------------------------------
-- users - User creation, password tests
-- Copyright (C) 2009, 2010, 2011, 2012, 2017, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in com... |
Light/Library/Relation.agda | zamfofex/lightlib | 1 | 1797 | <reponame>zamfofex/lightlib<gh_stars>1-10
{-# OPTIONS --omega-in-omega --no-termination-check --overlapping-instances #-}
module Light.Library.Relation where
open import Light.Level using (Level ; Setω)
open import Light.Variable.Sets
record Kind : Setω where
field
iℓ : Level
Index : Se... |
alloy4fun_models/trashltl/models/17/psS25rRG6qo5iZGmo.als | Kaixi26/org.alloytools.alloy | 0 | 3080 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idpsS25rRG6qo5iZGmo_prop18 {
all p: Protected | p not in Protected implies before p in Trash
}
pred __repair { idpsS25rRG6qo5iZGmo_prop18 }
check __repair { idpsS25rRG6qo5iZGmo_prop18 <=> prop18o } |
test_data/ligador_carregador/moodle_B.asm | Perruci/sb20172 | 0 | 244396 |
mod_b: begin
section text
val: extern
l1: extern
public y
public mod_b
output y
output val
output y + 2
jmp l1
section data
y: space 3
end
|
3-mid/impact/source/3d/collision/shapes/impact-d3-striding_mesh-triangle_index_vertex_array.ads | charlie5/lace | 20 | 19243 | with ada.Containers.Vectors;
with impact.d3.striding_Mesh;
with swig.Pointers;
with impact.d3.Containers;
package impact.d3.striding_Mesh.triangle_index_vertex_array
--
-- The impact.d3.striding_Mesh.triangle_index_vertex_array allows to access multiple triangle meshes, by indexing into existing triangle/index arra... |
exercises/mabnaie2rotate.asm | amirshnll/assembly-exercises | 4 | 21596 | <reponame>amirshnll/assembly-exercises<filename>exercises/mabnaie2rotate.asm
; multi-segment executable file template.
;dariaft digit
data segment
msg1 db 10,13,"please enter a digit:$"
s1 label byte
max db 6
len db ?
s1_1 db 6 dup('$')
n dw 0
ten dw 10
msg2 db 10... |
source/types.ads | jquorning/CELLE | 0 | 17659 | <filename>source/types.ads<gh_stars>0
--
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
pack... |
src/lab-code/car-blinker/car-blinker-rav-ql/src/bcontrol.ads | hannesb0/rtpl18 | 0 | 17756 | <filename>src/lab-code/car-blinker/car-blinker-rav-ql/src/bcontrol.ads
with System;use System;
package Bcontrol is
--type Command_Type is new String(1..3);
type Command_Type is (BLE, BLS, BRS, EMS, STR, STP);
protected type Command_Access is
procedure Send( Cmd: Command_Type);
entry Receive(Cmd : ... |
cohomology/Choice.agda | UlrikBuchholtz/HoTT-Agda | 1 | 16408 | {-# OPTIONS --without-K #-}
open import HoTT
module cohomology.Choice where
unchoose : ∀ {i j} {n : ℕ₋₂} {A : Type i} {B : A → Type j}
→ Trunc n (Π A B) → Π A (Trunc n ∘ B)
unchoose = Trunc-rec (Π-level (λ _ → Trunc-level)) (λ f → [_] ∘ f)
has-choice : ∀ {i j} (n : ℕ₋₂) (A : Type i) (B : A → Type j) → Type (lmax ... |
src/fot/Common/FOL/Relation/Binary/EqReasoning.agda | asr/fotc | 11 | 10614 | ------------------------------------------------------------------------------
-- Equality reasoning on FOL
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-#... |
external/source/shellcode/windows/x64/src/stage/stage_shell.asm | madhavarao-yejarla/VoIP | 35 | 87975 | ;-----------------------------------------------------------------------------;
; Author: <NAME> (stephen_fewer[at]harmonysecurity[dot]com)
; Compatible: Windows 7, 2003
; Architecture: x64
; Size: 336 bytes
; Build: >build.py stage_shell
;--------------------------------------------------------------------------... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1029.asm | ljhsiun2/medusa | 9 | 178004 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r9
push %rcx
push %rdx
push %rsi
lea addresses_normal_ht+0xbbb5, %r10
nop
add $40727, %rcx
movb (%r10), %r15b
nop
nop
nop
nop
nop
cmp $51175, %r9
lea addresses_WC_ht+0xc8ed, %r15
nop
add %rdx, %rdx
movw $0x6162, (... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.