repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
szaghi/VecFor | src/tests/vecfor_R4P/vecfor_R4P-doctest-167.f90 | 149 | program volatile_doctest
use vecfor_R4P
type(vector_R4P) :: pt
pt = ex_R4P + ey_R4P + ez_R4P
print "(L1)", 4_I8P >= pt
endprogram volatile_doctest | bsd-2-clause |
johnkerl/mcmc-interacting-spatial-permutations | psdes.h | 6407 | // ================================================================
// Copyright (c) 2004 John Kerl.
// kerl.john.r@gmail.com
//
// This code and information is provided as is without warranty of
// any kind, either expressed or implied, including but not limited to
// the implied warranties of merchantability and/or f... | bsd-2-clause |
ptek/tofu-kozo | spec/spec_tools.rb | 1231 | require 'asdf'
require 'cgi'
require 'json'
module SpecTools
def run_server
$stdout.reopen("/dev/null", "a")
$stderr.reopen("/dev/null", "a")
Dir.chdir "./test_files"
Asdf::Server.start
end
def inner_html string
string.gsub(/^<html>/,"").gsub(/<\/html>/,"")
end
def e url
CGI.escape... | bsd-2-clause |
Remotion/reflect | tests/reflection_test.cpp | 4697 | /* blah_test.cpp -*- C++ -*-
Rémi Attab (remi.attab@gmail.com), 29 Mar 2014
FreeBSD-style copyright and disclaimer apply
Experimental tests
*/
#define BOOST_TEST_MAIN
#define BOOST_TEST_DYN_LINK
#define REFLECT_USE_EXCEPTIONS 1
#include "reflect.h"
#include "types/primitives.... | bsd-2-clause |
lephuoccat/MATLAB | spfirst/filterdesign/help/theory.html | 4235 | <html>
<head>
<title> Theory </title>
<link rel="stylesheet" href="pagestyles.css">
</head>
<body>
<div class="Heading">
Theory
</div>
<div class="Entry">
<ol>
<li><a href="#Theory"><strong>Theory</strong></a></li>
<li><a href="#Windows"><strong>Windows</strong></a></li>
</ol>
</div>
<a n... | bsd-2-clause |
ohsu-qin/qiprofile | src/common/moment.pipe.ts | 834 | import { Pipe, PipeTransform } from '@angular/core';
@Pipe({name: 'moment'})
/**
* Transforms a moment date value to a display value.
*
* @module common
* @class MomentPipe
*/
export class MomentPipe implements PipeTransform {
constructor() { }
/**
* Looks up the input value within the `choices.cfg` sect... | bsd-2-clause |
daviddpd/dpdChatFabric | tools/nonce.c | 788 |
#include <stdio.h>
#include <sys/types.h> // kqueue / kevent
#include <stdlib.h> // exit
#include <netinet/in.h>
#define crypto_secretbox_NONCEBYTES 8U
void
print_bin2hex(unsigned char * x, int len) {
int i;
for (i=0; i<len; i++) {
printf ( "%02x", x[i] );
if ( (i>0) && ( (i+1)%4 == 0 ) ) { printf (" "); }
}
... | bsd-2-clause |
ox-vgg/vise | src/vise/vise_util.h | 4323 | /** @file util.h
* @brief Various utility functions used by VISE
* @author Abhishek Dutta
* @date 12 Nov. 2019
*/
#ifndef VISE_UTIL_H
#define VISE_UTIL_H
#include <string>
#include <map>
#include <unordered_map>
#include <iostream>
#include <fstream>
#include <sstream>
#include <stdexcept>
#include <regex>
#in... | bsd-2-clause |
qqzwc/XX-Net | code/default/x_tunnel/local/cloudflare_front/front.py | 6638 | import time
import os
import threading
import collections
from xlog import getLogger
xlog = getLogger("cloudflare_front")
xlog.set_buffer(500)
import simple_http_client
from config import config
import http_dispatcher
import connect_control
import check_ip
class Front(object):
name = "cloudflare_front"
def ... | bsd-2-clause |
Auxx/niceql | niceql/src/com/grilledmonkey/niceql/structs/Migration.java | 707 | package com.grilledmonkey.niceql.structs;
import java.util.LinkedList;
import java.util.List;
import com.grilledmonkey.niceql.interfaces.SqlMigration;
public class Migration implements SqlMigration {
private final List<String> sql = new LinkedList<String>();
private int version;
public Migration() {
... | bsd-2-clause |
yangcha/cmake-modules | README.md | 1133 | # cmake-modules
A collection of CMake utility functions for setting runtime library paths, environmental variables, working directory for Visual C++. And function for adding unit tests using google test with cmake.
```
SET_PROGRAM_ENV(<name>
[WORKING_DIRECTORY <dir>]
[RUNTIME_DIRS <dirs>...]
[ENVIRONMENT <VAR=va... | bsd-2-clause |
fabiang/mink-javascript-errors | src/ErrorHandler.js | 3639 | /**
* Copyright 2015 Fabian Grutschus. 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 condition... | bsd-2-clause |
kolyvan/kxutils | readme.md | 62 | ##KxUtils
A sets of useful components and categories for iOS. | bsd-2-clause |
sivrit/TracingAgent | Agent/src/test/java/fr/sivrit/traceragent/options/AgentOptionsTest.java | 2935 | package fr.sivrit.traceragent.options;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import fr.sivrit.tracingagent.options.AgentOptions;
public class AgentOptionsTe... | bsd-2-clause |
bradleyjford/entr | src/Entr.Domain/EntityNotFoundException.cs | 594 | using System;
using System.Runtime.Serialization;
namespace Entr.Domain
{
[Serializable]
public class EntityNotFoundException : Exception
{
public EntityNotFoundException()
{
}
public EntityNotFoundException(string message) : base(message)
{
}
publ... | bsd-2-clause |
wushuyi/PolygonTest | readme.md | 55 | # PolygonTest
一个用于勾勒PIXI多边形的测试 | bsd-2-clause |
steinwurf/petro | src/petro/box/tfhd.cpp | 260 | // Copyright (c) Steinwurf ApS 2016.
// All Rights Reserved
//
// Distributed under the "BSD License". See the accompanying LICENSE.rst file.
#include "tfhd.hpp"
#include <string>
namespace petro
{
namespace box
{
const std::string tfhd::TYPE = "tfhd";
}
}
| bsd-3-clause |
quantmind/jflib | include/boost/numeric/bindings/blas/level3.hpp | 356 | //
// Copyright (c) 2009 Rutger ter Borg
//
// 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 BOOST_NUMERIC_BINDINGS_BLAS_LEVEL3_HPP
#define BOOST_NUMERIC_BINDINGS_BLAS_LEVEL3_HPP
#include <boost/numer... | bsd-3-clause |
MarginC/kame | netbsd/sys/arch/shark/stand/ofwboot/Locore.c | 9497 | /* $NetBSD: Locore.c,v 1.1 2002/02/10 01:58:15 thorpej Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
* Copyright (C) 1995, 1996 TooLs GmbH.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... | bsd-3-clause |
jinglinhu/cpp | backend/models/User.php | 3852 | <?php
namespace backend\models;
use Yii;
use yii\helpers\ArrayHelper;
use backend\models\Organization;
/**
* User model
*
* @property integer $id
* @property string $username
* @property string $password_hash
* @property string $password_reset_token
* @property string $email
* @property string $auth_key
* @p... | bsd-3-clause |
grigorisg9gr/menpo | menpo/shape/pointcloud.py | 48399 | import warnings
import numpy as np
import numbers
import collections
from warnings import warn
from scipy.sparse import csr_matrix
from scipy.spatial.distance import cdist
from menpo.transform import WithDims
from .base import Shape
def bounding_box(closest_to_origin, opposite_corner):
r"""
Return a boundi... | bsd-3-clause |
rwatson/chromium-capsicum | chrome/browser/debugger/devtools_remote.h | 1333 | // Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_DEBUGGER_DEVTOOLS_REMOTE_H_
#define CHROME_BROWSER_DEBUGGER_DEVTOOLS_REMOTE_H_
#include "base/basictypes.h"
#include "base/ref... | bsd-3-clause |
jonom/silverstripe-cms | client/lang/el.js | 1533 | // This file was generated by silverstripe/cow from client/lang/src/el.js.
// See https://github.com/tractorcow/cow for details
if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
if (typeof(console) !== 'undefined') { // eslint-disable-line no-console
console.error('Class ss.i18n not defined'); ... | bsd-3-clause |
bastings/neuralmonkey | neuralmonkey/readers/string_vector_reader.py | 1449 | from typing import List, Iterable, Type
import gzip
import numpy as np
def get_string_vector_reader(dtype: Type = np.float32, columns: int = None):
"""Get a reader for vectors encoded as whitespace-separated numbers"""
def process_line(line: str, lineno: int, path: str) -> np.ndarray:
numbers = line.s... | bsd-3-clause |
pbrunet/pythran | pythran/pythonic/__builtin__/str/strip.hpp | 744 | #ifndef PYTHONIC_BUILTIN_STR_STRIP_HPP
#define PYTHONIC_BUILTIN_STR_STRIP_HPP
#include "pythonic/include/__builtin__/str/strip.hpp"
#include "pythonic/types/str.hpp"
#include "pythonic/utils/functor.hpp"
namespace pythonic
{
namespace __builtin__
{
namespace str
{
types::str strip(types::str cons... | bsd-3-clause |
avoropay/CurrencyRates | public/webstat/awstats.zend.pilipok.zp.ua.urlentry.012017.html | 5731 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta name="generator" content="AWStats 7.0 (build 1.971) from config file awstats.zend.pilipok.zp.ua.conf (http://awstats.sourceforge.net)">
<meta name="robots" content="noindex,nofollow">
<me... | bsd-3-clause |
brandonprry/gray_hat_csharp_code | ch12_automating_arachni_rpc/ArachniRPCSession.cs | 3992 | using System;
using System.Net.Security;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Net;
using System.Security.Cryptography.X509Certificates;
using System.Security.Authentication;
using System.IO;
using System.IO.Compression;
using MsgPack.Serialization;
using MsgPack;
using zlib;
namesp... | bsd-3-clause |
ma-si/aist-git-tools | config/module.config.php | 1607 | <?php
/**
* AistGitTools (http://mateuszsitek.com/projects/aist-git-tools)
*
* @link http://github.com/ma-si/aist-git-tools for the canonical source repository
* @copyright Copyright (c) 2006-2017 Aist Internet Technologies (http://aist.pl) All rights reserved.
* @license http://opensource.org/licenses/BSD... | bsd-3-clause |
newsuk/times-components | packages/edition-slices/src/slices/leaders/masthead.js | 738 | import React from "react";
import Image from "@times-components/image";
import styleFactory from "./styles";
import propTypes from "./proptypes";
const MastHead = ({ publicationName, breakpoint }) => {
let uri = "https://www.thetimes.co.uk/d/img/leaders-masthead-d17db00289.png";
let aspectRatio = 1435 / 250;
let... | bsd-3-clause |
misli/django-domecek | domecek/migrations/0012_new_clubjournalentry.py | 2269 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import djangocms_text_ckeditor.fields
def migrate_club_journal(apps, schema_editor):
import re
ClubJournalEntry = apps.get_model('domecek', 'ClubJournalEntry')
for entry in ClubJournalEntry.objec... | bsd-3-clause |
zcbenz/cefode-chromium | chrome/browser/autofill/wallet/instrument_unittest.cc | 6679 | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/browser/autofill/wallet/instrument.h"
#include "chrome/browser/auto... | bsd-3-clause |
smartdevicelink/sdl_core | src/components/security_manager/src/security_manager_impl.cc | 24474 | /*
* Copyright (c) 2018, Ford Motor Company
* 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-3-clause |
motech/perf | instance-info/src/main/resources/webapp/js/app.js | 399 | (function () {
'use strict';
angular.module('instance-info', ['motech-dashboard', 'instance-info.controllers', 'ngCookies', 'ui.bootstrap']).config(
['$routeProvider',
function ($routeProvider) {
$routeProvider.
when('/instance-info/info', {templateUrl: '../instance-info... | bsd-3-clause |
NevilleS/relay | src/traversal/__tests__/writeRelayQueryPayload_defaultNull-test.js | 4160 | /**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @emails o... | bsd-3-clause |
aufflick/core-plot | documentation/html/iOS/protocol_c_p_t_plot_delegate-p.html | 11642 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (iOS): &l... | bsd-3-clause |
dCache/CDMI | cdmi-core/src/main/java/org/snia/cdmiserver/exception/BadRequestException.java | 2136 | /*
* Copyright (c) 2010, Sun Microsystems, Inc.
* Copyright (c) 2010, The Storage Networking Industry Association.
*
* 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 reta... | bsd-3-clause |
djrosl/travel | backend/models/EventCategorySearch.php | 1683 | <?php
namespace backend\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use common\models\EventCategory;
/**
* EventCategorySearch represents the model behind the search form about `common\models\EventCategory`.
*/
class EventCategorySearch extends EventCategory
{
/**
* @inheritdoc
... | bsd-3-clause |
n3bukadn3zar/reservo | reservo/reader/views.py | 263 | # -*- coding: utf-8 -*-
from django.shortcuts import render
from django.http import HttpResponse
from .models import Story
def index(request):
stories = Story.objects.order_by('score')
return render(request, 'reader/stories.html', {'stories': stories})
| bsd-3-clause |
artpol84/slurm-pmix-test | prepare_host/prepare_tools/prepare.sh | 946 | #!/bin/bash -xeE
TOOLS_BASE_PATH=$1
. ./env.sh
rm -Rf $DISTR_PATH
mkdir -p $DISTR_PATH
wget -P $DISTR_PATH $M4_URL
wget -P $DISTR_PATH $AUTOCONF_URL
wget -P $DISTR_PATH $AUTOMAKE_URL
wget -P $DISTR_PATH $LIBTOOL_URL
# Use as much processors
# as we can to speedup
NPROC=`nproc`
export MAKE_JOBS=$NPROC
. ./env.sh... | bsd-3-clause |
rust-lang/rust-bindgen | tests/expectations/tests/derive-hash-and-blocklist.rs | 1217 | #![allow(
dead_code,
non_snake_case,
non_camel_case_types,
non_upper_case_globals
)]
pub struct BlocklistMe(u8);
/// Because this type contains a blocklisted type, it should not derive Hash.
#[repr(C)]
pub struct ShouldNotDeriveHash {
pub a: BlocklistMe,
}
#[test]
fn bindgen_test_layout_ShouldNotD... | bsd-3-clause |
statsmodels/statsmodels.github.io | 0.8.0/generated/statsmodels.genmod.families.family.NegativeBinomial.predict.html | 7138 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>statsmodels.genmod.families.family.NegativeBinomia... | bsd-3-clause |
cooperhewitt/go-ucd | Makefile | 876 | CWD=$(shell pwd)
GOPATH := $(CWD)/vendor:$(CWD)
prep:
if test -d pkg; then rm -rf pkg; fi
self: prep
if test -d src/github.com/cooperhewitt/go-ucd; then rm -rf src/github.com/cooperhewitt/go-ucd; fi
mkdir -p src/github.com/cooperhewitt/go-ucd/unicodedata
mkdir -p src/github.com/cooperhewitt/go-ucd/unihan
cp ucd.... | bsd-3-clause |
Tulitomaatti/edice | scrap/asdf.c | 105 | #define _BV(x) (1 << x)
#define bitmask (_BV(3) | _BV 4)
int main() {
int i = 0;
i += bitmask;
} | bsd-3-clause |
eltonoliveira/curso.zend2 | module/Livraria/src/Livraria/Model/CategoriaService.php | 784 | <?php
namespace Livraria\Model;
class CategoriaService
{
/**
* @var Livraria\Model\CategoriaTable
*/
protected $categoriaTable;
/** ------------------------------------------------------------------------------------------------------------- */
/**
* @name __construct
* @return void
*
*/
public function _... | bsd-3-clause |
wakatime/chrome-wakatime | src/utils/isProd.ts | 70 | export default (): boolean => process.env.NODE_ENV !== 'development';
| bsd-3-clause |
seyedmaysamlavasani/GorillaPP | chisel/chisel/src/main/scala/Mem.scala | 6887 | package Chisel
import ChiselError._
import Node._
import scala.collection.mutable.{ArrayBuffer, HashMap}
object Mem {
def apply[T <: Data](n: Int, seqRead: Boolean = false)(gen: => T): Mem[T] = {
Reg.validateGen(gen)
new Mem(n, seqRead, () => gen)
}
Component.backend.transforms.prepend { c =>
c.bfs ... | bsd-3-clause |
lemon24/rap | rap/__init__.py | 5176 |
__version__ = '0.1dev'
import argparse
import string
import re
from rap.processing_unit import ProcessingUnit
from rap.program import Program, ProgramError
input_pair_regex = re.compile("^\s*([a-zA-Z0-9]+)\s*:\s*([0-9]+)\s*$")
def parse_input(string, sep=',', pair_regex=input_pair_regex):
registers = {}
f... | bsd-3-clause |
mysticflute/blue | src/menu/menubar.js | 891 | // menubar.js
// top menubar icon
const path = require('path');
const db = require('../lib/db');
const switcher = require('../lib/switcher');
const {Tray, Menu} = require('electron').remote;
const iconPath = path.join(__dirname, '../../resources/menubar-alt2.png');
let menubar = null; // prevent GC
module.exports = ... | bsd-3-clause |
maxhutch/magma | src/sgels_gpu.cpp | 4464 | /*
-- MAGMA (version 2.1.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date August 2016
@generated from src/zgels_gpu.cpp, normal z -> s, Tue Aug 30 09:38:06 2016
*/
#include "magma_internal.h"
/************************************... | bsd-3-clause |
ixjlyons/pygesture | pygesture/ui/templates/process_widget_template.py | 3894 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'pygesture/ui/templates/process_widget_template.ui'
#
# Created by: PyQt5 UI code generator 5.4.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_ProcessWidget(object):
def se... | bsd-3-clause |
EventStore/EventStore.JVM | core/src/test/scala/eventstore/core/operations/TransactionStartInspectionSpec.scala | 1418 | package eventstore
package core
package operations
import scala.util.{ Failure, Success }
import org.specs2.mutable.Specification
import OperationError._
import Inspection.Decision.{Retry, Stop, Fail}
import TestData._
class TransactionStartInspectionSpec extends Specification {
val inspection = TransactionStartIns... | bsd-3-clause |
Fryday80/SRzA | module/Application/src/Application/Factory/DefaultTableGatewayFactory.php | 1295 | <?php
namespace Application\Factory;
use Exception;
use Zend\ServiceManager\AbstractFactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
class DefaultTableGatewayFactory implements AbstractFactoryInterface
{
/**
* Determine if we can create a service with name
*
* @param ServiceLoca... | bsd-3-clause |
django-leonardo/django-leonardo | leonardo/module/web/widget/feedreader/models.py | 888 | # -#- coding: utf-8 -#-
import feedparser
from django.db import models
from django.utils.translation import ugettext_lazy as _
from leonardo.module.web.models import ContentProxyWidgetMixin
from leonardo.module.web.models import Widget
from leonardo.module.web.widgets.mixins import JSONContentMixin
from leonardo.modu... | bsd-3-clause |
sfalkner/random_forest_run | docs/regression.html | 199001 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Regression — pyrfr 0.5 documentation</title>
... | bsd-3-clause |
grrr-amsterdam/garp-functional | functions/not.php | 692 | <?php
declare(strict_types=1);
/**
* @package Garp\Functional
* @author Harmen Janssen <harmen@grrr.nl>
* @license https://github.com/grrr-amsterdam/garp-functional/blob/master/LICENSE.md BSD-3-Clause
*/
namespace Garp\Functional;
/**
* Creates a negative version of an existing function.
*
* Example:
* $a... | bsd-3-clause |
kbc-developers/Mozc | src/rewriter/gen_usage_rewriter_dictionary_main.cc | 10507 | // Copyright 2010-2016, 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:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | bsd-3-clause |
BuildmLearn/BuildmLearn-Store | WP/doc/DOxygen_HTML/de/d27/class_app_store_1_1_models_1_1_category_instance.js | 182 | var class_app_store_1_1_models_1_1_category_instance =
[
[ "category", "de/d27/class_app_store_1_1_models_1_1_category_instance.html#ac1e8313d7f7d58349cf972f2be0ae365", null ]
]; | bsd-3-clause |
cpmech/gosl | num/qpck/dqk51.f | 9735 | subroutine dqk51(f,a,b,result,abserr,resabs,resasc,fid)
c***begin prologue dqk51
c***date written 800101 (yymmdd)
c***revision date 830518 (yymmdd)
c***category no. h2a1a2
c***keywords 51-point gauss-kronrod rules
c***author piessens,robert,appl. math. & progr. div. - k.u.leuven
c de doncker,... | bsd-3-clause |
endlessm/chromium-browser | chrome/browser/extensions/install_signer.h | 4465 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_EXTENSIONS_INSTALL_SIGNER_H_
#define CHROME_BROWSER_EXTENSIONS_INSTALL_SIGNER_H_
#include <memory>
#include <set>
#include <string... | bsd-3-clause |
leepike/copilot-libraries | README.md | 2149 | # STOP! The official Copilot repos are now at [https://github.com/Copilot-Language/](https://github.com/Copilot-Language).
Overview
========
[copilot-libraries](http://hackage.haskell.org/package/copilot-libraries)
User-supplied libraries for Copilot, including linear-temporal logic,
fault-tolerant voting, regular exp... | bsd-3-clause |
youtube/cobalt | third_party/angle/src/libANGLE/validationES2_autogen.h | 20719 | // GENERATED FILE - DO NOT EDIT.
// Generated by generate_entry_points.py using data from gl.xml and gl_angle_ext.xml.
//
// Copyright 2019 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// validationES2_autogen.... | bsd-3-clause |
youtube/cobalt | starboard/shared/stub/window_get_platform_handle.cc | 717 | // Copyright 2016 The Cobalt Authors. 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | bsd-3-clause |
herumi/cybozulib | test/base/event_test.cpp | 581 | #include <stdio.h>
#include <cybozu/thread.hpp>
#include <cybozu/event.hpp>
#include <cybozu/test.hpp>
class Thread : public cybozu::ThreadBase {
cybozu::Event& ev_;
public:
bool done_;
Thread(cybozu::Event& ev)
: ev_(ev)
, done_(false)
{
}
void threadEntry()
{
puts("thread");
puts("sleep 100msec");
... | bsd-3-clause |
Cocotteseb/Krypton | Source/Krypton Components/ComponentFactory.Krypton.Ribbon/View Layout/ViewLayoutRibbonPadding.cs | 3234 | // *****************************************************************************
//
// © Component Factory Pty Ltd 2012. All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, 17/267 Nepean Hwy,
// Seaford, Vic 3198, A... | bsd-3-clause |
lionkov/ninep | clnt/pool.go | 1798 | // Copyright 2009 The Ninep Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package clnt
var m2id = [...]uint8{
0, 1, 0, 2, 0, 1, 0, 3,
0, 1, 0, 2, 0, 1, 0, 4,
0, 1, 0, 2, 0, 1, 0, 3,
0, 1, 0, 2, 0, 1, 0, 5,
0, 1, 0, 2, 0, 1, ... | bsd-3-clause |
AlexanderBliznuk/disposable_razors | migrations/m170212_160300_modify_subscription.php | 735 | <?php
use yii\db\Migration;
class m170212_160300_modify_subscription extends Migration
{
public function up() {
$this->addColumn('subscription', 'good_id', \yii\db\Schema::TYPE_INTEGER);
$this->addForeignKey(
'fk-subscription-good_id',
'subscription',
'good_id'... | bsd-3-clause |
CUBRID/cubrid-testcases | sql/_26_features_920/issue_9405_ro_locale/_02_collation/cases/_10_alphabet.sql | 3274 | --+ holdcas on;
set names utf8;
CREATE TABLE coll_test_ro (id INTEGER, s1 VARCHAR(10) collate utf8_ro_cs, s2 VARCHAR(10) collate utf8_ro_cs, s3 VARCHAR(10) collate utf8_ro_cs);
INSERT INTO coll_test_ro (id, s1, s2, s3) values (0, 'a', 'A', '');
INSERT INTO coll_test_ro (id, s1, s2, s3) values (1, 'ă', 'Ă', '');
INSERT... | bsd-3-clause |
exponent/exponent | android/versioned-abis/expoview-abi38_0_0/src/main/java/abi38_0_0/expo/modules/taskManager/TaskManagerUtils.java | 10404 | package abi38_0_0.expo.modules.taskManager;
import android.app.PendingIntent;
import android.app.job.JobInfo;
import android.app.job.JobParameters;
import android.app.job.JobScheduler;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import an... | bsd-3-clause |
mne-tools/mne-tools.github.io | 0.14/generated/mne.viz.plot_evoked.html | 13519 | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>mne.viz.plot_evoked — MNE 0.14.1 documentation</title>
<link rel="stylesheet" href="../_static/basic.css" type="text/css" />
<link rel="style... | bsd-3-clause |
splashblot/dronedb | lib/assets/test/spec/cartodb3/components/modals/modals-service-model.spec.js | 3915 | var CoreView = require('backbone/core-view');
var ModalsServiceModel = require('../../../../../javascripts/cartodb3/components/modals/modals-service-model');
var Router = require('../../../../../javascripts/cartodb3/routes/router');
describe('components/modals/modals-service-model', function () {
beforeEach(function... | bsd-3-clause |
patrick-luethi/Envision | OOVisualization/src/expressions/VArrayInitializerStyle.h | 2553 | /***********************************************************************************************************************
**
** Copyright (c) 2011, 2014 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
** following c... | bsd-3-clause |
bsipocz/astropy | astropy/utils/iers/iers.py | 31536 | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
The astropy.utils.iers package provides access to the tables provided by
the International Earth Rotation and Reference Systems Service, in
particular allowing interpolation of published UT1-UTC values for given
times. These are used in `astropy.time`... | bsd-3-clause |
snowplow/snowplow-javascript-tracker | plugins/browser-plugin-youtube-tracking/rollup.config.js | 2950 | /*
* Copyright (c) 2022 Snowplow Analytics 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 ... | bsd-3-clause |
Eye4web/E4WSms | src/E4W/Sms/Service/SmsService.php | 1405 | <?php
namespace E4W\Sms\Service;
use E4W\Sms\Adapter\Sms\SmsAdapterInterface;
use Zend\EventManager\EventManagerAwareInterface;
use Zend\EventManager\EventManagerAwareTrait;
class SmsService implements EventManagerAwareInterface
{
use EventManagerAwareTrait;
/** @var SmsAdapterInterface */
protected $ada... | bsd-3-clause |
mattbasta/amo-validator | tests/compat/test_gecko22.py | 1747 | from helper import CompatTestCase
from validator.compat import FX22_DEFINITION
class TestFX22Compat(CompatTestCase):
"""Test that compatibility tests for Gecko 22 are properly executed."""
VERSION = FX22_DEFINITION
def test_nsigh2(self):
self.run_regex_for_compat("nsIGlobalHistory2", is_js=True)... | bsd-3-clause |
robert-mill/cover | backend/models/Nationality.php | 754 | <?php
namespace backend\models;
use Yii;
/**
* This is the model class for table "nationality".
*
* @property integer $nationality_id
* @property string $nationality
*/
class Nationality extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
return... | bsd-3-clause |
princeofdarkness76/trap | transports/socket/mail-lists.html | 10375 | <!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia at 2014-11-25
| Rendered using Apache Maven Fluido Skin 1.3.0
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name... | bsd-3-clause |
madbook/reddit-plugin-gold | reddit_gold/controllers.py | 3510 | from pylons import tmpl_context as c
from pylons import app_globals as g
from pylons.i18n import _
from r2.config import feature
from r2.controllers import add_controller
from r2.controllers.reddit_base import RedditController
from r2.lib.errors import errors
from r2.lib.require import require, RequirementException
fr... | bsd-3-clause |
enderlabs/django-error-capture-middleware | src/error_capture_middleware/handlers/plain.py | 306 | from django.http import HttpResponse
from error_capture_middleware import ErrorCaptureHandler
class PlainExceptionsMiddleware(ErrorCaptureHandler):
def handle(self, request, exception, tb):
return HttpResponse("\n".join(tb),
content_type="text/plain", status=500) | bsd-3-clause |
exponent/exponent | ios/versioned-react-native/ABI39_0_0/Expo/UMReactNativeAdapter/ABI39_0_0UMReactNativeAdapter/UMNativeModulesProxy/ABI39_0_0UMNativeModulesProxy.h | 635 | // Copyright 2018-present 650 Industries. All rights reserved.
#import <ABI39_0_0React/ABI39_0_0RCTBridgeModule.h>
#import <ABI39_0_0UMCore/ABI39_0_0UMInternalModule.h>
#import <ABI39_0_0UMCore/ABI39_0_0UMModuleRegistry.h>
// ABI39_0_0RCTBridgeModule capable of receiving method calls from JS and forwarding them
// to... | bsd-3-clause |
darwin/upgradr | ieaddon/Upgradr/DPIHelper.cpp | 1874 | // Copyright (c) 2006, Sven Groot, see license.txt for details
#include "stdafx.h"
using namespace Gdiplus;
const float g_baseDpi = 96.0f;
float CDPIHelper::m_fScaleX = CDPIHelper::GetLogPixelsX() / g_baseDpi;
float CDPIHelper::m_fScaleY = CDPIHelper::GetLogPixelsY() / g_baseDpi;
float
CDPIHelper::ScaleX(... | bsd-3-clause |
chernogolov/sau1 | css/plugins/component.css | 24336 | @font-face {
font-weight: normal;
font-style: normal;
font-family: 'feathericons';
src:url('../fonts/feathericons/feathericons.eot?-8is7zf');
src:url('../fonts/feathericons/feathericons.eot?#iefix-8is7zf') format('embedded-opentype'),
url('../fonts/feathericons/feathericons.woff?-8is7zf') format('woff'),
url('... | bsd-3-clause |
lmaxim/zend_gdata | library/Zend/Gdata/MediaMimeStream.php | 5671 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license a... | bsd-3-clause |
nicko96/Chrome-Infra | infra_libs/event_mon/test/router_test.py | 1648 | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import random
import unittest
from infra_libs.event_mon import router
from infra_libs.event_mon.log_request_lite_pb2 import LogRequestLite
DATA_... | bsd-3-clause |
GeoMatDigital/django-geomat | geomat/users/migrations/0001_initial.py | 3014 | # -*- coding: utf-8 -*-
from django.db import models, migrations
import django.utils.timezone
import django.contrib.auth.models
import django.core.validators
class Migration(migrations.Migration):
dependencies = [
('auth', '0006_require_contenttypes_0002'),
]
operations = [
migrations.... | bsd-3-clause |
arcostasi/slimantic-skeleton | app/src/Exceptions/HttpExceptionInterface.php | 391 | <?php
namespace App\Exceptions;
/**
* Interface for HTTP error exceptions.
*/
interface HttpExceptionInterface
{
/**
* Returns the status code.
*
* @return int An HTTP response status code
*/
public function getStatusCode();
/**
* Returns response headers.
*
* @re... | bsd-3-clause |
santazhang/sstable | sstable/flags.h | 394 | #pragma once
#include "utils.h"
namespace sst {
class Flags {
public:
static const i32 magic = 0x31545353; // 'SST1'
static const i32 DELETED = 0x1;
static const i32 EMPTY_VALUE = 0x2;
static inline bool deleted(i32 flag) {
return flag & DELETED;
}
static inline bool empty_value(i3... | bsd-3-clause |
LuminateWireless/grpc-java | core/src/main/java/io/grpc/ManagedChannelProvider.java | 5316 | /*
* Copyright 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | bsd-3-clause |
pdxacm/acmapi | CONTRIBUTING.md | 1336 | Contributing
============
## Communication
Don't be shy, ask for help. If you have a question, comment, concern, or
great idea just open up an issue to start the conversation. You can
also email me.
## Commits
* __Rebase__: Whenever you have made commits on your local copy while at
the same time commits have bee... | bsd-3-clause |
spider049/yii2-meeting | backend/modules/personal/Module.php | 387 | <?php
namespace backend\modules\personal;
/**
* personal module definition class
*/
class Module extends \yii\base\Module
{
/**
* @inheritdoc
*/
public $controllerNamespace = 'backend\modules\personal\controllers';
/**
* @inheritdoc
*/
public function init()
{
parent... | bsd-3-clause |
amanjpro/9riskane | src/com/rezgame/backend/logic/GameHistoryManager.java | 162 | package com.rezgame.backend.logic;
/*
* Copyright (c) <2013>, Amanj Sherwany and Nosheen Zaza
* All rights reserved.
* */
public class GameHistoryManager {
}
| bsd-3-clause |
sviperll/static-mustache | static-mustache/src/main/java/com/github/sviperll/staticmustache/TemplateCompiler.java | 12095 | /*
* Copyright (c) 2014, Victor Nazarov <asviraspossible@gmail.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:
*
* 1. Redistributions of source code must retain the above copyright no... | bsd-3-clause |
ofgulban/retinex_for_mri | script_examples/readme.md | 75 | This folder contains examples of this library used within a python script.
| bsd-3-clause |
liuqx315/Sundials | sundials/src/cvodes/cvodes_impl.h | 47780 | /*
* -----------------------------------------------------------------
* $Revision: 4075 $
* $Date: 2014-04-24 10:46:58 -0700 (Thu, 24 Apr 2014) $
* -----------------------------------------------------------------
* Programmer(s): Radu Serban @ LLNL
* ------------------------------------------------------------... | bsd-3-clause |
NifTK/MITK | Modules/QtWidgets/src/QmitkStdMultiWidget.cpp | 64616 | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | bsd-3-clause |
wayfinder/Wayfinder-CppCore-v2 | cpp/Targets/MapLibNG/Shared/include/HttpClientConnection.h | 7143 | /*
Copyright (c) 1999 - 2010, Vodafone Group Services 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:
* Redistributions of source code must retain the above copyright notice, this list of co... | bsd-3-clause |
awebc/web_yi | yunsong/order/controllers/pay/AlipayController.php | 5332 | <?php
/**
* Created by PhpStorm.
* User: yunsong
* Date: 16-10-10
* Time: 下午3:12
*/
namespace yunsong\order\controllers\pay;
use izyue\alipay\AlipayConfig;
use izyue\alipay\AlipayNotify;
use izyue\alipay\AlipaySubmit;
use Yii;
use yii\web\Controller;
class AlipayController extends Controller
{
public funct... | bsd-3-clause |
marrocamp/nasa-VICAR | vos/java/jpl/mipl/jade/jadis/package.html | 666 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>JADE Component Library</title>
<meta name="Generator" content="Cocoa HTML ... | bsd-3-clause |
erdbehrmund/blogyr | db/migrate/20130117003258_create_post_category_join_table.rb | 201 | class CreatePostCategoryJoinTable < ActiveRecord::Migration
def change
create_table :categories_posts, :id => false do |t|
t.integer :post_id
t.integer :category_id
end
end
end
| bsd-3-clause |
highweb-project/highweb-webcl-html5spec | media/mojo/common/media_type_converters.cc | 29089 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "media/mojo/common/media_type_converters.h"
#include <stddef.h>
#include <stdint.h>
#include "base/numerics/safe_conversions.h"
#include "media... | bsd-3-clause |