repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
blindio/Prospero | java/core/io/github/blindio/prospero/core/elements/ClickableElement.java | 1232 | /*******************************************************************************
* Copyright 2014 S. Thorson Little
*
* 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.a... | apache-2.0 |
HubSpot/jinjava | src/test/java/com/hubspot/jinjava/interpret/VariableFunctionTest.java | 2108 | /**
* 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 ... | apache-2.0 |
yntelectual/nlighten | nlighten-backend/src/main/java/me/nlighten/backend/websocket/MessageDecoder.java | 717 | package me.nlighten.backend.websocket;
import javax.websocket.DecodeException;
import javax.websocket.Decoder;
import javax.websocket.EndpointConfig;
import com.google.gson.Gson;
/**
* The Class MessageDecoder.
*
* @author Lubo
*/
public class MessageDecoder implements Decoder.Text<Message> {
private static ... | apache-2.0 |
multi-os-engine/moe-core | moe.apple/moe.platform.ios/src/main/java/apple/uikit/protocol/UISearchResultsUpdating.java | 1321 | /*
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... | apache-2.0 |
aminmf/crawljax | examples/src/test/java/com/crawljax/plugins/testilizer/generated/claroline_INIT/GeneratedTestCase39.java | 17725 | package com.crawljax.plugins.testilizer.generated.claroline_INIT;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import org.junit.*;
import static org.junit.Assert.*;
import org.openqa.selenium.*;
im... | apache-2.0 |
Clydeside/ALipatov | chapter_002/src/test/java/ru/job4j/tracker/StubInputTest.java | 2588 | package ru.job4j.tracker;
import org.junit.Test;
import java.util.ArrayList;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.core.IsNull.nullValue;
import static org.junit.Assert.assertThat;
public class StubInputTest {
@Test
public void addTest() {
Tracker tracker = new Tracker();... | apache-2.0 |
Sellegit/j2objc | runtime/src/main/java/apple/coreanimation/CAEmitterCell.java | 7873 | package apple.coreanimation;
import java.io.*;
import java.nio.*;
import java.util.*;
import com.google.j2objc.annotations.*;
import com.google.j2objc.runtime.*;
import com.google.j2objc.runtime.block.*;
import apple.audiotoolbox.*;
import apple.corefoundation.*;
import apple.coregraphics.*;
import apple.coreservices... | apache-2.0 |
charles-cooper/idylfin | src/com/opengamma/analytics/financial/credit/RestructuringClause.java | 645 | /**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.credit;
/**
* The restructuring clause to apply in the event of a credit event deemed to be a restructuring
*/
public enum Restructuring... | apache-2.0 |
maximus0/RocketMQ | rocketmq-tools/src/main/java/com/alibaba/rocketmq/tools/command/consumer/ConsumerStatusSubCommand.java | 6137 | /**
* Copyright (C) 2010-2013 Alibaba Group Holding Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | apache-2.0 |
carewebframework/carewebframework-core | org.carewebframework.ui-parent/org.carewebframework.ui.core/src/main/java/org/carewebframework/ui/session/SessionControl.java | 1239 | package org.carewebframework.ui.session;
/**
* Events used to control session state via administrator functions.
*/
public enum SessionControl {
SHUTDOWN_START, SHUTDOWN_ABORT, SHUTDOWN_PROGRESS, LOCK;
public static final String EVENT_ROOT = "SESSION_CONTROL";
private static final String EVENT... | apache-2.0 |
herickson/terremark-api | src/main/java/com/terremark/api/ComputePoolPerformanceStatistics.java | 2447 |
package com.terremark.api;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for ComputePoolPerformanceStatistics complex type.
*
* <p>The following schema f... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/transform/InstanceConfigurationJsonUnmarshaller.java | 3198 | /*
* Copyright 2017-2022 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... | apache-2.0 |
mvp4g/mvp4g | src/test/java/com/google/gwt/dev/javac/typemodel/StubClassType.java | 6796 | /*
* Copyright (c) 2009 - 2017 - Pierre-Laurent Coirer, Frank Hossfeld
*
* 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... | apache-2.0 |
seasarorg/s2dao | s2-dao/src/test/java/org/seasar/dao/pager/EmployeeDao.java | 929 | /*
* Copyright 2004-2011 the Seasar Foundation and the Others.
*
* 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 ... | apache-2.0 |
mkoslacz/Moviper | moviper-databinding-viewstate/src/main/java/com/mateuszkoslacz/moviper/base/view/fragment/autoinject/databinding/ViperDataBindingLceViewStateFragment.java | 1488 | package com.mateuszkoslacz.moviper.base.view.fragment.autoinject.databinding;
import android.databinding.DataBindingUtil;
import android.databinding.ViewDataBinding;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.V... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ResetEbsDefaultKmsKeyIdRequest.java | 2694 | /*
* 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... | apache-2.0 |
laurar07/onMy6 | android/app/src/main/java/com/nativestarterkit/MainActivity.java | 478 | package com.nativestarterkit;
import com.facebook.react.ReactActivity;
import com.oblador.vectoricons.VectorIconsPackage;
import com.airbnb.android.react.maps.MapsPackage;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript.
* This i... | apache-2.0 |
consulo/consulo | modules/desktop-awt/desktop-ui-laf-impl/src/main/java/consulo/desktop/ui/laf/idea/darcula/DarculaJBPopupComboPopup.java | 9105 | // Copyright 2000-2019 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 consulo.desktop.ui.laf.idea.darcula;
import com.intellij.ide.DataManager;
import com.intellij.openapi.actionSystem.CommonDataKeys;
import com.intellij.openapi.project.Pro... | apache-2.0 |
java110/MicroCommunity | service-api/src/main/java/com/java110/api/listener/machineTranslate/UpdateMachineTranslateListener.java | 2110 | package com.java110.api.listener.machineTranslate;
import com.alibaba.fastjson.JSONObject;
import com.java110.api.bmo.machineTranslate.IMachineTranslateBMO;
import com.java110.api.listener.AbstractServiceApiPlusListener;
import com.java110.core.annotation.Java110Listener;
import com.java110.core.context.DataFlowContex... | apache-2.0 |
mtenrero/vetManager | src/main/java/es/urjc/etsii/mtenrero/Entities/User.java | 1416 | package es.urjc.etsii.mtenrero.Entities;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import javax.persistence.*;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* Created by was12 on 14/03/2017.
*/
@MappedSuperclass
public ... | apache-2.0 |
josueeduardo/snappy | plugin/snappy-loader/src/main/java/io/joshworks/snappy/loader/WarLauncher.java | 2004 | /*
* Copyright 2012-2013 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... | apache-2.0 |
jamiemccrindle/bpmscript | bpmscript-core/src/main/java/org/bpmscript/exec/INextMessage.java | 1230 | /*
* 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-2.0 |
wxb2939/rwxlicai | mzb-phone-app-android/mzbemployeeapp/src/main/java/com/xem/mzbemployeeapp/activity/E3_Add137ManagerAty.java | 9495 | package com.xem.mzbemployeeapp.activity;
import android.app.AlertDialog;
import android.app.DatePickerDialog;
import android.app.Dialog;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.view.View;
import android.widget.Button;
import android.... | apache-2.0 |
gustavoanatoly/hbase | hbase-client/src/main/java/org/apache/hadoop/hbase/client/RequestControllerFactory.java | 1793 | /*
*
* 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"); y... | apache-2.0 |
tranquang9a1/ECRM | App/ECRM/src/main/java/com/ecrm/Entity/TblReportDetailEntity.java | 5502 | package com.ecrm.Entity;
import javax.persistence.*;
import java.sql.Timestamp;
/**
* Created by Htang on 6/5/2015.
*/
@Entity
@Table(name = "tblReportDetail")
@IdClass(TblReportDetailEntityPK.class)
public class TblReportDetailEntity {
private int equipmentId;
private int reportId;
privat... | apache-2.0 |
abdelrahmanbadawy/Cassandra-VMS | src/java/client/client/Experiment3_agg.java | 8369 | package client.client;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Random;
public class Experiment3_agg {
/*static ArrayList<String> faculty = new ArrayList<String>(
Arrays.asList("Informatics", "Bioinformatics","BWL","Biology","Den... | apache-2.0 |
rpudil/midpoint | testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/TestRestService.java | 32170 | /*
* Copyright (c) 2013-2015 Evolveum
*
* 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... | apache-2.0 |
denisneuling/cctrl.jar | cctrl-api/src/main/java/com/cloudcontrolled/api/response/normalize/ListDeploymentNormalizer.java | 1275 | /*
* Copyright 2012 Denis Neuling
*
* 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 ... | apache-2.0 |
JoeSteven/HuaBan | app/src/main/java/com/joe/zatuji/api/BmobService.java | 4319 | package com.joe.zatuji.api;
import com.google.gson.JsonElement;
import com.joe.zatuji.repo.bean.BaseBmobBean;
import com.joe.zatuji.repo.bean.BaseListBean;
import com.joe.zatuji.repo.bean.BmobFile;
import com.joe.zatuji.repo.bean.UpdateBean;
import com.joe.zatuji.repo.bean.User;
import com.joe.zatuji.repo.bean.request... | apache-2.0 |
ZhenchaoWang/passport-oauth | oauth-dal/src/main/java/org/zhenchao/oauth/dao/AuthorizeRelationMapper.java | 801 | package org.zhenchao.oauth.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.zhenchao.oauth.entity.AuthorizeRelation;
import org.zhenchao.oauth.entity.AuthorizeRelationExample;
public interface AuthorizeRelationMapper {
long countByExample(AuthorizeRelationExample example);
i... | apache-2.0 |
dave-tucker/intellij-yang | gen/com/intellij/lang/psi/impl/YangLeafStmtImpl.java | 3407 | /*
* Copyright 2014 Red Hat, 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... | apache-2.0 |
simararneja/phoenix | phoenix-pherf/src/main/java/org/apache/phoenix/pherf/workload/QueryExecutor.java | 7907 | /*
* 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
* "Licen... | apache-2.0 |
MaDaPHaKa/Orient-object | server/src/main/java/com/orientechnologies/orient/server/replication/conflict/OReplicationConflictException.java | 2572 | /*
* Copyright 1999-2010 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
... | apache-2.0 |
spotify/heroic | heroic-component/src/main/java/com/spotify/heroic/metric/RequestError.java | 1323 | /*
* Copyright (c) 2015 Spotify AB.
*
* 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,... | apache-2.0 |
scalingdata/Impala | thirdparty/hive-1.2.1.2.3.0.0-2557/src/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java | 268414 | /**
* 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... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-wafv2/src/main/java/com/amazonaws/services/wafv2/model/transform/TextTransformationMarshaller.java | 2268 | /*
* Copyright 2017-2022 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... | apache-2.0 |
byktol/jcr-qb | src/main/java/com/byktol/jcr/qb/criteria/impl/CriteriaImpl.java | 5316 | /*
* 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... | apache-2.0 |
tractionsoftware/gwt-traction | src-demo/com/tractionsoftware/gwt/demo/opacity/client/OpacityDemo.java | 2606 | /*
* Copyright 2010 Traction Software, 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... | apache-2.0 |
UCLA-BD2K/aztec-text-analysis-tools | src/main/java/edu/ucla/cs/scai/aztec/summarization/RankedString.java | 1493 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package edu.ucla.cs.scai.aztec.summarization;
import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
i... | apache-2.0 |
treejames/AcFun-Area63 | app/src/tv/acfun/a63/CommentsActivity.java | 29918 | /*
* Copyright (C) 2013 YROM.NET
*
* 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... | apache-2.0 |
sdole/aws-sdk-java | aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/EnabledMetric.java | 11146 | /*
* Copyright 2010-2015 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... | apache-2.0 |
ytxhao/ytxplayer | YtxPlayer/app/src/main/java/com/ytx/ican/media/player/render/GraphicGLSurfaceView.java | 15017 | package com.ytx.ican.media.player.render;
import android.app.ActivityManager;
import android.content.Context;
import android.content.pm.ConfigurationInfo;
import android.graphics.PixelFormat;
import android.opengl.GLSurfaceView;
import android.support.annotation.NonNull;
import android.util.AttributeSet;
import andro... | apache-2.0 |
tita/tita | tita-entity/src/main/java/at/ac/tuwien/ifs/tita/entity/interfaces/ITimedBase.java | 1464 | /**
Copyright 2009 TiTA Project, Vienna University of Technology
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... | apache-2.0 |
nextreports/nextreports-server | src/ro/nextreports/server/web/common/table/SortableDataAdapter.java | 3262 | /*
* 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-2.0 |
lmjacksoniii/hazelcast | hazelcast/src/main/java/com/hazelcast/map/impl/query/QueryEventFilter.java | 2805 | /*
* Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | apache-2.0 |
google/fest | third_party/fest-swing/src/test/java/org/fest/swing/fixture/AbstractContainerFixture_tree_Test.java | 3879 | /*
* Created on Jun 7, 2009
*
* 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,... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-lexruntimev2/src/main/java/com/amazonaws/services/lexruntimev2/model/transform/ConflictExceptionUnmarshaller.java | 2793 | /*
* Copyright 2017-2022 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... | apache-2.0 |
leiyong0326/phone | phone-common/src/main/java/com/ly/base/common/util/MyBatisUtil.java | 4191 | package com.ly.base.common.util;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.springframework.util.ReflectionUtils.FieldCallback;
import org.springframework.util.ReflectionUtil... | apache-2.0 |
aspnet/AspNetCore | src/SignalR/clients/java/signalr/core/src/main/java/com/microsoft/signalr/InvocationMessage.java | 1445 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
package com.microsoft.signalr;
import java.util.Collection;
import java.util.Map;
public class InvocationMessage extends HubMessage {
int type = HubMessageType.INVOCATION.value... | apache-2.0 |
paulopwm/Joomla-Day-Brasil-2011 | APP/src/com/JoomlaDay/Internet.java | 8186 | package com.JoomlaDay;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
import java.sql.Date;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.HashMap;
import ... | apache-2.0 |
jjj117/airavata | modules/test-suite/multi-tenanted-airavata/src/main/java/org/apache/airavata/testsuite/multitenantedairavata/ApplicationRegister.java | 26525 | /*
*
* 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"); y... | apache-2.0 |
hello/android-buruberi | buruberi-core/src/main/java/is/hello/buruberi/bluetooth/stacks/android/ScannedPeripheral.java | 2221 | /*
* Copyright 2015 Hello 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 in... | apache-2.0 |
asakusafw/asakusafw | testing-project/asakusa-test-data-provider/src/main/java/com/asakusafw/testdriver/excel/Util.java | 6127 | /**
* Copyright 2011-2021 Asakusa Framework 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 by applicable... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/transform/SecurityContextJsonUnmarshaller.java | 2745 | /*
* Copyright 2017-2022 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... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-mediastore/src/main/java/com/amazonaws/services/mediastore/model/TagResourceRequest.java | 10278 | /*
* Copyright 2017-2022 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... | apache-2.0 |
sibvisions/DropboxStorage | src/com/sibvisions/apps/persist/DropboxStorage.java | 31150 | /*
* Copyright 2014 SIB Visions 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 ... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-core/src/test/java/com/amazonaws/retry/v2/FixedDelayBackoffStrategyTest.java | 1266 | /*
* Copyright 2011-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 "lice... | apache-2.0 |
jdgwartney/vsphere-ws | java/JAXWS/samples/com/vmware/vim25/RemoveDatastoreRequestType.java | 2313 |
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for RemoveDatastoreRequestType complex type.
*
* <p>The following sch... | apache-2.0 |
JulienDeray/sweep_algorythm | src/fr/emn/fil/model/Constraint.java | 2407 | /**
* Contraintes, zones (délimitées en abcisse et ordonnée) où placer des rectangles de largeur width et de hauteur height.
*
* Created with IntelliJ IDEA.
* Autor: julienderay
* Company : SERLI
* Date: 13/10/14
* Time: 08:56
*/
package fr.emn.fil.model;
public class Constraint {
//Arguments
private ... | apache-2.0 |
arundh93/twu-biblioteca-arundhingra | test/com/twu/biblioteca/menu/CheckOutTest.java | 909 | package com.twu.biblioteca.menu;
import com.twu.biblioteca.model.Library;
import com.twu.biblioteca.model.Login;
import com.twu.biblioteca.view.*;
import org.junit.Test;
import org.mockito.Mockito;
public class CheckOutTest {
@Test
public void checkOutCommandCanCheckOutBook() {
Library bookLibrary =... | apache-2.0 |
NationalSecurityAgency/ghidra | Ghidra/Framework/Project/src/main/java/ghidra/project/test/TestProjectManager.java | 1408 | /* ###
* IP: GHIDRA
*
* 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 writin... | apache-2.0 |
NationalSecurityAgency/ghidra | Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/Assembler.java | 9233 | /* ###
* IP: GHIDRA
*
* 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 writin... | apache-2.0 |
KeyBridge/lib-openssrf | src/main/java/us/gov/dod/standard/ssrf/_3_1/metadata/domains/dBWHz.java | 4182 | /*
* Copyright 2015 Key Bridge 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 agree... | apache-2.0 |
Jonsnow21/Sunshine | app/src/androidTest/java/com/example/android/sunshine/app/data/TestDb.java | 9759 | /*
* Copyright (C) 2014 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... | apache-2.0 |
olamy/maven | maven-model-builder/src/test/java/org/apache/maven/model/path/DefaultUrlNormalizerTest.java | 2913 | package org.apache.maven.model.path;
/*
* 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... | apache-2.0 |
riengcs/zk-tutorial | src/main/java/com/zk/tutorial/component/panel/package-info.java | 70 | /**
* @author csrieng
*
*/
package com.zk.tutorial.component.panel; | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-directory/src/main/java/com/amazonaws/services/directory/model/transform/RejectSharedDirectoryResultJsonUnmarshaller.java | 2925 | /*
* 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... | apache-2.0 |
baade-org/eel | eel-orm/src/main/java/org/baade/ell/orm/Entity.java | 371 | package org.baade.ell.orm;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Created by zz on 2017/5/27.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
public @interface Entity ... | apache-2.0 |
noemus/kotlin-eclipse | kotlin-eclipse-ui/src/org/jetbrains/kotlin/ui/editors/selection/KotlinSelectPreviousAction.java | 1589 | package org.jetbrains.kotlin.ui.editors.selection;
import org.eclipse.jdt.internal.ui.javaeditor.selectionactions.SelectionHistory;
import org.eclipse.jdt.ui.actions.IJavaEditorActionDefinitionIds;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.kotlin.ui.editors.KotlinEditor;
import org.jetbrains.kotli... | apache-2.0 |
shakamunyi/drill | exec/java-exec/src/main/java/org/apache/drill/exec/store/VectorHolder.java | 3259 | /**
* 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... | apache-2.0 |
Whitespell/java-server-sdk | src/whitespell/net/websockets/socketio/transport/XHRPollingTransport.java | 9514 | /**
* Copyright 2012 Nikita Koksharov
*
* 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 agree... | apache-2.0 |
rbygrave/avaje-counter | src/main/java/org/avaje/counter/ValueCounter.java | 1825 | package org.avaje.counter;
import java.util.concurrent.atomic.AtomicLong;
import org.avaje.counter.jsr166e.LongAdder;
/**
* Used to collect timed execution statistics.
* <p>
* It is intended for high concurrent updates to the statistics and relatively infrequent reads.
* </p>
*/
public class ValueCounter {
p... | apache-2.0 |
Chicago/opengrid-svc-template | opengridservice/src/main/java/org/opengrid/data/ListOfValuesDataProvider.java | 1759 | package org.opengrid.data;
import java.util.ArrayList;
import java.util.List;
import org.bson.Document;
import org.opengrid.constants.DB;
import org.opengrid.constants.Exceptions;
import org.opengrid.exception.ServiceException;
import org.opengrid.util.ExceptionUtil;
import com.mongodb.BasicDBObject;
import com.mong... | apache-2.0 |
Syncleus/aparapi | src/test/java/com/aparapi/codegen/test/CallStaticInAnotherClass.java | 1602 | /**
* Copyright (c) 2016 - 2018 Syncleus, 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 la... | apache-2.0 |
nate-rcl/irplus | ir_web/src/edu/ur/ir/web/util/InstitutionalCollectionPermissionHelper.java | 1352 | package edu.ur.ir.web.util;
import java.util.List;
import edu.ur.ir.institution.InstitutionalCollectionSecurityService;
import edu.ur.ir.institution.InstitutionalItem;
import edu.ur.ir.institution.InstitutionalItemService;
import edu.ur.ir.user.IrUser;
public class InstitutionalCollectionPermissionHelper {
priva... | apache-2.0 |
google/intellij-protocol-buffer-editor | python/src/main/java/com/google/devtools/intellij/protoeditor/python/PbPythonGotoDeclarationHandler.java | 5499 | /*
* Copyright 2019 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 ... | apache-2.0 |
raulpiiber/j-road | client-transport/src/main/java/com/nortal/jroad/client/service/callback/XRoadProtocolNamespaceStrategyV4.java | 4701 | package com.nortal.jroad.client.service.callback;
import javax.xml.soap.SOAPElement;
import javax.xml.soap.SOAPEnvelope;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPHeader;
import org.apache.commons.lang.StringUtils;
import com.nortal.jroad.client.enums.XroadObjectType;
import com.nortal.jroad.cli... | apache-2.0 |
ruspl-afed/dbeaver | plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/registry/driver/DriverLibraryLocal.java | 4995 | /*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2017 Serge Rider (serge@jkiss.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://www.apache.org... | apache-2.0 |
mp911de/lettuce | src/test/java/io/lettuce/core/commands/reactive/KeyReactiveCommandIntegrationTests.java | 1148 | /*
* Copyright 2011-2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | apache-2.0 |
dturanski/spring-cloud-stream | spring-cloud-stream/src/main/java/org/springframework/cloud/stream/config/MergableProperties.java | 3343 | /*
* Copyright 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 applica... | apache-2.0 |
Cognifide/AET | core/worker/src/main/java/com/cognifide/aet/worker/drivers/firefox/FirefoxCommunicationWrapperImpl.java | 2733 | /**
* AET
*
* Copyright (C) 2013 Cognifide Limited
*
* 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... | apache-2.0 |
kmadiwale/companySearchAPI | src/main/java/com/abc/rest/dao/oc/CSearch.java | 853 | /**
*
*/
package com.abc.rest.dao.oc;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author kmadiwal
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class CSearch implements Serializable {
private... | apache-2.0 |
consulo/consulo-rust | gen/vektah/rust/psi/RustExprAssignMultiply.java | 290 | // This is a generated file. Not intended for manual editing.
package vektah.rust.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface RustExprAssignMultiply extends RustExpr {
@NotNull
List<RustExpr> getExprList();
}
| apache-2.0 |
tempbottle/jsimpledb | src/java/org/jsimpledb/core/EnumFieldStorageInfo.java | 907 |
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package org.jsimpledb.core;
import java.util.List;
class EnumFieldStorageInfo extends SimpleFieldStorageInfo<EnumValue> {
EnumFieldStorageInfo(EnumField field, int superFieldStorageId) {
super(field, superFieldStorageId);
}
pub... | apache-2.0 |
jraduget/kaleido-repository | kaleido-core/src/test/java/org/kaleidofoundry/core/config/XmlPropertiesConfigurationTest.java | 1324 | /*
* Copyright 2008-2021 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 a... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/model/AmazonDynamoDBException.java | 1201 | /*
* 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... | apache-2.0 |
janko33bd/bitcoinj | core/src/main/java/org/bitcoinj/script/ScriptBuilder.java | 20271 | /*
* Copyright 2013 Google Inc.
* Copyright 2018 Nicola Atzei
*
* 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 b... | apache-2.0 |
lessthanoptimal/BoofCV | main/boofcv-feature/src/main/java/boofcv/numerics/InterpolateArray.java | 1311 | /*
* Copyright (c) 2021, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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://www.apac... | apache-2.0 |
10045125/spring-boot | spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnJava.java | 3487 | /*
* Copyright 2012-2014 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... | apache-2.0 |
prakashme/spring-boot | spring-boot/src/main/java/org/springframework/boot/logging/logback/DefaultLogbackConfiguration.java | 6214 | /*
* Copyright 2012-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 ap... | apache-2.0 |
sjaco002/vxquery | vxquery-core/src/main/java/org/apache/vxquery/exceptions/VXQueryDataException.java | 1475 | /*
* 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-2.0 |
tientq/jhipster-microservices | authorization-service/src/main/java/net/tinyset/authorization/config/ThymeleafConfiguration.java | 994 | package net.tinyset.authorization.config;
import org.apache.commons.lang3.CharEncoding;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.*;
import org.thymeleaf.templateresolver.ClassLoaderTemplateResolver;
@Configuration
public class ThymeleafConfiguration {
... | apache-2.0 |
rapidoid/rapidoid | rapidoid-networking/src/main/java/org/rapidoid/net/impl/ConnState.java | 2015 | /*-
* #%L
* rapidoid-networking
* %%
* Copyright (C) 2014 - 2020 Nikolche Mihajlovski and contributors
* %%
* 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.... | apache-2.0 |
quarkusio/quarkus | integration-tests/kafka-snappy/src/test/java/io/quarkus/it/kafka/KafkaSnappyProducerTest.java | 2483 | package io.quarkus.it.kafka;
import static org.hamcrest.Matchers.*;
import java.time.Duration;
import java.util.Collections;
import java.util.Properties;
import org.apache.kafka.clients.consumer.ConsumerConfig;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.consumer.KafkaCon... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/transform/UntagResourceRequestProtocolMarshaller.java | 2635 | /*
* Copyright 2017-2022 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... | apache-2.0 |
googlearchive/firebase-jobdispatcher-android | jobdispatcher/src/main/java/com/firebase/jobdispatcher/JobService.java | 23819 | // Copyright 2016 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 i... | apache-2.0 |
nince-wyj/jahhan | common/common-extension/src/main/java/net/jahhan/com/alibaba/dubbo/common/serialize/support/SerializationOptimizer.java | 329 | package net.jahhan.com.alibaba.dubbo.common.serialize.support;
import java.util.Collection;
/**
* This class can be replaced with the contents in config file, but for now I think the class is easier to write
*
* @author lishen
*/
public interface SerializationOptimizer {
Collection<Class> getSerializableClas... | apache-2.0 |
gridgain/apache-ignite | modules/core/src/main/java/org/pcollections/Empty.java | 972 | package org.pcollections;
/* Mike Klein, 2/27/2009 */
/* Empty remembers which classes implement the interface you want,
* so you don't have to.
*/
/**
* A static utility class for getting empty PCollections backed by the 'default'
* implementations.
*
* @author mtklein
*/
public final class Empty {
//non... | apache-2.0 |
liuqijie/wind | wind-common/src/main/java/com/wind/common/util/SpringContextUtil.java | 1793 | package com.wind.common.util;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import java.util.Map;
/**
* 资源文件读取工具
*
* @author liuqijie
* @date 2017年6月26日
*/
public class SpringContextUtil impleme... | apache-2.0 |
howiefh/jee-restful-web | src/main/java/io/github/howiefh/jeews/modules/sys/dao/OrganizationDao.java | 427 | /**
* Copyright (c) 2015 https://github.com/howiefh
*
* Licensed under the Apache License, Version 2.0 (the "License")
*/
package io.github.howiefh.jeews.modules.sys.dao;
import org.springframework.stereotype.Repository;
import io.github.howiefh.jeews.common.dao.CrudDao;
import io.github.howiefh.jeews.modules.sys... | apache-2.0 |