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
package wangdaye.com.geometricweather.theme.resource.providers; import android.animation.Animator; import android.content.Context; import android.content.Intent; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.graphics.drawable....
WangDaYeeeeee/GeometricWeather
app/src/main/java/wangdaye/com/geometricweather/theme/resource/providers/ChronusResourceProvider.java
Java
lgpl-3.0
8,652
package alice.tuprolog; import alice.tuprolog.Int; import alice.tuprolog.Prolog; import alice.tuprolog.SolveInfo; import alice.tuprolog.Struct; import alice.tuprolog.Var; import junit.framework.TestCase; /** * @author Matteo Iuliani * * Test del funzionamento delle eccezioni lanciate dai predicati della ...
zakski/project-soisceal
2p/trunk/test/unit/alice/tuprolog/BasicLibraryExceptionsTestCase.java
Java
lgpl-3.0
58,935
/******************************************************************************* * This file is part of the Corporate Semantic Web Project at Freie Universitaet Berlin. * * This work has been partially supported by the ``InnoProfile-Corporate Semantic Web" project funded by the German Federal * Ministry of Educati...
ag-csw/ExpertFinder
src-framework/de/csw/expertfinder/document/Document.java
Java
lgpl-3.0
4,648
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License...
Builders-SonarSource/sonarqube-bis
it/it-tests/src/test/java/it/projectSearch/SearchProjectsTest.java
Java
lgpl-3.0
3,188
/** * */ package jenjinn.ui.view; import javafx.scene.paint.Paint; /** * @author ThomasB * */ public final class BoardColorScheme { public final Paint darkSquares; public final Paint lightSquares; public final Paint locationMarker; public final Paint movementMarker; public final Paint attac...
maumay/Jenjinn-ChessEngine
src/main/java/jenjinn/ui/view/BoardColorScheme.java
Java
unlicense
603
package com.littlestore.easysnacks.web.controller; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.UUID; import javax.servlet.http.HttpServletRequest; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.s...
sunmingshi/LittleStore
easy-snacks-shelf/src/main/java/com/littlestore/easysnacks/web/controller/GoodsController.java
Java
unlicense
2,584
package org.bocogop.wr.web; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.apache.commons.lang3.StringUtils; import org.bocogop.shared.model.AppUser; import org.bocogop.shared.model.lookup.TemplateTy...
bocogop/main
webreport/trunk/web/src/main/java/org/bocogop/wr/web/CommonController.java
Java
unlicense
4,937
/* * NOTE: This copyright does *not* cover user programs that use HQ * program services by normal system calls through the application * program interfaces provided as part of the Hyperic Plug-in Development * Kit or the Hyperic Client Development Kit - this is merely considered * normal use of the program, and do...
cc14514/hq6
hq-web/src/main/java/org/hyperic/hq/ui/TypeConstants.java
Java
unlicense
1,433
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Beans; import java.util.List; /** * * @author USUARIO */ public class Adquiridos { private String Adquiridos; pub...
TomatoPana/TerceraMano
TerceraMano/src/main/java/Beans/Adquiridos.java
Java
unlicense
492
package com.opencmath; import java.io.*; /** * Base class representing number or matrix */ @SuppressWarnings({"WeakerAccess", "unused", "SameParameterValue"}) public abstract class BaseNumber { private static final double EPSILON = 1.0E-12; protected static final double M_PI2 = Math.PI / 2.0; final Num...
yanny7/OpenCMath
src/com/opencmath/BaseNumber.java
Java
unlicense
25,770
package co.d3s.ylt.renate.player.protocol; import java.io.IOException; import java.nio.ByteBuffer; import co.d3s.ylt.renate.network.protocol.Protocol; import co.d3s.ylt.renate.player.Player; public class Packet131 extends PlayerPacket { public Packet131(Protocol protocol){ super(protocol); } public Packet131(sh...
ylt/Renate
API/src/co/d3s/ylt/renate/player/protocol/Packet131.java
Java
unlicense
771
package org.terifan.xml; import java.io.CharArrayWriter; import java.io.Closeable; import java.io.IOException; import java.io.PushbackReader; import java.io.Reader; import java.io.StringReader; import java.nio.CharBuffer; import java.util.Arrays; @Deprecated public class XmlReader { private String mName; private S...
terifan/Terifan
src/org/terifan/xml/XmlReader.java
Java
unlicense
5,310
package com.github.br.starmarines.main.view.widgets.menu; import java.awt.Dimension; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowEvent; import java.util.List; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing...
burningrain/planetBot
main-app/src/main/java/com/github/br/starmarines/main/view/widgets/menu/MenuGameEngineWidget.java
Java
unlicense
3,627
package com.jfixby.r3.fokker.adaptor; import com.badlogic.gdx.Gdx; import com.jfixby.r3.engine.api.exe.EngineExecutor; import com.jfixby.r3.engine.api.exe.EngineState; import com.jfixby.r3.engine.api.exe.InputQueue; import com.jfixby.r3.engine.api.screen.Screen; import com.jfixby.scarabei.api.debug.Debug; import com....
RedTriplane/RedTriplane
r3-fokker-engine/src/com/jfixby/r3/fokker/adaptor/GdxAdaptor.java
Java
unlicense
5,067
/* * Copyright 2002-2005 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 re...
codeApeFromChina/resource
frame_packages/java_libs/spring-2.5.6-src/src/org/springframework/web/portlet/handler/HandlerInterceptorAdapter.java
Java
unlicense
3,514
/** * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either in source code form or as a compiled * binary, for any purpose, commercial or non-commercial, and by any * means. * * In jurisdicti...
andreas-schluens-asdev/asdk
service-env/src/main/java/net/as_development/asdk/api/service/env/IServiceEnv.java
Java
unlicense
4,682
package org.hasii.service; import java.util.List; import org.hasii.dao.RunSummaryDAO; import org.hasii.model.RunSummary; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; // extends BaseServic...
hasii2011/finna-be-octo-happiness
src/main/java/org/hasii/service/RunSummaryServiceImpl.java
Java
unlicense
689
package com.clilystudio.netbook.viewbinder.notification; import com.clilystudio.netbook.model.NotificationItem; public abstract class UnimportatntNotifBinder extends NotifBinder { public UnimportatntNotifBinder(NotificationItem notificationItem) { super(notificationItem); } }
clilystudio/NetBook
workspace/app/src/main/java/com/clilystudio/netbook/viewbinder/notification/UnimportatntNotifBinder.java
Java
unlicense
295
package be.normegil.librarium.model.data.people; import org.apache.commons.lang3.builder.CompareToBuilder; import javax.persistence.Access; import javax.persistence.AccessType; import javax.validation.Valid; import javax.validation.constraints.NotNull; import java.io.Serializable; @javax.persistence.Entity @Access(A...
Normegil/Librarium-Server
src/main/java/be/normegil/librarium/model/data/people/Enterprise.java
Java
unlicense
1,264
package crazypants.enderio.machine.spawner; import java.awt.Color; import net.minecraft.client.gui.FontRenderer; import net.minecraft.client.gui.GuiButton; import net.minecraft.entity.player.InventoryPlayer; import org.lwjgl.opengl.GL11; import crazypants.enderio.gui.ArrowButton; import crazypants.enderio.gui.IconB...
Joccob/EnderIO
src/main/java/crazypants/enderio/machine/spawner/GuiPoweredSpawner.java
Java
unlicense
2,982
package com.thelonelybyte.tard; // @Author: Isak Andersson public class Block { public static final int size = 64; private BlockType type; public Block(BlockType type) { this.type = type; } public BlockType getType() { return type; } }
BitPuffin/tard
tard/src/com/thelonelybyte/tard/Block.java
Java
unlicense
262
package Fabric_Mehod.Watch; public class RomeWatch implements Watch { @Override public void showTime() { System.out.println("I-II"); } }
Sequoza/Java-Patterns
Java-Patterns/Fabric_Mehod/Watch/RomeWatch.java
Java
unlicense
158
package io.reactivex.netty.pipeline; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelDuplexHandler; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelPipeline; import io.netty.channel.ChannelPromise; /** * @author Nitesh Kant */ public class ByteArrayPipelineConfigurator i...
allenxwang/RxNetty
rx-netty/src/main/java/io/reactivex/netty/pipeline/ByteArrayPipelineConfigurator.java
Java
apache-2.0
1,808
/* * Copyright (c) 2016 Nova Ordis LLC * * 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...
NovaOrdis/novaordis-utilities
src/main/java/io/novaordis/utilities/os/NativeExecutionException.java
Java
apache-2.0
2,379
package com.ukefu.webim.web.model; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import org.hibernate.annotations.GenericGenerator; import org.hibernate.annotati...
gtison/kf
src/main/java/com/ukefu/webim/web/model/Secret.java
Java
apache-2.0
1,677
/* * 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 ...
greghogan/flink
flink-tests/src/test/java/org/apache/flink/test/streaming/runtime/SourceNAryInputChainingITCase.java
Java
apache-2.0
14,781
package org.jacpfx.configuration; /** * Created by amo on 10.10.14. */ import com.mongodb.MongoClient; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Profile; import org.springframework.core.env.Environme...
amoAHCP/vertx-microservices-devoxx
microserviceC/src/main/java/org/jacpfx/configuration/MongoDataSourceConfiguration.java
Java
apache-2.0
819
package org.daisy.dotify.formatter.impl.search; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Provides the data needed for searching a document space. * * @author Joel Håkansson */ class DocumentSpaceData { final List<PageDetails> pageDetails; fi...
daisy/pipeline-issues
libs/dotify/dotify.formatter.impl/src/org/daisy/dotify/formatter/impl/search/DocumentSpaceData.java
Java
apache-2.0
602
/* * 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/util/ArraysTest.java
Java
apache-2.0
62,324
/* * Copyright 2014-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
neonichu/buck
test/com/facebook/buck/python/PythonBinaryDescriptionTest.java
Java
apache-2.0
10,466
/** * Package: MAG - VistA Imaging WARNING: Per VHA Directive 2004-038, this routine should not be modified. Date Created: Mar 6, 2011 Site Name: Washington OI Field Office, Silver Spring, MD Developer: vhaiswpeterb Description: ;; +-------------------------------------------------------------...
VHAINNOVATIONS/Telepathology
Source/Java/ImagingDicomDCFCommon/src/java/gov/va/med/imaging/dicom/dcftoolkit/common/mediainterchange/media/factory/concreteproducts/PatientDicomDirectoryRecord.java
Java
apache-2.0
3,790
package ua.stqa.addressbook.tests; import org.testng.annotations.Test; import ua.stqa.addressbook.model.GroupData; import ua.stqa.addressbook.model.Groups; import java.sql.*; public class DbConnectionTest { @Test public void testDbConnection() { Connection conn = null; try { conn = DriverManager....
yurava2005/Java_training
addressbook-web-tests/src/test/java/ua/stqa/addressbook/tests/DbConnectionTest.java
Java
apache-2.0
1,377
/** * 有一棵二叉树,其中所有节点的值都不一样,找到含有节点最多的搜索二叉子树,并返回这棵子树的头节点. * 给定二叉树的头结点root,请返回所求的头结点,若出现多个节点最多的子树,返回头结点权值最大的。 */ /** * 以节点node为头的树中,最大的搜索二叉子树只可能来自以下两种情况: * 1.来自node左子树上的最大搜索二叉子树是以node左孩子为头的,并且来自node右子树上的最大搜索二叉子树是以node右孩子为头的 * node左子树上的最大搜索二叉子树的最大值小于node的节点值,node右子树上的最大搜索二叉子树的最小值大于node的节点值 * 那么以几点node为头的整棵树都是搜索二叉树。 * 2...
Jianfu-She/algorithms
algorithms-nowcoder/binaryTree/MaxSubtree.java
Java
apache-2.0
3,791
package com.reactbase.packedobject; import java.util.Arrays; import junit.framework.Assert; import org.junit.Test; public class PackedDoubleTest { @Test public void test() { check(-12.3, new byte[] { -102, -103, -103, -103, -103, -103, 40, -64 }); check(12.3, new byte[] { -102, -103, -103, -103, -103, -103, ...
albertshift/react
src/test/java/com/reactbase/packedobject/PackedDoubleTest.java
Java
apache-2.0
957
package weifen.com.widget; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } }
ZhuRenCong/EcLife
widget/src/test/java/weifen/com/widget/ExampleUnitTest.java
Java
apache-2.0
310
package com.mycompany.app.security; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import javax.ws.rs.NameBinding; @NameBinding @Target({ElementType.TYPE, ElementType.METHOD}) @Retention(value =...
jGauravGupta/SampleJavaEEApp
src/main/java/com/mycompany/app/security/Secured.java
Java
apache-2.0
415
/******************************************************************************* * Copyright 2014 Open Networking Laboratory * * 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 * * htt...
fnkhan/second
src/main/java/net/onrc/openvirtex/api/server/JettyServer.java
Java
apache-2.0
5,512
/* * Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
lmjacksoniii/hazelcast
hazelcast/src/main/java/com/hazelcast/monitor/LocalMultiMapStats.java
Java
apache-2.0
721
/* * Copyright (c) 2012 Research In Motion 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 app...
ggrosso/BWS-CodeSamples
SampleBwsClient.java
Java
apache-2.0
30,154
/* * Copyright 2022 The Hekate Project * * The Hekate 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 ...
hekate-io/hekate
hekate-core/src/main/java/io/hekate/messaging/MessagingServiceFactory.java
Java
apache-2.0
4,794
package com.github.snowdream.android.tests; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.github.snowdream.android.util.Log; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor;...
snowdream/android-tests
app/src/main/java/com/github/snowdream/android/tests/AnnotationTestFragment.java
Java
apache-2.0
3,758
package com.lucadev.mcprotocol.game.chat.styling; /** * Chat styles http://wiki.vg/Chat#Styles * * @author Luca Camphuisen < Luca.Camphuisen@hva.nl > */ public enum ChatStyle { OBFUSCATED("k"), BOLD("l"), STRIKETHROUGH("m"), UNDERLINED("n"), ITALIC("o"), RESET("r"); private final Strin...
Camphul/MCProtocol
src/main/java/com/lucadev/mcprotocol/game/chat/styling/ChatStyle.java
Java
apache-2.0
938
/* * citygml4j - The Open Source Java API for CityGML * https://github.com/citygml4j * * Copyright 2013-2022 Claus Nagel <claus.nagel@gmail.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 L...
citygml4j/citygml4j
src/main/java/org/citygml4j/model/gml/geometry/primitives/SolidArrayProperty.java
Java
apache-2.0
2,381
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python.psi.types; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Sets; import com.intellij.codeInsight.lookup.LookupElement...
xfournet/intellij-community
python/src/com/jetbrains/python/psi/types/PyModuleType.java
Java
apache-2.0
22,396
/** * Queue from two stacks */ import java.util.Stack; public class MyQueue { protected Stack<Integer> stackOne, stackTwo; public MyQueue() { stackOne = new Stack<Integer>(); stackTwo = new Stack<Integer>(); } public void enqueue(int i) { stackOne.push(i); } public int dequeue() { ...
eflan/practice
StacksAndQueues/dan/MyQueue.java
Java
apache-2.0
853
package com.djs.learn.objdetails; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.text.MessageFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Collection; import java.util.Collections; import java...
djsilenceboy/LearnTest
Java_Learn/LearnGeneral/src/main/java/com/djs/learn/objdetails/CommonToStringHelper.java
Java
apache-2.0
33,393
package org.dovakin.push.core.annotations; /** * Created by liuhuanchao on 2017/8/1. */ public enum RequestMethod { GET, HEAD, POST, PUT, PATCH, DELETE, OPTION, TRACE; private RequestMethod(){} }
dovakinlink/Netty-Dovakin-PushService
src/main/java/org/dovakin/push/core/annotations/RequestMethod.java
Java
apache-2.0
236
package info.guardianproject.fakepanicresponder; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.os.Bundle; import android.preference.PreferenceManager; import android.util.Log; import android.widget.Toast; import info.guard...
guardianproject/FakePanicReceiver
src/info/guardianproject/fakepanicresponder/ResponseActivity.java
Java
apache-2.0
2,282
/* * Copyright (C) 2017-2019 Dremio Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
dremio/dremio-oss
sabot/kernel/src/main/java/com/dremio/exec/planner/sql/parser/SqlGrantOnProjectEntities.java
Java
apache-2.0
5,658
package no.acntech.sandbox.repository; import no.acntech.sandbox.domain.User; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface UserRepository extends JpaRepository<User, String> { }
acntech/acntech-sandbox
spring-boot/login-form-database/src/main/java/no/acntech/sandbox/repository/UserRepository.java
Java
apache-2.0
276
package com.zuehlke.carrera.comp.config; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.cloud.config.java.AbstractCloudConfig; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotat...
FastAndFurious/competitions
src/main/java/com/zuehlke/carrera/comp/config/CloudDatabaseConfiguration.java
Java
apache-2.0
757
/* * 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...
da1z/intellij-community
platform/platform-impl/src/com/intellij/openapi/editor/actions/TabAction.java
Java
apache-2.0
4,084
package com.sigpwned.jsonification.generator; import java.io.IOException; import java.io.Writer; /** * Copyright 2015 Andy Boothe * * 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 ...
sigpwned/jsonification
src/main/java/com/sigpwned/jsonification/generator/DefaultJsonGenerator.java
Java
apache-2.0
4,426
package act.app.event; /*- * #%L * ACT Framework * %% * Copyright (C) 2014 - 2017 ActFramework * %% * 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/li...
actframework/actframework
src/main/java/act/app/event/ActStart.java
Java
apache-2.0
993
package com.original.abroadeasy.widget; import android.content.Context; import android.util.AttributeSet; import android.view.View; import android.view.ViewGroup; import android.widget.AbsListView; import android.widget.ListView; /** * Created by zengjinlong on 15-12-15. */ public class ListenableListView extends L...
elffy/AbroadEasy
app/src/main/java/com/original/abroadeasy/widget/ListenableListView.java
Java
apache-2.0
1,931
/* Copyright (C) 2013-2022 TU Dortmund * This file is part of LearnLib, http://www.learnlib.de/. * * 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/...
LearnLib/learnlib
test-support/learning-examples/src/main/java/de/learnlib/examples/DefaultLearningExample.java
Java
apache-2.0
4,988
package io.palaima.debugdrawer.actions; import android.support.annotation.NonNull; import android.view.LayoutInflater; import android.view.View; import android.widget.LinearLayout; public interface Action { View getView(@NonNull final LayoutInflater inflater, @NonNull final LinearLayout parent); void onOpen...
palaima/DebugDrawer
debugdrawer-actions/src/main/java/io/palaima/debugdrawer/actions/Action.java
Java
apache-2.0
434
package com.zandero.rest.test; import com.zandero.rest.test.json.Dummy; import javax.ws.rs.*; import javax.ws.rs.core.MediaType; /** * Test out custom JSON Object mappers */ @Path("/json") @Produces(MediaType.APPLICATION_JSON) public class TestJsonRest { @GET @Path("dummy") public Dummy returnBody() {...
zandero/rest.vertx
src/test/java/com/zandero/rest/test/TestJsonRest.java
Java
apache-2.0
372
/* * Copyright 2010-2016 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...
flofreud/aws-sdk-java
aws-java-sdk-cognitoidentity/src/main/java/com/amazonaws/services/cognitoidentity/model/transform/CreateIdentityPoolRequestMarshaller.java
Java
apache-2.0
6,530
/** * Copyright © 2013-2018 shadowhunt (dev@shadowhunt.de) * * 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 a...
thrawn-sh/subversion
src/test/java/de/shadowhunt/subversion/internal/httpv2/v1_7/RepositoryLogIT.java
Java
apache-2.0
1,108
package oncecenter.views.detailview; import oncecenter.views.xenconnectiontreeview.elements.VMTreeObject; import org.eclipse.jface.viewers.ISelection; import org.eclipse.jface.viewers.StructuredSelection; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.CTabFolder; import org.eclipse.swt.widgets.Composite; ...
guzy/OnceCenter
src/oncecenter/views/detailview/VMTreePage.java
Java
apache-2.0
1,403
/* * Copyright 2015 Austin Keener, Michael Ritter, Florian Spieß, and the JDA 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...
DV8FromTheWorld/JDA
src/main/java/net/dv8tion/jda/internal/interactions/InteractionImpl.java
Java
apache-2.0
4,023
/** * Jakarta Bean Validation TCK * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.beanvalidation.tck.tests.traversableresolver; import java.lang.annotation.ElementType; import jakarta.validation.Pa...
beanvalidation/beanvalidation-tck
tests/src/main/java/org/hibernate/beanvalidation/tck/tests/traversableresolver/ExceptionThrowingTraversableResolver.java
Java
apache-2.0
829
package gr.iti.mklab.framework.common.domain; import java.util.Date; import java.util.List; import org.mongodb.morphia.annotations.Embedded; import org.mongodb.morphia.annotations.Entity; import org.mongodb.morphia.annotations.Index; import org.mongodb.morphia.annotations.Indexes; /** * * @author Manos Schinas - ...
MKLab-ITI/mklab-framework-common
src/main/java/gr/iti/mklab/framework/common/domain/WebPage.java
Java
apache-2.0
4,944
package com.cloudata.structured.sql.provider; import java.nio.ByteBuffer; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.weakref.jmx.com.google.common.collect.Lists; import org.weakref.jmx.com.google.common.collect.Maps; import com.cloudata.btree.Byte...
justinsb/cloudata
cloudata-structured/src/main/java/com/cloudata/structured/sql/provider/CloudataTableHandle.java
Java
apache-2.0
3,243
/* * Copyright 2016 TomeOkin * * 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 ...
TomeOkin/LsPush
app/src/main/java/com/tomeokin/lspush/data/model/SMSCheckCaptchaResponse.java
Java
apache-2.0
1,422
package org.apache.helix.monitoring.mbeans; /* * 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 ...
kishoreg/helix-actors
helix-core/src/main/java/org/apache/helix/monitoring/mbeans/ClusterMBeanObserver.java
Java
apache-2.0
3,759
/* Copyright 2014 Matthew Rogers "BossLetsPlays" * * 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...
BossLetsPlays/WaffleMod
java/com/redthirddivision/mc/waffle/items/ItemMod.java
Java
apache-2.0
1,463
/* * 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-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/UpdateUserPoolRequest.java
Java
apache-2.0
50,416
/* * 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 applicable ...
ravindraranwala/wso2-axis2-transports
modules/jms/src/main/java/org/apache/axis2/transport/jms/JMSUtils.java
Java
apache-2.0
36,621
/******************************************************************************* * Copyright 2014 Open Networking Laboratory * * 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 * * htt...
fnkhan/second
src/test/java/net/onrc/openvirtex/AllTests.java
Java
apache-2.0
1,523
package io.smalldata.ohmageomh.repository; import io.smalldata.ohmageomh.domain.Integration; import org.springframework.data.jpa.repository.*; import org.springframework.data.repository.query.Param; import java.util.List; /** * Spring Data JPA repository for the Integration entity. */ public interface Integration...
smalldatalab/omh-dsu
ohmageomh-manage-server/src/main/java/io/smalldata/ohmageomh/repository/IntegrationRepository.java
Java
apache-2.0
737
/* * Copyright 2010-2016 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...
mhurne/aws-sdk-java
aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AmazonSNSClient.java
Java
apache-2.0
82,367
/** * Licensed to Cloudera, Inc. under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Cloudera, Inc. licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use th...
hirohanin/sqoop-1.1.0hadoop21
src/test/com/cloudera/sqoop/util/TestDirectImportUtils.java
Java
apache-2.0
2,284
/** * Copyright 2016 vip.com. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
vipshop/Saturn
saturn-console-api/src/main/java/com/vip/saturn/job/console/domain/AbnormalJob.java
Java
apache-2.0
3,316
/* * 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 ...
ivakegg/accumulo
server/master/src/test/java/org/apache/accumulo/master/metrics/fate/FateMetricsTest.java
Java
apache-2.0
9,910
/* * Copyright 2014 Mingyuan Xia (http://mxia.me) and 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 applic...
majestyhao/PATDroid
src/main/java/patdroid/core/ClassDetail.java
Java
apache-2.0
8,365
/* * Copyright 2013-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
romanoid/buck
src/com/facebook/buck/features/apple/project/ProjectGenerator.java
Java
apache-2.0
218,277
/** * 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...
rvadali/fb-raid-refactoring
src/hdfs/org/apache/hadoop/hdfs/server/namenode/INodeFile.java
Java
apache-2.0
6,750
package com.box.sdk; import com.eclipsesource.json.JsonObject; import com.eclipsesource.json.JsonValue; /** * Represents items that have naming conflicts when creating a zip file. */ public class BoxZipConflictItem extends BoxJSONObject { private String id; private String type; private String originalNa...
box/box-java-sdk
src/main/java/com/box/sdk/BoxZipConflictItem.java
Java
apache-2.0
2,221
package com.monet.whatsweather.activity; import android.app.Activity; import android.app.ProgressDialog; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.text.TextUtils; import android.util.Log; import android...
zhlinh/whatsweather
app/src/main/java/com/monet/whatsweather/activity/ChooseAreaActivity.java
Java
apache-2.0
11,260
package com.bz.open.sharding.ucenter.dao; public interface WechatUserDAO { }
pautcher/sharding-jdbc-example
src/main/java/com/bz/open/sharding/ucenter/dao/WechatUserDAO.java
Java
apache-2.0
79
/* * This file is part of "lunisolar-magma". * * (C) Copyright 2014-2022 Lunisolar (http://lunisolar.eu/). * * 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.o...
lunisolar/magma
magma-func-builder/src/test/java/eu/lunisolar/magma/func/build/function/from/LBiObjIntFunctionBuilderTest.java
Java
apache-2.0
5,677
/* * Copyright 2013 John D. Ament * * 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...
johnament/injectahvent
src/main/java/ws/ament/injectahvent/processors/Configuration.java
Java
apache-2.0
916
package nam.service.src.main.java; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List; import java.util.Set; import nam.ProjectLevelHelper; import nam.model.Application; ...
tfisher1226/ARIES
nam/nam-engine/src/main/java/nam/service/src/main/java/ProcessClassBuilder.java
Java
apache-2.0
71,533
// Copyright 2019 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...
bazelbuild/bazel
src/main/java/com/google/devtools/build/lib/vfs/Path.java
Java
apache-2.0
35,110
package com.github.romankh3.image.comparison.model; import static java.lang.Integer.max; import static java.lang.Integer.min; import java.awt.Point; import java.util.Objects; /** * Object contained data for a rectangle. */ public class Rectangle { /** * Left Top {@link Point} on the {@link Rectangle}. ...
romankh3/image-comparison
src/main/java/com/github/romankh3/image/comparison/model/Rectangle.java
Java
apache-2.0
5,394
/* * (C) Copyright 2015 Kurento (http://kurento.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 required by applicab...
Kurento/kurento-java
kurento-integration-tests/kurento-test/src/test/java/org/kurento/test/functional/player/PlayerOnlyAudioTrackSeekTest.java
Java
apache-2.0
6,481
/** * */ package svenz.remote.device.impl.pioneer; import javax.xml.namespace.QName; import org.apache.commons.configuration.Configuration; import svenz.remote.device.ipremote.AbstractCoded; import svenz.remote.device.ipremote.AbstractDevice; import svenz.remote.device.ipremote.ChannelDeviceListener; import svenz.r...
szetheli/IPRemote
IPRemote-common/src/main/java/svenz/remote/device/impl/pioneer/ReceiverVSX1123Device.java
Java
apache-2.0
7,594
/* * Copyright 2009-2012 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...
Yoio/YoioJava
src/com/yoiojava/router/dispatcher/DispatcherMapperAdapter.java
Java
apache-2.0
881
/* * Copyright 2014 TWO SIGMA OPEN SOURCE, LLC * * 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...
ScottPJones/beaker-notebook
kernel/base/src/main/java/com/twosigma/beaker/jvm/object/EvaluationResult.java
Java
apache-2.0
1,934
package com.justdoit.utils; import org.apache.commons.collections4.Transformer; /** * Created by roman on 21.02.15. */ public interface TypedTransformer<K> extends Transformer { public K transform(Object input); }
JDoIt/justdoit-utils
src/main/java/com/justdoit/utils/TypedTransformer.java
Java
apache-2.0
223
/******************************************************************************* * Copyright (c) 2007, 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
xiaguangme/simon_ide_tools
02.eclipse_enhance/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/KeyBindingSupportForAssistant.java
Java
apache-2.0
7,434
package com.neo4j.docker.utils; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Neo4jVersion { public static final Neo4jVersion NEO4J_VERSION_400 = new Neo4jVersion(4,0,0); public static final Neo4jVersion NEO4J_VERSION_500 = new Neo4jVersion(5,0,0); public final int major; ...
neo4j/docker-neo4j
src/test/java/com/neo4j/docker/utils/Neo4jVersion.java
Java
apache-2.0
2,817
/* Copyright 2022 The Kubernetes 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 to in writing, softwar...
kubernetes-client/java
fluent/src/main/java/io/kubernetes/client/openapi/models/V1beta1RuntimeClassFluentImpl.java
Java
apache-2.0
13,244
/* * 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 ...
Servoy/wicket
wicket/src/test/java/org/apache/wicket/markup/html/form/FormMethodTestPage.java
Java
apache-2.0
1,338
/* * Copyright 2003-2018 Dave Griffith, Bas Leijdekkers * * 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...
mdanielwork/intellij-community
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/psiutils/VariableAccessUtils.java
Java
apache-2.0
16,643
/* * Copyright 2014 NAVER Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
masonmei/java-agent
profiler/src/main/java/com/baidu/oped/apm/profiler/context/DefaultServerMetaDataHolder.java
Java
apache-2.0
3,376
package io.crnk.core.engine.internal.information.resource; import io.crnk.core.engine.document.Resource; import io.crnk.core.engine.information.resource.ResourceFieldType; import io.crnk.core.engine.information.resource.ResourceInformation; import org.junit.Assert; import org.junit.Test; import org.mockito.Mockito; p...
crnk-project/crnk-framework
crnk-core/src/test/java/io/crnk/core/engine/internal/information/resource/ResourceFieldImplTest.java
Java
apache-2.0
1,010
package org.omarket.contractinfo; import org.omarket.quotes.Security; import javax.jws.WebMethod; import javax.jws.WebService; @WebService public interface ContractInfoService { @WebMethod public Security getContractInfo(String code); }
chris-ch/omarket
contract-info/src/main/java/org/omarket/contractinfo/ContractInfoService.java
Java
apache-2.0
248