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
/* * * * Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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.o...
opensingular/singular-core
lib/wicket-utils/src/test/java/org/opensingular/lib/wicket/util/util/IModelsMixinTest.java
Java
apache-2.0
6,764
package com.example.webehave; import static org.jbehave.core.io.CodeLocations.codeLocationFromClass; import java.util.List; import java.util.Properties; import org.jbehave.core.configuration.Configuration; import org.jbehave.core.configuration.MostUsefulConfiguration; import org.jbehave.core.io.StoryFinder; import o...
adrian-herscu/experiments
frameworks/jbehave/webehave/src/main/java/com/example/webehave/AllStories.java
Java
apache-2.0
2,704
/* * Copyright (C) 2014 Philippine Android Developers Community * * 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 ...
padc/DevConSummit
app/src/main/java/ph/devcon/android/profile/event/UpdatedProfileFailedEvent.java
Java
apache-2.0
871
package com.indeed.util.mmap; import junit.framework.TestCase; import java.io.File; import java.nio.ByteOrder; import java.nio.channels.FileChannel; /** @author goodwin */ public class CharArrayTest extends TestCase { int length = 10240; int size = 4; // bytes int maxValue = (int) Math.pow(2, size * 8); ...
indeedeng/util
mmap/src/test/java/com/indeed/util/mmap/CharArrayTest.java
Java
apache-2.0
4,059
/* * Copyright 2000-2016 Vaadin 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 applicable law or agreed to...
Legioth/vaadin
shared/src/main/java/com/vaadin/shared/ui/ui/PageClientRpc.java
Java
apache-2.0
763
/* * Copyright 2015 Adaptris 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 applicable law or agree...
mcwarman/interlok
adapter/src/test/java/com/adaptris/core/jms/activemq/BlobMessageTranslatorTest.java
Java
apache-2.0
7,785
package main.service; import java.util.Arrays; import java.util.List; import org.javokapi; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Service; import main.factory.OkapiFactory; /** * Sadra * Created by Sadra on 1/18/16. */ @...
YorkUIRLab/okapi-web-service
src/main/java/main/service/OkapiService.java
Java
apache-2.0
5,236
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
weld/core
tests-arquillian/src/test/java/org/jboss/weld/tests/enterprise/DAO.java
Java
apache-2.0
1,309
package com.climate.mirage.app; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.ImageView; import com.climate.mirage.Mirage; public class SimpleLoadActivity extends AppCompatActivity { private ImageView iv; pr...
TheClimateCorporation/mirage
samples/src/main/java/com/climate/mirage/app/SimpleLoadActivity.java
Java
apache-2.0
1,315
/* * #%L * GwtMaterial * %% * Copyright (C) 2015 - 2021 GwtMaterialDesign * %% * 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 * ...
GwtMaterialDesign/gwt-material
gwt-material/src/main/java/gwt/material/design/client/MaterialWithoutResources.java
Java
apache-2.0
856
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates * and other 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 License at * * http://www.ap...
jsanda/hawkular-agent
hawkular-wildfly-monitor/src/main/java/org/hawkular/agent/monitor/log/MsgLogger.java
Java
apache-2.0
6,632
/* * Copyright 2017 ThoughtWorks, 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 agr...
stevem999/gocd
common/src/test/java/com/thoughtworks/go/domain/PipelineConfigTest.java
Java
apache-2.0
50,610
package com.babarehner.android.pycolib; import android.content.Context; import android.database.Cursor; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.CursorAdapter; import android.widget.TextView; import com.babarehner.android.pycolib.data.LibraryCo...
babarehner/Android-PyCoLib
app/src/main/java/com/babarehner/android/pycolib/PythonistaCursorAdapter.java
Java
apache-2.0
1,740
package com.netflix.evcache.config; import java.net.URL; import java.net.URLEncoder; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.concurrent.TimeUnit; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.netflix.archaius.config.PollingDynamicConfig; import c...
Netflix/EVCache
evcache-core/src/main/java/com/netflix/evcache/config/EVCachePersistedProperties.java
Java
apache-2.0
6,075
/* * Copyright (c) 2020, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apac...
lessthanoptimal/BoofCV
main/boofcv-types/src/noauto/java/boofcv/struct/image/InterleavedS8.java
Java
apache-2.0
2,237
/* * Copyright 2015 West Coast Informatics, LLC */ package org.ihtsdo.otf.refset.rest.impl; import java.util.HashSet; import java.util.Set; import java.util.Timer; import java.util.TimerTask; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.Application; import org.apache.log4j.Logger; import org.glas...
WestCoastInformatics/ihtsdo-refset-tool
rest/src/main/java/org/ihtsdo/otf/refset/rest/impl/RefsetServerApplication.java
Java
apache-2.0
3,554
package com.psc.vote.vote.dao; import com.psc.vote.common.dao.ConnectionDao; import com.psc.vote.vote.domain.Campaign; import org.springframework.jdbc.core.RowMapper; import org.springframework.jdbc.core.namedparam.BeanPropertySqlParameterSource; import org.springframework.jdbc.core.namedparam.SqlParameterSource; imp...
sgudupat/psc-vote-server
src/main/java/com/psc/vote/vote/dao/CampaignDao.java
Java
apache-2.0
4,923
// 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...
jcshen007/cloudstack
server/src/com/cloud/storage/StorageManagerImpl.java
Java
apache-2.0
118,418
package org.seamoo.gaeForTest; public class PrivateCtorClass { private String privateField; private String publicField; private PrivateCtorClass() { this.publicField = "0"; } private PrivateCtorClass(String[] arguments) { this.publicField = "1"; } public void setPublicField(String publicField) { this.p...
phuongnd08/maven-geaForTest-plugin
src/test/java/org/seamoo/gaeForTest/PrivateCtorClass.java
Java
apache-2.0
411
/* * Copyright 2014-2019 Real Logic 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 applicable law or agree...
galderz/Aeron
aeron-archive/src/main/java/io/aeron/archive/ControlRequestAdapter.java
Java
apache-2.0
15,170
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.pieShare.pieTools.pieUtilities.service.pieExecutorService; import java.util.Map; import java.util.concurrent.ExecutorServ...
vauvenal5/pieShare
pieUtilities/src/test/java/org/pieShare/pieTools/pieUtilities/service/pieExecutorService/PieExecutorTaskFactoryTest.java
Java
apache-2.0
5,226
package org.docksidestage.oracle.dbflute.cbean.cq; import org.dbflute.cbean.ConditionQuery; import org.dbflute.cbean.sqlclause.SqlClause; import org.docksidestage.oracle.dbflute.cbean.cq.bs.BsWhiteRefTargetCQ; /** * The condition-query of WHITE_REF_TARGET. * <p> * You can implement your original methods h...
dbflute-test/dbflute-test-dbms-oracle
src/main/java/org/docksidestage/oracle/dbflute/cbean/cq/WhiteRefTargetCQ.java
Java
apache-2.0
1,672
/* * 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...
ptkool/presto
presto-hive/src/main/java/com/facebook/presto/hive/HiveBatchPageSourceFactory.java
Java
apache-2.0
1,555
package ru.shestakov.services; import java.util.*; public class IteratorFlatten implements Iterator { Iterator<Iterator<Integer>> it; Iterator<Integer> cursor; public Iterator<Integer> convert(Iterator<Iterator<Integer>> it) { this.it = it; return this; } public boolean hasNext(...
savspit/java-a-to-z
Part V. Chapter 1. Iterator/Tracker/src/main/java/ru/shestakov/services/IteratorFlatten.java
Java
apache-2.0
645
/* * Copyright (C) 2015 IZITEQ B.V. * * 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 ...
iziteq/izi-travel-android-api
api/src/main/java/travel/izi/api/service/constant/Cost.java
Java
apache-2.0
989
/* * Copyright © 2016 Cask Data, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
romy-khetan/hydrator-plugins
transform-plugins/src/test/java/co/cask/hydrator/plugin/NormalizeTest.java
Java
apache-2.0
17,233
package io.virtdata.libbasics.shared.from_double.to_unset; import io.virtdata.annotations.Categories; import io.virtdata.annotations.Category; import io.virtdata.annotations.ThreadSafeMapper; import io.virtdata.api.VALUE; import java.util.function.DoubleFunction; @ThreadSafeMapper @Categories(Category.nulls) public ...
virtualdataset/metagen-java
virtdata-lib-basics/src/main/java/io/virtdata/libbasics/shared/from_double/to_unset/UnsetIfLt.java
Java
apache-2.0
628
/* * Licensed to the Ted Dunning under one or more contributor license * agreements. See the NOTICE file that may be * distributed with this work for additional information * regarding copyright ownership. Ted Dunning licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may n...
smarthi/log-synth
src/main/java/com/mapr/synth/drive/Constants.java
Java
apache-2.0
1,185
/** * 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...
bonnetb/sqoop
src/test/com/cloudera/sqoop/TestParquetExport.java
Java
apache-2.0
15,893
package com.notronix.lw.api.model; import java.time.Instant; import java.util.List; import java.util.UUID; public class OrderRefundHeader { private Integer RefundHeaderId; private UUID OrderId; private Integer NumOrderId; private String ExternalReference; private Instant CreatedDate; ...
Notronix/JaLAPI
src/main/java/com/notronix/lw/api/model/OrderRefundHeader.java
Java
apache-2.0
3,337
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) 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 * * Unles...
thanujalk/carbon-security
components/org.wso2.carbon.security.caas/src/main/java/org/wso2/carbon/security/caas/user/core/store/connector/AuthorizationStoreConnectorFactory.java
Java
apache-2.0
995
/* * Copyright (C) 2014 Alejandro Rodriguez Salamanca. * * 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...
Pierry/Amazing-MVP
amazingMVP/src/main/java/com/amazing_mvp/core/view/recyclerviewrenderers/interfaces/Renderable.java
Java
apache-2.0
950
/* * 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-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/model/GetModelTemplateRequest.java
Java
apache-2.0
4,405
/* * Copyright (c) 2017. ThanksMister LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
thanksmister/androidthings-mqtt-alarm-panel
app/src/main/java/com/thanksmister/iot/mqtt/alarmpanel/network/fetchers/ImageFetcher.java
Java
apache-2.0
1,193
package uk.co.ourfriendirony.medianotifier.clients.rawg.game.search; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annota...
OurFriendIrony/MediaNotifier
app/src/main/java/uk/co/ourfriendirony/medianotifier/clients/rawg/game/search/GameSearch.java
Java
apache-2.0
2,438
package io.quarkus.narayana.lra.runtime; import javax.enterprise.context.Dependent; import javax.enterprise.inject.Produces; import io.narayana.lra.client.internal.proxy.ParticipantProxyResource; import io.narayana.lra.client.internal.proxy.nonjaxrs.LRAParticipantRegistry; @Dependent public class NarayanaLRAProducer...
quarkusio/quarkus
extensions/narayana-lra/runtime/src/main/java/io/quarkus/narayana/lra/runtime/NarayanaLRAProducers.java
Java
apache-2.0
585
/* * Solo - A small and beautiful blogging system written in Java. * Copyright (c) 2010-present, b3log.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the ...
b3log/b3log-solo
src/test/java/org/b3log/solo/MockHttpServletRequest.java
Java
apache-2.0
11,583
package org.apache.maven.archiva.consumers; /* * 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 ...
hiredman/archiva
archiva-modules/archiva-base/archiva-consumers/archiva-consumer-api/src/main/java/org/apache/maven/archiva/consumers/ConsumerMonitor.java
Java
apache-2.0
1,789
/* * 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...
dain/presto
plugin/trino-hive/src/test/java/io/trino/plugin/hive/TestHiveConnectorTest.java
Java
apache-2.0
437,398
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package cn.tomsnail.dev.console.config.indexpage.dao; import com.thinkgem.jeesite.common.persistence.TreeDao; import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; import cn.tomsnail.dev...
tomsnail/snail-dev-console
src/main/java/cn/tomsnail/dev/console/config/indexpage/dao/JsIndexDao.java
Java
apache-2.0
509
/* * 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...
yuyupapa/OpenSource
apache-jmeter-3.0/src/monitor/components/org/apache/jmeter/visualizers/ServerPanel.java
Java
apache-2.0
6,694
package com.droidutils.http; import com.droidutils.http.builder.HttpRequest; import com.droidutils.http.builder.HttpResponse; import com.droidutils.http.cache.Cache; /** * Created by Misha on 08.09.2014. */ public class HttpExecutor { private HttpConnection mHttpConnection; public HttpExecutor(HttpConnect...
justplay1/Droidutils
library/src/main/java/com/droidutils/http/HttpExecutor.java
Java
apache-2.0
1,908
/* * $Id:$ * IzPack - Copyright 2001-2008 Julien Ponge, All Rights Reserved. * * http://izpack.org/ * http://izpack.codehaus.org/ * * Copyright 2007 Klaus Bartz * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obt...
bradcfisher/izpack
izpack-compiler/src/main/java/com/izforge/izpack/compiler/packager/impl/PackagerBase.java
Java
apache-2.0
17,943
package net.darkslave.test; public class TestExecutor { private TestExecutor() {} public static Result measure(Target target, int warming, int measure) throws Exception { if (target == null) throw new IllegalArgumentException("Target method can't be null"); if (warming < 0) ...
TemkaS/util
src/main/java/net/darkslave/test/TestExecutor.java
Java
apache-2.0
4,362
/* * Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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...
xasx/camunda-bpm-platform
engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/dto/history/HistoricDecisionInstanceDto.java
Java
apache-2.0
6,991
package io.github.u2ware.browser.demo.onetomany.mail; import java.io.IOException; import javax.transaction.Transactional; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.ann...
u2ware/spring-data-rest-u2ware
spring-data-rest-u2ware-browser-demo/src/test/java/io/github/u2ware/browser/demo/onetomany/mail/MyMailRepositoryTest.java
Java
apache-2.0
3,097
package com.fireflysource.net.tcp.secure.wildfly; import com.fireflysource.net.tcp.secure.utils.SecureUtils; import javax.net.ssl.SSLContext; import java.io.InputStream; import static com.fireflysource.net.tcp.secure.utils.SecureUtils.*; public class SelfSignedCertificateWildflySSLContextFactory extends AbstractWil...
hypercube1024/firefly
firefly-net/src/main/java/com/fireflysource/net/tcp/secure/wildfly/SelfSignedCertificateWildflySSLContextFactory.java
Java
apache-2.0
835
package pl.zankowski.iextrading4j.hist.tops.message; import nl.jqno.equalsverifier.EqualsVerifier; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import pl.zankowski.iextrading4j.api.util.ToStringVerifier; import pl.zankowski.iextrading4j.hist.api.IEXMessageType; import pl.zankowski.iextradi...
WojciechZankowski/iextrading4j-hist
iextrading4j-hist-tops/src/test/java/pl/zankowski/iextrading4j/hist/tops/message/IEXQuoteUpdateMessageTest.java
Java
apache-2.0
2,942
/* * Druid - a distributed column store. * Copyright 2012 - 2015 Metamarkets Group 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-...
wenjixin/druid
processing/src/main/java/io/druid/segment/QueryableIndexStorageAdapter.java
Java
apache-2.0
26,596
/** * Copyright (C) 2009 - 2013 SC 4ViewSoft SRL * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
liupeng3425/StepSensorTest
app/src/main/java/org/achartengine/chart/XYChart.java
Java
apache-2.0
42,814
/* * 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...
mike10004/appengine-imaging
gaecompat-awt-imaging/src/sanselan/org/apache/sanselan/formats/jpeg/segments/SOFNSegment.java
Java
apache-2.0
2,967
/* * Copyright 2013-2019 consulo.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 applicable law or agreed to ...
consulo/consulo
modules/web/web-ui-impl-server/src/main/java/consulo/ui/web/internal/layout/WebVerticalLayoutImpl.java
Java
apache-2.0
2,110
package zemberek.examples.morphology; import java.io.IOException; import zemberek.core.logging.Log; import zemberek.core.turkish.PrimaryPos; import zemberek.core.turkish.RootAttribute; import zemberek.core.turkish.SecondaryPos; import zemberek.morphology.TurkishMorphology; import zemberek.morphology.analysis.SingleAna...
ahmetaa/turkish-nlp-examples
src/main/java/zemberek/examples/morphology/AddNewDictionaryItem.java
Java
apache-2.0
2,327
package com.nimbusds.jose; import java.text.ParseException; import junit.framework.TestCase; import com.nimbusds.jose.util.Base64URL; /** * Tests JWS header parsing and serialisation. * * @author Vladimir Dzhuvinov * @version $version$ (2012-10-01) */ public class JWSHeaderTest extends TestCase { public...
gesellix/Nimbus-JOSE-JWT
src/test/java/com/nimbusds/jose/JWSHeaderTest.java
Java
apache-2.0
1,373
package org.synyx.urlaubsverwaltung.core.sync.providers.exchange; import microsoft.exchange.webservices.data.core.ExchangeService; import microsoft.exchange.webservices.data.core.service.item.Appointment; /** * Provides exchange specific objects. * * @author Christian Lange - <lange@synyx.de> */ class ExchangeFa...
Intera/urlaubsverwaltung
src/main/java/org/synyx/urlaubsverwaltung/core/sync/providers/exchange/ExchangeFactory.java
Java
apache-2.0
613
package uk.dangrew.nuts.graphics.tutorial.architecture.tutor; import org.controlsfx.control.PopOver; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.Node; import javafx.scene.control.Button; import javafx.scene.layout.BorderPane; import uk.dangrew.nuts.graphics.tutorial.architecture.tut...
DanGrew/Nuts
nuts/src/uk/dangrew/nuts/graphics/tutorial/architecture/tutor/TutorPopOver.java
Java
apache-2.0
1,850
/** * 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...
kiritbasu/datacollector
commonlib/src/main/java/com/streamsets/pipeline/lib/parser/delimited/Errors.java
Java
apache-2.0
1,313
/* * Copyright 2013 must-be.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
ernestp/consulo
platform/compiler-impl/src/com/intellij/compiler/server/BuildManager.java
Java
apache-2.0
1,283
package org.drools.reteoo; import java.util.Arrays; import java.util.Comparator; import org.drools.util.Iterator; import org.drools.util.LinkedList; import org.drools.util.ObjectHashMap; import org.drools.util.ObjectHashMap.ObjectEntry; import org.drools.reteoo.CompositeObjectSinkAdapter.HashKey; public c...
bobmcwhirter/drools
drools-core/src/main/java/org/drools/reteoo/AlphaNetworkCompiler.java
Java
apache-2.0
7,954
/* * Copyright 2003 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 applic...
bric3/nCGLIB
src/main/java/net/sf/cglib/proxy/InvocationHandler.java
Java
apache-2.0
1,334
package com.mikesamuel.cil.parser; import java.util.Set; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableSet; import com.mikesamuel.cil.ast.NodeType; /** * The result of a parse operation. */ public class ParseResult { /** A summary of the result. */ public final Synopsis...
mikesamuel/code-interlingua
src/main/java/com/mikesamuel/cil/parser/ParseResult.java
Java
apache-2.0
4,476
/** * 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 ...
dorzey/assertj-core
src/main/java/org/assertj/core/error/OptionalShouldBeEmpty.java
Java
apache-2.0
2,677
/* * Copyright 2003-2009 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...
Selventa/model-builder
tools/groovy/src/src/test/UberTestCaseGroovySourceSubPackages_VM6.java
Java
apache-2.0
1,037
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package ejercicio22; import java.util.Scanner; /** *Introducir una frase por teclado. Imprimirla cinco veces en filas consecutivas, ...
ixxakk/ProyectoJava
EjerciciosJava/src/ejercicio22/ejercicio22.java
Java
apache-2.0
908
package net.ME1312.SubServers.Client.Common.Network.Packet; import net.ME1312.Galaxi.Library.Map.ObjectMap; import net.ME1312.Galaxi.Library.Util; import net.ME1312.SubData.Client.Protocol.PacketObjectIn; import net.ME1312.SubData.Client.Protocol.PacketObjectOut; import net.ME1312.SubData.Client.SubDataSender; import...
ME1312/SubServers-2
SubServers.Client/Common/src/net/ME1312/SubServers/Client/Common/Network/Packet/PacketRemoveServer.java
Java
apache-2.0
1,919
/* * * 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"); ...
greg-dove/flex-falcon
compiler-jx/src/test/java/org/apache/flex/compiler/internal/codegen/js/goog/TestGoogGlobalClasses.java
Java
apache-2.0
9,304
/* * 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/internal/objectarrays/ObjectArrays_assertDoNotHave_Test.java
Java
apache-2.0
2,669
/* * Copyright 2011 Edmunds.com, 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 agre...
edmunds/zookeeper-common
src/main/java/com/edmunds/zookeeper/treewatcher/ZooKeeperTreeState.java
Java
apache-2.0
13,693
package com.pepoc.joke.presenter; import android.content.Context; import com.pepoc.joke.data.bean.JokeContent; import com.pepoc.joke.net.http.HttpRequestManager; import com.pepoc.joke.net.http.request.RequestGetPublishedJokes; import com.pepoc.joke.view.iview.IPersonalCenterView; import java.util.List; /** * Creat...
pepoc/Joke
Joke/app/src/main/java/com/pepoc/joke/presenter/PersonalCenterPresenter.java
Java
apache-2.0
2,009
/** * Copyright 2014 Christian Kreutzfeldt * * 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 ...
mnxfst/stream-analyzer
src/main/java/com/mnxfst/stream/pipeline/message/PipelineElementReferenceUpdateMessage.java
Java
apache-2.0
2,439
package com.github.megatronking.svg.iconlibs; import android.content.Context; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.Paint; import com.github.megatronking.svg.support.SVGRenderer; /** * AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically gen...
MegatronKing/SVG-Android
svg-iconlibs/communication/src/main/java/com/github/megatronking/svg/iconlibs/ic_phone.java
Java
apache-2.0
2,288
package com.elytradev.movingworld.common.chunk.assembly; import com.elytradev.movingworld.MovingWorldMod; import com.elytradev.movingworld.common.chunk.LocatedBlock; import com.elytradev.movingworld.common.chunk.MovingWorldAssemblyInteractor; import com.elytradev.movingworld.common.chunk.MovingWorldSizeOverflowExcepti...
elytra/MovingWorld
src/main/java/com/elytradev/movingworld/common/chunk/assembly/ChunkAssembler.java
Java
apache-2.0
8,619
/* * 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 applica...
kevinsi4508/cloud-bigtable-client
bigtable-client-core-parent/bigtable-hbase/src/test/java/com/google/cloud/bigtable/hbase/PutMicroBenchmark.java
Java
apache-2.0
9,432
package io.crnk.client; import io.crnk.core.engine.document.Document; import io.crnk.core.engine.http.HttpHeaders; import io.crnk.core.engine.internal.utils.ClassUtils; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; /** * Specifies in which format request and responses are...
crnk-project/crnk-framework
crnk-client/src/main/java/io/crnk/client/ClientFormat.java
Java
apache-2.0
2,309
package com.yuyh.sprintnba.retrofit.okhttp; import java.io.IOException; import okhttp3.HttpUrl; import okhttp3.Interceptor; import okhttp3.Request; import okhttp3.Response; /** * @author yuyh. * @date 2016/8/2. */ public class CommonParamsInterceptor implements Interceptor { @Override public Response in...
xqgdmg/DavidNBA-master
app/src/main/java/com/yuyh/sprintnba/retrofit/okhttp/CommonParamsInterceptor.java
Java
apache-2.0
1,016
package scuba.test.testcase.container.stack; import java.util.Iterator; import java.util.NoSuchElementException; /** * The <tt>ResizingArrayStack</tt> class represents a last-in-first-out (LIFO) stack * of generic items. * It supports the usual <em>push</em> and <em>pop</em> operations, along with methods * f...
fredfeng/ScubaTest
Test2/src/scuba/test/testcase/container/stack/ResizingArrayStack.java
Java
apache-2.0
4,267
/* * Artifactory is a binaries repository manager. * Copyright (C) 2012 JFrog Ltd. * * Artifactory 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, either version 3 of the License, or * (at your o...
alancnet/artifactory
backend/core/src/main/java/org/artifactory/addon/plugin/download/AltRemotePathAction.java
Java
apache-2.0
1,038
/* * 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-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/PrometheusMarshaller.java
Java
apache-2.0
2,254
/* * User.java * * This file is part of the Sorcix Java IRC Library (sIRC). * * Copyright (C) 2008-2010 Vic Demuzere http://sorcix.com * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Sof...
tcichowicz/MockMock
src/main/java/com/sorcix/sirc/User.java
Java
apache-2.0
10,895
package com.github.florent37.camerafragment.internal.ui; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android....
mkrtchyanmnatsakan/DemoAppHelloWord
camerafragment/src/main/java/com/github/florent37/camerafragment/internal/ui/BaseAnncaFragment.java
Java
apache-2.0
31,725
// 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...
Ardesco/selenium
java/client/src/org/openqa/selenium/devtools/v89/V89Javascript.java
Java
apache-2.0
2,659
// // Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.8-b130911.1802 // Vedere <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. // Gene...
IcarPA-TBlab/BioGraph
biograph-etl/src/main/java/it/cnr/icar/biograph/models/uniprot/SubcellularLocationType.java
Java
apache-2.0
4,510
/** * Copyright (c) 2013-2019 Contributors to the Eclipse Foundation * * <p> See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Versio...
spohnan/geowave
extensions/cli/sentinel2/src/main/java/org/locationtech/geowave/format/sentinel2/PropertyIgnoringFilterVisitor.java
Java
apache-2.0
10,162
/** * Copyright (c) 2008-2010 Andrey Somov * * 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 applicab...
spariev/snakeyaml
src/main/java/org/yaml/snakeyaml/error/Mark.java
Java
apache-2.0
3,582
/** * Copyright 2015 Benjamin Navetta * * 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 ...
roguePanda/Aeneas
mesos/mesos-slave/src/main/java/com/bennavetta/aeneas/mesos/slave/Main.java
Java
apache-2.0
2,411
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
trasa/aws-sdk-java
aws-java-sdk-machinelearning/src/main/java/com/amazonaws/services/machinelearning/model/transform/RedshiftDatabaseJsonUnmarshaller.java
Java
apache-2.0
3,130
package hr.istratech.bixolon.driver.command.print; import org.junit.Assert; import org.junit.Test; import java.util.Arrays; /** * @author ksaric */ public class PrintTest { @Test public void testInitCommand() throws Exception { //Before final byte[] printLineFeedCommand = new byte[]{(byte...
IstraTech/bixolon-driver
bixolon-driver/src/test/java/hr/istratech/bixolon/driver/command/print/PrintTest.java
Java
apache-2.0
898
/* 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...
yvoswillens/flowable-engine
modules/flowable-engine/src/main/java/org/flowable/engine/impl/agenda/ContinueProcessOperation.java
Java
apache-2.0
18,441
/* * 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 ...
smanvi-pivotal/geode
geode-core/src/main/java/org/apache/geode/internal/cache/map/RegionMapDestroy.java
Java
apache-2.0
29,181
/* * 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-medialive/src/main/java/com/amazonaws/services/medialive/model/transform/InputDeviceSummaryJsonUnmarshaller.java
Java
apache-2.0
5,561
/* * Copyright (c) 2008-2016 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/web/test/com/haulmont/cuba/web/test/ds/api/consistency/WebLookupFieldDsTest.java
Java
apache-2.0
1,973
/* * ============================================================================= * * Copyright (c) 2011-2014, The THYMELEAF team (http://www.thymeleaf.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 ...
magat/thymeleaf
src/main/java/org/thymeleaf/engine/UnmatchedCloseElementTag.java
Java
apache-2.0
4,224
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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:...
aevum/libgdx-cpp
src/gdx-cpp/backends/android/android_support/src/com/badlogic/gdx/backends/android/AndroidSound.java
Java
apache-2.0
1,710
package co.com.codesoftware.beans.productos; import java.util.Date; import java.util.List; import javax.annotation.PostConstruct; import javax.faces.application.FacesMessage; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; import javax.faces.context.FacesContext; import org.primefaces.contex...
codesoftware/NSIGEMCO
src/main/java/co/com/codesoftware/beans/productos/SolicitudesBean.java
Java
apache-2.0
5,674
package com.morgan.design.activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.database.DataSetObserver; import android.os.Bundle; import android.support.v4.app.FragmentManager; import android.view.KeyEvent; import android.view.Menu; import and...
jamesmorgan/WhosMakingTheBrew
src/com/morgan/design/activity/TeaRoundHomeActivity.java
Java
apache-2.0
14,803
package com.fishercoder.solutions; import java.util.ArrayList; import java.util.List; public class _294 { public static class Solution1 { public boolean canWin(String s) { List<String> res = new ArrayList<>(); char[] charArray = s.toCharArray(); for (int i = 0; i < s.l...
fishercoder1534/Leetcode
src/main/java/com/fishercoder/solutions/_294.java
Java
apache-2.0
1,127
package com.SqsHipchatRouter; import java.util.HashMap; import java.util.Map; /** * Created by marlow on 10/5/15. */ public class SqsHipchatRouterConst { public static final String AWS_ACCOUNT_NUMBER = "999999999999"; public static final String SQS_BASE_URL = "https://queue.amazonaws.com/" + AWS_ACCOUNT_NU...
catblade/SqsHipchatRouter
src/main/java/com/SqsHipchatRouter/SqsHipchatRouterConst.java
Java
apache-2.0
1,028
package com.yunos.alicontacts.sim; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; public class SimContactLoadReceiver extends BroadcastReceiver { private static final String TAG = "SimContactLoadReceiver"; @Override publi...
miswenwen/My_bird_work
Bird_work/我的项目/Contacts/Contacts_liuqipeng/src/com/yunos/alicontacts/sim/SimContactLoadReceiver.java
Java
apache-2.0
3,908
package org.ssh.pm.common.filter; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServ...
yangjiandong/sshapp
application/pm/src/main/java/org/ssh/pm/common/filter/CheckSessionFilter.java
Java
apache-2.0
3,480
package com.googlecode.totallylazy; import com.googlecode.totallylazy.time.Dates; import org.junit.Test; import static com.googlecode.totallylazy.Arrays.list; import static com.googlecode.totallylazy.Sequences.sequence; import static com.googlecode.totallylazy.Strings.join; import static org.hamcrest.MatcherAssert.as...
bodar/totallylazy
test/com/googlecode/totallylazy/IteratorsTest.java
Java
apache-2.0
1,840