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 |
|---|---|---|---|---|
samples/serialize.adb | RREE/ada-util | 60 | 17084 | <reponame>RREE/ada-util
-----------------------------------------------------------------------
-- serialize -- JSON serialization
-- Copyright (C) 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complianc... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sync1.ads | best08618/asylo | 7 | 18933 | <reponame>best08618/asylo
package sync1 is
type Chopstick_Type is synchronized interface;
type Chopstick is synchronized new Chopstick_Type with private;
private
protected type Chopstick is new Chopstick_Type with
entry Pick_Up;
procedure Put_Down;
private
Busy : Boolean := False;
e... |
core/lib/types/Suspension/Trunc.agda | AntoineAllioux/HoTT-Agda | 294 | 4785 | <gh_stars>100-1000
{-# OPTIONS --without-K --rewriting #-}
module lib.types.Suspension.Trunc where
open import lib.Basics
open import lib.NType2
open import lib.types.Paths
open import lib.types.Pointed
open import lib.types.Truncation
open import lib.types.Suspension.Core
module _ {i} (A : Type i) (m : ℕ₋₂) where
... |
PasswordChecker/program.asm | techwiz24/EECS2110 | 0 | 84985 | <filename>PasswordChecker/program.asm
; <NAME>
; EECS 2110 - Computer Architecture and Organization
; Spring 2016 at the University of Toledo
;
; Description: Given one or more input strings, determine whether or not it
; conforms to the following password policy:
; * Minimum of 8 charac... |
programs/oeis/032/A032184.asm | neoneye/loda | 22 | 21249 | <filename>programs/oeis/032/A032184.asm
; A032184: "CIJ" (necklace, indistinct, labeled) transform of 1, 3, 5, 7,...
; 1,4,16,96,768,7680,92160,1290240,20643840,371589120,7431782400,163499212800,3923981107200,102023508787200,2856658246041600,85699747381248000,2742391916199936000,93241325150797824000,3356687705428721664... |
oeis/003/A003436.asm | neoneye/loda-programs | 11 | 23199 | ; A003436: Number of inequivalent labeled Hamiltonian circuits on n-octahedron. Interlacing chords joining 2n points on circle.
; Submitted by <NAME>(w4)
; 1,0,1,4,31,293,3326,44189,673471,11588884,222304897,4704612119,108897613826,2737023412199,74236203425281,2161288643251828,67228358271588991,2225173863019549229,7808... |
alloy4fun_models/trashltl/models/4/JxRBojqfhLK3jqA7v.als | Kaixi26/org.alloytools.alloy | 0 | 5056 | <gh_stars>0
open main
pred idJxRBojqfhLK3jqA7v_prop5 {
some f : File | eventually f not in File'
}
pred __repair { idJxRBojqfhLK3jqA7v_prop5 }
check __repair { idJxRBojqfhLK3jqA7v_prop5 <=> prop5o } |
app/shell-commands-spawn_server.adb | charlie5/aShell | 11 | 26847 | with
Ada.Containers.Indefinite_Vectors,
Ada.Containers.Hashed_Maps,
Ada.Exceptions;
procedure Shell.Commands.Spawn_Server
is
package Server_Action_Vectors is new Ada.Containers.Indefinite_Vectors (Positive, Server_Action);
protected New_Actions
is
procedure Add (Action : in Server_... |
libsrc/stdio/conio/screensize.asm | jpoikela/z88dk | 0 | 3025 | <reponame>jpoikela/z88dk
; CALLER linkage for function pointers
SECTION code_clib
PUBLIC screensize
PUBLIC _screensize
EXTERN screensize_callee
EXTERN ASMDISP_SCREENSIZE_CALLEE
.screensize
._screensize
pop af
pop de
pop bc
push bc
push de
push af
jp screensize_callee + ASMDISP_SCREENSIZE_CAL... |
release/src/router/gmp/source/mpn/ia64/gcd_1.asm | zhoutao0712/rtn11pb1 | 12 | 102094 | <reponame>zhoutao0712/rtn11pb1
dnl Itanium-2 mpn_gcd_1 -- mpn by 1 gcd.
dnl Copyright 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General... |
src/delays.asm | maciejmalecki/trex64 | 11 | 14419 | /*
MIT License
Copyright (c) 2021 <NAME>
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, copy, modify,... |
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/mul10.asm | Frodevan/z88dk | 0 | 88535 |
SECTION code_fp_math16
PUBLIC f16_mul10
EXTERN asm_f16_mul10
defc f16_mul10 = asm_f16_mul10
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _f16_mul10
EXTERN cm16_sdcc_mul10
defc _f16_mul10 = cm16_sdcc_mul10
ENDIF
|
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xca.log_10867_1214.asm | ljhsiun2/medusa | 9 | 244150 | <filename>Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xca.log_10867_1214.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xf081, %rsi
lea addresses_WT_ht+0x8501, %rdi
nop
nop
nop
sub $1550, %r14
mov $73, %... |
smsq/home/mem2.asm | olifink/smsqe | 0 | 177042 | ; HOME thing mem allocation/deallocation V1.02 (c) <NAME>, <NAME> 2005
; This is the code that does the actual mem allocation for a job.
; It reserves enough mem & then copies the file & dirnames into it
; 2005-10-23 1.00 initial release version
; 2005-11-09 1.01 error returned if empty filename passed
; 2006-0... |
SVD2ada/svd/stm32_svd-bdma.ads | JCGobbi/Nucleo-STM32H743ZI | 0 | 22041 | pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32H743x.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.BDMA is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- DMA interrupt status register
type IS... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_20032_2478.asm | ljhsiun2/medusa | 9 | 178109 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x6fea, %rax
nop
nop
nop
nop
xor $36877, %r14
movups (%rax), %xmm5
vpextrq $0, %xmm5, %r15
nop
sub $39972, %r9
lea addresses_normal_ht+0x1026a, %rcx
a... |
Applications/Sublime-Text/version.applescript | looking-for-a-job/applescript-examples | 1 | 2975 | #!/usr/bin/osascript
tell application "Sublime Text 2"
version
end tell
|
generated-src/win-x86_64/crypto/test/trampoline-x86_64.asm | jylama99/aws-lc | 0 | 172538 | <reponame>jylama99/aws-lc
; This file is generated from a similarly-named Perl script in the BoringSSL
; source tree. Do not edit by hand.
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
%ifdef BORINGSSL_PREFIX
%include "boringssl_prefix_symbols_nasm.inc"
%endif
section .text code align=64
... |
source/league/matreshka-internals-strings.adb | svn2github/matreshka | 24 | 26690 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
OutlawsLib/antlr/InfParser.g4 | Zbyl/OutlawsX | 2 | 5330 | <filename>OutlawsLib/antlr/InfParser.g4
parser grammar InfParser;
options { tokenVocab = InfLexer; }
inf_file : INF inf_version=float_
LEVELNAME_COLON levelName=STR
ITEMS numItems=INT
item*
EOF
;
item : ITEM_COLON itemType=(LEVEL | SECTOR | LIN... |
oeis/206/A206154.asm | neoneye/loda-programs | 11 | 85248 | <filename>oeis/206/A206154.asm
; A206154: a(n) = Sum_{k=0..n} binomial(n,k)^(k+2).
; Submitted by <NAME>
; 1,2,10,110,2386,125752,14921404,3697835668,2223231412546,3088517564289836,9040739066816429380,63462297965044771663708,1064766030857977088480630740,37863276208844960432962611293828,314438474838424080426091206790783... |
This segment calculates the gcd of 3 and 5 and puts it in AX/mycode1.asm | Farhad-00009/Micro-Lab | 0 | 172819 | MOV AX,5
MOV BX,3
TOP:
XOR DX,DX
DIV BX
MOV AX,DX
MOV BX,DX
CMP DX,0
JNZ TOP
HLT |
programs/oeis/329/A329320.asm | neoneye/loda | 22 | 89313 | ; A329320: a(n) = Sum_{k=0..floor(log_2(n))} 1 - A035263(1 + floor(n/2^k)).
; 0,1,1,1,1,2,1,2,1,2,2,2,1,2,2,2,1,2,2,2,2,3,2,3,1,2,2,2,2,3,2,3,1,2,2,2,2,3,2,3,2,3,3,3,2,3,3,3,1,2,2,2,2,3,2,3,2,3,3,3,2,3,3,3,1,2,2,2,2,3,2,3,2,3,3,3,2,3,3,3,2,3,3,3,3,4,3,4,2,3,3,3,3,4,3,4,1,2,2,2
lpb $0
lpb $0
dif $0,2
lpe
div ... |
src/title_screen.ads | Fabien-Chouteau/motherlode | 2 | 23326 | <filename>src/title_screen.ads
-- Motherlode
-- Copyright (c) 2020 <NAME>
package Title_Screen is
procedure Run;
end Title_Screen;
|
Get current page number & version number.applescript | AlexanderGalen/applescripts | 3 | 3625 | <filename>Get current page number & version number.applescript
tell application "QuarkXPress"
set x to selection as text
tell document 1
set CurrentPage to page number of current page
end tell
end tell
set VersionNumber to x + 1
tell application "Keyboard Maestro Engine"
make variable with properties {name:"Versi... |
connect.ada | mmuhammadmms/CookWeeb | 0 | 26035 | <reponame>mmuhammadmms/CookWeeb
<html>
<head>
<title>ThaiCreate.Com PHP & MySQL (mysqli)</title>
</head>
<body>
<?php
$serverName = "localhost";
$userName = "root";
$userPassword = "";
$dbName = "cookweeb";
$conn = mysqli_connect($serverName,$userName,$userPassword,$dbName);
if (mysqli_connect_errno... |
src/port_specification-buildsheet.adb | jrmarino/ravenadm | 18 | 27443 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Definitions; use Definitions;
with Ada.Characters.Latin_1;
with Ada.Directories;
with Ada.Text_IO;
with Ada.Exceptions;
with Package_Manifests;
with File_Operations;
with Utilities;
package body Port_Specifi... |
source/nodes/program-nodes-raise_expressions.ads | reznikmm/gela | 0 | 16060 | <reponame>reznikmm/gela<gh_stars>0
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Elements.Raise_Expressions;
with Program.Element_Visitors... |
source/server/ada_lsp-contexts.adb | reznikmm/ada_lsp | 11 | 1089 | <filename>source/server/ada_lsp-contexts.adb
-- Copyright (c) 2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Incr.Version_Trees;
with Ada_LSP.Completion_Tokens;
package body Ada_LSP.Contexts is
type Versio... |
syzygy/agent/asan/memory_interceptors_x64_impl.asm | xswz8015/syzygy | 343 | 102478 | ; Copyright 2016 Google Inc. All Rights Reserved.
;
; 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 a... |
Chapter03/data-manipulation/load-effective-address.nasm | firebitsbr/Penetration-Testing-with-Shellcode | 30 | 4735 | global _start
section .text
_start:
lea rax, [mem1]
lea rbx, [rax]
mov rax, 60
mov rdi, 0
syscall
section .data
mem1: dw 0x1234
|
src/edc.adb | hgrodriguez/embedded-dashboard-console | 0 | 4371 | <filename>src/edc.adb
--===========================================================================
--
-- This application provides an embedded dashboard controller offering:
-- - UART Interface
-- - LED Area
-- - 5x7 Matrix Display with two displays as one logical unit
--
--================================... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc2002a.ada | best08618/asylo | 7 | 18262 | -- CC2002A.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... |
Des_Ada/src/concrete_handler/p_stephandler-feistelhandler.ads | VMika/Des_Ada | 0 | 8675 | <reponame>VMika/Des_Ada
WITH P_StepHandler;
USE P_StepHandler;
with P_StructuralTypes;
use P_StructuralTypes;
package P_StepHandler.FeistelHandler is
type T_BinaryIntegerArray is array (0..15) of T_BinaryUnit (1..4);
type T_SBox is array (0..3, 0..15) of Integer;
type T_SBoxArray is array (1..8)... |
sk/sfx/7E.asm | Cancer52/flamedriver | 9 | 25672 | Sound_7E_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Sound_7E_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cPSG3, Sound_7E_PSG3, $00, $03
; PSG3 Data
Sound_7E_PSG3:
smpsPSGform $E7
smpsModSet $01, $01, $01, $01
dc.b nMaxPSG2, $09
smpsPSGAlterVol $04
... |
oeis/316/A316317.asm | neoneye/loda-programs | 11 | 168714 | <gh_stars>10-100
; A316317: Coordination sequence for trivalent node in chamfered version of square grid.
; Submitted by <NAME>
; 1,3,6,11,14,15,20,25,26,29,34,37,40,43,46,51,54,55,60,65,66,69,74,77,80,83,86,91,94,95,100,105,106,109,114,117,120,123,126,131,134,135,140,145,146,149,154,157,160,163,166,171,174,175,180,185... |
test/asset/agda-stdlib-1.0/Data/List/Relation/Lex/Core.agda | omega12345/agda-mode | 0 | 9341 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED. Please use
-- Data.List.Relation.Binary.Lex.Core directly.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.List... |
bb-runtimes/examples/leon4-video/dvidrv.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 12587 | <reponame>JCGobbi/Nucleo-STM32G474RE
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- ... |
1-base/lace/source/environ/lace-environ-paths.ads | charlie5/lace | 20 | 28816 | <filename>1-base/lace/source/environ/lace-environ-paths.ads
with
ada.Calendar;
private
with
ada.Strings.unbounded,
ada.Containers.indefinite_Vectors;
package lace.Environ.Paths
--
-- A singleton which models an operating system environment.
--
is
function expand_GLOB (GLOB : in String) return Strin... |
bench/stlc_small.agda | int-index/smalltt | 377 | 2091 | {-# OPTIONS --type-in-type #-}
Ty% : Set; Ty%
= (Ty : Set)
(ι : Ty)
(arr : Ty → Ty → Ty)
→ Ty
ι% : Ty%; ι% = λ _ ι% _ → ι%
arr% : Ty% → Ty% → Ty%; arr% = λ A B Ty% ι% arr% → arr% (A Ty% ι% arr%) (B Ty% ι% arr%)
Con% : Set;Con%
= (Con% : Set)
(nil : Con%)
(snoc : Con% → Ty% → Con%)
→ Con%
nil% ... |
Engine/Constants.asm | dougmasten/thomson-to8-game-engine | 1 | 21608 | <filename>Engine/Constants.asm
* ---------------------------------------------------------------------------
* Constants
*
* Naming convention
* -----------------
* - lower case
* - underscore-separated names
*
* ---------------------------------------------------------------------------
* ============================... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cz/cz1102a.ada | best08618/asylo | 7 | 9162 | <gh_stars>1-10
-- CZ1102A.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... |
programs/oeis/138/A138750.asm | karttu/loda | 0 | 171463 | <reponame>karttu/loda
; A138750: a(n) = ceiling(n/2) if n == 2 (mod 3), a(n) = 2n otherwise.
; 0,2,1,6,8,3,12,14,4,18,20,6,24,26,7,30,32,9,36,38,10,42,44,12,48,50,13,54,56,15,60,62,16,66,68,18,72,74,19,78,80,21,84,86,22,90,92,24,96,98,25,102,104,27,108,110,28,114,116,30,120,122,31,126,128,33,132,134,34
add $0,1
mov $2... |
base/Kernel/Native/arm/lies.asm | sphinxlogic/Singularity-RDK-2.0 | 0 | 82554 | <gh_stars>0
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Microsoft Research Singularity
;;;
;;; Copyright (c) Microsoft Corporation. All rights reserved.
;;;
;;; This file contains ARM-specific assembly code.
;;;
|defining ?g_SetCurrentThreadConte... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/mak.lzh/mak/sfxdos..asm | prismotizm/gigaleak | 0 | 95971 | <gh_stars>0
Name: sfxdos..asm
Type: file
Size: 11129
Last-Modified: '1992-02-13T07:48:35Z'
SHA-1: C360110AFEC4E69D6A7D9240D62F463F441D9F7E
Description: null
|
arbitrary/e_jacobi_eigen.adb | jscparker/math_packages | 30 | 18686 | <reponame>jscparker/math_packages
-----------------------------------------------------------------------
-- package body e_Jacobi_Eigen, extended precision Jacobi eigen-decomposition
-- Copyright (C) 2008-2018 <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or wit... |
programs/oeis/014/A014306.asm | jmorken/loda | 1 | 14022 | ; A014306: a(n) = 0 if n of form m(m+1)(m+2)/6, otherwise 1.
; 0,0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1... |
programs/oeis/273/A273669.asm | neoneye/loda | 22 | 27002 | <reponame>neoneye/loda<gh_stars>10-100
; A273669: Decimal representation ends with either 2 or 9.
; 2,9,12,19,22,29,32,39,42,49,52,59,62,69,72,79,82,89,92,99,102,109,112,119,122,129,132,139,142,149,152,159,162,169,172,179,182,189,192,199,202,209,212,219,222,229,232,239,242,249,252,259,262,269,272,279,282,289,292,299,30... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sort1.ads | best08618/asylo | 7 | 4507 | function sort1 (S : String) return String;
pragma Pure (sort1);
|
programs/oeis/307/A307681.asm | neoneye/loda | 22 | 89207 | ; A307681: Difference between the number of diagonals and the number of sides for a convex n-gon.
; -3,-2,0,3,7,12,18,25,33,42,52,63,75,88,102,117,133,150,168,187,207,228,250,273,297,322,348,375,403,432,462,493,525,558,592,627,663,700,738,777,817,858,900,943,987,1032,1078,1125,1173,1222,1272,1323,1375,1428,1482,1537,15... |
examples/GUIgeneric/GUIFeaturesPart4.agda | stephanadls/state-dependent-gui | 2 | 6054 | <reponame>stephanadls/state-dependent-gui<gh_stars>1-10
module GUIgeneric.GUIFeaturesPart4 where
open import GUIgeneric.Prelude renaming (addButton to addButton')
open import GUIgeneric.GUIDefinitions renaming (add to add'; add' to add)
open import GUIgeneric.GUI
open import GUIgeneric.GUIExampleLib
open import State... |
tests/generic-unit/src/mission.adb | TUM-EI-RCS/StratoX | 12 | 20100 | <filename>tests/generic-unit/src/mission.adb<gh_stars>10-100
with System.Dim.Float_IO;
with Units; use Units;
with Config;
package body Mission with SPARK_Mode is
package SystemDimUnits is new System.Dim.Float_IO (Unit_Type);
use SystemDimUnits;
mstate : Mission_State_Type := ASCENDING;
procedure... |
data/pokemon/base_stats/sneasel.asm | Karkino/KarkCrystal16 | 0 | 28750 | <filename>data/pokemon/base_stats/sneasel.asm<gh_stars>0
db 0 ; species ID placeholder
db 55, 95, 55, 115, 35, 75
; hp atk def spd sat sdf
db DARK, ICE ; type
db 60 ; catch rate
db 132 ; base exp
db NO_ITEM, QUICK_CLAW ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles t... |
main.asm | meowgle/FSystem | 0 | 173184 | ; [FSystem v0.0.1]
; Copyright 2021-2022 <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 of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless ... |
unit_tests/sdl_suites.adb | Fabien-Chouteau/sdlada | 1 | 16196 | --------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising from the... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1457.asm | ljhsiun2/medusa | 9 | 176962 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xd370, %rdx
nop
nop
nop
nop
nop
add $44042, %r12
movb $0x61, (%rdx)
xor %rdx, %rdx
lea addresses_WT_ht+0x11d18, %rsi
lea addresses_D_ht+0x15770, %rdi
nop
nop
nop
nop
nop
x... |
sources/driver/load_library.ads | reznikmm/jupyter | 4 | 2070 | -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with League.Strings;
procedure Load_Library
(Name : League.Strings.Universal_String;
Error : out League.Strings.Universal_String);
|
LibraBFT/Hash.agda | cwjnkins/bft-consensus-agda | 0 | 2727 | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020 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.Prelude
open import LibraBFT.Lemmas
open import LibraBFT.B... |
Cubical/Algebra/Algebra/Base.agda | howsiyu/cubical | 0 | 3613 | <filename>Cubical/Algebra/Algebra/Base.agda
{-# OPTIONS --safe #-}
module Cubical.Algebra.Algebra.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Equiv.HalfAdjoint
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphis... |
BigNum/bnmodarith.asm | FloydZ/Crypto-Hash | 11 | 167109 | <gh_stars>10-100
.686
option casemap:none
include bnlib.inc
include bignum.inc
.code
bnBinGCD proc uses ebx edi esi bnX:DWORD, bnY:DWORD, bnResult:DWORD
bnCreateX esi,edi
xor ebx,ebx; k=0
invoke bnMov,esi,bnX;u=x
invoke bnMov,edi,bnY;v=y
.if !BN_IS_ODD(esi) && !BN_IS_ODD(edi)
.repeat
invoke bnShr1,esi
inv... |
canonical-indeterminate-forms.agda | hazelgrove/hazelnut-agda | 0 | 6240 | open import Nat
open import Prelude
open import contexts
open import dynamics-core
open import type-assignment-unicity
module canonical-indeterminate-forms where
-- this type gives somewhat nicer syntax for the output of the canonical
-- forms lemma for indeterminates at num type
data cif-num : (Δ : hctx) (d : ... |
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_ix/sp1_IterateUpdateArr_callee.asm | jpoikela/z88dk | 640 | 91935 | <reponame>jpoikela/z88dk<gh_stars>100-1000
; void sp1_IterateUpdateArr(struct sp1_update **ua, void *hook)
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _sp1_IterateUpdateArr_callee, l0_sp1_IterateUpdateArr_callee
EXTERN asm_sp1_IterateUpdateArr
_sp1_IterateUpdateArr_callee:
pop af
pop hl
pop bc
push ... |
src/fot/FOTC/Data/Colist.agda | asr/fotc | 11 | 14196 | <reponame>asr/fotc
------------------------------------------------------------------------------
-- Colists
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-... |
assembly/hello.asm | arthursiq5/programacao-progressiva | 0 | 163098 | <reponame>arthursiq5/programacao-progressiva<filename>assembly/hello.asm
section .data
msg db 'Como programar em Assembly - Curso Assembly Progressivo', 0AH
len equ $-msg
section .text
global _start
_start: mov edx, len
mov ecx, msg
mov ebx, 1
mov eax, 4
... |
dino/lcs/base/787.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 167152 | copyright zengfr site:http://github.com/zengfr/romhack
0209EE move.b ($c,A4), ($4b,A6) [base+742]
0209F4 move.b ($d,A4), ($70,A6) [base+787]
020B68 tst.b ($4b,A6)
020B6C beq $20bf2 [base+787]
022560 move.b ($c,A4), ($4b,A6)
022566 move.b ($d,A4), ($70,A6)
0226DC tst.b ($4b,A6)
0226E0 beq $22... |
test/interaction/ParseHoleWhere.agda | cruhland/agda | 1,989 | 10224 | <reponame>cruhland/agda
-- Andreas, 2016-03-28, Issue 1920
-- Improve error message when user puts where clause in hole.
infix 3 _∎
postulate
A : Set
begin : A
_∎ : A → A
works : A
works = begin
∎
where b = begin
test : A
test = {!begin
∎
where b = begin
!}
|
src/factorial.asm | earaujoassis/machos-assembly | 1 | 18592 | <filename>src/factorial.asm<gh_stars>1-10
global _main
default rel
section .text
factorial_entry:
cmp rdi, 1 ; Check if n <= 1 and store ate `rdi`
jnbe factorial_recursive ; If not, perform a recursive call
mov rax, 1 ; Return 1, stored at `rax`
ret... |
programs/oeis/085/A085006.asm | jmorken/loda | 1 | 80696 | ; A085006: Let S(0)={1,1,2} S(n)={S(n-1), S(n-1)-{x},{3-x}} where x is the last element of S(n-1), then sequence is S(infinity).
; 1,1,2,1,1,1,1,1,2,1,1,2,1,1,2,1,1,1,1,1,2,1,1,1,1,1,2,1,1,1,1,1,2,1,1,2,1,1,2,1,1,1,1,1,2,1,1,2,1,1,2,1,1,1,1,1,2,1,1,2,1,1,2,1,1,1,1,1,2,1,1,1,1,1,2,1,1,1,1,1,2,1,1,2,1,1,2,1,1,1,1,1,2,1,1... |
extra/extra/Module.agda | manikdv/plfa.github.io | 1,003 | 17542 | <reponame>manikdv/plfa.github.io<gh_stars>1000+
module Module where
data ℕ : Set where
zero : ℕ
suc : ℕ → ℕ
_+_ : ℕ → ℕ → ℕ
zero + n = zero
suc m + n = suc (m + n)
import Data.Nat using (ℕ; zero; suc; _+_)
|
ada_gui-gnoga-gui-element-common.adb | jrcarter/Ada_GUI | 19 | 22138 | <reponame>jrcarter/Ada_GUI
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-... |
3-mid/impact/source/3d/impact-d3.adb | charlie5/lace | 20 | 11990 | package body Impact.d3
is
-- C-ish types
--
function to_C (From : in math.Vector_3) return c_Vector_3
is
begin
return (From (1),
From (2),
From (3));
end to_C;
function to_Math (From : in c_Vector_3) return math.Vector_3
is
begin
return (From (0... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1106.asm | ljhsiun2/medusa | 9 | 23963 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x16227, %r13
nop
nop
nop
nop
nop
and %rbx, %rbx
mov (%r13), %r8d
nop
nop
nop
nop
nop
and %r15, %r15
lea addresses_UC_ht+0xd57b, %r12
clflush (%r12)
nop
nop
... |
test/Succeed/Reflection.agda | hborum/agda | 0 | 1333 | {-# OPTIONS --universe-polymorphism #-}
module Reflection where
open import Common.Prelude hiding (Unit; module Unit) renaming (Nat to ℕ; module Nat to ℕ)
open import Common.Reflection
open import Common.Equality
open import Agda.Builtin.TrustMe
data Id {A : Set}(x : A) : (B : Set) → B → Set where
course : Id x A x... |
programs/oeis/023/A023577.asm | neoneye/loda | 22 | 92974 | <reponame>neoneye/loda
; A023577: Greatest exponent in prime-power factorization of prime(n)+3.
; 1,1,3,1,1,4,2,1,1,5,1,3,2,1,2,3,1,6,1,1,2,1,1,2,2,3,1,1,4,2,1,1,2,1,3,1,5,1,1,4,1,3,1,2,3,1,1,1,1,3,2,2,2,1,2,1,4,1,3,2,1,3,1,1,2,6,1,2,2,5,2,1,1,3,1,1,3,4,2,2,1,3,1,2,1,1,2,2,4,1,1,1,2,1,1,1,9,2,1,5
seq $0,40 ; The prime... |
gcc-gcc-7_3_0-release/gcc/ada/makeutl.adb | best08618/asylo | 7 | 8365 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
oeis/014/A014019.asm | neoneye/loda-programs | 11 | 240623 | ; A014019: Inverse of 10th cyclotomic polynomial.
; 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,0,0,1,1,0,0,0,-1,-1,0,0,0,1,1,0,0,0,-1,-1,0,0,0
seq $0,53698 ; a(n) = n^3 + n^2 + n + 1.
seq $0... |
experiments/test-suite/mutation-based/10/2/fsm.als | kaiyuanw/AlloyFLCore | 1 | 5114 | <reponame>kaiyuanw/AlloyFLCore<filename>experiments/test-suite/mutation-based/10/2/fsm.als
pred test11 {
some disj FSM0: FSM {some disj State0, State1: State {
FSM = FSM0
start = FSM0->State1
stop = FSM0->State0
State = State0 + State1
transition = State1->State0 + State1->State1
}}
}
run test11 for 3 expect 0
|
smsq/java/driver/snd/init.asm | olifink/smsqe | 0 | 4253 | <filename>smsq/java/driver/snd/init.asm<gh_stars>0
; SOUND device initialisation V1.00 2014 <NAME>
; 1.00 2014 Jan 16 0
; BASED ON tt'S NUL device V2.01 1989 <NAME> QJUMP
section sound
xdef snd_init
xref iou_idset
xref iou_idlk
include 'dev8_keys_iod'
include 'dev8_mac_vec'
;+++
; SOUND driver i... |
oeis/164/A164044.asm | neoneye/loda-programs | 11 | 177521 | <filename>oeis/164/A164044.asm<gh_stars>10-100
; A164044: a(n+1) = 4*a(n) - n.
; 1,3,10,37,144,571,2278,9105,36412,145639,582546,2330173,9320680,37282707,149130814,596523241,2386092948,9544371775,38177487082,152709948309,610839793216,2443359172843,9773436691350,39093746765377,156374987061484,625499948245911,25019997929... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c54a42f.ada | best08618/asylo | 7 | 18182 | <reponame>best08618/asylo
-- C54A42F.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... |
power_station.adb | frmr/power-station | 0 | 24150 | package body power_station with SPARK_Mode is
-------------------
-- Start_Reactor --
-------------------
procedure Start_Reactor is
Pressure, Temperature : Integer;
Pressure_Warning, Pressure_Danger : Boolean;
Temperature_Warning, Temperature_Danger : Boolean;
Shutdown : Boolean;
... |
ubb/asc/lab06/c.asm | AlexanderChristian/private_courses | 0 | 14508 | <reponame>AlexanderChristian/private_courses
assume cs:code, ds:data
data segment
;a dd 0aa00bf12h ;a= 1010 1010 0000 0000 1011 1111 0001 0010
; 5df ; 0000 0000 0000 0000 0000 0110 1101 1111
a dd 0fffffh
bmask dw ?
nbits dw 0
data ends
code segment
start:
mov ax, data
mov ds, ax
mov ax, word ptr ... |
coverage/IN_CTS/0583-COVERAGE-cmp-inst-analysis-31-26-47/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 0 | 82551 | ; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 90
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %23
OpExecutionMode %4 OriginUp... |
org.alloytools.alloy.extra/extra/models/book/chapter2/addressBook2c.als | Kaixi26/org.alloytools.alloy | 527 | 3353 | <reponame>Kaixi26/org.alloytools.alloy
module tour/addressBook2c ----- Page 20
abstract sig Target { }
sig Addr extends Target { }
abstract sig Name extends Target { }
sig Alias, Group extends Name { }
sig Book {
addr: Name->Target
} {
no n: Name | n in n.^addr
}
pred show [b:Book] { some Alias.(b.addr) }
// T... |
agda/par-swap/union-confluent.agda | florence/esterel-calculus | 3 | 15362 | <filename>agda/par-swap/union-confluent.agda
module par-swap.union-confluent where
open import par-swap
open import par-swap.properties
open import par-swap.confluent
open import par-swap.dpg
open import Data.Nat using (_+_ ; _≤′_ ; _<′_ ; suc ; zero ; ≤′-refl ; ℕ)
open import Data.Nat.Properties.Simple using ( +-co... |
src/kernel/drivers/soc/timer2_dseg.asm | rostislav-nikitin/socOS | 1 | 245237 | <filename>src/kernel/drivers/soc/timer2_dseg.asm<gh_stars>1-10
.dseg
timer2_static_instance: .BYTE SZ_ST_TIMER2 |
programs/oeis/211/A211562.asm | karttu/loda | 0 | 86231 | <reponame>karttu/loda
; A211562: Number of nonnegative integer arrays of length n+2 with new values 0 upwards introduced in order, and containing the value n-1.
; 5,14,36,81,162,295,499,796,1211,1772,2510,3459,4656,6141,7957,10150,12769,15866,19496,23717,28590,34179,40551,47776,55927,65080,75314,86711,99356,113337,1287... |
programs/oeis/288/A288933.asm | neoneye/loda | 22 | 27289 | <gh_stars>10-100
; A288933: Positions of 0 in A288932; complement of A288934.
; 2,4,7,9,13,15,18,20,25,27,30,32,36,38,41,43,49,51,54,56,60,62,65,67,72,74,77,79,83,85,88,90,97,99,102,104,108,110,113,115,120,122,125,127,131,133,136,138,144,146,149,151,155,157,160,162,167,169,172,174,178,180,183,185,193,195,198,200,204,20... |
src/skill-field_declarations.adb | skill-lang/adaCommon | 0 | 22588 | <filename>src/skill-field_declarations.adb
-- ___ _ ___ _ _ --
-- / __| |/ (_) | | Common SKilL implementation --
-- \__ \ ' <| | | |__ field handling in skill --
-- |___/_|\_\_|_|____| by: <NAM... |
Cubical/Algebra/RingSolver/ReflectionSolving.agda | ecavallo/cubical | 1 | 12500 | <filename>Cubical/Algebra/RingSolver/ReflectionSolving.agda
{-# OPTIONS --safe #-}
{-
This is inspired by/copied from:
https://github.com/agda/agda-stdlib/blob/master/src/Tactic/MonoidSolver.agda
Boilerplate code for calling the ring solver is constructed automatically
with agda's reflection features.
-}
modul... |
gfx/pokemon/nuzleaf/anim_idle.asm | Ebernacher90/pokecrystal-allworld | 0 | 21328 | frame 3, 08
frame 4, 08
frame 3, 08
frame 4, 08
frame 0, 06
frame 4, 06
endanim
|
out/euler46.adb | FardaleM/metalang | 22 | 16975 | <reponame>FardaleM/metalang<filename>out/euler46.adb<gh_stars>10-100
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 euler46 is
type stringptr is access all char_array;
pro... |
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/frexp_callee.asm | Frodevan/z88dk | 0 | 172650 |
SECTION code_fp_math16
PUBLIC f16_frexp_callee
EXTERN cm16_sccz80_frexp_callee
defc f16_frexp_callee = cm16_sccz80_frexp_callee
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _f16_frexp_callee
EXTERN cm16_sdcc_frexp_callee
defc _f16_frexp_callee = cm16_sdcc_frexp_callee
ENDIF
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca2009c0.ada | best08618/asylo | 7 | 30884 | <reponame>best08618/asylo
-- CA2009C0M.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 conta... |
programs/oeis/038/A038733.asm | neoneye/loda | 22 | 17550 | <reponame>neoneye/loda
; A038733: T(n,n-4), array T as in A038730.
; 1,10,57,245,888,2881,8679,24872,68940,186953,499927,1325204,3494249,9184675,24098536,63165197,165471668,433350754,1134715190,2970971916,7778430788,20364616458,53315795326,139583244540
lpb $0
mov $2,$0
sub $0,1
seq $2,38740 ; T(n,n-3), array T a... |
llvm-gcc-4.2-2.9/gcc/ada/s-osinte-dummy.ads | vidkidz/crossbridge | 1 | 9004 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
mobile/mobile_42.asm | genterz/pokecross | 28 | 162320 | <gh_stars>10-100
MobileTradeAnimation_SendGivemonToGTS:
ld a, $80
ld [wcf65], a
ld de, .TradeAnimScript
jp RunMobileTradeAnim_NoFrontpics
.TradeAnimScript:
mobiletradeanim_showgtsgivemon
mobiletradeanim_12
mobiletradeanim_10
mobiletradeanim_sendmon
mobiletradeanim_06
mobiletradeanim_0f
mobiletradeanim_end
... |
levels/all.asm | cppchriscpp/ld40 | 2 | 103743 | .export _lvl_details
.segment "ROM_02"
_lvl_details: ; NOTE: This only exists here, but applies for all banks. DON'T CHANGE THE SIZE w/o considering this
; Start location; tileId, x, y, Number of chunks
.byte 27, 80, 80, 3
.include "levels/processed/lvl1_tiles.asm"
|
Transynther/x86/_processed/AVXALIGN/_st_zr_un_sm_/i9-9900K_12_0xca.log_21829_482.asm | ljhsiun2/medusa | 9 | 174744 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x17ccf, %rsi
lea addresses_normal_ht+0x60a7, %rdi
nop
nop
add $56869, %r10
mov $74, %rcx
rep movsb
nop
nop
nop
add $63981, %rax
lea addresses_normal_ht+0x1a16b, %rbp
nop
nop
... |
ZORTON.reko/ZORTON_2725.asm | 0xLiso/dePIXELator | 0 | 9197 | ;;; Segment 2725 (2725:0000)
2725:0000 83 C4 04 5D CB ...].
268D:0985 C8 02 00 00 A0 C4 94 98 0B C0 75 ..........u
268D:0990 2E C7 46 FE 00 00 EB 21 8B 5E FE 80 BF AC AA 00 ..F....!.^......
268D:09A0 74 14 66 6A 00 6A D2 9A BA 00 31 23 83 C4 06 C6 t.fj.j...... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.