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 |
|---|---|---|---|---|
Cubical/Algebra/CommRing/Base.agda | Edlyr/cubical | 0 | 9664 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.CommRing.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.Isomorphism
open import C... |
src/Arch/Intel/VMXa.asm | themagicaldeveloper/HyperBone | 1 | 94594 | <gh_stars>1-10
;++
;
; Copyright (c) <NAME>. All rights reserved.
;
; Module:
;
; VMXa.asm
;
; Abstract:
;
; This module implements AMD64-specific routines for the Simple Hyper Visor.
;
; Author:
;
; <NAME> (@aionescu) 16-Mar-2016 - Initial version
;
; Environment:
;
; Kernel mode only.
;
;--
extern VmxpEx... |
src/music_2.ads | thomas070605/shoot-n-loot | 0 | 5888 | -- Shoot'n'loot
-- Copyright (c) 2020 <NAME>
with VirtAPU; use VirtAPU;
package Music_2 is
C_32nd : constant Command := (Wait_Ticks, 1);
C_16th : constant Command := (Wait_Ticks, C_32nd.Ticks * 2);
C_8th : constant Command := (Wait_Ticks, C_16th.Ticks * 2);
C_Quarter : constant Command := (... |
alloy4fun_models/trashltl/models/11/mfFao4anZyZwFvZJY.als | Kaixi26/org.alloytools.alloy | 0 | 3343 | open main
pred idmfFao4anZyZwFvZJY_prop12 {
always all f: File | eventually f in Trash and eventually f in Trash releases f not in Trash
}
pred __repair { idmfFao4anZyZwFvZJY_prop12 }
check __repair { idmfFao4anZyZwFvZJY_prop12 <=> prop12o } |
Groups/Homomorphisms/Lemmas2.agda | Smaug123/agdaproofs | 4 | 2411 | <gh_stars>1-10
{-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Groups.Groups
open import Groups.Homomorphisms.Definition
open import Groups.Definition
open import Numbers.Naturals.Naturals
open import Setoids.Setoids
open import Functions.Definition
open import Sets.Equivalen... |
src/guard_mode_patch.asm | mvdhout1992/ts-patches | 33 | 12013 | %include "TiberianSun.inc"
%include "macros/patch.inc"
%include "macros/datatypes.inc"
;;; http://www.ppmforums.com/viewtopic.php?t=38895
; # Units in Guard mode will no longer chase after enemies that move out of firing range
@CLEAR 0x004A1AA8, 0x90, 0x004A1AAA
|
Gathered CTF writeups/hitcon_quals_2018/eop/eop_disas.asm | mihaid-b/CyberSakura | 1 | 101742 | ; ---------------- Node 31 at 0x555555559ADC. Next: 3A ----------------
mov [rbp+iter_14], 0
cmp [rbp+iter_14], 0Fh
jg short END_XOR_555555559B66
mov eax, [rbp+iter_14]
movsxd rdx, eax
lea rax, pwd_1_5555557671A0
movzx ecx, byte ptr [rdx+rax] ; ecx = pwd[0]
mo... |
wof/lcs/123p/63.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 22170 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data
copyright zengfr site:http://github.com/zengfr/romhack
0018B6 beq $18bc
001B4E tst.b ($63,A0) [123p+ 20]
001B52 beq $1b60
007F20 bne $7e86
008F54 bgt $8e58
009C34 bgt $9c80
017AFE beq $17b10
01AAB6 tst.b ($63,A0... |
src/data/lib/prim/Agda/Builtin/String.agda | phadej/agda | 0 | 9762 | <filename>src/data/lib/prim/Agda/Builtin/String.agda
{-# OPTIONS --without-K --safe --no-sized-types --no-guardedness #-}
module Agda.Builtin.String where
open import Agda.Builtin.Bool
open import Agda.Builtin.List
open import Agda.Builtin.Char
open import Agda.Builtin.Equality
postulate String : Set
{-# BUILTIN STR... |
common.agda | guillaumebrunerie/general-type-theories | 0 | 2294 | {-# OPTIONS --rewriting --prop #-}
open import Agda.Primitive public
open import Agda.Builtin.Nat public renaming (Nat to ℕ) hiding (_==_; _+_)
open import Agda.Builtin.Bool public
{- Basic datatypes and propositions -}
record ⊤ : Prop where
instance constructor tt
record Unit : Set where
instance constructor t... |
source/directories/a-dirtem.ads | ytomino/drake | 33 | 9670 | <reponame>ytomino/drake
pragma License (Unrestricted);
-- extended unit
private with System.Native_Directories.Temporary;
package Ada.Directories.Temporary is
-- Creating temporary files and directories.
-- settings
function Temporary_Directory return String;
procedure Set_Temporary_Directory (Name : S... |
software/modules/sdlog-tools.adb | TUM-EI-RCS/StratoX | 12 | 1801 | <gh_stars>10-100
-- Project: StratoX
-- System: Stratosphere Balloon Flight Controller
-- Author: <NAME> (<EMAIL>)
with Profiler;
with Ada.Real_Time; use Ada.Real_Time;
with Logger;
with Units;
with FAT_Filesystem; use FAT_Filesystem;
with FAT_Filesystem.Directories; use FAT_Filesystem.Dire... |
test/Fail/Issue4461.agda | shlevy/agda | 1,989 | 10474 | <reponame>shlevy/agda
data M : Set where
m : (I : _) → (I → M) → M
-- inferred
-- m : (I : Set) → (I → M) → M
|
programs/oeis/144/A144864.asm | neoneye/loda | 22 | 171556 | ; A144864: a(n) = (4*16^(n-1)-1)/3.
; 1,21,341,5461,87381,1398101,22369621,357913941,5726623061,91625968981,1466015503701,23456248059221,375299968947541,6004799503160661,96076792050570581,1537228672809129301,24595658764946068821,393530540239137101141,6296488643826193618261,100743818301219097892181,161190109281950556627... |
Appl/FileMgrs2/CommonDesktop/CTree/ctreeManager.asm | steakknife/pcgeos | 504 | 240640 | <filename>Appl/FileMgrs2/CommonDesktop/CTree/ctreeManager.asm
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: CommonDesktop/CTree
FILE: ctreeManager.asm
REVISION HISTORY:
Name Date Description
... |
tests/vice-tests/CIA/tod/hzsync1.asm | PhylumChordata/chips-test | 330 | 174984 | <gh_stars>100-1000
;Clock-Test #2b: 50Hz counter sync test (PAL only). Source for 64Tass (<NAME>)
;simplified version ignoring hrs, min and secs to see if that makes any difference
;find out if the 50/60Hz counter is running freely
;or somehow synchronized with writes to TOD-time:
;in the latter case .1secs should cha... |
alloy4fun_models/trashltl/models/9/hv2mBh38o6s3WB6RC.als | Kaixi26/org.alloytools.alloy | 0 | 1209 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idhv2mBh38o6s3WB6RC_prop10 {
always all f:File | f in Protected implies always f in Protected
}
pred __repair { idhv2mBh38o6s3WB6RC_prop10 }
check __repair { idhv2mBh38o6s3WB6RC_prop10 <=> prop10o } |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_89_1610.asm | ljhsiun2/medusa | 9 | 175209 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xfcfb, %rsi
lea addresses_A_ht+0x17e32, %rdi
nop
nop
nop
nop
nop
add $61475, %r11
mov $54, %rcx
rep movsw
nop
nop
nop
nop
and %rcx, %rcx
lea addresses_WT_ht+0x162ee, %rsi
lea addresses_A_ht+... |
source/nls/a-eeenst.ads | ytomino/drake | 33 | 15739 | <gh_stars>10-100
pragma License (Unrestricted);
-- extended unit
package Ada.Environment_Encoding.Encoding_Streams is
-- This is a stream wrapper encoding from/to another stream.
pragma Preelaborate;
-- only reading
type In_Type is limited private;
-- subtype Open_In_Type is In_Type
-- with
-- ... |
example/incrementer.asm | eljay26/smsspec | 2 | 1199 | <filename>example/incrementer.asm
.section "Incrementer" free
Incrementer.increment:
inc a
ret
Incrementer.incrementRandom:
push bc
ld b, a
call RandomGenerator.generateByte
add a, b
pop bc
ret
.ends
|
oeis/081/A081298.asm | neoneye/loda-programs | 11 | 27310 | ; A081298: Main diagonal of the square array A081297.
; Submitted by <NAME>
; 1,1,7,25,461,2821,84883,734161,30684601,342800821,18348174791,251203133545,16394732478853,265727053328101,20464206411678331,383172119935376161,34011762638354230001,722380674949394645269,72612297324747331499503,1724810936986001071965241,193652... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-socthi__mingw.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 13128 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
src/core/bytecode/wasm/module/section/section.asm | Hiroshi123/bin_tools | 0 | 8435 |
section .text
default rel
global _0x00_none
;; global _0x01_type
global _0x02_import
global _0x03_function
global _0x04_table
global _0x05_memory
global _0x06_global
global _0x07_export
global _0x08_start
global _0x09_element
global _0x0a_code
global _0x0b_data
;;;
_0x00_none:
ret
;; _0x01_type:
;; ... |
vp8/common/x86/recon_sse2.asm | CM-Archive/android_external_libvpx | 3 | 8746 | ;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... |
programs/oeis/155/A155120.asm | neoneye/loda | 22 | 8099 | <filename>programs/oeis/155/A155120.asm<gh_stars>10-100
; A155120: a(n) = 2*(n^3 + n^2 + n - 1).
; -2,4,26,76,166,308,514,796,1166,1636,2218,2924,3766,4756,5906,7228,8734,10436,12346,14476,16838,19444,22306,25436,28846,32548,36554,40876,45526,50516,55858,61564,67646,74116,80986,88268,95974,104116,112706,121756,131278,1... |
oeis/113/A113128.asm | neoneye/loda-programs | 11 | 179462 | ; A113128: A simple 4-diagonal matrix based on (1+x)^3.
; Submitted by <NAME>
; 1,3,2,3,6,3,1,6,9,4,0,2,9,12,5,0,0,3,12,15,6,0,0,0,4,15,18,7,0,0,0,0,5,18,21,8,0,0,0,0,0,6,21,24,9,0,0,0,0,0,0,7,24,27,10,0,0,0,0,0,0,0,8,27,30,11,0,0,0,0,0,0,0,0,9,30,33,12,0,0,0,0,0,0,0,0,0,10,33,36,13,0,0,0,0
lpb $0
add $1,1
sub $0,... |
test/Fail/customised/Issue2649-1.agda | shlevy/agda | 1,989 | 15302 | module Issue2649-1 where
module MyModule (A : Set) (a : A) where
foo : A
foo = a
|
helpdesk.interpretador.impl/LabeledExprOld.g4 | RuiAP/HelpDeskAsService | 0 | 2921 | <reponame>RuiAP/HelpDeskAsService
grammar LabeledExprOld;
prog: stat ;
stat: expr NEWLINE # printExpr
| ID '=' expr NEWLINE # assign
| NEWLINE # blank
;
expr: expr op=('*'|'/') expr # MulDiv
| expr op=('+'|'-') expr# AddSub
| INT # int
| ID # id
| '(' expr ')' # parens
;
NEWLINE : [\r\n]+ ;
INT:[0-9]+;
ID:[a-z]+;
MUL ... |
programs/oeis/291/A291557.asm | karttu/loda | 1 | 162606 | ; A291557: a(n) = 23*2^n - 1.
; 22,45,91,183,367,735,1471,2943,5887,11775,23551,47103,94207,188415,376831,753663,1507327,3014655,6029311,12058623,24117247,48234495,96468991,192937983,385875967,771751935,1543503871,3087007743,6174015487,12348030975,24696061951,49392123903,98784247807,197568495615,395136991231,7902739824... |
programs/oeis/186/A186685.asm | neoneye/loda | 22 | 11022 | <filename>programs/oeis/186/A186685.asm<gh_stars>10-100
; A186685: Total number of n-digit numbers requiring 19 positive biquadrates in their representation as sum of biquadrates.
; 0,1,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,... |
src/apsepp-test_node_class-suite_stub.adb | thierr26/ada-apsepp | 0 | 11230 | <reponame>thierr26/ada-apsepp<gh_stars>0
-- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Apsepp.Test_Node_Class.Private_Test_Reporter;
package body Apsepp.Test_Node_Class.Suite_Stub is
T_S_S : aliased Test_Suite_Stub;
----------------------------------------------... |
programs/oeis/010/A010004.asm | karttu/loda | 1 | 26080 | <reponame>karttu/loda
; A010004: a(0) = 1, a(n) = 13*n^2 + 2 for n>0.
; 1,15,54,119,210,327,470,639,834,1055,1302,1575,1874,2199,2550,2927,3330,3759,4214,4695,5202,5735,6294,6879,7490,8127,8790,9479,10194,10935,11702,12495,13314,14159,15030,15927,16850,17799,18774,19775,20802,21855,22934,24039,25170,26327,27510,28719,2... |
src/gen-artifacts-yaml.ads | My-Colaborations/dynamo | 0 | 22975 | <reponame>My-Colaborations/dynamo<gh_stars>0
-----------------------------------------------------------------------
-- gen-artifacts-yaml -- Yaml database model files
-- Copyright (C) 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not us... |
Scripts/AppleScript/Test Standard Suite.applescript | ghartnett/MenubarCountdown | 75 | 2665 | <filename>Scripts/AppleScript/Test Standard Suite.applescript
-- Demonstrates how to use these Standard Suite scripting properties:
--
-- - name
-- - version
-- - frontmost
tell application "Menubar Countdown"
activate
show start dialog
say "The name of the application is " & name & "."
say "The version is " &... |
examples/stm32f0/power_modes/main.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 19791 | <reponame>ekoeppen/STM32_Generic_Ada_Drivers<gh_stars>1-10
with System;
with STM32GD;
with STM32_SVD; use STM32_SVD;
with STM32_SVD.Flash; use STM32_SVD.Flash;
with STM32_SVD.RCC; use STM32_SVD.RCC;
with STM32_SVD.PWR; use STM32_SVD.PWR;
with STM32_SVD.GPIO; use STM32_SVD.GPIO;
with STM32_SVD.RTC; use STM32_SVD.RTC;
wi... |
oeis/168/A168420.asm | neoneye/loda-programs | 11 | 241294 | ; A168420: a(n) = 4 + 10*floor(n/2).
; Submitted by <NAME>
; 4,14,14,24,24,34,34,44,44,54,54,64,64,74,74,84,84,94,94,104,104,114,114,124,124,134,134,144,144,154,154,164,164,174,174,184,184,194,194,204,204,214,214,224,224,234,234,244,244,254,254,264,264,274,274,284,284,294,294,304,304,314,314,324,324,334,334,344,344,354... |
programs/oeis/204/A204443.asm | neoneye/loda | 22 | 101476 | ; A204443: Symmetric matrix: f(i,j)=floor[(i+j+3)/4]-floor[(i+j)/4], by (constant) antidiagonals.
; 1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,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,0,0,0,0,0,0,0,0,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
seq $0,2024 ; n appea... |
src/Categories/Category/Lift.agda | Trebor-Huang/agda-categories | 279 | 6916 | <reponame>Trebor-Huang/agda-categories
{-# OPTIONS --without-K --safe #-}
module Categories.Category.Lift where
open import Level
open import Categories.Category
open import Categories.Functor using (Functor)
liftC : ∀ {o ℓ e} o′ ℓ′ e′ → Category o ℓ e → Category (o ⊔ o′) (ℓ ⊔ ℓ′) (e ⊔ e′)
liftC o′ ℓ′ e′ C = record
... |
agda/Invert.agda | anqurvanillapy/fpl | 1 | 8931 | <filename>agda/Invert.agda
{-# OPTIONS --safe #-}
module Invert where
open import Relation.Binary.PropositionalEquality
open import Data.Nat
open import Data.Nat.Properties
_∘_ : ∀ {A B C : Set} → (B → C) → (A → B) → (A → C)
(g ∘ f) x = g (f x)
pred₂ : ℕ → ℕ
pred₂ = pred ∘ pred
lemma : (a b : ℕ) → pred₂ (suc a + ... |
Sound Scripts/MuteInternalMic.applescript | rogues-gallery/applescript | 360 | 4295 | <reponame>rogues-gallery/applescript<filename>Sound Scripts/MuteInternalMic.applescript
--- Automated mic muting
tell application "System Events" to set volume input volume 0
|
tier-1/gmp/source/thin/gmp_c-mpf_srcptr.ads | charlie5/cBound | 2 | 102 | -- This file is generated by SWIG. Please do *not* modify by hand.
--
with gmp_c.a_a_mpf_struct;
with Interfaces.C;
package gmp_c.mpf_srcptr is
-- Item
--
subtype Item is gmp_c.a_a_mpf_struct.Pointer;
-- Items
--
type Items is
array (Interfaces.C.size_t range <>) of aliased gmp_c.mpf_srcptr.It... |
arch/ARM/STM32/driver_demos/demo_dac_dma/src/demo_dac_dma.adb | rocher/Ada_Drivers_Library | 192 | 23959 | <gh_stars>100-1000
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- ... |
Task/Pangram-checker/Ada/pangram-checker-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 20589 | <reponame>LaudateCorpus1/RosettaCodeData
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Maps; use Ada.Strings.Maps;
with Ada.Characters.Handling; use Ada.Characters.Handling;
procedure pangram is
function ispangram(txt: String) return Boolean is
(Is_Subset(To_Set(Span => ('a','z')), To_Set(To_Lower(txt)))... |
bios.nasm | fasync/Syndicate | 1 | 7851 | ;; Copyright (c) 2021, <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... |
python_src/other/export/screen_2_4.asm | fjpena/sword-of-ianna-msx2 | 43 | 23956 | <filename>python_src/other/export/screen_2_4.asm
org $0000
; Object types
OBJECT_NONE EQU 0
OBJECT_SWITCH EQU 1
OBJECT_DOOR EQU 2
OBJECT_DOOR_DESTROY EQU 3
OBJECT_FLOOR_DESTROY EQU 4
OBJECT_WALL_DESTROY EQU 5
OBJECT_BOX_LEFT EQU 6
OBJECT_BOX_RIGHT EQU 7
OBJECT_JAR EQU 8
OBJECT_TELEPORTER EQU 9
; Pickable object typ... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/simple_expression_range.ads | ouankou/rose | 488 | 8629 | <reponame>ouankou/rose
package Simple_Expression_Range is
type Constrained_Type is new Integer range 1..10;
end Simple_Expression_Range;
|
libsrc/_DEVELOPMENT/math/integer/z180/l_z180_mulu_32_16x16.asm | Toysoft/z88dk | 0 | 25825 |
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_math
PUBLIC l_z180_mulu_32_16x16
l_z180_mulu_32_16x16:
; multiplication of two 16-bit numbers into a 32-bit product
;
; enter : hl = 16-bit multiplier = x
; de = 16-bit multiplicand = y
;
; exit : dehl = 32-bit product
... |
Cubical/Foundations/Univalence/Universe.agda | dan-iel-lee/cubical | 0 | 17040 | <gh_stars>0
{-# OPTIONS --cubical --no-import-sorts --safe --postfix-projections #-}
open import Cubical.Core.Everything
open import Cubical.Functions.Embedding
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Function
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Pr... |
src/main/fragment/mos6502-common/vbuxx=_byte1_vwum1.asm | jbrandwood/kickc | 2 | 3697 | ldx {m1}+1 |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_21829_1629.asm | ljhsiun2/medusa | 9 | 98635 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %rbp
push %rbx
push %rdi
push %rdx
lea addresses_WT_ht+0xd349, %rdi
nop
nop
nop
nop
nop
dec %rbp
mov (%rdi), %bx
xor %rdi, %rdi
lea addresses_normal_ht+0x6c9, %rdx
nop
nop
nop
nop
nop
cmp %rbp, %rbp
movb (%rdx), %r15b
nop
nop
nop
nop
sub %r1... |
source/nodes/program-nodes-component_definitions.adb | optikos/oasis | 0 | 15598 | <filename>source/nodes/program-nodes-component_definitions.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Component_Definitions is
function Create
(Aliased_Tok... |
courses/fundamentals_of_ada/labs/solar_system/adv_240_tasking_embedded/answers/solar_system-button.ads | AdaCore/training_material | 15 | 2735 | <gh_stars>10-100
package Solar_System.Button is
task Button_Monitor;
end Solar_System.Button;
|
libsrc/_DEVELOPMENT/sound/bit/z80/asm_bit_fx/_bitfx_14.asm | meesokim/z88dk | 0 | 166145 | <reponame>meesokim/z88dk
SECTION smc_sound_bit
PUBLIC _bitfx_14
INCLUDE "clib_target_cfg.asm"
EXTERN asm_bit_open
_bitfx_14:
; Squoink
ld a,230
ld (qi_FR_1 + 1),a
xor a
ld (qi_FR_2 + 1),a
call asm_bit_open
ld b,200
qi_loop:
dec h
jr nz, qi_jump
push af
ld a,(qi_... |
src/core/util-executors.adb | RREE/ada-util | 60 | 9487 | <reponame>RREE/ada-util<gh_stars>10-100
-----------------------------------------------------------------------
-- util-executors -- Execute work that is queued
-- Copyright (C) 2019, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use... |
test/Succeed/fol-theorems/LogicalConstants.agda | asr/apia | 10 | 12486 | <gh_stars>1-10
------------------------------------------------------------------------------
-- Testing the translation of the logical constants
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTI... |
filtros/prewitt_asm.asm | partu18/edge_detection_algorithm_SIMD | 0 | 7201 | <gh_stars>0
; void prewitt_asm (
; unsigned char *src,
; unsigned char *dst,
; int h,
; int w,
; int src_row_size,
; int dst_row_size
; );
section .data
ultimas2WordsNO: DW 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x0000, 0x0000
ultimas2WordsSI: DW 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xF... |
pixy/src/host/pantilt_in_ada/specs/xlocale_h.ads | GambuzX/Pixy-SIW | 1 | 2929 | <filename>pixy/src/host/pantilt_in_ada/specs/xlocale_h.ads
--
-- Copyright (c) 2015, <NAME> <<EMAIL>>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above copyright
-- notice and this permission notice appear in all ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_378_1622.asm | ljhsiun2/medusa | 9 | 85545 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x11209, %rsi
add $11401, %r13
mov $0x6162636465666768, %rbx
movq %rbx, %xmm0
vmovups %ymm0, (%rsi)
cmp $28240, %rbp
lea addresses_UC_ht+0xc00, %r11
n... |
make_puzzle3.als | nishio/learning_alloy | 1 | 4758 | <filename>make_puzzle3.als
enum Person {A, B, C, D, E}
enum Bool {T, F}
enum BoolBool {TT, TF, FT, FF}
abstract sig Constrain{}
sig is_liar extends Constrain {
by: one Person,
who: one Person
}{
by not in who
}
sig is_coward extends Constrain {
by: one Person,
who: one Person
}{
by not in who
}
pred satisfy... |
src/gen-commands.adb | Letractively/ada-gen | 0 | 11221 | <filename>src/gen-commands.adb
-----------------------------------------------------------------------
-- gen-commands -- Commands for dynamo
-- Copyright (C) 2011, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except i... |
awa/plugins/awa-mail/src/awa-mail-components-messages.ads | My-Colaborations/ada-awa | 81 | 23573 | <filename>awa/plugins/awa-mail/src/awa-mail-components-messages.ads
-----------------------------------------------------------------------
-- awa-mail-components-recipients -- Mail UI Recipients
-- Copyright (C) 2012, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (... |
source/nodes/program-nodes-derived_record_extensions.ads | optikos/oasis | 0 | 10160 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Elements.Definitions;
with Program.Elements.Derived_Record_Extensions;
w... |
ada/original_2008/ada-gui/agar-gui-widget-hbox.adb | auzkok/libagar | 286 | 25576 | <gh_stars>100-1000
package body agar.gui.widget.hbox is
package cbinds is
procedure set_homogenous
(box : hbox_access_t;
homogenous : c.int);
pragma import (c, set_homogenous, "agar_gui_widget_hbox_set_homogenous");
procedure set_padding
(box : hbox_access_t;
padding : c... |
sim6502/Grammar/sim6502.g4 | barryw/sim6502 | 9 | 6329 | <reponame>barryw/sim6502<gh_stars>1-10
/*
Copyright (c) 2020 <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 ... |
Interpreter.agda | ahmadsalim/well-typed-agda-interpreter | 10 | 6528 | <reponame>ahmadsalim/well-typed-agda-interpreter
module Interpreter where
open import Data.Char
open import Data.Bool
open import Data.Nat
import Data.Unit as U
open import Data.Product
open import Data.Sum
open import Relation.Binary.PropositionalEquality as PropEq
open import Relation.Nullary.Core
import Data.String... |
programs/oeis/168/A168489.asm | karttu/loda | 1 | 2761 | <filename>programs/oeis/168/A168489.asm
; A168489: Numbers that are congruent to {7,11} mod 12.
; 7,11,19,23,31,35,43,47,55,59,67,71,79,83,91,95,103,107,115,119,127,131,139,143,151,155,163,167,175,179,187,191,199,203,211,215,223,227,235,239,247,251,259,263,271,275,283,287,295,299,307,311,319,323,331,335,343,347,355,359... |
Save EPS from Photoshop with settings.applescript | AlexanderGalen/applescripts | 3 | 2391 | <filename>Save EPS from Photoshop with settings.applescript<gh_stars>1-10
tell application "Adobe Photoshop CS6"
activate
set PSDfilePath to file path of document 1 as string
set CurrentDoc to document 1
set myOptions to {class:EPS save options, preview type:eight bit TIFF, encoding:binary, halftone screen:false, t... |
awa/samples/src/atlas-microblog-modules.adb | Letractively/ada-awa | 7 | 19542 | -----------------------------------------------------------------------
-- atlas-microblog-modules -- Module microblog
-- Copyright (C) 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License... |
FormalAnalyzer/models/apps/ID3SmokeAlarm+.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 3264 | module app_ID3SmokeAlarm
open IoTBottomUp as base
open cap_alarm
open cap_runIn
open cap_smokeDetector
one sig app_ID3SmokeAlarm extends IoTApp {
smoke : one cap_smokeDetector,
runIn : one cap_state,
state : one cap_state,
alarm : one cap_alarm,
} {
rules = r
}
one sig cap_state extends cap_r... |
llvm-gcc-4.2-2.9/gcc/ada/a-chtgke.adb | vidkidz/crossbridge | 1 | 24146 | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
arch/lib/scheme/write_sob_vector.asm | Mosseridan/Compiler-Principles | 0 | 12223 | /* scheme/write_sob_vector.asm
* Take a pointer to a Scheme vector object, and
* prints (to stdout) the character representation
* of that object.
*
* Programmer: <NAME>, 2010
*/
WRITE_SOB_VECTOR:
PUSH(FP);
MOV(FP, SP);
PUSH(R1);
PUSH(R2);
PUSH(IMM('#'));
CALL(PUTCHAR);
MOV(R0, FPARG(0));
PUSH... |
programs/oeis/126/A126026.asm | neoneye/loda | 22 | 15934 | <reponame>neoneye/loda<filename>programs/oeis/126/A126026.asm
; A126026: Conjectured upper bound on area of the convex hull of any edge-to-edge connected system of regular unit hexagons (n-polyhexes).
; 0,1,2,4,5,8,10,13,17,20,24,28,33,38,43,49,55,61,68,75,82,90,97,106,114,123,133,142,152,162,173,184,195,207,219,231,24... |
programs/oeis/036/A036131.asm | neoneye/loda | 22 | 89234 | <filename>programs/oeis/036/A036131.asm
; A036131: a(n) = 2^n mod 67.
; 1,2,4,8,16,32,64,61,55,43,19,38,9,18,36,5,10,20,40,13,26,52,37,7,14,28,56,45,23,46,25,50,33,66,65,63,59,51,35,3,6,12,24,48,29,58,49,31,62,57,47,27,54,41,15,30,60,53,39,11,22,44,21,42,17,34,1,2,4,8,16,32,64,61,55,43,19,38,9,18,36,5,10,20,40,13,26,52... |
1.ToyRISC programs/fibonacci.asm | atpk/ToyRISC | 0 | 26644 | <filename>1.ToyRISC programs/fibonacci.asm<gh_stars>0
.data
n:
10
.text
main:
addi %x0, 65534, %x3
load %x0, $n, %x4
addi %x0, 2, %x5
blt %x4, %x5, final
addi %x0, 1, %x6
store %x6, 0, %x3
subi %x4, 2, %x4
fibonacci:
beq %x0, %x4, final
load %x3, 0, %x6
load %x3, 1, %x7
add %x6, %x7, %x8
subi %x3, 1, %x3... |
cssh.applescript | bmfurtado/iterm2-cssh | 12 | 3142 | <gh_stars>10-100
#!/usr/bin/osascript
-- Launches multiple SSH session
-- completely rewritten but inspired by github:xgdlm/iterm2-cssh
on run argv
set serverList to argv
-- Print help if no servers are given
if (count serverList) = 0
log("usage: iterm2-cssh [user@]hostname ...")
return
end if
se... |
seqinc_prio.asm | eastclo/OS_3 | 0 | 86764 |
_seqinc_prio: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
for (j = 0; j < 1024 * 10; j++)
data[j]++;
}
}
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 ... |
out/min4.adb | FardaleM/metalang | 22 | 20367 | <reponame>FardaleM/metalang<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 min4 is
type stringptr is access all char_array;
procedure PString(s : stringptr... |
univac/src/grammar/smalltalk/Smalltalk.g4 | rickerd/univac | 0 | 2557 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
grammar Smalltalk;
script : sequence ws EOF;
sequence : temps? ws statements? ws;
ws : (SEPARATOR | COMMENT)*;
temps : ws PIPE (ws IDE... |
bootloader/startup.asm | DKrepsky/CC3200-Bootloader | 1 | 242489 | <reponame>DKrepsky/CC3200-Bootloader
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 <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 l... |
programs/oeis/130/A130259.asm | jmorken/loda | 1 | 105155 | ; A130259: Maximal index k of an even Fibonacci number (A001906) such that A001906(k) = Fib(2k) <= n (the 'lower' even Fibonacci Inverse).
; 0,1,1,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_854.asm | ljhsiun2/medusa | 9 | 14005 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r9
push %rax
push %rcx
lea addresses_WT_ht+0x17b98, %rcx
nop
nop
add $35696, %r9
mov (%rcx), %r11
nop
nop
nop
nop
nop
sub $8685, %r11
lea addresses_WC_ht+0x15492, %r15
nop
cmp $40570, %rax
mov (%r15), %cx
nop
nop
nop
add $47392, %r15
... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-rannum.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 19580 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
PRG/objects/1-F.asm | narfman0/smb3_pp1 | 0 | 162228 | <filename>PRG/objects/1-F.asm
.byte $00 ; Unknown purpose
.byte OBJ_PODOBOO, $12, $12
.byte OBJ_PODOBOO, $18, $12
.byte OBJ_PODOBOO, $1F, $12
.byte OBJ_PODOBOO, $27, $11
.byte OBJ_ROTODISCCCLOCKWISE, $38, $15
.byte OBJ_ROTODISCCLOCKWISE, $47, $16
.byte OBJ_PODOBOO, $51, $11
.byte OBJ_PODOBOO, $53, $14
.byte ... |
data/phone/text/wade_overworld.asm | Dev727/ancientplatinum | 28 | 173847 | <reponame>Dev727/ancientplatinum<filename>data/phone/text/wade_overworld.asm
WadeAskNumber1Text:
text "You're awesome!"
line "I like you!"
para "I look for #MON"
line "here every day."
para "When I'm in the"
line "grass, I find all"
cont "kinds of BERRIES."
para "If you'd like,"
line "I'll share some."
pa... |
programs/oeis/232/A232015.asm | neoneye/loda | 22 | 4094 | ; A232015: Expansion of (1-2*x)/((1+2*x)*(1-3*x)).
; 1,-1,5,-1,29,23,197,335,1517,3527,12629,33791,109565,312311,969701,2843567,8661773,25723175,77693813,232032863,698195741,2090392919,6279567365,18821924879,56499329069,169430878343,508426852757,1525012122815,4575573239357
seq $0,91000 ; Number of closed walks of leng... |
code/kernel/kernel.asm | yishiyu/YishiOS | 1 | 99810 | ;========================================
; 内核入口文件
;========================================
; 导入全局变量
extern disp_pos
extern gdt_ptr
extern idt_ptr
extern k_reenter
extern p_proc_ready_head
extern tss
; 导入全局变量结束
;导入c文件函数
extern init_gdt
extern init_interupt
extern irq_table
extern sys_call_table
extern exc... |
eurasia/services4/srvclient/devices/sgx/subtwiddled_eot.asm | shaqfu786/GFX_Linux_DDK | 3 | 164499 | /*****************************************************************************
Name : subtwiddled_eot.asm
Title : USE programs for TQ
Author : PowerVR
Copyright : 2008-2010 by Imagination Technologies Limited. All rights reserved.
No part of this software, either material or conceptual
may be copied ... |
test3.asm | astrellon/moss | 0 | 5256 | <reponame>astrellon/moss<gh_stars>0
; Third test file
#include "stdmath.asm"
; MMU setup
; Sets a 1 to 1 mapping up to 32
mmu_setup:
#define PAGE_TABLE_SIZE 32
MOV r0 0 ; Page table index
mmu_start:
CMP r0 PAGE_TABLE_SIZE
;< MOV @r0 r0
INC r0
< JMP mmu_start
RETURN
; Peripheral setup
perf... |
src/stage1/boot.asm | Cc618/Os2020 | 3 | 98915 | <filename>src/stage1/boot.asm
; Loads the second stage bootloader, switch to protected mode
; Os entry
entry:
; Default drive id
mov byte [defaultDrive], dl
; Setup stack
mov bp, STAGE1_STACK_TOP
mov sp, bp
; Load stage 2 with BIOS
call loadStage2
; Go to Protected Mode
call switchPm
; Procedure which lo... |
HO.asm | Mohamed-94/Group-of-Assembly-Programs-Samples--8086-85-Processors-family- | 16 | 178105 | TITLE SECOND: DISPLAY STRING
.MODEL SMALL
.STACK 100H
.DATA
userMsg DB 'Please enter a number: '
lenUserMsg equ $-userMsg
dispMsg DB 'You have entered: '
lenDispMsg equ $-dispMsg
section .bss
num resb 5
section .text
global main
main:
mov eax,4
mov ebx,1
mov ecx, userMsg ... |
courses/fundamentals_of_ada/labs/solar_system/adv_240_tasking_protected_objects/answers/solar_system-graphics.adb | AdaCore/training_material | 15 | 7177 | with Ada.Real_Time; use Ada.Real_Time;
package body Solar_System.Graphics is
procedure Draw_Body (Object : Body_T; Canvas : Canvas_ID) is
Tail_Color : RGBA_T;
Dimmer : Color_Component_T := 30;
function Dim (C : Color_Component_T) return Color_Component_T is
begin
if C < Dimmer then... |
test/Fail/Issue1384.agda | cruhland/agda | 1,989 | 1836 | <gh_stars>1000+
-- {-# OPTIONS --no-coverage #-}
-- {-# OPTIONS -v tc.cover:20 #-}
open import Common.Bool
open import Common.Equality
_∨_ : Bool → Bool → Bool
a ∨ b = if a then true else b
module Works where
data Term : Bool → Set where
I : Term false
App : ∀ a b c → a ∨ b ≡ c → Term a → Term b → Term c... |
Bank_C/3_gezneg.asm | ndf-zz/fv1testing | 0 | 103258 | ; FV-1 Testing Bank
;
; Check behaviour of FV-1 against documentation
;
; Program 3 : Skip Flags
; POT0 : TESTMODE NEG|ZRO|GEZ
;
; - use pot to choose mode / extra flag: run, zro, gez, neg
; - confirm mode on DACR
; - note: assumes unconditional clr skp ZRO,target working
;
; neg | zro | gez
equ mode0 -0.9 ; m... |
programs/oeis/063/A063081.asm | neoneye/loda | 22 | 103859 | <filename>programs/oeis/063/A063081.asm
; A063081: Dimension of the space of weight 2n cusp forms for Gamma_0( 13 ).
; 0,3,5,7,9,13,13,17,19,21,23,27,27,31,33,35,37,41,41,45,47,49,51,55,55,59,61,63,65,69,69,73,75,77,79,83,83,87,89,91,93,97,97,101,103,105,107,111,111,115
mov $1,$0
mul $0,2
add $0,1
seq $1,63195 ; Dimen... |
blink.asm | volodink/asmtest101 | 1 | 5345 | .equ DDRB, 0x04
.equ PORTB, 0x05
.org 0x0000
reset:
sbi DDRB, 5
main:
sbi PORTB, 5
rcall wait
cbi PORTB, 5
rcall wait
rjmp main
wait:
ldi r16, 1
OUTER_LOOP:
ldi r24, 1
ldi r25, 1
DELAY_LOOP:
adiw r24, 1
brne DELAY_LOOP
dec r16
nop
nop
brne OUTER_LOOP
ret
|
data/mapObjects/PokemonTower4F.asm | AmateurPanda92/pokemon-rby-dx | 9 | 170321 | PokemonTower4F_Object:
db $1 ; border block
db 2 ; warps
warp 3, 9, 0, POKEMON_TOWER_5F
warp 18, 9, 1, POKEMON_TOWER_3F
db 0 ; signs
db 6 ; objects
object SPRITE_MEDIUM, 5, 10, STAY, RIGHT, 1, OPP_CHANNELER, 9
object SPRITE_MEDIUM, 15, 7, STAY, DOWN, 2, OPP_CHANNELER, 10
object SPRITE_MEDIUM, 14, 12, STAY, ... |
src/coreclr/nativeaot/Runtime/arm/GetThread.asm | pyracanda/runtime | 9,402 | 16720 | ;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
#include "AsmMacros.h"
TEXTAREA
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; RhpGetThread
;;
;;
;; I... |
awa/plugins/awa-blogs/src/awa-blogs.ads | twdroeger/ada-awa | 0 | 10010 | -----------------------------------------------------------------------
-- awa-blogs -- Blogs module
-- Copyright (C) 2011, 2014, 2015, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License... |
archive/emails/mail.scpt | harrygxu/harryxu.github.io | 0 | 3043 | <reponame>harrygxu/harryxu.github.io<filename>archive/emails/mail.scpt<gh_stars>0
#!/usr/bin/osascript
on run argv
set msgSubject to "Your SoCal PLS 2015 talk proposal"
set msgFile to item 1 of argv
set email to (do shell script ("basename " & (msgFile as text)))
set filename to (do shell script "pwd") & "/"... |
restartApp.applescript | rcmdnk/AppleScript | 11 | 898 | <reponame>rcmdnk/AppleScript<filename>restartApp.applescript
property DEF_APP_NAME : "HyperSwitch"
property DEF_DIR : "/Applications"
on restartApp(pars)
set {appName, dir} to {DEF_APP_NAME, DEF_DIR}
try
set appName to appName of pars
end try
try
set dir to dir of pars
end try
if application appName is r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.