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 |
|---|---|---|---|---|
programs/oeis/127/A127981.asm | neoneye/loda | 22 | 171472 | ; A127981: a(n) = (n + 1/3)*2^(n-1) - 1/2 + (-1)^(n-1)*(1/6).
; 1,4,13,34,85,202,469,1066,2389,5290,11605,25258,54613,117418,251221,535210,1135957,2402986,5068117,10660522,22369621,46836394,97867093,204122794,425022805,883600042,1834308949,3802835626,7874106709,16285084330,33643910485,69435304618,143165576533,294921087... |
archive/agda-2/Oscar/Data/AList/properties.agda | m0davis/oscar | 0 | 3 | <filename>archive/agda-2/Oscar/Data/AList/properties.agda
module Oscar.Data.AList.properties {𝔣} (FunctionName : Set 𝔣) where
open import Oscar.Category.Category
open import Oscar.Category.Functor
open import Oscar.Category.Morphism
open import Oscar.Category.Semigroupoid
open import Oscar.Category.Semifunctor
open... |
ProcessingParser.g4 | sayakaakioka/antlr-v4-grammar-processing | 0 | 3213 | <filename>ProcessingParser.g4
/*
Copyright 2022 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge,... |
model-sets/2021-05-06-10-28-11-watform/ehealth_ctl.als | WatForm/catalyst | 0 | 2594 | <gh_stars>0
/* ehealth_ctl.als
* Author: <NAME> <<EMAIL>>
* Date: September 28, 2019
*
* Notes:
*
* This model is an Alloy port of the original TLA+ model created by
* Prof. <NAME> at York University (Canada) and used by him in
* teaching EECS 4312, Software Engineering Requirements.
*/
open ctlfc_path[State]... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-imguti.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 7544 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
Task/Bitmap-Bresenhams-line-algorithm/Ada/bitmap-bresenhams-line-algorithm-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 2128 | X : Image (1..16, 1..16);
begin
Fill (X, White);
Line (X, ( 1, 8), ( 8,16), Black);
Line (X, ( 8,16), (16, 8), Black);
Line (X, (16, 8), ( 8, 1), Black);
Line (X, ( 8, 1), ( 1, 8), Black);
Print (X);
|
test/asm/syntax-error-lexer-mode.asm | michealccc/rgbds | 522 | 168927 | <reponame>michealccc/rgbds
newline equs "\n"
def x = 1 newline def y = 2
println "x={d:x}, y={d:y}"
; the lexer is already in normal mode at the `AF`, so `newline` gets expanded
def m = AF newline def n = 2
println "n={d:n}"
; the lexer is in raw mode at the `AF`, but the parser resets it to normal
def AF = 1 newlin... |
Transynther/x86/_processed/NONE/_st_un_/i9-9900K_12_0xa0.log_21829_646.asm | ljhsiun2/medusa | 9 | 246307 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r8
push %rbx
push %rdi
push %rdx
lea addresses_UC_ht+0x3466, %r8
nop
nop
xor $6725, %rdi
movw $0x6162, (%r8)
nop
nop
nop
nop
nop
inc %r8
lea addresses_UC_ht+0x14ca6, %r13
nop
nop
nop
nop
nop
add %rdi, %rdi
movw $0x6162, (%r1... |
MemExpansion/TestProgram/ROMCheck/TestDataPreparation/rom_testImage2.asm | ja1umi/MUTIF09Project | 8 | 88344 | <gh_stars>1-10
ORG $A000
PAGE1_1 FCB $10, $AA, $55, $FC, $FF
PAGE1_2 RMB $1000 - (PAGE1_2 - PAGE1_1)
END
|
programs/oeis/089/A089950.asm | neoneye/loda | 22 | 16797 | ; A089950: Partial sums of A001652.
; 0,3,23,142,838,4897,28557,166460,970220,5654879,32959075,192099594,1119638514,6525731517,38034750617,221682772216,1292061882712,7530688524091,43892069261871,255821727047174,1491038293021214,8690408031080153,50651409893459749,295218051329678388,1720656898084610628,100287233371779854... |
programs/oeis/003/A003953.asm | neoneye/loda | 22 | 169428 | <reponame>neoneye/loda
; A003953: Expansion of g.f.: (1+x)/(1-10*x).
; 1,11,110,1100,11000,110000,1100000,11000000,110000000,1100000000,11000000000,110000000000,1100000000000,11000000000000,110000000000000,1100000000000000,11000000000000000,110000000000000000,1100000000000000000,11000000000000000000,1100000000000000000... |
twix-header-grammar/XProtParser.g4 | davidrigie/twixreader | 3 | 27 | <reponame>davidrigie/twixreader
/*
* PARSER RULES
*/
parser grammar XProtParser;
options { tokenVocab=XProtLexer; }
header : xprot*
ASCCONV_STRING*
;
xprot : xprot_tag
LEFT_BRACE
special_node*
node*
BURN_DEPENDENCY*
RIGHT_BRACE
;
xprot_tag : BRA XP... |
alloy4fun_models/trainstlt/models/3/YBunAS6QqN8eeNomW.als | Kaixi26/org.alloytools.alloy | 0 | 4200 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idYBunAS6QqN8eeNomW_prop4 {
always(lone pos.Train)
}
pred __repair { idYBunAS6QqN8eeNomW_prop4 }
check __repair { idYBunAS6QqN8eeNomW_prop4 <=> prop4o } |
05_null_termination_macro/main.asm | christopher-besch/assembly_reference | 2 | 87015 | ; copy in place
%include "print.asm"
%macro exit 1
mov rax, 60
mov rdi, %1
syscall
%endmacro
section .data
text db "Hello World!",10,0
text1 db "I like trains.",10,0
section .text
global _start
_start:
mov rax, text
call _print
mov rax, text1
call _print
exit 0
|
programs/oeis/168/A168361.asm | karttu/loda | 1 | 23977 | ; A168361: Period 2: repeat 2, -1.
; 2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1,2,-1
gcd $0,2
mov $1,-3
bin $1,$0
div $1,3
|
ee/hk/italian.asm | olifink/smsqe | 0 | 94376 | ; HOTKEY messages 1988 T.Tebby QJUMP
section language
xdef hk_italian
xdef hk_stufc
xdef hk_stufp
xdef hk_stufl
include 'dev8_mac_text'
include 'dev8_ee_hk_data'
hk_italian
hk_stufc dc.b ' '
hk_stufp dc.b $fc
hk_stufl dc.l $200
mktext spce,{SPACE}
mktext exec,{EXEC}
mktext load,{LOAD}
mktext... |
Cubical/Categories/Constructions/FullSubcategory.agda | thomas-lamiaux/cubical | 1 | 7428 | <reponame>thomas-lamiaux/cubical
{-# OPTIONS --safe #-}
module Cubical.Categories.Constructions.FullSubcategory where
-- Full subcategory (not necessarily injective on objects)
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Categories.Category
open import Cubical.... |
alloy4fun_models/trashltl/models/7/JtPskT7nxEcSMt9qd.als | Kaixi26/org.alloytools.alloy | 0 | 1393 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idJtPskT7nxEcSMt9qd_prop8 {
eventually (all f:File| f.link in Trash)
}
pred __repair { idJtPskT7nxEcSMt9qd_prop8 }
check __repair { idJtPskT7nxEcSMt9qd_prop8 <=> prop8o } |
alloy4fun_models/trainstlt/models/3/f5DDyvGotcQoRurpg.als | Kaixi26/org.alloytools.alloy | 0 | 3944 | open main
pred idf5DDyvGotcQoRurpg_prop4 {
always prox.~prox in iden
}
pred __repair { idf5DDyvGotcQoRurpg_prop4 }
check __repair { idf5DDyvGotcQoRurpg_prop4 <=> prop4o } |
orka/src/orka/interface/orka-inputs-joysticks-filtering.ads | onox/orka | 52 | 1782 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2019 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
-... |
Logic/Propositional/Equiv.agda | Lolirofle/stuff-in-agda | 6 | 387 | <reponame>Lolirofle/stuff-in-agda<filename>Logic/Propositional/Equiv.agda
module Logic.Propositional.Equiv where
import Lvl
open import Logic
open import Logic.Propositional
import Logic.Propositional.Theorems as Theorems
open import Structure.Relator.Equivalence
open import Structure.Relator.Properties
open... |
src/getters/getter-for_loop.adb | python36/d0xfa | 0 | 7529 | <filename>src/getters/getter-for_loop.adb
package body getter.for_loop is
function get return character is
use type pos_count;
c : character;
begin
if cur_for_loop.last > unb.length(cur_for_loop.code) then
cur_for_loop.cur_line := cur_for_loop.first_line;
cur_for_loop.last := 1;
inc... |
Assembly Works 4/Task_5_Lab_4.asm | AhmadVakil/Assembly-C_Micro-Controller | 0 | 168318 | <gh_stars>0
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
; 1DT301, Computer Technology I
; Date: 2017-11-05
; Author:
; <NAME>
;
; Lab number: 4
; Title: Timer and USART
;
; Hardware: STK600, CPU ATmega2560
;
; Function: Now we should use interrup... |
editor.asm | neilbaldwin/PR8 | 8 | 23450 | .FEATURE force_range
editorInit:
jsr setupSpriteCursor
jsr initKeyRepeats
lda #$00
sta maxDma
sta editorDecoding ;clear blocking flags
sta editorEditingValue ;
sta editorEditingBuffer ;
lda #PLAY_MODE_STOPPED ;set player mode and previous mode to STOPPED
sta plyrMode
sta plyrModeOld
lda #EDIT_M... |
src/libtcod-maps-paths.ads | csb6/libtcod-ada | 0 | 15237 | private with path_h;
package Libtcod.Maps.Paths is
type Path is limited private;
type Cost is new Float;
type Index is range 0 .. Integer'Last;
function make_path(m : Map; diagonal_cost : Cost) return Path;
function compute(p : in out Path; start_x : X_Pos; start_y : Y_Pos;
en... |
alloy4fun_models/trainstlt/models/6/66uH8rfaCJbERe7pw.als | Kaixi26/org.alloytools.alloy | 0 | 1847 | <gh_stars>0
open main
pred id66uH8rfaCJbERe7pw_prop7 {
all t : Train | eventually no t.pos
}
pred __repair { id66uH8rfaCJbERe7pw_prop7 }
check __repair { id66uH8rfaCJbERe7pw_prop7 <=> prop7o } |
core/lib/cubical/Square.agda | AntoineAllioux/HoTT-Agda | 294 | 7077 | <reponame>AntoineAllioux/HoTT-Agda
{-# OPTIONS --without-K --rewriting #-}
open import lib.Base
open import lib.Equivalence
open import lib.NType
open import lib.PathFunctor
open import lib.PathGroupoid
open import lib.PathOver
open import lib.Univalence
module lib.cubical.Square where
{-
*--1--*
| |
0 ... |
Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-7700_9_0xca_notsx.log_21829_33.asm | ljhsiun2/medusa | 9 | 3083 | <filename>Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-7700_9_0xca_notsx.log_21829_33.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x19a29, %rsi
lea addresses_WC_ht+0x133a1, %rdi
nop
nop
nop
nop
nop
add $50932, %r15
mov $82, ... |
programs/oeis/080/A080855.asm | neoneye/loda | 22 | 240915 | ; A080855: a(n) = (9*n^2 - 3*n + 2)/2.
; 1,4,16,37,67,106,154,211,277,352,436,529,631,742,862,991,1129,1276,1432,1597,1771,1954,2146,2347,2557,2776,3004,3241,3487,3742,4006,4279,4561,4852,5152,5461,5779,6106,6442,6787,7141,7504,7876,8257,8647,9046,9454,9871,10297,10732,11176,11629,12091,12562,13042,13531,14029,14536,15... |
text/ada/create/text_create.adb | ekzemplaro/data_base_language | 3 | 1485 | -- ----------------------------------------------------------------
-- text_create.adb
--
-- Oct/10/2011
--
-- ----------------------------------------------------------------
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Text_IO.Text_Streams; use Ada.Text_IO.Text_Streams;
with Ada.Command_Line;
--... |
oeis/155/A155151.asm | neoneye/loda-programs | 11 | 92013 | ; A155151: Triangle T(n, k) = 4*n*k + 2*n + 2*k + 2, read by rows.
; Submitted by <NAME>
; 10,16,26,22,36,50,28,46,64,82,34,56,78,100,122,40,66,92,118,144,170,46,76,106,136,166,196,226,52,86,120,154,188,222,256,290,58,96,134,172,210,248,286,324,362,64,106,148,190,232,274,316,358,400,442,70,116,162,208,254,300,346,392,4... |
Numbers/Naturals/Multiplication.agda | Smaug123/agdaproofs | 4 | 14539 | <reponame>Smaug123/agdaproofs<gh_stars>1-10
{-# OPTIONS --warning=error --safe --without-K #-}
open import LogicalFormulae
open import Numbers.Naturals.Definition
open import Numbers.Naturals.Addition
module Numbers.Naturals.Multiplication where
infix 25 _*N_
_*N_ : ℕ → ℕ → ℕ
zero *N y = zero
(succ x) *N y = y +N (x... |
cbm8bit/src/telnetml.asm | smay4finger/Zimodem | 0 | 161106 | <reponame>smay4finger/Zimodem
* = 0
; .D TELNETML.BIN
; TERMINAL ML 64 BY <NAME>
; UPDATED 2017/01/01 07:44P
; TERMSETUP LDA $DD01:AND #$10:STA DCDCHK
TERMINAL
LDX #$05
JSR $FFC6
JSR $FFE4
CMP #$00
BEQ TERMK
CMP #$0A
... |
scripts/CeladonMart5F.asm | opiter09/ASM-Machina | 1 | 2371 | <reponame>opiter09/ASM-Machina
CeladonMart5F_Script:
jp EnableAutoTextBoxDrawing
CeladonMart5F_TextPointers:
dw CeladonMart5Text1
dw CeladonMart5Text2
dw CeladonMart5Clerk1Text
dw CeladonMart5Clerk2Text
dw CeladonMart5Text5
CeladonMart5Text1:
text_far _CeladonMart5Text1
text_end
CeladonMart5Text2:
text_far ... |
FormalAnalyzer/models/meta/cap_garageDoorControl.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 1750 |
// filename: cap_garageDoorControl.als
module cap_garageDoorControl
open IoTBottomUp
one sig cap_garageDoorControl extends Capability {}
{
attributes = cap_garageDoorControl_attr
}
abstract sig cap_garageDoorControl_attr extends Attribute {}
one sig cap_garageDoorControl_attr_door extends cap_garageDoorControl_att... |
libsrc/_DEVELOPMENT/math/float/math16/c/sdcc/cm16_sdcc_frexp.asm | Frodevan/z88dk | 640 | 98891 | <reponame>Frodevan/z88dk<filename>libsrc/_DEVELOPMENT/math/float/math16/c/sdcc/cm16_sdcc_frexp.asm<gh_stars>100-1000
SECTION code_fp_math16
PUBLIC cm16_sdcc_frexp
EXTERN asm_f16_frexp
; half_t frexp(half_t x, int16_t *pw2);
.cm16_sdcc_frexp
; Entry:
; Stack: ptr right, half_t left, ret
pop de ... |
RESULTS_ARCHIVE/18-08-2017/asm/Native-C.asm | Kosat/MixingLangsBenchmark | 0 | 9230 | <gh_stars>0
levenshtein_C!levenshtein_C [c:\temp\mixinglangsbenchmark\levenshtein-c\levenshtein.cpp @ 25]:
00007ffe`7b1e1030 48895c2408 mov qword ptr [rsp+8],rbx
00007ffe`7b1e1035 44894c2420 mov dword ptr [rsp+20h],r9d
00007ffe`7b1e103a 4489442418 mov dword ptr [rsp+18h],r8d
00007ffe`7b1e103f... |
programs/oeis/014/A014632.asm | jmorken/loda | 1 | 165202 | <reponame>jmorken/loda
; A014632: Odd pentagonal numbers.
; 1,5,35,51,117,145,247,287,425,477,651,715,925,1001,1247,1335,1617,1717,2035,2147,2501,2625,3015,3151,3577,3725,4187,4347,4845,5017,5551,5735,6305,6501,7107,7315,7957,8177,8855,9087,9801,10045,10795,11051,11837,12105,12927,13207,14065,14357,15251,15555,16485,16... |
stdlib-exts/IO/Instance.agda | WhatisRT/meta-cedille | 35 | 2502 | <reponame>WhatisRT/meta-cedille
{-# OPTIONS --type-in-type --guardedness #-}
module IO.Instance where
open import Class.Monad using (Monad)
open import Class.Monad.IO
open import Class.Monoid
open import Data.Product
open import Data.Sum
open import IO
open import Monads.ExceptT
open import Monads.StateT
open import ... |
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_2338_1680.asm | ljhsiun2/medusa | 9 | 29138 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xd33b, %rsi
lea addresses_UC_ht+0x3f47, %rdi
clflush (%rdi)
nop
lfence
mov $47, %rcx
rep movsl
nop
sub %rsi, %rsi
lea addresses_D_ht+0xcc5b, %rsi
lea addresses_A_ht+0x16a83, %rdi
n... |
Transynther/x86/_processed/P/_un_/i9-9900K_12_0xa0_notsx.log_2_725.asm | ljhsiun2/medusa | 9 | 11322 | <filename>Transynther/x86/_processed/P/_un_/i9-9900K_12_0xa0_notsx.log_2_725.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x47ba, %rsi
lea addresses_D_ht+0x1ec5a, %rdi
nop
nop
nop
nop
xor %r8, %r8
mov $80, %rcx
rep movsl
nop
and $53169, ... |
oeis/190/A190105.asm | neoneye/loda-programs | 11 | 247498 | ; A190105: a(n) = (3*A002145(n) - 1)/4.
; Submitted by <NAME>
; 2,5,8,14,17,23,32,35,44,50,53,59,62,77,80,95,98,104,113,122,125,134,143,149,158,167,170,179,188,197,203,212,230,233,248,260,269,275,284,287,314,323,329,332,347,350,359,365,368,374,377,392,410,422,428,440,449,455,464,473,482,485,494,512,518,539,545,554,557,... |
racer-network.asm | LeifBloomquist/NetRacerClient | 1 | 8093 |
; Network stuff for racing game
CARD_MAC dc.b $00,$80,$10,$0c,$64,$01
CARD_IP dc.b 192,168,1,64
CARD_MASK dc.b 255,255,255,0
CARD_GATE dc.b 192,168,1,1
CARD_GATE_MAC dc.b $00,$00,$00,$00,$00,$00
SERVER_IP
.byte 208,79,218,201 ; Public
SERVER_IP_LAN
.byte 192,168,7,100 ; Private
; Default, over... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1834.asm | ljhsiun2/medusa | 9 | 20592 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1a34a, %rbx
xor $14983, %r11
mov (%rbx), %r14w
nop
inc %rcx
lea addresses_D_ht+0xbb4a, %r15
nop
nop
xor $5909, %rcx
mov (%r15), %r10
and $12355, %r14
lea addresses_... |
elan520-registers.ads | Jellix/elan520 | 0 | 14123 | <filename>elan520-registers.ads
------------------------------------------------------------------------
-- Copyright (C) 2004-2020 by <<EMAIL>> --
-- --
-- This work is free. You can redistribute it and/or modify it under --
-- the... |
_lessons/05-academy/code/academia-1.als | HanielB/2021.1-fm | 0 | 4343 | <reponame>HanielB/2021.1-fm
---------------- Signatures ----------------
abstract sig Person {}
sig Faculty extends Person {}
abstract sig Student extends Person {}
sig Graduate, Undergrad extends Student {}
sig Instructor in Person {}
sig Course {
taughtby: one Instructor,
enrolled: some Student,
waitlist:... |
Engine Hacks/FE8-Item Range Fix/Write Range.asm | sme23/Christmas2 | 3 | 241376 | .thumb
.org 0x0
@r0 has x, r1 has y, r2 has bitfield, r3 has halfword, r12 has ballista flag
push {r4-r7,r14}
mov r7,r8
push {r7}
mov r8,r12
mov r4,r0
mov r5,r1
mov r6,r2
cmp r3,#0x0
beq NoRangeHalfword @this should usually be the case
lsr r7,r3,#0x8 @r7 has min
lsl r2,r3,#0x18 @get max
lsr r2,r2,... |
programs/oeis/022/A022776.asm | karttu/loda | 0 | 93735 | ; A022776: Place where n-th 1 occurs in A023115.
; 1,2,4,7,10,14,19,24,30,37,45,53,62,72,82,93,105,118,131,145,160,175,191,208,225,243,262,282,302,323,345,367,390,414,439,464,490,517,544,572,601,630,660,691,723,755,788,822,856,891,927,964,1001,1039,1078,1117,1157,1198,1240,1282,1325,1369,1413,1458,1504,1550,1597,1645,1... |
src/parser/VelocityHtmlLexer.g4 | fvclaus/prettier-velocity-html-plugin | 0 | 6519 | <reponame>fvclaus/prettier-velocity-html-plugin<gh_stars>0
lexer grammar VelocityHtmlLexer;
@lexer::header {
import { Interval } from 'antlr4ts/misc/Interval';
type VelocityMode = "directive" | "reference";
}
@lexer::members {
private tagStringSingle = false;
private tagStringDouble = false;
public setTa... |
AX2ALBLCLDL.asm | CallMeMengMeng/ASSEMBLY-LANGUAGE | 0 | 165657 | <reponame>CallMeMengMeng/ASSEMBLY-LANGUAGE
; THERE IS A 16-BIT FIGURE IN AX, DIVIDE IT INTO 4 PARTS, THEN STORE THEM AS FOLLOW:
; | AL | BL | CL | DL |
; |0000AX00|0000AX01|0000AX10|0000AX11|
CODE SEGMENT
ASSUME CS:CODE
START: MOV AX,0D9BDH ; AX=D9BD
MOV BX,AX ; BACKUP IN BX
MOV CL,4 ; SE... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/bindo-graphs.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 24313 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xca_notsx.log_21829_698.asm | ljhsiun2/medusa | 9 | 23209 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x2a94, %rsi
lea addresses_A_ht+0x1090e, %rdi
dec %r14
mov $3, %rcx
rep movsb
nop
xor $24727, %r15
lea addresses_WC_ht+0x17294, %r13
and ... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_1275_689.asm | ljhsiun2/medusa | 9 | 242007 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_1275_689.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x14faf, %r15
clflush (%r15)
nop
nop
cmp %rbp, %rbp
vmovups (%r15)... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1293.asm | ljhsiun2/medusa | 9 | 172683 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1cf05, %rax
nop
inc %r9
mov (%rax), %esi
nop
nop
nop
and $43785, %r15
lea addresses_WT_ht+0x25f5, %rsi
lea addresses_normal_ht+0x15905, %rdi
nop
add %r9, %r9
mov $104, %rcx
rep movsw
nop
nop
nop... |
test/asset/agda-stdlib-1.0/Data/List/Relation/Binary/BagAndSetEquality.agda | omega12345/agda-mode | 0 | 710 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Bag and set equality
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.List.Relation.Binary.BagAndSetEquality where
open import Algebra usi... |
alloy4fun_models/trainstlt/models/8/xzoeJzjNRveTbGj5P.als | Kaixi26/org.alloytools.alloy | 0 | 4144 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idxzoeJzjNRveTbGj5P_prop9 {
all t:Train | before no t.pos and eventually ( some t.pos & Entry)
}
pred __repair { idxzoeJzjNRveTbGj5P_prop9 }
check __repair { idxzoeJzjNRveTbGj5P_prop9 <=> prop9o } |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_158.asm | ljhsiun2/medusa | 9 | 87661 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x9682, %rdx
nop
nop
nop
nop
nop
inc %r9
mov $0x6162636465666768, %r13
movq %r13, %xmm7
vmovups %ymm7, (%rdx)
nop
add %r10, %r10
lea addresses_A_ht+0x17178, %r13
nop
nop
nop
no... |
unittests/ASM/H0F3A/0_66_DF.asm | cobalt2727/FEX | 628 | 5540 | %ifdef CONFIG
{
"RegData": {
"XMM0": ["0x6363636363636363", "0x6363636363636363"],
"XMM1": ["0x1616161616161616", "0x1616161616161616"],
"XMM2": ["0x7c6363636363637c", "0x7c6363636363637c"],
"XMM3": ["0x1616161616161616", "0x7c6363636363637c"],
"XMM4": ["0x6363636263636363", "0x6363636263636363"],... |
_lessons/07-solving/pigeonhole.als | HanielB/2021.1-fm | 0 | 2913 | <gh_stars>0
-- The pigeonhole problem
sig Hole {}
sig Pigeon {
nest : set Hole
}
fact {
all p : Pigeon | one p.nest
all h : Hole | lone nest.h
}
run {}
check { (no h : Hole | #nest.h > 1) and (no p : Pigeon | no p.nest)} for 5
pred hasSubNest {
some subNest : Pigeon -> Hole | some subNest and #subNest < #... |
oeis/293/A293637.asm | neoneye/loda-programs | 11 | 168755 | <gh_stars>10-100
; A293637: a(n) is the least integer k such that k/Fibonacci(n) > 1/5.
; Submitted by <NAME>(m1)
; 0,1,1,1,1,1,2,3,5,7,11,18,29,47,76,122,198,320,517,837,1353,2190,3543,5732,9274,15005,24279,39284,63563,102846,166408,269254,435662,704916,1140578,1845493,2986071,4831564,7817634,12649198,20466831,3311602... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_63.asm | ljhsiun2/medusa | 9 | 9742 | <filename>Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_63.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1dbde, %r9
nop
nop
nop
nop
nop
xor $48561, %rdi
movb (%r9), %bl
nop
nop
nop
n... |
ch3/src/main.asm | impact-eintr/x86 | 0 | 100007 | ; 显示文本
;start:
; mov ax, 0xb800
; mov ds, ax
;
; mov byte [0x00], 'A'
; mov byte [0x01], 0x0c ;黑底红字无闪烁
;
; mov byte [0x02], 's'
; mov byte [0x03], 0x04
;
; mov byte [0x04], 's'
; mov byte [0x05], 0x04
;
; mov byte [0x06], 'e'
; mov byte [0x07], 0x04
;
; mov byte [0x08], 'm'
; m... |
p8/upload/timer/timer.asm | t0ush1/ComputerOrganization | 2 | 243183 | .text
# li $t0, 10
# sw $t0, 0x7f50($0)
# set default values and init
li $t0, 0x1401 # 1_0100_0000_0001
mtc0 $t0, $12
li $t0, 60000000 # frequency -> preset
sw $t0, 0x7f04($0)
li $a0, 9 # 1001
li $a1, -1 # 111...111
li $s0, 0 # cnt
li $s1, 0 # pre-value
... |
test/Succeed/Prefix-Right-Postfix-Left.agda | shlevy/agda | 1,989 | 2341 | <reponame>shlevy/agda
open import Common.Equality
open import Common.Prelude renaming (Nat to ℕ)
infixr 4 _,_
infix 4 ,_
record Σ (A : Set) (B : A → Set) : Set where
constructor _,_
field
proj₁ : A
proj₂ : B proj₁
open Σ
,_ : {A : Set} {B : A → Set} {x : A} → B x → Σ A B
, y = _ , y
should-be-accepted... |
source/web/spikedog/daemon/service/services.ads | svn2github/matreshka | 24 | 27340 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
oeis/171/A171536.asm | neoneye/loda-programs | 11 | 25913 | <reponame>neoneye/loda-programs
; A171536: Decimal expansion of 2/sqrt(7).
; Submitted by <NAME>
; 7,5,5,9,2,8,9,4,6,0,1,8,4,5,4,4,5,4,4,2,9,0,3,3,0,7,2,4,6,8,3,6,0,1,2,1,6,3,1,5,0,2,6,2,3,7,3,7,8,4,2,9,0,8,6,7,6,6,6,6,9,8,8,3,4,3,1,6,2,5,2,0,9,2,2,9,3,8,1,7,9,3,6,0,1,1,2,2,5,3,2,7,8,4,4,1,0,3,1,6
add $0,1
mov $3,$0
m... |
Appl/FileMgrs2/CommonDesktop/CShObj/cshobjReceive.asm | steakknife/pcgeos | 504 | 101778 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: cshobjReceive.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Descriptio... |
testsuite/tests/NA17-007__Ada_units/ada05-ok-1.adb | AdaCore/style_checker | 2 | 2354 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
dft.ads | adrianhoe/adadft | 0 | 14819 | <filename>dft.ads
--------------------------------------------------------------------------------
-- * Spec name dft.ads
-- * Project name dfttest
-- *
-- * Version 1.0
-- * Last update 11/9/08
-- *
-- * Created by <NAME> on 11/9/08.
-- * Copyright (c) 2008 AdaStar Informatics http://adastarinformatics.c... |
Sistemi e reti/Assembly/divisori.asm | Gabri3445/EquazioneSecondoGrado | 0 | 91492 | <gh_stars>0
input:
INP
STA [num]
JIZ [end]
JSP [loop]
loop:
LDA [num]
STA [numDiv]
JSP [divisori]
JMP [loop]
divisori:
LDA [num]
LDB [numDiv]
DIV
STA [divRes]
LDA [numDiv]
LDB [divRes]
MUL
STA [mulRes]
LDA [num]
LDB [mulRes]
SUB
STA [rem]
LDA [numDiv]
STA [outputNum]
LDB #1
SUB
STA [numDiv]
JIZ [input]
LDA [r... |
programs/oeis/179/A179942 (2 cal).asm | jmorken/loda | 1 | 154 | ; A179942: Number of times n appears in a 1000 x 1000 multiplication table.
; 1,2,2,3,2,4,2,4,3,4,2,6,2,4,4,5,2,6,2,6,4,4,2,8,3,4,4,6,2,8,2,6,4,4,4,9,2,4,4,8,2,8,2,6,6,4,2,10,3,6,4,6,2,8,4,8,4,4,2,12,2,4,6,7,4,8,2,6,4,8,2,12,2,4,6,6,4,8,2,10,5,4,2,12,4,4,4,8,2,12,4,6,4,4,4,12,2,6,6,9,2,8,2,8,8,4,2,12,2,8,4,10,2,8,4,6,6... |
test/Fail/TrustMe.agda | alhassy/agda | 3 | 4502 | <reponame>alhassy/agda<gh_stars>1-10
{-# OPTIONS --universe-polymorphism #-}
module TrustMe where
open import Common.Equality
postulate
A : Set
x y : A
eq : x ≡ y
eq = primTrustMe
does-not-evaluate-to-refl : sym (sym eq) ≡ eq
does-not-evaluate-to-refl = refl
|
assets/assembly/IA32/linux_nasm_progs/nasm_linux_ORG_CH10/procfib1.asm | edassis/SB-Tradutor | 1 | 14013 | <filename>assets/assembly/IA32/linux_nasm_progs/nasm_linux_ORG_CH10/procfib1.asm
;Fibonacci numbers (register version) PROCFIB1.ASM
;
; Objective: To compute Fibinacci number using registers
; for local variables.
; Input: Requests a positive integer from the user.
; Out... |
src/boot/print_pm.asm | C-McKinley/ColbyOS | 0 | 245986 | <gh_stars>0
[bits 32]
VIDEO_MEMORY equ 0xb800
WHITE_ON_BLACK equ 0x0f
print_string_pm:
pusha
mov edx, VIDEO_MEMORY
print_string_pm_loop:
mov al, [ebx]
mov ah, WHITE_ON_BLACK
cmp al, 0
je done
mov [edx], ax
add ebx, 1
add edx, 2
jmp print_string_pm_loop
print_string_pm_done:
popa
ret
|
src/asf-utils.ads | jquorning/ada-asf | 12 | 9745 | <reponame>jquorning/ada-asf<gh_stars>10-100
-----------------------------------------------------------------------
-- asf-utils -- Various utility operations for ASF
-- Copyright (C) 2009, 2010, 2011, 2012, 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "Licens... |
runtime/ravenscar-sfp-stm32f427/common/i-c.ads | TUM-EI-RCS/StratoX | 12 | 13692 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Application Support/BBEdit/Packages/dStyle.bbpackage/Contents/Scripts/Selection/Uppercase Current Line and Move Down.applescript | bhdicaire/bbeditSetup | 0 | 1889 | -- <NAME> (@olivertaylor, http://olivertaylor.net) - Dec 2013
tell application "BBEdit"
find "^.*$" searching in text of front text window options {search mode:grep, backwards:true} with selecting match
set selection to (grep substitution of "\\U&\\n")
select insertion point after selection
end tell
|
Assignment1/src/tree/BKOOL.g4 | ntnguyen648936/PPL-BKOOOL | 0 | 7639 | <reponame>ntnguyen648936/PPL-BKOOOL
/*
** - Author: <NAME>
** - ID: 1752349
*/
grammar BKOOL;
options{
language=Java;
}
program : classDecl+ EOF ;
// CLASS DECLARE
classDecl
: CLASS ID LCB classBody RCB
| CLASS ID classDeclExtension LCB classBody RCB
;
classDeclExtension
: EXTENDS ID
;
classBody
: member... |
programs/oeis/112/A112440.asm | karttu/loda | 0 | 240143 | <reponame>karttu/loda
; A112440: Next term is the sum of the last 10 digits in the sequence, beginning with a(10) = 9.
; 0,0,0,0,0,0,0,0,0,9,9,18,27,36,45,54,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45,45
sub $0,1
pow $0,2
div $0,28
mov $2,2
lpb $0,1
mov $3,$2
mov $2,1
mov $4,$3
add $4,5
... |
math.asm | aaronscode/mipsCalc | 1 | 22294 | .globl math_pow
.include "macros.asm"
.text
# method: math_pow
# (integer) raise one number to the power of another
# arguments:
# $a0 - a value x, the base
# $a1 - a value y, the power we are raising x to
# return:
# $v0 - if y > 0 : x^y
# else : 1
math_pow:
push($ra)
# if the powe... |
src/prototyping/term/examples/Data.agda | larrytheliquid/agda | 1 | 15024 | {-# OPTIONS --type-in-type #-}
module Data where
open import Prelude
data Sigma (A : Set)(B : A -> Set) : Set
data Sigma A B where
pair : (x : A) -> B x -> Sigma A B
fst : {A : _} {B : _} -> Sigma A B -> A
fst (pair x y) = x
snd : {A : _} {B : _} (p : Sigma A B) -> B (fst p)
snd (pair x y) = y
data Unit : Set
da... |
Server/src/main/java/server/parser/SmartMessage.g4 | EdoCrippaOfficial/SmartMessaging | 0 | 1914 | grammar SmartMessage;
program : (message | priorita | invia | stats)+ exit;
priorita : 'Priorità' NUM ;
invia : 'Invia';
stats: 'Stats' (utente)?;
message : new_mess dest+ duepunti titolo corpo opzioni;
new_mess : 'Messaggio a';
dest: utente;
duepunti : ':';
titolo : 'Titolo' TESTO;
corpo : 'Corpo' TESTO;
opzion... |
Sources/Library/vectors_xd.ads | ForYouEyesOnly/Space-Convoy | 1 | 25277 | <gh_stars>1-10
generic
type Real is digits <>;
type Coordinates is (<>);
package Vectors_xD is
pragma Elaborate_Body;
type Vector_xD is array (Coordinates) of Real;
Zero_Vector_xD : constant Vector_xD := (others => 0.0);
function Image (V : Vector_xD) return String;
function Norm (V : Vector... |
externals/mpir-3.0.0/mpn/x86_64w/k8/nand_n.asm | JaminChan/eos_win | 12 | 14927 | ; PROLOGUE(mpn_nand_n)
; Copyright 2008 <NAME>
;
; Windows Conversion Copyright 2008 <NAME>
;
; This file is part of the MPIR Library.
; The MPIR Library is free software; you can redistribute it and/or modify
; it under the terms of the GNU Lesser General Public License as published
; by the Free Software Founda... |
apple_scripts/Light.applescript | joaopalmeiro/dotfiles | 0 | 4474 | <filename>apple_scripts/Light.applescript
tell application "System Events"
repeat 32 times
key code 144
-- delay 0.02
end repeat
end tell
|
FormalAnalyzer/models/apps/LeftItOpenStill.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 4229 | module app_LeftItOpenStill
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_contactSensor
one sig app_LeftItOpenStill extends IoTApp {
contact : one cap_contactSensor,
state : one cap_state,
} {
rules = r
//capabilities = contact + state
}
one sig cap_state extends cap_runIn {} {
attr... |
src/implementation/yaml-lexer-evaluation.adb | robdaemon/AdaYaml | 32 | 26364 | <reponame>robdaemon/AdaYaml<gh_stars>10-100
-- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
with Ada.Strings.UTF_Encoding.Strings;
with Ada.Strings.UTF_Encoding.Wide_Strings;
with Ada.Strings.UTF_Encoding.Wide_Wide_Strings;
with Text.Builder;
package b... |
data/tilesets/mart_collision.asm | Dev727/ancientplatinum | 28 | 7551 | tilecoll WALL, WALL, WALL, WALL ; 00
tilecoll STAIRCASE, WALL, FLOOR, FLOOR ; 01
tilecoll WALL, STAIRCASE, FLOOR, FLOOR ; 02
tilecoll WALL, WALL, FLOOR, FLOOR ; 03
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 04
tilecoll STAIRCASE, WALL, FLOOR, FLOOR ; 05
tilecoll FLOOR, FLOOR, FLOOR, WARP_CARPET_DOWN ; 06
tilecoll WA... |
programs/oeis/282/A282848.asm | neoneye/loda | 22 | 168658 | <reponame>neoneye/loda
; A282848: a(n) = 2*n + 1 + n mod 4.
; 4,7,10,9,12,15,18,17,20,23,26,25,28,31,34,33,36,39,42,41,44,47,50,49,52,55,58,57,60,63,66,65,68,71,74,73,76,79,82,81,84,87,90,89,92,95,98,97,100,103,106,105,108,111,114,113,116,119,122,121,124,127,130,129,132,135,138,137,140,143,146,145,148,151,154,153,156,1... |
programs/oeis/156/A156279.asm | karttu/loda | 0 | 11793 | ; A156279: 4 times the Lucas number A000032(n).
; 8,4,12,16,28,44,72,116,188,304,492,796,1288,2084,3372,5456,8828,14284,23112,37396,60508,97904,158412,256316,414728,671044,1085772,1756816,2842588,4599404,7441992,12041396,19483388,31524784,51008172,82532956,133541128,216074084,349615212,565689296,915304508,1480993804,23... |
arch/ARM/STM32/driversF1/stm32-i2s.ads | morbos/Ada_Drivers_Library | 2 | 5188 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- --
-- ... |
oeis/303/A303295.asm | neoneye/loda-programs | 11 | 99549 | <reponame>neoneye/loda-programs
; A303295: a(n) is the maximum water retention of a height-3 length-n number parallelogram with maximum water area.
; 0,20,49,99,165,247,345,459,589,735,897,1075,1269,1479,1705,1947,2205,2479,2769,3075,3397,3735,4089,4459,4845,5247,5665,6099,6549,7015,7497,7995,8509,9039,9585,10147,10725... |
programs/oeis/193/A193643.asm | neoneye/loda | 22 | 18676 | <reponame>neoneye/loda
; A193643: Number of arrays of -3..3 integers x(1..n) with every x(i) in a subsequence of length 1 or 2 with sum zero
; 1,7,19,67,217,721,2377,7855,25939,85675,282961,934561,3086641,10194487,33670099,111204787,367284457,1213058161,4006458937,13232434975,43703763859,144343726555,476734943521,15745... |
oeis/166/A166814.asm | neoneye/loda-programs | 11 | 104378 | <reponame>neoneye/loda-programs<filename>oeis/166/A166814.asm
; A166814: Number of nX2 1..3 arrays containing at least one of each value, all equal values connected, rows considered as a single number in nondecreasing order, and columns considered as a single number in increasing order.
; Submitted by <NAME>(s2)
; 0,6,... |
intrepyd/formula2py/Formula.g4 | bobosoft/intrepyd | 2 | 1570 | grammar Formula;
formula: expr EOF;
expr: op=('not' | 'NOT') expr # notExpr
| op=('pre' | 'PRE') expr # preExpr
| expr (('and' | 'AND') expr)+ # andExpr
| expr (('or' | 'OR') expr)+ # orExpr
| '(' expr ')' # parExpr
| ID # ... |
programs/oeis/166/A166911.asm | neoneye/loda | 22 | 80560 | <gh_stars>10-100
; A166911: a(n) = (9 + 14*n + 12*n^2 + 4*n^3)/3.
; 3,13,39,89,171,293,463,689,979,1341,1783,2313,2939,3669,4511,5473,6563,7789,9159,10681,12363,14213,16239,18449,20851,23453,26263,29289,32539,36021,39743,43713,47939,52429,57191,62233,67563,73189,79119,85361,91923,98813,106039,113609,121531,129813,13846... |
test/Compiler/with-stdlib/HelloWorld.agda | shlevy/agda | 7 | 10176 | <reponame>shlevy/agda
module HelloWorld where
open import IO
open import Data.String
open import Data.Unit
main = run (putStrLn "Hello World!")
|
src/test/resources/framework_specifications/TestResourceParser.g4 | google/polymorphicDSL | 3 | 5593 | parser grammar TestResourceParser ;
import GherkinCommonParser ;
options {tokenVocab=TestResourceLexer ;}
givenTheTestResource : GIVEN_THE_TEST_RESOURCE textInDoubleQuotes END;
givenTheRawResource : GIVEN_THE_FOLLOWING_TEST_RESOURCE docstring ;
|
src/main/antlr/BiaLexer.g4 | cubuspl42/bia | 4 | 3496 | lexer grammar BiaLexer;
// Keywords
If : 'if' ;
Then : 'then' ;
Else : 'else' ;
Val : 'val' ;
Return : 'return' ;
Def : 'def' ;
Or : 'or' ;
And : 'and' ;
Not ... |
oeis/199/A199492.asm | neoneye/loda-programs | 11 | 92102 | ; A199492: 11*7^n+1.
; 12,78,540,3774,26412,184878,1294140,9058974,63412812,443889678,3107227740,21750594174,152254159212,1065779114478,7460453801340,52223176609374,365562236265612,2558935653859278,17912549577014940,125387847039104574,877714929273732012,6144004504916124078,43008031534412868540,301056220740890079774,210... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.