code stringlengths 2 1.05M | repo_name stringlengths 5 101 | path stringlengths 4 991 | language stringclasses 3
values | license stringclasses 5
values | size int64 2 1.05M |
|---|---|---|---|---|---|
include("setup_1d.jl")
println("idwt by lifting (N=",N,"), ", L, " levels")
f(x0, L, wl) = for i = 1:tn; idwt(x0, wl, L); end
f(x0, L, wl);
@time f(x0, L, wl);
#@profile f(x0,L,wl);
#Profile.print()
| JuliaPackageMirrors/Wavelets.jl | perf/bm_idwt_ls.jl | Julia | mit | 203 |
### ARSState
# ARSState holds the internal state ("local variables") of the acceptance-rejection sampler
mutable struct ARSState{S<:ValueSupport, F<:VariateForm} <: MCSamplerState{F}
pstate::ParameterState{S, F} # Parameter state used internally by ARS
tune::MCTunerState
logproposal::Real
weight::Real
diagn... | JuliaStats/Lora.jl | src/samplers/ARS.jl | Julia | mit | 2,854 |
streams_spec =
[
(:_type, AbstractString, nothing),
(:expr, AbstractString, nothing),
(:scale, AbstractString, nothing),
#(:predicate, AbstractString, nothing)
]
primitivefactory(:VegaStream, streams_spec)
| JuliaPackageMirrors/Vega.jl | src/primitives/stream.jl | Julia | mit | 211 |
using NumericalMethodsforEngineers
using Test
N = 8
tol = 1.0e-10
limit = 1000
a = float(rand(1:10 * N, N, N))
x = float(rand(1:10, N))
b = a * x
x0 = ones(N)
(iters, converged, r2) = NumericalMethodsforEngineers.bicgstab(a, b, x0; tol=tol, limit=limit)
@test round.(a\b, digits=5) == round.(r2, digits=5)
| goedman/NMfE.jl | test/ch02_bicgstab.jl | Julia | mit | 310 |
module AlignmentStatistics
# package code goes here
using FastaIO, StatsBase, HypothesisTests, MultipleTesting,
DataFrames, Distributions, GaussDCA
export AAindex1_to_Dict,
read_AAindex1,
export_fasta,
get_sequence_labels,
split_fasta_sequences,
split_sequences,
clean_sequences,
sequence_composition,
sequences_to_num... | DanielHoffmann32/AlignmentStatistics.jl | src/AlignmentStatistics.jl | Julia | mit | 27,145 |
using TinyG
using Base.Test
TinyG.download_firmware()
| sjkelly/TinyG.jl | test/runtests.jl | Julia | mit | 55 |
# Forked from Julia Jupyter notebook 2019-12-PolaronMultipleBranches.ipynb
using PolaronMobility
using Test
using Plots
using Printf
const hbar = const ħ = 1.05457162825e-34; # kg m2 / s
const Boltzmann = const kB = 1.3806504e-23; # kg m2 / K s2
const eV = const q = const ElectronVolt = ... | jarvist/PolaronMobility.jl | examples/MultipleBranches-MAPI.jl | Julia | mit | 8,257 |
# This file is a part of JuliaFEM.
# License is MIT: see https://github.com/JuliaFEM/NodeNumbering.jl/blob/master/LICENSE
"""
calculate_bandwidth(G::Dict{Int, Vector{Int}})
Calculate bandwidth of graph ``G``. The bandwidth of the matrix is number ``k``
such that ``A_{ij} = 0`` if ``|i-j| > k``.
# Examples
```jl... | JuliaFEM/NodeNumbering.jl | src/calc_bw.jl | Julia | mit | 936 |
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | reminisce/mxnet | julia/test/unittest/initializer.jl | Julia | apache-2.0 | 1,390 |
using MyLib
using Base.Test
try
ptms = new_tms()
println("Start")
times = libc_times(ptms)
tms_utime = get_tms_utime(ptms)
tms_stime = get_tms_stime(ptms)
tms_cutime = get_tms_cutime(ptms)
tms_cstime = get_tms_cstime(ptms)
println("times: ", times)
println("tms_utime: ", tms_utime)
... | xianrenb/MyLib.jl | test/runtests.jl | Julia | mit | 879 |
using LSystems
using Base.Test
# Algae-growth from https://en.wikipedia.org/wiki/L-system#Example_1:_Algae
algae_start = "A"
algae_transition = Dict([('A', "AB"), ('B', "A")])
s = ""
for c in @task lindenmayer(algae_start, algae_transition, 0)
s *= string(c)
end
@test "A" == s
s = ""
for c in @task lindenmayer(a... | rawrgrr/LSystems.jl | test/runtests.jl | Julia | mit | 1,295 |
using Gadfly, DataArrays, DataFrames, RDatasets
using Base.Dates
y = 1973
airquality = dataset("datasets", "airquality")
dates = Date[Date(1973, m, d)
for (m, d) in zip(airquality[:Month], airquality[:Day])]
airquality[:Date] = dates
airquality = airquality[airquality[:Month] .== 6, :]
p = plot(airqua... | JuliaPackageMirrors/Gadfly.jl | test/timeseries_day.jl | Julia | mit | 355 |
function BlackScholesDP(CallPutFlag, S, X, t1, T2, T1, r1, r2, b, v)
#=
considers later payment especially for OTC derivatives
Usage:
t1 is the time elapsing from t to payment, 2 days is 2/365
T2 is the time to expiration plus t1
r1 is the shorter term rate
r2 is the longer term rate
BlackScholesDP("c", 130, 120, 2/3... | SvenDuve/FinOptions.jl | src/BlackScholesDP.jl | Julia | mit | 679 |
using Brim
using Docile
using Lexicon
save("./doc/api.md", Brim)
| JuliaPackageMirrors/Brim.jl | test/makedoc.jl | Julia | mit | 66 |
# Try to approximate squared-exponential kernel:
using PyPlot
using Optim
function matern5_2_approx()
ntime = 1000
time = collect(linspace(0,10,ntime))
matern52=(1.0+time+time.^2./3.).*exp(-time)
function compute_chi(x)
model = zeros(ntime)
for k=1:nexp
model += x[1+(k-1)*2].*exp(-x[2+(k-1)*2].*time)
end
return sum... | ericagol/celerite | paper/approximate_kernels/matern5_2_approx.jl | Julia | mit | 4,691 |
function setup_etc(backend::GPUBackend, layer::DropoutLayer, inputs::Vector{Blob})
cuda_rand_states = CuPtr
kernel = backend.mocha.dropout_init
rnd_state_size_blob = make_blob(backend, Float64, 1, 1, 1, 1)
CUDA.launch(backend.mocha.dropout_alloc_size, 1, 1, (rnd_state_size_blob.ptr.p, ))
rnd_state_size = Floa... | dplarson/Mocha.jl | src/cuda/layers/dropout.jl | Julia | mit | 2,728 |
using TeraSort
yarncm = startcluster(false)
try
@everywhere using TeraSort
terasort()
finally
stopcluster(yarncm)
end
| tanmaykm/TeraSort.jl | test/terasort.jl | Julia | mit | 130 |
################
## renderCode ##
################
@doc doc"""
Function render creates and returns the full js code when final output
components like d3 library path and data paths already have been
determined. Paths will be made relative to the output file.
Output path must be a complete path to a file, not only to ... | JuliaFinMetriX/JFinM_Charts | src/d3viz.jl | Julia | mit | 7,627 |
const ⊗ = kron
"""
Build Laplacian matrix using Kronecker products
"""
function get_Laplacian3d_kron( LF::LF3dGrid )
IIx = speye(LF.Nx)
IIy = speye(LF.Ny)
IIz = speye(LF.Nz)
return LF.LFx.D2jl ⊗ IIy ⊗ IIz +
IIx ⊗ LF.LFy.D2jl ⊗ IIz +
IIx ⊗ IIy ⊗ LF.LFz.D2jl
end
"""
A naive implem... | f-fathurrahman/ffr-ElectronicStructure.jl | LF/LF_common/sparse_LF3d.jl | Julia | mit | 4,600 |
#!/usr/bin/env julia
#
# @license Apache-2.0
#
# Copyright (c) 2018 The Stdlib Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... | stdlib-js/stdlib | lib/node_modules/@stdlib/stats/base/dists/betaprime/logpdf/test/fixtures/julia/runner.jl | Julia | apache-2.0 | 2,212 |
@testset "Generic elliptic curve" begin
@testset "Constructors" begin
@test_throws ErrorException EllipticCurve([1])
@test_throws ErrorException EllipticCurve([1, 2, 3])
@test_throws ErrorException EllipticCurve([1, 2, 3, 4, 5, 6])
@test_throws ErrorException EllipticCurve([0, 0])
@test_throws Er... | thofma/hecke | test/EllCrv/EllCrv.jl | Julia | bsd-2-clause | 6,095 |
macro goldensectiontrace()
quote
if tracing
dt = Dict()
if extended_trace
dt["x_minimum"] = x_minimum
dt["x_lower"] = x_lower
dt["x_upper"] = x_upper
end
update!(tr,
iteration,
... | JuliaPackageMirrors/Optim.jl | src/golden_section.jl | Julia | mit | 3,538 |
using MelGeneralizedCepstrums
using Base.Test
import MelGeneralizedCepstrums: freq_form, log_form, rawdata, MelFrequency,
LinearFrequency, StandardLog, GeneralizedLog, AllPoleLog, mgcepnorm!, retype,
mc2e
@static is_linux() ? include("sptk.jl") : nothing
### Test functions ###
function test_spectral_param_s... | r9y9/MelGeneralizedCepstrums.jl | test/runtests.jl | Julia | mit | 19,553 |
println("testing suite is hooked up")
| milktrader/TimeCharts.jl | test/plot.jl | Julia | mit | 38 |
"""
CallbackFunction()
Set a generic CPLEX callback function.
Note: before accessing `MOI.CallbackVariablePrimal`, you must call either
`callbackgetcandidatepoint(model::Optimizer, cb_data, cb_where)` or
`callbackgetrelaxationpoint(model::Optimizer, cb_data, cb_where)`.
"""
struct CallbackFunction <: MOI.Abstract... | JuliaOpt/CPLEX.jl | src/MOI/MOI_callbacks.jl | Julia | mit | 7,847 |
#Reconstruction
function minmod(a,b)
if a*b < 0.0
return 0.0
elseif abs(a) < abs(b)
return a
else
return b
end
end
function tvd_minmod_reconstruction(n, g, f, x, xi)
fp = zeros(n)
fm = zeros(n)
for i = g:(n-g+2)
dx_up = x[i] - x[i-1]
dx_down = x[i+1... | natj/hydro | src/reconstruct.jl | Julia | mit | 4,908 |
########################################################
# The MIT License (MIT)
#
# 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... | forcaeluz/julia_ao | test/shack_hartmann_private.jl | Julia | mit | 6,453 |
#! /usr/bin/env julia
#version
include("version.jl")
# check for Hardware-Dimensions
!isdir("Hardware-Dimensions") && mkdir("Hardware-Dimensions")
# check for latest tag folder
!isdir("Hardware-Dimensions/v$ver") &&
download("https://github.com/FactoryOS/Hardware-Dimensions/archive/v$ver.zip",
"Hardware-Dim... | FactoryOS/Magpie.jl | deps/build.jl | Julia | mit | 568 |
export
BSpline,
NoInterp,
Constant,
Linear,
Quadratic,
Cubic
abstract type Degree{N} <: Flag end
abstract type DegreeBC{N} <: Degree{N} end # degree type supporting a BoundaryCondition
"""
BSpline(degree)
A flag signaling `BSpline` (integer-grid b-spline) interpolation along the corresp... | tlycken/Interpolations.jl | src/b-splines/b-splines.jl | Julia | mit | 8,652 |
module C
using Compat
export PetscInt
include("defs.jl")
include("libPETSc_commonRealDouble.jl")
include("PETScRealDouble.jl")
include("PETScRealSingle.jl")
include("PETScComplexDouble.jl")
include("defs2.jl")
end
| stevengj/PETSc.jl | src/generated/C.jl | Julia | mit | 217 |
# Abstract Rational-Quadratic Kernel =======================================================
abstract type AbstractRationalQuadraticKernel{T<:AbstractFloat} <: MercerKernel{T} end
@inline basefunction(::AbstractRationalQuadraticKernel) = SquaredEuclidean()
# Rational-Quadratic Kernel ================================... | trthatcher/MLKernels.jl | src/kernelfunctions/mercer/rationalquadratic.jl | Julia | mit | 4,127 |
import Base.getindex
"""
getindex(x::Var, inds...)
```julia
x = Var(rand(Float32,10,5))
y = x[1:3]
y = x[2:2]
```
Note that `y = x[i]` throws an error since `y` is not a vector but a scholar.
Instead, use `y = x[i:i]`.
"""
function getindex(x::Var, I::Tuple)
Var(x.data[I...], ∇getindex!, (x,I))
end
getindex(x... | hshindo/Merlin.jl | src/functions/getindex.jl | Julia | mit | 535 |
type Rule
p::Array # antecedent (rhs)
q::Array # consequent (lhs)
supp::Float64
conf::Float64
lift::Float64
end
# Support Count: σ(x) = | {t_i|x ⊆ t_i, t_i ∈ T}|
function σ(x::Array, T)
res = 0
for t in T
if x ⊆ t
res += 1
end
end
... | paulstey/assocation_rules | src/apriori.jl | Julia | mit | 8,691 |
# let
mat = [0.0 0.1 0.2 0.3]'
dset = Dataset()
indA = 0
add_float_var(dset, "A")
@test get_number_of_variables(dset) == 1
@test !is_discrete(dset, indA)
@test get_id(dset, indA) == "A"
set_id(dset, indA, "Bubba")
@test get_id(dset, indA) == "Bubba"
set_id(dset, indA, "A")
set_number_of_records(dset, len... | JuliaPackageMirrors/Smile.jl | test/test_dataset.jl | Julia | mit | 4,056 |
# *****************************************************************************
# Written by Ritchie Lee, ritchie.lee@sv.cmu.edu
# *****************************************************************************
# Copyright ã 2015, United States Government, as represented by the
# Administrator of the National Aeronautics... | sisl/GrammarExpts.jl | modules/ACASX_GP/test/runtests.jl | Julia | apache-2.0 | 2,541 |
#////////////////////////////////////////////////////////////////////////////
#//
#// This file is part of RTIMULib
#//
#// Copyright (c) 2014-2015, richards-tech, LLC
#//
#// Permission is hereby granted, free of charge, to any person obtaining a copy of
#// this software and associated documentation files (the "S... | uutzinger/RTIMULib | Linux/RTIMULibDrive11/Makefile | Makefile | mit | 6,019 |
default:
@echo "'make check'" for tests
@echo "'make check-cov'" for tests with coverage
@echo "'make lint'" for source code checks
@echo "'make ckpatch'" to check a patch
@echo "'make clean'" to clean generated files
@echo "'make man'" to generate sphinx documentation
@echo "'make update-requirements'" to updat... | cortesi/qtile | Makefile | Makefile | mit | 1,142 |
NAME = airdock/redis
VERSION = dev-2.8
.PHONY: all clean build tag_latest release debug run run_client
all: build
clean:
@CID=$(shell docker ps -a | awk '{ print $$1 " " $$2 }' | grep $(NAME) | awk '{ print $$1 }'); if [ ! -z "$$CID" ]; then echo "Removing container which reference $(NAME)"; for container in $(CID)... | airdock-io/docker-redis | 2.8/Makefile | Makefile | mit | 1,137 |
TOP_DIR = ../..
LIB_DIR = lib/
DEPLOY_RUNTIME ?= /kb/runtime
TARGET ?= /kb/deployment
include $(TOP_DIR)/tools/Makefile.common
SPEC_FILE = handle_mngr.spec
SERVICE_NAME = HandleMngr
SERVICE_CAPS = HandleMngr
SERVICE_PORT = 9001
SERVICE_DIR = handle_mngr
SERVICE_CONFIG = HandleMngr
ifeq ($(SELF_URL),)
SELF_U... | kbase/handle_mngr | Makefile | Makefile | mit | 13,184 |
# Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/do... | waveform80/db2utils | docs/Makefile | Makefile | mit | 5,572 |
# We borrow heavily from the kernel build setup, though we are simpler since
# we don't have Kconfig tweaking settings on us.
# The implicit make rules have it looking for RCS files, among other things.
# We instead explicitly write all the rules we care about.
# It's even quicker (saves ~200ms) to pass -r on the comm... | eric-dowty/eric-dowty.github.io | apps/rails-pub-sub-node-server/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate/build/Makefile | Makefile | mit | 13,890 |
.PHONY: build clean
build: .obj/chilon_sql_to_source
clean:
rm -rf .obj
.obj/%: %.cpp
@mkdir -p .obj
${CXX} -std=c++0x $^ -o $@ -I ../..
ifeq ($(wildcard .obj/*),)
install:
else
install:
@mkdir -p ${DESTDIR}/${prefix}/bin
@strip .obj/*
@cp .obj/* ${DESTDIR}/${prefix}/bin
endif
| ohjames/chilon | bin/Makefile | Makefile | mit | 288 |
all:
g++ lpf.cpp -o lpf.o
.PHONY:
clean
clean:
rm *.o
| jmeline/secret-meme | pe/Makefile | Makefile | mit | 58 |
# Makefile for project pi-admin
MODULES = sn-core sn-props sn-approute connect
CLEAN_THESE_FILES = css/bootstrap.css css/bootstrap.min.css css/bootstrap-theme.css css/bootstrap-theme.min.css \
js/bootstrap.js js/bootstrap.min.js js/jquery.js js/underscore-min.js js/backbone-min.js js/handlebars.js \
js/sn-core.js ... | smithee-us/pi-admin | Makefile | Makefile | mit | 1,941 |
SOURCES=$(shell find notebooks -name *.Rmd)
TARGETS=$(SOURCES:%.Rmd=%.pdf)
%.html: %.Rmd
@echo "$< -> $@"
@Rscript -e "rmarkdown::render('$<')"
%.pdf: %.Rmd
@echo "$< -> $@"
@Rscript -e "rmarkdown::render('$<')"
default: $(TARGETS)
clean:
rm -rf $(TARGETS)
| audy/make-rmarkdown | Makefile | Makefile | mit | 266 |
14 uid=311598
27 mtime=1430738623.672251
27 atime=1430738623.671251
| Pintulalmeena/Projects | Virtual Memory Implementation/Theme_B_9/GeekOS (os)/build/PaxHeader/Makefile | Makefile | mit | 68 |
VERSION := 1.1a
ROOT := $(shell pwd)
PATH := $(ROOT)/.luvit:$(PATH)
all: module
test: module
checkit tests/*
module: build/slnunicode/unicode.luvit
build/slnunicode/unicode.luvit: build/slnunicode/slnunico.c
$(CC) $(shell luvit-config --cflags | sed 's/ -Werror / /') -DluaI_openlib=luaL_openlib -shared -o ... | dvv/luvit-unicode | Makefile | Makefile | mit | 689 |
SPEC = Password.hs
CC= gcc
CFLAGS = -fPIC
GHC = ghc
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
example% : solution%.o $(SPEC)
$(GHC) -o $@ $(SPEC) $<
all : example1 example2
| pbv/codex-quickcheck | examples/password/Makefile | Makefile | mit | 176 |
#//////////////////////////////////////////////////////////////////////////////
# -- clMAGMA (version 1.0.0) --
# Univ. of Tennessee, Knoxville
# Univ. of California, Berkeley
# Univ. of Colorado, Denver
# April 2012
#//////////////////////////////////////////////////////////////////////////////
... | mauro-belgiovine/belgiovi-clmagma | Makefile | Makefile | mit | 2,211 |
SHELL = /bin/sh
# V=0 quiet, V=1 verbose. other values don't work.
V = 0
Q1 = $(V:1=)
Q = $(Q1:0=@)
ECHO1 = $(V:1=@ :)
ECHO = $(ECHO1:0=@ echo)
NULLCMD = :
#### Start of system configuration section. ####
srcdir = .
topdir = /usr/local/include/ruby-2.6.0
hdrdir = $(topdir)
arch_hdrdir = /usr/local/include/ruby-2.6... | fractalbass/data_science | vendor/bundle/gems/eventmachine-1.2.7/ext/Makefile | Makefile | mit | 9,074 |
watch: clean
NODE_ENV=development `npm bin`/webpack -w
package: build
mkdir -p dist
zip -x\*.DS_Store dist/linkgrabber.zip -r css html images js vendor manifest.json
build: clean
NODE_ENV=production `npm bin`/webpack
lint:
node_modules/.bin/eslint src
clean:
rm -rf js
rm -rf dist
| 7fffffff/linkgrabber | Makefile | Makefile | mit | 292 |
ifeq ($(CC),cc)
CC = clang
endif
ifeq ($(CC),gcc)
CC = clang
endif
CC ?= clang
ifeq ($(V),1)
Q =
else
Q = @
endif
MAKEFILE_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
SDN_SENSOR_BASE ?= $(shell dirname $(MAKEFILE_DIR))
RTE_SDK ?= $(SDN_SENSOR_BASE)/external/dpdk
RTE_TARGET ?=... | megahall/sdn_sensor | src/Makefile | Makefile | mit | 3,893 |
EXP_SOURCES = exp_agent.c
SOURCES += $(EXP_SOURCES:%.c=math/exp/%.c)
| levenkov/olver | src/agent/math/exp/Makefile | Makefile | apache-2.0 | 72 |
#/
# @license Apache-2.0
#
# Copyright (c) 2020 The Stdlib Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by ap... | stdlib-js/stdlib | lib/node_modules/@stdlib/blas/base/dcopy/benchmark/c/Makefile | Makefile | apache-2.0 | 2,590 |
#
# Copyright (C) 2015
# Andy Warner
# This file is part of the aft package.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#... | lawarner/aft | src/osdep/native/Makefile | Makefile | apache-2.0 | 1,315 |
FILES_TO_SERVE=index.html dmcc.js dmcc.css
all: $(addprefix Deploy/, $(FILES_TO_SERVE)) Deploy/build_rules.json
Deploy/build_rules.json: Source/process_build_rules.py
cd Source && ./process_build_rules.py > ../$@.tmp && mv ../$@.tmp ../$@
Deploy/%: Source/%
cp $< $@
run_server_old: all
cd Deploy && php -S localh... | benjaminy/DoesMyCodeCompile | Makefile | Makefile | apache-2.0 | 476 |
# Makefile for Tutorials
#
SHELL := /bin/bash
# You can set these variables from the command line.
TUTORIAL_OUTPUT_DIR = build
ALLENNLP_WEBSITE_DIR = ../allennlp-website
.PHONY: help
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " build to clean and build all the tutorials"
... | nafitzgerald/allennlp | tutorials/Makefile | Makefile | apache-2.0 | 1,478 |
MAKEFILE_DIR := tensorflow/lite/experimental/micro/tools/make
# Pull in some convenience functions.
include $(MAKEFILE_DIR)/helper_functions.inc
# Try to figure out the host system
HOST_OS :=
ifeq ($(OS),Windows_NT)
HOST_OS = windows
else
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
HOST_OS := linux
en... | gautam1858/tensorflow | tensorflow/lite/experimental/micro/tools/make/Makefile | Makefile | apache-2.0 | 7,400 |
#
# Copyright (C) 2007-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=tcpdump
PKG_VERSION:=4.2.1
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http:/... | whble/trunk | package/network/utils/tcpdump/Makefile | Makefile | apache-2.0 | 2,050 |
PKG_NAME = lz4
PKG_VERS = 1.7.5
PKG_EXT = tar.gz
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/lz4/lz4/archive/
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)
DEPENDS =
HOMEPAGE = https://github.com/lz4/lz4
COMMENT = LZ4 is lossless compression algorithm, providing compression speed at 400 MB/s per c... | saschpe/spksrc | cross/lz4/Makefile | Makefile | bsd-3-clause | 547 |
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = DjangoCorrelationId
SOURCEDIR = .
BUILDDIR = ../build/sphinx
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUIL... | snowball-one/cid | docs/Makefile | Makefile | bsd-3-clause | 626 |
include ../../Library/GNU.mk
Title= libzip
Name= libzip
Version= 0.12.2
Revision= 0
Site= http://nih.at/libzip/
Source= http://nih.at/libzip//$(Name)-$(Version).tar.bz2
License= BSD
LicenseFile= $(SourceDir)/LICENSE
define test_inner_hook
/usr/local/bin/zipcmp -h
/usr/local/bin/zipmerge -h
endef
| FelixZhang00/rudix | Ports/libzip/Makefile | Makefile | bsd-3-clause | 304 |
extract:
${tooldir}/ecore2bgf BIBTEXML.ecore grammar.bgf
include ../../Makefile.grammar
| grammarware/slps | topics/grammars/bibtex/bibtex-1.2/Makefile | Makefile | bsd-3-clause | 90 |
# Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINXBUILD)' command w... | smn/blinky | docs/Makefile | Makefile | bsd-3-clause | 7,409 |
#based on SilkJS Makefile
ARCH := $(shell getconf LONG_BIT)
COREMQ= mqdb.o
OBJ=
HMQ = include/lru_cache/lru_cache.h include/lru_cache/scoped_mutex.h fstools.cc
CORECL= client.o
OBJ=
V8DIR= ./v8-read-only
V8LIB_64 := $(V8DIR)/out/x64.release/obj.target/tools/gyp
V8LIB_32 := $(V8DIR)/out/ia32.release/obj.target/tool... | PawelMarc/MQDB | Makefile | Makefile | bsd-3-clause | 1,468 |
# $FreeBSD: releng/9.3/sys/modules/drm2/radeonkmsfw/R300_cp/Makefile 254885 2013-08-25 19:37:15Z dumbbell $
KMOD= radeonkmsfw_R300_cp
IMG= R300_cp
.include <bsd.kmod.mk>
| dcui/FreeBSD-9.3_kernel | sys/modules/drm2/radeonkmsfw/R300_cp/Makefile | Makefile | bsd-3-clause | 172 |
INSTALL_DIR=usr/local/lib
DEPS="coreutils" "sudo"
REBARPROFILE ?= default
include ../../config.mk
include ../../_build/${REBARPROFILE}/lib/fifo_utils/priv/pkgng.mk
.PHONY: prepare
prepare:
-rm -r $(STAGE_DIR)/$(INSTALL_DIR)/$(COMPONENT_INTERNAL)
-rm $(STAGE_DIR)/+*
-rm $(STAGE_DIR)/plist
mkdir -p $(STAGE_DIR)/... | project-fifo/fifo-zlogin | rel/pkgng/Makefile | Makefile | bsd-3-clause | 447 |
# @desc makefile for Login
# @author viticm<viticm.ti@gmail.com>
# @date 2013-06-25 20:00:13
include ../../premake.mk
CFLAGS = -I$(BASEDIR)/Login/Main -I$(BASEDIR)/Login/DB -I$(BASEDIR)/Login/Packets -I$(BASEDIR)/Login/Process -I$(BASEDIR)/Login/Player -I$(BASEDIR)/Login $(SERVER_BASE_INCLUDES)
LDFLAGS =
DIRS =
OBJ... | viticm/web-pap | server/Login/DB/Makefile | Makefile | bsd-3-clause | 604 |
# $FreeBSD$
PROG= juggle
NO_MAN=
WARNS?= 3
DPADD= ${LIBPTHREAD}
LDADD= -lpthread
.include <bsd.prog.mk>
| jhbsz/OSI-OS | tools/tools/netrate/juggle/Makefile | Makefile | bsd-3-clause | 106 |
# Copyright (c) 2014-2015 Google Inc.
# 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. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the ... | mtitinger/phabos | drivers/usb/dwc2/Makefile | Makefile | bsd-3-clause | 2,133 |
# Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = build
# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINXBUILD)' command wa... | jonathonw/pypush2 | docs/Makefile | Makefile | bsd-3-clause | 7,669 |
lib: node_modules $(shell find src)
rm -rf lib
node_modules/.bin/coffee --output lib --compile src
test: node_modules
node_modules/.bin/mocha test/suite
coverage: node_modules
node_modules/.bin/mocha --require test/coverage test/suite
node_modules/.bin/istanbul report
lint: node_modules
node_modules/.bin/coffe... | eloquent/couchdb-builder | Makefile | Makefile | mit | 495 |
# Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = build
# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINXBUILD)' command wa... | PuercoPop/djula | doc/Makefile | Makefile | mit | 6,847 |
include ../../../mk/pitchfork.mk
# Local variables
_NAME = pbsvtools
$(_NAME)_REPO ?= git://github.com/PacificBiosciences/$(_NAME)
_WRKSRC = $(WORKDIR)/$(_NAME)
$(_NAME)_VERSION ?= HEAD
_REVISION = $(shell cd $(_WRKSRC) && $(GIT) rev-parse --short $($(_NAME)_VERSION) || true)
# Local ... | mhsieh/pitchfork | ports/pacbio/pbsvtools/Makefile | Makefile | apache-2.0 | 841 |
##===- lib/Transforms/NaCl/Makefile-------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===-------------------------------------------------------------... | slightperturbation/Cobalt | ext/emsdk_portable/clang/tag-e1.34.1/src/lib/Transforms/NaCl/Makefile | Makefile | apache-2.0 | 439 |
# $FreeBSD: soc2013/dpl/head/usr.sbin/nfsdumpstate/Makefile 192854 2009-05-26 15:19:04Z rmacklem $
PROG= nfsdumpstate
MAN= nfsdumpstate.8
.include <bsd.prog.mk>
| dplbsd/zcaplib | head/usr.sbin/nfsdumpstate/Makefile | Makefile | bsd-2-clause | 163 |
# $FreeBSD: soc2013/dpl/head/lib/libiconv_modules/UTF1632/Makefile 219062 2011-02-25 00:04:39Z gabor $
SHLIB= UTF1632
SRCS+= citrus_utf1632.c
CFLAGS+= --param max-inline-insns-single=32
.include <bsd.lib.mk>
| dplbsd/soc2013 | head/lib/libiconv_modules/UTF1632/Makefile | Makefile | bsd-2-clause | 210 |
# ###########################################################################
#
# $Id: Makefile,v 1.3 2008/03/26 16:35:00 cnepveu Exp $
#
# Copyright (c) 2007 Hexago Inc. All rights reserved.
#
# For license information refer to CLIENT-LICENSE.TXT
#
# Description: Makefile for module library gw6c-pal
# ... | kevinmark/gw6c-6_0_1 | gw6c-pal/platform/Makefile | Makefile | bsd-3-clause | 1,805 |
# Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = build
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doc... | sunlightlabs/python-sunlight | docs/Makefile | Makefile | bsd-3-clause | 4,701 |
# Wind River Workbench generated Makefile.
# Do not edit!!!
#
# The file ".wrmakefile" is the template used by the Wind River Workbench to
# generate the makefiles of this project. Add user-specific build targets and
# make rules only(!) in this project's ".wrmakefile" file. These will then be
# automatically dumped in... | dudomatik/conveyor-belt | StateMachineTelnet/SIMNTdiab/Makefile | Makefile | mit | 18,791 |
main: main.cc
g++ -O2 -Wall -Wextra -o main main.cc
run: main
./main
debug: main
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./main
clean:
rm -fv main
| PysKa-Ratzinger/personal_project_euler_solutions | solutions/051-075/54/Makefile | Makefile | mit | 183 |
# Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINXBUILD)' command w... | alabid/pycrunchbase | docs/Makefile | Makefile | mit | 7,072 |
# Copyright 2017 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... | jingxu97/kubernetes | cluster/addons/fluentd-elasticsearch/es-image/Makefile | Makefile | apache-2.0 | 872 |
# $NetBSD: Makefile,v 1.2 2011/09/08 18:44:38 jmmv Exp $
NOMAN= # defined
.include <bsd.own.mk>
ATFFILE= no
TESTSDIR= ${TESTSBASE}/lib/libcurses
FILESDIR= ${TESTSDIR}/check_files
FILES= curses_start.chk
FILES+= addch.chk
FILES+= addchstr.chk
FILES+= addstr.chk
FILES+= attributes.chk
FILES+= bell.chk
FILES+=... | veritas-shine/minix3-rpi | tests/lib/libcurses/check_files/Makefile | Makefile | apache-2.0 | 1,599 |
# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
include $(GOROOT)/src/Make.$(GOARCH)
TARG=encoding/hex
GOFILES=\
hex.go\
include $(GOROOT)/src/Make.pkg
| edisonwsk/golang-on-cygwin | src/pkg/encoding/hex/Makefile | Makefile | bsd-3-clause | 264 |
TARGET?=tests
.PHONY: docs flake8 example test coverage
docs:
cd docs; make html
open docs/_build/html/index.html
flake8:
flake8 --ignore=W999 two_factor example tests
example:
DJANGO_SETTINGS_MODULE=example.settings PYTHONPATH=. \
django-admin.py runserver
test:
DJANGO_SETTINGS_MODULE=tests.settings PYTHON... | mathspace/django-two-factor-auth | Makefile | Makefile | mit | 816 |
export DJANGO_SETTINGS_MODULE=froide.settings
export DJANGO_CONFIGURATION=Test
export PYTHONWARNINGS=ignore
test:
flake8 --ignore=E501,E123,E124,E126,E127,E128,E402,E731 --exclude=south_migrations froide
coverage run --branch --source=froide manage.py test froide
coverage report --omit="*/south_migrations/*,*/migra... | LilithWittmann/froide | Makefile | Makefile | mit | 329 |
EXTRA_OBJS=typex.o addx.o
include ../common
| thender/ppp | tests/t0323x/Makefile | Makefile | apache-2.0 | 44 |
.PHONY: test
test: pep8 clean
@coverage report
@nosetests mining/test
@$(which gulp.js)
.PHONY: tox-test
tox-test: environment
@tox
.PHONY: environment
environment:
@pip install -r requirements_dev.txt
@pip install -r requirements.txt
@pip install numexpr==2.3
@python setup.py develop
@npm install gulp gulp-... | AndrzejR/mining | Makefile | Makefile | mit | 723 |
hc := ghc
hcflags := --make -O2 -fvia-C -optc-O2
examples := words spellchecker
all: $(examples)
words: Words.hs
$(hc) $(hcflags) -o $@ $^
spellchecker: SpellChecker.hs
$(hc) $(hcflags) -o $@ $^
clean:
-rm -f *.hi *.o $(examples)
| bos/bloomfilter | examples/Makefile | Makefile | bsd-3-clause | 238 |
all: i3status.1
A2X?=a2x
i3status.1: asciidoc.conf i3status.man
${A2X} -f manpage --asciidoc-opts="-f asciidoc.conf" i3status.man
clean:
rm -f i3status.xml i3status.1 i3status.html
| oberon2007/i3status-manjaro | man/Makefile | Makefile | bsd-3-clause | 185 |
###########################################################################
#
# Copyright 2016 Samsung Electronics All Rights Reserved.
#
# 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
#
# htt... | jsdosa/TizenRT | apps/system/i2c/Makefile | Makefile | apache-2.0 | 4,624 |
#
# OpenSSL/crypto/rc4/Makefile
#
DIR= rc4
TOP= ../..
CC= cc
CPP= $(CC) -E
INCLUDES=
CFLAG=-g
AR= ar r
RC4_ENC=rc4_enc.o rc4_skey.o
CFLAGS= $(INCLUDES) $(CFLAG)
ASFLAGS= $(INCLUDES) $(ASFLAG)
AFLAGS= $(ASFLAGS)
GENERAL=Makefile
TEST=rc4test.c
APPS=
LIB=$(TOP)/libcrypto.a
LIBSRC=rc4_skey.c rc4_enc.c rc4_utl.c
L... | LomoX-Offical/nginx-openresty-windows | src/nginx/objs/lib_x64/openssl/crypto/rc4/Makefile | Makefile | bsd-2-clause | 3,862 |
# Makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXSOURCE = source
PAPER =
BUILDDIR = build
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS... | tylertian/Openstack | openstack F/python-swiftclient/doc/Makefile | Makefile | apache-2.0 | 3,184 |
all:
go build -o nsinit .
| jvgogh/docker | vendor/src/github.com/docker/libcontainer/nsinit/Makefile | Makefile | apache-2.0 | 27 |
# Compiler, Flags, Directory Name and Executable Name
CC= g++
CFLAGS= -std=c++11
ODIR= ../obj
# Source codes and objects (Add here new .cpp tests separated by spaces)
SRCS= testPoint.cpp
EXEC= t1
OBJS= $(patsubst %.cpp,$(ODIR)/%.o,$(SRCS))
all: $(EXEC)
# Concatenate objects with your new directory
$(OBJS): | $(ODIR... | marquesm91/TerminalSnake | tests/Makefile | Makefile | mit | 590 |
TAG?=latest
.PHONY: build
build:
./build.sh
.PHONY: build-gateway
build-gateway:
(cd gateway; ./build.sh latest-dev)
.PHONY: test-ci
test-ci:
./contrib/ci.sh
.PHONY: ci-armhf-build
ci-armhf-build:
(cd gateway; ./build.sh $(TAG) ; cd ../auth/basic-auth ; ./build.sh $(TAG))
.PHONY: ci-armhf-push
ci-armhf-push:
... | rgee0/faas | Makefile | Makefile | mit | 624 |
SRC = lib/*.js
include node_modules/make-lint/index.mk
BIN = iojs
ifeq ($(findstring io.js, $(shell which node)),)
BIN = node
endif
ifeq (node, $(BIN))
FLAGS = --harmony-generators
endif
TESTS = test/application \
test/context/* \
test/request/* \
test/response/* \
test/experimental/index.js
test:
@NODE_EN... | roth1002/koa | Makefile | Makefile | mit | 848 |
#
# This file belongs to MTYPE13 package by Wlodek Bzyl <matwb@univ.gda.pl>
#
DVIPSFLAGS = -u +sign-000.map
# Read in font independent definitions.
make_root = ../../../make
include $(make_root)/type3common.mk
GENERATEDFILES = test-signs.{log,dvi,ps}
sign-000.dvi : sign-000.t3 sign-000.proof
test-signs.dvi : sign... | wbzyl/mtype13 | metapost/type3/signposts-000/Makefile | Makefile | mit | 328 |
# Makefile.in generated by automake 1.10.1 from Makefile.am.
# Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation... | SirUsername/flow | node_modules/expresso/deps/jscoverage/Makefile | Makefile | mit | 31,200 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.