text stringlengths 7 995k |
|---|
/*
* Copyright (c) 2021-2022. CropDB 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 appl... |
package subsets;
import java.util.ArrayList;
import java.util.List;
/**
* User: wuruoye
* Date: 2019/1/21 20:36
* Description:
*/
public class Main {
public static void main(String[] args) {
}
public static List<List<Integer>> subsets(int[] nums) {
List<List<Integer>> result = new ArrayList<... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.media.router.cast;
import android.annotation.SuppressLint;
import android.content.Context;
import android.os.Bundle;
... |
package com.orientechnologies.orient.core.db.hook;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertNull;
import java.util.List;
import java.util.UUID;
import org.testng.annotations.Test;
import com.orientechnologies.orient.core.db.document.ODatabaseDocument;
import com.... |
package com.luck.picture.lib.photoviewluck;
import android.graphics.RectF;
/**
* Interface definition for a callback to be invoked when the internal Matrix has changed for
* this View.
*/
public interface OnMatrixChangedListener {
/**
* Callback for when the Matrix displaying the Drawable has changed. Th... |
/*
* 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... |
package uk.gov.ons.ctp.response.action.domain.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.query.Procedure;
import uk.gov.ons.ctp.response.action.domain.model.ActionReport;
import java... |
/*
* The MIT License
* Copyright (c) 2020- Nordic Institute for Interoperability Solutions (NIIS)
* Copyright (c) 2019 Estonian Information System Authority (RIA)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software")... |
package mfood.spotting.eng_mahnoud83coffey.embfoodspottingshipper.Common;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.location.Location;
import android.support.annotation.NonNull;
import android.text.format.DateFormat;
im... |
/*
* 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 ... |
// Autogenerated AST node
package org.python.antlr.base;
import org.antlr.runtime.CommonToken;
import org.antlr.runtime.Token;
import org.python.antlr.AST;
import org.python.antlr.PythonTree;
import org.python.antlr.adapter.AstAdapters;
import org.python.antlr.base.excepthandler;
import org.python.antlr.base.expr;
impo... |
package de.fourtytwoways.onion.domain.model.contract;
// (c) 2022 Thomas Herrmann, 42ways GmbH
import de.fourtytwoways.onion.domain.model.asset.Money;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;
import java.math.BigDecimal;
... |
/*
* Copyright 2009 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... |
package net.lvtushiguang.trip.bean;
/**
* Created by zhangdeyi on 15/7/22.
*/
public class OpenIdCatalog {
public static final String QQ = "qq";
public static final String WEIBO = "weibo";
public static final String WECHAT = "wechat";
public static final String GITHUB = "github";
} |
package org.rs2server.rs2.content.misc;
import org.rs2server.rs2.action.impl.ProductionAction;
import org.rs2server.rs2.model.Animation;
import org.rs2server.rs2.model.Graphic;
import org.rs2server.rs2.model.Item;
import org.rs2server.rs2.model.Mob;
import org.rs2server.rs2.model.Sound;
import java.util.HashMap;
impo... |
/**
* UserDB is used to hardcode some customers and sellers used for debugging and testing functionality
* @author Ross Parsons
* */
package com.finalproject.group11.users;
import com.finalproject.group11.model.Cart;
import com.finalproject.group11.model.Customer;
import com.finalproject.group11.model.Seller;
imp... |
package com.example.fortourism.acticity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.annotation.RequiresApi;
import android.support.v4.app.Fragment;
import android.view.LayoutInfl... |
package com.boot.gen;
import com.boot.gen.domain.GenTable;
import com.boot.gen.domain.GenTableColumn;
import com.boot.gen.mapper.GenTableColumnMapper;
import com.boot.gen.service.GenService;
import com.boot.gen.utils.GenUtils;
import com.boot.gen.utils.VelocityInitializer;
import org.apache.velocity.Template;
import o... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* 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 limitation the rights
* to use, cop... |
package com.melt.star.model;
import lombok.Data;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@Entity
@Data
public class Gym {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String name;
@ManyToMany(mappedBy = "gyms")
priv... |
/*******************************************************************************
* Copyright (c) 2005, 2014 springside.github.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
*******************************************************************************/
package com.oakhole.core.persistence;
... |
// "Bring 'int i' into Scope" "true"
class a {
void foo (int y) {
int i = 0;
while (y != 0) {
{
{
i = 0;
}
}
}
int j = i;
}
} |
/*
* 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 org.dhallj.core.typechecking;
import java.net.URI;
import java.nio.file.Path;
import org.dhallj.core.Expr;
import org.dhallj.core.Visitor;
final class NonNegativeIndices extends Visitor.Property {
public static final Visitor<Boolean> instance = new NonNegativeIndices();
@Override
public Boolean onIdent... |
/*
* Copyright (c) 2010 Rackspace
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condition... |
/*
* 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 ij;
import ij.plugin.Converter;
import ij.plugin.frame.Recorder;
import ij.macro.Interpreter;
import ij.text.TextWindow;
import ij.plugin.frame.PlugInFrame;
import java.awt.*;
import java.util.*;
import ij.gui.*;
/** This class consists of static methods used to manage ImageJ's windows. */
public class WindowM... |
/*
* 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.in28minutes.microservices.currencyconversionservice.resource;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
//@FeignClient(name = "currency-exchange-service", url = "${CURRENCY... |
package com.noseparte.game.pack.entity;
import com.noseparte.common.bean.BagBean;
import com.noseparte.common.db.pojo.GeneralBean;
import com.noseparte.game.pack.BagStrategyHandler;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Transient;
import org.springframework.dat... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.javaagent.instrumentation.armeria.v1_3;
import static net.bytebuddy.matcher.ElementMatchers.isMethod;
import static net.bytebuddy.matcher.ElementMatchers.isPublic;
import static net.bytebuddy.matcher.ElementM... |
package de.metas.impexp.format;
import org.compiere.model.I_C_DataImport_Run;
import lombok.Builder;
import lombok.NonNull;
import lombok.Value;
/*
* #%L
* de.metas.adempiere.adempiere.base
* %%
* Copyright (C) 2019 metas GmbH
* %%
* This program is free software: you can redistribute it and/or modify
* it un... |
package cn.ittiger.uc.view.behavior;
import cn.ittiger.uc.R;
import cn.ittiger.uc.view.behavior.base.HeaderScrollingViewBehavior;
import android.content.Context;
import android.support.design.widget.CoordinatorLayout;
import android.util.AttributeSet;
import android.view.View;
import java.util.List;
/**
* Created ... |
package com.codetaylor.mc.pyrotech.modules.tech.basic.plugin.top.provider;
import com.codetaylor.mc.pyrotech.modules.core.plugin.top.PluginTOP;
import com.codetaylor.mc.pyrotech.modules.tech.basic.ModuleTechBasic;
import com.codetaylor.mc.pyrotech.modules.tech.basic.plugin.waila.delegate.CompostBinProviderDelegate;
im... |
/*
* Created on 12 Jun 2009
*/
package org.fluidproject.engage;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.fluidproject.engage.xml.XPPJSONGenerator;
import uk.org.ponder.json.support.JSONProvider;
import uk.org.ponder.saxalizer.SAXalizerMappingCo... |
package com.leafcastle.android.intentsclassexample;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will ex... |
/**
* Copyright 2009 Martin Traverso
*
* 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 module59packageJava0;
import java.lang.Integer;
public class Foo188 {
Integer int0;
Integer int1;
public void foo0() {
new module59packageJava0.Foo187().foo5();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public voi... |
package seedu.room.logic;
import static org.junit.Assert.assertTrue;
import static seedu.room.testutil.TypicalPersons.getTypicalResidentBook;
import java.util.Arrays;
import java.util.List;
import org.junit.Before;
import org.junit.Test;
import seedu.room.model.Model;
import seedu.room.model.ModelManager;
import se... |
package org.razertory.javacodelab.dp;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
public class SubsetSumTest {
int set[];
int sum;
int n;
SubsetSum subsetSum;
@Before
public void setup() {
this.set = new int[]{3, 34, 4, 12, 5, 2};
this.sum = 9;
... |
package me.moxun.dreamcatcher.connector.inspector.protocol.module;
import org.json.JSONObject;
import me.moxun.dreamcatcher.connector.inspector.protocol.ChromeDevtoolsDomain;
import me.moxun.dreamcatcher.connector.inspector.protocol.ChromeDevtoolsMethod;
import me.moxun.dreamcatcher.connector.jsonrpc.JsonRpcPeer;
p... |
package com.github.paulcwarren.springdocs.stores;
import com.github.paulcwarren.springdocs.domain.Document;
import org.springframework.content.commons.renditions.Renderable;
import org.springframework.content.commons.search.Searchable;
import org.springframework.content.mongo.store.MongoContentStore;
import org.sprin... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot.Subsystems.Intake;
import edu.wpi.first.wpilibj2.command.CommandBase;
// NOTE: Consider using this ... |
package com.akikanellis.skyspark.api.algorithms.bnl;
import com.akikanellis.skyspark.api.algorithms.Point;
import com.akikanellis.skyspark.api.test_utils.SparkContextRule;
import org.apache.spark.api.java.JavaPairRDD;
import org.apache.spark.api.java.JavaRDD;
import org.junit.Before;
import org.junit.Rule;
import org.... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
package com.kgc.invitation;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.kgc.invitation.bean.Detail;
import com.kgc.invitation.bean.DetailExample;
import com.kgc.invitation.bean.Invitation;
import com.kgc.invitation.invitationservice.mapper.DetailMapper;
import com.kgc.invitatio... |
package test;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.util.ArrayList;
import java.util.List;
import java.util.Pro... |
package com.zgkj.api.express.ups.entity.response;
import lombok.Data;
/**
* @Author: Lucent
* @Date: 2020/2/1 9:46
*/
@Data
public class Error {
private String code;
private String message;
} |
package org.apache.lucene.analysis.cz;
/*
* 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, ... |
/*
* 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 ... |
/**
* 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... |
/*
* 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... |
/***
* ASM: a very small and fast Java bytecode manipulation framework
* Copyright (c) 2000-2011 INRIA, France Telecom
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistribution... |
package com.ervin.litepal.model.meizhi;
import com.ervin.litepal.table.Meizhis;
import java.util.List;
/**
* Created by Ervin on 2016/3/24.
*/
public class MeizhiEntity {
public List<Meizhis> results;
} |
package models;
public class MonsterCard extends Card {
public MonsterCard(String name, String description, CardID cardID, String cardPath, Integer attack, Integer defense) {
super(name, description, cardID, cardPath);
this.attack = attack;
this.defense = defense;
}
private String name;
private MonsterTyp... |
package spacesettlers.graphics;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.Polygon;
import java.awt.Shape;
import java.awt.geom.AffineTransform;
import java.awt.geom.Ellipse2D;
import spacesettlers.gui.JSpaceSettlersComponent;
import spacesettlers.objects.Flag;
import spa... |
package net.minecraft.entity.item;
import net.minecraft.entity.Entity;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.BlockPos;
import net.minecraft.util.EnumParticleTypes;
import net.... |
package org.apache.spark.sql.delta.constraints;
/**
* Change to drop a constraint from a table. Note that this is always idempotent - no error
* will be thrown if the constraint doesn't exist.
* <p>
* param: constraintName the name of the constraint to drop - case insensitive
*/
public class DropConstraint imple... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.content_shell_apk;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import... |
package com.nju.easyhotel.dao;
import com.nju.easyhotel.po.HotelManagerPo;
import com.nju.easyhotel.po.MemberPo;
import com.nju.easyhotel.po.WebManagerPo;
import com.nju.easyhotel.po.WebMarketerPo;
public interface LoginDao {
MemberPo memberLogin(String username,String pwd);
HotelManagerPo hotelLogin(String usernam... |
package frc.robot.commands;
import edu.wpi.first.wpilibj2.command.CommandBase;
import frc.robot.subsystems.Intake;
import frc.robot.Constants.Direction;;
public class RunIntake extends CommandBase{
private Intake intake;
private Direction direction;
public RunIntake(Intake intake, Direction direction) {... |
/*
* 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 cn.threefishes.cloudrepository.dao;
import cn.threefishes.cloudrepository.entity.StatStoreHours;
import cn.threefishes.cloudrepository.entity.StatStoreHoursExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
public interface StatStoreHoursMap... |
/*
* 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... |
package tacos.web;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.s... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v6/resources/billing_setup.proto
package com.google.ads.googleads.v6.resources;
public final class BillingSetupProto {
private BillingSetupProto() {}
public static void registerAllExtensions(
com.google.protobuf.Exte... |
package com.github.watertreestar.http.async;
public enum HttpResponseParserCode {
OK,
PARTIAL
} |
package party.lemons.taniwha.block.types;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.WoodButtonBlock;
import org.jetbrains.annotations.Nullable;
import party.lemons.taniwha.block.modifier.BlockModifier;
import party.lemons.taniwha.block.modifier.BlockWithModifiers;
import part... |
/*
* Copyright 2016 Netflix, 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 ag... |
package com.kazuki43zoo.jpetstore.mapper;
import com.kazuki43zoo.jpetstore.domain.Category;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Mapper;
@Mapper
@CacheNamespace
public interface CategoryMapper {
Category getCategory(String categoryId);
} |
package com.platypii.baseline.views.charts;
import com.platypii.baseline.altimeter.MyAltimeter;
import com.platypii.baseline.location.LocationProvider;
import com.platypii.baseline.location.MyLocationListener;
import com.platypii.baseline.location.TimeOffset;
import com.platypii.baseline.measurements.MLocation;
import... |
package filters;
import java.io.IOException;
import javax.persistence.EntityManager;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.... |
package com.jk.java.array;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
public class FindDuplicates {
public static void main(String[] args) {
System.out.println(findDuplicates(new int[]{1, 2, 2, 1, 3}));
Sy... |
/*
* Copyright 2000-2011 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.rbkmoney.fraudbusters.management.dao.condition;
import lombok.AllArgsConstructor;
import lombok.Getter;
import org.jooq.Comparator;
import org.jooq.Field;
@Getter
@AllArgsConstructor
public class SimpleConditionField<T> implements ConditionField<T, T> {
private final Field<T> field;
private final... |
package com.github.guqt178.gallery;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
i... |
/**
* Copyright 2012 Impetus Infotech.
*
* 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 ag... |
package com.iplusplus.custopoly.model.gamemodel.element;
import com.iplusplus.custopoly.model.gamemodel.behaviour.ConstructionAllowance;
import com.iplusplus.custopoly.model.gamemodel.command.DrawCommunityCommand;
public class CommunityChest extends SpecialLand {
public CommunityChest() {
setConstructionBehavior... |
package org.openapitools.model;
import org.openapitools.model.Animal;
import org.openapitools.model.CatAllOf;
import io.swagger.annotations.ApiModelProperty;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.b... |
/*
* 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.apache.archiva.dependency.tree.maven2;
/*
* 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 A... |
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
package com.huaweicloud.sdk.cloudide.v2.region;
import com.huaweicloud.sdk.core.region.Region;
import com.huaweicloud.sdk.core.utils.StringUtils;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
public class CloudIDERegion {
public static final Region CN_NO... |
package com.mapbox.navigation.base.route;
import com.mapbox.api.directions.v5.DirectionsCriteria;
import com.mapbox.api.directions.v5.models.DirectionsRoute;
import com.mapbox.api.directions.v5.models.RouteOptions;
import com.mapbox.geojson.Point;
import com.mapbox.navigation.base.internal.extensions.MapboxRouteOption... |
package scraper.nodes.core.functional;
import org.junit.jupiter.api.Test;
import java.text.SimpleDateFormat;
import java.util.List;
import java.util.Map;
import static scraper.test.FunctionalTest.runWith;
public class DateNodeTest {
@Test
public void emptyGroupsCapture0() {
String min = "yyyy-MM-d... |
package com.endava.cats.aop;
import com.endava.cats.util.ConsoleUtils;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.fusesource.jansi.Ansi;
import org.slf4j.MDC;
import org.springframework.stereotype.Component;
/**
* Aspe... |
/*
* [New BSD License]
* Copyright (c) 2011-2012, Brackit Project Team <info@brackit.org>
* 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 ... |
package com.atguigu.gmall.ware.mapper;
import com.atguigu.gmall.ware.bean.WareOrderTask;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
/**
* @param
* @return
*/
@Repository
public interface WareOrderTaskMapper extends BaseMapper<WareOrderTask> {
} |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2008-2009, The KiWi Project (http://www.kiwi-project.eu)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*... |
/**
* Orignal work: Copyright 2015 www.seleniumtests.com
* Modified work: Copyright 2016 www.infotel.com
* Copyright 2017-2019 B.Hecquet
*
* 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 Licens... |
/*******************************************************************************
* Copyright (c) 2001, 2004, 2007 IBM Corporation and others.
* 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 distributi... |
static int dsu(int i) {
return dsu[i] == i ? i : (dsu[i] = dsu(dsu[i]));
} |
package com.kennycason.kumo.bg;
import android.graphics.Point;
import android.graphics.Rect;
import com.kennycason.kumo.collide.Collidable;
import com.kennycason.kumo.collide.RectanglePixelCollidable;
import com.kennycason.kumo.image.CollisionRaster;
/**
* Created by kenny on 6/30/14.
*/
public class CircleBackgr... |
package com.hczhang.hummingbird.cloud;
import com.hczhang.hummingbird.cloud.lifecycle.LifecycleAware;
/**
* An interface to provide methods to monitor cloud behaviors.
* Created by steven on 5/22/14.
*/
public interface CloudMonitor {
/**
* Add a listener to monitor the {@code ICould} lifecycle.
* ... |
/*******************************************************************************
* Copyright (c) 2005, 2015 IBM Corporation and others.
* 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... |
package generated.main;
import de.fhg.iais.roberta.runtime.*;
import de.fhg.iais.roberta.runtime.ev3.*;
import de.fhg.iais.roberta.mode.general.*;
import de.fhg.iais.roberta.mode.action.*;
import de.fhg.iais.roberta.mode.sensor.*;
import de.fhg.iais.roberta.mode.action.ev3.*;
import de.fhg.iais.roberta.mode.sensor.ev... |
/**
* 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 2015-2019 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* abc
*/
package com.microsoft.azure.management.loganalytics.v2020_08_01.implementation;
... |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.copy4dev.ssmbase.common.supcan.common.fonts;
import com.copy4dev.ssmbase.common.supcan.annotation.common.fonts.SupFont;
import com.copy4dev.ssmbase.common.utils.ObjectUtils;
import com.thoug... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.