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) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/ValueObjects/src/ims/careuk/vo/beans/TheatreListBookingDetailVoBean.java | Java | agpl-3.0 | 3,576 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/Admin/src/ims/admin/forms/securitytokenadmin/GenForm.java | Java | agpl-3.0 | 37,379 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/Admin/src/ims/admin/forms/lookuptree/BaseAccessLogic.java | Java | agpl-3.0 | 4,001 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/ValueObjects/src/ims/clinical/vo/lookups/MeetingStatus.java | Java | agpl-3.0 | 4,839 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/ValueObjects/src/ims/core/vo/domain/IncludeAlertInDischargeReportsVoAssembler.java | Java | agpl-3.0 | 20,649 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/CcoSched/src/ims/ccosched/forms/pattreatmentplan/GlobalContext.java | Java | agpl-3.0 | 15,317 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/ClinicalAdmin/src/ims/clinicaladmin/forms/oncologycontacttypes/GlobalContext.java | Java | agpl-3.0 | 2,020 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/Clinical/src/ims/clinical/forms/cliniclistnotespulling/IFormUILogicCode.java | Java | agpl-3.0 | 1,812 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/Correspondence/src/ims/correspondence/forms/userprofile/GenForm.java | Java | agpl-3.0 | 65,221 |
/*
* 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 ... | FullMetal210/milton2 | external/cardme/src/main/java/info/ineighborhood/cardme/vcard/types/SortStringType.java | Java | agpl-3.0 | 5,126 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# ... | open-health-hub/openmaxims-linux | openmaxims_workspace/ValueObjects/src/ims/therapies/homeandenvironmentalvisit/vo/EnvironmentalVisitRefVo.java | Java | agpl-3.0 | 4,946 |
//#############################################################################
//# #
//# Copyright (C) <2015> <IMS MAXIMS> #
//# ... | FreudianNM/openMAXIMS | Source Library/openmaxims_workspace/ValueObjects/src/ims/ocrr/vo/OrderSetListSearchCriteriaVo.java | Java | agpl-3.0 | 8,075 |
/*
* Copyright (C) 2000 - 2015 Silverpeas
*
* 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.
*
* As a spec... | ebonnet/Silverpeas-Components | webPages/webPages-war/src/main/java/org/silverpeas/components/webpages/control/WebPagesSessionController.java | Java | agpl-3.0 | 10,887 |
/**
* A RESTful web service on top of DSpace.
* Copyright (C) 2010-2014 National Library of Finland
* 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, o... | anis-moubarik/SimpleREST | src/main/java/fi/helsinki/lib/simplerest/GroupResource.java | Java | agpl-3.0 | 5,734 |
package net.jradius.tls;
/**
* A queue for bytes. This file could be more optimized.
*/
public class ByteQueue
{
/**
* @return The smallest number which can be written as 2^x which is bigger than i.
*/
public static final int nextTwoPow(int i)
{
/*
* This code is based of a lot... | Chandrashar/jradius | extended/src/main/java/net/jradius/tls/ByteQueue.java | Java | lgpl-2.1 | 3,330 |
package org.skyve.metadata.view.model.chart;
import java.awt.Color;
import java.util.List;
public class ChartData {
private String title;
private List<Number> values;
private List<String> labels;
private List<Color> backgrounds;
private List<Color> borders;
private String label;
private Color background;
priv... | skyvers/skyve | skyve-core/src/main/java/org/skyve/metadata/view/model/chart/ChartData.java | Java | lgpl-2.1 | 2,177 |
package eu.europa.esig.dss.validation.process.qualification;
import java.util.Date;
import javax.xml.bind.DatatypeConverter;
public final class EIDASUtils {
private EIDASUtils() {
}
/**
* Start date of the eIDAS regulation
*
* Regulation was signed in Brussels : 1st of July 00:00 Brussels = 30th of June ... | alisdev/dss | validation-policy/src/main/java/eu/europa/esig/dss/validation/process/qualification/EIDASUtils.java | Java | lgpl-2.1 | 966 |
/*
* LensKit, an open source recommender systems toolkit.
* Copyright 2010-2014 LensKit Contributors. See CONTRIBUTORS.md.
* Work on LensKit has been funded by the National Science Foundation under
* grants IIS 05-34939, 08-08692, 08-12148, and 10-17697.
*
* This program is free software; you can redistribute it... | amaliujia/lenskit | lenskit-core/src/test/java/org/lenskit/data/ratings/RatingTest.java | Java | lgpl-2.1 | 7,390 |
/*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* 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
* th... | pbondoer/xwiki-platform | xwiki-platform-core/xwiki-platform-annotations/xwiki-platform-annotation-reference/src/main/java/org/xwiki/annotation/reference/TypedStringEntityReferenceResolver.java | Java | lgpl-2.1 | 2,407 |
/*
* 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")... | leodmurillo/sonar | plugins/sonar-squid-java-plugin/test-resources/commons-collections-3.2.1/src/org/apache/commons/collections/iterators/AbstractIteratorDecorator.java | Java | lgpl-3.0 | 2,427 |
package restwars.rest.resources;
import com.google.common.base.Preconditions;
import com.wordnik.swagger.annotations.Api;
import com.wordnik.swagger.annotations.ApiOperation;
import com.wordnik.swagger.annotations.ApiParam;
import io.dropwizard.auth.Auth;
import restwars.model.building.Buildings;
import restwars.model... | davidmc24/restwars | rest/src/main/java/restwars/rest/resources/BuildingSubResource.java | Java | lgpl-3.0 | 2,260 |
////////////////////////////////////////////////////////////////////////////////
// The following FIT Protocol software provided may be used with FIT protocol
// devices only and remains the copyrighted property of Dynastream Innovations Inc.
// The software is being provided on an "as-is" basis and as an accommodat... | saschaiseli/opentrainingcenter_e4 | com.garmin.fit/src/com/garmin/fit/EventMesg.java | Java | lgpl-3.0 | 23,543 |
/*
* MoXie (SysTem128@GMail.Com) 2009-2-1 15:59:59
*
* Copyright © 2008-2009 Zoeey.Org
* Code license: GNU Lesser General Public License Version 3
* http://www.gnu.org/licenses/lgpl-3.0.txt
*/
package org.zoeey.validator.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Rete... | BGCX261/zoeey-hg-to-git | src/main/java/org/zoeey/validator/annotations/Vali.java | Java | lgpl-3.0 | 589 |
package net.gtn.dimensionalpocket.oc.common.utils;
public class MathHelper {
public static int wrapInt(int value, int max) {
return wrapInt(value, 0, max);
}
public static int wrapInt(int value, int min, int max) {
return value < min ? max : value > max ? min : value;
}
public st... | NPException42/Dimensional-Pockets | java/net/gtn/dimensionalpocket/oc/common/utils/MathHelper.java | Java | lgpl-3.0 | 2,200 |
package com.vistatec.ocelot.rules;
import com.vistatec.ocelot.its.model.LanguageQualityIssue;
public class RulesTestHelpers {
public static LanguageQualityIssue lqi(String type, int severity) {
LanguageQualityIssue lqi = new LanguageQualityIssue();
lqi.setType(type);
lqi.setSeverity(sever... | vistatec/ocelot | src/test/java/com/vistatec/ocelot/rules/RulesTestHelpers.java | Java | lgpl-3.0 | 626 |
package com.jediterm.terminal.ui;
import com.google.common.base.Ascii;
import com.google.common.base.Predicate;
import com.google.common.base.Supplier;
import com.google.common.collect.Lists;
import com.jediterm.terminal.*;
import com.jediterm.terminal.TextStyle.Option;
import com.jediterm.terminal.emulator.ColorPalet... | patsimm/jediterm | src-terminal/com/jediterm/terminal/ui/TerminalPanel.java | Java | lgpl-3.0 | 42,325 |
/*
* $Id: Chunks.java 3373 2008-05-12 16:21:24Z xlv $
*
* This code is part of the 'iText Tutorial'.
* You can find the complete tutorial at the following address:
* http://itextdocs.lowagie.com/tutorial/
*
* This code is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even t... | yogthos/itext | www/examples/com/lowagie/examples/objects/Chunks.java | Java | lgpl-3.0 | 2,050 |
/* MOD_V2.0
* Copyright (c) 2012 OpenDA Association
* All rights reserved.
*
* This file is part of OpenDA.
*
* OpenDA 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 3 of
* the Lic... | wkramer/openda | core/src/main/java/org/openda/costa/CtaTime.java | Java | lgpl-3.0 | 3,771 |
/*
* Forge Mod Loader
* Copyright (c) 2012-2013 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v2.1
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
... | HATB0T/RuneCraftery | forge/mcp/src/minecraft/cpw/mods/fml/client/modloader/ModLoaderClientHelper.java | Java | lgpl-3.0 | 7,879 |
package fi.cs.ubicomp.database.traces;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;
public class TracesCollector {
private Connection connect = null;
private Statement statement = null;
private PreparedState... | mobile-cloud-computing/ScalingMobileCodeOffloading | Framework-JVM/Manager/CodeOffload/src/main/java/fi/cs/ubicomp/database/traces/TracesCollector.java | Java | lgpl-3.0 | 1,634 |
/*
* Copyright (C) 2009 Christian Hujer
*
* 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 program is d... | christianhujer/japi | historic2/src/prj/net/sf/japi/progs/jeduca/jtest/gui/FirstSettingsModule.java | Java | lgpl-3.0 | 4,554 |
/*
* Copyright 2006 - 2013
* Stefan Balev <stefan.balev@graphstream-project.org>
* Julien Baudry <julien.baudry@graphstream-project.org>
* Antoine Dutot <antoine.dutot@graphstream-project.org>
* Yoann Pigné <yoann.pigne@graphstream-project.org>
* Guilhelm Savin <guilhelm.savin... | margaritis/gs-core | src/org/graphstream/graph/implementations/DefaultGraph.java | Java | lgpl-3.0 | 3,896 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.harium.keel.core.interpolation;
/**
* Interpolation routines.
* @author Diego Catalano
*/
public final class Interpolation {
/**
* Don't let anyone instantiate this class.
*/
... | yuripourre/keel | src/main/java/com/harium/keel/core/interpolation/Interpolation.java | Java | lgpl-3.0 | 1,057 |
package com.yao.spring_hello_world_demo.controller;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.http.MediaType;
import org.springframework.test.context.junit4.SpringRunner;
import org.springfram... | xiaoxiaoyao/MyApp | JAVA/spring_hello_world_demo/src/test/java/com/yao/spring_hello_world_demo/controller/UserControllerRESTfultest.java | Java | unlicense | 2,876 |
/*
* Copyright 2016 Alexey Andreev.
*
* 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... | jtulach/teavm | core/src/main/java/org/teavm/model/optimization/UnreachableBasicBlockEliminator.java | Java | apache-2.0 | 3,402 |
package liquibase.database.core;
import java.math.BigInteger;
import liquibase.CatalogAndSchema;
import liquibase.database.AbstractJdbcDatabase;
import liquibase.database.DatabaseConnection;
import liquibase.database.OfflineConnection;
import liquibase.statement.core.RawSqlStatement;
import liquibase.structure.Databa... | gquintana/liquibase | liquibase-core/src/main/java/liquibase/database/core/MSSQLDatabase.java | Java | apache-2.0 | 12,030 |
/*
* 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.action;
import org.elasticsearch.action.Ac... | nknize/elasticsearch | x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateJobAction.java | Java | apache-2.0 | 2,337 |
package com.sino.scaffold.bean.acl;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;
import com.sino.scaffold.bean.Entity;
/**
*
* @author kerbores
*
* @email kerbores@gmail.com
... | Kerbores/Falsework | boot-nutz-vue/src/main/java/com/sino/scaffold/bean/acl/Permission.java | Java | apache-2.0 | 2,903 |
package com.beecavegames.poker.bot.strategies;
import com.beecavegames.poker.PokerSeat;
import com.beecavegames.poker.PokerTable;
import com.beecavegames.poker.bot.PokerBot;
import com.beecavegames.poker.fsm.Event;
public class BailStrategy extends AbstractPlayStrategy {
private static final long serialVersionUID =... | sgmiller/hiveelements | gameelements/src/main/java/poker/bot/strategies/BailStrategy.java | Java | apache-2.0 | 686 |
/**
* 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... | massakam/pulsar | pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authentication/metrics/AuthenticationMetrics.java | Java | apache-2.0 | 2,257 |
/**
* 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... | rafaelgarrote/metamodel | core/src/test/java/org/apache/metamodel/query/FilterItemTest.java | Java | apache-2.0 | 20,420 |
/*
* 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... | Soya93/Extract-Refactoring | platform/vcs-log/impl/src/com/intellij/vcs/log/data/VcsLogRefresherImpl.java | Java | apache-2.0 | 18,836 |
package de.yogularm.minecraft.itemfinder.region;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.List;
import com.google.common.collect.ImmutableList;
/**
* Represents the terrain of one minecraft world
*/
public class World {
private List<Dimension> dimensions ... | Yogu/itemfinder | src/main/java/de/yogularm/minecraft/itemfinder/region/World.java | Java | apache-2.0 | 2,112 |
/*
* Copyright 2003-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | komalsukhani/debian-groovy2 | src/main/org/codehaus/groovy/transform/sc/transformers/MethodCallExpressionTransformer.java | Java | apache-2.0 | 7,966 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | apache/geronimo-yoko | yoko-core/src/test/java/test/retry/RetryPOA.java | Java | apache-2.0 | 4,450 |
package br.com.empresa.infrastructure.config;
import java.util.EnumSet;
import java.util.List;
import javax.servlet.DispatcherType;
import javax.servlet.FilterRegistration;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import org.springframework.context.annotation.Bean;
import org.sprin... | GUMGA/piloto | piloto-infrastructure/src/main/java/br/com/empresa/infrastructure/config/WebConfig.java | Java | apache-2.0 | 4,931 |
/*
* Copyright 2006-2008 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 re... | youjava/easyjweb | src/ext/src/main/java/com/easyjf/core/support/GenericPageList.java | Java | apache-2.0 | 1,718 |
/*
* 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... | vvcephei/elasticsearch | core/src/test/java/org/elasticsearch/client/node/NodeClientHeadersTests.java | Java | apache-2.0 | 2,853 |
package org.kie.server.integrationtests;
import org.junit.BeforeClass;
import org.junit.Test;
import org.kie.server.api.model.KieContainerResource;
import org.kie.server.api.model.ReleaseId;
import org.kie.server.api.model.ServiceResponse;
public class RuleFlowIntegrationTest extends KieServerBaseIntegrationTest {
... | hxf0801/droolsjbpm-integration | kie-server-parent/kie-server-tests/kie-server-rest-tests/src/test/java/org/kie/server/integrationtests/RuleFlowIntegrationTest.java | Java | apache-2.0 | 1,706 |
package org.ovirt.engine.core.common.queries;
public enum ImportCandidateSourceEnum {
KVM,
VMWARE;
public int getValue() {
return this.ordinal();
}
public static ImportCandidateSourceEnum forValue(int value) {
return values()[value];
}
}
| jbeecham/ovirt-engine | backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/ImportCandidateSourceEnum.java | Java | apache-2.0 | 281 |
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package io.permazen.tuple;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
class AbstractHas1<V1> implements Tuple, Has1<V1> {
final V1 v1;
protected AbstractHas1(V1 v1) {
thi... | permazen/permazen | permazen-util/src/main/java/io/permazen/tuple/AbstractHas1.java | Java | apache-2.0 | 1,919 |
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package io.permazen;
import io.permazen.annotation.JField;
import io.permazen.annotation.JMapField;
import io.permazen.annotation.PermazenType;
import io.permazen.test.TestSupport;
import java.util.Arrays;
import java.util.List;
import java.util.Map... | permazen/permazen | permazen-main/src/test/java/io/permazen/FieldTypesConflictTest.java | Java | apache-2.0 | 5,747 |
package net.finmath.montecarlo;
import java.text.DecimalFormat;
import org.apache.commons.math3.complex.Complex;
import org.junit.Test;
import net.finmath.stochastic.RandomVariable;
import net.finmath.time.TimeDiscretization;
import net.finmath.time.TimeDiscretizationFromArray;
/**
* We test the Variance Gamma pro... | finmath/finmath-lib | src/test/java8/net/finmath/montecarlo/VarianceGammaTest.java | Java | apache-2.0 | 2,965 |
/**
* 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... | beysims/reef | lang/java/reef-wake/wake/src/main/java/org/apache/reef/wake/remote/transport/netty/NettyChannelHandlerFactory.java | Java | apache-2.0 | 1,182 |
/*
* Copyright 2016 OpenMarket 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 agr... | floviolleau/vector-android | vector/src/main/java/im/vector/activity/VectorSettingsActivity.java | Java | apache-2.0 | 2,063 |
/*
* $Header: /home/cvs/jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users/BaseForm.java,v 1.1.1.1 2002/07/18 16:48:22 remm Exp $
* $Revision: 1.1.1.1 $
* $Date: 2002/07/18 16:48:22 $
*
* ====================================================================
*
* The Apache Software... | devjin24/howtomcatworks | bookrefer/jakarta-tomcat-5.0.18-src/jakarta-tomcat-catalina/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/users/BaseForm.java | Java | apache-2.0 | 5,654 |
package org.apache.commons.jcs3.auxiliary;
/*
* 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 A... | apache/commons-jcs | commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/AbstractAuxiliaryCacheMonitor.java | Java | apache-2.0 | 5,842 |
// Copyright 2015 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... | kamalmarhubi/bazel | src/main/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/ArmCrosstools.java | Java | apache-2.0 | 18,157 |
package com.cattong.sns.impl.facebook;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import com.cattong.commons.LibException;
import com.cattong.commons.LibResultCode;
import com.cattong.commons.ServiceProvider;
im... | 0359xiaodong/YiBo | YiBoLibrary/src/com/cattong/sns/impl/facebook/FacebookPhotoAdapter.java | Java | apache-2.0 | 2,404 |
/**
* 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 ... | BUPTAnderson/apache-hive-2.1.1-src | ql/src/test/org/apache/hadoop/hive/ql/io/parquet/serde/TestAbstractParquetMapInspector.java | Java | apache-2.0 | 3,638 |
/**
* 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"); yo... | eschwert/Wicket-tutorial-examples | LocalizedChoicesExample/src/test/java/org/wicketTutorial/localizechoices/TestHomePage.java | Java | apache-2.0 | 1,476 |
package com.starlight36.yar.client;
import java.io.IOException;
/**
* com.starlight36.yar.client.Main
*/
public class Main {
public static void main(String[] args) throws IOException {
YarClient client = new YarClient("http://localhost/yar.php");
DummyTimeDto time = client.call("doSomething", Du... | starlight36/yar-client-java | src/test/java/com/starlight36/yar/client/Main.java | Java | apache-2.0 | 466 |
// 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.refactoring.extractMethod;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.util.P... | jk1/intellij-community | java/java-impl/src/com/intellij/refactoring/extractMethod/JavaDuplicatesExtractMethodProcessor.java | Java | apache-2.0 | 10,856 |
/*
* #%L
* ELK Reasoner
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2011 - 2016 Department of Computer Science, University of Oxford
* %%
* 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... | liveontologies/elk-reasoner | elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/taxonomy/impl/AbstractUpdateableGenericInstanceTaxonomy.java | Java | apache-2.0 | 9,522 |
package org.activiti.spring.test.components.scope;
import org.flowable.engine.runtime.ProcessInstance;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.util.Assert;
... | robsoncardosoti/flowable-engine | modules/flowable5-spring-test/src/test/java/org/activiti/spring/test/components/scope/StatefulObject.java | Java | apache-2.0 | 2,646 |
/*
* Copyright 2014 Effektif GmbH.
*
* 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... | jblankendaal/effektif | effektif-workflow-impl/src/main/java/com/effektif/workflow/impl/template/Hints.java | Java | apache-2.0 | 996 |
/*
* 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-email | src/test/java/org/apache/commons/mail/mocks/MockMultiPartEmailConcrete.java | Java | apache-2.0 | 1,718 |
package org.springside.modules.utils.base.type;
import org.springside.modules.utils.base.ExceptionUtil;
/**
* 适用于异常信息需要变更的情况, 可通过clone(),不经过构造函数(也就避免了获得StackTrace)地从之前定义的静态异常中克隆,再设定新的异常信息
*
* @see CloneableException
*/
public class CloneableRuntimeException extends RuntimeException implements Cloneable {
priva... | mosoft521/springside4 | modules/utils/src/main/java/org/springside/modules/utils/base/type/CloneableRuntimeException.java | Java | apache-2.0 | 1,717 |
/*
* 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 ... | AriaLyy/Aria | FtpComponent/src/main/java/aria/apache/commons/net/io/CopyStreamException.java | Java | apache-2.0 | 2,595 |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.debezium;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.ExtendedPropertyConfigurerGetter;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.spi.Configu... | gnodet/camel | components/camel-debezium-postgres/src/generated/java/org/apache/camel/component/debezium/DebeziumPostgresEndpointConfigurer.java | Java | apache-2.0 | 37,665 |
package com.ybproject.DiaryMemoUtile.Utile;
import java.util.Locale;
import android.app.Activity;
import android.content.Context;
import android.telephony.TelephonyManager;
import android.util.Log;
public class CommonUtil {
private static final String TAG = "CommonUtil";
/**
* 이동 통신사 이름 얻어 오기
* @param acti... | tina0430/leejihee- | leejihee--master/diarymemo/app/src/main/java/com/ybproject/DiaryMemoUtile/Utile/CommonUtil.java | Java | apache-2.0 | 2,234 |
/*
* 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 ... | glyptodon/guacamole-client | extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/user/UserLDAPConfiguration.java | Java | apache-2.0 | 2,961 |
/*
* Licensed to GraphHopper and Peter Karich under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you... | heisenpai/GraphHopper | tools/src/main/java/com/graphhopper/tools/Measurement.java | Java | apache-2.0 | 12,750 |
package de.japkit.metaannotations;
/**Annotation value.*/
public @interface AV {
/**
* By default, this rule is active.
* To switch it on or of case by case, a boolean expression can be used here.
*
* @return
*/
String cond() default "";
/**
* The expression language for the cond expression.
* ... | japkit/japkit | japkit-annotations/src/main/java/de/japkit/metaannotations/AV.java | Java | apache-2.0 | 2,114 |
package com.snakerflow.framework.security.dao;
import com.snakerflow.framework.orm.hibernate.HibernateDao;
import com.snakerflow.framework.security.entity.Org;
import org.springframework.stereotype.Component;
/**
* 部门持久化类
* @author yuqs
* @since 0.1
*/
@Component
public class OrgDao extends HibernateDao<Org, Long... | snakerflow/snaker-web | src/main/java/com/snakerflow/framework/security/dao/OrgDao.java | Java | apache-2.0 | 339 |
/**
* Copyright (C) 2015 Anthony K. Trinh
*
* 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... | psquickitjayant/loggly-client | src/test/java/com/github/tony19/loggly/LogglyClientTest.java | Java | apache-2.0 | 4,666 |
package com.amazonaws.eclipse.opsworks;
import java.util.LinkedList;
import java.util.List;
import com.amazonaws.services.opsworks.AWSOpsWorks;
import com.amazonaws.services.opsworks.model.App;
import com.amazonaws.services.opsworks.model.DescribeAppsRequest;
import com.amazonaws.services.opsworks.model.DescribeInsta... | zhangzhx/aws-toolkit-eclipse | bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/ServiceAPIUtils.java | Java | apache-2.0 | 2,139 |
/*
* Copyright (c) 2009 - 2020 CaspersBox Web Services
*
* 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... | cwsus/esolutions | eSolutionsSecurity/src/main/java/com/cws/esolutions/security/config/xml/SecurityReturningAttributes.java | Java | apache-2.0 | 12,684 |
/*
* Copyright 2014-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | shs96c/buck | src/com/facebook/buck/features/ocaml/OcamlYaccStep.java | Java | apache-2.0 | 2,008 |
package nkp.pspValidator.shared.engine.evaluationFunctions;
import nkp.pspValidator.shared.engine.Engine;
import nkp.pspValidator.shared.engine.ValueEvaluation;
import nkp.pspValidator.shared.engine.ValueType;
import org.junit.BeforeClass;
import org.junit.Test;
import java.io.File;
import java.util.ArrayList;
import... | NLCR/komplexni-validator | sharedModule/src/test/java/nkp/pspValidator/shared/engine/evaluationFunctions/EfGetFirstFileFromFileListTest.java | Java | apache-2.0 | 4,066 |
package org.radargun.service;
import java.util.Collections;
import java.util.List;
import org.infinispan.query.dsl.FilterConditionContext;
import org.infinispan.query.dsl.FilterConditionEndContext;
import org.infinispan.query.dsl.QueryFactory;
import org.radargun.traits.Query;
import org.radargun.traits.Queryable;
/... | rmacor/radargun | plugins/infinispan60/src/main/java/org/radargun/service/AbstractInfinispanQueryable.java | Java | apache-2.0 | 8,017 |
/*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.ap.testmodel.annotationparameters;
import javax.validation.constraint... | shahramgdz/hibernate-validator | annotation-processor/src/test/java/org/hibernate/validator/ap/testmodel/annotationparameters/ValidPatternParameters.java | Java | apache-2.0 | 1,124 |
/****************************************************************
* Licensed to the AOS Community (AOS) under one or more *
* contributor license agreements. See the NOTICE file *
* distributed with this work for additional information *
* regarding copyright ownership. The AOS licenses this... | XClouded/t4f-core | java/jdk/demo/plugin/jfc/Java2D/src/java2d/demos/Colors/BullsEye.java | Java | apache-2.0 | 4,069 |
/*
* Copyright 2011 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... | mswiderski/droolsjbpm-knowledge | kie-internal/src/main/java/org/kie/fluent/FluentKnowledgeBuilder.java | Java | apache-2.0 | 941 |
/*
* Copyright © 2016 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... | cdapio/tephra | tephra-hbase-compat-1.0-cdh/src/main/java/co/cask/tephra/hbase10cdh/coprocessor/CellSkipFilter.java | Java | apache-2.0 | 4,910 |
package chapter6.concurrentutils;
import java.util.Random;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
/**
* CountDownLatch犹如倒计时器 ,调用CountDownLatch对象的countdown方法就将计数器减1 ,当计数到达0时 ,则所有等待者或单个等待者开始执行
*/
public class CountDownLatchDemo {... | Ztiany/CodeRepository | Java/Java-Concurrent/Java-Concurrent-Art/src/main/java/chapter6/concurrentutils/CountDownLatchDemo.java | Java | apache-2.0 | 2,283 |
/*
* Copyright 2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | oehf/ipf | commons/ihe/xds/src/test/java/org/openehealth/ipf/commons/ihe/xds/core/transform/ebxml/ebxml30/SubmissionSetTransformerTest.java | Java | apache-2.0 | 1,338 |
/*
* Copyright (c) 2013, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software;Designed and Developed mainly by many Chinese
* opensource volunteers. you can redistribute it and/or modify it under the
* ... | youngor/openclouddb | MyCAT_1.2/src/test/java/org/opencloudb/route/function/PartitionByPrefixPatternTest.java | Java | apache-2.0 | 1,939 |
/*
* 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 m... | pfirmstone/JGDMS | qa/src/org/apache/river/test/spec/discoverymanager/GroupsMulticastMonitorChange.java | Java | apache-2.0 | 2,831 |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | BUPTAnderson/apache-hive-2.1.1-src | serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyLong.java | Java | apache-2.0 | 7,631 |
/**
* 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... | JingchengDu/hadoop | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/ResourceManager.java | Java | apache-2.0 | 71,584 |
package com.alex.develop.fragment.service;
/**
* Created by Administrator on 2015-11-19.
*/
interface OptionalServiceInterFace<T> {
public T LoadData();
}
| xhackertxl/StocksAnalyzer | app/src/main/java/com/alex/develop/fragment/service/OptionalServiceInterFace.java | Java | apache-2.0 | 163 |
/*-
*
* * Copyright 2015 Skymind,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
* *
* * ... | kinbod/deeplearning4j | deeplearning4j-nn/src/main/java/org/deeplearning4j/optimize/listeners/TimeIterationListener.java | Java | apache-2.0 | 2,227 |
/*
* Copyright (C) 2013 OTAPlatform
*
* 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... | beerbong/OTAPlatform | src/com/beerbong/otaplatform/updater/impl/OUCUpdater.java | Java | apache-2.0 | 3,380 |
package org.zstack.network.service.virtualrouter.lb;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.transaction.annot... | zstackio/zstack | plugin/virtualRouterProvider/src/main/java/org/zstack/network/service/virtualrouter/lb/VirtualRouterLoadBalancerBackend.java | Java | apache-2.0 | 112,967 |
/*
* Copyright 2015-2017 Red Hat, Inc. and/or its affiliates
* and other 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 License at
*
* http://w... | hawkular/hawkular-android-client | mobile/src/main/java/org/hawkular/client/android/fragment/AlertsFragment.java | Java | apache-2.0 | 17,256 |
/*
* 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 ... | fwassmer/aries | component-dsl/component-dsl/src/main/java/org/apache/aries/osgi/functional/internal/BundleContextOSGiImpl.java | Java | apache-2.0 | 1,142 |
// 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... | akira-baruah/bazel | src/main/java/com/google/devtools/build/lib/query2/aquery/ActionGraphProtoV2OutputFormatterCallback.java | Java | apache-2.0 | 4,875 |
package org.wtrader.loader.utils.interfaces;
import java.io.IOException;
import java.util.List;
public interface IStockDataLoader {
public void loadFile(String fullnamePath, List<String> acceptedStocks) throws IOException;
}
| bbranquinho/wpattern-wtrader | wtrader-loader/wtrader-loader-utils/src/main/java/org/wtrader/loader/utils/interfaces/IStockDataLoader.java | Java | apache-2.0 | 240 |
/*
* 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... | nterry/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/model/SetPlatformApplicationAttributesResult.java | Java | apache-2.0 | 2,106 |