text stringlengths 7 995k |
|---|
/*
* Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved. This
* code is released under a tri EPL/GPL/LGPL license. You can use it,
* redistribute it and/or modify it under the terms of the:
*
* Eclipse Public License version 1.0
* GNU General Public License version 2
* GNU Lesser General Public... |
package org.apache.lucene.analysis.el;
import org.apache.lucene.analysis.util.CharArraySet;
import org.apache.lucene.util.Version;
import java.util.Arrays;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work fo... |
package no.nav.foreldrepenger.web.app.tjenester.behandling.beregningsgrunnlag.aksjonspunkt;
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Collections;
import java.util.List;
import javax.inject.Inject;
import no.nav.f... |
/*
* Copyright 2014 Midokura SARL
*
* 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... |
package com.cropster.capsulecrm.client.model;
import com.fasterxml.jackson.annotation.JsonRootName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder;
import lombok.Builder;
import lombok.Value;
import lombok.experimental.Wither;
/**
*... |
import Algos.LCS;
import org.junit.Assert;
public class TestLCSDPSkip extends LCSFrameWork {
public TestLCSDPSkip() {
try {
m = LCS.class.getDeclaredMethod("dpSkip", String.class, String.class);
} catch (NoSuchMethodException e) {
Assert.fail();
}
}
} |
package br.com.u2d.nfe.schema_4.retConsStatServ;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapt... |
/*
* Copyright (C) 2016 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... |
/*
* 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 ... |
package net.djcp.mjappupdater;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.AsyncTask;
import org.jsoup.Jsoup;
public class PlayStore {
private static final String URL_WEB_PLAY_STORE = "https://play.google.com/store/apps/details?id=%s";
private stat... |
/*
* 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 ... |
package com.google.android.gms.internal;
import com.google.android.gms.ads.internal.util.client.zzb;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.Future;
import org.json.JSONObject;
@zzha
public class zzdq implements zzdl {
final HashMap<String, zzjb<JSONObject>> zzza = new HashMap(... |
package com.jsoniter;
import com.jsoniter.annotation.*;
import com.jsoniter.any.Any;
import com.jsoniter.fuzzy.StringIntDecoder;
import com.jsoniter.spi.JsonException;
import com.jsoniter.spi.JsoniterSpi;
import junit.framework.TestCase;
import java.io.IOException;
import java.util.Arrays;
import java.util.LinkedList... |
package ru.stqa.pft.addressbook.tests;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.firefox.FirefoxOptions;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.*;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annot... |
package seedu.address.ui;
import static java.util.Objects.requireNonNull;
import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
import javafx.scene.layout.Region;
/**
* A ui for the status bar that is displayed at the header of the application.
*/
public class ResultDisplay extends UiPart<Region> {
... |
/*
* This software is in the public domain under CC0 1.0 Universal plus a
* Grant of Patent License.
*
* To the extent possible under law, the author(s) have dedicated all
* copyright and related and neighboring rights to this software to the
* public domain worldwide. This software is distributed without any
* ... |
/*
* 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 ... |
package bid.adonis.lau.result;
/**
* 错误码接口
*
* @Author Adonis Lau
* @Eamil adonis.lau.dev@gmail.com
* @Date Created in 2017/9/4 16:33
*/
public interface ErrorInfoInterface {
String getCode();
String getMessage();
} |
/*
* 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 u... |
package org.bigbluebutton.red5.pubsub.redis;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;
import java.util.concurrent.LinkedBlockingQueue;
import org.red5.logging.Red5LoggerFactory;
import org.slf4j.Logger;
public class ReceivedMessageHandler... |
package org.infinispan.scripting.logging;
import static org.jboss.logging.Logger.Level.ERROR;
import org.infinispan.commons.CacheException;
import org.jboss.logging.annotations.Cause;
import org.jboss.logging.annotations.LogMessage;
import org.jboss.logging.annotations.Message;
import org.jboss.logging.annotations.Me... |
/*
* 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 ... |
/*
* Copyright 2018-2020 VMware, Inc. All Rights Reserved.
* SPDX-License-Identifier: BSD-2
*/
package com.vmware.dcm.trace;
import com.google.common.base.Preconditions;
import com.google.common.util.concurrent.Futures;
import com.google.common.util.concurrent.ListenableFuture;
import com.google.common.util.concur... |
package im.cave.ms.scripting.map;
import im.cave.ms.client.MapleClient;
import im.cave.ms.scripting.AbstractScriptManager;
import javax.script.Invocable;
import javax.script.ScriptException;
import java.util.HashMap;
import java.util.Map;
/**
* @author fair
* @version V1.0
* @Package im.cave.ms.scripting.map
* @... |
package com.refinitiv.eta.valueadd.reactor;
/**
* TunnelStreamSubmitOptions to be used in the
* {@link TunnelStream#submit(com.refinitiv.eta.transport.TransportBuffer, TunnelStreamSubmitOptions, ReactorErrorInfo)} call.
*/
public class TunnelStreamSubmitOptions
{
int _containerType;
/**
* Returns ... |
package io.github.turtley12.TurtleJoin;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
public final class PlayerJoinListener... |
/*
* 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 ... |
/*
* 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 ... |
/*
* ========================LICENSE_START=================================
* pgSqlBlocks
* %
* Copyright (C) 2017 "Technology" 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
... |
/*
* 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... |
/*-
* -\-\-
* docker-client
* --
* Copyright (C) 2016 Spotify AB
* Copyright (C) 9/2019 - 2020 Dimitris Mandalidis
* --
* 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... |
package com.github.niefy.modules.wx.manage;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import me.chanjar.weixin.mp.api.WxMpService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springf... |
package com.lenovo.safecenter.systeminfo.ui.activity;
import android.content.ContentUris;
import android.content.ContentValues;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.provider.ContactsContract;
import android.view.View;
import android.widget.BaseExpandableListAd... |
/**
* <copyright>
*
* Copyright (c) 2010 SAP AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
... |
package com.sogrey.frame.db.sqlite.model;
import com.sogrey.frame.db.ahibernate.annotation.Column;
import com.sogrey.frame.db.ahibernate.annotation.Id;
//此处没有加Table属性,它是其他类的基类,本类中用@Column注解的字段在子类中同样会被创建到表中.
public class CommonEntity {
@Id
@Column(name = "_id", type = "INTEGER")
private int _id; // 主键,int类型,数据库建表时此... |
package com.github.restup.test;
import com.github.restup.test.resource.Contents;
import com.github.restup.test.resource.RelativeTestResource;
import java.util.Map;
import org.hamcrest.Matcher;
public interface ApiResponse<H> {
static Builder builder() {
return new Builder();
}
default H getHead... |
package com.qmplus.v3.api.services;
import com.fasterxml.jackson.core.type.TypeReference;
import com.qmplus.v3.api.models.request.FormRequest;
import com.qmplus.v3.api.models.response.FormResponse;
import com.qmplus.v3.api.models.response.ResponseWrapper;
import com.qmplus.v3.api.models.response.ResponseWrapperList;
... |
package cn.stylefeng.roses.system.modular.service.impl;
import cn.stylefeng.roses.system.modular.entity.SysPermission;
import cn.stylefeng.roses.system.modular.mapper.SysPermissionMapper;
import cn.stylefeng.roses.system.modular.service.SysPermissionService;
import com.baomidou.mybatisplus.extension.service.impl.Servi... |
package com.alipay.api.request;
import com.alipay.api.domain.AlipayPcreditHuabeiEnterpriseReimburseQueryModel;
import java.util.Map;
import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.AlipayPcreditHuabeiEnterpriseReimburseQueryResponse;
import com.al... |
package io.gomint.inventory.item;
/**
* @author lukeeey
* @version 1.0
* @stability 3
*/
public interface ItemShovel extends ItemTool {
} |
package net.coscolla.comicstrip.util;
import android.support.test.espresso.IdlingResource;
import java.util.concurrent.atomic.AtomicInteger;
import timber.log.Timber;
/**
* Espresso Idling resource that handles waiting for RxJava Observables executions.
* This class must be used with RxIdlingExecutionHook.
* Bef... |
package com.allo.simpletodo;
import android.content.Context;
import android.support.v4.content.ContextCompat;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.a... |
/*
* This file is generated by jOOQ.
*/
package com.example.db.jooq.gen.tables.daos;
import com.example.db.jooq.gen.tables.JItinerary;
import com.example.db.jooq.gen.tables.pojos.ItineraryVo;
import com.example.db.jooq.gen.tables.records.ItineraryRecord;
import java.util.List;
import javax.annotation.Generated;
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.implementation;
import com.azure.core.annotation.BodyParam;
import com.azure.core.annotation.Delete;
import com.azure.co... |
/**
* 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... |
package com.auth0.android.lock.views;
import android.content.Context;
import androidx.annotation.NonNull;
import android.util.AttributeSet;
import android.util.Log;
import com.auth0.android.lock.internal.configuration.PasswordComplexity;
import com.auth0.android.lock.internal.configuration.PasswordStrength;
public ... |
/*
* Copyright 2000-2017 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... |
package com.yugabyte.yw.common.logging;
import akka.dispatch.Batchable;
import akka.dispatch.Dispatcher;
import akka.dispatch.ExecutorServiceFactoryProvider;
import akka.dispatch.MessageDispatcherConfigurator;
import scala.concurrent.duration.Duration;
import scala.concurrent.duration.FiniteDuration;
import java.util.... |
/*
* Copyright (c) 2014, Bruce Schubert <bruce@emxsys.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright
* ... |
/*
* The MIT License (MIT)
*
* Copyright � 2013 Clover Studio Ltd. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limit... |
package org.visp.core;
// C++: class vrRGBa
public class VpRGBa {
public char R,G,B,A;
public static final char alphaDefault = 255;
public VpRGBa(){
this((char) 0,(char) 0,(char) 0,alphaDefault);
}
public VpRGBa(char r,char g, char b){
this(r,g,b,alphaDefault);
}
public VpRGBa(char r,char g, char... |
/*
* Copyright 2020-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.vimukti.accounter.core.reports.generators;
import com.vimukti.accounter.core.Utility_R;
import com.vimukti.accounter.web.client.core.ClientFinanceDate;
import com.vimukti.accounter.web.client.ui.serverreports.AutomaticTransactionsServerReport;
import com.vimukti.accounter.web.client.ui.serverreports.Report... |
package com.digitalsanctuary.spring.user.exceptions;
/**
* The Class UserAlreadyExistException.
*/
public class UserAlreadyExistException extends RuntimeException {
/** The Constant serialVersionUID. */
private static final long serialVersionUID = -1644467856346594869L;
/**
* Instantiates a new user already e... |
/**
* Copyright 2015-2017 The OpenZipkin Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
package com.tom.lemenintl.repo;
import com.tom.lemenintl.entity.TransFreeConsult;
import com.tom.lemenintl.vo.T2001;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository... |
/**
* <copyright>
* </copyright>
*
*
*/
package de.darwinspl.preferences.resource.dwprofile.util;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
* A utility class that encapsulates some case operations that need to be
* performed unchecked, because of Java's type erasure.
*... |
/*
* Copyright 2005-2011 Alfresco Software 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 applic... |
/*
* Copyright 2013 MovingBlocks
*
* 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... |
import static org.junit.Assert.*;
import java.util.*;
import java.sql.Timestamp;
import org.junit.Before;
import org.junit.Test;
import org.loopa.comm.obtaineddata.ObtainedData;
public class ObtainedDataTest {
int configId;
int numDataItems;
int idOutput;
Timestamp searchTimeStamp;
ObtainedData ... |
package org.nocrala.tools.gis.data.esri.shapefile.shape.shapes;
import java.io.IOException;
import java.io.InputStream;
import org.nocrala.tools.gis.data.esri.shapefile.ValidationPreferences;
import org.nocrala.tools.gis.data.esri.shapefile.exception.InvalidShapeFileException;
import org.nocrala.tools.gis.data.esri.s... |
/*
* Copyright 2020 Google LLC. 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... |
package cmds;
import main.Main;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.block.Block;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.command.Cons... |
/*
* Copyright (c) 2013,2014 Scott Oaks. All rights reserved.
*/
package com.adaivskenan.performance.StockBatching.src.net.sdo;
import java.text.DateFormat;
import java.text.NumberFormat;
import java.text.ParseException;
import java.util.Date;
import java.util.Locale;
import javax.persistence.EntityManager;
import... |
package es.enxenio.sife1701.model.util;
/**
* Clase auxiliar para enviar la información del cliente al servidor.
* Created by crodriguez on 19/09/2016.
*/
public class Imagen {
private String path;
private String archivoTemporal;
private boolean eliminar = false;
public Imagen() {
}
pub... |
/*
* Copyright 2017 HugeGraph Authors
*
* 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, Ve... |
/*
* Copyright 2000-2012 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... |
/*
* Copyright (C) 2019 The Turms Project
* https://github.com/turms-im/turms
*
* 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
*
*... |
/*
* Licensed to the Hipparchus project under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The Hipparchus project licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
import java.util.*;
import org.hyperdex.client.Client;
import org.hyperdex.client.ByteString;
import org.hyperdex.client.HyperDexClientException;
import org.hyperdex.client.Iterator;
import org.hyperdex.client.LessEqual;
import org.hyperdex.client.GreaterEqual;
import org.hyperdex.client.LessThan;
import org.hyperdex.... |
/*
* Copyright (C) 2017 Synacts GmbH, Switzerland (info@synacts.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... |
package org.bouncycastle.openpgp.operator.jcajce;
import java.io.OutputStream;
import java.security.InvalidKeyException;
import java.security.PrivateKey;
import java.security.Provider;
import java.security.SecureRandom;
import java.security.Signature;
import java.security.SignatureException;
import org.bouncycastle.j... |
package com.example.controller.upload;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang.RandomStringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.... |
package jadx.gui.ui.codearea;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import javax.swing.*;
import javax.swing.border.EmptyBorder;
import jadx.api.ICodeInfo;
import jadx.gui.utils.UiUtils;
/**
* A pa... |
package org.dreamcat.cli.generator.mybatis.sql;
import java.util.List;
import lombok.Data;
/**
* @author Jerry Will
* @version 2021-11-29
*/
@Data
public class TableDef {
private String name;
private String comment;
private List<ColumnDef> columns;
private IndexDef primaryKey;
private List<Ind... |
package org.kuali.ole.ncip.bo;
/**
* Created with IntelliJ IDEA.
* User: sambasivam
* Date: 9/12/13
* Time: 3:41 PM
* To change this template use File | Settings | File Templates.
*/
public class OLELookupUserEntityPhoneBo {
private String phone;
private String typeCode;
public String getPhone() {
... |
package org.smartregister.path.receiver;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import org.smartregister.domain.FetchStatus;
import java.util.ArrayList;
import static org.smartregister.ut... |
package es.tid.pce.pcep.objects.tlvs.subtlvs;
import es.tid.pce.pcep.objects.tlvs.subtlvs.PCEPSubTLV;
/**
All PCEP TLVs have the following format:
Type: 2 bytes
Length: 2 bytes
Value: variable
A PCEP object TLV is comprised of 2 bytes for the type, 2 bytes
specifying the TLV length, and a value field.
... |
/*
*{
* Copyright (C) 1996 - 2000 Active Intellect, Inc.
* All Rights Reserved.
*}
*/
package com.ai.servlets;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.Hashtable;
/**
* A strategy pattern for responding to update errors on a web form
*/
public interface IServletRequestUpdateFailure ... |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
/*
* web: org.nrg.xnat.turbine.modules.screens.BuildPipelineParameters
* XNAT http://www.xnat.org
* Copyright (c) 2005-2017, Washington University School of Medicine and Howard Hughes Medical Institute
* All Rights Reserved
*
* Released under the Simplified BSD.
*/
package org.nrg.xnat.turbine.modules.screens;
... |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... |
package com.nenu.market.service.cityservice.impl;
import com.nenu.market.mapper.citymapper.CityMapperXY;
import com.nenu.market.service.cityservice.CityServiceXY;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
@Service("cityServiceXY")
public class CityService... |
/*
* This file is part of the PSL software.
* Copyright 2011-2015 University of Maryland
* Copyright 2013-2017 The Regents of the University of California
*
* 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... |
package selenium.boot.core.support;
import org.springframework.core.AttributeAccessor;
import org.springframework.core.AttributeAccessorSupport;
/**
* An {@link org.springframework.core.AttributeAccessor} that synchronizes on a mutex (not this) before
* modifying or accessing the underlying attributes.
*
* @au... |
package hello;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.nio.charset.StandardCharsets;
import org.junit.Before;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class HelloWorldTests {
private ByteA... |
/*
* Copyright (c) Microsoft Corporation and Dapr Contributors.
* Licensed under the MIT License.
*/
package io.dapr.serializer;
import io.dapr.utils.TypeRef;
import java.io.IOException;
/**
* Serializes and deserializes application's objects.
*/
public interface DaprObjectSerializer {
/**
* Serializes t... |
package gr.iti.mklab.utils;
import java.util.ArrayList;
import org.bson.Document;
import com.mongodb.client.MongoCollection;
import dcnn.DcnnPipeline;
import dcnn.classes.ConceptData;
import dcnn.classes.ImageConceptData;
public class ConceptDetectionThread extends Thread {
public static final boolean verbose = ... |
package com.epam.ecsvparser.web.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.... |
/*
* This file is part of ComputerCraft - http://www.computercraft.info
* Copyright Daniel Ratcliffe, 2011-2016. Do not distribute without permission.
* Send enquiries to dratcliffe@gmail.com
*/
package dan200.computercraft.shared.peripheral.speaker;
import dan200.computercraft.api.peripheral.IPeripheral;
import ... |
package org.apache.solr.search;
/*
* 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 ... |
package com.cloudberry.cloudberry.topology.model;
import lombok.Data;
import org.bson.types.ObjectId;
import java.io.Serializable;
@Data
public class TopologyEdge implements Serializable {
public static final String DEFAULT_NAME = "DEFAULT";
private final String name;
private final ObjectId source;
... |
package io.github.xiewinson.smoothrefresh.library;
import android.content.Context;
import android.util.TypedValue;
public class ScreenUtil {
public static int getPxByDp(Context context, int dp) {
return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, context.getResources().getDisplayMet... |
package com.tencent.videoplayer.render;
import android.content.Context;
public class TextureRenderViewFactory extends RenderViewFactory {
public static TextureRenderViewFactory create() {
return new TextureRenderViewFactory();
}
@Override
public IRenderView createRenderView(Context context) ... |
/*
* 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 ... |
package quick.pager.shop.service.impl;
import cn.hutool.core.util.IdUtil;
import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import org.apache.co... |
package iurii.job.interview.leetcode;
import org.junit.Test;
import java.util.Arrays;
import static org.assertj.core.api.Assertions.assertThat;
public class FourSumTest {
@Test
public void testWith2Sums() {
FourSum fourSum = new FourSum();
assertThat(fourSum.fourSumWith2Sums(new int[]{1, 0}... |
/*
* 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 ... |
/*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package xyz.danoz.recyclerviewfastscroller.vertical;
import android.content.Context;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerv... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.