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 |
|---|---|---|---|---|
boot/stage2/func32.asm | arushsharma24/KSOS | 87 | 246102 | <reponame>arushsharma24/KSOS
[bits 32]
;global print_esi_32
;global set_cursor_32
;global clrscr_32
print_esi_32: ;--------------ah = attribute
pusha
call get_cursor_32
; mov ah,0x0f ;Background on foreground --------Keep this as a user input
shl ebx,1 ;Multiply by 2
add ebx,0xb8000 ;Starting address
_pri... |
src/Trace.agda | boystrange/FairSubtypingAgda | 4 | 12152 | -- MIT License
-- Copyright (c) 2021 <NAME> and <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, mo... |
src/implementation/cl-events.adb | flyx/OpenCLAda | 8 | 128 | <reponame>flyx/OpenCLAda
--------------------------------------------------------------------------------
-- Copyright (c) 2013, <NAME> <<EMAIL>>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice a... |
src/taglib.adb | persan/a-taglib | 0 | 21488 | pragma Ada_2012;
with Interfaces.C.Strings;
with Interfaces.C; use Interfaces.C;
package body taglib is
-- unsupported macro: TAGLIB_C_EXPORT __attribute__ ((visibility("default")))
-- unsupported macro: BOOL int
type TagLib_File is record
Dummy : aliased Int; -- /usr/include/taglib/tag_c.h:65
end reco... |
src/Categories/Functor/Fibration.agda | Trebor-Huang/agda-categories | 5 | 9983 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category
open import Categories.Functor
-- Street fibration, which is the version of fibration that respects the principle of equivalence.
-- https://ncatlab.org/nlab/show/Grothendieck+fibration#StreetFibration
module Categories.Functor.Fibration {o ℓ e o′ ℓ′ ... |
cymling.g4 | GlenKPeterson/Rippl | 2 | 5158 | grammar cymling ;
file_: form * EOF;
form: literal
| fun_block
// | fun_appl
| record
| vector
;
forms: form* ;
pair: lcf_sym '=' form;
record: '(' pair* ')' ;
vector: '[' forms ']' ;
fun_block: '{' (lcf_sym* '->')? forms '}' ;
//fun_appl: lcf_sym '(' (form | pair)* ')' ;
// fluent_appl: fun... |
scripts/viridianforest.asm | adhi-thirumala/EvoYellow | 0 | 1428 | ViridianForestScript:
call EnableAutoTextBoxDrawing
ld hl, ViridianForestTrainerHeaders
ld de, ViridianForestScriptPointers
ld a, [wViridianForestCurScript]
call ExecuteCurMapScriptInTable
ld [wViridianForestCurScript], a
ret
ViridianForestScriptPointers:
dw CheckFightingMapTrainers
dw DisplayEnemyTrainerText... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_19472_1629.asm | ljhsiun2/medusa | 9 | 168507 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x11d92, %rsi
lea addresses_UC_ht+0x3d1a, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
add $47654, %rbx
mov $54, %rcx
rep movsb
nop
nop
sub %rax, %rax
lea addresses_... |
programs/oeis/224/A224317.asm | jmorken/loda | 1 | 24654 | <reponame>jmorken/loda<gh_stars>1-10
; A224317: a(n) = a(n-1) + 3 - a(n-1)!.
; 1,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2,3,0,2
lpb $$3
mov $4,$$1
trn $$1,3
lpe
add $2,$4
add $4,$2
mov $$1,3
add $$3,$... |
smsq/sms/achp.asm | olifink/smsqe | 0 | 171026 | * Standard Allocate in Common Heap V2.00 1986 <NAME> QJUMP
*
section sms
*
xdef sms_achp
*
xref sms_ckid check job ID
xref mem_achp allocate in heap
xref sms_rte return
*
include dev8_keys_chp
*
* d0 ... |
programs/oeis/135/A135095.asm | jmorken/loda | 1 | 162421 | ; A135095: a(1)=1, a(n) = a(n-1) + n^5 if n odd, a(n) = a(n-1) + n^2 if n is even.
; 1,5,248,264,3389,3425,20232,20296,79345,79445,240496,240640,611933,612129,1371504,1371760,2791617,2791941,5268040,5268440,9352541,9353025,15789368,15789944,25555569,25556245,39905152,39905936,60417085,60417985,89047136,89048160,1281835... |
src/protypo.adb | fintatarta/protypo | 0 | 21148 | <reponame>fintatarta/protypo<gh_stars>0
package body Protypo is
function Is_Valid_Id (Id : String) return Boolean
is
use Strings.Maps;
begin
if Id = "" then
return False;
end if;
if not Is_In (Id (Id'First), Begin_Id_Set) then
return False;
end if;
for I ... |
doc/icfp20/code/Interval.agda | halfaya/MusicTools | 28 | 8197 | <reponame>halfaya/MusicTools
{-# OPTIONS --without-K #-}
module Interval where
open import Pitch
open import Data.Bool using (Bool; true; false; _∨_; _∧_; not; if_then_else_)
open import Data.Integer using (+_; _-_; sign; ∣_∣)
open import Data.Fin using (toℕ)
open import Data.Nat using (ℕ; _≡ᵇ... |
programs/oeis/112/A112347.asm | neoneye/loda | 22 | 3452 | ; A112347: Kronecker symbol (-1, n) except a(0) = 0.
; 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,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,-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
mov $1,$0
seq $1... |
src/Command_Line/line_parsers-receivers.ads | fintatarta/eugen | 0 | 23215 | --
-- This package provides few handlers for common types: strings,
-- integers and float. A separate package provides a generic
-- handler for enumerative types.
--
package Line_Parsers.Receivers is
type String_Receiver is new Abstract_Parameter_Handler with private;
overriding
function Is_Set(Handler: Stri... |
src/zmq-sockets-indefinite_typed_generic.adb | persan/zeromq-Ada | 33 | 29060 | <reponame>persan/zeromq-Ada<gh_stars>10-100
-------------------------------------------------------------------------------
-- --
-- 0MQ Ada-binding --
-- ... |
src/main/fragment/mos6502-common/pvom1=_deref_qvoc1.asm | jbrandwood/kickc | 2 | 166642 | lda {c1}
sta {m1}
lda {c1}+1
sta {m1}+1
|
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_47_397.asm | ljhsiun2/medusa | 9 | 86541 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %rsi
lea addresses_D_ht+0x7595, %r11
nop
nop
nop
nop
nop
cmp %rsi, %rsi
movl $0x61626364, (%r11)
cmp %rsi, %rsi
pop %rsi
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %r9
push %rbx
push %rdi
push %rsi
// Fa... |
source/amf/uml/amf-uml-state_machines.ads | svn2github/matreshka | 24 | 28943 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
scripts/CaptureOne/Clear GPS content.applescript | bezineb5/gps-toolchain | 0 | 2222 | display dialog "This will clear the content of the GPS. Are you sure?" default button "Cancel"
display dialog "Just to confirm: this will clear the content of the GPS. Are you sure?" default button "Cancel"
do shell script "eval `/usr/libexec/path_helper -s`; python3 -m gt2gpx --usb purge"
-- Notify the user
display ... |
04-cubical-type-theory/material/ExerciseSession3.agda | williamdemeo/EPIT-2020 | 1 | 7676 | -- Exercises for session 3
--
-- If unsure which exercises to do start with those marked with *
--
{-# OPTIONS --cubical --allow-unsolved-metas #-}
module ExerciseSession3 where
open import Part1
open import Part2
open import Part3
open import Part4
open import ExerciseSession1 hiding (B)
open import Cubical.Foundati... |
programs/oeis/288/A288687.asm | neoneye/loda | 22 | 22084 | ; A288687: Number of n-digit biquanimous strings using digits {0,1,2,3}.
; 1,1,4,19,92,421,1830,7687,31624,128521,518666,2084875,8361996,33497101,134094862,536608783,2146926608,8588754961,34357248018,137433710611,549744803860,2199000186901,8796044787734,35184271425559,140737278640152,562949517213721,2251798907715610,90... |
src/WinEoP/Utils/EggTag.asm | quangnh89/WinEoP | 25 | 243088 | IFDEF I386
.586
.model flat, stdcall
ENDIF
.code wineop
IFDEF I386
EggTag PROC public
db 'Tx86Tx86'
EggTag ENDP
ELSEIFDEF AMD64
EggTag PROC public
db 'Tx64Tx64'
EggTag ENDP
ENDIF
END |
test/Fail/Issue2057.agda | cruhland/agda | 1,989 | 9660 | <gh_stars>1000+
record R (A : Set) : Set₁ where
field
P : A → Set
p : (x : A) → P x
module M (r : (A : Set) → R A) where
open module R′ {A : Set} = R (r A) public
postulate
r : (A : Set) → R A
A : Set
open M r
internal-error : (x : A) → P x
internal-error x = p
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_2199_834.asm | ljhsiun2/medusa | 9 | 103412 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x3f36, %r11
nop
nop
nop
and %rbp, %rbp
mov (%r11), %si
nop
nop
nop
nop
sub $25286, %rdi
lea addresses_WT_ht+0xaf36, %rsi
lea addresses_WC_ht+0x84e, %rdi
nop
nop
nop
nop
a... |
playflx/retired_decoders.asm | ped7g/specnext | 0 | 171898 | ; ------------------------------------------------------------------------
LINEARRLE8: ;chunktype = 102; printf("l"); break;
; [runbytes][runvalue]
; op >= 0 [copybytes][..bytes..]
; op < 0 [-runbytes][runvalue]
call readword ; hl = bytes in block
ld de, 0 ; screen offset
decodeloopLRLE8:
push ... |
test/Succeed/DeadCodePatSyn.agda | cruhland/agda | 1,989 | 5922 |
module _ where
open import DeadCodePatSyn.Lib
typeOf : {A : Set} → A → Set
typeOf {A} _ = A
-- Check that pattern synonyms count when computing dead code
f : typeOf not-hidden → Set₁
f not-hidden = Set
|
bb-runtimes/examples/monitor/common/dumps.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 25701 | <filename>bb-runtimes/examples/monitor/common/dumps.ads
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- ... |
Data/Binary/Definition.agda | oisdk/agda-playground | 6 | 15115 | <gh_stars>1-10
{-# OPTIONS --without-K --safe #-}
module Data.Binary.Definition where
open import Level
open import Data.Bits public renaming (Bits to 𝔹; [] to 0ᵇ; 0∷_ to 1ᵇ_; 1∷_ to 2ᵇ_)
-- The following causes a performance hit:
-- open import Agda.Builtin.List using ([]; _∷_; List)
-- open import Agda.Builtin.B... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_13425_611.asm | ljhsiun2/medusa | 9 | 9613 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x93a0, %r9
nop
nop
nop
nop
nop
sub %r15, %r15
mov (%r9), %r10d
nop
nop
nop
inc %rsi
lea addresses_D_ht+0xb3a0, %rsi
lea addresses_D_ht+0x1cba0, %rdi
nop
nop
xor %r13, %r13
mov $2, %rcx
r... |
libsrc/spectrum/display/zx_py2saddr.asm | grancier/z180 | 0 | 12457 | <filename>libsrc/spectrum/display/zx_py2saddr.asm
; uchar __FASTCALL__ *zx_py2saddr(uchar ycoord)
; aralbrec 06.2007
SECTION code_clib
PUBLIC zx_py2saddr
PUBLIC _zx_py2saddr
.zx_py2saddr
._zx_py2saddr
ld a,l
and $07
or $40
ld h,a
ld a,l
rra
rra
rra
and $18
or h
ld h,a
ld a,l
... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-hesorg.adb | orb-zhuchen/Orb | 0 | 26476 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
src/data/lib/prim/Agda/Builtin/TrustMe.agda | hborum/agda | 2 | 13011 | {-# OPTIONS --no-sized-types --no-guardedness #-}
module Agda.Builtin.TrustMe where
open import Agda.Builtin.Equality
open import Agda.Builtin.Equality.Erase
private
postulate
unsafePrimTrustMe : ∀ {a} {A : Set a} {x y : A} → x ≡ y
primTrustMe : ∀ {a} {A : Set a} {x y : A} → x ≡ y
primTrustMe = primEraseEquali... |
prototyping/Luau/OpSem.agda | TheGreatSageEqualToHeaven/luau | 1 | 2858 | <filename>prototyping/Luau/OpSem.agda
{-# OPTIONS --rewriting #-}
module Luau.OpSem where
open import Agda.Builtin.Equality using (_≡_)
open import Agda.Builtin.Float using (Float; primFloatPlus; primFloatMinus; primFloatTimes; primFloatDiv; primFloatEquality; primFloatLess; primFloatInequality)
open import Agda.Buil... |
arch/lib/scheme/is_sob_closure.asm | Mosseridan/Compiler-Principles | 0 | 81636 | /* scheme/is_sob_closure.asm
* Take pointers to a Scheme object, and places in R0 either 0 or 1
* (long, not Scheme integer objects or Scheme boolean objets),
* depending on whether the argument is a closure.
*
* Programmer: <NAME>, 2012
*/
IS_SOB_CLOSURE:
PUSH(FP);
MOV(FP, SP);
MOV(R0, FPARG(0));
CMP(... |
Categories/Comonad/Cofree.agda | copumpkin/categories | 98 | 17086 | module Categories.Comonad.Cofree where
|
OSSOURCE/video.asm | mooseman/smallOS | 3 | 169476 | <reponame>mooseman/smallOS
; MMURTL Operating System Source Code
; Written by <NAME>
; This code is released to the public domain.
; "Share and enjoy....." ;)
;This module contains ALL Video code & Data
; (along with EdLine for lack of a better place)
;
;This module supports MMURTL's Virtual Te... |
engine/menu/text_box.asm | AmateurPanda92/pokemon-rby-dx | 9 | 168971 | ; function to draw various text boxes
DisplayTextBoxID_:
ld a, [wTextBoxID]
cp TWO_OPTION_MENU
jp z, DisplayTwoOptionMenu
ld c, a
ld hl, TextBoxFunctionTable
ld de, 3
call SearchTextBoxTable
jr c, .functionTableMatch
ld hl, TextBoxCoordTable
ld de, 5
call SearchTextBoxTable
jr c, .coordTableMatch
ld hl, Te... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1046.asm | ljhsiun2/medusa | 9 | 7668 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %r8
push %rbx
push %rcx
lea addresses_D_ht+0xe2a8, %r13
nop
nop
nop
nop
nop
sub $51393, %r8
mov $0x6162636465666768, %r12
movq %r12, %xmm5
movups %xmm5, (%r13)
cmp %r13, %r13
lea addresses_WC_ht+0x1328, %r14
sub %rcx, %rcx
mov (%r... |
src/001/os.asm | davidjwalling/os | 0 | 85225 | <gh_stars>0
;=======================================================================================================================
;
; File: os.asm
;
; Project: 001
;
; Description: This sample program defines a valid boot sector that displays a message and waits for a key to
; ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43204a.ada | best08618/asylo | 7 | 20192 | <gh_stars>1-10
-- C43204A.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/153/A153642.asm | karttu/loda | 1 | 6935 | ; A153642: a(n) = 4*n^2 + 24*n + 8.
; 36,72,116,168,228,296,372,456,548,648,756,872,996,1128,1268,1416,1572,1736,1908,2088,2276,2472,2676,2888,3108,3336,3572,3816,4068,4328,4596,4872,5156,5448,5748,6056,6372,6696,7028,7368,7716,8072,8436,8808,9188,9576,9972,10376,10788,11208,11636,12072,12516,12968,13428,13896,14372,14... |
DriverEntry.asm | nanabingies/KiLogr | 0 | 84392 | .text:00401250 ; =============== S U B R O U T I N E =======================================
.text:00401250
.text:00401250 ; Attributes: bp-based frame
.text:00401250
.text:00401250 sub_401250 proc near ; CODE XREF: sub_401068+11↑p
.text:00401250 ; sub_401068+7... |
calculator/calculator.g4 | augustand/grammars-v4 | 0 | 3940 | /*
BSD License
Copyright (c) 2013, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions... |
examples/ext_doc.adb | ytomino/drake | 33 | 22076 | <gh_stars>10-100
-- document generator
with Ada.Containers.Limited_Ordered_Maps;
with Ada.Directories;
with Ada.Strings.Fixed;
with Ada.Strings.Functions;
with Ada.Strings.Unbounded;
with Ada.Text_IO;
procedure ext_doc is
use type Ada.Strings.Unbounded.Unbounded_String;
Prefix : constant String := "https://github.com... |
Library/Spool/Process/processUtils.asm | steakknife/pcgeos | 504 | 9705 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: System Spooler
FILE: processUtils.asm
AUTHOR: <NAME>, 9 March 1990
REVISION HISTORY:
Name Date Description
---- ---- -----... |
applescript/update_art_spotify.scpt | adamseadub/atom-phonograph | 1 | 4221 | <reponame>adamseadub/atom-phonograph
tell application "Finder"
set current_path to container of container of (path to me) as alias
set current_path to (current_path as text) & ".tmp:"
set current_path to POSIX path of current_path
end tell
tell application "Spotify"
try
if player state is not stopped then
set... |
src/gen-commands-project.adb | Letractively/ada-gen | 0 | 15646 | -----------------------------------------------------------------------
-- gen-commands-project -- Project creation command for dynamo
-- Copyright (C) 2011, 2012, 2013, 2014 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exc... |
C0Compiler/mips.asm | hanayashiki/C0CompilerForVS2010 | 4 | 27397 | .data
const_str_26: .asciiz " "
.text
j main_22
nop
# quick_sort_0:
quick_sort_0:
# PROLOG quick_sort;
sw $8 -204($29)
sw $9 -208($29)
sw $10 -212($29)
sw $11 -216($29)
sw $12 -220($29)
sw $13 -224($29)
sw $14 -228($29)
sw $15 -232($29)
sw $16 -236($29)
sw $17 -240($29)
sw $18 -244($29)
sw $19 -248($29)
sw $20 -252($29... |
programs/oeis/049/A049716.asm | neoneye/loda | 22 | 172191 | ; A049716: a(n) = 2*n + 1 - prevprime(2*n + 1).
; 1,2,2,2,4,2,2,4,2,2,4,2,4,6,2,2,4,6,2,4,2,2,4,2,4,6,2,4,6,2,2,4,6,2,4,2,2,4,6,2,4,2,4,6,2,4,6,8,2,4,2,2,4,2,2,4,2,4,6,8,10,12,14,2,4,2,4,6,2,2,4,6,8,10,2,2,4,6,2,4,6,2,4,2,4,6,2,4,6,2,2,4,6,8,10,2,2,4,2,2
mul $0,2
seq $0,49711 ; a(n) = n - prevprime(n).
|
oeis/221/A221146.asm | neoneye/loda-programs | 11 | 2834 | ; A221146: Table read by antidiagonals: (m+n) - (m XOR n).
; Submitted by <NAME>
; 0,0,0,0,2,0,0,0,0,0,0,2,4,2,0,0,0,4,4,0,0,0,2,0,6,0,2,0,0,0,0,0,0,0,0,0,0,2,4,2
seq $0,4198 ; Table of x AND y, where (x,y) = (0,0),(0,1),(1,0),(0,2),(1,1),(2,0),...
mul $0,2
|
linear_algebra/tridiag_tst_1.adb | jscparker/math_packages | 30 | 11319 |
-- Test Eigendecomposition of real valued square matrices.
with Ada.Numerics.Generic_elementary_functions;
with Tridiagonal;
with Test_Matrices;
with Text_IO; use Text_IO;
procedure tridiag_tst_1 is
type Real is digits 15;
--type Real is digits 18;
--Desired_Size_Of_Matrix : constant := 2291;
--Desired_Size_... |
source/nodes/program-nodes-parameter_associations.adb | optikos/oasis | 0 | 28237 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Parameter_Associations is
function Create
(Formal_Parameter : Program.Elements.Expressions.Expression_Access;
A... |
templates/if.asm | RV8V/asm-code | 1 | 174366 | .global _start
.data
hi: .ascii "hi\0\n"
.text
_start:
mov $5, %r8
push %r8
sub $5, %r8
pop %r8
#cmp $5, %r8
jz if
jle if
call exit
if:
mov $1, %rax
mov $1, %rdi
mov $hi, %rsi
mov $5, %rdx
syscall
jmp exit
exit:
mov $60, %rax
mov $0, %rdi
syscall
|
src/Extensions/Fin.agda | metaborg/ts.agda | 4 | 6070 | module Extensions.Fin where
open import Prelude
open import Data.Fin hiding (_<_)
open import Data.Nat
|
src/PathStructure/Nat.agda | vituscze/HoTT-lectures | 0 | 13180 | {-# OPTIONS --without-K #-}
module PathStructure.Nat where
open import Equivalence
open import PathOperations
open import Types
F : ℕ → ℕ → Set
F = ind (λ _ → ℕ → Set)
(λ _ r → ind (λ _ → Set) (λ n-1 _ → r n-1) ⊥)
( ind (λ _ → Set) (λ _ _ → ⊥) ⊤)
F-lemma : ∀ n → F n n
F-lemma = ind (λ n → F n n) (λ ... |
test/asset/agda-stdlib-1.0/Data/W.agda | omega12345/agda-mode | 5 | 11418 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- W-types
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.W where
open import Level
open import Function
open import Data.Product hiding (m... |
GSeTT/GSeTT.agda | thibautbenjamin/catt-formalization | 0 | 14677 | <gh_stars>0
{-# OPTIONS --rewriting #-}
module GSeTT.GSeTT where
open import GSeTT.Syntax
open import GSeTT.Rules
import GSeTT.CwF-structure
import GSeTT.Dec-Type-Checking
import GSeTT.Uniqueness-Derivations
open import GSeTT.Typed-Syntax
|
MSDOS/Virus.MSDOS.Unknown.osp-07s.asm | fengjixuchui/Family | 3 | 168837 | ;-------------------------------------------------------------------------
; ************************************************
; OFFSPRING v0.7 - BY VIROGEN - 04-26-93
; ************************************************
;
; - Compatible with A86 v3.22
;
;
; DISCLAIMER : Don't hold me responsible for any damages, or... |
Papers3/Papers_To_Bookends/Papers_To_Bookends.applescript | extracts/mac-scripting | 50 | 2733 | <filename>Papers3/Papers_To_Bookends/Papers_To_Bookends.applescript
-- Papers to Bookends
-- version 1.4, licensed under the MIT license
-- by <NAME>, keypointsapp.net, mat(at)extracts(dot)de
-- Exports all publications selected in your Papers 3 library (incl. its primary PDFs) to Bookends.
-- This script requires m... |
orka_simd/src/x86/gnat/orka-simd-f16c.ads | onox/orka | 52 | 15510 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2016 onox <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
-... |
gcc-gcc-7_3_0-release/gcc/ada/sem_ch8.adb | best08618/asylo | 7 | 24851 | <filename>gcc-gcc-7_3_0-release/gcc/ada/sem_ch8.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
src/main/antlr/adl/cadl14_primitives.g4 | openEHR/adl-antlr | 1 | 6520 | <filename>src/main/antlr/adl/cadl14_primitives.g4<gh_stars>1-10
//
// description: Antlr4 grammar for cADL primitives sub-syntax of Archetype Definition Language (ADL2)
// author: <NAME> <<EMAIL>>
// contributors:<NAME> <<EMAIL>>
// support: openEHR Specifications PR tracker <https://openehr.atlassian.net/p... |
oeis/094/A094587.asm | neoneye/loda-programs | 11 | 93795 | <filename>oeis/094/A094587.asm
; A094587: Triangle of permutation coefficients arranged with 1's on the diagonal. Also, triangle of permutations on n letters with exactly k+1 cycles and with the first k+1 letters in separate cycles.
; Submitted by <NAME>
; 1,1,1,2,2,1,6,6,3,1,24,24,12,4,1,120,120,60,20,5,1,720,720,360,... |
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/InstructionTests/clflush.asm | ArthasZhang007/15418FinalProject | 0 | 21427 | ;
; Copyright (C) 2017-2017 Intel Corporation.
; SPDX-License-Identifier: MIT
;
include asm_macros.inc
PROLOGUE
.data
extern funcPtr:ADDRINT_TYPE
.code
; void ClFlushFunc();
; This function calls clflush
ClFlushFunc PROC
mov GCX_REG ,funcPtr
;clflush (GCX_REG)
db 00Fh, 0AEh, 039h
ret
ClFlu... |
programs/oeis/088/A088512.asm | neoneye/loda | 22 | 172741 | ; A088512: Number of partitions of n into two parts whose xor-sum is n.
; 0,0,0,1,0,1,1,3,0,1,1,3,1,3,3,7,0,1,1,3,1,3,3,7,1,3,3,7,3,7,7,15,0,1,1,3,1,3,3,7,1,3,3,7,3,7,7,15,1,3,3,7,3,7,7,15,3,7,7,15,7,15,15,31,0,1,1,3,1,3,3,7,1,3,3,7,3,7,7,15,1,3,3,7
mov $1,$0
lpb $1
div $0,2
sub $1,$0
lpe
mov $0,2
pow $0,$1
sub $0... |
programs/oeis/040/A040208.asm | karttu/loda | 1 | 12701 | <reponame>karttu/loda
; A040208: Continued fraction for sqrt(223).
; 14,1,13,1,28,1,13,1,28,1,13,1,28,1,13,1,28,1,13,1,28,1,13,1,28,1,13,1,28,1,13,1,28,1,13,1,28,1,13,1,28,1,13,1,28,1,13,1,28,1,13,1,28,1,13,1,28,1,13,1,28,1,13,1,28,1,13,1,28,1,13,1,28,1,13
cal $0,10201 ; Continued fraction for sqrt(142).
add $1,$0
div... |
programs/oeis/156/A156865.asm | neoneye/loda | 22 | 19106 | <reponame>neoneye/loda
; A156865: 729000n - 612180.
; 116820,845820,1574820,2303820,3032820,3761820,4490820,5219820,5948820,6677820,7406820,8135820,8864820,9593820,10322820,11051820,11780820,12509820,13238820,13967820,14696820,15425820,16154820,16883820,17612820,18341820,19070820,19799820,20528820,21257820,21986820,227... |
kristoph/kernel/main/entry.asm | vbmacher/qsOS | 1 | 26535 | <filename>kristoph/kernel/main/entry.asm
;
; ENTRY.ASM
;
; (c) Copyright 2001, <NAME>.
;
; Zaciatok - ENtry Point - Kernelu.
;
; Kernel vykona celu instalaciu systemu.
; Tento subor je vlastne startovacim kodom. Nezalezi na velkosti.
;
; Nastavenia compilera
MASM
.386p
.model tiny
.data
segSystem equ 0FF0h
segStack... |
models/Prob.agda | mietek/epigram | 48 | 9735 | <filename>models/Prob.agda
{-# OPTIONS --type-in-type #-}
module Prob where
open import DescTT
mutual
data Sch : Set where
ty : (S : Set) -> Sch
exPi : (s : Sch)(T : toType s -> Sch) -> Sch
imPi : (S : Set)(T : S -> Sch) -> Sch
toType : Sch -> Set
toType (ty S) = S
toType (exPi s T) = (x ... |
ln.asm | chintu3536/xv6 | 0 | 162670 | <gh_stars>0
_ln: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a:... |
Data/Either/Multi.agda | Lolirofle/stuff-in-agda | 6 | 8776 | module Data.Either.Multi where
open import Data
open import Data.Either
import Data.Tuple.Raiseᵣ.Functions as Raise
open import Data.Tuple.RaiseTypeᵣ
open import Data.Tuple.RaiseTypeᵣ.Functions
open import Data.Tuple using (_⨯_ ; _,_)
open import Function.Multi
open import Function.Multi.Functions
import Lvl... |
puzzle_16/src/puzzle_16.adb | AdaForge/Advent_of_Code_2020 | 0 | 2301 | procedure Puzzle_16 is
begin
null;
end Puzzle_16;
|
src/main/fragment/mos6502-common/pvom1=pvoc1_plus__deref_pwuz2.asm | jbrandwood/kickc | 2 | 175890 | <gh_stars>1-10
ldy #0
lda #<{c1}
clc
adc ({z2}),y
sta {m1}
iny
lda #>{c1}
adc ({z2}),y
sta {m1}+1 |
sound/sfxasm/87.asm | NatsumiFox/Sonic-3-93-Nov-03 | 7 | 94862 | <gh_stars>1-10
87_Header:
sHeaderInit ; Z80 offset is $CE6A
sHeaderPatch 87_Patches
sHeaderTick $01
sHeaderCh $01
sHeaderSFX $80, $05, 87_FM5, $07, $04
87_FM5:
sPatFM $00
dc.b nEb3, $07
sLoop $00, $04, 87_FM5
dc.b nB2, $12
sStop
87_Patches:
; Patch $00
; $F3
; $10, $70, $3C, $3A, $1F, $1F, $1F, $... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca.log_21829_913.asm | ljhsiun2/medusa | 9 | 85134 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x63b, %r15
clflush (%r15)
nop
nop
nop
nop
cmp $38347, %rbp
movw $0x6162, (%r15)
nop
nop
nop
nop
nop
sub $49851, %rax
lea addresses_normal_ht+0x7a50, %rsi
lea addresses_D_... |
examples/gpio/main.adb | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 21263 | with MSPGD.Board; use MSPGD.Board;
procedure Main is
pragma Preelaborate;
begin
Init;
loop
if BUTTON.Is_Set then LED_GREEN.Set; else LED_GREEN.Clear; end if;
end loop;
end Main;
|
programs/oeis/307/A307469.asm | neoneye/loda | 22 | 6383 | <reponame>neoneye/loda
; A307469: a(n) = 2*a(n-1) + 6*a(n-2) for n >= 2, a(0) = 1, a(1) = 5.
; 1,5,16,62,220,812,2944,10760,39184,142928,520960,1899488,6924736,25246400,92041216,335560832,1223368960,4460102912,16260419584,59281456640,216125430784,787939601408,2872631787520,10472901183488,38181593092096,139200593285120
... |
Validator.g4 | centripetum/parser | 0 | 1952 | grammar Validator;
prog: stat+;
stat: expr NEWLINE | NEWLINE;
expr:
expr AND expr
| expr OR expr
| ID MATCHES REGEX
| ID DOES_NOT_MATCH REGEX
| ID CONTAINS STRING
| ID DOES_NOT_CONTAIN STRING
| ID IS_NULL
| ID IS_NOT_NULL
| ID IS_A_BOOLEAN
| ID IS_A_BOOLEAN_OR_INDETERMINATE
| ID IS_A_DATE
| ID IS_A_TIMEST... |
libsrc/games/aquarius/bit_close.asm | andydansby/z88dk-mk2 | 1 | 164451 | ; $Id: bit_close.asm,v 1.2 2002/04/17 21:30:24 dom Exp $
;
; Mattel Aquarius 1 bit sound functions stub
;
; void bit_close();
;
; <NAME> - Dec 2001
;
XLIB bit_close
.bit_close
ret
|
writeups/flare-on/2019/11/disassembly.asm | Washi1337/ctf-writeups | 24 | 102573 | <gh_stars>10-100
offset | op | disassembly
---------+----+--------------------------
0000: | 00 | clearmemory
0001: | 11 | v0 = [0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000]
0023: | 11 | v1 = [0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000000... |
programs/oeis/172/A172165.asm | neoneye/loda | 22 | 241890 | <filename>programs/oeis/172/A172165.asm
; A172165: A simple sequence a(n) = n + n^(n-1).
; 2,4,12,68,630,7782,117656,2097160,43046730,1000000010,25937424612,743008370700,23298085122494,793714773254158,29192926025390640,1152921504606846992,48661191875666868498,2185911559738696531986,104127350297911241532860,524288000000... |
programs/oeis/246/A246425.asm | karttu/loda | 1 | 5787 | ; A246425: In the Collatz 3x+1 problem: start at an odd number 2n+1 and find the next odd number 2m+1 in the trajectory; then a(n) = m-n.
; 0,1,-2,2,-1,3,-4,4,-2,5,-10,6,-3,7,-9,8,-4,9,-15,10,-5,11,-14,12,-6,13,-24,14,-7,15,-19,16,-8,17,-28,18,-9,19,-24,20,-10,21,-42,22,-11,23,-29,24,-12,25,-41,26,-13,27,-34,28,-14,29,... |
L2_EVEN_ODD.asm | TashinAhmed/ASSEMBLY-LANGUAGE | 0 | 242925 | <reponame>TashinAhmed/ASSEMBLY-LANGUAGE
; AUTHOR : <NAME>
; DATE & TIME : 02/11/2017 12:29 AM
.MODEL SMALL
.STACK 100H
.DATA
ODD DB 'ITS ODD$'
EVEN DB 'ITS EVEN$'
NEWLINE DB 0AH,0DH,'$'
.CODE
MAIN PROC
MOV AX, @DATA
MOV DS, AX
INPUT:
... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_229.asm | ljhsiun2/medusa | 9 | 14349 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xadac, %rsi
lea addresses_normal_ht+0x1d66e, %rdi
nop
and %r12, %r12
mov $102, %rcx
rep movsb
nop
nop
add %rcx, %rcx
lea addresses_UC_ht+0x1a0f6, %r14
add $61120, %r11
mov $0... |
arch/ARM/STM32/svd/stm32f103/stm32_svd-dma.ads | morbos/Ada_Drivers_Library | 2 | 10699 | -- This spec has been automatically generated from STM32F103.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.DMA is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- DMA interrupt status regis... |
src/asis/a4g-a_output.adb | My-Colaborations/dynamo | 15 | 17024 | ------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
oeis/160/A160175.asm | neoneye/loda-programs | 11 | 7788 | ; A160175: Expansion of 1/(1 - 2*x - 2*x^2 - 2*x^3 - 2*x^4).
; Submitted by <NAME>
; 1,2,6,18,54,160,476,1416,4212,12528,37264,110840,329688,980640,2916864,8676064,25806512,76760160,228319200,679123872,2020019488,6008445440,17871816000,53158809600,158118181056,470314504192,1398926621696,4161036233088,12376791080064,368... |
Assembler/test/cohadar/assembler/memory/mem00.asm | cohadar/parapascal | 0 | 84829 | // Program changes x and y variables inside another thread
// when control is returned to main thread
// change will be visible only on shared variable x
// instance variable y inside main will remain the same
// because every thread has personal copy
.SHARED
x : 1
.INSTANCE
y : 1
.CODE
// x := 3
const 3
addr ... |
oeis/127/A127971.asm | neoneye/loda-programs | 11 | 244792 | <filename>oeis/127/A127971.asm
; A127971: a(n) = fusc(n+1) + (1-(-1)^n)/2, fusc = A002487.
; Submitted by <NAME>
; 1,2,2,2,3,3,3,2,4,4,5,3,5,4,4,2,5,5,7,4,8,6,7,3,7,6,8,4,7,5,5,2,6,6,9,5,11,8,10,4,11,9,13,6,12,8,9,3,9,8,12,6,13,9,11,4,10,8,11,5,9,6,6,2,7,7,11,6,14,10,13,5,15,12,18,8,17,11,13,4,14,12,19,9,21,14,18,6,17,... |
2019/csawq/halfpike/chal.notes.asm | theKidOfArcrania/ctf-writeups | 5 | 100052 | 00000000: JMP main
; [0x233] CASE 0
; if reg(r10) != reg(r11):
; if r12 and not stop:
; correct = r12
; stop = 1
00000004: MOV ACC, r10
00000005: CALL getmem ;(ACC loc)
00000007: XCHG ACC, r0
00000008: XCHG ACC, r10
00000009: MOV ACC, r11
0000000a: CALL getmem ;(ACC loc)
0000000c: XCHG ACC, r0
0000000d: XCHG ... |
src/ado-schemas.ads | My-Colaborations/ada-ado | 0 | 30142 | <reponame>My-Colaborations/ada-ado
-----------------------------------------------------------------------
-- ado-schemas -- Database Schemas
-- Copyright (C) 2009, 2010, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file ex... |
sem1/asc/MaxOcteti/a.asm | itsbratu/bachelor | 0 | 98779 | bits 32
global start
extern exit , printf
import exit msvcrt.dll
import printf msvcrt.dll
extern maxim
segment data use32 class=data
s dd 1234A678h , 12345678h , 1AC3B47Dh , 0FEDC9876h
len equ ($-s)/4
d times len db -1
mesaj_afisare db "Suma octetil... |
audio/music/unused/Radio/Hoenn/Route 119.asm | AtmaBuster/pokeplat-gen2-old | 2 | 169306 | Music_Route119:
musicheader 4, 1, Music_Route119_Ch1
musicheader 1, 2, Music_Route119_Ch2
musicheader 1, 3, Music_Route119_Ch3
musicheader 1, 4, Music_Route119_Ch4
Music_Route119_Ch1:
tempo 190
dutycycle 0
vibrato $12, $15
tone $0001
notetype $6, $22
octave 2
note F#, 1
note G#, 1
intensity $32
note A... |
alloy4fun_models/trashltl/models/9/tqYkfTvvyy2qgRNFZ.als | Kaixi26/org.alloytools.alloy | 0 | 4459 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idtqYkfTvvyy2qgRNFZ_prop10 {
always (all f:File | f in Protected implies always (f in Protected))
}
pred __repair { idtqYkfTvvyy2qgRNFZ_prop10 }
check __repair { idtqYkfTvvyy2qgRNFZ_prop10 <=> prop10o } |
examples/outdated-and-incorrect/iird/Logic/ChainReasoning.agda | shlevy/agda | 1,989 | 13146 | <gh_stars>1000+
module Logic.ChainReasoning where
module Mono where
module Homogenous
{ A : Set }
( _==_ : A -> A -> Set )
(refl : (x : A) -> x == x)
(trans : (x y z : A) -> x == y -> y == z -> x == z)
where
infix 2 chain>_
infixl 2 _===_
infix 3 _by_
chain>_ : (x : A) -> x =... |
programs/oeis/022/A022393.asm | karttu/loda | 0 | 90778 | ; A022393: Fibonacci sequence beginning 1, 23.
; 1,23,24,47,71,118,189,307,496,803,1299,2102,3401,5503,8904,14407,23311,37718,61029,98747,159776,258523,418299,676822,1095121,1771943,2867064,4639007,7506071,12145078,19651149,31796227,51447376,83243603,134690979,217934582,352625561,570560143,923185704,1493745847,24169315... |
library/fmGUI_ManageDatabase/fmGUI_ManageDb_ListOfXDBCTableNames.applescript | NYHTC/applescript-fm-helper | 1 | 1166 | <filename>library/fmGUI_ManageDatabase/fmGUI_ManageDb_ListOfXDBCTableNames.applescript
-- fmGUI_ManageDb_ListOfXDBCTableNames({})
-- <NAME>, NYHTC
-- Return a list of XDBC table names.
(*
HISTORY:
1.2.2 - 2019-03-12 ( eshagdar ): no need to bring frontmost again. narrowed scope of system events.
1.2.1 - 2018-04-30 ... |
programs/oeis/157/A157740.asm | karttu/loda | 1 | 19856 | ; A157740: 18522n + 42.
; 18564,37086,55608,74130,92652,111174,129696,148218,166740,185262,203784,222306,240828,259350,277872,296394,314916,333438,351960,370482,389004,407526,426048,444570,463092,481614,500136,518658,537180,555702,574224,592746,611268,629790,648312,666834,685356,703878,722400,740922,759444,777966,79648... |
source/xml/dom/xml-dom-elements.ads | svn2github/matreshka | 24 | 1900 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.