repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
martindimondo/PyC8
chip8/operations.py
6673
from __future__ import print_function import re import logging logging.basicConfig(level=logging.INFO) class Executor(object): def __init__(self, op_map): processed = {} for pattern, f in op_map.iteritems(): s = self._build_pattern_groups(pattern.lower()) processed[re.com...
bsd-3-clause
statsmodels/statsmodels.github.io
v0.13.0/generated/statsmodels.tsa.vector_ar.svar_model.SVARResults.irf.html
18885
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" conte...
bsd-3-clause
statsmodels/statsmodels.github.io
v0.10.0/generated/statsmodels.tsa.vector_ar.var_model.VARProcess.acorr.html
7934
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>statsmodels.tsa.vector_ar.var_model.VARProcess.acorr &#8212; statsmodels v0.10.0 documentation</title> <link rel="stylesheet" href="../_static/nature.css" type="text/css" /> <link rel="stylesheet" hre...
bsd-3-clause
tolweb/tolweb-app
OnlineContributors/src/org/tolweb/tapestry/TitleIllustrations.java
2683
/* * Created on Oct 18, 2004 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */ package org.tolweb.tapestry; import java.util.Collection; import org.apache.tapestry.BaseComponent; import org.apache.tapestry.IRequestCycle; import org.tolweb...
bsd-3-clause
lkersting/SCR-2123
packages/monte_carlo/core/src/MonteCarlo_ParticleState.cpp
10274
//---------------------------------------------------------------------------// //! //! \file MonteCarlo_ParticleState.cpp //! \author Alex Robinson //! \brief Basic particle state class definition. //! //---------------------------------------------------------------------------// // FRENSIE Includes #include "Mon...
bsd-3-clause
zinovyev/Validation
tests/unit/Rules/PrimeNumberTest.php
1843
<?php /* * This file is part of Respect/Validation. * * (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net> * * For the full copyright and license information, please view the "LICENSE.md" * file that was distributed with this source code. */ namespace Respect\Validation\Rules; /** * @group rule * @cover...
bsd-3-clause
endlessm/chromium-browser
chrome/browser/chromeos/set_time_dialog.cc
1543
// 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 "chrome/browser/chromeos/set_time_dialog.h" #include "base/metrics/user_metrics.h" #include "base/strings/string16.h" #include "chrome/common/ur...
bsd-3-clause
synergynet/synergynet3
synergynet3-museum-parent/synergynet3-museum-table/src/main/java/jpview/graphics/GaussianKernel.java
2024
/* * GaussianKernel.java * * Created on September 25, 2004, 4:52 PM */ package jpview.graphics; /** * This class creates a kernel for use by an AffineTransformOp * * @author clyon */ public class GaussianKernel { private int radius = 5; private float sigma = 1; private float[] kernel...
bsd-3-clause
proophsoftware/event-machine
examples/FunctionalFlavour/ExampleFunctionalPort.php
2788
<?php /** * This file is part of the proophsoftware/event-machine. * (c) 2017-2019 prooph software GmbH <contact@prooph.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace ProophExample\Functiona...
bsd-3-clause
danakj/chromium
ash/common/material_design/material_design_controller.h
3032
// Copyright 2016 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 ASH_COMMON_MATERIAL_DESIGN_MATERIAL_DESIGN_CONTROLLER_H_ #define ASH_COMMON_MATERIAL_DESIGN_MATERIAL_DESIGN_CONTROLLER_H_ #include "ash/ash_expor...
bsd-3-clause
mou4e/zirconium
chrome/browser/chromeos/login/users/avatar/user_image_loader.h
4006
// 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. #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_LOADER_H_ #define CHROME_BROWSER_CHROMEOS_LOGIN_USERS_AVATAR_USER_IMAGE_LOADER_H_ #include ...
bsd-3-clause
endlessm/chromium-browser
third_party/llvm/lldb/include/lldb/Host/MainLoopBase.h
2859
//===-- MainLoopBase.h ------------------------------------------*- 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-3-clause
mark1-umd/mtp-MCSF
docs/latex/ChassisTurnRate_8cpp.tex
1445
\hypertarget{ChassisTurnRate_8cpp}{\section{framework/\-Chassis\-Turn\-Rate.cpp File Reference} \label{ChassisTurnRate_8cpp}\index{framework/\-Chassis\-Turn\-Rate.\-cpp@{framework/\-Chassis\-Turn\-Rate.\-cpp}} } \hyperlink{classChassisTurnRate}{Chassis\-Turn\-Rate} is a strictly defined type for specifying the turn r...
bsd-3-clause
Veredior/filesender
language/ru_RU/guest_created.mail.php
23
Гость создан
bsd-3-clause
danakj/chromium
components/cronet/android/java/src/org/chromium/net/impl/CronetUrlRequestContext.java
21435
// 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. package org.chromium.net.impl; import android.content.Context; import android.os.Build; import android.os.ConditionVariable; import android.os.Handler; i...
bsd-3-clause
frankencode/fluxkit
meta/src/MetaProtocol.h
2330
/* * Copyright (C) 2007-2015 Frank Mertens. * * Use of this source is governed by a BSD-style license that can be * found in the LICENSE file. * */ #ifndef FLUXMETA_METAPROTOCOL_H #define FLUXMETA_METAPROTOCOL_H #include <flux/meta/MetaObject> namespace flux { namespace meta { /** \brief Duck-typed object pro...
bsd-3-clause
splashblot/dronedb
lib/carto/configuration.rb
3138
module Carto module Configuration def db_config @@db_config ||= YAML.load(File.read(db_config_file)).freeze end def app_config @@app_config ||= YAML.load_file(app_config_file).freeze end def frontend_version @@frontend_version ||= JSON::parse(File.read(Rails.root.join("package....
bsd-3-clause
svoos/CorpusConverter
doc/converter/Sample.html
9344
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_33) on Fri Jul 13 11:10:51 CEST 2012 --> <TITLE> Sample </TITLE> <META NAME="date" CONTENT="2012-07-13"> <LINK REL ="stylesheet" TYPE="text/css" HR...
bsd-3-clause
ksophocleous/speex
include/speex/speex_bits.h
6916
/* Copyright (C) 2002 Jean-Marc Valin */ /** @file speex_bits.h @brief Handles bit packing/unpacking */ /* 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...
bsd-3-clause
NCIP/cadsr-cgmdr-nci-uk
src/org/exist/storage/index/RemoveValueLoggable.java
3088
/*L * Copyright Oracle Inc * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cadsr-cgmdr-nci-uk/LICENSE.txt for details. */ /* * eXist Open Source Native XML Database * Copyright (C) 2001-04 The eXist Project * http://exist-db.org * * This program is ...
bsd-3-clause
maxhutch/magma
sparse-iter/control/magma_sutil_sparse.cpp
21167
/* -- MAGMA (version 2.1.0) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date August 2016 @generated from sparse-iter/control/magma_zutil_sparse.cpp, normal z -> s, Tue Aug 30 09:38:47 2016 @author Hartwig Anzt Utilitie...
bsd-3-clause
mogigoma/gameai-2014-09
sdk/perl/GameAI.pl
8313
#!/usr/bin/env perl use strict; use warnings; use LWP::UserAgent; use JSON::PP; my $base = "http://gameai.skullspace.ca/api/"; sub failure { print("!! " . shift(@_) . "\n"); exit(1); } sub info { print("** " . shift(@_) . "\n"); } sub parse_card { my $abbr = shift(@_); my ...
bsd-3-clause
statsmodels/statsmodels.github.io
v0.10.2/generated/statsmodels.robust.robust_linear_model.RLMResults.pvalues.html
7703
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8" /> <title>statsmodels.robust.robust_linear_model.RLMResults.pvalues &#8212; statsmodels v0.10.2 documentation</title> <link rel="stylesheet" href="../_static/nature.css" type="text/css" /> <link rel="stylesheet...
bsd-3-clause
adalke/rdkit
Code/GraphMol/Fingerprints/AtomPairs.cpp
21277
// $Id$ // // Copyright (C) 2007-2013 Greg Landrum // // @@ All Rights Reserved @@ // This file is part of the RDKit. // The contents are covered by the terms of the BSD license // which is included in the file license.txt, found at the root // of the RDKit source tree. // #include <GraphMol/RDKitBase.h> #inclu...
bsd-3-clause
FreeCodeCamp/FreeCodeCamp
curriculum/challenges/portuguese/10-coding-interview-prep/project-euler/problem-80-square-root-digital-expansion.md
2471
--- id: 5900f3bc1000cf542c50fecf title: 'Problema 80: Expansão de algarismos da raiz quadrada' challengeType: 5 forumTopicId: 302194 dashedName: problem-80-square-root-digital-expansion --- # --description-- É do conhecimento geral que se a raiz quadrada de um número natural não é um número inteiro, então é irraciona...
bsd-3-clause
HaikuArchives/BeDC
source/DCStrings.h
4105
/* ---------------------- BeDC License ---------------------- Copyright 2002, The BeDC team. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copy...
bsd-3-clause
OtsList/OtsList.eu-AAC-for-OpenTibia
vendor/ZF2/library/Zend/Ldap/Collection/DefaultIterator.php
9869
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @pack...
bsd-3-clause
hendrihmwn/propensiA08
views/halfproduct/_search.php
923
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\HalfproductSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="halfproduct-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> ...
bsd-3-clause
CodeCavePro/wakatime-sharp
README.md
1158
WakaTime# ![License](https://img.shields.io/github/license/mashape/apistatus.svg) [![Build status](https://ci.appveyor.com/api/projects/status/tyjwxie7v0herunj/branch/master?svg=true)](https://ci.appveyor.com/project/salaros/wakatime-sharp/branch/master) ![GitHub top language](https://img.shields.io/github/languages/to...
bsd-3-clause
Socapex/polyGamesHackathon
Assets/Scripts/AudioHurtHandler.cs
533
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AudioHurtHandler : MonoBehaviour { // Static reference to singleton object public static AudioHurtHandler instance; public AudioClip[] myClip; // Use this for initialization void Start () { instance = gameObject.G...
bsd-3-clause
estvoyage/risingsun
src/comparison/unary/container/payload/disjunction.php
1166
<?php namespace estvoyage\risingsun\comparison\unary\container\payload; use estvoyage\risingsun\{ container, comparison, ointeger, block }; class disjunction implements comparison\unary\container\payload { private $operand, $recipient ; function __construct($operand, comparison\recipient $recipient) { $...
bsd-3-clause
gsouf/UForm
src/UForm/Form/Element/Container.php
4172
<?php namespace UForm\Form\Element; use UForm\Filtering\FilterChain; use UForm\Form\Element; /** * Element that intends to contain other elements. * It only aims to be a common parent for Group and Collection * * In some ways it is opposed to the Primary element that cant contain other elements * * @see UForm\...
bsd-3-clause
grahesh/Stock-Market-Event-Analysis
Examples/Event Analysis/Half-Yearly End/Half_Year_End_Analysis.py
4522
# -*- coding: utf-8 -*- """ Created on Thu Jan 03 10:16:39 2013 @author: Grahesh """ import pandas from qstkutil import DataAccess as da import numpy as np import math import copy import qstkutil.qsdateutil as du import datetime as dt import qstkutil.DataAccess as da import qstkutil.tsutil as tsu imp...
bsd-3-clause
Rathilesh/FMS_V1
protected/models/Theme_Management.php
2079
<?php include_once 'dynamic_db_connection.php'; /** * This is the model class for table "THEME_MANAGEMENT". * * The followings are the available columns in table 'THEME_MANAGEMENT': * @property string $PID * @property string $THEME */ class Theme_Management extends CActiveRecord { /** * Returns the static mode...
bsd-3-clause
jonathonw/pypush2
docs/Makefile
7669
# Makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) $(error The '$(SPHINXBUILD)' command wa...
bsd-3-clause
leighpauls/k2cro4
native_client/src/trusted/service_runtime/arch/x86_64/sel_ldr_x86_64.c
5566
/* * Copyright (c) 2012 The Native Client 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 "native_client/src/include/portability_string.h" #include "native_client/src/include/nacl_macros.h" #include "native_client/src/i...
bsd-3-clause
was4444/chromium.src
third_party/WebKit/Source/platform/fonts/shaping/RunSegmenter.cpp
4699
// 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. #include "platform/fonts/shaping/RunSegmenter.h" #include "platform/fonts/ScriptRunIterator.h" #include "platform/fonts/SmallCapsIterator.h" #include "pl...
bsd-3-clause
jinankjain/zamboni
apps/addons/templates/addons/macros.html
2302
{% macro vital(addon, type) %} <div class="vital"> {% if type in ('updated', 'created') %} <span class="updated"> {% if type == 'updated' %} {# L10n: {0} is a date. #} {{ _('Updated {0}')|f(addon.last_updated|datetime) }} {% else %} {# L10n: {0} is a date. #} ...
bsd-3-clause
berkeleybop/bbop-manager-golr
solr/docs/solr-core/org/apache/solr/search/class-use/Sorting.html
4916
<!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_101) on Sat Aug 20 05:41:48 EDT 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Uses of Class org.apache.so...
bsd-3-clause
statsmodels/statsmodels.github.io
v0.11.0/generated/statsmodels.tsa.vector_ar.svar_model.SVARResults.summary.html
17978
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" content="Copy to clipboard"> <meta name="la...
bsd-3-clause
statsmodels/statsmodels.github.io
v0.13.0/generated/statsmodels.discrete.discrete_model.CountResults.llf.html
18257
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" conte...
bsd-3-clause
statsmodels/statsmodels.github.io
0.9.0/generated/statsmodels.genmod.families.family.InverseGaussian.loglike.html
8756
<!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="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <t...
bsd-3-clause
henrybagus/seminar
config/db.php
183
<?php return [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=campus_rec', 'username' => 'root', 'password' => '', 'charset' => 'utf8', ];
bsd-3-clause
damianogiacomello/spree_payment_calculator
app/model/spree/payment_calculator/per_item.rb
1325
require_dependency 'spree/calculator' module Spree class PaymentCalculator::PerItem < Calculator preference :amount, :decimal, :default => 0 attr_accessible :preferred_amount def self.description I18n.t(:flat_rate_per_item) end def compute(object=nil) return 0 if object.nil? ...
bsd-3-clause
karthiksekarnz/educulas
tests/Zend/Dojo/Form/SubFormTest.php
4160
<?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 an...
bsd-3-clause
statsmodels/statsmodels.github.io
v0.11.1/generated/statsmodels.sandbox.regression.gmm.IVGMMResults.summary.html
20784
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" content="Copy to clipboard"> <meta name="la...
bsd-3-clause
xadrnd/xad-ios-sdk
DemoApp/DemoApp/AppDelegate.h
451
// // AppDelegate.h // DemoApp // // Created by Stephen Anderson on 8/27/13. // Copyright (c) 2013 Product & Technology. All rights reserved. // #import <UIKit/UIKit.h> @class ViewController; @class AdObserver; @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *...
bsd-3-clause
plu/FBSimulatorControl
PrivateHeaders/DVTFoundation/DVTFileSystemRepresentationProviding-Protocol.h
333
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Nov 22 2016 05:57:16). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // @protocol DVTFileSystemRepresentationProviding - (void)dvt_provideFileSystemRepresentationToBlock:(void (^)(char *, unsigned long long)...
bsd-3-clause
sgarciab/SAB
media/css/flash-messenger.css
837
#flash-messages {position: absolute;} #flash-messages .success ul, .notice ul, .error ul { list-style: none; margin: 0; padding: 0; } #flash-messages .success ul li, .notice ul li, .error ul li { float: none; display: block; } #flash-messages .success ul, .notice ul, .error ul { list-style: none; margin: 0; padding: ...
bsd-3-clause
whitews/dpconverge
README.md
13
# dpconverge
bsd-3-clause
timsnyder/bokeh
bokehjs/src/lib/models/widgets/text_input.ts
1868
import {InputWidget, InputWidgetView} from "./input_widget" import {input} from "core/dom" import * as p from "core/properties" import {bk_input} from "styles/widgets/inputs" export class TextInputView extends InputWidgetView { model: TextInput protected input_el: HTMLInputElement connect_signals(): void { ...
bsd-3-clause
andreyk0/haskell-on-arm
docker/armhf-debian-jessie/Dockerfile
180
# # https://github.com/andreyk0/haskell-on-arm # # User: debian # Passwd: /dev/null # FROM scratch ADD jessie.tgz / ADD qemu-arm-static /usr/bin/qemu-arm-static CMD ["/bin/bash"]
bsd-3-clause
endlessm/chromium-browser
net/data/path_builder_unittest/validity_date_prioritization/generate-certs.py
1833
#!/usr/bin/python # Copyright (c) 2016 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. """ A chain with four possible intermediates with different notBefore and notAfter dates, for testing path bulding prioritization. """ ...
bsd-3-clause
palfrey/twfy
www/docs/hansard/index.php
2395
<?php include_once "../../includes/easyparliament/init.php"; if (($date = get_http_var('d')) && preg_match('#^\d\d\d\d-\d\d-\d\d$#', $date)) { $this_page = 'hansard_date'; $PAGE->set_hansard_headings(array('date'=>$date)); $URL = new URL($this_page); $db = new ParlDB; $q = $db->query("SELECT MIN(hdate) AS hdate ...
bsd-3-clause
endlessm/chromium-browser
third_party/skia/src/gpu/dawn/GrDawnBuffer.cpp
2347
/* * Copyright 2019 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/gpu/dawn/GrDawnBuffer.h" #include "src/gpu/dawn/GrDawnStagingBuffer.h" #include "src/gpu/dawn/GrDawnGpu.h" namespace { wgpu::BufferUsage GrGpuBufferTypeToD...
bsd-3-clause
notmessenger/ZF-REST-API
library/Doctrine/ORM/Mapping/MappingException.php
8678
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS B...
bsd-3-clause
fuchsto/dyloc
CMakeExt/hwloc.cmake
1128
# Try to find hwloc libraries and headers. # # Usage of this module: # # find_package(hwloc) # # Variables defined by this module: # # HWLOC_FOUND System has hwloc libraries and headers # HWLOC_LIBRARIES The hwloc library # HWLOC_INCLUDE_DIRS The location of HWLOC headers find_path( H...
bsd-3-clause
rmelick/Argus
ArgusCore/src/main/java/com/salesforce/dva/argus/service/metric/transform/MetricUnionTransform.java
7287
/* * Copyright (c) 2016, Salesforce.com, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of c...
bsd-3-clause
ltilve/chromium
net/url_request/url_fetcher_core.cc
30529
// Copyright (c) 2012 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 "net/url_request/url_fetcher_core.h" #include <stdint.h> #include "base/bind.h" #include "base/logging.h" #include "base/metrics/histogram....
bsd-3-clause
briceburg/silverstripe-sortweight
code/SortWeightRegistry.php
2131
<?php class SortWeightRegistry { public static $override_default_sort = true; public static $relations = array(); public static $default_sorts = array(); // original default_sort public static $add_weight_columns = array(); public static $direction = 'ASC'; // ASC || DESC public static $module_pat...
bsd-3-clause
endlessm/chromium-browser
ui/gfx/mojom/rrect_f_mojom_traits.h
3912
// Copyright 2018 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 UI_GFX_MOJOM_RRECT_F_MOJOM_TRAITS_H_ #define UI_GFX_MOJOM_RRECT_F_MOJOM_TRAITS_H_ #include "ui/gfx/geometry/mojom/geometry_mojom_traits.h" #inclu...
bsd-3-clause
endlessm/chromium-browser
components/password_manager/core/browser/sql_table_builder.cc
21095
// Copyright 2016 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 "components/password_manager/core/browser/sql_table_builder.h" #include <algorithm> #include <set> #include <utility> #include "base/numerics/s...
bsd-3-clause
dsorokin/aivika-modeler
simulation/aivika/modeler/stream_random.py
7405
# Copyright (c) 2017 David Sorokin <david.sorokin@gmail.com> # # Licensed under BSD3. See the LICENSE.txt file in the root of this distribution. from simulation.aivika.modeler.model import * from simulation.aivika.modeler.port import * from simulation.aivika.modeler.stream import * from simulation.aivika.modeler.data_...
bsd-3-clause
wevote/WebAppPublic
apis_v1/documentation_source/voter_star_on_save_doc.py
4125
# apis_v1/documentation_source/voter_star_on_save_doc.py # Brought to you by We Vote. Be good. # -*- coding: UTF-8 -*- def voter_star_on_save_doc_template_values(url_root): """ Show documentation about voterStarOnSave """ required_query_parameter_list = [ { 'name': 'api_key...
bsd-3-clause
ibm-js/angular-delite-example
bower_components/dstore/extensions/jsonSchema.js
1633
define(['../Property', '../Model', 'dojo/_base/declare', 'json-schema/lib/validate'], function (Property, Model, declare, jsonSchemaValidator) { // module: // dstore/extensions/JsonSchema // summary: // This module generates a dstore schema from a JSON Schema to enabled validation of objects // and property c...
bsd-3-clause
NServiceKit/NServiceKit.OrmLite
src/XamarinTests/SqliteExpressionsTest.iOS/Main.cs
514
using System; using System.Collections.Generic; using System.Linq; using MonoTouch.Foundation; using MonoTouch.UIKit; namespace SqliteExpressionsTest.iOS { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // i...
bsd-3-clause
rsmats13/UMBDT
module/Competitions/Module.php
1135
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD Lic...
bsd-3-clause
viticm/web-pap
server/Common/Packets/CGGuildApply.cpp
1209
#include "stdafx.h" #include "CGGuildApply.h" BOOL CGGuildApply::Read( SocketInputStream& iStream ) { __ENTER_FUNCTION iStream.Read( (CHAR*)(&m_GuildNameSize), sizeof(BYTE) ); if(m_GuildNameSize<MAX_GUILD_NAME_SIZE) { iStream.Read( (CHAR*)(m_GuildName), m_GuildNameSize ); } iStream.Read(...
bsd-3-clause
laravella/ravel
src/Laravella/Ravel/Facades/Facade.php
1183
<?php namespace Laravella\Ravel\Facades; Class Facade { protected static $resolvedInstance; /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { throw new \RuntimeException("Facade does not implement getFacadeAccessor method."); } /*...
bsd-3-clause
oesteban/dipy
dipy/sims/tests/test_voxel.py
12904
import numpy as np from nose.tools import (assert_true, assert_false, assert_equal, assert_almost_equal) from numpy.testing import (assert_array_equal, assert_array_almost_equal, assert_) from dipy.sims.voxel import (_check_directions, SingleTensor, MultiTensor, ...
bsd-3-clause
nju520/portia
slyd/app/initializers/register-api.js
2117
import Ember from 'ember'; import ajax from 'ic-ajax'; import config from '../config/environment'; import SlydApi from '../utils/slyd-api'; import Timer from '../utils/timer'; import ApplicationUtils from '../mixins/application-utils'; var UUID = Ember.Object.extend(ApplicationUtils, {}); export function initialize(c...
bsd-3-clause
FabricioMatos/ifes-dropout-machine-learning
lib/eda4.py
9696
# License: BSD 3 clause <https://opensource.org/licenses/BSD-3-Clause> # Copyright (c) 2016, Fabricio Vargas Matos <fabriciovargasmatos@gmail.com> # All rights reserved. '''' Tune the 3 most promissing algorithms and compare them ''' # Load libraries import os import time import pandas import numpy import matplotlib....
bsd-3-clause
MarginC/kame
kame/kame/shisad/fsm.h
4097
/* $KAME: fsm.h,v 1.2 2005/05/25 01:49:24 keiichi Exp $ */ /* * Copyright (C) 2004 WIDE Project. 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 re...
bsd-3-clause
jabooth/menpo-archive
menpo/fit/lucaskanade/appearance/simultaneous.py
8583
import numpy as np from scipy.linalg import norm from .base import AppearanceLucasKanade class SimultaneousForwardAdditive(AppearanceLucasKanade): @property def algorithm(self): return 'Simultaneous-FA' def _fit(self, lk_fitting, max_iters=20, project=True): # Initial error > eps ...
bsd-3-clause
NCIP/cagrid
cagrid/Software/core/caGrid/projects/globalModelExchange/src/org/cagrid/gme/common/exceptions/SchemaParsingException.java
296
package org.cagrid.gme.common.exceptions; import java.io.IOException; @SuppressWarnings("serial") public class SchemaParsingException extends IOException { public SchemaParsingException() { super(); } public SchemaParsingException(String s) { super(s); } }
bsd-3-clause
endlessm/chromium-browser
ui/events/android/event_handler_android.h
1668
// Copyright 2018 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 UI_EVENTS_ANDROID_EVENT_HANDLER_ANDROID_H_ #define UI_EVENTS_ANDROID_EVENT_HANDLER_ANDROID_H_ #include "ui/events/events_export.h" namespace ui ...
bsd-3-clause
cjh1/vtkmodular
Rendering/Core/vtkDynamic2DLabelMapper.h
4627
/*========================================================================= Program: Visualization Toolkit Module: vtkDynamic2DLabelMapper.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This sof...
bsd-3-clause
rubysl/rubysl-erb
spec/new_spec.rb
3851
require 'erb' describe "ERB.new" do before :all do @eruby_str = <<'END' <ul> <% list = [1,2,3] %> <% for item in list %> <% if item %> <li><%= item %></li> <% end %> <% end %> </ul> END @eruby_str2 = <<'END' <ul> % list = [1,2,3] %for item in list % if item <li><%= item %> <% end %> <% end %> </ul> %%%...
bsd-3-clause
klim-iv/phantomjs-qt5
src/webkit/Source/WebCore/html/HTMLMediaSource.cpp
1798
/* * Copyright (C) 2013 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 conditio...
bsd-3-clause
NIFTi-Fraunhofer/nifti_arm
libcan/src/can/can.h
5084
/*************************************************************************** * Copyright (C) 2008 by Ralf Kaestner * * ralf.kaestner@gmail.com * * * * This pr...
bsd-3-clause
vtkio/vtk
src/main/java/vtk/text/tl/expr/Multiply.java
1929
/* Copyright (c) 2009, University of Oslo, Norway * 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, thi...
bsd-3-clause
keishi/chromium
sync/internal_api/public/base/model_type_payload_map.h
1702
// Copyright (c) 2012 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. // // Definition of ModelTypePayloadMap and various utility functions. #ifndef SYNC_INTERNAL_PUBLIC_API_BASE_MODEL_TYPE_PAYLOAD_MAP_H_ #define SYNC_IN...
bsd-3-clause
benschmaus/catapult
telemetry/telemetry/testing/fakes/__init__.py
15827
# 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. """Provides fakes for several of Telemetry's internal objects. These allow code like story_runner and Benchmark to be run and tested without compiling or st...
bsd-3-clause
endlessm/chromium-browser
third_party/angle/third_party/vulkan-validation-layers/src/layers/core_validation_types.h
57785
/* Copyright (c) 2015-2020 The Khronos Group Inc. * Copyright (c) 2015-2020 Valve Corporation * Copyright (c) 2015-2020 LunarG, Inc. * Copyright (C) 2015-2020 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You m...
bsd-3-clause
skaag/chaiscript
obj-x86_64-linux-gnu/CMakeFiles/dynamic_object_test.dir/cmake_clean.cmake
319
FILE(REMOVE_RECURSE "CMakeFiles/dynamic_object_test.dir/unittests/dynamic_object_test.cpp.o" "dynamic_object_test.pdb" "dynamic_object_test" ) # Per-language clean rules from dependency scanning. FOREACH(lang CXX) INCLUDE(CMakeFiles/dynamic_object_test.dir/cmake_clean_${lang}.cmake OPTIONAL) ENDFOREACH(lang)
bsd-3-clause
2374/chris
src/edu/wpi/first/wpilibj/templates/RobotTemplate.java
3586
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
bsd-3-clause
benkaraban/anima-games-engine
Sources/Tools/EPI/Document/Properties/PtyNodeEmitter/PtyPartEffectTranslate.moc.cpp
8876
/* * Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider, * Jérémie Comarmond, Didier Colin. * 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 ...
bsd-3-clause
castelao/CoTeDe
cotede/qctests/fuzzylogic.py
2680
# -*- coding: utf-8 -*- # Licensed under a 3-clause BSD style license - see LICENSE.rst """ Quality Control based on fuzzy logic. """ import logging import numpy as np from .core import QCCheckVar from .gradient import gradient from .spike import spike from .woa_normbias import woa_normbias from cotede.fuzzy im...
bsd-3-clause
Hates/better_spree_paypal_express
README.md
4986
# Spree PayPal Express This is a "re-do" of the official [spree_paypal_express][4] extension. The old extension is extremely hard to maintain and complex. Behind-the-scenes, this extension uses [PayPal's Merchant Ruby SDK](https://github.com/paypal/merchant-sdk-ruby). ## Installation 1. Add this extension to your G...
bsd-3-clause
endlessm/chromium-browser
ui/android/java/src/org/chromium/ui/widget/ViewLookupCachingFrameLayout.java
4641
// Copyright 2019 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. package org.chromium.ui.widget; import android.content.Context; import android.util.AttributeSet; import android.util.SparseArray; import android.view.Vi...
bsd-3-clause
GaloisInc/hacrypto
src/Java/BouncyCastle/BouncyCastle-1.54/lcrypto-jdk15on-154/javadoc/org/bouncycastle/math/raw/package-summary.html
7812
<!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 (version 1.7.0_91) on Tue Dec 29 12:44:17 AEDT 2015 --> <title>org.bouncycastle.math.raw (Bouncy Castle Library 1.54 API Specification)</title> <meta ...
bsd-3-clause
washort/gelato.models
setup.py
394
from setuptools import setup, find_packages setup(name='gelato.models', version='0.1.2', description='Gelato models', namespace_packages=['gelato'], long_description='', author='', author_email='', license='', url='', include_package_data=True, packages=find...
bsd-3-clause
andygill/rubik-solver
src/Rubik/Turn.hs
1481
{-# LANGUAGE MultiParamTypeClasses, FlexibleInstances, TypeFamilies #-} module Rubik.Turn where import Data.Array import Rubik.Negate as N import Rubik.Key data Turn = NoTurn | Clock | OneEighty | CounterClock deriving (Eq,Ord,Show,Enum,Ix) instance Negate Turn where negate NoTurn = NoTurn n...
bsd-3-clause
leesab/irods
iRODS/lib/core/src/irods_auth_object.cpp
1097
/* -*- mode: c++; fill-column: 132; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #include "irods_auth_object.hpp" namespace irods { auth_object::auth_object( rError_t* _r_error ) : r_error_( _r_error ) { // TODO - stub } auth_object::~auth_object() { // TODO - stub } ...
bsd-3-clause
runabove/sail
operation/attach.go
1209
package operation import ( "fmt" "os" "github.com/runabove/sail/internal" "github.com/spf13/cobra" ) var cmdOperationAttach = &cobra.Command{ Use: "attach", Short: "Attach to an ongoing operation output: sail operation attach [applicationName] <operationId>", Long: `Attach to an ongoing operation output: sa...
bsd-3-clause
endlessm/chromium-browser
third_party/angle/third_party/VK-GL-CTS/src/external/openglcts/modules/runner/glcTestRunnerMain.cpp
4116
/*------------------------------------------------------------------------- * OpenGL Conformance Test Suite * ----------------------------- * * Copyright (c) 2016 Google Inc. * Copyright (c) 2016 The Khronos Group Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
bsd-3-clause
groupon/monsoon
intf/src/test/java/com/groupon/lex/metrics/SimpleMetricTest.java
4854
/* * Copyright (c) 2016, Groupon, 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 conditio...
bsd-3-clause
ioam/holoviews
holoviews/core/data/cudf.py
12346
import sys import warnings try: import itertools.izip as zip except ImportError: pass from itertools import product import numpy as np from .. import util from ..dimension import dimension_name from ..element import Element from ..ndmapping import NdMapping, item_check, sorted_context from .interface import...
bsd-3-clause
jimmygkr/openviewer
OpenViewer/UI/UIBase.cs
2040
/* * Copyright (c) Contributors, http://openviewer.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 mus...
bsd-3-clause
thailvn/dev
module/Api/config/api.vuongquocbalo.com.php
893
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD Lic...
bsd-3-clause