text
stringlengths
7
995k
package lazy.exnihiloauto.setup.other; import lazy.exnihiloauto.block.compressed.*; import lazy.exnihiloauto.utils.BlockItemRegObj; import lazy.exnihiloauto.utils.CompressionTier; @SuppressWarnings("FieldCanBeLocal") public class CompressedBlocks { public static BlockItemRegObj<CompressedBlock> COMPRESSED_COBBLE,...
/* * 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 (c) Numerical Method Inc. * http://www.numericalmethod.com/ * * THIS SOFTWARE IS LICENSED, NOT SOLD. * * YOU MAY USE THIS SOFTWARE ONLY AS DESCRIBED IN THE LICENSE. * IF YOU ARE NOT AWARE OF AND/OR DO NOT AGREE TO THE TERMS OF THE LICENSE, * DO NOT USE THIS SOFTWARE. * * THE SOFTWARE IS PROVIDE...
package org.apache.lucene.server.handlers; /* * 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 Licen...
package com.sap.cloud.lm.sl.cf.core.helpers; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.InputStream; import java.util.Arrays; import java.util.Set; import java.util.stream.Collectors; import org.junit.Before; import org.junit.Test; import org.junit.runner.R...
package com.example.crowderapp.models.dao; import com.example.crowderapp.models.Experiment; import com.example.crowderapp.models.Trial; import com.google.android.gms.tasks.Task; import java.util.List; /** * Data access object for trial persistent data. */ public abstract class TrialDAO { protected String expe...
/* * Copyright 2016 Richard Cartwright * * 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 a...
package uk.gov.hmcts.reform.fpl.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Profile; import springfox.documentation.builders.PathSelectors; import springfox.documentation.builders.RequestHandlerSe...
/** * 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. */ package com.microsoft.azure.management.mediaservices.v2018_03_30_preview; import com.fa...
package com.gempukku.swccgo.cards.set12.dark; import com.gempukku.swccgo.cards.AbstractNormalEffect; import com.gempukku.swccgo.cards.GameConditions; import com.gempukku.swccgo.cards.effects.usage.OncePerPhaseEffect; import com.gempukku.swccgo.common.*; import com.gempukku.swccgo.game.PhysicalCard; import com.gempukku...
/******************************************************************************* * Copyright (c) 2004, 2005 Actuate Corporation. * 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 av...
/* * Copyright (c) 2017, 2018 Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2010-2015 Sonatype, Inc. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You m...
/* * Copyright 2002-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...
package com.etc.dao.impl; import java.util.List; import com.etc.dao.TypeDaocgl; import com.etc.entity.Type; import com.etc.entity.Typecgl; import com.etc.util.BaseDao; import com.etc.util.PageData; public class TypeDaocglImpl implements TypeDaocgl { @Override public PageData<Typecgl> queryType(int page, int pageS...
package tech.paulosalgado.ifoodorder.infrastructure.web.exception; import lombok.AllArgsConstructor; import lombok.Getter; @AllArgsConstructor @Getter public class WebServiceException { private String type; private String message; }
/** * Copyright (c) 2011, The University of Southampton and the individual contributors. * 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 ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.analytics.synapse.artifacts.models; import com.azure.core.annotation.Fluent; import com.fasterxml.jackson.annotation.JsonProperty; import com.fa...
// ============================================================================ // // Copyright (C) 2006-2019 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
package dailyExercise.dao; import dailyExercise.bean.User; public interface IUserDao { public String save(User user); public User findById(String userId); public boolean updateUser(User user); }
package com.eletac.tronwallet; 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 execute on an Android d...
package com.johnsonmaung.skytextinputlayout; 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.*; /** * Instrumentation test, which will execut...
/************************************************************************* * Copyright 2012 Regents of the University of Michigan * * NCIBI - The National Center for Integrative Biomedical Informatics (NCIBI) * http://www.ncib.org. * * This product includes software developed by other, see specific not...
package com.okta.developer.blog; import com.okta.developer.blog.BlogApp; import com.okta.developer.blog.config.TestSecurityConfiguration; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.springfra...
package me.andrew.silentbackground.mixin; import me.andrew.silentbackground.SilentBackgroundMod; import net.minecraft.client.option.GameOptions; import net.minecraft.client.sound.SoundSystem; import net.minecraft.sound.SoundCategory; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injectio...
package com.bird.web.file.upload; import com.bird.web.file.upload.validator.ValidateResult; import org.springframework.web.multipart.MultipartFile; import java.util.List; /** * 定义抽象的文件上传监听器基类 * @author liuxx * @date 2018/5/2 */ public class AbstractUploadListener implements IUploadListener { @Override pu...
package app.we.go.utils.android; import android.util.Patterns; import android.widget.EditText; public class EditTextUtils { public static boolean areAllNonEmpty(EditText... fields) { for (EditText editText : fields) { if (editText.getText().toString().isEmpty()) { return false...
package com.changgou.user.controller; import com.changgou.user.pojo.Areas; import com.changgou.user.service.AreasService; import com.github.pagehelper.PageInfo; import entity.Result; import entity.StatusCode; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation....
package ca.bc.gov.open.pssg.rsbc.dps.dpsemailpoller.email.services; import ca.bc.gov.open.pssg.rsbc.models.DpsFileInfo; import ca.bc.gov.open.pssg.rsbc.models.DpsMetadata; import ca.bc.gov.open.pssg.rsbc.dps.dpsemailpoller.email.DpsEmailException; import ca.bc.gov.open.pssg.rsbc.dps.dpsemailpoller.email.models.DpsEmai...
package com.fajardo.countrylookuppipeline.transforms; import org.apache.beam.sdk.transforms.SimpleFunction; import org.apache.beam.sdk.values.KV; /** * The input string has the format "city,country". This transform returns the string as a KV with format of * "city: country" */ public class MapCityToCountryFn ext...
package main.java.model.geometry.solar; import java.time.Year; import java.util.GregorianCalendar; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.SimpleTimeZone; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.gson.JsonArray; import com.google.gson....
/* * Copyright 2012 GWT-Bootstrap * * 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...
/* * Copyright 2012-2018 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...
// Template Source: Enum.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -------------------------------------------------...
/* ******************************************************************************* * L O G I T A G S * Software and Programming * Dr. Wolfgang Winter * Germany * * All rights reserved * * Copyright 2016 Dr. Wolfgang Winter * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use...
/* 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 ...
/* * Copyright 2016-2021 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...
/** * @file XFooterView.java * @create Mar 31, 2012 9:33:43 PM * @author Maxwin * @description XListView's footer */ package com.mayinews.mv.view; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.LinearLayout; imp...
package com.java110.api.listener.inspectionRoute; import com.alibaba.fastjson.JSONObject; import com.java110.api.listener.AbstractServiceApiListener; import com.java110.core.annotation.Java110Listener; import com.java110.core.context.DataFlowContext; import com.java110.core.smo.community.ICommunityInnerServiceSMO; imp...
package org.omp.opcua.test.server; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.security.KeyPair; import java.security.KeyStore; import java.security.PrivateKey; import java.security.cert.X509Certificate; import java.util.ArrayList; import java.util.Set; import java.ut...
package com.seleniumtests.connectors.selenium.fielddetector; import java.awt.Rectangle; import kong.unirest.json.JSONObject; public class Field { private Label label; private String className; private Field relatedField; public Field() {} public Field(int left, int right, int top, int bottom, String text, S...
package net.querz.mcaselector.tiles; import javafx.application.Platform; import javafx.beans.property.ObjectProperty; import javafx.beans.property.SimpleObjectProperty; import javafx.scene.SnapshotParameters; import javafx.scene.canvas.Canvas; import javafx.scene.canvas.GraphicsContext; import javafx.scene.image.Image...
package com.Bolsadeideas.springboot.app.models.entity; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persist...
// // ======================================================================== // Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others. // // This program and the accompanying materials are made available under // the terms of the Eclipse Public License 2.0 which is available at // https://www.eclipse.org/leg...
package com.aviskar.sample.domain; /** * Implementation of {@link StudentFactory}. * * @author Aviskar * @since 1.0 * @see {@link Student} * @deprecated It is not being used in this version. * */ @Deprecated public class StudentFactoryImpl implements StudentFactory { private StudentFactoryImpl() { } pr...
/* * Copyright 2017-2020 original 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 applicable law or agr...
/* * Copyright (C) 2014 iWedia S.A. 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, ...
/* * Copyright 2015-2020 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...
package com.nuwarobotics.example.motion.demo; import android.os.Bundle; import android.text.method.ScrollingMovementMethod; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.PopupMenu; import android.widget.TextView; import com.nuwarobotics.example.R; import com.nu...
// // ======================================================================== // Copyright (c) 1995-2017 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
package triangle; /** * An implementation that classifies triangles. */ public class Triangle { /** * This enum gives the type of the triangle. */ public static enum Type { INVALID, SCALENE, EQUILATERAL, ISOSCELES }; /** * This static method does the actual classification...
/*package gdx.scala.labyrinth.android; import android.os.Bundle; import com.badlogic.gdx.backends.android.AndroidApplication; import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration; import gdx.scala.labyrinth.GdxScalaDemoGame; public class AndroidLauncher extends AndroidApplication { @Override pr...
package com.responsivern; import android.app.Application; import android.content.Context; import android.net.Uri; import com.facebook.react.PackageList; import com.facebook.react.ReactApplication; import com.facebook.react.ReactInstanceManager; import com.facebook.react.ReactNativeHost; import com.facebook.react.Reac...
/* * 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.glassdoor.test.intern.first; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class PaymentApplication { public static void main(String[] args) { SpringApplication.run(PaymentApplication.class...
/* * Copyright (C) 2015 Actor LLC. <https://actor.im> */ package im.actor.runtime.mtproto; import com.google.j2objc.annotations.ObjectiveCName; /** * Created by ex3ndr on 06.02.15. */ public interface Connection { @ObjectiveCName("postWithData:withOffset:withLength:") void post(byte[] data, int offset, i...
/******************************************************************************* * ___ _ ____ ____ * / _ \ _ _ ___ ___| |_| _ \| __ ) * | | | | | | |/ _ \/ __| __| | | | _ \ * | |_| | |_| | __/\__ \ |_| |_| | |_) | * \__\_\\__,_|\___||___/\__|____/|____/ * * Copyright (c...
/* * Copyright 2003 by the Massachusetts Institute of Technology. * * Permission to use, copy, modify, and distribute this * software and its documentation for any purpose and without * fee is hereby granted, provided that the above copyright * notice appear in all copies and that both that copyright * notice an...
/** Copyright 2008-2010 University of Rochester 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...
package com.arcticgreetings.greetingservice; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class GreetingController { @GetMapping("greetings") public String getGreetings() { return "Welcome to the Arcti...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.batchai.models; import com.azure.core.annotation.Immutable; import com.azure.core.util.logging.ClientLogger; import com.fasterxm...
/* * 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 com.atguigu.gmall.pms.controller; import java.util.Arrays; import java.util.List; import java.util.Map; import com.atguigu.core.bean.PageVo; import com.atguigu.core.bean.QueryCondition; import com.atguigu.core.bean.Resp; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import io.swagger.an...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
package net.thucydides.core.sessions; import net.thucydides.core.Thucydides; import net.thucydides.core.annotations.Step; import net.thucydides.core.pages.Pages; import net.thucydides.core.steps.ScenarioSteps; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotation...
package scratch.UCERF3.griddedSeismicity; /** * Small magnitude scaling method. * * @author Peter Powers * @version $Id:$ */ @SuppressWarnings("javadoc") public enum SmallMagScaling { MO_REDUCTION, SPATIAL; }
package frc.robot.commands; import edu.wpi.first.wpilibj2.command.CommandBase; import frc.robot.subsystems.IntakeSubsystem; public class IntakeCargo extends CommandBase{ IntakeSubsystem m_subsystem; /** * @param subsystem */ public IntakeCargo(IntakeSubsystem subsystem) { m_sub...
package com.jlt.jcart.store.back.dto.out; import java.util.List; public class ProductShowOutDTO { private Integer productId; private String productCode; private String productName; private Double price; private Double discount; private Integer stockQuantity; private String mainPicUrl; ...
/* * Copyright 2019 GridGain Systems, Inc. and Contributors. * * Licensed under the GridGain Community Edition License (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.gridgain.com/products/software/community-edition...
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.uiDesigner.designSurface; import com.intellij.ide.DataManager; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.A...
/** * The MIT License (MIT) * * Copyright (c) 2009-2015 FoundationDB, LLC * * 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...
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
package com.batch.android.inbox; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import java.util.ArrayList; import java.util.List; /** * Model for the inbox fetch webservice's response */ public class InboxWebserviceResponse { public boolean hasMore; public boolean didTimeout; @Nu...
/* * 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...
/* * Copyright 2002-2004 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...
package dao.staticdao; import com.avaje.ebean.Model; import models.entity.Static.IdProof; import java.util.List; import java.util.Map; /** * Created by archana on 11/19/16. */ public class IdProofDAO { public static final int IDPROOF_AADHAAR_ID = 3; public IdProof getById(Integer idProofId) { re...
/* * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
/* * 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 com.manson.domain.itemextractor; import com.manson.domain.AbstractObject; import java.util.List; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import lombok.ToString; @Data @NoArgsConstructor @AllArgsConstructor @...
/******************************************************************************* * Copyright 2015 MobileMan GmbH * www.mobileman.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 * ...
package cn.jpush.api.push.model.notification; import cn.jpush.api.push.model.PushModel; import com.google.common.collect.ImmutableMap; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonPrimitive; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util....
/** * 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 com.noahcharlton.stationalpha.block.power; import com.noahcharlton.stationalpha.block.Block; import com.noahcharlton.stationalpha.block.BlockRotation; import com.noahcharlton.stationalpha.world.Tile; public class PowerProducerContainer extends PoweredBlockContainer { private final int powerPerTick; ...
package com.romainpiel.lib.ui.adapter; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import com.romainpiel.lib.ui.listener.OnMenuClickListener; import com.romainpiel.lib.ui.view.ChatItemView; import com.romainpiel.model.Chat; import java.u...
package com.longpengz.tencentim.service.groupOpenHttpSvc.request; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; @Data @Builder @AllArgsConstructor @NoArgsConstructor ...
package com.efindi.batch.commons.tasklet; import com.efindi.batch.commons.style.DefaultStyle; import com.efindi.batch.commons.tasklet.function.VoidMethodExecutionException; import com.efindi.batch.commons.tasklet.task.ITask; import java.util.List; import org.immutables.value.Value; import org.springframework.batch.cor...
package com.scylladb.cdc.lib; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.SortedSet; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ExecutionException; import java.util.concurrent.ScheduledExecu...
package abi34_0_0.host.exp.exponent.modules.api.reanimated.transitions; import androidx.transition.TransitionManager; import android.view.View; import android.view.ViewGroup; import abi34_0_0.com.facebook.react.bridge.ReadableArray; import abi34_0_0.com.facebook.react.bridge.ReadableMap; import abi34_0_0.com.facebook...
/** * The MIT License * * Copyright (C) 2015 Asterios Raptis * * 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, c...
package com.noobear.ohmybgm; import com.noobear.ohmybgm.config.CookiesBuilder; import com.noobear.ohmybgm.config.UserBuilder; import com.noobear.ohmybgm.utils.FavoriteParser; import lombok.extern.slf4j.Slf4j; import java.io.IOException; import java.util.Map; /** * @author Jason Han * @version 2018-06-30 17:33 **/...
/* * 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...
public class GoBackNReceiverWindow { private int next = 0; // starting sequence number is 0 by default. /** * Determine whether window should receive this packet. * @param seq the index/sequence number of packet */ public synchronized boolean shouldReceivedPacket(int seq) { ...
package io.renren.modules.reception.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import io.renren.modules.reception.dao.WebBannerDao; import io.renren.modules.reception.service.BannerService; import io.renren.modules.sys.entity.BannerEntity; import org.springframework.beans.factor...
package cn.com.yunweizhan.medium; public class Solution0811 { private static final int mod = 1000000007; int[] coins = {25, 10, 5, 1}; public int waysToChange(int n) { int[] f = new int[n + 1]; f[0] = 1; for (int i = 0; i < 4; i++) { int coin = coins[i]; for...
package com.android.open9527.okhttp.body; import com.android.open9527.okhttp.HttpUtils; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.net.FileNameMap; import java.net.URLConnection; import okhttp3.MediaType; import okhttp3.RequestBody; ...
/* * 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 ...
/* * OpenAPI Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener...
/* * Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
package com.mcfly.ps.PhysicsPack.FieldPack; import com.mcfly.ps.PhysicsPack.PhysicsObjPack.*; import com.mcfly.ps.PhysicsPack.*; import android.graphics.*; public class Gfield extends Field { Vector2 a;//gravit accumulate public Gfield(Vector2 startP, Vector2 endP, Vector2 a) { super(startP, endP); this.a...
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
/* * Copyright (c) 2008-2019, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...