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 |
|---|---|---|---|---|
subprojects/xcfa/cat/src/main/antlr/Cat.g4 | s0mark/theta | 11 | 7907 | grammar Cat;
mcm : 'MCM'; |
programs/oeis/126/A126964.asm | karttu/loda | 0 | 91166 | <filename>programs/oeis/126/A126964.asm
; A126964: a(n) = 2*n*(6*n-1).
; 0,10,44,102,184,290,420,574,752,954,1180,1430,1704,2002,2324,2670,3040,3434,3852,4294,4760,5250,5764,6302,6864,7450,8060,8694,9352,10034,10740,11470,12224,13002,13804,14630,15480,16354,17252,18174,19120,20090,21084
mov $1,$0
mul $0,12
sub $0,2
mu... |
alloy4fun_models/trashltl/models/4/ZnvbN4SERi4H2dFdW.als | Kaixi26/org.alloytools.alloy | 0 | 2479 | open main
pred idZnvbN4SERi4H2dFdW_prop5 {
some File and some Trash and eventually no Trash
}
pred __repair { idZnvbN4SERi4H2dFdW_prop5 }
check __repair { idZnvbN4SERi4H2dFdW_prop5 <=> prop5o } |
oeis/072/A072547.asm | neoneye/loda-programs | 11 | 88300 | ; A072547: Main diagonal of the array in which first column and row are filled alternatively with 1's or 0's and then T(i,j) = T(i-1,j) + T(i,j-1).
; 1,0,2,6,22,80,296,1106,4166,15792,60172,230252,884236,3406104,13154948,50922986,197519942,767502944,2987013068,11641557716,45429853652,177490745984,694175171648,271757829... |
src/app.adb | egilhh/Futures-in-Ada | 1 | 1351 | <reponame>egilhh/Futures-in-Ada<gh_stars>1-10
with Ada.Text_IO;
with Futures;
package body App is
procedure Show_Search
(Self : in out Object;
Target : String )
is
function Callable_String
return String
is
begin
-- delay 10.0; -- for triggering timeout...
... |
test/asset/agda-stdlib-1.0/Relation/Binary/Indexed/Homogeneous.agda | omega12345/agda-mode | 0 | 9963 | <filename>test/asset/agda-stdlib-1.0/Relation/Binary/Indexed/Homogeneous.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Homogeneously-indexed binary relations
--
-- Indexed structures are laid out in a similar manner as to those
-- in Relation.Binary. Th... |
3-mid/impact/source/3d/dynamics/impact-d3-motion_state-default.ads | charlie5/lace | 20 | 20970 | with impact.d3.Transform;
package impact.d3.motion_State.default
--
-- The impact.d3.motion_State.default provides a common implementation to synchronize world transforms with offsets.
--
is
type Item is new impact.d3.motion_State.Item with
record
m_graphicsWorldTrans,
m_centerOfMassOff... |
oeis/052/A052561.asm | neoneye/loda-programs | 11 | 13209 | ; A052561: a(n) = (1 + 2^n) * n!.
; Submitted by <NAME>
; 2,3,10,54,408,3960,46800,650160,10362240,186157440,3719520000,81789523200,1962469555200,51017981414400,1428416301312000,42851181364992000,1371216880889856000,46621018262827008000,1678350255088066560000,63777188048246120448000,2551085089027836641280000,1071455226... |
test/asset/agda-stdlib-1.0/Data/Product/Relation/Binary/Lex/Strict.agda | omega12345/agda-mode | 0 | 12109 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Lexicographic products of binary relations
------------------------------------------------------------------------
-- The definition of lexicographic product used here is suitable if
-- the left-hand relation i... |
architecture/design/logisim/test/interrupt_instructions.asm | sabertazimi/hust-lab | 29 | 169572 | <reponame>sabertazimi/hust-lab<gh_stars>10-100
# spec for mtc0
addi $s0, $zero, 233
mtc0 $s0, $12
addi $s0, $zero, 234
mtc0 $s0, $13
addi $s0, $zero, 235
mtc0 $s0, $14
# spec for mfc0
addi $s0, $zero, 0
mfc0 $s0, $12
mfc0 $s0, $13
mfc0 $s0, $14
|
src/firmware-tests/Platform/PowerManagementDummies.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 95639 | <reponame>pete-restall/Cluck2Sesame-Prototype
#include "Platform.inc"
#include "TestDoubles.inc"
radix decimal
udata
global powerManagementFlags
global fastClockCount
powerManagementFlags res 1
fastClockCount res 1
PowerManagementDummies code
end
|
LibraBFT/Yasm/Yasm.agda | cwjnkins/bft-consensus-agda | 0 | 2651 | <gh_stars>0
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2021 Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Prelude
open import LibraBFT.Base.PKCS
open im... |
04/fill/Fill.asm | weezybusy/Nand2Tetris-solutions | 0 | 85144 | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by <NAME> Schocken, MIT Press.
// File name: projects/04/Fill.asm
// Runs an infinite loop that listens to the keyboard input.
// When a key is pressed (any key), the program blackens the screen,
// i.e. writes "black" ... |
parsers-generic_source-keywords.adb | jrcarter/Ada_GUI | 19 | 30690 | -- --
-- procedure Copyright (c) <NAME> --
-- Parsers.Generic_Source.Keywords Luebeck --
-- Interface Summer, 2005 --
-- ... |
ADL/drivers/stm32h743/stm32-opamp.adb | JCGobbi/Nucleo-STM32H743ZI | 0 | 19160 | with Ada.Real_Time;
package body STM32.OPAMP is
------------
-- Enable --
------------
procedure Enable (This : in out Operational_Amplifier) is
use Ada.Real_Time;
begin
This.CSR.OPAEN := True;
-- Delay 4 us for OPAMP startup time. See DS12110 Rev 8 chapter 7.3.27
-- Operatio... |
archive/agda-3/src/AgdaIssue2557.agda | m0davis/oscar | 0 | 7384 | <filename>archive/agda-3/src/AgdaIssue2557.agda
{-# OPTIONS --allow-unsolved-metas #-}
module AgdaIssue2557 where
record Superclass : Set₁ where field super : Set
open Superclass ⦃ … ⦄ public
record Subclass : Set₁ where
field
⦃ iSuperclass ⦄ : Superclass
sub : super
open Subclass
postulate A : Set
ins... |
ee/hot/remv.asm | olifink/smsqe | 0 | 22440 | ; Function to remove HOTKEY V2.00 1988 <NAME> QJUMP
section hotkey
xdef hot_remv
xref hot_thar
xref hot_rter
xref hk_remv
xref ut_gxnm1
;+++
; SuperBASIC Remove hotkey item
; error = HOT_REMV (key or name)
;---
hot_remv
jsr ut_g... |
asm/loader.asm | ddjohn/mordana | 0 | 98126 | loadKernel:
mov bx, KERNEL_ADDRESS
mov dh, 10
mov dl, [BOOT_DRIVE]
call .loadDisk
ret
.loadDisk:
push dx
mov ah, 0x02
mov al, dh
mov ch, 0x00
mov cl, 0x02
mov dh, 0x00
int 0x13
jc .error
pop dx
cmp dh, al
jne .errorSectorsNotSame
ret
.error:
mov si, STRING_DISK_ERROR
call printString
mov dx, a... |
agda-stdlib-0.9/README/Record.agda | qwe2/try-agda | 1 | 4937 | <reponame>qwe2/try-agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- An example of how the Record module can be used
------------------------------------------------------------------------
-- Taken from <NAME>'s paper "Dependently Typed Records in Type
--... |
hw5/danielsawyer-hw5-string_match.asm | sawyermade/architecture | 16 | 178985 | <filename>hw5/danielsawyer-hw5-string_match.asm
.data
getstr: .asciiz "\nEnter a string of at most 100 chars: "
getchar: .asciiz "\nEnter a char: "
get2char: .asciiz "\nEnter a string of two chars: "
printo1: .asciiz "\nNumber of occurrences of "
printo2: .asciiz " = "
repeatstr: .asciiz "\nRepeat (Y/N): "
str: ... |
etude/etude25.als | nishio/learning_alloy | 1 | 4505 | <filename>etude/etude25.als
run {
some rel: Int -> Int {
rel = (1 -> 2) + (2 -> 3) + (2 -> 4)
}
}
|
New Reminder - Due in X hours.applescript | EvanLovely/clipboard-actions | 9 | 697 | <reponame>EvanLovely/clipboard-actions
# Use : to seperate todo's title from hours from now due. Example: "title: 3" make a todo called "title" due in 3 hours.
set _input to the clipboard
set {astid, AppleScript's text item delimiters} to {AppleScript's text item delimiters, ": "}
set {_name, _hours} to {text item 1 of... |
test/link/high-low-a.asm | jmle/rgbds | 522 | 162082 | ldhilo : MACRO
ld HIGH(\1),LOW(\2)
ENDM
SECTION "r0", ROM0[$0]
ld HIGH(af),a
ld HIGH(bc),LOW(bc)
ld LOW(bc),HIGH(bc)
ld HIGH(de),LOW(de)
ld LOW(de),HIGH(de)
ldhilo hl, hl
ld LOW(hl),HIGH(hl)
db HIGH(label+$AB)
db LOW(label+$AB)
db HIGH($1234)
db LOW($1234)
SECTION "o",OAM
DS $10
label:
|
gcc-gcc-7_3_0-release/gcc/ada/a-dispat.ads | best08618/asylo | 7 | 29336 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
theorems/cw/cohomology/cochainequiv/FirstCoboundaryAbstractDefs.agda | timjb/HoTT-Agda | 0 | 8906 | <filename>theorems/cw/cohomology/cochainequiv/FirstCoboundaryAbstractDefs.agda
{-# OPTIONS --without-K --rewriting #-}
open import HoTT renaming (pt to ⊙pt)
open import homotopy.Bouquet
open import homotopy.FinWedge
open import homotopy.LoopSpaceCircle
open import homotopy.SphereEndomorphism
open import groups.SphereE... |
oeis/135/A135466.asm | neoneye/loda-programs | 11 | 83842 | <reponame>neoneye/loda-programs
; A135466: a(n) = (2*n-8)^2 * 2^(n-3).
; 8,9,8,4,0,16,128,576,2048,6400,18432,50176,131072,331776,819200,1982464,4718592,11075584,25690112,58982400,134217728,303038464,679477248,1514143744,3355443200,7398752256,16240345088,35500589056,77309411328,167772160000,362924736512,782757789696,16... |
Rings/Ideals/Definition.agda | Smaug123/agdaproofs | 4 | 8520 | {-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Groups.Lemmas
open import Groups.Definition
open import Groups.Subgroups.Definition
open import Setoids.Setoids
open import Sets.EquivalenceRelations
open import Rings.Definition
open import Agda.Primitive using (Level; lzero; ... |
open_terminal_here.scpt | amjith/zazu-open-terminal | 6 | 1997 | <filename>open_terminal_here.scpt
set results to ""
try
tell application "Finder" to set results to POSIX path of (target of window 1 as alias)
on error
beep
end try
results
tell application "Terminal"
activate
set currentTab to do script "cd '" & results & "'"
end tell
|
tutorial/week6/problem3/src/main/mc/parser/MC.g4 | khoidohpc/ppl-course | 2 | 4293 | grammar MC;
@lexer::header {
from lexererr import *
}
@lexer::members {
def emit(self):
tk = self.type
if tk == self.UNCLOSE_STRING:
result = super().emit();
raise UncloseString(result.text);
elif tk == self.ILLEGAL_ESCAPE:
result = super().emit();
raise IllegalEscap... |
src/common/keccak-types.ads | damaki/libkeccak | 26 | 1090 | -------------------------------------------------------------------------------
-- Copyright (c) 2019, <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:
-- * Redistributions of s... |
applescript/left.applescript | jeremy5189/Sensortag-OSX-Remote | 1 | 4154 | <filename>applescript/left.applescript
tell application "System Events"
key code 123
end tell |
agda/hott/core/sigma.agda | piyush-kurur/hott | 0 | 5010 | {-# OPTIONS --without-K #-}
-- This module implements the dependent Σ-type.
module hott.core.sigma where
open import hott.core.universe
record Σ {ℓ₀ ℓ₁}
{A : Type ℓ₀}
(B : A → Type ℓ₁) : Type (ℓ₀ ⊔ ℓ₁) where
constructor _,_
field
proj₁ : A
proj₂ : B proj₁
-- The product type is just t... |
src/main/antlr/com/logicmint/criteriaparser/Criteria.g4 | nickebbutt/criteriaparser | 0 | 6589 | grammar Criteria; // Define a grammar called Hello
@header {
package com.logicmint.criteriaparser;
}
expression :
'(' expression ')' # ParenthesisedExpression
| condition # ConditionExpression
| expression AND expression # AndExpression
| expression O... |
target/cos_117/disasm/iop_overlay1/DDIAG.asm | jrrk2/cray-sim | 49 | 172781 | <gh_stars>10-100
0x0000 (0x000000) 0x2118- f:00020 d: 280 | A = OR[280]
0x0001 (0x000002) 0x1407- f:00012 d: 7 | A = A + 7 (0x0007)
0x0002 (0x000004) 0x2908- f:00024 d: 264 | OR[264] = A
0x0003 (0x000006) 0x3108- f:00030 d: 264 | A = (OR[264]) ... |
programs/oeis/166/A166728.asm | karttu/loda | 1 | 164875 | ; A166728: Positive integers with English names ending in "x".
; 6,26,36,46,56,66,76,86,96,106,126,136,146,156,166,176,186,196,206,226,236,246,256,266,276,286,296,306,326,336,346,356,366,376,386,396,406,426,436,446,456,466,476,486,496,506,526,536,546,556,566,576,586,596
mov $1,$0
mul $1,10
add $1,8
div $1,9
mul $1,10
... |
smsq/java/host.asm | olifink/smsqe | 0 | 87441 | <gh_stars>0
; SMSQmulator Host module V 1.02 (c) <NAME> 2012
;
; this is the very start of the SMSQE binary
; based on
; SMSQ GOLD Card Host module v1.01
; 2003-10-05 1.01 Fixed copy problem that could hang SMSQ/E later (MK)
section host
include 'dev8_keys_qdos_sms'
include 'dev8_keys_stella_bl'
include 'dev8_... |
archive/agda-3/src/Oscar/Class/Smap.agda | m0davis/oscar | 0 | 11027 | <filename>archive/agda-3/src/Oscar/Class/Smap.agda
open import Oscar.Prelude
open import Oscar.Class
open import Oscar.Class.Surjection
open import Oscar.Data.Proposequality
module Oscar.Class.Smap where
open import Oscar.Class.Hmap public
module Smap
{𝔵₁ 𝔵₁'} {𝔛₁ : Ø 𝔵₁} {𝔛₁' : Ø 𝔵₁'}
{𝔵₂ 𝔵₂'} {𝔛₂ : Ø... |
regtests/swagger-tests.adb | jquorning/swagger-ada | 17 | 20712 | -----------------------------------------------------------------------
-- swagger-tests -- Unit tests for REST clients
-- Copyright (C) 2018, 2020, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance wit... |
demo/adainclude/s-mufalo.ads | e3l6/SSMDev | 1 | 10397 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
alloy4fun_models/trainstlt/models/4/ANb4ZD43cDiybhs7G.als | Kaixi26/org.alloytools.alloy | 0 | 4686 | open main
pred idANb4ZD43cDiybhs7G_prop5 {
all t:Train {
t.pos in Exit => Train' = Train - t
t.pos in (Track - Exit) => {
one tk:((t.pos).prox) | t.pos' = tk
}
}
}
pred __repair { idANb4ZD43cDiybhs7G_prop5 }
check __repair { idANb4ZD43cDiybhs7G_prop5 <=> prop5o } |
oeis/026/A026676.asm | neoneye/loda-programs | 11 | 86556 | ; A026676: a(n) = T(n, floor(n/2)), T given by A026670.
; Submitted by <NAME>(w1)
; 1,1,3,4,11,16,43,65,173,267,707,1105,2917,4597,12111,19196,50503,80380,211263,337284,885831,1417582,3720995,5965622,15652239,25130844,65913927,105954110,277822147,447015744,1171853635,1886996681,4945846997,7969339643,20884526283,3367006... |
ErrorHandler.asm | DevEd2/HokeyPokey-GB | 0 | 84943 | ; ================================================================
; Error handler
; TO USE: Include this file anywhere in the Home bank then
; add a call to ErrorHandler to RST_38
; ================================================================
ErrorHandler:
push af
xor a
ld [DoHiColor],a
ldh [rSCY],a... |
programs/oeis/153/A153797.asm | karttu/loda | 1 | 85625 | ; A153797: 7 times octagonal numbers: a(n) = 7*n*(3*n-2).
; 0,7,56,147,280,455,672,931,1232,1575,1960,2387,2856,3367,3920,4515,5152,5831,6552,7315,8120,8967,9856,10787,11760,12775,13832,14931,16072,17255,18480,19747,21056,22407,23800,25235,26712,28231,29792,31395,33040,34727,36456,38227,40040,41895,43792,45731,47712,49... |
data/radio/oaks_pkmn_talk_routes.asm | Dev727/ancientplatinum | 28 | 179072 | ; Oak's Pokémon Talk will list wild Pokémon on these maps.
OaksPKMNTalkRoutes:
map_id ROUTE_29
map_id ROUTE_46
map_id ROUTE_30
map_id ROUTE_32
map_id ROUTE_34
map_id ROUTE_35
map_id ROUTE_37
map_id ROUTE_38
map_id ROUTE_39
map_id ROUTE_42
map_id ROUTE_43
map_id ROUTE_44
map_id ROUTE_45
map_id ROUTE_36
m... |
src/toml-generic_dump.ads | pmderodat/ada-toml | 19 | 11927 | generic
type Output_Stream (<>) is limited private;
-- Stream of bytes
with procedure Put (Stream : in out Output_Stream; Bytes : String) is <>;
-- Write all Bytes in Stream
procedure TOML.Generic_Dump
(Stream : in out Output_Stream;
Value : TOML_Value)
with Preelaborate, Pre => Value.Kind = TO... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1875.asm | ljhsiun2/medusa | 9 | 3970 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x19d63, %rsi
lea addresses_UC_ht+0x7d63, %rdi
clflush (%rdi)
cmp %r12, %r12
mov $118, %rcx
rep movsq
add $47234, %rsi
lea addresses_A_h... |
tools/verdict-back-ends/verdict-bundle/verdict-lustre-translator/src/main/antlr4/com/ge/verdict/lustre/Lustre.g4 | Syrupz-UO/VERDICT | 22 | 622 | grammar Lustre;
program
: (include | typeDecl | constDecl | node | contractNode | importedNode)* EOF
;
include returns [java.io.File includeFile, com.ge.verdict.lustre.LustreParser.ProgramContext includeProgramContext]
: 'include' STRING ';'?
;
typeDecl
: 'type' oneTypeDecl+
;
oneTypeDecl
: ID ... |
Lab 2 Inputting/Lab2-2.X/main.asm | johannesunana/Microprocessor-Lab | 0 | 7962 | <reponame>johannesunana/Microprocessor-Lab
#include "p16f84a.inc"
; CONFIG
; __config 0x3FFA
__CONFIG _FOSC_HS & _WDTE_OFF & _PWRTE_OFF & _CP_OFF
cblock 0x0C
DELAY1
DELAY2
endc
org 0x00
start
bsf STATUS, RP0
bsf TRISA, TRISA0
clrw
movlw 0x00
and... |
hello.asm | YingkunZhou/i386-test | 0 | 96089 | %define IMM8 0xff
%define IMM16 0xffff
%define IMM32 0xffffffff
default rel
global _start
section .text
RET0:
ret
PUSH0:
push rax
POP0:
pop rax
ADD0:
add rax, 0xffffff
REG0:
push ax
REG1:
push rcx
REG2:
push rdx
REG2_:
push dx
REG3:
push rbx
REG4:
push rsi
REG5:
push rdi
REG6:
... |
tools/DOSBox-0.74Win/FSysFAT/avt/p1_asm/X1_Begin/P4.asm | cyberitsec/antivirus | 1 | 2224 | <reponame>cyberitsec/antivirus<filename>tools/DOSBox-0.74Win/FSysFAT/avt/p1_asm/X1_Begin/P4.asm
;Suma elemente vector in care se evita un salt conditionat (jz...in locul lui a fost pus jnz et1; si jmp final) mai mare de 127 sau -126 bytes
.model small
.data
sum dw ?
tab dw 2,7,15,20
.code
start:
mov ax,@da... |
Working Disassembly/sonic3k.constants.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 0 | 97254 | <filename>Working Disassembly/sonic3k.constants.asm
; Equates section - names for variables
; ---------------------------------------------------------------------------
; Object Status Table offsets
; ---------------------------------------------------------------------------
; universally followed object convention... |
dma/hdma_halt/main.asm | AntonioND/gbc-hw-tests | 6 | 24268 |
INCLUDE "hardware.inc"
INCLUDE "header.inc"
SECTION "var",BSS
ram_ptr: DS 2
SECTION "Main",HOME
;--------------------------------------------------------------------------
;- Main() -
;--------------------------------------------------------... |
Asmt6/Asmt6_2.asm | wstern1234/COMSC-260 | 0 | 246076 | <gh_stars>0
; Asmt6_2.asm - Write a sequence of instructions that shift three memory words to the left by 1 bit position.
INCLUDE Irvine32.inc
.data
wordArray WORD 810Dh, 0C064h,93ABh
.code
main PROC
shr [wordArray + 2], 1
rcr [wordArray + 1], 1
rcr [wordArray], 1
INVOKE ExitProcess, 0
main ... |
oeis/122/A122368.asm | neoneye/loda-programs | 11 | 21170 | <reponame>neoneye/loda-programs
; A122368: Dimension of 4-variable non-commutative harmonics (twisted derivative). The dimension of the space of non-commutative polynomials in 4 variables which are killed by all symmetric differential operators (where for a monomial w, d_{xi} ( xi w ) = w and d_{xi} ( xj w ) = 0 for i/... |
src/compiling/ANTLR/grammar/TaskDeclarations.g4 | jecassis/VSCode-SystemVerilog | 75 | 4241 | <gh_stars>10-100
grammar TaskDeclarations;
import BlockItemDeclarations;
task_declaration : 'task' ( lifetime )? task_body_declaration ;
task_body_declaration : ( interface_identifier '.' | class_scope )? task_identifier ';'
( tf_item_declaration )* ( statement_or_null )* 'endtask' ( ':' task_identifier )?
| ( i... |
llvm-gcc-4.2-2.9/gcc/ada/a-wwunio.ads | vidkidz/crossbridge | 1 | 823 | <reponame>vidkidz/crossbridge
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
lib/am335x_sdk/ti/csl/arch/a15/V1/mmu_a15_gcc.asm | brandonbraun653/Apollo | 2 | 8789 | @
@ Copyright (c) 2015, Texas Instruments Incorporated
@
@ 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 retain the above copyright
@ notice, this list of conditions a... |
library/fmGUI_ManageSecurity/fmGUI_ManageSecurity_AccessRecord_OpenCalc.applescript | NYHTC/applescript-fm-helper | 1 | 821 | <reponame>NYHTC/applescript-fm-helper<filename>library/fmGUI_ManageSecurity/fmGUI_ManageSecurity_AccessRecord_OpenCalc.applescript<gh_stars>1-10
-- fmGUI_ManageSecurity_AccessRecord_OpenCalc({})
-- <NAME>, NYHTC
-- open calc box ( or field-level access ) for the currently selected table of the record-access window in m... |
libtool/src/gmp-6.1.2/mpn/x86_64/coreihwl/aorsmul_1.asm | kroggen/aergo | 278 | 84417 | dnl AMD64 mpn_addmul_1 and mpn_submul_1 optimised for Intel Haswell.
dnl Contributed to the GNU project by <NAME>.
dnl Copyright 2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the t... |
test/Succeed/Issue3407.agda | cruhland/agda | 1,989 | 7376 | <filename>test/Succeed/Issue3407.agda
data ⊥ : Set where
record ⊤ : Set where
data Bool : Set where
false : Bool
true : Bool
True : Bool → Set
True false = ⊥
True true = ⊤
Foo : (b : Bool) → True b → Set
Foo true _ = ⊤
-- The problem rises because I have removed this impossible case.
-- Foo false ()
test... |
Kernel/drivers/asm/readkey.asm | agustinmorantes/TPE2SO | 0 | 2744 | GLOBAL readKeyRaw
GLOBAL readKeyPoll
readKeyRaw:
mov rax,0
in al,0x64
and al,0x01
cmp al,0
jne .read
mov rax,0
ret
.read:
in al,0x60
ret
readKeyPoll:
mov rax,0
.loop:
in al,0x64
and al,0x01
cmp al,0
je .loop
in al,0x60
ret
|
Examples/system/bootloader16/kernel.asm | agguro/linux-nasm | 6 | 165062 | ;name: kernel.asm
;
;description: This is the "kernel" file which will be loaded by the bootloader.
; For the sake of simplicity it just displays a message on the screen.
; This "kernel" can on the other hand start memory management routines, loads
; a command p... |
test/Succeed/ImportWarningsB.agda | bennn/agda | 0 | 4640 | <reponame>bennn/agda
module ImportWarningsB where
-- all of the following files have warnings, which should be displayed
-- when loading this file
import Issue1988
import Issue2243
import Issue708quote
import OldCompilerPragmas
import RewritingEmptyPragma
import Unreachable
-- this warning will be ignored
{-# REWRIT... |
src/lib/math/fabs.asm | germix/sanos | 57 | 16171 | ;-----------------------------------------------------------------------------
; fabs.asm - floating point absolute value
; Ported from <NAME>'s free C Runtime Library
;-----------------------------------------------------------------------------
SECTION .text
global fabs
... |
programs/oeis/186/A186099.asm | neoneye/loda | 22 | 21429 | ; A186099: Sum of divisors of n congruent to 1 or 5 mod 6.
; 1,1,1,1,6,1,8,1,1,6,12,1,14,8,6,1,18,1,20,6,8,12,24,1,31,14,1,8,30,6,32,1,12,18,48,1,38,20,14,6,42,8,44,12,6,24,48,1,57,31,18,14,54,1,72,8,20,30,60,6,62,32,8,1,84,12,68,18,24,48,72,1,74,38,31,20,96,14,80,6,1,42,84,8,108,44,30,12,90,6,112,24,32,48,120,1,98,57,... |
test/asset/agda-stdlib-1.0/Data/Fin/Substitution/List.agda | omega12345/agda-mode | 0 | 2286 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Application of substitutions to lists, along with various lemmas
------------------------------------------------------------------------
-- This module illustrates how Data.Fin.Substitution.Lemmas.AppLemmas
-- ... |
Mail-archive/archive.scpt | cynikl/mac-scripts | 0 | 4213 | <filename>Mail-archive/archive.scpt
-- based on
-- http://support.indev.ca/kb/mao-advanced-techniques/applescript-to-archive-old-messages-in-current-mailbox
set DestinFolderName to "Archive" -- mailbox to move messages to. If the account of a specific message does not have such a mailbox, no action will occur.
set Ar... |
grammars/CIFLexer.g4 | Sylvan-Materials/cifio | 0 | 886 | lexer grammar CIFLexer;
DATA_ : [Dd] [Aa] [Tt] [Aa] Underscore ->pushMode(BlockHeadingMode);
LOOP_ : Eol [Ll] [Oo] [Oo] [Pp] Underscore ;
SAVE_ : Eol [Ss] [Aa] [Vv] [Ee] Underscore;
Comments : Pound (OrdinaryChar|WhiteSpace|Dash|Double_Quote | Pound | Single_Quote | Semi | LBracket | RBracket)*;
Tag : Eol Underscore... |
src/SingleSorted/Example.agda | cilinder/formaltt | 21 | 10792 | <reponame>cilinder/formaltt
module SingleSorted.Example where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl)
open import Data.Product using (_×_; proj₁; proj₂; <_,_>; ∃; ∃-syntax; _,_)
import Function using (_∘_)
open import SingleSorted.AlgebraicTheory
open import Categories.Category.Ins... |
data/phone/text/kenji_caller.asm | Dev727/ancientplatinum | 28 | 105497 | UnknownText_0x66dab:
text "Anyway, we'll chat"
line "again!"
done
UnknownText_0x66dc5:
text "Are you still on"
line "your journey?"
para "I remain dedicated"
line "to my training."
para "Oooooaaarrrgh!"
done
UnknownText_0x66e17:
text "I'm in training"
line "now. I apologize,"
para "but call me back"
l... |
source/nodes/program-nodes-identifiers-set_defining_name.adb | reznikmm/gela | 0 | 17055 | <reponame>reznikmm/gela
-- SPDX-FileCopyrightText: 2020-2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
procedure Program.Nodes.Identifiers.Set_Defining_Name
(Self : not null Program.Elements.Identifiers.Identifier_Access;
Value : Program.E... |
modules/int_temp0.asm | antuniooh/assembly-calculator | 2 | 178222 | <filename>modules/int_temp0.asm<gh_stars>1-10
org 0003h
INT_TEMP0:
MOV A, 70h
CALL INCREMENT_CURSOR
ACALL SUM
CLR IE0
MOV R0, #0Ch
MOV A, #50h
ADD A, R0
MOV R0, A
MOV A, @R0
ACALL CONTINUECODE
|
programs/oeis/131/A131669.asm | neoneye/loda | 22 | 160252 | ; A131669: Odd digits followed by positive even digits.
; 1,3,5,7,9,2,4,6,8,1,3,5,7,9,2,4,6,8,1,3,5,7,9,2,4,6,8,1,3,5,7,9,2,4,6,8,1,3,5,7,9,2,4,6,8,1,3,5,7,9,2,4,6,8,1,3,5,7,9,2,4,6,8,1,3,5,7,9,2,4,6,8,1,3,5,7,9,2,4,6,8
mul $0,2
mod $0,9
add $0,1
|
ADL/devices/stm32-rcc.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 23716 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- ... |
src/libYARP_dev/56f807/cotroller_dc/Support/dispatch_x0.asm | robotology-legacy/yarp1 | 0 | 15072 | <filename>src/libYARP_dev/56f807/cotroller_dc/Support/dispatch_x0.asm
;=============================================================
;=== FILE: dispatch_x0.asm
;===
;=== Copyright (c)1998 Metrowerks, Inc. All rights reserved.
;=============================================================
; Recommended tab stop = 8.
;... |
test/Succeed/DefinitionalEquality.agda | shlevy/agda | 1,989 | 17017 | <reponame>shlevy/agda
module DefinitionalEquality where
data _==_ {A : Set}(x : A) : A -> Set where
refl : x == x
subst : {A : Set}(P : A -> Set){x y : A} -> x == y -> P y -> P x
subst {A} P refl p = p
data Nat : Set where
zero : Nat
suc : Nat -> Nat
_+_ : Nat -> Nat -> Nat
zero + m = m
suc n + m = suc (n ... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_338.asm | ljhsiun2/medusa | 9 | 165919 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x18945, %rsi
lea addresses_WC_ht+0x7cd7, %rdi
nop
nop
nop
nop
nop
inc %rax
mov $34, %rcx
rep movsb
nop
nop
nop
and $32312, %rdi
lea addresses_WT_ht+0... |
picovm/asm-src/logical-instructions.asm | seanmcelroy/picovm | 0 | 13473 | <reponame>seanmcelroy/picovm
section .text
global _start ; must be declared for using gcc
_start: ; tell linker entry point
mov ax, 8h ; getting 8 in the ax (EVEN)
and ax, 1 ; and ax with 1
jz evnn
mov eax, 4 ; system call... |
Appl/WClock/wcMain.asm | steakknife/pcgeos | 504 | 164476 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Palm Computing, Inc. 1992 -- All Rights Reserved
PROJECT: PEN GEOS
MODULE: World Clock
FILE: wcMain.asm
AUTHOR: <NAME>, Oct 15, 1992
REVISION HISTORY:
Name Date Description
---... |
PRG/levels/Airship/W2A.asm | narfman0/smb3_pp1 | 0 | 82858 | <gh_stars>0
; Original address was $AEAB
; World 2 Airship
.word W2Airship_BossL ; Alternate level layout
.word W2Airship_BossO ; Alternate object layout
.byte LEVEL1_SIZE_08 | LEVEL1_YSTART_0B0
.byte LEVEL2_BGPAL_01 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_80
.byte LEVEL3_TILESET_10 | LEVEL3_VSCROLL_LOCKLOW | LEVEL3_PI... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_1324.asm | ljhsiun2/medusa | 9 | 93861 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_1324.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xe2ba, %rsi
lea addresses_normal_ht+0x1b342, %rdi
nop
cmp %r11, %r11
mov ... |
source/main.asm | ladystarbreeze/mode7demo | 1 | 163678 | ; mode7demo - GBA color demo using Mode 7.
; Copyright (c) 2020 <NAME>
format binary as 'gba'
include '../lib/header.asm'
include '../lib/memory.inc'
include '../lib/mmio.inc'
.main:
; copy bitmap to EWRAM
adr r0, .dma_config1
ldmia r0, {r0-r3}
stmia r0, {r1-r3}
; wait for VBLANK
mov r1, MMIO
.... |
day25/day25.adb | thorstel/Advent-of-Code-2018 | 2 | 10549 | with Ada.Assertions; use Ada.Assertions;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Containers.Ordered_Maps;
with Ada.Containers.Vectors;
procedure Day25 is
generic
type T is private;
with function "<" (Left, Right : T) return Boolean;
package Disjoint_Sets is
procedure Insert (Element : T... |
UPC Microcontroladores 2019-2/Semana 1/ls5a-semana1-not.X/latcheador.asm | tocache/picomones | 5 | 87732 | ;Este es un comentario
;Programa hecho por <NAME>
;UPC San Miguel
;16 de agosto del 2019
list p=18f4550 ;Modelo del microcontrolador
#include <p18f4550.inc> ;Libreria de nombre de registros
;Aqui deben de declararse los bits de configuracion (directivas de preprocesador)
CONFIG FOSC =... |
OSSOURCE/except.asm | mooseman/smallOS | 3 | 85798 | <gh_stars>1-10
; MMURTL Operating System Source Code
; Written by <NAME>
;
; This code is released to the public domain.
; "Share and enjoy....." ;)
;
.DATA
.INCLUDE MOSEDF.INC
.INCLUDE TSS.INC
.INCLUDE JOB.INC
EXTRN DbgpTSSSave DD
EXTRN dbgFAULT DD
EXTRN dbgFltErc DD
EXTRN dbgOldEIP ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_5192_447.asm | ljhsiun2/medusa | 9 | 169224 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xa57a, %rdx
nop
nop
add $2266, %r12
movups (%rdx), %xmm0
vpextrq $1, %xmm0, %r14
nop
nop
nop
nop
nop
and %r11, %r11
lea addresses_D... |
libsrc/_DEVELOPMENT/adt/b_array/z80/__array_make_room_best_effort.asm | jpoikela/z88dk | 640 | 172921 | <reponame>jpoikela/z88dk
SECTION code_clib
SECTION code_adt_b_array
PUBLIC __array_make_room_best_effort
PUBLIC __0_array_make_room_best_effort
EXTERN __array_make_room, __0_array_make_room
__array_make_room_best_effort:
; Make room for n bytes at index idx (overwrite not insert)
; If idx > array.size, zero t... |
programs/oeis/160/A160174.asm | neoneye/loda | 22 | 908 | ; A160174: a(n) = (2*n - 1)*(24*n^2 - 42*n + 19).
; 1,93,545,1645,3681,6941,11713,18285,26945,37981,51681,68333,88225,111645,138881,170221,205953,246365,291745,342381,398561,460573,528705,603245,684481,772701,868193,971245,1082145,1201181,1328641,1464813,1609985,1764445,1928481,2102381,2286433,2480925,2686145,2902381,3... |
Mid-Term/Solution/Q1.asm | pulok825/CSE331L-Section-1-Fall20-NSU | 0 | 104238 |
.MODEL SMALL
.STACK 100H
.DATA
PROMPT DB " DIGITS FROM 0-9 ARE-$"
.CODE
MAIN PROC
DATA SEGMENT
NUM1 DB ?
NUM2 DB ?
RESULT DB ?
MSG1 DB 10, 13, "ENTER INTEGER 1:-$"
MSG2 DB 10, 13, "ENTER INTEGER 2-$"
MSG3 DB 10, 13, "ENTER RESULT OF MULTIPLICATION IS-$"
ENDS
... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_47_570.asm | ljhsiun2/medusa | 9 | 170941 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x9ce8, %rsi
lea addresses_D_ht+0x1c78, %rdi
nop
xor %r11, %r11
mov $11, %rcx
rep movsq
nop
nop
nop
sub $48841, %r13
lea addresses_WC_ht+0x157e8, %rsi
lea addresses_UC_ht... |
src/commands-create.adb | GLADORG/glad-cli | 0 | 3847 | with Ada.Text_IO;
with Ada.Directories;
with Ada.Containers.Vectors;
with Init_Project;
with Blueprint; use Blueprint;
package body Commands.Create is
package IO renames Ada.Text_IO;
package TT renames CLIC.TTY;
package Dir renames Ada.Directories;
use Ada.Directories;
use Ada.Containers;
-------------
... |
programs/oeis/262/A262011.asm | neoneye/loda | 22 | 243716 | ; A262011: a(n) = (1/n!) * Product_{k=1..n} (k^3 + 1).
; 1,2,9,84,1365,34398,1244061,61136712,3920391657,317987323290,31830531061329,3854387943062748,555353062796290941,93897387078942114486,18410594823692578876005,4143611208319076419026192,1061023445030203505546894289,306698188757554119191614031538,99387251945711843180... |
PRG/levels/Under/1-5.asm | narfman0/smb3_pp1 | 0 | 162810 | ; Original address was $AA41
; 1-5
.word W105_CoinHeavL ; Alternate level layout
.word W105_CoinHeavO ; Alternate object layout
.byte LEVEL1_SIZE_09 | LEVEL1_YSTART_040
.byte LEVEL2_BGPAL_04 | LEVEL2_OBJPAL_09 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_13 | LEVEL3_VSCROLL_FREE | LEVEL3_PIPENOTEXIT
.byte LEVEL4_BGBAN... |
Miei-sorgenti/new/Quarta lezione/Versione 1/sommaQuadrati.asm | DigiOhhh/LabArchitettura2-2017-2018 | 1 | 27752 | # Si scriva il codice che calcola la somma dei primi N-1 numeri elevati al quadrato.
# Nel caso in cui l’i-esimo numero da aggiungere sia multiplo del valore iniziale della somma, si termini il ciclo for.
#
# V = <intero inserito dall’utente>;
# N = <intero inserito dall’utente>;
#
# Sum = V;
# for (i = 1; i < N; i++)... |
oeis/082/A082877.asm | neoneye/loda-programs | 11 | 174045 | ; A082877: a(n) = A002884(n) / A070731(n).
; Submitted by <NAME>
; 1,2,3,6,12,21,42,84,147,294
mov $2,1
mov $3,1
lpb $0
sub $0,1
dif $1,2
add $1,$3
add $3,$2
mov $2,$1
lpe
mov $0,$3
|
tests/syntax_test_pragmas.asm | dougmasten/dougmasten-sublime-assembly-6809 | 5 | 82206 | # SYNTAX TEST "Packages/Assembly-6809/Assembly-6809.sublime-syntax"
# <- source.mc6809
; Assembly pragmas (lwasm)
;------------------------------------------------
pragma dollarlocal
# ^^^^^^ support.function.directive.assembler
# ^^^^^^^^^^^ keyword.operator
pragma dollarnotlocal
# ^^^^^^ support.functi... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c52103r.ada | best08618/asylo | 7 | 18062 | -- C52103R.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... |
programs/oeis/232/A232580.asm | jmorken/loda | 1 | 24128 | <filename>programs/oeis/232/A232580.asm
; A232580: Number of binary sequences of length n that contain at least one contiguous subsequence 011.
; 0,0,0,1,4,12,31,74,168,369,792,1672,3487,7206,14788,30185,61356,124308,251199,506578,1019920,2050785,4119280,8267216,16580799,33236622,66594636,133385689,267089188,534692604,... |
colors3.asm | funkacer/ZX80 | 0 | 89658 | DEVICE ZXSPECTRUM48
org $8000
last_k = 23560
ROM_CLS = $0DAF
start:
im 1
ld b, 255
loop:
ld hl, last_k
ld a, (hl)
cp 112
jr z, cls
rst $10
dec b
jr z, cls
jr loop
cls:
call ROM_CLS
ld hl,last_k
ld a,(hl) ; A = byte at address in HL (register,re... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i7-7700_9_0x48_notsx.log_2204_188.asm | ljhsiun2/medusa | 9 | 29486 | <filename>Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i7-7700_9_0x48_notsx.log_2204_188.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1146d, %rax
nop
nop
nop
nop
nop
and %rbx, %rbx
vmovups (%rax), %ymm6
v... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.