repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
baslr/ArangoDB
3rdParty/boost/1.62.0/libs/asio/test/time_traits.cpp
604
// // time_traits.cpp // ~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // Disable autolinking for unit tests...
apache-2.0
juhalindfors/bazel-patches
third_party/protobuf/3.2.0/src/google/protobuf/compiler/java/java_message_lite.cc
39981
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
apache-2.0
coding0011/elasticsearch
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/AnalysisConfig.java
26826
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.core.ml.job.config; import org.elasticsearch....
apache-2.0
williamchengit/TestRepo
solr-4.9.0/lucene/spatial/src/java/org/apache/lucene/spatial/prefix/ContainsPrefixTreeFilter.java
10109
package org.apache.lucene.spatial.prefix; /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache Licens...
apache-2.0
matsprea/omim
qt/build_style/build_common.cpp
3116
#include "build_common.h" #include "platform/platform.hpp" #include <QtCore/QCoreApplication> #include <QtCore/QDir> #include <QtCore/QFile> #include <QtCore/QProcess> #include <QtCore/QRegExp> #include <exception> std::pair<int, QString> ExecProcess(QString const & cmd, QProcessEnvironment const * env) { QProces...
apache-2.0
nfirex/android-test-demo
app/src/main/java/com/sqisland/android/test_demo/ClockModule.java
234
package com.sqisland.android.test_demo; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; @Module public class ClockModule { @Provides @Singleton Clock provideClock() { return new Clock(); } }
apache-2.0
rajatchopra/origin
cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog/vendor/github.com/pmorie/go-open-service-broker-client/v2/client.go
7910
package v2 import ( "bytes" "crypto/tls" "crypto/x509" "encoding/base64" "encoding/json" "errors" "fmt" "io" "io/ioutil" "net/http" "strings" "time" "github.com/golang/glog" ) const ( // APIVersionHeader is the header value associated with the version of the Open // Service Broker API version. APIVer...
apache-2.0
pkcool/querydsl
querydsl-core/src/test/java/com/querydsl/core/types/dsl/SetPathTest.java
1509
/* * Copyright 2015, The Querydsl Team (http://www.querydsl.com/team) * * 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 ...
apache-2.0
brightchen/h2o-3
h2o-core/src/main/java/water/persist/PersistManager.java
12922
package water.persist; import water.H2O; import water.Key; import water.Value; import water.exceptions.H2OIllegalArgumentException; import water.fvec.UploadFileVec; import water.util.Log; import water.persist.Persist.PersistEntry; import java.io.*; import java.net.HttpURLConnection; import java.net.URI; import java.n...
apache-2.0
akrisiun/npoi
testcases/ooxml/XSSF/UserModel/TestXSSFConditionalFormatting.cs
1469
using NUnit.Framework; /* * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership...
apache-2.0
robin13/elasticsearch
server/src/main/java/org/elasticsearch/search/aggregations/bucket/range/ParsedRange.java
7853
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
apache-2.0
kronicd/homebrew-cask
Casks/bibdesk.rb
911
cask "bibdesk" do version "1.8.3,5619" sha256 "1c9c88c25311476d8d5df78fbc9ad432de12303e3df14ef0cc29ad780a2422fb" url "https://downloads.sourceforge.net/bibdesk/BibDesk/BibDesk-#{version.before_comma}/BibDesk-#{version.before_comma}.dmg", verified: "downloads.sourceforge.net/bibdesk/" name "BibDesk" des...
bsd-2-clause
tschuls/ETH-SegReg-DLL
source/External/c-ugmix/newmat7.cpp
31314
/// \ingroup newmat ///@{ /// \file newmat7.cpp /// Invert, solve, binary operations. // Copyright (C) 1991,2,3,4: R B Davies #include "include.h" #include "newmat.h" #include "newmatrc.h" #ifdef use_namespace namespace NEWMAT { #endif #ifdef DO_REPORT #define REPORT { static ExeCounter ExeCount(__LINE__,7); ++E...
bsd-2-clause
joone/chromium-crosswalk
chrome/browser/ui/views/status_icons/status_tray_win_unittest.cc
4365
// 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/ui/views/status_icons/status_tray_win.h" #include <commctrl.h> #include <stddef.h> #include "base/macros.h" #include "chrom...
bsd-3-clause
highweb-project/highweb-webcl-html5spec
third_party/WebKit/Source/platform/MIMETypeRegistry.cpp
5531
/* * Copyright (c) 2008, 2009, 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 c...
bsd-3-clause
denghuafeng/jforum2
src/main/java/net/jforum/search/LuceneSearch.java
11869
/* * Copyright (c) JForum Team * All rights reserved. * * Redistribution and use in source and binary forms, * with or without modification, are permitted provided * that the following conditions are met: * * 1) Redistributions of source code must retain the above * copyright notice, this list of conditio...
bsd-3-clause
meghana0507/grpc-java-poll
lib/netty/testsuite/src/main/java/io/netty/testsuite/transport/socket/SocketSslEchoTest.java
20209
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you 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 ...
bsd-3-clause
chromium/chromium
chrome/credential_provider/gaiacp/token_generator.cc
793
// 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. #include "chrome/credential_provider/gaiacp/token_generator.h" #include "base/unguessable_token.h" namespace credential_provider { std::string TokenGen...
bsd-3-clause
Ely-S/figaro
Figaro/src/main/scala/com/cra/figaro/patterns/learning/ModelParameters.scala
7004
/* * ModelParameters.scala * Collections for defining prior and posterior parameters. * * Created By: Michael Howard (mhoward@cra.com) * Creation Date: Oct 29, 2014 * * Copyright 2014 Avrom J. Pfeffer and Charles River Analytics, Inc. * See http://www.cra.com or email figaro@cra.com for information. *...
bsd-3-clause
nwjs/chromium.src
content/renderer/pepper/pepper_platform_video_capture.cc
5611
// 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 "content/renderer/pepper/pepper_platform_video_capture.h" #include "base/bind.h" #include "base/check.h" #include "base/memory/ref_counted.h...
bsd-3-clause
was4444/chromium.src
android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientOnScaleChangedTest.java
2315
// Copyright 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. package org.chromium.android_webview.test; import android.test.suitebuilder.annotation.SmallTest; import org.chromium.android_webview.AwContents; import...
bsd-3-clause
Djabbz/scikit-learn
sklearn/feature_selection/from_model.py
9515
# Authors: Gilles Louppe, Mathieu Blondel, Maheshakya Wijewardena # License: BSD 3 clause import numpy as np from .base import SelectorMixin from ..base import TransformerMixin, BaseEstimator, clone from ..externals import six from ..utils import safe_mask, check_array, deprecated from ..utils.validation import chec...
bsd-3-clause
hpdmitriy/Bjj4All
react-native-packager-cache-7f94e28f/0c/64e897SnapshotViewIOS.android.js
62
'use strict'; module.exports = require('UnimplementedView');
mit
ycsoft/FatCat-Server
LIBS/boost_1_58_0/libs/wave/test/testwave/testfiles/t_1_008.cpp
5337
/*============================================================================= Boost.Wave: A Standard compliant C++ preprocessor library http://www.boost.org/ Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0...
mit
LavaLabUSC/usclavalab.org
lavalab/html/node_modules/eslint-plugin-flowtype/dist/rules/noWeakTypes.js
1488
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _lodash = require('lodash'); var _lodash2 = _interopRequireDefault(_lodash); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var reportWeakType = function reportWeakType(context, weakT...
mit
ahmedvc/umple
Umplificator/UmplifiedProjects/weka-umplified-0/src/test/java/weka/datagenerators/classifiers/classification/RDG1Test.java
1567
/* * This program 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. * * This program is distributed in the hope that it w...
mit
bigcommerce-labs/rubocop
spec/rubocop/cop/style/class_methods_spec.rb
2055
# encoding: utf-8 require 'spec_helper' describe RuboCop::Cop::Style::ClassMethods do subject(:cop) { described_class.new } it 'registers an offense for methods using a class name' do inspect_source(cop, ['class Test', ' def Test.some_method', ' ...
mit
yksalun/hugula
Client/Assets/Slua/LuaObject/Unity/Lua_UnityEngine_DepthTextureMode.cs
361
using UnityEngine; using System; using LuaInterface; using SLua; using System.Collections.Generic; public class Lua_UnityEngine_DepthTextureMode : LuaObject { static public void reg(IntPtr l) { getEnumTable(l,"UnityEngine.DepthTextureMode"); addMember(l,0,"None"); addMember(l,1,"Depth"); addMember(l,2,"DepthN...
mit
jamez14/pluralxamarin
ProteinTrackerMVC/ProteinTrackerMVC/Scripts/jquery-ui-1.10.4.js
451723
/*! jQuery UI - v1.10.4 - 2014-01-17 * http://jqueryui.com * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.draggable.js, jquery.ui.droppable.js...
mit
Tiotao/morpherpy
env/Lib/site-packages/sqlalchemy/dialects/firebird/base.py
27506
# firebird/base.py # Copyright (C) 2005-2013 the SQLAlchemy authors and contributors <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """ .. dialect:: firebird :name: Firebird Firebird Dialects ----------------- ...
mit
yolanother/DockPanelSuite
WinFormsUI/Docking/DockContentHandler.cs
30144
using System; using System.Windows.Forms; using System.Drawing; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; namespace WeifenLuo.WinFormsUI.Docking { public delegate string GetPersistStringCallback(); public class DockContentHandler : IDisposable, IDockDragSource { public DockC...
mit
supporteam/vtiger-mass-file-import
classes/Zend/Gdata/App/Extension/Name.php
1257
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license a...
mit
idleog/DataTables
media/unit_testing/tests/ids.js
1853
// DATA_TEMPLATE: empty_table oTest.fnStart( "Row ids" ); $(document).ready( function () { var table = $('#example').DataTable( { "ajax": "../../../examples/ajax/data/objects.txt", "deferRender": true, "rowId": 'name', "columns": [ { "data": "name" }, { "data": "position" }, { "data": "office" }, ...
mit
deek87/concrete5
concrete/src/File/Component/Chooser/Option/FileUploadOption.php
465
<?php namespace Concrete\Core\File\Component\Chooser\Option; use Concrete\Core\File\Component\Chooser\OptionSerializableTrait; use Concrete\Core\File\Component\Chooser\UploaderOptionInterface; class FileUploadOption implements UploaderOptionInterface { use OptionSerializableTrait; public function getCompone...
mit
w01fgang/material-ui
src/TimePicker/TimePicker.js
5728
import React, {Component, PropTypes} from 'react'; import TimePickerDialog from './TimePickerDialog'; import TextField from '../TextField'; import {formatTime} from './timeUtils'; const emptyTime = new Date(); emptyTime.setHours(0); emptyTime.setMinutes(0); emptyTime.setSeconds(0); emptyTime.setMilliseconds(0); class...
mit
Paulloz/godot
modules/opensimplex/register_types.cpp
2460
/*************************************************************************/ /* register_types.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
mit
symfony/symfony
src/Symfony/Component/Form/Extension/Core/Type/FormType.php
9553
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Form\Extension\Core\Type; use Symfony\Component\Form\...
mit
Robert-Xie/baoshu
test/unit/karma.conf.js
1615
'use strict' const path = require('path') const merge = require('webpack-merge') const webpack = require('webpack') const baseConfig = require('../../webpack.renderer.config') const projectRoot = path.resolve(__dirname, '../../app') let webpackConfig = merge(baseConfig, { devtool: '#inline-source-map', plugins: ...
mit
youngerheart/react-datagrid
test/columns/ColumnMenuTest.js
1552
'use strict'; //ensure DOM environment require('../testdom')() var should = require('should') var React = require('react/addons') var TestUtils = React.addons.TestUtils var DataGrid = require('../DataGrid') var TABLE_CLASS = 'z-table' var ROW_CLASS = 'z-row' var CELL_CLASS = 'z-cell'...
mit
martinduparc/DefinitelyTyped
ngprogress-lite/ngprogress-lite-tests.ts
989
///<reference types="angular" /> var app = angular.module('testApp', ['ngProgressLite']); app.config( ['ngProgressLiteProvider', (ngProgressLiteProvider: ng.progressLite.INgProgressLiteProvider) => { ngProgressLiteProvider.settings.ease = 'ease'; ngProgressLiteProvider.settings.m...
mit
disordinary/Ghost
core/test/unit/server_helpers/is_spec.js
2124
var should = require('should'), sinon = require('sinon'), hbs = require('express-hbs'), utils = require('./utils'), handlebars = hbs.handlebars, helpers = require('../../../server/helpers'), logging = require('../../../server/logging'); des...
mit
oreillymedia/thebe
static/auth/js/loginmain.js
450
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. define(['base/js/namespace', 'base/js/page'], function(IPython, page) { function login_main() { var page_instance = new page.Page(); $('button#login_submit').addClass("btn btn-default"); page_in...
mit
symfony/symfony
src/Symfony/Component/Validator/Tests/Constraints/IdenticalToTest.php
1741
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Validator\Tests\Constraints; use PHPUnit\Framework\Te...
mit
pruebasetichat/google-plugin-for-eclipse
plugins/com.google.gdt.eclipse.mobile.android/templates/android/Ids.java
173
package @PackageName@; /** * Constants to be filled in. */ public class Ids { public static final String AUDIENCE = ""; public static final String PROJECT_ID = ""; }
epl-1.0
yuyuyu101/VirtualBox-NetBSD
src/VBox/Runtime/generic/RTTimerCreate-generic.cpp
1928
/* $Id: RTTimerCreate-generic.cpp $ */ /** @file * IPRT - Timers, Generic RTTimerCreate() Implementation. */ /* * Copyright (C) 2006-2010 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistr...
gpl-2.0
EBC88/TrinityCoreArenas
src/server/game/Groups/Group.cpp
82482
/* * Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * * This program 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 ver...
gpl-2.0
ChemTics/openbabel
src/formats/yasaraformat.cpp
18602
/********************************************************** * * * Y A S A R A * * * * Yet Another Scientific Artificial Reality Application * * ...
gpl-2.0
Gurgel100/gcc
gcc/testsuite/g++.old-deja/g++.bugs/900215_02.C
1460
// { dg-do assemble } // g++ 1.36.1 bug 900215_02 // g++ allows global objects (which happen to be pointers to members of some // class X) to be dereferenced without prefix object specifications within // member functions of class X. // In effect, g++ treats any dereference of a pointer-to-member which appears // w...
gpl-2.0
librelab/qtmoko-test
qtopiacore/qt/src/3rdparty/webkit/WebCore/inspector/front-end/Object.js
3236
/* * Copyright (C) 2008 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...
gpl-2.0
notspiff/xbmc
xbmc/cores/paplayer/CodecFactory.cpp
3787
/* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.org * * This Program 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 2, or (at your option) * any later version. * * ...
gpl-2.0
cloud101/ChatExchange
test/mock_responses.py
6250
# encoding: utf-8 import httmock def only_httmock(*mocks): """ Wraps a typical HTTPMock context manager to raise an error if no mocks match. """ mocks = mocks + (fail_everything_else,) return httmock.HTTMock(*mocks) TEST_FKEY = 'dc63b60f5ada11372b8ff63821d9bf24' @httmock.urlmatch(path=r'^/chat...
gpl-2.0
NeverWithout/Fragrance-Bar
wp-admin/options.php
10235
<?php /** * Options Management Administration Screen. * * If accessed directly in a browser this page shows a list of all saved options * along with editable fields for their values. Serialized data is not supported * and there is no way to remove options via this page. It is not linked to from * anywhere else in...
gpl-2.0
achellies/src
graphics/skia/src/core/SkPath.cpp
46347
/* libs/graphics/sgl/SkPath.cpp ** ** Copyright 2006, The Android Open Source Project ** ** 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 ...
gpl-2.0
tartina/ardour
libs/surfaces/tranzport/mode_tuner.cc
858
/* * Copyright (C) 2006 Paul Davis * Copyright (C) 2007 Michael Taht * * This program 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 2 of the License, or * (at your option) a...
gpl-2.0
heqiaoliu/Viral-Dark-Matter
tmp/install_4f20918762d32/installation/helpers/html/installation.php
1649
<?php /** * @version $Id: installation.php 21960 2011-08-12 21:58:56Z dextercowley $ * @package Joomla.Installation * @copyright Copyright (C) 2005 - 2011 Open Source Matters. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ class JHtmlInstallation { public sta...
gpl-2.0
eltondias/SiteMica
wp-content/tubepress-content/themes/index.php
144
<?php //This file is here to stop cluttering search engine results for your site with TubePress's internals. Move along, nothing to see here!
gpl-2.0
cohrs/rad-pig
wp-content/plugins/jetpack/modules/custom-css/csstidy/class.csstidy.php
35888
<?php /** * CSSTidy - CSS Parser and Optimiser * * CSS Parser class * * Copyright 2005, 2006, 2007 Florian Schmitz * * This file is part of CSSTidy. * * CSSTidy is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the F...
gpl-2.0
dbethala/longwood-volunteers
core/lib/Drupal/Core/Extension/ThemeHandler.php
5624
<?php namespace Drupal\Core\Extension; use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\Extension\Exception\UninstalledExtensionException; use Drupal\Core\Extension\Exception\UnknownExtensionException; /** * Default theme handler using the config system to store installation statuses. */ class ThemeH...
gpl-2.0
imobachgs/yast-installation
src/clients/inst_update_installer.rb
732
# encoding: utf-8 # ------------------------------------------------------------------------------ # Copyright (c) 2016 SUSE LLC # # This program is free software; you can redistribute it and/or modify it under # the terms of version 2 of the GNU General Public License as published by the # Free Software Foundation. #...
gpl-2.0
dmlloyd/openjdk-modules
hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.debug/src/org/graalvm/compiler/debug/internal/KeyRegistry.java
2180
/* * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
gpl-2.0
michaelsiu/makewebnotwar
wp-content/plugins/welcome-pack/templates/simplicity.php
2859
<?php /* Email Template: Simplicity */ ?> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style type="text/css"> a:link, a, a:visited{color:#666666;} a:hover { text-decoration: none !important; color:#666666;} h2, h3, h4, h5, h6{padding: 0px 0px 10px 0px;margin:0px;} h1 a, h...
gpl-2.0
shalinga/sandra-seaton
wp-content/themes/genesis/lib/init.php
9097
<?php /* WARNING: This file is part of the core Genesis framework. DO NOT edit this file under any circumstances. Please do all modifications in the form of a child theme. */ /** * Initializes the framework by doing some basic things like defining constants * and loading framework components from the /l...
gpl-2.0
Jannes123/inasafe
realtime/test/test_utilities.py
4772
# coding=utf-8 """ InaSAFE Disaster risk assessment tool developed by AusAid and World Bank - **Functionality related to shake data files.** Contact : ole.moller.nielsen@gmail.com .. note:: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License a...
gpl-3.0
COMBINE-lab/Jellyfish
unit_tests/test_int128.cc
995
#include <gtest/gtest.h> #include <config.h> #ifdef HAVE_INT128 #include <limits> #include <jellyfish/int128.hpp> namespace { TEST(Int128, Specialized) { // This is supposed to be true, whether it is specialized by gcc or // in int128.hpp above. EXPECT_TRUE(std::numeric_limits<__int128>::is_specialized); EXPE...
gpl-3.0
ebukoz/thrive
erpnext/setup/setup_wizard/operations/default_website.py
2593
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe from frappe import _ from frappe.utils import nowdate class website_maker(object): def __init__(self, args): self.args = args self....
gpl-3.0
npestana/fxa-content-server
app/scripts/lib/null-storage.js
887
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // This is a memory store that's api compatible with localStorage/sessionStorage. // It's used for testing lib/sto...
mpl-2.0
UniversityOfHawaii/kfs
kfs-purap/src/main/java/org/kuali/kfs/module/purap/pdf/PurchaseOrderParameters.java
2677
/* * The Kuali Financial System, a comprehensive financial management system for higher education. * * Copyright 2005-2014 The Kuali Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Fre...
agpl-3.0
ftrotter/google_health_fail
lib/Doctrine/Record/Abstract.php
10592
<?php /* * $Id$ * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CO...
agpl-3.0
tallysmartins/noosfero
test/functional/users_controller_test.rb
4241
require_relative "../test_helper" require 'users_controller' class UsersControllerTest < ActionController::TestCase def setup @controller = UsersController.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new @environment = Environment.default ad...
agpl-3.0
uira/mapasculturais
src/protected/application/lib/MapasCulturais/Entities/SpaceFile.php
702
<?php namespace MapasCulturais\Entities; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity * @ORM\entity(repositoryClass="MapasCulturais\Repository") */ class SpaceFile extends File{ /** * @var \MapasCulturais\Entities\Space * * @ORM\ManyToOne(targetEntity="MapasCulturais\Entities\Space") ...
agpl-3.0
jessp01/server
plugins/bulk_upload/base/lib/api/KalturaBulkServiceData.php
352
<?php /** * This class represents object-specific data passed to the * bulk upload job. * @abstract * @package plugins.bulkUpload * @subpackage api.objects * */ abstract class KalturaBulkServiceData extends KalturaObject { abstract public function getType (); abstract public function toBulkUploadJobData(Kaltu...
agpl-3.0
jasonspriggs/snipe-it
resources/lang/ta/admin/users/table.php
1455
<?php return array( 'activated' => 'Active', 'allow' => 'Allow', 'checkedout' => 'Assets', 'created_at' => 'Created', 'createuser' => 'Create User', 'deny' => 'Deny', 'email' => 'Email', 'employee_num' => 'Employee No.', 'first_name' => 'Firs...
agpl-3.0
lue/dealii
tests/trilinos/trilinos_sparse_matrix_iterator_03.cc
2781
// --------------------------------------------------------------------- // // Copyright (C) 2004 - 2015 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Pu...
lgpl-2.1
android-ia/platform_external_deqp
framework/platform/android/tcuAndroidExecService.hpp
3324
#ifndef _TCUANDROIDEXECSERVICE_HPP #define _TCUANDROIDEXECSERVICE_HPP /*------------------------------------------------------------------------- * drawElements Quality Program Tester Core * ---------------------------------------- * * Copyright 2014 The Android Open Source Project * * Licensed under the Apache L...
apache-2.0
stinkydan/lemur
lemur/tests/conftest.py
2158
import os import pytest from lemur import create_app from lemur.database import db as _db from lemur.users import service as user_service from lemur.roles import service as role_service def pytest_addoption(parser): parser.addoption("--lemurconfig", help="override the default test config") parser.addoption("...
apache-2.0
shybovycha/buck
src/com/facebook/buck/util/immutables/BuckStyleStep.java
1537
/* * Copyright 2017-present Facebook, 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 applicable law or...
apache-2.0
mglukhikh/intellij-community
java/java-psi-impl/src/com/intellij/psi/scope/processor/FilterScopeProcessor.java
2539
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.psi.scope.processor; import com.intellij.openapi.util.Key; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiSubstitutor; import com.intellij.ps...
apache-2.0
tensorflow/tensorflow
tensorflow/core/kernels/cwise_op_tan.cc
1275
/* Copyright 2015 The TensorFlow 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 applicable law or a...
apache-2.0
sjug/origin
vendor/github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2017-06-01/storage/usage.go
3941
package storage // Copyright (c) Microsoft and contributors. 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 // // Unl...
apache-2.0
vineetgarg02/hive
serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/SettableHiveIntervalDayTimeObjectInspector.java
1363
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
sameerak/carbon-registry
components/registry/org.wso2.carbon.registry.event.ws/src/test/java/org/wso2/carbon/registry/event/ws/internal/builders/RenewCommandBuilderTest.java
12741
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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....
apache-2.0
systembugtj/activiti-in-action-codes
bpmn20-example/src/test/java/me/kafeitu/activiti/chapter11/ThrowErrorManualTest.java
1119
package me.kafeitu.activiti.chapter11; import org.activiti.engine.impl.test.PluggableActivitiTestCase; import org.activiti.engine.runtime.ProcessInstance; import org.activiti.engine.task.Task; import org.activiti.engine.test.Deployment; import java.util.HashMap; import java.util.Map; /** * 手动抛出异常 * * @author henr...
apache-2.0
amit-jain/jackrabbit-oak
oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/util/fv/LSHAnalyzerTest.java
4537
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
vivsriaus/azure-xplat-cli
test/commands/arm/network/arm.network.traffic-manager-endpoint-tests.js
6380
/** * Copyright (c) Microsoft. 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 applicable l...
apache-2.0
daiqiquan/framework-base
core/java/org/apache/http/params/HttpParams.java
6359
/* * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/params/HttpParams.java $ * $Revision: 610763 $ * $Date: 2008-01-10 04:01:13 -0800 (Thu, 10 Jan 2008) $ * * ==================================================================== * Licensed to the A...
apache-2.0
winningsix/hive
ql/src/java/org/apache/hadoop/hive/ql/exec/persistence/AbstractMapJoinTableContainer.java
1914
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
apache-2.0
jcamachor/hive
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/mapjoin/VectorMapJoinLeftSemiGenerateResultOperator.java
8088
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
vineetgarg02/hive
kafka-handler/src/java/org/apache/hadoop/hive/kafka/KafkaScanTrimmer.java
19443
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
bigfatbrowncat/avian-pack.android.external.okhttp
okio/src/test/java/okio/InflaterSourceTest.java
4903
/* * Copyright (C) 2014 Square, 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 applicable law or agre...
apache-2.0
ivogabe/TypeScript
tests/cases/fourslash_old/promiseTyping1.ts
1052
/// <reference path="fourslash.ts" /> //// interface IPromise<T> { //// then<U>(success: (value: T) => IPromise<U>, error?: (error: any) => IPromise<U>, progress?: (progress: any) => void ): IPromise<U>; //// then<U>(success: (value: T) => IPromise<U>, error?: (error: any) => U, progress?: (progress: any) ...
apache-2.0
nemanja88/azure-powershell
src/ResourceManager/RecoveryServices.Backup/Commands.RecoveryServices.Backup/Cmdlets/ProtectionPolicy/RemoveAzureRmRecoveryServicesBackupProtectionPolicy.cs
3821
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
apache-2.0
efundamentals/openwayback
wayback-core/src/test/java/org/archive/wayback/archivalurl/ArchivalUrlTest.java
4432
/* * This file is part of the Wayback archival access software * (http://archive-access.sourceforge.net/projects/wayback/). * * Licensed to the Internet Archive (IA) by one or more individual * contributors. * * The IA licenses this file to You under the Apache License, Version 2.0 * (the "License"); y...
apache-2.0
BeyondTheClouds/nova
nova/tests/functional/api_sample_tests/test_server_password.py
2461
# Copyright 2015 NEC Corporation. # # 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 applicable law or a...
apache-2.0
mlc0202/spring-boot
spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessorTests.java
16443
/* * Copyright 2012-2015 the original author or authors. * * 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...
apache-2.0
Agirish/drill
contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/mapr/db/json/RestrictedJsonTableGroupScan.java
8750
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
google/llvm-propeller
libcxx/test/libcxx/containers/sequences/vector/pop_back_empty.pass.cpp
706
//===----------------------------------------------------------------------===// // // 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 // //===---------------------------...
apache-2.0
DCSaunders/tensorflow
tensorflow/contrib/opt/python/training/external_optimizer_test.py
5500
# Copyright 2016 The TensorFlow 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 applica...
apache-2.0
google/llvm-propeller
lldb/test/API/commands/expression/inline-namespace/TestInlineNamespace.py
794
""" Test that we correctly handle inline namespaces. """ import lldb from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TestInlineNamespace(TestBase): mydir = TestBase.compute_mydir(__file__) def test(self): self.build() ...
apache-2.0
balloob/home-assistant
homeassistant/components/doorbird/util.py
610
"""DoorBird integration utils.""" from .const import DOMAIN, DOOR_STATION def get_mac_address_from_doorstation_info(doorstation_info): """Get the mac address depending on the device type.""" if "PRIMARY_MAC_ADDR" in doorstation_info: return doorstation_info["PRIMARY_MAC_ADDR"] return doorstation_...
apache-2.0
noname007/GearVRf
GVRf/Sample/nonglthreadupdate/src/org/gearvrf/nonglthreadupdate/SampleActivity.java
2309
/* Copyright 2015 Samsung Electronics Co., LTD * * 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 applicable law...
apache-2.0