code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache/incubator-shardingsphere
shardingsphere-infra/shardingsphere-infra-binder/src/test/java/org/apache/shardingsphere/infra/binder/segment/select/projection/impl/AggregationDistinctProjectionTest.java
Java
apache-2.0
1,788
/* * arcus-java-client : Arcus Java client * Copyright 2010-2014 NAVER Corp. * * 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...
whchoi83/arcus-java-client
src/main/java/net/spy/memcached/BulkService.java
Java
apache-2.0
8,261
package io.subutai.core.identity.impl.model; import javax.persistence.Access; import javax.persistence.AccessType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import io.subutai.common.security.objects.PermissionObject; import io.subut...
subutai-io/Subutai
management/server/core/identity-manager/identity-manager-impl/src/main/java/io/subutai/core/identity/impl/model/UserDelegateEntity.java
Java
apache-2.0
2,648
/* * 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/calcite
core/src/test/java/org/apache/calcite/plan/volcano/TraitConversionTest.java
Java
apache-2.0
11,320
package company.kr.sand.adapter; import android.app.Activity; import android.content.Context; import android.text.TextUtils; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import a...
tnghsla13/Convenient-Store
app/src/main/java/company/kr/sand/adapter/FeedListAdapter.java
Java
apache-2.0
5,608
/** * Bean Validation TCK * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.beanvalidation.tck.tests.constraints.invalidconstraintdefinitions; import static java.lang.annotation.ElementType.TYPE; impo...
gunnarmorling/beanvalidation-tck
tests/src/main/java/org/hibernate/beanvalidation/tck/tests/constraints/invalidconstraintdefinitions/InvalidDefaultPayload.java
Java
apache-2.0
1,365
package org.xmlcml.norma.sections; import java.util.Arrays; import java.util.List; import org.apache.log4j.Level; import org.apache.log4j.Logger; import nu.xom.Element; public class JATSRefElement extends JATSElement { static final Logger LOG = Logger.getLogger(JATSRefElement.class); static { LOG.setLevel(Leve...
petermr/norma
src/main/java/org/xmlcml/norma/sections/JATSRefElement.java
Java
apache-2.0
1,067
/* * 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 by ap...
dgutierr/kie-wb-common
kie-wb-common-services/kie-wb-common-services-api/src/main/java/org/kie/workbench/common/services/backend/project/KieProjectFactory.java
Java
apache-2.0
978
/** * 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...
nandakumar131/hadoop
hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/OpenFileCtxCache.java
Java
apache-2.0
8,549
/* * 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/sanselan
src/main/java/org/apache/commons/imaging/color/ColorHsv.java
Java
apache-2.0
1,141
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.openapi.actionSystem.impl; import com.intellij.icons.AllIcons; import com.intellij.ide.HelpTooltip; import com.intellij.internal.statistic.collectors.fus.ui.persistence.ToolbarC...
jwren/intellij-community
platform/platform-impl/src/com/intellij/openapi/actionSystem/impl/ActionButton.java
Java
apache-2.0
21,387
import java.sql.Connection; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.AnnotationConfiguration; public class FooPersistence { Session session; public FooPersistence(Connection connection) { AnnotationConfiguration configuration = new...
jsampson/mayfly
web/hibernate-demo/FooPersistence.java
Java
apache-2.0
691
package com.youku.player.util; public interface DetailMessage { public final int LOAD_NEXT_PAGE_SUCCESS = 100; public final int LOAD_NEXT_PAGE_FAILED = 101; public final int REFRESH_SUCCESS = 102; public final int REFRESH_FAILED = 103; public final int GET_SERIES_SUCCESS = 104; public final i...
uin3566/Dota2Helper
youkuPlayerOpenSDK/src/main/java/com/youku/player/util/DetailMessage.java
Java
apache-2.0
2,652
package edu.cmu.supermandy.isight.ui; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; /** * Created by Mandy on 4/4/16. */ public class PagerAdapter extends FragmentStatePagerAdapter { int mNumOfTabs; public Pa...
MandyChen0114/iSight
iSight/app/src/main/java/edu/cmu/supermandy/isight/ui/PagerAdapter.java
Java
apache-2.0
1,102
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Licen...
amannm/undertow
core/src/main/java/io/undertow/protocols/ssl/SslConduit.java
Java
apache-2.0
42,506
/** * 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 n * "License"); y...
vjr/snappydata
core/src/main/java/io/snappydata/util/com/clearspring/analytics/stream/membership/DataOutputBuffer.java
Java
apache-2.0
2,903
package javasmmr.zoowsome.controllers; import java.util.ArrayList; import javasmmr.zoowsome.models.animals.*; import javasmmr.zoowsome.models.employees.*; import javasmmr.zoowsome.repositories.*; import javasmmr.zoowsome.views.MainMenuFrame; public class Main { public static void main(String[] args) throws Exceptio...
JavaSummer/JavaMainRepo
Students/Farcas Silviu Vlad/Assignment 7/javasmmr.zoowsome/src/javasmmr/zoowsome/controllers/Main.java
Java
apache-2.0
393
/* * Copyright Terracotta, 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 ...
palmanojkumar/ehcache3
impl/src/main/java/org/ehcache/config/serializer/DefaultSerializationProviderConfiguration.java
Java
apache-2.0
1,821
/* * 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 ...
robertgeiger/incubator-geode
gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/DistributedRegion.java
Java
apache-2.0
162,027
/* * 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 ...
shurun19851206/ignite
modules/core/src/test/java/org/apache/ignite/testsuites/IgnitePortableCacheTestSuite.java
Java
apache-2.0
6,450
package com.betfair.publicapi.types.exchange.v5; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * * Obtain all bets placed on a given market. Pass marketI...
etothepii/haddock
betfair/build/generated/jax-wsCache/BFExchangeService/com/betfair/publicapi/types/exchange/v5/GetCurrentBetsReq.java
Java
apache-2.0
6,030
/* * 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 ...
lemire/incubator-kylin
common/src/main/java/org/apache/kylin/common/util/LogTitlePrinter.java
Java
apache-2.0
1,367
package com.ftfl.icare.database; import java.util.ArrayList; import java.util.List; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import com.ftfl.icare...
nasser-munshi/Android
ICare/src/com/ftfl/icare/database/VaccineDataSource.java
Java
apache-2.0
5,201
/* * 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 ...
kiuby88/SeaCloudsPlatform
deployer/src/main/java/org/apache/brooklyn/entity/cloudfoundry/CloudFoundryEntity.java
Java
apache-2.0
2,989
/* * Copyright (c) 2009 - 2020 CaspersBox Web Services * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
cwsus/esolutions
eSolutionsSecurity/src/main/java/com/cws/esolutions/security/processors/enums/AuditType.java
Java
apache-2.0
2,630
/* * 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/geronimo-yoko
yoko-spec-corba/src/main/java/org/omg/MessageRouting/UntypedReplyHandlerHelper.java
Java
apache-2.0
3,825
/* * Copyright 2021 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...
marques-work/gocd
spark/spark-spa/src/main/java/com/thoughtworks/go/spark/spa/StatusReportsController.java
Java
apache-2.0
8,851
/** * 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...
jsrudani/HadoopHDFSProject
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancerWithNodeGroup.java
Java
apache-2.0
14,253
package net.mgsx.game.blueprint.ui; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input; import com.badlogic.gdx.files.FileHandle; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.graphics.glutils.ShapeRenderer; import com.badlogic.gdx.graphics.glutils....
mgsx-dev/box2d-editor
core/src/net/mgsx/game/blueprint/ui/GraphView.java
Java
apache-2.0
15,686
/* Licensed to Diennea S.r.l. under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Diennea S.r.l. licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except ...
diennea/majordodo
majordodo-net/src/main/java/majordodo/network/netty/GenericNettyBrokerLocator.java
Java
apache-2.0
4,536
//===================================================================== // //File: $RCSfile: AllEditorsDirtyTest.java,v $ //Version: $Revision: 1.9 $ //Modified: $Date: 2013/05/10 06:01:48 $ // //(c) Copyright 2004-2014 by Mentor Graphics Corp. All rights reserved. // //=================================...
HebaKhaled/bposs
src/com.mentor.nucleus.bp.ui.text.test/src/com/mentor/nucleus/bp/ui/text/test/i589Test/AllEditorsDirtyTest.java
Java
apache-2.0
2,741
/* * Copyright 2015 Open mHealth * * 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...
smalldatalab/omh-shims
shim-server/src/test/java/org/openmhealth/shim/withings/mapper/WithingsDailyCaloriesBurnedDataPointMapperUnitTests.java
Java
apache-2.0
4,148
/* * Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
mdogan/hazelcast
hazelcast/src/main/java/com/hazelcast/internal/services/ObjectNamespace.java
Java
apache-2.0
974
/* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you m...
andrewvc/elasticsearch
src/test/java/org/elasticsearch/index/mapper/UidTests.java
Java
apache-2.0
1,992
package org.jolokia.detector; /* * Copyright 2009-2011 Roland Huss * * 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...
rhuss/jolokia
agent/core/src/test/java/org/jolokia/detector/JBossDetectorTest.java
Java
apache-2.0
9,007
/* * 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 ...
ilantukh/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxRemoteAdapter.java
Java
apache-2.0
40,857
/* * 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 ...
grgrzybek/karaf
tooling/karaf-maven-plugin/src/it/test-run-bundle/src/main/java/test/Dummy.java
Java
apache-2.0
862
package org.zstack.network.service; import org.springframework.beans.factory.annotation.Autowired; import org.zstack.core.componentloader.PluginRegistry; import org.zstack.core.db.Q; import org.zstack.core.db.SimpleQuery; import org.zstack.core.db.SimpleQuery.Op; import org.zstack.header.Component; import org.zstack.h...
zstackorg/zstack
network/src/main/java/org/zstack/network/service/DhcpExtension.java
Java
apache-2.0
14,549
/* * 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 ...
ivankelly/bookkeeper
stream/statelib/src/test/java/org/apache/bookkeeper/statelib/impl/mvcc/TestMVCCAsyncBytesStoreImpl.java
Java
apache-2.0
17,417
/* * Copyright 2021 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 applica...
google/ExoPlayer
library/common/src/test/java/com/google/android/exoplayer2/PlaybackParametersTest.java
Java
apache-2.0
1,275
/* * 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 ...
monetate/druid
extensions-core/google-extensions/src/test/java/org/apache/druid/storage/google/GoogleStorageTest.java
Java
apache-2.0
3,707
package org.wildfly.swarm.container.config; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; import java.util.stream.Stream; import org.wildfly.swarm.spi.api.config.ConfigKey; import org.wildfly.swarm.spi.api.config.ConfigTree; import org...
emag/wildfly-swarm
core/container/src/main/java/org/wildfly/swarm/container/config/ConfigNode.java
Java
apache-2.0
6,392
/* * (c) Copyright 2019 Palantir Technologies 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 ...
palantir/atlasdb
timelock-impl/src/main/java/com/palantir/atlasdb/timelock/auth/api/Password.java
Java
apache-2.0
899
/* * 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/ant-ivyde
org.apache.ivyde.eclipse/src/java/org/apache/ivyde/internal/eclipse/ui/preferences/MappingSetupPreferencePage.java
Java
apache-2.0
2,561
package org.jasig.cas.monitor; import org.jasig.cas.mock.MockService; import org.jasig.cas.ticket.ExpirationPolicy; import org.jasig.cas.ticket.TicketGrantingTicketImpl; import org.jasig.cas.ticket.UniqueTicketIdGenerator; import org.jasig.cas.ticket.registry.DefaultTicketRegistry; import org.jasig.cas.ticket.registry...
y1011/cas-server
cas-server-core-monitor/src/test/java/org/jasig/cas/monitor/SessionMonitorTests.java
Java
apache-2.0
3,177
/** * Copyright (C) 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....
52North/OpenSensorSearch
sir-it/src/test/java/org/n52/sir/oldIT/InsertSensorStatus.java
Java
apache-2.0
1,768
/** * <copyright> * </copyright> * * $Id$ */ package org.wso2.developerstudio.eclipse.gmf.esb; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Transaction Mediator</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link ...
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.gmf.esb/src/org/wso2/developerstudio/eclipse/gmf/esb/TransactionMediator.java
Java
apache-2.0
4,390
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
ern/elasticsearch
server/src/internalClusterTest/java/org/elasticsearch/search/aggregations/bucket/ReverseNestedIT.java
Java
apache-2.0
36,667
/* * 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...
Darsstar/framework
client/src/main/java/com/vaadin/client/widget/grid/selection/MultiSelectionRenderer.java
Java
apache-2.0
28,136
package org.wso2.developerstudio.datamapper.diagram.edit.parts; import org.eclipse.draw2d.IFigure; import org.eclipse.draw2d.Label; import org.eclipse.draw2d.RectangleFigure; import org.eclipse.draw2d.RoundedRectangle; import org.eclipse.draw2d.Shape; import org.eclipse.draw2d.StackLayout; import org.eclipse.draw2d.Ti...
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.visualdatamapper.diagram/src/org/wso2/developerstudio/datamapper/diagram/edit/parts/EqualEditPart.java
Java
apache-2.0
5,756
/* * Copyright 2014-present Facebook, 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...
MarkRunWu/buck
src/com/facebook/buck/apple/PlistProcessStep.java
Java
apache-2.0
2,840
/* Copyright (C) 2013-2015 Computer Sciences 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 ap...
ezbake/ezbake-platform-services
warehaus/service/src/main/java/ezbake/warehaus/AccumuloWarehaus.java
Java
apache-2.0
79,271
/* * Copyright (c) 2018, Magic fTail * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of conditio...
Sethtroll/runelite
runelite-client/src/main/java/net/runelite/client/plugins/worldmap/MinigameLocation.java
Java
bsd-2-clause
4,495
package com.github.sandor_balazs.nosql_java.web.rest.dto; import java.time.ZonedDateTime; import com.github.sandor_balazs.nosql_java.domain.User; /** * A DTO extending the UserDTO, which is meant to be used in the user management UI. */ public class ManagedUserDTO extends UserDTO { private Long id; priva...
sandor-balazs/nosql-java
oracle/src/main/java/com/github/sandor_balazs/nosql_java/web/rest/dto/ManagedUserDTO.java
Java
bsd-2-clause
1,749
package cz.metacentrum.perun.webgui.tabs.servicestabs; import com.google.gwt.cell.client.FieldUpdater; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.resources.client.ImageResource; import com.google.gwt.user.cellview.client.CellTable; impo...
Holdo/perun
perun-web-gui/src/main/java/cz/metacentrum/perun/webgui/tabs/servicestabs/ServicesTabItem.java
Java
bsd-2-clause
6,192
/** Copyright 2012, Adam L. Davis, all rights reserved. */ package com.adamldavis.z.java; import static java.util.Arrays.asList; import groovy.lang.Binding; import groovy.lang.GroovyShell; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.uti...
adamd/z
src/com/adamldavis/z/java/GroovyPlay.java
Java
bsd-2-clause
4,720
package com.vladsch.flexmark.util.ast;
vsch/commonmark-java
flexmark-util-ast/src/main/java/com/vladsch/flexmark/util/ast/package-info.java
Java
bsd-2-clause
39
package com.vladsch.flexmark.ext.toc; import com.vladsch.flexmark.util.sequence.BasedSequence; import org.jetbrains.annotations.NotNull; /** * A simulated toc block node */ public class SimTocBlock extends TocBlockBase { protected BasedSequence anchorMarker = BasedSequence.NULL; protected BasedSequence open...
vsch/commonmark-java
flexmark-ext-toc/src/main/java/com/vladsch/flexmark/ext/toc/SimTocBlock.java
Java
bsd-2-clause
2,636
package ezvcard.parameter; import java.lang.reflect.Constructor; import ezvcard.VCardVersion; import ezvcard.util.CaseClasses; /* Copyright (c) 2012-2015, Michael Angstadt All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the follow...
fullcontact/ez-vcard
src/main/java/ezvcard/parameter/VCardParameterCaseClasses.java
Java
bsd-2-clause
2,566
package com.dslplatform.json; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.List; public abstract class StringConverter { public static final JsonReader.ReadObject<String> READER = new JsonReader.ReadObject<String>() { @Nullable @Override public String r...
ngs-doo/dsl-json
library/src/main/java/com/dslplatform/json/StringConverter.java
Java
bsd-3-clause
3,698
/* * Copyright (c) 2013, R. van Twisk * All rights reserved. * Licensed under the The BSD 3-Clause License; * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://opensource.org/licenses/BSD-3-Clause * * Redistribution and use in source and bina...
rvt/cnctools
cnctools/src/main/java/com/rvantwisk/cnctools/misc/ProjectModel.java
Java
bsd-3-clause
10,361
package org.hisp.dhis.system.log; /* * Copyright (c) 2004-2018, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above cop...
msf-oca-his/dhis-core
dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/log/Log4JLogConfigInitializer.java
Java
bsd-3-clause
6,474
/* * Copyright 2017, 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 applic...
eoogbe/api-client-staging
generated/java/gapic-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceStub.java
Java
bsd-3-clause
5,221
package org.hisp.dhis.validation; /* * Copyright (c) 2004-2018, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the a...
msf-oca-his/dhis-core
dhis-2/dhis-api/src/main/java/org/hisp/dhis/validation/ValidationRuleService.java
Java
bsd-3-clause
7,339
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.openxr; import javax.annotation.*; import java.nio.*; import org.lwjgl.*; import org.lwjgl.system.*; import static org.lwjgl.system.Checks.*; import static org.lwj...
LWJGL-CI/lwjgl3
modules/lwjgl/openxr/src/generated/java/org/lwjgl/openxr/XrSpatialAnchorPersistenceNameMSFT.java
Java
bsd-3-clause
12,829
package com.fsck.k9.mailstore; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Locale; import java.util.TimeZone; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import com.fsck.k9.activity.K9ActivityCommon; import com...
vasyl-khomko/k-9
k9mail/src/androidTest/java/com/fsck/k9/mailstore/MessageViewInfoExtractorTest.java
Java
bsd-3-clause
8,785
/* * Created on 14.07.2004 */ package net.sourceforge.pmd.dfa.variableaccess; /** * @author raik */ public class VariableAccess { public static final int DEFINITION = 0; public static final int REFERENCING = 1; public static final int UNDEFINITION = 2; private int accessType; private String v...
pscadiz/pmd-4.2.6-gds
src/net/sourceforge/pmd/dfa/variableaccess/VariableAccess.java
Java
bsd-3-clause
1,458
package uk.org.ponder.stringutil; /** This abstract class forms part of the fast and better instrumented * uk.org.ponder.streamutil.DirectInputStreamReader architecture. It is * intended as a base class for specific byte to character decoders * (such as ByteToCharUTF8), and abstracts away the non-stream and * no...
ern/rsf
rsf-core/ponderutilcore/src/uk/org/ponder/stringutil/ByteToCharConverter.java
Java
bsd-3-clause
7,013
/* Generated By:JavaCC: Do not edit this line. VRML97ParserTokenManager.java */ package org.cybergarage.x3d.parser.vrml97; import org.cybergarage.x3d.field.*; import org.cybergarage.x3d.node.*; import org.cybergarage.x3d.parser.*; public class VRML97ParserTokenManager implements VRML97ParserConstants { public java....
cybergarage/cybergarage-x3d
core/src/main/java/org/cybergarage/x3d/parser/vrml97/VRML97ParserTokenManager.java
Java
bsd-3-clause
115,770
/* * Copyright (c) 2016 Goldman Sachs. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v. 1.0 which accompany this distribution. * The Eclipse Public License is available at http://www.ecli...
bhav0904/eclipse-collections
eclipse-collections/src/main/java/org/eclipse/collections/impl/block/procedure/CaseProcedure.java
Java
bsd-3-clause
2,629
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package org.firebears.subsystems; import edu.wpi.first.wpilibj.CANJaguar; import edu.wpi.first.wpilibj.DigitalInput; import edu.wpi.first.wpilibj.can.CANTimeoutException; import edu.wpi.first.wpilibj.command.Su...
firebears-2014/FB2012
src/org/firebears/subsystems/Collector.java
Java
bsd-3-clause
2,307
/** * SAHARA Scheduling Server * * Schedules and assigns local laboratory rigs. * * @license See LICENSE in the top level directory for complete license terms. * * Copyright (c) 2009, University of Technology, Sydney * All rights reserved. * * Redistribution and use in source and binary forms, with ...
sahara-labs/scheduling-server
Reports/src/au/edu/uts/eng/remotelabs/schedserver/reports/ReportsActivator.java
Java
bsd-3-clause
3,532
package org.motechproject.nms.testing.it.mcts.util; import org.apache.commons.io.IOUtils; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /* test servlet for dat...
motech-implementations/mim
testing/src/test/java/org/motechproject/nms/testing/it/mcts/util/MockWsHttpServletForASHAValidation.java
Java
bsd-3-clause
913
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.contextmenu; import static org.mockito.Mockito.when; import static org.chromium.chrome.browser.contextmenu.ContextMe...
nwjs/chromium.src
chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/ContextMenuTest.java
Java
bsd-3-clause
51,635
package bio.terra.workspace.service.workspace.exceptions; import bio.terra.common.exception.BadRequestException; /** * Exception thrown when a user attempts to use Buffer Service in an environment where it's disabled * or not configured. TODO(PF-302): Remove this exception when buffer is enabled and used in all * ...
DataBiosphere/terra-workspace-manager
service/src/main/java/bio/terra/workspace/service/workspace/exceptions/BufferServiceDisabledException.java
Java
bsd-3-clause
496
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 20...
delkyd/Oracle-Cloud
PaaS_SaaS_Accelerator_RESTFulFacade/XJC_Beans/src/com/oracle/xmlns/apps/crmcommon/salesparties/salespartiesservice/types/DeleteSalesAccountResource.java
Java
bsd-3-clause
2,292
/* * Copyright 2016 Federico Tomassetti * * 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...
rpau/java-symbol-solver
java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/TryWithResourceContext.java
Java
mit
3,839
/* * Copyright (c) 2007 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.mockito.internal.matchers; import java.io.Serializable; import org.mockito.ArgumentMatcher; @SuppressWarnings({ "unchecked", "serial","rawtypes" }) public class Or implements ArgumentM...
szpak/mockito
src/main/java/org/mockito/internal/matchers/Or.java
Java
mit
725
package flow.netbeans.markdown.csl; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Set; import javax.swing.ImageIcon; import org.netbeans.modules.csl.api.ElementHandle; import org.netbeans.modules.csl.api.ElementKind; import org.netbeans.modules.csl.api.HtmlFormatter...
stengerh/flow-netbeans-markdown
src/flow/netbeans/markdown/csl/MarkdownAbbreviationsRootItem.java
Java
mit
2,932
package org.jenkinsci.plugins.github_integration.its; import hudson.matrix.AxisList; import hudson.matrix.MatrixBuild; import hudson.matrix.MatrixProject; import hudson.matrix.MatrixRun; import hudson.matrix.TextAxis; import hudson.tasks.Shell; import org.jenkinsci.plugins.github.pullrequest.GitHubPRMessage; import or...
jenkinsci/github-pullrequest-plugin
github-pullrequest-plugin/src/test/java/org/jenkinsci/plugins/github_integration/its/MatrixProjectITest.java
Java
mit
2,100
package org.bouncycastle.cert.crmf.jcajce; import java.io.IOException; import java.security.AlgorithmParameterGenerator; import java.security.AlgorithmParameters; import java.security.GeneralSecurityException; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import jav...
partheinstein/bc-java
pkix/src/main/java/org/bouncycastle/cert/crmf/jcajce/CRMFHelper.java
Java
mit
15,753
class A { } class B { } class if_acmp1 { private static B get_B() { B b = new B(); return b; } public static void main(String[] args) { A a0 = new A(); A a1 = new A(); A a2 = new A(); A a3 = new A(); A a4 = new A(); assert a0 == a0; assert a1 == a1; assert a2 == a2; ...
jayhorn/cav_experiments
jayhorn_cav16_ae/cbmc_benchmarks/if_acmp1/if_acmp1.java
Java
mit
569
/******************************************************************************* * Copyright (c) 2015 - 2018 * * 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 Software without restriction, including...
Peter-Maximilian/settlers-remake
jsettlers.logic/src/main/java/jsettlers/main/replay/ReplayUtils.java
Java
mit
10,500
package com.jvm_bloggers.frontend.public_area.common_layout; import com.googlecode.wicket.jquery.ui.markup.html.link.BookmarkablePageLink; import com.jvm_bloggers.frontend.public_area.AboutPage; import com.jvm_bloggers.frontend.public_area.FireInOvhPage; import com.jvm_bloggers.frontend.public_area.all_issues.AllIssue...
jvm-bloggers/jvm-bloggers
src/main/java/com/jvm_bloggers/frontend/public_area/common_layout/HeaderFrontend.java
Java
mit
1,617
/* * Licensed to the University Corporation for Advanced Internet Development, * Inc. (UCAID) under one or more contributor license agreements. See the * NOTICE file distributed with this work for additional information regarding * copyright ownership. The UCAID licenses this file to You under the Apache * Lic...
Safewhere/kombit-web-java
kombit-opensaml-2.5.1/src/org/opensaml/xacml/policy/impl/AttributeSelectorTypeUnmarshaller.java
Java
mit
2,638
/* * Licensed to the University Corporation for Advanced Internet Development, * Inc. (UCAID) under one or more contributor license agreements. See the * NOTICE file distributed with this work for additional information regarding * copyright ownership. The UCAID licenses this file to You under the Apache * Lic...
Safewhere/kombit-web-java
kombit-opensaml-2.5.1/src/org/opensaml/saml2/core/impl/StatusMessageImpl.java
Java
mit
2,106
/** * Copyright (c) 2005-2006, Sun Microsystems, Inc * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * ...
theyelllowdart/jmockit
samples/TimingFramework/src/org/jdesktop/animation/timing/interpolation/KeyTimes.java
Java
mit
3,949
package com.outsystems.android.model; public enum DLOperationType { dlLoginOperation("login"), dlOpenUrlOperation("openurl"), dlInvalidOperation("invalid"); public final String name; DLOperationType(String name){ this.name = name; } public String toString(){ return this.getName(); } public St...
jrmunson/Android-Dev
outsystems-app-android/Outsytems/platforms/android/src/com/outsystems/android/model/DLOperationType.java
Java
mit
631
package org.diorite.material.blocks.wooden.wood.fencegate; import java.util.Map; import org.diorite.BlockFace; import org.diorite.material.Material; import org.diorite.material.WoodTypeMat; import org.diorite.material.blocks.FenceGateMat; import org.diorite.utils.collections.maps.CaseInsensitiveMap; import gnu.trove...
marszczybrew/Diorite
DioriteAPI/src/main/java/org/diorite/material/blocks/wooden/wood/fencegate/OakFenceGateMat.java
Java
mit
5,868
package aima.core.learning.inductive; import java.util.ArrayList; import java.util.Hashtable; import java.util.List; import aima.core.learning.framework.DataSet; import aima.core.learning.framework.Example; import aima.core.util.Util; /** * @author Ravi Mohan * */ public class DecisionTree { private String attr...
Iroxsmyth/Brisca-AI-2017
src/main/java/aima/core/learning/inductive/DecisionTree.java
Java
mit
2,953
package org.typemeta.funcj.kleisli; import org.typemeta.funcj.control.WriterM; import org.typemeta.funcj.functions.Functions; /** * {@code WriterMK} models composable operations that return a {@code Reader}. * @param <W> the input type of the returned {@code Reader} type * @param <A> the input type of ...
jon-hanson/funcj
core/src/main/java/org/typemeta/funcj/kleisli/WriterMK.java
Java
mit
2,430
package br.pucrio.opus.smells.tests.metrics; import java.io.IOException; import org.eclipse.jdt.core.dom.CompilationUnit; import org.eclipse.jdt.core.dom.TypeDeclaration; import org.junit.Assert; import org.junit.Test; import br.pucrio.opus.smells.ast.visitors.TypeDeclarationCollector; import br.pucrio.opus.smells.m...
diegocedrim/sururu
test/br/pucrio/opus/smells/tests/metrics/NOAMTest.java
Java
mit
1,449
package org.telegram.android.kernel.compat.state; import java.io.Serializable; /** * Created by ex3ndr on 17.11.13. */ public class CompatSessionKey implements Serializable { private int dcId; private byte[] session; private int seqNo; private long lastMessageId; public int getDcId() { ...
ex3ndr/telegram
app/src/main/java/org/telegram/android/kernel/compat/state/CompatSessionKey.java
Java
mit
536
/* * Copyright (c) 2013 Big Switch Networks, Inc. * * Licensed under the Eclipse Public License, Version 1.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.eclipse.org/legal/epl-v10.html * * Unless required by ap...
mandeepdhami/netvirt-ctrl
sdnplatform/src/main/java/org/sdnplatform/vendor/OFBigSwitchVendorExtensions.java
Java
epl-1.0
2,917
package org.mwc.debrief.core.contenttype; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import org.eclipse.core.internal.content.TextContentDescriber; import org.eclipse.core.runtime.Status; import org.eclipse.core.runtime.content.IContentDesc...
alastrina123/debrief
org.mwc.debrief.core/src/org/mwc/debrief/core/contenttype/AISContentDescriber.java
Java
epl-1.0
1,163
/******************************************************************************* * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
boniatillo-com/PhaserEditor
source/thirdparty/jsdt/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/ui/actions/FindReadReferencesInWorkingSetAction.java
Java
epl-1.0
4,023
/******************************************************************************* * Copyright (c) 2017 Red Hat Inc * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at ...
gavinying/kura
kura/org.eclipse.kura.broker.artemis.xml/src/main/java/org/eclipse/kura/broker/artemis/xml/ServiceComponent.java
Java
epl-1.0
3,995
/* // This software is subject to the terms of the Eclipse Public License v1.0 // Agreement, available at the following URL: // http://www.eclipse.org/legal/epl-v10.html. // You must accept the terms of that agreement to use this software. // // Copyright (C) 2007-2007 Pentaho and others // All Rights Reserved. */ pack...
rfellows/mondrian
testsrc/main/mondrian/test/clearview/MetricFilterTest.java
Java
epl-1.0
1,448
/** * Copyright (c) 2010-2018 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */...
andiikaa/openhab2
addons/binding/org.openhab.binding.tankerkoenig/src/main/java/org/openhab/binding/tankerkoenig/internal/config/TankerkoenigListResult.java
Java
epl-1.0
1,429
/******************************************************************************* * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
boniatillo-com/PhaserEditor
source/thirdparty/jsdt/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/ui/actions/GenerateActionGroup.java
Java
epl-1.0
21,469