max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
src/vulkan.adb | persan/a-vulkan | 0 | 27657 | <filename>src/vulkan.adb
pragma Ada_2012;
with Vulkan.Low_Level.Vulkan_Core_H;
with Interfaces.C;
package body Vulkan is
use Vulkan.Low_Level.Vulkan_Core_H;
use Interfaces.C;
--------------------------------
-- VkEnumerateInstanceVersion --
--------------------------------
function VkEnumerateInstanc... |
programs/oeis/004/A004450.asm | neoneye/loda | 22 | 23518 | <filename>programs/oeis/004/A004450.asm
; A004450: Nimsum n + 9.
; 9,8,11,10,13,12,15,14,1,0,3,2,5,4,7,6,25,24,27,26,29,28,31,30,17,16,19,18,21,20,23,22,41,40,43,42,45,44,47,46,33,32,35,34,37,36,39,38,57,56,59,58,61,60,63,62,49,48,51,50,53,52,55,54,73,72,75,74,77,76,79,78,65,64,67,66,69,68,71,70,89,88,91,90,93,92,95,94... |
source/Controller_MainWindow.adb | bracke/Meaning | 0 | 3659 | <gh_stars>0
with RASCAL.Memory; use RASCAL.Memory;
with RASCAL.OS; use RASCAL.OS;
with RASCAL.Utility; use RASCAL.Utility;
with RASCAL.FileExternal; use RASCAL.FileExternal;
with RASCAL.Heap; use RASCAL.Heap;
with RASCAL.... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_142.asm | ljhsiun2/medusa | 9 | 94855 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xa5a7, %r9
nop
nop
nop
inc %r12
mov (%r9), %r11d
nop
nop
nop
nop
nop
xor $40000, %r13
lea addresses_WC_ht+0x1b137, %rsi
lea addresses_normal_ht+0x12b5f, %rdi
sub %r15, %r15
mov... |
homotopy/3x3/Transpose.agda | UlrikBuchholtz/HoTT-Agda | 1 | 7254 | {-# OPTIONS --without-K #-}
open import homotopy.3x3.Common
open import homotopy.3x3.PushoutPushout
module homotopy.3x3.Transpose where
open M using (Pushout^2)
type-of : ∀ {i} {A : Type i} (u : A) → Type i
type-of {A = A} _ = A
module _ {i} (d : Span^2 {i}) where
open Span^2 d
transpose-f : (f : type-of H₁₁... |
applet/aide/source/editors/aide-editor-of_comment.adb | charlie5/aIDE | 3 | 14542 | with
Glib,
glib.Error,
gtk.Builder,
gtk.Handlers,
gtk.Text_Buffer,
gtk.Text_Iter,
gtk.Enums,
ada.Characters.latin_1;
package body aIDE.Editor.of_comment
is
use Gtk.Builder,
Gtk.Text_Buffer,
Gtk.Text_Iter,
Glib,
Glib.Error;
function on_comme... |
Transynther/x86/_processed/NC/_zr_un_/i7-8650U_0xd2.log_4273_1550.asm | ljhsiun2/medusa | 9 | 87278 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x18520, %rsi
lea addresses_UC_ht+0xa10c, %rdi
nop
dec %r9
mov $18, %rcx
rep movsl
and $20771, %rdx
lea addresses_UC_ht+0xb940, %r10
xor $54132, %rbx
m... |
libsrc/z80_crt0s/crt0/l_asr.asm | grancier/z180 | 8 | 12458 | ; Z88 Small C+ Run time Library
; Moved functions over to proper libdefs
; To make startup code smaller and neater!
;
; 6/9/98 djm
;
; 22/3/99 djm Rewritten to be shorter..
SECTION code_crt0_sccz80
PUBLIC l_asr
.l_asr
ex de,hl
.l_asr1
... |
comparisons/agda/Vec.agda | iain-logan/she | 1 | 13643 |
module Vec where
open import SHE-Prelude
data Nat : Set where
z : Nat
s : Nat -> Nat
data Vec (X : Set) : Nat -> Set where
vNil : Vec X z
_:-_ : forall {n} ->
X -> Vec X n -> Vec X (s n)
_+N_ : Nat -> Nat -> Nat
z +N n = n
s m +N n = s (m +N n)
_vappend_ : forall {X m n} -> Vec X m -> Vec X n ->... |
LP/Rewrite.agda | hbasold/Sandbox | 0 | 697 | open import Signature
import Program
module Rewrite (Σ : Sig) (V : Set) (P : Program.Program Σ V) where
open import Terms Σ
open import Program Σ V
open import Data.Empty renaming (⊥ to ∅)
open import Data.Unit
open import Data.Product as Prod renaming (Σ to ⨿)
open import Data.Sum as Sum
open import Data.Fin
open im... |
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xca.log_21829_249.asm | ljhsiun2/medusa | 9 | 24821 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xca.log_21829_249.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xf516, %r12
nop
sub %r13, %r13
movl $0x61626364, (%r12)
and %rsi, %rsi... |
programs/oeis/256/A256321.asm | neoneye/loda | 22 | 100995 | ; A256321: Number of partitions of 5n into exactly 3 parts.
; 0,2,8,19,33,52,75,102,133,169,208,252,300,352,408,469,533,602,675,752,833,919,1008,1102,1200,1302,1408,1519,1633,1752,1875,2002,2133,2269,2408,2552,2700,2852,3008,3169,3333,3502,3675,3852,4033,4219,4408,4602,4800,5002,5208,5419,5633,5852,6075,6302,6533,6769,... |
programs/oeis/206/A206605.asm | neoneye/loda | 22 | 98047 | ; A206605: Fibonacci sequence beginning 14, 11.
; 14,11,25,36,61,97,158,255,413,668,1081,1749,2830,4579,7409,11988,19397,31385,50782,82167,132949,215116,348065,563181,911246,1474427,2385673,3860100,6245773,10105873,16351646,26457519,42809165,69266684,112075849,181342533,293418382,474760915,768179297,1242940212,20111195... |
utils/disk-tools/readsecs/read.asm | vbmacher/qsOS | 1 | 94370 | .model large
.stack 100h
.data
nBuffer db 65024 dup (0) ;fat table
.code
xor ax, ax
xor dl, dl ;reset
int 13h
mov ax, @data
mov es, ax
mov ds, ax
mov bx, offset nBuffer
xor dx, dx
xor ch, ch
mov cl, 1
mov ah, 02h
mov al, 18 ;18 sektorov
int 13h
mov cx, 18*512
mov si, offset nBuffer
cld
mov ah, 02h
l... |
bb-runtimes/examples/stm32f4-discovery/leds-po/leds.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 13449 | ------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
src/agda/FRP/JS/Time.agda | agda/agda-frp-js | 63 | 12428 | <filename>src/agda/FRP/JS/Time.agda
open import FRP.JS.Nat using ( ℕ ; _*_ )
open import FRP.JS.Bool using ( Bool )
open import FRP.JS.String using ( String )
open import FRP.JS.RSet using ( ⟦_⟧ ; ⟨_⟩ )
open import FRP.JS.Behaviour using ( Beh )
open import FRP.JS.Delay using ( Delay ) renaming
( _≟_ to _≟d_ ; _≠_ t... |
programs/oeis/131/A131472.asm | karttu/loda | 1 | 91561 | ; A131472: a(n) = n^6 + n.
; 0,2,66,732,4100,15630,46662,117656,262152,531450,1000010,1771572,2985996,4826822,7529550,11390640,16777232,24137586,34012242,47045900,64000020,85766142,113379926,148035912,191103000,244140650,308915802,387420516,481890332,594823350,729000030,887503712,1073741856,1291468002,1544804450,183826... |
Sources/Globe_3d/globe_3d-software_anti_aliasing.ads | ForYouEyesOnly/Space-Convoy | 1 | 14271 | -- GLOBE_3D.Software_Anti_Aliasing provides a software method for
-- smoothing pictures by displaying several times a scene with
-- subpixel translations.
generic
with procedure Display;
package GLOBE_3D.Software_Anti_Aliasing is
-- Returns the number of phases needed for anti - aliasing:
-- 1 fo... |
src/intel/tools/tests/gen9/halt.asm | PWN-Hunter/mesa3d | 0 | 95081 | (-f0.1.any4h) halt(8) JIP: 176 UIP: 192 { align1 1Q };
halt(8) JIP: 16 UIP: 16 { align1 1Q };
(-f0.1.any4h) halt(16) JIP: 176 UIP: 192 { align1 1H };
halt(16) JIP: 16 UIP: 16 { align1 1H };
|
alloy4fun_models/trainstlt/models/3/bKBcEg2kRTmoLEWyT.als | Kaixi26/org.alloytools.alloy | 0 | 3010 | <filename>alloy4fun_models/trainstlt/models/3/bKBcEg2kRTmoLEWyT.als
open main
pred idbKBcEg2kRTmoLEWyT_prop4 {
always ~prox.prox in iden
}
pred __repair { idbKBcEg2kRTmoLEWyT_prop4 }
check __repair { idbKBcEg2kRTmoLEWyT_prop4 <=> prop4o } |
source/league/matreshka-internals-text_codecs.adb | svn2github/matreshka | 24 | 21586 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
programs/oeis/131/A131724.asm | karttu/loda | 0 | 174354 | ; A131724: Period 6: repeat [1, 9, 7, 13, 11, 9].
; 1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,9,7,13,11,9,1,... |
nasm assembly/library/concat_str.asm | AI-Factor-y/NASM-library | 0 | 175373 |
concatinate_strings:
; the two strings should be in ebx and ecx
; the resut of concatenation is stored in result_concat_string
section .bss
result_concat_string : resb 100
counter_i : resd 1
counter_res: resd 1
section .text
push rax
push rbx
push rcx
mov word[counter_i],0
mov word[count... |
src/qt/qtwebkit/Source/JavaScriptCore/jit/JITStubsMSVC64.asm | viewdy/phantomjs | 1 | 25759 | ;/*
; Copyright (C) 2013 Digia Plc. and/or its subsidiary(-ies)
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; 1. Redistributions of source code must retain the above copyright
; notice, this list of conditions ... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_688.asm | ljhsiun2/medusa | 9 | 21599 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_688.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xc84, %rdi
sub %rbx, %rbx
vmovups (%rdi), %ymm3
vextracti128 $0, %ymm3... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1188.asm | ljhsiun2/medusa | 9 | 246482 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x17912, %r12
nop
nop
nop
nop
nop
cmp $21257, %rdi
mov (%r12), %r9w
xor $5049, %r9
lea addresses_WC_ht+0x8ef8, %rsi
lea addresses_UC_ht+0x14bd2, %rdi
clflush (%rdi)
nop
nop
nop
and $14830... |
alloy4fun_models/trainstlt/models/3/jPBbcYgrLxTaTgiJa.als | Kaixi26/org.alloytools.alloy | 0 | 4620 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idjPBbcYgrLxTaTgiJa_prop4 {
all t: Train | always prox.~prox in iden
}
pred __repair { idjPBbcYgrLxTaTgiJa_prop4 }
check __repair { idjPBbcYgrLxTaTgiJa_prop4 <=> prop4o } |
base/ntos/ke/amd64/systable.asm | yang235/wrk-v1.2 | 209 | 176492 | ;++
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; You may only use this code if you agree to the terms of the Windows Research Kernel Source Code License agreement (see License.txt).
; If you do not agree to the terms, do not use the code.
;
; Module Name:
;
; systable.asm
;
; Abstract:
;
; Thi... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_931.asm | ljhsiun2/medusa | 9 | 165205 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xace8, %r14
cmp $41044, %rbp
mov (%r14), %r11
cmp $2137, %r10
lea addresses_UC_ht+0x17ee8, %rsi
lea addresses_normal_ht+0x1c6e0, %rdi
nop
sub %r8, %r8... |
programs/oeis/092/A092443.asm | karttu/loda | 1 | 89365 | <filename>programs/oeis/092/A092443.asm
; A092443: Sequence arising from enumeration of domino tilings of Aztec Pillow-like regions.
; 3,12,50,210,882,3696,15444,64350,267410,1108536,4585308,18929092,78004500,320932800,1318498920,5409723510,22169259090,90751353000,371125269900,1516311817020,6189965556060,25249187564640... |
src/skill-field_restrictions.adb | skill-lang/adaCommon | 0 | 29584 | <reponame>skill-lang/adaCommon<gh_stars>0
-- ___ _ ___ _ _ --
-- / __| |/ (_) | | Common SKilL implementation --
-- \__ \ ' <| | | |__ runtime field restriction handling --
-- |___/_|\_\_|_|____| by: <NAME... |
Logic.agda | Lolirofle/stuff-in-agda | 6 | 6370 | module Logic where
open import Type renaming (Type to Stmt ; Typeω to Stmtω) public
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48009f.ada | best08618/asylo | 7 | 12741 | -- C48009F.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... |
apple-music-love-current-track.applescript | lukerandall/raycast-scripts | 1 | 2628 | <reponame>lukerandall/raycast-scripts
#!/usr/bin/osascript
# @raycast.title Love Current Track
# @raycast.author <NAME>
# @raycast.authorURL https://github.com/lukerandall
# @raycast.description Love currently playing track in Apple Music.
# @raycast.icon ❤️
# @raycast.mode silent
# @raycast.packageName Music
# @raycas... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt41_pkg.ads | best08618/asylo | 0 | 7284 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt41_pkg.ads
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package Opt41_Pkg is
type Enum is (One, Two, Three, Four, Five, Six);
type Rec (D : Enum) is record
case D is
when One =>
I : ... |
3-mid/opengl/source/lean/model/opengl-model-hexagon_column-lit_colored_faceted.ads | charlie5/lace-alire | 1 | 27680 | with
openGL.Geometry,
openGL.Texture;
package openGL.Model.hexagon_Column.lit_colored_faceted
--
-- Models a lit, colored and textured column with 6 faceted shaft sides.
--
is
type Item is new Model.hexagon_Column.Item with private;
type View is access all Item'Class;
---------
--- Faces
-... |
9_32BitAddition.asm | furkanisitan/ExampleProgramsFor8085Microprocessor | 0 | 93165 | LXI B, 0200H
LXI H, 0204H
LXI D, 0208H
STC ; Eldeyi 1 yap
CMC ; Eldeyi tümle C=0
MVI A, 4 ; A=4 (sayılar 4 byte tan oluşuyor)
MORE: STA TMP ; A yı sakla
LDAX B ; BC deki veriyi A ya yükle
ADC M ; A=A+[HL]+C
STAX D ; A yı D adresine kaydet
INX B
INX H ; 1 er arttır
INX D
LDA TMP ; TMP deki veriyi A ya yükle
DCR A... |
projects/batfish/src/org/batfish/grammar/flatjuniper/FlatJuniper_bgp.g4 | Alexia23/batfish | 1 | 4134 | parser grammar FlatJuniper_bgp;
import FlatJuniper_common;
options {
tokenVocab = FlatJuniperLexer;
}
apsendt_path_count
:
PATH_COUNT count = DEC
;
apsendt_prefix_policy
:
PREFIX_POLICY policy = variable
;
bfi6t_any
:
ANY s_null_filler
;
bfi6t_null
:
LABELED_UNICAST s_null_filler
;
bfi6t_unicast
:... |
programs/oeis/305/A305064.asm | neoneye/loda | 22 | 178028 | ; A305064: a(n) = 42*2^n - 20.
; 22,64,148,316,652,1324,2668,5356,10732,21484,42988,85996,172012,344044,688108,1376236,2752492,5505004,11010028,22020076,44040172,88080364,176160748,352321516,704643052,1409286124,2818572268,5637144556,11274289132,22548578284,45097156588,90194313196,180388626412,360777252844,721554505708... |
base/mvdm/wow16/win87em/emexcept.asm | npocmaka/Windows-Server-2003 | 17 | 24805 | page ,132
subttl emexcept.asm - Microsoft exception handler
;***
;emexcept.asm - Microsoft exception handler
;
; Copyright (c) 1987-89, Microsoft Corporation
;
;Purpose:
; Microsoft exception handler
;
; This Module contains Proprietary Information of Microsoft
; Corporation and should be treated as Confid... |
boards/rfm69_sensor/mspgd-board.ads | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 16500 | <filename>boards/rfm69_sensor/mspgd-board.ads<gh_stars>0
with Interfaces;
with Startup;
with MSPGD.GPIO; use MSPGD.GPIO;
with MSPGD.GPIO.Pin;
with MSPGD.UART.Peripheral;
with MSPGD.SPI.Peripheral;
with MSPGD.Clock; use MSPGD.Clock;
with MSPGD.Clock.Source;
package MSPGD.Board is
pragma Preelaborate;
package Cl... |
codec/common/x86/deblock.asm | gpatil/openh264 | 1 | 27771 | <gh_stars>1-10
;*!
;* \copy
;* Copyright (c) 2009-2013, Cisco Systems
;* All rights reserved.
;*
;* Redistribution and use in source and binary forms, with or without
;* modification, are permitted provided that the following conditions
;* are met:
;*
;* * Redistributions of source code must... |
libsrc/_DEVELOPMENT/l/z80/ascii/txt_to_num/fast/l_fast_htou.asm | jpoikela/z88dk | 640 | 21266 | <filename>libsrc/_DEVELOPMENT/l/z80/ascii/txt_to_num/fast/l_fast_htou.asm
SECTION code_clib
SECTION code_l
PUBLIC l_fast_htou
EXTERN l_char2num
l_fast_htou:
; ascii hex string to unsigned integer
; whitespace is not skipped, leading 0x not consumed
; char consumption stops on overflow
;
; enter : de... |
examples/outdated-and-incorrect/iird/IID.agda | asr/agda-kanso | 1 | 14875 |
-- The simpler case of index inductive definitions. (no induction-recursion)
module IID where
open import LF
-- A code for an IID
-- I - index set
-- E = I for general IIDs
-- E = One for restricted IIDs
data OP (I : Set)(E : Set) : Set1 where
ι : E -> OP I E
σ : (A : Set)(γ : A -> OP I E) -> OP I E
δ : (A : S... |
programs/oeis/223/A223451.asm | neoneye/loda | 22 | 5616 | ; A223451: Number of idempotent 2X2 -n..n matrices of rank 1
; 10,26,42,58,74,106,122,138,154,186,202,234,250,282,314,330,346,378,394,426,458,490,506,538,554,586,602,634,650,714,730,746,778,810,842,874,890,922,954,986,1002,1066,1082,1114,1146,1178,1194,1226,1242,1274,1306,1338,1354,1386,1418,1450,1482,1514,1530,1594,16... |
programs/oeis/114/A114121.asm | neoneye/loda | 22 | 247169 | ; A114121: Expansion of (sqrt(1 - 4*x) + (1 - 2*x))/(2*(1 - 4*x)).
; 1,2,7,26,99,382,1486,5812,22819,89846,354522,1401292,5546382,21977516,87167164,345994216,1374282019,5461770406,21717436834,86392108636,343801171354,1368640564996,5450095992964,21708901408216,86492546019214,344680279929532,1373859173316676,547706934019... |
1A/S5/PIM/tps/tp4/stocks_materiel.adb | MOUDDENEHamza/ENSEEIHT | 4 | 12627 | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
-- Auteur: <NAME>.
-- Gérer un stock de matériel informatique.
--
package body Stocks_Materiel is
procedure Creer (Stock : out T_Stock) is
begin
null;
end Creer;
function Nb_Materiels (Stock: in T... |
programs/oeis/098/A098077.asm | neoneye/loda | 22 | 20641 | ; A098077: a(n) = n^2*(n+1)*(2*n+1)/3.
; 2,20,84,240,550,1092,1960,3264,5130,7700,11132,15600,21294,28420,37200,47872,60690,75924,93860,114800,139062,166980,198904,235200,276250,322452,374220,431984,496190,567300,645792,732160,826914,930580,1043700,1166832,1300550,1445444,1602120,1771200,1953322,2149140,2359324,2584560... |
programs/oeis/099/A099546.asm | karttu/loda | 0 | 105532 | ; A099546: Odd part of n modulo 5.
; 1,1,3,1,0,3,2,1,4,0,1,3,3,2,0,1,2,4,4,0,1,1,3,3,0,3,2,2,4,0,1,1,3,2,0,4,2,4,4,0,1,1,3,1,0,3,2,3,4,0,1,3,3,2,0,2,2,4,4,0,1,1,3,1,0,3,2,2,4,0,1,4,3,2,0,4,2,4,4,0,1,1,3,1,0,3,2,1,4,0,1,3,3,2,0,3,2,4,4,0,1,1
add $0,1
mov $2,2
lpb $0,1
gcd $2,$0
div $0,$2
lpe
mod $0,5
mov $1,$0
|
tools-src/gnu/gcc/gcc/ada/ttypef.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 21211 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
test/succeed/Issue840a.agda | larrytheliquid/agda | 1 | 14169 | module Issue840a where
------------------------------------------------------------------------
-- Prelude
record ⊤ : Set where
data ⊥ : Set where
data _≡_ {A : Set} (x : A) : A → Set where
refl : x ≡ x
data Bool : Set where
true false : Bool
{-# BUILTIN BOOL Bool #-}
{-# BUILTIN TRUE true #-}
{-# BUILTIN... |
antlr-editing-plugins/antlr-error-highlighting/src/main/resources/org/nemesis/antlr/error/highlighting/BadWildcards.g4 | timboudreau/ANTLR4-Plugins-for-NetBeans | 1 | 5902 | <reponame>timboudreau/ANTLR4-Plugins-for-NetBeans<filename>antlr-editing-plugins/antlr-error-highlighting/src/main/resources/org/nemesis/antlr/error/highlighting/BadWildcards.g4
/*
* Copyright 2019 Mastfrog Technologies.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file... |
init.asm | jhyunleehi/xv6-public | 0 | 94200 |
_init: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
char *argv[] = { "sh", 0 };
int
main(void)
{
0: f3 0f 1e fb endbr32
4: 8d 4c 24 04 lea 0x4(%esp),%ecx
8: 83 e4 f0 and $0xfffffff0,%esp
b: ff 71 fc pushl -0x4(%ecx)
... |
Sources/Globe_3d/models/icosahedron.ads | ForYouEyesOnly/Space-Convoy | 1 | 22136 | with GLOBE_3D;
package Icosahedron is
procedure Create (
object : in out GLOBE_3D.p_Object_3D;
scale : GLOBE_3D.Real;
centre : GLOBE_3D.Point_3D;
alpha : GLOBE_3D.Real;
polyball : Boolean
);
end Icosahedron;
|
programs/oeis/168/A168225.asm | neoneye/loda | 22 | 18800 | <gh_stars>10-100
; A168225: a(n) = n^4*(n^7 + 1)/2.
; 0,1,1032,88614,2097280,24414375,181399176,988664572,4294969344,15690533085,50000005000,142655842626,371504195712,896080211299,2024782604040,4324877955000,8796093054976,17135948195577,32134205092104,58245129514270,102400000080000,175138750368351,292159150822792,47640... |
Examples/interprocess-communication/exeapp3.asm | agguro/linux-nasm | 6 | 28049 | ;name: exeapp3.asm
;
;build: nasm -felf64 exeapp3.asm -o exeapp3.o
; ld -s -melf_x86_64 -o exeapp3 exeapp3.o
;
;description: Demonstration on how to execute a bash script from a program and the environment parameters.
; be sure that the script is set executable with chmod +x
; ... |
lecture7/callret.asm | netguy204/cmsc313_examples | 1 | 7055 | <filename>lecture7/callret.asm
[SECTION .data]
;;; Here we declare initialized data. For example: messages, prompts,
;;; and numbers that we know in advance
hello: db "Hello, World!", 10
hello_len: EQU $-hello
[SECTION .bss]
;;; Here we declare uninitialized data. We're reserving space (and
;;; potentially asso... |
AppleScript/LogOutlookMetaData.applescript | maxheadroom/helpers | 0 | 1392 |
-- Set location of logfile
set this_file to (((path to home folder) as string) & "MailLog.log")
-- a function to append data to the logfile
on write_to_file(this_data, target_file, append_data)
try
set the target_file to the target_file as string
set the open_target_file to open for access file target_file with ... |
tasking.adb | charlesincharge/Intro_to_Ada | 0 | 21219 | -- Concurrency can be offered by the OS, the language, or a combination
-- Link to some papers that say that threading can't be a library.
-- Ousterhout has an interesting paper here that shows that you can't guarantee pthreads correctness.
-- Processes offer protection but are too heavy-weight.
-- Compiler must take c... |
bindings/glu.adb | ForYouEyesOnly/Space-Convoy | 1 | 5875 | <gh_stars>1-10
with Ada.Unchecked_Conversion, System;
package body GLU is
type loc_DoublePtr is new GL.doublePtr;
pragma No_Strict_Aliasing (Matrix_Double_Ptr);
pragma No_Strict_Aliasing (Viewport_Ptr);
pragma No_Strict_Aliasing (loc_DoublePtr);
-- recommended by GNAT 2005
procedure Get (pnam... |
oeis/049/A049672.asm | neoneye/loda-programs | 11 | 7922 | ; A049672: a(n) = (F(4*n) - F(n))/2, where F=A000045 (the Fibonacci sequence).
; Submitted by <NAME>(s1)
; 0,1,10,71,492,3380,23180,158899,1089144,7465159,51167050,350704322,2403763416,16475639933,112925716670,774004377655,5305104928368,36361730123272,249227005938340,1708227311451263,11708364174230460,80250321908178071... |
libsrc/_DEVELOPMENT/adt/b_vector/c/sccz80/b_vector_capacity.asm | meesokim/z88dk | 0 | 167414 |
; size_t b_vector_capacity(b_vector_t *v)
SECTION code_adt_b_vector
PUBLIC b_vector_capacity
defc b_vector_capacity = asm_b_vector_capacity
INCLUDE "adt/b_vector/z80/asm_b_vector_capacity.asm"
|
tests/lsc_internal_test_bignum.adb | Componolit/libsparkcrypto | 30 | 30604 | -------------------------------------------------------------------------------
-- This file is part of libsparkcrypto.
--
-- Copyright (C) 2011, <NAME> and <NAME>
-- Copyright (C) 2011, secunet Security Networks AG
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1000.asm | ljhsiun2/medusa | 9 | 170590 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xc1f4, %r12
nop
nop
nop
nop
add $45314, %rdx
vmovups (%r12), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $0, %xmm7, %rax
nop
nop
nop
cmp $7657, %rbp
lea addresses_WC_ht+0x2c3... |
test/link/group3/seg1a.asm | nigelperks/BasicAssembler | 0 | 6807 | IDEAL
ASSUME CS:SEG1, DS:SEG1, ES:SEG1, SS:SEG1
SEGMENT SEG1 PUBLIC
ORG 100h
start:
mov ax, 1234h
mov dx, 5678h
call start
int 21h
jmp near CS:100h
ENDS
GROUP MYGROUP SEG1
END start
|
programs/oeis/340/A340498.asm | karttu/loda | 1 | 22917 | ; A340498: Where 2^n appears in A340488 for the first time.
; 3,6,16,56,216,856,3416,13656,54616,218456,873816,3495256,13981016,55924056,223696216,894784856,3579139416,14316557656,57266230616,229064922456,916259689816
mov $1,$0
sub $0,2
add $1,1
add $1,$0
cal $1,86893 ; a(n) is the index of F(n+1) at the unique occurr... |
tier-1/clib/source/thin/clib-timeval.ads | charlie5/cBound | 2 | 25273 | -- This file is generated by SWIG. Please do *not* modify by hand.
--
with Interfaces.C;
with Interfaces.C.Pointers;
with Interfaces.C.Strings;
with System;
package clib.timeval is
-- Item
--
type Item is record
tv_sec : aliased Interfaces.C.long;
tv_usec : aliased Interfaces.C.long;
end reco... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1472.asm | ljhsiun2/medusa | 9 | 178310 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x2f45, %r8
add %rdi, %rdi
mov $0x6162636465666768, %r14
movq %r14, %xmm0
vmovups %ymm0, (%r8)
nop
nop
nop
nop
nop
sub $34548, %rcx
lea addresses_WC_ht+0x36ae, %rsi
lea addresse... |
alloy4fun_models/trashltl/models/16/sMFYnbuTiyEtf8PY5.als | Kaixi26/org.alloytools.alloy | 0 | 727 | <gh_stars>0
open main
pred idsMFYnbuTiyEtf8PY5_prop17 {
always (all f:Trash | after no Trash&f)
}
pred __repair { idsMFYnbuTiyEtf8PY5_prop17 }
check __repair { idsMFYnbuTiyEtf8PY5_prop17 <=> prop17o } |
src/stopwatch.ads | mosteo/stopwatch | 0 | 29716 | <reponame>mosteo/stopwatch<gh_stars>0
private with Ada.Calendar;
package Stopwatch is
type Instance is tagged private;
procedure Reset (This : in out Instance);
function Elapsed (This : Instance) return Duration;
procedure Hold (This : in out Instance; Enable : Boolean := True);
-- Stop counting ti... |
cmd/cps/rebuild/uf_main.asm | minblock/msdos | 0 | 87122 | ; Copyright 1990 Central Point Software, Inc.
; All rights reserved.
;---------------------------------------------------------
; MAIN MODULE of "Unformat".
; (see _ORG module source for linking info)
; A utility to attempt recovery from
; an accidental hard disk "Format".
;
; Written by GWD. June - August 1987.... |
antlr/SBHasm.g4 | Blanvillain/7billionhumans | 0 | 1451 | grammar SBHasm;
// PARSER
asm : line+ ;
line : (cmd|comment|label|sbhcomment|sbhcommentd)? (EOL) ;
cmd : JUMP | step | pickup | cond | write | drop | calc | setval | take | give
| nearest | END | pickup | listen | tell | foreachdir;
pickup : PICKUP (direction | mem)? ;
step ... |
mc-sema/validator/x86/tests/ROR16rCL.asm | randolphwong/mcsema | 2 | 177698 | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_OF
;TEST_FILE_META_END
; ROR16rCL
mov bx, 0x414
mov cl, 0x3
;TEST_BEGIN_RECORDING
ror bx, cl
;TEST_END_RECORDING
|
source/kernel.ads | bracke/Meaning | 1 | 14560 | <filename>source/kernel.ads
--------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
Univalence/OldUnivalence/SimpleHoTT.agda | JacquesCarette/pi-dual | 14 | 9551 | <filename>Univalence/OldUnivalence/SimpleHoTT.agda
{-# OPTIONS --without-K #-}
module SimpleHoTT where
open import Data.Empty
open import Data.Sum renaming (map to _⊎→_)
open import Function renaming (_∘_ to _○_)
infixr 8 _∘_ -- path composition
infix 4 _≡_ -- propositional equality
infix 2 _∎ -- equat... |
programs/oeis/152/A152948.asm | jmorken/loda | 1 | 96804 | ; A152948: a(n) = (n^2 - 3*n + 6)/2.
; 2,2,3,5,8,12,17,23,30,38,47,57,68,80,93,107,122,138,155,173,192,212,233,255,278,302,327,353,380,408,437,467,498,530,563,597,632,668,705,743,782,822,863,905,948,992,1037,1083,1130,1178,1227,1277,1328,1380,1433,1487,1542,1598,1655,1713,1772,1832,1893,1955,2018,2082,2147,2213,2280,23... |
LM/Aula2/return0_pr/return0.asm | Kw-Vinicius/Linguagem-de-Montagem- | 0 | 80231 | <reponame>Kw-Vinicius/Linguagem-de-Montagem-
;###########################################
; Primeiro Exemplo Return
;#########################################
;
; assembler: nasm -f elf -o <program>.o <program>.asm
; linker: ld -m elf_i386 -s -o <program> <program>.o
SECTION .text ;seção de códigos
global _star... |
commands/communication/duckduckgo-email-protection/configure-@duck.com-script-command.applescript | rashed-imam/script-commands | 1 | 2256 | #!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Configure
# @raycast.mode compact
# Optional parameters:
# @raycast.icon images/duckduckgo_logo.png
# @raycast.argument1 { "type": "text", "placeholder": "@duck.com authorizationID" }
# @raycast.packageName DuckDuckGo Email Protec... |
agda/BBHeap/Order/Properties.agda | bgbianchi/sorting | 6 | 2756 | module BBHeap.Order.Properties {A : Set}(_≤_ : A → A → Set) where
open import BBHeap _≤_
open import BBHeap.Order _≤_ renaming (Acc to Accₕ ; acc to accₕ)
open import Data.Nat
open import Induction.Nat
open import Induction.WellFounded
ii-acc : ∀ {b} {h} → Acc _<′_ (# {b} h) → Accₕ h
ii-acc (acc rs) = accₕ (λ h' #h'... |
3-mid/physics/implement/c_math/source/thin/c_math_c-pointers.ads | charlie5/lace | 20 | 15049 | <filename>3-mid/physics/implement/c_math/source/thin/c_math_c-pointers.ads<gh_stars>10-100
-- This file is generated by SWIG. Please do *not* modify by hand.
--
with Interfaces.C;
package c_math_c.Pointers is
-- Real_Pointer
--
type Real_Pointer is access all c_math_c.Real;
-- Real_Pointers
--
type... |
libsrc/_DEVELOPMENT/font/fzx/fonts/dkud3/Pearl/_ff_dkud3_Pearl.asm | jpoikela/z88dk | 640 | 100434 |
SECTION rodata_font
SECTION rodata_font_fzx
PUBLIC _ff_dkud3_Pearl
_ff_dkud3_Pearl:
BINARY "font/fzx/fonts/dkud3/Pearl/pearl2.fzx"
|
asm_main.asm | CISVVC/cis208-chapter05-arrays-JoseC1 | 0 | 174082 | <reponame>CISVVC/cis208-chapter05-arrays-JoseC1
%include "asm_io.inc"
;These Macros Control the Size of the array and The scalar it is being multiplied by
%define ARRAY_SIZE DWORD 5
%define SCALAR 5
; initialized data is put in the .data segment
segment .data
syswrite: equ 4
stdout: equ 1
exi... |
alloy4fun_models/trashltl/models/7/6Wzq8f6LP5g32D3LD.als | Kaixi26/org.alloytools.alloy | 0 | 4746 | <filename>alloy4fun_models/trashltl/models/7/6Wzq8f6LP5g32D3LD.als
open main
pred id6Wzq8f6LP5g32D3LD_prop8 {
eventually (File.link in Trash)
}
pred __repair { id6Wzq8f6LP5g32D3LD_prop8 }
check __repair { id6Wzq8f6LP5g32D3LD_prop8 <=> prop8o } |
problemas de boletines/Problema 22.asm | ubidragon/AVR-US | 0 | 15489 | <reponame>ubidragon/AVR-US
; Problema 22
; Se conecta un pulsador al pin 6 del puerto B.
; Hacer un programa para el AVR que establezca el pin 6 del
; puerto B como entrada. Que active la resistencia de “pull-up”
; de ese pin y que cuente en un registro R20 cuántas veces
; se ha pulsado dicho pulsador. IMPORTANTE: Si ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_73.asm | ljhsiun2/medusa | 9 | 167119 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xfdc6, %r13
nop
nop
nop
nop
nop
dec %r8
mov $0x6162636465666768, %rdi
movq %rdi, (%r13)
nop
nop
nop
xor $7382, %r12
lea addresses_UC_ht+0x18b57, %r13
cmp %rdx, %rdx
movw $0x6162... |
Layer2FadeOut/fadeout.asm | ped7g/ZXSpectrumNextMisc | 15 | 88989 | ; "Fade Out" example, fading out to black image in Layer2 320x256 mode
; © <NAME> 2020, license: https://opensource.org/licenses/MIT
; requires ZX Spectrum Next with core3.0+
;
; Assembles with sjasmplus - https://github.com/z00m128/sjasmplus (v1.15.0+)
; Does use imagemagick "convert" tool to prepare image data for di... |
alloy4fun_models/trashltl/models/8/ZbbvnFpE26NfqQo8t.als | Kaixi26/org.alloytools.alloy | 0 | 545 | <filename>alloy4fun_models/trashltl/models/8/ZbbvnFpE26NfqQo8t.als
open main
pred idZbbvnFpE26NfqQo8t_prop9 {
all p : Protected | always p not in Trash'
}
pred __repair { idZbbvnFpE26NfqQo8t_prop9 }
check __repair { idZbbvnFpE26NfqQo8t_prop9 <=> prop9o } |
alloy4fun_models/trashltl/models/11/7JBD4i64gNZjmih2R.als | Kaixi26/org.alloytools.alloy | 0 | 2559 | open main
pred id7JBD4i64gNZjmih2R_prop12 {
all f : File | eventually f in Trash => after eventually f not in Trash
}
pred __repair { id7JBD4i64gNZjmih2R_prop12 }
check __repair { id7JBD4i64gNZjmih2R_prop12 <=> prop12o } |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_671.asm | ljhsiun2/medusa | 9 | 89825 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x107ec, %r13
nop
nop
nop
nop
nop
sub $48582, %rdi
mov $0x6162636465666768, %r15
movq %r15, (%r13)
nop
nop
nop
nop
nop
cmp %r9, %r9
lea addresses_A_ht+0xe7ec, %rdx
nop
sub $1235... |
src/jsa-tabulated_text_io.ads | sparre/JSA | 1 | 19050 | ------------------------------------------------------------------------------
--
-- package Tabulated_Text_IO (spec)
--
------------------------------------------------------------------------------
-- Update log:
--
-- 2000.02.01 (<NAME>)
-- Written.
--
----------------------------------------------------------... |
Examples/ch11/WriteColors.asm | satadriver/LiunuxOS | 0 | 93394 | <filename>Examples/ch11/WriteColors.asm
TITLE Writing Text Colors (WriteColors.asm)
; Demonstration of WriteConsoleOutputCharacter,
; and WriteConsoleOutputAttribute functions.
; Last update: 9/28/01
INCLUDE Irvine32.inc
.data
outHandle DWORD ?
cellsWritten DWORD ?
xyPos COORD <10,2>
; Ar... |
oeis/058/A058932.asm | neoneye/loda-programs | 11 | 8655 | ; A058932: Number of unlabeled claw-free cubic graphs with 2n nodes and connectivity 1.
; Submitted by <NAME>
; 0,0,0,0,0,0,1,1,3,5,11,20
mov $5,$0
lpb $0
sub $0,2
mov $2,$0
mov $0,1
max $2,0
seq $2,293046 ; Number of even permutations on {1,2,...,n} with exactly 2 weak excedances.
mov $4,$2
min $4,1
a... |
components/src/screen/adafruit-charliewing.ads | rocher/Ada_Drivers_Library | 192 | 17638 | <reponame>rocher/Ada_Drivers_Library<filename>components/src/screen/adafruit-charliewing.ads
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2019, AdaCore ... |
Just_beginner_things/Combining_C&Assembly/check.asm | ashcode028/Operating-system-in-action | 4 | 22889 | global add
section .text
add:
mov rax,rdi
add rax,rsi
ret
|
oeis/332/A332189.asm | neoneye/loda-programs | 11 | 247688 | ; A332189: a(n) = 8*(10^(2n+1)-1)/9 + 10^n.
; Submitted by <NAME>
; 9,898,88988,8889888,888898888,88888988888,8888889888888,888888898888888,88888888988888888,8888888889888888888,888888888898888888888,88888888888988888888888,8888888888889888888888888,888888888888898888888888888,88888888888888988888888888888,888888888888... |
src/Beside.agda | cspollard/diff | 0 | 8400 | open import Relation.Binary using (Rel)
open import Algebra.Bundles using (CommutativeRing)
open import Normed
module Beside
{r ℓr} {CR : CommutativeRing r ℓr}
(open CommutativeRing CR using () renaming (Carrier to X))
{rel} {_≤_ : Rel X rel}
{ma ℓma} (MA : NormedModule CR _≤_ ma ℓma)
{mb ℓmb} (MB : NormedM... |
src/host/x86/asm/has/uXmhasLAHF.asm | Navegos/uasmlib | 3 | 92148 | <gh_stars>1-10
include uXmx86asm.inc
option casemap:none
ifndef __X64__
.686P
.xmm
.model flat, c
else
.X64P
.xmm
option win64:11
option stackbase:rsp
endif
option frame:auto
.code
align 16
uXm_has_LAHF proto VECCALL (byte)
align 16
uXm_has_LAHF proc VECCALL (byte)
ifndef _... |
examples/outdated-and-incorrect/Alonzo/TestInt.agda | asr/agda-kanso | 1 | 14085 | module TestInt where
open import PreludeInt
open import PreludeShow
mainS = showInt result where
result = (mod (((int 2) + (int 2)) * (int 5)) (int 3)) |
examples/random_sfmt.adb | ytomino/drake | 33 | 9819 | <filename>examples/random_sfmt.adb<gh_stars>10-100
pragma License (Unrestricted); -- BSD 3-Clause
-- translated unit from SFMT (test.c)
--
-- Copyright (C) 2007 <NAME>, <NAME> and Hiroshima
-- University. All rights reserved.
--
-- The new BSD License is applied to this software, see LICENSE.txt
--
--
-- Ada v... |
fixp.asm | gp48k/lpfp | 17 | 21334 | ; Convert floating point between -1.0 and +1.0 to signed integer between -127 and 127
; WARNING!!! Bounds not checked, does wreak havoc for out of bounds input.
; Input: DE = floating point number in the -1.0 .. +1.0 range
; Output: A = signed integer
; Pollutes: F,AF',BC,DE,HL
FFIX: LD BC,F7F
CALL FMUL
LD A,H
ADD A... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.