code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
/* * Copyright (C) 2016 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...
antoniodiraff/ExoPlayer_Library_0.1
library/core/src/main/java/com/google/android/exoplayer2/audio/AudioTrack.java
Java
apache-2.0
67,155
/** * Copyright (C) 2013-2015 Vasilis Vryniotis <bbriniotis@datumbox.com> * * 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 * ...
tomdev2008/datumbox-framework
src/test/java/com/datumbox/framework/machinelearning/topicmodeling/LatentDirichletAllocationTest.java
Java
apache-2.0
4,388
/* * 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 not ...
smgoller/geode
geode-for-redis/src/test/java/org/apache/geode/redis/internal/netty/CoderTest.java
Java
apache-2.0
11,053
/* * 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 ...
yonglehou/cassandra
src/java/org/apache/cassandra/db/filter/ColumnFilter.java
Java
apache-2.0
15,183
package com.augtech.geoapi.geometry; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import org.opengis.geometry.BoundingBox; import com.augtech.geoapi.referncing.CoordinateReferenceSystemImpl; import com.vividsolutions.jts.geom.Coordin...
opengeospatial/Java-OpenMobility
AugTech_GeoAPI_Impl/com/augtech/geoapi/geometry/OSMTile.java
Java
apache-2.0
9,328
/** * Copyright (c) 2010 Yahoo! 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 applic...
sunmeng007/oozie
core/src/test/java/org/apache/oozie/command/bundle/TestBundlePurgeXCommand.java
Java
apache-2.0
10,935
/* * 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...
android-ia/platform_tools_idea
platform/platform-tests/testSrc/com/intellij/application/options/codeInsight/editor/quotes/SelectionQuotingTypedHandlerTest.java
Java
apache-2.0
6,287
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
papicella/snappy-store
tests/core/src/main/java/jta/JTAUtil.java
Java
apache-2.0
2,888
/* * 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.spatial.index.mapper; import org....
ern/elasticsearch
x-pack/plugin/spatial/src/test/java/org/elasticsearch/xpack/spatial/index/mapper/GeoShapeWithDocValuesFieldTypeTests.java
Java
apache-2.0
6,479
package org.jetbrains.plugins.gradle.service.project; import com.intellij.externalSystem.JavaProjectData; import com.intellij.openapi.externalSystem.model.DataNode; import com.intellij.openapi.externalSystem.model.ExternalSystemException; import com.intellij.openapi.externalSystem.model.ProjectKeys; import com.intelli...
android-ia/platform_tools_idea
plugins/gradle/src/org/jetbrains/plugins/gradle/service/project/GradleProjectResolver.java
Java
apache-2.0
23,281
// // IconLib.java // xal // // Created by Thomas Pelaia on 3/1/06. // Copyright 2006 Oak Ridge National Lab. All rights reserved. // package xal.tools; import java.net.URL; import javax.swing.Icon; import javax.swing.ImageIcon; /** Fetch icons by name */ public class IconLib { /** Enum for groups of icons in ...
openxal/openxal
core/src/xal/tools/IconLib.java
Java
bsd-3-clause
3,711
/** * PolynomialFitter.java * * Author : Christopher K. Allen * Since : Sep 24, 2015 */ package xal.tools.math.fnc.poly; import java.util.List; import xal.tools.math.Interval; import xal.tools.math.fnc.RealFunctionSamples; /** * Class representing an uni-variate real polynomial used for the expressed purpos...
luxiaohan/openxal-csns-luxh
core/src/xal/tools/math/fnc/poly/PolynomialFitter.java
Java
bsd-3-clause
4,539
/* * Copyright (c) 2004-2022, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of cond...
dhis2/dhis2-core
dhis-2/dhis-api/src/main/java/org/hisp/dhis/audit/payloads/TrackedEntityInstanceAudit.java
Java
bsd-3-clause
5,452
/** * Copyright (c) 2013, impossibl.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of cond...
frode-carlsen/pgjdbc-ng
src/main/java/com/impossibl/postgres/jdbc/PGStatement.java
Java
bsd-3-clause
17,446
/* * Copyright 2016, Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions a...
nmittler/grpc-java
thrift/src/main/java/io/grpc/thrift/ThriftUtils.java
Java
bsd-3-clause
4,065
// // ViewNodeListener.java // xal // // Created by Thomas Pelaia on 6/29/06. // Copyright 2006 Oak Ridge National Lab. All rights reserved. // package xal.extension.bricks; import java.util.List; /** processor of view node events */ public interface ViewNodeListener extends BrickListener { }
openxal/openxal
extensions/bricks/src/xal/extension/bricks/ViewNodeListener.java
Java
bsd-3-clause
302
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser; import org.chromium.base.annotations.JNINamespace; import org.chromium.base.annotations.MainDex; /** * Java access...
axinging/chromium-crosswalk
chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java
Java
bsd-3-clause
1,410
/* * Copyright (c) 2004-2022, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of cond...
dhis2/dhis2-core
dhis-2/dhis-support/dhis-support-artemis/src/main/java/org/hisp/dhis/artemis/config/ArtemisConfigData.java
Java
bsd-3-clause
4,356
/* * BridJ - Dynamic and blazing-fast native interop for Java. * http://bridj.googlecode.com/ * * Copyright (c) 2010-2015, Olivier Chafik (http://ochafik.com/) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following ...
nativelibs4java/BridJ
src/main/java/org/bridj/cpp/mfc/MFCObject.java
Java
bsd-3-clause
2,248
/* * Copyright (c) 2004-2022, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of cond...
hispindia/dhis2-Core
dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/DataElementGroupSetDimension.java
Java
bsd-3-clause
3,682
package com.podio; import com.podio.oauth.OAuthAPI; import com.podio.oauth.OAuthClientCredentials; import com.podio.oauth.OAuthRefreshTokenCredentials; import com.podio.oauth.OAuthToken; import com.podio.oauth.OAuthUserCredentials; /** * Manages tokens based on client credentials and user credentials. */ ...
PetrF0X/podio-java
src/main/java/com/podio/AuthProvider.java
Java
mit
1,452
package org.openprovenance.prov.xml; import java.util.List; import org.openprovenance.prov.model.Attribute; public interface HasAllAttributes { public abstract List<Attribute> getAllAttributes(); }
joansmith/ProvToolbox
prov-xml/src/main/java/org/openprovenance/prov/xml/HasAllAttributes.java
Java
mit
206
/* * The MIT License (MIT) * * Copyright (c) 2007-2015 Broad Institute * * 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 *...
godotgildor/igv
src/org/broad/igv/tools/TestFileGenerator.java
Java
mit
8,629
/******************************************************************************* * Copyright (c) 2009, 2012 David A Carlson and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution...
drbgfc/mdht
cda/plugins/org.openhealthtools.mdht.uml.cda.ui.dev/src/org/openhealthtools/mdht/uml/ui/dev/actions/RemoveConstraintAnnotationsAction.java
Java
epl-1.0
6,629
/******************************************************************************* * Copyright (c) 2010 Oak Ridge National Laboratory. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and i...
fqqb/yamcs-studio
bundles/org.csstudio.opibuilder.widgets/src/org/csstudio/opibuilder/widgets/actions/DuplicateTabAction.java
Java
epl-1.0
1,300
/******************************************************************************* * Copyright (c) 2017 Red Hat, Inc and others. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * SPDX...
jboss-reddeer/reddeer
tests/org.eclipse.reddeer.eclipse.test/src/org/eclipse/reddeer/eclipse/test/ui/views/properties/PropertiesViewTest.java
Java
epl-1.0
4,764
/******************************************************************************* * Copyright (c) 2010, 2011 David A Carlson and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution...
drbgfc/mdht
cda/plugins/org.openhealthtools.mdht.uml.hl7.rim/src/org/openhealthtools/mdht/uml/hl7/rim/impl/RoleLinkImpl.java
Java
epl-1.0
2,224
/* * Copyright (c) 2012-2017 Red Hat, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Red H...
TypeFox/che
plugins/plugin-java/che-plugin-java-plain/che-plugin-java-plain-server/src/main/java/org/eclipse/che/plugin/java/plain/server/inject/PlainJavaProjectModule.java
Java
epl-1.0
1,521
/* * 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 is distributed in the hope that...
goddesss/DataModeling
src/weka/classifiers/BVDecomposeSegCVSub.java
Java
gpl-2.0
39,534
/* * Copyright (c) 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 Softwa...
loveyoupeng/rt
modules/graphics/src/main/java/com/sun/glass/ui/mac/MacFileNSURL.java
Java
gpl-2.0
6,542
/* * Freeplane - mind map editor * Copyright (C) 2009 Dimitry * * This file author is Dimitry * * 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 ...
fnatter/freeplane-debian-dev
freeplane_plugin_bugreport/src/main/java/org/freeplane/plugin/bugreport/BugFormatter.java
Java
gpl-2.0
1,531
/* * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
isaacl/openjdk-jdk
test/com/sun/jdi/VMDeathRequestTest.java
Java
gpl-2.0
4,646
package de.fuberlin.wiwiss.d2rq.sql.types; import java.sql.ResultSet; import java.sql.SQLException; import de.fuberlin.wiwiss.d2rq.sql.SQL; import de.fuberlin.wiwiss.d2rq.sql.vendor.Vendor; public class SQLBinary extends DataType { private final boolean supportsDistinct; public SQLBinary(Vendor syntax, String na...
Augustus061193/OpenCollegeGraph
d2rq/src/de/fuberlin/wiwiss/d2rq/sql/types/SQLBinary.java
Java
gpl-2.0
1,485
/* This file was generated by SableCC (http://www.sablecc.org/). */ package com.google.clearsilver.jsilver.syntax.node; import com.google.clearsilver.jsilver.syntax.analysis.*; @SuppressWarnings("nls") public final class AHardLincludeCommand extends PCommand { private PPosition _position_; private PExpressio...
rex-xxx/mt6572_x201
external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/AHardLincludeCommand.java
Java
gpl-2.0
2,913
/* * $Id$ * * Copyright 1996-2008 Sun Microsystems, Inc. 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 S...
Distrotech/icedtea7
test/jtreg/com/sun/javatest/agent/Deprecated.java
Java
gpl-2.0
2,013
/** * Copyright (C) 2011 Flamingo Project (http://www.cloudine.io). * <p/> * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ...
chiwanpark/flamingo2
flamingo2-web/src/main/java/org/opencloudengine/flamingo2/web/system/OrganizationRepository.java
Java
gpl-3.0
1,202
package net.minecraft.client.particle; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.renderer.Tessellator; import net.minecraft.entity.Entity; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.IIcon; import net.minecraft.util.MathHelper; impo...
Scrik/Cauldron-1
eclipse/cauldron/src/main/java/net/minecraft/client/particle/EntityFX.java
Java
gpl-3.0
7,991
package com.paad.earthquake; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.provider.LiveFolders; public class EarthquakeLiveFolders extends Activity { public static class EarthquakeLiveFolder extends Activity { @Override ...
Izek/pa4ad
PA4AP/Full Worked Sample Projects/Chapter_14_Earthquake_Part_4/src/com/paad/earthquake/EarthquakeLiveFolders.java
Java
gpl-3.0
1,449
/** __ __ * _____ _/ /_/ /_ Computational Intelligence Library (CIlib) * / ___/ / / / __ \ (c) CIRG @ UP * / /__/ / / / /_/ / http://cilib.net * \___/_/_/_/_.___/ */ package net.sourceforge.cilib.pso.pbestupdate; import java.util.Arrays; import net.sourceforge.cilib.entity.Property; impor...
krharrison/cilib
library/src/main/java/net/sourceforge/cilib/pso/pbestupdate/DistinctPersonalBestUpdateStrategy.java
Java
gpl-3.0
3,361
package com.bioxx.tfc.Containers.Slots; import java.util.ArrayList; import java.util.List; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.Slot; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import com.bioxx.tfc.Items.ItemMeltedMetal; import com.bioxx.tfc.I...
VegasGoat/TFCraft
src/Common/com/bioxx/tfc/Containers/Slots/SlotSizeSmallVessel.java
Java
gpl-3.0
1,952
/* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following lice...
jvanz/core
odk/examples/DevelopersGuide/Forms/DocumentHelper.java
Java
gpl-3.0
12,524
/** * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be us...
apartensky/mev
io/src/test/java/edu/dfci/cccb/mev/io/implementation/TemporaryFolderTest.java
Java
gpl-3.0
2,141
/** * nTorrent - A GUI client to administer a rtorrent process * over a network connection. * * Copyright (C) 2007 Kim Eik * * 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 Foundati...
beermix/ntorrent
plugins/ntorrent/source/ntorrent/torrenttable/viewmenu/model/View.java
Java
gpl-3.0
928
package zmq.io.net.ipc; import zmq.Options; import zmq.io.IOThread; import zmq.io.SessionBase; import zmq.io.net.Address; import zmq.io.net.tcp.TcpConnecter; public class IpcConnecter extends TcpConnecter { public IpcConnecter(IOThread ioThread, SessionBase session, final Options options, final Address addr, bool...
trevorbernard/jeromq
src/main/java/zmq/io/net/ipc/IpcConnecter.java
Java
mpl-2.0
399
package im.actor.core.modules.calls; import org.jetbrains.annotations.NotNull; import im.actor.core.api.rpc.RequestDoCall; import im.actor.core.api.rpc.RequestGetCallInfo; import im.actor.core.api.rpc.RequestJoinCall; import im.actor.core.api.rpc.RequestRejectCall; import im.actor.core.entity.Peer; import im.actor.co...
actorapp/actor-platform
actor-sdk/sdk-core/core/core-shared/src/main/java/im/actor/core/modules/calls/CallActor.java
Java
agpl-3.0
8,934
package builtin.graphics; import builtin.BuiltinSub; import java.awt.Dimension; import java.awt.Toolkit; import java.awt.Rectangle; import java.awt.Robot; import java.awt.image.BufferedImage; import mint.Constants; import mint.Heap; import mint.Mint; import mint.MintException; import mint.Pointer; import mint.SmartLis...
Carrotlord/Mint-Programming-Language
MintLangCinnamonCanary [Newest]/Mint2.97Series/Mint2.99/src/builtin/graphics/Screenshot.java
Java
agpl-3.0
1,018
/* --------------------------------------------------------------------- * Numenta Platform for Intelligent Computing (NuPIC) * Copyright (C) 2014, Numenta, Inc. Unless you have an agreement * with Numenta, Inc., for a separate license for this software code, the * following terms and conditions apply: * * This ...
sambitgaan/htm.java
src/main/java/org/numenta/nupic/algorithms/Sample.java
Java
agpl-3.0
3,354
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH (http://www.alkacon.com) * * This library 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 So...
it-tavis/opencms-core
src-modules/org/opencms/workplace/tools/content/check/CmsContentCheckPropertyObject.java
Java
lgpl-2.1
5,123
package si.ijs.acs.objectexplorer; /** * Insert the type's description here. * Creation date: (11/11/00 2:42:46 PM) * @author: Miha Kadunc */ import si.ijs.acs.objectexplorer.engine.*; public class OERemoteResponseCallback implements RemoteResponseCallback { private RemoteResponseCallbackListener handler; priv...
ACS-Community/ACS
LGPL/CommonSoftware/acsGUIs/objexp/src/si/ijs/acs/objectexplorer/OERemoteResponseCallback.java
Java
lgpl-2.1
1,556
/* * 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...
rhusar/wildfly
clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/subsystem/CustomStoreServiceConfigurator.java
Java
lgpl-2.1
4,448
/** * This file is part of FNLP (formerly FudanNLP). * * FNLP 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 3 of the License, or * (at your option) any later version. * * FNLP...
xpqiu/fnlp
fnlp-core/src/main/java/org/fnlp/data/reader/Reader.java
Java
lgpl-3.0
1,530
/* * Copyright 2016 The gRPC 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 agree...
dapengzhang0/grpc-java
testing/src/test/java/io/grpc/testing/GrpcServerRuleTest.java
Java
apache-2.0
7,296
/** * Most of the code in the Qalingo project is copyrighted Hoteia and licensed * under the Apache License Version 2.0 (release version 0.8.0) * http://www.apache.org/licenses/LICENSE-2.0 * * Copyright (c) Hoteia, 2012-2014 * http://www.hoteia.com - http://twitter.com/hoteia - contact@h...
pkcool/qalingo-engine
apis/api-core/api-core-common/src/main/java/org/hoteia/qalingo/core/web/mvc/viewbean/ProductMarketingTagViewBean.java
Java
apache-2.0
1,226
/* * 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 ...
datametica/calcite
core/src/main/java/org/apache/calcite/plan/volcano/VolcanoCost.java
Java
apache-2.0
7,084
/* Copyright 2008-2013 ITACA-TSB, http://www.tsb.upv.es/ Instituto Tecnologico de Aplicaciones de Comunicacion Avanzadas - Grupo Tecnologias para la Salud y el Bienestar (TSB) See the NOTICE file distributed with this work for additional information regarding copyright ownership Licensed unde...
cdjackson/zigbee4java
zigbee-dongle-cc2531/src/main/java/org/bubblecloud/zigbee/network/packet/simple/ZB_BIND_DEVICE_RSP.java
Java
apache-2.0
1,614
/* * Copyright 2000-2015 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...
clumsy/intellij-community
java/java-impl/src/com/intellij/codeInsight/JavaTargetElementEvaluator.java
Java
apache-2.0
14,973
/* * Copyright 2003-2009 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...
linqingyicen/jdonframework
src/test/java/com/jdon/sample/test/cqrs/ABRepositoryIF.java
Java
apache-2.0
985
/** * 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...
massakam/pulsar
pulsar-common/src/main/java/org/apache/pulsar/common/protocol/schema/DeleteSchemaResponse.java
Java
apache-2.0
1,130
/* * 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 ...
MikeThomsen/nifi
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/dto/ProcessorRunStatusDetailsDTO.java
Java
apache-2.0
2,733
/* * 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 ...
rmetzger/flink
flink-table/flink-table-planner-blink/src/main/java/org/apache/flink/table/planner/plan/rules/physical/batch/BatchPhysicalPythonWindowAggregateRule.java
Java
apache-2.0
8,112
/* * Copyright 2012-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
linead/spring-boot
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/integration/package-info.java
Java
apache-2.0
731
package com.bazaarvoice.emodb.web.scanner.scheduling; import com.bazaarvoice.curator.recipes.leader.LeaderService; import com.bazaarvoice.emodb.common.dropwizard.guice.SelfHostAndPort; import com.bazaarvoice.emodb.common.dropwizard.leader.LeaderServiceTask; import com.bazaarvoice.emodb.common.dropwizard.lifecycle.Life...
billkalter/emodb
web/src/main/java/com/bazaarvoice/emodb/web/scanner/scheduling/ScanUploadSchedulingService.java
Java
apache-2.0
15,727
/* * 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...
mandusm/presto
presto-main/src/main/java/com/facebook/presto/sql/planner/PlanFragmenter.java
Java
apache-2.0
16,820
/* * Copyright 2013 Netflix, 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 ...
skinzer/governator
governator-legacy/src/test/java/com/netflix/governator/lifecycle/TestInjectedLifecycleListener.java
Java
apache-2.0
3,283
/* * @(#)Version.java 1.4 07/03/21 * * Copyright (c) 2007 Sun Microsystems, Inc. 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...
mashuai/Open-Source-Research
Javac2007/src/com/sun/tools/javac/util/Version.java
Java
apache-2.0
1,523
/* * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
andreagenso/java2scala
test/J2s/java/openjdk-6-src-b27/jdk/test/java/lang/management/ThreadMXBean/FindDeadlocks.java
Java
apache-2.0
4,217
/* * #%L * BroadleafCommerce Open Admin Platform * %% * Copyright (C) 2009 - 2013 Broadleaf Commerce * %% * 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....
sanlingdd/broadleaf
admin/broadleaf-open-admin-platform/src/main/java/org/broadleafcommerce/openadmin/dto/PersistencePackage.java
Java
apache-2.0
11,485
package org.zstack.sdk; import java.util.HashMap; import java.util.Map; public class SetL3NetworkMtuAction extends AbstractAction { private static final HashMap<String, Parameter> parameterMap = new HashMap<>(); public static class Result { public ErrorCode error; public SetL3NetworkMtuResul...
AlanJinTS/zstack
sdk/src/main/java/org/zstack/sdk/SetL3NetworkMtuAction.java
Java
apache-2.0
2,375
/* * 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...
treasure-data/presto
presto-tests/src/test/java/io/prestosql/tests/TestProcedureCall.java
Java
apache-2.0
9,675
/* * 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...
jbertouch/elasticsearch
core/src/main/java/org/elasticsearch/cluster/routing/allocation/decider/DiskThresholdDecider.java
Java
apache-2.0
32,697
/* * Autopsy Forensic Browser * * Copyright 2011-2017 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...
millmanorama/autopsy
Core/src/org/sleuthkit/autopsy/progress/ProgressIndicator.java
Java
apache-2.0
3,379
package org.zstack.test.core.job; import junit.framework.Assert; import org.junit.Before; import org.junit.Test; import org.zstack.core.componentloader.ComponentLoader; import org.zstack.core.job.JobQueueFacade; import org.zstack.test.Api; import org.zstack.test.BeanConstructor; import org.zstack.test.DBUtil; import ...
MaJin1996/zstack
test/src/test/java/org/zstack/test/core/job/TestJob.java
Java
apache-2.0
1,371
/* * 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 ...
pax95/camel
components/camel-vertx/camel-vertx-http/src/main/java/org/apache/camel/component/vertx/http/VertxHttpEndpoint.java
Java
apache-2.0
6,706
package gate.composite; import java.io.Serializable; import gate.Annotation; /** * OffsetDetails is a utility class that is used by composite document to keep * the mapping of annotations in their original documents to the ones copied in * the composite document. * * @author niraj */ public class OffsetDetail...
Network-of-BioThings/GettinCRAFTy
src/main/resources/gate/plugins/Alignment/src/gate/composite/OffsetDetails.java
Java
apache-2.0
2,472
/* * 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 ...
beobal/cassandra
test/distributed/org/apache/cassandra/distributed/upgrade/CompactStorage3to4UpgradeTest.java
Java
apache-2.0
2,751
/* * 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 ...
arjun4084346/gobblin
gobblin-modules/gobblin-service-kafka/src/main/java/org/apache/gobblin/service/SimpleKafkaSpecConsumer.java
Java
apache-2.0
11,143
/* * 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...
gingerwizard/elasticsearch
qa/os/src/test/java/org/elasticsearch/packaging/util/FileUtils.java
Java
apache-2.0
14,448
// Generated by Haxe 4.0.0-preview.5+7eb789f54 package debugger; import haxe.root.*; @SuppressWarnings(value={"rawtypes", "unchecked"}) public interface IController extends haxe.lang.IHxObject { debugger.Command getNextCommand(); void acceptMessage(debugger.Message message); }
eliasku/intellij-haxe
hxcpp-debugger-protocol/src/JavaProtocol/src/debugger/IController.java
Java
apache-2.0
288
/* * 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 ...
afinka77/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/platform/cache/PlatformCacheEntryProcessorImpl.java
Java
apache-2.0
7,305
package com.gerken.xaa.model.backup; // Begin imports import java.util.ArrayList; import org.w3c.dom.Node; // End imports public class Token extends ModelElement { private String name; private String formula; private boolean derived; private String desc; // Begin custom variables ...
chrisGerken/grauthor
org.gramar.eclipse.ui/src/com/gerken/xaa/model/backup/Token.java
Java
apache-2.0
1,517
/** * 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...
mycFelix/heron
heron/io/dlog/src/java/org/apache/heron/dlog/DLOutputStream.java
Java
apache-2.0
2,048
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...
zhangdian/solr4.6.0
lucene/core/src/java/org/apache/lucene/search/DocTermOrdsRewriteMethod.java
Java
apache-2.0
5,423
package com.atlassian.jgitflow.core.command; import java.io.IOException; import com.atlassian.jgitflow.core.GitFlowConfiguration; import com.atlassian.jgitflow.core.JGitFlowConstants; import com.atlassian.jgitflow.core.exception.*; import com.atlassian.jgitflow.core.extension.ReleaseStartExtension; import com.atlassi...
Tanemahuta/gradle-vgfr-plugin
vcs/vcs-gitflow/src/main/java/com/atlassian/jgitflow/core/command/ReleaseStartCommand.java
Java
apache-2.0
4,045
/* * Copyright 2012-2022 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
aahlenst/spring-boot
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/mongo/embedded/EmbeddedMongoAutoConfigurationTests.java
Java
apache-2.0
10,641
/* * 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 ...
juanavelez/hazelcast
hazelcast-spring/src/test/java/com/hazelcast/spring/security/DummyCredentialsFactory.java
Java
apache-2.0
1,135
/* * 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...
camunda/camunda-xml-model
src/main/java/org/camunda/bpm/model/xml/impl/type/attribute/NamedEnumAttributeBuilder.java
Java
apache-2.0
1,802
/* * 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 ...
emrahkocaman/hazelcast
hazelcast/src/main/java/com/hazelcast/internal/util/hashslot/HashSlotArray16byteKey.java
Java
apache-2.0
2,190
/* * 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 ...
shirshanka/gobblin
gobblin-metrics-libs/gobblin-metrics/src/main/java/org/apache/gobblin/metrics/ServiceMetricNames.java
Java
apache-2.0
3,321
/* * Copyright (c) Facebook, Inc. and 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 applic...
Addepar/buck
src/com/facebook/buck/doctor/DoctorInteractiveReport.java
Java
apache-2.0
2,828
/** * 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...
ChinmaySKulkarni/hbase
hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithDeletes.java
Java
apache-2.0
123,798
/* * 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...
wangcy6/storm_app
frame/kafka-0.11.0/kafka-0.11.0.1-src/clients/src/main/java/org/apache/kafka/clients/admin/ConfigEntry.java
Java
apache-2.0
3,579
/* 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...
zwets/flowable-engine
modules/flowable5-test/src/test/java/org/activiti/examples/bpmn/gateway/InclusiveGatewayTest.java
Java
apache-2.0
3,792
/* * Copyright (c) 2008-2018, 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 ...
tufangorel/hazelcast
hazelcast/src/test/java/com/hazelcast/test/starter/constructor/AbstractStarterObjectConstructor.java
Java
apache-2.0
1,924
/* 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...
zwets/flowable-engine
modules/flowable-ui-idm/flowable-ui-idm-rest/src/main/java/org/flowable/app/rest/idm/IdmGroupsResource.java
Java
apache-2.0
4,877
package com.frameworkexample.android.utils; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import org.ixming.io.file.FileOperator; import android.content.Context; import android.content.res.AssetManager; import androi...
bblue000/AndroidProjectTemplate
src/com/frameworkexample/android/utils/Utils.java
Java
apache-2.0
8,325
/* * Copyright 2015 Space Dynamics Laboratory - Utah State University Research 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/LICEN...
skycow/openstorefront
server/openstorefront/openstorefront-core/service/src/main/java/edu/usu/sdl/core/CoreSystem.java
Java
apache-2.0
4,986
/* * Copyright 2010-2012 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...
SaiNadh001/aws-sdk-for-java
src/main/java/com/amazonaws/services/ec2/model/transform/AddressStaxUnmarshaller.java
Java
apache-2.0
3,875
/** * */ package com.thinkbiganalytics.metadata.modeshape.feed; /*- * #%L * thinkbig-metadata-modeshape * %% * Copyright (C) 2017 ThinkBig Analytics * %% * 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 cop...
rashidaligee/kylo
metadata/metadata-modeshape/src/main/java/com/thinkbiganalytics/metadata/modeshape/feed/JcrFeedSource.java
Java
apache-2.0
1,525
/** * Copyright 2005-2016 Red Hat, Inc. * * Red Hat licenses this file to you under the Apache License, version * 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
jludvice/fabric8
fabric/fabric-webapp-agent/src/main/java/io/fabric8/agent/web/FabricWebRegistrationHandler.java
Java
apache-2.0
8,192
/* * * Copyright 2017 Netflix, 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 ap...
tgianos/metacat
metacat-connector-redshift/src/main/java/com/netflix/metacat/connector/redshift/RedshiftConnectorPlugin.java
Java
apache-2.0
1,917