repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
taciano-perez/JamVM-PH | src/classpath/javax/swing/JWindow.java | 8145 | /* JWindow.java --
Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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, or (... | gpl-2.0 |
Lekanich/intellij-community | java/idea-ui/src/com/intellij/projectImport/ProjectFormatPanel.java | 2323 | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
Drifftr/devstudio-tooling-bps | plugins/org.eclipse.bpel.common.ui/src/org/eclipse/bpel/common/ui/assist/FieldAssistAdapter.java | 2503 | /*******************************************************************************
* Copyright (c) 2006 Oracle 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, and i... | apache-2.0 |
sdgdsffdsfff/nutz | test/org/nutz/dao/test/meta/SimplePOJO.java | 818 | package org.nutz.dao.test.meta;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Readonly;
import org.nutz.dao.entity.annotation.Table;
@Table("t_simple_pojo")
public class SimplePOJO {
@Id
private long id;
@Co... | apache-2.0 |
jandppw/ppwcode-recovered-from-google-code | java/vernacular/semantics/trunk/src/test/java/org/ppwcode/vernacular/semantics_VI/bean/stubs/StubRousseauBeanB.java | 995 | /*<license>
Copyright 2004 - $Date$ by PeopleWare n.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 t... | apache-2.0 |
0xkasun/zaproxy | src/org/parosproxy/paros/extension/manualrequest/ExtensionManualRequestEditor.java | 6249 | /*
*
* Paros and its related class files.
*
* Paros is an HTTP/HTTPS proxy for assessing web application security.
* Copyright (C) 2003-2004 Chinotec Technologies Company
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the Clarified Artistic License
*... | apache-2.0 |
kleopatra999/solutions-mobile-backend-starter-java | src/com/google/cloud/backend/spi/SubscriptionUtility.java | 5854 | /*
* Copyright (c) 2013 Google 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 in ... | apache-2.0 |
FauxFaux/jdk9-jdk | test/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/ResourceManager.java | 2603 | /*
* Copyright (c) 2007, 2016, 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 |
trfiladelfo/jd-gui | services/src/main/java/org/jd/gui/service/type/ClassFileTypeFactoryProvider.java | 13565 | /*
* Copyright (c) 2008-2015 Emmanuel Dupuy
* This program is made available under the terms of the GPLv3 License.
*/
package org.jd.gui.service.type;
import groovyjarjarasm.asm.ClassReader;
import groovyjarjarasm.asm.Opcodes;
import groovyjarjarasm.asm.tree.ClassNode;
import groovyjarjarasm.asm.tree.FieldNode;
im... | gpl-3.0 |
sabre1041/camel | components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyEndpoint.java | 6630 | /**
* 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 |
profjrr/zaproxy | src/org/zaproxy/zap/extension/script/OptionsScriptTableModel.java | 2653 | /*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* 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 ... | apache-2.0 |
wtanaka/beam | runners/core-construction-java/src/test/java/org/apache/beam/runners/core/construction/TriggerTranslationTest.java | 4942 | /*
* 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 |
ZanyLeonic/Balloons | src/main/java/ic2/api/event/LaserEvent.java | 4508 | package ic2.api.event;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import cpw.mods.fml.common.eventhandler.Cancelable;
import net.minecraftforge.event.world.WorldEvent;
/**
* A bunch of Events to handle the... | mit |
rokn/Count_Words_2015 | testing/openjdk/jdk/src/share/classes/sun/rmi/transport/tcp/ConnectionMultiplexer.java | 16501 | /*
* Copyright (c) 1996, 2008, 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 ... | mit |
evansj/openhab | bundles/binding/org.openhab.binding.lcn/src/main/java/org/openhab/binding/lcn/connection/ConnectionSettings.java | 6850 | /**
* Copyright (c) 2010-2016, openHAB.org 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, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org... | epl-1.0 |
sanyaade-g2g-repos/orientdb | core/src/main/java/com/orientechnologies/orient/core/sql/method/misc/OSQLMethodJavaType.java | 1305 | /*
* Copyright 2013 Orient Technologies.
* Copyright 2013 Geomatys.
*
* 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 re... | apache-2.0 |
fengshao0907/titan | titan-test/src/test/java/com/thinkaurelius/titan/graphdb/serializer/NoDefaultConstructor.java | 243 | package com.thinkaurelius.titan.graphdb.serializer;
/**
* @author Matthias Broecheler (me@matthiasb.com)
*/
public class NoDefaultConstructor {
private final int i;
public NoDefaultConstructor(int i) {
this.i=i;
}
}
| apache-2.0 |
KatharineYe/ews-java-api | src/main/java/microsoft/exchange/webservices/data/sync/Change.java | 3475 | /*
* The MIT License
* Copyright (c) 2012 Microsoft Corporation
*
* 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 without limitation the rights
* to use,... | mit |
tiarebalbi/spring-boot | spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/liquibase/LiquibaseEndpointAutoConfigurationTests.java | 4067 | /*
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | apache-2.0 |
s2oBCN/testng | src/test/java/test/verify/VerifyTest.java | 1103 | package test.verify;
import org.testng.Assert;
import org.testng.TestListenerAdapter;
import org.testng.TestNG;
import org.testng.annotations.Test;
import test.SimpleBaseTest;
public class VerifyTest extends SimpleBaseTest {
private void runTest(Class<?> cls, int expected) {
TestNG tng = create(cls);
Test... | apache-2.0 |
idea4bsd/idea4bsd | platform/lang-api/src/com/intellij/refactoring/RefactoringBundle.java | 2776 | /*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
sheofir/aws-sdk-java | aws-java-sdk-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/ApplicationVersionDescription.java | 12433 | /*
* Copyright 2010-2015 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... | apache-2.0 |
qtekfun/htcDesire820Kernel | external/chromium_org/content/shell/android/linker_test_apk/src/org/chromium/content_linker_test_apk/LinkerTests.java | 2419 | // Copyright 2013 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.content_linker_test_apk;
import android.util.Log;
import org.chromium.base.JNINamespace;
import org.chromium.content.app.Linker;
/... | gpl-2.0 |
md-5/jdk10 | test/jdk/java/lang/Math/HyperbolicTests.java | 58838 | /*
* Copyright (c) 2003, 2012, 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 |
saivarunr/zemoso-training | whatsapp_project/whatsapp/test/IntegrationTest.java | 644 | import org.junit.*;
import play.mvc.*;
import play.test.*;
import static play.test.Helpers.*;
import static org.junit.Assert.*;
import static org.fluentlenium.core.filter.FilterConstructor.*;
public class IntegrationTest {
/**
* add your integration test here
* in this example we just check if the we... | apache-2.0 |
wangcy6/storm_app | frame/kafka-0.11.0/kafka-0.11.0.1-src/clients/src/main/java/org/apache/kafka/common/errors/ReplicaNotAvailableException.java | 1252 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... | apache-2.0 |
thejeshgn/sl4a | android/QuickAction/src/net/londatiga/android/ActionItem.java | 1583 | package net.londatiga.android;
import android.graphics.drawable.Drawable;
import android.view.View;
import android.view.View.OnClickListener;
/**
* Action item, displayed as menu with icon and text.
*
* @author Lorensius. W. L. T
*
*/
public class ActionItem {
private Drawable icon;
private S... | apache-2.0 |
aakashysharma/opengse | engines/minigse/java/com/google/opengse/parser/Chset.java | 15420 | // Copyright 2007 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | apache-2.0 |
sheofir/aws-sdk-java | aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53domains/model/transform/UpdateDomainContactResultJsonUnmarshaller.java | 2748 | /*
* Copyright 2010-2015 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 "l... | apache-2.0 |
ipros-team/presto | presto-main/src/main/java/com/facebook/presto/operator/aggregation/state/HyperLogLogStateFactory.java | 2985 | /*
* 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... | apache-2.0 |
caoanhhao/AndEngine | src/org/andengine/util/level/simple/SimpleLevelLoaderResult.java | 1539 | package org.andengine.util.level.simple;
import org.andengine.entity.scene.Scene;
import org.andengine.util.level.ILevelLoaderResult;
/**
* (c) 2012 Zynga Inc.
*
* @author Nicolas Gramlich <ngramlich@zynga.com>
* @since 16:13:38 - 19.04.2012
*/
public class SimpleLevelLoaderResult implements ILevelLoaderResult {... | apache-2.0 |
suthat/signal | vendor/mysql-connector-java-5.1.26/src/com/mysql/jdbc/V1toV2StatementInterceptorAdapter.java | 2175 | /*
Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved., Inc. All rights reserved.
U.S. Government Rights - Commercial software. Government users are subject
to the Sun Microsystems, Inc. standard license agreement and applicable
provisions of the FAR and its supplements. Use is subject to l... | apache-2.0 |
pombredanne/brisk-hadoop-common | src/test/org/apache/hadoop/hdfs/server/namenode/TestSecurityTokenEditLog.java | 5772 | /**
* 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 |
hurricup/intellij-community | java/debugger/impl/src/com/intellij/debugger/impl/DebuggerStateManager.java | 1818 | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
isaacl/openjdk-jdk | src/share/classes/javax/swing/Scrollable.java | 5605 | /*
* Copyright (c) 1997, 2003, 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 |
anchela/jackrabbit-oak | oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/tck/RetentionIT.java | 1195 | /*
* 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 |
tempbottle/kafka | clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerRebalanceCallback.java | 5998 | /**
* 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 us... | apache-2.0 |
Kleagleguo/druid | processing/src/main/java/io/druid/query/metadata/metadata/NoneColumnIncluderator.java | 937 | /*
* 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-... | apache-2.0 |
AndreasAbdi/jackrabbit-oak | oak-run/src/main/java/org/apache/jackrabbit/oak/fixture/RepositoryFixture.java | 2647 | /*
* 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 |
nmelnick/aws-sdk-java | aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/ChangeAction.java | 1692 | /*
* Copyright 2010-2015 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 "l... | apache-2.0 |
rokn/Count_Words_2015 | testing/openjdk2/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/DefaultClassBinder.java | 21517 | /*
* Copyright (c) 1997, 2011, 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 ... | mit |
chiastic-security/phoenix-for-cloudera | phoenix-core/src/test/java/org/apache/phoenix/expression/LnLogFunctionTest.java | 8173 | /*
* 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 |
rokn/Count_Words_2015 | testing/openjdk2/jdk/src/share/classes/sun/text/resources/is/JavaTimeSupplementary_is.java | 5763 | /*
* Copyright (c) 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 Softwa... | mit |
dahlstrom-g/intellij-community | platform/lang-api/src/com/intellij/execution/filters/OpenFileHyperlinkInfo.java | 1626 | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
WillCh/cs286A | dataMover/kafka/clients/src/test/java/org/apache/kafka/clients/ClientUtilsTest.java | 1447 | /**
* 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... | bsd-2-clause |
markwalkom/elasticsearch | modules/ingest-common/src/main/java/org/elasticsearch/ingest/common/AppendProcessor.java | 3131 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | apache-2.0 |
akosyakov/intellij-community | python/testSrc/com/jetbrains/python/refactoring/PyConvertPackageToModuleTest.java | 1324 | package com.jetbrains.python.refactoring;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.psi.PsiDirectory;
import com.intellij.psi.PsiManager;
import com.intellij.testFramework.PlatformTestUtil;
import com.jetbrains.python.fixtures.PyTestCase;
import com.jetbrains.python.refactoring.convert.PyConvert... | apache-2.0 |
OpenCollabZA/sakai | edu-services/gradebook-service/impl/src/java/org/sakaiproject/tool/gradebook/facades/sections/AuthzSectionsImpl.java | 27307 | /**
* Copyright (c) 2003-2017 The Apereo Foundation
*
* Licensed under the Educational Community 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://opensource.org/licenses/ecl2
*
* Unless requ... | apache-2.0 |
gfyoung/elasticsearch | x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/notification/pagerduty/IncidentEventDefaultsTests.java | 4735 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.watcher.notification.pagerduty;
import org.el... | apache-2.0 |
tianshouzhi/hadoop | hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/ClientNamenodeProtocolTranslatorPB.java | 59555 | /**
* 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 |
MichaelNedzelsky/intellij-community | java/java-impl/src/com/intellij/refactoring/replaceConstructorWithFactory/ReplaceConstructorWithFactoryProcessor.java | 13420 | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
Guavus/hbase | hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/metrics/MBeanSource.java | 1377 | /**
* 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 |
jayway/powermock | powermock-api/powermock-api-support/src/main/java/org/powermock/api/support/SafeExceptionRethrower.java | 936 | /*
* Copyright 2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 |
ivan-fedorov/intellij-community | python/src/com/jetbrains/python/psi/impl/PyBaseElementImpl.java | 6862 | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
danielkec/liquibase | liquibase-core/src/main/java/liquibase/util/SystemUtils.java | 52176 | /*
* 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 |
allancth/camel | tooling/camel-route-parser/src/test/java/org/apache/camel/parser/java/RoasterConcatFieldRouteBuilderConfigureTest.java | 2314 | /**
* 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 |
W3SS/android-menudrawer | menudrawer/src/net/simonvt/menudrawer/ViewHelper.java | 1145 | package net.simonvt.menudrawer;
import android.os.Build;
import android.view.View;
final class ViewHelper {
private ViewHelper() {
}
public static int getLeft(View v) {
if (MenuDrawer.USE_TRANSLATIONS) {
return (int) (v.getLeft() + v.getTranslationX());
}
return v.ge... | apache-2.0 |
ivan-fedorov/intellij-community | platform/platform-impl/src/com/intellij/ui/plaf/beg/BegBorders.java | 8804 | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
Guardiola31337/joda-time | src/main/java/org/joda/time/ReadablePartial.java | 6784 | /*
* Copyright 2001-2011 Stephen Colebourne
*
* 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 |
akosyakov/intellij-community | platform/platform-impl/src/com/intellij/openapi/wm/ex/ToolWindowManagerEx.java | 2657 | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
hardbitcn/HardbitSafetyCheck | src/com/google/bitcoin/core/InventoryMessage.java | 3091 | /**
* Copyright 2011 Google 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 ... | apache-2.0 |
punkhorn/camel-upstream | tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelUnivocityParsersTest.java | 1889 | /**
* 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 |
bunnyblue/UltimateRecyclerView | UltimateRecyclerView/app/src/main/java/com/marshalchen/ultimaterecyclerview/demo/TestAdMob.java | 6829 | package com.marshalchen.ultimaterecyclerview.demo;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.... | apache-2.0 |
shuvigoss/dubbox | dubbo-common/src/main/java/com/alibaba/dubbo/common/serialize/support/fst/FstObjectOutput.java | 2448 | /**
* Copyright 1999-2014 dangdang.com.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | apache-2.0 |
kuzemchik/presto | presto-main/src/main/java/com/facebook/presto/operator/aggregation/RegressionAggregation.java | 3161 | /*
* 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... | apache-2.0 |
android-ia/platform_tools_idea | java/java-tests/testSrc/com/intellij/codeInsight/daemon/quickFix/GenerifyFileTest.java | 665 | package com.intellij.codeInsight.daemon.quickFix;
import com.intellij.codeInspection.LocalInspectionTool;
import com.intellij.codeInspection.uncheckedWarnings.UncheckedWarningLocalInspection;
import org.jetbrains.annotations.NotNull;
public class GenerifyFileTest extends LightQuickFixAvailabilityTestCase {
@NotNu... | apache-2.0 |
vlajos/hadoop | hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestGetBlocks.java | 11426 | /**
* 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 |
ernestp/consulo | platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/projectRoot/daemon/PlaceInProjectStructureBase.java | 1658 | /*
* Copyright 2000-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
nikvaessen/camel | components/camel-ironmq/src/test/java/org/apache/camel/component/ironmq/IronMQPreserveHeadersTest.java | 2656 | /**
* 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 |
10045125/guava | guava/src/com/google/common/hash/package-info.java | 958 | /*
* Copyright (C) 2011 The Guava 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 applicable law or agreed... | apache-2.0 |
rokn/Count_Words_2015 | testing/openjdk2/langtools/test/tools/javac/processing/model/type/TestTypeKind.java | 2478 | /*
* Copyright (c) 2005, 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 Softwa... | mit |
guiquanz/binnavi | src/test/java/com/google/security/zynamics/binnavi/Database/PostgreSQL/Notifications/parsers/PostgreSQLViewNotificationParserTest.java | 17823 | /*
Copyright 2014 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | apache-2.0 |
fhchina/actor-platform | actor-apps/app-android/src/main/java/im/actor/messenger/app/fragment/group/JoinPublicGroupActivity.java | 600 | package im.actor.messenger.app.fragment.group;
import android.os.Bundle;
import im.actor.messenger.R;
import im.actor.messenger.app.activity.BaseFragmentActivity;
/**
* Created by korka on 25.05.15.
*/
public class JoinPublicGroupActivity extends BaseFragmentActivity {
@Override
protected void onCreate(Bu... | mit |
asedunov/intellij-community | jps/model-api/src/org/jetbrains/jps/model/java/JpsJavaDependencyExtension.java | 985 | /*
* Copyright 2000-2012 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
asedunov/intellij-community | java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createLocalFromUsage/beforeMethodRef.java | 138 | // "Create local variable 'zeit'" "true"
public class A {
void foo() {
ze<caret>it = A::foo;
}
static void foo(){}
}
| apache-2.0 |
asedunov/intellij-community | java/java-tests/testData/codeInsight/completion/normal/SuperErasure_after.java | 395 | import java.util.*;
abstract class GenericPanelControl {
protected abstract void _performAction(List<?> rowVector);
}
class WorkflowPanelControl extends GenericPanelControl {
protected void _performAction(List rowVector) {
}
}
class WorkflowSubPanelControl extends WorkflowPanelControl {
protected vo... | apache-2.0 |
rokn/Count_Words_2015 | testing/openjdk2/jdk/src/share/classes/sun/awt/geom/Order0.java | 3227 | /*
* Copyright (c) 1998, 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 Softwa... | mit |
asedunov/intellij-community | java/java-tests/testData/codeInsight/completeStatement/SCR11147_after.java | 117 |
public class Foo {
{
int x = 0;
if (x == 0) {
<caret>
}
}
} | apache-2.0 |
zshift/spring-security | samples/x509-jc/src/main/java/org/springframework/security/samples/config/MessageSecurityWebApplicationInitializer.java | 998 | /*
* Copyright 2002-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | apache-2.0 |
rbouckaert/YABBY | src/yabby/org/json/JSONWriter.java | 10677 | package org.json;
import java.io.IOException;
import java.io.Writer;
/*
Copyright (c) 2006 JSON.org
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 witho... | lgpl-3.0 |
kazuto1011/rcnn-server | tms_ss_android/openCVLibrary2411/src/main/java/org/opencv/ml/CvGBTreesParams.java | 4257 |
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.ml;
// C++: class CvGBTreesParams
/**
* <p>GBT training parameters.</p>
*
* <p>The structure contains parameters for each single decision tree in the
* ensemble, as well as the whole model characteristics. The structure is
* deriv... | mit |
prayuditb/tryout-01 | websocket/client/Client/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/EagerModuleProvider.java | 496 | // Copyright 2004-present Facebook. All Rights Reserved.
package com.facebook.react;
import javax.inject.Provider;
import com.facebook.react.bridge.NativeModule;
/**
* Provider for an already initialized and non-lazy NativeModule.
*/
public class EagerModuleProvider implements Provider<NativeModule> {
private ... | mit |
ooon/java-design-patterns | callback/src/main/java/com/iluwatar/callback/Callback.java | 122 | package com.iluwatar.callback;
/**
*
* Callback interface
*
*/
public interface Callback {
public void call();
}
| mit |
YMartsynkevych/camel | camel-core/src/test/java/org/apache/camel/component/seda/SedaInOnlyTest.java | 1582 | /**
* 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 |
sreeramjayan/elasticsearch | plugins/analysis-icu/src/test/java/org/elasticsearch/index/analysis/IndexableBinaryStringToolsTests.java | 9964 | package org.elasticsearch.index.analysis;
/*
* 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 Licens... | apache-2.0 |
KyCodeHuynh/QRU | zxing-master/zxing-master/core/src/test/java/com/google/zxing/pdf417/decoder/ec/ErrorCorrectionTestCase.java | 4353 | /*
* Copyright 2012 ZXing 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 applicable law or agreed ... | gpl-2.0 |
SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/libjava/classpath/javax/management/openmbean/TabularData.java | 9916 | /* TabularData.java -- Tables of composite data structures.
Copyright (C) 2006, 2007 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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 Founda... | gpl-2.0 |
ooon/java-design-patterns | service-layer/src/main/java/com/iluwatar/servicelayer/wizard/Wizard.java | 1383 | package com.iluwatar.servicelayer.wizard;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToMany;
import javax.pers... | mit |
tseen/Federated-HDFS | tseenliu/FedHDFS-hadoop-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/file/tfile/MetaBlockDoesNotExist.java | 1320 | /**
* 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 |
io7m/jcanephora | com.io7m.jcanephora.fake/src/main/java/com/io7m/jcanephora/fake/FakeArrayBuffers.java | 7055 | /*
* Copyright © 2015 <code@io7m.com> http://io7m.com
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ... | isc |
tbian7/pst | design_patterns/headfirst/adapter/ducks/TurkeyTestDrive.java | 383 | package headfirst.adapter.ducks;
public class TurkeyTestDrive {
public static void main(String[] args) {
MallardDuck duck = new MallardDuck();
Turkey duckAdapter = new DuckAdapter(duck);
for(int i=0;i<10;i++) {
System.out.println("The DuckAdapter says...");
duckAdap... | mit |
jeremiq/tic-tac-toe | src/main/java/com/jeremiq/tictactoe/game/board/InvalidMoveException.java | 179 | package com.jeremiq.tictactoe.game.board;
public class InvalidMoveException extends Exception {
public InvalidMoveException(String message) {
super(message);
}
}
| mit |
ssouris/mewbase | src/test/java/io/mewbase/rwtest/MemoryMappedFileRWTest.java | 1622 | package io.mewbase.rwtest;
import io.mewbase.TestUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.RandomAccessFile;
/**
* Created by tim on 11/10/16.
*/
public class MemoryMappedFileRWTest implements RWTest {
private final static Logger logger = LoggerFactory... | mit |
equus52/java-web-stack | src/test/java/equus/webstack/application/JettyStarter.java | 2013 | package equus.webstack.application;
import java.net.URI;
import javax.ws.rs.core.UriBuilder;
import lombok.Setter;
import lombok.SneakyThrows;
import lombok.val;
import lombok.extern.slf4j.Slf4j;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.webapp.WebAppContext;
@Slf4j
public class JettyStarter... | mit |
liggetm/Tweaking | TweakingGitHub/src/tweaking/concurrency/reetrantLockExample/MainClass.java | 594 | package tweaking.concurrency.reetrantLockExample;
public class MainClass {
public static void main(final String[] args) {
final ThreadSafeArrayList<String> threadSafeList = new ThreadSafeArrayList<>();
final ListAdderThread threadA = new ListAdderThread("threadA", threadSafeL... | mit |
chrislucas/repo-android | views/support/StudyListAndCards/app/src/main/java/wiselabs/com/br/studylistandcards/entity/TipoProjeto.java | 214 | package wiselabs.com.br.studylistandcards.entity;
/**
* Created by C.Lucas on 18/12/2016.
*/
public enum TipoProjeto {
LEI_ORDINARIA, LEI_COMPLEMENTAR, EMENDA_LEI_ORGANICA, DECRETO_LEGISLATIVO, RESOLUCAO;
}
| mit |
basking2/sdsai-dsds | sdsai-dsds-core/src/main/java/com/github/basking2/sdsai/dsds/fs/package-info.java | 90 | /**
* Filesystem based directory storage.
*/
package com.github.basking2.sdsai.dsds.fs;
| mit |
Azure/azure-sdk-for-java | sdk/peering/azure-resourcemanager-peering/src/main/java/com/azure/resourcemanager/peering/models/ReceivedRoutes.java | 2571 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.peering.models;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.util.Context;
/** Resource collection API ... | mit |
juniormesquitadandao/report4all | lib/src/net/sf/jasperreports/engine/component/ContextAwareComponent.java | 1351 | /*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... | mit |
meleap/myo_AndoridEMG | BLE_myo/app/src/main/java/example/naoki/ble_myo/EmgData.java | 2341 | package example.naoki.ble_myo;
import java.util.ArrayList;
import java.util.StringTokenizer;
/**
* Created by naoki on 15/04/09.
*
*/
public class EmgData {
private ArrayList<Double> emgData = new ArrayList<>();
public EmgData() {
}
public EmgData(EmgCharacteristicData characteristicData) {
... | mit |