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 |
|---|---|---|---|---|---|
/**
* 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/instance/danuar_mysticarium/DanuarMysticariumSoloInstance.java | Java | gpl-2.0 | 15,171 |
/*
* #%L
* Fork of Apache Jakarta POI.
* %%
* Copyright (C) 2008 - 2013 Open Microscopy Environment:
* - Board of Regents of the University of Wisconsin-Madison
* - Glencoe Software, Inc.
* - University of Dundee
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use th... | berl/v3draw-bioformats | components/forks/poi/src/loci/poi/hssf/record/TickRecord.java | Java | gpl-2.0 | 14,935 |
package org.movsim.simulator.vehicles.longitudinalmodel.acceleration.parameter;
/**
*
*/
// TODO documentation like in IModelParameterIDM
public interface IModelParameterKrauss extends IModelParameter {
double getB();
double getA();
double getEpsilon();
}
| popikyardo/movsim-extended | xsd/src/main/java/org/movsim/simulator/vehicles/longitudinalmodel/acceleration/parameter/IModelParameterKrauss.java | Java | gpl-3.0 | 276 |
package org.moire.ultrasonic.util;
import java.util.Calendar;
import java.util.Date;
public class TimeSpan
{
public static final int MILLISECONDS_IN_DAY = 86400000;
public static final int MILLISECONDS_IN_HOUR = 3600000;
public static final int MILLISECONDS_IN_MINUTE = 60000;
public static final int MILLISECONDS_... | Tapchicoma/ultrasonic | ultrasonic/src/main/java/org/moire/ultrasonic/util/TimeSpan.java | Java | gpl-3.0 | 3,989 |
package com.ojcoleman.ahni.util;
/**
* Represents a numeric range.
*/
public class Range {
public final static Range UNIT = new Range(0, 1);
double start = 0, end = 1, range = 1;
/**
* Create unit range [0, 1].
*/
public Range() {
}
public Range(double s, double e) {
set(s, e);
}
public void set(... | jbrant/ahni | src/com/ojcoleman/ahni/util/Range.java | Java | gpl-3.0 | 4,856 |
package domain.anagrafica;
import javax.validation.constraints.*;
public class Nazionalita {
private int idNazionalita;
private String nomeNazionalita;
public Nazionalita() {
super();
// TODO Auto-generated constructor stub
}
public int getIdNazionalita() {
return idNazionalita;
}
public void setIdNazion... | dmike16/gestioneRisorseAziendali | ProjectWorkGio/src/domain/anagrafica/Nazionalita.java | Java | gpl-3.0 | 567 |
/**
* PromniCAT - Collection and Analysis of Business Process Models
* Copyright (C) 2012 Cindy Fähnrich, Tobias Hoppe, Andrina Mascher
*
* 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, e... | tmetzke/PromniCat | src/de/uni_potsdam/hpi/bpt/promnicat/persistenceApi/orientdbObj/PersistenceApiOrientDbObj.java | Java | gpl-3.0 | 27,413 |
package fr.neamar.kiss.ui;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewTreeObserver;
import java.util.HashMap;
public class AnimatedListView extends BlockableListView {
private final static int MOVE_DURATION = 100;
private fin... | nmitsou/KISS | app/src/main/java/fr/neamar/kiss/ui/AnimatedListView.java | Java | gpl-3.0 | 4,221 |
package com.pahimar.ee3.tileentity;
import com.pahimar.ee3.network.PacketHandler;
import com.pahimar.ee3.network.message.MessageTileEntityDummy;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.network.Packet;
public class TileEntityDummyArray extends TileEntityEE
{
private int trueXCoord, trueYCoord... | aanthony3/Equivalent-Exchange-3 | src/main/java/com/pahimar/ee3/tileentity/TileEntityDummyArray.java | Java | gpl-3.0 | 2,732 |
/**
*
* <p>
* SCTSolution
* </p>
*
* @author <a href="mailto:sylvain.meignier@lium.univ-lemans.fr">Sylvain Meignier</a>
* @author <a href="mailto:vincent.jousse@lium.univ-lemans.fr">Vincent Jousse</a>
* @version v2.0
*
* Copyright (c) 2007-2009 Universite du Maine. All Rights Reserved. Use is subj... | Adirockzz95/GenderDetect | src/src/fr/lium/experimental/spkDiarization/libSCTree/SCTSolution.java | Java | gpl-3.0 | 4,918 |
/*
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 ... | bserdar/lightblue-core | crud/src/main/java/com/redhat/lightblue/assoc/RewriteQuery.java | Java | gpl-3.0 | 23,486 |
/*
* Copyright (C) 2011 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... | Greznor/chanu | app/src/main/java/com/android/gallery3d/app/MovieControllerOverlay.java | Java | gpl-3.0 | 10,687 |
package cn.nukkit.command.defaults;
import cn.nukkit.Nukkit;
import cn.nukkit.Server;
import cn.nukkit.command.CommandSender;
import cn.nukkit.level.Level;
import cn.nukkit.math.NukkitMath;
import cn.nukkit.utils.TextFormat;
import java.util.Objects;
/**
* Created on 2015/11/11 by xtypr.
* Package cn.nukkit.comman... | PeratX/Nukkit | src/main/java/cn/nukkit/command/defaults/StatusCommand.java | Java | gpl-3.0 | 4,939 |
// Copyright (C) 2007 Tuma Solutions, LLC
// Process Dashboard - Data Automation Tool for high-maturity processes
//
// 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... | superzadeh/processdash | src/net/sourceforge/processdash/process/ui/SelectDefectTypeStandard.java | Java | gpl-3.0 | 2,291 |
/*******************************************************************************
* Copyright 2008(c) The OBiBa Consortium. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU Gene... | apruden/onyx | onyx-core/src/main/java/org/obiba/onyx/runtime/upgrade/SchemaUpgrade2_1_6_0.java | Java | gpl-3.0 | 1,514 |
/*
* Copyright (C) 2015 Arthur Gregorio, AG.Software
*
* 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 ... | LuizFernand0/web-budget | webBudget/src/main/java/br/com/webbudget/infraestructure/mail/Postman.java | Java | gpl-3.0 | 2,345 |
/**
* Copyright (C) 2013, 2014 Johannes Taelman
*
* This file is part of Axoloti.
*
* Axoloti 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... | geslotencirkel/axoloti | src/main/java/displays/DisplayFrac32VBarDB.java | Java | gpl-3.0 | 1,358 |
/*
This file is part of Delivery Pipeline Plugin.
Delivery Pipeline Plugin 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.
Delivery Pipelin... | dawidmalina/delivery-pipeline-plugin | src/test/java/se/diabol/jenkins/pipeline/domain/status/promotion/AbstractPromotionStatusProviderTest.java | Java | gpl-3.0 | 2,000 |
/*
************************************************************************
******************* CANADIAN ASTRONOMY DATA CENTRE *******************
************** CENTRE CANADIEN DE DONNÉES ASTRONOMIQUES **************
*
* (c) 2017. (c) 2017.
* Government of Canada ... | esdc-esac-esa-int/caom2db | caom2persistence/src/main/java/ca/nrc/cadc/caom2/harvester/state/PostgresqlHarvestStateDAO.java | Java | agpl-3.0 | 4,700 |
package modules;
import bot.Config;
import bot.Message;
import bot.Module;
import bot.Server;
public class Invite implements Module {
public long timeout = System.currentTimeMillis();
@Override
public void parse(Message m) {
if(m.command().equals("INVITE")){
if(timeout + 10000 > System.currentTimeMillis()){
... | wiiam/Personal-Bot | modules/Invite.java | Java | agpl-3.0 | 645 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2002-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/collectd/SNMPCollectorEntry.java | Java | agpl-3.0 | 4,861 |
/**
* Copyright © MyCollab
*
* 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 program is distribu... | esofthead/mycollab | mycollab-web/src/main/java/com/mycollab/module/user/accountsettings/team/view/RoleSearchPanel.java | Java | agpl-3.0 | 4,483 |
/**
* 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 b... | brtonnies/rapidminer-studio | src/main/java/com/rapidminer/io/process/rules/RenamePlotterParametersRule.java | Java | agpl-3.0 | 6,029 |
/**
* This file is part of mycollab-web.
*
* mycollab-web 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.
*
* mycollab-web is d... | uniteddiversity/mycollab | mycollab-web/src/main/java/com/esofthead/mycollab/module/crm/view/opportunity/OpportunityListCustomizeWindow.java | Java | agpl-3.0 | 1,864 |
package nl.b3p.viewer.config.metadata;
import javax.persistence.Entity;
import javax.persistence.Id;
/**
*
* @author Roy Braam
*/
@Entity
public class Metadata {
@Id
private Long id;
public static final String DATABASE_VERSION_KEY = "database_version";
public static final String DEFAULT_APPLICA... | B3Partners/flamingo | viewer-config-persistence/src/main/java/nl/b3p/viewer/config/metadata/Metadata.java | Java | agpl-3.0 | 970 |
/*********************************************************************************************
*
* 'DrawingEntityGenerator.java, in plugin ummisco.gama.opengl, is part of the source code of the GAMA modeling and
* simulation platform. (c) 2007-2016 UMI 209 UMMISCO IRD/UPMC & Partners
*
* Visit https://github.com/g... | gama-platform/gama.cloud | ummisco.gama.opengl_web/modern_src/ummisco/gama/opengl/vaoGenerator/DrawingEntityGenerator.java | Java | agpl-3.0 | 4,470 |
/*
* $Id$
*
* Copyright (c) 2000-2003 by Rodney Kinney
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License (LGPL) as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be usefu... | fifa0329/vassal | src/VASSAL/counters/Marker.java | Java | lgpl-2.1 | 5,747 |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2012, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | oskopek/jfreechart-fse | src/test/java/org/jfree/chart/AreaChartTest.java | Java | lgpl-2.1 | 6,420 |
package org.litesoft.p2pchat;
import java.io.*;
import java.util.*;
// Copyright Status:
//
// All Software available from LiteSoft.org (including this file) is
// hereby released into the public domain.
//
// It is free! As in, you may use it freely in both commercial and
// non-commercial applications, bundle it w... | caiusb/vassal | src/org/litesoft/p2pchat/PeerWriter.java | Java | lgpl-2.1 | 3,570 |
/*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free So... | victos/opencms-core | src/org/opencms/workplace/commons/CmsResourceInfoDialog.java | Java | lgpl-2.1 | 6,690 |
/*
* (C) Copyright 2006-2009 Nuxeo SAS (http://nuxeo.com/) and contributors.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser General Public License
* (LGPL) version 2.1 which accompanies this distribution, and is available at
* http://www... | deadcyclo/nuxeo-features | annot/nuxeo-annot-gwt/src/main/java/org/nuxeo/ecm/platform/annotations/gwt/client/view/i18n/TranslationMessages.java | Java | lgpl-2.1 | 988 |
package railo.runtime.orm.hibernate;
public class ColumnInfo {
private String name;
private int type;
private String typeName;
private int size;
private boolean nullable;
public ColumnInfo(String name, int type, String typeName, int size,boolean nullable) {
this.name = name;
this.type = type;
thi... | modius/railo | railo-java/railo-core/src/railo/runtime/orm/hibernate/ColumnInfo.java | Java | lgpl-2.1 | 1,486 |
/* LanguageTool, a natural language style checker
* Copyright (C) 2014 Daniel Naber (http://www.danielnaber.de)
*
* 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... | janissl/languagetool | languagetool-language-modules/ast/src/test/java/org/languagetool/language/rules/ast/MorfologikAsturianSpellerRuleTest.java | Java | lgpl-2.1 | 1,937 |
/*
* eXist Open Source Native XML Database
* Copyright (C) 2010-2011 The eXist Project
* http://exist-db.org
*
* This program 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 ... | zwobit/exist | extensions/security/openid/src/org/exist/security/realm/openid/OpenIDUtility.java | Java | lgpl-2.1 | 5,523 |
package com.jaspersoft.jasperserver.jaxrs.client.apiadapters.reporting;
import com.jaspersoft.jasperserver.jaxrs.client.core.JasperserverRestClient;
import com.jaspersoft.jasperserver.jaxrs.client.core.RestClientConfiguration;
import com.jaspersoft.jasperserver.jaxrs.client.core.operationresult.OperationResult;
import... | nate250/jrs-rest-java-client | src/integration-test/java/com/jaspersoft/jasperserver/jaxrs/client/apiadapters/reporting/ReportingServiceIT.java | Java | lgpl-3.0 | 1,480 |
/**
* Copyright (C) 2013 Inera AB (http://www.inera.se)
*
* This file is part of Inera Axel (http://code.google.com/p/inera-axel).
*
* Inera Axel 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, e... | sklaxel/inera-axel | shs/shs-protocol/src/main/java/se/inera/axel/shs/exception/UnknownReceiverException.java | Java | lgpl-3.0 | 1,478 |
package net.minecraft.src;
public class GenLayerAddMushroomIsland extends GenLayer
{
public GenLayerAddMushroomIsland(long par1, GenLayer par3GenLayer)
{
super(par1);
this.parent = par3GenLayer;
}
/**
* Returns a list of integer values generated by this layer. These may be interpr... | Neil5043/Minetweak | src/main/java/net/minecraft/src/GenLayerAddMushroomIsland.java | Java | lgpl-3.0 | 1,699 |
/*
* Copyright (c) 2005, 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 ... | andreagenso/java2scala | test/J2s/java/openjdk-6-src-b27/jdk/src/solaris/classes/sun/awt/X11/XBaseMenuWindow.java | Java | apache-2.0 | 43,079 |
/*
* 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.core.security.action.user;
import org.elastic... | gfyoung/elasticsearch | x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/action/user/HasPrivilegesRequest.java | Java | apache-2.0 | 4,982 |
package org.opencloudb.parser;
import java.sql.SQLSyntaxErrorException;
import junit.framework.Assert;
import org.junit.Test;
import org.opencloudb.mpp.JoinRel;
import org.opencloudb.mpp.UpdateParsInf;
import org.opencloudb.mpp.UpdateSQLAnalyser;
import org.opencloudb.parser.SQLParserDelegate;
import co... | youngor/openclouddb | src/test/java/org/opencloudb/parser/TestUpdateSQLAnalyser.java | Java | apache-2.0 | 2,833 |
/**
* 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... | cloudera/sentry-solr-integration | sentry-hdfs/sentry-hdfs-namenode-plugin/src/main/java/org/apache/sentry/hdfs/SentryAuthorizationConstants.java | Java | apache-2.0 | 2,350 |
/*
* 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 ... | ty1er/incubator-asterixdb | asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/functions/SimilarityJaccardPrefixCheckDescriptor.java | Java | apache-2.0 | 4,905 |
/*
* Copyright 2014 NAVER Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | chenguoxi1985/pinpoint | rpc/src/main/java/com/navercorp/pinpoint/rpc/client/PinpointClientHandler.java | Java | apache-2.0 | 2,003 |
package org.ovirt.engine.core.vdsbroker.attestation;
import java.util.Objects;
import org.ovirt.engine.core.common.businessentities.AttestationResultEnum;
public class AttestationValue {
private String hostName;
private AttestationResultEnum trustLevel;
public AttestationValue() {
}
public Att... | OpenUniversity/ovirt-engine | backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/attestation/AttestationValue.java | Java | apache-2.0 | 1,364 |
package org.ovirt.engine.ui.uicommon.models.vms;
import java.util.Collections;
import org.ovirt.engine.core.compat.*;
import org.ovirt.engine.ui.uicompat.*;
import org.ovirt.engine.core.common.businessentities.*;
import org.ovirt.engine.core.common.vdscommands.*;
import org.ovirt.engine.core.common.queries.*;
import or... | Dhandapani/gluster-ovirt | frontend/webadmin/modules/uicommon/src/main/java/org/ovirt/engine/ui/uicommon/models/vms/VmEventListModel.java | Java | apache-2.0 | 1,605 |
/**
* JBoss, Home of Professional Open Source.
* Copyright 2014-2020 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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... | alexcreasy/pnc | facade/src/main/java/org/jboss/pnc/facade/providers/api/UserProvider.java | Java | apache-2.0 | 912 |
package net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree;
import net.sourceforge.squirrel_sql.client.session.ISession;
import net.sourceforge.squirrel_sql.client.session.properties.SessionProperties;
import net.sourceforge.squirrel_sql.client.resources.SquirrelResources;
import net.sourceforge.squirrel... | sdgdsffdsfff/bigtable-sql | src/main/java/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/ObjectTreeCellRenderer.java | Java | apache-2.0 | 4,537 |
// Copyright 2015 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 applicable... | andyj24/googleads-java-lib | examples/adwords_axis/src/main/java/adwords/axis/v201502/basicoperations/AddTextAds.java | Java | apache-2.0 | 4,965 |
/*
* Autopsy Forensic Browser
*
* Copyright 2019-2020 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | sleuthkit/autopsy | Core/src/org/sleuthkit/autopsy/report/infrastructure/FileReportSettings.java | Java | apache-2.0 | 2,092 |
/*
* Copyright (C) 2014, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All rights reserved.
*
* The Java Pathfinder core (jpf-core) platform is licensed under the
* Apache License, Version 2.0 (the "License"); you may not use this file exce... | grzesuav/jpf-core | src/main/gov/nasa/jpf/listener/NumericValueChecker.java | Java | apache-2.0 | 8,135 |
/*
* Copyright 2013-2018 Ray Tsang
*
* 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 ... | aalmiray/jdeferred | subprojects/jdeferred-core/src/main/java/org/jdeferred2/impl/MasterDeferredObjectN.java | Java | apache-2.0 | 1,562 |
/*
* 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... | Yaliang/presto | presto-main/src/test/java/com/facebook/presto/cost/TestComparisonStatsCalculator.java | Java | apache-2.0 | 35,541 |
/**
* Copyright (C) 2013-2015 Vasilis Vryniotis <bbriniotis@datumbox.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | tomdev2008/datumbox-framework | src/main/java/com/datumbox/common/dataobjects/DataTable2D.java | Java | apache-2.0 | 3,515 |
package org.wildfly.swarm.opentracing;
import io.opentracing.contrib.web.servlet.filter.TracingFilter;
import org.wildfly.swarm.config.runtime.AttributeDocumentation;
import org.wildfly.swarm.spi.api.Defaultable;
import org.wildfly.swarm.spi.api.Fraction;
import org.wildfly.swarm.spi.api.annotations.Configurable;
impo... | wildfly-swarm/wildfly-swarm | fractions/opentracing/src/main/java/org/wildfly/swarm/opentracing/OpenTracingFraction.java | Java | apache-2.0 | 1,183 |
/*
* Copyright 2020 ThoughtWorks, 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 agr... | ketan/gocd | server/src/main/java/com/thoughtworks/go/server/service/materials/commands/PackageMaterialAddWithNewPackageDefinitionCommand.java | Java | apache-2.0 | 2,170 |
/* 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 useful... | Navirize/graphhopper-ios | dependencies/autojar-2.1/src/de/monoped/efile/ZipEntryFile.java | Java | apache-2.0 | 11,522 |
/*
* 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 ... | alexzaitzev/ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/CacheSerializableTransactionsTest.java | Java | apache-2.0 | 169,217 |
/**
* 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... | oza/hadoop | hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestCommitBlockSynchronization.java | Java | apache-2.0 | 7,930 |
/*
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | hello2009chen/spring-boot | spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/context/PropertyPlaceholderAutoConfigurationTests.java | Java | apache-2.0 | 2,857 |
package com.planet_ink.coffee_mud.Items.BasicTech;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import ... | Tycheo/coffeemud | com/planet_ink/coffee_mud/Items/BasicTech/GenBlaster.java | Java | apache-2.0 | 1,924 |
// Copyright 2000-2017 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.codeInsight.daemon.impl.quickfix;
import com.intellij.codeInsight.BlockUtils;
import com.intellij.codeInsight.daemon.QuickFixBundle;
import com.intellij.cod... | jk1/intellij-community | java/java-impl/src/com/intellij/codeInsight/daemon/impl/quickfix/SimplifyBooleanExpressionFix.java | Java | apache-2.0 | 23,546 |
/*
* Copyright © 2002 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* California 95054, U.S.A. All rights reserved. Sun Microsystems, Inc. has
* intellectual property rights relating to technology embodied in the product
* that is described in this document. In particular, and without limitation,
* t... | MondecaLabs/rdf2xml | utilities/javacc-4.0/examples/Interpreter/ASTGENode.java | Java | apache-2.0 | 1,817 |
package org.netmelody.cieye.spies.jenkins;
import static com.google.common.cache.CacheLoader.from;
import java.util.concurrent.ExecutionException;
import org.netmelody.cieye.spies.jenkins.jsondomain.JobDetail;
import com.google.common.base.Function;
import com.google.common.cache.CacheBuilder;
import com.google.com... | MaltheFriisberg/CIE | src/main/java/org/netmelody/cieye/spies/jenkins/BuildStartTimeFetcher.java | Java | apache-2.0 | 1,159 |
/*
* 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 ... | syzer/incubator-tamaya | modules/formats/src/main/java/org/apache/tamaya/format/BaseFormatPropertySourceProvider.java | Java | apache-2.0 | 6,152 |
/*
* 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")... | paplorinc/incubator-groovy | src/main/org/codehaus/groovy/transform/SourceURIASTTransformation.java | Java | apache-2.0 | 5,424 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
* contributors by the @authors tag. See the copyright.txt in the
* distribution for a full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... | rodm/quickstart | ejb-asynchronous/client/src/main/java/org/jboss/as/quickstarts/ejb/asynchronous/client/AsynchronousClient.java | Java | apache-2.0 | 7,758 |
/* 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... | fouasnon/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/db/sql/DbSqlSessionFactory.java | Java | apache-2.0 | 22,338 |
/*
* 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 ... | asurve/incubator-systemml | src/test/java/org/apache/sysml/test/utils/TestUtils.java | Java | apache-2.0 | 60,275 |
/*
* Copyright 2020 ThoughtWorks, 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 agr... | ketan/gocd | server/src/main/java/com/thoughtworks/go/server/messaging/elasticagents/CreateAgentQueueHandler.java | Java | apache-2.0 | 2,212 |
/*
* 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 ... | ecki/commons-vfs | commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/local/LocalFileName.java | Java | apache-2.0 | 2,499 |
package com.webcohesion.enunciate.javac.decorations;
import com.webcohesion.enunciate.javac.decorations.element.DecoratedAnnotationMirror;
/**
* @author Ryan Heaton
*/
public interface AnnotationMirrorDecoration {
/**
* Apply this decoration to the given decorated annotation mirror.
*
* @param mirror Th... | nabilzhang/enunciate | javac-support/src/main/java/com/webcohesion/enunciate/javac/decorations/AnnotationMirrorDecoration.java | Java | apache-2.0 | 401 |
/**
* Copyright 2005-2015 Red Hat, Inc.
*
* Red Hat licenses this file to you under the Apache License, version
* 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | jonathanchristison/fabric8 | fabric/fabric-core/src/main/java/io/fabric8/internal/autoscale/AutoScalers.java | Java | apache-2.0 | 8,295 |
/*
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | thinker0/RxNetty | rxnetty/src/main/java/io/reactivex/netty/client/UnpooledClientConnectionFactory.java | Java | apache-2.0 | 1,504 |
/*
* 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 ... | sijie/bookkeeper | bookkeeper-server/src/test/java/org/apache/bookkeeper/conf/AbstractConfigurationTest.java | Java | apache-2.0 | 5,056 |
/*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | aruanruan/copycat | io/src/main/java/net/kuujo/copycat/io/serializer/lang/ShortArraySerializer.java | Java | apache-2.0 | 1,508 |
package butterknife;
import butterknife.compiler.ButterKnifeProcessor;
import com.google.testing.compile.JavaFileObjects;
import javax.tools.JavaFileObject;
import org.junit.Test;
import static butterknife.TestStubs.ANDROIDX_VIEW_PAGER;
import static com.google.common.truth.Truth.assertAbout;
import static com.google... | ze-pequeno/butterknife | butterknife-runtime/src/test/java/butterknife/OnPageChangeTest.java | Java | apache-2.0 | 3,090 |
package io.searchbox.indices;
import com.google.gson.JsonObject;
import io.searchbox.client.JestResult;
import io.searchbox.common.AbstractIntegrationTest;
import org.elasticsearch.test.ESIntegTestCase;
import org.junit.Test;
import java.io.IOException;
import java.util.concurrent.ExecutionException;
import java.util... | joerivanruth/Jest | jest/src/test/java/io/searchbox/indices/StatsIntegrationTest.java | Java | apache-2.0 | 1,553 |
/**
* 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... | dlanza1/parquet-mr | src/java/org/apache/sqoop/mapreduce/db/DataDrivenDBInputFormat.java | Java | apache-2.0 | 12,464 |
/*
* Copyright 2011 Ytai Ben-Tsvi. 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 list of
* con... | CMU-Robotics-Club/QBot-Mobot | ioioLibAndroid/src/main/java/ioio/lib/impl/IOIOProtocol.java | Java | apache-2.0 | 27,768 |
/*
* 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.ml.rest.inference;
import org.elasticsearch.c... | HonzaKral/elasticsearch | x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/rest/inference/RestGetTrainedModelsAction.java | Java | apache-2.0 | 4,791 |
/*
* 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 ... | apache/commons-bcel | src/main/java/org/apache/bcel/generic/IF_ICMPEQ.java | Java | apache-2.0 | 1,950 |
/*
Derby - Class org.apache.derbyTesting.unitTests.junit.DerbyVersionTest
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 fi... | trejkaz/derby | java/testing/org/apache/derbyTesting/unitTests/junit/DerbyVersionTest.java | Java | apache-2.0 | 7,411 |
/*
* 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... | donNewtonAlpha/onos | apps/openstackinterface/api/src/main/java/org/onosproject/openstackinterface/OpenstackInterfaceService.java | Java | apache-2.0 | 3,570 |
/*
Copyright 2011-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 applicable law or agreed t... | AmesianX/binnavi | src/main/java/com/google/security/zynamics/binnavi/ZyGraph/Builders/Modifiers/CDefaultModifier.java | Java | apache-2.0 | 3,405 |
/*
* Copyright (c) 2015, 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
*
* U... | thiliA/carbon-analytics-common | components/template-manager/org.wso2.carbon.event.template.manager.core/src/main/java/org/wso2/carbon/event/template/manager/core/internal/util/TemplateManagerConstants.java | Java | apache-2.0 | 3,531 |
package org.kie.uberfire.social.activities.service;
import java.util.List;
import java.util.Map;
import org.jboss.errai.bus.server.annotations.Remote;
import org.kie.uberfire.social.activities.model.SocialActivitiesEvent;
import org.kie.uberfire.social.activities.model.SocialEventType;
import org.kie.uberfire.social.... | psiroky/kie-uberfire-extensions | kie-uberfire-social-activities/kie-uberfire-social-activities-api/src/main/java/org/kie/uberfire/social/activities/service/SocialTimeLineRepositoryAPI.java | Java | apache-2.0 | 1,359 |
/**
* 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... | arenadata/ambari | contrib/views/hive20/src/test/java/org/apache/ambari/view/hive20/resources/upload/OpenCSVParserTest.java | Java | apache-2.0 | 10,240 |
package jadx.tests.integration.conditions;
import org.junit.jupiter.api.Test;
import jadx.tests.api.SmaliTest;
import static jadx.tests.api.utils.assertj.JadxAssertions.assertThat;
public class TestBooleanToShort extends SmaliTest {
// @formatter:off
/*
private boolean showConsent;
public void write(short b... | skylot/jadx | jadx-core/src/test/java/jadx/tests/integration/conditions/TestBooleanToShort.java | Java | apache-2.0 | 641 |
// Copyright 2018 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... | dslomov/bazel | src/tools/android/java/com/google/devtools/build/android/desugar/runtime/HiddenConversions.java | Java | apache-2.0 | 2,691 |
package com.hubspot.singularity;
public enum SingularityEmailDestination {
OWNERS, ACTION_TAKER, ADMINS
}
| andrhamm/Singularity | SingularityBase/src/main/java/com/hubspot/singularity/SingularityEmailDestination.java | Java | apache-2.0 | 109 |
/*
* Copyright 2015 Google LLC
*
* 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... | mbrukman/gcloud-java | google-cloud-datastore/src/main/java/com/google/cloud/datastore/testing/LocalDatastoreHelper.java | Java | apache-2.0 | 9,115 |
package org.drools.compiler.kproject;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
... | bxf12315/drools | drools-compiler/src/test/java/org/drools/compiler/kproject/KPTest.java | Java | apache-2.0 | 550 |
// Copyright (c) 2013 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.content.browser.input;
import android.content.Context;
import android.os.IBinder;
import android.os.ResultReceiver;
import andro... | plxaye/chromium | src/content/public/android/java/src/org/chromium/content/browser/input/InputMethodManagerWrapper.java | Java | apache-2.0 | 2,118 |
package org.activiti5.engine.impl.history;
import java.util.Date;
import java.util.Map;
import org.activiti.engine.task.IdentityLink;
import org.activiti5.engine.impl.db.DbSqlSession;
import org.activiti5.engine.impl.interceptor.Session;
import org.activiti5.engine.impl.persistence.entity.ExecutionEntity;
import org.... | roberthafner/flowable-engine | modules/flowable5-engine/src/main/java/org/activiti5/engine/impl/history/HistoryManager.java | Java | apache-2.0 | 9,487 |
/*
* 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-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/transform/AutoScalingGroupStaxUnmarshaller.java | Java | apache-2.0 | 2,522 |
/*
* 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 ... | seeburger-ag/ftpserver | core/src/test/java/org/apache/ftpserver/ftpletcontainer/FtpLetContainerTestTemplate.java | Java | apache-2.0 | 29,481 |
/*
* 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 ... | tzulitai/flink | flink-streaming-java/src/main/java/org/apache/flink/streaming/api/environment/CheckpointConfig.java | Java | apache-2.0 | 20,634 |
/*
* Copyright 2015-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... | gkatsikas/onos | core/api/src/main/java/org/onosproject/net/group/DefaultGroupBucket.java | Java | apache-2.0 | 9,622 |
/*
* 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 ... | waans11/incubator-asterixdb | asterixdb/asterix-experiments/src/main/java/org/apache/asterix/experiment/builder/SpatialIndexExperiment1BDhvbtreeBuilder.java | Java | apache-2.0 | 1,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 ... | ctubbsii/accumulo | core/src/test/java/org/apache/accumulo/core/util/threads/AccumuloUncaughtExceptionHandlerTest.java | Java | apache-2.0 | 4,074 |