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 cz.metacentrum.perun.wui.registrar.widgets.items;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.Widget;
import cz.metacentrum.perun.wui.json.Events;
import cz.metacentrum.perun.wui.model.beans.ApplicationFormItemData;
import cz.metacentrum.perun.wui.registrar.client.resources.Peru... | ondrejvelisek/perun-wui | perun-wui-registrar/src/main/java/cz/metacentrum/perun/wui/registrar/widgets/items/PerunFormItem.java | Java | apache-2.0 | 3,923 |
package de.tum.in.i17.iotminer;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class IotMinerApplicationTests {
@Test
public void co... | amilamanoj/iotuc-miner | iot-miner-ws/src/test/java/de/tum/in/i17/iotminer/IotMinerApplicationTests.java | Java | apache-2.0 | 341 |
package com.imooc.config;
import com.imooc.controller.interceptor.handlers.OneInterceptor;
import com.imooc.controller.interceptor.handlers.TwoInterceptor;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframewo... | bbxyard/bbxyard | yard/skills/66-java/spboot/src/main/java/com/imooc/config/MyWebMvcConfigure.java | Java | apache-2.0 | 1,184 |
/*
* Copyright 2006-2012 The Scriptella Project Team.
*
* 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... | scriptella/scriptella-etl | tools/src/test/scriptella/tools/ant/EtlTemplateTaskTest.java | Java | apache-2.0 | 2,171 |
package com.kk.taurus.xfolder.bean;
import java.io.Serializable;
/**
* Created by Taurus on 2017/5/12.
*/
public class StateRecord implements Serializable {
private int focusPosition;
private int scrollToPosition;
private int offset;
public int getFocusPosition() {
return focusPosition;
... | jiajunhui/XFolder | app/src/main/java/com/kk/taurus/xfolder/bean/StateRecord.java | Java | apache-2.0 | 763 |
/*
* 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 ... | Geomatys/sis | core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ProjectionException.java | Java | apache-2.0 | 3,662 |
package jat.coreNOSA.gps;
/* JAT: Java Astrodynamics Toolkit
*
* Copyright (c) 2003 National Aeronautics and Space Administration. All rights reserved.
*
* This file is part of JAT. JAT is free software; you can
* redistribute it and/or modify it under the terms of the
* NASA Open Source Agreement
*
*
* T... | atmelino/JATexperimental | src/jat/coreNOSA/gps/URE_Model.java | Java | apache-2.0 | 6,016 |
/*
* Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* you may obtain a copy of the License at
*
* http://www.apache.org/... | charithag/carbon-device-mgt-framework | components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/dao/PolicyManagementDAOFactory.java | Java | apache-2.0 | 6,767 |
package statzall.codec;
import static org.junit.Assert.*;
import org.junit.Test;
import statzall.Cast;
import statzall.StreamCalc;
import statzall.codec.StreamCalcKryo;
public class StreamCalcKryoTest {
@Test
public void test() {
StreamCalc calc = new StreamCalc(10, 10);
StreamCalcKryo target = new StreamCa... | LamdaFu/statzall | statzall-core/src/test/java/statzall/codec/StreamCalcKryoTest.java | Java | apache-2.0 | 539 |
/*
* The aspiredb project
*
* Copyright (c) 2012 University of British Columbia
*
* 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
*
* ... | ppavlidis/aspiredb | aspiredb/src/main/java/ubc/pavlab/aspiredb/shared/query/AspireDbFilterConfig.java | Java | apache-2.0 | 971 |
/*
* Copyright 2009-2013 by The Regents of the University of California
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may obtain a copy of the License from
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | tectronics/hyracks | algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/properties/AbstractGroupingProperty.java | Java | apache-2.0 | 3,116 |
/**
* Copyright 2015-2016 INESC-ID
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | reTHINK-project/dev-registry-domain | server/src/main/java/domainregistry/exception/HypertiesNotFoundException.java | Java | apache-2.0 | 701 |
/*
* Copyright 2008 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... | bobmcwhirter/drools | drools-core/src/main/java/org/drools/reteoo/RuleRemovalContext.java | Java | apache-2.0 | 2,187 |
/*
* Copyright 2000-2016 Vaadin Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Legioth/vaadin | server/src/main/java/com/vaadin/data/Result.java | Java | apache-2.0 | 6,251 |
package com.cibuddy.hid.test;
import com.codeminders.hidapi.ClassPathLibraryLoader;
import com.codeminders.hidapi.HIDDeviceInfo;
import com.codeminders.hidapi.HIDManager;
import java.io.IOException;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
/**
* A simple ... | cibuddy/cibuddy | drivers/hid/src/test/java/com/cibuddy/hid/test/HIDManagerTest.java | Java | apache-2.0 | 2,419 |
/*
* Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.product.swap;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;
import java.util.Map;
import java.util.NoSuchElementExcepti... | OpenGamma/Strata | modules/product/src/main/java/com/opengamma/strata/product/swap/RateCalculationSwapLeg.java | Java | apache-2.0 | 28,501 |
package com.uservoice.uservoicesdk.ui;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.net.Uri;
import android.support.v4.app.FragmentActivity;
import android.util.TypedValue;
import android.view.View;
import android.w... | goodev/android-discourse | userVoiceSDK/src/main/java/com/uservoice/uservoicesdk/ui/Utils.java | Java | apache-2.0 | 5,192 |
/* Copyright 2016 Mikolaj Stefaniak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | mikouaj/finsight | finsight-backend/src/main/java/pl/surreal/finance/transaction/resources/TransactionResource.java | Java | apache-2.0 | 11,611 |
package com.voisintech.easeljs.display;
public class MovieClip {
}
| Vam85/gwt-createjs | gwt-easeljs/src/com/voisintech/easeljs/display/MovieClip.java | Java | apache-2.0 | 69 |
/*
* Copyright (c) 2002-2018 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j 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 Fo... | HuangLS/neo4j | advanced/management/src/main/java/org/neo4j/management/HighAvailability.java | Java | apache-2.0 | 2,055 |
/*
* Copyright (c) 2015-2016, Mostafa Ali (engabdomostafa@gmail.com)
* 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, ... | EMostafaAli/HlaListener | src/main/java/ca/mali/customcontrol/DimensionsListController.java | Java | apache-2.0 | 6,175 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | ManfredTremmel/gwt-bean-validators | gwt-bean-validators/src/main/java/de/knightsoftnet/validators/client/data/PhoneRegionCode504Constants.java | Java | apache-2.0 | 1,101 |
/*
* Copyright 2017 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | duftler/clouddriver | clouddriver-kubernetes/src/main/java/com/netflix/spinnaker/clouddriver/kubernetes/provider/KubernetesModelUtil.java | Java | apache-2.0 | 3,696 |
/**
* 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... | astefanutti/camel-cdi | envs/se/src/test/java/org/apache/camel/cdi/se/MultiCamelContextReusedRouteTest.java | Java | apache-2.0 | 4,298 |
/*
* Copyright 2014 Radialpoint SafeCare 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 re... | StephanieMak/word2vec-query-expansion | src/main/java/com/radialpoint/word2vec/Vectors.java | Java | apache-2.0 | 4,960 |
package io.skysail.server.queryfilter.parser;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.osgi.framework.InvalidSyntaxException;
import org.osgi.service.component.annotations.Component;
import io.skysail.server.domain.jvm.FieldFacet;
import io.skysail.ser... | evandor/skysail | skysail.server.queryfilter/src/io/skysail/server/queryfilter/parser/LdapParser.java | Java | apache-2.0 | 9,977 |
package org.traccar.protocol;
import org.junit.Test;
import org.traccar.ProtocolTest;
public class TelicProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
TelicProtocolDecoder decoder = new TelicProtocolDecoder(new TelicProtocol());
verifyNull(decod... | jon-stumpf/traccar | test/org/traccar/protocol/TelicProtocolDecoderTest.java | Java | apache-2.0 | 4,381 |
/*
* 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 "lice... | trasa/aws-sdk-java | aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/Volume.java | Java | apache-2.0 | 8,673 |
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.policies;
import java.util.Iterator;
import org.eclipse.emf.ecore.EAnnotation;
import org.eclipse.gef.commands.Command;
import org.eclipse.gmf.runtime.diagram.core.commands.DeleteCommand;
import org.eclipse.gmf.runtime.emf.commands.core.command.CompositeTr... | rajeevanv89/developer-studio | esb/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/edit/policies/TransactionMediatorOutputConnectorItemSemanticEditPolicy.java | Java | apache-2.0 | 3,894 |
/*
* Copyright 2011 France Telecom R&D Beijing Co., 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
*
* Unl... | vergnes/spring-social-weibo | src/main/java/org/springframework/social/weibo/api/impl/json/TrendsWrapperMixin.java | Java | apache-2.0 | 1,429 |
package com.example.stackexchange.util;
import java.nio.file.Path;
import java.nio.file.Paths;
public class SiteUtils {
private static String siteName;
public static String getSiteName(String dir) {
if (siteName == null) {
Path path = Paths.get(dir);
Path parent = path.getParent();
Path name = parent.... | timstoner/stackexchangeimporter | src/main/java/com/example/stackexchange/util/SiteUtils.java | Java | apache-2.0 | 504 |
/**
* Copyright 2016 JustWayward Team
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law... | weiwenqiang/GitHub | MVP/BookReader-master/app/src/main/java/com/justwayward/reader/ui/fragment/FindFragment.java | Java | apache-2.0 | 3,463 |
package org.gradle.test.performance.mediummonolithicjavaproject.p281;
public class Production5628 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
... | oehme/analysing-gradle-performance | my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p281/Production5628.java | Java | apache-2.0 | 1,891 |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org)
* Copyright (C) 2011-2012 Eugene Fradkin (eugene.fradkin@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You... | ruspl-afed/dbeaver | plugins/org.jkiss.dbeaver.ext.mysql/src/org/jkiss/dbeaver/ext/mysql/tools/MySQLScriptExecuteWizard.java | Java | apache-2.0 | 3,895 |
/**
* 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... | skekre98/apex-mlhr | library/src/test/java/com/datatorrent/lib/script/JavaScriptOperatorTest.java | Java | apache-2.0 | 2,038 |
package com.baomidou.mybatisplus.test.plugins.paginationInterceptor;
import java.io.Reader;
import java.sql.Connection;
import java.util.List;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.jdbc.ScriptRunner;
import org.apache.ibatis.session.RowBounds;
import org.apache.ibatis.session.SqlSession;
imp... | nobdy/mybatis-plus | mybatis-plus/src/test/java/com/baomidou/mybatisplus/test/plugins/paginationInterceptor/PaginationInterceptorTest.java | Java | apache-2.0 | 3,569 |
package au.com.mountainpass.hyperstate.core;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import org.eclipse.jdt.annotation.Nullable;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.http.MediaType;
import com.fasterxml.jackson.annotation.JsonIgnore;
impo... | mountain-pass/hyperstate | hyperstate-core/src/main/java/au/com/mountainpass/hyperstate/core/Link.java | Java | apache-2.0 | 3,050 |
package com.hyd.redisfx;
import com.hyd.fx.Fxml;
import com.hyd.fx.app.AppLogo;
import com.hyd.fx.app.AppPrimaryStage;
import com.hyd.redisfx.fx.BackgroundExecutor;
import com.hyd.redisfx.i18n.I18n;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Sc... | yiding-he/redisfx | src/main/java/com/hyd/redisfx/RedisFxApp.java | Java | apache-2.0 | 1,099 |
package com.mdelsordo.rate_a_dog.util;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Rect;
import android.net.Uri;
import android.util.Log;
import android.widget.Toast;
import java.io.FileNotFoundException;
import java.io.IOException;
im... | mattdelsordo/Rate-A-Dog | app/src/main/java/com/mdelsordo/rate_a_dog/util/BitmapHelper.java | Java | apache-2.0 | 3,767 |
package net.catchpole.B9.codec.transcoder;
import net.catchpole.B9.codec.stream.BitInputStream;
import net.catchpole.B9.codec.stream.BitOutputStream;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
class MapTranscoder implements TypeTranscoder<Map>, FieldInterceptor<... | slipperyseal/B9 | src/main/java/net/catchpole/B9/codec/transcoder/MapTranscoder.java | Java | apache-2.0 | 1,451 |
package com.riskvis.entity;
// Generated May 12, 2014 11:45:38 PM by Hibernate Tools 4.0.0
import static javax.persistence.GenerationType.IDENTITY;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persi... | machadolucas/watchout | src/main/java/com/riskvis/entity/Transports.java | Java | apache-2.0 | 3,527 |
package jdt.mantis.appmanager;
import org.apache.http.NameValuePair;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.... | sgasiewska/java_dla_testerow | mantis-tests/src/test/java/jdt/mantis/appmanager/HttpSession.java | Java | apache-2.0 | 2,863 |
//: net/mindview/util/Print.java
// Print methods that can be used without
// qualifiers, using Java SE5 static imports:
package tsj.example.java.project.tsj.net.mindview.util;
import java.io.*;
public class Print {
// Print with a newline:
public static void print(Object obj) {
System.out.println(obj);
}
... | taoshujian/exampleJava | src/main/java/tsj/example/java/project/tsj/net/mindview/util/Print.java | Java | apache-2.0 | 683 |
/**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.sys.service.gbj;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.spr... | GSSBuse/GSSB | src/main/java/com/thinkgem/jeesite/modules/sys/service/gbj/GbjUserSoldCommentsReplyService.java | Java | apache-2.0 | 1,961 |
/*
* Copyright 2011-2012 Gregory P. Moyer
*
* 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 applicabl... | syphr42/libmythtv-java | protocol/src/main/java/org/syphr/mythtv/protocol/impl/Command63QueryRemoteEncoderCancelNextRecording.java | Java | apache-2.0 | 1,753 |
/*
* Copyright 2017 StreamSets 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... | kunickiaj/datacollector | hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/HdfsTargetConfigBean.java | Java | apache-2.0 | 33,768 |
/*
* Copyright 2000-2009 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... | jexp/idea2 | platform/lang-impl/src/com/intellij/application/options/colors/OptionsPanelImpl.java | Java | apache-2.0 | 6,502 |
//simple GUI for the Matching program
package compare;
//importing requird libraries
import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JFileChooser;
... | nowshad-sust/ImageMatching-RGB | src/compare/FilePicker.java | Java | apache-2.0 | 2,982 |
/**
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | machado-rev/htmlcoinj | core/src/main/java/com/bushstar/htmlcoinj/jni/NativeWalletEventListener.java | Java | apache-2.0 | 1,933 |
/**
* Copyright 2011 Pedro Ribeiro
*
* 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... | ribeirux/jalphanode | core/src/main/java/org/jalphanode/scheduler/ScheduleIterator.java | Java | apache-2.0 | 1,080 |
/*
* Copyright 2015-2102 RonCoo(http://www.roncoo.com) Group.
*
* 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 req... | roncoo/roncoo-pay | roncoo-pay-service/src/main/java/com/roncoo/pay/reconciliation/service/impl/RpAccountCheckBatchServiceImpl.java | Java | apache-2.0 | 2,174 |
/**
* vertigo - simple java starter
*
* Copyright (C) 2013-2017, KleeGroup, direction.technique@kleegroup.com (http://www.kleegroup.com)
* KleeGroup, Centre d'affaire la Boursidiere - BP 159 - 92357 Le Plessis Robinson Cedex - France
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may n... | KleeGroup/vertigo-quarto | vertigo-quarto-api/src/main/java/io/vertigo/quarto/publisher/PublisherManager.java | Java | apache-2.0 | 1,636 |
/*
Copyright 2014-2016 Intel Corporation
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, s... | multi-os-engine/moe-core | moe.apple/moe.platform.ios/src/main/java/apple/homekit/HMHomeManager.java | Java | apache-2.0 | 9,411 |
/*
* 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 ... | actuaryzhang/spark | common/network-shuffle/src/main/java/org/apache/spark/network/shuffle/ExternalShuffleClient.java | Java | apache-2.0 | 7,360 |
/*
* *************************************************************************************************
* Copyright 2016 Universum Studios
* *************************************************************************************************
* Licensed under the Apache L... | universum-studios/android_fragments | library-base/src/test/java/universum/studios/android/fragment/annotation/handler/BaseAnnotationHandlersTest.java | Java | apache-2.0 | 2,753 |
package com.github.davidmoten.rtree;
import static com.github.davidmoten.rtree.geometry.Geometries.rectangle;
import static java.util.Optional.of;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Optional;
import com.github.davidmoten.guav... | davidmoten/rtree | src/main/java/com/github/davidmoten/rtree/RTree.java | Java | apache-2.0 | 34,613 |
/* 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... | stephraleigh/flowable-engine | modules/flowable-dmn-engine/src/main/java/org/flowable/dmn/engine/impl/cmd/ExecuteDecisionWithAuditTrailCmd.java | Java | apache-2.0 | 2,903 |
/*
* Copyright 2016 The OpenDCT 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... | enternoescape/opendct | src/main/java/opendct/tuning/discovery/DiscoveredDeviceParent.java | Java | apache-2.0 | 2,882 |
/*
* Copyright 2016 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... | vam-google/google-cloud-java | google-cloud-clients/google-cloud-dns/src/test/java/com/google/cloud/dns/it/ITDnsTest.java | Java | apache-2.0 | 88,484 |
/*
* 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 ... | taegeonum/incubator-reef | lang/java/reef-io/src/main/java/org/apache/reef/io/network/group/impl/driver/TopologyUpdateWaitHandler.java | Java | apache-2.0 | 4,136 |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-2 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// �nderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2014.02.19... | milg0/onvif-java-lib | src/org/onvif/ver10/media/wsdl/CreateProfile.java | Java | apache-2.0 | 2,297 |
import java.util.Scanner;
/**
* @author Oleg Cherednik
* @since 04.08.2018
*/
public class Solution {
static class SinglyLinkedListNode {
public int data;
public SinglyLinkedListNode next;
public SinglyLinkedListNode(int nodeData) {
this.data = nodeData;
this.n... | oleg-cherednik/hackerrank | Tutorials/Interview Preparation Kit/Linked Lists/Find Merge Point of Two Lists/Solution.java | Java | apache-2.0 | 3,072 |
package com.myit.server.service.admin.impl;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.myit.common.beans.PageQueryParam;
impo... | 346674058/SuRui | code/myit-server/src/main/java/com/myit/server/service/admin/impl/MenuServiceImpl.java | Java | apache-2.0 | 4,661 |
/*
* Copyright (C) 2016 Intel Corporation
*
* 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... | android-art-intel/Nougat | art-extension/opttests/src/OptimizationTests/ShortMethodsInliningNonVirtualInvokes/InvokeSuperAObjectThrowNullGet_001/Test.java | Java | apache-2.0 | 1,106 |
/**
* Copyright 2004-2014 The Kuali Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl2.php
*
* Unless required by a... | kuali/kpme | pm/impl/src/test/java/org/kuali/kpme/pm/position/PositionBoTest.java | Java | apache-2.0 | 8,006 |
/*******************************************************************************
* Copyright 2012 Sevket Seref Arikan, David Ingram
*
* 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
*
... | josealmeida/opereffa | Opereffa/src/uk/ac/ucl/chime/web/RandomGroupIdAdapter.java | Java | apache-2.0 | 2,256 |
/*
* Copyright 2015 Jerom van der Sar.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | Pravian/LALParser | src/test/java/net/pravian/lalparser/LALFileTest.java | Java | apache-2.0 | 2,524 |
/*
* Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.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
... | nengxu/OrientDB | core/src/main/java/com/orientechnologies/orient/core/version/ODistributedVersion.java | Java | apache-2.0 | 12,956 |
package com.latte.ui.recycler;
/**
* Created by Administrator on 2017/9/18 0018.
*/
public enum MultipleFields {
ITEM_TYPE,
TITLE,
TEXT,
IMAGE_URL,
BANNERS,
SPAN_SIZE,
ID,
NAME,
TAG
}
| xiao125/LatteDamo | latte-ui/src/main/java/com/latte/ui/recycler/MultipleFields.java | Java | apache-2.0 | 225 |
package com.xhuihui.app.json;
/**
* Created by lihuiguang on 2017/7/13.
*/
public class json {
}
| x-huihui/x-huihui.github.io | src/main/java/com/xhuihui/app/json/json.java | Java | apache-2.0 | 100 |
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the sour... | floodlight/loxigen-artifacts | openflowj/gen-src/main/java/org/projectfloodlight/openflow/protocol/oxm/OFOxmBsnInPorts128.java | Java | apache-2.0 | 2,170 |
package com.smates.dbc2.utils;
/**
* 参数
* @author 刘晓庆
*
*/
public class SysConst {
//md5加密时用到的盐值
public static final String SALTSOURCE = "baijw";
//七牛云外连接域名
public static final String QNIUYUNURL = "http://ohyi4k153.bkt.clouddn.com/";
//七牛云图片处理样式
public static final String QNIUYUNSTYLE = ... | MarchMachao/ZHFS-WEB | src/main/java/com/smates/dbc2/utils/SysConst.java | Java | apache-2.0 | 573 |
package ca.corefacility.bioinformatics.irida.ria.web.services;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Set;
import java.util.stream.Collectors;
import javax.validation.ConstraintViolationException;
import org.apache.commons.lang3.RandomStringUtils;
import org.spring... | phac-nml/irida | src/main/java/ca/corefacility/bioinformatics/irida/ria/web/services/UIClientService.java | Java | apache-2.0 | 7,213 |
/*
* 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")... | sarvex/MINA | core/src/main/java/org/apache/mina/common/ThreadModel.java | Java | apache-2.0 | 1,632 |
/*
* Copyright 2014-2019 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 "licen... | jentfoo/aws-sdk-java | aws-java-sdk-managedblockchain/src/main/java/com/amazonaws/services/managedblockchain/model/transform/DeleteMemberRequestProtocolMarshaller.java | Java | apache-2.0 | 2,674 |
package com.googlecode.blaisemath.graph.test;
/*
* #%L
* BlaiseGraphTheory
* --
* Copyright (C) 2009 - 2021 Elisha Peterson
* --
* 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
*
* ... | triathematician/blaisemath | blaise-graph-theory-ui/src/test/java/com/googlecode/blaisemath/graph/test/DynamicGraphTestFrame.java | Java | apache-2.0 | 14,531 |
package com.github.christianfranco.geomatch.exception;
import com.github.christianfranco.geomatch.entities.ErrorCode;
/**
* Created by Christian Franco on 12/12/2016 14:03.
*/
public class PhoneNumberRepositoryException extends GeoMathException {
public PhoneNumberRepositoryException(ErrorCode errorCode... | christianfranco/the-clean-code-bay | geo-match/server/core/src/main/java/com/github/christianfranco/geomatch/exception/PhoneNumberRepositoryException.java | Java | apache-2.0 | 498 |
package com.ts.util.doctor;
import java.util.HashMap;
import java.util.Map;
public class DoctorConst {
public static Map<String,String> rstypeMap = new HashMap<String,String>();
static{
rstypeMap.put("diaginfo","禁");
rstypeMap.put("dosage","法");
rstypeMap.put("ingredien","重");
rstypeMap.put("int... | ljcservice/autumnprogram | src/main/java/com/ts/util/doctor/DoctorConst.java | Java | apache-2.0 | 1,159 |
/*-
* <<
* UAVStack
* ==
* Copyright (C) 2016 - 2017 UAVStack
* ==
* 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 r... | xxxllluuu/uavstack | com.creditease.uav.agent.heartbeat/src/main/java/com/creditease/agent/feature/hbagent/HeartBeatQueryListenWorker.java | Java | apache-2.0 | 1,807 |
/*
* Code contributed to the Learning Layers project
* http://www.learning-layers.eu
* Development is partly funded by the FP7 Programme of the European
* Commission under Grant Agreement FP7-ICT-318209.
* Copyright (c) 2016, Karlsruhe University of Applied Sciences.
* For a list of contributors see the AUT... | learning-layers/LivingDocumentsServer | ld-etherpad/src/main/java/de/hska/ld/etherpad/service/UserEtherpadInfoService.java | Java | apache-2.0 | 1,589 |
/*
* Copyright 2017 StreamSets 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... | z123/datacollector | container/src/main/java/com/streamsets/datacollector/config/ModelDefinition.java | Java | apache-2.0 | 3,255 |
package any.ejbtest;
import com.dms.Discriminated;
import java.util.List;
/**
* MoviesImplEjb, 02.03.2015
*
* Copyright (c) 2014 Marius Dinu. All rights reserved.
*
* @author mdinu
* @version $Id$
*/
//@Named
@Discriminated(isResultAggregated = true)
public class MoviesImplWrapper implements Movies {
pri... | dmarius99/ImplementationDiscriminator | src/test/java/any/ejbtest/MoviesImplWrapper.java | Java | apache-2.0 | 826 |
/***
*
* Copyright 2014 Andrew Hall
*
* 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... | statefulj/statefulj | statefulj-persistence/statefulj-persistence-jpa/src/test/java/org/statefulj/persistence/jpa/embedded/EmbeddedJPAPersisterTest.java | Java | apache-2.0 | 4,425 |
/*
* Copyright © 2009 HotPads (admin@hotpads.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
*
* Unless required by applicable... | hotpads/datarouter | datarouter-mysql/src/main/java/io/datarouter/client/mysql/ddl/domain/SqlIndex.java | Java | apache-2.0 | 1,493 |
/**
*/
package CIM15.IEC61970.Wires;
import CIM15.IEC61970.Core.IdentifiedObject;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.em... | SES-fortiss/SmartGridCoSimulation | core/cim15/src/CIM15/IEC61970/Wires/PerLengthPhaseImpedance.java | Java | apache-2.0 | 10,430 |
package uk.co.ourfriendirony.medianotifier.clients.tmdb.movie.get;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotatio... | OurFriendIrony/MediaNotifier | app/src/main/java/uk/co/ourfriendirony/medianotifier/clients/tmdb/movie/get/MovieGet.java | Java | apache-2.0 | 11,616 |
// file ExampleInventoryRead
// $Id: ExampleInventoryRead.java,v 1.10 2009/01/09 22:10:13 mark Exp $
package je.gettingStarted;
import java.io.File;
import java.io.IOException;
import com.sleepycat.bind.EntryBinding;
import com.sleepycat.bind.serial.SerialBinding;
import com.sleepycat.bind.tuple.TupleBinding;
import... | bjorndm/prebake | code/third_party/bdb/examples/je/gettingStarted/ExampleInventoryRead.java | Java | apache-2.0 | 7,325 |
/*
* 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
* distrib... | markhobson/contacts | client/src/main/java/org/hobsoft/contacts/client/contact/ContactDeleteDriver.java | Java | apache-2.0 | 2,326 |
/*
* Copyright 2015 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | etirelli/droolsjbpm-integration | kie-server-parent/kie-server-tests/kie-server-integ-tests-optaplanner/src/test/java/org/kie/server/integrationtests/optaplanner/OptaplannerIntegrationTest.java | Java | apache-2.0 | 30,201 |
/*
* Copyright 2016 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 ... | qweek/rsocket-java | rsocket-transport-local/src/main/java/io/rsocket/transport/local/LocalUriHandler.java | Java | apache-2.0 | 1,377 |
/*
* Copyright 2010-2021 James Pether Sörling
*
* 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 o... | Hack23/cia | citizen-intelligence-agency/src/test/java/com/hack23/cia/systemintegrationtest/ChartTest.java | Java | apache-2.0 | 3,413 |
package es.josealmela.BasicMathCalculator.client;
import com.google.gwt.user.client.rpc.AsyncCallback;
/**
* The async counterpart of <code>convertNumberService</code>.
*/
public interface ConverNumberServiceAsync {
void convertNumbertServer(String input, AsyncCallback<String> callback)
throws IllegalArgume... | jalmela/BasicMathCalculator | BasicMathCalculator/src/es/josealmela/BasicMathCalculator/client/ConverNumberServiceAsync.java | Java | apache-2.0 | 335 |
package org.dfhu.thpwa.routing;
abstract class RouteAdder<T extends Route> {
/**
* Get the url pattern for this route
*/
protected abstract String getPath();
/**
* get the HTTP request method
*/
protected abstract Route.METHOD getMethod();
public void doGet(RouteAdder<T> routeAdder) {
Halti... | Victory/TreasureHuntPWA | backspark/src/main/java/org/dfhu/thpwa/routing/RouteAdder.java | Java | apache-2.0 | 730 |
package com.github.takezoe.xlsbeans;
import com.github.takezoe.xlsbeans.annotation.Column;
import com.github.takezoe.xlsbeans.annotation.MapColumns;
import java.util.Map;
public class LanguageIDE {
private String name;
private Map<String, String> attributes;
public Map<String, String> getAttribut... | takezoe/xlsbeans | src/test/java/com/github/takezoe/xlsbeans/LanguageIDE.java | Java | apache-2.0 | 665 |
package com.ironz.binaryprefs;
import com.ironz.binaryprefs.cache.candidates.CacheCandidateProvider;
import com.ironz.binaryprefs.cache.provider.CacheProvider;
import com.ironz.binaryprefs.event.EventBridge;
import com.ironz.binaryprefs.exception.TransactionInvalidatedException;
import com.ironz.binaryprefs.file.trans... | iamironz/binaryprefs | library/src/main/java/com/ironz/binaryprefs/BinaryPreferencesEditor.java | Java | apache-2.0 | 10,537 |
package org.jrenner.fps.utils;
import com.badlogic.gdx.utils.Array;
import org.jrenner.fps.Log;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.zip.GZIPInputStream;
import java.util.zip.GZIPOutputStream;
pub... | jrenner/gdx-proto | core/src/org/jrenner/fps/utils/Compression.java | Java | apache-2.0 | 1,974 |
package demo.hashing;
import java.nio.ByteBuffer;
public class CassandraHash {
private static long getblock(ByteBuffer key, int offset, int index) {
int i_8 = index << 3;
return ((long) key.get(offset + i_8 + 0) & 0xff) + (((long) key.get(offset + i_8 + 1) & 0xff) << 8) +
(((long) key.get(offset + i_... | haghard/docker-compose-akka-cluster | src/main/scala/demo/hashing/CassandraHash.java | Java | apache-2.0 | 4,268 |
/*
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.pricer.swaption;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.ZonedDateTime;
import java.util.Map;
import java.util.NoSuchEl... | OpenGamma/Strata | modules/pricer/src/main/java/com/opengamma/strata/pricer/swaption/NormalSwaptionExpiryStrikeVolatilities.java | Java | apache-2.0 | 19,774 |
// Start of user code Copyright
/*******************************************************************************
* Copyright (c) 2012 IBM Corporation and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclips... | EricssonResearch/scott-eu | lyo-services/domain-pddl/src/main/java/eu/scott/warehouse/domains/pddl/IStep.java | Java | apache-2.0 | 5,144 |
package com.nes.processor;
import com.nes.NesAbstractTst;
import org.junit.Test;
/**
*
* @author Dmitry
*/
public class SbcTest extends NesAbstractTst {
@Test
public void testSbc() {
String[] lines;
lines = new String[]{
"clc",
"lda #$50",
... | Otaka/mydifferentprojects | nes-java/test/com/nes/processor/SbcTest.java | Java | apache-2.0 | 1,413 |