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 |
|---|---|---|---|---|
Waves HDMA Toolkit/examples/Heat.asm | MarioFanGamer/HDMA-Libraries | 0 | 97803 | <reponame>MarioFanGamer/HDMA-Libraries
; A test file which displays both a scrollable gradient and vertical waves on layer 1 and 2.
; To be inserted as a level.
!FreeRAM_GradBank = $7F ;\
!FreeRAM_RedGreen = $1343 ; | Just to note: These all belong together. That means, these addresses aren't supposed to be converted... |
oeis/207/A207165.asm | neoneye/loda-programs | 11 | 87226 | ; A207165: Number of n X 4 0..1 arrays avoiding 0 0 0 and 1 0 1 horizontally and 0 0 1 and 1 0 1 vertically.
; 9,81,261,603,1161,1989,3141,4671,6633,9081,12069,15651,19881,24813,30501,36999,44361,52641,61893,72171,83529,96021,109701,124623,140841,158409,177381,197811,219753,243261,268389,295191,323721,354033,386181,420... |
oeis/163/A163192.asm | neoneye/loda-programs | 11 | 163166 | ; A163192: a(n) = 20*a(n-1)-93*a(n-2) for n > 1; a(0) = 1, a(1) = 10.
; Submitted by <NAME>
; 1,10,107,1210,14249,172450,2123843,26439010,331262801,4166428090,52521121307,662944613770,8374427993849,105834710796370,1337872412499443,16914820145926450,213874268556080801,2704407097550456170,34197834975293608907,43244683943... |
src/parse_args-generic_discrete_array_options.adb | AntonMeep/parse_args | 9 | 23331 | -- parse_args-concrete.adb
-- A simple command line option parser
-- Copyright (c) 2014 - 2015, <NAME>
--
-- 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 co... |
programs/oeis/191/A191636.asm | jmorken/loda | 1 | 177394 | ; A191636: a(n) = floor((-1 + 4^n)/(-1 + 2*n)).
; 3,5,12,36,113,372,1260,4369,15420,55188,199728,729444,2684354,9942053,37025580,138547332,520602096,1963413621,7429132620,28192605840,107269427100,409120605684,1563749870614,5988829291716,22977549119237,88305875046480,339894311499660,1310138073416871,5056673265819504
mu... |
programs/oeis/047/A047219.asm | karttu/loda | 1 | 172427 | <reponame>karttu/loda<gh_stars>1-10
; A047219: Numbers that are congruent to {1, 3} mod 5.
; 1,3,6,8,11,13,16,18,21,23,26,28,31,33,36,38,41,43,46,48,51,53,56,58,61,63,66,68,71,73,76,78,81,83,86,88,91,93,96,98,101,103,106,108,111,113,116,118,121,123,126,128,131,133,136,138,141,143,146,148
mov $1,$0
mul $1,5
div $1,2
ad... |
boot/boot1.asm | ssbostan/zagros | 21 | 15608 |
; ====================== ZagrOS ======================
; Zagros Open Source Operating System
; <NAME> (<EMAIL>)
; Bostandoust.IR
; ====================== ZagrOS ======================
; ================ precompile section ================
#make_boot#
#load_segment=0000#
#load_offset=7c00h#
... |
tp_01_09/include/utils_64.asm | mjFer/TDIII-UTN-FRBA-TPS-2014 | 2 | 240909 | <gh_stars>1-10
;***********************************************************
; UTN-2014-UTILS
;***********************************************************
;***********************************************************
; Author : <NAME>
; Date : 23th May 2014
;*****************************************************... |
cmd/ILPLang.g4 | srlearn/linter | 1 | 3129 | // Copyright 2021 <NAME>
// Apache 2.0 License
/*
Some portions of this are based on the ANTLR `prolog.g4` example,
Copyright (c) 2013, <NAME>
Used under the terms of a 3-Clause BSD License, copied below:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the ... |
programs/oeis/276/A276861.asm | jmorken/loda | 1 | 171569 | ; A276861: First differences of the Beatty sequence A038130 for 2*Pi.
; 6,6,6,7,6,6,6,7,6,6,7,6,6,6,7,6,6,7,6,6,6,7,6,6,7,6,6,6,7,6,6,7,6,6,6,7,6,6,7,6,6,6,7,6,6,7,6,6,6,7,6,6,7,6,6,6,7,6,6,6,7,6,6,7,6,6,6,7,6,6,7,6,6,6,7,6,6,7,6,6,6,7,6,6,7,6,6,6,7,6,6,7,6,6,6,7,6,6,7,6,6,6,7,6,6,7,6,6,6,7,6,6,6,7,6,6,7,6,6,6,7,6,6,7,... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_38_80.asm | ljhsiun2/medusa | 9 | 92497 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_38_80.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rcx
lea addresses_D_ht+0x1a30f, %rcx
cmp %r13, %r13
mov (%rcx), %r12
sub %r13, %r13
lea addresses_D_ht+0x1cf0f, %r10
nop
nop
nop
nop
nop
cmp $23575... |
programs/oeis/011/A011864.asm | karttu/loda | 1 | 538 | <reponame>karttu/loda<filename>programs/oeis/011/A011864.asm
; A011864: [ n(n-1)/11 ].
; 0,0,0,0,1,1,2,3,5,6,8,10,12,14,16,19,21,24,27,31,34,38,42,46,50,54,59,63,68,73,79,84,90,96,102,108,114,121,127,134,141,149,156,164,172,180,188,196,205,213,222,231,241,250,260,270,280,290,300,311,321,332,343,355
bin $0,2
mov $1,$0
... |
1571/64tass/frets.asm | silverdr/assembly | 23 | 245175 |
jsr wrtbm
frets jmp ptch33
frets2 sec
bne fre10 ; free already
lda (bmpnt),y ; not free, free it
ora bmask,x
sta (bmpnt),y
jsr dtybam
ldy t0 ; point to blks free
clc
lda (bmpnt),y
adc #1 ; add one
... |
examples/GUIgeneric/GUIFeatures.agda | stephanadls/state-dependent-gui | 2 | 15822 | <reponame>stephanadls/state-dependent-gui
module GUIgeneric.GUIFeatures where
open import GUIgeneric.Prelude
open import GUIgeneric.GUIDefinitions renaming (add to add'; add' to add)
open import GUIgeneric.GUI
open import GUIgeneric.GUIExampleLib
open import StateSizedIO.GUI.WxGraphicsLibLevel3
open Interfaceˢ publ... |
lib/newbrain_crt0.asm | RC2014Z80/z88dk | 8 | 86773 | <reponame>RC2014Z80/z88dk
;
; Grundy NewBrain startup code
;
;
; $Id: newbrain_crt0.asm,v 1.20 2016-07-15 21:03:25 dom Exp $
;
MODULE newbrain_crt0
;--------
; Include zcc_opt.def to find out some info
;--------
defc crt0 = 1
INCLUDE "zcc_opt.def"
;--------
; Some scop... |
test/succeed/Issue365.agda | np/agda-git-experiment | 1 | 2928 | -- {-# OPTIONS -v tc.cover.cover:10 -v tc.cover.splittree:100 -v tc.cover.strategy:100 -v tc.cc:100 #-}
module Issue365 where
{- Basic data types -}
data Nat : Set where
zero : Nat
succ : Nat -> Nat
data Fin : Nat -> Set where
fzero : {n : Nat} -> Fin (succ n)
fsucc : {n : Nat} -> Fin n -> Fin (succ n)
data Vec... |
script/visible_windows_script.applescript | pomali/thyme | 1 | 545 | <filename>script/visible_windows_script.applescript
on logWindow(proc, each_window)
try
log "WINDOW " & (id of each_window) & ":" & (name of each_window) as string
on error e
log "WINDOW " & (id of proc) & ":" & (name of each_window) as string
end try
end logWindow
set nonElectronProcesses to {}
tell app... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48004f.ada | best08618/asylo | 7 | 22587 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48004f.ada
-- C48004F.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
-- unlimi... |
alloy4fun_models/trashltl/models/11/XwMSGNFsTL28KgBMz.als | Kaixi26/org.alloytools.alloy | 0 | 2983 | open main
pred idXwMSGNFsTL28KgBMz_prop12 {
eventually always all f:File | f in Trash implies always f in Trash'
}
pred __repair { idXwMSGNFsTL28KgBMz_prop12 }
check __repair { idXwMSGNFsTL28KgBMz_prop12 <=> prop12o } |
problems/024/a024.adb | melwyncarlo/ProjectEuler | 0 | 26619 | with Ada.Text_IO;
with Ada.Strings.Fixed;
-- Copyright 2021 <NAME>
procedure A024 is
use Ada.Text_IO;
use Ada.Strings.Fixed;
N_Max : constant Integer := 10;
I : constant Integer := 1_000_000;
Numbers : array (Integer range 1 .. N_Max) of String (1 .. 1) :=
("0", "1", "2", "3", "4",... |
include/xcb_util.ads | docandrew/troodon | 5 | 19686 | <filename>include/xcb_util.ads
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package xcb_util is
end xcb_util;
|
programs/oeis/040/A040132.asm | neoneye/loda | 22 | 82023 | <filename>programs/oeis/040/A040132.asm
; A040132: Continued fraction for sqrt(145).
; 12,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24
pow $1,$0
gcd $1,2
mul $1,12
mov $0,$1
|
week1/two_tasks.adb | adammw/rtp_labs | 0 | 2927 | with Ada.Text_IO;
use Ada.Text_IO;
procedure Two_Tasks is
T1 : constant := 1.1;
T2 : constant := 2.67;
task Thread1;
task Thread2;
task body Thread1 is begin
loop Put_Line("Thread 1 calling!");
delay T1;
end loop;
end Thread1;
task body Thread2 is begin
loop Put_Line("Thread 2 calling... |
programs/oeis/054/A054608.asm | neoneye/loda | 22 | 12640 | ; A054608: a(n) = Sum_{d|9} phi(d)*n^(9/d).
; 0,9,540,19755,262296,1953405,10078164,40354335,134218800,387422001,1000002060,2357950419,5159783880,10604503845,20661052356,38443366215,68719485024,118587886425,198359302140,322687711611,512000016120
mov $1,$0
pow $0,8
add $0,6
mov $2,$1
mov $3,$1
mov $1,$0
mul $1,$2
mov $... |
Unixql.g4 | ReeceJones/unixql | 0 | 1352 | grammar Unixql;
program : SELECT columns FROM table where? ';';
column : VARIABLE | VARIABLE ',';
columns : ALL | column_selection+=column+;
table : VARIABLE;
where : WHERE condition;
condition : VARIABLE '=' STRING;
SELECT : 'select';
FROM : 'from';
WHERE : 'where';
ALL : '*';
VARIABLE : [A-Za-z_][A-Za-z0-9_]*;
STR... |
game/cstb/compiler_routines/not_found.asm | benoitryder/super-tilt-bro | 91 | 175233 | ; Functions assumed to be present by the compiler
.(
#iflused memcpy
;TODO preserve _r0 and _r1 to return the expected value
&memcpy:
.(
dest_lsb = _r0
dest_msb = _r1
src_lsb = _r2
src_msb = _r3
size_lsb = _r4
size_msb = _r5
ldy #0
copy_one_byte:
; Size check
lda size_msb
bne copy_it
lda size_lsb
b... |
MSDOS/Virus.MSDOS.Unknown.c-627.asm | fengjixuchui/Family | 3 | 160000 | <filename>MSDOS/Virus.MSDOS.Unknown.c-627.asm
name Virus
title Virus; based on the famous VHP-648 virus
.radix 16
code segment
assume cs:code,ds:code
org 100
environ equ 2C
start:
jmp virus
int 20
data label byte ... |
source/oasis/program-elements-formal_signed_integer_type_definitions.ads | optikos/oasis | 0 | 15709 | <reponame>optikos/oasis<filename>source/oasis/program-elements-formal_signed_integer_type_definitions.ads<gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Formal_Type_... |
lib/Haskell/Prim/Real.agda | ioanasv/agda2hs | 1 | 13111 | <filename>lib/Haskell/Prim/Real.agda
module Haskell.Prim.Real where
open import Haskell.Prim
open import Haskell.Prim.Ord
open import Haskell.Prim.Enum
open import Haskell.Prim.Num
open import Haskell.Prim.Eq
open import Haskell.Prim.Int
open import Haskell.Prim.Integer
-- infixr 8 _^_ _^^_
-- infixl 7 _/_ _`quot`_... |
oeis/051/A051397.asm | neoneye/loda-programs | 11 | 16525 | ; A051397: a(n) = (2*n-2)*(2*n-1)*a(n-1)+1.
; Submitted by <NAME>
; 0,1,7,141,5923,426457,46910271,7318002277,1536780478171,418004290062513,142957467201379447,60042136224579367741,30381320929637160076947,18228792557782296046168201,12796612375563171824410077103,10390849248957295521420982607637,96634898015302848349215138... |
3-mid/physics/implement/c_math/source/thin/c_math_c-vector_3.ads | charlie5/lace | 20 | 1503 | -- This file is generated by SWIG. Please do *not* modify by hand.
--
with Interfaces.C;
package c_math_c.Vector_3 is
-- Item
--
type Item is record
x : aliased c_math_c.Real;
y : aliased c_math_c.Real;
z : aliased c_math_c.Real;
end record;
-- Items
--
type Items is
arra... |
electives/pw/lab/lista-3/ada/node.adb | jerry-sky/academic-notebook | 4 | 14465 |
package body Node is
task body NodeStash is
stash: pMessage := null;
exitTask: Boolean := False;
begin
loop
select
accept SendMessage(message: pMessage) do
stash := message;
end SendMessage;
or
... |
src/intel/tools/tests/gen6/mach.asm | SoftReaper/Mesa-Renoir-deb | 0 | 16064 | mach(8) g12<1>UD g10<8,8,1>UD 0xaaaaaaabUD { align1 1Q AccWrEnable };
mach(8) g16<1>D g10<8,8,1>D 1431655766D { align1 1Q AccWrEnable };
mach(16) g17<1>UD g14<8,8,1>UD 0xaaaaaaabUD { align1 1H AccWrEnable };
mach(16) g25<1>D g14<8,8,1>D ... |
programs/oeis/054/A054469.asm | jmorken/loda | 1 | 167298 | ; A054469: A second-order recursive sequence.
; 1,7,28,85,218,499,1053,2092,3970,7272,12958,22596,38739,65535,109714,182185,300620,493635,807555,1317360,2144396,3485032,5657028,9174560,14869613,24088399,39009168,63156437,102233030,165466347,267786673,433351756,701249694,1134726400,1836115954,2970998420,4807288015,77784... |
RAM2.asm | esihaj/MIPS-Multi-Cycle | 0 | 2546 | <gh_stars>0
10000110 // push 6 ( 85)
11000011// JMP 3
10000011//push 3 (135 )
10000111//push 7 (170)
01000000//AND
11101000//JZ 8
01010101//AND
10101010//POP 10
01100000//NOT
|
lab9/lab10/DlinaStroki.asm | Panda-Lewandowski/Assembler | 5 | 161555 | .386
.model FLAT,C
PUBLIC DlinaStroki
.CODE
DlinaStroki:
PUSH EBP
MOV EBP, ESP
PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI, [EBP+8]
MOV ECX, -1
MOV AL, 0
CLD
REPNZ SCASB
ADD ECX, 1
NEG ECX
MOV EAX, ECX
POP EBX
POP ESI
POP EDI
MOV ESP, EBP
POP EBP
... |
programs/oeis/275/A275437.asm | jmorken/loda | 1 | 163547 | <gh_stars>1-10
; A275437: Triangle read by rows: T(n,k) is the number of 01-avoiding binary words of length n having degree of asymmetry equal to k (n >= 0; 0 <= k <= floor(n/2)).
; 1,2,2,1,2,2,2,2,1,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,... |
sharding-parser/sharding-parser-postgresql/src/main/antlr4/imports/postgresql/PostgreSQLDCLStatement.g4 | sopeLi/incubator-shardingsphere | 2 | 1747 | <gh_stars>1-10
grammar PostgreSQLDCLStatement;
import PostgreSQLKeyword, Keyword, Symbol, PostgreSQLBase, BaseRule, DataType;
grant
: GRANT (privileges_ ON onObjectClause_ | ignoredIdentifiers_)
;
revoke
: REVOKE (GRANT OPTION FOR)? (privileges_ ON onObjectClause_ | ignoredIdentifiers_)
;
privileges... |
bb-runtimes/runtimes/zfp-stm32g474/gnat/s-secsta.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 5454 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
languages/Define.g4 | phodal/coe | 0 | 5802 | grammar Define;
compilationUnit
: symbolDeclaration* defineDeclaration? normalDeclarations* EOF
;
symbolDeclaration
: SYMBOL_TEXT IDENTIFIER STRING_LITERAL
;
normalDeclarations
: systemDeclaration
| moduleDeclaration
;
SYMBOL_TEXT: 'symbol';
//SPECIAL_SYMBOL: SYMBOLS;
//Define
defineDe... |
smsq/gold/qimi.asm | olifink/smsqe | 0 | 242863 | ; Gold Card Qimi Driver V2.00 1998 <NAME>
section header
xref smsq_end
include 'dev8_keys_stella_bl'
include 'dev8_smsq_smsq_base_keys'
include 'dev8_smsq_smsq_config_keys'
header_base
dc.l gl_qimi-header_base ; length of header
dc.l 0 ; module length unknown
dc.l smsq_end-gl_qimi ; loaded ... |
test/Succeed/Issue2223c.agda | shlevy/agda | 1,989 | 11191 | <gh_stars>1000+
module _ where
open import Agda.Primitive
module _ (a ℓ ℓ' : Level) where
mutual
X : Level
X = _ -- Agda 2.5.1.1 solves this level meta
hyp : Set₁
hyp with (lsuc ℓ')
... | _ = Set
where
X<=a : Set (X ⊔ a) → Set a
X<=a A = A
test : Set₁
test with... |
programs/oeis/330/A330246.asm | neoneye/loda | 22 | 26656 | <reponame>neoneye/loda<gh_stars>10-100
; A330246: a(n) = 4^(n+1) + (4^n-1)/3.
; 4,17,69,277,1109,4437,17749,70997,283989,1135957,4543829,18175317,72701269,290805077,1163220309,4652881237,18611524949,74446099797,297784399189,1191137596757,4764550387029,19058201548117,76232806192469,304931224769877,1219724899079509
mov ... |
oeis/259/A259410.asm | neoneye/loda-programs | 11 | 174832 | <gh_stars>10-100
; A259410: a(n) = 1 - sigma(n) + sigma(n)^2 - sigma(n)^3 + sigma(n)^4.
; 1,61,205,2101,1111,19141,3641,47461,26521,99451,19141,593461,35855,318505,318505,894661,99451,2255605,152381,3039331,1016801,1634221,318505,12747541,894661,3039331,2497561,9661961,783871,26505721,1016801,15506821,5200081,8348455,5... |
1-source-files/main-sources/revs-oultonpark.asm | markmoxon/revs-beebasm | 11 | 242932 | <reponame>markmoxon/revs-beebasm
\ ******************************************************************************
\
\ REVS OULTON PARK TRACK SOURCE
\
\ Revs was written by <NAME> and is copyright Acornsoft 1985
\
\ The code on this site has been reconstructed from a disassembly of the
\ original game binaries
\
\ The c... |
src/Magma/Definitions.agda | Akshobhya1234/agda-NonAssociativeAlgebra | 2 | 9552 | <filename>src/Magma/Definitions.agda
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary.Core
module Magma.Definitions
{a ℓ} {A : Set a} -- The underlying set
(_≈_ : Rel A ℓ) -- The underlying equality
where
open import Algebra.Core
open import Data.Product
Alternativeˡ : Op₂ A → Set _
Altern... |
src/smart_ptrs/unique_ptrs.ads | jhumphry/auto_counters | 5 | 30381 | <reponame>jhumphry/auto_counters<gh_stars>1-10
-- unique_ptrs.ads
-- A "unique pointer" type similar to that in C++
-- Copyright (c) 2016, <NAME>
--
-- 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 ... |
Transynther/x86/_processed/NC/_st_zr_un_/i9-9900K_12_0xca.log_21829_1781.asm | ljhsiun2/medusa | 9 | 96202 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x387f, %r13
nop
nop
nop
add $29586, %r12
and $0xffffffffffffffc0, %r13
vmovntdqa (%r13), %ymm1
vextracti128 $0, %ymm1, %xmm1
vpextrq $1, %xmm1, %rsi
nop
add %rdi, %rdi
lea addresses_UC... |
programs/oeis/315/A315707.asm | jmorken/loda | 1 | 241926 | <filename>programs/oeis/315/A315707.asm
; A315707: Coordination sequence Gal.5.295.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,6,12,17,23,29,35,41,46,52,58,64,70,75,81,87,93,99,104,110,116,122,128,133,139,145,151,157,162,168,... |
programs/oeis/134/A134494.asm | neoneye/loda | 22 | 7266 | ; A134494: a(n) = Fibonacci(6n+2).
; 1,21,377,6765,121393,2178309,39088169,701408733,12586269025,225851433717,4052739537881,72723460248141,1304969544928657,23416728348467685,420196140727489673,7540113804746346429,135301852344706746049,2427893228399975082453,43566776258854844738105,781774079430987230203437,1402836665349... |
bddisasm_test/basic/address_16.asm | andreaswimmer/bddisasm | 675 | 96103 | bits 16
;
; 16 bit addressing
;
mov ax, word [bp]
mov ax, word [0x7FFF]
mov ax, word [bx + 0x7F]
mov ax, word [bx + 0x7FFF]
mov ax, word [bp + di]
mov ax, word [bp + si]
;
; 32 bit addressing
;
mov ax, word [ecx]
mov a... |
include/sf-network-ftp.adb | Fabien-Chouteau/ASFML | 0 | 2003 | <filename>include/sf-network-ftp.adb
--//////////////////////////////////////////////////////////
-- //
-- // SFML - Simple and Fast Multimedia Library
-- // Copyright (C) 2007-2009 <NAME> (<EMAIL>)
-- //
-- // This software is provided 'as-is', without any express or implied warranty.
-- // In no event will the author... |
programs/oeis/020/A020331.asm | neoneye/loda | 22 | 12095 | <filename>programs/oeis/020/A020331.asm
; A020331: Numbers whose base-3 representation is the juxtaposition of two identical strings.
; 4,8,30,40,50,60,70,80,252,280,308,336,364,392,420,448,476,504,532,560,588,616,644,672,700,728,2214,2296,2378,2460,2542,2624,2706,2788,2870,2952,3034,3116,3198,3280,3362,3444,3526,3608,... |
alloy4fun_models/trashltl/models/7/zW3yDQGsQSwXHqc7t.als | Kaixi26/org.alloytools.alloy | 0 | 1577 | <gh_stars>0
open main
pred idzW3yDQGsQSwXHqc7t_prop8 {
always (all f:File| some f.*link implies eventually f.*link in Trash)
}
pred __repair { idzW3yDQGsQSwXHqc7t_prop8 }
check __repair { idzW3yDQGsQSwXHqc7t_prop8 <=> prop8o } |
ln.asm | akhilsinghal1234/xv6-OS | 1 | 86788 | <filename>ln.asm<gh_stars>1-10
_ln: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc push... |
Experiment/Categories/Solver/Category.agda | rei1024/agda-misc | 3 | 16311 | -- Solver for Category
{-# OPTIONS --without-K --safe #-}
open import Categories.Category
module Experiment.Categories.Solver.Category {o ℓ e} (𝒞 : Category o ℓ e) where
open import Level
open import Relation.Binary using (Rel)
import Categories.Morphism.Reasoning as MR
open Category 𝒞
open HomReasoning
open MR... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3019b2.ada | best08618/asylo | 7 | 2914 | <reponame>best08618/asylo
-- CC3019B2M.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 cont... |
programs/oeis/327/A327253.asm | jmorken/loda | 1 | 15579 | ; A327253: a(n) = floor(2*n*r) - 2*floor(n*r), where r = sqrt(6).
; 0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,... |
tests/generic-unit/src/generic_unit.ads | TUM-EI-RCS/StratoX | 12 | 6139 | <reponame>TUM-EI-RCS/StratoX
-- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
-- Module: CRC-8
--
-- Authors: <NAME> (<EMAIL>)
--
-- Description: Checksum according to fletcher's algorithm
generic
type Index_Type is (<>);
type Element_Typ... |
oeis/001/A001205.asm | neoneye/loda-programs | 11 | 103993 | ; A001205: Number of clouds with n points; number of undirected 2-regular labeled graphs; or number of n X n symmetric matrices with (0,1) entries, trace 0 and all row sums 2.
; Submitted by <NAME>
; 1,0,0,1,3,12,70,465,3507,30016,286884,3026655,34944085,438263364,5933502822,86248951243,1339751921865,22148051088480,388... |
jkind-common/src/jkind/lustre/parsing/Lustre.g4 | porw1492/jkind | 0 | 4392 | grammar Lustre;
program: (typedef | constant | node)* EOF;
typedef: 'type' ID '=' topLevelType ';';
constant: 'const' ID (':' type)? '=' expr ';';
node:
'node' ID '(' input=varDeclList? ')'
'returns' '(' output=varDeclList? ')' ';'
('var' local=varDeclList ';')?
'let'
(equation | property | assertion | ... |
MIPS.asm | seta21/AssemblySwag | 0 | 92617 |
# Коментарі позначені як'#'
# Всі символи після '#' ігноруються лексичним аналізатором асемблера.
# Зазвичай програми поділяються на .data та .text частини
.data # У цьому розділі дані зберігаються у пам'яті, виділеній в RAM, подібно до змінних
# в мовах програмування вищого рівня
# Змінна оголошується насту... |
ubb/asc/lab08/a.asm | AlexanderChristian/private_courses | 0 | 12264 | <reponame>AlexanderChristian/private_courses
assume cs:code, ds:data
data segment
a dw 12345
digits dw 0
base dw 0
baseError db 'Input only 1 or 2.', 0ah, 0dh, '$'
msgInput db 'Please input 1(for base 10), 2(for base 2)', 0ah, 0dh, '$'
newLine db 0ah, 0dh, '$' ; -new line character
data ends
code segment
start... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_1481.asm | ljhsiun2/medusa | 9 | 97093 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x14267, %r13
nop
nop
nop
nop
xor $19810, %r9
movups (%r13), %xmm5
vpextrq $0, %xmm5, %rbx
nop
nop
nop
nop
dec %rcx
lea addresses_UC_ht+0xf35f, %rsi
lea addresses_A_ht+0x1044f, %rdi
and $... |
exercises/practice/matching-brackets/.meta/example.asm | jonboland/x86-64-assembly | 21 | 20856 | ;
; Make sure the brackets and braces all match.
;
; Parameters:
; rdi - str
; Returns:
; rax - true if paired, else false
;
section .text
global is_paired
is_paired:
push rbp
mov rbp, rsp
xor eax, eax ; Initialize return value
cmp byte [rdi], 0 ; Check if input string is empty
... |
Task/Safe-addition/Ada/safe-addition-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 19051 | <reponame>LaudateCorpus1/RosettaCodeData
function "+" (A, B : Float) return Interval is
Result : constant Float := A + B;
begin
if Result < 0.0 then
if Float'Machine_Rounds then
return (Float'Adjacent (Result, Float'First), Float'Adjacent (Result, 0.0));
else
return (Float'Adjacent (... |
oeis/349/A349966.asm | neoneye/loda-programs | 11 | 102075 | ; A349966: a(n) = Sum_{k=0..n} (k * (n-k))^n.
; Submitted by <NAME>
; 1,0,1,16,418,17600,1086979,92223488,10292241540,1462309109760,257739952352133,55188518041440256,14111052911099343782,4246668467339066589184,1485904567816768099571207,598145009954138900489830400,274481405112174773400358826504,1424349705834803008793738... |
src/main/java/com/datascience9/mysql/parse/MySqlLexer.g4 | gmai2006/grammar | 1 | 529 | <gh_stars>1-10
/*
MySQL (Positive Technologies) grammar
The MIT License (MIT).
Copyright (c) 2015-2017, <NAME> (<EMAIL>), Positive Technologies.
Copyright (c) 2017, <NAME> (<EMAIL>)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "So... |
programs/oeis/157/A157716.asm | karttu/loda | 0 | 24253 | ; A157716: One-eighth of triangular numbers (integers only).
; 0,15,17,62,66,141,147,252,260,395,405,570,582,777,791,1016,1032,1287,1305,1590,1610,1925,1947,2292,2316,2691,2717,3122,3150,3585,3615,4080,4112,4607,4641,5166,5202,5757,5795,6380,6420,7035,7077,7722,7766,8441,8487,9192,9240,9975,10025,10790,10842,11637,1169... |
example_notification.scpt | Kaceykaso/AppleScripts | 0 | 4180 | <filename>example_notification.scpt
--This will display a Mavericks Notification Center banner, and will take in the Notification Center until cleared
try
display notification "This is a notification" with title "Title" subtitle "Subtitle"
end try
|
irvene/array_parity.asm | ratedali/assembly-exercises | 1 | 93691 | section .data
array: dd 1,2,3,4,5,6
nbytes equ $-array
parity_even: db "Even!",0
parity_odd: db "Odd!",0
section .text
global _main
extern _printf
_main:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov ... |
CaesarCipher.asm | Kiro47/CaesarCipher | 1 | 14921 | <gh_stars>1-10
#Name: __STRIPPED__
#Username: __STRIPPED__
#Description: This program performs a Caesar Cipher of specified shifting on capital letters of words.
#email: __STRIPPED__
#DateCreated: 10-04-16
#DateLastRevised: 10-08-16
##########################################
#Begin
####################################... |
routines/mainmenu.asm | PeterTillema/Age-Of-CEmpires-I | 20 | 85425 | MainMenu:
ld de, mpLcdPalette
ld hl, blackBuffer
ld bc, 256*2
ldir
ld hl, vRAM
ld (hl), 094h
ld de, vRAM + 1
ld bc, lcdWidth * lcdHeight - 1
ldir
dispCompressedImage logo_compressed_offset, 72, 32
ld hl, pal_sprites
call fadeIn
ld a, 200
call _DelayTenTimesAms
call fadeOut
ld de, vRAM
ld hl, blackBuffe... |
components/components-salesforce/components-salesforce-runtime/src/main/antlr4/Soql.g4 | vdrokov/components-1 | 53 | 4382 | grammar Soql;
@header {
package org.talend.components.salesforce.soql.parser;
}
// Fragments
fragment A : 'a' | 'A' ;
fragment B : 'b' | 'B' ;
fragment C : 'c' | 'C' ;
fragment D : 'd' | 'D' ;
fragment E : 'e' | 'E' ;
fragment F : 'f' | 'F' ;
fragment G : 'g' | 'G' ;
fragment H : 'h' | 'H' ;
fragment I : 'i' | 'I' ;... |
oeis/017/A017022.asm | neoneye/loda-programs | 11 | 18619 | <reponame>neoneye/loda-programs
; A017022: a(n) = (7*n + 3)^6.
; 729,1000000,24137569,191102976,887503681,3010936384,8303765625,19770609664,42180533641,82653950016,151334226289,262144000000,433626201009,689869781056,1061520150601,1586874322944,2313060765625,3297303959104,4608273662721,6327518887936,8550986578849,113906... |
src/glueck_1989.asm | JoshRodd/HOWARD | 0 | 95445 | <filename>src/glueck_1989.asm
; This is a source version GLUECK.SYS. It builds
; the same version as Version 1.01, 8 June 1989
; if the welcome banner is set to the same as
; that version.
;
; GLUECK.SYS takes no parameters. It will load an
; 8x16 font that is embedded starting at org 18h,
; uncompressed, 4,096 bytes ... |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_21829_314.asm | ljhsiun2/medusa | 9 | 8594 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x763e, %rsi
lea addresses_WC_ht+0x132de, %rdi
nop
nop
nop
nop
sub $31585, %rbx
mov $3, %rcx
rep movsq
cmp $55128, %r11
lea addresses_UC_ht+0x151e, %rsi
lea addresses_A_ht+0xf7c6, %rdi
... |
src/framework/blake3/blake3_avx512_x86-64_windows_msvc.asm | kipoujr/no_repetition | 0 | 100257 | public _blake3_hash_many_avx512
public blake3_hash_many_avx512
public blake3_compress_in_place_avx512
public _blake3_compress_in_place_avx512
public blake3_compress_xof_avx512
public _blake3_compress_xof_avx512
_TEXT SEGMENT ALIGN(16) 'CODE'
ALIGN 16
blake3_hash_many_avx512 PROC
_blake3_hash_many_avx512 PROC
... |
source/conformance/conformance-run.adb | mgrojo/protobuf | 12 | 26631 | -- MIT License
--
-- Copyright (c) 2020 <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... |
oeis/100/A100148.asm | neoneye/loda-programs | 11 | 20782 | ; A100148: Structured small rhombicosidodecahedral numbers.
; Submitted by <NAME>
; 1,60,285,784,1665,3036,5005,7680,11169,15580,21021,27600,35425,44604,55245,67456,81345,97020,114589,134160,155841,179740,205965,234624,265825,299676,336285,375760,418209,463740,512461,564480,619905,678844,741405,807696,877825,951900,103... |
programs/oeis/081/A081205.asm | neoneye/loda | 22 | 92225 | ; A081205: Staircase on Pascal's triangle.
; 1,3,10,20,70,126,462,792,3003,5005,19448,31824,125970,203490,817190,1307504,5311735,8436285,34597290,54627300,225792840,354817320,1476337800,2310789600,9669554100,15084504396,63432274896,98672427616,416714805914,646626422970,2741188875414,4244421484512,18053528883775,2790090... |
ASM/attack2.asm | dequeb/asmbattle | 0 | 83969 | <reponame>dequeb/asmbattle
START: MOV A, SP ; current position
MOV B, END ; program area
INC B
MOV C, 0x9999 ; marker value
LOOP: CMP A, B ; while A != B
JE END
MOV [B], C
INC B
JMP LOOP
END: HLT
|
alloy4fun_models/trainstlt/models/2/z6aXKETuHcsbktDy9.als | Kaixi26/org.alloytools.alloy | 0 | 385 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idz6aXKETuHcsbktDy9_prop3 {
all t : Train | always lone t.pos
}
pred __repair { idz6aXKETuHcsbktDy9_prop3 }
check __repair { idz6aXKETuHcsbktDy9_prop3 <=> prop3o } |
gcc-gcc-7_3_0-release/gcc/ada/s-osinte-darwin.adb | best08618/asylo | 7 | 27474 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
simple_http-rfc_7230_7231.ads | annexi-strayline/ASAP-Simple_HTTP | 0 | 10369 | ------------------------------------------------------------------------------
-- --
-- Simple HTTP --
-- --
-- ... |
rom0/xchannel.asm | nagydani/zx-rom-mods | 15 | 5430 | <reponame>nagydani/zx-rom-mods<gh_stars>10-100
CLOSESTRM2:
DEFB "X"
DEFB CLOSEX - $
DEFB 0
CLOSEX: LD HL,BANK_M
LD A,(HL)
OR A
JR NZ,CLOSE_NX
PUSH DE ; save letter address
INC DE
INC DE
LD A,(DE) ; reclaim bank
LD BC,$7FFD
LD (HL),A
OUT (C),A
LD A,(BANK_F)
LD ($FFFF),A
LD A,(HL)
LD (BANK_F),A
XOR A... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_22.asm | ljhsiun2/medusa | 9 | 163258 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x191f, %rax
sub %r12, %r12
mov $0x6162636465666768, %rbx
movq %rbx, %xmm5
vmovups %ymm5, (%rax)
nop
nop
nop
nop
nop
add $29735, %r8
lea addresses_WT_ht+0x1ae23, %rsi
lea a... |
programs/oeis/091/A091629.asm | karttu/loda | 1 | 176723 | ; A091629: Product of digits associated with A091628(n). Essentially the same as A007283.
; 6,12,24,48,96,192,384,768,1536,3072,6144,12288,24576,49152,98304,196608,393216,786432,1572864,3145728,6291456,12582912,25165824,50331648,100663296,201326592,402653184,805306368,1610612736,3221225472
mov $1,2
pow $1,$0
mul $1,6
|
getpal.asm | CelestialAmber/tobutobugirl-dx | 47 | 5555 | <gh_stars>10-100
_get_bkg_palette::
dec sp
ldhl sp,#(4 - 1)
ld c, (hl)
inc hl
ld b, (hl)
ldhl sp,#0
ld (hl), #0x00
00105$:
ld de, #0xff68
ldhl sp,#0
ld a, (hl)
ld (de), a
00101$:
ld a, (#0xff41)
bit 1, a
jr NZ,00101$
ld a, (#0xff69)
ld (bc), a
inc bc
ldhl sp,#0
inc (hl)
ld a, (hl)
sub a, #0x40
jr ... |
alloy4fun_models/trashltl/models/9/TgAqMesvA72PPHMfk.als | Kaixi26/org.alloytools.alloy | 0 | 4592 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idTgAqMesvA72PPHMfk_prop10 {
always(all f: (File & Protected) | always f in Protected)
}
pred __repair { idTgAqMesvA72PPHMfk_prop10 }
check __repair { idTgAqMesvA72PPHMfk_prop10 <=> prop10o } |
programs/oeis/100/A100855.asm | neoneye/loda | 22 | 12096 | <filename>programs/oeis/100/A100855.asm<gh_stars>10-100
; A100855: n*(n^3-n^2+n+1)/2.
; 0,1,7,33,106,265,561,1057,1828,2961,4555,6721,9582,13273,17941,23745,30856,39457,49743,61921,76210,92841,112057,134113,159276,187825,220051,256257,296758,341881,391965,447361,508432,575553,649111,729505,817146,912457,1015873,1127841... |
asm/src/long_boot.asm | jrasky/kernel | 0 | 12277 | <filename>asm/src/long_boot.asm
global _lboot
extern _lstart
section .boot_text
bits 64
_lboot:
;; jump to actual entry
jmp _lstart
|
src/arch/x86_64/kernel/multiboot2.asm | SydOS/Star | 13 | 88523 | <reponame>SydOS/Star
;
; File: multiboot2.asm
;
; Copyright (c) 2017-2018 <NAME>, <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 ... |
Numbers/Naturals/Exponentiation.agda | Smaug123/agdaproofs | 4 | 2764 | <reponame>Smaug123/agdaproofs
{-# OPTIONS --warning=error --safe --without-K #-}
open import LogicalFormulae
open import Numbers.Naturals.Definition
open import Numbers.Naturals.Addition
open import Numbers.Naturals.Multiplication
open import Numbers.Naturals.Order
module Numbers.Naturals.Exponentiation where
_^N_ :... |
tools/configure/configure-tests-operating_system.adb | svn2github/matreshka | 24 | 4225 | <filename>tools/configure/configure-tests-operating_system.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
projects/batfish/src/main/antlr4/org/batfish/grammar/flatvyos/FlatVyos_protocols.g4 | zabrewer/batfish | 763 | 946 | parser grammar FlatVyos_protocols;
import FlatVyos_common, FlatVyos_bgp;
options {
tokenVocab = FlatVyosLexer;
}
s_protocols
:
PROTOCOLS s_protocols_tail
;
s_protocols_static
:
STATIC s_protocols_static_tail
;
s_protocols_static_tail
:
statict_route
;
s_protocols_tail
:
s_protocols_bgp
| s_proto... |
OvmfPkg/XenResetVector/Ia32/Flat32ToFlat64.asm | nicklela/edk2 | 3,012 | 246935 | ;------------------------------------------------------------------------------
; @file
; Transition from 32 bit flat protected mode into 64 bit flat protected mode
;
; Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
; Copyright (c) 2019, Citrix Systems, Inc.
;
; SPDX-License-Identifier: B... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34008a.ada | best08618/asylo | 7 | 8913 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34008a.ada
-- C34008A.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
-- unlimi... |
Expr.g4 | victorfernandesraton/antlr-compiler | 0 | 527 | grammar Expr;
// rules
prog: (expr NEWLINE)* ;
expr: expr ('*'|'/') expr
| expr ('+'|'-') expr
| INT
| '(' expr ')'
;
//Tokens
NEWLINE : [\r\n]+ ;
INT : [0-9]+ ;
SUM: '+';
SUB: '-';
MULTI: '*';
DIV: '/';
// define que quando encontrar o withespace o mesmo será ignorado
WHITESPACE: [ \t]+ -> skip;
|
programs/oeis/055/A055962.asm | jmorken/loda | 1 | 84020 | <gh_stars>1-10
; A055962: n + reversal of base 12 digits of n (written in base 10).
; 0,2,4,6,8,10,12,14,16,18,20,22,13,26,39,52,65,78,91,104,117,130,143,156,26,39,52,65,78,91,104,117,130,143,156,169,39,52,65,78,91,104,117,130,143,156,169,182,52,65,78,91,104,117,130,143,156,169,182,195,65,78
mov $2,$0
cal $0,56961 ; B... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.