text stringlengths 7 995k |
|---|
package org.dimdev.dimdoors.mixin.client;
import org.dimdev.dimdoors.particle.ModParticleTypes;
import org.dimdev.dimdoors.world.ModDimensions;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.inject... |
/**
* Locale specific code.
*/
package ar.edu.utn.frro.config.locale; |
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/7.0.47
* Generated at: 2016-10-21 11:14:07 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.ap... |
package com.melihyarikkaya.rnserialport;
import android.content.Intent;
import android.hardware.usb.UsbDevice;
import android.hardware.usb.UsbDeviceConnection;
import android.util.Log;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.ReactContext;
import com.facebook.react.bridge.WritableM... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Copyright (c) 2020, Zoinkwiz <https://github.com/Zoinkwiz>
* 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,... |
/* The Adama Programming Language For Board Games!
* See http://www.adama-lang.org/ for more information.
* (c) copyright 2020 Jeffrey M. Barber (http://jeffrey.io) */
package org.adamalang.translator.tree.types.natives;
import java.util.ArrayList;
import java.util.function.Consumer;
import org.adamalang.translat... |
package com.itxiaoer.commons.jwt;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
/**
* @author : liuyk
*/
@Data
@SuppressWarnings({"unused", "WeakerAccess"})
public class JwtAuth implements Serializable {
private static final long ser... |
/*
* The MIT License
*
* Copyright 2021 Gustavo.Batista <gustavo.dev97@gmail.com>.
*
* 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 t... |
/*
* Copyright (c) 2016-present, RxJava Contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... |
/*
* 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.cloud.api.core;
public final class ProxyHost {
private String host;
private int port;
private String username;
private String password;
public ProxyHost(String host, int port) {
this(host, port, null, null);
}
private ProxyHost(String host, int port, String username,... |
package memstore.data;
import org.apache.commons.csv.CSVFormat;
import org.apache.commons.csv.CSVRecord;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
public class CSVLoader implements DataLoader {
publ... |
/*
* Copyright 2017 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License")
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
// 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 ... |
/**
* @author cdr
*/
package com.intellij.packaging.impl.ui.actions;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.PlatformDataKeys;
import com.intellij.openapi.compiler.CompilerBundle;
import com.intellij.openapi.c... |
/*
* 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... |
package DokeosAppShare;
import java.io.*;
public interface DownloadProgressEventListener
{
void connecting();
void started();
void progressChange(int progress, int max);
void done(File fileDest) throws Exception;
void exception(Exception ex);
} |
package ca.uhn.fhir.spring.boot.autoconfigure;
/*-
* #%L
* hapi-fhir-spring-boot-autoconfigure
* %%
* Copyright (C) 2014 - 2020 University Health Network
* %%
* 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 ... |
package com.moemoe.lalala.utils;
/**
* Created by Sora on 2018/3/20.
*/
public class DocEvent {
private int position;
public DocEvent(int position){
this.position=position;
}
public int getPosition() {
return position;
}
} |
package com.mauriciotogneri.ocr;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
public class Image
{
public final int width;
public final int height;
public final int[] pixels;
public Image(int width, int height, ... |
/*
* Copyright (c) 2019 Matteo Baccan
* http://www.baccan.it
*
* Distributed under the GPL v3 software license, see the accompanying
* file LICENSE or http://www.gnu.org/licenses/gpl.html.
*
*/
package it.baccan.sockredirector;
import it.baccan.sockredirector.pojo.ServerPojo;
import it.baccan.sockredirector.uti... |
package com.prime.perspective.commentist;
import android.app.PendingIntent;
import android.appwidget.AppWidgetManager;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.widget.RemoteViews;
import com.prime.perspective.commenti... |
/*
* 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 nl.knokko.customitems.plugin.data;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.util.Collections;
import org.junit.Test;
import com.google.common.collect.Lists;
import nl.knokko.customitems.effect.EffectType;
import nl.knokko.customitems.effect.PotionEf... |
package problem_3;
// import the necessary packages
import java.util.*;
// class for some additional utility function on Stirngs
class StringUtilities {
// method to count the occurences of a character within a string
public static int countOccurence (String test, char ch) {
int count = 0, i = 0;
while (true)... |
/*
* 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 ... |
/*
* WriteGeolocationFailsTests.java
* NfcLibrary project.
*
* Created by : Daneo van Overloop - 17/6/2014.
*
* The MIT License (MIT)
*
* Copyright (c) 2014 AppFoundry. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated docu... |
/*******************************************************************************
* Copyright 2013-2020 QaProSoft (http://www.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 ... |
/*
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 ... |
package androidx.appcompat.widget;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup... |
/**
*
*/
package jp.terasoluna.fw.collector.db;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.sql.SQLException;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.apache.commons.logging.Log;
import org.... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* java mavlink generator tool. It should not be modified by hand.
*/
// MESSAGE ADSB_VEHICLE PACKING
package com.MAVLink.common;
import com.MAVLink.MAVLinkPacket;
import com.MAVLink.Messages.MAVLinkMessage;
import com.MAVLin... |
package ua.com.foxminded.quickpoll.repository;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.PagingAndSortingRepository;
import ua.com.foxminded.quickpoll.domain.Poll;
public interface PollRepository extends PagingAndSortingRepository<Poll, Long> {
} |
/*
* Copyright 2008 Eckhart Arnold (eckhart_arnold@hotmail.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... |
package org.ams.repstats.controllers.stats;
import com.selesse.gitwrapper.myobjects.Author;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.concurrent.Task;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import jav... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011, 2012, 2013, 2014, 2016 Synacor, Inc.
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by th... |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengl;
import org.lwjgl.system.*;
import static org.lwjgl.system.Checks.*;
/**
* Native bindings to the <a target="_blank" href="https://www.khronos.org/registry/... |
/* Generated By:JJTree: Do not edit this line. OInputParameter.java Version 4.3 */
/* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=true,TRACK_TOKENS=true,NODE_PREFIX=O,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
package com.orientechnologies.orient.core.sql.parser;
import com.oriente... |
package mekanism.client.gui;
import java.io.IOException;
import mekanism.client.sound.SoundHandler;
import mekanism.common.Mekanism;
import mekanism.common.entity.EntityRobit;
import mekanism.common.inventory.container.ContainerRobitSmelting;
import mekanism.common.network.PacketRobit.RobitMessage;
import mekanism.co... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v5/services/google_ads_service.proto
package com.google.ads.googleads.v5.services;
/**
* <pre>
* A returned row from the query.
* </pre>
*
* Protobuf type {@code google.ads.googleads.v5.services.GoogleAdsRow}
*/
public f... |
/*
* The MIT License
* Copyright © 2016-2018 Marco Collovati (mcollovati@gmail.com)
*
* 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 t... |
import java.util.function.BiFunction;
public class Main {
public static void main(String[] args) {
System.out.println("Hello World!");
//Example how a bifunction works
BiFunction<String, String, Integer> hashFunction = (key, value) -> (int) key.charAt(0) - 'a' + (int )value.charAt(0) - 'a... |
package ye.chilyn.youaccount.util;
import android.app.AlertDialog;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.graphics.Color;
import android.view.Gravity;
import android.view.View;
import android.view.ViewGroup;
i... |
/*
* Copyright 2002-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
// --------------------------------------------------------------------------------
// Copyright 2002-2021 Echo Three, 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:/... |
package com.github.sidneymiranda.citiesapi.entities;
import com.github.sidneymiranda.citiesapi.utils.PointType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Type;
import org.hibernate.annotations.TypeDef;
import org.hiber... |
package com.base.mine;
import android.view.View;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.launcher.ARouter;
import com.base.common.act.BaseActivity;
import com.base.common.sp.SpUtil;
import com.base.mine.c.LoginContract;
import com.base.mine.databinding.ActLoginBi... |
/* Copyright (c) 2017 FIRST. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted (subject to the limitations in the disclaimer below) provided that
* the following conditions are met:
*
* Redistributions of source code must retain the above cop... |
package ro.pub.cs.systems.eim.practicaltest02var05;
import android.util.Log;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.HashMap;
import cz.msebera.android.httpclient.client.ClientProtocolException;
import ro.pub.cs.systems.eim.practicaltest02var05.Information;
... |
package io.github.avijitmondal.java14;
public class PatternMatchingForInstanceof {
public static void main(String[] args) {
// before java 14
var obj = "ABCD";
if (obj instanceof String) {
String str = (String) obj; // need to declare and cast again the object
if (st... |
package net.java.osgi.embeddy.loggy;
/* Java */
import java.lang.reflect.Proxy;
/* OSGi */
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import org.osgi.framework.BundleEvent;
import org.osgi.framework.BundleListener;
import org.osgi.framework.... |
/**
* @(#)MockClient.java, Jul 26, 2018.
* <p>
* Copyright 2018 fenbi.com. All rights reserved.
* FENBI.COM PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package com.fenbi.newbull.async.internal;
import com.fenbi.common.util.ThreadUtils;
import java.util.Map;
import java.util.Random;
import java.... |
/*
* Copyright 2010 david varnes.
*
* 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 partition;
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.integration.ann... |
/*
* 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 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.ql.util.express.console;
import java.io.FileInputStream;
import java.io.InputStream;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.xpath.XPath;
import javax.xml.xpath.XPathConstants;
import javax.xml.xpath.XPathFactory;
import org.w3c.dom.Docu... |
public class Reference {
public static void main(String[] args) {
// 2 references to the same object
House firstHouse = new House();
House secondHouse = firstHouse;
}
}
class House { } |
//
// ========================================================================
// Copyright (c) 1995-2013 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
package com.jukusoft.engine2d.core.time;
public class FixedRateTimer extends Timer {
@Override
protected void onTimerReached() {
//save elapsed time
float elapsed = getElapsed();
//start timer again
start(getDuration());
setElapsed(elapsed % getDuration());
}
} |
package team.zmn.repository.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* Created by IntelliJ IDEA.
*
* @author: ZhengCheng.Wen
* Date: 2020/7/2
* Time: 17:47
*/
@RequestMapping("/home")
@Controller
public class HomeController... |
package pinacolada.ui.combat;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.MathUtils;
import com.megacrit.cardcrawl.cards.AbstractCard;
import com.megacrit.cardcrawl.dungeons.AbstractDungeon;
import eatyourbeets.interfaces.subscribers.OnSynergyCheckSubscriber;
import eatyourbeets.ui.G... |
/**
* Hub JIRA Plugin
*
* Copyright (C) 2018 Black Duck Software, Inc.
* http://www.blackducksoftware.com/
*
* 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 o... |
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
package org.bytedeco.systems.windows;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.systems.global.windows.*;
@Properties(inher... |
package com.shawn.service;
public interface ISubmitTaskInterface<T> {
/**
* 提交申请
*
* @param in
*/
void submitTask(T in);
/**
* 提交申请之后执行的方法
*
* @param in
*/
default void afterSubmit(T in) {
}
/**
* 审核通过
*
* @param in
*/
default v... |
/*
* 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 org.springframework.security.web.context;
import javax.servlet.AsyncContext;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;
import javax.servlet.http.HttpServletResponse;
import javax.... |
/*
* 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... |
package za.co.fenyademo.service.impl;
import java.util.List;
import java.util.Set;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import za.co.fenyademo.bean.CustomerBean;
import za.co.fenyademo.dao.CustomerDaoInt;
import za.co.fenyademo.model.Customer;
... |
package com.area9innovation.flow;
public interface Func4<RT,A1,A2,A3,A4> extends Function {
RT invoke(A1 a1, A2 a2, A3 a3, A4 a4);
} |
/*
* Copyright 1999-2020 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 org.ditch.v1.components;
import org.ditch.v1.components.props.ComponentProps;
import org.ditch.v1.components.props.PositionProps;
import java.awt.*;
import java.io.IOException;
public abstract class Component {
public Component(){
}
public Component(ComponentProps props){
}
public voi... |
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package org.I0Itec.zkclient;
import org.apache.zookeeper.CreateMode;
import org.junit.Assert;
import org.junit.Test;
public class MemoryZkClientTest extends AbstractBaseZkClientTest {
@Override
public void setUp() throws Exception {
super.setUp();
_client = new ZkClient(new InMemoryConnection... |
package com.lielamar.completepermissions.commands;
import com.lielamar.completepermissions.Main;
import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.CommandSender;
import net.md_5.bungee.api.chat.TextComponent;
import net.md_5.bungee.api.connection.ProxiedPlayer;
import net.md_5.bungee.api.plugin.Command... |
package ru.stqa.pft.sanbox;
public class Rectangle {
public double a;
public double b;
public Rectangle(double a, double b){
this.a = a;
this.b = b;
}
public double area(){
return this.a * this.b;
}
} |
/**
*
*/
package com.egoveris.plugins.manager.deployers;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.apache.tools.ant.DirectoryScanner;
import org.slf4j.Logger;
im... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package android.support.v7.widget.helper;
import android.support.v7.widget.RecyclerView;
// Referenced classes of package android.support.v7.widget.helpe... |
package com.dotcms.rest.api.v1.personas;
import com.dotcms.repackage.com.fasterxml.jackson.annotation.JsonIgnore;
import com.dotcms.repackage.com.fasterxml.jackson.annotation.JsonProperty;
import com.dotcms.repackage.com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.dotcms.repackage.org.hibernate.v... |
/*
* Copyright 2010-2018 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 "lice... |
/**
* Copyright (C) 2009 - 2012 SC 4ViewSoft SRL
*
* 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... |
import edu.berkeley.cs.jqf.fuzz.Fuzz;
import edu.berkeley.cs.jqf.fuzz.JQF;
import org.junit.runner.RunWith;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.List;
import java.util.Scanner;
@RunWith(JQF.class... |
package com.razorpay.razorpay_flutter;
import androidx.annotation.NonNull;
import org.json.JSONException;
import java.util.Map;
import io.flutter.embedding.engine.plugins.FlutterPlugin;
import io.flutter.embedding.engine.plugins.activity.ActivityAware;
import io.flutter.embedding.engine.plugins.activity.ActivityPlu... |
/*
* MIT License
*
* Copyright (c) 2022 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... |
/*
* Licensed to ObjectStyle LLC under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ObjectStyle LLC licenses
* this file to you under the Apache License, Version 2.0 (the
* "License"); you may not u... |
package org.platformlayer.auth.services.crypto;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Date;
import javax.crypto.interfaces.PBEKey;
import javax.crypto.spec.SecretKeySpec;
import j... |
package de.pxlab.pxl.sound;
import java.io.*;
import java.nio.*;
import java.util.*;
import javax.sound.sampled.*;
import de.pxlab.pxl.*;
/**
* A sound recorder which looks at the recorded sound and checks whether it
* passes a given threshold. If this is the case then a response event is
* generated. The recorde... |
package com.claymore.bamder.cybersecurity.gj.enums;
/**
* @author li.zhuo
* @create 2018/10/31 11:21 PM
* @since 1.0.0
*/
public class EventType {
} |
package com.dybweather.app.receiver;
import com.dybweather.app.service.AutoUpdateService;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
public class AutoUpdateReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent int... |
/*******************************************************************************
* Gorlok AO, an implementation of Argentum Online using Java.
* Copyright (C) 2019 Pablo Fernando Lillia «gorlok»
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GN... |
package webpiecesxxxxxpackage.service;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
public class RemoteServiceImpl implements RemoteService {
private ExecutorService pool = Executors.newFixedThreadPool(1);
@Override
public Com... |
package com.mattworzala.artifact.item;
import com.mattworzala.artifact.api.item.Item;
import com.mattworzala.artifact.util.AdventureUtil;
import net.kyori.adventure.platform.minestom.MinestomComponentSerializer;
import net.kyori.adventure.text.Component;
import net.minestom.server.data.Data;
import net.minestom.server... |
/*
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... |
/*L
* Copyright HealthCare IT, Inc.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/edct-formbuilder/LICENSE.txt for details.
*/
package com.healthcit.cacure.xforms;
import java.util.Arrays;
import java.util.EnumSet;
import java.util.Iterator;
import java.util.LinkedLis... |
package org.basex.query.func;
import static org.basex.query.QueryError.*;
import javax.servlet.http.*;
import org.basex.http.*;
import org.basex.query.*;
/**
* Request function.
*
* @author BaseX Team 2005-22, BSD License
* @author Christian Gruen
*/
public abstract class ApiFunc extends StandardFunc {
/**
... |
/*
* Copyright (c) 2008-2016 Haulmont.
*
* 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.sns.invest.post.dao;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@Repository
public interface LikeDAO {
public int insertLike(@Param("postId") int postId
, @Param("userId") int userId
, @Param("type") String type);
public int selectCountLike(@P... |
package com.edraw;
public enum Direction {
forward,
backward;
public Direction change() {
switch (this) {
case forward:
return backward;
case backward:
return forward;
default:
break;
}
return this;
}
/* private final int multiplier;
private Direction(int multiplier) {
this.multiplie... |
package uk.gov.ida.rp.testrp;
import org.junit.Before;
import org.junit.Test;
import uk.gov.ida.rp.testrp.domain.PageErrorMessageDetails;
import uk.gov.ida.rp.testrp.domain.PageErrorMessageDetailsFactory;
import uk.gov.ida.saml.core.domain.TransactionIdaStatus;
import java.util.Optional;
import static org.assertj.co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.