code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
/**
* Copyright 2010 Wealthfront 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 in wr... | wealthfront/kawala | kawala-testing/src/main/java/com/kaching/platform/testing/TestSuiteBuilder.java | Java | apache-2.0 | 4,175 |
/*
* Copyright 2017 Makoto Consulting Group, 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 ... | makotogo/developerWorks | NcaaMarchMadness/src/main/java/com/makotojava/ncaabb/sqlgenerator/SqlGenerator.java | Java | apache-2.0 | 18,195 |
package org.alien4cloud.tosca.editor.operations.nodetemplate;
import lombok.Getter;
import lombok.Setter;
/**
* Update the deployment artifact of a node.
*/
@Getter
@Setter
public class UpdateNodeDeploymentArtifactOperation extends AbstractNodeOperation {
private String artifactName;
private String artifact... | broly-git/alien4cloud | alien4cloud-core/src/main/java/org/alien4cloud/tosca/editor/operations/nodetemplate/UpdateNodeDeploymentArtifactOperation.java | Java | apache-2.0 | 640 |
package com.worldspotlightapp.android.maincontroller.modules.videosmodule.response;
import com.worldspotlightapp.android.maincontroller.BaseModuleResponse;
import com.worldspotlightapp.android.maincontroller.modules.ParseResponse;
import com.worldspotlightapp.android.model.Video;
import java.util.List;
/**
* Create... | jiahaoliuliu/WorldSpotlight | app/src/main/java/com/worldspotlightapp/android/maincontroller/modules/videosmodule/response/VideosModuleLikedVideosListResponse.java | Java | apache-2.0 | 915 |
/*
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... | jabelai/Neverland | NeverLand/src/org/apache/cordova/core/CameraLauncher.java | Java | apache-2.0 | 34,777 |
/*
* Copyright (c) 2010-2015 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.repo.sql.query2.hqm.condition;
import com.evolveum.midpoint.repo.sql.query2.hqm.RootHibernateQuery... | bshp/midPoint | repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query2/hqm/condition/AndCondition.java | Java | apache-2.0 | 889 |
/*
* 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 ... | jackylk/incubator-carbondata | sdk/sdk/src/test/java/org/apache/carbondata/sdk/file/AvroCarbonWriterTest.java | Java | apache-2.0 | 17,334 |
package ru.job4j.changetracker.internalclasses;
/**
* Created on 01.09.2017.
*
* @author Aleks Sidorenko (alek.sidorenko1979@gmail.com).
* @version $Id$.
* @since 0.1.
*/
public class Task extends Item {
/**
* Constructor of class Task.
*
* @param id - id Item.
* @param name - name Item... | AlSidorenko/Junior | chapter_003/src/main/java/ru/job4j/changetracker/internalclasses/Task.java | Java | apache-2.0 | 588 |
/**
* 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/base/BaseDataStore.java | Java | apache-2.0 | 69,442 |
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) {
HashSet<Long> squares = new HashSet<>();
long max = (long) Math.pow(10, 9);
long n = 1, temp;
while((temp = n*n) <= max) {
squares.add(temp);
n++;
... | marcos-sb/hacker-rank | algorithms/implementation/sherlock-and-squares/Solution.java | Java | apache-2.0 | 1,027 |
/*
* 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-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/transform/ListMetricStreamsRequestMarshaller.java | Java | apache-2.0 | 2,173 |
/*
* Copyright 2010 Andreas Brauchli, René Buffat, Florian Widmer
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | abrauchli/Footware | src/org/footware/client/dialogs/UploadTrackBox.java | Java | apache-2.0 | 3,683 |
/*
* Copyright 2008-2021 the original author or authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | jraduget/kaleido-repository | kaleido-core/src/main/java/org/kaleidofoundry/core/persistence/PersistenceContextAspect.java | Java | apache-2.0 | 5,421 |
package com.seleniumtests.connectors.selenium.fielddetector;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;
import com.seleniumtests.core.SeleniumTestsContextManager;
import com.seleniumtests.customexception.ConfigurationException;
import com.seleniumtests.uti... | bhecquet/seleniumRobot | core/src/main/java/com/seleniumtests/connectors/selenium/fielddetector/ImageFieldDetector.java | Java | apache-2.0 | 3,426 |
package onlinegaming.dblayer;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
public class OnilneGameDBLayer implements IOnlineGameDBLayer {
DBManager dbManager;
... | sandeepsajiru/gmaeOlninePlat | final/OnlineGaming/src/java/onlinegaming/dblayer/OnilneGameDBLayer.java | Java | apache-2.0 | 9,915 |
/**
* @file: TestRetrieve.java
*
* @utor: Moisés Alcocer, 2016
*/
package series.test;
//imports
import series.helpers.*;
import series.model.*;
/**
* This class ...
*
*/
public class TestRetrieve {
/**********************************/
/*** Properties declaration *******/
private S... | oricis/2DAM | DI/series/src/series/test/TestRetrieve.java | Java | apache-2.0 | 1,780 |
/**
* SIX VULN - http://code.google.com/p/six-vuln/
* Copyright (C) 2006
* National Institute of Advanced Industrial Science and Technology (AIST)
* Registration Number: H20PRO-863
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Li... | nakamura5akihito/six-vuln | src/main/java/jp/go/aist/six/vuln/model/scap/cpe/dictionary/ItemType.java | Java | apache-2.0 | 8,221 |
/*
* #%L
* mosaic-drivers-stubs-amqp
* %%
* Copyright (C) 2010 - 2013 Institute e-Austria Timisoara (Romania)
* %%
* 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... | mosaic-cloud/mosaic-java-platform | drivers-stubs/amqp/src/main/java/eu/mosaic_cloud/drivers/queue/amqp/AmqpOperationFactory.java | Java | apache-2.0 | 11,543 |
/*
* Copyright (c) Facebook, Inc. and 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 applic... | zpao/buck | test/com/facebook/buck/features/python/PythonLibraryIntegrationTest.java | Java | apache-2.0 | 3,021 |
/*
* 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... | hazendaz/assertj-core | src/test/java/org/assertj/core/api/path/PathAssert_isEmptyFile_Test.java | Java | apache-2.0 | 1,258 |
package org.tll.canyon.model;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
/**
* AssetType has 0 or more AssetAttribute objects associated with it.
*
*
* @author chad.lafontaine@... | clafonta/canyon | src/dao/org/tll/canyon/model/OptionValue.java | Java | apache-2.0 | 2,617 |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v9/enums/user_list_closing_reason.proto
package com.google.ads.googleads.v9.enums;
public interface UserListClosingReasonEnumOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v9.enums.Use... | googleads/google-ads-java | google-ads-stubs-v9/src/main/java/com/google/ads/googleads/v9/enums/UserListClosingReasonEnumOrBuilder.java | Java | apache-2.0 | 389 |
package org.minimalj.frontend.impl.json;
import org.minimalj.frontend.Frontend.IComponent;
import org.minimalj.frontend.Frontend.IContent;
import org.minimalj.frontend.Frontend.SwitchComponent;
import org.minimalj.frontend.Frontend.SwitchContent;
public class JsonSwitch extends JsonComponent implements SwitchContent,... | BrunoEberhard/minimal-j | src/main/java/org/minimalj/frontend/impl/json/JsonSwitch.java | Java | apache-2.0 | 912 |
package demo.meetup.hystrix.camel;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
@SpringBootApplicatio... | levackt/resilience-demo | camel-hystrix/src/main/java/demo/meetup/hystrix/camel/CamelHystrixApplication.java | Java | apache-2.0 | 509 |
package com.finance.datamodel;
public class Money {
private static final Currency DEFAULT_CURRENCY = Currency.EUR;
public static final Money MONEY0 = new Money(0D, DEFAULT_CURRENCY);
private Double amount;
private final Currency currency;
public Money(final Double amount, final Currency currency) {
... | arpadszocs/budgetmanager | datamodel/src/main/java/com/finance/datamodel/Money.java | Java | apache-2.0 | 904 |
/*
* Copyright 2005 FBK-irst (http://www.fbk.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.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | BlueBrain/bluima | modules/bluima_jsre/src/main/java/org/itc/irst/tcc/sre/data/MergeVectorSet.java | Java | apache-2.0 | 3,218 |
/*
* Copyright 2014-2019 Real Logic Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | galderz/Aeron | aeron-client/src/test/java/io/aeron/CommonContextTest.java | Java | apache-2.0 | 959 |
/**
* 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... | dmvolod/camel | camel-core/src/main/java/org/apache/camel/support/TokenXMLPairExpressionIterator.java | Java | apache-2.0 | 10,031 |
package pl.zankowski.iextrading4j.client.rest.request.stocks;
import org.junit.jupiter.api.Test;
import pl.zankowski.iextrading4j.api.stocks.TodayEarnings;
import pl.zankowski.iextrading4j.client.rest.manager.MethodType;
import pl.zankowski.iextrading4j.client.rest.manager.RestRequest;
import jakarta.ws.rs.core.Gener... | WojciechZankowski/iextrading4j | iextrading4j-client/src/test/java/pl/zankowski/iextrading4j/client/rest/request/stocks/TodayEarningsRequestBuilderTest.java | Java | apache-2.0 | 907 |
package eu.dnetlib.iis.wf.export.actionmanager.entity.patent;
import com.google.common.base.Preconditions;
import eu.dnetlib.iis.common.report.ReportEntryFactory;
import eu.dnetlib.iis.common.schemas.ReportEntry;
import org.apache.spark.api.java.JavaRDD;
import org.apache.spark.api.java.JavaSparkContext;
import pl.edu... | openaire/iis | iis-wf/iis-wf-export-actionmanager/src/main/java/eu/dnetlib/iis/wf/export/actionmanager/entity/patent/PatentExportCounterReporter.java | Java | apache-2.0 | 3,387 |
/*
* 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 ... | alexeev/jboss-fuse-mirror | fabric/fabric-agent/src/test/java/io/fabric8/agent/resolver/ResourceBuilderTest.java | Java | apache-2.0 | 4,638 |
/**
* The extended observation package contains some helper implementations to make implementing an ObservationProvider
* much easier.
*/
@Version("2.1.0.${qualifier}")
package org.flexiblepower.observation.ext;
import aQute.bnd.annotation.Version;
| flexiblepower/flexiblepower-base | flexiblepower.api/src/org/flexiblepower/observation/ext/package-info.java | Java | apache-2.0 | 254 |
package id.sikerang.mobile.komoditas;
import android.content.Context;
import android.support.annotation.Nullable;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Rel... | budioktaviyan/sikerang-android | src/main/java/id/sikerang/mobile/komoditas/KomoditasAdapter.java | Java | apache-2.0 | 6,027 |
/*
* Copyright 2011 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... | kaie/otp-authenticator-android | tests/src/de/kuix/android/apps/authenticator/Base32StringTest.java | Java | apache-2.0 | 4,975 |
package com.mycompany.assent.util;
/**
*
* @author assent2
*/
public final class ProjectPathUtil {
private ProjectPathUtil() {
}
private static final String path = System.getenv("PWD");
/**
* Return absolute path to project file
*
* @param localPath - local path to fil... | assent220/BookStore3 | src/main/java/com/mycompany/assent/util/ProjectPathUtil.java | Java | apache-2.0 | 692 |
package com.xhy.weibo.db;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.os.Environment;
import android.util.Log;
import java.io.File;
/**
* Created by xuhaoyang on 16/6/3.
*/
public class DBManager {
private static String TAG = DBManager.class.getSimpleName();
... | xuhaoyang/Weibo | app/src/main/java/com/xhy/weibo/db/DBManager.java | Java | apache-2.0 | 2,630 |
/*
* Copyright 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 requi... | krasserm/ipf | platform-camel/core/src/main/java/org/openehealth/ipf/platform/camel/core/model/ProcessorAdapterDefinition.java | Java | apache-2.0 | 3,508 |
/*
* 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-ec2/src/main/java/com/amazonaws/services/ec2/model/ReservedInstancesOffering.java | Java | apache-2.0 | 41,876 |
/**
* Copyright [2014] Gaurav Gupta
*
* 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 ... | foxerfly/Netbeans-JPA-Modeler | ORM Converter/src/org/netbeans/orm/converter/compiler/JoinTableSnippet.java | Java | apache-2.0 | 6,262 |
package org.ebookdroid.xpsdroid.codec;
import org.ebookdroid.core.EBookDroidLibraryLoader;
import org.ebookdroid.core.codec.AbstractCodecContext;
import org.ebookdroid.core.codec.CodecDocument;
import android.graphics.Bitmap;
public class XpsContext extends AbstractCodecContext {
public static final boolean us... | hk0792/UsefulClass | EBookDroid/src/org/ebookdroid/xpsdroid/codec/XpsContext.java | Java | apache-2.0 | 967 |
/*
* Copyright (c) 2010-2016 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... | PetrGasparik/midpoint | gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/BasePanel.java | Java | apache-2.0 | 3,904 |
/*
* Copyright 2012-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... | brettwooldridge/buck | src/com/facebook/buck/android/SplitZipStep.java | Java | apache-2.0 | 20,539 |
package pl.zankowski.iextrading4j.api.stocks;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.jupiter.api.Assertions.assertThrows;
class ChartRangeTest {
@Test
void shouldThrowAnExceptionForUnknownCode() {
final String code = "12m"... | WojciechZankowski/iextrading4j | iextrading4j-api/src/test/java/pl/zankowski/iextrading4j/api/stocks/ChartRangeTest.java | Java | apache-2.0 | 657 |
package org.cache2k.benchmark.util;
/*
* #%L
* Benchmarks: utilities
* %%
* Copyright (C) 2013 - 2021 headissue GmbH, Munich
* %%
* 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
*
*... | cache2k/cache2k-benchmark | util/src/main/java/org/cache2k/benchmark/util/IntegerTraceReader.java | Java | apache-2.0 | 2,050 |
/*
* 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-waf/src/main/java/com/amazonaws/services/waf/model/ByteMatchSetUpdate.java | Java | apache-2.0 | 9,852 |
package com.action.shejizhichan.chapter25.mult;
public interface ITotalVisitor extends IVisitor {
public void totalSalary();
}
| pearpai/java_action | src/main/java/com/action/shejizhichan/chapter25/mult/ITotalVisitor.java | Java | apache-2.0 | 134 |
/**
* 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... | yeeunshim/tajo_test | tajo-core/src/main/java/org/apache/tajo/master/GlobalEngine.java | Java | apache-2.0 | 37,099 |
/*
* Copyright 2000-2016 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... | youdonghai/intellij-community | platform/platform-api/src/com/intellij/openapi/ui/ThreeComponentsSplitter.java | Java | apache-2.0 | 26,904 |
package com.example.android.sunshine.utilities;
import android.content.Context;
import android.util.Log;
import com.example.android.sunshine.R;
import com.example.android.sunshine.data.SunshinePreferences;
/**
* Contains useful utilities for a weather app, such as conversion between Celsius and Fahrenheit,
* from ... | totoroNmei/android-Sunshine | app/src/main/java/com/example/android/sunshine/utilities/SunshineWeatherUtils.java | Java | apache-2.0 | 15,371 |
package com.angluswang.mobilesafe.engine;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.graphics.drawable.Drawable;
import com.angluswang.mobilesafe.entity.AppInfo;
import java.io.File;
import... | AnglusWang/MobileSafe | app/src/main/java/com/angluswang/mobilesafe/engine/AppInfos.java | Java | apache-2.0 | 2,942 |
// Copyright 2000-2018 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.intellij.java.refactoring;
import com.intellij.JavaTestUtil;
import com.intellij.codeInsight.TargetElementUtil;
import com.intellij.ide.scratch.ScratchFileService;
im... | mdanielwork/intellij-community | java/java-tests/testSrc/com/intellij/java/refactoring/SafeDeleteTest.java | Java | apache-2.0 | 13,406 |
/*
* Licensed to the Indoqa Software Design und Beratung GmbH (Indoqa) under
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Indoqa licenses this file to You under the Apache License, Version 2.0
* (the "Lice... | Indoqa/solr-spatial-corridor | src/main/java/com/indoqa/solr/spatial/corridor/direction/DebugStrDocValues.java | Java | apache-2.0 | 1,734 |
// Copyright 2010, Mike Samuel
//
// 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... | bjorndm/prebake | code/src/org/prebake/core/package-info.java | Java | apache-2.0 | 895 |
/**
* Gerado por template generation
* Diretiva de overwrite atual:
* TemplateName:
**/
package br.com.dlp.jazzqa.usuariojazz;
import java.util.Date;
import java.util.List;
import javax.jws.WebService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;... | darciopacifico/omr | tags/PreSCMSetup/JazzQA/bsn/src/main/java/br/com/dlp/jazzqa/usuariojazz/UsuarioJazzBusinessImpl.java | Java | apache-2.0 | 2,401 |
/*
* Copyright 2005-2018 Dozer 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 ... | orange-buffalo/dozer | core/src/test/java/com/github/dozermapper/core/functional_tests/model/AbstractDto.java | Java | apache-2.0 | 873 |
/*
* 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 ... | zzcclp/carbondata | integration/presto/src/main/prestodb/org/apache/carbondata/presto/CarbondataSplitManager.java | Java | apache-2.0 | 9,571 |
package org.manalith.sojipum.db;
import java.sql.SQLException;
import org.manalith.sojipum.R;
import org.manalith.sojipum.model.Item;
import org.manalith.sojipum.model.Mode;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
import com.j256.ormlite.android.apptoo... | mmx900/sojipum | Sojipum/src/org/manalith/sojipum/db/DatabaseHelper.java | Java | apache-2.0 | 1,799 |
/*
* Copyright 2015 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.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, soft... | droolsjbpm/drools | drools-mvel/src/test/java/org/drools/mvel/compiler/phreak/PhreakLiaNodeTest.java | Java | apache-2.0 | 7,187 |
package com.nearinfinity.examples.zookeeper.confservice;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.TimeUnit;
import org.apache.zookeeper.KeeperException;
public class ConfigUpdater {
public static final String PATH = "/config";
private ActiveKeyValueStore _store;
... | httpgithub/zk | src/main/java/com/nearinfinity/examples/zookeeper/confservice/ConfigUpdater.java | Java | apache-2.0 | 1,085 |
/*
* 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")... | adamrduffy/trinidad-1.0.x | trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/XhtmlConstants.java | Java | apache-2.0 | 10,748 |
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$$Fortran.java | Java | apache-2.0 | 4,496 |
package org.springframework.data.sample.entities.integration;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.springframework.data.annotation.Id;
import org.springframework.data.crate.core.mapping.annotations.Table;
@Table(name="sub_class", nu... | KPTechnologyLab/spring-data-crate | src/test/java/org/springframework/data/sample/entities/integration/SimpleEntityWithId.java | Java | apache-2.0 | 1,818 |
package org.nd4j.linalg.learning.config;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nd4j.linalg.api.ndarray.INDArray;
import org.nd4j.linalg.learning.GradientUpdater;
import org.nd4j.linalg.learning.SgdUpdater;
/**
* SGD updater applies a ... | huitseeker/nd4j | nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/learning/config/Sgd.java | Java | apache-2.0 | 1,366 |
package org.renyan.leveldb.util;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableList.Builder;
import com.google.common.collect.Iterables;
import com.google.common.primitives.Ints;
import org.renyan.leveldb.impl.FileMetaData;
import org.renyan.leveldb.impl.InternalKey... | savechina/leveldb | leveldb/src/main/java/org/renyan/leveldb/util/Level0Iterator.java | Java | apache-2.0 | 5,901 |
/*
* 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-inspector/src/main/java/com/amazonaws/services/inspector/model/TimestampRange.java | Java | apache-2.0 | 5,572 |
/*
* BJAF - Beetle J2EE Application Framework
* 甲壳虫J2EE企业应用开发框架
* 版权所有2003-2015 余浩东 (www.beetlesoft.net)
*
* 这是一个免费开源的软件,您必须在
*<http://www.apache.org/licenses/LICENSE-2.0>
*协议下合法使用、修改或重新发布。
*
* 感谢您使用、推广本框架,若有建议或问题,欢迎您和我联系。
* 邮件: <yuhaodong@gmail.com/>.
*/
package com.beetle.framework.appsrv.moni... | jbeetle/BJAF3.x | src/main/com/beetle/framework/appsrv/monitor/JVMWatcher.java | Java | apache-2.0 | 2,161 |
/*
Copyright 2008-2015 Genentech 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 t... | chemalot/chemalot | src/com/genentech/oechem/tools/Atom.java | Java | apache-2.0 | 1,937 |
/****************************************************************
* Licensed to the AOS Community (AOS) under one or more *
* contributor license agreements. See the NOTICE file *
* distributed with this work for additional information *
* regarding copyright ownership. The AOS licenses this... | XClouded/t4f-core | java/inject/src/main/java/io/aos/guice/by/ib2/SplImpl.java | Java | apache-2.0 | 1,304 |
package ru.job4j.list;
/**
* Класс для проверки замыканий/цикличностей в связном списке, основанном на
* узлах {@link ru.job4j.list.Node}.
*/
public final class ListClosuresChecker {
/**
* Поиск замыканий в списке.
* <p>На вход подаётся любой узел списка в качестве начального. Таким
* образом неоднократный в... | LuxCore/dkitrish | 2.Junior/001.CollectionsPRO/src/main/java/ru/job4j/list/ListClosuresChecker.java | Java | apache-2.0 | 2,025 |
package com.logginghub.logging.frontend.charting.model;
public interface StreamListener<T> {
void onNewItem(T t);
}
| logginghub/core | logginghub-frontend/src/main/java/com/logginghub/logging/frontend/charting/model/StreamListener.java | Java | apache-2.0 | 126 |
/*
* Copyright 2009-2014 University of Hildesheim, Software Systems Engineering
*
* 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
*
* ... | SSEHUB/EASyProducer | Plugins/VarModel/Model.tests/src/net/ssehub/easy/varModel/cstEvaluation/CstEvaluationTests.java | Java | apache-2.0 | 1,779 |
/*
* 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-datapipeline/src/main/java/com/amazonaws/services/datapipeline/model/transform/TaskObjectJsonUnmarshaller.java | Java | apache-2.0 | 3,505 |
package net.leifandersen.mobile.android.netcatch.services;
import net.leifandersen.mobile.android.netcatch.providers.ShowsProvider;
import android.app.Service;
import android.content.Intent;
import android.net.Uri;
import android.os.IBinder;
public class UnsubscribeService extends Service {
// Public parameters
/*... | LeifAndersen/NetCatch | src/net/leifandersen/mobile/android/netcatch/services/UnsubscribeService.java | Java | apache-2.0 | 1,577 |
/*
* Copyright 2016 Joakim Sahlström
*
* 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 agree... | joakimsahlstrom/jles | src/main/java/se/jsa/jles/internal/fields/BooleanField.java | Java | apache-2.0 | 1,137 |
package org.support.project.knowledge.filter;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletRespons... | support-project/knowledge | src/main/java/org/support/project/knowledge/filter/CloseAbleAuthenticationFilter.java | Java | apache-2.0 | 5,248 |
/*
* 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 ... | CodeSmell/camel | components/camel-elytron/src/main/java/org/apache/camel/component/elytron/ElytronComponent.java | Java | apache-2.0 | 7,341 |
/*
* 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-sasportal/v1alpha1/1.31.0/com/google/api/services/sasportal/v1alpha1/model/SasPortalDeviceGrant.java | Java | apache-2.0 | 6,999 |
package com.hp.hpl.spring.test;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.beans.factory.InitializingBean;
import com.hp.hpl.spring.beans.User;
public class UserFactoryBean implements FactoryBean, InitializingBean{
@Override
public Object getObject() throws Exception {
retu... | duantonghai1984/Research | src/main/java/com/hp/hpl/spring/test/UserFactoryBean.java | Java | apache-2.0 | 655 |
/*
* Copyright 2005-2017 Dozer 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 ... | STRiDGE/dozer | core/src/test/java/org/dozer/vo/runtimesubclass/UserPrime.java | Java | apache-2.0 | 956 |
package com.examw.oa.controllers.adm;
import javax.annotation.Resource;
import org.apache.log4j.Logger;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.util.StringUtils;
import org.springfra... | jeasonyoung/examw-oa | src/main/java/com/examw/oa/controllers/adm/LeaveApprovalController.java | Java | apache-2.0 | 10,140 |
/*
* Copyright 2015 Smartling, 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 ... | istvano/keycloak-import-federation | src/test/java/com/changefirst/keycloak/provider/RestUserFederationProviderTest.java | Java | apache-2.0 | 2,909 |
package com.martinbechtle.jcanary.boot;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.test.context.ActiveProfiles;
import org... | MartinBechtle/jcanary | jcanary-boot/src/test/java/com/martinbechtle/jcanary/boot/CanaryControllerEnabledIntegrationTest.java | Java | apache-2.0 | 2,243 |
package com.gemii.lizcloud.api.group.admin.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.gemii.lizcloud.api.group.admin.clients.AdUserMgmtClient;
import com.gemii.lizcloud.api.group.admin.service.AdUserMgm... | YY-ORG/yycloud | yy-api/yy-portal-api/src/main/java/com/gemii/lizcloud/api/group/admin/service/impl/AdUserMgmtServiceImpl.java | Java | apache-2.0 | 1,379 |
package cn.felord.wepay.ali.sdk.api.request;
import java.util.Map;
import cn.felord.wepay.ali.sdk.api.AlipayRequest;
import cn.felord.wepay.ali.sdk.api.internal.util.AlipayHashMap;
import cn.felord.wepay.ali.sdk.api.response.AlipayMarketingCashlessvoucherTemplateModifyResponse;
import cn.felord.wepay.ali.sdk.api.Alip... | NotFound403/WePay | src/main/java/cn/felord/wepay/ali/sdk/api/request/AlipayMarketingCashlessvoucherTemplateModifyRequest.java | Java | apache-2.0 | 4,902 |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
/**
*
*/
/**
* @author antonio081014
* @since Feb 25, 2012, 4:08:20 PM
*/
class Main {
public List<List<String>> cards;
public static void main(String[] args) throws Exception {
... | antonio081014/ACM-UVa-CodeBase | Volumn001/UVa_00127_Accordian_Patience.java | Java | apache-2.0 | 2,466 |
/*******************************************************************************
* Copyright 2013 Thomas Letsch (contact@thomas-letsch.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... | thomasletsch/moserp | backend/common/common-base/src/main/java/org/moserp/common/converter/BigDecimalWrapperToStringConverter.java | Java | apache-2.0 | 1,104 |
/*
* Copyright 2016 RedRoma, 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... | RedRoma/YelpJavaClient | src/main/java/tech/redroma/yelp/oauth/RenewingProvider.java | Java | apache-2.0 | 8,219 |
/*
* Copyright (C) 2013 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... | tonyconstantinides/LiveMultimedia | app/src/main/java/com/constantinnovationsinc/livemultimedia/surfaces/OutputSurface.java | Java | apache-2.0 | 11,014 |
package com.appacitive.khelkund.model.events;
/**
* Created by sathley on 4/1/2015.
*/
public class LogoSelectedEvent {
public int Position;
}
| randhika/khelkund | app/src/main/java/com/appacitive/khelkund/model/events/LogoSelectedEvent.java | Java | apache-2.0 | 150 |
/*
* Copyright © 2015-2016
*
* This file is part of Spoofax for IntelliJ.
*
* 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
*
* Unl... | metaborg/spoofax-intellij | src/main/java/org/metaborg/intellij/idea/projects/ArtifactProjectService.java | Java | apache-2.0 | 4,542 |
package com.itracker.android.sync;
import android.accounts.Account;
import android.content.AbstractThreadedSyncAdapter;
import android.content.ContentProviderClient;
import android.content.ContentResolver;
import android.content.Context;
import android.content.SyncResult;
import android.os.Bundle;
import android.os.Pr... | bigbugbb/iTracker | app/src/main/java/com/itracker/android/sync/SyncAdapter.java | Java | apache-2.0 | 2,276 |
/**
* Copyright 2004-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless requ... | kuali/kpme | tk-lm/impl/src/test/java/org/kuali/kpme/tklm/leave/summary/LeaveSummaryServiceImplTest.java | Java | apache-2.0 | 11,824 |
// Copyright 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 l... | apache/tapestry4 | framework/src/java/org/apache/tapestry/services/impl/DeferredObjectImpl.java | Java | apache-2.0 | 2,108 |
package com.dgrid.plugin;
public interface PluginContext {
public static final String NAME = "pluginContext";
public Object getBean(String name);
}
| samtingleff/dgrid | java/src/api/com/dgrid/plugin/PluginContext.java | Java | apache-2.0 | 152 |
package org.scriptonbasestar.oauth.client.http;
import lombok.experimental.UtilityClass;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.scriptonbasestar.oauth.client.util.OAuthEncodeUtil;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Lis... | BeanSugar/bs-oauth-java | oauth-client/src/main/java/org/scriptonbasestar/oauth/client/http/ParamUtil.java | Java | apache-2.0 | 1,778 |
package com.codeforces.commons.text.similarity;
import com.codeforces.commons.resource.ResourceUtil;
import com.codeforces.commons.text.Patterns;
import com.codeforces.commons.text.StringUtil;
import org.apache.commons.text.similarity.LevenshteinDistance;
import javax.annotation.Nonnull;
import java.util.HashMap;
imp... | Codeforces/codeforces-commons | code/src/main/java/com/codeforces/commons/text/similarity/SimilarityUtil.java | Java | apache-2.0 | 3,276 |
/**
* 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... | StevenMPhillips/arrow | java/vector/src/main/java/org/apache/arrow/vector/VectorSchemaRoot.java | Java | apache-2.0 | 4,351 |
/*******************************************************************************
* Copyright 2016 Alrick Grandison (Algodal) alrickgrandison@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 ... | Rickodesea/GdxScreen | GdxScreen/core/src/com/algodal/gdxscreen/utils/GdxLibrary.java | Java | apache-2.0 | 5,774 |
/*
* Copyright 2015 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 ... | yext/closure-templates | java/tests/com/google/template/soy/pysrc/internal/GenPyExprsVisitorTest.java | Java | apache-2.0 | 26,248 |
/*
* 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")... | avafanasiev/groovy | subprojects/groovy-nio/src/main/java/org/codehaus/groovy/runtime/NioGroovyMethods.java | Java | apache-2.0 | 88,390 |