code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
/*
* Copyright (C) 2015 Actor LLC. <https://actor.im>
*/
package im.actor.core.entity.compat.content;
import java.io.IOException;
import im.actor.core.api.ApiMessage;
import im.actor.core.api.ApiServiceExUserInvited;
import im.actor.core.api.ApiServiceMessage;
import im.actor.runtime.bser.BserObject;
import im.act... | luoxiaoshenghustedu/actor-platform | actor-apps/core/src/main/java/im/actor/core/entity/compat/content/ObsoleteServiceAdded.java | Java | mit | 990 |
/*
* Copyright 2000-2010 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... | MichaelNedzelsky/intellij-community | platform/lang-impl/src/com/intellij/execution/ExecutionModes.java | Java | apache-2.0 | 3,802 |
/**
* 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... | dennishuo/hadoop | hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/store/records/TestRouterState.java | Java | apache-2.0 | 3,118 |
/*
* Copyright (C) 2010 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 app... | Ant-Droid/android_frameworks_base_OLD | tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ClassHasNativeVisitorTest.java | Java | apache-2.0 | 3,067 |
/**
* This class is generated by jOOQ
*/
package sample.jooq.domain.tables;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.ForeignKey;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.TableI... | rokn/Count_Words_2015 | testing/spring-boot-master/spring-boot-samples/spring-boot-sample-jooq/gensrc/main/java/sample/jooq/domain/tables/Book.java | Java | mit | 3,215 |
/*
* Copyright (c) 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 Softwa... | md-5/jdk10 | test/jdk/java/lang/Class/forName/modules/TestMain.java | Java | gpl-2.0 | 2,413 |
/*
* BinarySplitLayoutPanel.java
*
* Copyright (C) 2009-12 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Publ... | jar1karp/rstudio | src/gwt/src/org/rstudio/core/client/layout/BinarySplitLayoutPanel.java | Java | agpl-3.0 | 9,392 |
/**
* 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... | SwathiMystery/gora | gora-core/src/main/java/org/apache/gora/avro/query/AvroResult.java | Java | apache-2.0 | 2,123 |
/*
* Copyright (c) 2009-2010, Sergey Karakovskiy and Julian Togelius
* 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
*... | zerg000000/mario-ai | src/main/java/ch/idsia/benchmark/mario/environments/MarioEnvironment.java | Java | bsd-3-clause | 24,496 |
/*
Copyright (c) Microsoft Open Technologies, Inc.
All Rights Reserved
Apache 2.0 License
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
... | paulbatum/azure-mobile-services | sdk/android/test/sdk.testapp/src/main/java/com/microsoft/windowsazure/mobileservices/sdk/testapp/test/LoginTests.java | Java | apache-2.0 | 16,473 |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... | nagyistoce/camunda-bpm-platform | engine-rest/src/main/java/org/camunda/bpm/engine/rest/hal/group/HalGroupResolver.java | Java | apache-2.0 | 1,587 |
/*
* 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... | GlenRSmith/elasticsearch | server/src/internalClusterTest/java/org/elasticsearch/search/fetch/subphase/InnerHitsIT.java | Java | apache-2.0 | 50,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
* "License"); you... | DomenicPuzio/incubator-metron | metron-platform/metron-pcap/src/test/java/org/apache/metron/pcap/filter/PcapFiltersTest.java | Java | apache-2.0 | 1,406 |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* 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 ... | md-5/jdk10 | src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/ElemDesc.java | Java | gpl-2.0 | 5,664 |
/*
* Copyright (c) 2003, 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 ... | FauxFaux/jdk9-langtools | test/tools/javac/generics/wildcards/AssignmentDifferentTypes.java | Java | gpl-2.0 | 2,490 |
/*
* 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... | coding0011/elasticsearch | server/src/test/java/org/elasticsearch/search/aggregations/metrics/InternalGeoCentroidTests.java | Java | apache-2.0 | 5,761 |
/*
* 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 ... | alexzaitzev/ignite | modules/ml/src/main/java/org/apache/ignite/ml/preprocessing/imputing/package-info.java | Java | apache-2.0 | 932 |
/*
* 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 ... | GJL/flink | flink-runtime/src/main/java/org/apache/flink/runtime/blob/BlobStore.java | Java | apache-2.0 | 2,271 |
/*
* 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 ... | markusweimer/incubator-reef | lang/java/reef-io/src/main/java/org/apache/reef/io/network/impl/NetworkConnectionServiceExceptionHandler.java | Java | apache-2.0 | 1,475 |
public record Param<R>(R r) {
} | jwren/intellij-community | java/java-tests/testData/refactoring/introduceParameterObject/typeParameters/after/Param.java | Java | apache-2.0 | 31 |
/*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* you may obtain a copy of the License at
*
* http://www.apache.org/... | Supun94/carbon-device-mgt-plugins | components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.api/src/main/java/org/wso2/carbon/device/mgt/mobile/windows/api/services/authbst/impl/BSTProviderImpl.java | Java | apache-2.0 | 5,136 |
/*
* Copyright (C) 2007 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 ... | tracylihui/google-collections | src/com/google/common/collect/AbstractIterator.java | Java | apache-2.0 | 5,632 |
/*
* 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... | qwerty4030/elasticsearch | server/src/test/java/org/elasticsearch/index/analysis/PreBuiltAnalyzerTests.java | Java | apache-2.0 | 4,547 |
/*
* 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... | franz1981/activemq-artemis | artemis-selector/src/main/java/org/apache/activemq/artemis/selector/filter/XPathExpression.java | Java | apache-2.0 | 2,623 |
/*
* Copyright (c) 2006, 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 ... | FauxFaux/jdk9-langtools | test/tools/javac/api/T6392782.java | Java | gpl-2.0 | 4,015 |
/*
* Copyright (c) 2002, 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 ... | FauxFaux/jdk9-jdk | src/java.desktop/unix/classes/sun/awt/X11/XEmbeddedFrame.java | Java | gpl-2.0 | 4,715 |
/*
* 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 ... | vadopolski/ignite | modules/core/src/main/java/org/apache/ignite/internal/processors/platform/dotnet/PlatformDotNetServiceImpl.java | Java | apache-2.0 | 1,682 |
/**
* $RCSfile$
* $Revision$
* $Date$
*
* Copyright 2003-2007 Jive Software.
*
* 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/lice... | luchuangbin/test1 | src/org/jivesoftware/smack/XMPPException.java | Java | apache-2.0 | 6,825 |
/*
* 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... | zhenyuy-fb/presto | presto-tpch/src/main/java/com/facebook/presto/tpch/TpchBucketFunction.java | Java | apache-2.0 | 2,142 |
/*
* 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 ... | kidaa/incubator-ignite | modules/core/src/main/java/org/apache/ignite/spi/checkpoint/CheckpointListener.java | Java | apache-2.0 | 1,135 |
/*
* Copyright 2014 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | wangcy6/storm_app | frame/java/netty-4.1/codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyProxiedProtocol.java | Java | apache-2.0 | 8,198 |
class Foo {
void m(CharSequence c) {
((String)c).getBytes();
}
} | paplorinc/intellij-community | jps/jps-builders/testData/referencesIndex/castData/Foo.java | Java | apache-2.0 | 72 |
/*
* Copyright 2013 gitblit.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 ... | firateren52/gitblit | src/main/java/com/gitblit/wicket/panels/FilterableProjectList.java | Java | apache-2.0 | 4,350 |
/*
* 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 Software Foundation. Oracle designates this
* particular file as subject to th... | md-5/jdk10 | src/java.xml/share/classes/org/w3c/dom/events/DocumentEvent.java | Java | gpl-2.0 | 4,312 |
/**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2004, 2005, 2006, 2008, 2009 The Sakai Foundation
*
* Licensed under the Educational Community License, Version ... | marktriggs/nyu-sakai-10.4 | samigo/samigo-hibernate/src/java/org/sakaiproject/tool/assessment/data/dao/assessment/AssessmentAccessControl.java | Java | apache-2.0 | 12,150 |
/*
* #%L
* BroadleafCommerce Common Libraries
* %%
* Copyright (C) 2009 - 2013 Broadleaf Commerce
* %%
* 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... | cloudbearings/BroadleafCommerce | common/src/main/java/org/broadleafcommerce/common/vendor/service/monitor/ServiceMonitor.java | Java | apache-2.0 | 3,467 |
/*
* 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... | sheofir/aws-sdk-java | aws-java-sdk-sts/src/main/java/com/amazonaws/services/securitytoken/model/transform/GetSessionTokenRequestMarshaller.java | Java | apache-2.0 | 2,315 |
/*
* Copyright (C) 2007 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 app... | haikuowuya/android_system_code | src/android/widget/ExpandableListAdapter.java | Java | apache-2.0 | 8,297 |
/*
* Copyright 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 i... | guodroid/okwallet | wallet/src/org/bitcoinj/wallet/listeners/KeyChainEventListener.java | Java | apache-2.0 | 1,093 |
/* Copyright 2004, 2005, 2006 Acegi Technology Pty Limited
*
* 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... | panchenko/spring-security | acl/src/main/java/org/springframework/security/acls/domain/AccessControlEntryImpl.java | Java | apache-2.0 | 4,994 |
/* IconvCharset.java -- Wrapper for iconv charsets.
Copyright (C) 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 v... | shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/libjava/classpath/gnu/java/nio/charset/iconv/IconvCharset.java | Java | bsd-3-clause | 2,634 |
/**
* 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... | anoordover/camel | components/camel-azure/src/main/java/org/apache/camel/component/azure/queue/QueueServiceEndpoint.java | Java | apache-2.0 | 2,923 |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... | apratkin/pentaho-kettle | core/src/org/pentaho/di/core/database/KingbaseESDatabaseMeta.java | Java | apache-2.0 | 18,815 |
/*
* Copyright (c) 2007, 2010, 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 ... | rokn/Count_Words_2015 | testing/openjdk/jdk/test/javax/sound/midi/Gervill/SoftSynthesizer/UnloadAllInstruments.java | Java | mit | 2,546 |
package com.github.paolorotolo.appintroexample.indicators;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;
import com.github.paolorotolo.appintro.AppIntro;
import com.github.paolorotolo.appintroexample.MainActivity;
import com.github.paolorotolo.appintroe... | hatiboy/AppIntro | example/src/main/java/com/github/paolorotolo/appintroexample/indicators/ProgressIndicator.java | Java | apache-2.0 | 1,260 |
/*
* 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 ... | dkm2110/Microsoft-cisl | lang/java/reef-common/src/main/java/org/apache/reef/driver/parameters/ServiceEvaluatorFailedHandlers.java | Java | apache-2.0 | 1,380 |
/*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | madhawa-gunasekara/carbon-commons | components/ws-discovery-core/org.wso2.carbon.discovery.core/src/main/java/org/wso2/carbon/discovery/TargetServiceObserver.java | Java | apache-2.0 | 5,386 |
/**
* 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... | curso007/camel | components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedRootDirReadLockFastExistCheckTest.java | Java | apache-2.0 | 1,157 |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2001, 2002,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | rokn/Count_Words_2015 | testing/openjdk2/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/ValidatedInfo.java | Java | mit | 2,890 |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... | abstractj/keycloak | testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/util/GreenMailRule.java | Java | apache-2.0 | 4,380 |
package org.robolectric.internal.bytecode;
import org.junit.Before;
import org.junit.Test;
import org.robolectric.internal.SdkConfig;
import org.robolectric.util.Function;
import java.util.LinkedHashMap;
import java.util.Map;
import static org.assertj.core.api.Assertions.assertThat;
@SuppressWarnings("unchecked")
p... | mag/robolectric | robolectric/src/test/java/org/robolectric/internal/bytecode/ShadowWranglerUnitTest.java | Java | mit | 2,357 |
package com.commonsware.empublite;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.StrictMode;
import android.support.v4.view.ViewPager;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
im... | jorgereina1986/cw-omnibus | EmPubLite-AndroidStudio/T13-Prefs/EmPubLite/app/src/main/java/com/commonsware/empublite/EmPubLiteActivity.java | Java | apache-2.0 | 3,774 |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2001, 2002,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... | rokn/Count_Words_2015 | testing/openjdk2/jaxp/src/com/sun/org/apache/xerces/internal/dom/DOMXSImplementationSourceImpl.java | Java | mit | 3,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... | curso007/camel | components/camel-netty4/src/test/java/org/apache/camel/component/netty4/LogCaptureTest.java | Java | apache-2.0 | 1,349 |
/**
* 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... | curso007/camel | camel-core/src/main/java/org/apache/camel/util/component/AbstractApiProducer.java | Java | apache-2.0 | 7,762 |
/**
* Copyright (C) 2015 ogaclejapan
*
* 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... | HKMOpen/SmartTabLayout | utils-v4/src/main/java/com/ogaclejapan/smarttablayout/utils/v4/FragmentStatePagerItemAdapter.java | Java | apache-2.0 | 2,445 |
/*
* 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... | wuranbo/elasticsearch | core/src/main/java/org/elasticsearch/index/analysis/PersianNormalizationFilterFactory.java | Java | apache-2.0 | 1,615 |
/*
* 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... | kuzemchik/presto | presto-main/src/test/java/com/facebook/presto/execution/TestSimpleMarker.java | Java | apache-2.0 | 1,679 |
/**
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license.... | jamesfeshner/openmrs-module | web/src/main/java/org/openmrs/web/OpenmrsBindingInitializer.java | Java | mpl-2.0 | 6,788 |
/**
* 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... | ervinyang/tutorial_zookeeper | zookeeper-trunk/src/contrib/rest/src/test/org/apache/zookeeper/server/jersey/ExistsTest.java | Java | mit | 2,613 |
/**
* 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... | joakibj/camel | components/camel-apns/src/main/java/org/apache/camel/component/apns/ApnsComponent.java | Java | apache-2.0 | 1,812 |
/*
* Copyright (c) 2007, 2010, 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 ... | rokn/Count_Words_2015 | testing/openjdk2/jdk/test/java/util/concurrent/FutureTask/Customized.java | Java | mit | 7,692 |
/*
* This file is part of Arduino.
*
* Copyright 2015 Arduino LLC (http://www.arduino.cc/)
*
* Arduino 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 your opt... | leftbrainstrain/Arduino-ESP8266 | arduino-core/src/cc/arduino/filters/FileExecutablePredicate.java | Java | lgpl-2.1 | 1,666 |
package http_parser.lolevel;
import java.nio.ByteBuffer;
import http_parser.HTTPException;
import http_parser.HTTPMethod;
import http_parser.HTTPParserUrl;
import http_parser.ParserType;
import static http_parser.lolevel.HTTPParser.C.*;
import static http_parser.lolevel.HTTPParser.State.*;
public class HTTPParser {
... | udayakiran/udayakiran.github.io | vendor/gems/ruby/2.7.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/lolevel/HTTPParser.java | Java | mit | 66,091 |
/**
* 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... | RohanHart/camel | components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/listener/MapEntryListener.java | Java | apache-2.0 | 1,482 |
/*
* Copyright (c) 2006, 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... | rokn/Count_Words_2015 | testing/openjdk2/jdk/test/javax/management/openmbean/IsValueTest.java | Java | mit | 5,585 |
/*
* Copyright (c) 2010, 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... | rokn/Count_Words_2015 | testing/openjdk2/langtools/test/tools/javac/tree/TreePosRoundsTest.java | Java | mit | 7,450 |
/*
Copyright 2015 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | dgrif/binnavi | src/main/java/com/google/security/zynamics/reil/translators/ppc/LhzuxTranslator.java | Java | apache-2.0 | 1,532 |
/*
* 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... | asedunov/intellij-community | platform/lang-impl/src/com/intellij/execution/ui/layout/impl/RunnerLayoutUiFactoryImpl.java | Java | apache-2.0 | 1,468 |
class A {
public static final int i = 42;
public static final boolean b = true;
public static final float f = 1.0f;
public static final double d = 1.0d;
public static final short s = 1;
public static final long l = 1l;
public static final char cA = 'A';
public static final char c0 = '\u0... | rokn/Count_Words_2015 | testing/openjdk2/langtools/test/tools/javap/4111861/A.java | Java | mit | 521 |
/**
* 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... | davidwilliams1978/camel | components/camel-gae/src/test/java/org/apache/camel/component/gae/http/GHttpOutboundRouteBuilderTest.java | Java | apache-2.0 | 3,798 |
/*
* 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... | kdwink/intellij-community | java/compiler/forms-compiler/src/com/intellij/uiDesigner/lw/LwIntroIconProperty.java | Java | apache-2.0 | 1,093 |
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
Part of the Processing project - http://processing.org
Copyright (c) 2004-08 Ben Fry and Casey Reas
Copyright (c) 2001-04 Massachusetts Institute of Technology
This library is free software; you can redistribute it and/or
modify it under... | cthiemann/SPaTo_Visual_Explorer | lib/src/core/src/processing/core/PConstants.java | Java | gpl-3.0 | 15,928 |
/*
* Copyright (C) 2010 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 agr... | kerwinxu/barcodeManager | zxing/core/src/com/google/zxing/oned/rss/expanded/decoders/DecodedObject.java | Java | bsd-2-clause | 1,292 |
package butterknife;
import java.util.AbstractList;
import java.util.RandomAccess;
/**
* An immutable list of views which is lighter than {@code
* Collections.unmodifiableList(new ArrayList<>(Arrays.asList(foo, bar)))}.
*/
final class ImmutableList<T> extends AbstractList<T> implements RandomAccess {
private fin... | suzukaze/butterknife | butterknife/src/main/java/butterknife/ImmutableList.java | Java | apache-2.0 | 680 |
/*
* 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... | Rygbee/elasticsearch | core/src/test/java/org/elasticsearch/index/fielddata/DuelFieldDataTests.java | Java | apache-2.0 | 32,762 |
/*
* 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... | dahlstrom-g/intellij-community | platform/lang-impl/src/com/intellij/codeInsight/folding/impl/actions/ExpandToLevel5Action.java | Java | apache-2.0 | 786 |
import java.util.concurrent.atomic.AtomicInteger;
class Test {
AtomicInteger i;
void foo() {
i.getAndIncrement();
i.incrementAndGet();
i.getAndDecrement();
i.decrementAndGet();
System.out.println(i.getAndIncrement());
System.out.println(i.decrementAndGet());
}
} | Lekanich/intellij-community | java/typeMigration/testData/refactoring/typeMigrationByAtomic/reverseIncrementDecrement/before/Test.java | Java | apache-2.0 | 293 |
/*
* Copyright (c) 2010, 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... | rokn/Count_Words_2015 | testing/openjdk2/jdk/test/javax/accessibility/6986385/bug6986385.java | Java | mit | 1,763 |
/**
* Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior
* University
*
* 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/lic... | alsmadi/CSCI-6617 | src/main/java/org/openflow/protocol/factory/OFActionFactoryAware.java | Java | apache-2.0 | 1,078 |
import java.util.*;
class Test {
static class Pair<A, B> {
Pair(A a, B b) {
}
static <A, B> Pair<A, B> create(A a, B b) {
return new Pair<A, B>(a, b);
}
}
public static void getWordsWithOffset(String s, int startInd, final List<Pair<String, Integer>> res) {
res.add(Pair.create(s, star... | asedunov/intellij-community | java/java-tests/testData/codeInsight/daemonCodeAnalyzer/genericsHighlighting/InferenceWithBoxingCovariant.java | Java | apache-2.0 | 333 |
/*
* 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... | rokn/Count_Words_2015 | testing/openjdk2/jdk/test/java/math/BigInteger/UnicodeConstructor.java | Java | mit | 1,879 |
/*
* 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 ... | gndpig/hadoop | src/core/org/apache/hadoop/io/compress/CompressionOutputStream.java | Java | apache-2.0 | 1,993 |
/*
* The MIT License
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi
*
* 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 l... | lindzh/jenkins | core/src/main/java/hudson/model/Saveable.java | Java | mit | 2,024 |
/**
* 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... | coderczp/camel | components/camel-dns/src/main/java/org/apache/camel/component/dns/DnsLookupProducer.java | Java | apache-2.0 | 2,412 |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... | prayuditb/tryout-01 | websocket/client/Client/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/animation/Animation.java | Java | mit | 3,540 |
/*
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... | ChiMarvine/chartreuse-triceratops | youwont/plugins/cordova-plugin-file/src/android/FileExistsException.java | Java | mit | 1,050 |
package org.apollo.game.model.region;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import java.util.stream.Collectors;
import org.apollo.game.model.Entity;
import org.apollo.game.model.Entity.EntityCategory;
import org.apollo.game.model.Position;
/**
* Represents a single region.
*
* @... | atomicint/aj8 | server/src/main/java/org/apollo/game/model/region/Region.java | Java | isc | 4,167 |
/*
* Copyright © 2017 <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 ... | io7m/smf | com.io7m.smfj.format.binary2/src/main/java/com/io7m/smfj/format/binary2/internal/serial/le/WriterLESigned2_16.java | Java | isc | 1,456 |
/**
*
* Copyright © 2016 Mycelium.
* Use of this source code is governed by an ISC
* license that can be found in the LICENSE file.
*
*/
package com.shuffle.monad;
/**
* Created by DanielKrawisz on 3/2/16.
*/
public interface Summable<X> {
interface SummableElement<X> {
X value();
Summabl... | Giszmo/Shufflepuff | shuffler/src/main/java/com/shuffle/monad/Summable.java | Java | isc | 605 |
package com.lagopusempire.homes.commands.admin;
import com.lagopusempire.homes.HomeManager;
import com.lagopusempire.homes.HomesPlugin;
import com.lagopusempire.homes.commands.CommandBase;
import com.lagopusempire.homes.config.ConfigKeys;
import com.lagopusempire.homes.config.PluginConfig;
import com.lagopusempire.hom... | MrZoraman/Homes | src/main/java/com/lagopusempire/homes/commands/admin/GoToOthersHomeCommand.java | Java | isc | 1,874 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// 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: 2014.08.21 at 12:22:1... | Juriy/masterhack | server/src/main/java/mastercard/mcwallet/sdk/xml/switchapiservices/AuthorizePairingResponse.java | Java | isc | 2,615 |
/*
* Copyright (c) 2018, nwillc@gmail.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 THE AUTHOR D... | nwillc/fun-jdbc | src/test/java/com/github/nwillc/funjdbc/utils/ResultSetStreamTest.java | Java | isc | 1,058 |
package Hacktendo;
/*
Porgrammer: Ben Coe.(2007)<br />
The viewport that an experiment takes place in.
*/
import javax.swing.*;
import java.awt.*;
import java.awt.image.*;
import util.*;
import java.io.*;
import java.awt.geom.*;
import java.awt.event.*;
import java.util.concurrent.Semaphore;
import GUI.Sound;
import... | Demannu/hackwars-classic | src/classes/Hacktendo/Viewport.java | Java | isc | 7,856 |
/*
* Copyright (C) 2009-2013 Typesafe Inc. <http://www.typesafe.com>
*/
/**
* Provides the JDBC database access API.
*/
package play.db; | jyotikamboj/container | pf-framework/src/play-java-jdbc/src/main/java/play/db/package-info.java | Java | mit | 141 |
package org.bjwumpusandcompany.hunter.keyboardcontrolled;
/**
* Hello world!
*
*/
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
}
}
| BJ-Wumpus-And-Company/wumpus-world | src/org.bjwumpusandcompany.hunter.keyboardcontrolled/src/main/java/org/bjwumpusandcompany/hunter/keyboardcontrolled/App.java | Java | mit | 211 |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... | SpongePowered/SpongeCommon | src/main/java/org/spongepowered/common/item/inventory/lens/MutableLensCollection.java | Java | mit | 1,790 |
package com.beanstream.data;
import java.util.List;
import com.beanstream.domain.TransactionRecord;
public class Records
{
public List<TransactionRecord> records;
}
| Beanstream-DRWP/beanstream-java | src/main/java/com/beanstream/data/Records.java | Java | mit | 172 |
package seedu.todo.commons.util;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.Arrays;
import java.util.List;
/**
* Helper functions for handling strings.
*/
public class StringUtil {
public static boolean containsIgnoreCase(String source, String query) {
String[] split = sou... | CS2103AUG2016-W13-C1/main | src/main/java/seedu/todo/commons/util/StringUtil.java | Java | mit | 1,191 |
package lawnbway.jcrawler;
import java.io.FileReader;
import java.io.IOException;
import java.io.LineNumberReader;
import java.io.RandomAccessFile;
import java.util.concurrent.ThreadLocalRandom;
/**
* UserAgentManagerSingleton is a singleton that keeps open the file with available user agents ("usr_agents")
* and pr... | LawnboyMax/concurrent_jcrawler | src/main/java/lawnbway/jcrawler/UserAgentManagerSingleton.java | Java | mit | 4,882 |