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 |
|---|---|---|---|---|
oeis/124/A124791.asm | neoneye/loda-programs | 11 | 168999 | <gh_stars>10-100
; A124791: Row sums of number triangle A124790.
; Submitted by <NAME>
; 1,1,1,3,5,13,29,73,181,465,1205,3171,8425,22597,61073,166195,454949,1251985,3461573,9611191,26787377,74916661,210178457,591347989,1668172841,4717282753,13369522249,37970114703,108045430901
add $0,1
mov $1,1
mov $3,$0
mov $4,1
lpb ... |
oeis/130/A130068.asm | neoneye/loda-programs | 11 | 82621 | <gh_stars>10-100
; A130068: Maximal power of 2 dividing the binomial coefficient binomial(m, 2^k) where m >= 1 and 1 <= 2^k <= m.
; Submitted by <NAME>(w1)
; 0,1,0,0,0,2,1,0,0,1,0,1,0,0,0,0,0,3,2,1,0,0,2,1,0,1,0,1,0,0,0,1,0,2,1,0,0,0,1,0,0,1,0,0,0,0,0,0,0,4,3,2,1,0,0,3,2,1,0,1,0,2,1,0,0,0,2,1,0,2,1,0,1,0,0,1,0,1,0,1,0,... |
agda/Data/Sum/Properties.agda | oisdk/combinatorics-paper | 4 | 14607 | <reponame>oisdk/combinatorics-paper<gh_stars>1-10
{-# OPTIONS --cubical --safe --postfix-projections #-}
module Data.Sum.Properties where
open import Prelude
open import Data.Sum
open import Data.Bool
sumAsSigma : A ⊎ B ≃ Σ[ x ⦂ Bool ] (if x then A else B)
sumAsSigma = isoToEquiv $
iso
(either (true ,_) (false... |
Eq/ObsTheory.agda | msullivan/godels-t | 4 | 15671 | module Eq.ObsTheory where
open import Prelude
open import T
open import DynTheory
open import SubstTheory
open import Contexts
open import Eq.Defs
open import Eq.KleeneTheory
open ObservEq
---- Proofs about observational equivalence
-- observational equivalence being an equiv reln follows trivially from kleene equiv... |
object.adb | jrcarter/Ada_GUI | 19 | 25152 | <reponame>jrcarter/Ada_GUI
-- --
-- package Object.Tasking Copyright (c) <NAME> --
-- Implementation Luebeck --
-- Winter, 2009 --
-- Mult... |
src/babel-base-text.adb | stcarrez/babel | 1 | 24579 | <gh_stars>1-10
-----------------------------------------------------------------------
-- babel-base -- Database for files
-- Copyright (C) 2014 Stephane.Carrez
-- Written by Stephane.Carrez (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compl... |
GCCio.asm | Sahilsinggh/MP_SEM4 | 1 | 244652 | ;GCC scanf and printf function for input and output of double (8bytes)
extern printf,scanf
%macro _printf 1
pop qword[stack];
mov rdi,formatpf;
movsd xmm0,qword[%1];
mov rax,1;
call printf;
push qword[stack];
%endmacro
%macro _scanf 1
pop qword[stack];
mov rdi,formatsf;
mov rsi,rsp;
call scanf
mov rax,q... |
Express.g4 | lutaml/express-grammar | 1 | 644 | grammar Express;
// A.1.5 Interpreted identifiers
attributeRef
: attributeId
; // 150
constantRef
: constantId
; // 151
entityRef
: entityId
; // 152
enumerationRef
: enumerationId
; // 153
functionRef
: functionId
; // 154
parameterRef
: parameterId
; // 155
procedureRef
: procedureId
; // 156
r... |
pwnlib/shellcraft/templates/amd64/mov.asm | magnologan/pwntools | 0 | 18654 | <%
from pwnlib.util import lists, packing, fiddling, misc
from pwnlib import constants
from pwnlib.context import context as ctx # Ugly hack, mako will not let it be called context
from pwnlib.log import getLogger
log = getLogger('pwnlib.shellcraft.amd64.mov')
%>
<%page args="dest, src, stack_allowed = True"/... |
data/maps/headers/CeladonMart3F.asm | opiter09/ASM-Machina | 1 | 26069 |
map_header CeladonMart3F, CELADON_MART_3F, LOBBY, 0
end_map_header
|
source/oasis/program-lexical_elements.ads | reznikmm/gela | 0 | 9102 | <filename>source/oasis/program-lexical_elements.ads
-- SPDX-FileCopyrightText: 2019-2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package Program.Lexical_Elements is
pragma Pure;
type Lexical_Element is limited interface;
type Lexic... |
generated/natools-static_maps-web-fallback_render-commands.ads | faelys/natools-web | 1 | 3775 | <reponame>faelys/natools-web<gh_stars>1-10
package Natools.Static_Maps.Web.Fallback_Render.Commands is
pragma Pure;
function Hash (S : String) return Natural;
end Natools.Static_Maps.Web.Fallback_Render.Commands;
|
mp3/sched1.asm | Candy-Crusher/ece220 | 0 | 166483 | <filename>mp3/sched1.asm
.ORIG x4000
.FILL 16 ; values
.STRINGZ "samplelabel"
.FILL 3
.FILL 8 ; values
.STRINGZ "one"
.FILL 3
.FILL 6 ; values
.STRINGZ "two"
.FILL 3
.FILL 31 ; values
.STRINGZ "three"
.FILL 4
.FILL 1 ; values
.STRINGZ "four"
.FILL 3
.FILL 21 ; values
.STRINGZ "seven"
.FILL 6... |
programs/oeis/136/A136008.asm | neoneye/loda | 22 | 243345 | ; A136008: a(n) = n^6 - n^2.
; 0,0,60,720,4080,15600,46620,117600,262080,531360,999900,1771440,2985840,4826640,7529340,11390400,16776960,24137280,34011900,47045520,63999600,85765680,113379420,148035360,191102400,244140000,308915100,387419760,481889520,594822480,728999100,887502720,1073740800,1291466880,1544803260,18382... |
Transynther/x86/_processed/AVXALIGN/_zr_un_/i3-7100_9_0x84_notsx.log_21829_1225.asm | ljhsiun2/medusa | 9 | 178131 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_zr_un_/i3-7100_9_0x84_notsx.log_21829_1225.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x7e18, %rsi
lea addresses_UC_ht+0x19478, %rdi
clflush (... |
programs/oeis/006/A006454.asm | karttu/loda | 1 | 169048 | ; A006454: Solution to a Diophantine equation: each term is a triangular number and each term + 1 is a square.
; 0,3,15,120,528,4095,17955,139128,609960,4726275,20720703,160554240,703893960,5454117903,23911673955,185279454480,812293020528,6294047334435,27594051024015,213812329916328,937385441796000,7263325169820735,318... |
source/web/servlet/http/servlet-http_requests.ads | svn2github/matreshka | 24 | 10257 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
data/mapHeaders/PewterPokecenter.asm | AmateurPanda92/pokemon-rby-dx | 9 | 173055 | <filename>data/mapHeaders/PewterPokecenter.asm
PewterPokecenter_h:
db POKECENTER ; tileset
db PEWTER_POKECENTER_HEIGHT, PEWTER_POKECENTER_WIDTH ; dimensions (y, x)
dw PewterPokecenter_Blocks ; blocks
dw PewterPokecenter_TextPointers ; texts
dw PewterPokecenter_Script ; scripts
db 0 ; connections
dw PewterPokecen... |
oeis/269/A269907.asm | neoneye/loda-programs | 11 | 100027 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A269907: Number of active (ON,black) cells at stage 2^n-1 of the two-dimensional cellular automaton defined by "Rule 1", based on the 5-celled von Neumann neighborhood.
; Submitted by <NAME>(s2.)
; 1,4,44,220,956,3964,16124,65020,261116,1046524,4190204,16769020,67092476... |
java/src/main/antlr4/io/rapidpro/expressions/Excellent.g4 | greatnonprofits-nfp/ccl-expressions | 1 | 7896 | grammar Excellent;
COMMA : ',';
LPAREN : '(';
RPAREN : ')';
PLUS : '+';
MINUS : '-';
TIMES : '*';
DIVIDE : '/';
EXPONENT : '^';
EQ : '=';
NEQ : '<>';
LTE : '<=';
LT : '<';
GTE : '>=';
GT : '>';
AMPERSAND : '&';
DECIMAL : [0-9]+('.... |
issues/Issue81/Definition07d.agda | asr/apia | 10 | 15360 | ------------------------------------------------------------------------------
-- Testing the translation of definitions
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymor... |
programs/oeis/168/A168224.asm | karttu/loda | 0 | 82713 | <gh_stars>0
; A168224: Where record values occur in A168223.
; 0,5,7,11,17,19,23,29,31,35,41,43,47,53,55,59,65,67,71,77,79,83,89,91,95,101,103,107,113,115,119,125,127,131,137,139,143,149,151,155,161,163,167,173,175,179,185,187,191,197,199,203,209,211,215,221,223,227,233
mov $2,2
mov $4,$0
cmp $0,6
add $0,1
sub $4,1
mo... |
legend-pure-m3-core/src/main/antlr4/org/finos/legend/pure/m3/serialization/grammar/m3parser/antlr/M3Parser.g4 | msbg/legend-pure | 1 | 4364 | parser grammar M3Parser;
options
{
tokenVocab = M3Lexer;
}
definition: imports
(
profile
| classDefinition
| association
| enumDefinition
| nativeFunction
| functionDefinition
| instance
... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_5_230.asm | ljhsiun2/medusa | 9 | 105566 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %rbp
push %rcx
push %rdi
lea addresses_WT_ht+0x1cc8, %rcx
nop
cmp %r14, %r14
movb $0x61, (%rcx)
nop
sub %rdi, %rdi
lea addresses_normal_ht+0x5584, %rcx
xor %r14, %r14
movw $0x6162, (%rcx)
add $50193, %r11
pop %rdi
pop %rcx
pop %rbp
pop %r14
pop %r11
... |
software/driver/px4io-protocol.ads | TUM-EI-RCS/StratoX | 12 | 1171 | --***************************************************************************
--
-- Copyright (c)2_0122_014 PX4 Development Team. All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions
-- are met:
--
-- 1. Red... |
Library/NetUtils/address.asm | steakknife/pcgeos | 504 | 5641 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
PROJECT: socket
MODULE: network utilities library
FILE: address.asm
AUTHOR: <NAME>, Oct 31, 1994
ROUTINES:
Name Description
---- -------... |
archive/agda-2/Oscar/Level.agda | m0davis/oscar | 0 | 2892 | <filename>archive/agda-2/Oscar/Level.agda
module Oscar.Level where
open import Agda.Primitive public
using ()
renaming (Level to Ł̂; lzero to Ø̂; lsuc to ↑̂_; _⊔_ to _+̂_)
open import Agda.Primitive public
using ()
renaming (Level to Ł̂; lzero to lzero; lsuc to lsuc; _⊔_ to _⊔_)
𝑶 : ∀ a → Set (lsuc a)
𝑶 a... |
oeis/226/A226459.asm | neoneye/loda-programs | 11 | 166416 | <gh_stars>10-100
; A226459: a(n) = Sum_{d|n} phi(d^d), where phi(n) is the Euler totient function A000010(n).
; Submitted by <NAME>
; 1,3,19,131,2501,15573,705895,8388739,258280345,4000002503,259374246011,2972033498453,279577021469773,4762288640230761,233543408203127519,9223372036863164547,778579070010669895697,1311546... |
Engine Hacks/Strmag/Strmag/Str Mag Split/Prep Screen and Mag Booster/Mag Stat Booster Cap Check.asm | sme23/Christmas2 | 3 | 170648 | .thumb
.org 0x0
mov r2,r4
add r2,#0x3A
ldrb r1,[r2] @mag
ldr r0,[r4,#0x4]
ldrb r0,[r0,#0x4]
lsl r0,#0x2
ldr r3,MagClassCap
add r0,r3
ldrb r0,[r0,#0x2]
cmp r1,r0
ble NotOverCap
strb r0,[r2]
NotOverCap:
mov r2,#0x1D
ldsb r2,[r4,r2]
mov r1,#0x12
ldsb r1,[r7,r1]
mov r0,#0xF
sub r0,r0,r1
cmp r2,r0
bx r14
.... |
libsrc/_DEVELOPMENT/target/scz180/device/csio/sdcc/csio_sd_write_block_fastcall.asm | Frodevan/z88dk | 640 | 2663 | <reponame>Frodevan/z88dk
SECTION code_driver
PUBLIC _sd_write_block_fastcall
EXTERN asm_sd_write_block
;Write a block of 512 bytes (one sector) from (HL++) to the drive
;
;input HL = pointer to block to write
;uses AF, BC, DE, HL
defc _sd_write_block_fastcall = asm_sd_write_block
|
mdexplorer.applescript | neuroklinik/mdexplorer | 0 | 1888 | -- mdexplorer.applescript
-- mdexplorer
-- Created by <NAME> on 1/9/06.
-- Copyright 2006 __MyCompanyName__. All rights reserved.
on will finish launching theObject
(* Setting up the mdAttributes data source *)
set mdAttributesDS to data source of table view "mdAttributes" of scroll view "mdAttributes" of split v... |
data/pokemon/base_stats/sinnoh/shieldon.asm | Dev727/ancientplatinum | 0 | 16312 | db 0 ; 410 DEX NO
db 30, 42, 118, 30, 42, 88
; hp atk def spd sat sdf
db ROCK, STEEL ; type
db 45 ; catch rate
db 99 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F12_5 ; gender ratio
db 100 ; unknown 1
db 30 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/sinnoh/shieldon/front... |
oeis/134/A134636.asm | neoneye/loda-programs | 11 | 244613 | <reponame>neoneye/loda-programs
; A134636: Triangle formed by Pascal's rule given borders = 2n+1.
; Submitted by <NAME>
; 1,3,3,5,6,5,7,11,11,7,9,18,22,18,9,11,27,40,40,27,11,13,38,67,80,67,38,13,15,51,105,147,147,105,51,15,17,66,156,252,294,252,156,66,17,19,83,222,408,546,546,408,222,83,19,21,102,305,630,954,1092,954,... |
1-base/lace/applet/demo/event/distributed/source/chat-client-local.ads | charlie5/lace | 20 | 8302 | with
lace.Any;
private
with
lace.make_Subject,
lace.make_Observer,
ada.Strings.unbounded;
package chat.Client.local
--
-- Provides a local client.
-- Names must be unique.
--
is
type Item is limited new lace.Any.limited_item
and chat.Client .item with private;
ty... |
libsrc/_DEVELOPMENT/adt/ba_priority_queue/c/sccz80/ba_priority_queue_empty.asm | jpoikela/z88dk | 640 | 169564 |
; int ba_priority_queue_empty(ba_priority_queue_t *q)
SECTION code_clib
SECTION code_adt_ba_priority_queue
PUBLIC ba_priority_queue_empty
EXTERN asm_ba_priority_queue_empty
defc ba_priority_queue_empty = asm_ba_priority_queue_empty
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _ba_priority_queue_empty
defc _ba_pr... |
programs/oeis/098/A098500.asm | neoneye/loda | 22 | 10531 | ; A098500: Number of squares on infinite quarter chessboard at <=n knight moves from the corner.
; 1,3,12,32,59,91,130,176,229,289,356,430,511,599,694,796,905,1021,1144,1274,1411,1555,1706,1864,2029,2201,2380,2566,2759,2959,3166,3380,3601,3829,4064,4306,4555,4811,5074,5344,5621,5905,6196,6494,6799,7111,7430
mov $1,$0
... |
lang/french/ynaq.asm | olifink/smsqe | 0 | 176427 | <reponame>olifink/smsqe<filename>lang/french/ynaq.asm
; Reply strings for query V2.00 1990 <NAME> QJUMP
section language
include 'dev8_mac_text'
mktext ynch,{ONTQ}
mktext ynaq,{O/N/T/Q}
mktext yn,{O ou N}
end
|
source/streams/machine-w64-mingw32/s-naioso.ads | ytomino/drake | 33 | 6668 | pragma License (Unrestricted);
-- implementation unit specialized for Windows
with C.psdk_inc.qip_types;
with C.psdk_inc.qsocket_types;
with C.ws2tcpip;
package System.Native_IO.Sockets is
pragma Preelaborate;
pragma Linker_Options ("-lws2_32");
type Port_Number is range 0 .. 16#ffff#;
subtype Socket_Add... |
programs/oeis/040/A040255.asm | neoneye/loda | 22 | 162669 | ; A040255: Continued fraction for sqrt(272).
; 16,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32,2,32
sub $0,1
mod $0,2
mul $0,11
add $0,2
pow $0,2
div $0,11
mul $0,2
add $0,2
|
programs/oeis/029/A029609.asm | jmorken/loda | 1 | 11810 | ; A029609: Central numbers in the (2,3)-Pascal triangle A029600.
; 1,5,15,50,175,630,2310,8580,32175,121550,461890,1763580,6760390,26001500,100291500,387793800,1502700975,5834015550,22687838250,88363159500,344616322050,1345644686100,5260247409300,20583576819000,80619009207750,316026516094380,1239796332370260,4867348564... |
Mockingbird/Problems/Chapter13.agda | splintah/combinatory-logic | 1 | 4011 | <reponame>splintah/combinatory-logic
open import Mockingbird.Forest using (Forest)
-- A Gallery of Sage Birds
module Mockingbird.Problems.Chapter13 {b ℓ} (forest : Forest {b} {ℓ}) where
open import Function using (_$_)
open import Data.Product using (proj₂)
open import Mockingbird.Forest.Birds forest
import Mockingb... |
Ada/inc/Problem_51.ads | Tim-Tom/project-euler | 0 | 312 | <gh_stars>0
package Problem_51 is
procedure Solve;
end Problem_51;
|
projects/batfish/src/batfish/grammar/logicblox/LogiQLParser.g4 | luispedrosa/batfish | 0 | 5134 | parser grammar LogiQLParser;
options {
superClass = 'batfish.grammar.BatfishParser';
tokenVocab = LogiQLLexer;
}
@header {
package batfish.grammar.logicblox;
}
alias_all
:
ALIAS_ALL LEFT_PAREN GRAVE VARIABLE
(
COLON VARIABLE
)* RIGHT_PAREN
;
block
:
BLOCK LEFT_PAREN GRAVE blockname = VARIABL... |
source/bios/joy.asm | arbruijn/d2gl | 0 | 179216 | ; THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
; SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
; END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
; ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
; IN USING, DIS... |
ada/src/nymph.ada | Watch-Later/NymphRPC | 52 | 29345 | <gh_stars>10-100
-- nymph.ada - Main package file for the NymphRPC package.
--
-- Revision 0
--
-- 2018/09/24, <NAME>
package nymph is
-- public
private
--
end nymph;
|
src/helios-monitor-sysfile.ads | stcarrez/helios | 1 | 10275 | -----------------------------------------------------------------------
-- helios-monitor-sysfile -- Generic system file monitor
-- 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 t... |
oeis/099/A099618.asm | neoneye/loda-programs | 11 | 97736 | ; A099618: a(n) = 1 if the n-th prime == 1 mod 6, otherwise a(n) = 0.
; Submitted by <NAME>(w4)
; 0,0,0,1,0,1,0,1,0,0,1,1,0,1,0,0,0,1,1,0,1,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,1,1,0,0,0,1,0,1,0,1,1,1,0,1,0,0,1,0,0,0,0,1,1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,1,1,0,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0,0,1,0,1,0,0,0,1,1
trn $0,1
seq $0,65091... |
_build/dispatcher/jmp_ippsMontInit_032ad735.asm | zyktrcn/ippcp | 1 | 17165 | <gh_stars>1-10
extern m7_ippsMontInit:function
extern n8_ippsMontInit:function
extern y8_ippsMontInit:function
extern e9_ippsMontInit:function
extern l9_ippsMontInit:function
extern n0_ippsMontInit:function
extern k0_ippsMontInit:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
segment .data
... |
bugs/bug17a.ada | daveshields/AdaEd | 3 | 17953 | -- If you comment out the Nested_Package.Comment_Out_This_Line_And_All_Ok;
-- lines in Buggy_Package, all is well, or if you only comment out one of
-- these lines and don't instantiate the other generic in Buggy_Package_Demo,
-- then all is well.
package Nested_Package is
procedure Comment_Out_This_Line_And_All_Ok;
... |
alloy4fun_models/trashltl/models/7/SeqiRJMDbbScpoLJT.als | Kaixi26/org.alloytools.alloy | 0 | 4955 | <gh_stars>0
open main
pred idSeqiRJMDbbScpoLJT_prop8 {
always all f:File | some f.link implies f in Trash
}
pred __repair { idSeqiRJMDbbScpoLJT_prop8 }
check __repair { idSeqiRJMDbbScpoLJT_prop8 <=> prop8o } |
dowload_manager/src/aws-resources-streams-pipes.adb | persan/AWS-producer-experiments | 2 | 111 | <reponame>persan/AWS-producer-experiments
package body AWS.Resources.Streams.Pipes is
------------
-- Append --
------------
procedure Append
(Resource : in out Stream_Type;
Buffer : Stream_Element_Array;
Trim : Boolean := False)
is
Lock : Lock_Type (Resource.Guard'Access) ... |
lemmas-progress-checks.agda | hazelgrove/hazelnut-dynamics-agda | 16 | 2249 | open import Nat
open import Prelude
open import core
module lemmas-progress-checks where
-- boxed values don't have an instruction transition
boxedval-not-trans : ∀{d d'} → d boxedval → d →> d' → ⊥
boxedval-not-trans (BVVal VConst) ()
boxedval-not-trans (BVVal VLam) ()
boxedval-not-trans (BVArrCast x bv) (IT... |
programs/oeis/218/A218075.asm | neoneye/loda | 22 | 164627 | <gh_stars>10-100
; A218075: a(n) = 2^(prime(n+1) - prime(n)).
; 2,4,4,16,4,16,4,16,64,4,64,16,4,16,64,64,4,64,16,4,64,16,64,256,16,4,16,4,16,16384,16,64,4,1024,4,64,64,16,64,64,4,1024,4,16,4,4096,4096,16,4,16,64,4,1024,64,64,64,4,64,16,4,1024,16384,16,4,16
add $0,1
seq $0,40 ; The prime numbers.
div $0,2
mul $0,2
sub ... |
scripts/safari.scpt | bobheadxi/btt | 5 | 2368 | tell application "Safari"
make new document with properties {URL:"https://www.google.com"}
activate
end tell
|
Pascal/Project_2/LCDDriver.asm | edosedgar/avr_8bit | 0 | 95887 |
_InitPortsIO:
;LCDDriver.mpas,9 :: begin
;LCDDriver.mpas,10 :: DDRD :=%11111111;
LDI R27, 255
OUT DDRD+0, R27
;LCDDriver.mpas,11 :: DDRB :=%00010011;
LDI R27, 19
OUT DDRB+0, R27
;LCDDriver.mpas,12 :: DDRC :=%00111000;
LDI R27, 56
OUT DDRC+0, R27
;LC... |
oeis/201/A201709.asm | neoneye/loda-programs | 11 | 22437 | ; A201709: Primes of the form 10n^2 + 1.
; Submitted by <NAME>(w4)
; 11,41,251,491,641,811,2251,4001,6761,7841,9001,10891,12251,13691,16001,16811,22091,23041,32491,33641,40961,50411,68891,72251,73961,81001,82811,86491,98011,108161,110251,112361,121001,125441,127691,139241,158761,163841,174241,198811,216091,219041,22201... |
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xca.log_21829_212.asm | ljhsiun2/medusa | 9 | 102064 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x5603, %r8
nop
nop
nop
nop
nop
xor %rdx, %rdx
movw $0x6162, (%r8)
sub %r12, %r12
lea addresses_WC_ht+0x14b1b, %rsi
lea addresses_WC_ht+0x9f1b, %rdi
clflush (%rd... |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_18669_840.asm | ljhsiun2/medusa | 9 | 241096 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x141c8, %r9
nop
nop
nop
nop
and $35839, %r13
movl $0x61626364, (%r9)
nop
nop
nop
nop
nop
xor $62238, %r15
lea addresses_A_ht+0x15810, %r15
nop
nop
nop
nop
dec %r... |
src/gpsmodule.ads | Kurinkitos/Twizy-Security | 1 | 14962 | <reponame>Kurinkitos/Twizy-Security
pragma SPARK_Mode(ON);
with Types; use Types;
package gpsModule with SPARK_Mode is
Top_Left : constant Types.Point := (667271.0, 6398091.0, 0.0);
Bottom_Right : constant Types.Point := (677862.0, 6397724.0, 0.0);
function gpstest(Position : Types.Point) return Boolean wit... |
programs/oeis/184/A184102.asm | jmorken/loda | 1 | 166959 | <reponame>jmorken/loda<gh_stars>1-10
; A184102: n+floor(4*sqrt(n)); complement of A184103.
; 5,7,9,12,13,15,17,19,21,22,24,25,27,28,30,32,33,34,36,37,39,40,42,43,45,46,47,49,50,51,53,54,55,57,58,60,61,62,63,65,66,67,69,70,71,73,74,75,77,78,79,80,82,83,84,85,87,88,89,90,92,93,94,96,97,98,99,100,102,103,104,105,107,108,1... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr22.adb | best08618/asylo | 7 | 22516 | -- { dg-do compile }
-- { dg-options "-gnatws" }
procedure Discr22 is
subtype Precision is Integer range 1 .. 5;
type Rec(D1 : Precision; D2 : Integer) is record
case D1 is
when 1 => I : Integer;
when others => null;
end case;
end record;
for Rec use record
D1 at 0 ran... |
oeis/000/A000501.asm | neoneye/loda-programs | 11 | 244706 | ; A000501: a(n) = floor(cosh(n)).
; Submitted by <NAME>
; 1,1,3,10,27,74,201,548,1490,4051,11013,29937,81377,221206,601302,1634508,4443055,12077476,32829984,89241150,242582597,659407867,1792456423,4872401723,13244561064,36002449668,97864804714,266024120300,723128532145,1965667148572,5343237290762,14524424832623,3948148... |
alloy4fun_models/trainstlt/models/8/oqCnumi9AJxFBk7CX.als | Kaixi26/org.alloytools.alloy | 0 | 2380 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idoqCnumi9AJxFBk7CX_prop9 {
(all t:Train| once(no t.pos and after one t.pos:>Entry) )
}
pred __repair { idoqCnumi9AJxFBk7CX_prop9 }
check __repair { idoqCnumi9AJxFBk7CX_prop9 <=> prop9o } |
courses/fundamentals_of_ada/labs/prompts/140_access_types/datastore.ads | AdaCore/training_material | 15 | 7111 | package Datastore is
pragma Elaborate_Body;
-- Create an array of strings that can be of any length
-- (i.e. array of string pointers)
-- Create a record that contains this array
type Element_T is null record;
-- Create two access types to the element
-- An immutable access type
-- An a... |
alloy4fun_models/trashltl/models/4/jPzQLM8Ygca985bd7.als | Kaixi26/org.alloytools.alloy | 0 | 346 | <reponame>Kaixi26/org.alloytools.alloy<gh_stars>0
open main
pred idjPzQLM8Ygca985bd7_prop5 {
some File eventually File in Trash
}
pred __repair { idjPzQLM8Ygca985bd7_prop5 }
check __repair { idjPzQLM8Ygca985bd7_prop5 <=> prop5o } |
alloy4fun_models/trashltl/models/11/XeXKoQ3nY2ozkQfQ6.als | Kaixi26/org.alloytools.alloy | 0 | 149 | open main
pred idXeXKoQ3nY2ozkQfQ6_prop12 {
eventually always all f:File | eventually f in Trash implies always f in Trash'
}
pred __repair { idXeXKoQ3nY2ozkQfQ6_prop12 }
check __repair { idXeXKoQ3nY2ozkQfQ6_prop12 <=> prop12o } |
oeis/275/A275363.asm | neoneye/loda-programs | 11 | 93040 | ; A275363: a(1)=3, a(2)=6, a(3)=3; thereafter a(n) = a(n-a(n-1)) + a(n-1-a(n-2)).
; Submitted by <NAME>
; 3,6,3,3,9,6,3,12,9,3,15,12,3,18,15,3,21,18,3,24,21,3,27,24,3,30,27,3,33,30,3,36,33,3,39,36,3,42,39,3,45,42,3,48,45,3,51,48,3,54,51,3,57,54,3,60,57,3,63,60,3,66,63,3,69,66,3,72,69,3,75,72,3,78,75,3,81,78,3,84,81,3,8... |
proglangs-learning/Agda/sv20/assign2/SetTheory/Logic.agda | helq/old_code | 0 | 12178 | -----------------------------------
-- First order logic
-----------------------------------
module sv20.assign2.SetTheory.Logic where
infix 4 _,_
infix 3 ¬_
infix 1 _∧_
infix 1 _∨_
infix 0 _⇔_
-- Some First order logic I need.
-- ∧ data type (conjunction).
data _∧_ (A B : Set) : Set where
_,_ : A → B → A ∧ B
∧... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_m_tapein_getpos.asm | Toysoft/z88dk | 0 | 244136 | ; uint16_t esx_m_tapein_getpos(void)
SECTION code_esxdos
PUBLIC esx_m_tapein_getpos
EXTERN asm_esx_m_tapein_getpos
defc esx_m_tapein_getpos = asm_esx_m_tapein_getpos
|
src/pp/block3/cc/antlr/ExpressionAttr.g4 | Pieterjaninfo/PP | 0 | 506 | <reponame>Pieterjaninfo/PP
grammar ExpressionAttr;
import ExpressionVocab;
expr returns [ pp.block3.cc.antlr.Type val ]
: e0=expr POW e1=expr
{ $val = ($e0.val != Type.BOOL && $e1.val == Type.NUM ) ? $e0.val : Type.ERR; }
| e0=expr PLUS e1=expr
{ $val = ($e0.val == $e1.val) ? $e0.val : Type.ERR; }... |
Levels/Misc/Map - Still Sprites S3.asm | NatsumiFox/AMPS-Sonic-3-Knuckles | 5 | 7369 | dc.w word_2B3DA-Map_StillSprites
dc.w word_2B3E8-Map_StillSprites
dc.w word_2B3F0-Map_StillSprites
dc.w word_2B3F8-Map_StillSprites
dc.w word_2B400-Map_StillSprites
dc.w word_2B3DA-Map_StillSprites
dc.w word_2B40E-Map_StillSprites
dc.w word_2B470-Map_StillSprites
dc.w word_2B4A2-Map_StillSprites
dc.... |
awa/plugins/awa-wikis/src/awa-wikis-servlets.ads | twdroeger/ada-awa | 81 | 11410 | -----------------------------------------------------------------------
-- awa-wikis-servlets -- Serve files saved in the storage service
-- Copyright (C) 2016, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in co... |
src/_test/fixtures/apsepp_scope_debug_test_fixture.adb | thierr26/ada-apsepp | 0 | 15228 | <reponame>thierr26/ada-apsepp
-- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
package body Apsepp_Scope_Debug_Test_Fixture is
----------------------------------------------------------------------------
Scope_Entry_Count_Var : Natural := 0;
Scope_Exit_Count_Var : Na... |
v0100/srclib/c0dh.asm | domesticmouse/SmallerC | 1,130 | 104033 | ;
; Copyright (c) 2014-2015, <NAME>
; 2-clause BSD license.
;
bits 16
extern ___start__
extern __start__relot, __stop__relot
extern __start__relod, __stop__relod
extern __start__bss
extern __stop__bss
section .text
global __start
__start:
; perform code/data relocations
call la... |
fiat-amd64/54.52_ratio13237_seed2165586197121668_square_p256.asm | dderjoel/fiat-crypto | 491 | 245433 | SECTION .text
GLOBAL square_p256
square_p256:
sub rsp, 0xa8 ; last 0x30 (6) for Caller - save regs
mov [ rsp + 0x78 ], rbx; saving to stack
mov [ rsp + 0x80 ], rbp; saving to stack
mov [ rsp + 0x88 ], r12; saving to stack
mov [ rsp + 0x90 ], r13; saving to stack
mov [ rsp + 0x98 ], r14; saving to stack
mov [ rsp + 0x... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1259.asm | ljhsiun2/medusa | 9 | 19300 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xb537, %r9
nop
nop
nop
nop
nop
xor %r13, %r13
movl $0x61626364, (%r9)
nop
nop
xor %rdx, %rdx
lea addresses_WC_ht+0x18967, %rsi
lea addresses_normal_ht+0x1dba7, %rdi
nop
nop
nop
nop
sub %r9, %r9
mo... |
programs/oeis/002/A002089.asm | neoneye/loda | 22 | 23575 | <filename>programs/oeis/002/A002089.asm
; A002089: a(n) = 11*4^n.
; 11,44,176,704,2816,11264,45056,180224,720896,2883584,11534336,46137344,184549376,738197504,2952790016,11811160064,47244640256,188978561024,755914244096,3023656976384,12094627905536,48378511622144,193514046488576,774056185954304,3096224743817216,1238489... |
programs/oeis/066/A066300.asm | neoneye/loda | 22 | 9020 | <filename>programs/oeis/066/A066300.asm
; A066300: Number of n X n matrices with exactly 2 1's in each row, other entries 0.
; 0,1,27,1296,100000,11390625,1801088541,377801998336,101559956668416,34050628916015625,13931233916552734375,6831675453247426400256,3955759092264800909058048,2670419511272061205254504361
add $0,... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_120.asm | ljhsiun2/medusa | 9 | 175466 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1574e, %rdx
nop
nop
nop
xor $860, %r14
mov $0x6162636465666768, %rbx
movq %rbx, (%rdx)
nop
nop
inc %r10
lea addresses_D_ht+0xa4a, %rsi
lea addresses_WC_ht+0xd6... |
src/lang/stemmer-irish.adb | stcarrez/ada-stemmer | 3 | 9906 | -- Generated by Snowball 2.2.0 - https://snowballstem.org/
package body Stemmer.Irish is
pragma Style_Checks ("-mr");
pragma Warnings (Off, "*variable*is never read and never assigned*");
pragma Warnings (Off, "*mode could be*instead of*");
pragma Warnings (Off, "*formal parameter.*is not modified*");
... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/sample1/datas.asm | prismotizm/gigaleak | 0 | 163216 | Name: datas.asm
Type: file
Size: 12323
Last-Modified: '1992-09-24T02:23:51Z'
SHA-1: 1389D24523B599659EAB08E89E2F30E5C5A24134
Description: null
|
src/fot/FOTC/Program/MapIterate/MapIterateATP.agda | asr/fotc | 11 | 8352 | ------------------------------------------------------------------------------
-- The map-iterate property: A property using co-induction
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no... |
libsrc/_DEVELOPMENT/math/float/am9511/asm/8085/am32_f2long.asm | ped7g/z88dk | 1 | 99514 | ;
; Copyright (c) 2022 <NAME>
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
; feilipu, January 2022
;
;-------------------------------------------------------... |
Structure/Operator/Group/Proofs.agda | Lolirofle/stuff-in-agda | 6 | 4361 | <reponame>Lolirofle/stuff-in-agda
module Structure.Operator.Group.Proofs where
open import Functional hiding (id)
open import Function.Iteration.Order
import Lvl
open import Lang.Instance
open import Logic.Propositional
open import Logic.Predicate
open import Structure.Setoid
open import Structure.Function.Domain... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/unit_1.adb | ouankou/rose | 488 | 22800 | procedure Unit_1 is
begin
null;
end;
|
libsrc/target/zx81/gen_tv_field.asm | jpoikela/z88dk | 640 | 4225 | <reponame>jpoikela/z88dk<gh_stars>100-1000
;
; ZX81 libraries - Stefano Dec 2012
;
;----------------------------------------------------------------
;
; $Id: gen_tv_field.asm,v 1.4 2016-06-26 20:36:33 dom Exp $
;
;----------------------------------------------------------------
;
; ZX80 (and ZX81 in FAST mode) trick to... |
programs/oeis/114/A114364.asm | karttu/loda | 1 | 11351 | ; A114364: a(n) = n*(n+1)^2.
; 4,18,48,100,180,294,448,648,900,1210,1584,2028,2548,3150,3840,4624,5508,6498,7600,8820,10164,11638,13248,15000,16900,18954,21168,23548,26100,28830,31744,34848,38148,41650,45360,49284,53428,57798,62400
mov $1,$0
add $0,2
pow $0,2
add $1,1
mul $1,$0
|
sk/sfx/75.asm | Cancer52/flamedriver | 9 | 97026 | Sound_75_Header:
smpsHeaderStartSong 3, 1
smpsHeaderVoice Sound_75_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cFM5, Sound_75_FM5, $15, $05
; FM5 Data
Sound_75_FM5:
smpsSetvoice $00
smpsModSet $01, $01, $20, $85
dc.b nD0, $03, nB0, $1E
smpsStop
Sound_75_Vo... |
programs/oeis/173/A173833.asm | neoneye/loda | 22 | 24476 | <filename>programs/oeis/173/A173833.asm<gh_stars>10-100
; A173833: 10^n - 3.
; 7,97,997,9997,99997,999997,9999997,99999997,999999997,9999999997,99999999997,999999999997,9999999999997,99999999999997,999999999999997,9999999999999997,99999999999999997,999999999999999997,9999999999999999997,99999999999999999997,99999999999... |
ReAssemblerTest.asm | hackingotter/LC3-Simulator | 0 | 18557 | .ORIG x3000
AND R0, R0, #0;
AND R1, R0, R0;
ADD R0, R0, #1;
ADD R1, R1, x10;
TEST_STRING .STRINGZ "abcdefg"
.FILL -1
Te .FILL x12bd
.FILL 0x343d
Anothing .STRINGZ 'a'
.FILL -1
AND R4,R3,R2
.END |
hott/level/sets.agda | HoTT/M-types | 27 | 8961 | {-# OPTIONS --without-K #-}
module hott.level.sets where
open import level
open import decidable
open import sum
open import equality.core
open import equality.calculus
open import equality.reasoning
open import function.core
open import function.extensionality.proof
open import sets.empty
open import sets.unit
open i... |
programs/oeis/225/A225055.asm | neoneye/loda | 22 | 11589 | ; A225055: Irregular triangle which lists the three positions of 2*n-1 in A060819 in row n.
; 1,2,4,3,6,12,5,10,20,7,14,28,9,18,36,11,22,44,13,26,52,15,30,60,17,34,68,19,38,76,21,42,84,23,46,92,25,50,100,27,54,108,29,58,116,31,62,124,33,66,132,35,70,140,37,74,148,39,78,156,41,82,164,43,86,172,45,90,180,47,94,188,49,98,... |
oeis/174/A174785.asm | neoneye/loda-programs | 11 | 15199 | <filename>oeis/174/A174785.asm
; A174785: Expansion of (1+2x-x^2+x^3-x^4-x^5)/(1+x^3)^2.
; 1,2,-1,-1,-5,1,1,8,-1,-1,-11,1,1,14,-1,-1,-17,1,1,20,-1,-1,-23,1,1,26,-1,-1,-29,1,1,32,-1,-1,-35,1,1,38,-1,-1,-41,1,1,44,-1,-1,-47,1,1,50,-1
mul $0,2
mov $2,2
mov $3,$0
lpb $0
sub $0,1
trn $0,2
add $2,$3
sub $3,$2
sub ... |
examenes/examenpracticas/ejercicios/examen4.asm | ajah1/EC | 0 | 162413 | #programa que pide un numero y muestra por pantalla desde 1 hasta ese numero.
.data
cadena1:.asciiz "Introduce un numero: "
.text
li $v0, 4
la $a0, cadena1
syscall
li $v0, 5
syscall
move $t2, $v0
li $t1, 1
inicio_bucle:
bgt $t1, $t2, fin_bucle
li $v0, 1
move $a0, $t1
syscall
addi $t1, $t1, 1
j inicio_bucl... |
Library/Mailbox/VMStore/vmstoreCode.asm | steakknife/pcgeos | 504 | 89797 | <filename>Library/Mailbox/VMStore/vmstoreCode.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT: Clavin
MODULE: VM store
FILE: vmstoreCode.asm
AUTHOR: <NAME>, Apr 14, 1994
ROUTINES:
Name Description
---- ... |
cli.adb | annexi-strayline/ASAP-CLI | 0 | 13254 | ------------------------------------------------------------------------------
-- --
-- Command Line Interface Toolkit --
-- --
-- -... |
src/main/antlr/CFGrammar.g4 | Furetur/LLkChecker | 1 | 5327 | grammar CFGrammar;
// Tokens
TERM: [a-z]+;
NONTERM: [A-Z]+;
DEF: ':=';
SEMI: ';';
WHITESPACE: [ \r\n\t]+ -> skip;
// Rules
gram : grammarRule+ EOF;
grammarRule : def=NONTERM DEF symbol* SEMI;
symbol
: TERM # term
| NONTERM # nonTerm
;
|
programs/oeis/182/A182307.asm | jmorken/loda | 1 | 179838 | <filename>programs/oeis/182/A182307.asm
; A182307: a(n+1) = a(n) + floor(a(n)/6) with a(0)=6.
; 6,7,8,9,10,11,12,14,16,18,21,24,28,32,37,43,50,58,67,78,91,106,123,143,166,193,225,262,305,355,414,483,563,656,765,892,1040,1213,1415,1650,1925,2245,2619,3055,3564,4158,4851,5659,6602,7702,8985,10482,12229,14267,16644
mov $... |
deps/openssl/asm/x64-win32-masm/rc4/rc4-x86_64.asm | sgallagher/node | 2 | 91596 | <reponame>sgallagher/node
OPTION DOTNAME
.text$ SEGMENT ALIGN(64) 'CODE'
PUBLIC RC4
ALIGN 16
RC4 PROC PUBLIC
mov QWORD PTR[8+rsp],rdi ;WIN64 prologue
mov QWORD PTR[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_RC4::
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
mov rcx,r9
or rsi,rsi
jne $L$entry
mov rdi,QWORD PTR[8+rsp] ;WIN6... |
automaton.als | vasil-sd/alloy_automata | 0 | 568 | module automaton[Obj, Time, S, P, InitialS, FinalS]
-- Obj - сигнатура объектов, которые могут менять состояния
-- Time - время
-- S - множество состояний
-- P - множество атомарных предикатов
-- InitialS - множество начальных состояний
-- FinalS - множество конечных состояний
-- Работа автомата моделирует... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.