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) 2013-2020 Scott Warner * * 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...
Tortel/DeployTrack
app/src/main/java/com/tortel/deploytrack/dialog/AboutDialog.java
Java
apache-2.0
3,106
/* * Copyright 2015 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 applicable l...
spring-cloud/spring-cloud-cluster
spring-cloud-cluster-core/src/main/java/org/springframework/cloud/cluster/lock/support/DefaultLockRegistry.java
Java
apache-2.0
1,867
package fr.javatronic.blog.massive.annotation1.sub1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_4459 { }
lesaint/experimenting-annotation-processing
experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/sub1/Class_4459.java
Java
apache-2.0
151
/* * * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package jdepend.framework.util.zip; import java.io.EOFException; import java.io.FilterInputStream; import java.io.IOException; import java.io.InputStream; import jav...
jdepend/cooper
cooper-framework/cooper-framework-core/src/main/java/jdepend/framework/util/zip/InflaterInputStream.java
Java
apache-2.0
6,078
/* * 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...
freeVM/freeVM
enhanced/archive/classlib/java6/modules/luni/src/test/java/tests/api/java/io/DataInputStreamTest.java
Java
apache-2.0
18,596
package com.smartling.connector.hubspot.sdk.blog; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.gson.annotations.SerializedName; import lombok.Data; import lombok.NoArgsConstructor; import java.util.Date; import java.util.HashMap; import java.util.Map; @Data @NoArgsConstructor public class ...
Smartling/hubspot-rest-sdk-java
src/main/java/com/smartling/connector/hubspot/sdk/blog/BlogDetail.java
Java
apache-2.0
648
/* * Copyright 2002-2021 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...
spring-projects/spring-framework
spring-core/src/test/java/org/springframework/core/type/AbstractAnnotationMetadataTests.java
Java
apache-2.0
12,894
/* * Copyright 2010 Andreas Brauchli, René Buffat, Florian Widmer * * 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 requir...
abrauchli/Footware
src/org/footware/client/pages/AllTracksPage.java
Java
apache-2.0
2,618
/* * Copyright 2015 Amazon Technologies, 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://aws.amazon.com/apache2.0 * * This file is distributed on an "AS IS" BASIS...
aws/aws-toolkit-eclipse
bundles/com.amazonaws.eclipse.core/src/com/amazonaws/eclipse/core/telemetry/cognito/identity/AWSCognitoIdentityIdProvider.java
Java
apache-2.0
928
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
aws/aws-sdk-java
aws-java-sdk-pinpointemail/src/main/java/com/amazonaws/services/pinpointemail/model/transform/GetDedicatedIpsRequestMarshaller.java
Java
apache-2.0
2,667
package com.github.metaprgmr.gapi_codegen; import static java.lang.System.out; import java.io.File; import java.io.FileReader; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.HashMap; import java.util.Properties; import java.util.Set; ...
metaprgmr/GoogleApiProxyForSwift
tools/src/main/java/com/github/metaprgmr/gapi_codegen/GoogleApiClientGen.java
Java
apache-2.0
7,055
/* * Copyright 2018 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...
markpollack/spring-cloud-skipper
acceptance-tests/spring-cloud-skipper-acceptance-core/src/main/java/org/springframework/cloud/skipper/acceptance/core/DockerCompose.java
Java
apache-2.0
1,402
package com.fishercoder; import com.fishercoder.solutions._1446; import org.junit.BeforeClass; import org.junit.Test; import static junit.framework.TestCase.assertEquals; public class _1446Test { private static _1446.Solution1 solution1; @BeforeClass public static void setup() { solution1 = new ...
fishercoder1534/Leetcode
src/test/java/com/fishercoder/_1446Test.java
Java
apache-2.0
447
//============================================================================ // // Copyright (C) 2006-2022 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receive...
Talend/components
components/components-googledrive/components-googledrive-runtime/src/main/java/org/talend/components/google/drive/runtime/GoogleDriveValidator.java
Java
apache-2.0
11,157
/* * Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.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 ...
cloudsmith/orientdb
core/src/main/java/com/orientechnologies/orient/core/sql/operator/OQueryOperatorMatches.java
Java
apache-2.0
1,527
// Copyright (c) 2014 Cilogi. All Rights Reserved. // // File: ShortURLMapDAO.java (16/09/14) // Author: tim // // Copyright in the whole and every part of this source file belongs to // Cilogi (the Author) and may not be used, sold, licenced, // transferred, copied or reproduced in whole or in part in /...
cilogi/shorten2go
src/main/java/com/cilogi/shorten/db/ShortURLMapDAO.java
Java
apache-2.0
4,633
/* * Copyright 2015 Ignacio del Valle Alles idelvall@brutusin.org. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
brutusin/flea-db
src/main/java/org/brutusin/fleadb/DocTransformer.java
Java
apache-2.0
1,101
package org.jboss.spring.examples.primrose.springmvc; import java.util.List; import org.jboss.spring.examples.primrose.dao.FlowerDao; import org.jboss.spring.examples.primrose.entity.Flower; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.sp...
trepel/wildfly-hibernate5-error
src/main/java/org/jboss/spring/examples/primrose/springmvc/FlowerController.java
Java
apache-2.0
1,432
/* * 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 ...
aglne/dubbo
dubbo-config/dubbo-config-api/src/test/java/org/apache/dubbo/config/builders/ServiceBuilderTest.java
Java
apache-2.0
5,001
/* ### * IP: GHIDRA * * 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 writin...
NationalSecurityAgency/ghidra
Ghidra/Debug/Debugger-agent-gdb/src/main/java/agent/gdb/manager/reason/GdbEndSteppingRangeReason.java
Java
apache-2.0
967
package org.elasticsoftware.elasticactors.broadcast; import org.elasticsoftware.elasticactors.test.configuration.TestConfiguration; import org.springframework.context.annotation.Import; import org.springframework.context.annotation.PropertySource; @Import(TestConfiguration.class) @PropertySource("classpath:applicatio...
elasticsoftwarefoundation/elasticactors-systems
broadcast/src/test/java/org/elasticsoftware/elasticactors/broadcast/BroadcastTestConfiguration.java
Java
apache-2.0
385
package com.parse.starter; import android.app.Activity; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothServerSocket; import android.bluetooth.BluetoothSocket; import android.content.BroadcastReceiver; import android.content.Context; import android...
xieminjie/myTime_androidApp
ParseStarterProject/src/main/java/com/parse/starter/BlueTooth.java
Java
apache-2.0
18,534
package com.logginghub.logging; import java.util.Timer; import java.util.TimerTask; import com.logginghub.utils.MemorySnapshot; public abstract class HeapLogger { private Timer timer; private long interval = 1000; private MemorySnapshot snapshot = MemorySnapshot.createSnapshot(); public ...
logginghub/core
logginghub-client/src/main/java/com/logginghub/logging/HeapLogger.java
Java
apache-2.0
1,678
/* Copyright 2010-present Local Matters, 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 ...
localmatters/object-serializer
src/main/java/org/localmatters/serializer/resolver/DelegatingPropertyResolver.java
Java
apache-2.0
1,088
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.interestrate.payments.derivative; import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertFalse; imp...
McLeodMoores/starling
projects/analytics/src/test/java/com/opengamma/analytics/financial/interestrate/payments/derivative/PaymentTest.java
Java
apache-2.0
2,298
package com.goodgame.profiling.rewrite_framework.systems.gatherer.monitoring; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.kohsuke.MetaInfServices; import com.goodgame.profiling.commons.statistics.eventbus.EventBusManager; import com.goodgame.profiling.commons.statist...
Tetha/bifroest
rewrite-framework/src/main/java/com/goodgame/profiling/rewrite_framework/systems/gatherer/monitoring/FetchConfigLogger.java
Java
apache-2.0
741
package me.chanjar.weixin.mp.api.impl; import com.google.gson.JsonObject; import lombok.RequiredArgsConstructor; import me.chanjar.weixin.common.error.WxErrorException; import me.chanjar.weixin.mp.api.WxMpService; import me.chanjar.weixin.mp.api.WxMpUserService; import me.chanjar.weixin.mp.bean.WxMpUserQuery; import m...
Wechat-Group/WxJava
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/WxMpUserServiceImpl.java
Java
apache-2.0
2,706
/** * This file is part of the Iritgo/SimpleLife Library. * * Copyright (C) 2005-2011 Iritgo Technologies. * Copyright (C) 2003-2005 BueroByte GbR. * * Iritgo 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...
iritgo/iritgo-simplelife
src/main/java/de/iritgo/simplelife/data/DataConverter.java
Java
apache-2.0
1,491
/* * 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...
consulo/consulo-python
python-psi-api/src/main/java/com/jetbrains/python/psi/Property.java
Java
apache-2.0
2,200
package generator; import com.google.common.base.Optional; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import sparkjni.utils.DeployMode; import sparkjni.utils.exceptions.HardSparkJniException; import javax.annotation.Nonnull; import javax.inject.Inject; import java.io.File; import java.io.FileInputStream...
tudorv91/SparkJNI
generator/src/main/java/generator/PropertiesHandler.java
Java
apache-2.0
2,889
/* * Copyright (c) 2010-2013 Evolveum * * 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...
rpudil/midpoint
provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyNoActivation.java
Java
apache-2.0
14,389
package javasmmr.zoowsome.models.animals; public class Aligator extends Reptile { public Aligator(double maintenanceCost,double dangerPerc) { super(maintenanceCost,dangerPerc); this.setLaysEggs(true); this.setName("Aligator"); this.setNrOfLegs(4); } }
JavaSummer/JavaMainRepo
Students/Birlean Andrei Horatiu/Zoowsome/src/javasmmr/zoowsome/models/animals/Aligator.java
Java
apache-2.0
273
package com.mychaelstyle.common.datastore; import com.mychaelstyle.common.GenericDatastore; import java.util.*; import org.json.JSONArray; import org.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.BasicAWSCredentials; im...
mychaelstyle/generic-datastore
src/main/java/com/mychaelstyle/common/datastore/AwsDynamoDB.java
Java
apache-2.0
34,638
package com.github.vatbub.tictactoe.view; /*- * #%L * tictactoe * %% * Copyright (C) 2016 - 2017 Frederik Kammel * %% * 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:/...
vatbub/tictactoe
client/src/main/java/com/github/vatbub/tictactoe/view/AnimationThreadPoolExecutor.java
Java
apache-2.0
7,641
package org.estatio.module.lease.dom.party; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.inject.Inject; import javax.jdo.annotations.Column; import org.joda.time.LocalDate; import org.apache.isis.applib.annotation.DomainObject; import org.apac...
estatio/estatio
estatioapp/app/src/main/java/org/estatio/module/lease/dom/party/TenantAdministrationRecordVM.java
Java
apache-2.0
5,930
/* * Copyright 2010-2020 Alfresco Software, Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Activiti/Activiti
activiti-api/activiti-api-process-model/src/main/java/org/activiti/api/process/model/events/BPMNTimerCancelledEvent.java
Java
apache-2.0
729
/* * 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 ...
shankarh/geode
geode-core/src/test/java/org/apache/geode/distributed/AbstractLauncherIntegrationTestCase.java
Java
apache-2.0
9,271
// 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...
safarmer/bazel
src/test/java/com/google/devtools/build/lib/rules/cpp/StarlarkCcCommonTest.java
Java
apache-2.0
298,975
package com.tngtech.jgiven.report.html5; import java.io.*; import java.util.Collections; import java.util.Date; import java.util.List; import java.util.zip.GZIPOutputStream; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; import javax.xml.bind.DatatypeConverter; import org.slf4j.Logger; import or...
albertofaci/JGiven
jgiven-html5-report/src/main/java/com/tngtech/jgiven/report/html5/Html5ReportGenerator.java
Java
apache-2.0
8,705
/* * JBoss, Home of Professional Open Source * Copyright 2012, Red Hat Middleware LLC, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not us...
oliveti/resolver
spi/src/main/java/org/jboss/shrinkwrap/resolver/spi/loader/ServiceLoader.java
Java
apache-2.0
2,764
/* * 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...
prestodb/presto-jdbc-java6
src/main/java/com/facebook/presto/jdbc/ApacheQueryHttpClient.java
Java
apache-2.0
9,195
/* * Copyright 2015 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 applicab...
azusa/hatunatu
hatunatu/src/main/java/jp/fieldnotes/hatunatu/dao/impl/DtoMetaDataImpl.java
Java
apache-2.0
3,127
/* * Copyright 2014 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 applicable l...
kuujo/vertigo
core/src/main/java/net/kuujo/vertigo/io/IOCollector.java
Java
apache-2.0
1,146
package com.mesc.service.util; /** * Util class to read / write Excel file * * @author Hao Meng Yap * */ public class ExcelUtil { }
hm-yap/service-mesc
src/main/java/com/mesc/service/util/ExcelUtil.java
Java
apache-2.0
140
/* * 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...
ibinti/intellij-community
platform/vcs-log/impl/src/com/intellij/vcs/log/history/FileHistoryFilterer.java
Java
apache-2.0
15,080
/* * Copyright 2005-2010 Ignis Software Tools Ltd. All rights reserved. */ package jsystem.treeui.actionItems; import jsystem.framework.FrameworkOptions; import jsystem.framework.GeneralEnums.RunMode; import jsystem.framework.JSystemProperties; import jsystem.framework.report.ListenerstManager; import jsystem.framew...
Top-Q/jsystem
jsystem-core-projects/jsystemApp/src/main/java/jsystem/treeui/actionItems/PlayAction.java
Java
apache-2.0
6,326
package com.planet_ink.coffee_mud.Common.interfaces; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; imp...
oriontribunal/CoffeeMud
com/planet_ink/coffee_mud/Common/interfaces/Faction.java
Java
apache-2.0
79,711
/* * Copyright 2013, The Sporting Exchange 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 applicabl...
betfair/tornjak
monitor/src/main/java/com/betfair/tornjak/monitor/StatusSource.java
Java
apache-2.0
855
/* * Copyright (C) 2008 feilong * * 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...
venusdrogon/feilong-core
src/test/java/com/feilong/core/util/predicate/beanpredicateutil/EqualIgnoreCasePredicateTest.java
Java
apache-2.0
3,661
package org.gradle.test.performance.mediummonolithicjavaproject.p51; public class Production1020 { private String property0; public String getProperty0() { return property0; } public void setProperty0(String value) { property0 = value; } private String property1; ...
oehme/analysing-gradle-performance
my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p51/Production1020.java
Java
apache-2.0
1,890
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j 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 Foundatio...
HuangLS/neo4j
community/shell/src/main/java/org/neo4j/shell/kernel/apps/Mkrel.java
Java
apache-2.0
5,773
package com.example.hp.myapplication; import android.os.Environment; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.TextView; import android.widget.Toast; import com.example.httplib.AppEx...
remerber/MyHttp
app/src/main/java/com/example/hp/myapplication/MainActivity.java
Java
apache-2.0
3,383
/* * Copyright 2014-2020 Groupon, Inc * Copyright 2020-2021 Equinix, Inc * Copyright 2014-2021 The Billing Project, LLC * * The Billing 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 c...
killbill/killbill-avatax-plugin
src/main/java/org/killbill/billing/plugin/avatax/core/AvaTaxTaxCodesServlet.java
Java
apache-2.0
5,891
/* * Copyright 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 "license" file ...
aws/aws-sdk-java-v2
core/regions/src/main/java/software/amazon/awssdk/regions/PartitionMetadataProvider.java
Java
apache-2.0
1,279
/** * Copyright (C) FuseSource, Inc. * http://fusesource.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...
Jitendrakry/fuse
fab/fab-core/src/main/java/org/fusesource/fabric/fab/PomDetails.java
Java
apache-2.0
2,104
package me.nithanim.mmf4j.platform.windows; import com.sun.jna.Native; import com.sun.jna.Pointer; import com.sun.jna.platform.win32.Kernel32; import com.sun.jna.platform.win32.WinNT; import com.sun.jna.win32.W32APIOptions; public interface MMFKernel32 extends Kernel32 { public static MMFKernel32 INSTANCE = (MMFK...
Nithanim/mmf4j
src/main/java/me/nithanim/mmf4j/platform/windows/MMFKernel32.java
Java
apache-2.0
712
/* * Copyright 2010 MIT Strategic Engineering Research Group * * 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 b...
ptgrogan/spacenet
src/main/java/edu/mit/spacenet/gui/renderer/ResourceTypeListCellRenderer.java
Java
apache-2.0
1,502
/** * 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...
vergilchiu/hive
llap-server/src/test/org/apache/hadoop/hive/llap/security/TestLlapSignerImpl.java
Java
apache-2.0
7,360
package it.jaschke.alexandria.ui; import android.content.Context; import android.content.SharedPreferences; import android.content.res.Configuration; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.Fragment; import android.support.v4.view.GravityCompat; import andro...
frank-tan/Super-Duo
alexandria/app/src/main/java/it/jaschke/alexandria/ui/NavigationDrawerFragment.java
Java
apache-2.0
10,839
/* * Copyright (c) 2007, 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 ...
FFY00/Helios
src/main/java/com/sun/tools/javap/JavapTask.java
Java
apache-2.0
39,069
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:...
jiachenning/libgdx
gdx/src/com/badlogic/gdx/graphics/g3d/Model.java
Java
apache-2.0
18,911
/** * Copyright (C) 2012 Ness Computing, 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 ...
NessComputing/components-ness-httpclient
client/src/main/java/com/nesscomputing/httpclient/response/HttpResponseContentConverter.java
Java
apache-2.0
1,915
package com.dmt.train.routing.client; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @Configuration @ComponentScan(basePackages = { "com.dmt.train.routing" }) public class ApplicationConfiguration { }
diegomtassis/train-routing-problem
client/src/main/java/com/dmt/train/routing/client/ApplicationConfiguration.java
Java
apache-2.0
279
/* * Copyright (C) 2015 Arno Zhang * * 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...
arnozhang/Android-SlideSupport-ListLayouts
sources/samples/src/main/java/com/straw/samples/data/HelperUtils.java
Java
apache-2.0
3,068
/* * 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 ...
massx1/syncope
common/lib/src/main/java/org/apache/syncope/common/lib/types/ConnConfProperty.java
Java
apache-2.0
2,223
/* * Copyright 2016 Huawei Technologies Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
open-o/nfvo
resmanagement/ResmanagementService/service/src/main/java/org/openo/nfvo/resmanagement/service/rest/exceptionmapper/ExceptionMessage.java
Java
apache-2.0
1,566
package com.smbtec.xo.orientdb.query.gremlin.composite; import java.util.Collection; import com.smbtec.xo.tinkerpop.blueprints.api.annotation.Vertex; @Vertex public interface Person { String getFirstname(); void setFirstname(String firstName); String getLastname(); void setLastname(String lastNam...
SMB-TEC/xo-orientdb-query
xo-orientdb-gremlin/src/test/java/com/smbtec/xo/orientdb/query/gremlin/composite/Person.java
Java
apache-2.0
411
package br.curso.a_032_viewpager; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; public class Frag_02 extends Fragment{ @Override public View onCreateView(LayoutInflater inflater, ViewGroup co...
renatosjoao/Android
A_032_ViewPager/src/br/curso/a_032_viewpager/Frag_02.java
Java
apache-2.0
465
package ro.androidiasi.codecamp.sponsors; import android.support.v4.widget.SwipeRefreshLayout; import android.widget.Toast; import com.tonicartos.widget.stickygridheaders.StickyGridHeadersGridView; import org.androidannotations.annotations.Bean; import org.androidannotations.annotations.EFragment; import org.android...
AndroidIasi/CodeCamp
app/src/main/java/ro/androidiasi/codecamp/sponsors/SponsorsFragment.java
Java
apache-2.0
2,834
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
joel-costigliola/assertj-core
src/test/java/org/assertj/core/api/boolean2darray/Boolean2DArrayAssert_hasSameDimensionsAs_Test.java
Java
apache-2.0
1,439
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
joel-costigliola/assertj-core
src/test/java/org/assertj/core/api/list/ListAssert_filteredOn_using_filterOperator_with_navigation_Test.java
Java
apache-2.0
2,929
package com.alardear.util.string; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.zip.DataFormatException; import java.util.zip.Deflater; import java.util.zip.Inflater; /** * LZ77算法与哈夫曼编码(Huffman Coding) * * @see http://www.zlib.net/ * @author http://zhengdi1992.github.io/ * ...
zhengdi1992/SpellingCorrection
sc-framwork/src/main/java/com/alardear/util/string/DeflaterCompressUtil.java
Java
apache-2.0
1,364
/* * Copyright © 2016 IBM Corp. 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...
cloudant/sync-android
cloudant-sync-datastore-core/src/test/java/com/cloudant/sync/event/EventBusTest.java
Java
apache-2.0
10,726
package com.texttalk.core.synthesizer; import com.ning.http.client.AsyncHttpClient; import com.ning.http.client.AsyncHttpClientConfig; import com.ning.http.client.websocket.*; import com.texttalk.common.Utils; import com.texttalk.common.io.CloseableByteArrayOutputStream; import com.texttalk.common.io.CloseableFileOutp...
andrewboss/texttalk-backend
src/main/java/com/texttalk/core/synthesizer/LUSSSynthesizer.java
Java
apache-2.0
6,925
// This is a generated file. Not intended for manual editing. package org.dlangplugin.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface DLangCaseStatement extends DLangCompositeElement { @NotNull DLangArgumentList getArgumentList(); ...
shekn-itrtch/DLangPlugin
gen/org/dlangplugin/psi/DLangCaseStatement.java
Java
apache-2.0
2,115
package com.google.api.ads.dfp.jaxws.v201511; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for GrpGender. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleType name="GrpGender"...
gawkermedia/googleads-java-lib
modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201511/GrpGender.java
Java
apache-2.0
1,309
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
tectronics/hyracks
hyracks/hyracks-examples/tpch-example/tpchclient/src/main/java/org/apache/hyracks/examples/tpch/client/Common.java
Java
apache-2.0
4,815
package wasdev.sample.servlet; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * Servlet implementation class SimpleS...
sdpaug11/sdp1-1482476377779
src/main/java/wasdev/sample/servlet/SimpleServlet.java
Java
apache-2.0
809
/* * Copyright (c) 2008-2018 Haulmont. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
dimone-kun/cuba
modules/global/src/com/haulmont/chile/core/datatypes/impl/OffsetTimeDatatype.java
Java
apache-2.0
1,614
package ru.technoserv.exceptions; public class CommonError { private int id; private String message; private String help = "http://docs.stuffengine.apiary.io/#introduction"; public CommonError(String message){ this.message = message; } public String getMessage() { return me...
AMaiyndy/employees
src/main/java/ru/technoserv/exceptions/CommonError.java
Java
apache-2.0
480
/** * 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 m...
claudemamo/jruby-cxf
src/main/java/org/jrubycxf/aegis/type/basic/BeanTypePropertyInfo.java
Java
apache-2.0
2,022
package com.zuitangxuan.database.T009permissionMan; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public interface HandleTypeT009 { public static final String O901 = "O901"; //增加资金账户 public static final String O902 = "O902"; //删除资金账户 public static final String O903 = ...
AdrianAndroid/zuitangxuan
zuitangxuan/src/com/zuitangxuan/database/T009permissionMan/HandleTypeT009.java
Java
apache-2.0
1,301
/** * Copyright 2014 Netflix, 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 ...
devisnik/RxJava
rxjava-contrib/rxjava-android/src/main/java/rx/operators/OperatorCompoundButtonInput.java
Java
apache-2.0
3,909
package org.sagebionetworks.evaluation.dao; import java.util.Date; import java.util.List; import java.util.Map; import java.util.Set; import org.sagebionetworks.evaluation.model.Submission; import org.sagebionetworks.evaluation.model.SubmissionBundle; import org.sagebionetworks.evaluation.model.SubmissionContributor;...
Sage-Bionetworks/Synapse-Repository-Services
lib/jdomodels/src/main/java/org/sagebionetworks/evaluation/dao/SubmissionDAO.java
Java
apache-2.0
7,301
package se.kth.scs.utils; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashSet; impo...
shps/HoVerCut
src/main/java/se/kth/scs/utils/EdgeFileReader.java
Java
apache-2.0
3,839
/** * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.pro.service; import java.util.List; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import com.thin...
vriche/procat
src/main/java/com/thinkgem/jeesite/modules/pro/service/ProGradeService.java
Java
apache-2.0
1,423
/* * Copyright 2015 herd contributors * * 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...
FINRAOS/herd
herd-code/herd-service/src/main/java/org/finra/herd/service/impl/ExpireRestoredBusinessObjectDataHelperServiceImpl.java
Java
apache-2.0
13,553
package net.erdfelt.android.apk; import net.erdfelt.android.apk.io.IO; import net.erdfelt.android.apk.xml.Attribute; import net.erdfelt.android.apk.xml.BinaryXmlListener; import net.erdfelt.android.apk.xml.BinaryXmlParser; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import j...
joakime/android-apk-parser
src/main/java/net/erdfelt/android/apk/AndroidApk.java
Java
apache-2.0
4,290
/* * Copyright (c) 2017, 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.o...
lgobinath/siddhi
modules/siddhi-core/src/main/java/org/wso2/siddhi/core/stream/output/sink/PartitionedGroupDeterminer.java
Java
apache-2.0
2,001
package org.apache.myfaces.trinidadinternal.convert; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import ja...
adamrduffy/trinidad-1.0.x
trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/convert/ReflectionConverter.java
Java
apache-2.0
3,758
package org.neo4art.importer.wikipedia.parser; import java.net.MalformedURLException; import java.net.URL; import org.junit.Assert; import org.junit.Test; import org.neo4art.domain.HistoricPlace; public class WikipediaNRHPManzanarInfoboxTest { private static String INFOBOX ="{{Infobox HistoricPlace \n"+ "| nam...
MZaratin-Larus/neo4art
neo4art-wikipedia-importer/src/test/java/org/neo4art/importer/wikipedia/parser/WikipediaNRHPManzanarInfoboxTest.java
Java
apache-2.0
1,640
package ru.kurs.sandbox; /** * Created by yana on 2/24/2016. */ public class Point { /* Поля для хранения координат. */ private double x; private double y; /* Конструктор класса Point */ public Point(double xx, double yy) { x = xx; y = yy; } /* ...
Andy28java/-2
Sandbox/src/main/java/ru/kurs/sandbox/Point.java
Java
apache-2.0
1,396
package me.jasoncampos.inject.persist.hibernate; import java.util.Base64; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.common.base.Optional; import com.orbitz.consul.KeyValueClient; impor...
jcampos8782/guice-persist-hibernate
guice-persist-hibernate-ext/src/main/java/me/jasoncampos/inject/persist/hibernate/HibernatePropertyProviderConsul.java
Java
apache-2.0
1,918
package org.guvnor.tools.views; import org.eclipse.jface.viewers.LabelProvider; import org.eclipse.swt.graphics.Image; import org.eclipse.ui.ISharedImages; import org.eclipse.ui.PlatformUI; import org.eclipse.ui.progress.PendingUpdateAdapter; import org.guvnor.tools.Activator; import org.guvnor.tools.Messages; import ...
bobmcwhirter/drools
drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/views/RepositoryLabelProvider.java
Java
apache-2.0
1,412
package me.jessyan.mvparms.photomark.mvp.ui.adapter; import android.view.View; import com.jess.arms.base.BaseHolder; import com.jess.arms.base.DefaultAdapter; import java.util.List; import me.jessyan.mvparms.photomark.R; import me.jessyan.mvparms.photomark.mvp.model.entity.User; import me.jessyan.mvparms.photomark....
ReepicheepRed/PhotoMark-official
app/src/main/java/me/jessyan/mvparms/photomark/mvp/ui/adapter/UserAdapter.java
Java
apache-2.0
762
/* * Copyright 2016 The jdeb developers. * * 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 ...
infothrill/jdeb
src/main/java/org/vafer/jdeb/utils/VariableResolver.java
Java
apache-2.0
840
/* ### * IP: GHIDRA * REVIEWED: YES * * 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 ag...
NationalSecurityAgency/ghidra
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/xcoff/XCoffSectionHeader.java
Java
apache-2.0
3,466
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
falko/camunda-bpm-platform
engine/src/test/java/org/camunda/bpm/engine/test/cmmn/sentry/SentryVariableOnPartExitCriteriaTest.java
Java
apache-2.0
4,872
package com.github.hayarobi.simple_config.load.properties; import com.github.hayarobi.simple_config.load.RawConfContainer; import com.github.hayarobi.simple_config.load.RawConfig; import com.github.hayarobi.simple_config.load.yaml.MapNodeConfig; public class PropertiesRCContainer implements RawConfContainer { privat...
hayarobi/simple-config
src/main/java/com/github/hayarobi/simple_config/load/properties/PropertiesRCContainer.java
Java
apache-2.0
842
/* * Copyright 2017 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
adrielparedes/guvnor
guvnor-ala/guvnor-ala-openshift/guvnor-ala-openshift-ui/guvnor-ala-openshift-ui-client/src/main/java/org/guvnor/ala/ui/openshift/client/resources/i18n/GuvnorAlaOpenShiftUIConstants.java
Java
apache-2.0
730