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 |
|---|---|---|---|---|
alloy4fun_models/trashltl/models/19/zWEvN4vHBJj7fcjQn.als | Kaixi26/org.alloytools.alloy | 0 | 4181 | open main
pred idzWEvN4vHBJj7fcjQn_prop20 {
always all f : File | f in Trash since f not in Protected
}
pred __repair { idzWEvN4vHBJj7fcjQn_prop20 }
check __repair { idzWEvN4vHBJj7fcjQn_prop20 <=> prop20o } |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-diinio.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 16387 | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-diinio.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
source/amf/ocl/amf-ocl-iterator_exps-collections.ads | svn2github/matreshka | 24 | 827 | <reponame>svn2github/matreshka<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
alloy4fun_models/trashltl/models/4/KcjpAxJe6zdPqBcNB.als | Kaixi26/org.alloytools.alloy | 0 | 4352 | open main
pred idKcjpAxJe6zdPqBcNB_prop5 {
no Trash and no Trash until some Trash
}
pred __repair { idKcjpAxJe6zdPqBcNB_prop5 }
check __repair { idKcjpAxJe6zdPqBcNB_prop5 <=> prop5o } |
test/movd64.asm | bitwiseworks/nasm-os2 | 3 | 15390 | bits 64
movd r8d, mm1
movd r8, mm1
movq r8, mm1
movd [rax], mm1
movq [rax], mm1
movd dword [rax], mm1
; movq dword [rax], mm1
movd qword [rax], mm1
movq qword [rax], mm1
; movd mm2, mm1
movq mm2, mm1
|
configuration-generate_basic_config.adb | annexi-strayline/AURA | 13 | 1280 | ------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- ... |
Debug/eeprom.asm | polamagdygeo/uWave | 0 | 103524 | <filename>Debug/eeprom.asm
;******************************************************************************
;* TI ARM C/C++ Codegen Unix v18.1.1.LTS *
;* Date/Time created: Fri Jul 3 20:08:23 2020 *
;****************************************************... |
base/agda/Base/Free/Instance/Identity.agda | FreeProving/free-compiler | 36 | 8758 | module Base.Free.Instance.Identity where
open import Data.Empty using (⊥)
open import Base.Free using (Free)
-- Representation of the `Identity` monad using free.
Shape : Set
Shape = ⊥
Position : Shape → Set
Position _ = ⊥
Identity : Set → Set
Identity = Free Shape Position
|
asm/codes/normal/speed_display.asm | brikr/practice-rom-patcher | 2 | 99058 | // Speed Display
origin 0x00E50C
base 0x8025350C
nop // 8125350C 2400
origin 0x00E59C
base 0x8025359C
nop // 8125359C 2400
origin 0x00E5E8
base 0x802535E8
nop // 812535E8 2400
|
Ada/inc/Problem_46.ads | Tim-Tom/project-euler | 0 | 13302 | package Problem_46 is
procedure Solve;
end Problem_46;
|
Task/Loops-Do-while/Ada/loops-do-while-1.ada | mullikine/RosettaCodeData | 1 | 27903 | loop
Value := Value + 1;
Put (Value);
exit when Value mod 6 = 0;
end loop;
|
TIS100/Programs/Multiplier.asm | embix/TIS100 | 11 | 1911 | <gh_stars>10-100
@1
MOV UP ACC
MOV ACC RIGHT
MOV ACC RIGHT
@2
MOV UP ACC
MOV ACC RIGHT
SUB LEFT
JGZ ELSE
MOV LEFT DOWN
MOV RIGHT DOWN
JRO -99
ELSE:
MOV RIGHT DOWN
MOV LEFT DOWN
@3
MOV UP ACC
SAV
MOV UP ACC
LOOP:
JEZ DONE
SWP
MOV ACC DOWN
MOV ACC DOWN
SWP
SUB 1
JMP LOOP
DONE:
MOV -1 DOWN
@4
MOV UP ACC
JLZ DONE
SWP
A... |
src/main/mc/parser/MC.g4 | thanhhocse96/micro_c_compiler | 0 | 1044 | /**
* Student name: <NAME>
* Student ID: 1413494
*/
grammar MC;
@lexer::header{
package mc.parser;
}
@lexer::members{
@Override
public Token emit() {
switch (getType()) {
case UNCLOSE_STRING:
Token result = super.emit();
// you'll need to define this method
throw new Unclose... |
packages/boot/x86_64/boot.asm | Gaelan/os-experiment | 2 | 246806 | %macro print 1-*
push ecx
push edi
push esi
mov edi, 0xB8000 ; message destination (vga text buffer)
%rep %0
cmp edi, 0xB8FA0 ; end of vga text buffer (exclusive)
jge %%end ; stop writing bytes
mov esi, %1 ; message start
mov ecx, %1_end - %1 ; message length
rep movsb
add ed... |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver2/sfc/ys_bgsc.asm | prismotizm/gigaleak | 0 | 168726 | Name: ys_bgsc.asm
Type: file
Size: 51125
Last-Modified: '2016-05-13T04:51:45Z'
SHA-1: 356B0A04E4B325990F0984E44FC8636122C1459F
Description: null
|
Chapter_8/Program 8.4_SSE_packed/x86/Program_8.4_NASM.asm | chen150182055/Assembly | 272 | 11362 | <gh_stars>100-1000
; Program 8.4
; SSE Packed Operations - NASM (32-bit)
; Copyright (c) 2017 Hall & Slonka
section .data
align 16 ; 16-byte alignment
vectorA: dd 1.2, 3.4, 5.6, 7.8
vectorB: dd 7.8, 5.6, 3.4, 1.2
section .bss
result: resd 4 ; space for storing results
section .text
global _main
_main:
movaps xm... |
3-mid/opengl/source/lean/geometry/lit_colored/opengl-program-lit_colored.adb | charlie5/lace | 20 | 8712 | <reponame>charlie5/lace
with
ada.Strings.fixed;
package body openGL.Program.lit_colored
is
overriding
procedure set_Uniforms (Self : in Item)
is
the_inverse_modelview_matrix_Uniform : constant Variable.uniform.mat3
:= Self.uniform_Variable ("inv_modelview_Matrix");
the_scale_Uniform ... |
bb-runtimes/src/s-bbsumu__generic.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 26975 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
third_party/heif_decoder/src/main/cpp/libx265/common/x86/pixel-a.asm | vy12021/glide_webp | 14 | 27625 | ;*****************************************************************************
;* pixel.asm: x86 pixel metrics
;*****************************************************************************
;* Copyright (C) 2003-2013 x264 project
;* Copyright (C) 2013-2017 MulticoreWare, Inc
;*
;* Authors: <NAME> <<EMAIL>>
;* ... |
test/Fail/Issue3537.agda | cruhland/agda | 1,989 | 10735 | <filename>test/Fail/Issue3537.agda
{-# OPTIONS --cubical #-}
open import Agda.Builtin.Cubical.Path
-- Works:
data Truncate (A : Set) : Set where
[_] : A → Truncate A
sq : ∀{x y} (p q : PathP (λ _ → Truncate A) x y)
→ PathP (λ _ → PathP (λ _ → Truncate A) x y) p q
data Truncat (A : Set) : Set where
... |
source/xml/sax/xml-sax-locators.ads | svn2github/matreshka | 24 | 21754 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
KernelLand/Kernel/arch/x86_64/proc.asm | thepowersgang/acess2 | 58 | 177919 | ;
;
;
%include "arch/x86_64/include/common.inc.asm"
[BITS 64]
[section .text]
[extern Threads_Exit]
[extern glThreadListLock]
[extern SHORTREL]
[global GetRIP]
GetRIP:
mov rax, [rsp]
ret
[global NewTaskHeader]
NewTaskHeader:
; [rsp+0x00]: Thread
; [rsp+0x08]: Function
; [rsp+0x10]: Argument
mov rdi, glThreadL... |
oeis/051/A051632.asm | neoneye/loda-programs | 11 | 22027 | <reponame>neoneye/loda-programs
; A051632: Rows of triangle formed using Pascal's rule except we begin and end the n-th row with n-2.
; Submitted by <NAME>
; -2,-1,-1,0,-2,0,1,-2,-2,1,2,-1,-4,-1,2,3,1,-5,-5,1,3,4,4,-4,-10,-4,4,4,5,8,0,-14,-14,0,8,5,6,13,8,-14,-28,-14,8,13,6,7,19,21,-6,-42,-42,-6,21,19,7,8,26,40,15,-48,... |
oeis/145/A145009.asm | neoneye/loda-programs | 11 | 88185 | <filename>oeis/145/A145009.asm
; A145009: Array read by antidiagonals: array of odd integers found in |A144912| with axes b = {4, 6, 8, ...} and n = {b^2, b^4, b^6, ...}.
; Submitted by <NAME>
; 7,13,13,19,23,19,25,33,33,25,31,43,47,43,31,37,53,61,61,53,37,43,63,75,79,75,63,43,49,73,89,97,97,89,73,49,55,83,103,115,119,... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_932.asm | ljhsiun2/medusa | 9 | 12632 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_932.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x9700, %rsi
lea addresses_A_ht+0xc500, %rdi
clflush (%rsi)
nop
nop
n... |
src/PJ/rastlib/bymtblit.asm | AnimatorPro/Animator-Pro | 119 | 102309 | <reponame>AnimatorPro/Animator-Pro
include raster.i
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
public pj_tbli8
;void JREGS pj_tbli8(Vscreen *dv, int dx, int dy, int w, int h, int sx, int sy,
; Vscreen *sv, int tcolor);
;Blit a bitplane into memory byte-a-pixel plane.
pj_tb... |
sources/ada/magics.ads | reznikmm/jupyter | 4 | 15539 | <gh_stars>1-10
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with League.Strings;
package Magics is
pragma Preelaborate;
function "+" (Text : Wide_Wide_String)
return League.Strings.Universal_String
... |
3-mid/impact/source/3d/collision/dispatch/impact-d3-collision-algorithm-convex_plane.ads | charlie5/lace | 20 | 29180 | <reponame>charlie5/lace<filename>3-mid/impact/source/3d/collision/dispatch/impact-d3-collision-algorithm-convex_plane.ads
with
impact.d3.Dispatcher,
impact.d3.collision.manifold_Result,
impact.d3.collision.create_Func;
with impact.d3.Manifold;
with impact.d3.collision.Algorithm;
with impact.d3.Object;
... |
orka_transforms/src/orka-transforms-simd_matrices.ads | onox/orka | 52 | 22436 | <reponame>onox/orka<gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2016 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... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/inline_scope_p.ads | best08618/asylo | 7 | 27313 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/inline_scope_p.ads<gh_stars>1-10
package inline_scope_p is
procedure Assert (Expr : Boolean; Str : String);
pragma Inline (Assert);
end;
|
ADL/Assemble/Update/2/BHR_sort_inc.asm | MaxMorning/LinkedListVisualization | 3 | 96154 | <reponame>MaxMorning/LinkedListVisualization
aLine 0
gNew basePtr
gMoveNext basePtr, Root
gNewVPtr maxNext
gNewVPtr rootNext
gMoveNext rootNext, Root
gNewVPtr basePrev
gNew maxPtr, 1085, 800
gNewVPtr maxPrev
gNew currentPtr, 1085, 920
aLine 1
gBeq basePtr, null, 46
aLine 3
gMove maxPtr, basePtr
aLine 4
gMoveNext cu... |
src/test/resources/testData/parse/dictionaries_random/huge_sript.scpt | stigger/AppleScript-IDEA | 18 | 3250 | -------------------------------------------------------------------------------------------
--Script:
-------------------------------------------------------------------------------------------
# Auth: <NAME>
# dCre: 2014/08/15 20:04
# dMod: 2015/06/15 00:20
# Appl: Finder, BBEdit
# Task: Send Info for the selected i... |
tests/syntax_examples/src/basic_subprogram_calls.ads | TNO/Dependency_Graph_Extractor-Ada | 1 | 30704 | <filename>tests/syntax_examples/src/basic_subprogram_calls.ads
package Basic_Subprogram_Calls is
function F1 return Integer;
function F2(I : Integer) return Integer;
function F3(I : Integer := 42) return Integer;
function F4 return Integer is
(42);
function F5(I: Integer) return Int... |
awa/src/awa-wikis-parsers.adb | Letractively/ada-awa | 0 | 30525 | <reponame>Letractively/ada-awa
-----------------------------------------------------------------------
-- awa-wikis-parsers -- Wiki parser
-- Copyright (C) 2011, 2012, 2013, 2014, 2015 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use thi... |
source/projx32VS2008.asm | lyubov888L/RecView | 8 | 2162 | <reponame>lyubov888L/RecView
.686
.xmm
.model flat, c
DATA segment align(32)
F76543210 real4 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0
F88888888 real4 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0
F00000000 real4 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
F3210 real4 0.0, 1.0, 2.0, 3.0
DATA ends
.code
projx32 PROC param:dword
; ... |
pwnlib/shellcraft/templates/arm/android/open_file.asm | IMULMUL/python3-pwntools | 325 | 92814 | <gh_stars>100-1000
<% from pwnlib.util.misc import force_bytes %>
<%page args="filepath, flags='O_RDONLY', mode=0644"/>
<%docstring>Opens a file. Leaves the file descriptor in r0.
Args:
filepath(bytes, str): The file to open.
flags(int, str): The flags to call open with.
mode(int, str): The attribute to create t... |
Class Exercises/Problem 7.a51 | pronoym99/Microcontrollers-and-Applications | 1 | 82964 | <gh_stars>1-10
;program to set and clear bit 7 of internal RAM address 28h without changing any other bits in byte
org 0000h
setb 28h.7
clr 28h.7
end |
xmrstak/backend/cpu/crypto/asm/cryptonight_v8_main_loop.asm | danyalson-py/cryptoanalyst-mining | 0 | 194 | _TEXT_CNV8_MAINLOOP SEGMENT PAGE READ EXECUTE
PUBLIC cryptonight_v8_mainloop_ivybridge_asm
PUBLIC cryptonight_v8_mainloop_ryzen_asm
PUBLIC cryptonight_v8_double_mainloop_sandybridge_asm
ALIGN(64)
cryptonight_v8_mainloop_ivybridge_asm PROC
INCLUDE cryptonight_v8_main_loop_ivybridge_win64.inc
ret 0
mov eax, 373592905... |
45/runtime/rt/ovlmul.asm | minblock/msdos | 0 | 80323 | TITLE ovlmul - I4 Multiply with overflow checking
;***
;ovlmul - I4 Multiply with overflow checking
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
; 8086 Signed Long Multiply Routine, which checks overflows
;
;******************************************************************************
INCLUDE switch.inc... |
src/grammar/LanguageBase.g4 | omerfarukz/Child-Lang | 17 | 7867 | grammar LanguageBase;
lang: (block)+;
block : command_block_func
| command_block_if
| command_block_while
| command+ EOL? EOL?
;
//< Command expressions
command : (COMMENT | command_call ... |
programs/oeis/268/A268361.asm | neoneye/loda | 22 | 26514 | ; A268361: Lexicographically least sequence of a certain form that avoids additive squares.
; 1,2,1,3,1,2,1,5,1,2,1,3,1,2,1,8,1,2,1,3,1,2,1,5,1,2,1,3,1,2,1,13,1,2,1,3,1,2,1,5,1,2,1,3,1,2,1,8,1,2,1,3,1,2,1,5,1,2,1,3,1,2,1,21,1,2,1,3,1,2,1,5,1,2,1,3,1,2,1,8,1,2,1,3,1,2,1,5,1,2,1,3,1,2,1,13,1,2,1,3
seq $0,90739 ; Exponen... |
sbsext/utq/fdef.asm | olifink/smsqe | 0 | 96381 | * Set address of file system defaults V0.1 <NAME> QJUMP
*
section utils
*
xdef ut_fdef
*
include dev8_sbsext_ext_keys
*
* d2 c p pointer to default pointer
* a4 r pointer to default string
*
ut_fdef
movem.l d1/d2/a0,-(sp)
moveq #mt.inf,d0
trap #1
movem.l (sp)+,d1/d2
move.l sv_fdefo(a0,d2.w),a4
move.l (... |
archive/agda-3/src/Oscar/Class/Injectivity/Vec.agda | m0davis/oscar | 0 | 4395 | <filename>archive/agda-3/src/Oscar/Class/Injectivity/Vec.agda
open import Oscar.Prelude
open import Oscar.Class.Successor₀
open import Oscar.Class.Injectivity
open import Oscar.Data.¶
open import Oscar.Data.Vec
open import Oscar.Data.Proposequality
import Oscar.Property.Thickandthin.FinFinProposequalityMaybeProposequa... |
app/hack/ro_buffer.asm | USN484259/COFUOS | 1 | 89464 | [bits 64]
exit_process equ 0x0210
vm_protect equ 0x0408
vm_reserve equ 0x0410
vm_commit equ 0x0414
stream_read equ 0x0508
section .text
xor rdx,rdx
mov r8d,2
mov eax,vm_reserve
syscall
test rax,rax
mov rdx,rax
jz abort
mov r8d,1
mov eax,vm_commit
mov rbx,rdx
syscall
test eax,eax
jnz abort
mov rdx,rbx
mov r8d,1
m... |
programs/oeis/170/A170798.asm | neoneye/loda | 22 | 93949 | <gh_stars>10-100
; A170798: a(n) = n^10*(n^6 + 1)/2.
; 0,1,33280,21552885,2148007936,76298828125,1410585186816,16616606522425,140738025226240,926511837818121,5000005000000000,22974877900498381,92442160406200320,332708373520835845,1088976813532013056,3284204466181640625,9223372586610589696,24330596945830384465,607197673... |
source/league/league-strings-cursors-grapheme_clusters.adb | svn2github/matreshka | 24 | 9177 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
oeis/180/A180674.asm | neoneye/loda-programs | 11 | 18332 | ; A180674: a(n) = Fibonacci(n+9) - Fibonacci(9).
; Submitted by <NAME>
; 0,21,55,110,199,343,576,953,1563,2550,4147,6731,10912,17677,28623,46334,74991,121359,196384,317777,514195,832006,1346235,2178275,3524544,5702853,9227431,14930318,24157783,39088135,63245952,102334121,165580107,267914262,433494403,701408699,11349031... |
Miscelaneo/Ejemplos/Ejercicios dados en Clase/2019-05-14 _ Repaso/base4/base4.asm | Savantage/ORGACOMPUTER | 0 | 13639 | ;Ejercicio:
;Dado el archivo words.dat que contiene campos de 2 bytes en formato bpf c/signo de 16 bits (palabras)
;se pide hacer un programa que lea el archivo e imprima por pantalla la config en base 4 de las mismas.
;Debera hacer uso de una rutina interna para hacer obtener dicha configuración.
global _main
extern ... |
common/alias.asm | DigitalMars/optlink | 28 | 476 | <gh_stars>10-100
TITLE ALIAS - Copyright (c) SLR Systems 1994
INCLUDE MACROS
INCLUDE SYMBOLS
PUBLIC ALIASS
.DATA
EXTERNDEF END_OF_RECORD:DWORD
EXTERNDEF SYMBOL_GARRAY:STD_PTR_S,SYMBOL_TPTR:TPTR_STRUCT
EXTERNDEF OPTI_MOVE:DWORD
.CODE PASS1_TEXT
EXTERNDEF OBJ_PHASE:PROC,FAR_INSTALL:PROC,ERR_... |
wc.asm | mtreffert/xv6-staus-treffert | 0 | 92380 | <filename>wc.asm
_wc: file format elf32-i386
Disassembly of section .text:
00000000 <wc>:
char buf[512];
void
wc(int fd, char *name)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 57 push %edi
4: 31 ff xor %edi,%edi
6:... |
Source/Levels/L0412.asm | AbePralle/FGB | 0 | 8546 | ; L0412.asm sunset village stonehead house
; Generated 08.31.2000 by mlevel
; Modified 08.31.2000 by <NAME>
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
STATE_TALK_MISSION EQU 1
STATE_MISSION_TALKED EQU 2
STATE_TALK_FIXED EQU 3
STATE_FIXED_TALKED EQU 4
STATE_HIVE_DESTROYED EQU 2 ;from 0312
;---... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1902.asm | ljhsiun2/medusa | 9 | 25368 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1374f, %rax
clflush (%rax)
nop
nop
cmp $30441, %r15
mov (%rax), %esi
nop
nop
nop
nop
nop
inc %rbx
lea addresses_D_ht+0xcc1, %rsi
lea addresses_A... |
test/epic/Prelude/Vec.agda | larrytheliquid/agda | 0 | 2812 | <filename>test/epic/Prelude/Vec.agda
module Prelude.Vec where
open import Prelude.Nat
open import Prelude.Fin
open import Prelude.Unit
open import Prelude.List using (List ; [] ; _::_)
infixr 40 _::_
data Vec (A : Set) : Nat -> Set where
_::_ : forall {n} -> A -> Vec A n -> Vec A (S n)
[] : Vec A Z
infixr 30 ... |
oeis/066/A066809.asm | neoneye/loda-programs | 11 | 166446 | ; A066809: a(n) = sum of modular offsets: mod[n+c,b]-(mod[n,b]+c) for c<=b<=n.
; Submitted by <NAME>
; 1,3,8,13,27,34,61,76,111,136,201,213,303,354,439,490,642,682,871,935,1107,1234,1509,1535,1834,2011,2298,2438,2872,2937,3432,3619,4049,4350,4905,4956,5658,6033,6634,6844,7704,7871,8816,9180,9874,10421,11548
mov $6,$0
... |
tests/log-test_data-tests.adb | thindil/steamsky | 80 | 18114 | <filename>tests/log-test_data-tests.adb
-- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-- cod... |
theorems/cohomology/CofiberSequence.agda | cmknapp/HoTT-Agda | 0 | 13268 | <reponame>cmknapp/HoTT-Agda
{-# OPTIONS --without-K #-}
open import HoTT
open import cohomology.FunctionOver
open import cohomology.FlipPushout
module cohomology.CofiberSequence {i} where
{- Lemma: pushing flip-susp through susp-fmap -}
flip-susp-fmap : {A B : Type i} (f : A → B)
→ ∀ σ → flip-susp (susp-fmap f σ) ... |
ESEMPI/Es_sign_odd.asm | Porchetta/py-pdp8-tk | 8 | 22246 | // Dato N controllare se e' pari o dispari
// e se e' negativo o positivo
ORG 100
LDA N
CIL
SZE
BUN NEG
BUN POS
NEG, LDA SIGN
CMA
STA SIGN
BUN AFT
POS, LDA SIGN
INC
STA SIGN
AFT, CLE
LDA N
CIR
SZE
BUN TO_O
BUN TO_E
TO_O, LDA ODD
INC
STA ODD
BUN FINE
TO_E, LDA ODD
CMA
STA ODD
FINE, HLT
N, DEC -4
... |
alloy4fun_models/trashltl/models/13/Y8vrYcxp73Jq3ymu2.als | Kaixi26/org.alloytools.alloy | 0 | 2102 | <gh_stars>0
open main
pred idY8vrYcxp73Jq3ymu2_prop14 {
after (all f:File| f in Trash&Protected implies f not in Protected)
}
pred __repair { idY8vrYcxp73Jq3ymu2_prop14 }
check __repair { idY8vrYcxp73Jq3ymu2_prop14 <=> prop14o } |
programs/oeis/070/A070653.asm | neoneye/loda | 22 | 169191 | ; A070653: a(n) = n^6 mod 30.
; 0,1,4,9,16,25,6,19,4,21,10,1,24,19,16,15,16,19,24,1,10,21,4,19,6,25,16,9,4,1,0,1,4,9,16,25,6,19,4,21,10,1,24,19,16,15,16,19,24,1,10,21,4,19,6,25,16,9,4,1,0,1,4,9,16,25,6,19,4,21,10,1,24,19,16,15,16,19,24,1
pow $0,2
mod $0,30
|
projects/batfish/src/main/antlr4/org/batfish/grammar/fortios/Fortios_service.g4 | pranavbj-amzn/batfish | 763 | 4345 | parser grammar Fortios_service;
options {
tokenVocab = FortiosLexer;
}
cf_service: SERVICE (cfs_custom | cfs_group | IGNORED_CONFIG_BLOCK);
// Service custom
cfs_custom: CUSTOM newline cfsc*;
cfsc: cfsc_edit | cfsc_rename;
cfsc_rename: RENAME current_name = service_name TO new_name = service_name newline;
cfsc_... |
asm/exponentation/exponentation.asm | severinkaderli/BTI7061-CSBas | 1 | 173231 | section .data
Number: db 17
Exponent: db 6
section .bss
Power: resb 16
section .text
global _start
EXTERN printText, printNewline, convertNumberToString
;******************************************************************************
; Calculates the power of a number with a given exponent.
;
; Input: rbx: The... |
4-high/gel/applet/demo/sprite/mixed_joints_2d/launch_mixed_joints_2d.adb | charlie5/lace-alire | 1 | 7924 | <reponame>charlie5/lace-alire
with
gel.Window.setup,
gel.Applet.gui_world,
gel.Forge,
gel.Sprite,
gel.Joint,
opengl.Palette,
Physics,
ada.Text_IO,
ada.Exceptions;
pragma unreferenced (gel.Window.setup);
procedure launch_mixed_Joints_2d
--
-- Drops a variety of shapes ... |
src/SystemF/Syntax/Type.agda | metaborg/ts.agda | 4 | 6271 | module SystemF.Syntax.Type where
open import Prelude
open import Data.Fin hiding (lift)
open import Data.Fin.Substitution
open import Extensions.Substitution
open import Data.Star using (Star; ε; _◅_)
infixl 10 _→'_
data Type (ν : ℕ) : Set where
tc : ℕ → Type ν
tvar : (n : Fin ν) → Type ν
_→'_ : Type ν → Type... |
awa/plugins/awa-counters/src/awa-counters-definition.ads | fuzzysloth/ada-awa | 81 | 8874 | <gh_stars>10-100
-----------------------------------------------------------------------
-- awa-counters-definition -- Counter definition
-- Copyright (C) 2015 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complian... |
Data/Binary/Conversion/Fast/Strict.agda | oisdk/agda-playground | 6 | 16534 | {-# OPTIONS --without-K --safe #-}
module Data.Binary.Conversion.Fast.Strict where
open import Data.Binary.Definition
open import Data.Nat.DivMod
open import Data.Nat.Base using (ℕ; suc; zero)
open import Strict
open import Data.Bool
⟦_⇑⟧⟨_⟩ : ℕ → ℕ → 𝔹
⟦ suc n ⇑⟧⟨ suc w ⟩ =
let! m =! even n in!
let! ms =! ⟦ n ... |
ver0/reference/chapter5/c/loader.asm | RongbinZhuang/simpleOS | 0 | 174254 | org 0100h
BaseOfStack equ 0100h
BaseOfKernelFile equ 08000h ; KERNEL.BIN 被加载到的位置 ---- 段地址
OffsetOfKernelFile equ 0h ; KERNEL.BIN 被加载到的位置 ---- 偏移地址
jmp LABEL_START ; Start
; 下面是 FAT12 磁盘的头, 之所以包含它是因为下面用到了磁盘的一些信息
%include "fat12hdr.inc"
LABEL_START: ; <--- 从这里开始 *************
mov ax, cs
mov ds, ax
... |
src/apsepp-test_node_class-runner_sequential-create.adb | thierr26/ada-apsepp | 0 | 11395 | <gh_stars>0
-- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Apsepp.Test_Node_Class.Suite_Stub;
function Apsepp.Test_Node_Class.Runner_Sequential.Create
(Root_Node_Access : Test_Node_Access;
Test_Reporter_Instance_Access : Test_Reporter_Access := ... |
asm/bombbag.asm | Prof9/Minish-Cap-EU-Backport | 2 | 19598 | <reponame>Prof9/Minish-Cap-EU-Backport
// Place hook in the shop's object loading routine
.org 0x804EBB6
bne hook_bomb_bag_check
.org 0x804EBC0
hook_bomb_bag_check:
ldr r1,=sub_bomb_bag_check|1
bx r1
.pool
// Place hook in the purchase flag set routine
.org 0x8064DF8
hook_flag_set:
ldr r1,=sub_flag_set|1
bx r1... |
user/cat.asm | noastern/os212-ass3 | 0 | 103900 |
user/_cat: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <cat>:
char buf[512];
void
cat(int fd)
{
0: 7179 addi sp,sp,-48
2: f406 sd ra,40(sp)
4: f022 sd s0,32(sp)
6: ec26 sd s1,24(sp)
8: e84a ... |
oeis/060/A060788.asm | neoneye/loda-programs | 11 | 92499 | <filename>oeis/060/A060788.asm
; A060788: a(n) = 9*(n-2)^2 * (n^2 - 2*n - 1).
; 0,18,252,1134,3312,7650,15228,27342,45504,71442,107100,154638,216432,295074,393372,514350,661248,837522,1046844,1293102,1580400,1913058,2295612,2732814,3229632,3791250,4423068,5130702,5919984,6796962,7767900,8839278,10017792,11310354,127240... |
programs/oeis/125/A125083.asm | karttu/loda | 0 | 99172 | ; A125083: a(n) = n^5-n^4-n^3-n^2-n-1.
; -1,-4,1,122,683,2344,6221,14006,28087,51668,88889,144946,226211,340352,496453,705134,978671,1331116,1778417,2338538,3031579,3879896,4908221,6143782,7616423,9358724,11406121,13797026,16572947,19778608,23462069,27674846,32472031,37912412,44058593,50977114,58738571,67417736,7709367... |
bank2lib.asm | traidna/MUMPS-TI99-4A | 0 | 179203 | <reponame>traidna/MUMPS-TI99-4A
RetBank0: ; r1 bank address to pass always bank 0
; address to return should be on top of the stack
li r1,BANK0 ;
mov r1,@SWBANK+2 ; mov address of bank to pad ram
pop r2 ; pop address that was pushed in gobank
mov r2,@SWBANK+6 ... |
ada-calendar-arithmetic.ads | mgrojo/adalib | 15 | 10231 | -- Standard Ada library specification
-- Copyright (c) 2003-2018 <NAME> <<EMAIL>>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
-- SPDX-License-... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_832.asm | ljhsiun2/medusa | 9 | 85932 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_832.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1243c, %rsi
lea addresses_WC_ht+0x18d18, %rdi
no... |
libsrc/_DEVELOPMENT/target/rc2014/driver/ram/z80/asm_shadow_relocate.asm | ahjelm/z88dk | 4 | 82997 | <gh_stars>1-10
INCLUDE "config_private.inc"
SECTION smc_driver
EXTERN asm_shadow_copy
EXTERN asm_shadow_copy_end
PUBLIC asm_shadow_relocate
; @feilipu November 2021
;
; The RAM bank is toggled by outputting 0/1 to 0x0030
;
; asm_shadow_copy is located in the DATA section and, for ROM builds,
; is copied to... |
2011400_NguyenTuanKiet_Lab5/bt1_2.asm | alumica/KTMT | 0 | 101850 | .model small
.stack
.data
tbn db 'Nhap so nhi phan (toi da 16 bit): $'
tbx db 13, 10, 'So nhi phan da nhap: $'
tam db ?
.code
mov ax, @data
mov ds, ax
xor bx, bx
xor cx, cx
lea dx, tbn
mov ah, 9
int 21h
input:
cmp cx, 16
... |
oeis/313/A313831.asm | neoneye/loda-programs | 11 | 169949 | <filename>oeis/313/A313831.asm
; A313831: Coordination sequence Gal.6.328.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>(s1)
; 1,5,10,16,20,25,31,36,40,46,51,56,61,66,72,76,81,87,92,96,102,107,112,117,122,128,1... |
user/ln.asm | noyaviv/try | 0 | 97099 |
user/_ln: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
#include "kernel/stat.h"
#include "user/user.h"
int
main(int argc, char *argv[])
{
0: 1101 addi sp,sp,-32
2: ec06 sd ra,24(sp)
4: e822 sd s0,16(sp)
6: e426 ... |
alloy4fun_models/trainstlt/models/5/fFzFJSz5Ecbw9SwAu.als | Kaixi26/org.alloytools.alloy | 0 | 1557 | open main
pred idfFzFJSz5Ecbw9SwAu_prop6 {
always ( all s : Signal { s in Green => s' not in Green
s not in Green => s' in Green
}
)
}
pred __repair { idfFzFJSz5Ecbw9SwAu_prop6 }
check __repair { idfFzFJSz5Ecbw9SwAu_prop6 <=> prop6o } |
wrangler-core/src/main/antlr4/co/cask/wrangler/parser/Directives.g4 | ThalesGroup/wrangler | 0 | 7302 | /*
* Copyright © 2017 Cask Data, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
boards/lpc55s69_evk_s/src/nxp-board.adb | morbos/Ada_Drivers_Library | 2 | 13708 | <reponame>morbos/Ada_Drivers_Library
package body NXP.Board is
procedure Initialize_Board
is
Configuration : GPIO_Port_Configuration;
begin
Enable_Clock (LEDs);
Configuration.Mode := Mode_Out;
Configuration.Output_Type := Push_Pull;
Configuration.Speed := Speed_Low;
... |
generated/natools-static_hash_maps-s_expressions-command_maps-test.adb | faelys/natools | 0 | 23233 | -- Generated at 2014-11-09 20:46:38 +0000 by Natools.Static_Hash_Maps
-- from src/natools-static_hash_maps-s_expressions-hash_maps.sx
with Natools.Static_Hash_Maps.S_Expressions.Command_Pkg;
with Natools.Static_Hash_Maps.S_Expressions.Command_Map;
function Natools.Static_Hash_Maps.S_Expressions.Command_Maps.Test
r... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstbin_h.ads | persan/A-gst | 1 | 11328 | <gh_stars>1-10
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib.Values;
with System;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h;
-- limited with GStreamer.GST_Low_Level.glib_2_0_glib_glist_h;
with GLIB; -- with GStreamer.GS... |
oeis/201/A201812.asm | neoneye/loda-programs | 11 | 93290 | <filename>oeis/201/A201812.asm
; A201812: Number of arrays of 4 integers in -n..n with sum zero and equal numbers of elements greater than zero and less than zero.
; 19,61,151,313,571,949,1471,2161,3043,4141,5479,7081,8971,11173,13711,16609,19891,23581,27703,32281,37339,42901,48991,55633,62851,70669,79111,88201,97963,1... |
test/succeed/MeasureMutual.agda | masondesu/agda | 1 | 1446 | -- In a mutual block, either all or none must have a MEASURE declaration.
module _ where
open import Common.Prelude
mutual
{-# MEASURE n #-}
f : (n : Nat) → Nat
f zero = zero
f (suc n) = g n
{-# MEASURE n #-}
g : (n : Nat) → Nat
g zero = zero
g (suc n) = suc (f n)
|
src/main/antlr/Module.g4 | Jacarte/astminer | 1 | 4865 | <gh_stars>1-10
/***
Grammar copied from joern project:
https://github.com/octopus-platform/joern
***/
grammar Module;
import ModuleLex, Expressions, Common, FunctionDef, CoarseSimpleDecl;
/*
Copyright (C) 2013 Fabian 'fabs' Yamaguchi <<EMAIL>>
This program is free software: you can redistribute it and/or mod... |
case-studies/performance/verification/alloy/ppc/tests/podrwposwr003.als | uwplse/memsynth | 19 | 2213 | module tests/podrwposwr003
open program
open model
/**
PPC podrwposwr003
"Fre SyncdWW Rfe PodRW PosWR DpdR Fre SyncdWW Rfe DpdR PodRW PosWR"
Cycle=Fre SyncdWW Rfe PodRW PosWR DpdR Fre SyncdWW Rfe DpdR PodRW PosWR
Relax=[PodRW,PosWR]
Safe=Fre DpdR BCSyncdWW
{
0:r2=c; 0:r4=x;
1:r2=x; 1:r4=y; 1:r8=z;
2:r2=z; 2:r4=a;
3:r... |
source/gl/web-ui-widgets-gl_widgets.adb | godunko/adawebui | 2 | 24584 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
test/Fail/Issue309b.agda | cruhland/agda | 1,989 | 2352 | <reponame>cruhland/agda<gh_stars>1000+
module Issue309b where
data D : Set where
d : D → D
syntax d x = f
g : D → D
g (d x) = f
|
alloy4fun_models/trashltl/models/7/dYpCgRqJvxfj6HTuA.als | Kaixi26/org.alloytools.alloy | 0 | 1292 | open main
pred iddYpCgRqJvxfj6HTuA_prop8 {
all f : File.link | f not in Trash and eventually f in Trash
}
pred __repair { iddYpCgRqJvxfj6HTuA_prop8 }
check __repair { iddYpCgRqJvxfj6HTuA_prop8 <=> prop8o } |
string-thms.agda | rfindler/ial | 29 | 6555 | <reponame>rfindler/ial<gh_stars>10-100
module string-thms where
open import bool
open import eq
open import string
postulate
=string-refl : (s : string) → s =string s ≡ tt
=string-to-≡ : (a b : string) → a =string b ≡ tt → a ≡ b
≡string-to-= : (a b : string) → a ≡ b → a =string b ≡ tt
≡string-to-= a .a refl = =s... |
pixy/src/host/pantilt_in_ada/sigint_handler.ads | GambuzX/Pixy-SIW | 1 | 4302 | <gh_stars>1-10
--
-- Copyright (c) 2015, <NAME> <<EMAIL>>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above copyright
-- notice and this permission notice appear in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS ... |
programs/oeis/060/A060532.asm | neoneye/loda | 22 | 94596 | ; A060532: Number of ways to color vertices of a heptagon using <= n colors, allowing rotations and reflections.
; 0,1,18,198,1300,5895,20646,60028,151848,344925,719290,1399266,2569788,4496323,7548750,12229560,19206736,29351673,43782498,63913150,91508580,128746431,178285558,243341748,327771000,436160725,573929226,74743... |
lib/aflexnat/template_manager.adb | alvaromb/Compilemon | 1 | 3214 | <filename>lib/aflexnat/template_manager.adb
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- This software was developed by <NAME> of the Arcadia project
-- at the University of California, Irvine.
--
-- Redistribution and use in source and binary forms are permitted
-- provi... |
oeis/315/A315692.asm | neoneye/loda-programs | 11 | 27831 | <filename>oeis/315/A315692.asm
; A315692: Coordination sequence Gal.6.334.4 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>(s2)
; 1,6,12,17,22,28,34,40,45,50,56,62,68,74,79,84,90,96,102,107,112,118,124,130,136,141... |
src/libraries/Rewriters_Lib/src/rewriters_find_and_replace.ads | selroc/Renaissance-Ada | 1 | 14567 | with Libadalang.Analysis; use Libadalang.Analysis;
with Rejuvenation.Find_And_Replacer; use Rejuvenation.Find_And_Replacer;
with Rejuvenation.Navigation; use Rejuvenation.Navigation;
with Rejuvenation.Patterns; use Rejuvenation.Patterns;
with Rewriters; use Rewriters;
wit... |
src/commands-publish.adb | bracke/websitegenerator | 1 | 17480 | <reponame>bracke/websitegenerator<gh_stars>1-10
with Blueprint; use Blueprint;
with Server;
with Templates_Parser;
with Ada.Text_IO;
with Generator;
with Ada.Containers;
with Ada.Calendar;
with Ada.Wide_Wide_Text_IO;
with Ada.Wide_Wide_Text_IO.Text_Streams;
with Ada.Command_Line;
with Ada.Exceptions;
with CLIC.Subcomma... |
src/XenobladeChroniclesX/Mods/PhysicsRunForrestRun/patch_run.asm | lilystudent2016/cemu_graphic_packs | 1,002 | 177932 | <reponame>lilystudent2016/cemu_graphic_packs<filename>src/XenobladeChroniclesX/Mods/PhysicsRunForrestRun/patch_run.asm
[XCX_MOVESPEED]
moduleMatches = 0xF882D5CF, 0x30B6E091, 0xAB97DE6B ; 1.0.1E, 1.0.2U, 1.0.1U
.origin = codecave
VarSpeed:
.float $mod ; dash speed (smallest means fastest, default is 1.0)
_setSpeed:... |
supported_grammars/antlr3/ANTLRv3Parser.g4 | kaby76/Domemtech.TrashBase | 1 | 6405 | <filename>supported_grammars/antlr3/ANTLRv3Parser.g4
parser grammar ANTLRv3Parser;
options
{
tokenVocab = ANTLRv3Lexer;
// contextSuperClass=LanguageServer.AttributedParseTreeNode;
}
grammarDef
: DOC_COMMENT? (LEXER | PARSER | TREE| ) GRAMMAR id_ SEMI optionsSpec? tokensSpec? attrScope* action* rules EOF
... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_115.asm | ljhsiun2/medusa | 9 | 18744 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x15f06, %rsi
lea addresses_A_ht+0x17f06, %rdi
nop
nop
nop
sub $55769, %r12
mov $17, %rcx
rep movsq
xor $9004, %rcx
lea addresses_UC_ht+0x66c6, %r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.