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 owltools.solrj;
import static org.junit.Assert.*;
import java.io.IOException;
import java.util.Collection;
import java.util.Properties;
import org.apache.commons.lang3.time.StopWatch;
import org.apache.solr.client.solrj.SolrServer;
import org.apache.solr.client.solrj.SolrServerException;
import org.apache.so... | dhimmel/owltools | OWLTools-Solr/src/test/java/owltools/solrj/AllOntologyLoaderIntegrationRunner.java | Java | bsd-3-clause | 4,828 |
package com.ra4king.circuitsim;
import com.ra4king.circuitsim.simulator.WireValue;
import com.ra4king.circuitsim.simulator.WireValue.State;
/**
* @author Roi Atalla
*/
public class WireValueTest {
public static void main(String[] args) {
System.out.println(WireValue.of(0xFF, 4));
System.out.println(WireValue.o... | ra4king/CircuitSim | tests/com/ra4king/circuitsim/WireValueTest.java | Java | bsd-3-clause | 1,250 |
package org.jbehave.core.failures;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import static java.text.MessageFormat.format;
/**
* Thrown when methods, annotated with before or after annotat... | mhariri/jbehave-core | jbehave-core/src/main/java/org/jbehave/core/failures/BeforeOrAfterFailed.java | Java | bsd-3-clause | 1,109 |
package net.sourceforge.pmd.util.viewer.gui;
import java.awt.BorderLayout;
import java.awt.Color;
import javax.swing.BorderFactory;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.SwingUtilities;
import javax.swing.text.BadLocationException;
import javax.sw... | daejunpark/jsaf | third_party/pmd/src/main/java/net/sourceforge/pmd/util/viewer/gui/SourceCodePanel.java | Java | bsd-3-clause | 3,080 |
/*
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package com... | MaTriXy/fresco | imagepipeline/src/test/java/com/facebook/imagepipeline/cache/BufferedDiskCacheTest.java | Java | bsd-3-clause | 10,786 |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.fabric;
import android.annotation.SuppressLint;
import androidx.annotation.NonNull;
import com.facebook... | arthuralee/react-native | ReactAndroid/src/main/java/com/facebook/react/fabric/Binding.java | Java | bsd-3-clause | 3,034 |
package org.matomo.sdk.extra;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import org.json.JSONArray;
import org.junit.Before;
import org.junit.Test;
import org.matomo.sdk.Matomo;
import org.matomo.sdk.QueryParams;
import org.matomo.sdk.TrackMe;
impo... | piwik/piwik-sdk-android | tracker/src/test/java/org/matomo/sdk/extra/TrackHelperTest.java | Java | bsd-3-clause | 22,583 |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.signin;
import android.accounts.Account;
import android.content.Context;
import android.os.AsyncTask;
import org.chr... | Bysmyyr/chromium-crosswalk | chrome/android/java/src/org/chromium/chrome/browser/signin/AccountTrackerService.java | Java | bsd-3-clause | 7,682 |
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.infobar;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageMana... | danakj/chromium | chrome/android/java/src/org/chromium/chrome/browser/infobar/DataReductionPromoInfoBar.java | Java | bsd-3-clause | 8,380 |
/*
* Copyright (c) 2007, Romain Guy
* 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 li... | romainguy/filthy-rich-clients | StaticEffects/Blur/src/org/progx/artemis/ui/SizeStepPanel.java | Java | bsd-3-clause | 9,565 |
package org.basex.core.cmd;
import org.basex.core.*;
import org.basex.core.locks.*;
import org.basex.core.users.*;
/**
* Abstract class for repository commands.
*
* @author BaseX Team 2005-15, BSD License
* @author Jens Erat
*/
abstract class ARepo extends Command {
/**
* Constructor for repository commands... | ksclarke/basex | basex-core/src/main/java/org/basex/core/cmd/ARepo.java | Java | bsd-3-clause | 605 |
/*
* Copyright (C) 2013 Interactive Brokers LLC. All rights reserved. This code is subject to the
* terms and conditions of the IB API Non-Commercial License or the IB API Commercial License, as
* applicable.
*/
package com.ib.controller;
import java.text.SimpleDateFormat;
import java.util.Date;
public class Bar... | scltd/main | main/ibtcs/src/main/java/com/ib/controller/Bar.java | Java | bsd-3-clause | 1,981 |
/*
* $Id$
*/
/*
Copyright (c) 2000-2008 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including... | edina/lockss-daemon | plugins/src/org/lockss/plugin/anthrosource/AnthroSourceHtmlFilterFactory.java | Java | bsd-3-clause | 3,861 |
/**
* Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team
* http://www.mod-buildcraft.com
*
* BuildCraft is distributed under the terms of the Minecraft Mod Public
* License 1.0, or MMPL. Please check the contents of the license located in
* http://www.mod-buildcraft.com/MMPL-1.0.txt
*/
package buildcraft... | amadornes/Connected | src/api/java/buildcraft/api/statements/IStatement.java | Java | mit | 1,355 |
package wifinderinc.wifinder;
import android.content.Context;
import java.io.File;
/**
* Created by Andrew on 12/1/2015.
*/
public final class FileDeleter
{
public static void deleteAllFiles(Context context)
{
new File(context.getFilesDir() + "/logs").delete();
new File(context.getFilesDir(... | G-Rex2595/LocalChat | WiFinder(android)/app/src/main/java/wifinderinc/wifinder/FileDeleter.java | Java | mit | 359 |
/*
* The MIT License (MIT)
*
* Copyright (c) 2016 University of California San Diego
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitatio... | popitsch/varan-gie | src/org/broad/igv/tools/RepeatMaskSplitter.java | Java | mit | 5,157 |
package io.github.dawncraft.api.registry;
import io.github.dawncraft.skill.Skill;
import io.github.dawncraft.talent.Talent;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.registries.IForgeRegistry;
/**
* Register something added by Dawncraft mod.
*
* @author QingChenW
*/
pub... | Wdawning/Wc-s-science-Mod | src/main/java/io/github/dawncraft/api/registry/ModRegistry.java | Java | mit | 539 |
//////////////////////////////////////////////////////////////////////////
// Copyright 2001-2015 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.BarCode. The source code in this file
// is only intended as a supplement to the documentation, and is provided
// "as is", without warranty of any kin... | masood-anwer/Aspose_BarCode_Java | Examples/src/main/java/com/aspose/barcode/examples/programming_barcode/RotateBarcode.java | Java | mit | 1,315 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.network.models;
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.network.fluent.models.ConnectionMonitorQueryResultInner;
import com.azure.resourcemanager.resources... | Azure/azure-sdk-for-java | sdk/resourcemanagerhybrid/azure-resourcemanager-network/src/main/java/com/azure/resourcemanager/network/models/ConnectionMonitorQueryResult.java | Java | mit | 740 |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.compute.v2017_03_30;
import java.util.List;
impo... | navalev/azure-sdk-for-java | sdk/compute/mgmt-v2017_03_30/src/main/java/com/microsoft/azure/management/compute/v2017_03_30/VirtualMachineScaleSetUpdateOSDisk.java | Java | mit | 3,394 |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.recoveryservices.backup.v2017_07_01;
import com.... | selvasingh/azure-sdk-for-java | sdk/recoveryservices.backup/mgmt-v2017_07_01/src/main/java/com/microsoft/azure/management/recoveryservices/backup/v2017_07_01/BMSContainersInquiryQueryObject.java | Java | mit | 3,108 |
package net.coding.program.common;
import android.content.ContentUris;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import android.os.Build;
import android.os.Environment;
import android.provider.DocumentsContract;
import android.provider.MediaStore;
import java.io.File;
/*... | CodeHunter2006/Coding-Android | app/src/main/java/net/coding/program/common/FileUtil.java | Java | mit | 8,110 |
package com.octopod.util.common;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
public class IOUtils {
public static void closeSilent(InputStream input) {
if(input != null) {
try {
input.close();
} catch (IOException e) {}
}
}
public static void closeSilent(O... | branden-akana/octal-java | src/main/java/com/octopod/util/common/IOUtils.java | Java | mit | 1,000 |
package org.json;
/*
Copyright (c) 2008 JSON.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish,... | jonesgithub/gameapi-java | src/org/json/JSONML.java | Java | mit | 15,093 |
/*
* The MIT License
*
* Copyright (c) 2010, CloudBees, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... | v1v/jenkins | test/src/test/java/hudson/util/AlternativeUiTextProviderTest.java | Java | mit | 3,642 |
/*******************************************************************************
* ENdoSnipe 5.0 - (https://github.com/endosnipe)
*
* The MIT License (MIT)
*
* Copyright (c) 2012 Acroquest Technology Co.,Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this s... | ryokato/ENdoSnipe | Javelin/src/test/java/jp/co/acroquest/endosnipe/javelin/converter/javelin/model/ConvertTargetH.java | Java | mit | 1,582 |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network;
import com.fasterxml.jackson.annotation... | jianghaolu/azure-sdk-for-java | azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/BgpSettings.java | Java | mit | 2,158 |
package com.xeiam.xchange.independentreserve.service.polling;
import com.xeiam.xchange.currency.CurrencyPair;
import com.xeiam.xchange.dto.marketdata.OrderBook;
import com.xeiam.xchange.dto.marketdata.Ticker;
import com.xeiam.xchange.dto.marketdata.Trades;
import com.xeiam.xchange.exceptions.ExchangeException;
import ... | cinjoff/XChange-1 | xchange-independentreserve/src/main/java/com/xeiam/xchange/independentreserve/service/polling/IndependentReserveMarketDataService.java | Java | mit | 1,996 |
/*
* Copyright 2001-2014 Aspose Pty Ltd. All Rights Reserved.
*
* This file is part of Aspose.Words. The source code in this file
* is only intended as a supplement to the documentation, and is provided
* "as is", without warranty of any kind, either expressed or implied.
*/
package com.aspose.words.examples.pro... | masood-anwer/Aspose_Words_Java | Examples/src/main/java/com/aspose/words/examples/programming_documents/joining_appending/DifferentPageSetup.java | Java | mit | 2,204 |
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal.debugging;
import org.mockito.internal.invocation.InvocationMatcher;
import org.mockito.invocation.Invocation;
import java.util.LinkedList;
import java.util.List;
impor... | szpak/mockito | src/main/java/org/mockito/internal/debugging/LoggingListener.java | Java | mit | 3,458 |
package com.mauriciotogneri.shoppinglist.utils;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.google.android.gms.wearable.MessageClient;
import com.google.android.gms.wearable.Mess... | vndly/shoppingcart | mobile/src/main/java/com/mauriciotogneri/shoppinglist/utils/WearableService.java | Java | mit | 2,599 |
package com.gsma.android.xoperatorapidemo.discovery;
public class ServingOperatorSetting {
String name;
boolean automatic;
String mcc;
String mnc;
String ipaddress;
public ServingOperatorSetting(String name, boolean automatic, String mcc, String mnc, String ipaddress) {
this.name=name;
this.automatic=autom... | GSMADeveloper/CrossOperatorAPIDemo | src/com/gsma/android/xoperatorapidemo/discovery/ServingOperatorSetting.java | Java | mit | 645 |
/**
* EdDSA-Java by str4d
*
* To the extent possible under law, the person who associated CC0 with
* EdDSA-Java has waived all copyright and related or neighboring rights
* to EdDSA-Java.
*
* You should have received a copy of the CC0 legalcode along with this
* work. If not, see <https://creativecommons.org/pu... | tarcieri/red25519 | ext/ed25519_jruby/net/i2p/crypto/eddsa/KeyFactory.java | Java | mit | 2,908 |
// -*- 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
package com.google.appinventor.client.editor.simple.components;
import com.go... | AppScale/appinventor | src/com/google/appinventor/client/editor/simple/components/MockComponentsUtil.java | Java | mit | 9,665 |
/**
* 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... | pravinw/openhab | bundles/binding/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/HomematicCommunicator.java | Java | epl-1.0 | 13,444 |
/*****************************************************************************
* Copyright (c) 2012 CEA LIST.
*
* 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
* ht... | bmaggi/Papyrus-SysML11 | tests/org.eclipse.papyrus.sysml.diagram.internalblock.tests/src/org/eclipse/papyrus/sysml/diagram/internalblock/tests/suites/AllDropLinkTests.java | Java | epl-1.0 | 1,258 |
/*******************************************************************************
* Copyright (c) 2000, 2008 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.ui/src/org/eclipse/wst/jsdt/internal/corext/refactoring/nls/changes/CreateFileChange.java | Java | epl-1.0 | 6,811 |
package p;
class A {
void m() {
final int a = 3;
final int b = 3;
System.out.println(b);
final int /*[*/b/*]*/ = 3;
System.out.println(b);
final int b = 3;
System.out.println(b);
}
}
| maxeler/eclipse | eclipse.jdt.ui/org.eclipse.jdt.ui.tests.refactoring/resources/RenameTemp/canRename/A_test63_in.java | Java | epl-1.0 | 205 |
/******************************************************************************
* Copyright (c) 2011, 2014 GitHub Inc 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 ... | SmithAndr/egit | org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/blame/BlameInformationControl.java | Java | epl-1.0 | 15,958 |
/*******************************************************************************
* Copyright (c) 2005 Actuate Corporation.
* 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 availabl... | sguan-actuate/birt | engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/DataSourceScriptExecutor.java | Java | epl-1.0 | 6,175 |
/**
* Copyright (c) 2011, 2014 Eurotech 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
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
... | mhddurrah/kura | kura/org.eclipse.kura.core/src/main/java/org/eclipse/kura/core/net/WifiInterfaceAddressImpl.java | Java | epl-1.0 | 2,075 |
/*******************************************************************************
* Copyright (c) 2015 UT-Battelle, LLC.
* 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 availab... | gorindn/ice | src/org.eclipse.ice.viz.service.paraview/src/org/eclipse/ice/viz/service/paraview/widgets/ParaViewCanvas.java | Java | epl-1.0 | 10,726 |
/*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* 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 availabl... | sguan-actuate/birt | engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/content/IContentVisitor.java | Java | epl-1.0 | 3,127 |
/* ********************************************************************** **
** Copyright notice **
** **
** (c) 2005-2009 RSSOwl Development Team ... | YixingCheng/RSSOwl | org.rssowl.core.tests/src/org/rssowl/core/tests/TestJobQueue.java | Java | epl-1.0 | 7,035 |
/*
* Copyright (c) 2005, 2014, 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 ... | universsky/openjdk | langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/file/RegularFileObject.java | Java | gpl-2.0 | 8,958 |
/*
* Created on 20-Jan-2005
* Created by Paul Gardner
* Copyright (C) 2004, 2005, 2006 Aelitis, All Rights Reserved.
*
* 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
* ... | AcademicTorrents/AcademicTorrents-Downloader | vuze/com/aelitis/azureus/core/dht/control/impl/DHTControlContactImpl.java | Java | gpl-2.0 | 2,180 |
package net.demilich.metastone.gui.playmode.animation;
import javafx.animation.PauseTransition;
import javafx.event.ActionEvent;
import javafx.geometry.Pos;
import javafx.scene.CacheHint;
import javafx.scene.image.ImageView;
import javafx.scene.layout.StackPane;
import javafx.scene.paint.Color;
import javafx.scene.tex... | 21011996/metastone | app/src/main/java/net/demilich/metastone/gui/playmode/animation/DamageNumber.java | Java | gpl-2.0 | 1,763 |
/*
* Copyright 2010 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... | cams7/gradle-samples | plugin/base-services/src/main/java/org/gradle/internal/concurrent/DefaultExecutorFactory.java | Java | gpl-2.0 | 2,578 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2006-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(... | RangerRick/opennms | opennms-services/src/main/java/org/opennms/netmgt/notifd/XMPPNotificationStrategy.java | Java | gpl-2.0 | 4,766 |
// **********************************************************************
//
// Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// ***************************************************... | buildhappy/ice | java/src/IceGridGUI/src/main/java/IceGridGUI/Application/Service.java | Java | gpl-2.0 | 439 |
/*
* Copyright (c) 1994, 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 ... | md-5/jdk10 | src/java.base/share/classes/java/io/DataOutputStream.java | Java | gpl-2.0 | 16,231 |
/*
* Vulcan Build Manager
* Copyright (C) 2005-2012 Chris Eldredge
*
* 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 vers... | majianxiong/vulcan | vulcan-core/source/main/java/net/sourceforge/vulcan/core/support/DelegatingBuildDetailCallback.java | Java | gpl-2.0 | 4,982 |
/**************************************************************************************
* Copyright (C) 2006-2015 EsperTech Inc. All rights reserved. *
* http://www.espertech.com/esper *
* http://www.espertech.com ... | b-cuts/esper | esper/src/main/java/com/espertech/esper/epl/metric/MetricEventRouter.java | Java | gpl-2.0 | 1,051 |
/* Calendar.java -- Default Calendar locale data
Copyright (C) 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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... | unofficial-opensource-apple/gcc_40 | libjava/gnu/java/locale/Calendar.java | Java | gpl-2.0 | 4,324 |
/**
* Activator.java
*
* Version information :
*
* Date:Jan 14, 2010
*
* Copyright notice :
*/
package net.heartsome.cat.converter.openoffice;
import java.util.Properties;
import net.heartsome.cat.converter.Converter;
import net.heartsome.cat.converter.util.AndFilter;
import net.heartsome.cat.converter.util.C... | heartsome/tmxeditor8 | hsconverter/net.heartsome.cat.converter.openoffice/src/net/heartsome/cat/converter/openoffice/Activator.java | Java | gpl-2.0 | 7,034 |
/**************************************************************************************
* Copyright (C) 2006-2015 EsperTech Inc. All rights reserved. *
* http://www.espertech.com/esper *
* http://www.espertech.com ... | georgenicoll/esper | esper/src/main/java/com/espertech/esper/plugin/PlugInEventTypeHandler.java | Java | gpl-2.0 | 1,410 |
/**
* This file is part of Aion-Lightning <aion-lightning.org>.
*
* Aion-Lightning 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 lat... | GiGatR00n/Aion-Core-v4.7.5 | AC-Game/data/scripts/system/handlers/quest/pandaemonium/_4973MarraWorry.java | Java | gpl-2.0 | 4,428 |
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | geneos/adempiere | base/src/org/compiere/model/X_M_PerpetualInv.java | Java | gpl-2.0 | 9,214 |
///////////////////////////////////////////////////////////////////////////////
// For information as to what this class does, see the Javadoc, below. //
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, //
// 2007, 2008, 2009, 2010, 2014, 2015 by Peter Spirtes, Richard Scheines, Joseph... | ps7z/tetrad | tetrad-lib/src/test/java/edu/cmu/tetrad/test/TestLexer.java | Java | gpl-2.0 | 3,333 |
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | erpcya/adempierePOS | base/src/org/compiere/model/X_PA_RatioElement.java | Java | gpl-2.0 | 10,525 |
/*
* Copyright (c) 2002, 2008, 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 ... | shchiu/openjdk | hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/windbg/WindbgDebuggerLocal.java | Java | gpl-2.0 | 21,991 |
/*
* Copyright (c) 2009, 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 | src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/except/Catch_NPE_00.java | Java | gpl-2.0 | 1,787 |
/*
* Copyright (c) 2007, 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 | src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/bytecode/BC_ifge.java | Java | gpl-2.0 | 1,737 |
// AttributesImpl.java - default implementation of Attributes.
// Written by David Megginson, sax@megginson.com
// NO WARRANTY! This class is in the public domain.
// $Id: AttributesImpl.java,v 1.2 2001/05/31 16:03:17 garyp Exp $
package org.xml.sax.helpers;
import org.xml.sax.Attributes;
/**
* Def... | nslu2/Build-gcc-3.2.1 | libjava/org/xml/sax/helpers/AttributesImpl.java | Java | gpl-2.0 | 17,065 |
/*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as published by
the Free Software Foundation.
This progra... | ianopolous/JPC | src/org/jpc/emulator/execution/opcodes/pm/fxch_ST4_ST7.java | Java | gpl-2.0 | 1,778 |
/*
* 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 ... | happyjack27/autoredistrict | src/org/apache/commons/math3/analysis/interpolation/LoessInterpolator.java | Java | gpl-3.0 | 19,440 |
/*
* Test.java
* Copyright (C) 2013 Aristotle University of Thessaloniki, Greece
* @author D. Georgiadis, A. Gounaris, A. Papadopoulos, K. Tsichlas, Y. Manolopoulos
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licen... | yuhang-lin/moa | moa/src/main/java/moa/clusterers/outliers/AbstractC/Test.java | Java | gpl-3.0 | 2,492 |
/*
Copyright 2013 Red Hat, Inc. and/or its affiliates.
This file is part of lightblue.
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 ... | BVulaj/lightblue-core | crud/src/main/java/com/redhat/lightblue/assoc/qrew/QueryRewriter.java | Java | gpl-3.0 | 5,206 |
package com.nisovin.magicspells.castmodifiers.conditions;
import org.bukkit.Location;
import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player;
import com.nisovin.magicspells.castmodifiers.Condition;
public class LevelAboveCondition extends Condition {
int level = 0;
@Override
public boolean setVa... | nisovin/MagicSpells | src/com/nisovin/magicspells/castmodifiers/conditions/LevelAboveCondition.java | Java | gpl-3.0 | 815 |
package net.shadowmage.ancientwarfare.structure.town;
import net.minecraft.world.World;
import net.shadowmage.ancientwarfare.structure.template.StructureTemplate;
import net.shadowmage.ancientwarfare.structure.template.StructureTemplateManager;
import net.shadowmage.ancientwarfare.structure.template.build.Structu... | HostileNetworks/AncientWarfare2_ReignModpack | src/main/java/net/shadowmage/ancientwarfare/structure/town/TownGeneratorWalls.java | Java | gpl-3.0 | 5,792 |
/*
* Copyright (c) 2005-2008 by Masoud Moshref Javadi <moshref@ce.sharif.edu>, http://ce.sharif.edu/~moshref
* The license.txt file describes the conditions under which this software may be distributed.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | jeberst/MobiSim3 | Common/src/edu/sharif/ce/dml/common/util/io/output/BufferWriter.java | Java | gpl-3.0 | 4,405 |
package com.eveningoutpost.dexdrip.UtilityModels;
import android.content.Intent;
import android.hardware.usb.UsbDevice;
import android.hardware.usb.UsbManager;
import android.os.Build;
import android.support.annotation.RequiresApi;
import android.support.annotation.StringRes;
import android.text.SpannableString;
impo... | TecMunky/xDrip | app/src/main/java/com/eveningoutpost/dexdrip/UtilityModels/MtpConfigure.java | Java | gpl-3.0 | 5,718 |
//
// OpenVRML
//
// Copyright 2008 Braden McDaniel
//
// 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) any later version.
//
... | bradenmcd/openvrml | src/script/java/vrml/field/ConstSFDouble.java | Java | gpl-3.0 | 1,402 |
package org.qii.weiciyuan.bean;
import org.qii.weiciyuan.support.utils.ObjectToStringUtility;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.ArrayList;
import java.util.List;
/**
* User: qii
* Date: 13-2-27
*/
public class ShareListBean extends ListBean<MessageBean, ShareListBean> imple... | Rachel-Ding/weiciyuan-for-eclipse | src/org/qii/weiciyuan/bean/ShareListBean.java | Java | gpl-3.0 | 3,320 |
/*
* $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/routing/HttpRouteDirector.java $
* $Revision: 620255 $
* $Date: 2008-02-10 02:23:55 -0800 (Sun, 10 Feb 2008) $
*
* ====================================================================
* ... | s20121035/rk3288_android5.1_repo | external/apache-http/src/org/apache/http/conn/routing/HttpRouteDirector.java | Java | gpl-3.0 | 3,325 |
package com.fast.access.kam.activities;
import android.app.FragmentTransaction;
import android.os.Bundle;
import com.fast.access.kam.R;
import com.fast.access.kam.activities.base.BaseActivity;
import com.fast.access.kam.fragments.SettingsFragment;
import com.fast.access.kam.global.helper.AppHelper;
/**
* Created by... | asolfre/KAM | app/src/main/java/com/fast/access/kam/activities/SettingsActivity.java | Java | gpl-3.0 | 1,169 |
/**
* Copyright (C) 2010-2016 Structr GmbH
*
* This file is part of Structr <http://structr.org>.
*
* Structr 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, either version 3 of the
* License, o... | joansmith/structr | structr-ui/src/main/java/org/structr/websocket/StructrWebSocketCreator.java | Java | gpl-3.0 | 2,125 |
/*
* Crafter Studio Web-content authoring solution
* Copyright (C) 2007-2016 Crafter Software Corporation.
*
* 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... | rart/studio2 | src/main/java/org/craftercms/studio/impl/v1/util/ContentItemOrderComparator.java | Java | gpl-3.0 | 6,805 |
package com.liferay.infinity.infrastucture.struts.form;
import java.util.ArrayList;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;
imp... | SmartInfrastructures/xipi | portlets/InfrastructurePortlet.old/docroot/WEB-INF/src/com/liferay/infinity/infrastucture/struts/form/SurveyForm.java | Java | agpl-3.0 | 1,007 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2005-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-services/src/main/java/org/opennms/netmgt/capsd/plugins/Jsr160Plugin.java | Java | agpl-3.0 | 3,331 |
/*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2011 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... | acontes/scheduling | src/resource-manager/src/org/ow2/proactive/resourcemanager/nodesource/utils/NamesConvertor.java | Java | agpl-3.0 | 2,519 |
/**
* Copyright (C) 2001-2015 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* 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 So... | brtonnies/rapidminer-studio | src/main/java/com/rapidminer/tools/expression/internal/SimpleExpressionContext.java | Java | agpl-3.0 | 8,492 |
/*
* Copyright (C) 2015-2017 Fabio Ticconi
*
* 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, either version 3 of the License, or
* (at your option) any later version.
*
* This pro... | fabioticconi/alone-the-roguelike | src/main/java/com/github/fabioticconi/alone/components/Target.java | Java | agpl-3.0 | 991 |
package com.temenos.interaction.commands.webhook;
/*
* #%L
* interaction-commands-webhook
* %%
* Copyright (C) 2012 - 2013 Temenos Holdings N.V.
* %%
* 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 S... | iris-scrum-1/IRIS | interaction-commands-webhook/src/main/java/com/temenos/interaction/commands/webhook/WebhookCommand.java | Java | agpl-3.0 | 4,897 |
/*
jBilling - The Enterprise Open Source Billing System
Copyright (C) 2003-2011 Enterprise jBilling Software Ltd. and Emiliano Conde
This file is part of jbilling.
jbilling is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
... | maduhu/jBilling | src/java/com/sapienter/jbilling/server/pluggableTask/BasicPaymentInfoTask.java | Java | agpl-3.0 | 5,129 |
package beast.evolution.alignment.distance;
import beast.core.Description;
@Description("Hamming distance is the mean number of characters that differ between sequences. " +
"Note that unknowns are not ignored, so if both are unknowns '?' the distance is zero.")
public class HammingDistance extends Distance.... | learking/beast2-2.1.3 | src/beast/evolution/alignment/distance/HammingDistance.java | Java | lgpl-2.1 | 712 |
/* LanguageTool, a natural language style checker
* Copyright (C) 2012 Marcin Miłkowski (http://www.languagetool.org)
*
* 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
* ve... | jimregan/languagetool | languagetool-language-modules/en/src/main/java/org/languagetool/rules/en/MorfologikBritishSpellerRule.java | Java | lgpl-2.1 | 2,700 |
/*
* test we don't screw up the interface <clinit> method
*/
interface Intf {
public final String [] hw = new String[]
{
"Hello",
"World."
};
};
public class IntfTest {
public static void main(String av[]) {
String a = Intf.hw[0];
System.gc();
System.out.println(a + " " + Intf.hw[1]);
System.gc();... | 02N/kaffe | test/regression/IntfTest.java | Java | lgpl-2.1 | 366 |
/*!
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
* Foundation.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, you ... | kurtwalker/modeler | gwt/src/main/java/org/pentaho/agilebi/modeler/services/impl/GwtModelerServiceImpl.java | Java | lgpl-2.1 | 4,369 |
/*
* eXist-db Open Source Native XML Database
* Copyright (C) 2001 The eXist-db Authors
*
* info@exist-db.org
* http://www.exist-db.org
*
* 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 Foun... | lcahlander/exist | exist-core/src/main/java/org/exist/protocolhandler/embedded/InMemoryOutputStream.java | Java | lgpl-2.1 | 5,320 |
package org.herac.tuxguitar.app.tools.custom.tuner;
import org.eclipse.swt.events.PaintEvent;
import org.eclipse.swt.events.PaintListener;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclips... | bluenote10/TuxguitarParser | tuxguitar-src/TuxGuitar-tuner/src/org/herac/tuxguitar/app/tools/custom/tuner/TGTunerRoughWidget.java | Java | lgpl-2.1 | 3,725 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2013, 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... | xasx/wildfly | clustering/web/infinispan/src/main/java/org/wildfly/clustering/web/infinispan/session/SessionExpirationScheduler.java | Java | lgpl-2.1 | 6,451 |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2011, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | oskopek/jfreechart-fse | src/main/java/org/jfree/data/xy/Vector.java | Java | lgpl-2.1 | 3,930 |
package railo.runtime.gateway;
import java.util.Map;
import railo.commons.lang.StringUtil;
import railo.runtime.exp.PageException;
import railo.runtime.gateway.proxy.GatewayProFactory;
import railo.runtime.op.Caster;
import railo.runtime.type.Struct;
import railo.runtime.type.StructImpl;
public class CFCGateway impl... | JordanReiter/railo | railo-java/railo-core/src/railo/runtime/gateway/CFCGateway.java | Java | lgpl-2.1 | 4,043 |
package org.zywx.wbpalmstar.plugin.uexbaidumap;
import android.content.Context;
import com.baidu.mapapi.map.BaiduMap;
import com.baidu.mapapi.map.Polygon;
public class EBaiduMapPolygonOverlay extends EBaiduMapOverlay {
private Polygon polygon = null;
public EBaiduMapPolygonOverlay(String id, Context ... | Git-tl/appcan-plugin-baidumap-android | uexBaiduMap/src/org/zywx/wbpalmstar/plugin/uexbaidumap/EBaiduMapPolygonOverlay.java | Java | lgpl-3.0 | 572 |
package com.arcusys.learn.persistence.liferay.model.impl;
import com.arcusys.learn.persistence.liferay.model.LFTincanManifestAct;
import com.liferay.portal.kernel.util.StringBundler;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.model.CacheModel;
import java.io.Externalizable;
import ja... | ViLPy/Valamis | learn-persistence-liferay620/src/main/java/com/arcusys/learn/persistence/liferay/model/impl/LFTincanManifestActCacheModel.java | Java | lgpl-3.0 | 4,605 |
package org.molgenis.data.elasticsearch.generator;
import static java.util.Collections.emptyList;
import static java.util.Collections.singletonList;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.... | sidohaakma/molgenis | molgenis-data-elasticsearch/src/test/java/org/molgenis/data/elasticsearch/generator/DocumentContentBuilderTest.java | Java | lgpl-3.0 | 13,927 |
/* Mesquite source code. Copyright 1997 and onward, W. Maddison and D. Maddison.
Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code.
The commenting leaves much to be desired. Please approach this source code with the spirit of helping out.
Per... | daisieh/MesquiteCore | Source/mesquite/distance/JukesCantorDistance/JukesCantorDistance.java | Java | lgpl-3.0 | 4,214 |
package jfconfig;
/**
* Created : Apr 4, 2012
*
* @author pquiring
*/
import java.awt.Dimension;
import java.awt.GraphicsEnvironment;
import java.awt.Rectangle;
import javax.swing.table.*;
public class VPNDialog extends javax.swing.JDialog {
/**
* Creates new form VPNDialog
*/
public VPNDialog(java.aw... | ericomattos/javaforce | projects/jfconfig/src/jfconfig/VPNDialog.java | Java | lgpl-3.0 | 25,057 |
package zeditor.core;
/**
* Enumération des options de Zeditor
* @author Drakulo
*
*/
public enum Options {
SHOW_TILES_UNMAPPED("showTilesUnmapped"),
SHOW_TILES_GRID("showTilesGrid"),
SHOW_COLLISION("showCollision");
/** L'attribut qui contient la valeur associé à l'enum */
private final String... | PiRSquared17/zildo | zeditor/src/zeditor/core/Options.java | Java | lgpl-3.0 | 573 |