code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 3 942 | language stringclasses 30
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
#ifndef JACE_JARRAY_H
#define JACE_JARRAY_H
#ifndef JACE_OS_DEP_H
#include "jace/os_dep.h"
#endif
#ifndef JACE_NAMESPACE_H
#include "jace/namespace.h"
#endif
#ifndef JACE_JNI_HELPER_H
#include "jace/JNIHelper.h"
#endif
#ifndef JACE_JCLASS_IMPL_H
#include "jace/JClassImpl.h"
#endif
#ifndef JACE_ELEMENT_PROXY_H
#in... | uw-loci/jar2lib | src/main/resources/project-files/jace/include/jace/JArray.h | C | bsd-2-clause | 13,952 |
package org.gazebosim.transport;
public interface SubscriberCallback<T> {
void callback(T msg);
}
| FRC1296/CheezyDriver2016 | third_party/allwpilib_2016/simulation/JavaGazebo/src/main/java/org/gazebosim/transport/SubscriberCallback.java | Java | bsd-2-clause | 100 |
//
// SyrahTableView.h
// SyrahUI
//
// Created by Guilherme Rambo on 17/03/14.
// Copyright (c) 2014 Guilherme Rambo. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface SyrahTableView : NSTableView
@end
@interface SyrahTableRowView : NSTableRowView
@end
| insidegui/FinderSyrahUI | SyrahUI/SyrahTableView.h | C | bsd-2-clause | 272 |
#include "operators/activation/elu_op.h"
#include "utils/math_functions.h"
#include "utils/op_kernel.h"
namespace dragon {
template <class Context> template <typename T>
void EluOp<Context>::RunWithType() {
auto* Xdata = input(0).template data<T, Context>();
auto* Ydata = output(0)->template mutable_data<T, C... | neopenx/Dragon | Dragon/src/operators/activation/elu_op.cc | C++ | bsd-2-clause | 1,854 |
var voxelPainter = require('./../')
// Options
var options = {
container: '#container'
}
var painter = voxelPainter(options)
var loopThrough = function(elements, cb) {
[].forEach.call(elements, function(item) {
cb(item)
})
}
// Color selector
var colorSelector = document.querySelectorAll('.color-selecto... | romainberger/voxel-painter-core | example/main.js | JavaScript | bsd-2-clause | 604 |
//-----------------------------------------------------------------------
// <copyright file="Th105Converter.cs" company="None">
// Copyright (c) IIHOSHI Yoshinori.
// Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information.
// </copyright>
//---------------------... | y-iihoshi/ThScoreFileConverter | ThScoreFileConverter/Models/Th105Converter.cs | C# | bsd-2-clause | 4,300 |
"""
Environment variable configuration loading class.
Using a class here doesn't really model anything but makes state passing (in a
situation requiring it) more convenient.
This module is currently considered private/an implementation detail and should
not be included in the Sphinx API documentation.
"""
import os
... | mkusz/invoke | invoke/env.py | Python | bsd-2-clause | 4,077 |
package org.randomcoder.taglibs.url;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.TagSupport;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
* Tag class which adds a parameter to a URL.
*
* <pre>
* Copyright (c) 2006, Craig Condit. All rights res... | insideo/randomcoder-taglibs | src/main/java/org/randomcoder/taglibs/url/AddParamTag.java | Java | bsd-2-clause | 3,000 |
package ninchatapi
// AppendStrings duplicates the source slice while unwrapping the elements.
func AppendStrings(target []string, source []interface{}) []string {
if source != nil {
if target == nil || cap(target) < len(target)+len(source) {
t := make([]string, len(target), len(target)+len(source))
copy(t, t... | ninchat/ninchat-go | ninchatapi/params.go | GO | bsd-2-clause | 513 |
#
# Polymorphic Mixins
#
from silverflask import db
from sqlalchemy.ext.declarative import declared_attr
from silverflask.helper import classproperty
class PolymorphicMixin(object):
type = db.Column(db.String(50))
@declared_attr
def __mapper_args__(cls):
if hasattr(cls, '__versioned_draft_class__... | wolfv/SilverFlask | silverflask/mixins/PolymorphicMixin.py | Python | bsd-2-clause | 850 |
#ifndef APPROX_RELPOSE_AXIAL_H
#define APPROX_RELPOSE_AXIAL_H
#include <Eigen/Core>
#include <vector>
void
approx_relpose_axial
(
const Eigen::Matrix<double,6,6> &w1,
const Eigen::Matrix<double,6,6> &w2,
const Eigen::Matrix<double,6,6> &w3,
const Eigen::Matrix<double,6,6> &w4,
const Eigen::Matrix<... | jonathanventura/multi-camera-motion | include/multi-camera-motion/approx_relpose_axial.h | C | bsd-2-clause | 430 |
class XmlIO;
template <class T>
void XmlAttrLoad(T& var, const String& text)
{
var.XmlAttrLoad(text);
}
template <class T>
String XmlAttrStore(const T& var)
{
return var.XmlAttrStore();
}
class XmlIO {
XmlNode& node;
bool loading;
Value userdata;
public:
bool IsLoading() const { return loadi... | dreamsxin/ultimatepp | uppsrc/Core/Xmlize.h | C | bsd-2-clause | 8,759 |
\hypertarget{class_grape_f_s_1_1_g_l_kernel}{\section{Grape\-F\-S\-:\-:G\-L\-Kernel Class Reference}
\label{class_grape_f_s_1_1_g_l_kernel}\index{Grape\-F\-S\-::\-G\-L\-Kernel@{Grape\-F\-S\-::\-G\-L\-Kernel}}
}
The \hyperlink{class_grape_f_s_1_1_g_l_kernel}{G\-L\-Kernel} class supports G\-L\-S\-L code.
{\ttfami... | crurik/GrapeFS | Doxygen/latex/class_grape_f_s_1_1_g_l_kernel.tex | TeX | bsd-2-clause | 9,086 |
/** @file SkylineBinPack.h
@author Jukka Jylänki
@brief Implements different bin packer algorithms that use the SKYLINE data structure.
This work is released to Public Domain, do whatever you want with it.
*/
#pragma once
#include <vector>
#include "Rect.h"
#include "GuillotineBinPack.h"
/** Implements bin pack... | nyaki-HUN/DESIRE | DESIRE-Modules/UI-HorusUI/Externals/horus_ui/libs/binpack/SkylineBinPack.h | C | bsd-2-clause | 3,183 |
//===--- LiteralSupport.cpp - Code to parse and process literals ----------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | epiqc/ScaffCC | clang/lib/Lex/LiteralSupport.cpp | C++ | bsd-2-clause | 66,118 |
set -e
while [ true ]
do
echo .
csmith > test.c;
clang -I${CSMITH_PATH}/runtime -O3 -w test.c -o /dev/null;
gcc -I${CSMITH_PATH}/runtime -O3 -w test.c -o /dev/null;
done
| ChrisLidbury/CLSmith | scripts/driver0.sh | Shell | bsd-2-clause | 178 |
// This file was procedurally generated from the following sources:
// - src/spread/obj-mult-spread.case
// - src/spread/default/super-call.template
/*---
description: Multiple Object Spread operation (SuperCall)
esid: sec-super-keyword-runtime-semantics-evaluation
es6id: 12.3.5.1
features: [object-spread]
flags: [gene... | sebastienros/jint | Jint.Tests.Test262/test/language/expressions/super/call-spread-obj-mult-spread.js | JavaScript | bsd-2-clause | 1,479 |
This software package provides extensive tools for robust and stable
clustering of molecular dynamics trajectories.
The essential functions are:
- density-based geometric clustering for microstate generation
- dynamic clustering based on the Most-Probable-Path algorithm (MPP)
- variable dynamic coring for boun... | lettis/Clustering | README.md | Markdown | bsd-2-clause | 5,804 |
from speakeasy import app
app.run(debug=True)
| TinnedTuna/speakeasyspeeches | wsgi/run.py | Python | bsd-2-clause | 46 |
package geom
import "math"
type geom0 struct {
layout Layout
stride int
flatCoords []float64
srid int
}
type geom1 struct {
geom0
}
type geom2 struct {
geom1
ends []int
}
type geom3 struct {
geom1
endss [][]int
}
// Bounds returns the bounds of g.
func (g *geom0) Bounds() *Bounds {
return ... | twpayne/go-geom | flat.go | GO | bsd-2-clause | 9,818 |
<!--
@license
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors m... | kbwatts/polymer-survey | quiz.html | HTML | bsd-2-clause | 7,898 |
#pragma once
#include <string>
#include <memory>
#include <deque>
#include "FAST/Object.hpp"
namespace fast {
/**
* @brief A class for runtime measurement
*
* Collect multiple runtimes over time, and calculates running average, running standard deviation,
* sum, max, min etc.
*
* All measurements are in millise... | smistad/FAST | source/FAST/RuntimeMeasurement.hpp | C++ | bsd-2-clause | 1,189 |
# Load the rails application
require File.expand_path('../application', __FILE__)
# Initialize the rails application
Media::Application.initialize!
| thomaseger/media | config/environment.rb | Ruby | bsd-2-clause | 149 |
package me.passtheheadphones.request;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.format.DateUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ExpandableListView;
import androi... | stuxo/PTHAndroid | PTHAndroid/src/main/java/me/passtheheadphones/request/RequestDetailFragment.java | Java | bsd-2-clause | 8,720 |
#ifndef FORM_HPP
#define FORM_HPP
#include <CtrlLib/CtrlLib.h>
#include <GridCtrl/GridCtrl.h>
using namespace Upp;
#include "Container.hpp"
#include "FormLayout.hpp"
class Form : public TopWindow
{
typedef Form CLASSNAME;
public:
Form();
~Form();
bool Load(const String& file);
bool Layout(... | dreamsxin/ultimatepp | bazaar/Form/Form.hpp | C++ | bsd-2-clause | 1,446 |
//=================================================================================================
/*!
// \file blaze/math/expressions/DVecDVecAddExpr.h
// \brief Header file for the dense vector/dense vector addition expression
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This file is... | Kolkir/blaze-nn | third-party/blaze/include/blaze/math/expressions/DVecDVecAddExpr.h | C | bsd-2-clause | 54,110 |
# gopwt
[](https://travis-ci.org/ToQoz/gopwt)
[
from fabric.operations import (
_AttributeString,
_execute,
_prefix_commands,
_p... | bitmonk/fabtools | fabtools/openvz/contextmanager.py | Python | bsd-2-clause | 9,146 |
using System.Collections.Generic;
using System.Linq.Expressions;
using Microsoft.Extensions.Logging;
using Mozlite.Data.Query.Translators.Internal;
using System.Linq;
namespace Mozlite.Data.Query.Translators
{
/// <summary>
/// 方法调用转换实现基类。
/// </summary>
public abstract class RelationalCompositeMethod... | Mozlite/Mozlite.Core | Mozlite.Core/Data/Query/Translators/RelationalCompositeMethodCallTranslator.cs | C# | bsd-2-clause | 1,993 |
# -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-04-29 07:17
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('crimeprediction', '0003_auto_20160406_1610'),
]
operations = [
migrations.RemoveFiel... | jayArnel/crimemapping | crimeprediction/migrations/0004_auto_20160429_0717.py | Python | bsd-2-clause | 586 |
/* Copyright (c) 2005, Regents of Massachusetts Institute of Technology,
* Brandeis University, Brown University, and University of Massachusetts
* Boston. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | ibrarahmad/cstore | src/Wrappers/DictCPUDataSource.h | C | bsd-2-clause | 3,425 |
#include <ngx_flags.h>
#include <ngx_generator.h>
#include <google/protobuf/descriptor.pb.h>
namespace google {
namespace protobuf {
namespace compiler {
namespace nginx {
void
Generator::GenerateSize(const Descriptor* desc, io::Printer& printer)
{
std::map<std::string, std::string> vars;
vars["name"] = desc->fu... | dbcode/protobuf-nginx | protongx/ngx_size.cc | C++ | bsd-2-clause | 12,102 |
var tap = require('tap'),
plan = tap.plan,
test = tap.test,
parser = require('../index');
var cfg53 = new parser.parser( { String: "got = 1\nhave = '$got'", InterPolateVars: true, AllowSingleQuoteInterpolation: true } );
var hash53 = cfg53.getall();
test("test AllowSingleQuoteInterpolation", function(t) {... | dshadowwolf/config-general | t/29-test-allowsinglequoteinterpolation.js | JavaScript | bsd-2-clause | 416 |
/* @LICENSE(MUSLC_MIT) */
/* origin: FreeBSD /usr/src/lib/msun/src/s_expm1.c */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribut... | gapry/refos | libs/libmuslc/src/math/expm1.c | C | bsd-2-clause | 7,529 |
/* $Id$ */
/* Copyright (c) 2007-2016 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS System libc */
/* 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. Redis... | DeforaOS/libc | include/kernel/openbsd/errno.h | C | bsd-2-clause | 2,407 |
import unittest
import tempfile
import shutil
import os
from simlammps.io.lammps_data_file_parser import LammpsDataFileParser
from simlammps.io.lammps_simple_data_handler import LammpsSimpleDataHandler
class TestLammpsSimpleDataHandler(unittest.TestCase):
""" Tests the data reader class
"""
def setUp(se... | simphony/simphony-lammps-md | simlammps/io/tests/test_lammps_simple_data_handler.py | Python | bsd-2-clause | 2,811 |
from django.conf import settings
class Breadcrumb(object):
"""
A single breadcrumb, which is a 1:1 mapping to a view.
This is simply a wrapper class for the template tag.
"""
def __init__(self, name, url):
self.name = name
self.url = url
class Breadcrumbs(object):
"""
The s... | sjkingo/django-breadcrumbs3 | breadcrumbs3/middleware.py | Python | bsd-2-clause | 2,010 |
package com.pillowdrift.drillergame.entities.menu.buttons;
import com.pillowdrift.drillergame.framework.Scene;
/**
* Button to take you to the RecordsScene
* @author cake_cruncher_7
*
*/
public class RecordsMenuButton extends GenericMenuButton
{
//CONSTRUCTION
public RecordsMenuButton(Scene parent) ... | Pillowdrift/MegaDrillerMole | MegaDrillerMole/MDMWorkspace/DrillerGameAndroid/src/com/pillowdrift/drillergame/entities/menu/buttons/RecordsMenuButton.java | Java | bsd-2-clause | 600 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0) on Mon Jan 09 14:28:37 PST 2017 -->
<title>VectoringNozzleSystemData</title>
<meta name="date" content="2017-01-09">
<link rel="stylesheet" ty... | open-dis/DISTutorial | javadoc/edu/nps/moves/dis/VectoringNozzleSystemData.html | HTML | bsd-2-clause | 19,015 |
cask "font-xanh-mono" do
version :latest
sha256 :no_check
url "https://github.com/google/fonts/trunk/ofl/xanhmono",
verified: "github.com/google/fonts/",
using: :svn,
trust_cert: true
name "Xanh Mono"
desc "Mono-serif typeface, designed by lam bao and duy dao"
homepage "https://fon... | alerque/homebrew-fonts | Casks/font-xanh-mono.rb | Ruby | bsd-2-clause | 418 |
local ffi = require("ffi")
local Iovec = require("levee").d.Iovec
return {
test_core = function()
local iov = Iovec()
local cdata, valuen, tailn, oldtailn
assert.equal(#iov, 0)
cdata, valuen = iov:value()
assert.equal(valuen, 0)
iov:ensure(4)
cdata, valuen = iov:value()
assert.equal(valuen, 0)
... | imgix/levee | tests/d/test_iovec.lua | Lua | bsd-2-clause | 2,073 |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body style='color:red;'>
Sorry. This page is currently unvailable because your ISP is blocking access to this site!
<br />
The site is available, but your local network is preventing you from accessing it.
You can try using a proxy,... | willscott/activist-wp-plugin | views/warning.php | PHP | bsd-2-clause | 703 |
# README is in progress
| trenskow/Animeteor | README.md | Markdown | bsd-2-clause | 24 |
# -*- coding: utf-8 -*-
import json
import logging
from django.conf import settings
from django.contrib.auth.decorators import login_required
from django.views.decorators.http import last_modified as cache_last_modified
from django.views.decorators.cache import never_cache as force_cache_validation
from django.core.ca... | camillemonchicourt/Geotrek | geotrek/core/views.py | Python | bsd-2-clause | 6,257 |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
HardwareInfo.cpp: Implements the FHardwareInfo class
=============================================================================*/
#include "EnginePrivate.h"
#include "Hard... | PopCap/GameIdea | Engine/Source/Runtime/Engine/Private/HardwareInfo.cpp | C++ | bsd-2-clause | 1,215 |
<!DOCTYPE html>
<head>
<title>panorama - a free bootstrap 3 dashboard template</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="a free bootstrap 3 dashboard template">
<meta name="author" ... | DebVortex/panorama | index.html | HTML | bsd-2-clause | 10,617 |
// Generated by CoffeeScript 1.9.3
/**
*
* @module cnode/view
* @author vfasky <vfasky@gmail.com>
*/
(function() {
"use strict";
var api, mcore;
mcore = require('mcoreExt');
api = require('./api');
module.exports = mcore.View.subclass({
constructor: mcore.View.prototype.constructor,
beforeIn... | vfasky/mcore | example/cnodejs/js/pack/cnode/1.0.0/src/view.js | JavaScript | bsd-2-clause | 394 |
There is different reasons to want a personal wiki on your machine:
- privacy
- having it everywhere
I've tested a few wikis engines, like [tiddlywiki](http://tiddlywiki.com/), but I've found nothing that was really what I wanted. The main inconveniance is the need to use a webbrowser. A browser is not a text process... | franckcuny/franckcuny.github.io | posts/2008-06-14-how-to-use-vim-as-a-personal-wiki.md | Markdown | bsd-2-clause | 2,302 |
// Sorting the columns
/**
* @author zhixin wen <wenzhixin2010@gmail.com>
* version: 1.10.1
* https://github.com/wenzhixin/bootstrap-table/
*/
!function ($) {
'use strict';
// TOOLS DEFINITION
// ======================
var cachedWidth = null;
// it only does '%s', and return '' when argument... | ZombieHippie/cream | public/script/tablesorting.js | JavaScript | bsd-2-clause | 100,297 |
// Copyright (C) 2016-2020 European Spallation Source, ERIC. See LICENSE file
//===----------------------------------------------------------------------===//
///
/// \file
/// \brief Template based class for dumping data to HDF5 files
//===----------------------------------------------------------------------===//
#p... | ess-dmsc/event-formation-unit | src/common/DumpFile.h | C | bsd-2-clause | 5,793 |
/*
* (C) 2011 Billy Brumley (billy.brumley@aalto.fi)
* (C) 2021 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/zfec.h>
#include <botan/internal/simd_32.h>
#if defined(BOTAN_SIMD_USE_SSE2)
#include <tmmintrin.h>
#endif
namespace Botan {
namespace {
/*
* the... | randombit/botan | src/lib/misc/zfec/zfec_vperm/zfec_vperm.cpp | C++ | bsd-2-clause | 51,390 |
@charset "UTF-8";
/* SpryTabbedPanels.css - version 0.6 - Spry Pre-Release 1.6.1 */
/* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
/* Horizontal Tabbed Panels
*
* The default style for a TabbedPanels widget places all tab buttons
* (left aligned) above the content panel.
*/
... | effectweb/effectweb-v1.8.5 | src/modules/header/css/SpryTabbedPanels.css | CSS | bsd-2-clause | 8,742 |
#
# Copyright (C) 2001-2006 by egnite Software GmbH. 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... | Astralix/ethernut32 | nut/hwtest/cm3/stm/trampoline/Makefile | Makefile | bsd-2-clause | 2,103 |
class LimeError(Exception):
"""Raise for errors"""
| marcotcr/lime | lime/exceptions.py | Python | bsd-2-clause | 55 |
/*
* spm.c
*
* Copyright (c) 2012, Thomas Buck <xythobuz@me.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright no... | xythobuz/yasab | bootloader/util.c | C | bsd-2-clause | 2,158 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_serial_port::lowest_layer (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../.... | laeotropic/HTTP-Proxy | deps/asio-1.10.1/doc/asio/reference/basic_serial_port/lowest_layer/overload2.html | HTML | bsd-2-clause | 3,764 |
/**
* @module ol/layer/MapboxVector
*/
import BaseEvent from '../events/Event.js';
import EventType from '../events/EventType.js';
import GeometryType from '../geom/GeometryType.js';
import MVT from '../format/MVT.js';
import RenderFeature from '../render/Feature.js';
import SourceState from '../source/State.js';
imp... | ahocevar/ol3 | src/ol/layer/MapboxVector.js | JavaScript | bsd-2-clause | 18,944 |
//
// protocol.hpp
// ~~~~~~~~~~~~
//
// Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef PORTHOPPER_PROTOCOL_HPP
#define POR... | laeotropic/HTTP-Proxy | deps/asio-1.10.1/src/examples/cpp03/porthopper/protocol.hpp | C++ | bsd-2-clause | 4,270 |
#-----------------------------------------------------------------------------------------
# Makefile for GCC & gmake (Linux, Windows/MinGW, OpenSolaris, etc).
#-----------------------------------------------------------------------------------------
# Copyright (c) 2012 Marcus Geelnard
#
# This software is provided 'a... | asmodehn/WkCore | depends/tinycthread/test/Makefile | Makefile | bsd-2-clause | 2,642 |
/*
* Copyright (c) 2012, Alexander Tarnowski
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this list of condit... | alexander-t/selenium-samples | src/test/java/se/tarnowski/sample/async/ImplicitWaitTest.java | Java | bsd-2-clause | 2,200 |
class Fdclone < Formula
desc "Console-based file manager"
homepage "https://hp.vector.co.jp/authors/VA012337/soft/fd/"
url "http://www.unixusers.net/src/fdclone/FD-3.01h.tar.gz"
sha256 "24be8af52faa48cd6f123d55cfca45d21e5fd1dc16bed24f6686497429f3e2cf"
bottle do
sha256 "84cacf0bc5a76449dc1e0a00999424eed4e... | zmwangx/homebrew-core | Formula/fdclone.rb | Ruby | bsd-2-clause | 1,604 |
class Acpica < Formula
desc "OS-independent implementation of the ACPI specification"
homepage "https://www.acpica.org/"
url "https://acpica.org/sites/acpica/files/acpica-unix-20200717.tar.gz"
sha256 "cb99903ef240732f395af40c23b9b19c7899033f48840743544eebb6da72a828"
license any_of: ["Intel-ACPI", "GPL-2.0-onl... | maxim-belkin/homebrew-core | Formula/acpica.rb | Ruby | bsd-2-clause | 1,231 |
{% extends "web_template.html" %}
{% import 'macros/common.html' as common %}
{% block title %}Seeding{% endblock %}
{% block content %}
<section class="bg-19 bg-center bg-cover">
<div>
<div class="container section-sm">
<h1 class="top-title">Seeding</h1>
</div>
</div>
</section>... | cmptrgeekken/evething | templates/pgsus/seedlist.html | HTML | bsd-2-clause | 1,469 |
<?php
/**
* SorterDropDownColumn class file.
*
* @author Krivtsov Artur (wartur) <gwartur@gmail.com> | Made in Russia
* @copyright Krivtsov Artur © 2014
* @link https://github.com/wartur/yii-sorter-behavior
* @license New BSD license
*/
Yii::import('zii.widgets.grid.CGridColumn', true);
Yii::import('... | wartur/yii-sorter | widgets/SorterDropDownColumn.php | PHP | bsd-2-clause | 6,834 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>standard.net.sip.osip_authorization_set_nonce_count</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
</head>
<body bgcolor="#ffffff">
... | Devronium/ConceptApplicationServer | core/server/Samples/CIDE/Help/standard.net.sip.osip_authorization_set_nonce_count.html | HTML | bsd-2-clause | 2,680 |
/*
* 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 ... | zhangjunfang/eclipse-dir | spark/examples/src/main/scala/org/apache/spark/streaming/examples/NetworkWordCount.scala | Scala | bsd-2-clause | 2,561 |
/*
* Copyright 2011-2015 Branimir Karadzic. All rights reserved.
* License: http://www.opensource.org/licenses/BSD-2-Clause
*/
#ifndef BGFX_CONFIG_H_HEADER_GUARD
#define BGFX_CONFIG_H_HEADER_GUARD
#include <bx/config.h>
#ifndef BGFX_CONFIG_DEBUG
# define BGFX_CONFIG_DEBUG 0
#endif // BGFX_CONFIG_DEBUG
#if !defin... | sergeScherbakov/bgfx | src/config.h | C | bsd-2-clause | 9,109 |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>dialogWPAPersonal</name>
<message>
<source>WPA Personal Config</source>
<translation>WPA-Personal seadistus</translation>
</message>
<message>
<source>&Close</source>
<translation>... | NorwegianRockCat/pc-networkmanager | src/wificonfig/i18n/wificonfig_et.ts | TypeScript | bsd-2-clause | 14,175 |
/* protli.c: PROTECTION FOR LINUX (INTEL 386)
*
* $Id: //info.ravenbrook.com/project/mps/version/1.113/code/protli.c#1 $
* Copyright (c) 2001 Ravenbrook Limited. See end of file for license.
*
* SOURCES
*
* .source.i486: Intel486 Microprocessor Family Programmer's
* Reference Manual
*
* .source.linux.kerne... | penberg/hornet | mps/protli.c | C | bsd-2-clause | 6,529 |
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE DuplicateRecordFields #-}
module DuplicateRecordFields (RawReplay(..)) where
import Prelude hiding (Int)
data Int = Int
data RawReplay = RawReplay
{ headerSize :: Int
-- ^ The byte size of the first section.
, headerCRC :: Int
-- ^ The CRC of the first sectio... | haskell/haddock | html-test/src/DuplicateRecordFields.hs | Haskell | bsd-2-clause | 767 |
/*
* Copyright (c) 2017, Loic Blot <loic.blot@unix-experience.fr>
* 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,
... | WinterWind/WinterWind | src/core/amqp/connection.cpp | C++ | bsd-2-clause | 9,314 |
var mongoose = require('mongoose');
module.exports = function (config) {
mongoose.connect(config.db);
var db = mongoose.connection;
db.on('error', console.error.bind(console, 'connection error...'));
db.once('open', function callBack() {
console.log('multivision is opened');
});
var u... | dimylik/mean | server/config/mongoose.js | JavaScript | bsd-2-clause | 850 |
#nullable enable
using System;
using Esprima;
using Jint.Native;
using Jint.Native.Error;
using Jint.Native.Object;
using Jint.Pooling;
namespace Jint.Runtime
{
public class JavaScriptException : JintException
{
private string? _callStack;
public JavaScriptException(ErrorConstructor errorCons... | sebastienros/jint | Jint/Runtime/JavaScriptException.cs | C# | bsd-2-clause | 4,591 |
void charprint (std::string output) {
for (unsigned int i = 0; i < output.size(); i++) {
if (output[i] >= 33 && output[i] <= 126) {
std::cout << output[i];
}
else {
std::cout << '(' << int(output[i]) << ')';
}
}
std::cout << std::endl;
}
std::string asciiOnly (std::string input) {
s... | AsherGlick/Olympus-Server-Management | SourceServer/Backend/src/charprint.h | C | bsd-2-clause | 491 |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.11
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... | internaut/mastersthesis-mobile-gpgpu | ClAudio/src/net/mkonrad/claudio/cl_audioJNI.java | Java | bsd-2-clause | 952 |
import re
from streamlink.plugin import Plugin
from streamlink.plugin.api import validate
YOUTUBE_URL = "https://www.youtube.com/watch?v={0}"
_url_re = re.compile(r'http(s)?://www\.skai.gr/.*')
_youtube_id = re.compile(r'<span\s+itemprop="contentUrl"\s+href="(.*)"></span>', re.MULTILINE)
_youtube_url_schema = validat... | back-to/streamlink | src/streamlink/plugins/skai.py | Python | bsd-2-clause | 889 |
/*
* Copyright (c) 2019, Kyle Sergio <https://github.com/ksergio39>
* Copyright (c) 2019, Bryce Altomare <https://github.com/Twinkiel0ver>
* Copyright (c) 2019, Kyle Stead <http://github.com/kyle1elyk>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, a... | runelite/runelite | runelite-client/src/main/java/net/runelite/client/plugins/worldmap/TransportationPointLocation.java | Java | bsd-2-clause | 15,466 |
/* Copyright (c) 1985-2012, B-Core (UK) Ltd
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 foll... | edwardcrichton/BToolkit | MOTIF/CFG_DEP_BASE/CDE/C/MRIState_ffnc_ctx.h | C | bsd-2-clause | 1,456 |
from django.contrib.auth import authenticate, login, logout
from django.shortcuts import redirect, render
from users.forms import UserCreationForm
def create_user_account(request):
if request.method == 'POST':
form = UserCreationForm(request.POST)
if form.is_valid():
form.save()
... | kbarnes3/BaseDjangoSite | web/users/views.py | Python | bsd-2-clause | 696 |
/* Software SPAMS v2.1 - Copyright 2009-2011 Julien Mairal
*
* This file is part of SPAMS.
*
* SPAMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your opti... | wjbeksi/rgbd-covariance-descriptors | spams/dictLearn/mex/mexTrainDL.cpp | C++ | bsd-2-clause | 7,630 |
# The Nexus software is licensed under the BSD 2-Clause license.
#
# You should have recieved a copy of this license with the software.
# If you did not, you can find one at the following link.
#
# http://opensource.org/licenses/bsd-license.php
entitylist.append(["confetti",(x,y,z),6,6])
| TheArchives/Nexus | core/entities/confetti_create.py | Python | bsd-2-clause | 291 |
/* A Pseudo Random Number Generator - Mersenne twister
* http://en.wikipedia.org/wiki/Mersenne_twister
* http://my.opera.com/metrallik/blog/2013/04/19/c-class-for-random-generation-with-mersenne-twister-method
*/
#ifndef PSEUDORNG_HPP
#define PSEUDORNG_HPP
class PseudoRNG {
private:
static const unsign... | codeape/eye-engine | engine/PseudoRNG.hpp | C++ | bsd-2-clause | 637 |
/*
* THE UNICODE TEST SUITE FOR CINDER: https://github.com/arielm/Unicode
* COPYRIGHT (C) 2013, ARIEL MALKA ALL RIGHTS RESERVED.
*
* THE FOLLOWING SOURCE-CODE IS DISTRIBUTED UNDER THE MODIFIED BSD LICENSE:
* https://github.com/arielm/Unicode/blob/master/LICENSE.md
*/
/*
* DONE:
*
* 1) MOVING LangHelper TO Fon... | arielm/Unicode | Projects/Rendering/src/Sketch.h | C | bsd-2-clause | 6,460 |
/****************************************************************************
*
* freetype.h
*
* FreeType high-level API and common types (specification only).
*
* Copyright (C) 1996-2019 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be use... | nyaki-HUN/DESIRE | DESIRE-Modules/UI-HorusUI/Externals/horus_ui/libs/freetype/include/freetype/freetype.h | C | bsd-2-clause | 165,532 |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>npyscreen.autocomplete.TitleFilename</title>
<link rel="stylesheet" href="epydoc.css" type=... | tescalada/npyscreen-restructure | auto-doc/npyscreen.autocomplete.TitleFilename-class.html | HTML | bsd-2-clause | 11,511 |
package com.tvh.tricsql.test.load;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import org.junit.runner.Runner;
im... | teddym6/TricSqlLoad | TricSQlLoad/TricSqlLoad/src/com/tvh/tricsql/test/load/ParameterizedMultiThreadedRunner.java | Java | bsd-2-clause | 4,620 |
/*
* Copyright (c) editor700
* (c) 2015 <editor700@gmail.com>
*/
#ifndef _utils_h_
#define _utils_h_
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
#include <time.h>
#include <pthread.h>
#include <signal.h>
#include <errno.h>
#include <unistd.h>
#define MIN(a,b) (((a)<(b))?(a):(b))... | editor700/esocks | src/utils.h | C | bsd-2-clause | 900 |
/*
* Copyright (c) 2014-2017 Pavel Kalvoda <me@pavelkalvoda.com>
*
* libcbor is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#ifndef LIBCBOR_BUILDER_CALLBACKS_H
#define LIBCBOR_BUILDER_CALLBACKS_H
#include "cbor/common.h"
#include "../c... | Devronium/ConceptApplicationServer | modules/standard.lib.cbor/src/cbor/internal/builder_callbacks.h | C | bsd-2-clause | 1,991 |
# JNP Plugin
## What is this for?
JNP jQuery Notification Plugin for Twitter Bootstrap is a plugin built in jQuery for use in your website if you need notifications messages. There are several configuration to make yor own notification or use a pre render.
## Quick start
Add bootstrap library (js and css) from here: h... | faiverson/JNP | README.md | Markdown | bsd-2-clause | 1,051 |
//
// Validator.h
// EmailValidation
//
// Created by Manuel Meyer on 16.07.14.
// Copyright (c) 2014 vs. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol Validator <NSObject>
-(BOOL)isValidAddress:(NSString *)address;
@end
@interface Validator : NSObject<Validator>
@property (nonatomic, copy... | vikingosegundo/EmailChecker | EmailValidation/EmailValidation/Validator.h | C | bsd-2-clause | 450 |
//********************************************************************
// created: 22:7:2008 12:04
// file: pci.struct.h
// author: tiamo
// purpose: struct
//********************************************************************
#pragma once
#include <pshpack1.h>
//
// ide controller progif
//
typedef union _PCI_... | godspeed1989/WDUtils | tiamoPCI/source/pci.struct.h | C | bsd-2-clause | 19,627 |
/*
* Copyright (c) Citrix Systems, 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 lis... | sukinull/libxenserver | src/xen_vif.c | C | bsd-2-clause | 29,109 |
from .api import *
from .reduction import Reduce
from .cudadrv.devicearray import (device_array, device_array_like, pinned,
pinned_array, pinned_array_like, to_device, auto_device)
from .cudadrv import devicearray
from .cudadrv.devices import require_context, gpus
from .cudadrv.devices import get_co... | sklam/numba | numba/cuda/simulator/__init__.py | Python | bsd-2-clause | 1,170 |
/*
* Copyright (c) 2011-2022, The DART development contributors
* All rights reserved.
*
* The list of contributors can be found at:
* https://github.com/dartsim/dart/blob/master/LICENSE
*
* This file is provided under the following "BSD-style" License:
* Redistribution and use in source and binary forms, w... | dartsim/dart | dart/dynamics/WeldJoint.hpp | C++ | bsd-2-clause | 3,722 |
//===- ModuleFile.h - Module file description -------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | epiqc/ScaffCC | clang/include/clang/Serialization/ModuleFile.h | C | bsd-2-clause | 16,020 |
#!/bin/bash
# - must have Cython installed
# - must have already run:
# mkdir cbuild
# (cd cbuild && cmake .. && make -j 4 )
# - torch is expected to be already activated, ie run:
# source ~/torch/install/bin/torch_activate.sh
# ... or similar
# - torch is expected to be at $HOME/torch
export TORCH_INST... | hughperkins/pytorch | build.sh | Shell | bsd-2-clause | 1,284 |
from confduino.boardlist import boards_txt
from entrypoint2 import entrypoint
import logging
log = logging.getLogger(__name__)
@entrypoint
def remove_board(board_id):
"""remove board.
:param board_id: board id (e.g. 'diecimila')
:rtype: None
"""
log.debug('remove %s', board_id)
lines = boa... | ponty/confduino | confduino/boardremove.py | Python | bsd-2-clause | 452 |
/*
* Copyright (c) 2019, Dmitriy Shchekotin
* 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 ... | SupremeBeing/Silver-Hammer | silver-hammer-core/src/main/java/ru/silverhammer/processor/ControlProcessor.java | Java | bsd-2-clause | 5,459 |