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) 2012 IBM Corporation 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 a... | OpenLiberty/open-liberty | dev/com.ibm.ws.org.apache.cxf.cxf.rt.frontend.jaxrs.3.2/src/com/ibm/ws/jaxrs20/api/JaxRsModuleInfoBuilder.java | Java | epl-1.0 | 1,297 |
package org.jboss.windup.exec;
/**
* A progress monitor API to allow monitoring of system while analyzing an application and/or generating reports.
*
* @author <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a>
*/
public interface WindupProgressMonitor
{
/**
* Constant indicating an unknown... | mareknovotny/windup | exec/api/src/main/java/org/jboss/windup/exec/WindupProgressMonitor.java | Java | epl-1.0 | 2,767 |
/*
* Copyright 2015-2020 the original author or authors.
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v2.0 which
* accompanies this distribution and is available at
*
* https://www.eclipse.org/legal/epl-v20.html
*/
packa... | sbrannen/junit-lambda | junit-jupiter-api/src/main/java/org/junit/jupiter/api/parallel/ResourceAccessMode.java | Java | epl-1.0 | 788 |
/*******************************************************************************
* 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.jface.test/src/org/eclipse/reddeer/jface/test/window/EclipseWindow.java | Java | epl-1.0 | 987 |
/*******************************************************************************
* Copyright (c) 2012-2015 Codenvy, S.A.
* 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 ... | riuvshin/che-plugins | plugin-java/che-plugin-java-ext-java/src/test/java/org/eclipse/che/ide/ext/java/client/core/CodeAssistantTest.java | Java | epl-1.0 | 6,058 |
/*******************************************************************************
* Copyright (C) 2005, 2012 Wolfgang Schramm and Contributors
*
* 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
* Foundat... | rhchen/aftrace | libs/plugins/net.tourbook.common/src/net/tourbook/common/tooltip/AbstractRRShell.java | Java | epl-1.0 | 7,686 |
/*
* 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... | jonahkichwacoders/che | wsagent/che-core-api-languageserver/src/main/java/org/eclipse/che/api/languageserver/util/OperationUtil.java | Java | epl-1.0 | 3,827 |
/*
* Copyright 2014 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Eclipse Public License version 1.0, available at http://www.eclipse.org/legal/epl-v10.html
*/
package io.liveoak.pgsql.data;
import io.liveoak.pgsql.meta.Column;
import io.liveoak.pgsql.meta.PrimaryKey;
/**
* @author <a href="mailto:... | liveoak-io/liveoak | modules/pgsql/src/main/java/io/liveoak/pgsql/data/Id.java | Java | epl-1.0 | 876 |
/*******************************************************************************
* Copyright (c) 2000, 2009 IBM Corporation 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, an... | boniatillo-com/PhaserEditor | source/thirdparty/jsdt/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/lookup/ImportBinding.java | Java | epl-1.0 | 1,598 |
/*
* $Id$
*
* Copyright 2006 University of Dundee. All rights reserved.
* Use is subject to license terms supplied in LICENSE.txt
*/
package ome.client.utests;
//Java imports
import java.util.List;
//Third-party libraries
import org.springframework.test.AbstractDependencyInjectionSpringContextTests;
import... | rleigh-dundee/openmicroscopy | components/client/test/ome/client/utests/Preferences2Test.java | Java | gpl-2.0 | 1,644 |
/*
* Copyright (c) 2009-2010 jMonkeyEngine
* 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 ... | rex-xxx/mt6572_x201 | external/jmonkeyengine/engine/src/core/com/jme3/util/SortUtil.java | Java | gpl-2.0 | 11,193 |
/*
* POP3Connection.java
* Copyright (C) 2003 The Free Software Foundation
*
* This file is part of GNU inetlib, a library.
*
* GNU inetlib 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 vers... | imoseyon/leanKernel-d2usc-deprecated | vendor/samsung/common/packages/apps/Email/lib_Src/inetlib-1.1.1/source/gnu/inet/pop3/POP3Connection.java | Java | gpl-2.0 | 24,279 |
/* $Id$ */
/***************************************************************************
* (C) Copyright 2003-2011 - Stendhal *
***************************************************************************
***************************************************************************
... | nhnb/stendhal | src/games/stendhal/server/maps/quests/FindGhosts.java | Java | gpl-2.0 | 11,968 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2009-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | vishwaAbhinav/OpenNMS | opennms-wmi/src/main/java/org/opennms/protocols/wmi/wbem/jinterop/OnmsWbemObjectImpl.java | Java | gpl-2.0 | 5,604 |
/*
* 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... | Telegram-FOSS-Team/Telegram-FOSS | TMessagesProj/src/main/java/com/google/android/exoplayer2/extractor/ExtractorInput.java | Java | gpl-2.0 | 13,744 |
/**
* Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. 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 Public License
* as published... | hexbinary/landing | src/main/java/oscar/util/ConversionUtils.java | Java | gpl-2.0 | 8,182 |
package org.cms.service.cache;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public Ap... | weige211/apfcms | cms-maven-1.0.3/cms-service-cache/src/test/java/org/cms/service/cache/AppTest.java | Java | gpl-2.0 | 649 |
/*
* Copyright (C) 2007-2010 Geometer Plus <contact@geometerplus.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 2 of the License, or
* (at your option) any later ver... | giannoug/android_device_jxd_s7300b | packages/PicturePlayer/src/org/geometerplus/android/fbreader/ShowNavigationAction.java | Java | gpl-2.0 | 1,550 |
package com.bigdata.io.writecache;
import com.bigdata.rwstore.RWStore;
public interface IBufferedWriter {
int getSlotSize(int data_len);
RWStore.StoreCounters<?> getStoreCounters();
}
| smalyshev/blazegraph | bigdata/src/java/com/bigdata/io/writecache/IBufferedWriter.java | Java | gpl-2.0 | 191 |
/*
* Copyright 2012, 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 conditio... | droidefense/engine | mods/memapktool/src/main/java/org/jf/dexlib2/util/Preconditions.java | Java | gpl-3.0 | 9,100 |
/*
* Copyright (C) 2008 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... | s20121035/rk3288_android5.1_repo | packages/apps/Launcher3/src/com/android/launcher3/ShortcutAndWidgetContainer.java | Java | gpl-3.0 | 8,713 |
import java.io.IOException;
public class FoodItem extends TangibleItem {
public final static long serialVersionUID = 1l;
private int iFilling;
private boolean bIsFood;
private BuffEffect buffEffect;
public FoodItem() {
super();
buffEffect = null;
}
public void setIsFood(boolean bIsFood) {
this.bIsFoo... | oswin06082/SwgAnh1.0a | documents/SWGCombined/src/FoodItem.java | Java | gpl-3.0 | 1,779 |
/*
* 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 u... | srnsw/xena | plugins/project/ext/src/poi-3.2-FINAL/src/java/org/apache/poi/hssf/record/formula/functions/Evaluate.java | Java | gpl-3.0 | 937 |
package context.apps.demos.helloroom;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.GridLayout;
import javax.swing.DefaultBoundedRangeModel;
import javax.swing.JFormattedTextField;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JSlide... | moudaaoulmi/contexttoolkit | src/context/apps/demos/helloroom/HelloRoom.java | Java | gpl-3.0 | 5,011 |
package org.ebookdroid.ui.viewer.adapters;
import org.sufficientlysecure.viewer.R;
import org.ebookdroid.common.settings.books.BookSettings;
import org.ebookdroid.core.Page;
import org.ebookdroid.core.codec.OutlineLink;
import org.ebookdroid.core.models.DocumentModel;
import org.ebookdroid.ui.viewer.IActivityControlle... | abderrahim/document-viewer | document-viewer/src/main/java/org/ebookdroid/ui/viewer/adapters/OutlineAdapter.java | Java | gpl-3.0 | 9,185 |
package net.minecraft.command.server;
import java.util.List;
import net.minecraft.command.CommandBase;
import net.minecraft.command.CommandException;
import net.minecraft.command.ICommandSender;
import net.minecraft.command.WrongUsageException;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.serv... | aebert1/BigTransport | build/tmp/recompileMc/sources/net/minecraft/command/server/CommandEmote.java | Java | gpl-3.0 | 2,183 |
package com.gmail.dpierron.calibre.datamodel.filter;
import com.gmail.dpierron.calibre.datamodel.Book;
import com.gmail.dpierron.calibre.datamodel.Tag;
import com.gmail.dpierron.tools.Helper;
public class TagFilter implements BookFilter {
/** the filter string */
private final String filterValue;
/... | pabalexa/calibre2opds | DataModel/src/main/java/com/gmail/dpierron/calibre/datamodel/filter/TagFilter.java | Java | gpl-3.0 | 1,144 |
package net.minecraft.tileentity;
import net.minecraft.init.Blocks;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.network.Packet;
import net.minecraft.network.play.server.S35PacketUpdateTileEntity;
import net.minecraft.world.World;
public class TileEntityMobSpawner extends TileEntity
{
private fin... | Scrik/Cauldron-1 | eclipse/cauldron/src/main/java/net/minecraft/tileentity/TileEntityMobSpawner.java | Java | gpl-3.0 | 2,674 |
package de.btu.openinfra.backend.db.rbac;
import java.util.Locale;
import java.util.UUID;
import javax.ws.rs.core.UriInfo;
import de.btu.openinfra.backend.db.OpenInfraSchemas;
import de.btu.openinfra.backend.db.daos.AttributeTypeDao;
import de.btu.openinfra.backend.db.jpa.model.AttributeType;
import de.btu... | OpenInfRA/core | openinfra_core/src/main/java/de/btu/openinfra/backend/db/rbac/AttributeTypeRbac.java | Java | gpl-3.0 | 1,022 |
/*
* This project is licensed under the open source MPL V2.
* See https://github.com/openMF/android-client/blob/master/LICENSE.md
*/
package com.mifos.objects.accounts.savings;
import android.os.Parcel;
import android.os.Parcelable;
public class LockinPeriodFrequencyType implements Parcelable {
Integer id;
... | CloudyPadmal/android-client | mifosng-android/src/main/java/com/mifos/objects/accounts/savings/LockinPeriodFrequencyType.java | Java | mpl-2.0 | 1,963 |
/*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Yukarumya/Yukarum-Redfoxes | mobile/android/services/src/main/java/org/mozilla/gecko/background/preferences/PreferenceFragment.java | Java | mpl-2.0 | 9,962 |
/*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2013 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the GNU Affero
* General Public License. All contributions in this program are covered
* by the Geomajas Contr... | lat-lon/geomajas | plugin/geomajas-plugin-editing/editing-javascript-api/src/main/java/org/geomajas/plugin/editing/jsapi/client/event/GeometryEditRemoveEvent.java | Java | agpl-3.0 | 2,230 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2008-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | aihua/opennms | features/ticketing/otrs-integration/src/test/java/org/opennms/netmgt/ticketer/otrs/OtrsTicketerPluginTest.java | Java | agpl-3.0 | 10,037 |
/*
* Copyright 2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | aihua/opennms | features/osgi-jsr223/src/main/java/org/opennms/features/osgi/script/OSGiScriptEngineFactory.java | Java | agpl-3.0 | 2,885 |
/*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2013 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the GNU Affero
* General Public License. All contributions in this program are covered
* by the Geomajas Contr... | oliverm-be/geomajas | face/geomajas-face-gwt/example-jar/src/main/java/org/geomajas/gwt/example/client/sample/layertree/LayertreeSample.java | Java | agpl-3.0 | 2,677 |
/*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2013 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the GNU Affero
* General Public License. All contributions in this program are covered
* by the Geomajas Contr... | lat-lon/geomajas | plugin/geomajas-widget-featureinfo/featureinfo-gwt-example-jar/src/main/java/org/geomajas/widget/featureinfo/gwt/example/client/pages/SearchPage.java | Java | agpl-3.0 | 2,204 |
package am.app.lexicon.subconcept;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.commons.lang.ArrayUtils;
import org.apache.log4j.Logger;
import am.app.lexicon.Lexicon;
import am.app.lexicon.LexiconSynSet;
import am.app.lexicon.ontology.OntologyL... | Stanwar/agreementmaker | AgreementMaker-OSGi/AgreementMaker-Core/src/am/app/lexicon/subconcept/STLexiconBuilder.java | Java | agpl-3.0 | 6,761 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | tdefilip/opennms | opennms-webapp/src/main/java/org/opennms/gwt/web/ui/asset/client/AppController.java | Java | agpl-3.0 | 2,280 |
/***************************************************************************************
* Copyright (C) 2007 Samatar. All rights reserved.
* This software was developed by Samatar and is provided under the terms
* of the GNU Lesser General Public License, Version 2.1. You may not use
* this file except in... | icholy/geokettle-2.0 | src/org/pentaho/di/trans/steps/rssoutput/RssOutputData.java | Java | lgpl-2.1 | 4,494 |
/*******************************************************************************
* This file is part of the Polyglot extensible compiler framework.
*
* Copyright (c) 2000-2012 Polyglot project group, Cornell University
* Copyright (c) 2006-2012 IBM Corporation
* All rights reserved.
*
* This program and the acco... | blue-systems-group/project.maybe.polyglot | src/polyglot/ext/jl7/ast/JL7SwitchExt.java | Java | lgpl-2.1 | 1,999 |
////////////////////////////////////////////////////////////////////////////////
// checkstyle: Checks Java source code for adherence to a set of rules.
// Copyright (C) 2001-2015 the original author or authors.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU ... | another-dave/checkstyle | src/test/java/com/puppycrawl/tools/checkstyle/checks/sizes/FileLengthCheckTest.java | Java | lgpl-2.1 | 4,172 |
/*
* #%L
* Alfresco Remote API
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the... | Alfresco/community-edition | projects/remote-api/source/java/org/alfresco/opencmis/DefaultPathGenerator.java | Java | lgpl-3.0 | 1,748 |
/*
* 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... | freeVM/freeVM | enhanced/java/classlib/modules/print/src/main/java/common/javax/print/attribute/standard/JobImpressionsCompleted.java | Java | apache-2.0 | 1,653 |
package org.apereo.cas.config;
import org.apereo.cas.MongoDbPropertySourceLocator;
import org.apereo.cas.mongo.MongoDbConnectionFactory;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.springframework.beans.factory.BeanCreationException;
import org.springframework.beans.factory.annotation.Autowired;
i... | rrenomeron/cas | support/cas-server-support-configuration-cloud-mongo/src/main/java/org/apereo/cas/config/MongoDbCloudConfigBootstrapConfiguration.java | Java | apache-2.0 | 1,917 |
/*
* 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 ... | q474818917/solr-5.2.0 | lucene/queryparser/src/java/org/apache/lucene/queryparser/flexible/core/messages/package-info.java | Java | apache-2.0 | 1,073 |
/*
* 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... | strapdata/elassandra | server/src/main/java/org/elasticsearch/indices/recovery/RecoveryTranslogOperationsRequest.java | Java | apache-2.0 | 4,862 |
/*
* Copyright © 2014 Cask Data, 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... | chtyim/cdap | cdap-app-fabric/src/main/java/co/cask/cdap/security/ApplicationPermissionCollection.java | Java | apache-2.0 | 2,917 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2011 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... | arquillian/arquillian-core | protocols/servlet/src/test/java/org/jboss/arquillian/protocol/servlet/test/TestCommandCallback.java | Java | apache-2.0 | 1,525 |
package org.drools.definition.type;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
*
* Annotation used to declare that a given class is not property specific
*
*/
@Retention(value = RetentionPolic... | mswiderski/droolsjbpm-knowledge | knowledge-api/src/main/java/org/drools/definition/type/ClassReactive.java | Java | apache-2.0 | 401 |
/**
* (C) Copyright IBM Corporation 2014.
*
* 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... | MisaelSalcido/ci.ant | src/main/java/net/wasdev/wlp/ant/install/ArchiveInstaller.java | Java | apache-2.0 | 3,451 |
/*
* 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 ... | godfreyhe/flink | flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/plan/nodes/exec/serde/ExecNodeGraphJsonDeserializer.java | Java | apache-2.0 | 1,906 |
/*
* 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... | goodwinnk/intellij-community | plugins/coverage/src/com/intellij/coverage/JavaCoverageSuite.java | Java | apache-2.0 | 11,342 |
/*
* 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 | runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/PrimitiveParDoSingleFactory.java | Java | apache-2.0 | 3,737 |
/*
* 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... | camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/CleanableHistoricDecisionInstanceReportImpl.java | Java | apache-2.0 | 5,638 |
/*
* 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 ... | tombujok/hazelcast | hazelcast/src/main/java/com/hazelcast/mapreduce/impl/task/TransferableJobProcessInformation.java | Java | apache-2.0 | 3,403 |
/*
* 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... | ebyhr/presto | core/trino-main/src/main/java/io/trino/operator/join/LookupSource.java | Java | apache-2.0 | 1,475 |
/*
* Copyright 2016 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | rborer/google-cloud-java | google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/ExtractJobConfiguration.java | Java | apache-2.0 | 9,745 |
/*
* 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 u... | JavierJia/vxquery | vxquery-core/src/main/java/org/apache/vxquery/xmlquery/ast/PrologNode.java | Java | apache-2.0 | 1,278 |
/*******************************************************************************
* * Copyright 2012 Impetus Infotech.
* *
* * Licensed under the Apache License, Version 2.0 (the "License");
* * you may not use this file except in compliance with the License.
* * You may obtain a copy of the License at
*... | impetus-opensource/Kundera | src/kundera-tests/src/test/java/com/impetus/kundera/tests/crossdatastore/pickr/entities/album/AlbumUni_1_M_1_M.java | Java | apache-2.0 | 3,514 |
/*
* 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 ... | sankarh/hive | ql/src/java/org/apache/hadoop/hive/ql/io/orc/encoded/EncodedReader.java | Java | apache-2.0 | 3,632 |
/*
* Copyright 2018-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | opennetworkinglab/onos | core/store/primitives/src/test/java/org/onosproject/store/atomix/primitives/impl/EventuallyConsistentMapImplTest.java | Java | apache-2.0 | 36,013 |
/*
* Copyright 2015 the original author or authors.
* @https://github.com/scouter-project/scouter
*
* 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... | yuyupapa/OpenSource | scouter.client/src/scouter/client/actions/OpenServiceGroupTPSAction.java | Java | apache-2.0 | 1,762 |
/*
* 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... | hgschmie/presto | presto-main/src/test/java/io/prestosql/operator/aggregation/TestApproximatePercentileAggregation.java | Java | apache-2.0 | 23,474 |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | googleapis/google-api-java-client-services | clients/google-api-services-vision/v1/1.29.2/com/google/api/services/vision/v1/model/ImportProductSetsGcsSource.java | Java | apache-2.0 | 9,812 |
package com.fincatto.documentofiscal.cte300.classes.nota.consulta;
import com.fincatto.documentofiscal.DFAmbiente;
import com.fincatto.documentofiscal.DFBase;
import com.fincatto.documentofiscal.validadores.DFBigDecimalValidador;
import com.fincatto.documentofiscal.validadores.DFStringValidador;
import org.simpleframe... | fincatto/nfe | src/main/java/com/fincatto/documentofiscal/cte300/classes/nota/consulta/CTeNotaConsulta.java | Java | apache-2.0 | 1,738 |
package com.sandwich.koan.suite;
import static org.junit.Assert.assertEquals;
import com.sandwich.koan.Koan;
public class OneFailingKoanDifferentName extends OneFailingKoan {
@Koan()
@Override
public void koanMethod() {
assertEquals(true, false);
}
}
| GeoSat/JAVA-KOANS-master | koans-tests/test/com/sandwich/koan/suite/OneFailingKoanDifferentName.java | Java | apache-2.0 | 260 |
/* 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-variable-service/src/main/java/org/flowable/variable/service/impl/types/DefaultVariableTypes.java | Java | apache-2.0 | 2,786 |
package com.optimaize.langdetect.profiles.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
/**
* This is just a utility to update the code with the existing languages.
*
* @author Nicole... | kod3r/language-detector | src/main/java/com/optimaize/langdetect/profiles/util/LanguageLister.java | Java | apache-2.0 | 1,454 |
/*
* Copyright 2009-2013 by The Regents of the University of California
* 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 from
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | lwhay/hyracks | hyracks/hyracks-dataflow-std/src/main/java/edu/uci/ics/hyracks/dataflow/std/collectors/InputChannelFrameReader.java | Java | apache-2.0 | 2,781 |
/*
* 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 ... | kkhatua/drill | exec/java-exec/src/main/java/org/apache/drill/exec/store/schedule/AssignmentCreator.java | Java | apache-2.0 | 11,696 |
/* Copyright 2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | apache/xmlbeans | src/main/java/org/apache/xmlbeans/impl/common/Levenshtein.java | Java | apache-2.0 | 2,276 |
/*
* 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... | dmiszkiewicz/elasticsearch | src/main/java/org/elasticsearch/search/MultiValueMode.java | Java | apache-2.0 | 26,205 |
/*
Derby - Class org.apache.derby.impl.sql.compile.RefTypeCompiler
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 y... | kavin256/Derby | java/engine/org/apache/derby/impl/sql/compile/RefTypeCompiler.java | Java | apache-2.0 | 2,718 |
/*
* 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 ... | kisskys/incubator-asterixdb | hyracks-fullstack/algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/base/IUnnestingEvaluatorFactory.java | Java | apache-2.0 | 1,205 |
/*
* Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for a... | shun634501730/java_source_cn | src_en/com/sun/org/apache/xml/internal/security/keys/storage/implementations/SingleCertificateResolver.java | Java | apache-2.0 | 2,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... | danielmitterdorfer/elasticsearch | core/src/main/java/org/elasticsearch/index/query/AbstractQueryBuilder.java | Java | apache-2.0 | 10,100 |
/*
* 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 ... | jerrinot/hazelcast | hazelcast/src/main/java/com/hazelcast/jet/impl/processor/TransformP.java | Java | apache-2.0 | 1,630 |
/*
* 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... | brettwooldridge/buck | src/com/facebook/buck/android/CompressionAlgorithmCreator.java | Java | apache-2.0 | 1,601 |
/*
* 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.analytics.mapper;
import com.tdunning.math.s... | HonzaKral/elasticsearch | x-pack/plugin/analytics/src/test/java/org/elasticsearch/xpack/analytics/mapper/HistogramPercentileAggregationTests.java | Java | apache-2.0 | 13,032 |
/**
* 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... | ryanemerson/activemq-artemis | tests/activemq5-unit-tests/src/test/java/org/apache/activemq/network/jms/QueueBridgeXBeanTest.java | Java | apache-2.0 | 1,693 |
/*
* Copyright 2011 Red Hat, Inc. and/or its affiliates.
*
* This 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) any later version.
*
* ... | nmldiegues/stibt | infinispan/core/src/main/java/org/infinispan/container/entries/versioned/VersionedMortalCacheValue.java | Java | apache-2.0 | 3,237 |
// 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.intellij.openapi.actionSystem;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.extensions.PluginDescriptor;
import com.intellij.openapi.uti... | allotria/intellij-community | platform/platform-api/src/com/intellij/openapi/actionSystem/ActionStub.java | Java | apache-2.0 | 3,919 |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | jomarko/drools | drools-core/src/main/java/org/drools/core/common/CompositeDefaultAgenda.java | Java | apache-2.0 | 21,544 |
/*
* #%L
* Wildfly Camel :: Subsystem
* %%
* Copyright (C) 2013 - 2014 RedHat
* %%
* 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
... | tadayosi/wildfly-camel | subsystem/core/src/main/java/org/wildfly/extension/camel/CamelContextRegistry.java | Java | apache-2.0 | 1,371 |
/*
Copyright 2016 Goldman Sachs.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | goldmansachs/reladomo | reladomo/src/test/java/com/gs/fw/common/mithra/test/domain/GroupList.java | Java | apache-2.0 | 892 |
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | flofreud/aws-sdk-java | aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/DelegationSetAlreadyReusableException.java | Java | apache-2.0 | 1,214 |
/*
* 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... | holmes/intellij-community | java/java-impl/src/com/intellij/lang/java/JavaDocumentationProvider.java | Java | apache-2.0 | 31,817 |
/*
* 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 ... | gemmellr/qpid-jms | qpid-jms-client/src/main/java/org/apache/qpid/jms/sasl/SaslSecurityRuntimeException.java | Java | apache-2.0 | 1,604 |
/*
* Copyright (c) 2015, 2021, 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 ... | mirkosertic/Bytecoder | classlib/java.desktop/src/main/resources/META-INF/modules/java.desktop/classes/javax/accessibility/AccessibilityProvider.java | Java | apache-2.0 | 4,298 |
/**
* Copyright 2013 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 ... | sserrano44/bitcoinj-watcher-service | core/src/main/java/com/google/bitcoin/utils/ListenerRegistration.java | Java | apache-2.0 | 1,496 |
/*
* Copyright 2010 JBoss 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 i... | pperboires/PocDrools | drools-verifier/src/test/java/org/drools/verifier/SolversTest.java | Java | apache-2.0 | 5,969 |
/*
* Copyright (C) 2017 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... | AndroidX/androidx | samples/SupportEmojiDemos/src/main/java/com/example/android/support/text/emoji/ListFragment.java | Java | apache-2.0 | 3,110 |
// Copyright 2014 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | hhclam/bazel | src/main/java/com/google/devtools/build/lib/skyframe/PackageLookupValue.java | Java | apache-2.0 | 6,834 |
/**
* 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 to i... | tilal6991/RxJava | src/test/java/rx/internal/operators/OperatorSkipTimedTest.java | Java | apache-2.0 | 5,661 |
/*
* 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... | peterl1084/framework | uitest/src/main/java/com/vaadin/tests/components/table/LeftColumnAlignment.java | Java | apache-2.0 | 2,426 |
package com.bazaarvoice.emodb.databus.core;
import java.time.Instant;
/**
* Event thrown when a databus event exists for an unknown table. Typically this happens when the table has been dropped
* after a document in the table was updated but before the event associated with that update is fanned out. There
* als... | billkalter/emodb | databus/src/main/java/com/bazaarvoice/emodb/databus/core/OrphanedEventException.java | Java | apache-2.0 | 1,185 |
/*
* Copyright (C) 2020 The Dagger 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 ag... | google/dagger | java/dagger/hilt/android/plugin/src/test/data/simple-project/src/main/java/simple/Module2.java | Java | apache-2.0 | 934 |
/*
* 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 u... | lukhnos/j2objc | translator/src/main/java/com/google/devtools/j2objc/ast/MethodInvocation.java | Java | apache-2.0 | 3,730 |
package org.batfish.representation.cisco;
import java.io.Serializable;
import java.util.Objects;
import javax.annotation.Nullable;
import javax.annotation.ParametersAreNonnullByDefault;
@ParametersAreNonnullByDefault
public abstract class BgpAggregateNetwork implements Serializable {
private @Nullable String _adve... | arifogel/batfish | projects/batfish/src/main/java/org/batfish/representation/cisco/BgpAggregateNetwork.java | Java | apache-2.0 | 1,857 |
/*
* 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.sql.qa.rest;
import org.elasticse... | robin13/elasticsearch | x-pack/plugin/sql/qa/server/src/main/java/org/elasticsearch/xpack/sql/qa/rest/BaseRestSqlTestCase.java | Java | apache-2.0 | 7,769 |