repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
uw-loci/jar2lib
src/main/resources/project-files/jace/include/jace/JArray.h
13952
#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...
bsd-2-clause
FRC1296/CheezyDriver2016
third_party/allwpilib_2016/simulation/JavaGazebo/src/main/java/org/gazebosim/transport/SubscriberCallback.java
100
package org.gazebosim.transport; public interface SubscriberCallback<T> { void callback(T msg); }
bsd-2-clause
insidegui/FinderSyrahUI
SyrahUI/SyrahTableView.h
272
// // 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
bsd-2-clause
neopenx/Dragon
Dragon/src/operators/activation/elu_op.cc
1854
#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...
bsd-2-clause
romainberger/voxel-painter-core
example/main.js
604
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...
bsd-2-clause
y-iihoshi/ThScoreFileConverter
ThScoreFileConverter/Models/Th105Converter.cs
4300
//----------------------------------------------------------------------- // <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> //---------------------...
bsd-2-clause
mkusz/invoke
invoke/env.py
4077
""" 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 ...
bsd-2-clause
insideo/randomcoder-taglibs
src/main/java/org/randomcoder/taglibs/url/AddParamTag.java
3000
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...
bsd-2-clause
ninchat/ninchat-go
ninchatapi/params.go
513
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...
bsd-2-clause
wolfv/SilverFlask
silverflask/mixins/PolymorphicMixin.py
850
# # 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__...
bsd-2-clause
jonathanventura/multi-camera-motion
include/multi-camera-motion/approx_relpose_axial.h
430
#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<...
bsd-2-clause
dreamsxin/ultimatepp
uppsrc/Core/Xmlize.h
8759
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...
bsd-2-clause
crurik/GrapeFS
Doxygen/latex/class_grape_f_s_1_1_g_l_kernel.tex
9086
\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...
bsd-2-clause
nyaki-HUN/DESIRE
DESIRE-Modules/UI-HorusUI/Externals/horus_ui/libs/binpack/SkylineBinPack.h
3183
/** @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...
bsd-2-clause
epiqc/ScaffCC
clang/lib/Lex/LiteralSupport.cpp
66118
//===--- 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 // //===---------------------------...
bsd-2-clause
ChrisLidbury/CLSmith
scripts/driver0.sh
178
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
bsd-2-clause
sebastienros/jint
Jint.Tests.Test262/test/language/expressions/super/call-spread-obj-mult-spread.js
1479
// 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...
bsd-2-clause
lettis/Clustering
README.md
5804
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...
bsd-2-clause
TinnedTuna/speakeasyspeeches
wsgi/run.py
46
from speakeasy import app app.run(debug=True)
bsd-2-clause
twpayne/go-geom
flat.go
9818
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 ...
bsd-2-clause
kbwatts/polymer-survey
quiz.html
7898
<!-- @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...
bsd-2-clause
smistad/FAST
source/FAST/RuntimeMeasurement.hpp
1189
#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...
bsd-2-clause
thomaseger/media
config/environment.rb
149
# Load the rails application require File.expand_path('../application', __FILE__) # Initialize the rails application Media::Application.initialize!
bsd-2-clause
stuxo/PTHAndroid
PTHAndroid/src/main/java/me/passtheheadphones/request/RequestDetailFragment.java
8720
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...
bsd-2-clause
dreamsxin/ultimatepp
bazaar/Form/Form.hpp
1446
#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(...
bsd-2-clause
Kolkir/blaze-nn
third-party/blaze/include/blaze/math/expressions/DVecDVecAddExpr.h
54110
//================================================================================================= /*! // \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...
bsd-2-clause
ToQoz/gopwt
_misc/readme.header.md
950
# gopwt [![Travis-CI Build Status](https://travis-ci.org/ToQoz/gopwt.svg?branch=master)](https://travis-ci.org/ToQoz/gopwt) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/5m2c6xiwgs8yamj1/branch/master?svg=true&passingText=Windows%20-%20OK&failingText=Windows%20-%20failed&pendingText=Windows%20-...
bsd-2-clause
enriquefynn/contests
README.md
54
contests ======== Some programming challenges I made
bsd-2-clause
Devronium/ConceptApplicationServer
core/server/Samples/CIDE/Help/win32.graph.freeimage.FreeImage_GetDotsPerMeterY.html
2339
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>win32.graph.freeimage.FreeImage_GetDotsPerMeterY</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"> <ta...
bsd-2-clause
bitmonk/fabtools
fabtools/openvz/contextmanager.py
9146
""" OpenVZ containers ================= """ from contextlib import contextmanager import hashlib import os import posixpath import tempfile from fabric.api import ( env, hide, output, settings, sudo, ) from fabric.operations import ( _AttributeString, _execute, _prefix_commands, _p...
bsd-2-clause
Mozlite/Mozlite.Core
Mozlite.Core/Data/Query/Translators/RelationalCompositeMethodCallTranslator.cs
1993
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...
bsd-2-clause
jayArnel/crimemapping
crimeprediction/migrations/0004_auto_20160429_0717.py
586
# -*- 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...
bsd-2-clause
ibrarahmad/cstore
src/Wrappers/DictCPUDataSource.h
3425
/* 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...
bsd-2-clause
dbcode/protobuf-nginx
protongx/ngx_size.cc
12102
#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...
bsd-2-clause
dshadowwolf/config-general
t/29-test-allowsinglequoteinterpolation.js
416
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) {...
bsd-2-clause
gapry/refos
libs/libmuslc/src/math/expm1.c
7529
/* @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...
bsd-2-clause
DeforaOS/libc
include/kernel/openbsd/errno.h
2407
/* $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...
bsd-2-clause
simphony/simphony-lammps-md
simlammps/io/tests/test_lammps_simple_data_handler.py
2811
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...
bsd-2-clause
sjkingo/django-breadcrumbs3
breadcrumbs3/middleware.py
2010
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...
bsd-2-clause
Pillowdrift/MegaDrillerMole
MegaDrillerMole/MDMWorkspace/DrillerGameAndroid/src/com/pillowdrift/drillergame/entities/menu/buttons/RecordsMenuButton.java
600
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) ...
bsd-2-clause
open-dis/DISTutorial
javadoc/edu/nps/moves/dis/VectoringNozzleSystemData.html
19015
<!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...
bsd-2-clause
alerque/homebrew-fonts
Casks/font-xanh-mono.rb
418
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...
bsd-2-clause
imgix/levee
tests/d/test_iovec.lua
2073
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) ...
bsd-2-clause
willscott/activist-wp-plugin
views/warning.php
703
<!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,...
bsd-2-clause
trenskow/Animeteor
README.md
24
# README is in progress
bsd-2-clause
camillemonchicourt/Geotrek
geotrek/core/views.py
6257
# -*- 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...
bsd-2-clause
PopCap/GameIdea
Engine/Source/Runtime/Engine/Private/HardwareInfo.cpp
1215
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. /*============================================================================= HardwareInfo.cpp: Implements the FHardwareInfo class =============================================================================*/ #include "EnginePrivate.h" #include "Hard...
bsd-2-clause
DebVortex/panorama
index.html
10617
<!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" ...
bsd-2-clause
vfasky/mcore
example/cnodejs/js/pack/cnode/1.0.0/src/view.js
394
// 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...
bsd-2-clause
franckcuny/franckcuny.github.io
posts/2008-06-14-how-to-use-vim-as-a-personal-wiki.md
2302
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...
bsd-2-clause
ZombieHippie/cream
public/script/tablesorting.js
100297
// 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...
bsd-2-clause
ess-dmsc/event-formation-unit
src/common/DumpFile.h
5793
// Copyright (C) 2016-2020 European Spallation Source, ERIC. See LICENSE file //===----------------------------------------------------------------------===// /// /// \file /// \brief Template based class for dumping data to HDF5 files //===----------------------------------------------------------------------===// #p...
bsd-2-clause
randombit/botan
src/lib/misc/zfec/zfec_vperm/zfec_vperm.cpp
51390
/* * (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...
bsd-2-clause
effectweb/effectweb-v1.8.5
src/modules/header/css/SpryTabbedPanels.css
8742
@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. */ ...
bsd-2-clause
Astralix/ethernut32
nut/hwtest/cm3/stm/trampoline/Makefile
2103
# # 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...
bsd-2-clause
marcotcr/lime
lime/exceptions.py
55
class LimeError(Exception): """Raise for errors"""
bsd-2-clause
xythobuz/yasab
bootloader/util.c
2158
/* * 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...
bsd-2-clause
laeotropic/HTTP-Proxy
deps/asio-1.10.1/doc/asio/reference/basic_serial_port/lowest_layer/overload2.html
3764
<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="../../....
bsd-2-clause
ahocevar/ol3
src/ol/layer/MapboxVector.js
18944
/** * @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...
bsd-2-clause
laeotropic/HTTP-Proxy
deps/asio-1.10.1/src/examples/cpp03/porthopper/protocol.hpp
4270
// // 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...
bsd-2-clause
asmodehn/WkCore
depends/tinycthread/test/Makefile
2642
#----------------------------------------------------------------------------------------- # Makefile for GCC & gmake (Linux, Windows/MinGW, OpenSolaris, etc). #----------------------------------------------------------------------------------------- # Copyright (c) 2012 Marcus Geelnard # # This software is provided 'a...
bsd-2-clause
alexander-t/selenium-samples
src/test/java/se/tarnowski/sample/async/ImplicitWaitTest.java
2200
/* * 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...
bsd-2-clause
zmwangx/homebrew-core
Formula/fdclone.rb
1604
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...
bsd-2-clause
maxim-belkin/homebrew-core
Formula/acpica.rb
1231
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...
bsd-2-clause
cmptrgeekken/evething
templates/pgsus/seedlist.html
1469
{% 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>...
bsd-2-clause
wartur/yii-sorter
widgets/SorterDropDownColumn.php
6834
<?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('...
bsd-2-clause
Devronium/ConceptApplicationServer
core/server/Samples/CIDE/Help/standard.net.sip.osip_authorization_set_nonce_count.html
2680
<!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"> ...
bsd-2-clause
zhangjunfang/eclipse-dir
spark/examples/src/main/scala/org/apache/spark/streaming/examples/NetworkWordCount.scala
2561
/* * 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 ...
bsd-2-clause
sergeScherbakov/bgfx
src/config.h
9109
/* * 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...
bsd-2-clause
NorwegianRockCat/pc-networkmanager
src/wificonfig/i18n/wificonfig_et.ts
14175
<?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>&amp;Close</source> <translation>...
bsd-2-clause
penberg/hornet
mps/protli.c
6529
/* 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...
bsd-2-clause
haskell/haddock
html-test/src/DuplicateRecordFields.hs
767
{-# 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...
bsd-2-clause
WinterWind/WinterWind
src/core/amqp/connection.cpp
9314
/* * 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, ...
bsd-2-clause
dimylik/mean
server/config/mongoose.js
850
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...
bsd-2-clause
sebastienros/jint
Jint/Runtime/JavaScriptException.cs
4591
#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...
bsd-2-clause
AsherGlick/Olympus-Server-Management
SourceServer/Backend/src/charprint.h
491
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...
bsd-2-clause
internaut/mastersthesis-mobile-gpgpu
ClAudio/src/net/mkonrad/claudio/cl_audioJNI.java
952
/* ---------------------------------------------------------------------------- * 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. * -----------------------------...
bsd-2-clause
back-to/streamlink
src/streamlink/plugins/skai.py
889
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...
bsd-2-clause
runelite/runelite
runelite-client/src/main/java/net/runelite/client/plugins/worldmap/TransportationPointLocation.java
15466
/* * 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...
bsd-2-clause
edwardcrichton/BToolkit
MOTIF/CFG_DEP_BASE/CDE/C/MRIState_ffnc_ctx.h
1456
/* 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...
bsd-2-clause
kbarnes3/BaseDjangoSite
web/users/views.py
696
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() ...
bsd-2-clause
wjbeksi/rgbd-covariance-descriptors
spams/dictLearn/mex/mexTrainDL.cpp
7630
/* 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...
bsd-2-clause
TheArchives/Nexus
core/entities/confetti_create.py
291
# 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])
bsd-2-clause
codeape/eye-engine
engine/PseudoRNG.hpp
637
/* 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...
bsd-2-clause
arielm/Unicode
Projects/Rendering/src/Sketch.h
6460
/* * 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...
bsd-2-clause
nyaki-HUN/DESIRE
DESIRE-Modules/UI-HorusUI/Externals/horus_ui/libs/freetype/include/freetype/freetype.h
165532
/**************************************************************************** * * 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...
bsd-2-clause
tescalada/npyscreen-restructure
auto-doc/npyscreen.autocomplete.TitleFilename-class.html
11511
<?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=...
bsd-2-clause
teddym6/TricSqlLoad
TricSQlLoad/TricSqlLoad/src/com/tvh/tricsql/test/load/ParameterizedMultiThreadedRunner.java
4620
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...
bsd-2-clause
editor700/esocks
src/utils.h
900
/* * 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))...
bsd-2-clause
Devronium/ConceptApplicationServer
modules/standard.lib.cbor/src/cbor/internal/builder_callbacks.h
1991
/* * 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...
bsd-2-clause
faiverson/JNP
README.md
1051
# 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...
bsd-2-clause
vikingosegundo/EmailChecker
EmailValidation/EmailValidation/Validator.h
450
// // 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...
bsd-2-clause
godspeed1989/WDUtils
tiamoPCI/source/pci.struct.h
19627
//******************************************************************** // 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_...
bsd-2-clause
sukinull/libxenserver
src/xen_vif.c
29109
/* * 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...
bsd-2-clause
sklam/numba
numba/cuda/simulator/__init__.py
1170
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...
bsd-2-clause
dartsim/dart
dart/dynamics/WeldJoint.hpp
3722
/* * 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...
bsd-2-clause
epiqc/ScaffCC
clang/include/clang/Serialization/ModuleFile.h
16020
//===- 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 // //===---------------------------...
bsd-2-clause
hughperkins/pytorch
build.sh
1284
#!/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...
bsd-2-clause
ponty/confduino
confduino/boardremove.py
452
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...
bsd-2-clause
SupremeBeing/Silver-Hammer
silver-hammer-core/src/main/java/ru/silverhammer/processor/ControlProcessor.java
5459
/* * 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 ...
bsd-2-clause