repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
mindmill/open-cmis-explorer
resources/mindmill/ui/debug/TechnicalInfo-dbg.js
13288
/*! * SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5) * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides a popup with technical informations about the running SAPUI5 core sap.ui.define('sap/ui/debug/TechnicalInfo', ...
bsd-2-clause
JayBenzzz/homebrew
Library/Homebrew/os/mac.rb
10540
require 'hardware' require 'os/mac/version' require 'os/mac/xcode' require 'os/mac/xquartz' module OS module Mac extend self ::MacOS = self # compatibility # This can be compared to numerics, strings, or symbols # using the standard Ruby Comparable methods. def version @version ||= Versio...
bsd-2-clause
rogeriopradoj/frapi-without-vhost
library/Frapi/Action.php
11288
<?php /** * Action class * * 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://getfrapi.com/license/new-bsd * If you did not receive a copy of the license and are u...
bsd-2-clause
useabode/redash
node_modules/mapbox-gl/js/render/draw_collision_debug.js
1169
'use strict'; module.exports = drawCollisionDebug; function drawCollisionDebug(painter, source, layer, coords) { var gl = painter.gl; gl.enable(gl.STENCIL_TEST); var program = painter.useProgram('collisionbox'); for (var i = 0; i < coords.length; i++) { var coord = coords[i]; var tile...
bsd-2-clause
passerbyid/homebrew-core
Formula/s6.rb
2886
class S6 < Formula desc "Small & secure supervision software suite." homepage "https://skarnet.org/software/s6/" stable do url "https://skarnet.org/software/s6/s6-2.6.0.0.tar.gz" sha256 "146dd54086063c6ffb6f554c3e92b8b12a24165fdfab24839de811f79dcf9a40" resource "skalibs" do url "https://skarne...
bsd-2-clause
Mickasso90/homebrew-cask
Casks/bittorrent-sync.rb
219
class BittorrentSync < Cask url 'http://download-lb.utorrent.com/endpoint/btsync/os/osx/track/stable' homepage 'http://www.bittorrent.com/sync' version 'latest' sha256 :no_check link 'BitTorrent Sync.app' end
bsd-2-clause
privacylab/talek
pir/pircuda/context_cuda.go
2222
//+build +cuda,!travis package pircuda import ( "sync" "github.com/barnex/cuda5/cu" "github.com/privacylab/talek/common" ) const ( // CudaDeviceID is the hardcoded GPU device we'll use CudaDeviceID = 0 ) // ContextCUDA represents a single CUDA context // Currently, we only support 1 live ShardCUDA per Context...
bsd-2-clause
unofficial-opensource-apple/WebCore
editing/EditingStyle.cpp
68947
/* * Copyright (C) 2007, 2008, 2009, 2013 Apple Inc. * Copyright (C) 2010, 2011 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: * 1. Redistributions of source code must retain t...
bsd-2-clause
bric3/homebrew-cask
Casks/cardhop.rb
1010
cask "cardhop" do version "1.3.8,236" sha256 "edbc00e147cd2fd9262e6615ed0d18a16d63ebd22e0e6f333a4606a6dfbbaf13" url "https://cdn.flexibits.com/Cardhop_#{version.before_comma}.zip" name "Cardhop" desc "Contacts manager" homepage "https://flexibits.com/cardhop" livecheck do url "https://flexibits.com/...
bsd-2-clause
jvehent/homebrew-core
Formula/curl.rb
4495
class Curl < Formula desc "Get a file from an HTTP, HTTPS or FTP server" homepage "https://curl.haxx.se/" url "https://curl.haxx.se/download/curl-7.50.3.tar.bz2" sha256 "7b7347d976661d02c84a1f4d6daf40dee377efdc45b9e2c77dedb8acf140d8ec" bottle do cellar :any sha256 "638108732f8c4dacea7953c81b070d8ab8b...
bsd-2-clause
benchalmers/win-installer
src/InstallAgent/State/Installer.cs
6300
using HelperFunctions; using Microsoft.Win32; using System; namespace State { public static class Installer { private static int currentState; private static readonly string stateRegKey = InstallAgent.InstallAgent.rootRegKeyName + @"\InstallerState"; private static readon...
bsd-2-clause
fsjohnhuang/lpp
src/beta 0.3/lpp/lpp.Location.js
517
(function() { lpp.Location = { getAP: function(relativePath) { return lpp("<div><a href=\"" + relativePath + "\"></a></div>").child('a').dom[0].href; }, getCurDirAP: function() { return getAP('./'); }, getQueryParam: function(key) { var r, reg; reg = RegExp("(^|&)" + key +...
bsd-2-clause
AeroGlass/g3m
Commons/G3MSharedSDK/src/org/glob3/mobile/generated/GInitializationTask.java
268
package org.glob3.mobile.generated; // // GInitializationTask.hpp // G3MiOSSDK // // Created by Diego Gomez Deck on 12/11/12. // // public abstract class GInitializationTask extends GTask { public abstract boolean isDone(G3MContext context); }
bsd-2-clause
zoraseb/perun
perun-core/src/main/java/cz/metacentrum/perun/core/implApi/AttributesManagerImplApi.java
114513
/** * */ package cz.metacentrum.perun.core.implApi; import cz.metacentrum.perun.core.api.ActionType; import cz.metacentrum.perun.core.api.Attribute; import cz.metacentrum.perun.core.api.AttributeDefinition; import cz.metacentrum.perun.core.api.AttributeRights; import cz.metacentrum.perun.core.api.Facility; import cz...
bsd-2-clause
wjchen84/lfd
examples/rope_register_transfer.py
3616
#!/usr/bin/env python from __future__ import division import numpy as np from lfd.environment.simulation import DynamicSimulationRobotWorld from lfd.environment.simulation_object import XmlSimulationObject, BoxSimulationObject from lfd.environment import environment from lfd.environment import sim_util from lfd.demo...
bsd-2-clause
MircoT/homebrew-cask
Casks/deepstream.rb
605
cask 'deepstream' do version '3.1.3' sha256 'c690d1374028bb7fbb3d000bac64176e0cc93a50b15909d186e77ab0a154f055' # github.com/deepstreamIO/deepstream.io was verified as official when first introduced to the cask url "https://github.com/deepstreamIO/deepstream.io/releases/download/v#{version}/deepstream.io-mac-#{...
bsd-2-clause
gdi2290/sample-Angular2
tns_modules/angular2/test/render/dom/compiler/compiler_common_tests.js
8158
var __extends = this.__extends || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototype; d.prototype = new __(); }; var __decorate = this.__decorate || function (decorators, target, key, value) { var kind = typeof ...
bsd-2-clause
zmwangx/homebrew-core
Formula/singular.rb
1434
class Singular < Formula desc "Computer algebra system for polynomial computations" homepage "https://www.singular.uni-kl.de/" url "https://service.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/4-1-2/singular-4.1.2p1.tar.gz" version "4.1.2p1" sha256 "b520809ce061059081a973d4a3b102b05863d49c20565d03f638ba...
bsd-2-clause
BlazeLoader/BlazeLoader
src/main/com/blazeloader/api/item/ItemRegistry.java
658
package com.blazeloader.api.item; import net.minecraft.item.Item; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class ItemRegistry { private static final ItemRegistry instance = new ItemRegistry(); private static Map<Item, ArrayList<String>> variantName...
bsd-2-clause
bdotdub/goexif
exif/regress_expected_test.go
134049
package exif var regressExpected = map[string]map[FieldName]string{ "2006-08-03-16-29-38-sep-2006-08-03-16-29-38a.jpg": map[FieldName]string{ DateTime: `{Id: 132, Val: "2006:08:03 16:29:38"}`, XResolution: `{Id: 11A, Val: ["180/1"]}`, ExifVersion: `{Id: 9000, Val: "0220"}`, ...
bsd-2-clause
kencoken/imsearch-tools
imsearchtools/utils/result_page_gen.py
5520
#!/usr/bin/env python """Retrieve ranking lists from Google Image search Uses either the Google AJAX API: http://code.google.com/apis/imagesearch/v1/ or direct page scraping to retrieve a ranked list of images returned from Google Image search for a given text query. Date created: 15 Oct 2012 """ import os.path RE...
bsd-2-clause
babelsberg/babelsberg-r
topaz/utils/ll_dir.py
1991
from rpython.rlib import rposix from rpython.rtyper.lltypesystem import rffi, lltype from rpython.rtyper.tool import rffi_platform as platform from rpython.translator.tool.cbuild import ExternalCompilationInfo from topaz.system import IS_WINDOWS if IS_WINDOWS: def opendir(_): raise NotImplementedError("d...
bsd-3-clause
duythien/phanbook
core/assets/js/tags-suggest.js
2848
var list_tag = [] //Suggestion tags when create or edit post Array.prototype.remove = function() { var what, a = arguments, L = a.length, ax; while (L && this.length) { what = a[--L]; while ((ax = this.indexOf(what)) !== -1) { this.splice(ax, 1); } } return this; }; ...
bsd-3-clause
pgaultier/sweelix-yii1-admin-structure
views/node/step2.php
1817
<?php /** * File step2.php * * PHP version 5.4+ * * @author Philippe Gaultier <pgaultier@sweelix.net> * @copyright 2010-2014 Sweelix * @license http://www.sweelix.net/license license * @version 3.1.0 * @link http://www.sweelix.net * @category views * @package sweelix.yii1.admin.structure.views...
bsd-3-clause
qiuyesuifeng/golex
Godeps/_workspace/src/github.com/cznic/lexer/all_test.go
9179
// Copyright (c) 2014 The lexer 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 lexer import ( "bufio" "bytes" "flag" "go/token" "io/ioutil" "os" "path/filepath" "runtime" "testing" ) var ( devFlag = flag.Bool("de...
bsd-3-clause
dbikel/refr
html/search/all_78.js
550
var searchData= [ ['xstr',['XSTR',['../compile-features_8_c.html#afc0fe0597af089c04afb9bc5a6475705',1,'XSTR():&#160;compile-features.C'],['../extract-features_8_c.html#afc0fe0597af089c04afb9bc5a6475705',1,'XSTR():&#160;extract-features.C'],['../piped-model-evaluator_8_c.html#afc0fe0597af089c04afb9bc5a6475705',1,'XSTR...
bsd-3-clause
mgrauer/qibench
library/Zend/Pdf/Resource/Image/Png.php
18526
<?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
google/skia
src/gpu/ops/SoftwarePathRenderer.cpp
18482
/* * Copyright 2012 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/ops/SoftwarePathRenderer.h" #include "include/gpu/GrDirectContext.h" #include "include/private/SkSemaphore.h" #include "src/core/SkTaskGroup.h" #include "sr...
bsd-3-clause
goldblade/ieducar2
public/componentes/jquery-ui-1.10.4.custom/development-bundle/ui/minified/i18n/jquery.ui.datepicker-zh-HK.min.js
916
/*! jQuery UI - v1.10.4 - 2015-11-22 * http://jqueryui.com * Copyright jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(e){e.datepicker.regional["zh-HK"]={closeText:"關閉",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月"...
bsd-3-clause
adalke/rdkit
Code/GraphMol/Wrap/props.hpp
4129
// Copyright (c) 2015, Novartis Institutes for BioMedical Research 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 co...
bsd-3-clause
8v060htwyc/whois
whois-api/src/main/java/net/ripe/db/whois/api/rest/StreamingMarshal.java
497
package net.ripe.db.whois.api.rest; public interface StreamingMarshal { void open(); void start(String name); void end(String name); <T> void write(String name, T t); <T> void writeArray(T t); <T> void startArray(String name); <T> void endArray(); void close(); // TODO: [AH] h...
bsd-3-clause
fcitx/mozc
src/rewriter/language_aware_rewriter_test.cc
14707
// Copyright 2010-2021, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of condit...
bsd-3-clause
kwinkunks/pylasdev
setup.py
661
from setuptools import * setup( name = "pyLASDev", version = "0.8.1", #scripts = ['geo.py'], include_package_data = True, #package_dir = {'': 'package'}, packages = ['pylasdev'], package_data = {'pylasdev': ['*.py']}, # metadata for upload to PyPI author = "Artur Muh...
bsd-3-clause
rongeb/anit_cms_for_zf3
vendor/zendframework/zend-tag/src/Exception/OutOfBoundsException.php
412
<?php /** * @see https://github.com/zendframework/zend-tag for the canonical source repository * @copyright Copyright (c) 2005-2018 Zend Technologies USA Inc. (https://www.zend.com) * @license https://github.com/zendframework/zend-tag/blob/master/LICENSE.md New BSD License */ namespace Zend\Tag\Exception; ...
bsd-3-clause
bqbn/addons-server
src/olympia/landfill/tests/test_users.py
1040
# -*- coding: utf-8 -*- from olympia import amo from olympia.addons.models import Addon, AddonCategory, AddonUser from olympia.amo.tests import TestCase from olympia.constants.categories import CATEGORIES from olympia.landfill.user import generate_addon_user_and_category, generate_user from olympia.users.models import ...
bsd-3-clause
actor-framework/actor-framework
libcaf_core/src/serializer.cpp
1047
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #include "caf/serializer.hpp" #include "caf/actor_system.hpp" namespace caf { serialize...
bsd-3-clause
boberfly/gaffer
src/GafferUI/DotNodeGadget.cpp
7786
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2014, 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
metal/metal-components
build/amd-jquery/metal-incremental-dom/src/incremental-dom.js
38217
define([], function () { 'use strict'; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;...
bsd-3-clause
celiafish/VisTrails
vistrails/gui/modules/list_configuration.py
5171
from PyQt4 import QtCore, QtGui from vistrails.core.system import get_vistrails_basic_pkg_id from vistrails.gui.modules.module_configure import StandardModuleConfigurationWidget class ListConfigurationWidget(StandardModuleConfigurationWidget): """ Configuration widget allowing to choose the number of ports. ...
bsd-3-clause
svagionitis/MIST
test/margin_array_test.cpp
2731
// // Copyright (c) 2003-2010, MIST Project, Nagoya 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: // // 1. Redistributions of source code must retain the above copyright notice...
bsd-3-clause
ChromeDevTools/devtools-frontend
node_modules/stylelint/lib/lintSource.js
3366
'use strict'; const isPathNotFoundError = require('./utils/isPathNotFoundError'); const lintPostcssResult = require('./lintPostcssResult'); const path = require('path'); /** @typedef {import('stylelint').InternalApi} StylelintInternalApi */ /** @typedef {import('stylelint').GetLintSourceOptions} Options */ /** @typed...
bsd-3-clause
tenstartups/wal-e
tests/gs_integration_help.py
3966
from gcloud import exceptions from gcloud import storage import base64 import hmac import json import os import pytest MANGLE_SUFFIX = None def bucket_name_mangle(bn, delimiter='-'): global MANGLE_SUFFIX if MANGLE_SUFFIX is None: MANGLE_SUFFIX = compute_mangle_suffix() return bn + delimiter + MA...
bsd-3-clause
vicky2135/lucious
oscar/lib/python2.7/site-packages/pytest_django/django_compat.py
417
# Note that all functions here assume django is available. So ensure # this is the case before you call them. def is_django_unittest(request_or_item): """Returns True if the request_or_item is a Django test case, otherwise False""" from django.test import SimpleTestCase cls = getattr(request_or_item, 'c...
bsd-3-clause
PolymerLabs/arcs-live
concrete-storage/node_modules/@firebase/messaging/dist/src/interfaces/vapid-details.d.ts
707
/** * @license * Copyright 2018 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
7kbird/chrome
content/browser/fileapi/timed_task_helper_unittest.cc
2152
// 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 "base/basictypes.h" #include "base/bind.h" #include "base/location.h" #include "base/memory/scoped_ptr.h" #include "base/message_loop/message_loo...
bsd-3-clause
ulope/django-watchman
watchman/settings.py
1022
from django.conf import settings # TODO: these should not be module level (https://github.com/mwarkentin/django-watchman/issues/13) WATCHMAN_ENABLE_PAID_CHECKS = getattr(settings, 'WATCHMAN_ENABLE_PAID_CHECKS', False) WATCHMAN_AUTH_DECORATOR = getattr(settings, 'WATCHMAN_AUTH_DECORATOR', 'watchman.decorators.token_req...
bsd-3-clause
skaag/chaiscript
debian/chaiscript/usr/include/chaiscript/dispatchkit/dispatchkit.hpp
35154
// This file is distributed under the BSD License. // See "license.txt" for details. // Copyright 2009-2012, Jonathan Turner (jonathan@emptycrate.com) // and Jason Turner (jason@emptycrate.com) // http://www.chaiscript.com #ifndef CHAISCRIPT_DISPATCHKIT_HPP_ #define CHAISCRIPT_DISPATCHKIT_HPP_ #include <typeinfo> #in...
bsd-3-clause
mylifeafterthat/sgf-project
backend/modules/ecommerce/models/ProductSearch.php
2156
<?php namespace backend\modules\ecommerce\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use backend\modules\ecommerce\models\Product; /** * ProductSearch represents the model behind the search form about `backend\modules\ecommerce\models\Product`. */ class ProductSearch extends Product { ...
bsd-3-clause
bejayoharen/java-bells
lib-src/libjitsi/src/org/jitsi/impl/neomedia/codec/audio/alaw/JavaEncoder.java
9868
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jitsi.impl.neomedia.codec.audio.alaw; import javax.media.*; import javax.media.format.*; /** * The ALAW Encoder. Used the FMJ ALawEncoderUtil. * * @author ...
bsd-3-clause
Zaszczyk/cphalcon
tests/_data/events/ComponentX.php
1128
<?php use Phalcon\Events\Manager; /** * ComponentX * * @copyright (c) 2011-2017 Phalcon Team * @link https://www.phalconphp.com * @author Andres Gutierrez <andres@phalconphp.com> * @author Serghei Iakovlev <serghei@phalconphp.com> * * The contents of this file are subject to the New BSD License tha...
bsd-3-clause
adem-team/advanced
lukisongroup/efenbi/rasasayang/views/item/_form.php
2796
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use kartik\widgets\FileInput; use kartik\label\LabelInPlace; use kartik\widgets\Select2; use yii\helpers\Url; use kartik\widgets\DepDrop; use yii\helpers\ArrayHelper; use yii\web\Response; use kartik\widgets\DatePicker; use kartik\widgets\TouchSpin; $aryStt= [ ...
bsd-3-clause
dushmis/Oracle-Cloud
PaaS-SaaS_HealthCareApp/DoctorPatientCRMExtension/HealthCare/HealthCareWSProxyClient/src/com/oracle/ptsdemo/healthcare/wsclient/osc/salesparty/generated/XSDType.java
1932
package com.oracle.ptsdemo.healthcare.wsclient.osc.salesparty.generated; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlType; import...
bsd-3-clause
carthagecollege/django-djsani
djsani/bin/sports.py
2569
# -*- coding: utf-8 -*- import csv import os import sys # env os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'djsani.settings.shell') # required if using django models import django django.setup() from django.conf import settings from djimix.core.utils import get_connection from djimix.core.utils import xsql from d...
bsd-3-clause
ros-gbp/pcl-fuerte-release_defunct
sample_consensus/include/pcl/sample_consensus/impl/sac_model_registration.hpp
11674
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
bsd-3-clause
endlessm/chromium-browser
tools/gn/src/gn/function_forward_variables_from.cc
9648
// 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 "gn/err.h" #include "gn/functions.h" #include "gn/parse_tree.h" #include "gn/scope.h" namespace functions { namespace { void ForwardAllValues(...
bsd-3-clause
mudunuriRaju/tlr-live
tollbackend/web/js/angular-1.5.5/i18n/angular-locale_bem.js
4089
'use strict'; angular.module("ngLocale", [], ["$provide", function ($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; ...
bsd-3-clause
ajrulez/ig-json-parser
processor/src/test/java/com/instagram/common/json/annotation/processor/InterModuleTest.java
3225
// Copyright 2004-present Facebook. All Rights Reserved. package com.instagram.common.json.annotation.processor; import java.io.IOException; import com.instagram.common.json.annotation.processor.dependent.SubclassUUT; import com.instagram.common.json.annotation.processor.dependent.SubclassUUT__JsonHelper; import com...
bsd-3-clause
cathalmccabe/PYNQ
pynq/lib/pynqmicroblaze/magic.py
3738
# Copyright (c) 2018, Xilinx, 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 con...
bsd-3-clause
justinccdev/opensim
OpenSim/Services/Interfaces/IUserProfilesService.cs
3307
/* * 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
patrickm/chromium.src
chrome/browser/extensions/api/identity/identity_apitest.cc
51333
// 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 "base/command_line.h" #include "base/strings/string_util.h" #include "base/strings/stringprintf.h" #include "base/values.h" #include "chrome/...
bsd-3-clause
kurtrwall/wagtail
wagtail/wagtailimages/tests/test_models.py
17102
from __future__ import absolute_import, unicode_literals import unittest from django.contrib.auth import get_user_model from django.contrib.auth.models import Group, Permission from django.core.files.uploadedfile import SimpleUploadedFile from django.core.urlresolvers import reverse from django.db.utils import Integr...
bsd-3-clause
scheib/chromium
chrome/browser/share/android/javatests/src/org/chromium/chrome/browser/share/long_screenshots/LongScreenshotsMediatorTest.java
3293
// 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. package org.chromium.chrome.browser.share.long_screenshots; import android.app.Activity; import android.graphics.Bitmap; import android.os.Looper; import...
bsd-3-clause
patrickm/chromium.src
content/renderer/media/crypto/pepper_cdm_wrapper_impl.cc
2718
// 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. #if defined(ENABLE_PEPPER_CDMS) #include "content/renderer/media/crypto/pepper_cdm_wrapper_impl.h" #include "content/renderer/pepper/pepper_plugin_instan...
bsd-3-clause
Grrompf/Nakade
module/User/src/User/Entity/UserModel.php
9494
<?php namespace User\Entity; use Doctrine\ORM\Mapping as ORM; use Permission\Entity\RoleInterface; //todo: anpassung datenbank unique /** * @ORM\MappedSuperclass */ class UserModel implements RoleInterface { /** * Primary Identifier * * @ORM\Id * @ORM\Column(name="uid", type="integer") ...
bsd-3-clause
neurokernel/sensory_int
examples/data/gen_vis_input.py
1225
#!/usr/bin/env python """ Generate sample vision model stimulus. """ import numpy as np import h5py n_col = 32 n_row = 24 dt = 1e-4 a = np.zeros(14000, np.float64) a[2000:8000] = 0.016 a[8500:13500] = 0.016 S = np.zeros((n_row, n_col, 14000), np.float64) x = np.arange(n_col)*1.5 y = np.arange(n_row)*np.sqrt(3) di...
bsd-3-clause
nwjs/chromium.src
content/browser/devtools/site_per_process_devtools_browsertest.cc
11063
// Copyright (c) 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 "base/run_loop.h" #include "build/build_config.h" #include "content/browser/devtools/render_frame_devtools_agent_host.h" #include "content/br...
bsd-3-clause
Safihre/cherrypy
cherrypy/test/helper.py
16369
"""A library of helper functions for the CherryPy test suite.""" import datetime import io import logging import os import re import subprocess import sys import time import unittest import warnings import contextlib import portend import pytest from cheroot.test import webtest import cherrypy from cherrypy._cpcomp...
bsd-3-clause
zserg84/tender
modules/themes/messages/ru/themes-admin.php
1775
<?php /** * Message translations. * * This file is automatically generated by 'yii message' command. * It contains the localizable messages extracted from source code. * You may modify this file by translating the extracted messages. * * Each array element represents the translation (value) of a message (key). ...
bsd-3-clause
evert/sabre-dav
tests/Sabre/HTTP/ResponseMock.php
436
<?php namespace Sabre\HTTP; /** * HTTP Response Mock object * * This class exists to make the transition to sabre/http easier. * * @copyright Copyright (C) 2007-2014 fruux GmbH. All rights reserved. * @author Evert Pot (http://evertpot.com/) * @license http://sabre.io/license/ Modified BSD License */ class Re...
bsd-3-clause
wakatime/wakatime
wakatime/packages/py27/pygments/styles/stata_light.py
1274
# -*- coding: utf-8 -*- """ pygments.styles.stata_light ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Light Style inspired by Stata's do-file editor. Note this is not meant to be a complete style, just for Stata's file formats. :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS. :license: BSD, se...
bsd-3-clause
endlessm/chromium-browser
chrome/service/cloud_print/print_system.cc
1085
// Copyright (c) 2010 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/service/cloud_print/print_system.h" #include "base/guid.h" #include "build/build_config.h" namespace cloud_print { PrintJobDetails...
bsd-3-clause
forcedotcom/rmux
log/log_prod.go
1625
// +build !dev /* * Copyright (c) 2015, 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, th...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE36_Absolute_Path_Traversal/s01/CWE36_Absolute_Path_Traversal__char_console_w32CreateFile_68a.cpp
3611
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE36_Absolute_Path_Traversal__char_console_w32CreateFile_68a.cpp Label Definition File: CWE36_Absolute_Path_Traversal.label.xml Template File: sources-sink-68a.tmpl.cpp */ /* * @description * CWE: 36 Absolute Path Traversal * BadSource: console Read input from t...
bsd-3-clause
rlutes/volttron-applications
kisensum/Simulation/SimulationDriverAgent/simulation_driver/driver_locks.py
4007
# -*- coding: utf-8 -*- {{{ # vim: set fenc=utf-8 ft=python sw=4 ts=4 sts=4 et: # Copyright (c) 2017, SLAC National Laboratory / Kisensum 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: # ...
bsd-3-clause
ngs-doo/dsl-client-java
core/src/test/java-generated/com/dslplatform/client/json/DecimalWithScaleOf9/NullableListOfNullableDecimalsWithScaleOf9DefaultValueTurtle.java
5080
package com.dslplatform.client.json.DecimalWithScaleOf9; import com.dslplatform.client.JsonSerialization; import com.dslplatform.patterns.Bytes; import java.io.IOException; public class NullableListOfNullableDecimalsWithScaleOf9DefaultValueTurtle { private static JsonSerialization jsonSerialization; @org.junit.Bef...
bsd-3-clause
wdv4758h/ZipPy
edu.uci.python.benchmark/src/benchmarks/regexdna.py
1100
# The Computer Language Benchmarks Game # http://shootout.alioth.debian.org/ # contributed by Dominique Wahli # modified by Justin Peel from sys import stdin from re import sub, finditer def main(): seq = stdin.read() ilen = len(seq) seq = sub('>.*\n|\n', '', seq) clen = len(seq) variants ...
bsd-3-clause
meego-tablet-ux/meego-app-browser
chrome/test/test_browser_window.cc
1914
// 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 "chrome/test/test_browser_window.h" #include "ui/gfx/rect.h" TestBrowserWindow::TestBrowserWindow(Browser* browser) {} TestBrowserWindow::...
bsd-3-clause
yungyuc/solvcon
libmarch/include/march/core/string.hpp
1983
#pragma once /* * Copyright (c) 2018, Yung-Yu Chen <yyc@solvcon.net> * BSD 3-Clause License, see COPYING */ /** * \file * String helpers. */ #include <cstdio> #include <sstream> #include <iostream> #include <iomanip> #include <string> #include <cxxabi.h> namespace march { namespace string { // FIXME: va_li...
bsd-3-clause
mstaessen/DDay.iCal
DDay.iCal/Evaluation/TimeZoneEvaluator.cs
6286
using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; namespace DDay.iCal { public class TimeZoneEvaluator : Evaluator { #region Private Fields private SortedList<Occurrence , Occurrence> m_Occurrences; #endregion ...
bsd-3-clause
elorian/cabinet.inreserve.kz
views/merchant/view.php
1281
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\models\Merchant */ $this->title = $model->title; $this->params['breadcrumbs'][] = ['label' => 'Merchants', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="merchant-view"> <...
bsd-3-clause
museami/ffi
test/test_apply.lua
1336
require 'torch' require 'torchffi' local mytest = {} local tester = torch.Tester() local function eq(tensor1, tensor2, message) tester:assertTensorEq(tensor1, tensor2, 1e-300, message) end function mytest.test_apply() local input = torch.Tensor({1, 2, 3, 4}) input:apply(function(x) return 2 * x en...
bsd-3-clause
lsimkins/laravel-zend-bundle
library/Zend/Pdf/Destination/Zoom.php
5689
<?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
mvaled/sentry
tests/sentry/mediators/service_hooks/test_creator.py
1989
from __future__ import absolute_import from sentry.mediators.service_hooks import Creator from sentry.mediators.service_hooks.creator import expand_events, consolidate_events from sentry.models import ServiceHook, ServiceHookProject from sentry.testutils import TestCase class TestCreator(TestCase): def setUp(sel...
bsd-3-clause
tracingplane/tracingplane-java
bdl/compiler/src/main/scala/brown/tracingplane/bdl/compiler/JavaCompiler.scala
29421
package brown.tracingplane.bdl.compiler import scala.collection.mutable.Set import scala.collection.mutable.LinkedHashSet import scala.collection.mutable.LinkedHashMap import brown.tracingplane.bdl.compiler.Ast._ import brown.tracingplane.bdl.compiler.Ast.BuiltInType._ /** Compiles BaggageBuffers declarations to Java...
bsd-3-clause
HalCanary/skia-hc
tests/PDFTaggedTest.cpp
4814
/* * Copyright 2018 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "tests/Test.h" #include "include/core/SkCanvas.h" #include "include/core/SkFont.h" #include "include/core/SkStream.h" #include "include/docs/SkPDFDocument.h" using P...
bsd-3-clause
jakubroztocil/httpie
tests/test_tokens.py
3538
""" The ideas behind these test and the named templates is to ensure consistent output across all supported different scenarios: TODO: cover more scenarios * terminal vs. redirect stdout * different combinations of `--print=HBhb` (request/response headers/body) * multipart requests * streamed uploads """ from .ut...
bsd-3-clause
birm/Elemental
src/lapack_like/condense/Bidiag/L.hpp
5265
/* Copyright (c) 2009-2015, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ #pragma once #ifndef EL_BIDIAG_L_HPP #define EL_BIDIAG_...
bsd-3-clause
redmed/echarts-www
docv/data/options/tooltip-type1.js
2490
var option = { title: { text: '阶梯瀑布图', subtext: 'From ExcelHome', sublink: 'http://e.weibo.com/1341556070/Aj1J2x5a5' }, tooltip : { trigger: 'axis', axisPointer : { // 坐标轴指示器,坐标轴触发有效 type : 'shadow' , // 默认为直线,可选为:'line' | 'shadow' ...
bsd-3-clause
brotherjack/Rood-Kamer
roodkamer/static/libs/ajax/ckeditor/plugins/eqneditor/dialogs/eqneditor.js
3257
/* Equation Editor Plugin for CKEditor v4 Version 1.4 This plugin allows equations to be created and edited from within CKEditor. For more information goto: http://www.codecogs.com/latex/integration/ckeditor_v4/install.php Copyright CodeCogs 2006-2013 Written by Will Bateman. Special Thanks to: ...
bsd-3-clause
TomoakiNagahara/ethna
test/ActionForm_Validator_Custom_Test.php
9042
<?php // vim: foldmethod=marker /** * ActionForm_Validator_Custom_Test.php * * @author Yoshinari Takaoka <takaoka@beatcraft.com> * @version $Id$ */ // {{{ Ethna_ActionForm_Validator_Custom_Test /** * Test Case For Ethna_ActionForm(Custom Validator) * * @access public */ class Ethna_ActionForm_V...
bsd-3-clause
LeonidLyalin/vova
common/humhub/protected/humhub/modules/installer/messages/pt/forms_DatabaseForm.php
161
<?php return array ( 'Hostname' => 'Nome do hospedeiro', 'Name of Database' => '', 'Password' => 'Palavra-passe', 'Username' => 'Nome de utilizador', );
bsd-3-clause
UgurAldanmaz/NLog
tests/NLog.UnitTests/Contexts/MappedDiagnosticsLogicalContextTests.cs
15901
// // Copyright (c) 2004-2020 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen // // 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 s...
bsd-3-clause
pbrunet/pythran
third_party/nt2/trigonometric/functions/scalar/impl/trigo/fallback.hpp
1245
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
bsd-3-clause
statsmodels/statsmodels
statsmodels/datasets/anes96/data.py
3687
"""American National Election Survey 1996""" from numpy import log from statsmodels.datasets import utils as du __docformat__ = 'restructuredtext' COPYRIGHT = """This is public domain.""" TITLE = __doc__ SOURCE = """ http://www.electionstudies.org/ The American National Election Studies. """ DESCRSHORT = """This d...
bsd-3-clause
leiferikb/bitpop-private
chrome/browser/chromeos/options/wifi_config_view.cc
45928
// 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/chromeos/options/wifi_config_view.h" #include "base/string_util.h" #include "base/stringprintf.h" #include "base/utf_string_...
bsd-3-clause
5442Coach/Fred
src/org/usfirst/frc5442/Fred/subsystems/Pneumatics.java
1123
// RobotBuilder Version: 1.5 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks...
bsd-3-clause
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE590_Free_Memory_Not_on_Heap/s01/CWE590_Free_Memory_Not_on_Heap__delete_array_int_alloca_52a.cpp
2747
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE590_Free_Memory_Not_on_Heap__delete_array_int_alloca_52a.cpp Label Definition File: CWE590_Free_Memory_Not_on_Heap__delete_array.label.xml Template File: sources-sink-52a.tmpl.cpp */ /* * @description * CWE: 590 Free Memory Not on Heap * BadSource: alloca Data...
bsd-3-clause
mikaelwasp/toir-server
backend/views/operation-tool/update.php
1046
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model common\models\OperationTool */ $this->title = Yii::t('app', 'Update {modelClass}: ', [ 'modelClass' => 'Инструменты для операций', ]) . $model->_id; $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Инструменты для операций'), 'ur...
bsd-3-clause
lak/puppetshow
vendor/plugins/active_scaffold/lib/extensions/action_controller_rendering.rb
2043
# wrap the action rendering for ActiveScaffold controllers module ActionController #:nodoc: class Base def render_with_active_scaffold(*args, &block) if self.class.uses_active_scaffold? and params[:adapter] and @rendering_adapter.nil? @rendering_adapter = true # recursion control # if we nee...
bsd-3-clause
brahmajiayatas/getweiss
admin/protected/models/Configuration.php
3231
<?php /** * This is the model class for table "tbl_configuration". * * The followings are the available columns in table 'tbl_configuration': * @property integer $Objid * @property string $Facebook * @property string $Twitter * @property string $GooglePlus * @property string $LinkedIn * @property string $Pint...
bsd-3-clause