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/236/A236682.asm | karttu/loda | 1 | 246388 | <gh_stars>1-10
; A236682: Values of a for triples (a,b,c) of positive integers such that 1/a + 1/b + 1/c = 1/2 and a <= b <= c, listed with multiplicity.
; 3,3,3,3,3,4,4,4,5,6
add $0,2
mov $1,2
lpb $0,1
sub $0,6
add $1,1
mul $0,2
lpe
|
PathInduction.agda | guillaumebrunerie/JamesConstruction | 5 | 15552 | {-# OPTIONS --without-K --rewriting #-}
module PathInduction where
open import Base public
-- The rewriting relation
{-<rewrite>-}
postulate
_↦_ : ∀ {i} {A : Type i} → A → A → Type i
{-# BUILTIN REWRITE _↦_ #-}
{-</>-}
-- We redefine concatenation of paths to use induction on both paths, in order
-- to make unif... |
programs/oeis/147/A147992.asm | neoneye/loda | 22 | 22252 | ; A147992: Sequence S such that 1 is in S and if x is in S, then 4x-1 and 4x+1 are in S.
; 1,3,5,11,13,19,21,43,45,51,53,75,77,83,85,171,173,179,181,203,205,211,213,299,301,307,309,331,333,339,341,683,685,691,693,715,717,723,725,811,813,819,821,843,845,851,853,1195,1197,1203,1205,1227,1229,1235,1237,1323,1325,1331,1333... |
_maps/obj38.asm | NatsumiFox/AMPS-Sonic-1-2005 | 2 | 24265 | <reponame>NatsumiFox/AMPS-Sonic-1-2005<filename>_maps/obj38.asm
; ---------------------------------------------------------------------------
; Sprite mappings - shield and invincibility stars
; ---------------------------------------------------------------------------
dc.w byte_143CD-Map_obj38, byte_143C2-Map_obj38... |
core/lib/two-semi-categories/GroupToCategory.agda | AntoineAllioux/HoTT-Agda | 294 | 15779 | <filename>core/lib/two-semi-categories/GroupToCategory.agda
{-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.types.Group
open import lib.groups.Homomorphism
open import lib.types.TwoSemiCategory
open import lib.two-semi-categories.Functor
module lib.two-semi-categories.GroupToCategory wh... |
oeis/168/A168067.asm | neoneye/loda-programs | 11 | 18484 | ; A168067: n*(n^7+1)/2.
; 0,1,129,3282,32770,195315,839811,2882404,8388612,21523365,50000005,107179446,214990854,407865367,737894535,1281445320,2147483656,3487878729,5509980297,8491781530,12800000010,18911429691,27437936779,39155492652,55037657100,76293945325,104413532301,141214768254,188900999182,250123206495,32805000... |
libsrc/_DEVELOPMENT/alloc/obstack/c/sccz80/obstack_grow_callee.asm | meesokim/z88dk | 0 | 173793 |
; ===============================================================
; Dec 2013
; ===============================================================
;
; int obstack_grow(struct obstack *ob, void *data, size_t size)
;
; Grow the current object by appending size bytes read from
; address data.
;
; ===========================... |
programs/oeis/096/A096472.asm | karttu/loda | 1 | 173912 | ; A096472: Numbers containing Pythagorean triples in their divisor set.
; 3600,7200,10800,14400,18000,21600,25200,28800,32400,36000,39600,43200,46800,50400,54000,57600,61200,64800,68400,72000,75600,79200,82800,86400,90000,93600,97200,100800,104400,108000,111600,115200,118800
mov $1,$0
mul $1,3600
add $1,3600
|
oeis/304/A304383.asm | neoneye/loda-programs | 11 | 24034 | ; A304383: a(n) = 36*2^n - 5 (n>=1).
; 67,139,283,571,1147,2299,4603,9211,18427,36859,73723,147451,294907,589819,1179643,2359291,4718587,9437179,18874363,37748731,75497467,150994939,301989883,603979771,1207959547,2415919099,4831838203,9663676411,19327352827,38654705659,77309411323,154618822651,309237645307,618475290619... |
src/asf-applications.adb | Letractively/ada-asf | 0 | 29466 | <gh_stars>0
-----------------------------------------------------------------------
-- applications -- Ada Web Application
-- Copyright (C) 2009, 2010, 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance ... |
oeis/065/A065234.asm | neoneye/loda-programs | 11 | 85779 | ; A065234: Fill a triangular array by rows by writing numbers 1 up to b(0), 1 up to b(1), etc., where b(n) are the decagonal numbers. The first elements of the rows form a(n).
; 1,1,3,6,10,5,11,18,26,8,18,29,41,2,16,31,47,64,82,16,36,57,79,102,126,25,51,78,106,135,165,21,53,86,120,155,191,228,34,73,113,154,196,239,283,... |
_maps/obj62.asm | vladjester2020/Sonic1TMR | 0 | 96806 | <gh_stars>0
; ---------------------------------------------------------------------------
; Sprite mappings - gargoyle head (LZ)
; ---------------------------------------------------------------------------
dc.w byte_12320-Map_obj62, byte_12320-Map_obj62
dc.w byte_12330-Map_obj62, byte_12336-Map_obj62
byte_123... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization7_pkg.ads | best08618/asylo | 7 | 28621 | <gh_stars>1-10
package Loop_Optimization7_Pkg is
pragma Pure;
type Rec is record
F : Float;
end record;
function Conv (Trig : Rec) return Rec;
end Loop_Optimization7_Pkg;
|
oeis/196/A196472.asm | neoneye/loda-programs | 11 | 81839 | <reponame>neoneye/loda-programs
; A196472: a(1)=1; a(n) = floor((3 + sqrt(21))*a(n-1)/2) for n > 1.
; Submitted by <NAME>
; 1,3,11,41,155,587,2225,8435,31979,121241,459659,1742699,6607073,25049315,94969163,360055433,1365073787,5175387659,19621384337,74390315987,282035100971,1069276250873,4053934055531,15369630919211,58... |
test/Fail/Issue1129b.agda | redfish64/autonomic-agda | 3 | 10864 | <filename>test/Fail/Issue1129b.agda
data _×_ (A B : Set) : Set where
_,_ : A → B → A × B
postulate
M : Set → Set
_>>=_ : ∀{A B : Set} → M A → (A → M B) → M B
infixr 1 bind
bind : _
bind = _>>=_
infix 0 id
id : ∀{A : Set} → A → A
id = λ x → x
syntax id x = do x
syntax bind ma (λ x → f) = x ← ma... |
programs/oeis/288/A288038.asm | neoneye/loda | 22 | 170063 | ; A288038: Number of independent vertex sets in the n-Andrasfai graph.
; 3,11,33,89,225,545,1281,2945,6657,14849,32769,71681,155649,335873,720897,1540097,3276801,6946817,14680065,30932993,65011713,136314881,285212673,595591169,1241513985,2583691265,5368709121,11140071425,23085449217,47781511169,98784247809,204010946561... |
autovectorization-tests/results/msvc19.28.29333-avx512/transform_abs.asm | clayne/toys | 0 | 7012 | _x$ = 8 ; size = 1
int <lambda_aef477b5112c5bc789d750d6e9e25197>::operator()(signed char)const PROC ; <lambda_aef477b5112c5bc789d750d6e9e25197>::operator(), COMDAT
movsx eax, BYTE PTR _x$[esp-4]
cdq
xor eax, edx
sub eax, edx
ret ... |
Main.asm | MathyFurret/CryEd | 1 | 161865 | <filename>Main.asm
; ======================================
; CryEd - cry editor for Pokémon Crystal
; ======================================
; Defines
include "Defines.asm"
; =============
; Reset vectors
; =============
section "Reset $00",rom0[$00]
CallHL: jp hl
section "Reset $08",rom0[$08]
FillRAM:... |
src/inotify.ads | onox/inotify-ada | 9 | 16841 | <filename>src/inotify.ads
-- 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.... |
programs/oeis/249/A249605.asm | neoneye/loda | 22 | 2495 | ; A249605: Dissectible numbers in the sense of Gunjikar and Kaprekar.
; 9,18,27,36,45,54,63,72,81,108,117,126,135,144,153,162,207,216,225,234,243,306,315,324,405
mov $2,$0
mov $0,0
add $2,1
mov $1,$2
lpb $2
add $1,$0
add $2,$0
add $0,2
sub $2,8
trn $2,1
lpe
sub $1,1
mul $1,9
add $1,9
mov $0,$1
|
nlp/src/main/antlr/nl/han/ica/ap/antlr/workshop/nlp/Nlp.g4 | ArjanO/ANTLR-Workshop | 1 | 6132 | <filename>nlp/src/main/antlr/nl/han/ica/ap/antlr/workshop/nlp/Nlp.g4
/*
Copyright (c) 2013 HAN University of Applied Sciences
<NAME>
<NAME>
<NAME>
<NAME>
<NAME>
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), t... |
programs/oeis/047/A047356.asm | neoneye/loda | 22 | 6391 | <filename>programs/oeis/047/A047356.asm
; A047356: Numbers that are congruent to {1, 3} mod 7.
; 1,3,8,10,15,17,22,24,29,31,36,38,43,45,50,52,57,59,64,66,71,73,78,80,85,87,92,94,99,101,106,108,113,115,120,122,127,129,134,136,141,143,148,150,155,157,162,164,169
mul $0,3
div $0,2
mul $0,14
div $0,6
add $0,1
|
alloy4fun_models/trashltl/models/8/Jy9TtE3uBLzYPt8LS.als | Kaixi26/org.alloytools.alloy | 0 | 1986 | open main
pred idJy9TtE3uBLzYPt8LS_prop9 {
all p : Protected | p not in Trash' and p.*link not in Trash'
}
pred __repair { idJy9TtE3uBLzYPt8LS_prop9 }
check __repair { idJy9TtE3uBLzYPt8LS_prop9 <=> prop9o } |
samples/proplist.adb | RREE/ada-util | 60 | 12686 | <gh_stars>10-100
-----------------------------------------------------------------------
-- proplist -- List the properties
-- Copyright (C) 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the Li... |
demos/brk.asm | 42Bastian/new_bll | 4 | 163601 | <reponame>42Bastian/new_bll
*****************
* BRK.ASM
* short program, that installs the BRK-server
* and then stops
*
* created : 15.08.96 by <NAME>
* changed
* 23.12.96 Baudrate is taken from the loader !
****************
BRKuser set 1
Baudrate set 62500
include <macros/help.m... |
src/Strem.g4 | woutervh-/stream-dsl | 0 | 6514 | grammar Strem;
source
: '(' source ')' #subSource
| left=source ',' right=source #follow
| left=source '|' right=source #merge
| left=source '->' sourceFactory #compose
| expression #singleSource
| name #namedSource
;
sourceFactory
: name #namedSourceFactory
| 'map' name #map
| 'filter' name #filt... |
grammars/fromStringToCharParser.g4 | RiccardoDeMasellis/FLLOAT | 9 | 7212 | grammar fromStringToCharParser;
@header{
package fromStringToCharParser;
}
options {
//language = java;
}
start
: expression EOF
;
expression
: string (LSEPARATOR string RSEPARATOR string)*
| string
;
string
: EVERYTHING
;
EVERYTHING : ~('{'|'}')+;
... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0xca_notsx.log_13_946.asm | ljhsiun2/medusa | 9 | 92545 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x10236, %rdi
nop
nop
nop
nop
nop
xor $14378, %r11
mov $0x6162636465666768, %r10
movq %r10, %xmm1
vmovups %ymm1, (%rdi)
nop
nop
sub ... |
sources/jupyter/jupyter-start_kernel-io_pubs.adb | reznikmm/jupyter | 4 | 14544 | -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
separate (Jupyter.Start_Kernel)
package body IO_Pubs is
------------
-- Stream --
------------
overriding procedure Stream
(Self : in out IO_Pub;
... |
FOLParser/FOL.g4 | lfm0006/FOLParser | 1 | 406 | /**
* FOL - Grammar for First-Order Logic
*/
grammar FOL;
prog
: COMMENT? sentence+ ENDLINE? EOF # sentenceClause
;
sentence
: formula # formulaClause
;
formula
: NOT formula # negationClause
| formula op=(BICOND | IMPLY | AND | OR) formula # connectiveClause
| qop=(FORALL | EXISTS) '(' va... |
source/adam-assist.adb | charlie5/aIDE | 3 | 23194 | <reponame>charlie5/aIDE
with
Ada.Strings.unbounded,
Ada.Strings.fixed;
package body AdaM.Assist
is
function identifier_Suffix (Id : in Identifier; Count : in Positive) return Identifier
is
use Ada.Strings,
Ada.Strings.fixed,
Ada.Strings.Unbounded;
the_Id : constant ... |
solutions/21 - Big Data/size-8_speed-21.asm | michaelgundlach/7billionhumans | 45 | 28771 | <filename>solutions/21 - Big Data/size-8_speed-21.asm
-- 7 Billion Humans (2053) --
-- 21: Big Data --
-- Author: soerface
-- Size: 8
-- Speed: 21
-- Speed Tests: 20, 22, 18, 20, 23, 23, 20, 23, 18, 22, 23
step sw
a:
if s != shredder:
step s
jump a
endif
b:
takefrom se
if myitem < 50:
giveto sw
jump b
endif
|
src/search-tokens.adb | stcarrez/ada-search | 9 | 11890 | -----------------------------------------------------------------------
-- search-tokens -- Search engine token representation
-- Copyright (C) 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the... |
src/extras/media/spectrum/ULAplus/linear_modes/radastan_mode/hwscroll/v224x144.asm | chipsi007/zesarux | 0 | 95636 | ;Picture viewer for Radastan mode (244x144x16)
;To generate a screen compatible with the Radastan mode:
; - Use a graphics tool, like Irfanview, to resize the picture to 128x96 with a palette of 16 colours
; - Save it as BMP without compression
; - Include it as a binary data into this source code
; To be assemb... |
res/checkKey.asm | Pusty/F0i | 0 | 97174 | %ifndef CHECK_KEY
%define CHECK_KEY
checkKey:
cmp ax, 0
jne .next
in al, 0x60
mov [last], al
and al, 01111111b
mov ah, 0
ret
.next:
mov al, [last]
shr al, 7
and al, 00000001b
xor al, 00000001b
mov ah, 0
ret
mov ax, 0
mov ah, 1
int 16h
jz .nokey
mov ax, 0
int 16h
ret
.nokey:
mov ax, 0
ret
... |
tests/tk-ttkwidget-test_data-tests.ads | thindil/tashy2 | 2 | 25879 | <filename>tests/tk-ttkwidget-test_data-tests.ads
-- This package has been generated automatically by GNATtest.
-- Do not edit any part of it, see GNATtest documentation for more details.
-- begin read only
with Gnattest_Generated;
package Tk.TtkWidget.Test_Data.Tests is
type Test is new GNATtest_Generated.GNAT... |
programs/oeis/008/A008624.asm | neoneye/loda | 22 | 85902 | <reponame>neoneye/loda<filename>programs/oeis/008/A008624.asm
; A008624: Expansion of (1+x^3)/((1-x^2)*(1-x^4)) = (1-x+x^2)/((1+x)*(1-x)^2*(1+x^2)).
; 1,0,1,1,2,1,2,2,3,2,3,3,4,3,4,4,5,4,5,5,6,5,6,6,7,6,7,7,8,7,8,8,9,8,9,9,10,9,10,10,11,10,11,11,12,11,12,12,13,12,13,13,14,13,14,14,15,14,15,15,16,15,16,16,17,16,17,17,18... |
state/logic_for_state_transition.als | nowavailable/alloy_als_study | 0 | 99 | <filename>state/logic_for_state_transition.als<gh_stars>0
module main
enum State { before, after }
// Boundaryは、何らかの1次元の位置、つまり何らかの値を表す。
sig Boundary { val: one Int }
sig Participant {
loto_num: one Boundary,
prize_num: lone Boundary,
// 状態変化を表現することを目的に付加したフィールド
meta_identifier: one Int,
meta_state: one Sta... |
Cubical/Experiments/NatMinusTwo/Properties.agda | dan-iel-lee/cubical | 0 | 5339 | <gh_stars>0
{-# OPTIONS --cubical --no-import-sorts --no-exact-split --safe #-}
module Cubical.Experiments.NatMinusTwo.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Data.Nat
open import Cubical.Data.NatMinusOne using (ℕ₋₁)
open import Cubical.E... |
libsrc/_DEVELOPMENT/math/float/math48/z80/am48_dldpush.asm | meesokim/z88dk | 0 | 176609 | <reponame>meesokim/z88dk
SECTION code_fp_math48
PUBLIC am48_dldpush
EXTERN am48_dload
am48_dldpush:
; load double from memory and push onto stack
;
; enter : hl = double *
;
; exit : AC = double x (*hl)
; stack = double x (*hl)
;
; uses : af, bc, de, hl
call am48_dload
e... |
ParallelProgramming-2/lab4/main.adb | smithros/kpi-stuff | 21 | 15225 |
-- Parallel and Distributed Computing
-- Laboratory work #4. <NAME>
-- Task: MA = (B*C)*MZ + min(Z)*(MX*MC)
-- <NAME> IO-71
with Ada.Text_IO, Ada.Integer_text_iO, Ada.Synchronous_Task_Control, Data;
use Ada.Text_IO, Ada.Integer_text_iO, Ada.Synchronous_Task_Control;
procedure main is
Value : Integer :=... |
system_volminus.scpt | yantze/applescript-player-control | 2 | 546 | set volume output volume (output volume of (get volume settings) - 10) --100%
|
src/natools-cron.adb | faelys/natools | 0 | 14104 | ------------------------------------------------------------------------------
-- Copyright (c) 2014-2017, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
Lab 6/Lab 6/Caden_Verzino_Felipe_OrricoScognamiglio_Lab6_Sourcecode.asm | felipeorrico/ECE375-Assembly | 0 | 175971 | <reponame>felipeorrico/ECE375-Assembly
;***********************************************************
;*
;* Caden_Verzino_Felipe_OrricoScognamiglio_Lab6_Sourcecode.asm
;*
;* This code will keep the bot moving forward until it hits
;* the left or right whisker. That event then triggers an
;* interrupt, and the neces... |
scripts/terminal.applescript | emacsmirror/osa | 19 | 17 | -- This is free and unencumbered software released into the public domain.
on terminal(p as string)
-- Open a new Terminal.app window and cd to p (if p is a directory)
-- or cd to directory of p (if p is a file)
tell application "Finder"
try
set p to (p as POSIX file)
... |
002-assembly/sample-x86.asm | dingjingmaster/learn-kernel | 0 | 165942 | <gh_stars>0
.text
.global _start
_start:
movl $1, %eax # 1 表示 32 位 系统 的 exit
int $0x80
|
ciphers/scop.asm | FloydZ/Crypto-Hash | 11 | 22003 | comment *
Algorithm : SCOP ( Stream Cipher )
Abstract : SCOP is a stream cipher specially designed for
optimal software performance on the Intel Pentium processor. The
computational cost of SCOP on this processor is 1.5 clock cycles
per byte of text. The cipher is designed around one key-dependent
... |
alloy/SinglyLinkedList.als | yosefsaputra/alloy-korat-benchmark | 1 | 3461 | //It should have one header as a starting Node, it can link to another Node or null.
one sig SLL {
header: lone Node
}
//Node has a link which can be another Node or null.
sig Node {
link: lone Node
}
//There should be no cycle.
pred acyclic (l : SLL) {
all n : l.header.*link | n !in n.^link
}
fact {
... |
Source/HBIOS/dsrtc.asm | b1ackmai1er/RomWBW | 1 | 14306 | ;
;==================================================================================================
; DALLAS SEMICONDUCTOR DS1302 RTC DRIVER
;==================================================================================================
;
; PROGRAMMING NOTES:
; - ALL SIGNALS ARE ACTIVE HIGH
; - DATA OUTP... |
stm32f4/stm32f411xx/svd/stm32_svd-adc.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 18744 | -- This spec has been automatically generated from STM32F411xx.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.ADC is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype SR_AWD_Field is STM32_SVD.Bit;... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/dcallee2.asm | meesokim/z88dk | 0 | 15020 | <filename>libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/dcallee2.asm<gh_stars>0
SECTION code_fp_math48
PUBLIC dcallee2
EXTERN cm48_sdcciyp_dcallee2
defc dcallee2 = cm48_sdcciyp_dcallee2
|
misc/Lib/switch_wifi.applescript | kinshuk4/evernote-automation | 4 | 219 | on run {flag}
tell application "System Events" to tell process "SystemUIServer"
set wifi_menu to (first menu bar item whose description contains "Wi-Fi") of menu bar 1
if flag = true then
if description of wifi_menu contains "not enabled" then
do shell script "networksetup -setairportpower en0 o... |
test/Fail/Issue1886-wrong-name.agda | alhassy/agda | 3 | 1443 | -- Andreas, 2016-12-30, issue #1886, reported by nad
--
-- Change of parameter names is an error.
-- Reason: the parameter names become names of hidden arguments
-- in the constructors. There should be no ambiguity.
data D (X : Set) : Set
data D (Y : Set) where
c : Y → D Y
|
src/Categories/Object/Coproduct.agda | FintanH/agda-categories | 0 | 17220 | <reponame>FintanH/agda-categories<filename>src/Categories/Object/Coproduct.agda
{-# OPTIONS --without-K --safe #-}
open import Categories.Category
module Categories.Object.Coproduct {o ℓ e} (𝒞 : Category o ℓ e) where
open import Level
open import Function using (_$_)
open Category 𝒞
open import Categories.Morphis... |
alloy/tp8/extraInmate.als | motapinto/feup-mfes | 0 | 2363 | <reponame>motapinto/feup-mfes
module exercises/prison
sig Gang {members: set Inmate}
sig Inmate {room: Cell}
sig Cell {}
//a
pred safe () {
all x, y : Inmate |
members.x != members.y => x.room != y.room}
//b
pred happy () {
all x, y : Gang.members | (x.room = y.room => one members.(x+y))
}
pred show (d... |
src/sym5n.agda | shinji-kono/Galois | 1 | 3039 | <reponame>shinji-kono/Galois
open import Level hiding ( suc ; zero )
open import Algebra
module sym5n where
open import Symmetric
open import Data.Unit
open import Function.Inverse as Inverse using (_↔_; Inverse; _InverseOf_)
open import Function
open import Data.Nat hiding (_⊔_) -- using (ℕ; suc; zero)
open import R... |
alloy4fun_models/trashltl/models/3/Xh6BwHbtNANEZMbgZ.als | Kaixi26/org.alloytools.alloy | 0 | 3389 | open main
pred idXh6BwHbtNANEZMbgZ_prop4 {
some f : File | eventually f in Trash
}
pred __repair { idXh6BwHbtNANEZMbgZ_prop4 }
check __repair { idXh6BwHbtNANEZMbgZ_prop4 <=> prop4o } |
oeis/140/A140824.asm | neoneye/loda-programs | 11 | 177841 | ; A140824: Expansion of (x-x^3)/(1-3*x+2*x^2-3*x^3+x^4).
; Submitted by <NAME>(s4)
; 0,1,3,6,15,41,108,281,735,1926,5043,13201,34560,90481,236883,620166,1623615,4250681,11128428,29134601,76275375,199691526,522799203,1368706081,3583319040,9381251041,24560434083,64300051206,168339719535,440719107401,1153817602668,3020733... |
hdes-dialect/hdes-ast/src/main/antlr4/imports/ExpressionParser.g4 | the-wrench-io/hdes-parent | 1 | 1369 | parser grammar ExpressionParser;
options { tokenVocab = HdesLexer; }
literal
: IntegerLiteral
| DecimalLiteral
| BooleanLiteral
| StringLiteral;
placeholderRule: Placeholder;
placeholderTypeName: placeholderRule | simpleTypeName;
simpleTypeName: Identifier;
typeName: placeholderTypeName | typeName '.' placeh... |
lab_12/not_my/main.asm | Winterpuma/bmstu_MDPL | 14 | 242164 | .386
.model flat, c
.listall
include template.inc
public macro_main
.code
macro_main proc near
create_func void, func, <x, y>, <esi, edi>
ret
macro_main endp
end |
3-mid/impact/source/2d/orbs/dynamics/contacts/impact-d2-orbs-contact-solver.adb | charlie5/lace | 20 | 1325 | <filename>3-mid/impact/source/2d/orbs/dynamics/contacts/impact-d2-orbs-contact-solver.adb
with ada.unchecked_Deallocation;
with impact.d2.orbs.Shape;
package body impact.d2.orbs.contact.Solver
is
use type int32;
B2_DEBUG_SOLVER : constant := 0;
function to_b2ContactSolver (contacts : in Contact.views;
... |
chrome/browser/ui/cocoa/applescript/examples/advanced_tab_manipulation.applescript | zealoussnow/chromium | 14,668 | 1598 | <reponame>zealoussnow/chromium<filename>chrome/browser/ui/cocoa/applescript/examples/advanced_tab_manipulation.applescript
-- Copyright (c) 2010 The Chromium Authors. All rights reserved.
-- Use of this source code is governed by a BSD-style license that can be
-- found in the LICENSE file.
tell application "Chromium"... |
libsrc/stdio/abc80/fgetc_cons.asm | meesokim/z88dk | 0 | 22866 | ;
; ABC80 Routines
;
; getkey() Wait for keypress
;
; Maj 2000 - <NAME>
;
;
; $Id: fgetc_cons.asm,v 1.4 2015/01/19 01:33:17 pauloscustodio Exp $
;
PUBLIC fgetc_cons
.fgetc_cons
ld a,(65013)
and 127
jr z,fgetc_cons
ld l,a
xor a
ld (65013),a
ld h,a
ret
|
test/Succeed/Issue3547.agda | hborum/agda | 2 | 7583 | <gh_stars>1-10
-- {-# OPTIONS --cubical -vtc.lhs.split.partial:20 #-}
{-# OPTIONS --cubical #-}
module _ where
open import Agda.Primitive.Cubical
open import Agda.Builtin.Equality
postulate
X : Set
P : I → Set
p : P i1
module Test (A : Set) (i : I) (B : Set) where
j = i
R = P j
module Z (r s : A) where
... |
stdlib-exts/Monads/Except.agda | WhatisRT/meta-cedille | 35 | 7426 | module Monads.Except where
open import Class.Monad
open import Class.Monad.Except
open import Monads.ExceptT
open import Monads.Identity
open import Level
private
variable
a : Level
A : Set a
Except : Set a -> Set a -> Set a
Except = ExceptT Id
instance
Except-Monad : Monad (Except A)
Except-Monad = E... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48_notsx.log_21829_972.asm | ljhsiun2/medusa | 9 | 82152 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %r8
push %rax
push %rdi
lea addresses_WT_ht+0x12219, %r15
nop
nop
and $4216, %rdi
movb $0x61, (%r15)
add $56886, %r13
lea addresses_D_ht+0xb091, %r14
inc %rax
movl $0x61626364, (%r14)
cmp %rax, %rax
lea addresses_A_ht+0xc319, %r14... |
src/main/fragment/mos6502-common/vbuyy_lt_vbum1_then_la1.asm | jbrandwood/kickc | 2 | 100424 | <gh_stars>1-10
cpy {m1}
bcc {la1}
|
tools/scitools/conf/understand/ada/ada95/s-valrea.ads | brucegua/moocos | 1 | 10938 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
programs/oeis/318/A318274.asm | karttu/loda | 0 | 167629 | ; A318274: Triangle read by rows: T(n,k) = n for 0 < k < n and T(n,0) = T(n,n) = 1.
; 1,1,1,1,2,1,1,3,3,1,1,4,4,4,1,1,5,5,5,5,1,1,6,6,6,6,6,1,1,7,7,7,7,7,7,1,1,8,8,8,8,8,8,8,1,1,9,9,9,9,9,9,9,9,1,1,10,10,10,10,10,10,10,10,10,1,1,11,11,11,11,11,11,11,11,11,11,1,1,12
mov $1,1
mov $2,$0
lpb $2,1
trn $3,$2
lpb $3,1
... |
programs/oeis/099/A099483.asm | jmorken/loda | 1 | 98151 | <reponame>jmorken/loda<filename>programs/oeis/099/A099483.asm
; A099483: A Fibonacci convolution.
; 0,1,3,7,18,48,126,329,861,2255,5904,15456,40464,105937,277347,726103,1900962,4976784,13029390,34111385,89304765,233802911,612103968,1602508992,4195423008,10983760033,28755857091,75283811239,197095576626
mov $4,2
mov $5,... |
MSDOS/Virus.MSDOS.Unknown.yanshort.asm | fengjixuchui/Family | 3 | 167463 | <reponame>fengjixuchui/Family
.MODEL SMALL
.CODE
comment /
Good luck!
<NAME>, CICT-BAS, december 1988
/
data_area struc ;Define a pattern for working data
;area
DS_save dw ?
ES_save dw ?
IP_save dw ?
CS_save dw ?
SS_save dw ?
filematch db '*.exe',00h ;Names for files to infect
matchall ... |
libmikeos/src.os/os_get_random.asm | mynameispyo/InpyoOS | 0 | 20376 |
; @@@ unsigned int mikeos_get_random(unsigned int low, unsigned int high);
%include "os_vector.inc"
section .text
use16
global _mikeos_get_random
_mikeos_get_random:
push bp
mov bp, sp
mov ax, [bp + 4]
mov bx, [bp + 6]
mov bp, os_get_random
call bp
mov ax, cx
pop bp
ret
|
Driver/Printer/PrintCom/UI/uiEval.asm | steakknife/pcgeos | 504 | 85708 |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: print drivers
FILE: uiEval.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
PrintEvalUI gets ui info from the ... |
src/FRP/LTL/ISet/Until.agda | agda/agda-frp-ltl | 21 | 1706 | open import Data.Product using ( _×_ )
open import FRP.LTL.ISet.Core using ( ISet ; ⌈_⌉ ; M⟦_⟧ )
open import FRP.LTL.Time using ( Time )
open import FRP.LTL.Time.Bound using ( fin ; _≺_ )
open import FRP.LTL.Time.Interval using ( [_⟩ ; sing )
module FRP.LTL.ISet.Until where
data _Until_ (A B : ISet) (t : Time) : Set ... |
examples/si7060/main.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 21693 | <filename>examples/si7060/main.adb
with Interfaces; use Interfaces;
with STM32_SVD; use STM32_SVD;
with Drivers.Text_IO;
with STM32GD.Board;
with Drivers.Si7060;
procedure Main is
package Temp_Sensor is new Drivers.Si7060 (Address => 16#32#, I2C => STM32GD.Board.I2C);
package Text_IO is new Drivers.Text_IO (USA... |
2018-11/retardedAO/AO-TP-EXOs/TP-EXO4.asm | djalilhebal/shit | 3 | 178535 | ; TP-EXO4: Reads a 2-digit number and prints it on the next line
pile segment para stack 'pile'
db 256 dup(0)
pile ends
data segment
buf db 2+1, ?, 2+1 dup(?) ; maxLength+1 + actualLength + data
; That +1 byte is for reading the enter character.
num db 13, 10, '00$' ; t... |
projects/Links_Awakening_gb_noconfig.windfish/disassembly/bank_09.asm | jverkoey/awaken | 68 | 166017 | SECTION "ROM Bank 09", ROMX[$4000], BANK[$09]
db $00, $42, $64, $42, $B5, $42, $16, $43
db $8B, $43, $D8, $43, $1F, $44, $0F, $45
db $6C, $45, $B8, $45, $10, $46, $61, $46
db $AB, $46, $24, $47, $8F, $47, $54, $48
db $A0, $48, $EF, $48, $46, $49, $68, $49
db $9F, $49, $DB, $49, $1E,... |
source/modules/basic/commands/for.asm | paulscottrobson/mega-basic | 3 | 83681 | ; *******************************************************************************************
; *******************************************************************************************
;
; Name : for.asm
; Purpose : FOR/NEXT Command
; Date : 30th August 2019
; Author : <NAME> (<EMAIL>)
;
; ******************... |
Transynther/x86/_processed/NC/_ht_zr_/i7-8650U_0xd2.log_21829_1659.asm | ljhsiun2/medusa | 9 | 244711 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xda1f, %r10
clflush (%r10)
nop
xor %r14, %r14
mov $0x6162636465666768, %r8
movq %r8, %xmm4
and $0xffffffffffffffc0, %r10
movntdq %xmm4, (%r10)
xor %r11, %r... |
projects/opengrok/opengrok-indexer/src/test/resources/analysis/ada/sample.adb | pwr-pbrwio/PBR20M2 | 5 | 21548 | --
-- CDDL HEADER START
--
-- The contents of this file are subject to the terms of the
-- Common Development and Distribution License (the "License").
-- You may not use this file except in compliance with the License.
--
-- See LICENSE.txt included in this distribution for the specific
-- language governing permissio... |
programs/oeis/065/A065262.asm | neoneye/loda | 22 | 8471 | <reponame>neoneye/loda<gh_stars>10-100
; A065262: The nonpositive side (-1, -2, -3, ...) of the site swap sequence A065261. The bisection of odd terms of A065261.
; 1,1,5,2,9,3,13,4,17,5,21,6,25,7,29,8,33,9,37,10,41,11,45,12,49,13,53,14,57,15,61,16,65,17,69,18,73,19,77,20,81,21,85,22,89,23,93,24,97,25,101,26,105,27,109... |
data/mapObjects/ssanne1.asm | adhi-thirumala/EvoYellow | 16 | 93242 | SSAnne1Object:
db $c ; border block
db $b ; warps
db $0, $1a, $1, VERMILION_DOCK
db $0, $1b, $1, VERMILION_DOCK
db $8, $1f, $0, SS_ANNE_8
db $8, $17, $1, SS_ANNE_8
db $8, $13, $2, SS_ANNE_8
db $8, $f, $3, SS_ANNE_8
db $8, $b, $4, SS_ANNE_8
db $8, $7, $5, SS_ANNE_8
db $6, $2, $6, SS_ANNE_2
db $f, $25, $5, S... |
programs/oeis/028/A028729.asm | neoneye/loda | 22 | 164664 | ; A028729: Nonsquares mod 16.
; 2,3,5,6,7,8,10,11,12,13,14,15
sub $2,$0
div $0,2
lpb $0
add $1,1
sub $0,$1
lpe
sub $1,$2
add $1,2
mov $0,$1
|
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca_notsx.log_21829_1496.asm | ljhsiun2/medusa | 9 | 11324 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x9c19, %r10
nop
nop
nop
add $5560, %r15
mov (%r10), %esi
nop
nop
nop
nop
nop
add $25768, %rax
lea addresses_UC_ht+0xaed9, %r14
nop
nop
sub %r10, %r10
mov $0x6162636465666768,... |
libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_size.asm | teknoplop/z88dk | 8 | 20284 |
; size_t b_array_size(b_array_t *a)
SECTION code_clib
SECTION code_adt_b_array
PUBLIC b_array_size
EXTERN asm_b_array_size
defc b_array_size = asm_b_array_size
|
src/Processors/Dump/project_processor-processors-dumping.adb | fintatarta/eugen | 0 | 19947 | <gh_stars>0
pragma Ada_2012;
with Ada.Text_IO; use Ada.Text_IO;
with EU_Projects.Nodes.Partners;
with EU_Projects.Nodes.Action_Nodes.WPs;
with EU_Projects.Nodes.Action_Nodes.Tasks;
with Project_Processor.Processors.Processor_Tables;
with EU_Projects.Times;
package body Project_Processor.Processors.Dumping is
use ... |
data/mapHeaders/lavenderhouse1.asm | adhi-thirumala/EvoYellow | 16 | 86147 | <reponame>adhi-thirumala/EvoYellow
LavenderHouse1_h:
db HOUSE ; tileset
db LAVENDER_HOUSE_1_HEIGHT, LAVENDER_HOUSE_1_WIDTH ; dimensions (y, x)
dw LavenderHouse1Blocks, LavenderHouse1TextPointers, LavenderHouse1Script ; blocks, texts, scripts
db $00 ; connections
dw LavenderHouse1Object ; objects
|
programs/oeis/205/A205219.asm | neoneye/loda | 22 | 161619 | ; A205219: Number of (n+1)X2 0..1 arrays with the number of equal 2X2 subblock diagonal pairs and equal antidiagonal pairs differing from each horizontal or vertical neighbor, and new values 0..1 introduced in row major order
; 8,20,52,132,340,868,2228,5700,14612,37412,95860,245508,628948,1610980,4126772,10570692,27077... |
skeleton/src/decaf/Decaf.g4 | schamp/compiler | 0 | 6305 | grammar Decaf;
options
{
language='Java';
}
BOOLEAN : 'boolean' ;
BREAK : 'break' ;
CALLOUT : 'callout' ;
CLASS : 'class' ;
CONTINUE : 'continue' ;
ELSE : 'else' ;
FALSE : 'false' ;
FOR : 'for' ;
IF : 'if' ;
INT : 'int' ;
RETURN : 'return' ;
TRUE : 'true' ;
VOID : 'void' ;
LCURLY : '{' ;
RCURLY : '}' ;
COMMA : ',... |
bb-runtimes/src/s-textio__leon.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 29624 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
benchmark/misc/Functor.agda | cruhland/agda | 1,989 | 4803 | <filename>benchmark/misc/Functor.agda
module Functor where
record IsEquivalence {A : Set} (_≈_ : A → A → Set) : Set where
field
refl : ∀ {x} → x ≈ x
sym : ∀ {i j} → i ≈ j → j ≈ i
trans : ∀ {i j k} → i ≈ j → j ≈ k → i ≈ k
record Setoid : Set₁ where
infix 4 _≈_
field
Carrier : Set
_≈_... |
programs/oeis/092/A092763.asm | neoneye/loda | 22 | 27608 | <filename>programs/oeis/092/A092763.asm
; A092763: a(n) = floor(3^n / n).
; 3,4,9,20,48,121,312,820,2187,5904,16104,44286,122640,341640,956593,2690420,7596480,21523360,61171656,174339220,498112057,1426411800,4093181688,11767897353,33891544377,97764070320,282429536481,817028301962,2366564736720,6863037736488,19924948267... |
alloy4fun_models/trashltl/models/5/Yb775P2uDGfRqicYf.als | Kaixi26/org.alloytools.alloy | 0 | 683 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idYb775P2uDGfRqicYf_prop6 {
all f : File | f in Trash => always f in Trash
}
pred __repair { idYb775P2uDGfRqicYf_prop6 }
check __repair { idYb775P2uDGfRqicYf_prop6 <=> prop6o } |
src/main/antlr4/com/github/rifttech/antlr4/Grammar.g4 | rifttech/boolean-expression-evaluator | 0 | 3259 | <filename>src/main/antlr4/com/github/rifttech/antlr4/Grammar.g4<gh_stars>0
grammar Grammar;
parse
: expression EOF
;
expression
: LPAREN expression RPAREN #parenExpression
| NOT expression #notExpression
| left=expression op1=binary_set_1 right=ex... |
bb-runtimes/src/s-bbbosu__8349e.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 3876 | <reponame>JCGobbi/Nucleo-STM32G474RE<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3224a.ada | best08618/asylo | 7 | 29564 | -- CC3224A.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... |
oldstuff/tigcc/PolySnd/sources/statique/GetFrequency_voice1.asm | bcherry/bcherry | 3 | 82063 | <reponame>bcherry/bcherry<gh_stars>1-10
section ".data"
xdef pSnd_GetFrequency_voice1
pSnd_GetFrequency_voice1:
move.w frequency_voice1,d0
rts |
alica-plan-designer-fx-codegeneration/src/main/antlr4/Comments.g4 | ajahl/alica-plan-designer-fx | 4 | 2981 | grammar Comments;
@header { package de.unikassel.vs.alica.generator.cpp.parser; }
options {
language = Java;
}
all_text : ((protected_region+ code*) | (protected_region* code+))+;
code : ((TEXT+ NUMBER* SIGNS* WHITESPACE*) | (TEXT* NUMBER+ SIGNS* WHITESPACE*) | (TEXT* NUMBER* SIGNS+ WHITESPACE*) | (TEXT* NUMBER... |
playscript/CommonLexer.g4 | luoyjx/simple-calc-parser | 0 | 1733 | lexer grammar CommonLexer;
Assignment: '=' ;
Or: '||';
And: '&&';
Not: '!';
Relational: '=='|'>'|'>='|'<' |'<=' ;
Add: '+' | '-';
Mul: '*' | '/';
Sharp: '#';
SemiColon: ';';
Dot: '.';
Comm: ',';
LeftBracket : '... |
src/test/resources/BetaParser.g4 | google/polymorphicDSL | 3 | 5554 | <reponame>google/polymorphicDSL<gh_stars>1-10
parser grammar BetaParser;
options { tokenVocab=BetaLexer; }
helloWorld : HELLO WORLD;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.