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
// This file was generated by Mendix Modeler. // // WARNING: Code you write here will be lost the next time you deploy the project. package profileservice.proxies; public class GetDisplayNameResponse { private final com.mendix.systemwideinterfaces.core.IMendixObject getDisplayNameResponseMendixObject; pr...
synobsys/mendix-PivotTableWidget
test/javasource/profileservice/proxies/GetDisplayNameResponse.java
Java
apache-2.0
6,233
/* * Licensed to the Technische Universität Darmstadt under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The Technische Universität Darmstadt * licenses this file to you under the Apache License, Versio...
webanno/webanno
webanno-ui-core/src/main/java/de/tudarmstadt/ukp/clarin/webanno/ui/core/page/package-info.java
Java
apache-2.0
1,002
package mo.android.frame.test; import android.app.Activity; import android.app.Application; import android.content.pm.ActivityInfo; import android.content.res.AssetManager; import android.content.res.Configuration; import android.os.Bundle; import android.view.Menu; import android.view.Window; import android.view.Wind...
favedit/MoCross
Demo/Android/MpTestDemo/src/mo/android/frame/test/MainActivity.java
Java
apache-2.0
3,189
/* * 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 ...
DariusX/camel
core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SlackComponentBuilderFactory.java
Java
apache-2.0
5,558
package com.fsck.k9.activity.setup; import android.content.Context; import android.widget.ArrayAdapter; import com.fsck.k9.mail.ConnectionSecurity; class ConnectionSecurityAdapter extends ArrayAdapter<ConnectionSecurityHolder> { public ConnectionSecurityAdapter(Context context, int resource, ConnectionSecurityH...
philipwhiuk/q-mail
qmail/src/main/java/com/fsck/k9/activity/setup/ConnectionSecurityAdapter.java
Java
apache-2.0
1,488
package com.zookeeper.zkadmin.entities.dto.resObj; import java.util.HashMap; public class ResultObj extends HashMap<String, Object> { private static final long serialVersionUID = 1L; public ResultObj setMsg(Object object) { this.put("msg", object); return this; } public void setResul...
artJava/artJava-zookeeper-admin
src/main/java/com/zookeeper/zkadmin/entities/dto/resObj/ResultObj.java
Java
apache-2.0
724
/* * Copyright (c) 2011-2020 Contributors to the Eclipse Foundation * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0 * which is available at https:...
vietj/vertx-pg-client
vertx-sql-client/src/main/java/io/vertx/sqlclient/impl/command/TxCommand.java
Java
apache-2.0
796
/* * Copyright (c) 2010, Paul Merlin. 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 law...
eskatos/qipki
commons/src/main/java/org/qipki/commons/crypto/states/EscrowedKeyPairState.java
Java
apache-2.0
958
/* This file is part of jLCM - see https://github.com/martinkirch/jlcm/ Copyright 2013,2014 Martin Kirchgessner, Vincent Leroy, Alexandre Termier, Sihem Amer-Yahia, Marie-Christine Rousset, Université Joseph Fourier and CNRS Licensed under the Apache License, Version 2.0 (the "License"); you may not use this fil...
slide-lig/jlcm
src/main/java/fr/liglab/jlcm/PLCM.java
Java
apache-2.0
7,194
/* * Copyright (c) 2011-2021 VMware, 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. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * ...
reactor/reactor-netty
reactor-netty-http/src/main/java/reactor/netty/http/client/HttpClientResponse.java
Java
apache-2.0
1,509
package org.adligo.fabricate.java; import org.adligo.fabricate.common.system.I_ExecutionResult; import org.adligo.fabricate.common.system.I_Executor; import org.adligo.fabricate.common.system.I_FabSystem; import org.adligo.fabricate.models.common.FabricationMemoryConstants; import java.io.IOException; import java.uti...
adligo/fabricate.adligo.org
src/org/adligo/fabricate/java/JavaCalls.java
Java
apache-2.0
1,830
/* * Copyright 2012 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...
cipous/spring-data-solr
src/test/java/org/springframework/data/solr/repository/config/ITestXmlNamespace.java
Java
apache-2.0
1,925
package com.horcu.apps.balln.widget.floatinglabel.instantpicker; /** * Class that knows how to print an instant * <p/> * Created by Vincent Mimoun-Prat @ MarvinLabs, 29/08/2014. */ public interface TimePrinter<TimeInstantT extends TimeInstant> extends InstantPrinter<TimeInstantT> { /** * Print a time ...
horcu/balln
sample/src/main/java/com/horcu/apps/balln/widget/floatinglabel/instantpicker/TimePrinter.java
Java
apache-2.0
445
/* * R : A Computer Language for Statistical Data Analysis * Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka * Copyright (C) 1997-2008 The R Development Core Team * Copyright (C) 2003, 2004 The R Foundation * Copyright (C) 2010 bedatadriven * * This program is free software: you can redistribute it a...
bedatadriven/renjin-statet
org.renjin.core/src/org/renjin/parser/ParseState.java
Java
apache-2.0
1,634
package solution; /** * Given an array of n positive integers and a positive integer s, find the minimal length of a subarray of which the sum ¡Ý s. If there isn't one, return 0 instead. For example, given the array [2,3,1,2,4,3] and s = 7, the subarray [4,3] has the minimal length under the problem constraint. ˼·£º...
reallin/huawei_OJ
oj_code/ѰÕÒÒ»¸öÊý×éÖÐÊý×ÖÖ®¸÷³¬¹ýÉ趨ֵµÄ×îС³¤¶È/src/solution/Main.java
Java
apache-2.0
602
package com.duan.musicoco.util; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.view.View; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.ListView; import com.duan.mus...
DuanJiaNing/Musicoco
app/src/main/java/com/duan/musicoco/util/DialogUtils.java
Java
apache-2.0
2,120
package com.lifars.wavebird.controllers.filter; public class FilterEvent<T, U> { public final Filter<T, U> filter; public final String filterTag; public FilterEvent(String filterTag, BiPredicate<T, U> biPredicate, U filterElement) { this.filterTag = filterTag; this.filter = new Filter<>(bi...
Lifars/Wavebird
wavebird/src/main/java/com/lifars/wavebird/controllers/filter/FilterEvent.java
Java
apache-2.0
355
// 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 applicable ...
GerritCodeReview/plugins_serviceuser
src/main/java/com/googlesource/gerrit/plugins/serviceuser/ServiceUserResource.java
Java
apache-2.0
1,683
package com.walker.pattern.behavioral.mediator; /** * ${DESCRIPTION} * * @Author Walker Denial * @Email WalkerDenial@gmail.com * @Time Created at 2017/3/16 13:24. */ public class TextBox { }
WalkerDenial/JavaDesignPattern
src/com/walker/pattern/behavioral/mediator/TextBox.java
Java
apache-2.0
198
/** * 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...
kminder/cuber
src/main/java/net/minder/cuber/DraftMutator.java
Java
apache-2.0
9,317
/* * 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/system/page/business/Action.java
Java
apache-2.0
1,594
package com.notronix.lw.api.model; public class GetExtendedPropertyFilter { private String PropertyName; private String PropertyType; public String getPropertyName() { return PropertyName; } public void setPropertyName(String propertyName) { PropertyName = propertyName...
Notronix/JaLAPI
src/main/java/com/notronix/lw/api/model/GetExtendedPropertyFilter.java
Java
apache-2.0
514
/* * Copyright 2003, 2004, 2005, 2006 Research Triangle Institute * * 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...
chrisekelley/zeprs
src/zeprs/org/cidrz/webapp/dynasite/utils/DateUtils.java
Java
apache-2.0
13,126
package it.unibz.krdb.sql; import static org.junit.Assert.assertTrue; import it.unibz.krdb.obda.owlrefplatform.core.QuestConstants; import it.unibz.krdb.obda.owlrefplatform.core.QuestPreferences; import it.unibz.krdb.obda.r2rml.R2RMLManager; import java.io.File; import java.sql.Connection; import java.sql.DriverManag...
clarkparsia/ontop
quest-sesame/src/test/java/it/unibz/krdb/sql/TestSesameResultIteration.java
Java
apache-2.0
4,737
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
consulo/consulo-xml
xml-psi-impl/src/main/java/com/intellij/ide/highlighter/DTDFileType.java
Java
apache-2.0
1,442
package nl.weeaboo.vn.desktop; import java.io.FileNotFoundException; import java.io.IOException; import java.util.List; import javax.annotation.CheckForNull; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Graphics; import com.badlogic.gdx.Graphics.Displ...
anonl/nvlist
desktop/src/main/java/nl/weeaboo/vn/desktop/DesktopGraphicsUtil.java
Java
apache-2.0
4,149
/** * Copyright &copy; 2015-2016 <a href="https://github.com/hanyahui88/swifts">swifts</a> All rights reserved. */ package com.swifts.frame.modules.cms.web; import java.util.List; import java.util.Map; import com.swifts.frame.common.pagehelper.PageHelper; import com.swifts.frame.common.pagehelper.PageInfo; import c...
hanyahui88/swifts
src/main/java/com/swifts/frame/modules/cms/web/StatsController.java
Java
apache-2.0
1,668
package pl.jalokim.propertiestojson.resolvers.primitives; import pl.jalokim.propertiestojson.object.AbstractJsonType; import pl.jalokim.propertiestojson.resolvers.PrimitiveJsonTypesResolver; import pl.jalokim.propertiestojson.resolvers.primitives.delegator.PrimitiveJsonTypeDelegatorResolver; import pl.jalokim.properti...
mikolajmitura/java-properties-to-json
src/main/java/pl/jalokim/propertiestojson/resolvers/primitives/ObjectFromTextJsonTypeResolver.java
Java
apache-2.0
2,124
/** * Copyright (c) 2016-present, RxJava Contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
AttwellBrian/RxJava
src/main/java/io/reactivex/internal/schedulers/ScheduledDirectPeriodicTask.java
Java
apache-2.0
1,460
/* * Copyright 2013-2020 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-contract
spring-cloud-contract-stub-runner/src/main/java/org/springframework/cloud/contract/stubrunner/messaging/jms/StubRunnerJmsConfiguration.java
Java
apache-2.0
5,096
// --------------------------------------------------------------------- // Copyright 2016 Zulu 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://w...
varunrai/android-base-app
app/src/test/java/org/zulu/apps/sgx/util/DefaultConfig.java
Java
apache-2.0
983
package com.thoughtworks.selenium.corebased; import com.thoughtworks.selenium.InternalSelenseTestBase; import org.junit.Test; public class TestDomainCookie extends InternalSelenseTestBase { @Test public void testDomainCookie() throws Exception { String host = selenium.getEval("parseUrl(canonicalize(absolutify(\"ht...
akiellor/selenium
java/client/test/com/thoughtworks/selenium/corebased/TestDomainCookie.java
Java
apache-2.0
1,608
package com.itheima.mobilesafe.fragments; import android.content.pm.ApplicationInfo; import android.content.pm.IPackageStatsObserver; import android.content.pm.IPackageDataObserver; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.PackageStats; import android.o...
Catherine22/MobileManager
app/src/main/java/com/itheima/mobilesafe/fragments/ClearCacheFragment.java
Java
apache-2.0
7,273
package eu.qualimaster.families.imp; import eu.qualimaster.families.inf.*; import eu.qualimaster.observables.IObservable; import eu.qualimaster.dataManagement.serialization.SerializerRegistry; /** * The implementation for the algorithm family "IFCorrelationTwitter" (GEN). */ public class FCorrelationTwitter impleme...
SSEHUB/EASyProducer
Plugins/EASy-Producer/ScenariosTest/testdata/real/QualiMaster/feb16/expected/if-gen/eu/qualimaster/families/imp/FCorrelationTwitter.java
Java
apache-2.0
5,404
// // Este archivo ha sido generado por la arquitectura JavaTM para la implantación de la referencia de enlace (JAXB) XML v2.2.8-b130911.1802 // Visite <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Todas las modificaciones realizadas en este archivo se perderán si se vuelve a compilar ...
pablogrela/members_cuacfm
src/main/java/org/cuacfm/members/model/util/sepa/customerpaymentstatusreport/NamePrefix1Code.java
Java
apache-2.0
1,359
/* * 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 ...
klopfdreh/wicket
wicket-examples/src/main/java/org/apache/wicket/examples/upload/MultiUploadPage.java
Java
apache-2.0
5,706
/* * 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")...
freeVM/freeVM
enhanced/archive/classlib/java6/modules/jndi/src/main/java/javax/naming/ldap/LdapName.java
Java
apache-2.0
9,462
/** * 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...
charlesbihis/worlds-most-interesting-infographic-generator
src/com/worldsmostinterestinginfographic/statistics/collect/TopWordsCollector.java
Java
apache-2.0
4,291
package de.fhg.iais.cortex.sql; import java.io.File; import java.io.IOException; import java.net.URISyntaxException; import java.sql.SQLException; import org.hsqldb.Server; import com.google.inject.Inject; import com.google.inject.name.Named; public class HsqldbStorage { Server hsqlServer; @Inject pub...
Deutsche-Digitale-Bibliothek/ddb-backend
SQLDatabaseServer/src/main/java/de/fhg/iais/cortex/sql/HsqldbStorage.java
Java
apache-2.0
1,575
/******************************************************************************* * Copyright (c) 2010 Robert "Unlogic" Olofsson (unlogic@unlogic.se). * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser Public License v3 * which accompanies th...
soul2zimate/resteasy2
eagledns/src/main/java/se/unlogic/standardutils/dao/SimpleAnnotatedDAOFactory.java
Java
apache-2.0
3,663
package org.deeplearning4j.parallelism.parameterserver; import lombok.extern.slf4j.Slf4j; import org.deeplearning4j.datasets.iterator.impl.MnistDataSetIterator; import org.deeplearning4j.nn.api.OptimizationAlgorithm; import org.deeplearning4j.nn.conf.MultiLayerConfiguration; import org.deeplearning4j.nn.conf.NeuralNet...
crockpotveggies/deeplearning4j
deeplearning4j-scaleout/deeplearning4j-scaleout-parallelwrapper-parameter-server/src/test/java/org/deeplearning4j/parallelism/parameterserver/ParameterServerParallelWrapperTest.java
Java
apache-2.0
4,178
/* Licensed to the Court of the University of Edinburgh (UofE) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The UofE licenses this file to you under the Apache License, Version 2.0 (the "License")...
stumoodie/PathwayEditor
src/org/pathwayeditor/visualeditor/selection/ILinkBendPointHandleShape.java
Java
apache-2.0
1,032
package javasmmr.zoowsome.models.animals; import java.util.Calendar; public class Crocodile extends Reptile { public Crocodile(double cost, double danger) { super (cost, danger); setNrOfLegs(4); setLaysEggs(true); } public Crocodile(String name, int nrLegs, boolean laysEggs, double cost, double dang...
JavaSummer/JavaMainRepo
Students/Pontinteu Crinela/Assignment4/src/javasmmr/zoowsome/models/animals/Crocodile.java
Java
apache-2.0
824
package com.tmac.zhdaily.presenter; import com.tmac.zhdaily.api.HttpMethods; import com.tmac.zhdaily.base.BasePresenter; import com.tmac.zhdaily.model.MenuListEntity; import com.tmac.zhdaily.view.MenuView; import rx.android.schedulers.AndroidSchedulers; import rx.functions.Action1; import rx.schedulers.Schedulers; ...
tmac010sjh/ZHDaily
app/src/main/java/com/tmac/zhdaily/presenter/MenuPresenter.java
Java
apache-2.0
1,309
package org.apache.velocity.tools.view; /* * 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 Lice...
gogamoga/velocity-tools-1.4
src/java/org/apache/velocity/tools/view/ToolInfo.java
Java
apache-2.0
1,854
/* * * Copyright 2012-2014 Eurocommercial Properties NV * * * Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
estatio/estatio
estatioapp/app/src/main/java/org/estatio/module/lease/fixtures/leaseitems/builders/LeaseItemBuilder.java
Java
apache-2.0
3,841
/* Copyright 2014-2016 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, s...
multi-os-engine/moe-core
moe.apple/moe.platform.ios/src/main/java/apple/corefoundation/opaque/CFRunLoopObserverRef.java
Java
apache-2.0
1,128
/** * Copyright 2005-2016 Red Hat, Inc. * * Red Hat 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 r...
jludvice/fabric8
gateway/gateway-fabric/src/main/java/io/fabric8/gateway/fabric/mq/GatewayServiceTreeCache.java
Java
apache-2.0
6,063
/* * Copyright (c) 2008-2017 Haulmont. * * 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...
dimone-kun/cuba
modules/core/src/com/haulmont/cuba/security/auth/providers/AnonymousAuthenticationProvider.java
Java
apache-2.0
3,528
package org.pac4j.core.client; import org.pac4j.core.context.WebContext; import org.pac4j.core.context.session.SessionStore; import org.pac4j.core.credentials.Credentials; import org.pac4j.core.exception.http.RedirectionAction; import org.pac4j.core.profile.UserProfile; import java.util.Optional; import static org.p...
pac4j/pac4j
pac4j-core/src/main/java/org/pac4j/core/client/DirectClient.java
Java
apache-2.0
2,098
package com.yahoo.test.ymagine; import com.yahoo.ymagine.Ymagine; import com.yahoo.ymagine.Vbitmap; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.OutputStream; import java.io.IOException; public class Main { private stat...
yahoo/ygloo-ymagine
java/src/test/com/yahoo/test/ymagine/Main.java
Java
apache-2.0
5,500
/** * Copyright (C) 2011-2020 Red Hat, Inc. (https://github.com/Commonjava/indy) * * 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 ...
pkocandr/indy
ftests/core/src/main/java/org/commonjava/indy/ftest/core/store/AddAndRetrieveGroupTest.java
Java
apache-2.0
1,347
/* * 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 ...
gridgain/apache-ignite
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheClientModesAbstractSelfTest.java
Java
apache-2.0
6,807
package com.ilscipio.scipio.solr.util; import org.apache.solr.client.solrj.SolrClient; import org.apache.solr.client.solrj.SolrRequest; import org.apache.solr.client.solrj.request.IsUpdateRequest; import org.apache.solr.client.solrj.request.RequestWriter; import org.apache.solr.client.solrj.response.UpdateResponse; im...
ilscipio/scipio-erp
applications/solr/src/com/ilscipio/scipio/solr/util/DirectJsonRequest.java
Java
apache-2.0
1,452
/* * Copyright (c) 2015-2019, Inversoft 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...
prime-framework/prime-mvc
src/test/java/org/primeframework/mvc/action/result/ReexecuteSavedRequestResultTest.java
Java
apache-2.0
5,774
package org.apereo.cas.integration.pac4j.authentication.handler.support; import org.apereo.cas.authentication.AuthenticationHandlerExecutionResult; import org.apereo.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler; import org.apereo.cas.authentication.principal.ClientCredential; im...
robertoschwald/cas
support/cas-server-support-pac4j-authentication/src/main/java/org/apereo/cas/integration/pac4j/authentication/handler/support/AbstractPac4jAuthenticationHandler.java
Java
apache-2.0
3,404
class AcceModel { public String videoRespond; public String comment; public String syndicate; public String list; public String rate; public int ratingCount; public String commentVote; public int viewCount; public String embed; public String aspectRatio; public int favoriteCount; public AcceModel(String ...
bxute/MLS
app/src/main/java/com/example/ankit/mixlyrics/Parsers/AcceModel.java
Java
apache-2.0
832
/** * 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...
rnowling/bigpetstore-data-generator
src/main/java/com/github/rnowling/bps/datagenerator/generators/purchase/StaticPurchasingModelSampler.java
Java
apache-2.0
2,015
import cc.mallet.pipe.*; import cc.mallet.types.*; import cc.mallet.cluster.*; import cc.mallet.pipe.iterator.CsvIterator; import java.io.*; import java.nio.charset.StandardCharsets; import java.nio.file.*; import java.util.List; /** * Same pipe is a "pipe" that returns exactly what it was given. **/ class sameP...
tim-hong/kmeans
src/KMeans.java
Java
apache-2.0
4,804
/* * Copyright 2014 Navita Tecnologia. * * 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...
navita-tecnologia/navita-mobile
console/src/main/java/br/com/navita/mobile/console/view/FileDecorator.java
Java
apache-2.0
4,510
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
sreeramjayan/elasticsearch
core/src/main/java/org/elasticsearch/repositories/blobstore/BlobStoreRepository.java
Java
apache-2.0
76,516
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
deeplearning4j/deeplearning4j
deeplearning4j/deeplearning4j-scaleout/deeplearning4j-scaleout-parallelwrapper/src/main/java/org/deeplearning4j/parallelism/inference/observers/BasicInferenceObservable.java
Java
apache-2.0
3,171
package pgm; public interface VariableType { public int domainSize(); public int id(); public String toString(); }
gsteelman/utd
cs6301-probabilistic-graphical-models/homework3/src/pgm/VariableType.java
Java
apache-2.0
122
/* * Copyright 2016 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 b...
ederign/uberfire
uberfire-extensions/uberfire-security/uberfire-security-management/uberfire-widgets-security-management/src/main/java/org/uberfire/ext/security/management/client/widgets/management/editor/user/workflow/BaseUserEditorWorkflow.java
Java
apache-2.0
16,117
/* Copyright 2010, Object Management Group, Inc. * Copyright 2010, PrismTech, Inc. * Copyright 2010, Real-Time Innovations, 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...
steveturner/datadistrib4j
srcJava/org/omg/dds/core/policy/DestinationOrder.java
Java
apache-2.0
4,412
/* * 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...
aws/aws-sdk-java
aws-java-sdk-iotsecuretunneling/src/main/java/com/amazonaws/services/iotsecuretunneling/model/transform/UntagResourceRequestProtocolMarshaller.java
Java
apache-2.0
2,701
/** * Copyright 2012 DFN-CERT Services 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 to ...
dfn-certling/SAI
src/4.0.3-icecream/packages/apps/Sai/src/de/dfncert/sai/SaiService.java
Java
apache-2.0
2,858
package br.copacabana; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.logging.Level; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.Ht...
rafaelcoutinho/comendobemdelivery
src/br/copacabana/JsonPersistController.java
Java
apache-2.0
7,769
package es.mbarrben.aroundme.android.adapter; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; /** * An implementation of {@link BaseAdapter} which uses the new/bind pattern for * its views. */ public abs...
mbarrben/aroundme
src/es/mbarrben/aroundme/android/adapter/BindableAdapter.java
Java
apache-2.0
2,294
/** * 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"...
azuki-framework/azuki-chart
src/main/java/org/azkfw/chart/design/title/CustomTitleStyle.java
Java
apache-2.0
4,956
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.provider.description.inflation; import com.opengamma.analytics.financial.model.option.parameters.BlackSmileCapInflationYearOnYearParameters...
McLeodMoores/starling
projects/analytics/src/main/java/com/opengamma/analytics/financial/provider/description/inflation/BlackSmileCapInflationYearOnYearProviderDiscount.java
Java
apache-2.0
1,411
/* * Copyright 2014 The FIX.io Project * * The FIX.io 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...
loriopatrick/fixio
core/src/main/java/fixio/netty/pipeline/client/PropertyFixSessionSettingsProviderImpl.java
Java
apache-2.0
3,042
/* * 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...
pistolove/sourcecode4junit
Source4Tomcat/src/org/apache/tomcat/util/modeler/modules/MbeansDescriptorsDigesterSource.java
Java
apache-2.0
9,457
package org.apache.lucene.index; /* * 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, Versio...
yida-lxw/solr-5.3.1
lucene/core/src/java/org/apache/lucene/index/SlowCompositeReaderWrapper.java
Java
apache-2.0
8,195
// 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...
googleads/googleads-java-lib
examples/admanager_axis/src/main/java/admanager/axis/v202108/creativewrapperservice/GetAllCreativeWrappers.java
Java
apache-2.0
5,920
/* * Copyright 2016-2019 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...
ilayaperumalg/spring-cloud-stream
spring-cloud-stream-integration-tests/src/test/java/org/springframework/cloud/stream/config/StreamListenerTestUtils.java
Java
apache-2.0
2,255
package retrofit.android; import android.util.Log; import retrofit.RestAdapter; /** * A {@link RestAdapter.Log logger} for Android. */ public class AndroidLog implements RestAdapter.Log { private static final int LOG_CHUNK_SIZE = 4000; private final String tag; public AndroidLog(String tag) { this.tag...
toadzky/retrofit-jaxrs
retrofit/src/main/java/retrofit/android/AndroidLog.java
Java
apache-2.0
571
/* * Copyright 2013 Xtreme Labs * * 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...
xtremelabs/xl-image_utils_lib-android
xl_image_utils_lib/src/com/xtremelabs/imageutils/DatabaseCache.java
Java
apache-2.0
2,260
/* * Licensed to GraphHopper GmbH under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper GmbH licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not ...
graphhopper/graphhopper
core/src/main/java/com/graphhopper/isochrone/algorithm/QuadEdgeSubdivisionAsReadableTriangulation.java
Java
apache-2.0
1,828
package ru.stqa.pft.addressbook.generators; import com.beust.jcommander.JCommander; import com.beust.jcommander.Parameter; import com.beust.jcommander.ParameterException; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.thoughtworks.xstream.XStream; import ru.stqa.pft.addressbook.model.Conta...
natalia-volkova/java_pft
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/generators/ContactDataGenerator.java
Java
apache-2.0
3,097
package io.github.cloudiator.rest.model; import java.util.Objects; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.github.cloudiator.rest.model.GeoLocation; import io.github.cloudiator.rest.model.OperatingSystem; import io.swagger.annotations.ApiMode...
cloudiator/rest-server
model/src/main/java/io/github/cloudiator/rest/model/NodeProperties.java
Java
apache-2.0
5,468
package org.artifactory.storage.db.aql.parser.elements.high.level.domain.sensitive; import org.artifactory.storage.db.aql.parser.elements.ParserElement; import static org.artifactory.storage.db.aql.parser.AqlParser.*; /** * @author Gidi Shabat */ public class CriteriaDefaultPropertyElement extends DomainSensitiveP...
alancnet/artifactory
storage/db/src/main/java/org/artifactory/storage/db/aql/parser/elements/high/level/domain/sensitive/CriteriaDefaultPropertyElement.java
Java
apache-2.0
655
package io.quarkus.it.mockbean; import javax.enterprise.context.ApplicationScoped; import javax.inject.Singleton; import javax.ws.rs.Produces; @Singleton public class MyContainerProducer { @ApplicationScoped @Produces public MyContainer<String> stringContainer() { return new MyContainer<>() { ...
quarkusio/quarkus
integration-tests/injectmock/src/test/java/io/quarkus/it/mockbean/MyContainerProducer.java
Java
apache-2.0
690
/** * Utility classes. * * @author ragerri * */ package eus.ixa.ixa.pipe.ml.utils;
ixa-ehu/ixa-pipe-ml
src/main/java/eus/ixa/ixa/pipe/ml/utils/package-info.java
Java
apache-2.0
88
package com.avaje.ebean; /** * Created by rob on 16/07/15. */ public class WhenBeanReturn<T> { Class<T> beanType; Object id; T bean; public WhenBeanReturn(Class<T> beanType) { this(beanType, null); } public WhenBeanReturn(Class<T> beanType, Object id) { this.beanType = beanType; this.id ...
hei1233212000/avaje-ebeanorm-mocker
src/main/java/com/avaje/ebean/WhenBeanReturn.java
Java
apache-2.0
910
/* * #%L * wcm.io * %% * Copyright (C) 2014 wcm.io * %% * 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...
wcm-io-caravan/caravan-pipeline
api/src/main/java/io/wcm/caravan/pipeline/JsonPipelineOutput.java
Java
apache-2.0
2,199
/* * Copyright 2022 The Hekate Project * * The Hekate 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 ...
hekate-io/hekate
hekate-spring/src/test/java/io/hekate/spring/bean/internal/XsdSeedCustomBeanTest.java
Java
apache-2.0
1,278
package com.bunjlabs.jed2d.lwjgl; import com.bunjlabs.jed2d.JedRenderer; import com.bunjlabs.jed2d.utils.Color; import com.bunjlabs.jed2d.utils.Vector2i; import java.nio.ByteBuffer; import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL12; import org.lwjgl.opengl.GL30; public class LwjglJetRenderer implements JedRe...
bunjlabs/jed2d
lwjgl/src/main/java/com/bunjlabs/jed2d/lwjgl/LwjglJetRenderer.java
Java
apache-2.0
3,391
package com.google.ads.googleads.v10.services; import static io.grpc.MethodDescriptor.generateFullMethodName; /** * <pre> * Service to manage customer extension settings. * </pre> */ @javax.annotation.Generated( value = "by gRPC proto compiler", comments = "Source: google/ads/googleads/v10/services/custom...
googleads/google-ads-java
google-ads-stubs-v10/src/main/java/com/google/ads/googleads/v10/services/CustomerExtensionSettingServiceGrpc.java
Java
apache-2.0
17,155
/* * Copyright (c) 2014 Spotify AB. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License,...
molindo/helios
helios-services/src/main/java/com/spotify/helios/master/ZooKeeperMasterModel.java
Java
apache-2.0
67,415
/* * Licensed to Crate.io GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not use this f...
crate/crate
server/src/main/java/io/crate/analyze/AnalyzedDropUser.java
Java
apache-2.0
1,845
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/monitoring/v3/uptime.proto package com.google.monitoring.v3; /** * * * <pre> * This message configures which resources and services to monitor for * availability. * </pre> * * Protobuf type {@code google.monitoring.v3.UptimeCheckCon...
vam-google/google-cloud-java
google-api-grpc/proto-google-cloud-monitoring-v3/src/main/java/com/google/monitoring/v3/UptimeCheckConfig.java
Java
apache-2.0
309,222
////////////////////////////////////////////////////////////////////////////////////// // // Copyright 2012 Freshplanet (http://freshplanet.com | opensource@freshplanet.com) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // ...
photobox/ANE-Flurry
android/src/main/java/com/freshplanet/flurry/functions/analytics/SetUserIdFunction.java
Java
apache-2.0
1,524
/* * Copyright (c) 1994, 2006, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.io; /** * This abstract class is the superclass of all classes representing * an input ...
ZhaoX/jdk-1.7-annotated
src/java/io/InputStream.java
Java
apache-2.0
18,127
/*___Generated_by_IDEA___*/ package com.example.akmcinto.cmput301_assign1; /* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */ public final class Manifest { }
akmcinto/CMPUT301_Assignment1
app/src/main/com/example/akmcinto/cmput301_assign1/Manifest.java
Java
apache-2.0
207
/* * Copyright 2012 Matt Corallo. * Copyright 2014 Kalpesh Parmar. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
GroestlCoin/groestlcoinj
core/src/main/java/org/bitcoinj/store/H2FullPrunedBlockStore.java
Java
apache-2.0
7,435
package at.newmedialab.lmf.search.ldpath.model.backend; import java.util.Collection; import java.util.HashSet; import java.util.Set; import org.apache.marmotta.ldpath.backend.sesame.ContextAwareSesameConnectionBackend; import org.openrdf.model.Literal; import org.openrdf.model.Resource; import org.openrdf.model.State...
bienstock/catalog-service-backend
libs/marmotta-search/src/main/java/at/newmedialab/lmf/search/ldpath/model/backend/WildcardAwareBackend.java
Java
apache-2.0
5,059
package org.activiti.testing.assertions; import static org.activiti.testing.assertions.ProcessEngineAssertions.assertThat; import static org.activiti.testing.assertions.ProcessEngineTests.runtimeService; import org.activiti.engine.runtime.ProcessInstance; import org.activiti.engine.test.ActivitiRule; import org.activ...
ibnelazzouzi/bpm
activiti-testing/activiti-testing-assert/src/test/java/org/activiti/testing/assertions/TaskAssertHasDescriptionTest.java
Java
apache-2.0
1,966
package org.swtk.eng.tokenizer.chars.adapter; import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.util.Map; import org.swtk.eng.tokenizer.chars.CharTokenizerContract; import org.swtk.eng.tokenizer.chars.CharTok...
torrances/swtk-eng
eng-tokenizer/src/main/java/org/swtk/eng/tokenizer/chars/adapter/CharTokenizerResultAdapter.java
Java
apache-2.0
2,284
package org.ddd4j.spi; import org.ddd4j.util.Typed; import org.ddd4j.util.value.Named; public interface ServiceConfigurer { interface Registered<C extends Named> extends ServiceConfigurer, Typed<C>, Named { @Override default void bindServices(ServiceBinder binder) { binder.initializeEager(Ref.of(name(), ctx...
slinstaedt/ddd4j-common-values
src/main/java/org/ddd4j/spi/ServiceConfigurer.java
Java
apache-2.0
614