code stringlengths 572 46.5k | repo_name stringlengths 7 62 | path stringlengths 6 247 | language stringclasses 7
values | license stringclasses 15
values | size int64 572 46.5k |
|---|---|---|---|---|---|
package org.lucee.extension.orm.hibernate;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import lucee.loader.util.Util;
import lucee.runtime.db.DataSource;
import lucee.runtime.type.Struct;
public class Dialect {
private static Struct dialects = CommonUtil.createStruct();
private sta... | lucee/extension-hibernate | source/java/src/org/lucee/extension/orm/hibernate/Dialect.java | Java | lgpl-2.1 | 7,184 |
// Copyright 2016 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License... | ethersphere/go-ethereum | vendor/github.com/ethereum/go-ethereum/les/api_backend.go | GO | lgpl-3.0 | 7,289 |
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library 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 2.1 of the License, or (at your option)
* any la... | csierra/com-liferay-adaptive-media | adaptive-media-image-impl/src/main/java/com/liferay/adaptive/media/image/internal/processor/util/TiffOrientationTransformer.java | Java | lgpl-3.0 | 7,719 |
package com.springuni.auth.crypto;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import com.springuni.auth.domain.model.user.Password;
import groovy.util.logging.Slf4j;
import org.junit.Test;
/**
* Created by lcsontos on 6/9/17.
... | springuni/springuni-particles | springuni-auth-model/src/test/com/springuni/auth/crypto/Pbkdf2PasswordSecurityTest.java | Java | lgpl-3.0 | 978 |
/**
* DynamicReports - Free Java reporting library for creating reports dynamically
*
* Copyright (C) 2010 - 2015 Ricardo Mariaca
* http://www.dynamicreports.org
*
* This file is part of DynamicReports.
*
* DynamicReports is free software: you can redistribute it and/or modify
* it under the terms of ... | svn2github/dynamicreports-jasper | dynamicreports-core/src/main/java/net/sf/dynamicreports/report/base/crosstab/DRCrosstabMeasure.java | Java | lgpl-3.0 | 5,278 |
package br.com.allowpay.facade;
import org.springframework.stereotype.Service;
import com.hazelcast.core.ITopic;
import br.com.allowpay.canonical.Balance;
import br.com.allowpay.dtos.ClientChildDto;
import br.com.allowpay.dtos.ClientDadDto;
@Service
public class RegisterClientNotificationFacade {
// @Autowired
// ... | tgl-dogg/AllowPay-AgiTech | server/allowpay-soluction/allowpay-api/src/main/java/br/com/allowpay/facade/RegisterClientNotificationFacade.java | Java | lgpl-3.0 | 750 |
#ifndef CORE_COMPONENT_REPORTINTERFACE_HPP
#define CORE_COMPONENT_REPORTINTERFACE_HPP
#include <unordered_map>
#include <string>
#include <memory>
#include <core/datatypes/VariableDatatype.hpp>
using namespace std;
namespace core{
/*
A single information gathered which may or may not reported based on the Runtime... | JulianKunkel/siox | src/include/core/reporting/ComponentReportInterface.hpp | C++ | lgpl-3.0 | 1,715 |
package tr.com.agem.core.context;
import java.util.Collections;
import java.util.Enumeration;
import javax.servlet.http.HttpSession;
/**
* AryaSession is a wrapper class which extends HttpSession capabilities
* It is strictly used with AryaContext which can be accessed anywhere inside the Arya application
* Mor... | Agem-Bilisim/arya | arya-core-api/src/main/java/tr/com/agem/core/context/AryaSession.java | Java | lgpl-3.0 | 1,323 |
/*
Copyright (C) 2007 <SWGEmu>
This File is part of Core3.
This program is free software; you can redistribute
it and/or modify it under the terms of the GNU Lesser
General Public License as published by the Free Software
Foundation; either version 2 of the License,
or (at your option) any later version.
... | TheAnswer/FirstTest | src/main.cpp | C++ | lgpl-3.0 | 2,580 |
/*
The zlib/libpng License
Copyright (c) 2018 Arthur Brainville
Copyright (c) 2015 Andrew Fenn
Copyright (c) 2005-2010 Phillip Castaneda (pjcast -- www.wreckedgames.com)
This software is provided 'as-is', without any express or implied warranty. In no
event will the authors be held liable for any damages arising from... | xarray/osgPhysX | utils/ois/mac/CocoaHelpers.h | C | lgpl-3.0 | 1,515 |
package com.opendoorlogistics.codefromweb.jxmapviewer2.fork.swingx.input;
import java.awt.Dimension;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.event.MouseWheelEvent;
import java.awt.event.MouseWheelListener;
import java.awt.geom.Point2D;
import com.opendoorlogistics.codefromweb.jxmapviewer2.f... | PGWelch/com.opendoorlogistics | com.opendoorlogistics.codefromweb/src/com/opendoorlogistics/codefromweb/jxmapviewer2/fork/swingx/input/ZoomMouseWheelListenerCursor.java | Java | lgpl-3.0 | 1,446 |
package com.devsumo.examples.cxf.java.userservice.slightlybroken;
import java.util.Set;
import javax.xml.bind.annotation.XmlRootElement;
import org.apache.commons.lang3.builder.ToStringBuilder;
/**
* Simple value-object representing an identifier, full name and set of notes for
* a user.
*/
@XmlRootElement(name... | devsumo/java-cxf-examples | wadl-tests/src/main/java/com/devsumo/examples/cxf/java/userservice/slightlybroken/UserDetails.java | Java | unlicense | 1,023 |
package edu.java.common3;
//initiate a anonymous inner class will create a instance of this class and this class will be expired.
//anonymous class must extends a super class or an interface, but only one class or one interface
//anonymous class can not be a abstract class and does not have constructor
//anonymous cla... | DataMonster/Java | Common/src/edu/java/common3/AnonymousClass.java | Java | unlicense | 915 |
/*
* Copyright 2017 Nikolas Falco
* 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... | nfalco79/tools-ant | src/main/java/com/github/nfalco79/tools/ant/taskdefs/BundleInfo.java | Java | apache-2.0 | 1,486 |
package com.macro.mall.service.impl;
import com.github.pagehelper.PageHelper;
import com.macro.mall.dao.PmsProductCategoryAttributeRelationDao;
import com.macro.mall.dao.PmsProductCategoryDao;
import com.macro.mall.dto.PmsProductCategoryParam;
import com.macro.mall.dto.PmsProductCategoryWithChildrenItem;
import com.ma... | macrozheng/mall | mall-admin/src/main/java/com/macro/mall/service/impl/PmsProductCategoryServiceImpl.java | Java | apache-2.0 | 6,893 |
package com.example.mainframework02;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.support.v4.view.ViewPager.OnPageChangeListener;
import android.view.Layou... | liyanippon/working | java开发资料/dataStu/MainFramework02/src/com/example/mainframework02/TraditionalViewPagerAcvitity.java | Java | apache-2.0 | 4,101 |
/*
* Copyright (c) 2008-2013 David Soergel <dev@davidsoergel.com>
* Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*/
package edu.berkeley.compbio.ncbitaxonomy;
import com.davidsoergel.dsutils.CacheManager;
import com.davidsoergel.stats.ContinuousDistribution1D;
imp... | davidsoergel/ncbitaxonomy | ncbitaxonomyServer/src/main/java/edu/berkeley/compbio/ncbitaxonomy/NcbiTaxonomyPhylogeny.java | Java | apache-2.0 | 27,409 |
/*
* Copyright (c) 2021, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... | wso2/carbon-identity-framework | components/workflow-mgt/org.wso2.carbon.identity.workflow.mgt/src/main/java/org/wso2/carbon/identity/workflow/mgt/handler/WorkflowPendingUserAuthnHandler.java | Java | apache-2.0 | 4,919 |
package com.outbrain.ob1k.consul;
import com.google.common.base.Preconditions;
import com.outbrain.ob1k.server.Server;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.net.URL;
import java.net.URLConnection;
/**
* A server listener that registers the service in the co... | lifey/ob1k | ob1k-consul/src/main/java/com/outbrain/ob1k/consul/ConsulServiceRegistrator.java | Java | apache-2.0 | 2,526 |
/*
* Copyright 2020 The RoboZonky 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 law or ... | triceo/zonkybot | robozonky-app/src/main/java/com/github/robozonky/app/summaries/Summarizer.java | Java | apache-2.0 | 2,822 |
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... | gravitee-io/graviteeio-access-management | gravitee-am-service/src/main/java/io/gravitee/am/service/ApplicationService.java | Java | apache-2.0 | 3,929 |
/*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | consulo/consulo-python | python-impl/src/main/java/com/jetbrains/python/codeInsight/PyDunderAllReference.java | Java | apache-2.0 | 3,871 |
/*
* Copyright 2016 Christoph Böhme
*
* 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... | cboehme/metafacture-core | metafacture-triples/src/test/java/org/metafacture/triples/TripleObjectWriterTest.java | Java | apache-2.0 | 3,005 |
/*
* 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... | sopel39/presto | presto-main/src/main/java/io/prestosql/memory/MemoryManagerConfig.java | Java | apache-2.0 | 3,380 |
/*
* 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 ... | nishantmonu51/hive | ql/src/java/org/apache/hadoop/hive/ql/plan/ColumnStatsUpdateWork.java | Java | apache-2.0 | 3,464 |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | bit-zyl/Alluxio-Nvdimm | core/server/src/main/java/alluxio/worker/netty/DataServerHandler.java | Java | apache-2.0 | 4,459 |
/*
* Copyright (C) 2015 SoftIndex 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 ... | softindex/datakernel | cloud-dataflow/src/main/java/io/datakernel/dataflow/node/NodeReduceSimple.java | Java | apache-2.0 | 3,216 |
// Setup three.js WebGL renderer
var renderer = new THREE.WebGLRenderer( { antialias: true } );
// Append the canvas element created by the renderer to document body element.
document.body.appendChild( renderer.domElement );
//Create a three.js scene
var scene = new THREE.Scene();
//Create a three.js camera
var came... | mikitski/webVR_ex1 | js/demoWebVR.js | JavaScript | apache-2.0 | 3,480 |
/*
* Copyright 2016 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... | vam-google/google-cloud-java | google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/SerializationTest.java | Java | apache-2.0 | 5,196 |
/*
* Copyright (c) 2005-2010 Grameen Foundation USA
* 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
*
* Unl... | mifos/1.5.x | application/src/test/java/org/mifos/application/collectionsheet/business/CollSheetCustBOIntegrationTest.java | Java | apache-2.0 | 8,692 |
/**
*
*/
package gash.router.server;
import java.util.concurrent.LinkedBlockingQueue;
import routing.Pipe.CommandMessage;
/**
* @author saurabh
*
*/
public class QueueManager {
private LinkedBlockingQueue<CommandMessage> toWorkServer;
private LinkedBlockingQueue<CommandMessage> fromWorkServer;
public Queu... | sjsucmpe275/fluffy | src/gash/router/server/QueueManager.java | Java | apache-2.0 | 645 |
// Copyright 2016 PingCAP, 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... | XuHuaiyu/tidb | expression/scalar_function.go | GO | apache-2.0 | 16,611 |
package com.example.tests;
import static org.junit.Assert.assertThat;
import static org.hamcrest.Matchers.*;
import java.util.Random;
import org.testng.annotations.Test;
import com.example.utils.SortedListOf;
public class GroupModificationTests extends TestBase {
@Test(dataProvider = "randomValidGroupGenerator")
... | orlovakn/Programming-For-Testers-Java | addressbook-selenium-tests/src/com/example/tests/GroupModificationTests.java | Java | apache-2.0 | 825 |
package apple.uikit;
import apple.NSObject;
import apple.foundation.NSArray;
import apple.foundation.NSCoder;
import apple.foundation.NSMethodSignature;
import apple.foundation.NSSet;
import org.moe.natj.c.ann.FunctionPtr;
import org.moe.natj.general.NatJ;
import org.moe.natj.general.Pointer;
import org.moe.natj.gener... | multi-os-engine/moe-core | moe.apple/moe.platform.ios/src/main/java/apple/uikit/UICellAccessoryOutlineDisclosure.java | Java | apache-2.0 | 6,476 |
/**
* 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... | BUPTAnderson/apache-hive-2.1.1-src | ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDAFMin.java | Java | apache-2.0 | 5,913 |
/*
Copyright 2009-(CURRENT YEAR) Igor Polevoy
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... | javalite/activejdbc | activeweb/src/main/java/org/javalite/activeweb/ActionNotFoundException.java | Java | apache-2.0 | 1,030 |
/*
* Copyright (c) 2011-2013, 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... | intrack/BoofCV-master | evaluation/visualization/src/boofcv/alg/sfm/d2/VideoStitchBaseApp.java | Java | apache-2.0 | 7,661 |
/*
Copyright 2020 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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | googleinterns/demo-for-google-identity | src/main/java/com/google/googleidentity/oauth2/endpoint/UnlinkEndpoint.java | Java | apache-2.0 | 3,572 |
/*
* 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-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/transform/AcceptAttachmentRequestProtocolMarshaller.java | Java | apache-2.0 | 2,706 |
/**
* PeptideProphetRocDAOImpl.java
* @author Vagisha Sharma
* Aug 4, 2009
* @version 1.0
*/
package org.yeastrc.ms.dao.analysis.peptideProphet.ibatis;
import java.util.List;
import org.yeastrc.ms.dao.analysis.peptideProphet.PeptideProphetRocDAO;
import org.yeastrc.ms.dao.ibatis.BaseSqlMapDAO;
import org.yeastrc... | yeastrc/msdapl | MS_LIBRARY/src/org/yeastrc/ms/dao/analysis/peptideProphet/ibatis/PeptideProphetRocDAOImpl.java | Java | apache-2.0 | 1,286 |
/*******************************************************************************
* Copyright 2013 André Rouél and Dominik Seichter
*
* 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
*
*... | before/quality-check | modules/quality-immutable-object/src/test/java/net/sf/qualitycheck/immutableobject/util/FieldUtilTest.java | Java | apache-2.0 | 3,299 |
/*
* Copyright 2005-2014 The Kuali Foundation.
*
* Licensed under the Educational Community License, Version 1.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/ecl1.php
*
* Unless required b... | blackcathacker/kc.preclean | coeus-code/src/main/java/org/kuali/coeus/s2sgen/impl/generate/support/RRKeyPersonExpandedV1_2Generator.java | Java | apache-2.0 | 20,428 |
/*
* 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 applica... | lsmaira/gradle | subprojects/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/AbstractModuleDescriptorParser.java | Java | apache-2.0 | 2,811 |
/* 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... | motorina0/flowable-engine | modules/flowable-ui-idm/flowable-ui-idm-rest/src/main/java/org/flowable/app/rest/idm/IdmProfileResource.java | Java | apache-2.0 | 4,674 |
/*
* Copyright 2019 EPAM Systems
*
* 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 ... | reportportal/service-api | src/main/java/com/epam/ta/reportportal/core/widget/impl/UpdateWidgetHandlerImpl.java | Java | apache-2.0 | 7,008 |
package ca.ualberta.cs.cshaffer_notes;
import android.os.Bundle;
import android.os.Parcelable;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
public class AddNewClaimActivity extends Activity ... | ChristineShaffer/Cshaffer-notes | src/ca/ualberta/cs/cshaffer_notes/AddNewClaimActivity.java | Java | apache-2.0 | 1,596 |
/*
* Copyright 2016 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... | sabbyanandan/spring-cloud-dataflow | spring-cloud-dataflow-configuration-metadata/src/test/java/org/springframework/cloud/dataflow/configuration/metadata/ApplicationConfigurationMetadataResolverTests.java | Java | apache-2.0 | 3,512 |
package com.gdn.venice.persistence;
import java.io.Serializable;
import javax.persistence.*;
import java.util.List;
/**
* The persistent class for the fin_ar_funds_in_report_type database table.
*
*/
@Entity
@Table(name="fin_ar_funds_in_report_type")
public class FinArFundsInReportType implements Serializable {... | yauritux/venice-legacy | Venice/Venice-Interface-Model/src/main/java/com/gdn/venice/persistence/FinArFundsInReportType.java | Java | apache-2.0 | 1,983 |
/*
* Modifications Copyright (c) 2019 BrowserUp, Inc.
*/
package com.browserup.bup.filters;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.HttpHeaderNames;
import io.netty.handler.codec.http.HttpHeaders;
import io.netty.handler.codec.http.HttpObject;
import io.netty.handler.codec.... | browserup/browserup-proxy | browserup-proxy-core/src/main/java/com/browserup/bup/filters/AutoBasicAuthFilter.java | Java | apache-2.0 | 2,314 |
// Copyright 2016 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 applicable law... | gawkermedia/googleads-java-lib | modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/utils/v201601/batchjob/BatchJobHelper.java | Java | apache-2.0 | 3,979 |
/*
* 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-client-core-parent/bigtable-hbase-integration-tests-common/src/test/java/com/google/cloud/bigtable/hbase/TestListTables.java | Java | apache-2.0 | 2,502 |
// Copyright 2019 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 ... | firebase/firebase-android-sdk | firebase-common/src/main/java/com/google/firebase/internal/DataCollectionConfigStorage.java | Java | apache-2.0 | 4,219 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2013, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not us... | arquillian/arquillian-extension-portal | warp/portlet/src/main/java/org/jboss/arquillian/portal/warp/portlet/server/execution/PortalWarpFilter.java | Java | apache-2.0 | 5,349 |
/*
Copyright 2020-2022 Gravitational, 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 writing,... | gravitational/teleport | api/types/provisioning.go | GO | apache-2.0 | 10,041 |
/*
*
* 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
... | adejanovski/cassandra-jdbc-wrapper | src/main/java/com/github/adejanovski/cassandra/jdbc/AbstractConnection.java | Java | apache-2.0 | 4,187 |
/**
* Copyright 2012 Brandon Grenier
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | BrandonJohnGrenier/jbehave-junit-reporter-2 | src/com/moralesce/jbehave/reporter/AbstractScenarioReporter.java | Java | apache-2.0 | 1,736 |
/**
* 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... | yncxcw/PreemptYARN-2.7.1 | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/webapp/TestNMWebServices.java | Java | apache-2.0 | 19,478 |
/*
* 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... | kj2648/ExoplayerMultitrackTry | demo/src/main/java/com/google/android/exoplayer/demo/player/ExtractorRendererBuilder.java | Java | apache-2.0 | 3,793 |
/*
* Created by wingjay on 11/16/16 3:32 PM
* Copyright (c) 2016. All rights reserved.
*
* Last modified 11/10/16 11:05 AM
*
* Reach me: https://github.com/wingjay
* Email: yinjiesh@126.com
*/
package com.wingjay.jianshi.network;
import android.content.Context;
import android.text.TextUtils;
import com.wing... | wingjay/jianshi | android/app/src/main/java/com/wingjay/jianshi/network/GlobalRequestInterceptor.java | Java | apache-2.0 | 2,160 |
/*
* Copyright 2002-2016 The Jamocha 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.jamocha.org/
*
* Unless required by applicable law or agreed to in writing, s... | RWTH-i5-IDSG/jamocha | src/main/java/org/jamocha/function/impls/predicates/DummyPredicate.java | Java | apache-2.0 | 2,364 |
package landmaster.landcraft.block;
import java.util.*;
import javax.annotation.*;
import landmaster.landcraft.content.*;
import net.minecraft.block.*;
import net.minecraft.block.material.*;
import net.minecraft.block.properties.*;
import net.minecraft.block.state.*;
import net.minecraft.entity.player.*;
import net.... | Landmaster/LandCraft | src/main/java/landmaster/landcraft/block/BlockTomatoCrop.java | Java | apache-2.0 | 6,828 |
/**
* Copyright 2014, WebGate Consulting AG
*
* 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... | OpenNTF/XPagesToolkit | org.openntf.xpt.objectlist/src/org/openntf/xpt/objectlist/datasource/DSSObjectDataContainer.java | Java | apache-2.0 | 1,674 |
/*
* 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-iot/src/main/java/com/amazonaws/services/iot/model/transform/TopicRuleMarshaller.java | Java | apache-2.0 | 4,100 |
package org.goodsmanagement.service.impl;
import org.goodsManagement.dao.impl.GetGoodsDaoImpl;
import org.goodsManagement.po.GetGoodsDto;
import org.goodsManagement.service.impl.GetGoodsServiceImpl;
import org.goodsManagement.vo.GetGoodsVO;
import org.junit.Before;
import org.junit.Test;
import org.springframework.con... | sunshine-life/GoodsManagement | src/test/java/org/goodsmanagement/service/impl/GetGoodsServiceTest.java | Java | apache-2.0 | 1,450 |
package com.itreddys.evillage.rest.controller;
import java.util.List;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.anno... | shankar-reddy/eVillage | src/main/java/com/itreddys/evillage/rest/controller/HospitalController.java | Java | apache-2.0 | 2,749 |
package com.github.izhangzhihao.SSMSeedProject.Security;
import com.github.izhangzhihao.SSMSeedProject.Utils.SHAUtils;
import lombok.extern.slf4j.Slf4j;
import org.jetbrains.annotations.NotNull;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.authentication.Authentica... | izhangzhihao/SSMSeedProject | src/main/java/com/github/izhangzhihao/SSMSeedProject/Security/AuthenticationFilter.java | Java | apache-2.0 | 3,183 |
/*
* Copyright 2013-2019 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... | joshiste/spring-cloud-netflix | spring-cloud-netflix-ribbon/src/main/java/org/springframework/cloud/netflix/ribbon/apache/RibbonLoadBalancingHttpClient.java | Java | apache-2.0 | 4,421 |
# -*- coding: UTF-8 -*-
#
# Copyright 2016 Opsview 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 la... | ceramyq/python-ems | ems/exceptions.py | Python | apache-2.0 | 6,174 |
/*
* Copyright 2002-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | qobel/esoguproject | spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/server/jetty/JettyRequestUpgradeStrategy.java | Java | apache-2.0 | 7,378 |
# Copyright 2015 OpenStack Foundation
# 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 requ... | Juniper/nova | nova/conf/scheduler.py | Python | apache-2.0 | 33,242 |
package se.amsen.par.twootoot.source;
import android.content.Context;
import android.net.Uri;
import java.io.File;
import java.io.FileReader;
import java.io.Serializable;
import se.amsen.par.twootoot.source.result.Failure;
import se.amsen.par.twootoot.source.result.Result;
/**
* @author params on 07/11/15
*/
publ... | paramsen/twootoot | twootoot/core/src/main/java/se/amsen/par/twootoot/source/CacheStorageSource.java | Java | apache-2.0 | 1,007 |
/**
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this ... | nickman/tsdblite | src/main/java/com/heliosapm/tsdblite/jmx/ManagedForkJoinWorkerThreadFactory.java | Java | apache-2.0 | 3,394 |
/*
* 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 ... | greghogan/flink | flink-connectors/flink-connector-kafka/src/test/java/org/apache/flink/streaming/connectors/kafka/shuffle/KafkaShuffleITCase.java | Java | apache-2.0 | 18,882 |
/*
* Copyright 2010-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 "license" fil... | cedral/aws-sdk-cpp | aws-cpp-sdk-autoscaling/source/model/LaunchTemplate.cpp | C++ | apache-2.0 | 3,651 |
package com.coolweather.activity;
import com.coolweather.app.R;
import com.coolweather.util.ActivityCollector;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import... | lykesun/coolweather | src/com/coolweather/activity/FutrueWeather.java | Java | apache-2.0 | 3,647 |
/*
* 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 ... | kkhatua/drill | exec/java-exec/src/test/java/org/apache/drill/exec/coord/zk/TestZKACL.java | Java | apache-2.0 | 7,257 |
/*
* Copyright 2017 Objectos Software LTDA.
*
* Reprodução parcial ou total proibida.
*/
package br.com.objectos.way.xls;
import br.com.objectos.way.code.SimpleTypeInfo;
import br.com.objectos.way.on.ConcretePropertyQuery;
import com.squareup.javapoet.TypeName;
/**
* @author Marcio Endo
*/
class EnumRowProperty... | objectos/way | way-compiler/src/main/java/br/com/objectos/way/xls/EnumRowPropertyFormat.java | Java | apache-2.0 | 992 |
// Copyright 2021 PingCAP, 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... | c4pt0r/tidb | table/tables/state_remote.go | GO | apache-2.0 | 6,883 |
/*
* Copyright 2016 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 a... | googlearchive/science-journal | OpenScienceJournal/whistlepunk_library/src/robolectricTest/java/com/google/android/apps/forscience/whistlepunk/scalarchart/ChartViewTest.java | Java | apache-2.0 | 2,102 |
/*
* 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 ... | gzsombor/ranger | agents-common/src/main/java/org/apache/ranger/plugin/conditionevaluator/RangerContextAttributeValueNotInCondition.java | Java | apache-2.0 | 2,456 |
/*
* Copyright 2010-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 "license" fil... | cedral/aws-sdk-cpp | aws-cpp-sdk-route53/source/model/ListHostedZonesResult.cpp | C++ | apache-2.0 | 2,608 |
/**
* 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 applicable law or agreed to in writing, software
* dist... | ramach/ground | ground-core/src/main/java/edu/berkeley/ground/api/models/postgres/PostgresNodeFactory.java | Java | apache-2.0 | 3,775 |
/*
* Copyright (c) 2010-2017 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... | Pardus-Engerek/engerek | testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestEntertainment.java | Java | apache-2.0 | 8,388 |
/*
* Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not us... | sunny256/crate | sql/src/test/java/io/crate/executor/transport/kill/TransportKillAllNodeActionTest.java | Java | apache-2.0 | 3,102 |
/*
* Copyright 2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | RyanTech/fogger | fogger/src/main/java/pl/allegro/fogger/ui/drawer/DrawerBackgroundAdapter.java | Java | apache-2.0 | 2,342 |
/*
* Copyright 2013-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | spring-cloud/spring-cloud-release-tools | projects/reactor/src/main/java/releaser/reactor/ReactorConfiguration.java | Java | apache-2.0 | 2,439 |
/*
* 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... | JoelMarcey/buck | src/com/facebook/buck/io/filesystem/impl/DefaultProjectFilesystemView.java | Java | apache-2.0 | 7,996 |
/**
* Copyright 2015 Smart Society Services B.V.
*
* 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
*/
package org.opensmartgridplatform.ada... | OSGP/Platform | osgp-adapter-ws-publiclighting/src/main/java/org/opensmartgridplatform/adapter/ws/publiclighting/endpoints/PublicLightingScheduleManagementEndpoint.java | Java | apache-2.0 | 8,223 |
/*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | Nethmi-Pathirana/carbon-analytics | components/org.wso2.carbon.stream.processor.core/src/main/java/org/wso2/carbon/stream/processor/core/internal/StreamProcessorDataHolder.java | Java | apache-2.0 | 7,534 |
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package net.sf.mmm.search.indexer.impl.lucene;
import java.io.IOException;
import javax.inject.Inject;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.index.IndexWrite... | m-m-m/search | search/indexer/mmm-search-indexer-impl-lucene/src/main/java/net/sf/mmm/search/indexer/impl/lucene/LuceneSearchIndexerBuilder.java | Java | apache-2.0 | 6,992 |
/*
* 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 ... | phrocker/accumulo | test/src/main/java/org/apache/accumulo/test/randomwalk/concurrent/ChangePermissions.java | Java | apache-2.0 | 4,631 |
import com.google.sps.data.Book;
import com.google.sps.data.BookServiceClient;
import java.lang.IllegalAccessException;
import java.lang.NullPointerException;
import java.text.ParseException;
import org.json.JSONObject;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.Run... | googleinterns/step-2020-wipeout-jr | portfolio/src/test/java/com/google/sps/BookServiceClientTest.java | Java | apache-2.0 | 1,008 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/drs/model/GetReplicationConfigurationRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::drs::Model;
using namespace Aws::Utils::Json;
us... | aws/aws-sdk-cpp | aws-cpp-sdk-drs/source/model/GetReplicationConfigurationRequest.cpp | C++ | apache-2.0 | 714 |
// 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 applicable... | edouardKaiser/dashboard | src/app/backend/resource/pod/podcommon.go | GO | apache-2.0 | 2,823 |
package workers
import (
"fmt"
"github.com/APTrust/exchange/constants"
"github.com/APTrust/exchange/context"
"github.com/APTrust/exchange/models"
"github.com/APTrust/exchange/network"
"github.com/nsqio/go-nsq"
"os"
"strings"
"time"
)
// APTFixityChecker performs ongoing fixity checks on files stored in S3.
t... | APTrust/exchange | workers/apt_fixity_checker.go | GO | apache-2.0 | 10,617 |
/*
* Copyright 2017 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... | gstevey/gradle | subprojects/ide-native/src/main/java/org/gradle/ide/xcode/internal/DefaultXcodeProject.java | Java | apache-2.0 | 1,939 |
/*
* 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-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/transform/GetCampaignActivitiesRequestProtocolMarshaller.java | Java | apache-2.0 | 2,781 |
/*
* Copyright 2014 Spotify AB. All rights reserved.
*
* The contents of this file are 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
*... | spotify/hdfs2cass | src/main/java/com/spotify/hdfs2cass/crunch/thrift/ThriftConverter.java | Java | apache-2.0 | 1,985 |
package com.rest.api.auction.exception;
import javax.ws.rs.core.Response;
public class AuctionerException extends Throwable {
/**
*
*/
private static final long serialVersionUID = 2262812408478748939L;
private int code;
private Response.Status status;
public AuctionerException() {
this(500, Response.St... | SaurabhKukreti/dropwizard-sample | src/main/java/com/rest/api/auction/exception/AuctionerException.java | Java | apache-2.0 | 885 |
/*
Copyright 2017 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 applicable law or agreed to in ... | googlevr/seurat | seurat/ingest/view_group_loader_factory_test.cc | C++ | apache-2.0 | 3,209 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.