repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
rrr6399/JSatTrakLib
src/name/gano/math/nonlinsolvers/TestDC.java
2369
/* *===================================================================== * This file is part of JSatTrak. * * Copyright 2007-2013 Shawn E. Gano * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o...
apache-2.0
OpenUniversity/ovirt-engine
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddTagCommand.java
1202
package org.ovirt.engine.core.bll; import org.ovirt.engine.core.common.AuditLogType; import org.ovirt.engine.core.common.action.TagsOperationParameters; import org.ovirt.engine.core.common.businessentities.Tags; import org.ovirt.engine.core.common.errors.EngineMessage; import org.ovirt.engine.core.dal.dbbroker.DbFacad...
apache-2.0
strepsirrhini-army/chaos-loris
src/main/java/io/pivotal/strepsirrhini/chaosloris/web/ScheduleCreateInput.java
1325
/* * Copyright 2015-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 ap...
apache-2.0
growbit/turbogwt
turbogwt-mvp/src/main/java/org/turbogwt/mvp/AbstractView.java
851
package org.turbogwt.mvp; import com.google.gwt.user.client.ui.Composite; /** * Abstract class for every View in the TurboGWT-MVP framework. * <p> * It provides access to its Presenter via the {@link #getPresenter} method. * * @param <P> the Presenter that is attached to this View, whenever it is displayed * *...
apache-2.0
kelongxhu/jedis-sentinel-pool
src/main/java/redis/clients/jedis/Command.java
3425
package redis.clients.jedis; import com.esotericsoftware.reflectasm.MethodAccess; import org.apache.log4j.Logger; import java.util.Map; public abstract class Command { private final static Logger LOG = Logger.getLogger(Command.class); private final static MethodAccess access = MethodAccess .get(ShardedJedis.cl...
apache-2.0
vimaier/conqat
org.conqat.engine.text/src/org/conqat/engine/text/identifier/IdentifierProcessorBase.java
2775
/*-------------------------------------------------------------------------+ | | | Copyright 2005-2011 The ConQAT Project | | | | Licensed u...
apache-2.0
millmanorama/autopsy
Core/src/org/sleuthkit/autopsy/commonfilesearch/InstanceCountNode.java
6850
/* * * Autopsy Forensic Browser * * Copyright 2018 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> 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 * * ht...
apache-2.0
java110/MicroCommunity
service-fee/src/main/java/com/java110/fee/bmo/feeDiscount/IUpdateFeeDiscountBMO.java
433
package com.java110.fee.bmo.feeDiscount; import com.alibaba.fastjson.JSONArray; import com.java110.po.feeDiscount.FeeDiscountPo; import org.springframework.http.ResponseEntity; public interface IUpdateFeeDiscountBMO { /** * 修改费用折扣 * add by wuxw * * @param feeDiscountPo * @return */...
apache-2.0
sonu283304/onos
apps/openstacknetworking/web/src/main/java/org/onosproject/openstacknetworking/web/OpenstackSubnetWebResource.java
2056
/* * Copyright 2015 Open Networking Laboratory * * 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
youdonghai/intellij-community
platform/lang-impl/src/com/intellij/application/options/colors/FontOptions.java
13068
/* * 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...
apache-2.0
ron-k/Dagged2-Hello-World
app/src/main/java/com/example/dagger2_hello_world/ApplicationModule.java
596
package com.example.dagger2_hello_world; import android.content.Context; import android.support.annotation.NonNull; import javax.inject.Named; import dagger.Binds; import dagger.Module; import dagger.Provides; @Module public abstract class ApplicationModule { @Provides @NonNull static Application myApp...
apache-2.0
jmini/asciidoctorj-experiments
code-converter/mock-code-converter/src/test/java/fr/jmini/asciidoctorj/converter/mockcode/MockCodeGeneratorListItemTest.java
2308
package fr.jmini.asciidoctorj.converter.mockcode; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.util.Collections; import org.asciidoctor.ast.ListItem; import org.junit.Test; import fr.jmini.asciidoctorj.converter.code.CodeTestingUtility; public class MockCodeGeneratorL...
apache-2.0
groupon/vertx-memcache
src/main/java/com/groupon/vertx/memcache/client/response/StoreCommandResponse.java
1563
/** * Copyright 2014 Groupon.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
apache-2.0
wicloud/crop-image
CropperSample/src/com/yuqiaotech/erp/editimage/cropper/util/AspectRatioUtil.java
3853
/* * Copyright 2013, Edmodo, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. * You may obtain a copy of the License in the LICENSE file, or at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
gchq/stroom
stroom-config/stroom-config-global-impl/src/main/java/stroom/config/global/impl/UserPreferencesDao.java
303
package stroom.config.global.impl; import stroom.ui.config.shared.UserPreferences; import java.util.Optional; public interface UserPreferencesDao { Optional<UserPreferences> fetch(String userId); int update(String userId, UserPreferences userPreferences); int delete(String userId); }
apache-2.0
mingwuyun/cocos2d-java
external/com/cocos2dj/module/btree/BhTree.java
2892
package com.cocos2dj.module.btree; import java.util.HashMap; import com.badlogic.gdx.ai.btree.BehaviorTree; import com.badlogic.gdx.ai.btree.Task; import com.badlogic.gdx.ai.btree.branch.Parallel; import com.badlogic.gdx.ai.btree.branch.Parallel.Policy; import com.badlogic.gdx.ai.btree.branch.Selector; import com.bad...
apache-2.0
shopping24/solr-thymeleaf
src/test/java/com/s24/search/solr/response/LuceneTemplateResolverIT.java
1192
package com.s24.search.solr.response; import java.util.ArrayList; import java.util.List; import org.apache.lucene.analysis.util.ResourceLoader; import org.apache.solr.SolrTestCaseJ4; import org.apache.solr.core.SolrResourceLoader; import org.junit.Test; import org.thymeleaf.TemplateEngine; import org.thymeleaf.templa...
apache-2.0
hkuhn42/bottery
bottery.connector.ms/src/main/java/rocks/bottery/connector/ms/model/OpenIdConfig.java
4633
/** * Copyright (C) 2016-2018 Harald Kuhn * * 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
rabix/bunny
rabix-bindings-cwl/src/main/java/org/rabix/bindings/cwl/bean/CWLWorkflow.java
3152
package org.rabix.bindings.cwl.bean; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.rabix.bindings.cwl.json.CWLStepsDeserializer; import org.rabix.bindings.model.ValidationReport; import org.rabix.common.json.BeanPropertyView; import com.fasterxml.jackso...
apache-2.0
a1018875550/PermissionDispatcher
library/src/main/java/org/jokar/permissiondispatcher/annotation/NeedsPermission.java
431
package org.jokar.permissiondispatcher.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Register some methods which permissions are needed. * Created by JokAr on 16/8/22. */ @Target(Ele...
apache-2.0
Adobe-Marketing-Cloud/htl-tck
src/test/java/io/sightly/tck/html/HTMLExtractorTest.java
4580
/******************************************************************************* * Copyright 2017 Adobe Systems Incorporated * * 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:/...
apache-2.0
parshimers/incubator-asterixdb
asterix-installer/src/main/java/edu/uci/ics/asterix/installer/driver/InstallerUtil.java
3396
/* * Copyright 2009-2013 by The Regents of the University of California * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * you may obtain a copy of the License from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
apache-2.0
52North/geoar-app
src/main/java/org/n52/geoar/newdata/InstalledPluginHolder.java
7501
/** * Copyright 2012 52°North Initiative for Geospatial Open Source Software 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...
apache-2.0
gbif/metrics
metrics-es/src/main/java/org/gbif/metrics/es/Parameter.java
1522
/* * Copyright 2020 Global Biodiversity Information Facility (GBIF) * * 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...
apache-2.0
pacozaa/BoofCV
main/ip/benchmark/boofcv/abst/filter/convolve/BenchmarkConvolve.java
7931
/* * Copyright (c) 2011-2015, 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...
apache-2.0
pdxrunner/geode
geode-core/src/main/java/org/apache/geode/internal/tcp/TCPConduit.java
37478
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional information regarding * copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may not ...
apache-2.0
TibiSecurity/progkorny
src/main/java/view/FormPanel.java
12691
package view; import java.awt.Dimension; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import java.awt.event.KeyEvent; import java...
apache-2.0
michaeloverman/Weather
app/src/main/java/com/example/android/sunshine/app/DetailActivity.java
4561
package com.example.android.sunshine.app; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.view.MenuItemCompat; import android.support.v7.app.ActionBarActivity; import android.support.v7.widget.ShareActionProvider; import android.view.LayoutInfl...
apache-2.0
jiaozhujun/c3f
src-core/com/youcan/core/l.java
1306
package com.youcan.core; import org.apache.log4j.LogManager; import org.apache.log4j.Logger; import com.youcan.core.l; public class l { protected l() { //do nothing System.out.println("l started."); } private static Logger log; public static final boolean init(String logName) { if ((log =...
apache-2.0
NovaViper/ZeroQuest
1.6.4-src/common/zeroquest/entity/helper/CustomJakanHelper.java
1197
/* ** 2013 October 27 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. */ package...
apache-2.0
yahoo/athenz
libs/java/auth_core/src/test/java/com/yahoo/athenz/auth/oauth/validator/OAuthJwtAccessTokenValidatorTest.java
4643
/* * Copyright 2020 Yahoo 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
vmatelsky/churches
Churches/com.churches.by/src/main/java/com/churches/by/ui/AboutDialog.java
684
package com.churches.by.ui; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.Window; import com.churches.by.R; public class AboutDialog extends DialogFragment { public AboutDi...
apache-2.0
mtaylor/DataBroker
control-common/src/main/java/com/arjuna/databroker/control/comms/PropertiesDTO.java
727
/* * Copyright (c) 2013-2014, Arjuna Technologies Limited, Newcastle-upon-Tyne, England. All rights reserved. */ package com.arjuna.databroker.control.comms; import java.io.Serializable; import java.util.Map; public class PropertiesDTO implements Serializable { private static final long serialVersionUID = -482...
apache-2.0
gchq/stroom
stroom-security/stroom-security-impl/src/main/java/stroom/security/impl/SessionListService.java
946
/* * Copyright 2017 Crown Copyright * * 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
ifnul/ums-backend
is-lnu-converter/src/main/java/org/lnu/is/converter/person/paper/PersonPaperResourceConverter.java
1692
package org.lnu.is.converter.person.paper; import org.lnu.is.annotations.Converter; import org.lnu.is.converter.AbstractConverter; import org.lnu.is.domain.honors.type.HonorType; import org.lnu.is.domain.paper.type.PaperType; import org.lnu.is.domain.person.Person; import org.lnu.is.domain.person.paper.PersonPaper; im...
apache-2.0
cshaxu/voldemort
src/java/voldemort/server/protocol/vold/VoldemortNativeRequestHandler.java
8979
package voldemort.server.protocol.vold; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.nio.ByteBuffer; import org.apache.log4j.Logger; import voldemort.VoldemortException; import voldemort.common.VoldemortOpCode; import voldemort.common.nio.ByteBufferBackedIn...
apache-2.0
fuerve/VillageElder
src/test/java/com/fuerve/villageelder/indexing/IndexManagerTest.java
8850
/** * 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
jasonchuang/SoftwareVideoPlayer
src/com/jasonsoft/softwarevideoplayer/LoadThumbnailTask.java
3200
package com.jasonsoft.softwarevideoplayer; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory.Options; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.AsyncTask; import andr...
apache-2.0
noironetworks/genie
src/main/java/org/opendaylight/opflex/genie/content/format/meta/mdl/FContDef.java
2728
package org.opendaylight.opflex.genie.content.format.meta.mdl; import java.util.TreeMap; import org.opendaylight.opflex.genie.content.model.mclass.MClass; import org.opendaylight.opflex.genie.content.model.mprop.MProp; import org.opendaylight.opflex.genie.engine.file.WriteStats; import org.opendaylight.opflex.genie.e...
apache-2.0
tedwen/transmem
src/com/transmem/doc/BitextLoader.java
4846
package com.transmem.doc; import java.io.IOException; import java.io.File; import java.io.PrintWriter; import java.io.FileReader; import java.io.BufferedReader; import java.util.ArrayList; import java.util.logging.Logger; import java.sql.SQLException; /** * Bitext loader loads a bilingual parallel text from two sepa...
apache-2.0
jdcheng/proctor-git
proctor-common/src/main/java/com/indeed/proctor/common/AbstractProctorLoader.java
4349
package com.indeed.proctor.common; import com.google.common.base.Preconditions; import com.google.common.base.Supplier; import com.indeed.util.core.DataLoadingTimerTask; import com.indeed.util.varexport.Export; import com.indeed.proctor.common.model.Audit; import com.indeed.proctor.common.model.TestMatrixArtifact; imp...
apache-2.0
dev9com/crash-dummy
src/main/java/com/dev9/crash/bad/FillHeapLocalMethodOnStack.java
757
package com.dev9.crash.bad; import com.dev9.crash.AbstractBadThing; import org.springframework.stereotype.Service; @Service public class FillHeapLocalMethodOnStack extends AbstractBadThing { public String getBadThingDescription() { return "Fills up the heap using an object with a local method. This metho...
apache-2.0
dbflute-test/dbflute-test-dbms-mysql
src/main/java/org/docksidestage/mysql/dbflute/allcommon/CDef.java
262223
/* * Copyright 2004-2013 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
Ardesco/selenium
java/server/src/org/openqa/selenium/grid/server/BaseServerFlags.java
3196
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
apache-2.0
raydac/netbeans-mmd-plugin
mind-map/mind-map-swing-panel/src/main/java/com/igormaznitsa/mindmap/plugins/processors/ExtraJumpPlugin.java
2189
/* * Copyright 2015-2018 Igor Maznitsa. * * 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 a...
apache-2.0
kahboom/apiman
gateway/platforms/servlet/src/test/java/io/apiman/gateway/platforms/servlet/auth/tls/CipherAndProtocolSelectionTest.java
16375
/* * Copyright 2015 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
apache-2.0
cfaddict/jhipster-course
sample-app/entblog/src/main/java/com/therealdanvega/blog/repository/BlogRepository.java
453
package com.therealdanvega.blog.repository; import com.therealdanvega.blog.domain.Blog; import org.springframework.data.jpa.repository.*; import java.util.List; /** * Spring Data JPA repository for the Blog entity. */ @SuppressWarnings("unused") public interface BlogRepository extends JpaRepository<Blog,Long> { ...
apache-2.0
jeffbrown/grailsnolib
grails-test-suite-uber/src/test/groovy/org/codehaus/groovy/grails/validation/ValidatorConstraintTests.java
4992
package org.codehaus.groovy.grails.validation; import groovy.lang.Closure; import groovy.lang.GroovyShell; /** * Test cases for custom 'validator' constraint. * * @author Sergey Nebolsin (<a href="mailto:nebolsin@gmail.com"/>) */ public class ValidatorConstraintTests extends AbstractConstraintTests { ...
apache-2.0
wpinnoo/GarbageCalendar
app/src/main/java/eu/pinnoo/garbagecalendar/data/Sector.java
2236
/* * Copyright 2014 Wouter Pinnoo * * 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
porcelli-forks/kie-wb-common
kie-wb-common-dmn/kie-wb-common-dmn-api/src/test/java/org/kie/workbench/common/dmn/api/definition/model/LiteralExpressionTest.java
3360
/* * Copyright 2019 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
apache-2.0
mattyb149/nifi
nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/record/util/DataTypeUtils.java
80351
/* * 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
lisongshan/causalGraphicalModel
causality/src/main/java/net/graphical/model/causality/graph/model/AdjImpl/GraphBase.java
10564
package net.graphical.model.causality.graph.model.AdjImpl; import net.graphical.model.causality.graph.model.Edge; import net.graphical.model.causality.graph.model.EdgeType; import net.graphical.model.causality.graph.model.Node; import java.util.*; import java.util.stream.Collectors; /** * Created by sli on 10/27/1...
apache-2.0
vivchar/RendererRecyclerViewAdapter
rendererrecyclerviewadapter/src/main/java/com/github/vivchar/rendererrecyclerviewadapter/DiffCallback.java
248
package com.github.vivchar.rendererrecyclerviewadapter; import androidx.recyclerview.widget.DiffUtil; /** * Created by Vivchar Vitaly on 21.10.17. */ public abstract class DiffCallback <BM extends ViewModel> extends DiffUtil.ItemCallback<BM> {}
apache-2.0
gspandy/divconq
divconq.core/src/main/java/divconq/log/Logger.java
16322
/* ************************************************************************ # # DivConq # # http://divconq.com/ # # Copyright: # Copyright 2014 eTimeline, LLC. All rights reserved. # # License: # See the license.txt file in the project's top-level directory for details. # # Authors: # * Andy ...
apache-2.0
consulo/hub.consulo.io
backend/src/main/java/consulo/hub/backend/repository/PluginChannelRestController.java
6497
package consulo.hub.backend.repository; import consulo.hub.shared.auth.Roles; import consulo.hub.shared.auth.domain.UserAccount; import consulo.hub.shared.repository.PluginChannel; import consulo.hub.shared.repository.PluginNode; import org.springframework.beans.factory.annotation.Autowired; import org.springframework...
apache-2.0
naveenmadhire/json-wikipedia
src/main/java/it/cnr/isti/hpc/wikipedia/reader/WikipediaArticleReader.java
5043
/** * Copyright 2011 Diego Ceccarelli * * 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
yljnet/Labuy
app/src/main/java/com/netsun/labuy/utils/HttpUtils.java
1145
package com.netsun.labuy.utils; import java.io.IOException; import okhttp3.Callback; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.RequestBody; import okhttp3.Response; /** * Created by Administrator on 2017/2/24. */ public class HttpUtils { public static void get(String url, Callback ca...
apache-2.0
morungos/turalt-openmentor
src/test/java/com/turalt/openmentor/security/SessionAuthenticationFilterTest.java
9236
package com.turalt.openmentor.security; import static org.easymock.EasyMock.*; import java.io.UnsupportedEncodingException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.Authentication...
apache-2.0
schlusslicht/Cheiron
src/Cheiron/Datasource/Datasource.java
413
package Cheiron.Datasource; import java.util.Map; public abstract class Datasource { public abstract Map<String, Map<String, String>> getData() throws Exception; public Object get(String field) throws Exception { return this.getClass().getDeclaredField(field).get(this); } public void set(String field, Object...
apache-2.0
equella/Equella
Source/Plugins/Core/com.equella.core/src/com/tle/web/sections/jquery/libraries/JQueryDroppable.java
1764
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
apache-2.0
lucasgrittem/AppsCwb
FuelClubWeb/src/br/com/fuelclub/entity/Dias_Da_Semana.java
2617
package br.com.fuelclub.entity; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToMany; import javax.persistence.Table; @Entity @Table (name = "Dias_da_Semana") public c...
apache-2.0
hmmlopez/citrus
modules/citrus-core/src/main/java/com/consol/citrus/validation/json/JsonPathMessageConstructionInterceptor.java
4178
/* * Copyright 2006-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 app...
apache-2.0
stori-es/stori_es
dashboard/src/main/java/org/consumersunion/stories/dashboard/client/application/ui/block/configurator/BlockConfigurator.java
664
package org.consumersunion.stories.dashboard.client.application.ui.block.configurator; import org.consumersunion.stories.common.client.util.Callback; import org.consumersunion.stories.dashboard.client.application.ui.block.HasValidation; import com.google.gwt.editor.client.Editor; /** * Interface for the various {@l...
apache-2.0
spring-projects/spring-security
config/src/main/java/org/springframework/security/config/http/UserDetailsServiceFactoryBean.java
5210
/* * Copyright 2002-2016 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
tilioteo/vmaps
src/main/java/org/vaadin/gwtgraphics/client/Image.java
4289
/* * Copyright 2011 Henri Kerola * * 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
newsreader/StreamEventCoreference
src/main/java/eu/newsreader/eventcoreference/output/CorefSetToSem.java
27687
package eu.newsreader.eventcoreference.output; import eu.newsreader.eventcoreference.input.CorefSaxParser; import eu.newsreader.eventcoreference.objects.CoRefSetAgata; import eu.newsreader.eventcoreference.objects.CorefTargetAgata; import eu.newsreader.eventcoreference.objects.Triple; import java.io.File; import java...
apache-2.0
denisneuling/cctrl.jar
cctrl-api/src/main/java/com/cloudcontrolled/api/model/Version.java
2646
/* * 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
lburgazzoli/apache-activemq-artemis
examples/features/standard/ssl-enabled-dual-authentication/src/main/java/org/apache/activemq/artemis/jms/example/SSLDualAuthenticationExample.java
3962
/* * 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 n...
apache-2.0
TU-Berlin/mathosphere
mathosphere-core/src/test/java/com/formulasearchengine/mathosphere/mlp/text/WikidataInterfaceTest.java
6118
package com.formulasearchengine.mathosphere.mlp.text; import com.google.common.collect.Lists; import org.junit.Assert; import org.junit.Test; import java.io.File; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java...
apache-2.0
sguisse/InfoWkspOrga
10-Application/Application/Swing-Sample-APP/src/main/java/com/sgu/infowksporga/jfx/menu/action/edit/RemoveFileExplorerViewFilesAction.java
2323
package com.sgu.infowksporga.jfx.menu.action.edit; import java.awt.event.ActionEvent; import com.sgu.apt.annotation.AnnotationConfig; import com.sgu.apt.annotation.i18n.I18n; import com.sgu.apt.annotation.i18n.I18nProperty; import com.sgu.core.framework.gui.swing.util.UtilGUI; import com.sgu.infowksporga.jfx.menu.act...
apache-2.0
jpatanooga/Canova
canova-api/src/main/java/org/canova/api/berkeley/MyMethod.java
157
package org.canova.api.berkeley; /** * A function wrapping interface. * @author John DeNero */ public interface MyMethod<I, O> { public O call(I obj); }
apache-2.0
DSC-SPIDAL/dapwc
src/main/java/edu/indiana/soic/spidal/dapwc/PlotTools.java
14272
package edu.indiana.soic.spidal.dapwc; public class PlotTools { // TODO - fix PlotTools /* public static void CreatePlotWithCenters(String centerFile, String pointsFile, String clusterNumberFile, int numberOfCenterPointsToIncludeInEachCenterType, String centerPlotFile, String plotDescription) { *//* Generate al...
apache-2.0
limagiran/hearthstone
src/com/limagiran/hearthstone/heroi/view/PanelHeroi.java
1754
package com.limagiran.hearthstone.heroi.view; import com.limagiran.hearthstone.heroi.control.Heroi; import com.limagiran.hearthstone.util.AbsolutesConstraints; import com.limagiran.hearthstone.util.Images; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JPanel; import org.netbeans.lib.awte...
apache-2.0
googleapis/java-compute
google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskTypesCallableFactory.java
4644
/* * 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 to...
apache-2.0
shiyuzhe/coolweather
app/src/main/java/android/coolweather/com/coolweather/service/AutoUpdateService.java
3589
package android.coolweather.com.coolweather.service; import android.app.AlarmManager; import android.app.PendingIntent; import android.app.Service; import android.content.Intent; import android.content.SharedPreferences; import android.coolweather.com.coolweather.gson.Weather; import android.coolweather.com.coolweathe...
apache-2.0
leapframework/framework
data/orm/src/main/java/leap/orm/domain/Domain.java
4481
/* * Copyright 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 b...
apache-2.0
dzb/fw-kit
src/main/java/fw/db/connection/impl/RecordHandlerImpl.java
1457
package fw.db.connection.impl; import fw.common.util.CE; import fw.common.util.LE; import fw.db.connection.DBException; import fw.db.connection.RecordHandler; import java.sql.ResultSet; import java.sql.ResultSetMetaData; /** * 通用的EntityBean查询映射处理类<br/> * NOTE: 给定的Entity必须符合STREET规定的命名规则 * @author dzb * * @para...
apache-2.0
jcampos8782/guice-persist-hibernate
guice-persist-hibernate-core/src/test/java/me/jasoncampos/inject/persist/hibernate/HibernatePersistModuleTest.java
2609
package me.jasoncampos.inject.persist.hibernate; import static org.junit.Assert.assertEquals; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Map; import javax.persistence.Entity; import javax.persistence.Id; import org.junit.Before; import org.junit.Test; import com....
apache-2.0
Toporin/SatoChipClient
src/main/java/org/satochip/satochipclient/CardConnectorException.java
2634
/* * java API for the SatoChip Bitcoin Hardware Wallet * (c) 2015 by Toporin - 16DMCk4WUaHofchAhpMaQS4UPm4urcy2dN * Sources available on https://github.com/Toporin * * Copyright 2015 by Toporin (https://github.com/Toporin) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may n...
apache-2.0
a642500/Ybook
app/src/main/java/com/ybook/app/pinnedheaderlistview/SectionedBaseAdapter.java
6634
package com.ybook.app.pinnedheaderlistview; import android.util.SparseArray; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import com.ybook.app.pinnedheaderlistview.PinnedHeaderListView.PinnedSectionedHeaderAdapter; public abstract class SectionedBaseAdapter extends BaseA...
apache-2.0
MKisilyov/P4CTM
src/com/luxoft/p4ctm/CTMBuilderOptions.java
6603
/* * Copyright 2013 Maksim Kisilyov * * 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
pCloud/pcloud-networking-java
serialization/src/test/java/com/pcloud/networking/serialization/EnumTypeAdapterTest.java
5009
/* * Copyright (c) 2017 pCloud AG * * 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
AndrewHancock/MiniJava-compiler
src/main/java/ir/ops/ArrayAccess.java
691
package ir.ops; import ir.visitor.IrVisitor; public class ArrayAccess implements Expression { private Expression reference; private DataType type; private Expression index; public ArrayAccess(Expression reference, DataType type, Expression index) { this.reference = reference; this.type = type; this.in...
apache-2.0
hrovira/addama-googlecode
commons/httpclient-support/src/main/java/org/systemsbiology/addama/commons/httpclient/support/IsExpectedStatusCodeResponseCallback.java
1491
/* ** Copyright (C) 2003-2010 Institute for Systems Biology ** Seattle, Washington, USA. ** ** This library is free software; you can redistribute it and/or ** modify it under the terms of the GNU Lesser General Public ** License as published by the Free Software Foundation;...
apache-2.0
mkobayas/minimum-marshaller
src/test/java/org/mk300/marshal/minimum/test/LinkedBlockingDequeTest.java
3613
package org.mk300.marshal.minimum.test; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.util.Date; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.atomic.AtomicReferenceArray; import org.apache.commons.io.HexDump; import org.junit.Test; import org.mk...
apache-2.0
uolcombr/runas
src/main/java/br/com/uol/runas/MainApplication.java
1072
/* * Copyright 2013-2014 UOL - Universo Online 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 require...
apache-2.0
MedStudy/brightcove-player-plugin
src/android/Cmd.java
248
package net.nopattern.cordova.brightcoveplayer; /** * Created by peterchin on 6/9/16. */ public enum Cmd { LOAD, LOADED, DISABLE, ENABLE, PAUSE, PLAY, HIDE, SHOW, SEEK, RATE, RESUME, REPOSITION };
apache-2.0
palava/palava-model
src/main/java/de/cosmocode/palava/model/business/AbstractAddress.java
7669
/** * Copyright 2010 CosmoCode GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
apache-2.0
gzxishan/OftenPorter
Demo/src/main/java/cn/xishan/oftenporter/demo/testmem/porter/MemUnit.java
481
package cn.xishan.oftenporter.demo.testmem.porter; import cn.xishan.oftenporter.porter.core.annotation.AutoSet; import cn.xishan.oftenporter.porter.core.util.LogMethodInvoke; /** * @author Created by https://github.com/CLovinr on 2018/9/22. */ public class MemUnit { @AutoSet Obj1 obj1; @LogMethodInvoke...
apache-2.0
pushtechnology/diffusion-rest-adapter
configuration-model/src/main/java/com/pushtechnology/adapters/rest/model/v13/EndpointConfig.java
1884
/******************************************************************************* * Copyright (C) 2017 Push Technology 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.a...
apache-2.0
rPraml/org.openntf.domino
domino/commons/src/main/java/org/openntf/domino/commons/Hash.java
3653
/* * Copyright 2015 - FOCONIS AG * * 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
jentfoo/aws-sdk-java
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/transform/DurationRangeJsonUnmarshaller.java
2962
/* * 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
SLAsticSPE/slastic
src-gen/kieker/tools/slastic/metamodel/componentAssembly/AssemblyConnector.java
1803
/** * <copyright> * </copyright> * * $Id$ */ package kieker.tools.slastic.metamodel.componentAssembly; import kieker.tools.slastic.metamodel.core.FQNamedEntity; import kieker.tools.slastic.metamodel.typeRepository.ConnectorType; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Asse...
apache-2.0
zpao/buck
src/com/facebook/buck/features/project/intellij/IntellijModulesListParser.java
3637
/* * 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...
apache-2.0
Swapnil133609/Zeus-Controls
app/src/main/java/com/bvalosek/cpuspy/CpuSpyApp.java
2362
//----------------------------------------------------------------------------- // // (C) Brandon Valosek, 2011 <bvalosek@gmail.com> // //----------------------------------------------------------------------------- // Modified by Willi Ye to work with big.LITTLE package com.bvalosek.cpuspy; import android.app.Applic...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/ConfluenceSpaceToIndexFieldMapping.java
10473
/* * 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-shield/src/main/java/com/amazonaws/services/shield/model/SummarizedAttackVector.java
7238
/* * 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
punkhorn/camel-upstream
components/camel-rest/src/main/java/org/apache/camel/component/rest/RestEndpoint.java
20335
/** * 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
redisson/redisson
redisson-spring-data/redisson-spring-data-22/src/main/java/org/redisson/spring/data/connection/RedissonReactiveStreamCommands.java
13883
/** * Copyright (c) 2013-2021 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...
apache-2.0
Javaec/ChattyRus
test/chatty/AddressbookTest.java
1323
package chatty; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; /** * * @author tduva */ public cl...
apache-2.0