repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
Merve13/meinwebtechprojekt
webtech2013-master/webtech2013-master/play_basics/app/controllers/ShopListController.java
1281
package controllers; import java.util.List; import models.ShopList; import models.ShopListItem; import play.Logger; import play.data.Form; import play.mvc.Controller; import play.mvc.Result; public class ShopListController extends Controller { /** * Posten der Liste hinzufügen * @return */ public static Re...
apache-2.0
wjbuys/blox
scheduling-manager/src/main/java/com/amazonaws/blox/scheduling/SchedulingApplication.java
3092
/* * Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may * not use this file except in compliance with the License. A copy of the * License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "LICEN...
apache-2.0
objmagic/heron
heron/statemgrs/src/java/com/twitter/heron/statemgr/FileSystemStateManager.java
10845
// Copyright 2016 Twitter. 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...
apache-2.0
dropbox/bazel
src/main/java/com/google/devtools/build/skyframe/ShareabilityOfValue.java
1299
// Copyright 2018 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
apache-2.0
MerritCR/merrit
gerrit-server/src/test/java/com/google/gerrit/testutil/TestChanges.java
5973
// 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 ...
apache-2.0
backpaper0/doma2
src/main/java/org/seasar/doma/DomainConverters.java
1970
/* * Copyright 2004-2010 the Seasar Foundation and the Others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
apache-2.0
porcelli-forks/jbpm-form-modeler
jbpm-form-modeler-core/jbpm-form-modeler-api/src/main/java/org/jbpm/formModeler/api/events/FormSubmitFailEvent.java
1202
/** * Copyright (C) 2012 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
apache-2.0
openhab/jmdns
src/main/java/javax/jmdns/impl/tasks/resolver/DNSResolverTask.java
3416
// Licensed under Apache License version 2.0 package javax.jmdns.impl.tasks.resolver; import java.io.IOException; import java.util.Timer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.jmdns.impl.DNSOutgoing; import javax.jmdns.impl.JmDNSImpl; import javax.jmdns.impl.constants.DNSConstants; imp...
apache-2.0
DarwinSPL/DarwinSPL
plugins/eu.hyvar.mspl.manifest.resource.hymanifest/src-gen/eu/hyvar/mspl/manifest/resource/hymanifest/IHymanifestResourcePostProcessor.java
971
/** * <copyright> * </copyright> * * */ package eu.hyvar.mspl.manifest.resource.hymanifest; /** * Implementors of this interface can be used to post-process parsed text * resources. This can be useful to validate or modify the model that was * instantiated for the text. */ public interface IHymanifestResour...
apache-2.0
glahiru/airavata
modules/xbaya-gui/src/test/java/org/apache/airavata/xbaya/interpreter/SimpleForEachWorkflowTest.java
3805
///* // * // * 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 //...
apache-2.0
NBANDROIDTEAM/NBANDROID-V2
nbandroid.core/src/main/java/org/nbandroid/netbeans/gradle/v2/NbOptionalDependencySpiLoader.java
6180
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache-2.0
apache/parquet-mr
parquet-hadoop/src/test/java/org/apache/parquet/filter2/compat/TestRowGroupFilter.java
5088
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
apache-2.0
pencil-box/NetKnight
MPChartLib/src/com/github/mikephil/charting/charts/PieRadarChartBase.java
16549
package com.github.mikephil.charting.charts; import android.animation.ObjectAnimator; import android.animation.ValueAnimator; import android.animation.ValueAnimator.AnimatorUpdateListener; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.PointF; import android.graphics.R...
apache-2.0
wcm-io-devops/conga
tooling/conga-maven-plugin/src/main/java/io/wcm/devops/conga/tooling/maven/plugin/ValidateMojo.java
14677
/* * #%L * wcm.io * %% * Copyright (C) 2015 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...
apache-2.0
microg/android_packages_apps_GmsCore
play-services-cast-api/src/main/java/com/google/android/gms/cast/CastDevice.java
5192
/* * Copyright (C) 2013-2017 microG Project Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
apache-2.0
palantir/atlasdb
atlasdb-api/src/main/java/com/palantir/atlasdb/keyvalue/api/Prefix.java
1149
/* * (c) Copyright 2018 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 ...
apache-2.0
bpupadhyaya/dashboard-demo-1
src/main/java/org/vaadin/viritin/grid/MGrid.java
7164
package org.vaadin.viritin.grid; import com.vaadin.data.Item; import com.vaadin.data.RpcDataProviderExtension; import com.vaadin.data.fieldgroup.FieldGroup; import com.vaadin.server.Extension; import com.vaadin.ui.Grid; import org.vaadin.viritin.LazyList; import org.vaadin.viritin.ListContainer; import org.vaadin.viri...
apache-2.0
TommyLemon/Android-ZBLibrary
app/src/main/java/zblibrary/demo/DEMO/DemoBottomWindow.java
4436
/*Copyright ©2015 TommyLemon(https://github.com/TommyLemon) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
apache-2.0
lucky-code/Practice
kuaichuan2.0/app/src/main/java/com/lu/kuaichuan/wifidirect/fragment/ToolBarFragment.java
1045
package com.lu.kuaichuan.wifidirect.fragment; import android.support.v4.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.support.v7.widget.Toolbar; import com.lu.kuaichuan.wifidirect.activity.MainActivity; import com.lu...
apache-2.0
apache/incubator-shardingsphere
shardingsphere-infra/shardingsphere-infra-merge/src/test/java/org/apache/shardingsphere/infra/merge/engine/decorator/impl/TransparentResultDecoratorTest.java
2205
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
kunickiaj/datacollector
container/src/main/java/com/streamsets/datacollector/config/KeytabSource.java
1148
/* * Copyright 2019 StreamSets 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...
apache-2.0
objectiser/camel
core/camel-core-engine/src/main/java/org/apache/camel/model/PollEnrichDefinition.java
9612
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache-2.0
flaxsearch/BioSolr
ontology/ontology-annotator/core/src/main/java/uk/co/flax/biosolr/ontology/core/ols/OLSOntologyConfiguration.java
1865
/** * Copyright (c) 2016 Lemur Consulting Ltd. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by appli...
apache-2.0
linkedin/indextank-engine
src/main/java/com/flaptor/indextank/suggest/NoSuggestor.java
1535
/* * Copyright (c) 2011 LinkedIn, 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...
apache-2.0
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.gmf.esb.edit/src-gen/org/wso2/developerstudio/eclipse/gmf/esb/components/MessageStoreParameterPropertiesEditionComponent.java
8062
/** * Generated with Acceleo */ package org.wso2.developerstudio.eclipse.gmf.esb.components; // Start of user code for imports import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util.Diagnostic; import org.eclipse.emf.common.util.Wrap...
apache-2.0
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/edit/commands/CacheMediatorCreateCommand.java
2897
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.emf.ecore.EObject; import org.eclipse.gmf.runtime.common.core.command.CommandResu...
apache-2.0
apache/uima-sandbox
CasViewerEclipsePlugin/uimaj-ep-casviewer-core/src/main/java/org/apache/uima/casviewer/ui/internal/style/DefaultColorTreeLabelProvider.java
12274
package org.apache.uima.casviewer.ui.internal.style; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import org.apache.uima.casviewer.core.internal.IItemTypeConstants; import org.apache.uima.casviewer.core.internal.TypeNode; import org.apache.uima.resource.metadata.TypeDescription; import o...
apache-2.0
Orange-OpenSource/cf-java-client
cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/_GetApplicationManifestRequest.java
927
/* * Copyright 2013-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
apache-2.0
thisisdhaas/CookEase
WekaForAndroidModelTrainer/src/edu/berkeley/cs160/DeansOfDesign/wekamodeltrainer/AudioFeatures.java
2583
package edu.berkeley.cs160.DeansOfDesign.wekamodeltrainer; import java.util.ArrayList; import java.util.HashMap; import weka.core.Attribute; public class AudioFeatures { public static String BOILING = "0"; public static String MICRO_DONE = "1"; public static String MICRO_EXPL = "2"; public static String NO_EVENT...
apache-2.0
koo-taejin/pinpoint
agent-testweb/jdk-http-plugin-testweb/src/main/java/com/pinpointest/plugin/CertService.java
3919
package com.pinpointest.plugin; import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.LogManager; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.core.io.Resource; import org.springframework.stereotype.Component...
apache-2.0
tonykwok/leonardosketch.amino
src/org/joshy/gfx/test/jogl/AAPolygonTest.java
7591
package org.joshy.gfx.test.jogl; import com.sun.opengl.util.Animator; import javax.media.opengl.*; import javax.media.opengl.awt.GLCanvas; import javax.media.opengl.glu.GLU; import javax.swing.*; import java.awt.*; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; /** * Created by IntelliJ IDE...
bsd-2-clause
SigmoidFreud/clearnlp
src/main/java/com/googlecode/clearnlp/dependency/factory/DefaultDEPTreeDatum.java
2635
/** * Copyright (c) 2009/09-2012/08, Regents of the University of Colorado * 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 copy...
bsd-2-clause
Sethtroll/runelite
runelite-client/src/main/java/net/runelite/client/plugins/chatboxperformance/ChatboxPerformancePlugin.java
4677
/* * Copyright (c) 2018, Woox <https://github.com/wooxsolo> * 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, thi...
bsd-2-clause
ucsd-progsys/ml2
eval/sherrloc/src/sherrloc/constraint/ast/Constructor.java
2573
package sherrloc.constraint.ast; import java.util.ArrayList; import java.util.List; /** * A constructor (e.g., list(1), pair(2)) has a name, an arity and the variance * of parameters */ public class Constructor extends Element { private final int arity; private final boolean contraVariant; /** * @param name...
bsd-3-clause
ClearTK/cleartk
cleartk-corpus/src/main/java/org/cleartk/corpus/genia/pos/util/GeniaParse.java
3061
/** * Copyright (c) 2007-2008, Regents of the University of Colorado * 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 n...
bsd-3-clause
leriomaggio/code-coherence-evaluation-tool
code_comments_coherence/media/jfreechart/0.7.1/jfreechart-071zip/extracted/jfreechart-0.7.1/source/com/jrefinery/chart/CategoryItemRenderer.java
2676
/* ======================================= * JFreeChart : a Java Chart Class Library * ======================================= * * Project Info: http://www.jrefinery.com/jfreechart; * Project Lead: David Gilbert (david.gilbert@jrefinery.com); * * (C) Copyright 2000-2002, by Simba Management Limited and Contrib...
bsd-3-clause
Qihoo360/poseidon
builder/index/src/main/java/InvertedIndex/LogParser.java
2294
package InvertedIndex; import java.io.IOException; import java.nio.charset.Charset; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Mapper; import util.MurmurHash3; public abstract class LogParser { public abstract void ParseLine(String line, long ...
bsd-3-clause
martiner/gooddata-java
gooddata-java-model/src/main/java/com/gooddata/sdk/model/md/dashboard/Kpi.java
6360
/* * Copyright (C) 2004-2019, GoodData(R) Corporation. All rights reserved. * This source code is licensed under the BSD-style license found in the * LICENSE.txt file in the root directory of this source tree. */ package com.gooddata.sdk.model.md.dashboard; import static com.gooddata.sdk.common.util.Validate.notE...
bsd-3-clause
swhgoon/scaled
api/src/main/java/scaled/Fn.java
818
// // Scaled - a scalable editor extensible via JVM languages // http://github.com/scaled/scaled/blob/master/LICENSE package scaled; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Defines an fn bi...
bsd-3-clause
roth1002/infer
infer/models/java/src/com/squareup/okhttp/internal/Util.java
409
package com.squareup.okhttp.internal; import com.facebook.infer.models.InferCloseables; import java.io.Closeable; import java.io.IOException; import java.nio.charset.Charset; public class Util { public static final Charset US_ASCII = Charset.forName("US-ASCII"); public static void closeQuietly(Closeable c...
bsd-3-clause
NCIP/common-security-module
software/api/src/gov/nih/nci/security/authentication/principal/LastNamePrincipal.java
906
/*L * Copyright Ekagra Software Technologies Ltd. * Copyright SAIC, SAIC-Frederick * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/common-security-module/LICENSE.txt for details. */ package gov.nih.nci.security.authentication.principal; import java.security.Principa...
bsd-3-clause
NCIP/cadsr-semantic-tools
software/SIW/src/java/gov/nih/nci/ncicb/cadsr/loader/ui/ApplyException.java
284
package gov.nih.nci.ncicb.cadsr.loader.ui; /** * Thrown by an Applyable Panel if, for some reason, it could not apply. */ public class ApplyException extends Exception { public ApplyException(String msg) { super(msg); } public ApplyException() { super(); } }
bsd-3-clause
weskerhluffy/cacas-server-3.4.7
cas-server-core/src/main/java/org/jasig/cas/authentication/principal/UsernamePasswordCredentialsToPrincipalResolver.java
1454
/* * Copyright 2007 The JA-SIG Collaborative. All rights reserved. See license * distributed with this file and available online at * http://www.ja-sig.org/products/cas/overview/license/ */ package org.jasig.cas.authentication.principal; /** * Implementation of CredentialsToPrincipalResolver for Credentials based...
bsd-3-clause
iamedu/dari
util/src/main/java/com/psddev/dari/util/Transformer.java
2163
package com.psddev.dari.util; import java.lang.reflect.Array; import java.util.HashMap; import java.util.Map; /** * Transforms an arbitrary object into another object. * * @deprecated No replacement. */ @Deprecated public class Transformer { private final Map<Class<?>, TransformationFunction<?>> functions = ...
bsd-3-clause
dushmis/Oracle-Cloud
PaaS_SaaS_Accelerator_RESTFulFacade/FusionProxy_SalesLeadsService/src/com/oracle/xmlns/apps/marketing/leadmgmt/leads/leadservice/types/GetSalesLeadResponse.java
1703
package com.oracle.xmlns.apps.marketing.leadmgmt.leads.leadservice.types; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; im...
bsd-3-clause
GeoscienceAustralia/Geodesy-Web-Services
gws-core/src/test/java/au/gov/ga/geodesy/support/TestResources.java
4296
package au.gov.ga.geodesy.support; import org.springframework.core.io.Resource; import org.springframework.core.io.support.PathMatchingResourcePatternResolver; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.Reader; import java.util.ArrayList; import java.util.List; /** * ...
bsd-3-clause
emaze/emaze-dysfunctional
src/test/java/net/emaze/dysfunctional/iterations/InterleavingIteratorTest.java
1953
package net.emaze.dysfunctional.iterations; import net.emaze.dysfunctional.multiplexing.InterposingIterator; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import junit.framework.Assert; import org.junit.Test; /** * * @author rferranti */ public class InterleavingIteratorTest { @T...
bsd-3-clause
luminousfennell/jgs
DynamicAnalyzer/src/test/java/analyzer/level2/ReturnStmtFail.java
2433
package analyzer.level2; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; import tests.testclasses.TestSubClass; import util.exceptions.IFCError; import util.logging.L2Logger; import java.util.logging.Level; import java.util.logging.Logger; public class ReturnStmtFail { ...
bsd-3-clause
axxter99/RSFUtil
test/uk/org/ponder/rsf/test/selection/TestSelection.java
6647
/* * Created on 8 Jan 2008 */ package uk.org.ponder.rsf.test.selection; import java.util.Arrays; import uk.org.ponder.conversion.GeneralLeafParser; import uk.org.ponder.conversion.VectorCapableParser; import uk.org.ponder.rsf.bare.ActionResponse; import uk.org.ponder.rsf.bare.RenderResponse; import uk.or...
bsd-3-clause
samarjit/mywapama
designer/src/main/java/de/hpi/bpmn2_0/model/activity/resource/package-info.java
339
@javax.xml.bind.annotation.XmlSchema( namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", xmlns = { @javax.xml.bind.annotation.XmlNs(prefix = "bpmndi", namespaceURI = "http://www.omg.org/spec/BPMN/20100524/DI") }, elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) package de.hpi.bpmn2_0.model...
mit
hovsepm/azure-sdk-for-java
storage/resource-manager/v2018_03_01_preview/src/main/java/com/microsoft/azure/management/storage/v2018_03_01_preview/UsageUnit.java
1599
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.storage.v2018_03_01_preview; import com.fasterxm...
mit
vandersonmaroni/java-design-patterns
TemplateMethod/src/com/ibanheiz/GeradorMensagemXml.java
583
package com.ibanheiz; import java.util.Map; public class GeradorMensagemXml extends GeradorMensagem { @Override protected String gerarConteudo(Map<String, String> pessoa) { StringBuilder builder = new StringBuilder(); builder.append("<pessoa>"); for (String tag : pessoa.keySet()) { builder.append("<" + ta...
mit
sauliusg/jabref
src/main/java/org/jabref/cli/CrossrefFetcherEvaluator.java
4362
package org.jabref.cli; import java.io.FileReader; import java.io.IOException; import java.util.List; import java.util.Optional; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.atomic.AtomicInteger; import org....
mit
valcol/BattleCraft
src/gameframework/core/DrawableImage.java
707
package gameframework.core; import java.awt.Canvas; import java.awt.Graphics; import java.awt.Image; import java.awt.MediaTracker; import java.awt.Toolkit; public class DrawableImage implements Drawable { protected Image image; protected Canvas canvas; public DrawableImage(String filename, Canvas canvas) { this...
mit
brunobg/jxm
JavaClient/Samples/test/socketTest.java
4016
/** * license (MIT) Copyright Nubisa Inc. 2014 */ import jxm.*; import javax.xml.bind.DatatypeConverter; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.concurrent.atomic.AtomicInteger; public class socketTest { public static int total = 1; public static int port = 8000; ...
mit
wang27jing/coding-android
app/src/main/java/net/coding/program/third/EmojiFilter.java
2819
package net.coding.program.third; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Created by chaochen on 14-9-25. */ public class EmojiFilter { /** * 检测是否有emoji字符 * * @param source * @return 一旦含有就抛出 */ final static Pattern mPattern = Pattern.compile("[^@\\s<>...
mit
wolfired/flex_ant_project_template
ext/ant_flex/src/flex/ant/CompcTask.java
19107
//////////////////////////////////////////////////////////////////////////////// // // ADOBE SYSTEMS INCORPORATED // Copyright 2006-2007 Adobe Systems Incorporated // All Rights Reserved. // // NOTICE: Adobe permits you to use, modify, and distribute this file // in accordance with the terms of the license agreeme...
mit
VasuDroid/MaterialTabsAdavanced
MaterialTabsModule/src/main/java/it/neokree/materialtabs/MaterialTabHost.java
20768
package it.neokree.materialtabs; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.content.Context; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.Point; import android.os.Build; import androi...
mit
farkas-arpad/KROKI-mockup-tool
WebApp/src_gen/adapt/util/converters/ConverterUtil.java
5605
package adapt.util.converters; import java.math.BigDecimal; import java.util.Date; import java.util.HashMap; import java.util.Map; import adapt.model.ejb.ColumnAttribute; /**** * Class that handles all converting issues between strings and objects. * Includes BigDecimalConverter, IntegerConverter, Boole...
mit
beluchin/jmockit1
main/src/mockit/integration/junit4/internal/JUnit4TestRunnerDecorator.java
4904
/* * Copyright (c) 2006-2015 Rogério Liesenfeld * This file is subject to the terms of the MIT license (see LICENSE.txt). */ package mockit.integration.junit4.internal; import java.lang.reflect.*; import javax.annotation.*; import org.junit.*; import org.junit.runners.model.*; import mockit.integration.internal.*...
mit
Springrbua/typescript.java
core/ts.core/src/ts/client/CommandCapability.java
620
package ts.client; import ts.utils.VersionHelper; public enum CommandCapability implements ISupportable { DiagnosticWithCategory("2.3.1"); private String sinceVersion; private CommandCapability(String version) { this.sinceVersion = version; } /** * Return true if the tsc compiler option su...
mit
DSG-UniFE/spf
src/java/dissemination/us/ihmc/aci/util/dspro/soi/ARLExchangeFormat.java
1843
package us.ihmc.aci.util.dspro.soi; /** * Class containing fields parsed from <code>InformationObject</code> instances of general ARL data types * @author Rita Lenzi (rlenzi@ihmc.us) */ public class ARLExchangeFormat extends ExchangeFormat { public static final String INR_ID = "inr.id"; public static final ...
mit
kashifiqb/Aspose.Email-for-Java
Examples/src/main/java/com/aspose/email/examples/outlook/msg/SetColorCategoryForOutlookMessageFile.java
992
package com.aspose.email.examples.outlook.msg; import com.aspose.email.FollowUpManager; import com.aspose.email.MapiMessage; import com.aspose.email.examples.Utils; import com.aspose.email.system.collections.IList; public class SetColorCategoryForOutlookMessageFile { public static void main(String[] args) { // Th...
mit
pdeboer/wikilanguage
lib/jung2/jung-visualization/src/main/java/edu/uci/ics/jung/visualization/decorators/PickableVertexPaintTransformer.java
1656
/* * Created on Mar 10, 2005 * * Copyright (c) 2005, the JUNG Project and the Regents of the University * of California * All rights reserved. * * This software is open-source under the BSD license; see either * "license.txt" or * http://jung.sourceforge.net/license.txt for a description. */ package edu.uci.ics.jung.v...
mit
ctron/kura
kura/org.eclipse.kura.web2/src/main/java/org/eclipse/kura/web/client/ui/wires/ValidationInputCell.java
4555
/******************************************************************************* * Copyright (c) 2016, 2020 Eurotech and/or its affiliates and others * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.o...
epl-1.0
openhab/openhab2
bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/handler/ChannelBridgeFirmware.java
2746
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * 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....
epl-1.0
cdjackson/openhab2-addons
addons/binding/org.openhab.binding.milight/src/main/java/org/openhab/binding/milight/handler/MilightBridgeV3Handler.java
6915
/** * Copyright (c) 2010-2017 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 */...
epl-1.0
belkassaby/dawnsci
org.eclipse.dawnsci.analysis.dataset/src/org/eclipse/dawnsci/analysis/dataset/MockDynamicLazyDataset.java
2776
package org.eclipse.dawnsci.analysis.dataset; import java.io.IOException; import org.eclipse.january.IMonitor; import org.eclipse.january.dataset.Dataset; import org.eclipse.january.dataset.IDataListener; import org.eclipse.january.dataset.IDataset; import org.eclipse.january.dataset.IDatasetChangeChecker; import org...
epl-1.0
maxeler/eclipse
eclipse.jdt.ui/org.eclipse.jdt.ui.tests.refactoring/resources/InlineTemp/cannotInline/A_testFail6.java
111
//assigned to more than once package p; class A{ int m(int y){ /*[*/int i= 0;/*]*/ return y + (i--); }; }
epl-1.0
akurtakov/Pydev
plugins/org.python.pydev.core/src/org/python/pydev/core/docutils/StringSubstitution.java
17380
/** * Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Eclipse Public License (EPL). * Please see the license.txt included with this distribution for details. * Any modifications to this file must keep this entire header intact. */ package org.python.pydev.core.d...
epl-1.0
akervern/che
ide/commons-gwt/src/main/java/org/eclipse/che/ide/websocket/impl/WebSocketConnectionManager.java
3774
/* * Copyright (c) 2012-2018 Red Hat, Inc. * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * Red Hat, Inc. - initial API a...
epl-1.0
rajul/Pydev
plugins/org.python.pydev.parser/src/org/python/pydev/parser/grammarcommon/NullTreeBuilder.java
1279
/****************************************************************************** * Copyright (C) 2012 Fabio Zadrozny * * 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 * h...
epl-1.0
ModelWriter/Source
plugins/eu.modelwriter.semantic.parser/src/synalp/commons/grammar/Grammar.java
10008
package synalp.commons.grammar; import java.util.*; import synalp.commons.derivations.GornAddress; import synalp.commons.unification.FeatureConstant; /** * A LTAG grammar indexed by entry name. It also provides a way to access to entries by their family * name once the families cache has been computed. */ @Suppr...
epl-1.0
rgladwell/m2e-android
me.gladwell.eclipse.m2e.android.test/src/me/gladwell/eclipse/m2e/android/test/FileMatchers.java
2328
/******************************************************************************* * Copyright (c) 2015 Ricardo Gladwell, Csaba Kozák * 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...
epl-1.0
sguan-actuate/birt
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FillChooserComposite.java
39819
/*********************************************************************** * Copyright (c) 2004 Actuate Corporation. * 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 * ...
epl-1.0
openhab/openhab2
bundles/org.openhab.binding.somfytahoma/src/main/java/org/openhab/binding/somfytahoma/internal/handler/SomfyTahomaCurtainHandler.java
1589
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * 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....
epl-1.0
theanuradha/debrief
org.mwc.debrief.satc.core/src/com/planetmayo/debrief/satc_rcp/ui/contributions/StraightLegForecastContributionView.java
1654
/* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2014, PlanetMayo Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/epl-v10....
epl-1.0
Mark-Booth/daq-eclipse
uk.ac.diamond.org.apache.activemq/org/apache/activemq/security/SecurityAdminMBean.java
1545
/** * 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...
epl-1.0
fabienjammet001/FormationRCP_new
com.sogeti.rental.rcp/src/com/sogeti/rental/rcp/Application.java
1268
package com.sogeti.rental.rcp; import org.eclipse.equinox.app.IApplication; import org.eclipse.equinox.app.IApplicationContext; import org.eclipse.swt.widgets.Display; import org.eclipse.ui.IWorkbench; import org.eclipse.ui.PlatformUI; /** * This class controls all aspects of the application's execution */ public c...
gpl-2.0
georgenicoll/esper
esper/src/test/java/com/espertech/esper/support/bean/SupportBean.java
6195
/* * ************************************************************************************* * Copyright (C) 2006-2015 EsperTech, Inc. All rights reserved. * * http://www.espertech.com/esper * * http://www.espertech.com ...
gpl-2.0
JetBrains/jdk8u_jdk
src/share/classes/com/sun/security/sasl/digest/DigestMD5Client.java
27122
/* * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
ysangkok/JPC
src/org/jpc/emulator/execution/opcodes/pm/lidt_o16_M_mem.java
1918
/* JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine Copyright (C) 2012-2013 Ian Preston This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This progra...
gpl-2.0
sdtabilit/Scada-LTS
src/org/scada_lts/dao/error/ParseErrorResult.java
920
package org.scada_lts.dao.error; import java.util.Locale; import javax.annotation.Resource; import org.springframework.context.MessageSource; public class ParseErrorResult { private boolean notErr = true; private String messageOrgin; private String message; public boolean getNotErr() { return notErr; } ...
gpl-2.0
GiGatR00n/Aion-Core-v4.7.5
AC-Game/data/scripts/system/handlers/quest/eltnen/_3319AnOrderforGojirunerk.java
4878
/** * This file is part of Aion-Lightning <aion-lightning.org>. * * Aion-Lightning is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any lat...
gpl-2.0
JetBrains/jdk8u_jdk
src/solaris/classes/sun/nio/ch/FileDispatcherImpl.java
5199
/* * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
Debian/openjfx
modules/graphics/src/main/java/javafx/scene/effect/Glow.java
5881
/* * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
SpoonLabs/astor
examples/Math-issue-340/src/main/java/org/apache/commons/math/linear/ArrayRealVector.java
38089
/* * 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...
gpl-2.0
jried31/SSKB
sensite/src/main/java/com/MetaData/QoIQuantitativeMetricType.java
6482
//////////////////////////////////////////////////////////////////////// // // QoIQuantitativeMetricType.java // // This file was generated by XMLSpy 2014 Enterprise Edition. // // YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE // OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION. // // Refer to the XMLSpy Docu...
gpl-2.0
dvolkow/hpcourse
csc/2016/sns/sns_1/src/main/java/server/Server.java
4793
package server; import communication.Protocol; import server.processors.BaseTaskProcessor; import server.processors.BaseTaskProcessorFactory; import server.processors.NoProcessorForTaskException; import util.ConcurrentStorage; import util.ProtocolUtils; import util.TaskAndResult; import util.ThreadPool; import java.i...
gpl-2.0
mvehar/zanata-server
zanata-war/src/main/java/org/zanata/service/ConfigurationService.java
1952
/* * Copyright 2010, Red Hat, Inc. and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public ...
gpl-2.0
calimero-project/calimero
src/tuwien/auto/calimero/xml/XmlOutputFactory.java
5067
/* Calimero 2 - A library for KNX network access Copyright (c) 2015, 2018 B. Malinowsky This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at...
gpl-2.0
ongo360/Mycat-Server
src/main/java/io/mycat/net/AIOConnector.java
2525
/* * Copyright (c) 2013, OpenCloudDB/MyCAT and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software;Designed and Developed mainly by many Chinese * opensource volunteers. you can redistribute it and/or modify it under the * terms ...
gpl-2.0
karambir252/WordPress-Android
WordPress/src/main/java/org/wordpress/android/ui/accounts/helpers/FetchBlogListWPCom.java
3900
package org.wordpress.android.ui.accounts.helpers; import android.content.Context; import com.android.volley.VolleyError; import com.wordpress.rest.RestRequest; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.wordpress.android.WordPress; import org.wordpress.android.n...
gpl-2.0
erpcya/adempierePOS
base/src/org/compiere/model/X_M_CostDetail.java
28060
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * * This program is free software, you can redistribute it and/or modify it * ...
gpl-2.0
CarstenHollmann/series-rest-api
io/src/test/java/org/n52/io/handler/DatasetFactoryTest.java
4852
/* * Copyright (C) 2013-2020 52°North Initiative for Geospatial Open Source * Software GmbH * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. * * If the program is linked with ...
gpl-2.0
smarr/graal
src/share/tools/ProjectCreator/WinGammaPlatformVC10.java
16253
/* * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
teamfx/openjfx-10-dev-rt
apps/samples/Ensemble8/src/samples/java/ensemble/samples/graphics2d/brickbreaker/Bat.java
3724
/* * Copyright (c) 2008, 2013, Oracle and/or its affiliates. * All rights reserved. Use is subject to license terms. * * This file is available and licensed under the following license: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
gpl-2.0
md-5/jdk10
src/jdk.aot/share/classes/jdk.tools.jaotc.binformat/src/jdk/tools/jaotc/binformat/elf/ElfRelocTable.java
2494
/* * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
gpl-2.0
severinh/java-gnome
src/bindings/org/gnome/gdk/PixbufSimpleAnimIter.java
2442
/* * java-gnome, a UI library for writing GTK and GNOME programs from Java! * * Copyright © 2007-2010 Operational Dynamics Consulting, Pty Ltd * * The code in this file, and the program it is a part of, is made available * to you by its authors as open source software: you can redistribute it * and/or modify it ...
gpl-2.0
bordertechorg/wcomponents
wcomponents-core/src/test/java/com/github/bordertech/wcomponents/WPasswordField_Test.java
11536
package com.github.bordertech.wcomponents; import com.github.bordertech.wcomponents.autocomplete.AutocompleteUtil; import com.github.bordertech.wcomponents.autocomplete.type.Password; import com.github.bordertech.wcomponents.util.SystemException; import com.github.bordertech.wcomponents.util.mock.MockRequest; import c...
gpl-3.0