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 org.wikiup.plugins.wmdk.action; import java.util.Iterator; import org.wikiup.core.Wikiup; import org.wikiup.core.impl.Null; import org.wikiup.core.inf.Attribute; import org.wikiup.core.inf.BeanContainer; import org.wikiup.core.inf.Document; import org.wikiup.core.util.Documents; import org.wikiup.co...
smantinc/wikiup
plugins/wmdk/src/org/wikiup/plugins/wmdk/action/ContextServletAction.java
Java
apache-2.0
5,203
/* * Copyright (c) Facebook, Inc. and 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 applic...
JoelMarcey/buck
test/com/facebook/buck/core/model/actiongraph/computation/ActionGraphProviderTest.java
Java
apache-2.0
18,423
package org.apache.flume.interceptor; import org.apache.flume.Event; import org.apache.flume.interceptor.service.ICacheService; import org.springframework.context.ApplicationContext; import org.testng.Assert; import org.testng.annotations.Test; public class CacheableInterceptorTest { @Test public void testSp...
keedio/flume-cacheable-interceptor-skeleton
src/test/java/org/apache/flume/interceptor/CacheableInterceptorTest.java
Java
apache-2.0
1,147
package com.example.nick.onliner.Parser; import android.os.AsyncTask; import android.util.Log; import com.example.backend.HttpClient; public class ParseArticle extends AsyncTask<String, Void, String> { @Override protected String doInBackground(String... url) { String html[] = new HttpClient().getHtm...
nikGayko/Onliner
Onliner/app/src/main/java/com/example/nick/onliner/Parser/ParseArticle.java
Java
apache-2.0
873
/** * 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...
dongpf/hadoop-0.19.1
src/test/org/apache/hadoop/hdfs/TestFileAppend.java
Java
apache-2.0
11,168
package com.cloudata.util; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import com.google.common.hash.HashCode; import com.google.common.hash.HashFunction; import com.google.common.io.ByteSource; import com.google.protobuf.ByteString; public class ByteStrings { public sta...
justinsb/cloudata
cloudata-shared/src/main/java/com/cloudata/util/ByteStrings.java
Java
apache-2.0
1,266
package com.JustYY.xiyoulibrary.model; import java.util.List; import java.util.Map; import com.JustYY.xiyoulibrary.R; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.TextView; public...
yuanguozheng/XiyouLibrary
src/com/JustYY/xiyoulibrary/model/SearchResultAdapter.java
Java
apache-2.0
1,562
package com.pinebud.application.wechat.pet.handler; import com.pinebud.application.wechat.pet.utils.JsonUtils; import me.chanjar.weixin.common.session.WxSessionManager; import me.chanjar.weixin.mp.api.WxMpService; import me.chanjar.weixin.mp.bean.message.WxMpXmlMessage; import me.chanjar.weixin.mp.bean.message.WxMpXml...
ysjiang4869/WechatPet
src/main/java/com/pinebud/application/wechat/pet/handler/LogHandler.java
Java
apache-2.0
812
/******************************************************************************* * Copyright (c) 2010 JVM Monitor project. All rights reserved. * * This code is distributed under the terms of the Eclipse Public License v1.0 * which is available at http://www.eclipse.org/legal/epl-v10.html ***********************...
TANGO-Project/code-optimiser-plugin
bundles/org.jvmmonitor.ui/src/org/jvmmonitor/internal/ui/views/JvmTreeLabelProvider.java
Java
apache-2.0
9,589
package com.dplugin.maven.plugins.properties.source; import com.alibaba.druid.pool.DruidDataSourceFactory; import javax.sql.DataSource; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import java...
nayuan/properties-maven-plugin
src/main/java/com/dplugin/maven/plugins/properties/source/JdbcTemplate.java
Java
apache-2.0
3,175
/* * Copyright 2012-2017 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...
dagnir/aws-sdk-java
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/TagResourceResult.java
Java
apache-2.0
2,231
package algo1.common; public class HuiWen { public static void main(String[] args) { f2(123454321); } // 方法一 public static void f1(int n) { if (n >= 10000 && n < 100000) { String s = String.valueOf(n); char[] c = s.toCharArray(); if (c[0]...
lemonJun/Emmet
src/test/java/algo1/common/HuiWen.java
Java
apache-2.0
1,148
package ru.job4j; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * Test. * @author b.savelev * @version 2.0 * @since 1.8 */ public class CalculateTest { /** * Test for echo method. */ @Test public void whenTakeNameThenThreeEchoPlusName() { String i...
dvamedveda/b.savelev
chapter_001/src/test/java/ru/job4j/CalculateTest.java
Java
apache-2.0
500
/* * 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-route53resolver/src/main/java/com/amazonaws/services/route53resolver/model/transform/TagResourceResultJsonUnmarshaller.java
Java
apache-2.0
1,595
/** * Copyright 2017-2018 The OpenTracing 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 law or...
opentracing-contrib/java-spring-cloud
instrument-starters/opentracing-spring-cloud-jdbc-starter/src/main/java/io/opentracing/contrib/spring/cloud/jdbc/JdbcTracingProperties.java
Java
apache-2.0
1,516
/** * Opensec OVAL - https://nakamura5akihito.github.io/ * Copyright (C) 2015 Akihito Nakamura * * 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/...
nakamura5akihito/opensec-oval
src/main/java/io/opensec/oval/model/unix/XinetdState.java
Java
apache-2.0
8,524
/* * Copyright 2014,2015 agwlvssainokuni * * 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...
agwlvssainokuni/springapp
goods/src/test/java/cherry/goods/crypto/AESDeterministicCryptoTest.java
Java
apache-2.0
3,262
/* * Copyright 2010-2017 Boxfuse GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
IAops/flyway
flyway-core/src/test/java/org/flywaydb/core/internal/dbsupport/saphana/SapHanaSqlStatementBuilderSmallTest.java
Java
apache-2.0
2,645
/** * @Copyright (c) BPulse - http://www.bpulse.me */ package me.bpulse.java.client.pulsesrepository; import java.io.File; import java.io.InputStream; import java.sql.BatchUpdateException; import java.sql.Blob; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java...
bpulse/bpulse-sdk-java
src/main/java/me/bpulse/java/client/pulsesrepository/H2PulsesRepository.java
Java
apache-2.0
22,218
/** * Classes related to job management. */ package com.annomarket.job;
annomarket/java-client
library/src/main/java/com/annomarket/job/package-info.java
Java
apache-2.0
74
/* * 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-cloudbuild/v1alpha1/1.31.0/com/google/api/services/cloudbuild/v1alpha1/model/ApprovalResult.java
Java
apache-2.0
5,505
/* * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://duracloud.org/license/ */ package org.duracloud.account.app.controller; import java.util.HashSet; import java.util.Iterator; i...
duracloud/management-console
account-management-app/src/test/java/org/duracloud/account/app/controller/UserControllerTest.java
Java
apache-2.0
17,113
/* 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...
itohro/reladomo
reladomo/src/main/java/com/gs/fw/common/mithra/finder/charop/CharEqOperation.java
Java
apache-2.0
4,102
/** * * Copyright (c) 2006-2017, Speedment, 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 requ...
Pyknic/CodeGen
src/main/java/com/speedment/common/codegen/internal/model/EnumImpl.java
Java
apache-2.0
3,066
/* * Copyright 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...
mbenson/therian
core/src/test/java/therian/operator/convert/ELCoercionConverterTest.java
Java
apache-2.0
2,736
package org.docksidestage.postgresql.dbflute.bsentity.dbmeta; import java.util.List; import java.util.Map; import org.dbflute.Entity; import org.dbflute.dbmeta.AbstractDBMeta; import org.dbflute.dbmeta.info.*; import org.dbflute.dbmeta.name.*; import org.dbflute.dbmeta.property.PropertyGateway; import org.dbflute.dbw...
dbflute-test/dbflute-test-dbms-postgresql
src/main/java/org/docksidestage/postgresql/dbflute/bsentity/dbmeta/MemberStatusDbm.java
Java
apache-2.0
13,091
/* * 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...
FlxRobin/presto
presto-main/src/test/java/com/facebook/presto/sql/planner/TestInterpretedFilterFunction.java
Java
apache-2.0
6,922
package com.jess.arms.common.utils; import android.content.Context; import android.os.Vibrator; /** * <p>All methods requires the caller to hold the permission * {@link android.Manifest.permission#VIBRATE}. * * @author lujianzhao * @date 2014-11-21 */ public class VibrateUtil { /** * Vibrate constantl...
lujianzhao/MVPArmsCopy
arms/src/main/java/com/jess/arms/common/utils/VibrateUtil.java
Java
apache-2.0
2,025
/* * Copyright 2016 Davide Maestroni * * 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...
davide-maestroni/jroutine
stream/src/test/java/com/github/dm/jrt/stream/transform/TransformationsTest.java
Java
apache-2.0
28,083
/** * Copyright 2012-2013 Wicked Charts (http://wicked-charts.googlecode.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/LICEN...
PkayJava/pluggable
framework/src/main/java/com/googlecode/wickedcharts/highcharts/options/DummyOption.java
Java
apache-2.0
1,260
/* * Gap Data * Copyright (C) 2009 John Pritchard * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. * * This p...
syntelos/json
src/json/Primitive.java
Java
apache-2.0
5,415
/* * Copyright 2012-2019 MarkLogic 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 applicabl...
marklogic/data-hub-in-a-box
web/src/main/java/com/marklogic/hub/web/web/AppController.java
Java
apache-2.0
1,192
/* * Copyright 2017 B2i Healthcare Pte Ltd, http://b2i.sg * * 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 ...
IHTSDO/snow-owl
core/com.b2international.snowowl.datastore/src/com/b2international/snowowl/datastore/request/job/CancelJobRequest.java
Java
apache-2.0
1,322
package com.jdroid.android.context; import com.jdroid.android.application.AbstractApplication; import com.jdroid.java.context.GitContext; public class AndroidGitContext implements GitContext { @Override public String getBranch() { return AbstractApplication.get().getBuildConfigValue("GIT_BRANCH"); } @Override...
wskplho/jdroid
jdroid-android/src/main/java/com/jdroid/android/context/AndroidGitContext.java
Java
apache-2.0
419
/* * Copyright 2014 The Netty Project * * The Netty 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 * * Unless re...
phlizik/netty
codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowController.java
Java
apache-2.0
32,790
/* * Copyright 2013-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-cloud/spring-cloud-sleuth
spring-cloud-sleuth-autoconfigure/src/test/java/org/springframework/cloud/sleuth/autoconfig/NoOpPropagator.java
Java
apache-2.0
1,326
/* * 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 ...
freeVM/freeVM
enhanced/buildtest/tests/stress/qa/src/test/stress/org/apache/harmony/test/stress/classloader/share/CorrectClasses/testManyClasses_C53.java
Java
apache-2.0
1,832
package com.defterp.modules.partners.entities; import com.defterp.modules.inventory.entities.DeliveryOrder; import com.defterp.modules.inventory.entities.DeliveryOrderLine; import com.defterp.modules.accounting.entities.Payment; import com.defterp.modules.accounting.entities.JournalEntry; import com.defterp.modules....
medbounaga/CasaERP
src/main/java/com/defterp/modules/partners/entities/Partner.java
Java
apache-2.0
12,256
// Copyright 2015 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
juhalindfors/bazel-patches
src/main/java/com/google/devtools/build/lib/rules/android/AndroidLibrary.java
Java
apache-2.0
13,866
/* * Copyright 1999-2011 Alibaba Group Holding 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 applica...
xiaomozhang/druid
druid-1.0.9/src/test/java/com/alibaba/druid/spring/SequenceDao.java
Java
apache-2.0
1,557
/* * Copyright (C) 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
WaiLynnZaw/android-play-places
PlaceComplete/Application/src/main/java/com/example/android/common/activities/SampleActivityBase.java
Java
apache-2.0
1,643
package Model; // Generated Jan 14, 2011 3:39:55 PM by Hibernate Tools 3.2.1.GA import javax.persistence.AttributeOverride; import javax.persistence.AttributeOverrides; import javax.persistence.Column; import javax.persistence.EmbeddedId; import javax.persistence.Entity; import javax.persistence.FetchType; ...
melanj/my-spare-time-work
ActiveSplashHRM/src/java/Model/EmpEmergencyContacts.java
Java
apache-2.0
3,445
package com.simpletoolbarslider.domain.model; /** * A simple model to represent an item of the list. */ public class Happy { private int id; private String title; private String image; public Happy(int id, String title, String image) { this.id = id; this.title = title; this.image = image; } ...
ppamorim/SimpleToolbarSlider
app/src/main/java/com/simpletoolbarslider/domain/model/Happy.java
Java
apache-2.0
1,104
/* * Copyright (c) 2018, 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/li...
wso2/security-tools
internal/scan-manager/core/src/main/java/org/wso2/security/tools/scanmanager/core/service/ScannerServiceImpl.java
Java
apache-2.0
3,057
/* * Copyright (c) Facebook, Inc. and 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 applic...
zpao/buck
src/com/facebook/buck/core/rules/actions/lib/WriteAction.java
Java
apache-2.0
3,123
/* * Copyright 2010-2011 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
apetresc/aws-sdk-for-java-on-gae
src/main/java/com/amazonaws/services/identitymanagement/model/UploadServerCertificateRequest.java
Java
apache-2.0
15,587
/** * 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...
everttigchelaar/camel-svn
camel-core/src/test/java/org/apache/camel/issues/DoCatchCaughExceptionIssueTest.java
Java
apache-2.0
2,363
package com.lea.dao.script.mission; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.io....
dedmen/LEA
src/com/lea/dao/script/mission/InitMissionDAO.java
Java
apache-2.0
3,498
// Copyright 2015 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
gawkermedia/googleads-java-lib
examples/dfp_axis/src/main/java/dfp/axis/v201511/reportservice/RunDeliveryReportForOrder.java
Java
apache-2.0
5,073
package com.dgwave.car.loader; import java.io.File; import java.io.FileFilter; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; import java.util.jar.JarFile; import org.jboss.modules.DependencySpec; import org.jboss.modules.ModuleFinder...
dgwave/ceylon-jboss-loader
src/main/java/com/dgwave/car/loader/CarModuleFinder.java
Java
apache-2.0
10,700
package com.squidpony.samples; import com.badlogic.gdx.ApplicationAdapter; import com.badlogic.gdx.ApplicationListener; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.InputAdapter; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.math.MathUtils; import com.badlogic.gdx.math.Vector3; import com.badl...
tommyettinger/SquidLib-Demos
Sampler/desktop/src/main/java/com/squidpony/samples/WorldMapTextDemo.java
Java
apache-2.0
17,460
/** * Copyright (C) 2010 the original author or authors. * See the notice.md file distributed with this work for additional * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
Corporatique-dev/Corporatique
src/com/beust/jcommander/IDefaultProvider.java
Java
apache-2.0
1,149
/* * Copyright (c) 2011-2018, Meituan Dianping. All Rights Reserved. * * 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 Y...
dianping/cat
cat-home/src/main/java/com/dianping/cat/report/alert/transaction/TransactionContactor.java
Java
apache-2.0
1,212
package cn.sxx.agilejava.util; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; public class DateUtil { public static Date createDate(int year, int month, int date) { GregorianCalendar calendar = new GregorianCalendar(); calendar.clear(); calendar.set(Calendar.YEAR, year);...
sxxlearn2rock/AgileJavaStudy
src/cn/sxx/agilejava/util/DateUtil.java
Java
apache-2.0
443
package in.uncod.android.bypass; import android.text.style.ImageSpan; import android.view.View; /** * Callback when the image span is clicked */ public interface ImageSpanClickListener { /** * Indicates that an image span has been clicked * * @param view the view * @param imageSpan the imag...
Commit451/bypasses
bypass/src/main/java/in/uncod/android/bypass/ImageSpanClickListener.java
Java
apache-2.0
441
package io.github.ibuildthecloud.dstack.object.serialization.impl; import io.github.ibuildthecloud.dstack.json.JsonMapper; import io.github.ibuildthecloud.dstack.object.ObjectManager; import io.github.ibuildthecloud.dstack.object.meta.ObjectMetaDataManager; import io.github.ibuildthecloud.dstack.object.meta.Relationsh...
ibuildthecloud/dstack
code/framework/object/src/main/java/io/github/ibuildthecloud/dstack/object/serialization/impl/DefaultObjectSerializerImpl.java
Java
apache-2.0
2,931
package org.apereo.cas.services; import org.apereo.cas.authentication.CoreAuthenticationTestUtils; import org.apereo.cas.config.CasCoreUtilConfiguration; import org.apereo.cas.util.CollectionUtils; import lombok.val; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Tag; import org.junit.jupiter.a...
pdrados/cas
core/cas-server-core-authentication-attributes/src/test/java/org/apereo/cas/services/ChainingAttributeReleasePolicyTests.java
Java
apache-2.0
4,343
/* * 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")...
howepeng/isis
core/runtime/src/main/java/org/apache/isis/core/runtime/system/session/IsisSessionFactory.java
Java
apache-2.0
8,032
package ru.prbb.common.cdi.sampleclass; /** * @author lesinsa on 23.03.14. */ public class C2 extends BA implements Intf1, Intf2 { }
lesinsa/horn-soft-pub
commons-2.3/common-jee/src/test/java/ru/prbb/common/cdi/sampleclass/C2.java
Java
apache-2.0
136
/* * 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")...
darranl/directory-shared
ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/normalizers/NumericNormalizer.java
Java
apache-2.0
2,681
/* ******************************************************************************* * L O G I T A G S * Software and Programming * Dr. Wolfgang Winter * Germany * * All rights reserved * * Copyright 2014 Dr. Wolfgang Winter * * Licensed under the Apache License, Version 2.0 (the "License"); * you...
Wolfgang-Winter/cibet
cibet-core/src/main/java/com/logitags/cibet/actuator/owner/WrongOwnerException.java
Java
apache-2.0
1,711
package neo.matrix.reversing.process; import neo.matrix.reversing.model.Event; public interface EventListener { void onEvent(Event event); }
timtish/matrix-world-emulator
core/src/main/java/neo/matrix/reversing/process/EventListener.java
Java
apache-2.0
149
package wm.xmwei.ui.view.lib; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.drawable.Drawable; import android.text.TextUtils; import android.util.AttributeSet; import android...
liftting/XmWeiBo
XmWei/app/src/main/java/wm/xmwei/ui/view/lib/TimeLineAvatarImageView.java
Java
apache-2.0
4,548
/* * @(#)XMLParsing.java 1.6 05/11/17 * * Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * -Redistribution of source code must retain the abov...
lgoldstein/communitychest
chest/web/jnlp-servlet/src/main/java/jnlp/sample/servlet/XMLParsing.java
Java
apache-2.0
8,061
package org.jeewx.api.coupon.location.model; public class Cash { //基本的卡券 private BaseInfo base_info; //代金券专用,表示起用金额 private Double least_cost; //代金券专用,表示减免金额 private Double reduce_cost; public BaseInfo getBase_info() { return base_info; } public void setBase_info(BaseInfo base_info) { this.base_info = b...
zhangdaiscott/jeewx-api
src/main/java/org/jeewx/api/coupon/location/model/Cash.java
Java
apache-2.0
681
package edu.neu.ccs.pyramid.regression.p_boost; import edu.neu.ccs.pyramid.dataset.DataSet; import edu.neu.ccs.pyramid.dataset.RegDataSet; import edu.neu.ccs.pyramid.optimization.gradient_boosting.GBOptimizer; import edu.neu.ccs.pyramid.optimization.gradient_boosting.GradientBoosting; import edu.neu.ccs.pyramid.regres...
cheng-li/pyramid
core/src/main/java/edu/neu/ccs/pyramid/regression/p_boost/PBoostOptimizer.java
Java
apache-2.0
3,271
package org.gradle.test.performance.mediummonolithicjavaproject.p494; public class Production9895 { 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/p494/Production9895.java
Java
apache-2.0
1,891
/* Copyright 2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
crow-misia/xmlbeans
src/xmlpublic/org/apache/xmlbeans/XmlCursor.java
Java
apache-2.0
69,754
package cn.binarywang.wx.miniapp.constant; /** * <pre> * 小程序常量. * </pre> * * @author <a href="https://github.com/binarywang">Binary Wang</a> */ public abstract class WxMaConstants { private WxMaConstants() { } /** * 默认的env_version值 */ public static final String DEFAULT_ENV_VERSION = "release"; ...
Wechat-Group/WxJava
weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/constant/WxMaConstants.java
Java
apache-2.0
3,434
/* * 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...
consulo/consulo-android
android/android/src/com/android/tools/idea/gradle/project/PostProjectSetupTasksExecutor.java
Java
apache-2.0
29,206
package com.gxq.util; import java.security.KeyStore; import java.security.SecureRandom; import java.util.Map; import java.util.Set; import java.util.concurrent.Future; import javax.net.ssl.KeyManagerFactory; import javax.net.ssl.SSLContext; import org.springframework.core.io.ClassPathResource; import org...
Barry1990/ad
src/main/java/com/gxq/util/HttpKit.java
Java
apache-2.0
6,439
package org.support.project.knowledge.dao.gen; import java.util.List; import java.io.InputStream; import java.sql.Timestamp; import org.support.project.knowledge.entity.ServiceConfigsEntity; import org.support.project.ormapping.dao.AbstractDao; import org.support.project.ormapping.exception.ORMappingException; impo...
support-project/knowledge
src/main/java/org/support/project/knowledge/dao/gen/GenServiceConfigsDao.java
Java
apache-2.0
16,811
package com.yuyakaido.android.couplescalendar.model; import android.text.TextUtils; import com.yuyakaido.android.couplescalendar.util.CalendarUtils; import org.joda.time.DateTime; import org.joda.time.Duration; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * Created by yuyakaido on 8...
yuyakaido/CouplesCalendar
couples-calendar/src/main/java/com/yuyakaido/android/couplescalendar/model/InternalEvent.java
Java
apache-2.0
3,661
package hr.oet.dbtester.tester.list; import com.google.common.collect.*; import hr.oet.dbtester.ParametersProvider; import hr.oet.dbtester.ResultProvider; import hr.oet.dbtester.datasource.DataSourceFactory; import oracle.jdbc.pool.OracleDataSource; import org.apache.commons.dbutils.QueryRunner; import org.apache.comm...
ksaric/DbTester
src/main/java/hr/oet/dbtester/tester/list/DbTester.java
Java
apache-2.0
3,770
package edu.smartvehicle.view.reader; import java.io.FileInputStream; import java.io.IOException; import java.util.Iterator; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.xssf.usermodel.XSSFSheet; import org.apache.poi.xssf.usermodel.XSSFWorkbook; /** * @author Edith Zavala */ public class Actuator...
edithzavala/sacre-sv
SmartVehicleView/SmartVehicleView/src/edu/smartvehicle/view/reader/ActuatorsReader.java
Java
apache-2.0
1,303
/* * Copyright 2008 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...
syntelos/gwtcc
src/com/google/gwt/dom/client/HeadingElement.java
Java
apache-2.0
2,043
/* * 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...
hazendaz/assertj-core
src/test/java/org/assertj/core/api/Assertions_withinPercentage_Test.java
Java
apache-2.0
1,154
/* Copyright 2002 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable l...
Uni-Sol/batik
sources/org/apache/batik/css/engine/sac/CSSAttributeCondition.java
Java
apache-2.0
3,552
package com.marakana.android.fibonaccicommon; import android.os.Parcel; import android.os.Parcelable; public class FibonacciRequest implements Parcelable { public static enum Type { RECURSIVE_JAVA, ITERATIVE_JAVA, RECURSIVE_NATIVE, ITERATIVE_NATIVE } private long n; private Type type; public FibonacciReque...
xe1gyq/androidlearning
training/NewCircle/github/FibonacciBinderDemo/FibonacciCommon/src/com/marakana/android/fibonaccicommon/FibonacciRequest.java
Java
apache-2.0
1,464
package dk.statsbiblioteket.doms.client.objects; import dk.statsbiblioteket.doms.client.datastreams.Datastream; import dk.statsbiblioteket.doms.client.exceptions.NotFoundException; import dk.statsbiblioteket.doms.client.exceptions.ServerOperationFailed; import dk.statsbiblioteket.doms.client.exceptions.XMLParseExcepti...
statsbiblioteket/doms-client
domsClient-common-interface/src/main/java/dk/statsbiblioteket/doms/client/objects/DigitalObject.java
Java
apache-2.0
4,367
/* * Copyright 2020 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 to ...
googleapis/java-vision
proto-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ColorInfo.java
Java
apache-2.0
26,401
package com.fjfalcon.cache.memory; import com.fjfalcon.cache.Cache; import com.fjfalcon.cache.filesystem.FileSystemCache; import org.junit.After; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.*; public class MemoryCacheTest { private Cache<Integer, String> cache; @Before ...
fjfalcon/TwoLevelCache
src/test/java/com/fjfalcon/cache/memory/MemoryCacheTest.java
Java
apache-2.0
1,909
/* * Copyright 2013-2015 Urs Wolfer * * 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 ...
uwolfer/gerrit-rest-java-client
src/main/java/com/urswolfer/gerrit/client/rest/http/config/ServerRestClient.java
Java
apache-2.0
2,125
package com.medievallords.carbyne.utils.slack; import com.google.gson.JsonObject; /** * A message to be sent through the {@link SlackAPI}. */ public class SlackMessage { private String _username; private String _icon; private String _content; /** * Class constructor. * * @param cont...
YoungOG/CarbyneCore
src/com/medievallords/carbyne/utils/slack/SlackMessage.java
Java
apache-2.0
2,778
package com.coolweather.app.util; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import org.json.JSONException; import org.json.JSONObject; import com.coolweather.app.db.CoolWeatherDB; import com.coolweather.app.model.City; import com.coolweather.app.model.County; impo...
lixiaodong0814/CoolWeather
src/com/coolweather/app/util/Utility.java
Java
apache-2.0
3,963
/* * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
emil-wcislo/sbql4j8
sbql4j8/src/test/openjdk/tools/javac/api/T6431879.java
Java
apache-2.0
2,541
/* * 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 ...
mwkang/zeppelin
spark/spark2-shims/src/main/scala/org/apache/zeppelin/spark/Spark2Shims.java
Java
apache-2.0
4,240
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Capgemini/gregor
src/test/java/com/capgemini/gregor/internal/consumer/KafkaConsumersConfigurationTest.java
Java
apache-2.0
3,140
/** * JBoss, Home of Professional Open Source. * Copyright 2014-2018 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the...
jdcasey/pnc
model/src/main/java/org/jboss/pnc/model/BuildRecordPushResult.java
Java
apache-2.0
5,573
package ru.job4j.supermarket.strorage; import ru.job4j.supermarket.foods.Food; import java.time.LocalDate; import java.util.List; /** * Created by Intellij IDEA. * User: Vitaly Zubov. * Email: Zubov.VP@yandex.ru. * Version: $Id$. * Date: 22.11.2019. */ public class Trash extends AbstractStorage { public Tr...
ZubovVP/ZubovVP
chapter_010/src/main/java/ru/job4j/supermarket/strorage/Trash.java
Java
apache-2.0
819
/* * 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 ...
Claudenw/junit-contracts
junit/src/main/java/org/xenei/junit/contract/info/DynamicSuiteInfo.java
Java
apache-2.0
2,314
package pl.egalit.vocab.client.courseDetails; import pl.egalit.vocab.client.core.mvp.VocabView; import pl.egalit.vocab.client.courseDetails.CourseDetailsView.Presenter; import pl.egalit.vocab.client.requestfactory.WordProxy; public interface NewWordsView extends VocabView, TabChangedListener { void hideForm(); voi...
piotrporzucek/vocab
src/main/java/pl/egalit/vocab/client/courseDetails/NewWordsView.java
Java
apache-2.0
514
package it.finsiel.siged.mvc.presentation.action.amministrazione.firmadigitale; import it.finsiel.siged.exception.DataException; import it.finsiel.siged.mvc.business.FirmaDigitaleDelegate; import it.finsiel.siged.mvc.presentation.actionform.amministrazione.firmadigitale.ListaCAForm; import javax.servlet.http.HttpServ...
grusso14/eprot
src/it/finsiel/siged/mvc/presentation/action/amministrazione/firmadigitale/ListaCAAction.java
Java
apache-2.0
2,749
/* * Copyright 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 "license" file ...
aws/aws-sdk-java-v2
codegen/src/main/java/software/amazon/awssdk/codegen/poet/model/ResponseMetadataSpec.java
Java
apache-2.0
5,616
// Copyright (C) 2018 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 applicable ...
WANdisco/gerrit
java/com/google/gerrit/acceptance/testsuite/account/AccountOperationsImpl.java
Java
apache-2.0
6,672
package top.chenat.bean; import javax.persistence.Entity; /** * Created by ChenAt on 10/17/17. * desc: */ @Entity public class Test2 { }
ChenAt/common-dao
src/test/java/top/chenat/bean/Test2.java
Java
apache-2.0
142
package org.zstack.network.service.virtualrouter; import org.zstack.header.query.APIQueryMessage; import org.zstack.header.query.AutoQuery; /** */ @AutoQuery(replyClass = APIQueryVirtualRouterVmReply.class, inventoryClass = VirtualRouterVmInventory.class) public class APIQueryVirtualRouterVmMsg extends APIQu...
SoftwareKing/zstack
plugin/virtualRouterProvider/src/main/java/org/zstack/network/service/virtualrouter/APIQueryVirtualRouterVmMsg.java
Java
apache-2.0
337
package net.ggelardi.uoccin; import net.ggelardi.uoccin.comp.IntListPreference; import net.ggelardi.uoccin.serv.Commons.PK; import net.ggelardi.uoccin.serv.Session; import android.accounts.Account; import android.accounts.AccountManager; import android.content.Intent; import android.os.Bundle; import android.preferenc...
RoundSparrow/Uoccin
app/src/main/java/net/ggelardi/uoccin/SettingsFragment.java
Java
apache-2.0
5,266
/*************************************************************************** * Copyright (c) 2016 the WESSBAS 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...
Wessbas/wessbas.behaviorModelExtractor
src-gen/net/sf/markov4jmeter/behavior/impl/BehaviorModelRelativeImpl.java
Java
apache-2.0
1,594
/** * Copyright (C) 2012 Ness Computing, 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 ...
NessComputing/components-ness-jackson
src/main/java/com/nesscomputing/jackson/datatype/CustomUuidSerializer.java
Java
apache-2.0
1,355