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
/* * 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 ...
cpcloud/arrow
java/gandiva/src/main/java/org/apache/arrow/gandiva/evaluator/Projector.java
Java
apache-2.0
15,856
/* * 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 ...
davidkarlsen/camel
components/camel-wordpress/src/main/java/org/apache/camel/component/wordpress/api/model/PublishableStatus.java
Java
apache-2.0
1,877
/* * 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 ...
shakamunyi/beam
sdks/java/nexmark/src/main/java/org/apache/beam/sdk/nexmark/model/SellerPrice.java
Java
apache-2.0
2,739
/* * Copyright 2012-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...
LegNeato/buck
test/com/facebook/buck/android/TestDevice.java
Java
apache-2.0
8,561
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
gstevey/gradle
subprojects/model-core/src/main/java/org/gradle/model/internal/core/ModelViews.java
Java
apache-2.0
2,369
/* * Copyright 2016-present Open Networking Laboratory * * 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 appli...
Phaneendra-Huawei/demo
utils/yangutils/src/test/java/org/onosproject/yangutils/parser/impl/listeners/ContainerListenerTest.java
Java
apache-2.0
9,156
/* * 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 ...
nikhilvibhav/camel
catalog/camel-route-parser/src/test/java/org/apache/camel/parser/xml/XmlWithPrefixParseTreeTest.java
Java
apache-2.0
3,458
/* * Copyright (c) 2005-2010, 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.ap...
maheshika/carbon-data
components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/description/query/RdfFileQuery.java
Java
apache-2.0
3,616
/** * 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...
lindzh/jstorm
jstorm-ui/src/main/java/com/alibaba/jstorm/ui/model/UIUserDefinedMetric.java
Java
apache-2.0
2,492
package org.zstack.simulator.storage.primary.nfs; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpEntity; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.Reque...
fishky/zstack
simulator/simulatorImpl/src/main/java/org/zstack/simulator/storage/primary/nfs/NfsPrimaryStorageSimulator.java
Java
apache-2.0
16,116
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.math.linearalgebra; import org.apache.commons.lang.Validate; import com.opengamma.analytics.math.matrix.DoubleMatrix1D; import com.opengamma.analyt...
charles-cooper/idylfin
src/com/opengamma/analytics/math/linearalgebra/CholeskyDecompositionOpenGammaResult.java
Java
apache-2.0
3,730
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
ricepanda/rice-git3
rice-framework/krad-sampleapp/web/src/it/java/org/kuali/rice/krad/labs/transactional/LabsLookupSecurityTravelAuthorizationDocumentAuthorizedAft.java
Java
apache-2.0
2,634
package liquibase.integration.ant; import liquibase.resource.ClassLoaderResourceAccessor; import liquibase.resource.CompositeResourceAccessor; import liquibase.resource.ResourceAccessor; import org.apache.tools.ant.AntClassLoader; import org.apache.tools.ant.Project; import org.apache.tools.ant.types.Path; import jav...
OculusVR/shanghai-liquibase
liquibase-core/src/main/java/liquibase/integration/ant/AntResourceAccessor.java
Java
apache-2.0
1,460
/* * 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
components/camel-iec60870/src/main/java/org/apache/camel/component/iec60870/ObjectAddress.java
Java
apache-2.0
3,804
/* * 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...
Darsstar/framework
server/src/main/java/com/vaadin/server/communication/PushConnection.java
Java
apache-2.0
1,860
/* * Copyright (c) 2013 Chun-Ying Huang * * This file is part of GamingAnywhere (GA). * * GA is free software; you can redistribute it and/or modify it * under the terms of the 3-clause BSD License as published by the * Free Software Foundation: http://directory.fsf.org/wiki/License:BSD_3Clause * * GA is distr...
yunyu-Mr/gaminganywhere
ga/android/src/org/gaminganywhere/gaclient/util/GAControllerBasic.java
Java
bsd-3-clause
3,268
/* This file is part of Cyclos (www.cyclos.org). A project of the Social Trade Organisation (www.socialtrade.org). Cyclos 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 th...
robertoandrade/cyclos
src/nl/strohalm/cyclos/dao/accounts/transactions/TransferAuthorizationDAO.java
Java
gpl-2.0
1,481
/* * Copyright (c) 2005, 2016, 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 ...
md-5/jdk10
src/java.xml/share/classes/com/sun/xml/internal/stream/events/XMLEventAllocatorImpl.java
Java
gpl-2.0
11,632
/* * Copyright (c) 2007, 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...
YouDiSN/OpenJDK-Research
jdk9/jdk/test/java/util/ArrayList/RangeCheckMicroBenchmark.java
Java
gpl-2.0
9,205
/* * Copyright (c) 2000, 2017, 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 ...
md-5/jdk10
src/java.desktop/share/classes/javax/print/attribute/Size2DSyntax.java
Java
gpl-2.0
12,328
/* * 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...
OhmGeek/ThanCue
src/org/zeroturnaround/zip/extra/ZipLong.java
Java
gpl-3.0
5,578
package org.openpnp.vision.pipeline.stages; import java.util.ArrayList; import java.util.List; import org.opencv.core.Mat; import org.opencv.imgproc.Imgproc; import org.openpnp.vision.pipeline.CvPipeline; import org.openpnp.vision.pipeline.CvStage; import org.openpnp.vision.pipeline.Property; import org.openpnp.visio...
richard-sim/openpnp
src/main/java/org/openpnp/vision/pipeline/stages/ThresholdAdaptive.java
Java
gpl-3.0
2,829
package org.mozilla.osmdroid.contributor; /** * Copyright by Christof Dallermassl * This program is free software and licensed under GPL. * * Original JAVA-Code ported for Android compatibility by Nicolas 'plusminus' Gramlich. */ import org.mozilla.osmdroid.contributor.util.RecordedGeoPoint; import org.mozilla.o...
petercpg/MozStumbler
android/src/main/java/org/mozilla/osmdroid/contributor/OSMUploader.java
Java
mpl-2.0
12,085
package com.android.uiautomator; class UiAutomatorViewer { class AttributeTableEditingSupport { int mViewer; } int mDy; int mDx; int mScale; int mTableViewer; int mToggleNafAction; int mScreenshotAction; int mExpandAllAction; int mOpenFilesAction; int mTreeViewer; int mScreenshotCanvas; in...
mutantzombie/pfff
data/java_stdlib/android/com.android.uiautomator.java
Java
lgpl-2.1
826
/******************************************************************************* * * Pentaho Big Data * * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the "License...
mdamour1976/big-data-plugin
test-src/org/pentaho/di/ui/job/entries/sqoop/DatabaseItemTest.java
Java
apache-2.0
2,341
/** * 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...
archanah24/lens
lens-api/src/main/java/org/apache/lens/api/error/LensHttpStatus.java
Java
apache-2.0
2,173
package com.tonicartos.superslim; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { ...
pacificIT/SuperSLiM
library/src/androidTest/java/com/tonicartos/superslim/ApplicationTest.java
Java
apache-2.0
355
/* * Copyright 2003-2014 Dave Griffith, Bas Leijdekkers * * 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 applicab...
siosio/intellij-community
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/classlayout/FinalMethodInFinalClassInspection.java
Java
apache-2.0
2,583
// Copyright (C) 2009 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 applicable ...
duboisf/gerrit
gerrit-server/src/main/java/com/google/gerrit/server/query/AndPredicate.java
Java
apache-2.0
2,984
/* * 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")...
howepeng/isis
core/applib/src/main/java/org/apache/isis/applib/query/QueryFindAllInstances.java
Java
apache-2.0
1,663
/* * Copyright 2003-2017 Dave Griffith, Bas Leijdekkers * * 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 applicab...
jwren/intellij-community
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/controlflow/TrivialIfInspection.java
Java
apache-2.0
8,998
/** * 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...
ananthc/apex-malhar
contrib/src/main/java/org/apache/apex/malhar/contrib/redis/RedisKeyValueInputOperator.java
Java
apache-2.0
2,277
package org.radargun.service; import org.jgroups.Event; import org.jgroups.Message; import org.radargun.protocols.SLAVE_PARTITION; /** * SLAVE_PARTITION adapted for JGroups 3.3.x * * @author Radim Vansa &lt;rvansa@redhat.com&gt; */ public class SLAVE_PARTITION_33 extends SLAVE_PARTITION { @Override public O...
vjuranek/radargun
plugins/infinispan52/src/main/java/org/radargun/service/SLAVE_PARTITION_33.java
Java
apache-2.0
620
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.sql.expression.predicate.logical; import org....
coding0011/elasticsearch
x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/expression/predicate/logical/BinaryLogic.java
Java
apache-2.0
1,799
package com.importnew.importnewapp; public class DateTest{ }
leerduo/ImportNewApp
app/src/androidTest/java/com/importnew/importnewapp/DateTest.java
Java
apache-2.0
63
/* * JBoss, Home of Professional Open Source * Copyright 2006, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. * See the copyright.txt in the distribution for a * full listing of individual contributors. * This copyrighted material is made available to anyone wishing to ...
nmcl/scratch
graalvm/transactions/fork/narayana/ArjunaJTS/jts/tests/classes/com/hp/mwtests/ts/jts/orbspecific/interposition/ServerTopLevelStrictUnitTest.java
Java
apache-2.0
2,298
/** * 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...
dennishuo/hadoop
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/erasurecode/ErasureCodingWorker.java
Java
apache-2.0
6,722
// Copyright 2000-2020 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.jetbrains.python.buildout.config; import com.intellij.openapi.editor.colors.TextAttributesKey; import com.intellij.openapi.fileTypes.SyntaxHighlighter; import com.int...
siosio/intellij-community
python/src/com/jetbrains/python/buildout/config/BuildoutCfgColorsPage.java
Java
apache-2.0
2,920
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jitsi.impl.neomedia.transform.zrtp; import gnu.java.zrtp.*; import gnu.java.zrtp.utils.*; import java.util.*; import org.jitsi.impl.neomedia.*; import org.ji...
HappyYang/libjitsi
src/org/jitsi/impl/neomedia/transform/zrtp/ZrtpControlImpl.java
Java
apache-2.0
11,256
package net.sf.jabref.gui.filelist; import java.util.ArrayList; import java.util.List; import java.util.Optional; import java.util.StringJoiner; import javax.swing.JLabel; import javax.swing.SwingUtilities; import javax.swing.event.TableModelEvent; import javax.swing.table.AbstractTableModel; import net.sf.jabref.gu...
Mr-DLib/jabref
src/main/java/net/sf/jabref/gui/filelist/FileListTableModel.java
Java
mit
7,241
/* * $Id: JavaFunction.java,v 1.6 2006-12-22 14:06:40 thiago Exp $ * Copyright (C) 2003-2007 Kepler Project. * * 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, inclu...
bunnyblue/AndroLua
src/org/keplerproject/luajava/JavaFunction.java
Java
mit
3,034
// ////////////////////////////////////////////////////////////////////////////// // // RMG - Reaction Mechanism Generator // // Copyright (c) 2002-2011 Prof. William H. Green (whgreen@mit.edu) and the // RMG Team (rmg_dev@mit.edu) // // Permission is hereby granted, free of charge, to any person obtaining a //...
keceli/RMG-Java
source/RMG/jing/chem/ChemElementDictionary.java
Java
mit
3,323
/** * Copyright (c) 2010-2014, openHAB.org 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, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org...
hubermi/openhab
bundles/io/org.openhab.io.gcal/src/main/java/org/openhab/io/gcal/internal/util/ExecuteCommandJob.java
Java
epl-1.0
4,778
/* * Copyright (c) 2017, 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...
YouDiSN/OpenJDK-Research
jdk9/jdk/test/java/lang/ClassLoader/securityManager/ClassLoaderTest.java
Java
gpl-2.0
12,452
/* * Copyright (c) 2019, 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...
md-5/jdk10
test/jdk/sun/security/tools/keytool/SecurityToolsTest.java
Java
gpl-2.0
2,451
// MESSAGE POWER_STATUS PACKING package com.MAVLink.Messages.ardupilotmega; import com.MAVLink.Messages.MAVLinkMessage; import com.MAVLink.Messages.MAVLinkPacket; import com.MAVLink.Messages.MAVLinkPayload; //import android.util.Log; /** * Power supply status */ public class msg_power_status extends MAVLinkMessage{ ...
TShapinsky/droidplanner
Mavlink/src/com/MAVLink/Messages/ardupilotmega/msg_power_status.java
Java
gpl-3.0
2,315
/* Copyright (c) 2001-2009, The HSQL Development Group * 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...
apavlo/h-store
src/hsqldb19b3/org/hsqldb/StatementSimple.java
Java
gpl-3.0
9,776
/** * * Copyright (c) 2014, the Railo Company Ltd. All rights reserved. * * 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; either * version 2.1 of the License, or (at your option) ...
lucee/unoffical-Lucee-no-jre
source/java/core/src/lucee/runtime/tag/GridUpdate.java
Java
lgpl-2.1
5,754
/* * SonarQube, open source software quality management tool. * Copyright (C) 2008-2014 SonarSource * mailto:contact AT sonarsource DOT com * * SonarQube 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...
sulabh-msft/sonarqube
server/sonar-server/src/main/java/org/sonar/server/computation/issue/ScmAccountToUserLoader.java
Java
lgpl-3.0
2,728
/* * 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...
vvv1559/intellij-community
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/psi/api/statements/expressions/path/GrIndexProperty.java
Java
apache-2.0
1,302
package org.keycloak.testsuite.sssd; import java.io.InputStream; import java.util.Arrays; import java.util.List; import javax.ws.rs.core.Response; import org.apache.commons.configuration.ConfigurationException; import org.apache.commons.configuration.PropertiesConfiguration; import org.jboss.arquillian.graphene.page...
keycloak/keycloak
testsuite/integration-arquillian/tests/other/sssd/src/test/java/org/keycloak/testsuite/sssd/SSSDTest.java
Java
apache-2.0
9,493
/* * 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...
facebook/presto
presto-hive/src/main/java/com/facebook/presto/hive/util/AsyncQueue.java
Java
apache-2.0
8,963
/* * 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
server/src/main/java/org/elasticsearch/search/aggregations/bucket/SingleBucketAggregator.java
Java
apache-2.0
952
/* * 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 ...
milleruntime/accumulo
server/monitor/src/main/java/org/apache/accumulo/monitor/util/ParameterValidator.java
Java
apache-2.0
1,336
/* * 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/drill
exec/java-exec/src/main/java/org/apache/drill/exec/store/StatisticsRecordWriter.java
Java
apache-2.0
1,963
/* * 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...
dabaitu/presto
presto-hive/src/main/java/com/facebook/presto/hive/HiveTypeTranslator.java
Java
apache-2.0
7,003
package org.apache.lucene.search.grouping.term; /* * 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 ...
yintaoxue/read-open-source-code
solr-4.7.2/src/org/apache/lucene/search/grouping/term/TermDistinctValuesCollector.java
Java
apache-2.0
4,823
/** * 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...
bitmybytes/hadoop
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/container/ContainerEventType.java
Java
apache-2.0
1,333
package com.cardpay.workflow.models; import com.wicresoft.jrad.base.database.model.BusinessModel; import com.wicresoft.jrad.base.database.model.ModelParam; @ModelParam(table = "wf_status_info") public class WfStatusInfo extends BusinessModel{ /** * */ private static final long serialVersionUID = -9...
zhuyuanyan/PCCredit_TY
src/java/com/cardpay/workflow/models/WfStatusInfo.java
Java
apache-2.0
1,453
package org.wso2.developerstudio.datamapper.diagram.custom.util; import java.util.ArrayList; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.edit.command.AddCommand; import org.eclipse.emf.edit.command.DeleteCommand; import org.eclipse.emf.transaction.TransactionalEditingDomain; import org.eclipse.ge...
nwnpallewela/developer-studio
datamapper-tool/org.wso2.developerstudio.visualdatamapper.diagram/src/org/wso2/developerstudio/datamapper/diagram/custom/util/ConfigureSplitOperatorDialog.java
Java
apache-2.0
4,626
/* * 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 no...
cooldoger/cassandra
test/unit/org/apache/cassandra/db/commitlog/CommitLogTest.java
Java
apache-2.0
36,918
/* * Copyright (c) 2018, Adam <Adam@sigterm.info> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * li...
Sethtroll/runelite
runelite-script-assembler-plugin/src/main/java/net/runelite/script/IndexMojo.java
Java
bsd-2-clause
2,911
/* Copyright (c) 2008-2015, Avian Contributors Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. There is NO WARRANTY for this software. See l...
bgould/avian
classpath/java/lang/ArithmeticException.java
Java
isc
558
/* * Copyright 2005 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
rokn/Count_Words_2015
testing/drools-master/drools-core/src/main/java/org/drools/core/event/rule/impl/RuleFlowGroupEventImpl.java
Java
mit
2,161
// -*- mode: java; c-basic-offset: 2; -*- // Copyright 2009-2011 Google, All Rights reserved // Copyright 2011-2012 MIT, All rights reserved // Released under the MIT License https://raw.github.com/mit-cml/app-inventor/master/mitlicense.txt // TODO(user): reconsider visibilities of the abstract base classes in this pac...
AppScale/appinventor
src/com/google/appinventor/client/editor/simple/components/MockImageBase.java
Java
mit
3,879
/** * 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....
clinique/openhab2
bundles/org.openhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/eep/A5_08/A5_08.java
Java
epl-1.0
3,271
/** * 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 it will be ...
BeyondTheBoundary/cspoker
server/rmi/src/main/java/org/cspoker/server/rmi/RunRMIServer.java
Java
gpl-2.0
1,647
/** * 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 it will be ...
BeyondTheBoundary/cspoker
ai/opponentmodels/weka/src/main/java/org/cspoker/ai/opponentmodels/weka/WekaRegressionModel.java
Java
gpl-2.0
10,668
/* * 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
qadevOOo/tests/java/ifc/sheet/_TableValidation.java
Java
gpl-3.0
1,541
package org.zarroboogs.weibo.dialogfragment; import org.zarroboogs.weibo.R; import android.app.AlertDialog; import android.app.Dialog; import android.app.DialogFragment; import android.content.DialogInterface; import android.os.Bundle; public class SelectPictureDialog extends DialogFragment { public static Sel...
tsdl2013/iBeebo
app/src/main/java/org/zarroboogs/weibo/dialogfragment/SelectPictureDialog.java
Java
gpl-3.0
894
/******************************************************************************* * Copyright 2011 See libgdx AUTHORS file. * * 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 * * ...
opensciencemap/vtm
vtm-web/src/org/oscim/gdx/emu/com/badlogic/gdx/graphics/Pixmap.java
Java
gpl-3.0
12,582
/* * Copyright (C) 2013 jonas.oreland@gmail.com * * 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 ...
feilaoda/runnerup
app/src/org/runnerup/export/JoggSESynchronizer.java
Java
gpl-3.0
11,318
/* * JBoss, Home of Professional Open Source. * Copyright (c) 2016, 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 * ...
xasx/wildfly
testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/jca/statistics/xa/XaDataSourcePoolStatisticsTestCase.java
Java
lgpl-2.1
7,146
/* * 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...
jamezp/wildfly-core
controller/src/main/java/org/jboss/as/controller/access/ResourceNotAddressableException.java
Java
lgpl-2.1
2,025
/* * 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...
gfyoung/elasticsearch
server/src/main/java/org/elasticsearch/action/DocWriteResponse.java
Java
apache-2.0
15,164
/* * Copyright (c) 2005 - 2014, WSO2 Inc. (http://www.wso2.org) 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 * ...
keizer619/carbon-analytics-common
components/event-receiver/org.wso2.carbon.event.receiver.ui/src/main/java/org/wso2/carbon/event/receiver/ui/EventReceiverUIConstants.java
Java
apache-2.0
1,054
/* * 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 ...
samaitra/ignite
modules/core/src/test/java/org/apache/ignite/internal/encryption/EncryptedCachePreconfiguredRestartTest.java
Java
apache-2.0
2,966
/* * 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 ...
akuznetsov-gridgain/ignite
modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsTaskSelfTest.java
Java
apache-2.0
9,305
/* * 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 ...
WangTaoTheTonic/flink
flink-java/src/main/java/org/apache/flink/api/java/summarize/aggregation/TupleSummaryAggregator.java
Java
apache-2.0
2,389
/* * 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 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
jmluy/elasticsearch
client/rest-high-level/src/main/java/org/elasticsearch/client/watcher/ExecuteWatchRequest.java
Java
apache-2.0
5,217
/** * Licensed to Apereo under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright ownership. Apereo * licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use * this file except in compli...
ChristianMurphy/uPortal
uPortal-security/uPortal-security-core/src/main/java/org/apereo/portal/security/IPermissionManager.java
Java
apache-2.0
2,232
/* * 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 ...
wwjiang007/flink
flink-connectors/flink-connector-elasticsearch-base/src/test/java/org/apache/flink/connector/elasticsearch/sink/ElasticsearchSinkBuilderBaseTest.java
Java
apache-2.0
3,686
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (th...
tgf/pentaho-kettle
ui/src/org/pentaho/di/ui/trans/steps/addsequence/AddSequenceDialog.java
Java
apache-2.0
24,982
package com.pedrogomez.renderers; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.pedrogomez.renderers.exception.NotInflateViewException; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import org.mo...
tmexcept/Renderers-Eclipse
renderers/test/com/pedrogomez/renderers/RendererTest.java
Java
apache-2.0
2,913
/* * Copyright (C) 2012 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 ...
RomzesRover/HoloEverywhere
library/src/org/holoeverywhere/widget/datetimepicker/TouchExplorationHelper.java
Java
mit
17,677
package net.sf.jabref.gui.renderer; import java.awt.Color; import java.awt.Component; import javax.swing.Icon; import javax.swing.JLabel; import javax.swing.JTable; import javax.swing.table.DefaultTableCellRenderer; /** * Renderer for table cells, which supports both Icons, JLabels and plain text. */ public class ...
Mr-DLib/jabref
src/main/java/net/sf/jabref/gui/renderer/GeneralRenderer.java
Java
mit
2,732
/* * This file is part of Sponge, 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 "Softwar...
ryantheleach/SpongeCommon
src/main/java/org/spongepowered/common/mixin/api/event/cause/damage/MixinAbstractEntityDamageSource.java
Java
mit
3,622
/** * Copyright (c) 2014-2017 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 */ pa...
AchimHentschel/smarthome
extensions/transform/org.eclipse.smarthome.transform.regex.test/src/test/java/org/eclipse/smarthome/transform/regex/internal/AbstractTransformationServiceTest.java
Java
epl-1.0
2,197
/** * Copyright (c) 2014-2016 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 */...
steand/openhab2-addons
addons/binding/org.openhab.binding.samsungtv/src/main/java/org/openhab/binding/samsungtv/internal/service/DataConverters.java
Java
epl-1.0
3,110
/* * Copyright (c) 2003, 2018, 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 ...
md-5/jdk10
test/hotspot/jtreg/vmTestbase/nsk/jvmti/unit/MethodBind/JvmtiTest.java
Java
gpl-2.0
3,467
/* * Copyright (c) 2001, 2018, 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 ...
md-5/jdk10
test/hotspot/jtreg/vmTestbase/nsk/jdwp/ThreadReference/Status/status001a.java
Java
gpl-2.0
4,657
/* * 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...
sbbic/core
xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/package-info.java
Java
gpl-3.0
1,005
/** * 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/. OpenMRS is also distributed under * the terms of the Healthcare Disclaimer located at http://openmrs.org/license....
milankarunarathne/openmrs-core
api/src/main/java/org/openmrs/ConceptStopWord.java
Java
mpl-2.0
2,428
/* * 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 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
GlenRSmith/elasticsearch
server/src/test/java/org/elasticsearch/index/IndexTests.java
Java
apache-2.0
2,875
package org.apache.solr.spelling.suggest; /* * 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 Licens...
williamchengit/TestRepo
solr/core/src/java/org/apache/solr/spelling/suggest/SuggesterParams.java
Java
apache-2.0
2,682
/* * 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 ...
akuznetsov-gridgain/ignite
modules/core/src/main/java/org/apache/ignite/internal/util/typedef/CAX.java
Java
apache-2.0
1,396
package org.zstack.header.vm; import org.zstack.header.message.MessageReply; /** * Created by xing5 on 2016/3/29. */ public class HaStartVmInstanceReply extends MessageReply { }
winger007/zstack
header/src/main/java/org/zstack/header/vm/HaStartVmInstanceReply.java
Java
apache-2.0
182
/*========================================================================= * Copyright (c) 2002-2014 Pivotal Software, Inc. All Rights Reserved. * This product is protected by U.S. and international copyright * and intellectual property laws. Pivotal products are covered by * more patents listed at http://www.pivo...
nchandrappa/incubator-geode
gemfire-core/src/main/java/com/gemstone/gemfire/cache/LowMemoryException.java
Java
apache-2.0
1,966
/* * 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 ...
jinhyukchang/gobblin
gobblin-modules/google-ingestion/src/main/java/org/apache/gobblin/ingestion/google/webmaster/GoogleWebmasterClientImpl.java
Java
apache-2.0
4,421
// 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 applicable ...
Saulis/gerrit
gerrit-plugin-js-archetype/src/main/resources/archetype-resources/src/main/java/MyJsExtension.java
Java
apache-2.0
876