text
stringlengths
7
1.01M
/* * Copyright (C) 2011 Patrik Akerfeldt * Copyright (C) 2011 Jake Wharton * * 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 * * Un...
/* * Copyright 2014 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
/* * 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...
/* * 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 org.toyrobot; import org.junit.Test; import org.toyrobot.test.FakeRuntime; import java.io.IOException; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; import static org.assertj.core.api.Assertions.assertThat; public class ToyRobotAppTest { private final Path scriptFilePath ...
/* * Copyright (C) 2010-2017 Brian Ferris (bdferris@onebusaway.org), * University of South Florida (sjbarbeau@gmail.com), * Microsoft Corporation * * 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 L...
package webapp3.webapp3.security; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.userdetails.UserDetails; import org.springframe...
/** * 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 n...
// Copyright 2015-2021 Swim Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
/* * Copyright (c) 2022 Rollczi */ package dev.rollczi.liteskull.standard; import dev.rollczi.liteskull.api.SynchronizedExecutor; import org.jetbrains.annotations.NotNull; class SynchronizedSchedulerImpl implements SynchronizedExecutor { @Override public void execute(@NotNull Runnable runnable) { ...
package com.liuyun.auth.config.exception; import com.liuyun.utils.global.enums.GlobalResultEnum; import lombok.Data; import lombok.EqualsAndHashCode; /** * 登录异常类 * * @author wangdong * @date 2020/7/27 8:16 下午 **/ @Data @EqualsAndHashCode(callSuper = true) public class AuthOauth2Exception extends RuntimeException...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development * and Distribution Licens...
package com.battlelancer.seriesguide.customtabs; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import com.battlelancer.seriesguide.ui.HelpActivity; import com.battlelancer.seriesguide.util.Utils; /** * Receives feedback intent from chrome custom tab. */ pub...
/* * Copyright (c) 2017, University of Oslo * * 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 notice, this * list of condition...
package ch.rmy.android.http_shortcuts.activities; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import com.mikepenz.aboutlibraries.LibsBuilder; import ch.rmy.android.http_shortcuts.R; public class LicensesActivity extends BaseActivity { private...
package xyz.lius.andy.expression.operator; import xyz.lius.andy.core.Definition; import xyz.lius.andy.core.OperatorSingleton; import xyz.lius.andy.expression.*; import xyz.lius.andy.expression.ast.NumberExpression; import xyz.lius.andy.util.AbstractContainer; public class LeExpression extends AbstractContainer implem...
package com.airfranceklm.amt.sidecar; import java.io.IOException; import java.io.InputStream; /** * Interface for the local configuration provider that could help with specialized configuration cases. */ public interface EndpointConfigurationProvider { void setup(SidecarProcessor processor); void start();...
package com.serenegiant.mediastore; /* * libcommon * utility/helper classes for myself * * Copyright (c) 2014-2020 saki t_saki@serenegiant.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 Li...
package com.example.coolweather.gson; import com.google.gson.annotations.SerializedName; /** * Created by CL on 2018/4/2. */ public class Suggestion { @SerializedName("comf") public Comfort comfort; @SerializedName("cw") public CarWash carWash; public Sport sport; public class Comfort{ ...
package com.singularitycoder.folkdatabase.auth.view; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import android.graphics.drawable.AnimationDrawable; import android.os.Bundle; import android.util.Log; import android.widget.ImageView; import androidx.appcompat....
package com.treyzania.mc.zaniportals.adapters; import com.treyzania.mc.zaniportals.Point3i; import com.treyzania.mc.zaniportals.world.Face; public interface PortalBlock extends Wrapper { public PortalLocation getLocation(); public default PortalWorld getWorld() { return this.getLocation().getWorld(); } publi...
package com.vmoving.web.exceptions; public class RestServiceResultException extends RuntimeException { /** * */ private static final long serialVersionUID = -1744593740116981156L; private int errorCode; private String errorMsg; public RestServiceResultException(int code,String msg) { this...
package com.lego.goods.dao; import com.lego.goods.pojo.Category; import tk.mybatis.mapper.common.Mapper; /**** * @Author:admin * @Description:Category的Dao * @Date 2019/6/14 0:12 *****/ public interface CategoryMapper extends Mapper<Category> { }
package muwanguzi.journalapp.sqlitedbhelper; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteDatabase.CursorFactory; import android.database.sqlite.SQLiteOpenHelper; public class L...
package au.com.centrumsystems.hudson.plugin.buildpipeline; import au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView; import au.com.centrumsystems.hudson.plugin.buildpipeline.DownstreamProjectGridBuilder; import au.com.centrumsystems.hudson.plugin.buildpipeline.extension.NullColumnHeader; import au.co...
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright 2018, OK2 Consulting Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
package edu.sdsc.nbcr.opal.gui.common; import org.apache.struts.action.ActionForm; /** * This class is supposed to keep the data necessary to represent a flag * * This class has the following fields: * <ul> * <li>String id - a unique id representing this tag * <li>String tag - the tag used to activate this fla...
/* * #%L * ImgLib2: a general-purpose, multidimensional image processing library. * %% * Copyright (C) 2009 - 2021 Tobias Pietzsch, Stephan Preibisch, Stephan Saalfeld, * John Bogovic, Albert Cardona, Barry DeZonia, Christian Dietz, Jan Funke, * Aivar Grislis, Jonathan Hale, Grant Harris, Stefan Helfrich, Mark Hi...
/* * Ory Kratos API * Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administat...
package com.aldogg.sorter; import com.aldogg.sorter.intType.IntSorter; import com.aldogg.sorter.intType.IntSorterUtils; import static com.aldogg.sorter.BitSorterUtils.*; import static com.aldogg.sorter.intType.IntSorterUtils.partitionStableGroupBits; import static com.aldogg.sorter.intType.IntSorterUtils.partitionSta...
/* * Licensed to ElasticSearch and Shay Banon 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...
/* * (C) Copyright 2012, IBM Corporation * * 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...
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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 ...
/** * Copyright [2012] [Datasalt Systems S.L.] * * 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 ...
/* * Copyright 1999-2018 Alibaba Group Holding Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package com.jiuzhang.flashsale.exception; public class OrderPayException extends OrderException { private static final long serialVersionUID = 1L; public OrderPayException(String id) { super(id); } }
/* * Copyright (c) 2015-2022, Patricia Maraver * * 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 ...
package org.egov.bpa.transaction.entity; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.O...
/* * Name : Jagannathan Harshavardhan * User ID : hxj4805 * Lab # : MergeSort_NonRecursive_2 */ package mainrunner.MergeSort; class MergeSort_Recursive_Thread extends Thread { private int[] subArray; MergeSort_Recursive_Thread(int[] arr) { subArray = arr; } public ...
package com.example.scandemo.pojo; /** * @author Pushy * @since 2018/12/3 9:46 */ public class User { }
// // ======================================================================== // Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available und...
/* * Copyright 2013-2020 Erudika. http://erudika.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 applic...
package de.danoeh.antennapod.core.util; import org.junit.Test; import java.util.ArrayList; import java.util.Calendar; import java.util.List; import de.danoeh.antennapod.core.feed.Feed; import de.danoeh.antennapod.core.feed.FeedItem; import de.danoeh.antennapod.core.feed.FeedMedia; import static org.junit.Assert.ass...
package com.tensquare.crawler.dao; import com.tensquare.crawler.pojo.Channel; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; /** * 数据访问接口 * @author Administrator * */ public interface ChannelDao extends JpaRepository<Channel,S...
package com.poliplanner.excel; import com.poliplanner.data.AulaRepository; import com.poliplanner.data.MateriaRepository; import com.poliplanner.data.SeccionRepository; import com.poliplanner.domain.model.*; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; import org.springframework.be...
package de.slikey.effectlib.effect; import de.slikey.effectlib.Effect; import de.slikey.effectlib.EffectManager; import de.slikey.effectlib.EffectType; import de.slikey.effectlib.util.MathUtils; import de.slikey.effectlib.util.ParticleEffect; import de.slikey.effectlib.util.RandomUtils; import de.slikey.effectlib.util...
package com.example.todolistapp; import androidx.annotation.NonNull; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import androidx.core.app.NotificationCompat; import androidx.core.app.NotificationManagerCompat; import android.app.Notification; import android.content.Dial...
package com.lasiqueira.weatherforecast.api.validator.v1; import com.lasiqueira.weatherforecast.api.exception.v1.CityNotFoundException; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInstance; import org.junit.jupiter.api.extension.ExtendWith; import org.spr...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package sicem.utilities; import javafx.scene.control.TextField; import static javafx.scene.input.KeyCode.ENTER; /** * * @author hes...
/* The MIT License (MIT) Copyright (c) 2014, Groupon, Inc. 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, copy, modify, merge...
/* * 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 ...
/* * Copyright 2015 Lutz Fischer <lfischer at staffmail.ed.ac.uk>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
package com.mc.enjoy.module; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import com.blankj.utilcode.util.ToastUtils; import com.mc.enjoy.R; import com.mc.enjoysdk.McPower; import com.mc.en...
package barsan.opengl.rendering; import barsan.opengl.math.Matrix4; import barsan.opengl.math.Vector3; public class CubeSMAux { public static final Matrix4[] rotMatrices = new Matrix4[] { new Matrix4(new float[] { // x+ 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, 0, 0, 0, 0, 1 }), new Matrix4(new float...
package mathutils.parser; public abstract class ParserOperator<T> { private String op; public ParserOperator(String op) { this.op = op; } public String getOp() { return op; } public abstract T assemble(T left, T right); }
package aleetcode; import java.util.*; import java.util.Map.Entry; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import designpattern.commandpattern.sample2.XMLUtil; import util.XmlTool; public class JsonTest { public static void main(String[] arg...
/*************************GO-LICENSE-START********************************* * Copyright 2014 ThoughtWorks, 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...
package thkoeln.dungeon.player.application; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.core.env.Environment; import org.springfra...
package abi45_0_0.expo.modules.av.video; public interface FullscreenVideoPlayerPresentationChangeListener { void onFullscreenPlayerWillPresent(); void onFullscreenPlayerDidPresent(); void onFullscreenPlayerWillDismiss(); void onFullscreenPlayerDidDismiss(); }
package cn.abelib.st.core.result; /** * * @author abel * @date 2017/11/3 * 元信息类, 用于构建Response */ public class Meta{ // 状态码 private int code; // 原因短语 private String message; public Meta(int code, String message){ this.code = code; this.message = message; } public Meta...
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE package org.bytedeco.librealsense2; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.librealsense2.global.realsense2.*; @Propertie...
/* * Copyright (C) 2015 Square, 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 agre...
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2021 DBeaver Corp and others * * 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/licen...
package za.ac.unisa.lms.tools.pbooks.actions; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Vector; i...
package cmps252.HW4_2.UnitTesting; import static org.junit.jupiter.api.Assertions.*; import java.io.FileNotFoundException; import java.util.List; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import cmps252.HW4_2....
package com.github.epiicthundercat.tameablemobs.models.layers; import net.minecraft.client.model.ModelBiped; import net.minecraft.client.renderer.entity.RenderLivingBase; import net.minecraft.client.renderer.entity.layers.LayerArmorBase; import net.minecraft.inventory.EntityEquipmentSlot; import net.minecraftforge.fml...
/** * */package org.mutabilitydetector.checkers.settermethod; /* * #%L * MutabilityDetector * %% * Copyright (C) 2008 - 2014 Graham Allan * %% * 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 L...
package dao; public interface DAO<T> { public abstract boolean create(Object T); public abstract boolean delete(Object T); public abstract boolean update(Object T); public abstract T getById(int id); }
/* * Copyright 2015 The 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
package com.github.anastr.speedview; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.SeekBar; import android.widget.TextView; import com.github.anastr.speedviewlib.base.Speedometer; import java.util.Locale; public class StartEndDegreeActivity extends AppCompatActivit...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.saviasalud.model; import java.util.List; import javax.persistence.EntityManager; /** * * @author Lui Angel ...
package org.concordion.ext.excel.conversion.cellcontent; import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.util.CellRangeAddress; import org.concordion.ext.excel.conversion.AbstractConversionStrategy; import org.concordion.ext.excel.conversion.ConversionHelpers; import org.concordion.ext.excel.conversi...
/* * Copyright (C) 2020 The zfoo 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 agreed to i...
/************************************************************************ * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER * * Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved. * * Use is subject to license terms. * * Licensed under the Apache License, Version 2.0 (the "Lic...
/* ************************************************************************ # # DivConq # # http://divconq.com/ # # Copyright: # Copyright 2014 eTimeline, LLC. All rights reserved. # # License: # See the license.txt file in the project's top-level directory for details. # # Authors: # * Andy ...
package com.hazelcast.map.impl.nearcache.invalidation; import com.hazelcast.map.impl.MapServiceContext; import com.hazelcast.map.impl.nearcache.NearCacheProvider; import com.hazelcast.nio.serialization.Data; import com.hazelcast.spi.NodeEngine; import com.hazelcast.test.HazelcastParallelClassRunner; import com.hazelca...
package br.com.ead.curso.repositories; import br.com.ead.curso.models.AulaModel; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query....
package eu.olympus.unit.util.rangeProofs; import eu.olympus.util.pairingBLS461.PairingBuilderBLS461; import eu.olympus.util.pairingBLS461.ZpElementBLS461; import eu.olympus.util.pairingInterfaces.Group1Element; import eu.olympus.util.pairingInterfaces.PairingBuilder; import eu.olympus.util.pairingInterfaces.ZpElement;...
package restx; import com.google.common.base.Optional; import com.google.common.base.Predicate; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.io.ByteStreams; import com.google.common.io.Resources; import restx.common.MoreResources; import restx....
/* * Copyright 1997-2011 teatrove.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 o...
/* * Copyright 2011-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...
/* * 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 ...
class Solution { public String addBinary(String a, String b) { int m = a.length(), n = b.length(); int i = 0, carry = 0; String res = ""; // traverse length is max(m, n) while (i < m || i < n) { int p = i < m ? a.charAt(m - 1 - i) - '0' : 0; i...
package learn.rpc.netty; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelInitializer; import io.netty.channel.ChannelPipeline; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.SocketCha...
/* * 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.igentuman.steamtech.datagen; import com.igentuman.steamtech.SteamTech; import net.minecraft.data.DataGenerator; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.forge.event.lifecycle.GatherDataEvent; @Mod.EventBusSubscriber(modid = ...
package me.winter.gdx.animation.drawable; import com.badlogic.gdx.graphics.g2d.Batch; import me.winter.gdx.animation.Sprite; /** * Draws multiple sprite drawables, one on top of to the other * <p> * Created on 2018-07-21. * * @author Alexander Winter */ public class MultiSpriteDrawable implements SpriteDrawab...
package es.jlarriba.jrmapi.http; import static java.nio.file.StandardOpenOption.CREATE; import static java.nio.file.StandardOpenOption.TRUNCATE_EXISTING; import static java.nio.file.StandardOpenOption.WRITE; import com.google.gson.Gson; import java.io.File; import java.io.FileNotFoundException; import java.io.IOExcep...
/* * 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 * distrib...
package sqlancer.sqlite3.gen.dml; import java.util.List; import java.util.stream.Collectors; import sqlancer.Randomly; import sqlancer.common.query.ExpectedErrors; import sqlancer.common.query.SQLQueryAdapter; import sqlancer.sqlite3.SQLite3Errors; import sqlancer.sqlite3.SQLite3GlobalState; import sqlancer.sqlite3.S...
/* * $Id: PCLStream.java,v 1.4.2.1 2003/02/25 14:57:53 jeremias Exp $ * ============================================================================ * The Apache Software License, Version 1.1 * ============================================================================ * * Copyright (C) 1999-...
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package edu.kit.exp.sensor.bioplux; import edu.kit.exp.common.Constants; import edu.kit.exp.common.LogHandler; import edu.kit.exp.common.RecordingException; import edu.kit.exp.common.files.FileManager; import edu.kit.exp.common.sensor.ISensorRecorder; import plux.newdriver.bioplux.BPException; import plux.newdriver.bi...
package org.zpp.aop.service; public class UserServiceImpl implements UserService { @Override public void add() { System.out.println("-----add------"); } }
/* * Copyright 2013-2017 QAPROSOFT (http://qaprosoft.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...
package com.zachary_moore.objects; import java.io.File; import java.io.IOException; import org.junit.jupiter.api.Test; public class JSONFileShould { @Test public void JSONFileGivesJSONArray() throws IOException { JSONFile jsonFile = new JSONFile( new File(getClass() ...
package am.matcher.IterativeInstanceStructuralMatcher; import am.app.mappingEngine.DefaultMatcherParameters; public class IterativeInstanceStructuralParameters extends DefaultMatcherParameters { boolean considerIndividuals; double superclassThreshold = 0.6; double propertyValuesThreshold = 0.5; double rangeDoma...
/* * 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 android.example.simpletodo; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; public class EditActivity extends AppCompatActivity { Edi...