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 |
|---|---|---|---|---|---|
// This file was generated by Mendix Modeler.
//
// WARNING: Code you write here will be lost the next time you deploy the project.
package datatablestestmodule.proxies;
public class Person
{
private final com.mendix.systemwideinterfaces.core.IMendixObject personMendixObject;
private final com.mendix.sys... | mgroeneweg/mendix-DataTables | test/javasource/datatablestestmodule/proxies/Person.java | Java | apache-2.0 | 16,236 |
/*
* 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 ... | JasonHZXie/dubbo | dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/util/BeanFactoryUtils.java | Java | apache-2.0 | 3,232 |
package com.twu.biblioteca.staff;
import com.google.common.base.Predicate;
import com.google.common.collect.FluentIterable;
import com.google.common.collect.ImmutableList;
import com.google.inject.Inject;
import com.twu.biblioteca.entity.Book;
import com.twu.biblioteca.entity.Shelf;
public class BookLister implements... | Leewin0821/twu-biblioteca-leewin | src/com/twu/biblioteca/staff/BookLister.java | Java | apache-2.0 | 937 |
package br.mil.mar.casnav.mclm.action;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts2.StrutsStatics;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.InterceptorRef;
import org.apache.struts2.convention.annotation.ParentPackage;
... | icemagno/geoexplorer | src/main/java/br/mil/mar/casnav/mclm/action/GetDataWindowAction.java | Java | apache-2.0 | 1,319 |
/*
* Copyright (C) 2012 Zach Melamed
*
* Latest version available online at https://github.com/zach-m/jonix
* Contact me at zach@tectonica.co.il
*
* 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 ... | aparod/jonix | jonix-onix2/src/main/java/com/tectonica/jonix/onix2/BiographicalNote.java | Java | apache-2.0 | 2,374 |
package com.sjc.cc.pf.exception;
/**
* 应用级异常,用于系统处理中P17内部new的异常。
*
* @author 龚林林
*/
public class ApplicationException extends BaseRuntimeException {
private static final long serialVersionUID = 1L;
/**
* @param logMessage 记录日志的消息
*/
public ApplicationException(String logMessage... | AfricaRegex/SjcProduct | SjcProject/src/com/sjc/cc/pf/exception/ApplicationException.java | Java | apache-2.0 | 3,423 |
/**
* Yobi, Project Hosting SW
*
* Copyright 2013 NAVER Corp.
* http://yobi.io
*
* @Author Keesun Baik
*
* 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/... | violetag/demo | app/playRepository/GitConflicts.java | Java | apache-2.0 | 2,822 |
package mx.gob.municipio.centro.view.controller.almacen.salidas;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import mx.gob.municipio.centro.model.gateways.almacen.GatewayAlmacen;
import mx.gob.municipio.centro.model.gateways.almacen.GatewayEntradasDocumentos;
i... | israelz11/municipio | src/mx/gob/municipio/centro/view/controller/almacen/salidas/ControladorSalidas.java | Java | apache-2.0 | 3,845 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/privacy/dlp/v2/dlp.proto
package com.google.privacy.dlp.v2;
/**
*
*
* <pre>
* State of a StoredInfoType version.
* </pre>
*
* Protobuf enum {@code google.privacy.dlp.v2.StoredInfoTypeState}
*/
public enum StoredInfoTypeState impleme... | vam-google/google-cloud-java | google-api-grpc/proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/StoredInfoTypeState.java | Java | apache-2.0 | 4,633 |
/*
* Copyright (C) 2015 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... | consulo/consulo-android | tools-base/build-system/gradle-experimental/src/main/groovy/com/android/build/gradle/model/ApplicationComponentTaskManager.java | Java | apache-2.0 | 2,604 |
package cn.jsprun.foreg.vo.statistic;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
public class Stats_manageStatisticVO {
private Stats_navbarVO navbar = new Stats_navbarVO();
private boolean showUsername;
private boolean showThisMonth... | TinghuanWang/source | src/cn/jsprun/foreg/vo/statistic/Stats_manageStatisticVO.java | Java | apache-2.0 | 3,800 |
/*
* Copyright 2019 fir.im
*
* 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 wri... | FlowCI/flow-platform | core/src/main/java/com/flowci/core/user/UserController.java | Java | apache-2.0 | 2,838 |
/*
* 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... | googleapis/google-api-java-client-services | clients/google-api-services-dialogflow/v3/1.31.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowCxV3ExportTestCasesMetadata.java | Java | apache-2.0 | 1,795 |
package com.strategicgains.dto;
import java.util.Date;
import com.strategicgains.dto.annotation.DtoIgnore;
import com.strategicgains.dto.annotation.DtoTransform;
//@DynamicDto {
// @DtoIgnore("id")
//}
public class Example
extends Base
{
private String name;
private String[] phoneNumbers;
@DtoTransform(transform... | tfredrich/Dynamic-DTO | src/test/java/com/strategicgains/dto/Example.java | Java | apache-2.0 | 455 |
package com.droidwizard.demo.adapter;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;
import android.widget.Toast;
import com.droidwizard.demo.R;
import com.droidwizard.puppet.PhotoView;
import but... | rahatshahzeb/Puppet | demo/src/main/java/com/droidwizard/demo/adapter/FeedViewHolder.java | Java | apache-2.0 | 1,114 |
package br.com.otimo.reviv.modelo;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persist... | wmacibnc/biometria | src/br/com/otimo/reviv/modelo/Tratamento.java | Java | apache-2.0 | 7,490 |
/*
* Copyright 2016 Bryan Daniel.
*
* 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... | bryandaniel1/diabetes-registry | netbeans/diabetesregistry/src/java/utility/SessionObjectUtility.java | Java | apache-2.0 | 8,906 |
package Clases;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.Calendar;
import java.util.Date;
import java.text.SimpleDateFormat;
import java.util.GregorianCalendar;
import ProyectoJava.ProyectoJava;
import java.util.ArrayList;
/**declaracion de la clase PersonaBD
*@author Iker lorente/Ait... | ikerlorente11/Egibide | DAW/1-Desarrollo-de-aplicaciones-web/Proyecto-Usue-Aitor.t-iker--master/Proyecto java/ProyectoJava/src/Clases/PersonaBD.java | Java | apache-2.0 | 3,208 |
/*
* 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... | RobinUS2/presto | presto-main/src/test/java/com/facebook/presto/sql/planner/iterative/rule/test/TestSwapAdjacentWindowsByPartitionsOrder.java | Java | apache-2.0 | 7,818 |
/**
* Copyright 2011-2017 Asakusa Framework Team.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | cocoatomo/asakusafw | operator/core/src/test/java/com/asakusafw/operator/MockDataModelMirrorRepository.java | Java | apache-2.0 | 4,455 |
package cn.felord.wepay.ali.sdk.api.domain;
import cn.felord.wepay.ali.sdk.api.AlipayObject;
import cn.felord.wepay.ali.sdk.api.internal.mapping.ApiField;
/**
* 根据卡号和instId查询得到的卡bin信息对象模型
*
* @author auto create
* @version $Id: $Id
*/
public class CardBinVO extends AlipayObject {
private static final long seri... | NotFound403/WePay | src/main/java/cn/felord/wepay/ali/sdk/api/domain/CardBinVO.java | Java | apache-2.0 | 4,634 |
/*
* Copyright (C) 2013-2017 microG Project Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | microg/android_packages_apps_GmsCore | play-services-core/src/main/java/org/microg/gms/droidguard/DroidGuardService.java | Java | apache-2.0 | 1,223 |
package nl.vu.cs.ajira.datalayer.files;
import java.io.File;
import java.io.IOException;
import java.util.NoSuchElementException;
import nl.vu.cs.ajira.actions.ReadFromFiles;
import nl.vu.cs.ajira.data.types.Tuple;
/**
* A <code>FileReader</code> in Ajira is basically an iterator over tuples obtained
* from a file... | jrbn/ajira | src/nl/vu/cs/ajira/datalayer/files/FileReader.java | Java | apache-2.0 | 1,473 |
package org.aieonf.commons.xml;
import java.util.EventObject;
import java.util.HashMap;
import java.util.Map;
import org.aieonf.commons.strings.StringStyler;
import org.aieonf.commons.strings.StringUtils;
import org.xml.sax.Attributes;
public class BuildEvent<D extends Object> extends EventObject {
priva... | condast/AieonF | Workspace/org.aieonf.commons/src/org/aieonf/commons/xml/BuildEvent.java | Java | apache-2.0 | 2,330 |
package ru.stqa.pft.addressbook.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.NoAlertPresentException;
import org.openqa.selenium.firefox.FirefoxDriver;
/**
* Created by SanchezKlauss on 5/30/2017.
*/
public class HelperBase {
protected FirefoxDriver wd;
public HelperBase(FirefoxDri... | IgorTolstov/java_testing | addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/appmanager/HelperBase.java | Java | apache-2.0 | 819 |
package com.tys.gobmx;
public final class ROUTES {
public static String ROUTE_GOBMX_REGISTER="http://gob-mx.16mb.com/WebServices/registerFromMovil";
public static String ROUTE_GOBMX_LOGIN="http://gob-mx.16mb.com/WebServices/loginFromMovil";
public static String ROUTE_GOBMX_SCHEDULE= "http://gob-mx.16mb.com/We... | jargaezx/gob.mx | src/com/tys/gobmx/ROUTES.java | Java | apache-2.0 | 573 |
package com.iknowers.learning.concurrent;
import java.util.concurrent.*;
/**
* 线程池的验证,观察核心线程数和最大线程数的状态
*
* @author Shun Xu
*/
public class ExecutorServiceDemo {
public static void main(String[] args) throws InterruptedException {
System.out.println("main begin");
//single();
threadPoo... | microheart/java-learning | src/main/java/com/iknowers/learning/concurrent/ExecutorServiceDemo.java | Java | apache-2.0 | 2,011 |
/**
* 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... | ucare-uchicago/hadoop | hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/OzoneConfigKeys.java | Java | apache-2.0 | 13,417 |
/*
* 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... | xuzha/elasticsearch | core/src/test/java/org/elasticsearch/search/rescore/QueryRescoreBuilderTests.java | Java | apache-2.0 | 16,308 |
package aos.hbase.client;
import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HColumnDescriptor;
import org.apache.hadoop.hbase.HTableDescriptor;
import org.apache.hadoop.hbase.client.HBaseAdmin;
public class HBaseClientMain {
private static final String TABLE_... | xuzhikethinker/t4f-data | nosql/hbase/client/src/main/java/aos/hbase/client/HBaseClientMain.java | Java | apache-2.0 | 1,522 |
package com.flexdms.flexims.jpa.eclipselink;
import java.io.StringReader;
import java.io.StringWriter;
import java.util.ListIterator;
import javax.enterprise.context.Dependent;
import javax.inject.Inject;
import org.eclipse.persistence.internal.jpa.metadata.accessors.PropertyMetadata;
import org.eclipse.persistence.... | jasonzhang2022/flexims | common/src/main/java/com/flexdms/flexims/jpa/eclipselink/DBMapPersister.java | Java | apache-2.0 | 3,413 |
/*
* Copyright (c) 2021, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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.apac... | lessthanoptimal/BoofCV | main/boofcv-types/src/main/java/boofcv/errors/BoofCheckFailure.java | Java | apache-2.0 | 933 |
package org.jetbrains.plugins.scala.compiler;
import com.intellij.openapi.components.*;
import com.intellij.openapi.project.Project;
import com.intellij.util.xmlb.XmlSerializerUtil;
import org.jetbrains.plugins.scala.config.LibraryLevel;
/**
* User: Alexander Podkhalyuzin, Pavel Fatin
* Date: 22.09.2008
*/
@State... | consulo/consulo-scala | src/org/jetbrains/plugins/scala/compiler/ScalacSettings.java | Java | apache-2.0 | 1,391 |
package net.openhft.chronicle.core;
import org.junit.After;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import java.util.Arrays;
import java.util.Collection;
import static org.junit.Assert.assertEquals;
@RunWith(Parameterized.class)
public class JvmParseSizeTest {... | OpenHFT/Chronicle-Core | src/test/java/net/openhft/chronicle/core/JvmParseSizeTest.java | Java | apache-2.0 | 1,534 |
package jUnitXmlReporter.notificationClasses;
import java.util.HashMap;
import jUnitXmlReporter.jUnitElementClasses.testSuite.ReportTestSuite;
public interface ReportObserver
{
HashMap<String, ReportTestSuite> getTestSuiteMap();
/**
* @param ts testsuite to add or update it's content
*/
void upDate(ReportTes... | JchnPkr/jUnitXmlReporter | src/main/java/jUnitXmlReporter/notificationClasses/ReportObserver.java | Java | apache-2.0 | 333 |
/*
* Copyright 2014-2019 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... | jentfoo/aws-sdk-java | aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/InvalidFleetStatusException.java | Java | apache-2.0 | 1,353 |
/*
Copyright 2013 Sebastián Katzer
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 ... | katzer/cordova-plugin-printer | src/android/PrintManager.java | Java | apache-2.0 | 12,041 |
/*
* Copyright 2014-2019 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... | jentfoo/aws-sdk-java | aws-java-sdk-elastictranscoder/src/main/java/com/amazonaws/services/elastictranscoder/model/transform/UpdatePipelineStatusRequestMarshaller.java | Java | apache-2.0 | 2,361 |
package org.intellij.lang.xpath.xslt.validation.inspections;
import com.intellij.codeHighlighting.HighlightDisplayLevel;
import com.intellij.codeInspection.LocalQuickFix;
import com.intellij.codeInspection.ProblemHighlightType;
import com.intellij.codeInspection.ProblemsHolder;
import com.intellij.psi.PsiElement;
impo... | consulo/consulo-xslt-debugger | src/org/intellij/lang/xpath/xslt/validation/inspections/TemplateInvocationInspection.java | Java | apache-2.0 | 5,577 |
/**
* Institute for Clinical and Translation Science (ICTS)
* University of Iowa
*
* @author bkusenda
* @date Jan 5, 2011
*/
package edu.uiowa.icts.spring;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Statement;
import java.util.List;
import org.apache.commons.logging.Log;
import... | ui-icts/sispotr-project | spring-utils/src/main/java/edu/uiowa/icts/spring/HsqlAnnotationSessionFactoryBean.java | Java | apache-2.0 | 1,898 |
package org.apereo.cas.adaptors.yubikey.dao;
import org.apereo.cas.adaptors.yubikey.YubiKeyAccountRegistry;
import org.apereo.cas.adaptors.yubikey.YubiKeyAccountValidator;
import org.apereo.cas.config.CasCoreAuthenticationPrincipalConfiguration;
import org.apereo.cas.config.CasCoreAuthenticationServiceSelectionStrateg... | philliprower/cas | support/cas-server-support-yubikey-mongo/src/test/java/org/apereo/cas/adaptors/yubikey/dao/MongoDbYubiKeyAccountRegistryTests.java | Java | apache-2.0 | 5,897 |
package io.github.greyp9.arwo.app.local.fs.action;
import io.github.greyp9.arwo.app.core.state.AppUserState;
import io.github.greyp9.arwo.app.local.fs.core.LFSRequest;
import io.github.greyp9.arwo.app.local.fs.data.LFSDataSource;
import io.github.greyp9.arwo.core.alert.Alert;
import io.github.greyp9.arwo.core.charset.... | greyp9/arwo | src/main/app/java/io/github/greyp9/arwo/app/local/fs/action/LFSUpdateFile.java | Java | apache-2.0 | 1,972 |
/*******************************************************************************
*
* This file is part of iBioSim. Please visit <http://www.async.ece.utah.edu/ibiosim>
* for the latest version of iBioSim.
*
* Copyright (C) 2017 University of Utah
*
* This library is free software; you can redistribute it ... | MyersResearchGroup/iBioSim | analysis/src/main/java/edu/utah/ece/async/ibiosim/analysis/Run.java | Java | apache-2.0 | 42,629 |
package models;
import java.util.List;
import java.util.Set;
import javax.persistence.*;
@Table(name="Community")
@Entity
public class Group {
@Column(name="name")
private String name;
@Column(name="description")
String description;
@ManyToMany (fetch = FetchType.EAGER)
@JoinTable(name="UserInCommunity", join... | cliffroot/SocialSpring | src/main/java/models/Group.java | Java | apache-2.0 | 1,510 |
package galaxyspace.systems.BarnardsSystem.moons.barnarda_c1.dimension.sky;
import net.minecraft.client.Minecraft;
import net.minecraft.client.multiplayer.WorldClient;
import net.minecraft.client.renderer.BufferBuilder;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.Tessellat... | BlesseNtumble/GalaxySpace | src/main/java/galaxyspace/systems/BarnardsSystem/moons/barnarda_c1/dimension/sky/WeatherRendererBarnarda_C1.java | Java | apache-2.0 | 7,881 |
package com.github.zhongl.stompize;
import com.google.common.base.Throwables;
import io.netty.buffer.ByteBuf;
import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelFutureListener;
import io.netty.channel.ChannelPromise;
import static com.github.zhongl.stompize.Bytes.bu... | zhongl/stompize | stomp/src/main/java/com/github/zhongl/stompize/Sending.java | Java | apache-2.0 | 2,890 |
package liquibase.ext.ora.encapsulateTableWithView;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import java.util.List;
import liquibase.Contexts;
import liquibase.change.Change;
import liquibase.change.ChangeFactory;
import liquibase.change.Chan... | mrswadge/liquibase-oracle | src/test/java/liquibase/ext/ora/encapsulateTableWithView/EncapsulateTableWithViewTest.java | Java | apache-2.0 | 4,777 |
package de.undercouch.citeproc.tool.shell;
import de.undercouch.citeproc.tool.AbstractCSLToolCommand;
import de.undercouch.underline.CommandDesc;
import de.undercouch.underline.CommandDescList;
import de.undercouch.underline.InputReader;
import de.undercouch.underline.OptionParserException;
import java.io.IOException... | michel-kraemer/citeproc-java | citeproc-java-tool/src/main/java/de/undercouch/citeproc/tool/shell/ShellGetCommand.java | Java | apache-2.0 | 2,010 |
package com.java110.user.bmo.userAddress;
import com.java110.po.userAddress.UserAddressPo;
import org.springframework.http.ResponseEntity;
public interface ISaveUserAddressBMO {
/**
* 添加用户联系地址
* add by wuxw
* @param userAddressPo
* @return
*/
ResponseEntity<String> save(UserAddressPo... | java110/MicroCommunity | service-user/src/main/java/com/java110/user/bmo/userAddress/ISaveUserAddressBMO.java | Java | apache-2.0 | 357 |
/*
* 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-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/ServiceUnavailableException.java | Java | apache-2.0 | 1,231 |
package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_7807 {
}
| lesaint/experimenting-annotation-processing | experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/sub1/Class_7807.java | Java | apache-2.0 | 151 |
/*
* Copyright The Apache Software Foundation
*
* 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 Apach... | Jackygq1982/hbase_src | hbase-common/src/main/java/org/apache/hadoop/hbase/util/ConcurrentIndex.java | Java | apache-2.0 | 6,315 |
package weibo4android.logic.ui.util;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
public class ViewHolder {
public static ImageView mIvitemPorprait;// 头像
public static TextView mItemName;// 昵称
public static ImageView mItemV;// 新浪认证默认为gone
publi... | iniesta2014/GSinaWeiBo | src/weibo4android/logic/ui/util/ViewHolder.java | Java | apache-2.0 | 895 |
import java.util.List;
import java.util.ArrayList;
/**
* The ElevensBoard class represents the board in a game of Elevens.
*/
public class ElevensBoard extends Board {
/**
* The size (number of cards) on the board.
*/
private static final int BOARD_SIZE = 9;
/**
* The ranks of the cards for this game to b... | jflory7/SFHSAPCompSci2015 | src/main/java/com/justinwflory/scratch/class-archives/activity-code-incorrect-version/Activity11 Starter Code/ElevensBoard.java | Java | apache-2.0 | 5,011 |
/*
* Copyright (C) 2016 Charles Brophy
*
* 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 ... | CBrophy/granite-utilities | granite-base/src/main/java/org/granite/math/PercentileTools.java | Java | apache-2.0 | 5,119 |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jrt;
import java.net.InetSocketAddress;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit... | vespa-engine/vespa | jrt/tests/com/yahoo/jrt/SpecTest.java | Java | apache-2.0 | 3,483 |
/*
* 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... | twitter-forks/presto | presto-main/src/main/java/com/facebook/presto/block/BlockEncodingManager.java | Java | apache-2.0 | 5,846 |
package lt.nsg.jdbcglass.statement;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class LoggingStatementProxy extends AbstractLoggingStatementProxy {
public LoggingStatementProxy(Stat... | theunforgiven/jdbcglass | jdbcglass-core/src/main/java/lt/nsg/jdbcglass/statement/LoggingStatementProxy.java | Java | apache-2.0 | 2,859 |
/*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | beihaifeiwu/dolphin | dolphin-common/src/main/java/com/freetmp/common/resource/VfsPatternUtils.java | Java | apache-2.0 | 1,559 |
/*
* Copyright 2019 LINE Corporation
*
* LINE Corporation 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | line/centraldogma | server/src/main/java/com/linecorp/centraldogma/server/plugin/PluginContext.java | Java | apache-2.0 | 3,387 |
/**
* Copyright (c) 2016 - 2018 Syncleus, 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 la... | Syncleus/aparapi | src/test/java/com/aparapi/codegen/test/SequenceTest.java | Java | apache-2.0 | 1,698 |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.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/license... | liuyuanyuan/dbeaver | plugins/org.jkiss.dbeaver.ui.editors.data/src/org/jkiss/dbeaver/ui/data/editors/BaseValueEditor.java | Java | apache-2.0 | 8,361 |
package com.wzp.www.base.ui.adapter.holder;
import android.app.Activity;
import android.support.v4.app.Fragment;
import android.util.SparseArray;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.bumptech.glide.Glide;
import com.wzp.ww... | wzp1348305051/Base | app/src/main/java/com/wzp/www/base/ui/adapter/holder/ListViewHolder.java | Java | apache-2.0 | 5,039 |
/*
*
* * Copyright 2012-2015 Viant.
* *
* * 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... | viant/CacheStore | client/src/main/java/com/sm/connector/client/PartitionClient.java | Java | apache-2.0 | 6,179 |
package org.gradle.test.performance.mediummonolithicjavaproject.p232;
public class Production4656 {
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/p232/Production4656.java | Java | apache-2.0 | 1,891 |
// Copyright (C) 2019 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | GerritCodeReview/gerrit | java/com/google/gerrit/server/events/EventGson.java | Java | apache-2.0 | 1,042 |
package com.ecwid.consul.v1.catalog;
import com.ecwid.consul.ConsulRequest;
import com.ecwid.consul.SingleUrlParameters;
import com.ecwid.consul.UrlParameters;
import com.ecwid.consul.v1.NodeMetaParameters;
import com.ecwid.consul.v1.QueryParams;
import java.util.ArrayList;
import java.util.Collections;
import java.u... | Ecwid/consul-api | src/main/java/com/ecwid/consul/v1/catalog/CatalogNodesRequest.java | Java | apache-2.0 | 2,905 |
package com.xiangxu.vrvideo.util;
import android.util.Log;
import com.xiangxu.vrvideo.AppConfig;
/**
* Created by xuxiang on 2016/9/8.
*/
public class LLog {
public static final String TAG = "VRVideo";
// verbose
public static final int LOG_LEVEL_V = 1;
// info
public static final int LOG_LE... | Vesion/VRVideo | VRVideo/app/src/main/java/com/xiangxu/vrvideo/util/LLog.java | Java | apache-2.0 | 5,263 |
// This is a generated file. Not intended for manual editing.
package com.google.bamboo.soy.parser.impl;
import java.util.List;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.... | consulo/consulo-soy | src/main/java/com/google/bamboo/soy/parser/impl/SoyBeginMsgImpl.java | Java | apache-2.0 | 1,089 |
/*
Copyright 2010-2017 BusinessCode GmbH, Germany
All rights reserved.
For terms of license, please contact BusinessCode GmbH, Germany
*/
package de.businesscode.bcdui.upload.data.steps;
import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.LinkedList;
import java... | businesscode/BCD-UI | Server/src/main/java/de/businesscode/bcdui/upload/data/steps/Upload2TargetBs.java | Java | apache-2.0 | 4,899 |
/**
* ABattle, a xbattle conversion for java, Copyright by Roland Spatzenegger (2011-)
*/
package net.npg.abattle.common.model;
/**
* @author cymric
*
*/
public interface Player extends ModelElement, Actor, VisitableModelElement {
public Color getColor();
@Override
public String getName();
... | CymricNPG/abattle | ABattle.Common/src/net/npg/abattle/common/model/Player.java | Java | apache-2.0 | 351 |
/*
Copyright (c) 2017 Ahome' Innovation Technologies. 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 r... | Josephblt/lienzo-core | src/main/java/com/ait/lienzo/client/core/image/filter/ImageDataFilterable.java | Java | apache-2.0 | 1,414 |
/**
* Copyright 2012 Twitter, 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... | julienledem/redelm | parquet-column/src/main/java/parquet/column/ColumnReader.java | Java | apache-2.0 | 2,005 |
package ar.com.uade.dao.model;
import java.io.Serializable;
public class Marca implements Serializable {
/**
*
*/
private static final long serialVersionUID = 83386290037228752L;
private Long id;
private String descripcion;
public Marca() {
}
public Marca(Long id) {
this.id = id;
... | gaston8181/uade-ventas | primerasMarcas/src/main/java/ar/com/uade/dao/model/Marca.java | Java | apache-2.0 | 583 |
package com.aneeshpu.dpdeppop.datatypes;
import com.aneeshpu.dpdeppop.schema.ConnectionFactory;
import org.junit.Ignore;
import org.junit.Test;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import static junit.framework.Assert.assertNotNull;
import st... | aneeshpu/DbDepPopulator | src/test/java/com/aneeshpu/dpdeppop/datatypes/FloatDataTypeTest.java | Java | apache-2.0 | 2,387 |
/**
*
*/
package org.flowninja.shell.transferrer.integration;
import java.io.File;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.integration.support.MessageBuilder;
import org.springframework.integration.transformer.Transformer;
import org.springframewor... | rbieniek/flow-ninja | ninja-shell-transferrer/src/main/java/org/flowninja/shell/transferrer/integration/SetFileNameHeaderTransformer.java | Java | apache-2.0 | 1,562 |
/**
* Copyright © 2015 - 2025 Yannis Zhao (zhaoyjun0222@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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | YannisZhao/master4j | src/main/java/org/yannis/master4j/core/engine/support/VOConverterConstructor.java | Java | apache-2.0 | 2,638 |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | valfirst/selenium | java/server/test/org/openqa/selenium/grid/router/RouterTest.java | Java | apache-2.0 | 5,284 |
package com.github.mmaico.test_objects.hibernate_entities;
public class Document {
public enum DocumentTypeEnum {PASSPORT, SOCIAL_SECURITY_CARD}
private String document;
private DocumentTypeEnum type;
public Document(){}
public Document(String document, DocumentTypeEnum type) {
this.document = document... | mmaico/ddd-reflection | src/test/java/com/github/mmaico/test_objects/hibernate_entities/Document.java | Java | apache-2.0 | 622 |
package schedule.mock.views;
import android.content.Context;
import android.view.Gravity;
import android.view.View;
import android.widget.ImageView;
import android.widget.Toast;
import schedule.mock.R;
/**
* A customized Toast for adding items, delete items.
*
* @author Chris. X.Y Zhao(czhao@cellular.de)
* */
... | XinyueZ/ScheduleMock | ScheduleMock/src/main/java/schedule/mock/views/MyToast.java | Java | apache-2.0 | 1,174 |
package explorviz.visualization.main;
import org.eclipse.xtext.xbase.lib.Inline;
public class ArrayExtensions {
@Inline(value = "$1[$2]")
public static float getElement(float[] array, int index) {
return array[index];
}
@Inline(value = "$1[$2]")
public static boolean getElement(boolean[... | ExplorViz/ExplorViz | src/explorviz/visualization/main/ArrayExtensions.java | Java | apache-2.0 | 1,356 |
/*
* 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 applica... | nickman/tsdb-csf | csf-javaagent/src/work/memurl/Handler.java | Java | apache-2.0 | 5,146 |
package com.github.markusbernhardt.xmldoclet.simpledata;
/**
* AnnotationCascadeChild
*/
public @interface AnnotationCascadeChild {
/**
* The name.
* @return The name.
*/
public String name();
public String[] dummyData() default {} ;
public Annotation3[] subAnnotations() default {};
... | MarkusBernhardt/xml-doclet | src/test/java/com/github/markusbernhardt/xmldoclet/simpledata/AnnotationCascadeChild.java | Java | apache-2.0 | 324 |
/*
* Copyright (C) 2016 Intel 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 law or... | android-art-intel/Nougat | art-extension/opttests/src/OptimizationTests/ValuePropagationThroughHeap/DoWhileLoopAtomicStatic_01/Main.java | Java | apache-2.0 | 5,385 |
package umn.dcsg.wieralocalserver;
import java.nio.ByteBuffer;
import java.util.*;
import com.google.gson.Gson;
import org.apache.commons.codec.binary.Base64;
import org.json.JSONObject;
import umn.dcsg.wieralocalserver.info.OperationLatency;
import umn.dcsg.wieralocalserver.storageinterfaces.StorageInterface;
import... | dcsg-umn/wiera | wieralocalserver/src/main/java/umn/dcsg/wieralocalserver/ApplicationToLocalInstanceInterface.java | Java | apache-2.0 | 15,710 |
/**
* Copyright © 2013-2021 The OpenNTF Domino API Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | OpenNTF/org.openntf.domino | domino/org.openntf.domino.graph/src/main/java/org/openntf/domino/graph2/impl/DEdgeIterable.java | Java | apache-2.0 | 5,202 |
package org.opencb.opencga.storage.hadoop.utils;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.Cell;
import org.apache.hadoop.hbase.CellUtil;
import org.apache.hadoop.hbase.HConstants;
import org.apache.hadoop.hbase.client.*;
import org.apache.hadoop.hbase.io.ImmutableBytesWritable;
impor... | opencb/opencga | opencga-storage/opencga-storage-hadoop/opencga-storage-hadoop-core/src/main/java/org/opencb/opencga/storage/hadoop/utils/CopyHBaseColumnDriver.java | Java | apache-2.0 | 6,793 |
/*
* Copyright 2014 Antonio López Marín.
*
* 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... | tonilopezmr/CategoriPlus | src/categoriplus/vista/modelo/CategoriaTableModel.java | Java | apache-2.0 | 1,947 |
/*
* Copyright 2005 Andrew Bruno <aeb@qnot.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 applicabl... | marklogic/cqsh | src/main/java/com/marklogic/shell/Environment.java | Java | apache-2.0 | 2,384 |
package junit.org.rapidpm.binarycache.provider.v002;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.rapidpm.binarycache.api.CacheByteArray;
import org.rapidpm.binarycache.api.CacheKey;
import org.rapidpm.binarycache.api.Result;
import org.rapidpm.binarycache.provider.ehcache.EhCache... | JavaMicroService/rapidpm-binarycache | modules/app/cache/provider/ehcache/src/test/java/junit/org/rapidpm/binarycache/provider/v002/EhCacheImplTest002.java | Java | apache-2.0 | 4,175 |
package io.smalldata.ohmageomh.surveys.domain.jackson;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
import java.io.IOException;
import java.mat... | smalldatalab/omh-dsu | ohmageomh-surveys/src/main/java/io/smalldata/ohmageomh/surveys/domain/jackson/BigDecimalSerializer.java | Java | apache-2.0 | 1,138 |
package com.dianping.swiftly.utils.cglib.test.mixin;
/**
* <pre>
* Created with IntelliJ IDEA.
* User: zhaoming
* Date: 14-1-2
* Time: 下午6:16
*
* </pre>
*/
public class ServiceAImpl implements IServiceA {
@Override
public void sayHi() {
System.out.println("say hi!");
}
}
| inter12/swiftly | swiftly-utils/src/main/java/com/dianping/swiftly/utils/cglib/test/mixin/ServiceAImpl.java | Java | apache-2.0 | 311 |
package com.matrix.swan.mvc.component;
import java.io.StringWriter;
import org.apache.commons.lang.StringUtils;
import org.apache.velocity.Template;
import org.apache.velocity.VelocityContext;
import org.apache.velocity.app.VelocityEngine;
import org.apache.velocity.context.Context;
import org.apache.velocity.util.Co... | liufeiit/sharding | Swan-Common/src/main/java/com/matrix/swan/mvc/component/VelocityTemplateModule.java | Java | apache-2.0 | 5,264 |
/*
* 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 ... | jalkanen/Priha | tests/tck/org/apache/jackrabbit/test/api/version/WorkspaceRestoreTest.java | Java | apache-2.0 | 11,282 |
package com.dbp.coco.user.repositories;
import com.dbp.coco.user.models.WithdrawalsRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
/**
* Created by Administrator on 2016/2/22.
*/
@Repository
public interface WithdrawalsRecordRepository extends ... | woxiai/dbp | src/main/java/com/dbp/coco/user/repositories/WithdrawalsRecordRepository.java | Java | apache-2.0 | 365 |
package com.kings.networking;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
public class TestMessageReceiver {
public static void main(String[] args) throws IOException {
DatagramSocket serverSocket = new DatagramSocket(3004);
byte[] receiveData = new ... | devinlynch/Kings-N-Things-Server | KingsNThings/src/com/kings/networking/TestMessageReceiver.java | Java | apache-2.0 | 724 |
/**
* Copyright (C) [2013] [The FURTHeR 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 applica... | openfurther/further-open-core | fqe/fqe-ds-api/src/main/java/edu/utah/further/fqe/ds/api/to/QueryContextIdentifierTo.java | Java | apache-2.0 | 2,858 |
/*
* ARX: Powerful Data Anonymization
* Copyright 2012 - 2016 Fabian Prasser, Florian Kohlmayer 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.apach... | fstahnke/arx | src/main/org/deidentifier/arx/risk/ModelZayatz.java | Java | apache-2.0 | 3,680 |
// Copyright 2008-2010 Victor Iacoban
//
// 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... | joewalnes/idea-community | plugins/hg4idea/src/org/zmlx/hg4idea/command/HgCopyCommand.java | Java | apache-2.0 | 1,192 |
package io.renren.entity;
import org.hibernate.validator.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;
/**
* 定时器
*
* @author tangty
* @email tianyaTTY@gmail.com
* @date 2017年7月5日 下午6:43:36
*/
public class ScheduleJobEntity implements Serializable {
private static final long serialV... | tianyaTTY/renren-security-master | renren-schedule/src/main/java/io/renren/entity/ScheduleJobEntity.java | Java | apache-2.0 | 2,546 |