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 |
|---|---|---|---|---|
Structure/Operator/Vector/Subspaces/Kernel.agda | Lolirofle/stuff-in-agda | 6 | 1731 | <gh_stars>1-10
import Lvl
open import Structure.Setoid
open import Type
module Structure.Operator.Vector.Subspaces.Kernel
{ℓₛ ℓₛₑ}
{S : Type{ℓₛ}}
⦃ equiv-S : Equiv{ℓₛₑ}(S) ⦄
{_+ₛ_ _⋅ₛ_ : S → S → S}
where
open import Logic.Predicate
open import Sets.ExtensionalPredicateSet as PredSet using (PredSet ; _∈... |
source/amf/uml/amf-internals-uml_interaction_operands.ads | svn2github/matreshka | 24 | 9265 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aliasing2.ads | best08618/asylo | 7 | 5753 | <reponame>best08618/asylo
package Aliasing2 is
type Arr is Array (1..4) of Integer;
type Ptr is access all Integer;
A : Arr;
function F (P : Ptr) return Integer;
end Aliasing2;
|
programs/oeis/165/A165024.asm | karttu/loda | 1 | 22019 | ; A165024: Length of cycle mentioned in A165023
; 2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3
add $0,3898
div $0,1300
mov $1,$0
|
project/src/processor_hpp.ads | corentingay/ada_epita | 0 | 11458 | <reponame>corentingay/ada_epita<filename>project/src/processor_hpp.ads
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with registers_hpp;
with Interfaces.C.Extensions;
with System;
with instructionset_hpp;
limited with memory_hpp;
with word_operations_hpp;
package processor_hpp is
... |
programs/oeis/274/A274406.asm | karttu/loda | 1 | 2100 | ; A274406: Numbers m such that 9 divides m*(m + 1).
; 0,8,9,17,18,26,27,35,36,44,45,53,54,62,63,71,72,80,81,89,90,98,99,107,108,116,117,125,126,134,135,143,144,152,153,161,162,170,171,179,180,188,189,197,198,206,207,215,216,224,225,233,234,242,243,251,252,260,261,269,270,278,279,287,288,296,297,305,306,314,315,323,324,... |
programs/oeis/086/A086799.asm | neoneye/loda | 22 | 23290 | ; A086799: Replace all trailing 0's with 1's in binary representation of n.
; 1,3,3,7,5,7,7,15,9,11,11,15,13,15,15,31,17,19,19,23,21,23,23,31,25,27,27,31,29,31,31,63,33,35,35,39,37,39,39,47,41,43,43,47,45,47,47,63,49,51,51,55,53,55,55,63,57,59,59,63,61,63,63,127,65,67,67,71,69,71,71,79,73,75,75,79,77,79,79,95,81,83,83,... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_1_1798.asm | ljhsiun2/medusa | 9 | 241555 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x5edf, %rsi
nop
nop
nop
nop
add $23763, %r13
and $0xffffffffffffffc0, %rsi
movaps (%rsi), %xmm1
vpextrq $1, %xmm1, %rbp
nop
nop
sub $50090, %rcx
lea addresses_... |
models/tests/test65b.als | transclosure/Amalgam | 4 | 1901 | <filename>models/tests/test65b.als
module tests/test
/*
* The classic river crossing puzzle. A farmer is carrying a fox, a
* chicken, and a sack of grain. He must cross a river using a boat
* that can only hold the farmer and at most one other thing. If the
* farmer leaves the fox alone with the chicken, the fox w... |
programs/oeis/099/A099051.asm | neoneye/loda | 22 | 169373 | <reponame>neoneye/loda<filename>programs/oeis/099/A099051.asm
; A099051: p*2^p - 1 where p is prime.
; 7,23,159,895,22527,106495,2228223,9961471,192937983,15569256447,66571993087,5085241278463,90159953477631,378231999954943,6614661952700415,477381560501272575,34011184385901985791
seq $0,40 ; The prime numbers.
mov $1,... |
zombie.asm | marissa-masangcay/xv6 | 0 | 96728 | <reponame>marissa-masangcay/xv6<filename>zombie.asm
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xffff... |
examples/consoleExamples/passwordCheckSimple.agda | agda/ooAgda | 23 | 11334 | <reponame>agda/ooAgda<filename>examples/consoleExamples/passwordCheckSimple.agda
module consoleExamples.passwordCheckSimple where
open import ConsoleLib
open import Data.Bool.Base
open import Data.Bool
open import Data.String renaming (_==_ to _==str_)
open import SizedIO.Base
main : ConsoleProg
main = run (GetLine >... |
PIM/TD9/abr.ads | Hathoute/ENSEEIHT | 1 | 20567 | <reponame>Hathoute/ENSEEIHT
-- Définition de structures de données associatives sous forme d'un arbre
-- binaire de recherche (ABR).
generic
type T_Cle is private;
type T_Donnee is private;
with function "<" (Gauche, Droite : in T_Cle) return Boolean;
package ABR is
type T_ABR is limited private;
-- Initialise... |
src/Syntax.agda | mietek/nbe-correctness | 3 | 14872 | module Syntax where
open import Stack public
-- Abstract symbols, or atoms.
abstract
Atom : Set
Atom = Nat
-- Types, or propositions in constructive logic.
infixl 9 _⩕_
infixr 7 _⇒_
data Type : Set where
α_ : Atom → Type
_⇒_ : Type → Type → Type
_⩕_ : Type → Type → Type
⫪ : Type
-- Contexts, o... |
llvm-gcc-4.2-2.9/gcc/ada/exp_ch4.adb | vidkidz/crossbridge | 1 | 20177 | <filename>llvm-gcc-4.2-2.9/gcc/ada/exp_ch4.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
tests/align/5.asm | NullMember/customasm | 414 | 16988 | <reponame>NullMember/customasm
#ruledef test
{
ld {x} => 0x55 @ x`8
}
#bankdef test { #bits 3, #addr 0, #outp 0 }
#d3 $ ; = 0b000
#align 6 ; = 0b000
label:
#align 12 ; = 0b000_000
#d3 $ ; = 0b100
#d3 label ; = 0b010 |
oeis/099/A099371.asm | neoneye/loda-programs | 11 | 178942 | <filename>oeis/099/A099371.asm
; A099371: Expansion of g.f.: x/(1 - 9*x - x^2).
; Submitted by <NAME>(s1.)
; 0,1,9,82,747,6805,61992,564733,5144589,46866034,426938895,3889316089,35430783696,322766369353,2940328107873,26785719340210,244011802169763,2222891938868077,20250039251982456,184473245206710181,168050924611237408... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/z80/asm_esx_ide_mode_get.asm | jpoikela/z88dk | 640 | 26238 | ; unsigned char esx_ide_mode_get(struct esx_mode *mode)
INCLUDE "config_private.inc"
SECTION code_esxdos
PUBLIC asm_esx_ide_mode_get
PUBLIC l_esx_ide_mode_get
EXTERN __esxdos_error_mc, error_znc
IF __ZXNEXT
asm_esx_ide_mode_get:
; enter : hl = struct esx_mode *mode
;
; exit : success
;
; ... |
programs/oeis/063/A063960.asm | karttu/loda | 0 | 103623 | ; A063960: Sum of non-unitary prime divisors of n!: sum of those prime factors for which the exponent exceeds 1.
; 0,0,0,2,2,5,5,5,5,10,10,10,10,17,17,17,17,17,17,17,17,28,28,28,28,41,41,41,41,41,41,41,41,58,58,58,58,77,77,77,77,77,77,77,77,100,100,100,100,100,100,100,100,100,100,100,100,129,129,129,129,160,160,160,160... |
assignments/5/Q1/Q1_2019061.asm | plibither8/iiitd_cse231-os | 3 | 24493 | <filename>assignments/5/Q1/Q1_2019061.asm
;; Name: <NAME>
;; Roll no.: 2019061
[bits 16] ; 16-bit Real Mode commands
[org 0x7c00] ; Starting address of the code
real_mode_boot:
;; Initialise VGA configs
call init_vga
;; Switch to protected mode
call switch_to_pm
;; We jump straight to the 32 bit, protected mo... |
oeis/142/A142557.asm | neoneye/loda-programs | 11 | 168225 | <reponame>neoneye/loda-programs<filename>oeis/142/A142557.asm
; A142557: Primes congruent to 27 mod 53.
; Submitted by <NAME>
; 239,557,769,1087,1193,1511,1723,2677,3313,3631,4373,4691,4903,5009,5857,6599,6917,7129,8719,9461,10627,10733,11369,12323,12641,12853,12959,13171,13807,13913,14549,14867,16033,16139,16987,17093... |
alloy4fun_models/trainstlt/models/4/8Wtwdr5FoLWjyvz9p.als | Kaixi26/org.alloytools.alloy | 0 | 4772 | open main
pred id8Wtwdr5FoLWjyvz9p_prop5 {
always all t : Train, p : t.pos | (t.pos)' in p.prox
}
pred __repair { id8Wtwdr5FoLWjyvz9p_prop5 }
check __repair { id8Wtwdr5FoLWjyvz9p_prop5 <=> prop5o } |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2204.asm | ljhsiun2/medusa | 9 | 87803 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2204.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x12e77, %rsi
lea addresses_D_ht+0x1eefb, %rdi
nop
nop
nop
nop
add %r15, %r15
mov $90, %r... |
firmware/sources/AY_Emul_260.asm | Yevgeniy-Olexandrenko/ay-3-8912-emulator-avr-ay | 11 | 103261 | ; AY-3-8912 IC emulator version 26.0 for ATMega8/48/88/168/328 16.04.2020
;
; Sources for Atmel AVRStudio 5
;
; visit our site for more information
; These source codes are distributed under the GPL v3 license
; If you share these sources you should put the link to web site www.avray.ru
;
; ORIGIN: http://www.avray.ru
... |
src/agda/FRP/JS/Array.agda | agda/agda-frp-js | 63 | 10720 | open import FRP.JS.Nat using ( ℕ ; zero ; suc ; _≤_ ; _<_ ; _≟_ ; _+_ )
open import FRP.JS.Nat.Properties using ( ≤-impl-≯ ; <-impl-s≤ ; ≤≠-impl-< ; ≤-bot )
open import FRP.JS.Bool using ( Bool ; true ; false ; _∧_ )
open import FRP.JS.Maybe using ( Maybe ; just ; nothing )
open import FRP.JS.True using ( True ; contr... |
data/mapObjects/undergroundpathentranceroute8.asm | adhi-thirumala/EvoYellow | 16 | 26655 | <reponame>adhi-thirumala/EvoYellow
UndergroundPathEntranceRoute8Object:
db $a ; border block
db $3 ; warps
db $7, $3, $4, $ff
db $7, $4, $4, $ff
db $4, $4, $1, UNDERGROUND_PATH_WE
db $0 ; signs
db $1 ; objects
object SPRITE_GIRL, $3, $4, STAY, NONE, $1 ; person
; warp-to
EVENT_DISP PATH_ENTRANCE_ROUTE_8_W... |
Sources/Globe_3d/unzip/zip_streams.ads | ForYouEyesOnly/Space-Convoy | 1 | 8640 | <filename>Sources/Globe_3d/unzip/zip_streams.ads<gh_stars>1-10
-- Contributed by ITEC - NXP Semiconductors
-- June 2008
--
-- The Zip_Streams package defines an abstract stream
-- type, Root_Zipstream_Type, with name, time and an index for random access.
-- In addition, this package provides two ready - to - use d... |
out/euler07.adb | FardaleM/metalang | 22 | 10815 |
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure euler07 is
type stringptr is access all char_array;
procedure PString(s : stringptr) is
begin
String'Write (Text_Streams.S... |
xv6/xv6/grep.asm | nickeyu/xv6 | 0 | 167841 |
_grep: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
}
}
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 57 push %edi
4: 56 push %esi
5: 53 ... |
src/LibraBFT/Impl/Consensus/MetricsSafetyRules.agda | LaudateCorpus1/bft-consensus-agda | 0 | 9009 | <gh_stars>0
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Base.Types
import LibraBFT.Impl.Consens... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1942.asm | ljhsiun2/medusa | 9 | 21911 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %rax
push %rcx
push %rdx
push %rsi
// Store
lea addresses_WT+0x113d1, %r10
nop
add %rax, %rax
movl $0x51525354, (%r10)
nop
nop
nop
nop
nop
xor $13623, %rdx
// Store
l... |
oeis/209/A209822.asm | neoneye/loda-programs | 11 | 103788 | <reponame>neoneye/loda-programs
; A209822: Number of (n+1) X 2 0..2 arrays with every 2 X 2 subblock having one or two distinct values, and new values 0..2 introduced in row major order.
; Submitted by <NAME>(s1)
; 8,41,218,1169,6278,33725,181178,973337,5229038,28091861,150917378,810770609,4355687798,23399980205,125711... |
data/mapObjects/CeruleanMart.asm | AmateurPanda92/pokemon-rby-dx | 9 | 7843 | <gh_stars>1-10
CeruleanMart_Object:
db $0 ; border block
db 2 ; warps
warp 3, 7, 5, -1
warp 4, 7, 5, -1
db 0 ; signs
db 3 ; objects
object SPRITE_MART_GUY, 0, 5, STAY, RIGHT, 1 ; person
object SPRITE_BLACK_HAIR_BOY_1, 3, 4, WALK, 1, 2 ; person
object SPRITE_LASS, 6, 2, WALK, 2, 3 ; person
; warp-to
warp_... |
src/darwin/amd64/aes-ni/aes.asm | TomCrypto/Ordo | 1 | 27805 | ;/===-- aes.asm --------------------*- shared/unix/amd64/aes-ni -*- ASM -*-===*/
; AES-NI implementation
;/===----------------------------------------------------------------------===*/
BITS 64
global _aes_forward_ASM
global _aes_inverse_ASM
section .text
_aes_forward_ASM:
MOVDQU XMM0, [RDI]
MOVDQU XMM1,... |
examples/ada/sl/unit/testposition.adb | rewriting/tom | 36 | 1338 | package body TestPosition is
procedure run_test is
begin
-- testEquals
declare
p1 : Position := makeFromArray(new IntArray'(1,1));
p2 : Position := makeFromArray(new IntArray'(1,1));
begin
assert(p1.equals(p2), "Error in equals");
end;
-- testNormalize
declare
p : Position := makeFromArray(new IntArray'(... |
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_PreShiftSpr.asm | jpoikela/z88dk | 640 | 163163 | ; void *sp1_PreShiftSpr(uchar flag, uchar height, uchar width, void *srcframe, void *destframe, uchar rshift)
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _sp1_PreShiftSpr
EXTERN l0_sp1_PreShiftSpr_callee
_sp1_PreShiftSpr:
ld hl,12
add hl,sp
ld a,(hl)
dec hl
ld d,(hl)
dec hl
ld e,(hl)
... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c32108b.ada | best08618/asylo | 7 | 11820 | <gh_stars>1-10
-- C32108B.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.... |
message/generation/swift-mt-generation/repository/SR2018/grammars/SwiftMtParser_MT519.g4 | Yanick-Salzmann/message-converter-c | 0 | 7163 | grammar SwiftMtParser_MT519;
@lexer::header {
#include "repository/ISwiftMtParser.h"
#include "SwiftMtMessage.pb.h"
#include <vector>
#include <string>
#include "BaseErrorListener.h"
}
@parser::header {
#include "repository/ISwiftMtParser.h"
#include "SwiftMtMessage.pb.h"
#include <vector>
#include <string>
#include ... |
programs/oeis/237/A237617.asm | jmorken/loda | 1 | 18336 | ; A237617: a(n) = n*(n + 1)*(17*n - 14)/6.
; 0,1,20,74,180,355,616,980,1464,2085,2860,3806,4940,6279,7840,9640,11696,14025,16644,19570,22820,26411,30360,34684,39400,44525,50076,56070,62524,69455,76880,84816,93280,102289,111860,122010,132756,144115,156104,168740,182040,196021,210700,226094,242220,259095,276736,295160,31... |
non_regression/other_x64_linux_3.att.s.asm | LRGH/plasmasm | 1 | 28226 | <reponame>LRGH/plasmasm<filename>non_regression/other_x64_linux_3.att.s.asm
.file "F2x.c"
.section .text.unlikely,"ax",@progbits
.LCOLDB0:
.LCOLDE0:
.LCOLDB1:
.LCOLDE1:
.LCOLDB2:
.LCOLDE2:
.LCOLDB4:
.LCOLDE4:
.LCOLDB5:
.LCOLDE5:
.LCOLDB6:
.LCOLDE6:
.LCOLDB7:
.LCOLDE7:
.LCOLDB8:
.LCOLDE8:
.LCOLDB9:
.LCOLDE9:
.LC... |
4-high/gel/applet/demo/sprite/drop_ball_on_box/launch_drop_ball_on_box.adb | charlie5/lace | 20 | 26474 | <filename>4-high/gel/applet/demo/sprite/drop_ball_on_box/launch_drop_ball_on_box.adb
with
gel.Window.setup,
gel.Applet.gui_world,
gel.Forge,
gel.Sprite,
gel.World,
gel.Camera,
Physics,
ada.Text_IO,
ada.Exceptions;
pragma unreferenced (gel.Window.setup);
procedure launch... |
tests/src/spawn_manager-tests-main.adb | persan/spawn-manager | 1 | 29014 | <gh_stars>1-10
with GNAT.Exception_Traces;
with GNAT.Traceback.Symbolic;
with Ada.Text_IO; use Ada.Text_IO;
with Spawn_Manager.Client; use Spawn_Manager.Client;
with GNAT.Source_Info;
procedure Spawn_Manager.Tests.Main is
Args : GNAT.OS_Lib.Argument_List (1 .. 1);
Args2 : GNAT.OS_Lib.Argument_List ... |
linear_algebra/peters_eigen.adb | jscparker/math_packages | 30 | 23916 |
----------------------------------------------------------------------
-- package body Peters_Eigen, eigendecomposition
-- Copyright (C) 2008-2018 <NAME>.
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyrigh... |
Cubical/Axiom/Omniscience.agda | thomas-lamiaux/cubical | 1 | 3396 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Axiom.Omniscience where
open import Cubical.Foundations.Function
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Transport
open import Cubical.... |
bootloader/intel_16.asm | bursaiskender/BaseLevelComputerKernel | 1 | 175778 | <filename>bootloader/intel_16.asm
[BITS 16]
; Common Functions
new_line_16:
mov ah, 0Eh
mov al, 0Ah
int 10h
mov al, 0Dh
int 10h
ret
print_line_16:
mov ah, 0Eh
.repeat:
lodsb
test al, al
je .done
int 10h
jmp .repeat
.done:
call new_line_16
ret
key_wait:
... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2_notsx.log_292_498.asm | ljhsiun2/medusa | 9 | 27714 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xbd05, %rax
nop
nop
nop
nop
nop
inc %r9
movb (%rax), %r10b
nop
and $46555, %rbx
lea addresses_WT_ht+0x1312d, %rax
sub %rdi, %rdi
mov (%rax), %bx
nop
nop
nop
and ... |
Open Notes URL/Open Notes URL/AppDelegate.applescript | temochka/alfred-search-notes-app | 0 | 2268 | script AppDelegate
property parent : class "NSObject"
-- IBOutlets
property theWindow : missing value
use framework "Foundation"
use scripting additions
property NSString : a reference to current application's NSString
property NSCharacterSet : a reference to current application's ... |
src/arch/socs/stm32f429/soc-system.adb | PThierry/ewok-kernel | 65 | 2268 | <reponame>PThierry/ewok-kernel
--
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
--
-- 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 o... |
Driver/Video/Dumb/VidMem/CMYK/cmykTables.asm | steakknife/pcgeos | 504 | 243717 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Video driver
FILE: cmykTables.asm
AUTHOR: <NAME>
REVISION HISTORY:
Name Date Description
---- ---- -----------
jad 12/91... |
ada-strings.ads | mgrojo/adalib | 15 | 958 | <gh_stars>10-100
-- 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.
... |
theorems/homotopy/SphereEndomorphism.agda | mikeshulman/HoTT-Agda | 0 | 11488 | <reponame>mikeshulman/HoTT-Agda
{-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import homotopy.LoopSpaceCircle
-- This file is temporarily put in the cw/ directory for
-- development, but it actually belongs to somewhere else.
module homotopy.SphereEndomorphism where
⊙SphereS-endo-out : ∀ n
→ T... |
Gas/Prism/GIC/GIT.asm | Gabidal/GAS_Pack | 1 | 11437 | <gh_stars>1-10
;GAS COMMAND TREE
tryCatch GTree, jmp
sumAB:
add ax, bx
cycle
subAB:
sub ax, bx
cycle
mulAB:
clean dx
mul bx
cycle
divAB:
clean dx
div bx
cycle
swichAB:
xchg ax, bx
cycle
ifAB:
cmp ax, bx
je trueAB
jne falseAB
cycle
trueAB:
getFromGic
jmp endCycle
falseAB:... |
programs/oeis/017/A017539.asm | neoneye/loda | 22 | 9846 | <reponame>neoneye/loda
; A017539: (12n+1)^7.
; 1,62748517,6103515625,94931877133,678223072849,3142742836021,11047398519097,32057708828125,80798284478113,182803912081669,379749833583241,736141813551277,1347646586640625,2351243277537493
mul $0,12
add $0,1
pow $0,7
|
cgi-bin/clientr.asm | Konamiman/NestorWeb | 4 | 178602 | <filename>cgi-bin/clientr.asm
;Example of NestorWeb CGI script that performs a client redirect.
;The client will receive a "302 Found" status.
CR: equ 13
LF: equ 10
STDOUT: equ 1
_WRITE: equ 49h
org 100h
ld de,REDIR
ld hl,REDIR_END-REDIR
ld b,STDOUT
ld c,_WRITE
call 5
r... |
core/src/main/antlr4/TxnLexer.g4 | e257-fi/tackler | 0 | 3391 | /*
* Copyright 2016-2019 E257.FI
*
* 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 to... |
OS/kernel_entry.asm | logictech31/myprojects | 1 | 19767 | [bits 32]
[extern kernel_main]
call kernel_main
jmp $ |
programs/oeis/154/A154260.asm | neoneye/loda | 22 | 93323 | ; A154260: Numbers of the form m*(4*m +- 1)/2.
; 0,7,9,30,34,69,75,124,132,195,205,282,294,385,399,504,520,639,657,790,810,957,979,1140,1164,1339,1365,1554,1582,1785,1815,2032,2064,2295,2329,2574,2610,2869,2907,3180,3220,3507,3549,3850,3894,4209,4255,4584,4632,4975,5025,5382,5434,5805,5859,6244,6300,6699,6757,7170,7230... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1088.asm | ljhsiun2/medusa | 9 | 175745 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %rcx
push %rdx
lea addresses_D_ht+0xe43, %r12
nop
nop
xor $48607, %rcx
mov $0x6162636465666768, %rdx
movq %rdx, %xmm3
movups %xmm3, (%r12)
nop
nop
cmp %r11, %r11
pop %rdx
pop %rcx
pop %r12
pop %r11
ret
.global s_faulty_load
s_faul... |
software/hal/boards/common/hil/hil-uart.ads | TUM-EI-RCS/StratoX | 12 | 30930 | <reponame>TUM-EI-RCS/StratoX
-- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: <NAME> (<EMAIL>)
with HIL.Devices;
-- @summary
-- Target-independent specification for HIL of UART
package HIL.UART with
Spark_Mode
is
BUFFER_... |
bin/exportgraffle.scpt | plandes/zenbuild | 2 | 4453 | on writeCanvas(theGraffleFile, exportFolder, theCanvases)
tell application "OmniGraffle"
-- this next call blocks, need to update omnigraffle?
open file theGraffleFile as POSIX file
activate
-- If you get an error about myDoc variable not being set, try enabling a delay here
-- delay .5
set myWindow to fr... |
windows-x64/print.asm | mazoti/adler32 | 0 | 88102 | ; void print(int stdout_stderr, char* str, size_t size);
extern GetStdHandle
extern WriteFile
global print
section .text
print:
push rbp
mov rbp,rsp
sub rsp,32
call GetStdHandle
mov rcx,rax
xor r9d,r9d
call WriteFile
leave
ret
|
oeis/336/A336180.asm | neoneye/loda-programs | 11 | 172509 | <reponame>neoneye/loda-programs
; A336180: a(n) = Sum_{k=0..n} (-n)^k * binomial(n,k)^3.
; Submitted by <NAME>
; 1,0,-11,136,-639,-25624,1133245,-27431424,259448833,17402599792,-1405909697499,63884679938960,-1830503703899519,-5324845289379264,5494299851213052685,-496909924804074650624,30201149245542631276545,-123681921... |
oeis/336/A336291.asm | neoneye/loda-programs | 11 | 23710 | ; A336291: a(n) = (n!)^2 * Sum_{k=1..n} 1 / (k * ((n-k)!)^2).
; Submitted by <NAME>(w4)
; 0,1,6,39,424,7905,227766,9324511,512970144,36452217969,3247711402870,354391640998791,46474986465907176,7210874466760191409,1306387103147257800774,273269900360634449732895,65363179181419926246184576,17726298367452515070739268001
m... |
modules/core/monitor/log/storage/clickhouse/query_parser/EsQueryString.g4 | BearerPipelineTest/erda | 0 | 6437 | <reponame>BearerPipelineTest/erda<gh_stars>0
grammar EsQueryString;
GROUP_BEGIN : '(';
GROUP_END : ')';
WHITESPACE: [ \r\n\t]+ -> skip;
FIELD: [a-zA-Z0-9_] [-a-zA-Z0-9_.]+ ':';
TERM: ~[ \r\n\t"():]+;
PHRASE: '"' ~('"')+ '"';
query
: queryExpression? EOF
;
queryExpression
: GROUP_BEGIN queryExpression GR... |
src/stm32-rtc.ads | damaki/EVB1000 | 0 | 4012 | <filename>src/stm32-rtc.ads
-- This spec has been automatically generated from STM32F105xx.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
with System;
package STM32.RTC is
pragma Preelaborate;
---------------
-- Registers --
---------------
------------------
-- CRH_Register --
... |
libsrc/zx81/rollchr.asm | grancier/z180 | 0 | 161475 | <reponame>grancier/z180
;
; ZX81 libraries
;
;--------------------------------------------------------------
;
; $Id: rollchr.asm,v 1.3 2016/06/26 20:32:08 dom Exp $
;
;----------------------------------------------------------------
;
; rollchr(offset) - rotate every single character, offset 0..7
;
;------... |
parse.adb | ddugovic/words | 4 | 10274 | with TEXT_IO;
with STRINGS_PACKAGE; use STRINGS_PACKAGE;
with LATIN_FILE_NAMES; use LATIN_FILE_NAMES;
with WORD_PARAMETERS; use WORD_PARAMETERS;
with DEVELOPER_PARAMETERS; use DEVELOPER_PARAMETERS;
with INFLECTIONS_PACKAGE; use INFLECTIONS_PACKAGE;
with DICTIONARY_PACKAGE; use DICTIONARY_PACKAGE;
with ADDONS_PAC... |
test/Fail/Prop-NoImpredicativity.agda | asr/eagda | 1 | 14259 | <reponame>asr/eagda
{-# OPTIONS --enable-prop #-}
True : Prop
True = {P : Prop} → P → P
|
Cubical/Algebra/Group/Instances/DiffInt.agda | thomas-lamiaux/cubical | 0 | 2555 | {-# OPTIONS --safe #-}
module Cubical.Algebra.Group.Instances.DiffInt where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Int.MoreInts.DiffInt renaming ( _+_ to _+ℤ_ ; _-_ to _-ℤ_)
open import Cubical.Algebra.Group.Base
open import Cubical.HITs.SetQuotients
open GroupStr
ℤGroup : Group₀
fst ℤGr... |
add.asm | L4TTiCe/nasm-assembly | 0 | 172580 | <reponame>L4TTiCe/nasm-assembly<gh_stars>0
mov bx,5
mov cx,9
mov dx,bx
add dx,cx
ret |
programs/oeis/244/A244803.asm | karttu/loda | 1 | 29901 | ; A244803: The 360 degree spoke (or ray) of a hexagonal spiral of Ulam.
; 1,12,47,106,189,296,427,582,761,964,1191,1442,1717,2016,2339,2686,3057,3452,3871,4314,4781,5272,5787,6326,6889,7476,8087,8722,9381,10064,10771,11502,12257,13036,13839,14666,15517,16392,17291,18214,19161,20132,21127,22146,23189,24256,25347,26462,2... |
src/skill-books.ads | skill-lang/adaCommon | 0 | 18495 | -- ___ _ ___ _ _ --
-- / __| |/ (_) | | Common SKilL implementation --
-- \__ \ ' <| | | |__ memory manager for ada ported from c++ skill --
-- |___/_|\_\_|_|____| by: <NAME> --
-... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2699.asm | ljhsiun2/medusa | 9 | 9164 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %r14
push %r15
push %rcx
// Store
lea addresses_UC+0x1c444, %r13
nop
nop
nop
cmp %r14, %r14
mov $0x5152535455565758, %r12
movq %r12, %xmm5
vmovups %ymm5, (%r13)
nop
nop
nop
nop
n... |
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_21829_2568.asm | ljhsiun2/medusa | 9 | 94149 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
lea addresses_WT_ht+0x7e85, %rbp
nop
nop
nop
xor $50254, %r15
movb (%rbp), %dl
nop
inc %r9
lea addresses_normal_ht+0x19cc5, %rbp
cmp %rdi, %rdi
mov $0x6162636465666768, %r15
movq %r15, %xmm2
vmovups %ymm2, ... |
patcher/src/intel/trampoline_x86.asm | tyoma/micro-profiler | 194 | 85945 | <gh_stars>100-1000
; Copyright (c) 2011-2021 by <NAME> (gevorkyan.org)
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use,... |
formalization/Prelude.agda | ivoysey/Obsidian | 79 | 17012 | module Prelude where
open import Agda.Primitive using (Level; lzero; lsuc) renaming (_⊔_ to lmax)
open import Relation.Binary.PropositionalEquality as Eq
open import Data.List
open import Data.Nat.Properties
open import Data.List.Membership.DecSetoid ≡-decSetoid
open import Data.List.Relation.Unary.Any
... |
pkgs/tools/yasm/src/modules/parsers/nasm/tests/alignnop32.asm | manggoguy/parsec-modified | 2,151 | 245897 | <reponame>manggoguy/parsec-modified
bits 32
mov eax,32
align 16
ret
|
agda/Data/List/Properties.agda | oisdk/combinatorics-paper | 4 | 3731 | {-# OPTIONS --cubical --safe #-}
module Data.List.Properties where
open import Data.List
open import Prelude
open import Data.Fin
map-length : (f : A → B) (xs : List A)
→ length xs ≡ length (map f xs)
map-length f [] _ = zero
map-length f (x ∷ xs) i = suc (map-length f xs i)
map-ind : (f : A → B) (xs : L... |
disasm/return_res_noleak.asm | Kachalov/goto-report | 0 | 243829 | <filename>disasm/return_res_noleak.asm
0804850b <return_res_noleak>:
804850b: push ebp
804850c: mov ebp,esp
804850e: sub esp,0x18
8048511: mov DWORD PTR [ebp-0x18],0x0
8048518: sub esp,0xc
804851b: push 0x1
804851d: call 8048330 <malloc@plt>
8048522: add esp,0x10
8048525: mov DWORD PTR ... |
oeis/126/A126448.asm | neoneye/loda-programs | 11 | 97571 | ; A126448: Column 2 of triangle A126445; a(n) = C( C(n+4,3) - 4, n).
; Submitted by <NAME>
; 1,6,120,4495,270725,24040016,2967205528,487444845680,103073959989495,27319423696620550,8881600973913295056,3478625214672347911080,1616770762998304775695925,880246034121663208464847200
mov $1,$0
add $1,4
bin $1,3
sub $1,4
bin $... |
archive/agda-3/src/Oscar.agda | m0davis/oscar | 0 | 12795 | <reponame>m0davis/oscar
module Oscar where
import Everything
import Test
-- journals
import $RequiredForInstanceResolution
import AbstractStrictlyPositive
import AgdaErrorDisplayForm197
import AgdaFeatureInstanceResolutionViaConstraint
import AgdaFeatureNeedHiddenVariableTypeConstructorWrapper
import AgdaFeatureNoIn... |
tutorial/MyHypervisor/vmxExitHandler.asm | carlosgprado/hypervisor | 1 | 81297 | ; Functions implemented in C, called by vmExitHandler
EXTERN mainVMExitHandler:PROC
EXTERN vmResumer:PROC
.code _text
vmExitHandler PROC PUBLIC
; Store the registers in the stack
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH R11
PUSH R10
PUSH R9
PUSH R8
PUSH RSI
PUSH RBP
PU... |
source/containers/a-cbtaad.ads | ytomino/drake | 33 | 4142 | <reponame>ytomino/drake
pragma License (Unrestricted);
-- implementation unit
package Ada.Containers.Binary_Trees.Arne_Andersson.Debug is
pragma Preelaborate;
function Root (Node : not null Node_Access) return not null Node_Access;
function Dump (
Container : Node_Access;
Marker : Node_Access;
... |
docs/build/Pygments/tests/examplefiles/output/unicode.applescript | mjtamlyn/django-braces | 1 | 4700 | <gh_stars>1-10
(lp1
(ccopy_reg
_reconstructor
p2
(cpygments.token
_TokenType
p3
c__builtin__
tuple
p4
(S'Keyword'
p5
ttRp6
(dp7
S'Pervasive'
p8
g2
(g3
g4
(g5
g8
ttRp9
(dp10
S'subtypes'
p11
c__builtin__
set
p12
((ltRp13
sS'parent'
p14
g6
sbsS'Constant'
p15
g2
(g3
g4
(g5
g15
ttRp16
(dp17
g11
g12
((ltRp18
sg14
g6
sbsg14
g... |
programs/oeis/189/A189807.asm | jmorken/loda | 1 | 81339 | ; A189807: Number of right triangles on an (n+1) X 3 grid.
; 14,44,94,158,238,330,434,550,678,818,970,1134,1310,1498,1698,1910,2134,2370,2618,2878,3150,3434,3730,4038,4358,4690,5034,5390,5758,6138,6530,6934,7350,7778,8218,8670,9134,9610,10098,10598,11110,11634,12170,12718
mov $2,$0
add $2,3
mov $3,1
mov $5,$0
lpb $0
... |
alloy4fun_models/trashltl/models/7/GLtxrFwpNBMppweeC.als | Kaixi26/org.alloytools.alloy | 0 | 1763 | <gh_stars>0
open main
pred idGLtxrFwpNBMppweeC_prop8 {
all f1,f2:File | f1->f2 in link implies eventually f1 in Trash
}
pred __repair { idGLtxrFwpNBMppweeC_prop8 }
check __repair { idGLtxrFwpNBMppweeC_prop8 <=> prop8o } |
programs/oeis/076/A076694.asm | neoneye/loda | 22 | 91181 | <filename>programs/oeis/076/A076694.asm
; A076694: a(n) = n - sum of the distinct prime factors of n.
; 1,0,0,2,0,1,0,6,6,3,0,7,0,5,7,14,0,13,0,13,11,9,0,19,20,11,24,19,0,20,0,30,19,15,23,31,0,17,23,33,0,30,0,31,37,21,0,43,42,43,31,37,0,49,39,47,35,27,0,50,0,29,53,62,47,50,0,49,43,56,0,67,0,35,67,55,59,60,0,73
mov $1,... |
MP/Assignment_5/program2.asm | pratt3000/PICT_SE-Labs | 3 | 243820 | %macro display 2
mov rax,1
mov rdi,1
mov rsi,%1
mov rdx,%2
syscall
%endmacro
%macro accept 2
mov rax,0
mov rdi,0
mov rsi,%1
mov rdx,%2
syscall
%endmacro
extern file_descriptor,buffer,len_file
global _spaceCount,_lineCount,_charCount
section .bss
blank resb 2
line resb 2
charcount resb 2
char1 resb 2
outp... |
tools/dos-stub/dos-stub.asm | jet2jet/pe-library-js | 2 | 169775 | <gh_stars>1-10
; NOTE: This program is under the 0-BSD license.
;
; Copyright (C) 2021 by jet
;
; Permission to use, copy, modify, and/or distribute this software for any purpose
; with or without fee is hereby granted.
;
; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
; REGARD T... |
oeis/090/A090300.asm | neoneye/loda-programs | 11 | 243722 | ; A090300: a(n) = 14*a(n-1) + a(n-2), starting with a(0) = 2 and a(1) = 14.
; Submitted by <NAME>
; 2,14,198,2786,39202,551614,7761798,109216786,1536796802,21624372014,304278004998,4281516441986,60245508192802,847718631141214,11928306344169798,167844007449518386,2361744410637427202,33232265756373499214,4676134649998664... |
Mips Exersice/mips.asm | Pandula1234/Machine-Instructions | 0 | 3091 |
.data
num1: .word 10,15
newline: .asciiz "\n"
.text
la $t0, 0
lw $a0, num1($t0)
li $v0, 1
syscall
la $a0, newline
li $v0, 4
syscall
li $v0, 1
addiu $t0,$t0, 4
lw $a0,num1($t0)
syscall
li, $v0, 10
syscall |
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_char_64_tty_z88dk/zx_01_output_char_64_tty_z88dk_12_cls.asm | meesokim/z88dk | 0 | 175323 |
SECTION code_fcntl
PUBLIC zx_01_output_char_64_tty_z88dk_12_cls
EXTERN zx_01_output_char_64_oterm_msg_cls
EXTERN console_01_output_char_proc_reset_scroll_limit
EXTERN zx_01_output_char_32_tty_z88dk_11_home
zx_01_output_char_64_tty_z88dk_12_cls:
; clear screen
call zx_01_output_char_64_oterm_msg_cls
ld (i... |
oeis/019/A019790.asm | neoneye/loda-programs | 11 | 96869 | <gh_stars>10-100
; A019790: Decimal expansion of sqrt(e)/17.
; Submitted by <NAME>(s3)
; 9,6,9,8,3,6,0,4,1,5,8,8,3,1,0,6,7,4,6,1,6,8,5,3,4,0,4,5,9,6,5,6,6,8,0,6,8,5,5,1,6,2,4,1,2,1,8,2,4,4,0,0,0,6,8,0,8,8,7,0,1,8,3,3,1,8,0,3,5,8,9,4,8,2,0,1,2,6,8,2,8,6,0,7,5,1,5,6,0,0,0,3,3,1,5,6,8,4,8,8
add $0,1
mov $3,$0
mul $3,5
lp... |
tools/scitools/conf/understand/ada/ada05/a-coorma.ads | brucegua/moocos | 1 | 30338 | <filename>tools/scitools/conf/understand/ada/ada05/a-coorma.ads
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
translation_methods/task_3/src/main/antlr/Program.g4 | RevealMind/itmo | 2 | 6453 | grammar Program;
start: expression EOF;
expression: PRINT arg | ASGN VAR arg | IF condition expression elseif? expression?;
elseif: ELSEIF condition expression elseif?;
arg: condition | number;
condition: VAR | BOOL_CONST | BINARY_BOOL_OP condition condition | NOT condition | CMP_OP number number;
number: NUM | V... |
src/CORE32/write.asm | masscry/dmc | 86 | 11549 | ;_ write.asm Nov 9, 1993
; Copyright 1993 by Digital Mars
; All Rights Reserved
; $Revision: 1.1.1.1 $
include macros.asm
include stdio.asm
extrn __SET_ERRNO:near
extrn __chkstack:near
ifdef _WIN32
extrn _GlobalAlloc@8:near
extrn _GlobalFree@4:near
extrn _Set... |
libsrc/_DEVELOPMENT/stdio/c/sdcc_iy/puts_unlocked_fastcall.asm | meesokim/z88dk | 0 | 11207 | <filename>libsrc/_DEVELOPMENT/stdio/c/sdcc_iy/puts_unlocked_fastcall.asm
; int puts_unlocked_fastcall(const char *s)
SECTION code_stdio
PUBLIC _puts_unlocked_fastcall
EXTERN asm_puts_unlocked
defc _puts_unlocked_fastcall = asm_puts_unlocked
|
task2/ada/src/objects.ads | KamilKrol5/concurrent-programming | 0 | 28449 | <reponame>KamilKrol5/concurrent-programming<gh_stars>0
with constants;
use constants;
package objects is
type Mode is (CALM,TALKATIVE);
type operatorT is ('+', '-', '*');
type operatorsArray is array(0..2) of operatorT;
NL : constant String := Character'Val(13) & Character'Val(10);
protected typ... |
programs/oeis/061/A061479.asm | neoneye/loda | 22 | 85698 | <reponame>neoneye/loda
; A061479: Smallest number m such that first digit - second digit + third digit - fourth digit ... (of m) = n.
; 0,1,2,3,4,5,6,7,8,9,109,209,309,409,509,609,709,809,909,10909,20909,30909,40909,50909,60909,70909,80909,90909,1090909,2090909,3090909,4090909,5090909,6090909,7090909,8090909,9090909,10... |
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_319_2768.asm | ljhsiun2/medusa | 9 | 6737 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %r9
push %rbx
push %rcx
lea addresses_D_ht+0x4dc1, %r9
nop
nop
nop
nop
add %rcx, %rcx
vmovups (%r9), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $1, %xmm0, %r8
nop
and $23660, %r12
lea addresses_normal_ht+0xa675, %r8
nop
nop
nop
no... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.