repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
StepProgrammer/CommunityServer | web/studio/ASC.Web.Studio/Products/Projects/Controls/Common/CommonList.ascx.designer.cs | 1936 | /*
*
* (c) Copyright Ascensio System Limited 2010-2015
*
* This program is freeware. You can redistribute it and/or modify it under the terms of the GNU
* General Public License (GPL) version 3 as published by the Free Software Foundation (https://www.gnu.org/copyleft/gpl.html).
* In accordance with Section 7(a... | agpl-3.0 |
ael-code/libreant | users/test/test_capability.py | 6105 | from . import TestBaseClass
from nose.tools import eq_
from users import User, Group, GroupToCapability, Capability, Action
from peewee import IntegrityError
class TestCapability(TestBaseClass):
def populate(self):
with self.udb.atomic():
cap1 = Capability.create(domain='res1', action=Action.... | agpl-3.0 |
osgcc/ryzom | ryzom/tools/leveldesign/mission_compiler_lib/main.cpp | 8334 | // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
// Copyright (C) 2010 Winch Gate Property Limited
//
// 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 Free Software Foundation, either version ... | agpl-3.0 |
Khamull/CommunityServer | module/ASC.SignalR.Base/Hubs/Chat/Chat.cs | 23062 | /*
*
* (c) Copyright Ascensio System Limited 2010-2015
*
* This program is freeware. You can redistribute it and/or modify it under the terms of the GNU
* General Public License (GPL) version 3 as published by the Free Software Foundation (https://www.gnu.org/copyleft/gpl.html).
* In accordance with Section 7(a... | agpl-3.0 |
wlwwt/shopware | engine/Shopware/Bundle/StoreFrontBundle/Struct/Product.php | 6967 | <?php
/**
* 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
* perm... | agpl-3.0 |
closeio/nylas | inbox/test/imap/test_update_metadata.py | 3732 | import pytest
import json
from inbox.crispin import GmailFlags, Flags
from inbox.models.backends.imap import ImapUid
from inbox.mailsync.backends.imap.common import (update_metadata,
update_message_metadata)
from inbox.test.util.base import (add_fake_message, add_fake_im... | agpl-3.0 |
dfsilva/actor-platform | actor-sdk/sdk-core/core/core-js/src/main/java/im/actor/core/js/entity/JsContent.java | 6843 | /*
* Copyright (C) 2015 Actor LLC. <https://actor.im>
*/
package im.actor.core.js.entity;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.core.client.JsArrayString;
import im.actor.core.api.ApiTextModernAttach;
import im.actor.core.api.ApiTextMod... | agpl-3.0 |
krisis/mc | cmd/admin-bucket-remote-rm.go | 3014 | // Copyright (c) 2015-2021 MinIO, Inc.
//
// This file is part of MinIO Object Storage stack
//
// 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 Free Software Foundation, either version 3 of the License, or
// (... | agpl-3.0 |
ewheeler/rapidpro | temba/contacts/migrations/0025_unblock_contacts_imported_again_after_being_blocked.py | 874 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.db.models import Count, Q
def unblock_contacts_imported_again(apps, schema_editor):
Contact = apps.get_model('contacts', 'Contact')
blocked_contacts = Contact.objects.filter(is_blocked=True, ... | agpl-3.0 |
Turan-no/Turan | media/openlayers/lib/OpenLayers/Layer/TileCache.js | 5309 | /* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the Clear BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the
* full text of the license. */
/**
* @requires OpenLayers/Layer/Grid.js
* @requires OpenLayers/Ti... | agpl-3.0 |
alexhuang888/onlogistics | lib/Custom/UploadedDocumentGrid.php | 3941 | <?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* This file is part of Onlogistics, a web based ERP and supply chain
* management application.
*
* Copyright (C) 2003-2008 ATEOR
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU A... | agpl-3.0 |
artofhuman/consul | spec/features/proposal_notifications_spec.rb | 7032 | require 'rails_helper'
feature 'Proposal Notifications' do
scenario "Send a notification" do
author = create(:user)
proposal = create(:proposal, author: author)
login_as(author)
visit root_path
click_link "My activity"
within("#proposal_#{proposal.id}") do
click_link "Send notificat... | agpl-3.0 |
libersoft/fengoffice-ls | library/PEAR/PEAR.php | 34809 | <?php
/**
* PEAR, the PHP Extension and Application Repository
*
* PEAR class and PEAR_Error class
*
* PHP versions 4 and 5
*
* LICENSE: This source file is subject to version 3.0 of the PHP license
* that is available through the world-wide-web at the following URI:
* http://www.php.net/license/3_0.txt. If y... | agpl-3.0 |
Loos/bike_index | db/migrate/20140526141810_create_customer_contacts.rb | 354 | class CreateCustomerContacts < ActiveRecord::Migration
def change
create_table :customer_contacts do |t|
t.integer :user_id
t.string :user_email
t.integer :creator_id
t.string :creator_email
t.string :title
t.string :contact_type
t.text :body
t.integer :bike_id
... | agpl-3.0 |
dmeltzer/snipe-it | resources/lang/cy/passwords.php | 165 | <?php
return [
'sent' => 'Mae eich linc cyfrinair wedi\'i yrru!',
'user' => 'Dim defnyddiwr wedi\'i ddarganfod hefo\'r cyfeiriad ebost yna.',
];
| agpl-3.0 |
DerDu/SPHERE-Framework | Library/MOC-V/Component/Document/Document.php | 5319 | <?php
namespace MOC\V\Component\Document;
use MOC\V\Component\Document\Component\Bridge\Repository\DomPdf;
use MOC\V\Component\Document\Component\Bridge\Repository\MPdf;
use MOC\V\Component\Document\Component\Bridge\Repository\PhpExcel;
use MOC\V\Component\Document\Component\Bridge\Repository\PhpWord;
use MOC\V\Compon... | agpl-3.0 |
Nekonyx/osu-web | resources/views/changelog/_changelog_header.blade.php | 2249 | {{--
Copyright 2015-2017 ppy Pty. Ltd.
This file is part of osu!web. osu!web is distributed with the hope of
attracting more community contributions to the core ecosystem of osu!.
osu!web is free software: you can redistribute it and/or modify
it under the terms of the Affero GNU General Public Li... | agpl-3.0 |
cloudbrain/cloudbrain | src/cloudbrain/core/model.py | 1620 | """
Cloudbrain's OO data model.
"""
class MetricBuffer(object):
def __init__(self, name, num_channels, buffer_size):
self.name = name
self.num_channels = num_channels
self.metric_names = ["channel_%s" % i for i in range(self.num_channels)]
self.metric_names.append("timestamp")
self.buffer_siz... | agpl-3.0 |
guillermong/Tarea1Bigdata | tutorial/src/BitSequenceRGExample.cpp | 1520 | /**
* BitSequenceRGExample.cpp
* Copyright (C) 2011 Francisco Claude F.
*
* 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... | lgpl-2.1 |
sitya/simplesamlphp | modules/adfs/www/idp/prp.php | 1112 | <?php
/**
* ADFS PRP IDP protocol support for SimpleSAMLphp.
*
* @author Hans Zandbelt, SURFnet bv, <hans.zandbelt@surfnet.nl>
* @package SimpleSAMLphp
*/
SimpleSAML\Logger::info('ADFS - IdP.prp: Accessing ADFS IdP endpoint prp');
$metadata = SimpleSAML_Metadata_MetaDataStorageHandler::getMetadataHandler();
$idp... | lgpl-2.1 |
Airphrame/mapnik | include/mapnik/svg/svg_path_adapter.hpp | 28475 | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2014 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as p... | lgpl-2.1 |
rspavel/spack | var/spack/repos/builtin/packages/py-azure-storage-nspkg/package.py | 669 | # Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
class PyAzureStorageNspkg(PythonPackage):
"""Microsoft Azure Storage Namespace Package."""
homepage = "https://g... | lgpl-2.1 |
hibernate/hibernate-ogm | mongodb/src/main/java/org/hibernate/ogm/datastore/mongodb/type/GeoLineString.java | 2908 | /*
* Hibernate OGM, Domain model persistence for NoSQL datastores
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.ogm.datastore.mongodb.type;
import java.util.Arrays;
... | lgpl-2.1 |
luisbg/gst-introspection | gstgengui/event.py | 7694 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Very easy to use event-system
@author: Damien Boucard
"""
import logging
import gobject
logger = logging.getLogger('event')
try:
from easycast.utils.event import EventManager
except ImportError:
class EventManager:
""" Manages the event-system.
... | lgpl-2.1 |
youfoh/webkit-efl | Source/WebCore/platform/graphics/cg/ImageBufferCG.cpp | 22543 | /*
* Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2008 Apple Inc. All rights reserved.
* Copyright (C) 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the foll... | lgpl-2.1 |
microcosmx/jade | src/jade/domain/introspection/DeadAgent.java | 2961 | /*****************************************************************
JADE - Java Agent DEvelopment Framework is a framework to develop
multi-agent systems in compliance with the FIPA specifications.
Copyright (C) 2000 CSELT S.p.A.
GNU Lesser General Public License
This library is free software; you can redistri... | lgpl-2.1 |
mwtoews/libgeos | tests/unit/noding/NodedSegmentStringTest.cpp | 9486 | //
// Test Suite for geos::noding::NodedSegmentString class.
#include <tut/tut.hpp>
#include <utility.h>
// geos
#include <geos/io/WKTReader.h>
#include <geos/noding/NodedSegmentString.h>
#include <geos/noding/SegmentString.h>
#include <geos/noding/Octant.h>
#include <geos/geom/Coordinate.h>
#include <geos/geom/Coordi... | lgpl-2.1 |
OuluPulu/strqtwln | src/client/qwaylandqtkey.cpp | 3843 | /****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holdi... | lgpl-2.1 |
Fat-Zer/FreeCAD_sf_master | src/Mod/PartDesign/Gui/Resources/translations/PartDesign_sl.ts | 130589 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="sl" sourcelanguage="en">
<context>
<name>CmdPartDesignAdditiveLoft</name>
<message>
<location filename="../../Command.cpp" line="1403"/>
<source>PartDesign</source>
<translation>PartDesign</translation>
</me... | lgpl-2.1 |
garnertb/python-mapnik | src/mapnik_color.cpp | 5252 | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2015 Artem Pavlenko, Jean-Francois Doyon
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General P... | lgpl-2.1 |
modius/railo | railo-java/railo-core/src/railo/runtime/tag/Wddx.java | 6570 | package railo.runtime.tag;
import java.io.IOException;
import javax.xml.parsers.FactoryConfigurationError;
import railo.runtime.converter.ConverterException;
import railo.runtime.converter.JSConverter;
import railo.runtime.converter.WDDXConverter;
import railo.runtime.exp.ApplicationException;
import railo.runtime.e... | lgpl-2.1 |
lefou/kdepim-noakonadi | kresources/groupwise/kcal_resourcegroupwise.cpp | 8612 | /*
This file is part of kdepim.
Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the L... | lgpl-2.1 |
golovnin/wildfly | clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/subsystem/GlobalConfigurationServiceConfigurator.java | 10337 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2015, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | lgpl-2.1 |
limb-php-framework/limb | dbal/src/drivers/lmbDbInfo.class.php | 1296 | <?php
/*
* Limb PHP Framework
*
* @link http://limb-project.com
* @copyright Copyright © 2004-2009 BIT(http://bit-creative.com)
* @license LGPL http://www.gnu.org/copyleft/lesser.html
*/
lmb_require('limb/dbal/src/exception/lmbDbException.class.php');
/**
* abstract class lmbDbInfo.
*
* @package dbal... | lgpl-2.1 |
hdeling/sofa | applications/plugins/DEPRECATED/PhysicsBasedInteractiveModeler/gui/qt/QMouseOperations.cpp | 6803 | /******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | lgpl-2.1 |
raghavaggarwal/moose | modules/phase_field/src/action/CHPFCRFFSplitKernelAction.C | 3612 | #include "CHPFCRFFSplitKernelAction.h"
#include "Factory.h"
#include "Parser.h"
#include "FEProblem.h"
template<>
InputParameters validParams<CHPFCRFFSplitKernelAction>()
{
InputParameters params = validParams<Action>();
params.addRequiredParam<unsigned int>("num_L", "specifies the number of complex L variables w... | lgpl-2.1 |
step21/inkscape-osx-packaging-native | src/ui/view/edit.cpp | 515 | /**
* \brief Empty file left in repo for current desktop.cpp
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
namespace Inkscape {
namespace UI {
namespace View {
} // namespace View
} // namespace UI
} // namespace Inkscape
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((inna... | lgpl-2.1 |
rspavel/spack | var/spack/repos/builtin.mock/packages/raiser/package.py | 1204 | # Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from six.moves import builtins
from spack import *
class Raiser(Package):
"""A package that can raise a built-in ex... | lgpl-2.1 |
georgebyelas/molgenis-lifelines | src/main/java/org/molgenis/lifelines/catalog/LifeLinesCatalogManagerService.java | 2684 | package org.molgenis.lifelines.catalog;
import java.util.List;
import org.molgenis.catalog.Catalog;
import org.molgenis.catalog.CatalogMeta;
import org.molgenis.catalog.UnknownCatalogException;
import org.molgenis.catalogmanager.CatalogManagerService;
import org.molgenis.lifelines.studymanager.StudyDefinitionIdConver... | lgpl-3.0 |
wmaddisn/MesquiteCore | Source/mesquite/ornamental/ManagePictures/ManagePictures.java | 11832 | /* Mesquite source code. Copyright 1997 and onward, W. Maddison and D. Maddison.
Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code.
The commenting leaves much to be desired. Please approach this source code with the spirit of helping out.
Per... | lgpl-3.0 |
Alfresco/community-edition | projects/repository/source/java/org/alfresco/repo/virtual/bundle/VirtualVersionServiceExtension.java | 24876 | /*
* #%L
* Alfresco Repository
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the... | lgpl-3.0 |
kenguest/phing | tests/Phing/Support/HangDetectorProperties.php | 1435 | <?php
/**
* 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 CONTRIBUTORS... | lgpl-3.0 |
David-Desmaisons/MVVM.CEF.Glue | Examples/Example.Dictionary.Cfx.Vue/View/Main/src/install.js | 430 | import "bootstrap/dist/css/bootstrap.css";
import "font-awesome/less/font-awesome.less";
/*eslint no-unused-vars: ["error", { "args": "none" }]*/
function install(Vue) {
//Call vue use here if needed
}
/*eslint no-unused-vars: ["error", { "args": "none" }]*/
function vueInstanceOption(vm) {
//Return vue global op... | lgpl-3.0 |
wmaddisn/MesquiteCore | Source/mesquite/lib/TextContentArea.java | 1775 | /* Mesquite source code. Copyright 1997 and onward, W. Maddison and D. Maddison.
Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code.
The commenting leaves much to be desired. Please approach this source code with the spirit of helping out.
Per... | lgpl-3.0 |
marissaDubbelaar/GOAD3.1.1 | molgenis-data/src/main/java/org/molgenis/data/transaction/TransactionalRepositoryDecorator.java | 5223 | package org.molgenis.data.transaction;
import org.molgenis.data.*;
import org.molgenis.data.aggregation.AggregateQuery;
import org.molgenis.data.aggregation.AggregateResult;
import org.springframework.transaction.PlatformTransactionManager;
import org.springframework.transaction.annotation.Transactional;
import org.sp... | lgpl-3.0 |
edwinspire/VSharp | class/System.Web.DynamicData/Test/WebPages/DynamicData/FieldTemplates_NonDefault/MonoTests.Common.FooEmpty.ascx.cs | 582 | using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Collections.Specialized;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
... | lgpl-3.0 |
David-Desmaisons/MVVM.CEF.Glue | Examples/Example.ChromiumFX.Ko.UI/Properties/Settings.Designer.cs | 1081 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | lgpl-3.0 |
edwinspire/VSharp | class/Managed.Windows.Forms/System.Windows.Forms/DataGridViewSelectedColumnCollection.cs | 3743 | // Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell... | lgpl-3.0 |
oleneveu/SharpKit-SDK | Defs/Qooxdoo/theme/modern/Decoration.cs | 515 | // Generated by SharpKit.QooxDoo.Generator
using System;
using System.Collections.Generic;
using SharpKit.Html;
using SharpKit.JavaScript;
namespace qx.theme.modern
{
/// <summary>
/// <para>The modern decoration theme.</para>
/// </summary>
[JsType(JsMode.Prototype, Name = "qx.theme.modern.Decoration", OmitOpt... | lgpl-3.0 |
ethereum/go-ethereum | cmd/puppeth/ssh.go | 8633 | // Copyright 2017 The go-ethereum Authors
// This file is part of go-ethereum.
//
// go-ethereum 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 la... | lgpl-3.0 |
nponeccop/HNC | hn_tests/comp-1.cpp | 469 | #include <hn/lib.hpp>
struct ii_impl
{
struct comp_impl
{
boost::function<int (int)> g;
template <typename t2>
int h(t2 x)
{
return g(5) + 1;
};
};
template <typename t0, typename t5>
static boost::function<int (t5)> comp(t0 f, boost::function<int (int)> g)
{
typedef comp_impl local;
local imp... | lgpl-3.0 |
wilywampa/python-mode | pymode/libs/rope/base/pyobjects.py | 8875 | from rope.base.fscommands import _decode_data
from rope.base import ast, exceptions, utils
class PyObject(object):
def __init__(self, type_):
if type_ is None:
type_ = self
self.type = type_
def get_attributes(self):
if self.type is self:
return {}
ret... | lgpl-3.0 |
xrealm/moc_dev | openCVLibrary343/src/main/java/org/opencv/photo/MergeExposures.java | 1418 | //
// This file is auto-generated. Please don't modify it!
//
package org.opencv.photo;
import java.util.ArrayList;
import java.util.List;
import org.opencv.core.Algorithm;
import org.opencv.core.Mat;
import org.opencv.utils.Converters;
// C++: class MergeExposures
//javadoc: MergeExposures
public class MergeExposur... | lgpl-3.0 |
drpicox/mcxx | tests/02_typecalc_cxx.dg/success_314.cpp | 2007 | /*--------------------------------------------------------------------
(C) Copyright 2006-2012 Barcelona Supercomputing Center
Centro Nacional de Supercomputacion
This file is part of Mercurium C/C++ source-to-source compiler.
See AUTHORS file in the top level directory for informa... | lgpl-3.0 |
HarryXR/SimpleNews | swipeback/src/main/java/me/imid/swipebacklayout/lib/ViewDragHelper.java | 62159 | /*
* Copyright (C) 2013 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
*
* Unless required by app... | apache-2.0 |
mashengchen/incubator-trafodion | core/sql/parser/ParAll.cpp | 2470 | /* -*-C++-*- */
/**********************************************************************
// @@@ START COPYRIGHT @@@
//
// 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 copyri... | apache-2.0 |
dump247/aws-sdk-java | aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront_2012_03_15/model/transform/NoSuchDistributionExceptionUnmarshaller.java | 1574 | /*
* Copyright 2010-2016 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 |
zhengxgs/elasticsearch-2.4.1 | core/src/main/java/org/elasticsearch/index/mapper/Mapper.java | 6448 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | apache-2.0 |
anuruddhal/stratos | components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/messaging/topology/TopologyManager.java | 3460 | /*
* 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 |
thomasdarimont/hibernate-master-class | core/src/test/java/com/vladmihalcea/hibernate/masterclass/laboratory/cache/CollectionCacheTest.java | 12049 | package com.vladmihalcea.hibernate.masterclass.laboratory.cache;
import com.vladmihalcea.hibernate.masterclass.laboratory.util.AbstractTest;
import org.hibernate.ObjectNotFoundException;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.jdbc.Work;
import org.junit.Before;
import org.junit... | apache-2.0 |
steveloughran/hadoop-mapreduce | src/java/org/apache/hadoop/mapred/join/CompositeInputFormat.java | 6745 | /**
* 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 |
operasoftware/tlsprober | probedb/resultdb2/summary_models.py | 51449 | # Copyright 2010-2012 Opera Software ASA
#
# 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 |
gradle/gradle | subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransformer.java | 35641 | /*
* Copyright 2019 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 applica... | apache-2.0 |
ibnc/gocd | server/src/main/java/com/thoughtworks/go/config/update/ConfigUpdateCheckFailedException.java | 721 | /*
* Copyright 2019 ThoughtWorks, 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 agr... | apache-2.0 |
msebire/intellij-community | platform/analysis-api/src/com/intellij/codeInspection/reference/RefFile.java | 1110 | /*
* Copyright 2000-2009 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 |
atopuzov/nitro-python | nssrc/com/citrix/netscaler/nitro/resource/config/appfw/appfwprofile_denyurl_binding.py | 9677 | #
# Copyright (c) 2008-2015 Citrix Systems, 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 l... | apache-2.0 |
cloudbase/neutron | neutron/api/extensions.py | 30424 | # Copyright 2011 OpenStack Foundation.
# 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 req... | apache-2.0 |
estesp/elastistack | Godeps/_workspace/src/github.com/mattbaird/elastigo/lib/request_test.go | 6395 | // Copyright 2013 Matthew Baird
// 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 |
twitter/heron | examples/src/python/window_size_topology.py | 2110 | #!/usr/bin/env python3
# -*- encoding: utf-8 -*-
# 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 Apach... | apache-2.0 |
dcadevil/vitess | go/mysql/mysql56_gtid.go | 3532 | /*
Copyright 2017 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreedto in writing, software
dist... | apache-2.0 |
paulsmithkc/ghostbird | bapprill/ghostbird/Assets/Scripts/TileObject.cs | 197 | using UnityEngine;
public abstract class TileObject : MonoBehaviour
{
public abstract void OnMouseEnter();
public abstract void OnMouseExit();
public abstract void OnMouseDown();
}
| apache-2.0 |
lshain-android-source/tools-idea | java/java-impl/src/com/intellij/usages/impl/rules/MethodGroupingRule.java | 6726 | /*
* Copyright 2000-2011 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 |
serge-rider/dbeaver | plugins/org.jkiss.dbeaver.ext.import_config/src/org/jkiss/dbeaver/ext/import_config/wizards/ImportDriverInfo.java | 2589 | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org)
*
* 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/license... | apache-2.0 |
ddumontatibm/JavascriptAggregator | jaggr-service/src/main/java/com/ibm/jaggr/service/util/ConsoleHttpServletRequest.java | 9997 | /*
* (C) Copyright IBM Corp. 2012, 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 re... | apache-2.0 |
Cyan3/oodt | catalog/src/main/java/org/apache/oodt/cas/catalog/mapping/DataSourceIngestMapper.java | 11265 | /*
* 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 |
DustinCampbell/roslyn | src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_SuppressNullableWarningExpression.cs | 460 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.CodeAnalysis.CSharp
{
internal sealed partial class LocalRewriter
{
public override BoundNode VisitSuppressNullableWarnin... | apache-2.0 |
markflyhigh/incubator-beam | sdks/java/extensions/sorter/src/main/java/org/apache/beam/sdk/extensions/sorter/NativeFileSorter.java | 10484 | /*
* 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 |
jpettitt/amphtml | extensions/amp-youtube/1.0/amp-youtube.js | 671 | import {isExperimentOn} from '#experiments';
import {BaseElement} from './base-element';
import {CSS} from '../../../build/amp-youtube-1.0.css';
import {userAssert} from '../../../src/log';
/** @const {string} */
const TAG = 'amp-youtube';
class AmpYoutube extends BaseElement {
/** @override */
isLayoutSupporte... | apache-2.0 |
chizou/geowave | test/src/main/java/mil/nga/giat/geowave/test/GeoWaveITSuiteRunner.java | 2749 | package mil.nga.giat.geowave.test;
import java.lang.reflect.Method;
import java.util.Collections;
import java.util.List;
import org.junit.internal.runners.statements.RunAfters;
import org.junit.runner.Runner;
import org.junit.runner.notification.RunNotifier;
import org.junit.runners.Suite;
import org.junit.runners.mo... | apache-2.0 |
waynedovey/fig | fig/packages/docker/client.py | 31414 | # Copyright 2013 dotCloud 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... | apache-2.0 |
harunurhan/presto | presto-main/src/main/java/com/facebook/presto/sql/planner/PlanOptimizersFactory.java | 7768 | /*
* 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
* distribut... | apache-2.0 |
wangcy6/storm_app | frame/c++/webrtc-master/video/video_stream_decoder.cc | 5438 | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | apache-2.0 |
P1start/rust | src/libsyntax/ext/tt/macro_rules.rs | 10609 | // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | apache-2.0 |
devendermishrajio/nova | nova/tests/unit/scheduler/test_filter_scheduler.py | 14803 | # Copyright 2011 OpenStack Foundation
# 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 requ... | apache-2.0 |
ty1er/incubator-asterixdb | asterixdb/asterix-algebra/src/main/java/org/apache/asterix/optimizer/rules/FuzzyEqRule.java | 6591 | /*
* 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 |
gencer/libphonenumber-for-php | src/data/ShortNumberMetadata_BA.php | 2263 | <?php
/**
* This file has been @generated by a phing task by {@link BuildMetadataPHPFromXml}.
* See [README.md](README.md#generating-data) for more information.
*
* Pull requests changing data in these files will not be accepted. See the
* [FAQ in the README](README.md#problems-with-invalid-numbers] on how to make... | apache-2.0 |
aStonegod/Mycat-Server | src/main/java/org/opencloudb/sqlengine/Catlet.java | 389 | package org.opencloudb.sqlengine;
/**
* mycat catlet ,used to execute sql and return result to client,some like
* database's procedure.
* must implemented as a stateless class and can process many SQL concurrently
*
* @author wuzhih
*
*/
public interface Catlet {
/*
* execute sql in EngineCtx and return ... | apache-2.0 |
apache/helix | helix-core/src/test/java/org/apache/helix/TestHelixConfigAccessor.java | 9907 | package org.apache.helix;
/*
* 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... | apache-2.0 |
apache/jackrabbit-oak | oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/write/NodeTypeRegistry.java | 5611 | /*
* 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 |
skotzko/akka.net | src/core/Akka/Util/StandardOutWriter.cs | 3068 | //-----------------------------------------------------------------------
// <copyright file="StandardOutWriter.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>... | apache-2.0 |
AndroidX/androidx | core/core-google-shortcuts/src/main/java/androidx/core/google/shortcuts/converters/IndexableKeys.java | 1186 | /*
* Copyright 2021 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
*
* Unless required by applica... | apache-2.0 |
imeoer/hypercli | pkg/sysinfo/sysinfo.go | 3277 | package sysinfo
import "github.com/hyperhq/hypercli/pkg/parsers"
// SysInfo stores information about which features a kernel supports.
// TODO Windows: Factor out platform specific capabilities.
type SysInfo struct {
// Whether the kernel supports AppArmor or not
AppArmor bool
// Whether the kernel supports Seccom... | apache-2.0 |
frosenberg/kubernetes | pkg/expapi/v1/types.go | 8488 | /*
Copyright 2015 The Kubernetes 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 ag... | apache-2.0 |
porcelli-forks/uberfire | uberfire-nio2-backport/uberfire-nio2-impls/uberfire-nio2-jgit/src/test/java/org/uberfire/java/nio/fs/jgit/JGitFileSystemProviderUnsupportedOpTest.java | 4849 | /*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* 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 a... | apache-2.0 |
adit-chandra/tensorflow | tensorflow/lite/examples/experimental_new_converter/stack_trace_example.py | 3058 | # Copyright 2019 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 |
mikedougherty/docker | vendor/github.com/docker/swarmkit/ca/certificates.go | 22258 | package ca
import (
"bytes"
"crypto"
"crypto/ecdsa"
"crypto/rand"
"crypto/tls"
"crypto/x509"
"encoding/pem"
"io"
"io/ioutil"
"os"
"path/filepath"
"time"
cfcsr "github.com/cloudflare/cfssl/csr"
"github.com/cloudflare/cfssl/helpers"
"github.com/cloudflare/cfssl/initca"
cflog "github.com/cloudflare/cfssl... | apache-2.0 |
sbhowmik89/oppia | scripts/pre_commit_linter.py | 11724 | # coding: utf-8
#
# Copyright 2014 The Oppia 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 requi... | apache-2.0 |
jt70471/aws-sdk-cpp | aws-cpp-sdk-awstransfer/source/model/ListedUser.cpp | 2777 | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/awstransfer/model/ListedUser.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namesp... | apache-2.0 |
nbuchanan/node-gdal | deps/libgdal/gdal/ogr/ogrsf_frmts/db2/ogrdb2cli.cpp | 59095 | /*****************************************************************************
*
* Project: DB2 Spatial driver
* Purpose: Implements DB2-specific SQL support.
* Author: David Adler, dadler at adtechgeospatial dot com
*
*****************************************************************************
* Copyright ... | apache-2.0 |
raphandowski/UDIHISProject | vendor/predis/predis/examples/DispatcherLoop.php | 2125 | <?php
/*
* This file is part of the Predis package.
*
* (c) Daniele Alessandri <suppakilla@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
require 'SharedConfigurations.php';
/*
This is a basic example o... | apache-2.0 |