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 |
|---|---|---|---|---|---|
/*
* 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 ... | hanahmily/sky-walking | apm-sniffer/apm-toolkit-activation/apm-toolkit-opentracing-activation/src/main/java/org/apache/skywalking/apm/toolkit/activation/opentracing/continuation/SkywalkingContinuationActivation.java | Java | apache-2.0 | 3,679 |
package org.apereo.cas.configuration.model.support.pac4j.oidc;
import org.apereo.cas.configuration.model.support.pac4j.Pac4jIdentifiableClientProperties;
import org.apereo.cas.configuration.support.RequiredProperty;
import org.apereo.cas.configuration.support.RequiresModule;
import lombok.Getter;
import lombok.Setter... | philliprower/cas | api/cas-server-core-api-configuration-model/src/main/java/org/apereo/cas/configuration/model/support/pac4j/oidc/BasePac4jOidcClientProperties.java | Java | apache-2.0 | 2,769 |
/*
* Copyright (C) 2010 Alen Vrecko
*
* 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 ... | avrecko/weld-guiceconfig | test/weld/guiceconfig/world/Mailer.java | Java | apache-2.0 | 809 |
package com.jabely.biz.order.dao;
import java.util.List;
import com.jabely.biz.order.dao.domain.OrderInfoDO;
import com.jabely.biz.order.dao.domain.query.QueryOrderInfoDO;
public interface IOrderInfoDao {
public OrderInfoDO insertOrderInfo(OrderInfoDO orderInfo);
public int updateOrderInfo(OrderInfoDO orderInfo)... | jiabaili/jabely | jabely-biz/src/main/java/com/jabely/biz/order/dao/IOrderInfoDao.java | Java | apache-2.0 | 743 |
/**
* Copyright (C) 2015 Oliver Schünemann
*
* 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 ... | oschuen/ballin_midi | JAccompaniment/src/main/java/jaccompaniment/resource/Beat.java | Java | apache-2.0 | 5,180 |
/*
* Copyright 2015 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | vobruba-martin/closure-compiler | src/com/google/javascript/jscomp/LintPassConfig.java | Java | apache-2.0 | 6,059 |
package com.monsterlin.blives.mainfragment;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.GridLayoutManager;
import android.suppor... | binzhouuniversity/BLives | blives/src/main/java/com/monsterlin/blives/mainfragment/MeFragment.java | Java | apache-2.0 | 6,894 |
/*
* Created on Sep 17, 2004
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package net.reliableresponse.notification.web.tags;
import java.io.IOException;
import java.util.Vector;
import javax.servlet.jsp.JspException;
import javax.se... | davidrudder23/OpenNotification | src/net/reliableresponse/notification/web/tags/InputTypeTag.java | Java | apache-2.0 | 1,798 |
package no.kantega.openaksess.search.config;
import no.kantega.openaksess.search.provider.transformer.AttachmentTransformer;
import no.kantega.openaksess.search.provider.transformer.ContentTransformer;
import no.kantega.publishing.common.data.enums.ObjectType;
import no.kantega.search.api.retrieve.IndexableContentType... | kantega/Flyt-cms | modules/OA-Search/src/main/java/no/kantega/openaksess/search/config/SearchConfig.java | Java | apache-2.0 | 999 |
package com.willlee.concurrency.executor;
public class RecursiveSequenceExam {
private final static int NUMBER = 10000000;
public static void main(String[] args) {
double[] array = new double[NUMBER];
for (int i = 0; i < NUMBER; i++) {
array[i] = i;
}
long startTim... | WillleePang/java | Advance/src/main/java/com/willlee/concurrency/executor/RecursiveSequenceExam.java | Java | apache-2.0 | 617 |
/**
* Licensed to Apereo under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. Apereo
* licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use
* this file except in compli... | jhelmer-unicon/uPortal | uportal-war/src/main/java/org/apereo/portal/layout/dlm/DistributedLayoutManager.java | Java | apache-2.0 | 64,473 |
package ol.source;
import jsinterop.annotations.JsType;
import ol.layer.Vector;
/**
* @author Dan Moldovan
*/
@JsType(isNative = true)
public interface Cluster extends ol.source.Vector {
}
| danmoldo/OpenLayers3GWT2.8Wrapper | gwt28-ol3-wrapper/src/main/java/ol/source/Cluster.java | Java | apache-2.0 | 194 |
/**
* Copyright 2012-2015 ContactLab, Italy
*
* 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 ... | contactlab/soap-api-java-client-next | src/main/java/com/contactlab/api/ws/FindMessagesByChannel.java | Java | apache-2.0 | 3,436 |
/*
* 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 ... | lmjacksoniii/hazelcast | hazelcast/src/test/java/com/hazelcast/map/impl/mapstore/writebehind/WriteBehindOnBackupsTest.java | Java | apache-2.0 | 8,183 |
/*
* 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 under t... | googleapis/google-api-java-client-services | clients/google-api-services-essentialcontacts/v1/1.31.0/com/google/api/services/essentialcontacts/v1/model/GoogleCloudEssentialcontactsV1Contact.java | Java | apache-2.0 | 7,306 |
package com.cloud.api.command.admin.internallb;
import com.cloud.acl.SecurityChecker.AccessType;
import com.cloud.api.ACL;
import com.cloud.api.APICommand;
import com.cloud.api.ApiCommandJobType;
import com.cloud.api.ApiConstants;
import com.cloud.api.ApiErrorCode;
import com.cloud.api.BaseAsyncCmd;
import com.cloud.a... | remibergsma/cosmic | cosmic-core/api/src/main/java/com/cloud/api/command/admin/internallb/StopInternalLBVMCmd.java | Java | apache-2.0 | 4,327 |
/*
* MessagePack-Hadoop Integration
*
* Copyright (C) 2009-2011 MessagePack 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/LIC... | msgpack/msgpack-hadoop | src/main/java/org/msgpack/hadoop/hive/udf/GenericUDTFMessagePackMap.java | Java | apache-2.0 | 8,155 |
/**
* 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 under ... | bric3/assertj-core | src/test/java/org/assertj/core/internal/objectarrays/ObjectArrays_assertContains_Test.java | Java | apache-2.0 | 5,868 |
package be.idamf.android.tamperdetection.ui;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.CheckBox;
import be.idamf.android.tamperdetection.R;
import be.idamf.andr... | appfoundry/devoxx-2013-android-app-security | TamperDetectionProject/TamperDetection/src/main/java/be/idamf/android/tamperdetection/ui/RootCheckFragment.java | Java | apache-2.0 | 5,997 |
package org.ssase.objective.optimization.femosaa.ibea;
import jmetal.core.SolutionSet;
import jmetal.metaheuristics.ibea.IBEA_SAS_main;
import org.femosaa.core.SASAlgorithmAdaptor;
import org.femosaa.core.SASSolution;
import org.ssase.objective.optimization.femosaa.FEMOSAASolutionAdaptor;
import org.ssase.region.Regi... | taochen/ssase | src/main/java/org/ssase/objective/optimization/femosaa/ibea/IBEARegion.java | Java | apache-2.0 | 1,237 |
package org.sagebionetworks.evaluation.dao;
import java.io.IOException;
import java.util.Date;
import org.sagebionetworks.evaluation.dbo.SubmissionContributorDBO;
import org.sagebionetworks.evaluation.dbo.SubmissionDBO;
import org.sagebionetworks.evaluation.dbo.SubmissionStatusDBO;
import org.sagebionetworks.evaluati... | hhu94/Synapse-Repository-Services | lib/jdomodels/src/main/java/org/sagebionetworks/evaluation/dao/SubmissionUtils.java | Java | apache-2.0 | 6,042 |
/**
* Copyright (C) 2014 Politecnico di Milano (marco.miglierina@polimi.it)
*
* 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
*
*... | deib-polimi/tower4clouds | manager/manager-core/src/test/java/it/polimi/tower4clouds/manager/ManagerConfigTest.java | Java | apache-2.0 | 2,386 |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2022 DBeaver Corp and 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/LICE... | dbeaver/dbeaver | plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/templates/SQLContext.java | Java | apache-2.0 | 6,847 |
package org.develnext.jphp.android.ext.classes.widget;
import android.widget.Button;
import org.develnext.jphp.android.ext.AndroidExtension;
import org.develnext.jphp.android.ext.classes.app.WrapActivity;
import php.runtime.annotation.Reflection.Name;
import php.runtime.annotation.Reflection.Signature;
import php.runt... | livingvirus/jphp | jphp-android/src/main/java/org/develnext/jphp/android/ext/classes/widget/WrapButton.java | Java | apache-2.0 | 978 |
/*
* Copyright 2009 Joubin Houshyar
*
* 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... | various-databases/jredis | core/api/src/main/java/org/jredis/ObjectEncoding.java | Java | apache-2.0 | 1,033 |
package com.example.mobilesafe.service;
import com.example.mobilesafe.activity.EnterPasswordActivity;
import com.example.mobilesafe.dao.LockedDataDao;
import android.accessibilityservice.AccessibilityService;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Inte... | toBeNewbie/moblileSafe | src/com/example/mobilesafe/service/MyAccessibilityService.java | Java | apache-2.0 | 2,272 |
package org.thrx.service.example.test;
import static org.junit.Assert.assertEquals;
import javax.ws.rs.core.Response;
import org.junit.After;
import org.junit.Before;
import org.junit.ClassRule;
import org.junit.Test;
import org.thrx.service.example.ExampleApplication;
import org.thrx.service.example.ExampleConfigu... | thrxorg/thrx-framework | thrx-service-example/src/test/java/org/thrx/service/example/test/ExampleServiceResourceTest.java | Java | apache-2.0 | 1,315 |
// This is a generated file. Not intended for manual editing.
package com.github.joshholl.intellij.csharp.lang.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface CSharpDefaultArgument extends PsiElement {
@NotNull
CSharpExpression getExpression();... | joshholl/intellij-csharp | gen/com/github/joshholl/intellij/csharp/lang/psi/CSharpDefaultArgument.java | Java | apache-2.0 | 324 |
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.client.ui.base.widget.core.adapter;
import net.sf.mmm.client.ui.api.attribute.AttributeWriteImage;
import net.sf.mmm.client.ui.api.widget.UiWidgetRegular;
import net.sf.mm... | m-m-m/client | ui/widget/base/src/main/java/net/sf/mmm/client/ui/base/widget/core/adapter/UiWidgetAdapterTab.java | Java | apache-2.0 | 973 |
package org.light4j.framework.mvc.helper;
import java.util.HashSet;
import java.util.Set;
import org.light4j.framework.mvc.annotatiom.Controller;
import org.light4j.framework.mvc.annotatiom.Service;
import org.light4j.framework.util.ClassUtil;
/**
* 类操作助手类
*
* @author longjiazuo
*
*/
public final class ClassH... | longjiazuo/light-framework | light-framework-mvc/src/main/java/org/light4j/framework/mvc/helper/ClassHelper.java | Java | apache-2.0 | 1,658 |
package com.mapr.music.util;
import org.jboss.resteasy.spi.DefaultOptionsMethodException;
import javax.ws.rs.core.Response;
import javax.ws.rs.ext.ExceptionMapper;
import javax.ws.rs.ext.Provider;
@Provider
public class DefaultOptionsExceptionMapper implements ExceptionMapper<DefaultOptionsMethodException> {
@O... | mapr-demos/mapr-music | mapr-rest/src/main/java/com/mapr/music/util/DefaultOptionsExceptionMapper.java | Java | apache-2.0 | 433 |
/*
* 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 ... | jackylk/incubator-carbondata | integration/spark/src/main/scala/org/apache/carbondata/converter/SparkDataTypeConverterImpl.java | Java | apache-2.0 | 8,139 |
/**************************************************************************
Copyright (c) 2011-2015:
Istituto Nazionale di Fisica Nucleare (INFN), Italy
Consorzio COMETA (COMETA), Italy
See http://www.infn.it and http://www.consorzio-cometa.it for details
on the copyright holders.
Licensed under the Apache License,... | csgf/eToken | eTokenAccounting/src/java/infn/eTokenAccounting/loader/Loader.java | Java | apache-2.0 | 1,323 |
package org.wikiup.core.exception;
public class NamespaceException extends RuntimeException {
static final long serialVersionUID = -4256053659908927388L;
public NamespaceException() {
super();
}
public NamespaceException(String message) {
super(message);
}
}
| smantinc/wikiup | framework/src/org/wikiup/core/exception/NamespaceException.java | Java | apache-2.0 | 298 |
package fr.sam543381.taskify;
/**
* @see fr.sam543381.taskify.Task
* @author Sam54 (<a href="mailto:sam543381@live.fr">contact</a>)
*/
public class Loop {
protected Task task;
protected long interval;
protected int maxCount;
protected String name;
protected int loops = 0;
/**
* @param task
* ... | sam543381/Taskify | src/main/java/fr/sam543381/taskify/Loop.java | Java | apache-2.0 | 1,753 |
/*
* Copyright (c) 2010 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 ... | OpenUniversity/ovirt-engine | backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendApiResource.java | Java | apache-2.0 | 23,785 |
/**
* Copyright 2014 Adrian Chia
*
* 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 wri... | adrianchia/google-maps-java | google-maps-jaxrs-client/src/main/java/org/adrianchia/google/maps/DistanceMatrixService.java | Java | apache-2.0 | 2,305 |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.box;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.ConfigurerStrategy;
import org.apache.camel.spi.GeneratedPropertyConfigurer;
import org.apache.camel.spi.PropertyConfigurerGette... | mcollovati/camel | components/camel-box/camel-box-component/src/generated/java/org/apache/camel/component/box/BoxConfigurationConfigurer.java | Java | apache-2.0 | 7,498 |
package com.terradue.jcatalogue.transfer;
/*
* Copyright 2011-2012 Terradue srl
*
* 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/LI... | Terradue/jcatalogue-client | apis/src/main/java/com/terradue/jcatalogue/transfer/MetadataTransferException.java | Java | apache-2.0 | 1,670 |
/*
* 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... | codecentric/spring-boot-starter-batch-web | batch-web-spring-boot-autoconfigure/src/test/java/de/codecentric/batch/metrics/item/MetricsTestItemReadListener.java | Java | apache-2.0 | 2,527 |
package com.langg.yyweather.util;
import okhttp3.OkHttpClient;
import okhttp3.Request;
/**
* Created by Administrator on 2017/5/24.
*/
public class HttpUtil {
public static void sendOkHttpRequest(String address, okhttp3.Callback callback) {
OkHttpClient client = new OkHttpClient();
Request requ... | LangGG/YYWeather | app/src/main/java/com/langg/yyweather/util/HttpUtil.java | Java | apache-2.0 | 429 |
/*-
* -\-\-
* Helios Client
* --
* Copyright (C) 2016 Spotify AB
* --
* 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
*
* Unles... | spotify/helios | helios-client/src/main/java/com/spotify/helios/common/Resolver.java | Java | apache-2.0 | 3,731 |
package org.jboss.resteasy.reactive.server.core.parameters;
import org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext;
import org.jboss.resteasy.reactive.server.jaxrs.AsyncResponseImpl;
public class AsyncResponseExtractor implements ParameterExtractor {
public static final AsyncResponseExtrac... | quarkusio/quarkus | independent-projects/resteasy-reactive/server/runtime/src/main/java/org/jboss/resteasy/reactive/server/core/parameters/AsyncResponseExtractor.java | Java | apache-2.0 | 604 |
/*
* Copyright 2015 The Mashub Project
*
* The Mashub Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | beatsbucket/mashub | src/main/java/com/beatsbucket/mashub/kitchen/ingredient/category/RaspberryIngred.java | Java | apache-2.0 | 809 |
/**
*/
package org.mobadsl.semantic.model.moba.index;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
/**
* <!-- begin-user-doc -->
* The <b>Package</b> for the model.
* It contains accessors for the meta... | florianpirchner/mobadsl | org.mobadsl.semantic.model/src/org/mobadsl/semantic/model/moba/index/MobaIndexPackage.java | Java | apache-2.0 | 15,412 |
/**
* 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... | Dictanova/gora | gora-mongodb/src/test/java/org/apache/gora/mongodb/filters/DefaultFactoryTest.java | Java | apache-2.0 | 6,629 |
/*
Copyright 2016 Goldman Sachs.
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... | goldmansachs/reladomo | reladomogen/src/main/java/com/gs/fw/common/mithra/generator/RelationshipAttribute.java | Java | apache-2.0 | 52,667 |
/*
* Copyright 2013 Qubell, 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... | qubell/contrib-jenkins-qubell-plugin | src/main/java/com/qubell/jenkinsci/plugins/qubell/builders/InstanceOptions.java | Java | apache-2.0 | 1,177 |
package com.toedter.calendar.demo;
import java.awt.Color;
import java.util.Calendar;
import java.util.Date;
import com.toedter.calendar.IDateEvaluator;
public class BirthdayEvaluator implements IDateEvaluator {
private Calendar calendar = Calendar.getInstance();
private Color darkGreen = new Color(0x007F00)... | DegJ/miceschoolproject | MICE/lib/JCalendar-2/src/com/toedter/calendar/demo/BirthdayEvaluator.java | Java | apache-2.0 | 1,114 |
/*
* 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 ... | lato333/guacamole-client | guacamole/src/main/java/org/apache/guacamole/rest/user/APIUserWrapper.java | Java | apache-2.0 | 4,127 |
/*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | FinishX/coolweather | gradle/gradle-2.8/src/messaging/org/gradle/internal/serialize/ObjectArraySerializer.java | Java | apache-2.0 | 1,478 |
package pl.java.scalatech;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class SpringJwtSecurityApplication {
public static void main(String[] args) {
SpringApplication.run(SpringJwtSecurityApplication.class, a... | przodownikR1/jwtSecurity | src/main/java/pl/java/scalatech/SpringJwtSecurityApplication.java | Java | apache-2.0 | 331 |
package com.study.rp_calc;
import android.content.Intent;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.TextUtils;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RadioButton;
import android.widg... | yecjl/AndroidStudyDemo | Day06/02_rp_calc/src/main/java/com/study/rp_calc/CalculatorActivity.java | Java | apache-2.0 | 1,581 |
/*
* Copyright (c) 2021 Menny Even-Danan
*
* 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... | AnySoftKeyboard/AnySoftKeyboard | ime/app/src/main/java/com/anysoftkeyboard/devicespecific/DeviceSpecificV26.java | Java | apache-2.0 | 1,049 |
/* ###
* IP: GHIDRA
* REVIEWED: YES
*
* 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... | NationalSecurityAgency/ghidra | Ghidra/Framework/Docking/src/main/java/docking/widgets/conditiontestpanel/ConditionTester.java | Java | apache-2.0 | 889 |
package Combinations;
import java.util.ArrayList;
import java.util.List;
/**
* Given two integers n and k, return all possible combinations of k numbers out of 1 ... n.
*/
class Solution {
public List<List<Integer>> combine(int n, int k) {
int[] arr = new int[n];
for (int i = 0; i < n; i++)
... | likel/leetcode-java | src/Combinations/Solution.java | Java | apache-2.0 | 990 |
/*
* Copyright (C) 2014 Indeed 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 ... | indeedeng/imhotep | imhotep-server/src/main/java/com/indeed/imhotep/io/ReadLock.java | Java | apache-2.0 | 4,003 |
/*
* Copyright 2021 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | GoogleCloudDataproc/spark-bigquery-connector | spark-bigquery-dsv2/spark-3.1-bigquery/src/main/java/com/google/cloud/spark/bigquery/v2/BigQueryInputPartition.java | Java | apache-2.0 | 1,094 |
package com.action.view.design.principle.singleresponsibility;
/**
* @Description TODO
* @Author wuyunfeng
* @Date 2020-05-21 22:08
* @Version 1.0
*/
public class CourseImpl implements ICourseManager, ICourseContent {
@Override
public String getCourseName() {
return null;
}
@Override
... | pearpai/java_action | src/main/java/com/action/view/design/principle/singleresponsibility/CourseImpl.java | Java | apache-2.0 | 498 |
package ru.ionlabs.easymovies.ui;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import java.util.List;
import ru.ionlabs.easymovies.data.DataManager;
import ru.ion... | IvanovPvl/EasyMovies | app/src/test/java/ru/ionlabs/easymovies/ui/FavoritesPresenterTest.java | Java | apache-2.0 | 1,626 |
/*
* Copyright 2012 sprintapi.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/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | filip26/hyperdata | hyperdata-gwt/src/main/java/org/sprintapi/hyperdata/gwt/BeanAdapterGenerator.java | Java | apache-2.0 | 10,606 |
package com.cloudata.structured.sql;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.List;
import java.util.Map;
import org.weakref.jmx.com.google.common.collect.Lists;
import com.facebook.presto.spi.ColumnHandle;
im... | justinsb/cloudata | cloudata-structured/src/test/java/com/cloudata/structured/sql/MockConnectorMetadata.java | Java | apache-2.0 | 5,326 |
/*
* Copyright 2000-2016 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... | youdonghai/intellij-community | plugins/maven/src/main/java/org/jetbrains/idea/maven/navigator/MavenProjectsNavigator.java | Java | apache-2.0 | 14,154 |
/**
* 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... | songweijia/hdfsrs | hadoop-hdfs/src/main/java/org/apache/hadoop/fs/Hdfs.java | Java | apache-2.0 | 14,672 |
/*******************************************************************************
* Copyright FUJITSU LIMITED 2017
*******************************************************************************/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See... | opetrovski/development | oscm-saml2-api/javasrc/org/oscm/saml2/api/model/xmldsig/RSAKeyValueType.java | Java | apache-2.0 | 2,516 |
/*
* Copyright 2010-2013 Ning, Inc.
* Copyright 2014-2017 Groupon, Inc
* Copyright 2014-2017 The Billing Project, LLC
*
* The Billing Project 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 cop... | sbrossie/killbill | invoice/src/main/java/org/killbill/billing/invoice/dao/InvoiceDaoHelper.java | Java | apache-2.0 | 31,938 |
/*
* Copyright 2012 Bangkok Project Team, GRIDSOLUT GmbH + Co.KG, and
* University of Stuttgart (Institute of Architecture of Application Systems)
* 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 ma... | ungerts/task-manager | src/main/java/com/htm/userdirectory/jpa/GroupWrapper.java | Java | apache-2.0 | 2,141 |
package com.cky.learnandroiddetails.FirstCodeSecondVersion.FragTest;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.cky.learnandroiddetails.R;
public class Activity2 extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
supe... | cuikangyuan/LearnAndroidDetails | app/src/main/java/com/cky/learnandroiddetails/FirstCodeSecondVersion/FragTest/Activity2.java | Java | apache-2.0 | 405 |
/*
* 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-neptune/src/main/java/com/amazonaws/services/neptune/model/ListTagsForResourceResult.java | Java | apache-2.0 | 4,923 |
/*
* 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-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/AWSElasticsearchClientBuilder.java | Java | apache-2.0 | 2,388 |
package com.dao;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import com.network.Jsoupcookie;
import vo.StudentInfo;
import vo.StudentStatus;
public class GRXXdao {
public StudentInfo getStudentInfo(String cookie){
StudentInfo info=null;
Jsoupcookie jsoupco... | sunduan/TyutAppService | TyutAppService/src/com/dao/GRXXdao.java | Java | apache-2.0 | 2,237 |
/*
* 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 under t... | googleapis/google-api-java-client-services | clients/google-api-services-cloudsupport/v2beta/1.31.0/com/google/api/services/cloudsupport/v2beta/model/Media.java | Java | apache-2.0 | 26,761 |
package com.aspsine.swipetoloadlayout;
import android.content.Context;
import android.content.res.TypedArray;
import android.support.v4.view.MotionEventCompat;
import android.support.v4.view.ViewCompat;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View... | jinxiyang/Yunfan | library_SwipeToLoadLayout/src/main/java/com/aspsine/swipetoloadlayout/SwipeToLoadLayout.java | Java | apache-2.0 | 60,151 |
package com.xinxin.wotplus.activity;
import android.os.Bundle;
import android.support.design.widget.AppBarLayout;
import android.support.design.widget.Snackbar;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
imp... | zhangxx0/WOTPlus | app/src/main/java/com/xinxin/wotplus/activity/AtyXvmTankTable.java | Java | apache-2.0 | 5,907 |
package Graduate;
public class KMeansTestDemo {
public static void main(String[] args) {
// TODO Auto-generated method stub
float[] p = { 1, 2, 3, 5, 6, 7, 9, 10, 11, 100, 150, 200, 1000, 10000};
int k = 3;
System.out.println(getData(p, k));
}
public static float getData(float[] p, in... | WangZzzz/data-structures | src/Graduate/KMeansTestDemo.java | Java | apache-2.0 | 4,472 |
/*
* 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 ... | nicolaferraro/camel | core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2KmsComponentBuilderFactory.java | Java | apache-2.0 | 11,197 |
package com.vladmihalcea.book.hpjp.hibernate.concurrency.acid;
import com.vladmihalcea.book.hpjp.util.AbstractTest;
import com.vladmihalcea.book.hpjp.util.providers.Database;
import org.junit.Test;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.PreparedSt... | vladmihalcea/high-performance-java-persistence | core/src/test/java/com/vladmihalcea/book/hpjp/hibernate/concurrency/acid/ACIDRaceConditionPositiveBalanceCheckLastOperationTest.java | Java | apache-2.0 | 5,115 |
/**
* Licensed to Apereo under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright ownership. Apereo
* licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use
* this file except in co... | Jasig/email-preview | src/main/java/org/jasig/portlet/emailpreview/security/IStringEncryptionService.java | Java | apache-2.0 | 1,744 |
/*
* 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 ... | apparentlymart/shindig | java/gadgets/src/main/java/org/apache/shindig/gadgets/preload/PipelinedDataPreloader.java | Java | apache-2.0 | 13,985 |
/*
* 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 ... | lovejinstar/POOL2.LINE | src/test/java/org/apache/commons/pool2/impl/TestGenericKeyedObjectPool.java | Java | apache-2.0 | 78,342 |
/**
*
*/
package roslab.ui.software;
/**
* Dialog to edit details of a person.
*
* @author Peter Gebhard
*/
import java.net.URL;
import java.util.ResourceBundle;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import j... | PRECISE/ROSLab | src/roslab/ui/software/NewPortDialog.java | Java | apache-2.0 | 3,680 |
package org.gradle.test.performance.mediummonolithicjavaproject.p32;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test641 {
Production641 objectUnderTest = new Production641();
@Test
public void testProperty0() {
String value = "value";
objectUnderTest.setP... | oehme/analysing-gradle-performance | my-lib/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p32/Test641.java | Java | apache-2.0 | 2,107 |
package org.securegraph.accumulo.blueprints.util;
import org.securegraph.accumulo.AccumuloGraphConfiguration;
import org.apache.accumulo.minicluster.MiniAccumuloCluster;
import org.apache.accumulo.minicluster.MiniAccumuloConfig;
import org.apache.commons.io.FileUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFa... | lumifyio/securegraph | securegraph-accumulo-blueprints/src/test/java/org/securegraph/accumulo/blueprints/util/TestAccumuloCluster.java | Java | apache-2.0 | 2,550 |
/*
* Copyright 2013 Ebrahim Aharpour
*
* 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... | aharpour/hippo-maven-plugin | src/main/java/net/sourceforge/mavenhippo/gen/ClasspathAware.java | Java | apache-2.0 | 1,470 |
package org.debug.punchclock;
import lombok.extern.slf4j.Slf4j;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
/**
* Created by vishnuhr on 23/11/15.
* https://en.wikipedia.org/wiki/Time_clock
*/
@Slf4j
public class PunchClock {
private Map<String,PunchCard> register = new ConcurrentHashM... | jaihind213/storm-punch-clock | punch-clock/src/main/java/org/debug/punchclock/PunchClock.java | Java | apache-2.0 | 2,372 |
package org.rooms;
import java.awt.Color;
import java.awt.image.BufferedImage;
import java.util.Arrays;
import org.BackgroundSystem.Background;
import org.enemies.Shark;
import org.enemies.Crab;
import org.enemies.Water;
import org.resources.ImagePack;
import org.resources.ThreadList;
import org.walls.WaterExit;
impo... | zapper59/RangerHale---Space-Adventure | src/org/rooms/WaterRoom10.java | Java | apache-2.0 | 1,513 |
package com.youngweather.util;
import android.app.Application;
public class ContextUtil extends Application {
private static ContextUtil instance;
public static ContextUtil getInstance() {
return instance;
}
@Override
public void onCreate() {
// TODO Auto-generated method stub
super.onCreate();
instanc... | 1992YoungHong/YoungWeather | src/com/youngweather/util/ContextUtil.java | Java | apache-2.0 | 335 |
package edu.ualr.cpsc4367.crimerecords.database;
public class CrimeDbSchema {
public static final class CrimeTable {
public static final String NAME = "crimes";
public static final String COLUMN_ID = "_id";
public static final String COLUMN_UUID = "uuid";
public static final String ... | mengjunxie/Android-Sample-Apps | CrimeContentProvider/app/src/main/java/edu/ualr/cpsc4367/crimerecords/database/CrimeDbSchema.java | Java | apache-2.0 | 533 |
/*
* Copyright 2007 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 appl... | Ariah-Group/Finance | af_webapp/src/main/java/org/kuali/kfs/module/purap/document/service/CreditMemoService.java | Java | apache-2.0 | 6,949 |
package org.backbone.orm.search.comparator;
/**
* @author bianliang (07/16/2017)
* @since 0.0.1
*/
public class LessThanComparator extends SingleComparator {
private boolean include;
public LessThanComparator(String name, Object value, LogicalOperator lo) {
this(name, value, false, lo);
}
... | cyanqueen/backbone | backbone-orm/src/main/java/org/backbone/orm/search/comparator/LessThanComparator.java | Java | apache-2.0 | 797 |
package com.yq.manager.action;
import com.sr178.game.framework.context.ServiceCacheFactory;
import com.yq.common.action.ALDAdminActionSupport;
import com.yq.manager.service.AdminService;
public class DelUserAction extends ALDAdminActionSupport {
/**
*
*/
private static final long serialVersionUID =... | zgyq/yq-user | src/main/java/com/yq/manager/action/DelUserAction.java | Java | apache-2.0 | 632 |
package org.apereo.cas.audit.config;
import org.apache.commons.lang3.StringUtils;
import org.apereo.cas.audit.entity.AuditTrailEntity;
import org.apereo.cas.audit.spi.DefaultDelegatingAuditTrailManager;
import org.apereo.cas.audit.spi.DelegatingAuditTrailManager;
import org.apereo.cas.configuration.CasConfigurationPro... | gabedwrds/cas | support/cas-server-support-audit-jdbc/src/main/java/org/apereo/cas/audit/config/CasSupportJdbcAuditConfiguration.java | Java | apache-2.0 | 4,327 |
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.PrintWriter;
/**
* Created by zhy on 15/5/3.
*/
public class GenerateValueFiles {
private int baseW;
private int baseH;
private String dirStr = "./res";
private final static String WTemplate = "<dimen n... | anmingyu11/MyDevelopTools | ScreenAdapter/GenerateValueFiles.java | Java | apache-2.0 | 4,462 |
package com.mrprona.dota2assitant.base.api.ti4;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
/**
* User: ABadretdinov
* Date: 14.05.14
* Time: 18:46
*/
public class PrizePool implements Serializable {
@SerializedName("prize_pool")
private long prizePool;
@Serialized... | mrprona92/SecretBrand | app/src/main/java/com/mrprona/dota2assitant/base/api/ti4/PrizePool.java | Java | apache-2.0 | 673 |
/*
* Copyright 2002-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... | spring-projects/spring-framework | spring-web/src/main/java/org/springframework/http/client/reactive/JettyClientHttpResponse.java | Java | apache-2.0 | 3,509 |
/*
* Copyright 2000-2016 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... | ThiagoGarciaAlves/intellij-community | platform/platform-impl/src/com/intellij/ide/ui/laf/darcula/ui/DarculaRadioButtonUI.java | Java | apache-2.0 | 7,963 |
package br.com.valdineireis.v4labs.controller;
import static java.util.Arrays.asList;
import br.com.caelum.vraptor.Controller;
import br.com.caelum.vraptor.Get;
import br.com.caelum.vraptor.Post;
import br.com.caelum.vraptor.Put;
import br.com.caelum.vraptor.Result;
import br.com.caelum.vraptor.validator.Val... | valdineireis/v4labs | src/main/java/br/com/valdineireis/v4labs/controller/UsuarioController.java | Java | apache-2.0 | 3,133 |
/*
* Copyright (c) 2013 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.vpool;
import org.codehaus.jackson.annotate.JsonProperty;
import java.net.URI;
import javax.xml.bind.annotation.XmlElement;
public class VirtualPoolHighAvailabilityParam {
private String type;
p... | emcvipr/controller-client-java | models/src/main/java/com/emc/storageos/model/vpool/VirtualPoolHighAvailabilityParam.java | Java | apache-2.0 | 4,574 |
package iwasaki.ga.mgg;
import iwasaki.ga.core.IIndividual;
import iwasaki.ga.core.TPopulation;
/**
* ��ʂQ�̂�I�����鐶���I����D
* @since 2
* @author isao
*/
public class TBest2Selection implements ISelectionForSurvival {
/** �Ƒ� */
private IIndividual[] fFamily;
/** �ŏ�����肩�H */
private boolean fMinimizatio... | h-crisis/assistant | test/iwasaki/ga/mgg/TBest2Selection.java | Java | apache-2.0 | 3,078 |
package javax.crypto.spec;
import java.security.spec.AlgorithmParameterSpec;
public class IvParameterSpec implements AlgorithmParameterSpec {
private final byte[] iv;
public IvParameterSpec(byte[] iv) {
this.iv = iv;
}
public byte[] getIV() {
return iv;
}
}
| macaroons-io/macaroons-io.github.io | jmacaroons2js/src/main/resources/com/googlecode/cryptogwt/emul/javax/crypto/spec/IvParameterSpec.java | Java | apache-2.0 | 308 |