text
stringlengths
3.08k
15.2k
/* * Copyright 2020, Perfect Sense, 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 a...
/* * Copyright 2019-2021 The Polypheny 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 applicable law or...
/* * 3D City Database - The Open Source CityGML Database * http://www.3dcitydb.org/ * * Copyright 2013 - 2019 * Chair of Geoinformatics * Technical University of Munich, Germany * https://www.gis.bgu.tum.de/ * * The 3D City Database is jointly developed with the following * cooperation partners: *...
/** * This file is part of Aion-Lightning <aion-lightning.org>. * * Aion-Lightning is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ver...
/* * Copyright (c) 2015 Mozilla Foundation * * 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, merg...
package net.neevek.lib.java.promise; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.ThreadFactory; import java.util.concurrent.atomic.AtomicInteger; /** * https://github.com/neevek/promise-java * Author: neevek <<EMAIL>> * Date: 2016-12-03 * © 2016 ...
/* * 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 2016 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 a...
package q1650; import org.junit.runner.RunWith; import q1600.Q1595_MinimumCostToConnectTwoGroupsOfPoints; import util.runner.Answer; import util.runner.LeetCodeRunner; import util.runner.TestData; import util.runner.data.DataExpectation; /** * [Hard] 1601. Maximum Number of Achievable Transfer Requests * https://le...
/* * Copyright 2020 - present <NAME>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
package media.pixi.appkit.ui; import android.content.Context; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.graphics.drawable.InsetDrawable; import android.graphics.drawable.LayerDrawable; import android.graphics.drawable.ShapeDrawable; import android.graphics.drawable.shapes...
package io.github.exp1orer.util; import io.github.exp1orer.StartUp; import javax.net.ssl.*; import java.io.*; import java.net.*; import java.security.KeyManagementException; import java.security.NoSuchAlgorithmException; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import...
package Server; import java.io.BufferedInputStream; import java.io.IOException; import java.io.PrintWriter; import java.net.Socket; import java.time.LocalDate; import java.util.*; import java.util.function.Function; import java.util.stream.Stream; public class ServerThread { @FunctionalInterface private inte...
package org.data2semantics.platform.wrapper; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.log4j.Level; import ...
package org.aion.avm.embed; import avm.Address; import org.aion.types.AionAddress; import org.aion.avm.core.util.Helpers; import org.aion.avm.embed.poc.TRS; import org.aion.avm.tooling.ABIUtil; import org.aion.avm.userlib.AionMap; import org.aion.avm.userlib.abi.ABIDecoder; import org.aion.kernel.*; import org.aion.ty...
/* * This file is part of PartyChat, licensed under the MIT License. * * Copyright (c) 2020-2022 Majekdor * * 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, includi...
package org.treblereel.gwt.elemental2.three; import elemental2.core.JsArray; import elemental2.core.JsObject; import jsinterop.annotations.JsFunction; import jsinterop.annotations.JsMethod; import jsinterop.annotations.JsOverlay; import jsinterop.annotations.JsPackage; import jsinterop.annotations.JsType; import jsint...
package net.minecraft.server; import java.util.Random; import java.util.UUID; public class MathHelper { public static final float a = c(2.0F); private static final float[] b = new float[65536]; private static final int[] c; public static float sin(float f) { return MathHelper.b[(int) (f * 10...
/* * Copyright (c) 2015 by <NAME> (rafaaznar at gmail dot com) * * openAUSIAS: The stunning micro-library that helps you to develop easily * AJAX web applications by using Java and jQuery * openAUSIAS is distributed under the MIT License (MIT) * Sources at https://github.com/rafaelaznar/ * * Perm...
/* * Copyright (c) 2020 <NAME> */ package in.co.rajkumaar.amritarepo.helpers; import android.app.Activity; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.content.SharedPre...
package io.skalogs.skaetl.service.parser; /*- * #%L * process-importer-impl * %% * Copyright (C) 2017 - 2018 SkaLogs * %% * 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 * * ht...
package de.unikn.inf.disy.nuntifix.dtn.simulator.bloomfilter; import java.util.ArrayList; import java.util.Enumeration; import java.util.Hashtable; import java.util.LinkedList; // import java.util.Vector; import java.util.Set; import de.unikn.inf.disy.nuntifix.dtn.simulator.metaclasses.Device; import de.unikn.inf.di...
package io.indexr.segment.storage; import java.io.IOException; import io.indexr.data.Freeable; import io.indexr.io.ByteBufferReader; import io.indexr.io.ByteSlice; import io.indexr.segment.Column; import io.indexr.segment.PackDurationStat; import io.indexr.segment.PackExtIndex; import io.indexr.segment.RSIndex; impor...
package algernon; import pump.*; import security.DatabaseCredentials; import security.EncryptedKeys; import java.io.IOException; import java.io.InputStream; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.util.*; public ...
package com.zebra.dwmultiactivity; import androidx.appcompat.app.AppCompatActivity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.view.View; import android.widget.Button; ...
import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("pj") @Implements("PacketBuffer") public class PacketBuffer extends Buffer { @Obfuscate...
/** * Copyright 2011 The Apache Software Foundation * * 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...
/* ************************************************************************* * The contents of this file are subject to the Openbravo Public License * Version 1.1 (the "License"), being the Mozilla Public License * Version 1.1 with a permitted attribution clause; you may not use this * file except in...
package com.ddiehl.android.htn.listings.report; import android.app.Activity; import android.app.ProgressDialog; import android.os.Bundle; import androidx.fragment.app.DialogFragment; import androidx.fragment.app.Fragment; import com.ddiehl.android.htn.HoldTheNarwhal; import com.ddiehl.android.htn.R; import org.jetb...
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ /* THE PLAN: [x] get the project metadata from the Project Master Item what fields are we going to us...
/* * See the file "LICENSE" for the full license governing this code. */ package se.liu.ida.nlp.sdp.toolkit.tools; import java.io.InputStreamReader; import java.text.NumberFormat; import java.util.HashSet; import java.util.Locale; import java.util.Set; import se.liu.ida.nlp.sdp.toolkit.graph.Edge; import se.liu.ida....
package br.net.brjdevs.d4rk.l1ght.handlers.data; import br.net.brjdevs.d4rk.l1ght.handlers.customboard.Customboard; import br.net.brjdevs.d4rk.l1ght.handlers.feeds.FeedSubscription; import br.net.brjdevs.d4rk.l1ght.utils.Config; import br.net.brjdevs.d4rk.l1ght.utils.FeedsType; import br.net.brjdevs.d4rk.l1ght.utils.L...
/* * The MIT License (MIT) * * Copyright (c) 2007-2015 Broad Institute * * 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 2021 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 ...
/* * Copyright (C) 2015 Intel 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 law or...
/** * 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.carl.hadoop.mr; import com.carl.hadoop.config.HadoopParam; import com.carl.hadoop.config.MRConfig; import com.carl.hadoop.config.ContextConfig; import com.carl.hadoop.config.MapperConfiguration; import com.carl.hadoop.config.ReducerConfiguration; import com.carl.hadoop.run.AbstractRunner; import com.carl.h...
package ru.ydn.wicket.wicketorientdb.junit; import java.io.IOException; import java.io.StringReader; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Base64; import java.util.Collection; import java.util.List; import java.util.function.Function; import javax.servlet.ServletInputStream; im...
package br.com.anymarket.sdk.product; import br.com.anymarket.sdk.SDKConstants; import br.com.anymarket.sdk.exception.NotFoundException; import br.com.anymarket.sdk.http.HttpService; import br.com.anymarket.sdk.http.Response; import br.com.anymarket.sdk.http.headers.IntegrationHeader; import br.com.anymarket.sdk.pagin...
package org.wlyyy.itrs.dao; import org.apache.ibatis.annotations.*; import org.springframework.data.domain.Pageable; import org.springframework.data.domain.Sort; import org.wlyyy.common.utils.StringTemplateUtils.St; import org.wlyyy.itrs.domain.EmailLog; import org.wlyyy.itrs.request.EmailLogQuery; import java.util.L...
package com.example.myapplication; import androidx.appcompat.app.AppCompatActivity; import android.content.ContentResolver; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.speech.tts.TextToSpeech; import android.widget.Button; import android.widget.EditText; import org...
package me.travis.wurstplus.wurstplustwo.hacks.combat; import me.travis.wurstplus.wurstplustwo.guiscreen.settings.WurstplusSetting; import me.travis.wurstplus.wurstplustwo.hacks.WurstplusCategory; import me.travis.wurstplus.wurstplustwo.hacks.WurstplusHack; import me.travis.wurstplus.wurstplustwo.util.WurstplusBlockIn...
/* Derby - Class org.apache.derby.impl.sql.execute.AlterSPSConstantAction Copyright 1998, 2004 The Apache Software Foundation or its licensors, as applicable. 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...
/* * Copyright (c) 2021, <NAME>. All Rights Reserved. * * This file is part of Efficient Java Matrix Library (EJML). * * 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....
package com.stone.notificationfilter.util; import android.annotation.SuppressLint; import android.content.ContentUris; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.os.Build; import android.os.Environment; import android.provider.DocumentsContract; import androi...
package com.peterphi.usermanager.rest.iface.oauth2server; import com.peterphi.std.annotation.Doc; import com.peterphi.std.guice.restclient.annotations.NoClientBreaker; import com.peterphi.usermanager.rest.type.UserManagerUser; import org.jboss.resteasy.util.HttpHeaderNames; import javax.ws.rs.Consumes; import javax.w...
/** Class used to represent a ration of two integers. Includes a mutator method * that allows user to set the numerator and denominator both separately and * together. Includes a method that returns the value of numerator divided by * denominator. Includes a method that outputs the value of the fraction in its ...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2007 Sun Microsystems, Inc. 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 License("CDDL") (...
package ru.liahim.mist.block; import java.util.Random; import net.minecraft.block.BlockDoor; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Items; import net.mi...
/** * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Apereo licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in ...
package me.hades.yqword.view.ui.fragment; import android.app.ProgressDialog; import android.content.Context; import android.graphics.Canvas; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; impor...
/** * @author Leo * Last edit date: 28 December 2018 * <p> * ====================================================================================== * Math involved in converting input values (vectors / directions) to the motor values * required to move the robot in that direction using mecanum wheels. * ========...
package it.polito.centraletelefonica.controller; import java.net.URL; import java.time.LocalDate; import java.util.ResourceBundle; import it.polito.centraletelefonica.model.Model; import it.polito.centraletelefonica.model.Operation; import javafx.collections.FXCollections; import javafx.event.ActionEvent; import java...
/****************************************************************************** * Product: iDempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. * * This program is free software, you can redistribute it and/or modify it * ...
package pokecube.core.ai.tasks.utility; import java.util.Map; import com.google.common.collect.Maps; import net.minecraft.core.Vec3i; import net.minecraft.world.entity.ai.behavior.PositionTracker; import net.minecraft.world.entity.ai.memory.MemoryModuleType; import net.minecraft.world.entity.ai.memory.MemoryStatus; ...
package okhttp3.internal.p385ws; import java.io.IOException; import java.util.Random; import org.jacoco.agent.p025rt.internal_8ff85ea.asm.Opcodes; import p362h.C14179A; import p362h.C14182D; import p362h.C14191g; import p362h.C14191g.C14192a; import p362h.C14193h; import p362h.C14195j; /* renamed from: okhttp3.intern...
package services; import models.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.neo4j.support.Neo4jTemplate; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import repositories.*; import java.io.BufferedR...
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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 sorting.football; import java.io.IOException; import java.util.*; public class Main implements Runnable { static String readLn(int maxLength) { byte line[] = new byte[maxLength]; int length = 0; int input = -1; try { while (length < maxLength) { ...
/* Copyright (C) 2013-2021 <NAME> * This file is part of AutomataLib, http://www.automatalib.net/. * * 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/license...
package com.ppapp.geograph3d; import android.util.Log; import java.util.ArrayList; public class JGraph extends JNativePointer { // Конструктор public JGraph() { nativePointer = createGraph(); } protected void finalize () { clear(nativePointer); destroyGraph(nativePointer); ...
/* *Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * *WSO2 Inc. licenses this file to you 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/lic...
package org.cirdles.topsoil.app.table; import javafx.geometry.Pos; import javafx.scene.control.TableCell; import javafx.scene.control.TextField; import javafx.scene.input.KeyCode; import javafx.scene.text.Font; import org.cirdles.topsoil.app.tab.TopsoilTabPane; import org.cirdles.topsoil.app.table.command.TableCellEdi...
package com.aliyun.oss.ossdemo; import android.provider.ContactsContract; import android.util.Log; import com.alibaba.sdk.android.oss.ClientException; import com.alibaba.sdk.android.oss.OSS; import com.alibaba.sdk.android.oss.ServiceException; import com.alibaba.sdk.android.oss.callback.OSSCompletedCallback; import c...
package singlyLinkedLists; public class SinglyLinkedLists { // Represent the head and tail of the singly linked list public Node head = null; public Node tail = null; // addNode() will add a new node to the list public void addNode(int data) { // Create a new node Node newNode = n...
/* * 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...
/* * Artificial Intelligence for Humans * Volume 3: Deep Learning and Neural Networks * Java Version * http://www.aifh.org * http://www.jeffheaton.com * * Code repository: * https://github.com/jeffheaton/aifh * * Copyright 2014-2015 by <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"...
package com.github.mike10004.chromecookieimplant; import javax.annotation.Nullable; import java.math.BigDecimal; import java.util.Date; /** * Value class that represents a cookie with structure defined by the Chrome Extensions API. * All fields are nullable. * See https://developer.chrome.com/extensions/cookies#me...
package net.nocturne.game.player.actions.skills.dungeoneering.rooms.puzzles; import java.util.ArrayList; import java.util.Collections; import java.util.List; import net.nocturne.game.Hit; import net.nocturne.game.WorldTile; import net.nocturne.game.Hit.HitLook; import net.nocturne.game.npc.NPC; import net.nocturne.ga...
package ru.bpmink.bpm.api.impl.simple; import com.google.common.io.Closeables; import org.apache.http.HttpHost; import org.apache.http.auth.AuthScope; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.client.AuthCache; import org.apache.http.client.CredentialsProvider; import org.apache....
package com.tdlzgroup.educasa.Chat.ChatFragments; import android.content.Context; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widge...
/* Copyright 2016 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 ...
import java.text.DecimalFormat; import java.util.Random; import java.util.Scanner; public class TiempoEsperaAlmacen { Scanner sc=new Scanner(System.in); Random random=new Random(); double alea, alea2; double TiempoDeLlegada=0, OcioDePersonal=0, TerminacionDeServicio=0,TiempoEsperaCamion=0; double TiempoEntreL...
/* * (C) Copyright IBM Corp. 2021, 2022 * * SPDX-License-Identifier: Apache-2.0 */ package com.ibm.fhir.persistence.blob; import java.io.IOException; import java.util.concurrent.ConcurrentHashMap; import java.util.logging.Level; import java.util.logging.Logger; import com.azure.core.http.HttpClient; import com.a...
package era.uploader.service.assignment; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; import com.google.common.util.concurrent.FutureCallback; import era.uploader.data.model.Course; import era.uploader.data.model.Student; import org.apache.pdfbox.pdmodel.PDPageCo...
/* * Copyright (c) 2007-2018 Siemens AG * * 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, pub...
/* * Copyright © 2018 <NAME> <<EMAIL>> http://io7m.com * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND...
package com.cantstopthesignals.development; import java.io.File; import java.io.IOException; import java.net.InetAddress; import java.net.Socket; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.TreeMap; import java.util.concurrent.Callable; import com.google.appengine.tools.d...
package com.infi.lyrical.helper; import android.os.Environment; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import com.infi.lyrical.models.SpeechResponse; import com.infi.lyrical.task.DownloadTask; import com.infi.lyrical.task.TaskStatus; import com.infi.lyrical.task.TaskStatusListener; imp...
/* * #%L * Common package for I/O and related utilities * %% * Copyright (C) 2005 - 2016 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * Redistribution and use in source and binary forms, with or without ...
/* * Copyright (C) 2018 The Sylph 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 ...
/** * 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 2021 The KeepTry 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 applicable...
package com.example.ayush.qapp; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.os.Bundle; import android.support.constraint.ConstraintLayout; import android.support.v7.app.AppCompatAc...
package com.bot.commands.meme; import com.bot.caching.MarkovModelCache; import com.bot.commands.MemeCommand; import com.bot.models.MarkovModel; import com.jagrosh.jdautilities.command.CommandEvent; import net.dv8tion.jda.api.EmbedBuilder; import net.dv8tion.jda.api.Permission; import net.dv8tion.jda.api.entities.Messa...
/* * Copyright 2018 NAVER Corp. * * 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...
package application.rest.geoentity; import application.rest.handler.WeatherData; import java.util.ArrayList; import java.util.List; public class Region { private static List<WeatherData> cherkasyRegion = new ArrayList<>(); private static List<WeatherData> chernihivRegion = new ArrayList<>(); private sta...
package com.zipper.snake; import java.util.ArrayList; //Controls all the game logic .. most important class in this project. public class ThreadsController extends Thread { ArrayList<ArrayList<DataOfSquare>> Squares = new ArrayList<ArrayList<DataOfSquare>>(); Tuple headSnakePos; int sizeSnake = 3; // 3; private st...
package com.pointhouse.chiguan.common.jsonObject; import com.google.gson.Gson; import com.google.gson.reflect.TypeToken; import org.json.JSONException; import org.json.JSONObject; import org.json.JSONTokener; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.List; /** * Created by gyh on ...
/* Name: <NAME> UoW ID: W1714855 IIT ID: 2018025 Course: BEng. Software Engineering Submission Date:30/03/2020 Coursework 01 for Algorithms This file is used to allow the user to make their own graph and find the max flow. Allows them to also modify the graph after finding the max flow. */ package com.company; import ...
/******************************************************************************* * Copyright (c) 2012 <NAME> (http://code.google.com/p/l10n-maven-plugin) * * 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 t...
package utilityAssocRule; import java.util.ArrayList; import java.util.List; import java.util.Set; import dataUnit.Rule; import dataUnit.UItemset; /** * This class evaluation a sorted UItemset in ascending order on item utility in * backwards fashion. It is used for 1-Itemset recommendation. * * @author <NAME> ...
package arekkuusu.enderskills.client.render.effect; import arekkuusu.enderskills.api.util.Quat; import arekkuusu.enderskills.api.util.Vector; import arekkuusu.enderskills.client.util.ResourceLibrary; import com.google.common.collect.Lists; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.Buf...
package com.amazonaws.services.dynamodbv2.nio.http; import java.io.IOException; import java.util.List; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import org.apache.http.Header; import org.apach...
package com.github.bsideup.liiklus.dynamodb; import com.amazonaws.handlers.AsyncHandler; import com.amazonaws.services.dynamodbv2.AmazonDynamoDBAsync; import com.amazonaws.services.dynamodbv2.model.*; import com.amazonaws.util.ImmutableMapParameter; import com.github.bsideup.liiklus.positions.GroupId; import com.githu...
/* * Copyright 2020-2021 Exactpro (Exactpro Systems Limited) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package seedu.address.model.awareness; import static java.util.Objects.requireNonNull; import static seedu.address.commons.util.CollectionUtil.requireAllNonNull; import static seedu.address.commons.util.StringUtil.isEmptyString; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util...
package catalogs; import entities.RegistoFat; import interfaces.IEntidade; import interfaces.IFaturacao; import interfaces.IRegFat; import java.util.*; import java.util.stream.Collectors; /** * Classe que implementa Faturacao, que implementa a interface IFaturacao. * Nesta classe, são armazenados todos os produtos ...
/* file: DataStructuresSOA.java */ /******************************************************************************* * Copyright 2014-2018 Intel Corporation * All Rights Reserved. * * If this software was obtained under the Intel Simplified Software License, * the following terms apply: * * The source code, informa...
package codechicken.enderstorage.manager; import codechicken.enderstorage.api.AbstractEnderStorage; import codechicken.enderstorage.api.EnderStoragePlugin; import codechicken.enderstorage.api.Frequency; import codechicken.lib.config.ConfigFile; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item...