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
/* * 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 ...
voipp/ignite
modules/ml/src/main/java/org/apache/ignite/ml/preprocessing/imputer/ImputerPreprocessor.java
Java
apache-2.0
2,255
/* * Copyright (c) 2008-2013, 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 ...
health-and-care-developer-network/health-and-care-developer-network
library/hazelcast/2.5/hazelcast-2.5-source/hazelcast/src/test/java/com/hazelcast/core/IMapAsyncTest.java
Java
apache-2.0
3,450
/* * Licensed to ElasticSearch and Shay Banon 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...
jprante/elasticsearch-client
elasticsearch-client-search/src/main/java/org/elasticsearch/index/query/SpanFirstQueryBuilder.java
Java
apache-2.0
1,877
/* * 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 app...
etirelli/kie-wb-common
kie-wb-common-screens/kie-wb-common-library/kie-wb-common-library-client/src/test/java/org/kie/workbench/common/screens/library/client/screens/assets/AssetsScreenTest.java
Java
apache-2.0
5,601
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
ghchinoy/wicsa2011
src/com/google/android/apps/iosched/provider/ScheduleProvider.java
Java
apache-2.0
33,646
/* * 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 "lice...
trasa/aws-sdk-java
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/NoSuchEntityException.java
Java
apache-2.0
1,070
/* * 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-dataexchange/src/main/java/com/amazonaws/services/dataexchange/model/DeleteEventActionRequest.java
Java
apache-2.0
3,714
/******************************************************************************* * Copyright 2017 Xoriant 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...
XoriantOpenSource/swagger-blog-examples
swagger-blog-2/java-client/src/test/java/io/swagger/client/api/DefaultApiTest.java
Java
apache-2.0
1,849
/* * ============================================================================= * * Copyright (c) 2011-2016, The THYMELEAF team (http://www.thymeleaf.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 ...
thymeleaf/thymeleaf-tests
src/test/java/org/thymeleaf/dialect/dialectwrapping/ElementModelProcessor.java
Java
apache-2.0
1,538
/* * 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-lightsail/src/main/java/com/amazonaws/services/lightsail/model/transform/DetachStaticIpResultJsonUnmarshaller.java
Java
apache-2.0
2,855
package io.teknek.nibiru.transport.rpc; import io.teknek.nibiru.transport.BaseResponse; public class BlockingRpcResponse<T> implements BaseResponse { private String exception; private T rpcResult; public BlockingRpcResponse(){ } public String getException() { return exception; } public voi...
edwardcapriolo/nibiru
src/main/java/io/teknek/nibiru/transport/rpc/BlockingRpcResponse.java
Java
apache-2.0
530
/* * 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-config/src/main/java/com/amazonaws/services/config/model/transform/DescribeConfigRulesRequestMarshaller.java
Java
apache-2.0
2,415
/* * 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-iotevents/src/main/java/com/amazonaws/services/iotevents/model/GetDetectorModelAnalysisResultsRequest.java
Java
apache-2.0
7,053
// Copyright 2018 Google 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 agreed to in writi...
googleads/googleads-java-lib
modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201809/cm/CampaignSharedSetServiceInterfaceget.java
Java
apache-2.0
2,446
/** * AET * * Copyright (C) 2013 Cognifide 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 applicable law...
Cognifide/AET
api/jobs-api/src/main/java/org/browsermob/core/json/ISO8601DateFormatter.java
Java
apache-2.0
2,315
package org.apache.lucene.index; /* * 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, Versio...
fogbeam/Heceta_solr
lucene/core/src/java/org/apache/lucene/index/TermVectorsConsumerPerField.java
Java
apache-2.0
10,979
/* * Copyright 2011 Ning, Inc. * * Ning 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 required by applic...
twilliamson/mogwee-executors
src/main/java/com/mogwee/executors/NamedThreadFactory.java
Java
apache-2.0
1,331
/* * Copyright 2013 the original author or authors. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
micromata/jiraRestClient
src/main/java/de/micromata/jira/rest/core/misc/RestPathConstants.java
Java
apache-2.0
1,734
/***************************************************************************** * Copyright (C) jparsec.org * * ------------------------------------------------------------------------- * * Licensed under the Apache License, Version 2.0 (the "License"); * * yo...
jparsec/jparsec
jparsec-examples/src/main/java/org/jparsec/examples/sql/parser/ExpressionParser.java
Java
apache-2.0
9,523
/* * Copyright 2004-2008 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...
jeffbrown/grailsnolib
grails-web/src/main/groovy/org/codehaus/groovy/grails/web/json/PrettyPrintJSONWriter.java
Java
apache-2.0
4,112
/** */ package org.tud.inf.st.mbt.ocm.impl; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.impl.EFactoryImpl; import org.eclipse.emf.ecore.plugin.EcorePlugin; import org.tud.inf.st.mbt.ocm.*; /** * <!-- begin-user-doc...
paetti1988/qmate
MATE/org.tud.inf.st.mbt.emf/src-gen/org/tud/inf/st/mbt/ocm/impl/OcmFactoryImpl.java
Java
apache-2.0
3,466
/** * Copyright (c) 2013-2019 Contributors to the Eclipse Foundation * * <p> See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Versio...
spohnan/geowave
core/store/src/main/java/org/locationtech/geowave/core/store/util/RewritingMergingEntryIterator.java
Java
apache-2.0
2,157
/* * Copyright (C) 2019 Contentful GmbH * * 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...
contentful/contentful-management.java
src/main/java/com/contentful/java/cma/ServiceContentTags.java
Java
apache-2.0
2,309
/* * Copyright (c) 2012. Piraso Alvin R. de Leon. All Rights Reserved. * * See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The Piraso licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in ...
piraso/piraso-sql
context-logger/server/src/main/java/org/piraso/server/sql/SQLContextLoggerBeanPostProcessor.java
Java
apache-2.0
1,383
package org.lionsoul.jcseg.util; import java.io.Serializable; /** * string buffer class * * @author chenxin<chenxin619315@gmail.com> */ public class IStringBuffer implements Serializable { private static final long serialVersionUID = 1L; /** * buffer char array. */ private char buff[]; ...
lionsoul2014/jcseg
jcseg-core/src/main/java/org/lionsoul/jcseg/util/IStringBuffer.java
Java
apache-2.0
7,966
package net.happybrackets.core.control; import com.google.gson.Gson; import de.sciss.net.OSCMessage; import net.happybrackets.core.Device; import net.happybrackets.core.OSCVocabulary; import net.happybrackets.core.scheduling.HBScheduler; import net.happybrackets.core.scheduling.ScheduledEventListener; import net.happy...
orsjb/HappyBrackets
HappyBrackets/src/main/java/net/happybrackets/core/control/DynamicControl.java
Java
apache-2.0
63,210
/* * 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-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/transform/ListBootstrapActionsRequestMarshaller.java
Java
apache-2.0
2,390
/** * Server-side support classes for WebSocket requests. */ @NonNullApi @NonNullFields package org.springframework.web.reactive.socket.server.support; import org.springframework.lang.NonNullApi; import org.springframework.lang.NonNullFields;
spring-projects/spring-framework
spring-webflux/src/main/java/org/springframework/web/reactive/socket/server/support/package-info.java
Java
apache-2.0
246
/** * */ package org.commcare.cases.ledger; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.util.Enumeration; import java.util.Hashtable; import java.util.Vector; import org.javarosa.core.services.storage.IMetaData; import org.javarosa.core.services.storage....
wpride/commcare
cases/src/org/commcare/cases/ledger/Ledger.java
Java
apache-2.0
4,988
/* * 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
repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/audit/RAuditEventRecord.java
Java
apache-2.0
16,740
/* * 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-worklink/src/main/java/com/amazonaws/services/worklink/model/DescribeDeviceResult.java
Java
apache-2.0
16,586
/* * Copyright 2012-2014 Netherlands eScience Center. * * 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 the following location: * * http://www.apache.org/licenses/LICENSE-2.0 * * ...
NLeSC/Platinum
ptk-web/src/main/java/nl/esciencecenter/ptk/web/WebStream.java
Java
apache-2.0
941
/* * 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-honeycode/src/main/java/com/amazonaws/services/honeycode/AmazonHoneycodeClientBuilder.java
Java
apache-2.0
2,368
package lm.com.framework.encrypt; import java.io.IOException; import java.security.SecureRandom; import javax.crypto.Cipher; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.DESKeySpec; import sun.misc.BASE64Decoder; import sun.misc.BASE64Encoder; public class DESEncrypt...
mrluo735/lm.cloudplat
common/lm.com.framework/src/main/java/lm/com/framework/encrypt/DESEncrypt.java
Java
apache-2.0
2,267
package com.desple.view; import javax.imageio.ImageIO; import javax.swing.*; import java.awt.*; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; public class PreviewImageCanvas extends JPanel { private BufferedImage image; public PreviewImageCanvas() { image = nul...
thebillkidy/RandomProjects
FaceRecognition/Java/src/main/java/com/desple/view/PreviewImageCanvas.java
Java
apache-2.0
938
package example.multiview; import io.db.Connect; import io.db.ConnectFactory; import io.db.FormatResultSet; import io.json.JSONStructureMaker; import io.parcoord.db.MakeTableModel; import java.awt.BasicStroke; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dimension; import java.awt.event.Action...
martingraham/JSwingPlus
src/example/multiview/NapierDBVis.java
Java
apache-2.0
24,478
package com.umeng.soexample.run.step; /** * 步数更新回调 * Created by dylan on 16/9/27. */ public interface UpdateUiCallBack { /** * 更新UI步数 * * @param stepCount 步数 */ void updateUi(int stepCount); }
liulei-0911/LLApp
myselfapp/src/main/java/com/umeng/soexample/run/step/UpdateUiCallBack.java
Java
apache-2.0
249
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2016 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are...
MGareta/BBVA
src/java/beans/TipoServicio.java
Java
apache-2.0
5,309
package ch.bfh.swos.bookapp.jpa.model; import javax.persistence.*; import java.io.Serializable; import java.util.Date; import static javax.persistence.GenerationType.IDENTITY; import static javax.persistence.TemporalType.DATE; /** * Entity implementation class for Entity: Book * */ @Entity public class Book impl...
rvillars/bookapp-cqrs
ch.bfh.swos.bookapp.jpa/src/main/java/ch/bfh/swos/bookapp/jpa/model/Book.java
Java
apache-2.0
1,241
/* * Copyright 2010-2011 Nabeel Mukhtar * * 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...
shisoft/LinkedIn-J
core/src/main/java/com/google/code/linkedinapi/schema/impl/DateOfBirthImpl.java
Java
apache-2.0
2,214
package excelcom.api; import com.sun.jna.platform.win32.COM.COMException; import com.sun.jna.platform.win32.COM.COMLateBindingObject; import com.sun.jna.platform.win32.COM.IDispatch; import com.sun.jna.platform.win32.OaIdl; import com.sun.jna.platform.win32.OleAuto; import com.sun.jna.platform.win32.Variant; import s...
lprc/excelcom
src/main/java/excelcom/api/Range.java
Java
apache-2.0
3,146
/* * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
sduskis/cloud-bigtable-client
bigtable-hbase-2.x-parent/bigtable-hbase-2.x-integration-tests/src/test/java/com/google/cloud/bigtable/hbase/TestCreateTable.java
Java
apache-2.0
3,209
// 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 applic...
apache/tapestry4
framework/src/test/org/apache/tapestry/binding/TestListenerMethodBinding.java
Java
apache-2.0
6,776
/* * 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 ...
iyounus/incubator-systemml
src/main/java/org/apache/sysml/lops/compile/Dag.java
Java
apache-2.0
143,562
package com.iservport.et.service; import java.nio.charset.Charset; import org.apache.commons.codec.binary.Base64; import org.springframework.http.HttpHeaders; import org.springframework.web.util.UriComponentsBuilder; /** * Base class to Enterprise tester API calls. * * @author mauriciofernandesdecastr...
chmulato/helianto-seed
src/main/java/com/iservport/et/service/AbstractETApiService.java
Java
apache-2.0
1,266
/* * Copyright 2017 GcsSloop * * 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...
GcsSloop/diycode
expectanim/src/main/java/com/github/florent37/expectanim/core/position/PositionAnimExpectationRightOf.java
Java
apache-2.0
1,365
/* * Copyright 2007 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...
Manmay/JSefa
src/main/java/org/jsefa/common/converter/EnumConstant.java
Java
apache-2.0
1,076
package com.douwe.notes.resource.impl; import com.douwe.notes.entities.Cycle; import com.douwe.notes.resource.ICycleResource; import com.douwe.notes.service.ICycleService; import com.douwe.notes.service.IInsfrastructureService; import com.douwe.notes.service.ServiceException; import java.util.List; import java.util.lo...
royken/notes
src/main/java/com/douwe/notes/resource/impl/CycleResource.java
Java
apache-2.0
2,688
/* * Copyright 2010 The Closure Compiler 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...
jhiswin/idiil-closure-compiler
src/com/google/javascript/jscomp/ScopedAliases.java
Java
apache-2.0
21,121
package com.xinfan.msgbox.service.dao.dialect; public class MysqlDialect extends Dialect { @Override public boolean supportsLimit() { return true; } @Override public boolean supportsLimitOffset() { return true; } @Override public String getLimitString(String sql, int offset, String off...
xinfan123/blue-server
bulu-service/src/main/java/com/xinfan/msgbox/service/dao/dialect/MysqlDialect.java
Java
apache-2.0
1,374
package uk.ac.ebi.embl.api.validation.fixer.entry; import uk.ac.ebi.embl.api.entry.Entry; import uk.ac.ebi.embl.api.entry.Text; import uk.ac.ebi.embl.api.entry.feature.Feature; import uk.ac.ebi.embl.api.entry.qualifier.Qualifier; import uk.ac.ebi.embl.api.entry.reference.Person; import uk.ac.ebi.embl.api.entry.referen...
enasequence/sequencetools
src/main/java/uk/ac/ebi/embl/api/validation/fixer/entry/NonAsciiCharacterFix.java
Java
apache-2.0
4,774
/* * Copyright (C) 2014 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...
denis-evteev/udacity-android-sunshine-app
app/src/main/java/com/example/android/sunshine/app/FetchWeatherTask.java
Java
apache-2.0
12,246
package org.gsonformat.intellij.process; import com.intellij.psi.*; import org.apache.http.util.TextUtils; import org.gsonformat.intellij.config.Config; import org.gsonformat.intellij.config.Constant; import org.gsonformat.intellij.entity.FieldEntity; import org.gsonformat.intellij.entity.ClassEntity; import java.uti...
gengjiawen/GsonFormat
src/main/java/org/gsonformat/intellij/process/AutoValueProcessor.java
Java
apache-2.0
2,976
/* Copyright 2008, 2009, 2010 by the Oxford University Computing Laboratory This file is part of HermiT. HermiT 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 Licen...
CPoirot3/OWL-Reasoner
project/src/org/semanticweb/HermiT/datatypes/owlreal/PlusInfinity.java
Java
apache-2.0
1,607
/* * Copyright 2012-2017 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...
dagnir/aws-sdk-java
aws-java-sdk-mechanicalturkrequester/src/main/java/com/amazonaws/services/mturk/model/transform/HITLayoutParameterJsonUnmarshaller.java
Java
apache-2.0
2,995
package com.nhpatt.myconference.entities; import com.google.gson.JsonArray; /** * @author Javier Gamarra */ public class TalkEvent { private final JsonArray talks; public TalkEvent(JsonArray talks) { this.talks = talks; } public JsonArray getTalks() { return talks; } }
nhpatt/MyConference
app/src/main/java/com/nhpatt/myconference/entities/TalkEvent.java
Java
apache-2.0
312
/* * Copyright (C) 2009-2015 Dell, Inc. * See annotations for authorship information * * ==================================================================== * 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 cop...
maksimov/dasein-cloud-aws-old
src/main/java/org/dasein/cloud/aws/identity/IAMCapabilities.java
Java
apache-2.0
2,228
/* * 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 ...
a1vanov/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCachePreloaderAdapter.java
Java
apache-2.0
5,818
/* * Copyright © 2009 HotPads (admin@hotpads.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
hotpads/datarouter
datarouter-virtual-node/src/main/java/io/datarouter/virtualnode/replication/ReplicationNodeOptions.java
Java
apache-2.0
3,098
package fr.javatronic.blog.massive.annotation1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_175 { }
lesaint/experimenting-annotation-processing
experimenting-rounds/massive-count-of-annotated-classes/src/main/java/fr/javatronic/blog/massive/annotation1/Class_175.java
Java
apache-2.0
145
/*- * -\-\- * docker-client * -- * Copyright (C) 2016 Spotify AB * -- * 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 * * Unles...
MarcoLotz/docker-client
src/main/java/com/spotify/docker/client/messages/CpuStats.java
Java
apache-2.0
3,323
package io.sensesecure.hadoop.xz; import java.io.BufferedInputStream; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import org.apache.hadoop.io.SequenceFile; import org.apache.hadoop.io.compress.CompressionInputStream; import org.tukaani.xz.XZInputStream; /** * * @author yongt...
yongtang/hadoop-xz
src/main/java/io/sensesecure/hadoop/xz/XZCompressionInputStream.java
Java
apache-2.0
2,173
package generics; //: generics/SuperTypeWildcards.java import java.util.*; public class SuperTypeWildcards { static void writeTo(List<? super Apple> apples) { apples.add(new Apple()); apples.add(new Jonathan()); // apples.add(new Fruit()); // Error } } ///:~
Shelley132/java-review
thinkinginjava/generics/SuperTypeWildcards.java
Java
apache-2.0
276
package org.giwi.geotracker.routes.priv; import io.vertx.core.Vertx; import io.vertx.ext.web.Router; import io.vertx.ext.web.RoutingContext; import org.giwi.geotracker.annotation.VertxRoute; import org.giwi.geotracker.beans.AuthUtils; import org.giwi.geotracker.exception.BusinessException; import org.giwi.geotracker.s...
Giwi/geoTracker
src/main/java/org/giwi/geotracker/routes/priv/ParamRoute.java
Java
apache-2.0
1,430
// Copyright 2017 The Nomulus 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 a...
google/nomulus
core/src/main/java/google/registry/model/translators/CidrAddressBlockTranslatorFactory.java
Java
apache-2.0
1,397
/* * ARX: Powerful Data Anonymization * Copyright 2012 - 2021 Fabian Prasser 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/licen...
arx-deidentifier/arx
src/gui/org/deidentifier/arx/gui/view/impl/define/ViewPrivacyModels.java
Java
apache-2.0
13,712
/* * Copyright (c) 2016 Hugo Matalonga & João Paulo Fernandes * * 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 ...
hmatalonga/GreenHub
app/src/main/java/com/hmatalonga/greenhub/ui/TaskListActivity.java
Java
apache-2.0
25,536
/* * * * Copyright 2015 Skymind,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 * * * * U...
GeorgeMe/nd4j
nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/accum/Mean.java
Java
apache-2.0
2,853
package com.fantasy.lulutong.activity.me; import android.os.Bundle; import android.view.View; import android.widget.RelativeLayout; import com.fantasy.lulutong.R; import com.fantasy.lulutong.activity.BaseActivity; /** * “注册”的页面 * @author Fantasy * @version 1.0, 2017-02- */ public class RegisterActi...
FantasyLWX/LuLuTong
app/src/main/java/com/fantasy/lulutong/activity/me/RegisterActivity.java
Java
apache-2.0
863
package com.blackducksoftware.integration.hub.detect.tool.bazel; import static org.junit.jupiter.api.Assertions.assertEquals; import java.util.ArrayList; import java.util.List; import org.junit.jupiter.api.Test; public class BazelVariableSubstitutorTest { @Test public void testTargetOnly() { BazelV...
blackducksoftware/hub-detect
hub-detect/src/test/groovy/com/blackducksoftware/integration/hub/detect/tool/bazel/BazelVariableSubstitutorTest.java
Java
apache-2.0
1,618
package com.dyhpoon.fodex.navigationDrawer; import android.content.Context; import android.view.View; import android.view.ViewGroup; import com.dyhpoon.fodex.R; /** * Created by darrenpoon on 3/2/15. */ public class NavigationDrawerAdapter extends SectionAdapter { private Context mContext; public class V...
dyhpoon/Fo.dex
app/src/main/java/com/dyhpoon/fodex/navigationDrawer/NavigationDrawerAdapter.java
Java
apache-2.0
4,636
/** * This class hierarchy was generated from the Yang module hcta-epc * by the <a target="_top" href="https://github.com/tail-f-systems/JNC">JNC</a> plugin of <a target="_top" href="http://code.google.com/p/pyang/">pyang</a>. * The generated classes may be used to manipulate pieces of configuration data * with NET...
jnpr-shinma/yangfile
hitel/src/hctaEpc/mmeSgsn/interface_/ge/package-info.java
Java
apache-2.0
1,235
/* * Copyright 2011-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 "lice...
jentfoo/aws-sdk-java
aws-java-sdk-core/src/main/java/com/amazonaws/client/builder/AwsClientBuilder.java
Java
apache-2.0
22,211
package com.jukusoft.libgdx.rpg.engine.story.impl; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.jukusoft.libgdx.rpg.engine.story.StoryPart; import com.jukusoft.libgdx.rpg.engine.story.StoryTeller; import com.jukusoft.libgdx.rpg.engine.time.GameTime; impo...
JuKu/libgdx-test-rpg
engine/src/main/java/com/jukusoft/libgdx/rpg/engine/story/impl/DefaultStoryTeller.java
Java
apache-2.0
3,080
/* * Copyright to 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 applicabl...
khartig/assimilator
rio-test/src/test/java/org/rioproject/test/log/LogbackServiceLogEventAppenderTest.java
Java
apache-2.0
926
/* * 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 ...
wziyong/pinpoint
web/src/main/java/com/navercorp/pinpoint/web/controller/ItemController.java
Java
apache-2.0
2,732
package org.renjin.primitives; import org.renjin.eval.Context; import org.renjin.eval.EvalException; import org.renjin.primitives.annotations.processor.ArgumentException; import org.renjin.primitives.annotations.processor.ArgumentIterator; import org.renjin.primitives.annotations.processor.WrapperRuntime; import org....
bedatadriven/renjin-statet
org.renjin.core/src-gen/org/renjin/primitives/R$primitive$attr$assign.java
Java
apache-2.0
3,078
package com.chinare.rop.server; import javax.servlet.http.HttpServletRequest; /** * @author 王贵源(wangguiyuan@chinarecrm.com.cn) */ public interface RequestChecker { public boolean check(HttpServletRequest request); }
ZHCS-CLUB/AXE
axe/axe-chinare-rop/axe-chinare-rop-server/src/main/java/com/chinare/rop/server/RequestChecker.java
Java
apache-2.0
242
/* * Copyright (c) 2018. * J. Melzer */ package com.jmelzer.jitty.utl; import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; /** * Created by J. Melzer on 27.03.2018. */ public class RandomUtilTest { @Test public void randomIntFromInterval() { ...
chokdee/jitty
data/src/test/java/com/jmelzer/jitty/utl/RandomUtilTest.java
Java
apache-2.0
890
/* * Generated by the Jasper component of Apache Tomcat * Version: Apache Tomcat/7.0.53 * Generated at: 2015-06-08 03:36:45 UTC * Note: The last modified time of this file was set to * the last modified time of the source file after * generation to assist with modification tracking. */ package org.ap...
freedomkk-qfeng/docker-sakai
demo/10.2-fudan/sakai-demo-10.2/work/Catalina/localhost/sakai-user-tool-prefs/org/apache/jsp/prefs/tab_jsp.java
Java
apache-2.0
292,251
package com.hotcloud.util; import java.io.UnsupportedEncodingException; import java.util.HashMap; import java.util.Map; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class CookieUtil { public static Map<String, String...
shizicheng/spring_mvc_template
src/main/java/com/hotcloud/util/CookieUtil.java
Java
apache-2.0
2,493
/******************************************************************************** * Copyright (c) 2019 Stephane Bastian * * This program and the accompanying materials are made available under the 2 * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * SPDX-L...
vert-x3/vertx-auth
vertx-auth-common/src/main/java/io/vertx/ext/auth/authorization/impl/PermissionBasedAuthorizationImpl.java
Java
apache-2.0
4,026
package org.polyglotted.xpathstax.model; import com.google.common.base.Splitter; import com.google.common.collect.Iterables; import org.codehaus.stax2.XMLStreamReader2; import org.polyglotted.xpathstax.data.Value; import javax.annotation.concurrent.ThreadSafe; import java.util.Iterator; import java.util.Map.Entry; im...
polyglotted/xpath-stax
src/main/java/org/polyglotted/xpathstax/model/XmlAttribute.java
Java
apache-2.0
4,780
package com.caozeal.practice; import static org.assertj.core.api.Assertions.*; import org.junit.Test; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; public class TestTryTest { // @OdevityMain2 // publ...
caozeal/Utopia
Source/UtopiaLand/test/com/caozeal/someTry/TestTryTest.java
Java
apache-2.0
786
package org.javarosa.model.xform; import org.javarosa.core.data.IDataPointer; import org.javarosa.core.model.IAnswerDataSerializer; import org.javarosa.core.model.instance.FormInstance; import org.javarosa.core.model.instance.TreeElement; import org.javarosa.core.model.instance.TreeReference; import org.javarosa.core....
dimagi/javarosa
javarosa/core/src/main/java/org/javarosa/model/xform/XFormSerializingVisitor.java
Java
apache-2.0
8,206
package io.silverspoon.bulldog.beagleboneblack.devicetree; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintWriter; public class DeviceTreeCompiler { private static final String FIRMWARE_PATH = "/lib/firmware/"; private static final String OBJECT_FILE_PATTER...
xjaros1/bulldog
bulldog-board-beagleboneblack/src/main/java/io/silverspoon/bulldog/beagleboneblack/devicetree/DeviceTreeCompiler.java
Java
apache-2.0
1,303
package com.xyp.sapidoc.idoc.enumeration; import java.util.HashSet; import java.util.Set; /** * * @author Yunpeng_Xu */ public enum TagEnum { FIELDS("FIELDS"), RECORD_SECTION("RECORD_SECTION"), CONTROL_RECORD("CONTROL_RECORD"), DATA_RECORD("DATA_RECORD"), STATUS_RECORD("ST...
PeterXyp/sapidoc
src/main/java/com/xyp/sapidoc/idoc/enumeration/TagEnum.java
Java
apache-2.0
1,036
/******************************************************************************* * Copyright 2016 Intuit * <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 * <p> * http://www.apache.o...
intuit/wasabi
modules/auditlog-objects/src/test/java/com/intuit/wasabi/auditlogobjects/AuditLogEntryFactoryTest.java
Java
apache-2.0
3,157
package org.artifactory.ui.rest.service.admin.configuration.mail; import org.artifactory.api.config.CentralConfigService; import org.artifactory.descriptor.config.MutableCentralConfigDescriptor; import org.artifactory.rest.common.service.ArtifactoryRestRequest; import org.artifactory.rest.common.service.RestResponse; ...
alancnet/artifactory
web/rest-ui/src/main/java/org/artifactory/ui/rest/service/admin/configuration/mail/GetMailService.java
Java
apache-2.0
2,025
/* * Copyright (c) 2009, Rickard Öberg. 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 l...
Qi4j/qi4j-core
bootstrap/src/main/java/org/qi4j/bootstrap/AssemblyVisitorAdapter.java
Java
apache-2.0
1,820
package com.ctrip.framework.cs.enterprise; import com.ctrip.framework.cs.configuration.ConfigurationManager; import com.ctrip.framework.cs.configuration.InitConfigurationException; import com.ctrip.framework.cs.util.HttpUtil; import com.ctrip.framework.cs.util.PomUtil; import com.google.gson.Gson; import org.slf4j.Log...
ctripcorp/cornerstone
cornerstone/src/main/java/com/ctrip/framework/cs/enterprise/NexusEnMaven.java
Java
apache-2.0
5,024
/* * 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-speech/v1/1.31.0/com/google/api/services/speech/v1/model/WordInfo.java
Java
apache-2.0
7,866
/* * PartitioningOperators.java Feb 3 2014, 03:44 * * Copyright 2014 Drunken Dev. * * 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...
brettryan/jdk8-lambda-samples
src/main/java/com/drunkendev/lambdas/PartitioningOperators.java
Java
apache-2.0
6,846
package com.esri.mapred; import com.esri.io.PointFeatureWritable; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.mapred.InputSplit; import org.apache.hadoop.mapred.JobConf; import org.apache.hadoop.mapred.RecordReader; import org.apache.hadoop.mapred.Reporter; import java.io.IOException; /** */ ...
syntelos/shapefile-java
src/com/esri/mapred/PointFeatureInputFormat.java
Java
apache-2.0
1,483
/* Copyright 2018 Google 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 agreed to in writing...
GoogleCloudPlatform/dlp-rdb-bq-import
src/main/java/com/google/swarm/sqlserver/migration/common/SqlDataType.java
Java
apache-2.0
1,596
/* * Copyright 2004-2013 the Seasar Foundation and the Others. * * 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 ...
dbflute-test/dbflute-test-dbms-mysql
src/main/java/org/docksidestage/mysql/dbflute/bsentity/BsWhiteImplicitReverseFkRef.java
Java
apache-2.0
10,962
/** * Copyright (c) 2016 Lemur Consulting Ltd. * <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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by appli...
flaxsearch/BioSolr
ontology/ontology-annotator/elasticsearch-ontology-annotator/es-ontology-annotator-es2.2/src/main/java/uk/co/flax/biosolr/elasticsearch/OntologyHelperBuilder.java
Java
apache-2.0
4,116
/* * Copyright 2004-2013 the Seasar Foundation and the Others. * * 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 ...
dbflute-test/dbflute-test-dbms-mysql
src/main/java/org/docksidestage/mysql/dbflute/immuhama/bsbhv/loader/ImmuLoaderOfMemberLogin.java
Java
apache-2.0
3,938
/* * Copyright © 2009 HotPads (admin@hotpads.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
hotpads/datarouter
datarouter-webapp-instance/src/main/java/io/datarouter/webappinstance/storage/webappinstancelog/DatarouterWebappInstanceLogDao.java
Java
apache-2.0
3,351
package nl.galesloot_ict.efjenergy.MeterReading; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.databind.JsonMappingException; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.util.Array...
fjgalesloot/eFJenergy
Android/app/src/main/java/nl/galesloot_ict/efjenergy/MeterReading/MeterReadingsList.java
Java
apache-2.0
794