repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
NCIP/cagrid-workflow
workflow-portlet/src/main/java/gov/nih/nci/cagrid/portal/portlet/workflow/mvc/NewInstanceFormController.java
6693
/** *============================================================================ * The Ohio State University Research Foundation, The University of Chicago - * Argonne National Laboratory, Emory University, SemanticBits LLC, * and Ekagra Software Technologies Ltd. * * Distributed under the OSI-approved BSD 3-Clau...
bsd-3-clause
ugniusr/PayrollCalculator
module/PayrollCalculator/Module.php
944
<?php namespace PayrollCalculator; use Zend\ModuleManager\Feature\ConsoleUsageProviderInterface; use Zend\Console\Adapter\AdapterInterface as Console; class Module { public function getConfig() { return include __DIR__ . '/config/module.config.php'; } public function getAutoloaderConfig() ...
bsd-3-clause
opticode/eve
eve/io/media.py
2207
# -*- coding: utf-8 -*- """ eve.io.media ~~~~~~~~~~~~ Media storage for Eve-powered APIs. :copyright: (c) 2014 by Nicola Iarocci. :license: BSD, see LICENSE for more details. """ class MediaStorage(object): """ The MediaStorage class provides a standardized API for storing files, along ...
bsd-3-clause
daonb/obudget
data/queries/results/result-2007-60.html
13076
<!-- %BD_HTML%/SearchResult.htm --> <HTML> <HEAD> <meta http-equiv="Content-Type" content="text/html; charset=windows-1255"> <TITLE>úåöàú àéðèøðè - Takanot File</TITLE> </HEAD> <style> <!-- TR.A_Table {font-color:#3e6ea6; background-color: #f7f9fb; font-size:11;font-family: Arial,} TR.B_Table {font-c...
bsd-3-clause
praekelt/jmbo-superhero
superhero/models.py
269
from django.utils.translation import ugettext as _ from django.db import models from jmbo.models import ModelBase class Superhero(ModelBase): name = models.CharField(max_length=256, editable=False) class Meta: verbose_name_plural = _("Superheroes")
bsd-3-clause
salesforce/design-system-react
icons/standard/visits.js
746
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */ /* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */ export default {"viewBox":"0 0 100 100","xmlns":"http://www.w3.org/2000/svg","path":{"d":"M50.6 52.9c2.6-3.7 5.3-5.6 7.1-8.4 3.2-4.8 3.9-11.6 1.8-16.8-2.1-5.3-7-8.4-12....
bsd-3-clause
AleksandrChernyavenko/hintbox
common/widgets/PredictionAsset.php
728
<?php namespace common\widgets; use yii\helpers\VarDumper; /** * Created by PhpStorm. * User: Александр Чернявенко * Date: 25.11.2014 * Time: 14:09 */ class PredictionAsset extends \yii\web\AssetBundle { public $depends = [ 'yii\web\JqueryAsset', ]; public $css = [ ]; public $js = ...
bsd-3-clause
yekaylee/capstone
capstoneRepo/FacialRecognition/C++/projectcV/VideoCap.h
237
/*@author gihan tharanga*/ #include <iostream> #include <string> //video capturing methods int videoCapturing(); int videoCapOriginal(); /*detect the faces display the frames and number of face*/ int FaceDetector(std::string&);
bsd-3-clause
satra/NiPypeold
nipype/externals/pynifti/funcs.py
2788
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: ''' Processor functions for images ''' import numpy as np def squeeze_image(img): ''' Return image, remove axes length 1 at end of image shape For example, an image may have shape (10,20,30,1,1). ...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE191_Integer_Underflow/s04/CWE191_Integer_Underflow__short_rand_postdec_07.c
4979
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE191_Integer_Underflow__short_rand_postdec_07.c Label Definition File: CWE191_Integer_Underflow.label.xml Template File: sources-sinks-07.tmpl.c */ /* * @description * CWE: 191 Integer Underflow * BadSource: rand Set data to result of rand() * GoodSource: Set...
bsd-3-clause
vkbansal/spectrum
test/Plugin/PlugTest.php
996
<?php namespace VKBansal\Test\Spectrum\Plugin; class PlugTest extends \PHPUnit_Framework_TestCase{ protected $plugin; protected $plug; public function setUp() { $this->plugin = $this->getMockForAbstractClass('VKBansal\Spectrum\Plugin\AbstractPlugin'); $this->plugin ->metho...
bsd-3-clause
krishagni/openspecimen
www/app/modules/biospecimen/participant/specimen/overview.html
17947
<div> <div class="os-page-commands"> <div class="left" os-imaging> <button show-if-allowed="specimenResource.updateOpts" class="default" ui-sref="specimen-addedit" ng-if="!!visit.id && !specimen.reserved && (!specimen.activityStatus || specimen.activityStatus == 'Active')" ng-switch on="!!sp...
bsd-3-clause
klim-iv/phantomjs-qt5
src/webkit/Source/WebKit/efl/ewk/ewk_history.cpp
13646
/* Copyright (C) 2009-2010 ProFUSION embedded systems Copyright (C) 2009-2010 Samsung Electronics This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of t...
bsd-3-clause
nebiros/yasc
src/Yasc/App/Config.php
8643
<?php /** * Yasc. * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE. * It is also available through the world-wide-web at this URL: * http://github.com/nebiros/yasc/raw/master/LICENSE * If you did not receive a copy of the license and ar...
bsd-3-clause
endlessm/chromium-browser
third_party/llvm/flang/lib/Evaluate/fold-real.cpp
6929
//===-- lib/Evaluate/fold-real.cpp ----------------------------------------===// // // 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
Per1phery/wholetthedogout
models/LoginForm.php
1861
<?php namespace app\models; use Yii; use yii\base\Model; /** * LoginForm is the model behind the login form. */ class LoginForm extends Model { public $login; public $password; public $rememberMe = true; private $_user = false; /** * @return array the validation rules. */ publi...
bsd-3-clause
trevorlinton/skia
tests/ClipStackTest.cpp
42846
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "Test.h" #if SK_SUPPORT_GPU #include "GrReducedClip.h" #endif #include "SkClipStack.h" #include "SkPath.h" #include "SkRandom.h" #include "SkRect.h" #include "SkR...
bsd-3-clause
hung101/kbs
frontend/models/SixStepBiomekanik.php
2953
<?php namespace app\models; use Yii; use app\models\general\GeneralLabel; use app\models\general\GeneralMessage; /** * This is the model class for table "tbl_six_step". * * @property integer $six_step_id * @property integer $atlet_id * @property string $stage * @property string $status */ class SixStepBiomek...
bsd-3-clause
qiime2/q2-types
q2_types/sample_data/_type.py
832
# ---------------------------------------------------------------------------- # Copyright (c) 2016-2021, QIIME 2 development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. # ------------------------------------------------...
bsd-3-clause
shestakov/jetbat
JetBat.Client/SqlServer/Concrete/PlainObjectListViewDefinitionSqlLoader.cs
5650
using System; using System.Data; using System.Data.SqlClient; using System.IO; using System.Xml.Serialization; using JetBat.Client.Entities; using JetBat.Client.Metadata.Abstract; using JetBat.Client.Metadata.Definitions; using JetBat.Client.Metadata.Misc; using JetBat.Client.Metadata.Simple; namespace JetB...
bsd-3-clause
babelsberg/babelsberg-r
tests/modules/test_marshal.py
16593
from ..base import BaseTopazTest class TestMarshal(BaseTopazTest): def test_version_constants(self, space): w_res = space.execute("return Marshal::MAJOR_VERSION") assert space.int_w(w_res) == 4 w_res = space.execute("return Marshal::MINOR_VERSION") assert space.int_w(w_res) == 8 ...
bsd-3-clause
levans/Open-Quark
src/Quark_Gems/src/org/openquark/gems/client/IntellicutList.java
10380
/* * Copyright (c) 2007 BUSINESS OBJECTS SOFTWARE LIMITED * 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 n...
bsd-3-clause
chippey/gaffer
python/GafferImageTest/ObjectToImageTest.py
3067
########################################################################## # # Copyright (c) 2013-2015, Image Engine Design 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: # # * Redi...
bsd-3-clause
nivanson/hapi-universal-redux
src/containers/AppContainer.js
725
import React from 'react'; import 'isomorphic-fetch'; import {RouteHandler} from 'react-router'; import Transmit from 'react-transmit'; import {createStore, combineReducers} from 'redux'; import {Provider} from 'react-redux'; import * as reducers from '../reducers/index'; class AppContainer extends React.Component { ...
bsd-3-clause
milroc/pc.js
src/package.js
485
require("../pc.v0"); require("util").puts(JSON.stringify({ "name": "pc", "version": pc.version, "description": "property creation for reusable d3.js code.", "keywords": ["d3", "visualization"], "homepage": "http://milroc.github.com/pc/", "author": {"name": "Miles McCrocklin", "url": "http://www.milesmccrocklin....
bsd-3-clause
kokiBit/zend
public/css/type.css
182
.title { margin-top: 30px; vertical-align: top; } .title button { margin-top: 20px; } .contents { margin-top: 100px; } .contetns span { margin-top: 20px; }
bsd-3-clause
immortal/immortal
watchpid_test.go
931
package immortal import ( "os/exec" "syscall" "testing" "time" ) func TestWatchPidGetpid(t *testing.T) { ch := make(chan error, 1) d := &Daemon{} cmd := exec.Command("go", "version") cmd.Start() pid := cmd.Process.Pid go func() { d.WatchPid(pid, ch) ch <- cmd.Wait() }() select { case <-time.After(tim...
bsd-3-clause
ykiveish/cortica-sdk
src/Utilities.cpp
2892
/* * Author: Kiveisha Yevgeniy * Copyright (c) 2015 Intel Corporation. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use,...
bsd-3-clause
pygospa/jgraphx
docs/api/com/mxgraph/util/svg/class-use/ShapeProducer.html
7160
<!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_51) on Tue May 19 11:04:42 CEST 2015 --> <title>Uses of Interface com.mxgraph.util.svg.ShapeProducer (JGraph X 3.3.0.1 API Specificatio...
bsd-3-clause
stuzart/seek
docker/seek_local.rb
191
SEEK::Application.configure do #This holds a secret phrase, used for encrypting private information in the database #GLOBAL_PASSPHRASE="" Seek::Config.default :solr_enabled, true end
bsd-3-clause
norishigefukushima/OpenCP
OpenCP/box/boxFilter_Separable_Interleave.h
1086
#pragma once #include "boxFilter.hpp" class boxFilter_Separable_VHI_nonVec : public cp::BoxFilterBase { protected: int ksize; void filter_naive_impl() override; void filter_omp_impl() override; void operator()(const cv::Range& range) const override; public: boxFilter_Separable_VHI_nonVec(cv::Mat& _src, cv::Mat...
bsd-3-clause
princeofdarkness76/trap
transports/websocket/websocket-netty/integration.html
9839
<!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
osxhacker/smocs
smocs-core/src/test/scala/com/tubros/constraints/core/spi/solver/runtime/SymbolTableSpec.scala
2993
/** * Created on: Mar 13, 2013 */ package com.tubros.constraints.core.spi.solver package runtime import org.junit.runner.RunWith import org.scalamock.scalatest.MockFactory import org.scalatest._ import org.scalatest.junit.JUnitRunner import com.tubros.constraints.api._ /** * The '''SymbolTableSpec''' type define...
bsd-3-clause
statsmodels/statsmodels.github.io
v0.13.0/generated/statsmodels.genmod.cov_struct.Exchangeable.update.html
18859
<!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
marchartung/ParallelFMU
src/synchronization/Communicator.cpp
3412
#include "synchronization/Communicator.hpp" namespace Synchronization { Communicator::Communicator() : _numManagedCons(0), _numManagedFmus(0) { } size_type Synchronization::Communicator::addFmu(FMI::AbstractFmu* in, vector<FMI::InputMapping> & valuePacking) { vec...
bsd-3-clause
unicefuganda/edtrac
edtrac_project/rapidsms_edtrac/education/templates/education/admin/dashboard/violence.html
710
{% load url from future %} <div class="well"> <h3 class="title">Violence</h3> <table class="table tabulated-data"> <thead> <tr> <th>Group</th> <th>Monthly Numbers</th> </tr> </thead> <tbody> <tr> <td>Girls Cases</td> <td>{{ violence_numbers_girls|floatformat:0 }}</td> </tr...
bsd-3-clause
khendarg/pdbtmtop
dbtool.py
2933
#!/usr/bin/env python2 from __future__ import print_function import sys import os import urllib import argparse import xml.etree.ElementTree as ET def warn(*msgs): for x in msgs: print('[WARNING]:', x, file=sys.stderr) class PDBTM: def __init__(self, filename): #self.tree = ET.parse(filename) #self.root = self...
bsd-3-clause
jkoppel/comptrans
Data/Comp/Trans/DeriveUntrans.hs
8030
{-# LANGUAGE TemplateHaskell #-} module Data.Comp.Trans.DeriveUntrans ( deriveUntrans ) where import Control.Lens ( view ,(^.)) import Control.Monad ( liftM ) import Control.Monad.Trans ( lift ) import Data.Comp.Multi ( Alg, cata, (:&:)(..) ) import Language.Haskell.TH import Data.Comp.Trans.Util ----------...
bsd-3-clause
Kami/munin_exchange
munin_exchange/apps/core/templatetags/navclass.py
307
from django.template import Library, Node, resolve_variable, TemplateSyntaxError from django.core.urlresolvers import reverse register = Library() @register.simple_tag def active(request, pattern): import re if re.search(pattern, request.get_full_path()): return 'active' return ''
bsd-3-clause
endlessm/chromium-browser
components/password_manager/core/browser/http_auth_manager_unittest.cc
9586
// 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 <memory> #include <utility> #include <vector> #include "base/feature_list.h" #include "base/macros.h" #include "base/optional.h" #include "b...
bsd-3-clause
vivo-project/VIVO
README.md
5051
# VIVO: Connect, Share, Discover [![Build](https://github.com/vivo-project/VIVO/workflows/Build/badge.svg)](https://github.com/vivo-project/VIVO/actions?query=workflow%3ABuild) [![Deploy](https://github.com/vivo-project/VIVO/workflows/Deploy/badge.svg)](https://github.com/vivo-project/VIVO/actions?query=workflow%3ADep...
bsd-3-clause
divio/osx-bootstrap
core/github.sh
1443
#!/bin/bash # define helpers source_dir=~/.osx-bootstrap if [[ ! -f ~/.ssh/id_rsa ]]; then echo '' echo '##### Please enter your github username: ' read github_user echo '##### Please enter your github email address: ' read github_email # setup github if [[ $github_user && $github_email ]...
bsd-3-clause
hawkstalion/Tog-Mobile
Tog/json.net/Source/Src/Newtonsoft.Json/Utilities/DynamicProxyMetaObject.cs
14749
#if !(NET35 || NET20 || WINDOWS_PHONE) using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Linq.Expressions; using System.Reflection; namespace Newtonsoft.Json.Utilities { internal sealed class DynamicProxyMetaObject<T> : DynamicMetaObject { private readonly D...
bsd-3-clause
erictj/protean
modules/thirdparty/xhprof/extension/config.h
1655
/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.in by autoheader. */ /* Whether to build xhprof as dynamic module */ #define COMPILE_DL_XHPROF 1 /* Define to 1 if you have the <dlfcn.h> header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you have the <inttyp...
bsd-3-clause
jenniferwx/Programming_Practice
FindNextHigherNumberWithSameDigits.py
578
''' Given a number, find the next higher number using only the digits in the given number. For example if the given number is 1234, next higher number with same digits is 1243 ''' def FindNext(num): number = str(num) length = len(number) for i in range(length-2,-1,-1): current = number[i] ...
bsd-3-clause
servehub/serve
manifest/manifest.go
5887
package manifest import ( "encoding/json" "fmt" "log" "reflect" "regexp" "strconv" "strings" "github.com/fatih/color" "github.com/servehub/serve/manifest/processor" "github.com/servehub/utils" "github.com/servehub/utils/gabs" ) type Manifest struct { tree *gabs.Container } func (m Manifest) String() st...
bsd-3-clause
LeonidLyalin/vova
common/humhub/protected/humhub/modules/user/messages/cs/behaviors_ProfileControllerBehavior.php
296
<?php return array ( 'This user account is not approved yet!' => 'Tento účet ještě není aktivován!', 'User not found!' => 'Uživatel nebyl nalezen!', 'You need to login to view this user profile!' => 'Abyste mohli prohlížet tento profil, je potřeba se nejdříve přihlásit.', );
bsd-3-clause
ismaelbelghiti/Tigwi
Core/Tigwi.UI/Models/Storage/StorageException.cs
1512
#region copyright // Copyright (c) 2012, TIGWI // All rights reserved. // Distributed under BSD 2-Clause license #endregion using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Tigwi.UI.Models.Storage { using Tigwi.Storage.Library; public class DuplicateUserExceptio...
bsd-3-clause
01org/intel-iot-services-orchestration-layer
doc/html/builtin/email.html
2603
<!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" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name=...
bsd-3-clause
willkg/postatus
postatus/status.py
4559
import requests class Status(object): SKIP_LOCALES = ['en_US'] def __init__(self, url, app=None, highlight=None): self.url = url self.app = app self.highlight = highlight or [] self.data = [] self.created = None def get_data(self): if self.data: ...
bsd-3-clause
dineshkummarc/zf2
library/Zend/Cloud/StorageService/Adapter/Rackspace.php
11465
<?php /** * 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 and are unable to * ob...
bsd-3-clause
vlegoff/tsunami
src/secondaires/navigation/commandes/debarquer/__init__.py
4221
# -*-coding:Utf-8 -* # Copyright (c) 2010-2017 LE GOFF Vincent # 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 # ...
bsd-3-clause
1106944911/leetcode
C++/bucketSort.cpp
1907
#include<iostream> using namespace std; int a[]={1,255,8,6,25,47,14,35,58,75,96,158,657}; const int len = sizeof(a)/sizeof(int); int b[10][len+1] = { 0 }; //将b全部置0 void bucketSort(int a[]);//桶排序函数 void distributeElments(int a[],int b[10][len+1],int digits); void collectElments(int a[],int b[10][len+1]); int numOfDigit...
bsd-3-clause
brics/brics_3d
src/brics_3d/algorithm/filtering/ColorBasedROIExtractorRGB.h
1916
/* * ColorBasedROIExtractorRGB.h * * Created on: Dec 2, 2011 * Author: Pinaki Sunil Banerjee */ #ifndef BRICS_3D_COLORBASEDROIEXTRACTORRGB_H_ #define BRICS_3D_COLORBASEDROIEXTRACTORRGB_H_ #include "IFiltering.h" #include <stdlib.h> #include <cmath> #include <iostream> #include <stdio.h> #include <stdint.h>...
bsd-3-clause
theghostbel/pimcore
pimcore/lib/Deployment/Phing/docs/api/docs/classes/DataTypeHandler.html
15955
<!DOCTYPE html><html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <meta charset="utf-8"> <title>Phing API Documentation » \DataTypeHandler</title> <meta name="author" cont...
bsd-3-clause
Rbeaty88/ginga
ginga/gtkw/GtkMain.py
5866
# # GtkMain.py -- pygtk threading help routines. # # Eric Jeschke (eric@naoj.org) # # Copyright (c) Eric R. Jeschke. All rights reserved. # This is open-source software licensed under a BSD license. # Please see the file LICENSE.txt for details. # """ GUI threading help routines. Usage: import GtkMain # See c...
bsd-3-clause
Gcaufy/shengzaizai
backend/modules/inspection/views/hospital/_search.php
1079
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model backend\modules\inspection\models\InspectionHospitalMapSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="inspection-hospital-map-search"> <?php $form = ActiveForm::begin([ 'action' => ['in...
bsd-3-clause
hlzz/dotfiles
graphics/cgal/AABB_tree/doc/AABB_tree/Concepts/AABBTraits.h
7754
/*! \ingroup PkgAABB_treeConcepts \cgalConcept The concept `AABBTraits` provides the geometric primitive types and methods for the class `CGAL::AABB_tree<AABBTraits>`. \cgalHasModel `CGAL::AABB_traits<AABBGeomTraits,AABBPrimitive>` \sa `CGAL::AABB_traits<AABBGeomTraits,AABBPrimitive>` \sa `CGAL::AABB_tree<AABBTrait...
bsd-3-clause
davidred/spree_delivery_time
app/assets/javascripts/spree/frontend/store/datepicker.js
91677
/*! jQuery UI - v1.11.4 - 2015-12-06 * http://jqueryui.com * Includes: core.js, datepicker.js * Copyright jQuery Foundation and other contributors; Licensed MIT */ (function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define([ "jquery" ], factory...
bsd-3-clause
BlairArchibald/HdpHBencher
processResults.sh
1154
#!/bin/bash #This program calculates the core count for each result row and updates the #results. This is a work around due to a current limitation of #HdpHBencher/HsBencher. #Author: Blair Archibald function usage { echo "Usage: processResults.sh <resultsFile>" exit -1 } test -z $1 && usage resultsFile="$1" ...
bsd-3-clause
beni55/shipbuilder
webroot/js/services.js
302
var sbModule = angular.module('sbServices', ['ngResource']); sbModule.factory('App', function($resource) { return $resource('/api/v1/app/:name', { q: '' }, { get: { method: 'GET' }, //isArray: false }, query: { method: 'GET'} //, params: { q: '' }//, isArray: false } }); });
bsd-3-clause
youtube/cobalt
cobalt/bindings/testing/global_interface_parent.h
1126
// Copyright 2015 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
shackra/thomas-aquinas
summa/audio/system.py
776
# coding: utf-8 # This file is part of Thomas Aquinas. # # Thomas Aquinas 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 option) any later version. # # Thomas Aq...
bsd-3-clause
dcui/FreeBSD-9.3_kernel
sys/dev/tdfx/tdfx_linux.c
2886
/*- * Copyright (c) 2006 The FreeBSD 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 retain the above copyright * notice, this list of...
bsd-3-clause
GaloisInc/mistral
src/Mistral/Schedule/Value.hs
5624
module Mistral.Schedule.Value ( Env , groupEnv , lookupEnv , bindType , bindValue , bindParam , NodeTags , bindNode , lookupTag, lookupTags , Value(..) , SNetwork(..), mapWhen, modifyNode , SNode(..), addTask , STask(..), hasConstraints , SConstraint(..), target ) where import Mistral...
bsd-3-clause
MarginC/kame
freebsd4/sys/boot/common/interp_backslash.c
3531
/* * 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 following disclaimer. * 2. Redistributions in bin...
bsd-3-clause
karthiksekarnz/educulas
tests/Zend/Validate/Sitemap/AllTests.php
2115
<?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
AppliedAutonomyOffenburg/AADC_2015_A2O
src/aadcUser/src/HSOG_Runtime/adtf/encoder/ADTFPinMessageEncoder.cpp
3690
#include "ADTFPinMessageEncoder.h" using namespace A2O; ADTFPinMessageEncoder::ADTFPinMessageEncoder(IAction::Ptr action, ICarMetaModel::ConstPtr carMetaModel) : _action(action) { // Create output pins const std::vector<IServoDriveConfig::ConstPtr>& servoDriveConfigs = carMetaModel->getServoDrive...
bsd-3-clause
segpacto/yii2-exchange
EWSType/EWSType_TentativelyAcceptItemType.php
3092
<?php namespace Exchange\EWSType; use Exchange\EWSType; /** * Contains EWSType_TentativelyAcceptItemType. */ /** * Represents a Tentative reply to a meeting request. * * @package php-ews\Types * * @todo Extend EWSType_WellKnownResponseObjectType. */ class EWSType_TentativelyAcceptItemType extends EWSType { ...
bsd-3-clause
minrk/dockerspawner
examples/simple/README.md
1541
# Running JupyterHub itself in docker This is a simple example of running jupyterhub in a docker container. This example will: - create a docker network - run jupyterhub in a container - enable 'dummy authenticator' for testing - run users in their own containers It does not: - enable persistent storage for users ...
bsd-3-clause
mikeizbicki/hmm
OldHMM.hs
5845
{-# LANGUAGE ParallelListComp #-} module OldHMM (Prob, HMM(..), train, bestSequence, sequenceProb) where import qualified Data.Map as M import Data.List (sort, groupBy, maximumBy, foldl') import Data.Maybe (fromMaybe, fromJust) import Data.Ord (comparing) import Data.Function (on) import Control.Monad import ...
bsd-3-clause
CyanoFresh/SmartHome
modules/admin/models/TriggerSearch.php
1914
<?php namespace app\modules\admin\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\Trigger; /** * TriggerSearch represents the model behind the search form about `app\models\Trigger`. */ class TriggerSearch extends Trigger { /** * @inheritdoc */ public function...
bsd-3-clause
ChromiumWebApps/chromium
chrome/common/net/url_fixer_upper_unittest.cc
20955
// Copyright (c) 2011 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 <stdlib.h> #include "base/basictypes.h" #include "base/file_util.h" #include "base/path_service.h" #include "base/strings/string_util.h" #in...
bsd-3-clause
nihilus/src
pywraps/py_choose.py
1595
#<pycode(py_choose)> class Choose: """ Choose - class for choose() with callbacks """ def __init__(self, list, title, flags=0, deflt=1, icon=37): self.list = list self.title = title self.flags = flags self.x0 = -1 self.x1 = -1 self.y0 = -1 self.y1 = -1 self.width = -1 self...
bsd-3-clause
ishvaram/email-app
vendor/ZF2/library/Zend/Console/Console.php
6488
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ n...
bsd-3-clause
salah-saleh/forsker
app/elements/scientists/my-scientists-list.html
1063
<dom-module id="my-scientists-list"> <template> <firebase-collection data="{{scientists}}" location="https://radiant-fire-9062.firebaseio.com/users"> </firebase-collection> <template is="dom-repeat" items="[[scientists]]" as="scientist"> <p>Element: <span>[[index]]</span><...
bsd-3-clause
firstsee/ServiceStack
src/ServiceStack.WebHost.Endpoints/Support/Metadata/Controls/Soap12OperationControl.cs
908
using System.Collections.Generic; using System.Web; using System.Web.UI; using ServiceStack.Common.Web; namespace ServiceStack.WebHost.Endpoints.Support.Metadata.Controls { internal class Soap12OperationControl : OperationControl { public Soap12OperationControl() { EndpointType = EndpointType.Soap12; } ...
bsd-3-clause
sowanderr/phonebook
web/phone/INewsDB.class.php
1140
<?php /** * inerface INewsDB * содержит основные методы для работы с новостной лентой */ interface INewsDB{ /** * Добавление новой записи в новостную ленту * * @param string $title - заголовок новости * @param string $category - категория новости * @param string $description - текст нов...
bsd-3-clause
nwjs/chromium.src
chrome/browser/ash/crostini/crostini_engagement_metrics_service.h
2046
// Copyright 2020 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_ASH_CROSTINI_CROSTINI_ENGAGEMENT_METRICS_SERVICE_H_ #define CHROME_BROWSER_ASH_CROSTINI_CROSTINI_ENGAGEMENT_METRICS_SERVICE_H_ #in...
bsd-3-clause
metpy/MetPy
v0.8/api/generated/metpy.calc.second_derivative.html
25592
<!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>second_derivative &mdash; MetPy 0.8</title> ...
bsd-3-clause
exponent/exponent
ios/versioned-react-native/ABI41_0_0/ReactNative/ReactCommon/fabric/components/picker/androidpicker/ABI41_0_0AndroidDialogPickerProps.cpp
1031
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ABI41_0_0AndroidDialogPickerProps.h" #include <ABI41_0_0React/components/image/conversions.h> #include <ABI41_0_0React/c...
bsd-3-clause
patrickm/chromium.src
chrome/browser/drive/drive_api_util.cc
19627
// 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 "chrome/browser/drive/drive_api_util.h" #include <string> #include "base/files/file.h" #include "base/logging.h" #include "base/md5.h" #inc...
bsd-3-clause
alliciga/MWM
app/models/vehicletype.rb
158
class Vehicletype < ActiveRecord::Base has_many :vehicles attr_accessible :capacity, :fuel, :maintcycle, :name validates :name, :uniqueness => true end
bsd-3-clause
SoftwareEngineeringToolDemos/FSE-2011-jstar-eclipse
README.md
1915
The jStar Eclipse Plug-in ============================= There is a tutorial for the plugin: doc/jstar eclipse tutorial/jstar eclipse tutorial.pdf For more information, see [http://www.jstarverifier.org](https://web.archive.org/web/20141217130023/http://jstarverifier.org/) ___ This repository contains infor...
bsd-3-clause
ToonTalk/behaviour-composer
BC/Static Web Pages/Resources/Composer/en/MB.3/DIRECTION-TOWARDS-OTHERS.html
3523
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>DIRECTION-TOWARDS-OTHERS</title> </head> <body> <h3><i>I update my desired direction to head toward those in my local interaction zone if not in my personal space.</i> </h3> <font ...
bsd-3-clause
MLR-au/esrc-search
test/spec/directives/search-filters.js
509
'use strict'; describe('Directive: searchFilters', function () { // load the directive's module beforeEach(module('searchApp')); var element, scope; beforeEach(inject(function ($rootScope) { scope = $rootScope.$new(); })); it('should make hidden element visible', inject(function ($compile) { ...
bsd-3-clause
smoos/fb_dispo
views/fahrtenbuch/_form.php
745
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\Fahrtenbuch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="fahrtenbuch-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'fahrer')->textInput(['maxlength' => true])...
bsd-3-clause
exponentjs/exponent
ios/versioned-react-native/ABI42_0_0/ReactNative/React/Views/ABI42_0_0RCTMaskedView.h
318
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <UIKit/UIKit.h> #import <ABI42_0_0React/ABI42_0_0RCTView.h> @interface ABI42_0_0RCTMaskedView : ABI42_0_0RCTView @end
bsd-3-clause
travis-repos/metior
test/test_github.rb
5231
# This code is free software; you can redistribute it and/or modify it under # the terms of the new BSD License. # # Copyright (c) 2011, Sebastian Staudt require 'fixtures' require 'helper' class TestGitHub < Test::Unit::TestCase context 'The GitHub implementation' do should 'not support file stats' do ...
bsd-3-clause
BhaveshSGupta/FreeCodeCamp
curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-198-ambiguous-numbers.english.md
1360
--- id: 5900f4331000cf542c50ff45 challengeType: 5 title: 'Problem 198: Ambiguous Numbers' forumTopicId: 301836 --- ## Description <section id='description'> A best approximation to a real number x for the denominator bound d is a rational number r/s (in reduced form) with s ≤ d, so that any rational number p/q which i...
bsd-3-clause
DweebsUnited/CodeMonkey
java/CodeMonkey/HEMesh/wblut/geom/WB_MutableCoordinateMath3D.java
2810
/* * HE_Mesh Frederik Vanhoutte - www.wblut.com * * https://github.com/wblut/HE_Mesh * A Processing/Java library for for creating and manipulating polygonal meshes. * * Public Domain: http://creativecommons.org/publicdomain/zero/1.0/ * I , Frederik Vanhoutte, have waived all copyright and related or neighbor...
bsd-3-clause
xblox/control-freak
documentation/docFiles/08_Driver/04_Editors.md
644
The *Control Freak* IDE provides already a sophisticated Editor which comes with auto completion and snippets by the default. Since most developers prefer their own editors and key bindings, the IDE allows also to write driver code outside of the IDE. All you you need to do is open the driver Javascript file and start...
bsd-3-clause
tpugsley/tco2
tco2/config/production.py
4340
# -*- coding: utf-8 -*- ''' Production Configurations - Use djangosecure - Use Amazon's S3 for storing static files and uploaded media - Use sendgrid to send emails - Use MEMCACHIER on Heroku ''' from configurations import values # See: http://django-storages.readthedocs.org/en/latest/backends/amazon-S3.html#settings...
bsd-3-clause
hukumonline/yii
framework/i18n/data/tn.php
6212
<?php /** * Locale data for 'tn'. * * This file is automatically generated by yiic cldr command. * * Copyright © 1991-2007 Unicode, Inc. All rights reserved. * Distributed under the Terms of Use in http://www.unicode.org/copyright.html. * * Copyright © 2008-2010 Yii Software LLC (http://www.yiiframework.com/lic...
bsd-3-clause
fabi4n/pajakdaerah
vendor/composer/autoload_psr4.php
3163
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'Zend\\View\\' => array($vendorDir . '/zendframework/zend-view/src'), 'Zend\\Validator\\' => array($vendorDir . '/zendframework/zend-validator/src'), 'Zend\\Uri\\' => a...
bsd-3-clause
RangerKD/RFS-SLAM
src/analysis2dSim.cpp
12152
/* * Software License Agreement (New BSD License) * * Copyright (c) 2013, Keith Leung, Felipe Inostroza * 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 c...
bsd-3-clause
klim-iv/phantomjs-qt5
src/webkit/Source/WebCore/dom/TextEvent.cpp
4309
/* * Copyright (C) 2007 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
bsd-3-clause
salesforce/design-system-react
icons/utility/capacity_plan.js
701
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */ /* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */ export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":[{"d":"M43.3 6h-1.73a.74.74 0 00-.67.8V10a6.37 6.37 0 01-6.3 6.4H17.4a6.37 6.37 0 01-6...
bsd-3-clause
scsibug/read52
badger/badges/1000page.js
1422
// 1000-page badge // Awarded when total read page count exceeds 1000. var sys = require('sys'); var _ = require('underscore'); var users = require('../../users'); var badge_template = require('./badge'); // badge key, must be unique. var name = "1000page"; exports.badge_info = { id: name, name: "...
bsd-3-clause
xebialabs/vijava
src/com/vmware/vim25/StaticRouteProfile.java
1954
/*================================================================================ Copyright (c) 2012 Steve Jin. 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 re...
bsd-3-clause