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
package org.hisp.dhis.commons.action; /* * Copyright (c) 2004-2015, 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...
kakada/dhis2
dhis-web/dhis-web-commons/src/main/java/org/hisp/dhis/commons/action/GetCategoryOptionCombosAction.java
Java
bsd-3-clause
4,992
/* * 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 ...
plumer/codana
tomcat_files/8.0.22/Foo (2).java
Java
mit
910
package org.knowm.xchange.btce.v3; import java.io.IOException; import java.math.BigDecimal; import javax.ws.rs.Consumes; import javax.ws.rs.FormParam; import javax.ws.rs.HeaderParam; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import org.knowm.xch...
stevenuray/XChange
xchange-btce/src/main/java/org/knowm/xchange/btce/v3/BTCEAuthenticated.java
Java
mit
6,814
/** * Copyright (c) 2010-2019 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * 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....
computergeek1507/openhab
bundles/binding/org.openhab.binding.zwave/src/main/java/org/openhab/binding/zwave/internal/protocol/serialmessage/RemoveFailedNodeMessageClass.java
Java
epl-1.0
5,682
/** * Copyright (c) 2010-2019 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * 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....
theoweiss/openhab2
bundles/org.openhab.binding.darksky/src/main/java/org/openhab/binding/darksky/internal/model/DarkSkyJsonWeatherData.java
Java
epl-1.0
2,528
/** * Copyright (c) 2010-2019 by the respective copyright holders. * * 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 */...
idserda/openhab
bundles/binding/org.openhab.binding.tcp/src/main/java/org/openhab/binding/tcp/protocol/internal/TCPGenericBindingProvider.java
Java
epl-1.0
831
/** * 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...
huran2014/huran.github.io
program_learning/Java/MyEclipseProfessional2014/mr/src/main/java/org/apache/mahout/ep/Mapping.java
Java
gpl-2.0
6,039
/** * * Copyright (c) 2005-2012. Centre for Research on Inner City Health, St. Michael's Hospital, Toronto. All Rights Reserved. * This software is published under the GPL GNU General Public License. * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Publ...
hexbinary/landing
src/main/java/org/oscarehr/util/HinValidator.java
Java
gpl-2.0
1,790
package com.gmail.dpierron.tools; import java.io.File; import java.io.IOException; public class LinuxOS extends BaseOS { public LinuxOS(String osTypeName) { super(osTypeName); } @Override Process _openFile(File file) throws IOException { Process result = null; try { result =...
pabalexa/calibre2opds
Tools/src/main/java/com/gmail/dpierron/tools/LinuxOS.java
Java
gpl-3.0
545
package net.minecraft.scoreboard; import java.util.Comparator; import java.util.List; public class Score { public static final Comparator field_96658_a = new Comparator() { private static final String __OBFID = "CL_00000618"; public int compare(Score p_compare_1_, Score p_compare_2_) {...
Scrik/Cauldron-1
eclipse/cauldron/src/main/java/net/minecraft/scoreboard/Score.java
Java
gpl-3.0
2,777
/** * Global Sensor Networks (GSN) Source Code * Copyright (c) 2006-2014, Ecole Polytechnique Federale de Lausanne (EPFL) * * This file is part of GSN. * * GSN 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 Fou...
EliasFarhan/gsn
src/main/java/gsn/vsensor/GridRenderer.java
Java
gpl-3.0
12,336
package net.minecraft.server; import java.util.Random; // CraftBukkit start import org.bukkit.event.entity.EntityInteractEvent; import org.bukkit.craftbukkit.event.CraftEventFactory; // CraftBukkit end public class BlockSoil extends Block { protected BlockSoil(int i) { super(i, Material.EARTH); ...
Antrax-Reloaded/Craftbuk
src/main/java/net/minecraft/server/BlockSoil.java
Java
gpl-3.0
3,865
/* Copyright (c) 2011, Carl Burch. License information is located in the * com.cburch.logisim.Main source code and at www.cburch.com/logisim/. */ package com.cburch.logisim.gui.main; import java.awt.BorderLayout; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import javax.swing.JPanel; impor...
aaorellana/Logisim-SeniorProject
src/main/java/com/cburch/logisim/gui/main/SimulationExplorer.java
Java
gpl-3.0
3,422
package com.earth2me.essentials.commands; import com.earth2me.essentials.CommandSource; import com.earth2me.essentials.User; import com.earth2me.essentials.utils.NumberUtil; import org.bukkit.Server; import org.bukkit.inventory.ItemStack; import java.math.BigDecimal; import java.util.List; import java.util.Locale; i...
BTCTaras/Essentials
Essentials/src/com/earth2me/essentials/commands/Commandworth.java
Java
gpl-3.0
3,492
/** * Project Wonderland * * Copyright (c) 2004-2009, Sun Microsystems, Inc., All Rights Reserved * * Redistributions in source code form must reproduce the above * copyright and this condition. * * The contents of this file are subject to the GNU General Public * License, Version 2 (the "License"); you may no...
AsherBond/MondocosmOS
wonderland/web/runner/src/java/org/jdesktop/wonderland/runner/resources/RunnerActionResource.java
Java
agpl-3.0
5,087
/* * Kuali Coeus, a comprehensive research administration system for higher education. * * Copyright 2005-2016 Kuali, Inc. * * 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, eithe...
iu-uits-es/kc
coeus-impl/src/main/java/org/kuali/kra/protocol/personnel/SaveProtocolPersonnelEventBase.java
Java
agpl-3.0
1,518
/* * Kuali Coeus, a comprehensive research administration system for higher education. * * Copyright 2005-2015 Kuali, Inc. * * 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, eithe...
sanjupolus/KC6.oLatest
coeus-impl/src/main/java/org/kuali/kra/subaward/service/impl/SubAwardRulesEngineExecutorImpl.java
Java
agpl-3.0
2,704
/* * Kuali Coeus, a comprehensive research administration system for higher education. * * Copyright 2005-2015 Kuali, Inc. * * 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, eithe...
sanjupolus/KC6.oLatest
coeus-impl/src/main/java/org/kuali/coeus/common/budget/framework/personnel/AppointmentType.java
Java
agpl-3.0
2,284
package tc.oc.commons.core.inject; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; import com.google.inject.Key; import com.google.inject.Provider; import com.google.inject.Scope; import com.google.inject.TypeLiteral; import com.google.inject.binder.AnnotatedBindingBuilder; import com.go...
OvercastNetwork/ProjectAres
Util/core/src/main/java/tc/oc/commons/core/inject/AbstractBindingBuilder.java
Java
agpl-3.0
2,335
package org.herac.tuxguitar.app.action.impl.tools; import org.herac.tuxguitar.action.TGActionContext; import org.herac.tuxguitar.app.tools.scale.ScaleManager; import org.herac.tuxguitar.editor.action.TGActionBase; import org.herac.tuxguitar.util.TGContext; public class TGSelectScaleAction extends TGActionBase{ pub...
bluenote10/TuxguitarParser
tuxguitar-src/TuxGuitar/src/org/herac/tuxguitar/app/action/impl/tools/TGSelectScaleAction.java
Java
lgpl-2.1
926
package org.intermine.objectstore.query; /* * Copyright (C) 2002-2016 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/l...
JoeCarlson/intermine
intermine/objectstore/test/src/org/intermine/objectstore/query/QueryTestCaseTest.java
Java
lgpl-2.1
11,191
/** * eAdventure is a research project of the * e-UCM research group. * * Copyright 2005-2014 e-UCM research group. * * You can access a list of all the contributors to eAdventure at: * http://e-adventure.e-ucm.es/contributors * * e-UCM is a research group of the Department of Software Eng...
e-ucm/ead
editor/core/src/main/java/es/eucm/ead/editor/control/commands/SelectionCommand.java
Java
lgpl-3.0
4,867
/* * Minecraft Forge * Copyright (c) 2016. * * 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 Software Foundation version 2.1 * of the License. * * This library is distributed in the hope that it will...
F1r3w477/CustomWorldGen
build/tmp/recompileMc/sources/net/minecraftforge/fml/common/LoaderState.java
Java
lgpl-3.0
4,549
/** * eAdventure is a research project of the * e-UCM research group. * * Copyright 2005-2014 e-UCM research group. * * You can access a list of all the contributors to eAdventure at: * http://e-adventure.e-ucm.es/contributors * * e-UCM is a research group of the Department of Software Eng...
e-ucm/ead
engine/core/src/main/java/es/eucm/ead/engine/components/ConditionedComponent.java
Java
lgpl-3.0
1,902
package com.google.bitcoin.bouncycastle.asn1.cms.ecc; import com.google.bitcoin.bouncycastle.asn1.ASN1Encodable; import com.google.bitcoin.bouncycastle.asn1.ASN1EncodableVector; import com.google.bitcoin.bouncycastle.asn1.ASN1OctetString; import com.google.bitcoin.bouncycastle.asn1.ASN1Sequence; import com.google.bitc...
barmstrong/bitcoin-android
src/com/google/bitcoin/bouncycastle/asn1/cms/ecc/MQVuserKeyingMaterial.java
Java
apache-2.0
3,431
/* * * 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"); y...
hasinitg/airavata
modules/workflow-model/workflow-model-core/src/main/java/org/apache/airavata/workflow/model/graph/ws/WSPort.java
Java
apache-2.0
4,860
/** * 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
storm-compatibility/src/java/backtype/storm/metric/api/MetricDelegate.java
Java
apache-2.0
1,150
/* * 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...
debian-pkg-android-tools/android-platform-tools-apksig
src/main/java/com/android/apksig/internal/apk/v2/ContentDigestAlgorithm.java
Java
apache-2.0
1,714
/* * Copyright 2017-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
shs96c/buck
test/com/facebook/buck/features/rust/PrebuiltRustLibraryDescriptionTest.java
Java
apache-2.0
3,094
package org.apereo.cas.configuration.model.support.saml.idp; import org.apereo.cas.configuration.model.SpringResourceProperties; import org.apereo.cas.configuration.support.RequiresModule; import com.fasterxml.jackson.annotation.JsonFilter; import lombok.Getter; import lombok.Setter; import lombok.experimental.Access...
apereo/cas
api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/saml/idp/SamlIdPDiscoveryProperties.java
Java
apache-2.0
1,038
package com.google.api.ads.adwords.jaxws.v201502.cm; import java.net.MalformedURLException; import java.net.URL; import javax.xml.namespace.QName; import javax.xml.ws.Service; import javax.xml.ws.WebEndpoint; import javax.xml.ws.WebServiceClient; import javax.xml.ws.WebServiceException; import javax.xml.ws.WebService...
stoksey69/googleads-java-lib
modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201502/cm/ExperimentService.java
Java
apache-2.0
2,829
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * 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/ * ...
medicayun/medicayundicom
dcm4jboss-all/tags/DCM4CHEE_2_14_2_TAGA/dcm4jboss-sar/src/java/org/dcm4chex/archive/xdsi/XDSIService.java
Java
apache-2.0
50,876
/* * Copyright (c) 2008-2021, 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 ...
emre-aydin/hazelcast
hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/cache/CacheRemoveAllKeysMessageTask.java
Java
apache-2.0
3,582
/* * Copyright 2000-2014 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...
ThiagoGarciaAlves/intellij-community
plugins/github/src/org/jetbrains/plugins/github/api/GithubApiUtil.java
Java
apache-2.0
26,170
/* * Copyright 2000-2014 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...
jwren/intellij-community
platform/vcs-impl/src/com/intellij/openapi/vcs/update/ShowUpdatedDiffActionProvider.java
Java
apache-2.0
8,195
/* * Copyright Terracotta, 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 to ...
jhouserizer/ehcache3
ehcache-api/src/test/java/org/ehcache/config/units/MemoryUnitTest.java
Java
apache-2.0
12,836
/* * 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 ...
mrchristine/spark-examples-dbc
src/main/java/org/apache/spark/examples/ml/JavaNormalizerExample.java
Java
apache-2.0
1,864
/* * 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 ...
pivotal-amurmann/geode
geode-core/src/test/java/org/apache/geode/internal/cache/CacheServerLauncherJUnitTest.java
Java
apache-2.0
1,761
/* * 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")...
paulk-asert/groovy
src/main/java/org/codehaus/groovy/vmplugin/v8/CacheableCallSite.java
Java
apache-2.0
3,138
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.ide.util; import com.intellij.codeInsight.generation.*; import com.intellij.icons.AllIcons; import com.intellij.ide.IdeBundle; import com.intellij.openapi.actionSystem.*; impor...
smmribeiro/intellij-community
platform/lang-impl/src/com/intellij/ide/util/MemberChooser.java
Java
apache-2.0
31,519
/* * Copyright (c) 2005-2011 Grameen Foundation USA * 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 * ...
madhav123/gkmaster
questionnaire/src/test/java/org/mifos/platform/questionnaire/ui/controller/SectionDetailFormTest.java
Java
apache-2.0
3,065
/* * * 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"); y...
hasinitg/airavata
modules/workflow-model/workflow-engine/src/main/java/org/apache/airavata/workflow/engine/WorkflowEngineImpl.java
Java
apache-2.0
4,497
/* * Copyright 2000-2013 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...
liveqmock/platform-tools-idea
plugins/groovy/src/org/jetbrains/plugins/groovy/intentions/conversions/IndexedExpressionConversionPredicate.java
Java
apache-2.0
2,533
/* * 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 ...
objectiser/camel
components/camel-jms/src/test/java/org/apache/camel/component/jms/tx/JmsToJmsTransactedTest.java
Java
apache-2.0
4,933
/* * $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...
WillJiang/WillJiang
src/plugins/osgi/src/main/java/org/apache/struts2/osgi/DefaultBundleAccessor.java
Java
apache-2.0
7,481
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
jjeb/kettle-trunk
ui/src/org/pentaho/di/ui/trans/steps/creditcardvalidator/CreditCardValidatorDialog.java
Java
apache-2.0
13,899
/* * Copyright (C) 2012-2013 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
javazhangtao/nifty
nifty-core/src/main/java/com/facebook/nifty/codec/ThriftFrameCodecFactory.java
Java
apache-2.0
876
/* * 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-engine-dmn
feel-juel/src/main/java/org/camunda/bpm/dmn/feel/impl/juel/FeelSyntaxException.java
Java
apache-2.0
1,653
/* * 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 ...
nishantmonu51/hive
common/src/java/org/apache/hadoop/hive/conf/LoopingByteArrayInputStream.java
Java
apache-2.0
3,631
public class Read { public static void main(String[] args) { Main.getStaticLateinit(); } }
jwren/intellij-community
plugins/kotlin/refIndex/tests/testData/compilerIndex/properties/fromObject/fromCompanion/staticLateinit/Read.java
Java
apache-2.0
106
/* * 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 ...
winningsix/hive
spark-client/src/main/java/org/apache/hive/spark/client/JobContextImpl.java
Java
apache-2.0
2,285
/* * Copyright (c) 2005-2012, 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.o...
lankavitharana/siddhi
modules/siddhi-core/src/main/java/org/wso2/siddhi/core/query/selector/attribute/processor/AggregationAttributeProcessor.java
Java
apache-2.0
2,255
/* * 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...
sunchao/presto
presto-base-jdbc/src/test/java/com/facebook/presto/plugin/jdbc/TestJdbcMetadata.java
Java
apache-2.0
8,508
/** * 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...
oalles/camel
components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/springboot/SparkComponentConfiguration.java
Java
apache-2.0
4,777
/** * Copyright (C) 2013-2015 Dell, 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.or...
greese/dasein-cloud-azure
src/main/java/org/dasein/cloud/azure/platform/model/CreateDatabaseRestoreModel.java
Java
apache-2.0
3,194
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
yrcourage/netty
transport-udt/src/main/java/io/netty/channel/udt/nio/NioUdtByteConnectorChannel.java
Java
apache-2.0
6,314
/* * 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...
tabish121/activemq-artemis
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/mirror/MirrorController.java
Java
apache-2.0
1,934
/* * 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 ...
nicolaferraro/camel
components/camel-dropbox/src/test/java/org/apache/camel/component/dropbox/integration/DropboxTestSupport.java
Java
apache-2.0
3,844
package com.navercorp.pinpoint.common.server.bo.serializer.trace.v2; /** * @author Woonduk Kang(emeroad) */ public class SpanEncodingContext<T> { private final T value; // private AnnotationBo prevAnnotationBo; public SpanEncodingContext(T value) { this.value = value; } public T getVa...
emeroad/pinpoint
commons-server/src/main/java/com/navercorp/pinpoint/common/server/bo/serializer/trace/v2/SpanEncodingContext.java
Java
apache-2.0
596
/** * Load-time weaving support for a Spring application context, building on Spring's * {@link org.springframework.instrument.classloading.LoadTimeWeaver} abstraction. */ package org.springframework.context.weaving;
qobel/esoguproject
spring-framework/spring-context/src/main/java/org/springframework/context/weaving/package-info.java
Java
apache-2.0
220
/* * Copyright (C) 2014 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...
bboyfeiyu/ExoPlayer
demo/src/main/java/com/google/android/exoplayer/demo/simple/SimplePlayerActivity.java
Java
apache-2.0
8,386
/******************************************************************************* * Copyright (c) 2005, 2014 springside.github.io * * Licensed under the Apache License, Version 2.0 (the "License"); *******************************************************************************/ package org.springside.modules.utils; ...
quyixia/springside4
modules/utils/src/main/java/org/springside/modules/utils/Digests.java
Java
apache-2.0
7,162
/* * 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 ...
DariusX/camel
core/camel-core/src/test/java/org/apache/camel/processor/DeadLetterChannelUnmarshalSetHeaderTest.java
Java
apache-2.0
2,790
/* 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...
sflyphotobooks/crp-batik
sources/org/apache/batik/ext/awt/image/codec/util/ImageDecodeParam.java
Java
apache-2.0
1,265
/* * Copyright 2000-2017 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...
semonte/intellij-community
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebugSessionTab.java
Java
apache-2.0
17,128
package org.ovirt.engine.core.bll.storage; import org.ovirt.engine.core.bll.context.CommandContext; import org.ovirt.engine.core.common.action.StorageDomainManagementParameter; import org.ovirt.engine.core.compat.Guid; public class AddNFSStorageDomainCommand<T extends StorageDomainManagementParameter> extends AddStor...
walteryang47/ovirt-engine
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/AddNFSStorageDomainCommand.java
Java
apache-2.0
785
package org.grobid.core.main.batch; /** * Class containing args of the batch {@link GrobidMain}. * * @author Damien * */ public class GrobidMainArgs { private String path2grobidHome; private String path2grobidProperty; private String path2Input; private String path2Output; private String processMethod...
chrismattmann/grobid
grobid-core/src/main/java/org/grobid/core/main/batch/GrobidMainArgs.java
Java
apache-2.0
2,331
/* * Copyright (c) 2008-2021, 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 ...
emre-aydin/hazelcast
hazelcast/src/test/java/com/hazelcast/client/flakeidgen/impl/FlakeIdGenerator_ClientBackpressureTest.java
Java
apache-2.0
1,765
package org.ovirt.engine.core.bll.storage; import java.util.Collections; import java.util.EnumMap; import java.util.List; import java.util.Map; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.Predicate; import org.ovirt.engine.core.bll.Backend; import org.ovirt.engine.core...
yapengsong/ovirt-engine
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/StorageHelperBase.java
Java
apache-2.0
11,151
package org.rzo.yajsw.timer; public interface Timer { void init(); boolean isHasTrigger(); boolean isTriggered(); boolean isStartImmediate(); void start(); void stop(); }
mv2a/yajsw
src/yajsw/src/main/java/org/rzo/yajsw/timer/Timer.java
Java
apache-2.0
203
package org.zstack.sdk; public class KVMIsoTO extends org.zstack.sdk.ImageInventory { public java.lang.String pathInCache; public void setPathInCache(java.lang.String pathInCache) { this.pathInCache = pathInCache; } public java.lang.String getPathInCache() { return this.pathInCache; ...
zstackorg/zstack
sdk/src/main/java/org/zstack/sdk/KVMIsoTO.java
Java
apache-2.0
559
/** * 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 ...
mdecourci/assertj-core
src/main/java/org/assertj/core/api/AbstractInputStreamAssert.java
Java
apache-2.0
3,130
/* * Copyright 2015 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
nathancomstock/closure-templates
java/src/com/google/template/soy/incrementaldomsrc/IncrementalDomOutputOptimizers.java
Java
apache-2.0
4,771
/* * Copyright (C) 2011 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 agree...
lshain-android-source/external-mockwebserver
src/main/java/com/google/mockwebserver/RecordedRequest.java
Java
apache-2.0
4,786
/* * Copyright 2006 Sascha Weinreuter * * 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...
hurricup/intellij-community
RegExpSupport/src/org/intellij/lang/regexp/psi/impl/RegExpOptionsImpl.java
Java
apache-2.0
1,782
// Copyright 2000-2021 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.packageDependencies.actions; import com.intellij.analysis.AnalysisScope; import com.intellij.analysis.BaseAnalysisAction; import com.intellij.analysis.BaseAn...
smmribeiro/intellij-community
platform/lang-impl/src/com/intellij/packageDependencies/actions/AnalyzeDependenciesAction.java
Java
apache-2.0
1,486
/* * 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 ...
christophd/camel
components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/SimpleCxfRsBinding.java
Java
apache-2.0
17,096
/* * JBoss, Home of Professional Open Source * Copyright 2014 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Vers...
felipewmartins/aesh
src/main/java/org/jboss/aesh/edit/KeyOperation.java
Java
apache-2.0
2,637
/** * Copyright 2014 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 law or agreed t...
srvaroa/RxJava
rxjava-core/src/test/java/rx/ObservableDoOnTest.java
Java
apache-2.0
2,430
/* * Copyright 2018 NAVER Corp. * * 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 ...
suraj-raturi/pinpoint
plugins/openwhisk/src/main/java/com/navercorp/pinpoint/plugin/openwhisk/descriptor/LogMarkerMethodDescriptor.java
Java
apache-2.0
2,295
/* * 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-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroFileSystemFormatFactory.java
Java
apache-2.0
7,445
/* * Copyright 2004-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...
baboune/compass
src/main/src/org/compass/core/lucene/engine/transaction/support/PrepareCommitCallable.java
Java
apache-2.0
1,608
// Copyright 2000-2019 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.ui.tabs.layout.tableLayout; import com.intellij.ui.tabs.TabInfo; import com.intellij.ui.tabs.impl.tabsLayout.TabsLayout; import com.intellij.ui.tabs.impl.tab...
leafclick/intellij-community
platform/platform-impl/src/com/intellij/ui/tabs/layout/tableLayout/TablePassInfo.java
Java
apache-2.0
1,905
/* * 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...
guozhangwang/kafka
streams/src/main/java/org/apache/kafka/streams/KeyQueryMetadata.java
Java
apache-2.0
4,472
package org.hisp.dhis.validation; /* * Copyright (c) 2004-2017, 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 a...
troyel/dhis2-core
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/validation/DefaultValidationCriteriaService.java
Java
bsd-3-clause
3,639
// Copyright 2013 The Flutter 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 io.flutter; import io.flutter.embedding.android.FlutterActivityAndFragmentDelegateTest; import io.flutter.embedding.android.FlutterActivityTest; i...
jamesr/flutter_engine
shell/platform/android/test/io/flutter/FlutterTestSuite.java
Java
bsd-3-clause
4,483
package com.stripe.model; public class ApplicationFeeCollection extends StripeCollection<ApplicationFee> { }
AdamStelmaszczyk/stripe-java
src/main/java/com/stripe/model/ApplicationFeeCollection.java
Java
mit
111
package com.github.mikephil.charting.data.realm.implementation; import com.github.mikephil.charting.data.RadarData; import com.github.mikephil.charting.data.realm.base.RealmUtils; import com.github.mikephil.charting.interfaces.datasets.IRadarDataSet; import java.util.List; import io.realm.RealmObject; import io.real...
BD-ITAC/BD-ITAC
mobile/Alertas/MPChartLib/src/main/java/com/github/mikephil/charting/data/realm/implementation/RealmRadarData.java
Java
mit
633
package org.knowm.xchange.itbit.v1.service; import java.io.IOException; import java.util.List; import org.knowm.xchange.Exchange; import org.knowm.xchange.currency.CurrencyPair; import org.knowm.xchange.dto.Order.OrderType; import org.knowm.xchange.dto.marketdata.OrderBook; import org.knowm.xchange.dto.marke...
anwfr/XChange
xchange-itbit/src/main/java/org/knowm/xchange/itbit/v1/service/ItBitMarketDataService.java
Java
mit
1,800
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
joshgarde/SpongeAPI
src/main/java/org/spongepowered/api/event/state/ServerStoppingEvent.java
Java
mit
1,462
package org.kohsuke.args4j.apt; import junit.framework.TestCase; import org.kohsuke.args4j.Option; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; public class AnnotationVisitorReordererTest extends TestCase { private AnnotationVisitor ta...
sannies/args4j
args4j-tools/test/org/kohsuke/args4j/apt/AnnotationVisitorReordererTest.java
Java
mit
1,688
/** * Internal execution tasks for JUnit's console launcher. */ package org.junit.platform.console.tasks;
sbrannen/junit-lambda
junit-platform-console/src/main/java/org/junit/platform/console/tasks/package-info.java
Java
epl-1.0
109
/******************************************************************************* * Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 ...
RallySoftware/eclipselink.runtime
foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/models/generic/ClassI17.java
Java
epl-1.0
812
/******************************************************************************* * Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 ...
RallySoftware/eclipselink.runtime
jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/models/jpa/xml/relationships/Order.java
Java
epl-1.0
2,640
/******************************************************************************* * Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 ...
RallySoftware/eclipselink.runtime
jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/models/jpa/inheritance/RockTireInfo.java
Java
epl-1.0
1,249
/******************************************************************************* * Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 ...
RallySoftware/eclipselink.runtime
moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/oxm/mappings/xmlfragmentcollection/XMLFragmentCollectionElementDiffPrefixTestCases.java
Java
epl-1.0
2,582
/* * @test /nodynamiccopyright/ * @bug 4332631 4785453 * @summary Check for proper error recovery when superclass of extended * class is no longer available during a subsequent compilation. * @author maddox * * @compile/fail/ref=MissingSuperRecovery.out -XDstdout -XDdiags=%b:%l:%_%m MissingSuperRecovery.java *...
lucasicf/metricgenerator-jdk-compiler
test/tools/javac/missingSuperRecovery/MissingSuperRecovery.java
Java
gpl-2.0
624
/* * Copyright (c) 2000, 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 ...
isaacl/openjdk-jdk
src/share/classes/javax/swing/text/NavigationFilter.java
Java
gpl-2.0
6,110
package net.minecraftforge.items; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTBase; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagList; import net.minecraft.util.EnumFacing; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.common.capabil...
danielyc/test-1.9.4
build/tmp/recompileMc/sources/net/minecraftforge/items/CapabilityItemHandler.java
Java
gpl-3.0
2,707
package appeng.api.networking; import java.util.Iterator; /** * An extension of IGridBlock, only means something when your getFlags() contains REQUIRE_CHANNEL, when done properly it * will call the method to get a list of all related nodes and give each of them a channel simultaneously for the entire * set. This m...
Zerrens/InterstellarOres
src/main/java/appeng/api/networking/IGridMultiblock.java
Java
gpl-3.0
716