repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
dcarroll/Analytics-Cloud-Dataset-Utils
src/main/java/com/sforce/dataset/flow/monitor/JobEntry.java
3407
/* * Copyright (c) 2014, 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: * * Redistributions of source code must retain the above copyright notice, this list of c...
bsd-3-clause
advancingu/QmlOgre
lib/ogreengine.cpp
4971
/*! * \copyright (c) Nokia Corporation and/or its subsidiary(-ies) (qt-info@nokia.com) and/or contributors * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * \license{This source file is part of QmlOgre abd subject to the BSD license tha...
bsd-3-clause
fu-tao/meelier_c2.0
public/assets/manage/js/editor_pt_view.js
784
(function(win){ var editorPTView = win.editorPTView = function(obj, data, domain) { obj.html(''); for(var i=0; i<data.length; i++) { var t = data[i].type; var v = data[i].value; var box = $('<div class="item"></div>'); switch (t) { case...
bsd-3-clause
gjo/babel
babel/core.py
30389
# -*- coding: utf-8 -*- """ babel.core ~~~~~~~~~~ Core locale representation and locale data access. :copyright: (c) 2013 by the Babel Team. :license: BSD, see LICENSE for more details. """ import os from babel import localedata from babel._compat import pickle, string_types __all__ = ['Unknown...
bsd-3-clause
paramono/amocrm
tests/__init__.py
333
import unittest # from .base_mocksettings import BaseMockSettingsTest from .test_value import TestValue from .test_field import TestField from .test_field_children import * from .test_contact import * from .test_lead import * from .test_settings import * from .test_manager import * if __name__ == '__main__': uni...
bsd-3-clause
sherryshare/blaze-2.0
blazemark/src/mtl/DMatTSMatMult.cpp
4772
//================================================================================================= /*! // \file src/mtl/DMatTSMatMult.cpp // \brief Source file for the MTL dense matrix/transpose sparse matrix multiplication kernel // // Copyright (C) 2013 Klaus Iglberger - All Rights Reserved // // This file is pa...
bsd-3-clause
jimrc/IntroStatShinyApps
www/helper.js
260
function toggleContent1() { // Get the DOM reference var contentId = document.getElementById("getcat1Data"); // Toggle contentId.style.display == "block" ? contentId.style.display = "none" : contentId.style.display = "block"; }
bsd-3-clause
walkerka/opentoonz
toonz/sources/tnztools/viewtools.cpp
5801
#include "tools/tool.h" #include "tstopwatch.h" #include "tools/cursors.h" #include "tgeometry.h" #include "tproperty.h" #include <math.h> #include "tgl.h" namespace { //============================================================================= // Zoom Tool //---------------------------------------------------...
bsd-3-clause
nachocove/DDay-iCal-Xamarin
DDay.Collections/DDay.Collections.Test/GroupedCollectionTests.cs
8710
using System; using System.Diagnostics; using System.Linq; using NUnit.Framework; namespace DDay.Collections.Test { [TestFixture] public class GroupedCollectionTests { IGroupedList<long, Person> _People; IGroupedCollection<long, Doctor> _Doctors; Person _JonSchmidt; ...
bsd-3-clause
sprockets/sprockets.mixins.postgresql
sprockets/mixins/postgresql/__init__.py
3458
""" PostgreSQL Client Mixins ======================== Sprockets mixins that automatically connects to PostgreSQL using `sprockets.clients.postgresql <http://sprocketsclientspostgresql.rtfd.org>`_. Handlers implementing one of the mixins should set an attribute called ``DBNAME`` that specifies the database name to con...
bsd-3-clause
mishbahr/staticgen-demo
staticgen_demo/plugins/picture/migrations/0001_initial.py
899
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import filer.fields.image class Migration(migrations.Migration): dependencies = [ ('cms', '0013_urlconfrevision'), ('filer', '0002_auto_20150606_2003'), ] operations = [ mig...
bsd-3-clause
zekizeki/agentservice
OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
25048
/* * Copyright (c) Contributors, http://opensimulator.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 must r...
bsd-3-clause
bg0jr/Maui
src/Trading/Maui.Trading/Model/ISortedSet.cs
198
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Maui.Trading.Model { public interface ISortedSet<T> : IEnumerable<T> { } }
bsd-3-clause
jwcobb/ticketevolution-php-dataloaders
library/DataLoader/Db/Table/Configurations.php
3272
<?php /** * LICENSE * * This source file is subject to the new BSD (3-Clause) 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://choosealicense.com/licenses/bsd-3-clause/ * * @category TicketEvolution * @package T...
bsd-3-clause
nwjs/chromium.src
chrome/browser/media/cdm_document_service_impl_test.cc
12317
// Copyright 2021 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/media/cdm_document_service_impl.h" #include <memory> #include "base/files/file.h" #include "base/files/file_util.h" #include "b...
bsd-3-clause
kambisports/VigorJS
src/common/EventBus.js
2859
import _ from 'underscore'; import Events from 'backbone'; import EventKeys from './EventKeys'; class EventRegistry {} _.extend(EventRegistry.prototype, Events); // A global EventBus for the entire application // // @example How to subscribe to events // EventBus.subscribe EventKeys.EXAMPLE_EVENT_KEY, (event) -> /...
bsd-3-clause
gladgod/zhiliao
zhiliao/forms/admin.py
6178
from __future__ import unicode_literals from future.builtins import open, bytes from copy import deepcopy from io import BytesIO, StringIO from csv import writer from datetime import datetime from mimetypes import guess_type from os.path import join from django.conf.urls import patterns, url from django.contrib impor...
bsd-3-clause
code4sac/adopt-a-light
app/models/problem_type.rb
88
class ProblemType < ActiveRecord::Base attr_accessible :name has_many :problems end
bsd-3-clause
Ghands/go
src/cmd/internal/ld/macho.go
19866
// Copyright 2009 The Go 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 ld import ( "sort" "strings" ) type MachoHdr struct { cpu uint32 subcpu uint32 } type MachoSect struct { name string segname string addr...
bsd-3-clause
BrantYii/store
backend/views/backenduser/_form.php
1751
<?php /** * Copyright (C) 2014 Dinesh Sharma - All Rights Reserved * You may use, distribute and modify this code under the * terms of the GPL license. * * You should have received a copy of the GPL license with * this file. If not, please visit : * https://gnu.org/licenses/gpl.html */ use yii\helpers\Html; use...
bsd-3-clause
patrickm/chromium.src
ui/aura/window_event_dispatcher_unittest.cc
71814
// 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 "ui/aura/window_event_dispatcher.h" #include <vector> #include "base/bind.h" #include "base/run_loop.h" #include "testing/gtest/include/gte...
bsd-3-clause
Rolinh/tweetmining
src/features/user_mentions_count_feature.py
338
from features import abstract_feature as af class UserMentionsCountFeature(af.AbstractFeature): def __repr__(self): return "<UserMentionsCountFeature>" def __str__(self): return "User Mentions Count Feature" def extract(self, tweet): return "user_mentions_count", len(tweet.entiti...
bsd-3-clause
vercas/vLogs
vLogs/Objects/Message Payload.cs
1954
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; namespace vLogs.Objects { using Utilities; /// <summary> /// A payload containing a described exception. /// </summary> public class MessagePayload : I...
bsd-3-clause
trsouz/service-url
test/index.js
2341
var chai = require('chai'), expect = chai.expect, should = chai.should, Service = require('..'), exampleUrl = 'http://posttestserver.com/:path:format', exampleDefaultParams = { path: 'post', format: '.php', dir: 'nodejs/service-url/' }, exampleActions = { 'data': { method: 'GET', ...
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
dials/dials
algorithms/integration/kapton_2019_correction.py
32368
from __future__ import annotations import logging import math import sys import numpy as np from scitbx.matrix import col from dials.algorithms.integration.kapton_correction import get_absorption_correction from dials.algorithms.shoebox import MaskCode from dials.array_family import flex logging.basicConfig() logg...
bsd-3-clause
jthomale/pycallnumber
pycallnumber/units/callnumbers/parts.py
7061
"""Work with structures commonly found in many call number types.""" from __future__ import unicode_literals from pycallnumber.template import CompoundTemplate from pycallnumber.unit import CompoundUnit from pycallnumber.units.simple import Alphabetic, Numeric, Formatting,\ DEFAU...
bsd-3-clause
motech/MOTECH-Mobile
motech-mobile-imp/src/main/java/org/motechproject/mobile/imp/serivce/oxd/StudyProcessor.java
3839
/** * MOTECH PLATFORM OPENSOURCE LICENSE AGREEMENT * * Copyright (c) 2010-11 The Trustees of Columbia University in the City of * New York and Grameen Foundation USA. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follo...
bsd-3-clause
bfyang5130/tuanlogs
backend/themes/base/nginx/city.php
9961
<?php /* @var $this yii\web\View */ use yii\widgets\Breadcrumbs; use backend\services\NginxService; use backend\services\NginxHightchartService; use miloschuman\highcharts\Highcharts; $this->title = '地区访问信息'; $search_date = Yii::$app->request->get("date"); if (empty($search_date)) { $search_date = date('Y-m-d');...
bsd-3-clause
CCLab/Raw-Salad
scripts/db/universal/csv2json.py
2320
#!/usr/bin/python # # simple JSON file export from CSV dumps (universal) # # what should be taken into consideration, and what this script doesn't do: # - the header should consist of ascii symbols only # - the header shoudn't contain any special symbol like \", ",", ":", "|" etc. (except "_" and "-") # - there should...
bsd-3-clause
NCIP/annotation-and-image-markup
AIMToolkit_v3.0.2_rv11/source/dcmtk-3.6.0/dcmsr/libsrc/dsrmaccc.cc
3847
/* * * Copyright (C) 2010, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * * This software and supporting documentation were developed by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmsr * * Author: Joerg Riesme...
bsd-3-clause
philippfrenzel/karaokekings
views/songs/_form.php
1158
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\Songs */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="songs-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'title')->textarea(['rows' => 6]) ?> <?= $form->fi...
bsd-3-clause
parhansson/KMotionX
PC VCS Examples/ExtendedLoggingKflop/Models/AxisDefinitionModel.cs
3102
using Catel.Data; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using System.ComponentModel.DataAnnotations; using Catel.MVVM; using System.ComponentModel; using Catel.Runtime.Serialization; namespace...
bsd-3-clause
kgacova/Orchard
src/Orchard/ContentManagement/Handlers/ContentHandlerBase.cs
2564
namespace Orchard.ContentManagement.Handlers { public class ContentHandlerBase : IContentHandler { public virtual void Activating(ActivatingContentContext context) {} public virtual void Activated(ActivatedContentContext context) {} public virtual void Initializing(InitializingContentCo...
bsd-3-clause
juliocesarcarvajal/ako
js-plugin/responsive-nav/demos/require-js/main.js
95
require(["../../responsive-nav"], function() { var navigation = responsiveNav("#nav"); });
bsd-3-clause
veontomo/teresaStore
views/product/create.php
487
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\models\Product */ $this->title = Yii::t('app', 'Create {modelClass}', [ 'modelClass' => 'Product', ]); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Products'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this-...
bsd-3-clause
stan-dev/math
stan/math/rev/fun/svd_V.hpp
2228
#ifndef STAN_MATH_REV_FUN_SVD_V_HPP #define STAN_MATH_REV_FUN_SVD_V_HPP #include <stan/math/prim/fun/Eigen.hpp> #include <stan/math/prim/err/check_nonzero_size.hpp> #include <stan/math/prim/fun/typedefs.hpp> #include <stan/math/rev/meta.hpp> #include <stan/math/rev/core.hpp> #include <stan/math/rev/fun/value_of.hpp> ...
bsd-3-clause
chrisblackni/onxshop
controllers/bo/component/ecommerce/recipe_list_filter.php
547
<?php /** * * Copyright (c) 2013-2014 Onxshop Ltd (https://onxshop.com) * Licensed under the New BSD License. See the file LICENSE.txt for details. */ class Onxshop_Controller_Bo_Component_Ecommerce_Recipe_List_Filter extends Onxshop_Controller { /** * main action */ public function mainAction() { ...
bsd-3-clause
highweb-project/highweb-webcl-html5spec
components/autofill/core/browser/webdata/autofill_wallet_syncable_service.cc
11525
// 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 "components/autofill/core/browser/webdata/autofill_wallet_syncable_service.h" #include <stddef.h> #include <set> #include <utility> #include "b...
bsd-3-clause
endlessm/chromium-browser
chrome/android/features/autofill_assistant/java/src/org/chromium/chrome/browser/autofill_assistant/form/AssistantFormSelectionInput.java
5768
// 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.chrome.browser.autofill_assistant.form; import android.content.Context; import android.view.LayoutInflater; import android.view.View...
bsd-3-clause
etscrivner/turkleton
turkleton/connection.py
2261
# -*- coding: utf-8 -*- """ mturk.connection ~~~~~~~~~~~~~~~~ Simplified interface for connecting to Mechanical Turk. """ from boto.mturk import connection from turkleton import errors # The host for the Mechanical Turk sandbox. MTURK_SANDBOX_HOST = 'mechanicalturk.sandbox.amazonaws.com' # Global contai...
bsd-3-clause
qedsoftware/commcare-hq
corehq/form_processor/migrations/0007_index_case_uuid_on_commcarecaseindex.py
554
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('form_processor', '0006_commcarecaseindexsql'), ] operations = [ migrations.AlterField( model_name='commcarecasei...
bsd-3-clause
danakj/chromium
third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
6434
// 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 "modules/presentation/PresentationRequest.h" #include "bindings/core/v8/CallbackPromiseAdapter.h" #include "bindings/core/v8/ExceptionState.h" #...
bsd-3-clause
PeekAndPoke/aviator
src/PeekAndPoke/Aviator/Middleware/ResponseFactory.php
708
<?php /** * Created by IntelliJ IDEA. * User: gerk * Date: 21.12.16 * Time: 21:27 */ declare(strict_types=1); namespace PeekAndPoke\Aviator\Middleware; use Psr\Http\Message\ResponseInterface; /** * @author Karsten J. Gerber <kontakt@karsten-gerber.de> */ interface ResponseFactory { /** * Create a PSR...
bsd-3-clause
Mak-Di/yii2
tests/framework/log/LoggerTest.php
13421
<?php /** * @author Carsten Brandt <mail@cebe.cc> */ namespace yiiunit\framework\log; use yii\log\Logger; use yiiunit\TestCase; /** * @group log */ class LoggerTest extends TestCase { /** * @var Logger */ protected $logger; /** * @var Dispatcher */ protected $dispatcher; ...
bsd-3-clause
kjbartel/clmagma
control/get_nb_tahiti.cpp
7290
/* -- clMAGMA (version 1.3.0) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date November 2014 @author Stan Tomov @author Mark Gates @author Azzam Haidar */ #include "magma.h" #include "common_magma.h" #ifdef __cp...
bsd-3-clause
desmond1121/fresco
imagepipeline/src/test/java/com/facebook/imagepipeline/producers/ResizeAndRotateProducerTest.java
22249
/* * Copyright (c) 2015-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. */ package com...
bsd-3-clause
bredy/gooddata-js
test/xhr_test.js
15135
// Copyright (C) 2007-2013, GoodData(R) Corporation. All rights reserved. define(['gooddata', 'jquery'], function(gd, $) { describe("xhr", function() { before(function() { xhr = gd.xhr; }); /* $.ajax returns jqXhr object with deferred interface this add jqXhr properti...
bsd-3-clause
e-dukan/spree_invoice_print
lib/generators/spree_invoice_print/install/install_generator.rb
1215
module SpreeInvoicePrint module Generators class InstallGenerator < Rails::Generators::Base class_option :auto_run_migrations, :type => :boolean, :default => false def add_javascripts append_file 'app/assets/javascripts/store/all.js', "//= require store/spree_invoice_print\n" append_...
bsd-3-clause
go-hep/hplot
vgshiny/vg.go
2727
// Copyright 2016 The go-hep 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 vgshiny provides a vg.Canvas implementation backed by a shiny/screen.Window package vgshiny // import "github.com/go-hep/hplot/vgshiny" import ...
bsd-3-clause
jbcisne/zf2Agenda
module/Contato/src/Contato/View/Helper/MenuAtivo.php
429
<?php namespace Contato\View\Helper; use Zend\View\Helper\AbstractHelper; use Zend\Http\Request; class MenuAtivo extends AbstractHelper { protected $request; public function __construct(Request $request) { $this->request = $request; } public function __invoke($url_menu = '...
bsd-3-clause
troikaitsulutions/templeadvisor
themes/be/views/becategory/category_update.php
162
<?php $this->pageTitle=t('Update Category Info'); $this->titleImage='images/pencil2.png'; $this->widget('cmswidgets.category.CategoryUpdateWidget',array()); ?>
bsd-3-clause
Icybee/module-sites
lib/Helpers/ResolveSite.php
2946
<?php /* * This file is part of the Icybee package. * * (c) Olivier Laviale <olivier.laviale@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Icybee\Modules\Sites\Helpers; use ICanBoogie\ActiveRecord; use ICa...
bsd-3-clause
g-votte/eclipse-collections
eclipse-collections/src/main/java/org/eclipse/collections/impl/set/immutable/primitive/ImmutableBooleanSetFactoryImpl.java
2476
/* * Copyright (c) 2016 Goldman Sachs. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v. 1.0 which accompany this distribution. * The Eclipse Public License is available at http://www.ecli...
bsd-3-clause
scheib/chromium
content/shell/app/shell_main.cc
1384
// 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 "build/build_config.h" #include "content/public/app/content_main.h" #include "content/shell/app/shell_main_delegate.h" #if defined(OS_WIN) #...
bsd-3-clause
rongeb/anit_cms_for_zf3
vendor/zendframework/zend-inputfilter/src/BaseInputFilter.php
16768
<?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 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 License */ namespace ...
bsd-3-clause
releaznl/releaz-project-manager
frontend/views/request-project/step-2.php
2655
<?php /* @var $this yii\web\View */ use yii\widgets\ActiveForm; use yii\widgets\Breadcrumbs; use yii\helpers\ArrayHelper; use yii\helpers\Html; $this->title = $category->name; ?> <h1><?php echo $category->name ?></h1> <ul class="steps"> <li class="active"><span>Stap 1</span><?= Html::a(Yii::t('request-project'...
bsd-3-clause
ranvirp/discom
tests/codeception/unit/fixtures/data/geography_columns.php
257
<?php return [ 'geography_columns1'=>[ 'f_table_catalog'=> '', 'f_table_schema'=> '', 'f_table_name'=> '', 'f_geography_column'=> '', 'coord_dimension'=> '', 'srid'=> '', 'type'=> '', ], ];
bsd-3-clause
PolymerLabs/arcs-live
concrete-storage/node_modules/@firebase/database/dist/src/api/DataSnapshot.d.ts
3742
/** * @license * Copyright 2017 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 may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
bsd-3-clause
brian978/Acamar-SkeletonApplication
module/Application/src/main/Controller/IndexController.php
3132
<?php /** * Acamar-SkeletonApplication * * @link https://github.com/brian978/Acamar-SkeletonApplication * @copyright Copyright (c) 2014 * @license https://github.com/brian978/Acamar-SkeletonApplication/blob/master/LICENSE New BSD License */ namespace Application\Controller; use Acamar\Mvc\Controller\AbstractCon...
bsd-3-clause
endlessm/chromium-browser
chrome/browser/notifications/popups_only_ui_controller_unittest.cc
4820
// 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. #include "chrome/browser/notifications/popups_only_ui_controller.h" #include <stddef.h> #include "base/macros.h" #include "base/strings/stringprintf.h" ...
bsd-3-clause
cedriclaunay/gaffer
src/GafferImage/ImageMixinBase.cpp
3896
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2013, 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: // // * R...
bsd-3-clause
TonyBrewer/OpenHT
ht_lib/sysc/SyscMonLib.cpp
12157
/* Copyright (c) 2015 Convey Computer Corporation * * This file is part of the OpenHT toolset located at: * * https://github.com/TonyBrewer/OpenHT * * Use and distribution licensed under the BSD 3-clause license. * See the LICENSE file for the complete license text. */ #define HT_LIB_SYSC #include "Ht.h" #inc...
bsd-3-clause
rlgomes/dtf
src/java/com/yahoo/dtf/components/FunctionsLockHook.java
1336
package com.yahoo.dtf.components; import java.util.ArrayList; import com.yahoo.dtf.actions.Action; import com.yahoo.dtf.actions.component.Lockcomponent; import com.yahoo.dtf.actions.function.ExportFuncs; import com.yahoo.dtf.actions.function.Function; import com.yahoo.dtf.exception.DTFException; import com.yahoo.dtf....
bsd-3-clause
cfmobile/arca-android
arca-core/arca-service/src/test/java/io/pivotal/arca/service/OperationServiceTest.java
1733
package io.pivotal.arca.service; import android.content.Intent; import android.os.IBinder; import android.test.ServiceTestCase; public class OperationServiceTest extends ServiceTestCase<OperationService> { public OperationServiceTest() { super(OperationService.class); } public void testOperationServiceActionSt...
bsd-3-clause
Naburimannu/libtcodpy-tutorial
miscellany.py
2299
# Copyright 2016 Thomas C. Hudson # Governed by the license described in LICENSE.txt import libtcodpy as libtcod import log import algebra from components import * import actions import map import spells def dagger(): return Object(algebra.Location(0, 0), '-', 'dagger', libtcod.sky, item=Item(de...
bsd-3-clause
criquelmes/yii-facilito
facilito/protected/gii/crud/templates/simple/create.php
648
<?php /** * The following variables are available in this template: * - $this: the CrudCode object */ ?> <?php echo "<?php\n"; ?> /* @var $this <?php echo $this->getControllerClass(); ?> */ /* @var $model <?php echo $this->getModelClass(); ?> */ <?php $label=$this->pluralize($this->class2name($this->modelClass)); e...
bsd-3-clause
konecnyjakub/mytester
src/ICodeCoverageEngine.php
289
<?php declare(strict_types=1); namespace MyTester; /** * @author Jakub Konečný * @internal */ interface ICodeCoverageEngine { public function getName(): string; public function isAvailable(): bool; public function start(): void; public function collect(): array; }
bsd-3-clause
bokko79/servicemapp
frontend/views/layouts/html/html_service.php
1070
<?php /* @var $this \yii\web\View */ /* @var $content string */ use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use frontend\assets\AppAsset; use common\widgets\Alert; AppAsset::register($this); ?> <?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$a...
bsd-3-clause
hansegg/nemukvideo
config/autoload/global.php
858
<?php /** * Global Configuration Override * * You can use this file for overriding configuration values from modules, etc. * You would place values in here that are agnostic to the environment and not * sensitive to security. * * @NOTE: In practice, this file will typically be INCLUDED in your source * control,...
bsd-3-clause
AgooDev/Agoo
routes/currencies.js
3698
/** * Copyright (c) 2016-present, Agoo.com.co <http://www.agoo.com.co>. * 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 or translated in the assets folder. */ // Load required packages var logger = require('...
bsd-3-clause
gtaylor/btmux_battlesnake
battlesnake/plugins/contrib/arena_master/staging_room/inbound_commands.py
10965
from twisted.internet.defer import inlineCallbacks from battlesnake.core.inbound_command_handling.base import BaseCommand, \ CommandError from battlesnake.core.inbound_command_handling.command_table import \ InboundCommandTable from battlesnake.outbound_commands import think_fn_wrappers from battlesnake.outbou...
bsd-3-clause
fndomariano/budget-zf2
module/Application/tests/src/Application/Controller/ClientControllerTest.php
4007
<?php namespace Application\Controller; use Core\Test\ControllerTestCase; use Application\Controller\IndexController; use Application\Model\Client; use Zend\Http\Request; use Zend\Stdlib\Parameters; use Zend\View\Renderer\PhpRenderer; /** * @group Controller */ class ClientControllerTest extends ControllerTestC...
bsd-3-clause
lifei/flask-admin
flask_admin/tests/geoa/test_basic.py
7096
from __future__ import unicode_literals import json import re from flask_admin.contrib.geoa import ModelView from flask_admin.contrib.geoa.fields import GeoJSONField from geoalchemy2 import Geometry from geoalchemy2.shape import to_shape from nose.tools import eq_, ok_ from . import setup def create_models(db): ...
bsd-3-clause
leesab/irods
iRODS/server/re/src/reNaraMetaData.cpp
2904
/** * @file reNaraMetaData.c * */ #include "reNaraMetaData.hpp" #include "apiHeaderAll.hpp" #include "irods_stacktrace.hpp" /** * \fn msiExtractNaraMetadata (ruleExecInfo_t *rei) * * \brief This microservice extracts NARA style metadata from a local configuration file. * * \module core * * \since pre-2.1 ...
bsd-3-clause
snowman1ng/SoundManager2-Seek-Reverse
demo/bar-ui/script/bar-ui.js
41962
/*jslint plusplus: true, white: true, nomen: true */ /*global console, document, navigator, soundManager, window */ (function(window) { /** * SoundManager 2: "Bar UI" player * Copyright (c) 2014, Scott Schiller. All rights reserved. * http://www.schillmania.com/projects/soundmanager2/ * Code p...
bsd-3-clause
ericingram/spectrum
tests/core/specItemIt/errorHandling/catchPhpErrors/enabled/breakOnFirstPhpError/Test.php
3800
<?php /* * (c) Mikhail Kharitonov <mail@mkharitonov.net> * * For the full copyright and license information, see the * LICENSE.txt file that was distributed with this source code. */ namespace spectrum\core\specItemIt\errorHandling\catchPhpErrors\enabled\breakOnFirstPhpError; use spectrum\core\plugins\Manager; us...
bsd-3-clause
cedtanghe/elixir-di
src/ProviderAbstract.php
653
<?php namespace Elixir\DI; /** * @author Cédric Tanghe <ced.tanghe@gmail.com> */ abstract class ProviderAbstract implements ProviderInterface { /** * @var bool */ protected $deferred = false; /** * @var array */ protected $provides = []; /** * {@inheritdoc} */ ...
bsd-3-clause
rogst/datadogpy
datadog/api/__init__.py
817
# flake8: noqa # API settings _api_key = None _application_key = None _api_version = 'v1' _api_host = None _host_name = None _cacert = True # HTTP(S) settings _proxies = None _timeout = 3 _max_timeouts = 3 _max_retries = 3 _backoff_period = 300 _swallow = True # Resources from datadog.api.comments import Comment fro...
bsd-3-clause
darilek/AjaxControlToolkit
AjaxControlToolkit/DropDown/DropDownExtender.cs
6930
#pragma warning disable 1591 using AjaxControlToolkit.Design; using System; using System.ComponentModel; using System.Drawing; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; namespace AjaxControlToolkit { /// <summary> /// DropDown is an ASP.NET AJAX extender that can ...
bsd-3-clause
Christian-G/terena-core
application/modules/core/models/resources/Submission/Set.php
1732
<?php /** * CORE Conference Manager * * 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://www.terena.org/license/new-bsd * If you did not receive a copy of the licen...
bsd-3-clause
teasim/teasim-helpers
source/getWidth.js
443
/* ========================================= * Copyright (c) 2015-present, Billgo. * Copyright (c) 2015-present, Facebook, Inc. * * All rights reserved. *======================================== */ import isWindow from "./isWindow.js"; import getOffset from "./getOffset.js"; export default function getWidth(node, cli...
bsd-3-clause
ltcmelo/psychec
C/parser/DiagnosticsReporter_Lexer.cpp
1954
// Copyright (c) 2020/21 Leandro T. C. Melo <ltcmelo@gmail.com> // // 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, c...
bsd-3-clause
3den/atomizer
tests/lib/utils.js
4907
/*globals describe,it,afterEach */ 'use strict'; var expect = require('chai').expect; var utils = require('../../src/lib/utils'); describe('utils', function () { describe('hexToRgb()', function () { it('should return null given an invalid hex', function () { var result = utils.hexToRgb('ghk');...
bsd-3-clause
olivebranches/newstand
config/console.php
740
<?php Yii::setAlias('@tests', dirname(__DIR__) . '/tests'); $params = require(__DIR__ . '/params.php'); $db = require(__DIR__ . '/db.php'); return [ 'id' => 'basic-console', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log', 'gii'], 'controllerNamespace' => 'app\commands', 'modules' => [ ...
bsd-3-clause
hscstudio/osyawwal2
backend/modules/pusdiklat/execution/views/meeting-activity2/view.php
9434
<?php use yii\helpers\Html; use yii\widgets\DetailView; use yii\helpers\Inflector; use kartik\grid\GridView; use backend\models\Reference; use backend\models\Activity; use backend\models\Person; $controller = $this->context; $menus = $controller->module->getMenuItems(); $this->params['sideMenu'][$controller->module-...
bsd-3-clause
frankee/muduo
muduo/net/protorpc/RpcCodec.cc
5046
// Copyright 2010, Shuo Chen. All rights reserved. // http://code.google.com/p/muduo/ // // Use of this source code is governed by a BSD-style license // that can be found in the License file. // Author: Shuo Chen (chenshuo at chenshuo dot com) #include <muduo/net/protorpc/RpcCodec.h> #include <muduo/base/Logging.h...
bsd-3-clause
hung101/kbs
frontend/controllers/BspElaunLatihanPraktikalMonthController.php
3840
<?php namespace frontend\controllers; use Yii; use app\models\BspElaunLatihanPraktikalMonth; use frontend\models\BspElaunLatihanPraktikalMonthSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * BspElaunLatihanPraktikalMonthController implements the CRUD actions for B...
bsd-3-clause
ziutek/emgo
egpath/src/nrf5/examples/core51822/ble-connect/nordicuart.go
5735
package main import ( "bluetooth/att" "bluetooth/gatt" "bluetooth/uuid" "fmt" ) //emgo:const var ( srvNordicUART = uuid.UUID{0x6E400001B5A3F393, 0xE0A9E50E24DCCA9E} chrNordicUARTTx = uuid.UUID{0x6E400002B5A3F393, 0xE0A9E50E24DCCA9E} chrNordicUARTRx = uuid.UUID{0x6E400003B5A3F393, 0xE0A9E50E24DCCA9E} ) type...
bsd-3-clause
x-clone/brackit.brackitdb
brackitdb-driver/src/main/java/org/brackit/driver/BrackitConnection.java
5175
/* * [New BSD License] * Copyright (c) 2011-2012, Brackit Project Team <info@brackit.org> * 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 reta...
bsd-3-clause
erezlife/django-scheduler
schedule/utils.py
4739
from functools import wraps import pytz import heapq from annoying.functions import get_object_or_None from django.core.exceptions import PermissionDenied from django.utils import timezone from schedule.conf.settings import CHECK_EVENT_PERM_FUNC, CHECK_CALENDAR_PERM_FUNC class EventListManager(object): """ Th...
bsd-3-clause
groupon/monsoon
impl/src/main/java/com/groupon/lex/metrics/timeseries/ChainingTSCPair.java
15610
package com.groupon.lex.metrics.timeseries; import com.groupon.lex.metrics.GroupName; import com.groupon.lex.metrics.SimpleGroupPath; import com.groupon.lex.metrics.history.CollectHistory; import com.groupon.lex.metrics.lib.ForwardIterator; import com.groupon.lex.metrics.lib.LazyMap; import gnu.trove.TLongCollection; ...
bsd-3-clause
xingcuntian/advanced_study
console/migrations/m150713_083040_init.php
1301
<?php use yii\db\Schema; use yii\db\Migration; class m150713_083040_init extends Migration { const TBL_NAME = '{{%user}}'; public function safeUp() { $tableOptions = null; if ($this->db->driverName === 'mysql') { $tableOptions = 'CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE=I...
bsd-3-clause
HwisooSo/gemV-update
src/base/vulnerability/vul_rename.hh
3452
/* * Copyright (c) 20014-15 Arizona State University * 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 ...
bsd-3-clause
coolms/common
src/Service/Exception/InvalidArgumentException.php
642
<?php /** * CoolMS2 Common Module (http://www.coolms.com/) * * @link http://github.com/coolms/common for the canonical source repository * @copyright Copyright (c) 2006-2015 Altgraphic, ALC (http://www.altgraphic.com) * @license http://www.coolms.com/license/new-bsd New BSD License * @author Dmitry Popo...
bsd-3-clause
chromium/vs-chromium
src/DkmIntegration/IdeComponent/Utility.cs
946
// 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. using Microsoft.VisualStudio.Debugger.Evaluation; namespace VsChromium.DkmIntegration.IdeComponent { public static class Utility { pub...
bsd-3-clause
frankiez/qing-mps
src/application/views/errors/404.php
228
<?php defined('SYSPATH') or die('No direct script access.'); ?> <!DOCTYPE html> <html> <head> <meta charset=UTF-8> <title>Page not found</title> </head> <body> <p>404 Page not found</p> <p><?=$message ?></p> </body> </html>
bsd-3-clause
metal/metal-dom
src/DomDelegatedEventHandle.js
1314
'use strict'; import { array, core } from 'metal'; import domData from './domData'; import { EventHandle } from 'metal-events'; /** * This is a special EventHandle, that is responsible for dom delegated events * (only the ones that receive a target element, not a selector string). * @extends {EventHandle} */ clas...
bsd-3-clause
maferelo/saleor
saleor/graphql/order/resolvers.py
2401
import graphene import graphene_django_optimizer as gql_optimizer from ...core.permissions import OrderPermissions from ...order import OrderStatus, models from ...order.events import OrderEvents from ...order.models import OrderEvent from ...order.utils import sum_order_totals from ..utils import filter_by_period, fi...
bsd-3-clause
TOGoS/TMCRS
src/togos/minecraft/regionshifter/RegionFile.java
14804
/* * Further modifications by TOGoS for use in TMCRS: * - Removed use of templates, auto[un]boxing, and foreach loops * to make source compatible with Java 1.4 * - Added ability to write chunks in both formats (gzip and deflate) * - Implement AutoCloseable */ /* ** 2011 January 5 ** ** The ...
bsd-3-clause