repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
KengoTODA/spotbugs | spotbugsTestCases/src/java/UnreadFieldFalsePositiveAtomicUpdater.java | 1422 | import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
/*
From Cliff Click:
I ran findbugs on my NonBlockingHashMap,
https://sourceforge.net/projects/high-scale-lib
findbugs apparently does not recognize AtomicReferenceFieldUpdater's as modifying fields. Or at least, I get "never written" errors for a... | lgpl-2.1 |
AltarBeastiful/qt-creator | tests/auto/qml/codemodel/importscheck/tst_importscheck.cpp | 12061 | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | lgpl-2.1 |
xin3liang/platform_external_mp4v2 | src/atom_d263.cpp | 2710 | /*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (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.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS... | lgpl-2.1 |
tomkun/stem | test/integ/process.py | 4819 | """
Tests the stem.process functions with various use cases.
"""
import os
import shutil
import subprocess
import tempfile
import time
import unittest
import stem.prereq
import stem.process
import stem.socket
import stem.util.system
import stem.version
import test.runner
from test import mocking
def _kill_process(... | lgpl-3.0 |
yorae/pcsx2-clang | pcsx2/FPU.cpp | 11585 | /* PCSX2 - PS2 Emulator for PCs
* Copyright (C) 2002-2010 PCSX2 Dev Team
*
* PCSX2 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 Free Software Found-
* ation, either version 3 of the License, or (at your option) any l... | lgpl-3.0 |
edwinspire/VSharp | class/System.XML/Test/System.Xml/XmlDeclarationTests.cs | 6873 | //
// System.Xml.XmlDeclarationTests.cs
//
// Author: Duncan Mak (duncan@ximian.com)
// Author: Martin Willemoes Hansen (mwh@sysrq.dk)
//
// (C) Ximian, Inc.
// (C) 2003 Martin Willemoes Hansen
//
using System;
using System.IO;
using System.Xml;
using NUnit.Framework;
namespace MonoTests.System.Xml
{
[TestFixture]... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/commands/defuseMinefield.lua | 2138 | --Copyright (C) 2007 <SWGEmu>
--This File is part of Core3.
--This program 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 Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
... | lgpl-3.0 |
Alfresco/community-edition | modules/sharepoint/amp/source/java/org/alfresco/module/vti/web/fp/LockMethod.java | 6012 | /*
* #%L
* Alfresco Sharepoint Protocol
* %%
* 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 ... | lgpl-3.0 |
sijp/3dewii | base/jquery-ui/tests/unit/dialog/dialog_options.js | 13068 | /*
* dialog_options.js
*/
(function($) {
module("dialog: options");
test("autoOpen", function() {
expect(2);
el = $('<div></div>').dialog({ autoOpen: false });
isNotOpen('.dialog({ autoOpen: false })');
el.remove();
el = $('<div></div>').dialog({ autoOpen: true });
isOpen('.dialog({ autoOpen: true })');
... | lgpl-3.0 |
synasius/backyard | opengl/sb6/framework/src/multiscissor/multiscissor.cpp | 12502 | /*
* Copyright © 2012-2013 Graham Sellers
*
* 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, me... | unlicense |
nounoursheureux/MCServer | src/BlockEntities/EnderChestEntity.cpp | 2152 |
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include "EnderChestEntity.h"
#include "json/json.h"
#include "../Item.h"
#include "../Entities/Player.h"
#include "../UI/EnderChestWindow.h"
#include "../ClientHandle.h"
#include "../Mobs/Ocelot.h"
cEnderChestEntity::... | apache-2.0 |
jonlives/chef | spec/support/shared/integration/knife_support.rb | 6178 | #
# Author:: John Keiser (<jkeiser@chef.io>)
# Copyright:: Copyright 2013-2017, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# 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
#
# ... | apache-2.0 |
SalesforceSFDC/aura | aura/src/main/java/org/auraframework/def/design/DesignItemsDef.java | 942 | /*
* Copyright (C) 2013 salesforce.com, 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 ... | apache-2.0 |
jnickels/reactive-flows | src/test/scala/de/heikoseeberger/reactiveflows/MessageEventPublisherSpec.scala | 1854 | /*
* Copyright 2015 Heiko Seeberger
*
* 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 |
intentionet/batfish | projects/batfish/src/main/java/org/batfish/representation/f5_bigip/BuiltinProfileQoe.java | 1053 | package org.batfish.representation.f5_bigip;
import com.google.common.collect.ImmutableMap;
import java.util.Arrays;
import java.util.Map;
import java.util.function.Function;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.annotation.ParametersAreNonnullByDefault;
/** Enumeration of bu... | apache-2.0 |
kironapublic/vaadin | compatibility-server/src/test/java/com/vaadin/v7/data/fieldgroup/DefaultFieldGroupFieldFactoryTest.java | 3901 | /*
* Copyright 2000-2016 Vaadin 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 or agreed to... | apache-2.0 |
msebire/intellij-community | platform/lang-impl/src/com/intellij/util/textCompletion/TextCompletionUtil.java | 3796 | // Copyright 2000-2018 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.util.textCompletion;
import com.intellij.codeInsight.AutoPopupController;
import com.intellij.codeInsight.hint.HintManager;
import com.intellij.openapi.actio... | apache-2.0 |
tcmoore32/sheer-madness | gosu-core-api/src/main/java/gw/util/diff/sorted/DiffIterator.java | 2683 | /*
* Copyright 2014 Guidewire Software, Inc.
*/
package gw.util.diff.sorted;
import java.util.Comparator;
import java.util.Iterator;
import java.util.NoSuchElementException;
public class DiffIterator<T> implements Iterator<Diff<T>> {
private final Iterator<T> _oldIterator;
private final Iterator<T> _newIterat... | apache-2.0 |
whitingjr/JbossWeb_7_2_0 | src/main/java/org/apache/catalina/core/JasperListener.java | 2179 | /*
* 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 |
scalapb/ScalaPB | scalapb-runtime/src/main/scala-2.12/scalapb/textformat/ParserCompat.scala | 47 | package scalapb.textformat
trait ParserCompat
| apache-2.0 |
skotzko/akka.net | src/examples/Stocks/SymbolLookup/MainForm.Designer.cs | 9484 | //-----------------------------------------------------------------------
// <copyright file="MainForm.Designer.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 |
tsachev/spring-boot | spring-boot-project/spring-boot/src/main/java/org/springframework/boot/jdbc/EmbeddedDatabaseConnection.java | 4961 | /*
* Copyright 2012-2018 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 |
suhothayan/siddhi | modules/siddhi-core/src/main/java/io/siddhi/core/util/parser/JoinInputStreamParser.java | 28015 | /*
* Copyright (c) 2016, 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.or... | apache-2.0 |
LaphiLee/bi-platform | designer/src/main/java/com/baidu/rigel/biplatform/ma/regular/utils/RegularReportDataFileUtils.java | 4591 |
/**
* Copyright (c) 2015 Baidu, Inc. 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
*
* Unle... | apache-2.0 |
Daniel-Svensson/OpenRiaServiecs | OpenRiaServices.DomainServices.LinqToSql/Framework/LinqToSqlDomainService.cs | 9640 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data.Linq;
using System.Diagnostics;
using System.Linq;
using OpenRiaServices.DomainServices.Server;
using ChangeSet = OpenRiaServices.DomainServices.Server.ChangeSet;
namespace OpenRiaServices.DomainServices.LinqToSql
{
///... | apache-2.0 |
sergecodd/FireFox-OS | B2G/gecko/ipc/chromium/src/base/file_descriptor_shuffle_unittest.cc | 8801 | // Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/file_descriptor_shuffle.h"
#include "testing/gtest/include/gtest/gtest.h"
using base::InjectiveMultimap;
using base::InjectionArc;
usi... | apache-2.0 |
michaelgallacher/intellij-community | plugins/svn4idea/src/org/jetbrains/idea/svn/actions/AbstractShowPropertiesDiffAction.java | 12642 | /*
* 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 |
intentionet/batfish | projects/question/src/main/java/org/batfish/question/f5_bigip/F5BigipVipConfigurationQuestion.java | 1231 | package org.batfish.question.f5_bigip;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import org.batfish.datamodel.questions.Question;
impor... | apache-2.0 |
ern/elasticsearch | x-pack/plugin/ql/src/main/java/org/elasticsearch/xpack/ql/expression/function/scalar/string/BinaryComparisonCaseInsensitiveFunction.java | 3890 | /*
* 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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.ql.expression.function.scalar.stri... | apache-2.0 |
groboclown/p4ic4idea | p4java/src/main/java/com/perforce/p4java/server/delegator/IReviewsDelegator.java | 2570 | package com.perforce.p4java.server.delegator;
import java.util.List;
import com.perforce.p4java.core.IUserSummary;
import com.perforce.p4java.core.file.IFileSpec;
import com.perforce.p4java.exception.AccessException;
import com.perforce.p4java.exception.ConnectionException;
import com.perforce.p4java.exception.P4Java... | apache-2.0 |
jastice/intellij-scala | scala/scala-impl/src/org/jetbrains/plugins/scala/extensions/&&.scala | 153 | package org.jetbrains.plugins.scala
package extensions
/**
* Pavel Fatin
*/
object && {
def unapply[T](obj: T): Option[(T, T)] = Some((obj, obj))
} | apache-2.0 |
Ile2/struts2-showcase-demo | src/apps/showcase/src/main/java/org/apache/struts2/showcase/MoreSelectsAction.java | 3433 | /*
* $Id$
*
* 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
* "Lice... | apache-2.0 |
tyth/elastic4s | elastic4s-tests/src/test/scala/com/sksamuel/elastic4s/search/aggs/AvgAggregationTest.scala | 967 | package com.sksamuel.elastic4s.search.aggs
import org.elasticsearch.search.aggregations.metrics.avg.InternalAvg
class AvgAggregationTest extends AbstractAggregationTest {
"avg aggregation" - {
"should average by field" in {
val resp = client.execute {
search("aggregations/breakingbad") aggregatio... | apache-2.0 |
gemini-testing/selenium | java/client/src/org/openqa/selenium/remote/DriverCommand.java | 6343 | // Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | apache-2.0 |
bdarnell/etcd | etcdserver/api/rafthttp/functional_test.go | 4970 | // Copyright 2015 The etcd 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 t... | apache-2.0 |
Dubland/kaa | client/client-multi/client-java-core/src/main/java/org/kaaproject/kaa/client/logging/LogFailoverCommand.java | 785 | /*
* Copyright 2014-2016 CyberVision, 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 o... | apache-2.0 |
langfr/camunda-bpm-platform | model-api/bpmn-model/src/test/java/org/camunda/bpm/model/bpmn/instance/ImportTest.java | 1474 | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | apache-2.0 |
JinXinDeep/tensorflow | tensorflow/core/framework/tensor.cc | 20273 | /* Copyright 2015 Google Inc. 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 ... | apache-2.0 |
nii-cloud/dodai-compute | nova/__init__.py | 1331 | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compli... | apache-2.0 |
mdittmer/foam | js/foam/navigator/views/TypeCitationView.js | 1450 | /**
* @license
* Copyright 2015 Google Inc. 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 requir... | apache-2.0 |
eXcomm/autopsy | Core/src/org/sleuthkit/autopsy/filesearch/SizeSearchPanel.java | 7883 | /*
* Autopsy Forensic Browser
*
* Copyright 2011 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> 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://ww... | apache-2.0 |
naveedaz/azure-powershell | src/Common/Commands.Common.Network/Version2017_10_01/Models/AuthorizationUseStatus.cs | 682 | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | apache-2.0 |
lewismc/oodt | xmlquery/src/main/java/org/apache/oodt/xmlquery/ObjectCodec.java | 3833 | /*
* 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 |
bykoianko/omim | generator/unpack_mwm.cpp | 957 | #include "generator/unpack_mwm.hpp"
#include "coding/file_container.hpp"
#include "coding/file_writer.hpp"
#include "coding/read_write_utils.hpp"
#include "base/logging.hpp"
#include "base/stl_helpers.hpp"
#include <algorithm>
#include <vector>
using namespace std;
void UnpackMwm(string const & filePath)
{
LOG(L... | apache-2.0 |
tarikgwa/test | html/app/code/Magento/Newsletter/Controller/Adminhtml/Template/Drop.php | 468 | <?php
/**
*
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Newsletter\Controller\Adminhtml\Template;
class Drop extends \Magento\Newsletter\Controller\Adminhtml\Template
{
/**
* Drop Newsletter Template
*
* @return void
*/
pu... | apache-2.0 |
sonatype/maven-demo | maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java | 4327 | package org.apache.maven.model.building;
/*
* 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 Lic... | apache-2.0 |
jmuk/mixer | cmd/server/cmd/inventory.go | 2694 | // Copyright 2017 Istio 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 i... | apache-2.0 |
InfoSec812/vertx-web | vertx-web/src/test/sockjs-protocol/ws4py/websocket.py | 17891 | # -*- coding: utf-8 -*-
import logging
import socket
import ssl
import time
import threading
import types
import errno
try:
from OpenSSL.SSL import Error as pyOpenSSLError
except ImportError:
class pyOpenSSLError(Exception):
pass
from ws4py import WS_KEY, WS_VERSION
from ws4py.exc import HandshakeErro... | apache-2.0 |
apache/fop | fop-core/src/main/java/org/apache/fop/svg/ACIUtils.java | 7262 | /*
* 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 |
icfantv/deck | app/scripts/modules/titus/src/serverGroup/details/TitusLaunchConfigSection.tsx | 1429 | import React from 'react';
import { Overridable, LabeledValue, LabeledValueList } from '@spinnaker/core';
import { ITitusServerGroup } from 'titus/domain';
interface ILaunchConfigSectionProps {
serverGroup: ITitusServerGroup;
}
@Overridable('titus.serverGroup.launchConfigSection')
export class TitusLaunchConfigSect... | apache-2.0 |
bradh/geowave | core/store/src/main/java/mil/nga/giat/geowave/core/ingest/IngestDimensionalityTypeProviderSpi.java | 1833 | package mil.nga.giat.geowave.core.ingest;
/**
* This interface can be injected using SPI to determine which supported index
* for an ingest type will be used.
*
*/
public interface IngestDimensionalityTypeProviderSpi
{
/**
* get a visitor than can assess the compatibility of an index
*
* @return a visitor... | apache-2.0 |
kevin-coder/tensorflow-fork | tensorflow/core/common_runtime/hierarchical_tree_broadcaster.cc | 18064 | /* Copyright 2018 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 |
googleapis/google-api-java-client-services | clients/google-api-services-vision/v1/1.29.2/com/google/api/services/vision/v1/model/GoogleCloudVisionV1p2beta1OutputConfig.java | 4543 | /*
* 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 distributed under t... | apache-2.0 |
Java8-CNAPI-Team/Java8CN | java/awt/geom/Dimension2D.java | 2913 | /*
* Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.awt.geom;
/**
* The <code>Dimension2D</code> class is to encapsulate a width
* and a he... | apache-2.0 |
monix/monix | monix-reactive/shared/src/test/scala/monix/reactive/consumers/LoadBalanceConsumerSuite.scala | 11295 | /*
* Copyright (c) 2014-2021 by The Monix Project Developers.
* See the project homepage at: https://monix.io
*
* 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... | apache-2.0 |
pcler/jetstream | jetstreamcore/src/main/java/com/ebay/jetstream/config/ConfigDirectory.java | 1777 | /*******************************************************************************
* Copyright © 2012-2015 eBay Software Foundation
* This program is dual licensed under the MIT and Apache 2.0 licenses.
* Please see LICENSE for more information.
*****************************************************************... | apache-2.0 |
a-manumohan/finagle | finagle-redis/src/test/scala/com/twitter/finagle/redis/commands/sorted-set/SortedSetCodecSuite.scala | 16059 | package com.twitter.finagle.redis.protocol
import com.twitter.finagle.redis.ClientError
import com.twitter.finagle.redis.naggati.RedisRequestTest
import com.twitter.finagle.redis.tags.CodecTest
import com.twitter.finagle.redis.util.{CBToString, BytesToString, StringToChannelBuffer}
import org.jboss.netty.buffer.{Chann... | apache-2.0 |
zero-rp/miniblink49 | gen/blink/bindings/modules/v8/V8StorageInfo.cpp | 5861 | // 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.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "config.h"
#include "V8StorageInfo.h"
#include "bindings/... | apache-2.0 |
shroman/ignite | modules/core/src/main/java/org/apache/ignite/spi/failover/always/AlwaysFailoverSpi.java | 12393 | /*
* 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 |
q474818917/solr-5.2.0 | lucene/core/src/test/org/apache/lucene/search/TestShardSearching.java | 14375 | package org.apache.lucene.search;
/*
* 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, Versi... | apache-2.0 |
Aegeaner/spark | sql/core/src/test/scala/org/apache/spark/sql/JoinSuite.scala | 34475 | /*
* 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 |
tarikgwa/test | html/app/code/Magento/Cms/Block/Adminhtml/Block.php | 570 | <?php
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Cms\Block\Adminhtml;
/**
* Adminhtml cms blocks content block
*/
class Block extends \Magento\Backend\Block\Widget\Grid\Container
{
/**
* @return void
*/
protected function _con... | apache-2.0 |
apache/incubator-sentry | sentry-policy/sentry-policy-kafka/src/test/java/org/apache/sentry/policy/kafka/MockGroupMappingServiceProvider.java | 1405 | /*
* 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 |
romankagan/DDBWorkbench | python/testData/refactoring/extractmethod/Nonlocal.after.py | 151 | def foo():
x = 1
def baz():
nonlocal x
x = 2
def bar():
nonlocal x
baz()
print(x)
bar()
foo() | apache-2.0 |
srowen/oryx | framework/oryx-common/src/main/java/com/cloudera/oryx/common/lang/ClassUtils.java | 4916 | /*
* Copyright (c) 2014, Cloudera, Inc. All Rights Reserved.
*
* Cloudera, 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.org/licenses/LICE... | apache-2.0 |
stdweird/aquilon | upgrade/1.4.5/aquilon/aqdb/model/service_instance.py | 2560 | # -*- cpy-indent-level: 4; indent-tabs-mode: nil -*-
# ex: set expandtab softtabstop=4 shiftwidth=4:
#
# Copyright (C) 2008,2009,2010,2013 Contributor
#
# 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 Li... | apache-2.0 |
monix/monix | monix-eval/shared/src/main/scala/monix/eval/Fiber.scala | 2686 | /*
* Copyright (c) 2014-2021 by The Monix Project Developers.
* See the project homepage at: https://monix.io
*
* 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... | apache-2.0 |
sternshus/Arelle | arelle/examples/LoadValidatePostedZip.java | 1667 | import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.net.HttpURLConnection;
import java.net.URL;
public class LoadValidatePos... | apache-2.0 |
jcamachor/hive | standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TruncateTableResponse.java | 8717 | /**
* Autogenerated by Thrift Compiler (0.14.1)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.hadoop.hive.metastore.api;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
@javax.annotation.Generated(value = "Autogenerated by Thrift ... | apache-2.0 |
tourea/docker-java | src/main/java/com/github/dockerjava/api/model/ErrorResponse.java | 618 | package com.github.dockerjava.api.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
@JsonInclude(Include.NON_NULL)
public class ErrorResponse implements Serializab... | apache-2.0 |
tombujok/hazelcast | hazelcast-client/src/test/java/com/hazelcast/client/txn/ClientTxnListTest.java | 3053 | /*
* Copyright (c) 2008-2017, Hazelcast, Inc. 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 ... | apache-2.0 |
DaanVanYperen/artemis-odb | artemis-core/artemis/src/main/java/com/artemis/WorldConfigurationException.java | 397 | package com.artemis;
import java.lang.RuntimeException;import java.lang.String;import java.lang.Throwable; /**
* World configuration failed.
*
* @author Daan van Yperen
*/
public class WorldConfigurationException extends RuntimeException {
public WorldConfigurationException(String msg) {
super(msg);
}
public... | apache-2.0 |
AnalyticalGraphicsInc/cesium | Specs/Scene/AxisSpec.js | 1311 | import { Cartesian4 } from "../../Source/Cesium.js";
import { Math as CesiumMath } from "../../Source/Cesium.js";
import { Matrix4 } from "../../Source/Cesium.js";
import { Axis } from "../../Source/Cesium.js";
describe("Scene/Axis", function () {
function convertUpAxis(upAxis, transformation, expected) {
var tr... | apache-2.0 |
STAH/OpenRiaServices | OpenRiaServices.DomainServices.Tools/Framework/CodeMemberShareKind.cs | 1713 | using System;
namespace OpenRiaServices.DomainServices.Tools
{
/// <summary>
/// Enum type that describes how code elements are shared
/// between two projects.
/// </summary>
/// <remarks>Shared code elements are those that are visible
/// to both projects, either though shared source files
... | apache-2.0 |
orbitfp7/horizon | horizon/static/horizon/js/horizon.instances.js | 10161 | horizon.instances = {
user_decided_length: false,
user_volume_size: false,
networks_selected: [],
networks_available: [],
getConsoleLog: function(via_user_submit) {
var form_element = $("#tail_length"),
data;
if (!via_user_submit) {
via_user_submit = false;
}
if(this.user_decide... | apache-2.0 |
michaelandrepearce/activemq-artemis | tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/jms/cluster/JMSFailoverTest.java | 18384 | /*
* 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 |
kamransaleem/waltz | waltz-ng/client/system/system-admin-list.js | 1368 | /*
* Waltz - Enterprise Architecture
* Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project
* See README.md for more information
*
* 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 ... | apache-2.0 |
kuujo/onos | apps/tenbi/utils/src/main/java/org/onosproject/teyang/utils/topology/package-info.java | 783 | /*
* Copyright 2016 Open Networking Foundation
*
* 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 |
mith1979/ansible_automation | applied_python/applied_python/lib/python2.7/site-packages/pylint/test/unittest_lint.py | 27410 | # Copyright (c) 2003-2014 LOGILAB S.A. (Paris, FRANCE).
# 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) any later
# version.
#
# This program... | apache-2.0 |
medicayun/medicayundicom | dcm4jboss-all/branches/DCM4JBOSS_2_4_9/dcm4jboss-sar/src/java/org/dcm4chex/archive/dcm/ianscu/IANScuService.java | 12290 | /******************************************
* *
* dcm4che: A OpenSource DICOM Toolkit *
* *
* Distributable under LGPL license. *
* See terms of license at gnu.org. *
* *
***********... | apache-2.0 |
intentionet/batfish | projects/batfish-common-protocol/src/main/java/org/batfish/datamodel/routing_policy/expr/MatchProtocol.java | 2809 | package org.batfish.datamodel.routing_policy.expr;
import static com.google.common.base.Preconditions.checkArgument;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.MoreObjects;
import com.google.common.collect.ImmutableSet;
impo... | apache-2.0 |
int19h/PTVS | Python/Product/Debugger.Concord/Proxies/Structs/PyListObject.cs | 2667 | // Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// 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
//... | apache-2.0 |
songtong/hermes | hermes-broker/src/main/java/com/ctrip/hermes/broker/queue/AbstractMessageQueue.java | 16581 | package com.ctrip.hermes.broker.queue;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.LinkedBlockingQueu... | apache-2.0 |
coreos/aws-auth-proxy | vendor/github.com/feyeleanor/slices/int32.go | 13446 | package slices
import (
"fmt"
"strings"
)
type I32Slice []int32
func (s I32Slice) Len() int { return len(s) }
func (s I32Slice) Cap() int { return cap(s) }
func (s I32Slice) At(i int) interface{} { return s[i] }
func (s I32Slice) Set(i int, v interface{}) { s[i] = v.(int32) }
func (s I32Slice) Cl... | apache-2.0 |
seaclouds-atos/softcare-final-implementation | softcare-gui/src/eu/ehealth/controllers/AladdinFormControllerWindow.java | 38780 | package eu.ehealth.controllers;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import org.zkoss.util.resource.Labels;
import org.zkoss.zk.ui.event.Event;
import org.zkoss.zk.ui.event.EventListener;
import org.zkoss.zul.Button;
import org.zkoss.zul.Checkbox;
import org.zkoss.zul.Column;
i... | apache-2.0 |
anastasia143/qreal | qrgui/editor/private/brokenLine.cpp | 5184 | /* Copyright 2007-2015 QReal Research 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 law or... | apache-2.0 |
duynguyen/incubator-openwhisk | common/scala/src/main/scala/whisk/core/entity/WhiskAuth.scala | 2447 | /*
* 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 |
flingone/frameworks_base_cmds_remoted | libs/boost/libs/fusion/test/sequence/adapt_adt_named.cpp | 4223 | /*=============================================================================
Copyright (c) 2001-2009 Joel de Guzman
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)
====================================... | apache-2.0 |
nknize/elasticsearch | server/src/test/java/org/elasticsearch/search/aggregations/bucket/sampler/DiversifiedSamplerTests.java | 10678 | /*
* 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 |
ucare-uchicago/cass-fate-system | contrib/mutex/src/org/apache/cassandra/mutex/ClusterMutex.java | 11797 | /**
* 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 |
falko/camunda-bpm-platform | engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/dto/task/GroupInfoDto.java | 1385 | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | apache-2.0 |
masukomi/mobtvse | vendor/bundle/gems/spork-0.9.0/spec/support/fake_framework.rb | 282 | class FakeFramework < Spork::TestFramework
include Spork::TestIOStreams
attr_accessor :wait_time
DEFAULT_PORT = 1000
def self.helper_file
SPEC_TMP_DIR + "/fake/test_helper.rb"
end
def run_tests(argv, input, output)
sleep(@wait_time || 0.5)
true
end
end
| apache-2.0 |
mingbotang/dubbo | dubbo-registry/dubbo-registry-default/src/test/java/com/alibaba/dubbo/registry/dubbo/MockChannel.java | 2956 | /*
* Copyright 1999-2011 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 |
dana-i2cat/felix | expedient/src/python/omnilib/omnispec/__init__.py | 1291 | #----------------------------------------------------------------------
# Copyright (c) 2010 Raytheon BBN Technologies
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and/or hardware specification (the "Work") to
# deal in the Work without restriction, including witho... | apache-2.0 |
impetus-opensource/Kundera | src/jpa-engine/core/src/main/java/com/impetus/kundera/index/Index.java | 2046 | /*******************************************************************************
* * Copyright 2012 Impetus Infotech.
* *
* * 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
* *
*... | apache-2.0 |
TribeMedia/aura | aura-impl/src/main/java/org/auraframework/impl/css/flavor/FlavorAssortmentDefImpl.java | 7363 | /*
* Copyright (C) 2013 salesforce.com, 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 ... | apache-2.0 |
anoordover/camel | camel-core/src/test/java/org/apache/camel/management/ManagedInterceptFromTest.java | 1982 | /**
* 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 |
nikhilnanivadekar/reladomo | reladomo/src/test/java/com/gs/fw/common/mithra/test/domain/ProductSynonymDatabaseObject.java | 730 |
/*
Copyright 2016 Goldman Sachs.
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 writi... | apache-2.0 |
ingorichtsmeier/camunda-bpm-platform | qa/performance-tests-engine/src/main/java/org/camunda/bpm/qa/performance/engine/junit/AuthHelper.java | 1743 | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | apache-2.0 |
mmartche/coach | admin/language/pt-br/design/theme.php | 853 | <?php
// Heading
$_['heading_title'] = 'Editor de tema';
// Text
$_['text_success'] = 'Editor de tema modificado com sucesso!';
$_['text_edit'] = 'Editando tema';
$_['text_store'] = 'Selecione a loja';
$_['text_template'] = 'Selecione o tema';
$_['text_default'] = 'Padrão';
$_['text_warning'... | apache-2.0 |