repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
dgoodwin/origin | vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager.go | 5313 | /*
Copyright 2015 The Kubernetes 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 applicable law or agreed to in writing, ... | apache-2.0 |
adeelmahmood/ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheLifecycleAwareSelfTest.java | 10413 | /*
* 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 |
tejima/OP3PKG | lib/vendor/PEAR/Net/UserAgent/Mobile/Error.php | 2855 | <?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
/**
* PHP versions 4 and 5
*
* Copyright (c) 2009 KUBO Atsuhiro <kubo@iteman.jp>,
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
... | apache-2.0 |
zdary/intellij-community | python/testData/formatter/multilineIfConditionComplex_after.py | 151 | a = b = c = 0
if (a and b and c or
a and b or
a or
a and b or
a and b and c or
a and b or
a):
pass
| apache-2.0 |
aki77/homebrew-cask | Casks/dbeaver-enterprise.rb | 549 | cask :v1 => 'dbeaver-enterprise' do
version '3.4.2'
if Hardware::CPU.is_32_bit?
sha256 '2f5db0d7341ae96ccda9d0307c3609fe294effcbd4ac97202f13237c3715a8e4'
url "http://dbeaver.jkiss.org/files/dbeaver-#{version}-ee-macosx.cocoa.x86.zip"
else
sha256 '3bf71701d6a75d15044df61d3274fe0603334559031ec2614b7492... | bsd-2-clause |
MIPS/external-chromium_org | chrome/browser/themes/theme_syncable_service.cc | 13037 | // 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/themes/theme_syncable_service.h"
#include "base/strings/stringprintf.h"
#include "chrome/browser/extensions/extension_servic... | bsd-3-clause |
briancoutinho0905/2dsampling | src/arch/power/linux/linux.hh | 8519 | /*
* Copyright (c) 2003-2005 The Regents of The University of Michigan
* Copyright (c) 2009 The University of Edinburgh
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met: redistributions of ... | bsd-3-clause |
CEBD/SuperiorStormShelters | src/packages/Orchard.Module.Contrib.Taxonomies.1.4/Content/Modules/Contrib.Taxonomies/Models/TaxonomyMenuPartRecord.cs | 630 | using Orchard.ContentManagement.Records;
namespace Contrib.Taxonomies.Models {
/// <summary>
/// Contains the properties for the Taxonomy Menu Widget
/// </summary>
public class TaxonomyMenuPartRecord : ContentPartRecord {
public virtual TaxonomyPartRecord TaxonomyPartRecord { get; set; }
... | bsd-3-clause |
Priya91/corefx-1 | src/System.ComponentModel.Annotations/tests/ValidatorTests.cs | 39357 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace System.ComponentModel.DataAnnotations
{... | mit |
thejonanshow/my-boxen | vendor/bundle/ruby/2.3.0/gems/puppet-3.8.7/lib/puppet/indirector/none.rb | 197 | require 'puppet/indirector/terminus'
# A none terminus type, meant to always return nil
class Puppet::Indirector::None < Puppet::Indirector::Terminus
def find(request)
return nil
end
end
| mit |
lucketta/got-quote-generator | node_modules/react-bootstrap/es/NavItem.js | 2607 | import _extends from 'babel-runtime/helpers/extends';
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from ... | mit |
dapperAuteur/railscasts-episodes | episode-313/incoming-after/db/migrate/20111230231220_create_tickets.rb | 194 | class CreateTickets < ActiveRecord::Migration
def change
create_table :tickets do |t|
t.string :subject
t.string :from
t.text :body
t.timestamps
end
end
end
| mit |
leontius/maven-framework-project | springmvc-beginners-guide/Appendix/code/webstore/src/main/java/com/packt/webstore/service/CartService.java | 273 | package com.packt.webstore.service;
import com.packt.webstore.domain.Cart;
public interface CartService {
Cart create(Cart cart);
Cart read(String cartId);
void update(String cartId, Cart cart);
void delete(String cartId);
Cart validate(String cartId);
}
| mit |
WitsSoftDev/Phonegap-Boilerplate | BoilerPlates/phonegap-2.9.1/lib/android/framework/src/org/apache/cordova/HttpHandler.java | 2771 | /*
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... | mit |
martinep/foam-extend-3.0 | applications/utilities/postProcessing/graphics/newEnsightFoamReader/USERD_stop_part_building.H | 149 | // Not in use
void USERD_stop_part_building(void)
{
#ifdef ENSIGHTDEBUG
Info << "Entering: USERD_stop_part_building" << endl << flush;
#endif
}
| gpl-2.0 |
gjerdery/providence | themes/default/views/editor/objects/access_html.php | 1257 | <?php
/* ----------------------------------------------------------------------
* app/views/editor/objects/access_html.php :
* ----------------------------------------------------------------------
* CollectiveAccess
* Open-source collections management software
* -------------------------------------------------... | gpl-3.0 |
kalwar/openelisglobal-core | liquibase/OE2.9/testCatalogHT_LNSP/scripts/sampleTypeTest.py | 1885 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
existing_types = []
def get_split_names( name ):
split_name_list = name.split("/")
for i in range(0, len(split_name_list)):
split_name_list[i] = split_name_list[i].strip()
return split_name_list
type = []
test_names = []
descripti... | mpl-2.0 |
marcoslarsen/pentaho-kettle | engine/src/test/java/org/pentaho/di/job/entries/columnsexist/JobEntryColumnsExistTest.java | 6137 | /*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2018 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version... | apache-2.0 |
ariccy/fabric | examples/chaincode/go/chaincode_example04/chaincode_example04.go | 4465 | /*
Copyright IBM Corp. 2016 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 agreed to in wri... | apache-2.0 |
Tesora/tesora-horizon | horizon/static/framework/util/q/q.module.spec.js | 795 | /*
* 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 agreed to in writing, software
* distribute... | apache-2.0 |
steveloughran/hadoop | hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/erasurecode/rawcoder/TestDummyRawCoder.java | 3098 | /**
* 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 |
jconley/homebrew-cask | Casks/near-lock.rb | 301 | cask 'near-lock' do
version '4.0.0'
sha256 'cb2c849b9b941b609a6f2c8101d8fa6990bfce0714b790567b16af824cf10c12'
url 'https://nearlock.me/downloads/nearlock.dmg'
appcast 'https://nearlock.me/downloads/nearlock.xml'
name 'Near Lock'
homepage 'https://nearlock.me/'
app 'Near Lock.app'
end
| bsd-2-clause |
MakMukhi/grpc | src/php/tests/qps/generated_code/Grpc/Testing/ProxyStat.php | 924 | <?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: src/proto/grpc/testing/proxy-service.proto
namespace Grpc\Testing;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Protobuf type <code>grpc.testing.ProxyStat</code... | bsd-3-clause |
poizan42/coreclr | src/pal/src/safecrt/wsplitpath_s.cpp | 779 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/***
*wsplitpath_s.c - break down path name into components
*
*
*Purpose:
* To provide support for accessing the ... | mit |
FallenAngel290487/slimtune | external/boost_1_44_0/boost/graph/named_function_params.hpp | 21408 | //=======================================================================
// Copyright 1997, 1998, 1999, 2000 University of Notre Dame.
// Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http... | mit |
neilgaietto/Umbraco-CMS | src/Umbraco.Web/Models/ContentEditing/PropertyTypeBasic.cs | 1595 | using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
namespace Umbraco.Web.Models.ContentEditing
{
[DataContract(Name = "propertyType")]
public class PropertyTypeBasic
{
/// <summary>
/// Gets a value indicating whether the property type is inherit... | mit |
squashjedi/basecamp | vendor/symfony/http-foundation/Tests/CookieTest.php | 6907 | <?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\HttpFoundation\Tests;
use PHPUnit\Framework\TestCase;... | mit |
ckjeldgaard/hmdk | sites/all/modules/custom/firebase/google-api-php-client/vendor/google/apiclient-services/src/Google/Service/Spanner/LogConfig.php | 1578 | <?php
/*
* Copyright 2016 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 applicable law or agreed t... | gpl-2.0 |
ernandesferreira/microcampcaxias | wp-content/themes/Revera/FT/colors.php | 148 | <?php return array (
'color1' => '#adadb0',
'color2' => '#5a5b5c',
'color3' => '#9de8ff',
'color4' => '#f4fcff',
'color5' => '#d18a50',
); | gpl-2.0 |
SunguckLee/MariaDB-PageCompression | storage/tokudb/ft-index/src/tests/openlimit17-locktree.cc | 6566 | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*
COPYING CONDITIONS NOTICE:
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 th... | gpl-2.0 |
tonyjbutler/moodle | course/format/classes/output/local/content/section/cmlist.php | 4703 | <?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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.
//
// Moodle ... | gpl-3.0 |
scharron/chardet | chardet/langbulgarianmodel.py | 13035 | ######################## BEGIN LICENSE BLOCK ########################
# The Original Code is Mozilla Communicator client code.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 1998
# the Initial Developer. All Ri... | lgpl-2.1 |
sacjaya/carbon-analytics-common | components/data-bridge/org.wso2.carbon.databridge.core/src/main/java/org/wso2/carbon/databridge/core/exception/DataBridgeException.java | 1474 | /**
*
* Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* 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 lice... | apache-2.0 |
mosaic-cloud/mosaic-distribution-dependencies | dependencies/mozilla-js/1.8.5/js/src/jit-test/tests/closures/setname-1.js | 281 | actual = '';
expected = '4,4,4,4,4,';
function f() {
var k = 0;
function g() {
for (var i = 0; i < 5; ++i) {
k = i;
}
}
function h() {
for (var i = 0; i < 5; ++i) {
appendToActual(k);
}
}
g();
h();
}
f();
assertEq(actual, expected)
| apache-2.0 |
froschdesign/zf1 | tests/Zend/Http/TestAsset/InvalidDevice.php | 1010 | <?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 |
Pluto-tv/chromium-crosswalk | tools/telemetry/telemetry/internal/platform/power_monitor/cros_power_monitor_unittest.py | 7993 | # 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.
import unittest
from telemetry.internal.platform.power_monitor import cros_power_monitor
class CrosPowerMonitorMonitorTest(unittest.TestCase):
initial_p... | bsd-3-clause |
JAOSP/aosp_platform_external_chromium_org | chrome/browser/task_manager/worker_resource_provider.cc | 10810 | // 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/task_manager/worker_resource_provider.h"
#include <vector>
#include "base/basictypes.h"
#include "base/strings/string16.h"
... | bsd-3-clause |
lijoantony/django-oscar | runtests.py | 2644 | #!/usr/bin/env python
"""
Custom test runner
If args or options, we run the testsuite as quickly as possible.
If args but no options, we default to using the spec plugin and aborting on
first error/failure.
If options, we ignore defaults and pass options onto pytest.
Examples:
Run all tests (as fast as possible)
$... | bsd-3-clause |
varunajmera0/webseries | assets/sdk_google/vendor/google/auth/tests/Subscriber/ScopedAccessTokenSubscriberTest.php | 8334 | <?php
/*
* Copyright 2015 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 applicable law or agre... | mit |
PanJ/SimplerCityGlide | node_modules/pipetteur/node_modules/onecolor/lib/plugins/namedColors.js | 4325 | module.exports = function namedColors(color) {
color.namedColors = {
aliceblue: 'f0f8ff',
antiquewhite: 'faebd7',
aqua: '0ff',
aquamarine: '7fffd4',
azure: 'f0ffff',
beige: 'f5f5dc',
bisque: 'ffe4c4',
black: '000',
blanchedalmond: 'ffebcd',
... | mit |
JunaidPaul/numeric | tools/Crypto-JS v2.4.0/crypto-sha1-hmac-pbkdf2-rabbit/crypto-sha1-hmac-pbkdf2-rabbit.js | 6356 | /*
* Crypto-JS v2.4.0
* http://code.google.com/p/crypto-js/
* Copyright (c) 2011, Jeff Mott. All rights reserved.
* http://code.google.com/p/crypto-js/wiki/License
*/
if(typeof Crypto=="undefined"||!Crypto.util)(function(){var i=window.Crypto={},j=i.util={rotl:function(b,c){return b<<c|b>>>32-c},rotr:functio... | mit |
pitamar/Rocket.Chat | packages/rocketchat-livechat/messageTypes.js | 963 | RocketChat.MessageTypes.registerType({
id: 'livechat_video_call',
system: true,
message: 'New_videocall_request'
});
RocketChat.actionLinks.register('createLivechatCall', function(message, params, instance) {
if (Meteor.isClient) {
instance.tabBar.open('video');
}
});
RocketChat.actionLinks.register('denyLivec... | mit |
Mustaavalkosta/toolchain_gcc-4.9 | libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_size.cc | 1230 | // { dg-options "-std=gnu++0x" }
//
// Copyright (C) 2011-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 Foundati... | gpl-2.0 |
stain/jdk8u | src/share/classes/sun/java2d/cmm/CMSManager.java | 6971 | /*
* Copyright (c) 2006, 2013, 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 ... | gpl-2.0 |
bmacenbacher/multison | libraries/rokcommon/RokCommon/Service/Container/Loader/File/Ini.php | 1393 | <?php
/*
* This file is part of the symfony framework.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
/**
* RokCommon_Service_Container_Loader_File_Ini loads parameters from INI ... | gpl-2.0 |
healthcommcore/lung_cancer_site | modules/mod_hd2login/helper.php | 1126 | <?php
/**
* @version $Id: helper.php 11668 2009-03-08 20:33:38Z willebil $
* @package Joomla
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public Licens... | gpl-2.0 |
Evilcome/GrubbyWorm-IOS | cocos2d/cocos/base/CCNS.cpp | 5592 | /****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (th... | gpl-3.0 |
lazzarello/bk-tb-remote | db/migrate/019_add_server_name_and_app.rb | 285 | class AddServerNameAndApp < ActiveRecord::Migration
def self.up
add_column :preferences, :server_name, :string
add_column :preferences, :app_name, :string
end
def self.down
remove_column :preferences, :app_name
remove_column :preferences, :server_name
end
end
| agpl-3.0 |
wangyum/tensorflow | tensorflow/contrib/layers/python/layers/embedding_ops.py | 41512 | # 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 |
omnifone/aws-sdk-java | aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/ShutdownEventConfiguration.java | 8445 | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | apache-2.0 |
fasterthanlime/homebrew | Library/Formula/librem.rb | 1031 | require "formula"
class Librem < Formula
homepage "http://www.creytiv.com"
url "http://www.creytiv.com/pub/rem-0.4.6.tar.gz"
sha1 "9698b48aee5e720e56440f4c660d8bd4dbb7f8fa"
bottle do
cellar :any
sha1 "e1089e53d13bd264d8a6b95cce0401c7ae5b6aed" => :mavericks
sha1 "8da4a993fa287e444b649b045fdfb48718b... | bsd-2-clause |
liukaijv/fis3 | test/diff_fis3_smarty/product_code/hao123_fis3_smarty/common/widget/header/skinbox/skin-mod.js | 7639 | var $ = require("common:widget/ui/jquery/jquery.js");
var UT = require("common:widget/ui/ut/ut.js");
var Helper = require("common:widget/ui/helper/helper.js");
var WINDOW = $(window);
var BODY = $(document.body);
/*
* 换肤插件
* loadTime:
1. "" - 默认值,即刻加载
2. 数字 - 延迟加载,毫秒数
* recommandSkin:设置推荐皮肤
* dat... | bsd-2-clause |
rjeli/scikit-image | skimage/io/_plugins/freeimage_plugin.py | 27618 | import ctypes
import numpy
import sys
import os
import os.path
from numpy.compat import asbytes, asstr
def _generate_candidate_libs():
# look for likely library files in the following dirs:
lib_dirs = [os.path.dirname(__file__),
'/lib',
'/usr/lib',
'/usr/local/l... | bsd-3-clause |
jgcaaprom/android_external_chromium_org | chrome/browser/performance_monitor/process_metrics_history.cc | 5086 | // 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 <limits>
#include "base/logging.h"
#include "base/metrics/histogram.h"
#include "base/process/process_metrics.h"
#include "chrome/browser/perfo... | bsd-3-clause |
li8/Poker-Planner | node_modules/gzippo/test/fixtures/test.js | 15 | alert("hello"); | mit |
mcliment/DefinitelyTyped | types/vue-nice-dates/index.d.ts | 827 | // Type definitions for vue-nice-dates 2.0
// Project: https://github.com/zhangchizi/vue-nice-dates#readme
// Definitions by: zhangchizi <https://github.com/zhangchizi>
// wanghuan <https://github.com/huanlala>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Vers... | mit |
ccschneidr/babel | packages/babel-generator/test/fixtures/compact/while/expected.js | 16 | while(true)x();
| mit |
thomasmckay/katello | app/assets/javascripts/katello/widgets/subpanel_new.js | 271 | $(document).ready(function(){
var form_id = $('#new_subpanel'),
form_submit_id = form_id.find('.subpanel_create'),
url_after_submit = form_submit_id.data('url_after_submit');
KT.panel.registerSubPanelSubmit(form_id, form_submit_id, url_after_submit);
}); | gpl-2.0 |
YehudaItkin/virt-test | virttest/libvirt_xml/devices/video.py | 1908 | """
video device support class(es)
http://libvirt.org/formatdomain.html#elementsVideo
"""
from virttest.libvirt_xml import accessors
from virttest.libvirt_xml.devices import base
class Video(base.TypedDeviceBase):
__slots__ = ('model_type', 'model_ram', 'model_vram', 'model_heads',
'primary', ... | gpl-2.0 |
rajuniit/chotrobazaar | lib/Zend/Service/ShortUrl/AbstractShortener.php | 2533 | <?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... | gpl-2.0 |
yclas/yclas | oc/vendor/oauth2/vendor/league/oauth2-client/src/Tool/ProviderRedirectTrait.php | 3174 | <?php
namespace League\OAuth2\Client\Tool;
use GuzzleHttp\Exception\BadResponseException;
use GuzzleHttp\Psr7\Uri;
use InvalidArgumentException;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
trait ProviderRedirectTrait
{
/**
* Maximum number of times to follow provider initi... | gpl-3.0 |
wrgeorge1983/librenms | vendor/amenadiel/jpgraph/src/plot/MileStone.php | 3518 | <?php
namespace Amenadiel\JpGraph\Plot;
//===================================================
// CLASS MileStone
// Responsible for formatting individual milestones
//===================================================
class MileStone extends GanttPlotObject
{
public $mark;
//---------------
// CONSTRUCTO... | gpl-3.0 |
mglukhikh/intellij-community | java/java-psi-impl/src/com/intellij/psi/impl/java/stubs/impl/PsiTypeParameterListStubImpl.java | 1301 | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* 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 |
Maxwe11/roslyn | src/EditorFeatures/Test/Extensions/ITextSnapshotExtensionsTests.cs | 7723 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Editor.Shared.Extensions;
using Microsoft.CodeAnalysis.Text;
using Microsoft.CodeAnalysis.Text.Shared.Extensions;
using Microsoft... | apache-2.0 |
doug-fish/horizon | openstack_dashboard/dashboards/admin/defaults/tests.py | 5796 | # Copyright 2013 Kylin, 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 agreed... | apache-2.0 |
bradtopol/kubernetes | staging/src/k8s.io/client-go/informers/extensions/v1beta1/podsecuritypolicy.go | 3619 | /*
Copyright 2018 The Kubernetes 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 applicable law or agreed to in writing, ... | apache-2.0 |
strapdata/cassandra | src/java/org/apache/cassandra/tools/nodetool/Snapshot.java | 4584 | /*
* 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 |
programming086/omim | qt/update_dialog.hpp | 1326 | #pragma once
#include "map/framework.hpp"
#include <QtWidgets/QApplication>
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
#include <QtGui/QDialog>
#else
#include <QtWidgets/QDialog>
#endif
class QTreeWidget;
class QTreeWidgetItem;
class QLabel;
class QPushButton;
class Framework;
namespace qt
{
class UpdateDialo... | apache-2.0 |
mhart/relay | examples/todo/server.js | 1419 | import express from 'express';
import graphQLHTTP from 'express-graphql';
import path from 'path';
import webpack from 'webpack';
import WebpackDevServer from 'webpack-dev-server';
import {GraphQLTodoSchema} from './data/schema';
const APP_PORT = 3000;
const GRAPHQL_PORT = 8080;
// Expose a GraphQL endpoint
var graph... | bsd-3-clause |
markogresak/DefinitelyTyped | types/carbon__icons-react/es/direction--straight--right--filled/32.d.ts | 68 | export { DirectionStraightRightFilled32 as default } from "../../";
| mit |
sfshine/actor-platform | actor-server/actor-commons-base/src/main/scala/im/actor/server/commons/serialization/ActorSerializer.scala | 2966 | package im.actor.server.commons.serialization
import akka.serialization._
import com.google.protobuf.{ GeneratedMessage ⇒ GGeneratedMessage, ByteString }
import com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.{ Builder ⇒ MapBuilder }
import com.trueaccord.scalapb.GeneratedMessage
import scala.util.{ Fa... | mit |
shimingsg/corefx | src/System.Net.Security/src/System/Net/Security/NegotiateStreamPal.Unix.cs | 2094 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.IO;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.InteropServices;
using ... | mit |
neo4jrb/neo4j_fat_free_crm | app/helpers/admin/settings_helper.rb | 324 | # Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
module Admin::SettingsHelper
e... | mit |
ViktorHofer/corefx | src/System.ComponentModel.Composition/src/System/ComponentModel/Composition/CompositionError.cs | 7815 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.ComponentModel.Composition.Primitives;
using System.Diagnostics;
using System.Globalization;
namespace... | mit |
sufuf3/cdnjs | ajax/libs/collect.js/4.0.23/collect.js | 67459 | var collect =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
... | mit |
tejaswi2492/pmip6ns3.13new | src/uan/model/uan-prop-model.cc | 7925 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2009 University of Washington
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This pro... | gpl-2.0 |
rajuniit/chotrobazaar | lib/Zend/Feed/Reader/Feed/Rss.php | 21753 | <?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... | gpl-2.0 |
rukhshanda/moodle-anmc | lib/yuilib/3.7.3/build/model/model.js | 33359 | /*
YUI 3.7.3 (build 5687)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('model', function (Y, NAME) {
/**
Attribute-based data model with APIs for getting, setting, validating, and
syncing attribute values, as well as events for being notified... | gpl-3.0 |
vlinhd11/vlinhd11-android-scripting | android/ScriptingLayerForAndroid/src/org/connectbot/util/EncodingPreference.java | 1215 | package org.connectbot.util;
import android.content.Context;
import android.preference.ListPreference;
import android.util.AttributeSet;
import java.nio.charset.Charset;
import java.util.LinkedList;
import java.util.List;
import java.util.Map.Entry;
public class EncodingPreference extends ListPreference {
public ... | apache-2.0 |
sawyer2011/cobar | server/src/test/java/com/alibaba/cobar/queue/Queue.java | 5131 | /*
* Copyright 1999-2012 Alibaba Group.
*
* 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 la... | apache-2.0 |
khadim-raath/yazzoopa-scraper | application/libraries/paypal_adaptive_payments/vendor/paypal/sdk-core-php/lib/formatters/IPPFormatter.php | 492 | <?php
/**
* Interface for all classes that format objects to
* and from a on-wire representation
*
* For every new payload format, write a new formatter
* class that implements this interface
*
*/
interface IPPFormatter {
/**
*
* @param PPRequest $request The request to format
* @param array $options ... | apache-2.0 |
sallyom/origin | vendor/github.com/openshift/client-go/config/clientset/versioned/typed/config/v1/operatorhub.go | 6087 | // Code generated by client-gen. DO NOT EDIT.
package v1
import (
"context"
"time"
v1 "github.com/openshift/api/config/v1"
scheme "github.com/openshift/client-go/config/clientset/versioned/scheme"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/pk... | apache-2.0 |
aswanderley/phabricator | src/applications/differential/constants/DifferentialRevisionStatus.php | 3585 | <?php
/**
* NOTE: you probably want {@class:ArcanistDifferentialRevisionStatus}.
* This class just contains a mapping for color within the Differential
* application.
*/
final class DifferentialRevisionStatus extends Phobject {
const COLOR_STATUS_DEFAULT = 'status';
const COLOR_STATUS_DARK = 'status-dark';
... | apache-2.0 |
ShinichiU/OpenPNE3_with_webInstaller | lib/vendor/symfony/lib/task/generator/sfGenerateProjectTask.class.php | 5752 | <?php
/*
* This file is part of the symfony package.
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
require_once(dirname(__FILE__).'/sfGeneratorBaseTask.cla... | apache-2.0 |
bottompawn/RakNet | Source/LogCommandParser.cpp | 7824 | /*
* Copyright (c) 2014, Oculus VR, 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.
*
*/
... | bsd-2-clause |
shonjir/homebrew-cask | Casks/kotori.rb | 616 | cask 'kotori' do
version '0.24'
sha256 '02b2cf71d5ff4138a768781c920232ab905d852e20b3db0e178c3d611f640636'
url "https://github.com/Watson1978/kotori/releases/download/v#{version}/kotori_#{version}.dmg"
appcast 'https://github.com/Watson1978/kotori/releases.atom',
checkpoint: '32edd1fe702bc3121a92ce4cd... | bsd-2-clause |
anirudhSK/chromium | remoting/webapp/identity.js | 4846 | // 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.
/**
* @fileoverview
* Wrapper class for Chrome's identity API.
*/
'use strict';
/** @suppress {duplicate} */
var remoting = remoting || {};
/**
... | bsd-3-clause |
itinance/Sylius | src/Sylius/Component/Promotion/spec/Model/PromotionRuleSpec.php | 1607 | <?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace spec\Sylius\Component\Promotion\Model;
use PhpSpec\ObjectBehavior... | mit |
redmunds/cdnjs | ajax/libs/lazysizes/3.0.0-rc4/plugins/static-gecko-picture/ls.static-gecko-picture.min.js | 1007 | /*! lazysizes - v3.0.0-rc4 */
!function(a){var b=navigator.userAgent;a.HTMLPictureElement&&/ecko/.test(b)&&b.match(/rv\:(\d+)/)&&RegExp.$1<41&&addEventListener("resize",function(){var b,c=document.createElement("source"),d=function(a){var b,d,e=a.parentNode;"PICTURE"===e.nodeName.toUpperCase()?(b=c.cloneNode(),e.insert... | mit |
isaacl/openjdk-jdk | test/javax/sound/midi/Gervill/SoftTuning/Load9.java | 2566 | /*
* Copyright (c) 2007, 2013, 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 ... | gpl-2.0 |
alexsco74/drupal-trade | sites/all/modules/contrib/panels/plugins/style_bases/pane/pane_plain_box/pane-plain-box.tpl.php | 409 | <?php
/**
* @file
*
* Display the box for rounded corners.
*
* - $pane: The pane being rendered
* - $display: The display being rendered
* - $content: An object containing the content and title
* - $output: The result of theme('panels_pane')
* - $classes: The classes that must be applied to the top d... | gpl-2.0 |
dvh11er/mage-cheatcode | magento/lib/Zend/Validate/Barcode/Sscc.php | 1427 | <?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... | gpl-2.0 |
lucval/dmm-ns-3.17 | src/lte/test/lte-test-earfcn.cc | 5044 | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Fre... | gpl-2.0 |
medbenali/CyberScan | scapy/layers/gprs.py | 533 | ## This file is part of Scapy
## See http://www.secdev.org/projects/scapy for more informations
## Copyright (C) Philippe Biondi <phil@secdev.org>
## This program is published under a GPLv2 license
"""
GPRS (General Packet Radio Service) for mobile data communication.
"""
from scapy.fields import *
from scapy.packet ... | gpl-3.0 |
gamchantoi/AgroSHop-UTUAWARDS | themes/Backend/ExtJs/backend/performance/view/tabs/settings/main.js | 4420 | /**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* permission... | agpl-3.0 |
cleitoncsg/0mqL | zeromq-3.2.1/src/thread.hpp | 2299 | /*
Copyright (c) 2010-2011 250bpm s.r.o.
Copyright (c) 2007-2011 iMatix Corporation
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
This file is part of 0MQ.
0MQ is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public ... | lgpl-3.0 |
baslr/ArangoDB | 3rdParty/boost/1.62.0/libs/multi_index/example/rearrange.cpp | 6683 | /* Boost.MultiIndex example of use of rearrange facilities.
*
* Copyright 2003-2015 Joaquin M Lopez Munoz.
* 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)
*
* See http://www.boost.org/libs/multi_index for lib... | apache-2.0 |
TiVo/kafka | clients/src/main/java/org/apache/kafka/common/errors/NotEnoughReplicasAfterAppendException.java | 1320 | /*
* 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 n... | apache-2.0 |
dsebastien/DefinitelyTyped | types/es-abstract/operations/2016.d.ts | 5202 | import ES2015Operations = require('./2015');
import ES2016 = require('../es2016');
interface ES2016Operations extends Record<keyof ES2016, string>, ES2015Operations {
// Unimplemented operations:
abs: string;
AddRestrictedFunctionProperties: string;
AllocateArrayBuffer: string;
AllocateTypedArray: ... | mit |
alyssa-labs/pragtico | cake/tests/groups/console.group.php | 2297 | <?php
/**
* ConsoleGroupTest file
*
* PHP versions 4 and 5
*
* CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The Open Group Test Suite License
* Redistributions of files must retain the above ... | mit |